@geoinsight/react-components 1.0.5 → 1.0.7

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 (3890) hide show
  1. package/.yarnrc.yml +1 -0
  2. package/dist/cjs/index.js +2 -2
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/esm/index.js +2 -2
  5. package/dist/esm/index.js.map +1 -1
  6. package/package.json +1 -1
  7. package/storybook-static/152.8abc3852.iframe.bundle.js +2 -0
  8. package/storybook-static/152.8abc3852.iframe.bundle.js.LICENSE.txt +1 -0
  9. package/storybook-static/208.291d21a5.iframe.bundle.js +1 -0
  10. package/storybook-static/220.4dc42c27.iframe.bundle.js +2 -0
  11. package/storybook-static/220.4dc42c27.iframe.bundle.js.LICENSE.txt +9 -0
  12. package/storybook-static/264.98d49cd2.iframe.bundle.js +1 -0
  13. package/storybook-static/312.2f98f4ec.iframe.bundle.js +1 -0
  14. package/storybook-static/396.990f5560.iframe.bundle.js +44 -0
  15. package/storybook-static/396.990f5560.iframe.bundle.js.map +1 -0
  16. package/storybook-static/469.cb6076e5.iframe.bundle.js +1 -0
  17. package/storybook-static/552.45824652.iframe.bundle.js +2 -0
  18. package/storybook-static/552.45824652.iframe.bundle.js.LICENSE.txt +9 -0
  19. package/storybook-static/555.3fb6fb46.iframe.bundle.js +1 -0
  20. package/storybook-static/56.9c067d9e.iframe.bundle.js +1 -0
  21. package/storybook-static/640.fb22d04d.iframe.bundle.js +1 -0
  22. package/storybook-static/724.476611a3.iframe.bundle.js +1 -0
  23. package/storybook-static/844.5fbe92f6.iframe.bundle.js +1 -0
  24. package/storybook-static/848.c8cbb771.iframe.bundle.js +1 -0
  25. package/storybook-static/880.b3bec938.iframe.bundle.js +411 -0
  26. package/storybook-static/880.b3bec938.iframe.bundle.js.LICENSE.txt +53 -0
  27. package/storybook-static/880.b3bec938.iframe.bundle.js.map +1 -0
  28. package/storybook-static/896.23340cff.iframe.bundle.js +134 -0
  29. package/storybook-static/896.23340cff.iframe.bundle.js.LICENSE.txt +16 -0
  30. package/storybook-static/896.23340cff.iframe.bundle.js.map +1 -0
  31. package/storybook-static/912.7731826c.iframe.bundle.js +1 -0
  32. package/storybook-static/936.074caa83.iframe.bundle.js +2 -0
  33. package/storybook-static/936.074caa83.iframe.bundle.js.LICENSE.txt +5 -0
  34. package/storybook-static/components-button-index-stories.8947be63.iframe.bundle.js +1 -0
  35. package/storybook-static/components-form-index-stories.539cf993.iframe.bundle.js +1 -0
  36. package/storybook-static/components-input-index-stories.2c44b5fd.iframe.bundle.js +2 -0
  37. package/storybook-static/components-input-index-stories.2c44b5fd.iframe.bundle.js.LICENSE.txt +9 -0
  38. package/storybook-static/components-loading-index-stories.1cd8adfc.iframe.bundle.js +2 -0
  39. package/storybook-static/components-loading-index-stories.1cd8adfc.iframe.bundle.js.LICENSE.txt +9 -0
  40. package/storybook-static/components-map-index-stories.60981082.iframe.bundle.js +1 -0
  41. package/storybook-static/components-menu-index-stories.cf33511f.iframe.bundle.js +1 -0
  42. package/storybook-static/components-modal-index-stories.5e137e54.iframe.bundle.js +2 -0
  43. package/storybook-static/components-modal-index-stories.5e137e54.iframe.bundle.js.LICENSE.txt +9 -0
  44. package/storybook-static/components-select-index-stories.935a9985.iframe.bundle.js +1 -0
  45. package/storybook-static/components-text-area-index-stories.5507a19e.iframe.bundle.js +2 -0
  46. package/storybook-static/components-text-area-index-stories.5507a19e.iframe.bundle.js.LICENSE.txt +9 -0
  47. package/storybook-static/context-loading-index-stories.fa3f7a89.iframe.bundle.js +2 -0
  48. package/storybook-static/context-loading-index-stories.fa3f7a89.iframe.bundle.js.LICENSE.txt +9 -0
  49. package/storybook-static/context-modal-index-stories.9161ad78.iframe.bundle.js +2 -0
  50. package/storybook-static/context-modal-index-stories.9161ad78.iframe.bundle.js.LICENSE.txt +9 -0
  51. package/storybook-static/favicon.svg +7 -0
  52. package/storybook-static/iframe.html +355 -0
  53. package/storybook-static/index.html +127 -0
  54. package/storybook-static/index.json +1 -0
  55. package/storybook-static/main.d84ed3e5.iframe.bundle.js +1 -0
  56. package/storybook-static/project.json +1 -0
  57. package/storybook-static/runtime~main.508d9d16.iframe.bundle.js +1 -0
  58. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
  59. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
  60. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +63 -0
  61. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
  62. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
  63. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
  64. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
  65. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
  66. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +12 -0
  67. package/storybook-static/sb-addons/links-0/manager-bundle.js +3 -0
  68. package/storybook-static/sb-common-assets/fonts.css +31 -0
  69. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  70. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  71. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  72. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  73. package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-LVYLGZW2.js +1 -0
  74. package/storybook-static/sb-manager/chunk-2IXBUOFS.js +7 -0
  75. package/storybook-static/sb-manager/chunk-INSKDKQB.js +348 -0
  76. package/storybook-static/sb-manager/chunk-NGTUFCUO.js +9 -0
  77. package/storybook-static/sb-manager/chunk-NMB3SATH.js +406 -0
  78. package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +1 -0
  79. package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
  80. package/storybook-static/sb-manager/globals-module-info.js +1 -0
  81. package/storybook-static/sb-manager/globals.js +1 -0
  82. package/storybook-static/sb-manager/index.js +1 -0
  83. package/storybook-static/sb-manager/runtime.js +1 -0
  84. package/storybook-static/sb-manager/syntaxhighlighter-V7JZZA35-DXZCI2WR.js +1 -0
  85. package/storybook-static/sb-preview/globals.js +1 -0
  86. package/storybook-static/sb-preview/runtime.js +112 -0
  87. package/storybook-static/static/media/code-brackets.2e1112d7.svg +1 -0
  88. package/storybook-static/static/media/colors.a4bd0486.svg +1 -0
  89. package/storybook-static/static/media/comments.a3859089.svg +1 -0
  90. package/storybook-static/static/media/direction.b770f9af.svg +1 -0
  91. package/storybook-static/static/media/flow.edad2ac1.svg +1 -0
  92. package/storybook-static/static/media/loading.cbc96c95.gif +0 -0
  93. package/storybook-static/static/media/plugin.d494b228.svg +1 -0
  94. package/storybook-static/static/media/repo.6d496322.svg +1 -0
  95. package/storybook-static/static/media/spinner_2.6f37ee56.png +0 -0
  96. package/storybook-static/static/media/stackalt.dba9fbb3.svg +1 -0
  97. package/storybook-static/stories-Introduction-stories-mdx.21cb2fa7.iframe.bundle.js +2 -0
  98. package/storybook-static/stories-Introduction-stories-mdx.21cb2fa7.iframe.bundle.js.LICENSE.txt +9 -0
  99. package/storybook-static/stories.json +1 -0
  100. package/.pnp.cjs +0 -25223
  101. package/.pnp.loader.mjs +0 -2090
  102. package/.yarn/install-state.gz +0 -0
  103. package/.yarn/unplugged/@esbuild-linux-x64-npm-0.18.20-de8e99b449/node_modules/@esbuild/linux-x64/README.md +0 -3
  104. package/.yarn/unplugged/@esbuild-linux-x64-npm-0.18.20-de8e99b449/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  105. package/.yarn/unplugged/@esbuild-linux-x64-npm-0.18.20-de8e99b449/node_modules/@esbuild/linux-x64/package.json +0 -17
  106. package/.yarn/unplugged/@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d/node_modules/@swc/core-linux-x64-gnu/README.md +0 -3
  107. package/.yarn/unplugged/@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d/node_modules/@swc/core-linux-x64-gnu/package.json +0 -45
  108. package/.yarn/unplugged/@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node +0 -0
  109. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/CHANGELOG.md +0 -1501
  110. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/LICENSE +0 -201
  111. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/README.md +0 -89
  112. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/Visitor.d.ts +0 -218
  113. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/Visitor.js +0 -1408
  114. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/binding.d.ts +0 -1
  115. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/binding.js +0 -337
  116. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/bindings/README.md +0 -6
  117. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/bindings/binding_core_wasm/package.json +0 -5
  118. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/index.d.ts +0 -110
  119. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/index.js +0 -431
  120. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/package.json +0 -187
  121. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/postinstall.js +0 -147
  122. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/spack.d.ts +0 -51
  123. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/spack.js +0 -85
  124. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/util.d.ts +0 -1
  125. package/.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/util.js +0 -104
  126. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/LICENSE +0 -19
  127. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/README.md +0 -95
  128. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/README.md +0 -1
  129. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/aggregate-error.js +0 -4
  130. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/at.js +0 -4
  131. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/concat.js +0 -4
  132. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/copy-within.js +0 -4
  133. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/entries.js +0 -4
  134. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/every.js +0 -4
  135. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/fill.js +0 -4
  136. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/filter.js +0 -4
  137. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/find-index.js +0 -4
  138. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/find-last-index.js +0 -5
  139. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/find-last.js +0 -5
  140. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/find.js +0 -4
  141. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/flat-map.js +0 -4
  142. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/flat.js +0 -4
  143. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/for-each.js +0 -4
  144. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/from-async.js +0 -9
  145. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/from.js +0 -4
  146. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/group-by-to-map.js +0 -7
  147. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/group-by.js +0 -5
  148. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/group-to-map.js +0 -7
  149. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/group.js +0 -5
  150. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/includes.js +0 -4
  151. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/index-of.js +0 -4
  152. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/index.js +0 -18
  153. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/is-array.js +0 -4
  154. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/iterator.js +0 -4
  155. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/join.js +0 -4
  156. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/keys.js +0 -4
  157. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/last-index-of.js +0 -4
  158. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/map.js +0 -4
  159. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/of.js +0 -4
  160. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/push.js +0 -4
  161. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/reduce-right.js +0 -4
  162. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/reduce.js +0 -4
  163. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/reverse.js +0 -4
  164. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/slice.js +0 -4
  165. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/some.js +0 -4
  166. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/sort.js +0 -4
  167. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/splice.js +0 -4
  168. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/to-reversed.js +0 -6
  169. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/to-sorted.js +0 -6
  170. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/to-spliced.js +0 -6
  171. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/unshift.js +0 -4
  172. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/values.js +0 -4
  173. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/at.js +0 -4
  174. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/concat.js +0 -4
  175. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/copy-within.js +0 -4
  176. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/entries.js +0 -4
  177. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/every.js +0 -4
  178. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/fill.js +0 -4
  179. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/filter.js +0 -4
  180. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/find-index.js +0 -4
  181. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/find-last-index.js +0 -5
  182. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/find-last.js +0 -5
  183. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/find.js +0 -4
  184. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/flat-map.js +0 -4
  185. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/flat.js +0 -4
  186. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/for-each.js +0 -4
  187. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/group-by-to-map.js +0 -7
  188. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/group-by.js +0 -5
  189. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/group-to-map.js +0 -7
  190. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/group.js +0 -5
  191. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/includes.js +0 -4
  192. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/index-of.js +0 -4
  193. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/index.js +0 -17
  194. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/iterator.js +0 -4
  195. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/join.js +0 -4
  196. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/keys.js +0 -4
  197. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/last-index-of.js +0 -4
  198. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/map.js +0 -4
  199. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/push.js +0 -4
  200. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/reduce-right.js +0 -4
  201. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/reduce.js +0 -4
  202. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/reverse.js +0 -4
  203. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/slice.js +0 -4
  204. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/some.js +0 -4
  205. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/sort.js +0 -4
  206. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/splice.js +0 -4
  207. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/to-reversed.js +0 -6
  208. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/to-sorted.js +0 -6
  209. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/to-spliced.js +0 -6
  210. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/unshift.js +0 -4
  211. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/values.js +0 -4
  212. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/virtual/with.js +0 -6
  213. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array/with.js +0 -6
  214. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array-buffer/constructor.js +0 -7
  215. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array-buffer/detached.js +0 -3
  216. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array-buffer/index.js +0 -7
  217. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array-buffer/is-view.js +0 -4
  218. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array-buffer/slice.js +0 -4
  219. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array-buffer/transfer-to-fixed-length.js +0 -3
  220. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/array-buffer/transfer.js +0 -3
  221. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-disposable-stack/constructor.js +0 -12
  222. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-disposable-stack/index.js +0 -12
  223. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/async-dispose.js +0 -4
  224. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/drop.js +0 -9
  225. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/every.js +0 -9
  226. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/filter.js +0 -9
  227. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/find.js +0 -9
  228. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/flat-map.js +0 -9
  229. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/for-each.js +0 -9
  230. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/from.js +0 -23
  231. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/index.js +0 -24
  232. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/map.js +0 -9
  233. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/reduce.js +0 -9
  234. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/some.js +0 -9
  235. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/take.js +0 -9
  236. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/async-iterator/to-array.js +0 -9
  237. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/atob.js +0 -4
  238. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/btoa.js +0 -4
  239. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/clear-immediate.js +0 -4
  240. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/data-view/get-float16.js +0 -2
  241. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/data-view/index.js +0 -6
  242. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/data-view/set-float16.js +0 -2
  243. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/get-year.js +0 -4
  244. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/index.js +0 -4
  245. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/now.js +0 -4
  246. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/set-year.js +0 -4
  247. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/to-gmt-string.js +0 -4
  248. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/to-iso-string.js +0 -4
  249. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/to-json.js +0 -4
  250. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/to-primitive.js +0 -4
  251. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/date/to-string.js +0 -4
  252. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/disposable-stack/constructor.js +0 -10
  253. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/disposable-stack/index.js +0 -10
  254. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/dom-collections/for-each.js +0 -4
  255. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/dom-collections/index.js +0 -4
  256. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/dom-collections/iterator.js +0 -4
  257. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/dom-exception/constructor.js +0 -4
  258. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/dom-exception/index.js +0 -4
  259. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/dom-exception/to-string-tag.js +0 -4
  260. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/error/constructor.js +0 -4
  261. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/error/index.js +0 -4
  262. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/error/to-string.js +0 -4
  263. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/escape.js +0 -4
  264. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/function/bind.js +0 -4
  265. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/function/has-instance.js +0 -4
  266. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/function/index.js +0 -5
  267. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/function/metadata.js +0 -4
  268. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/function/name.js +0 -4
  269. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/function/virtual/bind.js +0 -4
  270. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/function/virtual/index.js +0 -4
  271. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/get-iterator-method.js +0 -4
  272. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/get-iterator.js +0 -4
  273. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/global-this.js +0 -4
  274. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/index.js +0 -5
  275. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/at.js +0 -4
  276. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/bind.js +0 -4
  277. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/code-point-at.js +0 -4
  278. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/concat.js +0 -4
  279. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/copy-within.js +0 -4
  280. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/ends-with.js +0 -4
  281. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/entries.js +0 -4
  282. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/every.js +0 -4
  283. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/fill.js +0 -4
  284. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/filter.js +0 -4
  285. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/find-index.js +0 -4
  286. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/find-last-index.js +0 -10
  287. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/find-last.js +0 -10
  288. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/find.js +0 -4
  289. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/flags.js +0 -4
  290. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/flat-map.js +0 -4
  291. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/flat.js +0 -4
  292. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/for-each.js +0 -4
  293. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/group-by-to-map.js +0 -10
  294. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/group-by.js +0 -10
  295. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/group-to-map.js +0 -10
  296. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/group.js +0 -10
  297. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/includes.js +0 -4
  298. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/index-of.js +0 -4
  299. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/is-well-formed.js +0 -4
  300. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/keys.js +0 -4
  301. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/last-index-of.js +0 -4
  302. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/map.js +0 -4
  303. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/match-all.js +0 -4
  304. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/pad-end.js +0 -4
  305. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/pad-start.js +0 -4
  306. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/push.js +0 -4
  307. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/reduce-right.js +0 -4
  308. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/reduce.js +0 -4
  309. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/repeat.js +0 -4
  310. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/replace-all.js +0 -4
  311. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/reverse.js +0 -4
  312. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/slice.js +0 -4
  313. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/some.js +0 -4
  314. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/sort.js +0 -4
  315. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/splice.js +0 -4
  316. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/starts-with.js +0 -4
  317. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/to-reversed.js +0 -10
  318. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/to-sorted.js +0 -10
  319. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/to-spliced.js +0 -10
  320. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/to-well-formed.js +0 -4
  321. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/trim-end.js +0 -4
  322. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/trim-left.js +0 -4
  323. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/trim-right.js +0 -4
  324. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/trim-start.js +0 -4
  325. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/trim.js +0 -4
  326. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/unshift.js +0 -4
  327. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/values.js +0 -4
  328. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/instance/with.js +0 -10
  329. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/is-iterable.js +0 -4
  330. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/dispose.js +0 -2
  331. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/drop.js +0 -8
  332. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/every.js +0 -8
  333. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/filter.js +0 -8
  334. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/find.js +0 -8
  335. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/flat-map.js +0 -8
  336. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/for-each.js +0 -8
  337. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/from.js +0 -25
  338. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/index.js +0 -25
  339. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/map.js +0 -8
  340. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/reduce.js +0 -8
  341. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/some.js +0 -8
  342. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/take.js +0 -8
  343. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/to-array.js +0 -8
  344. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/iterator/to-async.js +0 -9
  345. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/json/index.js +0 -10
  346. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/json/is-raw-json.js +0 -5
  347. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/json/parse.js +0 -6
  348. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/json/raw-json.js +0 -7
  349. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/json/stringify.js +0 -4
  350. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/json/to-string-tag.js +0 -4
  351. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/map/group-by.js +0 -5
  352. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/map/index.js +0 -5
  353. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/acosh.js +0 -4
  354. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/asinh.js +0 -4
  355. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/atanh.js +0 -4
  356. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/cbrt.js +0 -4
  357. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/clz32.js +0 -4
  358. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/cosh.js +0 -4
  359. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/expm1.js +0 -4
  360. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/f16round.js +0 -5
  361. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/fround.js +0 -4
  362. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/hypot.js +0 -4
  363. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/imul.js +0 -4
  364. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/index.js +0 -5
  365. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/log10.js +0 -4
  366. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/log1p.js +0 -4
  367. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/log2.js +0 -4
  368. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/sign.js +0 -4
  369. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/sinh.js +0 -4
  370. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/tanh.js +0 -4
  371. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/to-string-tag.js +0 -4
  372. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/math/trunc.js +0 -4
  373. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/constructor.js +0 -4
  374. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/epsilon.js +0 -4
  375. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/index.js +0 -4
  376. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/is-finite.js +0 -4
  377. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/is-integer.js +0 -4
  378. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/is-nan.js +0 -4
  379. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/is-safe-integer.js +0 -4
  380. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/max-safe-integer.js +0 -4
  381. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/min-safe-integer.js +0 -4
  382. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/parse-float.js +0 -4
  383. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/parse-int.js +0 -4
  384. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/to-exponential.js +0 -4
  385. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/to-fixed.js +0 -4
  386. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/to-precision.js +0 -4
  387. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/virtual/index.js +0 -4
  388. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/virtual/to-exponential.js +0 -4
  389. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/virtual/to-fixed.js +0 -4
  390. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/number/virtual/to-precision.js +0 -4
  391. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/assign.js +0 -4
  392. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/create.js +0 -4
  393. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/define-getter.js +0 -4
  394. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/define-properties.js +0 -4
  395. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/define-property.js +0 -4
  396. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/define-setter.js +0 -4
  397. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/entries.js +0 -4
  398. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/freeze.js +0 -4
  399. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/from-entries.js +0 -4
  400. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/get-own-property-descriptor.js +0 -4
  401. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/get-own-property-descriptors.js +0 -4
  402. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/get-own-property-names.js +0 -4
  403. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/get-own-property-symbols.js +0 -4
  404. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/get-prototype-of.js +0 -4
  405. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/group-by.js +0 -5
  406. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/has-own.js +0 -4
  407. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/index.js +0 -5
  408. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/is-extensible.js +0 -4
  409. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/is-frozen.js +0 -4
  410. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/is-sealed.js +0 -4
  411. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/is.js +0 -4
  412. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/keys.js +0 -4
  413. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/lookup-getter.js +0 -4
  414. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/lookup-setter.js +0 -4
  415. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/prevent-extensions.js +0 -4
  416. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/proto.js +0 -4
  417. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/seal.js +0 -4
  418. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/set-prototype-of.js +0 -4
  419. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/to-string.js +0 -4
  420. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/object/values.js +0 -4
  421. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/parse-float.js +0 -4
  422. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/parse-int.js +0 -4
  423. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/promise/all-settled.js +0 -4
  424. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/promise/any.js +0 -4
  425. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/promise/finally.js +0 -4
  426. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/promise/index.js +0 -5
  427. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/promise/with-resolvers.js +0 -6
  428. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/queue-microtask.js +0 -4
  429. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/apply.js +0 -4
  430. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/construct.js +0 -4
  431. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/define-property.js +0 -4
  432. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/delete-property.js +0 -4
  433. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/get-own-property-descriptor.js +0 -4
  434. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/get-prototype-of.js +0 -4
  435. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/get.js +0 -4
  436. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/has.js +0 -4
  437. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/index.js +0 -4
  438. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/is-extensible.js +0 -4
  439. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/own-keys.js +0 -4
  440. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/prevent-extensions.js +0 -4
  441. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/set-prototype-of.js +0 -4
  442. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/set.js +0 -4
  443. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/reflect/to-string-tag.js +0 -4
  444. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/constructor.js +0 -4
  445. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/dot-all.js +0 -4
  446. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/flags.js +0 -4
  447. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/index.js +0 -4
  448. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/match.js +0 -4
  449. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/replace.js +0 -4
  450. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/search.js +0 -4
  451. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/split.js +0 -4
  452. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/sticky.js +0 -4
  453. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/test.js +0 -4
  454. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/regexp/to-string.js +0 -4
  455. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/self.js +0 -4
  456. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/difference.js +0 -6
  457. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/index.js +0 -11
  458. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/intersection.js +0 -6
  459. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/is-disjoint-from.js +0 -6
  460. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/is-subset-of.js +0 -6
  461. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/is-superset-of.js +0 -6
  462. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/symmetric-difference.js +0 -6
  463. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set/union.js +0 -6
  464. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set-immediate.js +0 -4
  465. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set-interval.js +0 -4
  466. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/set-timeout.js +0 -4
  467. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/anchor.js +0 -4
  468. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/at.js +0 -4
  469. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/big.js +0 -4
  470. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/blink.js +0 -4
  471. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/bold.js +0 -4
  472. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/code-point-at.js +0 -4
  473. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/ends-with.js +0 -4
  474. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/fixed.js +0 -4
  475. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/fontcolor.js +0 -4
  476. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/fontsize.js +0 -4
  477. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/from-code-point.js +0 -4
  478. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/includes.js +0 -4
  479. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/index.js +0 -8
  480. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/is-well-formed.js +0 -7
  481. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/italics.js +0 -4
  482. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/iterator.js +0 -4
  483. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/link.js +0 -4
  484. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/match-all.js +0 -4
  485. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/match.js +0 -4
  486. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/pad-end.js +0 -4
  487. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/pad-start.js +0 -4
  488. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/raw.js +0 -4
  489. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/repeat.js +0 -4
  490. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/replace-all.js +0 -4
  491. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/replace.js +0 -4
  492. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/search.js +0 -4
  493. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/small.js +0 -4
  494. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/split.js +0 -4
  495. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/starts-with.js +0 -4
  496. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/strike.js +0 -4
  497. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/sub.js +0 -4
  498. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/substr.js +0 -4
  499. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/sup.js +0 -4
  500. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/to-well-formed.js +0 -7
  501. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/trim-end.js +0 -4
  502. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/trim-left.js +0 -4
  503. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/trim-right.js +0 -4
  504. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/trim-start.js +0 -4
  505. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/trim.js +0 -4
  506. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/anchor.js +0 -4
  507. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/at.js +0 -4
  508. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/big.js +0 -4
  509. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/blink.js +0 -4
  510. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/bold.js +0 -4
  511. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/code-point-at.js +0 -4
  512. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/ends-with.js +0 -4
  513. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/fixed.js +0 -4
  514. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/fontcolor.js +0 -4
  515. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/fontsize.js +0 -4
  516. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/includes.js +0 -4
  517. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/index.js +0 -8
  518. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/is-well-formed.js +0 -7
  519. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/italics.js +0 -4
  520. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/iterator.js +0 -4
  521. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/link.js +0 -4
  522. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/match-all.js +0 -4
  523. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/pad-end.js +0 -4
  524. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/pad-start.js +0 -4
  525. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/repeat.js +0 -4
  526. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/replace-all.js +0 -4
  527. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/small.js +0 -4
  528. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/starts-with.js +0 -4
  529. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/strike.js +0 -4
  530. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/sub.js +0 -4
  531. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/substr.js +0 -4
  532. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/sup.js +0 -4
  533. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/to-well-formed.js +0 -7
  534. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/trim-end.js +0 -4
  535. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/trim-left.js +0 -4
  536. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/trim-right.js +0 -4
  537. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/trim-start.js +0 -4
  538. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/string/virtual/trim.js +0 -4
  539. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/structured-clone.js +0 -4
  540. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/suppressed-error.js +0 -7
  541. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/async-dispose.js +0 -5
  542. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/async-iterator.js +0 -4
  543. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/description.js +0 -4
  544. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/dispose.js +0 -5
  545. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/for.js +0 -4
  546. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/has-instance.js +0 -4
  547. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/index.js +0 -9
  548. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/is-concat-spreadable.js +0 -4
  549. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/iterator.js +0 -4
  550. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/key-for.js +0 -4
  551. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/match-all.js +0 -4
  552. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/match.js +0 -4
  553. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/metadata.js +0 -6
  554. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/replace.js +0 -4
  555. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/search.js +0 -4
  556. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/species.js +0 -4
  557. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/split.js +0 -4
  558. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/to-primitive.js +0 -4
  559. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/to-string-tag.js +0 -4
  560. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/symbol/unscopables.js +0 -4
  561. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/at.js +0 -4
  562. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/copy-within.js +0 -4
  563. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/entries.js +0 -4
  564. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/every.js +0 -4
  565. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/fill.js +0 -4
  566. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/filter.js +0 -4
  567. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/find-index.js +0 -4
  568. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/find-last-index.js +0 -5
  569. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/find-last.js +0 -5
  570. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/find.js +0 -4
  571. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/float32-array.js +0 -5
  572. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/float64-array.js +0 -5
  573. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/for-each.js +0 -4
  574. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/from.js +0 -4
  575. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/includes.js +0 -4
  576. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/index-of.js +0 -4
  577. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/index.js +0 -11
  578. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/int16-array.js +0 -5
  579. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/int32-array.js +0 -5
  580. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/int8-array.js +0 -5
  581. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/iterator.js +0 -4
  582. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/join.js +0 -4
  583. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/keys.js +0 -4
  584. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/last-index-of.js +0 -4
  585. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/map.js +0 -4
  586. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/methods.js +0 -11
  587. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/of.js +0 -4
  588. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/reduce-right.js +0 -4
  589. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/reduce.js +0 -4
  590. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/reverse.js +0 -4
  591. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/set.js +0 -4
  592. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/slice.js +0 -4
  593. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/some.js +0 -4
  594. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/sort.js +0 -4
  595. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/subarray.js +0 -4
  596. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/to-locale-string.js +0 -4
  597. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/to-reversed.js +0 -6
  598. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/to-sorted.js +0 -6
  599. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/to-spliced.js +0 -3
  600. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/to-string.js +0 -4
  601. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/uint16-array.js +0 -5
  602. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/uint32-array.js +0 -5
  603. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/uint8-array.js +0 -5
  604. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/uint8-clamped-array.js +0 -5
  605. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/values.js +0 -4
  606. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/typed-array/with.js +0 -6
  607. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/unescape.js +0 -4
  608. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/url/can-parse.js +0 -4
  609. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/url/index.js +0 -4
  610. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/url/to-json.js +0 -4
  611. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/url-search-params/index.js +0 -4
  612. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/weak-map/index.js +0 -4
  613. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/actual/weak-set/index.js +0 -4
  614. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/configurator.js +0 -28
  615. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/README.md +0 -1
  616. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/aggregate-error.js +0 -9
  617. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/at.js +0 -5
  618. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/concat.js +0 -5
  619. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/copy-within.js +0 -5
  620. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/entries.js +0 -6
  621. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/every.js +0 -5
  622. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/fill.js +0 -5
  623. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/filter.js +0 -5
  624. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/find-index.js +0 -5
  625. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/find-last-index.js +0 -5
  626. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/find-last.js +0 -5
  627. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/find.js +0 -5
  628. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/flat-map.js +0 -6
  629. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/flat.js +0 -6
  630. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/for-each.js +0 -5
  631. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/from.js +0 -6
  632. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/includes.js +0 -5
  633. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/index-of.js +0 -5
  634. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/index.js +0 -44
  635. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/is-array.js +0 -5
  636. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/iterator.js +0 -6
  637. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/join.js +0 -5
  638. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/keys.js +0 -6
  639. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/last-index-of.js +0 -5
  640. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/map.js +0 -5
  641. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/of.js +0 -5
  642. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/push.js +0 -5
  643. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/reduce-right.js +0 -5
  644. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/reduce.js +0 -5
  645. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/reverse.js +0 -5
  646. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/slice.js +0 -5
  647. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/some.js +0 -5
  648. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/sort.js +0 -5
  649. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/splice.js +0 -5
  650. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/to-reversed.js +0 -5
  651. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/to-sorted.js +0 -6
  652. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/to-spliced.js +0 -5
  653. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/unshift.js +0 -5
  654. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/values.js +0 -6
  655. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/at.js +0 -5
  656. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/concat.js +0 -5
  657. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/copy-within.js +0 -5
  658. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/entries.js +0 -6
  659. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/every.js +0 -5
  660. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/fill.js +0 -5
  661. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/filter.js +0 -5
  662. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/find-index.js +0 -5
  663. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/find-last-index.js +0 -5
  664. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/find-last.js +0 -5
  665. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/find.js +0 -5
  666. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/flat-map.js +0 -6
  667. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/flat.js +0 -6
  668. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/for-each.js +0 -5
  669. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/includes.js +0 -5
  670. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/index-of.js +0 -5
  671. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/index.js +0 -40
  672. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/iterator.js +0 -6
  673. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/join.js +0 -5
  674. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/keys.js +0 -6
  675. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/last-index-of.js +0 -5
  676. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/map.js +0 -5
  677. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/push.js +0 -5
  678. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/reduce-right.js +0 -5
  679. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/reduce.js +0 -5
  680. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/reverse.js +0 -5
  681. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/slice.js +0 -5
  682. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/some.js +0 -5
  683. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/sort.js +0 -5
  684. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/splice.js +0 -5
  685. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/to-reversed.js +0 -5
  686. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/to-sorted.js +0 -6
  687. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/to-spliced.js +0 -5
  688. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/unshift.js +0 -5
  689. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/values.js +0 -6
  690. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/virtual/with.js +0 -5
  691. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array/with.js +0 -5
  692. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array-buffer/constructor.js +0 -7
  693. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array-buffer/index.js +0 -8
  694. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array-buffer/is-view.js +0 -5
  695. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/array-buffer/slice.js +0 -2
  696. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/data-view/index.js +0 -8
  697. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/get-year.js +0 -5
  698. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/index.js +0 -12
  699. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/now.js +0 -5
  700. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/set-year.js +0 -5
  701. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/to-gmt-string.js +0 -5
  702. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/to-iso-string.js +0 -6
  703. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/to-json.js +0 -5
  704. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/to-primitive.js +0 -6
  705. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/date/to-string.js +0 -5
  706. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/error/constructor.js +0 -5
  707. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/error/index.js +0 -6
  708. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/error/to-string.js +0 -5
  709. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/escape.js +0 -5
  710. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/function/bind.js +0 -5
  711. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/function/has-instance.js +0 -5
  712. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/function/index.js +0 -7
  713. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/function/name.js +0 -2
  714. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/function/virtual/bind.js +0 -5
  715. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/function/virtual/index.js +0 -5
  716. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/get-iterator-method.js +0 -6
  717. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/get-iterator.js +0 -6
  718. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/global-this.js +0 -4
  719. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/index.js +0 -248
  720. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/at.js +0 -15
  721. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/bind.js +0 -10
  722. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/code-point-at.js +0 -11
  723. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/concat.js +0 -10
  724. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/copy-within.js +0 -10
  725. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/ends-with.js +0 -11
  726. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/entries.js +0 -10
  727. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/every.js +0 -10
  728. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/fill.js +0 -10
  729. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/filter.js +0 -10
  730. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/find-index.js +0 -10
  731. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/find-last-index.js +0 -10
  732. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/find-last.js +0 -10
  733. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/find.js +0 -10
  734. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/flags.js +0 -9
  735. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/flat-map.js +0 -10
  736. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/flat.js +0 -10
  737. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/for-each.js +0 -10
  738. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/includes.js +0 -15
  739. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/index-of.js +0 -10
  740. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/is-well-formed.js +0 -11
  741. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/keys.js +0 -10
  742. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/last-index-of.js +0 -10
  743. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/map.js +0 -10
  744. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/match-all.js +0 -11
  745. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/pad-end.js +0 -11
  746. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/pad-start.js +0 -11
  747. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/push.js +0 -10
  748. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/reduce-right.js +0 -10
  749. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/reduce.js +0 -10
  750. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/repeat.js +0 -11
  751. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/replace-all.js +0 -11
  752. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/reverse.js +0 -10
  753. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/slice.js +0 -10
  754. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/some.js +0 -10
  755. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/sort.js +0 -10
  756. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/splice.js +0 -10
  757. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/starts-with.js +0 -11
  758. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/to-reversed.js +0 -10
  759. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/to-sorted.js +0 -10
  760. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/to-spliced.js +0 -10
  761. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/to-well-formed.js +0 -11
  762. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/trim-end.js +0 -11
  763. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/trim-left.js +0 -11
  764. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/trim-right.js +0 -11
  765. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/trim-start.js +0 -11
  766. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/trim.js +0 -11
  767. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/unshift.js +0 -10
  768. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/values.js +0 -10
  769. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/instance/with.js +0 -10
  770. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/is-iterable.js +0 -6
  771. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/json/index.js +0 -7
  772. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/json/stringify.js +0 -12
  773. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/json/to-string-tag.js +0 -4
  774. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/map/group-by.js +0 -13
  775. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/map/index.js +0 -9
  776. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/acosh.js +0 -5
  777. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/asinh.js +0 -5
  778. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/atanh.js +0 -5
  779. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/cbrt.js +0 -5
  780. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/clz32.js +0 -5
  781. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/cosh.js +0 -5
  782. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/expm1.js +0 -5
  783. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/fround.js +0 -5
  784. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/hypot.js +0 -5
  785. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/imul.js +0 -5
  786. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/index.js +0 -22
  787. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/log10.js +0 -5
  788. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/log1p.js +0 -5
  789. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/log2.js +0 -5
  790. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/sign.js +0 -5
  791. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/sinh.js +0 -5
  792. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/tanh.js +0 -5
  793. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/to-string-tag.js +0 -4
  794. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/math/trunc.js +0 -5
  795. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/constructor.js +0 -5
  796. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/epsilon.js +0 -4
  797. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/index.js +0 -17
  798. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/is-finite.js +0 -5
  799. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/is-integer.js +0 -5
  800. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/is-nan.js +0 -5
  801. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/is-safe-integer.js +0 -5
  802. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/max-safe-integer.js +0 -4
  803. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/min-safe-integer.js +0 -4
  804. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/parse-float.js +0 -5
  805. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/parse-int.js +0 -5
  806. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/to-exponential.js +0 -5
  807. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/to-fixed.js +0 -5
  808. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/to-precision.js +0 -5
  809. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/virtual/index.js +0 -7
  810. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/virtual/to-exponential.js +0 -5
  811. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/virtual/to-fixed.js +0 -5
  812. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/number/virtual/to-precision.js +0 -5
  813. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/assign.js +0 -5
  814. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/create.js +0 -9
  815. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/define-getter.js +0 -5
  816. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/define-properties.js +0 -11
  817. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/define-property.js +0 -11
  818. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/define-setter.js +0 -5
  819. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/entries.js +0 -5
  820. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/freeze.js +0 -5
  821. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/from-entries.js +0 -6
  822. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/get-own-property-descriptor.js +0 -11
  823. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/get-own-property-descriptors.js +0 -5
  824. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/get-own-property-names.js +0 -9
  825. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/get-own-property-symbols.js +0 -5
  826. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/get-prototype-of.js +0 -5
  827. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/group-by.js +0 -7
  828. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/has-own.js +0 -5
  829. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/index.js +0 -36
  830. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/is-extensible.js +0 -5
  831. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/is-frozen.js +0 -5
  832. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/is-sealed.js +0 -5
  833. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/is.js +0 -5
  834. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/keys.js +0 -5
  835. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/lookup-getter.js +0 -5
  836. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/lookup-setter.js +0 -5
  837. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/prevent-extensions.js +0 -5
  838. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/proto.js +0 -2
  839. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/seal.js +0 -5
  840. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/set-prototype-of.js +0 -5
  841. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/to-string.js +0 -10
  842. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/object/values.js +0 -5
  843. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/parse-float.js +0 -5
  844. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/parse-int.js +0 -5
  845. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/promise/all-settled.js +0 -16
  846. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/promise/any.js +0 -17
  847. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/promise/finally.js +0 -7
  848. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/promise/index.js +0 -13
  849. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/promise/with-resolvers.js +0 -13
  850. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/apply.js +0 -5
  851. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/construct.js +0 -5
  852. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/define-property.js +0 -5
  853. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/delete-property.js +0 -5
  854. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/get-own-property-descriptor.js +0 -5
  855. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/get-prototype-of.js +0 -5
  856. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/get.js +0 -5
  857. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/has.js +0 -5
  858. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/index.js +0 -19
  859. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/is-extensible.js +0 -5
  860. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/own-keys.js +0 -5
  861. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/prevent-extensions.js +0 -5
  862. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/set-prototype-of.js +0 -5
  863. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/set.js +0 -5
  864. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/reflect/to-string-tag.js +0 -5
  865. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/constructor.js +0 -7
  866. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/dot-all.js +0 -8
  867. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/flags.js +0 -5
  868. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/index.js +0 -12
  869. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/match.js +0 -11
  870. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/replace.js +0 -11
  871. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/search.js +0 -11
  872. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/split.js +0 -11
  873. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/sticky.js +0 -8
  874. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/test.js +0 -6
  875. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/regexp/to-string.js +0 -5
  876. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/set/index.js +0 -8
  877. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/anchor.js +0 -5
  878. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/at.js +0 -5
  879. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/big.js +0 -5
  880. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/blink.js +0 -5
  881. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/bold.js +0 -5
  882. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/code-point-at.js +0 -5
  883. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/ends-with.js +0 -5
  884. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/fixed.js +0 -5
  885. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/fontcolor.js +0 -5
  886. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/fontsize.js +0 -5
  887. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/from-code-point.js +0 -5
  888. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/includes.js +0 -5
  889. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/index.js +0 -42
  890. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/is-well-formed.js +0 -4
  891. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/italics.js +0 -5
  892. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/iterator.js +0 -7
  893. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/link.js +0 -5
  894. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/match-all.js +0 -7
  895. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/match.js +0 -6
  896. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/pad-end.js +0 -5
  897. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/pad-start.js +0 -5
  898. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/raw.js +0 -5
  899. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/repeat.js +0 -5
  900. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/replace-all.js +0 -7
  901. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/replace.js +0 -6
  902. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/search.js +0 -6
  903. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/small.js +0 -5
  904. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/split.js +0 -6
  905. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/starts-with.js +0 -5
  906. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/strike.js +0 -5
  907. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/sub.js +0 -5
  908. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/substr.js +0 -5
  909. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/sup.js +0 -5
  910. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/to-well-formed.js +0 -4
  911. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/trim-end.js +0 -5
  912. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/trim-left.js +0 -5
  913. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/trim-right.js +0 -5
  914. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/trim-start.js +0 -5
  915. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/trim.js +0 -5
  916. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/anchor.js +0 -5
  917. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/at.js +0 -5
  918. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/big.js +0 -5
  919. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/blink.js +0 -5
  920. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/bold.js +0 -5
  921. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/code-point-at.js +0 -5
  922. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/ends-with.js +0 -5
  923. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/fixed.js +0 -5
  924. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/fontcolor.js +0 -5
  925. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/fontsize.js +0 -5
  926. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/includes.js +0 -5
  927. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/index.js +0 -38
  928. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/is-well-formed.js +0 -5
  929. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/italics.js +0 -5
  930. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/iterator.js +0 -6
  931. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/link.js +0 -5
  932. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/match-all.js +0 -7
  933. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/pad-end.js +0 -5
  934. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/pad-start.js +0 -5
  935. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/repeat.js +0 -5
  936. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/replace-all.js +0 -7
  937. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/small.js +0 -5
  938. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/starts-with.js +0 -5
  939. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/strike.js +0 -5
  940. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/sub.js +0 -5
  941. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/substr.js +0 -5
  942. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/sup.js +0 -5
  943. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/to-well-formed.js +0 -5
  944. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/trim-end.js +0 -5
  945. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/trim-left.js +0 -5
  946. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/trim-right.js +0 -5
  947. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/trim-start.js +0 -5
  948. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/string/virtual/trim.js +0 -5
  949. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/async-iterator.js +0 -5
  950. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/description.js +0 -2
  951. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/for.js +0 -5
  952. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/has-instance.js +0 -6
  953. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/index.js +0 -24
  954. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/is-concat-spreadable.js +0 -6
  955. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/iterator.js +0 -8
  956. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/key-for.js +0 -5
  957. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/match-all.js +0 -8
  958. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/match.js +0 -7
  959. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/replace.js +0 -7
  960. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/search.js +0 -7
  961. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/species.js +0 -5
  962. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/split.js +0 -7
  963. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/to-primitive.js +0 -6
  964. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/to-string-tag.js +0 -9
  965. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/symbol/unscopables.js +0 -5
  966. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/at.js +0 -2
  967. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/copy-within.js +0 -2
  968. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/entries.js +0 -3
  969. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/every.js +0 -2
  970. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/fill.js +0 -2
  971. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/filter.js +0 -2
  972. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/find-index.js +0 -2
  973. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/find-last-index.js +0 -2
  974. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/find-last.js +0 -2
  975. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/find.js +0 -2
  976. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/float32-array.js +0 -8
  977. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/float64-array.js +0 -8
  978. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/for-each.js +0 -2
  979. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/from.js +0 -2
  980. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/includes.js +0 -2
  981. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/index-of.js +0 -2
  982. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/index.js +0 -13
  983. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/int16-array.js +0 -8
  984. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/int32-array.js +0 -8
  985. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/int8-array.js +0 -8
  986. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/iterator.js +0 -3
  987. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/join.js +0 -2
  988. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/keys.js +0 -3
  989. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/last-index-of.js +0 -2
  990. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/map.js +0 -2
  991. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/methods.js +0 -34
  992. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/of.js +0 -2
  993. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/reduce-right.js +0 -2
  994. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/reduce.js +0 -2
  995. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/reverse.js +0 -2
  996. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/set.js +0 -2
  997. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/slice.js +0 -2
  998. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/some.js +0 -2
  999. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/sort.js +0 -2
  1000. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/subarray.js +0 -2
  1001. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/to-locale-string.js +0 -2
  1002. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/to-reversed.js +0 -2
  1003. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/to-sorted.js +0 -3
  1004. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/to-string.js +0 -2
  1005. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/uint16-array.js +0 -8
  1006. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/uint32-array.js +0 -8
  1007. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/uint8-array.js +0 -8
  1008. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/uint8-clamped-array.js +0 -8
  1009. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/values.js +0 -3
  1010. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/typed-array/with.js +0 -2
  1011. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/unescape.js +0 -5
  1012. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/weak-map/index.js +0 -7
  1013. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/es/weak-set/index.js +0 -7
  1014. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/aggregate-error.js +0 -2
  1015. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/at.js +0 -2
  1016. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/concat.js +0 -2
  1017. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/copy-within.js +0 -2
  1018. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/entries.js +0 -2
  1019. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/every.js +0 -2
  1020. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/fill.js +0 -2
  1021. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/filter-out.js +0 -2
  1022. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/filter-reject.js +0 -2
  1023. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/filter.js +0 -2
  1024. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/find-index.js +0 -2
  1025. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/find-last-index.js +0 -2
  1026. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/find-last.js +0 -2
  1027. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/find.js +0 -2
  1028. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/flat-map.js +0 -2
  1029. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/flat.js +0 -2
  1030. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/for-each.js +0 -2
  1031. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/from-async.js +0 -2
  1032. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/from.js +0 -2
  1033. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/group-by-to-map.js +0 -2
  1034. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/group-by.js +0 -2
  1035. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/group-to-map.js +0 -2
  1036. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/group.js +0 -2
  1037. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/includes.js +0 -2
  1038. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/index-of.js +0 -2
  1039. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/index.js +0 -2
  1040. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/is-array.js +0 -2
  1041. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/is-template-object.js +0 -2
  1042. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/iterator.js +0 -2
  1043. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/join.js +0 -2
  1044. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/keys.js +0 -2
  1045. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/last-index-of.js +0 -2
  1046. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/last-index.js +0 -2
  1047. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/last-item.js +0 -2
  1048. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/map.js +0 -2
  1049. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/of.js +0 -2
  1050. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/push.js +0 -2
  1051. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/reduce-right.js +0 -2
  1052. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/reduce.js +0 -2
  1053. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/reverse.js +0 -2
  1054. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/slice.js +0 -2
  1055. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/some.js +0 -2
  1056. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/sort.js +0 -2
  1057. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/splice.js +0 -2
  1058. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/to-reversed.js +0 -2
  1059. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/to-sorted.js +0 -2
  1060. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/to-spliced.js +0 -2
  1061. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/unique-by.js +0 -2
  1062. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/unshift.js +0 -2
  1063. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/values.js +0 -2
  1064. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/at.js +0 -2
  1065. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/concat.js +0 -2
  1066. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/copy-within.js +0 -2
  1067. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/entries.js +0 -2
  1068. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/every.js +0 -2
  1069. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/fill.js +0 -2
  1070. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/filter-out.js +0 -2
  1071. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/filter-reject.js +0 -2
  1072. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/filter.js +0 -2
  1073. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/find-index.js +0 -2
  1074. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/find-last-index.js +0 -2
  1075. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/find-last.js +0 -2
  1076. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/find.js +0 -2
  1077. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/flat-map.js +0 -2
  1078. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/flat.js +0 -2
  1079. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/for-each.js +0 -2
  1080. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/group-by-to-map.js +0 -2
  1081. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/group-by.js +0 -2
  1082. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/group-to-map.js +0 -2
  1083. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/group.js +0 -2
  1084. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/includes.js +0 -2
  1085. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/index-of.js +0 -2
  1086. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/index.js +0 -2
  1087. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/iterator.js +0 -2
  1088. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/join.js +0 -2
  1089. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/keys.js +0 -2
  1090. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/last-index-of.js +0 -2
  1091. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/map.js +0 -2
  1092. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/push.js +0 -2
  1093. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/reduce-right.js +0 -2
  1094. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/reduce.js +0 -2
  1095. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/reverse.js +0 -2
  1096. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/slice.js +0 -2
  1097. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/some.js +0 -2
  1098. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/sort.js +0 -2
  1099. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/splice.js +0 -2
  1100. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/to-reversed.js +0 -2
  1101. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/to-sorted.js +0 -2
  1102. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/to-spliced.js +0 -2
  1103. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/unique-by.js +0 -2
  1104. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/unshift.js +0 -2
  1105. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/values.js +0 -2
  1106. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/virtual/with.js +0 -2
  1107. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array/with.js +0 -2
  1108. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array-buffer/constructor.js +0 -2
  1109. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array-buffer/detached.js +0 -2
  1110. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array-buffer/index.js +0 -2
  1111. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array-buffer/is-view.js +0 -2
  1112. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array-buffer/slice.js +0 -2
  1113. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array-buffer/transfer-to-fixed-length.js +0 -2
  1114. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/array-buffer/transfer.js +0 -2
  1115. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-disposable-stack/constructor.js +0 -2
  1116. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-disposable-stack/index.js +0 -2
  1117. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/as-indexed-pairs.js +0 -2
  1118. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/async-dispose.js +0 -2
  1119. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/drop.js +0 -2
  1120. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/every.js +0 -2
  1121. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/filter.js +0 -2
  1122. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/find.js +0 -2
  1123. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/flat-map.js +0 -2
  1124. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/for-each.js +0 -2
  1125. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/from.js +0 -2
  1126. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/index.js +0 -2
  1127. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/indexed.js +0 -2
  1128. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/map.js +0 -2
  1129. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/reduce.js +0 -2
  1130. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/some.js +0 -2
  1131. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/take.js +0 -2
  1132. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/async-iterator/to-array.js +0 -2
  1133. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/atob.js +0 -2
  1134. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/bigint/index.js +0 -2
  1135. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/bigint/range.js +0 -2
  1136. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/btoa.js +0 -2
  1137. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/clear-immediate.js +0 -2
  1138. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/composite-key.js +0 -2
  1139. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/composite-symbol.js +0 -2
  1140. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/data-view/get-float16.js +0 -2
  1141. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/data-view/get-uint8-clamped.js +0 -2
  1142. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/data-view/index.js +0 -2
  1143. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/data-view/set-float16.js +0 -2
  1144. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/data-view/set-uint8-clamped.js +0 -2
  1145. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/get-year.js +0 -2
  1146. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/index.js +0 -2
  1147. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/now.js +0 -2
  1148. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/set-year.js +0 -2
  1149. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/to-gmt-string.js +0 -2
  1150. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/to-iso-string.js +0 -2
  1151. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/to-json.js +0 -2
  1152. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/to-primitive.js +0 -2
  1153. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/date/to-string.js +0 -2
  1154. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/disposable-stack/constructor.js +0 -2
  1155. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/disposable-stack/index.js +0 -2
  1156. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/dom-collections/for-each.js +0 -2
  1157. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/dom-collections/index.js +0 -2
  1158. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/dom-collections/iterator.js +0 -2
  1159. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/dom-exception/constructor.js +0 -2
  1160. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/dom-exception/index.js +0 -2
  1161. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/dom-exception/to-string-tag.js +0 -2
  1162. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/error/constructor.js +0 -2
  1163. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/error/index.js +0 -2
  1164. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/error/to-string.js +0 -2
  1165. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/escape.js +0 -2
  1166. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/bind.js +0 -2
  1167. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/demethodize.js +0 -2
  1168. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/has-instance.js +0 -2
  1169. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/index.js +0 -2
  1170. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/is-callable.js +0 -2
  1171. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/is-constructor.js +0 -2
  1172. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/metadata.js +0 -2
  1173. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/name.js +0 -2
  1174. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/un-this.js +0 -2
  1175. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/virtual/bind.js +0 -2
  1176. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/virtual/demethodize.js +0 -2
  1177. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/virtual/index.js +0 -2
  1178. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/function/virtual/un-this.js +0 -2
  1179. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/get-iterator-method.js +0 -2
  1180. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/get-iterator.js +0 -2
  1181. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/global-this.js +0 -2
  1182. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/index.js +0 -2
  1183. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/at.js +0 -2
  1184. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/bind.js +0 -2
  1185. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/code-point-at.js +0 -2
  1186. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/code-points.js +0 -2
  1187. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/concat.js +0 -2
  1188. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/copy-within.js +0 -2
  1189. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/demethodize.js +0 -2
  1190. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/ends-with.js +0 -2
  1191. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/entries.js +0 -2
  1192. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/every.js +0 -2
  1193. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/fill.js +0 -2
  1194. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/filter-out.js +0 -2
  1195. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/filter-reject.js +0 -2
  1196. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/filter.js +0 -2
  1197. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/find-index.js +0 -2
  1198. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/find-last-index.js +0 -2
  1199. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/find-last.js +0 -2
  1200. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/find.js +0 -2
  1201. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/flags.js +0 -2
  1202. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/flat-map.js +0 -2
  1203. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/flat.js +0 -2
  1204. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/for-each.js +0 -2
  1205. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/group-by-to-map.js +0 -2
  1206. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/group-by.js +0 -2
  1207. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/group-to-map.js +0 -2
  1208. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/group.js +0 -2
  1209. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/includes.js +0 -2
  1210. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/index-of.js +0 -2
  1211. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/is-well-formed.js +0 -2
  1212. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/keys.js +0 -2
  1213. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/last-index-of.js +0 -2
  1214. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/map.js +0 -2
  1215. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/match-all.js +0 -2
  1216. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/pad-end.js +0 -2
  1217. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/pad-start.js +0 -2
  1218. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/push.js +0 -2
  1219. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/reduce-right.js +0 -2
  1220. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/reduce.js +0 -2
  1221. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/repeat.js +0 -2
  1222. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/replace-all.js +0 -2
  1223. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/reverse.js +0 -2
  1224. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/slice.js +0 -2
  1225. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/some.js +0 -2
  1226. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/sort.js +0 -2
  1227. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/splice.js +0 -2
  1228. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/starts-with.js +0 -2
  1229. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/to-reversed.js +0 -2
  1230. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/to-sorted.js +0 -2
  1231. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/to-spliced.js +0 -2
  1232. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/to-well-formed.js +0 -2
  1233. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/trim-end.js +0 -2
  1234. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/trim-left.js +0 -2
  1235. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/trim-right.js +0 -2
  1236. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/trim-start.js +0 -2
  1237. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/trim.js +0 -2
  1238. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/un-this.js +0 -2
  1239. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/unique-by.js +0 -2
  1240. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/unshift.js +0 -2
  1241. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/values.js +0 -2
  1242. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/instance/with.js +0 -2
  1243. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/is-iterable.js +0 -2
  1244. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/as-indexed-pairs.js +0 -2
  1245. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/dispose.js +0 -2
  1246. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/drop.js +0 -2
  1247. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/every.js +0 -2
  1248. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/filter.js +0 -2
  1249. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/find.js +0 -2
  1250. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/flat-map.js +0 -2
  1251. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/for-each.js +0 -2
  1252. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/from.js +0 -2
  1253. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/index.js +0 -2
  1254. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/indexed.js +0 -2
  1255. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/map.js +0 -2
  1256. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/range.js +0 -2
  1257. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/reduce.js +0 -2
  1258. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/some.js +0 -2
  1259. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/take.js +0 -2
  1260. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/to-array.js +0 -2
  1261. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/iterator/to-async.js +0 -2
  1262. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/json/index.js +0 -2
  1263. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/json/is-raw-json.js +0 -2
  1264. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/json/parse.js +0 -2
  1265. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/json/raw-json.js +0 -2
  1266. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/json/stringify.js +0 -2
  1267. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/json/to-string-tag.js +0 -2
  1268. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/delete-all.js +0 -2
  1269. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/emplace.js +0 -2
  1270. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/every.js +0 -2
  1271. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/filter.js +0 -2
  1272. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/find-key.js +0 -2
  1273. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/find.js +0 -2
  1274. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/from.js +0 -2
  1275. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/group-by.js +0 -2
  1276. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/includes.js +0 -2
  1277. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/index.js +0 -2
  1278. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/key-by.js +0 -2
  1279. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/key-of.js +0 -2
  1280. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/map-keys.js +0 -2
  1281. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/map-values.js +0 -2
  1282. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/merge.js +0 -2
  1283. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/of.js +0 -2
  1284. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/reduce.js +0 -2
  1285. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/some.js +0 -2
  1286. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/update-or-insert.js +0 -2
  1287. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/update.js +0 -2
  1288. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/map/upsert.js +0 -2
  1289. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/acosh.js +0 -2
  1290. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/asinh.js +0 -2
  1291. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/atanh.js +0 -2
  1292. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/cbrt.js +0 -2
  1293. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/clamp.js +0 -2
  1294. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/clz32.js +0 -2
  1295. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/cosh.js +0 -2
  1296. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/deg-per-rad.js +0 -2
  1297. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/degrees.js +0 -2
  1298. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/expm1.js +0 -2
  1299. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/f16round.js +0 -2
  1300. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/fround.js +0 -2
  1301. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/fscale.js +0 -2
  1302. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/hypot.js +0 -2
  1303. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/iaddh.js +0 -2
  1304. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/imul.js +0 -2
  1305. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/imulh.js +0 -2
  1306. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/index.js +0 -2
  1307. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/isubh.js +0 -2
  1308. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/log10.js +0 -2
  1309. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/log1p.js +0 -2
  1310. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/log2.js +0 -2
  1311. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/rad-per-deg.js +0 -2
  1312. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/radians.js +0 -2
  1313. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/scale.js +0 -2
  1314. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/seeded-prng.js +0 -2
  1315. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/sign.js +0 -2
  1316. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/signbit.js +0 -2
  1317. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/sinh.js +0 -2
  1318. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/tanh.js +0 -2
  1319. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/to-string-tag.js +0 -2
  1320. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/trunc.js +0 -2
  1321. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/math/umulh.js +0 -2
  1322. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/constructor.js +0 -2
  1323. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/epsilon.js +0 -2
  1324. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/from-string.js +0 -2
  1325. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/index.js +0 -2
  1326. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/is-finite.js +0 -2
  1327. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/is-integer.js +0 -2
  1328. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/is-nan.js +0 -2
  1329. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/is-safe-integer.js +0 -2
  1330. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/max-safe-integer.js +0 -2
  1331. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/min-safe-integer.js +0 -2
  1332. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/parse-float.js +0 -2
  1333. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/parse-int.js +0 -2
  1334. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/range.js +0 -2
  1335. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/to-exponential.js +0 -2
  1336. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/to-fixed.js +0 -2
  1337. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/to-precision.js +0 -2
  1338. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/virtual/index.js +0 -2
  1339. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/virtual/to-exponential.js +0 -2
  1340. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/virtual/to-fixed.js +0 -2
  1341. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/number/virtual/to-precision.js +0 -2
  1342. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/assign.js +0 -2
  1343. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/create.js +0 -2
  1344. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/define-getter.js +0 -2
  1345. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/define-properties.js +0 -2
  1346. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/define-property.js +0 -2
  1347. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/define-setter.js +0 -2
  1348. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/entries.js +0 -2
  1349. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/freeze.js +0 -2
  1350. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/from-entries.js +0 -2
  1351. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/get-own-property-descriptor.js +0 -2
  1352. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/get-own-property-descriptors.js +0 -2
  1353. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/get-own-property-names.js +0 -2
  1354. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/get-own-property-symbols.js +0 -2
  1355. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/get-prototype-of.js +0 -2
  1356. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/group-by.js +0 -2
  1357. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/has-own.js +0 -2
  1358. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/index.js +0 -2
  1359. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/is-extensible.js +0 -2
  1360. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/is-frozen.js +0 -2
  1361. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/is-sealed.js +0 -2
  1362. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/is.js +0 -2
  1363. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/iterate-entries.js +0 -2
  1364. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/iterate-keys.js +0 -2
  1365. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/iterate-values.js +0 -2
  1366. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/keys.js +0 -2
  1367. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/lookup-getter.js +0 -2
  1368. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/lookup-setter.js +0 -2
  1369. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/prevent-extensions.js +0 -2
  1370. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/proto.js +0 -2
  1371. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/seal.js +0 -2
  1372. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/set-prototype-of.js +0 -2
  1373. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/to-string.js +0 -2
  1374. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/object/values.js +0 -2
  1375. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/observable/index.js +0 -2
  1376. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/parse-float.js +0 -2
  1377. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/parse-int.js +0 -2
  1378. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/promise/all-settled.js +0 -2
  1379. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/promise/any.js +0 -2
  1380. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/promise/finally.js +0 -2
  1381. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/promise/index.js +0 -2
  1382. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/promise/try.js +0 -2
  1383. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/promise/with-resolvers.js +0 -2
  1384. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/queue-microtask.js +0 -2
  1385. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/apply.js +0 -2
  1386. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/construct.js +0 -2
  1387. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/define-metadata.js +0 -2
  1388. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/define-property.js +0 -2
  1389. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/delete-metadata.js +0 -2
  1390. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/delete-property.js +0 -2
  1391. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/get-metadata-keys.js +0 -2
  1392. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/get-metadata.js +0 -2
  1393. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/get-own-metadata-keys.js +0 -2
  1394. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/get-own-metadata.js +0 -2
  1395. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/get-own-property-descriptor.js +0 -2
  1396. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/get-prototype-of.js +0 -2
  1397. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/get.js +0 -2
  1398. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/has-metadata.js +0 -2
  1399. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/has-own-metadata.js +0 -2
  1400. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/has.js +0 -2
  1401. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/index.js +0 -2
  1402. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/is-extensible.js +0 -2
  1403. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/metadata.js +0 -2
  1404. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/own-keys.js +0 -2
  1405. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/prevent-extensions.js +0 -2
  1406. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/set-prototype-of.js +0 -2
  1407. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/set.js +0 -2
  1408. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/reflect/to-string-tag.js +0 -2
  1409. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/constructor.js +0 -2
  1410. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/dot-all.js +0 -2
  1411. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/escape.js +0 -2
  1412. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/flags.js +0 -2
  1413. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/index.js +0 -2
  1414. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/match.js +0 -2
  1415. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/replace.js +0 -2
  1416. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/search.js +0 -2
  1417. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/split.js +0 -2
  1418. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/sticky.js +0 -2
  1419. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/test.js +0 -2
  1420. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/regexp/to-string.js +0 -2
  1421. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/self.js +0 -2
  1422. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/add-all.js +0 -2
  1423. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/delete-all.js +0 -2
  1424. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/difference.js +0 -2
  1425. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/every.js +0 -2
  1426. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/filter.js +0 -2
  1427. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/find.js +0 -2
  1428. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/from.js +0 -2
  1429. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/index.js +0 -2
  1430. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/intersection.js +0 -2
  1431. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/is-disjoint-from.js +0 -2
  1432. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/is-subset-of.js +0 -2
  1433. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/is-superset-of.js +0 -2
  1434. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/join.js +0 -2
  1435. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/map.js +0 -2
  1436. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/of.js +0 -2
  1437. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/reduce.js +0 -2
  1438. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/some.js +0 -2
  1439. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/symmetric-difference.js +0 -2
  1440. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set/union.js +0 -2
  1441. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set-immediate.js +0 -2
  1442. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set-interval.js +0 -2
  1443. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/set-timeout.js +0 -2
  1444. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/anchor.js +0 -2
  1445. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/at.js +0 -2
  1446. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/big.js +0 -2
  1447. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/blink.js +0 -2
  1448. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/bold.js +0 -2
  1449. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/code-point-at.js +0 -2
  1450. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/code-points.js +0 -2
  1451. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/cooked.js +0 -2
  1452. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/dedent.js +0 -2
  1453. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/ends-with.js +0 -2
  1454. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/fixed.js +0 -2
  1455. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/fontcolor.js +0 -2
  1456. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/fontsize.js +0 -2
  1457. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/from-code-point.js +0 -2
  1458. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/includes.js +0 -2
  1459. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/index.js +0 -2
  1460. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/is-well-formed.js +0 -2
  1461. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/italics.js +0 -2
  1462. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/iterator.js +0 -2
  1463. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/link.js +0 -2
  1464. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/match-all.js +0 -2
  1465. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/match.js +0 -2
  1466. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/pad-end.js +0 -2
  1467. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/pad-start.js +0 -2
  1468. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/raw.js +0 -2
  1469. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/repeat.js +0 -2
  1470. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/replace-all.js +0 -2
  1471. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/replace.js +0 -2
  1472. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/search.js +0 -2
  1473. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/small.js +0 -2
  1474. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/split.js +0 -2
  1475. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/starts-with.js +0 -2
  1476. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/strike.js +0 -2
  1477. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/sub.js +0 -2
  1478. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/substr.js +0 -2
  1479. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/sup.js +0 -2
  1480. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/to-well-formed.js +0 -2
  1481. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/trim-end.js +0 -2
  1482. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/trim-left.js +0 -2
  1483. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/trim-right.js +0 -2
  1484. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/trim-start.js +0 -2
  1485. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/trim.js +0 -2
  1486. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/anchor.js +0 -2
  1487. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/at.js +0 -2
  1488. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/big.js +0 -2
  1489. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/blink.js +0 -2
  1490. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/bold.js +0 -2
  1491. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/code-point-at.js +0 -2
  1492. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/code-points.js +0 -2
  1493. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/ends-with.js +0 -2
  1494. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/fixed.js +0 -2
  1495. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/fontcolor.js +0 -2
  1496. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/fontsize.js +0 -2
  1497. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/includes.js +0 -2
  1498. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/index.js +0 -2
  1499. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/is-well-formed.js +0 -2
  1500. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/italics.js +0 -2
  1501. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/iterator.js +0 -2
  1502. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/link.js +0 -2
  1503. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/match-all.js +0 -2
  1504. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/pad-end.js +0 -2
  1505. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/pad-start.js +0 -2
  1506. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/repeat.js +0 -2
  1507. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/replace-all.js +0 -2
  1508. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/small.js +0 -2
  1509. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/starts-with.js +0 -2
  1510. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/strike.js +0 -2
  1511. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/sub.js +0 -2
  1512. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/substr.js +0 -2
  1513. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/sup.js +0 -2
  1514. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/to-well-formed.js +0 -2
  1515. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/trim-end.js +0 -2
  1516. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/trim-left.js +0 -2
  1517. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/trim-right.js +0 -2
  1518. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/trim-start.js +0 -2
  1519. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/string/virtual/trim.js +0 -2
  1520. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/structured-clone.js +0 -2
  1521. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/suppressed-error.js +0 -2
  1522. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/async-dispose.js +0 -2
  1523. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/async-iterator.js +0 -2
  1524. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/description.js +0 -2
  1525. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/dispose.js +0 -2
  1526. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/for.js +0 -2
  1527. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/has-instance.js +0 -2
  1528. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/index.js +0 -2
  1529. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/is-concat-spreadable.js +0 -2
  1530. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/is-registered-symbol.js +0 -2
  1531. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/is-registered.js +0 -2
  1532. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/is-well-known-symbol.js +0 -2
  1533. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/is-well-known.js +0 -2
  1534. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/iterator.js +0 -2
  1535. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/key-for.js +0 -2
  1536. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/match-all.js +0 -2
  1537. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/match.js +0 -2
  1538. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/matcher.js +0 -2
  1539. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/metadata-key.js +0 -2
  1540. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/metadata.js +0 -2
  1541. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/observable.js +0 -2
  1542. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/pattern-match.js +0 -2
  1543. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/replace-all.js +0 -2
  1544. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/replace.js +0 -2
  1545. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/search.js +0 -2
  1546. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/species.js +0 -2
  1547. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/split.js +0 -2
  1548. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/to-primitive.js +0 -2
  1549. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/to-string-tag.js +0 -2
  1550. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/symbol/unscopables.js +0 -2
  1551. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/at.js +0 -2
  1552. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/copy-within.js +0 -2
  1553. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/entries.js +0 -2
  1554. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/every.js +0 -2
  1555. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/fill.js +0 -2
  1556. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/filter-out.js +0 -2
  1557. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/filter-reject.js +0 -2
  1558. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/filter.js +0 -2
  1559. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/find-index.js +0 -2
  1560. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/find-last-index.js +0 -2
  1561. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/find-last.js +0 -2
  1562. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/find.js +0 -2
  1563. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/float32-array.js +0 -2
  1564. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/float64-array.js +0 -2
  1565. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/for-each.js +0 -2
  1566. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/from-async.js +0 -2
  1567. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/from-base64.js +0 -2
  1568. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/from-hex.js +0 -2
  1569. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/from.js +0 -2
  1570. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/group-by.js +0 -2
  1571. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/includes.js +0 -2
  1572. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/index-of.js +0 -2
  1573. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/index.js +0 -2
  1574. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/int16-array.js +0 -2
  1575. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/int32-array.js +0 -2
  1576. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/int8-array.js +0 -2
  1577. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/iterator.js +0 -2
  1578. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/join.js +0 -2
  1579. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/keys.js +0 -2
  1580. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/last-index-of.js +0 -2
  1581. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/map.js +0 -2
  1582. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/methods.js +0 -2
  1583. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/of.js +0 -2
  1584. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/reduce-right.js +0 -2
  1585. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/reduce.js +0 -2
  1586. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/reverse.js +0 -2
  1587. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/set.js +0 -2
  1588. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/slice.js +0 -2
  1589. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/some.js +0 -2
  1590. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/sort.js +0 -2
  1591. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/subarray.js +0 -2
  1592. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/to-base64.js +0 -2
  1593. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/to-hex.js +0 -2
  1594. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/to-locale-string.js +0 -2
  1595. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/to-reversed.js +0 -2
  1596. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/to-sorted.js +0 -2
  1597. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/to-spliced.js +0 -2
  1598. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/to-string.js +0 -2
  1599. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/uint16-array.js +0 -2
  1600. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/uint32-array.js +0 -2
  1601. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/uint8-array.js +0 -2
  1602. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/uint8-clamped-array.js +0 -2
  1603. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/unique-by.js +0 -2
  1604. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/values.js +0 -2
  1605. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/typed-array/with.js +0 -2
  1606. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/unescape.js +0 -2
  1607. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/url/can-parse.js +0 -2
  1608. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/url/index.js +0 -2
  1609. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/url/to-json.js +0 -2
  1610. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/url-search-params/index.js +0 -2
  1611. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-map/delete-all.js +0 -2
  1612. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-map/emplace.js +0 -2
  1613. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-map/from.js +0 -2
  1614. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-map/index.js +0 -2
  1615. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-map/of.js +0 -2
  1616. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-map/upsert.js +0 -2
  1617. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-set/add-all.js +0 -2
  1618. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-set/delete-all.js +0 -2
  1619. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-set/from.js +0 -2
  1620. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-set/index.js +0 -2
  1621. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/features/weak-set/of.js +0 -2
  1622. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/README.md +0 -1
  1623. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/aggregate-error.js +0 -7
  1624. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/at.js +0 -7
  1625. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/concat.js +0 -4
  1626. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/copy-within.js +0 -4
  1627. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/entries.js +0 -4
  1628. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/every.js +0 -4
  1629. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/fill.js +0 -4
  1630. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/filter-out.js +0 -6
  1631. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/filter-reject.js +0 -5
  1632. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/filter.js +0 -4
  1633. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/find-index.js +0 -4
  1634. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/find-last-index.js +0 -4
  1635. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/find-last.js +0 -4
  1636. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/find.js +0 -4
  1637. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/flat-map.js +0 -4
  1638. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/flat.js +0 -4
  1639. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/for-each.js +0 -4
  1640. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/from-async.js +0 -4
  1641. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/from.js +0 -4
  1642. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/group-by-to-map.js +0 -4
  1643. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/group-by.js +0 -4
  1644. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/group-to-map.js +0 -4
  1645. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/group.js +0 -4
  1646. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/includes.js +0 -4
  1647. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/index-of.js +0 -4
  1648. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/index.js +0 -14
  1649. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/is-array.js +0 -4
  1650. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/is-template-object.js +0 -5
  1651. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/iterator.js +0 -4
  1652. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/join.js +0 -4
  1653. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/keys.js +0 -4
  1654. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/last-index-of.js +0 -4
  1655. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/last-index.js +0 -2
  1656. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/last-item.js +0 -2
  1657. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/map.js +0 -4
  1658. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/of.js +0 -4
  1659. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/push.js +0 -4
  1660. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/reduce-right.js +0 -4
  1661. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/reduce.js +0 -4
  1662. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/reverse.js +0 -4
  1663. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/slice.js +0 -4
  1664. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/some.js +0 -4
  1665. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/sort.js +0 -4
  1666. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/splice.js +0 -4
  1667. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/to-reversed.js +0 -4
  1668. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/to-sorted.js +0 -4
  1669. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/to-spliced.js +0 -4
  1670. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/unique-by.js +0 -6
  1671. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/unshift.js +0 -4
  1672. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/values.js +0 -4
  1673. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/at.js +0 -7
  1674. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/concat.js +0 -4
  1675. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/copy-within.js +0 -4
  1676. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/entries.js +0 -4
  1677. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/every.js +0 -4
  1678. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/fill.js +0 -4
  1679. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/filter-out.js +0 -6
  1680. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/filter-reject.js +0 -5
  1681. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/filter.js +0 -4
  1682. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/find-index.js +0 -4
  1683. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/find-last-index.js +0 -4
  1684. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/find-last.js +0 -4
  1685. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/find.js +0 -4
  1686. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/flat-map.js +0 -4
  1687. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/flat.js +0 -4
  1688. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/for-each.js +0 -4
  1689. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/group-by-to-map.js +0 -4
  1690. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/group-by.js +0 -4
  1691. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/group-to-map.js +0 -4
  1692. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/group.js +0 -4
  1693. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/includes.js +0 -4
  1694. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/index-of.js +0 -4
  1695. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/index.js +0 -10
  1696. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/iterator.js +0 -4
  1697. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/join.js +0 -4
  1698. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/keys.js +0 -4
  1699. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/last-index-of.js +0 -4
  1700. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/map.js +0 -4
  1701. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/push.js +0 -4
  1702. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/reduce-right.js +0 -4
  1703. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/reduce.js +0 -4
  1704. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/reverse.js +0 -4
  1705. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/slice.js +0 -4
  1706. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/some.js +0 -4
  1707. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/sort.js +0 -4
  1708. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/splice.js +0 -4
  1709. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/to-reversed.js +0 -4
  1710. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/to-sorted.js +0 -4
  1711. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/to-spliced.js +0 -4
  1712. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/unique-by.js +0 -6
  1713. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/unshift.js +0 -4
  1714. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/values.js +0 -4
  1715. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/virtual/with.js +0 -4
  1716. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array/with.js +0 -4
  1717. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array-buffer/constructor.js +0 -4
  1718. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array-buffer/detached.js +0 -4
  1719. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array-buffer/index.js +0 -4
  1720. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array-buffer/is-view.js +0 -4
  1721. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array-buffer/slice.js +0 -4
  1722. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array-buffer/transfer-to-fixed-length.js +0 -4
  1723. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/array-buffer/transfer.js +0 -4
  1724. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-disposable-stack/constructor.js +0 -4
  1725. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-disposable-stack/index.js +0 -4
  1726. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/as-indexed-pairs.js +0 -9
  1727. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/async-dispose.js +0 -4
  1728. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/drop.js +0 -4
  1729. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/every.js +0 -4
  1730. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/filter.js +0 -4
  1731. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/find.js +0 -4
  1732. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/flat-map.js +0 -4
  1733. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/for-each.js +0 -4
  1734. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/from.js +0 -4
  1735. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/index.js +0 -7
  1736. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/indexed.js +0 -10
  1737. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/map.js +0 -4
  1738. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/reduce.js +0 -4
  1739. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/some.js +0 -4
  1740. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/take.js +0 -4
  1741. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/async-iterator/to-array.js +0 -4
  1742. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/atob.js +0 -4
  1743. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/bigint/index.js +0 -6
  1744. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/bigint/range.js +0 -6
  1745. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/btoa.js +0 -4
  1746. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/clear-immediate.js +0 -4
  1747. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/composite-key.js +0 -5
  1748. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/composite-symbol.js +0 -6
  1749. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/data-view/get-float16.js +0 -4
  1750. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/data-view/get-uint8-clamped.js +0 -2
  1751. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/data-view/index.js +0 -6
  1752. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/data-view/set-float16.js +0 -4
  1753. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/data-view/set-uint8-clamped.js +0 -2
  1754. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/get-year.js +0 -4
  1755. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/index.js +0 -4
  1756. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/now.js +0 -4
  1757. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/set-year.js +0 -4
  1758. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/to-gmt-string.js +0 -4
  1759. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/to-iso-string.js +0 -4
  1760. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/to-json.js +0 -4
  1761. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/to-primitive.js +0 -4
  1762. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/date/to-string.js +0 -4
  1763. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/disposable-stack/constructor.js +0 -4
  1764. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/disposable-stack/index.js +0 -4
  1765. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/dom-collections/for-each.js +0 -4
  1766. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/dom-collections/index.js +0 -4
  1767. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/dom-collections/iterator.js +0 -4
  1768. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/dom-exception/constructor.js +0 -4
  1769. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/dom-exception/index.js +0 -4
  1770. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/dom-exception/to-string-tag.js +0 -4
  1771. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/error/constructor.js +0 -4
  1772. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/error/index.js +0 -4
  1773. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/error/to-string.js +0 -4
  1774. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/escape.js +0 -4
  1775. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/bind.js +0 -4
  1776. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/demethodize.js +0 -5
  1777. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/has-instance.js +0 -4
  1778. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/index.js +0 -9
  1779. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/is-callable.js +0 -5
  1780. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/is-constructor.js +0 -5
  1781. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/metadata.js +0 -4
  1782. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/name.js +0 -4
  1783. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/un-this.js +0 -5
  1784. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/virtual/bind.js +0 -4
  1785. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/virtual/demethodize.js +0 -5
  1786. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/virtual/index.js +0 -7
  1787. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/function/virtual/un-this.js +0 -5
  1788. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/get-iterator-method.js +0 -4
  1789. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/get-iterator.js +0 -4
  1790. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/global-this.js +0 -7
  1791. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/index.js +0 -468
  1792. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/at.js +0 -15
  1793. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/bind.js +0 -4
  1794. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/code-point-at.js +0 -4
  1795. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/code-points.js +0 -11
  1796. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/concat.js +0 -4
  1797. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/copy-within.js +0 -4
  1798. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/demethodize.js +0 -10
  1799. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/ends-with.js +0 -4
  1800. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/entries.js +0 -4
  1801. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/every.js +0 -4
  1802. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/fill.js +0 -4
  1803. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/filter-out.js +0 -11
  1804. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/filter-reject.js +0 -10
  1805. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/filter.js +0 -4
  1806. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/find-index.js +0 -4
  1807. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/find-last-index.js +0 -4
  1808. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/find-last.js +0 -4
  1809. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/find.js +0 -4
  1810. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/flags.js +0 -4
  1811. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/flat-map.js +0 -4
  1812. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/flat.js +0 -4
  1813. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/for-each.js +0 -4
  1814. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/group-by-to-map.js +0 -4
  1815. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/group-by.js +0 -4
  1816. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/group-to-map.js +0 -4
  1817. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/group.js +0 -4
  1818. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/includes.js +0 -4
  1819. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/index-of.js +0 -4
  1820. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/is-well-formed.js +0 -4
  1821. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/keys.js +0 -4
  1822. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/last-index-of.js +0 -4
  1823. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/map.js +0 -4
  1824. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/match-all.js +0 -7
  1825. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/pad-end.js +0 -4
  1826. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/pad-start.js +0 -4
  1827. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/push.js +0 -4
  1828. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/reduce-right.js +0 -4
  1829. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/reduce.js +0 -4
  1830. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/repeat.js +0 -4
  1831. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/replace-all.js +0 -7
  1832. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/reverse.js +0 -4
  1833. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/slice.js +0 -4
  1834. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/some.js +0 -4
  1835. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/sort.js +0 -4
  1836. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/splice.js +0 -4
  1837. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/starts-with.js +0 -4
  1838. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/to-reversed.js +0 -4
  1839. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/to-sorted.js +0 -4
  1840. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/to-spliced.js +0 -4
  1841. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/to-well-formed.js +0 -4
  1842. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/trim-end.js +0 -4
  1843. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/trim-left.js +0 -4
  1844. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/trim-right.js +0 -4
  1845. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/trim-start.js +0 -4
  1846. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/trim.js +0 -4
  1847. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/un-this.js +0 -10
  1848. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/unique-by.js +0 -10
  1849. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/unshift.js +0 -4
  1850. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/values.js +0 -4
  1851. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/instance/with.js +0 -4
  1852. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/is-iterable.js +0 -4
  1853. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/as-indexed-pairs.js +0 -9
  1854. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/dispose.js +0 -4
  1855. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/drop.js +0 -4
  1856. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/every.js +0 -4
  1857. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/filter.js +0 -4
  1858. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/find.js +0 -4
  1859. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/flat-map.js +0 -4
  1860. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/for-each.js +0 -4
  1861. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/from.js +0 -4
  1862. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/index.js +0 -8
  1863. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/indexed.js +0 -10
  1864. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/map.js +0 -4
  1865. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/range.js +0 -7
  1866. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/reduce.js +0 -4
  1867. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/some.js +0 -4
  1868. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/take.js +0 -4
  1869. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/to-array.js +0 -4
  1870. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/iterator/to-async.js +0 -4
  1871. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/json/index.js +0 -4
  1872. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/json/is-raw-json.js +0 -4
  1873. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/json/parse.js +0 -4
  1874. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/json/raw-json.js +0 -4
  1875. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/json/stringify.js +0 -4
  1876. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/json/to-string-tag.js +0 -4
  1877. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/delete-all.js +0 -6
  1878. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/emplace.js +0 -6
  1879. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/every.js +0 -6
  1880. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/filter.js +0 -6
  1881. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/find-key.js +0 -6
  1882. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/find.js +0 -6
  1883. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/from.js +0 -16
  1884. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/group-by.js +0 -4
  1885. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/includes.js +0 -6
  1886. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/index.js +0 -25
  1887. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/key-by.js +0 -13
  1888. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/key-of.js +0 -6
  1889. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/map-keys.js +0 -6
  1890. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/map-values.js +0 -6
  1891. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/merge.js +0 -6
  1892. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/of.js +0 -14
  1893. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/reduce.js +0 -6
  1894. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/some.js +0 -6
  1895. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/update-or-insert.js +0 -7
  1896. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/update.js +0 -6
  1897. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/map/upsert.js +0 -6
  1898. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/acosh.js +0 -4
  1899. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/asinh.js +0 -4
  1900. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/atanh.js +0 -4
  1901. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/cbrt.js +0 -4
  1902. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/clamp.js +0 -5
  1903. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/clz32.js +0 -4
  1904. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/cosh.js +0 -4
  1905. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/deg-per-rad.js +0 -4
  1906. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/degrees.js +0 -5
  1907. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/expm1.js +0 -4
  1908. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/f16round.js +0 -4
  1909. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/fround.js +0 -4
  1910. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/fscale.js +0 -5
  1911. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/hypot.js +0 -4
  1912. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/iaddh.js +0 -5
  1913. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/imul.js +0 -4
  1914. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/imulh.js +0 -5
  1915. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/index.js +0 -18
  1916. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/isubh.js +0 -5
  1917. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/log10.js +0 -4
  1918. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/log1p.js +0 -4
  1919. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/log2.js +0 -4
  1920. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/rad-per-deg.js +0 -4
  1921. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/radians.js +0 -5
  1922. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/scale.js +0 -5
  1923. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/seeded-prng.js +0 -5
  1924. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/sign.js +0 -4
  1925. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/signbit.js +0 -5
  1926. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/sinh.js +0 -4
  1927. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/tanh.js +0 -4
  1928. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/to-string-tag.js +0 -4
  1929. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/trunc.js +0 -4
  1930. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/math/umulh.js +0 -5
  1931. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/constructor.js +0 -4
  1932. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/epsilon.js +0 -4
  1933. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/from-string.js +0 -5
  1934. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/index.js +0 -8
  1935. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/is-finite.js +0 -4
  1936. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/is-integer.js +0 -4
  1937. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/is-nan.js +0 -4
  1938. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/is-safe-integer.js +0 -4
  1939. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/max-safe-integer.js +0 -4
  1940. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/min-safe-integer.js +0 -4
  1941. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/parse-float.js +0 -4
  1942. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/parse-int.js +0 -4
  1943. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/range.js +0 -6
  1944. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/to-exponential.js +0 -4
  1945. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/to-fixed.js +0 -4
  1946. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/to-precision.js +0 -4
  1947. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/virtual/index.js +0 -4
  1948. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/virtual/to-exponential.js +0 -4
  1949. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/virtual/to-fixed.js +0 -4
  1950. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/number/virtual/to-precision.js +0 -4
  1951. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/assign.js +0 -4
  1952. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/create.js +0 -4
  1953. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/define-getter.js +0 -4
  1954. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/define-properties.js +0 -4
  1955. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/define-property.js +0 -4
  1956. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/define-setter.js +0 -4
  1957. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/entries.js +0 -4
  1958. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/freeze.js +0 -4
  1959. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/from-entries.js +0 -4
  1960. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/get-own-property-descriptor.js +0 -4
  1961. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/get-own-property-descriptors.js +0 -4
  1962. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/get-own-property-names.js +0 -4
  1963. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/get-own-property-symbols.js +0 -4
  1964. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/get-prototype-of.js +0 -4
  1965. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/group-by.js +0 -4
  1966. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/has-own.js +0 -7
  1967. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/index.js +0 -9
  1968. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/is-extensible.js +0 -4
  1969. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/is-frozen.js +0 -4
  1970. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/is-sealed.js +0 -4
  1971. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/is.js +0 -4
  1972. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/iterate-entries.js +0 -5
  1973. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/iterate-keys.js +0 -5
  1974. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/iterate-values.js +0 -5
  1975. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/keys.js +0 -4
  1976. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/lookup-getter.js +0 -4
  1977. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/lookup-setter.js +0 -4
  1978. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/prevent-extensions.js +0 -4
  1979. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/proto.js +0 -4
  1980. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/seal.js +0 -4
  1981. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/set-prototype-of.js +0 -4
  1982. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/to-string.js +0 -4
  1983. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/object/values.js +0 -4
  1984. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/observable/index.js +0 -9
  1985. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/parse-float.js +0 -4
  1986. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/parse-int.js +0 -4
  1987. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/promise/all-settled.js +0 -7
  1988. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/promise/any.js +0 -8
  1989. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/promise/finally.js +0 -4
  1990. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/promise/index.js +0 -9
  1991. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/promise/try.js +0 -13
  1992. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/promise/with-resolvers.js +0 -4
  1993. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/queue-microtask.js +0 -4
  1994. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/apply.js +0 -4
  1995. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/construct.js +0 -4
  1996. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/define-metadata.js +0 -5
  1997. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/define-property.js +0 -4
  1998. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/delete-metadata.js +0 -5
  1999. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/delete-property.js +0 -4
  2000. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/get-metadata-keys.js +0 -5
  2001. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/get-metadata.js +0 -5
  2002. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/get-own-metadata-keys.js +0 -5
  2003. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/get-own-metadata.js +0 -5
  2004. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/get-own-property-descriptor.js +0 -4
  2005. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/get-prototype-of.js +0 -4
  2006. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/get.js +0 -4
  2007. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/has-metadata.js +0 -5
  2008. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/has-own-metadata.js +0 -5
  2009. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/has.js +0 -4
  2010. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/index.js +0 -13
  2011. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/is-extensible.js +0 -4
  2012. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/metadata.js +0 -5
  2013. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/own-keys.js +0 -4
  2014. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/prevent-extensions.js +0 -4
  2015. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/set-prototype-of.js +0 -4
  2016. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/set.js +0 -4
  2017. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/reflect/to-string-tag.js +0 -4
  2018. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/constructor.js +0 -4
  2019. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/dot-all.js +0 -4
  2020. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/escape.js +0 -5
  2021. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/flags.js +0 -4
  2022. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/index.js +0 -5
  2023. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/match.js +0 -4
  2024. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/replace.js +0 -4
  2025. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/search.js +0 -4
  2026. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/split.js +0 -4
  2027. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/sticky.js +0 -4
  2028. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/test.js +0 -4
  2029. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/regexp/to-string.js +0 -4
  2030. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/self.js +0 -4
  2031. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/add-all.js +0 -6
  2032. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/delete-all.js +0 -6
  2033. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/difference.js +0 -9
  2034. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/every.js +0 -6
  2035. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/filter.js +0 -6
  2036. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/find.js +0 -6
  2037. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/from.js +0 -16
  2038. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/index.js +0 -22
  2039. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/intersection.js +0 -9
  2040. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/is-disjoint-from.js +0 -9
  2041. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/is-subset-of.js +0 -9
  2042. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/is-superset-of.js +0 -9
  2043. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/join.js +0 -6
  2044. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/map.js +0 -6
  2045. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/of.js +0 -14
  2046. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/reduce.js +0 -6
  2047. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/some.js +0 -6
  2048. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/symmetric-difference.js +0 -9
  2049. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set/union.js +0 -9
  2050. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set-immediate.js +0 -4
  2051. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set-interval.js +0 -4
  2052. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/set-timeout.js +0 -4
  2053. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/anchor.js +0 -4
  2054. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/at.js +0 -6
  2055. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/big.js +0 -4
  2056. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/blink.js +0 -4
  2057. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/bold.js +0 -4
  2058. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/code-point-at.js +0 -4
  2059. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/code-points.js +0 -5
  2060. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/cooked.js +0 -5
  2061. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/dedent.js +0 -7
  2062. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/ends-with.js +0 -4
  2063. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/fixed.js +0 -4
  2064. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/fontcolor.js +0 -4
  2065. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/fontsize.js +0 -4
  2066. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/from-code-point.js +0 -4
  2067. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/includes.js +0 -4
  2068. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/index.js +0 -12
  2069. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/is-well-formed.js +0 -4
  2070. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/italics.js +0 -4
  2071. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/iterator.js +0 -4
  2072. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/link.js +0 -4
  2073. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/match-all.js +0 -7
  2074. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/match.js +0 -4
  2075. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/pad-end.js +0 -4
  2076. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/pad-start.js +0 -4
  2077. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/raw.js +0 -4
  2078. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/repeat.js +0 -4
  2079. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/replace-all.js +0 -7
  2080. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/replace.js +0 -4
  2081. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/search.js +0 -4
  2082. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/small.js +0 -4
  2083. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/split.js +0 -4
  2084. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/starts-with.js +0 -4
  2085. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/strike.js +0 -4
  2086. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/sub.js +0 -4
  2087. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/substr.js +0 -4
  2088. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/sup.js +0 -4
  2089. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/to-well-formed.js +0 -4
  2090. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/trim-end.js +0 -4
  2091. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/trim-left.js +0 -4
  2092. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/trim-right.js +0 -4
  2093. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/trim-start.js +0 -4
  2094. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/trim.js +0 -4
  2095. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/anchor.js +0 -4
  2096. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/at.js +0 -7
  2097. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/big.js +0 -4
  2098. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/blink.js +0 -4
  2099. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/bold.js +0 -4
  2100. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/code-point-at.js +0 -4
  2101. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/code-points.js +0 -6
  2102. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/ends-with.js +0 -4
  2103. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/fixed.js +0 -4
  2104. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/fontcolor.js +0 -4
  2105. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/fontsize.js +0 -4
  2106. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/includes.js +0 -4
  2107. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/index.js +0 -10
  2108. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/is-well-formed.js +0 -4
  2109. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/italics.js +0 -4
  2110. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/iterator.js +0 -4
  2111. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/link.js +0 -4
  2112. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/match-all.js +0 -7
  2113. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/pad-end.js +0 -4
  2114. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/pad-start.js +0 -4
  2115. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/repeat.js +0 -4
  2116. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/replace-all.js +0 -7
  2117. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/small.js +0 -4
  2118. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/starts-with.js +0 -4
  2119. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/strike.js +0 -4
  2120. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/sub.js +0 -4
  2121. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/substr.js +0 -4
  2122. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/sup.js +0 -4
  2123. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/to-well-formed.js +0 -4
  2124. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/trim-end.js +0 -4
  2125. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/trim-left.js +0 -4
  2126. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/trim-right.js +0 -4
  2127. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/trim-start.js +0 -4
  2128. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/string/virtual/trim.js +0 -4
  2129. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/structured-clone.js +0 -4
  2130. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/suppressed-error.js +0 -4
  2131. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/async-dispose.js +0 -4
  2132. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/async-iterator.js +0 -4
  2133. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/description.js +0 -2
  2134. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/dispose.js +0 -4
  2135. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/for.js +0 -4
  2136. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/has-instance.js +0 -4
  2137. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/index.js +0 -14
  2138. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/is-concat-spreadable.js +0 -4
  2139. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/is-registered-symbol.js +0 -6
  2140. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/is-registered.js +0 -6
  2141. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/is-well-known-symbol.js +0 -6
  2142. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/is-well-known.js +0 -6
  2143. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/iterator.js +0 -4
  2144. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/key-for.js +0 -4
  2145. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/match-all.js +0 -4
  2146. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/match.js +0 -4
  2147. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/matcher.js +0 -5
  2148. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/metadata-key.js +0 -5
  2149. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/metadata.js +0 -4
  2150. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/observable.js +0 -5
  2151. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/pattern-match.js +0 -6
  2152. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/replace-all.js +0 -6
  2153. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/replace.js +0 -4
  2154. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/search.js +0 -4
  2155. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/species.js +0 -4
  2156. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/split.js +0 -4
  2157. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/to-primitive.js +0 -4
  2158. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/to-string-tag.js +0 -4
  2159. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/symbol/unscopables.js +0 -4
  2160. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/at.js +0 -7
  2161. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/copy-within.js +0 -4
  2162. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/entries.js +0 -4
  2163. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/every.js +0 -4
  2164. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/fill.js +0 -4
  2165. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/filter-out.js +0 -3
  2166. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/filter-reject.js +0 -2
  2167. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/filter.js +0 -4
  2168. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/find-index.js +0 -4
  2169. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/find-last-index.js +0 -4
  2170. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/find-last.js +0 -4
  2171. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/find.js +0 -4
  2172. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/float32-array.js +0 -5
  2173. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/float64-array.js +0 -5
  2174. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/for-each.js +0 -4
  2175. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/from-async.js +0 -2
  2176. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/from-base64.js +0 -2
  2177. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/from-hex.js +0 -2
  2178. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/from.js +0 -4
  2179. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/group-by.js +0 -2
  2180. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/includes.js +0 -4
  2181. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/index-of.js +0 -4
  2182. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/index.js +0 -18
  2183. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/int16-array.js +0 -5
  2184. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/int32-array.js +0 -5
  2185. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/int8-array.js +0 -5
  2186. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/iterator.js +0 -4
  2187. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/join.js +0 -4
  2188. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/keys.js +0 -4
  2189. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/last-index-of.js +0 -4
  2190. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/map.js +0 -4
  2191. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/methods.js +0 -18
  2192. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/of.js +0 -4
  2193. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/reduce-right.js +0 -4
  2194. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/reduce.js +0 -4
  2195. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/reverse.js +0 -4
  2196. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/set.js +0 -4
  2197. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/slice.js +0 -4
  2198. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/some.js +0 -4
  2199. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/sort.js +0 -4
  2200. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/subarray.js +0 -4
  2201. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/to-base64.js +0 -2
  2202. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/to-hex.js +0 -2
  2203. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/to-locale-string.js +0 -4
  2204. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/to-reversed.js +0 -4
  2205. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/to-sorted.js +0 -4
  2206. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/to-spliced.js +0 -5
  2207. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/to-string.js +0 -4
  2208. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/uint16-array.js +0 -5
  2209. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/uint32-array.js +0 -5
  2210. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/uint8-array.js +0 -5
  2211. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/uint8-clamped-array.js +0 -5
  2212. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/unique-by.js +0 -3
  2213. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/values.js +0 -4
  2214. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/typed-array/with.js +0 -4
  2215. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/unescape.js +0 -4
  2216. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/url/can-parse.js +0 -4
  2217. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/url/index.js +0 -4
  2218. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/url/to-json.js +0 -4
  2219. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/url-search-params/index.js +0 -4
  2220. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-map/delete-all.js +0 -6
  2221. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-map/emplace.js +0 -6
  2222. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-map/from.js +0 -16
  2223. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-map/index.js +0 -11
  2224. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-map/of.js +0 -14
  2225. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-map/upsert.js +0 -6
  2226. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-set/add-all.js +0 -6
  2227. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-set/delete-all.js +0 -6
  2228. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-set/from.js +0 -16
  2229. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-set/index.js +0 -9
  2230. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/full/weak-set/of.js +0 -14
  2231. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/index.js +0 -2
  2232. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/README.md +0 -1
  2233. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-callable.js +0 -11
  2234. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-constructor.js +0 -11
  2235. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-data-view.js +0 -9
  2236. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-map.js +0 -10
  2237. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-possible-prototype.js +0 -10
  2238. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-set.js +0 -10
  2239. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-string.js +0 -7
  2240. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-weak-map.js +0 -10
  2241. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/a-weak-set.js +0 -10
  2242. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/add-disposable-resource.js +0 -55
  2243. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/add-to-unscopables.js +0 -2
  2244. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/advance-string-index.js +0 -8
  2245. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/an-instance.js +0 -9
  2246. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/an-object-or-undefined.js +0 -10
  2247. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/an-object.js +0 -11
  2248. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/an-uint8-array.js +0 -11
  2249. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-buffer-basic-detection.js +0 -3
  2250. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-buffer-byte-length.js +0 -1
  2251. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-buffer-is-detached.js +0 -1
  2252. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-buffer-non-extensible.js +0 -11
  2253. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-buffer-transfer.js +0 -1
  2254. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-buffer-view-core.js +0 -1
  2255. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-buffer.js +0 -1
  2256. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-copy-within.js +0 -31
  2257. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-fill.js +0 -17
  2258. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-for-each.js +0 -12
  2259. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-from-async.js +0 -51
  2260. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-from-constructor-and-list.js +0 -10
  2261. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-from.js +0 -46
  2262. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-group-to-map.js +0 -31
  2263. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-group.js +0 -37
  2264. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-includes.js +0 -33
  2265. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-iteration-from-last.js +0 -35
  2266. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-iteration.js +0 -74
  2267. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-last-index-of.js +0 -27
  2268. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-method-has-species-support.js +0 -20
  2269. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-method-is-strict.js +0 -10
  2270. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-reduce.js +0 -43
  2271. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-set-length.js +0 -27
  2272. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-slice.js +0 -4
  2273. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-sort.js +0 -42
  2274. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-species-constructor.js +0 -23
  2275. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-species-create.js +0 -8
  2276. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-to-reversed.js +0 -12
  2277. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-unique-by.js +0 -35
  2278. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/array-with.js +0 -18
  2279. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-from-sync-iterator.js +0 -49
  2280. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-iterator-close.js +0 -19
  2281. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-iterator-create-proxy.js +0 -105
  2282. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-iterator-indexed.js +0 -13
  2283. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-iterator-iteration.js +0 -90
  2284. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-iterator-map.js +0 -57
  2285. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-iterator-prototype.js +0 -38
  2286. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/async-iterator-wrap.js +0 -7
  2287. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/base64-map.js +0 -19
  2288. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js +0 -12
  2289. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/caller.js +0 -8
  2290. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/check-correctness-of-iteration.js +0 -41
  2291. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/classof-raw.js +0 -9
  2292. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/classof.js +0 -30
  2293. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/collection-from.js +0 -24
  2294. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/collection-of.js +0 -15
  2295. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/collection-strong.js +0 -206
  2296. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/collection-weak.js +0 -131
  2297. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/collection.js +0 -77
  2298. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/composite-key.js +0 -50
  2299. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/copy-constructor-properties.js +0 -17
  2300. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/correct-is-regexp-logic.js +0 -16
  2301. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/correct-prototype-getter.js +0 -9
  2302. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/create-html.js +0 -16
  2303. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/create-iter-result-object.js +0 -6
  2304. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/create-non-enumerable-property.js +0 -11
  2305. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/create-property-descriptor.js +0 -9
  2306. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/create-property.js +0 -10
  2307. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/date-to-iso-string.js +0 -41
  2308. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/date-to-primitive.js +0 -14
  2309. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/define-built-in-accessor.js +0 -6
  2310. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/define-built-in.js +0 -8
  2311. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/define-built-ins.js +0 -9
  2312. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/define-global-property.js +0 -13
  2313. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/delete-property-or-throw.js +0 -8
  2314. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/descriptors.js +0 -8
  2315. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/detach-transferable.js +0 -37
  2316. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/document-create-element.js +0 -11
  2317. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/does-not-exceed-safe-integer.js +0 -8
  2318. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/dom-exception-constants.js +0 -28
  2319. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/dom-iterables.js +0 -36
  2320. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/dom-token-list-prototype.js +0 -8
  2321. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-ff-version.js +0 -6
  2322. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-browser.js +0 -7
  2323. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-bun.js +0 -3
  2324. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-deno.js +0 -3
  2325. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-ie-or-edge.js +0 -4
  2326. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-ios-pebble.js +0 -4
  2327. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-ios.js +0 -5
  2328. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-node.js +0 -5
  2329. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-is-webos-webkit.js +0 -4
  2330. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-user-agent.js +0 -2
  2331. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-v8-version.js +0 -28
  2332. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/engine-webkit-version.js +0 -6
  2333. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/entry-unbind.js +0 -4
  2334. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/entry-virtual.js +0 -6
  2335. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/enum-bug-keys.js +0 -11
  2336. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/error-stack-clear.js +0 -16
  2337. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/error-stack-install.js +0 -14
  2338. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/error-stack-installable.js +0 -11
  2339. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/error-to-string.js +0 -29
  2340. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/export.js +0 -102
  2341. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/fails.js +0 -8
  2342. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/fix-regexp-well-known-symbol-logic.js +0 -1
  2343. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/flatten-into-array.js +0 -34
  2344. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/freezing.js +0 -7
  2345. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-apply.js +0 -11
  2346. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-bind-context.js +0 -14
  2347. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-bind-native.js +0 -9
  2348. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-bind.js +0 -36
  2349. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-call.js +0 -8
  2350. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-demethodize.js +0 -7
  2351. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-name.js +0 -18
  2352. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-uncurry-this-accessor.js +0 -10
  2353. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-uncurry-this-clause.js +0 -10
  2354. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/function-uncurry-this.js +0 -12
  2355. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-alphabet-option.js +0 -8
  2356. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-async-iterator-flattenable.js +0 -30
  2357. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-async-iterator.js +0 -15
  2358. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-built-in-prototype-method.js +0 -12
  2359. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-built-in.js +0 -13
  2360. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-iterator-direct.js +0 -10
  2361. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-iterator-flattenable.js +0 -11
  2362. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-iterator-method.js +0 -14
  2363. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-iterator.js +0 -14
  2364. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-json-replacer-function.js +0 -30
  2365. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-method.js +0 -10
  2366. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-set-record.js +0 -40
  2367. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/get-substitution.js +0 -46
  2368. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/global.js +0 -16
  2369. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/has-own-property.js +0 -12
  2370. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/hidden-keys.js +0 -2
  2371. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/host-report-errors.js +0 -7
  2372. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/html.js +0 -4
  2373. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/ie8-dom-define.js +0 -12
  2374. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/ieee754.js +0 -103
  2375. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/indexed-object.js +0 -16
  2376. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/inherit-if-required.js +0 -19
  2377. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/inspect-source.js +0 -15
  2378. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/install-error-cause.js +0 -11
  2379. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/internal-metadata.js +0 -90
  2380. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/internal-state.js +0 -71
  2381. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-array-iterator-method.js +0 -11
  2382. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-array.js +0 -9
  2383. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-big-int-array.js +0 -7
  2384. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-callable.js +0 -12
  2385. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-constructor.js +0 -52
  2386. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-data-descriptor.js +0 -6
  2387. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-forced.js +0 -23
  2388. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-integral-number.js +0 -11
  2389. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-iterable.js +0 -17
  2390. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-null-or-undefined.js +0 -6
  2391. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-object.js +0 -6
  2392. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-possible-prototype.js +0 -6
  2393. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-pure.js +0 -2
  2394. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-raw-json.js +0 -9
  2395. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-regexp.js +0 -13
  2396. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/is-symbol.js +0 -14
  2397. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterate-simple.js +0 -12
  2398. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterate.js +0 -69
  2399. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterator-close.js +0 -24
  2400. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterator-create-constructor.js +0 -16
  2401. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterator-create-proxy.js +0 -76
  2402. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterator-define.js +0 -102
  2403. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterator-indexed.js +0 -13
  2404. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterator-map.js +0 -24
  2405. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterators-core.js +0 -49
  2406. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/iterators.js +0 -2
  2407. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/length-of-array-like.js +0 -8
  2408. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/make-built-in.js +0 -4
  2409. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/map-helpers.js +0 -14
  2410. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/map-iterate.js +0 -8
  2411. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/map-upsert.js +0 -31
  2412. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-expm1.js +0 -17
  2413. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-f16round.js +0 -12
  2414. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-float-round.js +0 -23
  2415. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-fround.js +0 -13
  2416. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-log10.js +0 -8
  2417. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-log1p.js +0 -10
  2418. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-scale.js +0 -14
  2419. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-sign.js +0 -9
  2420. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/math-trunc.js +0 -11
  2421. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/microtask.js +0 -79
  2422. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/native-raw-json.js +0 -9
  2423. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/new-promise-capability.js +0 -21
  2424. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/normalize-string-argument.js +0 -6
  2425. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/not-a-nan.js +0 -8
  2426. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/not-a-regexp.js +0 -10
  2427. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/number-is-finite.js +0 -11
  2428. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/number-parse-float.js +0 -23
  2429. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/number-parse-int.js +0 -23
  2430. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/numeric-range-iterator.js +0 -106
  2431. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-assign.js +0 -57
  2432. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-create.js +0 -84
  2433. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-define-properties.js +0 -21
  2434. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-define-property.js +0 -44
  2435. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-get-own-property-descriptor.js +0 -23
  2436. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-get-own-property-names-external.js +0 -24
  2437. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-get-own-property-names.js +0 -12
  2438. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-get-own-property-symbols.js +0 -3
  2439. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-get-prototype-of.js +0 -22
  2440. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-is-extensible.js +0 -17
  2441. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-is-prototype-of.js +0 -4
  2442. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-iterator.js +0 -38
  2443. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-keys-internal.js +0 -21
  2444. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-keys.js +0 -10
  2445. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-property-is-enumerable.js +0 -14
  2446. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-prototype-accessors-forced.js +0 -17
  2447. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-set-prototype-of.js +0 -27
  2448. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-to-array.js +0 -49
  2449. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/object-to-string.js +0 -9
  2450. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/ordinary-to-primitive.js +0 -16
  2451. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/own-keys.js +0 -15
  2452. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/parse-json-string.js +0 -56
  2453. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/path.js +0 -2
  2454. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/perform.js +0 -8
  2455. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/promise-constructor-detection.js +0 -48
  2456. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/promise-native-constructor.js +0 -4
  2457. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/promise-resolve.js +0 -13
  2458. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/promise-statics-incorrect-iteration.js +0 -8
  2459. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/proxy-accessor.js +0 -10
  2460. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/queue.js +0 -25
  2461. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/reflect-metadata.js +0 -62
  2462. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/regexp-exec-abstract.js +0 -21
  2463. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/regexp-exec.js +0 -2
  2464. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/regexp-flags.js +0 -18
  2465. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/regexp-get-flags.js +0 -13
  2466. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/regexp-sticky-helpers.js +0 -1
  2467. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/regexp-unsupported-dot-all.js +0 -1
  2468. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/regexp-unsupported-ncg.js +0 -12
  2469. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/require-object-coercible.js +0 -11
  2470. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/safe-get-built-in.js +0 -13
  2471. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/same-value-zero.js +0 -7
  2472. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/same-value.js +0 -8
  2473. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/schedulers-fix.js +0 -31
  2474. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-clone.js +0 -14
  2475. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-difference.js +0 -26
  2476. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-helpers.js +0 -14
  2477. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-intersection.js +0 -31
  2478. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-is-disjoint-from.js +0 -22
  2479. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-is-subset-of.js +0 -16
  2480. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-is-superset-of.js +0 -19
  2481. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-iterate.js +0 -6
  2482. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-method-accept-set-like.js +0 -4
  2483. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-size.js +0 -4
  2484. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-species.js +0 -18
  2485. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-symmetric-difference.js +0 -23
  2486. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-to-string-tag.js +0 -21
  2487. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/set-union.js +0 -18
  2488. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/shared-key.js +0 -9
  2489. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/shared-store.js +0 -8
  2490. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/shared.js +0 -13
  2491. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/species-constructor.js +0 -15
  2492. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-cooked.js +0 -27
  2493. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-html-forced.js +0 -11
  2494. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-multibyte.js +0 -37
  2495. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-pad-webkit-bug.js +0 -5
  2496. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-pad.js +0 -36
  2497. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-parse.js +0 -119
  2498. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-punycode-to-ascii.js +0 -181
  2499. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-repeat.js +0 -17
  2500. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-trim-end.js +0 -11
  2501. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-trim-forced.js +0 -16
  2502. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-trim-start.js +0 -11
  2503. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/string-trim.js +0 -31
  2504. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/structured-clone-proper-transfer.js +0 -18
  2505. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/symbol-constructor-detection.js +0 -19
  2506. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/symbol-define-to-primitive.js +0 -21
  2507. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/symbol-is-registered.js +0 -17
  2508. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/symbol-is-well-known.js +0 -35
  2509. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/symbol-registry-detection.js +0 -5
  2510. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/task.js +0 -117
  2511. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/this-number-value.js +0 -6
  2512. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-absolute-index.js +0 -13
  2513. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-big-int.js +0 -13
  2514. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-index.js +0 -15
  2515. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-indexed-object.js +0 -8
  2516. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-integer-or-infinity.js +0 -10
  2517. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-length.js +0 -11
  2518. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-object.js +0 -10
  2519. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-offset.js +0 -1
  2520. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-positive-integer.js +0 -10
  2521. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-primitive.js +0 -26
  2522. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-property-key.js +0 -10
  2523. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-set-like.js +0 -20
  2524. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-string-tag-support.js +0 -9
  2525. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-string.js +0 -9
  2526. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/to-uint8-clamped.js +0 -7
  2527. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/try-node-require.js +0 -9
  2528. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/try-to-string.js +0 -10
  2529. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/typed-array-constructor.js +0 -1
  2530. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/typed-array-constructors-require-wrappers.js +0 -1
  2531. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/typed-array-from-species-and-list.js +0 -1
  2532. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/typed-array-from.js +0 -1
  2533. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/typed-array-species-constructor.js +0 -12
  2534. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/uid.js +0 -10
  2535. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/url-constructor-detection.js +0 -42
  2536. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/use-symbol-as-uid.js +0 -7
  2537. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/v8-prototype-define-bug.js +0 -13
  2538. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/validate-arguments-length.js +0 -7
  2539. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/weak-map-basic-detection.js +0 -7
  2540. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/weak-map-helpers.js +0 -11
  2541. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/weak-set-helpers.js +0 -10
  2542. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/well-known-symbol-define.js +0 -12
  2543. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/well-known-symbol-wrapped.js +0 -4
  2544. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/well-known-symbol.js +0 -19
  2545. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/whitespaces.js +0 -4
  2546. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/internals/wrap-error-constructor-with-cause.js +0 -65
  2547. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/README.md +0 -1
  2548. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.aggregate-error.cause.js +0 -23
  2549. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.aggregate-error.constructor.js +0 -51
  2550. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.aggregate-error.js +0 -3
  2551. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array-buffer.constructor.js +0 -1
  2552. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array-buffer.is-view.js +0 -1
  2553. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array-buffer.slice.js +0 -1
  2554. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.at.js +0 -20
  2555. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.concat.js +0 -58
  2556. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.copy-within.js +0 -13
  2557. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.every.js +0 -14
  2558. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.fill.js +0 -13
  2559. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.filter.js +0 -15
  2560. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.find-index.js +0 -22
  2561. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.find-last-index.js +0 -14
  2562. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.find-last.js +0 -14
  2563. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.find.js +0 -22
  2564. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.flat-map.js +0 -21
  2565. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.flat.js +0 -20
  2566. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.for-each.js +0 -10
  2567. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.from.js +0 -15
  2568. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.includes.js +0 -22
  2569. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.index-of.js +0 -23
  2570. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.is-array.js +0 -9
  2571. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.iterator.js +0 -62
  2572. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.join.js +0 -19
  2573. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.last-index-of.js +0 -10
  2574. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.map.js +0 -15
  2575. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.of.js +0 -27
  2576. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.push.js +0 -42
  2577. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.reduce-right.js +0 -19
  2578. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.reduce.js +0 -20
  2579. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.reverse.js +0 -19
  2580. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.slice.js +0 -49
  2581. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.some.js +0 -14
  2582. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.sort.js +0 -106
  2583. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.species.js +0 -6
  2584. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.splice.js +0 -67
  2585. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.to-reversed.js +0 -17
  2586. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.to-sorted.js +0 -24
  2587. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.to-spliced.js +0 -44
  2588. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.unscopables.flat-map.js +0 -7
  2589. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.unscopables.flat.js +0 -7
  2590. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.unshift.js +0 -45
  2591. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.array.with.js +0 -14
  2592. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.data-view.constructor.js +0 -10
  2593. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.data-view.js +0 -1
  2594. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.get-year.js +0 -20
  2595. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.now.js +0 -15
  2596. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.set-year.js +0 -20
  2597. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.to-gmt-string.js +0 -8
  2598. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.to-iso-string.js +0 -10
  2599. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.to-json.js +0 -25
  2600. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.to-primitive.js +0 -1
  2601. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.date.to-string.js +0 -1
  2602. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.error.cause.js +0 -58
  2603. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.error.to-string.js +0 -1
  2604. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.escape.js +0 -43
  2605. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.function.bind.js +0 -11
  2606. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.function.has-instance.js +0 -20
  2607. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.function.name.js +0 -1
  2608. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.global-this.js +0 -9
  2609. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.json.stringify.js +0 -73
  2610. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.json.to-string-tag.js +0 -7
  2611. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.map.constructor.js +0 -9
  2612. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.map.group-by.js +0 -31
  2613. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.map.js +0 -3
  2614. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.acosh.js +0 -26
  2615. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.asinh.js +0 -21
  2616. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.atanh.js +0 -18
  2617. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.cbrt.js +0 -15
  2618. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.clz32.js +0 -15
  2619. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.cosh.js +0 -19
  2620. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.expm1.js +0 -8
  2621. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.fround.js +0 -7
  2622. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.hypot.js +0 -36
  2623. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.imul.js +0 -24
  2624. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.log10.js +0 -9
  2625. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.log1p.js +0 -7
  2626. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.log2.js +0 -13
  2627. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.sign.js +0 -9
  2628. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.sinh.js +0 -23
  2629. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.tanh.js +0 -16
  2630. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.to-string-tag.js +0 -1
  2631. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.math.trunc.js +0 -9
  2632. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.constructor.js +0 -115
  2633. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.epsilon.js +0 -8
  2634. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.is-finite.js +0 -7
  2635. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.is-integer.js +0 -9
  2636. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.is-nan.js +0 -11
  2637. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.is-safe-integer.js +0 -13
  2638. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.max-safe-integer.js +0 -8
  2639. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.min-safe-integer.js +0 -8
  2640. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.parse-float.js +0 -10
  2641. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.parse-int.js +0 -10
  2642. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.to-exponential.js +0 -102
  2643. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.to-fixed.js +0 -131
  2644. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.number.to-precision.js +0 -25
  2645. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.assign.js +0 -10
  2646. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.create.js +0 -11
  2647. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.define-getter.js +0 -17
  2648. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.define-properties.js +0 -11
  2649. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.define-property.js +0 -11
  2650. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.define-setter.js +0 -17
  2651. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.entries.js +0 -11
  2652. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.freeze.js +0 -18
  2653. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.from-entries.js +0 -16
  2654. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.get-own-property-descriptor.js +0 -16
  2655. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js +0 -25
  2656. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.get-own-property-names.js +0 -13
  2657. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.get-own-property-symbols.js +0 -19
  2658. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.get-prototype-of.js +0 -17
  2659. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.group-by.js +0 -30
  2660. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.has-own.js +0 -9
  2661. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.is-extensible.js +0 -10
  2662. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.is-frozen.js +0 -21
  2663. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.is-sealed.js +0 -21
  2664. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.is.js +0 -9
  2665. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.keys.js +0 -15
  2666. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.lookup-getter.js +0 -23
  2667. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.lookup-setter.js +0 -23
  2668. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.prevent-extensions.js +0 -18
  2669. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.proto.js +0 -1
  2670. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.seal.js +0 -18
  2671. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.set-prototype-of.js +0 -9
  2672. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.to-string.js +0 -1
  2673. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.object.values.js +0 -11
  2674. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.parse-float.js +0 -9
  2675. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.parse-int.js +0 -9
  2676. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.all-settled.js +0 -44
  2677. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.all.js +0 -39
  2678. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.any.js +0 -48
  2679. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.catch.js +0 -26
  2680. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.constructor.js +0 -288
  2681. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.finally.js +0 -43
  2682. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.js +0 -8
  2683. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.race.js +0 -26
  2684. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.reject.js +0 -15
  2685. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.resolve.js +0 -18
  2686. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.promise.with-resolvers.js +0 -16
  2687. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.apply.js +0 -20
  2688. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.construct.js +0 -57
  2689. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.define-property.js +0 -29
  2690. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.delete-property.js +0 -13
  2691. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.get-own-property-descriptor.js +0 -13
  2692. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.get-prototype-of.js +0 -13
  2693. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.get.js +0 -25
  2694. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.has.js +0 -10
  2695. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.is-extensible.js +0 -13
  2696. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.own-keys.js +0 -9
  2697. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.prevent-extensions.js +0 -20
  2698. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.set-prototype-of.js +0 -20
  2699. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.set.js +0 -50
  2700. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.reflect.to-string-tag.js +0 -1
  2701. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.regexp.constructor.js +0 -4
  2702. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.regexp.dot-all.js +0 -1
  2703. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.regexp.exec.js +0 -1
  2704. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.regexp.flags.js +0 -1
  2705. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.regexp.sticky.js +0 -1
  2706. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.regexp.test.js +0 -1
  2707. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.regexp.to-string.js +0 -1
  2708. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.set.constructor.js +0 -9
  2709. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.set.js +0 -3
  2710. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.anchor.js +0 -12
  2711. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.at-alternative.js +0 -26
  2712. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.big.js +0 -12
  2713. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.blink.js +0 -12
  2714. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.bold.js +0 -12
  2715. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.code-point-at.js +0 -11
  2716. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.ends-with.js +0 -34
  2717. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.fixed.js +0 -12
  2718. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.fontcolor.js +0 -12
  2719. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.fontsize.js +0 -12
  2720. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.from-code-point.js +0 -32
  2721. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.includes.js +0 -21
  2722. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.is-well-formed.js +0 -23
  2723. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.italics.js +0 -12
  2724. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.iterator.js +0 -31
  2725. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.link.js +0 -12
  2726. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.match-all.js +0 -102
  2727. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.match.js +0 -1
  2728. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.pad-end.js +0 -12
  2729. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.pad-start.js +0 -12
  2730. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.raw.js +0 -28
  2731. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.repeat.js +0 -9
  2732. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.replace-all.js +0 -65
  2733. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.replace.js +0 -1
  2734. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.search.js +0 -1
  2735. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.small.js +0 -12
  2736. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.split.js +0 -1
  2737. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.starts-with.js +0 -32
  2738. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.strike.js +0 -12
  2739. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.sub.js +0 -12
  2740. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.substr.js +0 -30
  2741. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.sup.js +0 -12
  2742. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.to-well-formed.js +0 -43
  2743. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.trim-end.js +0 -12
  2744. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.trim-left.js +0 -10
  2745. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.trim-right.js +0 -10
  2746. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.trim-start.js +0 -12
  2747. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.string.trim.js +0 -12
  2748. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.async-iterator.js +0 -6
  2749. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.constructor.js +0 -263
  2750. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.description.js +0 -1
  2751. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.for.js +0 -23
  2752. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.has-instance.js +0 -6
  2753. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js +0 -6
  2754. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.iterator.js +0 -6
  2755. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.js +0 -7
  2756. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.key-for.js +0 -18
  2757. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.match-all.js +0 -6
  2758. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.match.js +0 -6
  2759. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.replace.js +0 -6
  2760. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.search.js +0 -6
  2761. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.species.js +0 -6
  2762. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.split.js +0 -6
  2763. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.to-primitive.js +0 -11
  2764. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.to-string-tag.js +0 -12
  2765. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.symbol.unscopables.js +0 -6
  2766. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.at.js +0 -1
  2767. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.copy-within.js +0 -1
  2768. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.every.js +0 -1
  2769. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.fill.js +0 -1
  2770. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.filter.js +0 -1
  2771. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.find-index.js +0 -1
  2772. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.find-last-index.js +0 -1
  2773. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.find-last.js +0 -1
  2774. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.find.js +0 -1
  2775. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.float32-array.js +0 -1
  2776. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.float64-array.js +0 -1
  2777. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.for-each.js +0 -1
  2778. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.from.js +0 -1
  2779. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.includes.js +0 -1
  2780. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.index-of.js +0 -1
  2781. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.int16-array.js +0 -1
  2782. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.int32-array.js +0 -1
  2783. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.int8-array.js +0 -1
  2784. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.iterator.js +0 -1
  2785. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.join.js +0 -1
  2786. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.last-index-of.js +0 -1
  2787. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.map.js +0 -1
  2788. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.of.js +0 -1
  2789. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.reduce-right.js +0 -1
  2790. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.reduce.js +0 -1
  2791. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.reverse.js +0 -1
  2792. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.set.js +0 -1
  2793. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.slice.js +0 -1
  2794. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.some.js +0 -1
  2795. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.sort.js +0 -1
  2796. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.subarray.js +0 -1
  2797. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.to-locale-string.js +0 -1
  2798. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.to-reversed.js +0 -1
  2799. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.to-sorted.js +0 -1
  2800. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.to-string.js +0 -1
  2801. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.uint16-array.js +0 -1
  2802. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.uint32-array.js +0 -1
  2803. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.uint8-array.js +0 -1
  2804. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.uint8-clamped-array.js +0 -1
  2805. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.typed-array.with.js +0 -1
  2806. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.unescape.js +0 -45
  2807. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.weak-map.constructor.js +0 -106
  2808. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.weak-map.js +0 -3
  2809. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.weak-set.constructor.js +0 -9
  2810. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/es.weak-set.js +0 -3
  2811. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.aggregate-error.js +0 -3
  2812. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array-buffer.detached.js +0 -1
  2813. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array-buffer.transfer-to-fixed-length.js +0 -1
  2814. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array-buffer.transfer.js +0 -1
  2815. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.at.js +0 -3
  2816. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.filter-out.js +0 -15
  2817. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.filter-reject.js +0 -14
  2818. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.find-last-index.js +0 -3
  2819. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.find-last.js +0 -3
  2820. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.from-async.js +0 -9
  2821. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.group-by-to-map.js +0 -16
  2822. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.group-by.js +0 -18
  2823. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.group-to-map.js +0 -13
  2824. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.group.js +0 -15
  2825. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.is-template-object.js +0 -29
  2826. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.last-index.js +0 -1
  2827. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.last-item.js +0 -1
  2828. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.to-reversed.js +0 -3
  2829. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.to-sorted.js +0 -3
  2830. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.to-spliced.js +0 -3
  2831. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.unique-by.js +0 -12
  2832. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.array.with.js +0 -3
  2833. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-disposable-stack.constructor.js +0 -130
  2834. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.as-indexed-pairs.js +0 -10
  2835. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.async-dispose.js +0 -26
  2836. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.constructor.js +0 -34
  2837. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.drop.js +0 -51
  2838. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.every.js +0 -11
  2839. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.filter.js +0 -67
  2840. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.find.js +0 -11
  2841. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.flat-map.js +0 -88
  2842. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.for-each.js +0 -11
  2843. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.from.js +0 -19
  2844. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.indexed.js +0 -10
  2845. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.map.js +0 -11
  2846. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.reduce.js +0 -65
  2847. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.some.js +0 -11
  2848. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.take.js +0 -48
  2849. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.async-iterator.to-array.js +0 -11
  2850. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.bigint.range.js +0 -15
  2851. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.composite-key.js +0 -20
  2852. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.composite-symbol.js +0 -13
  2853. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.data-view.get-float16.js +0 -1
  2854. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.data-view.get-uint8-clamped.js +0 -1
  2855. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.data-view.set-float16.js +0 -1
  2856. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.data-view.set-uint8-clamped.js +0 -1
  2857. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.disposable-stack.constructor.js +0 -114
  2858. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.function.demethodize.js +0 -9
  2859. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.function.is-callable.js +0 -30
  2860. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.function.is-constructor.js +0 -9
  2861. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.function.metadata.js +0 -14
  2862. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.function.un-this.js +0 -10
  2863. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.global-this.js +0 -3
  2864. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.as-indexed-pairs.js +0 -10
  2865. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.constructor.js +0 -65
  2866. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.dispose.js +0 -17
  2867. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.drop.js +0 -36
  2868. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.every.js +0 -20
  2869. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.filter.js +0 -35
  2870. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.find.js +0 -20
  2871. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.flat-map.js +0 -45
  2872. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.for-each.js +0 -20
  2873. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.from.js +0 -24
  2874. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.indexed.js +0 -10
  2875. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.map.js +0 -10
  2876. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.range.js +0 -16
  2877. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.reduce.js +0 -32
  2878. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.some.js +0 -20
  2879. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.take.js +0 -33
  2880. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.to-array.js +0 -17
  2881. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.iterator.to-async.js +0 -15
  2882. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.json.is-raw-json.js +0 -11
  2883. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.json.parse.js +0 -251
  2884. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.json.raw-json.js +0 -84
  2885. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.delete-all.js +0 -18
  2886. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.emplace.js +0 -27
  2887. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.every.js +0 -17
  2888. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.filter.js +0 -23
  2889. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.find-key.js +0 -18
  2890. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.find.js +0 -18
  2891. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.from.js +0 -10
  2892. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.group-by.js +0 -3
  2893. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.includes.js +0 -15
  2894. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.key-by.js +0 -22
  2895. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.key-of.js +0 -15
  2896. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.map-keys.js +0 -23
  2897. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.map-values.js +0 -23
  2898. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.merge.js +0 -22
  2899. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.of.js +0 -10
  2900. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.reduce.js +0 -28
  2901. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.some.js +0 -17
  2902. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.update-or-insert.js +0 -10
  2903. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.update.js +0 -27
  2904. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.map.upsert.js +0 -10
  2905. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.clamp.js +0 -13
  2906. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.deg-per-rad.js +0 -8
  2907. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.degrees.js +0 -12
  2908. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.f16round.js +0 -7
  2909. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.fscale.js +0 -13
  2910. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.iaddh.js +0 -14
  2911. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.imulh.js +0 -19
  2912. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.isubh.js +0 -14
  2913. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.rad-per-deg.js +0 -8
  2914. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.radians.js +0 -12
  2915. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.scale.js +0 -9
  2916. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.seeded-prng.js +0 -36
  2917. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.signbit.js +0 -12
  2918. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.math.umulh.js +0 -19
  2919. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.number.from-string.js +0 -41
  2920. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.number.range.js +0 -12
  2921. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.object.group-by.js +0 -3
  2922. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.object.has-own.js +0 -3
  2923. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.object.iterate-entries.js +0 -12
  2924. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.object.iterate-keys.js +0 -12
  2925. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.object.iterate-values.js +0 -12
  2926. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.observable.constructor.js +0 -187
  2927. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.observable.from.js +0 -35
  2928. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.observable.js +0 -5
  2929. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.observable.of.js +0 -24
  2930. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.promise.all-settled.js +0 -3
  2931. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.promise.any.js +0 -3
  2932. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.promise.try.js +0 -16
  2933. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.promise.with-resolvers.js +0 -3
  2934. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.define-metadata.js +0 -17
  2935. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.delete-metadata.js +0 -22
  2936. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.get-metadata-keys.js +0 -30
  2937. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.get-metadata.js +0 -26
  2938. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.get-own-metadata-keys.js +0 -17
  2939. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.get-own-metadata.js +0 -17
  2940. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.has-metadata.js +0 -25
  2941. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js +0 -17
  2942. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.reflect.metadata.js +0 -17
  2943. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.regexp.escape.js +0 -20
  2944. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.add-all.js +0 -15
  2945. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.delete-all.js +0 -18
  2946. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.difference.js +0 -14
  2947. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.difference.v2.js +0 -10
  2948. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.every.js +0 -17
  2949. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.filter.js +0 -23
  2950. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.find.js +0 -18
  2951. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.from.js +0 -10
  2952. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.intersection.js +0 -14
  2953. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.intersection.v2.js +0 -16
  2954. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.is-disjoint-from.js +0 -14
  2955. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.is-disjoint-from.v2.js +0 -10
  2956. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.is-subset-of.js +0 -14
  2957. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.is-subset-of.v2.js +0 -10
  2958. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.is-superset-of.js +0 -14
  2959. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.is-superset-of.v2.js +0 -10
  2960. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.join.js +0 -23
  2961. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.map.js +0 -23
  2962. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.of.js +0 -10
  2963. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.reduce.js +0 -28
  2964. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.some.js +0 -17
  2965. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.symmetric-difference.js +0 -14
  2966. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.symmetric-difference.v2.js +0 -10
  2967. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.union.js +0 -14
  2968. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.set.union.v2.js +0 -10
  2969. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.at-alternative.js +0 -3
  2970. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.at.js +0 -19
  2971. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.code-points.js +0 -40
  2972. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.cooked.js +0 -9
  2973. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.dedent.js +0 -152
  2974. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.is-well-formed.js +0 -3
  2975. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.match-all.js +0 -3
  2976. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.replace-all.js +0 -3
  2977. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.string.to-well-formed.js +0 -3
  2978. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.suppressed-error.constructor.js +0 -46
  2979. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.async-dispose.js +0 -6
  2980. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.dispose.js +0 -6
  2981. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.is-registered-symbol.js +0 -9
  2982. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.is-registered.js +0 -9
  2983. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.is-well-known-symbol.js +0 -10
  2984. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.is-well-known.js +0 -10
  2985. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.matcher.js +0 -6
  2986. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.metadata-key.js +0 -7
  2987. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.metadata.js +0 -6
  2988. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.observable.js +0 -6
  2989. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.pattern-match.js +0 -7
  2990. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.symbol.replace-all.js +0 -5
  2991. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.at.js +0 -1
  2992. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.filter-out.js +0 -2
  2993. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.filter-reject.js +0 -1
  2994. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.find-last-index.js +0 -1
  2995. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.find-last.js +0 -1
  2996. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.from-async.js +0 -1
  2997. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.group-by.js +0 -1
  2998. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.to-reversed.js +0 -3
  2999. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.to-sorted.js +0 -3
  3000. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.to-spliced.js +0 -1
  3001. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.unique-by.js +0 -1
  3002. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.typed-array.with.js +0 -3
  3003. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.uint8-array.from-base64.js +0 -1
  3004. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.uint8-array.from-hex.js +0 -1
  3005. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.uint8-array.to-base64.js +0 -1
  3006. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.uint8-array.to-hex.js +0 -1
  3007. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-map.delete-all.js +0 -18
  3008. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-map.emplace.js +0 -27
  3009. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-map.from.js +0 -10
  3010. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-map.of.js +0 -10
  3011. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-map.upsert.js +0 -10
  3012. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-set.add-all.js +0 -15
  3013. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-set.delete-all.js +0 -18
  3014. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-set.from.js +0 -10
  3015. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/esnext.weak-set.of.js +0 -10
  3016. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.atob.js +0 -67
  3017. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.btoa.js +0 -51
  3018. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.clear-immediate.js +0 -10
  3019. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.dom-collections.for-each.js +0 -1
  3020. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.dom-collections.iterator.js +0 -11
  3021. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.dom-exception.constructor.js +0 -145
  3022. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.dom-exception.stack.js +0 -68
  3023. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.dom-exception.to-string-tag.js +0 -8
  3024. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.immediate.js +0 -4
  3025. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.queue-microtask.js +0 -14
  3026. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.self.js +0 -9
  3027. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.set-immediate.js +0 -14
  3028. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.set-interval.js +0 -12
  3029. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.set-timeout.js +0 -12
  3030. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.structured-clone.js +0 -531
  3031. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.timers.js +0 -4
  3032. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url-search-params.constructor.js +0 -416
  3033. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url-search-params.delete.js +0 -1
  3034. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url-search-params.has.js +0 -1
  3035. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url-search-params.js +0 -3
  3036. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url-search-params.size.js +0 -1
  3037. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url.can-parse.js +0 -30
  3038. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url.constructor.js +0 -1048
  3039. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url.js +0 -3
  3040. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/modules/web.url.to-json.js +0 -1
  3041. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/package.json +0 -74
  3042. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/postinstall.js +0 -62
  3043. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/accessible-object-hasownproperty.js +0 -3
  3044. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-buffer-base64.js +0 -6
  3045. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-buffer-transfer.js +0 -5
  3046. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-filtering-stage-1.js +0 -4
  3047. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-filtering.js +0 -8
  3048. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-find-from-last.js +0 -6
  3049. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-flat-map.js +0 -6
  3050. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-from-async-stage-2.js +0 -3
  3051. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-from-async.js +0 -5
  3052. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-grouping-stage-3-2.js +0 -4
  3053. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-grouping-stage-3.js +0 -5
  3054. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-grouping-v2.js +0 -4
  3055. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-grouping.js +0 -6
  3056. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-includes.js +0 -4
  3057. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-is-template-object.js +0 -3
  3058. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-last.js +0 -4
  3059. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/array-unique.js +0 -5
  3060. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/async-explicit-resource-management.js +0 -7
  3061. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/async-iteration.js +0 -3
  3062. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/async-iterator-helpers.js +0 -16
  3063. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/change-array-by-copy-stage-4.js +0 -9
  3064. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/change-array-by-copy.js +0 -11
  3065. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/collection-methods.js +0 -29
  3066. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/collection-of-from.js +0 -10
  3067. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/data-view-get-set-uint8-clamped.js +0 -4
  3068. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/decorator-metadata-v2.js +0 -4
  3069. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/decorator-metadata.js +0 -4
  3070. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/decorators.js +0 -4
  3071. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/efficient-64-bit-arithmetic.js +0 -7
  3072. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/error-cause.js +0 -4
  3073. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/explicit-resource-management.js +0 -9
  3074. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/float16.js +0 -5
  3075. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/function-demethodize.js +0 -3
  3076. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/function-is-callable-is-constructor.js +0 -4
  3077. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/function-un-this.js +0 -4
  3078. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/global-this.js +0 -6
  3079. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/index.js +0 -3
  3080. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/iterator-helpers-stage-3-2.js +0 -15
  3081. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/iterator-helpers-stage-3.js +0 -29
  3082. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/iterator-helpers.js +0 -8
  3083. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/iterator-range.js +0 -4
  3084. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/json-parse-with-source.js +0 -5
  3085. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/keys-composition.js +0 -4
  3086. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/map-update-or-insert.js +0 -4
  3087. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/map-upsert-stage-2.js +0 -4
  3088. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/map-upsert.js +0 -10
  3089. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/math-extensions.js +0 -9
  3090. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/math-signbit.js +0 -3
  3091. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/number-from-string.js +0 -3
  3092. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/number-range.js +0 -4
  3093. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/object-from-entries.js +0 -3
  3094. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/object-getownpropertydescriptors.js +0 -3
  3095. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/object-iteration.js +0 -6
  3096. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/object-values-entries.js +0 -4
  3097. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/observable.js +0 -4
  3098. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/pattern-matching.js +0 -5
  3099. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/promise-all-settled.js +0 -3
  3100. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/promise-any.js +0 -4
  3101. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/promise-finally.js +0 -3
  3102. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/promise-try.js +0 -3
  3103. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/promise-with-resolvers.js +0 -3
  3104. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/reflect-metadata.js +0 -11
  3105. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/regexp-dotall-flag.js +0 -6
  3106. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/regexp-escaping.js +0 -3
  3107. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/regexp-named-groups.js +0 -5
  3108. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/relative-indexing-method.js +0 -5
  3109. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/seeded-random.js +0 -3
  3110. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/set-methods-v2.js +0 -9
  3111. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/set-methods.js +0 -17
  3112. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-at.js +0 -3
  3113. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-code-points.js +0 -3
  3114. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-cooked.js +0 -3
  3115. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-dedent.js +0 -3
  3116. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-left-right-trim.js +0 -4
  3117. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-match-all.js +0 -3
  3118. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-padding.js +0 -4
  3119. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-replace-all-stage-4.js +0 -3
  3120. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/string-replace-all.js +0 -5
  3121. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/symbol-description.js +0 -3
  3122. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/symbol-predicates-v2.js +0 -4
  3123. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/symbol-predicates.js +0 -4
  3124. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/url.js +0 -3
  3125. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/using-statement.js +0 -5
  3126. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/well-formed-stringify.js +0 -3
  3127. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/proposals/well-formed-unicode-strings.js +0 -4
  3128. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/README.md +0 -1
  3129. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/aggregate-error.js +0 -8
  3130. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/at.js +0 -4
  3131. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/concat.js +0 -4
  3132. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/copy-within.js +0 -4
  3133. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/entries.js +0 -4
  3134. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/every.js +0 -4
  3135. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/fill.js +0 -4
  3136. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/filter.js +0 -4
  3137. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/find-index.js +0 -4
  3138. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/find-last-index.js +0 -2
  3139. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/find-last.js +0 -2
  3140. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/find.js +0 -4
  3141. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/flat-map.js +0 -4
  3142. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/flat.js +0 -4
  3143. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/for-each.js +0 -4
  3144. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/from.js +0 -4
  3145. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/includes.js +0 -4
  3146. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/index-of.js +0 -4
  3147. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/index.js +0 -4
  3148. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/is-array.js +0 -4
  3149. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/iterator.js +0 -4
  3150. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/join.js +0 -4
  3151. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/keys.js +0 -4
  3152. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/last-index-of.js +0 -4
  3153. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/map.js +0 -4
  3154. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/of.js +0 -4
  3155. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/push.js +0 -4
  3156. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/reduce-right.js +0 -4
  3157. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/reduce.js +0 -4
  3158. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/reverse.js +0 -4
  3159. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/slice.js +0 -4
  3160. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/some.js +0 -4
  3161. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/sort.js +0 -4
  3162. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/splice.js +0 -4
  3163. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/to-reversed.js +0 -4
  3164. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/to-sorted.js +0 -4
  3165. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/to-spliced.js +0 -4
  3166. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/unshift.js +0 -4
  3167. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/values.js +0 -4
  3168. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/at.js +0 -4
  3169. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/concat.js +0 -4
  3170. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/copy-within.js +0 -4
  3171. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/entries.js +0 -4
  3172. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/every.js +0 -4
  3173. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/fill.js +0 -4
  3174. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/filter.js +0 -4
  3175. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/find-index.js +0 -4
  3176. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/find-last-index.js +0 -2
  3177. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/find-last.js +0 -2
  3178. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/find.js +0 -4
  3179. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/flat-map.js +0 -4
  3180. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/flat.js +0 -4
  3181. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/for-each.js +0 -4
  3182. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/includes.js +0 -4
  3183. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/index-of.js +0 -4
  3184. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/index.js +0 -4
  3185. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/iterator.js +0 -4
  3186. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/join.js +0 -4
  3187. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/keys.js +0 -4
  3188. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/last-index-of.js +0 -4
  3189. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/map.js +0 -4
  3190. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/push.js +0 -4
  3191. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/reduce-right.js +0 -4
  3192. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/reduce.js +0 -4
  3193. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/reverse.js +0 -4
  3194. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/slice.js +0 -4
  3195. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/some.js +0 -4
  3196. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/sort.js +0 -4
  3197. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/splice.js +0 -4
  3198. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/to-reversed.js +0 -4
  3199. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/to-sorted.js +0 -4
  3200. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/to-spliced.js +0 -4
  3201. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/unshift.js +0 -4
  3202. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/values.js +0 -4
  3203. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/virtual/with.js +0 -4
  3204. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array/with.js +0 -4
  3205. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array-buffer/constructor.js +0 -4
  3206. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array-buffer/index.js +0 -4
  3207. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array-buffer/is-view.js +0 -4
  3208. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/array-buffer/slice.js +0 -4
  3209. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/atob.js +0 -10
  3210. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/btoa.js +0 -10
  3211. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/clear-immediate.js +0 -5
  3212. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/data-view/index.js +0 -4
  3213. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/get-year.js +0 -4
  3214. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/index.js +0 -4
  3215. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/now.js +0 -4
  3216. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/set-year.js +0 -4
  3217. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/to-gmt-string.js +0 -4
  3218. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/to-iso-string.js +0 -4
  3219. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/to-json.js +0 -4
  3220. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/to-primitive.js +0 -4
  3221. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/date/to-string.js +0 -4
  3222. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/dom-collections/for-each.js +0 -6
  3223. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/dom-collections/index.js +0 -14
  3224. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/dom-collections/iterator.js +0 -6
  3225. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/dom-exception/constructor.js +0 -7
  3226. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/dom-exception/index.js +0 -8
  3227. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/dom-exception/to-string-tag.js +0 -4
  3228. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/error/constructor.js +0 -4
  3229. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/error/index.js +0 -4
  3230. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/error/to-string.js +0 -4
  3231. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/escape.js +0 -4
  3232. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/function/bind.js +0 -4
  3233. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/function/has-instance.js +0 -4
  3234. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/function/index.js +0 -4
  3235. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/function/name.js +0 -4
  3236. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/function/virtual/bind.js +0 -4
  3237. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/function/virtual/index.js +0 -4
  3238. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/get-iterator-method.js +0 -5
  3239. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/get-iterator.js +0 -5
  3240. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/global-this.js +0 -4
  3241. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/index.js +0 -267
  3242. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/at.js +0 -4
  3243. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/bind.js +0 -4
  3244. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/code-point-at.js +0 -4
  3245. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/concat.js +0 -4
  3246. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/copy-within.js +0 -4
  3247. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/ends-with.js +0 -4
  3248. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/entries.js +0 -19
  3249. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/every.js +0 -4
  3250. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/fill.js +0 -4
  3251. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/filter.js +0 -4
  3252. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/find-index.js +0 -4
  3253. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/find-last-index.js +0 -4
  3254. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/find-last.js +0 -4
  3255. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/find.js +0 -4
  3256. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/flags.js +0 -4
  3257. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/flat-map.js +0 -4
  3258. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/flat.js +0 -4
  3259. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/for-each.js +0 -19
  3260. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/includes.js +0 -4
  3261. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/index-of.js +0 -4
  3262. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/is-well-formed.js +0 -4
  3263. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/keys.js +0 -19
  3264. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/last-index-of.js +0 -4
  3265. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/map.js +0 -4
  3266. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/match-all.js +0 -4
  3267. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/pad-end.js +0 -4
  3268. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/pad-start.js +0 -4
  3269. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/push.js +0 -4
  3270. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/reduce-right.js +0 -4
  3271. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/reduce.js +0 -4
  3272. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/repeat.js +0 -4
  3273. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/replace-all.js +0 -4
  3274. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/reverse.js +0 -4
  3275. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/slice.js +0 -4
  3276. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/some.js +0 -4
  3277. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/sort.js +0 -4
  3278. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/splice.js +0 -4
  3279. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/starts-with.js +0 -4
  3280. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/to-reversed.js +0 -4
  3281. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/to-sorted.js +0 -4
  3282. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/to-spliced.js +0 -4
  3283. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/to-well-formed.js +0 -4
  3284. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/trim-end.js +0 -4
  3285. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/trim-left.js +0 -4
  3286. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/trim-right.js +0 -4
  3287. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/trim-start.js +0 -4
  3288. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/trim.js +0 -4
  3289. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/unshift.js +0 -4
  3290. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/values.js +0 -19
  3291. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/instance/with.js +0 -4
  3292. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/is-iterable.js +0 -5
  3293. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/json/index.js +0 -4
  3294. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/json/stringify.js +0 -4
  3295. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/json/to-string-tag.js +0 -4
  3296. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/map/group-by.js +0 -4
  3297. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/map/index.js +0 -5
  3298. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/acosh.js +0 -4
  3299. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/asinh.js +0 -4
  3300. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/atanh.js +0 -4
  3301. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/cbrt.js +0 -4
  3302. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/clz32.js +0 -4
  3303. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/cosh.js +0 -4
  3304. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/expm1.js +0 -4
  3305. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/fround.js +0 -4
  3306. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/hypot.js +0 -4
  3307. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/imul.js +0 -4
  3308. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/index.js +0 -4
  3309. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/log10.js +0 -4
  3310. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/log1p.js +0 -4
  3311. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/log2.js +0 -4
  3312. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/sign.js +0 -4
  3313. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/sinh.js +0 -4
  3314. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/tanh.js +0 -4
  3315. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/to-string-tag.js +0 -4
  3316. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/math/trunc.js +0 -4
  3317. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/constructor.js +0 -4
  3318. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/epsilon.js +0 -4
  3319. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/index.js +0 -4
  3320. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/is-finite.js +0 -4
  3321. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/is-integer.js +0 -4
  3322. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/is-nan.js +0 -4
  3323. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/is-safe-integer.js +0 -4
  3324. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/max-safe-integer.js +0 -4
  3325. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/min-safe-integer.js +0 -4
  3326. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/parse-float.js +0 -4
  3327. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/parse-int.js +0 -4
  3328. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/to-exponential.js +0 -4
  3329. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/to-fixed.js +0 -4
  3330. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/to-precision.js +0 -4
  3331. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/virtual/index.js +0 -4
  3332. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/virtual/to-exponential.js +0 -4
  3333. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/virtual/to-fixed.js +0 -4
  3334. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/number/virtual/to-precision.js +0 -4
  3335. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/assign.js +0 -4
  3336. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/create.js +0 -4
  3337. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/define-getter.js +0 -4
  3338. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/define-properties.js +0 -4
  3339. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/define-property.js +0 -4
  3340. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/define-setter.js +0 -4
  3341. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/entries.js +0 -4
  3342. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/freeze.js +0 -4
  3343. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/from-entries.js +0 -5
  3344. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/get-own-property-descriptor.js +0 -4
  3345. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/get-own-property-descriptors.js +0 -4
  3346. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/get-own-property-names.js +0 -4
  3347. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/get-own-property-symbols.js +0 -4
  3348. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/get-prototype-of.js +0 -4
  3349. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/group-by.js +0 -4
  3350. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/has-own.js +0 -4
  3351. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/index.js +0 -5
  3352. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/is-extensible.js +0 -4
  3353. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/is-frozen.js +0 -4
  3354. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/is-sealed.js +0 -4
  3355. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/is.js +0 -4
  3356. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/keys.js +0 -4
  3357. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/lookup-getter.js +0 -4
  3358. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/lookup-setter.js +0 -4
  3359. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/prevent-extensions.js +0 -4
  3360. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/proto.js +0 -4
  3361. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/seal.js +0 -4
  3362. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/set-prototype-of.js +0 -4
  3363. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/to-string.js +0 -4
  3364. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/object/values.js +0 -4
  3365. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/parse-float.js +0 -4
  3366. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/parse-int.js +0 -4
  3367. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/promise/all-settled.js +0 -5
  3368. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/promise/any.js +0 -5
  3369. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/promise/finally.js +0 -4
  3370. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/promise/index.js +0 -5
  3371. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/promise/with-resolvers.js +0 -4
  3372. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/queue-microtask.js +0 -4
  3373. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/apply.js +0 -4
  3374. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/construct.js +0 -4
  3375. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/define-property.js +0 -4
  3376. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/delete-property.js +0 -4
  3377. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/get-own-property-descriptor.js +0 -4
  3378. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/get-prototype-of.js +0 -4
  3379. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/get.js +0 -4
  3380. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/has.js +0 -4
  3381. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/index.js +0 -4
  3382. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/is-extensible.js +0 -4
  3383. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/own-keys.js +0 -4
  3384. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/prevent-extensions.js +0 -4
  3385. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/set-prototype-of.js +0 -4
  3386. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/set.js +0 -4
  3387. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/reflect/to-string-tag.js +0 -4
  3388. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/constructor.js +0 -4
  3389. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/dot-all.js +0 -4
  3390. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/flags.js +0 -4
  3391. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/index.js +0 -4
  3392. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/match.js +0 -4
  3393. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/replace.js +0 -4
  3394. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/search.js +0 -4
  3395. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/split.js +0 -4
  3396. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/sticky.js +0 -4
  3397. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/test.js +0 -4
  3398. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/regexp/to-string.js +0 -4
  3399. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/self.js +0 -5
  3400. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/set/index.js +0 -5
  3401. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/set-immediate.js +0 -5
  3402. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/set-interval.js +0 -5
  3403. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/set-timeout.js +0 -5
  3404. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/anchor.js +0 -4
  3405. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/at.js +0 -4
  3406. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/big.js +0 -4
  3407. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/blink.js +0 -4
  3408. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/bold.js +0 -4
  3409. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/code-point-at.js +0 -4
  3410. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/ends-with.js +0 -4
  3411. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/fixed.js +0 -4
  3412. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/fontcolor.js +0 -4
  3413. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/fontsize.js +0 -4
  3414. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/from-code-point.js +0 -4
  3415. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/includes.js +0 -4
  3416. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/index.js +0 -4
  3417. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/is-well-formed.js +0 -4
  3418. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/italics.js +0 -4
  3419. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/iterator.js +0 -4
  3420. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/link.js +0 -4
  3421. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/match-all.js +0 -4
  3422. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/match.js +0 -4
  3423. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/pad-end.js +0 -4
  3424. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/pad-start.js +0 -4
  3425. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/raw.js +0 -4
  3426. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/repeat.js +0 -4
  3427. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/replace-all.js +0 -4
  3428. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/replace.js +0 -4
  3429. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/search.js +0 -4
  3430. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/small.js +0 -4
  3431. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/split.js +0 -4
  3432. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/starts-with.js +0 -4
  3433. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/strike.js +0 -4
  3434. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/sub.js +0 -4
  3435. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/substr.js +0 -4
  3436. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/sup.js +0 -4
  3437. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/to-well-formed.js +0 -4
  3438. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/trim-end.js +0 -4
  3439. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/trim-left.js +0 -4
  3440. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/trim-right.js +0 -4
  3441. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/trim-start.js +0 -4
  3442. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/trim.js +0 -4
  3443. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/anchor.js +0 -4
  3444. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/at.js +0 -4
  3445. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/big.js +0 -4
  3446. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/blink.js +0 -4
  3447. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/bold.js +0 -4
  3448. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/code-point-at.js +0 -4
  3449. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/ends-with.js +0 -4
  3450. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/fixed.js +0 -4
  3451. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/fontcolor.js +0 -4
  3452. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/fontsize.js +0 -4
  3453. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/includes.js +0 -4
  3454. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/index.js +0 -4
  3455. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/is-well-formed.js +0 -4
  3456. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/italics.js +0 -4
  3457. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/iterator.js +0 -4
  3458. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/link.js +0 -4
  3459. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/match-all.js +0 -4
  3460. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/pad-end.js +0 -4
  3461. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/pad-start.js +0 -4
  3462. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/repeat.js +0 -4
  3463. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/replace-all.js +0 -4
  3464. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/small.js +0 -4
  3465. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/starts-with.js +0 -4
  3466. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/strike.js +0 -4
  3467. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/sub.js +0 -4
  3468. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/substr.js +0 -4
  3469. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/sup.js +0 -4
  3470. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/to-well-formed.js +0 -4
  3471. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/trim-end.js +0 -4
  3472. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/trim-left.js +0 -4
  3473. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/trim-right.js +0 -4
  3474. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/trim-start.js +0 -4
  3475. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/string/virtual/trim.js +0 -4
  3476. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/structured-clone.js +0 -14
  3477. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/async-iterator.js +0 -4
  3478. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/description.js +0 -4
  3479. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/for.js +0 -4
  3480. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/has-instance.js +0 -4
  3481. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/index.js +0 -5
  3482. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/is-concat-spreadable.js +0 -4
  3483. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/iterator.js +0 -5
  3484. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/key-for.js +0 -4
  3485. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/match-all.js +0 -4
  3486. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/match.js +0 -4
  3487. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/replace.js +0 -4
  3488. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/search.js +0 -4
  3489. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/species.js +0 -4
  3490. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/split.js +0 -4
  3491. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/to-primitive.js +0 -4
  3492. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/to-string-tag.js +0 -4
  3493. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/symbol/unscopables.js +0 -4
  3494. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/at.js +0 -4
  3495. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/copy-within.js +0 -4
  3496. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/entries.js +0 -4
  3497. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/every.js +0 -4
  3498. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/fill.js +0 -4
  3499. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/filter.js +0 -4
  3500. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/find-index.js +0 -4
  3501. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/find-last-index.js +0 -2
  3502. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/find-last.js +0 -2
  3503. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/find.js +0 -4
  3504. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/float32-array.js +0 -5
  3505. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/float64-array.js +0 -5
  3506. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/for-each.js +0 -4
  3507. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/from.js +0 -4
  3508. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/includes.js +0 -4
  3509. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/index-of.js +0 -4
  3510. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/index.js +0 -4
  3511. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/int16-array.js +0 -5
  3512. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/int32-array.js +0 -5
  3513. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/int8-array.js +0 -5
  3514. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/iterator.js +0 -4
  3515. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/join.js +0 -4
  3516. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/keys.js +0 -4
  3517. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/last-index-of.js +0 -4
  3518. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/map.js +0 -4
  3519. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/methods.js +0 -4
  3520. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/of.js +0 -4
  3521. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/reduce-right.js +0 -4
  3522. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/reduce.js +0 -4
  3523. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/reverse.js +0 -4
  3524. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/set.js +0 -4
  3525. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/slice.js +0 -4
  3526. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/some.js +0 -4
  3527. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/sort.js +0 -4
  3528. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/subarray.js +0 -4
  3529. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/to-locale-string.js +0 -4
  3530. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/to-reversed.js +0 -4
  3531. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/to-sorted.js +0 -4
  3532. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/to-string.js +0 -4
  3533. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/uint16-array.js +0 -5
  3534. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/uint32-array.js +0 -5
  3535. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/uint8-array.js +0 -5
  3536. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/uint8-clamped-array.js +0 -5
  3537. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/values.js +0 -4
  3538. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/typed-array/with.js +0 -4
  3539. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/unescape.js +0 -4
  3540. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/url/can-parse.js +0 -6
  3541. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/url/index.js +0 -4
  3542. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/url/to-json.js +0 -2
  3543. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/url-search-params/index.js +0 -5
  3544. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/weak-map/index.js +0 -5
  3545. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stable/weak-set/index.js +0 -5
  3546. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/0.js +0 -13
  3547. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/1.js +0 -27
  3548. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/2.js +0 -22
  3549. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/3.js +0 -18
  3550. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/4.js +0 -19
  3551. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/README.md +0 -1
  3552. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/index.js +0 -4
  3553. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/stage/pre.js +0 -6
  3554. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/README.md +0 -1
  3555. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/dom-collections.js +0 -6
  3556. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/dom-exception.js +0 -8
  3557. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/immediate.js +0 -5
  3558. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/index.js +0 -23
  3559. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/queue-microtask.js +0 -5
  3560. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/structured-clone.js +0 -9
  3561. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/timers.js +0 -5
  3562. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/url-search-params.js +0 -8
  3563. package/.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/web/url.js +0 -8
  3564. package/.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/LICENSE.md +0 -21
  3565. package/.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/README.md +0 -3
  3566. package/.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/bin/esbuild +0 -221
  3567. package/.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/install.js +0 -287
  3568. package/.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/lib/main.d.ts +0 -660
  3569. package/.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/lib/main.js +0 -2393
  3570. package/.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/package.json +0 -42
  3571. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/LICENSE.txt +0 -116
  3572. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/README.md +0 -149
  3573. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/banner.ts +0 -4
  3574. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/check-bundle-size.js +0 -77
  3575. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-debug-index-file.ts +0 -19
  3576. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-query-test-fixtures.ts +0 -126
  3577. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-shaders.ts +0 -35
  3578. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-struct-arrays.ts +0 -437
  3579. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-style-code.ts +0 -280
  3580. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-style-spec.ts +0 -323
  3581. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/generate-typings.ts +0 -26
  3582. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/readme.md +0 -52
  3583. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/release-notes.js +0 -45
  3584. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/rollup_plugin_minify_style_spec.ts +0 -25
  3585. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/build/rollup_plugins.ts +0 -52
  3586. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp-worker.js +0 -2
  3587. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp-worker.js.map +0 -1
  3588. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp.js +0 -2
  3589. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-csp.js.map +0 -1
  3590. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl-dev.js +0 -51935
  3591. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.css +0 -1
  3592. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.d.ts +0 -11736
  3593. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.js +0 -44
  3594. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/maplibre-gl.js.map +0 -1
  3595. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/package.json +0 -1
  3596. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/dist/style-spec/index.d.ts +0 -1768
  3597. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/package.json +0 -182
  3598. package/.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/postinstall.js +0 -1
  3599. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/CHANGELOG.md +0 -905
  3600. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/CONTRIBUTING.md +0 -34
  3601. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/LICENSE +0 -24
  3602. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/README.md +0 -263
  3603. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/SECURITY.md +0 -2
  3604. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/addon.gypi +0 -204
  3605. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/bin/node-gyp.js +0 -138
  3606. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/LICENSE +0 -28
  3607. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/README.md +0 -30
  3608. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  3609. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/gyp +0 -8
  3610. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/gyp.bat +0 -5
  3611. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  3612. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  3613. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  3614. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1270
  3615. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  3616. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  3617. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -153
  3618. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -271
  3619. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  3620. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -692
  3621. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -654
  3622. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -78
  3623. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  3624. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  3625. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  3626. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -804
  3627. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1173
  3628. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1318
  3629. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -123
  3630. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -103
  3631. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  3632. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  3633. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -58
  3634. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2711
  3635. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3981
  3636. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  3637. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2933
  3638. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -55
  3639. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  3640. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -25
  3641. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3115
  3642. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -98
  3643. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -771
  3644. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1262
  3645. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  3646. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  3647. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  3648. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1933
  3649. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -302
  3650. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3198
  3651. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  3652. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  3653. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  3654. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  3655. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  3656. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  3657. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  3658. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  3659. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  3660. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  3661. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  3662. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  3663. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  3664. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  3665. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  3666. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  3667. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  3668. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  3669. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  3670. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pyproject.toml +0 -119
  3671. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/test_gyp.py +0 -261
  3672. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  3673. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/build.js +0 -220
  3674. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/clean.js +0 -15
  3675. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/configure.js +0 -282
  3676. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/create-config-gypi.js +0 -150
  3677. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/download.js +0 -39
  3678. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  3679. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/find-python.js +0 -310
  3680. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/find-visualstudio.js +0 -443
  3681. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/install.js +0 -415
  3682. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/list.js +0 -26
  3683. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/log.js +0 -169
  3684. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/node-gyp.js +0 -188
  3685. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/process-release.js +0 -146
  3686. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/rebuild.js +0 -12
  3687. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/remove.js +0 -43
  3688. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/lib/util.js +0 -81
  3689. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  3690. package/.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/package.json +0 -51
  3691. package/.yarn/unplugged/open-npm-8.4.2-1f763e8b75/node_modules/open/.ready +0 -0
  3692. package/.yarn/unplugged/open-npm-8.4.2-1f763e8b75/node_modules/open/index.d.ts +0 -153
  3693. package/.yarn/unplugged/open-npm-8.4.2-1f763e8b75/node_modules/open/index.js +0 -334
  3694. package/.yarn/unplugged/open-npm-8.4.2-1f763e8b75/node_modules/open/license +0 -9
  3695. package/.yarn/unplugged/open-npm-8.4.2-1f763e8b75/node_modules/open/package.json +0 -61
  3696. package/.yarn/unplugged/open-npm-8.4.2-1f763e8b75/node_modules/open/readme.md +0 -171
  3697. package/.yarn/unplugged/open-npm-8.4.2-1f763e8b75/node_modules/open/xdg-open +0 -1066
  3698. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/.editorconfig +0 -7
  3699. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/.ready +0 -0
  3700. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/LICENSE +0 -21
  3701. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/README.md +0 -108
  3702. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/LICENSE-PVRTexToolCLI.txt +0 -52
  3703. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/LICENSE-astcenc.txt +0 -137
  3704. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/LICENSE-crunch.txt +0 -25
  3705. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/PVRTexToolCLI +0 -0
  3706. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/astcenc +0 -0
  3707. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/darwin/crunch +0 -0
  3708. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/LICENSE-PVRTexToolCLI.txt +0 -52
  3709. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/LICENSE-astcenc.txt +0 -137
  3710. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/LICENSE-crunch.txt +0 -25
  3711. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/PVRTexToolCLI +0 -0
  3712. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/astcenc +0 -0
  3713. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/linux/crunch +0 -0
  3714. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/texture-compressor.js +0 -3
  3715. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/LICENSE-PVRTexToolCLI.txt +0 -52
  3716. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/LICENSE-astcenc.txt +0 -137
  3717. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/LICENSE-crunch.txt +0 -25
  3718. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/PVRTexToolCLI.exe +0 -0
  3719. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/astcenc.exe +0 -0
  3720. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/bin/win32/crunch.exe +0 -0
  3721. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/argsHandler.js +0 -101
  3722. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/argsHandler.js.map +0 -1
  3723. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithCrunch.js +0 -48
  3724. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithCrunch.js.map +0 -1
  3725. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithPVRTexTool.js +0 -51
  3726. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/compressWithPVRTexTool.js.map +0 -1
  3727. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/spawnProcess.js +0 -45
  3728. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/spawnProcess.js.map +0 -1
  3729. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/validateArgs.js +0 -36
  3730. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/compressors/validateArgs.js.map +0 -1
  3731. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/constants.js +0 -85
  3732. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/constants.js.map +0 -1
  3733. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/index.js +0 -33
  3734. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/index.js.map +0 -1
  3735. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/utilities.js +0 -52
  3736. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/lib/utilities.js.map +0 -1
  3737. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/cli/package.json +0 -37
  3738. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/argsHandler.d.ts +0 -14
  3739. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/compressWithCrunch.d.ts +0 -5
  3740. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/compressWithPVRTexTool.d.ts +0 -5
  3741. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/spawnProcess.d.ts +0 -9
  3742. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/compressors/validateArgs.d.ts +0 -11
  3743. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/constants.d.ts +0 -45
  3744. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/index.d.ts +0 -5
  3745. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/dist/types/lib/utilities.d.ts +0 -43
  3746. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/RECOMMENDED_PARAMETERS.md +0 -17
  3747. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/SUPPORTED_DEVICES_TABLE.md +0 -47
  3748. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/SUPPORTED_PARAMETERS.md +0 -154
  3749. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/KTXLoader.js +0 -149
  3750. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-astc-4x4.ktx +0 -0
  3751. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-astc-8x8.ktx +0 -0
  3752. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt1.ktx +0 -0
  3753. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt1A.ktx +0 -0
  3754. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt3.ktx +0 -0
  3755. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-dxt5.ktx +0 -0
  3756. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-etc1.ktx +0 -0
  3757. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-etc2.ktx +0 -0
  3758. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-etc2A.ktx +0 -0
  3759. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc2BPP.ktx +0 -0
  3760. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc2BPPA.ktx +0 -0
  3761. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc4BPP.ktx +0 -0
  3762. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/flippedY-mipmaps/example-pvrtc4BPPA.ktx +0 -0
  3763. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/data/main.js +0 -195
  3764. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/docs/index.html +0 -37
  3765. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/argsHandler.ts +0 -135
  3766. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/compressWithCrunch.ts +0 -66
  3767. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/compressWithPVRTexTool.ts +0 -91
  3768. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/spawnProcess.ts +0 -57
  3769. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/compressors/validateArgs.ts +0 -53
  3770. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/constants.ts +0 -86
  3771. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/index.ts +0 -37
  3772. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/lib/utilities.ts +0 -57
  3773. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/package.json +0 -37
  3774. package/.yarn/unplugged/texture-compressor-npm-1.0.2-c655a54095/node_modules/texture-compressor/tslint.json +0 -12
  3775. package/dist/cjs/components/button/index.d.ts +0 -9
  3776. package/dist/cjs/components/button/index.stories.d.ts +0 -19
  3777. package/dist/cjs/components/button/index.types.d.ts +0 -50
  3778. package/dist/cjs/components/form/form-input.d.ts +0 -4
  3779. package/dist/cjs/components/form/form-select.d.ts +0 -4
  3780. package/dist/cjs/components/form/form-text-area.d.ts +0 -4
  3781. package/dist/cjs/components/form/index.d.ts +0 -4
  3782. package/dist/cjs/components/form/index.stories.d.ts +0 -10
  3783. package/dist/cjs/components/form/index.types.d.ts +0 -72
  3784. package/dist/cjs/components/input/index.d.ts +0 -4
  3785. package/dist/cjs/components/input/index.stories.d.ts +0 -12
  3786. package/dist/cjs/components/input/index.types.d.ts +0 -56
  3787. package/dist/cjs/components/loading/index.d.ts +0 -4
  3788. package/dist/cjs/components/loading/index.stories.d.ts +0 -6
  3789. package/dist/cjs/components/loading/index.types.d.ts +0 -11
  3790. package/dist/cjs/components/map/index.d.ts +0 -4
  3791. package/dist/cjs/components/map/index.stories.d.ts +0 -12
  3792. package/dist/cjs/components/map/index.types.d.ts +0 -135
  3793. package/dist/cjs/components/map/map-deckgl.d.ts +0 -4
  3794. package/dist/cjs/components/map/map-mapbox.d.ts +0 -11
  3795. package/dist/cjs/components/map/map-popup.d.ts +0 -12
  3796. package/dist/cjs/components/map/map-toc.d.ts +0 -13
  3797. package/dist/cjs/components/map-control/index.d.ts +0 -4
  3798. package/dist/cjs/components/map-control/index.types.d.ts +0 -11
  3799. package/dist/cjs/components/menu/index.d.ts +0 -11
  3800. package/dist/cjs/components/menu/index.stories.d.ts +0 -7
  3801. package/dist/cjs/components/menu/menu-button.d.ts +0 -21
  3802. package/dist/cjs/components/menu/menu-content.d.ts +0 -8
  3803. package/dist/cjs/components/menu/menu-item.d.ts +0 -10
  3804. package/dist/cjs/components/menu/menu-root.d.ts +0 -21
  3805. package/dist/cjs/components/menu/menu-utils.d.ts +0 -1
  3806. package/dist/cjs/components/menu/menu-wrapper.d.ts +0 -10
  3807. package/dist/cjs/components/modal/index.d.ts +0 -4
  3808. package/dist/cjs/components/modal/index.stories.d.ts +0 -11
  3809. package/dist/cjs/components/modal/index.types.d.ts +0 -39
  3810. package/dist/cjs/components/select/index.d.ts +0 -4
  3811. package/dist/cjs/components/select/index.stories.d.ts +0 -10
  3812. package/dist/cjs/components/select/index.types.d.ts +0 -53
  3813. package/dist/cjs/components/text-area/index.d.ts +0 -5
  3814. package/dist/cjs/components/text-area/index.stories.d.ts +0 -10
  3815. package/dist/cjs/components/text-area/index.types.d.ts +0 -50
  3816. package/dist/cjs/context/loading/index.d.ts +0 -24
  3817. package/dist/cjs/context/loading/index.stories.d.ts +0 -8
  3818. package/dist/cjs/context/map/index.d.ts +0 -20
  3819. package/dist/cjs/context/modal/index.d.ts +0 -29
  3820. package/dist/cjs/context/modal/index.stories.d.ts +0 -6
  3821. package/dist/cjs/context/theme/index.d.ts +0 -18
  3822. package/dist/cjs/decorators/withColorScheme.d.ts +0 -7
  3823. package/dist/cjs/decorators/withLoading.d.ts +0 -2
  3824. package/dist/cjs/decorators/withMap.d.ts +0 -2
  3825. package/dist/cjs/decorators/withModal.d.ts +0 -2
  3826. package/dist/cjs/decorators/withWrapper.d.ts +0 -2
  3827. package/dist/cjs/index.d.ts +0 -18
  3828. package/dist/cjs/utils/palette.d.ts +0 -1
  3829. package/dist/esm/components/button/index.d.ts +0 -9
  3830. package/dist/esm/components/button/index.stories.d.ts +0 -19
  3831. package/dist/esm/components/button/index.types.d.ts +0 -50
  3832. package/dist/esm/components/form/form-input.d.ts +0 -4
  3833. package/dist/esm/components/form/form-select.d.ts +0 -4
  3834. package/dist/esm/components/form/form-text-area.d.ts +0 -4
  3835. package/dist/esm/components/form/index.d.ts +0 -4
  3836. package/dist/esm/components/form/index.stories.d.ts +0 -10
  3837. package/dist/esm/components/form/index.types.d.ts +0 -72
  3838. package/dist/esm/components/input/index.d.ts +0 -4
  3839. package/dist/esm/components/input/index.stories.d.ts +0 -12
  3840. package/dist/esm/components/input/index.types.d.ts +0 -56
  3841. package/dist/esm/components/loading/index.d.ts +0 -4
  3842. package/dist/esm/components/loading/index.stories.d.ts +0 -6
  3843. package/dist/esm/components/loading/index.types.d.ts +0 -11
  3844. package/dist/esm/components/map/index.d.ts +0 -4
  3845. package/dist/esm/components/map/index.stories.d.ts +0 -12
  3846. package/dist/esm/components/map/index.types.d.ts +0 -135
  3847. package/dist/esm/components/map/map-deckgl.d.ts +0 -4
  3848. package/dist/esm/components/map/map-mapbox.d.ts +0 -11
  3849. package/dist/esm/components/map/map-popup.d.ts +0 -12
  3850. package/dist/esm/components/map/map-toc.d.ts +0 -13
  3851. package/dist/esm/components/map-control/index.d.ts +0 -4
  3852. package/dist/esm/components/map-control/index.types.d.ts +0 -11
  3853. package/dist/esm/components/menu/index.d.ts +0 -11
  3854. package/dist/esm/components/menu/index.stories.d.ts +0 -7
  3855. package/dist/esm/components/menu/menu-button.d.ts +0 -21
  3856. package/dist/esm/components/menu/menu-content.d.ts +0 -8
  3857. package/dist/esm/components/menu/menu-item.d.ts +0 -10
  3858. package/dist/esm/components/menu/menu-root.d.ts +0 -21
  3859. package/dist/esm/components/menu/menu-utils.d.ts +0 -1
  3860. package/dist/esm/components/menu/menu-wrapper.d.ts +0 -10
  3861. package/dist/esm/components/modal/index.d.ts +0 -4
  3862. package/dist/esm/components/modal/index.stories.d.ts +0 -11
  3863. package/dist/esm/components/modal/index.types.d.ts +0 -39
  3864. package/dist/esm/components/select/index.d.ts +0 -4
  3865. package/dist/esm/components/select/index.stories.d.ts +0 -10
  3866. package/dist/esm/components/select/index.types.d.ts +0 -53
  3867. package/dist/esm/components/text-area/index.d.ts +0 -5
  3868. package/dist/esm/components/text-area/index.stories.d.ts +0 -10
  3869. package/dist/esm/components/text-area/index.types.d.ts +0 -50
  3870. package/dist/esm/context/loading/index.d.ts +0 -24
  3871. package/dist/esm/context/loading/index.stories.d.ts +0 -8
  3872. package/dist/esm/context/map/index.d.ts +0 -20
  3873. package/dist/esm/context/modal/index.d.ts +0 -29
  3874. package/dist/esm/context/modal/index.stories.d.ts +0 -6
  3875. package/dist/esm/context/theme/index.d.ts +0 -18
  3876. package/dist/esm/decorators/withColorScheme.d.ts +0 -7
  3877. package/dist/esm/decorators/withLoading.d.ts +0 -2
  3878. package/dist/esm/decorators/withMap.d.ts +0 -2
  3879. package/dist/esm/decorators/withModal.d.ts +0 -2
  3880. package/dist/esm/decorators/withWrapper.d.ts +0 -2
  3881. package/dist/esm/index.d.ts +0 -18
  3882. package/dist/esm/utils/palette.d.ts +0 -1
  3883. /package/{.yarn/unplugged/@esbuild-linux-x64-npm-0.18.20-de8e99b449/node_modules/@esbuild/linux-x64/.ready → storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt} +0 -0
  3884. /package/{.yarn/unplugged/@swc-core-linux-x64-gnu-npm-1.3.106-7bb327124d/node_modules/@swc/core-linux-x64-gnu/.ready → storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt} +0 -0
  3885. /package/{.yarn/unplugged/@swc-core-virtual-22cde85fc1/node_modules/@swc/core/.ready → storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt} +0 -0
  3886. /package/{.yarn/unplugged/core-js-pure-npm-3.35.1-539e2e8414/node_modules/core-js-pure/.ready → storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt} +0 -0
  3887. /package/{.yarn/unplugged/esbuild-npm-0.18.20-004a76d281/node_modules/esbuild/.ready → storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt} +0 -0
  3888. /package/{.yarn/unplugged/maplibre-gl-npm-2.4.0-9fa603cf50/node_modules/maplibre-gl/.ready → storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt} +0 -0
  3889. /package/{.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/.ready → storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt} +0 -0
  3890. /package/{.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py → storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 936.074caa83.iframe.bundle.js.LICENSE.txt */
2
+ (self.webpackChunk_geoinsight_react_components=self.webpackChunk_geoinsight_react_components||[]).push([[936],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{c:()=>_defineProperty})},"./node_modules/@deck.gl/core/dist/esm/debug/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>debug,s:()=>register});var _utils_log__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/log.js");let loggers={};function register(handlers){loggers=handlers}function debug(eventType,arg1,arg2,arg3){_utils_log__WEBPACK_IMPORTED_MODULE_0__.c.level>0&&loggers[eventType]&&loggers[eventType].call(null,arg1,arg2,arg3)}},"./node_modules/@deck.gl/core/dist/esm/lib/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{COORDINATE_SYSTEM:()=>COORDINATE_SYSTEM,UH:()=>EVENTS,Yt:()=>PROJECTION_MODE,cd:()=>OPERATION,iM:()=>UNIT});var _utils_log__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/log.js");const COORDINATE_SYSTEM={DEFAULT:-1,LNGLAT:1,METER_OFFSETS:2,LNGLAT_OFFSETS:3,CARTESIAN:0};Object.defineProperty(COORDINATE_SYSTEM,"IDENTITY",{get:()=>(_utils_log__WEBPACK_IMPORTED_MODULE_0__.c.deprecated("COORDINATE_SYSTEM.IDENTITY","COORDINATE_SYSTEM.CARTESIAN")(),0)});const PROJECTION_MODE={WEB_MERCATOR:1,GLOBE:2,WEB_MERCATOR_AUTO_OFFSET:4,IDENTITY:0},UNIT={common:0,meters:1,pixels:2},EVENTS={click:{handler:"onClick"},panstart:{handler:"onDragStart"},panmove:{handler:"onDrag"},panend:{handler:"onDragEnd"}},OPERATION={DRAW:"draw",MASK:"mask"}},"./node_modules/@deck.gl/core/dist/esm/lib/layer.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Layer});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),constants=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/constants.js"),features=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/features.js"),webgl_features_table=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/webgl-features-table.js"),classes_buffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/buffer.js");class ShaderAttribute{constructor(dataColumn,opts){(0,defineProperty.c)(this,"opts",void 0),(0,defineProperty.c)(this,"source",void 0),this.opts=opts,this.source=dataColumn}get value(){return this.source.value}getValue(){const buffer=this.source.getBuffer(),accessor=this.getAccessor();if(buffer)return[buffer,accessor];const{value}=this.source,{size}=accessor;let constantValue=value;if(value&&value.length!==size){constantValue=new Float32Array(size);const index=accessor.elementOffset||0;for(let i=0;i<size;++i)constantValue[i]=value[index+i]}return constantValue}getAccessor(){return{...this.source.getAccessor(),...this.opts}}}var typed_array_manager=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/typed-array-manager.js"),math_utils=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/math-utils.js"),log=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/log.js");function getStride(accessor){return accessor.stride||accessor.size*accessor.bytesPerElement}function resolveShaderAttribute(baseAccessor,shaderAttributeOptions){shaderAttributeOptions.offset&&log.c.removed("shaderAttribute.offset","vertexOffset, elementOffset")();const stride=getStride(baseAccessor),offset=(void 0!==shaderAttributeOptions.vertexOffset?shaderAttributeOptions.vertexOffset:baseAccessor.vertexOffset||0)*stride+(shaderAttributeOptions.elementOffset||0)*baseAccessor.bytesPerElement+(baseAccessor.offset||0);return{...shaderAttributeOptions,offset,stride}}class DataColumn{constructor(gl,opts,state){(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"size",void 0),(0,defineProperty.c)(this,"settings",void 0),(0,defineProperty.c)(this,"value",void 0),(0,defineProperty.c)(this,"doublePrecision",void 0),(0,defineProperty.c)(this,"_buffer",void 0),(0,defineProperty.c)(this,"state",void 0),this.gl=gl,this.id=opts.id||"",this.size=opts.size||1;const logicalType=opts.logicalType||opts.type,doublePrecision=5130===logicalType;let bufferType,{defaultValue}=opts;defaultValue=Number.isFinite(defaultValue)?[defaultValue]:defaultValue||new Array(this.size).fill(0),bufferType=doublePrecision?5126:!logicalType&&opts.isIndexed?gl&&(0,features._E)(gl,webgl_features_table.c.ELEMENT_INDEX_UINT32)?5125:5123:logicalType||5126;let defaultType=function glArrayFromType(glType){switch(glType){case 5126:return Float32Array;case 5130:return Float64Array;case 5123:case 33635:case 32819:case 32820:return Uint16Array;case 5125:return Uint32Array;case 5121:return Uint8ClampedArray;case 5120:return Int8Array;case 5122:return Int16Array;case 5124:return Int32Array;default:throw new Error("Unknown GL type")}}(logicalType||bufferType||5126);this.doublePrecision=doublePrecision,doublePrecision&&!1===opts.fp64&&(defaultType=Float32Array),this.value=null,this.settings={...opts,defaultType,defaultValue,logicalType,type:bufferType,size:this.size,bytesPerElement:defaultType.BYTES_PER_ELEMENT},this.state={...state,externalBuffer:null,bufferAccessor:this.settings,allocatedValue:null,numInstances:0,bounds:null,constant:!1},this._buffer=null}get isConstant(){return this.state.constant}get buffer(){if(!this._buffer){const{isIndexed,type}=this.settings;this._buffer=new classes_buffer.c(this.gl,{id:this.id,target:isIndexed?34963:34962,accessor:{type}})}return this._buffer}get byteOffset(){const accessor=this.getAccessor();return accessor.vertexOffset?accessor.vertexOffset*getStride(accessor):0}get numInstances(){return this.state.numInstances}set numInstances(n){this.state.numInstances=n}delete(){this._buffer&&(this._buffer.delete(),this._buffer=null),typed_array_manager.c.release(this.state.allocatedValue)}getShaderAttributes(id,options){if(this.doublePrecision){const shaderAttributes={},isBuffer64Bit=this.value instanceof Float64Array,doubleShaderAttributeDefs=function resolveDoublePrecisionShaderAttributes(baseAccessor,shaderAttributeOptions){const resolvedOptions=resolveShaderAttribute(baseAccessor,shaderAttributeOptions);return{high:resolvedOptions,low:{...resolvedOptions,offset:resolvedOptions.offset+4*baseAccessor.size}}}(this.getAccessor(),options||{});return shaderAttributes[id]=new ShaderAttribute(this,doubleShaderAttributeDefs.high),shaderAttributes["".concat(id,"64Low")]=isBuffer64Bit?new ShaderAttribute(this,doubleShaderAttributeDefs.low):new Float32Array(this.size),shaderAttributes}if(options){const shaderAttributeDef=resolveShaderAttribute(this.getAccessor(),options);return{[id]:new ShaderAttribute(this,shaderAttributeDef)}}return{[id]:this}}getBuffer(){return this.state.constant?null:this.state.externalBuffer||this._buffer}getValue(){return this.state.constant?this.value:[this.getBuffer(),this.getAccessor()]}getAccessor(){return this.state.bufferAccessor}getBounds(){if(this.state.bounds)return this.state.bounds;let result=null;if(this.state.constant&&this.value){const min=Array.from(this.value);result=[min,min]}else{const{value,numInstances,size}=this,len=numInstances*size;if(value&&len&&value.length>=len){const min=new Array(size).fill(1/0),max=new Array(size).fill(-1/0);for(let i=0;i<len;)for(let j=0;j<size;j++){const v=value[i++];v<min[j]&&(min[j]=v),v>max[j]&&(max[j]=v)}result=[min,max]}}return this.state.bounds=result,result}setData(data){const{state}=this;let opts;opts=ArrayBuffer.isView(data)?{value:data}:data instanceof classes_buffer.c?{buffer:data}:data;const accessor={...this.settings,...opts};if(state.bufferAccessor=accessor,state.bounds=null,opts.constant){let value=opts.value;value=this._normalizeValue(value,[],0),this.settings.normalized&&(value=this.normalizeConstant(value));if(!(!state.constant||!this._areValuesEqual(value,this.value)))return!1;state.externalBuffer=null,state.constant=!0,this.value=value}else if(opts.buffer){const buffer=opts.buffer;state.externalBuffer=buffer,state.constant=!1,this.value=opts.value||null;const isBuffer64Bit=opts.value instanceof Float64Array;accessor.type=opts.type||buffer.accessor.type,accessor.bytesPerElement=buffer.accessor.BYTES_PER_ELEMENT*(isBuffer64Bit?2:1),accessor.stride=getStride(accessor)}else if(opts.value){this._checkExternalBuffer(opts);let value=opts.value;state.externalBuffer=null,state.constant=!1,this.value=value,accessor.bytesPerElement=value.BYTES_PER_ELEMENT,accessor.stride=getStride(accessor);const{buffer,byteOffset}=this;this.doublePrecision&&value instanceof Float64Array&&(value=(0,math_utils.DU)(value,accessor));const requiredBufferSize=value.byteLength+byteOffset+2*accessor.stride;buffer.byteLength<requiredBufferSize&&buffer.reallocate(requiredBufferSize),buffer.setAccessor(null),buffer.subData({data:value,offset:byteOffset}),accessor.type=opts.type||buffer.accessor.type}return!0}updateSubBuffer(opts={}){this.state.bounds=null;const value=this.value,{startOffset=0,endOffset}=opts;this.buffer.subData({data:this.doublePrecision&&value instanceof Float64Array?(0,math_utils.DU)(value,{size:this.size,startIndex:startOffset,endIndex:endOffset}):value.subarray(startOffset,endOffset),offset:startOffset*value.BYTES_PER_ELEMENT+this.byteOffset})}allocate(numInstances,copy=!1){const{state}=this,oldValue=state.allocatedValue,value=typed_array_manager.c.allocate(oldValue,numInstances+1,{size:this.size,type:this.settings.defaultType,copy});this.value=value;const{buffer,byteOffset}=this;return buffer.byteLength<value.byteLength+byteOffset&&(buffer.reallocate(value.byteLength+byteOffset),copy&&oldValue&&buffer.subData({data:oldValue instanceof Float64Array?(0,math_utils.DU)(oldValue,this):oldValue,offset:byteOffset})),state.allocatedValue=value,state.constant=!1,state.externalBuffer=null,state.bufferAccessor=this.settings,!0}_checkExternalBuffer(opts){const{value}=opts;if(!ArrayBuffer.isView(value))throw new Error("Attribute ".concat(this.id," value is not TypedArray"));const ArrayType=this.settings.defaultType;let illegalArrayType=!1;if(this.doublePrecision&&(illegalArrayType=value.BYTES_PER_ELEMENT<4),illegalArrayType)throw new Error("Attribute ".concat(this.id," does not support ").concat(value.constructor.name));value instanceof ArrayType||!this.settings.normalized||"normalized"in opts||log.c.warn("Attribute ".concat(this.id," is normalized"))()}normalizeConstant(value){switch(this.settings.type){case 5120:return new Float32Array(value).map((x=>(x+128)/255*2-1));case 5122:return new Float32Array(value).map((x=>(x+32768)/65535*2-1));case 5121:return new Float32Array(value).map((x=>x/255));case 5123:return new Float32Array(value).map((x=>x/65535));default:return value}}_normalizeValue(value,out,start){const{defaultValue,size}=this.settings;if(Number.isFinite(value))return out[start]=value,out;if(!value)return out[start]=defaultValue[0],out;switch(size){case 4:out[start+3]=Number.isFinite(value[3])?value[3]:defaultValue[3];case 3:out[start+2]=Number.isFinite(value[2])?value[2]:defaultValue[2];case 2:out[start+1]=Number.isFinite(value[1])?value[1]:defaultValue[1];case 1:out[start+0]=Number.isFinite(value[0])?value[0]:defaultValue[0];break;default:let i=size;for(;--i>=0;)out[start+i]=Number.isFinite(value[i])?value[i]:defaultValue[i]}return out}_areValuesEqual(value1,value2){if(!value1||!value2)return!1;const{size}=this;for(let i=0;i<size;i++)if(value1[i]!==value2[i])return!1;return!0}}var assert=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/assert.js"),iterable_utils=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/iterable-utils.js"),flatten=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/flatten.js");const EMPTY=[],FULL=[[0,1/0]];function padArrayChunk(options){const{source,target,start=0,size,getData}=options,end=options.end||target.length,sourceLength=source.length,targetLength=end-start;if(sourceLength>targetLength)return void target.set(source.subarray(0,targetLength),start);if(target.set(source,start),!getData)return;let i=sourceLength;for(;i<targetLength;){const datum=getData(i,source);for(let j=0;j<size;j++)target[start+i]=datum[j]||0,i++}}const DEFAULT_TRANSITION_SETTINGS={interpolation:{duration:0,easing:t=>t},spring:{stiffness:.05,damping:.5}};function normalizeTransitionSettings(userSettings,layerSettings){if(!userSettings)return null;Number.isFinite(userSettings)&&(userSettings={type:"interpolation",duration:userSettings});const type=userSettings.type||"interpolation";return{...DEFAULT_TRANSITION_SETTINGS[type],...layerSettings,...userSettings,type}}function getSourceBufferAttribute(gl,attribute){const buffer=attribute.getBuffer();return buffer?[buffer,{divisor:0,size:attribute.size,normalized:attribute.settings.normalized}]:attribute.value}function getAttributeTypeFromSize(size){switch(size){case 1:return"float";case 2:return"vec2";case 3:return"vec3";case 4:return"vec4";default:throw new Error('No defined attribute type for size "'.concat(size,'"'))}}function cycleBuffers(buffers){buffers.push(buffers.shift())}function getAttributeBufferLength(attribute,numInstances){const{doublePrecision,settings,value,size}=attribute,multiplier=doublePrecision&&value instanceof Float64Array?2:1;return(settings.noAlloc?value.length:numInstances*size)*multiplier}function padBuffer({buffer,numInstances,attribute,fromLength,fromStartIndices,getData=x=>x}){const precisionMultiplier=attribute.doublePrecision&&attribute.value instanceof Float64Array?2:1,size=attribute.size*precisionMultiplier,byteOffset=attribute.byteOffset,toStartIndices=attribute.startIndices,hasStartIndices=fromStartIndices&&toStartIndices,toLength=getAttributeBufferLength(attribute,numInstances),isConstant=attribute.isConstant;if(!hasStartIndices&&fromLength>=toLength)return;const toData=isConstant?attribute.value:attribute.getBuffer().getData({srcByteOffset:byteOffset});if(attribute.settings.normalized&&!isConstant){const getter=getData;getData=(value,chunk)=>attribute.normalizeConstant(getter(value,chunk))}const getMissingData=isConstant?(i,chunk)=>getData(toData,chunk):(i,chunk)=>getData(toData.subarray(i,i+size),chunk),source=buffer.getData({length:fromLength}),data=new Float32Array(toLength);!function padArray({source,target,size,getData,sourceStartIndices,targetStartIndices}){if(!Array.isArray(targetStartIndices))return padArrayChunk({source,target,size,getData}),target;let sourceIndex=0,targetIndex=0;const getChunkData=getData&&((i,chunk)=>getData(i+targetIndex,chunk)),n=Math.min(sourceStartIndices.length,targetStartIndices.length);for(let i=1;i<n;i++){const nextSourceIndex=sourceStartIndices[i]*size,nextTargetIndex=targetStartIndices[i]*size;padArrayChunk({source:source.subarray(sourceIndex,nextSourceIndex),target,start:targetIndex,end:nextTargetIndex,size,getData:getChunkData}),sourceIndex=nextSourceIndex,targetIndex=nextTargetIndex}return targetIndex<target.length&&padArrayChunk({source:[],target,start:targetIndex,size,getData:getChunkData}),target}({source,target:data,sourceStartIndices:fromStartIndices,targetStartIndices:toStartIndices,size,getData:getMissingData}),buffer.byteLength<data.byteLength+byteOffset&&buffer.reallocate(data.byteLength+byteOffset),buffer.subData({data,offset:byteOffset})}class Attribute extends DataColumn{constructor(gl,opts){super(gl,opts,{startIndices:null,lastExternalBuffer:null,binaryValue:null,binaryAccessor:null,needsUpdate:!0,needsRedraw:!1,updateRanges:FULL}),(0,defineProperty.c)(this,"constant",!1),this.settings.update=opts.update||(opts.accessor?this._autoUpdater:void 0),Object.seal(this.settings),Object.seal(this.state),this._validateAttributeUpdaters()}get startIndices(){return this.state.startIndices}set startIndices(layout){this.state.startIndices=layout}needsUpdate(){return this.state.needsUpdate}needsRedraw({clearChangedFlags=!1}={}){const needsRedraw=this.state.needsRedraw;return this.state.needsRedraw=needsRedraw&&!clearChangedFlags,needsRedraw}getUpdateTriggers(){const{accessor}=this.settings;return[this.id].concat("function"!=typeof accessor&&accessor||[])}supportsTransition(){return Boolean(this.settings.transition)}getTransitionSetting(opts){if(!opts||!this.supportsTransition())return null;const{accessor}=this.settings,layerSettings=this.settings.transition;return normalizeTransitionSettings(Array.isArray(accessor)?opts[accessor.find((a=>opts[a]))]:opts[accessor],layerSettings)}setNeedsUpdate(reason=this.id,dataRange){if(this.state.needsUpdate=this.state.needsUpdate||reason,this.setNeedsRedraw(reason),dataRange){const{startRow=0,endRow=1/0}=dataRange;this.state.updateRanges=function add(rangeList,range){if(rangeList===FULL)return rangeList;if(range[0]<0&&(range[0]=0),range[0]>=range[1])return rangeList;const newRangeList=[],len=rangeList.length;let insertPosition=0;for(let i=0;i<len;i++){const range0=rangeList[i];range0[1]<range[0]?(newRangeList.push(range0),insertPosition=i+1):range0[0]>range[1]?newRangeList.push(range0):range=[Math.min(range0[0],range[0]),Math.max(range0[1],range[1])]}return newRangeList.splice(insertPosition,0,range),newRangeList}(this.state.updateRanges,[startRow,endRow])}else this.state.updateRanges=FULL}clearNeedsUpdate(){this.state.needsUpdate=!1,this.state.updateRanges=EMPTY}setNeedsRedraw(reason=this.id){this.state.needsRedraw=this.state.needsRedraw||reason}allocate(numInstances){const{state,settings}=this;return!settings.noAlloc&&(!!settings.update&&(super.allocate(numInstances,state.updateRanges!==FULL),!0))}updateBuffer({numInstances,data,props,context}){if(!this.needsUpdate())return!1;const{state:{updateRanges},settings:{update,noAlloc}}=this;let updated=!0;if(update){for(const[startRow,endRow]of updateRanges)update.call(context,this,{data,startRow,endRow,props,numInstances});if(this.value)if(this.constant||this.buffer.byteLength<this.value.byteLength+this.byteOffset)this.setData({value:this.value,constant:this.constant}),this.constant=!1;else for(const[startRow,endRow]of updateRanges){const startOffset=Number.isFinite(startRow)?this.getVertexOffset(startRow):0,endOffset=Number.isFinite(endRow)?this.getVertexOffset(endRow):noAlloc||!Number.isFinite(numInstances)?this.value.length:numInstances*this.size;super.updateSubBuffer({startOffset,endOffset})}else;this._checkAttributeArray()}else updated=!1;return this.clearNeedsUpdate(),this.setNeedsRedraw(),updated}setConstantValue(value){if(void 0===value||"function"==typeof value)return!1;return this.setData({constant:!0,value})&&this.setNeedsRedraw(),this.clearNeedsUpdate(),!0}setExternalBuffer(buffer){const{state}=this;return buffer?(this.clearNeedsUpdate(),state.lastExternalBuffer===buffer||(state.lastExternalBuffer=buffer,this.setNeedsRedraw(),this.setData(buffer)),!0):(state.lastExternalBuffer=null,!1)}setBinaryValue(buffer,startIndices=null){const{state,settings}=this;if(!buffer)return state.binaryValue=null,state.binaryAccessor=null,!1;if(settings.noAlloc)return!1;if(state.binaryValue===buffer)return this.clearNeedsUpdate(),!0;state.binaryValue=buffer,this.setNeedsRedraw();if(settings.transform||startIndices!==this.startIndices){ArrayBuffer.isView(buffer)&&(buffer={value:buffer});const binaryValue=buffer;(0,assert.c)(ArrayBuffer.isView(binaryValue.value),"invalid ".concat(settings.accessor));const needsNormalize=Boolean(binaryValue.size)&&binaryValue.size!==this.size;return state.binaryAccessor=(0,iterable_utils.Su)(binaryValue.value,{size:binaryValue.size||this.size,stride:binaryValue.stride,offset:binaryValue.offset,startIndices,nested:needsNormalize}),!1}return this.clearNeedsUpdate(),this.setData(buffer),!0}getVertexOffset(row){const{startIndices}=this;return(startIndices?startIndices[row]:row)*this.size}getShaderAttributes(){const shaderAttributeDefs=this.settings.shaderAttributes||{[this.id]:null},shaderAttributes={};for(const shaderAttributeName in shaderAttributeDefs)Object.assign(shaderAttributes,super.getShaderAttributes(shaderAttributeName,shaderAttributeDefs[shaderAttributeName]));return shaderAttributes}_autoUpdater(attribute,{data,startRow,endRow,props,numInstances}){if(attribute.constant)return;const{settings,state,value,size,startIndices}=attribute,{accessor,transform}=settings,accessorFunc=state.binaryAccessor||("function"==typeof accessor?accessor:props[accessor]);(0,assert.c)("function"==typeof accessorFunc,'accessor "'.concat(accessor,'" is not a function'));let i=attribute.getVertexOffset(startRow);const{iterable,objectInfo}=(0,iterable_utils.cv)(data,startRow,endRow);for(const object of iterable){objectInfo.index++;let objectValue=accessorFunc(object,objectInfo);if(transform&&(objectValue=transform.call(this,objectValue)),startIndices){const numVertices=(objectInfo.index<startIndices.length-1?startIndices[objectInfo.index+1]:numInstances)-startIndices[objectInfo.index];if(objectValue&&Array.isArray(objectValue[0])){let startIndex=i;for(const item of objectValue)attribute._normalizeValue(item,value,startIndex),startIndex+=size}else objectValue&&objectValue.length>size?value.set(objectValue,i):(attribute._normalizeValue(objectValue,objectInfo.target,0),(0,flatten.m)({target:value,source:objectInfo.target,start:i,count:numVertices}));i+=numVertices*size}else attribute._normalizeValue(objectValue,value,i),i+=size}}_validateAttributeUpdaters(){const{settings}=this;if(!(settings.noAlloc||"function"==typeof settings.update))throw new Error("Attribute ".concat(this.id," missing update or accessor"))}_checkAttributeArray(){const{value}=this,limit=Math.min(4,this.size);if(value&&value.length>=limit){let valid=!0;switch(limit){case 4:valid=valid&&Number.isFinite(value[3]);case 3:valid=valid&&Number.isFinite(value[2]);case 2:valid=valid&&Number.isFinite(value[1]);case 1:valid=valid&&Number.isFinite(value[0]);break;default:valid=!1}if(!valid)throw new Error("Illegal attribute generated for ".concat(this.id))}}}var debug=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/debug/index.js"),utils_assert=__webpack_require__("./node_modules/@luma.gl/shadertools/dist/esm/utils/assert.js");const FS_GLES="out vec4 transform_output;\nvoid main() {\n transform_output = vec4(0);\n}",FS300="#version 300 es\n".concat(FS_GLES);function getQualifierDetails(line,qualifiers){qualifiers=Array.isArray(qualifiers)?qualifiers:[qualifiers];const words=line.replace(/^\s+/,"").split(/\s+/),[qualifier,type,definition]=words;if(!qualifiers.includes(qualifier)||!type||!definition)return null;return{qualifier,type,name:definition.split(";")[0]}}function getPassthroughFS(){let options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{version=100,input,inputType,output}=options;if(!input)return 300===version?FS300:version>300?"#version ".concat(version,"\n").concat(FS_GLES):"void main() {gl_FragColor = vec4(0);}";const outputValue=function convertToVec4(variable,type){switch(type){case"float":return"vec4(".concat(variable,", 0.0, 0.0, 1.0)");case"vec2":return"vec4(".concat(variable,", 0.0, 1.0)");case"vec3":return"vec4(".concat(variable,", 1.0)");case"vec4":return variable;default:return(0,utils_assert.c)(!1),null}}(input,inputType);return version>=300?"#version ".concat(version," ").concat(300===version?"es":"","\nin ").concat(inputType," ").concat(input,";\nout vec4 ").concat(output,";\nvoid main() {\n ").concat(output," = ").concat(outputValue,";\n}"):"varying ".concat(inputType," ").concat(input,";\nvoid main() {\n gl_FragColor = ").concat(outputValue,";\n}")}var esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),transform_feedback=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/transform-feedback.js"),esm_utils_assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");class BufferTransform{constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=gl,this.currentIndex=0,this.feedbackMap={},this.varyings=null,this.bindings=[],this.resources={},this._initialize(props),Object.seal(this)}setupResources(opts){for(const binding of this.bindings)this._setupTransformFeedback(binding,opts)}updateModelProps(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{varyings}=this;return varyings.length>0&&(props=Object.assign({},props,{varyings})),props}getDrawOptions(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const binding=this.bindings[this.currentIndex],{sourceBuffers,transformFeedback}=binding;return{attributes:Object.assign({},sourceBuffers,opts.attributes),transformFeedback}}swap(){return!!this.feedbackMap&&(this.currentIndex=this._getNextIndex(),!0)}update(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setupBuffers(opts)}getBuffer(varyingName){const{feedbackBuffers}=this.bindings[this.currentIndex],bufferOrParams=varyingName?feedbackBuffers[varyingName]:null;return bufferOrParams?bufferOrParams instanceof classes_buffer.c?bufferOrParams:bufferOrParams.buffer:null}getData(){let options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{varyingName}=options,buffer=this.getBuffer(varyingName);return buffer?buffer.getData():null}delete(){for(const name in this.resources)this.resources[name].delete()}_initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setupBuffers(props),this.varyings=props.varyings||Object.keys(this.bindings[this.currentIndex].feedbackBuffers),this.varyings.length>0&&(0,esm_utils_assert.U)((0,esm.Y8)(this.gl))}_getFeedbackBuffers(props){const{sourceBuffers={}}=props,feedbackBuffers={};if(this.bindings[this.currentIndex]&&Object.assign(feedbackBuffers,this.bindings[this.currentIndex].feedbackBuffers),this.feedbackMap)for(const sourceName in this.feedbackMap){const feedbackName=this.feedbackMap[sourceName];sourceName in sourceBuffers&&(feedbackBuffers[feedbackName]=sourceName)}Object.assign(feedbackBuffers,props.feedbackBuffers);for(const bufferName in feedbackBuffers){const bufferOrRef=feedbackBuffers[bufferName];if("string"==typeof bufferOrRef){const sourceBuffer=sourceBuffers[bufferOrRef],{byteLength,usage,accessor}=sourceBuffer;feedbackBuffers[bufferName]=this._createNewBuffer(bufferName,{byteLength,usage,accessor})}}return feedbackBuffers}_setupBuffers(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceBuffers=null}=props;Object.assign(this.feedbackMap,props.feedbackMap);const feedbackBuffers=this._getFeedbackBuffers(props);this._updateBindings({sourceBuffers,feedbackBuffers})}_setupTransformFeedback(binding,_ref){let{model}=_ref;const{program}=model;binding.transformFeedback=new transform_feedback.c(this.gl,{program,buffers:binding.feedbackBuffers})}_updateBindings(opts){if(this.bindings[this.currentIndex]=this._updateBinding(this.bindings[this.currentIndex],opts),this.feedbackMap){const{sourceBuffers,feedbackBuffers}=this._swapBuffers(this.bindings[this.currentIndex]),nextIndex=this._getNextIndex();this.bindings[nextIndex]=this._updateBinding(this.bindings[nextIndex],{sourceBuffers,feedbackBuffers})}}_updateBinding(binding,opts){return binding?(Object.assign(binding.sourceBuffers,opts.sourceBuffers),Object.assign(binding.feedbackBuffers,opts.feedbackBuffers),binding.transformFeedback&&binding.transformFeedback.setBuffers(binding.feedbackBuffers),binding):{sourceBuffers:Object.assign({},opts.sourceBuffers),feedbackBuffers:Object.assign({},opts.feedbackBuffers)}}_swapBuffers(opts){if(!this.feedbackMap)return null;const sourceBuffers=Object.assign({},opts.sourceBuffers),feedbackBuffers=Object.assign({},opts.feedbackBuffers);for(const srcName in this.feedbackMap){const dstName=this.feedbackMap[srcName];sourceBuffers[srcName]=opts.feedbackBuffers[dstName],feedbackBuffers[dstName]=opts.sourceBuffers[srcName],(0,esm_utils_assert.U)(feedbackBuffers[dstName]instanceof classes_buffer.c)}return{sourceBuffers,feedbackBuffers}}_createNewBuffer(name,opts){const buffer=new classes_buffer.c(this.gl,opts);return this.resources[name]&&this.resources[name].delete(),this.resources[name]=buffer,buffer}_getNextIndex(){return(this.currentIndex+1)%2}}var copy_and_blit=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/copy-and-blit.js"),texture_2d=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-2d.js"),classes_framebuffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/framebuffer.js"),texture_utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/texture-utils.js");function getShaderVersion(source){let version=100;const words=source.match(/[^\s]+/g);if(words.length>=2&&"#version"===words[0]){const v=parseInt(words[1],10);Number.isFinite(v)&&(version=v)}return version}var inject_shader=__webpack_require__("./node_modules/@luma.gl/shadertools/dist/esm/lib/inject-shader.js");const transform={name:"transform",vs:"attribute float transform_elementID;\nvec2 transform_getPixelSizeHalf(vec2 size) {\n return vec2(1.) / (2. * size);\n}\n\nvec2 transform_getPixelIndices(vec2 texSize, vec2 pixelSizeHalf) {\n float yIndex = floor((transform_elementID / texSize[0]) + pixelSizeHalf[1]);\n float xIndex = transform_elementID - (yIndex * texSize[0]);\n return vec2(xIndex, yIndex);\n}\nvec2 transform_getTexCoord(vec2 size) {\n vec2 pixelSizeHalf = transform_getPixelSizeHalf(size);\n vec2 indices = transform_getPixelIndices(size, pixelSizeHalf);\n vec2 coord = indices / size + pixelSizeHalf;\n return coord;\n}\nvec2 transform_getPos(vec2 size) {\n vec2 texCoord = transform_getTexCoord(size);\n vec2 pos = (texCoord * (2.0, 2.0)) - (1., 1.);\n return pos;\n}\nvec4 transform_getInput(sampler2D texSampler, vec2 size) {\n vec2 texCoord = transform_getTexCoord(size);\n vec4 textureColor = texture2D(texSampler, texCoord);\n return textureColor;\n}\n",fs:null},SAMPLER_UNIFORM_PREFIX="transform_uSampler_",SIZE_UNIFORM_PREFIX="transform_uSize_";function updateForTextures(_ref){let{vs,sourceTextureMap,targetTextureVarying,targetTexture}=_ref;let sourceCount=Object.keys(sourceTextureMap).length,targetTextureType=null;const samplerTextureMap={};let updatedVs=vs,finalInject={};if(sourceCount>0||targetTextureVarying){const vsLines=updatedVs.split("\n"),updateVsLines=vsLines.slice();if(vsLines.forEach(((line,index,lines)=>{if(sourceCount>0){const updated=function processAttributeDefinition(line,textureMap){const samplerTextureMap={},attributeData=function getAttributeDefinition(line){return getQualifierDetails(line,["attribute","in"])}(line);if(!attributeData)return null;const{type,name}=attributeData;if(name&&textureMap[name]){const updatedLine="// ".concat(line," => Replaced by Transform with a sampler"),{samplerName,sizeName,uniformDeclerations}=function getSamplerDeclerations(textureName){const samplerName="".concat(SAMPLER_UNIFORM_PREFIX).concat(textureName),sizeName="".concat(SIZE_UNIFORM_PREFIX).concat(textureName),uniformDeclerations=" uniform sampler2D ".concat(samplerName,";\n uniform vec2 ").concat(sizeName,";");return{samplerName,sizeName,uniformDeclerations}}(name),channels=function typeToChannelSuffix(type){switch(type){case"float":return"x";case"vec2":return"xy";case"vec3":return"xyz";case"vec4":return"xyzw";default:return(0,utils_assert.c)(!1),null}}(type),sampleInstruction=" ".concat(type," ").concat(name," = transform_getInput(").concat(samplerName,", ").concat(sizeName,").").concat(channels,";\n");samplerTextureMap[samplerName]=name;return{updatedLine,inject:{"vs:#decl":uniformDeclerations,"vs:#main-start":sampleInstruction},samplerTextureMap}}return null}(line,sourceTextureMap);if(updated){const{updatedLine,inject}=updated;updateVsLines[index]=updatedLine,finalInject=(0,inject_shader.u)([finalInject,inject]),Object.assign(samplerTextureMap,updated.samplerTextureMap),sourceCount--}}targetTextureVarying&&!targetTextureType&&(targetTextureType=function getVaryingType(line,varying){const qualaiferDetails=getQualifierDetails(line,["varying","out"]);if(!qualaiferDetails)return null;return qualaiferDetails.name===varying?qualaiferDetails.type:null}(line,targetTextureVarying))})),targetTextureVarying){(0,esm_utils_assert.U)(targetTexture);const sizeName="".concat(SIZE_UNIFORM_PREFIX).concat(targetTextureVarying),inject={"vs:#decl":"uniform vec2 ".concat(sizeName,";\n"),"vs:#main-start":" vec2 ".concat("transform_position"," = transform_getPos(").concat(sizeName,");\n gl_Position = vec4(").concat("transform_position",", 0, 1.);\n")};finalInject=(0,inject_shader.u)([finalInject,inject])}updatedVs=updateVsLines.join("\n")}return{vs:updatedVs,targetTextureType,inject:finalInject,samplerTextureMap}}const SRC_TEX_PARAMETER_OVERRIDES={10241:9728,10240:9728,10242:33071,10243:33071};class TextureTransform{constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=gl,this.id=this.currentIndex=0,this._swapTexture=null,this.targetTextureVarying=null,this.targetTextureType=null,this.samplerTextureMap=null,this.bindings=[],this.resources={},this._initialize(props),Object.seal(this)}updateModelProps(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const updatedModelProps=this._processVertexShader(props);return Object.assign({},props,updatedModelProps)}getDrawOptions(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceBuffers,sourceTextures,framebuffer,targetTexture}=this.bindings[this.currentIndex],attributes=Object.assign({},sourceBuffers,opts.attributes),uniforms=Object.assign({},opts.uniforms),parameters=Object.assign({},opts.parameters);let discard=opts.discard;if(this.hasSourceTextures||this.hasTargetTexture){attributes.transform_elementID=this.elementIDBuffer;for(const sampler in this.samplerTextureMap){const textureName=this.samplerTextureMap[sampler];uniforms[sampler]=sourceTextures[textureName]}this._setSourceTextureParameters();const sizeUniforms=function getSizeUniforms(_ref2){let{sourceTextureMap,targetTextureVarying,targetTexture}=_ref2;const uniforms={};let width,height;targetTextureVarying&&(({width,height}=targetTexture),uniforms["".concat(SIZE_UNIFORM_PREFIX).concat(targetTextureVarying)]=[width,height]);for(const textureName in sourceTextureMap)({width,height}=sourceTextureMap[textureName]),uniforms["".concat(SIZE_UNIFORM_PREFIX).concat(textureName)]=[width,height];return uniforms}({sourceTextureMap:sourceTextures,targetTextureVarying:this.targetTextureVarying,targetTexture});Object.assign(uniforms,sizeUniforms)}return this.hasTargetTexture&&(discard=!1,parameters.viewport=[0,0,framebuffer.width,framebuffer.height]),{attributes,framebuffer,uniforms,discard,parameters}}swap(){return!!this._swapTexture&&(this.currentIndex=this._getNextIndex(),!0)}update(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setupTextures(opts)}getTargetTexture(){const{targetTexture}=this.bindings[this.currentIndex];return targetTexture}getData(){let{packed=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{framebuffer}=this.bindings[this.currentIndex],pixels=(0,copy_and_blit.qi)(framebuffer);if(!packed)return pixels;const ArrayType=pixels.constructor,channelCount=function typeToChannelCount(type){switch(type){case"float":return 1;case"vec2":return 2;case"vec3":return 3;case"vec4":return 4;default:return(0,utils_assert.c)(!1),null}}(this.targetTextureType),packedPixels=new ArrayType(pixels.length*channelCount/4);let packCount=0;for(let i=0;i<pixels.length;i+=4)for(let j=0;j<channelCount;j++)packedPixels[packCount++]=pixels[i+j];return packedPixels}getFramebuffer(){return this.bindings[this.currentIndex].framebuffer}delete(){this.ownTexture&&this.ownTexture.delete(),this.elementIDBuffer&&this.elementIDBuffer.delete()}_initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{_targetTextureVarying,_swapTexture}=props;this._swapTexture=_swapTexture,this.targetTextureVarying=_targetTextureVarying,this.hasTargetTexture=_targetTextureVarying,this._setupTextures(props)}_createTargetTexture(props){const{sourceTextures,textureOrReference}=props;if(textureOrReference instanceof texture_2d.c)return textureOrReference;const refTexture=sourceTextures[textureOrReference];return refTexture?(this._targetRefTexName=textureOrReference,this._createNewTexture(refTexture)):null}_setupTextures(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceBuffers,_sourceTextures={},_targetTexture}=props,targetTexture=this._createTargetTexture({sourceTextures:_sourceTextures,textureOrReference:_targetTexture});this.hasSourceTextures=this.hasSourceTextures||_sourceTextures&&Object.keys(_sourceTextures).length>0,this._updateBindings({sourceBuffers,sourceTextures:_sourceTextures,targetTexture}),"elementCount"in props&&this._updateElementIDBuffer(props.elementCount)}_updateElementIDBuffer(elementCount){if("number"!=typeof elementCount||this.elementCount>=elementCount)return;const elementIds=new Float32Array(elementCount);elementIds.forEach(((_,index,array)=>{array[index]=index})),this.elementIDBuffer?this.elementIDBuffer.setData({data:elementIds}):this.elementIDBuffer=new classes_buffer.c(this.gl,{data:elementIds,accessor:{size:1}}),this.elementCount=elementCount}_updateBindings(opts){if(this.bindings[this.currentIndex]=this._updateBinding(this.bindings[this.currentIndex],opts),this._swapTexture){const{sourceTextures,targetTexture}=this._swapTextures(this.bindings[this.currentIndex]),nextIndex=this._getNextIndex();this.bindings[nextIndex]=this._updateBinding(this.bindings[nextIndex],{sourceTextures,targetTexture})}}_updateBinding(binding,opts){const{sourceBuffers,sourceTextures,targetTexture}=opts;if(binding||(binding={sourceBuffers:{},sourceTextures:{},targetTexture:null}),Object.assign(binding.sourceTextures,sourceTextures),Object.assign(binding.sourceBuffers,sourceBuffers),targetTexture){binding.targetTexture=targetTexture;const{width,height}=targetTexture,{framebuffer}=binding;framebuffer?(framebuffer.update({attachments:{36064:targetTexture},resizeAttachments:!1}),framebuffer.resize({width,height})):binding.framebuffer=new classes_framebuffer.M(this.gl,{id:"transform-framebuffer",width,height,attachments:{36064:targetTexture}})}return binding}_setSourceTextureParameters(){const index=this.currentIndex,{sourceTextures}=this.bindings[index];for(const name in sourceTextures)sourceTextures[name].setParameters(SRC_TEX_PARAMETER_OVERRIDES)}_swapTextures(opts){if(!this._swapTexture)return null;const sourceTextures=Object.assign({},opts.sourceTextures);sourceTextures[this._swapTexture]=opts.targetTexture;return{sourceTextures,targetTexture:opts.sourceTextures[this._swapTexture]}}_createNewTexture(refTexture){const texture=(0,texture_utils.w)(refTexture,{parameters:{10241:9728,10240:9728,10242:33071,10243:33071},pixelStore:{37440:!1}});return this.ownTexture&&this.ownTexture.delete(),this.ownTexture=texture,texture}_getNextIndex(){return(this.currentIndex+1)%2}_processVertexShader(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceTextures,targetTexture}=this.bindings[this.currentIndex],{vs,uniforms,targetTextureType,inject,samplerTextureMap}=updateForTextures({vs:props.vs,sourceTextureMap:sourceTextures,targetTextureVarying:this.targetTextureVarying,targetTexture}),combinedInject=(0,inject_shader.u)([props.inject||{},inject]);this.targetTextureType=targetTextureType,this.samplerTextureMap=samplerTextureMap;return{vs,fs:props._fs||getPassthroughFS({version:getShaderVersion(vs),input:this.targetTextureVarying,inputType:targetTextureType,output:"transform_output"}),modules:this.hasSourceTextures||this.targetTextureVarying?[transform].concat(props.modules||[]):props.modules,uniforms,inject:combinedInject}}}var utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js"),model=__webpack_require__("./node_modules/@luma.gl/engine/dist/esm/lib/model.js");class Transform{static isSupported(gl){return(0,esm.Y8)(gl)}constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=gl,this.model=null,this.elementCount=0,this.bufferTransform=null,this.textureTransform=null,this.elementIDBuffer=null,this._initialize(props),Object.seal(this)}delete(){const{model,bufferTransform,textureTransform}=this;model&&model.delete(),bufferTransform&&bufferTransform.delete(),textureTransform&&textureTransform.delete()}run(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{clearRenderTarget=!0}=opts,updatedOpts=this._updateDrawOptions(opts);clearRenderTarget&&updatedOpts.framebuffer&&updatedOpts.framebuffer.clear({color:!0}),this.model.transform(updatedOpts)}swap(){let swapped=!1;const resourceTransforms=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const resourceTransform of resourceTransforms)swapped=swapped||resourceTransform.swap();(0,esm_utils_assert.U)(swapped,"Nothing to swap")}getBuffer(){let varyingName=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.bufferTransform&&this.bufferTransform.getBuffer(varyingName)}getData(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const resourceTransforms=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const resourceTransform of resourceTransforms){const data=resourceTransform.getData(opts);if(data)return data}return null}getFramebuffer(){return this.textureTransform&&this.textureTransform.getFramebuffer()}update(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"elementCount"in opts&&this.model.setVertexCount(opts.elementCount);const resourceTransforms=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const resourceTransform of resourceTransforms)resourceTransform.update(opts)}_initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{gl}=this;this._buildResourceTransforms(gl,props),props=this._updateModelProps(props),this.model=new model.c(gl,Object.assign({},props,{fs:props.fs||getPassthroughFS({version:getShaderVersion(props.vs)}),id:props.id||"transform-model",drawMode:props.drawMode||0,vertexCount:props.elementCount})),this.bufferTransform&&this.bufferTransform.setupResources({model:this.model})}_updateModelProps(props){let updatedProps=Object.assign({},props);const resourceTransforms=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const resourceTransform of resourceTransforms)updatedProps=resourceTransform.updateModelProps(updatedProps);return updatedProps}_buildResourceTransforms(gl,props){(function canCreateBufferTransform(props){if(!(0,utils._o)(props.feedbackBuffers)||!(0,utils._o)(props.feedbackMap)||props.varyings&&props.varyings.length>0)return!0;return!1})(props)&&(this.bufferTransform=new BufferTransform(gl,props)),function canCreateTextureTransform(props){if(!(0,utils._o)(props._sourceTextures)||props._targetTexture||props._targetTextureVarying)return!0;return!1}(props)&&(this.textureTransform=new TextureTransform(gl,props)),(0,esm_utils_assert.U)(this.bufferTransform||this.textureTransform,"must provide source/feedback buffers or source/target textures")}_updateDrawOptions(opts){let updatedOpts=Object.assign({},opts);const resourceTransforms=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const resourceTransform of resourceTransforms)updatedOpts=Object.assign(updatedOpts,resourceTransform.getDrawOptions(updatedOpts));return updatedOpts}}var transition=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/transitions/transition.js");const gpu_interpolation_transition_vs="\n#define SHADER_NAME interpolation-transition-vertex-shader\n\nuniform float time;\nattribute ATTRIBUTE_TYPE aFrom;\nattribute ATTRIBUTE_TYPE aTo;\nvarying ATTRIBUTE_TYPE vCurrent;\n\nvoid main(void) {\n vCurrent = mix(aFrom, aTo, time);\n gl_Position = vec4(0.0);\n}\n";const TRANSITION_TYPES={interpolation:class GPUInterpolationTransition{constructor({gl,attribute,timeline}){(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"type","interpolation"),(0,defineProperty.c)(this,"attributeInTransition",void 0),(0,defineProperty.c)(this,"settings",void 0),(0,defineProperty.c)(this,"attribute",void 0),(0,defineProperty.c)(this,"transition",void 0),(0,defineProperty.c)(this,"currentStartIndices",void 0),(0,defineProperty.c)(this,"currentLength",void 0),(0,defineProperty.c)(this,"transform",void 0),(0,defineProperty.c)(this,"buffers",void 0),this.gl=gl,this.transition=new transition.c(timeline),this.attribute=attribute,this.attributeInTransition=new Attribute(gl,attribute.settings),this.currentStartIndices=attribute.startIndices,this.currentLength=0,this.transform=function getTransform(gl,attribute){const attributeType=getAttributeTypeFromSize(attribute.size);return new Transform(gl,{vs:gpu_interpolation_transition_vs,defines:{ATTRIBUTE_TYPE:attributeType},varyings:["vCurrent"]})}(gl,attribute);const bufferOpts={byteLength:0,usage:35050};this.buffers=[new classes_buffer.c(gl,bufferOpts),new classes_buffer.c(gl,bufferOpts)]}get inProgress(){return this.transition.inProgress}start(transitionSettings,numInstances){if(transitionSettings.duration<=0)return void this.transition.cancel();this.settings=transitionSettings;const{gl,buffers,attribute}=this;cycleBuffers(buffers);const padBufferOpts={numInstances,attribute,fromLength:this.currentLength,fromStartIndices:this.currentStartIndices,getData:transitionSettings.enter};for(const buffer of buffers)padBuffer({buffer,...padBufferOpts});this.currentStartIndices=attribute.startIndices,this.currentLength=getAttributeBufferLength(attribute,numInstances),this.attributeInTransition.setData({buffer:buffers[1],value:attribute.value}),this.transition.start(transitionSettings),this.transform.update({elementCount:Math.floor(this.currentLength/attribute.size),sourceBuffers:{aFrom:buffers[0],aTo:getSourceBufferAttribute(0,attribute)},feedbackBuffers:{vCurrent:buffers[1]}})}update(){const updated=this.transition.update();if(updated){const{duration,easing}=this.settings,{time}=this.transition;let t=time/duration;easing&&(t=easing(t)),this.transform.run({uniforms:{time:t}})}return updated}cancel(){this.transition.cancel(),this.transform.delete();for(const buffer of this.buffers)buffer.delete();this.buffers.length=0}},spring:class GPUSpringTransition{constructor({gl,attribute,timeline}){(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"type","spring"),(0,defineProperty.c)(this,"attributeInTransition",void 0),(0,defineProperty.c)(this,"settings",void 0),(0,defineProperty.c)(this,"attribute",void 0),(0,defineProperty.c)(this,"transition",void 0),(0,defineProperty.c)(this,"currentStartIndices",void 0),(0,defineProperty.c)(this,"currentLength",void 0),(0,defineProperty.c)(this,"texture",void 0),(0,defineProperty.c)(this,"framebuffer",void 0),(0,defineProperty.c)(this,"transform",void 0),(0,defineProperty.c)(this,"buffers",void 0),this.gl=gl,this.type="spring",this.transition=new transition.c(timeline),this.attribute=attribute,this.attributeInTransition=new Attribute(gl,{...attribute.settings,normalized:!1}),this.currentStartIndices=attribute.startIndices,this.currentLength=0,this.texture=function getTexture(gl){return new texture_2d.c(gl,{data:new Uint8Array(4),format:6408,type:5121,border:0,mipmaps:!1,dataFormat:6408,width:1,height:1})}(gl),this.framebuffer=function getFramebuffer(gl,texture){return new classes_framebuffer.M(gl,{id:"spring-transition-is-transitioning-framebuffer",width:1,height:1,attachments:{36064:texture}})}(gl,this.texture),this.transform=function gpu_spring_transition_getTransform(gl,attribute,framebuffer){const attributeType=getAttributeTypeFromSize(attribute.size);return new Transform(gl,{framebuffer,vs:"\n#define SHADER_NAME spring-transition-vertex-shader\n\n#define EPSILON 0.00001\n\nuniform float stiffness;\nuniform float damping;\nattribute ATTRIBUTE_TYPE aPrev;\nattribute ATTRIBUTE_TYPE aCur;\nattribute ATTRIBUTE_TYPE aTo;\nvarying ATTRIBUTE_TYPE vNext;\nvarying float vIsTransitioningFlag;\n\nATTRIBUTE_TYPE getNextValue(ATTRIBUTE_TYPE cur, ATTRIBUTE_TYPE prev, ATTRIBUTE_TYPE dest) {\n ATTRIBUTE_TYPE velocity = cur - prev;\n ATTRIBUTE_TYPE delta = dest - cur;\n ATTRIBUTE_TYPE spring = delta * stiffness;\n ATTRIBUTE_TYPE damper = velocity * -1.0 * damping;\n return spring + damper + velocity + cur;\n}\n\nvoid main(void) {\n bool isTransitioning = length(aCur - aPrev) > EPSILON || length(aTo - aCur) > EPSILON;\n vIsTransitioningFlag = isTransitioning ? 1.0 : 0.0;\n\n vNext = getNextValue(aCur, aPrev, aTo);\n gl_Position = vec4(0, 0, 0, 1);\n gl_PointSize = 100.0;\n}\n",fs:"\n#define SHADER_NAME spring-transition-is-transitioning-fragment-shader\n\nvarying float vIsTransitioningFlag;\n\nvoid main(void) {\n if (vIsTransitioningFlag == 0.0) {\n discard;\n }\n gl_FragColor = vec4(1.0);\n}",defines:{ATTRIBUTE_TYPE:attributeType},varyings:["vNext"]})}(gl,attribute,this.framebuffer);const bufferOpts={byteLength:0,usage:35050};this.buffers=[new classes_buffer.c(gl,bufferOpts),new classes_buffer.c(gl,bufferOpts),new classes_buffer.c(gl,bufferOpts)]}get inProgress(){return this.transition.inProgress}start(transitionSettings,numInstances){const{gl,buffers,attribute}=this,padBufferOpts={numInstances,attribute,fromLength:this.currentLength,fromStartIndices:this.currentStartIndices,getData:transitionSettings.enter};for(const buffer of buffers)padBuffer({buffer,...padBufferOpts});this.settings=transitionSettings,this.currentStartIndices=attribute.startIndices,this.currentLength=getAttributeBufferLength(attribute,numInstances),this.attributeInTransition.setData({buffer:buffers[1],value:attribute.value}),this.transition.start({...transitionSettings,duration:1/0}),this.transform.update({elementCount:Math.floor(this.currentLength/attribute.size),sourceBuffers:{aTo:getSourceBufferAttribute(0,attribute)}})}update(){const{buffers,transform,framebuffer,transition}=this;if(!transition.update())return!1;const settings=this.settings;transform.update({sourceBuffers:{aPrev:buffers[0],aCur:buffers[1]},feedbackBuffers:{vNext:buffers[2]}}),transform.run({framebuffer,discard:!1,clearRenderTarget:!0,uniforms:{stiffness:settings.stiffness,damping:settings.damping},parameters:{depthTest:!1,blend:!0,viewport:[0,0,1,1],blendFunc:[1,1],blendEquation:[32776,32776]}}),cycleBuffers(buffers),this.attributeInTransition.setData({buffer:buffers[1],value:this.attribute.value});return(0,copy_and_blit.qi)(framebuffer)[0]>0||transition.end(),!0}cancel(){this.transition.cancel(),this.transform.delete();for(const buffer of this.buffers)buffer.delete();this.buffers.length=0,this.texture.delete(),this.framebuffer.delete()}}};class AttributeTransitionManager{constructor(gl,{id,timeline}){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"isSupported",void 0),(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"timeline",void 0),(0,defineProperty.c)(this,"transitions",void 0),(0,defineProperty.c)(this,"needsRedraw",void 0),(0,defineProperty.c)(this,"numInstances",void 0),this.id=id,this.gl=gl,this.timeline=timeline,this.transitions={},this.needsRedraw=!1,this.numInstances=1,this.isSupported=Transform.isSupported(gl)}finalize(){for(const attributeName in this.transitions)this._removeTransition(attributeName)}update({attributes,transitions,numInstances}){this.numInstances=numInstances||1;for(const attributeName in attributes){const attribute=attributes[attributeName],settings=attribute.getTransitionSetting(transitions);settings&&this._updateAttribute(attributeName,attribute,settings)}for(const attributeName in this.transitions){const attribute=attributes[attributeName];attribute&&attribute.getTransitionSetting(transitions)||this._removeTransition(attributeName)}}hasAttribute(attributeName){const transition=this.transitions[attributeName];return transition&&transition.inProgress}getAttributes(){const animatedAttributes={};for(const attributeName in this.transitions){const transition=this.transitions[attributeName];transition.inProgress&&(animatedAttributes[attributeName]=transition.attributeInTransition)}return animatedAttributes}run(){if(!this.isSupported||0===this.numInstances)return!1;for(const attributeName in this.transitions){this.transitions[attributeName].update()&&(this.needsRedraw=!0)}const needsRedraw=this.needsRedraw;return this.needsRedraw=!1,needsRedraw}_removeTransition(attributeName){this.transitions[attributeName].cancel(),delete this.transitions[attributeName]}_updateAttribute(attributeName,attribute,settings){const transition=this.transitions[attributeName];let isNew=!transition||transition.type!==settings.type;if(isNew){if(!this.isSupported)return void log.c.warn("WebGL2 not supported by this browser. Transition for ".concat(attributeName," is disabled."))();transition&&this._removeTransition(attributeName);const TransitionType=TRANSITION_TYPES[settings.type];TransitionType?this.transitions[attributeName]=new TransitionType({attribute,timeline:this.timeline,gl:this.gl}):(log.c.error("unsupported transition type '".concat(settings.type,"'"))(),isNew=!1)}(isNew||attribute.needsRedraw())&&(this.needsRedraw=!0,this.transitions[attributeName].start(settings,this.numInstances))}}class AttributeManager{constructor(gl,{id="attribute-manager",stats,timeline}={}){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"attributes",void 0),(0,defineProperty.c)(this,"updateTriggers",void 0),(0,defineProperty.c)(this,"needsRedraw",void 0),(0,defineProperty.c)(this,"userData",void 0),(0,defineProperty.c)(this,"stats",void 0),(0,defineProperty.c)(this,"attributeTransitionManager",void 0),this.id=id,this.gl=gl,this.attributes={},this.updateTriggers={},this.needsRedraw=!0,this.userData={},this.stats=stats,this.attributeTransitionManager=new AttributeTransitionManager(gl,{id:"".concat(id,"-transitions"),timeline}),Object.seal(this)}finalize(){for(const attributeName in this.attributes)this.attributes[attributeName].delete();this.attributeTransitionManager.finalize()}getNeedsRedraw(opts={clearRedrawFlags:!1}){const redraw=this.needsRedraw;return this.needsRedraw=this.needsRedraw&&!opts.clearRedrawFlags,redraw&&this.id}setNeedsRedraw(){this.needsRedraw=!0}add(attributes){this._add(attributes)}addInstanced(attributes){this._add(attributes,{instanced:1})}remove(attributeNameArray){for(const name of attributeNameArray)void 0!==this.attributes[name]&&(this.attributes[name].delete(),delete this.attributes[name])}invalidate(triggerName,dataRange){const invalidatedAttributes=this._invalidateTrigger(triggerName,dataRange);(0,debug.c)("attributeManager.invalidate",this,triggerName,invalidatedAttributes)}invalidateAll(dataRange){for(const attributeName in this.attributes)this.attributes[attributeName].setNeedsUpdate(attributeName,dataRange);(0,debug.c)("attributeManager.invalidate",this,"all")}update({data,numInstances,startIndices=null,transitions,props={},buffers={},context={}}){let updated=!1;(0,debug.c)("attributeManager.updateStart",this),this.stats&&this.stats.get("Update Attributes").timeStart();for(const attributeName in this.attributes){const attribute=this.attributes[attributeName],accessorName=attribute.settings.accessor;attribute.startIndices=startIndices,attribute.numInstances=numInstances,props[attributeName]&&log.c.removed("props.".concat(attributeName),"data.attributes.".concat(attributeName))(),attribute.setExternalBuffer(buffers[attributeName])||attribute.setBinaryValue("string"==typeof accessorName?buffers[accessorName]:void 0,data.startIndices)||"string"==typeof accessorName&&!buffers[accessorName]&&attribute.setConstantValue(props[accessorName])||attribute.needsUpdate()&&(updated=!0,this._updateAttribute({attribute,numInstances,data,props,context})),this.needsRedraw=this.needsRedraw||attribute.needsRedraw()}updated&&(0,debug.c)("attributeManager.updateEnd",this,numInstances),this.stats&&this.stats.get("Update Attributes").timeEnd(),this.attributeTransitionManager.update({attributes:this.attributes,numInstances,transitions})}updateTransition(){const{attributeTransitionManager}=this,transitionUpdated=attributeTransitionManager.run();return this.needsRedraw=this.needsRedraw||transitionUpdated,transitionUpdated}getAttributes(){return this.attributes}getChangedAttributes(opts={clearChangedFlags:!1}){const{attributes,attributeTransitionManager}=this,changedAttributes={...attributeTransitionManager.getAttributes()};for(const attributeName in attributes){const attribute=attributes[attributeName];attribute.needsRedraw(opts)&&!attributeTransitionManager.hasAttribute(attributeName)&&(changedAttributes[attributeName]=attribute)}return changedAttributes}getShaderAttributes(attributes,excludeAttributes={}){attributes||(attributes=this.getAttributes());const shaderAttributes={};for(const attributeName in attributes)excludeAttributes[attributeName]||Object.assign(shaderAttributes,attributes[attributeName].getShaderAttributes());return shaderAttributes}_add(attributes,extraProps={}){for(const attributeName in attributes){const attribute=attributes[attributeName];this.attributes[attributeName]=this._createAttribute(attributeName,attribute,extraProps)}this._mapUpdateTriggersToAttributes()}_createAttribute(name,attribute,extraProps){const props={...attribute,id:name,size:(attribute.isIndexed?1:attribute.size)||1,divisor:extraProps.instanced?1:attribute.divisor||0};return new Attribute(this.gl,props)}_mapUpdateTriggersToAttributes(){const triggers={};for(const attributeName in this.attributes){this.attributes[attributeName].getUpdateTriggers().forEach((triggerName=>{triggers[triggerName]||(triggers[triggerName]=[]),triggers[triggerName].push(attributeName)}))}this.updateTriggers=triggers}_invalidateTrigger(triggerName,dataRange){const{attributes,updateTriggers}=this,invalidatedAttributes=updateTriggers[triggerName];return invalidatedAttributes&&invalidatedAttributes.forEach((name=>{const attribute=attributes[name];attribute&&attribute.setNeedsUpdate(attribute.id,dataRange)})),invalidatedAttributes}_updateAttribute(opts){const{attribute,numInstances}=opts;if((0,debug.c)("attribute.updateStart",attribute),attribute.constant)return void attribute.setConstantValue(attribute.value);attribute.allocate(numInstances)&&(0,debug.c)("attribute.allocate",attribute,numInstances);attribute.updateBuffer(opts)&&(this.needsRedraw=!0,(0,debug.c)("attribute.updateEnd",attribute,numInstances))}}var common=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js");class CPUInterpolationTransition extends transition.c{get value(){return this._value}_onUpdate(){const{time,settings:{fromValue,toValue,duration,easing}}=this,t=easing(time/duration);this._value=(0,common.Cq)(fromValue,toValue,t)}}function updateSpringElement(prev,cur,dest,damping,stiffness){const velocity=cur-prev;return(dest-cur)*stiffness+-velocity*damping+velocity+cur}function distance(value1,value2){if(Array.isArray(value1)){let distanceSquare=0;for(let i=0;i<value1.length;i++){const d=value1[i]-value2[i];distanceSquare+=d*d}return Math.sqrt(distanceSquare)}return Math.abs(value1-value2)}class CPUSpringTransition extends transition.c{get value(){return this._currValue}_onUpdate(){const{fromValue,toValue,damping,stiffness}=this.settings,{_prevValue=fromValue,_currValue=fromValue}=this;let nextValue=function updateSpring(prev,cur,dest,damping,stiffness){if(Array.isArray(dest)){const next=[];for(let i=0;i<dest.length;i++)next[i]=updateSpringElement(prev[i],cur[i],dest[i],damping,stiffness);return next}return updateSpringElement(prev,cur,dest,damping,stiffness)}(_prevValue,_currValue,toValue,damping,stiffness);const delta=distance(nextValue,toValue),velocity=distance(nextValue,_currValue);delta<1e-5&&velocity<1e-5&&(nextValue=toValue,this.end()),this._prevValue=_currValue,this._currValue=nextValue}}const uniform_transition_manager_TRANSITION_TYPES={interpolation:CPUInterpolationTransition,spring:CPUSpringTransition};class UniformTransitionManager{constructor(timeline){this.transitions=new Map,this.timeline=timeline}get active(){return this.transitions.size>0}add(key,fromValue,toValue,settings){const{transitions}=this;if(transitions.has(key)){const transition=transitions.get(key),{value=transition.settings.fromValue}=transition;fromValue=value,this.remove(key)}if(!(settings=normalizeTransitionSettings(settings)))return;const TransitionType=uniform_transition_manager_TRANSITION_TYPES[settings.type];if(!TransitionType)return void log.c.error("unsupported transition type '".concat(settings.type,"'"))();const transition=new TransitionType(this.timeline);transition.start({...settings,fromValue,toValue}),transitions.set(key,transition)}remove(key){const{transitions}=this;transitions.has(key)&&(transitions.get(key).cancel(),transitions.delete(key))}update(){const propsInTransition={};for(const[key,transition]of this.transitions)transition.update(),propsInTransition[key]=transition.value,transition.inProgress||this.remove(key);return propsInTransition}clear(){for(const key of this.transitions.keys())this.remove(key)}}var lifecycle_constants=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lifecycle/constants.js");function diffProps(props,oldProps){const propsChangedReason=compareProps({newProps:props,oldProps,propTypes:getPropTypes(props),ignoreProps:{data:null,updateTriggers:null,extensions:null,transitions:null}}),dataChangedReason=function diffDataProps(props,oldProps){if(null===oldProps)return"oldProps is null, initial diff";let dataChanged=!1;const{dataComparator,_dataDiff}=props;dataComparator?dataComparator(props.data,oldProps.data)||(dataChanged="Data comparator detected a change"):props.data!==oldProps.data&&(dataChanged="A new data container was supplied");dataChanged&&_dataDiff&&(dataChanged=_dataDiff(props.data,oldProps.data)||dataChanged);return dataChanged}(props,oldProps);let updateTriggersChangedReason=!1;return dataChangedReason||(updateTriggersChangedReason=function diffUpdateTriggers(props,oldProps){if(null===oldProps)return{all:!0};if("all"in props.updateTriggers){if(diffUpdateTrigger(props,oldProps,"all"))return{all:!0}}const reason={};let changed=!1;for(const triggerName in props.updateTriggers)if("all"!==triggerName){diffUpdateTrigger(props,oldProps,triggerName)&&(reason[triggerName]=!0,changed=!0)}return!!changed&&reason}(props,oldProps)),{dataChanged:dataChangedReason,propsChanged:propsChangedReason,updateTriggersChanged:updateTriggersChangedReason,extensionsChanged:diffExtensions(props,oldProps),transitionsChanged:diffTransitions(props,oldProps)}}function diffTransitions(props,oldProps){if(!props.transitions)return!1;const result={},propTypes=getPropTypes(props);let changed=!1;for(const key in props.transitions){const propType=propTypes[key],type=propType&&propType.type;("number"===type||"color"===type||"array"===type)&&comparePropValues(props[key],oldProps[key],propType)&&(result[key]=!0,changed=!0)}return!!changed&&result}function compareProps({newProps,oldProps,ignoreProps={},propTypes={},triggerName="props"}){if(oldProps===newProps)return!1;if("object"!=typeof newProps||null===newProps)return"".concat(triggerName," changed shallowly");if("object"!=typeof oldProps||null===oldProps)return"".concat(triggerName," changed shallowly");for(const key of Object.keys(newProps))if(!(key in ignoreProps)){if(!(key in oldProps))return"".concat(triggerName,".").concat(key," added");const changed=comparePropValues(newProps[key],oldProps[key],propTypes[key]);if(changed)return"".concat(triggerName,".").concat(key," ").concat(changed)}for(const key of Object.keys(oldProps))if(!(key in ignoreProps)){if(!(key in newProps))return"".concat(triggerName,".").concat(key," dropped");if(!Object.hasOwnProperty.call(newProps,key)){const changed=comparePropValues(newProps[key],oldProps[key],propTypes[key]);if(changed)return"".concat(triggerName,".").concat(key," ").concat(changed)}}return!1}function comparePropValues(newProp,oldProp,propType){let equal=propType&&propType.equal;return equal&&!equal(newProp,oldProp,propType)?"changed deeply":equal||(equal=newProp&&oldProp&&newProp.equals,!equal||equal.call(newProp,oldProp))?equal||oldProp===newProp?null:"changed shallowly":"changed deeply"}function diffExtensions(props,oldProps){if(null===oldProps)return!0;const oldExtensions=oldProps.extensions,{extensions}=props;if(extensions===oldExtensions)return!1;if(!oldExtensions||!extensions)return!0;if(extensions.length!==oldExtensions.length)return!0;for(let i=0;i<extensions.length;i++)if(!extensions[i].equals(oldExtensions[i]))return!0;return!1}function diffUpdateTrigger(props,oldProps,triggerName){let newTriggers=props.updateTriggers[triggerName];newTriggers=null==newTriggers?{}:newTriggers;let oldTriggers=oldProps.updateTriggers[triggerName];oldTriggers=null==oldTriggers?{}:oldTriggers;return compareProps({oldProps:oldTriggers,newProps:newTriggers,triggerName})}function getPropTypes(props){const layer=props[lifecycle_constants.ek],LayerType=layer&&layer.constructor;return LayerType?LayerType._propTypes:{}}function count(container){if(!function isObject(value){return null!==value&&"object"==typeof value}(container))throw new Error("count(): argument not an object");if("function"==typeof container.count)return container.count();if(Number.isFinite(container.size))return container.size;if(Number.isFinite(container.length))return container.length;if(function isPlainObject(value){return null!==value&&"object"==typeof value&&value.constructor===Object}(container))return Object.keys(container).length;throw new Error("count(): argument not a container")}var memoize=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/memoize.js");function mergeShaders(target,source){if(!source)return target;const result={...target,...source};if("defines"in source&&(result.defines={...target.defines,...source.defines}),"modules"in source&&(result.modules=(target.modules||[]).concat(source.modules),source.modules.some((module=>"project64"===module.name)))){const index=result.modules.findIndex((module=>"project32"===module.name));index>=0&&result.modules.splice(index,1)}if("inject"in source)if(target.inject){const mergedInjection={...target.inject};for(const key in source.inject)mergedInjection[key]=(mergedInjection[key]||"")+source.inject[key];result.inject=mergedInjection}else result.inject=source.inject;return result}var viewport_uniforms=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/shaderlib/project/viewport-uniforms.js"),web_mercator_viewport=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/viewports/web-mercator-viewport.js"),vec4=__webpack_require__("./node_modules/gl-matrix/esm/vec4.js"),vec3=__webpack_require__("./node_modules/gl-matrix/esm/vec3.js"),dist_esm=__webpack_require__("./node_modules/@math.gl/web-mercator/dist/esm/index.js");function lngLatZToWorldPosition(lngLatZ,viewport,offsetMode=!1){const p=viewport.projectPosition(lngLatZ);if(offsetMode&&viewport instanceof web_mercator_viewport.c){const[longitude,latitude,z=0]=lngLatZ,distanceScales=viewport.getDistanceScales([longitude,latitude]);p[2]=z*distanceScales.unitsPerMeter[2]}return p}function getWorldPosition(position,{viewport,modelMatrix,coordinateSystem,coordinateOrigin,offsetMode}){let[x,y,z=0]=position;switch(modelMatrix&&([x,y,z]=vec4.KE([],[x,y,z,1],modelMatrix)),coordinateSystem){case constants.COORDINATE_SYSTEM.LNGLAT:return lngLatZToWorldPosition([x,y,z],viewport,offsetMode);case constants.COORDINATE_SYSTEM.LNGLAT_OFFSETS:return lngLatZToWorldPosition([x+coordinateOrigin[0],y+coordinateOrigin[1],z+(coordinateOrigin[2]||0)],viewport,offsetMode);case constants.COORDINATE_SYSTEM.METER_OFFSETS:return lngLatZToWorldPosition((0,dist_esm.c7)(coordinateOrigin,[x,y,z]),viewport,offsetMode);case constants.COORDINATE_SYSTEM.CARTESIAN:default:return viewport.isGeospatial?[x+coordinateOrigin[0],y+coordinateOrigin[1],z+coordinateOrigin[2]]:viewport.projectPosition([x,y,z])}}function projectPosition(position,params){const{viewport,coordinateSystem,coordinateOrigin,modelMatrix,fromCoordinateSystem,fromCoordinateOrigin}=function normalizeParameters(opts){const{viewport,modelMatrix,coordinateOrigin}=opts;let{coordinateSystem,fromCoordinateSystem,fromCoordinateOrigin}=opts;return coordinateSystem===constants.COORDINATE_SYSTEM.DEFAULT&&(coordinateSystem=viewport.isGeospatial?constants.COORDINATE_SYSTEM.LNGLAT:constants.COORDINATE_SYSTEM.CARTESIAN),void 0===fromCoordinateSystem&&(fromCoordinateSystem=coordinateSystem),void 0===fromCoordinateOrigin&&(fromCoordinateOrigin=coordinateOrigin),{viewport,coordinateSystem,coordinateOrigin,modelMatrix,fromCoordinateSystem,fromCoordinateOrigin}}(params),{geospatialOrigin,shaderCoordinateOrigin,offsetMode}=(0,viewport_uniforms.W)(viewport,coordinateSystem,coordinateOrigin),worldPosition=getWorldPosition(position,{viewport,modelMatrix,coordinateSystem:fromCoordinateSystem,coordinateOrigin:fromCoordinateOrigin,offsetMode});if(offsetMode){const positionCommonSpace=viewport.projectPosition(geospatialOrigin||shaderCoordinateOrigin);vec3.AT(worldPosition,worldPosition,positionCommonSpace)}return worldPosition}const DEFAULT_TEXTURE_PARAMETERS={10241:9987,10240:9729,10242:33071,10243:33071},internalTextures={};var deep_equal=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/deep-equal.js");const TYPE_DEFINITIONS={boolean:{validate:(value,propType)=>!0,equal:(value1,value2,propType)=>Boolean(value1)===Boolean(value2)},number:{validate:(value,propType)=>Number.isFinite(value)&&(!("max"in propType)||value<=propType.max)&&(!("min"in propType)||value>=propType.min)},color:{validate:(value,propType)=>propType.optional&&!value||isArray(value)&&(3===value.length||4===value.length),equal:(value1,value2,propType)=>arrayEqual(value1,value2)},accessor:{validate(value,propType){const valueType=getTypeOf(value);return"function"===valueType||valueType===getTypeOf(propType.value)},equal:(value1,value2,propType)=>"function"==typeof value2||arrayEqual(value1,value2)},array:{validate:(value,propType)=>propType.optional&&!value||isArray(value),equal:(value1,value2,propType)=>propType.compare?arrayEqual(value1,value2):value1===value2},object:{equal:(value1,value2,propType)=>propType.compare?(0,deep_equal.I)(value1,value2):value1===value2},function:{validate:(value,propType)=>propType.optional&&!value||"function"==typeof value,equal:(value1,value2,propType)=>!propType.compare||value1===value2},data:{transform:(value,propType,component)=>{const{dataTransform}=component.props;return dataTransform&&value?dataTransform(value):value}},image:{transform:(value,propType,component)=>function createTexture(layer,image){const gl=layer.context&&layer.context.gl;if(!gl||!image)return null;if(image instanceof texture_2d.c)return image;image.constructor&&"Object"!==image.constructor.name&&(image={data:image});let specialTextureParameters=null;image.compressed&&(specialTextureParameters={10241:image.data.length>1?9985:9729});const texture=new texture_2d.c(gl,{...image,parameters:{...DEFAULT_TEXTURE_PARAMETERS,...specialTextureParameters,...layer.props.textureParameters}});return internalTextures[texture.id]=!0,texture}(component,value),release:value=>{!function destroyTexture(texture){texture&&texture instanceof texture_2d.c&&internalTextures[texture.id]&&(texture.delete(),delete internalTextures[texture.id])}(value)}}};function arrayEqual(array1,array2){if(array1===array2)return!0;if(!isArray(array1)||!isArray(array2))return!1;const len=array1.length;if(len!==array2.length)return!1;for(let i=0;i<len;i++)if(array1[i]!==array2[i])return!1;return!0}function parsePropType(name,propDef){switch(getTypeOf(propDef)){case"object":return normalizePropDefinition(name,propDef);case"array":return normalizePropDefinition(name,{type:"array",value:propDef,compare:!1});case"boolean":return normalizePropDefinition(name,{type:"boolean",value:propDef});case"number":return normalizePropDefinition(name,{type:"number",value:propDef});case"function":return normalizePropDefinition(name,{type:"function",value:propDef,compare:!0});default:return{name,type:"unknown",value:propDef}}}function normalizePropDefinition(name,propDef){return"type"in propDef?{name,...TYPE_DEFINITIONS[propDef.type],...propDef}:"value"in propDef?{name,type:getTypeOf(propDef.value),...propDef}:{name,type:"object",value:propDef}}function isArray(value){return Array.isArray(value)||ArrayBuffer.isView(value)}function getTypeOf(value){return isArray(value)?"array":null===value?"null":typeof value}function getPropsPrototype(componentClass){const defaultProps=getOwnProperty(componentClass,"_mergedDefaultProps");return defaultProps||(function createPropsPrototypeAndTypes(componentClass){const parent=componentClass.prototype;if(!parent)return;const parentClass=Object.getPrototypeOf(componentClass),parentDefaultProps=getPropsPrototype(parentClass),componentDefaultProps=getOwnProperty(componentClass,"defaultProps")||{},componentPropDefs=function parsePropTypes(propDefs){const propTypes={},defaultProps={},deprecatedProps={};for(const[propName,propDef]of Object.entries(propDefs)){const deprecated=null==propDef?void 0:propDef.deprecatedFor;if(deprecated)deprecatedProps[propName]=Array.isArray(deprecated)?deprecated:[deprecated];else{const propType=parsePropType(propName,propDef);propTypes[propName]=propType,defaultProps[propName]=propType.value}}return{propTypes,defaultProps,deprecatedProps}}(componentDefaultProps),defaultProps=function createPropsPrototype(props,parentProps,componentClass){const defaultProps=Object.create(null);Object.assign(defaultProps,parentProps,props);const id=function getComponentName(componentClass){const componentName=getOwnProperty(componentClass,"layerName")||getOwnProperty(componentClass,"componentName");componentName||log.c.once(0,"".concat(componentClass.name,".componentName not specified"))();return componentName||componentClass.name}(componentClass);return delete props.id,Object.defineProperties(defaultProps,{id:{writable:!0,value:id}}),defaultProps}(componentPropDefs.defaultProps,parentDefaultProps,componentClass),propTypes={...parentClass._propTypes,...componentPropDefs.propTypes};!function addAsyncPropsToPropPrototype(defaultProps,propTypes){const defaultValues={},descriptors={};for(const propName in propTypes){const propType=propTypes[propName],{name,value}=propType;propType.async&&(defaultValues[name]=value,descriptors[name]=getDescriptorForAsyncProp(name))}defaultProps[lifecycle_constants.IF]=defaultValues,defaultProps[lifecycle_constants.nc]={},Object.defineProperties(defaultProps,descriptors)}(defaultProps,propTypes);const deprecatedProps={...parentClass._deprecatedProps,...componentPropDefs.deprecatedProps};(function addDeprecatedPropsToPropPrototype(defaultProps,deprecatedProps){for(const propName in deprecatedProps)Object.defineProperty(defaultProps,propName,{enumerable:!1,set(newValue){const nameStr="".concat(this.id,": ").concat(propName);for(const newPropName of deprecatedProps[propName])create_props_hasOwnProperty(this,newPropName)||(this[newPropName]=newValue);log.c.deprecated(nameStr,deprecatedProps[propName].join("/"))()}})})(defaultProps,deprecatedProps),componentClass._mergedDefaultProps=defaultProps,componentClass._propTypes=propTypes,componentClass._deprecatedProps=deprecatedProps}(componentClass),componentClass._mergedDefaultProps)}function getDescriptorForAsyncProp(name){return{enumerable:!0,set(newValue){"string"==typeof newValue||newValue instanceof Promise||(0,iterable_utils.Ev)(newValue)?this[lifecycle_constants.nc][name]=newValue:this[lifecycle_constants.eE][name]=newValue},get(){if(this[lifecycle_constants.eE]){if(name in this[lifecycle_constants.eE]){return this[lifecycle_constants.eE][name]||this[lifecycle_constants.IF][name]}if(name in this[lifecycle_constants.nc]){const state=this[lifecycle_constants.ek]&&this[lifecycle_constants.ek].internalState;if(state&&state.hasAsyncProp(name))return state.getAsyncProp(name)||this[lifecycle_constants.IF][name]}}return this[lifecycle_constants.IF][name]}}}function create_props_hasOwnProperty(object,prop){return Object.prototype.hasOwnProperty.call(object,prop)}function getOwnProperty(object,prop){return create_props_hasOwnProperty(object,prop)&&object[prop]}let counter=0;class Component{constructor(...propObjects){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"props",void 0),(0,defineProperty.c)(this,"count",void 0),this.props=function createProps(component,propObjects){const propsPrototype=getPropsPrototype(component.constructor),propsInstance=Object.create(propsPrototype);propsInstance[lifecycle_constants.ek]=component,propsInstance[lifecycle_constants.nc]={},propsInstance[lifecycle_constants.eE]={};for(let i=0;i<propObjects.length;++i){const props=propObjects[i];for(const key in props)propsInstance[key]=props[key]}return Object.freeze(propsInstance),propsInstance}(this,propObjects),this.id=this.props.id,this.count=counter++}clone(newProps){const{props}=this,asyncProps={};for(const key in props[lifecycle_constants.IF])key in props[lifecycle_constants.eE]?asyncProps[key]=props[lifecycle_constants.eE][key]:key in props[lifecycle_constants.nc]&&(asyncProps[key]=props[lifecycle_constants.nc][key]);return new this.constructor({...props,...asyncProps,...newProps})}}(0,defineProperty.c)(Component,"componentName","Component"),(0,defineProperty.c)(Component,"defaultProps",{});const EMPTY_PROPS=Object.freeze({});class ComponentState{constructor(component){(0,defineProperty.c)(this,"component",void 0),(0,defineProperty.c)(this,"onAsyncPropUpdated",void 0),(0,defineProperty.c)(this,"asyncProps",void 0),(0,defineProperty.c)(this,"oldProps",void 0),(0,defineProperty.c)(this,"oldAsyncProps",void 0),this.component=component,this.asyncProps={},this.onAsyncPropUpdated=()=>{},this.oldProps=null,this.oldAsyncProps=null}finalize(){for(const propName in this.asyncProps){const asyncProp=this.asyncProps[propName];asyncProp&&asyncProp.type&&asyncProp.type.release&&asyncProp.type.release(asyncProp.resolvedValue,asyncProp.type,this.component)}}getOldProps(){return this.oldAsyncProps||this.oldProps||EMPTY_PROPS}resetOldProps(){this.oldAsyncProps=null,this.oldProps=this.component.props}hasAsyncProp(propName){return propName in this.asyncProps}getAsyncProp(propName){const asyncProp=this.asyncProps[propName];return asyncProp&&asyncProp.resolvedValue}isAsyncPropLoading(propName){if(propName){const asyncProp=this.asyncProps[propName];return Boolean(asyncProp&&asyncProp.pendingLoadCount>0&&asyncProp.pendingLoadCount!==asyncProp.resolvedLoadCount)}for(const key in this.asyncProps)if(this.isAsyncPropLoading(key))return!0;return!1}reloadAsyncProp(propName,value){this._watchPromise(propName,Promise.resolve(value))}setAsyncProps(props){const resolvedValues=props[lifecycle_constants.eE]||{},originalValues=props[lifecycle_constants.nc]||props,defaultValues=props[lifecycle_constants.IF]||{};for(const propName in resolvedValues){const value=resolvedValues[propName];this._createAsyncPropData(propName,defaultValues[propName]),this._updateAsyncProp(propName,value),resolvedValues[propName]=this.getAsyncProp(propName)}for(const propName in originalValues){const value=originalValues[propName];this._createAsyncPropData(propName,defaultValues[propName]),this._updateAsyncProp(propName,value)}}_fetch(propName,url){return null}_onResolve(propName,value){}_onError(propName,error){}_updateAsyncProp(propName,value){this._didAsyncInputValueChange(propName,value)&&("string"==typeof value&&(value=this._fetch(propName,value)),value instanceof Promise?this._watchPromise(propName,value):(0,iterable_utils.Ev)(value)?this._resolveAsyncIterable(propName,value):this._setPropValue(propName,value))}_freezeAsyncOldProps(){if(!this.oldAsyncProps&&this.oldProps){this.oldAsyncProps=Object.create(this.oldProps);for(const propName in this.asyncProps)Object.defineProperty(this.oldAsyncProps,propName,{enumerable:!0,value:this.oldProps[propName]})}}_didAsyncInputValueChange(propName,value){const asyncProp=this.asyncProps[propName];return value!==asyncProp.resolvedValue&&value!==asyncProp.lastValue&&(asyncProp.lastValue=value,!0)}_setPropValue(propName,value){this._freezeAsyncOldProps();const asyncProp=this.asyncProps[propName];asyncProp&&(value=this._postProcessValue(asyncProp,value),asyncProp.resolvedValue=value,asyncProp.pendingLoadCount++,asyncProp.resolvedLoadCount=asyncProp.pendingLoadCount)}_setAsyncPropValue(propName,value,loadCount){const asyncProp=this.asyncProps[propName];asyncProp&&loadCount>=asyncProp.resolvedLoadCount&&void 0!==value&&(this._freezeAsyncOldProps(),asyncProp.resolvedValue=value,asyncProp.resolvedLoadCount=loadCount,this.onAsyncPropUpdated(propName,value))}_watchPromise(propName,promise){const asyncProp=this.asyncProps[propName];if(asyncProp){asyncProp.pendingLoadCount++;const loadCount=asyncProp.pendingLoadCount;promise.then((data=>{data=this._postProcessValue(asyncProp,data),this._setAsyncPropValue(propName,data,loadCount),this._onResolve(propName,data)})).catch((error=>{this._onError(propName,error)}))}}async _resolveAsyncIterable(propName,iterable){if("data"!==propName)return void this._setPropValue(propName,iterable);const asyncProp=this.asyncProps[propName];if(!asyncProp)return;asyncProp.pendingLoadCount++;const loadCount=asyncProp.pendingLoadCount;let data=[],count=0;for await(const chunk of iterable){const{dataTransform}=this.component.props;data=dataTransform?dataTransform(chunk,data):data.concat(chunk),Object.defineProperty(data,"__diff",{enumerable:!1,value:[{startRow:count,endRow:data.length}]}),count=data.length,this._setAsyncPropValue(propName,data,loadCount)}this._onResolve(propName,data)}_postProcessValue(asyncProp,value){const propType=asyncProp.type;return propType&&(propType.release&&propType.release(asyncProp.resolvedValue,propType,this.component),propType.transform)?propType.transform(value,propType,this.component):value}_createAsyncPropData(propName,defaultValue){if(!this.asyncProps[propName]){const propTypes=this.component&&this.component.constructor._propTypes;this.asyncProps[propName]={type:propTypes&&propTypes[propName],lastValue:null,resolvedValue:defaultValue,pendingLoadCount:0,resolvedLoadCount:0}}}}class LayerState extends ComponentState{constructor({attributeManager,layer}){super(layer),(0,defineProperty.c)(this,"attributeManager",void 0),(0,defineProperty.c)(this,"needsRedraw",void 0),(0,defineProperty.c)(this,"needsUpdate",void 0),(0,defineProperty.c)(this,"subLayers",void 0),(0,defineProperty.c)(this,"usesPickingColorCache",void 0),(0,defineProperty.c)(this,"changeFlags",void 0),(0,defineProperty.c)(this,"viewport",void 0),(0,defineProperty.c)(this,"uniformTransitions",void 0),(0,defineProperty.c)(this,"propsInTransition",void 0),this.attributeManager=attributeManager,this.needsRedraw=!0,this.needsUpdate=!0,this.subLayers=null,this.usesPickingColorCache=!1}get layer(){return this.component}set layer(layer){this.component=layer}_fetch(propName,url){const fetch=this.component.props.fetch;return fetch?fetch(url,{propName,layer:this.layer}):super._fetch(propName,url)}_onResolve(propName,value){const onDataLoad=this.component.props.onDataLoad;"data"===propName&&onDataLoad&&onDataLoad(value,{propName,layer:this.layer})}_onError(propName,error){this.layer.raiseError(error,"loading ".concat(propName," of ").concat(this.layer))}}var load=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/api/load.js");const EMPTY_ARRAY=Object.freeze([]),areViewportsEqual=(0,memoize.c)((({oldViewport,viewport})=>oldViewport.equals(viewport)));let pickingColorCache=new Uint8ClampedArray(0);const defaultProps={data:{type:"data",value:EMPTY_ARRAY,async:!0},dataComparator:{type:"function",value:null,compare:!1,optional:!0},_dataDiff:{type:"function",value:data=>data&&data.__diff,compare:!1,optional:!0},dataTransform:{type:"function",value:null,compare:!1,optional:!0},onDataLoad:{type:"function",value:null,compare:!1,optional:!0},onError:{type:"function",value:null,compare:!1,optional:!0},fetch:{type:"function",value:(url,{propName,layer,loaders,loadOptions,signal})=>{const{resourceManager}=layer.context;var _loadOptions;(loadOptions=loadOptions||layer.getLoadOptions(),loaders=loaders||layer.props.loaders,signal)&&(loadOptions={...loadOptions,fetch:{...null===(_loadOptions=loadOptions)||void 0===_loadOptions?void 0:_loadOptions.fetch,signal}});let inResourceManager=resourceManager.contains(url);return inResourceManager||loadOptions||(resourceManager.add({resourceId:url,data:(0,load.A)(url,loaders),persistent:!1}),inResourceManager=!0),inResourceManager?resourceManager.subscribe({resourceId:url,onChange:data=>{var _layer$internalState;return null===(_layer$internalState=layer.internalState)||void 0===_layer$internalState?void 0:_layer$internalState.reloadAsyncProp(propName,data)},consumerId:layer.id,requestId:propName}):(0,load.A)(url,loaders,loadOptions)},compare:!1},updateTriggers:{},visible:!0,pickable:!1,opacity:{type:"number",min:0,max:1,value:1},operation:constants.cd.DRAW,onHover:{type:"function",value:null,compare:!1,optional:!0},onClick:{type:"function",value:null,compare:!1,optional:!0},onDragStart:{type:"function",value:null,compare:!1,optional:!0},onDrag:{type:"function",value:null,compare:!1,optional:!0},onDragEnd:{type:"function",value:null,compare:!1,optional:!0},coordinateSystem:constants.COORDINATE_SYSTEM.DEFAULT,coordinateOrigin:{type:"array",value:[0,0,0],compare:!0},modelMatrix:{type:"array",value:null,compare:!0,optional:!0},wrapLongitude:!1,positionFormat:"XYZ",colorFormat:"RGBA",parameters:{type:"object",value:{},optional:!0,compare:!0},transitions:null,extensions:[],loaders:{type:"array",value:[],optional:!0,compare:!0},getPolygonOffset:{type:"function",value:({layerIndex})=>[0,100*-layerIndex],compare:!1},highlightedObjectIndex:null,autoHighlight:!1,highlightColor:{type:"accessor",value:[0,0,128,128]}};class Layer extends Component{constructor(...args){super(...args),(0,defineProperty.c)(this,"internalState",null),(0,defineProperty.c)(this,"lifecycle",lifecycle_constants.$G.NO_STATE),(0,defineProperty.c)(this,"context",void 0),(0,defineProperty.c)(this,"state",void 0),(0,defineProperty.c)(this,"parent",null)}get root(){let layer=this;for(;layer.parent;)layer=layer.parent;return layer}toString(){const className=this.constructor.layerName||this.constructor.name;return"".concat(className,"({id: '").concat(this.props.id,"'})")}project(xyz){(0,assert.c)(this.internalState);const viewport=this.internalState.viewport||this.context.viewport,worldPosition=getWorldPosition(xyz,{viewport,modelMatrix:this.props.modelMatrix,coordinateOrigin:this.props.coordinateOrigin,coordinateSystem:this.props.coordinateSystem}),[x,y,z]=(0,dist_esm.CO)(worldPosition,viewport.pixelProjectionMatrix);return 2===xyz.length?[x,y]:[x,y,z]}unproject(xy){(0,assert.c)(this.internalState);return(this.internalState.viewport||this.context.viewport).unproject(xy)}projectPosition(xyz,params){(0,assert.c)(this.internalState);return projectPosition(xyz,{viewport:this.internalState.viewport||this.context.viewport,modelMatrix:this.props.modelMatrix,coordinateOrigin:this.props.coordinateOrigin,coordinateSystem:this.props.coordinateSystem,...params})}get isComposite(){return!1}setState(partialState){this.setChangeFlags({stateChanged:!0}),Object.assign(this.state,partialState),this.setNeedsRedraw()}setNeedsRedraw(){this.internalState&&(this.internalState.needsRedraw=!0)}setNeedsUpdate(){this.internalState&&(this.context.layerManager.setNeedsUpdate(String(this)),this.internalState.needsUpdate=!0)}get isLoaded(){return!!this.internalState&&!this.internalState.isAsyncPropLoading()}get wrapLongitude(){return this.props.wrapLongitude}isPickable(){return this.props.pickable&&this.props.visible}getModels(){return this.state&&(this.state.models||this.state.model&&[this.state.model])||[]}setModuleParameters(moduleParameters){for(const model of this.getModels())model.updateModuleSettings(moduleParameters)}getAttributeManager(){return this.internalState&&this.internalState.attributeManager}getCurrentLayer(){return this.internalState&&this.internalState.layer}getLoadOptions(){return this.props.loadOptions}use64bitPositions(){const{coordinateSystem}=this.props;return coordinateSystem===constants.COORDINATE_SYSTEM.DEFAULT||coordinateSystem===constants.COORDINATE_SYSTEM.LNGLAT||coordinateSystem===constants.COORDINATE_SYSTEM.CARTESIAN}onHover(info,pickingEvent){return this.props.onHover&&this.props.onHover(info,pickingEvent)||!1}onClick(info,pickingEvent){return this.props.onClick&&this.props.onClick(info,pickingEvent)||!1}nullPickingColor(){return[0,0,0]}encodePickingColor(i,target=[]){return target[0]=i+1&255,target[1]=i+1>>8&255,target[2]=i+1>>8>>8&255,target}decodePickingColor(color){(0,assert.c)(color instanceof Uint8Array);const[i1,i2,i3]=color;return i1+256*i2+65536*i3-1}getNumInstances(){return Number.isFinite(this.props.numInstances)?this.props.numInstances:this.state&&void 0!==this.state.numInstances?this.state.numInstances:count(this.props.data)}getStartIndices(){return this.props.startIndices?this.props.startIndices:this.state&&this.state.startIndices?this.state.startIndices:null}getBounds(){var _ref;const attributeManager=this.getAttributeManager();if(!attributeManager)return null;const{positions,instancePositions}=attributeManager.attributes;return null===(_ref=positions||instancePositions)||void 0===_ref?void 0:_ref.getBounds()}getShaders(shaders){for(const extension of this.props.extensions)shaders=mergeShaders(shaders,extension.getShaders.call(this,extension));return shaders}shouldUpdateState(params){return params.changeFlags.propsOrDataChanged}updateState(params){const attributeManager=this.getAttributeManager(),{dataChanged}=params.changeFlags;if(dataChanged&&attributeManager)if(Array.isArray(dataChanged))for(const dataRange of dataChanged)attributeManager.invalidateAll(dataRange);else attributeManager.invalidateAll();const{props,oldProps}=params,neededPickingBuffer=Number.isInteger(oldProps.highlightedObjectIndex)||oldProps.pickable,needPickingBuffer=Number.isInteger(props.highlightedObjectIndex)||props.pickable;if(neededPickingBuffer!==needPickingBuffer&&attributeManager){const{pickingColors,instancePickingColors}=attributeManager.attributes,pickingColorsAttribute=pickingColors||instancePickingColors;pickingColorsAttribute&&(needPickingBuffer&&pickingColorsAttribute.constant&&(pickingColorsAttribute.constant=!1,attributeManager.invalidate(pickingColorsAttribute.id)),pickingColorsAttribute.value||needPickingBuffer||(pickingColorsAttribute.constant=!0,pickingColorsAttribute.value=[0,0,0]))}}finalizeState(context){for(const model of this.getModels())model.delete();const attributeManager=this.getAttributeManager();attributeManager&&attributeManager.finalize(),this.context&&this.context.resourceManager.unsubscribe({consumerId:this.id}),this.internalState&&(this.internalState.uniformTransitions.clear(),this.internalState.finalize())}draw(opts){for(const model of this.getModels())model.draw(opts)}getPickingInfo({info,mode,sourceLayer}){const{index}=info;return index>=0&&Array.isArray(this.props.data)&&(info.object=this.props.data[index]),info}raiseError(error,message){var _this$props$onError,_this$props,_this$context,_this$context$onError;(message&&(error.message="".concat(message,": ").concat(error.message)),null!==(_this$props$onError=(_this$props=this.props).onError)&&void 0!==_this$props$onError&&_this$props$onError.call(_this$props,error))||(null===(_this$context=this.context)||void 0===_this$context||null===(_this$context$onError=_this$context.onError)||void 0===_this$context$onError||_this$context$onError.call(_this$context,error,this))}getNeedsRedraw(opts={clearRedrawFlags:!1}){return this._getNeedsRedraw(opts)}needsUpdate(){return!!this.internalState&&(this.internalState.needsUpdate||this.hasUniformTransition()||this.shouldUpdateState(this._getUpdateParams()))}hasUniformTransition(){var _this$internalState;return(null===(_this$internalState=this.internalState)||void 0===_this$internalState?void 0:_this$internalState.uniformTransitions.active)||!1}activateViewport(viewport){if(!this.internalState)return;const oldViewport=this.internalState.viewport;this.internalState.viewport=viewport,oldViewport&&areViewportsEqual({oldViewport,viewport})||(this.setChangeFlags({viewportChanged:!0}),this.isComposite?this.needsUpdate()&&this.setNeedsUpdate():this._update())}invalidateAttribute(name="all"){const attributeManager=this.getAttributeManager();attributeManager&&("all"===name?attributeManager.invalidateAll():attributeManager.invalidate(name))}updateAttributes(changedAttributes){for(const model of this.getModels())this._setModelAttributes(model,changedAttributes)}_updateAttributes(){const attributeManager=this.getAttributeManager();if(!attributeManager)return;const props=this.props,numInstances=this.getNumInstances(),startIndices=this.getStartIndices();attributeManager.update({data:props.data,numInstances,startIndices,props,transitions:props.transitions,buffers:props.data.attributes,context:this});const changedAttributes=attributeManager.getChangedAttributes({clearChangedFlags:!0});this.updateAttributes(changedAttributes)}_updateAttributeTransition(){const attributeManager=this.getAttributeManager();attributeManager&&attributeManager.updateTransition()}_updateUniformTransition(){const{uniformTransitions}=this.internalState;if(uniformTransitions.active){const propsInTransition=uniformTransitions.update(),props=Object.create(this.props);for(const key in propsInTransition)Object.defineProperty(props,key,{value:propsInTransition[key]});return props}return this.props}calculateInstancePickingColors(attribute,{numInstances}){if(attribute.constant)return;const cacheSize=Math.floor(pickingColorCache.length/3);if(this.internalState.usesPickingColorCache=!0,cacheSize<numInstances){numInstances>16777215&&log.c.warn("Layer has too many data objects. Picking might not be able to distinguish all objects.")(),pickingColorCache=typed_array_manager.c.allocate(pickingColorCache,numInstances,{size:3,copy:!0,maxCount:Math.max(numInstances,16777215)});const newCacheSize=Math.floor(pickingColorCache.length/3),pickingColor=[];for(let i=cacheSize;i<newCacheSize;i++)this.encodePickingColor(i,pickingColor),pickingColorCache[3*i+0]=pickingColor[0],pickingColorCache[3*i+1]=pickingColor[1],pickingColorCache[3*i+2]=pickingColor[2]}attribute.value=pickingColorCache.subarray(0,3*numInstances)}_setModelAttributes(model,changedAttributes){const attributeManager=this.getAttributeManager(),excludeAttributes=model.userData.excludeAttributes||{},shaderAttributes=attributeManager.getShaderAttributes(changedAttributes,excludeAttributes);model.setAttributes(shaderAttributes)}disablePickingIndex(objectIndex){this._disablePickingIndex(objectIndex)}_disablePickingIndex(objectIndex){const{pickingColors,instancePickingColors}=this.getAttributeManager().attributes,colors=pickingColors||instancePickingColors;if(!colors)return;const start=colors.getVertexOffset(objectIndex),end=colors.getVertexOffset(objectIndex+1);colors.buffer.subData({data:new Uint8Array(end-start),offset:start})}restorePickingColors(){const{pickingColors,instancePickingColors}=this.getAttributeManager().attributes,colors=pickingColors||instancePickingColors;colors&&(this.internalState.usesPickingColorCache&&colors.value.buffer!==pickingColorCache.buffer&&(colors.value=pickingColorCache.subarray(0,colors.value.length)),colors.updateSubBuffer({startOffset:0}))}_initialize(){(0,assert.c)(!this.internalState),(0,assert.c)(Number.isFinite(this.props.coordinateSystem)),(0,debug.c)("layer.initialize",this);const attributeManager=this._getAttributeManager();attributeManager&&attributeManager.addInstanced({instancePickingColors:{type:5121,size:3,noAlloc:!0,update:this.calculateInstancePickingColors}}),this.internalState=new LayerState({attributeManager,layer:this}),this._clearChangeFlags(),this.state={},Object.defineProperty(this.state,"attributeManager",{get:()=>(log.c.deprecated("layer.state.attributeManager","layer.getAttributeManager()")(),attributeManager)}),this.internalState.layer=this,this.internalState.uniformTransitions=new UniformTransitionManager(this.context.timeline),this.internalState.onAsyncPropUpdated=this._onAsyncPropUpdated.bind(this),this.internalState.setAsyncProps(this.props),this.initializeState(this.context);for(const extension of this.props.extensions)extension.initializeState.call(this,this.context,extension);this.setChangeFlags({dataChanged:"init",propsChanged:"init",viewportChanged:!0,extensionsChanged:!0}),this._update()}_transferState(oldLayer){(0,debug.c)("layer.matched",this,this===oldLayer);const{state,internalState}=oldLayer;this!==oldLayer&&(this.internalState=internalState,this.internalState.layer=this,this.state=state,this.internalState.setAsyncProps(this.props),this._diffProps(this.props,this.internalState.getOldProps()))}_update(){const stateNeedsUpdate=this.needsUpdate();if((0,debug.c)("layer.update",this,stateNeedsUpdate),!stateNeedsUpdate)return;const currentProps=this.props,context=this.context,internalState=this.internalState,currentViewport=context.viewport,propsInTransition=this._updateUniformTransition();internalState.propsInTransition=propsInTransition,context.viewport=internalState.viewport||currentViewport,this.props=propsInTransition;try{const updateParams=this._getUpdateParams(),oldModels=this.getModels();if(context.gl)this.updateState(updateParams);else try{this.updateState(updateParams)}catch(error){}for(const extension of this.props.extensions)extension.updateState.call(this,updateParams,extension);const modelChanged=this.getModels()[0]!==oldModels[0];this._postUpdate(updateParams,modelChanged)}finally{context.viewport=currentViewport,this.props=currentProps,this._clearChangeFlags(),internalState.needsUpdate=!1,internalState.resetOldProps()}}_finalize(){(0,debug.c)("layer.finalize",this),this.finalizeState(this.context);for(const extension of this.props.extensions)extension.finalizeState.call(this,extension)}_drawLayer({moduleParameters=null,uniforms={},parameters={}}){this._updateAttributeTransition();const currentProps=this.props,context=this.context;this.props=this.internalState.propsInTransition||currentProps;const opacity=this.props.opacity;uniforms.opacity=Math.pow(opacity,1/2.2);try{moduleParameters&&this.setModuleParameters(moduleParameters);const{getPolygonOffset}=this.props,offsets=getPolygonOffset&&getPolygonOffset(uniforms)||[0,0];(0,esm.Gm)(context.gl,{polygonOffset:offsets}),(0,esm.Qx)(context.gl,parameters,(()=>{const opts={moduleParameters,uniforms,parameters,context};for(const extension of this.props.extensions)extension.draw.call(this,opts,extension);this.draw(opts)}))}finally{this.props=currentProps}}getChangeFlags(){var _this$internalState2;return null===(_this$internalState2=this.internalState)||void 0===_this$internalState2?void 0:_this$internalState2.changeFlags}setChangeFlags(flags){if(!this.internalState)return;const{changeFlags}=this.internalState;for(const key in flags)if(flags[key]){let flagChanged=!1;if("dataChanged"===key){const dataChangedReason=flags[key],prevDataChangedReason=changeFlags[key];dataChangedReason&&Array.isArray(prevDataChangedReason)&&(changeFlags.dataChanged=Array.isArray(dataChangedReason)?prevDataChangedReason.concat(dataChangedReason):dataChangedReason,flagChanged=!0)}changeFlags[key]||(changeFlags[key]=flags[key],flagChanged=!0),flagChanged&&(0,debug.c)("layer.changeFlag",this,key,flags)}const propsOrDataChanged=Boolean(changeFlags.dataChanged||changeFlags.updateTriggersChanged||changeFlags.propsChanged||changeFlags.extensionsChanged);changeFlags.propsOrDataChanged=propsOrDataChanged,changeFlags.somethingChanged=propsOrDataChanged||changeFlags.viewportChanged||changeFlags.stateChanged}_clearChangeFlags(){this.internalState.changeFlags={dataChanged:!1,propsChanged:!1,updateTriggersChanged:!1,viewportChanged:!1,stateChanged:!1,extensionsChanged:!1,propsOrDataChanged:!1,somethingChanged:!1}}_diffProps(newProps,oldProps){const changeFlags=diffProps(newProps,oldProps);if(changeFlags.updateTriggersChanged)for(const key in changeFlags.updateTriggersChanged)changeFlags.updateTriggersChanged[key]&&this.invalidateAttribute(key);if(changeFlags.transitionsChanged)for(const key in changeFlags.transitionsChanged){var _newProps$transitions;this.internalState.uniformTransitions.add(key,oldProps[key],newProps[key],null===(_newProps$transitions=newProps.transitions)||void 0===_newProps$transitions?void 0:_newProps$transitions[key])}return this.setChangeFlags(changeFlags)}validateProps(){!function validateProps(props){const propTypes=getPropTypes(props);for(const propName in propTypes){const propType=propTypes[propName],{validate}=propType;if(validate&&!validate(props[propName],propType))throw new Error("Invalid prop ".concat(propName,": ").concat(props[propName]))}}(this.props)}updateAutoHighlight(info){this.props.autoHighlight&&!Number.isInteger(this.props.highlightedObjectIndex)&&this._updateAutoHighlight(info)}_updateAutoHighlight(info){const pickingModuleParameters={pickingSelectedColor:info.picked?info.color:null},{highlightColor}=this.props;info.picked&&"function"==typeof highlightColor&&(pickingModuleParameters.pickingHighlightColor=highlightColor(info)),this.setModuleParameters(pickingModuleParameters),this.setNeedsRedraw()}_getAttributeManager(){const context=this.context;return new AttributeManager(context.gl,{id:this.props.id,stats:context.stats,timeline:context.timeline})}_postUpdate(updateParams,forceUpdate){const{props,oldProps}=updateParams;this.setNeedsRedraw(),this._updateAttributes();const{model}=this.state;null==model||model.setInstanceCount(this.getNumInstances());const{autoHighlight,highlightedObjectIndex,highlightColor}=props;if(forceUpdate||oldProps.autoHighlight!==autoHighlight||oldProps.highlightedObjectIndex!==highlightedObjectIndex||oldProps.highlightColor!==highlightColor){const parameters={};autoHighlight||(parameters.pickingSelectedColor=null),Array.isArray(highlightColor)&&(parameters.pickingHighlightColor=highlightColor),Number.isInteger(highlightedObjectIndex)&&(parameters.pickingSelectedColor=Number.isFinite(highlightedObjectIndex)&&highlightedObjectIndex>=0?this.encodePickingColor(highlightedObjectIndex):null),this.setModuleParameters(parameters)}}_getUpdateParams(){return{props:this.props,oldProps:this.internalState.getOldProps(),context:this.context,changeFlags:this.internalState.changeFlags}}_getNeedsRedraw(opts){if(!this.internalState)return!1;let redraw=!1;redraw=redraw||this.internalState.needsRedraw&&this.id,this.internalState.needsRedraw=this.internalState.needsRedraw&&!opts.clearRedrawFlags;const attributeManager=this.getAttributeManager(),attributeManagerNeedsRedraw=!!attributeManager&&attributeManager.getNeedsRedraw(opts);return redraw=redraw||attributeManagerNeedsRedraw,redraw}_onAsyncPropUpdated(){this._diffProps(this.props,this.internalState.getOldProps()),this.setNeedsUpdate()}}(0,defineProperty.c)(Layer,"defaultProps",defaultProps),(0,defineProperty.c)(Layer,"layerName","Layer")},"./node_modules/@deck.gl/core/dist/esm/lifecycle/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$G:()=>LIFECYCLE,IF:()=>ASYNC_DEFAULTS_SYMBOL,eE:()=>ASYNC_RESOLVED_SYMBOL,ek:()=>COMPONENT_SYMBOL,nc:()=>ASYNC_ORIGINAL_SYMBOL});const LIFECYCLE={NO_STATE:"Awaiting state",MATCHED:"Matched. State transferred from previous layer",INITIALIZED:"Initialized",AWAITING_GC:"Discarded. Awaiting garbage collection",AWAITING_FINALIZATION:"No longer matched. Awaiting garbage collection",FINALIZED:"Finalized! Awaiting garbage collection"},COMPONENT_SYMBOL=Symbol.for("component"),ASYNC_DEFAULTS_SYMBOL=Symbol.for("asyncPropDefaults"),ASYNC_ORIGINAL_SYMBOL=Symbol.for("asyncPropOriginal"),ASYNC_RESOLVED_SYMBOL=Symbol.for("asyncPropResolved")},"./node_modules/@deck.gl/core/dist/esm/shaderlib/project/project.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>project});const fp32={name:"fp32",vs:"#ifdef LUMA_FP32_TAN_PRECISION_WORKAROUND\nconst float TWO_PI = 6.2831854820251465;\nconst float PI_2 = 1.5707963705062866;\nconst float PI_16 = 0.1963495463132858;\n\nconst float SIN_TABLE_0 = 0.19509032368659973;\nconst float SIN_TABLE_1 = 0.3826834261417389;\nconst float SIN_TABLE_2 = 0.5555702447891235;\nconst float SIN_TABLE_3 = 0.7071067690849304;\n\nconst float COS_TABLE_0 = 0.9807852506637573;\nconst float COS_TABLE_1 = 0.9238795042037964;\nconst float COS_TABLE_2 = 0.8314695954322815;\nconst float COS_TABLE_3 = 0.7071067690849304;\n\nconst float INVERSE_FACTORIAL_3 = 1.666666716337204e-01;\nconst float INVERSE_FACTORIAL_5 = 8.333333767950535e-03;\nconst float INVERSE_FACTORIAL_7 = 1.9841270113829523e-04;\nconst float INVERSE_FACTORIAL_9 = 2.75573188446287533e-06;\n\nfloat sin_taylor_fp32(float a) {\n float r, s, t, x;\n\n if (a == 0.0) {\n return 0.0;\n }\n\n x = -a * a;\n s = a;\n r = a;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_3;\n s = s + t;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_5;\n s = s + t;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_7;\n s = s + t;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_9;\n s = s + t;\n\n return s;\n}\n\nvoid sincos_taylor_fp32(float a, out float sin_t, out float cos_t) {\n if (a == 0.0) {\n sin_t = 0.0;\n cos_t = 1.0;\n }\n sin_t = sin_taylor_fp32(a);\n cos_t = sqrt(1.0 - sin_t * sin_t);\n}\n\nfloat tan_taylor_fp32(float a) {\n float sin_a;\n float cos_a;\n\n if (a == 0.0) {\n return 0.0;\n }\n float z = floor(a / TWO_PI);\n float r = a - TWO_PI * z;\n\n float t;\n float q = floor(r / PI_2 + 0.5);\n int j = int(q);\n\n if (j < -2 || j > 2) {\n return 1.0 / 0.0;\n }\n\n t = r - PI_2 * q;\n\n q = floor(t / PI_16 + 0.5);\n int k = int(q);\n int abs_k = int(abs(float(k)));\n\n if (abs_k > 4) {\n return 1.0 / 0.0;\n } else {\n t = t - PI_16 * q;\n }\n\n float u = 0.0;\n float v = 0.0;\n\n float sin_t, cos_t;\n float s, c;\n sincos_taylor_fp32(t, sin_t, cos_t);\n\n if (k == 0) {\n s = sin_t;\n c = cos_t;\n } else {\n if (abs(float(abs_k) - 1.0) < 0.5) {\n u = COS_TABLE_0;\n v = SIN_TABLE_0;\n } else if (abs(float(abs_k) - 2.0) < 0.5) {\n u = COS_TABLE_1;\n v = SIN_TABLE_1;\n } else if (abs(float(abs_k) - 3.0) < 0.5) {\n u = COS_TABLE_2;\n v = SIN_TABLE_2;\n } else if (abs(float(abs_k) - 4.0) < 0.5) {\n u = COS_TABLE_3;\n v = SIN_TABLE_3;\n }\n if (k > 0) {\n s = u * sin_t + v * cos_t;\n c = u * cos_t - v * sin_t;\n } else {\n s = u * sin_t - v * cos_t;\n c = u * cos_t + v * sin_t;\n }\n }\n\n if (j == 0) {\n sin_a = s;\n cos_a = c;\n } else if (j == 1) {\n sin_a = c;\n cos_a = -s;\n } else if (j == -1) {\n sin_a = -c;\n cos_a = s;\n } else {\n sin_a = -s;\n cos_a = -c;\n }\n return sin_a / cos_a;\n}\n#endif\n\nfloat tan_fp32(float a) {\n#ifdef LUMA_FP32_TAN_PRECISION_WORKAROUND\n return tan_taylor_fp32(a);\n#else\n return tan(a);\n#endif\n}\n",fs:null},defines="#define SMOOTH_EDGE_RADIUS 0.5",geometry={name:"geometry",vs:"\n".concat(defines,"\n\nstruct VertexGeometry {\n vec4 position;\n vec3 worldPosition;\n vec3 worldPositionAlt;\n vec3 normal;\n vec2 uv;\n vec3 pickingColor;\n} geometry = VertexGeometry(\n vec4(0.0, 0.0, 1.0, 0.0),\n vec3(0.0),\n vec3(0.0),\n vec3(0.0),\n vec2(0.0),\n vec3(0.0)\n);\n"),fs:"\n".concat(defines,"\n\nstruct FragmentGeometry {\n vec2 uv;\n} geometry;\n\nfloat smoothedge(float edge, float x) {\n return smoothstep(edge - SMOOTH_EDGE_RADIUS, edge + SMOOTH_EDGE_RADIUS, x);\n}\n")};var constants=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/constants.js");const COORDINATE_SYSTEM_GLSL_CONSTANTS=Object.keys(constants.COORDINATE_SYSTEM).map((key=>"const int COORDINATE_SYSTEM_".concat(key," = ").concat(constants.COORDINATE_SYSTEM[key],";"))).join(""),PROJECTION_MODE_GLSL_CONSTANTS=Object.keys(constants.Yt).map((key=>"const int PROJECTION_MODE_".concat(key," = ").concat(constants.Yt[key],";"))).join(""),UNIT_GLSL_CONSTANTS=Object.keys(constants.iM).map((key=>"const int UNIT_".concat(key.toUpperCase()," = ").concat(constants.iM[key],";"))).join(""),project_glsl="".concat(COORDINATE_SYSTEM_GLSL_CONSTANTS,"\n").concat(PROJECTION_MODE_GLSL_CONSTANTS,"\n").concat(UNIT_GLSL_CONSTANTS,'\n\nuniform int project_uCoordinateSystem;\nuniform int project_uProjectionMode;\nuniform float project_uScale;\nuniform bool project_uWrapLongitude;\nuniform vec3 project_uCommonUnitsPerMeter;\nuniform vec3 project_uCommonUnitsPerWorldUnit;\nuniform vec3 project_uCommonUnitsPerWorldUnit2;\nuniform vec4 project_uCenter;\nuniform mat4 project_uModelMatrix;\nuniform mat4 project_uViewProjectionMatrix;\nuniform vec2 project_uViewportSize;\nuniform float project_uDevicePixelRatio;\nuniform float project_uFocalDistance;\nuniform vec3 project_uCameraPosition;\nuniform vec3 project_uCoordinateOrigin;\nuniform vec3 project_uCommonOrigin;\nuniform bool project_uPseudoMeters;\n\nconst float TILE_SIZE = 512.0;\nconst float PI = 3.1415926536;\nconst float WORLD_SCALE = TILE_SIZE / (PI * 2.0);\nconst vec3 ZERO_64_LOW = vec3(0.0);\nconst float EARTH_RADIUS = 6370972.0; // meters\nconst float GLOBE_RADIUS = 256.0;\n\n// returns an adjustment factor for uCommonUnitsPerMeter\nfloat project_size() {\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR &&\n project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT &&\n project_uPseudoMeters == false) {\n\n // uCommonUnitsPerMeter in low-zoom Web Mercator is non-linear\n // Adjust by 1 / cos(latitude)\n // If geometry.position (vertex in common space) is populated, use it\n // Otherwise use geometry.worldPosition (anchor in world space)\n \n if (geometry.position.w == 0.0) {\n float y = clamp(geometry.worldPosition.y, -89.9, 89.9);\n return 1.0 / cos(radians(y));\n }\n\n // latitude from common y: 2.0 * (atan(exp(y / TILE_SIZE * 2.0 * PI - PI)) - PI / 4.0)\n // Taylor series of 1 / cos(latitude)\n // Max error < 0.003\n \n float y = geometry.position.y / TILE_SIZE * 2.0 - 1.0;\n float y2 = y * y;\n float y4 = y2 * y2;\n float y6 = y4 * y2;\n return 1.0 + 4.9348 * y2 + 4.0587 * y4 + 1.5642 * y6;\n }\n return 1.0;\n}\n//\n// Scaling offsets - scales meters to "world distance"\n// Note the scalar version of project_size is for scaling the z component only\n//\nfloat project_size(float meters) {\n return meters * project_uCommonUnitsPerMeter.z * project_size();\n}\n\nvec2 project_size(vec2 meters) {\n return meters * project_uCommonUnitsPerMeter.xy * project_size();\n}\n\nvec3 project_size(vec3 meters) {\n return meters * project_uCommonUnitsPerMeter * project_size();\n}\n\nvec4 project_size(vec4 meters) {\n return vec4(meters.xyz * project_uCommonUnitsPerMeter, meters.w);\n}\n\n// Get rotation matrix that aligns the z axis with the given up vector\n// Find 3 unit vectors ux, uy, uz that are perpendicular to each other and uz == up\nmat3 project_get_orientation_matrix(vec3 up) {\n vec3 uz = normalize(up);\n // Tangent on XY plane\n vec3 ux = abs(uz.z) == 1.0 ? vec3(1.0, 0.0, 0.0) : normalize(vec3(uz.y, -uz.x, 0));\n vec3 uy = cross(uz, ux);\n return mat3(ux, uy, uz);\n}\n\nbool project_needs_rotation(vec3 commonPosition, out mat3 transform) {\n if (project_uProjectionMode == PROJECTION_MODE_GLOBE) {\n transform = project_get_orientation_matrix(commonPosition);\n return true;\n }\n return false;\n}\n\n//\n// Projecting normal - transform deltas from current coordinate system to\n// normals in the worldspace\n//\nvec3 project_normal(vec3 vector) {\n // Apply model matrix\n vec4 normal_modelspace = project_uModelMatrix * vec4(vector, 0.0);\n vec3 n = normalize(normal_modelspace.xyz * project_uCommonUnitsPerMeter);\n mat3 rotation;\n if (project_needs_rotation(geometry.position.xyz, rotation)) {\n n = rotation * n;\n }\n return n;\n}\n\nvec4 project_offset_(vec4 offset) {\n float dy = offset.y;\n vec3 commonUnitsPerWorldUnit = project_uCommonUnitsPerWorldUnit + project_uCommonUnitsPerWorldUnit2 * dy;\n return vec4(offset.xyz * commonUnitsPerWorldUnit, offset.w);\n}\n\n//\n// Projecting positions - non-linear projection: lnglats => unit tile [0-1, 0-1]\n//\nvec2 project_mercator_(vec2 lnglat) {\n float x = lnglat.x;\n if (project_uWrapLongitude) {\n x = mod(x + 180., 360.0) - 180.;\n }\n float y = clamp(lnglat.y, -89.9, 89.9);\n return vec2(\n radians(x) + PI,\n PI + log(tan_fp32(PI * 0.25 + radians(y) * 0.5))\n ) * WORLD_SCALE;\n}\n\nvec3 project_globe_(vec3 lnglatz) {\n float lambda = radians(lnglatz.x);\n float phi = radians(lnglatz.y);\n float cosPhi = cos(phi);\n float D = (lnglatz.z / EARTH_RADIUS + 1.0) * GLOBE_RADIUS;\n\n return vec3(\n sin(lambda) * cosPhi,\n -cos(lambda) * cosPhi,\n sin(phi)\n ) * D;\n}\n\n//\n// Projects positions (defined by project_uCoordinateSystem) to common space (defined by project_uProjectionMode)\n//\nvec4 project_position(vec4 position, vec3 position64Low) {\n vec4 position_world = project_uModelMatrix * position;\n\n // Work around for a Mac+NVIDIA bug https://github.com/visgl/deck.gl/issues/4145\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n return vec4(\n project_mercator_(position_world.xy),\n project_size(position_world.z),\n position_world.w\n );\n }\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_CARTESIAN) {\n position_world.xyz += project_uCoordinateOrigin;\n }\n }\n if (project_uProjectionMode == PROJECTION_MODE_GLOBE) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n return vec4(\n project_globe_(position_world.xyz),\n position_world.w\n );\n }\n }\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n if (abs(position_world.y - project_uCoordinateOrigin.y) > 0.25) {\n // Too far from the projection center for offset mode to be accurate\n // Only use high parts\n return vec4(\n project_mercator_(position_world.xy) - project_uCommonOrigin.xy,\n project_size(position_world.z),\n position_world.w\n );\n }\n }\n }\n if (project_uProjectionMode == PROJECTION_MODE_IDENTITY ||\n (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET &&\n (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT ||\n project_uCoordinateSystem == COORDINATE_SYSTEM_CARTESIAN))) {\n // Subtract high part of 64 bit value. Convert remainder to float32, preserving precision.\n position_world.xyz -= project_uCoordinateOrigin;\n }\n\n // Translation is already added to the high parts\n return project_offset_(position_world + project_uModelMatrix * vec4(position64Low, 0.0));\n}\n\nvec4 project_position(vec4 position) {\n return project_position(position, ZERO_64_LOW);\n}\n\nvec3 project_position(vec3 position, vec3 position64Low) {\n vec4 projected_position = project_position(vec4(position, 1.0), position64Low);\n return projected_position.xyz;\n}\n\nvec3 project_position(vec3 position) {\n vec4 projected_position = project_position(vec4(position, 1.0), ZERO_64_LOW);\n return projected_position.xyz;\n}\n\nvec2 project_position(vec2 position) {\n vec4 projected_position = project_position(vec4(position, 0.0, 1.0), ZERO_64_LOW);\n return projected_position.xy;\n}\n\nvec4 project_common_position_to_clipspace(vec4 position, mat4 viewProjectionMatrix, vec4 center) {\n return viewProjectionMatrix * position + center;\n}\n\n//\n// Projects from common space coordinates to clip space.\n// Uses project_uViewProjectionMatrix\n//\nvec4 project_common_position_to_clipspace(vec4 position) {\n return project_common_position_to_clipspace(position, project_uViewProjectionMatrix, project_uCenter);\n}\n\n// Returns a clip space offset that corresponds to a given number of screen pixels\nvec2 project_pixel_size_to_clipspace(vec2 pixels) {\n vec2 offset = pixels / project_uViewportSize * project_uDevicePixelRatio * 2.0;\n return offset * project_uFocalDistance;\n}\n\nfloat project_size_to_pixel(float meters) {\n return project_size(meters) * project_uScale;\n}\nfloat project_size_to_pixel(float size, int unit) {\n if (unit == UNIT_METERS) return project_size_to_pixel(size);\n if (unit == UNIT_COMMON) return size * project_uScale;\n // UNIT_PIXELS\n return size;\n}\nfloat project_pixel_size(float pixels) {\n return pixels / project_uScale;\n}\nvec2 project_pixel_size(vec2 pixels) {\n return pixels / project_uScale;\n}\n');var viewport_uniforms=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/shaderlib/project/viewport-uniforms.js");const INITIAL_MODULE_OPTIONS={};const project={name:"project",dependencies:[fp32,geometry],vs:project_glsl,getUniforms:function getUniforms(opts=INITIAL_MODULE_OPTIONS){return"viewport"in opts?(0,viewport_uniforms.k)(opts):{}}}},"./node_modules/@deck.gl/core/dist/esm/shaderlib/project/viewport-uniforms.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>getOffsetOrigin,k:()=>getUniformsFromViewport});var gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/gl-matrix/esm/mat4.js"),gl_matrix_vec4__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/gl-matrix/esm/vec4.js"),_lib_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/constants.js"),_utils_memoize__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/memoize.js");const ZERO_VECTOR=[0,0,0,0],VECTOR_TO_POINT_MATRIX=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0],IDENTITY_MATRIX=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],DEFAULT_PIXELS_PER_UNIT2=[0,0,0],DEFAULT_COORDINATE_ORIGIN=[0,0,0],getMemoizedViewportUniforms=(0,_utils_memoize__WEBPACK_IMPORTED_MODULE_0__.c)((function calculateViewportUniforms({viewport,devicePixelRatio,coordinateSystem,coordinateOrigin}){const{projectionCenter,viewProjectionMatrix,originCommon,cameraPosCommon,shaderCoordinateOrigin,geospatialOrigin}=function calculateMatrixAndOffset(viewport,coordinateSystem,coordinateOrigin){const{viewMatrixUncentered,projectionMatrix}=viewport;let{viewMatrix,viewProjectionMatrix}=viewport,projectionCenter=ZERO_VECTOR,originCommon=ZERO_VECTOR,cameraPosCommon=viewport.cameraPosition;const{geospatialOrigin,shaderCoordinateOrigin,offsetMode}=getOffsetOrigin(viewport,coordinateSystem,coordinateOrigin);offsetMode&&(originCommon=viewport.projectPosition(geospatialOrigin||shaderCoordinateOrigin),cameraPosCommon=[cameraPosCommon[0]-originCommon[0],cameraPosCommon[1]-originCommon[1],cameraPosCommon[2]-originCommon[2]],originCommon[3]=1,projectionCenter=gl_matrix_vec4__WEBPACK_IMPORTED_MODULE_2__.KE([],originCommon,viewProjectionMatrix),viewMatrix=viewMatrixUncentered||viewMatrix,viewProjectionMatrix=gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_3__.iW([],projectionMatrix,viewMatrix),viewProjectionMatrix=gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_3__.iW([],viewProjectionMatrix,VECTOR_TO_POINT_MATRIX));return{viewMatrix,viewProjectionMatrix,projectionCenter,originCommon,cameraPosCommon,shaderCoordinateOrigin,geospatialOrigin}}(viewport,coordinateSystem,coordinateOrigin),distanceScales=viewport.getDistanceScales(),viewportSize=[viewport.width*devicePixelRatio,viewport.height*devicePixelRatio],focalDistance=gl_matrix_vec4__WEBPACK_IMPORTED_MODULE_2__.KE([],[0,0,-viewport.focalDistance,1],viewport.projectionMatrix)[3]||1,uniforms={project_uCoordinateSystem:coordinateSystem,project_uProjectionMode:viewport.projectionMode,project_uCoordinateOrigin:shaderCoordinateOrigin,project_uCommonOrigin:originCommon.slice(0,3),project_uCenter:projectionCenter,project_uPseudoMeters:Boolean(viewport._pseudoMeters),project_uViewportSize:viewportSize,project_uDevicePixelRatio:devicePixelRatio,project_uFocalDistance:focalDistance,project_uCommonUnitsPerMeter:distanceScales.unitsPerMeter,project_uCommonUnitsPerWorldUnit:distanceScales.unitsPerMeter,project_uCommonUnitsPerWorldUnit2:DEFAULT_PIXELS_PER_UNIT2,project_uScale:viewport.scale,project_uWrapLongitude:!1,project_uViewProjectionMatrix:viewProjectionMatrix,project_uModelMatrix:IDENTITY_MATRIX,project_uCameraPosition:cameraPosCommon};if(geospatialOrigin){const distanceScalesAtOrigin=viewport.getDistanceScales(geospatialOrigin);switch(coordinateSystem){case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.METER_OFFSETS:uniforms.project_uCommonUnitsPerWorldUnit=distanceScalesAtOrigin.unitsPerMeter,uniforms.project_uCommonUnitsPerWorldUnit2=distanceScalesAtOrigin.unitsPerMeter2;break;case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.LNGLAT:case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.LNGLAT_OFFSETS:viewport._pseudoMeters||(uniforms.project_uCommonUnitsPerMeter=distanceScalesAtOrigin.unitsPerMeter),uniforms.project_uCommonUnitsPerWorldUnit=distanceScalesAtOrigin.unitsPerDegree,uniforms.project_uCommonUnitsPerWorldUnit2=distanceScalesAtOrigin.unitsPerDegree2;break;case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.CARTESIAN:uniforms.project_uCommonUnitsPerWorldUnit=[1,1,distanceScalesAtOrigin.unitsPerMeter[2]],uniforms.project_uCommonUnitsPerWorldUnit2=[0,0,distanceScalesAtOrigin.unitsPerMeter2[2]]}}return uniforms}));function getOffsetOrigin(viewport,coordinateSystem,coordinateOrigin=DEFAULT_COORDINATE_ORIGIN){coordinateOrigin.length<3&&(coordinateOrigin=[coordinateOrigin[0],coordinateOrigin[1],0]);let geospatialOrigin,shaderCoordinateOrigin=coordinateOrigin,offsetMode=!0;switch(geospatialOrigin=coordinateSystem===_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.LNGLAT_OFFSETS||coordinateSystem===_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.METER_OFFSETS?coordinateOrigin:viewport.isGeospatial?[Math.fround(viewport.longitude),Math.fround(viewport.latitude),0]:null,viewport.projectionMode){case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.Yt.WEB_MERCATOR:coordinateSystem!==_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.LNGLAT&&coordinateSystem!==_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.CARTESIAN||(geospatialOrigin=[0,0,0],offsetMode=!1);break;case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.Yt.WEB_MERCATOR_AUTO_OFFSET:coordinateSystem===_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.LNGLAT?shaderCoordinateOrigin=geospatialOrigin:coordinateSystem===_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.CARTESIAN&&(shaderCoordinateOrigin=[Math.fround(viewport.center[0]),Math.fround(viewport.center[1]),0],geospatialOrigin=viewport.unprojectPosition(shaderCoordinateOrigin),shaderCoordinateOrigin[0]-=coordinateOrigin[0],shaderCoordinateOrigin[1]-=coordinateOrigin[1],shaderCoordinateOrigin[2]-=coordinateOrigin[2]);break;case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.Yt.IDENTITY:shaderCoordinateOrigin=viewport.position.map(Math.fround),shaderCoordinateOrigin[2]=shaderCoordinateOrigin[2]||0;break;case _lib_constants__WEBPACK_IMPORTED_MODULE_1__.Yt.GLOBE:offsetMode=!1,geospatialOrigin=null;break;default:offsetMode=!1}return{geospatialOrigin,shaderCoordinateOrigin,offsetMode}}function getUniformsFromViewport({viewport,devicePixelRatio=1,modelMatrix=null,coordinateSystem=_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.DEFAULT,coordinateOrigin=DEFAULT_COORDINATE_ORIGIN,autoWrapLongitude=!1}){coordinateSystem===_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.DEFAULT&&(coordinateSystem=viewport.isGeospatial?_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.LNGLAT:_lib_constants__WEBPACK_IMPORTED_MODULE_1__.COORDINATE_SYSTEM.CARTESIAN);const uniforms=getMemoizedViewportUniforms({viewport,devicePixelRatio,coordinateSystem,coordinateOrigin});return uniforms.project_uWrapLongitude=autoWrapLongitude,uniforms.project_uModelMatrix=modelMatrix||IDENTITY_MATRIX,uniforms}},"./node_modules/@deck.gl/core/dist/esm/transitions/transition.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Transition});var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");class Transition{constructor(timeline){(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.c)(this,"_inProgress",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.c)(this,"_handle",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.c)(this,"_timeline",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.c)(this,"time",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.c)(this,"settings",void 0),this._inProgress=!1,this._handle=null,this._timeline=timeline,this.time=0,this.settings={duration:0}}get inProgress(){return this._inProgress}start(settings){var _this$settings$onStar,_this$settings;this.cancel(),this.settings=settings,this._inProgress=!0,null===(_this$settings$onStar=(_this$settings=this.settings).onStart)||void 0===_this$settings$onStar||_this$settings$onStar.call(_this$settings,this)}end(){var _this$settings$onEnd,_this$settings2;this._inProgress&&(this._timeline.removeChannel(this._handle),this._handle=null,this._inProgress=!1,null===(_this$settings$onEnd=(_this$settings2=this.settings).onEnd)||void 0===_this$settings$onEnd||_this$settings$onEnd.call(_this$settings2,this))}cancel(){var _this$settings$onInte,_this$settings3;this._inProgress&&(null===(_this$settings$onInte=(_this$settings3=this.settings).onInterrupt)||void 0===_this$settings$onInte||_this$settings$onInte.call(_this$settings3,this),this._timeline.removeChannel(this._handle),this._handle=null,this._inProgress=!1)}update(){var _this$settings$onUpda,_this$settings4;if(!this._inProgress)return!1;if(null===this._handle){const{_timeline:timeline,settings}=this;this._handle=timeline.addChannel({delay:timeline.getTime(),duration:settings.duration})}return this.time=this._timeline.getTime(this._handle),this._onUpdate(),null===(_this$settings$onUpda=(_this$settings4=this.settings).onUpdate)||void 0===_this$settings$onUpda||_this$settings$onUpda.call(_this$settings4,this),this._timeline.isFinished(this._handle)&&this.end(),!0}_onUpdate(){}}},"./node_modules/@deck.gl/core/dist/esm/utils/assert.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function assert(condition,message){if(!condition)throw new Error(message||"deck.gl: assertion failed.")}__webpack_require__.d(__webpack_exports__,{c:()=>assert})},"./node_modules/@deck.gl/core/dist/esm/utils/deep-equal.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function deepEqual(a,b){if(a===b)return!0;if(!a||!b)return!1;for(const key in a){const aValue=a[key],bValue=b[key];if(!(aValue===bValue||Array.isArray(aValue)&&Array.isArray(bValue)&&deepEqual(aValue,bValue)))return!1}return!0}__webpack_require__.d(__webpack_exports__,{I:()=>deepEqual})},"./node_modules/@deck.gl/core/dist/esm/utils/flatten.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function flatten(array,filter=(()=>!0)){return Array.isArray(array)?flattenArray(array,filter,[]):filter(array)?[array]:[]}function flattenArray(array,filter,result){let index=-1;for(;++index<array.length;){const value=array[index];Array.isArray(value)?flattenArray(value,filter,result):filter(value)&&result.push(value)}return result}function fillArray({target,source,start=0,count=1}){const length=source.length,total=count*length;let copied=0;for(let i=start;copied<length;copied++)target[i++]=source[copied];for(;copied<total;)copied<total-copied?(target.copyWithin(start+copied,start,start+copied),copied*=2):(target.copyWithin(start+copied,start,start+total-copied),copied=total);return target}__webpack_require__.d(__webpack_exports__,{Y:()=>flatten,m:()=>fillArray})},"./node_modules/@deck.gl/core/dist/esm/utils/iterable-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ev:()=>isAsyncIterable,Su:()=>getAccessorFromBuffer,cv:()=>createIterable});const EMPTY_ARRAY=[],placeholderArray=[];function createIterable(data,startRow=0,endRow=1/0){let iterable=EMPTY_ARRAY;const objectInfo={index:-1,data,target:[]};return data?"function"==typeof data[Symbol.iterator]?iterable=data:data.length>0&&(placeholderArray.length=data.length,iterable=placeholderArray):iterable=EMPTY_ARRAY,(startRow>0||Number.isFinite(endRow))&&(iterable=(Array.isArray(iterable)?iterable:Array.from(iterable)).slice(startRow,endRow),objectInfo.index=startRow-1),{iterable,objectInfo}}function isAsyncIterable(data){return data&&data[Symbol.asyncIterator]}function getAccessorFromBuffer(typedArray,options){const{size,stride,offset,startIndices,nested}=options,bytesPerElement=typedArray.BYTES_PER_ELEMENT,elementStride=stride?stride/bytesPerElement:size,elementOffset=offset?offset/bytesPerElement:0,vertexCount=Math.floor((typedArray.length-elementOffset)/elementStride);return(_,{index,target})=>{if(!startIndices){const sourceIndex=index*elementStride+elementOffset;for(let j=0;j<size;j++)target[j]=typedArray[sourceIndex+j];return target}const startIndex=startIndices[index],endIndex=startIndices[index+1]||vertexCount;let result;if(nested){result=new Array(endIndex-startIndex);for(let i=startIndex;i<endIndex;i++){const sourceIndex=i*elementStride+elementOffset;target=new Array(size);for(let j=0;j<size;j++)target[j]=typedArray[sourceIndex+j];result[i-startIndex]=target}}else if(elementStride===size)result=typedArray.subarray(startIndex*size+elementOffset,endIndex*size+elementOffset);else{result=new typedArray.constructor((endIndex-startIndex)*size);let targetIndex=0;for(let i=startIndex;i<endIndex;i++){const sourceIndex=i*elementStride+elementOffset;for(let j=0;j<size;j++)result[targetIndex++]=typedArray[sourceIndex+j]}}return result}}},"./node_modules/@deck.gl/core/dist/esm/utils/log.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=new(__webpack_require__("./node_modules/@probe.gl/log/dist/esm/log.js").q)({id:"deck"})},"./node_modules/@deck.gl/core/dist/esm/utils/math-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DU:()=>toDoublePrecisionArray,Mf:()=>createMat4,gX:()=>mod,kX:()=>getFrustumPlanes,mO:()=>getCameraPosition});var _typed_array_manager__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/typed-array-manager.js"),_math_gl_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/vector3.js");function createMat4(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function mod(value,divisor){const modulus=value%divisor;return modulus<0?divisor+modulus:modulus}function getCameraPosition(viewMatrixInverse){return[viewMatrixInverse[12],viewMatrixInverse[13],viewMatrixInverse[14]]}function getFrustumPlanes(viewProjectionMatrix){return{left:getFrustumPlane(viewProjectionMatrix[3]+viewProjectionMatrix[0],viewProjectionMatrix[7]+viewProjectionMatrix[4],viewProjectionMatrix[11]+viewProjectionMatrix[8],viewProjectionMatrix[15]+viewProjectionMatrix[12]),right:getFrustumPlane(viewProjectionMatrix[3]-viewProjectionMatrix[0],viewProjectionMatrix[7]-viewProjectionMatrix[4],viewProjectionMatrix[11]-viewProjectionMatrix[8],viewProjectionMatrix[15]-viewProjectionMatrix[12]),bottom:getFrustumPlane(viewProjectionMatrix[3]+viewProjectionMatrix[1],viewProjectionMatrix[7]+viewProjectionMatrix[5],viewProjectionMatrix[11]+viewProjectionMatrix[9],viewProjectionMatrix[15]+viewProjectionMatrix[13]),top:getFrustumPlane(viewProjectionMatrix[3]-viewProjectionMatrix[1],viewProjectionMatrix[7]-viewProjectionMatrix[5],viewProjectionMatrix[11]-viewProjectionMatrix[9],viewProjectionMatrix[15]-viewProjectionMatrix[13]),near:getFrustumPlane(viewProjectionMatrix[3]+viewProjectionMatrix[2],viewProjectionMatrix[7]+viewProjectionMatrix[6],viewProjectionMatrix[11]+viewProjectionMatrix[10],viewProjectionMatrix[15]+viewProjectionMatrix[14]),far:getFrustumPlane(viewProjectionMatrix[3]-viewProjectionMatrix[2],viewProjectionMatrix[7]-viewProjectionMatrix[6],viewProjectionMatrix[11]-viewProjectionMatrix[10],viewProjectionMatrix[15]-viewProjectionMatrix[14])}}const scratchVector=new _math_gl_core__WEBPACK_IMPORTED_MODULE_0__.c;function getFrustumPlane(a,b,c,d){scratchVector.set(a,b,c);const L=scratchVector.len();return{distance:d/L,normal:new _math_gl_core__WEBPACK_IMPORTED_MODULE_0__.c(-a/L,-b/L,-c/L)}}let scratchArray;function toDoublePrecisionArray(typedArray,options){const{size=1,startIndex=0}=options,endIndex=void 0!==options.endIndex?options.endIndex:typedArray.length,count=(endIndex-startIndex)/size;scratchArray=_typed_array_manager__WEBPACK_IMPORTED_MODULE_1__.c.allocate(scratchArray,count,{type:Float32Array,size:2*size});let sourceIndex=startIndex,targetIndex=0;for(;sourceIndex<endIndex;){for(let j=0;j<size;j++){const value=typedArray[sourceIndex++];scratchArray[targetIndex+j]=value,scratchArray[targetIndex+j+size]=(x=value)-Math.fround(x)}targetIndex+=2*size}var x;return scratchArray.subarray(0,count*size*2)}},"./node_modules/@deck.gl/core/dist/esm/utils/memoize.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isEqual(a,b){if(a===b)return!0;if(Array.isArray(a)){const len=a.length;if(!b||b.length!==len)return!1;for(let i=0;i<len;i++)if(a[i]!==b[i])return!1;return!0}return!1}function memoize(compute){let cachedResult,cachedArgs={};return args=>{for(const key in args)if(!isEqual(args[key],cachedArgs[key])){cachedResult=compute(args),cachedArgs=args;break}return cachedResult}}__webpack_require__.d(__webpack_exports__,{c:()=>memoize})},"./node_modules/@deck.gl/core/dist/esm/utils/typed-array-manager.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>__WEBPACK_DEFAULT_EXPORT__});var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");const __WEBPACK_DEFAULT_EXPORT__=new class TypedArrayManager{constructor(options={}){(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.c)(this,"_pool",[]),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.c)(this,"opts",{overAlloc:2,poolSize:100}),this.setOptions(options)}setOptions(options){Object.assign(this.opts,options)}allocate(typedArray,count,{size=1,type,padding=0,copy=!1,initialize=!1,maxCount}){const Type=type||typedArray&&typedArray.constructor||Float32Array,newSize=count*size+padding;if(ArrayBuffer.isView(typedArray)){if(newSize<=typedArray.length)return typedArray;if(newSize*typedArray.BYTES_PER_ELEMENT<=typedArray.buffer.byteLength)return new Type(typedArray.buffer,0,newSize)}let maxSize=1/0;maxCount&&(maxSize=maxCount*size+padding);const newArray=this._allocate(Type,newSize,initialize,maxSize);return typedArray&&copy?newArray.set(typedArray):initialize||newArray.fill(0,0,4),this._release(typedArray),newArray}release(typedArray){this._release(typedArray)}_allocate(Type,size,initialize,maxSize){let sizeToAllocate=Math.max(Math.ceil(size*this.opts.overAlloc),1);sizeToAllocate>maxSize&&(sizeToAllocate=maxSize);const pool=this._pool,byteLength=Type.BYTES_PER_ELEMENT*sizeToAllocate,i=pool.findIndex((b=>b.byteLength>=byteLength));if(i>=0){const array=new Type(pool.splice(i,1)[0],0,sizeToAllocate);return initialize&&array.fill(0),array}return new Type(sizeToAllocate)}_release(typedArray){if(!ArrayBuffer.isView(typedArray))return;const pool=this._pool,{buffer}=typedArray,{byteLength}=buffer,i=pool.findIndex((b=>b.byteLength>=byteLength));i<0?pool.push(buffer):(i>0||pool.length<this.opts.poolSize)&&pool.splice(i,0,buffer),pool.length>this.opts.poolSize&&pool.shift()}}},"./node_modules/@deck.gl/core/dist/esm/viewports/viewport.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Viewport});var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_utils_log__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/log.js"),_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/math-utils.js"),_math_gl_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/matrix4.js"),_math_gl_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js"),_math_gl_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/vector3.js"),gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/gl-matrix/esm/mat4.js"),_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@math.gl/web-mercator/dist/esm/index.js"),_lib_constants__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/constants.js");const DEGREES_TO_RADIANS=Math.PI/180,IDENTITY=(0,_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__.Mf)(),ZERO_VECTOR=[0,0,0],DEFAULT_DISTANCE_SCALES={unitsPerMeter:[1,1,1],metersPerUnit:[1,1,1]};class Viewport{constructor(opts={}){(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"id",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"x",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"y",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"width",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"height",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"isGeospatial",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"zoom",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"focalDistance",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"position",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"modelMatrix",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"distanceScales",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"scale",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"center",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"cameraPosition",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"projectionMatrix",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"viewMatrix",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"viewMatrixUncentered",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"viewMatrixInverse",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"viewProjectionMatrix",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"pixelProjectionMatrix",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"pixelUnprojectionMatrix",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"resolution",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(this,"_frustumPlanes",{}),this.id=opts.id||this.constructor.displayName||"viewport",this.x=opts.x||0,this.y=opts.y||0,this.width=opts.width||1,this.height=opts.height||1,this.zoom=opts.zoom||0,this.distanceScales=opts.distanceScales||DEFAULT_DISTANCE_SCALES,this.focalDistance=opts.focalDistance||1,this.position=opts.position||ZERO_VECTOR,this.modelMatrix=opts.modelMatrix||null;const{longitude,latitude}=opts;this.isGeospatial=Number.isFinite(latitude)&&Number.isFinite(longitude),this._initProps(opts),this._initMatrices(opts),this.equals=this.equals.bind(this),this.project=this.project.bind(this),this.unproject=this.unproject.bind(this),this.projectPosition=this.projectPosition.bind(this),this.unprojectPosition=this.unprojectPosition.bind(this),this.projectFlat=this.projectFlat.bind(this),this.unprojectFlat=this.unprojectFlat.bind(this)}get metersPerPixel(){return this.distanceScales.metersPerUnit[2]/this.scale}get projectionMode(){return this.isGeospatial?this.zoom<12?_lib_constants__WEBPACK_IMPORTED_MODULE_5__.Yt.WEB_MERCATOR:_lib_constants__WEBPACK_IMPORTED_MODULE_5__.Yt.WEB_MERCATOR_AUTO_OFFSET:_lib_constants__WEBPACK_IMPORTED_MODULE_5__.Yt.IDENTITY}equals(viewport){return viewport instanceof Viewport&&(this===viewport||viewport.width===this.width&&viewport.height===this.height&&viewport.scale===this.scale&&(0,_math_gl_core__WEBPACK_IMPORTED_MODULE_3__.yK)(viewport.projectionMatrix,this.projectionMatrix)&&(0,_math_gl_core__WEBPACK_IMPORTED_MODULE_3__.yK)(viewport.viewMatrix,this.viewMatrix))}project(xyz,{topLeft=!0}={}){const worldPosition=this.projectPosition(xyz),coord=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.CO)(worldPosition,this.pixelProjectionMatrix),[x,y]=coord,y2=topLeft?y:this.height-y;return 2===xyz.length?[x,y2]:[x,y2,coord[2]]}unproject(xyz,{topLeft=!0,targetZ}={}){const[x,y,z]=xyz,y2=topLeft?y:this.height-y,targetZWorld=targetZ&&targetZ*this.distanceScales.unitsPerMeter[2],coord=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.Yp)([x,y2,z],this.pixelUnprojectionMatrix,targetZWorld),[X,Y,Z]=this.unprojectPosition(coord);return Number.isFinite(z)?[X,Y,Z]:Number.isFinite(targetZ)?[X,Y,targetZ]:[X,Y]}projectPosition(xyz){const[X,Y]=this.projectFlat(xyz);return[X,Y,(xyz[2]||0)*this.distanceScales.unitsPerMeter[2]]}unprojectPosition(xyz){const[X,Y]=this.unprojectFlat(xyz);return[X,Y,(xyz[2]||0)*this.distanceScales.metersPerUnit[2]]}projectFlat(xyz){if(this.isGeospatial){const result=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.i4)(xyz);return result[1]=(0,_math_gl_core__WEBPACK_IMPORTED_MODULE_3__.qk)(result[1],-318,830),result}return xyz}unprojectFlat(xyz){return this.isGeospatial?(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.sD)(xyz):xyz}getBounds(options={}){const unprojectOption={targetZ:options.z||0},topLeft=this.unproject([0,0],unprojectOption),topRight=this.unproject([this.width,0],unprojectOption),bottomLeft=this.unproject([0,this.height],unprojectOption),bottomRight=this.unproject([this.width,this.height],unprojectOption);return[Math.min(topLeft[0],topRight[0],bottomLeft[0],bottomRight[0]),Math.min(topLeft[1],topRight[1],bottomLeft[1],bottomRight[1]),Math.max(topLeft[0],topRight[0],bottomLeft[0],bottomRight[0]),Math.max(topLeft[1],topRight[1],bottomLeft[1],bottomRight[1])]}getDistanceScales(coordinateOrigin){return coordinateOrigin?(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.em)({longitude:coordinateOrigin[0],latitude:coordinateOrigin[1],highPrecision:!0}):this.distanceScales}containsPixel({x,y,width=1,height=1}){return x<this.x+this.width&&this.x<x+width&&y<this.y+this.height&&this.y<y+height}getFrustumPlanes(){return this._frustumPlanes.near||Object.assign(this._frustumPlanes,(0,_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__.kX)(this.viewProjectionMatrix)),this._frustumPlanes}panByPosition(coords,pixel){return null}_initProps(opts){const longitude=opts.longitude,latitude=opts.latitude;this.isGeospatial&&(Number.isFinite(opts.zoom)||(this.zoom=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.kj)({latitude})+Math.log2(this.focalDistance)),this.distanceScales=opts.distanceScales||(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.em)({latitude,longitude}));const scale=Math.pow(2,this.zoom);this.scale=scale;const{position,modelMatrix}=opts;let meterOffset=ZERO_VECTOR;if(position&&(meterOffset=modelMatrix?new _math_gl_core__WEBPACK_IMPORTED_MODULE_2__.c(modelMatrix).transformAsVector(position,[]):position),this.isGeospatial){const center=this.projectPosition([longitude,latitude,0]);this.center=new _math_gl_core__WEBPACK_IMPORTED_MODULE_6__.c(meterOffset).scale(this.distanceScales.unitsPerMeter).add(center)}else this.center=this.projectPosition(meterOffset)}_initMatrices(opts){const{viewMatrix=IDENTITY,projectionMatrix=null,orthographic=!1,fovyRadians,fovy=75,near=.1,far=1e3,padding=null,focalDistance=1}=opts;this.viewMatrixUncentered=viewMatrix,this.viewMatrix=(new _math_gl_core__WEBPACK_IMPORTED_MODULE_2__.c).multiplyRight(viewMatrix).translate(new _math_gl_core__WEBPACK_IMPORTED_MODULE_6__.c(this.center).negate()),this.projectionMatrix=projectionMatrix||function createProjectionMatrix({width,height,orthographic,fovyRadians,focalDistance,padding,near,far}){const aspect=width/height,matrix=orthographic?(new _math_gl_core__WEBPACK_IMPORTED_MODULE_2__.c).orthographic({fovy:fovyRadians,aspect,focalDistance,near,far}):(new _math_gl_core__WEBPACK_IMPORTED_MODULE_2__.c).perspective({fovy:fovyRadians,aspect,near,far});if(padding){const{left=0,right=0,top=0,bottom=0}=padding,offsetX=(0,_math_gl_core__WEBPACK_IMPORTED_MODULE_3__.qk)((left+width-right)/2,0,width)-width/2,offsetY=(0,_math_gl_core__WEBPACK_IMPORTED_MODULE_3__.qk)((top+height-bottom)/2,0,height)-height/2;matrix[8]-=2*offsetX/width,matrix[9]+=2*offsetY/height}return matrix}({width:this.width,height:this.height,orthographic,fovyRadians:fovyRadians||fovy*DEGREES_TO_RADIANS,focalDistance,padding,near,far});const vpm=(0,_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__.Mf)();gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__.iW(vpm,vpm,this.projectionMatrix),gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__.iW(vpm,vpm,this.viewMatrix),this.viewProjectionMatrix=vpm,this.viewMatrixInverse=gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__.S_([],this.viewMatrix)||this.viewMatrix,this.cameraPosition=(0,_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__.mO)(this.viewMatrixInverse);const viewportMatrix=(0,_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__.Mf)(),pixelProjectionMatrix=(0,_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__.Mf)();gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__.aU(viewportMatrix,viewportMatrix,[this.width/2,-this.height/2,1]),gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__.GS(viewportMatrix,viewportMatrix,[1,-1,0]),gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__.iW(pixelProjectionMatrix,viewportMatrix,this.viewProjectionMatrix),this.pixelProjectionMatrix=pixelProjectionMatrix,this.pixelUnprojectionMatrix=gl_matrix_mat4__WEBPACK_IMPORTED_MODULE_7__.S_((0,_utils_math_utils__WEBPACK_IMPORTED_MODULE_1__.Mf)(),this.pixelProjectionMatrix),this.pixelUnprojectionMatrix||_utils_log__WEBPACK_IMPORTED_MODULE_8__.c.warn("Pixel project matrix not invertible")()}}(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__.c)(Viewport,"displayName","Viewport")},"./node_modules/@deck.gl/core/dist/esm/viewports/web-mercator-viewport.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>WebMercatorViewport});var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_viewport__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/viewports/viewport.js"),_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@math.gl/web-mercator/dist/esm/index.js"),gl_matrix_vec2__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/gl-matrix/esm/vec2.js"),_math_gl_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/matrix4.js");const DEGREES_TO_RADIANS=Math.PI/180;function unitsPerMeter(latitude){return 512/4003e4/Math.cos(latitude*DEGREES_TO_RADIANS)}class WebMercatorViewport extends _viewport__WEBPACK_IMPORTED_MODULE_1__.c{constructor(opts={}){const{latitude=0,longitude=0,zoom=0,pitch=0,bearing=0,nearZMultiplier=.1,farZMultiplier=1.01,orthographic=!1,projectionMatrix,repeat=!1,worldOffset=0,legacyMeterSizes=!1}=opts;let{width,height,altitude=1.5}=opts;const scale=Math.pow(2,zoom);let fovy;width=width||1,height=height||1;let projectionParameters=null;projectionMatrix?(altitude=projectionMatrix[5]/2,fovy=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.oX)(altitude)):(opts.fovy?(fovy=opts.fovy,altitude=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.wL)(fovy)):fovy=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.oX)(altitude),projectionParameters=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.Og)({width,height,pitch,fovy,nearZMultiplier,farZMultiplier}));let viewMatrixUncentered=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.C4)({height,pitch,bearing,scale,altitude});if(worldOffset){viewMatrixUncentered=(new _math_gl_core__WEBPACK_IMPORTED_MODULE_2__.c).translate([512*worldOffset,0,0]).multiplyLeft(viewMatrixUncentered)}super({...opts,width,height,viewMatrix:viewMatrixUncentered,longitude,latitude,zoom,...projectionParameters,fovy,focalDistance:altitude}),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"longitude",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"latitude",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"pitch",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"bearing",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"altitude",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"fovy",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"orthographic",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"_subViewports",void 0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(this,"_pseudoMeters",void 0),this.latitude=latitude,this.longitude=longitude,this.zoom=zoom,this.pitch=pitch,this.bearing=bearing,this.altitude=altitude,this.fovy=fovy,this.orthographic=orthographic,this._subViewports=repeat?[]:null,this._pseudoMeters=legacyMeterSizes,Object.freeze(this)}get subViewports(){if(this._subViewports&&!this._subViewports.length){const bounds=this.getBounds(),minOffset=Math.floor((bounds[0]+180)/360),maxOffset=Math.ceil((bounds[2]-180)/360);for(let x=minOffset;x<=maxOffset;x++){const offsetViewport=x?new WebMercatorViewport({...this,worldOffset:x}):this;this._subViewports.push(offsetViewport)}}return this._subViewports}projectPosition(xyz){if(this._pseudoMeters)return super.projectPosition(xyz);const[X,Y]=this.projectFlat(xyz);return[X,Y,(xyz[2]||0)*unitsPerMeter(xyz[1])]}unprojectPosition(xyz){if(this._pseudoMeters)return super.unprojectPosition(xyz);const[X,Y]=this.unprojectFlat(xyz);return[X,Y,(xyz[2]||0)/unitsPerMeter(Y)]}addMetersToLngLat(lngLatZ,xyz){return(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.c7)(lngLatZ,xyz)}panByPosition(coords,pixel){const fromLocation=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.Yp)(pixel,this.pixelUnprojectionMatrix),toLocation=this.projectFlat(coords),translate=gl_matrix_vec2__WEBPACK_IMPORTED_MODULE_4__.WQ([],toLocation,gl_matrix_vec2__WEBPACK_IMPORTED_MODULE_4__.s7([],fromLocation)),newCenter=gl_matrix_vec2__WEBPACK_IMPORTED_MODULE_4__.WQ([],this.center,translate),[longitude,latitude]=this.unprojectFlat(newCenter);return{longitude,latitude}}getBounds(options={}){const corners=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.KA)(this,options.z||0);return[Math.min(corners[0][0],corners[1][0],corners[2][0],corners[3][0]),Math.min(corners[0][1],corners[1][1],corners[2][1],corners[3][1]),Math.max(corners[0][0],corners[1][0],corners[2][0],corners[3][0]),Math.max(corners[0][1],corners[1][1],corners[2][1],corners[3][1])]}fitBounds(bounds,options={}){const{width,height}=this,{longitude,latitude,zoom}=(0,_math_gl_web_mercator__WEBPACK_IMPORTED_MODULE_0__.kz)({width,height,bounds,...options});return new WebMercatorViewport({width,height,longitude,latitude,zoom})}}(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.c)(WebMercatorViewport,"displayName","WebMercatorViewport")},"./node_modules/@deck.gl/layers/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ArcLayer:()=>ArcLayer,BitmapLayer:()=>BitmapLayer,ColumnLayer:()=>ColumnLayer,GeoJsonLayer:()=>GeoJsonLayer,GridCellLayer:()=>GridCellLayer,IconLayer:()=>IconLayer,LineLayer:()=>LineLayer,PathLayer:()=>PathLayer,PointCloudLayer:()=>PointCloudLayer,PolygonLayer:()=>PolygonLayer,ScatterplotLayer:()=>ScatterplotLayer,SolidPolygonLayer:()=>SolidPolygonLayer,TextLayer:()=>TextLayer,_MultiIconLayer:()=>MultiIconLayer,_TextBackgroundLayer:()=>TextBackgroundLayer});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),lib_layer=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/layer.js");const project32={name:"project32",dependencies:[__webpack_require__("./node_modules/@deck.gl/core/dist/esm/shaderlib/project/project.js").c],vs:"\nvec4 project_position_to_clipspace(\n vec3 position, vec3 position64Low, vec3 offset, out vec4 commonPosition\n) {\n vec3 projectedPosition = project_position(position, position64Low);\n mat3 rotation;\n if (project_needs_rotation(projectedPosition, rotation)) {\n // offset is specified as ENU\n // when in globe projection, rotate offset so that the ground alighs with the surface of the globe\n offset = rotation * offset;\n }\n commonPosition = vec4(projectedPosition + offset, 1.0);\n return project_common_position_to_clipspace(commonPosition);\n}\n\nvec4 project_position_to_clipspace(\n vec3 position, vec3 position64Low, vec3 offset\n) {\n vec4 commonPosition;\n return project_position_to_clipspace(position, position64Low, offset, commonPosition);\n}\n"},DEFAULT_MODULE_OPTIONS={pickingSelectedColor:null,pickingHighlightColor:new Uint8Array([0,255,255,255]),pickingActive:!1,pickingAttribute:!1};const picking_picking={inject:{"vs:DECKGL_FILTER_GL_POSITION":"\n // for picking depth values\n picking_setPickingAttribute(position.z / position.w);\n ","vs:DECKGL_FILTER_COLOR":"\n picking_setPickingColor(geometry.pickingColor);\n ","fs:DECKGL_FILTER_COLOR":{order:99,injection:"\n // use highlight color if this fragment belongs to the selected object.\n color = picking_filterHighlightColor(color);\n\n // use picking color if rendering to picking FBO.\n color = picking_filterPickingColor(color);\n "}},...{name:"picking",vs:"uniform bool picking_uActive;\nuniform bool picking_uAttribute;\nuniform vec3 picking_uSelectedColor;\nuniform bool picking_uSelectedColorValid;\n\nout vec4 picking_vRGBcolor_Avalid;\n\nconst float COLOR_SCALE = 1. / 255.;\n\nbool picking_isColorValid(vec3 color) {\n return dot(color, vec3(1.0)) > 0.001;\n}\n\nbool isVertexPicked(vec3 vertexColor) {\n return\n picking_uSelectedColorValid &&\n !picking_isColorValid(abs(vertexColor - picking_uSelectedColor));\n}\n\nvoid picking_setPickingColor(vec3 pickingColor) {\n if (picking_uActive) {\n picking_vRGBcolor_Avalid.a = float(picking_isColorValid(pickingColor));\n\n if (!picking_uAttribute) {\n picking_vRGBcolor_Avalid.rgb = pickingColor * COLOR_SCALE;\n }\n } else {\n picking_vRGBcolor_Avalid.a = float(isVertexPicked(pickingColor));\n }\n}\n\nvoid picking_setPickingAttribute(float value) {\n if (picking_uAttribute) {\n picking_vRGBcolor_Avalid.r = value;\n }\n}\nvoid picking_setPickingAttribute(vec2 value) {\n if (picking_uAttribute) {\n picking_vRGBcolor_Avalid.rg = value;\n }\n}\nvoid picking_setPickingAttribute(vec3 value) {\n if (picking_uAttribute) {\n picking_vRGBcolor_Avalid.rgb = value;\n }\n}\n",fs:"uniform bool picking_uActive;\nuniform vec3 picking_uSelectedColor;\nuniform vec4 picking_uHighlightColor;\n\nin vec4 picking_vRGBcolor_Avalid;\nvec4 picking_filterHighlightColor(vec4 color) {\n if (picking_uActive) {\n return color;\n }\n bool selected = bool(picking_vRGBcolor_Avalid.a);\n\n if (selected) {\n float highLightAlpha = picking_uHighlightColor.a;\n float blendedAlpha = highLightAlpha + color.a * (1.0 - highLightAlpha);\n float highLightRatio = highLightAlpha / blendedAlpha;\n\n vec3 blendedRGB = mix(color.rgb, picking_uHighlightColor.rgb, highLightRatio);\n return vec4(blendedRGB, blendedAlpha);\n } else {\n return color;\n }\n}\nvec4 picking_filterPickingColor(vec4 color) {\n if (picking_uActive) {\n if (picking_vRGBcolor_Avalid.a == 0.0) {\n discard;\n }\n return picking_vRGBcolor_Avalid;\n }\n return color;\n}\nvec4 picking_filterColor(vec4 color) {\n vec4 highightColor = picking_filterHighlightColor(color);\n return picking_filterPickingColor(highightColor);\n}\n\n",getUniforms:function getUniforms(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DEFAULT_MODULE_OPTIONS;const uniforms={};if(void 0!==opts.pickingSelectedColor)if(opts.pickingSelectedColor){const selectedColor=opts.pickingSelectedColor.slice(0,3);uniforms.picking_uSelectedColorValid=1,uniforms.picking_uSelectedColor=selectedColor}else uniforms.picking_uSelectedColorValid=0;if(opts.pickingHighlightColor){const color=Array.from(opts.pickingHighlightColor,(x=>x/255));Number.isFinite(color[3])||(color[3]=1),uniforms.picking_uHighlightColor=color}return void 0!==opts.pickingActive&&(uniforms.picking_uActive=Boolean(opts.pickingActive),uniforms.picking_uAttribute=Boolean(opts.pickingAttribute)),uniforms}}};var constants=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/constants.js"),lib_model=__webpack_require__("./node_modules/@luma.gl/engine/dist/esm/lib/model.js"),utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js"),assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");const DRAW_MODE={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6};class Geometry{static get DRAW_MODE(){return DRAW_MODE}constructor(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{id=(0,utils.cB)("geometry"),drawMode=DRAW_MODE.TRIANGLES,attributes={},indices=null,vertexCount=null}=props;this.id=id,this.drawMode=0|drawMode,this.attributes={},this.userData={},this._setAttributes(attributes,indices),this.vertexCount=vertexCount||this._calculateVertexCount(this.attributes,this.indices)}get mode(){return this.drawMode}getVertexCount(){return this.vertexCount}getAttributes(){return this.indices?{indices:this.indices,...this.attributes}:this.attributes}_print(attributeName){return"Geometry ".concat(this.id," attribute ").concat(attributeName)}_setAttributes(attributes,indices){indices&&(this.indices=ArrayBuffer.isView(indices)?{value:indices,size:1}:indices);for(const attributeName in attributes){let attribute=attributes[attributeName];attribute=ArrayBuffer.isView(attribute)?{value:attribute}:attribute,(0,assert.U)(ArrayBuffer.isView(attribute.value),"".concat(this._print(attributeName),": must be typed array or object with value as typed array")),"POSITION"!==attributeName&&"positions"!==attributeName||attribute.size||(attribute.size=3),"indices"===attributeName?((0,assert.U)(!this.indices),this.indices=attribute):this.attributes[attributeName]=attribute}return this.indices&&void 0!==this.indices.isIndexed&&(this.indices=Object.assign({},this.indices),delete this.indices.isIndexed),this}_calculateVertexCount(attributes,indices){if(indices)return indices.value.length;let vertexCount=1/0;for(const attributeName in attributes){const attribute=attributes[attributeName],{value,size,constant}=attribute;!constant&&value&&size>=1&&(vertexCount=Math.min(vertexCount,value.length/size))}return(0,assert.U)(Number.isFinite(vertexCount)),vertexCount}}const DEFAULT_COLOR=[0,0,0,255],defaultProps={getSourcePosition:{type:"accessor",value:x=>x.sourcePosition},getTargetPosition:{type:"accessor",value:x=>x.targetPosition},getSourceColor:{type:"accessor",value:DEFAULT_COLOR},getTargetColor:{type:"accessor",value:DEFAULT_COLOR},getWidth:{type:"accessor",value:1},getHeight:{type:"accessor",value:1},getTilt:{type:"accessor",value:0},greatCircle:!1,widthUnits:"pixels",widthScale:{type:"number",value:1,min:0},widthMinPixels:{type:"number",value:0,min:0},widthMaxPixels:{type:"number",value:Number.MAX_SAFE_INTEGER,min:0}};class ArcLayer extends lib_layer.c{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME arc-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec4 instanceSourceColors;\nattribute vec4 instanceTargetColors;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\nattribute float instanceHeights;\nattribute float instanceTilts;\n\nuniform bool greatCircle;\nuniform bool useShortestPath;\nuniform float numSegments;\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nfloat paraboloid(float distance, float sourceZ, float targetZ, float ratio) {\n // d: distance on the xy plane\n // r: ratio of the current point\n // p: ratio of the peak of the arc\n // h: height multiplier\n // z = f(r) = sqrt(r * (p * 2 - r)) * d * h\n // f(0) = 0\n // f(1) = dz\n\n float deltaZ = targetZ - sourceZ;\n float dh = distance * instanceHeights;\n if (dh == 0.0) {\n return sourceZ + deltaZ * ratio;\n }\n float unitZ = deltaZ / dh;\n float p2 = unitZ * unitZ + 1.0;\n\n // sqrt does not deal with negative values, manually flip source and target if delta.z < 0\n float dir = step(deltaZ, 0.0);\n float z0 = mix(sourceZ, targetZ, dir);\n float r = mix(ratio, 1.0 - ratio, dir);\n return sqrt(r * (p2 - r)) * dh + z0;\n}\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nfloat getSegmentRatio(float index) {\n return smoothstep(0.0, 1.0, index / (numSegments - 1.0));\n}\n\nvec3 interpolateFlat(vec3 source, vec3 target, float segmentRatio) {\n float distance = length(source.xy - target.xy);\n float z = paraboloid(distance, source.z, target.z, segmentRatio);\n\n float tiltAngle = radians(instanceTilts);\n vec2 tiltDirection = normalize(target.xy - source.xy);\n vec2 tilt = vec2(-tiltDirection.y, tiltDirection.x) * z * sin(tiltAngle);\n\n return vec3(\n mix(source.xy, target.xy, segmentRatio) + tilt,\n z * cos(tiltAngle)\n );\n}\n\n/* Great circle interpolation\n * http://www.movable-type.co.uk/scripts/latlong.html\n */\nfloat getAngularDist (vec2 source, vec2 target) {\n vec2 sourceRadians = radians(source);\n vec2 targetRadians = radians(target);\n vec2 sin_half_delta = sin((sourceRadians - targetRadians) / 2.0);\n vec2 shd_sq = sin_half_delta * sin_half_delta;\n\n float a = shd_sq.y + cos(sourceRadians.y) * cos(targetRadians.y) * shd_sq.x;\n return 2.0 * asin(sqrt(a));\n}\n\nvec3 interpolateGreatCircle(vec3 source, vec3 target, vec3 source3D, vec3 target3D, float angularDist, float t) {\n vec2 lngLat;\n\n // if the angularDist is PI, linear interpolation is applied. otherwise, use spherical interpolation\n if(abs(angularDist - PI) < 0.001) {\n lngLat = (1.0 - t) * source.xy + t * target.xy;\n } else {\n float a = sin((1.0 - t) * angularDist);\n float b = sin(t * angularDist);\n vec3 p = source3D.yxz * a + target3D.yxz * b;\n lngLat = degrees(vec2(atan(p.y, -p.x), atan(p.z, length(p.xy))));\n }\n\n float z = paraboloid(angularDist * EARTH_RADIUS, source.z, target.z, t);\n\n return vec3(lngLat, z);\n}\n\n/* END GREAT CIRCLE */\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n float segmentIndex = positions.x;\n float segmentRatio = getSegmentRatio(segmentIndex);\n float prevSegmentRatio = getSegmentRatio(max(0.0, segmentIndex - 1.0));\n float nextSegmentRatio = getSegmentRatio(min(numSegments - 1.0, segmentIndex + 1.0));\n\n // if it's the first point, use next - current as direction\n // otherwise use current - prev\n float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0));\n isValid = 1.0;\n\n uv = vec2(segmentRatio, positions.y);\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n vec4 curr;\n vec4 next;\n vec3 source;\n vec3 target;\n\n if ((greatCircle || project_uProjectionMode == PROJECTION_MODE_GLOBE) && project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n source = project_globe_(vec3(instanceSourcePositions.xy, 0.0));\n target = project_globe_(vec3(instanceTargetPositions.xy, 0.0));\n float angularDist = getAngularDist(instanceSourcePositions.xy, instanceTargetPositions.xy);\n\n vec3 prevPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, prevSegmentRatio);\n vec3 currPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, segmentRatio);\n vec3 nextPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, nextSegmentRatio);\n\n if (abs(currPos.x - prevPos.x) > 180.0) {\n indexDir = -1.0;\n isValid = 0.0;\n } else if (abs(currPos.x - nextPos.x) > 180.0) {\n indexDir = 1.0;\n isValid = 0.0;\n }\n nextPos = indexDir < 0.0 ? prevPos : nextPos;\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n\n if (isValid == 0.0) {\n // split at the 180th meridian\n nextPos.x += nextPos.x > 0.0 ? -360.0 : 360.0;\n float t = ((currPos.x > 0.0 ? 180.0 : -180.0) - currPos.x) / (nextPos.x - currPos.x);\n currPos = mix(currPos, nextPos, t);\n segmentRatio = mix(segmentRatio, nextSegmentRatio, t);\n }\n\n vec3 currPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, segmentRatio);\n vec3 nextPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, nextSegmentRatio);\n \n curr = project_position_to_clipspace(currPos, currPos64Low, vec3(0.0), geometry.position);\n next = project_position_to_clipspace(nextPos, nextPos64Low, vec3(0.0));\n \n } else {\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n if (useShortestPath) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n\n float deltaLng = target_world.x - source_world.x;\n if (deltaLng > 180.) target_world.x -= 360.;\n if (deltaLng < -180.) source_world.x -= 360.;\n }\n source = project_position(source_world, instanceSourcePositions64Low);\n target = project_position(target_world, instanceTargetPositions64Low);\n\n // common x at longitude=-180\n float antiMeridianX = 0.0;\n\n if (useShortestPath) {\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET) {\n antiMeridianX = -(project_uCoordinateOrigin.x + 180.) / 360. * TILE_SIZE;\n }\n float thresholdRatio = (antiMeridianX - source.x) / (target.x - source.x);\n\n if (prevSegmentRatio <= thresholdRatio && nextSegmentRatio > thresholdRatio) {\n isValid = 0.0;\n indexDir = sign(segmentRatio - thresholdRatio);\n segmentRatio = thresholdRatio;\n }\n }\n\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n vec3 currPos = interpolateFlat(source, target, segmentRatio);\n vec3 nextPos = interpolateFlat(source, target, nextSegmentRatio);\n\n if (useShortestPath) {\n if (nextPos.x < antiMeridianX) {\n currPos.x += TILE_SIZE;\n nextPos.x += TILE_SIZE;\n }\n }\n\n curr = project_common_position_to_clipspace(vec4(currPos, 1.0));\n next = project_common_position_to_clipspace(vec4(nextPos, 1.0));\n geometry.position = vec4(currPos, 1.0);\n }\n\n // Multiply out width and clamp to limits\n // mercator pixels are interpreted as screen pixels\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset((next.xy - curr.xy) * indexDir, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = curr + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n vec4 color = mix(instanceSourceColors, instanceTargetColors, segmentRatio);\n vColor = vec4(color.rgb, color.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME arc-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nvoid main(void) {\n if (isValid == 0.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n geometry.uv = uv;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[project32,picking_picking]})}get wrapLongitude(){return!1}initializeState(){this.getAttributeManager().addInstanced({instanceSourcePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getSourcePosition"},instanceTargetPositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getTargetPosition"},instanceSourceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getSourceColor",defaultValue:DEFAULT_COLOR},instanceTargetColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getTargetColor",defaultValue:DEFAULT_COLOR},instanceWidths:{size:1,transition:!0,accessor:"getWidth",defaultValue:1},instanceHeights:{size:1,transition:!0,accessor:"getHeight",defaultValue:1},instanceTilts:{size:1,transition:!0,accessor:"getTilt",defaultValue:0}})}updateState(opts){if(super.updateState(opts),opts.changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),this.getAttributeManager().invalidateAll()}}draw({uniforms}){const{widthUnits,widthScale,widthMinPixels,widthMaxPixels,greatCircle,wrapLongitude}=this.props;this.state.model.setUniforms(uniforms).setUniforms({greatCircle,widthUnits:constants.iM[widthUnits],widthScale,widthMinPixels,widthMaxPixels,useShortestPath:wrapLongitude}).draw()}_getModel(gl){let positions=[];for(let i=0;i<50;i++)positions=positions.concat([i,1,0,i,-1,0]);const model=new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:5,attributes:{positions:new Float32Array(positions)}}),isInstanced:!0});return model.setUniforms({numSegments:50}),model}}(0,defineProperty.c)(ArcLayer,"layerName","ArcLayer"),(0,defineProperty.c)(ArcLayer,"defaultProps",defaultProps);var esm=__webpack_require__("./node_modules/@math.gl/web-mercator/dist/esm/index.js"),common=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js");const DEFAULT_INDICES=new Uint16Array([0,2,1,0,3,2]),DEFAULT_TEX_COORDS=new Float32Array([0,1,0,0,1,0,1,1]);function createMesh(bounds,resolution){if(!resolution)return function createQuad(bounds){const positions=new Float64Array(12);for(let i=0;i<bounds.length;i++)positions[3*i+0]=bounds[i][0],positions[3*i+1]=bounds[i][1],positions[3*i+2]=bounds[i][2]||0;return{vertexCount:6,positions,indices:DEFAULT_INDICES,texCoords:DEFAULT_TEX_COORDS}}(bounds);const maxXSpan=Math.max(Math.abs(bounds[0][0]-bounds[3][0]),Math.abs(bounds[1][0]-bounds[2][0])),maxYSpan=Math.max(Math.abs(bounds[1][1]-bounds[0][1]),Math.abs(bounds[2][1]-bounds[3][1])),uCount=Math.ceil(maxXSpan/resolution)+1,vCount=Math.ceil(maxYSpan/resolution)+1,vertexCount=(uCount-1)*(vCount-1)*6,indices=new Uint32Array(vertexCount),texCoords=new Float32Array(uCount*vCount*2),positions=new Float64Array(uCount*vCount*3);let vertex=0,index=0;for(let u=0;u<uCount;u++){const ut=u/(uCount-1);for(let v=0;v<vCount;v++){const vt=v/(vCount-1),p=interpolateQuad(bounds,ut,vt);positions[3*vertex+0]=p[0],positions[3*vertex+1]=p[1],positions[3*vertex+2]=p[2]||0,texCoords[2*vertex+0]=ut,texCoords[2*vertex+1]=1-vt,u>0&&v>0&&(indices[index++]=vertex-vCount,indices[index++]=vertex-vCount-1,indices[index++]=vertex-1,indices[index++]=vertex-vCount,indices[index++]=vertex-1,indices[index++]=vertex),vertex++}}return{vertexCount,positions,indices,texCoords}}function interpolateQuad(quad,ut,vt){return(0,common.Cq)((0,common.Cq)(quad[0],quad[1],vt),(0,common.Cq)(quad[3],quad[2],vt),ut)}const bitmap_layer_fragment="\n#define SHADER_NAME bitmap-layer-fragment-shader\n\n#ifdef GL_ES\nprecision highp float;\n#endif\n\nuniform sampler2D bitmapTexture;\n\nvarying vec2 vTexCoord;\nvarying vec2 vTexPos;\n\nuniform float desaturate;\nuniform vec4 transparentColor;\nuniform vec3 tintColor;\nuniform float opacity;\n\nuniform float coordinateConversion;\nuniform vec4 bounds;\n\n/* projection utils */\nconst float TILE_SIZE = 512.0;\nconst float PI = 3.1415926536;\nconst float WORLD_SCALE = TILE_SIZE / PI / 2.0;\n\n// from degrees to Web Mercator\nvec2 lnglat_to_mercator(vec2 lnglat) {\n float x = lnglat.x;\n float y = clamp(lnglat.y, -89.9, 89.9);\n return vec2(\n radians(x) + PI,\n PI + log(tan(PI * 0.25 + radians(y) * 0.5))\n ) * WORLD_SCALE;\n}\n\n// from Web Mercator to degrees\nvec2 mercator_to_lnglat(vec2 xy) {\n xy /= WORLD_SCALE;\n return degrees(vec2(\n xy.x - PI,\n atan(exp(xy.y - PI)) * 2.0 - PI * 0.5\n ));\n}\n/* End projection utils */\n\n// apply desaturation\nvec3 color_desaturate(vec3 color) {\n float luminance = (color.r + color.g + color.b) * 0.333333333;\n return mix(color, vec3(luminance), desaturate);\n}\n\n// apply tint\nvec3 color_tint(vec3 color) {\n return color * tintColor;\n}\n\n// blend with background color\nvec4 apply_opacity(vec3 color, float alpha) {\n return mix(transparentColor, vec4(color, 1.0), alpha);\n}\n\nvec2 getUV(vec2 pos) {\n return vec2(\n (pos.x - bounds[0]) / (bounds[2] - bounds[0]),\n (pos.y - bounds[3]) / (bounds[1] - bounds[3])\n );\n}\n\n".concat("\nvec3 packUVsIntoRGB(vec2 uv) {\n // Extract the top 8 bits. We want values to be truncated down so we can add a fraction\n vec2 uv8bit = floor(uv * 256.);\n\n // Calculate the normalized remainders of u and v parts that do not fit into 8 bits\n // Scale and clamp to 0-1 range\n vec2 uvFraction = fract(uv * 256.);\n vec2 uvFraction4bit = floor(uvFraction * 16.);\n\n // Remainder can be encoded in blue channel, encode as 4 bits for pixel coordinates\n float fractions = uvFraction4bit.x + uvFraction4bit.y * 16.;\n\n return vec3(uv8bit, fractions) / 255.;\n}\n","\n\nvoid main(void) {\n vec2 uv = vTexCoord;\n if (coordinateConversion < -0.5) {\n vec2 lnglat = mercator_to_lnglat(vTexPos);\n uv = getUV(lnglat);\n } else if (coordinateConversion > 0.5) {\n vec2 commonPos = lnglat_to_mercator(vTexPos);\n uv = getUV(commonPos);\n }\n vec4 bitmapColor = texture2D(bitmapTexture, uv);\n\n gl_FragColor = apply_opacity(color_tint(color_desaturate(bitmapColor.rgb)), bitmapColor.a * opacity);\n\n geometry.uv = uv;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n\n if (picking_uActive) {\n // Since instance information is not used, we can use picking color for pixel index\n gl_FragColor.rgb = packUVsIntoRGB(uv);\n }\n}\n"),bitmap_layer_defaultProps={image:{type:"image",value:null,async:!0},bounds:{type:"array",value:[1,0,0,1],compare:!0},_imageCoordinateSystem:constants.COORDINATE_SYSTEM.DEFAULT,desaturate:{type:"number",min:0,max:1,value:0},transparentColor:{type:"color",value:[0,0,0,0]},tintColor:{type:"color",value:[255,255,255]}};class BitmapLayer extends lib_layer.c{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0)}getShaders(){return super.getShaders({vs:"\n#define SHADER_NAME bitmap-layer-vertex-shader\n\nattribute vec2 texCoords;\nattribute vec3 positions;\nattribute vec3 positions64Low;\n\nvarying vec2 vTexCoord;\nvarying vec2 vTexPos;\n\nuniform float coordinateConversion;\n\nconst vec3 pickingColor = vec3(1.0, 0.0, 0.0);\n\nvoid main(void) {\n geometry.worldPosition = positions;\n geometry.uv = texCoords;\n geometry.pickingColor = pickingColor;\n\n gl_Position = project_position_to_clipspace(positions, positions64Low, vec3(0.0), geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n vTexCoord = texCoords;\n\n if (coordinateConversion < -0.5) {\n vTexPos = geometry.position.xy + project_uCommonOrigin.xy;\n } else if (coordinateConversion > 0.5) {\n vTexPos = geometry.worldPosition.xy;\n }\n\n vec4 color = vec4(0.0);\n DECKGL_FILTER_COLOR(color, geometry);\n}\n",fs:bitmap_layer_fragment,modules:[project32,picking_picking]})}initializeState(){const attributeManager=this.getAttributeManager();attributeManager.remove(["instancePickingColors"]);attributeManager.add({indices:{size:1,isIndexed:!0,update:attribute=>attribute.value=this.state.mesh.indices,noAlloc:true},positions:{size:3,type:5130,fp64:this.use64bitPositions(),update:attribute=>attribute.value=this.state.mesh.positions,noAlloc:true},texCoords:{size:2,update:attribute=>attribute.value=this.state.mesh.texCoords,noAlloc:true}})}updateState({props,oldProps,changeFlags}){const attributeManager=this.getAttributeManager();if(changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),attributeManager.invalidateAll()}if(props.bounds!==oldProps.bounds){const oldMesh=this.state.mesh,mesh=this._createMesh();this.state.model.setVertexCount(mesh.vertexCount);for(const key in mesh)oldMesh&&oldMesh[key]!==mesh[key]&&attributeManager.invalidate(key);this.setState({mesh,...this._getCoordinateUniforms()})}else props._imageCoordinateSystem!==oldProps._imageCoordinateSystem&&this.setState(this._getCoordinateUniforms())}getPickingInfo(params){const{image}=this.props,info=params.info;if(!info.color||!image)return info.bitmap=null,info;const{width,height}=image;info.index=0;const uv=function unpackUVsFromRGB(color){const[u,v,fracUV]=color;return[(u+(15&fracUV)/16)/256,(v+(240&fracUV)/256)/256]}(info.color),pixel=[Math.floor(uv[0]*width),Math.floor(uv[1]*height)];return info.bitmap={size:{width,height},uv,pixel},info}disablePickingIndex(){this.setState({disablePicking:!0})}restorePickingColors(){this.setState({disablePicking:!1})}_updateAutoHighlight(info){super._updateAutoHighlight({...info,color:this.encodePickingColor(0)})}_createMesh(){const{bounds}=this.props;let normalizedBounds=bounds;return isRectangularBounds(bounds)&&(normalizedBounds=[[bounds[0],bounds[1]],[bounds[0],bounds[3]],[bounds[2],bounds[3]],[bounds[2],bounds[1]]]),createMesh(normalizedBounds,this.context.viewport.resolution)}_getModel(gl){return gl?new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:4,vertexCount:6}),isInstanced:!1}):null}draw(opts){const{uniforms,moduleParameters}=opts,{model,coordinateConversion,bounds,disablePicking}=this.state,{image,desaturate,transparentColor,tintColor}=this.props;moduleParameters.pickingActive&&disablePicking||image&&model&&model.setUniforms(uniforms).setUniforms({bitmapTexture:image,desaturate,transparentColor:transparentColor.map((x=>x/255)),tintColor:tintColor.slice(0,3).map((x=>x/255)),coordinateConversion,bounds}).draw()}_getCoordinateUniforms(){const{LNGLAT,CARTESIAN,DEFAULT}=constants.COORDINATE_SYSTEM;let{_imageCoordinateSystem:imageCoordinateSystem}=this.props;if(imageCoordinateSystem!==DEFAULT){const{bounds}=this.props;if(!isRectangularBounds(bounds))throw new Error("_imageCoordinateSystem only supports rectangular bounds");const defaultImageCoordinateSystem=this.context.viewport.resolution?LNGLAT:CARTESIAN;if(imageCoordinateSystem=imageCoordinateSystem===LNGLAT?LNGLAT:CARTESIAN,imageCoordinateSystem===LNGLAT&&defaultImageCoordinateSystem===CARTESIAN)return{coordinateConversion:-1,bounds};if(imageCoordinateSystem===CARTESIAN&&defaultImageCoordinateSystem===LNGLAT){const bottomLeft=(0,esm.i4)([bounds[0],bounds[1]]),topRight=(0,esm.i4)([bounds[2],bounds[3]]);return{coordinateConversion:1,bounds:[bottomLeft[0],bottomLeft[1],topRight[0],topRight[1]]}}}return{coordinateConversion:0,bounds:[0,0,0,0]}}}function isRectangularBounds(bounds){return Number.isFinite(bounds[0])}(0,defineProperty.c)(BitmapLayer,"layerName","BitmapLayer"),(0,defineProperty.c)(BitmapLayer,"defaultProps",bitmap_layer_defaultProps);var log=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/log.js");var texture_utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/texture-utils.js"),copy_and_blit=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/copy-and-blit.js"),texture_2d=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-2d.js"),image_loader=__webpack_require__("./node_modules/@loaders.gl/images/dist/esm/image-loader.js"),load=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/api/load.js"),iterable_utils=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/iterable-utils.js");const noop=()=>{},DEFAULT_TEXTURE_PARAMETERS={10241:9987,10240:9729,10242:33071,10243:33071};function resizeImage(ctx,imageData,width,height){return width===imageData.width&&height===imageData.height?imageData:(ctx.canvas.height=height,ctx.canvas.width=width,ctx.clearRect(0,0,ctx.canvas.width,ctx.canvas.height),ctx.drawImage(imageData,0,0,imageData.width,imageData.height,0,0,width,height),ctx.canvas)}function getIconId(icon){return icon&&(icon.id||icon.url)}function buildRowMapping(mapping,columns,yOffset){for(let i=0;i<columns.length;i++){const{icon,xOffset}=columns[i];mapping[getIconId(icon)]={...icon,x:xOffset,y:yOffset}}}class IconManager{constructor(gl,{onUpdate=noop,onError=noop}){(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"onUpdate",void 0),(0,defineProperty.c)(this,"onError",void 0),(0,defineProperty.c)(this,"_loadOptions",null),(0,defineProperty.c)(this,"_texture",null),(0,defineProperty.c)(this,"_externalTexture",null),(0,defineProperty.c)(this,"_mapping",{}),(0,defineProperty.c)(this,"_pendingCount",0),(0,defineProperty.c)(this,"_autoPacking",!1),(0,defineProperty.c)(this,"_xOffset",0),(0,defineProperty.c)(this,"_yOffset",0),(0,defineProperty.c)(this,"_rowHeight",0),(0,defineProperty.c)(this,"_buffer",4),(0,defineProperty.c)(this,"_canvasWidth",1024),(0,defineProperty.c)(this,"_canvasHeight",0),(0,defineProperty.c)(this,"_canvas",null),this.gl=gl,this.onUpdate=onUpdate,this.onError=onError}finalize(){var _this$_texture;null===(_this$_texture=this._texture)||void 0===_this$_texture||_this$_texture.delete()}getTexture(){return this._texture||this._externalTexture}getIconMapping(icon){const id=this._autoPacking?getIconId(icon):icon;return this._mapping[id]||{}}setProps({loadOptions,autoPacking,iconAtlas,iconMapping}){var _this$_texture2;(loadOptions&&(this._loadOptions=loadOptions),void 0!==autoPacking&&(this._autoPacking=autoPacking),iconMapping&&(this._mapping=iconMapping),iconAtlas)&&(null===(_this$_texture2=this._texture)||void 0===_this$_texture2||_this$_texture2.delete(),this._texture=null,this._externalTexture=iconAtlas)}get isLoaded(){return 0===this._pendingCount}packIcons(data,getIcon){if(!this._autoPacking||"undefined"==typeof document)return;const icons=Object.values(function getDiffIcons(data,getIcon,cachedIcons){if(!data||!getIcon)return null;cachedIcons=cachedIcons||{};const icons={},{iterable,objectInfo}=(0,iterable_utils.cv)(data);for(const object of iterable){objectInfo.index++;const icon=getIcon(object,objectInfo),id=getIconId(icon);if(!icon)throw new Error("Icon is missing.");if(!icon.url)throw new Error("Icon url is missing.");icons[id]||cachedIcons[id]&&icon.url===cachedIcons[id].url||(icons[id]={...icon,source:object,sourceIndex:objectInfo.index})}return icons}(data,getIcon,this._mapping)||{});if(icons.length>0){const{mapping,xOffset,yOffset,rowHeight,canvasHeight}=function buildMapping({icons,buffer,mapping={},xOffset=0,yOffset=0,rowHeight=0,canvasWidth}){let columns=[];for(let i=0;i<icons.length;i++){const icon=icons[i];if(!mapping[getIconId(icon)]){const{height,width}=icon;xOffset+width+buffer>canvasWidth&&(buildRowMapping(mapping,columns,yOffset),xOffset=0,yOffset=rowHeight+yOffset+buffer,rowHeight=0,columns=[]),columns.push({icon,xOffset}),xOffset=xOffset+width+buffer,rowHeight=Math.max(rowHeight,height)}}return columns.length>0&&buildRowMapping(mapping,columns,yOffset),{mapping,rowHeight,xOffset,yOffset,canvasWidth,canvasHeight:(number=rowHeight+yOffset+buffer,Math.pow(2,Math.ceil(Math.log2(number))))};var number}({icons,buffer:this._buffer,canvasWidth:this._canvasWidth,mapping:this._mapping,rowHeight:this._rowHeight,xOffset:this._xOffset,yOffset:this._yOffset});this._rowHeight=rowHeight,this._mapping=mapping,this._xOffset=xOffset,this._yOffset=yOffset,this._canvasHeight=canvasHeight,this._texture||(this._texture=new texture_2d.c(this.gl,{width:this._canvasWidth,height:this._canvasHeight,parameters:DEFAULT_TEXTURE_PARAMETERS})),this._texture.height!==this._canvasHeight&&(this._texture=function resizeTexture(texture,width,height){const oldWidth=texture.width,oldHeight=texture.height,newTexture=(0,texture_utils.w)(texture,{width,height});return(0,copy_and_blit._Y)(texture,newTexture,{targetY:0,width:oldWidth,height:oldHeight}),texture.delete(),newTexture}(this._texture,this._canvasWidth,this._canvasHeight)),this.onUpdate(),this._canvas=this._canvas||document.createElement("canvas"),this._loadIcons(icons)}}_loadIcons(icons){const ctx=this._canvas.getContext("2d");for(const icon of icons)this._pendingCount++,(0,load.A)(icon.url,image_loader.A,this._loadOptions).then((imageData=>{const id=getIconId(icon),{x,y,width,height}=this._mapping[id],data=resizeImage(ctx,imageData,width,height);this._texture.setSubImageData({data,x,y,width,height}),this._texture.generateMipmap(),this.onUpdate()})).catch((error=>{this.onError({url:icon.url,source:icon.source,sourceIndex:icon.sourceIndex,loadOptions:this._loadOptions,error})})).finally((()=>{this._pendingCount--}))}}const icon_layer_DEFAULT_COLOR=[0,0,0,255],icon_layer_defaultProps={iconAtlas:{type:"image",value:null,async:!0},iconMapping:{type:"object",value:{},async:!0},sizeScale:{type:"number",value:1,min:0},billboard:!0,sizeUnits:"pixels",sizeMinPixels:{type:"number",min:0,value:0},sizeMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},alphaCutoff:{type:"number",value:.05,min:0,max:1},getPosition:{type:"accessor",value:x=>x.position},getIcon:{type:"accessor",value:x=>x.icon},getColor:{type:"accessor",value:icon_layer_DEFAULT_COLOR},getSize:{type:"accessor",value:1},getAngle:{type:"accessor",value:0},getPixelOffset:{type:"accessor",value:[0,0]},onIconError:{type:"function",value:null,compare:!1,optional:!0}};class IconLayer extends lib_layer.c{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0)}getShaders(){return super.getShaders({vs:'#define SHADER_NAME icon-layer-vertex-shader\n\nattribute vec2 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceSizes;\nattribute float instanceAngles;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute vec4 instanceIconFrames;\nattribute float instanceColorModes;\nattribute vec2 instanceOffsets;\nattribute vec2 instancePixelOffset;\n\nuniform float sizeScale;\nuniform vec2 iconsTextureDim;\nuniform float sizeMinPixels;\nuniform float sizeMaxPixels;\nuniform bool billboard;\nuniform int sizeUnits;\n\nvarying float vColorMode;\nvarying vec4 vColor;\nvarying vec2 vTextureCoords;\nvarying vec2 uv;\n\nvec2 rotate_by_angle(vec2 vertex, float angle) {\n float angle_radian = angle * PI / 180.0;\n float cos_angle = cos(angle_radian);\n float sin_angle = sin(angle_radian);\n mat2 rotationMatrix = mat2(cos_angle, -sin_angle, sin_angle, cos_angle);\n return rotationMatrix * vertex;\n}\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.uv = positions;\n geometry.pickingColor = instancePickingColors;\n uv = positions;\n\n vec2 iconSize = instanceIconFrames.zw;\n // convert size in meters to pixels, then scaled and clamp\n \n // project meters to pixels and clamp to limits \n float sizePixels = clamp(\n project_size_to_pixel(instanceSizes * sizeScale, sizeUnits), \n sizeMinPixels, sizeMaxPixels\n );\n\n // scale icon height to match instanceSize\n float instanceScale = iconSize.y == 0.0 ? 0.0 : sizePixels / iconSize.y;\n\n // scale and rotate vertex in "pixel" value and convert back to fraction in clipspace\n vec2 pixelOffset = positions / 2.0 * iconSize + instanceOffsets;\n pixelOffset = rotate_by_angle(pixelOffset, instanceAngles) * instanceScale;\n pixelOffset += instancePixelOffset;\n pixelOffset.y *= -1.0;\n\n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n vec3 offset = vec3(pixelOffset, 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n\n } else {\n vec3 offset_common = vec3(project_pixel_size(pixelOffset), 0.0);\n DECKGL_FILTER_SIZE(offset_common, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset_common, geometry.position); \n }\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n vTextureCoords = mix(\n instanceIconFrames.xy,\n instanceIconFrames.xy + iconSize,\n (positions.xy + 1.0) / 2.0\n ) / iconsTextureDim;\n\n vColor = instanceColors;\n DECKGL_FILTER_COLOR(vColor, geometry);\n\n vColorMode = instanceColorModes;\n}\n',fs:"#define SHADER_NAME icon-layer-fragment-shader\n\nprecision highp float;\n\nuniform float opacity;\nuniform sampler2D iconsTexture;\nuniform float alphaCutoff;\n\nvarying float vColorMode;\nvarying vec4 vColor;\nvarying vec2 vTextureCoords;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n vec4 texColor = texture2D(iconsTexture, vTextureCoords);\n\n // if colorMode == 0, use pixel color from the texture\n // if colorMode == 1 or rendering picking buffer, use texture as transparency mask\n vec3 color = mix(texColor.rgb, vColor.rgb, vColorMode);\n // Take the global opacity and the alpha from vColor into account for the alpha component\n float a = texColor.a * opacity * vColor.a;\n\n if (a < alphaCutoff) {\n discard;\n }\n\n gl_FragColor = vec4(color, a);\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[project32,picking_picking]})}initializeState(){this.state={iconManager:new IconManager(this.context.gl,{onUpdate:this._onUpdate.bind(this),onError:this._onError.bind(this)})};this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceSizes:{size:1,transition:!0,accessor:"getSize",defaultValue:1},instanceOffsets:{size:2,accessor:"getIcon",transform:this.getInstanceOffset},instanceIconFrames:{size:4,accessor:"getIcon",transform:this.getInstanceIconFrame},instanceColorModes:{size:1,type:5121,accessor:"getIcon",transform:this.getInstanceColorMode},instanceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getColor",defaultValue:icon_layer_DEFAULT_COLOR},instanceAngles:{size:1,transition:!0,accessor:"getAngle"},instancePixelOffset:{size:2,transition:!0,accessor:"getPixelOffset"}})}updateState(params){super.updateState(params);const{props,oldProps,changeFlags}=params,attributeManager=this.getAttributeManager(),{iconAtlas,iconMapping,data,getIcon}=props,{iconManager}=this.state,prePacked=iconAtlas||this.internalState.isAsyncPropLoading("iconAtlas");if(iconManager.setProps({loadOptions:props.loadOptions,autoPacking:!prePacked,iconAtlas,iconMapping:prePacked?iconMapping:null}),prePacked?oldProps.iconMapping!==props.iconMapping&&attributeManager.invalidate("getIcon"):(changeFlags.dataChanged||changeFlags.updateTriggersChanged&&(changeFlags.updateTriggersChanged.all||changeFlags.updateTriggersChanged.getIcon))&&iconManager.packIcons(data,getIcon),changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),attributeManager.invalidateAll()}}get isLoaded(){return super.isLoaded&&this.state.iconManager.isLoaded}finalizeState(context){super.finalizeState(context),this.state.iconManager.finalize()}draw({uniforms}){const{sizeScale,sizeMinPixels,sizeMaxPixels,sizeUnits,billboard,alphaCutoff}=this.props,{iconManager}=this.state,iconsTexture=iconManager.getTexture();iconsTexture&&this.state.model.setUniforms(uniforms).setUniforms({iconsTexture,iconsTextureDim:[iconsTexture.width,iconsTexture.height],sizeUnits:constants.iM[sizeUnits],sizeScale,sizeMinPixels,sizeMaxPixels,billboard,alphaCutoff}).draw()}_getModel(gl){return new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:6,attributes:{positions:{size:2,value:new Float32Array([-1,-1,-1,1,1,1,1,-1])}}}),isInstanced:!0})}_onUpdate(){this.setNeedsRedraw()}_onError(evt){var _this$getCurrentLayer;const onIconError=null===(_this$getCurrentLayer=this.getCurrentLayer())||void 0===_this$getCurrentLayer?void 0:_this$getCurrentLayer.props.onIconError;onIconError?onIconError(evt):log.c.error(evt.error.message)()}getInstanceOffset(icon){const{width,height,anchorX=width/2,anchorY=height/2}=this.state.iconManager.getIconMapping(icon);return[width/2-anchorX,height/2-anchorY]}getInstanceColorMode(icon){return this.state.iconManager.getIconMapping(icon).mask?1:0}getInstanceIconFrame(icon){const{x,y,width,height}=this.state.iconManager.getIconMapping(icon);return[x,y,width,height]}}(0,defineProperty.c)(IconLayer,"defaultProps",icon_layer_defaultProps),(0,defineProperty.c)(IconLayer,"layerName","IconLayer");const line_layer_defaultProps={getSourcePosition:{type:"accessor",value:x=>x.sourcePosition},getTargetPosition:{type:"accessor",value:x=>x.targetPosition},getColor:{type:"accessor",value:[0,0,0,255]},getWidth:{type:"accessor",value:1},widthUnits:"pixels",widthScale:{type:"number",value:1,min:0},widthMinPixels:{type:"number",value:0,min:0},widthMaxPixels:{type:"number",value:Number.MAX_SAFE_INTEGER,min:0}};class LineLayer extends lib_layer.c{getShaders(){return super.getShaders({vs:"#define SHADER_NAME line-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\n\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform float useShortestPath;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nvec3 splitLine(vec3 a, vec3 b, float x) {\n float t = (x - a.x) / (b.x - a.x);\n return vec3(x, mix(a.yz, b.yz, t));\n}\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n vec3 source_world_64low = instanceSourcePositions64Low;\n vec3 target_world_64low = instanceTargetPositions64Low;\n\n if (useShortestPath > 0.5 || useShortestPath < -0.5) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n float deltaLng = target_world.x - source_world.x;\n\n if (deltaLng * useShortestPath > 180.) {\n source_world.x += 360. * useShortestPath;\n source_world = splitLine(source_world, target_world, 180. * useShortestPath);\n source_world_64low = vec3(0.0);\n } else if (deltaLng * useShortestPath < -180.) {\n target_world.x += 360. * useShortestPath;\n target_world = splitLine(source_world, target_world, 180. * useShortestPath);\n target_world_64low = vec3(0.0);\n } else if (useShortestPath < 0.) {\n // Line is not split, abort\n gl_Position = vec4(0.);\n return;\n }\n }\n\n // Position\n vec4 source_commonspace;\n vec4 target_commonspace;\n vec4 source = project_position_to_clipspace(source_world, source_world_64low, vec3(0.), source_commonspace);\n vec4 target = project_position_to_clipspace(target_world, target_world_64low, vec3(0.), target_commonspace);\n \n // linear interpolation of source & target to pick right coord\n float segmentIndex = positions.x;\n vec4 p = mix(source, target, segmentIndex);\n geometry.position = mix(source_commonspace, target_commonspace, segmentIndex);\n uv = positions.xy;\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n // Multiply out width and clamp to limits\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset(target.xy - source.xy, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = p + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Color\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME line-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[project32,picking_picking]})}get wrapLongitude(){return!1}initializeState(){this.getAttributeManager().addInstanced({instanceSourcePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getSourcePosition"},instanceTargetPositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getTargetPosition"},instanceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getColor",defaultValue:[0,0,0,255]},instanceWidths:{size:1,transition:!0,accessor:"getWidth",defaultValue:1}})}updateState(params){if(super.updateState(params),params.changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),this.getAttributeManager().invalidateAll()}}draw({uniforms}){const{widthUnits,widthScale,widthMinPixels,widthMaxPixels,wrapLongitude}=this.props;this.state.model.setUniforms(uniforms).setUniforms({widthUnits:constants.iM[widthUnits],widthScale,widthMinPixels,widthMaxPixels,useShortestPath:wrapLongitude?1:0}).draw(),wrapLongitude&&this.state.model.setUniforms({useShortestPath:-1}).draw()}_getModel(gl){return new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:5,attributes:{positions:new Float32Array([0,-1,0,0,1,0,1,-1,0,1,1,0])}}),isInstanced:!0})}}(0,defineProperty.c)(LineLayer,"layerName","LineLayer"),(0,defineProperty.c)(LineLayer,"defaultProps",line_layer_defaultProps);const lights_glsl="#if (defined(SHADER_TYPE_FRAGMENT) && defined(LIGHTING_FRAGMENT)) || (defined(SHADER_TYPE_VERTEX) && defined(LIGHTING_VERTEX))\n\nstruct AmbientLight {\n vec3 color;\n};\n\nstruct PointLight {\n vec3 color;\n vec3 position;\n vec3 attenuation;\n};\n\nstruct DirectionalLight {\n vec3 color;\n vec3 direction;\n};\n\nuniform AmbientLight lighting_uAmbientLight;\nuniform PointLight lighting_uPointLight[MAX_LIGHTS];\nuniform DirectionalLight lighting_uDirectionalLight[MAX_LIGHTS];\nuniform int lighting_uPointLightCount;\nuniform int lighting_uDirectionalLightCount;\n\nuniform bool lighting_uEnabled;\n\nfloat getPointLightAttenuation(PointLight pointLight, float distance) {\n return pointLight.attenuation.x\n + pointLight.attenuation.y * distance\n + pointLight.attenuation.z * distance * distance;\n}\n\n#endif\n",INITIAL_MODULE_OPTIONS={lightSources:{}};function convertColor(){let{color=[0,0,0],intensity=1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return color.map((component=>component*intensity/255))}const lights={name:"lights",vs:lights_glsl,fs:lights_glsl,getUniforms:function lights_getUniforms(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:INITIAL_MODULE_OPTIONS;if("lightSources"in opts){const{ambientLight,pointLights,directionalLights}=opts.lightSources||{};return ambientLight||pointLights&&pointLights.length>0||directionalLights&&directionalLights.length>0?Object.assign({},function getLightSourceUniforms(_ref){let{ambientLight,pointLights=[],directionalLights=[]}=_ref;const lightSourceUniforms={};return lightSourceUniforms["lighting_uAmbientLight.color"]=ambientLight?convertColor(ambientLight):[0,0,0],pointLights.forEach(((pointLight,index)=>{lightSourceUniforms["lighting_uPointLight[".concat(index,"].color")]=convertColor(pointLight),lightSourceUniforms["lighting_uPointLight[".concat(index,"].position")]=pointLight.position,lightSourceUniforms["lighting_uPointLight[".concat(index,"].attenuation")]=pointLight.attenuation||[1,0,0]})),lightSourceUniforms.lighting_uPointLightCount=pointLights.length,directionalLights.forEach(((directionalLight,index)=>{lightSourceUniforms["lighting_uDirectionalLight[".concat(index,"].color")]=convertColor(directionalLight),lightSourceUniforms["lighting_uDirectionalLight[".concat(index,"].direction")]=directionalLight.direction})),lightSourceUniforms.lighting_uDirectionalLightCount=directionalLights.length,lightSourceUniforms}({ambientLight,pointLights,directionalLights}),{lighting_uEnabled:!0}):{lighting_uEnabled:!1}}if("lights"in opts){const lightSources={pointLights:[],directionalLights:[]};for(const light of opts.lights||[])switch(light.type){case"ambient":lightSources.ambientLight=light;break;case"directional":lightSources.directionalLights.push(light);break;case"point":lightSources.pointLights.push(light)}return lights_getUniforms({lightSources})}return{}},defines:{MAX_LIGHTS:3}},phong_lighting_glsl="\nuniform float lighting_uAmbient;\nuniform float lighting_uDiffuse;\nuniform float lighting_uShininess;\nuniform vec3 lighting_uSpecularColor;\n\nvec3 lighting_getLightColor(vec3 surfaceColor, vec3 light_direction, vec3 view_direction, vec3 normal_worldspace, vec3 color) {\n vec3 halfway_direction = normalize(light_direction + view_direction);\n float lambertian = dot(light_direction, normal_worldspace);\n float specular = 0.0;\n if (lambertian > 0.0) {\n float specular_angle = max(dot(normal_worldspace, halfway_direction), 0.0);\n specular = pow(specular_angle, lighting_uShininess);\n }\n lambertian = max(lambertian, 0.0);\n return (lambertian * lighting_uDiffuse * surfaceColor + specular * lighting_uSpecularColor) * color;\n}\n\nvec3 lighting_getLightColor(vec3 surfaceColor, vec3 cameraPosition, vec3 position_worldspace, vec3 normal_worldspace) {\n vec3 lightColor = surfaceColor;\n\n if (lighting_uEnabled) {\n vec3 view_direction = normalize(cameraPosition - position_worldspace);\n lightColor = lighting_uAmbient * surfaceColor * lighting_uAmbientLight.color;\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uPointLightCount) {\n break;\n }\n PointLight pointLight = lighting_uPointLight[i];\n vec3 light_position_worldspace = pointLight.position;\n vec3 light_direction = normalize(light_position_worldspace - position_worldspace);\n lightColor += lighting_getLightColor(surfaceColor, light_direction, view_direction, normal_worldspace, pointLight.color);\n }\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uDirectionalLightCount) {\n break;\n }\n DirectionalLight directionalLight = lighting_uDirectionalLight[i];\n lightColor += lighting_getLightColor(surfaceColor, -directionalLight.direction, view_direction, normal_worldspace, directionalLight.color);\n }\n }\n return lightColor;\n}\n\nvec3 lighting_getSpecularLightColor(vec3 cameraPosition, vec3 position_worldspace, vec3 normal_worldspace) {\n vec3 lightColor = vec3(0, 0, 0);\n vec3 surfaceColor = vec3(0, 0, 0);\n\n if (lighting_uEnabled) {\n vec3 view_direction = normalize(cameraPosition - position_worldspace);\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uPointLightCount) {\n break;\n }\n PointLight pointLight = lighting_uPointLight[i];\n vec3 light_position_worldspace = pointLight.position;\n vec3 light_direction = normalize(light_position_worldspace - position_worldspace);\n lightColor += lighting_getLightColor(surfaceColor, light_direction, view_direction, normal_worldspace, pointLight.color);\n }\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uDirectionalLightCount) {\n break;\n }\n DirectionalLight directionalLight = lighting_uDirectionalLight[i];\n lightColor += lighting_getLightColor(surfaceColor, -directionalLight.direction, view_direction, normal_worldspace, directionalLight.color);\n }\n }\n return lightColor;\n}\n",phong_lighting_INITIAL_MODULE_OPTIONS={};function phong_lighting_getUniforms(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:phong_lighting_INITIAL_MODULE_OPTIONS;if(!("material"in opts))return{};const{material}=opts;return material?function getMaterialUniforms(material){const{ambient=.35,diffuse=.6,shininess=32,specularColor=[30,30,30]}=material;return{lighting_uAmbient:ambient,lighting_uDiffuse:diffuse,lighting_uShininess:shininess,lighting_uSpecularColor:specularColor.map((x=>x/255))}}(material):{lighting_uEnabled:!1}}const gouraudLighting={name:"gouraud-lighting",dependencies:[lights],vs:phong_lighting_glsl,defines:{LIGHTING_VERTEX:1},getUniforms:phong_lighting_getUniforms},phongLighting={name:"phong-lighting",dependencies:[lights],fs:phong_lighting_glsl,defines:{LIGHTING_FRAGMENT:1},getUniforms:phong_lighting_getUniforms},point_cloud_layer_DEFAULT_COLOR=[0,0,0,255],DEFAULT_NORMAL=[0,0,1],point_cloud_layer_defaultProps={sizeUnits:"pixels",pointSize:{type:"number",min:0,value:10},getPosition:{type:"accessor",value:x=>x.position},getNormal:{type:"accessor",value:DEFAULT_NORMAL},getColor:{type:"accessor",value:point_cloud_layer_DEFAULT_COLOR},material:!0,radiusPixels:{deprecatedFor:"pointSize"}};class PointCloudLayer extends lib_layer.c{getShaders(){return super.getShaders({vs:"#define SHADER_NAME point-cloud-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceNormals;\nattribute vec4 instanceColors;\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusPixels;\nuniform int sizeUnits;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.normal = project_normal(instanceNormals);\n\n // position on the containing square in [-1, 1] space\n unitPosition = positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n // Find the center of the point and add the current vertex\n vec3 offset = vec3(positions.xy * project_size_to_pixel(radiusPixels, sizeUnits), 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.), geometry.position);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply lighting\n vec3 lightColor = lighting_getLightColor(instanceColors.rgb, project_uCameraPosition, geometry.position.xyz, geometry.normal);\n\n // Apply opacity to instance color, or return instance picking color\n vColor = vec4(lightColor, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME point-cloud-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition);\n\n if (distToCenter > 1.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[project32,gouraudLighting,picking_picking]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceNormals:{size:3,transition:!0,accessor:"getNormal",defaultValue:DEFAULT_NORMAL},instanceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getColor",defaultValue:point_cloud_layer_DEFAULT_COLOR}})}updateState(params){const{changeFlags,props}=params;if(super.updateState(params),changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),this.getAttributeManager().invalidateAll()}changeFlags.dataChanged&&function normalizeData(data){const{header,attributes}=data;header&&attributes&&(data.length=header.vertexCount,attributes.POSITION&&(attributes.instancePositions=attributes.POSITION),attributes.NORMAL&&(attributes.instanceNormals=attributes.NORMAL),attributes.COLOR_0&&(attributes.instanceColors=attributes.COLOR_0))}(props.data)}draw({uniforms}){const{pointSize,sizeUnits}=this.props;this.state.model.setUniforms(uniforms).setUniforms({sizeUnits:constants.iM[sizeUnits],radiusPixels:pointSize}).draw()}_getModel(gl){const positions=[];for(let i=0;i<3;i++){const angle=i/3*Math.PI*2;positions.push(2*Math.cos(angle),2*Math.sin(angle),0)}return new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:4,attributes:{positions:new Float32Array(positions)}}),isInstanced:!0})}}(0,defineProperty.c)(PointCloudLayer,"layerName","PointCloudLayer"),(0,defineProperty.c)(PointCloudLayer,"defaultProps",point_cloud_layer_defaultProps);const scatterplot_layer_DEFAULT_COLOR=[0,0,0,255],scatterplot_layer_defaultProps={radiusUnits:"meters",radiusScale:{type:"number",min:0,value:1},radiusMinPixels:{type:"number",min:0,value:0},radiusMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},lineWidthUnits:"meters",lineWidthScale:{type:"number",min:0,value:1},lineWidthMinPixels:{type:"number",min:0,value:0},lineWidthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},stroked:!1,filled:!0,billboard:!1,antialiasing:!0,getPosition:{type:"accessor",value:x=>x.position},getRadius:{type:"accessor",value:1},getFillColor:{type:"accessor",value:scatterplot_layer_DEFAULT_COLOR},getLineColor:{type:"accessor",value:scatterplot_layer_DEFAULT_COLOR},getLineWidth:{type:"accessor",value:1},strokeWidth:{deprecatedFor:"getLineWidth"},outline:{deprecatedFor:"stroked"},getColor:{deprecatedFor:["getFillColor","getLineColor"]}};class ScatterplotLayer extends lib_layer.c{getShaders(){return super.getShaders({vs:"#define SHADER_NAME scatterplot-layer-vertex-shader\n\nattribute vec3 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceRadius;\nattribute float instanceLineWidths;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusScale;\nuniform float radiusMinPixels;\nuniform float radiusMaxPixels;\nuniform float lineWidthScale;\nuniform float lineWidthMinPixels;\nuniform float lineWidthMaxPixels;\nuniform float stroked;\nuniform bool filled;\nuniform bool antialiasing;\nuniform bool billboard;\nuniform int radiusUnits;\nuniform int lineWidthUnits;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n\n // Multiply out radius and clamp to limits\n outerRadiusPixels = clamp(\n project_size_to_pixel(radiusScale * instanceRadius, radiusUnits),\n radiusMinPixels, radiusMaxPixels\n );\n \n // Multiply out line width and clamp to limits\n float lineWidthPixels = clamp(\n project_size_to_pixel(lineWidthScale * instanceLineWidths, lineWidthUnits),\n lineWidthMinPixels, lineWidthMaxPixels\n );\n\n // outer radius needs to offset by half stroke width\n outerRadiusPixels += stroked * lineWidthPixels / 2.0;\n\n // Expand geometry to accomodate edge smoothing\n float edgePadding = antialiasing ? (outerRadiusPixels + SMOOTH_EDGE_RADIUS) / outerRadiusPixels : 1.0;\n\n // position on the containing square in [-1, 1] space\n unitPosition = edgePadding * positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n innerUnitRadius = 1.0 - stroked * lineWidthPixels / outerRadiusPixels;\n \n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n vec3 offset = edgePadding * positions * outerRadiusPixels;\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n } else {\n vec3 offset = edgePadding * positions * project_pixel_size(outerRadiusPixels);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset, geometry.position);\n }\n\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply opacity to instance color, or return instance picking color\n vFillColor = vec4(instanceFillColors.rgb, instanceFillColors.a * opacity);\n DECKGL_FILTER_COLOR(vFillColor, geometry);\n vLineColor = vec4(instanceLineColors.rgb, instanceLineColors.a * opacity);\n DECKGL_FILTER_COLOR(vLineColor, geometry);\n}\n",fs:"#define SHADER_NAME scatterplot-layer-fragment-shader\n\nprecision highp float;\n\nuniform bool filled;\nuniform float stroked;\nuniform bool antialiasing;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition) * outerRadiusPixels;\n float inCircle = antialiasing ? \n smoothedge(distToCenter, outerRadiusPixels) : \n step(distToCenter, outerRadiusPixels);\n\n if (inCircle == 0.0) {\n discard;\n }\n\n if (stroked > 0.5) {\n float isLine = antialiasing ? \n smoothedge(innerUnitRadius * outerRadiusPixels, distToCenter) :\n step(innerUnitRadius * outerRadiusPixels, distToCenter);\n\n if (filled) {\n gl_FragColor = mix(vFillColor, vLineColor, isLine);\n } else {\n if (isLine == 0.0) {\n discard;\n }\n gl_FragColor = vec4(vLineColor.rgb, vLineColor.a * isLine);\n }\n } else if (filled) {\n gl_FragColor = vFillColor;\n } else {\n discard;\n }\n\n gl_FragColor.a *= inCircle;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[project32,picking_picking]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceRadius:{size:1,transition:!0,accessor:"getRadius",defaultValue:1},instanceFillColors:{size:this.props.colorFormat.length,transition:!0,normalized:!0,type:5121,accessor:"getFillColor",defaultValue:[0,0,0,255]},instanceLineColors:{size:this.props.colorFormat.length,transition:!0,normalized:!0,type:5121,accessor:"getLineColor",defaultValue:[0,0,0,255]},instanceLineWidths:{size:1,transition:!0,accessor:"getLineWidth",defaultValue:1}})}updateState(params){if(super.updateState(params),params.changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),this.getAttributeManager().invalidateAll()}}draw({uniforms}){const{radiusUnits,radiusScale,radiusMinPixels,radiusMaxPixels,stroked,filled,billboard,antialiasing,lineWidthUnits,lineWidthScale,lineWidthMinPixels,lineWidthMaxPixels}=this.props;this.state.model.setUniforms(uniforms).setUniforms({stroked:stroked?1:0,filled,billboard,antialiasing,radiusUnits:constants.iM[radiusUnits],radiusScale,radiusMinPixels,radiusMaxPixels,lineWidthUnits:constants.iM[lineWidthUnits],lineWidthScale,lineWidthMinPixels,lineWidthMaxPixels}).draw()}_getModel(gl){return new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:6,vertexCount:4,attributes:{positions:{size:3,value:new Float32Array([-1,-1,0,1,-1,0,1,1,0,-1,1,0])}}}),isInstanced:!0})}}(0,defineProperty.c)(ScatterplotLayer,"defaultProps",scatterplot_layer_defaultProps),(0,defineProperty.c)(ScatterplotLayer,"layerName","ScatterplotLayer");var dist_esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),features=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/features.js"),webgl_features_table=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/webgl-features-table.js");const WINDING_CLOCKWISE=1,WINDING_COUNTER_CLOCKWISE=-1;function polygon_utils_modifyPolygonWindingDirection(points,direction,options={}){const windingDirection=function getPolygonWindingDirection(points,options={}){return Math.sign(function polygon_utils_getPolygonSignedArea(points,options={}){const{start=0,end=points.length}=options,dim=options.size||2;let area=0;for(let i=start,j=end-dim;i<end;i+=dim)area+=(points[i]-points[j])*(points[i+1]+points[j+1]),j=i;return area/2}(points,options))}(points,options);return windingDirection!==direction&&(function reversePolygon(points,options){const{start=0,end=points.length,size=2}=options,numPoints=(end-start)/size,numSwaps=Math.floor(numPoints/2);for(let i=0;i<numSwaps;++i){const b1=start+i*size,b2=start+(numPoints-1-i)*size;for(let j=0;j<size;++j){const tmp=points[b1+j];points[b1+j]=points[b2+j],points[b2+j]=tmp}}}(points,options),!0)}function intersect(a,b,edge,bbox,out=[]){let t,snap;if(8&edge)t=(bbox[3]-a[1])/(b[1]-a[1]),snap=3;else if(4&edge)t=(bbox[1]-a[1])/(b[1]-a[1]),snap=1;else if(2&edge)t=(bbox[2]-a[0])/(b[0]-a[0]),snap=2;else{if(!(1&edge))return null;t=(bbox[0]-a[0])/(b[0]-a[0]),snap=0}for(let i=0;i<a.length;i++)out[i]=(1&snap)===i?bbox[snap]:t*(b[i]-a[i])+a[i];return out}function bitCode(p,bbox){let code=0;return p[0]<bbox[0]?code|=1:p[0]>bbox[2]&&(code|=2),p[1]<bbox[1]?code|=4:p[1]>bbox[3]&&(code|=8),code}function utils_push(target,source){const size=source.length,startIndex=target.length;if(startIndex>0){let isDuplicate=!0;for(let i=0;i<size;i++)if(target[startIndex-size+i]!==source[i]){isDuplicate=!1;break}if(isDuplicate)return!1}for(let i=0;i<size;i++)target[startIndex+i]=source[i];return!0}function utils_copy(target,source){const size=source.length;for(let i=0;i<size;i++)target[i]=source[i]}function utils_getPointAtIndex(positions,index,size,offset,out=[]){const startI=offset+index*size;for(let i=0;i<size;i++)out[i]=positions[startI+i];return out}function cutPolylineByGrid(positions,options){const{size=2,broken=!1,gridResolution=10,gridOffset=[0,0],startIndex=0,endIndex=positions.length}=options||{},numPoints=(endIndex-startIndex)/size;let part=[];const result=[part],a=utils_getPointAtIndex(positions,0,size,startIndex);let b,codeB;const cell=getGridCell(a,gridResolution,gridOffset,[]),scratchPoint=[];utils_push(part,a);for(let i=1;i<numPoints;i++){for(b=utils_getPointAtIndex(positions,i,size,startIndex,b),codeB=bitCode(b,cell);codeB;){intersect(a,b,codeB,cell,scratchPoint);const codeAlt=bitCode(scratchPoint,cell);codeAlt&&(intersect(a,scratchPoint,codeAlt,cell,scratchPoint),codeB=codeAlt),utils_push(part,scratchPoint),utils_copy(a,scratchPoint),moveToNeighborCell(cell,gridResolution,codeB),broken&&part.length>size&&(part=[],result.push(part),utils_push(part,a)),codeB=bitCode(b,cell)}utils_push(part,b),utils_copy(a,b)}return broken?result:result[0]}const TYPE_INSIDE=0,TYPE_BORDER=1;function concatInPlace(arr1,arr2){for(let i=0;i<arr2.length;i++)arr1.push(arr2[i]);return arr1}function cutPolygonByGrid(positions,holeIndices=null,options){if(!positions.length)return[];const{size=2,gridResolution=10,gridOffset=[0,0],edgeTypes=!1}=options||{},result=[],queue=[{pos:positions,types:edgeTypes?new Array(positions.length/size).fill(TYPE_BORDER):null,holes:holeIndices||[]}],bbox=[[],[]];let cell=[];for(;queue.length;){const{pos,types,holes}=queue.shift();getBoundingBox(pos,size,holes[0]||pos.length,bbox),cell=getGridCell(bbox[0],gridResolution,gridOffset,cell);const code=bitCode(bbox[1],cell);if(code){let parts=bisectPolygon(pos,types,size,0,holes[0]||pos.length,cell,code);const polygonLow={pos:parts[0].pos,types:parts[0].types,holes:[]},polygonHigh={pos:parts[1].pos,types:parts[1].types,holes:[]};queue.push(polygonLow,polygonHigh);for(let i=0;i<holes.length;i++)parts=bisectPolygon(pos,types,size,holes[i],holes[i+1]||pos.length,cell,code),parts[0]&&(polygonLow.holes.push(polygonLow.pos.length),polygonLow.pos=concatInPlace(polygonLow.pos,parts[0].pos),edgeTypes&&(polygonLow.types=concatInPlace(polygonLow.types,parts[0].types))),parts[1]&&(polygonHigh.holes.push(polygonHigh.pos.length),polygonHigh.pos=concatInPlace(polygonHigh.pos,parts[1].pos),edgeTypes&&(polygonHigh.types=concatInPlace(polygonHigh.types,parts[1].types)))}else{const polygon={positions:pos};edgeTypes&&(polygon.edgeTypes=types),holes.length&&(polygon.holeIndices=holes),result.push(polygon)}}return result}function bisectPolygon(positions,edgeTypes,size,startIndex,endIndex,bbox,edge){const numPoints=(endIndex-startIndex)/size,resultLow=[],resultHigh=[],typesLow=[],typesHigh=[],scratchPoint=[];let p,side,type;const prev=utils_getPointAtIndex(positions,numPoints-1,size,startIndex);let prevSide=Math.sign(8&edge?prev[1]-bbox[3]:prev[0]-bbox[2]),prevType=edgeTypes&&edgeTypes[numPoints-1],lowPointCount=0,highPointCount=0;for(let i=0;i<numPoints;i++)p=utils_getPointAtIndex(positions,i,size,startIndex,p),side=Math.sign(8&edge?p[1]-bbox[3]:p[0]-bbox[2]),type=edgeTypes&&edgeTypes[startIndex/size+i],side&&prevSide&&prevSide!==side&&(intersect(prev,p,edge,bbox,scratchPoint),utils_push(resultLow,scratchPoint)&&typesLow.push(prevType),utils_push(resultHigh,scratchPoint)&&typesHigh.push(prevType)),side<=0?(utils_push(resultLow,p)&&typesLow.push(type),lowPointCount-=side):typesLow.length&&(typesLow[typesLow.length-1]=TYPE_INSIDE),side>=0?(utils_push(resultHigh,p)&&typesHigh.push(type),highPointCount+=side):typesHigh.length&&(typesHigh[typesHigh.length-1]=TYPE_INSIDE),utils_copy(prev,p),prevSide=side,prevType=type;return[lowPointCount?{pos:resultLow,types:edgeTypes&&typesLow}:null,highPointCount?{pos:resultHigh,types:edgeTypes&&typesHigh}:null]}function getGridCell(p,gridResolution,gridOffset,out){const left=Math.floor((p[0]-gridOffset[0])/gridResolution)*gridResolution+gridOffset[0],bottom=Math.floor((p[1]-gridOffset[1])/gridResolution)*gridResolution+gridOffset[1];return out[0]=left,out[1]=bottom,out[2]=left+gridResolution,out[3]=bottom+gridResolution,out}function moveToNeighborCell(cell,gridResolution,edge){8&edge?(cell[1]+=gridResolution,cell[3]+=gridResolution):4&edge?(cell[1]-=gridResolution,cell[3]-=gridResolution):2&edge?(cell[0]+=gridResolution,cell[2]+=gridResolution):1&edge&&(cell[0]-=gridResolution,cell[2]-=gridResolution)}function getBoundingBox(positions,size,endIndex,out){let minX=1/0,maxX=-1/0,minY=1/0,maxY=-1/0;for(let i=0;i<endIndex;i+=size){const x=positions[i],y=positions[i+1];minX=x<minX?x:minX,maxX=x>maxX?x:maxX,minY=y<minY?y:minY,maxY=y>maxY?y:maxY}return out[0][0]=minX,out[0][1]=minY,out[1][0]=maxX,out[1][1]=maxY,out}const DEFAULT_MAX_LATITUDE=85.051129;function findSplitIndex(positions,size,startIndex,endIndex){let maxLat=-1,pointIndex=-1;for(let i=startIndex+1;i<endIndex;i+=size){const lat=Math.abs(positions[i]);lat>maxLat&&(maxLat=lat,pointIndex=i-1)}return pointIndex}function insertPoleVertices(positions,size,startIndex,endIndex,maxLatitude=DEFAULT_MAX_LATITUDE){const firstLng=positions[startIndex],lastLng=positions[endIndex-size];if(Math.abs(firstLng-lastLng)>180){const p=utils_getPointAtIndex(positions,0,size,startIndex);p[0]+=360*Math.round((lastLng-firstLng)/360),utils_push(positions,p),p[1]=Math.sign(p[1])*maxLatitude,utils_push(positions,p),p[0]=firstLng,utils_push(positions,p)}}function wrapLongitudesForShortestPath(positions,size,startIndex,endIndex){let lng,prevLng=positions[0];for(let i=startIndex;i<endIndex;i+=size){lng=positions[i];const delta=lng-prevLng;(delta>180||delta<-180)&&(lng-=360*Math.round(delta/360)),positions[i]=prevLng=lng}}function shiftLongitudesIntoRange(positions,size){let refLng;const pointCount=positions.length/size;for(let i=0;i<pointCount&&(refLng=positions[i*size],(refLng+180)%360==0);i++);const delta=360*-Math.round(refLng/360);if(0!==delta)for(let i=0;i<pointCount;i++)positions[i*size]+=delta}class ColumnGeometry extends Geometry{constructor(props){const{id=(0,utils.cB)("column-geometry")}=props,{indices,attributes}=function tesselateColumn(props){const{radius,height=1,nradial=10}=props;let{vertices}=props;vertices&&(log.c.assert(vertices.length>=nradial),vertices=vertices.flatMap((v=>[v[0],v[1]])),polygon_utils_modifyPolygonWindingDirection(vertices,WINDING_COUNTER_CLOCKWISE));const isExtruded=height>0,vertsAroundEdge=nradial+1,numVertices=isExtruded?3*vertsAroundEdge+1:nradial,stepAngle=2*Math.PI/nradial,indices=new Uint16Array(isExtruded?3*nradial*2:0),positions=new Float32Array(3*numVertices),normals=new Float32Array(3*numVertices);let i=0;if(isExtruded){for(let j=0;j<vertsAroundEdge;j++){const a=j*stepAngle,vertexIndex=j%nradial,sin=Math.sin(a),cos=Math.cos(a);for(let k=0;k<2;k++)positions[i+0]=vertices?vertices[2*vertexIndex]:cos*radius,positions[i+1]=vertices?vertices[2*vertexIndex+1]:sin*radius,positions[i+2]=(.5-k)*height,normals[i+0]=vertices?vertices[2*vertexIndex]:cos,normals[i+1]=vertices?vertices[2*vertexIndex+1]:sin,i+=3}positions[i+0]=positions[i-3],positions[i+1]=positions[i-2],positions[i+2]=positions[i-1],i+=3}for(let j=isExtruded?0:1;j<vertsAroundEdge;j++){const v=Math.floor(j/2)*Math.sign(.5-j%2),a=v*stepAngle,vertexIndex=(v+nradial)%nradial,sin=Math.sin(a),cos=Math.cos(a);positions[i+0]=vertices?vertices[2*vertexIndex]:cos*radius,positions[i+1]=vertices?vertices[2*vertexIndex+1]:sin*radius,positions[i+2]=height/2,normals[i+2]=1,i+=3}if(isExtruded){let index=0;for(let j=0;j<nradial;j++)indices[index++]=2*j+0,indices[index++]=2*j+2,indices[index++]=2*j+0,indices[index++]=2*j+1,indices[index++]=2*j+1,indices[index++]=2*j+3}return{indices,attributes:{POSITION:{size:3,value:positions},NORMAL:{size:3,value:normals}}}}(props);super({...props,id,indices,attributes})}}const column_layer_DEFAULT_COLOR=[0,0,0,255],column_layer_defaultProps={diskResolution:{type:"number",min:4,value:20},vertices:null,radius:{type:"number",min:0,value:1e3},angle:{type:"number",value:0},offset:{type:"array",value:[0,0]},coverage:{type:"number",min:0,max:1,value:1},elevationScale:{type:"number",min:0,value:1},radiusUnits:"meters",lineWidthUnits:"meters",lineWidthScale:1,lineWidthMinPixels:0,lineWidthMaxPixels:Number.MAX_SAFE_INTEGER,extruded:!0,wireframe:!1,filled:!0,stroked:!1,getPosition:{type:"accessor",value:x=>x.position},getFillColor:{type:"accessor",value:column_layer_DEFAULT_COLOR},getLineColor:{type:"accessor",value:column_layer_DEFAULT_COLOR},getLineWidth:{type:"accessor",value:1},getElevation:{type:"accessor",value:1e3},material:!0,getColor:{deprecatedFor:["getFillColor","getLineColor"]}};class ColumnLayer extends lib_layer.c{getShaders(){const{gl}=this.context,transpileToGLSL100=!(0,dist_esm.Y8)(gl),defines={},useDerivatives=this.props.flatShading&&(0,features._E)(gl,webgl_features_table.c.GLSL_DERIVATIVES);return useDerivatives&&(defines.FLAT_SHADING=1),super.getShaders({vs:"#version 300 es\n\n#define SHADER_NAME column-layer-vertex-shader\n\nin vec3 positions;\nin vec3 normals;\n\nin vec3 instancePositions;\nin float instanceElevations;\nin vec3 instancePositions64Low;\nin vec4 instanceFillColors;\nin vec4 instanceLineColors;\nin float instanceStrokeWidths;\n\nin vec3 instancePickingColors;\n\n// Custom uniforms\nuniform float opacity;\nuniform float radius;\nuniform float angle;\nuniform vec2 offset;\nuniform bool extruded;\nuniform bool isStroke;\nuniform float coverage;\nuniform float elevationScale;\nuniform float edgeDistance;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform int radiusUnits;\nuniform int widthUnits;\n\n// Result\nout vec4 vColor;\n#ifdef FLAT_SHADING\nout vec4 position_commonspace;\n#endif\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n\n vec4 color = isStroke ? instanceLineColors : instanceFillColors;\n // rotate primitive position and normal\n mat2 rotationMatrix = mat2(cos(angle), sin(angle), -sin(angle), cos(angle));\n\n // calculate elevation, if 3d not enabled set to 0\n // cylindar gemoetry height are between -1.0 to 1.0, transform it to between 0, 1\n float elevation = 0.0;\n // calculate stroke offset\n float strokeOffsetRatio = 1.0;\n\n if (extruded) {\n elevation = instanceElevations * (positions.z + 1.0) / 2.0 * elevationScale;\n } else if (isStroke) {\n float widthPixels = clamp(\n project_size_to_pixel(instanceStrokeWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels) / 2.0;\n strokeOffsetRatio -= sign(positions.z) * project_pixel_size(widthPixels) / project_size(edgeDistance * coverage * radius);\n }\n\n // if alpha == 0.0 or z < 0.0, do not render element\n float shouldRender = float(color.a > 0.0 && instanceElevations >= 0.0);\n float dotRadius = radius * coverage * shouldRender;\n\n geometry.pickingColor = instancePickingColors;\n\n // project center of column\n vec3 centroidPosition = vec3(instancePositions.xy, instancePositions.z + elevation);\n vec3 centroidPosition64Low = instancePositions64Low;\n vec2 offset = (rotationMatrix * positions.xy * strokeOffsetRatio + offset) * dotRadius;\n if (radiusUnits == UNIT_METERS) {\n offset = project_size(offset);\n }\n vec3 pos = vec3(offset, 0.);\n DECKGL_FILTER_SIZE(pos, geometry);\n\n gl_Position = project_position_to_clipspace(centroidPosition, centroidPosition64Low, pos, geometry.position);\n geometry.normal = project_normal(vec3(rotationMatrix * normals.xy, normals.z));\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Light calculations\n if (extruded && !isStroke) {\n#ifdef FLAT_SHADING\n position_commonspace = geometry.position;\n vColor = vec4(color.rgb, color.a * opacity);\n#else\n vec3 lightColor = lighting_getLightColor(color.rgb, project_uCameraPosition, geometry.position.xyz, geometry.normal);\n vColor = vec4(lightColor, color.a * opacity);\n#endif\n } else {\n vColor = vec4(color.rgb, color.a * opacity);\n }\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#version 300 es\n#define SHADER_NAME column-layer-fragment-shader\n\nprecision highp float;\n\nuniform vec3 project_uCameraPosition;\nuniform bool extruded;\nuniform bool isStroke;\n\nout vec4 fragColor;\n\nin vec4 vColor;\n#ifdef FLAT_SHADING\nin vec4 position_commonspace;\n#endif\n\nvoid main(void) {\n fragColor = vColor;\n#ifdef FLAT_SHADING\n if (extruded && !isStroke && !picking_uActive) {\n vec3 normal = normalize(cross(dFdx(position_commonspace.xyz), dFdy(position_commonspace.xyz)));\n fragColor.rgb = lighting_getLightColor(vColor.rgb, project_uCameraPosition, position_commonspace.xyz, normal);\n }\n#endif\n DECKGL_FILTER_COLOR(fragColor, geometry);\n}\n",defines,transpileToGLSL100,modules:[project32,useDerivatives?phongLighting:gouraudLighting,picking_picking]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceElevations:{size:1,transition:!0,accessor:"getElevation"},instanceFillColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getFillColor",defaultValue:column_layer_DEFAULT_COLOR},instanceLineColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getLineColor",defaultValue:column_layer_DEFAULT_COLOR},instanceStrokeWidths:{size:1,accessor:"getLineWidth",transition:!0}})}updateState(params){super.updateState(params);const{props,oldProps,changeFlags}=params,regenerateModels=changeFlags.extensionsChanged||props.flatShading!==oldProps.flatShading;if(regenerateModels){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),this.getAttributeManager().invalidateAll()}(regenerateModels||props.diskResolution!==oldProps.diskResolution||props.vertices!==oldProps.vertices||(props.extruded||props.stroked)!==(oldProps.extruded||oldProps.stroked))&&this._updateGeometry(props)}getGeometry(diskResolution,vertices,hasThinkness){const geometry=new ColumnGeometry({radius:1,height:hasThinkness?2:0,vertices,nradial:diskResolution});let meanVertexDistance=0;if(vertices)for(let i=0;i<diskResolution;i++){const p=vertices[i];meanVertexDistance+=Math.sqrt(p[0]*p[0]+p[1]*p[1])/diskResolution}else meanVertexDistance=1;return this.setState({edgeDistance:Math.cos(Math.PI/diskResolution)*meanVertexDistance}),geometry}_getModel(gl){return new lib_model.c(gl,{...this.getShaders(),id:this.props.id,isInstanced:!0})}_updateGeometry({diskResolution,vertices,extruded,stroked}){const geometry=this.getGeometry(diskResolution,vertices,extruded||stroked);this.setState({fillVertexCount:geometry.attributes.POSITION.value.length/3,wireframeVertexCount:geometry.indices.value.length}),this.state.model.setProps({geometry})}draw({uniforms}){const{lineWidthUnits,lineWidthScale,lineWidthMinPixels,lineWidthMaxPixels,radiusUnits,elevationScale,extruded,filled,stroked,wireframe,offset,coverage,radius,angle}=this.props,{model,fillVertexCount,wireframeVertexCount,edgeDistance}=this.state;model.setUniforms(uniforms).setUniforms({radius,angle:angle/180*Math.PI,offset,extruded,coverage,elevationScale,edgeDistance,radiusUnits:constants.iM[radiusUnits],widthUnits:constants.iM[lineWidthUnits],widthScale:lineWidthScale,widthMinPixels:lineWidthMinPixels,widthMaxPixels:lineWidthMaxPixels}),extruded&&wireframe&&(model.setProps({isIndexed:!0}),model.setVertexCount(wireframeVertexCount).setDrawMode(1).setUniforms({isStroke:!0}).draw()),filled&&(model.setProps({isIndexed:!1}),model.setVertexCount(fillVertexCount).setDrawMode(5).setUniforms({isStroke:!1}).draw()),!extruded&&stroked&&(model.setProps({isIndexed:!1}),model.setVertexCount(2*fillVertexCount/3).setDrawMode(5).setUniforms({isStroke:!0}).draw())}}(0,defineProperty.c)(ColumnLayer,"layerName","ColumnLayer"),(0,defineProperty.c)(ColumnLayer,"defaultProps",column_layer_defaultProps);const CUBE_INDICES=new Uint16Array([0,1,2,0,2,3,4,5,6,4,6,7,8,9,10,8,10,11,12,13,14,12,14,15,16,17,18,16,18,19,20,21,22,20,22,23]),CUBE_POSITIONS=new Float32Array([-1,-1,1,1,-1,1,1,1,1,-1,1,1,-1,-1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,1,-1,-1,1,1,1,1,1,1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,1,-1,-1,1,1,-1,1,1,1,1,-1,1,-1,-1,-1,-1,-1,1,-1,1,1,-1,1,-1]),CUBE_NORMALS=new Float32Array([0,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,0]),CUBE_TEX_COORDS=new Float32Array([0,0,1,0,1,1,0,1,1,0,1,1,0,1,0,0,0,1,0,0,1,0,1,1,1,1,0,1,0,0,1,0,1,0,1,1,0,1,0,0,0,0,1,0,1,1,0,1]),ATTRIBUTES={POSITION:{size:3,value:new Float32Array(CUBE_POSITIONS)},NORMAL:{size:3,value:new Float32Array(CUBE_NORMALS)},TEXCOORD_0:{size:2,value:new Float32Array(CUBE_TEX_COORDS)}};class CubeGeometry extends Geometry{constructor(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{id=(0,utils.cB)("cube-geometry")}=props;super({...props,id,indices:{size:1,value:new Uint16Array(CUBE_INDICES)},attributes:{...ATTRIBUTES,...props.attributes}})}}class GridCellLayer extends ColumnLayer{getGeometry(diskResolution){return new CubeGeometry}draw({uniforms}){const{elevationScale,extruded,offset,coverage,cellSize,angle,radiusUnits}=this.props;this.state.model.setUniforms(uniforms).setUniforms({radius:cellSize/2,radiusUnits:constants.iM[radiusUnits],angle,offset,extruded,coverage,elevationScale,edgeDistance:1,isWireframe:!1}).draw()}}(0,defineProperty.c)(GridCellLayer,"layerName","GridCellLayer"),(0,defineProperty.c)(GridCellLayer,"defaultProps",{cellSize:{type:"number",min:0,value:1e3},offset:{type:"array",value:[1,1]}});var typed_array_manager=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/typed-array-manager.js"),utils_assert=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/assert.js"),buffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/buffer.js");class Tesselator{constructor(opts){(0,defineProperty.c)(this,"opts",void 0),(0,defineProperty.c)(this,"typedArrayManager",void 0),(0,defineProperty.c)(this,"indexStarts",[0]),(0,defineProperty.c)(this,"vertexStarts",[0]),(0,defineProperty.c)(this,"vertexCount",0),(0,defineProperty.c)(this,"instanceCount",0),(0,defineProperty.c)(this,"attributes",void 0),(0,defineProperty.c)(this,"_attributeDefs",void 0),(0,defineProperty.c)(this,"data",void 0),(0,defineProperty.c)(this,"getGeometry",void 0),(0,defineProperty.c)(this,"geometryBuffer",void 0),(0,defineProperty.c)(this,"buffers",void 0),(0,defineProperty.c)(this,"positionSize",void 0),(0,defineProperty.c)(this,"normalize",void 0);const{attributes={}}=opts;this.typedArrayManager=typed_array_manager.c,this.attributes={},this._attributeDefs=attributes,this.opts=opts,this.updateGeometry(opts)}updateGeometry(opts){Object.assign(this.opts,opts);const{data,buffers={},getGeometry,geometryBuffer,positionFormat,dataChanged,normalize=!0}=this.opts;if(this.data=data,this.getGeometry=getGeometry,this.positionSize=geometryBuffer&&geometryBuffer.size||("XY"===positionFormat?2:3),this.buffers=buffers,this.normalize=normalize,geometryBuffer&&((0,utils_assert.c)(data.startIndices),this.getGeometry=this.getGeometryFromBuffer(geometryBuffer),normalize||(buffers.positions=geometryBuffer)),this.geometryBuffer=buffers.positions,Array.isArray(dataChanged))for(const dataRange of dataChanged)this._rebuildGeometry(dataRange);else this._rebuildGeometry()}updatePartialGeometry({startRow,endRow}){this._rebuildGeometry({startRow,endRow})}getGeometryFromBuffer(geometryBuffer){const value=geometryBuffer.value||geometryBuffer;return ArrayBuffer.isView(value)?(0,iterable_utils.Su)(value,{size:this.positionSize,offset:geometryBuffer.offset,stride:geometryBuffer.stride,startIndices:this.data.startIndices}):null}_allocate(instanceCount,copy){const{attributes,buffers,_attributeDefs,typedArrayManager}=this;for(const name in _attributeDefs)if(name in buffers)typedArrayManager.release(attributes[name]),attributes[name]=null;else{const def=_attributeDefs[name];def.copy=copy,attributes[name]=typedArrayManager.allocate(attributes[name],instanceCount,def)}}_forEachGeometry(visitor,startRow,endRow){const{data,getGeometry}=this,{iterable,objectInfo}=(0,iterable_utils.cv)(data,startRow,endRow);for(const object of iterable){objectInfo.index++;visitor(getGeometry?getGeometry(object,objectInfo):null,objectInfo.index)}}_rebuildGeometry(dataRange){if(!this.data)return;let{indexStarts,vertexStarts,instanceCount}=this;const{data,geometryBuffer}=this,{startRow=0,endRow=1/0}=dataRange||{},normalizedData={};if(dataRange||(indexStarts=[0],vertexStarts=[0]),this.normalize||!geometryBuffer)this._forEachGeometry(((geometry,dataIndex)=>{const normalizedGeometry=geometry&&this.normalizeGeometry(geometry);normalizedData[dataIndex]=normalizedGeometry,vertexStarts[dataIndex+1]=vertexStarts[dataIndex]+(normalizedGeometry?this.getGeometrySize(normalizedGeometry):0)}),startRow,endRow),instanceCount=vertexStarts[vertexStarts.length-1];else if(vertexStarts=data.startIndices,instanceCount=vertexStarts[data.length]||0,ArrayBuffer.isView(geometryBuffer))instanceCount=instanceCount||geometryBuffer.length/this.positionSize;else if(geometryBuffer instanceof buffer.c){const byteStride=geometryBuffer.accessor.stride||4*this.positionSize;instanceCount=instanceCount||geometryBuffer.byteLength/byteStride}else if(geometryBuffer.buffer){const byteStride=geometryBuffer.stride||4*this.positionSize;instanceCount=instanceCount||geometryBuffer.buffer.byteLength/byteStride}else if(geometryBuffer.value){const bufferValue=geometryBuffer.value,elementStride=geometryBuffer.stride/bufferValue.BYTES_PER_ELEMENT||this.positionSize;instanceCount=instanceCount||bufferValue.length/elementStride}this._allocate(instanceCount,Boolean(dataRange)),this.indexStarts=indexStarts,this.vertexStarts=vertexStarts,this.instanceCount=instanceCount;const context={};this._forEachGeometry(((geometry,dataIndex)=>{const normalizedGeometry=normalizedData[dataIndex]||geometry;context.vertexStart=vertexStarts[dataIndex],context.indexStart=indexStarts[dataIndex];const vertexEnd=dataIndex<vertexStarts.length-1?vertexStarts[dataIndex+1]:instanceCount;context.geometrySize=vertexEnd-vertexStarts[dataIndex],context.geometryIndex=dataIndex,this.updateGeometryAttributes(normalizedGeometry,context)}),startRow,endRow),this.vertexCount=indexStarts[indexStarts.length-1]}}function normalizePath(path,size,gridResolution,wrapLongitude){let flatPath;if(Array.isArray(path[0])){const length=path.length*size;flatPath=new Array(length);for(let i=0;i<path.length;i++)for(let j=0;j<size;j++)flatPath[i*size+j]=path[i][j]||0}else flatPath=path;return gridResolution?cutPolylineByGrid(flatPath,{size,gridResolution}):wrapLongitude?function cutPolylineByMercatorBounds(positions,options){const{size=2,startIndex=0,endIndex=positions.length,normalize=!0}=options||{},newPositions=positions.slice(startIndex,endIndex);wrapLongitudesForShortestPath(newPositions,size,0,endIndex-startIndex);const parts=cutPolylineByGrid(newPositions,{size,broken:!0,gridResolution:360,gridOffset:[-180,-180]});if(normalize)for(const part of parts)shiftLongitudesIntoRange(part,size);return parts}(flatPath,{size}):flatPath}class PathTesselator extends Tesselator{constructor(opts){super({...opts,attributes:{positions:{size:3,padding:18,initialize:!0,type:opts.fp64?Float64Array:Float32Array},segmentTypes:{size:1,type:Uint8ClampedArray}}})}get(attributeName){return this.attributes[attributeName]}getGeometryFromBuffer(buffer){return this.normalize?super.getGeometryFromBuffer(buffer):null}normalizeGeometry(path){return this.normalize?normalizePath(path,this.positionSize,this.opts.resolution,this.opts.wrapLongitude):path}getGeometrySize(path){if(isCut(path)){let size=0;for(const subPath of path)size+=this.getGeometrySize(subPath);return size}const numPoints=this.getPathLength(path);return numPoints<2?0:this.isClosed(path)?numPoints<3?0:numPoints+2:numPoints}updateGeometryAttributes(path,context){if(0!==context.geometrySize)if(path&&isCut(path))for(const subPath of path){const geometrySize=this.getGeometrySize(subPath);context.geometrySize=geometrySize,this.updateGeometryAttributes(subPath,context),context.vertexStart+=geometrySize}else this._updateSegmentTypes(path,context),this._updatePositions(path,context)}_updateSegmentTypes(path,context){const segmentTypes=this.attributes.segmentTypes,isPathClosed=!!path&&this.isClosed(path),{vertexStart,geometrySize}=context;segmentTypes.fill(0,vertexStart,vertexStart+geometrySize),isPathClosed?(segmentTypes[vertexStart]=4,segmentTypes[vertexStart+geometrySize-2]=4):(segmentTypes[vertexStart]+=1,segmentTypes[vertexStart+geometrySize-2]+=2),segmentTypes[vertexStart+geometrySize-1]=4}_updatePositions(path,context){const{positions}=this.attributes;if(!positions||!path)return;const{vertexStart,geometrySize}=context,p=new Array(3);for(let i=vertexStart,ptIndex=0;ptIndex<geometrySize;i++,ptIndex++)this.getPointOnPath(path,ptIndex,p),positions[3*i]=p[0],positions[3*i+1]=p[1],positions[3*i+2]=p[2]}getPathLength(path){return path.length/this.positionSize}getPointOnPath(path,index,target=[]){const{positionSize}=this;index*positionSize>=path.length&&(index+=1-path.length/positionSize);const i=index*positionSize;return target[0]=path[i],target[1]=path[i+1],target[2]=3===positionSize&&path[i+2]||0,target}isClosed(path){if(!this.normalize)return Boolean(this.opts.loop);const{positionSize}=this,lastPointIndex=path.length-positionSize;return path[0]===path[lastPointIndex]&&path[1]===path[lastPointIndex+1]&&(2===positionSize||path[2]===path[lastPointIndex+2])}}function isCut(path){return Array.isArray(path[0])}const path_layer_DEFAULT_COLOR=[0,0,0,255],path_layer_defaultProps={widthUnits:"meters",widthScale:{type:"number",min:0,value:1},widthMinPixels:{type:"number",min:0,value:0},widthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},jointRounded:!1,capRounded:!1,miterLimit:{type:"number",min:0,value:4},billboard:!1,_pathType:null,getPath:{type:"accessor",value:object=>object.path},getColor:{type:"accessor",value:path_layer_DEFAULT_COLOR},getWidth:{type:"accessor",value:1},rounded:{deprecatedFor:["jointRounded","capRounded"]}},ATTRIBUTE_TRANSITION={enter:(value,chunk)=>chunk.length?chunk.subarray(chunk.length-value.length):value};class PathLayer extends lib_layer.c{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME path-layer-vertex-shader\n\nattribute vec2 positions;\n\nattribute float instanceTypes;\nattribute vec3 instanceStartPositions;\nattribute vec3 instanceEndPositions;\nattribute vec3 instanceLeftPositions;\nattribute vec3 instanceRightPositions;\nattribute vec3 instanceLeftPositions64Low;\nattribute vec3 instanceStartPositions64Low;\nattribute vec3 instanceEndPositions64Low;\nattribute vec3 instanceRightPositions64Low;\nattribute float instanceStrokeWidths;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\n\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform float jointType;\nuniform float capType;\nuniform float miterLimit;\nuniform bool billboard;\nuniform int widthUnits;\n\nuniform float opacity;\n\nvarying vec4 vColor;\nvarying vec2 vCornerOffset;\nvarying float vMiterLength;\nvarying vec2 vPathPosition;\nvarying float vPathLength;\nvarying float vJointType;\n\nconst float EPSILON = 0.001;\nconst vec3 ZERO_OFFSET = vec3(0.0);\n\nfloat flipIfTrue(bool flag) {\n return -(float(flag) * 2. - 1.);\n}\n\n// calculate line join positions\nvec3 lineJoin(\n vec3 prevPoint, vec3 currPoint, vec3 nextPoint,\n vec2 width\n) {\n bool isEnd = positions.x > 0.0;\n // side of the segment - -1: left, 0: center, 1: right\n float sideOfPath = positions.y;\n float isJoint = float(sideOfPath == 0.0);\n\n vec3 deltaA3 = (currPoint - prevPoint);\n vec3 deltaB3 = (nextPoint - currPoint);\n\n mat3 rotationMatrix;\n bool needsRotation = !billboard && project_needs_rotation(currPoint, rotationMatrix);\n if (needsRotation) {\n deltaA3 = deltaA3 * rotationMatrix;\n deltaB3 = deltaB3 * rotationMatrix;\n }\n vec2 deltaA = deltaA3.xy / width;\n vec2 deltaB = deltaB3.xy / width;\n\n float lenA = length(deltaA);\n float lenB = length(deltaB);\n\n vec2 dirA = lenA > 0. ? normalize(deltaA) : vec2(0.0, 0.0);\n vec2 dirB = lenB > 0. ? normalize(deltaB) : vec2(0.0, 0.0);\n\n vec2 perpA = vec2(-dirA.y, dirA.x);\n vec2 perpB = vec2(-dirB.y, dirB.x);\n\n // tangent of the corner\n vec2 tangent = dirA + dirB;\n tangent = length(tangent) > 0. ? normalize(tangent) : perpA;\n // direction of the corner\n vec2 miterVec = vec2(-tangent.y, tangent.x);\n // direction of the segment\n vec2 dir = isEnd ? dirA : dirB;\n // direction of the extrusion\n vec2 perp = isEnd ? perpA : perpB;\n // length of the segment\n float L = isEnd ? lenA : lenB;\n\n // A = angle of the corner\n float sinHalfA = abs(dot(miterVec, perp));\n float cosHalfA = abs(dot(dirA, miterVec));\n\n // -1: right, 1: left\n float turnDirection = flipIfTrue(dirA.x * dirB.y >= dirA.y * dirB.x);\n\n // relative position to the corner:\n // -1: inside (smaller side of the angle)\n // 0: center\n // 1: outside (bigger side of the angle)\n float cornerPosition = sideOfPath * turnDirection;\n\n float miterSize = 1.0 / max(sinHalfA, EPSILON);\n // trim if inside corner extends further than the line segment\n miterSize = mix(\n min(miterSize, max(lenA, lenB) / max(cosHalfA, EPSILON)),\n miterSize,\n step(0.0, cornerPosition)\n );\n\n vec2 offsetVec = mix(miterVec * miterSize, perp, step(0.5, cornerPosition))\n * (sideOfPath + isJoint * turnDirection);\n\n // special treatment for start cap and end cap\n bool isStartCap = lenA == 0.0 || (!isEnd && (instanceTypes == 1.0 || instanceTypes == 3.0));\n bool isEndCap = lenB == 0.0 || (isEnd && (instanceTypes == 2.0 || instanceTypes == 3.0));\n bool isCap = isStartCap || isEndCap;\n\n // extend out a triangle to envelope the round cap\n if (isCap) {\n offsetVec = mix(perp * sideOfPath, dir * capType * 4.0 * flipIfTrue(isStartCap), isJoint);\n vJointType = capType;\n } else {\n vJointType = jointType;\n }\n\n // Generate variables for fragment shader\n vPathLength = L;\n vCornerOffset = offsetVec;\n vMiterLength = dot(vCornerOffset, miterVec * turnDirection);\n vMiterLength = isCap ? isJoint : vMiterLength;\n\n vec2 offsetFromStartOfPath = vCornerOffset + deltaA * float(isEnd);\n vPathPosition = vec2(\n dot(offsetFromStartOfPath, perp),\n dot(offsetFromStartOfPath, dir)\n );\n geometry.uv = vPathPosition;\n\n float isValid = step(instanceTypes, 3.5);\n vec3 offset = vec3(offsetVec * width * isValid, 0.0);\n\n if (needsRotation) {\n offset = rotationMatrix * offset;\n }\n return currPoint + offset;\n}\n\n// In clipspace extrusion, if a line extends behind the camera, clip it to avoid visual artifacts\nvoid clipLine(inout vec4 position, vec4 refPosition) {\n if (position.w < EPSILON) {\n float r = (EPSILON - refPosition.w) / (position.w - refPosition.w);\n position = refPosition + (position - refPosition) * r;\n }\n}\n\nvoid main() {\n geometry.pickingColor = instancePickingColors;\n\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity);\n\n float isEnd = positions.x;\n\n vec3 prevPosition = mix(instanceLeftPositions, instanceStartPositions, isEnd);\n vec3 prevPosition64Low = mix(instanceLeftPositions64Low, instanceStartPositions64Low, isEnd);\n\n vec3 currPosition = mix(instanceStartPositions, instanceEndPositions, isEnd);\n vec3 currPosition64Low = mix(instanceStartPositions64Low, instanceEndPositions64Low, isEnd);\n\n vec3 nextPosition = mix(instanceEndPositions, instanceRightPositions, isEnd);\n vec3 nextPosition64Low = mix(instanceEndPositions64Low, instanceRightPositions64Low, isEnd);\n\n geometry.worldPosition = currPosition;\n vec2 widthPixels = vec2(clamp(\n project_size_to_pixel(instanceStrokeWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels) / 2.0);\n vec3 width;\n\n if (billboard) {\n // Extrude in clipspace\n vec4 prevPositionScreen = project_position_to_clipspace(prevPosition, prevPosition64Low, ZERO_OFFSET);\n vec4 currPositionScreen = project_position_to_clipspace(currPosition, currPosition64Low, ZERO_OFFSET, geometry.position);\n vec4 nextPositionScreen = project_position_to_clipspace(nextPosition, nextPosition64Low, ZERO_OFFSET);\n\n clipLine(prevPositionScreen, currPositionScreen);\n clipLine(nextPositionScreen, currPositionScreen);\n clipLine(currPositionScreen, mix(nextPositionScreen, prevPositionScreen, isEnd));\n\n width = vec3(widthPixels, 0.0);\n DECKGL_FILTER_SIZE(width, geometry);\n\n vec3 pos = lineJoin(\n prevPositionScreen.xyz / prevPositionScreen.w,\n currPositionScreen.xyz / currPositionScreen.w,\n nextPositionScreen.xyz / nextPositionScreen.w,\n project_pixel_size_to_clipspace(width.xy)\n );\n\n gl_Position = vec4(pos * currPositionScreen.w, currPositionScreen.w);\n } else {\n // Extrude in commonspace\n prevPosition = project_position(prevPosition, prevPosition64Low);\n currPosition = project_position(currPosition, currPosition64Low);\n nextPosition = project_position(nextPosition, nextPosition64Low);\n\n width = vec3(project_pixel_size(widthPixels), 0.0);\n DECKGL_FILTER_SIZE(width, geometry);\n\n vec4 pos = vec4(\n lineJoin(prevPosition, currPosition, nextPosition, width.xy),\n 1.0);\n geometry.position = pos;\n gl_Position = project_common_position_to_clipspace(pos);\n }\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME path-layer-fragment-shader\n\nprecision highp float;\n\nuniform float miterLimit;\n\nvarying vec4 vColor;\nvarying vec2 vCornerOffset;\nvarying float vMiterLength;\n/*\n * vPathPosition represents the relative coordinates of the current fragment on the path segment.\n * vPathPosition.x - position along the width of the path, between [-1, 1]. 0 is the center line.\n * vPathPosition.y - position along the length of the path, between [0, L / width].\n */\nvarying vec2 vPathPosition;\nvarying float vPathLength;\nvarying float vJointType;\n\nvoid main(void) {\n geometry.uv = vPathPosition;\n\n if (vPathPosition.y < 0.0 || vPathPosition.y > vPathLength) {\n // if joint is rounded, test distance from the corner\n if (vJointType > 0.5 && length(vCornerOffset) > 1.0) {\n discard;\n }\n // trim miter\n if (vJointType < 0.5 && vMiterLength > miterLimit + 1.0) {\n discard;\n }\n }\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[project32,picking_picking]})}get wrapLongitude(){return!1}initializeState(){this.getAttributeManager().addInstanced({positions:{size:3,vertexOffset:1,type:5130,fp64:this.use64bitPositions(),transition:ATTRIBUTE_TRANSITION,accessor:"getPath",update:this.calculatePositions,noAlloc:true,shaderAttributes:{instanceLeftPositions:{vertexOffset:0},instanceStartPositions:{vertexOffset:1},instanceEndPositions:{vertexOffset:2},instanceRightPositions:{vertexOffset:3}}},instanceTypes:{size:1,type:5121,update:this.calculateSegmentTypes,noAlloc:true},instanceStrokeWidths:{size:1,accessor:"getWidth",transition:ATTRIBUTE_TRANSITION,defaultValue:1},instanceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,accessor:"getColor",transition:ATTRIBUTE_TRANSITION,defaultValue:path_layer_DEFAULT_COLOR},instancePickingColors:{size:3,type:5121,accessor:(object,{index,target:value})=>this.encodePickingColor(object&&object.__source?object.__source.index:index,value)}}),this.setState({pathTesselator:new PathTesselator({fp64:this.use64bitPositions()})})}updateState(params){super.updateState(params);const{props,changeFlags}=params,attributeManager=this.getAttributeManager();if(changeFlags.dataChanged||changeFlags.updateTriggersChanged&&(changeFlags.updateTriggersChanged.all||changeFlags.updateTriggersChanged.getPath)){const{pathTesselator}=this.state,buffers=props.data.attributes||{};pathTesselator.updateGeometry({data:props.data,geometryBuffer:buffers.getPath,buffers,normalize:!props._pathType,loop:"loop"===props._pathType,getGeometry:props.getPath,positionFormat:props.positionFormat,wrapLongitude:props.wrapLongitude,resolution:this.context.viewport.resolution,dataChanged:changeFlags.dataChanged}),this.setState({numInstances:pathTesselator.instanceCount,startIndices:pathTesselator.vertexStarts}),changeFlags.dataChanged||attributeManager.invalidateAll()}if(changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),attributeManager.invalidateAll()}}getPickingInfo(params){const info=super.getPickingInfo(params),{index}=info,{data}=this.props;return data[0]&&data[0].__source&&(info.object=data.find((d=>d.__source.index===index))),info}disablePickingIndex(objectIndex){const{data}=this.props;if(data[0]&&data[0].__source)for(let i=0;i<data.length;i++)data[i].__source.index===objectIndex&&this._disablePickingIndex(i);else this._disablePickingIndex(objectIndex)}draw({uniforms}){const{jointRounded,capRounded,billboard,miterLimit,widthUnits,widthScale,widthMinPixels,widthMaxPixels}=this.props;this.state.model.setUniforms(uniforms).setUniforms({jointType:Number(jointRounded),capType:Number(capRounded),billboard,widthUnits:constants.iM[widthUnits],widthScale,miterLimit,widthMinPixels,widthMaxPixels}).draw()}_getModel(gl){return new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:4,attributes:{indices:new Uint16Array([0,1,2,1,4,2,1,3,4,3,5,4]),positions:{value:new Float32Array([0,0,0,-1,0,1,1,-1,1,1,1,0]),size:2}}}),isInstanced:!0})}calculatePositions(attribute){const{pathTesselator}=this.state;attribute.startIndices=pathTesselator.vertexStarts,attribute.value=pathTesselator.get("positions")}calculateSegmentTypes(attribute){const{pathTesselator}=this.state;attribute.startIndices=pathTesselator.vertexStarts,attribute.value=pathTesselator.get("segmentTypes")}}(0,defineProperty.c)(PathLayer,"defaultProps",path_layer_defaultProps),(0,defineProperty.c)(PathLayer,"layerName","PathLayer");var debug=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/debug/index.js"),flatten=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/flatten.js");class CompositeLayer extends lib_layer.c{get isComposite(){return!0}get isLoaded(){return super.isLoaded&&this.getSubLayers().every((layer=>layer.isLoaded))}getSubLayers(){return this.internalState&&this.internalState.subLayers||[]}initializeState(context){}setState(updateObject){super.setState(updateObject),this.setNeedsUpdate()}getPickingInfo({info}){const{object}=info;return object&&object.__source&&object.__source.parent&&object.__source.parent.id===this.id?(info.object=object.__source.object,info.index=object.__source.index,info):info}filterSubLayer(context){return!0}shouldRenderSubLayer(subLayerId,data){return data&&data.length}getSubLayerClass(subLayerId,DefaultLayerClass){const{_subLayerProps:overridingProps}=this.props;return overridingProps&&overridingProps[subLayerId]&&overridingProps[subLayerId].type||DefaultLayerClass}getSubLayerRow(row,sourceObject,sourceObjectIndex){return row.__source={parent:this,object:sourceObject,index:sourceObjectIndex},row}getSubLayerAccessor(accessor){if("function"==typeof accessor){const objectInfo={index:-1,data:this.props.data,target:[]};return(x,i)=>x&&x.__source?(objectInfo.index=x.__source.index,accessor(x.__source.object,objectInfo)):accessor(x,i)}return accessor}getSubLayerProps(sublayerProps={}){var _this$props$updateTri;const{opacity,pickable,visible,parameters,getPolygonOffset,highlightedObjectIndex,autoHighlight,highlightColor,coordinateSystem,coordinateOrigin,wrapLongitude,positionFormat,modelMatrix,extensions,fetch,operation,_subLayerProps:overridingProps}=this.props,newProps={id:"",updateTriggers:{},opacity,pickable,visible,parameters,getPolygonOffset,highlightedObjectIndex,autoHighlight,highlightColor,coordinateSystem,coordinateOrigin,wrapLongitude,positionFormat,modelMatrix,extensions,fetch,operation},overridingSublayerProps=overridingProps&&sublayerProps.id&&overridingProps[sublayerProps.id],overridingSublayerTriggers=overridingSublayerProps&&overridingSublayerProps.updateTriggers,sublayerId=sublayerProps.id||"sublayer";if(overridingSublayerProps){const propTypes=this.constructor._propTypes,subLayerPropTypes=sublayerProps.type?sublayerProps.type._propTypes:{};for(const key in overridingSublayerProps){const propType=subLayerPropTypes[key]||propTypes[key];propType&&"accessor"===propType.type&&(overridingSublayerProps[key]=this.getSubLayerAccessor(overridingSublayerProps[key]))}}Object.assign(newProps,sublayerProps,overridingSublayerProps),newProps.id="".concat(this.props.id,"-").concat(sublayerId),newProps.updateTriggers={all:null===(_this$props$updateTri=this.props.updateTriggers)||void 0===_this$props$updateTri?void 0:_this$props$updateTri.all,...sublayerProps.updateTriggers,...overridingSublayerTriggers};for(const extension of extensions){const passThroughProps=extension.getSubLayerProps.call(this,extension);passThroughProps&&Object.assign(newProps,passThroughProps,{updateTriggers:Object.assign(newProps.updateTriggers,passThroughProps.updateTriggers)})}return newProps}_updateAutoHighlight(info){for(const layer of this.getSubLayers())layer.updateAutoHighlight(info)}_getAttributeManager(){return null}_postUpdate(updateParams,forceUpdate){let subLayers=this.internalState.subLayers;const shouldUpdate=!subLayers||this.needsUpdate();if(shouldUpdate){const subLayersList=this.renderLayers();subLayers=(0,flatten.Y)(subLayersList,Boolean),this.internalState.subLayers=subLayers}(0,debug.c)("compositeLayer.renderLayers",this,shouldUpdate,subLayers);for(const layer of subLayers)layer.parent=this}}(0,defineProperty.c)(CompositeLayer,"layerName","CompositeLayer");var src_earcut=__webpack_require__("./node_modules/earcut/src/earcut.js"),earcut_default=__webpack_require__.n(src_earcut);const OUTER_POLYGON_WINDING=WINDING_CLOCKWISE,HOLE_POLYGON_WINDING=WINDING_COUNTER_CLOCKWISE,windingOptions={isClosed:!0};function getPositions(polygon){return"positions"in polygon?polygon.positions:polygon}function getHoleIndices(polygon){return"holeIndices"in polygon?polygon.holeIndices:null}function copyNestedRing(target,targetStartIndex,simplePolygon,size,windingDirection){let targetIndex=targetStartIndex;const len=simplePolygon.length;for(let i=0;i<len;i++)for(let j=0;j<size;j++)target[targetIndex++]=simplePolygon[i][j]||0;if(!function isNestedRingClosed(simplePolygon){const p0=simplePolygon[0],p1=simplePolygon[simplePolygon.length-1];return p0[0]===p1[0]&&p0[1]===p1[1]&&p0[2]===p1[2]}(simplePolygon))for(let j=0;j<size;j++)target[targetIndex++]=simplePolygon[0][j]||0;return windingOptions.start=targetStartIndex,windingOptions.end=targetIndex,windingOptions.size=size,polygon_utils_modifyPolygonWindingDirection(target,windingDirection,windingOptions),targetIndex}function copyFlatRing(target,targetStartIndex,positions,size,srcStartIndex=0,srcEndIndex,windingDirection){const srcLength=(srcEndIndex=srcEndIndex||positions.length)-srcStartIndex;if(srcLength<=0)return targetStartIndex;let targetIndex=targetStartIndex;for(let i=0;i<srcLength;i++)target[targetIndex++]=positions[srcStartIndex+i];if(!function isFlatRingClosed(positions,size,startIndex,endIndex){for(let i=0;i<size;i++)if(positions[startIndex+i]!==positions[endIndex-size+i])return!1;return!0}(positions,size,srcStartIndex,srcEndIndex))for(let i=0;i<size;i++)target[targetIndex++]=positions[srcStartIndex+i];return windingOptions.start=targetStartIndex,windingOptions.end=targetIndex,windingOptions.size=size,polygon_utils_modifyPolygonWindingDirection(target,windingDirection,windingOptions),targetIndex}function normalize(polygon,positionSize){!function validate(polygon){if(polygon=polygon&&polygon.positions||polygon,!Array.isArray(polygon)&&!ArrayBuffer.isView(polygon))throw new Error("invalid polygon")}(polygon);const positions=[],holeIndices=[];if("positions"in polygon){const{positions:srcPositions,holeIndices:srcHoleIndices}=polygon;if(srcHoleIndices){let targetIndex=0;for(let i=0;i<=srcHoleIndices.length;i++)targetIndex=copyFlatRing(positions,targetIndex,srcPositions,positionSize,srcHoleIndices[i-1],srcHoleIndices[i],0===i?OUTER_POLYGON_WINDING:HOLE_POLYGON_WINDING),holeIndices.push(targetIndex);return holeIndices.pop(),{positions,holeIndices}}polygon=srcPositions}if(!function isNested(polygon){return Array.isArray(polygon[0])}(polygon))return copyFlatRing(positions,0,polygon,positionSize,0,positions.length,OUTER_POLYGON_WINDING),positions;if(!function isSimple(polygon){return polygon.length>=1&&polygon[0].length>=2&&Number.isFinite(polygon[0][0])}(polygon)){let targetIndex=0;for(const[polygonIndex,simplePolygon]of polygon.entries())targetIndex=copyNestedRing(positions,targetIndex,simplePolygon,positionSize,0===polygonIndex?OUTER_POLYGON_WINDING:HOLE_POLYGON_WINDING),holeIndices.push(targetIndex);return holeIndices.pop(),{positions,holeIndices}}return copyNestedRing(positions,0,polygon,positionSize,OUTER_POLYGON_WINDING),positions}class PolygonTesselator extends Tesselator{constructor(opts){const{fp64,IndexType=Uint32Array}=opts;super({...opts,attributes:{positions:{size:3,type:fp64?Float64Array:Float32Array},vertexValid:{type:Uint8ClampedArray,size:1},indices:{type:IndexType,size:1}}})}get(attributeName){const{attributes}=this;return"indices"===attributeName?attributes.indices&&attributes.indices.subarray(0,this.vertexCount):attributes[attributeName]}updateGeometry(opts){super.updateGeometry(opts);const externalIndices=this.buffers.indices;if(externalIndices)this.vertexCount=(externalIndices.value||externalIndices).length;else if(this.data&&!this.getGeometry)throw new Error("missing indices buffer")}normalizeGeometry(polygon){if(this.normalize){const normalizedPolygon=normalize(polygon,this.positionSize);return this.opts.resolution?cutPolygonByGrid(getPositions(normalizedPolygon),getHoleIndices(normalizedPolygon),{size:this.positionSize,gridResolution:this.opts.resolution,edgeTypes:!0}):this.opts.wrapLongitude?function cutPolygonByMercatorBounds(positions,holeIndices=null,options){const{size=2,normalize=!0,edgeTypes=!1}=options||{};holeIndices=holeIndices||[];const newPositions=[],newHoleIndices=[];let srcStartIndex=0,targetIndex=0;for(let ringIndex=0;ringIndex<=holeIndices.length;ringIndex++){const srcEndIndex=holeIndices[ringIndex]||positions.length,targetStartIndex=targetIndex,splitIndex=findSplitIndex(positions,size,srcStartIndex,srcEndIndex);for(let i=splitIndex;i<srcEndIndex;i++)newPositions[targetIndex++]=positions[i];for(let i=srcStartIndex;i<splitIndex;i++)newPositions[targetIndex++]=positions[i];wrapLongitudesForShortestPath(newPositions,size,targetStartIndex,targetIndex),insertPoleVertices(newPositions,size,targetStartIndex,targetIndex,null==options?void 0:options.maxLatitude),srcStartIndex=srcEndIndex,newHoleIndices[ringIndex]=targetIndex}newHoleIndices.pop();const parts=cutPolygonByGrid(newPositions,newHoleIndices,{size,gridResolution:360,gridOffset:[-180,-180],edgeTypes});if(normalize)for(const part of parts)shiftLongitudesIntoRange(part.positions,size);return parts}(getPositions(normalizedPolygon),getHoleIndices(normalizedPolygon),{size:this.positionSize,maxLatitude:86,edgeTypes:!0}):normalizedPolygon}return polygon}getGeometrySize(polygon){if(polygon_tesselator_isCut(polygon)){let size=0;for(const subPolygon of polygon)size+=this.getGeometrySize(subPolygon);return size}return getPositions(polygon).length/this.positionSize}getGeometryFromBuffer(buffer){return this.normalize||!this.buffers.indices?super.getGeometryFromBuffer(buffer):null}updateGeometryAttributes(polygon,context){if(polygon&&polygon_tesselator_isCut(polygon))for(const subPolygon of polygon){const geometrySize=this.getGeometrySize(subPolygon);context.geometrySize=geometrySize,this.updateGeometryAttributes(subPolygon,context),context.vertexStart+=geometrySize,context.indexStart=this.indexStarts[context.geometryIndex+1]}else this._updateIndices(polygon,context),this._updatePositions(polygon,context),this._updateVertexValid(polygon,context)}_updateIndices(polygon,{geometryIndex,vertexStart:offset,indexStart}){const{attributes,indexStarts,typedArrayManager}=this;let target=attributes.indices;if(!target||!polygon)return;let i=indexStart;const indices=function getSurfaceIndices(polygon,positionSize,preproject){let holeIndices=getHoleIndices(polygon);holeIndices&&(holeIndices=holeIndices.map((positionIndex=>positionIndex/positionSize)));let positions=getPositions(polygon);if(preproject){const n=positions.length;positions=positions.slice();const p=[];for(let i=0;i<n;i+=positionSize){p[0]=positions[i],p[1]=positions[i+1];const xy=preproject(p);positions[i]=xy[0],positions[i+1]=xy[1]}}return earcut_default()(positions,holeIndices,positionSize)}(polygon,this.positionSize,this.opts.preproject);target=typedArrayManager.allocate(target,indexStart+indices.length,{copy:!0});for(let j=0;j<indices.length;j++)target[i++]=indices[j]+offset;indexStarts[geometryIndex+1]=indexStart+indices.length,attributes.indices=target}_updatePositions(polygon,{vertexStart,geometrySize}){const{attributes:{positions},positionSize}=this;if(!positions||!polygon)return;const polygonPositions=getPositions(polygon);for(let i=vertexStart,j=0;j<geometrySize;i++,j++){const x=polygonPositions[j*positionSize],y=polygonPositions[j*positionSize+1],z=positionSize>2?polygonPositions[j*positionSize+2]:0;positions[3*i]=x,positions[3*i+1]=y,positions[3*i+2]=z}}_updateVertexValid(polygon,{vertexStart,geometrySize}){const{positionSize}=this,vertexValid=this.attributes.vertexValid,holeIndices=polygon&&getHoleIndices(polygon);if(polygon&&polygon.edgeTypes?vertexValid.set(polygon.edgeTypes,vertexStart):vertexValid.fill(1,vertexStart,vertexStart+geometrySize),holeIndices)for(let j=0;j<holeIndices.length;j++)vertexValid[vertexStart+holeIndices[j]/positionSize-1]=0;vertexValid[vertexStart+geometrySize-1]=0}}function polygon_tesselator_isCut(polygon){return Array.isArray(polygon)&&polygon.length>0&&!Number.isFinite(polygon[0])}const solid_polygon_layer_vertex_main_glsl="\nattribute vec2 vertexPositions;\nattribute float vertexValid;\n\nuniform bool extruded;\nuniform bool isWireframe;\nuniform float elevationScale;\nuniform float opacity;\n\nvarying vec4 vColor;\n\nstruct PolygonProps {\n vec4 fillColors;\n vec4 lineColors;\n vec3 positions;\n vec3 nextPositions;\n vec3 pickingColors;\n vec3 positions64Low;\n vec3 nextPositions64Low;\n float elevations;\n};\n\nvec3 project_offset_normal(vec3 vector) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT ||\n project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSETS) {\n // normals generated by the polygon tesselator are in lnglat offsets instead of meters\n return normalize(vector * project_uCommonUnitsPerWorldUnit);\n }\n return project_normal(vector);\n}\n\nvoid calculatePosition(PolygonProps props) {\n#ifdef IS_SIDE_VERTEX\n if(vertexValid < 0.5){\n gl_Position = vec4(0.);\n return;\n }\n#endif\n\n vec3 pos;\n vec3 pos64Low;\n vec3 normal;\n vec4 colors = isWireframe ? props.lineColors : props.fillColors;\n\n geometry.worldPosition = props.positions;\n geometry.worldPositionAlt = props.nextPositions;\n geometry.pickingColor = props.pickingColors;\n\n#ifdef IS_SIDE_VERTEX\n pos = mix(props.positions, props.nextPositions, vertexPositions.x);\n pos64Low = mix(props.positions64Low, props.nextPositions64Low, vertexPositions.x);\n#else\n pos = props.positions;\n pos64Low = props.positions64Low;\n#endif\n\n if (extruded) {\n pos.z += props.elevations * vertexPositions.y * elevationScale;\n }\n gl_Position = project_position_to_clipspace(pos, pos64Low, vec3(0.), geometry.position);\n\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n if (extruded) {\n #ifdef IS_SIDE_VERTEX\n normal = vec3(\n props.positions.y - props.nextPositions.y + (props.positions64Low.y - props.nextPositions64Low.y),\n props.nextPositions.x - props.positions.x + (props.nextPositions64Low.x - props.positions64Low.x),\n 0.0);\n normal = project_offset_normal(normal);\n #else\n normal = project_normal(vec3(0.0, 0.0, 1.0));\n #endif\n geometry.normal = normal;\n vec3 lightColor = lighting_getLightColor(colors.rgb, project_uCameraPosition, geometry.position.xyz, normal);\n vColor = vec4(lightColor, colors.a * opacity);\n } else {\n vColor = vec4(colors.rgb, colors.a * opacity);\n }\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",solid_polygon_layer_vertex_top_glsl="#define SHADER_NAME solid-polygon-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 positions64Low;\nattribute float elevations;\nattribute vec4 fillColors;\nattribute vec4 lineColors;\nattribute vec3 pickingColors;\n\n".concat(solid_polygon_layer_vertex_main_glsl,"\n\nvoid main(void) {\n PolygonProps props;\n\n props.positions = positions;\n props.positions64Low = positions64Low;\n props.elevations = elevations;\n props.fillColors = fillColors;\n props.lineColors = lineColors;\n props.pickingColors = pickingColors;\n\n calculatePosition(props);\n}\n"),solid_polygon_layer_vertex_side_glsl="#define SHADER_NAME solid-polygon-layer-vertex-shader-side\n#define IS_SIDE_VERTEX\n\n\nattribute vec3 instancePositions;\nattribute vec3 nextPositions;\nattribute vec3 instancePositions64Low;\nattribute vec3 nextPositions64Low;\nattribute float instanceElevations;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\n".concat(solid_polygon_layer_vertex_main_glsl,"\n\nvoid main(void) {\n PolygonProps props;\n\n #if RING_WINDING_ORDER_CW == 1\n props.positions = instancePositions;\n props.positions64Low = instancePositions64Low;\n props.nextPositions = nextPositions;\n props.nextPositions64Low = nextPositions64Low;\n #else\n props.positions = nextPositions;\n props.positions64Low = nextPositions64Low;\n props.nextPositions = instancePositions;\n props.nextPositions64Low = instancePositions64Low;\n #endif\n props.elevations = instanceElevations;\n props.fillColors = instanceFillColors;\n props.lineColors = instanceLineColors;\n props.pickingColors = instancePickingColors;\n\n calculatePosition(props);\n}\n"),solid_polygon_layer_DEFAULT_COLOR=[0,0,0,255],solid_polygon_layer_defaultProps={filled:!0,extruded:!1,wireframe:!1,_normalize:!0,_windingOrder:"CW",elevationScale:{type:"number",min:0,value:1},getPolygon:{type:"accessor",value:f=>f.polygon},getElevation:{type:"accessor",value:1e3},getFillColor:{type:"accessor",value:solid_polygon_layer_DEFAULT_COLOR},getLineColor:{type:"accessor",value:solid_polygon_layer_DEFAULT_COLOR},material:!0},solid_polygon_layer_ATTRIBUTE_TRANSITION={enter:(value,chunk)=>chunk.length?chunk.subarray(chunk.length-value.length):value};class SolidPolygonLayer extends lib_layer.c{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0)}getShaders(type){return super.getShaders({vs:"top"===type?solid_polygon_layer_vertex_top_glsl:solid_polygon_layer_vertex_side_glsl,fs:"#define SHADER_NAME solid-polygon-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\n\nvoid main(void) {\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",defines:{RING_WINDING_ORDER_CW:this.props._normalize||"CCW"!==this.props._windingOrder?1:0},modules:[project32,gouraudLighting,picking_picking]})}get wrapLongitude(){return!1}initializeState(){const{gl,viewport}=this.context;let{coordinateSystem}=this.props;viewport.isGeospatial&&coordinateSystem===constants.COORDINATE_SYSTEM.DEFAULT&&(coordinateSystem=constants.COORDINATE_SYSTEM.LNGLAT),this.setState({numInstances:0,polygonTesselator:new PolygonTesselator({preproject:coordinateSystem===constants.COORDINATE_SYSTEM.LNGLAT&&viewport.projectFlat.bind(viewport),fp64:this.use64bitPositions(),IndexType:!gl||(0,features.R0)(gl,webgl_features_table.c.ELEMENT_INDEX_UINT32)?Uint32Array:Uint16Array})});const attributeManager=this.getAttributeManager();attributeManager.remove(["instancePickingColors"]),attributeManager.add({indices:{size:1,isIndexed:!0,update:this.calculateIndices,noAlloc:true},positions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:solid_polygon_layer_ATTRIBUTE_TRANSITION,accessor:"getPolygon",update:this.calculatePositions,noAlloc:true,shaderAttributes:{positions:{vertexOffset:0,divisor:0},instancePositions:{vertexOffset:0,divisor:1},nextPositions:{vertexOffset:1,divisor:1}}},vertexValid:{size:1,divisor:1,type:5121,update:this.calculateVertexValid,noAlloc:true},elevations:{size:1,transition:solid_polygon_layer_ATTRIBUTE_TRANSITION,accessor:"getElevation",shaderAttributes:{elevations:{divisor:0},instanceElevations:{divisor:1}}},fillColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:solid_polygon_layer_ATTRIBUTE_TRANSITION,accessor:"getFillColor",defaultValue:solid_polygon_layer_DEFAULT_COLOR,shaderAttributes:{fillColors:{divisor:0},instanceFillColors:{divisor:1}}},lineColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:solid_polygon_layer_ATTRIBUTE_TRANSITION,accessor:"getLineColor",defaultValue:solid_polygon_layer_DEFAULT_COLOR,shaderAttributes:{lineColors:{divisor:0},instanceLineColors:{divisor:1}}},pickingColors:{size:3,type:5121,accessor:(object,{index,target:value})=>this.encodePickingColor(object&&object.__source?object.__source.index:index,value),shaderAttributes:{pickingColors:{divisor:0},instancePickingColors:{divisor:1}}}})}getPickingInfo(params){const info=super.getPickingInfo(params),{index}=info,{data}=this.props;return data[0]&&data[0].__source&&(info.object=data.find((d=>d.__source.index===index))),info}disablePickingIndex(objectIndex){const{data}=this.props;if(data[0]&&data[0].__source)for(let i=0;i<data.length;i++)data[i].__source.index===objectIndex&&this._disablePickingIndex(i);else this._disablePickingIndex(objectIndex)}draw({uniforms}){const{extruded,filled,wireframe,elevationScale}=this.props,{topModel,sideModel,polygonTesselator}=this.state,renderUniforms={...uniforms,extruded:Boolean(extruded),elevationScale};sideModel&&(sideModel.setInstanceCount(polygonTesselator.instanceCount-1),sideModel.setUniforms(renderUniforms),wireframe&&(sideModel.setDrawMode(3),sideModel.setUniforms({isWireframe:!0}).draw()),filled&&(sideModel.setDrawMode(6),sideModel.setUniforms({isWireframe:!1}).draw())),topModel&&(topModel.setVertexCount(polygonTesselator.vertexCount),topModel.setUniforms(renderUniforms).draw())}updateState(updateParams){super.updateState(updateParams),this.updateGeometry(updateParams);const{props,oldProps,changeFlags}=updateParams,attributeManager=this.getAttributeManager();var _this$state$models;(changeFlags.extensionsChanged||props.filled!==oldProps.filled||props.extruded!==oldProps.extruded)&&(null===(_this$state$models=this.state.models)||void 0===_this$state$models||_this$state$models.forEach((model=>model.delete())),this.setState(this._getModels(this.context.gl)),attributeManager.invalidateAll())}updateGeometry({props,oldProps,changeFlags}){if(changeFlags.dataChanged||changeFlags.updateTriggersChanged&&(changeFlags.updateTriggersChanged.all||changeFlags.updateTriggersChanged.getPolygon)){const{polygonTesselator}=this.state,buffers=props.data.attributes||{};polygonTesselator.updateGeometry({data:props.data,normalize:props._normalize,geometryBuffer:buffers.getPolygon,buffers,getGeometry:props.getPolygon,positionFormat:props.positionFormat,wrapLongitude:props.wrapLongitude,resolution:this.context.viewport.resolution,fp64:this.use64bitPositions(),dataChanged:changeFlags.dataChanged}),this.setState({numInstances:polygonTesselator.instanceCount,startIndices:polygonTesselator.vertexStarts}),changeFlags.dataChanged||this.getAttributeManager().invalidateAll()}}_getModels(gl){const{id,filled,extruded}=this.props;let topModel,sideModel;if(filled){const shaders=this.getShaders("top");shaders.defines.NON_INSTANCED_MODEL=1,topModel=new lib_model.c(gl,{...shaders,id:"".concat(id,"-top"),drawMode:4,attributes:{vertexPositions:new Float32Array([0,1])},uniforms:{isWireframe:!1,isSideVertex:!1},vertexCount:0,isIndexed:!0})}return extruded&&(sideModel=new lib_model.c(gl,{...this.getShaders("side"),id:"".concat(id,"-side"),geometry:new Geometry({drawMode:1,vertexCount:4,attributes:{vertexPositions:{size:2,value:new Float32Array([1,0,0,0,0,1,1,1])}}}),instanceCount:0,isInstanced:1}),sideModel.userData.excludeAttributes={indices:!0}),{models:[sideModel,topModel].filter(Boolean),topModel,sideModel}}calculateIndices(attribute){const{polygonTesselator}=this.state;attribute.startIndices=polygonTesselator.indexStarts,attribute.value=polygonTesselator.get("indices")}calculatePositions(attribute){const{polygonTesselator}=this.state;attribute.startIndices=polygonTesselator.vertexStarts,attribute.value=polygonTesselator.get("positions")}calculateVertexValid(attribute){attribute.value=this.state.polygonTesselator.get("vertexValid")}}function replaceInRange({data,getIndex,dataRange,replace}){const{startRow=0,endRow=1/0}=dataRange,count=data.length;let replaceStart=count,replaceEnd=count;for(let i=0;i<count;i++){const row=getIndex(data[i]);if(replaceStart>i&&row>=startRow&&(replaceStart=i),row>=endRow){replaceEnd=i;break}}let index=replaceStart;const endChunk=replaceEnd-replaceStart!==replace.length?data.slice(replaceEnd):void 0;for(let i=0;i<replace.length;i++)data[index++]=replace[i];if(endChunk){for(let i=0;i<endChunk.length;i++)data[index++]=endChunk[i];data.length=index}return{startRow:replaceStart,endRow:replaceStart+replace.length}}(0,defineProperty.c)(SolidPolygonLayer,"defaultProps",solid_polygon_layer_defaultProps),(0,defineProperty.c)(SolidPolygonLayer,"layerName","SolidPolygonLayer");const defaultLineColor=[0,0,0,255],polygon_layer_defaultProps={stroked:!0,filled:!0,extruded:!1,elevationScale:1,wireframe:!1,_normalize:!0,_windingOrder:"CW",lineWidthUnits:"meters",lineWidthScale:1,lineWidthMinPixels:0,lineWidthMaxPixels:Number.MAX_SAFE_INTEGER,lineJointRounded:!1,lineMiterLimit:4,getPolygon:{type:"accessor",value:f=>f.polygon},getFillColor:{type:"accessor",value:[0,0,0,255]},getLineColor:{type:"accessor",value:defaultLineColor},getLineWidth:{type:"accessor",value:1},getElevation:{type:"accessor",value:1e3},material:!0};class PolygonLayer extends CompositeLayer{initializeState(){this.state={paths:[]},this.props.getLineDashArray&&log.c.removed("getLineDashArray","PathStyleExtension")()}updateState({changeFlags}){const geometryChanged=changeFlags.dataChanged||changeFlags.updateTriggersChanged&&(changeFlags.updateTriggersChanged.all||changeFlags.updateTriggersChanged.getPolygon);if(geometryChanged&&Array.isArray(changeFlags.dataChanged)){const paths=this.state.paths.slice(),pathsDiff=changeFlags.dataChanged.map((dataRange=>replaceInRange({data:paths,getIndex:p=>p.__source.index,dataRange,replace:this._getPaths(dataRange)})));this.setState({paths,pathsDiff})}else geometryChanged&&this.setState({paths:this._getPaths(),pathsDiff:null})}_getPaths(dataRange={}){const{data,getPolygon,positionFormat,_normalize}=this.props,paths=[],positionSize="XY"===positionFormat?2:3,{startRow,endRow}=dataRange,{iterable,objectInfo}=(0,iterable_utils.cv)(data,startRow,endRow);for(const object of iterable){objectInfo.index++;let polygon=getPolygon(object,objectInfo);_normalize&&(polygon=normalize(polygon,positionSize));const{holeIndices}=polygon,positions=polygon.positions||polygon;if(holeIndices)for(let i=0;i<=holeIndices.length;i++){const path=positions.slice(holeIndices[i-1]||0,holeIndices[i]||positions.length);paths.push(this.getSubLayerRow({path},object,objectInfo.index))}else paths.push(this.getSubLayerRow({path:positions},object,objectInfo.index))}return paths}renderLayers(){const{data,_dataDiff,stroked,filled,extruded,wireframe,_normalize,_windingOrder,elevationScale,transitions,positionFormat}=this.props,{lineWidthUnits,lineWidthScale,lineWidthMinPixels,lineWidthMaxPixels,lineJointRounded,lineMiterLimit,lineDashJustified}=this.props,{getFillColor,getLineColor,getLineWidth,getLineDashArray,getElevation,getPolygon,updateTriggers,material}=this.props,{paths,pathsDiff}=this.state,FillLayer=this.getSubLayerClass("fill",SolidPolygonLayer),StrokeLayer=this.getSubLayerClass("stroke",PathLayer),polygonLayer=this.shouldRenderSubLayer("fill",paths)&&new FillLayer({_dataDiff,extruded,elevationScale,filled,wireframe,_normalize,_windingOrder,getElevation,getFillColor,getLineColor:extruded&&wireframe?getLineColor:defaultLineColor,material,transitions},this.getSubLayerProps({id:"fill",updateTriggers:updateTriggers&&{getPolygon:updateTriggers.getPolygon,getElevation:updateTriggers.getElevation,getFillColor:updateTriggers.getFillColor,lineColors:extruded&&wireframe,getLineColor:updateTriggers.getLineColor}}),{data,positionFormat,getPolygon});return[!extruded&&polygonLayer,!extruded&&stroked&&this.shouldRenderSubLayer("stroke",paths)&&new StrokeLayer({_dataDiff:pathsDiff&&(()=>pathsDiff),widthUnits:lineWidthUnits,widthScale:lineWidthScale,widthMinPixels:lineWidthMinPixels,widthMaxPixels:lineWidthMaxPixels,jointRounded:lineJointRounded,miterLimit:lineMiterLimit,dashJustified:lineDashJustified,_pathType:"loop",transitions:transitions&&{getWidth:transitions.getLineWidth,getColor:transitions.getLineColor,getPath:transitions.getPolygon},getColor:this.getSubLayerAccessor(getLineColor),getWidth:this.getSubLayerAccessor(getLineWidth),getDashArray:this.getSubLayerAccessor(getLineDashArray)},this.getSubLayerProps({id:"stroke",updateTriggers:updateTriggers&&{getWidth:updateTriggers.getLineWidth,getColor:updateTriggers.getLineColor,getDashArray:updateTriggers.getLineDashArray}}),{data:paths,positionFormat,getPath:x=>x.path}),extruded&&polygonLayer]}}(0,defineProperty.c)(PolygonLayer,"layerName","PolygonLayer"),(0,defineProperty.c)(PolygonLayer,"defaultProps",polygon_layer_defaultProps);const EMPTY_ARRAY=[];class MultiIconLayer extends IconLayer{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0)}getShaders(){return{...super.getShaders(),fs:"#define SHADER_NAME multi-icon-layer-fragment-shader\n\nprecision highp float;\n\nuniform float opacity;\nuniform sampler2D iconsTexture;\nuniform float gamma;\nuniform bool sdf;\nuniform float alphaCutoff;\nuniform float buffer;\nuniform float outlineBuffer;\nuniform vec4 outlineColor;\n\nvarying vec4 vColor;\nvarying vec2 vTextureCoords;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n if (!picking_uActive) {\n float alpha = texture2D(iconsTexture, vTextureCoords).a;\n vec4 color = vColor;\n\n // if enable sdf (signed distance fields)\n if (sdf) {\n float distance = alpha;\n alpha = smoothstep(buffer - gamma, buffer + gamma, distance);\n\n if (outlineBuffer > 0.0) {\n float inFill = alpha;\n float inBorder = smoothstep(outlineBuffer - gamma, outlineBuffer + gamma, distance);\n color = mix(outlineColor, vColor, inFill);\n alpha = inBorder;\n }\n }\n\n // Take the global opacity and the alpha from color into account for the alpha component\n float a = alpha * color.a;\n \n if (a < alphaCutoff) {\n discard;\n }\n\n gl_FragColor = vec4(color.rgb, a * opacity);\n }\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n"}}initializeState(){super.initializeState();this.getAttributeManager().addInstanced({instanceOffsets:{size:2,accessor:"getIconOffsets"},instancePickingColors:{type:5121,size:3,accessor:(object,{index,target:value})=>this.encodePickingColor(index,value)}})}updateState(params){super.updateState(params);const{props,oldProps}=params;let{outlineColor}=props;outlineColor!==oldProps.outlineColor&&(outlineColor=outlineColor.map((x=>x/255)),outlineColor[3]=Number.isFinite(outlineColor[3])?outlineColor[3]:1,this.setState({outlineColor})),!props.sdf&&props.outlineWidth&&log.c.warn("".concat(this.id,": fontSettings.sdf is required to render outline"))()}draw(params){const{sdf,smoothing,outlineWidth}=this.props,{outlineColor}=this.state;params.uniforms={...params.uniforms,buffer:.75,outlineBuffer:outlineWidth?Math.max(smoothing,.75*(1-outlineWidth)):-1,gamma:smoothing,sdf:Boolean(sdf),outlineColor},super.draw(params)}getInstanceOffset(icons){return icons?Array.from(icons).flatMap((icon=>super.getInstanceOffset(icon))):EMPTY_ARRAY}getInstanceColorMode(icons){return 1}getInstanceIconFrame(icons){return icons?Array.from(icons).flatMap((icon=>super.getInstanceIconFrame(icon))):EMPTY_ARRAY}}(0,defineProperty.c)(MultiIconLayer,"defaultProps",{getIconOffsets:{type:"accessor",value:x=>x.offsets},alphaCutoff:.001,smoothing:.1,outlineWidth:0,outlineColor:{type:"color",value:[0,0,0,255]}}),(0,defineProperty.c)(MultiIconLayer,"layerName","MultiIconLayer");var tiny_sdf=__webpack_require__("./node_modules/@deck.gl/layers/node_modules/@mapbox/tiny-sdf/index.js"),tiny_sdf_default=__webpack_require__.n(tiny_sdf);const MISSING_CHAR_WIDTH=32,SINGLE_LINE=[];function getTextWidth(text,startIndex,endIndex,mapping){let width=0;for(let i=startIndex;i<endIndex;i++){var _mapping$character;width+=(null===(_mapping$character=mapping[text[i]])||void 0===_mapping$character?void 0:_mapping$character.width)||0}return width}function breakAll(text,startIndex,endIndex,maxWidth,iconMapping,target){let rowStartCharIndex=startIndex,rowOffsetLeft=0;for(let i=startIndex;i<endIndex;i++){const textWidth=getTextWidth(text,i,i+1,iconMapping);rowOffsetLeft+textWidth>maxWidth&&(rowStartCharIndex<i&&target.push(i),rowStartCharIndex=i,rowOffsetLeft=0),rowOffsetLeft+=textWidth}return rowOffsetLeft}function autoWrapping(text,wordBreak,maxWidth,iconMapping,startIndex=0,endIndex){void 0===endIndex&&(endIndex=text.length);const result=[];return"break-all"===wordBreak?breakAll(text,startIndex,endIndex,maxWidth,iconMapping,result):function breakWord(text,startIndex,endIndex,maxWidth,iconMapping,target){let rowStartCharIndex=startIndex,groupStartCharIndex=startIndex,groupEndCharIndex=startIndex,rowOffsetLeft=0;for(let i=startIndex;i<endIndex;i++)if(" "===text[i]?groupEndCharIndex=i+1:" "!==text[i+1]&&i+1!==endIndex||(groupEndCharIndex=i+1),groupEndCharIndex>groupStartCharIndex){let groupWidth=getTextWidth(text,groupStartCharIndex,groupEndCharIndex,iconMapping);rowOffsetLeft+groupWidth>maxWidth&&(rowStartCharIndex<groupStartCharIndex&&(target.push(groupStartCharIndex),rowStartCharIndex=groupStartCharIndex,rowOffsetLeft=0),groupWidth>maxWidth&&(groupWidth=breakAll(text,groupStartCharIndex,groupEndCharIndex,maxWidth,iconMapping,target),rowStartCharIndex=target[target.length-1])),groupStartCharIndex=groupEndCharIndex,rowOffsetLeft+=groupWidth}return rowOffsetLeft}(text,startIndex,endIndex,maxWidth,iconMapping,result),result}function transformRow(line,startIndex,endIndex,iconMapping,leftOffsets,rowSize){let x=0,rowHeight=0;for(let i=startIndex;i<endIndex;i++){const character=line[i],frame=iconMapping[character];frame?(rowHeight||(rowHeight=frame.height),leftOffsets[i]=x+frame.width/2,x+=frame.width):(log.c.warn("Missing character: ".concat(character," (").concat(character.codePointAt(0),")"))(),leftOffsets[i]=x,x+=MISSING_CHAR_WIDTH)}rowSize[0]=x,rowSize[1]=rowHeight}function transformParagraph(paragraph,lineHeight,wordBreak,maxWidth,iconMapping){const characters=Array.from(paragraph),numCharacters=characters.length,x=new Array(numCharacters),y=new Array(numCharacters),rowWidth=new Array(numCharacters),autoWrappingEnabled=("break-word"===wordBreak||"break-all"===wordBreak)&&isFinite(maxWidth)&&maxWidth>0,size=[0,0],rowSize=[0,0];let rowOffsetTop=0,lineStartIndex=0,lineEndIndex=0;for(let i=0;i<=numCharacters;i++){const char=characters[i];if("\n"!==char&&i!==numCharacters||(lineEndIndex=i),lineEndIndex>lineStartIndex){const rows=autoWrappingEnabled?autoWrapping(characters,wordBreak,maxWidth,iconMapping,lineStartIndex,lineEndIndex):SINGLE_LINE;for(let rowIndex=0;rowIndex<=rows.length;rowIndex++){const rowStart=0===rowIndex?lineStartIndex:rows[rowIndex-1],rowEnd=rowIndex<rows.length?rows[rowIndex]:lineEndIndex;transformRow(characters,rowStart,rowEnd,iconMapping,x,rowSize);for(let j=rowStart;j<rowEnd;j++)y[j]=rowOffsetTop+rowSize[1]/2,rowWidth[j]=rowSize[0];rowOffsetTop+=rowSize[1]*lineHeight,size[0]=Math.max(size[0],rowSize[0])}lineStartIndex=lineEndIndex}"\n"===char&&(x[lineStartIndex]=0,y[lineStartIndex]=0,rowWidth[lineStartIndex]=0,lineStartIndex++)}return size[1]=rowOffsetTop,{x,y,rowWidth,size}}class LRUCache{constructor(limit=5){(0,defineProperty.c)(this,"limit",void 0),(0,defineProperty.c)(this,"_cache",{}),(0,defineProperty.c)(this,"_order",[]),this.limit=limit}get(key){const value=this._cache[key];return value&&(this._deleteOrder(key),this._appendOrder(key)),value}set(key,value){this._cache[key]?(this.delete(key),this._cache[key]=value,this._appendOrder(key)):(Object.keys(this._cache).length===this.limit&&this.delete(this._order[0]),this._cache[key]=value,this._appendOrder(key))}delete(key){this._cache[key]&&(delete this._cache[key],this._deleteOrder(key))}_deleteOrder(key){const index=this._order.indexOf(key);index>=0&&this._order.splice(index,1)}_appendOrder(key){this._order.push(key)}}const DEFAULT_FONT_SETTINGS={fontFamily:"Monaco, monospace",fontWeight:"normal",characterSet:function getDefaultCharacterSet(){const charSet=[];for(let i=32;i<128;i++)charSet.push(String.fromCharCode(i));return charSet}(),fontSize:64,buffer:4,sdf:!1,cutoff:.25,radius:12,smoothing:.1};let cache=new LRUCache(3);function populateAlphaChannel(alphaChannel,imageData){for(let i=0;i<alphaChannel.length;i++)imageData.data[4*i+3]=alphaChannel[i]}function setTextStyle(ctx,fontFamily,fontSize,fontWeight){ctx.font="".concat(fontWeight," ").concat(fontSize,"px ").concat(fontFamily),ctx.fillStyle="#000",ctx.textBaseline="alphabetic",ctx.textAlign="left"}class FontAtlasManager{constructor(){(0,defineProperty.c)(this,"props",{...DEFAULT_FONT_SETTINGS}),(0,defineProperty.c)(this,"_key",void 0),(0,defineProperty.c)(this,"_atlas",void 0)}get texture(){return this._atlas}get mapping(){return this._atlas&&this._atlas.mapping}get scale(){return 1.2}setProps(props={}){Object.assign(this.props,props);const oldKey=this._key;this._key=this._getKey();const charSet=function getNewChars(cacheKey,characterSet){let newCharSet;newCharSet="string"==typeof characterSet?new Set(Array.from(characterSet)):new Set(characterSet);const cachedFontAtlas=cache.get(cacheKey);if(!cachedFontAtlas)return newCharSet;for(const char in cachedFontAtlas.mapping)newCharSet.has(char)&&newCharSet.delete(char);return newCharSet}(this._key,this.props.characterSet),cachedFontAtlas=cache.get(this._key);if(cachedFontAtlas&&0===charSet.size)return void(this._key!==oldKey&&(this._atlas=cachedFontAtlas));const fontAtlas=this._generateFontAtlas(this._key,charSet,cachedFontAtlas);this._atlas=fontAtlas,cache.set(this._key,fontAtlas)}_generateFontAtlas(key,characterSet,cachedFontAtlas){const{fontFamily,fontWeight,fontSize,buffer,sdf,radius,cutoff}=this.props;let canvas=cachedFontAtlas&&cachedFontAtlas.data;canvas||(canvas=document.createElement("canvas"),canvas.width=1024);const ctx=canvas.getContext("2d");setTextStyle(ctx,fontFamily,fontSize,fontWeight);const{mapping,canvasHeight,xOffset,yOffset}=function utils_buildMapping({characterSet,getFontWidth,fontHeight,buffer,maxCanvasWidth,mapping={},xOffset=0,yOffset=0}){let row=0,x=xOffset;for(const char of characterSet)if(!mapping[char]){const width=getFontWidth(char);x+width+2*buffer>maxCanvasWidth&&(x=0,row++),mapping[char]={x:x+buffer,y:yOffset+row*(fontHeight+2*buffer)+buffer,width,height:fontHeight},x+=width+2*buffer}const rowHeight=fontHeight+2*buffer;return{mapping,xOffset:x,yOffset:yOffset+row*rowHeight,canvasHeight:(number=yOffset+(row+1)*rowHeight,Math.pow(2,Math.ceil(Math.log2(number))))};var number}({getFontWidth:char=>ctx.measureText(char).width,fontHeight:1.2*fontSize,buffer,characterSet,maxCanvasWidth:1024,...cachedFontAtlas&&{mapping:cachedFontAtlas.mapping,xOffset:cachedFontAtlas.xOffset,yOffset:cachedFontAtlas.yOffset}});if(canvas.height!==canvasHeight){const imageData=ctx.getImageData(0,0,canvas.width,canvas.height);canvas.height=canvasHeight,ctx.putImageData(imageData,0,0)}if(setTextStyle(ctx,fontFamily,fontSize,fontWeight),sdf){const tinySDF=new(tiny_sdf_default())(fontSize,buffer,radius,cutoff,fontFamily,fontWeight),imageData=ctx.getImageData(0,0,tinySDF.size,tinySDF.size);for(const char of characterSet)populateAlphaChannel(tinySDF.draw(char),imageData),ctx.putImageData(imageData,mapping[char].x-buffer,mapping[char].y+buffer)}else for(const char of characterSet)ctx.fillText(char,mapping[char].x,mapping[char].y+.9*fontSize);return{xOffset,yOffset,mapping,data:canvas,width:canvas.width,height:canvas.height}}_getKey(){const{fontFamily,fontWeight,fontSize,buffer,sdf,radius,cutoff}=this.props;return sdf?"".concat(fontFamily," ").concat(fontWeight," ").concat(fontSize," ").concat(buffer," ").concat(radius," ").concat(cutoff):"".concat(fontFamily," ").concat(fontWeight," ").concat(fontSize," ").concat(buffer)}}const text_background_layer_defaultProps={billboard:!0,sizeScale:1,sizeUnits:"pixels",sizeMinPixels:0,sizeMaxPixels:Number.MAX_SAFE_INTEGER,padding:{type:"array",value:[0,0,0,0]},getPosition:{type:"accessor",value:x=>x.position},getSize:{type:"accessor",value:1},getAngle:{type:"accessor",value:0},getPixelOffset:{type:"accessor",value:[0,0]},getBoundingRect:{type:"accessor",value:[0,0,0,0]},getFillColor:{type:"accessor",value:[0,0,0,255]},getLineColor:{type:"accessor",value:[0,0,0,255]},getLineWidth:{type:"accessor",value:1}};class TextBackgroundLayer extends lib_layer.c{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME text-background-layer-vertex-shader\n\nattribute vec2 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute vec4 instanceRects;\nattribute float instanceSizes;\nattribute float instanceAngles;\nattribute vec2 instancePixelOffsets;\nattribute float instanceLineWidths;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\nuniform bool billboard;\nuniform float opacity;\nuniform float sizeScale;\nuniform float sizeMinPixels;\nuniform float sizeMaxPixels;\nuniform vec4 padding;\nuniform int sizeUnits;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying float vLineWidth;\nvarying vec2 uv;\nvarying vec2 dimensions;\n\nvec2 rotate_by_angle(vec2 vertex, float angle) {\n float angle_radian = radians(angle);\n float cos_angle = cos(angle_radian);\n float sin_angle = sin(angle_radian);\n mat2 rotationMatrix = mat2(cos_angle, -sin_angle, sin_angle, cos_angle);\n return rotationMatrix * vertex;\n}\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.uv = positions;\n geometry.pickingColor = instancePickingColors;\n uv = positions;\n vLineWidth = instanceLineWidths;\n\n // convert size in meters to pixels, then scaled and clamp\n\n // project meters to pixels and clamp to limits\n float sizePixels = clamp(\n project_size_to_pixel(instanceSizes * sizeScale, sizeUnits),\n sizeMinPixels, sizeMaxPixels\n );\n\n dimensions = instanceRects.zw * sizePixels + padding.xy + padding.zw;\n\n vec2 pixelOffset = (positions * instanceRects.zw + instanceRects.xy) * sizePixels + mix(-padding.xy, padding.zw, positions);\n pixelOffset = rotate_by_angle(pixelOffset, instanceAngles);\n pixelOffset += instancePixelOffsets;\n pixelOffset.y *= -1.0;\n\n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n vec3 offset = vec3(pixelOffset, 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n } else {\n vec3 offset_common = vec3(project_pixel_size(pixelOffset), 0.0);\n DECKGL_FILTER_SIZE(offset_common, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset_common, geometry.position);\n }\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply opacity to instance color, or return instance picking color\n vFillColor = vec4(instanceFillColors.rgb, instanceFillColors.a * opacity);\n DECKGL_FILTER_COLOR(vFillColor, geometry);\n vLineColor = vec4(instanceLineColors.rgb, instanceLineColors.a * opacity);\n DECKGL_FILTER_COLOR(vLineColor, geometry);\n}\n",fs:"#define SHADER_NAME text-background-layer-fragment-shader\n\nprecision highp float;\n\nuniform bool stroked;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying float vLineWidth;\nvarying vec2 uv;\nvarying vec2 dimensions;\n\nvoid main(void) {\n geometry.uv = uv;\n\n vec2 pixelPosition = uv * dimensions;\n if (stroked) {\n float distToEdge = min(\n min(pixelPosition.x, dimensions.x - pixelPosition.x),\n min(pixelPosition.y, dimensions.y - pixelPosition.y)\n );\n float isBorder = smoothedge(distToEdge, vLineWidth);\n gl_FragColor = mix(vFillColor, vLineColor, isBorder);\n } else {\n gl_FragColor = vFillColor;\n }\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[project32,picking_picking]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceSizes:{size:1,transition:!0,accessor:"getSize",defaultValue:1},instanceAngles:{size:1,transition:!0,accessor:"getAngle"},instanceRects:{size:4,accessor:"getBoundingRect"},instancePixelOffsets:{size:2,transition:!0,accessor:"getPixelOffset"},instanceFillColors:{size:4,transition:!0,normalized:!0,type:5121,accessor:"getFillColor",defaultValue:[0,0,0,255]},instanceLineColors:{size:4,transition:!0,normalized:!0,type:5121,accessor:"getLineColor",defaultValue:[0,0,0,255]},instanceLineWidths:{size:1,transition:!0,accessor:"getLineWidth",defaultValue:1}})}updateState(params){super.updateState(params);const{changeFlags}=params;if(changeFlags.extensionsChanged){var _this$state$model;const{gl}=this.context;null===(_this$state$model=this.state.model)||void 0===_this$state$model||_this$state$model.delete(),this.state.model=this._getModel(gl),this.getAttributeManager().invalidateAll()}}draw({uniforms}){const{billboard,sizeScale,sizeUnits,sizeMinPixels,sizeMaxPixels,getLineWidth}=this.props;let{padding}=this.props;padding.length<4&&(padding=[padding[0],padding[1],padding[0],padding[1]]),this.state.model.setUniforms(uniforms).setUniforms({billboard,stroked:Boolean(getLineWidth),padding,sizeUnits:constants.iM[sizeUnits],sizeScale,sizeMinPixels,sizeMaxPixels}).draw()}_getModel(gl){return new lib_model.c(gl,{...this.getShaders(),id:this.props.id,geometry:new Geometry({drawMode:6,vertexCount:4,attributes:{positions:{size:2,value:new Float32Array([0,0,1,0,1,1,0,1])}}}),isInstanced:!0})}}(0,defineProperty.c)(TextBackgroundLayer,"defaultProps",text_background_layer_defaultProps),(0,defineProperty.c)(TextBackgroundLayer,"layerName","TextBackgroundLayer");const TEXT_ANCHOR={start:1,middle:0,end:-1},ALIGNMENT_BASELINE={top:1,center:0,bottom:-1},text_layer_DEFAULT_COLOR=[0,0,0,255],text_layer_defaultProps={billboard:!0,sizeScale:1,sizeUnits:"pixels",sizeMinPixels:0,sizeMaxPixels:Number.MAX_SAFE_INTEGER,background:!1,getBackgroundColor:{type:"accessor",value:[255,255,255,255]},getBorderColor:{type:"accessor",value:text_layer_DEFAULT_COLOR},getBorderWidth:{type:"accessor",value:0},backgroundPadding:{type:"array",value:[0,0,0,0]},characterSet:{type:"object",value:DEFAULT_FONT_SETTINGS.characterSet},fontFamily:DEFAULT_FONT_SETTINGS.fontFamily,fontWeight:DEFAULT_FONT_SETTINGS.fontWeight,lineHeight:1,outlineWidth:{type:"number",value:0,min:0},outlineColor:{type:"color",value:text_layer_DEFAULT_COLOR},fontSettings:{},wordBreak:"break-word",maxWidth:{type:"number",value:-1},getText:{type:"accessor",value:x=>x.text},getPosition:{type:"accessor",value:x=>x.position},getColor:{type:"accessor",value:text_layer_DEFAULT_COLOR},getSize:{type:"accessor",value:32},getAngle:{type:"accessor",value:0},getTextAnchor:{type:"accessor",value:"middle"},getAlignmentBaseline:{type:"accessor",value:"center"},getPixelOffset:{type:"accessor",value:[0,0]},backgroundColor:{deprecatedFor:["background","getBackgroundColor"]}};class TextLayer extends CompositeLayer{constructor(...args){super(...args),(0,defineProperty.c)(this,"state",void 0),(0,defineProperty.c)(this,"getBoundingRect",((object,objectInfo)=>{const iconMapping=this.state.fontAtlasManager.mapping,getText=this.state.getText,{wordBreak,maxWidth,lineHeight,getTextAnchor,getAlignmentBaseline}=this.props,paragraph=getText(object,objectInfo)||"",{size:[width,height]}=transformParagraph(paragraph,lineHeight,wordBreak,maxWidth,iconMapping);return[(TEXT_ANCHOR["function"==typeof getTextAnchor?getTextAnchor(object,objectInfo):getTextAnchor]-1)*width/2,(ALIGNMENT_BASELINE["function"==typeof getAlignmentBaseline?getAlignmentBaseline(object,objectInfo):getAlignmentBaseline]-1)*height/2,width,height]})),(0,defineProperty.c)(this,"getIconOffsets",((object,objectInfo)=>{const iconMapping=this.state.fontAtlasManager.mapping,getText=this.state.getText,{wordBreak,maxWidth,lineHeight,getTextAnchor,getAlignmentBaseline}=this.props,paragraph=getText(object,objectInfo)||"",{x,y,rowWidth,size:[width,height]}=transformParagraph(paragraph,lineHeight,wordBreak,maxWidth,iconMapping),anchorX=TEXT_ANCHOR["function"==typeof getTextAnchor?getTextAnchor(object,objectInfo):getTextAnchor],anchorY=ALIGNMENT_BASELINE["function"==typeof getAlignmentBaseline?getAlignmentBaseline(object,objectInfo):getAlignmentBaseline],numCharacters=x.length,offsets=new Array(2*numCharacters);let index=0;for(let i=0;i<numCharacters;i++){const rowOffset=(1-anchorX)*(width-rowWidth[i])/2;offsets[index++]=(anchorX-1)*width/2+rowOffset+x[i],offsets[index++]=(anchorY-1)*height/2+y[i]}return offsets}))}initializeState(){this.state={styleVersion:0,fontAtlasManager:new FontAtlasManager}}updateState(params){const{props,oldProps,changeFlags}=params;(changeFlags.dataChanged||changeFlags.updateTriggersChanged&&(changeFlags.updateTriggersChanged.all||changeFlags.updateTriggersChanged.getText))&&this._updateText();(this._updateFontAtlas()||props.lineHeight!==oldProps.lineHeight||props.wordBreak!==oldProps.wordBreak||props.maxWidth!==oldProps.maxWidth)&&this.setState({styleVersion:this.state.styleVersion+1})}getPickingInfo({info}){return info.object=info.index>=0?this.props.data[info.index]:null,info}_updateFontAtlas(){const{fontSettings,fontFamily,fontWeight}=this.props,{fontAtlasManager,characterSet}=this.state,fontProps={...fontSettings,characterSet,fontFamily,fontWeight};if(!fontAtlasManager.mapping)return fontAtlasManager.setProps(fontProps),!0;for(const key in fontProps)if(fontProps[key]!==fontAtlasManager.props[key])return fontAtlasManager.setProps(fontProps),!0;return!1}_updateText(){var _attributes;const{data,characterSet}=this.props,textBuffer=null===(_attributes=data.attributes)||void 0===_attributes?void 0:_attributes.getText;let numInstances,{getText}=this.props,startIndices=data.startIndices;const autoCharacterSet="auto"===characterSet&&new Set;if(textBuffer&&startIndices){const{texts,characterCount}=function getTextFromBuffer({value,length,stride,offset,startIndices,characterSet}){const bytesPerElement=value.BYTES_PER_ELEMENT,elementStride=stride?stride/bytesPerElement:1,elementOffset=offset?offset/bytesPerElement:0,characterCount=startIndices[length]||Math.ceil((value.length-elementOffset)/elementStride),autoCharacterSet=characterSet&&new Set,texts=new Array(length);let codes=value;if(elementStride>1||elementOffset>0){codes=new(0,value.constructor)(characterCount);for(let i=0;i<characterCount;i++)codes[i]=value[i*elementStride+elementOffset]}for(let index=0;index<length;index++){const startIndex=startIndices[index],endIndex=startIndices[index+1]||characterCount,codesAtIndex=codes.subarray(startIndex,endIndex);texts[index]=String.fromCodePoint.apply(null,codesAtIndex),autoCharacterSet&&codesAtIndex.forEach(autoCharacterSet.add,autoCharacterSet)}if(autoCharacterSet)for(const charCode of autoCharacterSet)characterSet.add(String.fromCodePoint(charCode));return{texts,characterCount}}({...ArrayBuffer.isView(textBuffer)?{value:textBuffer}:textBuffer,length:data.length,startIndices,characterSet:autoCharacterSet});numInstances=characterCount,getText=(_,{index})=>texts[index]}else{const{iterable,objectInfo}=(0,iterable_utils.cv)(data);startIndices=[0],numInstances=0;for(const object of iterable){objectInfo.index++;const text=Array.from(getText(object,objectInfo)||"");autoCharacterSet&&text.forEach(autoCharacterSet.add,autoCharacterSet),numInstances+=text.length,startIndices.push(numInstances)}}this.setState({getText,startIndices,numInstances,characterSet:autoCharacterSet||characterSet})}renderLayers(){const{startIndices,numInstances,getText,fontAtlasManager:{scale,texture,mapping},styleVersion}=this.state,{data,_dataDiff,getPosition,getColor,getSize,getAngle,getPixelOffset,getBackgroundColor,getBorderColor,getBorderWidth,backgroundPadding,background,billboard,fontSettings,outlineWidth,outlineColor,sizeScale,sizeUnits,sizeMinPixels,sizeMaxPixels,transitions,updateTriggers}=this.props,CharactersLayerClass=this.getSubLayerClass("characters",MultiIconLayer),BackgroundLayerClass=this.getSubLayerClass("background",TextBackgroundLayer);return[background&&new BackgroundLayerClass({getFillColor:getBackgroundColor,getLineColor:getBorderColor,getLineWidth:getBorderWidth,padding:backgroundPadding,getPosition,getSize,getAngle,getPixelOffset,billboard,sizeScale:sizeScale/this.state.fontAtlasManager.props.fontSize,sizeUnits,sizeMinPixels,sizeMaxPixels,transitions:transitions&&{getPosition:transitions.getPosition,getAngle:transitions.getAngle,getSize:transitions.getSize,getFillColor:transitions.getBackgroundColor,getLineColor:transitions.getBorderColor,getLineWidth:transitions.getBorderWidth,getPixelOffset:transitions.getPixelOffset}},this.getSubLayerProps({id:"background",updateTriggers:{getPosition:updateTriggers.getPosition,getAngle:updateTriggers.getAngle,getSize:updateTriggers.getSize,getFillColor:updateTriggers.getBackgroundColor,getLineColor:updateTriggers.getBorderColor,getLineWidth:updateTriggers.getBorderWidth,getPixelOffset:updateTriggers.getPixelOffset,getBoundingRect:{getText:updateTriggers.getText,getTextAnchor:updateTriggers.getTextAnchor,getAlignmentBaseline:updateTriggers.getAlignmentBaseline,styleVersion}}}),{data:data.attributes&&data.attributes.background?{length:data.length,attributes:data.attributes.background}:data,_dataDiff,autoHighlight:!1,getBoundingRect:this.getBoundingRect}),new CharactersLayerClass({sdf:fontSettings.sdf,smoothing:Number.isFinite(fontSettings.smoothing)?fontSettings.smoothing:DEFAULT_FONT_SETTINGS.smoothing,outlineWidth,outlineColor,iconAtlas:texture,iconMapping:mapping,getPosition,getColor,getSize,getAngle,getPixelOffset,billboard,sizeScale:sizeScale*scale,sizeUnits,sizeMinPixels:sizeMinPixels*scale,sizeMaxPixels:sizeMaxPixels*scale,transitions:transitions&&{getPosition:transitions.getPosition,getAngle:transitions.getAngle,getColor:transitions.getColor,getSize:transitions.getSize,getPixelOffset:transitions.getPixelOffset}},this.getSubLayerProps({id:"characters",updateTriggers:{getIcon:updateTriggers.getText,getPosition:updateTriggers.getPosition,getAngle:updateTriggers.getAngle,getColor:updateTriggers.getColor,getSize:updateTriggers.getSize,getPixelOffset:updateTriggers.getPixelOffset,getIconOffsets:{getText:updateTriggers.getText,getTextAnchor:updateTriggers.getTextAnchor,getAlignmentBaseline:updateTriggers.getAlignmentBaseline,styleVersion}}}),{data,_dataDiff,startIndices,numInstances,getIconOffsets:this.getIconOffsets,getIcon:getText})]}static set fontAtlasCacheLimit(limit){!function setFontAtlasCacheLimit(limit){log.c.assert(Number.isFinite(limit)&&limit>=3,"Invalid cache limit"),cache=new LRUCache(limit)}(limit)}}(0,defineProperty.c)(TextLayer,"defaultProps",text_layer_defaultProps),(0,defineProperty.c)(TextLayer,"layerName","TextLayer");const POINT_LAYER={circle:{type:ScatterplotLayer,props:{filled:"filled",stroked:"stroked",lineWidthMaxPixels:"lineWidthMaxPixels",lineWidthMinPixels:"lineWidthMinPixels",lineWidthScale:"lineWidthScale",lineWidthUnits:"lineWidthUnits",pointRadiusMaxPixels:"radiusMaxPixels",pointRadiusMinPixels:"radiusMinPixels",pointRadiusScale:"radiusScale",pointRadiusUnits:"radiusUnits",pointAntialiasing:"antialiasing",pointBillboard:"billboard",getFillColor:"getFillColor",getLineColor:"getLineColor",getLineWidth:"getLineWidth",getPointRadius:"getRadius"}},icon:{type:IconLayer,props:{iconAtlas:"iconAtlas",iconMapping:"iconMapping",iconSizeMaxPixels:"sizeMaxPixels",iconSizeMinPixels:"sizeMinPixels",iconSizeScale:"sizeScale",iconSizeUnits:"sizeUnits",iconAlphaCutoff:"alphaCutoff",iconBillboard:"billboard",getIcon:"getIcon",getIconAngle:"getAngle",getIconColor:"getColor",getIconPixelOffset:"getPixelOffset",getIconSize:"getSize"}},text:{type:TextLayer,props:{textSizeMaxPixels:"sizeMaxPixels",textSizeMinPixels:"sizeMinPixels",textSizeScale:"sizeScale",textSizeUnits:"sizeUnits",textBackground:"background",textBackgroundPadding:"backgroundPadding",textFontFamily:"fontFamily",textFontWeight:"fontWeight",textLineHeight:"lineHeight",textMaxWidth:"maxWidth",textOutlineColor:"outlineColor",textOutlineWidth:"outlineWidth",textWordBreak:"wordBreak",textCharacterSet:"characterSet",textBillboard:"billboard",textFontSettings:"fontSettings",getText:"getText",getTextAngle:"getAngle",getTextColor:"getColor",getTextPixelOffset:"getPixelOffset",getTextSize:"getSize",getTextAnchor:"getTextAnchor",getTextAlignmentBaseline:"getAlignmentBaseline",getTextBackgroundColor:"getBackgroundColor",getTextBorderColor:"getBorderColor",getTextBorderWidth:"getBorderWidth"}}},LINE_LAYER={type:PathLayer,props:{lineWidthUnits:"widthUnits",lineWidthScale:"widthScale",lineWidthMinPixels:"widthMinPixels",lineWidthMaxPixels:"widthMaxPixels",lineJointRounded:"jointRounded",lineCapRounded:"capRounded",lineMiterLimit:"miterLimit",lineBillboard:"billboard",getLineColor:"getColor",getLineWidth:"getWidth"}},POLYGON_LAYER={type:SolidPolygonLayer,props:{extruded:"extruded",filled:"filled",wireframe:"wireframe",elevationScale:"elevationScale",material:"material",getElevation:"getElevation",getFillColor:"getFillColor",getLineColor:"getLineColor"}};function getDefaultProps({type,props}){const result={};for(const key in props)result[key]=type.defaultProps[props[key]];return result}function forwardProps(layer,mapping){const{transitions,updateTriggers}=layer.props,result={updateTriggers:{},transitions:transitions&&{getPosition:transitions.geometry}};for(const sourceKey in mapping){const targetKey=mapping[sourceKey];let value=layer.props[sourceKey];sourceKey.startsWith("get")&&(value=layer.getSubLayerAccessor(value),result.updateTriggers[targetKey]=updateTriggers[sourceKey],transitions&&(result.transitions[targetKey]=transitions[sourceKey])),result[targetKey]=value}return result}function separateGeojsonFeatures(features,wrapFeature,dataRange={}){const separated={pointFeatures:[],lineFeatures:[],polygonFeatures:[],polygonOutlineFeatures:[]},{startRow=0,endRow=features.length}=dataRange;for(let featureIndex=startRow;featureIndex<endRow;featureIndex++){const feature=features[featureIndex];log.c.assert(feature&&feature.geometry,"GeoJSON does not have geometry");const{geometry}=feature;if("GeometryCollection"===geometry.type){log.c.assert(Array.isArray(geometry.geometries),"GeoJSON does not have geometries array");const{geometries}=geometry;for(let i=0;i<geometries.length;i++){separateGeometry(geometries[i],separated,wrapFeature,feature,featureIndex)}}else separateGeometry(geometry,separated,wrapFeature,feature,featureIndex)}return separated}function separateGeometry(geometry,separated,wrapFeature,sourceFeature,sourceFeatureIndex){const{type,coordinates}=geometry,{pointFeatures,lineFeatures,polygonFeatures,polygonOutlineFeatures}=separated;if(function validateGeometry(type,coordinates){let nestLevel=COORDINATE_NEST_LEVEL[type];log.c.assert(nestLevel,"Unknown GeoJSON type ".concat(type));for(;coordinates&&--nestLevel>0;)coordinates=coordinates[0];return coordinates&&Number.isFinite(coordinates[0])}(type,coordinates))switch(type){case"Point":pointFeatures.push(wrapFeature({geometry},sourceFeature,sourceFeatureIndex));break;case"MultiPoint":coordinates.forEach((point=>{pointFeatures.push(wrapFeature({geometry:{type:"Point",coordinates:point}},sourceFeature,sourceFeatureIndex))}));break;case"LineString":lineFeatures.push(wrapFeature({geometry},sourceFeature,sourceFeatureIndex));break;case"MultiLineString":coordinates.forEach((path=>{lineFeatures.push(wrapFeature({geometry:{type:"LineString",coordinates:path}},sourceFeature,sourceFeatureIndex))}));break;case"Polygon":polygonFeatures.push(wrapFeature({geometry},sourceFeature,sourceFeatureIndex)),coordinates.forEach((path=>{polygonOutlineFeatures.push(wrapFeature({geometry:{type:"LineString",coordinates:path}},sourceFeature,sourceFeatureIndex))}));break;case"MultiPolygon":coordinates.forEach((polygon=>{polygonFeatures.push(wrapFeature({geometry:{type:"Polygon",coordinates:polygon}},sourceFeature,sourceFeatureIndex)),polygon.forEach((path=>{polygonOutlineFeatures.push(wrapFeature({geometry:{type:"LineString",coordinates:path}},sourceFeature,sourceFeatureIndex))}))}))}else log.c.warn("".concat(type," coordinates are malformed"))()}const COORDINATE_NEST_LEVEL={Point:1,MultiPoint:2,LineString:2,MultiLineString:3,Polygon:3,MultiPolygon:4};function getCoordinates(f){return f.geometry.coordinates}function createLayerPropsFromBinary(geojsonBinary,encodePickingColor){const layerProps={points:{},lines:{},polygons:{},polygonsOutline:{}},{points,lines,polygons}=geojsonBinary,customPickingColors=function calculatePickingColors(geojsonBinary,encodePickingColor){const pickingColors={points:null,lines:null,polygons:null};for(const key in pickingColors){const featureIds=geojsonBinary[key].globalFeatureIds.value;pickingColors[key]=new Uint8ClampedArray(3*featureIds.length);const pickingColor=[];for(let i=0;i<featureIds.length;i++)encodePickingColor(featureIds[i],pickingColor),pickingColors[key][3*i+0]=pickingColor[0],pickingColors[key][3*i+1]=pickingColor[1],pickingColors[key][3*i+2]=pickingColor[2]}return pickingColors}(geojsonBinary,encodePickingColor);return layerProps.points.data={length:points.positions.value.length/points.positions.size,attributes:{...points.attributes,getPosition:points.positions,instancePickingColors:{size:3,value:customPickingColors.points}},properties:points.properties,numericProps:points.numericProps,featureIds:points.featureIds},layerProps.lines.data={length:lines.pathIndices.value.length-1,startIndices:lines.pathIndices.value,attributes:{...lines.attributes,getPath:lines.positions,instancePickingColors:{size:3,value:customPickingColors.lines}},properties:lines.properties,numericProps:lines.numericProps,featureIds:lines.featureIds},layerProps.lines._pathType="open",layerProps.polygons.data={length:polygons.polygonIndices.value.length-1,startIndices:polygons.polygonIndices.value,attributes:{...polygons.attributes,getPolygon:polygons.positions,pickingColors:{size:3,value:customPickingColors.polygons}},properties:polygons.properties,numericProps:polygons.numericProps,featureIds:polygons.featureIds},layerProps.polygons._normalize=!1,polygons.triangles&&(layerProps.polygons.data.attributes.indices=polygons.triangles.value),layerProps.polygonsOutline.data={length:polygons.primitivePolygonIndices.value.length-1,startIndices:polygons.primitivePolygonIndices.value,attributes:{...polygons.attributes,getPath:polygons.positions,instancePickingColors:{size:3,value:customPickingColors.polygons}},properties:polygons.properties,numericProps:polygons.numericProps,featureIds:polygons.featureIds},layerProps.polygonsOutline._pathType="open",layerProps}const FEATURE_TYPES=["points","linestrings","polygons"],geojson_layer_defaultProps={...getDefaultProps(POINT_LAYER.circle),...getDefaultProps(POINT_LAYER.icon),...getDefaultProps(POINT_LAYER.text),...getDefaultProps(LINE_LAYER),...getDefaultProps(POLYGON_LAYER),stroked:!0,filled:!0,extruded:!1,wireframe:!1,iconAtlas:{type:"object",value:null},iconMapping:{type:"object",value:{}},getIcon:{type:"accessor",value:f=>f.properties.icon},getText:{type:"accessor",value:f=>f.properties.text},pointType:"circle",getRadius:{deprecatedFor:"getPointRadius"}};class GeoJsonLayer extends CompositeLayer{initializeState(){this.state={layerProps:{},features:{}}}updateState({props,changeFlags}){if(!changeFlags.dataChanged)return;const{data}=this.props,binary=data&&"points"in data&&"polygons"in data&&"lines"in data;this.setState({binary}),binary?this._updateStateBinary({props,changeFlags}):this._updateStateJSON({props,changeFlags})}_updateStateBinary({props,changeFlags}){const layerProps=createLayerPropsFromBinary(props.data,this.encodePickingColor);this.setState({layerProps})}_updateStateJSON({props,changeFlags}){const features=function getGeojsonFeatures(geojson){if(Array.isArray(geojson))return geojson;switch(log.c.assert(geojson.type,"GeoJSON does not have type"),geojson.type){case"Feature":return[geojson];case"FeatureCollection":return log.c.assert(Array.isArray(geojson.features),"GeoJSON does not have features array"),geojson.features;default:return[{geometry:geojson}]}}(props.data),wrapFeature=this.getSubLayerRow.bind(this);let newFeatures={};const featuresDiff={};if(Array.isArray(changeFlags.dataChanged)){const oldFeatures=this.state.features;for(const key in oldFeatures)newFeatures[key]=oldFeatures[key].slice(),featuresDiff[key]=[];for(const dataRange of changeFlags.dataChanged){const partialFeatures=separateGeojsonFeatures(features,wrapFeature,dataRange);for(const key in oldFeatures)featuresDiff[key].push(replaceInRange({data:newFeatures[key],getIndex:f=>f.__source.index,dataRange,replace:partialFeatures[key]}))}}else newFeatures=separateGeojsonFeatures(features,wrapFeature);const layerProps=function createLayerPropsFromFeatures(features,featuresDiff){const layerProps={points:{},lines:{},polygons:{},polygonsOutline:{}},{pointFeatures,lineFeatures,polygonFeatures,polygonOutlineFeatures}=features;return layerProps.points.data=pointFeatures,layerProps.points._dataDiff=featuresDiff.pointFeatures&&(()=>featuresDiff.pointFeatures),layerProps.points.getPosition=getCoordinates,layerProps.lines.data=lineFeatures,layerProps.lines._dataDiff=featuresDiff.lineFeatures&&(()=>featuresDiff.lineFeatures),layerProps.lines.getPath=getCoordinates,layerProps.polygons.data=polygonFeatures,layerProps.polygons._dataDiff=featuresDiff.polygonFeatures&&(()=>featuresDiff.polygonFeatures),layerProps.polygons.getPolygon=getCoordinates,layerProps.polygonsOutline.data=polygonOutlineFeatures,layerProps.polygonsOutline._dataDiff=featuresDiff.polygonOutlineFeatures&&(()=>featuresDiff.polygonOutlineFeatures),layerProps.polygonsOutline.getPath=getCoordinates,layerProps}(newFeatures,featuresDiff);this.setState({features:newFeatures,featuresDiff,layerProps})}getPickingInfo(params){const info=super.getPickingInfo(params),{index,sourceLayer}=info;return info.featureType=FEATURE_TYPES.find((ft=>sourceLayer.id.startsWith("".concat(this.id,"-").concat(ft,"-")))),index>=0&&sourceLayer.id.startsWith("".concat(this.id,"-points-text"))&&this.state.binary&&(info.index=this.props.data.points.globalFeatureIds.value[index]),info}_updateAutoHighlight(info){const pointLayerIdPrefix="".concat(this.id,"-points-"),sourceIsPoints="points"===info.featureType;for(const layer of this.getSubLayers())layer.id.startsWith(pointLayerIdPrefix)===sourceIsPoints&&layer.updateAutoHighlight(info)}_renderPolygonLayer(){const{extruded,wireframe}=this.props,{layerProps}=this.state,id="polygons-fill",PolygonFillLayer=this.shouldRenderSubLayer(id,layerProps.polygons.data)&&this.getSubLayerClass(id,POLYGON_LAYER.type);if(PolygonFillLayer){const forwardedProps=forwardProps(this,POLYGON_LAYER.props),useLineColor=extruded&&wireframe;return useLineColor||delete forwardedProps.getLineColor,forwardedProps.updateTriggers.lineColors=useLineColor,new PolygonFillLayer(forwardedProps,this.getSubLayerProps({id,updateTriggers:forwardedProps.updateTriggers}),layerProps.polygons)}return null}_renderLineLayers(){const{extruded,stroked}=this.props,{layerProps}=this.state,PolygonStrokeLayer=!extruded&&stroked&&this.shouldRenderSubLayer("polygons-stroke",layerProps.polygonsOutline.data)&&this.getSubLayerClass("polygons-stroke",LINE_LAYER.type),LineStringsLayer=this.shouldRenderSubLayer("linestrings",layerProps.lines.data)&&this.getSubLayerClass("linestrings",LINE_LAYER.type);if(PolygonStrokeLayer||LineStringsLayer){const forwardedProps=forwardProps(this,LINE_LAYER.props);return[PolygonStrokeLayer&&new PolygonStrokeLayer(forwardedProps,this.getSubLayerProps({id:"polygons-stroke",updateTriggers:forwardedProps.updateTriggers}),layerProps.polygonsOutline),LineStringsLayer&&new LineStringsLayer(forwardedProps,this.getSubLayerProps({id:"linestrings",updateTriggers:forwardedProps.updateTriggers}),layerProps.lines)]}return null}_renderPointLayers(){const{pointType}=this.props,{layerProps,binary}=this.state;let{highlightedObjectIndex}=this.props;!binary&&Number.isFinite(highlightedObjectIndex)&&(highlightedObjectIndex=layerProps.points.data.findIndex((d=>d.__source.index===highlightedObjectIndex)));const types=new Set(pointType.split("+")),pointLayers=[];for(const type of types){const id="points-".concat(type),PointLayerMapping=POINT_LAYER[type],PointsLayer=PointLayerMapping&&this.shouldRenderSubLayer(id,layerProps.points.data)&&this.getSubLayerClass(id,PointLayerMapping.type);if(PointsLayer){const forwardedProps=forwardProps(this,PointLayerMapping.props);let pointsLayerProps=layerProps.points;if("text"===type&&binary){const{instancePickingColors,...rest}=pointsLayerProps.data.attributes;pointsLayerProps={...pointsLayerProps,data:{...pointsLayerProps.data,attributes:rest}}}pointLayers.push(new PointsLayer(forwardedProps,this.getSubLayerProps({id,updateTriggers:forwardedProps.updateTriggers,highlightedObjectIndex}),pointsLayerProps))}}return pointLayers}renderLayers(){const{extruded}=this.props,polygonFillLayer=this._renderPolygonLayer();return[!extruded&&polygonFillLayer,this._renderLineLayers(),this._renderPointLayers(),extruded&&polygonFillLayer]}getSubLayerAccessor(accessor){const{binary}=this.state;return binary&&"function"==typeof accessor?(object,info)=>{const{data,index}=info,feature=function binaryToFeatureForAccesor(data,index){if(!data)return null;const featureIndex="startIndices"in data?data.startIndices[index]:index,geometryIndex=data.featureIds.value[featureIndex];return-1!==featureIndex?function getPropertiesForIndex(data,propertiesIndex,numericPropsIndex){const feature={properties:{...data.properties[propertiesIndex]}};for(const prop in data.numericProps)feature.properties[prop]=data.numericProps[prop].value[numericPropsIndex];return feature}(data,geometryIndex,featureIndex):null}(data,index);return accessor(feature,info)}:super.getSubLayerAccessor(accessor)}}(0,defineProperty.c)(GeoJsonLayer,"layerName","GeoJsonLayer"),(0,defineProperty.c)(GeoJsonLayer,"defaultProps",geojson_layer_defaultProps)},"./node_modules/@deck.gl/layers/node_modules/@mapbox/tiny-sdf/index.js":module=>{"use strict";module.exports=TinySDF,module.exports.default=TinySDF;var INF=1e20;function TinySDF(fontSize,buffer,radius,cutoff,fontFamily,fontWeight){this.fontSize=fontSize||24,this.buffer=void 0===buffer?3:buffer,this.cutoff=cutoff||.25,this.fontFamily=fontFamily||"sans-serif",this.fontWeight=fontWeight||"normal",this.radius=radius||8;var size=this.size=this.fontSize+2*this.buffer,gridSize=size+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=size,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textAlign="left",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(gridSize*gridSize),this.gridInner=new Float64Array(gridSize*gridSize),this.f=new Float64Array(gridSize),this.z=new Float64Array(gridSize+1),this.v=new Uint16Array(gridSize),this.useMetrics=void 0!==this.ctx.measureText("A").actualBoundingBoxLeft,this.middle=Math.round(size/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function edt(data,width,height,f,v,z){for(var x=0;x<width;x++)edt1d(data,x,width,height,f,v,z);for(var y=0;y<height;y++)edt1d(data,y*width,1,width,f,v,z)}function edt1d(grid,offset,stride,length,f,v,z){var q,k,s,r;for(v[0]=0,z[0]=-INF,z[1]=INF,q=0;q<length;q++)f[q]=grid[offset+q*stride];for(q=1,k=0,s=0;q<length;q++){do{r=v[k],s=(f[q]-f[r]+q*q-r*r)/(q-r)/2}while(s<=z[k]&&--k>-1);v[++k]=q,z[k]=s,z[k+1]=INF}for(q=0,k=0;q<length;q++){for(;z[k+1]<q;)k++;r=v[k],grid[offset+q*stride]=f[r]+(q-r)*(q-r)}}TinySDF.prototype._draw=function(char,getMetrics){var width,glyphWidth,height,glyphHeight,top,imgTop,imgLeft,baselinePosition,imgData,textMetrics=this.ctx.measureText(char),advance=textMetrics.width,doubleBuffer=2*this.buffer;getMetrics&&this.useMetrics?(top=Math.floor(textMetrics.actualBoundingBoxAscent),baselinePosition=this.buffer+Math.ceil(textMetrics.actualBoundingBoxAscent),imgTop=this.buffer,imgLeft=this.buffer,width=(glyphWidth=Math.min(this.size,Math.ceil(textMetrics.actualBoundingBoxRight-textMetrics.actualBoundingBoxLeft)))+doubleBuffer,height=(glyphHeight=Math.min(this.size-imgTop,Math.ceil(textMetrics.actualBoundingBoxAscent+textMetrics.actualBoundingBoxDescent)))+doubleBuffer,this.ctx.textBaseline="alphabetic"):(width=glyphWidth=this.size,height=glyphHeight=this.size,top=19*this.fontSize/24,imgTop=imgLeft=0,baselinePosition=this.middle,this.ctx.textBaseline="middle"),glyphWidth&&glyphHeight&&(this.ctx.clearRect(imgLeft,imgTop,glyphWidth,glyphHeight),this.ctx.fillText(char,this.buffer,baselinePosition),imgData=this.ctx.getImageData(imgLeft,imgTop,glyphWidth,glyphHeight));var alphaChannel=new Uint8ClampedArray(width*height);return function prepareGrids(imgData,width,height,glyphWidth,glyphHeight,gridOuter,gridInner){gridOuter.fill(INF,0,width*height),gridInner.fill(0,0,width*height);for(var offset=(width-glyphWidth)/2,y=0;y<glyphHeight;y++)for(var x=0;x<glyphWidth;x++){var j=(y+offset)*width+x+offset,a=imgData.data[4*(y*glyphWidth+x)+3]/255;if(1===a)gridOuter[j]=0,gridInner[j]=INF;else if(0===a)gridOuter[j]=INF,gridInner[j]=0;else{var b=Math.max(0,.5-a),c=Math.max(0,a-.5);gridOuter[j]=b*b,gridInner[j]=c*c}}}(imgData,width,height,glyphWidth,glyphHeight,this.gridOuter,this.gridInner),edt(this.gridOuter,width,height,this.f,this.v,this.z),edt(this.gridInner,width,height,this.f,this.v,this.z),function extractAlpha(alphaChannel,width,height,gridOuter,gridInner,radius,cutoff){for(var i=0;i<width*height;i++){var d=Math.sqrt(gridOuter[i])-Math.sqrt(gridInner[i]);alphaChannel[i]=Math.round(255-255*(d/radius+cutoff))}}(alphaChannel,width,height,this.gridOuter,this.gridInner,this.radius,this.cutoff),{data:alphaChannel,metrics:{width:glyphWidth,height:glyphHeight,sdfWidth:width,sdfHeight:height,top,left:0,advance}}},TinySDF.prototype.draw=function(char){return this._draw(char,!1).data},TinySDF.prototype.drawWithMetrics=function(char){return this._draw(char,!0)}},"./node_modules/@deck.gl/react/dist/esm/deckgl.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>deckgl});var react=__webpack_require__("./node_modules/react/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");let channelHandles=1,animationHandles=1;class Timeline{constructor(){this.time=0,this.channels=new Map,this.animations=new Map,this.playing=!1,this.lastEngineTime=-1}addChannel(props){const{delay=0,duration=Number.POSITIVE_INFINITY,rate=1,repeat=1}=props,handle=channelHandles++,channel={time:0,delay,duration,rate,repeat};return this._setChannelTime(channel,this.time),this.channels.set(handle,channel),handle}removeChannel(handle){this.channels.delete(handle);for(const[animationHandle,animation]of this.animations)animation.channel===handle&&this.detachAnimation(animationHandle)}isFinished(handle){const channel=this.channels.get(handle);return void 0!==channel&&this.time>=channel.delay+channel.duration*channel.repeat}getTime(handle){if(void 0===handle)return this.time;const channel=this.channels.get(handle);return void 0===channel?-1:channel.time}setTime(time){this.time=Math.max(0,time);const channels=this.channels.values();for(const channel of channels)this._setChannelTime(channel,this.time);const animations=this.animations.values();for(const animationData of animations){const{animation,channel}=animationData;animation.setTime(this.getTime(channel))}}play(){this.playing=!0}pause(){this.playing=!1,this.lastEngineTime=-1}reset(){this.setTime(0)}attachAnimation(animation,channelHandle){const animationHandle=animationHandles++;return this.animations.set(animationHandle,{animation,channel:channelHandle}),animation.setTime(this.getTime(channelHandle)),animationHandle}detachAnimation(handle){this.animations.delete(handle)}update(engineTime){this.playing&&(-1===this.lastEngineTime&&(this.lastEngineTime=engineTime),this.setTime(this.time+(engineTime-this.lastEngineTime)),this.lastEngineTime=engineTime)}_setChannelTime(channel,time){const offsetTime=time-channel.delay;offsetTime>=channel.duration*channel.repeat?channel.time=channel.duration*channel.rate:(channel.time=Math.max(0,offsetTime)%channel.duration,channel.time*=channel.rate)}}var constants=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lifecycle/constants.js"),log=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/log.js"),debug=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/debug/index.js"),flatten=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/flatten.js"),esm=__webpack_require__("./node_modules/@probe.gl/stats/dist/esm/index.js"),load=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/api/load.js");class Resource{constructor(id,data,context){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"context",void 0),(0,defineProperty.c)(this,"isLoaded",void 0),(0,defineProperty.c)(this,"persistent",void 0),(0,defineProperty.c)(this,"_loadCount",0),(0,defineProperty.c)(this,"_subscribers",new Set),(0,defineProperty.c)(this,"_data",void 0),(0,defineProperty.c)(this,"_loader",void 0),(0,defineProperty.c)(this,"_error",void 0),(0,defineProperty.c)(this,"_content",void 0),this.id=id,this.context=context,this.setData(data)}subscribe(consumer){this._subscribers.add(consumer)}unsubscribe(consumer){this._subscribers.delete(consumer)}inUse(){return this._subscribers.size>0}delete(){}getData(){return this.isLoaded?this._error?Promise.reject(this._error):this._content:this._loader.then((()=>this.getData()))}setData(data,forceUpdate){if(data===this._data&&!forceUpdate)return;this._data=data;const loadCount=++this._loadCount;let loader=data;"string"==typeof data&&(loader=(0,load.A)(data)),loader instanceof Promise?(this.isLoaded=!1,this._loader=loader.then((result=>{this._loadCount===loadCount&&(this.isLoaded=!0,this._error=void 0,this._content=result)})).catch((error=>{this._loadCount===loadCount&&(this.isLoaded=!0,this._error=error||!0)}))):(this.isLoaded=!0,this._error=void 0,this._content=data);for(const subscriber of this._subscribers)subscriber.onChange(this.getData())}}class ResourceManager{constructor({gl,protocol}){(0,defineProperty.c)(this,"protocol",void 0),(0,defineProperty.c)(this,"_context",void 0),(0,defineProperty.c)(this,"_resources",void 0),(0,defineProperty.c)(this,"_consumers",void 0),(0,defineProperty.c)(this,"_pruneRequest",void 0),this.protocol=protocol||"resource://",this._context={gl,resourceManager:this},this._resources={},this._consumers={},this._pruneRequest=null}contains(resourceId){return!!resourceId.startsWith(this.protocol)||resourceId in this._resources}add({resourceId,data,forceUpdate=!1,persistent=!0}){let res=this._resources[resourceId];res?res.setData(data,forceUpdate):(res=new Resource(resourceId,data,this._context),this._resources[resourceId]=res),res.persistent=persistent}remove(resourceId){const res=this._resources[resourceId];res&&(res.delete(),delete this._resources[resourceId])}unsubscribe({consumerId}){const consumer=this._consumers[consumerId];if(consumer){for(const requestId in consumer){const request=consumer[requestId],resource=this._resources[request.resourceId];resource&&resource.unsubscribe(request)}delete this._consumers[consumerId],this.prune()}}subscribe({resourceId,onChange,consumerId,requestId="default"}){const{_resources:resources,protocol}=this;resourceId.startsWith(protocol)&&(resources[resourceId=resourceId.replace(protocol,"")]||this.add({resourceId,data:null,persistent:!1}));const res=resources[resourceId];if(this._track(consumerId,requestId,res,onChange),res)return res.getData()}prune(){this._pruneRequest||(this._pruneRequest=setTimeout((()=>this._prune()),0))}finalize(){for(const key in this._resources)this._resources[key].delete()}_track(consumerId,requestId,resource,onChange){const consumers=this._consumers,consumer=consumers[consumerId]=consumers[consumerId]||{},request=consumer[requestId]||{},oldResource=request.resourceId&&this._resources[request.resourceId];oldResource&&(oldResource.unsubscribe(request),this.prune()),resource&&(consumer[requestId]=request,request.onChange=onChange,request.resourceId=resource.id,resource.subscribe(request))}_prune(){this._pruneRequest=null;for(const key of Object.keys(this._resources)){const res=this._resources[key];res.persistent||res.inUse()||(res.delete(),delete this._resources[key])}}}var viewport=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/viewports/viewport.js"),program_manager=__webpack_require__("./node_modules/@luma.gl/engine/dist/esm/lib/program-manager.js"),project=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/shaderlib/project/project.js");const DEFAULT_MODULES=[project.c],SHADER_HOOKS=["vs:DECKGL_FILTER_SIZE(inout vec3 size, VertexGeometry geometry)","vs:DECKGL_FILTER_GL_POSITION(inout vec4 position, VertexGeometry geometry)","vs:DECKGL_FILTER_COLOR(inout vec4 color, VertexGeometry geometry)","fs:DECKGL_FILTER_COLOR(inout vec4 color, FragmentGeometry geometry)"];function createProgramManager(gl){const programManager=program_manager.c.getDefaultProgramManager(gl);for(const shaderModule of DEFAULT_MODULES)programManager.addDefaultModule(shaderModule);for(const shaderHook of SHADER_HOOKS)programManager.addShaderHook(shaderHook);return programManager}class LayerManager{constructor(gl,{deck,stats,viewport:_viewport,timeline}={}){(0,defineProperty.c)(this,"layers",void 0),(0,defineProperty.c)(this,"context",void 0),(0,defineProperty.c)(this,"resourceManager",void 0),(0,defineProperty.c)(this,"_lastRenderedLayers",[]),(0,defineProperty.c)(this,"_needsRedraw",!1),(0,defineProperty.c)(this,"_needsUpdate",!1),(0,defineProperty.c)(this,"_nextLayers",null),(0,defineProperty.c)(this,"_debug",!1),(0,defineProperty.c)(this,"activateViewport",(viewport=>{(0,debug.c)("layerManager.activateViewport",this,viewport),viewport&&(this.context.viewport=viewport)})),this.layers=[],this.resourceManager=new ResourceManager({gl,protocol:"deck://"}),this.context={mousePosition:null,userData:{},layerManager:this,gl,deck,programManager:gl&&createProgramManager(gl),stats:stats||new esm.k7({id:"deck.gl"}),viewport:_viewport||new viewport.c({id:"DEFAULT-INITIAL-VIEWPORT"}),timeline:timeline||new Timeline,resourceManager:this.resourceManager,onError:void 0},Object.seal(this)}finalize(){this.resourceManager.finalize();for(const layer of this.layers)this._finalizeLayer(layer)}needsRedraw(opts={clearRedrawFlags:!1}){let redraw=this._needsRedraw;opts.clearRedrawFlags&&(this._needsRedraw=!1);for(const layer of this.layers){const layerNeedsRedraw=layer.getNeedsRedraw(opts);redraw=redraw||layerNeedsRedraw}return redraw}needsUpdate(){return this._nextLayers&&this._nextLayers!==this._lastRenderedLayers?"layers changed":this._needsUpdate}setNeedsRedraw(reason){this._needsRedraw=this._needsRedraw||reason}setNeedsUpdate(reason){this._needsUpdate=this._needsUpdate||reason}getLayers({layerIds}={}){return layerIds?this.layers.filter((layer=>layerIds.find((layerId=>0===layer.id.indexOf(layerId))))):this.layers}setProps(props){"debug"in props&&(this._debug=props.debug),"userData"in props&&(this.context.userData=props.userData),"layers"in props&&(this._nextLayers=props.layers),"onError"in props&&(this.context.onError=props.onError)}setLayers(newLayers,reason){(0,debug.c)("layerManager.setLayers",this,reason,newLayers),this._lastRenderedLayers=newLayers;const flatLayers=(0,flatten.Y)(newLayers,Boolean);for(const layer of flatLayers)layer.context=this.context;this._updateLayers(this.layers,flatLayers)}updateLayers(){const reason=this.needsUpdate();reason&&(this.setNeedsRedraw("updating layers: ".concat(reason)),this.setLayers(this._nextLayers||this._lastRenderedLayers,reason)),this._nextLayers=null}_handleError(stage,error,layer){layer.raiseError(error,"".concat(stage," of ").concat(layer))}_updateLayers(oldLayers,newLayers){const oldLayerMap={};for(const oldLayer of oldLayers)oldLayerMap[oldLayer.id]?log.c.warn("Multiple old layers with same id ".concat(oldLayer.id))():oldLayerMap[oldLayer.id]=oldLayer;const generatedLayers=[];this._updateSublayersRecursively(newLayers,oldLayerMap,generatedLayers),this._finalizeOldLayers(oldLayerMap);let needsUpdate=!1;for(const layer of generatedLayers)if(layer.hasUniformTransition()){needsUpdate="Uniform transition in ".concat(layer);break}this._needsUpdate=needsUpdate,this.layers=generatedLayers}_updateSublayersRecursively(newLayers,oldLayerMap,generatedLayers){for(const newLayer of newLayers){newLayer.context=this.context;const oldLayer=oldLayerMap[newLayer.id];null===oldLayer&&log.c.warn("Multiple new layers with same id ".concat(newLayer.id))(),oldLayerMap[newLayer.id]=null;let sublayers=null;try{this._debug&&oldLayer!==newLayer&&newLayer.validateProps(),oldLayer?(this._transferLayerState(oldLayer,newLayer),this._updateLayer(newLayer)):this._initializeLayer(newLayer),generatedLayers.push(newLayer),sublayers=newLayer.isComposite?newLayer.getSubLayers():null}catch(err){this._handleError("matching",err,newLayer)}sublayers&&this._updateSublayersRecursively(sublayers,oldLayerMap,generatedLayers)}}_finalizeOldLayers(oldLayerMap){for(const layerId in oldLayerMap){const layer=oldLayerMap[layerId];layer&&this._finalizeLayer(layer)}}_initializeLayer(layer){try{layer._initialize(),layer.lifecycle=constants.$G.INITIALIZED}catch(err){this._handleError("initialization",err,layer)}}_transferLayerState(oldLayer,newLayer){newLayer._transferState(oldLayer),newLayer.lifecycle=constants.$G.MATCHED,newLayer!==oldLayer&&(oldLayer.lifecycle=constants.$G.AWAITING_GC)}_updateLayer(layer){try{layer._update()}catch(err){this._handleError("update",err,layer)}}_finalizeLayer(layer){this._needsRedraw=this._needsRedraw||"finalized ".concat(layer),layer.lifecycle=constants.$G.AWAITING_FINALIZATION;try{layer._finalize(),layer.lifecycle=constants.$G.FINALIZED}catch(err){this._handleError("finalization",err,layer)}}}var deep_equal=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/deep-equal.js");class ViewManager{constructor(props){(0,defineProperty.c)(this,"width",void 0),(0,defineProperty.c)(this,"height",void 0),(0,defineProperty.c)(this,"views",void 0),(0,defineProperty.c)(this,"viewState",void 0),(0,defineProperty.c)(this,"controllers",void 0),(0,defineProperty.c)(this,"timeline",void 0),(0,defineProperty.c)(this,"_viewports",void 0),(0,defineProperty.c)(this,"_viewportMap",void 0),(0,defineProperty.c)(this,"_isUpdating",void 0),(0,defineProperty.c)(this,"_needsRedraw",void 0),(0,defineProperty.c)(this,"_needsUpdate",void 0),(0,defineProperty.c)(this,"_eventManager",void 0),(0,defineProperty.c)(this,"_eventCallbacks",void 0),this.views=[],this.width=100,this.height=100,this.viewState={},this.controllers={},this.timeline=props.timeline,this._viewports=[],this._viewportMap={},this._isUpdating=!1,this._needsRedraw="First render",this._needsUpdate="Initialize",this._eventManager=props.eventManager,this._eventCallbacks={onViewStateChange:props.onViewStateChange,onInteractionStateChange:props.onInteractionStateChange},Object.seal(this),this.setProps(props)}finalize(){for(const key in this.controllers){const controller=this.controllers[key];controller&&controller.finalize()}this.controllers={}}needsRedraw(opts={clearRedrawFlags:!1}){const redraw=this._needsRedraw;return opts.clearRedrawFlags&&(this._needsRedraw=!1),redraw}setNeedsUpdate(reason){this._needsUpdate=this._needsUpdate||reason,this._needsRedraw=this._needsRedraw||reason}updateViewStates(){for(const viewId in this.controllers){const controller=this.controllers[viewId];controller&&controller.updateTransition()}}getViewports(rect){return rect?this._viewports.filter((viewport=>viewport.containsPixel(rect))):this._viewports}getViews(){const viewMap={};return this.views.forEach((view=>{viewMap[view.id]=view})),viewMap}getView(viewId){return this.views.find((view=>view.id===viewId))}getViewState(viewOrViewId){const view="string"==typeof viewOrViewId?this.getView(viewOrViewId):viewOrViewId,viewState=view&&this.viewState[view.getViewStateId()]||this.viewState;return view?view.filterViewState(viewState):viewState}getViewport(viewId){return this._viewportMap[viewId]}unproject(xyz,opts){const viewports=this.getViewports(),pixel={x:xyz[0],y:xyz[1]};for(let i=viewports.length-1;i>=0;--i){const viewport=viewports[i];if(viewport.containsPixel(pixel)){const p=xyz.slice();return p[0]-=viewport.x,p[1]-=viewport.y,viewport.unproject(p,opts)}}return null}setProps(props){props.views&&this._setViews(props.views),props.viewState&&this._setViewState(props.viewState),("width"in props||"height"in props)&&this._setSize(props.width,props.height),this._isUpdating||this._update()}_update(){this._isUpdating=!0,this._needsUpdate&&(this._needsUpdate=!1,this._rebuildViewports()),this._needsUpdate&&(this._needsUpdate=!1,this._rebuildViewports()),this._isUpdating=!1}_setSize(width,height){width===this.width&&height===this.height||(this.width=width,this.height=height,this.setNeedsUpdate("Size changed"))}_setViews(views){views=(0,flatten.Y)(views,Boolean);this._diffViews(views,this.views)&&this.setNeedsUpdate("views changed"),this.views=views}_setViewState(viewState){if(viewState){!(0,deep_equal.I)(viewState,this.viewState)&&this.setNeedsUpdate("viewState changed"),this.viewState=viewState}else log.c.warn("missing `viewState` or `initialViewState`")()}_onViewStateChange(viewId,event){this._eventCallbacks.onViewStateChange&&this._eventCallbacks.onViewStateChange({...event,viewId})}_createController(view,props){return new(0,props.type)({timeline:this.timeline,eventManager:this._eventManager,onViewStateChange:this._onViewStateChange.bind(this,props.id),onStateChange:this._eventCallbacks.onInteractionStateChange,makeViewport:viewState=>view.makeViewport({viewState,width:this.width,height:this.height})})}_updateController(view,viewState,viewport,controller){const controllerProps=view.controller;if(controllerProps){const resolvedProps={...viewState,...controllerProps,id:view.id,x:viewport.x,y:viewport.y,width:viewport.width,height:viewport.height};return controller||(controller=this._createController(view,resolvedProps)),controller&&controller.setProps(resolvedProps),controller}return null}_rebuildViewports(){const{views}=this,oldControllers=this.controllers;this._viewports=[],this.controllers={};let invalidateControllers=!1;for(let i=views.length;i--;){const view=views[i],viewState=this.getViewState(view),viewport=view.makeViewport({viewState,width:this.width,height:this.height});let oldController=oldControllers[view.id];const hasController=Boolean(view.controller);hasController&&!oldController&&(invalidateControllers=!0),!invalidateControllers&&hasController||!oldController||(oldController.finalize(),oldController=null),this.controllers[view.id]=this._updateController(view,viewState,viewport,oldController),this._viewports.unshift(viewport)}for(const id in oldControllers){const oldController=oldControllers[id];oldController&&!this.controllers[id]&&oldController.finalize()}this._buildViewportMap()}_buildViewportMap(){this._viewportMap={},this._viewports.forEach((viewport=>{viewport.id&&(this._viewportMap[viewport.id]=this._viewportMap[viewport.id]||viewport)}))}_diffViews(newViews,oldViews){return newViews.length!==oldViews.length||newViews.some(((_,i)=>!newViews[i].equals(oldViews[i])))}}const PERCENT_OR_PIXELS_REGEX=/([0-9]+\.?[0-9]*)(%|px)/;function parsePosition(value){switch(typeof value){case"number":return{position:value,relative:!1};case"string":const match=PERCENT_OR_PIXELS_REGEX.exec(value);if(match&&match.length>=3){const relative="%"===match[2],position=parseFloat(match[1]);return{position:relative?position/100:position,relative}}default:throw new Error("Could not parse position string ".concat(value))}}function getPosition(position,extent){return position.relative?Math.round(position.position*extent):position.position}var assert=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/assert.js");class View{constructor(props){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"viewportInstance",void 0),(0,defineProperty.c)(this,"_x",void 0),(0,defineProperty.c)(this,"_y",void 0),(0,defineProperty.c)(this,"_width",void 0),(0,defineProperty.c)(this,"_height",void 0),(0,defineProperty.c)(this,"_padding",void 0),(0,defineProperty.c)(this,"props",void 0);const{id,x=0,y=0,width="100%",height="100%",padding=null,viewportInstance}=props||{};(0,assert.c)(!viewportInstance||viewportInstance instanceof viewport.c),this.viewportInstance=viewportInstance,this.id=id||this.constructor.displayName||"view",this.props={...props,id:this.id},this._x=parsePosition(x),this._y=parsePosition(y),this._width=parsePosition(width),this._height=parsePosition(height),this._padding=padding&&{left:parsePosition(padding.left||0),right:parsePosition(padding.right||0),top:parsePosition(padding.top||0),bottom:parsePosition(padding.bottom||0)},this.equals=this.equals.bind(this),Object.seal(this)}equals(view){return this===view||(this.viewportInstance?!!view.viewportInstance&&this.viewportInstance.equals(view.viewportInstance):this.ViewportType===view.ViewportType&&(0,deep_equal.I)(this.props,view.props))}makeViewport({width,height,viewState}){if(this.viewportInstance)return this.viewportInstance;viewState=this.filterViewState(viewState);const viewportDimensions=this.getDimensions({width,height});return new this.ViewportType({...viewState,...this.props,...viewportDimensions})}getViewStateId(){const{viewState}=this.props;return"string"==typeof viewState?viewState:(null==viewState?void 0:viewState.id)||this.id}filterViewState(viewState){if(this.props.viewState&&"object"==typeof this.props.viewState){if(!this.props.viewState.id)return this.props.viewState;const newViewState={...viewState};for(const key in this.props.viewState)"id"!==key&&(newViewState[key]=this.props.viewState[key]);return newViewState}return viewState}getDimensions({width,height}){const dimensions={x:getPosition(this._x,width),y:getPosition(this._y,height),width:getPosition(this._width,width),height:getPosition(this._height,height)};return this._padding&&(dimensions.padding={left:getPosition(this._padding.left,width),top:getPosition(this._padding.top,height),right:getPosition(this._padding.right,width),bottom:getPosition(this._padding.bottom,height)}),dimensions}get controller(){const opts=this.props.controller;return opts?!0===opts?{type:this.ControllerType}:"function"==typeof opts?{type:opts}:{type:this.ControllerType,...opts}:null}}var web_mercator_viewport=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/viewports/web-mercator-viewport.js"),common=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js"),transition=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/transitions/transition.js");const noop=()=>{};let TRANSITION_EVENTS;!function(TRANSITION_EVENTS){TRANSITION_EVENTS[TRANSITION_EVENTS.BREAK=1]="BREAK",TRANSITION_EVENTS[TRANSITION_EVENTS.SNAP_TO_END=2]="SNAP_TO_END",TRANSITION_EVENTS[TRANSITION_EVENTS.IGNORE=3]="IGNORE"}(TRANSITION_EVENTS||(TRANSITION_EVENTS={}));const DEFAULT_EASING=t=>t,DEFAULT_INTERRUPTION=TRANSITION_EVENTS.BREAK;class TransitionManager{constructor(opts){(0,defineProperty.c)(this,"getControllerState",void 0),(0,defineProperty.c)(this,"props",void 0),(0,defineProperty.c)(this,"propsInTransition",void 0),(0,defineProperty.c)(this,"transition",void 0),(0,defineProperty.c)(this,"onViewStateChange",void 0),(0,defineProperty.c)(this,"onStateChange",void 0),(0,defineProperty.c)(this,"_onTransitionUpdate",(transition=>{const{time,settings:{interpolator,startProps,endProps,duration,easing}}=transition,t=easing(time/duration),viewport=interpolator.interpolateProps(startProps,endProps,t);this.propsInTransition=this.getControllerState({...this.props,...viewport}).getViewportProps(),this.onViewStateChange({viewState:this.propsInTransition,oldViewState:this.props})})),this.getControllerState=opts.getControllerState,this.propsInTransition=null,this.transition=new transition.c(opts.timeline),this.onViewStateChange=opts.onViewStateChange||noop,this.onStateChange=opts.onStateChange||noop}finalize(){this.transition.cancel()}getViewportInTransition(){return this.propsInTransition}processViewStateChange(nextProps){let transitionTriggered=!1;const currentProps=this.props;if(this.props=nextProps,!currentProps||this._shouldIgnoreViewportChange(currentProps,nextProps))return!1;if(this._isTransitionEnabled(nextProps)){let startProps=currentProps;if(this.transition.inProgress){const{interruption,endProps}=this.transition.settings;startProps={...currentProps,...interruption===TRANSITION_EVENTS.SNAP_TO_END?endProps:this.propsInTransition||currentProps}}this._triggerTransition(startProps,nextProps),transitionTriggered=!0}else this.transition.cancel();return transitionTriggered}updateTransition(){this.transition.update()}_isTransitionEnabled(props){const{transitionDuration,transitionInterpolator}=props;return(transitionDuration>0||"auto"===transitionDuration)&&Boolean(transitionInterpolator)}_isUpdateDueToCurrentTransition(props){return!(!this.transition.inProgress||!this.propsInTransition)&&this.transition.settings.interpolator.arePropsEqual(props,this.propsInTransition)}_shouldIgnoreViewportChange(currentProps,nextProps){return this.transition.inProgress?this.transition.settings.interruption===TRANSITION_EVENTS.IGNORE||this._isUpdateDueToCurrentTransition(nextProps):!this._isTransitionEnabled(nextProps)||nextProps.transitionInterpolator.arePropsEqual(currentProps,nextProps)}_triggerTransition(startProps,endProps){const startViewstate=this.getControllerState(startProps),endViewStateProps=this.getControllerState(endProps).shortestPathFrom(startViewstate),transitionInterpolator=endProps.transitionInterpolator,duration=transitionInterpolator.getDuration?transitionInterpolator.getDuration(startProps,endProps):endProps.transitionDuration;if(0===duration)return;const initialProps=transitionInterpolator.initializeProps(startProps,endViewStateProps);this.propsInTransition={};const transitionSettings={duration,easing:endProps.transitionEasing||DEFAULT_EASING,interpolator:transitionInterpolator,interruption:endProps.transitionInterruption||DEFAULT_INTERRUPTION,startProps:initialProps.start,endProps:initialProps.end,onStart:endProps.onTransitionStart,onUpdate:this._onTransitionUpdate,onInterrupt:this._onTransitionEnd(endProps.onTransitionInterrupt),onEnd:this._onTransitionEnd(endProps.onTransitionEnd)};this.transition.start(transitionSettings),this.onStateChange({inTransition:!0}),this.updateTransition()}_onTransitionEnd(callback){return transition=>{this.propsInTransition=null,this.onStateChange({inTransition:!1,isZooming:!1,isPanning:!1,isRotating:!1}),null==callback||callback(transition)}}}class TransitionInterpolator{constructor(opts){(0,defineProperty.c)(this,"_propsToCompare",void 0),(0,defineProperty.c)(this,"_propsToExtract",void 0),(0,defineProperty.c)(this,"_requiredProps",void 0);const{compare,extract,required}=opts;this._propsToCompare=compare,this._propsToExtract=extract||compare,this._requiredProps=required}arePropsEqual(currentProps,nextProps){for(const key of this._propsToCompare)if(!(key in currentProps)||!(key in nextProps)||!(0,common.yK)(currentProps[key],nextProps[key]))return!1;return!0}initializeProps(startProps,endProps){const startViewStateProps={},endViewStateProps={};for(const key of this._propsToExtract)(key in startProps||key in endProps)&&(startViewStateProps[key]=startProps[key],endViewStateProps[key]=endProps[key]);return this._checkRequiredProps(startViewStateProps),this._checkRequiredProps(endViewStateProps),{start:startViewStateProps,end:endViewStateProps}}getDuration(startProps,endProps){return endProps.transitionDuration}_checkRequiredProps(props){this._requiredProps&&this._requiredProps.forEach((propName=>{const value=props[propName];(0,assert.c)(Number.isFinite(value)||Array.isArray(value),"".concat(propName," is required for transition"))}))}}const DEFAULT_PROPS=["longitude","latitude","zoom","bearing","pitch"],DEFAULT_REQUIRED_PROPS=["longitude","latitude","zoom"];class LinearInterpolator extends TransitionInterpolator{constructor(opts={}){const transitionProps=Array.isArray(opts)?opts:opts.transitionProps,normalizedOpts=Array.isArray(opts)?{}:opts;normalizedOpts.transitionProps=Array.isArray(transitionProps)?{compare:transitionProps,required:transitionProps}:transitionProps||{compare:DEFAULT_PROPS,required:DEFAULT_REQUIRED_PROPS},super(normalizedOpts.transitionProps),(0,defineProperty.c)(this,"opts",void 0),this.opts=normalizedOpts}initializeProps(startProps,endProps){const result=super.initializeProps(startProps,endProps),{makeViewport,around}=this.opts;if(makeViewport&&around){const startViewport=makeViewport(startProps),endViewport=makeViewport(endProps),aroundPosition=startViewport.unproject(around);result.start.around=around,Object.assign(result.end,{around:endViewport.project(aroundPosition),aroundPosition,width:endProps.width,height:endProps.height})}return result}interpolateProps(startProps,endProps,t){const propsInTransition={};for(const key of this._propsToExtract)propsInTransition[key]=(0,common.Cq)(startProps[key]||0,endProps[key]||0,t);if(endProps.aroundPosition&&this.opts.makeViewport){const viewport=this.opts.makeViewport({...endProps,...propsInTransition});Object.assign(propsInTransition,viewport.panByPosition(endProps.aroundPosition,(0,common.Cq)(startProps.around,endProps.around,t)))}return propsInTransition}}const NO_TRANSITION_PROPS={transitionDuration:0},INERTIA_EASING=t=>1-(1-t)*(1-t),EVENT_TYPES_WHEEL=["wheel"],EVENT_TYPES_PAN=["panstart","panmove","panend"],EVENT_TYPES_PINCH=["pinchstart","pinchmove","pinchend"],EVENT_TYPES_TRIPLE_PAN=["tripanstart","tripanmove","tripanend"],EVENT_TYPES_DOUBLE_TAP=["doubletap"],EVENT_TYPES_KEYBOARD=["keydown"],pinchEventWorkaround={};class Controller{constructor(opts){(0,defineProperty.c)(this,"props",void 0),(0,defineProperty.c)(this,"state",{}),(0,defineProperty.c)(this,"transitionManager",void 0),(0,defineProperty.c)(this,"eventManager",void 0),(0,defineProperty.c)(this,"onViewStateChange",void 0),(0,defineProperty.c)(this,"onStateChange",void 0),(0,defineProperty.c)(this,"makeViewport",void 0),(0,defineProperty.c)(this,"_controllerState",void 0),(0,defineProperty.c)(this,"_events",{}),(0,defineProperty.c)(this,"_interactionState",{isDragging:!1}),(0,defineProperty.c)(this,"_customEvents",[]),(0,defineProperty.c)(this,"_eventStartBlocked",null),(0,defineProperty.c)(this,"_panMove",!1),(0,defineProperty.c)(this,"invertPan",!1),(0,defineProperty.c)(this,"dragMode","rotate"),(0,defineProperty.c)(this,"inertia",0),(0,defineProperty.c)(this,"scrollZoom",!0),(0,defineProperty.c)(this,"dragPan",!0),(0,defineProperty.c)(this,"dragRotate",!0),(0,defineProperty.c)(this,"doubleClickZoom",!0),(0,defineProperty.c)(this,"touchZoom",!0),(0,defineProperty.c)(this,"touchRotate",!1),(0,defineProperty.c)(this,"keyboard",!0),this.transitionManager=new TransitionManager({...opts,getControllerState:props=>new this.ControllerState(props),onViewStateChange:this._onTransition.bind(this),onStateChange:this._setInteractionState.bind(this)}),this.handleEvent=this.handleEvent.bind(this),this.eventManager=opts.eventManager,this.onViewStateChange=opts.onViewStateChange||(()=>{}),this.onStateChange=opts.onStateChange||(()=>{}),this.makeViewport=opts.makeViewport}set events(customEvents){this.toggleEvents(this._customEvents,!1),this.toggleEvents(customEvents,!0),this._customEvents=customEvents,this.props&&this.setProps(this.props)}finalize(){for(const eventName in this._events){var _this$eventManager;if(this._events[eventName])null===(_this$eventManager=this.eventManager)||void 0===_this$eventManager||_this$eventManager.off(eventName,this.handleEvent)}this.transitionManager.finalize()}handleEvent(event){this._controllerState=void 0;const eventStartBlocked=this._eventStartBlocked;switch(event.type){case"panstart":return!eventStartBlocked&&this._onPanStart(event);case"panmove":return this._onPan(event);case"panend":return this._onPanEnd(event);case"pinchstart":return!eventStartBlocked&&this._onPinchStart(event);case"pinchmove":return this._onPinch(event);case"pinchend":return this._onPinchEnd(event);case"tripanstart":return!eventStartBlocked&&this._onTriplePanStart(event);case"tripanmove":return this._onTriplePan(event);case"tripanend":return this._onTriplePanEnd(event);case"doubletap":return this._onDoubleTap(event);case"wheel":return this._onWheel(event);case"keydown":return this._onKeyDown(event);default:return!1}}get controllerState(){return this._controllerState=this._controllerState||new this.ControllerState({makeViewport:this.makeViewport,...this.props,...this.state}),this._controllerState}getCenter(event){const{x,y}=this.props,{offsetCenter}=event;return[offsetCenter.x-x,offsetCenter.y-y]}isPointInBounds(pos,event){const{width,height}=this.props;if(event&&event.handled)return!1;const inside=pos[0]>=0&&pos[0]<=width&&pos[1]>=0&&pos[1]<=height;return inside&&event&&event.stopPropagation(),inside}isFunctionKeyPressed(event){const{srcEvent}=event;return Boolean(srcEvent.metaKey||srcEvent.altKey||srcEvent.ctrlKey||srcEvent.shiftKey)}isDragging(){return this._interactionState.isDragging||!1}blockEvents(timeout){const timer=setTimeout((()=>{this._eventStartBlocked===timer&&(this._eventStartBlocked=null)}),timeout);this._eventStartBlocked=timer}setProps(props){props.dragMode&&(this.dragMode=props.dragMode),this.props=props,"transitionInterpolator"in props||(props.transitionInterpolator=this._getTransitionProps().transitionInterpolator),this.transitionManager.processViewStateChange(props);const{inertia}=props;this.inertia=Number.isFinite(inertia)?inertia:!0===inertia?300:0;const{scrollZoom=!0,dragPan=!0,dragRotate=!0,doubleClickZoom=!0,touchZoom=!0,touchRotate=!1,keyboard=!0}=props,isInteractive=Boolean(this.onViewStateChange);this.toggleEvents(EVENT_TYPES_WHEEL,isInteractive&&scrollZoom),this.toggleEvents(EVENT_TYPES_PAN,isInteractive&&(dragPan||dragRotate)),this.toggleEvents(EVENT_TYPES_PINCH,isInteractive&&(touchZoom||touchRotate)),this.toggleEvents(EVENT_TYPES_TRIPLE_PAN,isInteractive&&touchRotate),this.toggleEvents(EVENT_TYPES_DOUBLE_TAP,isInteractive&&doubleClickZoom),this.toggleEvents(EVENT_TYPES_KEYBOARD,isInteractive&&keyboard),this.scrollZoom=scrollZoom,this.dragPan=dragPan,this.dragRotate=dragRotate,this.doubleClickZoom=doubleClickZoom,this.touchZoom=touchZoom,this.touchRotate=touchRotate,this.keyboard=keyboard}updateTransition(){this.transitionManager.updateTransition()}toggleEvents(eventNames,enabled){this.eventManager&&eventNames.forEach((eventName=>{this._events[eventName]!==enabled&&(this._events[eventName]=enabled,enabled?this.eventManager.on(eventName,this.handleEvent):this.eventManager.off(eventName,this.handleEvent))}))}updateViewport(newControllerState,extraProps=null,interactionState={}){const viewState={...newControllerState.getViewportProps(),...extraProps},changed=this.controllerState!==newControllerState;if(this.state=newControllerState.getState(),this._setInteractionState(interactionState),changed){const oldViewState=this.controllerState&&this.controllerState.getViewportProps();this.onViewStateChange&&this.onViewStateChange({viewState,interactionState:this._interactionState,oldViewState})}}_onTransition(params){this.onViewStateChange({...params,interactionState:this._interactionState})}_setInteractionState(newStates){Object.assign(this._interactionState,newStates),this.onStateChange(this._interactionState)}_onPanStart(event){const pos=this.getCenter(event);if(!this.isPointInBounds(pos,event))return!1;let alternateMode=this.isFunctionKeyPressed(event)||event.rightButton||!1;(this.invertPan||"pan"===this.dragMode)&&(alternateMode=!alternateMode);const newControllerState=this.controllerState[alternateMode?"panStart":"rotateStart"]({pos});return this._panMove=alternateMode,this.updateViewport(newControllerState,NO_TRANSITION_PROPS,{isDragging:!0}),!0}_onPan(event){return!!this.isDragging()&&(this._panMove?this._onPanMove(event):this._onPanRotate(event))}_onPanEnd(event){return!!this.isDragging()&&(this._panMove?this._onPanMoveEnd(event):this._onPanRotateEnd(event))}_onPanMove(event){if(!this.dragPan)return!1;const pos=this.getCenter(event),newControllerState=this.controllerState.pan({pos});return this.updateViewport(newControllerState,NO_TRANSITION_PROPS,{isDragging:!0,isPanning:!0}),!0}_onPanMoveEnd(event){const{inertia}=this;if(this.dragPan&&inertia&&event.velocity){const pos=this.getCenter(event),endPos=[pos[0]+event.velocityX*inertia/2,pos[1]+event.velocityY*inertia/2],newControllerState=this.controllerState.pan({pos:endPos}).panEnd();this.updateViewport(newControllerState,{...this._getTransitionProps(),transitionDuration:inertia,transitionEasing:INERTIA_EASING},{isDragging:!1,isPanning:!0})}else{const newControllerState=this.controllerState.panEnd();this.updateViewport(newControllerState,null,{isDragging:!1,isPanning:!1})}return!0}_onPanRotate(event){if(!this.dragRotate)return!1;const pos=this.getCenter(event),newControllerState=this.controllerState.rotate({pos});return this.updateViewport(newControllerState,NO_TRANSITION_PROPS,{isDragging:!0,isRotating:!0}),!0}_onPanRotateEnd(event){const{inertia}=this;if(this.dragRotate&&inertia&&event.velocity){const pos=this.getCenter(event),endPos=[pos[0]+event.velocityX*inertia/2,pos[1]+event.velocityY*inertia/2],newControllerState=this.controllerState.rotate({pos:endPos}).rotateEnd();this.updateViewport(newControllerState,{...this._getTransitionProps(),transitionDuration:inertia,transitionEasing:INERTIA_EASING},{isDragging:!1,isRotating:!0})}else{const newControllerState=this.controllerState.rotateEnd();this.updateViewport(newControllerState,null,{isDragging:!1,isRotating:!1})}return!0}_onWheel(event){if(!this.scrollZoom)return!1;event.srcEvent.preventDefault();const pos=this.getCenter(event);if(!this.isPointInBounds(pos,event))return!1;const{speed=.01,smooth=!1}=!0===this.scrollZoom?{}:this.scrollZoom,{delta}=event;let scale=2/(1+Math.exp(-Math.abs(delta*speed)));delta<0&&0!==scale&&(scale=1/scale);const newControllerState=this.controllerState.zoom({pos,scale});return this.updateViewport(newControllerState,{...this._getTransitionProps({around:pos}),transitionDuration:smooth?250:1},{isZooming:!0,isPanning:!0}),!0}_onTriplePanStart(event){const pos=this.getCenter(event);if(!this.isPointInBounds(pos,event))return!1;const newControllerState=this.controllerState.rotateStart({pos});return this.updateViewport(newControllerState,NO_TRANSITION_PROPS,{isDragging:!0}),!0}_onTriplePan(event){if(!this.touchRotate)return!1;if(!this.isDragging())return!1;const pos=this.getCenter(event);pos[0]-=event.deltaX;const newControllerState=this.controllerState.rotate({pos});return this.updateViewport(newControllerState,NO_TRANSITION_PROPS,{isDragging:!0,isRotating:!0}),!0}_onTriplePanEnd(event){if(!this.isDragging())return!1;const{inertia}=this;if(this.touchRotate&&inertia&&event.velocityY){const pos=this.getCenter(event),endPos=[pos[0],pos[1]+=event.velocityY*inertia/2],newControllerState=this.controllerState.rotate({pos:endPos});this.updateViewport(newControllerState,{...this._getTransitionProps(),transitionDuration:inertia,transitionEasing:INERTIA_EASING},{isDragging:!1,isRotating:!0}),this.blockEvents(inertia)}else{const newControllerState=this.controllerState.rotateEnd();this.updateViewport(newControllerState,null,{isDragging:!1,isRotating:!1})}return!0}_onPinchStart(event){const pos=this.getCenter(event);if(!this.isPointInBounds(pos,event))return!1;const newControllerState=this.controllerState.zoomStart({pos}).rotateStart({pos});return pinchEventWorkaround._startPinchRotation=event.rotation,pinchEventWorkaround._lastPinchEvent=event,this.updateViewport(newControllerState,NO_TRANSITION_PROPS,{isDragging:!0}),!0}_onPinch(event){if(!this.touchZoom&&!this.touchRotate)return!1;if(!this.isDragging())return!1;let newControllerState=this.controllerState;if(this.touchZoom){const{scale}=event,pos=this.getCenter(event);newControllerState=newControllerState.zoom({pos,scale})}if(this.touchRotate){const{rotation}=event;newControllerState=newControllerState.rotate({deltaAngleX:pinchEventWorkaround._startPinchRotation-rotation})}return this.updateViewport(newControllerState,NO_TRANSITION_PROPS,{isDragging:!0,isPanning:this.touchZoom,isZooming:this.touchZoom,isRotating:this.touchRotate}),pinchEventWorkaround._lastPinchEvent=event,!0}_onPinchEnd(event){if(!this.isDragging())return!1;const{inertia}=this,{_lastPinchEvent}=pinchEventWorkaround;if(this.touchZoom&&inertia&&_lastPinchEvent&&event.scale!==_lastPinchEvent.scale){const pos=this.getCenter(event);let newControllerState=this.controllerState.rotateEnd();const z=Math.log2(event.scale),velocityZ=(z-Math.log2(_lastPinchEvent.scale))/(event.deltaTime-_lastPinchEvent.deltaTime),endScale=Math.pow(2,z+velocityZ*inertia/2);newControllerState=newControllerState.zoom({pos,scale:endScale}).zoomEnd(),this.updateViewport(newControllerState,{...this._getTransitionProps({around:pos}),transitionDuration:inertia,transitionEasing:INERTIA_EASING},{isDragging:!1,isPanning:this.touchZoom,isZooming:this.touchZoom,isRotating:!1}),this.blockEvents(inertia)}else{const newControllerState=this.controllerState.zoomEnd().rotateEnd();this.updateViewport(newControllerState,null,{isDragging:!1,isPanning:!1,isZooming:!1,isRotating:!1})}return pinchEventWorkaround._startPinchRotation=null,pinchEventWorkaround._lastPinchEvent=null,!0}_onDoubleTap(event){if(!this.doubleClickZoom)return!1;const pos=this.getCenter(event);if(!this.isPointInBounds(pos,event))return!1;const isZoomOut=this.isFunctionKeyPressed(event),newControllerState=this.controllerState.zoom({pos,scale:isZoomOut?.5:2});return this.updateViewport(newControllerState,this._getTransitionProps({around:pos}),{isZooming:!0,isPanning:!0}),this.blockEvents(100),!0}_onKeyDown(event){if(!this.keyboard)return!1;const funcKey=this.isFunctionKeyPressed(event),{zoomSpeed,moveSpeed,rotateSpeedX,rotateSpeedY}=!0===this.keyboard?{}:this.keyboard,{controllerState}=this;let newControllerState;const interactionState={};switch(event.srcEvent.code){case"Minus":newControllerState=funcKey?controllerState.zoomOut(zoomSpeed).zoomOut(zoomSpeed):controllerState.zoomOut(zoomSpeed),interactionState.isZooming=!0;break;case"Equal":newControllerState=funcKey?controllerState.zoomIn(zoomSpeed).zoomIn(zoomSpeed):controllerState.zoomIn(zoomSpeed),interactionState.isZooming=!0;break;case"ArrowLeft":funcKey?(newControllerState=controllerState.rotateLeft(rotateSpeedX),interactionState.isRotating=!0):(newControllerState=controllerState.moveLeft(moveSpeed),interactionState.isPanning=!0);break;case"ArrowRight":funcKey?(newControllerState=controllerState.rotateRight(rotateSpeedX),interactionState.isRotating=!0):(newControllerState=controllerState.moveRight(moveSpeed),interactionState.isPanning=!0);break;case"ArrowUp":funcKey?(newControllerState=controllerState.rotateUp(rotateSpeedY),interactionState.isRotating=!0):(newControllerState=controllerState.moveUp(moveSpeed),interactionState.isPanning=!0);break;case"ArrowDown":funcKey?(newControllerState=controllerState.rotateDown(rotateSpeedY),interactionState.isRotating=!0):(newControllerState=controllerState.moveDown(moveSpeed),interactionState.isPanning=!0);break;default:return!1}return this.updateViewport(newControllerState,this._getTransitionProps(),interactionState),!0}_getTransitionProps(opts){const{transition}=this;return transition&&transition.transitionInterpolator?opts?{...transition,transitionInterpolator:new LinearInterpolator({...opts,...transition.transitionInterpolator.opts,makeViewport:this.controllerState.makeViewport})}:transition:NO_TRANSITION_PROPS}}class ViewState{constructor(props,state){(0,defineProperty.c)(this,"_viewportProps",void 0),(0,defineProperty.c)(this,"_state",void 0),this._viewportProps=this.applyConstraints(props),this._state=state}getViewportProps(){return this._viewportProps}getState(){return this._state}}var dist_esm=__webpack_require__("./node_modules/@math.gl/web-mercator/dist/esm/index.js");class MapState extends ViewState{constructor(options){const{width,height,latitude,longitude,zoom,bearing=0,pitch=0,altitude=1.5,position=[0,0,0],maxZoom=20,minZoom=0,maxPitch=60,minPitch=0,startPanLngLat,startZoomLngLat,startRotatePos,startBearing,startPitch,startZoom,normalize=!0}=options;(0,assert.c)(Number.isFinite(longitude)),(0,assert.c)(Number.isFinite(latitude)),(0,assert.c)(Number.isFinite(zoom)),super({width,height,latitude,longitude,zoom,bearing,pitch,altitude,maxZoom,minZoom,maxPitch,minPitch,normalize,position},{startPanLngLat,startZoomLngLat,startRotatePos,startBearing,startPitch,startZoom}),(0,defineProperty.c)(this,"makeViewport",void 0),this.makeViewport=options.makeViewport}panStart({pos}){return this._getUpdatedState({startPanLngLat:this._unproject(pos)})}pan({pos,startPos}){const startPanLngLat=this.getState().startPanLngLat||this._unproject(startPos);if(!startPanLngLat)return this;const newProps=this.makeViewport(this.getViewportProps()).panByPosition(startPanLngLat,pos);return this._getUpdatedState(newProps)}panEnd(){return this._getUpdatedState({startPanLngLat:null})}rotateStart({pos}){return this._getUpdatedState({startRotatePos:pos,startBearing:this.getViewportProps().bearing,startPitch:this.getViewportProps().pitch})}rotate({pos,deltaAngleX=0,deltaAngleY=0}){const{startRotatePos,startBearing,startPitch}=this.getState();if(!startRotatePos||void 0===startBearing||void 0===startPitch)return this;let newRotation;return newRotation=pos?this._getNewRotation(pos,startRotatePos,startPitch,startBearing):{bearing:startBearing+deltaAngleX,pitch:startPitch+deltaAngleY},this._getUpdatedState(newRotation)}rotateEnd(){return this._getUpdatedState({startBearing:null,startPitch:null})}zoomStart({pos}){return this._getUpdatedState({startZoomLngLat:this._unproject(pos),startZoom:this.getViewportProps().zoom})}zoom({pos,startPos,scale}){let{startZoom,startZoomLngLat}=this.getState();if(startZoomLngLat||(startZoom=this.getViewportProps().zoom,startZoomLngLat=this._unproject(startPos)||this._unproject(pos)),!startZoomLngLat)return this;const{maxZoom,minZoom}=this.getViewportProps();let zoom=startZoom+Math.log2(scale);zoom=(0,common.qk)(zoom,minZoom,maxZoom);const zoomedViewport=this.makeViewport({...this.getViewportProps(),zoom});return this._getUpdatedState({zoom,...zoomedViewport.panByPosition(startZoomLngLat,pos)})}zoomEnd(){return this._getUpdatedState({startZoomLngLat:null,startZoom:null})}zoomIn(speed=2){return this._zoomFromCenter(speed)}zoomOut(speed=2){return this._zoomFromCenter(1/speed)}moveLeft(speed=100){return this._panFromCenter([speed,0])}moveRight(speed=100){return this._panFromCenter([-speed,0])}moveUp(speed=100){return this._panFromCenter([0,speed])}moveDown(speed=100){return this._panFromCenter([0,-speed])}rotateLeft(speed=15){return this._getUpdatedState({bearing:this.getViewportProps().bearing-speed})}rotateRight(speed=15){return this._getUpdatedState({bearing:this.getViewportProps().bearing+speed})}rotateUp(speed=10){return this._getUpdatedState({pitch:this.getViewportProps().pitch+speed})}rotateDown(speed=10){return this._getUpdatedState({pitch:this.getViewportProps().pitch-speed})}shortestPathFrom(viewState){const fromProps=viewState.getViewportProps(),props={...this.getViewportProps()},{bearing,longitude}=props;return Math.abs(bearing-fromProps.bearing)>180&&(props.bearing=bearing<0?bearing+360:bearing-360),Math.abs(longitude-fromProps.longitude)>180&&(props.longitude=longitude<0?longitude+360:longitude-360),props}applyConstraints(props){const{maxZoom,minZoom,zoom}=props;props.zoom=(0,common.qk)(zoom,minZoom,maxZoom);const{maxPitch,minPitch,pitch}=props;props.pitch=(0,common.qk)(pitch,minPitch,maxPitch);const{normalize=!0}=props;return normalize&&Object.assign(props,(0,dist_esm.sF)(props)),props}_zoomFromCenter(scale){const{width,height}=this.getViewportProps();return this.zoom({pos:[width/2,height/2],scale})}_panFromCenter(offset){const{width,height}=this.getViewportProps();return this.pan({startPos:[width/2,height/2],pos:[width/2+offset[0],height/2+offset[1]]})}_getUpdatedState(newProps){return new this.constructor({makeViewport:this.makeViewport,...this.getViewportProps(),...this.getState(),...newProps})}_unproject(pos){const viewport=this.makeViewport(this.getViewportProps());return pos&&viewport.unproject(pos)}_getNewRotation(pos,startPos,startPitch,startBearing){const deltaX=pos[0]-startPos[0],deltaY=pos[1]-startPos[1],centerY=pos[1],startY=startPos[1],{width,height}=this.getViewportProps(),deltaScaleX=deltaX/width;let deltaScaleY=0;deltaY>0?Math.abs(height-startY)>5&&(deltaScaleY=deltaY/(startY-height)*1.2):deltaY<0&&startY>5&&(deltaScaleY=1-centerY/startY),deltaScaleY=(0,common.qk)(deltaScaleY,-1,1);const{minPitch,maxPitch}=this.getViewportProps();let pitch=startPitch;return deltaScaleY>0?pitch=startPitch+deltaScaleY*(maxPitch-startPitch):deltaScaleY<0&&(pitch=startPitch-deltaScaleY*(minPitch-startPitch)),{pitch,bearing:startBearing+180*deltaScaleX}}}class MapController extends Controller{constructor(...args){super(...args),(0,defineProperty.c)(this,"ControllerState",MapState),(0,defineProperty.c)(this,"transition",{transitionDuration:300,transitionInterpolator:new LinearInterpolator({transitionProps:{compare:["longitude","latitude","zoom","bearing","pitch","position"],required:["longitude","latitude","zoom"]}})}),(0,defineProperty.c)(this,"dragMode","pan")}setProps(props){props.position=props.position||[0,0,0];const oldProps=this.props;super.setProps(props);(!oldProps||oldProps.height!==props.height)&&this.updateViewport(new this.ControllerState({makeViewport:this.makeViewport,...props,...this.state}))}}class MapView extends View{get ViewportType(){return web_mercator_viewport.c}get ControllerType(){return MapController}}(0,defineProperty.c)(MapView,"displayName","MapView");var texture_2d=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-2d.js");const DEFAULT_LIGHT_COLOR=[255,255,255],DEFAULT_LIGHT_INTENSITY=1;let idCount=0;class AmbientLight{constructor(props={}){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"color",void 0),(0,defineProperty.c)(this,"intensity",void 0),(0,defineProperty.c)(this,"type","ambient");const{color=DEFAULT_LIGHT_COLOR}=props,{intensity=DEFAULT_LIGHT_INTENSITY}=props;this.id=props.id||"ambient-".concat(idCount++),this.color=color,this.intensity=intensity}}var vector3=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/vector3.js");const directional_light_DEFAULT_LIGHT_COLOR=[255,255,255],directional_light_DEFAULT_LIGHT_INTENSITY=1,DEFAULT_LIGHT_DIRECTION=[0,0,-1];let directional_light_idCount=0;class DirectionalLight{constructor(props={}){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"color",void 0),(0,defineProperty.c)(this,"intensity",void 0),(0,defineProperty.c)(this,"type","directional"),(0,defineProperty.c)(this,"direction",void 0),(0,defineProperty.c)(this,"shadow",void 0);const{color=directional_light_DEFAULT_LIGHT_COLOR}=props,{intensity=directional_light_DEFAULT_LIGHT_INTENSITY}=props,{direction=DEFAULT_LIGHT_DIRECTION}=props,{_shadow=!1}=props;this.id=props.id||"directional-".concat(directional_light_idCount++),this.color=color,this.intensity=intensity,this.type="directional",this.direction=new vector3.c(direction).normalize().toArray(),this.shadow=_shadow}getProjectedLight(opts){return this}}var matrix4=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/matrix4.js");class Pass{constructor(gl,props={id:"pass"}){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"props",void 0);const{id}=props;this.id=id,this.gl=gl,this.props={...props}}setProps(props){Object.assign(this.props,props)}render(params){}cleanup(){}}var gltools_dist_esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),clear=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/clear.js");class LayersPass extends Pass{render(options){const gl=this.gl;return(0,gltools_dist_esm.Gm)(gl,{framebuffer:options.target}),this._drawLayers(options)}_drawLayers(options){const{target,moduleParameters,viewports,views,onViewportActive,clearCanvas=!0}=options;options.pass=options.pass||"unknown";const gl=this.gl;clearCanvas&&function clearGLCanvas(gl){const width=gl.drawingBufferWidth,height=gl.drawingBufferHeight;(0,gltools_dist_esm.Gm)(gl,{viewport:[0,0,width,height]}),gl.clear(16640)}(gl);const renderStats=[];for(const viewport of viewports){const view=views&&views[viewport.id];onViewportActive(viewport);const drawLayerParams=this._getDrawLayerParams(viewport,options),subViewports=viewport.subViewports||[viewport];for(const subViewport of subViewports){const stats=this._drawLayersInViewport(gl,{target,moduleParameters,viewport:subViewport,view,pass:options.pass,layers:options.layers},drawLayerParams);renderStats.push(stats)}}return renderStats}_getDrawLayerParams(viewport,{layers,pass,layerFilter,cullRect,effects,moduleParameters}){const drawLayerParams=[],indexResolver=layerIndexResolver(),drawContext={layer:layers[0],viewport,isPicking:pass.startsWith("picking"),renderPass:pass,cullRect},layerFilterCache={};for(let layerIndex=0;layerIndex<layers.length;layerIndex++){const layer=layers[layerIndex],shouldDrawLayer=this._shouldDrawLayer(layer,drawContext,layerFilter,layerFilterCache),layerParam={shouldDrawLayer};shouldDrawLayer&&(layerParam.layerRenderIndex=indexResolver(layer,shouldDrawLayer),layerParam.moduleParameters=this._getModuleParameters(layer,effects,pass,moduleParameters),layerParam.layerParameters=this.getLayerParameters(layer,layerIndex,viewport)),drawLayerParams[layerIndex]=layerParam}return drawLayerParams}_drawLayersInViewport(gl,{layers,moduleParameters:globalModuleParameters,pass,target,viewport,view},drawLayerParams){const glViewport=function getGLViewport(gl,{moduleParameters,target,viewport}){const useTarget=target&&"default-framebuffer"!==target.id,pixelRatio=moduleParameters&&moduleParameters.devicePixelRatio||(0,gltools_dist_esm.cb)(gl),height=useTarget?target.height:gl.drawingBufferHeight,dimensions=viewport;return[dimensions.x*pixelRatio,height-(dimensions.y+dimensions.height)*pixelRatio,dimensions.width*pixelRatio,dimensions.height*pixelRatio]}(gl,{moduleParameters:globalModuleParameters,target,viewport});if(view&&view.props.clear){const clearOpts=!0===view.props.clear?{color:!0,depth:!0}:view.props.clear;(0,gltools_dist_esm.Qx)(gl,{scissorTest:!0,scissor:glViewport},(()=>(0,clear.W)(gl,clearOpts)))}const renderStatus={totalCount:layers.length,visibleCount:0,compositeCount:0,pickableCount:0};(0,gltools_dist_esm.Gm)(gl,{viewport:glViewport});for(let layerIndex=0;layerIndex<layers.length;layerIndex++){const layer=layers[layerIndex],{shouldDrawLayer,layerRenderIndex,moduleParameters,layerParameters}=drawLayerParams[layerIndex];if(shouldDrawLayer&&layer.props.pickable&&renderStatus.pickableCount++,layer.isComposite)renderStatus.compositeCount++;else if(shouldDrawLayer){renderStatus.visibleCount++,moduleParameters.viewport=viewport;try{layer._drawLayer({moduleParameters,uniforms:{layerIndex:layerRenderIndex},parameters:layerParameters})}catch(err){layer.raiseError(err,"drawing ".concat(layer," to ").concat(pass))}}}return renderStatus}shouldDrawLayer(layer){return!0}getModuleParameters(layer,effects){return null}getLayerParameters(layer,layerIndex,viewport){return layer.props.parameters}_shouldDrawLayer(layer,drawContext,layerFilter,layerFilterCache){if(!(layer.props.visible&&this.shouldDrawLayer(layer)))return!1;drawContext.layer=layer;let parent=layer.parent;for(;parent;){if(!parent.props.visible||!parent.filterSubLayer(drawContext))return!1;drawContext.layer=parent,parent=parent.parent}if(layerFilter){const rootLayerId=drawContext.layer.id;if(rootLayerId in layerFilterCache||(layerFilterCache[rootLayerId]=layerFilter(drawContext)),!layerFilterCache[rootLayerId])return!1}return layer.activateViewport(drawContext.viewport),!0}_getModuleParameters(layer,effects,pass,overrides){var _layer$internalState;const moduleParameters=Object.assign(Object.create((null===(_layer$internalState=layer.internalState)||void 0===_layer$internalState?void 0:_layer$internalState.propsInTransition)||layer.props),{autoWrapLongitude:layer.wrapLongitude,viewport:layer.context.viewport,mousePosition:layer.context.mousePosition,pickingActive:0,devicePixelRatio:(0,gltools_dist_esm.cb)(this.gl)});if(effects)for(const effect of effects){var _effect$getModulePara;Object.assign(moduleParameters,null===(_effect$getModulePara=effect.getModuleParameters)||void 0===_effect$getModulePara?void 0:_effect$getModulePara.call(effect,layer))}return Object.assign(moduleParameters,this.getModuleParameters(layer,effects),overrides)}}function layerIndexResolver(startIndex=0,layerIndices={}){const resolvers={},resolveLayerIndex=(layer,isDrawn)=>{const indexOverride=layer.props._offset,layerId=layer.id,parentId=layer.parent&&layer.parent.id;let index;if(parentId&&!(parentId in layerIndices)&&resolveLayerIndex(layer.parent,!1),parentId in resolvers){const resolver=resolvers[parentId]=resolvers[parentId]||layerIndexResolver(layerIndices[parentId],layerIndices);index=resolver(layer,isDrawn),resolvers[layerId]=resolver}else Number.isFinite(indexOverride)?(index=indexOverride+(layerIndices[parentId]||0),resolvers[layerId]=null):index=startIndex;return isDrawn&&index>=startIndex&&(startIndex=index+1),layerIndices[layerId]=index,index};return resolveLayerIndex}var renderbuffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/renderbuffer.js"),framebuffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/framebuffer.js");class ShadowPass extends LayersPass{constructor(gl,props){super(gl,props),(0,defineProperty.c)(this,"shadowMap",void 0),(0,defineProperty.c)(this,"depthBuffer",void 0),(0,defineProperty.c)(this,"fbo",void 0),this.shadowMap=new texture_2d.c(gl,{width:1,height:1,parameters:{10241:9729,10240:9729,10242:33071,10243:33071}}),this.depthBuffer=new renderbuffer.c(gl,{format:33189,width:1,height:1}),this.fbo=new framebuffer.M(gl,{id:"shadowmap",width:1,height:1,attachments:{36064:this.shadowMap,36096:this.depthBuffer}})}render(params){const target=this.fbo;(0,gltools_dist_esm.Qx)(this.gl,{depthRange:[0,1],depthTest:!0,blend:!1,clearColor:[1,1,1,1]},(()=>{const viewport=params.viewports[0],pixelRatio=(0,gltools_dist_esm.cb)(this.gl),width=viewport.width*pixelRatio,height=viewport.height*pixelRatio;width===target.width&&height===target.height||target.resize({width,height}),super.render({...params,target,pass:"shadow"})}))}shouldDrawLayer(layer){return!1!==layer.props.shadowEnabled}getModuleParameters(){return{drawToShadowMap:!0}}delete(){this.fbo&&(this.fbo.delete(),this.fbo=null),this.shadowMap&&(this.shadowMap.delete(),this.shadowMap=null),this.depthBuffer&&(this.depthBuffer.delete(),this.depthBuffer=null)}}var lib_constants=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/constants.js"),memoize=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/memoize.js");const getMemoizedViewportCenterPosition=(0,memoize.c)((function getViewportCenterPosition({viewport,center}){return new matrix4.c(viewport.viewProjectionMatrix).invert().transform(center)})),getMemoizedViewProjectionMatrices=(0,memoize.c)((function getViewProjectionMatrices({viewport,shadowMatrices}){const projectionMatrices=[],pixelUnprojectionMatrix=viewport.pixelUnprojectionMatrix,farZ=viewport.isGeospatial?void 0:1,corners=[[0,0,farZ],[viewport.width,0,farZ],[0,viewport.height,farZ],[viewport.width,viewport.height,farZ],[0,0,-1],[viewport.width,0,-1],[0,viewport.height,-1],[viewport.width,viewport.height,-1]].map((pixel=>function screenToCommonSpace(xyz,pixelUnprojectionMatrix){const[x,y,z]=xyz,coord=(0,dist_esm.Yp)([x,y,z],pixelUnprojectionMatrix);if(Number.isFinite(z))return coord;return[coord[0],coord[1],0]}(pixel,pixelUnprojectionMatrix)));for(const shadowMatrix of shadowMatrices){const viewMatrix=shadowMatrix.clone().translate(new vector3.c(viewport.center).negate()),positions=corners.map((corner=>viewMatrix.transform(corner))),projectionMatrix=(new matrix4.c).ortho({left:Math.min(...positions.map((position=>position[0]))),right:Math.max(...positions.map((position=>position[0]))),bottom:Math.min(...positions.map((position=>position[1]))),top:Math.max(...positions.map((position=>position[1]))),near:Math.min(...positions.map((position=>-position[2]))),far:Math.max(...positions.map((position=>-position[2])))});projectionMatrices.push(projectionMatrix.multiplyRight(shadowMatrix))}return projectionMatrices})),DEFAULT_SHADOW_COLOR=[0,0,0,1],VECTOR_TO_POINT_MATRIX=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0];const shadow={name:"shadow",dependencies:[project.c],vs:"\nconst int max_lights = 2;\nuniform mat4 shadow_uViewProjectionMatrices[max_lights];\nuniform vec4 shadow_uProjectCenters[max_lights];\nuniform bool shadow_uDrawShadowMap;\nuniform bool shadow_uUseShadowMap;\nuniform int shadow_uLightId;\nuniform float shadow_uLightCount;\n\nvarying vec3 shadow_vPosition[max_lights];\n\nvec4 shadow_setVertexPosition(vec4 position_commonspace) {\n if (shadow_uDrawShadowMap) {\n return project_common_position_to_clipspace(position_commonspace, shadow_uViewProjectionMatrices[shadow_uLightId], shadow_uProjectCenters[shadow_uLightId]);\n }\n if (shadow_uUseShadowMap) {\n for (int i = 0; i < max_lights; i++) {\n if(i < int(shadow_uLightCount)) {\n vec4 shadowMap_position = project_common_position_to_clipspace(position_commonspace, shadow_uViewProjectionMatrices[i], shadow_uProjectCenters[i]);\n shadow_vPosition[i] = (shadowMap_position.xyz / shadowMap_position.w + 1.0) / 2.0;\n }\n }\n }\n return gl_Position;\n}\n",fs:"\nconst int max_lights = 2;\nuniform bool shadow_uDrawShadowMap;\nuniform bool shadow_uUseShadowMap;\nuniform sampler2D shadow_uShadowMap0;\nuniform sampler2D shadow_uShadowMap1;\nuniform vec4 shadow_uColor;\nuniform float shadow_uLightCount;\n\nvarying vec3 shadow_vPosition[max_lights];\n\nconst vec4 bitPackShift = vec4(1.0, 255.0, 65025.0, 16581375.0);\nconst vec4 bitUnpackShift = 1.0 / bitPackShift;\nconst vec4 bitMask = vec4(1.0 / 255.0, 1.0 / 255.0, 1.0 / 255.0, 0.0);\n\nfloat shadow_getShadowWeight(vec3 position, sampler2D shadowMap) {\n vec4 rgbaDepth = texture2D(shadowMap, position.xy);\n\n float z = dot(rgbaDepth, bitUnpackShift);\n return smoothstep(0.001, 0.01, position.z - z);\n}\n\nvec4 shadow_filterShadowColor(vec4 color) {\n if (shadow_uDrawShadowMap) {\n vec4 rgbaDepth = fract(gl_FragCoord.z * bitPackShift);\n rgbaDepth -= rgbaDepth.gbaa * bitMask;\n return rgbaDepth;\n }\n if (shadow_uUseShadowMap) {\n float shadowAlpha = 0.0;\n shadowAlpha += shadow_getShadowWeight(shadow_vPosition[0], shadow_uShadowMap0);\n if(shadow_uLightCount > 1.0) {\n shadowAlpha += shadow_getShadowWeight(shadow_vPosition[1], shadow_uShadowMap1);\n }\n shadowAlpha *= shadow_uColor.a / shadow_uLightCount;\n float blendedAlpha = shadowAlpha + color.a * (1.0 - shadowAlpha);\n\n return vec4(\n mix(color.rgb, shadow_uColor.rgb, shadowAlpha / blendedAlpha),\n blendedAlpha\n );\n }\n return color;\n}\n",inject:{"vs:DECKGL_FILTER_GL_POSITION":"\n position = shadow_setVertexPosition(geometry.position);\n ","fs:DECKGL_FILTER_COLOR":"\n color = shadow_filterShadowColor(color);\n "},getUniforms:(opts={},context={})=>"viewport"in opts&&(opts.drawToShadowMap||opts.shadowMaps&&opts.shadowMaps.length>0)?function createShadowUniforms(opts,context){const{shadowEnabled=!0}=opts;if(!shadowEnabled||!opts.shadowMatrices||!opts.shadowMatrices.length)return{shadow_uDrawShadowMap:!1,shadow_uUseShadowMap:!1};const uniforms={shadow_uDrawShadowMap:Boolean(opts.drawToShadowMap),shadow_uUseShadowMap:!!opts.shadowMaps&&opts.shadowMaps.length>0,shadow_uColor:opts.shadowColor||DEFAULT_SHADOW_COLOR,shadow_uLightId:opts.shadowLightId||0,shadow_uLightCount:opts.shadowMatrices.length},center=getMemoizedViewportCenterPosition({viewport:opts.viewport,center:context.project_uCenter}),projectCenters=[],viewProjectionMatrices=getMemoizedViewProjectionMatrices({shadowMatrices:opts.shadowMatrices,viewport:opts.viewport}).slice();for(let i=0;i<opts.shadowMatrices.length;i++){const viewProjectionMatrix=viewProjectionMatrices[i],viewProjectionMatrixCentered=viewProjectionMatrix.clone().translate(new vector3.c(opts.viewport.center).negate());context.project_uCoordinateSystem===lib_constants.COORDINATE_SYSTEM.LNGLAT&&context.project_uProjectionMode===lib_constants.Yt.WEB_MERCATOR?(viewProjectionMatrices[i]=viewProjectionMatrixCentered,projectCenters[i]=center):(viewProjectionMatrices[i]=viewProjectionMatrix.clone().multiplyRight(VECTOR_TO_POINT_MATRIX),projectCenters[i]=viewProjectionMatrixCentered.transform(center))}for(let i=0;i<viewProjectionMatrices.length;i++)uniforms["shadow_uViewProjectionMatrices[".concat(i,"]")]=viewProjectionMatrices[i],uniforms["shadow_uProjectCenters[".concat(i,"]")]=projectCenters[i],opts.shadowMaps&&opts.shadowMaps.length>0?uniforms["shadow_uShadowMap".concat(i)]=opts.shadowMaps[i]:uniforms["shadow_uShadowMap".concat(i)]=opts.dummyShadowMap;return uniforms}(opts,context):{}},DEFAULT_AMBIENT_LIGHT_PROPS={color:[255,255,255],intensity:1},DEFAULT_DIRECTIONAL_LIGHT_PROPS=[{color:[255,255,255],intensity:1,direction:[-1,3,-1]},{color:[255,255,255],intensity:.9,direction:[1,-8,-2.5]}],lighting_effect_DEFAULT_SHADOW_COLOR=[0,0,0,200/255];class LightingEffect{constructor(props={}){(0,defineProperty.c)(this,"id","lighting-effect"),(0,defineProperty.c)(this,"props",null),(0,defineProperty.c)(this,"shadowColor",lighting_effect_DEFAULT_SHADOW_COLOR),(0,defineProperty.c)(this,"shadow",void 0),(0,defineProperty.c)(this,"ambientLight",null),(0,defineProperty.c)(this,"directionalLights",[]),(0,defineProperty.c)(this,"pointLights",[]),(0,defineProperty.c)(this,"shadowPasses",[]),(0,defineProperty.c)(this,"shadowMaps",[]),(0,defineProperty.c)(this,"dummyShadowMap",null),(0,defineProperty.c)(this,"programManager",void 0),(0,defineProperty.c)(this,"shadowMatrices",void 0);for(const key in props){const lightSource=props[key];switch(lightSource.type){case"ambient":this.ambientLight=lightSource;break;case"directional":this.directionalLights.push(lightSource);break;case"point":this.pointLights.push(lightSource)}}this._applyDefaultLights(),this.shadow=this.directionalLights.some((light=>light.shadow))}preRender(gl,{layers,layerFilter,viewports,onViewportActive,views}){if(this.shadow){this.shadowMatrices=this._calculateMatrices(),0===this.shadowPasses.length&&this._createShadowPasses(gl),this.programManager||(this.programManager=program_manager.c.getDefaultProgramManager(gl),shadow&&this.programManager.addDefaultModule(shadow)),this.dummyShadowMap||(this.dummyShadowMap=new texture_2d.c(gl,{width:1,height:1}));for(let i=0;i<this.shadowPasses.length;i++){this.shadowPasses[i].render({layers,layerFilter,viewports,onViewportActive,views,moduleParameters:{shadowLightId:i,dummyShadowMap:this.dummyShadowMap,shadowMatrices:this.shadowMatrices}})}}}getModuleParameters(layer){const parameters=this.shadow?{shadowMaps:this.shadowMaps,dummyShadowMap:this.dummyShadowMap,shadowColor:this.shadowColor,shadowMatrices:this.shadowMatrices}:{};return parameters.lightSources={ambientLight:this.ambientLight,directionalLights:this.directionalLights.map((directionalLight=>directionalLight.getProjectedLight({layer}))),pointLights:this.pointLights.map((pointLight=>pointLight.getProjectedLight({layer})))},parameters}cleanup(){for(const shadowPass of this.shadowPasses)shadowPass.delete();this.shadowPasses.length=0,this.shadowMaps.length=0,this.dummyShadowMap&&(this.dummyShadowMap.delete(),this.dummyShadowMap=null),this.shadow&&this.programManager&&(this.programManager.removeDefaultModule(shadow),this.programManager=null)}_calculateMatrices(){const lightMatrices=[];for(const light of this.directionalLights){const viewMatrix=(new matrix4.c).lookAt({eye:new vector3.c(light.direction).negate()});lightMatrices.push(viewMatrix)}return lightMatrices}_createShadowPasses(gl){for(let i=0;i<this.directionalLights.length;i++){const shadowPass=new ShadowPass(gl);this.shadowPasses[i]=shadowPass,this.shadowMaps[i]=shadowPass.shadowMap}}_applyDefaultLights(){const{ambientLight,pointLights,directionalLights}=this;ambientLight||0!==pointLights.length||0!==directionalLights.length||(this.ambientLight=new AmbientLight(DEFAULT_AMBIENT_LIGHT_PROPS),this.directionalLights.push(new DirectionalLight(DEFAULT_DIRECTIONAL_LIGHT_PROPS[0]),new DirectionalLight(DEFAULT_DIRECTIONAL_LIGHT_PROPS[1])))}}class MaskPass extends LayersPass{constructor(gl,props){super(gl,props),(0,defineProperty.c)(this,"maskMap",void 0),(0,defineProperty.c)(this,"fbo",void 0);const{mapSize=2048}=props;this.maskMap=new texture_2d.c(gl,{width:mapSize,height:mapSize,parameters:{10241:9729,10240:9729,10242:33071,10243:33071}}),this.fbo=new framebuffer.M(gl,{id:"maskmap",width:mapSize,height:mapSize,attachments:{36064:this.maskMap}})}render(options){const gl=this.gl,colorMask=[!1,!1,!1,!1];return colorMask[options.channel]=!0,(0,gltools_dist_esm.Qx)(gl,{clearColor:[255,255,255,255],blend:!0,blendFunc:[0,1],blendEquation:32778,colorMask,depthTest:!1},(()=>super.render({...options,target:this.fbo,pass:"mask"})))}shouldDrawLayer(layer){return layer.props.operation===lib_constants.cd.MASK}delete(){this.fbo.delete(),this.maskMap.delete()}}var vec2=__webpack_require__("./node_modules/gl-matrix/esm/vec2.js");const viewMatrix=(new matrix4.c).lookAt({eye:[0,0,1]});function getProjectionMatrix({width,height,near,far,padding}){let left=-width/2,right=width/2,bottom=-height/2,top=height/2;if(padding){const{left:l=0,right:r=0,top:t=0,bottom:b=0}=padding,offsetX=(0,common.qk)((l+width-r)/2,0,width)-width/2,offsetY=(0,common.qk)((t+height-b)/2,0,height)-height/2;left-=offsetX,right-=offsetX,bottom+=offsetY,top+=offsetY}return(new matrix4.c).ortho({left,right,bottom,top,near,far})}class OrthographicViewport extends viewport.c{constructor(props){const{width,height,near=.1,far=1e3,zoom=0,target=[0,0,0],padding=null,flipY=!0}=props,zoomX=Array.isArray(zoom)?zoom[0]:zoom,zoomY=Array.isArray(zoom)?zoom[1]:zoom,zoom_=Math.min(zoomX,zoomY),scale=Math.pow(2,zoom_);let distanceScales;if(zoomX!==zoomY){const scaleX=Math.pow(2,zoomX),scaleY=Math.pow(2,zoomY);distanceScales={unitsPerMeter:[scaleX/scale,scaleY/scale,1],metersPerUnit:[scale/scaleX,scale/scaleY,1]}}super({...props,longitude:void 0,position:target,viewMatrix:viewMatrix.clone().scale([scale,scale*(flipY?-1:1),scale]),projectionMatrix:getProjectionMatrix({width:width||1,height:height||1,padding,near,far}),zoom:zoom_,distanceScales})}projectFlat([X,Y]){const{unitsPerMeter}=this.distanceScales;return[X*unitsPerMeter[0],Y*unitsPerMeter[1]]}unprojectFlat([x,y]){const{metersPerUnit}=this.distanceScales;return[x*metersPerUnit[0],y*metersPerUnit[1]]}panByPosition(coords,pixel){const fromLocation=(0,dist_esm.Yp)(pixel,this.pixelUnprojectionMatrix),toLocation=this.projectFlat(coords),translate=vec2.WQ([],toLocation,vec2.s7([],fromLocation)),newCenter=vec2.WQ([],this.center,translate);return{target:this.unprojectFlat(newCenter)}}}var math_utils=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/math-utils.js");class OrbitState extends ViewState{constructor(options){const{width,height,rotationX=0,rotationOrbit=0,target=[0,0,0],zoom=0,minRotationX=-90,maxRotationX=90,minZoom=-1/0,maxZoom=1/0,startPanPosition,startRotatePos,startRotationX,startRotationOrbit,startZoomPosition,startZoom}=options;super({width,height,rotationX,rotationOrbit,target,zoom,minRotationX,maxRotationX,minZoom,maxZoom},{startPanPosition,startRotatePos,startRotationX,startRotationOrbit,startZoomPosition,startZoom}),(0,defineProperty.c)(this,"makeViewport",void 0),this.makeViewport=options.makeViewport}panStart({pos}){return this._getUpdatedState({startPanPosition:this._unproject(pos)})}pan({pos,startPosition}){const startPanPosition=this.getState().startPanPosition||startPosition;if(!startPanPosition)return this;const newProps=this.makeViewport(this.getViewportProps()).panByPosition(startPanPosition,pos);return this._getUpdatedState(newProps)}panEnd(){return this._getUpdatedState({startPanPosition:null})}rotateStart({pos}){return this._getUpdatedState({startRotatePos:pos,startRotationX:this.getViewportProps().rotationX,startRotationOrbit:this.getViewportProps().rotationOrbit})}rotate({pos,deltaAngleX=0,deltaAngleY=0}){const{startRotatePos,startRotationX,startRotationOrbit}=this.getState(),{width,height}=this.getViewportProps();if(!startRotatePos||void 0===startRotationX||void 0===startRotationOrbit)return this;let newRotation;if(pos){let deltaScaleX=(pos[0]-startRotatePos[0])/width;(startRotationX<-90||startRotationX>90)&&(deltaScaleX*=-1),newRotation={rotationX:startRotationX+180*((pos[1]-startRotatePos[1])/height),rotationOrbit:startRotationOrbit+180*deltaScaleX}}else newRotation={rotationX:startRotationX+deltaAngleY,rotationOrbit:startRotationOrbit+deltaAngleX};return this._getUpdatedState(newRotation)}rotateEnd(){return this._getUpdatedState({startRotationX:null,startRotationOrbit:null})}shortestPathFrom(viewState){const fromProps=viewState.getViewportProps(),props={...this.getViewportProps()},{rotationOrbit}=props;return Math.abs(rotationOrbit-fromProps.rotationOrbit)>180&&(props.rotationOrbit=rotationOrbit<0?rotationOrbit+360:rotationOrbit-360),props}zoomStart({pos}){return this._getUpdatedState({startZoomPosition:this._unproject(pos),startZoom:this.getViewportProps().zoom})}zoom({pos,startPos,scale}){let{startZoom,startZoomPosition}=this.getState();if(startZoomPosition||(startZoom=this.getViewportProps().zoom,startZoomPosition=this._unproject(startPos)||this._unproject(pos)),!startZoomPosition)return this;const newZoom=this._calculateNewZoom({scale,startZoom}),zoomedViewport=this.makeViewport({...this.getViewportProps(),zoom:newZoom});return this._getUpdatedState({zoom:newZoom,...zoomedViewport.panByPosition(startZoomPosition,pos)})}zoomEnd(){return this._getUpdatedState({startZoomPosition:null,startZoom:null})}zoomIn(speed=2){return this._getUpdatedState({zoom:this._calculateNewZoom({scale:speed})})}zoomOut(speed=2){return this._getUpdatedState({zoom:this._calculateNewZoom({scale:1/speed})})}moveLeft(speed=50){return this._panFromCenter([-speed,0])}moveRight(speed=50){return this._panFromCenter([speed,0])}moveUp(speed=50){return this._panFromCenter([0,-speed])}moveDown(speed=50){return this._panFromCenter([0,speed])}rotateLeft(speed=15){return this._getUpdatedState({rotationOrbit:this.getViewportProps().rotationOrbit-speed})}rotateRight(speed=15){return this._getUpdatedState({rotationOrbit:this.getViewportProps().rotationOrbit+speed})}rotateUp(speed=10){return this._getUpdatedState({rotationX:this.getViewportProps().rotationX-speed})}rotateDown(speed=10){return this._getUpdatedState({rotationX:this.getViewportProps().rotationX+speed})}_unproject(pos){const viewport=this.makeViewport(this.getViewportProps());return pos&&viewport.unproject(pos)}_calculateNewZoom({scale,startZoom}){const{maxZoom,minZoom}=this.getViewportProps();void 0===startZoom&&(startZoom=this.getViewportProps().zoom);const zoom=startZoom+Math.log2(scale);return(0,common.qk)(zoom,minZoom,maxZoom)}_panFromCenter(offset){const{width,height,target}=this.getViewportProps();return this.pan({startPosition:target,pos:[width/2+offset[0],height/2+offset[1]]})}_getUpdatedState(newProps){return new this.constructor({makeViewport:this.makeViewport,...this.getViewportProps(),...this.getState(),...newProps})}applyConstraints(props){const{maxZoom,minZoom,zoom,maxRotationX,minRotationX,rotationOrbit}=props;return props.zoom=Array.isArray(zoom)?[(0,common.qk)(zoom[0],minZoom,maxZoom),(0,common.qk)(zoom[1],minZoom,maxZoom)]:(0,common.qk)(zoom,minZoom,maxZoom),props.rotationX=(0,common.qk)(props.rotationX,minRotationX,maxRotationX),(rotationOrbit<-180||rotationOrbit>180)&&(props.rotationOrbit=(0,math_utils.gX)(rotationOrbit+180,360)-180),props}}class OrthographicState extends OrbitState{constructor(props){super(props),(0,defineProperty.c)(this,"zoomAxis",void 0),this.zoomAxis=props.zoomAxis||"all"}_calculateNewZoom({scale,startZoom}){const{maxZoom,minZoom}=this.getViewportProps();void 0===startZoom&&(startZoom=this.getViewportProps().zoom);let deltaZoom=Math.log2(scale);if(Array.isArray(startZoom)){let[newZoomX,newZoomY]=startZoom;switch(this.zoomAxis){case"X":newZoomX=(0,common.qk)(newZoomX+deltaZoom,minZoom,maxZoom);break;case"Y":newZoomY=(0,common.qk)(newZoomY+deltaZoom,minZoom,maxZoom);break;default:let z=Math.min(newZoomX+deltaZoom,newZoomY+deltaZoom);z<minZoom&&(deltaZoom+=minZoom-z),z=Math.max(newZoomX+deltaZoom,newZoomY+deltaZoom),z>maxZoom&&(deltaZoom+=maxZoom-z),newZoomX+=deltaZoom,newZoomY+=deltaZoom}return[newZoomX,newZoomY]}return(0,common.qk)(startZoom+deltaZoom,minZoom,maxZoom)}}class OrthographicController extends Controller{constructor(...args){super(...args),(0,defineProperty.c)(this,"ControllerState",OrthographicState),(0,defineProperty.c)(this,"transition",{transitionDuration:300,transitionInterpolator:new LinearInterpolator(["target","zoom"])}),(0,defineProperty.c)(this,"dragMode","pan")}_onPanRotate(){return!1}}class OrthographicView extends View{get ViewportType(){return OrthographicViewport}get ControllerType(){return OrthographicController}}(0,defineProperty.c)(OrthographicView,"displayName","OrthographicView");class MaskEffect{constructor(){(0,defineProperty.c)(this,"id","mask-effect"),(0,defineProperty.c)(this,"props",null),(0,defineProperty.c)(this,"useInPicking",!0),(0,defineProperty.c)(this,"dummyMaskMap",void 0),(0,defineProperty.c)(this,"channels",[]),(0,defineProperty.c)(this,"masks",null),(0,defineProperty.c)(this,"maskPass",void 0),(0,defineProperty.c)(this,"maskMap",void 0),(0,defineProperty.c)(this,"lastViewport",void 0)}preRender(gl,{layers,layerFilter,viewports,onViewportActive,views}){this.dummyMaskMap||(this.dummyMaskMap=new texture_2d.c(gl,{width:1,height:1}));const maskLayers=layers.filter((l=>l.props.visible&&l.props.operation===lib_constants.cd.MASK));if(0===maskLayers.length)return this.masks=null,void(this.channels.length=0);this.masks={},this.maskPass||(this.maskPass=new MaskPass(gl,{id:"default-mask"}),this.maskMap=this.maskPass.maskMap);const channelMap=this._sortMaskChannels(maskLayers),viewport=viewports[0],viewportChanged=!this.lastViewport||!this.lastViewport.equals(viewport);for(const maskId in channelMap)this._renderChannel(channelMap[maskId],{layerFilter,onViewportActive,views,viewport,viewportChanged})}_renderChannel(channelInfo,{layerFilter,onViewportActive,views,viewport,viewportChanged}){const oldChannelInfo=this.channels[channelInfo.index];if(!oldChannelInfo)return;const maskChanged=channelInfo===oldChannelInfo||oldChannelInfo.layers.length!==channelInfo.layers.length||channelInfo.layerBounds.some(((b,i)=>b!==oldChannelInfo.layerBounds[i]));if(channelInfo.bounds=oldChannelInfo.bounds,channelInfo.maskBounds=oldChannelInfo.maskBounds,this.channels[channelInfo.index]=channelInfo,(maskChanged||viewportChanged)&&(this.lastViewport=viewport,channelInfo.bounds=function getMaskBounds({layers,viewport}){let bounds=null;for(const layer of layers){const subLayerBounds=layer.getBounds();subLayerBounds&&(bounds?(bounds[0]=Math.min(bounds[0],subLayerBounds[0][0]),bounds[1]=Math.min(bounds[1],subLayerBounds[0][1]),bounds[2]=Math.max(bounds[2],subLayerBounds[1][0]),bounds[3]=Math.max(bounds[3],subLayerBounds[1][1])):bounds=[subLayerBounds[0][0],subLayerBounds[0][1],subLayerBounds[1][0],subLayerBounds[1][1]])}const viewportBounds=viewport.getBounds();if(!bounds)return viewportBounds;const paddedBounds=function _doubleBounds(bounds){const size={x:bounds[2]-bounds[0],y:bounds[3]-bounds[1]},center={x:bounds[0]+.5*size.x,y:bounds[1]+.5*size.y};return[center.x-size.x,center.y-size.y,center.x+size.x,center.y+size.y]}(viewportBounds);return bounds[2]-bounds[0]<paddedBounds[2]-paddedBounds[0]||bounds[3]-bounds[1]<paddedBounds[3]-paddedBounds[1]||(bounds[0]=Math.max(bounds[0],paddedBounds[0]),bounds[1]=Math.max(bounds[1],paddedBounds[1]),bounds[2]=Math.min(bounds[2],paddedBounds[2]),bounds[3]=Math.min(bounds[3],paddedBounds[3])),bounds}({layers:channelInfo.layers,viewport}),maskChanged||!(0,common.yK)(channelInfo.bounds,oldChannelInfo.bounds))){const{maskPass,maskMap}=this,maskViewport=function getMaskViewport({bounds,viewport,width,height}){if(bounds[2]<=bounds[0]||bounds[3]<=bounds[1])return null;if(width-=2,height-=2,viewport instanceof web_mercator_viewport.c){const{longitude,latitude,zoom}=(0,dist_esm.kz)({width,height,bounds:[[bounds[0],bounds[1]],[bounds[2],bounds[3]]],maxZoom:20});return new web_mercator_viewport.c({longitude,latitude,zoom,x:1,y:1,width,height})}const center=[(bounds[0]+bounds[2])/2,(bounds[1]+bounds[3])/2,0],scale=Math.min(20,width/(bounds[2]-bounds[0]),height/(bounds[3]-bounds[1]));return new OrthographicView({x:1,y:1}).makeViewport({width,height,viewState:{target:center,zoom:Math.log2(scale)}})}({bounds:channelInfo.bounds,viewport,width:maskMap.width,height:maskMap.height});channelInfo.maskBounds=maskViewport?maskViewport.getBounds():[0,0,1,1],maskPass.render({pass:"mask",channel:channelInfo.index,layers:channelInfo.layers,layerFilter,viewports:maskViewport?[maskViewport]:[],onViewportActive,views,moduleParameters:{devicePixelRatio:1}})}this.masks[channelInfo.id]={index:channelInfo.index,bounds:channelInfo.maskBounds,coordinateOrigin:channelInfo.coordinateOrigin,coordinateSystem:channelInfo.coordinateSystem}}_sortMaskChannels(maskLayers){const channelMap={};let channelCount=0;for(const layer of maskLayers){const{id}=layer.root;let channelInfo=channelMap[id];if(!channelInfo){if(++channelCount>4){log.c.warn("Too many mask layers. The max supported is 4")();continue}channelInfo={id,index:this.channels.findIndex((c=>(null==c?void 0:c.id)===id)),layers:[],layerBounds:[],coordinateOrigin:layer.root.props.coordinateOrigin,coordinateSystem:layer.root.props.coordinateSystem},channelMap[id]=channelInfo}channelInfo.layers.push(layer),channelInfo.layerBounds.push(layer.getBounds())}for(let i=0;i<4;i++){const channelInfo=this.channels[i];channelInfo&&channelInfo.id in channelMap||(this.channels[i]=null)}for(const maskId in channelMap){const channelInfo=channelMap[maskId];channelInfo.index<0&&(channelInfo.index=this.channels.findIndex((c=>!c)),this.channels[channelInfo.index]=channelInfo)}return channelMap}getModuleParameters(){return{maskMap:this.masks?this.maskMap:this.dummyMaskMap,maskChannels:this.masks}}cleanup(){this.dummyMaskMap&&(this.dummyMaskMap.delete(),this.dummyMaskMap=void 0),this.maskPass&&(this.maskPass.delete(),this.maskPass=void 0,this.maskMap=void 0),this.lastViewport=void 0,this.masks=null,this.channels.length=0}}const DEFAULT_LIGHTING_EFFECT=new LightingEffect;class EffectManager{constructor(){(0,defineProperty.c)(this,"effects",void 0),(0,defineProperty.c)(this,"_internalEffects",void 0),(0,defineProperty.c)(this,"_needsRedraw",void 0),this.effects=[],this._internalEffects=[],this._needsRedraw="Initial render",this.setEffects()}setProps(props){"effects"in props&&(props.effects.length===this.effects.length&&(0,deep_equal.I)(props.effects,this.effects)||(this.setEffects(props.effects),this._needsRedraw="effects changed"))}needsRedraw(opts={clearRedrawFlags:!1}){const redraw=this._needsRedraw;return opts.clearRedrawFlags&&(this._needsRedraw=!1),redraw}getEffects(){return this._internalEffects}finalize(){this.cleanup()}setEffects(effects=[]){this.cleanup(),this.effects=effects,this._internalEffects=effects.slice(),this._internalEffects.push(new MaskEffect),effects.some((effect=>effect instanceof LightingEffect))||this._internalEffects.push(DEFAULT_LIGHTING_EFFECT)}cleanup(){for(const effect of this.effects)effect.cleanup();for(const effect of this._internalEffects)effect.cleanup();this.effects.length=0,this._internalEffects.length=0}}class DrawLayersPass extends LayersPass{shouldDrawLayer(layer){return layer.props.operation===lib_constants.cd.DRAW}}const PICKING_PARAMETERS={blendFunc:[1,0,32771,0],blendEquation:32774};class PickLayersPass extends LayersPass{constructor(...args){super(...args),(0,defineProperty.c)(this,"pickZ",void 0),(0,defineProperty.c)(this,"_colors",null)}render(props){return props.pickingFBO?this._drawPickingBuffer(props):super.render(props)}_drawPickingBuffer({layers,layerFilter,views,viewports,onViewportActive,pickingFBO,deviceRect:{x,y,width,height},cullRect,effects,pass="picking",pickZ}){const gl=this.gl;this.pickZ=pickZ;const encodedColors=pickZ?null:{byLayer:new Map,byAlpha:[]};this._colors=encodedColors;const renderStatus=(0,gltools_dist_esm.Qx)(gl,{scissorTest:!0,scissor:[x,y,width,height],clearColor:[0,0,0,0],depthMask:!0,depthTest:!0,depthRange:[0,1],colorMask:[!0,!0,!0,!0],...PICKING_PARAMETERS,blend:!pickZ},(()=>super.render({target:pickingFBO,layers,layerFilter,views,viewports,onViewportActive,cullRect,effects:null==effects?void 0:effects.filter((e=>e.useInPicking)),pass})));this._colors=null;return{decodePickingColor:encodedColors&&decodeColor.bind(null,encodedColors),stats:renderStatus}}shouldDrawLayer(layer){return layer.props.pickable&&layer.props.operation===lib_constants.cd.DRAW}getModuleParameters(){return{pickingActive:1,pickingAttribute:this.pickZ,lightSources:{}}}getLayerParameters(layer,layerIndex,viewport){const pickParameters={...layer.props.parameters};return this._colors?(Object.assign(pickParameters,PICKING_PARAMETERS),pickParameters.blend=!0,pickParameters.blendColor=function encodeColor(encoded,layer,viewport){const{byLayer,byAlpha}=encoded;let a,entry=byLayer.get(layer);entry?(entry.viewports.push(viewport),a=entry.a):(a=byLayer.size+1,a<=255?(entry={a,layer,viewports:[viewport]},byLayer.set(layer,entry),byAlpha[a]=entry):(log.c.warn("Too many pickable layers, only picking the first 255")(),a=0));return[0,0,0,a/255]}(this._colors,layer,viewport)):pickParameters.blend=!1,pickParameters}}function decodeColor(encoded,pickedColor){const entry=encoded.byAlpha[pickedColor[3]];return entry&&{pickedLayer:entry.layer,pickedViewports:entry.viewports,pickedObjectIndex:entry.layer.decodePickingColor(pickedColor)}}class DeckRenderer{constructor(gl){this.gl=gl,this.layerFilter=null,this.drawPickingColors=!1,this.drawLayersPass=new DrawLayersPass(gl),this.pickLayersPass=new PickLayersPass(gl),this.renderCount=0,this._needsRedraw="Initial render",this.renderBuffers=[],this.lastPostProcessEffect=null}setProps(props){"layerFilter"in props&&this.layerFilter!==props.layerFilter&&(this.layerFilter=props.layerFilter,this._needsRedraw="layerFilter changed"),"drawPickingColors"in props&&this.drawPickingColors!==props.drawPickingColors&&(this.drawPickingColors=props.drawPickingColors,this._needsRedraw="drawPickingColors changed")}renderLayers(opts){const layerPass=this.drawPickingColors?this.pickLayersPass:this.drawLayersPass;opts.layerFilter=opts.layerFilter||this.layerFilter,opts.effects=opts.effects||[],opts.target=opts.target||framebuffer.M.getDefaultFramebuffer(this.gl),this._preRender(opts.effects,opts);const outputBuffer=this.lastPostProcessEffect?this.renderBuffers[0]:opts.target,renderStats=layerPass.render({...opts,target:outputBuffer});this._postRender(opts.effects,opts),this.renderCount++,(0,debug.c)("deckRenderer.renderLayers",this,renderStats,opts)}needsRedraw(opts={clearRedrawFlags:!1}){const redraw=this._needsRedraw;return opts.clearRedrawFlags&&(this._needsRedraw=!1),redraw}finalize(){const{renderBuffers}=this;for(const buffer of renderBuffers)buffer.delete();renderBuffers.length=0}_preRender(effects,opts){let lastPostProcessEffect=null;for(const effect of effects)effect.preRender(this.gl,opts),effect.postRender&&(lastPostProcessEffect=effect);lastPostProcessEffect&&this._resizeRenderBuffers(),this.lastPostProcessEffect=lastPostProcessEffect}_resizeRenderBuffers(){const{renderBuffers}=this;0===renderBuffers.length&&renderBuffers.push(new framebuffer.M(this.gl),new framebuffer.M(this.gl));for(const buffer of renderBuffers)buffer.resize()}_postRender(effects,opts){const{renderBuffers}=this,params={inputBuffer:renderBuffers[0],swapBuffer:renderBuffers[1],target:null};for(const effect of effects)if(effect.postRender){if(effect===this.lastPostProcessEffect){params.target=opts.target,effect.postRender(this.gl,params);break}const buffer=effect.postRender(this.gl,params);params.inputBuffer=buffer,params.swapBuffer=buffer===renderBuffers[0]?renderBuffers[1]:renderBuffers[0]}}}var copy_and_blit=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/copy-and-blit.js");const NO_PICKED_OBJECT={pickedColor:null,pickedObjectIndex:-1};function getClosestObject({pickedColors,decodePickingColor,deviceX,deviceY,deviceRadius,deviceRect}){const{x,y,width,height}=deviceRect;let minSquareDistanceToCenter=deviceRadius*deviceRadius,closestPixelIndex=-1,i=0;for(let row=0;row<height;row++){const dy=row+y-deviceY,dy2=dy*dy;if(dy2>minSquareDistanceToCenter)i+=4*width;else for(let col=0;col<width;col++){if(pickedColors[i+3]-1>=0){const dx=col+x-deviceX,d2=dx*dx+dy2;d2<=minSquareDistanceToCenter&&(minSquareDistanceToCenter=d2,closestPixelIndex=i)}i+=4}}if(closestPixelIndex>=0){const pickedColor=pickedColors.slice(closestPixelIndex,closestPixelIndex+4),pickedObject=decodePickingColor(pickedColor);if(pickedObject){const dy=Math.floor(closestPixelIndex/4/width),dx=closestPixelIndex/4-dy*width;return{...pickedObject,pickedColor,pickedX:x+dx,pickedY:y+dy}}log.c.error("Picked non-existent layer. Is picking buffer corrupt?")()}return NO_PICKED_OBJECT}function getEmptyPickingInfo({pickInfo,viewports,pixelRatio,x,y,z}){let coordinate,pickedViewport=viewports[0];if(viewports.length>1&&(pickedViewport=function getViewportFromCoordinates(viewports,pixel){for(let i=viewports.length-1;i>=0;i--){const viewport=viewports[i];if(viewport.containsPixel(pixel))return viewport}return viewports[0]}((null==pickInfo?void 0:pickInfo.pickedViewports)||viewports,{x,y})),pickedViewport){const point=[x-pickedViewport.x,y-pickedViewport.y];void 0!==z&&(point[2]=z),coordinate=pickedViewport.unproject(point)}return{color:null,layer:null,viewport:pickedViewport,index:-1,picked:!1,x,y,pixel:[x,y],coordinate,devicePixel:pickInfo&&"pickedX"in pickInfo?[pickInfo.pickedX,pickInfo.pickedY]:void 0,pixelRatio}}function processPickInfo(opts){const{pickInfo,lastPickedInfo,mode,layers}=opts,{pickedColor,pickedLayer,pickedObjectIndex}=pickInfo,affectedLayers=pickedLayer?[pickedLayer]:[];if("hover"===mode){const lastPickedPixelIndex=lastPickedInfo.index,lastPickedLayerId=lastPickedInfo.layerId,pickedLayerId=pickedLayer?pickedLayer.props.id:null;if(pickedLayerId!==lastPickedLayerId||pickedObjectIndex!==lastPickedPixelIndex){if(pickedLayerId!==lastPickedLayerId){const lastPickedLayer=layers.find((layer=>layer.props.id===lastPickedLayerId));lastPickedLayer&&affectedLayers.unshift(lastPickedLayer)}lastPickedInfo.layerId=pickedLayerId,lastPickedInfo.index=pickedObjectIndex,lastPickedInfo.info=null}}const baseInfo=getEmptyPickingInfo(opts),infos=new Map;return infos.set(null,baseInfo),affectedLayers.forEach((layer=>{let info={...baseInfo};layer===pickedLayer&&(info.color=pickedColor,info.index=pickedObjectIndex,info.picked=!0),info=getLayerPickingInfo({layer,info,mode});const rootLayer=info.layer;layer===pickedLayer&&"hover"===mode&&(lastPickedInfo.info=info),infos.set(rootLayer.id,info),"hover"===mode&&rootLayer.updateAutoHighlight(info)})),infos}function getLayerPickingInfo({layer,info,mode}){for(;layer&&info;){const sourceLayer=info.layer||null;info.sourceLayer=sourceLayer,info.layer=layer,info=layer.getPickingInfo({info,mode,sourceLayer}),layer=layer.parent}return info}class DeckPicker{constructor(gl){(0,defineProperty.c)(this,"gl",void 0),(0,defineProperty.c)(this,"pickingFBO",void 0),(0,defineProperty.c)(this,"depthFBO",void 0),(0,defineProperty.c)(this,"pickLayersPass",void 0),(0,defineProperty.c)(this,"layerFilter",void 0),(0,defineProperty.c)(this,"lastPickedInfo",void 0),(0,defineProperty.c)(this,"_pickable",!0),this.gl=gl,this.pickLayersPass=new PickLayersPass(gl),this.lastPickedInfo={index:-1,layerId:null,info:null}}setProps(props){"layerFilter"in props&&(this.layerFilter=props.layerFilter),"_pickable"in props&&(this._pickable=props._pickable)}finalize(){this.pickingFBO&&this.pickingFBO.delete(),this.depthFBO&&(this.depthFBO.color.delete(),this.depthFBO.delete())}pickObject(opts){return this._pickClosestObject(opts)}pickObjects(opts){return this._pickVisibleObjects(opts)}getLastPickedObject({x,y,layers,viewports},lastPickedInfo=this.lastPickedInfo.info){const lastPickedLayerId=lastPickedInfo&&lastPickedInfo.layer&&lastPickedInfo.layer.id,lastPickedViewportId=lastPickedInfo&&lastPickedInfo.viewport&&lastPickedInfo.viewport.id,layer=lastPickedLayerId?layers.find((l=>l.id===lastPickedLayerId)):null,viewport=lastPickedViewportId&&viewports.find((v=>v.id===lastPickedViewportId))||viewports[0],coordinate=viewport&&viewport.unproject([x-viewport.x,y-viewport.y]),info={x,y,viewport,coordinate,layer};return{...lastPickedInfo,...info}}_resizeBuffer(){var _this$pickingFBO,_this$depthFBO;const{gl}=this;if(!this.pickingFBO&&(this.pickingFBO=new framebuffer.M(gl),framebuffer.M.isSupported(gl,{colorBufferFloat:!0}))){const depthFBO=new framebuffer.M(gl);depthFBO.attach({36064:new texture_2d.c(gl,{format:(0,gltools_dist_esm.Y8)(gl)?34836:6408,type:5126})}),this.depthFBO=depthFBO}null===(_this$pickingFBO=this.pickingFBO)||void 0===_this$pickingFBO||_this$pickingFBO.resize({width:gl.canvas.width,height:gl.canvas.height}),null===(_this$depthFBO=this.depthFBO)||void 0===_this$depthFBO||_this$depthFBO.resize({width:gl.canvas.width,height:gl.canvas.height})}_getPickable(layers){if(!1===this._pickable)return null;const pickableLayers=layers.filter((layer=>layer.isPickable()&&!layer.isComposite));return pickableLayers.length?pickableLayers:null}_pickClosestObject({layers,views,viewports,x,y,radius=0,depth=1,mode="query",unproject3D,onViewportActive,effects}){const pickableLayers=this._getPickable(layers),pixelRatio=(0,gltools_dist_esm.cb)(this.gl);if(!pickableLayers)return{result:[],emptyInfo:getEmptyPickingInfo({viewports,x,y,pixelRatio})};this._resizeBuffer();const devicePixelRange=(0,gltools_dist_esm.qy)(this.gl,[x,y],!0),devicePixel=[devicePixelRange.x+Math.floor(devicePixelRange.width/2),devicePixelRange.y+Math.floor(devicePixelRange.height/2)],deviceRadius=Math.round(radius*pixelRatio),{width,height}=this.pickingFBO,deviceRect=this._getPickingRect({deviceX:devicePixel[0],deviceY:devicePixel[1],deviceRadius,deviceWidth:width,deviceHeight:height}),cullRect={x:x-radius,y:y-radius,width:2*radius+1,height:2*radius+1};let infos;const result=[],affectedLayers=new Set;for(let i=0;i<depth;i++){let pickInfo,z;if(deviceRect){pickInfo=getClosestObject({...this._drawAndSample({layers:pickableLayers,views,viewports,onViewportActive,deviceRect,cullRect,effects,pass:"picking:".concat(mode)}),deviceX:devicePixel[0],deviceY:devicePixel[1],deviceRadius,deviceRect})}else pickInfo={pickedColor:null,pickedObjectIndex:-1};if(pickInfo.pickedLayer&&unproject3D&&this.depthFBO){z=this._drawAndSample({layers:[pickInfo.pickedLayer],views,viewports,onViewportActive,deviceRect:{x:pickInfo.pickedX,y:pickInfo.pickedY,width:1,height:1},cullRect,effects,pass:"picking:".concat(mode,":z")},!0).pickedColors[0]}pickInfo.pickedLayer&&i+1<depth&&(affectedLayers.add(pickInfo.pickedLayer),pickInfo.pickedLayer.disablePickingIndex(pickInfo.pickedObjectIndex)),infos=processPickInfo({pickInfo,lastPickedInfo:this.lastPickedInfo,mode,layers:pickableLayers,viewports,x,y,z,pixelRatio});for(const info of infos.values())info.layer&&result.push(info);if(!pickInfo.pickedColor)break}for(const layer of affectedLayers)layer.restorePickingColors();return{result,emptyInfo:infos.get(null)}}_pickVisibleObjects({layers,views,viewports,x,y,width=1,height=1,mode="query",maxObjects=null,onViewportActive,effects}){const pickableLayers=this._getPickable(layers);if(!pickableLayers)return[];this._resizeBuffer();const pixelRatio=(0,gltools_dist_esm.cb)(this.gl),leftTop=(0,gltools_dist_esm.qy)(this.gl,[x,y],!0),deviceLeft=leftTop.x,deviceTop=leftTop.y+leftTop.height,rightBottom=(0,gltools_dist_esm.qy)(this.gl,[x+width,y+height],!0),deviceRight=rightBottom.x+rightBottom.width,deviceBottom=rightBottom.y,deviceRect={x:deviceLeft,y:deviceBottom,width:deviceRight-deviceLeft,height:deviceTop-deviceBottom},pickInfos=function getUniqueObjects({pickedColors,decodePickingColor}){const uniqueColors=new Map;if(pickedColors)for(let i=0;i<pickedColors.length;i+=4)if(pickedColors[i+3]-1>=0){const pickedColor=pickedColors.slice(i,i+4),colorKey=pickedColor.join(",");if(!uniqueColors.has(colorKey)){const pickedObject=decodePickingColor(pickedColor);pickedObject?uniqueColors.set(colorKey,{...pickedObject,color:pickedColor}):log.c.error("Picked non-existent layer. Is picking buffer corrupt?")()}}return Array.from(uniqueColors.values())}(this._drawAndSample({layers:pickableLayers,views,viewports,onViewportActive,deviceRect,cullRect:{x,y,width,height},effects,pass:"picking:".concat(mode)})),uniqueInfos=new Map,isMaxObjects=Number.isFinite(maxObjects);for(let i=0;i<pickInfos.length&&!(isMaxObjects&&maxObjects&&uniqueInfos.size>=maxObjects);i++){const pickInfo=pickInfos[i];let info={color:pickInfo.pickedColor,layer:null,index:pickInfo.pickedObjectIndex,picked:!0,x,y,pixelRatio};info=getLayerPickingInfo({layer:pickInfo.pickedLayer,info,mode}),uniqueInfos.has(info.object)||uniqueInfos.set(info.object,info)}return Array.from(uniqueInfos.values())}_drawAndSample({layers,views,viewports,onViewportActive,deviceRect,cullRect,effects,pass},pickZ=!1){const pickingFBO=pickZ?this.depthFBO:this.pickingFBO,{decodePickingColor}=this.pickLayersPass.render({layers,layerFilter:this.layerFilter,views,viewports,onViewportActive,pickingFBO,deviceRect,cullRect,effects,pass,pickZ}),{x,y,width,height}=deviceRect,pickedColors=new(pickZ?Float32Array:Uint8Array)(width*height*4);return(0,copy_and_blit.qi)(pickingFBO,{sourceX:x,sourceY:y,sourceWidth:width,sourceHeight:height,target:pickedColors}),{pickedColors,decodePickingColor}}_getPickingRect({deviceX,deviceY,deviceRadius,deviceWidth,deviceHeight}){const x=Math.max(0,deviceX-deviceRadius),y=Math.max(0,deviceY-deviceRadius),width=Math.min(deviceWidth,deviceX+deviceRadius+1)-x,height=Math.min(deviceHeight,deviceY+deviceRadius+1)-y;return width<=0||height<=0?null:{x,y,width,height}}}const defaultStyle={zIndex:"1",position:"absolute",pointerEvents:"none",color:"#a0a7b4",backgroundColor:"#29323c",padding:"10px",top:"0",left:"0",display:"none"};class Tooltip{constructor(canvas){(0,defineProperty.c)(this,"el",null),(0,defineProperty.c)(this,"isVisible",!1);const canvasParent=canvas.parentElement;canvasParent&&(this.el=document.createElement("div"),this.el.className="deck-tooltip",Object.assign(this.el.style,defaultStyle),canvasParent.appendChild(this.el))}setTooltip(displayInfo,x,y){const el=this.el;if(el){if("string"==typeof displayInfo)el.innerText=displayInfo;else{if(!displayInfo)return this.isVisible=!1,void(el.style.display="none");displayInfo.text&&(el.innerText=displayInfo.text),displayInfo.html&&(el.innerHTML=displayInfo.html),displayInfo.className&&(el.className=displayInfo.className),Object.assign(el.style,displayInfo.style)}this.isVisible=!0,el.style.display="block",el.style.transform="translate(".concat(x,"px, ").concat(y,"px)")}}remove(){this.el&&(this.el.remove(),this.el=null)}}var typed_array_manager=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/utils/typed-array-manager.js"),register_loaders=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/api/register-loaders.js"),image_loader=__webpack_require__("./node_modules/@loaders.gl/images/dist/esm/image-loader.js");const json_loader={id:"JSON",name:"JSON",module:"",version:"",options:{},extensions:["json","geojson"],mimeTypes:["application/json","application/geo+json"],testText:function isJSON(text){const firstChar=text[0],lastChar=text[text.length-1];return"{"===firstChar&&"}"===lastChar||"["===firstChar&&"]"===lastChar},parseTextSync:JSON.parse},existingVersion=globalThis.deck&&globalThis.deck.VERSION;if(existingVersion&&"8.8.0"!==existingVersion)throw new Error("deck.gl - multiple versions detected: ".concat(existingVersion," vs ").concat("8.8.0"));existingVersion||(log.c.log(1,"deck.gl ".concat("8.8.0"))(),globalThis.deck={...globalThis.deck,VERSION:"8.8.0",version:"8.8.0",log:log.c,_registerLoggers:debug.s},(0,register_loaders.iW)([json_loader,[image_loader.A,{imagebitmap:{premultiplyAlpha:"none"}}]]));const init=globalThis.deck;var get_browser=__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/get-browser.js"),esm_init=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/init.js"),utils_assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js"),resource=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js"),features=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/features.js"),webgl_features_table=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/webgl-features-table.js");class Query extends resource.c{get[Symbol.toStringTag](){return"Query"}static isSupported(gl){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const webgl2=(0,gltools_dist_esm.Y8)(gl),hasTimerQuery=(0,features.R0)(gl,webgl_features_table.c.TIMER_QUERY);let supported=webgl2||hasTimerQuery;for(const key of opts)switch(key){case"queries":supported=supported&&webgl2;break;case"timers":supported=supported&&hasTimerQuery;break;default:(0,utils_assert.U)(!1)}return supported}constructor(gl){super(gl,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),this.target=null,this._queryPending=!1,this._pollingPromise=null,Object.seal(this)}beginTimeElapsedQuery(){return this.begin(35007)}beginOcclusionQuery(){let{conservative=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.begin(conservative?36202:35887)}beginTransformFeedbackQuery(){return this.begin(35976)}begin(target){return this._queryPending||(this.target=target,this.gl2.beginQuery(this.target,this.handle)),this}end(){return this._queryPending||this.target&&(this.gl2.endQuery(this.target),this.target=null,this._queryPending=!0),this}isResultAvailable(){if(!this._queryPending)return!1;const resultAvailable=this.gl2.getQueryParameter(this.handle,34919);return resultAvailable&&(this._queryPending=!1),resultAvailable}isTimerDisjoint(){return this.gl2.getParameter(36795)}getResult(){return this.gl2.getQueryParameter(this.handle,34918)}getTimerMilliseconds(){return this.getResult()/1e6}createPoll(){let limit=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;if(this._pollingPromise)return this._pollingPromise;let counter=0;return this._pollingPromise=new Promise(((resolve,reject)=>{const poll=()=>{this.isResultAvailable()?(resolve(this.getResult()),this._pollingPromise=null):counter++>limit?(reject("Timed out"),this._pollingPromise=null):requestAnimationFrame(poll)};requestAnimationFrame(poll)})),this._pollingPromise}_createHandle(){return Query.isSupported(this.gl)?this.gl2.createQuery():null}_deleteHandle(){this.gl2.deleteQuery(this.handle)}}const isPage=(0,__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/is-browser.js").c)()&&"undefined"!=typeof document;let statIdCounter=0;class AnimationLoop{constructor(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{onCreateContext=opts=>(0,gltools_dist_esm.yI)(opts),onAddHTML=null,onInitialize=()=>{},onRender=()=>{},onFinalize=()=>{},onError,gl=null,glOptions={},debug=!1,createFramebuffer=!1,autoResizeViewport=!0,autoResizeDrawingBuffer=!0,stats=esm_init.e8.get("animation-loop-".concat(statIdCounter++))}=props;let{useDevicePixels=!0}=props;"useDevicePixelRatio"in props&&(gltools_dist_esm.Yz.deprecated("useDevicePixelRatio","useDevicePixels")(),useDevicePixels=props.useDevicePixelRatio),this.props={onCreateContext,onAddHTML,onInitialize,onRender,onFinalize,onError,gl,glOptions,debug,createFramebuffer},this.gl=gl,this.needsRedraw=null,this.timeline=null,this.stats=stats,this.cpuTime=this.stats.get("CPU Time"),this.gpuTime=this.stats.get("GPU Time"),this.frameRate=this.stats.get("Frame Rate"),this._initialized=!1,this._running=!1,this._animationFrameId=null,this._nextFramePromise=null,this._resolveNextFrame=null,this._cpuStartTime=0,this.setProps({autoResizeViewport,autoResizeDrawingBuffer,useDevicePixels}),this.start=this.start.bind(this),this.stop=this.stop.bind(this),this._pageLoadPromise=null,this._onMousemove=this._onMousemove.bind(this),this._onMouseleave=this._onMouseleave.bind(this)}delete(){this.stop(),this._setDisplay(null)}setNeedsRedraw(reason){return(0,utils_assert.U)("string"==typeof reason),this.needsRedraw=this.needsRedraw||reason,this}setProps(props){return"autoResizeViewport"in props&&(this.autoResizeViewport=props.autoResizeViewport),"autoResizeDrawingBuffer"in props&&(this.autoResizeDrawingBuffer=props.autoResizeDrawingBuffer),"useDevicePixels"in props&&(this.useDevicePixels=props.useDevicePixels),this}start(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._running)return this;this._running=!0;const startPromise=this._getPageLoadPromise().then((()=>!this._running||this._initialized?null:(this._createWebGLContext(opts),this._createFramebuffer(),this._startEventHandling(),this._initializeCallbackData(),this._updateCallbackData(),this._resizeCanvasDrawingBuffer(),this._resizeViewport(),this._gpuTimeQuery=Query.isSupported(this.gl,["timers"])?new Query(this.gl):null,this._initialized=!0,this.onInitialize(this.animationProps)))).then((appContext=>{this._running&&(this._addCallbackData(appContext||{}),!1!==appContext&&this._startLoop())}));return this.props.onError&&startPromise.catch(this.props.onError),this}redraw(){return this.isContextLost()||(this._beginTimers(),this._setupFrame(),this._updateCallbackData(),this._renderFrame(this.animationProps),this._clearNeedsRedraw(),this.offScreen&&this.gl.commit&&this.gl.commit(),this._resolveNextFrame&&(this._resolveNextFrame(this),this._nextFramePromise=null,this._resolveNextFrame=null),this._endTimers()),this}stop(){return this._running&&(this._finalizeCallbackData(),this._cancelAnimationFrame(this._animationFrameId),this._nextFramePromise=null,this._resolveNextFrame=null,this._animationFrameId=null,this._running=!1),this}attachTimeline(timeline){return this.timeline=timeline,this.timeline}detachTimeline(){this.timeline=null}waitForRender(){return this.setNeedsRedraw("waitForRender"),this._nextFramePromise||(this._nextFramePromise=new Promise((resolve=>{this._resolveNextFrame=resolve}))),this._nextFramePromise}async toDataURL(){return this.setNeedsRedraw("toDataURL"),await this.waitForRender(),this.gl.canvas.toDataURL()}isContextLost(){return this.gl.isContextLost()}onCreateContext(){return this.props.onCreateContext(...arguments)}onInitialize(){return this.props.onInitialize(...arguments)}onRender(){return this.props.onRender(...arguments)}onFinalize(){return this.props.onFinalize(...arguments)}getHTMLControlValue(id){let defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const element=document.getElementById(id);return element?Number(element.value):defaultValue}setViewParameters(){return gltools_dist_esm.Yz.removed("AnimationLoop.setViewParameters","AnimationLoop.setProps")(),this}_startLoop(){const renderFrame=()=>{this._running&&(this.redraw(),this._animationFrameId=this._requestAnimationFrame(renderFrame))};this._cancelAnimationFrame(this._animationFrameId),this._animationFrameId=this._requestAnimationFrame(renderFrame)}_getPageLoadPromise(){return this._pageLoadPromise||(this._pageLoadPromise=isPage?new Promise(((resolve,reject)=>{isPage&&"complete"===document.readyState?resolve(document):window.addEventListener("load",(()=>{resolve(document)}))})):Promise.resolve({})),this._pageLoadPromise}_setDisplay(display){this.display&&(this.display.delete(),this.display.animationLoop=null),display&&(display.animationLoop=this),this.display=display}_cancelAnimationFrame(animationFrameId){return this.display&&this.display.cancelAnimationFrame?this.display.cancelAnimationFrame(animationFrameId):function cancelAnimationFrame(timerId){return"undefined"!=typeof window&&window.cancelAnimationFrame?window.cancelAnimationFrame(timerId):clearTimeout(timerId)}(animationFrameId)}_requestAnimationFrame(renderFrameCallback){if(this._running)return this.display&&this.display.requestAnimationFrame?this.display.requestAnimationFrame(renderFrameCallback):function request_animation_frame_requestAnimationFrame(callback){return"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame(callback):setTimeout(callback,1e3/60)}(renderFrameCallback)}_renderFrame(){this.display?this.display._renderFrame(...arguments):this.onRender(...arguments)}_clearNeedsRedraw(){this.needsRedraw=null}_setupFrame(){this._resizeCanvasDrawingBuffer(),this._resizeViewport(),this._resizeFramebuffer()}_initializeCallbackData(){this.animationProps={gl:this.gl,stop:this.stop,canvas:this.gl.canvas,framebuffer:this.framebuffer,useDevicePixels:this.useDevicePixels,needsRedraw:null,startTime:Date.now(),engineTime:0,tick:0,tock:0,time:0,_timeline:this.timeline,_loop:this,_animationLoop:this,_mousePosition:null}}_updateCallbackData(){const{width,height,aspect}=this._getSizeAndAspect();width===this.animationProps.width&&height===this.animationProps.height||this.setNeedsRedraw("drawing buffer resized"),aspect!==this.animationProps.aspect&&this.setNeedsRedraw("drawing buffer aspect changed"),this.animationProps.width=width,this.animationProps.height=height,this.animationProps.aspect=aspect,this.animationProps.needsRedraw=this.needsRedraw,this.animationProps.engineTime=Date.now()-this.animationProps.startTime,this.timeline&&this.timeline.update(this.animationProps.engineTime),this.animationProps.tick=Math.floor(this.animationProps.time/1e3*60),this.animationProps.tock++,this.animationProps.time=this.timeline?this.timeline.getTime():this.animationProps.engineTime,this.animationProps._offScreen=this.offScreen}_finalizeCallbackData(){this.onFinalize(this.animationProps)}_addCallbackData(appContext){"object"==typeof appContext&&null!==appContext&&(this.animationProps=Object.assign({},this.animationProps,appContext))}_createWebGLContext(opts){if(this.offScreen=opts.canvas&&"undefined"!=typeof OffscreenCanvas&&opts.canvas instanceof OffscreenCanvas,opts=Object.assign({},opts,this.props.glOptions),this.gl=this.props.gl?(0,gltools_dist_esm.W4)(this.props.gl,opts):this.onCreateContext(opts),!(0,gltools_dist_esm.YH)(this.gl))throw new Error("AnimationLoop.onCreateContext - illegal context returned");(0,gltools_dist_esm.Q3)(this.gl),this._createInfoDiv()}_createInfoDiv(){if(this.gl.canvas&&this.props.onAddHTML){const wrapperDiv=document.createElement("div");document.body.appendChild(wrapperDiv),wrapperDiv.style.position="relative";const div=document.createElement("div");div.style.position="absolute",div.style.left="10px",div.style.bottom="10px",div.style.width="300px",div.style.background="white",wrapperDiv.appendChild(this.gl.canvas),wrapperDiv.appendChild(div);const html=this.props.onAddHTML(div);html&&(div.innerHTML=html)}}_getSizeAndAspect(){const width=this.gl.drawingBufferWidth,height=this.gl.drawingBufferHeight;let aspect=1;const{canvas}=this.gl;return canvas&&canvas.clientHeight?aspect=canvas.clientWidth/canvas.clientHeight:width>0&&height>0&&(aspect=width/height),{width,height,aspect}}_resizeViewport(){this.autoResizeViewport&&this.gl.viewport(0,0,this.gl.drawingBufferWidth,this.gl.drawingBufferHeight)}_resizeCanvasDrawingBuffer(){this.autoResizeDrawingBuffer&&(0,gltools_dist_esm.kn)(this.gl,{useDevicePixels:this.useDevicePixels})}_createFramebuffer(){this.props.createFramebuffer&&(this.framebuffer=new framebuffer.M(this.gl))}_resizeFramebuffer(){this.framebuffer&&this.framebuffer.resize({width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight})}_beginTimers(){this.frameRate.timeEnd(),this.frameRate.timeStart(),this._gpuTimeQuery&&this._gpuTimeQuery.isResultAvailable()&&!this._gpuTimeQuery.isTimerDisjoint()&&this.stats.get("GPU Time").addTime(this._gpuTimeQuery.getTimerMilliseconds()),this._gpuTimeQuery&&this._gpuTimeQuery.beginTimeElapsedQuery(),this.cpuTime.timeStart()}_endTimers(){this.cpuTime.timeEnd(),this._gpuTimeQuery&&this._gpuTimeQuery.end()}_startEventHandling(){const{canvas}=this.gl;canvas&&(canvas.addEventListener("mousemove",this._onMousemove),canvas.addEventListener("mouseleave",this._onMouseleave))}_onMousemove(e){this.animationProps._mousePosition=[e.offsetX,e.offsetY]}_onMouseleave(e){this.animationProps._mousePosition=null}}var hammer=__webpack_require__("./node_modules/hammerjs/hammer.js");const MOUSE_INPUT_MAP={mousedown:1,mousemove:2,mouseup:4};!function enhancePointerEventInput(PointerEventInput){const oldHandler=PointerEventInput.prototype.handler;PointerEventInput.prototype.handler=function handler(ev){const store=this.store;ev.button>0&&"pointerdown"===ev.type&&(function some(array,predict){for(let i=0;i<array.length;i++)if(predict(array[i]))return!0;return!1}(store,(e=>e.pointerId===ev.pointerId))||store.push(ev)),oldHandler.call(this,ev)}}(hammer.PointerEventInput),function enhanceMouseInput(MouseInput){MouseInput.prototype.handler=function handler(ev){let eventType=MOUSE_INPUT_MAP[ev.type];1&eventType&&ev.button>=0&&(this.pressed=!0),2&eventType&&0===ev.which&&(eventType=4),this.pressed&&(4&eventType&&(this.pressed=!1),this.callback(this.manager,eventType,{pointers:[ev],changedPointers:[ev],pointerType:"mouse",srcEvent:ev}))}}(hammer.MouseInput);const Manager=hammer.Manager,hammer_browser=hammer;class Input{constructor(element,callback,options){this.element=element,this.callback=callback,this.options={enable:!0,...options}}}const RECOGNIZERS=hammer_browser?[[hammer_browser.Pan,{event:"tripan",pointers:3,threshold:0,enable:!1}],[hammer_browser.Rotate,{enable:!1}],[hammer_browser.Pinch,{enable:!1}],[hammer_browser.Swipe,{enable:!1}],[hammer_browser.Pan,{threshold:0,enable:!1}],[hammer_browser.Press,{enable:!1}],[hammer_browser.Tap,{event:"doubletap",taps:2,enable:!1}],[hammer_browser.Tap,{event:"anytap",enable:!1}],[hammer_browser.Tap,{enable:!1}]]:null,RECOGNIZER_COMPATIBLE_MAP={tripan:["rotate","pinch","pan"],rotate:["pinch"],pinch:["pan"],pan:["press","doubletap","anytap","tap"],doubletap:["anytap"],anytap:["tap"]},RECOGNIZER_FALLBACK_MAP={doubletap:["tap"]},BASIC_EVENT_ALIASES={pointerdown:"pointerdown",pointermove:"pointermove",pointerup:"pointerup",touchstart:"pointerdown",touchmove:"pointermove",touchend:"pointerup",mousedown:"pointerdown",mousemove:"pointermove",mouseup:"pointerup"},INPUT_EVENT_TYPES={KEY_EVENTS:["keydown","keyup"],MOUSE_EVENTS:["mousedown","mousemove","mouseup","mouseover","mouseout","mouseleave"],WHEEL_EVENTS:["wheel","mousewheel"]},EVENT_RECOGNIZER_MAP={tap:"tap",anytap:"anytap",doubletap:"doubletap",press:"press",pinch:"pinch",pinchin:"pinch",pinchout:"pinch",pinchstart:"pinch",pinchmove:"pinch",pinchend:"pinch",pinchcancel:"pinch",rotate:"rotate",rotatestart:"rotate",rotatemove:"rotate",rotateend:"rotate",rotatecancel:"rotate",tripan:"tripan",tripanstart:"tripan",tripanmove:"tripan",tripanup:"tripan",tripandown:"tripan",tripanleft:"tripan",tripanright:"tripan",tripanend:"tripan",tripancancel:"tripan",pan:"pan",panstart:"pan",panmove:"pan",panup:"pan",pandown:"pan",panleft:"pan",panright:"pan",panend:"pan",pancancel:"pan",swipe:"swipe",swipeleft:"swipe",swiperight:"swipe",swipeup:"swipe",swipedown:"swipe"},GESTURE_EVENT_ALIASES={click:"tap",anyclick:"anytap",dblclick:"doubletap",mousedown:"pointerdown",mousemove:"pointermove",mouseup:"pointerup",mouseover:"pointerover",mouseout:"pointerout",mouseleave:"pointerleave"},userAgent="undefined"!=typeof navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",window_="undefined"!=typeof window?window:__webpack_require__.g;void 0!==__webpack_require__.g?__webpack_require__.g:window,"undefined"!=typeof document&&document;let passiveSupported=!1;try{const options={get passive(){return passiveSupported=!0,!0}};window_.addEventListener("test",null,options),window_.removeEventListener("test",null)}catch(err){passiveSupported=!1}const firefox=-1!==userAgent.indexOf("firefox"),{WHEEL_EVENTS}=INPUT_EVENT_TYPES;class WheelInput extends Input{constructor(element,callback,options){super(element,callback,options),this.handleEvent=event=>{if(!this.options.enable)return;let value=event.deltaY;window_.WheelEvent&&(firefox&&event.deltaMode===window_.WheelEvent.DOM_DELTA_PIXEL&&(value/=window_.devicePixelRatio),event.deltaMode===window_.WheelEvent.DOM_DELTA_LINE&&(value*=40)),0!==value&&value%4.000244140625==0&&(value=Math.floor(value/4.000244140625)),event.shiftKey&&value&&(value*=.25),this.callback({type:"wheel",center:{x:event.clientX,y:event.clientY},delta:-value,srcEvent:event,pointerType:"mouse",target:event.target})},this.events=(this.options.events||[]).concat(WHEEL_EVENTS),this.events.forEach((event=>element.addEventListener(event,this.handleEvent,!!passiveSupported&&{passive:!1})))}destroy(){this.events.forEach((event=>this.element.removeEventListener(event,this.handleEvent)))}enableEventType(eventType,enabled){"wheel"===eventType&&(this.options.enable=enabled)}}const{MOUSE_EVENTS}=INPUT_EVENT_TYPES;class MoveInput extends Input{constructor(element,callback,options){super(element,callback,options),this.handleEvent=event=>{this.handleOverEvent(event),this.handleOutEvent(event),this.handleEnterEvent(event),this.handleLeaveEvent(event),this.handleMoveEvent(event)},this.pressed=!1;const{enable}=this.options;this.enableMoveEvent=enable,this.enableLeaveEvent=enable,this.enableEnterEvent=enable,this.enableOutEvent=enable,this.enableOverEvent=enable,this.events=(this.options.events||[]).concat(MOUSE_EVENTS),this.events.forEach((event=>element.addEventListener(event,this.handleEvent)))}destroy(){this.events.forEach((event=>this.element.removeEventListener(event,this.handleEvent)))}enableEventType(eventType,enabled){"pointermove"===eventType&&(this.enableMoveEvent=enabled),"pointerover"===eventType&&(this.enableOverEvent=enabled),"pointerout"===eventType&&(this.enableOutEvent=enabled),"pointerenter"===eventType&&(this.enableEnterEvent=enabled),"pointerleave"===eventType&&(this.enableLeaveEvent=enabled)}handleOverEvent(event){this.enableOverEvent&&"mouseover"===event.type&&this._emit("pointerover",event)}handleOutEvent(event){this.enableOutEvent&&"mouseout"===event.type&&this._emit("pointerout",event)}handleEnterEvent(event){this.enableEnterEvent&&"mouseenter"===event.type&&this._emit("pointerenter",event)}handleLeaveEvent(event){this.enableLeaveEvent&&"mouseleave"===event.type&&this._emit("pointerleave",event)}handleMoveEvent(event){if(this.enableMoveEvent)switch(event.type){case"mousedown":event.button>=0&&(this.pressed=!0);break;case"mousemove":0===event.which&&(this.pressed=!1),this.pressed||this._emit("pointermove",event);break;case"mouseup":this.pressed=!1}}_emit(type,event){this.callback({type,center:{x:event.clientX,y:event.clientY},srcEvent:event,pointerType:"mouse",target:event.target})}}const{KEY_EVENTS}=INPUT_EVENT_TYPES;class KeyInput extends Input{constructor(element,callback,options){super(element,callback,options),this.handleEvent=event=>{const targetElement=event.target||event.srcElement;"INPUT"===targetElement.tagName&&"text"===targetElement.type||"TEXTAREA"===targetElement.tagName||(this.enableDownEvent&&"keydown"===event.type&&this.callback({type:"keydown",srcEvent:event,key:event.key,target:event.target}),this.enableUpEvent&&"keyup"===event.type&&this.callback({type:"keyup",srcEvent:event,key:event.key,target:event.target}))},this.enableDownEvent=this.options.enable,this.enableUpEvent=this.options.enable,this.events=(this.options.events||[]).concat(KEY_EVENTS),element.tabIndex=this.options.tabIndex||0,element.style.outline="none",this.events.forEach((event=>element.addEventListener(event,this.handleEvent)))}destroy(){this.events.forEach((event=>this.element.removeEventListener(event,this.handleEvent)))}enableEventType(eventType,enabled){"keydown"===eventType&&(this.enableDownEvent=enabled),"keyup"===eventType&&(this.enableUpEvent=enabled)}}class ContextmenuInput extends Input{constructor(element,callback,options){super(element,callback,options),this.handleEvent=event=>{this.options.enable&&this.callback({type:"contextmenu",center:{x:event.clientX,y:event.clientY},srcEvent:event,pointerType:"mouse",target:event.target})},element.addEventListener("contextmenu",this.handleEvent)}destroy(){this.element.removeEventListener("contextmenu",this.handleEvent)}enableEventType(eventType,enabled){"contextmenu"===eventType&&(this.options.enable=enabled)}}const event_utils_MOUSE_EVENTS={pointerdown:1,pointermove:2,pointerup:4,mousedown:1,mousemove:2,mouseup:4};function whichButtons(event){const eventType=event_utils_MOUSE_EVENTS[event.srcEvent.type];if(!eventType)return null;const{buttons,button,which}=event.srcEvent;let leftButton=!1,middleButton=!1,rightButton=!1;return 4===eventType||2===eventType&&!Number.isFinite(buttons)?(leftButton=1===which,middleButton=2===which,rightButton=3===which):2===eventType?(leftButton=Boolean(1&buttons),middleButton=Boolean(4&buttons),rightButton=Boolean(2&buttons)):1===eventType&&(leftButton=0===button,middleButton=1===button,rightButton=2===button),{leftButton,middleButton,rightButton}}function getOffsetPosition(event,rootElement){const center=event.center;if(!center)return null;const rect=rootElement.getBoundingClientRect(),scaleX=rect.width/rootElement.offsetWidth||1,scaleY=rect.height/rootElement.offsetHeight||1;return{center,offsetCenter:{x:(center.x-rect.left-rootElement.clientLeft)/scaleX,y:(center.y-rect.top-rootElement.clientTop)/scaleY}}}const DEFAULT_OPTIONS={srcElement:"root",priority:0};class EventRegistrar{constructor(eventManager){this.handleEvent=event=>{if(this.isEmpty())return;const mjolnirEvent=this._normalizeEvent(event);let target=event.srcEvent.target;for(;target&&target!==mjolnirEvent.rootElement;){if(this._emit(mjolnirEvent,target),mjolnirEvent.handled)return;target=target.parentNode}this._emit(mjolnirEvent,"root")},this.eventManager=eventManager,this.handlers=[],this.handlersByElement=new Map,this._active=!1}isEmpty(){return!this._active}add(type,handler,options,once=!1,passive=!1){const{handlers,handlersByElement}=this;let opts=DEFAULT_OPTIONS;"string"==typeof options||options&&options.addEventListener?opts={...DEFAULT_OPTIONS,srcElement:options}:options&&(opts={...DEFAULT_OPTIONS,...options});let entries=handlersByElement.get(opts.srcElement);entries||(entries=[],handlersByElement.set(opts.srcElement,entries));const entry={type,handler,srcElement:opts.srcElement,priority:opts.priority};once&&(entry.once=!0),passive&&(entry.passive=!0),handlers.push(entry),this._active=this._active||!entry.passive;let insertPosition=entries.length-1;for(;insertPosition>=0&&!(entries[insertPosition].priority>=entry.priority);)insertPosition--;entries.splice(insertPosition+1,0,entry)}remove(type,handler){const{handlers,handlersByElement}=this;for(let i=handlers.length-1;i>=0;i--){const entry=handlers[i];if(entry.type===type&&entry.handler===handler){handlers.splice(i,1);const entries=handlersByElement.get(entry.srcElement);entries.splice(entries.indexOf(entry),1),0===entries.length&&handlersByElement.delete(entry.srcElement)}}this._active=handlers.some((entry=>!entry.passive))}_emit(event,srcElement){const entries=this.handlersByElement.get(srcElement);if(entries){let immediatePropagationStopped=!1;const stopPropagation=()=>{event.handled=!0},stopImmediatePropagation=()=>{event.handled=!0,immediatePropagationStopped=!0},entriesToRemove=[];for(let i=0;i<entries.length;i++){const{type,handler,once}=entries[i];if(handler({...event,type,stopPropagation,stopImmediatePropagation}),once&&entriesToRemove.push(entries[i]),immediatePropagationStopped)break}for(let i=0;i<entriesToRemove.length;i++){const{type,handler}=entriesToRemove[i];this.remove(type,handler)}}}_normalizeEvent(event){const rootElement=this.eventManager.getElement();return{...event,...whichButtons(event),...getOffsetPosition(event,rootElement),preventDefault:()=>{event.srcEvent.preventDefault()},stopImmediatePropagation:null,stopPropagation:null,handled:!1,rootElement}}}const event_manager_DEFAULT_OPTIONS={events:null,recognizers:null,recognizerOptions:{},Manager,touchAction:"none",tabIndex:0};class EventManager{constructor(element=null,options){this._onBasicInput=event=>{const{srcEvent}=event,alias=BASIC_EVENT_ALIASES[srcEvent.type];alias&&this.manager.emit(alias,event)},this._onOtherEvent=event=>{this.manager.emit(event.type,event)},this.options={...event_manager_DEFAULT_OPTIONS,...options},this.events=new Map,this.setElement(element);const{events}=this.options;events&&this.on(events)}getElement(){return this.element}setElement(element){if(this.element&&this.destroy(),this.element=element,!element)return;const{options}=this,ManagerClass=options.Manager;this.manager=new ManagerClass(element,{touchAction:options.touchAction,recognizers:options.recognizers||RECOGNIZERS}).on("hammer.input",this._onBasicInput),options.recognizers||Object.keys(RECOGNIZER_COMPATIBLE_MAP).forEach((name=>{const recognizer=this.manager.get(name);recognizer&&RECOGNIZER_COMPATIBLE_MAP[name].forEach((otherName=>{recognizer.recognizeWith(otherName)}))}));for(const recognizerName in options.recognizerOptions){const recognizer=this.manager.get(recognizerName);if(recognizer){const recognizerOption=options.recognizerOptions[recognizerName];delete recognizerOption.enable,recognizer.set(recognizerOption)}}this.wheelInput=new WheelInput(element,this._onOtherEvent,{enable:!1}),this.moveInput=new MoveInput(element,this._onOtherEvent,{enable:!1}),this.keyInput=new KeyInput(element,this._onOtherEvent,{enable:!1,tabIndex:options.tabIndex}),this.contextmenuInput=new ContextmenuInput(element,this._onOtherEvent,{enable:!1});for(const[eventAlias,eventRegistrar]of this.events)eventRegistrar.isEmpty()||(this._toggleRecognizer(eventRegistrar.recognizerName,!0),this.manager.on(eventAlias,eventRegistrar.handleEvent))}destroy(){this.element&&(this.wheelInput.destroy(),this.moveInput.destroy(),this.keyInput.destroy(),this.contextmenuInput.destroy(),this.manager.destroy(),this.wheelInput=null,this.moveInput=null,this.keyInput=null,this.contextmenuInput=null,this.manager=null,this.element=null)}on(event,handler,opts){this._addEventHandler(event,handler,opts,!1)}once(event,handler,opts){this._addEventHandler(event,handler,opts,!0)}watch(event,handler,opts){this._addEventHandler(event,handler,opts,!1,!0)}off(event,handler){this._removeEventHandler(event,handler)}_toggleRecognizer(name,enabled){const{manager}=this;if(!manager)return;const recognizer=manager.get(name);if(recognizer&&recognizer.options.enable!==enabled){recognizer.set({enable:enabled});const fallbackRecognizers=RECOGNIZER_FALLBACK_MAP[name];fallbackRecognizers&&!this.options.recognizers&&fallbackRecognizers.forEach((otherName=>{const otherRecognizer=manager.get(otherName);enabled?(otherRecognizer.requireFailure(name),recognizer.dropRequireFailure(otherName)):otherRecognizer.dropRequireFailure(name)}))}this.wheelInput.enableEventType(name,enabled),this.moveInput.enableEventType(name,enabled),this.keyInput.enableEventType(name,enabled),this.contextmenuInput.enableEventType(name,enabled)}_addEventHandler(event,handler,opts,once,passive){if("string"!=typeof event){opts=handler;for(const eventName in event)this._addEventHandler(eventName,event[eventName],opts,once,passive);return}const{manager,events}=this,eventAlias=GESTURE_EVENT_ALIASES[event]||event;let eventRegistrar=events.get(eventAlias);eventRegistrar||(eventRegistrar=new EventRegistrar(this),events.set(eventAlias,eventRegistrar),eventRegistrar.recognizerName=EVENT_RECOGNIZER_MAP[eventAlias]||eventAlias,manager&&manager.on(eventAlias,eventRegistrar.handleEvent)),eventRegistrar.add(event,handler,opts,once,passive),eventRegistrar.isEmpty()||this._toggleRecognizer(eventRegistrar.recognizerName,!0)}_removeEventHandler(event,handler){if("string"!=typeof event){for(const eventName in event)this._removeEventHandler(eventName,event[eventName]);return}const{events}=this,eventAlias=GESTURE_EVENT_ALIASES[event]||event,eventRegistrar=events.get(eventAlias);if(eventRegistrar&&(eventRegistrar.remove(event,handler),eventRegistrar.isEmpty())){const{recognizerName}=eventRegistrar;let isRecognizerUsed=!1;for(const eh of events.values())if(eh.recognizerName===recognizerName&&!eh.isEmpty()){isRecognizerUsed=!0;break}isRecognizerUsed||this._toggleRecognizer(recognizerName,!1)}}}function deck_noop(){}const defaultProps={id:"",width:"100%",height:"100%",style:null,viewState:null,initialViewState:null,pickingRadius:0,layerFilter:null,glOptions:{},parameters:{},parent:null,gl:null,canvas:null,layers:[],effects:[],views:null,controller:null,useDevicePixels:!0,touchAction:"none",eventRecognizerOptions:{},_framebuffer:null,_animate:!1,_pickable:!0,_typedArrayManagerProps:{},_customRender:null,onWebGLInitialized:deck_noop,onResize:deck_noop,onViewStateChange:deck_noop,onInteractionStateChange:deck_noop,onBeforeRender:deck_noop,onAfterRender:deck_noop,onLoad:deck_noop,onError:error=>log.c.error(error.message)(),onHover:null,onClick:null,onDragStart:null,onDrag:null,onDragEnd:null,_onMetrics:null,getCursor:({isDragging})=>isDragging?"grabbing":"grab",getTooltip:null,debug:!1,drawPickingColors:!1};class Deck{constructor(props){(0,defineProperty.c)(this,"props",void 0),(0,defineProperty.c)(this,"width",0),(0,defineProperty.c)(this,"height",0),(0,defineProperty.c)(this,"userData",{}),(0,defineProperty.c)(this,"canvas",null),(0,defineProperty.c)(this,"viewManager",null),(0,defineProperty.c)(this,"layerManager",null),(0,defineProperty.c)(this,"effectManager",null),(0,defineProperty.c)(this,"deckRenderer",null),(0,defineProperty.c)(this,"deckPicker",null),(0,defineProperty.c)(this,"eventManager",null),(0,defineProperty.c)(this,"tooltip",null),(0,defineProperty.c)(this,"metrics",void 0),(0,defineProperty.c)(this,"animationLoop",void 0),(0,defineProperty.c)(this,"stats",void 0),(0,defineProperty.c)(this,"viewState",void 0),(0,defineProperty.c)(this,"cursorState",void 0),(0,defineProperty.c)(this,"_needsRedraw",void 0),(0,defineProperty.c)(this,"_pickRequest",void 0),(0,defineProperty.c)(this,"_lastPointerDownInfo",null),(0,defineProperty.c)(this,"_metricsCounter",void 0),(0,defineProperty.c)(this,"_onPointerMove",(event=>{const{_pickRequest}=this;if("pointerleave"===event.type)_pickRequest.x=-1,_pickRequest.y=-1,_pickRequest.radius=0;else{if(event.leftButton||event.rightButton)return;{const pos=event.offsetCenter;if(!pos)return;_pickRequest.x=pos.x,_pickRequest.y=pos.y,_pickRequest.radius=this.props.pickingRadius}}this.layerManager&&(this.layerManager.context.mousePosition={x:_pickRequest.x,y:_pickRequest.y}),_pickRequest.event=event})),(0,defineProperty.c)(this,"_onEvent",(event=>{const eventOptions=lib_constants.UH[event.type],pos=event.offsetCenter;if(!eventOptions||!pos||!this.layerManager)return;const layers=this.layerManager.getLayers(),info=this.deckPicker.getLastPickedObject({x:pos.x,y:pos.y,layers,viewports:this.getViewports(pos)},this._lastPointerDownInfo),{layer}=info,layerHandler=layer&&(layer[eventOptions.handler]||layer.props[eventOptions.handler]),rootHandler=this.props[eventOptions.handler];let handled=!1;layerHandler&&(handled=layerHandler.call(layer,info,event)),!handled&&rootHandler&&rootHandler(info,event)})),(0,defineProperty.c)(this,"_onPointerDown",(event=>{const pos=event.offsetCenter,pickedInfo=this._pick("pickObject","pickObject Time",{x:pos.x,y:pos.y,radius:this.props.pickingRadius});this._lastPointerDownInfo=pickedInfo.result[0]||pickedInfo.emptyInfo})),this.props={...defaultProps,...props},props=this.props,this._needsRedraw="Initial render",this._pickRequest={mode:"hover",x:-1,y:-1,radius:0,event:null},this.cursorState={isHovering:!1,isDragging:!1},props.viewState&&props.initialViewState&&log.c.warn("View state tracking is disabled. Use either `initialViewState` for auto update or `viewState` for manual update.")(),"IE"===(0,get_browser.c)()&&log.c.warn("IE 11 is not supported")(),this.viewState=props.initialViewState,props.gl||"undefined"!=typeof document&&(this.canvas=this._createCanvas(props)),this.animationLoop=this._createAnimationLoop(props),this.stats=new esm.k7({id:"deck.gl"}),this.metrics={fps:0,setPropsTime:0,updateAttributesTime:0,framesRedrawn:0,pickTime:0,pickCount:0,gpuTime:0,gpuTimePerFrame:0,cpuTime:0,cpuTimePerFrame:0,bufferMemory:0,textureMemory:0,renderbufferMemory:0,gpuMemory:0},this._metricsCounter=0,this.setProps(props),props._typedArrayManagerProps&&typed_array_manager.c.setOptions(props._typedArrayManagerProps),this.animationLoop.start()}finalize(){var _this$layerManager,_this$viewManager,_this$effectManager,_this$deckRenderer,_this$deckPicker,_this$eventManager,_this$tooltip,_this$canvas$parentEl;(this.animationLoop.stop(),this.animationLoop=null,this._lastPointerDownInfo=null,null===(_this$layerManager=this.layerManager)||void 0===_this$layerManager||_this$layerManager.finalize(),this.layerManager=null,null===(_this$viewManager=this.viewManager)||void 0===_this$viewManager||_this$viewManager.finalize(),this.viewManager=null,null===(_this$effectManager=this.effectManager)||void 0===_this$effectManager||_this$effectManager.finalize(),this.effectManager=null,null===(_this$deckRenderer=this.deckRenderer)||void 0===_this$deckRenderer||_this$deckRenderer.finalize(),this.deckRenderer=null,null===(_this$deckPicker=this.deckPicker)||void 0===_this$deckPicker||_this$deckPicker.finalize(),this.deckPicker=null,null===(_this$eventManager=this.eventManager)||void 0===_this$eventManager||_this$eventManager.destroy(),this.eventManager=null,null===(_this$tooltip=this.tooltip)||void 0===_this$tooltip||_this$tooltip.remove(),this.tooltip=null,this.props.canvas||this.props.gl||!this.canvas)||(null===(_this$canvas$parentEl=this.canvas.parentElement)||void 0===_this$canvas$parentEl||_this$canvas$parentEl.removeChild(this.canvas),this.canvas=null)}setProps(props){this.stats.get("setProps Time").timeStart(),"onLayerHover"in props&&log.c.removed("onLayerHover","onHover")(),"onLayerClick"in props&&log.c.removed("onLayerClick","onClick")(),props.initialViewState&&!(0,deep_equal.I)(this.props.initialViewState,props.initialViewState)&&(this.viewState=props.initialViewState),Object.assign(this.props,props),this._setCanvasSize(this.props);const resolvedProps=Object.create(this.props);Object.assign(resolvedProps,{views:this._getViews(),width:this.width,height:this.height,viewState:this._getViewState()}),this.animationLoop.setProps(resolvedProps),this.layerManager&&(this.viewManager.setProps(resolvedProps),this.layerManager.activateViewport(this.getViewports()[0]),this.layerManager.setProps(resolvedProps),this.effectManager.setProps(resolvedProps),this.deckRenderer.setProps(resolvedProps),this.deckPicker.setProps(resolvedProps)),this.stats.get("setProps Time").timeEnd()}needsRedraw(opts={clearRedrawFlags:!1}){if(!this.layerManager)return!1;if(this.props._animate)return"Deck._animate";let redraw=this._needsRedraw;opts.clearRedrawFlags&&(this._needsRedraw=!1);const viewManagerNeedsRedraw=this.viewManager.needsRedraw(opts),layerManagerNeedsRedraw=this.layerManager.needsRedraw(opts),effectManagerNeedsRedraw=this.effectManager.needsRedraw(opts),deckRendererNeedsRedraw=this.deckRenderer.needsRedraw(opts);return redraw=redraw||viewManagerNeedsRedraw||layerManagerNeedsRedraw||effectManagerNeedsRedraw||deckRendererNeedsRedraw,redraw}redraw(reason){if(!this.layerManager)return;let redrawReason=this.needsRedraw({clearRedrawFlags:!0});redrawReason=reason||redrawReason,redrawReason&&(this.stats.get("Redraw Count").incrementCount(),this.props._customRender?this.props._customRender(redrawReason):this._drawLayers(redrawReason))}get isInitialized(){return null!==this.viewManager}getViews(){return(0,assert.c)(this.viewManager),this.viewManager.views}getViewports(rect){return(0,assert.c)(this.viewManager),this.viewManager.getViewports(rect)}pickObject(opts){const infos=this._pick("pickObject","pickObject Time",opts).result;return infos.length?infos[0]:null}pickMultipleObjects(opts){return opts.depth=opts.depth||10,this._pick("pickObject","pickMultipleObjects Time",opts).result}pickObjects(opts){return this._pick("pickObjects","pickObjects Time",opts)}_addResources(resources,forceUpdate=!1){for(const id in resources)this.layerManager.resourceManager.add({resourceId:id,data:resources[id],forceUpdate})}_removeResources(resourceIds){for(const id of resourceIds)this.layerManager.resourceManager.remove(id)}_pick(method,statKey,opts){(0,assert.c)(this.deckPicker);const{stats}=this;stats.get("Pick Count").incrementCount(),stats.get(statKey).timeStart();const infos=this.deckPicker[method]({layers:this.layerManager.getLayers(opts),views:this.viewManager.getViews(),viewports:this.getViewports(opts),onViewportActive:this.layerManager.activateViewport,effects:this.effectManager.getEffects(),...opts});return stats.get(statKey).timeEnd(),infos}_createCanvas(props){let canvas=props.canvas;if("string"==typeof canvas&&(canvas=document.getElementById(canvas),(0,assert.c)(canvas)),!canvas){canvas=document.createElement("canvas"),canvas.id=props.id||"deckgl-overlay";(props.parent||document.body).appendChild(canvas)}return Object.assign(canvas.style,props.style),canvas}_setCanvasSize(props){if(!this.canvas)return;const{width,height}=props;if(width||0===width){const cssWidth=Number.isFinite(width)?"".concat(width,"px"):width;this.canvas.style.width=cssWidth}if(height||0===height){var _props$style;const cssHeight=Number.isFinite(height)?"".concat(height,"px"):height;this.canvas.style.position=(null===(_props$style=props.style)||void 0===_props$style?void 0:_props$style.position)||"absolute",this.canvas.style.height=cssHeight}}_updateCanvasSize(){const{canvas}=this;if(!canvas)return;const newWidth=canvas.clientWidth||canvas.width,newHeight=canvas.clientHeight||canvas.height;var _this$viewManager2;newWidth===this.width&&newHeight===this.height||(this.width=newWidth,this.height=newHeight,null===(_this$viewManager2=this.viewManager)||void 0===_this$viewManager2||_this$viewManager2.setProps({width:newWidth,height:newHeight}),this.props.onResize({width:newWidth,height:newHeight}))}_createAnimationLoop(props){const{width,height,gl,glOptions,debug,onError,onBeforeRender,onAfterRender,useDevicePixels}=props;return new AnimationLoop({width,height,useDevicePixels,autoResizeViewport:!1,gl,onCreateContext:opts=>(0,gltools_dist_esm.yI)({...glOptions,...opts,canvas:this.canvas,debug,onContextLost:()=>this._onContextLost()}),onInitialize:context=>this._setGLContext(context.gl),onRender:this._onRenderFrame.bind(this),onBeforeRender,onAfterRender,onError})}_getViewState(){return this.props.viewState||this.viewState}_getViews(){let views=this.props.views||[new MapView({id:"default-view"})];return views=Array.isArray(views)?views:[views],views.length&&this.props.controller&&(views[0].props.controller=this.props.controller),views}_onContextLost(){const{onError}=this.props;this.animationLoop&&onError&&onError(new Error("WebGL context is lost"))}_pickAndCallback(){const{_pickRequest}=this;if(_pickRequest.event){const{result,emptyInfo}=this._pick("pickObject","pickObject Time",_pickRequest);this.cursorState.isHovering=result.length>0;let pickedInfo=emptyInfo,handled=!1;for(const info of result){var _info$layer;pickedInfo=info,handled=(null===(_info$layer=info.layer)||void 0===_info$layer?void 0:_info$layer.onHover(info,_pickRequest.event))||handled}if(!handled&&this.props.onHover&&this.props.onHover(pickedInfo,_pickRequest.event),this.props.getTooltip&&this.tooltip){const displayInfo=this.props.getTooltip(pickedInfo);this.tooltip.setTooltip(displayInfo,pickedInfo.x,pickedInfo.y)}_pickRequest.event=null}}_updateCursor(){const container=this.props.parent||this.canvas;container&&(container.style.cursor=this.props.getCursor(this.cursorState))}_setGLContext(gl){if(this.layerManager)return;this.canvas||(this.canvas=gl.canvas,(0,gltools_dist_esm.W4)(gl,{enable:!0,copyState:!0})),this.tooltip=new Tooltip(this.canvas),(0,gltools_dist_esm.Gm)(gl,{blend:!0,blendFunc:[770,771,1,771],polygonOffsetFill:!0,depthTest:!0,depthFunc:515}),this.props.onWebGLInitialized(gl);const timeline=new Timeline;timeline.play(),this.animationLoop.attachTimeline(timeline),this.eventManager=new EventManager(this.props.parent||gl.canvas,{touchAction:this.props.touchAction,recognizerOptions:this.props.eventRecognizerOptions,events:{pointerdown:this._onPointerDown,pointermove:this._onPointerMove,pointerleave:this._onPointerMove}});for(const eventType in lib_constants.UH)this.eventManager.on(eventType,this._onEvent);this.viewManager=new ViewManager({timeline,eventManager:this.eventManager,onViewStateChange:this._onViewStateChange.bind(this),onInteractionStateChange:this._onInteractionStateChange.bind(this),views:this._getViews(),viewState:this._getViewState(),width:this.width,height:this.height});const viewport=this.viewManager.getViewports()[0];this.layerManager=new LayerManager(gl,{deck:this,stats:this.stats,viewport,timeline}),this.effectManager=new EffectManager,this.deckRenderer=new DeckRenderer(gl),this.deckPicker=new DeckPicker(gl),this.setProps(this.props),this._updateCanvasSize(),this.props.onLoad()}_drawLayers(redrawReason,renderOptions){const{gl}=this.layerManager.context;(0,gltools_dist_esm.Gm)(gl,this.props.parameters),this.props.onBeforeRender({gl}),this.deckRenderer.renderLayers({target:this.props._framebuffer,layers:this.layerManager.getLayers(),viewports:this.viewManager.getViewports(),onViewportActive:this.layerManager.activateViewport,views:this.viewManager.getViews(),pass:"screen",redrawReason,effects:this.effectManager.getEffects(),...renderOptions}),this.props.onAfterRender({gl})}_onRenderFrame(animationProps){this._getFrameStats(),this._metricsCounter++%60==0&&(this._getMetrics(),this.stats.reset(),log.c.table(4,this.metrics)(),this.props._onMetrics&&this.props._onMetrics(this.metrics)),this._updateCanvasSize(),this._updateCursor(),this.tooltip.isVisible&&this.viewManager.needsRedraw()&&this.tooltip.setTooltip(null),this.layerManager.updateLayers(),this._pickAndCallback(),this.redraw(),this.viewManager&&this.viewManager.updateViewStates()}_onViewStateChange(params){const viewState=this.props.onViewStateChange(params)||params.viewState;this.viewState&&(this.viewState={...this.viewState,[params.viewId]:viewState},this.props.viewState||this.viewManager&&this.viewManager.setProps({viewState:this.viewState}))}_onInteractionStateChange(interactionState){this.cursorState.isDragging=interactionState.isDragging||!1,this.props.onInteractionStateChange(interactionState)}_getFrameStats(){const{stats}=this;stats.get("frameRate").timeEnd(),stats.get("frameRate").timeStart();const animationLoopStats=this.animationLoop.stats;stats.get("GPU Time").addTime(animationLoopStats.get("GPU Time").lastTiming),stats.get("CPU Time").addTime(animationLoopStats.get("CPU Time").lastTiming)}_getMetrics(){const{metrics,stats}=this;metrics.fps=stats.get("frameRate").getHz(),metrics.setPropsTime=stats.get("setProps Time").time,metrics.updateAttributesTime=stats.get("Update Attributes").time,metrics.framesRedrawn=stats.get("Redraw Count").count,metrics.pickTime=stats.get("pickObject Time").time+stats.get("pickMultipleObjects Time").time+stats.get("pickObjects Time").time,metrics.pickCount=stats.get("Pick Count").count,metrics.gpuTime=stats.get("GPU Time").time,metrics.cpuTime=stats.get("CPU Time").time,metrics.gpuTimePerFrame=stats.get("GPU Time").getAverageTime(),metrics.cpuTimePerFrame=stats.get("CPU Time").getAverageTime();const memoryStats=esm_init.e8.get("Memory Usage");metrics.bufferMemory=memoryStats.get("Buffer Memory").count,metrics.textureMemory=memoryStats.get("Texture Memory").count,metrics.renderbufferMemory=memoryStats.get("Renderbuffer Memory").count,metrics.gpuMemory=memoryStats.get("GPU Memory").count}}(0,defineProperty.c)(Deck,"defaultProps",defaultProps),(0,defineProperty.c)(Deck,"VERSION",init.VERSION);const use_isomorphic_layout_effect="undefined"!=typeof window?react.useLayoutEffect:react.useEffect;function inheritsFrom(Type,ParentType){for(;Type;){if(Type===ParentType)return!0;Type=Object.getPrototypeOf(Type)}return!1}var lib_layer=__webpack_require__("./node_modules/@deck.gl/core/dist/esm/lib/layer.js");const MAP_STYLE={position:"absolute",zIndex:-1};function evaluateChildren(children,childProps){if("function"==typeof children)return children(childProps);if(Array.isArray(children))return children.map((child=>evaluateChildren(child,childProps)));if(isComponent(children)){if(function isReactMap(child){const componentClass=child.type,componentProps=componentClass&&componentClass.defaultProps;return componentProps&&componentProps.mapStyle}(children))return childProps.style=MAP_STYLE,(0,react.cloneElement)(children,childProps);if(function needsDeckGLViewProps(child){const componentClass=child.type;return componentClass&&componentClass.deckGLViewProps}(children))return(0,react.cloneElement)(children,childProps)}return children}function isComponent(child){return child&&"object"==typeof child&&"type"in child||!1}function wrapInView(node){if("function"==typeof node)return(0,react.createElement)(View,{},node);if(Array.isArray(node))return node.map(wrapInView);if(isComponent(node)){if(node.type===react.Fragment)return wrapInView(node.props.children);if(inheritsFrom(node.type,View))return node}return node}const CANVAS_ONLY_STYLES={mixBlendMode:null};function redrawDeck(thisRef){thisRef.redrawReason&&(thisRef.deck._drawLayers(thisRef.redrawReason),thisRef.redrawReason=null)}const DeckGL=(0,react.forwardRef)(((props,ref)=>{const[version,setVersion]=(0,react.useState)(0),thisRef=(0,react.useRef)({control:null,version,forceUpdate:()=>setVersion((v=>v+1))}).current,containerRef=(0,react.useRef)(null),canvasRef=(0,react.useRef)(null),jsxProps=(0,react.useMemo)((()=>function extractJSXLayers({children,layers=[],views=null}){const reactChildren=[],jsxLayers=[],jsxViews={};return react.Children.forEach(wrapInView(children),(reactElement=>{if(isComponent(reactElement)){const ElementType=reactElement.type;if(inheritsFrom(ElementType,lib_layer.c)){const layer=function createLayer(LayerType,reactProps){const props={},defaultProps=LayerType.defaultProps||{};for(const key in reactProps)defaultProps[key]!==reactProps[key]&&(props[key]=reactProps[key]);return new LayerType(props)}(ElementType,reactElement.props);jsxLayers.push(layer)}else reactChildren.push(reactElement);if(inheritsFrom(ElementType,View)&&ElementType!==View&&reactElement.props.id){const view=new ElementType(reactElement.props);jsxViews[view.id]=view}}else reactElement&&reactChildren.push(reactElement)})),Object.keys(jsxViews).length>0&&(Array.isArray(views)?views.forEach((view=>{jsxViews[view.id]=view})):views&&(jsxViews[views.id]=views),views=Object.values(jsxViews)),{layers:layers=jsxLayers.length>0?[...jsxLayers,...layers]:layers,children:reactChildren,views}}(props)),[props.layers,props.views,props.children]);let inRender=!0;const handleViewStateChange=params=>{var _props$onViewStateCha;return inRender&&props.viewState?(thisRef.viewStateUpdateRequested=params,null):(thisRef.viewStateUpdateRequested=null,null===(_props$onViewStateCha=props.onViewStateChange)||void 0===_props$onViewStateCha?void 0:_props$onViewStateCha.call(props,params))},handleInteractionStateChange=params=>{var _props$onInteractionS;inRender?thisRef.interactionStateUpdateRequested=params:(thisRef.interactionStateUpdateRequested=null,null===(_props$onInteractionS=props.onInteractionStateChange)||void 0===_props$onInteractionS||_props$onInteractionS.call(props,params))},deckProps=(0,react.useMemo)((()=>{const forwardProps={...props,style:null,width:"100%",height:"100%",parent:containerRef.current,canvas:canvasRef.current,layers:jsxProps.layers,views:jsxProps.views,onViewStateChange:handleViewStateChange,onInteractionStateChange:handleInteractionStateChange};return delete forwardProps._customRender,thisRef.deck&&thisRef.deck.setProps(forwardProps),forwardProps}),[props]);(0,react.useEffect)((()=>{const DeckClass=props.Deck||Deck;return thisRef.deck=function createDeckInstance(thisRef,DeckClass,props){const deck=new DeckClass({...props,_customRender:redrawReason=>{thisRef.redrawReason=redrawReason;const viewports=deck.getViewports();thisRef.lastRenderedViewports!==viewports?thisRef.forceUpdate():redrawDeck(thisRef)}});return deck}(thisRef,DeckClass,{...deckProps,parent:containerRef.current,canvas:canvasRef.current}),()=>{var _thisRef$deck;return null===(_thisRef$deck=thisRef.deck)||void 0===_thisRef$deck?void 0:_thisRef$deck.finalize()}}),[]),use_isomorphic_layout_effect((()=>{redrawDeck(thisRef);const{viewStateUpdateRequested,interactionStateUpdateRequested}=thisRef;viewStateUpdateRequested&&handleViewStateChange(viewStateUpdateRequested),interactionStateUpdateRequested&&handleInteractionStateChange(interactionStateUpdateRequested)})),(0,react.useImperativeHandle)(ref,(()=>function getRefHandles(thisRef){return{get deck(){return thisRef.deck},pickObject:opts=>thisRef.deck.pickObject(opts),pickMultipleObjects:opts=>thisRef.deck.pickMultipleObjects(opts),pickObjects:opts=>thisRef.deck.pickObjects(opts)}}(thisRef)),[]);const currentViewports=thisRef.deck&&thisRef.deck.isInitialized?thisRef.deck.getViewports():void 0,{ContextProvider,width,height,id,style}=props,{containerStyle,canvasStyle}=(0,react.useMemo)((()=>function extractStyles({width,height,style}){const containerStyle={position:"absolute",zIndex:0,left:0,top:0,width,height},canvasStyle={left:0,top:0};if(style)for(const key in style)key in CANVAS_ONLY_STYLES?canvasStyle[key]=style[key]:containerStyle[key]=style[key];return{containerStyle,canvasStyle}}({width,height,style})),[width,height,style]);if(!thisRef.viewStateUpdateRequested&&thisRef.lastRenderedViewports===currentViewports||thisRef.version!==version){thisRef.lastRenderedViewports=currentViewports,thisRef.version=version;const childrenUnderViews=function positionChildrenUnderViews({children,deck,ContextProvider}){const{viewManager}=deck||{};if(!viewManager||!viewManager.views.length)return[];const views={},defaultViewId=viewManager.views[0].id;for(const child of children){let viewId=defaultViewId,viewChildren=child;isComponent(child)&&inheritsFrom(child.type,View)&&(viewId=child.props.id||defaultViewId,viewChildren=child.props.children);const viewport=viewManager.getViewport(viewId),viewState=viewManager.getViewState(viewId);if(viewport){const{x,y,width,height}=viewport;viewChildren=evaluateChildren(viewChildren,{x,y,width,height,viewport,viewState}),views[viewId]||(views[viewId]={viewport,children:[]}),views[viewId].children.push(viewChildren)}}return Object.keys(views).map((viewId=>{const{viewport,children:viewChildren}=views[viewId],{x,y,width,height}=viewport,style={position:"absolute",left:x,top:y,width,height},key="view-".concat(viewId),viewElement=(0,react.createElement)("div",{key,id:key,style},...viewChildren);if(ContextProvider){const contextValue={viewport,container:deck.canvas.offsetParent,eventManager:deck.eventManager,onViewStateChange:params=>{params.viewId=viewId,deck._onViewStateChange(params)}};return(0,react.createElement)(ContextProvider,{key,value:contextValue},viewElement)}return viewElement}))}({children:jsxProps.children,deck:thisRef.deck,ContextProvider}),canvas=(0,react.createElement)("canvas",{key:"canvas",id:id||"deckgl-overlay",ref:canvasRef,style:canvasStyle});thisRef.control=(0,react.createElement)("div",{id:"".concat(id||"deckgl","-wrapper"),ref:containerRef,style:containerStyle},[canvas,childrenUnderViews])}return inRender=!1,thisRef.control}));DeckGL.defaultProps=Deck.defaultProps;const deckgl=DeckGL},"./node_modules/@loaders.gl/core/dist/esm/javascript-utils/is-type.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ed:()=>isReadableStream,Ev:()=>isAsyncIterable,Y9:()=>isObject,Yf:()=>isBlob,Yt:()=>isPureObject,e6:()=>isBuffer,iu:()=>isIterable,q5:()=>isResponse});const isBoolean=x=>"boolean"==typeof x,isFunction=x=>"function"==typeof x,isObject=x=>null!==x&&"object"==typeof x,isPureObject=x=>isObject(x)&&x.constructor==={}.constructor,isIterable=x=>x&&"function"==typeof x[Symbol.iterator],isAsyncIterable=x=>x&&"function"==typeof x[Symbol.asyncIterator],isResponse=x=>"undefined"!=typeof Response&&x instanceof Response||x&&x.arrayBuffer&&x.text&&x.json,isBlob=x=>"undefined"!=typeof Blob&&x instanceof Blob,isBuffer=x=>x&&"object"==typeof x&&x.isBuffer,isReadableStream=x=>(x=>"undefined"!=typeof ReadableStream&&x instanceof ReadableStream||isObject(x)&&isFunction(x.tee)&&isFunction(x.cancel)&&isFunction(x.getReader))(x)||(x=>isObject(x)&&isFunction(x.read)&&isFunction(x.pipe)&&isBoolean(x.readable))(x)},"./node_modules/@loaders.gl/core/dist/esm/lib/api/load.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>load});var is_type=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/javascript-utils/is-type.js"),normalize_loader=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/loader-utils/normalize-loader.js");let pathPrefix="";const fileAliases={};const DATA_URL_PATTERN=/^data:([-\w.]+\/[-\w.+]+)(;|,)/,MIME_TYPE_PATTERN=/^([-\w.]+\/[-\w.+]+)/;function parseMIMETypeFromURL(url){const matches=DATA_URL_PATTERN.exec(url);return matches?matches[1]:""}const QUERY_STRING_PATTERN=/\?.*/;function stripQueryString(url){return url.replace(QUERY_STRING_PATTERN,"")}function getResourceUrl(resource){if((0,is_type.q5)(resource)){return resource.url}if((0,is_type.Yf)(resource)){return resource.name||""}return"string"==typeof resource?resource:""}function getResourceMIMEType(resource){if((0,is_type.q5)(resource)){const response=resource,contentTypeHeader=response.headers.get("content-type")||"",noQueryUrl=stripQueryString(response.url);return function parseMIMEType(mimeString){const matches=MIME_TYPE_PATTERN.exec(mimeString);return matches?matches[1]:mimeString}(contentTypeHeader)||parseMIMETypeFromURL(noQueryUrl)}if((0,is_type.Yf)(resource)){return resource.type||""}return"string"==typeof resource?parseMIMETypeFromURL(resource):""}async function response_utils_makeResponse(resource){if((0,is_type.q5)(resource))return resource;const headers={},contentLength=function getResourceContentLength(resource){if((0,is_type.q5)(resource))return resource.headers["content-length"]||-1;if((0,is_type.Yf)(resource))return resource.size;return"string"==typeof resource?resource.length:resource instanceof ArrayBuffer||ArrayBuffer.isView(resource)?resource.byteLength:-1}(resource);contentLength>=0&&(headers["content-length"]=String(contentLength));const url=getResourceUrl(resource),type=getResourceMIMEType(resource);type&&(headers["content-type"]=type);const initialDataUrl=await async function getInitialDataUrl(resource){const INITIAL_DATA_LENGTH=5;if("string"==typeof resource)return"data:,".concat(resource.slice(0,INITIAL_DATA_LENGTH));if(resource instanceof Blob){const blobSlice=resource.slice(0,5);return await new Promise((resolve=>{const reader=new FileReader;reader.onload=event=>{var _event$target;return resolve(null==event||null===(_event$target=event.target)||void 0===_event$target?void 0:_event$target.result)},reader.readAsDataURL(blobSlice)}))}if(resource instanceof ArrayBuffer){const base64=function arrayBufferToBase64(buffer){let binary="";const bytes=new Uint8Array(buffer);for(let i=0;i<bytes.byteLength;i++)binary+=String.fromCharCode(bytes[i]);return btoa(binary)}(resource.slice(0,INITIAL_DATA_LENGTH));return"data:base64,".concat(base64)}return null}(resource);initialDataUrl&&(headers["x-first-bytes"]=initialDataUrl),"string"==typeof resource&&(resource=(new TextEncoder).encode(resource));const response=new Response(resource,{headers});return Object.defineProperty(response,"url",{value:url}),response}async function fetchFile(url,options){if("string"==typeof url){url=function resolvePath(filename){for(const alias in fileAliases)if(filename.startsWith(alias)){const replacement=fileAliases[alias];filename=filename.replace(alias,replacement)}return filename.startsWith("http://")||filename.startsWith("https://")||(filename="".concat(pathPrefix).concat(filename)),filename}(url);let fetchOptions=options;return null!=options&&options.fetch&&"function"!=typeof(null==options?void 0:options.fetch)&&(fetchOptions=options.fetch),await fetch(url,fetchOptions)}return await response_utils_makeResponse(url)}var option_utils=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/loader-utils/option-utils.js");function getFetchFunction(options,context){const globalOptions=(0,option_utils.Qj)(),fetchOptions=options||globalOptions;return"function"==typeof fetchOptions.fetch?fetchOptions.fetch:(0,is_type.Y9)(fetchOptions.fetch)?url=>fetchFile(url,fetchOptions):null!=context&&context.fetch?null==context?void 0:context.fetch:fetchFile}function assert(condition,message){if(!condition)throw new Error(message||"loaders.gl assertion failed.")}const VERSION="3.4.14";var process=__webpack_require__("./node_modules/process/browser.js");"undefined"!=typeof self&&self,"undefined"!=typeof window&&window,void 0!==__webpack_require__.g&&__webpack_require__.g,"undefined"!=typeof document&&document;const isBrowser="object"!=typeof process||"[object process]"!==String(process)||process.browser,isMobile="undefined"!=typeof window&&void 0!==window.orientation,matches=void 0!==process&&process.version&&/v([0-9]*)/.exec(process.version);matches&&parseFloat(matches[1]);var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");class worker_threads_browser_Worker{terminate(){}}const workerURLCache=new Map;function getLoadableWorkerURL(props){assert(props.source&&!props.url||!props.source&&props.url);let workerURL=workerURLCache.get(props.source||props.url);return workerURL||(props.url&&(workerURL=function getLoadableWorkerURLFromURL(url){if(!url.startsWith("http"))return url;return getLoadableWorkerURLFromSource(function buildScriptSource(workerUrl){return"try {\n importScripts('".concat(workerUrl,"');\n} catch (error) {\n console.error(error);\n throw error;\n}")}(url))}(props.url),workerURLCache.set(props.url,workerURL)),props.source&&(workerURL=getLoadableWorkerURLFromSource(props.source),workerURLCache.set(props.source,workerURL))),assert(workerURL),workerURL}function getLoadableWorkerURLFromSource(workerSource){const blob=new Blob([workerSource],{type:"application/javascript"});return URL.createObjectURL(blob)}function getTransferList(object){let recursive=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],transfers=arguments.length>2?arguments[2]:void 0;const transfersSet=transfers||new Set;if(object){if(isTransferable(object))transfersSet.add(object);else if(isTransferable(object.buffer))transfersSet.add(object.buffer);else if(ArrayBuffer.isView(object));else if(recursive&&"object"==typeof object)for(const key in object)getTransferList(object[key],recursive,transfersSet)}else;return void 0===transfers?Array.from(transfersSet):[]}function isTransferable(object){return!!object&&(object instanceof ArrayBuffer||("undefined"!=typeof MessagePort&&object instanceof MessagePort||("undefined"!=typeof ImageBitmap&&object instanceof ImageBitmap||"undefined"!=typeof OffscreenCanvas&&object instanceof OffscreenCanvas)))}const NOOP=()=>{};class WorkerThread{static isSupported(){return"undefined"!=typeof Worker&&isBrowser||void 0!==worker_threads_browser_Worker&&!isBrowser}constructor(props){(0,defineProperty.c)(this,"name",void 0),(0,defineProperty.c)(this,"source",void 0),(0,defineProperty.c)(this,"url",void 0),(0,defineProperty.c)(this,"terminated",!1),(0,defineProperty.c)(this,"worker",void 0),(0,defineProperty.c)(this,"onMessage",void 0),(0,defineProperty.c)(this,"onError",void 0),(0,defineProperty.c)(this,"_loadableURL","");const{name,source,url}=props;assert(source||url),this.name=name,this.source=source,this.url=url,this.onMessage=NOOP,this.onError=error=>console.log(error),this.worker=isBrowser?this._createBrowserWorker():this._createNodeWorker()}destroy(){this.onMessage=NOOP,this.onError=NOOP,this.worker.terminate(),this.terminated=!0}get isRunning(){return Boolean(this.onMessage)}postMessage(data,transferList){transferList=transferList||getTransferList(data),this.worker.postMessage(data,transferList)}_getErrorFromErrorEvent(event){let message="Failed to load ";return message+="worker ".concat(this.name," from ").concat(this.url,". "),event.message&&(message+="".concat(event.message," in ")),event.lineno&&(message+=":".concat(event.lineno,":").concat(event.colno)),new Error(message)}_createBrowserWorker(){this._loadableURL=getLoadableWorkerURL({source:this.source,url:this.url});const worker=new Worker(this._loadableURL,{name:this.name});return worker.onmessage=event=>{event.data?this.onMessage(event.data):this.onError(new Error("No data received"))},worker.onerror=error=>{this.onError(this._getErrorFromErrorEvent(error)),this.terminated=!0},worker.onmessageerror=event=>console.error(event),worker}_createNodeWorker(){let worker;if(this.url){const url=this.url.includes(":/")||this.url.startsWith("/")?this.url:"./".concat(this.url);worker=new worker_threads_browser_Worker(url,{eval:!1})}else{if(!this.source)throw new Error("no worker");worker=new worker_threads_browser_Worker(this.source,{eval:!0})}return worker.on("message",(data=>{this.onMessage(data)})),worker.on("error",(error=>{this.onError(error)})),worker.on("exit",(code=>{})),worker}}class WorkerJob{constructor(jobName,workerThread){(0,defineProperty.c)(this,"name",void 0),(0,defineProperty.c)(this,"workerThread",void 0),(0,defineProperty.c)(this,"isRunning",!0),(0,defineProperty.c)(this,"result",void 0),(0,defineProperty.c)(this,"_resolve",(()=>{})),(0,defineProperty.c)(this,"_reject",(()=>{})),this.name=jobName,this.workerThread=workerThread,this.result=new Promise(((resolve,reject)=>{this._resolve=resolve,this._reject=reject}))}postMessage(type,payload){this.workerThread.postMessage({source:"loaders.gl",type,payload})}done(value){assert(this.isRunning),this.isRunning=!1,this._resolve(value)}error(error){assert(this.isRunning),this.isRunning=!1,this._reject(error)}}class WorkerPool{static isSupported(){return WorkerThread.isSupported()}constructor(props){(0,defineProperty.c)(this,"name","unnamed"),(0,defineProperty.c)(this,"source",void 0),(0,defineProperty.c)(this,"url",void 0),(0,defineProperty.c)(this,"maxConcurrency",1),(0,defineProperty.c)(this,"maxMobileConcurrency",1),(0,defineProperty.c)(this,"onDebug",(()=>{})),(0,defineProperty.c)(this,"reuseWorkers",!0),(0,defineProperty.c)(this,"props",{}),(0,defineProperty.c)(this,"jobQueue",[]),(0,defineProperty.c)(this,"idleQueue",[]),(0,defineProperty.c)(this,"count",0),(0,defineProperty.c)(this,"isDestroyed",!1),this.source=props.source,this.url=props.url,this.setProps(props)}destroy(){this.idleQueue.forEach((worker=>worker.destroy())),this.isDestroyed=!0}setProps(props){this.props={...this.props,...props},void 0!==props.name&&(this.name=props.name),void 0!==props.maxConcurrency&&(this.maxConcurrency=props.maxConcurrency),void 0!==props.maxMobileConcurrency&&(this.maxMobileConcurrency=props.maxMobileConcurrency),void 0!==props.reuseWorkers&&(this.reuseWorkers=props.reuseWorkers),void 0!==props.onDebug&&(this.onDebug=props.onDebug)}async startJob(name){let onMessage=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(job,type,data)=>job.done(data),onError=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(job,error)=>job.error(error);const startPromise=new Promise((onStart=>(this.jobQueue.push({name,onMessage,onError,onStart}),this)));return this._startQueuedJob(),await startPromise}async _startQueuedJob(){if(!this.jobQueue.length)return;const workerThread=this._getAvailableWorker();if(!workerThread)return;const queuedJob=this.jobQueue.shift();if(queuedJob){this.onDebug({message:"Starting job",name:queuedJob.name,workerThread,backlog:this.jobQueue.length});const job=new WorkerJob(queuedJob.name,workerThread);workerThread.onMessage=data=>queuedJob.onMessage(job,data.type,data.payload),workerThread.onError=error=>queuedJob.onError(job,error),queuedJob.onStart(job);try{await job.result}finally{this.returnWorkerToQueue(workerThread)}}}returnWorkerToQueue(worker){this.isDestroyed||!this.reuseWorkers||this.count>this._getMaxConcurrency()?(worker.destroy(),this.count--):this.idleQueue.push(worker),this.isDestroyed||this._startQueuedJob()}_getAvailableWorker(){if(this.idleQueue.length>0)return this.idleQueue.shift()||null;if(this.count<this._getMaxConcurrency()){this.count++;const name="".concat(this.name.toLowerCase()," (#").concat(this.count," of ").concat(this.maxConcurrency,")");return new WorkerThread({name,source:this.source,url:this.url})}return null}_getMaxConcurrency(){return isMobile?this.maxMobileConcurrency:this.maxConcurrency}}const DEFAULT_PROPS={maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:!0,onDebug:()=>{}};class WorkerFarm{static isSupported(){return WorkerThread.isSupported()}static getWorkerFarm(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return WorkerFarm._workerFarm=WorkerFarm._workerFarm||new WorkerFarm({}),WorkerFarm._workerFarm.setProps(props),WorkerFarm._workerFarm}constructor(props){(0,defineProperty.c)(this,"props",void 0),(0,defineProperty.c)(this,"workerPools",new Map),this.props={...DEFAULT_PROPS},this.setProps(props),this.workerPools=new Map}destroy(){for(const workerPool of this.workerPools.values())workerPool.destroy();this.workerPools=new Map}setProps(props){this.props={...this.props,...props};for(const workerPool of this.workerPools.values())workerPool.setProps(this._getWorkerPoolProps())}getWorkerPool(options){const{name,source,url}=options;let workerPool=this.workerPools.get(name);return workerPool||(workerPool=new WorkerPool({name,source,url}),workerPool.setProps(this._getWorkerPoolProps()),this.workerPools.set(name,workerPool)),workerPool}_getWorkerPoolProps(){return{maxConcurrency:this.props.maxConcurrency,maxMobileConcurrency:this.props.maxMobileConcurrency,reuseWorkers:this.props.reuseWorkers,onDebug:this.props.onDebug}}}(0,defineProperty.c)(WorkerFarm,"_workerFarm",void 0);const NPM_TAG="latest";async function parseWithWorker(loader,data,options,context,parseOnMainThread){const name=loader.id,url=function getWorkerURL(worker){let options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const workerOptions=options[worker.id]||{},workerFile="".concat(worker.id,"-worker.js");let url=workerOptions.workerUrl;if(url||"compression"!==worker.id||(url=options.workerUrl),"test"===options._workerType&&(url="modules/".concat(worker.module,"/dist/").concat(workerFile)),!url){let version=worker.version;"latest"===version&&(version=NPM_TAG);const versionTag=version?"@".concat(version):"";url="https://unpkg.com/@loaders.gl/".concat(worker.module).concat(versionTag,"/dist/").concat(workerFile)}return assert(url),url}(loader,options),workerPool=WorkerFarm.getWorkerFarm(options).getWorkerPool({name,url});options=JSON.parse(JSON.stringify(options)),context=JSON.parse(JSON.stringify(context||{}));const job=await workerPool.startJob("process-on-worker",onMessage.bind(null,parseOnMainThread));job.postMessage("process",{input:data,options,context});const result=await job.result;return await result.result}async function onMessage(parseOnMainThread,job,type,payload){switch(type){case"done":job.done(payload);break;case"error":job.error(new Error(payload.error));break;case"process":const{id,input,options}=payload;try{const result=await parseOnMainThread(input,options);job.postMessage("done",{id,result})}catch(error){const message=error instanceof Error?error.message:"unknown error";job.postMessage("error",{id,error:message})}break;default:console.warn("parse-with-worker unknown message ".concat(type))}}async function concatenateArrayBuffersAsync(asyncIterator){const arrayBuffers=[];for await(const chunk of asyncIterator)arrayBuffers.push(chunk);return function concatenateArrayBuffers(){for(var _len=arguments.length,sources=new Array(_len),_key=0;_key<_len;_key++)sources[_key]=arguments[_key];const sourceArrays=sources.map((source2=>source2 instanceof ArrayBuffer?new Uint8Array(source2):source2)),byteLength=sourceArrays.reduce(((length,typedArray)=>length+typedArray.byteLength),0),result=new Uint8Array(byteLength);let offset=0;for(const sourceArray of sourceArrays)result.set(sourceArray,offset),offset+=sourceArray.byteLength;return result.buffer}(...arrayBuffers)}const DEFAULT_CHUNK_SIZE=262144;const make_array_buffer_iterator_DEFAULT_CHUNK_SIZE=262144;const make_blob_iterator_DEFAULT_CHUNK_SIZE=1048576;var env_utils_globals=__webpack_require__("./node_modules/@loaders.gl/loader-utils/dist/esm/lib/env-utils/globals.js");function memory_conversion_utils_toArrayBuffer(data){if(function isBuffer(value){return value&&"object"==typeof value&&value.isBuffer}(data))return data;if(data instanceof ArrayBuffer)return data;if(ArrayBuffer.isView(data))return 0===data.byteOffset&&data.byteLength===data.buffer.byteLength?data.buffer:data.buffer.slice(data.byteOffset,data.byteOffset+data.byteLength);if("string"==typeof data){const text=data;return(new TextEncoder).encode(text).buffer}if(data&&"object"==typeof data&&data._toArrayBuffer)return data._toArrayBuffer();throw new Error("toArrayBuffer")}function makeStreamIterator(stream,options){return env_utils_globals.uH?async function*makeBrowserStreamIterator(stream,options){const reader=stream.getReader();let nextBatchPromise;try{for(;;){const currentBatchPromise=nextBatchPromise||reader.read();null!=options&&options._streamReadAhead&&(nextBatchPromise=reader.read());const{done,value}=await currentBatchPromise;if(done)return;yield memory_conversion_utils_toArrayBuffer(value)}}catch(error){reader.releaseLock()}}(stream,options):async function*makeNodeStreamIterator(stream,options){for await(const chunk of stream)yield memory_conversion_utils_toArrayBuffer(chunk)}(stream)}function make_iterator_makeIterator(data,options){if("string"==typeof data)return function*makeStringIterator(string,options){const chunkSize=(null==options?void 0:options.chunkSize)||DEFAULT_CHUNK_SIZE;let offset=0;const textEncoder=new TextEncoder;for(;offset<string.length;){const chunkLength=Math.min(string.length-offset,chunkSize),chunk=string.slice(offset,offset+chunkLength);offset+=chunkLength,yield textEncoder.encode(chunk)}}(data,options);if(data instanceof ArrayBuffer)return function makeArrayBufferIterator(arrayBuffer){let options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){const{chunkSize=make_array_buffer_iterator_DEFAULT_CHUNK_SIZE}=options;let byteOffset=0;for(;byteOffset<arrayBuffer.byteLength;){const chunkByteLength=Math.min(arrayBuffer.byteLength-byteOffset,chunkSize),chunk=new ArrayBuffer(chunkByteLength),sourceArray=new Uint8Array(arrayBuffer,byteOffset,chunkByteLength);new Uint8Array(chunk).set(sourceArray),byteOffset+=chunkByteLength,yield chunk}}()}(data,options);if((0,is_type.Yf)(data))return async function*makeBlobIterator(blob,options){const chunkSize=(null==options?void 0:options.chunkSize)||make_blob_iterator_DEFAULT_CHUNK_SIZE;let offset=0;for(;offset<blob.size;){const end=offset+chunkSize,chunk=await blob.slice(offset,end).arrayBuffer();offset=end,yield chunk}}(data,options);if((0,is_type.Ed)(data))return makeStreamIterator(data,options);if((0,is_type.q5)(data)){return makeStreamIterator(data.body,options)}throw new Error("makeIterator")}const ERR_DATA="Cannot convert supplied data type";async function getArrayBufferOrStringFromData(data,loader,options){const isArrayBuffer=data instanceof ArrayBuffer||ArrayBuffer.isView(data);if("string"==typeof data||isArrayBuffer)return function getArrayBufferOrStringFromDataSync(data,loader,options){if(loader.text&&"string"==typeof data)return data;if((0,is_type.e6)(data)&&(data=data.buffer),data instanceof ArrayBuffer){const arrayBuffer=data;return loader.text&&!loader.binary?new TextDecoder("utf8").decode(arrayBuffer):arrayBuffer}if(ArrayBuffer.isView(data)){if(loader.text&&!loader.binary)return new TextDecoder("utf8").decode(data);let arrayBuffer=data.buffer;const byteLength=data.byteLength||data.length;return 0===data.byteOffset&&byteLength===arrayBuffer.byteLength||(arrayBuffer=arrayBuffer.slice(data.byteOffset,data.byteOffset+byteLength)),arrayBuffer}throw new Error(ERR_DATA)}(data,loader);if((0,is_type.Yf)(data)&&(data=await response_utils_makeResponse(data)),(0,is_type.q5)(data)){const response=data;return await async function response_utils_checkResponse(response){if(!response.ok){const message=await async function getResponseError(response){let message="Failed to fetch resource ".concat(response.url," (").concat(response.status,"): ");try{const contentType=response.headers.get("Content-Type");let text=response.statusText;contentType.includes("application/json")&&(text+=" ".concat(await response.text())),message+=text,message=message.length>60?"".concat(message.slice(0,60),"..."):message}catch(error){}return message}(response);throw new Error(message)}}(response),loader.binary?await response.arrayBuffer():await response.text()}if((0,is_type.Ed)(data)&&(data=make_iterator_makeIterator(data,options)),(0,is_type.iu)(data)||(0,is_type.Ev)(data))return concatenateArrayBuffersAsync(data);throw new Error(ERR_DATA)}function filename(url){const slashIndex=url?url.lastIndexOf("/"):-1;return slashIndex>=0?url.substr(slashIndex+1):""}function getLoaderContext(context,options,parentContext){if(parentContext)return parentContext;const newContext={fetch:getFetchFunction(options,context),...context};if(newContext.url){const baseUrl=stripQueryString(newContext.url);newContext.baseUrl=baseUrl,newContext.queryString=function extractQueryString(url){const matches=url.match(QUERY_STRING_PATTERN);return matches&&matches[0]}(newContext.url),newContext.filename=filename(baseUrl),newContext.baseUrl=function dirname(url){const slashIndex=url?url.lastIndexOf("/"):-1;return slashIndex>=0?url.substr(0,slashIndex):""}(baseUrl)}return Array.isArray(newContext.loaders)||(newContext.loaders=null),newContext}const log_log=new(__webpack_require__("./node_modules/@loaders.gl/core/node_modules/@probe.gl/log/dist/log.js").q)({id:"loaders.gl"});var register_loaders=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/api/register-loaders.js");const EXT_PATTERN=/\.([^.]+)$/;function selectLoaderSync(data){let loaders=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],options=arguments.length>2?arguments[2]:void 0,context=arguments.length>3?arguments[3]:void 0;if(!validHTTPResponse(data))return null;if(loaders&&!Array.isArray(loaders))return(0,normalize_loader.i)(loaders);let candidateLoaders=[];loaders&&(candidateLoaders=candidateLoaders.concat(loaders)),null!=options&&options.ignoreRegisteredLoaders||candidateLoaders.push(...(0,register_loaders.G0)()),function normalizeLoaders(loaders){for(const loader of loaders)(0,normalize_loader.i)(loader)}(candidateLoaders);const loader=function selectLoaderInternal(data,loaders,options,context){const url=getResourceUrl(data),type=getResourceMIMEType(data),testUrl=stripQueryString(url)||(null==context?void 0:context.url);let loader=null,reason="";null!=options&&options.mimeType&&(loader=findLoaderByMIMEType(loaders,null==options?void 0:options.mimeType),reason="match forced by supplied MIME type ".concat(null==options?void 0:options.mimeType));var _loader;loader=loader||function findLoaderByUrl(loaders,url){const match=url&&EXT_PATTERN.exec(url),extension=match&&match[1];return extension?function findLoaderByExtension(loaders,extension){extension=extension.toLowerCase();for(const loader of loaders)for(const loaderExtension of loader.extensions)if(loaderExtension.toLowerCase()===extension)return loader;return null}(loaders,extension):null}(loaders,testUrl),reason=reason||(loader?"matched url ".concat(testUrl):""),loader=loader||findLoaderByMIMEType(loaders,type),reason=reason||(loader?"matched MIME type ".concat(type):""),loader=loader||function findLoaderByInitialBytes(loaders,data){if(!data)return null;for(const loader of loaders)if("string"==typeof data){if(testDataAgainstText(data,loader))return loader}else if(ArrayBuffer.isView(data)){if(testDataAgainstBinary(data.buffer,data.byteOffset,loader))return loader}else if(data instanceof ArrayBuffer){if(testDataAgainstBinary(data,0,loader))return loader}return null}(loaders,data),reason=reason||(loader?"matched initial data ".concat(getFirstCharacters(data)):""),loader=loader||findLoaderByMIMEType(loaders,null==options?void 0:options.fallbackMimeType),reason=reason||(loader?"matched fallback MIME type ".concat(type):""),reason&&log_log.log(1,"selectLoader selected ".concat(null===(_loader=loader)||void 0===_loader?void 0:_loader.name,": ").concat(reason,"."));return loader}(data,candidateLoaders,options,context);if(!(loader||null!=options&&options.nothrow))throw new Error(getNoValidLoaderMessage(data));return loader}function validHTTPResponse(data){return!(data instanceof Response&&204===data.status)}function getNoValidLoaderMessage(data){const url=getResourceUrl(data),type=getResourceMIMEType(data);let message="No valid loader found (";message+=url?"".concat(filename(url),", "):"no url provided, ",message+="MIME type: ".concat(type?'"'.concat(type,'"'):"not provided",", ");const firstCharacters=data?getFirstCharacters(data):"";return message+=firstCharacters?' first bytes: "'.concat(firstCharacters,'"'):"first bytes: not available",message+=")",message}function findLoaderByMIMEType(loaders,mimeType){for(const loader of loaders){if(loader.mimeTypes&&loader.mimeTypes.includes(mimeType))return loader;if(mimeType==="application/x.".concat(loader.id))return loader}return null}function testDataAgainstText(data,loader){if(loader.testText)return loader.testText(data);return(Array.isArray(loader.tests)?loader.tests:[loader.tests]).some((test=>data.startsWith(test)))}function testDataAgainstBinary(data,byteOffset,loader){return(Array.isArray(loader.tests)?loader.tests:[loader.tests]).some((test=>function testBinary(data,byteOffset,loader,test){if(test instanceof ArrayBuffer)return function compareArrayBuffers(arrayBuffer1,arrayBuffer2,byteLength){if(byteLength=byteLength||arrayBuffer1.byteLength,arrayBuffer1.byteLength<byteLength||arrayBuffer2.byteLength<byteLength)return!1;const array1=new Uint8Array(arrayBuffer1),array2=new Uint8Array(arrayBuffer2);for(let i=0;i<array1.length;++i)if(array1[i]!==array2[i])return!1;return!0}(test,data,test.byteLength);switch(typeof test){case"function":return test(data,loader);case"string":return test===getMagicString(data,byteOffset,test.length);default:return!1}}(data,byteOffset,loader,test)))}function getFirstCharacters(data){let length=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if("string"==typeof data)return data.slice(0,length);if(ArrayBuffer.isView(data))return getMagicString(data.buffer,data.byteOffset,length);if(data instanceof ArrayBuffer){return getMagicString(data,0,length)}return""}function getMagicString(arrayBuffer,byteOffset,length){if(arrayBuffer.byteLength<byteOffset+length)return"";const dataView=new DataView(arrayBuffer);let magic="";for(let i=0;i<length;i++)magic+=String.fromCharCode(dataView.getUint8(byteOffset+i));return magic}async function parse(data,loaders,options,context){assert(!context||"object"==typeof context),!loaders||Array.isArray(loaders)||(0,normalize_loader.u)(loaders)||(context=void 0,options=loaders,loaders=void 0),options=options||{};const url=getResourceUrl(data=await data),candidateLoaders=function getLoadersFromContext(loaders,context){if(!context&&loaders&&!Array.isArray(loaders))return loaders;let candidateLoaders;if(loaders&&(candidateLoaders=Array.isArray(loaders)?loaders:[loaders]),context&&context.loaders){const contextLoaders=Array.isArray(context.loaders)?context.loaders:[context.loaders];candidateLoaders=candidateLoaders?[...candidateLoaders,...contextLoaders]:contextLoaders}return candidateLoaders&&candidateLoaders.length?candidateLoaders:null}(loaders,context),loader=await async function selectLoader(data){let loaders=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],options=arguments.length>2?arguments[2]:void 0,context=arguments.length>3?arguments[3]:void 0;if(!validHTTPResponse(data))return null;let loader=selectLoaderSync(data,loaders,{...options,nothrow:!0},context);if(loader)return loader;if((0,is_type.Yf)(data)&&(loader=selectLoaderSync(data=await data.slice(0,10).arrayBuffer(),loaders,options,context)),!(loader||null!=options&&options.nothrow))throw new Error(getNoValidLoaderMessage(data));return loader}(data,candidateLoaders,options);return loader?(context=getLoaderContext({url,parse,loaders:candidateLoaders},options=(0,option_utils.M1)(options,loader,candidateLoaders,url),context||null),await async function parseWithLoader(loader,data,options,context){if(function validateWorkerVersion(worker){let coreVersion=arguments.length>1&&void 0!==arguments[1]?arguments[1]:VERSION;assert(worker,"no worker provided");const workerVersion=worker.version;return!(!coreVersion||!workerVersion)}(loader),(0,is_type.q5)(data)){const response=data,{ok,redirected,status,statusText,type,url}=response,headers=Object.fromEntries(response.headers.entries());context.response={headers,ok,redirected,status,statusText,type,url}}if(data=await getArrayBufferOrStringFromData(data,loader,options),loader.parseTextSync&&"string"==typeof data)return options.dataType="text",loader.parseTextSync(data,options,context,loader);if(function canParseWithWorker(loader,options){return!!WorkerFarm.isSupported()&&!!(isBrowser||null!=options&&options._nodeWorkers)&&loader.worker&&(null==options?void 0:options.worker)}(loader,options))return await parseWithWorker(loader,data,options,context,parse);if(loader.parseText&&"string"==typeof data)return await loader.parseText(data,options,context,loader);if(loader.parse)return await loader.parse(data,options,context,loader);throw assert(!loader.parseSync),new Error("".concat(loader.id," loader - no parser found and worker is disabled"))}(loader,data,options,context)):null}async function load(url,loaders,options,context){Array.isArray(loaders)||(0,normalize_loader.u)(loaders)||(void 0,options=loaders,loaders=void 0);const fetch=getFetchFunction(options);let data=url;return"string"==typeof url&&(data=await fetch(url)),(0,is_type.Yf)(url)&&(data=await fetch(url)),await parse(data,loaders,options)}},"./node_modules/@loaders.gl/core/dist/esm/lib/api/register-loaders.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G0:()=>getRegisteredLoaders,iW:()=>registerLoaders});var _loader_utils_normalize_loader__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/loader-utils/normalize-loader.js"),_loader_utils_option_utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/lib/loader-utils/option-utils.js");const getGlobalLoaderRegistry=()=>{const state=(0,_loader_utils_option_utils__WEBPACK_IMPORTED_MODULE_0__.KC)();return state.loaderRegistry=state.loaderRegistry||[],state.loaderRegistry};function registerLoaders(loaders){const loaderRegistry=getGlobalLoaderRegistry();loaders=Array.isArray(loaders)?loaders:[loaders];for(const loader of loaders){const normalizedLoader=(0,_loader_utils_normalize_loader__WEBPACK_IMPORTED_MODULE_1__.i)(loader);loaderRegistry.find((registeredLoader=>normalizedLoader===registeredLoader))||loaderRegistry.unshift(normalizedLoader)}}function getRegisteredLoaders(){return getGlobalLoaderRegistry()}},"./node_modules/@loaders.gl/core/dist/esm/lib/loader-utils/normalize-loader.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>normalizeLoader,u:()=>isLoaderObject});var _loaders_gl_loader_utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@loaders.gl/loader-utils/dist/esm/lib/env-utils/assert.js");function isLoaderObject(loader){var _loader;if(!loader)return!1;Array.isArray(loader)&&(loader=loader[0]);return Array.isArray(null===(_loader=loader)||void 0===_loader?void 0:_loader.extensions)}function normalizeLoader(loader){var _loader2,_loader3;let options;return(0,_loaders_gl_loader_utils__WEBPACK_IMPORTED_MODULE_0__.U)(loader,"null loader"),(0,_loaders_gl_loader_utils__WEBPACK_IMPORTED_MODULE_0__.U)(isLoaderObject(loader),"invalid loader"),Array.isArray(loader)&&(options=loader[1],loader=loader[0],loader={...loader,options:{...loader.options,...options}}),(null!==(_loader2=loader)&&void 0!==_loader2&&_loader2.parseTextSync||null!==(_loader3=loader)&&void 0!==_loader3&&_loader3.parseText)&&(loader.text=!0),loader.text||(loader.binary=!0),loader}},"./node_modules/@loaders.gl/core/dist/esm/lib/loader-utils/option-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Qj:()=>getGlobalLoaderOptions,KC:()=>getGlobalLoaderState,M1:()=>normalizeOptions});var is_type=__webpack_require__("./node_modules/@loaders.gl/core/dist/esm/javascript-utils/is-type.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");const probeLog=new(__webpack_require__("./node_modules/@loaders.gl/core/node_modules/@probe.gl/log/dist/log.js").q)({id:"loaders.gl"});class NullLog{log(){return()=>{}}info(){return()=>{}}warn(){return()=>{}}error(){return()=>{}}}var globals=__webpack_require__("./node_modules/@loaders.gl/loader-utils/dist/esm/lib/env-utils/globals.js");const DEFAULT_LOADER_OPTIONS={fetch:null,mimeType:void 0,nothrow:!1,log:new class ConsoleLog{constructor(){(0,defineProperty.c)(this,"console",void 0),this.console=console}log(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return this.console.log.bind(this.console,...args)}info(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return this.console.info.bind(this.console,...args)}warn(){for(var _len3=arguments.length,args=new Array(_len3),_key3=0;_key3<_len3;_key3++)args[_key3]=arguments[_key3];return this.console.warn.bind(this.console,...args)}error(){for(var _len4=arguments.length,args=new Array(_len4),_key4=0;_key4<_len4;_key4++)args[_key4]=arguments[_key4];return this.console.error.bind(this.console,...args)}},CDN:"https://unpkg.com/@loaders.gl",worker:!0,maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:globals.uH,_nodeWorkers:!1,_workerType:"",limit:0,_limitMB:0,batchSize:"auto",batchDebounceMs:0,metadata:!1,transforms:[]},REMOVED_LOADER_OPTIONS={throws:"nothrow",dataType:"(no longer used)",uri:"baseUri",method:"fetch.method",headers:"fetch.headers",body:"fetch.body",mode:"fetch.mode",credentials:"fetch.credentials",cache:"fetch.cache",redirect:"fetch.redirect",referrer:"fetch.referrer",referrerPolicy:"fetch.referrerPolicy",integrity:"fetch.integrity",keepalive:"fetch.keepalive",signal:"fetch.signal"};function getGlobalLoaderState(){globalThis.loaders=globalThis.loaders||{};const{loaders}=globalThis;return loaders._state=loaders._state||{},loaders._state}const getGlobalLoaderOptions=()=>{const state=getGlobalLoaderState();return state.globalOptions=state.globalOptions||{...DEFAULT_LOADER_OPTIONS},state.globalOptions};function normalizeOptions(options,loader,loaders,url){return loaders=loaders||[],function validateOptions(options,loaders){validateOptionsObject(options,null,DEFAULT_LOADER_OPTIONS,REMOVED_LOADER_OPTIONS,loaders);for(const loader of loaders){const idOptions=options&&options[loader.id]||{},loaderOptions=loader.options&&loader.options[loader.id]||{},deprecatedOptions=loader.deprecatedOptions&&loader.deprecatedOptions[loader.id]||{};validateOptionsObject(idOptions,loader.id,loaderOptions,deprecatedOptions,loaders)}}(options,loaders=Array.isArray(loaders)?loaders:[loaders]),normalizeOptionsInternal(loader,options,url)}function validateOptionsObject(options,id,defaultOptions,deprecatedOptions,loaders){const loaderName=id||"Top level",prefix=id?"".concat(id,"."):"";for(const key in options){const isSubOptions=!id&&(0,is_type.Y9)(options[key]);if(!(key in defaultOptions)&&!("baseUri"===key&&!id)&&!("workerUrl"===key&&id))if(key in deprecatedOptions)probeLog.warn("".concat(loaderName," loader option '").concat(prefix).concat(key,"' no longer supported, use '").concat(deprecatedOptions[key],"'"))();else if(!isSubOptions){const suggestion=findSimilarOption(key,loaders);probeLog.warn("".concat(loaderName," loader option '").concat(prefix).concat(key,"' not recognized. ").concat(suggestion))()}}}function findSimilarOption(optionKey,loaders){const lowerCaseOptionKey=optionKey.toLowerCase();let bestSuggestion="";for(const loader of loaders)for(const key in loader.options){if(optionKey===key)return"Did you mean '".concat(loader.id,".").concat(key,"'?");const lowerCaseKey=key.toLowerCase();(lowerCaseOptionKey.startsWith(lowerCaseKey)||lowerCaseKey.startsWith(lowerCaseOptionKey))&&(bestSuggestion=bestSuggestion||"Did you mean '".concat(loader.id,".").concat(key,"'?"))}return bestSuggestion}function normalizeOptionsInternal(loader,options,url){const mergedOptions={...loader.options||{}};return function addUrlOptions(options,url){url&&!("baseUri"in options)&&(options.baseUri=url)}(mergedOptions,url),null===mergedOptions.log&&(mergedOptions.log=new NullLog),mergeNestedFields(mergedOptions,getGlobalLoaderOptions()),mergeNestedFields(mergedOptions,options),mergedOptions}function mergeNestedFields(mergedOptions,options){for(const key in options)if(key in options){const value=options[key];(0,is_type.Yt)(value)&&(0,is_type.Yt)(mergedOptions[key])?mergedOptions[key]={...mergedOptions[key],...options[key]}:mergedOptions[key]=options[key]}}},"./node_modules/@loaders.gl/core/node_modules/@probe.gl/log/dist/log.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>Log});var process=__webpack_require__("./node_modules/process/browser.js");var is_browser_process=__webpack_require__("./node_modules/process/browser.js");function isBrowser(){return!("object"==typeof is_browser_process&&"[object process]"===String(is_browser_process)&&!is_browser_process.browser)||function isElectron(mockUserAgent){if("undefined"!=typeof window&&"object"==typeof window.process&&"renderer"===window.process.type)return!0;if(void 0!==process&&"object"==typeof process.versions&&Boolean(process.versions.electron))return!0;const realUserAgent="object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent,userAgent=mockUserAgent||realUserAgent;return!!(userAgent&&userAgent.indexOf("Electron")>=0)}()}const VERSION="undefined"!=typeof __VERSION__?__VERSION__:"untranspiled source";isBrowser();class LocalStorage{constructor(id,defaultConfig){let type=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"sessionStorage";this.storage=void 0,this.id=void 0,this.config=void 0,this.storage=function getStorage(type){try{const storage=window[type],x="__storage_test__";return storage.setItem(x,x),storage.removeItem(x),storage}catch(e){return null}}(type),this.id=id,this.config=defaultConfig,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(configuration){if(Object.assign(this.config,configuration),this.storage){const serialized=JSON.stringify(this.config);this.storage.setItem(this.id,serialized)}}_loadConfiguration(){let configuration={};if(this.storage){const serializedConfiguration=this.storage.getItem(this.id);configuration=serializedConfiguration?JSON.parse(serializedConfiguration):{}}return Object.assign(this.config,configuration),this}}function formatImage(image,message,scale){let maxWidth=arguments.length>3&&void 0!==arguments[3]?arguments[3]:600;const imageUrl=image.src.replace(/\(/g,"%28").replace(/\)/g,"%29");image.width>maxWidth&&(scale=Math.min(scale,maxWidth/image.width));const width=image.width*scale,height=image.height*scale,style=["font-size:1px;","padding:".concat(Math.floor(height/2),"px ").concat(Math.floor(width/2),"px;"),"line-height:".concat(height,"px;"),"background:url(".concat(imageUrl,");"),"background-size:".concat(width,"px ").concat(height,"px;"),"color:transparent;"].join("");return["".concat(message," %c+"),style]}let COLOR;!function(COLOR){COLOR[COLOR.BLACK=30]="BLACK",COLOR[COLOR.RED=31]="RED",COLOR[COLOR.GREEN=32]="GREEN",COLOR[COLOR.YELLOW=33]="YELLOW",COLOR[COLOR.BLUE=34]="BLUE",COLOR[COLOR.MAGENTA=35]="MAGENTA",COLOR[COLOR.CYAN=36]="CYAN",COLOR[COLOR.WHITE=37]="WHITE",COLOR[COLOR.BRIGHT_BLACK=90]="BRIGHT_BLACK",COLOR[COLOR.BRIGHT_RED=91]="BRIGHT_RED",COLOR[COLOR.BRIGHT_GREEN=92]="BRIGHT_GREEN",COLOR[COLOR.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",COLOR[COLOR.BRIGHT_BLUE=94]="BRIGHT_BLUE",COLOR[COLOR.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",COLOR[COLOR.BRIGHT_CYAN=96]="BRIGHT_CYAN",COLOR[COLOR.BRIGHT_WHITE=97]="BRIGHT_WHITE"}(COLOR||(COLOR={}));const BACKGROUND_INCREMENT=10;function getColor(color){return"string"!=typeof color?color:(color=color.toUpperCase(),COLOR[color]||COLOR.WHITE)}function assert(condition,message){if(!condition)throw new Error(message||"Assertion failed")}globalThis.self||globalThis.window||globalThis.global;const window_=globalThis.window||globalThis.self||globalThis.global,process_=(globalThis.document,globalThis.process||{});globalThis.console,globalThis.navigator;function getHiResTimestamp(){let timestamp;var _window$performance,_window$performance$n;if(isBrowser()&&window_.performance)timestamp=null==window_||null===(_window$performance=window_.performance)||void 0===_window$performance||null===(_window$performance$n=_window$performance.now)||void 0===_window$performance$n?void 0:_window$performance$n.call(_window$performance);else if("hrtime"in process_){var _process$hrtime;const timeParts=null==process_||null===(_process$hrtime=process_.hrtime)||void 0===_process$hrtime?void 0:_process$hrtime.call(process_);timestamp=1e3*timeParts[0]+timeParts[1]/1e6}else timestamp=Date.now();return timestamp}const originalConsole={debug:isBrowser()&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},DEFAULT_LOG_CONFIGURATION={enabled:!0,level:0};function noop(){}const cache={},ONCE={once:!0};class Log{constructor(){let{id}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:""};this.id=void 0,this.VERSION=VERSION,this._startTs=getHiResTimestamp(),this._deltaTs=getHiResTimestamp(),this._storage=void 0,this.userData={},this.LOG_THROTTLE_TIMEOUT=0,this.id=id,this.userData={},this._storage=new LocalStorage("__probe-".concat(this.id,"__"),DEFAULT_LOG_CONFIGURATION),this.timeStamp("".concat(this.id," started")),function autobind(obj){let predefined=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["constructor"];const proto=Object.getPrototypeOf(obj),propNames=Object.getOwnPropertyNames(proto),object=obj;for(const key of propNames){const value=object[key];"function"==typeof value&&(predefined.find((name=>key===name))||(object[key]=value.bind(obj)))}}(this),Object.seal(this)}set level(newLevel){this.setLevel(newLevel)}get level(){return this.getLevel()}isEnabled(){return this._storage.config.enabled}getLevel(){return this._storage.config.level}getTotal(){return Number((getHiResTimestamp()-this._startTs).toPrecision(10))}getDelta(){return Number((getHiResTimestamp()-this._deltaTs).toPrecision(10))}set priority(newPriority){this.level=newPriority}get priority(){return this.level}getPriority(){return this.level}enable(){let enabled=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._storage.setConfiguration({enabled}),this}setLevel(level){return this._storage.setConfiguration({level}),this}get(setting){return this._storage.config[setting]}set(setting,value){this._storage.setConfiguration({[setting]:value})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(condition,message){assert(condition,message)}warn(message){return this._getLogFunction(0,message,originalConsole.warn,arguments,ONCE)}error(message){return this._getLogFunction(0,message,originalConsole.error,arguments)}deprecated(oldUsage,newUsage){return this.warn("`".concat(oldUsage,"` is deprecated and will be removed in a later version. Use `").concat(newUsage,"` instead"))}removed(oldUsage,newUsage){return this.error("`".concat(oldUsage,"` has been removed. Use `").concat(newUsage,"` instead"))}probe(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.log,arguments,{time:!0,once:!0})}log(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.debug,arguments)}info(logLevel,message){return this._getLogFunction(logLevel,message,console.info,arguments)}once(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.debug||originalConsole.info,arguments,ONCE)}table(logLevel,table,columns){return table?this._getLogFunction(logLevel,table,console.table||noop,columns&&[columns],{tag:getTableHeader(table)}):noop}image(_ref){let{logLevel,priority,image,message="",scale=1}=_ref;return this._shouldLog(logLevel||priority)?isBrowser()?function logImageInBrowser(_ref3){let{image,message="",scale=1}=_ref3;if("string"==typeof image){const img=new Image;return img.onload=()=>{const args=formatImage(img,message,scale);console.log(...args)},img.src=image,noop}const element=image.nodeName||"";if("img"===element.toLowerCase())return console.log(...formatImage(image,message,scale)),noop;if("canvas"===element.toLowerCase()){const img=new Image;return img.onload=()=>console.log(...formatImage(img,message,scale)),img.src=image.toDataURL(),noop}return noop}({image,message,scale}):function logImageInNode(_ref2){let{image,message="",scale=1}=_ref2;return console.warn("removed"),noop}({image,message,scale}):noop}time(logLevel,message){return this._getLogFunction(logLevel,message,console.time?console.time:console.info)}timeEnd(logLevel,message){return this._getLogFunction(logLevel,message,console.timeEnd?console.timeEnd:console.info)}timeStamp(logLevel,message){return this._getLogFunction(logLevel,message,console.timeStamp||noop)}group(logLevel,message){let opts=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{collapsed:!1};const options=normalizeArguments({logLevel,message,opts}),{collapsed}=opts;return options.method=(collapsed?console.groupCollapsed:console.group)||console.info,this._getLogFunction(options)}groupCollapsed(logLevel,message){let opts=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.group(logLevel,message,Object.assign({},opts,{collapsed:!0}))}groupEnd(logLevel){return this._getLogFunction(logLevel,"",console.groupEnd||noop)}withGroup(logLevel,message,func){this.group(logLevel,message)();try{func()}finally{this.groupEnd(logLevel)()}}trace(){console.trace&&console.trace()}_shouldLog(logLevel){return this.isEnabled()&&this.getLevel()>=normalizeLogLevel(logLevel)}_getLogFunction(logLevel,message,method,args,opts){if(this._shouldLog(logLevel)){opts=normalizeArguments({logLevel,message,args,opts}),assert(method=method||opts.method),opts.total=this.getTotal(),opts.delta=this.getDelta(),this._deltaTs=getHiResTimestamp();const tag=opts.tag||opts.message;if(opts.once&&tag){if(cache[tag])return noop;cache[tag]=getHiResTimestamp()}return message=function decorateMessage(id,message,opts){if("string"==typeof message){const time=opts.time?function leftPad(string){let length=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;const padLength=Math.max(length-string.length,0);return"".concat(" ".repeat(padLength)).concat(string)}(function formatTime(ms){let formatted;return formatted=ms<10?"".concat(ms.toFixed(2),"ms"):ms<100?"".concat(ms.toFixed(1),"ms"):ms<1e3?"".concat(ms.toFixed(0),"ms"):"".concat((ms/1e3).toFixed(2),"s"),formatted}(opts.total)):"";message=function addColor(string,color,background){if(!isBrowser&&"string"==typeof string){if(color){const colorCode=getColor(color);string="[".concat(colorCode,"m").concat(string,"")}if(background){const colorCode=getColor(background);string="[".concat(colorCode+BACKGROUND_INCREMENT,"m").concat(string,"")}}return string}(message=opts.time?"".concat(id,": ").concat(time," ").concat(message):"".concat(id,": ").concat(message),opts.color,opts.background)}return message}(this.id,opts.message,opts),method.bind(console,message,...opts.args)}return noop}}function normalizeLogLevel(logLevel){if(!logLevel)return 0;let resolvedLevel;switch(typeof logLevel){case"number":resolvedLevel=logLevel;break;case"object":resolvedLevel=logLevel.logLevel||logLevel.priority||0;break;default:return 0}return assert(Number.isFinite(resolvedLevel)&&resolvedLevel>=0),resolvedLevel}function normalizeArguments(opts){const{logLevel,message}=opts;opts.logLevel=normalizeLogLevel(logLevel);const args=opts.args?Array.from(opts.args):[];for(;args.length&&args.shift()!==message;);switch(typeof logLevel){case"string":case"function":void 0!==message&&args.unshift(message),opts.message=logLevel;break;case"object":Object.assign(opts,logLevel)}"function"==typeof opts.message&&(opts.message=opts.message());const messageType=typeof opts.message;return assert("string"===messageType||"object"===messageType),Object.assign(opts,{args},opts.opts)}function getTableHeader(table){for(const key in table)for(const title in table[key])return title||"untitled";return"empty"}Log.VERSION=VERSION},"./node_modules/@loaders.gl/images/dist/esm/image-loader.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>ImageLoader});var assert=__webpack_require__("./node_modules/@loaders.gl/loader-utils/dist/esm/lib/env-utils/assert.js"),globals=__webpack_require__("./node_modules/@loaders.gl/loader-utils/dist/esm/lib/env-utils/globals.js");const{_parseImageNode}=globalThis,IMAGE_SUPPORTED="undefined"!=typeof Image,IMAGE_BITMAP_SUPPORTED="undefined"!=typeof ImageBitmap,NODE_IMAGE_SUPPORTED=Boolean(_parseImageNode),DATA_SUPPORTED=!!globals.uH||NODE_IMAGE_SUPPORTED;function getImageType(image){const format=getImageTypeOrNull(image);if(!format)throw new Error("Not an image");return format}function getImageData(image){switch(getImageType(image)){case"data":return image;case"image":case"imagebitmap":const canvas=document.createElement("canvas"),context=canvas.getContext("2d");if(!context)throw new Error("getImageData");return canvas.width=image.width,canvas.height=image.height,context.drawImage(image,0,0),context.getImageData(0,0,image.width,image.height);default:throw new Error("getImageData")}}function getImageTypeOrNull(image){return"undefined"!=typeof ImageBitmap&&image instanceof ImageBitmap?"imagebitmap":"undefined"!=typeof Image&&image instanceof Image?"image":image&&"object"==typeof image&&image.data&&image.width&&image.height?"data":null}const SVG_DATA_URL_PATTERN=/^data:image\/svg\+xml/,SVG_URL_PATTERN=/\.svg((\?|#).*)?$/;function isSVG(url){return url&&(SVG_DATA_URL_PATTERN.test(url)||SVG_URL_PATTERN.test(url))}function getBlob(arrayBuffer,url){if(isSVG(url))throw new Error("SVG cannot be parsed directly to imagebitmap");return new Blob([new Uint8Array(arrayBuffer)])}async function parseToImage(arrayBuffer,options,url){const blobOrDataUrl=function getBlobOrSVGDataUrl(arrayBuffer,url){if(isSVG(url)){let xmlText=(new TextDecoder).decode(arrayBuffer);try{"function"==typeof unescape&&"function"==typeof encodeURIComponent&&(xmlText=unescape(encodeURIComponent(xmlText)))}catch(error){throw new Error(error.message)}return"data:image/svg+xml;base64,".concat(btoa(xmlText))}return getBlob(arrayBuffer,url)}(arrayBuffer,url),URL=self.URL||self.webkitURL,objectUrl="string"!=typeof blobOrDataUrl&&URL.createObjectURL(blobOrDataUrl);try{return await async function loadToImage(url,options){const image=new Image;if(image.src=url,options.image&&options.image.decode&&image.decode)return await image.decode(),image;return await new Promise(((resolve,reject)=>{try{image.onload=()=>resolve(image),image.onerror=err=>reject(new Error("Could not load image ".concat(url,": ").concat(err)))}catch(error){reject(error)}}))}(objectUrl||blobOrDataUrl,options)}finally{objectUrl&&URL.revokeObjectURL(objectUrl)}}const EMPTY_OBJECT={};let imagebitmapOptionsSupported=!0;async function parseToImageBitmap(arrayBuffer,options,url){let blob;if(isSVG(url)){blob=await parseToImage(arrayBuffer,options,url)}else blob=getBlob(arrayBuffer,url);const imagebitmapOptions=options&&options.imagebitmap;return await async function safeCreateImageBitmap(blob){let imagebitmapOptions=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function isEmptyObject(object){for(const key in object||EMPTY_OBJECT)return!1;return!0}(imagebitmapOptions)&&imagebitmapOptionsSupported||(imagebitmapOptions=null);if(imagebitmapOptions)try{return await createImageBitmap(blob,imagebitmapOptions)}catch(error){console.warn(error),imagebitmapOptionsSupported=!1}return await createImageBitmap(blob)}(blob,imagebitmapOptions)}function getISOBMFFMediaType(buffer){return function checkString(buffer,header){let offset=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const headerBytes=function stringToBytes(string){return[...string].map((character=>character.charCodeAt(0)))}(header);for(let i=0;i<headerBytes.length;++i)if(headerBytes[i]!==buffer[i+offset])return!1;return!0}(buffer,"ftyp",4)?0==(96&buffer[8])?null:function decodeMajorBrand(buffer){switch(function getUTF8String(array,start,end){return String.fromCharCode(...array.slice(start,end))}(buffer,8,12).replace("\0"," ").trim()){case"avif":case"avis":return{extension:"avif",mimeType:"image/avif"};default:return null}}(buffer):null}const BIG_ENDIAN=!1,LITTLE_ENDIAN=!0;function getBinaryImageMetadata(binaryData){const dataView=toDataView(binaryData);return function getPngMetadata(binaryData){const dataView=toDataView(binaryData),isPng=dataView.byteLength>=24&&2303741511===dataView.getUint32(0,BIG_ENDIAN);if(!isPng)return null;return{mimeType:"image/png",width:dataView.getUint32(16,BIG_ENDIAN),height:dataView.getUint32(20,BIG_ENDIAN)}}(dataView)||function getJpegMetadata(binaryData){const dataView=toDataView(binaryData),isJpeg=dataView.byteLength>=3&&65496===dataView.getUint16(0,BIG_ENDIAN)&&255===dataView.getUint8(2);if(!isJpeg)return null;const{tableMarkers,sofMarkers}=function getJpegMarkers(){const tableMarkers=new Set([65499,65476,65484,65501,65534]);for(let i=65504;i<65520;++i)tableMarkers.add(i);const sofMarkers=new Set([65472,65473,65474,65475,65477,65478,65479,65481,65482,65483,65485,65486,65487,65502]);return{tableMarkers,sofMarkers}}();let i=2;for(;i+9<dataView.byteLength;){const marker=dataView.getUint16(i,BIG_ENDIAN);if(sofMarkers.has(marker))return{mimeType:"image/jpeg",height:dataView.getUint16(i+5,BIG_ENDIAN),width:dataView.getUint16(i+7,BIG_ENDIAN)};if(!tableMarkers.has(marker))return null;i+=2,i+=dataView.getUint16(i,BIG_ENDIAN)}return null}(dataView)||function getGifMetadata(binaryData){const dataView=toDataView(binaryData),isGif=dataView.byteLength>=10&&1195984440===dataView.getUint32(0,BIG_ENDIAN);if(!isGif)return null;return{mimeType:"image/gif",width:dataView.getUint16(6,LITTLE_ENDIAN),height:dataView.getUint16(8,LITTLE_ENDIAN)}}(dataView)||function getBmpMetadata(binaryData){const dataView=toDataView(binaryData),isBmp=dataView.byteLength>=14&&16973===dataView.getUint16(0,BIG_ENDIAN)&&dataView.getUint32(2,LITTLE_ENDIAN)===dataView.byteLength;if(!isBmp)return null;return{mimeType:"image/bmp",width:dataView.getUint32(18,LITTLE_ENDIAN),height:dataView.getUint32(22,LITTLE_ENDIAN)}}(dataView)||function getISOBMFFMetadata(binaryData){const buffer=new Uint8Array(binaryData instanceof DataView?binaryData.buffer:binaryData),mediaType=getISOBMFFMediaType(buffer);if(!mediaType)return null;return{mimeType:mediaType.mimeType,width:0,height:0}}(dataView)}function toDataView(data){if(data instanceof DataView)return data;if(ArrayBuffer.isView(data))return new DataView(data.buffer);if(data instanceof ArrayBuffer)return new DataView(data);throw new Error("toDataView")}const ImageLoader={id:"image",module:"images",name:"Images",version:"3.4.14",mimeTypes:["image/png","image/jpeg","image/gif","image/webp","image/avif","image/bmp","image/vnd.microsoft.icon","image/svg+xml"],extensions:["png","jpg","jpeg","gif","webp","bmp","ico","svg","avif"],parse:async function parseImage(arrayBuffer,options,context){const imageType=((options=options||{}).image||{}).type||"auto",{url}=context||{};let image;switch(function getLoadableImageType(type){switch(type){case"auto":case"data":return function getDefaultImageType(){if(IMAGE_BITMAP_SUPPORTED)return"imagebitmap";if(IMAGE_SUPPORTED)return"image";if(DATA_SUPPORTED)return"data";throw new Error("Install '@loaders.gl/polyfills' to parse images under Node.js")}();default:return function isImageTypeSupported(type){switch(type){case"auto":return IMAGE_BITMAP_SUPPORTED||IMAGE_SUPPORTED||DATA_SUPPORTED;case"imagebitmap":return IMAGE_BITMAP_SUPPORTED;case"image":return IMAGE_SUPPORTED;case"data":return DATA_SUPPORTED;default:throw new Error("@loaders.gl/images: image ".concat(type," not supported in this environment"))}}(type),type}}(imageType)){case"imagebitmap":image=await parseToImageBitmap(arrayBuffer,options,url);break;case"image":image=await parseToImage(arrayBuffer,options,url);break;case"data":image=await async function parseToNodeImage(arrayBuffer,options){const{mimeType}=getBinaryImageMetadata(arrayBuffer)||{},_parseImageNode=globalThis._parseImageNode;return(0,assert.U)(_parseImageNode),await _parseImageNode(arrayBuffer,mimeType)}(arrayBuffer);break;default:(0,assert.U)(!1)}return"data"===imageType&&(image=getImageData(image)),image},tests:[arrayBuffer=>Boolean(getBinaryImageMetadata(new DataView(arrayBuffer)))],options:{image:{type:"auto",decode:!0}}}},"./node_modules/@loaders.gl/loader-utils/dist/esm/lib/env-utils/assert.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function assert(condition,message){if(!condition)throw new Error(message||"loader assertion failed.")}__webpack_require__.d(__webpack_exports__,{U:()=>assert})},"./node_modules/@loaders.gl/loader-utils/dist/esm/lib/env-utils/globals.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{uH:()=>isBrowser});var process=__webpack_require__("./node_modules/process/browser.js");"undefined"!=typeof self&&self,"undefined"!=typeof window&&window,void 0!==__webpack_require__.g&&__webpack_require__.g,"undefined"!=typeof document&&document;const isBrowser=Boolean("object"!=typeof process||"[object process]"!==String(process)||process.browser),matches=void 0!==process&&process.version&&/v([0-9]*)/.exec(process.version);matches&&parseFloat(matches[1])},"./node_modules/@luma.gl/engine/dist/esm/lib/model.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Model});var esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),program_manager=__webpack_require__("./node_modules/@luma.gl/engine/dist/esm/lib/program-manager.js"),utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js"),assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js"),clear=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/clear.js"),classes_program=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/program.js"),classes_accessor=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/accessor.js"),classes_buffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/buffer.js"),resource=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js");let arrayBuffer=null;function getScratchArray(Type,length){return new Type(function getScratchArrayBuffer(byteLength){return(!arrayBuffer||arrayBuffer.byteLength<byteLength)&&(arrayBuffer=new ArrayBuffer(byteLength)),arrayBuffer}(Type.BYTES_PER_ELEMENT*length),0,length)}var get_browser=__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/get-browser.js");class VertexArrayObject extends resource.c{get[Symbol.toStringTag](){return"VertexArrayObject"}static isSupported(gl){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).constantAttributeZero||((0,esm.Y8)(gl)||"Chrome"===(0,get_browser.c)())}static getDefaultArray(gl){return gl.luma=gl.luma||{},gl.luma.defaultVertexArray||(gl.luma.defaultVertexArray=new VertexArrayObject(gl,{handle:null,isDefaultArray:!0})),gl.luma.defaultVertexArray}static getMaxAttributes(gl){return VertexArrayObject.MAX_ATTRIBUTES=VertexArrayObject.MAX_ATTRIBUTES||gl.getParameter(34921),VertexArrayObject.MAX_ATTRIBUTES}static setConstant(gl,location,array){switch(array.constructor){case Float32Array:VertexArrayObject._setConstantFloatArray(gl,location,array);break;case Int32Array:VertexArrayObject._setConstantIntArray(gl,location,array);break;case Uint32Array:VertexArrayObject._setConstantUintArray(gl,location,array);break;default:(0,assert.U)(!1)}}constructor(gl){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const id=opts.id||opts.program&&opts.program.id;super(gl,Object.assign({},opts,{id})),this.buffer=null,this.bufferValue=null,this.isDefaultArray=opts.isDefaultArray||!1,this.gl2=gl,this.initialize(opts),Object.seal(this)}delete(){return super.delete(),this.buffer&&this.buffer.delete(),this}get MAX_ATTRIBUTES(){return VertexArrayObject.getMaxAttributes(this.gl)}initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.setProps(props)}setProps(props){return this}setElementBuffer(){let elementBuffer=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,assert.U)(!elementBuffer||34963===elementBuffer.target,"elements must be GL.ELEMENT_ARRAY_BUFFER"),this.bind((()=>{this.gl.bindBuffer(34963,elementBuffer?elementBuffer.handle:null)})),this}setBuffer(location,buffer,accessor){if(34963===buffer.target)return this.setElementBuffer(buffer,accessor);const{size,type,stride,offset,normalized,integer,divisor}=accessor,{gl,gl2}=this;return location=Number(location),this.bind((()=>{gl.bindBuffer(34962,buffer.handle),integer?((0,assert.U)((0,esm.Y8)(gl)),gl2.vertexAttribIPointer(location,size,type,stride,offset)):gl.vertexAttribPointer(location,size,type,normalized,stride,offset),gl.enableVertexAttribArray(location),gl2.vertexAttribDivisor(location,divisor||0)})),this}enable(location){let enable=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!enable&&0===location&&!VertexArrayObject.isSupported(this.gl,{constantAttributeZero:!0})||(location=Number(location),this.bind((()=>enable?this.gl.enableVertexAttribArray(location):this.gl.disableVertexAttribArray(location)))),this}getConstantBuffer(elementCount,value){const constantValue=this._normalizeConstantArrayValue(value),byteLength=constantValue.byteLength*elementCount,length=constantValue.length*elementCount;let updateNeeded=!this.buffer;if(this.buffer=this.buffer||new classes_buffer.c(this.gl,byteLength),updateNeeded=updateNeeded||this.buffer.reallocate(byteLength),updateNeeded=updateNeeded||!this._compareConstantArrayValues(constantValue,this.bufferValue),updateNeeded){const typedArray=getScratchArray(value.constructor,length);!function fillArray(_ref){let{target,source,start=0,count=1}=_ref;const length=source.length,total=count*length;let copied=0;for(let i=start;copied<length;copied++)target[i++]=source[copied];for(;copied<total;)copied<total-copied?(target.copyWithin(start+copied,start,start+copied),copied*=2):(target.copyWithin(start+copied,start,start+total-copied),copied=total);return target}({target:typedArray,source:constantValue,start:0,count:length}),this.buffer.subData(typedArray),this.bufferValue=value}return this.buffer}_normalizeConstantArrayValue(arrayValue){return Array.isArray(arrayValue)?new Float32Array(arrayValue):arrayValue}_compareConstantArrayValues(v1,v2){if(!v1||!v2||v1.length!==v2.length||v1.constructor!==v2.constructor)return!1;for(let i=0;i<v1.length;++i)if(v1[i]!==v2[i])return!1;return!0}static _setConstantFloatArray(gl,location,array){switch(array.length){case 1:gl.vertexAttrib1fv(location,array);break;case 2:gl.vertexAttrib2fv(location,array);break;case 3:gl.vertexAttrib3fv(location,array);break;case 4:gl.vertexAttrib4fv(location,array);break;default:(0,assert.U)(!1)}}static _setConstantIntArray(gl,location,array){switch((0,assert.U)((0,esm.Y8)(gl)),array.length){case 1:gl.vertexAttribI1iv(location,array);break;case 2:gl.vertexAttribI2iv(location,array);break;case 3:gl.vertexAttribI3iv(location,array);break;case 4:gl.vertexAttribI4iv(location,array);break;default:(0,assert.U)(!1)}}static _setConstantUintArray(gl,location,array){switch((0,assert.U)((0,esm.Y8)(gl)),array.length){case 1:gl.vertexAttribI1uiv(location,array);break;case 2:gl.vertexAttribI2uiv(location,array);break;case 3:gl.vertexAttribI3uiv(location,array);break;case 4:gl.vertexAttribI4uiv(location,array);break;default:(0,assert.U)(!1)}}_createHandle(){return this.gl.createVertexArray()}_deleteHandle(handle){return this.gl2.deleteVertexArray(handle),[this.elements]}_bindHandle(handle){this.gl2.bindVertexArray(handle)}_getParameter(pname,_ref){let{location}=_ref;return(0,assert.U)(Number.isFinite(location)),this.bind((()=>34373===pname?this.gl.getVertexAttribOffset(location,pname):this.gl.getVertexAttrib(location,pname)))}}var stub_methods=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/stub-methods.js");const MULTI_LOCATION_ATTRIBUTE_REGEXP=/^(.+)__LOCATION_([0-9]+)$/,DEPRECATIONS_V6=["setBuffers","setGeneric","clearBindings","setLocations","setGenericValues","setDivisor","enable","disable"];class VertexArray{constructor(gl){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const id=opts.id||opts.program&&opts.program.id;this.id=id,this.gl=gl,this.configuration=null,this.elements=null,this.elementsAccessor=null,this.values=null,this.accessors=null,this.unused=null,this.drawParams=null,this.buffer=null,this.attributes={},this.vertexArrayObject=new VertexArrayObject(gl),(0,stub_methods._)(this,"VertexArray","v6.0",DEPRECATIONS_V6),this.initialize(opts),Object.seal(this)}delete(){this.buffer&&this.buffer.delete(),this.vertexArrayObject.delete()}initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.reset(),this.configuration=null,this.bindOnUse=!1,this.setProps(props)}reset(){this.elements=null,this.elementsAccessor=null;const{MAX_ATTRIBUTES}=this.vertexArrayObject;return this.values=new Array(MAX_ATTRIBUTES).fill(null),this.accessors=new Array(MAX_ATTRIBUTES).fill(null),this.unused={},this.drawParams=null,this}setProps(props){return"program"in props&&(this.configuration=props.program&&props.program.configuration),"configuration"in props&&(this.configuration=props.configuration),"attributes"in props&&this.setAttributes(props.attributes),"elements"in props&&this.setElementBuffer(props.elements),"bindOnUse"in props&&(props=props.bindOnUse),this}clearDrawParams(){this.drawParams=null}getDrawParams(){return this.drawParams=this.drawParams||this._updateDrawParams(),this.drawParams}setAttributes(attributes){return Object.assign(this.attributes,attributes),this.vertexArrayObject.bind((()=>{for(const locationOrName in attributes){const value=attributes[locationOrName];this._setAttribute(locationOrName,value)}this.gl.bindBuffer(34962,null)})),this}setElementBuffer(){let elementBuffer=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,accessor=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.elements=elementBuffer,this.elementsAccessor=accessor,this.clearDrawParams(),this.vertexArrayObject.setElementBuffer(elementBuffer,accessor),this}setBuffer(locationOrName,buffer){let appAccessor=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(34963===buffer.target)return this.setElementBuffer(buffer,appAccessor);const{location,accessor}=this._resolveLocationAndAccessor(locationOrName,buffer,buffer.accessor,appAccessor);return location>=0&&(this.values[location]=buffer,this.accessors[location]=accessor,this.clearDrawParams(),this.vertexArrayObject.setBuffer(location,buffer,accessor)),this}setConstant(locationOrName,arrayValue){let appAccessor=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{location,accessor}=this._resolveLocationAndAccessor(locationOrName,arrayValue,Object.assign({size:arrayValue.length},appAccessor));return location>=0&&(arrayValue=this.vertexArrayObject._normalizeConstantArrayValue(arrayValue),this.values[location]=arrayValue,this.accessors[location]=accessor,this.clearDrawParams(),this.vertexArrayObject.enable(location,!1)),this}unbindBuffers(){return this.vertexArrayObject.bind((()=>{this.elements&&this.vertexArrayObject.setElementBuffer(null),this.buffer=this.buffer||new classes_buffer.c(this.gl,{accessor:{size:4}});for(let location=0;location<this.vertexArrayObject.MAX_ATTRIBUTES;location++)this.values[location]instanceof classes_buffer.c&&(this.gl.disableVertexAttribArray(location),this.gl.bindBuffer(34962,this.buffer.handle),this.gl.vertexAttribPointer(location,1,5126,!1,0,0))})),this}bindBuffers(){return this.vertexArrayObject.bind((()=>{this.elements&&this.setElementBuffer(this.elements);for(let location=0;location<this.vertexArrayObject.MAX_ATTRIBUTES;location++){const buffer=this.values[location];buffer instanceof classes_buffer.c&&this.setBuffer(location,buffer)}})),this}bindForDraw(vertexCount,instanceCount,func){let value;return this.vertexArrayObject.bind((()=>{this._setConstantAttributes(vertexCount,instanceCount),value=func()})),value}_resolveLocationAndAccessor(locationOrName,value,valueAccessor,appAccessor){const INVALID_RESULT={location:-1,accessor:null},{location,name}=this._getAttributeIndex(locationOrName);if(!Number.isFinite(location)||location<0)return this.unused[locationOrName]=value,esm.Yz.once(3,(()=>"unused value ".concat(locationOrName," in ").concat(this.id)))(),INVALID_RESULT;const accessInfo=this._getAttributeInfo(name||location);if(!accessInfo)return INVALID_RESULT;const currentAccessor=this.accessors[location]||{},accessor=classes_accessor.c.resolve(accessInfo.accessor,currentAccessor,valueAccessor,appAccessor),{size,type}=accessor;return(0,assert.U)(Number.isFinite(size)&&Number.isFinite(type)),{location,accessor}}_getAttributeInfo(attributeName){return this.configuration&&this.configuration.getAttributeInfo(attributeName)}_getAttributeIndex(locationOrName){const location=Number(locationOrName);if(Number.isFinite(location))return{location};const multiLocation=MULTI_LOCATION_ATTRIBUTE_REGEXP.exec(locationOrName),name=multiLocation?multiLocation[1]:locationOrName,locationOffset=multiLocation?Number(multiLocation[2]):0;return this.configuration?{location:this.configuration.getAttributeLocation(name)+locationOffset,name}:{location:-1}}_setAttribute(locationOrName,value){if(value instanceof classes_buffer.c)this.setBuffer(locationOrName,value);else if(Array.isArray(value)&&value.length&&value[0]instanceof classes_buffer.c){const buffer=value[0],accessor=value[1];this.setBuffer(locationOrName,buffer,accessor)}else if(ArrayBuffer.isView(value)||Array.isArray(value)){const constant=value;this.setConstant(locationOrName,constant)}else{if(!(value.buffer instanceof classes_buffer.c))throw new Error("VertexArray: attributes must be Buffers or constants (i.e. typed array)");{const accessor=value;this.setBuffer(locationOrName,accessor.buffer,accessor)}}}_setConstantAttributes(vertexCount,instanceCount){const elementCount=Math.max(0|vertexCount,0|instanceCount);let constant=this.values[0];ArrayBuffer.isView(constant)&&this._setConstantAttributeZero(constant,elementCount);for(let location=1;location<this.vertexArrayObject.MAX_ATTRIBUTES;location++)constant=this.values[location],ArrayBuffer.isView(constant)&&this._setConstantAttribute(location,constant)}_setConstantAttributeZero(constant,elementCount){if(VertexArrayObject.isSupported(this.gl,{constantAttributeZero:!0}))return void this._setConstantAttribute(0,constant);const buffer=this.vertexArrayObject.getConstantBuffer(elementCount,constant);this.vertexArrayObject.setBuffer(0,buffer,this.accessors[0])}_setConstantAttribute(location,constant){VertexArrayObject.setConstant(this.gl,location,constant)}_updateDrawParams(){const drawParams={isIndexed:!1,isInstanced:!1,indexCount:1/0,vertexCount:1/0,instanceCount:1/0};for(let location=0;location<this.vertexArrayObject.MAX_ATTRIBUTES;location++)this._updateDrawParamsForLocation(drawParams,location);return this.elements&&(drawParams.elementCount=this.elements.getElementCount(this.elements.accessor),drawParams.isIndexed=!0,drawParams.indexType=this.elementsAccessor.type||this.elements.accessor.type,drawParams.indexOffset=this.elementsAccessor.offset||0),drawParams.indexCount===1/0&&(drawParams.indexCount=0),drawParams.vertexCount===1/0&&(drawParams.vertexCount=0),drawParams.instanceCount===1/0&&(drawParams.instanceCount=0),drawParams}_updateDrawParamsForLocation(drawParams,location){const value=this.values[location],accessor=this.accessors[location];if(!value)return;const{divisor}=accessor,isInstanced=divisor>0;if(drawParams.isInstanced=drawParams.isInstanced||isInstanced,value instanceof classes_buffer.c){const buffer=value;if(isInstanced){const instanceCount=buffer.getVertexCount(accessor);drawParams.instanceCount=Math.min(drawParams.instanceCount,instanceCount)}else{const vertexCount=buffer.getVertexCount(accessor);drawParams.vertexCount=Math.min(drawParams.vertexCount,vertexCount)}}}setElements(){let elementBuffer=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,accessor=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return esm.Yz.deprecated("setElements","setElementBuffer")(),this.setElementBuffer(elementBuffer,accessor)}}var transform_feedback=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/transform-feedback.js"),constants_to_keys=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/constants-to-keys.js"),attribute_utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/attribute-utils.js");function formatValue(v){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{isInteger=!1}=opts;if(Array.isArray(v)||ArrayBuffer.isView(v))return function formatArrayValue(v,opts){const{maxElts=16,size=1}=opts;let string="[";for(let i=0;i<v.length&&i<maxElts;++i)i>0&&(string+=",".concat(i%size==0?" ":"")),string+=formatValue(v[i],opts);const terminator=v.length>maxElts?"...":"]";return"".concat(string).concat(terminator)}(v,opts);if(!Number.isFinite(v))return String(v);if(Math.abs(v)<1e-16)return isInteger?"0":"0.";if(isInteger)return v.toFixed(0);if(Math.abs(v)>100&&Math.abs(v)<1e4)return v.toFixed(0);const string=v.toPrecision(2);return string.indexOf(".0")===string.length-2?string.slice(0,-1):string}function getDebugTableRow(vertexArray,attribute,accessor,header){const{gl}=vertexArray;if(!attribute)return{[header]:"null","Format ":"N/A"};let isInteger,marker,value,type="NOT PROVIDED",size=1,verts=0,bytes=0;if(accessor&&(type=accessor.type,size=accessor.size,type=String(type).replace("Array",""),isInteger=-1!==type.indexOf("nt")),attribute instanceof classes_buffer.c){const buffer=attribute,{data,changed}=buffer.getDebugData();let format;if(marker=changed?"*":"",value=data,bytes=buffer.byteLength,verts=bytes/data.BYTES_PER_ELEMENT/size,accessor){const instanced=accessor.divisor>0;format="".concat(instanced?"I ":"P "," ").concat(verts," (x").concat(size,"=").concat(bytes," bytes ").concat((0,constants_to_keys.gP)(gl,type),")")}else isInteger=!0,format="".concat(bytes," bytes");return{[header]:"".concat(marker).concat(formatValue(value,{size,isInteger})),"Format ":format}}return value=attribute,size=attribute.length,type=String(attribute.constructor.name).replace("Array",""),isInteger=-1!==type.indexOf("nt"),{[header]:"".concat(formatValue(value,{size,isInteger})," (constant)"),"Format ":"".concat(size,"x").concat(type," (constant)")}}function getGLSLDeclaration(name,accessor){const{type,size}=accessor,typeAndName=(0,attribute_utils.Yh)(type,size);return typeAndName?"".concat(name," (").concat(typeAndName.name,")"):name}function getDebugTableForUniforms(_ref){let{header="Uniforms",program,uniforms,undefinedOnly=!1}=_ref;(0,assert.U)(program);const uniformLocations=program._uniformSetters,table={},uniformNames=Object.keys(uniformLocations).sort();let count=0;for(const uniformName of uniformNames)uniformName.match(".*_.*")||uniformName.match(".*Matrix")||addUniformToTable({table,header,uniforms,uniformName,undefinedOnly})&&count++;for(const uniformName of uniformNames)uniformName.match(".*Matrix")&&addUniformToTable({table,header,uniforms,uniformName,undefinedOnly})&&count++;for(const uniformName of uniformNames)table[uniformName]||addUniformToTable({table,header,uniforms,uniformName,undefinedOnly})&&count++;let unusedCount=0;const unusedTable={};if(!undefinedOnly)for(const uniformName in uniforms){const uniform=uniforms[uniformName];table[uniformName]||(unusedCount++,unusedTable[uniformName]={Type:"NOT USED: ".concat(uniform),[header]:formatValue(uniform)})}return{table,count,unusedTable,unusedCount}}function addUniformToTable(_ref2){let{table,header,uniforms,uniformName,undefinedOnly}=_ref2;const value=uniforms[uniformName],isDefined=function isUniformDefined(value){return null!=value}(value);return(!undefinedOnly||!isDefined)&&(table[uniformName]={[header]:isDefined?formatValue(value):"N/A","Uniform Type":isDefined?value:"NOT PROVIDED"},!0)}function debug_program_configuration_getGLSLDeclaration(attributeInfo){const{type,size}=attributeInfo.accessor,typeAndName=(0,attribute_utils.Yh)(type,size);return typeAndName?"".concat(typeAndName.name," ").concat(attributeInfo.name):attributeInfo.name}const GLTF_TO_LUMA_ATTRIBUTE_MAP={POSITION:"positions",NORMAL:"normals",COLOR_0:"colors",TEXCOORD_0:"texCoords",TEXCOORD_1:"texCoords1",TEXCOORD_2:"texCoords2"};function mapAttributeName(name,options){const{attributeMap=GLTF_TO_LUMA_ATTRIBUTE_MAP}=options||{};return attributeMap&&attributeMap[name]||name}function inferAttributeAccessor(attributeName,attribute){let category;switch(attributeName){case"texCoords":case"texCoord1":case"texCoord2":case"texCoord3":category="uvs";break;case"vertices":case"positions":case"normals":case"pickingColors":category="vectors"}switch(category){case"vectors":attribute.size=attribute.size||3;break;case"uvs":attribute.size=attribute.size||2}(0,assert.U)(Number.isFinite(attribute.size),"attribute ".concat(attributeName," needs size"))}const NOOP=()=>{},DRAW_PARAMS={};class Model{constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{id=(0,utils.cB)("model")}=props;(0,assert.U)((0,esm.YH)(gl)),this.id=id,this.gl=gl,this.id=props.id||(0,utils.cB)("Model"),this.lastLogTime=0,this.animated=!1,this.initialize(props)}initialize(props){this.props={},this.programManager=props.programManager||program_manager.c.getDefaultProgramManager(this.gl),this._programManagerState=-1,this._managedProgram=!1;const{program=null,vs,fs,modules,defines,inject,varyings,bufferMode,transpileToGLSL100}=props;this.programProps={program,vs,fs,modules,defines,inject,varyings,bufferMode,transpileToGLSL100},this.program=null,this.vertexArray=null,this._programDirty=!0,this.userData={},this.needsRedraw=!0,this._attributes={},this.attributes={},this.uniforms={},this.pickable=!0,this._checkProgram(),this.setUniforms(Object.assign({},this.getModuleUniforms(props.moduleSettings))),this.drawMode=void 0!==props.drawMode?props.drawMode:4,this.vertexCount=props.vertexCount||0,this.geometryBuffers={},this.isInstanced=props.isInstanced||props.instanced||props.instanceCount>0,this._setModelProps(props),this.geometry={},(0,assert.U)(void 0!==this.drawMode&&Number.isFinite(this.vertexCount),"Model needs drawMode and vertexCount")}setProps(props){this._setModelProps(props)}delete(){for(const key in this._attributes)this._attributes[key]!==this.attributes[key]&&this._attributes[key].delete();this._managedProgram&&(this.programManager.release(this.program),this._managedProgram=!1),this.vertexArray.delete(),this._deleteGeometryBuffers()}getDrawMode(){return this.drawMode}getVertexCount(){return this.vertexCount}getInstanceCount(){return this.instanceCount}getAttributes(){return this.attributes}getProgram(){return this.program}setProgram(props){const{program,vs,fs,modules,defines,inject,varyings,bufferMode,transpileToGLSL100}=props;this.programProps={program,vs,fs,modules,defines,inject,varyings,bufferMode,transpileToGLSL100},this._programDirty=!0}getUniforms(){return this.uniforms}setDrawMode(drawMode){return this.drawMode=drawMode,this}setVertexCount(vertexCount){return(0,assert.U)(Number.isFinite(vertexCount)),this.vertexCount=vertexCount,this}setInstanceCount(instanceCount){return(0,assert.U)(Number.isFinite(instanceCount)),this.instanceCount=instanceCount,this}setGeometry(geometry){return this.drawMode=geometry.drawMode,this.vertexCount=geometry.getVertexCount(),this._deleteGeometryBuffers(),this.geometryBuffers=function getBuffersFromGeometry(gl,geometry,options){const buffers={};let indices=geometry.indices;for(const name in geometry.attributes){const attribute=geometry.attributes[name],remappedName=mapAttributeName(name,options);if("indices"===name)indices=attribute;else if(attribute.constant)buffers[remappedName]=attribute.value;else{const typedArray=attribute.value,accessor={...attribute};delete accessor.value,buffers[remappedName]=[new classes_buffer.c(gl,typedArray),accessor],inferAttributeAccessor(name,accessor)}}if(indices){const data=indices.value||indices;(0,assert.U)(data instanceof Uint16Array||data instanceof Uint32Array,'attribute array for "indices" must be of integer type');const accessor={size:1,isIndexed:void 0===indices.isIndexed||indices.isIndexed};buffers.indices=[new classes_buffer.c(gl,{data,target:34963}),accessor]}return buffers}(this.gl,geometry),this.vertexArray.setAttributes(this.geometryBuffers),this}setAttributes(){let attributes=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,utils._o)(attributes))return this;const normalizedAttributes={};for(const name in attributes){const attribute=attributes[name];normalizedAttributes[name]=attribute.getValue?attribute.getValue():attribute}return this.vertexArray.setAttributes(normalizedAttributes),this}setUniforms(){let uniforms=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(this.uniforms,uniforms),this}getModuleUniforms(opts){this._checkProgram();const getUniforms=this.programManager.getUniforms(this.program);return getUniforms?getUniforms(opts):{}}updateModuleSettings(opts){const uniforms=this.getModuleUniforms(opts||{});return this.setUniforms(uniforms)}clear(opts){return(0,clear.W)(this.program.gl,opts),this}draw(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._checkProgram();const{moduleSettings=null,framebuffer,uniforms={},attributes={},transformFeedback=this.transformFeedback,parameters={},vertexArray=this.vertexArray}=opts;let logPriority;this.setAttributes(attributes),this.updateModuleSettings(moduleSettings),this.setUniforms(uniforms),esm.Yz.priority>=2&&(logPriority=this._logDrawCallStart(2));const drawParams=this.vertexArray.getDrawParams(),{isIndexed=drawParams.isIndexed,indexType=drawParams.indexType,indexOffset=drawParams.indexOffset,vertexArrayInstanced=drawParams.isInstanced}=this.props;vertexArrayInstanced&&!this.isInstanced&&esm.Yz.warn("Found instanced attributes on non-instanced model",this.id)();const{isInstanced,instanceCount}=this,{onBeforeRender=NOOP,onAfterRender=NOOP}=this.props;onBeforeRender(),this.program.setUniforms(this.uniforms);const didDraw=this.program.draw(Object.assign(DRAW_PARAMS,opts,{logPriority,uniforms:null,framebuffer,parameters,drawMode:this.getDrawMode(),vertexCount:this.getVertexCount(),vertexArray,transformFeedback,isIndexed,indexType,isInstanced,instanceCount,offset:isIndexed?indexOffset:0}));return onAfterRender(),esm.Yz.priority>=2&&this._logDrawCallEnd(logPriority,vertexArray,framebuffer),didDraw}transform(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{discard=!0,feedbackBuffers,unbindModels=[]}=opts;let{parameters}=opts;feedbackBuffers&&this._setFeedbackBuffers(feedbackBuffers),discard&&(parameters=Object.assign({},parameters,{35977:discard})),unbindModels.forEach((model=>model.vertexArray.unbindBuffers()));try{this.draw(Object.assign({},opts,{parameters}))}finally{unbindModels.forEach((model=>model.vertexArray.bindBuffers()))}return this}render(){let uniforms=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return esm.Yz.warn("Model.render() is deprecated. Use Model.setUniforms() and Model.draw()")(),this.setUniforms(uniforms).draw()}_setModelProps(props){Object.assign(this.props,props),"uniforms"in props&&this.setUniforms(props.uniforms),"pickable"in props&&(this.pickable=props.pickable),"instanceCount"in props&&(this.instanceCount=props.instanceCount),"geometry"in props&&this.setGeometry(props.geometry),"attributes"in props&&this.setAttributes(props.attributes),"_feedbackBuffers"in props&&this._setFeedbackBuffers(props._feedbackBuffers)}_checkProgram(){if(!(this._programDirty||this.programManager.stateHash!==this._programManagerState))return;let{program}=this.programProps;if(program)this._managedProgram=!1;else{const{vs,fs,modules,inject,defines,varyings,bufferMode,transpileToGLSL100}=this.programProps;program=this.programManager.get({vs,fs,modules,inject,defines,varyings,bufferMode,transpileToGLSL100}),this.program&&this._managedProgram&&this.programManager.release(this.program),this._programManagerState=this.programManager.stateHash,this._managedProgram=!0}(0,assert.U)(program instanceof classes_program.c,"Model needs a program"),this._programDirty=!1,program!==this.program&&(this.program=program,this.vertexArray?this.vertexArray.setProps({program:this.program,attributes:this.vertexArray.attributes}):this.vertexArray=new VertexArray(this.gl,{program:this.program}),this.setUniforms(Object.assign({},this.getModuleUniforms())))}_deleteGeometryBuffers(){for(const name in this.geometryBuffers){const buffer=this.geometryBuffers[name][0]||this.geometryBuffers[name];buffer instanceof classes_buffer.c&&buffer.delete()}}_setAnimationProps(animationProps){this.animated&&(0,assert.U)(animationProps,"Model.draw(): animated uniforms but no animationProps")}_setFeedbackBuffers(){let feedbackBuffers=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,utils._o)(feedbackBuffers))return this;const{gl}=this.program;return this.transformFeedback=this.transformFeedback||new transform_feedback.c(gl,{program:this.program}),this.transformFeedback.setBuffers(feedbackBuffers),this}_logDrawCallStart(logLevel){const logDrawTimeout=logLevel>3?0:1e4;if(!(Date.now()-this.lastLogTime<logDrawTimeout))return this.lastLogTime=Date.now(),esm.Yz.group(2,">>> DRAWING MODEL ".concat(this.id),{collapsed:esm.Yz.level<=2})(),logLevel}_logDrawCallEnd(logLevel,vertexArray,uniforms,framebuffer){if(void 0===logLevel)return;const attributeTable=function getDebugTableForVertexArray(_ref){let{vertexArray,header="Attributes"}=_ref;if(!vertexArray.configuration)return{};const table={};vertexArray.elements&&(table.ELEMENT_ARRAY_BUFFER=getDebugTableRow(vertexArray,vertexArray.elements,null,header));const attributes=vertexArray.values;for(const attributeLocation in attributes){const info=vertexArray._getAttributeInfo(attributeLocation);if(info){let rowHeader="".concat(attributeLocation,": ").concat(info.name);const accessor=vertexArray.accessors[info.location];accessor&&(rowHeader="".concat(attributeLocation,": ").concat(getGLSLDeclaration(info.name,accessor))),table[rowHeader]=getDebugTableRow(vertexArray,attributes[attributeLocation],accessor,header)}}return table}({vertexArray,header:"".concat(this.id," attributes"),attributes:this._attributes}),{table:uniformTable,unusedTable,unusedCount}=getDebugTableForUniforms({header:"".concat(this.id," uniforms"),program:this.program,uniforms:Object.assign({},this.program.uniforms,uniforms)}),{table:missingTable,count:missingCount}=getDebugTableForUniforms({header:"".concat(this.id," uniforms"),program:this.program,uniforms:Object.assign({},this.program.uniforms,uniforms),undefinedOnly:!0});missingCount>0&&esm.Yz.log("MISSING UNIFORMS",Object.keys(missingTable))(),unusedCount>0&&esm.Yz.log("UNUSED UNIFORMS",Object.keys(unusedTable))();const configTable=function getDebugTableForProgramConfiguration(config){const table={},header="Accessors for ".concat(config.id);for(const attributeInfo of config.attributeInfos)if(attributeInfo){const glslDeclaration=debug_program_configuration_getGLSLDeclaration(attributeInfo);table["in ".concat(glslDeclaration)]={[header]:JSON.stringify(attributeInfo.accessor)}}for(const varyingInfo of config.varyingInfos)if(varyingInfo){const glslDeclaration=debug_program_configuration_getGLSLDeclaration(varyingInfo);table["out ".concat(glslDeclaration)]={[header]:JSON.stringify(varyingInfo.accessor)}}return table}(this.vertexArray.configuration);esm.Yz.table(logLevel,attributeTable)(),esm.Yz.table(logLevel,uniformTable)(),esm.Yz.table(logLevel+1,configTable)(),framebuffer&&framebuffer.log({logLevel:2,message:"Rendered to ".concat(framebuffer.id)}),esm.Yz.groupEnd(2)()}}},"./node_modules/@luma.gl/engine/dist/esm/lib/program-manager.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>ProgramManager});var constants=__webpack_require__("./node_modules/@luma.gl/shadertools/dist/esm/lib/constants.js"),assert=__webpack_require__("./node_modules/@luma.gl/shadertools/dist/esm/utils/assert.js");const TYPE_DEFINITIONS={number:{validate:(value,propType)=>Number.isFinite(value)&&(!("max"in propType)||value<=propType.max)&&(!("min"in propType)||value>=propType.min)},array:{validate:(value,propType)=>Array.isArray(value)||ArrayBuffer.isView(value)}};function parsePropType(propDef){let type=getTypeOf(propDef);return"object"===type?propDef?"type"in propDef?Object.assign({},propDef,TYPE_DEFINITIONS[propDef.type]):"value"in propDef?(type=getTypeOf(propDef.value),Object.assign({type},propDef,TYPE_DEFINITIONS[type])):{type:"object",value:propDef}:{type:"object",value:null}:Object.assign({type,value:propDef},TYPE_DEFINITIONS[type])}function getTypeOf(value){return Array.isArray(value)||ArrayBuffer.isView(value)?"array":typeof value}class ShaderModule{constructor(_ref){let{name,vs,fs,dependencies=[],uniforms,getUniforms,deprecations=[],defines={},inject={},vertexShader,fragmentShader}=_ref;(0,assert.c)("string"==typeof name),this.name=name,this.vs=vs||vertexShader,this.fs=fs||fragmentShader,this.getModuleUniforms=getUniforms,this.dependencies=dependencies,this.deprecations=this._parseDeprecationDefinitions(deprecations),this.defines=defines,this.injections=function normalizeInjections(injections){const result={vs:{},fs:{}};for(const hook in injections){let injection=injections[hook];"string"==typeof injection&&(injection={order:0,injection}),result[hook.slice(0,2)][hook]=injection}return result}(inject),uniforms&&(this.uniforms=function parsePropTypes(propDefs){const propTypes={};for(const propName in propDefs){const propType=parsePropType(propDefs[propName]);propTypes[propName]=propType}return propTypes}(uniforms))}getModuleSource(type){let moduleSource;switch(type){case"vs":moduleSource=this.vs||"";break;case"fs":moduleSource=this.fs||"";break;default:(0,assert.c)(!1)}return"#define MODULE_".concat(this.name.toUpperCase().replace(/[^0-9a-z]/gi,"_"),"\n").concat(moduleSource,"// END MODULE_").concat(this.name,"\n\n")}getUniforms(opts,uniforms){return this.getModuleUniforms?this.getModuleUniforms(opts,uniforms):this.uniforms?this._defaultGetUniforms(opts):{}}getDefines(){return this.defines}checkDeprecations(shaderSource,log){this.deprecations.forEach((def=>{def.regex.test(shaderSource)&&(def.deprecated?log.deprecated(def.old,def.new)():log.removed(def.old,def.new)())}))}_parseDeprecationDefinitions(deprecations){return deprecations.forEach((def=>{if("function"===def.type)def.regex=new RegExp("\\b".concat(def.old,"\\("));else def.regex=new RegExp("".concat(def.type," ").concat(def.old,";"))})),deprecations}_defaultGetUniforms(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const uniforms={},propTypes=this.uniforms;for(const key in propTypes){const propDef=propTypes[key];key in opts&&!propDef.private?(propDef.validate&&(0,assert.c)(propDef.validate(opts[key],propDef),"".concat(this.name,": invalid ").concat(key)),uniforms[key]=opts[key]):uniforms[key]=propDef.value}return uniforms}}function resolveModules(modules){return getShaderDependencies(instantiateModules(modules))}function getShaderDependencies(modules){const moduleMap={},moduleDepth={};return getDependencyGraph({modules,level:0,moduleMap,moduleDepth}),Object.keys(moduleDepth).sort(((a,b)=>moduleDepth[b]-moduleDepth[a])).map((name=>moduleMap[name]))}function getDependencyGraph(_ref){let{modules,level,moduleMap,moduleDepth}=_ref;if(level>=5)throw new Error("Possible loop in shader dependency graph");for(const module of modules)moduleMap[module.name]=module,(void 0===moduleDepth[module.name]||moduleDepth[module.name]<level)&&(moduleDepth[module.name]=level);for(const module of modules)module.dependencies&&getDependencyGraph({modules:module.dependencies,level:level+1,moduleMap,moduleDepth})}function instantiateModules(modules,seen){return modules.map((module=>(module instanceof ShaderModule||((0,assert.c)("string"!=typeof module,"Shader module use by name is deprecated. Import shader module '".concat(module,"' and use it directly.")),(0,assert.c)(module.name,"shader module has no name"),(module=new ShaderModule(module)).dependencies=instantiateModules(module.dependencies)),module)))}const GL_VENDOR=7936,GL_RENDERER=7937,GL_VERSION=7938,GL_SHADING_LANGUAGE_VERSION=35724,WEBGL_FEATURES={GLSL_FRAG_DATA:["WEBGL_draw_buffers",!0],GLSL_FRAG_DEPTH:["EXT_frag_depth",!0],GLSL_DERIVATIVES:["OES_standard_derivatives",!0],GLSL_TEXTURE_LOD:["EXT_shader_texture_lod",!0]},FEATURES={};Object.keys(WEBGL_FEATURES).forEach((key=>{FEATURES[key]=key}));const compiledGlslExtensions={};function canCompileGLGSExtension(gl,cap){let opts=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const feature=WEBGL_FEATURES[cap];if((0,assert.c)(feature,cap),!function isOldIE(){let opts=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const navigator="undefined"!=typeof window&&window.navigator||{},userAgent=opts.userAgent||navigator.userAgent||"",isMSIE=-1!==userAgent.indexOf("MSIE "),isTrident=-1!==userAgent.indexOf("Trident/");return isMSIE||isTrident}(opts))return!0;if(cap in compiledGlslExtensions)return compiledGlslExtensions[cap];const extensionName=feature[0],behavior=opts.behavior||"enable",source="#extension GL_".concat(extensionName," : ").concat(behavior,"\nvoid main(void) {}"),shader=gl.createShader(35633);gl.shaderSource(shader,source),gl.compileShader(shader);const canCompile=gl.getShaderParameter(shader,35713);return gl.deleteShader(shader),compiledGlslExtensions[cap]=canCompile,canCompile}function getFeature(gl,cap){const feature=WEBGL_FEATURES[cap];(0,assert.c)(feature,cap);const extensionName=function isWebGL2(gl){return"undefined"!=typeof WebGL2RenderingContext&&gl instanceof WebGL2RenderingContext||Boolean(gl&&2===gl._version)}(gl)&&feature[1]||feature[0],value="string"==typeof extensionName?Boolean(gl.getExtension(extensionName)):extensionName;return(0,assert.c)(!1===value||!0===value),value}function hasFeatures(gl,features){return(features=Array.isArray(features)?features:[features]).every((feature=>getFeature(gl,feature)))}function getPlatformShaderDefines(gl){const debugInfo=function getContextInfo(gl){const info=gl.getExtension("WEBGL_debug_renderer_info"),vendor=gl.getParameter(info&&info.UNMASKED_VENDOR_WEBGL||GL_VENDOR),renderer=gl.getParameter(info&&info.UNMASKED_RENDERER_WEBGL||GL_RENDERER);return{gpuVendor:function identifyGPUVendor(vendor,renderer){return vendor.match(/NVIDIA/i)||renderer.match(/NVIDIA/i)?"NVIDIA":vendor.match(/INTEL/i)||renderer.match(/INTEL/i)?"INTEL":vendor.match(/AMD/i)||renderer.match(/AMD/i)||vendor.match(/ATI/i)||renderer.match(/ATI/i)?"AMD":"UNKNOWN GPU"}(vendor,renderer),vendor,renderer,version:gl.getParameter(GL_VERSION),shadingLanguageVersion:gl.getParameter(GL_SHADING_LANGUAGE_VERSION)}}(gl);switch(debugInfo.gpuVendor.toLowerCase()){case"nvidia":return"#define NVIDIA_GPU\n// Nvidia optimizes away the calculation necessary for emulated fp64\n#define LUMA_FP64_CODE_ELIMINATION_WORKAROUND 1\n";case"intel":return"#define INTEL_GPU\n// Intel optimizes away the calculation necessary for emulated fp64\n#define LUMA_FP64_CODE_ELIMINATION_WORKAROUND 1\n// Intel's built-in 'tan' function doesn't have acceptable precision\n#define LUMA_FP32_TAN_PRECISION_WORKAROUND 1\n// Intel GPU doesn't have full 32 bits precision in same cases, causes overflow\n#define LUMA_FP64_HIGH_BITS_OVERFLOW_WORKAROUND 1\n";case"amd":return"#define AMD_GPU\n";default:return"#define DEFAULT_GPU\n// Prevent driver from optimizing away the calculation necessary for emulated fp64\n#define LUMA_FP64_CODE_ELIMINATION_WORKAROUND 1\n// Intel's built-in 'tan' function doesn't have acceptable precision\n#define LUMA_FP32_TAN_PRECISION_WORKAROUND 1\n// Intel GPU doesn't have full 32 bits precision in same cases, causes overflow\n#define LUMA_FP64_HIGH_BITS_OVERFLOW_WORKAROUND 1\n"}}var inject_shader=__webpack_require__("./node_modules/@luma.gl/shadertools/dist/esm/lib/inject-shader.js");function testVariable(qualifier){return new RegExp("\\b".concat(qualifier,"[ \\t]+(\\w+[ \\t]+\\w+(\\[\\w+\\])?;)"),"g")}const ES300_REPLACEMENTS=[[/^(#version[ \t]+(100|300[ \t]+es))?[ \t]*\n/,"#version 300 es\n"],[/\btexture(2D|2DProj|Cube)Lod(EXT)?\(/g,"textureLod("],[/\btexture(2D|2DProj|Cube)(EXT)?\(/g,"texture("]],ES300_VERTEX_REPLACEMENTS=[...ES300_REPLACEMENTS,[testVariable("attribute"),"in $1"],[testVariable("varying"),"out $1"]],ES300_FRAGMENT_REPLACEMENTS=[...ES300_REPLACEMENTS,[testVariable("varying"),"in $1"]],ES100_REPLACEMENTS=[[/^#version[ \t]+300[ \t]+es/,"#version 100"],[/\btexture(2D|2DProj|Cube)Lod\(/g,"texture$1LodEXT("],[/\btexture\(/g,"texture2D("],[/\btextureLod\(/g,"texture2DLodEXT("]],ES100_VERTEX_REPLACEMENTS=[...ES100_REPLACEMENTS,[testVariable("in"),"attribute $1"],[testVariable("out"),"varying $1"]],ES100_FRAGMENT_REPLACEMENTS=[...ES100_REPLACEMENTS,[testVariable("in"),"varying $1"]],ES100_FRAGMENT_OUTPUT_NAME="gl_FragColor",ES300_FRAGMENT_OUTPUT_REGEX=/\bout[ \t]+vec4[ \t]+(\w+)[ \t]*;\n?/,REGEX_START_OF_MAIN=/void\s+main\s*\([^)]*\)\s*\{\n?/;function transpileShader(source,targetGLSLVersion,isVertex){switch(targetGLSLVersion){case 300:return isVertex?convertShader(source,ES300_VERTEX_REPLACEMENTS):function convertFragmentShaderTo300(source){source=convertShader(source,ES300_FRAGMENT_REPLACEMENTS);const outputMatch=source.match(ES300_FRAGMENT_OUTPUT_REGEX);if(outputMatch){const outputName=outputMatch[1];source=source.replace(new RegExp("\\b".concat(ES100_FRAGMENT_OUTPUT_NAME,"\\b"),"g"),outputName)}else{const outputName="fragmentColor";source=source.replace(REGEX_START_OF_MAIN,(match=>"out vec4 ".concat(outputName,";\n").concat(match))).replace(new RegExp("\\b".concat(ES100_FRAGMENT_OUTPUT_NAME,"\\b"),"g"),outputName)}return source}(source);case 100:return isVertex?convertShader(source,ES100_VERTEX_REPLACEMENTS):function convertFragmentShaderTo100(source){source=convertShader(source,ES100_FRAGMENT_REPLACEMENTS);const outputMatch=source.match(ES300_FRAGMENT_OUTPUT_REGEX);if(outputMatch){const outputName=outputMatch[1];source=source.replace(ES300_FRAGMENT_OUTPUT_REGEX,"").replace(new RegExp("\\b".concat(outputName,"\\b"),"g"),ES100_FRAGMENT_OUTPUT_NAME)}return source}(source);default:throw new Error("unknown GLSL version ".concat(targetGLSLVersion))}}function convertShader(source,replacements){for(const[pattern,replacement]of replacements)source=source.replace(pattern,replacement);return source}const INJECT_SHADER_DECLARATIONS="\n\n".concat(inject_shader.Y_,"\n\n"),SHADER_TYPE={[constants.Y]:"vertex",[constants.k]:"fragment"},FRAGMENT_SHADER_PROLOGUE="precision highp float;\n\n";function assembleShader(gl,_ref){let{id,source,type,modules,defines={},hookFunctions=[],inject={},transpileToGLSL100=!1,prologue=!0,log}=_ref;(0,assert.c)("string"==typeof source,"shader source must be a string");const isVertex=type===constants.Y,sourceLines=source.split("\n");let glslVersion=100,versionLine="",coreSource=source;0===sourceLines[0].indexOf("#version ")?(glslVersion=300,versionLine=sourceLines[0],coreSource=sourceLines.slice(1).join("\n")):versionLine="#version ".concat(glslVersion);const allDefines={};modules.forEach((module=>{Object.assign(allDefines,module.getDefines())})),Object.assign(allDefines,defines);let assembledSource=prologue?"".concat(versionLine,"\n").concat(function getShaderName(_ref3){let{id,source,type}=_ref3;const injectShaderName=id&&"string"==typeof id&&-1===source.indexOf("SHADER_NAME");return injectShaderName?"\n#define SHADER_NAME ".concat(id,"_").concat(SHADER_TYPE[type],"\n\n"):""}({id,source,type}),"\n").concat(function getShaderType(_ref2){let{type}=_ref2;return"\n#define SHADER_TYPE_".concat(SHADER_TYPE[type].toUpperCase(),"\n")}({type}),"\n").concat(getPlatformShaderDefines(gl),"\n").concat(function getVersionDefines(gl,glslVersion,isFragment){let versionDefines="#if (__VERSION__ > 120)\n\n# define FEATURE_GLSL_DERIVATIVES\n# define FEATURE_GLSL_DRAW_BUFFERS\n# define FEATURE_GLSL_FRAG_DEPTH\n# define FEATURE_GLSL_TEXTURE_LOD\n\n// DEPRECATED FLAGS, remove in v9\n# define FRAG_DEPTH\n# define DERIVATIVES\n# define DRAW_BUFFERS\n# define TEXTURE_LOD\n\n#endif // __VERSION\n";return hasFeatures(gl,FEATURES.GLSL_FRAG_DEPTH)&&(versionDefines+="\n// FRAG_DEPTH => gl_FragDepth is available\n#ifdef GL_EXT_frag_depth\n#extension GL_EXT_frag_depth : enable\n# define FEATURE_GLSL_FRAG_DEPTH\n# define FRAG_DEPTH\n# define gl_FragDepth gl_FragDepthEXT\n#endif\n"),hasFeatures(gl,FEATURES.GLSL_DERIVATIVES)&&canCompileGLGSExtension(gl,FEATURES.GLSL_DERIVATIVES)&&(versionDefines+="\n// DERIVATIVES => dxdF, dxdY and fwidth are available\n#ifdef GL_OES_standard_derivatives\n#extension GL_OES_standard_derivatives : enable\n# define FEATURE_GLSL_DERIVATIVES\n# define DERIVATIVES\n#endif\n"),hasFeatures(gl,FEATURES.GLSL_FRAG_DATA)&&canCompileGLGSExtension(gl,FEATURES.GLSL_FRAG_DATA,{behavior:"require"})&&(versionDefines+="\n// DRAW_BUFFERS => gl_FragData[] is available\n#ifdef GL_EXT_draw_buffers\n#extension GL_EXT_draw_buffers : require\n#define FEATURE_GLSL_DRAW_BUFFERS\n#define DRAW_BUFFERS\n#endif\n"),hasFeatures(gl,FEATURES.GLSL_TEXTURE_LOD)&&(versionDefines+="// TEXTURE_LOD => texture2DLod etc are available\n#ifdef GL_EXT_shader_texture_lod\n#extension GL_EXT_shader_texture_lod : enable\n\n# define FEATURE_GLSL_TEXTURE_LOD\n# define TEXTURE_LOD\n\n#endif\n"),versionDefines}(gl),"\n").concat(function getApplicationDefines(){let defines=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},count=0,sourceText="";for(const define in defines){0===count&&(sourceText+="\n// APPLICATION DEFINES\n"),count++;const value=defines[define];(value||Number.isFinite(value))&&(sourceText+="#define ".concat(define.toUpperCase()," ").concat(defines[define],"\n"))}0===count&&(sourceText+="\n");return sourceText}(allDefines),"\n").concat(isVertex?"":FRAGMENT_SHADER_PROLOGUE,"\n"):"".concat(versionLine,"\n");const hookFunctionMap=function normalizeHookFunctions(hookFunctions){const result={vs:{},fs:{}};return hookFunctions.forEach((hook=>{let opts;"string"!=typeof hook?(opts=hook,hook=opts.hook):opts={},hook=hook.trim();const[stage,signature]=hook.split(":"),name=hook.replace(/\(.+/,"");result[stage][name]=Object.assign(opts,{signature})})),result}(hookFunctions),hookInjections={},declInjections={},mainInjections={};for(const key in inject){const injection="string"==typeof inject[key]?{injection:inject[key],order:0}:inject[key],match=key.match(/^(v|f)s:(#)?([\w-]+)$/);if(match){const hash=match[2],name=match[3];hash?"decl"===name?declInjections[key]=[injection]:mainInjections[key]=[injection]:hookInjections[key]=[injection]}else mainInjections[key]=[injection]}for(const module of modules){log&&module.checkDeprecations(coreSource,log);assembledSource+=module.getModuleSource(type,glslVersion);const injections=module.injections[type];for(const key in injections){const match=key.match(/^(v|f)s:#([\w-]+)$/);if(match){const injectionType="decl"===match[2]?declInjections:mainInjections;injectionType[key]=injectionType[key]||[],injectionType[key].push(injections[key])}else hookInjections[key]=hookInjections[key]||[],hookInjections[key].push(injections[key])}}return assembledSource+=INJECT_SHADER_DECLARATIONS,assembledSource=(0,inject_shader.cp)(assembledSource,type,declInjections),assembledSource+=function getHookFunctions(hookFunctions,hookInjections){let result="";for(const hookName in hookFunctions){const hookFunction=hookFunctions[hookName];if(result+="void ".concat(hookFunction.signature," {\n"),hookFunction.header&&(result+=" ".concat(hookFunction.header)),hookInjections[hookName]){const injections=hookInjections[hookName];injections.sort(((a,b)=>a.order-b.order));for(const injection of injections)result+=" ".concat(injection.injection,"\n")}hookFunction.footer&&(result+=" ".concat(hookFunction.footer)),result+="}\n"}return result}(hookFunctionMap[type],hookInjections),assembledSource+=coreSource,assembledSource=(0,inject_shader.cp)(assembledSource,type,mainInjections),assembledSource=transpileShader(assembledSource,transpileToGLSL100?100:glslVersion,isVertex),assembledSource}function assembleGetUniforms(modules){return function getUniforms(opts){const uniforms={};for(const module of modules){const moduleUniforms=module.getUniforms(opts,uniforms);Object.assign(uniforms,moduleUniforms)}return uniforms}}var program=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/program.js");class ProgramManager{static getDefaultProgramManager(gl){return gl.luma=gl.luma||{},gl.luma.defaultProgramManager=gl.luma.defaultProgramManager||new ProgramManager(gl),gl.luma.defaultProgramManager}constructor(gl){this.gl=gl,this._programCache={},this._getUniforms={},this._registeredModules={},this._hookFunctions=[],this._defaultModules=[],this._hashes={},this._hashCounter=0,this.stateHash=0,this._useCounts={}}addDefaultModule(module){this._defaultModules.find((m=>m.name===module.name))||this._defaultModules.push(module),this.stateHash++}removeDefaultModule(module){const moduleName="string"==typeof module?module:module.name;this._defaultModules=this._defaultModules.filter((m=>m.name!==moduleName)),this.stateHash++}addShaderHook(hook,opts){opts&&(hook=Object.assign(opts,{hook})),this._hookFunctions.push(hook),this.stateHash++}get(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{vs="",fs="",defines={},inject={},varyings=[],bufferMode=35981,transpileToGLSL100=!1}=props,modules=this._getModuleList(props.modules),vsHash=this._getHash(vs),fsHash=this._getHash(fs),moduleHashes=modules.map((m=>this._getHash(m.name))).sort(),varyingHashes=varyings.map((v=>this._getHash(v))),defineKeys=Object.keys(defines).sort(),injectKeys=Object.keys(inject).sort(),defineHashes=[],injectHashes=[];for(const key of defineKeys)defineHashes.push(this._getHash(key)),defineHashes.push(this._getHash(defines[key]));for(const key of injectKeys)injectHashes.push(this._getHash(key)),injectHashes.push(this._getHash(inject[key]));const hash="".concat(vsHash,"/").concat(fsHash,"D").concat(defineHashes.join("/"),"M").concat(moduleHashes.join("/"),"I").concat(injectHashes.join("/"),"V").concat(varyingHashes.join("/"),"H").concat(this.stateHash,"B").concat(bufferMode).concat(transpileToGLSL100?"T":"");if(!this._programCache[hash]){const assembled=function assembleShaders(gl,opts){const{vs,fs}=opts,modules=resolveModules(opts.modules||[]);return{gl,vs:assembleShader(gl,Object.assign({},opts,{source:vs,type:constants.Y,modules})),fs:assembleShader(gl,Object.assign({},opts,{source:fs,type:constants.k,modules})),getUniforms:assembleGetUniforms(modules)}}(this.gl,{vs,fs,modules,inject,defines,hookFunctions:this._hookFunctions,transpileToGLSL100});this._programCache[hash]=new program.c(this.gl,{hash,vs:assembled.vs,fs:assembled.fs,varyings,bufferMode}),this._getUniforms[hash]=assembled.getUniforms||(x=>{}),this._useCounts[hash]=0}return this._useCounts[hash]++,this._programCache[hash]}getUniforms(program){return this._getUniforms[program.hash]||null}release(program){const hash=program.hash;this._useCounts[hash]--,0===this._useCounts[hash]&&(this._programCache[hash].delete(),delete this._programCache[hash],delete this._getUniforms[hash],delete this._useCounts[hash])}_getHash(key){return void 0===this._hashes[key]&&(this._hashes[key]=this._hashCounter++),this._hashes[key]}_getModuleList(){let appModules=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const modules=new Array(this._defaultModules.length+appModules.length),seen={};let count=0;for(let i=0,len=this._defaultModules.length;i<len;++i){const module=this._defaultModules[i],name=module.name;modules[count++]=module,seen[name]=!0}for(let i=0,len=appModules.length;i<len;++i){const module=appModules[i],name=module.name;seen[name]||(modules[count++]=module,seen[name]=!0)}return modules.length=count,modules}}},"./node_modules/@luma.gl/gltools/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Yb:()=>assertWebGL2Context,ew:()=>assertWebGLContext,yI:()=>createGLContext,qy:()=>cssToDevicePixels,cb:()=>cssToDeviceRatio,YT:()=>getWebGL2Context,W4:()=>instrumentGLContext,YH:()=>isWebGL,Y8:()=>isWebGL2,Yz:()=>log_log,Q3:()=>resetParameters,kn:()=>resizeGLContext,Gm:()=>setParameters,Qx:()=>withParameters});const log_log=new(__webpack_require__("./node_modules/@probe.gl/log/dist/esm/log.js").q)({id:"luma.gl"});function assert(condition,message){if(!condition)throw new Error(message||"luma.gl: assertion failed.")}const ERR_CONTEXT="Invalid WebGLRenderingContext",ERR_WEBGL2="Requires WebGL2";function isWebGL(gl){return"undefined"!=typeof WebGLRenderingContext&&gl instanceof WebGLRenderingContext||("undefined"!=typeof WebGL2RenderingContext&&gl instanceof WebGL2RenderingContext||Boolean(gl&&Number.isFinite(gl._version)))}function isWebGL2(gl){return"undefined"!=typeof WebGL2RenderingContext&&gl instanceof WebGL2RenderingContext||Boolean(gl&&2===gl._version)}function getWebGL2Context(gl){return isWebGL2(gl)?gl:null}function assertWebGLContext(gl){return assert(isWebGL(gl),ERR_CONTEXT),gl}function assertWebGL2Context(gl){return assert(isWebGL2(gl),ERR_WEBGL2),gl}const glErrorShadow={};function synthesizeGLError(err,opt_msg){glErrorShadow[err]=!0,void 0!==opt_msg&&function error(msg){globalThis.console&&globalThis.console.error&&globalThis.console.error(msg)}(opt_msg)}const WebGLVertexArrayObjectOES=function WebGLVertexArrayObjectOES(ext){const gl=ext.gl;this.ext=ext,this.isAlive=!0,this.hasBeenBound=!1,this.elementArrayBuffer=null,this.attribs=new Array(ext.maxVertexAttribs);for(let n=0;n<this.attribs.length;n++){const attrib=new WebGLVertexArrayObjectOES.VertexAttrib(gl);this.attribs[n]=attrib}this.maxAttrib=0};(WebGLVertexArrayObjectOES.VertexAttrib=function VertexAttrib(gl){this.enabled=!1,this.buffer=null,this.size=4,this.type=5126,this.normalized=!1,this.stride=16,this.offset=0,this.cached="",this.recache()}).prototype.recache=function recache(){this.cached=[this.size,this.type,this.normalized,this.stride,this.offset].join(":")};const OESVertexArrayObject=function OESVertexArrayObject(gl){const self=this;this.gl=gl,function wrapGLError(gl){const f=gl.getError;gl.getError=function getError(){let err;do{err=f.apply(gl),0!==err&&(glErrorShadow[err]=!0)}while(0!==err);for(err in glErrorShadow)if(glErrorShadow[err])return delete glErrorShadow[err],parseInt(err,10);return 0}}(gl);const original=this.original={getParameter:gl.getParameter,enableVertexAttribArray:gl.enableVertexAttribArray,disableVertexAttribArray:gl.disableVertexAttribArray,bindBuffer:gl.bindBuffer,getVertexAttrib:gl.getVertexAttrib,vertexAttribPointer:gl.vertexAttribPointer};gl.getParameter=function getParameter(pname){return pname===self.VERTEX_ARRAY_BINDING_OES?self.currentVertexArrayObject===self.defaultVertexArrayObject?null:self.currentVertexArrayObject:original.getParameter.apply(this,arguments)},gl.enableVertexAttribArray=function enableVertexAttribArray(index){const vao=self.currentVertexArrayObject;vao.maxAttrib=Math.max(vao.maxAttrib,index);return vao.attribs[index].enabled=!0,original.enableVertexAttribArray.apply(this,arguments)},gl.disableVertexAttribArray=function disableVertexAttribArray(index){const vao=self.currentVertexArrayObject;vao.maxAttrib=Math.max(vao.maxAttrib,index);return vao.attribs[index].enabled=!1,original.disableVertexAttribArray.apply(this,arguments)},gl.bindBuffer=function bindBuffer(target,buffer){switch(target){case 34962:self.currentArrayBuffer=buffer;break;case 34963:self.currentVertexArrayObject.elementArrayBuffer=buffer}return original.bindBuffer.apply(this,arguments)},gl.getVertexAttrib=function getVertexAttrib(index,pname){const attrib=self.currentVertexArrayObject.attribs[index];switch(pname){case 34975:return attrib.buffer;case 34338:return attrib.enabled;case 34339:return attrib.size;case 34340:return attrib.stride;case 34341:return attrib.type;case 34922:return attrib.normalized;default:return original.getVertexAttrib.apply(this,arguments)}},gl.vertexAttribPointer=function vertexAttribPointer(indx,size,type,normalized,stride,offset){const vao=self.currentVertexArrayObject;vao.maxAttrib=Math.max(vao.maxAttrib,indx);const attrib=vao.attribs[indx];return attrib.buffer=self.currentArrayBuffer,attrib.size=size,attrib.type=type,attrib.normalized=normalized,attrib.stride=stride,attrib.offset=offset,attrib.recache(),original.vertexAttribPointer.apply(this,arguments)},gl.instrumentExtension&&gl.instrumentExtension(this,"OES_vertex_array_object"),gl.canvas&&gl.canvas.addEventListener("webglcontextrestored",(()=>{!function polyfill_vertex_array_object_log(msg){globalThis.console&&globalThis.console.log&&globalThis.console.log(msg)}("OESVertexArrayObject emulation library context restored"),self.reset_()}),!0),this.reset_()};OESVertexArrayObject.prototype.VERTEX_ARRAY_BINDING_OES=34229,OESVertexArrayObject.prototype.reset_=function reset_(){if(void 0!==this.vertexArrayObjects)for(let ii=0;ii<this.vertexArrayObjects.length;++ii)this.vertexArrayObjects.isAlive=!1;const gl=this.gl;this.maxVertexAttribs=gl.getParameter(34921),this.defaultVertexArrayObject=new WebGLVertexArrayObjectOES(this),this.currentVertexArrayObject=null,this.currentArrayBuffer=null,this.vertexArrayObjects=[this.defaultVertexArrayObject],this.bindVertexArrayOES(null)},OESVertexArrayObject.prototype.createVertexArrayOES=function createVertexArrayOES(){const arrayObject=new WebGLVertexArrayObjectOES(this);return this.vertexArrayObjects.push(arrayObject),arrayObject},OESVertexArrayObject.prototype.deleteVertexArrayOES=function deleteVertexArrayOES(arrayObject){arrayObject.isAlive=!1,this.vertexArrayObjects.splice(this.vertexArrayObjects.indexOf(arrayObject),1),this.currentVertexArrayObject===arrayObject&&this.bindVertexArrayOES(null)},OESVertexArrayObject.prototype.isVertexArrayOES=function isVertexArrayOES(arrayObject){return!!(arrayObject&&arrayObject instanceof WebGLVertexArrayObjectOES&&arrayObject.hasBeenBound&&arrayObject.ext===this)},OESVertexArrayObject.prototype.bindVertexArrayOES=function bindVertexArrayOES(arrayObject){const gl=this.gl;if(arrayObject&&!arrayObject.isAlive)return void synthesizeGLError(1282,"bindVertexArrayOES: attempt to bind deleted arrayObject");const original=this.original,oldVAO=this.currentVertexArrayObject;this.currentVertexArrayObject=arrayObject||this.defaultVertexArrayObject,this.currentVertexArrayObject.hasBeenBound=!0;const newVAO=this.currentVertexArrayObject;if(oldVAO===newVAO)return;oldVAO&&newVAO.elementArrayBuffer===oldVAO.elementArrayBuffer||original.bindBuffer.call(gl,34963,newVAO.elementArrayBuffer);let currentBinding=this.currentArrayBuffer;const maxAttrib=Math.max(oldVAO?oldVAO.maxAttrib:0,newVAO.maxAttrib);for(let n=0;n<=maxAttrib;n++){const attrib=newVAO.attribs[n],oldAttrib=oldVAO?oldVAO.attribs[n]:null;if(oldVAO&&attrib.enabled===oldAttrib.enabled||(attrib.enabled?original.enableVertexAttribArray.call(gl,n):original.disableVertexAttribArray.call(gl,n)),attrib.enabled){let bufferChanged=!1;oldVAO&&attrib.buffer===oldAttrib.buffer||(currentBinding!==attrib.buffer&&(original.bindBuffer.call(gl,34962,attrib.buffer),currentBinding=attrib.buffer),bufferChanged=!0),(bufferChanged||attrib.cached!==oldAttrib.cached)&&original.vertexAttribPointer.call(gl,n,attrib.size,attrib.type,attrib.normalized,attrib.stride,attrib.offset)}}this.currentArrayBuffer!==currentBinding&&original.bindBuffer.call(gl,34962,this.currentArrayBuffer)};const getWebGL2ValueOrZero=gl=>isWebGL2(gl)?void 0:0,WEBGL_PARAMETERS={3074:gl=>isWebGL2(gl)?void 0:36064,35723:gl=>isWebGL2(gl)?void 0:4352,35977:getWebGL2ValueOrZero,32937:getWebGL2ValueOrZero,36795:(gl,getParameter)=>{const ext=isWebGL2(gl)?gl.getExtension("EXT_disjoint_timer_query_webgl2"):gl.getExtension("EXT_disjoint_timer_query");return ext&&ext.GPU_DISJOINT_EXT?getParameter(ext.GPU_DISJOINT_EXT):0},37445:(gl,getParameter)=>{const ext=gl.getExtension("WEBGL_debug_renderer_info");return getParameter(ext&&ext.UNMASKED_VENDOR_WEBGL||7936)},37446:(gl,getParameter)=>{const ext=gl.getExtension("WEBGL_debug_renderer_info");return getParameter(ext&&ext.UNMASKED_RENDERER_WEBGL||7937)},34047:(gl,getParameter)=>{const ext=gl.luma.extensions.EXT_texture_filter_anisotropic;return ext?getParameter(ext.MAX_TEXTURE_MAX_ANISOTROPY_EXT):1},32883:getWebGL2ValueOrZero,35071:getWebGL2ValueOrZero,37447:getWebGL2ValueOrZero,36063:(gl,getParameter)=>{if(!isWebGL2(gl)){const ext=gl.getExtension("WEBGL_draw_buffers");return ext?getParameter(ext.MAX_COLOR_ATTACHMENTS_WEBGL):0}},35379:getWebGL2ValueOrZero,35374:getWebGL2ValueOrZero,35377:getWebGL2ValueOrZero,34852:gl=>{if(!isWebGL2(gl)){const ext=gl.getExtension("WEBGL_draw_buffers");return ext?ext.MAX_DRAW_BUFFERS_WEBGL:0}},36203:gl=>gl.getExtension("OES_element_index")?2147483647:65535,33001:gl=>gl.getExtension("OES_element_index")?16777216:65535,33e3:gl=>16777216,37157:getWebGL2ValueOrZero,35373:getWebGL2ValueOrZero,35657:getWebGL2ValueOrZero,36183:getWebGL2ValueOrZero,37137:getWebGL2ValueOrZero,34045:getWebGL2ValueOrZero,35978:getWebGL2ValueOrZero,35979:getWebGL2ValueOrZero,35968:getWebGL2ValueOrZero,35376:getWebGL2ValueOrZero,35375:getWebGL2ValueOrZero,35659:getWebGL2ValueOrZero,37154:getWebGL2ValueOrZero,35371:getWebGL2ValueOrZero,35658:getWebGL2ValueOrZero,35076:getWebGL2ValueOrZero,35077:getWebGL2ValueOrZero,35380:getWebGL2ValueOrZero};const WEBGL2_CONTEXT_POLYFILLS={OES_vertex_array_object:{meta:{suffix:"OES"},createVertexArray:()=>{assert(!1,"VertexArray requires WebGL2 or OES_vertex_array_object extension")},deleteVertexArray:()=>{},bindVertexArray:()=>{},isVertexArray:()=>!1},ANGLE_instanced_arrays:{meta:{suffix:"ANGLE"},vertexAttribDivisor(location,divisor){assert(0===divisor,"WebGL instanced rendering not supported")},drawElementsInstanced:()=>{},drawArraysInstanced:()=>{}},WEBGL_draw_buffers:{meta:{suffix:"WEBGL"},drawBuffers:()=>{assert(!1)}},EXT_disjoint_timer_query:{meta:{suffix:"EXT"},createQuery:()=>{assert(!1)},deleteQuery:()=>{assert(!1)},beginQuery:()=>{assert(!1)},endQuery:()=>{},getQuery(handle,pname){return this.getQueryObject(handle,pname)},getQueryParameter(handle,pname){return this.getQueryObject(handle,pname)},getQueryObject:()=>{}}},WEBGL2_CONTEXT_OVERRIDES={readBuffer:(gl,originalFunc,attachment)=>{isWebGL2(gl)&&originalFunc(attachment)},getVertexAttrib:(gl,originalFunc,location,pname)=>{const{webgl2,ext}=function getExtensionData(gl,extension){return{webgl2:isWebGL2(gl),ext:gl.getExtension(extension)}}(gl,"ANGLE_instanced_arrays");let result;switch(pname){case 35069:result=!!webgl2&&void 0;break;case 35070:result=webgl2||ext?void 0:0}return void 0!==result?result:originalFunc(location,pname)},getProgramParameter:(gl,originalFunc,program,pname)=>{if(!isWebGL2(gl))switch(pname){case 35967:return 35981;case 35971:case 35382:return 0}return originalFunc(program,pname)},getInternalformatParameter:(gl,originalFunc,target,format,pname)=>isWebGL2(gl)||32937!==pname?gl.getInternalformatParameter(target,format,pname):new Int32Array([0]),getTexParameter(gl,originalFunc,target,pname){if(34046===pname){const{extensions}=gl.luma,ext=extensions.EXT_texture_filter_anisotropic;pname=ext&&ext.TEXTURE_MAX_ANISOTROPY_EXT||34046}return originalFunc(target,pname)},getParameter:function getParameterPolyfill(gl,originalGetParameter,pname){const limit=WEBGL_PARAMETERS[pname],value="function"==typeof limit?limit(gl,originalGetParameter,pname):limit;return void 0!==value?value:originalGetParameter(pname)},hint:(gl,originalFunc,pname,value)=>originalFunc(pname,value)};function polyfillExtension(gl,_ref2){let{extension,target,target2}=_ref2;const defaults=WEBGL2_CONTEXT_POLYFILLS[extension];assert(defaults);const{meta={}}=defaults,{suffix=""}=meta,ext=gl.getExtension(extension);for(const key of Object.keys(defaults)){const extKey="".concat(key).concat(suffix);let polyfill=null;"meta"===key||"function"==typeof gl[key]||(ext&&"function"==typeof ext[extKey]?polyfill=function(){return ext[extKey](...arguments)}:"function"==typeof defaults[key]&&(polyfill=defaults[key].bind(target))),polyfill&&(target[key]=polyfill,target2[key]=polyfill)}}globalThis.polyfillContext=function polyfillContext(gl){gl.luma=gl.luma||{};const{luma}=gl;return luma.polyfilled||(!function polyfillVertexArrayObject(gl){if("function"==typeof gl.createVertexArray)return;const original_getSupportedExtensions=gl.getSupportedExtensions;gl.getSupportedExtensions=function getSupportedExtensions(){const list=original_getSupportedExtensions.call(this)||[];return list.indexOf("OES_vertex_array_object")<0&&list.push("OES_vertex_array_object"),list};const original_getExtension=gl.getExtension;gl.getExtension=function getExtension(name){return original_getExtension.call(this,name)||("OES_vertex_array_object"!==name?null:(gl.__OESVertexArrayObject||(this.__OESVertexArrayObject=new OESVertexArrayObject(this)),this.__OESVertexArrayObject))}}(gl),function initializeExtensions(gl){gl.luma.extensions={};const EXTENSIONS=gl.getSupportedExtensions()||[];for(const extension of EXTENSIONS)gl.luma[extension]=gl.getExtension(extension)}(gl),function installPolyfills(gl,polyfills){for(const extension of Object.getOwnPropertyNames(polyfills))"overrides"!==extension&&polyfillExtension(gl,{extension,target:gl.luma,target2:gl})}(gl,WEBGL2_CONTEXT_POLYFILLS),function installOverrides(gl,_ref){let{target,target2}=_ref;Object.keys(WEBGL2_CONTEXT_OVERRIDES).forEach((key=>{if("function"==typeof WEBGL2_CONTEXT_OVERRIDES[key]){const originalFunc=gl[key]?gl[key].bind(gl):()=>{},polyfill=WEBGL2_CONTEXT_OVERRIDES[key].bind(null,gl,originalFunc);target[key]=polyfill,target2[key]=polyfill}}))}(gl,{target:luma,target2:gl}),luma.polyfilled=!0),gl};const GL_PARAMETER_DEFAULTS={3042:!1,32773:new Float32Array([0,0,0,0]),32777:32774,34877:32774,32969:1,32968:0,32971:1,32970:0,3106:new Float32Array([0,0,0,0]),3107:[!0,!0,!0,!0],2884:!1,2885:1029,2929:!1,2931:1,2932:513,2928:new Float32Array([0,1]),2930:!0,3024:!0,36006:null,2886:2305,33170:4352,2849:1,32823:!1,32824:0,10752:0,32938:1,32939:!1,3089:!1,3088:new Int32Array([0,0,1024,1024]),2960:!1,2961:0,2968:4294967295,36005:4294967295,2962:519,2967:0,2963:4294967295,34816:519,36003:0,36004:4294967295,2964:7680,2965:7680,2966:7680,34817:7680,34818:7680,34819:7680,2978:[0,0,1024,1024],3333:4,3317:4,37440:!1,37441:!1,37443:37444,35723:4352,36010:null,35977:!1,3330:0,3332:0,3331:0,3314:0,32878:0,3316:0,3315:0,32877:0},enable=(gl,value,key)=>value?gl.enable(key):gl.disable(key),hint=(gl,value,key)=>gl.hint(key,value),pixelStorei=(gl,value,key)=>gl.pixelStorei(key,value);function isArray(array){return Array.isArray(array)||ArrayBuffer.isView(array)}const GL_PARAMETER_SETTERS={3042:enable,32773:(gl,value)=>gl.blendColor(...value),32777:"blendEquation",34877:"blendEquation",32969:"blendFunc",32968:"blendFunc",32971:"blendFunc",32970:"blendFunc",3106:(gl,value)=>gl.clearColor(...value),3107:(gl,value)=>gl.colorMask(...value),2884:enable,2885:(gl,value)=>gl.cullFace(value),2929:enable,2931:(gl,value)=>gl.clearDepth(value),2932:(gl,value)=>gl.depthFunc(value),2928:(gl,value)=>gl.depthRange(...value),2930:(gl,value)=>gl.depthMask(value),3024:enable,35723:hint,36006:(gl,value)=>{const target=isWebGL2(gl)?36009:36160;return gl.bindFramebuffer(target,value)},2886:(gl,value)=>gl.frontFace(value),33170:hint,2849:(gl,value)=>gl.lineWidth(value),32823:enable,32824:"polygonOffset",10752:"polygonOffset",35977:enable,32938:"sampleCoverage",32939:"sampleCoverage",3089:enable,3088:(gl,value)=>gl.scissor(...value),2960:enable,2961:(gl,value)=>gl.clearStencil(value),2968:(gl,value)=>gl.stencilMaskSeparate(1028,value),36005:(gl,value)=>gl.stencilMaskSeparate(1029,value),2962:"stencilFuncFront",2967:"stencilFuncFront",2963:"stencilFuncFront",34816:"stencilFuncBack",36003:"stencilFuncBack",36004:"stencilFuncBack",2964:"stencilOpFront",2965:"stencilOpFront",2966:"stencilOpFront",34817:"stencilOpBack",34818:"stencilOpBack",34819:"stencilOpBack",2978:(gl,value)=>gl.viewport(...value),3333:pixelStorei,3317:pixelStorei,37440:pixelStorei,37441:pixelStorei,37443:pixelStorei,3330:pixelStorei,3332:pixelStorei,3331:pixelStorei,36010:(gl,value)=>gl.bindFramebuffer(36008,value),3314:pixelStorei,32878:pixelStorei,3316:pixelStorei,3315:pixelStorei,32877:pixelStorei,framebuffer:(gl,framebuffer)=>{const handle=framebuffer&&"handle"in framebuffer?framebuffer.handle:framebuffer;return gl.bindFramebuffer(36160,handle)},blend:(gl,value)=>value?gl.enable(3042):gl.disable(3042),blendColor:(gl,value)=>gl.blendColor(...value),blendEquation:(gl,args)=>{args=isArray(args)?args:[args,args],gl.blendEquationSeparate(...args)},blendFunc:(gl,args)=>{args=isArray(args)&&2===args.length?[...args,...args]:args,gl.blendFuncSeparate(...args)},clearColor:(gl,value)=>gl.clearColor(...value),clearDepth:(gl,value)=>gl.clearDepth(value),clearStencil:(gl,value)=>gl.clearStencil(value),colorMask:(gl,value)=>gl.colorMask(...value),cull:(gl,value)=>value?gl.enable(2884):gl.disable(2884),cullFace:(gl,value)=>gl.cullFace(value),depthTest:(gl,value)=>value?gl.enable(2929):gl.disable(2929),depthFunc:(gl,value)=>gl.depthFunc(value),depthMask:(gl,value)=>gl.depthMask(value),depthRange:(gl,value)=>gl.depthRange(...value),dither:(gl,value)=>value?gl.enable(3024):gl.disable(3024),derivativeHint:(gl,value)=>{gl.hint(35723,value)},frontFace:(gl,value)=>gl.frontFace(value),mipmapHint:(gl,value)=>gl.hint(33170,value),lineWidth:(gl,value)=>gl.lineWidth(value),polygonOffsetFill:(gl,value)=>value?gl.enable(32823):gl.disable(32823),polygonOffset:(gl,value)=>gl.polygonOffset(...value),sampleCoverage:(gl,value)=>gl.sampleCoverage(...value),scissorTest:(gl,value)=>value?gl.enable(3089):gl.disable(3089),scissor:(gl,value)=>gl.scissor(...value),stencilTest:(gl,value)=>value?gl.enable(2960):gl.disable(2960),stencilMask:(gl,value)=>{value=isArray(value)?value:[value,value];const[mask,backMask]=value;gl.stencilMaskSeparate(1028,mask),gl.stencilMaskSeparate(1029,backMask)},stencilFunc:(gl,args)=>{args=isArray(args)&&3===args.length?[...args,...args]:args;const[func,ref,mask,backFunc,backRef,backMask]=args;gl.stencilFuncSeparate(1028,func,ref,mask),gl.stencilFuncSeparate(1029,backFunc,backRef,backMask)},stencilOp:(gl,args)=>{args=isArray(args)&&3===args.length?[...args,...args]:args;const[sfail,dpfail,dppass,backSfail,backDpfail,backDppass]=args;gl.stencilOpSeparate(1028,sfail,dpfail,dppass),gl.stencilOpSeparate(1029,backSfail,backDpfail,backDppass)},viewport:(gl,value)=>gl.viewport(...value)};function getValue(glEnum,values,cache){return void 0!==values[glEnum]?values[glEnum]:cache[glEnum]}const GL_COMPOSITE_PARAMETER_SETTERS={blendEquation:(gl,values,cache)=>gl.blendEquationSeparate(getValue(32777,values,cache),getValue(34877,values,cache)),blendFunc:(gl,values,cache)=>gl.blendFuncSeparate(getValue(32969,values,cache),getValue(32968,values,cache),getValue(32971,values,cache),getValue(32970,values,cache)),polygonOffset:(gl,values,cache)=>gl.polygonOffset(getValue(32824,values,cache),getValue(10752,values,cache)),sampleCoverage:(gl,values,cache)=>gl.sampleCoverage(getValue(32938,values,cache),getValue(32939,values,cache)),stencilFuncFront:(gl,values,cache)=>gl.stencilFuncSeparate(1028,getValue(2962,values,cache),getValue(2967,values,cache),getValue(2963,values,cache)),stencilFuncBack:(gl,values,cache)=>gl.stencilFuncSeparate(1029,getValue(34816,values,cache),getValue(36003,values,cache),getValue(36004,values,cache)),stencilOpFront:(gl,values,cache)=>gl.stencilOpSeparate(1028,getValue(2964,values,cache),getValue(2965,values,cache),getValue(2966,values,cache)),stencilOpBack:(gl,values,cache)=>gl.stencilOpSeparate(1029,getValue(34817,values,cache),getValue(34818,values,cache),getValue(34819,values,cache))},GL_HOOKED_SETTERS={enable:(update,capability)=>update({[capability]:!0}),disable:(update,capability)=>update({[capability]:!1}),pixelStorei:(update,pname,value)=>update({[pname]:value}),hint:(update,pname,hint)=>update({[pname]:hint}),bindFramebuffer:(update,target,framebuffer)=>{switch(target){case 36160:return update({36006:framebuffer,36010:framebuffer});case 36009:return update({36006:framebuffer});case 36008:return update({36010:framebuffer});default:return null}},blendColor:(update,r,g,b,a)=>update({32773:new Float32Array([r,g,b,a])}),blendEquation:(update,mode)=>update({32777:mode,34877:mode}),blendEquationSeparate:(update,modeRGB,modeAlpha)=>update({32777:modeRGB,34877:modeAlpha}),blendFunc:(update,src,dst)=>update({32969:src,32968:dst,32971:src,32970:dst}),blendFuncSeparate:(update,srcRGB,dstRGB,srcAlpha,dstAlpha)=>update({32969:srcRGB,32968:dstRGB,32971:srcAlpha,32970:dstAlpha}),clearColor:(update,r,g,b,a)=>update({3106:new Float32Array([r,g,b,a])}),clearDepth:(update,depth)=>update({2931:depth}),clearStencil:(update,s)=>update({2961:s}),colorMask:(update,r,g,b,a)=>update({3107:[r,g,b,a]}),cullFace:(update,mode)=>update({2885:mode}),depthFunc:(update,func)=>update({2932:func}),depthRange:(update,zNear,zFar)=>update({2928:new Float32Array([zNear,zFar])}),depthMask:(update,mask)=>update({2930:mask}),frontFace:(update,face)=>update({2886:face}),lineWidth:(update,width)=>update({2849:width}),polygonOffset:(update,factor,units)=>update({32824:factor,10752:units}),sampleCoverage:(update,value,invert)=>update({32938:value,32939:invert}),scissor:(update,x,y,width,height)=>update({3088:new Int32Array([x,y,width,height])}),stencilMask:(update,mask)=>update({2968:mask,36005:mask}),stencilMaskSeparate:(update,face,mask)=>update({[1028===face?2968:36005]:mask}),stencilFunc:(update,func,ref,mask)=>update({2962:func,2967:ref,2963:mask,34816:func,36003:ref,36004:mask}),stencilFuncSeparate:(update,face,func,ref,mask)=>update({[1028===face?2962:34816]:func,[1028===face?2967:36003]:ref,[1028===face?2963:36004]:mask}),stencilOp:(update,fail,zfail,zpass)=>update({2964:fail,2965:zfail,2966:zpass,34817:fail,34818:zfail,34819:zpass}),stencilOpSeparate:(update,face,fail,zfail,zpass)=>update({[1028===face?2964:34817]:fail,[1028===face?2965:34818]:zfail,[1028===face?2966:34819]:zpass}),viewport:(update,x,y,width,height)=>update({2978:[x,y,width,height]})},isEnabled=(gl,key)=>gl.isEnabled(key),GL_PARAMETER_GETTERS={3042:isEnabled,2884:isEnabled,2929:isEnabled,3024:isEnabled,32823:isEnabled,32926:isEnabled,32928:isEnabled,3089:isEnabled,2960:isEnabled,35977:isEnabled};function isObjectEmpty(object){for(const key in object)return!1;return!0}function deepArrayEqual(x,y){if(x===y)return!0;const isArrayX=Array.isArray(x)||ArrayBuffer.isView(x),isArrayY=Array.isArray(y)||ArrayBuffer.isView(y);if(isArrayX&&isArrayY&&x.length===y.length){for(let i=0;i<x.length;++i)if(x[i]!==y[i])return!1;return!0}return!1}function installGetterOverride(gl,functionName){const originalGetterFunc=gl[functionName].bind(gl);gl[functionName]=function get(){const pname=arguments.length<=0?void 0:arguments[0];return pname in gl.state.cache&&gl.state.enable?gl.state.cache[pname]:originalGetterFunc(...arguments)},Object.defineProperty(gl[functionName],"name",{value:"".concat(functionName,"-from-cache"),configurable:!1})}function installSetterSpy(gl,functionName,setter){const originalSetterFunc=gl[functionName].bind(gl);gl[functionName]=function set(){for(var _len=arguments.length,params=new Array(_len),_key=0;_key<_len;_key++)params[_key]=arguments[_key];const{valueChanged,oldValue}=setter(gl.state._updateCache,...params);return valueChanged&&originalSetterFunc(...params),oldValue},Object.defineProperty(gl[functionName],"name",{value:"".concat(functionName,"-to-cache"),configurable:!1})}class GLState{constructor(gl){let{copyState=!1,log=()=>{}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=gl,this.program=null,this.stateStack=[],this.enable=!0,this.cache=copyState?function getParameters(gl,parameters){if("number"==typeof(parameters=parameters||GL_PARAMETER_DEFAULTS)){const key=parameters,getter=GL_PARAMETER_GETTERS[key];return getter?getter(gl,key):gl.getParameter(key)}const parameterKeys=Array.isArray(parameters)?parameters:Object.keys(parameters),state={};for(const key of parameterKeys){const getter=GL_PARAMETER_GETTERS[key];state[key]=getter?getter(gl,Number(key)):gl.getParameter(Number(key))}return state}(gl):Object.assign({},GL_PARAMETER_DEFAULTS),this.log=log,this._updateCache=this._updateCache.bind(this),Object.seal(this)}push(){this.stateStack.push({})}pop(){assert(this.stateStack.length>0);const oldValues=this.stateStack[this.stateStack.length-1];setParameters(this.gl,oldValues),this.stateStack.pop()}_updateCache(values){let oldValue,valueChanged=!1;const oldValues=this.stateStack.length>0&&this.stateStack[this.stateStack.length-1];for(const key in values){assert(void 0!==key);const value=values[key],cached=this.cache[key];deepArrayEqual(value,cached)||(valueChanged=!0,oldValue=cached,oldValues&&!(key in oldValues)&&(oldValues[key]=cached),this.cache[key]=value)}return{valueChanged,oldValue}}}function trackContextState(gl){let options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{enable=!0,copyState}=options;if(assert(void 0!==copyState),!gl.state){const{polyfillContext}=globalThis;polyfillContext&&polyfillContext(gl),gl.state=new GLState(gl,{copyState}),function installProgramSpy(gl){const originalUseProgram=gl.useProgram.bind(gl);gl.useProgram=function useProgramLuma(handle){gl.state.program!==handle&&(originalUseProgram(handle),gl.state.program=handle)}}(gl);for(const key in GL_HOOKED_SETTERS){installSetterSpy(gl,key,GL_HOOKED_SETTERS[key])}installGetterOverride(gl,"getParameter"),installGetterOverride(gl,"isEnabled")}return gl.state.enable=enable,gl}function popContextState(gl){assert(gl.state),gl.state.pop()}function setParameters(gl,values){if(assert(isWebGL(gl),"setParameters requires a WebGL context"),isObjectEmpty(values))return;const compositeSetters={};for(const key in values){const glConstant=Number(key),setter=GL_PARAMETER_SETTERS[key];setter&&("string"==typeof setter?compositeSetters[setter]=!0:setter(gl,values[key],glConstant))}const cache=gl.state&&gl.state.cache;if(cache)for(const key in compositeSetters){(0,GL_COMPOSITE_PARAMETER_SETTERS[key])(gl,values,cache)}}function resetParameters(gl){setParameters(gl,GL_PARAMETER_DEFAULTS)}function withParameters(gl,parameters,func){if(isObjectEmpty(parameters))return func(gl);const{nocatch=!0}=parameters;let value;if(function pushContextState(gl){gl.state||trackContextState(gl,{copyState:!1}),gl.state.push()}(gl),setParameters(gl,parameters),nocatch)value=func(gl),popContextState(gl);else try{value=func(gl)}finally{popContextState(gl)}return value}function cssToDeviceRatio(gl){const{luma}=gl;if(gl.canvas&&luma){const cachedSize=luma.canvasSizeInfo,clientWidth="clientWidth"in cachedSize?cachedSize.clientWidth:gl.canvas.clientWidth;return clientWidth?gl.drawingBufferWidth/clientWidth:1}return 1}function cssToDevicePixels(gl,cssPixel){let yInvert=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function scalePixels(pixel,ratio,width,height,yInvert){const x=scaleX(pixel[0],ratio,width);let y=scaleY(pixel[1],ratio,height,yInvert),t=scaleX(pixel[0]+1,ratio,width);const xHigh=t===width-1?t:t-1;let yHigh;t=scaleY(pixel[1]+1,ratio,height,yInvert),yInvert?(t=0===t?t:t+1,yHigh=y,y=t):yHigh=t===height-1?t:t-1;return{x,y,width:Math.max(xHigh-x+1,1),height:Math.max(yHigh-y+1,1)}}(cssPixel,cssToDeviceRatio(gl),gl.drawingBufferWidth,gl.drawingBufferHeight,yInvert)}function scaleX(x,ratio,width){return Math.min(Math.round(x*ratio),width-1)}function scaleY(y,ratio,height,yInvert){return yInvert?Math.max(0,height-1-Math.round(y*ratio)):Math.min(Math.round(y*ratio),height-1)}const isBrowser=(0,__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/is-browser.js").c)(),isPage=isBrowser&&"undefined"!=typeof document,CONTEXT_DEFAULTS={webgl2:!0,webgl1:!0,throwOnError:!0,manageState:!0,canvas:null,debug:!1,width:800,height:600};function createGLContext(){let options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};assert(isBrowser,"createGLContext only available in the browser.\nCreate your own headless context or use 'createHeadlessContext' from @luma.gl/test-utils"),options=Object.assign({},CONTEXT_DEFAULTS,options);const{width,height}=options;function onError(message){if(options.throwOnError)throw new Error(message);return console.error(message),null}let gl;options.onError=onError;const{canvas}=options,targetCanvas=function getCanvas(_ref){let targetCanvas,{canvas,width=800,height=600,onError}=_ref;if("string"==typeof canvas){isPage&&"complete"===document.readyState||onError("createGLContext called on canvas '".concat(canvas,"' before page was loaded")),targetCanvas=document.getElementById(canvas)}else canvas?targetCanvas=canvas:(targetCanvas=document.createElement("canvas"),targetCanvas.id="lumagl-canvas",targetCanvas.style.width=Number.isFinite(width)?"".concat(width,"px"):"100%",targetCanvas.style.height=Number.isFinite(height)?"".concat(height,"px"):"100%",document.body.insertBefore(targetCanvas,document.body.firstChild));return targetCanvas}({canvas,width,height,onError});return gl=function createBrowserContext(canvas,options){const{onError}=options;let errorMessage=null;const onCreateError=error=>errorMessage=error.statusMessage||errorMessage;canvas.addEventListener("webglcontextcreationerror",onCreateError,!1);const{webgl1=!0,webgl2=!0}=options;let gl=null;webgl2&&(gl=gl||canvas.getContext("webgl2",options),gl=gl||canvas.getContext("experimental-webgl2",options));webgl1&&(gl=gl||canvas.getContext("webgl",options),gl=gl||canvas.getContext("experimental-webgl",options));if(canvas.removeEventListener("webglcontextcreationerror",onCreateError,!1),!gl)return onError("Failed to create ".concat(webgl2&&!webgl1?"WebGL2":"WebGL"," context: ").concat(errorMessage||"Unknown error"));options.onContextLost&&canvas.addEventListener("webglcontextlost",options.onContextLost,!1);options.onContextRestored&&canvas.addEventListener("webglcontextrestored",options.onContextRestored,!1);return gl}(targetCanvas,options),gl?(gl=instrumentGLContext(gl,options),function logInfo(gl){const webGL=isWebGL2(gl)?"WebGL2":"WebGL1",info=function getContextDebugInfo(gl){const vendorMasked=gl.getParameter(7936),rendererMasked=gl.getParameter(7937),ext=gl.getExtension("WEBGL_debug_renderer_info"),vendorUnmasked=ext&&gl.getParameter(ext.UNMASKED_VENDOR_WEBGL||7936),rendererUnmasked=ext&&gl.getParameter(ext.UNMASKED_RENDERER_WEBGL||7937);return{vendor:vendorUnmasked||vendorMasked,renderer:rendererUnmasked||rendererMasked,vendorMasked,rendererMasked,version:gl.getParameter(7938),shadingLanguageVersion:gl.getParameter(35724)}}(gl),driver=info?"(".concat(info.vendor,",").concat(info.renderer,")"):"",debug=gl.debug?" debug":"";log_log.info(1,"".concat(webGL).concat(debug," context ").concat(driver))()}(gl),gl):null}function instrumentGLContext(gl){let options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!gl||gl._instrumented)return gl;gl._version=gl._version||function getVersion(gl){if("undefined"!=typeof WebGL2RenderingContext&&gl instanceof WebGL2RenderingContext)return 2;return 1}(gl),gl.luma=gl.luma||{},gl.luma.canvasSizeInfo=gl.luma.canvasSizeInfo||{},options=Object.assign({},CONTEXT_DEFAULTS,options);const{manageState,debug}=options;return manageState&&trackContextState(gl,{copyState:!1,log:function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return log_log.log(1,...args)()}}),isBrowser&&debug&&(globalThis.makeDebugContext?(gl=globalThis.makeDebugContext(gl,options),log_log.level=Math.max(log_log.level,1)):log_log.warn('WebGL debug mode not activated. import "@luma.gl/debug" to enable.')()),gl._instrumented=!0,gl}function resizeGLContext(gl){let options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(gl.canvas){return void function setDevicePixelRatio(gl,devicePixelRatio,options){let clientWidth="width"in options?options.width:gl.canvas.clientWidth,clientHeight="height"in options?options.height:gl.canvas.clientHeight;clientWidth&&clientHeight||(log_log.log(1,"Canvas clientWidth/clientHeight is 0")(),devicePixelRatio=1,clientWidth=gl.canvas.width||1,clientHeight=gl.canvas.height||1);gl.luma=gl.luma||{},gl.luma.canvasSizeInfo=gl.luma.canvasSizeInfo||{};const cachedSize=gl.luma.canvasSizeInfo;if(cachedSize.clientWidth!==clientWidth||cachedSize.clientHeight!==clientHeight||cachedSize.devicePixelRatio!==devicePixelRatio){let clampedPixelRatio=devicePixelRatio;const canvasWidth=Math.floor(clientWidth*clampedPixelRatio),canvasHeight=Math.floor(clientHeight*clampedPixelRatio);gl.canvas.width=canvasWidth,gl.canvas.height=canvasHeight,gl.drawingBufferWidth===canvasWidth&&gl.drawingBufferHeight===canvasHeight||(log_log.warn("Device pixel ratio clamped")(),clampedPixelRatio=Math.min(gl.drawingBufferWidth/clientWidth,gl.drawingBufferHeight/clientHeight),gl.canvas.width=Math.floor(clientWidth*clampedPixelRatio),gl.canvas.height=Math.floor(clientHeight*clampedPixelRatio)),Object.assign(gl.luma.canvasSizeInfo,{clientWidth,clientHeight,devicePixelRatio})}}(gl,function getDevicePixelRatio(useDevicePixels){const windowRatio="undefined"==typeof window?1:window.devicePixelRatio||1;return Number.isFinite(useDevicePixels)?useDevicePixels<=0?1:useDevicePixels:useDevicePixels?windowRatio:1}(options.useDevicePixels),options)}const ext=gl.getExtension("STACKGL_resize_drawingbuffer");ext&&"width"in options&&"height"in options&&ext.resize(options.width,options.height)}},"./node_modules/@luma.gl/shadertools/dist/esm/lib/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Y:()=>VERTEX_SHADER,k:()=>FRAGMENT_SHADER});const VERTEX_SHADER="vs",FRAGMENT_SHADER="fs"},"./node_modules/@luma.gl/shadertools/dist/esm/lib/inject-shader.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Y_:()=>DECLARATION_INJECT_MARKER,u:()=>combineInjects,cp:()=>injectShader});var constants=__webpack_require__("./node_modules/@luma.gl/shadertools/dist/esm/lib/constants.js"),assert=__webpack_require__("./node_modules/@luma.gl/shadertools/dist/esm/utils/assert.js");const MODULE_INJECTORS={[constants.Y]:"#ifdef MODULE_LOGDEPTH\n logdepth_adjustPosition(gl_Position);\n#endif\n",[constants.k]:"#ifdef MODULE_MATERIAL\n gl_FragColor = material_filterColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_LIGHTING\n gl_FragColor = lighting_filterColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_FOG\n gl_FragColor = fog_filterColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_PICKING\n gl_FragColor = picking_filterHighlightColor(gl_FragColor);\n gl_FragColor = picking_filterPickingColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_LOGDEPTH\n logdepth_setFragDepth();\n#endif\n"},DECLARATION_INJECT_MARKER="__LUMA_INJECT_DECLARATIONS__",REGEX_START_OF_MAIN=/void\s+main\s*\([^)]*\)\s*\{\n?/,REGEX_END_OF_MAIN=/}\n?[^{}]*$/,fragments=[];function injectShader(source,type,inject){let injectStandardStubs=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const isVertex=type===constants.Y;for(const key in inject){const fragmentData=inject[key];fragmentData.sort(((a,b)=>a.order-b.order)),fragments.length=fragmentData.length;for(let i=0,len=fragmentData.length;i<len;++i)fragments[i]=fragmentData[i].injection;const fragmentString="".concat(fragments.join("\n"),"\n");switch(key){case"vs:#decl":isVertex&&(source=source.replace(DECLARATION_INJECT_MARKER,fragmentString));break;case"vs:#main-start":isVertex&&(source=source.replace(REGEX_START_OF_MAIN,(match=>match+fragmentString)));break;case"vs:#main-end":isVertex&&(source=source.replace(REGEX_END_OF_MAIN,(match=>fragmentString+match)));break;case"fs:#decl":isVertex||(source=source.replace(DECLARATION_INJECT_MARKER,fragmentString));break;case"fs:#main-start":isVertex||(source=source.replace(REGEX_START_OF_MAIN,(match=>match+fragmentString)));break;case"fs:#main-end":isVertex||(source=source.replace(REGEX_END_OF_MAIN,(match=>fragmentString+match)));break;default:source=source.replace(key,(match=>match+fragmentString))}}return source=source.replace(DECLARATION_INJECT_MARKER,""),injectStandardStubs&&(source=source.replace(/\}\s*$/,(match=>match+MODULE_INJECTORS[type]))),source}function combineInjects(injects){const result={};return(0,assert.c)(Array.isArray(injects)&&injects.length>1),injects.forEach((inject=>{for(const key in inject)result[key]=result[key]?"".concat(result[key],"\n").concat(inject[key]):inject[key]})),result}},"./node_modules/@luma.gl/shadertools/dist/esm/utils/assert.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function assert(condition,message){if(!condition)throw new Error(message||"shadertools: assertion failed.")}__webpack_require__.d(__webpack_exports__,{c:()=>assert})},"./node_modules/@luma.gl/webgl/dist/esm/classes/accessor.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Accessor});var _webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/typed-array-utils.js"),_utils_assert__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js"),_utils_check_props__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/check-props.js");const DEFAULT_ACCESSOR_VALUES={offset:0,stride:0,type:5126,size:1,divisor:0,normalized:!1,integer:!1},PROP_CHECKS={deprecatedProps:{instanced:"divisor",isInstanced:"divisor"}};class Accessor{static getBytesPerElement(accessor){return(0,_webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_0__.aM)(accessor.type||5126).BYTES_PER_ELEMENT}static getBytesPerVertex(accessor){(0,_utils_assert__WEBPACK_IMPORTED_MODULE_1__.U)(accessor.size);return(0,_webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_0__.aM)(accessor.type||5126).BYTES_PER_ELEMENT*accessor.size}static resolve(){for(var _len=arguments.length,accessors=new Array(_len),_key=0;_key<_len;_key++)accessors[_key]=arguments[_key];return new Accessor(...[DEFAULT_ACCESSOR_VALUES,...accessors])}constructor(){for(var _len2=arguments.length,accessors=new Array(_len2),_key2=0;_key2<_len2;_key2++)accessors[_key2]=arguments[_key2];accessors.forEach((accessor=>this._assign(accessor))),Object.freeze(this)}toString(){return JSON.stringify(this)}get BYTES_PER_ELEMENT(){return Accessor.getBytesPerElement(this)}get BYTES_PER_VERTEX(){return Accessor.getBytesPerVertex(this)}_assign(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return props=(0,_utils_check_props__WEBPACK_IMPORTED_MODULE_2__.F)("Accessor",props,PROP_CHECKS),void 0!==props.type&&(this.type=props.type,5124!==props.type&&5125!==props.type||(this.integer=!0)),void 0!==props.size&&(this.size=props.size),void 0!==props.offset&&(this.offset=props.offset),void 0!==props.stride&&(this.stride=props.stride),void 0!==props.normalized&&(this.normalized=props.normalized),void 0!==props.integer&&(this.integer=props.integer),void 0!==props.divisor&&(this.divisor=props.divisor),void 0!==props.buffer&&(this.buffer=props.buffer),void 0!==props.index&&("boolean"==typeof props.index?this.index=props.index?1:0:this.index=props.index),void 0!==props.instanced&&(this.divisor=props.instanced?1:0),void 0!==props.isInstanced&&(this.divisor=props.isInstanced?1:0),this}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/buffer.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Buffer});var _resource__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js"),_accessor__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/accessor.js"),_webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/typed-array-utils.js"),_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_utils_assert__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js"),_utils_check_props__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/check-props.js");const DEPRECATED_PROPS={offset:"accessor.offset",stride:"accessor.stride",type:"accessor.type",size:"accessor.size",divisor:"accessor.divisor",normalized:"accessor.normalized",integer:"accessor.integer",instanced:"accessor.divisor",isInstanced:"accessor.divisor"},PROP_CHECKS_INITIALIZE={removedProps:{},replacedProps:{bytes:"byteLength"},deprecatedProps:DEPRECATED_PROPS},PROP_CHECKS_SET_PROPS={removedProps:DEPRECATED_PROPS};class Buffer extends _resource__WEBPACK_IMPORTED_MODULE_1__.c{get[Symbol.toStringTag](){return"Buffer"}constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(gl,props),this.stubRemovedMethods("Buffer","v6.0",["layout","setLayout","getIndexedParameter"]),this.target=props.target||(this.gl.webgl2?36662:34962),this.initialize(props),Object.seal(this)}getElementCount(){let accessor=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.accessor;return Math.round(this.byteLength/_accessor__WEBPACK_IMPORTED_MODULE_2__.c.getBytesPerElement(accessor))}getVertexCount(){let accessor=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.accessor;return Math.round(this.byteLength/_accessor__WEBPACK_IMPORTED_MODULE_2__.c.getBytesPerVertex(accessor))}initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ArrayBuffer.isView(props)&&(props={data:props}),Number.isFinite(props)&&(props={byteLength:props}),props=(0,_utils_check_props__WEBPACK_IMPORTED_MODULE_3__.F)("Buffer",props,PROP_CHECKS_INITIALIZE),this.usage=props.usage||35044,this.debugData=null,this.setAccessor(Object.assign({},props,props.accessor)),props.data?this._setData(props.data,props.offset,props.byteLength):this._setByteLength(props.byteLength||0),this}setProps(props){return"accessor"in(props=(0,_utils_check_props__WEBPACK_IMPORTED_MODULE_3__.F)("Buffer",props,PROP_CHECKS_SET_PROPS))&&this.setAccessor(props.accessor),this}setAccessor(accessor){return delete(accessor=Object.assign({},accessor)).buffer,this.accessor=new _accessor__WEBPACK_IMPORTED_MODULE_2__.c(accessor),this}reallocate(byteLength){return byteLength>this.byteLength?(this._setByteLength(byteLength),!0):(this.bytesUsed=byteLength,!1)}setData(props){return this.initialize(props)}subData(props){ArrayBuffer.isView(props)&&(props={data:props});const{data,offset=0,srcOffset=0}=props,byteLength=props.byteLength||props.length;(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(data);const target=this.gl.webgl2?36663:this.target;return this.gl.bindBuffer(target,this.handle),0!==srcOffset||void 0!==byteLength?((0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(this.gl),this.gl.bufferSubData(this.target,offset,data,srcOffset,byteLength)):this.gl.bufferSubData(target,offset,data),this.gl.bindBuffer(target,null),this.debugData=null,this._inferType(data),this}copyData(_ref){let{sourceBuffer,readOffset=0,writeOffset=0,size}=_ref;const{gl}=this;return(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(gl),gl.bindBuffer(36662,sourceBuffer.handle),gl.bindBuffer(36663,this.handle),gl.copyBufferSubData(36662,36663,readOffset,writeOffset,size),gl.bindBuffer(36662,null),gl.bindBuffer(36663,null),this.debugData=null,this}getData(){let{dstData=null,srcByteOffset=0,dstOffset=0,length=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(this.gl);const ArrayType=(0,_webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_5__.aM)(this.accessor.type||5126,{clamped:!1}),sourceAvailableElementCount=this._getAvailableElementCount(srcByteOffset),dstElementOffset=dstOffset;let dstAvailableElementCount,dstElementCount;dstData?(dstElementCount=dstData.length,dstAvailableElementCount=dstElementCount-dstElementOffset):(dstAvailableElementCount=Math.min(sourceAvailableElementCount,length||sourceAvailableElementCount),dstElementCount=dstElementOffset+dstAvailableElementCount);const copyElementCount=Math.min(sourceAvailableElementCount,dstAvailableElementCount);return length=length||copyElementCount,(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(length<=copyElementCount),dstData=dstData||new ArrayType(dstElementCount),this.gl.bindBuffer(36662,this.handle),this.gl.getBufferSubData(36662,srcByteOffset,dstData,dstOffset,length),this.gl.bindBuffer(36662,null),dstData}bind(){let{target=this.target,index=this.accessor&&this.accessor.index,offset=0,size}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 35345===target||35982===target?void 0!==size?this.gl.bindBufferRange(target,index,this.handle,offset,size):((0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(0===offset),this.gl.bindBufferBase(target,index,this.handle)):this.gl.bindBuffer(target,this.handle),this}unbind(){let{target=this.target,index=this.accessor&&this.accessor.index}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 35345===target||35982===target?this.gl.bindBufferBase(target,index,null):this.gl.bindBuffer(target,null),this}getDebugData(){return this.debugData?{data:this.debugData,changed:!1}:(this.debugData=this.getData({length:Math.min(10,this.byteLength)}),{data:this.debugData,changed:!0})}invalidateDebugData(){this.debugData=null}_setData(data){let offset=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,byteLength=arguments.length>2&&void 0!==arguments[2]?arguments[2]:data.byteLength+offset;(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(ArrayBuffer.isView(data)),this._trackDeallocatedMemory();const target=this._getTarget();this.gl.bindBuffer(target,this.handle),this.gl.bufferData(target,byteLength,this.usage),this.gl.bufferSubData(target,offset,data),this.gl.bindBuffer(target,null),this.debugData=data.slice(0,10),this.bytesUsed=byteLength,this._trackAllocatedMemory(byteLength);const type=(0,_webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_5__.G0)(data);return(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(type),this.setAccessor(new _accessor__WEBPACK_IMPORTED_MODULE_2__.c(this.accessor,{type})),this}_setByteLength(byteLength){let usage=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.usage;(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(byteLength>=0),this._trackDeallocatedMemory();let data=byteLength;0===byteLength&&(data=new Float32Array(0));const target=this._getTarget();return this.gl.bindBuffer(target,this.handle),this.gl.bufferData(target,data,usage),this.gl.bindBuffer(target,null),this.usage=usage,this.debugData=null,this.bytesUsed=byteLength,this._trackAllocatedMemory(byteLength),this}_getTarget(){return this.gl.webgl2?36663:this.target}_getAvailableElementCount(srcByteOffset){const sourceElementOffset=srcByteOffset/(0,_webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_5__.aM)(this.accessor.type||5126,{clamped:!1}).BYTES_PER_ELEMENT;return this.getElementCount()-sourceElementOffset}_inferType(data){this.accessor.type||this.setAccessor(new _accessor__WEBPACK_IMPORTED_MODULE_2__.c(this.accessor,{type:(0,_webgl_utils_typed_array_utils__WEBPACK_IMPORTED_MODULE_5__.G0)(data)}))}_createHandle(){return this.gl.createBuffer()}_deleteHandle(){this.gl.deleteBuffer(this.handle),this._trackDeallocatedMemory()}_getParameter(pname){this.gl.bindBuffer(this.target,this.handle);const value=this.gl.getBufferParameter(this.target,pname);return this.gl.bindBuffer(this.target,null),value}get type(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.deprecated("Buffer.type","Buffer.accessor.type")(),this.accessor.type}get bytes(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.deprecated("Buffer.bytes","Buffer.byteLength")(),this.byteLength}setByteLength(byteLength){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.deprecated("setByteLength","reallocate")(),this.reallocate(byteLength)}updateAccessor(opts){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.deprecated("updateAccessor(...)","setAccessor(new Accessor(buffer.accessor, ...)")(),this.accessor=new _accessor__WEBPACK_IMPORTED_MODULE_2__.c(this.accessor,opts),this}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/clear.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>clearBuffer,W:()=>clear});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_utils_assert__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");const GL_DEPTH_BUFFER_BIT=256,GL_STENCIL_BUFFER_BIT=1024,GL_COLOR_BUFFER_BIT=16384,GL_COLOR=6144,GL_DEPTH=6145,GL_STENCIL=6146,GL_DEPTH_STENCIL=34041,ERR_ARGUMENTS="clear: bad arguments";function clear(gl){let{framebuffer=null,color=null,depth=null,stencil=null}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const parameters={};framebuffer&&(parameters.framebuffer=framebuffer);let clearFlags=0;color&&(clearFlags|=GL_COLOR_BUFFER_BIT,!0!==color&&(parameters.clearColor=color)),depth&&(clearFlags|=GL_DEPTH_BUFFER_BIT,!0!==depth&&(parameters.clearDepth=depth)),stencil&&(clearFlags|=GL_STENCIL_BUFFER_BIT,!0!==depth&&(parameters.clearStencil=depth)),(0,_utils_assert__WEBPACK_IMPORTED_MODULE_1__.U)(0!==clearFlags,ERR_ARGUMENTS),(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Qx)(gl,parameters,(()=>{gl.clear(clearFlags)}))}function clearBuffer(gl){let{framebuffer=null,buffer=GL_COLOR,drawBuffer=0,value=[0,0,0,0]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(gl),(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Qx)(gl,{framebuffer},(()=>{switch(buffer){case GL_COLOR:switch(value.constructor){case Int32Array:gl.clearBufferiv(buffer,drawBuffer,value);break;case Uint32Array:gl.clearBufferuiv(buffer,drawBuffer,value);break;case Float32Array:default:gl.clearBufferfv(buffer,drawBuffer,value)}break;case GL_DEPTH:gl.clearBufferfv(GL_DEPTH,0,[value]);break;case GL_STENCIL:gl.clearBufferiv(GL_STENCIL,0,[value]);break;case GL_DEPTH_STENCIL:const[depth,stencil]=value;gl.clearBufferfi(GL_DEPTH_STENCIL,0,depth,stencil);break;default:(0,_utils_assert__WEBPACK_IMPORTED_MODULE_1__.U)(!1,ERR_ARGUMENTS)}}))}},"./node_modules/@luma.gl/webgl/dist/esm/classes/copy-and-blit.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{on:()=>copyToDataUrl,_Y:()=>copyToTexture,qi:()=>readPixelsToArray});var framebuffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/framebuffer.js"),classes_texture=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture.js"),esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),typed_array_utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/typed-array-utils.js"),utils_assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");var texture_utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/texture-utils.js");function readPixelsToArray(source){let options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{sourceX=0,sourceY=0,sourceFormat=6408}=options;let{sourceAttachment=36064,target=null,sourceWidth,sourceHeight,sourceType}=options;const{framebuffer,deleteFramebuffer}=getFramebuffer(source);(0,utils_assert.U)(framebuffer);const{gl,handle,attachments}=framebuffer;sourceWidth=sourceWidth||framebuffer.width,sourceHeight=sourceHeight||framebuffer.height,36064===sourceAttachment&&null===handle&&(sourceAttachment=1028),(0,utils_assert.U)(attachments[sourceAttachment]),sourceType=sourceType||attachments[sourceAttachment].type,target=function getPixelArray(pixelArray,type,format,width,height){if(pixelArray)return pixelArray;type=type||5121;const ArrayType=(0,typed_array_utils.aM)(type,{clamped:!1}),components=function format_utils_glFormatToComponents(format){switch(format){case 6406:case 33326:case 6403:return 1;case 33328:case 33319:return 2;case 6407:case 34837:return 3;case 6408:case 34836:return 4;default:return(0,utils_assert.U)(!1),0}}(format);return new ArrayType(width*height*components)}(target,sourceType,sourceFormat,sourceWidth,sourceHeight),sourceType=sourceType||(0,typed_array_utils.G0)(target);const prevHandle=gl.bindFramebuffer(36160,handle);return gl.readPixels(sourceX,sourceY,sourceWidth,sourceHeight,sourceFormat,sourceType,target),gl.bindFramebuffer(36160,prevHandle||null),deleteFramebuffer&&framebuffer.delete(),target}function copyToDataUrl(source){let{sourceAttachment=36064,targetMaxHeight=Number.MAX_SAFE_INTEGER}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},data=readPixelsToArray(source,{sourceAttachment}),{width,height}=source;for(;height>targetMaxHeight;)({data,width,height}=(0,typed_array_utils.YF)({data,width,height}));(0,typed_array_utils.W4)({data,width,height});const canvas=document.createElement("canvas");canvas.width=width,canvas.height=height;const context=canvas.getContext("2d"),imageData=context.createImageData(width,height);return imageData.data.set(data),context.putImageData(imageData,0,0),canvas.toDataURL()}function copyToTexture(source,target){let options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{sourceX=0,sourceY=0,targetMipmaplevel=0,targetInternalFormat=6408}=options;let{targetX,targetY,targetZ,width,height}=options;const{framebuffer,deleteFramebuffer}=getFramebuffer(source);(0,utils_assert.U)(framebuffer);const{gl,handle}=framebuffer,isSubCopy=void 0!==targetX||void 0!==targetY||void 0!==targetZ;targetX=targetX||0,targetY=targetY||0,targetZ=targetZ||0;const prevHandle=gl.bindFramebuffer(36160,handle);(0,utils_assert.U)(target);let texture=null;if(target instanceof classes_texture.c&&(texture=target,width=Number.isFinite(width)?width:texture.width,height=Number.isFinite(height)?height:texture.height,texture.bind(0),target=texture.target),isSubCopy)switch(target){case 3553:case 34067:gl.copyTexSubImage2D(target,targetMipmaplevel,targetX,targetY,sourceX,sourceY,width,height);break;case 35866:case 32879:(0,esm.Yb)(gl).copyTexSubImage3D(target,targetMipmaplevel,targetX,targetY,targetZ,sourceX,sourceY,width,height)}else gl.copyTexImage2D(target,targetMipmaplevel,targetInternalFormat,sourceX,sourceY,width,height,0);return texture&&texture.unbind(),gl.bindFramebuffer(36160,prevHandle||null),deleteFramebuffer&&framebuffer.delete(),texture}function getFramebuffer(source){return source instanceof framebuffer.M?{framebuffer:source,deleteFramebuffer:!1}:{framebuffer:(0,texture_utils.y)(source),deleteFramebuffer:!0}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/framebuffer.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>Framebuffer});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_resource__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js"),_texture_2d__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-2d.js"),_renderbuffer__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/renderbuffer.js"),_clear__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/clear.js"),_copy_and_blit_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/copy-and-blit.js"),_features__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/features.js"),_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/constants-to-keys.js"),_utils_assert__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");class Framebuffer extends _resource__WEBPACK_IMPORTED_MODULE_1__.c{get[Symbol.toStringTag](){return"Framebuffer"}static isSupported(gl){let options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{colorBufferFloat,colorBufferHalfFloat}=options;let supported=!0;return colorBufferFloat&&(supported=Boolean(gl.getExtension("EXT_color_buffer_float")||gl.getExtension("WEBGL_color_buffer_float")||gl.getExtension("OES_texture_float"))),colorBufferHalfFloat&&(supported=supported&&Boolean(gl.getExtension("EXT_color_buffer_float")||gl.getExtension("EXT_color_buffer_half_float"))),supported}static getDefaultFramebuffer(gl){return gl.luma=gl.luma||{},gl.luma.defaultFramebuffer=gl.luma.defaultFramebuffer||new Framebuffer(gl,{id:"default-framebuffer",handle:null,attachments:{}}),gl.luma.defaultFramebuffer}get MAX_COLOR_ATTACHMENTS(){const gl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(this.gl);return gl2.getParameter(gl2.MAX_COLOR_ATTACHMENTS)}get MAX_DRAW_BUFFERS(){const gl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(this.gl);return gl2.getParameter(gl2.MAX_DRAW_BUFFERS)}constructor(gl){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(gl,opts),this.width=null,this.height=null,this.attachments={},this.readBuffer=36064,this.drawBuffers=[36064],this.ownResources=[],this.initialize(opts),Object.seal(this)}get color(){return this.attachments[36064]||null}get texture(){return this.attachments[36064]||null}get depth(){return this.attachments[36096]||this.attachments[33306]||null}get stencil(){return this.attachments[36128]||this.attachments[33306]||null}initialize(_ref){let{width=1,height=1,attachments=null,color=!0,depth=!0,stencil=!1,check=!0,readBuffer,drawBuffers}=_ref;if((0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(width>=0&&height>=0,"Width and height need to be integers"),this.width=width,this.height=height,attachments)for(const attachment in attachments){const target=attachments[attachment];(Array.isArray(target)?target[0]:target).resize({width,height})}else attachments=this._createDefaultAttachments(color,depth,stencil,width,height);this.update({clearAttachments:!0,attachments,readBuffer,drawBuffers}),attachments&&check&&this.checkStatus()}delete(){for(const resource of this.ownResources)resource.delete();return super.delete(),this}update(_ref2){let{attachments={},readBuffer,drawBuffers,clearAttachments=!1,resizeAttachments=!0}=_ref2;this.attach(attachments,{clearAttachments,resizeAttachments});const{gl}=this,prevHandle=gl.bindFramebuffer(36160,this.handle);return readBuffer&&this._setReadBuffer(readBuffer),drawBuffers&&this._setDrawBuffers(drawBuffers),gl.bindFramebuffer(36160,prevHandle||null),this}resize(){let options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{width,height}=options;if(null===this.handle)return(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(void 0===width&&void 0===height),this.width=this.gl.drawingBufferWidth,this.height=this.gl.drawingBufferHeight,this;void 0===width&&(width=this.gl.drawingBufferWidth),void 0===height&&(height=this.gl.drawingBufferHeight),width!==this.width&&height!==this.height&&_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.log(2,"Resizing framebuffer ".concat(this.id," to ").concat(width,"x").concat(height))();for(const attachmentPoint in this.attachments)this.attachments[attachmentPoint].resize({width,height});return this.width=width,this.height=height,this}attach(attachments){let{clearAttachments=!1,resizeAttachments=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const newAttachments={};clearAttachments&&Object.keys(this.attachments).forEach((key=>{newAttachments[key]=null})),Object.assign(newAttachments,attachments);const prevHandle=this.gl.bindFramebuffer(36160,this.handle);for(const key in newAttachments){(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(void 0!==key,"Misspelled framebuffer binding point?");const attachment=Number(key),descriptor=newAttachments[attachment];let object=descriptor;if(object)if(object instanceof _renderbuffer__WEBPACK_IMPORTED_MODULE_3__.c)this._attachRenderbuffer({attachment,renderbuffer:object});else if(Array.isArray(descriptor)){const[texture,layer=0,level=0]=descriptor;object=texture,this._attachTexture({attachment,texture,layer,level})}else this._attachTexture({attachment,texture:object,layer:0,level:0});else this._unattach(attachment);resizeAttachments&&object&&object.resize({width:this.width,height:this.height})}this.gl.bindFramebuffer(36160,prevHandle||null),Object.assign(this.attachments,attachments),Object.keys(this.attachments).filter((key=>!this.attachments[key])).forEach((key=>{delete this.attachments[key]}))}checkStatus(){const{gl}=this,status=this.getStatus();if(36053!==status)throw new Error(function _getFrameBufferStatus(status){return(Framebuffer.STATUS||{})[status]||"Framebuffer error ".concat(status)}(status));return this}getStatus(){const{gl}=this,prevHandle=gl.bindFramebuffer(36160,this.handle),status=gl.checkFramebufferStatus(36160);return gl.bindFramebuffer(36160,prevHandle||null),status}clear(){let options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{color,depth,stencil,drawBuffers=[]}=options,prevHandle=this.gl.bindFramebuffer(36160,this.handle);return(color||depth||stencil)&&(0,_clear__WEBPACK_IMPORTED_MODULE_4__.W)(this.gl,{color,depth,stencil}),drawBuffers.forEach(((value,drawBuffer)=>{(0,_clear__WEBPACK_IMPORTED_MODULE_4__.G)(this.gl,{drawBuffer,value})})),this.gl.bindFramebuffer(36160,prevHandle||null),this}readPixels(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.error("Framebuffer.readPixels() is no logner supported, use readPixelsToArray(framebuffer)")(),null}readPixelsToBuffer(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.error("Framebuffer.readPixelsToBuffer()is no logner supported, use readPixelsToBuffer(framebuffer)")(),null}copyToDataUrl(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.error("Framebuffer.copyToDataUrl() is no logner supported, use copyToDataUrl(framebuffer)")(),null}copyToImage(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.error("Framebuffer.copyToImage() is no logner supported, use copyToImage(framebuffer)")(),null}copyToTexture(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.error("Framebuffer.copyToTexture({...}) is no logner supported, use copyToTexture(source, target, opts})")(),null}blit(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.error("Framebuffer.blit({...}) is no logner supported, use blit(source, target, opts)")(),null}invalidate(_ref3){let{attachments=[],x=0,y=0,width,height}=_ref3;const gl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(this.gl),prevHandle=gl2.bindFramebuffer(36008,this.handle);return 0===x&&0===y&&void 0===width&&void 0===height?gl2.invalidateFramebuffer(36008,attachments):gl2.invalidateFramebuffer(36008,attachments,x,y,width,height),gl2.bindFramebuffer(36008,prevHandle),this}getAttachmentParameter(attachment,pname,keys){let value=this._getAttachmentParameterFallback(pname);return null===value&&(this.gl.bindFramebuffer(36160,this.handle),value=this.gl.getFramebufferAttachmentParameter(36160,attachment,pname),this.gl.bindFramebuffer(36160,null)),keys&&value>1e3&&(value=(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_5__.gP)(this.gl,value)),value}getAttachmentParameters(){let attachment=arguments.length>0&&void 0!==arguments[0]?arguments[0]:36064,keys=arguments.length>1?arguments[1]:void 0,parameters=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.constructor.ATTACHMENT_PARAMETERS||[];const values={};for(const pname of parameters){values[keys?(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_5__.gP)(this.gl,pname):pname]=this.getAttachmentParameter(attachment,pname,keys)}return values}getParameters(){let keys=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const attachments=Object.keys(this.attachments),parameters={};for(const attachmentName of attachments){const attachment=Number(attachmentName);parameters[keys?(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_5__.gP)(this.gl,attachment):attachment]=this.getAttachmentParameters(attachment,keys)}return parameters}show(){return"undefined"!=typeof window&&window.open((0,_copy_and_blit_js__WEBPACK_IMPORTED_MODULE_6__.on)(this),"luma-debug-texture"),this}log(){let logLevel=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,message=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(logLevel>_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.level||"undefined"==typeof window)return this;message=message||"Framebuffer ".concat(this.id);const image=(0,_copy_and_blit_js__WEBPACK_IMPORTED_MODULE_6__.on)(this,{targetMaxHeight:100});return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.image({logLevel,message,image},message)(),this}bind(){let{target=36160}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.gl.bindFramebuffer(target,this.handle),this}unbind(){let{target=36160}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.gl.bindFramebuffer(target,null),this}_createDefaultAttachments(color,depth,stencil,width,height){let defaultAttachments=null;return color&&(defaultAttachments=defaultAttachments||{},defaultAttachments[36064]=new _texture_2d__WEBPACK_IMPORTED_MODULE_7__.c(this.gl,{id:"".concat(this.id,"-color0"),pixels:null,format:6408,type:5121,width,height,mipmaps:!1,parameters:{10241:9729,10240:9729,10242:33071,10243:33071}}),this.ownResources.push(defaultAttachments[36064])),depth&&stencil?(defaultAttachments=defaultAttachments||{},defaultAttachments[33306]=new _renderbuffer__WEBPACK_IMPORTED_MODULE_3__.c(this.gl,{id:"".concat(this.id,"-depth-stencil"),format:35056,width,height:111}),this.ownResources.push(defaultAttachments[33306])):depth?(defaultAttachments=defaultAttachments||{},defaultAttachments[36096]=new _renderbuffer__WEBPACK_IMPORTED_MODULE_3__.c(this.gl,{id:"".concat(this.id,"-depth"),format:33189,width,height}),this.ownResources.push(defaultAttachments[36096])):stencil&&(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(!1),defaultAttachments}_unattach(attachment){const oldAttachment=this.attachments[attachment];oldAttachment&&(oldAttachment instanceof _renderbuffer__WEBPACK_IMPORTED_MODULE_3__.c?this.gl.framebufferRenderbuffer(36160,attachment,36161,null):this.gl.framebufferTexture2D(36160,attachment,3553,null,0),delete this.attachments[attachment])}_attachRenderbuffer(_ref4){let{attachment=36064,renderbuffer}=_ref4;const{gl}=this;gl.framebufferRenderbuffer(36160,attachment,36161,renderbuffer.handle),this.attachments[attachment]=renderbuffer}_attachTexture(_ref5){let{attachment=36064,texture,layer,level}=_ref5;const{gl}=this;switch(gl.bindTexture(texture.target,texture.handle),texture.target){case 35866:case 32879:(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(gl).framebufferTextureLayer(36160,attachment,texture.target,level,layer);break;case 34067:const face=function mapIndexToCubeMapFace(layer){return layer<34069?layer+34069:layer}(layer);gl.framebufferTexture2D(36160,attachment,face,texture.handle,level);break;case 3553:gl.framebufferTexture2D(36160,attachment,3553,texture.handle,level);break;default:(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(!1,"Illegal texture type")}gl.bindTexture(texture.target,null),this.attachments[attachment]=texture}_setReadBuffer(readBuffer){const gl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.YT)(this.gl);gl2?gl2.readBuffer(readBuffer):(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(36064===readBuffer||1029===readBuffer,"Multiple render targets not supported"),this.readBuffer=readBuffer}_setDrawBuffers(drawBuffers){const{gl}=this,gl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(gl);if(gl2)gl2.drawBuffers(drawBuffers);else{const ext=gl.getExtension("WEBGL_draw_buffers");ext?ext.drawBuffersWEBGL(drawBuffers):(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(1===drawBuffers.length&&(36064===drawBuffers[0]||1029===drawBuffers[0]),"Multiple render targets not supported")}this.drawBuffers=drawBuffers}_getAttachmentParameterFallback(pname){const caps=(0,_features__WEBPACK_IMPORTED_MODULE_8__.yW)(this.gl);switch(pname){case 36052:return caps.WEBGL2?null:0;case 33298:case 33299:case 33300:case 33301:case 33302:case 33303:return caps.WEBGL2?null:8;case 33297:return caps.WEBGL2?null:5125;case 33296:return caps.WEBGL2||caps.EXT_sRGB?null:9729;default:return null}}_createHandle(){return this.gl.createFramebuffer()}_deleteHandle(){this.gl.deleteFramebuffer(this.handle)}_bindHandle(handle){return this.gl.bindFramebuffer(36160,handle)}}Framebuffer.ATTACHMENT_PARAMETERS=[36049,36048,33296,33298,33299,33300,33301,33302,33303]},"./node_modules/@luma.gl/webgl/dist/esm/classes/program.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Program});var resource=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js"),texture=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture.js"),framebuffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/framebuffer.js"),esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),renderbuffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/renderbuffer.js"),assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");const UNIFORM_SETTERS={5126:getArraySetter.bind(null,"uniform1fv",toFloatArray,1,setVectorUniform),35664:getArraySetter.bind(null,"uniform2fv",toFloatArray,2,setVectorUniform),35665:getArraySetter.bind(null,"uniform3fv",toFloatArray,3,setVectorUniform),35666:getArraySetter.bind(null,"uniform4fv",toFloatArray,4,setVectorUniform),5124:getArraySetter.bind(null,"uniform1iv",toIntArray,1,setVectorUniform),35667:getArraySetter.bind(null,"uniform2iv",toIntArray,2,setVectorUniform),35668:getArraySetter.bind(null,"uniform3iv",toIntArray,3,setVectorUniform),35669:getArraySetter.bind(null,"uniform4iv",toIntArray,4,setVectorUniform),35670:getArraySetter.bind(null,"uniform1iv",toIntArray,1,setVectorUniform),35671:getArraySetter.bind(null,"uniform2iv",toIntArray,2,setVectorUniform),35672:getArraySetter.bind(null,"uniform3iv",toIntArray,3,setVectorUniform),35673:getArraySetter.bind(null,"uniform4iv",toIntArray,4,setVectorUniform),35674:getArraySetter.bind(null,"uniformMatrix2fv",toFloatArray,4,setMatrixUniform),35675:getArraySetter.bind(null,"uniformMatrix3fv",toFloatArray,9,setMatrixUniform),35676:getArraySetter.bind(null,"uniformMatrix4fv",toFloatArray,16,setMatrixUniform),35678:getSamplerSetter,35680:getSamplerSetter,5125:getArraySetter.bind(null,"uniform1uiv",toUIntArray,1,setVectorUniform),36294:getArraySetter.bind(null,"uniform2uiv",toUIntArray,2,setVectorUniform),36295:getArraySetter.bind(null,"uniform3uiv",toUIntArray,3,setVectorUniform),36296:getArraySetter.bind(null,"uniform4uiv",toUIntArray,4,setVectorUniform),35685:getArraySetter.bind(null,"uniformMatrix2x3fv",toFloatArray,6,setMatrixUniform),35686:getArraySetter.bind(null,"uniformMatrix2x4fv",toFloatArray,8,setMatrixUniform),35687:getArraySetter.bind(null,"uniformMatrix3x2fv",toFloatArray,6,setMatrixUniform),35688:getArraySetter.bind(null,"uniformMatrix3x4fv",toFloatArray,12,setMatrixUniform),35689:getArraySetter.bind(null,"uniformMatrix4x2fv",toFloatArray,8,setMatrixUniform),35690:getArraySetter.bind(null,"uniformMatrix4x3fv",toFloatArray,12,setMatrixUniform),35678:getSamplerSetter,35680:getSamplerSetter,35679:getSamplerSetter,35682:getSamplerSetter,36289:getSamplerSetter,36292:getSamplerSetter,36293:getSamplerSetter,36298:getSamplerSetter,36299:getSamplerSetter,36300:getSamplerSetter,36303:getSamplerSetter,36306:getSamplerSetter,36307:getSamplerSetter,36308:getSamplerSetter,36311:getSamplerSetter},FLOAT_ARRAY={},INT_ARRAY={},UINT_ARRAY={},array1=[0];function toTypedArray(value,uniformLength,Type,cache){1===uniformLength&&"boolean"==typeof value&&(value=value?1:0),Number.isFinite(value)&&(array1[0]=value,value=array1);const length=value.length;if(length%uniformLength&&esm.Yz.warn("Uniform size should be multiples of ".concat(uniformLength),value)(),value instanceof Type)return value;let result=cache[length];result||(result=new Type(length),cache[length]=result);for(let i=0;i<length;i++)result[i]=value[i];return result}function toFloatArray(value,uniformLength){return toTypedArray(value,uniformLength,Float32Array,FLOAT_ARRAY)}function toIntArray(value,uniformLength){return toTypedArray(value,uniformLength,Int32Array,INT_ARRAY)}function toUIntArray(value,uniformLength){return toTypedArray(value,uniformLength,Uint32Array,UINT_ARRAY)}function getUniformSetter(gl,location,info){const setter=UNIFORM_SETTERS[info.type];if(!setter)throw new Error("Unknown GLSL uniform type ".concat(info.type));return setter().bind(null,gl,location)}function parseUniformName(name){if("]"!==name[name.length-1])return{name,length:1,isArray:!1};const matches=name.match(/([^[]*)(\[[0-9]+\])?/);if(!matches||matches.length<2)throw new Error("Failed to parse GLSL uniform name ".concat(name));return{name:matches[1],length:matches[2]||1,isArray:Boolean(matches[2])}}function checkUniformValue(value){return Array.isArray(value)||ArrayBuffer.isView(value)?function checkUniformArray(value){if(0===value.length)return!1;const checkLength=Math.min(value.length,16);for(let i=0;i<checkLength;++i)if(!Number.isFinite(value[i]))return!1;return!0}(value):!!isFinite(value)||(!0===value||!1===value||(value instanceof texture.c||(value instanceof renderbuffer.c||value instanceof framebuffer.M&&Boolean(value.texture))))}function copyUniform(uniforms,key,value){if(Array.isArray(value)||ArrayBuffer.isView(value))if(uniforms[key]){const dest=uniforms[key];for(let i=0,len=value.length;i<len;++i)dest[i]=value[i]}else uniforms[key]=value.slice();else uniforms[key]=value}function getSamplerSetter(){let cache=null;return(gl,location,value)=>{const update=cache!==value;return update&&(gl.uniform1i(location,value),cache=value),update}}function getArraySetter(functionName,toArray,size,uniformSetter){let cache=null,cacheLength=null;return(gl,location,value)=>{const arrayValue=toArray(value,size),length=arrayValue.length;let update=!1;if(null===cache)cache=new Float32Array(length),cacheLength=length,update=!0;else{(0,assert.U)(cacheLength===length,"Uniform length cannot change.");for(let i=0;i<length;++i)if(arrayValue[i]!==cache[i]){update=!0;break}}return update&&(uniformSetter(gl,functionName,location,arrayValue),cache.set(arrayValue)),update}}function setVectorUniform(gl,functionName,location,value){gl[functionName](location,value)}function setMatrixUniform(gl,functionName,location,value){gl[functionName](location,!1,value)}function getShaderName(shader){let defaultName=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unnamed";const match=shader.match(/#define[\s*]SHADER_NAME[\s*]([A-Za-z0-9_-]+)[\s*]/);return match?match[1]:defaultName}const GL_FRAGMENT_SHADER=35632,GL_VERTEX_SHADER=35633;function parseGLSLCompilerError(errLog,src,shaderType,shaderName){const errorStrings=errLog.split(/\r?\n/),errors={},warnings={},name=shaderName||getShaderName(src)||"(unnamed)",shaderDescription="".concat(function getShaderTypeName(type){switch(type){case GL_FRAGMENT_SHADER:return"fragment";case GL_VERTEX_SHADER:return"vertex";default:return"unknown type"}}(shaderType)," shader ").concat(name);for(let i=0;i<errorStrings.length;i++){const errorString=errorStrings[i];if(errorString.length<=1)continue;const segments=errorString.split(":"),type=segments[0],line=parseInt(segments[2],10);if(isNaN(line))throw new Error("GLSL compilation error in ".concat(shaderDescription,": ").concat(errLog));"WARNING"!==type?errors[line]=errorString:warnings[line]=errorString}const lines=function addLineNumbers(string){let start=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,delim=arguments.length>2&&void 0!==arguments[2]?arguments[2]:": ";const lines=string.split(/\r?\n/),maxDigits=String(lines.length+start-1).length;return lines.map(((line,i)=>{const lineNumber=String(i+start),digits=lineNumber.length;return padLeft(lineNumber,maxDigits-digits)+delim+line}))}(src);return{shaderName:shaderDescription,errors:formatErrors(errors,lines),warnings:formatErrors(warnings,lines)}}function formatErrors(errors,lines){let message="";for(let i=0;i<lines.length;i++){const line=lines[i];if((errors[i+3]||errors[i+2]||errors[i+1])&&(message+="".concat(line,"\n"),errors[i+1])){const error=errors[i+1],segments=error.split(":",3),type=segments[0],column=parseInt(segments[1],10)||0,err=error.substring(segments.join(":").length+1).trim();message+=padLeft("^^^ ".concat(type,": ").concat(err,"\n\n"),column)}}return message}function padLeft(string,digits){let result="";for(let i=0;i<digits;++i)result+=" ";return"".concat(result).concat(string)}var utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js");class Shader extends resource.c{get[Symbol.toStringTag](){return"Shader"}static getTypeName(shaderType){switch(shaderType){case 35633:return"vertex-shader";case 35632:return"fragment-shader";default:return(0,assert.U)(!1),"unknown"}}constructor(gl,props){(0,esm.ew)(gl),(0,assert.U)("string"==typeof props.source,"Shader: GLSL source code must be a JavaScript string");super(gl,{id:getShaderName(props.source,null)||props.id||(0,utils.cB)("unnamed ".concat(Shader.getTypeName(props.shaderType)))}),this.shaderType=props.shaderType,this.source=props.source,this.initialize(props)}initialize(_ref){let{source}=_ref;const shaderName=getShaderName(source,null);shaderName&&(this.id=(0,utils.cB)(shaderName)),this._compile(source)}getParameter(pname){return this.gl.getShaderParameter(this.handle,pname)}toString(){return"".concat(Shader.getTypeName(this.shaderType),":").concat(this.id)}getName(){return getShaderName(this.source)||"unnamed-shader"}getSource(){return this.gl.getShaderSource(this.handle)}getTranslatedSource(){const extension=this.gl.getExtension("WEBGL_debug_shaders");return extension?extension.getTranslatedShaderSource(this.handle):"No translated source available. WEBGL_debug_shaders not implemented"}_compile(){let source=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.source;source.startsWith("#version ")||(source="#version 100\n".concat(source)),this.source=source,this.gl.shaderSource(this.handle,this.source),this.gl.compileShader(this.handle);if(!this.getParameter(35713)){const infoLog=this.gl.getShaderInfoLog(this.handle),{shaderName,errors,warnings}=parseGLSLCompilerError(infoLog,this.source,this.shaderType,this.id);throw esm.Yz.error("GLSL compilation errors in ".concat(shaderName,"\n").concat(errors))(),esm.Yz.warn("GLSL compilation warnings in ".concat(shaderName,"\n").concat(warnings))(),new Error("GLSL compilation errors in ".concat(shaderName))}}_deleteHandle(){this.gl.deleteShader(this.handle)}_getOptsFromHandle(){return{type:this.getParameter(35663),source:this.getSource()}}}class VertexShader extends Shader{get[Symbol.toStringTag](){return"VertexShader"}constructor(gl,props){"string"==typeof props&&(props={source:props}),super(gl,Object.assign({},props,{shaderType:35633}))}_createHandle(){return this.gl.createShader(35633)}}class FragmentShader extends Shader{get[Symbol.toStringTag](){return"FragmentShader"}constructor(gl,props){"string"==typeof props&&(props={source:props}),super(gl,Object.assign({},props,{shaderType:35632}))}_createHandle(){return this.gl.createShader(35632)}}var classes_accessor=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/accessor.js"),attribute_utils=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/attribute-utils.js");class ProgramConfiguration{constructor(program){this.id=program.id,this.attributeInfos=[],this.attributeInfosByName={},this.attributeInfosByLocation=[],this.varyingInfos=[],this.varyingInfosByName={},Object.seal(this),this._readAttributesFromProgram(program),this._readVaryingsFromProgram(program)}getAttributeInfo(locationOrName){const location=Number(locationOrName);return Number.isFinite(location)?this.attributeInfosByLocation[location]:this.attributeInfosByName[locationOrName]||null}getAttributeLocation(locationOrName){const attributeInfo=this.getAttributeInfo(locationOrName);return attributeInfo?attributeInfo.location:-1}getAttributeAccessor(locationOrName){const attributeInfo=this.getAttributeInfo(locationOrName);return attributeInfo?attributeInfo.accessor:null}getVaryingInfo(locationOrName){const location=Number(locationOrName);return Number.isFinite(location)?this.varyingInfos[location]:this.varyingInfosByName[locationOrName]||null}getVaryingIndex(locationOrName){const varying=this.getVaryingInfo();return varying?varying.location:-1}getVaryingAccessor(locationOrName){const varying=this.getVaryingInfo();return varying?varying.accessor:null}_readAttributesFromProgram(program){const{gl}=program,count=gl.getProgramParameter(program.handle,35721);for(let index=0;index<count;index++){const{name,type,size}=gl.getActiveAttrib(program.handle,index),location=gl.getAttribLocation(program.handle,name);location>=0&&this._addAttribute(location,name,type,size)}this.attributeInfos.sort(((a,b)=>a.location-b.location))}_readVaryingsFromProgram(program){const{gl}=program;if(!(0,esm.Y8)(gl))return;const count=gl.getProgramParameter(program.handle,35971);for(let location=0;location<count;location++){const{name,type,size}=gl.getTransformFeedbackVarying(program.handle,location);this._addVarying(location,name,type,size)}this.varyingInfos.sort(((a,b)=>a.location-b.location))}_addAttribute(location,name,compositeType,size){const{type,components}=(0,attribute_utils.WK)(compositeType),accessor={type,size:size*components};this._inferProperties(location,name,accessor);const attributeInfo={location,name,accessor:new classes_accessor.c(accessor)};this.attributeInfos.push(attributeInfo),this.attributeInfosByLocation[location]=attributeInfo,this.attributeInfosByName[attributeInfo.name]=attributeInfo}_inferProperties(location,name,accessor){/instance/i.test(name)&&(accessor.divisor=1)}_addVarying(location,name,compositeType,size){const{type,components}=(0,attribute_utils.WK)(compositeType),varying={location,name,accessor:new classes_accessor.c({type,size:size*components})};this.varyingInfos.push(varying),this.varyingInfosByName[varying.name]=varying}}var constants_to_keys=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/constants-to-keys.js");const GL_SEPARATE_ATTRIBS=35981,V6_DEPRECATED_METHODS=["setVertexArray","setAttributes","setBuffers","unsetBuffers","use","getUniformCount","getUniformInfo","getUniformLocation","getUniformValue","getVarying","getFragDataLocation","getAttachedShaders","getAttributeCount","getAttributeLocation","getAttributeInfo"];class Program extends resource.c{get[Symbol.toStringTag](){return"Program"}constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(gl,props),this.stubRemovedMethods("Program","v6.0",V6_DEPRECATED_METHODS),this._isCached=!1,this.initialize(props),Object.seal(this),this._setId(props.id)}initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{hash,vs,fs,varyings,bufferMode=GL_SEPARATE_ATTRIBS}=props;return this.hash=hash||"",this.vs="string"==typeof vs?new VertexShader(this.gl,{id:"".concat(props.id,"-vs"),source:vs}):vs,this.fs="string"==typeof fs?new FragmentShader(this.gl,{id:"".concat(props.id,"-fs"),source:fs}):fs,(0,assert.U)(this.vs instanceof VertexShader),(0,assert.U)(this.fs instanceof FragmentShader),this.uniforms={},this._textureUniforms={},varyings&&varyings.length>0&&((0,esm.Yb)(this.gl),this.varyings=varyings,this.gl2.transformFeedbackVaryings(this.handle,varyings,bufferMode)),this._compileAndLink(),this._readUniformLocationsFromLinkedProgram(),this.configuration=new ProgramConfiguration(this),this.setProps(props)}delete(){let options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._isCached?this:super.delete(options)}setProps(props){return"uniforms"in props&&this.setUniforms(props.uniforms),this}draw(_ref){let{logPriority,drawMode=4,vertexCount,offset=0,start,end,isIndexed=!1,indexType=5123,instanceCount=0,isInstanced=instanceCount>0,vertexArray=null,transformFeedback,framebuffer,parameters={},uniforms,samplers}=_ref;if((uniforms||samplers)&&(esm.Yz.deprecated("Program.draw({uniforms})","Program.setUniforms(uniforms)")(),this.setUniforms(uniforms||{})),esm.Yz.priority>=logPriority){const fb=framebuffer?framebuffer.id:"default",message="mode=".concat((0,constants_to_keys.gP)(this.gl,drawMode)," verts=").concat(vertexCount," ")+"instances=".concat(instanceCount," indexType=").concat((0,constants_to_keys.gP)(this.gl,indexType)," ")+"isInstanced=".concat(isInstanced," isIndexed=").concat(isIndexed," ")+"Framebuffer=".concat(fb);esm.Yz.log(logPriority,message)()}return(0,assert.U)(vertexArray),this.gl.useProgram(this.handle),!(!this._areTexturesRenderable()||0===vertexCount||isInstanced&&0===instanceCount)&&(vertexArray.bindForDraw(vertexCount,instanceCount,(()=>{if(void 0!==framebuffer&&(parameters=Object.assign({},parameters,{framebuffer})),transformFeedback){const primitiveMode=(0,attribute_utils.gl)(drawMode);transformFeedback.begin(primitiveMode)}this._bindTextures(),(0,esm.Qx)(this.gl,parameters,(()=>{isIndexed&&isInstanced?this.gl2.drawElementsInstanced(drawMode,vertexCount,indexType,offset,instanceCount):isIndexed&&(0,esm.Y8)(this.gl)&&!isNaN(start)&&!isNaN(end)?this.gl2.drawRangeElements(drawMode,start,end,vertexCount,indexType,offset):isIndexed?this.gl.drawElements(drawMode,vertexCount,indexType,offset):isInstanced?this.gl2.drawArraysInstanced(drawMode,offset,vertexCount,instanceCount):this.gl.drawArrays(drawMode,offset,vertexCount)})),transformFeedback&&transformFeedback.end()})),!0)}setUniforms(){let uniforms=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};esm.Yz.priority>=2&&function checkUniformValues(uniforms,source,uniformMap){for(const uniformName in uniforms){const value=uniforms[uniformName];if((!uniformMap||Boolean(uniformMap[uniformName]))&&!checkUniformValue(value))throw source=source?"".concat(source," "):"",console.error("".concat(source," Bad uniform ").concat(uniformName),value),new Error("".concat(source," Bad uniform ").concat(uniformName))}return!0}(uniforms,this.id,this._uniformSetters),this.gl.useProgram(this.handle);for(const uniformName in uniforms){const uniform=uniforms[uniformName],uniformSetter=this._uniformSetters[uniformName];if(uniformSetter){let value=uniform,textureUpdate=!1;if(value instanceof framebuffer.M&&(value=value.texture),value instanceof texture.c)if(textureUpdate=this.uniforms[uniformName]!==uniform,textureUpdate){void 0===uniformSetter.textureIndex&&(uniformSetter.textureIndex=this._textureIndexCounter++);const texture=value,{textureIndex}=uniformSetter;texture.bind(textureIndex),value=textureIndex,this._textureUniforms[uniformName]=texture}else value=uniformSetter.textureIndex;else this._textureUniforms[uniformName]&&delete this._textureUniforms[uniformName];(uniformSetter(value)||textureUpdate)&&copyUniform(this.uniforms,uniformName,uniform)}}return this}_areTexturesRenderable(){let texturesRenderable=!0;for(const uniformName in this._textureUniforms){const texture=this._textureUniforms[uniformName];texture.update(),texturesRenderable=texturesRenderable&&texture.loaded}return texturesRenderable}_bindTextures(){for(const uniformName in this._textureUniforms){const textureIndex=this._uniformSetters[uniformName].textureIndex;this._textureUniforms[uniformName].bind(textureIndex)}}_createHandle(){return this.gl.createProgram()}_deleteHandle(){this.gl.deleteProgram(this.handle)}_getOptionsFromHandle(handle){const shaderHandles=this.gl.getAttachedShaders(handle),opts={};for(const shaderHandle of shaderHandles){switch(this.gl.getShaderParameter(this.handle,35663)){case 35633:opts.vs=new VertexShader({handle:shaderHandle});break;case 35632:opts.fs=new FragmentShader({handle:shaderHandle})}}return opts}_getParameter(pname){return this.gl.getProgramParameter(this.handle,pname)}_setId(id){if(!id){const programName=this._getName();this.id=(0,utils.cB)(programName)}}_getName(){let programName=this.vs.getName()||this.fs.getName();return programName=programName.replace(/shader/i,""),programName=programName?"".concat(programName,"-program"):"program",programName}_compileAndLink(){const{gl}=this;if(gl.attachShader(this.handle,this.vs.handle),gl.attachShader(this.handle,this.fs.handle),esm.Yz.time(4,"linkProgram for ".concat(this._getName()))(),gl.linkProgram(this.handle),esm.Yz.timeEnd(4,"linkProgram for ".concat(this._getName()))(),gl.debug||esm.Yz.level>0){if(!gl.getProgramParameter(this.handle,35714))throw new Error("Error linking: ".concat(gl.getProgramInfoLog(this.handle)));gl.validateProgram(this.handle);if(!gl.getProgramParameter(this.handle,35715))throw new Error("Error validating: ".concat(gl.getProgramInfoLog(this.handle)))}}_readUniformLocationsFromLinkedProgram(){const{gl}=this;this._uniformSetters={},this._uniformCount=this._getParameter(35718);for(let i=0;i<this._uniformCount;i++){const info=this.gl.getActiveUniform(this.handle,i),{name}=parseUniformName(info.name);let location=gl.getUniformLocation(this.handle,name);if(this._uniformSetters[name]=getUniformSetter(gl,location,info),info.size>1)for(let l=0;l<info.size;l++)location=gl.getUniformLocation(this.handle,"".concat(name,"[").concat(l,"]")),this._uniformSetters["".concat(name,"[").concat(l,"]")]=getUniformSetter(gl,location,info)}this._textureIndexCounter=0}getActiveUniforms(uniformIndices,pname){return this.gl2.getActiveUniforms(this.handle,uniformIndices,pname)}getUniformBlockIndex(blockName){return this.gl2.getUniformBlockIndex(this.handle,blockName)}getActiveUniformBlockParameter(blockIndex,pname){return this.gl2.getActiveUniformBlockParameter(this.handle,blockIndex,pname)}uniformBlockBinding(blockIndex,blockBinding){this.gl2.uniformBlockBinding(this.handle,blockIndex,blockBinding)}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/renderbuffer.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Renderbuffer});var resource=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js");const EXT_FLOAT_WEBGL2="EXT_color_buffer_float",renderbuffer_formats={33189:{bpp:2},33190:{gl2:!0,bpp:3},36012:{gl2:!0,bpp:4},36168:{bpp:1},34041:{bpp:4},35056:{gl2:!0,bpp:4},36013:{gl2:!0,bpp:5},32854:{bpp:2},36194:{bpp:2},32855:{bpp:2},33321:{gl2:!0,bpp:1},33330:{gl2:!0,bpp:1},33329:{gl2:!0,bpp:1},33332:{gl2:!0,bpp:2},33331:{gl2:!0,bpp:2},33334:{gl2:!0,bpp:4},33333:{gl2:!0,bpp:4},33323:{gl2:!0,bpp:2},33336:{gl2:!0,bpp:2},33335:{gl2:!0,bpp:2},33338:{gl2:!0,bpp:4},33337:{gl2:!0,bpp:4},33340:{gl2:!0,bpp:8},33339:{gl2:!0,bpp:8},32849:{gl2:!0,bpp:3},32856:{gl2:!0,bpp:4},32857:{gl2:!0,bpp:4},36220:{gl2:!0,bpp:4},36238:{gl2:!0,bpp:4},36975:{gl2:!0,bpp:4},36214:{gl2:!0,bpp:8},36232:{gl2:!0,bpp:8},36226:{gl2:!0,bpp:16},36208:{gl2:!0,bpp:16},33325:{gl2:EXT_FLOAT_WEBGL2,bpp:2},33327:{gl2:EXT_FLOAT_WEBGL2,bpp:4},34842:{gl2:EXT_FLOAT_WEBGL2,bpp:8},33326:{gl2:EXT_FLOAT_WEBGL2,bpp:4},33328:{gl2:EXT_FLOAT_WEBGL2,bpp:8},34836:{gl2:EXT_FLOAT_WEBGL2,bpp:16},35898:{gl2:EXT_FLOAT_WEBGL2,bpp:4}};var esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");class Renderbuffer extends resource.c{get[Symbol.toStringTag](){return"Renderbuffer"}static isSupported(gl){let{format}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{format:null};return!format||function isFormatSupported(gl,format,formats){const info=formats[format];if(!info)return!1;const value=(0,esm.Y8)(gl)&&info.gl2||info.gl1;return"string"==typeof value?gl.getExtension(value):value}(gl,format,renderbuffer_formats)}static getSamplesForFormat(gl,_ref){let{format}=_ref;return gl.getInternalformatParameter(36161,format,32937)}constructor(gl){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(gl,opts),this.initialize(opts),Object.seal(this)}initialize(_ref2){let{format,width=1,height=1,samples=0}=_ref2;return(0,assert.U)(format,"Needs format"),this._trackDeallocatedMemory(),this.gl.bindRenderbuffer(36161,this.handle),0!==samples&&(0,esm.Y8)(this.gl)?this.gl.renderbufferStorageMultisample(36161,samples,format,width,height):this.gl.renderbufferStorage(36161,format,width,height),this.format=format,this.width=width,this.height=height,this.samples=samples,this._trackAllocatedMemory(this.width*this.height*(this.samples||1)*renderbuffer_formats[this.format].bpp),this}resize(_ref3){let{width,height}=_ref3;return width!==this.width||height!==this.height?this.initialize({width,height,format:this.format,samples:this.samples}):this}_createHandle(){return this.gl.createRenderbuffer()}_deleteHandle(){this.gl.deleteRenderbuffer(this.handle),this._trackDeallocatedMemory()}_bindHandle(handle){this.gl.bindRenderbuffer(36161,handle)}_syncHandle(handle){this.format=this.getParameter(36164),this.width=this.getParameter(36162),this.height=this.getParameter(36163),this.samples=this.getParameter(36011)}_getParameter(pname){this.gl.bindRenderbuffer(36161,this.handle);return this.gl.getRenderbufferParameter(36161,pname)}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Resource});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_init__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/init.js"),_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/constants-to-keys.js"),_utils_assert__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js"),_utils_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js"),_utils_stub_methods__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/stub-methods.js");const ERR_RESOURCE_METHOD_UNDEFINED="Resource subclass must define virtual methods";class Resource{get[Symbol.toStringTag](){return"Resource"}constructor(gl){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.ew)(gl);const{id,userData={}}=opts;this.gl=gl,this.gl2=gl,this.id=id||(0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.cB)(this[Symbol.toStringTag]),this.userData=userData,this._bound=!1,this._handle=opts.handle,void 0===this._handle&&(this._handle=this._createHandle()),this.byteLength=0,this._addStats()}toString(){return"".concat(this[Symbol.toStringTag]||this.constructor.name,"(").concat(this.id,")")}get handle(){return this._handle}delete(){let{deleteChildren=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const children=this._handle&&this._deleteHandle(this._handle);return this._handle&&this._removeStats(),this._handle=null,children&&deleteChildren&&children.filter(Boolean).forEach((child=>child.delete())),this}bind(){let value,funcOrHandle=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.handle;return"function"!=typeof funcOrHandle?(this._bindHandle(funcOrHandle),this):(this._bound?value=funcOrHandle():(this._bindHandle(this.handle),this._bound=!0,value=funcOrHandle(),this._bound=!1,this._bindHandle(null)),value)}unbind(){this.bind(null)}getParameter(pname){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};pname=(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_2__.w7)(this.gl,pname),(0,_utils_assert__WEBPACK_IMPORTED_MODULE_3__.U)(pname);const parameter=(this.constructor.PARAMETERS||{})[pname];if(parameter){const isWebgl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(this.gl);if(!((!("webgl2"in parameter)||isWebgl2)&&(!("extension"in parameter)||this.gl.getExtension(parameter.extension)))){const webgl1Default=parameter.webgl1,webgl2Default="webgl2"in parameter?parameter.webgl2:parameter.webgl1;return isWebgl2?webgl2Default:webgl1Default}}return this._getParameter(pname,opts)}getParameters(){let options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{parameters,keys}=options,PARAMETERS=this.constructor.PARAMETERS||{},isWebgl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(this.gl),values={},parameterKeys=parameters||Object.keys(PARAMETERS);for(const pname of parameterKeys){const parameter=PARAMETERS[pname];if(parameter&&(!("webgl2"in parameter)||isWebgl2)&&(!("extension"in parameter)||this.gl.getExtension(parameter.extension))){const key=keys?(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_2__.gP)(this.gl,pname):pname;values[key]=this.getParameter(pname,options),keys&&"GLenum"===parameter.type&&(values[key]=(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_2__.gP)(this.gl,values[key]))}}return values}setParameter(pname,value){pname=(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_2__.w7)(this.gl,pname),(0,_utils_assert__WEBPACK_IMPORTED_MODULE_3__.U)(pname);const parameter=(this.constructor.PARAMETERS||{})[pname];if(parameter){const isWebgl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(this.gl);if(!((!("webgl2"in parameter)||isWebgl2)&&(!("extension"in parameter)||this.gl.getExtension(parameter.extension))))throw new Error("Parameter not available on this platform");"GLenum"===parameter.type&&(value=(0,_webgl_utils_constants_to_keys__WEBPACK_IMPORTED_MODULE_2__.w7)(value))}return this._setParameter(pname,value),this}setParameters(parameters){for(const pname in parameters)this.setParameter(pname,parameters[pname]);return this}stubRemovedMethods(className,version,methodNames){return(0,_utils_stub_methods__WEBPACK_IMPORTED_MODULE_4__._)(this,className,version,methodNames)}initialize(opts){}_createHandle(){throw new Error(ERR_RESOURCE_METHOD_UNDEFINED)}_deleteHandle(){throw new Error(ERR_RESOURCE_METHOD_UNDEFINED)}_bindHandle(handle){throw new Error(ERR_RESOURCE_METHOD_UNDEFINED)}_getOptsFromHandle(){throw new Error(ERR_RESOURCE_METHOD_UNDEFINED)}_getParameter(pname,opts){throw new Error(ERR_RESOURCE_METHOD_UNDEFINED)}_setParameter(pname,value){throw new Error(ERR_RESOURCE_METHOD_UNDEFINED)}_context(){return this.gl.luma=this.gl.luma||{},this.gl.luma}_addStats(){const name=this[Symbol.toStringTag],stats=_init__WEBPACK_IMPORTED_MODULE_5__.e8.get("Resource Counts");stats.get("Resources Created").incrementCount(),stats.get("".concat(name,"s Created")).incrementCount(),stats.get("".concat(name,"s Active")).incrementCount()}_removeStats(){const name=this[Symbol.toStringTag];_init__WEBPACK_IMPORTED_MODULE_5__.e8.get("Resource Counts").get("".concat(name,"s Active")).decrementCount()}_trackAllocatedMemory(bytes){let name=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[Symbol.toStringTag];this._trackAllocatedMemoryForContext(bytes,name),this._trackAllocatedMemoryForContext(bytes,name,this.gl.canvas&&this.gl.canvas.id),this.byteLength=bytes}_trackAllocatedMemoryForContext(bytes){let name=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[Symbol.toStringTag],id=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const stats=_init__WEBPACK_IMPORTED_MODULE_5__.e8.get("Memory Usage".concat(id));stats.get("GPU Memory").addCount(bytes),stats.get("".concat(name," Memory")).addCount(bytes)}_trackDeallocatedMemory(){let name=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this[Symbol.toStringTag];this._trackDeallocatedMemoryForContext(name),this._trackDeallocatedMemoryForContext(name,this.gl.canvas&&this.gl.canvas.id),this.byteLength=0}_trackDeallocatedMemoryForContext(){let name=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this[Symbol.toStringTag],id=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const stats=_init__WEBPACK_IMPORTED_MODULE_5__.e8.get("Memory Usage".concat(id));stats.get("GPU Memory").subtractCount(this.byteLength),stats.get("".concat(name," Memory")).subtractCount(this.byteLength)}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/texture-2d.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Texture2D});var esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),texture=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture.js"),utils_assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");let pathPrefix="";class Texture2D extends texture.c{get[Symbol.toStringTag](){return"Texture2D"}static isSupported(gl,opts){return texture.c.isSupported(gl,opts)}constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var url,opts;(0,esm.ew)(gl),(props instanceof Promise||"string"==typeof props)&&(props={data:props}),"string"==typeof props.data&&(props=Object.assign({},props,{data:(url=props.data,(0,utils_assert.U)("string"==typeof url),url=pathPrefix+url,new Promise(((resolve,reject)=>{try{const image=new Image;image.onload=()=>resolve(image),image.onerror=()=>reject(new Error("Could not load image ".concat(url,"."))),image.crossOrigin=opts&&opts.crossOrigin||"anonymous",image.src=url}catch(error){reject(error)}})))})),super(gl,Object.assign({},props,{target:3553})),this.initialize(props),Object.seal(this)}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/texture-formats.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Oe:()=>isLinearFilteringSupported,Yt:()=>TYPE_SIZES,gT:()=>isFormatSupported,i0:()=>DATA_FORMAT_CHANNELS,mA:()=>TEXTURE_FORMATS});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js");const TEXTURE_FORMATS={6407:{dataFormat:6407,types:[5121,33635]},6408:{dataFormat:6408,types:[5121,32819,32820]},6406:{dataFormat:6406,types:[5121]},6409:{dataFormat:6409,types:[5121]},6410:{dataFormat:6410,types:[5121]},33326:{dataFormat:6403,types:[5126],gl2:!0},33328:{dataFormat:33319,types:[5126],gl2:!0},34837:{dataFormat:6407,types:[5126],gl2:!0},34836:{dataFormat:6408,types:[5126],gl2:!0}},DATA_FORMAT_CHANNELS={6403:1,36244:1,33319:2,33320:2,6407:3,36248:3,6408:4,36249:4,6402:1,34041:1,6406:1,6409:1,6410:2},TYPE_SIZES={5126:4,5125:4,5124:4,5123:2,5122:2,5131:2,5120:1,5121:1};function isFormatSupported(gl,format){const info=TEXTURE_FORMATS[format];if(!info)return!1;if(void 0===info.gl1&&void 0===info.gl2)return!0;const value=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(gl)&&info.gl2||info.gl1;return"string"==typeof value?gl.getExtension(value):value}function isLinearFilteringSupported(gl,format){const info=TEXTURE_FORMATS[format];switch(info&&info.types[0]){case 5126:return gl.getExtension("OES_texture_float_linear");case 5131:return gl.getExtension("OES_texture_half_float_linear");default:return!0}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/texture.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Texture});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_resource__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js"),_buffer__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/buffer.js"),_texture_formats__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-formats.js"),_utils_assert__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js"),_utils_utils__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js");const NPOT_MIN_FILTERS=[9729,9728],WebGLBuffer=globalThis.WebGLBuffer||function WebGLBuffer(){};class Texture extends _resource__WEBPACK_IMPORTED_MODULE_1__.c{get[Symbol.toStringTag](){return"Texture"}static isSupported(gl){let opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{format,linearFiltering}=opts;let supported=!0;return format&&(supported=supported&&(0,_texture_formats__WEBPACK_IMPORTED_MODULE_2__.gT)(gl,format),supported=supported&&(!linearFiltering||(0,_texture_formats__WEBPACK_IMPORTED_MODULE_2__.Oe)(gl,format))),supported}constructor(gl,props){const{id=(0,_utils_utils__WEBPACK_IMPORTED_MODULE_3__.cB)("texture"),handle,target}=props;super(gl,{id,handle}),this.target=target,this.textureUnit=void 0,this.loaded=!1,this.width=void 0,this.height=void 0,this.depth=void 0,this.format=void 0,this.type=void 0,this.dataFormat=void 0,this.border=void 0,this.textureUnit=void 0,this.mipmaps=void 0}toString(){return"Texture(".concat(this.id,",").concat(this.width,"x").concat(this.height,")")}initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},data=props.data;if(data instanceof Promise)return data.then((resolvedImageData=>this.initialize(Object.assign({},props,{pixels:resolvedImageData,data:resolvedImageData})))),this;const isVideo="undefined"!=typeof HTMLVideoElement&&data instanceof HTMLVideoElement;if(isVideo&&data.readyState<HTMLVideoElement.HAVE_METADATA)return this._video=null,data.addEventListener("loadeddata",(()=>this.initialize(props))),this;const{pixels=null,format=6408,border=0,recreate=!1,parameters={},pixelStore={},textureUnit}=props;data||(data=pixels);let{width,height,dataFormat,type,compressed=!1,mipmaps=!0}=props;const{depth=0}=props;return({width,height,compressed,dataFormat,type}=this._deduceParameters({format,type,dataFormat,compressed,data,width,height})),this.width=width,this.height=height,this.depth=depth,this.format=format,this.type=type,this.dataFormat=dataFormat,this.border=border,this.textureUnit=textureUnit,Number.isFinite(this.textureUnit)&&(this.gl.activeTexture(33984+this.textureUnit),this.gl.bindTexture(this.target,this.handle)),mipmaps&&this._isNPOT()&&(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.warn("texture: ".concat(this," is Non-Power-Of-Two, disabling mipmaping"))(),mipmaps=!1,this._updateForNPOT(parameters)),this.mipmaps=mipmaps,this.setImageData({data,width,height,depth,format,type,dataFormat,border,mipmaps,parameters:pixelStore,compressed}),mipmaps&&this.generateMipmap(),this.setParameters(parameters),recreate&&(this.data=data),isVideo&&(this._video={video:data,parameters,lastTime:data.readyState>=HTMLVideoElement.HAVE_CURRENT_DATA?data.currentTime:-1}),this}update(){if(this._video){const{video,parameters,lastTime}=this._video;if(lastTime===video.currentTime||video.readyState<HTMLVideoElement.HAVE_CURRENT_DATA)return;this.setSubImageData({data:video,parameters}),this.mipmaps&&this.generateMipmap(),this._video.lastTime=video.currentTime}}resize(_ref){let{height,width,mipmaps=!1}=_ref;return width!==this.width||height!==this.height?this.initialize({width,height,format:this.format,type:this.type,dataFormat:this.dataFormat,border:this.border,mipmaps}):this}generateMipmap(){let params=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._isNPOT()?(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.warn("texture: ".concat(this," is Non-Power-Of-Two, disabling mipmaping"))(),this):(this.mipmaps=!0,this.gl.bindTexture(this.target,this.handle),(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Qx)(this.gl,params,(()=>{this.gl.generateMipmap(this.target)})),this.gl.bindTexture(this.target,null),this)}setImageData(options){this._trackDeallocatedMemory("Texture");const{target=this.target,pixels=null,level=0,format=this.format,border=this.border,offset=0,parameters={}}=options;let{data=null,type=this.type,width=this.width,height=this.height,dataFormat=this.dataFormat,compressed=!1}=options;data||(data=pixels),({type,dataFormat,compressed,width,height}=this._deduceParameters({format,type,dataFormat,compressed,data,width,height}));const{gl}=this;gl.bindTexture(this.target,this.handle);let gl2,dataType=null;({data,dataType}=this._getDataType({data,compressed}));let compressedTextureSize=0;if((0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Qx)(this.gl,parameters,(()=>{switch(dataType){case"null":gl.texImage2D(target,level,format,width,height,border,dataFormat,type,data);break;case"typed-array":gl.texImage2D(target,level,format,width,height,border,dataFormat,type,data,offset);break;case"buffer":gl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(gl),gl2.bindBuffer(35052,data.handle||data),gl2.texImage2D(target,level,format,width,height,border,dataFormat,type,offset),gl2.bindBuffer(35052,null);break;case"browser-object":(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(gl)?gl.texImage2D(target,level,format,width,height,border,dataFormat,type,data):gl.texImage2D(target,level,format,dataFormat,type,data);break;case"compressed":for(const[levelIndex,levelData]of data.entries())gl.compressedTexImage2D(target,levelIndex,levelData.format,levelData.width,levelData.height,border,levelData.data),compressedTextureSize+=levelData.levelSize;break;default:(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(!1,"Unknown image data type")}})),"compressed"===dataType)this._trackAllocatedMemory(compressedTextureSize,"Texture");else if(data&&data.byteLength)this._trackAllocatedMemory(data.byteLength,"Texture");else{const channels=_texture_formats__WEBPACK_IMPORTED_MODULE_2__.i0[this.dataFormat]||4,channelSize=_texture_formats__WEBPACK_IMPORTED_MODULE_2__.Yt[this.type]||1;this._trackAllocatedMemory(this.width*this.height*channels*channelSize,"Texture")}return this.loaded=!0,this}setSubImageData(_ref2){let{target=this.target,pixels=null,data=null,x=0,y=0,width=this.width,height=this.height,level=0,format=this.format,type=this.type,dataFormat=this.dataFormat,compressed=!1,offset=0,border=this.border,parameters={}}=_ref2;if(({type,dataFormat,compressed,width,height}=this._deduceParameters({format,type,dataFormat,compressed,data,width,height})),(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(0===this.depth,"texSubImage not supported for 3D textures"),data||(data=pixels),data&&data.data){const ndarray=data;data=ndarray.data,width=ndarray.shape[0],height=ndarray.shape[1]}data instanceof _buffer__WEBPACK_IMPORTED_MODULE_5__.c&&(data=data.handle),this.gl.bindTexture(this.target,this.handle),(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Qx)(this.gl,parameters,(()=>{if(compressed)this.gl.compressedTexSubImage2D(target,level,x,y,width,height,format,data);else if(null===data)this.gl.texSubImage2D(target,level,x,y,width,height,dataFormat,type,null);else if(ArrayBuffer.isView(data))this.gl.texSubImage2D(target,level,x,y,width,height,dataFormat,type,data,offset);else if(data instanceof WebGLBuffer){const gl2=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(this.gl);gl2.bindBuffer(35052,data),gl2.texSubImage2D(target,level,x,y,width,height,dataFormat,type,offset),gl2.bindBuffer(35052,null)}else if((0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(this.gl)){(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(this.gl).texSubImage2D(target,level,x,y,width,height,dataFormat,type,data)}else this.gl.texSubImage2D(target,level,x,y,dataFormat,type,data)})),this.gl.bindTexture(this.target,null)}copyFramebuffer(){return _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.error("Texture.copyFramebuffer({...}) is no logner supported, use copyToTexture(source, target, opts})")(),null}getActiveUnit(){return this.gl.getParameter(34016)-33984}bind(){let textureUnit=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.textureUnit;const{gl}=this;return void 0!==textureUnit&&(this.textureUnit=textureUnit,gl.activeTexture(33984+textureUnit)),gl.bindTexture(this.target,this.handle),textureUnit}unbind(){let textureUnit=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.textureUnit;const{gl}=this;return void 0!==textureUnit&&(this.textureUnit=textureUnit,gl.activeTexture(33984+textureUnit)),gl.bindTexture(this.target,null),textureUnit}_getDataType(_ref3){let{data,compressed=!1}=_ref3;return compressed?{data,dataType:"compressed"}:null===data?{data,dataType:"null"}:ArrayBuffer.isView(data)?{data,dataType:"typed-array"}:data instanceof _buffer__WEBPACK_IMPORTED_MODULE_5__.c?{data:data.handle,dataType:"buffer"}:data instanceof WebGLBuffer?{data,dataType:"buffer"}:{data,dataType:"browser-object"}}_deduceParameters(opts){const{format,data}=opts;let{width,height,dataFormat,type,compressed}=opts;const textureFormat=_texture_formats__WEBPACK_IMPORTED_MODULE_2__.mA[format];return dataFormat=dataFormat||textureFormat&&textureFormat.dataFormat,type=type||textureFormat&&textureFormat.types[0],compressed=compressed||textureFormat&&textureFormat.compressed,({width,height}=this._deduceImageSize(data,width,height)),{dataFormat,type,compressed,width,height,format,data}}_deduceImageSize(data,width,height){let size;return size="undefined"!=typeof ImageData&&data instanceof ImageData?{width:data.width,height:data.height}:"undefined"!=typeof HTMLImageElement&&data instanceof HTMLImageElement?{width:data.naturalWidth,height:data.naturalHeight}:"undefined"!=typeof HTMLCanvasElement&&data instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&data instanceof ImageBitmap?{width:data.width,height:data.height}:"undefined"!=typeof HTMLVideoElement&&data instanceof HTMLVideoElement?{width:data.videoWidth,height:data.videoHeight}:data?{width,height}:{width:width>=0?width:1,height:height>=0?height:1},(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(size,"Could not deduced texture size"),(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(void 0===width||size.width===width,"Deduced texture width does not match supplied width"),(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(void 0===height||size.height===height,"Deduced texture height does not match supplied height"),size}_createHandle(){return this.gl.createTexture()}_deleteHandle(){this.gl.deleteTexture(this.handle),this._trackDeallocatedMemory("Texture")}_getParameter(pname){switch(pname){case 4096:return this.width;case 4097:return this.height;default:this.gl.bindTexture(this.target,this.handle);const value=this.gl.getTexParameter(this.target,pname);return this.gl.bindTexture(this.target,null),value}}_setParameter(pname,param){switch(this.gl.bindTexture(this.target,this.handle),param=this._getNPOTParam(pname,param),pname){case 33082:case 33083:this.gl.texParameterf(this.handle,pname,param);break;case 4096:case 4097:(0,_utils_assert__WEBPACK_IMPORTED_MODULE_4__.U)(!1);break;default:this.gl.texParameteri(this.target,pname,param)}return this.gl.bindTexture(this.target,null),this}_isNPOT(){return!(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(this.gl)&&(!(!this.width||!this.height)&&(!(0,_utils_utils__WEBPACK_IMPORTED_MODULE_3__.Ki)(this.width)||!(0,_utils_utils__WEBPACK_IMPORTED_MODULE_3__.Ki)(this.height)))}_updateForNPOT(parameters){void 0===parameters[this.gl.TEXTURE_MIN_FILTER]&&(parameters[this.gl.TEXTURE_MIN_FILTER]=this.gl.LINEAR),void 0===parameters[this.gl.TEXTURE_WRAP_S]&&(parameters[this.gl.TEXTURE_WRAP_S]=this.gl.CLAMP_TO_EDGE),void 0===parameters[this.gl.TEXTURE_WRAP_T]&&(parameters[this.gl.TEXTURE_WRAP_T]=this.gl.CLAMP_TO_EDGE)}_getNPOTParam(pname,param){if(this._isNPOT())switch(pname){case 10241:-1===NPOT_MIN_FILTERS.indexOf(param)&&(param=9729);break;case 10242:case 10243:33071!==param&&(param=33071)}return param}}},"./node_modules/@luma.gl/webgl/dist/esm/classes/transform-feedback.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>TransformFeedback});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_resource__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/resource.js"),_buffer__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/buffer.js"),_utils_utils__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js");class TransformFeedback extends _resource__WEBPACK_IMPORTED_MODULE_1__.c{get[Symbol.toStringTag](){return"TransformFeedback"}static isSupported(gl){return(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(gl)}constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yb)(gl),super(gl,props),this.initialize(props),this.stubRemovedMethods("TransformFeedback","v6.0",["pause","resume"]),Object.seal(this)}initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.buffers={},this.unused={},this.configuration=null,this.bindOnUse=!0,(0,_utils_utils__WEBPACK_IMPORTED_MODULE_2__._o)(this.buffers)||this.bind((()=>this._unbindBuffers())),this.setProps(props),this}setProps(props){"program"in props&&(this.configuration=props.program&&props.program.configuration),"configuration"in props&&(this.configuration=props.configuration),"bindOnUse"in props&&(props=props.bindOnUse),"buffers"in props&&this.setBuffers(props.buffers)}setBuffers(){let buffers=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.bind((()=>{for(const bufferName in buffers)this.setBuffer(bufferName,buffers[bufferName])})),this}setBuffer(locationOrName,bufferOrParams){const location=this._getVaryingIndex(locationOrName),{buffer,byteSize,byteOffset}=this._getBufferParams(bufferOrParams);return location<0?(this.unused[locationOrName]=buffer,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.warn("".concat(this.id," unused varying buffer ").concat(locationOrName))(),this):(this.buffers[location]=bufferOrParams,this.bindOnUse||this._bindBuffer(location,buffer,byteOffset,byteSize),this)}begin(){let primitiveMode=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.gl.bindTransformFeedback(36386,this.handle),this._bindBuffers(),this.gl.beginTransformFeedback(primitiveMode),this}end(){return this.gl.endTransformFeedback(),this._unbindBuffers(),this.gl.bindTransformFeedback(36386,null),this}_getBufferParams(bufferOrParams){let byteOffset,byteSize,buffer;return bufferOrParams instanceof _buffer__WEBPACK_IMPORTED_MODULE_3__.c==!1?(buffer=bufferOrParams.buffer,byteSize=bufferOrParams.byteSize,byteOffset=bufferOrParams.byteOffset):buffer=bufferOrParams,void 0===byteOffset&&void 0===byteSize||(byteOffset=byteOffset||0,byteSize=byteSize||buffer.byteLength-byteOffset),{buffer,byteOffset,byteSize}}_getVaryingInfo(locationOrName){return this.configuration&&this.configuration.getVaryingInfo(locationOrName)}_getVaryingIndex(locationOrName){if(this.configuration)return this.configuration.getVaryingInfo(locationOrName).location;const location=Number(locationOrName);return Number.isFinite(location)?location:-1}_bindBuffers(){if(this.bindOnUse)for(const bufferIndex in this.buffers){const{buffer,byteSize,byteOffset}=this._getBufferParams(this.buffers[bufferIndex]);this._bindBuffer(bufferIndex,buffer,byteOffset,byteSize)}}_unbindBuffers(){if(this.bindOnUse)for(const bufferIndex in this.buffers)this._bindBuffer(bufferIndex,null)}_bindBuffer(index,buffer){let byteOffset=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,byteSize=arguments.length>3?arguments[3]:void 0;const handle=buffer&&buffer.handle;return handle&&void 0!==byteSize?this.gl.bindBufferRange(35982,index,handle,byteOffset,byteSize):this.gl.bindBufferBase(35982,index,handle),this}_createHandle(){return this.gl.createTransformFeedback()}_deleteHandle(){this.gl.deleteTransformFeedback(this.handle)}_bindHandle(handle){this.gl.bindTransformFeedback(36386,this.handle)}}},"./node_modules/@luma.gl/webgl/dist/esm/features/features.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R0:()=>hasFeatures,_E:()=>hasFeature,yW:()=>getFeatures});var _webgl_features_table__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/features/webgl-features-table.js"),_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_utils_assert__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");const LOG_UNSUPPORTED_FEATURE=2;function hasFeature(gl,feature){return hasFeatures(gl,feature)}function hasFeatures(gl,features){return(features=Array.isArray(features)?features:[features]).every((feature=>isFeatureSupported(gl,feature)))}function getFeatures(gl){gl.luma=gl.luma||{},gl.luma.caps=gl.luma.caps||{};for(const cap in _webgl_features_table__WEBPACK_IMPORTED_MODULE_1__.M)void 0===gl.luma.caps[cap]&&(gl.luma.caps[cap]=isFeatureSupported(gl,cap));return gl.luma.caps}function isFeatureSupported(gl,cap){return gl.luma=gl.luma||{},gl.luma.caps=gl.luma.caps||{},void 0===gl.luma.caps[cap]&&(gl.luma.caps[cap]=function queryFeature(gl,cap){const feature=_webgl_features_table__WEBPACK_IMPORTED_MODULE_1__.M[cap];let isSupported;(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(feature,cap);const featureDefinition=(0,_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Y8)(gl)&&feature[1]||feature[0];if("function"==typeof featureDefinition)isSupported=featureDefinition(gl);else if(Array.isArray(featureDefinition)){isSupported=!0;for(const extension of featureDefinition)isSupported=isSupported&&Boolean(gl.getExtension(extension))}else"string"==typeof featureDefinition?isSupported=Boolean(gl.getExtension(featureDefinition)):"boolean"==typeof featureDefinition?isSupported=featureDefinition:(0,_utils_assert__WEBPACK_IMPORTED_MODULE_2__.U)(!1);return isSupported}(gl,cap)),gl.luma.caps[cap]||_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.log(LOG_UNSUPPORTED_FEATURE,"Feature: ".concat(cap," not supported"))(),gl.luma.caps[cap]}},"./node_modules/@luma.gl/webgl/dist/esm/features/webgl-features-table.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>__WEBPACK_DEFAULT_EXPORT__,c:()=>FEATURES});var _classes_framebuffer__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/framebuffer.js"),_classes_texture_2d__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-2d.js");const FEATURES={WEBGL2:"WEBGL2",VERTEX_ARRAY_OBJECT:"VERTEX_ARRAY_OBJECT",TIMER_QUERY:"TIMER_QUERY",INSTANCED_RENDERING:"INSTANCED_RENDERING",MULTIPLE_RENDER_TARGETS:"MULTIPLE_RENDER_TARGETS",ELEMENT_INDEX_UINT32:"ELEMENT_INDEX_UINT32",BLEND_EQUATION_MINMAX:"BLEND_EQUATION_MINMAX",FLOAT_BLEND:"FLOAT_BLEND",COLOR_ENCODING_SRGB:"COLOR_ENCODING_SRGB",TEXTURE_DEPTH:"TEXTURE_DEPTH",TEXTURE_FLOAT:"TEXTURE_FLOAT",TEXTURE_HALF_FLOAT:"TEXTURE_HALF_FLOAT",TEXTURE_FILTER_LINEAR_FLOAT:"TEXTURE_FILTER_LINEAR_FLOAT",TEXTURE_FILTER_LINEAR_HALF_FLOAT:"TEXTURE_FILTER_LINEAR_HALF_FLOAT",TEXTURE_FILTER_ANISOTROPIC:"TEXTURE_FILTER_ANISOTROPIC",COLOR_ATTACHMENT_RGBA32F:"COLOR_ATTACHMENT_RGBA32F",COLOR_ATTACHMENT_FLOAT:"COLOR_ATTACHMENT_FLOAT",COLOR_ATTACHMENT_HALF_FLOAT:"COLOR_ATTACHMENT_HALF_FLOAT",GLSL_FRAG_DATA:"GLSL_FRAG_DATA",GLSL_FRAG_DEPTH:"GLSL_FRAG_DEPTH",GLSL_DERIVATIVES:"GLSL_DERIVATIVES",GLSL_TEXTURE_LOD:"GLSL_TEXTURE_LOD"};const __WEBPACK_DEFAULT_EXPORT__={[FEATURES.WEBGL2]:[!1,!0],[FEATURES.VERTEX_ARRAY_OBJECT]:["OES_vertex_array_object",!0],[FEATURES.TIMER_QUERY]:["EXT_disjoint_timer_query","EXT_disjoint_timer_query_webgl2"],[FEATURES.INSTANCED_RENDERING]:["ANGLE_instanced_arrays",!0],[FEATURES.MULTIPLE_RENDER_TARGETS]:["WEBGL_draw_buffers",!0],[FEATURES.ELEMENT_INDEX_UINT32]:["OES_element_index_uint",!0],[FEATURES.BLEND_EQUATION_MINMAX]:["EXT_blend_minmax",!0],[FEATURES.FLOAT_BLEND]:["EXT_float_blend"],[FEATURES.COLOR_ENCODING_SRGB]:["EXT_sRGB",!0],[FEATURES.TEXTURE_DEPTH]:["WEBGL_depth_texture",!0],[FEATURES.TEXTURE_FLOAT]:["OES_texture_float",!0],[FEATURES.TEXTURE_HALF_FLOAT]:["OES_texture_half_float",!0],[FEATURES.TEXTURE_FILTER_LINEAR_FLOAT]:["OES_texture_float_linear"],[FEATURES.TEXTURE_FILTER_LINEAR_HALF_FLOAT]:["OES_texture_half_float_linear"],[FEATURES.TEXTURE_FILTER_ANISOTROPIC]:["EXT_texture_filter_anisotropic"],[FEATURES.COLOR_ATTACHMENT_RGBA32F]:[function checkFloat32ColorAttachment(gl){const testTexture=new _classes_texture_2d__WEBPACK_IMPORTED_MODULE_0__.c(gl,{format:6408,type:5126,dataFormat:6408}),testFb=new _classes_framebuffer__WEBPACK_IMPORTED_MODULE_1__.M(gl,{id:"test-framebuffer",check:!1,attachments:{36064:testTexture}}),status=testFb.getStatus();return testTexture.delete(),testFb.delete(),36053===status},"EXT_color_buffer_float"],[FEATURES.COLOR_ATTACHMENT_FLOAT]:[!1,"EXT_color_buffer_float"],[FEATURES.COLOR_ATTACHMENT_HALF_FLOAT]:["EXT_color_buffer_half_float"],[FEATURES.GLSL_FRAG_DATA]:["WEBGL_draw_buffers",!0],[FEATURES.GLSL_FRAG_DEPTH]:["EXT_frag_depth",!0],[FEATURES.GLSL_DERIVATIVES]:["OES_standard_derivatives",!0],[FEATURES.GLSL_TEXTURE_LOD]:["EXT_shader_texture_lod",!0]}},"./node_modules/@luma.gl/webgl/dist/esm/init.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{e8:()=>lumaStats});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),_probe_gl_stats__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@probe.gl/stats/dist/esm/index.js"),_probe_gl_env__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/is-browser.js");const lumaStats=new class StatsManager{constructor(){this.stats=new Map}get(name){return this.stats.has(name)||this.stats.set(name,new _probe_gl_stats__WEBPACK_IMPORTED_MODULE_1__.k7({id:name})),this.stats.get(name)}};if(globalThis.luma&&"8.5.21"!==globalThis.luma.VERSION)throw new Error("luma.gl - multiple VERSIONs detected: ".concat(globalThis.luma.VERSION," vs ").concat("8.5.21"));globalThis.luma||((0,_probe_gl_env__WEBPACK_IMPORTED_MODULE_2__.c)()&&_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.log(1,"luma.gl ".concat("8.5.21"," - ").concat("set luma.log.level=1 (or higher) to trace rendering"))(),globalThis.luma=globalThis.luma||{VERSION:"8.5.21",version:"8.5.21",log:_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz,stats:lumaStats,globals:{modules:{},nodeIO:{}}});globalThis.luma},"./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function assert(condition,message){if(!condition)throw new Error(message||"luma.gl: assertion failed.")}__webpack_require__.d(__webpack_exports__,{U:()=>assert})},"./node_modules/@luma.gl/webgl/dist/esm/utils/check-props.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>checkProps});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js");function checkProps(className,props,propChecks){const{removedProps={},deprecatedProps={},replacedProps={}}=propChecks;for(const propName in removedProps)if(propName in props){const replacement=removedProps[propName]?"".concat(className,".").concat(removedProps[propName]):"N/A";_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.removed("".concat(className,".").concat(propName),replacement)()}for(const propName in deprecatedProps)if(propName in props){const replacementProp=deprecatedProps[propName];_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.deprecated("".concat(className,".").concat(propName),"".concat(className,".").concat(replacementProp))()}let newProps=null;for(const propName in replacedProps)if(propName in props){const replacementProp=replacedProps[propName];_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.deprecated("".concat(className,".").concat(propName),"".concat(className,".").concat(replacementProp))(),newProps=newProps||Object.assign({},props),newProps[replacementProp]=props[propName],delete newProps[propName]}return newProps||props}},"./node_modules/@luma.gl/webgl/dist/esm/utils/stub-methods.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>stubRemovedMethods});var _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js");function stubRemovedMethods(instance,className,version,methodNames){const upgradeMessage="See luma.gl ".concat(version," Upgrade Guide at https://luma.gl/docs/upgrade-guide"),prototype=Object.getPrototypeOf(instance);methodNames.forEach((methodName=>{prototype.methodName||(prototype[methodName]=()=>{throw _luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__.Yz.removed("Calling removed method ".concat(className,".").concat(methodName,": "),upgradeMessage)(),new Error(methodName)})}))}},"./node_modules/@luma.gl/webgl/dist/esm/utils/utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ki:()=>isPowerOfTwo,_o:()=>isObjectEmpty,cB:()=>uid});var _assert__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");const uidCounters={};function uid(){let id=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";uidCounters[id]=uidCounters[id]||1;const count=uidCounters[id]++;return"".concat(id,"-").concat(count)}function isPowerOfTwo(n){return(0,_assert__WEBPACK_IMPORTED_MODULE_0__.U)("number"==typeof n,"Input must be a number"),n&&0==(n&n-1)}function isObjectEmpty(obj){let isEmpty=!0;for(const key in obj){isEmpty=!1;break}return isEmpty}},"./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/attribute-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{WK:()=>decomposeCompositeGLType,Yh:()=>getCompositeGLType,gl:()=>getPrimitiveDrawMode});var _utils_assert__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");const GL_BYTE=5120,GL_UNSIGNED_BYTE=5121,GL_SHORT=5122,GL_UNSIGNED_SHORT=5123,GL_POINTS=0,GL_LINES=1,GL_LINE_LOOP=2,GL_LINE_STRIP=3,GL_TRIANGLES=4,GL_TRIANGLE_STRIP=5,GL_TRIANGLE_FAN=6,GL_FLOAT=5126,COMPOSITE_GL_TYPES={[GL_FLOAT]:[GL_FLOAT,1,"float"],35664:[GL_FLOAT,2,"vec2"],35665:[GL_FLOAT,3,"vec3"],35666:[GL_FLOAT,4,"vec4"],5124:[5124,1,"int"],35667:[5124,2,"ivec2"],35668:[5124,3,"ivec3"],35669:[5124,4,"ivec4"],5125:[5125,1,"uint"],36294:[5125,2,"uvec2"],36295:[5125,3,"uvec3"],36296:[5125,4,"uvec4"],35670:[GL_FLOAT,1,"bool"],35671:[GL_FLOAT,2,"bvec2"],35672:[GL_FLOAT,3,"bvec3"],35673:[GL_FLOAT,4,"bvec4"],35674:[GL_FLOAT,8,"mat2"],35685:[GL_FLOAT,8,"mat2x3"],35686:[GL_FLOAT,8,"mat2x4"],35675:[GL_FLOAT,12,"mat3"],35687:[GL_FLOAT,12,"mat3x2"],35688:[GL_FLOAT,12,"mat3x4"],35676:[GL_FLOAT,16,"mat4"],35689:[GL_FLOAT,16,"mat4x2"],35690:[GL_FLOAT,16,"mat4x3"]};function getPrimitiveDrawMode(drawMode){switch(drawMode){case GL_POINTS:return GL_POINTS;case GL_LINES:case GL_LINE_STRIP:case GL_LINE_LOOP:return GL_LINES;case GL_TRIANGLES:case GL_TRIANGLE_STRIP:case GL_TRIANGLE_FAN:return GL_TRIANGLES;default:return(0,_utils_assert__WEBPACK_IMPORTED_MODULE_0__.U)(!1),0}}function decomposeCompositeGLType(compositeGLType){const typeAndSize=COMPOSITE_GL_TYPES[compositeGLType];if(!typeAndSize)return null;const[type,components]=typeAndSize;return{type,components}}function getCompositeGLType(type,components){switch(type){case GL_BYTE:case GL_UNSIGNED_BYTE:case GL_SHORT:case GL_UNSIGNED_SHORT:type=GL_FLOAT}for(const glType in COMPOSITE_GL_TYPES){const[compType,compComponents,name]=COMPOSITE_GL_TYPES[glType];if(compType===type&&compComponents===components)return{glType,name}}return null}},"./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/constants-to-keys.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{gP:()=>getKey,w7:()=>getKeyValue});var _utils_assert__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");function getKeyValue(gl,name){if("string"!=typeof name)return name;const number=Number(name);if(!isNaN(number))return number;const value=gl[name=name.replace(/^.*\./,"")];return(0,_utils_assert__WEBPACK_IMPORTED_MODULE_0__.U)(void 0!==value,"Accessing undefined constant GL.".concat(name)),value}function getKey(gl,value){value=Number(value);for(const key in gl)if(gl[key]===value)return"GL.".concat(key);return String(value)}},"./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/texture-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{w:()=>cloneTextureFrom,y:()=>toFramebuffer});var texture_2d=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-2d.js"),esm=__webpack_require__("./node_modules/@luma.gl/gltools/dist/esm/index.js"),texture=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture.js");const FACES=[34069,34070,34071,34072,34073,34074];class TextureCube extends texture.c{get[Symbol.toStringTag](){return"TextureCube"}constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,esm.ew)(gl),super(gl,Object.assign({},props,{target:34067})),this.initialize(props),Object.seal(this)}initialize(){let props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mipmaps=!0,parameters={}}=props;return this.opts=props,this.setCubeMapImageData(props).then((()=>{this.loaded=!0,mipmaps&&this.generateMipmap(props),this.setParameters(parameters)})),this}subImage(_ref){let{face,data,x=0,y=0,mipmapLevel=0}=_ref;return this._subImage({target:face,data,x,y,mipmapLevel})}async setCubeMapImageData(_ref2){let{width,height,pixels,data,border=0,format=6408,type=5121}=_ref2;const{gl}=this,imageDataMap=pixels||data,resolvedFaces=await Promise.all(FACES.map((face=>{const facePixels=imageDataMap[face];return Promise.all(Array.isArray(facePixels)?facePixels:[facePixels])})));this.bind(),FACES.forEach(((face,index)=>{resolvedFaces[index].length>1&&!1!==this.opts.mipmaps&&esm.Yz.warn("".concat(this.id," has mipmap and multiple LODs."))(),resolvedFaces[index].forEach(((image,lodLevel)=>{width&&height?gl.texImage2D(face,lodLevel,format,width,height,border,format,type,image):gl.texImage2D(face,lodLevel,format,format,type,image)}))})),this.unbind()}setImageDataForFace(options){const{face,width,height,pixels,data,border=0,format=6408,type=5121}=options,{gl}=this,imageData=pixels||data;return this.bind(),imageData instanceof Promise?imageData.then((resolvedImageData=>this.setImageDataForFace(Object.assign({},options,{face,data:resolvedImageData,pixels:resolvedImageData})))):this.width||this.height?gl.texImage2D(face,0,format,width,height,border,format,type,imageData):gl.texImage2D(face,0,format,format,type,imageData),this}}TextureCube.FACES=FACES;var texture_formats=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/texture-formats.js"),buffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/buffer.js");class Texture3D extends texture.c{get[Symbol.toStringTag](){return"Texture3D"}static isSupported(gl){return(0,esm.Y8)(gl)}constructor(gl){let props=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,esm.Yb)(gl),props=Object.assign({depth:1},props,{target:32879,unpackFlipY:!1}),super(gl,props),this.initialize(props),Object.seal(this)}setImageData(_ref){let{level=0,dataFormat=6408,width,height,depth=1,border=0,format,type=5121,offset=0,data,parameters={}}=_ref;if(this._trackDeallocatedMemory("Texture"),this.gl.bindTexture(this.target,this.handle),(0,esm.Qx)(this.gl,parameters,(()=>{ArrayBuffer.isView(data)&&this.gl.texImage3D(this.target,level,dataFormat,width,height,depth,border,format,type,data),data instanceof buffer.c&&(this.gl.bindBuffer(35052,data.handle),this.gl.texImage3D(this.target,level,dataFormat,width,height,depth,border,format,type,offset))})),data&&data.byteLength)this._trackAllocatedMemory(data.byteLength,"Texture");else{const channels=texture_formats.i0[this.dataFormat]||4,channelSize=texture_formats.Yt[this.type]||1;this._trackAllocatedMemory(this.width*this.height*this.depth*channels*channelSize,"Texture")}return this.loaded=!0,this}}var classes_framebuffer=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/classes/framebuffer.js"),assert=__webpack_require__("./node_modules/@luma.gl/webgl/dist/esm/utils/assert.js");function cloneTextureFrom(refTexture,overrides){(0,assert.U)(refTexture instanceof texture_2d.c||refTexture instanceof TextureCube||refTexture instanceof Texture3D);const TextureType=refTexture.constructor,{gl,width,height,format,type,dataFormat,border,mipmaps}=refTexture;return new TextureType(gl,Object.assign({width,height,format,type,dataFormat,border,mipmaps},overrides))}function toFramebuffer(texture,opts){const{gl,width,height,id}=texture;return new classes_framebuffer.M(gl,Object.assign({},opts,{id:"framebuffer-for-".concat(id),width,height,attachments:{36064:texture}}))}},"./node_modules/@luma.gl/webgl/dist/esm/webgl-utils/typed-array-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G0:()=>getGLTypeFromTypedArray,W4:()=>flipRows,YF:()=>scalePixels,aM:()=>getTypedArrayFromGLType});const ERR_TYPE_DEDUCTION="Failed to deduce GL constant from typed array";function getGLTypeFromTypedArray(arrayOrType){switch(ArrayBuffer.isView(arrayOrType)?arrayOrType.constructor:arrayOrType){case Float32Array:return 5126;case Uint16Array:return 5123;case Uint32Array:return 5125;case Uint8Array:case Uint8ClampedArray:return 5121;case Int8Array:return 5120;case Int16Array:return 5122;case Int32Array:return 5124;default:throw new Error(ERR_TYPE_DEDUCTION)}}function getTypedArrayFromGLType(glType){let{clamped=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(glType){case 5126:return Float32Array;case 5123:case 33635:case 32819:case 32820:return Uint16Array;case 5125:return Uint32Array;case 5121:return clamped?Uint8ClampedArray:Uint8Array;case 5120:return Int8Array;case 5122:return Int16Array;case 5124:return Int32Array;default:throw new Error("Failed to deduce typed array type from GL constant")}}function flipRows(_ref){let{data,width,height,bytesPerPixel=4,temp}=_ref;const bytesPerRow=width*bytesPerPixel;temp=temp||new Uint8Array(bytesPerRow);for(let y=0;y<height/2;++y){const topOffset=y*bytesPerRow,bottomOffset=(height-y-1)*bytesPerRow;temp.set(data.subarray(topOffset,topOffset+bytesPerRow)),data.copyWithin(topOffset,bottomOffset,bottomOffset+bytesPerRow),data.set(temp,bottomOffset)}}function scalePixels(_ref2){let{data,width,height}=_ref2;const newWidth=Math.round(width/2),newHeight=Math.round(height/2),newData=new Uint8Array(newWidth*newHeight*4);for(let y=0;y<newHeight;y++)for(let x=0;x<newWidth;x++)for(let c=0;c<4;c++)newData[4*(y*newWidth+x)+c]=data[4*(2*y*width+2*x)+c];return{data:newData,width:newWidth,height:newHeight}}},"./node_modules/@math.gl/core/dist/esm/classes/base/math-array.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>MathArray});var _lib_common__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js");class MathArray extends(function _extendableBuiltin(cls){function ExtendableBuiltin(){var instance=Reflect.construct(cls,Array.from(arguments));return Object.setPrototypeOf(instance,Object.getPrototypeOf(this)),instance}return ExtendableBuiltin.prototype=Object.create(cls.prototype,{constructor:{value:cls,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(ExtendableBuiltin,cls):ExtendableBuiltin.__proto__=cls,ExtendableBuiltin}(Array)){clone(){return(new this.constructor).copy(this)}fromArray(array,offset=0){for(let i=0;i<this.ELEMENTS;++i)this[i]=array[i+offset];return this.check()}toArray(targetArray=[],offset=0){for(let i=0;i<this.ELEMENTS;++i)targetArray[offset+i]=this[i];return targetArray}from(arrayOrObject){return Array.isArray(arrayOrObject)?this.copy(arrayOrObject):this.fromObject(arrayOrObject)}to(arrayOrObject){return arrayOrObject===this?this:(0,_lib_common__WEBPACK_IMPORTED_MODULE_0__.c7)(arrayOrObject)?this.toArray(arrayOrObject):this.toObject(arrayOrObject)}toTarget(target){return target?this.to(target):this}toFloat32Array(){return new Float32Array(this)}toString(){return this.formatString(_lib_common__WEBPACK_IMPORTED_MODULE_0__.Ej)}formatString(opts){let string="";for(let i=0;i<this.ELEMENTS;++i)string+=(i>0?", ":"")+(0,_lib_common__WEBPACK_IMPORTED_MODULE_0__.Ir)(this[i],opts);return"".concat(opts.printTypes?this.constructor.name:"","[").concat(string,"]")}equals(array){if(!array||this.length!==array.length)return!1;for(let i=0;i<this.ELEMENTS;++i)if(!(0,_lib_common__WEBPACK_IMPORTED_MODULE_0__.yK)(this[i],array[i]))return!1;return!0}exactEquals(array){if(!array||this.length!==array.length)return!1;for(let i=0;i<this.ELEMENTS;++i)if(this[i]!==array[i])return!1;return!0}negate(){for(let i=0;i<this.ELEMENTS;++i)this[i]=-this[i];return this.check()}lerp(a,b,t){if(void 0===t)return this.lerp(this,a,b);for(let i=0;i<this.ELEMENTS;++i){const ai=a[i];this[i]=ai+t*(b[i]-ai)}return this.check()}min(vector){for(let i=0;i<this.ELEMENTS;++i)this[i]=Math.min(vector[i],this[i]);return this.check()}max(vector){for(let i=0;i<this.ELEMENTS;++i)this[i]=Math.max(vector[i],this[i]);return this.check()}clamp(minVector,maxVector){for(let i=0;i<this.ELEMENTS;++i)this[i]=Math.min(Math.max(this[i],minVector[i]),maxVector[i]);return this.check()}add(...vectors){for(const vector of vectors)for(let i=0;i<this.ELEMENTS;++i)this[i]+=vector[i];return this.check()}subtract(...vectors){for(const vector of vectors)for(let i=0;i<this.ELEMENTS;++i)this[i]-=vector[i];return this.check()}scale(scale){if("number"==typeof scale)for(let i=0;i<this.ELEMENTS;++i)this[i]*=scale;else for(let i=0;i<this.ELEMENTS&&i<scale.length;++i)this[i]*=scale[i];return this.check()}multiplyByScalar(scalar){for(let i=0;i<this.ELEMENTS;++i)this[i]*=scalar;return this.check()}check(){if(_lib_common__WEBPACK_IMPORTED_MODULE_0__.Ej.debug&&!this.validate())throw new Error("math.gl: ".concat(this.constructor.name," some fields set to invalid numbers'"));return this}validate(){let valid=this.length===this.ELEMENTS;for(let i=0;i<this.ELEMENTS;++i)valid=valid&&Number.isFinite(this[i]);return valid}sub(a){return this.subtract(a)}setScalar(a){for(let i=0;i<this.ELEMENTS;++i)this[i]=a;return this.check()}addScalar(a){for(let i=0;i<this.ELEMENTS;++i)this[i]+=a;return this.check()}subScalar(a){return this.addScalar(-a)}multiplyScalar(scalar){for(let i=0;i<this.ELEMENTS;++i)this[i]*=scalar;return this.check()}divideScalar(a){return this.multiplyByScalar(1/a)}clampScalar(min,max){for(let i=0;i<this.ELEMENTS;++i)this[i]=Math.min(Math.max(this[i],min),max);return this.check()}get elements(){return this}}},"./node_modules/@math.gl/core/dist/esm/classes/matrix4.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Matrix4});var math_array=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/base/math-array.js"),validators=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/validators.js"),common=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js");class Matrix extends math_array.c{toString(){let string="[";if(common.Ej.printRowMajor){string+="row-major:";for(let row=0;row<this.RANK;++row)for(let col=0;col<this.RANK;++col)string+=" ".concat(this[col*this.RANK+row])}else{string+="column-major:";for(let i=0;i<this.ELEMENTS;++i)string+=" ".concat(this[i])}return string+="]",string}getElementIndex(row,col){return col*this.RANK+row}getElement(row,col){return this[col*this.RANK+row]}setElement(row,col,value){return this[col*this.RANK+row]=(0,validators.AX)(value),this}getColumn(columnIndex,result=new Array(this.RANK).fill(-0)){const firstIndex=columnIndex*this.RANK;for(let i=0;i<this.RANK;++i)result[i]=this[firstIndex+i];return result}setColumn(columnIndex,columnVector){const firstIndex=columnIndex*this.RANK;for(let i=0;i<this.RANK;++i)this[firstIndex+i]=columnVector[i];return this}}var INDICES,gl_matrix_extras=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/gl-matrix-extras.js"),mat4=__webpack_require__("./node_modules/gl-matrix/esm/mat4.js"),vec2=__webpack_require__("./node_modules/gl-matrix/esm/vec2.js"),vec3=__webpack_require__("./node_modules/gl-matrix/esm/vec3.js"),vec4=__webpack_require__("./node_modules/gl-matrix/esm/vec4.js");!function(INDICES){INDICES[INDICES.COL0ROW0=0]="COL0ROW0",INDICES[INDICES.COL0ROW1=1]="COL0ROW1",INDICES[INDICES.COL0ROW2=2]="COL0ROW2",INDICES[INDICES.COL0ROW3=3]="COL0ROW3",INDICES[INDICES.COL1ROW0=4]="COL1ROW0",INDICES[INDICES.COL1ROW1=5]="COL1ROW1",INDICES[INDICES.COL1ROW2=6]="COL1ROW2",INDICES[INDICES.COL1ROW3=7]="COL1ROW3",INDICES[INDICES.COL2ROW0=8]="COL2ROW0",INDICES[INDICES.COL2ROW1=9]="COL2ROW1",INDICES[INDICES.COL2ROW2=10]="COL2ROW2",INDICES[INDICES.COL2ROW3=11]="COL2ROW3",INDICES[INDICES.COL3ROW0=12]="COL3ROW0",INDICES[INDICES.COL3ROW1=13]="COL3ROW1",INDICES[INDICES.COL3ROW2=14]="COL3ROW2",INDICES[INDICES.COL3ROW3=15]="COL3ROW3"}(INDICES||(INDICES={}));const DEFAULT_FOVY=45*Math.PI/180,DEFAULT_ASPECT=1,DEFAULT_NEAR=.1,DEFAULT_FAR=500,IDENTITY_MATRIX=Object.freeze([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);class Matrix4 extends Matrix{static get IDENTITY(){return function getIdentityMatrix(){IDENTITY||(IDENTITY=new Matrix4,Object.freeze(IDENTITY));return IDENTITY}()}static get ZERO(){return function getZeroMatrix(){ZERO||(ZERO=new Matrix4([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Object.freeze(ZERO));return ZERO}()}get ELEMENTS(){return 16}get RANK(){return 4}get INDICES(){return INDICES}constructor(array){super(-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0),1===arguments.length&&Array.isArray(array)?this.copy(array):this.identity()}copy(array){return this[0]=array[0],this[1]=array[1],this[2]=array[2],this[3]=array[3],this[4]=array[4],this[5]=array[5],this[6]=array[6],this[7]=array[7],this[8]=array[8],this[9]=array[9],this[10]=array[10],this[11]=array[11],this[12]=array[12],this[13]=array[13],this[14]=array[14],this[15]=array[15],this.check()}set(m00,m10,m20,m30,m01,m11,m21,m31,m02,m12,m22,m32,m03,m13,m23,m33){return this[0]=m00,this[1]=m10,this[2]=m20,this[3]=m30,this[4]=m01,this[5]=m11,this[6]=m21,this[7]=m31,this[8]=m02,this[9]=m12,this[10]=m22,this[11]=m32,this[12]=m03,this[13]=m13,this[14]=m23,this[15]=m33,this.check()}setRowMajor(m00,m01,m02,m03,m10,m11,m12,m13,m20,m21,m22,m23,m30,m31,m32,m33){return this[0]=m00,this[1]=m10,this[2]=m20,this[3]=m30,this[4]=m01,this[5]=m11,this[6]=m21,this[7]=m31,this[8]=m02,this[9]=m12,this[10]=m22,this[11]=m32,this[12]=m03,this[13]=m13,this[14]=m23,this[15]=m33,this.check()}toRowMajor(result){return result[0]=this[0],result[1]=this[4],result[2]=this[8],result[3]=this[12],result[4]=this[1],result[5]=this[5],result[6]=this[9],result[7]=this[13],result[8]=this[2],result[9]=this[6],result[10]=this[10],result[11]=this[14],result[12]=this[3],result[13]=this[7],result[14]=this[11],result[15]=this[15],result}identity(){return this.copy(IDENTITY_MATRIX)}fromObject(object){return this.check()}fromQuaternion(quaternion){return mat4.KU(this,quaternion),this.check()}frustum(view){const{left,right,bottom,top,near=DEFAULT_NEAR,far=DEFAULT_FAR}=view;return far===1/0?function computeInfinitePerspectiveOffCenter(result,left,right,bottom,top,near){const column0Row0=2*near/(right-left),column1Row1=2*near/(top-bottom),column2Row0=(right+left)/(right-left),column2Row1=(top+bottom)/(top-bottom),column2Row2=-1,column2Row3=-1,column3Row2=-2*near;return result[0]=column0Row0,result[1]=0,result[2]=0,result[3]=0,result[4]=0,result[5]=column1Row1,result[6]=0,result[7]=0,result[8]=column2Row0,result[9]=column2Row1,result[10]=column2Row2,result[11]=column2Row3,result[12]=0,result[13]=0,result[14]=column3Row2,result[15]=0,result}(this,left,right,bottom,top,near):mat4.GE(this,left,right,bottom,top,near,far),this.check()}lookAt(view){const{eye,center=[0,0,0],up=[0,1,0]}=view;return mat4.OK(this,eye,center,up),this.check()}ortho(view){const{left,right,bottom,top,near=DEFAULT_NEAR,far=DEFAULT_FAR}=view;return mat4.ob(this,left,right,bottom,top,near,far),this.check()}orthographic(view){const{fovy=DEFAULT_FOVY,aspect=DEFAULT_ASPECT,focalDistance=1,near=DEFAULT_NEAR,far=DEFAULT_FAR}=view;checkRadians(fovy);const halfY=fovy/2,top=focalDistance*Math.tan(halfY),right=top*aspect;return this.ortho({left:-right,right,bottom:-top,top,near,far})}perspective(view){const{fovy=45*Math.PI/180,aspect=1,near=.1,far=500}=view;return checkRadians(fovy),mat4.Wk(this,fovy,aspect,near,far),this.check()}determinant(){return mat4.Ou(this)}getScale(result=[-0,-0,-0]){return result[0]=Math.sqrt(this[0]*this[0]+this[1]*this[1]+this[2]*this[2]),result[1]=Math.sqrt(this[4]*this[4]+this[5]*this[5]+this[6]*this[6]),result[2]=Math.sqrt(this[8]*this[8]+this[9]*this[9]+this[10]*this[10]),result}getTranslation(result=[-0,-0,-0]){return result[0]=this[12],result[1]=this[13],result[2]=this[14],result}getRotation(result,scaleResult){result=result||[-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0],scaleResult=scaleResult||[-0,-0,-0];const scale=this.getScale(scaleResult),inverseScale0=1/scale[0],inverseScale1=1/scale[1],inverseScale2=1/scale[2];return result[0]=this[0]*inverseScale0,result[1]=this[1]*inverseScale1,result[2]=this[2]*inverseScale2,result[3]=0,result[4]=this[4]*inverseScale0,result[5]=this[5]*inverseScale1,result[6]=this[6]*inverseScale2,result[7]=0,result[8]=this[8]*inverseScale0,result[9]=this[9]*inverseScale1,result[10]=this[10]*inverseScale2,result[11]=0,result[12]=0,result[13]=0,result[14]=0,result[15]=1,result}getRotationMatrix3(result,scaleResult){result=result||[-0,-0,-0,-0,-0,-0,-0,-0,-0],scaleResult=scaleResult||[-0,-0,-0];const scale=this.getScale(scaleResult),inverseScale0=1/scale[0],inverseScale1=1/scale[1],inverseScale2=1/scale[2];return result[0]=this[0]*inverseScale0,result[1]=this[1]*inverseScale1,result[2]=this[2]*inverseScale2,result[3]=this[4]*inverseScale0,result[4]=this[5]*inverseScale1,result[5]=this[6]*inverseScale2,result[6]=this[8]*inverseScale0,result[7]=this[9]*inverseScale1,result[8]=this[10]*inverseScale2,result}transpose(){return mat4.oL(this,this),this.check()}invert(){return mat4.S_(this,this),this.check()}multiplyLeft(a){return mat4.iW(this,a,this),this.check()}multiplyRight(a){return mat4.iW(this,this,a),this.check()}rotateX(radians){return mat4.gB(this,this,radians),this.check()}rotateY(radians){return mat4._Y(this,this,radians),this.check()}rotateZ(radians){return mat4.Sk(this,this,radians),this.check()}rotateXYZ(angleXYZ){return this.rotateX(angleXYZ[0]).rotateY(angleXYZ[1]).rotateZ(angleXYZ[2])}rotateAxis(radians,axis){return mat4.c9(this,this,radians,axis),this.check()}scale(factor){return mat4.aU(this,this,Array.isArray(factor)?factor:[factor,factor,factor]),this.check()}translate(vector){return mat4.GS(this,this,vector),this.check()}transform(vector,result){return 4===vector.length?(result=vec4.KE(result||[-0,-0,-0,-0],vector,this),(0,validators.Qd)(result,4),result):this.transformAsPoint(vector,result)}transformAsPoint(vector,result){const{length}=vector;let out;switch(length){case 2:out=vec2.KE(result||[-0,-0],vector,this);break;case 3:out=vec3.KE(result||[-0,-0,-0],vector,this);break;default:throw new Error("Illegal vector")}return(0,validators.Qd)(out,vector.length),out}transformAsVector(vector,result){let out;switch(vector.length){case 2:out=(0,gl_matrix_extras.E$)(result||[-0,-0],vector,this);break;case 3:out=(0,gl_matrix_extras.eU)(result||[-0,-0,-0],vector,this);break;default:throw new Error("Illegal vector")}return(0,validators.Qd)(out,vector.length),out}transformPoint(vector,result){return this.transformAsPoint(vector,result)}transformVector(vector,result){return this.transformAsPoint(vector,result)}transformDirection(vector,result){return this.transformAsVector(vector,result)}makeRotationX(radians){return this.identity().rotateX(radians)}makeTranslation(x,y,z){return this.identity().translate([x,y,z])}}let ZERO,IDENTITY;function checkRadians(possiblyDegrees){if(possiblyDegrees>2*Math.PI)throw Error("expected radians")}},"./node_modules/@math.gl/core/dist/esm/classes/vector3.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>Vector3});var math_array=__webpack_require__("./node_modules/@math.gl/core/dist/esm/classes/base/math-array.js"),validators=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/validators.js");function assert(condition,message){if(!condition)throw new Error("math.gl assertion ".concat(message))}class Vector extends math_array.c{get x(){return this[0]}set x(value){this[0]=(0,validators.AX)(value)}get y(){return this[1]}set y(value){this[1]=(0,validators.AX)(value)}len(){return Math.sqrt(this.lengthSquared())}magnitude(){return this.len()}lengthSquared(){let length=0;for(let i=0;i<this.ELEMENTS;++i)length+=this[i]*this[i];return length}magnitudeSquared(){return this.lengthSquared()}distance(mathArray){return Math.sqrt(this.distanceSquared(mathArray))}distanceSquared(mathArray){let length=0;for(let i=0;i<this.ELEMENTS;++i){const dist=this[i]-mathArray[i];length+=dist*dist}return(0,validators.AX)(length)}dot(mathArray){let product=0;for(let i=0;i<this.ELEMENTS;++i)product+=this[i]*mathArray[i];return(0,validators.AX)(product)}normalize(){const length=this.magnitude();if(0!==length)for(let i=0;i<this.ELEMENTS;++i)this[i]/=length;return this.check()}multiply(...vectors){for(const vector of vectors)for(let i=0;i<this.ELEMENTS;++i)this[i]*=vector[i];return this.check()}divide(...vectors){for(const vector of vectors)for(let i=0;i<this.ELEMENTS;++i)this[i]/=vector[i];return this.check()}lengthSq(){return this.lengthSquared()}distanceTo(vector){return this.distance(vector)}distanceToSquared(vector){return this.distanceSquared(vector)}getComponent(i){return assert(i>=0&&i<this.ELEMENTS,"index is out of range"),(0,validators.AX)(this[i])}setComponent(i,value){return assert(i>=0&&i<this.ELEMENTS,"index is out of range"),this[i]=value,this.check()}addVectors(a,b){return this.copy(a).add(b)}subVectors(a,b){return this.copy(a).subtract(b)}multiplyVectors(a,b){return this.copy(a).multiply(b)}addScaledVector(a,b){return this.add(new this.constructor(a).multiplyScalar(b))}}var common=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js"),vec3=__webpack_require__("./node_modules/gl-matrix/esm/vec3.js"),gl_matrix_extras=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/gl-matrix-extras.js");const ORIGIN=[0,0,0];let ZERO;class Vector3 extends Vector{static get ZERO(){return ZERO||(ZERO=new Vector3(0,0,0),Object.freeze(ZERO)),ZERO}constructor(x=0,y=0,z=0){super(-0,-0,-0),1===arguments.length&&(0,common.c7)(x)?this.copy(x):(common.Ej.debug&&((0,validators.AX)(x),(0,validators.AX)(y),(0,validators.AX)(z)),this[0]=x,this[1]=y,this[2]=z)}set(x,y,z){return this[0]=x,this[1]=y,this[2]=z,this.check()}copy(array){return this[0]=array[0],this[1]=array[1],this[2]=array[2],this.check()}fromObject(object){return common.Ej.debug&&((0,validators.AX)(object.x),(0,validators.AX)(object.y),(0,validators.AX)(object.z)),this[0]=object.x,this[1]=object.y,this[2]=object.z,this.check()}toObject(object){return object.x=this[0],object.y=this[1],object.z=this[2],object}get ELEMENTS(){return 3}get z(){return this[2]}set z(value){this[2]=(0,validators.AX)(value)}angle(vector){return vec3.i4(this,vector)}cross(vector){return vec3.ug(this,this,vector),this.check()}rotateX({radians,origin=ORIGIN}){return vec3.gB(this,this,origin,radians),this.check()}rotateY({radians,origin=ORIGIN}){return vec3._Y(this,this,origin,radians),this.check()}rotateZ({radians,origin=ORIGIN}){return vec3.Sk(this,this,origin,radians),this.check()}transform(matrix4){return this.transformAsPoint(matrix4)}transformAsPoint(matrix4){return vec3.KE(this,this,matrix4),this.check()}transformAsVector(matrix4){return(0,gl_matrix_extras.eU)(this,this,matrix4),this.check()}transformByMatrix3(matrix3){return vec3.W_(this,this,matrix3),this.check()}transformByMatrix2(matrix2){return(0,gl_matrix_extras.op)(this,this,matrix2),this.check()}transformByQuaternion(quaternion){return vec3.If(this,this,quaternion),this.check()}}},"./node_modules/@math.gl/core/dist/esm/lib/common.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Cq:()=>lerp,Ej:()=>config,Ir:()=>formatValue,c7:()=>isArray,qk:()=>clamp,yK:()=>equals});Math.PI,Math.PI;const config={EPSILON:1e-12,debug:!1,precision:4,printTypes:!1,printDegrees:!1,printRowMajor:!0};function formatValue(value,{precision=config.precision}={}){return value=function round(value){return Math.round(value/config.EPSILON)*config.EPSILON}(value),"".concat(parseFloat(value.toPrecision(precision)))}function isArray(value){return Array.isArray(value)||ArrayBuffer.isView(value)&&!(value instanceof DataView)}function clamp(value,min,max){return map(value,(value=>Math.max(min,Math.min(max,value))))}function lerp(a,b,t){return isArray(a)?a.map(((ai,i)=>lerp(ai,b[i],t))):t*b+(1-t)*a}function equals(a,b,epsilon){const oldEpsilon=config.EPSILON;epsilon&&(config.EPSILON=epsilon);try{if(a===b)return!0;if(isArray(a)&&isArray(b)){if(a.length!==b.length)return!1;for(let i=0;i<a.length;++i)if(!equals(a[i],b[i]))return!1;return!0}return a&&a.equals?a.equals(b):b&&b.equals?b.equals(a):"number"==typeof a&&"number"==typeof b&&Math.abs(a-b)<=config.EPSILON*Math.max(1,Math.abs(a),Math.abs(b))}finally{config.EPSILON=oldEpsilon}}function map(value,func,result){if(isArray(value)){const array=value;result=result||function duplicateArray(array){return array.clone?array.clone():new Array(array.length)}(array);for(let i=0;i<result.length&&i<array.length;++i)result[i]=func(value[i],i,result);return result}return func(value)}},"./node_modules/@math.gl/core/dist/esm/lib/gl-matrix-extras.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function vec2_transformMat4AsVector(out,a,m){const x=a[0],y=a[1],w=m[3]*x+m[7]*y||1;return out[0]=(m[0]*x+m[4]*y)/w,out[1]=(m[1]*x+m[5]*y)/w,out}function vec3_transformMat4AsVector(out,a,m){const x=a[0],y=a[1],z=a[2],w=m[3]*x+m[7]*y+m[11]*z||1;return out[0]=(m[0]*x+m[4]*y+m[8]*z)/w,out[1]=(m[1]*x+m[5]*y+m[9]*z)/w,out[2]=(m[2]*x+m[6]*y+m[10]*z)/w,out}function vec3_transformMat2(out,a,m){const x=a[0],y=a[1];return out[0]=m[0]*x+m[2]*y,out[1]=m[1]*x+m[3]*y,out[2]=a[2],out}__webpack_require__.d(__webpack_exports__,{E$:()=>vec2_transformMat4AsVector,eU:()=>vec3_transformMat4AsVector,op:()=>vec3_transformMat2})},"./node_modules/@math.gl/core/dist/esm/lib/validators.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{AX:()=>checkNumber,Qd:()=>checkVector});var _common__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@math.gl/core/dist/esm/lib/common.js");function checkNumber(value){if(!Number.isFinite(value))throw new Error("Invalid number ".concat(value));return value}function checkVector(v,length,callerName=""){if(_common__WEBPACK_IMPORTED_MODULE_0__.Ej.debug&&!function validateVector(v,length){if(v.length!==length)return!1;for(let i=0;i<v.length;++i)if(!Number.isFinite(v[i]))return!1;return!0}(v,length))throw new Error("math.gl: ".concat(callerName," some fields set to invalid numbers'"));return v}},"./node_modules/@math.gl/web-mercator/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c7:()=>addMetersToLngLat,oX:()=>web_mercator_utils_altitudeToFovy,kz:()=>fit_bounds_fitBounds,wL:()=>web_mercator_utils_fovyToAltitude,KA:()=>get_bounds_getBounds,em:()=>web_mercator_utils_getDistanceScales,kj:()=>getMeterZoom,Og:()=>getProjectionParameters,C4:()=>web_mercator_utils_getViewMatrix,i4:()=>web_mercator_utils_lngLatToWorld,sF:()=>normalizeViewportProps,Yp:()=>web_mercator_utils_pixelsToWorld,sD:()=>web_mercator_utils_worldToLngLat,CO:()=>web_mercator_utils_worldToPixels});var vec4=__webpack_require__("./node_modules/gl-matrix/esm/vec4.js");function transformVector(matrix,vector){const result=(0,vec4.KE)([],vector,matrix);return(0,vec4.aU)(result,result,1/result[3]),result}function mod(value,divisor){const modulus=value%divisor;return modulus<0?divisor+modulus:modulus}function clamp(x,min,max){return x<min?min:x>max?max:x}const log2=Math.log2||function ieLog2(x){return Math.log(x)*Math.LOG2E};var esm_mat4=__webpack_require__("./node_modules/gl-matrix/esm/mat4.js"),esm_vec2=__webpack_require__("./node_modules/gl-matrix/esm/vec2.js"),esm_vec3=__webpack_require__("./node_modules/gl-matrix/esm/vec3.js");function assert(condition,message){if(!condition)throw new Error(message||"@math.gl/web-mercator: assertion failed.")}const PI=Math.PI,PI_4=PI/4,DEGREES_TO_RADIANS=PI/180,RADIANS_TO_DEGREES=180/PI,TILE_SIZE=512,EARTH_CIRCUMFERENCE=4003e4,MAX_LATITUDE=85.051129,web_mercator_utils_DEFAULT_ALTITUDE=1.5;function web_mercator_utils_lngLatToWorld(lngLat){const[lng,lat]=lngLat;assert(Number.isFinite(lng)),assert(Number.isFinite(lat)&&lat>=-90&&lat<=90,"invalid latitude");const phi2=lat*DEGREES_TO_RADIANS;return[TILE_SIZE*(lng*DEGREES_TO_RADIANS+PI)/(2*PI),TILE_SIZE*(PI+Math.log(Math.tan(PI_4+.5*phi2)))/(2*PI)]}function web_mercator_utils_worldToLngLat(xy){const[x,y]=xy,lambda2=x/TILE_SIZE*(2*PI)-PI,phi2=2*(Math.atan(Math.exp(y/TILE_SIZE*(2*PI)-PI))-PI_4);return[lambda2*RADIANS_TO_DEGREES,phi2*RADIANS_TO_DEGREES]}function getMeterZoom(options){const{latitude}=options;assert(Number.isFinite(latitude));const latCosine=Math.cos(latitude*DEGREES_TO_RADIANS);return function web_mercator_utils_scaleToZoom(scale){return log2(scale)}(EARTH_CIRCUMFERENCE*latCosine)-9}function web_mercator_utils_getDistanceScales(options){const{latitude,longitude,highPrecision=!1}=options;assert(Number.isFinite(latitude)&&Number.isFinite(longitude));const worldSize=TILE_SIZE,latCosine=Math.cos(latitude*DEGREES_TO_RADIANS),unitsPerDegreeX=worldSize/360,unitsPerDegreeY=unitsPerDegreeX/latCosine,altUnitsPerMeter=worldSize/EARTH_CIRCUMFERENCE/latCosine,result={unitsPerMeter:[altUnitsPerMeter,altUnitsPerMeter,altUnitsPerMeter],metersPerUnit:[1/altUnitsPerMeter,1/altUnitsPerMeter,1/altUnitsPerMeter],unitsPerDegree:[unitsPerDegreeX,unitsPerDegreeY,altUnitsPerMeter],degreesPerUnit:[1/unitsPerDegreeX,1/unitsPerDegreeY,1/altUnitsPerMeter]};if(highPrecision){const latCosine2=DEGREES_TO_RADIANS*Math.tan(latitude*DEGREES_TO_RADIANS)/latCosine,unitsPerDegreeY2=unitsPerDegreeX*latCosine2/2,altUnitsPerDegree2=worldSize/EARTH_CIRCUMFERENCE*latCosine2,altUnitsPerMeter2=altUnitsPerDegree2/unitsPerDegreeY*altUnitsPerMeter;result.unitsPerDegree2=[0,unitsPerDegreeY2,altUnitsPerDegree2],result.unitsPerMeter2=[altUnitsPerMeter2,0,altUnitsPerMeter2]}return result}function addMetersToLngLat(lngLatZ,xyz){const[longitude,latitude,z0]=lngLatZ,[x,y,z]=xyz,{unitsPerMeter,unitsPerMeter2}=web_mercator_utils_getDistanceScales({longitude,latitude,highPrecision:!0}),worldspace=web_mercator_utils_lngLatToWorld(lngLatZ);worldspace[0]+=x*(unitsPerMeter[0]+unitsPerMeter2[0]*y),worldspace[1]+=y*(unitsPerMeter[1]+unitsPerMeter2[1]*y);const newLngLat=web_mercator_utils_worldToLngLat(worldspace),newZ=(z0||0)+(z||0);return Number.isFinite(z0)||Number.isFinite(z)?[newLngLat[0],newLngLat[1],newZ]:newLngLat}function web_mercator_utils_getViewMatrix(options){const{height,pitch,bearing,altitude,scale,center}=options,vm=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];esm_mat4.GS(vm,vm,[0,0,-altitude]),esm_mat4.gB(vm,vm,-pitch*DEGREES_TO_RADIANS),esm_mat4.Sk(vm,vm,bearing*DEGREES_TO_RADIANS);const relativeScale=scale/height;return esm_mat4.aU(vm,vm,[relativeScale,relativeScale,relativeScale]),center&&esm_mat4.GS(vm,vm,esm_vec3.s7([],center)),vm}function getProjectionParameters(options){const{width,height,altitude,pitch=0,offset,center,scale,nearZMultiplier=1,farZMultiplier=1}=options;let{fovy=web_mercator_utils_altitudeToFovy(web_mercator_utils_DEFAULT_ALTITUDE)}=options;void 0!==altitude&&(fovy=web_mercator_utils_altitudeToFovy(altitude));const fovRadians=fovy*DEGREES_TO_RADIANS,pitchRadians=pitch*DEGREES_TO_RADIANS,focalDistance=web_mercator_utils_fovyToAltitude(fovy);let cameraToSeaLevelDistance=focalDistance;center&&(cameraToSeaLevelDistance+=center[2]*scale/Math.cos(pitchRadians)/height);const fovAboveCenter=fovRadians*(.5+(offset?offset[1]:0)/height),topHalfSurfaceDistance=Math.sin(fovAboveCenter)*cameraToSeaLevelDistance/Math.sin(clamp(Math.PI/2-pitchRadians-fovAboveCenter,.01,Math.PI-.01)),furthestDistance=Math.sin(pitchRadians)*topHalfSurfaceDistance+cameraToSeaLevelDistance,horizonDistance=10*cameraToSeaLevelDistance;return{fov:fovRadians,aspect:width/height,focalDistance,near:nearZMultiplier,far:Math.min(furthestDistance*farZMultiplier,horizonDistance)}}function web_mercator_utils_altitudeToFovy(altitude){return 2*Math.atan(.5/altitude)*RADIANS_TO_DEGREES}function web_mercator_utils_fovyToAltitude(fovy){return.5/Math.tan(.5*fovy*DEGREES_TO_RADIANS)}function web_mercator_utils_worldToPixels(xyz,pixelProjectionMatrix){const[x,y,z=0]=xyz;return assert(Number.isFinite(x)&&Number.isFinite(y)&&Number.isFinite(z)),transformVector(pixelProjectionMatrix,[x,y,z,1])}function web_mercator_utils_pixelsToWorld(xyz,pixelUnprojectionMatrix,targetZ=0){const[x,y,z]=xyz;if(assert(Number.isFinite(x)&&Number.isFinite(y),"invalid pixel coordinate"),Number.isFinite(z)){return transformVector(pixelUnprojectionMatrix,[x,y,z,1])}const coord0=transformVector(pixelUnprojectionMatrix,[x,y,0,1]),coord1=transformVector(pixelUnprojectionMatrix,[x,y,1,1]),z0=coord0[2],z1=coord1[2],t=z0===z1?0:((targetZ||0)-z0)/(z1-z0);return esm_vec2.Cq([],coord0,coord1,t)}function fit_bounds_fitBounds(options){const{width,height,bounds,minExtent=0,maxZoom=24,offset=[0,0]}=options,[[west,south],[east,north]]=bounds,padding=function getPaddingObject(padding=0){if("number"==typeof padding)return{top:padding,bottom:padding,left:padding,right:padding};return assert(Number.isFinite(padding.top)&&Number.isFinite(padding.bottom)&&Number.isFinite(padding.left)&&Number.isFinite(padding.right)),padding}(options.padding),nw=web_mercator_utils_lngLatToWorld([west,clamp(north,-MAX_LATITUDE,MAX_LATITUDE)]),se=web_mercator_utils_lngLatToWorld([east,clamp(south,-MAX_LATITUDE,MAX_LATITUDE)]),size=[Math.max(Math.abs(se[0]-nw[0]),minExtent),Math.max(Math.abs(se[1]-nw[1]),minExtent)],targetSize=[width-padding.left-padding.right-2*Math.abs(offset[0]),height-padding.top-padding.bottom-2*Math.abs(offset[1])];assert(targetSize[0]>0&&targetSize[1]>0);const scaleX=targetSize[0]/size[0],scaleY=targetSize[1]/size[1],offsetX=(padding.right-padding.left)/2/scaleX,offsetY=(padding.top-padding.bottom)/2/scaleY,centerLngLat=web_mercator_utils_worldToLngLat([(se[0]+nw[0])/2+offsetX,(se[1]+nw[1])/2+offsetY]),zoom=Math.min(maxZoom,log2(Math.abs(Math.min(scaleX,scaleY))));return assert(Number.isFinite(zoom)),{longitude:centerLngLat[0],latitude:centerLngLat[1],zoom}}const get_bounds_DEGREES_TO_RADIANS=Math.PI/180;function get_bounds_getBounds(viewport,z=0){const{width,height,unproject}=viewport,unprojectOps={targetZ:z},bottomLeft=unproject([0,height],unprojectOps),bottomRight=unproject([width,height],unprojectOps);let topLeft,topRight;return(viewport.fovy?.5*viewport.fovy*get_bounds_DEGREES_TO_RADIANS:Math.atan(.5/viewport.altitude))>(90-viewport.pitch)*get_bounds_DEGREES_TO_RADIANS-.01?(topLeft=unprojectOnFarPlane(viewport,0,z),topRight=unprojectOnFarPlane(viewport,width,z)):(topLeft=unproject([0,0],unprojectOps),topRight=unproject([width,0],unprojectOps)),[bottomLeft,bottomRight,topRight,topLeft]}function unprojectOnFarPlane(viewport,x,targetZ){const{pixelUnprojectionMatrix}=viewport,coord0=transformVector(pixelUnprojectionMatrix,[x,0,1,1]),coord1=transformVector(pixelUnprojectionMatrix,[x,viewport.height,1,1]),t=(targetZ*viewport.distanceScales.unitsPerMeter[2]-coord0[2])/(coord1[2]-coord0[2]),result=web_mercator_utils_worldToLngLat(esm_vec2.Cq([],coord0,coord1,t));return result.push(targetZ),result}const normalize_viewport_props_TILE_SIZE=512;function normalizeViewportProps(props){const{width,height,pitch=0}=props;let{longitude,latitude,zoom,bearing=0}=props;(longitude<-180||longitude>180)&&(longitude=mod(longitude+180,360)-180),(bearing<-180||bearing>180)&&(bearing=mod(bearing+180,360)-180);const minZoom=log2(height/normalize_viewport_props_TILE_SIZE);if(zoom<=minZoom)zoom=minZoom,latitude=0;else{const halfHeightPixels=height/2/Math.pow(2,zoom),minLatitude=web_mercator_utils_worldToLngLat([0,halfHeightPixels])[1];if(latitude<minLatitude)latitude=minLatitude;else{const maxLatitude=web_mercator_utils_worldToLngLat([0,normalize_viewport_props_TILE_SIZE-halfHeightPixels])[1];latitude>maxLatitude&&(latitude=maxLatitude)}}return{width,height,longitude,latitude,zoom,pitch,bearing}}},"./node_modules/@probe.gl/env/dist/esm/lib/get-browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>getBrowser});var _is_browser__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/is-browser.js"),_is_electron__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/is-electron.js");const window=globalThis;function getBrowser(mockUserAgent){if(!mockUserAgent&&!(0,_is_browser__WEBPACK_IMPORTED_MODULE_0__.c)())return"Node";if((0,_is_electron__WEBPACK_IMPORTED_MODULE_1__.c)(mockUserAgent))return"Electron";const navigator_="undefined"!=typeof navigator?navigator:{},userAgent=mockUserAgent||navigator_.userAgent||"";if(userAgent.indexOf("Edge")>-1)return"Edge";const isMSIE=-1!==userAgent.indexOf("MSIE "),isTrident=-1!==userAgent.indexOf("Trident/");return isMSIE||isTrident?"IE":window.chrome?"Chrome":window.safari?"Safari":window.mozInnerScreenX?"Firefox":"Unknown"}},"./node_modules/@probe.gl/env/dist/esm/lib/is-browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>isBrowser});var _is_electron__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/is-electron.js"),process=__webpack_require__("./node_modules/process/browser.js");function isBrowser(){return!("object"==typeof process&&"[object process]"===String(process)&&!process.browser)||(0,_is_electron__WEBPACK_IMPORTED_MODULE_0__.c)()}},"./node_modules/@probe.gl/env/dist/esm/lib/is-electron.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>isElectron});var process=__webpack_require__("./node_modules/process/browser.js");function isElectron(mockUserAgent){if("undefined"!=typeof window&&"object"==typeof window.process&&"renderer"===window.process.type)return!0;if(void 0!==process&&"object"==typeof process.versions&&Boolean(process.versions.electron))return!0;const realUserAgent="object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent,userAgent=mockUserAgent||realUserAgent;return!!(userAgent&&userAgent.indexOf("Electron")>=0)}},"./node_modules/@probe.gl/log/dist/esm/log.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>Log});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),is_browser=__webpack_require__("./node_modules/@probe.gl/env/dist/esm/lib/is-browser.js");const VERSION="undefined"!=typeof __VERSION__?__VERSION__:"untranspiled source";(0,is_browser.c)();class LocalStorage{constructor(id,defaultConfig){let type=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"sessionStorage";(0,defineProperty.c)(this,"storage",void 0),(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"config",void 0),this.storage=function getStorage(type){try{const storage=window[type],x="__storage_test__";return storage.setItem(x,x),storage.removeItem(x),storage}catch(e){return null}}(type),this.id=id,this.config=defaultConfig,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(configuration){if(Object.assign(this.config,configuration),this.storage){const serialized=JSON.stringify(this.config);this.storage.setItem(this.id,serialized)}}_loadConfiguration(){let configuration={};if(this.storage){const serializedConfiguration=this.storage.getItem(this.id);configuration=serializedConfiguration?JSON.parse(serializedConfiguration):{}}return Object.assign(this.config,configuration),this}}function formatImage(image,message,scale){let maxWidth=arguments.length>3&&void 0!==arguments[3]?arguments[3]:600;const imageUrl=image.src.replace(/\(/g,"%28").replace(/\)/g,"%29");image.width>maxWidth&&(scale=Math.min(scale,maxWidth/image.width));const width=image.width*scale,height=image.height*scale,style=["font-size:1px;","padding:".concat(Math.floor(height/2),"px ").concat(Math.floor(width/2),"px;"),"line-height:".concat(height,"px;"),"background:url(".concat(imageUrl,");"),"background-size:".concat(width,"px ").concat(height,"px;"),"color:transparent;"].join("");return["".concat(message," %c+"),style]}let COLOR;function getColor(color){return"string"==typeof color?COLOR[color.toUpperCase()]||COLOR.WHITE:color}function assert(condition,message){if(!condition)throw new Error(message||"Assertion failed")}!function(COLOR){COLOR[COLOR.BLACK=30]="BLACK",COLOR[COLOR.RED=31]="RED",COLOR[COLOR.GREEN=32]="GREEN",COLOR[COLOR.YELLOW=33]="YELLOW",COLOR[COLOR.BLUE=34]="BLUE",COLOR[COLOR.MAGENTA=35]="MAGENTA",COLOR[COLOR.CYAN=36]="CYAN",COLOR[COLOR.WHITE=37]="WHITE",COLOR[COLOR.BRIGHT_BLACK=90]="BRIGHT_BLACK",COLOR[COLOR.BRIGHT_RED=91]="BRIGHT_RED",COLOR[COLOR.BRIGHT_GREEN=92]="BRIGHT_GREEN",COLOR[COLOR.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",COLOR[COLOR.BRIGHT_BLUE=94]="BRIGHT_BLUE",COLOR[COLOR.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",COLOR[COLOR.BRIGHT_CYAN=96]="BRIGHT_CYAN",COLOR[COLOR.BRIGHT_WHITE=97]="BRIGHT_WHITE"}(COLOR||(COLOR={}));var process=__webpack_require__("./node_modules/process/browser.js");const globals={self:"undefined"!=typeof self&&self,window:"undefined"!=typeof window&&window,global:void 0!==__webpack_require__.g&&__webpack_require__.g,document:"undefined"!=typeof document&&document,process:"object"==typeof process&&process},window_=globals.window||globals.self||globals.global,process_=globals.process||{};function getHiResTimestamp(){let timestamp;var _window$performance,_window$performance$n;if(is_browser.c&&"performance"in window_)timestamp=null==window_||null===(_window$performance=window_.performance)||void 0===_window$performance||null===(_window$performance$n=_window$performance.now)||void 0===_window$performance$n?void 0:_window$performance$n.call(_window$performance);else if("hrtime"in process_){var _process$hrtime;const timeParts=null==process_||null===(_process$hrtime=process_.hrtime)||void 0===_process$hrtime?void 0:_process$hrtime.call(process_);timestamp=1e3*timeParts[0]+timeParts[1]/1e6}else timestamp=Date.now();return timestamp}const originalConsole={debug:is_browser.c&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},DEFAULT_SETTINGS={enabled:!0,level:0};function noop(){}const cache={},ONCE={once:!0};class Log{constructor(){let{id}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:""};(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"VERSION",VERSION),(0,defineProperty.c)(this,"_startTs",getHiResTimestamp()),(0,defineProperty.c)(this,"_deltaTs",getHiResTimestamp()),(0,defineProperty.c)(this,"_storage",void 0),(0,defineProperty.c)(this,"userData",{}),(0,defineProperty.c)(this,"LOG_THROTTLE_TIMEOUT",0),this.id=id,this.userData={},this._storage=new LocalStorage("__probe-".concat(this.id,"__"),DEFAULT_SETTINGS),this.timeStamp("".concat(this.id," started")),function autobind(obj){let predefined=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["constructor"];const proto=Object.getPrototypeOf(obj),propNames=Object.getOwnPropertyNames(proto);for(const key of propNames)"function"==typeof obj[key]&&(predefined.find((name=>key===name))||(obj[key]=obj[key].bind(obj)))}(this),Object.seal(this)}set level(newLevel){this.setLevel(newLevel)}get level(){return this.getLevel()}isEnabled(){return this._storage.config.enabled}getLevel(){return this._storage.config.level}getTotal(){return Number((getHiResTimestamp()-this._startTs).toPrecision(10))}getDelta(){return Number((getHiResTimestamp()-this._deltaTs).toPrecision(10))}set priority(newPriority){this.level=newPriority}get priority(){return this.level}getPriority(){return this.level}enable(){let enabled=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._storage.setConfiguration({enabled}),this}setLevel(level){return this._storage.setConfiguration({level}),this}get(setting){return this._storage.config[setting]}set(setting,value){this._storage.setConfiguration({[setting]:value})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(condition,message){assert(condition,message)}warn(message){return this._getLogFunction(0,message,originalConsole.warn,arguments,ONCE)}error(message){return this._getLogFunction(0,message,originalConsole.error,arguments)}deprecated(oldUsage,newUsage){return this.warn("`".concat(oldUsage,"` is deprecated and will be removed in a later version. Use `").concat(newUsage,"` instead"))}removed(oldUsage,newUsage){return this.error("`".concat(oldUsage,"` has been removed. Use `").concat(newUsage,"` instead"))}probe(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.log,arguments,{time:!0,once:!0})}log(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.debug,arguments)}info(logLevel,message){return this._getLogFunction(logLevel,message,console.info,arguments)}once(logLevel,message){for(var _len=arguments.length,args=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];return this._getLogFunction(logLevel,message,originalConsole.debug||originalConsole.info,arguments,ONCE)}table(logLevel,table,columns){return table?this._getLogFunction(logLevel,table,console.table||noop,columns&&[columns],{tag:getTableHeader(table)}):noop}image(_ref){let{logLevel,priority,image,message="",scale=1}=_ref;return this._shouldLog(logLevel||priority)?is_browser.c?function logImageInBrowser(_ref3){let{image,message="",scale=1}=_ref3;if("string"==typeof image){const img=new Image;return img.onload=()=>{const args=formatImage(img,message,scale);console.log(...args)},img.src=image,noop}const element=image.nodeName||"";if("img"===element.toLowerCase())return console.log(...formatImage(image,message,scale)),noop;if("canvas"===element.toLowerCase()){const img=new Image;return img.onload=()=>console.log(...formatImage(img,message,scale)),img.src=image.toDataURL(),noop}return noop}({image,message,scale}):function logImageInNode(_ref2){let{image,message="",scale=1}=_ref2;return console.warn("removed"),noop}({image,message,scale}):noop}time(logLevel,message){return this._getLogFunction(logLevel,message,console.time?console.time:console.info)}timeEnd(logLevel,message){return this._getLogFunction(logLevel,message,console.timeEnd?console.timeEnd:console.info)}timeStamp(logLevel,message){return this._getLogFunction(logLevel,message,console.timeStamp||noop)}group(logLevel,message){let opts=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{collapsed:!1};const options=normalizeArguments({logLevel,message,opts}),{collapsed}=opts;return options.method=(collapsed?console.groupCollapsed:console.group)||console.info,this._getLogFunction(options)}groupCollapsed(logLevel,message){let opts=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.group(logLevel,message,Object.assign({},opts,{collapsed:!0}))}groupEnd(logLevel){return this._getLogFunction(logLevel,"",console.groupEnd||noop)}withGroup(logLevel,message,func){this.group(logLevel,message)();try{func()}finally{this.groupEnd(logLevel)()}}trace(){console.trace&&console.trace()}_shouldLog(logLevel){return this.isEnabled()&&this.getLevel()>=normalizeLogLevel(logLevel)}_getLogFunction(logLevel,message,method,args,opts){if(this._shouldLog(logLevel)){opts=normalizeArguments({logLevel,message,args,opts}),assert(method=method||opts.method),opts.total=this.getTotal(),opts.delta=this.getDelta(),this._deltaTs=getHiResTimestamp();const tag=opts.tag||opts.message;if(opts.once){if(cache[tag])return noop;cache[tag]=getHiResTimestamp()}return message=function decorateMessage(id,message,opts){if("string"==typeof message){const time=opts.time?function leftPad(string){let length=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;const padLength=Math.max(length-string.length,0);return"".concat(" ".repeat(padLength)).concat(string)}(function formatTime(ms){let formatted;return formatted=ms<10?"".concat(ms.toFixed(2),"ms"):ms<100?"".concat(ms.toFixed(1),"ms"):ms<1e3?"".concat(ms.toFixed(0),"ms"):"".concat((ms/1e3).toFixed(2),"s"),formatted}(opts.total)):"";message=function addColor(string,color,background){return is_browser.c||"string"!=typeof string||(color&&(color=getColor(color),string="[".concat(color,"m").concat(string,"")),background&&(color=getColor(background),string="[".concat(background+10,"m").concat(string,""))),string}(message=opts.time?"".concat(id,": ").concat(time," ").concat(message):"".concat(id,": ").concat(message),opts.color,opts.background)}return message}(this.id,opts.message,opts),method.bind(console,message,...opts.args)}return noop}}function normalizeLogLevel(logLevel){if(!logLevel)return 0;let resolvedLevel;switch(typeof logLevel){case"number":resolvedLevel=logLevel;break;case"object":resolvedLevel=logLevel.logLevel||logLevel.priority||0;break;default:return 0}return assert(Number.isFinite(resolvedLevel)&&resolvedLevel>=0),resolvedLevel}function normalizeArguments(opts){const{logLevel,message}=opts;opts.logLevel=normalizeLogLevel(logLevel);const args=opts.args?Array.from(opts.args):[];for(;args.length&&args.shift()!==message;);switch(typeof logLevel){case"string":case"function":void 0!==message&&args.unshift(message),opts.message=logLevel;break;case"object":Object.assign(opts,logLevel)}"function"==typeof opts.message&&(opts.message=opts.message());const messageType=typeof opts.message;return assert("string"===messageType||"object"===messageType),Object.assign(opts,{args},opts.opts)}function getTableHeader(table){for(const key in table)for(const title in table[key])return title||"untitled";return"empty"}(0,defineProperty.c)(Log,"VERSION",VERSION)},"./node_modules/@probe.gl/stats/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{k7:()=>Stats});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),process=__webpack_require__("./node_modules/process/browser.js");function getHiResTimestamp(){let timestamp;if("undefined"!=typeof window&&window.performance)timestamp=window.performance.now();else if(void 0!==process&&process.hrtime){const timeParts=process.hrtime();timestamp=1e3*timeParts[0]+timeParts[1]/1e6}else timestamp=Date.now();return timestamp}class Stat{constructor(name,type){(0,defineProperty.c)(this,"name",void 0),(0,defineProperty.c)(this,"type",void 0),(0,defineProperty.c)(this,"sampleSize",1),(0,defineProperty.c)(this,"time",void 0),(0,defineProperty.c)(this,"count",void 0),(0,defineProperty.c)(this,"samples",void 0),(0,defineProperty.c)(this,"lastTiming",void 0),(0,defineProperty.c)(this,"lastSampleTime",void 0),(0,defineProperty.c)(this,"lastSampleCount",void 0),(0,defineProperty.c)(this,"_count",0),(0,defineProperty.c)(this,"_time",0),(0,defineProperty.c)(this,"_samples",0),(0,defineProperty.c)(this,"_startTime",0),(0,defineProperty.c)(this,"_timerPending",!1),this.name=name,this.type=type,this.reset()}setSampleSize(samples){return this.sampleSize=samples,this}incrementCount(){return this.addCount(1),this}decrementCount(){return this.subtractCount(1),this}addCount(value){return this._count+=value,this._samples++,this._checkSampling(),this}subtractCount(value){return this._count-=value,this._samples++,this._checkSampling(),this}addTime(time){return this._time+=time,this.lastTiming=time,this._samples++,this._checkSampling(),this}timeStart(){return this._startTime=getHiResTimestamp(),this._timerPending=!0,this}timeEnd(){return this._timerPending?(this.addTime(getHiResTimestamp()-this._startTime),this._timerPending=!1,this._checkSampling(),this):this}getSampleAverageCount(){return this.sampleSize>0?this.lastSampleCount/this.sampleSize:0}getSampleAverageTime(){return this.sampleSize>0?this.lastSampleTime/this.sampleSize:0}getSampleHz(){return this.lastSampleTime>0?this.sampleSize/(this.lastSampleTime/1e3):0}getAverageCount(){return this.samples>0?this.count/this.samples:0}getAverageTime(){return this.samples>0?this.time/this.samples:0}getHz(){return this.time>0?this.samples/(this.time/1e3):0}reset(){return this.time=0,this.count=0,this.samples=0,this.lastTiming=0,this.lastSampleTime=0,this.lastSampleCount=0,this._count=0,this._time=0,this._samples=0,this._startTime=0,this._timerPending=!1,this}_checkSampling(){this._samples===this.sampleSize&&(this.lastSampleTime=this._time,this.lastSampleCount=this._count,this.count+=this._count,this.time+=this._time,this.samples+=this._samples,this._time=0,this._count=0,this._samples=0)}}class Stats{constructor(options){(0,defineProperty.c)(this,"id",void 0),(0,defineProperty.c)(this,"stats",{}),this.id=options.id,this.stats={},this._initializeStats(options.stats),Object.seal(this)}get(name){let type=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"count";return this._getOrCreate({name,type})}get size(){return Object.keys(this.stats).length}reset(){for(const key in this.stats)this.stats[key].reset();return this}forEach(fn){for(const key in this.stats)fn(this.stats[key])}getTable(){const table={};return this.forEach((stat=>{table[stat.name]={time:stat.time||0,count:stat.count||0,average:stat.getAverageTime()||0,hz:stat.getHz()||0}})),table}_initializeStats(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((stat=>this._getOrCreate(stat)))}_getOrCreate(stat){if(!stat||!stat.name)return null;const{name,type}=stat;return this.stats[name]||(this.stats[name]=stat instanceof Stat?stat:new Stat(name,type)),this.stats[name]}}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].use[1]!./node_modules/mapbox-gl/dist/mapbox-gl.css":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{c:()=>__WEBPACK_DEFAULT_EXPORT__});var _css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__),_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/css-loader/dist/runtime/getUrl.js"),_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__),___CSS_LOADER_URL_IMPORT_0___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_1___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_2___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_3___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_4___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_5___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_6___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_7___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_8___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_9___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_10___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_11___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_12___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10.5 14l4-8 4 8h-8z%27/%3E%3Cpath id=%27south%27 d=%27M10.5 16l4 8 4-8h-8z%27 fill=%27%23ccc%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_13___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10.5 14l4-8 4 8h-8z%27/%3E%3Cpath id=%27south%27 d=%27M10.5 16l4 8 4-8h-8z%27 fill=%27%23999%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_14___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10.5 14l4-8 4 8h-8z%27/%3E%3Cpath id=%27south%27 d=%27M10.5 16l4 8 4-8h-8z%27 fill=%27%23ccc%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_15___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_16___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23aaa%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 fill=%27%23f00%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_17___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%2333b5e5%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_18___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23e58978%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_19___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%2333b5e5%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27 display=%27none%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_20___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23e54e33%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27 display=%27none%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_21___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_22___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23999%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 fill=%27%23f00%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_23___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_24___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23666%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 fill=%27%23f00%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_25___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 fill-rule=%27evenodd%27 viewBox=%270 0 88 23%27%3E%3Cdefs%3E%3Cpath id=%27logo%27 d=%27M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z%27/%3E%3Cpath id=%27text%27 d=%27M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z%27/%3E%3C/defs%3E%3Cmask id=%27clip%27%3E%3Crect x=%270%27 y=%270%27 width=%27100%25%27 height=%27100%25%27 fill=%27white%27/%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/mask%3E%3Cg id=%27outline%27 opacity=%270.3%27 stroke=%27%23000%27 stroke-width=%273%27%3E%3Ccircle mask=%27url%28%23clip%29%27 cx=%2711.5%27 cy=%2711.5%27 r=%279.25%27/%3E%3Cuse xlink:href=%27%23text%27 mask=%27url%28%23clip%29%27/%3E%3C/g%3E%3Cg id=%27fill%27 opacity=%270.9%27 fill=%27%23fff%27%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/g%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_26___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 fill-rule=%27evenodd%27 viewBox=%270 0 88 23%27%3E%3Cdefs%3E%3Cpath id=%27logo%27 d=%27M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z%27/%3E%3Cpath id=%27text%27 d=%27M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z%27/%3E%3C/defs%3E%3Cmask id=%27clip%27%3E%3Crect x=%270%27 y=%270%27 width=%27100%25%27 height=%27100%25%27 fill=%27white%27/%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/mask%3E%3Cg id=%27outline%27 opacity=%271%27 stroke=%27%23000%27 stroke-width=%273%27%3E%3Ccircle mask=%27url%28%23clip%29%27 cx=%2711.5%27 cy=%2711.5%27 r=%279.25%27/%3E%3Cuse xlink:href=%27%23text%27 mask=%27url%28%23clip%29%27/%3E%3C/g%3E%3Cg id=%27fill%27 opacity=%271%27 fill=%27%23fff%27%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/g%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_27___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 fill-rule=%27evenodd%27 viewBox=%270 0 88 23%27%3E%3Cdefs%3E%3Cpath id=%27logo%27 d=%27M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z%27/%3E%3Cpath id=%27text%27 d=%27M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z%27/%3E%3C/defs%3E%3Cmask id=%27clip%27%3E%3Crect x=%270%27 y=%270%27 width=%27100%25%27 height=%27100%25%27 fill=%27white%27/%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/mask%3E%3Cg id=%27outline%27 opacity=%271%27 stroke=%27%23fff%27 stroke-width=%273%27 fill=%27%23fff%27%3E%3Ccircle mask=%27url%28%23clip%29%27 cx=%2711.5%27 cy=%2711.5%27 r=%279.25%27/%3E%3Cuse xlink:href=%27%23text%27 mask=%27url%28%23clip%29%27/%3E%3C/g%3E%3Cg id=%27fill%27 opacity=%271%27 fill=%27%23000%27%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/g%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_28___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill-rule=%27evenodd%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_URL_IMPORT_29___=new URL(__webpack_require__("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill-rule=%27evenodd%27 fill=%27%23fff%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E"),__webpack_require__.b),___CSS_LOADER_EXPORT___=_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()(_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()),___CSS_LOADER_URL_REPLACEMENT_0___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___),___CSS_LOADER_URL_REPLACEMENT_1___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___),___CSS_LOADER_URL_REPLACEMENT_2___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___),___CSS_LOADER_URL_REPLACEMENT_3___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_3___),___CSS_LOADER_URL_REPLACEMENT_4___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_4___),___CSS_LOADER_URL_REPLACEMENT_5___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_5___),___CSS_LOADER_URL_REPLACEMENT_6___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_6___),___CSS_LOADER_URL_REPLACEMENT_7___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_7___),___CSS_LOADER_URL_REPLACEMENT_8___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_8___),___CSS_LOADER_URL_REPLACEMENT_9___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_9___),___CSS_LOADER_URL_REPLACEMENT_10___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_10___),___CSS_LOADER_URL_REPLACEMENT_11___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_11___),___CSS_LOADER_URL_REPLACEMENT_12___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_12___),___CSS_LOADER_URL_REPLACEMENT_13___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_13___),___CSS_LOADER_URL_REPLACEMENT_14___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_14___),___CSS_LOADER_URL_REPLACEMENT_15___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_15___),___CSS_LOADER_URL_REPLACEMENT_16___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_16___),___CSS_LOADER_URL_REPLACEMENT_17___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_17___),___CSS_LOADER_URL_REPLACEMENT_18___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_18___),___CSS_LOADER_URL_REPLACEMENT_19___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_19___),___CSS_LOADER_URL_REPLACEMENT_20___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_20___),___CSS_LOADER_URL_REPLACEMENT_21___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_21___),___CSS_LOADER_URL_REPLACEMENT_22___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_22___),___CSS_LOADER_URL_REPLACEMENT_23___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_23___),___CSS_LOADER_URL_REPLACEMENT_24___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_24___),___CSS_LOADER_URL_REPLACEMENT_25___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_25___),___CSS_LOADER_URL_REPLACEMENT_26___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_26___),___CSS_LOADER_URL_REPLACEMENT_27___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_27___),___CSS_LOADER_URL_REPLACEMENT_28___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_28___),___CSS_LOADER_URL_REPLACEMENT_29___=_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_29___);___CSS_LOADER_EXPORT___.push([module.id,`.mapboxgl-map{-webkit-tap-highlight-color:rgb(0 0 0/0);font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:rgb(0 0 0/5%)}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_0___})}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_1___})}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_2___})}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_3___})}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_4___})}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_5___})}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_6___})}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_7___})}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_8___})}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_9___})}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_10___})}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_11___})}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_12___})}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_13___})}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_14___})}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_15___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_16___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_17___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_18___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_19___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_20___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_21___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_22___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_17___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_18___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_19___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_20___})}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_23___})}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_24___})}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_25___});background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url(${___CSS_LOADER_URL_REPLACEMENT_26___})}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_27___})}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url(${___CSS_LOADER_URL_REPLACEMENT_28___});border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:rgb(0 0 0/5%)}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_29___})}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_28___})}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:rgb(0 0 0/5%)}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid transparent;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid transparent;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:rgba(0,0,0,.7);color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}`,"",{version:3,sources:["webpack://./node_modules/mapbox-gl/dist/mapbox-gl.css"],names:[],mappings:"AAAA,cAAc,wCAAwC,CAAC,wDAAwD,CAAC,eAAe,CAAC,iBAAiB,CAAC,iBAAiB,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,kCAAkC,WAAW,CAAC,UAAU,CAAC,iBAAiB,uBAAuB,CAAC,kGAAkG,WAAW,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,uEAAuE,cAAc,CAAC,gHAAgH,eAAe,CAAC,6HAA6H,wBAAwB,CAAC,uHAAuH,uBAAuB,CAAC,6KAA6K,iBAAiB,CAAC,wGAAwG,mBAAmB,CAAC,iBAAiB,CAAC,SAAS,CAAC,wBAAwB,MAAM,CAAC,KAAK,CAAC,yBAAyB,OAAO,CAAC,KAAK,CAAC,2BAA2B,QAAQ,CAAC,MAAM,CAAC,4BAA4B,QAAQ,CAAC,OAAO,CAAC,eAAe,UAAU,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,uCAAuC,UAAU,CAAC,oBAAoB,CAAC,wCAAwC,WAAW,CAAC,oBAAoB,CAAC,0CAA0C,UAAU,CAAC,oBAAoB,CAAC,2CAA2C,WAAW,CAAC,oBAAoB,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,CAAC,iCAAiC,mCAAmC,CAAC,kCAAkC,iCAAiC,+BAA+B,CAAC,CAAC,4BAA4B,4BAA4B,CAAC,QAAQ,CAAC,qBAAqB,CAAC,cAAc,CAAC,aAAa,CAAC,WAAW,CAAC,YAAY,CAAC,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,mCAAmC,yBAAyB,CAAC,0CAA0C,uBAAuB,CAAC,2BAA2B,CAAC,aAAa,CAAC,WAAW,CAAC,UAAU,CAAC,kCAAkC,oBAAoB,4BAA4B,CAAC,mCAAmC,+BAA+B,CAAC,CAAC,qEAAqE,8BAA8B,CAAC,+BAA+B,kBAAkB,CAAC,mDAAmD,WAAW,CAAC,wCAAwC,yBAAyB,CAAC,uCAAuC,yBAAyB,CAAC,uCAAuC,qBAAqB,CAAC,2CAA2C,8BAA8B,CAAC,gDAAgD,8BAA8B,CAAC,sDAAsD,eAAe,CAAC,iEAAiE,wDAAsP,CAAC,gEAAgE,wDAAwV,CAAC,kCAAkC,iEAAiE,wDAAsP,CAAC,gEAAgE,wDAAwV,CAAC,CAAC,0CAA0C,iEAAiE,wDAAsP,CAAC,gEAAgE,wDAAwV,CAAC,CAAC,mEAAmE,wDAAkb,CAAC,+DAA+D,wDAA2a,CAAC,kCAAkC,mEAAmE,wDAAkb,CAAC,+DAA+D,wDAAyb,CAAC,CAAC,0CAA0C,mEAAmE,yDAAkb,CAAC,+DAA+D,yDAAyb,CAAC,CAAC,gEAAgE,yDAAkP,CAAC,kCAAkC,gEAAgE,yDAAkP,CAAC,CAAC,0CAA0C,gEAAgE,yDAAkP,CAAC,CAAC,kEAAkE,yDAAge,CAAC,2EAA2E,yDAA+d,CAAC,iGAAiG,yDAAme,CAAC,uGAAuG,yDAAme,CAAC,qGAAqG,yDAAkf,CAAC,2GAA2G,yDAAkf,CAAC,kGAAkG,0CAA0C,CAAC,kCAAkC,kEAAkE,yDAAge,CAAC,2EAA2E,yDAA+d,CAAC,iGAAiG,yDAAme,CAAC,uGAAuG,yDAAme,CAAC,qGAAqG,yDAAkf,CAAC,2GAA2G,yDAAkf,CAAC,CAAC,0CAA0C,kEAAkE,yDAAge,CAAC,2EAA2E,yDAA+d,CAAC,CAAC,yBAAyB,GAAG,sBAAsB,CAAC,GAAG,uBAAuB,CAAC,CAAC,qBAAqB,yDAA+lG,CAAC,2BAA2B,CAAC,cAAc,CAAC,aAAa,CAAC,WAAW,CAAC,oBAAoB,CAAC,eAAe,CAAC,UAAU,CAAC,sCAAsC,UAAU,CAAC,kCAAkC,qBAAqB,4BAA4B,CAAC,yDAA2lG,CAAC,CAAC,0CAA0C,qBAAqB,yDAAymG,CAAC,CAAC,oCAAoC,mCAAmC,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAc,uCAAuC,qBAAqB,CAAC,kBAAkB,CAAC,WAAW,CAAC,eAAe,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,4CAA4C,wBAAwB,CAAC,kBAAkB,CAAC,2IAA2I,kBAAkB,CAAC,wBAAwB,CAAC,mEAAmE,YAAY,CAAC,6BAA6B,mCAAmC,CAAC,yDAA4Q,CAAC,QAAQ,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,cAAc,CAAC,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,6GAA6G,MAAM,CAAC,4IAA4I,aAAa,CAAC,yEAAyE,8BAA8B,CAAC,yEAAyE,QAAQ,CAAC,OAAO,CAAC,sEAAsE,OAAO,CAAC,KAAK,CAAC,qEAAqE,MAAM,CAAC,KAAK,CAAC,wEAAwE,QAAQ,CAAC,MAAM,CAAC,CAAC,6CAA6C,6CAA6C,yDAA0R,CAAC,CAAC,qDAAqD,6CAA6C,yDAA4Q,CAAC,CAAC,wBAAwB,qBAAqB,CAAC,oBAAoB,CAAC,8BAA8B,aAAa,CAAC,yBAAyB,CAAC,0CAA0C,eAAe,CAAC,eAAe,CAAC,uBAAuB,YAAY,CAAC,qBAAqB,oCAAoC,CAAC,qBAAqB,CAAC,eAAe,CAAC,qBAAqB,CAAC,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC,kBAAkB,CAAC,gBAAgB,YAAY,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,KAAK,CAAC,qBAAqB,CAAC,4FAA4F,qBAAqB,CAAC,qGAAqG,6BAA6B,CAAC,4BAA4B,kBAAkB,CAAC,6BAA6B,0BAA0B,CAAC,oBAAoB,6BAA6B,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,+CAA+C,iBAAiB,CAAC,wBAAwB,CAAC,eAAe,CAAC,oDAAoD,qBAAqB,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,eAAe,CAAC,qDAAqD,mBAAmB,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,eAAe,CAAC,kDAAkD,iBAAiB,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,uDAAuD,qBAAqB,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,wDAAwD,mBAAmB,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,gDAAgD,iBAAiB,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,iDAAiD,iBAAiB,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,6BAA6B,4BAA4B,CAAC,QAAQ,CAAC,uBAAuB,CAAC,cAAc,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,mCAAmC,8BAA8B,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,wDAAwD,wBAAwB,CAAC,yDAAyD,yBAAyB,CAAC,2DAA2D,2BAA2B,CAAC,4DAA4D,4BAA4B,CAAC,8BAA8B,YAAY,CAAC,gCAAgC,mBAAmB,CAAC,gBAAgB,CAAC,kDAAkD,YAAY,CAAC,mDAAmD,YAAY,CAAC,iBAAiB,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC,sBAAsB,CAAC,qBAAqB,CAAC,+DAA+D,wBAAwB,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,mCAAmC,sDAAsD,CAAC,UAAU,CAAC,iBAAiB,CAAC,kCAAkC,qBAAqB,CAAC,iBAAiB,CAAC,kCAAkC,CAAC,qBAAqB,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,iBAAiB,CAAC,QAAQ,CAAC,UAAU,CAAC,qEAAqE,QAAQ,CAAC,OAAO,CAAC,uJAAuJ,iCAAiC,CAAC,UAAU,CAAC,iBAAiB,CAAC,4EAA4E,mCAAmC,CAAC,yCAAyC,CAAC,2EAA2E,oCAAoC,CAAC,6CAA6C,CAAC,4CAA4C,GAAG,SAAS,CAAC,kBAAkB,CAAC,IAAI,SAAS,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,kBAAkB,CAAC,CAAC,kCAAkC,qBAAqB,CAAC,wCAAwC,YAAY,CAAC,wCAAwC,0BAA0B,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,+GAA+G,gBAAgB,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,CAAC,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,oBAAoB,YAAY,CAAC,CAAC,0DAA0D,kBAAkB,CAAC,yBAAyB,CAAC,UAAU,CAAC,YAAY,CAAC,gFAAgF,CAAC,WAAW,CAAC,sBAAsB,CAAC,MAAM,CAAC,SAAS,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC,mCAAmC,CAAC,mBAAmB,CAAC,UAAU,CAAC,oEAAoE,SAAS,CAAC,kCAAkC,CAAC,iMAAiM,wBAAwB",sourcesContent:[".mapboxgl-map{-webkit-tap-highlight-color:rgb(0 0 0/0);font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:rgb(0 0 0/5%)}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E\")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E\")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E\")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E\")}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E\")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:rgb(0 0 0/5%)}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:rgb(0 0 0/5%)}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:\"\";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:\"\";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:\"\";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid transparent;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid transparent;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:rgba(0,0,0,.7);color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/runtime/getUrl.js":module=>{"use strict";module.exports=function(url,options){return options||(options={}),url?(url=String(url.__esModule?url.default:url),/^['"].*['"]$/.test(url)&&(url=url.slice(1,-1)),options.hash&&(url+=options.hash),/["'() \t\n]|(%20)/.test(url)||options.needQuotes?'"'.concat(url.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):url):url}},"./node_modules/earcut/src/earcut.js":module=>{"use strict";function earcut(data,holeIndices,dim){dim=dim||2;var minX,minY,maxX,maxY,x,y,invSize,hasHoles=holeIndices&&holeIndices.length,outerLen=hasHoles?holeIndices[0]*dim:data.length,outerNode=linkedList(data,0,outerLen,dim,!0),triangles=[];if(!outerNode||outerNode.next===outerNode.prev)return triangles;if(hasHoles&&(outerNode=function eliminateHoles(data,holeIndices,outerNode,dim){var i,len,list,queue=[];for(i=0,len=holeIndices.length;i<len;i++)(list=linkedList(data,holeIndices[i]*dim,i<len-1?holeIndices[i+1]*dim:data.length,dim,!1))===list.next&&(list.steiner=!0),queue.push(getLeftmost(list));for(queue.sort(compareX),i=0;i<queue.length;i++)outerNode=eliminateHole(queue[i],outerNode);return outerNode}(data,holeIndices,outerNode,dim)),data.length>80*dim){minX=maxX=data[0],minY=maxY=data[1];for(var i=dim;i<outerLen;i+=dim)(x=data[i])<minX&&(minX=x),(y=data[i+1])<minY&&(minY=y),x>maxX&&(maxX=x),y>maxY&&(maxY=y);invSize=0!==(invSize=Math.max(maxX-minX,maxY-minY))?32767/invSize:0}return earcutLinked(outerNode,triangles,dim,minX,minY,invSize,0),triangles}function linkedList(data,start,end,dim,clockwise){var i,last;if(clockwise===signedArea(data,start,end,dim)>0)for(i=start;i<end;i+=dim)last=insertNode(i,data[i],data[i+1],last);else for(i=end-dim;i>=start;i-=dim)last=insertNode(i,data[i],data[i+1],last);return last&&equals(last,last.next)&&(removeNode(last),last=last.next),last}function filterPoints(start,end){if(!start)return start;end||(end=start);var again,p=start;do{if(again=!1,p.steiner||!equals(p,p.next)&&0!==area(p.prev,p,p.next))p=p.next;else{if(removeNode(p),(p=end=p.prev)===p.next)break;again=!0}}while(again||p!==end);return end}function earcutLinked(ear,triangles,dim,minX,minY,invSize,pass){if(ear){!pass&&invSize&&function indexCurve(start,minX,minY,invSize){var p=start;do{0===p.z&&(p.z=zOrder(p.x,p.y,minX,minY,invSize)),p.prevZ=p.prev,p.nextZ=p.next,p=p.next}while(p!==start);p.prevZ.nextZ=null,p.prevZ=null,function sortLinked(list){var i,p,q,e,tail,numMerges,pSize,qSize,inSize=1;do{for(p=list,list=null,tail=null,numMerges=0;p;){for(numMerges++,q=p,pSize=0,i=0;i<inSize&&(pSize++,q=q.nextZ);i++);for(qSize=inSize;pSize>0||qSize>0&&q;)0!==pSize&&(0===qSize||!q||p.z<=q.z)?(e=p,p=p.nextZ,pSize--):(e=q,q=q.nextZ,qSize--),tail?tail.nextZ=e:list=e,e.prevZ=tail,tail=e;p=q}tail.nextZ=null,inSize*=2}while(numMerges>1);return list}(p)}(ear,minX,minY,invSize);for(var prev,next,stop=ear;ear.prev!==ear.next;)if(prev=ear.prev,next=ear.next,invSize?isEarHashed(ear,minX,minY,invSize):isEar(ear))triangles.push(prev.i/dim|0),triangles.push(ear.i/dim|0),triangles.push(next.i/dim|0),removeNode(ear),ear=next.next,stop=next.next;else if((ear=next)===stop){pass?1===pass?earcutLinked(ear=cureLocalIntersections(filterPoints(ear),triangles,dim),triangles,dim,minX,minY,invSize,2):2===pass&&splitEarcut(ear,triangles,dim,minX,minY,invSize):earcutLinked(filterPoints(ear),triangles,dim,minX,minY,invSize,1);break}}}function isEar(ear){var a=ear.prev,b=ear,c=ear.next;if(area(a,b,c)>=0)return!1;for(var ax=a.x,bx=b.x,cx=c.x,ay=a.y,by=b.y,cy=c.y,x0=ax<bx?ax<cx?ax:cx:bx<cx?bx:cx,y0=ay<by?ay<cy?ay:cy:by<cy?by:cy,x1=ax>bx?ax>cx?ax:cx:bx>cx?bx:cx,y1=ay>by?ay>cy?ay:cy:by>cy?by:cy,p=c.next;p!==a;){if(p.x>=x0&&p.x<=x1&&p.y>=y0&&p.y<=y1&&pointInTriangle(ax,ay,bx,by,cx,cy,p.x,p.y)&&area(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}function isEarHashed(ear,minX,minY,invSize){var a=ear.prev,b=ear,c=ear.next;if(area(a,b,c)>=0)return!1;for(var ax=a.x,bx=b.x,cx=c.x,ay=a.y,by=b.y,cy=c.y,x0=ax<bx?ax<cx?ax:cx:bx<cx?bx:cx,y0=ay<by?ay<cy?ay:cy:by<cy?by:cy,x1=ax>bx?ax>cx?ax:cx:bx>cx?bx:cx,y1=ay>by?ay>cy?ay:cy:by>cy?by:cy,minZ=zOrder(x0,y0,minX,minY,invSize),maxZ=zOrder(x1,y1,minX,minY,invSize),p=ear.prevZ,n=ear.nextZ;p&&p.z>=minZ&&n&&n.z<=maxZ;){if(p.x>=x0&&p.x<=x1&&p.y>=y0&&p.y<=y1&&p!==a&&p!==c&&pointInTriangle(ax,ay,bx,by,cx,cy,p.x,p.y)&&area(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,n.x>=x0&&n.x<=x1&&n.y>=y0&&n.y<=y1&&n!==a&&n!==c&&pointInTriangle(ax,ay,bx,by,cx,cy,n.x,n.y)&&area(n.prev,n,n.next)>=0)return!1;n=n.nextZ}for(;p&&p.z>=minZ;){if(p.x>=x0&&p.x<=x1&&p.y>=y0&&p.y<=y1&&p!==a&&p!==c&&pointInTriangle(ax,ay,bx,by,cx,cy,p.x,p.y)&&area(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;n&&n.z<=maxZ;){if(n.x>=x0&&n.x<=x1&&n.y>=y0&&n.y<=y1&&n!==a&&n!==c&&pointInTriangle(ax,ay,bx,by,cx,cy,n.x,n.y)&&area(n.prev,n,n.next)>=0)return!1;n=n.nextZ}return!0}function cureLocalIntersections(start,triangles,dim){var p=start;do{var a=p.prev,b=p.next.next;!equals(a,b)&&intersects(a,p,p.next,b)&&locallyInside(a,b)&&locallyInside(b,a)&&(triangles.push(a.i/dim|0),triangles.push(p.i/dim|0),triangles.push(b.i/dim|0),removeNode(p),removeNode(p.next),p=start=b),p=p.next}while(p!==start);return filterPoints(p)}function splitEarcut(start,triangles,dim,minX,minY,invSize){var a=start;do{for(var b=a.next.next;b!==a.prev;){if(a.i!==b.i&&isValidDiagonal(a,b)){var c=splitPolygon(a,b);return a=filterPoints(a,a.next),c=filterPoints(c,c.next),earcutLinked(a,triangles,dim,minX,minY,invSize,0),void earcutLinked(c,triangles,dim,minX,minY,invSize,0)}b=b.next}a=a.next}while(a!==start)}function compareX(a,b){return a.x-b.x}function eliminateHole(hole,outerNode){var bridge=function findHoleBridge(hole,outerNode){var m,p=outerNode,hx=hole.x,hy=hole.y,qx=-1/0;do{if(hy<=p.y&&hy>=p.next.y&&p.next.y!==p.y){var x=p.x+(hy-p.y)*(p.next.x-p.x)/(p.next.y-p.y);if(x<=hx&&x>qx&&(qx=x,m=p.x<p.next.x?p:p.next,x===hx))return m}p=p.next}while(p!==outerNode);if(!m)return null;var tan,stop=m,mx=m.x,my=m.y,tanMin=1/0;p=m;do{hx>=p.x&&p.x>=mx&&hx!==p.x&&pointInTriangle(hy<my?hx:qx,hy,mx,my,hy<my?qx:hx,hy,p.x,p.y)&&(tan=Math.abs(hy-p.y)/(hx-p.x),locallyInside(p,hole)&&(tan<tanMin||tan===tanMin&&(p.x>m.x||p.x===m.x&&sectorContainsSector(m,p)))&&(m=p,tanMin=tan)),p=p.next}while(p!==stop);return m}(hole,outerNode);if(!bridge)return outerNode;var bridgeReverse=splitPolygon(bridge,hole);return filterPoints(bridgeReverse,bridgeReverse.next),filterPoints(bridge,bridge.next)}function sectorContainsSector(m,p){return area(m.prev,m,p.prev)<0&&area(p.next,m,m.next)<0}function zOrder(x,y,minX,minY,invSize){return(x=1431655765&((x=858993459&((x=252645135&((x=16711935&((x=(x-minX)*invSize|0)|x<<8))|x<<4))|x<<2))|x<<1))|(y=1431655765&((y=858993459&((y=252645135&((y=16711935&((y=(y-minY)*invSize|0)|y<<8))|y<<4))|y<<2))|y<<1))<<1}function getLeftmost(start){var p=start,leftmost=start;do{(p.x<leftmost.x||p.x===leftmost.x&&p.y<leftmost.y)&&(leftmost=p),p=p.next}while(p!==start);return leftmost}function pointInTriangle(ax,ay,bx,by,cx,cy,px,py){return(cx-px)*(ay-py)>=(ax-px)*(cy-py)&&(ax-px)*(by-py)>=(bx-px)*(ay-py)&&(bx-px)*(cy-py)>=(cx-px)*(by-py)}function isValidDiagonal(a,b){return a.next.i!==b.i&&a.prev.i!==b.i&&!function intersectsPolygon(a,b){var p=a;do{if(p.i!==a.i&&p.next.i!==a.i&&p.i!==b.i&&p.next.i!==b.i&&intersects(p,p.next,a,b))return!0;p=p.next}while(p!==a);return!1}(a,b)&&(locallyInside(a,b)&&locallyInside(b,a)&&function middleInside(a,b){var p=a,inside=!1,px=(a.x+b.x)/2,py=(a.y+b.y)/2;do{p.y>py!=p.next.y>py&&p.next.y!==p.y&&px<(p.next.x-p.x)*(py-p.y)/(p.next.y-p.y)+p.x&&(inside=!inside),p=p.next}while(p!==a);return inside}(a,b)&&(area(a.prev,a,b.prev)||area(a,b.prev,b))||equals(a,b)&&area(a.prev,a,a.next)>0&&area(b.prev,b,b.next)>0)}function area(p,q,r){return(q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y)}function equals(p1,p2){return p1.x===p2.x&&p1.y===p2.y}function intersects(p1,q1,p2,q2){var o1=sign(area(p1,q1,p2)),o2=sign(area(p1,q1,q2)),o3=sign(area(p2,q2,p1)),o4=sign(area(p2,q2,q1));return o1!==o2&&o3!==o4||(!(0!==o1||!onSegment(p1,p2,q1))||(!(0!==o2||!onSegment(p1,q2,q1))||(!(0!==o3||!onSegment(p2,p1,q2))||!(0!==o4||!onSegment(p2,q1,q2)))))}function onSegment(p,q,r){return q.x<=Math.max(p.x,r.x)&&q.x>=Math.min(p.x,r.x)&&q.y<=Math.max(p.y,r.y)&&q.y>=Math.min(p.y,r.y)}function sign(num){return num>0?1:num<0?-1:0}function locallyInside(a,b){return area(a.prev,a,a.next)<0?area(a,b,a.next)>=0&&area(a,a.prev,b)>=0:area(a,b,a.prev)<0||area(a,a.next,b)<0}function splitPolygon(a,b){var a2=new Node(a.i,a.x,a.y),b2=new Node(b.i,b.x,b.y),an=a.next,bp=b.prev;return a.next=b,b.prev=a,a2.next=an,an.prev=a2,b2.next=a2,a2.prev=b2,bp.next=b2,b2.prev=bp,b2}function insertNode(i,x,y,last){var p=new Node(i,x,y);return last?(p.next=last.next,p.prev=last,last.next.prev=p,last.next=p):(p.prev=p,p.next=p),p}function removeNode(p){p.next.prev=p.prev,p.prev.next=p.next,p.prevZ&&(p.prevZ.nextZ=p.nextZ),p.nextZ&&(p.nextZ.prevZ=p.prevZ)}function Node(i,x,y){this.i=i,this.x=x,this.y=y,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function signedArea(data,start,end,dim){for(var sum=0,i=start,j=end-dim;i<end;i+=dim)sum+=(data[j]-data[i])*(data[i+1]+data[j+1]),j=i;return sum}module.exports=earcut,module.exports.default=earcut,earcut.deviation=function(data,holeIndices,dim,triangles){var hasHoles=holeIndices&&holeIndices.length,outerLen=hasHoles?holeIndices[0]*dim:data.length,polygonArea=Math.abs(signedArea(data,0,outerLen,dim));if(hasHoles)for(var i=0,len=holeIndices.length;i<len;i++){var start=holeIndices[i]*dim,end=i<len-1?holeIndices[i+1]*dim:data.length;polygonArea-=Math.abs(signedArea(data,start,end,dim))}var trianglesArea=0;for(i=0;i<triangles.length;i+=3){var a=triangles[i]*dim,b=triangles[i+1]*dim,c=triangles[i+2]*dim;trianglesArea+=Math.abs((data[a]-data[c])*(data[b+1]-data[a+1])-(data[a]-data[b])*(data[c+1]-data[a+1]))}return 0===polygonArea&&0===trianglesArea?0:Math.abs((trianglesArea-polygonArea)/polygonArea)},earcut.flatten=function(data){for(var dim=data[0][0].length,result={vertices:[],holes:[],dimensions:dim},holeIndex=0,i=0;i<data.length;i++){for(var j=0;j<data[i].length;j++)for(var d=0;d<dim;d++)result.vertices.push(data[i][j][d]);i>0&&(holeIndex+=data[i-1].length,result.holes.push(holeIndex))}return result}},"./node_modules/gl-matrix/esm/common.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P8:()=>ARRAY_TYPE,iG:()=>EPSILON});var EPSILON=1e-6,ARRAY_TYPE="undefined"!=typeof Float32Array?Float32Array:Array;Math.random;Math.PI;Math.hypot||(Math.hypot=function(){for(var y=0,i=arguments.length;i--;)y+=arguments[i]*arguments[i];return Math.sqrt(y)})},"./node_modules/gl-matrix/esm/mat4.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{GE:()=>frustum,GS:()=>translate,KU:()=>fromQuat,OK:()=>lookAt,Ou:()=>determinant,S_:()=>invert,Sk:()=>rotateZ,Wk:()=>perspective,_Y:()=>rotateY,aU:()=>scale,c9:()=>rotate,gB:()=>rotateX,iW:()=>multiply,oL:()=>transpose,ob:()=>ortho});var _common_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/gl-matrix/esm/common.js");function transpose(out,a){if(out===a){var a01=a[1],a02=a[2],a03=a[3],a12=a[6],a13=a[7],a23=a[11];out[1]=a[4],out[2]=a[8],out[3]=a[12],out[4]=a01,out[6]=a[9],out[7]=a[13],out[8]=a02,out[9]=a12,out[11]=a[14],out[12]=a03,out[13]=a13,out[14]=a23}else out[0]=a[0],out[1]=a[4],out[2]=a[8],out[3]=a[12],out[4]=a[1],out[5]=a[5],out[6]=a[9],out[7]=a[13],out[8]=a[2],out[9]=a[6],out[10]=a[10],out[11]=a[14],out[12]=a[3],out[13]=a[7],out[14]=a[11],out[15]=a[15];return out}function invert(out,a){var a00=a[0],a01=a[1],a02=a[2],a03=a[3],a10=a[4],a11=a[5],a12=a[6],a13=a[7],a20=a[8],a21=a[9],a22=a[10],a23=a[11],a30=a[12],a31=a[13],a32=a[14],a33=a[15],b00=a00*a11-a01*a10,b01=a00*a12-a02*a10,b02=a00*a13-a03*a10,b03=a01*a12-a02*a11,b04=a01*a13-a03*a11,b05=a02*a13-a03*a12,b06=a20*a31-a21*a30,b07=a20*a32-a22*a30,b08=a20*a33-a23*a30,b09=a21*a32-a22*a31,b10=a21*a33-a23*a31,b11=a22*a33-a23*a32,det=b00*b11-b01*b10+b02*b09+b03*b08-b04*b07+b05*b06;return det?(det=1/det,out[0]=(a11*b11-a12*b10+a13*b09)*det,out[1]=(a02*b10-a01*b11-a03*b09)*det,out[2]=(a31*b05-a32*b04+a33*b03)*det,out[3]=(a22*b04-a21*b05-a23*b03)*det,out[4]=(a12*b08-a10*b11-a13*b07)*det,out[5]=(a00*b11-a02*b08+a03*b07)*det,out[6]=(a32*b02-a30*b05-a33*b01)*det,out[7]=(a20*b05-a22*b02+a23*b01)*det,out[8]=(a10*b10-a11*b08+a13*b06)*det,out[9]=(a01*b08-a00*b10-a03*b06)*det,out[10]=(a30*b04-a31*b02+a33*b00)*det,out[11]=(a21*b02-a20*b04-a23*b00)*det,out[12]=(a11*b07-a10*b09-a12*b06)*det,out[13]=(a00*b09-a01*b07+a02*b06)*det,out[14]=(a31*b01-a30*b03-a32*b00)*det,out[15]=(a20*b03-a21*b01+a22*b00)*det,out):null}function determinant(a){var a00=a[0],a01=a[1],a02=a[2],a03=a[3],a10=a[4],a11=a[5],a12=a[6],a13=a[7],a20=a[8],a21=a[9],a22=a[10],a23=a[11],a30=a[12],a31=a[13],a32=a[14],a33=a[15];return(a00*a11-a01*a10)*(a22*a33-a23*a32)-(a00*a12-a02*a10)*(a21*a33-a23*a31)+(a00*a13-a03*a10)*(a21*a32-a22*a31)+(a01*a12-a02*a11)*(a20*a33-a23*a30)-(a01*a13-a03*a11)*(a20*a32-a22*a30)+(a02*a13-a03*a12)*(a20*a31-a21*a30)}function multiply(out,a,b){var a00=a[0],a01=a[1],a02=a[2],a03=a[3],a10=a[4],a11=a[5],a12=a[6],a13=a[7],a20=a[8],a21=a[9],a22=a[10],a23=a[11],a30=a[12],a31=a[13],a32=a[14],a33=a[15],b0=b[0],b1=b[1],b2=b[2],b3=b[3];return out[0]=b0*a00+b1*a10+b2*a20+b3*a30,out[1]=b0*a01+b1*a11+b2*a21+b3*a31,out[2]=b0*a02+b1*a12+b2*a22+b3*a32,out[3]=b0*a03+b1*a13+b2*a23+b3*a33,b0=b[4],b1=b[5],b2=b[6],b3=b[7],out[4]=b0*a00+b1*a10+b2*a20+b3*a30,out[5]=b0*a01+b1*a11+b2*a21+b3*a31,out[6]=b0*a02+b1*a12+b2*a22+b3*a32,out[7]=b0*a03+b1*a13+b2*a23+b3*a33,b0=b[8],b1=b[9],b2=b[10],b3=b[11],out[8]=b0*a00+b1*a10+b2*a20+b3*a30,out[9]=b0*a01+b1*a11+b2*a21+b3*a31,out[10]=b0*a02+b1*a12+b2*a22+b3*a32,out[11]=b0*a03+b1*a13+b2*a23+b3*a33,b0=b[12],b1=b[13],b2=b[14],b3=b[15],out[12]=b0*a00+b1*a10+b2*a20+b3*a30,out[13]=b0*a01+b1*a11+b2*a21+b3*a31,out[14]=b0*a02+b1*a12+b2*a22+b3*a32,out[15]=b0*a03+b1*a13+b2*a23+b3*a33,out}function translate(out,a,v){var a00,a01,a02,a03,a10,a11,a12,a13,a20,a21,a22,a23,x=v[0],y=v[1],z=v[2];return a===out?(out[12]=a[0]*x+a[4]*y+a[8]*z+a[12],out[13]=a[1]*x+a[5]*y+a[9]*z+a[13],out[14]=a[2]*x+a[6]*y+a[10]*z+a[14],out[15]=a[3]*x+a[7]*y+a[11]*z+a[15]):(a00=a[0],a01=a[1],a02=a[2],a03=a[3],a10=a[4],a11=a[5],a12=a[6],a13=a[7],a20=a[8],a21=a[9],a22=a[10],a23=a[11],out[0]=a00,out[1]=a01,out[2]=a02,out[3]=a03,out[4]=a10,out[5]=a11,out[6]=a12,out[7]=a13,out[8]=a20,out[9]=a21,out[10]=a22,out[11]=a23,out[12]=a00*x+a10*y+a20*z+a[12],out[13]=a01*x+a11*y+a21*z+a[13],out[14]=a02*x+a12*y+a22*z+a[14],out[15]=a03*x+a13*y+a23*z+a[15]),out}function scale(out,a,v){var x=v[0],y=v[1],z=v[2];return out[0]=a[0]*x,out[1]=a[1]*x,out[2]=a[2]*x,out[3]=a[3]*x,out[4]=a[4]*y,out[5]=a[5]*y,out[6]=a[6]*y,out[7]=a[7]*y,out[8]=a[8]*z,out[9]=a[9]*z,out[10]=a[10]*z,out[11]=a[11]*z,out[12]=a[12],out[13]=a[13],out[14]=a[14],out[15]=a[15],out}function rotate(out,a,rad,axis){var s,c,t,a00,a01,a02,a03,a10,a11,a12,a13,a20,a21,a22,a23,b00,b01,b02,b10,b11,b12,b20,b21,b22,x=axis[0],y=axis[1],z=axis[2],len=Math.hypot(x,y,z);return len<_common_js__WEBPACK_IMPORTED_MODULE_0__.iG?null:(x*=len=1/len,y*=len,z*=len,s=Math.sin(rad),t=1-(c=Math.cos(rad)),a00=a[0],a01=a[1],a02=a[2],a03=a[3],a10=a[4],a11=a[5],a12=a[6],a13=a[7],a20=a[8],a21=a[9],a22=a[10],a23=a[11],b00=x*x*t+c,b01=y*x*t+z*s,b02=z*x*t-y*s,b10=x*y*t-z*s,b11=y*y*t+c,b12=z*y*t+x*s,b20=x*z*t+y*s,b21=y*z*t-x*s,b22=z*z*t+c,out[0]=a00*b00+a10*b01+a20*b02,out[1]=a01*b00+a11*b01+a21*b02,out[2]=a02*b00+a12*b01+a22*b02,out[3]=a03*b00+a13*b01+a23*b02,out[4]=a00*b10+a10*b11+a20*b12,out[5]=a01*b10+a11*b11+a21*b12,out[6]=a02*b10+a12*b11+a22*b12,out[7]=a03*b10+a13*b11+a23*b12,out[8]=a00*b20+a10*b21+a20*b22,out[9]=a01*b20+a11*b21+a21*b22,out[10]=a02*b20+a12*b21+a22*b22,out[11]=a03*b20+a13*b21+a23*b22,a!==out&&(out[12]=a[12],out[13]=a[13],out[14]=a[14],out[15]=a[15]),out)}function rotateX(out,a,rad){var s=Math.sin(rad),c=Math.cos(rad),a10=a[4],a11=a[5],a12=a[6],a13=a[7],a20=a[8],a21=a[9],a22=a[10],a23=a[11];return a!==out&&(out[0]=a[0],out[1]=a[1],out[2]=a[2],out[3]=a[3],out[12]=a[12],out[13]=a[13],out[14]=a[14],out[15]=a[15]),out[4]=a10*c+a20*s,out[5]=a11*c+a21*s,out[6]=a12*c+a22*s,out[7]=a13*c+a23*s,out[8]=a20*c-a10*s,out[9]=a21*c-a11*s,out[10]=a22*c-a12*s,out[11]=a23*c-a13*s,out}function rotateY(out,a,rad){var s=Math.sin(rad),c=Math.cos(rad),a00=a[0],a01=a[1],a02=a[2],a03=a[3],a20=a[8],a21=a[9],a22=a[10],a23=a[11];return a!==out&&(out[4]=a[4],out[5]=a[5],out[6]=a[6],out[7]=a[7],out[12]=a[12],out[13]=a[13],out[14]=a[14],out[15]=a[15]),out[0]=a00*c-a20*s,out[1]=a01*c-a21*s,out[2]=a02*c-a22*s,out[3]=a03*c-a23*s,out[8]=a00*s+a20*c,out[9]=a01*s+a21*c,out[10]=a02*s+a22*c,out[11]=a03*s+a23*c,out}function rotateZ(out,a,rad){var s=Math.sin(rad),c=Math.cos(rad),a00=a[0],a01=a[1],a02=a[2],a03=a[3],a10=a[4],a11=a[5],a12=a[6],a13=a[7];return a!==out&&(out[8]=a[8],out[9]=a[9],out[10]=a[10],out[11]=a[11],out[12]=a[12],out[13]=a[13],out[14]=a[14],out[15]=a[15]),out[0]=a00*c+a10*s,out[1]=a01*c+a11*s,out[2]=a02*c+a12*s,out[3]=a03*c+a13*s,out[4]=a10*c-a00*s,out[5]=a11*c-a01*s,out[6]=a12*c-a02*s,out[7]=a13*c-a03*s,out}function fromQuat(out,q){var x=q[0],y=q[1],z=q[2],w=q[3],x2=x+x,y2=y+y,z2=z+z,xx=x*x2,yx=y*x2,yy=y*y2,zx=z*x2,zy=z*y2,zz=z*z2,wx=w*x2,wy=w*y2,wz=w*z2;return out[0]=1-yy-zz,out[1]=yx+wz,out[2]=zx-wy,out[3]=0,out[4]=yx-wz,out[5]=1-xx-zz,out[6]=zy+wx,out[7]=0,out[8]=zx+wy,out[9]=zy-wx,out[10]=1-xx-yy,out[11]=0,out[12]=0,out[13]=0,out[14]=0,out[15]=1,out}function frustum(out,left,right,bottom,top,near,far){var rl=1/(right-left),tb=1/(top-bottom),nf=1/(near-far);return out[0]=2*near*rl,out[1]=0,out[2]=0,out[3]=0,out[4]=0,out[5]=2*near*tb,out[6]=0,out[7]=0,out[8]=(right+left)*rl,out[9]=(top+bottom)*tb,out[10]=(far+near)*nf,out[11]=-1,out[12]=0,out[13]=0,out[14]=far*near*2*nf,out[15]=0,out}var perspective=function perspectiveNO(out,fovy,aspect,near,far){var nf,f=1/Math.tan(fovy/2);return out[0]=f/aspect,out[1]=0,out[2]=0,out[3]=0,out[4]=0,out[5]=f,out[6]=0,out[7]=0,out[8]=0,out[9]=0,out[11]=-1,out[12]=0,out[13]=0,out[15]=0,null!=far&&far!==1/0?(nf=1/(near-far),out[10]=(far+near)*nf,out[14]=2*far*near*nf):(out[10]=-1,out[14]=-2*near),out};var ortho=function orthoNO(out,left,right,bottom,top,near,far){var lr=1/(left-right),bt=1/(bottom-top),nf=1/(near-far);return out[0]=-2*lr,out[1]=0,out[2]=0,out[3]=0,out[4]=0,out[5]=-2*bt,out[6]=0,out[7]=0,out[8]=0,out[9]=0,out[10]=2*nf,out[11]=0,out[12]=(left+right)*lr,out[13]=(top+bottom)*bt,out[14]=(far+near)*nf,out[15]=1,out};function lookAt(out,eye,center,up){var x0,x1,x2,y0,y1,y2,z0,z1,z2,len,eyex=eye[0],eyey=eye[1],eyez=eye[2],upx=up[0],upy=up[1],upz=up[2],centerx=center[0],centery=center[1],centerz=center[2];return Math.abs(eyex-centerx)<_common_js__WEBPACK_IMPORTED_MODULE_0__.iG&&Math.abs(eyey-centery)<_common_js__WEBPACK_IMPORTED_MODULE_0__.iG&&Math.abs(eyez-centerz)<_common_js__WEBPACK_IMPORTED_MODULE_0__.iG?function identity(out){return out[0]=1,out[1]=0,out[2]=0,out[3]=0,out[4]=0,out[5]=1,out[6]=0,out[7]=0,out[8]=0,out[9]=0,out[10]=1,out[11]=0,out[12]=0,out[13]=0,out[14]=0,out[15]=1,out}(out):(z0=eyex-centerx,z1=eyey-centery,z2=eyez-centerz,x0=upy*(z2*=len=1/Math.hypot(z0,z1,z2))-upz*(z1*=len),x1=upz*(z0*=len)-upx*z2,x2=upx*z1-upy*z0,(len=Math.hypot(x0,x1,x2))?(x0*=len=1/len,x1*=len,x2*=len):(x0=0,x1=0,x2=0),y0=z1*x2-z2*x1,y1=z2*x0-z0*x2,y2=z0*x1-z1*x0,(len=Math.hypot(y0,y1,y2))?(y0*=len=1/len,y1*=len,y2*=len):(y0=0,y1=0,y2=0),out[0]=x0,out[1]=y0,out[2]=z0,out[3]=0,out[4]=x1,out[5]=y1,out[6]=z1,out[7]=0,out[8]=x2,out[9]=y2,out[10]=z2,out[11]=0,out[12]=-(x0*eyex+x1*eyey+x2*eyez),out[13]=-(y0*eyex+y1*eyey+y2*eyez),out[14]=-(z0*eyex+z1*eyey+z2*eyez),out[15]=1,out)}},"./node_modules/gl-matrix/esm/vec2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Cq:()=>lerp,KE:()=>transformMat4,WQ:()=>add,s7:()=>negate});var _common_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/gl-matrix/esm/common.js");function add(out,a,b){return out[0]=a[0]+b[0],out[1]=a[1]+b[1],out}function negate(out,a){return out[0]=-a[0],out[1]=-a[1],out}function lerp(out,a,b,t){var ax=a[0],ay=a[1];return out[0]=ax+t*(b[0]-ax),out[1]=ay+t*(b[1]-ay),out}function transformMat4(out,a,m){var x=a[0],y=a[1];return out[0]=m[0]*x+m[4]*y+m[12],out[1]=m[1]*x+m[5]*y+m[13],out}var vec;vec=function create(){var out=new _common_js__WEBPACK_IMPORTED_MODULE_0__.P8(2);return _common_js__WEBPACK_IMPORTED_MODULE_0__.P8!=Float32Array&&(out[0]=0,out[1]=0),out}()},"./node_modules/gl-matrix/esm/vec3.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{AT:()=>sub,If:()=>transformQuat,KE:()=>transformMat4,Sk:()=>rotateZ,W_:()=>transformMat3,_Y:()=>rotateY,gB:()=>rotateX,i4:()=>angle,s7:()=>negate,ug:()=>cross});var _common_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/gl-matrix/esm/common.js");function negate(out,a){return out[0]=-a[0],out[1]=-a[1],out[2]=-a[2],out}function cross(out,a,b){var ax=a[0],ay=a[1],az=a[2],bx=b[0],by=b[1],bz=b[2];return out[0]=ay*bz-az*by,out[1]=az*bx-ax*bz,out[2]=ax*by-ay*bx,out}function transformMat4(out,a,m){var x=a[0],y=a[1],z=a[2],w=m[3]*x+m[7]*y+m[11]*z+m[15];return w=w||1,out[0]=(m[0]*x+m[4]*y+m[8]*z+m[12])/w,out[1]=(m[1]*x+m[5]*y+m[9]*z+m[13])/w,out[2]=(m[2]*x+m[6]*y+m[10]*z+m[14])/w,out}function transformMat3(out,a,m){var x=a[0],y=a[1],z=a[2];return out[0]=x*m[0]+y*m[3]+z*m[6],out[1]=x*m[1]+y*m[4]+z*m[7],out[2]=x*m[2]+y*m[5]+z*m[8],out}function transformQuat(out,a,q){var qx=q[0],qy=q[1],qz=q[2],qw=q[3],x=a[0],y=a[1],z=a[2],uvx=qy*z-qz*y,uvy=qz*x-qx*z,uvz=qx*y-qy*x,uuvx=qy*uvz-qz*uvy,uuvy=qz*uvx-qx*uvz,uuvz=qx*uvy-qy*uvx,w2=2*qw;return uvx*=w2,uvy*=w2,uvz*=w2,uuvx*=2,uuvy*=2,uuvz*=2,out[0]=x+uvx+uuvx,out[1]=y+uvy+uuvy,out[2]=z+uvz+uuvz,out}function rotateX(out,a,b,rad){var p=[],r=[];return p[0]=a[0]-b[0],p[1]=a[1]-b[1],p[2]=a[2]-b[2],r[0]=p[0],r[1]=p[1]*Math.cos(rad)-p[2]*Math.sin(rad),r[2]=p[1]*Math.sin(rad)+p[2]*Math.cos(rad),out[0]=r[0]+b[0],out[1]=r[1]+b[1],out[2]=r[2]+b[2],out}function rotateY(out,a,b,rad){var p=[],r=[];return p[0]=a[0]-b[0],p[1]=a[1]-b[1],p[2]=a[2]-b[2],r[0]=p[2]*Math.sin(rad)+p[0]*Math.cos(rad),r[1]=p[1],r[2]=p[2]*Math.cos(rad)-p[0]*Math.sin(rad),out[0]=r[0]+b[0],out[1]=r[1]+b[1],out[2]=r[2]+b[2],out}function rotateZ(out,a,b,rad){var p=[],r=[];return p[0]=a[0]-b[0],p[1]=a[1]-b[1],p[2]=a[2]-b[2],r[0]=p[0]*Math.cos(rad)-p[1]*Math.sin(rad),r[1]=p[0]*Math.sin(rad)+p[1]*Math.cos(rad),r[2]=p[2],out[0]=r[0]+b[0],out[1]=r[1]+b[1],out[2]=r[2]+b[2],out}function angle(a,b){var ax=a[0],ay=a[1],az=a[2],bx=b[0],by=b[1],bz=b[2],mag=Math.sqrt(ax*ax+ay*ay+az*az)*Math.sqrt(bx*bx+by*by+bz*bz),cosine=mag&&function dot(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}(a,b)/mag;return Math.acos(Math.min(Math.max(cosine,-1),1))}var vec,sub=function subtract(out,a,b){return out[0]=a[0]-b[0],out[1]=a[1]-b[1],out[2]=a[2]-b[2],out};vec=function create(){var out=new _common_js__WEBPACK_IMPORTED_MODULE_0__.P8(3);return _common_js__WEBPACK_IMPORTED_MODULE_0__.P8!=Float32Array&&(out[0]=0,out[1]=0,out[2]=0),out}()},"./node_modules/gl-matrix/esm/vec4.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{KE:()=>transformMat4,aU:()=>scale});var _common_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/gl-matrix/esm/common.js");function scale(out,a,b){return out[0]=a[0]*b,out[1]=a[1]*b,out[2]=a[2]*b,out[3]=a[3]*b,out}function transformMat4(out,a,m){var x=a[0],y=a[1],z=a[2],w=a[3];return out[0]=m[0]*x+m[4]*y+m[8]*z+m[12]*w,out[1]=m[1]*x+m[5]*y+m[9]*z+m[13]*w,out[2]=m[2]*x+m[6]*y+m[10]*z+m[14]*w,out[3]=m[3]*x+m[7]*y+m[11]*z+m[15]*w,out}var vec;vec=function create(){var out=new _common_js__WEBPACK_IMPORTED_MODULE_0__.P8(4);return _common_js__WEBPACK_IMPORTED_MODULE_0__.P8!=Float32Array&&(out[0]=0,out[1]=0,out[2]=0,out[3]=0),out}()},"./node_modules/hammerjs/hammer.js":(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(window,document,exportName,undefined){"use strict";var assign,VENDOR_PREFIXES=["","webkit","Moz","MS","ms","o"],TEST_ELEMENT=document.createElement("div"),TYPE_FUNCTION="function",round=Math.round,abs=Math.abs,now=Date.now;function setTimeoutContext(fn,timeout,context){return setTimeout(bindFn(fn,context),timeout)}function invokeArrayArg(arg,fn,context){return!!Array.isArray(arg)&&(each(arg,context[fn],context),!0)}function each(obj,iterator,context){var i;if(obj)if(obj.forEach)obj.forEach(iterator,context);else if(obj.length!==undefined)for(i=0;i<obj.length;)iterator.call(context,obj[i],i,obj),i++;else for(i in obj)obj.hasOwnProperty(i)&&iterator.call(context,obj[i],i,obj)}function deprecate(method,name,message){var deprecationMessage="DEPRECATED METHOD: "+name+"\n"+message+" AT \n";return function(){var e=new Error("get-stack-trace"),stack=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",log=window.console&&(window.console.warn||window.console.log);return log&&log.call(window.console,deprecationMessage,stack),method.apply(this,arguments)}}assign="function"!=typeof Object.assign?function assign(target){if(target===undefined||null===target)throw new TypeError("Cannot convert undefined or null to object");for(var output=Object(target),index=1;index<arguments.length;index++){var source=arguments[index];if(source!==undefined&&null!==source)for(var nextKey in source)source.hasOwnProperty(nextKey)&&(output[nextKey]=source[nextKey])}return output}:Object.assign;var extend=deprecate((function extend(dest,src,merge){for(var keys=Object.keys(src),i=0;i<keys.length;)(!merge||merge&&dest[keys[i]]===undefined)&&(dest[keys[i]]=src[keys[i]]),i++;return dest}),"extend","Use `assign`."),merge=deprecate((function merge(dest,src){return extend(dest,src,!0)}),"merge","Use `assign`.");function inherit(child,base,properties){var childP,baseP=base.prototype;(childP=child.prototype=Object.create(baseP)).constructor=child,childP._super=baseP,properties&&assign(childP,properties)}function bindFn(fn,context){return function boundFn(){return fn.apply(context,arguments)}}function boolOrFn(val,args){return typeof val==TYPE_FUNCTION?val.apply(args&&args[0]||undefined,args):val}function ifUndefined(val1,val2){return val1===undefined?val2:val1}function addEventListeners(target,types,handler){each(splitStr(types),(function(type){target.addEventListener(type,handler,!1)}))}function removeEventListeners(target,types,handler){each(splitStr(types),(function(type){target.removeEventListener(type,handler,!1)}))}function hasParent(node,parent){for(;node;){if(node==parent)return!0;node=node.parentNode}return!1}function inStr(str,find){return str.indexOf(find)>-1}function splitStr(str){return str.trim().split(/\s+/g)}function inArray(src,find,findByKey){if(src.indexOf&&!findByKey)return src.indexOf(find);for(var i=0;i<src.length;){if(findByKey&&src[i][findByKey]==find||!findByKey&&src[i]===find)return i;i++}return-1}function toArray(obj){return Array.prototype.slice.call(obj,0)}function uniqueArray(src,key,sort){for(var results=[],values=[],i=0;i<src.length;){var val=key?src[i][key]:src[i];inArray(values,val)<0&&results.push(src[i]),values[i]=val,i++}return sort&&(results=key?results.sort((function sortUniqueArray(a,b){return a[key]>b[key]})):results.sort()),results}function prefixed(obj,property){for(var prefix,prop,camelProp=property[0].toUpperCase()+property.slice(1),i=0;i<VENDOR_PREFIXES.length;){if((prop=(prefix=VENDOR_PREFIXES[i])?prefix+camelProp:property)in obj)return prop;i++}return undefined}var _uniqueId=1;function getWindowForElement(element){var doc=element.ownerDocument||element;return doc.defaultView||doc.parentWindow||window}var SUPPORT_TOUCH="ontouchstart"in window,SUPPORT_POINTER_EVENTS=prefixed(window,"PointerEvent")!==undefined,SUPPORT_ONLY_TOUCH=SUPPORT_TOUCH&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),COMPUTE_INTERVAL=25,INPUT_START=1,INPUT_END=4,INPUT_CANCEL=8,DIRECTION_NONE=1,DIRECTION_LEFT=2,DIRECTION_RIGHT=4,DIRECTION_UP=8,DIRECTION_DOWN=16,DIRECTION_HORIZONTAL=DIRECTION_LEFT|DIRECTION_RIGHT,DIRECTION_VERTICAL=DIRECTION_UP|DIRECTION_DOWN,DIRECTION_ALL=DIRECTION_HORIZONTAL|DIRECTION_VERTICAL,PROPS_XY=["x","y"],PROPS_CLIENT_XY=["clientX","clientY"];function Input(manager,callback){var self=this;this.manager=manager,this.callback=callback,this.element=manager.element,this.target=manager.options.inputTarget,this.domHandler=function(ev){boolOrFn(manager.options.enable,[manager])&&self.handler(ev)},this.init()}function inputHandler(manager,eventType,input){var pointersLen=input.pointers.length,changedPointersLen=input.changedPointers.length,isFirst=eventType&INPUT_START&&pointersLen-changedPointersLen==0,isFinal=eventType&(INPUT_END|INPUT_CANCEL)&&pointersLen-changedPointersLen==0;input.isFirst=!!isFirst,input.isFinal=!!isFinal,isFirst&&(manager.session={}),input.eventType=eventType,function computeInputData(manager,input){var session=manager.session,pointers=input.pointers,pointersLength=pointers.length;session.firstInput||(session.firstInput=simpleCloneInputData(input));pointersLength>1&&!session.firstMultiple?session.firstMultiple=simpleCloneInputData(input):1===pointersLength&&(session.firstMultiple=!1);var firstInput=session.firstInput,firstMultiple=session.firstMultiple,offsetCenter=firstMultiple?firstMultiple.center:firstInput.center,center=input.center=getCenter(pointers);input.timeStamp=now(),input.deltaTime=input.timeStamp-firstInput.timeStamp,input.angle=getAngle(offsetCenter,center),input.distance=getDistance(offsetCenter,center),function computeDeltaXY(session,input){var center=input.center,offset=session.offsetDelta||{},prevDelta=session.prevDelta||{},prevInput=session.prevInput||{};input.eventType!==INPUT_START&&prevInput.eventType!==INPUT_END||(prevDelta=session.prevDelta={x:prevInput.deltaX||0,y:prevInput.deltaY||0},offset=session.offsetDelta={x:center.x,y:center.y});input.deltaX=prevDelta.x+(center.x-offset.x),input.deltaY=prevDelta.y+(center.y-offset.y)}(session,input),input.offsetDirection=getDirection(input.deltaX,input.deltaY);var overallVelocity=getVelocity(input.deltaTime,input.deltaX,input.deltaY);input.overallVelocityX=overallVelocity.x,input.overallVelocityY=overallVelocity.y,input.overallVelocity=abs(overallVelocity.x)>abs(overallVelocity.y)?overallVelocity.x:overallVelocity.y,input.scale=firstMultiple?function getScale(start,end){return getDistance(end[0],end[1],PROPS_CLIENT_XY)/getDistance(start[0],start[1],PROPS_CLIENT_XY)}(firstMultiple.pointers,pointers):1,input.rotation=firstMultiple?function getRotation(start,end){return getAngle(end[1],end[0],PROPS_CLIENT_XY)+getAngle(start[1],start[0],PROPS_CLIENT_XY)}(firstMultiple.pointers,pointers):0,input.maxPointers=session.prevInput?input.pointers.length>session.prevInput.maxPointers?input.pointers.length:session.prevInput.maxPointers:input.pointers.length,function computeIntervalInputData(session,input){var velocity,velocityX,velocityY,direction,last=session.lastInterval||input,deltaTime=input.timeStamp-last.timeStamp;if(input.eventType!=INPUT_CANCEL&&(deltaTime>COMPUTE_INTERVAL||last.velocity===undefined)){var deltaX=input.deltaX-last.deltaX,deltaY=input.deltaY-last.deltaY,v=getVelocity(deltaTime,deltaX,deltaY);velocityX=v.x,velocityY=v.y,velocity=abs(v.x)>abs(v.y)?v.x:v.y,direction=getDirection(deltaX,deltaY),session.lastInterval=input}else velocity=last.velocity,velocityX=last.velocityX,velocityY=last.velocityY,direction=last.direction;input.velocity=velocity,input.velocityX=velocityX,input.velocityY=velocityY,input.direction=direction}(session,input);var target=manager.element;hasParent(input.srcEvent.target,target)&&(target=input.srcEvent.target);input.target=target}(manager,input),manager.emit("hammer.input",input),manager.recognize(input),manager.session.prevInput=input}function simpleCloneInputData(input){for(var pointers=[],i=0;i<input.pointers.length;)pointers[i]={clientX:round(input.pointers[i].clientX),clientY:round(input.pointers[i].clientY)},i++;return{timeStamp:now(),pointers,center:getCenter(pointers),deltaX:input.deltaX,deltaY:input.deltaY}}function getCenter(pointers){var pointersLength=pointers.length;if(1===pointersLength)return{x:round(pointers[0].clientX),y:round(pointers[0].clientY)};for(var x=0,y=0,i=0;i<pointersLength;)x+=pointers[i].clientX,y+=pointers[i].clientY,i++;return{x:round(x/pointersLength),y:round(y/pointersLength)}}function getVelocity(deltaTime,x,y){return{x:x/deltaTime||0,y:y/deltaTime||0}}function getDirection(x,y){return x===y?DIRECTION_NONE:abs(x)>=abs(y)?x<0?DIRECTION_LEFT:DIRECTION_RIGHT:y<0?DIRECTION_UP:DIRECTION_DOWN}function getDistance(p1,p2,props){props||(props=PROPS_XY);var x=p2[props[0]]-p1[props[0]],y=p2[props[1]]-p1[props[1]];return Math.sqrt(x*x+y*y)}function getAngle(p1,p2,props){props||(props=PROPS_XY);var x=p2[props[0]]-p1[props[0]],y=p2[props[1]]-p1[props[1]];return 180*Math.atan2(y,x)/Math.PI}Input.prototype={handler:function(){},init:function(){this.evEl&&addEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&addEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&addEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&removeEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&removeEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&removeEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)}};var MOUSE_INPUT_MAP={mousedown:INPUT_START,mousemove:2,mouseup:INPUT_END},MOUSE_ELEMENT_EVENTS="mousedown",MOUSE_WINDOW_EVENTS="mousemove mouseup";function MouseInput(){this.evEl=MOUSE_ELEMENT_EVENTS,this.evWin=MOUSE_WINDOW_EVENTS,this.pressed=!1,Input.apply(this,arguments)}inherit(MouseInput,Input,{handler:function MEhandler(ev){var eventType=MOUSE_INPUT_MAP[ev.type];eventType&INPUT_START&&0===ev.button&&(this.pressed=!0),2&eventType&&1!==ev.which&&(eventType=INPUT_END),this.pressed&&(eventType&INPUT_END&&(this.pressed=!1),this.callback(this.manager,eventType,{pointers:[ev],changedPointers:[ev],pointerType:"mouse",srcEvent:ev}))}});var POINTER_INPUT_MAP={pointerdown:INPUT_START,pointermove:2,pointerup:INPUT_END,pointercancel:INPUT_CANCEL,pointerout:INPUT_CANCEL},IE10_POINTER_TYPE_ENUM={2:"touch",3:"pen",4:"mouse",5:"kinect"},POINTER_ELEMENT_EVENTS="pointerdown",POINTER_WINDOW_EVENTS="pointermove pointerup pointercancel";function PointerEventInput(){this.evEl=POINTER_ELEMENT_EVENTS,this.evWin=POINTER_WINDOW_EVENTS,Input.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}window.MSPointerEvent&&!window.PointerEvent&&(POINTER_ELEMENT_EVENTS="MSPointerDown",POINTER_WINDOW_EVENTS="MSPointerMove MSPointerUp MSPointerCancel"),inherit(PointerEventInput,Input,{handler:function PEhandler(ev){var store=this.store,removePointer=!1,eventTypeNormalized=ev.type.toLowerCase().replace("ms",""),eventType=POINTER_INPUT_MAP[eventTypeNormalized],pointerType=IE10_POINTER_TYPE_ENUM[ev.pointerType]||ev.pointerType,isTouch="touch"==pointerType,storeIndex=inArray(store,ev.pointerId,"pointerId");eventType&INPUT_START&&(0===ev.button||isTouch)?storeIndex<0&&(store.push(ev),storeIndex=store.length-1):eventType&(INPUT_END|INPUT_CANCEL)&&(removePointer=!0),storeIndex<0||(store[storeIndex]=ev,this.callback(this.manager,eventType,{pointers:store,changedPointers:[ev],pointerType,srcEvent:ev}),removePointer&&store.splice(storeIndex,1))}});var SINGLE_TOUCH_INPUT_MAP={touchstart:INPUT_START,touchmove:2,touchend:INPUT_END,touchcancel:INPUT_CANCEL};function SingleTouchInput(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Input.apply(this,arguments)}function normalizeSingleTouches(ev,type){var all=toArray(ev.touches),changed=toArray(ev.changedTouches);return type&(INPUT_END|INPUT_CANCEL)&&(all=uniqueArray(all.concat(changed),"identifier",!0)),[all,changed]}inherit(SingleTouchInput,Input,{handler:function TEhandler(ev){var type=SINGLE_TOUCH_INPUT_MAP[ev.type];if(type===INPUT_START&&(this.started=!0),this.started){var touches=normalizeSingleTouches.call(this,ev,type);type&(INPUT_END|INPUT_CANCEL)&&touches[0].length-touches[1].length==0&&(this.started=!1),this.callback(this.manager,type,{pointers:touches[0],changedPointers:touches[1],pointerType:"touch",srcEvent:ev})}}});var TOUCH_INPUT_MAP={touchstart:INPUT_START,touchmove:2,touchend:INPUT_END,touchcancel:INPUT_CANCEL},TOUCH_TARGET_EVENTS="touchstart touchmove touchend touchcancel";function TouchInput(){this.evTarget=TOUCH_TARGET_EVENTS,this.targetIds={},Input.apply(this,arguments)}function getTouches(ev,type){var allTouches=toArray(ev.touches),targetIds=this.targetIds;if(type&(2|INPUT_START)&&1===allTouches.length)return targetIds[allTouches[0].identifier]=!0,[allTouches,allTouches];var i,targetTouches,changedTouches=toArray(ev.changedTouches),changedTargetTouches=[],target=this.target;if(targetTouches=allTouches.filter((function(touch){return hasParent(touch.target,target)})),type===INPUT_START)for(i=0;i<targetTouches.length;)targetIds[targetTouches[i].identifier]=!0,i++;for(i=0;i<changedTouches.length;)targetIds[changedTouches[i].identifier]&&changedTargetTouches.push(changedTouches[i]),type&(INPUT_END|INPUT_CANCEL)&&delete targetIds[changedTouches[i].identifier],i++;return changedTargetTouches.length?[uniqueArray(targetTouches.concat(changedTargetTouches),"identifier",!0),changedTargetTouches]:void 0}inherit(TouchInput,Input,{handler:function MTEhandler(ev){var type=TOUCH_INPUT_MAP[ev.type],touches=getTouches.call(this,ev,type);touches&&this.callback(this.manager,type,{pointers:touches[0],changedPointers:touches[1],pointerType:"touch",srcEvent:ev})}});var DEDUP_TIMEOUT=2500;function TouchMouseInput(){Input.apply(this,arguments);var handler=bindFn(this.handler,this);this.touch=new TouchInput(this.manager,handler),this.mouse=new MouseInput(this.manager,handler),this.primaryTouch=null,this.lastTouches=[]}function recordTouches(eventType,eventData){eventType&INPUT_START?(this.primaryTouch=eventData.changedPointers[0].identifier,setLastTouch.call(this,eventData)):eventType&(INPUT_END|INPUT_CANCEL)&&setLastTouch.call(this,eventData)}function setLastTouch(eventData){var touch=eventData.changedPointers[0];if(touch.identifier===this.primaryTouch){var lastTouch={x:touch.clientX,y:touch.clientY};this.lastTouches.push(lastTouch);var lts=this.lastTouches;setTimeout((function(){var i=lts.indexOf(lastTouch);i>-1&&lts.splice(i,1)}),DEDUP_TIMEOUT)}}function isSyntheticEvent(eventData){for(var x=eventData.srcEvent.clientX,y=eventData.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var t=this.lastTouches[i],dx=Math.abs(x-t.x),dy=Math.abs(y-t.y);if(dx<=25&&dy<=25)return!0}return!1}inherit(TouchMouseInput,Input,{handler:function TMEhandler(manager,inputEvent,inputData){var isTouch="touch"==inputData.pointerType,isMouse="mouse"==inputData.pointerType;if(!(isMouse&&inputData.sourceCapabilities&&inputData.sourceCapabilities.firesTouchEvents)){if(isTouch)recordTouches.call(this,inputEvent,inputData);else if(isMouse&&isSyntheticEvent.call(this,inputData))return;this.callback(manager,inputEvent,inputData)}},destroy:function destroy(){this.touch.destroy(),this.mouse.destroy()}});var PREFIXED_TOUCH_ACTION=prefixed(TEST_ELEMENT.style,"touchAction"),NATIVE_TOUCH_ACTION=PREFIXED_TOUCH_ACTION!==undefined,TOUCH_ACTION_MAP=function getTouchActionProps(){if(!NATIVE_TOUCH_ACTION)return!1;var touchMap={},cssSupports=window.CSS&&window.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(val){touchMap[val]=!cssSupports||window.CSS.supports("touch-action",val)})),touchMap}();function TouchAction(manager,value){this.manager=manager,this.set(value)}TouchAction.prototype={set:function(value){"compute"==value&&(value=this.compute()),NATIVE_TOUCH_ACTION&&this.manager.element.style&&TOUCH_ACTION_MAP[value]&&(this.manager.element.style[PREFIXED_TOUCH_ACTION]=value),this.actions=value.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var actions=[];return each(this.manager.recognizers,(function(recognizer){boolOrFn(recognizer.options.enable,[recognizer])&&(actions=actions.concat(recognizer.getTouchAction()))})),function cleanTouchActions(actions){if(inStr(actions,"none"))return"none";var hasPanX=inStr(actions,"pan-x"),hasPanY=inStr(actions,"pan-y");if(hasPanX&&hasPanY)return"none";if(hasPanX||hasPanY)return hasPanX?"pan-x":"pan-y";if(inStr(actions,"manipulation"))return"manipulation";return"auto"}(actions.join(" "))},preventDefaults:function(input){var srcEvent=input.srcEvent,direction=input.offsetDirection;if(this.manager.session.prevented)srcEvent.preventDefault();else{var actions=this.actions,hasNone=inStr(actions,"none")&&!TOUCH_ACTION_MAP.none,hasPanY=inStr(actions,"pan-y")&&!TOUCH_ACTION_MAP["pan-y"],hasPanX=inStr(actions,"pan-x")&&!TOUCH_ACTION_MAP["pan-x"];if(hasNone){var isTapPointer=1===input.pointers.length,isTapMovement=input.distance<2,isTapTouchTime=input.deltaTime<250;if(isTapPointer&&isTapMovement&&isTapTouchTime)return}if(!hasPanX||!hasPanY)return hasNone||hasPanY&&direction&DIRECTION_HORIZONTAL||hasPanX&&direction&DIRECTION_VERTICAL?this.preventSrc(srcEvent):void 0}},preventSrc:function(srcEvent){this.manager.session.prevented=!0,srcEvent.preventDefault()}};var STATE_POSSIBLE=1;function Recognizer(options){this.options=assign({},this.defaults,options||{}),this.id=function uniqueId(){return _uniqueId++}(),this.manager=null,this.options.enable=ifUndefined(this.options.enable,!0),this.state=STATE_POSSIBLE,this.simultaneous={},this.requireFail=[]}function stateStr(state){return 16&state?"cancel":8&state?"end":4&state?"move":2&state?"start":""}function directionStr(direction){return direction==DIRECTION_DOWN?"down":direction==DIRECTION_UP?"up":direction==DIRECTION_LEFT?"left":direction==DIRECTION_RIGHT?"right":""}function getRecognizerByNameIfManager(otherRecognizer,recognizer){var manager=recognizer.manager;return manager?manager.get(otherRecognizer):otherRecognizer}function AttrRecognizer(){Recognizer.apply(this,arguments)}function PanRecognizer(){AttrRecognizer.apply(this,arguments),this.pX=null,this.pY=null}function PinchRecognizer(){AttrRecognizer.apply(this,arguments)}function PressRecognizer(){Recognizer.apply(this,arguments),this._timer=null,this._input=null}function RotateRecognizer(){AttrRecognizer.apply(this,arguments)}function SwipeRecognizer(){AttrRecognizer.apply(this,arguments)}function TapRecognizer(){Recognizer.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Hammer(element,options){return(options=options||{}).recognizers=ifUndefined(options.recognizers,Hammer.defaults.preset),new Manager(element,options)}Recognizer.prototype={defaults:{},set:function(options){return assign(this.options,options),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(otherRecognizer){if(invokeArrayArg(otherRecognizer,"recognizeWith",this))return this;var simultaneous=this.simultaneous;return simultaneous[(otherRecognizer=getRecognizerByNameIfManager(otherRecognizer,this)).id]||(simultaneous[otherRecognizer.id]=otherRecognizer,otherRecognizer.recognizeWith(this)),this},dropRecognizeWith:function(otherRecognizer){return invokeArrayArg(otherRecognizer,"dropRecognizeWith",this)||(otherRecognizer=getRecognizerByNameIfManager(otherRecognizer,this),delete this.simultaneous[otherRecognizer.id]),this},requireFailure:function(otherRecognizer){if(invokeArrayArg(otherRecognizer,"requireFailure",this))return this;var requireFail=this.requireFail;return-1===inArray(requireFail,otherRecognizer=getRecognizerByNameIfManager(otherRecognizer,this))&&(requireFail.push(otherRecognizer),otherRecognizer.requireFailure(this)),this},dropRequireFailure:function(otherRecognizer){if(invokeArrayArg(otherRecognizer,"dropRequireFailure",this))return this;otherRecognizer=getRecognizerByNameIfManager(otherRecognizer,this);var index=inArray(this.requireFail,otherRecognizer);return index>-1&&this.requireFail.splice(index,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(otherRecognizer){return!!this.simultaneous[otherRecognizer.id]},emit:function(input){var self=this,state=this.state;function emit(event){self.manager.emit(event,input)}state<8&&emit(self.options.event+stateStr(state)),emit(self.options.event),input.additionalEvent&&emit(input.additionalEvent),state>=8&&emit(self.options.event+stateStr(state))},tryEmit:function(input){if(this.canEmit())return this.emit(input);this.state=32},canEmit:function(){for(var i=0;i<this.requireFail.length;){if(!(this.requireFail[i].state&(32|STATE_POSSIBLE)))return!1;i++}return!0},recognize:function(inputData){var inputDataClone=assign({},inputData);if(!boolOrFn(this.options.enable,[this,inputDataClone]))return this.reset(),void(this.state=32);56&this.state&&(this.state=STATE_POSSIBLE),this.state=this.process(inputDataClone),30&this.state&&this.tryEmit(inputDataClone)},process:function(inputData){},getTouchAction:function(){},reset:function(){}},inherit(AttrRecognizer,Recognizer,{defaults:{pointers:1},attrTest:function(input){var optionPointers=this.options.pointers;return 0===optionPointers||input.pointers.length===optionPointers},process:function(input){var state=this.state,eventType=input.eventType,isRecognized=6&state,isValid=this.attrTest(input);return isRecognized&&(eventType&INPUT_CANCEL||!isValid)?16|state:isRecognized||isValid?eventType&INPUT_END?8|state:2&state?4|state:2:32}}),inherit(PanRecognizer,AttrRecognizer,{defaults:{event:"pan",threshold:10,pointers:1,direction:DIRECTION_ALL},getTouchAction:function(){var direction=this.options.direction,actions=[];return direction&DIRECTION_HORIZONTAL&&actions.push("pan-y"),direction&DIRECTION_VERTICAL&&actions.push("pan-x"),actions},directionTest:function(input){var options=this.options,hasMoved=!0,distance=input.distance,direction=input.direction,x=input.deltaX,y=input.deltaY;return direction&options.direction||(options.direction&DIRECTION_HORIZONTAL?(direction=0===x?DIRECTION_NONE:x<0?DIRECTION_LEFT:DIRECTION_RIGHT,hasMoved=x!=this.pX,distance=Math.abs(input.deltaX)):(direction=0===y?DIRECTION_NONE:y<0?DIRECTION_UP:DIRECTION_DOWN,hasMoved=y!=this.pY,distance=Math.abs(input.deltaY))),input.direction=direction,hasMoved&&distance>options.threshold&&direction&options.direction},attrTest:function(input){return AttrRecognizer.prototype.attrTest.call(this,input)&&(2&this.state||!(2&this.state)&&this.directionTest(input))},emit:function(input){this.pX=input.deltaX,this.pY=input.deltaY;var direction=directionStr(input.direction);direction&&(input.additionalEvent=this.options.event+direction),this._super.emit.call(this,input)}}),inherit(PinchRecognizer,AttrRecognizer,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(input){return this._super.attrTest.call(this,input)&&(Math.abs(input.scale-1)>this.options.threshold||2&this.state)},emit:function(input){if(1!==input.scale){var inOut=input.scale<1?"in":"out";input.additionalEvent=this.options.event+inOut}this._super.emit.call(this,input)}}),inherit(PressRecognizer,Recognizer,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(input){var options=this.options,validPointers=input.pointers.length===options.pointers,validMovement=input.distance<options.threshold,validTime=input.deltaTime>options.time;if(this._input=input,!validMovement||!validPointers||input.eventType&(INPUT_END|INPUT_CANCEL)&&!validTime)this.reset();else if(input.eventType&INPUT_START)this.reset(),this._timer=setTimeoutContext((function(){this.state=8,this.tryEmit()}),options.time,this);else if(input.eventType&INPUT_END)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(input){8===this.state&&(input&&input.eventType&INPUT_END?this.manager.emit(this.options.event+"up",input):(this._input.timeStamp=now(),this.manager.emit(this.options.event,this._input)))}}),inherit(RotateRecognizer,AttrRecognizer,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(input){return this._super.attrTest.call(this,input)&&(Math.abs(input.rotation)>this.options.threshold||2&this.state)}}),inherit(SwipeRecognizer,AttrRecognizer,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:DIRECTION_HORIZONTAL|DIRECTION_VERTICAL,pointers:1},getTouchAction:function(){return PanRecognizer.prototype.getTouchAction.call(this)},attrTest:function(input){var velocity,direction=this.options.direction;return direction&(DIRECTION_HORIZONTAL|DIRECTION_VERTICAL)?velocity=input.overallVelocity:direction&DIRECTION_HORIZONTAL?velocity=input.overallVelocityX:direction&DIRECTION_VERTICAL&&(velocity=input.overallVelocityY),this._super.attrTest.call(this,input)&&direction&input.offsetDirection&&input.distance>this.options.threshold&&input.maxPointers==this.options.pointers&&abs(velocity)>this.options.velocity&&input.eventType&INPUT_END},emit:function(input){var direction=directionStr(input.offsetDirection);direction&&this.manager.emit(this.options.event+direction,input),this.manager.emit(this.options.event,input)}}),inherit(TapRecognizer,Recognizer,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(input){var options=this.options,validPointers=input.pointers.length===options.pointers,validMovement=input.distance<options.threshold,validTouchTime=input.deltaTime<options.time;if(this.reset(),input.eventType&INPUT_START&&0===this.count)return this.failTimeout();if(validMovement&&validTouchTime&&validPointers){if(input.eventType!=INPUT_END)return this.failTimeout();var validInterval=!this.pTime||input.timeStamp-this.pTime<options.interval,validMultiTap=!this.pCenter||getDistance(this.pCenter,input.center)<options.posThreshold;if(this.pTime=input.timeStamp,this.pCenter=input.center,validMultiTap&&validInterval?this.count+=1:this.count=1,this._input=input,0===this.count%options.taps)return this.hasRequireFailures()?(this._timer=setTimeoutContext((function(){this.state=8,this.tryEmit()}),options.interval,this),2):8}return 32},failTimeout:function(){return this._timer=setTimeoutContext((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Hammer.VERSION="2.0.7",Hammer.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[RotateRecognizer,{enable:!1}],[PinchRecognizer,{enable:!1},["rotate"]],[SwipeRecognizer,{direction:DIRECTION_HORIZONTAL}],[PanRecognizer,{direction:DIRECTION_HORIZONTAL},["swipe"]],[TapRecognizer],[TapRecognizer,{event:"doubletap",taps:2},["tap"]],[PressRecognizer]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Manager(element,options){this.options=assign({},Hammer.defaults,options||{}),this.options.inputTarget=this.options.inputTarget||element,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=element,this.input=function createInputInstance(manager){return new(manager.options.inputClass||(SUPPORT_POINTER_EVENTS?PointerEventInput:SUPPORT_ONLY_TOUCH?TouchInput:SUPPORT_TOUCH?TouchMouseInput:MouseInput))(manager,inputHandler)}(this),this.touchAction=new TouchAction(this,this.options.touchAction),toggleCssProps(this,!0),each(this.options.recognizers,(function(item){var recognizer=this.add(new item[0](item[1]));item[2]&&recognizer.recognizeWith(item[2]),item[3]&&recognizer.requireFailure(item[3])}),this)}function toggleCssProps(manager,add){var prop,element=manager.element;element.style&&(each(manager.options.cssProps,(function(value,name){prop=prefixed(element.style,name),add?(manager.oldCssProps[prop]=element.style[prop],element.style[prop]=value):element.style[prop]=manager.oldCssProps[prop]||""})),add||(manager.oldCssProps={}))}Manager.prototype={set:function(options){return assign(this.options,options),options.touchAction&&this.touchAction.update(),options.inputTarget&&(this.input.destroy(),this.input.target=options.inputTarget,this.input.init()),this},stop:function(force){this.session.stopped=force?2:1},recognize:function(inputData){var session=this.session;if(!session.stopped){var recognizer;this.touchAction.preventDefaults(inputData);var recognizers=this.recognizers,curRecognizer=session.curRecognizer;(!curRecognizer||curRecognizer&&8&curRecognizer.state)&&(curRecognizer=session.curRecognizer=null);for(var i=0;i<recognizers.length;)recognizer=recognizers[i],2===session.stopped||curRecognizer&&recognizer!=curRecognizer&&!recognizer.canRecognizeWith(curRecognizer)?recognizer.reset():recognizer.recognize(inputData),!curRecognizer&&14&recognizer.state&&(curRecognizer=session.curRecognizer=recognizer),i++}},get:function(recognizer){if(recognizer instanceof Recognizer)return recognizer;for(var recognizers=this.recognizers,i=0;i<recognizers.length;i++)if(recognizers[i].options.event==recognizer)return recognizers[i];return null},add:function(recognizer){if(invokeArrayArg(recognizer,"add",this))return this;var existing=this.get(recognizer.options.event);return existing&&this.remove(existing),this.recognizers.push(recognizer),recognizer.manager=this,this.touchAction.update(),recognizer},remove:function(recognizer){if(invokeArrayArg(recognizer,"remove",this))return this;if(recognizer=this.get(recognizer)){var recognizers=this.recognizers,index=inArray(recognizers,recognizer);-1!==index&&(recognizers.splice(index,1),this.touchAction.update())}return this},on:function(events,handler){if(events!==undefined&&handler!==undefined){var handlers=this.handlers;return each(splitStr(events),(function(event){handlers[event]=handlers[event]||[],handlers[event].push(handler)})),this}},off:function(events,handler){if(events!==undefined){var handlers=this.handlers;return each(splitStr(events),(function(event){handler?handlers[event]&&handlers[event].splice(inArray(handlers[event],handler),1):delete handlers[event]})),this}},emit:function(event,data){this.options.domEvents&&function triggerDomEvent(event,data){var gestureEvent=document.createEvent("Event");gestureEvent.initEvent(event,!0,!0),gestureEvent.gesture=data,data.target.dispatchEvent(gestureEvent)}(event,data);var handlers=this.handlers[event]&&this.handlers[event].slice();if(handlers&&handlers.length){data.type=event,data.preventDefault=function(){data.srcEvent.preventDefault()};for(var i=0;i<handlers.length;)handlers[i](data),i++}},destroy:function(){this.element&&toggleCssProps(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},assign(Hammer,{INPUT_START,INPUT_MOVE:2,INPUT_END,INPUT_CANCEL,STATE_POSSIBLE,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE,DIRECTION_LEFT,DIRECTION_RIGHT,DIRECTION_UP,DIRECTION_DOWN,DIRECTION_HORIZONTAL,DIRECTION_VERTICAL,DIRECTION_ALL,Manager,Input,TouchAction,TouchInput,MouseInput,PointerEventInput,TouchMouseInput,SingleTouchInput,Recognizer,AttrRecognizer,Tap:TapRecognizer,Pan:PanRecognizer,Swipe:SwipeRecognizer,Pinch:PinchRecognizer,Rotate:RotateRecognizer,Press:PressRecognizer,on:addEventListeners,off:removeEventListeners,each,merge,extend,assign,inherit,bindFn,prefixed}),(void 0!==window?window:"undefined"!=typeof self?self:{}).Hammer=Hammer,(__WEBPACK_AMD_DEFINE_RESULT__=function(){return Hammer}.call(exports,__webpack_require__,exports,module))===undefined||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(window,document)},"./node_modules/maplibre-gl/dist/maplibre-gl.js":function(module){module.exports=function(){"use strict";var shared,worker,maplibregl;function define(_,chunk){if(shared)if(worker){var workerBundleString="var sharedChunk = {}; ("+shared+")(sharedChunk); ("+worker+")(sharedChunk);",sharedChunk={};shared(sharedChunk),maplibregl=chunk(sharedChunk),"undefined"!=typeof window&&(maplibregl.workerUrl=window.URL.createObjectURL(new Blob([workerBundleString],{type:"text/javascript"})))}else worker=chunk;else shared=chunk}return define(["exports"],(function(t){var e=r;function r(t,e,r,n){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(n-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=r,this.p2y=n}function n(t,r,n,i){const a=new e(t,r,n,i);return function(t){return a.solve(t)}}r.prototype={sampleCurveX:function(t){return((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(void 0===e&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var r=t,n=0;n<8;n++){var i=this.sampleCurveX(r)-t;if(Math.abs(i)<e)return r;var a=this.sampleCurveDerivativeX(r);if(Math.abs(a)<1e-6)break;r-=i/a}var s=0,o=1;for(r=t,n=0;n<20&&(i=this.sampleCurveX(r),!(Math.abs(i-t)<e));n++)t>i?s=r:o=r,r=.5*(o-s)+s;return r},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}};const i=n(.25,.1,.25,1);function a(t,e,r){return Math.min(r,Math.max(e,t))}function s(t,e,r){const n=r-e,i=((t-e)%n+n)%n+e;return i===e?r:i}function o(t,...e){for(const r of e)for(const e in r)t[e]=r[e];return t}let l=1;function u(t,e){t.forEach((t=>{e[t]&&(e[t]=e[t].bind(e))}))}function c(t,e,r){const n={};for(const i in t)n[i]=e.call(r||this,t[i],i,t);return n}function h(t,e,r){const n={};for(const i in t)e.call(r||this,t[i],i,t)&&(n[i]=t[i]);return n}function p(t){return Array.isArray(t)?t.map(p):"object"==typeof t&&t?c(t,p):t}const f={};function d(t){f[t]||("undefined"!=typeof console&&console.warn(t),f[t]=!0)}function y(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function m(t){let e=0;for(let r,n,i=0,a=t.length,s=a-1;i<a;s=i++)r=t[i],n=t[s],e+=(n.x-r.x)*(r.y+n.y);return e}function g(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function x(t){const e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,((t,r,n,i)=>{const a=n||i;return e[r]=!a||a.toLowerCase(),""})),e["max-age"]){const t=parseInt(e["max-age"],10);isNaN(t)?delete e["max-age"]:e["max-age"]=t}return e}let v,b,w=null;function _(t){if(null==w){const e=t.navigator?t.navigator.userAgent:null;w=!!t.safari||!(!e||!(/\b(iPad|iPhone|iPod)\b/.test(e)||e.match("Safari")&&!e.match("Chrome")))}return w}function A(t){return"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap}const k={now:"undefined"!=typeof performance&&performance&&performance.now?performance.now.bind(performance):Date.now.bind(Date),frame(t){const e=requestAnimationFrame(t);return{cancel:()=>cancelAnimationFrame(e)}},getImageData(t,e=0){const r=window.document.createElement("canvas"),n=r.getContext("2d");if(!n)throw new Error("failed to create canvas 2d context");return r.width=t.width,r.height=t.height,n.drawImage(t,0,0,t.width,t.height),n.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:t=>(v||(v=document.createElement("a")),v.href=t,v.href),hardwareConcurrency:"undefined"!=typeof navigator&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return!!matchMedia&&(null==b&&(b=matchMedia("(prefers-reduced-motion: reduce)")),b.matches)}};var S=I;function I(t,e){this.x=t,this.y=e}I.prototype={clone:function(){return new I(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),n=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=n,this},_rotateAround:function(t,e){var r=Math.cos(t),n=Math.sin(t),i=e.y+n*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-n*(this.y-e.y),this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},I.convert=function(t){return t instanceof I?t:Array.isArray(t)?new I(t[0],t[1]):t};const M={MAX_PARALLEL_IMAGE_REQUESTS:16,REGISTERED_PROTOCOLS:{}},z="mapbox-tiles";let B,C,P=500,V=50;function E(){"undefined"==typeof caches||B||(B=caches.open(z))}let F=1/0;const T={supported:!1,testSupport:function(t){!$&&D&&(R?O(t):L=t)}};let L,D,$=!1,R=!1;function O(t){const e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,D),t.isContextLost())return;T.supported=!0}catch(t){}t.deleteTexture(e),$=!0}"undefined"!=typeof document&&(D=document.createElement("img"),D.onload=function(){L&&O(L),L=null,R=!0},D.onerror=function(){$=!0,L=null},D.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const U={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(U);class q extends Error{constructor(t,e,r,n){super(`AJAXError: ${e} (${t}): ${r}`),this.status=t,this.statusText=e,this.url=r,this.body=n}}const j=g()?()=>self.worker&&self.worker.referrer:()=>("blob:"===window.location.protocol?window.parent:window).location.href;function N(t,e){const r=new AbortController,n=new Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:j(),signal:r.signal});let i=!1,a=!1;return"json"===t.type&&n.headers.set("Accept","application/json"),((r,s,o)=>{if(a)return;const l=Date.now();fetch(n).then((r=>r.ok?((r,s,o)=>{("arrayBuffer"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text()).then((t=>{a||(s&&o&&function(t,e,r){if(E(),!B)return;const n={status:e.status,statusText:e.statusText,headers:new Headers};e.headers.forEach(((t,e)=>n.headers.set(e,t)));const i=x(e.headers.get("Cache-Control")||"");i["no-store"]||(i["max-age"]&&n.headers.set("Expires",new Date(r+1e3*i["max-age"]).toUTCString()),new Date(n.headers.get("Expires")).getTime()-r<42e4||function(t,e){if(void 0===C)try{new Response(new ReadableStream),C=!0}catch(t){C=!1}C?e(t.body):t.blob().then(e)}(e,(e=>{const r=new Response(e,n);E(),B&&B.then((e=>e.put(function(t){const e=t.indexOf("?");return e<0?t:t.slice(0,e)}(t.url),r))).catch((t=>d(t.message)))})))}(n,s,o),i=!0,e(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires")))})).catch((t=>{a||e(new Error(t.message))}))})(r,null,l):r.blob().then((n=>e(new q(r.status,r.statusText,t.url,n)))))).catch((t=>{20!==t.code&&e(new Error(t.message))}))})(),{cancel:()=>{a=!0,i||r.abort()}}}const Z=function(t,e){if(/:\/\//.test(t.url)&&!/^https?:|^file:/.test(t.url)){if(g()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e);if(!g()){const r=t.url.substring(0,t.url.indexOf("://"));return(M.REGISTERED_PROTOCOLS[r]||N)(t,e)}}if(!(/^file:/.test(r=t.url)||/^file:/.test(j())&&!/^\w+:/.test(r))){if(fetch&&Request&&AbortController&&Object.prototype.hasOwnProperty.call(Request.prototype,"signal"))return N(t,e);if(g()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e,void 0,!0)}var r;return function(t,e){const r=new XMLHttpRequest;r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer");for(const e in t.headers)r.setRequestHeader(e,t.headers[e]);return"json"===t.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===t.credentials,r.onerror=()=>{e(new Error(r.statusText))},r.onload=()=>{if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){let n=r.response;if("json"===t.type)try{n=JSON.parse(r.response)}catch(t){return e(t)}e(null,n,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else{const n=new Blob([r.response],{type:r.getResponseHeader("Content-Type")});e(new q(r.status,r.statusText,t.url,n))}},r.send(t.body),{cancel:()=>r.abort()}}(t,e)},K=function(t,e){return Z(o(t,{type:"arrayBuffer"}),e)};function G(t){const e=window.document.createElement("a");return e.href=t,e.protocol===window.document.location.protocol&&e.host===window.document.location.host}const J="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let X,Y;X=[],Y=0;const H=function(t,e){if(T.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),Y>=M.MAX_PARALLEL_IMAGE_REQUESTS){const r={requestParameters:t,callback:e,cancelled:!1,cancel(){this.cancelled=!0}};return X.push(r),r}Y++;let r=!1;const n=()=>{if(!r)for(r=!0,Y--;X.length&&Y<M.MAX_PARALLEL_IMAGE_REQUESTS;){const t=X.shift(),{requestParameters:e,callback:r,cancelled:n}=t;n||(t.cancel=H(e,r).cancel)}},i=K(t,((t,r,i,a)=>{n(),t?e(t):r&&function(t,e){"function"==typeof createImageBitmap?function(t,e){const r=new Blob([new Uint8Array(t)],{type:"image/png"});createImageBitmap(r).then((t=>{e(null,t)})).catch((t=>{e(new Error(`Could not load image because of ${t.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))}))}(t,e):function(t,e){const r=new Image;r.onload=()=>{e(null,r),URL.revokeObjectURL(r.src),r.onload=null,window.requestAnimationFrame((()=>{r.src=J}))},r.onerror=()=>e(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const n=new Blob([new Uint8Array(t)],{type:"image/png"});r.src=t.byteLength?URL.createObjectURL(n):J}(t,e)}(r,((t,r)=>{null!=t?e(t):null!=r&&e(null,r,{cacheControl:i,expires:a})}))}));return{cancel:()=>{i.cancel(),n()}}};function W(t,e,r){r[t]&&-1!==r[t].indexOf(e)||(r[t]=r[t]||[],r[t].push(e))}function Q(t,e,r){if(r&&r[t]){const n=r[t].indexOf(e);-1!==n&&r[t].splice(n,1)}}class tt{constructor(t,e={}){o(this,e),this.type=t}}class et extends tt{constructor(t,e={}){super("error",o({error:t},e))}}class rt{on(t,e){return this._listeners=this._listeners||{},W(t,e,this._listeners),this}off(t,e){return Q(t,e,this._listeners),Q(t,e,this._oneTimeListeners),this}once(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},W(t,e,this._oneTimeListeners),this}fire(t,e){"string"==typeof t&&(t=new tt(t,e||{}));const r=t.type;if(this.listens(r)){t.target=this;const e=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];for(const r of e)r.call(this,t);const n=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];for(const e of n)Q(r,e,this._oneTimeListeners),e.call(this,t);const i=this._eventedParent;i&&(o(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),i.fire(t))}else t instanceof et&&console.error(t.error);return this}listens(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)}setEventedParent(t,e){return this._eventedParent=t,this._eventedParentData=e,this}}var nt={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1},elevationOffset:{type:"number",default:450}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}};class it{constructor(t,e,r,n){this.message=(t?`${t}: `:"")+r,n&&(this.identifier=n),null!=e&&e.__line__&&(this.line=e.__line__)}}function at(t){const e=t.value;return e?[new it(t.key,e,"constants have been deprecated as of v8")]:[]}function st(t,...e){for(const r of e)for(const e in r)t[e]=r[e];return t}function ot(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function lt(t){if(Array.isArray(t))return t.map(lt);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){const e={};for(const r in t)e[r]=lt(t[r]);return e}return ot(t)}class ut extends Error{constructor(t,e){super(e),this.message=e,this.key=t}}class ct{constructor(t,e=[]){this.parent=t,this.bindings={};for(const[t,r]of e)this.bindings[t]=r}concat(t){return new ct(this,t)}get(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(`${t} not found in scope.`)}has(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)}}const ht={kind:"null"},pt={kind:"number"},ft={kind:"string"},dt={kind:"boolean"},yt={kind:"color"},mt={kind:"object"},gt={kind:"value"},xt={kind:"collator"},vt={kind:"formatted"},bt={kind:"padding"},wt={kind:"resolvedImage"};function _t(t,e){return{kind:"array",itemType:t,N:e}}function At(t){if("array"===t.kind){const e=At(t.itemType);return"number"==typeof t.N?`array<${e}, ${t.N}>`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}const kt=[ht,pt,ft,dt,yt,vt,mt,_t(gt),bt,wt];function St(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!St(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(const t of kt)if(!St(t,e))return null}return`Expected ${At(t)} but found ${At(e)} instead.`}function It(t,e){return e.some((e=>e.kind===t.kind))}function Mt(t,e){return e.some((e=>"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"==typeof t:e===typeof t))}var zt,Bt={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Ct(t){return(t=Math.round(t))<0?0:t>255?255:t}function Pt(t){return Ct("%"===t[t.length-1]?parseFloat(t)/100*255:parseInt(t))}function Vt(t){return(e="%"===t[t.length-1]?parseFloat(t)/100:parseFloat(t))<0?0:e>1?1:e;var e}function Et(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{zt={}.parseCSSColor=function(t){var e,r=t.replace(/ /g,"").toLowerCase();if(r in Bt)return Bt[r].slice();if("#"===r[0])return 4===r.length?(e=parseInt(r.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===r.length&&(e=parseInt(r.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var n=r.indexOf("("),i=r.indexOf(")");if(-1!==n&&i+1===r.length){var a=r.substr(0,n),s=r.substr(n+1,i-(n+1)).split(","),o=1;switch(a){case"rgba":if(4!==s.length)return null;o=Vt(s.pop());case"rgb":return 3!==s.length?null:[Pt(s[0]),Pt(s[1]),Pt(s[2]),o];case"hsla":if(4!==s.length)return null;o=Vt(s.pop());case"hsl":if(3!==s.length)return null;var l=(parseFloat(s[0])%360+360)%360/360,u=Vt(s[1]),c=Vt(s[2]),h=c<=.5?c*(u+1):c+u-c*u,p=2*c-h;return[Ct(255*Et(p,h,l+1/3)),Ct(255*Et(p,h,l)),Ct(255*Et(p,h,l-1/3)),o];default:return null}}return null}}catch(t){}class Ft{constructor(t,e,r,n=1){this.r=t,this.g=e,this.b=r,this.a=n}static parse(t){if(!t)return;if(t instanceof Ft)return t;if("string"!=typeof t)return;const e=zt(t);return e?new Ft(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3]):void 0}toString(){const[t,e,r,n]=this.toArray();return`rgba(${Math.round(t)},${Math.round(e)},${Math.round(r)},${n})`}toArray(){const{r:t,g:e,b:r,a:n}=this;return 0===n?[0,0,0,0]:[255*t/n,255*e/n,255*r/n,n]}}Ft.black=new Ft(0,0,0,1),Ft.white=new Ft(1,1,1,1),Ft.transparent=new Ft(0,0,0,0),Ft.red=new Ft(1,0,0,1);class Tt{constructor(t,e,r){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(t,e){return this.collator.compare(t,e)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Lt{constructor(t,e,r,n,i){this.text=t,this.image=e,this.scale=r,this.fontStack=n,this.textColor=i}}class Dt{constructor(t){this.sections=t}static fromString(t){return new Dt([new Lt(t,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((t=>0!==t.text.length||t.image&&0!==t.image.name.length))}static factory(t){return t instanceof Dt?t:Dt.fromString(t)}toString(){return 0===this.sections.length?"":this.sections.map((t=>t.text)).join("")}}class $t{constructor(t){this.values=t.slice()}static parse(t){if(t instanceof $t)return t;if("number"==typeof t)return new $t([t,t,t,t]);if(Array.isArray(t)&&!(t.length<1||t.length>4)){for(const e of t)if("number"!=typeof e)return;switch(t.length){case 1:t=[t[0],t[0],t[0],t[0]];break;case 2:t=[t[0],t[1],t[0],t[1]];break;case 3:t=[t[0],t[1],t[2],t[1]]}return new $t(t)}}toString(){return JSON.stringify(this.values)}}class Rt{constructor(t){this.name=t.name,this.available=t.available}toString(){return this.name}static fromString(t){return t?new Rt({name:t,available:!1}):null}}function Ot(t,e,r,n){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===n||"number"==typeof n&&n>=0&&n<=1?null:`Invalid rgba value [${[t,e,r,n].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${("number"==typeof n?[t,e,r,n]:[t,e,r]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function Ut(t){if(null===t)return!0;if("string"==typeof t)return!0;if("boolean"==typeof t)return!0;if("number"==typeof t)return!0;if(t instanceof Ft)return!0;if(t instanceof Tt)return!0;if(t instanceof Dt)return!0;if(t instanceof $t)return!0;if(t instanceof Rt)return!0;if(Array.isArray(t)){for(const e of t)if(!Ut(e))return!1;return!0}if("object"==typeof t){for(const e in t)if(!Ut(t[e]))return!1;return!0}return!1}function qt(t){if(null===t)return ht;if("string"==typeof t)return ft;if("boolean"==typeof t)return dt;if("number"==typeof t)return pt;if(t instanceof Ft)return yt;if(t instanceof Tt)return xt;if(t instanceof Dt)return vt;if(t instanceof $t)return bt;if(t instanceof Rt)return wt;if(Array.isArray(t)){const e=t.length;let r;for(const e of t){const t=qt(e);if(r){if(r===t)continue;r=gt;break}r=t}return _t(r||gt,e)}return mt}function jt(t){const e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Ft||t instanceof Dt||t instanceof $t||t instanceof Rt?t.toString():JSON.stringify(t)}class Nt{constructor(t,e){this.type=t,this.value=e}static parse(t,e){if(2!==t.length)return e.error(`'literal' expression requires exactly one argument, but found ${t.length-1} instead.`);if(!Ut(t[1]))return e.error("invalid value");const r=t[1];let n=qt(r);const i=e.expectedType;return"array"!==n.kind||0!==n.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(n=i),new Nt(n,r)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}}class Zt{constructor(t){this.name="ExpressionEvaluationError",this.message=t}toJSON(){return this.message}}const Kt={string:ft,number:pt,boolean:dt,object:mt};class Gt{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");let r,n=1;const i=t[0];if("array"===i){let i,a;if(t.length>2){const r=t[1];if("string"!=typeof r||!(r in Kt)||"object"===r)return e.error('The item type argument of "array" must be one of string, number, boolean',1);i=Kt[r],n++}else i=gt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);a=t[2],n++}r=_t(i,a)}else{if(!Kt[i])throw new Error(`Types doesn't contain name = ${i}`);r=Kt[i]}const a=[];for(;n<t.length;n++){const r=e.parse(t[n],n,gt);if(!r)return null;a.push(r)}return new Gt(r,a)}evaluate(t){for(let e=0;e<this.args.length;e++){const r=this.args[e].evaluate(t);if(!St(this.type,qt(r)))return r;if(e===this.args.length-1)throw new Zt(`Expected value to be of type ${At(this.type)}, but found ${At(qt(r))} instead.`)}throw new Error}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every((t=>t.outputDefined()))}}const Jt={"to-boolean":dt,"to-color":yt,"to-number":pt,"to-string":ft};class Xt{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const r=t[0];if(!Jt[r])throw new Error(`Can't parse ${r} as it is not part of the known types`);if(("to-boolean"===r||"to-string"===r)&&2!==t.length)return e.error("Expected one argument.");const n=Jt[r],i=[];for(let r=1;r<t.length;r++){const n=e.parse(t[r],r,gt);if(!n)return null;i.push(n)}return new Xt(n,i)}evaluate(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){let e,r;for(const n of this.args){if(e=n.evaluate(t),r=null,e instanceof Ft)return e;if("string"==typeof e){const r=t.parseColor(e);if(r)return r}else if(Array.isArray(e)&&(r=e.length<3||e.length>4?`Invalid rbga value ${JSON.stringify(e)}: expected an array containing either three or four numeric values.`:Ot(e[0],e[1],e[2],e[3]),!r))return new Ft(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Zt(r||`Could not parse color from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}if("padding"===this.type.kind){let e;for(const r of this.args){e=r.evaluate(t);const n=$t.parse(e);if(n)return n}throw new Zt(`Could not parse padding from value '${"string"==typeof e?e:JSON.stringify(e)}'`)}if("number"===this.type.kind){let e=null;for(const r of this.args){if(e=r.evaluate(t),null===e)return 0;const n=Number(e);if(!isNaN(n))return n}throw new Zt(`Could not convert ${JSON.stringify(e)} to number.`)}return"formatted"===this.type.kind?Dt.fromString(jt(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?Rt.fromString(jt(this.args[0].evaluate(t))):jt(this.args[0].evaluate(t))}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every((t=>t.outputDefined()))}}const Yt=["Unknown","Point","LineString","Polygon"];class Ht{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Yt[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(t){let e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Ft.parse(t)),e}}class Wt{constructor(t,e,r,n){this.name=t,this.type=e,this._evaluate=r,this.args=n}evaluate(t){return this._evaluate(t,this.args)}eachChild(t){this.args.forEach(t)}outputDefined(){return!1}static parse(t,e){const r=t[0],n=Wt.definitions[r];if(!n)return e.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(n)?n[0]:n.type,a=Array.isArray(n)?[[n[1],n[2]]]:n.overloads,s=a.filter((([e])=>!Array.isArray(e)||e.length===t.length-1));let o=null;for(const[n,a]of s){o=new we(e.registry,e.path,null,e.scope);const s=[];let l=!1;for(let e=1;e<t.length;e++){const r=t[e],i=Array.isArray(n)?n[e-1]:n.type,a=o.parse(r,1+s.length,i);if(!a){l=!0;break}s.push(a)}if(!l)if(Array.isArray(n)&&n.length!==s.length)o.error(`Expected ${n.length} arguments, but found ${s.length} instead.`);else{for(let t=0;t<s.length;t++){const e=Array.isArray(n)?n[t]:n.type,r=s[t];o.concat(t+1).checkSubtype(e,r.type)}if(0===o.errors.length)return new Wt(r,i,a,s)}}if(1===s.length)e.errors.push(...o.errors);else{const r=(s.length?s:a).map((([t])=>{return e=t,Array.isArray(e)?`(${e.map(At).join(", ")})`:`(${At(e.type)}...)`;var e})).join(" | "),n=[];for(let r=1;r<t.length;r++){const i=e.parse(t[r],1+n.length);if(!i)return null;n.push(At(i.type))}e.error(`Expected arguments of type ${r}, but found (${n.join(", ")}) instead.`)}return null}static register(t,e){Wt.definitions=e;for(const r in e)t[r]=Wt}}class Qt{constructor(t,e,r){this.type=xt,this.locale=r,this.caseSensitive=t,this.diacriticSensitive=e}static parse(t,e){if(2!==t.length)return e.error("Expected one argument.");const r=t[1];if("object"!=typeof r||Array.isArray(r))return e.error("Collator options argument must be an object.");const n=e.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,dt);if(!n)return null;const i=e.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,dt);if(!i)return null;let a=null;return r.locale&&(a=e.parse(r.locale,1,ft),!a)?null:new Qt(n,i,a)}evaluate(t){return new Tt(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)}eachChild(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)}outputDefined(){return!1}}const te=8192;function ee(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1])}function re(t,e){return!(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function ne(t,e){const r=(180+t[0])/360,n=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,i=Math.pow(2,e.z);return[Math.round(r*i*te),Math.round(n*i*te)]}function ie(t,e,r){const n=t[0]-e[0],i=t[1]-e[1],a=t[0]-r[0],s=t[1]-r[1];return n*s-a*i==0&&n*a<=0&&i*s<=0}function ae(t,e){let r=!1;for(let s=0,o=e.length;s<o;s++){const o=e[s];for(let e=0,s=o.length;e<s-1;e++){if(ie(t,o[e],o[e+1]))return!1;(i=o[e])[1]>(n=t)[1]!=(a=o[e+1])[1]>n[1]&&n[0]<(a[0]-i[0])*(n[1]-i[1])/(a[1]-i[1])+i[0]&&(r=!r)}}var n,i,a;return r}function se(t,e){for(let r=0;r<e.length;r++)if(ae(t,e[r]))return!0;return!1}function oe(t,e,r,n){const i=n[0]-r[0],a=n[1]-r[1],s=(t[0]-r[0])*a-i*(t[1]-r[1]),o=(e[0]-r[0])*a-i*(e[1]-r[1]);return s>0&&o<0||s<0&&o>0}function le(t,e,r){for(const u of r)for(let r=0;r<u.length-1;++r)if(0!=(o=[(s=u[r+1])[0]-(a=u[r])[0],s[1]-a[1]])[0]*(l=[(i=e)[0]-(n=t)[0],i[1]-n[1]])[1]-o[1]*l[0]&&oe(n,i,a,s)&&oe(a,s,n,i))return!0;var n,i,a,s,o,l;return!1}function ue(t,e){for(let r=0;r<t.length;++r)if(!ae(t[r],e))return!1;for(let r=0;r<t.length-1;++r)if(le(t[r],t[r+1],e))return!1;return!0}function ce(t,e){for(let r=0;r<e.length;r++)if(ue(t,e[r]))return!0;return!1}function he(t,e,r){const n=[];for(let i=0;i<t.length;i++){const a=[];for(let n=0;n<t[i].length;n++){const s=ne(t[i][n],r);ee(e,s),a.push(s)}n.push(a)}return n}function pe(t,e,r){const n=[];for(let i=0;i<t.length;i++){const a=he(t[i],e,r);n.push(a)}return n}function fe(t,e,r,n){if(t[0]<r[0]||t[0]>r[2]){const e=.5*n;let i=t[0]-r[0]>e?-n:r[0]-t[0]>e?n:0;0===i&&(i=t[0]-r[2]>e?-n:r[2]-t[0]>e?n:0),t[0]+=i}ee(e,t)}function de(t,e,r,n){const i=Math.pow(2,n.z)*te,a=[n.x*te,n.y*te],s=[];for(const n of t)for(const t of n){const n=[t.x+a[0],t.y+a[1]];fe(n,e,r,i),s.push(n)}return s}function ye(t,e,r,n){const i=Math.pow(2,n.z)*te,a=[n.x*te,n.y*te],s=[];for(const r of t){const t=[];for(const n of r){const r=[n.x+a[0],n.y+a[1]];ee(e,r),t.push(r)}s.push(t)}if(e[2]-e[0]<=i/2){(o=e)[0]=o[1]=1/0,o[2]=o[3]=-1/0;for(const t of s)for(const n of t)fe(n,e,r,i)}var o;return s}class me{constructor(t,e){this.type=dt,this.geojson=t,this.geometries=e}static parse(t,e){if(2!==t.length)return e.error(`'within' expression requires exactly one argument, but found ${t.length-1} instead.`);if(Ut(t[1])){const e=t[1];if("FeatureCollection"===e.type)for(let t=0;t<e.features.length;++t){const r=e.features[t].geometry.type;if("Polygon"===r||"MultiPolygon"===r)return new me(e,e.features[t].geometry)}else if("Feature"===e.type){const t=e.geometry.type;if("Polygon"===t||"MultiPolygon"===t)return new me(e,e.geometry)}else if("Polygon"===e.type||"MultiPolygon"===e.type)return new me(e,e)}return e.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(t){if(null!=t.geometry()&&null!=t.canonicalID()){if("Point"===t.geometryType())return function(t,e){const r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const a=he(e.coordinates,n,i),s=de(t.geometry(),r,n,i);if(!re(r,n))return!1;for(const t of s)if(!ae(t,a))return!1}if("MultiPolygon"===e.type){const a=pe(e.coordinates,n,i),s=de(t.geometry(),r,n,i);if(!re(r,n))return!1;for(const t of s)if(!se(t,a))return!1}return!0}(t,this.geometries);if("LineString"===t.geometryType())return function(t,e){const r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if("Polygon"===e.type){const a=he(e.coordinates,n,i),s=ye(t.geometry(),r,n,i);if(!re(r,n))return!1;for(const t of s)if(!ue(t,a))return!1}if("MultiPolygon"===e.type){const a=pe(e.coordinates,n,i),s=ye(t.geometry(),r,n,i);if(!re(r,n))return!1;for(const t of s)if(!ce(t,a))return!1}return!0}(t,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}}function ge(t){if(t instanceof Wt){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}if(t instanceof me)return!1;let e=!0;return t.eachChild((t=>{e&&!ge(t)&&(e=!1)})),e}function xe(t){if(t instanceof Wt&&"feature-state"===t.name)return!1;let e=!0;return t.eachChild((t=>{e&&!xe(t)&&(e=!1)})),e}function ve(t,e){if(t instanceof Wt&&e.indexOf(t.name)>=0)return!1;let r=!0;return t.eachChild((t=>{r&&!ve(t,e)&&(r=!1)})),r}class be{constructor(t,e){this.type=e.type,this.name=t,this.boundExpression=e}static parse(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");const r=t[1];return e.scope.has(r)?new be(r,e.scope.get(r)):e.error(`Unknown variable "${r}". Make sure "${r}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(t){return this.boundExpression.evaluate(t)}eachChild(){}outputDefined(){return!1}}class we{constructor(t,e=[],r,n=new ct,i=[]){this.registry=t,this.path=e,this.key=e.map((t=>`[${t}]`)).join(""),this.scope=n,this.errors=i,this.expectedType=r}parse(t,e,r,n,i={}){return e?this.concat(e,r,n)._parse(t,i):this._parse(t,i)}_parse(t,e){function r(t,e,r){return"assert"===r?new Gt(e,[t]):"coerce"===r?new Xt(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const n=t[0];if("string"!=typeof n)return this.error(`Expression name must be a string, but found ${typeof n} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[n];if(i){let n=i.parse(t,this);if(!n)return null;if(this.expectedType){const t=this.expectedType,i=n.type;if("string"!==t.kind&&"number"!==t.kind&&"boolean"!==t.kind&&"object"!==t.kind&&"array"!==t.kind||"value"!==i.kind)if("color"!==t.kind&&"formatted"!==t.kind&&"resolvedImage"!==t.kind||"value"!==i.kind&&"string"!==i.kind)if("padding"!==t.kind||"value"!==i.kind&&"number"!==i.kind&&"array"!==i.kind){if(this.checkSubtype(t,i))return null}else n=r(n,t,e.typeAnnotation||"coerce");else n=r(n,t,e.typeAnnotation||"coerce");else n=r(n,t,e.typeAnnotation||"assert")}if(!(n instanceof Nt)&&"resolvedImage"!==n.type.kind&&_e(n)){const t=new Ht;try{n=new Nt(n.type,n.evaluate(t))}catch(t){return this.error(t.message),null}}return n}return this.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(void 0===t?"'undefined' value invalid. Use null instead.":"object"==typeof t?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof t} instead.`)}concat(t,e,r){const n="number"==typeof t?this.path.concat(t):this.path,i=r?this.scope.concat(r):this.scope;return new we(this.registry,n,e||null,i,this.errors)}error(t,...e){const r=`${this.key}${e.map((t=>`[${t}]`)).join("")}`;this.errors.push(new ut(r,t))}checkSubtype(t,e){const r=St(t,e);return r&&this.error(r),r}}function _e(t){if(t instanceof be)return _e(t.boundExpression);if(t instanceof Wt&&"error"===t.name)return!1;if(t instanceof Qt)return!1;if(t instanceof me)return!1;const e=t instanceof Xt||t instanceof Gt;let r=!0;return t.eachChild((t=>{r=e?r&&_e(t):r&&t instanceof Nt})),!!r&&ge(t)&&ve(t,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}function Ae(t,e){const r=t.length-1;let n,i,a=0,s=r,o=0;for(;a<=s;)if(o=Math.floor((a+s)/2),n=t[o],i=t[o+1],n<=e){if(o===r||e<i)return o;a=o+1}else{if(!(n>e))throw new Zt("Input is not a number.");s=o-1}return 0}class ke{constructor(t,e,r){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(const[t,e]of r)this.labels.push(t),this.outputs.push(e)}static parse(t,e){if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");const r=e.parse(t[1],1,pt);if(!r)return null;const n=[];let i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(let r=1;r<t.length;r+=2){const a=1===r?-1/0:t[r],s=t[r+1],o=r,l=r+1;if("number"!=typeof a)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',o);if(n.length&&n[n.length-1][0]>=a)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',o);const u=e.parse(s,l,i);if(!u)return null;i=i||u.type,n.push([a,u])}return new ke(i,r,n)}evaluate(t){const e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);const n=this.input.evaluate(t);if(n<=e[0])return r[0].evaluate(t);const i=e.length;return n>=e[i-1]?r[i-1].evaluate(t):r[Ae(e,n)].evaluate(t)}eachChild(t){t(this.input);for(const e of this.outputs)t(e)}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function Se(t,e,r){return t*(1-r)+e*r}var Ie=Object.freeze({__proto__:null,number:Se,color:function(t,e,r){return new Ft(Se(t.r,e.r,r),Se(t.g,e.g,r),Se(t.b,e.b,r),Se(t.a,e.a,r))},array:function(t,e,r){return t.map(((t,n)=>Se(t,e[n],r)))},padding:function(t,e,r){const n=t.values,i=e.values;return new $t([Se(n[0],i[0],r),Se(n[1],i[1],r),Se(n[2],i[2],r),Se(n[3],i[3],r)])}});const Me=.95047,ze=1.08883,Be=4/29,Ce=6/29,Pe=3*Ce*Ce,Ve=Math.PI/180,Ee=180/Math.PI;function Fe(t){return t>.008856451679035631?Math.pow(t,1/3):t/Pe+Be}function Te(t){return t>Ce?t*t*t:Pe*(t-Be)}function Le(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function De(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function $e(t){const e=De(t.r),r=De(t.g),n=De(t.b),i=Fe((.4124564*e+.3575761*r+.1804375*n)/Me),a=Fe((.2126729*e+.7151522*r+.072175*n)/1);return{l:116*a-16,a:500*(i-a),b:200*(a-Fe((.0193339*e+.119192*r+.9503041*n)/ze)),alpha:t.a}}function Re(t){let e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,n=isNaN(t.b)?e:e-t.b/200;return e=1*Te(e),r=Me*Te(r),n=ze*Te(n),new Ft(Le(3.2404542*r-1.5371385*e-.4985314*n),Le(-.969266*r+1.8760108*e+.041556*n),Le(.0556434*r-.2040259*e+1.0572252*n),t.alpha)}function Oe(t,e,r){const n=e-t;return t+r*(n>180||n<-180?n-360*Math.round(n/360):n)}const Ue={forward:$e,reverse:Re,interpolate:function(t,e,r){return{l:Se(t.l,e.l,r),a:Se(t.a,e.a,r),b:Se(t.b,e.b,r),alpha:Se(t.alpha,e.alpha,r)}}},qe={forward:function(t){const{l:e,a:r,b:n}=$e(t),i=Math.atan2(n,r)*Ee;return{h:i<0?i+360:i,c:Math.sqrt(r*r+n*n),l:e,alpha:t.a}},reverse:function(t){const e=t.h*Ve,r=t.c;return Re({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:Oe(t.h,e.h,r),c:Se(t.c,e.c,r),l:Se(t.l,e.l,r),alpha:Se(t.alpha,e.alpha,r)}}};var je=Object.freeze({__proto__:null,lab:Ue,hcl:qe});class Ne{constructor(t,e,r,n,i){this.type=t,this.operator=e,this.interpolation=r,this.input=n,this.labels=[],this.outputs=[];for(const[t,e]of i)this.labels.push(t),this.outputs.push(e)}static interpolationFactor(t,r,n,i){let a=0;if("exponential"===t.name)a=Ze(r,t.base,n,i);else if("linear"===t.name)a=Ze(r,1,n,i);else if("cubic-bezier"===t.name){const s=t.controlPoints;a=new e(s[0],s[1],s[2],s[3]).solve(Ze(r,1,n,i))}return a}static parse(t,e){let[r,n,i,...a]=t;if(!Array.isArray(n)||0===n.length)return e.error("Expected an interpolation type expression.",1);if("linear"===n[0])n={name:"linear"};else if("exponential"===n[0]){const t=n[1];if("number"!=typeof t)return e.error("Exponential interpolation requires a numeric base.",1,1);n={name:"exponential",base:t}}else{if("cubic-bezier"!==n[0])return e.error(`Unknown interpolation type ${String(n[0])}`,1,0);{const t=n.slice(1);if(4!==t.length||t.some((t=>"number"!=typeof t||t<0||t>1)))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);n={name:"cubic-bezier",controlPoints:t}}}if(t.length-1<4)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(i=e.parse(i,2,pt),!i)return null;const s=[];let o=null;"interpolate-hcl"===r||"interpolate-lab"===r?o=yt:e.expectedType&&"value"!==e.expectedType.kind&&(o=e.expectedType);for(let t=0;t<a.length;t+=2){const r=a[t],n=a[t+1],i=t+3,l=t+4;if("number"!=typeof r)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',i);if(s.length&&s[s.length-1][0]>=r)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const u=e.parse(n,l,o);if(!u)return null;o=o||u.type,s.push([r,u])}return"number"===o.kind||"color"===o.kind||"padding"===o.kind||"array"===o.kind&&"number"===o.itemType.kind&&"number"==typeof o.N?new Ne(o,r,n,i,s):e.error(`Type ${At(o)} is not interpolatable.`)}evaluate(t){const e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);const n=this.input.evaluate(t);if(n<=e[0])return r[0].evaluate(t);const i=e.length;if(n>=e[i-1])return r[i-1].evaluate(t);const a=Ae(e,n),s=Ne.interpolationFactor(this.interpolation,n,e[a],e[a+1]),o=r[a].evaluate(t),l=r[a+1].evaluate(t);return"interpolate"===this.operator?Ie[this.type.kind.toLowerCase()](o,l,s):"interpolate-hcl"===this.operator?qe.reverse(qe.interpolate(qe.forward(o),qe.forward(l),s)):Ue.reverse(Ue.interpolate(Ue.forward(o),Ue.forward(l),s))}eachChild(t){t(this.input);for(const e of this.outputs)t(e)}outputDefined(){return this.outputs.every((t=>t.outputDefined()))}}function Ze(t,e,r,n){const i=n-r,a=t-r;return 0===i?0:1===e?a/i:(Math.pow(e,a)-1)/(Math.pow(e,i)-1)}class Ke{constructor(t,e){this.type=t,this.args=e}static parse(t,e){if(t.length<2)return e.error("Expectected at least one argument.");let r=null;const n=e.expectedType;n&&"value"!==n.kind&&(r=n);const i=[];for(const n of t.slice(1)){const t=e.parse(n,1+i.length,r,void 0,{typeAnnotation:"omit"});if(!t)return null;r=r||t.type,i.push(t)}if(!r)throw new Error("No output type");const a=n&&i.some((t=>St(n,t.type)));return new Ke(a?gt:r,i)}evaluate(t){let e,r=null,n=0;for(const i of this.args)if(n++,r=i.evaluate(t),r&&r instanceof Rt&&!r.available&&(e||(e=r.name),r=null,n===this.args.length&&(r=e)),null!==r)break;return r}eachChild(t){this.args.forEach(t)}outputDefined(){return this.args.every((t=>t.outputDefined()))}}class Ge{constructor(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e}evaluate(t){return this.result.evaluate(t)}eachChild(t){for(const e of this.bindings)t(e[1]);t(this.result)}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found ${t.length-1} instead.`);const r=[];for(let n=1;n<t.length-1;n+=2){const i=t[n];if("string"!=typeof i)return e.error(`Expected string, but found ${typeof i} instead.`,n);if(/[^a-zA-Z0-9_]/.test(i))return e.error("Variable names must contain only alphanumeric characters or '_'.",n);const a=e.parse(t[n+1],n+1);if(!a)return null;r.push([i,a])}const n=e.parse(t[t.length-1],t.length-1,e.expectedType,r);return n?new Ge(r,n):null}outputDefined(){return this.result.outputDefined()}}class Je{constructor(t,e,r){this.type=t,this.index=e,this.input=r}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const r=e.parse(t[1],1,pt),n=e.parse(t[2],2,_t(e.expectedType||gt));return r&&n?new Je(n.type.itemType,r,n):null}evaluate(t){const e=this.index.evaluate(t),r=this.input.evaluate(t);if(e<0)throw new Zt(`Array index out of bounds: ${e} < 0.`);if(e>=r.length)throw new Zt(`Array index out of bounds: ${e} > ${r.length-1}.`);if(e!==Math.floor(e))throw new Zt(`Array index must be an integer, but found ${e} instead.`);return r[e]}eachChild(t){t(this.index),t(this.input)}outputDefined(){return!1}}class Xe{constructor(t,e){this.type=dt,this.needle=t,this.haystack=e}static parse(t,e){if(3!==t.length)return e.error(`Expected 2 arguments, but found ${t.length-1} instead.`);const r=e.parse(t[1],1,gt),n=e.parse(t[2],2,gt);return r&&n?It(r.type,[dt,ft,pt,ht,gt])?new Xe(r,n):e.error(`Expected first argument to be of type boolean, string, number or null, but found ${At(r.type)} instead`):null}evaluate(t){const e=this.needle.evaluate(t),r=this.haystack.evaluate(t);if(!r)return!1;if(!Mt(e,["boolean","string","number","null"]))throw new Zt(`Expected first argument to be of type boolean, string, number or null, but found ${At(qt(e))} instead.`);if(!Mt(r,["string","array"]))throw new Zt(`Expected second argument to be of type array or string, but found ${At(qt(r))} instead.`);return r.indexOf(e)>=0}eachChild(t){t(this.needle),t(this.haystack)}outputDefined(){return!0}}class Ye{constructor(t,e,r){this.type=pt,this.needle=t,this.haystack=e,this.fromIndex=r}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 3 or 4 arguments, but found ${t.length-1} instead.`);const r=e.parse(t[1],1,gt),n=e.parse(t[2],2,gt);if(!r||!n)return null;if(!It(r.type,[dt,ft,pt,ht,gt]))return e.error(`Expected first argument to be of type boolean, string, number or null, but found ${At(r.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,pt);return i?new Ye(r,n,i):null}return new Ye(r,n)}evaluate(t){const e=this.needle.evaluate(t),r=this.haystack.evaluate(t);if(!Mt(e,["boolean","string","number","null"]))throw new Zt(`Expected first argument to be of type boolean, string, number or null, but found ${At(qt(e))} instead.`);if(!Mt(r,["string","array"]))throw new Zt(`Expected second argument to be of type array or string, but found ${At(qt(r))} instead.`);if(this.fromIndex){const n=this.fromIndex.evaluate(t);return r.indexOf(e,n)}return r.indexOf(e)}eachChild(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex)}outputDefined(){return!1}}class He{constructor(t,e,r,n,i,a){this.inputType=t,this.type=e,this.input=r,this.cases=n,this.outputs=i,this.otherwise=a}static parse(t,e){if(t.length<5)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if(t.length%2!=1)return e.error("Expected an even number of arguments.");let r,n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);const i={},a=[];for(let s=2;s<t.length-1;s+=2){let o=t[s];const l=t[s+1];Array.isArray(o)||(o=[o]);const u=e.concat(s);if(0===o.length)return u.error("Expected at least one branch label.");for(const t of o){if("number"!=typeof t&&"string"!=typeof t)return u.error("Branch labels must be numbers or strings.");if("number"==typeof t&&Math.abs(t)>Number.MAX_SAFE_INTEGER)return u.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof t&&Math.floor(t)!==t)return u.error("Numeric branch labels must be integer values.");if(r){if(u.checkSubtype(r,qt(t)))return null}else r=qt(t);if(void 0!==i[String(t)])return u.error("Branch labels must be unique.");i[String(t)]=a.length}const c=e.parse(l,s,n);if(!c)return null;n=n||c.type,a.push(c)}const s=e.parse(t[1],1,gt);if(!s)return null;const o=e.parse(t[t.length-1],t.length-1,n);return o?"value"!==s.type.kind&&e.concat(1).checkSubtype(r,s.type)?null:new He(r,n,s,i,a,o):null}evaluate(t){const e=this.input.evaluate(t);return(qt(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)}eachChild(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)}outputDefined(){return this.outputs.every((t=>t.outputDefined()))&&this.otherwise.outputDefined()}}class We{constructor(t,e,r){this.type=t,this.branches=e,this.otherwise=r}static parse(t,e){if(t.length<4)return e.error(`Expected at least 3 arguments, but found only ${t.length-1}.`);if(t.length%2!=0)return e.error("Expected an odd number of arguments.");let r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);const n=[];for(let i=1;i<t.length-1;i+=2){const a=e.parse(t[i],i,dt);if(!a)return null;const s=e.parse(t[i+1],i+1,r);if(!s)return null;n.push([a,s]),r=r||s.type}const i=e.parse(t[t.length-1],t.length-1,r);if(!i)return null;if(!r)throw new Error("Can't infer output type");return new We(r,n,i)}evaluate(t){for(const[e,r]of this.branches)if(e.evaluate(t))return r.evaluate(t);return this.otherwise.evaluate(t)}eachChild(t){for(const[e,r]of this.branches)t(e),t(r);t(this.otherwise)}outputDefined(){return this.branches.every((([t,e])=>e.outputDefined()))&&this.otherwise.outputDefined()}}class Qe{constructor(t,e,r,n){this.type=t,this.input=e,this.beginIndex=r,this.endIndex=n}static parse(t,e){if(t.length<=2||t.length>=5)return e.error(`Expected 3 or 4 arguments, but found ${t.length-1} instead.`);const r=e.parse(t[1],1,gt),n=e.parse(t[2],2,pt);if(!r||!n)return null;if(!It(r.type,[_t(gt),ft,gt]))return e.error(`Expected first argument to be of type array or string, but found ${At(r.type)} instead`);if(4===t.length){const i=e.parse(t[3],3,pt);return i?new Qe(r.type,r,n,i):null}return new Qe(r.type,r,n)}evaluate(t){const e=this.input.evaluate(t),r=this.beginIndex.evaluate(t);if(!Mt(e,["string","array"]))throw new Zt(`Expected first argument to be of type array or string, but found ${At(qt(e))} instead.`);if(this.endIndex){const n=this.endIndex.evaluate(t);return e.slice(r,n)}return e.slice(r)}eachChild(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex)}outputDefined(){return!1}}function tr(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function er(t,e,r,n){return 0===n.compare(e,r)}function rr(t,e,r){const n="=="!==t&&"!="!==t;return class i{constructor(t,e,r){this.type=dt,this.lhs=t,this.rhs=e,this.collator=r,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}static parse(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");const r=t[0];let a=e.parse(t[1],1,gt);if(!a)return null;if(!tr(r,a.type))return e.concat(1).error(`"${r}" comparisons are not supported for type '${At(a.type)}'.`);let s=e.parse(t[2],2,gt);if(!s)return null;if(!tr(r,s.type))return e.concat(2).error(`"${r}" comparisons are not supported for type '${At(s.type)}'.`);if(a.type.kind!==s.type.kind&&"value"!==a.type.kind&&"value"!==s.type.kind)return e.error(`Cannot compare types '${At(a.type)}' and '${At(s.type)}'.`);n&&("value"===a.type.kind&&"value"!==s.type.kind?a=new Gt(s.type,[a]):"value"!==a.type.kind&&"value"===s.type.kind&&(s=new Gt(a.type,[s])));let o=null;if(4===t.length){if("string"!==a.type.kind&&"string"!==s.type.kind&&"value"!==a.type.kind&&"value"!==s.type.kind)return e.error("Cannot use collator to compare non-string types.");if(o=e.parse(t[3],3,xt),!o)return null}return new i(a,s,o)}evaluate(i){const a=this.lhs.evaluate(i),s=this.rhs.evaluate(i);if(n&&this.hasUntypedArgument){const e=qt(a),r=qt(s);if(e.kind!==r.kind||"string"!==e.kind&&"number"!==e.kind)throw new Zt(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${e.kind}, ${r.kind}) instead.`)}if(this.collator&&!n&&this.hasUntypedArgument){const t=qt(a),r=qt(s);if("string"!==t.kind||"string"!==r.kind)return e(i,a,s)}return this.collator?r(i,a,s,this.collator.evaluate(i)):e(i,a,s)}eachChild(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)}outputDefined(){return!0}}}const nr=rr("==",(function(t,e,r){return e===r}),er),ir=rr("!=",(function(t,e,r){return e!==r}),(function(t,e,r,n){return!er(0,e,r,n)})),ar=rr("<",(function(t,e,r){return e<r}),(function(t,e,r,n){return n.compare(e,r)<0})),sr=rr(">",(function(t,e,r){return e>r}),(function(t,e,r,n){return n.compare(e,r)>0})),or=rr("<=",(function(t,e,r){return e<=r}),(function(t,e,r,n){return n.compare(e,r)<=0})),lr=rr(">=",(function(t,e,r){return e>=r}),(function(t,e,r,n){return n.compare(e,r)>=0}));class ur{constructor(t,e,r,n,i){this.type=ft,this.number=t,this.locale=e,this.currency=r,this.minFractionDigits=n,this.maxFractionDigits=i}static parse(t,e){if(3!==t.length)return e.error("Expected two arguments.");const r=e.parse(t[1],1,pt);if(!r)return null;const n=t[2];if("object"!=typeof n||Array.isArray(n))return e.error("NumberFormat options argument must be an object.");let i=null;if(n.locale&&(i=e.parse(n.locale,1,ft),!i))return null;let a=null;if(n.currency&&(a=e.parse(n.currency,1,ft),!a))return null;let s=null;if(n["min-fraction-digits"]&&(s=e.parse(n["min-fraction-digits"],1,pt),!s))return null;let o=null;return n["max-fraction-digits"]&&(o=e.parse(n["max-fraction-digits"],1,pt),!o)?null:new ur(r,i,a,s,o)}evaluate(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))}eachChild(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)}outputDefined(){return!1}}class cr{constructor(t){this.type=vt,this.sections=t}static parse(t,e){if(t.length<2)return e.error("Expected at least one argument.");const r=t[1];if(!Array.isArray(r)&&"object"==typeof r)return e.error("First argument must be an image or text section.");const n=[];let i=!1;for(let r=1;r<=t.length-1;++r){const a=t[r];if(i&&"object"==typeof a&&!Array.isArray(a)){i=!1;let t=null;if(a["font-scale"]&&(t=e.parse(a["font-scale"],1,pt),!t))return null;let r=null;if(a["text-font"]&&(r=e.parse(a["text-font"],1,_t(ft)),!r))return null;let s=null;if(a["text-color"]&&(s=e.parse(a["text-color"],1,yt),!s))return null;const o=n[n.length-1];o.scale=t,o.font=r,o.textColor=s}else{const a=e.parse(t[r],1,gt);if(!a)return null;const s=a.type.kind;if("string"!==s&&"value"!==s&&"null"!==s&&"resolvedImage"!==s)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,n.push({content:a,scale:null,font:null,textColor:null})}}return new cr(n)}evaluate(t){return new Dt(this.sections.map((e=>{const r=e.content.evaluate(t);return qt(r)===wt?new Lt("",r,null,null,null):new Lt(jt(r),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))}eachChild(t){for(const e of this.sections)t(e.content),e.scale&&t(e.scale),e.font&&t(e.font),e.textColor&&t(e.textColor)}outputDefined(){return!1}}class hr{constructor(t){this.type=wt,this.input=t}static parse(t,e){if(2!==t.length)return e.error("Expected two arguments.");const r=e.parse(t[1],1,ft);return r?new hr(r):e.error("No image name provided.")}evaluate(t){const e=this.input.evaluate(t),r=Rt.fromString(e);return r&&t.availableImages&&(r.available=t.availableImages.indexOf(e)>-1),r}eachChild(t){t(this.input)}outputDefined(){return!1}}class pr{constructor(t){this.type=pt,this.input=t}static parse(t,e){if(2!==t.length)return e.error(`Expected 1 argument, but found ${t.length-1} instead.`);const r=e.parse(t[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?e.error(`Expected argument of type string or array, but found ${At(r.type)} instead.`):new pr(r):null}evaluate(t){const e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new Zt(`Expected value to be of type string or array, but found ${At(qt(e))} instead.`)}eachChild(t){t(this.input)}outputDefined(){return!1}}const fr={"==":nr,"!=":ir,">":sr,"<":ar,">=":lr,"<=":or,array:Gt,at:Je,boolean:Gt,case:We,coalesce:Ke,collator:Qt,format:cr,image:hr,in:Xe,"index-of":Ye,interpolate:Ne,"interpolate-hcl":Ne,"interpolate-lab":Ne,length:pr,let:Ge,literal:Nt,match:He,number:Gt,"number-format":ur,object:Gt,slice:Qe,step:ke,string:Gt,"to-boolean":Xt,"to-color":Xt,"to-number":Xt,"to-string":Xt,var:be,within:me};function dr(t,[e,r,n,i]){e=e.evaluate(t),r=r.evaluate(t),n=n.evaluate(t);const a=i?i.evaluate(t):1,s=Ot(e,r,n,a);if(s)throw new Zt(s);return new Ft(e/255*a,r/255*a,n/255*a,a)}function yr(t,e){return t in e}function mr(t,e){const r=e[t];return void 0===r?null:r}function gr(t){return{type:t}}function xr(t){return{result:"success",value:t}}function vr(t){return{result:"error",value:t}}function br(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function wr(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function _r(t){return!!t.expression&&t.expression.interpolated}function Ar(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function kr(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function Sr(t){return t}function Ir(t,e){const r="color"===e.type,n=t.stops&&"object"==typeof t.stops[0][0],i=n||!(n||void 0!==t.property),a=t.type||(_r(e)?"exponential":"interval");if(r||"padding"===e.type){const n=r?Ft.parse:$t.parse;(t=st({},t)).stops&&(t.stops=t.stops.map((t=>[t[0],n(t[1])]))),t.default=n(t.default?t.default:e.default)}if(t.colorSpace&&"rgb"!==t.colorSpace&&!je[t.colorSpace])throw new Error(`Unknown color space: ${t.colorSpace}`);let s,o,l;if("exponential"===a)s=Cr;else if("interval"===a)s=Br;else if("categorical"===a){s=zr,o=Object.create(null);for(const e of t.stops)o[e[0]]=e[1];l=typeof t.stops[0][0]}else{if("identity"!==a)throw new Error(`Unknown function type "${a}"`);s=Pr}if(n){const r={},n=[];for(let e=0;e<t.stops.length;e++){const i=t.stops[e],a=i[0].zoom;void 0===r[a]&&(r[a]={zoom:a,type:t.type,property:t.property,default:t.default,stops:[]},n.push(a)),r[a].stops.push([i[0].value,i[1]])}const i=[];for(const t of n)i.push([r[t].zoom,Ir(r[t],e)]);const a={name:"linear"};return{kind:"composite",interpolationType:a,interpolationFactor:Ne.interpolationFactor.bind(void 0,a),zoomStops:i.map((t=>t[0])),evaluate:({zoom:r},n)=>Cr({stops:i,base:t.base},e,r).evaluate(r,n)}}if(i){const r="exponential"===a?{name:"exponential",base:void 0!==t.base?t.base:1}:null;return{kind:"camera",interpolationType:r,interpolationFactor:Ne.interpolationFactor.bind(void 0,r),zoomStops:t.stops.map((t=>t[0])),evaluate:({zoom:r})=>s(t,e,r,o,l)}}return{kind:"source",evaluate(r,n){const i=n&&n.properties?n.properties[t.property]:void 0;return void 0===i?Mr(t.default,e.default):s(t,e,i,o,l)}}}function Mr(t,e,r){return void 0!==t?t:void 0!==e?e:void 0!==r?r:void 0}function zr(t,e,r,n,i){return Mr(typeof r===i?n[r]:void 0,t.default,e.default)}function Br(t,e,r){if("number"!==Ar(r))return Mr(t.default,e.default);const n=t.stops.length;if(1===n)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[n-1][0])return t.stops[n-1][1];const i=Ae(t.stops.map((t=>t[0])),r);return t.stops[i][1]}function Cr(t,e,r){const n=void 0!==t.base?t.base:1;if("number"!==Ar(r))return Mr(t.default,e.default);const i=t.stops.length;if(1===i)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];const a=Ae(t.stops.map((t=>t[0])),r),s=function(t,e,r,n){const i=n-r,a=t-r;return 0===i?0:1===e?a/i:(Math.pow(e,a)-1)/(Math.pow(e,i)-1)}(r,n,t.stops[a][0],t.stops[a+1][0]),o=t.stops[a][1],l=t.stops[a+1][1];let u=Ie[e.type]||Sr;if(t.colorSpace&&"rgb"!==t.colorSpace){const e=je[t.colorSpace];u=(t,r)=>e.reverse(e.interpolate(e.forward(t),e.forward(r),s))}return"function"==typeof o.evaluate?{evaluate(...t){const e=o.evaluate.apply(void 0,t),r=l.evaluate.apply(void 0,t);if(void 0!==e&&void 0!==r)return u(e,r,s)}}:u(o,l,s)}function Pr(t,e,r){switch(e.type){case"color":r=Ft.parse(r);break;case"formatted":r=Dt.fromString(r.toString());break;case"resolvedImage":r=Rt.fromString(r.toString());break;case"padding":r=$t.parse(r);break;default:Ar(r)===e.type||"enum"===e.type&&e.values[r]||(r=void 0)}return Mr(r,t.default,e.default)}Wt.register(fr,{error:[{kind:"error"},[ft],(t,[e])=>{throw new Zt(e.evaluate(t))}],typeof:[ft,[gt],(t,[e])=>At(qt(e.evaluate(t)))],"to-rgba":[_t(pt,4),[yt],(t,[e])=>e.evaluate(t).toArray()],rgb:[yt,[pt,pt,pt],dr],rgba:[yt,[pt,pt,pt,pt],dr],has:{type:dt,overloads:[[[ft],(t,[e])=>yr(e.evaluate(t),t.properties())],[[ft,mt],(t,[e,r])=>yr(e.evaluate(t),r.evaluate(t))]]},get:{type:gt,overloads:[[[ft],(t,[e])=>mr(e.evaluate(t),t.properties())],[[ft,mt],(t,[e,r])=>mr(e.evaluate(t),r.evaluate(t))]]},"feature-state":[gt,[ft],(t,[e])=>mr(e.evaluate(t),t.featureState||{})],properties:[mt,[],t=>t.properties()],"geometry-type":[ft,[],t=>t.geometryType()],id:[gt,[],t=>t.id()],zoom:[pt,[],t=>t.globals.zoom],"heatmap-density":[pt,[],t=>t.globals.heatmapDensity||0],"line-progress":[pt,[],t=>t.globals.lineProgress||0],accumulated:[gt,[],t=>void 0===t.globals.accumulated?null:t.globals.accumulated],"+":[pt,gr(pt),(t,e)=>{let r=0;for(const n of e)r+=n.evaluate(t);return r}],"*":[pt,gr(pt),(t,e)=>{let r=1;for(const n of e)r*=n.evaluate(t);return r}],"-":{type:pt,overloads:[[[pt,pt],(t,[e,r])=>e.evaluate(t)-r.evaluate(t)],[[pt],(t,[e])=>-e.evaluate(t)]]},"/":[pt,[pt,pt],(t,[e,r])=>e.evaluate(t)/r.evaluate(t)],"%":[pt,[pt,pt],(t,[e,r])=>e.evaluate(t)%r.evaluate(t)],ln2:[pt,[],()=>Math.LN2],pi:[pt,[],()=>Math.PI],e:[pt,[],()=>Math.E],"^":[pt,[pt,pt],(t,[e,r])=>Math.pow(e.evaluate(t),r.evaluate(t))],sqrt:[pt,[pt],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[pt,[pt],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[pt,[pt],(t,[e])=>Math.log(e.evaluate(t))],log2:[pt,[pt],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[pt,[pt],(t,[e])=>Math.sin(e.evaluate(t))],cos:[pt,[pt],(t,[e])=>Math.cos(e.evaluate(t))],tan:[pt,[pt],(t,[e])=>Math.tan(e.evaluate(t))],asin:[pt,[pt],(t,[e])=>Math.asin(e.evaluate(t))],acos:[pt,[pt],(t,[e])=>Math.acos(e.evaluate(t))],atan:[pt,[pt],(t,[e])=>Math.atan(e.evaluate(t))],min:[pt,gr(pt),(t,e)=>Math.min(...e.map((e=>e.evaluate(t))))],max:[pt,gr(pt),(t,e)=>Math.max(...e.map((e=>e.evaluate(t))))],abs:[pt,[pt],(t,[e])=>Math.abs(e.evaluate(t))],round:[pt,[pt],(t,[e])=>{const r=e.evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[pt,[pt],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[pt,[pt],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[dt,[ft,gt],(t,[e,r])=>t.properties()[e.value]===r.value],"filter-id-==":[dt,[gt],(t,[e])=>t.id()===e.value],"filter-type-==":[dt,[ft],(t,[e])=>t.geometryType()===e.value],"filter-<":[dt,[ft,gt],(t,[e,r])=>{const n=t.properties()[e.value],i=r.value;return typeof n==typeof i&&n<i}],"filter-id-<":[dt,[gt],(t,[e])=>{const r=t.id(),n=e.value;return typeof r==typeof n&&r<n}],"filter->":[dt,[ft,gt],(t,[e,r])=>{const n=t.properties()[e.value],i=r.value;return typeof n==typeof i&&n>i}],"filter-id->":[dt,[gt],(t,[e])=>{const r=t.id(),n=e.value;return typeof r==typeof n&&r>n}],"filter-<=":[dt,[ft,gt],(t,[e,r])=>{const n=t.properties()[e.value],i=r.value;return typeof n==typeof i&&n<=i}],"filter-id-<=":[dt,[gt],(t,[e])=>{const r=t.id(),n=e.value;return typeof r==typeof n&&r<=n}],"filter->=":[dt,[ft,gt],(t,[e,r])=>{const n=t.properties()[e.value],i=r.value;return typeof n==typeof i&&n>=i}],"filter-id->=":[dt,[gt],(t,[e])=>{const r=t.id(),n=e.value;return typeof r==typeof n&&r>=n}],"filter-has":[dt,[gt],(t,[e])=>e.value in t.properties()],"filter-has-id":[dt,[],t=>null!==t.id()&&void 0!==t.id()],"filter-type-in":[dt,[_t(ft)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[dt,[_t(gt)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[dt,[ft,_t(gt)],(t,[e,r])=>r.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[dt,[ft,_t(gt)],(t,[e,r])=>function(t,e,r,n){for(;r<=n;){const i=r+n>>1;if(e[i]===t)return!0;e[i]>t?n=i-1:r=i+1}return!1}(t.properties()[e.value],r.value,0,r.value.length-1)],all:{type:dt,overloads:[[[dt,dt],(t,[e,r])=>e.evaluate(t)&&r.evaluate(t)],[gr(dt),(t,e)=>{for(const r of e)if(!r.evaluate(t))return!1;return!0}]]},any:{type:dt,overloads:[[[dt,dt],(t,[e,r])=>e.evaluate(t)||r.evaluate(t)],[gr(dt),(t,e)=>{for(const r of e)if(r.evaluate(t))return!0;return!1}]]},"!":[dt,[dt],(t,[e])=>!e.evaluate(t)],"is-supported-script":[dt,[ft],(t,[e])=>{const r=t.globals&&t.globals.isSupportedScript;return!r||r(e.evaluate(t))}],upcase:[ft,[ft],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[ft,[ft],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[ft,gr(gt),(t,e)=>e.map((e=>jt(e.evaluate(t)))).join("")],"resolved-locale":[ft,[xt],(t,[e])=>e.evaluate(t).resolvedLocale()]});class Vr{constructor(t,e){this.expression=t,this._warningHistory={},this._evaluator=new Ht,this._defaultValue=e?function(t){return"color"===t.type&&kr(t.default)?new Ft(0,0,0,0):"color"===t.type?Ft.parse(t.default)||null:"padding"===t.type?$t.parse(t.default)||null:void 0===t.default?null:t.default}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null}evaluateWithoutErrorHandling(t,e,r,n,i,a){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=r,this._evaluator.canonical=n,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=a,this.expression.evaluate(this._evaluator)}evaluate(t,e,r,n,i,a){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=r||null,this._evaluator.canonical=n,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=a||null;try{const t=this.expression.evaluate(this._evaluator);if(null==t||"number"==typeof t&&t!=t)return this._defaultValue;if(this._enumValues&&!(t in this._enumValues))throw new Zt(`Expected value to be one of ${Object.keys(this._enumValues).map((t=>JSON.stringify(t))).join(", ")}, but found ${JSON.stringify(t)} instead.`);return t}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}}}function Er(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in fr}function Fr(t,e){const r=new we(fr,[],e?function(t){const e={color:yt,string:ft,number:pt,enum:ft,boolean:dt,formatted:vt,padding:bt,resolvedImage:wt};return"array"===t.type?_t(e[t.value]||gt,t.length):e[t.type]}(e):void 0),n=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return n?xr(new Vr(n,e)):vr(r.errors)}class Tr{constructor(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!xe(e.expression)}evaluateWithoutErrorHandling(t,e,r,n,i,a){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,n,i,a)}evaluate(t,e,r,n,i,a){return this._styleExpression.evaluate(t,e,r,n,i,a)}}class Lr{constructor(t,e,r,n){this.kind=t,this.zoomStops=r,this._styleExpression=e,this.isStateDependent="camera"!==t&&!xe(e.expression),this.interpolationType=n}evaluateWithoutErrorHandling(t,e,r,n,i,a){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,n,i,a)}evaluate(t,e,r,n,i,a){return this._styleExpression.evaluate(t,e,r,n,i,a)}interpolationFactor(t,e,r){return this.interpolationType?Ne.interpolationFactor(this.interpolationType,t,e,r):0}}function Dr(t,e){const r=Fr(t,e);if("error"===r.result)return r;const n=r.value.expression,i=ge(n);if(!i&&!br(e))return vr([new ut("","data expressions not supported")]);const a=ve(n,["zoom"]);if(!a&&!wr(e))return vr([new ut("","zoom expressions not supported")]);const s=Rr(n);return s||a?s instanceof ut?vr([s]):s instanceof Ne&&!_r(e)?vr([new ut("",'"interpolate" expressions cannot be used with this property')]):xr(s?new Lr(i?"camera":"composite",r.value,s.labels,s instanceof Ne?s.interpolation:void 0):new Tr(i?"constant":"source",r.value)):vr([new ut("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class $r{constructor(t,e){this._parameters=t,this._specification=e,st(this,Ir(this._parameters,this._specification))}static deserialize(t){return new $r(t._parameters,t._specification)}static serialize(t){return{_parameters:t._parameters,_specification:t._specification}}}function Rr(t){let e=null;if(t instanceof Ge)e=Rr(t.result);else if(t instanceof Ke){for(const r of t.args)if(e=Rr(r),e)break}else(t instanceof ke||t instanceof Ne)&&t.input instanceof Wt&&"zoom"===t.input.name&&(e=t);return e instanceof ut||t.eachChild((t=>{const r=Rr(t);r instanceof ut?e=r:!e&&r?e=new ut("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):e&&r&&e!==r&&(e=new ut("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),e}function Or(t){const e=t.key,r=t.value,n=t.valueSpec||{},i=t.objectElementValidators||{},a=t.style,s=t.styleSpec;let o=[];const l=Ar(r);if("object"!==l)return[new it(e,r,`object expected, ${l} found`)];for(const t in r){const l=t.split(".")[0],u=n[l]||n["*"];let c;if(i[l])c=i[l];else if(n[l])c=yn;else if(i["*"])c=i["*"];else{if(!n["*"]){o.push(new it(e,r[t],`unknown property "${t}"`));continue}c=yn}o=o.concat(c({key:(e?`${e}.`:e)+t,value:r[t],valueSpec:u,style:a,styleSpec:s,object:r,objectKey:t},r))}for(const t in n)i[t]||n[t].required&&void 0===n[t].default&&void 0===r[t]&&o.push(new it(e,r,`missing required property "${t}"`));return o}function Ur(t){const e=t.value,r=t.valueSpec,n=t.style,i=t.styleSpec,a=t.key,s=t.arrayElementValidator||yn;if("array"!==Ar(e))return[new it(a,e,`array expected, ${Ar(e)} found`)];if(r.length&&e.length!==r.length)return[new it(a,e,`array length ${r.length} expected, length ${e.length} found`)];if(r["min-length"]&&e.length<r["min-length"])return[new it(a,e,`array length at least ${r["min-length"]} expected, length ${e.length} found`)];let o={type:r.value,values:r.values};i.$version<7&&(o.function=r.function),"object"===Ar(r.value)&&(o=r.value);let l=[];for(let t=0;t<e.length;t++)l=l.concat(s({array:e,arrayIndex:t,value:e[t],valueSpec:o,style:n,styleSpec:i,key:`${a}[${t}]`}));return l}function qr(t){const e=t.key,r=t.value,n=t.valueSpec;let i=Ar(r);return"number"===i&&r!=r&&(i="NaN"),"number"!==i?[new it(e,r,`number expected, ${i} found`)]:"minimum"in n&&r<n.minimum?[new it(e,r,`${r} is less than the minimum value ${n.minimum}`)]:"maximum"in n&&r>n.maximum?[new it(e,r,`${r} is greater than the maximum value ${n.maximum}`)]:[]}function jr(t){const e=t.valueSpec,r=ot(t.value.type);let n,i,a,s={};const o="categorical"!==r&&void 0===t.value.property,l=!o,u="array"===Ar(t.value.stops)&&"array"===Ar(t.value.stops[0])&&"object"===Ar(t.value.stops[0][0]),c=Or({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===r)return[new it(t.key,t.value,'identity function may not have a "stops" property')];let e=[];const n=t.value;return e=e.concat(Ur({key:t.key,value:n,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:h})),"array"===Ar(n)&&0===n.length&&e.push(new it(t.key,n,"array must have at least one stop")),e},default:function(t){return yn({key:t.key,value:t.value,valueSpec:e,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===r&&o&&c.push(new it(t.key,t.value,'missing required property "property"')),"identity"===r||t.value.stops||c.push(new it(t.key,t.value,'missing required property "stops"')),"exponential"===r&&t.valueSpec.expression&&!_r(t.valueSpec)&&c.push(new it(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!br(t.valueSpec)?c.push(new it(t.key,t.value,"property functions not supported")):o&&!wr(t.valueSpec)&&c.push(new it(t.key,t.value,"zoom functions not supported"))),"categorical"!==r&&!u||void 0!==t.value.property||c.push(new it(t.key,t.value,'"property" property is required')),c;function h(t){let r=[];const n=t.value,o=t.key;if("array"!==Ar(n))return[new it(o,n,`array expected, ${Ar(n)} found`)];if(2!==n.length)return[new it(o,n,`array length 2 expected, length ${n.length} found`)];if(u){if("object"!==Ar(n[0]))return[new it(o,n,`object expected, ${Ar(n[0])} found`)];if(void 0===n[0].zoom)return[new it(o,n,"object stop key must have zoom")];if(void 0===n[0].value)return[new it(o,n,"object stop key must have value")];if(a&&a>ot(n[0].zoom))return[new it(o,n[0].zoom,"stop zoom values must appear in ascending order")];ot(n[0].zoom)!==a&&(a=ot(n[0].zoom),i=void 0,s={}),r=r.concat(Or({key:`${o}[0]`,value:n[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:qr,value:p}}))}else r=r.concat(p({key:`${o}[0]`,value:n[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},n));return Er(lt(n[1]))?r.concat([new it(`${o}[1]`,n[1],"expressions are not allowed in function stops.")]):r.concat(yn({key:`${o}[1]`,value:n[1],valueSpec:e,style:t.style,styleSpec:t.styleSpec}))}function p(t,a){const o=Ar(t.value),l=ot(t.value),u=null!==t.value?t.value:a;if(n){if(o!==n)return[new it(t.key,u,`${o} stop domain type must match previous stop domain type ${n}`)]}else n=o;if("number"!==o&&"string"!==o&&"boolean"!==o)return[new it(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==o&&"categorical"!==r){let n=`number expected, ${o} found`;return br(e)&&void 0===r&&(n+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new it(t.key,u,n)]}return"categorical"!==r||"number"!==o||isFinite(l)&&Math.floor(l)===l?"categorical"!==r&&"number"===o&&void 0!==i&&l<i?[new it(t.key,u,"stop domain values must appear in ascending order")]:(i=l,"categorical"===r&&l in s?[new it(t.key,u,"stop domain values must be unique")]:(s[l]=!0,[])):[new it(t.key,u,`integer expected, found ${l}`)]}}function Nr(t){const e=("property"===t.expressionContext?Dr:Fr)(lt(t.value),t.valueSpec);if("error"===e.result)return e.value.map((e=>new it(`${t.key}${e.key}`,t.value,e.message)));const r=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!r.outputDefined())return[new it(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===t.expressionContext&&"layout"===t.propertyType&&!xe(r))return[new it(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!xe(r))return[new it(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!ve(r,["zoom","feature-state"]))return[new it(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!ge(r))return[new it(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Zr(t){const e=t.key,r=t.value,n=t.valueSpec,i=[];return Array.isArray(n.values)?-1===n.values.indexOf(ot(r))&&i.push(new it(e,r,`expected one of [${n.values.join(", ")}], ${JSON.stringify(r)} found`)):-1===Object.keys(n.values).indexOf(ot(r))&&i.push(new it(e,r,`expected one of [${Object.keys(n.values).join(", ")}], ${JSON.stringify(r)} found`)),i}function Kr(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(const e of t.slice(1))if(!Kr(e)&&"boolean"!=typeof e)return!1;return!0;default:return!0}}const Gr={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Jr(t){if(null==t)return{filter:()=>!0,needGeometry:!1};Kr(t)||(t=Hr(t));const e=Fr(t,Gr);if("error"===e.result)throw new Error(e.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return{filter:(t,r,n)=>e.value.evaluate(t,r,{},n),needGeometry:Yr(t)}}function Xr(t,e){return t<e?-1:t>e?1:0}function Yr(t){if(!Array.isArray(t))return!1;if("within"===t[0])return!0;for(let e=1;e<t.length;e++)if(Yr(t[e]))return!0;return!1}function Hr(t){if(!t)return!0;const e=t[0];return t.length<=1?"any"!==e:"=="===e?Wr(t[1],t[2],"=="):"!="===e?en(Wr(t[1],t[2],"==")):"<"===e||">"===e||"<="===e||">="===e?Wr(t[1],t[2],e):"any"===e?(r=t.slice(1),["any"].concat(r.map(Hr))):"all"===e?["all"].concat(t.slice(1).map(Hr)):"none"===e?["all"].concat(t.slice(1).map(Hr).map(en)):"in"===e?Qr(t[1],t.slice(2)):"!in"===e?en(Qr(t[1],t.slice(2))):"has"===e?tn(t[1]):"!has"===e?en(tn(t[1])):"within"!==e||t;var r}function Wr(t,e,r){switch(t){case"$type":return[`filter-type-${r}`,e];case"$id":return[`filter-id-${r}`,e];default:return[`filter-${r}`,t,e]}}function Qr(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((t=>typeof t!=typeof e[0]))?["filter-in-large",t,["literal",e.sort(Xr)]]:["filter-in-small",t,["literal",e]]}}function tn(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function en(t){return["!",t]}function rn(t){return Kr(lt(t.value))?Nr(st({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):nn(t)}function nn(t){const e=t.value,r=t.key;if("array"!==Ar(e))return[new it(r,e,`array expected, ${Ar(e)} found`)];const n=t.styleSpec;let i,a=[];if(e.length<1)return[new it(r,e,"filter array must have at least 1 element")];switch(a=a.concat(Zr({key:`${r}[0]`,value:e[0],valueSpec:n.filter_operator,style:t.style,styleSpec:t.styleSpec})),ot(e[0])){case"<":case"<=":case">":case">=":e.length>=2&&"$type"===ot(e[1])&&a.push(new it(r,e,`"$type" cannot be use with operator "${e[0]}"`));case"==":case"!=":3!==e.length&&a.push(new it(r,e,`filter array for operator "${e[0]}" must have 3 elements`));case"in":case"!in":e.length>=2&&(i=Ar(e[1]),"string"!==i&&a.push(new it(`${r}[1]`,e[1],`string expected, ${i} found`)));for(let s=2;s<e.length;s++)i=Ar(e[s]),"$type"===ot(e[1])?a=a.concat(Zr({key:`${r}[${s}]`,value:e[s],valueSpec:n.geometry_type,style:t.style,styleSpec:t.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&a.push(new it(`${r}[${s}]`,e[s],`string, number, or boolean expected, ${i} found`));break;case"any":case"all":case"none":for(let n=1;n<e.length;n++)a=a.concat(nn({key:`${r}[${n}]`,value:e[n],style:t.style,styleSpec:t.styleSpec}));break;case"has":case"!has":i=Ar(e[1]),2!==e.length?a.push(new it(r,e,`filter array for "${e[0]}" operator must have 2 elements`)):"string"!==i&&a.push(new it(`${r}[1]`,e[1],`string expected, ${i} found`));break;case"within":i=Ar(e[1]),2!==e.length?a.push(new it(r,e,`filter array for "${e[0]}" operator must have 2 elements`)):"object"!==i&&a.push(new it(`${r}[1]`,e[1],`object expected, ${i} found`))}return a}function an(t,e){const r=t.key,n=t.style,i=t.styleSpec,a=t.value,s=t.objectKey,o=i[`${e}_${t.layerType}`];if(!o)return[];const l=s.match(/^(.*)-transition$/);if("paint"===e&&l&&o[l[1]]&&o[l[1]].transition)return yn({key:r,value:a,valueSpec:i.transition,style:n,styleSpec:i});const u=t.valueSpec||o[s];if(!u)return[new it(r,a,`unknown property "${s}"`)];let c;if("string"===Ar(a)&&br(u)&&!u.tokens&&(c=/^{([^}]+)}$/.exec(a)))return[new it(r,a,`"${s}" does not support interpolation syntax\nUse an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(c[1])} }\`.`)];const h=[];return"symbol"===t.layerType&&("text-field"===s&&n&&!n.glyphs&&h.push(new it(r,a,'use of "text-field" requires a style "glyphs" property')),"text-font"===s&&kr(lt(a))&&"identity"===ot(a.type)&&h.push(new it(r,a,'"text-font" does not support identity functions'))),h.concat(yn({key:t.key,value:a,valueSpec:u,style:n,styleSpec:i,expressionContext:"property",propertyType:e,propertyKey:s}))}function sn(t){return an(t,"paint")}function on(t){return an(t,"layout")}function ln(t){let e=[];const r=t.value,n=t.key,i=t.style,a=t.styleSpec;r.type||r.ref||e.push(new it(n,r,'either "type" or "ref" is required'));let s=ot(r.type);const o=ot(r.ref);if(r.id){const a=ot(r.id);for(let s=0;s<t.arrayIndex;s++){const t=i.layers[s];ot(t.id)===a&&e.push(new it(n,r.id,`duplicate layer id "${r.id}", previously used at line ${t.id.__line__}`))}}if("ref"in r){let t;["type","source","source-layer","filter","layout"].forEach((t=>{t in r&&e.push(new it(n,r[t],`"${t}" is prohibited for ref layers`))})),i.layers.forEach((e=>{ot(e.id)===o&&(t=e)})),t?t.ref?e.push(new it(n,r.ref,"ref cannot reference another ref layer")):s=ot(t.type):e.push(new it(n,r.ref,`ref layer "${o}" not found`))}else if("background"!==s)if(r.source){const t=i.sources&&i.sources[r.source],a=t&&ot(t.type);t?"vector"===a&&"raster"===s?e.push(new it(n,r.source,`layer "${r.id}" requires a raster source`)):"raster"===a&&"raster"!==s?e.push(new it(n,r.source,`layer "${r.id}" requires a vector source`)):"vector"!==a||r["source-layer"]?"raster-dem"===a&&"hillshade"!==s?e.push(new it(n,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===a&&t.lineMetrics||e.push(new it(n,r,`layer "${r.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new it(n,r,`layer "${r.id}" must specify a "source-layer"`)):e.push(new it(n,r.source,`source "${r.source}" not found`))}else e.push(new it(n,r,'missing required property "source"'));return e=e.concat(Or({key:n,value:r,valueSpec:a.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":()=>[],type:()=>yn({key:`${n}.type`,value:r.type,valueSpec:a.layer.type,style:t.style,styleSpec:t.styleSpec,object:r,objectKey:"type"}),filter:rn,layout:t=>Or({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":t=>on(st({layerType:s},t))}}),paint:t=>Or({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":t=>sn(st({layerType:s},t))}})}})),e}function un(t){const e=t.value,r=t.key,n=Ar(e);return"string"!==n?[new it(r,e,`string expected, ${n} found`)]:[]}const cn={promoteId:function({key:t,value:e}){if("string"===Ar(e))return un({key:t,value:e});{const r=[];for(const n in e)r.push(...un({key:`${t}.${n}`,value:e[n]}));return r}}};function hn(t){const e=t.value,r=t.key,n=t.styleSpec,i=t.style;if(!e.type)return[new it(r,e,'"type" is required')];const a=ot(e.type);let s;switch(a){case"vector":case"raster":case"raster-dem":return s=Or({key:r,value:e,valueSpec:n[`source_${a.replace("-","_")}`],style:t.style,styleSpec:n,objectElementValidators:cn}),s;case"geojson":if(s=Or({key:r,value:e,valueSpec:n.source_geojson,style:i,styleSpec:n,objectElementValidators:cn}),e.cluster)for(const t in e.clusterProperties){const[n,i]=e.clusterProperties[t],a="string"==typeof n?[n,["accumulated"],["get",t]]:n;s.push(...Nr({key:`${r}.${t}.map`,value:i,expressionContext:"cluster-map"})),s.push(...Nr({key:`${r}.${t}.reduce`,value:a,expressionContext:"cluster-reduce"}))}return s;case"video":return Or({key:r,value:e,valueSpec:n.source_video,style:i,styleSpec:n});case"image":return Or({key:r,value:e,valueSpec:n.source_image,style:i,styleSpec:n});case"canvas":return[new it(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Zr({key:`${r}.type`,value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:n})}}function pn(t){const e=t.value,r=t.styleSpec,n=r.light,i=t.style;let a=[];const s=Ar(e);if(void 0===e)return a;if("object"!==s)return a=a.concat([new it("light",e,`object expected, ${s} found`)]),a;for(const t in e){const s=t.match(/^(.*)-transition$/);a=a.concat(s&&n[s[1]]&&n[s[1]].transition?yn({key:t,value:e[t],valueSpec:r.transition,style:i,styleSpec:r}):n[t]?yn({key:t,value:e[t],valueSpec:n[t],style:i,styleSpec:r}):[new it(t,e[t],`unknown property "${t}"`)])}return a}function fn(t){const e=t.value,r=t.styleSpec,n=r.terrain,i=t.style;let a=[];const s=Ar(e);if(void 0===e)return a;if("object"!==s)return a=a.concat([new it("terrain",e,`object expected, ${s} found`)]),a;for(const t in e)a=a.concat(n[t]?yn({key:t,value:e[t],valueSpec:n[t],style:i,styleSpec:r}):[new it(t,e[t],`unknown property "${t}"`)]);return a}const dn={"*":()=>[],array:Ur,boolean:function(t){const e=t.value,r=t.key,n=Ar(e);return"boolean"!==n?[new it(r,e,`boolean expected, ${n} found`)]:[]},number:qr,color:function(t){const e=t.key,r=t.value,n=Ar(r);return"string"!==n?[new it(e,r,`color expected, ${n} found`)]:null===zt(r)?[new it(e,r,`color expected, "${r}" found`)]:[]},constants:at,enum:Zr,filter:rn,function:jr,layer:ln,object:Or,source:hn,light:pn,terrain:fn,string:un,formatted:function(t){return 0===un(t).length?[]:Nr(t)},resolvedImage:function(t){return 0===un(t).length?[]:Nr(t)},padding:function(t){const e=t.key,r=t.value;if("array"===Ar(r)){if(r.length<1||r.length>4)return[new it(e,r,`padding requires 1 to 4 values; ${r.length} values found`)];const t={type:"number"};let n=[];for(let i=0;i<r.length;i++)n=n.concat(yn({key:`${e}[${i}]`,value:r[i],valueSpec:t}));return n}return qr({key:e,value:r,valueSpec:{}})}};function yn(t){const e=t.value,r=t.valueSpec,n=t.styleSpec;return r.expression&&kr(ot(e))?jr(t):r.expression&&Er(lt(e))?Nr(t):r.type&&dn[r.type]?dn[r.type](t):Or(st({},t,{valueSpec:r.type?n[r.type]:r}))}function mn(t){const e=t.value,r=t.key,n=un(t);return n.length||(-1===e.indexOf("{fontstack}")&&n.push(new it(r,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&n.push(new it(r,e,'"glyphs" url must include a "{range}" token'))),n}function gn(t,e=nt){let r=[];return r=r.concat(yn({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:mn,"*":()=>[]}})),t.constants&&(r=r.concat(at({key:"constants",value:t.constants,style:t,styleSpec:e}))),xn(r)}function xn(t){return[].concat(t).sort(((t,e)=>t.line-e.line))}function vn(t){return function(...e){return xn(t.apply(this,e))}}gn.source=vn(hn),gn.light=vn(pn),gn.terrain=vn(fn),gn.layer=vn(ln),gn.filter=vn(rn),gn.paintProperty=vn(sn),gn.layoutProperty=vn(on);const bn=gn,wn=bn.light,_n=bn.paintProperty,An=bn.layoutProperty;function kn(t,e){let r=!1;if(e&&e.length)for(const n of e)t.fire(new et(new Error(n.message))),r=!0;return r}class Sn{constructor(t,e,r){const n=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;const i=new Int32Array(this.arrayBuffer);t=i[0],this.d=(e=i[1])+2*(r=i[2]);for(let t=0;t<this.d*this.d;t++){const e=i[3+t],r=i[3+t+1];n.push(e===r?null:i.subarray(e,r))}const a=i[3+n.length+1];this.keys=i.subarray(i[3+n.length],a),this.bboxes=i.subarray(a),this.insert=this._insertReadonly}else{this.d=e+2*r;for(let t=0;t<this.d*this.d;t++)n.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=r,this.scale=e/t,this.uid=0;const i=r/e*t;this.min=-i,this.max=t+i}insert(t,e,r,n,i){this._forEachCell(e,r,n,i,this._insertCell,this.uid++,void 0,void 0),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i)}_insertReadonly(){throw new Error("Cannot insert into a GridIndex created from an ArrayBuffer.")}_insertCell(t,e,r,n,i,a){this.cells[i].push(a)}query(t,e,r,n,i){const a=this.min,s=this.max;if(t<=a&&e<=a&&s<=r&&s<=n&&!i)return Array.prototype.slice.call(this.keys);{const a=[];return this._forEachCell(t,e,r,n,this._queryCell,a,{},i),a}}_queryCell(t,e,r,n,i,a,s,o){const l=this.cells[i];if(null!==l){const i=this.keys,u=this.bboxes;for(let c=0;c<l.length;c++){const h=l[c];if(void 0===s[h]){const l=4*h;(o?o(u[l+0],u[l+1],u[l+2],u[l+3]):t<=u[l+2]&&e<=u[l+3]&&r>=u[l+0]&&n>=u[l+1])?(s[h]=!0,a.push(i[h])):s[h]=!1}}}}_forEachCell(t,e,r,n,i,a,s,o){const l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(r),h=this._convertToCellCoord(n);for(let p=l;p<=c;p++)for(let l=u;l<=h;l++){const u=this.d*l+p;if((!o||o(this._convertFromCellCoord(p),this._convertFromCellCoord(l),this._convertFromCellCoord(p+1),this._convertFromCellCoord(l+1)))&&i.call(this,t,e,r,n,u,a,s,o))return}}_convertFromCellCoord(t){return(t-this.padding)/this.scale}_convertToCellCoord(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;const t=this.cells,e=3+this.cells.length+1+1;let r=0;for(let t=0;t<this.cells.length;t++)r+=this.cells[t].length;const n=new Int32Array(e+r+this.keys.length+this.bboxes.length);n[0]=this.extent,n[1]=this.n,n[2]=this.padding;let i=e;for(let e=0;e<t.length;e++){const r=t[e];n[3+e]=i,n.set(r,i),i+=r.length}return n[3+t.length]=i,n.set(this.keys,i),i+=this.keys.length,n[3+t.length+1]=i,n.set(this.bboxes,i),i+=this.bboxes.length,n.buffer}static serialize(t,e){const r=t.toArrayBuffer();return e&&e.push(r),{buffer:r}}static deserialize(t){return new Sn(t.buffer)}}const In={};function Mn(t,e,r={}){if(In[t])throw new Error(`${t} is already registered.`);Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),In[t]={klass:e,omit:r.omit||[],shallow:r.shallow||[]}}Mn("Object",Object),Mn("TransferableGridIndex",Sn),Mn("Color",Ft),Mn("Error",Error),Mn("AJAXError",q),Mn("ResolvedImage",Rt),Mn("StylePropertyFunction",$r),Mn("StyleExpression",Vr,{omit:["_evaluator"]}),Mn("ZoomDependentExpression",Lr),Mn("ZoomConstantExpression",Tr),Mn("CompoundExpression",Wt,{omit:["_evaluate"]});for(const t in fr)fr[t]._classRegistryKey||Mn(`Expression_${t}`,fr[t]);function zn(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function Bn(t,e){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||t instanceof Blob)return t;if(zn(t))return e&&e.push(t),t;if(A(t))return e&&e.push(t),t;if(ArrayBuffer.isView(t)){const r=t;return e&&e.push(r.buffer),r}if(t instanceof ImageData)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){const r=[];for(const n of t)r.push(Bn(n,e));return r}if("object"==typeof t){const r=t.constructor,n=r._classRegistryKey;if(!n)throw new Error("can't serialize object of unregistered class");if(!In[n])throw new Error(`${n} is not registered.`);const i=r.serialize?r.serialize(t,e):{};if(r.serialize){if(e&&i===e[e.length-1])throw new Error("statically serialized object won't survive transfer of $name property")}else{for(const r in t){if(!t.hasOwnProperty(r))continue;if(In[n].omit.indexOf(r)>=0)continue;const a=t[r];i[r]=In[n].shallow.indexOf(r)>=0?a:Bn(a,e)}t instanceof Error&&(i.message=t.message)}if(i.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==n&&(i.$name=n),i}throw new Error("can't serialize object of type "+typeof t)}function Cn(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||t instanceof Blob||zn(t)||A(t)||ArrayBuffer.isView(t)||t instanceof ImageData)return t;if(Array.isArray(t))return t.map(Cn);if("object"==typeof t){const e=t.$name||"Object";if(!In[e])throw new Error(`can't deserialize unregistered class ${e}`);const{klass:r}=In[e];if(!r)throw new Error(`can't deserialize unregistered class ${e}`);if(r.deserialize)return r.deserialize(t);const n=Object.create(r.prototype);for(const r of Object.keys(t)){if("$name"===r)continue;const i=t[r];n[r]=In[e].shallow.indexOf(r)>=0?i:Cn(i)}return n}throw new Error("can't deserialize object of type "+typeof t)}class Pn{constructor(){this.first=!0}update(t,e){const r=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=r,!0))}}const Vn={"Latin-1 Supplement":t=>t>=128&&t<=255,Arabic:t=>t>=1536&&t<=1791,"Arabic Supplement":t=>t>=1872&&t<=1919,"Arabic Extended-A":t=>t>=2208&&t<=2303,"Hangul Jamo":t=>t>=4352&&t<=4607,"Unified Canadian Aboriginal Syllabics":t=>t>=5120&&t<=5759,Khmer:t=>t>=6016&&t<=6143,"Unified Canadian Aboriginal Syllabics Extended":t=>t>=6320&&t<=6399,"General Punctuation":t=>t>=8192&&t<=8303,"Letterlike Symbols":t=>t>=8448&&t<=8527,"Number Forms":t=>t>=8528&&t<=8591,"Miscellaneous Technical":t=>t>=8960&&t<=9215,"Control Pictures":t=>t>=9216&&t<=9279,"Optical Character Recognition":t=>t>=9280&&t<=9311,"Enclosed Alphanumerics":t=>t>=9312&&t<=9471,"Geometric Shapes":t=>t>=9632&&t<=9727,"Miscellaneous Symbols":t=>t>=9728&&t<=9983,"Miscellaneous Symbols and Arrows":t=>t>=11008&&t<=11263,"CJK Radicals Supplement":t=>t>=11904&&t<=12031,"Kangxi Radicals":t=>t>=12032&&t<=12255,"Ideographic Description Characters":t=>t>=12272&&t<=12287,"CJK Symbols and Punctuation":t=>t>=12288&&t<=12351,Hiragana:t=>t>=12352&&t<=12447,Katakana:t=>t>=12448&&t<=12543,Bopomofo:t=>t>=12544&&t<=12591,"Hangul Compatibility Jamo":t=>t>=12592&&t<=12687,Kanbun:t=>t>=12688&&t<=12703,"Bopomofo Extended":t=>t>=12704&&t<=12735,"CJK Strokes":t=>t>=12736&&t<=12783,"Katakana Phonetic Extensions":t=>t>=12784&&t<=12799,"Enclosed CJK Letters and Months":t=>t>=12800&&t<=13055,"CJK Compatibility":t=>t>=13056&&t<=13311,"CJK Unified Ideographs Extension A":t=>t>=13312&&t<=19903,"Yijing Hexagram Symbols":t=>t>=19904&&t<=19967,"CJK Unified Ideographs":t=>t>=19968&&t<=40959,"Yi Syllables":t=>t>=40960&&t<=42127,"Yi Radicals":t=>t>=42128&&t<=42191,"Hangul Jamo Extended-A":t=>t>=43360&&t<=43391,"Hangul Syllables":t=>t>=44032&&t<=55215,"Hangul Jamo Extended-B":t=>t>=55216&&t<=55295,"Private Use Area":t=>t>=57344&&t<=63743,"CJK Compatibility Ideographs":t=>t>=63744&&t<=64255,"Arabic Presentation Forms-A":t=>t>=64336&&t<=65023,"Vertical Forms":t=>t>=65040&&t<=65055,"CJK Compatibility Forms":t=>t>=65072&&t<=65103,"Small Form Variants":t=>t>=65104&&t<=65135,"Arabic Presentation Forms-B":t=>t>=65136&&t<=65279,"Halfwidth and Fullwidth Forms":t=>t>=65280&&t<=65519};function En(t){for(const e of t)if(Ln(e.charCodeAt(0)))return!0;return!1}function Fn(t){for(const e of t)if(!Tn(e.charCodeAt(0)))return!1;return!0}function Tn(t){return!(Vn.Arabic(t)||Vn["Arabic Supplement"](t)||Vn["Arabic Extended-A"](t)||Vn["Arabic Presentation Forms-A"](t)||Vn["Arabic Presentation Forms-B"](t))}function Ln(t){return!(746!==t&&747!==t&&(t<4352||!(Vn["Bopomofo Extended"](t)||Vn.Bopomofo(t)||Vn["CJK Compatibility Forms"](t)&&!(t>=65097&&t<=65103)||Vn["CJK Compatibility Ideographs"](t)||Vn["CJK Compatibility"](t)||Vn["CJK Radicals Supplement"](t)||Vn["CJK Strokes"](t)||!(!Vn["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||Vn["CJK Unified Ideographs Extension A"](t)||Vn["CJK Unified Ideographs"](t)||Vn["Enclosed CJK Letters and Months"](t)||Vn["Hangul Compatibility Jamo"](t)||Vn["Hangul Jamo Extended-A"](t)||Vn["Hangul Jamo Extended-B"](t)||Vn["Hangul Jamo"](t)||Vn["Hangul Syllables"](t)||Vn.Hiragana(t)||Vn["Ideographic Description Characters"](t)||Vn.Kanbun(t)||Vn["Kangxi Radicals"](t)||Vn["Katakana Phonetic Extensions"](t)||Vn.Katakana(t)&&12540!==t||!(!Vn["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||!(!Vn["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||Vn["Unified Canadian Aboriginal Syllabics"](t)||Vn["Unified Canadian Aboriginal Syllabics Extended"](t)||Vn["Vertical Forms"](t)||Vn["Yijing Hexagram Symbols"](t)||Vn["Yi Syllables"](t)||Vn["Yi Radicals"](t))))}function Dn(t){return!(Ln(t)||function(t){return!!(Vn["Latin-1 Supplement"](t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||Vn["General Punctuation"](t)&&(8214===t||8224===t||8225===t||8240===t||8241===t||8251===t||8252===t||8258===t||8263===t||8264===t||8265===t||8273===t)||Vn["Letterlike Symbols"](t)||Vn["Number Forms"](t)||Vn["Miscellaneous Technical"](t)&&(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215)||Vn["Control Pictures"](t)&&9251!==t||Vn["Optical Character Recognition"](t)||Vn["Enclosed Alphanumerics"](t)||Vn["Geometric Shapes"](t)||Vn["Miscellaneous Symbols"](t)&&!(t>=9754&&t<=9759)||Vn["Miscellaneous Symbols and Arrows"](t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||Vn["CJK Symbols and Punctuation"](t)||Vn.Katakana(t)||Vn["Private Use Area"](t)||Vn["CJK Compatibility Forms"](t)||Vn["Small Form Variants"](t)||Vn["Halfwidth and Fullwidth Forms"](t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function $n(t){return t>=1424&&t<=2303||Vn["Arabic Presentation Forms-A"](t)||Vn["Arabic Presentation Forms-B"](t)}function Rn(t,e){return!(!e&&$n(t)||t>=2304&&t<=3583||t>=3840&&t<=4255||Vn.Khmer(t))}function On(t){for(const e of t)if($n(e.charCodeAt(0)))return!0;return!1}const Un="deferred",qn="loading",jn="loaded";let Nn=null,Zn="unavailable",Kn=null;const Gn=function(t){t&&"string"==typeof t&&t.indexOf("NetworkError")>-1&&(Zn="error"),Nn&&Nn(t)};function Jn(){Xn.fire(new tt("pluginStateChange",{pluginStatus:Zn,pluginURL:Kn}))}const Xn=new rt,Yn=function(){return Zn},Hn=function(){if(Zn!==Un||!Kn)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Zn=qn,Jn(),Kn&&K({url:Kn},(t=>{t?Gn(t):(Zn=jn,Jn())}))},Wn={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:()=>Zn===jn||null!=Wn.applyArabicShaping,isLoading:()=>Zn===qn,setState(t){if(!g())throw new Error("Cannot set the state of the rtl-text-plugin when not in the web-worker context");Zn=t.pluginStatus,Kn=t.pluginURL},isParsed(){if(!g())throw new Error("rtl-text-plugin is only parsed on the worker-threads");return null!=Wn.applyArabicShaping&&null!=Wn.processBidirectionalText&&null!=Wn.processStyledBidirectionalText},getPluginURL(){if(!g())throw new Error("rtl-text-plugin url can only be queried from the worker threads");return Kn}};class Qn{constructor(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Pn,this.transition={})}isSupportedScript(t){return function(t,e){for(const r of t)if(!Rn(r.charCodeAt(0),e))return!1;return!0}(t,Wn.isLoaded())}crossFadingFactor(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){const t=this.zoom,e=t-Math.floor(t),r=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*e}}}class ti{constructor(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(kr(t))return new $r(t,e);if(Er(t)){const r=Dr(t,e);if("error"===r.result)throw new Error(r.value.map((t=>`${t.key}: ${t.message}`)).join(", "));return r.value}{let r=t;return"color"===e.type&&"string"==typeof t?r=Ft.parse(t):"padding"!==e.type||"number"!=typeof t&&!Array.isArray(t)||(r=$t.parse(t)),{kind:"constant",evaluate:()=>r}}}(void 0===e?t.specification.default:e,t.specification)}isDataDriven(){return"source"===this.expression.kind||"composite"===this.expression.kind}possiblyEvaluate(t,e,r){return this.property.possiblyEvaluate(this,t,e,r)}}class ei{constructor(t){this.property=t,this.value=new ti(t,void 0)}transitioned(t,e){return new ni(this.property,this.value,e,o({},t.transition,this.transition),t.now)}untransitioned(){return new ni(this.property,this.value,null,{},0)}}class ri{constructor(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)}getValue(t){return p(this._values[t].value.value)}setValue(t,e){Object.prototype.hasOwnProperty.call(this._values,t)||(this._values[t]=new ei(this._values[t].property)),this._values[t].value=new ti(this._values[t].property,null===e?void 0:p(e))}getTransition(t){return p(this._values[t].transition)}setTransition(t,e){Object.prototype.hasOwnProperty.call(this._values,t)||(this._values[t]=new ei(this._values[t].property)),this._values[t].transition=p(e)||void 0}serialize(){const t={};for(const e of Object.keys(this._values)){const r=this.getValue(e);void 0!==r&&(t[e]=r);const n=this.getTransition(e);void 0!==n&&(t[`${e}-transition`]=n)}return t}transitioned(t,e){const r=new ii(this._properties);for(const n of Object.keys(this._values))r._values[n]=this._values[n].transitioned(t,e._values[n]);return r}untransitioned(){const t=new ii(this._properties);for(const e of Object.keys(this._values))t._values[e]=this._values[e].untransitioned();return t}}class ni{constructor(t,e,r,n,i){this.property=t,this.value=e,this.begin=i+n.delay||0,this.end=this.begin+n.duration||0,t.specification.transition&&(n.delay||n.duration)&&(this.prior=r)}possiblyEvaluate(t,e,r){const n=t.now||0,i=this.value.possiblyEvaluate(t,e,r),a=this.prior;if(a){if(n>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(n<this.begin)return a.possiblyEvaluate(t,e,r);{const s=(n-this.begin)/(this.end-this.begin);return this.property.interpolate(a.possiblyEvaluate(t,e,r),i,function(t){if(t<=0)return 0;if(t>=1)return 1;const e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}(s))}}return i}}class ii{constructor(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)}possiblyEvaluate(t,e,r){const n=new oi(this._properties);for(const i of Object.keys(this._values))n._values[i]=this._values[i].possiblyEvaluate(t,e,r);return n}hasTransition(){for(const t of Object.keys(this._values))if(this._values[t].prior)return!0;return!1}}class ai{constructor(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)}getValue(t){return p(this._values[t].value)}setValue(t,e){this._values[t]=new ti(this._values[t].property,null===e?void 0:p(e))}serialize(){const t={};for(const e of Object.keys(this._values)){const r=this.getValue(e);void 0!==r&&(t[e]=r)}return t}possiblyEvaluate(t,e,r){const n=new oi(this._properties);for(const i of Object.keys(this._values))n._values[i]=this._values[i].possiblyEvaluate(t,e,r);return n}}class si{constructor(t,e,r){this.property=t,this.value=e,this.parameters=r}isConstant(){return"constant"===this.value.kind}constantOr(t){return"constant"===this.value.kind?this.value.value:t}evaluate(t,e,r,n){return this.property.evaluate(this.value,this.parameters,t,e,r,n)}}class oi{constructor(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)}get(t){return this._values[t]}}class li{constructor(t){this.specification=t}possiblyEvaluate(t,e){if(t.isDataDriven())throw new Error("Value should not be data driven");return t.expression.evaluate(e)}interpolate(t,e,r){const n=Ie[this.specification.type];return n?n(t,e,r):t}}class ui{constructor(t,e){this.specification=t,this.overrides=e}possiblyEvaluate(t,e,r,n){return new si(this,"constant"===t.expression.kind||"camera"===t.expression.kind?{kind:"constant",value:t.expression.evaluate(e,null,{},r,n)}:t.expression,e)}interpolate(t,e,r){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new si(this,{kind:"constant",value:void 0},t.parameters);const n=Ie[this.specification.type];return n?new si(this,{kind:"constant",value:n(t.value.value,e.value.value,r)},t.parameters):t}evaluate(t,e,r,n,i,a){return"constant"===t.kind?t.value:t.evaluate(e,r,n,i,a)}}class ci extends ui{possiblyEvaluate(t,e,r,n){if(void 0===t.value)return new si(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){const i=t.expression.evaluate(e,null,{},r,n),a="resolvedImage"===t.property.specification.type&&"string"!=typeof i?i.name:i,s=this._calculate(a,a,a,e);return new si(this,{kind:"constant",value:s},e)}if("camera"===t.expression.kind){const r=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new si(this,{kind:"constant",value:r},e)}return new si(this,t.expression,e)}evaluate(t,e,r,n,i,a){if("source"===t.kind){const s=t.evaluate(e,r,n,i,a);return this._calculate(s,s,s,e)}return"composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},r,n),t.evaluate({zoom:Math.floor(e.zoom)},r,n),t.evaluate({zoom:Math.floor(e.zoom)+1},r,n),e):t.value}_calculate(t,e,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}}interpolate(t){return t}}class hi{constructor(t){this.specification=t}possiblyEvaluate(t,e,r,n){if(void 0!==t.value){if("constant"===t.expression.kind){const i=t.expression.evaluate(e,null,{},r,n);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new Qn(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Qn(Math.floor(e.zoom),e)),t.expression.evaluate(new Qn(Math.floor(e.zoom+1),e)),e)}}_calculate(t,e,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}}interpolate(t){return t}}class pi{constructor(t){this.specification=t}possiblyEvaluate(t,e,r,n){return!!t.expression.evaluate(e,null,{},r,n)}interpolate(){return!1}}class fi{constructor(t){this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(const e in t){const r=t[e];r.specification.overridable&&this.overridableProperties.push(e);const n=this.defaultPropertyValues[e]=new ti(r,void 0),i=this.defaultTransitionablePropertyValues[e]=new ei(r);this.defaultTransitioningPropertyValues[e]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=n.possiblyEvaluate({})}}}Mn("DataDrivenProperty",ui),Mn("DataConstantProperty",li),Mn("CrossFadedDataDrivenProperty",ci),Mn("CrossFadedProperty",hi),Mn("ColorRampProperty",pi);const di="-transition";class yi extends rt{constructor(t,e){if(super(),this.id=t.id,this.type=t.type,this._featureFilter={filter:()=>!0,needGeometry:!1},"custom"!==t.type&&(this.metadata=t.metadata,this.minzoom=t.minzoom,this.maxzoom=t.maxzoom,"background"!==t.type&&(this.source=t.source,this.sourceLayer=t["source-layer"],this.filter=t.filter),e.layout&&(this._unevaluatedLayout=new ai(e.layout)),e.paint)){this._transitionablePaint=new ri(e.paint);for(const e in t.paint)this.setPaintProperty(e,t.paint[e],{validate:!1});for(const e in t.layout)this.setLayoutProperty(e,t.layout[e],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new oi(e.paint)}}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)}setLayoutProperty(t,e,r={}){null!=e&&this._validate(An,`layers.${this.id}.layout.${t}`,t,e,r)||("visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e)}getPaintProperty(t){return t.endsWith(di)?this._transitionablePaint.getTransition(t.slice(0,-di.length)):this._transitionablePaint.getValue(t)}setPaintProperty(t,e,r={}){if(null!=e&&this._validate(_n,`layers.${this.id}.paint.${t}`,t,e,r))return!1;if(t.endsWith(di))return this._transitionablePaint.setTransition(t.slice(0,-di.length),e||void 0),!1;{const r=this._transitionablePaint._values[t],n="cross-faded-data-driven"===r.property.specification["property-type"],i=r.value.isDataDriven(),a=r.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);const s=this._transitionablePaint._values[t].value;return s.isDataDriven()||i||n||this._handleOverridablePaintPropertyUpdate(t,a,s)}}_handleSpecialPaintPropertyUpdate(t){}_handleOverridablePaintPropertyUpdate(t,e,r){return!1}isHidden(t){return!!(this.minzoom&&t<this.minzoom)||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility}updateTransitions(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,void 0,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,void 0,e)}serialize(){const t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),h(t,((t,e)=>!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)))}_validate(t,e,r,n,i={}){return(!i||!1!==i.validate)&&kn(this,t.call(bn,{key:e,layerType:this.type,objectKey:r,value:n,styleSpec:nt,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(const t in this.paint._values){const e=this.paint.get(t);if(e instanceof si&&br(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return!0}return!1}}const mi={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class gi{constructor(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class xi{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}}static deserialize(t){const e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(t){this.reserve(t),this.length=t}reserve(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);const e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}}function vi(t,e=1){let r=0,n=0;return{members:t.map((t=>{const i=mi[t.type].BYTES_PER_ELEMENT,a=r=bi(r,Math.max(e,i)),s=t.components||1;return n=Math.max(n,i),r+=i*s,{name:t.name,type:t.type,components:s,offset:a}})),size:bi(r,Math.max(n,e)),alignment:e}}function bi(t,e){return Math.ceil(t/e)*e}class wi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e){const r=this.length;return this.resize(r+1),this.emplace(r,t,e)}emplace(t,e,r){const n=2*t;return this.int16[n+0]=e,this.int16[n+1]=r,t}}wi.prototype.bytesPerElement=4,Mn("StructArrayLayout2i4",wi);class _i extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)}emplace(t,e,r,n,i){const a=4*t;return this.int16[a+0]=e,this.int16[a+1]=r,this.int16[a+2]=n,this.int16[a+3]=i,t}}_i.prototype.bytesPerElement=8,Mn("StructArrayLayout4i8",_i);class Ai extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,r,n,i,a)}emplace(t,e,r,n,i,a,s){const o=6*t;return this.int16[o+0]=e,this.int16[o+1]=r,this.int16[o+2]=n,this.int16[o+3]=i,this.int16[o+4]=a,this.int16[o+5]=s,t}}Ai.prototype.bytesPerElement=12,Mn("StructArrayLayout2i4i12",Ai);class ki extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,r,n,i,a)}emplace(t,e,r,n,i,a,s){const o=4*t,l=8*t;return this.int16[o+0]=e,this.int16[o+1]=r,this.uint8[l+4]=n,this.uint8[l+5]=i,this.uint8[l+6]=a,this.uint8[l+7]=s,t}}ki.prototype.bytesPerElement=8,Mn("StructArrayLayout2i4ub8",ki);class Si extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e){const r=this.length;return this.resize(r+1),this.emplace(r,t,e)}emplace(t,e,r){const n=2*t;return this.float32[n+0]=e,this.float32[n+1]=r,t}}Si.prototype.bytesPerElement=8,Mn("StructArrayLayout2f8",Si);class Ii extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a,s,o,l,u){const c=this.length;return this.resize(c+1),this.emplace(c,t,e,r,n,i,a,s,o,l,u)}emplace(t,e,r,n,i,a,s,o,l,u,c){const h=10*t;return this.uint16[h+0]=e,this.uint16[h+1]=r,this.uint16[h+2]=n,this.uint16[h+3]=i,this.uint16[h+4]=a,this.uint16[h+5]=s,this.uint16[h+6]=o,this.uint16[h+7]=l,this.uint16[h+8]=u,this.uint16[h+9]=c,t}}Ii.prototype.bytesPerElement=20,Mn("StructArrayLayout10ui20",Ii);class Mi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a,s,o,l,u,c,h){const p=this.length;return this.resize(p+1),this.emplace(p,t,e,r,n,i,a,s,o,l,u,c,h)}emplace(t,e,r,n,i,a,s,o,l,u,c,h,p){const f=12*t;return this.int16[f+0]=e,this.int16[f+1]=r,this.int16[f+2]=n,this.int16[f+3]=i,this.uint16[f+4]=a,this.uint16[f+5]=s,this.uint16[f+6]=o,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=h,this.int16[f+11]=p,t}}Mi.prototype.bytesPerElement=24,Mn("StructArrayLayout4i4ui4i24",Mi);class zi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,r){const n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)}emplace(t,e,r,n){const i=3*t;return this.float32[i+0]=e,this.float32[i+1]=r,this.float32[i+2]=n,t}}zi.prototype.bytesPerElement=12,Mn("StructArrayLayout3f12",zi);class Bi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint32[1*t+0]=e,t}}Bi.prototype.bytesPerElement=4,Mn("StructArrayLayout1ul4",Bi);class Ci extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a,s,o,l){const u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,n,i,a,s,o,l)}emplace(t,e,r,n,i,a,s,o,l,u){const c=10*t,h=5*t;return this.int16[c+0]=e,this.int16[c+1]=r,this.int16[c+2]=n,this.int16[c+3]=i,this.int16[c+4]=a,this.int16[c+5]=s,this.uint32[h+3]=o,this.uint16[c+8]=l,this.uint16[c+9]=u,t}}Ci.prototype.bytesPerElement=20,Mn("StructArrayLayout6i1ul2ui20",Ci);class Pi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a){const s=this.length;return this.resize(s+1),this.emplace(s,t,e,r,n,i,a)}emplace(t,e,r,n,i,a,s){const o=6*t;return this.int16[o+0]=e,this.int16[o+1]=r,this.int16[o+2]=n,this.int16[o+3]=i,this.int16[o+4]=a,this.int16[o+5]=s,t}}Pi.prototype.bytesPerElement=12,Mn("StructArrayLayout2i2i2i12",Pi);class Vi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i){const a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,n,i)}emplace(t,e,r,n,i,a){const s=4*t,o=8*t;return this.float32[s+0]=e,this.float32[s+1]=r,this.float32[s+2]=n,this.int16[o+6]=i,this.int16[o+7]=a,t}}Vi.prototype.bytesPerElement=16,Mn("StructArrayLayout2f1f2i16",Vi);class Ei extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)}emplace(t,e,r,n,i){const a=12*t,s=3*t;return this.uint8[a+0]=e,this.uint8[a+1]=r,this.float32[s+1]=n,this.float32[s+2]=i,t}}Ei.prototype.bytesPerElement=12,Mn("StructArrayLayout2ub2f12",Ei);class Fi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,r){const n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)}emplace(t,e,r,n){const i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=r,this.uint16[i+2]=n,t}}Fi.prototype.bytesPerElement=6,Mn("StructArrayLayout3ui6",Fi);class Ti extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a,s,o,l,u,c,h,p,f,d,y,m){const g=this.length;return this.resize(g+1),this.emplace(g,t,e,r,n,i,a,s,o,l,u,c,h,p,f,d,y,m)}emplace(t,e,r,n,i,a,s,o,l,u,c,h,p,f,d,y,m,g){const x=24*t,v=12*t,b=48*t;return this.int16[x+0]=e,this.int16[x+1]=r,this.uint16[x+2]=n,this.uint16[x+3]=i,this.uint32[v+2]=a,this.uint32[v+3]=s,this.uint32[v+4]=o,this.uint16[x+10]=l,this.uint16[x+11]=u,this.uint16[x+12]=c,this.float32[v+7]=h,this.float32[v+8]=p,this.uint8[b+36]=f,this.uint8[b+37]=d,this.uint8[b+38]=y,this.uint32[v+10]=m,this.int16[x+22]=g,t}}Ti.prototype.bytesPerElement=48,Mn("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ti);class Li extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,r,n,i,a,s,o,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,A,k,S,I,M){const z=this.length;return this.resize(z+1),this.emplace(z,t,e,r,n,i,a,s,o,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,A,k,S,I,M)}emplace(t,e,r,n,i,a,s,o,l,u,c,h,p,f,d,y,m,g,x,v,b,w,_,A,k,S,I,M,z){const B=34*t,C=17*t;return this.int16[B+0]=e,this.int16[B+1]=r,this.int16[B+2]=n,this.int16[B+3]=i,this.int16[B+4]=a,this.int16[B+5]=s,this.int16[B+6]=o,this.int16[B+7]=l,this.uint16[B+8]=u,this.uint16[B+9]=c,this.uint16[B+10]=h,this.uint16[B+11]=p,this.uint16[B+12]=f,this.uint16[B+13]=d,this.uint16[B+14]=y,this.uint16[B+15]=m,this.uint16[B+16]=g,this.uint16[B+17]=x,this.uint16[B+18]=v,this.uint16[B+19]=b,this.uint16[B+20]=w,this.uint16[B+21]=_,this.uint16[B+22]=A,this.uint32[C+12]=k,this.float32[C+13]=S,this.float32[C+14]=I,this.float32[C+15]=M,this.float32[C+16]=z,t}}Li.prototype.bytesPerElement=68,Mn("StructArrayLayout8i15ui1ul4f68",Li);class Di extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.float32[1*t+0]=e,t}}Di.prototype.bytesPerElement=4,Mn("StructArrayLayout1f4",Di);class $i extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(t,e,r){const n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)}emplace(t,e,r,n){const i=3*t;return this.int16[i+0]=e,this.int16[i+1]=r,this.int16[i+2]=n,t}}$i.prototype.bytesPerElement=6,Mn("StructArrayLayout3i6",$i);class Ri extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e,r){const n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)}emplace(t,e,r,n){const i=4*t;return this.uint32[2*t+0]=e,this.uint16[i+2]=r,this.uint16[i+3]=n,t}}Ri.prototype.bytesPerElement=8,Mn("StructArrayLayout1ul2ui8",Ri);class Oi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t,e){const r=this.length;return this.resize(r+1),this.emplace(r,t,e)}emplace(t,e,r){const n=2*t;return this.uint16[n+0]=e,this.uint16[n+1]=r,t}}Oi.prototype.bytesPerElement=4,Mn("StructArrayLayout2ui4",Oi);class Ui extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(t){const e=this.length;return this.resize(e+1),this.emplace(e,t)}emplace(t,e){return this.uint16[1*t+0]=e,t}}Ui.prototype.bytesPerElement=2,Mn("StructArrayLayout1ui2",Ui);class qi extends xi{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(t,e,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)}emplace(t,e,r,n,i){const a=4*t;return this.float32[a+0]=e,this.float32[a+1]=r,this.float32[a+2]=n,this.float32[a+3]=i,t}}qi.prototype.bytesPerElement=16,Mn("StructArrayLayout4f16",qi);class ji extends gi{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new S(this.anchorPointX,this.anchorPointY)}}ji.prototype.size=20;class Ni extends Ci{get(t){return new ji(this,t)}}Mn("CollisionBoxArray",Ni);class Zi extends gi{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(t){this._structArray.uint8[this._pos1+37]=t}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(t){this._structArray.uint8[this._pos1+38]=t}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(t){this._structArray.uint32[this._pos4+10]=t}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}Zi.prototype.size=48;class Ki extends Ti{get(t){return new Zi(this,t)}}Mn("PlacedSymbolArray",Ki);class Gi extends gi{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(t){this._structArray.uint32[this._pos4+12]=t}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get textOffset0(){return this._structArray.float32[this._pos4+14]}get textOffset1(){return this._structArray.float32[this._pos4+15]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+16]}}Gi.prototype.size=68;class Ji extends Li{get(t){return new Gi(this,t)}}Mn("SymbolInstanceArray",Ji);class Xi extends Di{getoffsetX(t){return this.float32[1*t+0]}}Mn("GlyphOffsetArray",Xi);class Yi extends $i{getx(t){return this.int16[3*t+0]}gety(t){return this.int16[3*t+1]}gettileUnitDistanceFromAnchor(t){return this.int16[3*t+2]}}Mn("SymbolLineVertexArray",Yi);class Hi extends gi{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}Hi.prototype.size=8;class Wi extends Ri{get(t){return new Hi(this,t)}}Mn("FeatureIndexArray",Wi);class Qi extends wi{}class ta extends wi{}class ea extends wi{}class ra extends Ai{}class na extends ki{}class ia extends Si{}class aa extends Ii{}class sa extends Mi{}class oa extends zi{}class la extends Bi{}class ua extends Pi{}class ca extends Ei{}class ha extends Fi{}class pa extends Oi{}const fa=vi([{name:"a_pos",components:2,type:"Int16"}],4),{members:da}=fa;class ya{constructor(t=[]){this.segments=t}prepareSegment(t,e,r,n){let i=this.segments[this.segments.length-1];return t>ya.MAX_VERTEX_ARRAY_LENGTH&&d(`Max vertices per segment is ${ya.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}`),(!i||i.vertexLength+t>ya.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==n)&&(i={vertexOffset:e.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==n&&(i.sortKey=n),this.segments.push(i)),i}get(){return this.segments}destroy(){for(const t of this.segments)for(const e in t.vaos)t.vaos[e].destroy()}static simpleSegment(t,e,r,n){return new ya([{vertexOffset:t,primitiveOffset:e,vertexLength:r,primitiveLength:n,vaos:{},sortKey:0}])}}function ma(t,e){return 256*(t=a(Math.floor(t),0,255))+a(Math.floor(e),0,255)}ya.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Mn("SegmentVector",ya);const ga=vi([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]);var xa={exports:{}},va={exports:function(t,e){var r,n,i,a,s,o,l,u;for(n=t.length-(r=3&t.length),i=e,s=3432918353,o=461845907,u=0;u<n;)l=255&t.charCodeAt(u)|(255&t.charCodeAt(++u))<<8|(255&t.charCodeAt(++u))<<16|(255&t.charCodeAt(++u))<<24,++u,i=27492+(65535&(a=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*s+(((l>>>16)*s&65535)<<16)&4294967295)<<15|l>>>17))*o+(((l>>>16)*o&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(a>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<15|l>>>17))*o+(((l>>>16)*o&65535)<<16)&4294967295}return i^=t.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}},ba={exports:function(t,e){for(var r,n=t.length,i=e^n,a=0;n>=4;)r=1540483477*(65535&(r=255&t.charCodeAt(a)|(255&t.charCodeAt(++a))<<8|(255&t.charCodeAt(++a))<<16|(255&t.charCodeAt(++a))<<24))+((1540483477*(r>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),n-=4,++a;switch(n){case 3:i^=(255&t.charCodeAt(a+2))<<16;case 2:i^=(255&t.charCodeAt(a+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(a)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}},wa=va.exports,_a=ba.exports;xa.exports=wa,xa.exports.murmur3=wa,xa.exports.murmur2=_a;class Aa{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(t,e,r,n){this.ids.push(ka(t)),this.positions.push(e,r,n)}getPositions(t){if(!this.indexed)throw new Error("Trying to get index, but feature positions are not indexed");const e=ka(t);let r=0,n=this.ids.length-1;for(;r<n;){const t=r+n>>1;this.ids[t]>=e?n=t:r=t+1}const i=[];for(;this.ids[r]===e;)i.push({index:this.positions[3*r],start:this.positions[3*r+1],end:this.positions[3*r+2]}),r++;return i}static serialize(t,e){const r=new Float64Array(t.ids),n=new Uint32Array(t.positions);return Sa(r,n,0,r.length-1),e&&e.push(r.buffer,n.buffer),{ids:r,positions:n}}static deserialize(t){const e=new Aa;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e}}function ka(t){const e=+t;return!isNaN(e)&&e<=Number.MAX_SAFE_INTEGER?e:xa.exports(String(t))}function Sa(t,e,r,n){for(;r<n;){const i=t[r+n>>1];let a=r-1,s=n+1;for(;;){do{a++}while(t[a]<i);do{s--}while(t[s]>i);if(a>=s)break;Ia(t,a,s),Ia(e,3*a,3*s),Ia(e,3*a+1,3*s+1),Ia(e,3*a+2,3*s+2)}s-r<n-s?(Sa(t,e,r,s),r=s+1):(Sa(t,e,s+1,n),n=s)}}function Ia(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}Mn("FeaturePositionMap",Aa);class Ma{constructor(t,e){this.gl=t.gl,this.location=e}}class za extends Ma{constructor(t,e){super(t,e),this.current=0}set(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t))}}class Ba extends Ma{constructor(t,e){super(t,e),this.current=[0,0,0,0]}set(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]))}}class Ca extends Ma{constructor(t,e){super(t,e),this.current=Ft.transparent}set(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a))}}const Pa=new Float32Array(16);function Va(t){return[ma(255*t.r,255*t.g),ma(255*t.b,255*t.a)]}class Ea{constructor(t,e,r){this.value=t,this.uniformNames=e.map((t=>`u_${t}`)),this.type=r}setUniform(t,e,r){t.set(r.constantOr(this.value))}getBinding(t,e,r){return"color"===this.type?new Ca(t,e):new za(t,e)}}class Fa{constructor(t,e){this.uniformNames=e.map((t=>`u_${t}`)),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1}setConstantPatternPositions(t,e){this.pixelRatioFrom=e.pixelRatio,this.pixelRatioTo=t.pixelRatio,this.patternFrom=e.tlbr,this.patternTo=t.tlbr}setUniform(t,e,r,n){const i="u_pattern_to"===n?this.patternTo:"u_pattern_from"===n?this.patternFrom:"u_pixel_ratio_to"===n?this.pixelRatioTo:"u_pixel_ratio_from"===n?this.pixelRatioFrom:null;i&&t.set(i)}getBinding(t,e,r){return"u_pattern"===r.substr(0,9)?new Ba(t,e):new za(t,e)}}class Ta{constructor(t,e,r,n){this.expression=t,this.type=r,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===r?2:1,offset:0}))),this.paintVertexArray=new n}populatePaintArray(t,e,r,n,i){const a=this.paintVertexArray.length,s=this.expression.evaluate(new Qn(0),e,{},n,[],i);this.paintVertexArray.resize(t),this._setPaintValue(a,t,s)}updatePaintArray(t,e,r,n){const i=this.expression.evaluate({zoom:0},r,n);this._setPaintValue(t,e,i)}_setPaintValue(t,e,r){if("color"===this.type){const n=Va(r);for(let r=t;r<e;r++)this.paintVertexArray.emplace(r,n[0],n[1])}else{for(let n=t;n<e;n++)this.paintVertexArray.emplace(n,r);this.maxValue=Math.max(this.maxValue,Math.abs(r))}}upload(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))}destroy(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()}}class La{constructor(t,e,r,n,i,a){this.expression=t,this.uniformNames=e.map((t=>`u_${t}_t`)),this.type=r,this.useIntegerZoom=n,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=e.map((t=>({name:`a_${t}`,type:"Float32",components:"color"===r?4:2,offset:0}))),this.paintVertexArray=new a}populatePaintArray(t,e,r,n,i){const a=this.expression.evaluate(new Qn(this.zoom),e,{},n,[],i),s=this.expression.evaluate(new Qn(this.zoom+1),e,{},n,[],i),o=this.paintVertexArray.length;this.paintVertexArray.resize(t),this._setPaintValue(o,t,a,s)}updatePaintArray(t,e,r,n){const i=this.expression.evaluate({zoom:this.zoom},r,n),a=this.expression.evaluate({zoom:this.zoom+1},r,n);this._setPaintValue(t,e,i,a)}_setPaintValue(t,e,r,n){if("color"===this.type){const i=Va(r),a=Va(n);for(let r=t;r<e;r++)this.paintVertexArray.emplace(r,i[0],i[1],a[0],a[1])}else{for(let i=t;i<e;i++)this.paintVertexArray.emplace(i,r,n);this.maxValue=Math.max(this.maxValue,Math.abs(r),Math.abs(n))}}upload(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))}destroy(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()}setUniform(t,e){const r=this.useIntegerZoom?Math.floor(e.zoom):e.zoom,n=a(this.expression.interpolationFactor(r,this.zoom,this.zoom+1),0,1);t.set(n)}getBinding(t,e,r){return new za(t,e)}}class Da{constructor(t,e,r,n,i,a){this.expression=t,this.type=e,this.useIntegerZoom=r,this.zoom=n,this.layerId=a,this.zoomInPaintVertexArray=new i,this.zoomOutPaintVertexArray=new i}populatePaintArray(t,e,r){const n=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(t),this.zoomOutPaintVertexArray.resize(t),this._setPaintValues(n,t,e.patterns&&e.patterns[this.layerId],r)}updatePaintArray(t,e,r,n,i){this._setPaintValues(t,e,r.patterns&&r.patterns[this.layerId],i)}_setPaintValues(t,e,r,n){if(!n||!r)return;const{min:i,mid:a,max:s}=r,o=n[i],l=n[a],u=n[s];if(o&&l&&u)for(let r=t;r<e;r++)this.zoomInPaintVertexArray.emplace(r,l.tl[0],l.tl[1],l.br[0],l.br[1],o.tl[0],o.tl[1],o.br[0],o.br[1],l.pixelRatio,o.pixelRatio),this.zoomOutPaintVertexArray.emplace(r,l.tl[0],l.tl[1],l.br[0],l.br[1],u.tl[0],u.tl[1],u.br[0],u.br[1],l.pixelRatio,u.pixelRatio)}upload(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,ga.members,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,ga.members,this.expression.isStateDependent))}destroy(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()}}class $a{constructor(t,e,r){this.binders={},this._buffers=[];const n=[];for(const i in t.paint._values){if(!r(i))continue;const a=t.paint.get(i);if(!(a instanceof si&&br(a.property.specification)))continue;const s=Oa(i,t.type),o=a.value,l=a.property.specification.type,u=a.property.useIntegerZoom,c=a.property.specification["property-type"],h="cross-faded"===c||"cross-faded-data-driven"===c;if("constant"===o.kind)this.binders[i]=h?new Fa(o.value,s):new Ea(o.value,s,l),n.push(`/u_${i}`);else if("source"===o.kind||h){const r=Ua(i,l,"source");this.binders[i]=h?new Da(o,l,u,e,r,t.id):new Ta(o,s,l,r),n.push(`/a_${i}`)}else{const t=Ua(i,l,"composite");this.binders[i]=new La(o,s,l,u,e,t),n.push(`/z_${i}`)}}this.cacheKey=n.sort().join("")}getMaxValue(t){const e=this.binders[t];return e instanceof Ta||e instanceof La?e.maxValue:0}populatePaintArrays(t,e,r,n,i){for(const a in this.binders){const s=this.binders[a];(s instanceof Ta||s instanceof La||s instanceof Da)&&s.populatePaintArray(t,e,r,n,i)}}setConstantPatternPositions(t,e){for(const r in this.binders){const n=this.binders[r];n instanceof Fa&&n.setConstantPatternPositions(t,e)}}updatePaintArrays(t,e,r,n,i){let a=!1;for(const s in t){const o=e.getPositions(s);for(const e of o){const o=r.feature(e.index);for(const r in this.binders){const l=this.binders[r];if((l instanceof Ta||l instanceof La||l instanceof Da)&&!0===l.expression.isStateDependent){const u=n.paint.get(r);l.expression=u.value,l.updatePaintArray(e.start,e.end,o,t[s],i),a=!0}}}}return a}defines(){const t=[];for(const e in this.binders){const r=this.binders[e];(r instanceof Ea||r instanceof Fa)&&t.push(...r.uniformNames.map((t=>`#define HAS_UNIFORM_${t}`)))}return t}getBinderAttributes(){const t=[];for(const e in this.binders){const r=this.binders[e];if(r instanceof Ta||r instanceof La)for(let e=0;e<r.paintVertexAttributes.length;e++)t.push(r.paintVertexAttributes[e].name);else if(r instanceof Da)for(let e=0;e<ga.members.length;e++)t.push(ga.members[e].name)}return t}getBinderUniforms(){const t=[];for(const e in this.binders){const r=this.binders[e];if(r instanceof Ea||r instanceof Fa||r instanceof La)for(const e of r.uniformNames)t.push(e)}return t}getPaintVertexBuffers(){return this._buffers}getUniforms(t,e){const r=[];for(const n in this.binders){const i=this.binders[n];if(i instanceof Ea||i instanceof Fa||i instanceof La)for(const a of i.uniformNames)if(e[a]){const s=i.getBinding(t,e[a],a);r.push({name:a,property:n,binding:s})}}return r}setUniforms(t,e,r,n){for(const{name:t,property:i,binding:a}of e)this.binders[i].setUniform(a,n,r.get(i),t)}updatePaintBuffers(t){this._buffers=[];for(const e in this.binders){const r=this.binders[e];if(t&&r instanceof Da){const e=2===t.fromScale?r.zoomInPaintVertexBuffer:r.zoomOutPaintVertexBuffer;e&&this._buffers.push(e)}else(r instanceof Ta||r instanceof La)&&r.paintVertexBuffer&&this._buffers.push(r.paintVertexBuffer)}}upload(t){for(const e in this.binders){const r=this.binders[e];(r instanceof Ta||r instanceof La||r instanceof Da)&&r.upload(t)}this.updatePaintBuffers()}destroy(){for(const t in this.binders){const e=this.binders[t];(e instanceof Ta||e instanceof La||e instanceof Da)&&e.destroy()}}}class Ra{constructor(t,e,r=(()=>!0)){this.programConfigurations={};for(const n of t)this.programConfigurations[n.id]=new $a(n,e,r);this.needsUpload=!1,this._featureMap=new Aa,this._bufferOffset=0}populatePaintArrays(t,e,r,n,i,a){for(const r in this.programConfigurations)this.programConfigurations[r].populatePaintArrays(t,e,n,i,a);void 0!==e.id&&this._featureMap.add(e.id,r,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0}updatePaintArrays(t,e,r,n){for(const i of r)this.needsUpload=this.programConfigurations[i.id].updatePaintArrays(t,this._featureMap,e,i,n)||this.needsUpload}get(t){return this.programConfigurations[t]}upload(t){if(this.needsUpload){for(const e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}}destroy(){for(const t in this.programConfigurations)this.programConfigurations[t].destroy()}}function Oa(t,e){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[t]||[t.replace(`${e}-`,"").replace(/-/g,"_")]}function Ua(t,e,r){const n={color:{source:Si,composite:qi},number:{source:Di,composite:Si}},i=function(t){return{"line-pattern":{source:aa,composite:aa},"fill-pattern":{source:aa,composite:aa},"fill-extrusion-pattern":{source:aa,composite:aa}}[t]}(t);return i&&i[r]||n[e][r]}Mn("ConstantBinder",Ea),Mn("CrossFadedConstantBinder",Fa),Mn("SourceExpressionBinder",Ta),Mn("CrossFadedCompositeBinder",Da),Mn("CompositeExpressionBinder",La),Mn("ProgramConfiguration",$a,{omit:["_buffers"]}),Mn("ProgramConfigurationSet",Ra);var qa=8192;const ja=Math.pow(2,14)-1,Na=-ja-1;function Za(t){const e=qa/t.extent,r=t.loadGeometry();for(let t=0;t<r.length;t++){const n=r[t];for(let t=0;t<n.length;t++){const r=n[t],i=Math.round(r.x*e),s=Math.round(r.y*e);r.x=a(i,Na,ja),r.y=a(s,Na,ja),(i<r.x||i>r.x+1||s<r.y||s>r.y+1)&&d("Geometry exceeds allowed extent, reduce your vector tile buffer size")}}return r}function Ka(t,e){return{type:t.type,id:t.id,properties:t.properties,geometry:e?Za(t):[]}}function Ga(t,e,r,n,i){t.emplaceBack(2*e+(n+1)/2,2*r+(i+1)/2)}class Ja{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new ta,this.indexArray=new ha,this.segments=new ya,this.programConfigurations=new Ra(t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id))}populate(t,e,r){const n=this.layers[0],i=[];let a=null,s=!1;"circle"===n.type&&(a=n.layout.get("circle-sort-key"),s=!a.isConstant());for(const{feature:e,id:n,index:o,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ka(e,t);if(!this.layers[0]._featureFilter.filter(new Qn(this.zoom),u,r))continue;const c=s?a.evaluate(u,{},r):void 0,h={id:n,properties:e.properties,type:e.type,sourceLayerIndex:l,index:o,geometry:t?u.geometry:Za(e),patterns:{},sortKey:c};i.push(h)}s&&i.sort(((t,e)=>t.sortKey-e.sortKey));for(const n of i){const{geometry:i,index:a,sourceLayerIndex:s}=n,o=t[a].feature;this.addFeature(n,i,a,r),e.featureIndex.insert(o,i,a,s,this.index)}}update(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,da),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(t,e,r,n){for(const r of e)for(const e of r){const r=e.x,n=e.y;if(r<0||r>=qa||n<0||n>=qa)continue;const i=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),a=i.vertexLength;Ga(this.layoutVertexArray,r,n,-1,-1),Ga(this.layoutVertexArray,r,n,1,-1),Ga(this.layoutVertexArray,r,n,1,1),Ga(this.layoutVertexArray,r,n,-1,1),this.indexArray.emplaceBack(a,a+1,a+2),this.indexArray.emplaceBack(a,a+3,a+2),i.vertexLength+=4,i.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,{},n)}}function Xa(t,e){for(let r=0;r<t.length;r++)if(is(e,t[r]))return!0;for(let r=0;r<e.length;r++)if(is(t,e[r]))return!0;return!!Qa(t,e)}function Ya(t,e,r){return!!is(t,e)||!!es(e,t,r)}function Ha(t,e){if(1===t.length)return ns(e,t[0]);for(let r=0;r<e.length;r++){const n=e[r];for(let e=0;e<n.length;e++)if(is(t,n[e]))return!0}for(let r=0;r<t.length;r++)if(ns(e,t[r]))return!0;for(let r=0;r<e.length;r++)if(Qa(t,e[r]))return!0;return!1}function Wa(t,e,r){if(t.length>1){if(Qa(t,e))return!0;for(let n=0;n<e.length;n++)if(es(e[n],t,r))return!0}for(let n=0;n<t.length;n++)if(es(t[n],e,r))return!0;return!1}function Qa(t,e){if(0===t.length||0===e.length)return!1;for(let r=0;r<t.length-1;r++){const n=t[r],i=t[r+1];for(let t=0;t<e.length-1;t++)if(ts(n,i,e[t],e[t+1]))return!0}return!1}function ts(t,e,r,n){return y(t,r,n)!==y(e,r,n)&&y(t,e,r)!==y(t,e,n)}function es(t,e,r){const n=r*r;if(1===e.length)return t.distSqr(e[0])<n;for(let r=1;r<e.length;r++)if(rs(t,e[r-1],e[r])<n)return!0;return!1}function rs(t,e,r){const n=e.distSqr(r);if(0===n)return t.distSqr(e);const i=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/n;return t.distSqr(i<0?e:i>1?r:r.sub(e)._mult(i)._add(e))}function ns(t,e){let r,n,i,a=!1;for(let s=0;s<t.length;s++){r=t[s];for(let t=0,s=r.length-1;t<r.length;s=t++)n=r[t],i=r[s],n.y>e.y!=i.y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(a=!a)}return a}function is(t,e){let r=!1;for(let n=0,i=t.length-1;n<t.length;i=n++){const a=t[n],s=t[i];a.y>e.y!=s.y>e.y&&e.x<(s.x-a.x)*(e.y-a.y)/(s.y-a.y)+a.x&&(r=!r)}return r}function as(t,e,r){const n=r[0],i=r[2];if(t.x<n.x&&e.x<n.x||t.x>i.x&&e.x>i.x||t.y<n.y&&e.y<n.y||t.y>i.y&&e.y>i.y)return!1;const a=y(t,e,r[0]);return a!==y(t,e,r[1])||a!==y(t,e,r[2])||a!==y(t,e,r[3])}function ss(t,e,r){const n=e.paint.get(t).value;return"constant"===n.kind?n.value:r.programConfigurations.get(e.id).getMaxValue(t)}function os(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function ls(t,e,r,n,i){if(!e[0]&&!e[1])return t;const a=S.convert(e)._mult(i);"viewport"===r&&a._rotate(-n);const s=[];for(let e=0;e<t.length;e++)s.push(t[e].sub(a));return s}Mn("CircleBucket",Ja,{omit:["layers"]});const us=new fi({"circle-sort-key":new ui(nt.layout_circle["circle-sort-key"])});var cs={paint:new fi({"circle-radius":new ui(nt.paint_circle["circle-radius"]),"circle-color":new ui(nt.paint_circle["circle-color"]),"circle-blur":new ui(nt.paint_circle["circle-blur"]),"circle-opacity":new ui(nt.paint_circle["circle-opacity"]),"circle-translate":new li(nt.paint_circle["circle-translate"]),"circle-translate-anchor":new li(nt.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new li(nt.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new li(nt.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ui(nt.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ui(nt.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ui(nt.paint_circle["circle-stroke-opacity"])}),layout:us},hs=1e-6,ps="undefined"!=typeof Float32Array?Float32Array:Array;function fs(){var t=new ps(9);return ps!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function ds(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function ys(t,e,r){var n=e[0],i=e[1],a=e[2],s=e[3],o=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],y=e[12],m=e[13],g=e[14],x=e[15],v=r[0],b=r[1],w=r[2],_=r[3];return t[0]=v*n+b*o+w*h+_*y,t[1]=v*i+b*l+w*p+_*m,t[2]=v*a+b*u+w*f+_*g,t[3]=v*s+b*c+w*d+_*x,t[4]=(v=r[4])*n+(b=r[5])*o+(w=r[6])*h+(_=r[7])*y,t[5]=v*i+b*l+w*p+_*m,t[6]=v*a+b*u+w*f+_*g,t[7]=v*s+b*c+w*d+_*x,t[8]=(v=r[8])*n+(b=r[9])*o+(w=r[10])*h+(_=r[11])*y,t[9]=v*i+b*l+w*p+_*m,t[10]=v*a+b*u+w*f+_*g,t[11]=v*s+b*c+w*d+_*x,t[12]=(v=r[12])*n+(b=r[13])*o+(w=r[14])*h+(_=r[15])*y,t[13]=v*i+b*l+w*p+_*m,t[14]=v*a+b*u+w*f+_*g,t[15]=v*s+b*c+w*d+_*x,t}Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)});var ms,gs=ys;function xs(){var t=new ps(3);return ps!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function vs(t,e,r){var n=new ps(3);return n[0]=t,n[1]=e,n[2]=r,n}function bs(t,e,r){var n=e[0],i=e[1],a=e[2],s=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*a+r[12]*s,t[1]=r[1]*n+r[5]*i+r[9]*a+r[13]*s,t[2]=r[2]*n+r[6]*i+r[10]*a+r[14]*s,t[3]=r[3]*n+r[7]*i+r[11]*a+r[15]*s,t}function ws(){var t=new ps(4);return ps!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function _s(t,e){const r=bs([],[t.x,t.y,0,1],e);return new S(r[0]/r[3],r[1]/r[3])}xs(),ms=new ps(4),ps!=Float32Array&&(ms[0]=0,ms[1]=0,ms[2]=0,ms[3]=0),xs(),vs(1,0,0),vs(0,1,0),ws(),ws(),fs(),function(){var t;t=new ps(2),ps!=Float32Array&&(t[0]=0,t[1]=0)}();class As extends Ja{}Mn("HeatmapBucket",As,{omit:["layers"]});var ks={paint:new fi({"heatmap-radius":new ui(nt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new ui(nt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new li(nt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new pi(nt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new li(nt.paint_heatmap["heatmap-opacity"])})};function Ss(t,{width:e,height:r},n,i){if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==e*r*n)throw new RangeError(`mismatched image size. expected: ${i.length} but got: ${e*r*n}`)}else i=new Uint8Array(e*r*n);return t.width=e,t.height=r,t.data=i,t}function Is(t,{width:e,height:r},n){if(e===t.width&&r===t.height)return;const i=Ss({},{width:e,height:r},n);Ms(t,i,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,e),height:Math.min(t.height,r)},n),t.width=e,t.height=r,t.data=i.data}function Ms(t,e,r,n,i,a){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||r.x>t.width-i.width||r.y>t.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>e.width||i.height>e.height||n.x>e.width-i.width||n.y>e.height-i.height)throw new RangeError("out of range destination coordinates for image copy");const s=t.data,o=e.data;if(s===o)throw new Error("srcData equals dstData, so image is already copied");for(let l=0;l<i.height;l++){const u=((r.y+l)*t.width+r.x)*a,c=((n.y+l)*e.width+n.x)*a;for(let t=0;t<i.width*a;t++)o[c+t]=s[u+t]}return e}class zs{constructor(t,e){Ss(this,t,1,e)}resize(t){Is(this,t,1)}clone(){return new zs({width:this.width,height:this.height},new Uint8Array(this.data))}static copy(t,e,r,n,i){Ms(t,e,r,n,i,1)}}class Bs{constructor(t,e){Ss(this,t,4,e)}resize(t){Is(this,t,4)}replace(t,e){e?this.data.set(t):this.data=t instanceof Uint8ClampedArray?new Uint8Array(t.buffer):t}clone(){return new Bs({width:this.width,height:this.height},new Uint8Array(this.data))}static copy(t,e,r,n,i){Ms(t,e,r,n,i,4)}}function Cs(t){const e={},r=t.resolution||256,n=t.clips?t.clips.length:1,i=t.image||new Bs({width:r,height:n});if(Math.log(r)/Math.LN2%1!=0)throw new Error(`width is not a power of 2 - ${r}`);const a=(r,n,a)=>{e[t.evaluationKey]=a;const s=t.expression.evaluate(e);i.data[r+n+0]=Math.floor(255*s.r/s.a),i.data[r+n+1]=Math.floor(255*s.g/s.a),i.data[r+n+2]=Math.floor(255*s.b/s.a),i.data[r+n+3]=Math.floor(255*s.a)};if(t.clips)for(let e=0,i=0;e<n;++e,i+=4*r)for(let n=0,s=0;n<r;n++,s+=4){const o=n/(r-1),{start:l,end:u}=t.clips[e];a(i,s,l*(1-o)+u*o)}else for(let t=0,e=0;t<r;t++,e+=4)a(0,e,t/(r-1));return i}Mn("AlphaImage",zs),Mn("RGBAImage",Bs);var Ps={paint:new fi({"hillshade-illumination-direction":new li(nt.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new li(nt.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new li(nt.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new li(nt.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new li(nt.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new li(nt.paint_hillshade["hillshade-accent-color"])})};const Vs=vi([{name:"a_pos",components:2,type:"Int16"}],4),{members:Es}=Vs;var Fs={exports:{}};function Ts(t,e,r){r=r||2;var n,i,a,s,o,l,u,c=e&&e.length,h=c?e[0]*r:t.length,p=Ls(t,0,h,r,!0),f=[];if(!p||p.next===p.prev)return f;if(c&&(p=function(t,e,r,n){var i,a,s,o=[];for(i=0,a=e.length;i<a;i++)(s=Ls(t,e[i]*n,i<a-1?e[i+1]*n:t.length,n,!1))===s.next&&(s.steiner=!0),o.push(Gs(s));for(o.sort(js),i=0;i<o.length;i++)r=Ns(o[i],r);return r}(t,e,p,r)),t.length>80*r){n=a=t[0],i=s=t[1];for(var d=r;d<h;d+=r)(o=t[d])<n&&(n=o),(l=t[d+1])<i&&(i=l),o>a&&(a=o),l>s&&(s=l);u=0!==(u=Math.max(a-n,s-i))?32767/u:0}return $s(p,f,r,n,i,u,0),f}function Ls(t,e,r,n,i){var a,s;if(i===so(t,e,r,n)>0)for(a=e;a<r;a+=n)s=no(a,t[a],t[a+1],s);else for(a=r-n;a>=e;a-=n)s=no(a,t[a],t[a+1],s);return s&&Hs(s,s.next)&&(io(s),s=s.next),s}function Ds(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!Hs(n,n.next)&&0!==Ys(n.prev,n,n.next))n=n.next;else{if(io(n),(n=e=n.prev)===n.next)break;r=!0}}while(r||n!==e);return e}function $s(t,e,r,n,i,a,s){if(t){!s&&a&&function(t,e,r,n){var i=t;do{0===i.z&&(i.z=Ks(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,a,s,o,l,u=1;do{for(r=t,t=null,a=null,s=0;r;){for(s++,n=r,o=0,e=0;e<u&&(o++,n=n.nextZ);e++);for(l=u;o>0||l>0&&n;)0!==o&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,o--):(i=n,n=n.nextZ,l--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n}a.nextZ=null,u*=2}while(s>1)}(i)}(t,n,i,a);for(var o,l,u=t;t.prev!==t.next;)if(o=t.prev,l=t.next,a?Os(t,n,i,a):Rs(t))e.push(o.i/r|0),e.push(t.i/r|0),e.push(l.i/r|0),io(t),t=l.next,u=l.next;else if((t=l)===u){s?1===s?$s(t=Us(Ds(t),e,r),e,r,n,i,a,2):2===s&&qs(t,e,r,n,i,a):$s(Ds(t),e,r,n,i,a,1);break}}}function Rs(t){var e=t.prev,r=t,n=t.next;if(Ys(e,r,n)>=0)return!1;for(var i=e.x,a=r.x,s=n.x,o=e.y,l=r.y,u=n.y,c=i<a?i<s?i:s:a<s?a:s,h=o<l?o<u?o:u:l<u?l:u,p=i>a?i>s?i:s:a>s?a:s,f=o>l?o>u?o:u:l>u?l:u,d=n.next;d!==e;){if(d.x>=c&&d.x<=p&&d.y>=h&&d.y<=f&&Js(i,o,a,l,s,u,d.x,d.y)&&Ys(d.prev,d,d.next)>=0)return!1;d=d.next}return!0}function Os(t,e,r,n){var i=t.prev,a=t,s=t.next;if(Ys(i,a,s)>=0)return!1;for(var o=i.x,l=a.x,u=s.x,c=i.y,h=a.y,p=s.y,f=o<l?o<u?o:u:l<u?l:u,d=c<h?c<p?c:p:h<p?h:p,y=o>l?o>u?o:u:l>u?l:u,m=c>h?c>p?c:p:h>p?h:p,g=Ks(f,d,e,r,n),x=Ks(y,m,e,r,n),v=t.prevZ,b=t.nextZ;v&&v.z>=g&&b&&b.z<=x;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==s&&Js(o,c,l,h,u,p,v.x,v.y)&&Ys(v.prev,v,v.next)>=0)return!1;if(v=v.prevZ,b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==s&&Js(o,c,l,h,u,p,b.x,b.y)&&Ys(b.prev,b,b.next)>=0)return!1;b=b.nextZ}for(;v&&v.z>=g;){if(v.x>=f&&v.x<=y&&v.y>=d&&v.y<=m&&v!==i&&v!==s&&Js(o,c,l,h,u,p,v.x,v.y)&&Ys(v.prev,v,v.next)>=0)return!1;v=v.prevZ}for(;b&&b.z<=x;){if(b.x>=f&&b.x<=y&&b.y>=d&&b.y<=m&&b!==i&&b!==s&&Js(o,c,l,h,u,p,b.x,b.y)&&Ys(b.prev,b,b.next)>=0)return!1;b=b.nextZ}return!0}function Us(t,e,r){var n=t;do{var i=n.prev,a=n.next.next;!Hs(i,a)&&Ws(i,n,n.next,a)&&eo(i,a)&&eo(a,i)&&(e.push(i.i/r|0),e.push(n.i/r|0),e.push(a.i/r|0),io(n),io(n.next),n=t=a),n=n.next}while(n!==t);return Ds(n)}function qs(t,e,r,n,i,a){var s=t;do{for(var o=s.next.next;o!==s.prev;){if(s.i!==o.i&&Xs(s,o)){var l=ro(s,o);return s=Ds(s,s.next),l=Ds(l,l.next),$s(s,e,r,n,i,a,0),void $s(l,e,r,n,i,a,0)}o=o.next}s=s.next}while(s!==t)}function js(t,e){return t.x-e.x}function Ns(t,e){var r=function(t,e){var r,n=e,i=t.x,a=t.y,s=-1/0;do{if(a<=n.y&&a>=n.next.y&&n.next.y!==n.y){var o=n.x+(a-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(o<=i&&o>s&&(s=o,r=n.x<n.next.x?n:n.next,o===i))return r}n=n.next}while(n!==e);if(!r)return null;var l,u=r,c=r.x,h=r.y,p=1/0;n=r;do{i>=n.x&&n.x>=c&&i!==n.x&&Js(a<h?i:s,a,c,h,a<h?s:i,a,n.x,n.y)&&(l=Math.abs(a-n.y)/(i-n.x),eo(n,t)&&(l<p||l===p&&(n.x>r.x||n.x===r.x&&Zs(r,n)))&&(r=n,p=l)),n=n.next}while(n!==u);return r}(t,e);if(!r)return e;var n=ro(r,t);return Ds(n,n.next),Ds(r,r.next)}function Zs(t,e){return Ys(t.prev,t,e.prev)<0&&Ys(e.next,t,t.next)<0}function Ks(t,e,r,n,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-r)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Gs(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function Js(t,e,r,n,i,a,s,o){return(i-s)*(e-o)>=(t-s)*(a-o)&&(t-s)*(n-o)>=(r-s)*(e-o)&&(r-s)*(a-o)>=(i-s)*(n-o)}function Xs(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&Ws(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&(eo(t,e)&&eo(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do{r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}(t,e)&&(Ys(t.prev,t,e.prev)||Ys(t,e.prev,e))||Hs(t,e)&&Ys(t.prev,t,t.next)>0&&Ys(e.prev,e,e.next)>0)}function Ys(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function Hs(t,e){return t.x===e.x&&t.y===e.y}function Ws(t,e,r,n){var i=to(Ys(t,e,r)),a=to(Ys(t,e,n)),s=to(Ys(r,n,t)),o=to(Ys(r,n,e));return i!==a&&s!==o||!(0!==i||!Qs(t,r,e))||!(0!==a||!Qs(t,n,e))||!(0!==s||!Qs(r,t,n))||!(0!==o||!Qs(r,e,n))}function Qs(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function to(t){return t>0?1:t<0?-1:0}function eo(t,e){return Ys(t.prev,t,t.next)<0?Ys(t,e,t.next)>=0&&Ys(t,t.prev,e)>=0:Ys(t,e,t.prev)<0||Ys(t,t.next,e)<0}function ro(t,e){var r=new ao(t.i,t.x,t.y),n=new ao(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function no(t,e,r,n){var i=new ao(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function io(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function ao(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function so(t,e,r,n){for(var i=0,a=e,s=r-n;a<r;a+=n)i+=(t[s]-t[a])*(t[a+1]+t[s+1]),s=a;return i}function oo(t,e,r,n,i){lo(t,e,r||0,n||t.length-1,i||co)}function lo(t,e,r,n,i){for(;n>r;){if(n-r>600){var a=n-r+1,s=e-r+1,o=Math.log(a),l=.5*Math.exp(2*o/3),u=.5*Math.sqrt(o*l*(a-l)/a)*(s-a/2<0?-1:1);lo(t,e,Math.max(r,Math.floor(e-s*l/a+u)),Math.min(n,Math.floor(e+(a-s)*l/a+u)),i)}var c=t[e],h=r,p=n;for(uo(t,r,e),i(t[n],c)>0&&uo(t,r,n);h<p;){for(uo(t,h,p),h++,p--;i(t[h],c)<0;)h++;for(;i(t[p],c)>0;)p--}0===i(t[r],c)?uo(t,r,p):uo(t,++p,n),p<=e&&(r=p+1),e<=p&&(n=p-1)}}function uo(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function co(t,e){return t<e?-1:t>e?1:0}function ho(t,e){const r=t.length;if(r<=1)return[t];const n=[];let i,a;for(let e=0;e<r;e++){const r=m(t[e]);0!==r&&(t[e].area=Math.abs(r),void 0===a&&(a=r<0),a===r<0?(i&&n.push(i),i=[t[e]]):i.push(t[e]))}if(i&&n.push(i),e>1)for(let t=0;t<n.length;t++)n[t].length<=e||(oo(n[t],e,1,n[t].length-1,po),n[t]=n[t].slice(0,e));return n}function po(t,e){return e.area-t.area}function fo(t,e,r){const n=r.patternDependencies;let i=!1;for(const r of e){const e=r.paint.get(`${t}-pattern`);e.isConstant()||(i=!0);const a=e.constantOr(null);a&&(i=!0,n[a.to]=!0,n[a.from]=!0)}return i}function yo(t,e,r,n,i){const a=i.patternDependencies;for(const s of e){const e=s.paint.get(`${t}-pattern`).value;if("constant"!==e.kind){let t=e.evaluate({zoom:n-1},r,{},i.availableImages),o=e.evaluate({zoom:n},r,{},i.availableImages),l=e.evaluate({zoom:n+1},r,{},i.availableImages);t=t&&t.name?t.name:t,o=o&&o.name?o.name:o,l=l&&l.name?l.name:l,a[t]=!0,a[o]=!0,a[l]=!0,r.patterns[s.id]={min:t,mid:o,max:l}}}return r}Fs.exports=Ts,Fs.exports.default=Ts,Ts.deviation=function(t,e,r,n){var i=e&&e.length,a=Math.abs(so(t,0,i?e[0]*r:t.length,r));if(i)for(var s=0,o=e.length;s<o;s++)a-=Math.abs(so(t,e[s]*r,s<o-1?e[s+1]*r:t.length,r));var l=0;for(s=0;s<n.length;s+=3){var u=n[s]*r,c=n[s+1]*r,h=n[s+2]*r;l+=Math.abs((t[u]-t[h])*(t[c+1]-t[u+1])-(t[u]-t[c])*(t[h+1]-t[u+1]))}return 0===a&&0===l?0:Math.abs((l-a)/a)},Ts.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var s=0;s<e;s++)r.vertices.push(t[i][a][s]);i>0&&r.holes.push(n+=t[i-1].length)}return r};class mo{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new ea,this.indexArray=new ha,this.indexArray2=new pa,this.programConfigurations=new Ra(t.layers,t.zoom),this.segments=new ya,this.segments2=new ya,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id))}populate(t,e,r){this.hasPattern=fo("fill",this.layers,e);const n=this.layers[0].layout.get("fill-sort-key"),i=!n.isConstant(),a=[];for(const{feature:s,id:o,index:l,sourceLayerIndex:u}of t){const t=this.layers[0]._featureFilter.needGeometry,c=Ka(s,t);if(!this.layers[0]._featureFilter.filter(new Qn(this.zoom),c,r))continue;const h=i?n.evaluate(c,{},r,e.availableImages):void 0,p={id:o,properties:s.properties,type:s.type,sourceLayerIndex:u,index:l,geometry:t?c.geometry:Za(s),patterns:{},sortKey:h};a.push(p)}i&&a.sort(((t,e)=>t.sortKey-e.sortKey));for(const n of a){const{geometry:i,index:a,sourceLayerIndex:s}=n;if(this.hasPattern){const t=yo("fill",this.layers,n,this.zoom,e);this.patternFeatures.push(t)}else this.addFeature(n,i,a,r,{});e.featureIndex.insert(t[a].feature,i,a,s,this.index)}}update(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)}addFeatures(t,e,r){for(const t of this.patternFeatures)this.addFeature(t,t.geometry,t.index,e,r)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Es),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(t,e,r,n,i){for(const t of ho(e,500)){let e=0;for(const r of t)e+=r.length;const r=this.segments.prepareSegment(e,this.layoutVertexArray,this.indexArray),n=r.vertexLength,i=[],a=[];for(const e of t){if(0===e.length)continue;e!==t[0]&&a.push(i.length/2);const r=this.segments2.prepareSegment(e.length,this.layoutVertexArray,this.indexArray2),n=r.vertexLength;this.layoutVertexArray.emplaceBack(e[0].x,e[0].y),this.indexArray2.emplaceBack(n+e.length-1,n),i.push(e[0].x),i.push(e[0].y);for(let t=1;t<e.length;t++)this.layoutVertexArray.emplaceBack(e[t].x,e[t].y),this.indexArray2.emplaceBack(n+t-1,n+t),i.push(e[t].x),i.push(e[t].y);r.vertexLength+=e.length,r.primitiveLength+=e.length}const s=Fs.exports(i,a);for(let t=0;t<s.length;t+=3)this.indexArray.emplaceBack(n+s[t],n+s[t+1],n+s[t+2]);r.vertexLength+=e,r.primitiveLength+=s.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i,n)}}Mn("FillBucket",mo,{omit:["layers","patternFeatures"]});const go=new fi({"fill-sort-key":new ui(nt.layout_fill["fill-sort-key"])});var xo={paint:new fi({"fill-antialias":new li(nt.paint_fill["fill-antialias"]),"fill-opacity":new ui(nt.paint_fill["fill-opacity"]),"fill-color":new ui(nt.paint_fill["fill-color"]),"fill-outline-color":new ui(nt.paint_fill["fill-outline-color"]),"fill-translate":new li(nt.paint_fill["fill-translate"]),"fill-translate-anchor":new li(nt.paint_fill["fill-translate-anchor"]),"fill-pattern":new ci(nt.paint_fill["fill-pattern"])}),layout:go};const vo=vi([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4),bo=vi([{name:"a_centroid",components:2,type:"Int16"}],4),{members:wo}=vo;var _o={},Ao=S,ko=So;function So(t,e,r,n,i){this.properties={},this.extent=r,this.type=0,this._pbf=t,this._geometry=-1,this._keys=n,this._values=i,t.readFields(Io,this,e)}function Io(t,e,r){1==t?e.id=r.readVarint():2==t?function(t,e){for(var r=t.readVarint()+t.pos;t.pos<r;){var n=e._keys[t.readVarint()],i=e._values[t.readVarint()];e.properties[n]=i}}(r,e):3==t?e.type=r.readVarint():4==t&&(e._geometry=r.pos)}function Mo(t){for(var e,r,n=0,i=0,a=t.length,s=a-1;i<a;s=i++)n+=((r=t[s]).x-(e=t[i]).x)*(e.y+r.y);return n}So.types=["Unknown","Point","LineString","Polygon"],So.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,r=t.readVarint()+t.pos,n=1,i=0,a=0,s=0,o=[];t.pos<r;){if(i<=0){var l=t.readVarint();n=7&l,i=l>>3}if(i--,1===n||2===n)a+=t.readSVarint(),s+=t.readSVarint(),1===n&&(e&&o.push(e),e=[]),e.push(new Ao(a,s));else{if(7!==n)throw new Error("unknown command "+n);e&&e.push(e[0].clone())}}return e&&o.push(e),o},So.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,r=1,n=0,i=0,a=0,s=1/0,o=-1/0,l=1/0,u=-1/0;t.pos<e;){if(n<=0){var c=t.readVarint();r=7&c,n=c>>3}if(n--,1===r||2===r)(i+=t.readSVarint())<s&&(s=i),i>o&&(o=i),(a+=t.readSVarint())<l&&(l=a),a>u&&(u=a);else if(7!==r)throw new Error("unknown command "+r)}return[s,l,o,u]},So.prototype.toGeoJSON=function(t,e,r){var n,i,a=this.extent*Math.pow(2,r),s=this.extent*t,o=this.extent*e,l=this.loadGeometry(),u=So.types[this.type];function c(t){for(var e=0;e<t.length;e++){var r=t[e];t[e]=[360*(r.x+s)/a-180,360/Math.PI*Math.atan(Math.exp((180-360*(r.y+o)/a)*Math.PI/180))-90]}}switch(this.type){case 1:var h=[];for(n=0;n<l.length;n++)h[n]=l[n][0];c(l=h);break;case 2:for(n=0;n<l.length;n++)c(l[n]);break;case 3:for(l=function(t){var e=t.length;if(e<=1)return[t];for(var r,n,i=[],a=0;a<e;a++){var s=Mo(t[a]);0!==s&&(void 0===n&&(n=s<0),n===s<0?(r&&i.push(r),r=[t[a]]):r.push(t[a]))}return r&&i.push(r),i}(l),n=0;n<l.length;n++)for(i=0;i<l[n].length;i++)c(l[n][i])}1===l.length?l=l[0]:u="Multi"+u;var p={type:"Feature",geometry:{type:u,coordinates:l},properties:this.properties};return"id"in this&&(p.id=this.id),p};var zo=ko,Bo=Co;function Co(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(Po,this,e),this.length=this._features.length}function Po(t,e,r){15===t?e.version=r.readVarint():1===t?e.name=r.readString():5===t?e.extent=r.readVarint():2===t?e._features.push(r.pos):3===t?e._keys.push(r.readString()):4===t&&e._values.push(function(t){for(var e=null,r=t.readVarint()+t.pos;t.pos<r;){var n=t.readVarint()>>3;e=1===n?t.readString():2===n?t.readFloat():3===n?t.readDouble():4===n?t.readVarint64():5===n?t.readVarint():6===n?t.readSVarint():7===n?t.readBoolean():null}return e}(r))}Co.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new zo(this._pbf,e,this.extent,this._keys,this._values)};var Vo=Bo;function Eo(t,e,r){if(3===t){var n=new Vo(r,r.readVarint()+r.pos);n.length&&(e[n.name]=n)}}_o.VectorTile=function(t,e){this.layers=t.readFields(Eo,{},e)},_o.VectorTileFeature=ko,_o.VectorTileLayer=Bo;const Fo=_o.VectorTileFeature.types,To=Math.pow(2,13);function Lo(t,e,r,n,i,a,s,o){t.emplaceBack(e,r,2*Math.floor(n*To)+s,i*To*2,a*To*2,Math.round(o))}class Do{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new ra,this.centroidVertexArray=new Qi,this.indexArray=new ha,this.programConfigurations=new Ra(t.layers,t.zoom),this.segments=new ya,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id))}populate(t,e,r){this.features=[],this.hasPattern=fo("fill-extrusion",this.layers,e);for(const{feature:n,id:i,index:a,sourceLayerIndex:s}of t){const t=this.layers[0]._featureFilter.needGeometry,o=Ka(n,t);if(!this.layers[0]._featureFilter.filter(new Qn(this.zoom),o,r))continue;const l={id:i,sourceLayerIndex:s,index:a,geometry:t?o.geometry:Za(n),properties:n.properties,type:n.type,patterns:{}};this.hasPattern?this.features.push(yo("fill-extrusion",this.layers,l,this.zoom,e)):this.addFeature(l,l.geometry,a,r,{}),e.featureIndex.insert(n,l.geometry,a,s,this.index,!0)}}addFeatures(t,e,r){for(const t of this.features){const{geometry:n}=t;this.addFeature(t,n,t.index,e,r)}}update(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)}isEmpty(){return 0===this.layoutVertexArray.length&&0===this.centroidVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,wo),this.centroidVertexBuffer=t.createVertexBuffer(this.centroidVertexArray,bo.members,!0),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy())}addFeature(t,e,r,n,i){const a={x:0,y:0,vertexCount:0};for(const r of ho(e,500)){let e=0;for(const t of r)e+=t.length;let n=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray);for(const t of r){if(0===t.length)continue;if(Ro(t))continue;let e=0;for(let r=0;r<t.length;r++){const i=t[r];if(r>=1){const s=t[r-1];if(!$o(i,s)){n.vertexLength+4>ya.MAX_VERTEX_ARRAY_LENGTH&&(n=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));const t=i.sub(s)._perp()._unit(),r=s.dist(i);e+r>32768&&(e=0),Lo(this.layoutVertexArray,i.x,i.y,t.x,t.y,0,0,e),Lo(this.layoutVertexArray,i.x,i.y,t.x,t.y,0,1,e),a.x+=2*i.x,a.y+=2*i.y,a.vertexCount+=2,e+=r,Lo(this.layoutVertexArray,s.x,s.y,t.x,t.y,0,0,e),Lo(this.layoutVertexArray,s.x,s.y,t.x,t.y,0,1,e),a.x+=2*s.x,a.y+=2*s.y,a.vertexCount+=2;const o=n.vertexLength;this.indexArray.emplaceBack(o,o+2,o+1),this.indexArray.emplaceBack(o+1,o+2,o+3),n.vertexLength+=4,n.primitiveLength+=2}}}}if(n.vertexLength+e>ya.MAX_VERTEX_ARRAY_LENGTH&&(n=this.segments.prepareSegment(e,this.layoutVertexArray,this.indexArray)),"Polygon"!==Fo[t.type])continue;const i=[],s=[],o=n.vertexLength;for(const t of r)if(0!==t.length){t!==r[0]&&s.push(i.length/2);for(let e=0;e<t.length;e++){const r=t[e];Lo(this.layoutVertexArray,r.x,r.y,0,0,1,1,0),a.x+=r.x,a.y+=r.y,a.vertexCount+=1,i.push(r.x),i.push(r.y)}}const l=Fs.exports(i,s);for(let t=0;t<l.length;t+=3)this.indexArray.emplaceBack(o+l[t],o+l[t+2],o+l[t+1]);n.primitiveLength+=l.length/3,n.vertexLength+=e}for(let t=0;t<a.vertexCount;t++)this.centroidVertexArray.emplaceBack(Math.floor(a.x/a.vertexCount),Math.floor(a.y/a.vertexCount));this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i,n)}}function $o(t,e){return t.x===e.x&&(t.x<0||t.x>qa)||t.y===e.y&&(t.y<0||t.y>qa)}function Ro(t){return t.every((t=>t.x<0))||t.every((t=>t.x>qa))||t.every((t=>t.y<0))||t.every((t=>t.y>qa))}Mn("FillExtrusionBucket",Do,{omit:["layers","features"]});var Oo={paint:new fi({"fill-extrusion-opacity":new li(nt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new ui(nt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new li(nt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new li(nt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new ci(nt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new ui(nt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new ui(nt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new li(nt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})};function Uo(t,e){return t.x*e.x+t.y*e.y}function qo(t,e){if(1===t.length){let r=0;const n=e[r++];let i;for(;!i||n.equals(i);)if(i=e[r++],!i)return 1/0;for(;r<e.length;r++){const a=e[r],s=t[0],o=i.sub(n),l=a.sub(n),u=s.sub(n),c=Uo(o,o),h=Uo(o,l),p=Uo(l,l),f=Uo(u,o),d=Uo(u,l),y=c*p-h*h,m=(p*f-h*d)/y,g=(c*d-h*f)/y,x=n.z*(1-m-g)+i.z*m+a.z*g;if(isFinite(x))return x}return 1/0}{let t=1/0;for(const r of e)t=Math.min(t,r.z);return t}}const jo=vi([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4),{members:No}=jo,Zo=vi([{name:"a_uv_x",components:1,type:"Float32"},{name:"a_split_index",components:1,type:"Float32"}]),{members:Ko}=Zo,Go=_o.VectorTileFeature.types,Jo=Math.cos(Math.PI/180*37.5),Xo=Math.pow(2,14)/.5;class Yo{constructor(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach((t=>{this.gradients[t.id]={}})),this.layoutVertexArray=new na,this.layoutVertexArray2=new ia,this.indexArray=new ha,this.programConfigurations=new Ra(t.layers,t.zoom),this.segments=new ya,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id))}populate(t,e,r){this.hasPattern=fo("line",this.layers,e);const n=this.layers[0].layout.get("line-sort-key"),i=!n.isConstant(),a=[];for(const{feature:e,id:s,index:o,sourceLayerIndex:l}of t){const t=this.layers[0]._featureFilter.needGeometry,u=Ka(e,t);if(!this.layers[0]._featureFilter.filter(new Qn(this.zoom),u,r))continue;const c=i?n.evaluate(u,{},r):void 0,h={id:s,properties:e.properties,type:e.type,sourceLayerIndex:l,index:o,geometry:t?u.geometry:Za(e),patterns:{},sortKey:c};a.push(h)}i&&a.sort(((t,e)=>t.sortKey-e.sortKey));for(const n of a){const{geometry:i,index:a,sourceLayerIndex:s}=n;if(this.hasPattern){const t=yo("line",this.layers,n,this.zoom,e);this.patternFeatures.push(t)}else this.addFeature(n,i,a,r,{});e.featureIndex.insert(t[a].feature,i,a,s,this.index)}}update(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)}addFeatures(t,e,r){for(const t of this.patternFeatures)this.addFeature(t,t.geometry,t.index,e,r)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(t){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=t.createVertexBuffer(this.layoutVertexArray2,Ko)),this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,No),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(t){if(t.properties&&Object.prototype.hasOwnProperty.call(t.properties,"mapbox_clip_start")&&Object.prototype.hasOwnProperty.call(t.properties,"mapbox_clip_end"))return{start:+t.properties.mapbox_clip_start,end:+t.properties.mapbox_clip_end}}addFeature(t,e,r,n,i){const a=this.layers[0].layout,s=a.get("line-join").evaluate(t,{}),o=a.get("line-cap"),l=a.get("line-miter-limit"),u=a.get("line-round-limit");this.lineClips=this.lineFeatureClips(t);for(const r of e)this.addLine(r,t,s,o,l,u);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i,n)}addLine(t,e,r,n,i,a){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let e=0;e<t.length-1;e++)this.totalDistance+=t[e].dist(t[e+1]);this.updateScaledDistance(),this.maxLineLength=Math.max(this.maxLineLength,this.totalDistance)}const s="Polygon"===Go[e.type];let o=t.length;for(;o>=2&&t[o-1].equals(t[o-2]);)o--;let l=0;for(;l<o-1&&t[l].equals(t[l+1]);)l++;if(o<(s?3:2))return;"bevel"===r&&(i=1.05);const u=this.overscaling<=16?122880/(512*this.overscaling):0,c=this.segments.prepareSegment(10*o,this.layoutVertexArray,this.indexArray);let h,p,f,d,y;this.e1=this.e2=-1,s&&(h=t[o-2],y=t[l].sub(h)._unit()._perp());for(let e=l;e<o;e++){if(f=e===o-1?s?t[l+1]:void 0:t[e+1],f&&t[e].equals(f))continue;y&&(d=y),h&&(p=h),h=t[e],y=f?f.sub(h)._unit()._perp():d,d=d||y;let m=d.add(y);0===m.x&&0===m.y||m._unit();const g=d.x*y.x+d.y*y.y,x=m.x*y.x+m.y*y.y,v=0!==x?1/x:1/0,b=2*Math.sqrt(2-2*x),w=x<Jo&&p&&f,_=d.x*y.y-d.y*y.x>0;if(w&&e>l){const t=h.dist(p);if(t>2*u){const e=h.sub(h.sub(p)._mult(u/t)._round());this.updateDistance(p,e),this.addCurrentVertex(e,d,0,0,c),p=e}}const A=p&&f;let k=A?r:s?"butt":n;if(A&&"round"===k&&(v<a?k="miter":v<=2&&(k="fakeround")),"miter"===k&&v>i&&(k="bevel"),"bevel"===k&&(v>2&&(k="flipbevel"),v<i&&(k="miter")),p&&this.updateDistance(p,h),"miter"===k)m._mult(v),this.addCurrentVertex(h,m,0,0,c);else if("flipbevel"===k){if(v>100)m=y.mult(-1);else{const t=v*d.add(y).mag()/d.sub(y).mag();m._perp()._mult(t*(_?-1:1))}this.addCurrentVertex(h,m,0,0,c),this.addCurrentVertex(h,m.mult(-1),0,0,c)}else if("bevel"===k||"fakeround"===k){const t=-Math.sqrt(v*v-1),e=_?t:0,r=_?0:t;if(p&&this.addCurrentVertex(h,d,e,r,c),"fakeround"===k){const t=Math.round(180*b/Math.PI/20);for(let e=1;e<t;e++){let r=e/t;if(.5!==r){const t=r-.5;r+=r*t*(r-1)*((1.0904+g*(g*(3.55645-1.43519*g)-3.2452))*t*t+(.848013+g*(.215638*g-1.06021)))}const n=y.sub(d)._mult(r)._add(d)._unit()._mult(_?-1:1);this.addHalfVertex(h,n.x,n.y,!1,_,0,c)}}f&&this.addCurrentVertex(h,y,-e,-r,c)}else if("butt"===k)this.addCurrentVertex(h,m,0,0,c);else if("square"===k){const t=p?1:-1;this.addCurrentVertex(h,m,t,t,c)}else"round"===k&&(p&&(this.addCurrentVertex(h,d,0,0,c),this.addCurrentVertex(h,d,1,1,c,!0)),f&&(this.addCurrentVertex(h,y,-1,-1,c,!0),this.addCurrentVertex(h,y,0,0,c)));if(w&&e<o-1){const t=h.dist(f);if(t>2*u){const e=h.add(f.sub(h)._mult(u/t)._round());this.updateDistance(h,e),this.addCurrentVertex(e,y,0,0,c),h=e}}}}addCurrentVertex(t,e,r,n,i,a=!1){const s=e.y*n-e.x,o=-e.y-e.x*n;this.addHalfVertex(t,e.x+e.y*r,e.y-e.x*r,a,!1,r,i),this.addHalfVertex(t,s,o,a,!0,-n,i),this.distance>Xo/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(t,e,r,n,i,a))}addHalfVertex({x:t,y:e},r,n,i,a,s,o){const l=.5*(this.lineClips?this.scaledDistance*(Xo-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((t<<1)+(i?1:0),(e<<1)+(a?1:0),Math.round(63*r)+128,Math.round(63*n)+128,1+(0===s?0:s<0?-1:1)|(63&l)<<2,l>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);const u=o.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,u),o.primitiveLength++),a?this.e2=u:this.e1=u}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance}updateDistance(t,e){this.distance+=t.dist(e),this.updateScaledDistance()}}Mn("LineBucket",Yo,{omit:["layers","patternFeatures"]});const Ho=new fi({"line-cap":new li(nt.layout_line["line-cap"]),"line-join":new ui(nt.layout_line["line-join"]),"line-miter-limit":new li(nt.layout_line["line-miter-limit"]),"line-round-limit":new li(nt.layout_line["line-round-limit"]),"line-sort-key":new ui(nt.layout_line["line-sort-key"])});var Wo={paint:new fi({"line-opacity":new ui(nt.paint_line["line-opacity"]),"line-color":new ui(nt.paint_line["line-color"]),"line-translate":new li(nt.paint_line["line-translate"]),"line-translate-anchor":new li(nt.paint_line["line-translate-anchor"]),"line-width":new ui(nt.paint_line["line-width"]),"line-gap-width":new ui(nt.paint_line["line-gap-width"]),"line-offset":new ui(nt.paint_line["line-offset"]),"line-blur":new ui(nt.paint_line["line-blur"]),"line-dasharray":new hi(nt.paint_line["line-dasharray"]),"line-pattern":new ci(nt.paint_line["line-pattern"]),"line-gradient":new pi(nt.paint_line["line-gradient"])}),layout:Ho};const Qo=new class extends ui{possiblyEvaluate(t,e){return e=new Qn(Math.floor(e.zoom),{now:e.now,fadeDuration:e.fadeDuration,zoomHistory:e.zoomHistory,transition:e.transition}),super.possiblyEvaluate(t,e)}evaluate(t,e,r,n){return e=o({},e,{zoom:Math.floor(e.zoom)}),super.evaluate(t,e,r,n)}}(Wo.paint.properties["line-width"].specification);function tl(t,e){return e>0?e+2*t:t}Qo.useIntegerZoom=!0;const el=vi([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),rl=vi([{name:"a_projected_pos",components:3,type:"Float32"}],4);vi([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);const nl=vi([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}]);vi([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);const il=vi([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),al=vi([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function sl(t,e,r){return t.sections.forEach((t=>{t.text=function(t,e,r){const n=e.layout.get("text-transform").evaluate(r,{});return"uppercase"===n?t=t.toLocaleUpperCase():"lowercase"===n&&(t=t.toLocaleLowerCase()),Wn.applyArabicShaping&&(t=Wn.applyArabicShaping(t)),t}(t.text,e,r)})),t}vi([{name:"triangle",components:3,type:"Uint16"}]),vi([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),vi([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),vi([{type:"Float32",name:"offsetX"}]),vi([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);const ol={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"};var ll=24,ul=pl,cl=function(t,e,r,n,i){var a,s,o=8*i-n-1,l=(1<<o)-1,u=l>>1,c=-7,h=r?i-1:0,p=r?-1:1,f=t[e+h];for(h+=p,a=f&(1<<-c)-1,f>>=-c,c+=o;c>0;a=256*a+t[e+h],h+=p,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;c>0;s=256*s+t[e+h],h+=p,c-=8);if(0===a)a=1-u;else{if(a===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),a-=u}return(f?-1:1)*s*Math.pow(2,a-n)},hl=function(t,e,r,n,i,a){var s,o,l,u=8*a-i-1,c=(1<<u)-1,h=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),(e+=s+h>=1?p/l:p*Math.pow(2,1-h))*l>=2&&(s++,l/=2),s+h>=c?(o=0,s=c):s+h>=1?(o=(e*l-1)*Math.pow(2,i),s+=h):(o=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[r+f]=255&o,f+=d,o/=256,i-=8);for(s=s<<i|o,u+=i;u>0;t[r+f]=255&s,f+=d,s/=256,u-=8);t[r+f-d]|=128*y};function pl(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}pl.Varint=0,pl.Fixed64=1,pl.Bytes=2,pl.Fixed32=5;var fl,dl=4294967296,yl=1/dl,ml="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function gl(t){return t.type===pl.Bytes?t.readVarint()+t.pos:t.pos+1}function xl(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function vl(t,e,r){var n=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=t;i--)r.buf[i+n]=r.buf[i]}function bl(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r])}function wl(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r])}function _l(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r])}function Al(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r])}function kl(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r])}function Sl(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r])}function Il(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r])}function Ml(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r])}function zl(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r])}function Bl(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function Cl(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24}function Pl(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}function Vl(t,e,r){1===t&&r.readMessage(El,e)}function El(t,e,r){if(3===t){const{id:t,bitmap:n,width:i,height:a,left:s,top:o,advance:l}=r.readMessage(Fl,{});e.push({id:t,bitmap:new zs({width:i+6,height:a+6},n),metrics:{width:i,height:a,left:s,top:o,advance:l}})}}function Fl(t,e,r){1===t?e.id=r.readVarint():2===t?e.bitmap=r.readBytes():3===t?e.width=r.readVarint():4===t?e.height=r.readVarint():5===t?e.left=r.readSVarint():6===t?e.top=r.readSVarint():7===t&&(e.advance=r.readVarint())}function Tl(t){let e=0,r=0;for(const n of t)e+=n.w*n.h,r=Math.max(r,n.w);t.sort(((t,e)=>e.h-t.h));const n=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),r),h:1/0}];let i=0,a=0;for(const e of t)for(let t=n.length-1;t>=0;t--){const r=n[t];if(!(e.w>r.w||e.h>r.h)){if(e.x=r.x,e.y=r.y,a=Math.max(a,e.y+e.h),i=Math.max(i,e.x+e.w),e.w===r.w&&e.h===r.h){const e=n.pop();t<n.length&&(n[t]=e)}else e.h===r.h?(r.x+=e.w,r.w-=e.w):e.w===r.w?(r.y+=e.h,r.h-=e.h):(n.push({x:r.x+e.w,y:r.y,w:r.w-e.w,h:e.h}),r.y+=e.h,r.h-=e.h);break}}return{w:i,h:a,fill:e/(i*a)||0}}pl.prototype={destroy:function(){this.buf=null},readFields:function(t,e,r){for(r=r||this.length;this.pos<r;){var n=this.readVarint(),i=n>>3,a=this.pos;this.type=7&n,t(i,e,this),this.pos===a&&this.skip(n)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=Bl(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=Pl(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=Bl(this.buf,this.pos)+Bl(this.buf,this.pos+4)*dl;return this.pos+=8,t},readSFixed64:function(){var t=Bl(this.buf,this.pos)+Pl(this.buf,this.pos+4)*dl;return this.pos+=8,t},readFloat:function(){var t=cl(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=cl(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,n=this.buf;return e=127&(r=n[this.pos++]),r<128?e:(e|=(127&(r=n[this.pos++]))<<7,r<128?e:(e|=(127&(r=n[this.pos++]))<<14,r<128?e:(e|=(127&(r=n[this.pos++]))<<21,r<128?e:function(t,e,r){var n,i,a=r.buf;if(n=(112&(i=a[r.pos++]))>>4,i<128)return xl(t,n,e);if(n|=(127&(i=a[r.pos++]))<<3,i<128)return xl(t,n,e);if(n|=(127&(i=a[r.pos++]))<<10,i<128)return xl(t,n,e);if(n|=(127&(i=a[r.pos++]))<<17,i<128)return xl(t,n,e);if(n|=(127&(i=a[r.pos++]))<<24,i<128)return xl(t,n,e);if(n|=(1&(i=a[r.pos++]))<<31,i<128)return xl(t,n,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(r=n[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&ml?function(t,e,r){return ml.decode(t.subarray(e,r))}(this.buf,e,t):function(t,e,r){for(var n="",i=e;i<r;){var a,s,o,l=t[i],u=null,c=l>239?4:l>223?3:l>191?2:1;if(i+c>r)break;1===c?l<128&&(u=l):2===c?128==(192&(a=t[i+1]))&&(u=(31&l)<<6|63&a)<=127&&(u=null):3===c?(s=t[i+2],128==(192&(a=t[i+1]))&&128==(192&s)&&((u=(15&l)<<12|(63&a)<<6|63&s)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(s=t[i+2],o=t[i+3],128==(192&(a=t[i+1]))&&128==(192&s)&&128==(192&o)&&((u=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&o)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,n+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),n+=String.fromCharCode(u),i+=c}return n}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==pl.Bytes)return t.push(this.readVarint(e));var r=gl(this);for(t=t||[];this.pos<r;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==pl.Bytes)return t.push(this.readSVarint());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==pl.Bytes)return t.push(this.readBoolean());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==pl.Bytes)return t.push(this.readFloat());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==pl.Bytes)return t.push(this.readDouble());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==pl.Bytes)return t.push(this.readFixed32());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==pl.Bytes)return t.push(this.readSFixed32());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==pl.Bytes)return t.push(this.readFixed64());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==pl.Bytes)return t.push(this.readSFixed64());var e=gl(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===pl.Varint)for(;this.buf[this.pos++]>127;);else if(e===pl.Bytes)this.pos=this.readVarint()+this.pos;else if(e===pl.Fixed32)this.pos+=4;else{if(e!==pl.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),Cl(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),Cl(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),Cl(this.buf,-1&t,this.pos),Cl(this.buf,Math.floor(t*yl),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),Cl(this.buf,-1&t,this.pos),Cl(this.buf,Math.floor(t*yl),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var r,n;if(t>=0?(r=t%4294967296|0,n=t/4294967296|0):(n=~(-t/4294967296),4294967295^(r=~(-t%4294967296))?r=r+1|0:(r=0,n=n+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,r.buf[r.pos]=127&(t>>>=7)}(r,0,e),function(t,e){var r=(7&t)<<4;e.buf[e.pos++]|=r|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(n,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,r){for(var n,i,a=0;a<e.length;a++){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){n>56319||a+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):i=n;continue}if(n<56320){t[r++]=239,t[r++]=191,t[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null}else i&&(t[r++]=239,t[r++]=191,t[r++]=189,i=null);n<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:(n<65536?t[r++]=n>>12|224:(t[r++]=n>>18|240,t[r++]=n>>12&63|128),t[r++]=n>>6&63|128),t[r++]=63&n|128)}return r}(this.buf,t,this.pos);var r=this.pos-e;r>=128&&vl(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r},writeFloat:function(t){this.realloc(4),hl(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),hl(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r]},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var n=this.pos-r;n>=128&&vl(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n},writeMessage:function(t,e,r){this.writeTag(t,pl.Bytes),this.writeRawMessage(e,r)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,bl,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,wl,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,kl,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,_l,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,Al,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,Sl,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,Il,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,Ml,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,zl,e)},writeBytesField:function(t,e){this.writeTag(t,pl.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,pl.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,pl.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,pl.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,pl.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,pl.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,pl.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,pl.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,pl.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,pl.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};class Ll{constructor(t,{pixelRatio:e,version:r,stretchX:n,stretchY:i,content:a}){this.paddedRect=t,this.pixelRatio=e,this.stretchX=n,this.stretchY=i,this.content=a,this.version=r}get tl(){return[this.paddedRect.x+1,this.paddedRect.y+1]}get br(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]}get tlbr(){return this.tl.concat(this.br)}get displaySize(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]}}class Dl{constructor(t,e){const r={},n={};this.haveRenderCallbacks=[];const i=[];this.addImages(t,r,i),this.addImages(e,n,i);const{w:a,h:s}=Tl(i),o=new Bs({width:a||1,height:s||1});for(const e in t){const n=t[e],i=r[e].paddedRect;Bs.copy(n.data,o,{x:0,y:0},{x:i.x+1,y:i.y+1},n.data)}for(const t in e){const r=e[t],i=n[t].paddedRect,a=i.x+1,s=i.y+1,l=r.data.width,u=r.data.height;Bs.copy(r.data,o,{x:0,y:0},{x:a,y:s},r.data),Bs.copy(r.data,o,{x:0,y:u-1},{x:a,y:s-1},{width:l,height:1}),Bs.copy(r.data,o,{x:0,y:0},{x:a,y:s+u},{width:l,height:1}),Bs.copy(r.data,o,{x:l-1,y:0},{x:a-1,y:s},{width:1,height:u}),Bs.copy(r.data,o,{x:0,y:0},{x:a+l,y:s},{width:1,height:u})}this.image=o,this.iconPositions=r,this.patternPositions=n}addImages(t,e,r){for(const n in t){const i=t[n],a={x:0,y:0,w:i.data.width+2,h:i.data.height+2};r.push(a),e[n]=new Ll(a,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(n)}}patchUpdatedImages(t,e){t.dispatchRenderCallbacks(this.haveRenderCallbacks);for(const r in t.updatedImages)this.patchUpdatedImage(this.iconPositions[r],t.getImage(r),e),this.patchUpdatedImage(this.patternPositions[r],t.getImage(r),e)}patchUpdatedImage(t,e,r){if(!t||!e)return;if(t.version===e.version)return;t.version=e.version;const[n,i]=t.tl;r.update(e.data,void 0,{x:n,y:i})}}Mn("ImagePosition",Ll),Mn("ImageAtlas",Dl),t.WritingMode=void 0,(fl=t.WritingMode||(t.WritingMode={}))[fl.none=0]="none",fl[fl.horizontal=1]="horizontal",fl[fl.vertical=2]="vertical",fl[fl.horizontalOnly=3]="horizontalOnly";const $l=-17;class Rl{constructor(){this.scale=1,this.fontStack="",this.imageName=null}static forText(t,e){const r=new Rl;return r.scale=t||1,r.fontStack=e,r}static forImage(t){const e=new Rl;return e.imageName=t,e}}class Ol{constructor(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null}static fromFeature(t,e){const r=new Ol;for(let n=0;n<t.sections.length;n++){const i=t.sections[n];i.image?r.addImageSection(i):r.addTextSection(i,e)}return r}length(){return this.text.length}getSection(t){return this.sections[this.sectionIndex[t]]}getSectionIndex(t){return this.sectionIndex[t]}getCharCode(t){return this.text.charCodeAt(t)}verticalizePunctuation(){this.text=function(t){let e="";for(let r=0;r<t.length;r++){const n=t.charCodeAt(r+1)||null,i=t.charCodeAt(r-1)||null;e+=n&&Dn(n)&&!ol[t[r+1]]||i&&Dn(i)&&!ol[t[r-1]]||!ol[t[r]]?t[r]:ol[t[r]]}return e}(this.text)}trim(){let t=0;for(let e=0;e<this.text.length&&ql[this.text.charCodeAt(e)];e++)t++;let e=this.text.length;for(let r=this.text.length-1;r>=0&&r>=t&&ql[this.text.charCodeAt(r)];r--)e--;this.text=this.text.substring(t,e),this.sectionIndex=this.sectionIndex.slice(t,e)}substring(t,e){const r=new Ol;return r.text=this.text.substring(t,e),r.sectionIndex=this.sectionIndex.slice(t,e),r.sections=this.sections,r}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce(((t,e)=>Math.max(t,this.sections[e].scale)),0)}addTextSection(t,e){this.text+=t.text,this.sections.push(Rl.forText(t.scale,t.fontStack||e));const r=this.sections.length-1;for(let e=0;e<t.text.length;++e)this.sectionIndex.push(r)}addImageSection(t){const e=t.image?t.image.name:"";if(0===e.length)return void d("Can't add FormattedSection with an empty image.");const r=this.getNextImageSectionCharCode();r?(this.text+=String.fromCharCode(r),this.sections.push(Rl.forImage(e)),this.sectionIndex.push(this.sections.length-1)):d("Reached maximum number of images 6401")}getNextImageSectionCharCode(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function Ul(e,r,n,i,a,s,o,l,u,c,h,p,f,d,y,m){const g=Ol.fromFeature(e,a);let x;p===t.WritingMode.vertical&&g.verticalizePunctuation();const{processBidirectionalText:v,processStyledBidirectionalText:b}=Wn;if(v&&1===g.sections.length){x=[];const t=v(g.toString(),Xl(g,c,s,r,i,d,y));for(const e of t){const t=new Ol;t.text=e,t.sections=g.sections;for(let r=0;r<e.length;r++)t.sectionIndex.push(0);x.push(t)}}else if(b){x=[];const t=b(g.text,g.sectionIndex,Xl(g,c,s,r,i,d,y));for(const e of t){const t=new Ol;t.text=e[0],t.sectionIndex=e[1],t.sections=g.sections,x.push(t)}}else x=function(t,e){const r=[],n=t.text;let i=0;for(const n of e)r.push(t.substring(i,n)),i=n;return i<n.length&&r.push(t.substring(i,n.length)),r}(g,Xl(g,c,s,r,i,d,y));const w=[],_={positionedLines:w,text:g.toString(),top:h[1],bottom:h[1],left:h[0],right:h[0],writingMode:p,iconsInText:!1,verticalizable:!1};return function(e,r,n,i,a,s,o,l,u,c,h,p){let f=0,d=$l,y=0,m=0;const g="right"===l?1:"left"===l?0:.5;let x=0;for(const o of a){o.trim();const a=o.getMaxScale(),l=(a-1)*ll,b={positionedGlyphs:[],lineOffset:0};e.positionedLines[x]=b;const w=b.positionedGlyphs;let _=0;if(!o.length()){d+=s,++x;continue}for(let s=0;s<o.length();s++){const y=o.getSection(s),m=o.getSectionIndex(s),g=o.getCharCode(s);let x=0,b=null,A=null,k=null,S=ll;const I=!(u===t.WritingMode.horizontal||!h&&!Ln(g)||h&&(ql[g]||(v=g,Vn.Arabic(v)||Vn["Arabic Supplement"](v)||Vn["Arabic Extended-A"](v)||Vn["Arabic Presentation Forms-A"](v)||Vn["Arabic Presentation Forms-B"](v))));if(y.imageName){const t=i[y.imageName];if(!t)continue;k=y.imageName,e.iconsInText=e.iconsInText||!0,A=t.paddedRect;const r=t.displaySize;y.scale=y.scale*ll/p,b={width:r[0],height:r[1],left:1,top:-3,advance:I?r[1]:r[0]},x=l+(ll-r[1]*y.scale),S=b.advance;const n=I?r[0]*y.scale-ll*a:r[1]*y.scale-ll*a;n>0&&n>_&&(_=n)}else{const t=n[y.fontStack],e=t&&t[g];if(e&&e.rect)A=e.rect,b=e.metrics;else{const t=r[y.fontStack],e=t&&t[g];if(!e)continue;b=e.metrics}x=(a-y.scale)*ll}I?(e.verticalizable=!0,w.push({glyph:g,imageName:k,x:f,y:d+x,vertical:I,scale:y.scale,fontStack:y.fontStack,sectionIndex:m,metrics:b,rect:A}),f+=S*y.scale+c):(w.push({glyph:g,imageName:k,x:f,y:d+x,vertical:I,scale:y.scale,fontStack:y.fontStack,sectionIndex:m,metrics:b,rect:A}),f+=b.advance*y.scale+c)}0!==w.length&&(y=Math.max(f-c,y),Hl(w,0,w.length-1,g,_)),f=0;const A=s*a+_;b.lineOffset=Math.max(_,l),d+=A,m=Math.max(A,m),++x}var v;const b=d-$l,{horizontalAlign:w,verticalAlign:_}=Yl(o);(function(t,e,r,n,i,a,s,o,l){const u=(e-r)*i;let c=0;c=a!==s?-o*n-$l:(-n*l+.5)*s;for(const e of t)for(const t of e.positionedGlyphs)t.x+=u,t.y+=c})(e.positionedLines,g,w,_,y,m,s,b,a.length),e.top+=-_*b,e.bottom=e.top+b,e.left+=-w*y,e.right=e.left+y}(_,r,n,i,x,o,l,u,p,c,f,m),!function(t){for(const e of t)if(0!==e.positionedGlyphs.length)return!1;return!0}(w)&&_}const ql={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},jl={10:!0,32:!0,38:!0,40:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0};function Nl(t,e,r,n,i,a){if(e.imageName){const t=n[e.imageName];return t?t.displaySize[0]*e.scale*ll/a+i:0}{const n=r[e.fontStack],a=n&&n[t];return a?a.metrics.advance*e.scale+i:0}}function Zl(t,e,r,n){const i=Math.pow(t-e,2);return n?t<e?i/2:2*i:i+Math.abs(r)*r}function Kl(t,e,r){let n=0;return 10===t&&(n-=1e4),r&&(n+=150),40!==t&&65288!==t||(n+=50),41!==e&&65289!==e||(n+=50),n}function Gl(t,e,r,n,i,a){let s=null,o=Zl(e,r,i,a);for(const t of n){const n=Zl(e-t.x,r,i,a)+t.badness;n<=o&&(s=t,o=n)}return{index:t,x:e,priorBreak:s,badness:o}}function Jl(t){return t?Jl(t.priorBreak).concat(t.index):[]}function Xl(t,e,r,n,i,a,s){if("point"!==a)return[];if(!t)return[];const o=[],l=function(t,e,r,n,i,a){let s=0;for(let r=0;r<t.length();r++){const o=t.getSection(r);s+=Nl(t.getCharCode(r),o,n,i,e,a)}return s/Math.max(1,Math.ceil(s/r))}(t,e,r,n,i,s),u=t.text.indexOf("​")>=0;let c=0;for(let r=0;r<t.length();r++){const a=t.getSection(r),p=t.getCharCode(r);if(ql[p]||(c+=Nl(p,a,n,i,e,s)),r<t.length()-1){const e=!((h=p)<11904||!(Vn["Bopomofo Extended"](h)||Vn.Bopomofo(h)||Vn["CJK Compatibility Forms"](h)||Vn["CJK Compatibility Ideographs"](h)||Vn["CJK Compatibility"](h)||Vn["CJK Radicals Supplement"](h)||Vn["CJK Strokes"](h)||Vn["CJK Symbols and Punctuation"](h)||Vn["CJK Unified Ideographs Extension A"](h)||Vn["CJK Unified Ideographs"](h)||Vn["Enclosed CJK Letters and Months"](h)||Vn["Halfwidth and Fullwidth Forms"](h)||Vn.Hiragana(h)||Vn["Ideographic Description Characters"](h)||Vn["Kangxi Radicals"](h)||Vn["Katakana Phonetic Extensions"](h)||Vn.Katakana(h)||Vn["Vertical Forms"](h)||Vn["Yi Radicals"](h)||Vn["Yi Syllables"](h)));(jl[p]||e||a.imageName)&&o.push(Gl(r+1,c,l,o,Kl(p,t.getCharCode(r+1),e&&u),!1))}}var h;return Jl(Gl(t.length(),c,l,o,0,!0))}function Yl(t){let e=.5,r=.5;switch(t){case"right":case"top-right":case"bottom-right":e=1;break;case"left":case"top-left":case"bottom-left":e=0}switch(t){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0}return{horizontalAlign:e,verticalAlign:r}}function Hl(t,e,r,n,i){if(!n&&!i)return;const a=t[r],s=(t[r].x+a.metrics.advance*a.scale)*n;for(let n=e;n<=r;n++)t[n].x-=s,t[n].y+=i}function Wl(t,e,r){const{horizontalAlign:n,verticalAlign:i}=Yl(r),a=e[0]-t.displaySize[0]*n,s=e[1]-t.displaySize[1]*i;return{image:t,top:s,bottom:s+t.displaySize[1],left:a,right:a+t.displaySize[0]}}function Ql(t,e,r,n,i,a){const s=t.image;let o;if(s.content){const t=s.content,e=s.pixelRatio||1;o=[t[0]/e,t[1]/e,s.displaySize[0]-t[2]/e,s.displaySize[1]-t[3]/e]}const l=e.left*a,u=e.right*a;let c,h,p,f;"width"===r||"both"===r?(f=i[0]+l-n[3],h=i[0]+u+n[1]):(f=i[0]+(l+u-s.displaySize[0])/2,h=f+s.displaySize[0]);const d=e.top*a,y=e.bottom*a;return"height"===r||"both"===r?(c=i[1]+d-n[0],p=i[1]+y+n[2]):(c=i[1]+(d+y-s.displaySize[1])/2,p=c+s.displaySize[1]),{image:s,top:c,right:h,bottom:p,left:f,collisionPadding:o}}const tu=128;function eu(t,e){const{expression:r}=e;if("constant"===r.kind)return{kind:"constant",layoutSize:r.evaluate(new Qn(t+1))};if("source"===r.kind)return{kind:"source"};{const{zoomStops:e,interpolationType:n}=r;let i=0;for(;i<e.length&&e[i]<=t;)i++;i=Math.max(0,i-1);let a=i;for(;a<e.length&&e[a]<t+1;)a++;a=Math.min(e.length-1,a);const s=e[i],o=e[a];return"composite"===r.kind?{kind:"composite",minZoom:s,maxZoom:o,interpolationType:n}:{kind:"camera",minZoom:s,maxZoom:o,minSize:r.evaluate(new Qn(s)),maxSize:r.evaluate(new Qn(o)),interpolationType:n}}}class ru extends S{constructor(t,e,r,n){super(t,e),this.angle=r,void 0!==n&&(this.segment=n)}clone(){return new ru(this.x,this.y,this.angle,this.segment)}}function nu(t,e,r,n,i){if(void 0===e.segment)return!0;let a=e,s=e.segment+1,o=0;for(;o>-r/2;){if(s--,s<0)return!1;o-=t[s].dist(a),a=t[s]}o+=t[s].dist(t[s+1]),s++;const l=[];let u=0;for(;o<r/2;){const e=t[s],r=t[s+1];if(!r)return!1;let a=t[s-1].angleTo(e)-e.angleTo(r);for(a=Math.abs((a+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:o,angleDelta:a}),u+=a;o-l[0].distance>n;)u-=l.shift().angleDelta;if(u>i)return!1;s++,o+=e.dist(r)}return!0}function iu(t){let e=0;for(let r=0;r<t.length-1;r++)e+=t[r].dist(t[r+1]);return e}function au(t,e,r){return t?.6*e*r:0}function su(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function ou(t,e,r,n,i,a){const s=au(r,i,a),o=su(r,n)*a;let l=0;const u=iu(t)/2;for(let r=0;r<t.length-1;r++){const n=t[r],i=t[r+1],a=n.dist(i);if(l+a>u){const c=(u-l)/a,h=Se(n.x,i.x,c),p=Se(n.y,i.y,c),f=new ru(h,p,i.angleTo(n),r);return f._round(),!s||nu(t,f,o,s,e)?f:void 0}l+=a}}function lu(t,e,r,n,i,a,s,o,l){const u=au(n,a,s),c=su(n,i),h=c*s,p=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-h<e/4&&(e=h+e/4),uu(t,p?e/2*o%e:(c/2+2*a)*s*o%e,e,u,r,h,p,!1,l)}function uu(t,e,r,n,i,a,s,o,l){const u=a/2,c=iu(t);let h=0,p=e-r,f=[];for(let e=0;e<t.length-1;e++){const s=t[e],o=t[e+1],d=s.dist(o),y=o.angleTo(s);for(;p+r<h+d;){p+=r;const m=(p-h)/d,g=Se(s.x,o.x,m),x=Se(s.y,o.y,m);if(g>=0&&g<l&&x>=0&&x<l&&p-u>=0&&p+u<=c){const r=new ru(g,x,y,e);r._round(),n&&!nu(t,r,a,n,i)||f.push(r)}}h+=d}return o||f.length||s||(f=uu(t,h/2,r,n,i,a,s,!0,l)),f}function cu(t,e,r,n,i){const a=[];for(let s=0;s<t.length;s++){const o=t[s];let l;for(let t=0;t<o.length-1;t++){let s=o[t],u=o[t+1];s.x<e&&u.x<e||(s.x<e?s=new S(e,s.y+(e-s.x)/(u.x-s.x)*(u.y-s.y))._round():u.x<e&&(u=new S(e,s.y+(e-s.x)/(u.x-s.x)*(u.y-s.y))._round()),s.y<r&&u.y<r||(s.y<r?s=new S(s.x+(r-s.y)/(u.y-s.y)*(u.x-s.x),r)._round():u.y<r&&(u=new S(s.x+(r-s.y)/(u.y-s.y)*(u.x-s.x),r)._round()),s.x>=n&&u.x>=n||(s.x>=n?s=new S(n,s.y+(n-s.x)/(u.x-s.x)*(u.y-s.y))._round():u.x>=n&&(u=new S(n,s.y+(n-s.x)/(u.x-s.x)*(u.y-s.y))._round()),s.y>=i&&u.y>=i||(s.y>=i?s=new S(s.x+(i-s.y)/(u.y-s.y)*(u.x-s.x),i)._round():u.y>=i&&(u=new S(s.x+(i-s.y)/(u.y-s.y)*(u.x-s.x),i)._round()),l&&s.equals(l[l.length-1])||(l=[s],a.push(l)),l.push(u)))))}}return a}function hu(t,e,r,n){const i=[],a=t.image,s=a.pixelRatio,o=a.paddedRect.w-2,l=a.paddedRect.h-2,u=t.right-t.left,c=t.bottom-t.top,h=a.stretchX||[[0,o]],p=a.stretchY||[[0,l]],f=(t,e)=>t+e[1]-e[0],d=h.reduce(f,0),y=p.reduce(f,0),m=o-d,g=l-y;let x=0,v=d,b=0,w=y,_=0,A=m,k=0,I=g;if(a.content&&n){const t=a.content;x=pu(h,0,t[0]),b=pu(p,0,t[1]),v=pu(h,t[0],t[2]),w=pu(p,t[1],t[3]),_=t[0]-x,k=t[1]-b,A=t[2]-t[0]-v,I=t[3]-t[1]-w}const M=(n,i,o,l)=>{const h=du(n.stretch-x,v,u,t.left),p=yu(n.fixed-_,A,n.stretch,d),f=du(i.stretch-b,w,c,t.top),m=yu(i.fixed-k,I,i.stretch,y),g=du(o.stretch-x,v,u,t.left),M=yu(o.fixed-_,A,o.stretch,d),z=du(l.stretch-b,w,c,t.top),B=yu(l.fixed-k,I,l.stretch,y),C=new S(h,f),P=new S(g,f),V=new S(g,z),E=new S(h,z),F=new S(p/s,m/s),T=new S(M/s,B/s),L=e*Math.PI/180;if(L){const t=Math.sin(L),e=Math.cos(L),r=[e,-t,t,e];C._matMult(r),P._matMult(r),E._matMult(r),V._matMult(r)}const D=n.stretch+n.fixed,$=i.stretch+i.fixed;return{tl:C,tr:P,bl:E,br:V,tex:{x:a.paddedRect.x+1+D,y:a.paddedRect.y+1+$,w:o.stretch+o.fixed-D,h:l.stretch+l.fixed-$},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:F,pixelOffsetBR:T,minFontScaleX:A/s/u,minFontScaleY:I/s/c,isSDF:r}};if(n&&(a.stretchX||a.stretchY)){const t=fu(h,m,d),e=fu(p,g,y);for(let r=0;r<t.length-1;r++){const n=t[r],a=t[r+1];for(let t=0;t<e.length-1;t++)i.push(M(n,e[t],a,e[t+1]))}}else i.push(M({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:o+1},{fixed:0,stretch:l+1}));return i}function pu(t,e,r){let n=0;for(const i of t)n+=Math.max(e,Math.min(r,i[1]))-Math.max(e,Math.min(r,i[0]));return n}function fu(t,e,r){const n=[{fixed:-1,stretch:0}];for(const[e,r]of t){const t=n[n.length-1];n.push({fixed:e-t.stretch,stretch:t.stretch}),n.push({fixed:e-t.stretch,stretch:t.stretch+(r-e)})}return n.push({fixed:e+1,stretch:r}),n}function du(t,e,r,n){return t/e*r+n}function yu(t,e,r,n){return t-e*r/n}Mn("Anchor",ru);class mu{constructor(t,e,r,n,i,a,s,o,l,u){if(this.boxStartIndex=t.length,l){let t=a.top,e=a.bottom;const r=a.collisionPadding;r&&(t-=r[1],e+=r[3]);let n=e-t;n>0&&(n=Math.max(10,n),this.circleDiameter=n)}else{let l=a.top*s-o[0],c=a.bottom*s+o[2],h=a.left*s-o[3],p=a.right*s+o[1];const f=a.collisionPadding;if(f&&(h-=f[0]*s,l-=f[1]*s,p+=f[2]*s,c+=f[3]*s),u){const t=new S(h,l),e=new S(p,l),r=new S(h,c),n=new S(p,c),i=u*Math.PI/180;t._rotate(i),e._rotate(i),r._rotate(i),n._rotate(i),h=Math.min(t.x,e.x,r.x,n.x),p=Math.max(t.x,e.x,r.x,n.x),l=Math.min(t.y,e.y,r.y,n.y),c=Math.max(t.y,e.y,r.y,n.y)}t.emplaceBack(e.x,e.y,h,l,p,c,r,n,i)}this.boxEndIndex=t.length}}class gu{constructor(t=[],e=xu){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t)}push(t){this.data.push(t),this.length++,this._up(this.length-1)}pop(){if(0===this.length)return;const t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:e,compare:r}=this,n=e[t];for(;t>0;){const i=t-1>>1,a=e[i];if(r(n,a)>=0)break;e[t]=a,t=i}e[t]=n}_down(t){const{data:e,compare:r}=this,n=this.length>>1,i=e[t];for(;t<n;){let n=1+(t<<1),a=e[n];const s=n+1;if(s<this.length&&r(e[s],a)<0&&(n=s,a=e[s]),r(a,i)>=0)break;e[t]=a,t=n}e[t]=i}}function xu(t,e){return t<e?-1:t>e?1:0}function vu(t,e=1,r=!1){let n=1/0,i=1/0,a=-1/0,s=-1/0;const o=t[0];for(let t=0;t<o.length;t++){const e=o[t];(!t||e.x<n)&&(n=e.x),(!t||e.y<i)&&(i=e.y),(!t||e.x>a)&&(a=e.x),(!t||e.y>s)&&(s=e.y)}const l=Math.min(a-n,s-i);let u=l/2;const c=new gu([],bu);if(0===l)return new S(n,i);for(let e=n;e<a;e+=l)for(let r=i;r<s;r+=l)c.push(new wu(e+u,r+u,u,t));let h=function(t){let e=0,r=0,n=0;const i=t[0];for(let t=0,a=i.length,s=a-1;t<a;s=t++){const a=i[t],o=i[s],l=a.x*o.y-o.x*a.y;r+=(a.x+o.x)*l,n+=(a.y+o.y)*l,e+=3*l}return new wu(r/e,n/e,0,t)}(t),p=c.length;for(;c.length;){const n=c.pop();(n.d>h.d||!h.d)&&(h=n,r&&console.log("found best %d after %d probes",Math.round(1e4*n.d)/1e4,p)),n.max-h.d<=e||(u=n.h/2,c.push(new wu(n.p.x-u,n.p.y-u,u,t)),c.push(new wu(n.p.x+u,n.p.y-u,u,t)),c.push(new wu(n.p.x-u,n.p.y+u,u,t)),c.push(new wu(n.p.x+u,n.p.y+u,u,t)),p+=4)}return r&&(console.log(`num probes: ${p}`),console.log(`best distance: ${h.d}`)),h.p}function bu(t,e){return e.max-t.max}function wu(t,e,r,n){this.p=new S(t,e),this.h=r,this.d=function(t,e){let r=!1,n=1/0;for(let i=0;i<e.length;i++){const a=e[i];for(let e=0,i=a.length,s=i-1;e<i;s=e++){const i=a[e],o=a[s];i.y>t.y!=o.y>t.y&&t.x<(o.x-i.x)*(t.y-i.y)/(o.y-i.y)+i.x&&(r=!r),n=Math.min(n,rs(t,i,o))}}return(r?1:-1)*Math.sqrt(n)}(this.p,n),this.max=this.d+this.h*Math.SQRT2}const _u=Number.POSITIVE_INFINITY;function Au(t,e){return e[1]!==_u?function(t,e,r){let n=0,i=0;switch(e=Math.abs(e),r=Math.abs(r),t){case"top-right":case"top-left":case"top":i=r-7;break;case"bottom-right":case"bottom-left":case"bottom":i=7-r}switch(t){case"top-right":case"bottom-right":case"right":n=-e;break;case"top-left":case"bottom-left":case"left":n=e}return[n,i]}(t,e[0],e[1]):function(t,e){let r=0,n=0;e<0&&(e=0);const i=e/Math.sqrt(2);switch(t){case"top-right":case"top-left":n=i-7;break;case"bottom-right":case"bottom-left":n=7-i;break;case"bottom":n=7-e;break;case"top":n=e-7}switch(t){case"top-right":case"bottom-right":r=-i;break;case"top-left":case"bottom-left":r=i;break;case"left":r=e;break;case"right":r=-e}return[r,n]}(t,e[0])}function ku(t){switch(t){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function Su(e,r,n,i,a,s,o,l,u,c,h){let p=s.textMaxSize.evaluate(r,{});void 0===p&&(p=o);const f=e.layers[0].layout,y=f.get("icon-offset").evaluate(r,{},h),m=zu(n.horizontal),g=o/24,x=e.tilePixelRatio*g,v=e.tilePixelRatio*p/24,b=e.tilePixelRatio*l,w=e.tilePixelRatio*f.get("symbol-spacing"),_=f.get("text-padding")*e.tilePixelRatio,A=function(t,e,r,n=1){const i=t.get("icon-padding").evaluate(e,{},r),a=i&&i.values;return[a[0]*n,a[1]*n,a[2]*n,a[3]*n]}(f,r,h,e.tilePixelRatio),k=f.get("text-max-angle")/180*Math.PI,S="viewport"!==f.get("text-rotation-alignment")&&"point"!==f.get("symbol-placement"),I="map"===f.get("icon-rotation-alignment")&&"point"!==f.get("symbol-placement"),M=f.get("symbol-placement"),z=w/2,B=f.get("icon-text-fit");let C;i&&"none"!==B&&(e.allowVerticalPlacement&&n.vertical&&(C=Ql(i,n.vertical,B,f.get("icon-text-fit-padding"),y,g)),m&&(i=Ql(i,m,B,f.get("icon-text-fit-padding"),y,g)));const P=(l,p)=>{p.x<0||p.x>=qa||p.y<0||p.y>=qa||function(e,r,n,i,a,s,o,l,u,c,h,p,f,y,m,g,x,v,b,w,_,A,k,S,I){const M=e.addToLineVertexArray(r,n);let z,B,C,P,V=0,E=0,F=0,T=0,L=-1,D=-1;const $={};let R=xa.exports(""),O=0,U=0;if(void 0===l._unevaluatedLayout.getValue("text-radial-offset")?[O,U]=l.layout.get("text-offset").evaluate(_,{},S).map((t=>t*ll)):(O=l.layout.get("text-radial-offset").evaluate(_,{},S)*ll,U=_u),e.allowVerticalPlacement&&i.vertical){const t=l.layout.get("text-rotate").evaluate(_,{},S)+90;C=new mu(u,r,c,h,p,i.vertical,f,y,m,t),o&&(P=new mu(u,r,c,h,p,o,x,v,m,t))}if(a){const n=l.layout.get("icon-rotate").evaluate(_,{}),i="none"!==l.layout.get("icon-text-fit"),s=hu(a,n,k,i),f=o?hu(o,n,k,i):void 0;B=new mu(u,r,c,h,p,a,x,v,!1,n),V=4*s.length;const y=e.iconSizeData;let m=null;"source"===y.kind?(m=[tu*l.layout.get("icon-size").evaluate(_,{})],m[0]>Iu&&d(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)):"composite"===y.kind&&(m=[tu*A.compositeIconSizes[0].evaluate(_,{},S),tu*A.compositeIconSizes[1].evaluate(_,{},S)],(m[0]>Iu||m[1]>Iu)&&d(`${e.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)),e.addSymbols(e.icon,s,m,w,b,_,t.WritingMode.none,r,M.lineStartIndex,M.lineLength,-1,S),L=e.icon.placedSymbolArray.length-1,f&&(E=4*f.length,e.addSymbols(e.icon,f,m,w,b,_,t.WritingMode.vertical,r,M.lineStartIndex,M.lineLength,-1,S),D=e.icon.placedSymbolArray.length-1)}const q=Object.keys(i.horizontal);for(const n of q){const a=i.horizontal[n];if(!z){R=xa.exports(a.text);const t=l.layout.get("text-rotate").evaluate(_,{},S);z=new mu(u,r,c,h,p,a,f,y,m,t)}const o=1===a.positionedLines.length;if(F+=Mu(e,r,a,s,l,m,_,g,M,i.vertical?t.WritingMode.horizontal:t.WritingMode.horizontalOnly,o?q:[n],$,L,A,S),o)break}i.vertical&&(T+=Mu(e,r,i.vertical,s,l,m,_,g,M,t.WritingMode.vertical,["vertical"],$,D,A,S));const j=z?z.boxStartIndex:e.collisionBoxArray.length,N=z?z.boxEndIndex:e.collisionBoxArray.length,Z=C?C.boxStartIndex:e.collisionBoxArray.length,K=C?C.boxEndIndex:e.collisionBoxArray.length,G=B?B.boxStartIndex:e.collisionBoxArray.length,J=B?B.boxEndIndex:e.collisionBoxArray.length,X=P?P.boxStartIndex:e.collisionBoxArray.length,Y=P?P.boxEndIndex:e.collisionBoxArray.length;let H=-1;const W=(t,e)=>t&&t.circleDiameter?Math.max(t.circleDiameter,e):e;H=W(z,H),H=W(C,H),H=W(B,H),H=W(P,H);const Q=H>-1?1:0;Q&&(H*=I/ll),e.glyphOffsetArray.length>=Du.MAX_GLYPHS&&d("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==_.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,_.sortKey),e.symbolInstances.emplaceBack(r.x,r.y,$.right>=0?$.right:-1,$.center>=0?$.center:-1,$.left>=0?$.left:-1,$.vertical||-1,L,D,R,j,N,Z,K,G,J,X,Y,c,F,T,V,E,Q,0,f,O,U,H)}(e,p,l,n,i,a,C,e.layers[0],e.collisionBoxArray,r.index,r.sourceLayerIndex,e.index,x,[_,_,_,_],S,u,b,A,I,y,r,s,c,h,o)};if("line"===M)for(const t of cu(r.geometry,0,0,qa,qa)){const r=lu(t,w,k,n.vertical||m,i,24,v,e.overscaling,qa);for(const n of r)m&&Bu(e,m.text,z,n)||P(t,n)}else if("line-center"===M){for(const t of r.geometry)if(t.length>1){const e=ou(t,k,n.vertical||m,i,24,v);e&&P(t,e)}}else if("Polygon"===r.type)for(const t of ho(r.geometry,0)){const e=vu(t,16);P(t[0],new ru(e.x,e.y,0))}else if("LineString"===r.type)for(const t of r.geometry)P(t,new ru(t[0].x,t[0].y,0));else if("Point"===r.type)for(const t of r.geometry)for(const e of t)P([e],new ru(e.x,e.y,0))}const Iu=32640;function Mu(t,e,r,n,i,a,s,o,l,u,c,h,p,f,y){const m=function(t,e,r,n,i,a,s,o){const l=n.layout.get("text-rotate").evaluate(a,{})*Math.PI/180,u=[];for(const t of e.positionedLines)for(const n of t.positionedGlyphs){if(!n.rect)continue;const a=n.rect||{};let c=4,h=!0,p=1,f=0;const d=(i||o)&&n.vertical,y=n.metrics.advance*n.scale/2;if(o&&e.verticalizable){const e=(n.scale-1)*ll,r=(ll-n.metrics.width*n.scale)/2;f=t.lineOffset/2-(n.imageName?-r:e)}if(n.imageName){const t=s[n.imageName];h=t.sdf,p=t.pixelRatio,c=1/p}const m=i?[n.x+y,n.y]:[0,0];let g=i?[0,0]:[n.x+y+r[0],n.y+r[1]-f],x=[0,0];d&&(x=g,g=[0,0]);const v=(n.metrics.left-c)*n.scale-y+g[0],b=(-n.metrics.top-c)*n.scale+g[1],w=v+a.w*n.scale/p,_=b+a.h*n.scale/p,A=new S(v,b),k=new S(w,b),I=new S(v,_),M=new S(w,_);if(d){const t=new S(-y,y-$l),e=-Math.PI/2,r=12-y,i=new S(22-r,-(n.imageName?r:0)),a=new S(...x);A._rotateAround(e,t)._add(i)._add(a),k._rotateAround(e,t)._add(i)._add(a),I._rotateAround(e,t)._add(i)._add(a),M._rotateAround(e,t)._add(i)._add(a)}if(l){const t=Math.sin(l),e=Math.cos(l),r=[e,-t,t,e];A._matMult(r),k._matMult(r),I._matMult(r),M._matMult(r)}const z=new S(0,0),B=new S(0,0);u.push({tl:A,tr:k,bl:I,br:M,tex:a,writingMode:e.writingMode,glyphOffset:m,sectionIndex:n.sectionIndex,isSDF:h,pixelOffsetTL:z,pixelOffsetBR:B,minFontScaleX:0,minFontScaleY:0})}return u}(0,r,o,i,a,s,n,t.allowVerticalPlacement),g=t.textSizeData;let x=null;"source"===g.kind?(x=[tu*i.layout.get("text-size").evaluate(s,{})],x[0]>Iu&&d(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)):"composite"===g.kind&&(x=[tu*f.compositeTextSizes[0].evaluate(s,{},y),tu*f.compositeTextSizes[1].evaluate(s,{},y)],(x[0]>Iu||x[1]>Iu)&&d(`${t.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)),t.addSymbols(t.text,m,x,o,a,s,u,e,l.lineStartIndex,l.lineLength,p,y);for(const e of c)h[e]=t.text.placedSymbolArray.length-1;return 4*m.length}function zu(t){for(const e in t)return t[e];return null}function Bu(t,e,r,n){const i=t.compareText;if(e in i){const t=i[e];for(let e=t.length-1;e>=0;e--)if(n.dist(t[e])<r)return!0}else i[e]=[];return i[e].push(n),!1}const Cu=_o.VectorTileFeature.types,Pu=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function Vu(t,e,r,n,i,a,s,o,l,u,c,h,p){const f=o?Math.min(Iu,Math.round(o[0])):0,d=o?Math.min(Iu,Math.round(o[1])):0;t.emplaceBack(e,r,Math.round(32*n),Math.round(32*i),a,s,(f<<1)+(l?1:0),d,16*u,16*c,256*h,256*p)}function Eu(t,e,r){t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r)}function Fu(t){for(const e of t.sections)if(On(e.text))return!0;return!1}class Tu{constructor(t){this.layoutVertexArray=new sa,this.indexArray=new ha,this.programConfigurations=t,this.segments=new ya,this.dynamicLayoutVertexArray=new oa,this.opacityVertexArray=new la,this.placedSymbolArray=new Ki}isEmpty(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length}upload(t,e,r,n){this.isEmpty()||(r&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,el.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,rl.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,Pu,!0),this.opacityVertexBuffer.itemSize=1),(r||n)&&this.programConfigurations.upload(t))}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())}}Mn("SymbolBuffers",Tu);class Lu{constructor(t,e,r){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new r,this.segments=new ya,this.collisionVertexArray=new ca}upload(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,nl.members,!0)}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())}}Mn("CollisionBuffers",Lu);class Du{constructor(e){this.collisionBoxArray=e.collisionBoxArray,this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map((t=>t.id)),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=ds([]),this.placementViewportMatrix=ds([]);const r=this.layers[0]._unevaluatedLayout._values;this.textSizeData=eu(this.zoom,r["text-size"]),this.iconSizeData=eu(this.zoom,r["icon-size"]);const n=this.layers[0].layout,i=n.get("symbol-sort-key"),a=n.get("symbol-z-order");this.canOverlap="never"!==qu(n,"text-overlap","text-allow-overlap")||"never"!==qu(n,"icon-overlap","icon-allow-overlap")||n.get("text-ignore-placement")||n.get("icon-ignore-placement"),this.sortFeaturesByKey="viewport-y"!==a&&!i.isConstant(),this.sortFeaturesByY=("viewport-y"===a||"auto"===a&&!this.sortFeaturesByKey)&&this.canOverlap,"point"===n.get("symbol-placement")&&(this.writingModes=n.get("text-writing-mode").map((e=>t.WritingMode[e]))),this.stateDependentLayerIds=this.layers.filter((t=>t.isStateDependent())).map((t=>t.id)),this.sourceID=e.sourceID}createArrays(){this.text=new Tu(new Ra(this.layers,this.zoom,(t=>/^text/.test(t)))),this.icon=new Tu(new Ra(this.layers,this.zoom,(t=>/^icon/.test(t)))),this.glyphOffsetArray=new Xi,this.lineVertexArray=new Yi,this.symbolInstances=new Ji}calculateGlyphDependencies(t,e,r,n,i){for(let a=0;a<t.length;a++)if(e[t.charCodeAt(a)]=!0,(r||n)&&i){const r=ol[t.charAt(a)];r&&(e[r.charCodeAt(0)]=!0)}}populate(e,r,n){const i=this.layers[0],a=i.layout,s=a.get("text-font"),o=a.get("text-field"),l=a.get("icon-image"),u=("constant"!==o.value.kind||o.value.value instanceof Dt&&!o.value.value.isEmpty()||o.value.value.toString().length>0)&&("constant"!==s.value.kind||s.value.value.length>0),c="constant"!==l.value.kind||!!l.value.value||Object.keys(l.parameters).length>0,h=a.get("symbol-sort-key");if(this.features=[],!u&&!c)return;const p=r.iconDependencies,f=r.glyphDependencies,d=r.availableImages,y=new Qn(this.zoom);for(const{feature:r,id:o,index:l,sourceLayerIndex:m}of e){const e=i._featureFilter.needGeometry,g=Ka(r,e);if(!i._featureFilter.filter(y,g,n))continue;let x,v;if(e||(g.geometry=Za(r)),u){const t=i.getValueAndResolveTokens("text-field",g,n,d),e=Dt.factory(t);Fu(e)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===Yn()||this.hasRTLText&&Wn.isParsed())&&(x=sl(e,i,g))}if(c){const t=i.getValueAndResolveTokens("icon-image",g,n,d);v=t instanceof Rt?t:Rt.fromString(t)}if(!x&&!v)continue;const b=this.sortFeaturesByKey?h.evaluate(g,{},n):void 0;if(this.features.push({id:o,text:x,icon:v,index:l,sourceLayerIndex:m,geometry:g.geometry,properties:r.properties,type:Cu[r.type],sortKey:b}),v&&(p[v.name]=!0),x){const e=s.evaluate(g,{},n).join(","),r="viewport"!==a.get("text-rotation-alignment")&&"point"!==a.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(t.WritingMode.vertical)>=0;for(const t of x.sections)if(t.image)p[t.image.name]=!0;else{const n=En(x.toString()),i=t.fontStack||e,a=f[i]=f[i]||{};this.calculateGlyphDependencies(t.text,a,r,this.allowVerticalPlacement,n)}}}"line"===a.get("symbol-placement")&&(this.features=function(t){const e={},r={},n=[];let i=0;function a(e){n.push(t[e]),i++}function s(t,e,i){const a=r[t];return delete r[t],r[e]=a,n[a].geometry[0].pop(),n[a].geometry[0]=n[a].geometry[0].concat(i[0]),a}function o(t,r,i){const a=e[r];return delete e[r],e[t]=a,n[a].geometry[0].shift(),n[a].geometry[0]=i[0].concat(n[a].geometry[0]),a}function l(t,e,r){const n=r?e[0][e[0].length-1]:e[0][0];return`${t}:${n.x}:${n.y}`}for(let u=0;u<t.length;u++){const c=t[u],h=c.geometry,p=c.text?c.text.toString():null;if(!p){a(u);continue}const f=l(p,h),d=l(p,h,!0);if(f in r&&d in e&&r[f]!==e[d]){const t=o(f,d,h),i=s(f,d,n[t].geometry);delete e[f],delete r[d],r[l(p,n[i].geometry,!0)]=i,n[t].geometry=null}else f in r?s(f,d,h):d in e?o(f,d,h):(a(u),e[f]=i-1,r[d]=i-1)}return n.filter((t=>t.geometry))}(this.features)),this.sortFeaturesByKey&&this.features.sort(((t,e)=>t.sortKey-e.sortKey))}update(t,e,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,r))}isEmpty(){return 0===this.symbolInstances.length&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(t){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(t,e){const r=this.lineVertexArray.length;if(void 0!==t.segment){let r=t.dist(e[t.segment+1]),n=t.dist(e[t.segment]);const i={};for(let n=t.segment+1;n<e.length;n++)i[n]={x:e[n].x,y:e[n].y,tileUnitDistanceFromAnchor:r},n<e.length-1&&(r+=e[n+1].dist(e[n]));for(let r=t.segment||0;r>=0;r--)i[r]={x:e[r].x,y:e[r].y,tileUnitDistanceFromAnchor:n},r>0&&(n+=e[r-1].dist(e[r]));for(let t=0;t<e.length;t++){const e=i[t];this.lineVertexArray.emplaceBack(e.x,e.y,e.tileUnitDistanceFromAnchor)}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}}addSymbols(e,r,n,i,a,s,o,l,u,c,h,p){const f=e.indexArray,d=e.layoutVertexArray,y=e.segments.prepareSegment(4*r.length,d,f,this.canOverlap?s.sortKey:void 0),m=this.glyphOffsetArray.length,g=y.vertexLength,x=this.allowVerticalPlacement&&o===t.WritingMode.vertical?Math.PI/2:0,v=s.text&&s.text.sections;for(let t=0;t<r.length;t++){const{tl:i,tr:a,bl:o,br:u,tex:c,pixelOffsetTL:h,pixelOffsetBR:m,minFontScaleX:g,minFontScaleY:b,glyphOffset:w,isSDF:_,sectionIndex:A}=r[t],k=y.vertexLength,S=w[1];Vu(d,l.x,l.y,i.x,S+i.y,c.x,c.y,n,_,h.x,h.y,g,b),Vu(d,l.x,l.y,a.x,S+a.y,c.x+c.w,c.y,n,_,m.x,h.y,g,b),Vu(d,l.x,l.y,o.x,S+o.y,c.x,c.y+c.h,n,_,h.x,m.y,g,b),Vu(d,l.x,l.y,u.x,S+u.y,c.x+c.w,c.y+c.h,n,_,m.x,m.y,g,b),Eu(e.dynamicLayoutVertexArray,l,x),f.emplaceBack(k,k+1,k+2),f.emplaceBack(k+1,k+2,k+3),y.vertexLength+=4,y.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(w[0]),t!==r.length-1&&A===r[t+1].sectionIndex||e.programConfigurations.populatePaintArrays(d.length,s,s.index,{},p,v&&v[A])}e.placedSymbolArray.emplaceBack(l.x,l.y,m,this.glyphOffsetArray.length-m,g,u,c,l.segment,n?n[0]:0,n?n[1]:0,i[0],i[1],o,0,!1,0,h)}_addCollisionDebugVertex(t,e,r,n,i,a){return e.emplaceBack(0,0),t.emplaceBack(r.x,r.y,n,i,Math.round(a.x),Math.round(a.y))}addCollisionDebugVertices(t,e,r,n,i,a,s){const o=i.segments.prepareSegment(4,i.layoutVertexArray,i.indexArray),l=o.vertexLength,u=i.layoutVertexArray,c=i.collisionVertexArray,h=s.anchorX,p=s.anchorY;this._addCollisionDebugVertex(u,c,a,h,p,new S(t,e)),this._addCollisionDebugVertex(u,c,a,h,p,new S(r,e)),this._addCollisionDebugVertex(u,c,a,h,p,new S(r,n)),this._addCollisionDebugVertex(u,c,a,h,p,new S(t,n)),o.vertexLength+=4;const f=i.indexArray;f.emplaceBack(l,l+1),f.emplaceBack(l+1,l+2),f.emplaceBack(l+2,l+3),f.emplaceBack(l+3,l),o.primitiveLength+=4}addDebugCollisionBoxes(t,e,r,n){for(let i=t;i<e;i++){const t=this.collisionBoxArray.get(i);this.addCollisionDebugVertices(t.x1,t.y1,t.x2,t.y2,n?this.textCollisionBox:this.iconCollisionBox,t.anchorPoint,r)}}generateCollisionDebugBuffers(){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new Lu(ua,il.members,pa),this.iconCollisionBox=new Lu(ua,il.members,pa);for(let t=0;t<this.symbolInstances.length;t++){const e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.verticalTextBoxStartIndex,e.verticalTextBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e,!1),this.addDebugCollisionBoxes(e.verticalIconBoxStartIndex,e.verticalIconBoxEndIndex,e,!1)}}_deserializeCollisionBoxesForSymbol(t,e,r,n,i,a,s,o,l){const u={};for(let n=e;n<r;n++){const e=t.get(n);u.textBox={x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,anchorPointX:e.anchorPointX,anchorPointY:e.anchorPointY},u.textFeatureIndex=e.featureIndex;break}for(let e=n;e<i;e++){const r=t.get(e);u.verticalTextBox={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2,anchorPointX:r.anchorPointX,anchorPointY:r.anchorPointY},u.verticalTextFeatureIndex=r.featureIndex;break}for(let e=a;e<s;e++){const r=t.get(e);u.iconBox={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2,anchorPointX:r.anchorPointX,anchorPointY:r.anchorPointY},u.iconFeatureIndex=r.featureIndex;break}for(let e=o;e<l;e++){const r=t.get(e);u.verticalIconBox={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2,anchorPointX:r.anchorPointX,anchorPointY:r.anchorPointY},u.verticalIconFeatureIndex=r.featureIndex;break}return u}deserializeCollisionBoxes(t){this.collisionArrays=[];for(let e=0;e<this.symbolInstances.length;e++){const r=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,r.textBoxStartIndex,r.textBoxEndIndex,r.verticalTextBoxStartIndex,r.verticalTextBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex,r.verticalIconBoxStartIndex,r.verticalIconBoxEndIndex))}}hasTextData(){return this.text.segments.get().length>0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(t,e){const r=t.placedSymbolArray.get(e),n=r.vertexStartIndex+4*r.numGlyphs;for(let e=r.vertexStartIndex;e<n;e+=4)t.indexArray.emplaceBack(e,e+1,e+2),t.indexArray.emplaceBack(e+1,e+2,e+3)}getSortedSymbolIndexes(t){if(this.sortedAngle===t&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;const e=Math.sin(t),r=Math.cos(t),n=[],i=[],a=[];for(let t=0;t<this.symbolInstances.length;++t){a.push(t);const s=this.symbolInstances.get(t);n.push(0|Math.round(e*s.anchorX+r*s.anchorY)),i.push(s.featureIndex)}return a.sort(((t,e)=>n[t]-n[e]||i[e]-i[t])),a}addToSortKeyRanges(t,e){const r=this.sortKeyRanges[this.sortKeyRanges.length-1];r&&r.sortKey===e?r.symbolInstanceEnd=t+1:this.sortKeyRanges.push({sortKey:e,symbolInstanceStart:t,symbolInstanceEnd:t+1})}sortFeatures(t){if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(const t of this.symbolInstanceIndexes){const e=this.symbolInstances.get(t);this.featureSortOrder.push(e.featureIndex),[e.rightJustifiedTextSymbolIndex,e.centerJustifiedTextSymbolIndex,e.leftJustifiedTextSymbolIndex].forEach(((t,e,r)=>{t>=0&&r.indexOf(t)===e&&this.addIndicesForPlacedSymbol(this.text,t)})),e.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,e.verticalPlacedTextSymbolIndex),e.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.placedIconSymbolIndex),e.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,e.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}Mn("SymbolBucket",Du,{omit:["layers","collisionBoxArray","features","compareText"]}),Du.MAX_GLYPHS=65535,Du.addDynamicAttributes=Eu;const $u=new fi({"symbol-placement":new li(nt.layout_symbol["symbol-placement"]),"symbol-spacing":new li(nt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new li(nt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ui(nt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new li(nt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new li(nt.layout_symbol["icon-allow-overlap"]),"icon-overlap":new li(nt.layout_symbol["icon-overlap"]),"icon-ignore-placement":new li(nt.layout_symbol["icon-ignore-placement"]),"icon-optional":new li(nt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new li(nt.layout_symbol["icon-rotation-alignment"]),"icon-size":new ui(nt.layout_symbol["icon-size"]),"icon-text-fit":new li(nt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new li(nt.layout_symbol["icon-text-fit-padding"]),"icon-image":new ui(nt.layout_symbol["icon-image"]),"icon-rotate":new ui(nt.layout_symbol["icon-rotate"]),"icon-padding":new ui(nt.layout_symbol["icon-padding"]),"icon-keep-upright":new li(nt.layout_symbol["icon-keep-upright"]),"icon-offset":new ui(nt.layout_symbol["icon-offset"]),"icon-anchor":new ui(nt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new li(nt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new li(nt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new li(nt.layout_symbol["text-rotation-alignment"]),"text-field":new ui(nt.layout_symbol["text-field"]),"text-font":new ui(nt.layout_symbol["text-font"]),"text-size":new ui(nt.layout_symbol["text-size"]),"text-max-width":new ui(nt.layout_symbol["text-max-width"]),"text-line-height":new li(nt.layout_symbol["text-line-height"]),"text-letter-spacing":new ui(nt.layout_symbol["text-letter-spacing"]),"text-justify":new ui(nt.layout_symbol["text-justify"]),"text-radial-offset":new ui(nt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new li(nt.layout_symbol["text-variable-anchor"]),"text-anchor":new ui(nt.layout_symbol["text-anchor"]),"text-max-angle":new li(nt.layout_symbol["text-max-angle"]),"text-writing-mode":new li(nt.layout_symbol["text-writing-mode"]),"text-rotate":new ui(nt.layout_symbol["text-rotate"]),"text-padding":new li(nt.layout_symbol["text-padding"]),"text-keep-upright":new li(nt.layout_symbol["text-keep-upright"]),"text-transform":new ui(nt.layout_symbol["text-transform"]),"text-offset":new ui(nt.layout_symbol["text-offset"]),"text-allow-overlap":new li(nt.layout_symbol["text-allow-overlap"]),"text-overlap":new li(nt.layout_symbol["text-overlap"]),"text-ignore-placement":new li(nt.layout_symbol["text-ignore-placement"]),"text-optional":new li(nt.layout_symbol["text-optional"])});var Ru={paint:new fi({"icon-opacity":new ui(nt.paint_symbol["icon-opacity"]),"icon-color":new ui(nt.paint_symbol["icon-color"]),"icon-halo-color":new ui(nt.paint_symbol["icon-halo-color"]),"icon-halo-width":new ui(nt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ui(nt.paint_symbol["icon-halo-blur"]),"icon-translate":new li(nt.paint_symbol["icon-translate"]),"icon-translate-anchor":new li(nt.paint_symbol["icon-translate-anchor"]),"text-opacity":new ui(nt.paint_symbol["text-opacity"]),"text-color":new ui(nt.paint_symbol["text-color"],{runtimeType:yt,getOverride:t=>t.textColor,hasOverride:t=>!!t.textColor}),"text-halo-color":new ui(nt.paint_symbol["text-halo-color"]),"text-halo-width":new ui(nt.paint_symbol["text-halo-width"]),"text-halo-blur":new ui(nt.paint_symbol["text-halo-blur"]),"text-translate":new li(nt.paint_symbol["text-translate"]),"text-translate-anchor":new li(nt.paint_symbol["text-translate-anchor"])}),layout:$u};class Ou{constructor(t){if(void 0===t.property.overrides)throw new Error("overrides must be provided to instantiate FormatSectionOverride class");this.type=t.property.overrides?t.property.overrides.runtimeType:ht,this.defaultValue=t}evaluate(t){if(t.formattedSection){const e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default}eachChild(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}Mn("FormatSectionOverride",Ou,{omit:["defaultValue"]});class Uu extends yi{constructor(t){super(t,Ru)}recalculate(t,e){if(super.recalculate(t,e),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]="map"===this.layout.get("text-rotation-alignment")?"map":"viewport"),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){const t=this.layout.get("text-writing-mode");if(t){const e=[];for(const r of t)e.indexOf(r)<0&&e.push(r);this.layout._values["text-writing-mode"]=e}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()}getValueAndResolveTokens(t,e,r,n){const i=this.layout.get(t).evaluate(e,{},r,n),a=this._unevaluatedLayout._values[t];return a.isDataDriven()||Er(a.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,((e,r)=>r in t?String(t[r]):""))}(e.properties,i)}createBucket(t){return new Du(t)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error("Should take a different path in FeatureIndex")}_setPaintOverrides(){for(const t of Ru.paint.overridableProperties){if(!Uu.hasPaintOverride(this.layout,t))continue;const e=this.paint.get(t),r=new Ou(e),n=new Vr(r,e.property.specification);let i=null;i="constant"===e.value.kind||"source"===e.value.kind?new Tr("source",n):new Lr("composite",n,e.value.zoomStops),this.paint._values[t]=new si(e.property,i,e.parameters)}}_handleOverridablePaintPropertyUpdate(t,e,r){return!(!this.layout||e.isDataDriven()||r.isDataDriven())&&Uu.hasPaintOverride(this.layout,t)}static hasPaintOverride(t,e){const r=t.get("text-field"),n=Ru.paint.properties[e];let i=!1;const a=t=>{for(const e of t)if(n.overrides&&n.overrides.hasOverride(e))return void(i=!0)};if("constant"===r.value.kind&&r.value.value instanceof Dt)a(r.value.value.sections);else if("source"===r.value.kind){const t=e=>{i||(e instanceof Nt&&qt(e.value)===vt?a(e.value.sections):e instanceof cr?a(e.sections):e.eachChild(t))},e=r.value;e._styleExpression&&t(e._styleExpression.expression)}return i}}function qu(t,e,r){let n="never";const i=t.get(e);return i?n=i:t.get(r)&&(n="always"),n}var ju={paint:new fi({"background-color":new li(nt.paint_background["background-color"]),"background-pattern":new hi(nt.paint_background["background-pattern"]),"background-opacity":new li(nt.paint_background["background-opacity"])})},Nu={paint:new fi({"raster-opacity":new li(nt.paint_raster["raster-opacity"]),"raster-hue-rotate":new li(nt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new li(nt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new li(nt.paint_raster["raster-brightness-max"]),"raster-saturation":new li(nt.paint_raster["raster-saturation"]),"raster-contrast":new li(nt.paint_raster["raster-contrast"]),"raster-resampling":new li(nt.paint_raster["raster-resampling"]),"raster-fade-duration":new li(nt.paint_raster["raster-fade-duration"])})};class Zu extends yi{constructor(t){super(t,{}),this.onAdd=t=>{this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)},this.onRemove=t=>{this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl)},this.implementation=t}is3D(){return"3d"===this.implementation.renderingMode}hasOffscreenPass(){return void 0!==this.implementation.prerender}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){throw new Error("Custom layers cannot be serialized")}}const Ku={circle:class extends yi{constructor(t){super(t,cs)}createBucket(t){return new Ja(t)}queryRadius(t){const e=t;return ss("circle-radius",this,e)+ss("circle-stroke-width",this,e)+os(this.paint.get("circle-translate"))}queryIntersectsFeature(t,e,r,n,i,a,s,o){const l=ls(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),a.angle,s),u=this.paint.get("circle-radius").evaluate(e,r)+this.paint.get("circle-stroke-width").evaluate(e,r),c="map"===this.paint.get("circle-pitch-alignment"),h=c?l:function(t,e){return t.map((t=>_s(t,e)))}(l,o),p=c?u*s:u;for(const t of n)for(const e of t){const t=c?e:_s(e,o);let r=p;const n=bs([],[e.x,e.y,0,1],o);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?r*=n[3]/a.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(r*=a.cameraToCenterDistance/n[3]),Ya(h,t,r))return!0}return!1}},heatmap:class extends yi{constructor(t){super(t,ks),this._updateColorRamp()}createBucket(t){return new As(t)}_handleSpecialPaintPropertyUpdate(t){"heatmap-color"===t&&this._updateColorRamp()}_updateColorRamp(){this.colorRamp=Cs({expression:this._transitionablePaint._values["heatmap-color"].value.expression,evaluationKey:"heatmapDensity",image:this.colorRamp}),this.colorRampTexture=null}resize(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)}queryRadius(){return 0}queryIntersectsFeature(){return!1}hasOffscreenPass(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility}},hillshade:class extends yi{constructor(t){super(t,Ps)}hasOffscreenPass(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility}},fill:class extends yi{constructor(t){super(t,xo)}recalculate(t,e){super.recalculate(t,e);const r=this.paint._values["fill-outline-color"];"constant"===r.value.kind&&void 0===r.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])}createBucket(t){return new mo(t)}queryRadius(){return os(this.paint.get("fill-translate"))}queryIntersectsFeature(t,e,r,n,i,a,s){return Ha(ls(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),a.angle,s),n)}isTileClipped(){return!0}},"fill-extrusion":class extends yi{constructor(t){super(t,Oo)}createBucket(t){return new Do(t)}queryRadius(){return os(this.paint.get("fill-extrusion-translate"))}is3D(){return!0}queryIntersectsFeature(t,e,r,n,i,a,s,o){const l=ls(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),a.angle,s),u=this.paint.get("fill-extrusion-height").evaluate(e,r),c=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e,r,n){const i=[];for(const r of t){const t=[r.x,r.y,0,1];bs(t,t,e),i.push(new S(t[0]/t[3],t[1]/t[3]))}return i}(l,o),p=function(t,e,r,n){const i=[],a=[],s=n[8]*e,o=n[9]*e,l=n[10]*e,u=n[11]*e,c=n[8]*r,h=n[9]*r,p=n[10]*r,f=n[11]*r;for(const e of t){const t=[],r=[];for(const i of e){const e=i.x,a=i.y,d=n[0]*e+n[4]*a+n[12],y=n[1]*e+n[5]*a+n[13],m=n[2]*e+n[6]*a+n[14],g=n[3]*e+n[7]*a+n[15],x=m+l,v=g+u,b=d+c,w=y+h,_=m+p,A=g+f,k=new S((d+s)/v,(y+o)/v);k.z=x/v,t.push(k);const I=new S(b/A,w/A);I.z=_/A,r.push(I)}i.push(t),a.push(r)}return[i,a]}(n,c,u,o);return function(t,e,r){let n=1/0;Ha(r,e)&&(n=qo(r,e[0]));for(let i=0;i<e.length;i++){const a=e[i],s=t[i];for(let t=0;t<a.length-1;t++){const e=a[t],i=[e,a[t+1],s[t+1],s[t],e];Xa(r,i)&&(n=Math.min(n,qo(r,i)))}}return n!==1/0&&n}(p[0],p[1],h)}},line:class extends yi{constructor(t){super(t,Wo),this.gradientVersion=0}_handleSpecialPaintPropertyUpdate(t){"line-gradient"===t&&(this.stepInterpolant=this._transitionablePaint._values["line-gradient"].value.expression._styleExpression.expression instanceof ke,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER)}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(t,e){super.recalculate(t,e),this.paint._values["line-floorwidth"]=Qo.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,t)}createBucket(t){return new Yo(t)}queryRadius(t){const e=t,r=tl(ss("line-width",this,e),ss("line-gap-width",this,e)),n=ss("line-offset",this,e);return r/2+Math.abs(n)+os(this.paint.get("line-translate"))}queryIntersectsFeature(t,e,r,n,i,a,s){const o=ls(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),l=s/2*tl(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),u=this.paint.get("line-offset").evaluate(e,r);return u&&(n=function(t,e){const r=[];for(let n=0;n<t.length;n++){const i=t[n],a=[];for(let t=0;t<i.length;t++){const r=i[t-1],n=i[t],s=i[t+1],o=0===t?new S(0,0):n.sub(r)._unit()._perp(),l=t===i.length-1?new S(0,0):s.sub(n)._unit()._perp(),u=o._add(l)._unit(),c=u.x*l.x+u.y*l.y;0!==c&&u._mult(1/c),a.push(u._mult(e)._add(n))}r.push(a)}return r}(n,u*s)),function(t,e,r){for(let n=0;n<e.length;n++){const i=e[n];if(t.length>=3)for(let e=0;e<i.length;e++)if(is(t,i[e]))return!0;if(Wa(t,i,r))return!0}return!1}(o,n,l)}isTileClipped(){return!0}},symbol:Uu,background:class extends yi{constructor(t){super(t,ju)}},raster:class extends yi{constructor(t){super(t,Nu)}}};class Gu{constructor(t){this._callback=t,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._callback()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((()=>{this._triggered=!1,this._callback()}),0))}remove(){delete this._channel,this._callback=()=>{}}}const Ju=6371008.8;class Xu{constructor(t,e){if(isNaN(t)||isNaN(e))throw new Error(`Invalid LngLat object: (${t}, ${e})`);if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new Xu(s(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(t){const e=Math.PI/180,r=this.lat*e,n=t.lat*e,i=Math.sin(r)*Math.sin(n)+Math.cos(r)*Math.cos(n)*Math.cos((t.lng-this.lng)*e);return Ju*Math.acos(Math.min(i,1))}toBounds(t=0){const e=360*t/40075017,r=e/Math.cos(Math.PI/180*this.lat);return new Yu(new Xu(this.lng-r,this.lat-e),new Xu(this.lng+r,this.lat+e))}static convert(t){if(t instanceof Xu)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Xu(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new Xu(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")}}class Yu{constructor(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))}setNorthEast(t){return this._ne=t instanceof Xu?new Xu(t.lng,t.lat):Xu.convert(t),this}setSouthWest(t){return this._sw=t instanceof Xu?new Xu(t.lng,t.lat):Xu.convert(t),this}extend(t){const e=this._sw,r=this._ne;let n,i;if(t instanceof Xu)n=t,i=t;else{if(!(t instanceof Yu))return Array.isArray(t)?4===t.length||t.every(Array.isArray)?this.extend(Yu.convert(t)):this.extend(Xu.convert(t)):this;if(n=t._sw,i=t._ne,!n||!i)return this}return e||r?(e.lng=Math.min(n.lng,e.lng),e.lat=Math.min(n.lat,e.lat),r.lng=Math.max(i.lng,r.lng),r.lat=Math.max(i.lat,r.lat)):(this._sw=new Xu(n.lng,n.lat),this._ne=new Xu(i.lng,i.lat)),this}getCenter(){return new Xu((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new Xu(this.getWest(),this.getNorth())}getSouthEast(){return new Xu(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(t){const{lng:e,lat:r}=Xu.convert(t);let n=this._sw.lng<=e&&e<=this._ne.lng;return this._sw.lng>this._ne.lng&&(n=this._sw.lng>=e&&e>=this._ne.lng),this._sw.lat<=r&&r<=this._ne.lat&&n}static convert(t){return t instanceof Yu?t:t?new Yu(t):t}}const Hu=2*Math.PI*Ju;function Wu(t){return Hu*Math.cos(t*Math.PI/180)}function Qu(t){return(180+t)/360}function tc(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function ec(t,e){return t/Wu(e)}function rc(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}class nc{constructor(t,e,r=0){this.x=+t,this.y=+e,this.z=+r}static fromLngLat(t,e=0){const r=Xu.convert(t);return new nc(Qu(r.lng),tc(r.lat),ec(e,r.lat))}toLngLat(){return new Xu(360*this.x-180,rc(this.y))}toAltitude(){return this.z*Wu(rc(this.y))}meterInMercatorCoordinateUnits(){return 1/Hu*(t=rc(this.y),1/Math.cos(t*Math.PI/180));var t}}function ic(t,e,r){var n=2*Math.PI*6378137/256/Math.pow(2,r);return[t*n-2*Math.PI*6378137/2,e*n-2*Math.PI*6378137/2]}class ac{constructor(t,e,r){if(t<0||t>25||r<0||r>=Math.pow(2,t)||e<0||e>=Math.pow(2,t))throw new Error(`x=${e}, y=${r}, z=${t} outside of bounds. 0<=x<${Math.pow(2,t)}, 0<=y<${Math.pow(2,t)} 0<=z<=25 `);this.z=t,this.x=e,this.y=r,this.key=lc(0,t,t,e,r)}equals(t){return this.z===t.z&&this.x===t.x&&this.y===t.y}url(t,e,r){const n=(a=this.y,s=this.z,o=ic(256*(i=this.x),256*(a=Math.pow(2,s)-a-1),s),l=ic(256*(i+1),256*(a+1),s),o[0]+","+o[1]+","+l[0]+","+l[1]);var i,a,s,o,l;const u=function(t,e,r){let n,i="";for(let a=t;a>0;a--)n=1<<a-1,i+=(e&n?1:0)+(r&n?2:0);return i}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace(/{prefix}/g,(this.x%16).toString(16)+(this.y%16).toString(16)).replace(/{z}/g,String(this.z)).replace(/{x}/g,String(this.x)).replace(/{y}/g,String("tms"===r?Math.pow(2,this.z)-this.y-1:this.y)).replace(/{ratio}/g,e>1?"@2x":"").replace(/{quadkey}/g,u).replace(/{bbox-epsg-3857}/g,n)}isChildOf(t){const e=this.z-t.z;return e>0&&t.x===this.x>>e&&t.y===this.y>>e}getTilePoint(t){const e=Math.pow(2,this.z);return new S((t.x*e-this.x)*qa,(t.y*e-this.y)*qa)}toString(){return`${this.z}/${this.x}/${this.y}`}}class sc{constructor(t,e){this.wrap=t,this.canonical=e,this.key=lc(t,e.z,e.z,e.x,e.y)}}class oc{constructor(t,e,r,n,i){if(t<r)throw new Error(`overscaledZ should be >= z; overscaledZ = ${t}; z = ${r}`);this.overscaledZ=t,this.wrap=e,this.canonical=new ac(r,+n,+i),this.key=lc(e,t,r,n,i)}clone(){return new oc(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)}scaledTo(t){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const e=this.canonical.z-t;return t>this.canonical.z?new oc(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new oc(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)}calculateScaledKey(t,e){if(t>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${t}; overscaledZ = ${this.overscaledZ}`);const r=this.canonical.z-t;return t>this.canonical.z?lc(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y):lc(this.wrap*+e,t,t,this.canonical.x>>r,this.canonical.y>>r)}isChildOf(t){if(t.wrap!==this.wrap)return!1;const e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e}children(t){if(this.overscaledZ>=t)return[new oc(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];const e=this.canonical.z+1,r=2*this.canonical.x,n=2*this.canonical.y;return[new oc(e,this.wrap,e,r,n),new oc(e,this.wrap,e,r+1,n),new oc(e,this.wrap,e,r,n+1),new oc(e,this.wrap,e,r+1,n+1)]}isLessThan(t){return this.wrap<t.wrap||!(this.wrap>t.wrap)&&(this.overscaledZ<t.overscaledZ||!(this.overscaledZ>t.overscaledZ)&&(this.canonical.x<t.canonical.x||!(this.canonical.x>t.canonical.x)&&this.canonical.y<t.canonical.y))}wrapped(){return new oc(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)}unwrapTo(t){return new oc(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)}overscaleFactor(){return Math.pow(2,this.overscaledZ-this.canonical.z)}toUnwrapped(){return new sc(this.wrap,this.canonical)}toString(){return`${this.overscaledZ}/${this.canonical.x}/${this.canonical.y}`}getTilePoint(t){return this.canonical.getTilePoint(new nc(t.x-this.wrap,t.y))}}function lc(t,e,r,n,i){(t*=2)<0&&(t=-1*t-1);const a=1<<r;return(a*a*t+a*i+n).toString(36)+r.toString(36)+e.toString(36)}Mn("CanonicalTileID",ac),Mn("OverscaledTileID",oc,{omit:["posMatrix"]});class uc{constructor(t,e,r){if(this.uid=t,e.height!==e.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return void d(`"${r}" is not a valid encoding type. Valid types include "mapbox" and "terrarium".`);this.stride=e.height;const n=this.dim=e.height-2;this.data=new Uint32Array(e.data.buffer),this.encoding=r||"mapbox";for(let t=0;t<n;t++)this.data[this._idx(-1,t)]=this.data[this._idx(0,t)],this.data[this._idx(n,t)]=this.data[this._idx(n-1,t)],this.data[this._idx(t,-1)]=this.data[this._idx(t,0)],this.data[this._idx(t,n)]=this.data[this._idx(t,n-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(n,-1)]=this.data[this._idx(n-1,0)],this.data[this._idx(-1,n)]=this.data[this._idx(0,n-1)],this.data[this._idx(n,n)]=this.data[this._idx(n-1,n-1)],this.min=Number.MAX_SAFE_INTEGER,this.max=Number.MIN_SAFE_INTEGER;for(let t=0;t<n;t++)for(let e=0;e<n;e++){const r=this.get(t,e);r>this.max&&(this.max=r),r<this.min&&(this.min=r)}}get(t,e){const r=new Uint8Array(this.data.buffer),n=4*this._idx(t,e);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(r[n],r[n+1],r[n+2])}getUnpackVector(){return"terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]}_idx(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)}_unpackMapbox(t,e,r){return(256*t*256+256*e+r)/10-1e4}_unpackTerrarium(t,e,r){return 256*t+e+r/256-32768}getPixels(){return new Bs({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(t,e,r){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");let n=e*this.dim,i=e*this.dim+this.dim,a=r*this.dim,s=r*this.dim+this.dim;switch(e){case-1:n=i-1;break;case 1:i=n+1}switch(r){case-1:a=s-1;break;case 1:s=a+1}const o=-e*this.dim,l=-r*this.dim;for(let e=a;e<s;e++)for(let r=n;r<i;r++)this.data[this._idx(r,e)]=t.data[this._idx(r+o,e+l)]}}Mn("DEMData",uc);class cc{constructor(t){this._stringToNumber={},this._numberToString=[];for(let e=0;e<t.length;e++){const r=t[e];this._stringToNumber[r]=e,this._numberToString[e]=r}}encode(t){return this._stringToNumber[t]}decode(t){if(t>=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${t} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[t]}}class hc{constructor(t,e,r,n,i){this.type="Feature",this._vectorTileFeature=t,t._z=e,t._x=r,t._y=n,this.properties=t.properties,this.id=i}get geometry(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry}set geometry(t){this._geometry=t}toJSON(){const t={geometry:this.geometry};for(const e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&(t[e]=this[e]);return t}}class pc{constructor(t,e){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=new Sn(qa,16,0),this.grid3D=new Sn(qa,16,0),this.featureIndexArray=new Wi,this.promoteId=e}insert(t,e,r,n,i,a){const s=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,n,i);const o=a?this.grid3D:this.grid;for(let t=0;t<e.length;t++){const r=e[t],n=[1/0,1/0,-1/0,-1/0];for(let t=0;t<r.length;t++){const e=r[t];n[0]=Math.min(n[0],e.x),n[1]=Math.min(n[1],e.y),n[2]=Math.max(n[2],e.x),n[3]=Math.max(n[3],e.y)}n[0]<qa&&n[1]<qa&&n[2]>=0&&n[3]>=0&&o.insert(s,n[0],n[1],n[2],n[3])}}loadVTLayers(){return this.vtLayers||(this.vtLayers=new _o.VectorTile(new ul(this.rawTileData)).layers,this.sourceLayerCoder=new cc(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers}query(t,e,r,n){this.loadVTLayers();const i=t.params||{},a=qa/t.tileSize/t.scale,s=Jr(i.filter),o=t.queryGeometry,l=t.queryPadding*a,u=dc(o),c=this.grid.query(u.minX-l,u.minY-l,u.maxX+l,u.maxY+l),h=dc(t.cameraQueryGeometry),p=this.grid3D.query(h.minX-l,h.minY-l,h.maxX+l,h.maxY+l,((e,r,n,i)=>function(t,e,r,n,i){for(const a of t)if(e<=a.x&&r<=a.y&&n>=a.x&&i>=a.y)return!0;const a=[new S(e,r),new S(e,i),new S(n,i),new S(n,r)];if(t.length>2)for(const e of a)if(is(t,e))return!0;for(let e=0;e<t.length-1;e++)if(as(t[e],t[e+1],a))return!0;return!1}(t.cameraQueryGeometry,e-l,r-l,n+l,i+l)));for(const t of p)c.push(t);c.sort(yc);const f={};let d;for(let l=0;l<c.length;l++){const u=c[l];if(u===d)continue;d=u;const h=this.featureIndexArray.get(u);let p=null;this.loadMatchingFeature(f,h.bucketIndex,h.sourceLayerIndex,h.featureIndex,s,i.layers,i.availableImages,e,r,n,((e,r,n)=>(p||(p=Za(e)),r.queryIntersectsFeature(o,e,n,p,this.z,t.transform,a,t.pixelPosMatrix))))}return f}loadMatchingFeature(t,e,r,n,i,a,s,l,u,c,h){const p=this.bucketLayerIDs[e];if(a&&!function(t,e){for(let r=0;r<t.length;r++)if(e.indexOf(t[r])>=0)return!0;return!1}(a,p))return;const f=this.sourceLayerCoder.decode(r),d=this.vtLayers[f].feature(n);if(i.needGeometry){const t=Ka(d,!0);if(!i.filter(new Qn(this.tileID.overscaledZ),t,this.tileID.canonical))return}else if(!i.filter(new Qn(this.tileID.overscaledZ),d))return;const y=this.getId(d,f);for(let e=0;e<p.length;e++){const r=p[e];if(a&&a.indexOf(r)<0)continue;const i=l[r];if(!i)continue;let f={};y&&c&&(f=c.getState(i.sourceLayer||"_geojsonTileLayer",y));const m=o({},u[r]);m.paint=fc(m.paint,i.paint,d,f,s),m.layout=fc(m.layout,i.layout,d,f,s);const g=!h||h(d,i,f);if(!g)continue;const x=new hc(d,this.z,this.x,this.y,y);x.layer=m;let v=t[r];void 0===v&&(v=t[r]=[]),v.push({featureIndex:n,feature:x,intersectionZ:g})}}lookupSymbolFeatures(t,e,r,n,i,a,s,o){const l={};this.loadVTLayers();const u=Jr(i);for(const i of t)this.loadMatchingFeature(l,r,n,i,u,a,s,o,e);return l}hasLayer(t){for(const e of this.bucketLayerIDs)for(const r of e)if(t===r)return!0;return!1}getId(t,e){let r=t.id;return this.promoteId&&(r=t.properties["string"==typeof this.promoteId?this.promoteId:this.promoteId[e]],"boolean"==typeof r&&(r=Number(r))),r}}function fc(t,e,r,n,i){return c(t,((t,a)=>{const s=e instanceof oi?e.get(a):null;return s&&s.evaluate?s.evaluate(r,n,i):s}))}function dc(t){let e=1/0,r=1/0,n=-1/0,i=-1/0;for(const a of t)e=Math.min(e,a.x),r=Math.min(r,a.y),n=Math.max(n,a.x),i=Math.max(i,a.y);return{minX:e,minY:r,maxX:n,maxY:i}}function yc(t,e){return e-t}var mc;Mn("FeatureIndex",pc,{omit:["rawTileData","sourceLayerCoder"]}),t.PerformanceMarkers=void 0,(mc=t.PerformanceMarkers||(t.PerformanceMarkers={})).create="create",mc.load="load",mc.fullLoad="fullLoad";let gc=null,xc=[];const vc=1e3/30,bc={mark(t){performance.mark(t)},frame(t){const e=t;null!=gc&&xc.push(e-gc),gc=e},clearMetrics(){gc=null,xc=[],performance.clearMeasures("loadTime"),performance.clearMeasures("fullLoadTime");for(const e in t.PerformanceMarkers)performance.clearMarks(t.PerformanceMarkers[e])},getPerformanceMetrics(){performance.measure("loadTime",t.PerformanceMarkers.create,t.PerformanceMarkers.load),performance.measure("fullLoadTime",t.PerformanceMarkers.create,t.PerformanceMarkers.fullLoad);const e=performance.getEntriesByName("loadTime")[0].duration,r=performance.getEntriesByName("fullLoadTime")[0].duration,n=xc.length,i=1/(xc.reduce(((t,e)=>t+e),0)/n/1e3),a=xc.filter((t=>t>vc)).reduce(((t,e)=>t+(e-vc)/vc),0);return{loadTime:e,fullLoadTime:r,fps:i,percentDroppedFrames:a/(n+a)*100}}};t.AJAXError=q,t.ARRAY_TYPE=ps,t.Actor=class{constructor(t,e,r){this.target=t,this.parent=e,this.mapId=r,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},u(["receive","process"],this),this.invoker=new Gu(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=g()?t:window}send(t,e,r,n,i=!1){const a=Math.round(1e18*Math.random()).toString(36).substring(0,10);r&&(this.callbacks[a]=r);const s=_(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:t,hasCallback:!!r,targetMapId:n,mustQueue:i,sourceMapId:this.mapId,data:Bn(e,s)},s),{cancel:()=>{r&&delete this.callbacks[a],this.target.postMessage({id:a,type:"<cancel>",targetMapId:n,sourceMapId:this.mapId})}}}receive(t){const e=t.data,r=e.id;if(r&&(!e.targetMapId||this.mapId===e.targetMapId))if("<cancel>"===e.type){delete this.tasks[r];const t=this.cancelCallbacks[r];delete this.cancelCallbacks[r],t&&t()}else g()||e.mustQueue?(this.tasks[r]=e,this.taskQueue.push(r),this.invoker.trigger()):this.processTask(r,e)}process(){if(!this.taskQueue.length)return;const t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length&&this.invoker.trigger(),e&&this.processTask(t,e)}processTask(t,e){if("<response>"===e.type){const r=this.callbacks[t];delete this.callbacks[t],r&&(e.error?r(Cn(e.error)):r(null,Cn(e.data)))}else{let r=!1;const n=_(this.globalScope)?void 0:[],i=e.hasCallback?(e,i)=>{r=!0,delete this.cancelCallbacks[t],this.target.postMessage({id:t,type:"<response>",sourceMapId:this.mapId,error:e?Bn(e):null,data:Bn(i,n)},n)}:t=>{r=!0};let a=null;const s=Cn(e.data);if(this.parent[e.type])a=this.parent[e.type](e.sourceMapId,s,i);else if(this.parent.getWorkerSource){const t=e.type.split(".");a=this.parent.getWorkerSource(e.sourceMapId,t[0],s.source)[t[1]](s,i)}else i(new Error(`Could not find function ${e.type}`));!r&&a&&a.cancel&&(this.cancelCallbacks[t]=a.cancel)}}remove(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)}},t.AlphaImage=zs,t.CanonicalTileID=ac,t.CollisionBoxArray=Ni,t.CollisionCircleLayoutArray=class extends Vi{},t.Color=Ft,t.DEMData=uc,t.DataConstantProperty=li,t.DictionaryCoder=cc,t.EXTENT=qa,t.ErrorEvent=et,t.EvaluationParameters=Qn,t.Event=tt,t.Evented=rt,t.FeatureIndex=pc,t.FillBucket=mo,t.FillExtrusionBucket=Do,t.GeoJSONFeature=hc,t.ImageAtlas=Dl,t.ImagePosition=Ll,t.LineBucket=Yo,t.LineStripIndexArray=class extends Ui{},t.LngLat=Xu,t.LngLatBounds=Yu,t.MercatorCoordinate=nc,t.ONE_EM=ll,t.OverscaledTileID=oc,t.PerformanceUtils=bc,t.PosArray=Qi,t.Properties=fi,t.QuadTriangleArray=class extends Fi{},t.RGBAImage=Bs,t.RasterBoundsArray=class extends _i{},t.RequestPerformance=class{constructor(t){this._marks={start:[t.url,"start"].join("#"),end:[t.url,"end"].join("#"),measure:t.url.toString()},performance.mark(this._marks.start)}finish(){performance.mark(this._marks.end);let t=performance.getEntriesByName(this._marks.measure);return 0===t.length&&(performance.measure(this._marks.measure,this._marks.start,this._marks.end),t=performance.getEntriesByName(this._marks.measure),performance.clearMarks(this._marks.start),performance.clearMarks(this._marks.end),performance.clearMeasures(this._marks.measure)),t}},t.ResourceType=U,t.SegmentVector=ya,t.SymbolBucket=Du,t.Transitionable=ri,t.TriangleIndexArray=ha,t.Uniform1f=za,t.Uniform1i=class extends Ma{constructor(t,e){super(t,e),this.current=0}set(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t))}},t.Uniform2f=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0]}set(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]))}},t.Uniform3f=class extends Ma{constructor(t,e){super(t,e),this.current=[0,0,0]}set(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]))}},t.Uniform4f=Ba,t.UniformColor=Ca,t.UniformMatrix4f=class extends Ma{constructor(t,e){super(t,e),this.current=Pa}set(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(let e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}}},t.UnwrappedTileID=sc,t.ValidationError=it,t.ZoomHistory=Pn,t.add=function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t},t.addDynamicAttributes=Eu,t.asyncAll=function(t,e,r){if(!t.length)return r(null,[]);let n=t.length;const i=new Array(t.length);let a=null;t.forEach(((t,s)=>{e(t,((t,e)=>{t&&(a=t),i[s]=e,0==--n&&r(a,i)}))}))},t.bezier=n,t.bindAll=u,t.cacheEntryPossiblyAdded=function(t){F++,F>V&&(t.getActor().send("enforceCacheSizeLimit",P),F=0)},t.clamp=a,t.clearTileCache=function(t){const e=caches.delete(z);t&&e.catch(t).then((()=>t()))},t.clipLine=cu,t.clone=function(t){var e=new ps(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=p,t.clone$2=function(t){var e=new ps(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.collisionCircleLayout=al,t.config=M,t.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.create=function(){var t=new ps(16);return ps!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=fs,t.createExpression=Fr,t.createFilter=Jr,t.createLayout=vi,t.createStyleLayer=function(t){return"custom"===t.type?new Zu(t):new Ku[t.type](t)},t.cross=function(t,e,r){var n=e[0],i=e[1],a=e[2],s=r[0],o=r[1],l=r[2];return t[0]=i*l-a*o,t[1]=a*s-n*l,t[2]=n*o-i*s,t},t.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},t.dot$1=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},t.ease=i,t.emitValidationErrors=kn,t.enforceCacheSizeLimit=function(t){E(),B&&B.then((e=>{e.keys().then((r=>{for(let n=0;n<r.length-t;n++)e.delete(r[n])}))}))},t.equals=function(t,e){var r=t[0],n=t[1],i=t[2],a=t[3],s=t[4],o=t[5],l=t[6],u=t[7],c=t[8],h=t[9],p=t[10],f=t[11],d=t[12],y=t[13],m=t[14],g=t[15],x=e[0],v=e[1],b=e[2],w=e[3],_=e[4],A=e[5],k=e[6],S=e[7],I=e[8],M=e[9],z=e[10],B=e[11],C=e[12],P=e[13],V=e[14],E=e[15];return Math.abs(r-x)<=hs*Math.max(1,Math.abs(r),Math.abs(x))&&Math.abs(n-v)<=hs*Math.max(1,Math.abs(n),Math.abs(v))&&Math.abs(i-b)<=hs*Math.max(1,Math.abs(i),Math.abs(b))&&Math.abs(a-w)<=hs*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(s-_)<=hs*Math.max(1,Math.abs(s),Math.abs(_))&&Math.abs(o-A)<=hs*Math.max(1,Math.abs(o),Math.abs(A))&&Math.abs(l-k)<=hs*Math.max(1,Math.abs(l),Math.abs(k))&&Math.abs(u-S)<=hs*Math.max(1,Math.abs(u),Math.abs(S))&&Math.abs(c-I)<=hs*Math.max(1,Math.abs(c),Math.abs(I))&&Math.abs(h-M)<=hs*Math.max(1,Math.abs(h),Math.abs(M))&&Math.abs(p-z)<=hs*Math.max(1,Math.abs(p),Math.abs(z))&&Math.abs(f-B)<=hs*Math.max(1,Math.abs(f),Math.abs(B))&&Math.abs(d-C)<=hs*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(y-P)<=hs*Math.max(1,Math.abs(y),Math.abs(P))&&Math.abs(m-V)<=hs*Math.max(1,Math.abs(m),Math.abs(V))&&Math.abs(g-E)<=hs*Math.max(1,Math.abs(g),Math.abs(E))},t.evaluateSizeForFeature=function(t,{uSize:e,uSizeT:r},{lowerSize:n,upperSize:i}){return"source"===t.kind?n/tu:"composite"===t.kind?Se(n/tu,i/tu,r):e},t.evaluateSizeForZoom=function(t,e){let r=0,n=0;if("constant"===t.kind)n=t.layoutSize;else if("source"!==t.kind){const{interpolationType:i,minZoom:s,maxZoom:o}=t,l=i?a(Ne.interpolationFactor(i,e,s,o),0,1):0;"camera"===t.kind?n=Se(t.minSize,t.maxSize,l):r=l}return{uSizeT:r,uSize:n}},t.evaluateVariableOffset=Au,t.evented=Xn,t.exported=k,t.exported$1=T,t.extend=o,t.filterObject=h,t.fromRotation=function(t,e){var r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=-r,t[4]=n,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.fromScaling=function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.getAnchorAlignment=Yl,t.getAnchorJustification=ku,t.getArrayBuffer=K,t.getImage=H,t.getJSON=function(t,e){return Z(o(t,{type:"json"}),e)},t.getOverlapMode=qu,t.getRTLTextPluginStatus=Yn,t.getReferrer=j,t.getVideo=function(t,e){const r=window.document.createElement("video");r.muted=!0,r.onloadstart=function(){e(null,r)};for(let e=0;e<t.length;e++){const n=window.document.createElement("source");G(t[e])||(r.crossOrigin="Anonymous"),n.src=t[e],r.appendChild(n)}return{cancel:()=>{}}},t.identity=ds,t.invert=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],s=e[4],o=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],f=e[11],d=e[12],y=e[13],m=e[14],g=e[15],x=r*o-n*s,v=r*l-i*s,b=r*u-a*s,w=n*l-i*o,_=n*u-a*o,A=i*u-a*l,k=c*y-h*d,S=c*m-p*d,I=c*g-f*d,M=h*m-p*y,z=h*g-f*y,B=p*g-f*m,C=x*B-v*z+b*M+w*I-_*S+A*k;return C?(t[0]=(o*B-l*z+u*M)*(C=1/C),t[1]=(i*z-n*B-a*M)*C,t[2]=(y*A-m*_+g*w)*C,t[3]=(p*_-h*A-f*w)*C,t[4]=(l*I-s*B-u*S)*C,t[5]=(r*B-i*I+a*S)*C,t[6]=(m*b-d*A-g*v)*C,t[7]=(c*A-p*b+f*v)*C,t[8]=(s*z-o*I+u*k)*C,t[9]=(n*I-r*z-a*k)*C,t[10]=(d*_-y*b+g*x)*C,t[11]=(h*b-c*_-f*x)*C,t[12]=(o*S-s*M-l*k)*C,t[13]=(r*M-n*S+i*k)*C,t[14]=(y*v-d*w-m*x)*C,t[15]=(c*w-h*v+p*x)*C,t):null},t.isImageBitmap=A,t.isSafari=_,t.isWorker=g,t.keysDifference=function(t,e){const r=[];for(const n in t)n in e||r.push(n);return r},t.lazyLoadRTLTextPlugin=function(){Wn.isLoading()||Wn.isLoaded()||"deferred"!==Yn()||Hn()},t.makeRequest=Z,t.mapObject=c,t.mercatorXfromLng=Qu,t.mercatorYfromLat=tc,t.mercatorZfromAltitude=ec,t.mul=gs,t.mul$1=function(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t},t.multiply=ys,t.nextPowerOfTwo=function(t){return t<=1?1:Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},t.normalize=function(t,e){var r=e[0],n=e[1],i=e[2],a=r*r+n*n+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t},t.number=Se,t.ortho=function(t,e,r,n,i,a,s){var o=1/(e-r),l=1/(n-i),u=1/(a-s);return t[0]=-2*o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+r)*o,t[13]=(i+n)*l,t[14]=(s+a)*u,t[15]=1,t},t.parseCacheControl=x,t.parseGlyphPbf=function(t){return new ul(t).readFields(Vl,[])},t.pbf=ul,t.performSymbolLayout=function(e){e.bucket.createArrays(),e.bucket.tilePixelRatio=qa/(512*e.bucket.overscaling),e.bucket.compareText={},e.bucket.iconsNeedLinear=!1;const r=e.bucket.layers[0].layout,n=e.bucket.layers[0]._unevaluatedLayout._values,i={layoutIconSize:n["icon-size"].possiblyEvaluate(new Qn(e.bucket.zoom+1),e.canonical),layoutTextSize:n["text-size"].possiblyEvaluate(new Qn(e.bucket.zoom+1),e.canonical),textMaxSize:n["text-size"].possiblyEvaluate(new Qn(18))};if("composite"===e.bucket.textSizeData.kind){const{minZoom:t,maxZoom:r}=e.bucket.textSizeData;i.compositeTextSizes=[n["text-size"].possiblyEvaluate(new Qn(t),e.canonical),n["text-size"].possiblyEvaluate(new Qn(r),e.canonical)]}if("composite"===e.bucket.iconSizeData.kind){const{minZoom:t,maxZoom:r}=e.bucket.iconSizeData;i.compositeIconSizes=[n["icon-size"].possiblyEvaluate(new Qn(t),e.canonical),n["icon-size"].possiblyEvaluate(new Qn(r),e.canonical)]}const a=r.get("text-line-height")*ll,s="viewport"!==r.get("text-rotation-alignment")&&"point"!==r.get("symbol-placement"),o=r.get("text-keep-upright"),l=r.get("text-size");for(const n of e.bucket.features){const u=r.get("text-font").evaluate(n,{},e.canonical).join(","),c=l.evaluate(n,{},e.canonical),h=i.layoutTextSize.evaluate(n,{},e.canonical),p=i.layoutIconSize.evaluate(n,{},e.canonical),f={horizontal:{},vertical:void 0},y=n.text;let m,g=[0,0];if(y){const i=y.toString(),l=r.get("text-letter-spacing").evaluate(n,{},e.canonical)*ll,p=Fn(i)?l:0,d=r.get("text-anchor").evaluate(n,{},e.canonical),m=r.get("text-variable-anchor");if(!m){const t=r.get("text-radial-offset").evaluate(n,{},e.canonical);g=t?Au(d,[t*ll,_u]):r.get("text-offset").evaluate(n,{},e.canonical).map((t=>t*ll))}let x=s?"center":r.get("text-justify").evaluate(n,{},e.canonical);const v=r.get("symbol-placement"),b="point"===v?r.get("text-max-width").evaluate(n,{},e.canonical)*ll:0,w=()=>{e.bucket.allowVerticalPlacement&&En(i)&&(f.vertical=Ul(y,e.glyphMap,e.glyphPositions,e.imagePositions,u,b,a,d,"left",p,g,t.WritingMode.vertical,!0,v,h,c))};if(!s&&m){const r="auto"===x?m.map((t=>ku(t))):[x];let n=!1;for(let i=0;i<r.length;i++){const s=r[i];if(!f.horizontal[s])if(n)f.horizontal[s]=f.horizontal[0];else{const r=Ul(y,e.glyphMap,e.glyphPositions,e.imagePositions,u,b,a,"center",s,p,g,t.WritingMode.horizontal,!1,v,h,c);r&&(f.horizontal[s]=r,n=1===r.positionedLines.length)}}w()}else{"auto"===x&&(x=ku(d));const r=Ul(y,e.glyphMap,e.glyphPositions,e.imagePositions,u,b,a,d,x,p,g,t.WritingMode.horizontal,!1,v,h,c);r&&(f.horizontal[x]=r),w(),En(i)&&s&&o&&(f.vertical=Ul(y,e.glyphMap,e.glyphPositions,e.imagePositions,u,b,a,d,x,p,g,t.WritingMode.vertical,!1,v,h,c))}}let x=!1;if(n.icon&&n.icon.name){const t=e.imageMap[n.icon.name];t&&(m=Wl(e.imagePositions[n.icon.name],r.get("icon-offset").evaluate(n,{},e.canonical),r.get("icon-anchor").evaluate(n,{},e.canonical)),x=!!t.sdf,void 0===e.bucket.sdfIcons?e.bucket.sdfIcons=x:e.bucket.sdfIcons!==x&&d("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(t.pixelRatio!==e.bucket.pixelRatio||0!==r.get("icon-rotate").constantOr(1))&&(e.bucket.iconsNeedLinear=!0))}const v=zu(f.horizontal)||f.vertical;e.bucket.iconsInText=!!v&&v.iconsInText,(v||m)&&Su(e.bucket,n,f,m,e.imageMap,i,h,p,g,x,e.canonical)}e.showCollisionBoxes&&e.bucket.generateCollisionDebugBuffers()},t.perspective=function(t,e,r,n,i){var a,s=1/Math.tan(e/2);return t[0]=s/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(t[10]=(i+n)*(a=1/(n-i)),t[14]=2*i*n*a):(t[10]=-1,t[14]=-2*n),t},t.pick=function(t,e){const r={};for(let n=0;n<e.length;n++){const i=e[n];i in t&&(r[i]=t[i])}return r},t.plugin=Wn,t.pointGeometry=S,t.polygonIntersectsPolygon=Xa,t.potpack=Tl,t.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],t.register=Mn,t.registerForPluginStateChange=function(t){return t({pluginStatus:Zn,pluginURL:Kn}),Xn.on("pluginStateChange",t),t},t.renderColorRamp=Cs,t.rotateX=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[4],s=e[5],o=e[6],l=e[7],u=e[8],c=e[9],h=e[10],p=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=a*i+u*n,t[5]=s*i+c*n,t[6]=o*i+h*n,t[7]=l*i+p*n,t[8]=u*i-a*n,t[9]=c*i-s*n,t[10]=h*i-o*n,t[11]=p*i-l*n,t},t.rotateZ=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[0],s=e[1],o=e[2],l=e[3],u=e[4],c=e[5],h=e[6],p=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=a*i+u*n,t[1]=s*i+c*n,t[2]=o*i+h*n,t[3]=l*i+p*n,t[4]=u*i-a*n,t[5]=c*i-s*n,t[6]=h*i-o*n,t[7]=p*i-l*n,t},t.scale=function(t,e,r){var n=r[0],i=r[1],a=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.scale$1=function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t},t.setCacheLimits=function(t,e){P=t,V=e},t.setRTLTextPlugin=function(t,e,r=!1){if(Zn===Un||Zn===qn||Zn===jn)throw new Error("setRTLTextPlugin cannot be called multiple times.");Kn=k.resolveURL(t),Zn=Un,Nn=e,Jn(),r||Hn()},t.spec=nt,t.sphericalToCartesian=function([t,e,r]){return e+=90,e*=Math.PI/180,r*=Math.PI/180,{x:t*Math.cos(e)*Math.sin(r),y:t*Math.sin(e)*Math.sin(r),z:t*Math.cos(r)}},t.sqrLen=function(t){var e=t[0],r=t[1];return e*e+r*r},t.sub=function(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t},t.toEvaluationFeature=Ka,t.transformMat3=function(t,e,r){var n=e[0],i=e[1],a=e[2];return t[0]=n*r[0]+i*r[3]+a*r[6],t[1]=n*r[1]+i*r[4]+a*r[7],t[2]=n*r[2]+i*r[5]+a*r[8],t},t.transformMat4=bs,t.transformMat4$1=function(t,e,r){var n=e[0],i=e[1];return t[0]=r[0]*n+r[4]*i+r[12],t[1]=r[1]*n+r[5]*i+r[13],t},t.translate=function(t,e,r){var n,i,a,s,o,l,u,c,h,p,f,d,y=r[0],m=r[1],g=r[2];return e===t?(t[12]=e[0]*y+e[4]*m+e[8]*g+e[12],t[13]=e[1]*y+e[5]*m+e[9]*g+e[13],t[14]=e[2]*y+e[6]*m+e[10]*g+e[14],t[15]=e[3]*y+e[7]*m+e[11]*g+e[15]):(i=e[1],a=e[2],s=e[3],o=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],t[0]=n=e[0],t[1]=i,t[2]=a,t[3]=s,t[4]=o,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=p,t[10]=f,t[11]=d,t[12]=n*y+o*m+h*g+e[12],t[13]=i*y+l*m+p*g+e[13],t[14]=a*y+u*m+f*g+e[14],t[15]=s*y+c*m+d*g+e[15]),t},t.triggerPluginCompletionEvent=Gn,t.unicodeBlockLookup=Vn,t.uniqueId=function(){return l++},t.validateCustomStyleLayer=function(t){const e=[],r=t.id;return void 0===r&&e.push({message:`layers.${r}: missing required property "id"`}),void 0===t.render&&e.push({message:`layers.${r}: missing required method "render"`}),t.renderingMode&&"2d"!==t.renderingMode&&"3d"!==t.renderingMode&&e.push({message:`layers.${r}: property "renderingMode" must be either "2d" or "3d"`}),e},t.validateLight=wn,t.validateStyle=bn,t.vectorTile=_o,t.warnOnce=d,t.wrap=s})),define(["./shared"],(function(e){function t(e){const o=typeof e;if("number"===o||"boolean"===o||"string"===o||null==e)return JSON.stringify(e);if(Array.isArray(e)){let o="[";for(const i of e)o+=`${t(i)},`;return`${o}]`}const i=Object.keys(e).sort();let r="{";for(let o=0;o<i.length;o++)r+=`${JSON.stringify(i[o])}:${t(e[i[o]])},`;return`${r}}`}function o(o){let i="";for(const r of e.refProperties)i+=`/${t(o[r])}`;return i}class i{constructor(e){this.keyCache={},e&&this.replace(e)}replace(e){this._layerConfigs={},this._layers={},this.update(e,[])}update(t,i){for(const o of t){this._layerConfigs[o.id]=o;const t=this._layers[o.id]=e.createStyleLayer(o);t._featureFilter=e.createFilter(t.filter),this.keyCache[o.id]&&delete this.keyCache[o.id]}for(const e of i)delete this.keyCache[e],delete this._layerConfigs[e],delete this._layers[e];this.familiesBySource={};const r=function(e,t){const i={};for(let r=0;r<e.length;r++){const n=t&&t[e[r].id]||o(e[r]);t&&(t[e[r].id]=n);let s=i[n];s||(s=i[n]=[]),s.push(e[r])}const r=[];for(const e in i)r.push(i[e]);return r}(Object.values(this._layerConfigs),this.keyCache);for(const e of r){const t=e.map((e=>this._layers[e.id])),o=t[0];if("none"===o.visibility)continue;const i=o.source||"";let r=this.familiesBySource[i];r||(r=this.familiesBySource[i]={});const n=o.sourceLayer||"_geojsonTileLayer";let s=r[n];s||(s=r[n]=[]),s.push(t)}}}class r{constructor(t){const o={},i=[];for(const e in t){const r=t[e],n=o[e]={};for(const e in r){const t=r[+e];if(!t||0===t.bitmap.width||0===t.bitmap.height)continue;const o={x:0,y:0,w:t.bitmap.width+2,h:t.bitmap.height+2};i.push(o),n[e]={rect:o,metrics:t.metrics}}}const{w:r,h:n}=e.potpack(i),s=new e.AlphaImage({width:r||1,height:n||1});for(const i in t){const r=t[i];for(const t in r){const n=r[+t];if(!n||0===n.bitmap.width||0===n.bitmap.height)continue;const a=o[i][t].rect;e.AlphaImage.copy(n.bitmap,s,{x:0,y:0},{x:a.x+1,y:a.y+1},n.bitmap)}}this.image=s,this.positions=o}}e.register("GlyphAtlas",r);class n{constructor(t){this.tileID=new e.OverscaledTileID(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.uid=t.uid,this.zoom=t.zoom,this.pixelRatio=t.pixelRatio,this.tileSize=t.tileSize,this.source=t.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=t.showCollisionBoxes,this.collectResourceTiming=!!t.collectResourceTiming,this.returnDependencies=!!t.returnDependencies,this.promoteId=t.promoteId}parse(t,o,i,n,a){this.status="parsing",this.data=t,this.collisionBoxArray=new e.CollisionBoxArray;const l=new e.DictionaryCoder(Object.keys(t.layers).sort()),c=new e.FeatureIndex(this.tileID,this.promoteId);c.bucketLayerIDs=[];const u={},h={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:i},p=o.familiesBySource[this.source];for(const o in p){const r=t.layers[o];if(!r)continue;1===r.version&&e.warnOnce(`Vector tile source "${this.source}" layer "${o}" does not use vector tile spec v2 and therefore may have some rendering errors.`);const n=l.encode(o),a=[];for(let e=0;e<r.length;e++){const t=r.feature(e),i=c.getId(t,o);a.push({feature:t,id:i,index:e,sourceLayerIndex:n})}for(const t of p[o]){const o=t[0];o.source!==this.source&&e.warnOnce(`layer.source = ${o.source} does not equal this.source = ${this.source}`),o.minzoom&&this.zoom<Math.floor(o.minzoom)||o.maxzoom&&this.zoom>=o.maxzoom||"none"!==o.visibility&&(s(t,this.zoom,i),(u[o.id]=o.createBucket({index:c.bucketLayerIDs.length,layers:t,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:n,sourceID:this.source})).populate(a,h,this.tileID.canonical),c.bucketLayerIDs.push(t.map((e=>e.id))))}}let f,d,g,m;const y=e.mapObject(h.glyphDependencies,(e=>Object.keys(e).map(Number)));Object.keys(y).length?n.send("getGlyphs",{uid:this.uid,stacks:y},((e,t)=>{f||(f=e,d=t,w.call(this))})):d={};const v=Object.keys(h.iconDependencies);v.length?n.send("getImages",{icons:v,source:this.source,tileID:this.tileID,type:"icons"},((e,t)=>{f||(f=e,g=t,w.call(this))})):g={};const x=Object.keys(h.patternDependencies);function w(){if(f)return a(f);if(d&&g&&m){const t=new r(d),o=new e.ImageAtlas(g,m);for(const r in u){const n=u[r];n instanceof e.SymbolBucket?(s(n.layers,this.zoom,i),e.performSymbolLayout({bucket:n,glyphMap:d,glyphPositions:t.positions,imageMap:g,imagePositions:o.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical})):n.hasPattern&&(n instanceof e.LineBucket||n instanceof e.FillBucket||n instanceof e.FillExtrusionBucket)&&(s(n.layers,this.zoom,i),n.addFeatures(h,this.tileID.canonical,o.patternPositions))}this.status="done",a(null,{buckets:Object.values(u).filter((e=>!e.isEmpty())),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:t.image,imageAtlas:o,glyphMap:this.returnDependencies?d:null,iconMap:this.returnDependencies?g:null,glyphPositions:this.returnDependencies?t.positions:null})}}x.length?n.send("getImages",{icons:x,source:this.source,tileID:this.tileID,type:"patterns"},((e,t)=>{f||(f=e,m=t,w.call(this))})):m={},w.call(this)}}function s(t,o,i){const r=new e.EvaluationParameters(o);for(const e of t)e.recalculate(r,i)}function a(t,o){const i=e.getArrayBuffer(t.request,((t,i,r,n)=>{t?o(t):i&&o(null,{vectorTile:new e.vectorTile.VectorTile(new e.pbf(i)),rawData:i,cacheControl:r,expires:n})}));return()=>{i.cancel(),o()}}class l{constructor(e,t,o,i){this.actor=e,this.layerIndex=t,this.availableImages=o,this.loadVectorData=i||a,this.loading={},this.loaded={}}loadTile(t,o){const i=t.uid;this.loading||(this.loading={});const r=!!(t&&t.request&&t.request.collectResourceTiming)&&new e.RequestPerformance(t.request),s=this.loading[i]=new n(t);s.abort=this.loadVectorData(t,((t,n)=>{if(delete this.loading[i],t||!n)return s.status="done",this.loaded[i]=s,o(t);const a=n.rawData,l={};n.expires&&(l.expires=n.expires),n.cacheControl&&(l.cacheControl=n.cacheControl);const c={};if(r){const e=r.finish();e&&(c.resourceTiming=JSON.parse(JSON.stringify(e)))}s.vectorTile=n.vectorTile,s.parse(n.vectorTile,this.layerIndex,this.availableImages,this.actor,((t,i)=>{if(t||!i)return o(t);o(null,e.extend({rawTileData:a.slice(0)},i,l,c))})),this.loaded=this.loaded||{},this.loaded[i]=s}))}reloadTile(e,t){const o=this.loaded,i=e.uid,r=this;if(o&&o[i]){const n=o[i];n.showCollisionBoxes=e.showCollisionBoxes;const s=(e,o)=>{const i=n.reloadCallback;i&&(delete n.reloadCallback,n.parse(n.vectorTile,r.layerIndex,this.availableImages,r.actor,i)),t(e,o)};"parsing"===n.status?n.reloadCallback=s:"done"===n.status&&(n.vectorTile?n.parse(n.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}}abortTile(e,t){const o=this.loading,i=e.uid;o&&o[i]&&o[i].abort&&(o[i].abort(),delete o[i]),t()}removeTile(e,t){const o=this.loaded,i=e.uid;o&&o[i]&&delete o[i],t()}}class c{constructor(){this.loaded={}}loadTile(t,o){const{uid:i,encoding:r,rawImageData:n}=t,s=e.isImageBitmap(n)?this.getImageData(n):n,a=new e.DEMData(i,s,r);this.loaded=this.loaded||{},this.loaded[i]=a,o(null,a)}getImageData(t){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(t.width,t.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=t.width,this.offscreenCanvas.height=t.height,this.offscreenCanvasContext.drawImage(t,0,0,t.width,t.height);const o=this.offscreenCanvasContext.getImageData(-1,-1,t.width+2,t.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new e.RGBAImage({width:o.width,height:o.height},o.data)}removeTile(e){const t=this.loaded,o=e.uid;t&&t[o]&&delete t[o]}}var u=function e(t,o){var i,r=t&&t.type;if("FeatureCollection"===r)for(i=0;i<t.features.length;i++)e(t.features[i],o);else if("GeometryCollection"===r)for(i=0;i<t.geometries.length;i++)e(t.geometries[i],o);else if("Feature"===r)e(t.geometry,o);else if("Polygon"===r)h(t.coordinates,o);else if("MultiPolygon"===r)for(i=0;i<t.coordinates.length;i++)h(t.coordinates[i],o);return t};function h(e,t){if(0!==e.length){p(e[0],t);for(var o=1;o<e.length;o++)p(e[o],!t)}}function p(e,t){for(var o=0,i=0,r=0,n=e.length,s=n-1;r<n;s=r++){var a=(e[r][0]-e[s][0])*(e[s][1]+e[r][1]),l=o+a;i+=Math.abs(o)>=Math.abs(a)?o-l+a:a-l+o,o=l}o+i>=0!=!!t&&e.reverse()}const f=e.vectorTile.VectorTileFeature.prototype.toGeoJSON;class d{constructor(t){this._feature=t,this.extent=e.EXTENT,this.type=t.type,this.properties=t.tags,"id"in t&&!isNaN(t.id)&&(this.id=parseInt(t.id,10))}loadGeometry(){if(1===this._feature.type){const t=[];for(const o of this._feature.geometry)t.push([new e.pointGeometry(o[0],o[1])]);return t}{const t=[];for(const o of this._feature.geometry){const i=[];for(const t of o)i.push(new e.pointGeometry(t[0],t[1]));t.push(i)}return t}}toGeoJSON(e,t,o){return f.call(this,e,t,o)}}class g{constructor(t){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=e.EXTENT,this.length=t.length,this._features=t}feature(e){return new d(this._features[e])}}var m={exports:{}},y=e.pointGeometry,v=e.vectorTile.VectorTileFeature,x=w;function w(e,t){this.options=t||{},this.features=e,this.length=e.length}function S(e,t){this.id="number"==typeof e.id?e.id:void 0,this.type=e.type,this.rawGeometry=1===e.type?[e.geometry]:e.geometry,this.properties=e.tags,this.extent=t||4096}w.prototype.feature=function(e){return new S(this.features[e],this.options.extent)},S.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var t=0;t<e.length;t++){for(var o=e[t],i=[],r=0;r<o.length;r++)i.push(new y(o[r][0],o[r][1]));this.geometry.push(i)}return this.geometry},S.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var e=this.geometry,t=1/0,o=-1/0,i=1/0,r=-1/0,n=0;n<e.length;n++)for(var s=e[n],a=0;a<s.length;a++){var l=s[a];t=Math.min(t,l.x),o=Math.max(o,l.x),i=Math.min(i,l.y),r=Math.max(r,l.y)}return[t,i,o,r]},S.prototype.toGeoJSON=v.prototype.toGeoJSON;var M=e.pbf,I=x;function b(e){var t=new M;return function(e,t){for(var o in e.layers)t.writeMessage(3,k,e.layers[o])}(e,t),t.finish()}function k(e,t){var o;t.writeVarintField(15,e.version||1),t.writeStringField(1,e.name||""),t.writeVarintField(5,e.extent||4096);var i={keys:[],values:[],keycache:{},valuecache:{}};for(o=0;o<e.length;o++)i.feature=e.feature(o),t.writeMessage(2,P,i);var r=i.keys;for(o=0;o<r.length;o++)t.writeStringField(3,r[o]);var n=i.values;for(o=0;o<n.length;o++)t.writeMessage(4,L,n[o])}function P(e,t){var o=e.feature;void 0!==o.id&&t.writeVarintField(1,o.id),t.writeMessage(2,T,e),t.writeVarintField(3,o.type),t.writeMessage(4,D,o)}function T(e,t){var o=e.feature,i=e.keys,r=e.values,n=e.keycache,s=e.valuecache;for(var a in o.properties){var l=o.properties[a],c=n[a];if(null!==l){void 0===c&&(i.push(a),n[a]=c=i.length-1),t.writeVarint(c);var u=typeof l;"string"!==u&&"boolean"!==u&&"number"!==u&&(l=JSON.stringify(l));var h=u+":"+l,p=s[h];void 0===p&&(r.push(l),s[h]=p=r.length-1),t.writeVarint(p)}}}function C(e,t){return(t<<3)+(7&e)}function _(e){return e<<1^e>>31}function D(e,t){for(var o=e.loadGeometry(),i=e.type,r=0,n=0,s=o.length,a=0;a<s;a++){var l=o[a],c=1;1===i&&(c=l.length),t.writeVarint(C(1,c));for(var u=3===i?l.length-1:l.length,h=0;h<u;h++){1===h&&1!==i&&t.writeVarint(C(2,u-1));var p=l[h].x-r,f=l[h].y-n;t.writeVarint(_(p)),t.writeVarint(_(f)),r+=p,n+=f}3===i&&t.writeVarint(C(7,1))}}function L(e,t){var o=typeof e;"string"===o?t.writeStringField(1,e):"boolean"===o?t.writeBooleanField(7,e):"number"===o&&(e%1!=0?t.writeDoubleField(3,e):e<0?t.writeSVarintField(6,e):t.writeVarintField(5,e))}function z(e,t,o,i,r,n){if(r-i<=o)return;const s=i+r>>1;O(e,t,s,i,r,n%2),z(e,t,o,i,s-1,n+1),z(e,t,o,s+1,r,n+1)}function O(e,t,o,i,r,n){for(;r>i;){if(r-i>600){const s=r-i+1,a=o-i+1,l=Math.log(s),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(s-c)/s)*(a-s/2<0?-1:1);O(e,t,o,Math.max(i,Math.floor(o-a*c/s+u)),Math.min(r,Math.floor(o+(s-a)*c/s+u)),n)}const s=t[2*o+n];let a=i,l=r;for(E(e,t,i,o),t[2*r+n]>s&&E(e,t,i,r);a<l;){for(E(e,t,a,l),a++,l--;t[2*a+n]<s;)a++;for(;t[2*l+n]>s;)l--}t[2*i+n]===s?E(e,t,i,l):(l++,E(e,t,l,r)),l<=o&&(i=l+1),o<=l&&(r=l-1)}}function E(e,t,o,i){F(e,o,i),F(t,2*o,2*i),F(t,2*o+1,2*i+1)}function F(e,t,o){const i=e[t];e[t]=e[o],e[o]=i}function N(e,t,o,i){const r=e-o,n=t-i;return r*r+n*n}m.exports=b,m.exports.fromVectorTileJs=b,m.exports.fromGeojsonVt=function(e,t){t=t||{};var o={};for(var i in e)o[i]=new I(e[i].features,t),o[i].name=i,o[i].version=t.version,o[i].extent=t.extent;return b({layers:o})},m.exports.GeoJSONWrapper=I;const A=e=>e[0],B=e=>e[1];class J{constructor(e,t=A,o=B,i=64,r=Float64Array){this.nodeSize=i,this.points=e;const n=e.length<65536?Uint16Array:Uint32Array,s=this.ids=new n(e.length),a=this.coords=new r(2*e.length);for(let i=0;i<e.length;i++)s[i]=i,a[2*i]=t(e[i]),a[2*i+1]=o(e[i]);z(s,a,i,0,s.length-1,0)}range(e,t,o,i){return function(e,t,o,i,r,n,s){const a=[0,e.length-1,0],l=[];let c,u;for(;a.length;){const h=a.pop(),p=a.pop(),f=a.pop();if(p-f<=s){for(let s=f;s<=p;s++)c=t[2*s],u=t[2*s+1],c>=o&&c<=r&&u>=i&&u<=n&&l.push(e[s]);continue}const d=Math.floor((f+p)/2);c=t[2*d],u=t[2*d+1],c>=o&&c<=r&&u>=i&&u<=n&&l.push(e[d]);const g=(h+1)%2;(0===h?o<=c:i<=u)&&(a.push(f),a.push(d-1),a.push(g)),(0===h?r>=c:n>=u)&&(a.push(d+1),a.push(p),a.push(g))}return l}(this.ids,this.coords,e,t,o,i,this.nodeSize)}within(e,t,o){return function(e,t,o,i,r,n){const s=[0,e.length-1,0],a=[],l=r*r;for(;s.length;){const c=s.pop(),u=s.pop(),h=s.pop();if(u-h<=n){for(let r=h;r<=u;r++)N(t[2*r],t[2*r+1],o,i)<=l&&a.push(e[r]);continue}const p=Math.floor((h+u)/2),f=t[2*p],d=t[2*p+1];N(f,d,o,i)<=l&&a.push(e[p]);const g=(c+1)%2;(0===c?o-r<=f:i-r<=d)&&(s.push(h),s.push(p-1),s.push(g)),(0===c?o+r>=f:i+r>=d)&&(s.push(p+1),s.push(u),s.push(g))}return a}(this.ids,this.coords,e,t,o,this.nodeSize)}}const Z={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},G=Math.fround||(j=new Float32Array(1),e=>(j[0]=+e,j[0]));var j;class Y{constructor(e){this.options=H(Object.create(Z),e),this.trees=new Array(this.options.maxZoom+1)}load(e){const{log:t,minZoom:o,maxZoom:i,nodeSize:r}=this.options;t&&console.time("total time");const n=`prepare ${e.length} points`;t&&console.time(n),this.points=e;let s=[];for(let t=0;t<e.length;t++)e[t].geometry&&s.push(X(e[t],t));this.trees[i+1]=new J(s,K,Q,r,Float32Array),t&&console.timeEnd(n);for(let e=i;e>=o;e--){const o=+Date.now();s=this._cluster(s,e),this.trees[e]=new J(s,K,Q,r,Float32Array),t&&console.log("z%d: %d clusters in %dms",e,s.length,+Date.now()-o)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let o=((e[0]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,e[1]));let r=180===e[2]?180:((e[2]+180)%360+360)%360-180;const n=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)o=-180,r=180;else if(o>r){const e=this.getClusters([o,i,180,n],t),s=this.getClusters([-180,i,r,n],t);return e.concat(s)}const s=this.trees[this._limitZoom(t)],a=s.range($(o),q(n),$(r),q(i)),l=[];for(const e of a){const t=s.points[e];l.push(t.numPoints?R(t):this.points[t.index])}return l}getChildren(e){const t=this._getOriginId(e),o=this._getOriginZoom(e),i="No cluster with the specified id.",r=this.trees[o];if(!r)throw new Error(i);const n=r.points[t];if(!n)throw new Error(i);const s=this.options.radius/(this.options.extent*Math.pow(2,o-1)),a=r.within(n.x,n.y,s),l=[];for(const t of a){const o=r.points[t];o.parentId===e&&l.push(o.numPoints?R(o):this.points[o.index])}if(0===l.length)throw new Error(i);return l}getLeaves(e,t,o){const i=[];return this._appendLeaves(i,e,t=t||10,o=o||0,0),i}getTile(e,t,o){const i=this.trees[this._limitZoom(e)],r=Math.pow(2,e),{extent:n,radius:s}=this.options,a=s/n,l=(o-a)/r,c=(o+1+a)/r,u={features:[]};return this._addTileFeatures(i.range((t-a)/r,l,(t+1+a)/r,c),i.points,t,o,r,u),0===t&&this._addTileFeatures(i.range(1-a/r,l,1,c),i.points,r,o,r,u),t===r-1&&this._addTileFeatures(i.range(0,l,a/r,c),i.points,-1,o,r,u),u.features.length?u:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const o=this.getChildren(e);if(t++,1!==o.length)break;e=o[0].properties.cluster_id}return t}_appendLeaves(e,t,o,i,r){const n=this.getChildren(t);for(const t of n){const n=t.properties;if(n&&n.cluster?r+n.point_count<=i?r+=n.point_count:r=this._appendLeaves(e,n.cluster_id,o,i,r):r<i?r++:e.push(t),e.length===o)break}return r}_addTileFeatures(e,t,o,i,r,n){for(const s of e){const e=t[s],a=e.numPoints;let l,c,u;if(a)l=W(e),c=e.x,u=e.y;else{const t=this.points[e.index];l=t.properties,c=$(t.geometry.coordinates[0]),u=q(t.geometry.coordinates[1])}const h={type:1,geometry:[[Math.round(this.options.extent*(c*r-o)),Math.round(this.options.extent*(u*r-i))]],tags:l};let p;a?p=e.id:this.options.generateId?p=e.index:this.points[e.index].id&&(p=this.points[e.index].id),void 0!==p&&(h.id=p),n.features.push(h)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){const o=[],{radius:i,extent:r,reduce:n,minPoints:s}=this.options,a=i/(r*Math.pow(2,t));for(let i=0;i<e.length;i++){const r=e[i];if(r.zoom<=t)continue;r.zoom=t;const l=this.trees[t+1],c=l.within(r.x,r.y,a),u=r.numPoints||1;let h=u;for(const e of c){const o=l.points[e];o.zoom>t&&(h+=o.numPoints||1)}if(h>u&&h>=s){let e=r.x*u,s=r.y*u,a=n&&u>1?this._map(r,!0):null;const p=(i<<5)+(t+1)+this.points.length;for(const o of c){const i=l.points[o];if(i.zoom<=t)continue;i.zoom=t;const c=i.numPoints||1;e+=i.x*c,s+=i.y*c,i.parentId=p,n&&(a||(a=this._map(r,!0)),n(a,this._map(i)))}r.parentId=p,o.push(V(e/h,s/h,p,h,a))}else if(o.push(r),h>1)for(const e of c){const i=l.points[e];i.zoom<=t||(i.zoom=t,o.push(i))}}return o}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t){if(e.numPoints)return t?H({},e.properties):e.properties;const o=this.points[e.index].properties,i=this.options.map(o);return t&&i===o?H({},i):i}}function V(e,t,o,i,r){return{x:G(e),y:G(t),zoom:1/0,id:o,parentId:-1,numPoints:i,properties:r}}function X(e,t){const[o,i]=e.geometry.coordinates;return{x:G($(o)),y:G(q(i)),zoom:1/0,index:t,parentId:-1}}function R(e){return{type:"Feature",id:e.id,properties:W(e),geometry:{type:"Point",coordinates:[(t=e.x,360*(t-.5)),U(e.y)]}};var t}function W(e){const t=e.numPoints,o=t>=1e4?`${Math.round(t/1e3)}k`:t>=1e3?Math.round(t/100)/10+"k":t;return H(H({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:o})}function $(e){return e/360+.5}function q(e){const t=Math.sin(e*Math.PI/180),o=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return o<0?0:o>1?1:o}function U(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function H(e,t){for(const o in t)e[o]=t[o];return e}function K(e){return e.x}function Q(e){return e.y}function ee(e,t,o,i){for(var r,n=i,s=o-t>>1,a=o-t,l=e[t],c=e[t+1],u=e[o],h=e[o+1],p=t+3;p<o;p+=3){var f=te(e[p],e[p+1],l,c,u,h);if(f>n)r=p,n=f;else if(f===n){var d=Math.abs(p-s);d<a&&(r=p,a=d)}}n>i&&(r-t>3&&ee(e,t,r,i),e[r+2]=n,o-r>3&&ee(e,r,o,i))}function te(e,t,o,i,r,n){var s=r-o,a=n-i;if(0!==s||0!==a){var l=((e-o)*s+(t-i)*a)/(s*s+a*a);l>1?(o=r,i=n):l>0&&(o+=s*l,i+=a*l)}return(s=e-o)*s+(a=t-i)*a}function oe(e,t,o,i){var r={id:void 0===e?null:e,type:t,geometry:o,tags:i,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(e){var t=e.geometry,o=e.type;if("Point"===o||"MultiPoint"===o||"LineString"===o)ie(e,t);else if("Polygon"===o||"MultiLineString"===o)for(var i=0;i<t.length;i++)ie(e,t[i]);else if("MultiPolygon"===o)for(i=0;i<t.length;i++)for(var r=0;r<t[i].length;r++)ie(e,t[i][r])}(r),r}function ie(e,t){for(var o=0;o<t.length;o+=3)e.minX=Math.min(e.minX,t[o]),e.minY=Math.min(e.minY,t[o+1]),e.maxX=Math.max(e.maxX,t[o]),e.maxY=Math.max(e.maxY,t[o+1])}function re(e,t,o,i){if(t.geometry){var r=t.geometry.coordinates,n=t.geometry.type,s=Math.pow(o.tolerance/((1<<o.maxZoom)*o.extent),2),a=[],l=t.id;if(o.promoteId?l=t.properties[o.promoteId]:o.generateId&&(l=i||0),"Point"===n)ne(r,a);else if("MultiPoint"===n)for(var c=0;c<r.length;c++)ne(r[c],a);else if("LineString"===n)se(r,a,s,!1);else if("MultiLineString"===n){if(o.lineMetrics){for(c=0;c<r.length;c++)se(r[c],a=[],s,!1),e.push(oe(l,"LineString",a,t.properties));return}ae(r,a,s,!1)}else if("Polygon"===n)ae(r,a,s,!0);else{if("MultiPolygon"!==n){if("GeometryCollection"===n){for(c=0;c<t.geometry.geometries.length;c++)re(e,{id:l,geometry:t.geometry.geometries[c],properties:t.properties},o,i);return}throw new Error("Input data is not a valid GeoJSON object.")}for(c=0;c<r.length;c++){var u=[];ae(r[c],u,s,!0),a.push(u)}}e.push(oe(l,n,a,t.properties))}}function ne(e,t){t.push(le(e[0])),t.push(ce(e[1])),t.push(0)}function se(e,t,o,i){for(var r,n,s=0,a=0;a<e.length;a++){var l=le(e[a][0]),c=ce(e[a][1]);t.push(l),t.push(c),t.push(0),a>0&&(s+=i?(r*c-l*n)/2:Math.sqrt(Math.pow(l-r,2)+Math.pow(c-n,2))),r=l,n=c}var u=t.length-3;t[2]=1,ee(t,0,u,o),t[u+2]=1,t.size=Math.abs(s),t.start=0,t.end=t.size}function ae(e,t,o,i){for(var r=0;r<e.length;r++){var n=[];se(e[r],n,o,i),t.push(n)}}function le(e){return e/360+.5}function ce(e){var t=Math.sin(e*Math.PI/180),o=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return o<0?0:o>1?1:o}function ue(e,t,o,i,r,n,s,a){if(i/=t,n>=(o/=t)&&s<i)return e;if(s<o||n>=i)return null;for(var l=[],c=0;c<e.length;c++){var u=e[c],h=u.geometry,p=u.type,f=0===r?u.minX:u.minY,d=0===r?u.maxX:u.maxY;if(f>=o&&d<i)l.push(u);else if(!(d<o||f>=i)){var g=[];if("Point"===p||"MultiPoint"===p)he(h,g,o,i,r);else if("LineString"===p)pe(h,g,o,i,r,!1,a.lineMetrics);else if("MultiLineString"===p)de(h,g,o,i,r,!1);else if("Polygon"===p)de(h,g,o,i,r,!0);else if("MultiPolygon"===p)for(var m=0;m<h.length;m++){var y=[];de(h[m],y,o,i,r,!0),y.length&&g.push(y)}if(g.length){if(a.lineMetrics&&"LineString"===p){for(m=0;m<g.length;m++)l.push(oe(u.id,p,g[m],u.tags));continue}"LineString"!==p&&"MultiLineString"!==p||(1===g.length?(p="LineString",g=g[0]):p="MultiLineString"),"Point"!==p&&"MultiPoint"!==p||(p=3===g.length?"Point":"MultiPoint"),l.push(oe(u.id,p,g,u.tags))}}}return l.length?l:null}function he(e,t,o,i,r){for(var n=0;n<e.length;n+=3){var s=e[n+r];s>=o&&s<=i&&(t.push(e[n]),t.push(e[n+1]),t.push(e[n+2]))}}function pe(e,t,o,i,r,n,s){for(var a,l,c=fe(e),u=0===r?me:ye,h=e.start,p=0;p<e.length-3;p+=3){var f=e[p],d=e[p+1],g=e[p+2],m=e[p+3],y=e[p+4],v=0===r?f:d,x=0===r?m:y,w=!1;s&&(a=Math.sqrt(Math.pow(f-m,2)+Math.pow(d-y,2))),v<o?x>o&&(l=u(c,f,d,m,y,o),s&&(c.start=h+a*l)):v>i?x<i&&(l=u(c,f,d,m,y,i),s&&(c.start=h+a*l)):ge(c,f,d,g),x<o&&v>=o&&(l=u(c,f,d,m,y,o),w=!0),x>i&&v<=i&&(l=u(c,f,d,m,y,i),w=!0),!n&&w&&(s&&(c.end=h+a*l),t.push(c),c=fe(e)),s&&(h+=a)}var S=e.length-3;f=e[S],d=e[S+1],g=e[S+2],(v=0===r?f:d)>=o&&v<=i&&ge(c,f,d,g),S=c.length-3,n&&S>=3&&(c[S]!==c[0]||c[S+1]!==c[1])&&ge(c,c[0],c[1],c[2]),c.length&&t.push(c)}function fe(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function de(e,t,o,i,r,n){for(var s=0;s<e.length;s++)pe(e[s],t,o,i,r,n,!1)}function ge(e,t,o,i){e.push(t),e.push(o),e.push(i)}function me(e,t,o,i,r,n){var s=(n-t)/(i-t);return e.push(n),e.push(o+(r-o)*s),e.push(1),s}function ye(e,t,o,i,r,n){var s=(n-o)/(r-o);return e.push(t+(i-t)*s),e.push(n),e.push(1),s}function ve(e,t){for(var o=[],i=0;i<e.length;i++){var r,n=e[i],s=n.type;if("Point"===s||"MultiPoint"===s||"LineString"===s)r=xe(n.geometry,t);else if("MultiLineString"===s||"Polygon"===s){r=[];for(var a=0;a<n.geometry.length;a++)r.push(xe(n.geometry[a],t))}else if("MultiPolygon"===s)for(r=[],a=0;a<n.geometry.length;a++){for(var l=[],c=0;c<n.geometry[a].length;c++)l.push(xe(n.geometry[a][c],t));r.push(l)}o.push(oe(n.id,s,r,n.tags))}return o}function xe(e,t){var o=[];o.size=e.size,void 0!==e.start&&(o.start=e.start,o.end=e.end);for(var i=0;i<e.length;i+=3)o.push(e[i]+t,e[i+1],e[i+2]);return o}function we(e,t){if(e.transformed)return e;var o,i,r,n=1<<e.z,s=e.x,a=e.y;for(o=0;o<e.features.length;o++){var l=e.features[o],c=l.geometry,u=l.type;if(l.geometry=[],1===u)for(i=0;i<c.length;i+=2)l.geometry.push(Se(c[i],c[i+1],t,n,s,a));else for(i=0;i<c.length;i++){var h=[];for(r=0;r<c[i].length;r+=2)h.push(Se(c[i][r],c[i][r+1],t,n,s,a));l.geometry.push(h)}}return e.transformed=!0,e}function Se(e,t,o,i,r,n){return[Math.round(o*(e*i-r)),Math.round(o*(t*i-n))]}function Me(e,t,o,i,r){for(var n=t===r.maxZoom?0:r.tolerance/((1<<t)*r.extent),s={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:o,y:i,z:t,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},a=0;a<e.length;a++){s.numFeatures++,Ie(s,e[a],n,r);var l=e[a].minX,c=e[a].minY,u=e[a].maxX,h=e[a].maxY;l<s.minX&&(s.minX=l),c<s.minY&&(s.minY=c),u>s.maxX&&(s.maxX=u),h>s.maxY&&(s.maxY=h)}return s}function Ie(e,t,o,i){var r=t.geometry,n=t.type,s=[];if("Point"===n||"MultiPoint"===n)for(var a=0;a<r.length;a+=3)s.push(r[a]),s.push(r[a+1]),e.numPoints++,e.numSimplified++;else if("LineString"===n)be(s,r,e,o,!1,!1);else if("MultiLineString"===n||"Polygon"===n)for(a=0;a<r.length;a++)be(s,r[a],e,o,"Polygon"===n,0===a);else if("MultiPolygon"===n)for(var l=0;l<r.length;l++){var c=r[l];for(a=0;a<c.length;a++)be(s,c[a],e,o,!0,0===a)}if(s.length){var u=t.tags||null;if("LineString"===n&&i.lineMetrics){for(var h in u={},t.tags)u[h]=t.tags[h];u.mapbox_clip_start=r.start/r.size,u.mapbox_clip_end=r.end/r.size}var p={geometry:s,type:"Polygon"===n||"MultiPolygon"===n?3:"LineString"===n||"MultiLineString"===n?2:1,tags:u};null!==t.id&&(p.id=t.id),e.features.push(p)}}function be(e,t,o,i,r,n){var s=i*i;if(i>0&&t.size<(r?s:i))o.numPoints+=t.length/3;else{for(var a=[],l=0;l<t.length;l+=3)(0===i||t[l+2]>s)&&(o.numSimplified++,a.push(t[l]),a.push(t[l+1])),o.numPoints++;r&&function(e,t){for(var o=0,i=0,r=e.length,n=r-2;i<r;n=i,i+=2)o+=(e[i]-e[n])*(e[i+1]+e[n+1]);if(o>0===t)for(i=0,r=e.length;i<r/2;i+=2){var s=e[i],a=e[i+1];e[i]=e[r-2-i],e[i+1]=e[r-1-i],e[r-2-i]=s,e[r-1-i]=a}}(a,n),e.push(a)}}function ke(e,t){var o=(t=this.options=function(e,t){for(var o in t)e[o]=t[o];return e}(Object.create(this.options),t)).debug;if(o&&console.time("preprocess data"),t.maxZoom<0||t.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw new Error("promoteId and generateId cannot be used together.");var i=function(e,t){var o=[];if("FeatureCollection"===e.type)for(var i=0;i<e.features.length;i++)re(o,e.features[i],t,i);else re(o,"Feature"===e.type?e:{geometry:e},t);return o}(e,t);this.tiles={},this.tileCoords=[],o&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",t.indexMaxZoom,t.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),i=function(e,t){var o=t.buffer/t.extent,i=e,r=ue(e,1,-1-o,o,0,-1,2,t),n=ue(e,1,1-o,2+o,0,-1,2,t);return(r||n)&&(i=ue(e,1,-o,1+o,0,-1,2,t)||[],r&&(i=ve(r,1).concat(i)),n&&(i=i.concat(ve(n,-1)))),i}(i,t),i.length&&this.splitTile(i,0,0,0),o&&(i.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function Pe(e,t,o){return 32*((1<<e)*o+t)+e}function Te(e,t){const o=e.tileID.canonical;if(!this._geoJSONIndex)return t(null,null);const i=this._geoJSONIndex.getTile(o.z,o.x,o.y);if(!i)return t(null,null);const r=new g(i.features);let n=m.exports(r);0===n.byteOffset&&n.byteLength===n.buffer.byteLength||(n=new Uint8Array(n)),t(null,{vectorTile:r,rawData:n.buffer})}ke.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},ke.prototype.splitTile=function(e,t,o,i,r,n,s){for(var a=[e,t,o,i],l=this.options,c=l.debug;a.length;){i=a.pop(),o=a.pop(),t=a.pop(),e=a.pop();var u=1<<t,h=Pe(t,o,i),p=this.tiles[h];if(!p&&(c>1&&console.time("creation"),p=this.tiles[h]=Me(e,t,o,i,l),this.tileCoords.push({z:t,x:o,y:i}),c)){c>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,o,i,p.numFeatures,p.numPoints,p.numSimplified),console.timeEnd("creation"));var f="z"+t;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(p.source=e,r){if(t===l.maxZoom||t===r)continue;var d=1<<r-t;if(o!==Math.floor(n/d)||i!==Math.floor(s/d))continue}else if(t===l.indexMaxZoom||p.numPoints<=l.indexMaxPoints)continue;if(p.source=null,0!==e.length){c>1&&console.time("clipping");var g,m,y,v,x,w,S=.5*l.buffer/l.extent,M=.5-S,I=.5+S,b=1+S;g=m=y=v=null,x=ue(e,u,o-S,o+I,0,p.minX,p.maxX,l),w=ue(e,u,o+M,o+b,0,p.minX,p.maxX,l),e=null,x&&(g=ue(x,u,i-S,i+I,1,p.minY,p.maxY,l),m=ue(x,u,i+M,i+b,1,p.minY,p.maxY,l),x=null),w&&(y=ue(w,u,i-S,i+I,1,p.minY,p.maxY,l),v=ue(w,u,i+M,i+b,1,p.minY,p.maxY,l),w=null),c>1&&console.timeEnd("clipping"),a.push(g||[],t+1,2*o,2*i),a.push(m||[],t+1,2*o,2*i+1),a.push(y||[],t+1,2*o+1,2*i),a.push(v||[],t+1,2*o+1,2*i+1)}}},ke.prototype.getTile=function(e,t,o){var i=this.options,r=i.extent,n=i.debug;if(e<0||e>24)return null;var s=1<<e,a=Pe(e,t=(t%s+s)%s,o);if(this.tiles[a])return we(this.tiles[a],r);n>1&&console.log("drilling down to z%d-%d-%d",e,t,o);for(var l,c=e,u=t,h=o;!l&&c>0;)c--,u=Math.floor(u/2),h=Math.floor(h/2),l=this.tiles[Pe(c,u,h)];return l&&l.source?(n>1&&console.log("found parent tile z%d-%d-%d",c,u,h),n>1&&console.time("drilling down"),this.splitTile(l.source,c,u,h,e,t,o),n>1&&console.timeEnd("drilling down"),this.tiles[a]?we(this.tiles[a],r):null):null};class Ce extends l{constructor(e,t,o,i){super(e,t,o,Te),i&&(this.loadGeoJSON=i)}loadData(t,o){var i;null===(i=this._pendingRequest)||void 0===i||i.cancel(),this._pendingCallback&&this._pendingCallback(null,{abandoned:!0});const r=!!(t&&t.request&&t.request.collectResourceTiming)&&new e.RequestPerformance(t.request);this._pendingCallback=o,this._pendingRequest=this.loadGeoJSON(t,((i,n)=>{if(delete this._pendingCallback,delete this._pendingRequest,i||!n)return o(i);if("object"!=typeof n)return o(new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`));{u(n,!0);try{if(t.filter){const o=e.createExpression(t.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===o.result)throw new Error(o.value.map((e=>`${e.key}: ${e.message}`)).join(", "));const i=n.features.filter((e=>o.value.evaluate({zoom:0},e)));n={type:"FeatureCollection",features:i}}this._geoJSONIndex=t.cluster?new Y(function({superclusterOptions:t,clusterProperties:o}){if(!o||!t)return t;const i={},r={},n={accumulated:null,zoom:0},s={properties:null},a=Object.keys(o);for(const t of a){const[n,s]=o[t],a=e.createExpression(s),l=e.createExpression("string"==typeof n?[n,["accumulated"],["get",t]]:n);i[t]=a.value,r[t]=l.value}return t.map=e=>{s.properties=e;const t={};for(const e of a)t[e]=i[e].evaluate(n,s);return t},t.reduce=(e,t)=>{s.properties=t;for(const t of a)n.accumulated=e[t],e[t]=r[t].evaluate(n,s)},t}(t)).load(n.features):function(e,t){return new ke(e,t)}(n,t.geojsonVtOptions)}catch(i){return o(i)}this.loaded={};const s={};if(r){const e=r.finish();e&&(s.resourceTiming={},s.resourceTiming[t.source]=JSON.parse(JSON.stringify(e)))}o(null,s)}}))}reloadTile(e,t){const o=this.loaded;return o&&o[e.uid]?super.reloadTile(e,t):this.loadTile(e,t)}loadGeoJSON(t,o){if(t.request)return e.getJSON(t.request,o);if("string"==typeof t.data)try{o(null,JSON.parse(t.data))}catch(e){o(new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`))}else o(new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`));return{cancel:()=>{}}}removeSource(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),t()}getClusterExpansionZoom(e,t){try{t(null,this._geoJSONIndex.getClusterExpansionZoom(e.clusterId))}catch(e){t(e)}}getClusterChildren(e,t){try{t(null,this._geoJSONIndex.getChildren(e.clusterId))}catch(e){t(e)}}getClusterLeaves(e,t){try{t(null,this._geoJSONIndex.getLeaves(e.clusterId,e.limit,e.offset))}catch(e){t(e)}}}class _e{constructor(t){this.self=t,this.actor=new e.Actor(t,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:l,geojson:Ce},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=(e,t)=>{if(this.workerSourceTypes[e])throw new Error(`Worker source with name "${e}" already registered.`);this.workerSourceTypes[e]=t},this.self.registerRTLTextPlugin=t=>{if(e.plugin.isParsed())throw new Error("RTL text plugin already registered.");e.plugin.applyArabicShaping=t.applyArabicShaping,e.plugin.processBidirectionalText=t.processBidirectionalText,e.plugin.processStyledBidirectionalText=t.processStyledBidirectionalText}}setReferrer(e,t){this.referrer=t}setImages(e,t,o){this.availableImages[e]=t;for(const o in this.workerSources[e]){const i=this.workerSources[e][o];for(const e in i)i[e].availableImages=t}o()}setLayers(e,t,o){this.getLayerIndex(e).replace(t),o()}updateLayers(e,t,o){this.getLayerIndex(e).update(t.layers,t.removedIds),o()}loadTile(e,t,o){this.getWorkerSource(e,t.type,t.source).loadTile(t,o)}loadDEMTile(e,t,o){this.getDEMWorkerSource(e,t.source).loadTile(t,o)}reloadTile(e,t,o){this.getWorkerSource(e,t.type,t.source).reloadTile(t,o)}abortTile(e,t,o){this.getWorkerSource(e,t.type,t.source).abortTile(t,o)}removeTile(e,t,o){this.getWorkerSource(e,t.type,t.source).removeTile(t,o)}removeDEMTile(e,t){this.getDEMWorkerSource(e,t.source).removeTile(t)}removeSource(e,t,o){if(!this.workerSources[e]||!this.workerSources[e][t.type]||!this.workerSources[e][t.type][t.source])return;const i=this.workerSources[e][t.type][t.source];delete this.workerSources[e][t.type][t.source],void 0!==i.removeSource?i.removeSource(t,o):o()}loadWorkerSource(e,t,o){try{this.self.importScripts(t.url),o()}catch(e){o(e.toString())}}syncRTLPluginState(t,o,i){try{e.plugin.setState(o);const t=e.plugin.getPluginURL();if(e.plugin.isLoaded()&&!e.plugin.isParsed()&&null!=t){this.self.importScripts(t);const o=e.plugin.isParsed();i(o?void 0:new Error(`RTL Text Plugin failed to import scripts from ${t}`),o)}}catch(e){i(e.toString())}}getAvailableImages(e){let t=this.availableImages[e];return t||(t=[]),t}getLayerIndex(e){let t=this.layerIndexes[e];return t||(t=this.layerIndexes[e]=new i),t}getWorkerSource(e,t,o){if(this.workerSources[e]||(this.workerSources[e]={}),this.workerSources[e][t]||(this.workerSources[e][t]={}),!this.workerSources[e][t][o]){const i={send:(t,o,i)=>{this.actor.send(t,o,i,e)}};this.workerSources[e][t][o]=new this.workerSourceTypes[t](i,this.getLayerIndex(e),this.getAvailableImages(e))}return this.workerSources[e][t][o]}getDEMWorkerSource(e,t){return this.demWorkerSources[e]||(this.demWorkerSources[e]={}),this.demWorkerSources[e][t]||(this.demWorkerSources[e][t]=new c),this.demWorkerSources[e][t]}enforceCacheSizeLimit(t,o){e.enforceCacheSizeLimit(o)}}return e.isWorker()&&(self.worker=new _e(self)),_e})),define(["./shared"],(function(t){var e=i;function i(t){return!function(t){return"undefined"==typeof window||"undefined"==typeof document?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var t,e,i=new Blob([""],{type:"text/javascript"}),o=URL.createObjectURL(i);try{e=new Worker(o),t=!0}catch(e){t=!1}return e&&e.terminate(),URL.revokeObjectURL(o),t}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var t=document.createElement("canvas");t.width=t.height=1;var e=t.getContext("2d");if(!e)return!1;var i=e.getImageData(0,0,1,1);return i&&i.width===t.width}()?(void 0===o[e=t&&t.failIfMajorPerformanceCaveat]&&(o[e]=function(t){var e,o=function(t){var e=document.createElement("canvas"),o=Object.create(i.webGLContextAttributes);return o.failIfMajorPerformanceCaveat=t,e.getContext("webgl",o)||e.getContext("experimental-webgl",o)}(t);if(!o)return!1;try{e=o.createShader(o.VERTEX_SHADER)}catch(t){return!1}return!(!e||o.isContextLost())&&(o.shaderSource(e,"void main() {}"),o.compileShader(e),!0===o.getShaderParameter(e,o.COMPILE_STATUS))}(e)),o[e]?document.documentMode?"insufficient ECMAScript 6 support":void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var e}(t)}var o={};function a(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(!a(t[i],e[i]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==e){if("object"!=typeof e)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const i in t)if(!a(t[i],e[i]))return!1;return!0}return t===e}i.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0};class r{static testProp(t){if(!r.docStyle)return t[0];for(let e=0;e<t.length;e++)if(t[e]in r.docStyle)return t[e];return t[0]}static create(t,e,i){const o=window.document.createElement(t);return void 0!==e&&(o.className=e),i&&i.appendChild(o),o}static createNS(t,e){return window.document.createElementNS(t,e)}static disableDrag(){r.docStyle&&r.selectProp&&(r.userSelect=r.docStyle[r.selectProp],r.docStyle[r.selectProp]="none")}static enableDrag(){r.docStyle&&r.selectProp&&(r.docStyle[r.selectProp]=r.userSelect)}static setTransform(t,e){t.style[r.transformProp]=e}static addEventListener(t,e,i,o={}){t.addEventListener(e,i,"passive"in o?o:o.capture)}static removeEventListener(t,e,i,o={}){t.removeEventListener(e,i,"passive"in o?o:o.capture)}static suppressClickInternal(t){t.preventDefault(),t.stopPropagation(),window.removeEventListener("click",r.suppressClickInternal,!0)}static suppressClick(){window.addEventListener("click",r.suppressClickInternal,!0),window.setTimeout((()=>{window.removeEventListener("click",r.suppressClickInternal,!0)}),0)}static mousePos(e,i){const o=e.getBoundingClientRect();return new t.pointGeometry(i.clientX-o.left-e.clientLeft,i.clientY-o.top-e.clientTop)}static touchPos(e,i){const o=e.getBoundingClientRect(),a=[];for(let r=0;r<i.length;r++)a.push(new t.pointGeometry(i[r].clientX-o.left-e.clientLeft,i[r].clientY-o.top-e.clientTop));return a}static mouseButton(t){return t.button}static remove(t){t.parentNode&&t.parentNode.removeChild(t)}}r.docStyle="undefined"!=typeof window&&window.document&&window.document.documentElement.style,r.selectProp=r.testProp(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]),r.transformProp=r.testProp(["transform","WebkitTransform"]);class s{constructor(t){this._transformRequestFn=t}transformRequest(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}}normalizeSpriteURL(t,e,i){const o=function(t){const e=t.match(n);if(!e)throw new Error(`Unable to parse URL "${t}"`);return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}(t);return o.path+=`${e}${i}`,function(t){const e=t.params.length?`?${t.params.join("&")}`:"";return`${t.protocol}://${t.authority}${t.path}${e}`}(o)}setTransformRequest(t){this._transformRequestFn=t}}const n=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;class l{constructor(t,e,i,o){this.context=t,this.format=i,this.texture=t.gl.createTexture(),this.update(e,o)}update(e,i,o){const{width:a,height:r}=e,s=!(this.size&&this.size[0]===a&&this.size[1]===r||o),{context:n}=this,{gl:l}=n;if(this.useMipmap=Boolean(i&&i.useMipmap),l.bindTexture(l.TEXTURE_2D,this.texture),n.pixelStoreUnpackFlipY.set(!1),n.pixelStoreUnpack.set(1),n.pixelStoreUnpackPremultiplyAlpha.set(this.format===l.RGBA&&(!i||!1!==i.premultiply)),s)this.size=[a,r],e instanceof HTMLImageElement||e instanceof HTMLCanvasElement||e instanceof HTMLVideoElement||e instanceof ImageData||t.isImageBitmap(e)?l.texImage2D(l.TEXTURE_2D,0,this.format,this.format,l.UNSIGNED_BYTE,e):l.texImage2D(l.TEXTURE_2D,0,this.format,a,r,0,this.format,l.UNSIGNED_BYTE,e.data);else{const{x:i,y:s}=o||{x:0,y:0};e instanceof HTMLImageElement||e instanceof HTMLCanvasElement||e instanceof HTMLVideoElement||e instanceof ImageData||t.isImageBitmap(e)?l.texSubImage2D(l.TEXTURE_2D,0,i,s,l.RGBA,l.UNSIGNED_BYTE,e):l.texSubImage2D(l.TEXTURE_2D,0,i,s,a,r,l.RGBA,l.UNSIGNED_BYTE,e.data)}this.useMipmap&&this.isSizePowerOfTwo()&&l.generateMipmap(l.TEXTURE_2D)}bind(t,e,i){const{context:o}=this,{gl:a}=o;a.bindTexture(a.TEXTURE_2D,this.texture),i!==a.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(i=a.LINEAR),t!==this.filter&&(a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,t),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,i||t),this.filter=t),e!==this.wrap&&(a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,e),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,e),this.wrap=e)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){const{gl:t}=this.context;t.deleteTexture(this.texture),this.texture=null}}function c(t){const{userImage:e}=t;return!!(e&&e.render&&e.render())&&(t.data.replace(new Uint8Array(e.data.buffer)),!0)}class h extends t.Evented{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(t){if(this.loaded!==t&&(this.loaded=t,t)){for(const{ids:t,callback:e}of this.requestors)this._notify(t,e);this.requestors=[]}}getImage(t){return this.images[t]}addImage(t,e){if(this.images[t])throw new Error(`Image id ${t} already exist, use updateImage instead`);this._validate(t,e)&&(this.images[t]=e)}_validate(e,i){let o=!0;return this._validateStretch(i.stretchX,i.data&&i.data.width)||(this.fire(new t.ErrorEvent(new Error(`Image "${e}" has invalid "stretchX" value`))),o=!1),this._validateStretch(i.stretchY,i.data&&i.data.height)||(this.fire(new t.ErrorEvent(new Error(`Image "${e}" has invalid "stretchY" value`))),o=!1),this._validateContent(i.content,i)||(this.fire(new t.ErrorEvent(new Error(`Image "${e}" has invalid "content" value`))),o=!1),o}_validateStretch(t,e){if(!t)return!0;let i=0;for(const o of t){if(o[0]<i||o[1]<o[0]||e<o[1])return!1;i=o[1]}return!0}_validateContent(t,e){return!(t&&(4!==t.length||t[0]<0||e.data.width<t[0]||t[1]<0||e.data.height<t[1]||t[2]<0||e.data.width<t[2]||t[3]<0||e.data.height<t[3]||t[2]<t[0]||t[3]<t[1]))}updateImage(t,e){const i=this.images[t];if(i.data.width!==e.data.width||i.data.height!==e.data.height)throw new Error(`size mismatch between old image (${i.data.width}x${i.data.height}) and new image (${e.data.width}x${e.data.height}).`);e.version=i.version+1,this.images[t]=e,this.updatedImages[t]=!0}removeImage(t){const e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove()}listImages(){return Object.keys(this.images)}getImages(t,e){let i=!0;if(!this.isLoaded())for(const e of t)this.images[e]||(i=!1);this.isLoaded()||i?this._notify(t,e):this.requestors.push({ids:t,callback:e})}_notify(e,i){const o={};for(const i of e){this.images[i]||this.fire(new t.Event("styleimagemissing",{id:i}));const e=this.images[i];e?o[i]={data:e.data.clone(),pixelRatio:e.pixelRatio,sdf:e.sdf,version:e.version,stretchX:e.stretchX,stretchY:e.stretchY,content:e.content,hasRenderCallback:Boolean(e.userImage&&e.userImage.render)}:t.warnOnce(`Image "${i}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`)}i(null,o)}getPixelSize(){const{width:t,height:e}=this.atlasImage;return{width:t,height:e}}getPattern(e){const i=this.patterns[e],o=this.getImage(e);if(!o)return null;if(i&&i.position.version===o.version)return i.position;if(i)i.position.version=o.version;else{const i={w:o.data.width+2,h:o.data.height+2,x:0,y:0},a=new t.ImagePosition(i,o);this.patterns[e]={bin:i,position:a}}return this._updatePatternAtlas(),this.patterns[e].position}bind(t){const e=t.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new l(t,this.atlasImage,e.RGBA),this.atlasTexture.bind(e.LINEAR,e.CLAMP_TO_EDGE)}_updatePatternAtlas(){const e=[];for(const t in this.patterns)e.push(this.patterns[t].bin);const{w:i,h:o}=t.potpack(e),a=this.atlasImage;a.resize({width:i||1,height:o||1});for(const e in this.patterns){const{bin:i}=this.patterns[e],o=i.x+1,r=i.y+1,s=this.images[e].data,n=s.width,l=s.height;t.RGBAImage.copy(s,a,{x:0,y:0},{x:o,y:r},{width:n,height:l}),t.RGBAImage.copy(s,a,{x:0,y:l-1},{x:o,y:r-1},{width:n,height:1}),t.RGBAImage.copy(s,a,{x:0,y:0},{x:o,y:r+l},{width:n,height:1}),t.RGBAImage.copy(s,a,{x:n-1,y:0},{x:o-1,y:r},{width:1,height:l}),t.RGBAImage.copy(s,a,{x:0,y:0},{x:o+n,y:r},{width:1,height:l})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}dispatchRenderCallbacks(e){for(const i of e){if(this.callbackDispatchedThisFrame[i])continue;this.callbackDispatchedThisFrame[i]=!0;const e=this.images[i];e||t.warnOnce(`Image with ID: "${i}" was not found`),c(e)&&this.updateImage(i,e)}}}const u=1e20;function d(t,e,i,o,a,r,s,n,l){for(let c=e;c<e+o;c++)m(t,i*r+c,r,a,s,n,l);for(let c=i;c<i+a;c++)m(t,c*r+e,1,o,s,n,l)}function m(t,e,i,o,a,r,s){r[0]=0,s[0]=-u,s[1]=u,a[0]=t[e];for(let n=1,l=0,c=0;n<o;n++){a[n]=t[e+n*i];const o=n*n;do{const t=r[l];c=(a[n]-a[t]+o-t*t)/(n-t)/2}while(c<=s[l]&&--l>-1);l++,r[l]=n,s[l]=c,s[l+1]=u}for(let n=0,l=0;n<o;n++){for(;s[l+1]<n;)l++;const o=r[l],c=n-o;t[e+n*i]=a[o]+c*c}}class _{constructor(t,e){this.requestManager=t,this.localIdeographFontFamily=e,this.entries={}}setURL(t){this.url=t}getGlyphs(e,i){const o=[];for(const t in e)for(const i of e[t])o.push({stack:t,id:i});t.asyncAll(o,(({stack:t,id:e},i)=>{let o=this.entries[t];o||(o=this.entries[t]={glyphs:{},requests:{},ranges:{}});let a=o.glyphs[e];if(void 0!==a)return void i(null,{stack:t,id:e,glyph:a});if(a=this._tinySDF(o,t,e),a)return o.glyphs[e]=a,void i(null,{stack:t,id:e,glyph:a});const r=Math.floor(e/256);if(256*r>65535)return void i(new Error("glyphs > 65535 not supported"));if(o.ranges[r])return void i(null,{stack:t,id:e,glyph:a});let s=o.requests[r];s||(s=o.requests[r]=[],_.loadGlyphRange(t,r,this.url,this.requestManager,((t,e)=>{if(e){for(const t in e)this._doesCharSupportLocalGlyph(+t)||(o.glyphs[+t]=e[+t]);o.ranges[r]=!0}for(const i of s)i(t,e);delete o.requests[r]}))),s.push(((o,a)=>{o?i(o):a&&i(null,{stack:t,id:e,glyph:a[e]||null})}))}),((t,e)=>{if(t)i(t);else if(e){const t={};for(const{stack:i,id:o,glyph:a}of e)(t[i]||(t[i]={}))[o]=a&&{id:a.id,bitmap:a.bitmap.clone(),metrics:a.metrics};i(null,t)}}))}_doesCharSupportLocalGlyph(e){return!!this.localIdeographFontFamily&&(t.unicodeBlockLookup["CJK Unified Ideographs"](e)||t.unicodeBlockLookup["Hangul Syllables"](e)||t.unicodeBlockLookup.Hiragana(e)||t.unicodeBlockLookup.Katakana(e))}_tinySDF(e,i,o){const a=this.localIdeographFontFamily;if(!a)return;if(!this._doesCharSupportLocalGlyph(o))return;let r=e.tinySDF;if(!r){let t="400";/bold/i.test(i)?t="900":/medium/i.test(i)?t="500":/light/i.test(i)&&(t="200"),r=e.tinySDF=new _.TinySDF({fontSize:24,buffer:3,radius:8,cutoff:.25,fontFamily:a,fontWeight:t})}const s=r.draw(String.fromCharCode(o));return{id:o,bitmap:new t.AlphaImage({width:s.width||30,height:s.height||30},s.data),metrics:{width:s.glyphWidth||24,height:s.glyphHeight||24,left:s.glyphLeft||0,top:s.glyphTop-27||-8,advance:s.glyphAdvance||24}}}}_.loadGlyphRange=function(e,i,o,a,r){const s=256*i,n=s+255,l=a.transformRequest(o.replace("{fontstack}",e).replace("{range}",`${s}-${n}`),t.ResourceType.Glyphs);t.getArrayBuffer(l,((e,i)=>{if(e)r(e);else if(i){const e={};for(const o of t.parseGlyphPbf(i))e[o.id]=o;r(null,e)}}))},_.TinySDF=class{constructor({fontSize:t=24,buffer:e=3,radius:i=8,cutoff:o=.25,fontFamily:a="sans-serif",fontWeight:r="normal",fontStyle:s="normal"}={}){this.buffer=e,this.cutoff=o,this.radius=i;const n=this.size=t+4*e,l=this._createCanvas(n),c=this.ctx=l.getContext("2d",{willReadFrequently:!0});c.font=`${s} ${r} ${t}px ${a}`,c.textBaseline="alphabetic",c.textAlign="left",c.fillStyle="black",this.gridOuter=new Float64Array(n*n),this.gridInner=new Float64Array(n*n),this.f=new Float64Array(n),this.z=new Float64Array(n+1),this.v=new Uint16Array(n)}_createCanvas(t){const e=document.createElement("canvas");return e.width=e.height=t,e}draw(t){const{width:e,actualBoundingBoxAscent:i,actualBoundingBoxDescent:o,actualBoundingBoxLeft:a,actualBoundingBoxRight:r}=this.ctx.measureText(t),s=Math.ceil(i),n=Math.min(this.size-this.buffer,Math.ceil(r-a)),l=Math.min(this.size-this.buffer,s+Math.ceil(o)),c=n+2*this.buffer,h=l+2*this.buffer,m=Math.max(c*h,0),_=new Uint8ClampedArray(m),p={data:_,width:c,height:h,glyphWidth:n,glyphHeight:l,glyphTop:s,glyphLeft:0,glyphAdvance:e};if(0===n||0===l)return p;const{ctx:f,buffer:g,gridInner:x,gridOuter:v}=this;f.clearRect(g,g,n,l),f.fillText(t,g,g+s);const y=f.getImageData(g,g,n,l);v.fill(u,0,m),x.fill(0,0,m);for(let t=0;t<l;t++)for(let e=0;e<n;e++){const i=y.data[4*(t*n+e)+3]/255;if(0===i)continue;const o=(t+g)*c+e+g;if(1===i)v[o]=0,x[o]=u;else{const t=.5-i;v[o]=t>0?t*t:0,x[o]=t<0?t*t:0}}d(v,0,0,c,h,c,this.f,this.v,this.z),d(x,g,g,n,l,c,this.f,this.v,this.z);for(let t=0;t<m;t++){const e=Math.sqrt(v[t])-Math.sqrt(x[t]);_[t]=Math.round(255-255*(e/this.radius+this.cutoff))}return p}};const p=new t.Properties({anchor:new t.DataConstantProperty(t.spec.light.anchor),position:new class{constructor(){this.specification=t.spec.light.position}possiblyEvaluate(e,i){return t.sphericalToCartesian(e.expression.evaluate(i))}interpolate(e,i,o){return{x:t.number(e.x,i.x,o),y:t.number(e.y,i.y,o),z:t.number(e.z,i.z,o)}}},color:new t.DataConstantProperty(t.spec.light.color),intensity:new t.DataConstantProperty(t.spec.light.intensity)}),f="-transition";class g extends t.Evented{constructor(e){super(),this._transitionable=new t.Transitionable(p),this.setLight(e),this._transitioning=this._transitionable.untransitioned()}getLight(){return this._transitionable.serialize()}setLight(e,i={}){if(!this._validate(t.validateLight,e,i))for(const t in e){const i=e[t];t.endsWith(f)?this._transitionable.setTransition(t.slice(0,-f.length),i):this._transitionable.setValue(t,i)}}updateTransitions(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)}hasTransition(){return this._transitioning.hasTransition()}recalculate(t){this.properties=this._transitioning.possiblyEvaluate(t)}_validate(e,i,o){return(!o||!1!==o.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:i,style:{glyphs:!0,sprite:!0},styleSpec:t.spec})))}}class x{constructor(t,e){this.width=t,this.height=e,this.nextRow=0,this.data=new Uint8Array(this.width*this.height),this.dashEntry={}}getDash(t,e){const i=t.join(",")+String(e);return this.dashEntry[i]||(this.dashEntry[i]=this.addDash(t,e)),this.dashEntry[i]}getDashRanges(t,e,i){const o=[];let a=t.length%2==1?-t[t.length-1]*i:0,r=t[0]*i,s=!0;o.push({left:a,right:r,isDash:s,zeroLength:0===t[0]});let n=t[0];for(let e=1;e<t.length;e++){s=!s;const l=t[e];a=n*i,n+=l,r=n*i,o.push({left:a,right:r,isDash:s,zeroLength:0===l})}return o}addRoundDash(t,e,i){const o=e/2;for(let e=-i;e<=i;e++){const a=this.width*(this.nextRow+i+e);let r=0,s=t[r];for(let n=0;n<this.width;n++){n/s.right>1&&(s=t[++r]);const l=Math.abs(n-s.left),c=Math.abs(n-s.right),h=Math.min(l,c);let u;const d=e/i*(o+1);if(s.isDash){const t=o-Math.abs(d);u=Math.sqrt(h*h+t*t)}else u=o-Math.sqrt(h*h+d*d);this.data[a+n]=Math.max(0,Math.min(255,u+128))}}}addRegularDash(t){for(let e=t.length-1;e>=0;--e){const i=t[e],o=t[e+1];i.zeroLength?t.splice(e,1):o&&o.isDash===i.isDash&&(o.left=i.left,t.splice(e,1))}const e=t[0],i=t[t.length-1];e.isDash===i.isDash&&(e.left=i.left-this.width,i.right=e.right+this.width);const o=this.width*this.nextRow;let a=0,r=t[a];for(let e=0;e<this.width;e++){e/r.right>1&&(r=t[++a]);const i=Math.abs(e-r.left),s=Math.abs(e-r.right),n=Math.min(i,s);this.data[o+e]=Math.max(0,Math.min(255,(r.isDash?n:-n)+128))}}addDash(e,i){const o=i?7:0,a=2*o+1;if(this.nextRow+a>this.height)return t.warnOnce("LineAtlas out of space"),null;let r=0;for(let t=0;t<e.length;t++)r+=e[t];if(0!==r){const t=this.width/r,a=this.getDashRanges(e,this.width,t);i?this.addRoundDash(a,t,o):this.addRegularDash(a)}const s={y:(this.nextRow+o+.5)/this.height,height:2*o/this.height,width:r};return this.nextRow+=a,this.dirty=!0,s}bind(t){const e=t.gl;this.texture?(e.bindTexture(e.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.width,this.height,e.ALPHA,e.UNSIGNED_BYTE,this.data))):(this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texImage2D(e.TEXTURE_2D,0,e.ALPHA,this.width,this.height,0,e.ALPHA,e.UNSIGNED_BYTE,this.data))}}class v{constructor(e,i){this.workerPool=e,this.actors=[],this.currentActor=0,this.id=t.uniqueId();const o=this.workerPool.acquire(this.id);for(let t=0;t<o.length;t++){const e=new v.Actor(o[t],i,this.id);e.name=`Worker ${t}`,this.actors.push(e)}if(!this.actors.length)throw new Error("No actors found")}broadcast(e,i,o){t.asyncAll(this.actors,((t,o)=>{t.send(e,i,o)}),o=o||function(){})}getActor(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]}remove(){this.actors.forEach((t=>{t.remove()})),this.actors=[],this.workerPool.release(this.id)}}function y(e,i,o){const a=function(i,a){if(i)return o(i);if(a){const i=t.pick(t.extend(a,e),["tiles","minzoom","maxzoom","attribution","bounds","scheme","tileSize","encoding"]);a.vector_layers&&(i.vectorLayers=a.vector_layers,i.vectorLayerIds=i.vectorLayers.map((t=>t.id))),o(null,i)}};return e.url?t.getJSON(i.transformRequest(e.url,t.ResourceType.Source),a):t.exported.frame((()=>a(null,e)))}v.Actor=t.Actor;class b{constructor(e,i,o){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=i||0,this.maxzoom=o||24}validateBounds(t){return Array.isArray(t)&&4===t.length?[Math.max(-180,t[0]),Math.max(-90,t[1]),Math.min(180,t[2]),Math.min(90,t[3])]:[-180,-90,180,90]}contains(e){const i=Math.pow(2,e.z),o=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*i),a=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*i),r=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*i),s=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*i);return e.x>=o&&e.x<r&&e.y>=a&&e.y<s}}class w extends t.Evented{constructor(e,i,o,a){if(super(),this.id=e,this.dispatcher=o,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,t.extend(this,t.pick(i,["url","scheme","tileSize","promoteId"])),this._options=t.extend({type:"vector"},i),this._collectResourceTiming=i.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(a)}load(){this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=y(this._options,this.map._requestManager,((e,i)=>{this._tileJSONRequest=null,this._loaded=!0,this.map.style.sourceCaches[this.id].clearTiles(),e?this.fire(new t.ErrorEvent(e)):i&&(t.extend(this,i),i.bounds&&(this.tileBounds=new b(i.bounds,this.minzoom,this.maxzoom)),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))}loaded(){return this._loaded}hasTile(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)}onAdd(t){this.map=t,this.load()}setSourceProperty(t){this._tileJSONRequest&&this._tileJSONRequest.cancel(),t(),this.load()}setTiles(t){return this.setSourceProperty((()=>{this._options.tiles=t})),this}setUrl(t){return this.setSourceProperty((()=>{this.url=t,this._options.url=t})),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)}serialize(){return t.extend({},this._options)}loadTile(e,i){const o=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),a={request:this.map._requestManager.transformRequest(o,t.ResourceType.Tile),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};function r(o,a){return delete e.request,e.aborted?i(null):o&&404!==o.status?i(o):(a&&a.resourceTiming&&(e.resourceTiming=a.resourceTiming),this.map._refreshExpiredTiles&&a&&e.setExpiryData(a),e.loadVectorData(a,this.map.painter),t.cacheEntryPossiblyAdded(this.dispatcher),i(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}a.request.collectResourceTiming=this._collectResourceTiming,e.actor&&"expired"!==e.state?"loading"===e.state?e.reloadCallback=i:e.request=e.actor.send("reloadTile",a,r.bind(this)):(e.actor=this.dispatcher.getActor(),e.request=e.actor.send("loadTile",a,r.bind(this)))}abortTile(t){t.request&&(t.request.cancel(),delete t.request),t.actor&&t.actor.send("abortTile",{uid:t.uid,type:this.type,source:this.id},void 0)}unloadTile(t){t.unloadVectorData(),t.actor&&t.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id},void 0)}hasTransition(){return!1}}class T extends t.Evented{constructor(e,i,o,a){super(),this.id=e,this.dispatcher=o,this.setEventedParent(a),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.extend({type:"raster"},i),t.extend(this,t.pick(i,["url","scheme","tileSize"]))}load(){this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=y(this._options,this.map._requestManager,((e,i)=>{this._tileJSONRequest=null,this._loaded=!0,e?this.fire(new t.ErrorEvent(e)):i&&(t.extend(this,i),i.bounds&&(this.tileBounds=new b(i.bounds,this.minzoom,this.maxzoom)),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))}loaded(){return this._loaded}onAdd(t){this.map=t,this.load()}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)}serialize(){return t.extend({},this._options)}hasTile(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)}loadTile(e,i){const o=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);e.request=t.getImage(this.map._requestManager.transformRequest(o,t.ResourceType.Tile),((o,a,r)=>{if(delete e.request,e.aborted)e.state="unloaded",i(null);else if(o)e.state="errored",i(o);else if(a){this.map._refreshExpiredTiles&&e.setExpiryData(r);const o=this.map.painter.context,s=o.gl;e.texture=this.map.painter.getTileTexture(a.width),e.texture?e.texture.update(a,{useMipmap:!0}):(e.texture=new l(o,a,s.RGBA,{useMipmap:!0}),e.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),o.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,o.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,o.extTextureFilterAnisotropicMax)),e.state="loaded",t.cacheEntryPossiblyAdded(this.dispatcher),i(null)}}))}abortTile(t,e){t.request&&(t.request.cancel(),delete t.request),e()}unloadTile(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),e()}hasTransition(){return!1}}let E;class I extends T{constructor(e,i,o,a){super(e,i,o,a),this.type="raster-dem",this.maxzoom=22,this._options=t.extend({type:"raster-dem"},i),this.encoding=i.encoding||"mapbox"}serialize(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}}loadTile(e,i){const o=e.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);function a(t,o){t&&(e.state="errored",i(t)),o&&(e.dem=o,e.needsHillshadePrepare=!0,e.needsTerrainPrepare=!0,e.state="loaded",i(null))}e.request=t.getImage(this.map._requestManager.transformRequest(o,t.ResourceType.Tile),function(o,r){if(delete e.request,e.aborted)e.state="unloaded",i(null);else if(o)e.state="errored",i(o);else if(r){this.map._refreshExpiredTiles&&e.setExpiryData(r),delete r.cacheControl,delete r.expires;const i=t.isImageBitmap(r)&&(null==E&&(E="undefined"!=typeof OffscreenCanvas&&new OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof createImageBitmap),E)?r:t.exported.getImageData(r,1),o={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:i,encoding:this.encoding};e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor(),e.actor.send("loadDEMTile",o,a.bind(this)))}}.bind(this)),e.neighboringTiles=this._getNeighboringTiles(e.tileID)}_getNeighboringTiles(e){const i=e.canonical,o=Math.pow(2,i.z),a=(i.x-1+o)%o,r=0===i.x?e.wrap-1:e.wrap,s=(i.x+1+o)%o,n=i.x+1===o?e.wrap+1:e.wrap,l={};return l[new t.OverscaledTileID(e.overscaledZ,r,i.z,a,i.y).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,n,i.z,s,i.y).key]={backfilled:!1},i.y>0&&(l[new t.OverscaledTileID(e.overscaledZ,r,i.z,a,i.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,i.z,i.x,i.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,n,i.z,s,i.y-1).key]={backfilled:!1}),i.y+1<o&&(l[new t.OverscaledTileID(e.overscaledZ,r,i.z,a,i.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,i.z,i.x,i.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,n,i.z,s,i.y+1).key]={backfilled:!1}),l}unloadTile(t){t.demTexture&&this.map.painter.saveTileTexture(t.demTexture),t.fbo&&(t.fbo.destroy(),delete t.fbo),t.dem&&delete t.dem,delete t.neighboringTiles,t.state="unloaded",t.actor&&t.actor.send("removeDEMTile",{uid:t.uid,source:this.id})}}class C extends t.Evented{constructor(e,i,o,a){super(),this.id=e,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._pendingLoads=0,this.actor=o.getActor(),this.setEventedParent(a),this._data=i.data,this._options=t.extend({},i),this._collectResourceTiming=i.collectResourceTiming,void 0!==i.maxzoom&&(this.maxzoom=i.maxzoom),i.type&&(this.type=i.type),i.attribution&&(this.attribution=i.attribution),this.promoteId=i.promoteId;const r=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:i.cluster||!1,geojsonVtOptions:{buffer:(void 0!==i.buffer?i.buffer:128)*r,tolerance:(void 0!==i.tolerance?i.tolerance:.375)*r,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:i.lineMetrics||!1,generateId:i.generateId||!1},superclusterOptions:{maxZoom:void 0!==i.clusterMaxZoom?i.clusterMaxZoom:this.maxzoom-1,minPoints:Math.max(2,i.clusterMinPoints||2),extent:t.EXTENT,radius:(i.clusterRadius||50)*r,log:!1,generateId:i.generateId||!1},clusterProperties:i.clusterProperties,filter:i.filter},i.workerOptions)}load(){this._updateWorkerData("metadata")}onAdd(t){this.map=t,this.load()}setData(t){return this._data=t,this._updateWorkerData("content"),this}getClusterExpansionZoom(t,e){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e),this}getClusterChildren(t,e){return this.actor.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e),this}getClusterLeaves(t,e,i,o){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:i},o),this}_updateWorkerData(e){const i=t.extend({},this.workerOptions),o=this._data;"string"==typeof o?(i.request=this.map._requestManager.transformRequest(t.exported.resolveURL(o),t.ResourceType.Source),i.request.collectResourceTiming=this._collectResourceTiming):i.data=JSON.stringify(o),this._pendingLoads++,this.fire(new t.Event("dataloading",{dataType:"source"})),this.actor.send(`${this.type}.loadData`,i,((i,o)=>{if(this._pendingLoads--,this._removed||o&&o.abandoned)return void this.fire(new t.Event("dataabort",{dataType:"source",sourceDataType:e}));let a=null;if(o&&o.resourceTiming&&o.resourceTiming[this.id]&&(a=o.resourceTiming[this.id].slice(0)),i)return void this.fire(new t.ErrorEvent(i));const r={dataType:"source",sourceDataType:e};this._collectResourceTiming&&a&&a.length>0&&t.extend(r,{resourceTiming:a}),this.fire(new t.Event("data",r))}))}loaded(){return 0===this._pendingLoads}loadTile(t,e){const i=t.actor?"reloadTile":"loadTile";t.actor=this.actor;const o={type:this.type,uid:t.uid,tileID:t.tileID,zoom:t.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};t.request=this.actor.send(i,o,((o,a)=>(delete t.request,t.unloadVectorData(),t.aborted?e(null):o?e(o):(t.loadVectorData(a,this.map.painter,"reloadTile"===i),e(null)))))}abortTile(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0}unloadTile(t){t.unloadVectorData(),this.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id})}onRemove(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})}serialize(){return t.extend({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}}var S=t.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);class D extends t.Evented{constructor(t,e,i,o){super(),this.id=t,this.dispatcher=i,this.coordinates=e.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(o),this.options=e}load(e,i){this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),((o,a)=>{this._loaded=!0,o?this.fire(new t.ErrorEvent(o)):a&&(this.image=a,e&&(this.coordinates=e),i&&i(),this._finishLoading())}))}loaded(){return this._loaded}updateImage(t){return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(()=>{this.texture=null})),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})))}onAdd(t){this.map=t,this.load()}setCoordinates(e){this.coordinates=e;const i=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){let i=1/0,o=1/0,a=-1/0,r=-1/0;for(const t of e)i=Math.min(i,t.x),o=Math.min(o,t.y),a=Math.max(a,t.x),r=Math.max(r,t.y);const s=Math.max(a-i,r-o),n=Math.max(0,Math.floor(-Math.log(s)/Math.LN2)),l=Math.pow(2,n);return new t.CanonicalTileID(n,Math.floor((i+a)/2*l),Math.floor((o+r)/2*l))}(i),this.minzoom=this.maxzoom=this.tileID.z;const o=i.map((t=>this.tileID.getTilePoint(t)._round()));return this._boundsArray=new t.RasterBoundsArray,this._boundsArray.emplaceBack(o[0].x,o[0].y,0,0),this._boundsArray.emplaceBack(o[1].x,o[1].y,t.EXTENT,0),this._boundsArray.emplaceBack(o[3].x,o[3].y,0,t.EXTENT),this._boundsArray.emplaceBack(o[2].x,o[2].y,t.EXTENT,t.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})),this}prepare(){if(0===Object.keys(this.tiles).length||!this.image)return;const e=this.map.painter.context,i=e.gl;this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,S.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new l(e,this.image,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));for(const t in this.tiles){const e=this.tiles[t];"loaded"!==e.state&&(e.state="loaded",e.texture=this.texture)}}loadTile(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state="errored",e(null))}serialize(){return{type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}class z extends D{constructor(t,e,i,o){super(t,e,i,o),this.roundZoom=!0,this.type="video",this.options=e}load(){this._loaded=!1;const e=this.options;this.urls=[];for(const i of e.urls)this.urls.push(this.map._requestManager.transformRequest(i,t.ResourceType.Source).url);t.getVideo(this.urls,((e,i)=>{this._loaded=!0,e?this.fire(new t.ErrorEvent(e)):i&&(this.video=i,this.video.loop=!0,this.video.addEventListener("playing",(()=>{this.map.triggerRepaint()})),this.map&&this.video.play(),this._finishLoading())}))}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(e){if(this.video){const i=this.video.seekable;e<i.start(0)||e>i.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${this.id}`,null,`Playback for this video can be set only between the ${i.start(0)} and ${i.end(0)}-second mark.`))):this.video.currentTime=e}}getVideo(){return this.video}onAdd(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(0===Object.keys(this.tiles).length||this.video.readyState<2)return;const e=this.map.painter.context,i=e.gl;this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,S.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE),i.texSubImage2D(i.TEXTURE_2D,0,0,0,i.RGBA,i.UNSIGNED_BYTE,this.video)):(this.texture=new l(e,this.video,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE));for(const t in this.tiles){const e=this.tiles[t];"loaded"!==e.state&&(e.state="loaded",e.texture=this.texture)}}serialize(){return{type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class P extends D{constructor(e,i,o,a){super(e,i,o,a),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((t=>!Array.isArray(t)||2!==t.length||t.some((t=>"number"!=typeof t))))||this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError(`sources.${e}`,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate}load(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())}getCanvas(){return this.canvas}onAdd(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),this._hasInvalidDimensions())return;if(0===Object.keys(this.tiles).length)return;const i=this.map.painter.context,o=i.gl;this.boundsBuffer||(this.boundsBuffer=i.createVertexBuffer(this._boundsArray,S.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new l(i,this.canvas,o.RGBA,{premultiply:!0});for(const t in this.tiles){const e=this.tiles[t];"loaded"!==e.state&&(e.state="loaded",e.texture=this.texture)}}serialize(){return{type:"canvas",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(const t of[this.canvas.width,this.canvas.height])if(isNaN(t)||t<=0)return!0;return!1}}const M={vector:w,raster:T,"raster-dem":I,geojson:C,video:z,image:D,canvas:P};function A(e,i){const o=t.create();return t.translate(o,o,[1,1,0]),t.scale(o,o,[.5*e.width,.5*e.height,1]),t.multiply(o,o,e.calculatePosMatrix(i.toUnwrapped()))}function L(t,e,i,o,a,r){const s=function(t,e,i){if(t)for(const o of t){const t=e[o];if(t&&t.source===i&&"fill-extrusion"===t.type)return!0}else for(const t in e){const o=e[t];if(o.source===i&&"fill-extrusion"===o.type)return!0}return!1}(a&&a.layers,e,t.id),n=r.maxPitchScaleFactor(),l=t.tilesIn(o,n,s);l.sort(R);const c=[];for(const o of l)c.push({wrappedTileID:o.tileID.wrapped().key,queryResults:o.tile.queryRenderedFeatures(e,i,t._state,o.queryGeometry,o.cameraQueryGeometry,o.scale,a,r,n,A(t.transform,o.tileID))});const h=function(t){const e={},i={};for(const o of t){const t=o.queryResults,a=o.wrappedTileID,r=i[a]=i[a]||{};for(const i in t){const o=t[i],a=r[i]=r[i]||{},s=e[i]=e[i]||[];for(const t of o)a[t.featureIndex]||(a[t.featureIndex]=!0,s.push(t))}}return e}(c);for(const e in h)h[e].forEach((e=>{const i=e.feature,o=t.getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o}));return h}function R(t,e){const i=t.tileID,o=e.tileID;return i.overscaledZ-o.overscaledZ||i.canonical.y-o.canonical.y||i.wrap-o.wrap||i.canonical.x-o.canonical.x}class k{constructor(e,i){this.tileID=e,this.uid=t.uniqueId(),this.uses=0,this.tileSize=i,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.textures=[],this.textureCoords={},this.expiredRequestCount=0,this.state="loading"}registerFadeDuration(e){const i=e+this.timeAdded;i<t.exported.now()||this.fadeEndTime&&i<this.fadeEndTime||(this.fadeEndTime=i)}wasRequested(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state}clearTextures(t){this.demTexture&&t.saveTileTexture(this.demTexture),this.textures.forEach((e=>t.saveTileTexture(e))),this.demTexture=null,this.textures=[],this.textureCoords={}}loadVectorData(e,i,o){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",e){e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestFeatureIndex.rawTileData=e.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(t,e){const i={};if(!e)return i;for(const o of t){const t=o.layerIds.map((t=>e.getLayer(t))).filter(Boolean);if(0!==t.length){o.layers=t,o.stateDependentLayerIds&&(o.stateDependentLayers=o.stateDependentLayerIds.map((e=>t.filter((t=>t.id===e))[0])));for(const e of t)i[e.id]=o}}return i}(e.buckets,i.style),this.hasSymbolBuckets=!1;for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.SymbolBucket){if(this.hasSymbolBuckets=!0,!o)break;i.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(const e in this.buckets){const i=this.buckets[e];if(i instanceof t.SymbolBucket&&i.hasRTLText){this.hasRTLText=!0,t.lazyLoadRTLTextPlugin();break}}this.queryPadding=0;for(const t in this.buckets){const e=this.buckets[t];this.queryPadding=Math.max(this.queryPadding,i.style.getLayer(t).queryRadius(e))}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage)}else this.collisionBoxArray=new t.CollisionBoxArray}unloadVectorData(){for(const t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"}getBucket(t){return this.buckets[t.id]}upload(t){for(const e in this.buckets){const i=this.buckets[e];i.uploadPending()&&i.upload(t)}const e=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new l(t,this.imageAtlas.image,e.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new l(t,this.glyphAtlasImage,e.ALPHA),this.glyphAtlasImage=null)}prepare(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture)}queryRenderedFeatures(t,e,i,o,a,r,s,n,l,c){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:o,cameraQueryGeometry:a,scale:r,tileSize:this.tileSize,pixelPosMatrix:c,transform:n,params:s,queryPadding:this.queryPadding*l},t,e,i):{}}querySourceFeatures(e,i){const o=this.latestFeatureIndex;if(!o||!o.rawTileData)return;const a=o.loadVTLayers(),r=i?i.sourceLayer:"",s=a._geojsonTileLayer||a[r];if(!s)return;const n=t.createFilter(i&&i.filter),{z:l,x:c,y:h}=this.tileID.canonical,u={z:l,x:c,y:h};for(let i=0;i<s.length;i++){const a=s.feature(i);if(n.needGeometry){const e=t.toEvaluationFeature(a,!0);if(!n.filter(new t.EvaluationParameters(this.tileID.overscaledZ),e,this.tileID.canonical))continue}else if(!n.filter(new t.EvaluationParameters(this.tileID.overscaledZ),a))continue;const d=o.getId(a,r),m=new t.GeoJSONFeature(a,l,c,h,d);m.tile=u,e.push(m)}}hasData(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state}patternsLoaded(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length}setExpiryData(e){const i=this.expirationTime;if(e.cacheControl){const i=t.parseCacheControl(e.cacheControl);i["max-age"]&&(this.expirationTime=Date.now()+1e3*i["max-age"])}else e.expires&&(this.expirationTime=new Date(e.expires).getTime());if(this.expirationTime){const t=Date.now();let e=!1;if(this.expirationTime>t)e=!1;else if(i)if(this.expirationTime<i)e=!0;else{const o=this.expirationTime-i;o?this.expirationTime=t+Math.max(o,3e4):e=!0}else e=!0;e?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}}getExpiryTimeout(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)}setFeatureState(t,e){if(!this.latestFeatureIndex||!this.latestFeatureIndex.rawTileData||0===Object.keys(t).length)return;const i=this.latestFeatureIndex.loadVTLayers();for(const o in this.buckets){if(!e.style.hasLayer(o))continue;const a=this.buckets[o],r=a.layers[0].sourceLayer||"_geojsonTileLayer",s=i[r],n=t[r];if(!s||!n||0===Object.keys(n).length)continue;a.update(n,s,this.imageAtlas&&this.imageAtlas.patternPositions||{});const l=e&&e.style&&e.style.getLayer(o);l&&(this.queryPadding=Math.max(this.queryPadding,l.queryRadius(a)))}}holdingForFade(){return void 0!==this.symbolFadeHoldUntil}symbolFadeFinished(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<t.exported.now()}clearFadeHold(){this.symbolFadeHoldUntil=void 0}setHoldDuration(e){this.symbolFadeHoldUntil=t.exported.now()+e}setDependencies(t,e){const i={};for(const t of e)i[t]=!0;this.dependencies[t]=i}hasDependency(t,e){for(const i of t){const t=this.dependencies[i];if(t)for(const i of e)if(t[i])return!0}return!1}}class B{constructor(t,e){this.max=t,this.onRemove=e,this.reset()}reset(){for(const t in this.data)for(const e of this.data[t])e.timeout&&clearTimeout(e.timeout),this.onRemove(e.value);return this.data={},this.order=[],this}add(t,e,i){const o=t.wrapped().key;void 0===this.data[o]&&(this.data[o]=[]);const a={value:e,timeout:void 0};if(void 0!==i&&(a.timeout=setTimeout((()=>{this.remove(t,a)}),i)),this.data[o].push(a),this.order.push(o),this.order.length>this.max){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t)}return this}has(t){return t.wrapped().key in this.data}getAndRemove(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null}_getAndRemoveByKey(t){const e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value}getByKey(t){const e=this.data[t];return e?e[0].value:null}get(t){return this.has(t)?this.data[t.wrapped().key][0].value:null}remove(t,e){if(!this.has(t))return this;const i=t.wrapped().key,o=void 0===e?0:this.data[i].indexOf(e),a=this.data[i][o];return this.data[i].splice(o,1),a.timeout&&clearTimeout(a.timeout),0===this.data[i].length&&delete this.data[i],this.onRemove(a.value),this.order.splice(this.order.indexOf(i),1),this}setMaxSize(t){for(this.max=t;this.order.length>this.max;){const t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t)}return this}filter(t){const e=[];for(const i in this.data)for(const o of this.data[i])t(o.value)||e.push(o);for(const t of e)this.remove(t.value.tileID,t)}}class F{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(e,i,o){const a=String(i);if(this.stateChanges[e]=this.stateChanges[e]||{},this.stateChanges[e][a]=this.stateChanges[e][a]||{},t.extend(this.stateChanges[e][a],o),null===this.deletedStates[e]){this.deletedStates[e]={};for(const t in this.state[e])t!==a&&(this.deletedStates[e][t]=null)}else if(this.deletedStates[e]&&null===this.deletedStates[e][a]){this.deletedStates[e][a]={};for(const t in this.state[e][a])o[t]||(this.deletedStates[e][a][t]=null)}else for(const t in o)this.deletedStates[e]&&this.deletedStates[e][a]&&null===this.deletedStates[e][a][t]&&delete this.deletedStates[e][a][t]}removeFeatureState(t,e,i){if(null===this.deletedStates[t])return;const o=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},i&&void 0!==e)null!==this.deletedStates[t][o]&&(this.deletedStates[t][o]=this.deletedStates[t][o]||{},this.deletedStates[t][o][i]=null);else if(void 0!==e)if(this.stateChanges[t]&&this.stateChanges[t][o])for(i in this.deletedStates[t][o]={},this.stateChanges[t][o])this.deletedStates[t][o][i]=null;else this.deletedStates[t][o]=null;else this.deletedStates[t]=null}getState(e,i){const o=String(i),a=t.extend({},(this.state[e]||{})[o],(this.stateChanges[e]||{})[o]);if(null===this.deletedStates[e])return{};if(this.deletedStates[e]){const t=this.deletedStates[e][i];if(null===t)return{};for(const e in t)delete a[e]}return a}initializeTileState(t,e){t.setFeatureState(this.state,e)}coalesceChanges(e,i){const o={};for(const e in this.stateChanges){this.state[e]=this.state[e]||{};const i={};for(const o in this.stateChanges[e])this.state[e][o]||(this.state[e][o]={}),t.extend(this.state[e][o],this.stateChanges[e][o]),i[o]=this.state[e][o];o[e]=i}for(const e in this.deletedStates){this.state[e]=this.state[e]||{};const i={};if(null===this.deletedStates[e])for(const t in this.state[e])i[t]={},this.state[e][t]={};else for(const t in this.deletedStates[e]){if(null===this.deletedStates[e][t])this.state[e][t]={};else for(const i of Object.keys(this.deletedStates[e][t]))delete this.state[e][t][i];i[t]=this.state[e][t]}o[e]=o[e]||{},t.extend(o[e],i)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(o).length)for(const t in e)e[t].setFeatureState(o,i)}}class O extends t.Evented{constructor(e,i,o){super(),this.id=e,this.dispatcher=o,this.on("data",(t=>{"source"===t.dataType&&"metadata"===t.sourceDataType&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&"source"===t.dataType&&"content"===t.sourceDataType&&(this.reload(),this.transform&&this.update(this.transform,this.terrain))})),this.on("dataloading",(()=>{this._sourceErrored=!1})),this.on("error",(()=>{this._sourceErrored=this._source.loaded()})),this._source=function(e,i,o,a){const r=new M[i.type](e,i,o,a);if(r.id!==e)throw new Error(`Expected Source id to be ${e} instead of ${r.id}`);return t.bindAll(["load","abort","unload","serialize","prepare"],r),r}(e,i,o,this),this._tiles={},this._cache=new B(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new F}onAdd(t){this.map=t,this._maxTileCacheSize=t?t._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(t)}onRemove(t){this.clearTiles(),this._source&&this._source.onRemove&&this._source.onRemove(t)}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(const t in this._tiles){const e=this._tiles[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;const t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform,this.terrain)}_loadTile(t,e){return this._source.loadTile(t,e)}_unloadTile(t){if(this._source.unloadTile)return this._source.unloadTile(t,(()=>{}))}_abortTile(e){this._source.abortTile&&this._source.abortTile(e,(()=>{})),this._source.fire(new t.Event("dataabort",{tile:e,coord:e.tileID,dataType:"source"}))}serialize(){return this._source.serialize()}prepare(t){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(const e in this._tiles){const i=this._tiles[e];i.upload(t),i.prepare(this.map.style.imageManager)}}getIds(){return Object.values(this._tiles).map((t=>t.tileID)).sort(U).map((t=>t.key))}getRenderableIds(e){const i=[];for(const t in this._tiles)this._isIdRenderable(t,e)&&i.push(this._tiles[t]);return e?i.sort(((e,i)=>{const o=e.tileID,a=i.tileID,r=new t.pointGeometry(o.canonical.x,o.canonical.y)._rotate(this.transform.angle),s=new t.pointGeometry(a.canonical.x,a.canonical.y)._rotate(this.transform.angle);return o.overscaledZ-a.overscaledZ||s.y-r.y||s.x-r.x})).map((t=>t.tileID.key)):i.map((t=>t.tileID)).sort(U).map((t=>t.key))}hasRenderableParent(t){const e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)}_isIdRenderable(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(const t in this._tiles)"errored"!==this._tiles[t].state&&this._reloadTile(t,"reloading")}}_reloadTile(t,e){const i=this._tiles[t];i&&("loading"!==i.state&&(i.state=e),this._loadTile(i,this._tileLoaded.bind(this,i,t,e)))}_tileLoaded(e,i,o,a){if(a)return e.state="errored",void(404!==a.status?this._source.fire(new t.ErrorEvent(a,{tile:e})):this.update(this.transform,this.terrain));e.timeAdded=t.exported.now(),"expired"===o&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(i,e),"raster-dem"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),e.aborted||this._source.fire(new t.Event("data",{dataType:"source",tile:e,coord:e.tileID}))}_backfillDEM(t){const e=this.getRenderableIds();for(let o=0;o<e.length;o++){const a=e[o];if(t.neighboringTiles&&t.neighboringTiles[a]){const e=this.getTileByID(a);i(t,e),i(e,t)}}function i(t,e){t.needsHillshadePrepare=!0,t.needsTerrainPrepare=!0;let i=e.tileID.canonical.x-t.tileID.canonical.x;const o=e.tileID.canonical.y-t.tileID.canonical.y,a=Math.pow(2,t.tileID.canonical.z),r=e.tileID.key;0===i&&0===o||Math.abs(o)>1||(Math.abs(i)>1&&(1===Math.abs(i+a)?i+=a:1===Math.abs(i-a)&&(i-=a)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,i,o),t.neighboringTiles&&t.neighboringTiles[r]&&(t.neighboringTiles[r].backfilled=!0)))}}getTile(t){return this.getTileByID(t.key)}getTileByID(t){return this._tiles[t]}_retainLoadedChildren(t,e,i,o){for(const a in this._tiles){let r=this._tiles[a];if(o[a]||!r.hasData()||r.tileID.overscaledZ<=e||r.tileID.overscaledZ>i)continue;let s=r.tileID;for(;r&&r.tileID.overscaledZ>e+1;){const t=r.tileID.scaledTo(r.tileID.overscaledZ-1);r=this._tiles[t.key],r&&r.hasData()&&(s=t)}let n=s;for(;n.overscaledZ>e;)if(n=n.scaledTo(n.overscaledZ-1),t[n.key]){o[s.key]=s;break}}}findLoadedParent(t,e){if(t.key in this._loadedParentTiles){const i=this._loadedParentTiles[t.key];return i&&i.tileID.overscaledZ>=e?i:null}for(let i=t.overscaledZ-1;i>=e;i--){const e=t.scaledTo(i),o=this._getLoadedTile(e);if(o)return o}}_getLoadedTile(t){const e=this._tiles[t.key];return e&&e.hasData()?e:this._cache.getByKey(t.wrapped().key)}updateCacheSize(t){const e=Math.ceil(t.width/this._source.tileSize)+1,i=Math.ceil(t.height/this._source.tileSize)+1,o=Math.floor(e*i*5),a="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,o):o;this._cache.setMaxSize(a)}handleWrapJump(t){const e=Math.round((t-(void 0===this._prevLng?t:this._prevLng))/360);if(this._prevLng=t,e){const t={};for(const i in this._tiles){const o=this._tiles[i];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+e),t[o.tileID.key]=o}this._tiles=t;for(const t in this._timers)clearTimeout(this._timers[t]),delete this._timers[t];for(const t in this._tiles)this._setTileReloadTimer(t,this._tiles[t])}}update(e,i){if(this.transform=e,this.terrain=i,!this._sourceLoaded||this._paused)return;let o;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?o=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((e=>new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y))):(o=e.coveringTiles({tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:i}),this._source.hasTile&&(o=o.filter((t=>this._source.hasTile(t))))):o=[];const a=e.coveringZoomLevel(this._source),r=Math.max(a-O.maxOverzooming,this._source.minzoom),s=Math.max(a+O.maxUnderzooming,this._source.minzoom);if(this.usedForTerrain){const t={};for(const e of o)if(e.canonical.z>this._source.minzoom){const i=e.scaledTo(e.canonical.z-1);t[i.key]=i;const o=e.scaledTo(Math.max(this._source.minzoom,Math.min(e.canonical.z,5)));t[o.key]=o}o=o.concat(Object.values(t))}const n=this._updateRetainedTiles(o,a);if(N(this._source.type)){const e={},l={},c=Object.keys(n);for(const i of c){const o=n[i],a=this._tiles[i];if(!a||a.fadeEndTime&&a.fadeEndTime<=t.exported.now())continue;const s=this.findLoadedParent(o,r);s&&(this._addTile(s.tileID),e[s.tileID.key]=s.tileID),l[i]=o}this._retainLoadedChildren(l,a,s,n);for(const t in e)n[t]||(this._coveredTiles[t]=!0,n[t]=e[t]);if(i){const t={},e={};for(const i of o)this._tiles[i.key].hasData()?t[i.key]=i:e[i.key]=i;for(const i in e){const o=e[i].children(this._source.maxzoom);this._tiles[o[0].key]&&this._tiles[o[1].key]&&this._tiles[o[2].key]&&this._tiles[o[3].key]&&(t[o[0].key]=n[o[0].key]=o[0],t[o[1].key]=n[o[1].key]=o[1],t[o[2].key]=n[o[2].key]=o[2],t[o[3].key]=n[o[3].key]=o[3],delete e[i])}for(const i in e){const o=this.findLoadedParent(e[i],this._source.minzoom);if(o){t[o.tileID.key]=n[o.tileID.key]=o.tileID;for(const e in t)t[e].isChildOf(o.tileID)&&delete t[e]}}for(const e in this._tiles)t[e]||(this._coveredTiles[e]=!0)}}for(const t in n)this._tiles[t].clearFadeHold();const l=t.keysDifference(this._tiles,n);for(const t of l){const e=this._tiles[t];e.hasSymbolBuckets&&!e.holdingForFade()?e.setHoldDuration(this.map._fadeDuration):e.hasSymbolBuckets&&!e.symbolFadeFinished()||this._removeTile(t)}this._updateLoadedParentTileCache()}releaseSymbolFadeTiles(){for(const t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(t)}_updateRetainedTiles(t,e){const i={},o={},a=Math.max(e-O.maxOverzooming,this._source.minzoom),r=Math.max(e+O.maxUnderzooming,this._source.minzoom),s={};for(const o of t){const t=this._addTile(o);i[o.key]=o,t.hasData()||e<this._source.maxzoom&&(s[o.key]=o)}this._retainLoadedChildren(s,e,r,i);for(const r of t){let t=this._tiles[r.key];if(t.hasData())continue;if(e+1>this._source.maxzoom){const t=r.children(this._source.maxzoom)[0],e=this.getTile(t);if(e&&e.hasData()){i[t.key]=t;continue}}else{const t=r.children(this._source.maxzoom);if(i[t[0].key]&&i[t[1].key]&&i[t[2].key]&&i[t[3].key])continue}let s=t.wasRequested();for(let e=r.overscaledZ-1;e>=a;--e){const a=r.scaledTo(e);if(o[a.key])break;if(o[a.key]=!0,t=this.getTile(a),!t&&s&&(t=this._addTile(a)),t&&(i[a.key]=a,s=t.wasRequested(),t.hasData()))break}}return i}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(const t in this._tiles){const e=[];let i,o=this._tiles[t].tileID;for(;o.overscaledZ>0;){if(o.key in this._loadedParentTiles){i=this._loadedParentTiles[o.key];break}e.push(o.key);const t=o.scaledTo(o.overscaledZ-1);if(i=this._getLoadedTile(t),i)break;o=t}for(const t of e)this._loadedParentTiles[t]=i}}_addTile(e){let i=this._tiles[e.key];if(i)return i;i=this._cache.getAndRemove(e),i&&(this._setTileReloadTimer(e.key,i),i.tileID=e,this._state.initializeTileState(i,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,i)));const o=i;return i||(i=new k(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(i,this._tileLoaded.bind(this,i,e.key,i.state))),i.uses++,this._tiles[e.key]=i,o||this._source.fire(new t.Event("dataloading",{tile:i,coord:i.tileID,dataType:"source"})),i}_setTileReloadTimer(t,e){t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);const i=e.getExpiryTimeout();i&&(this._timers[t]=setTimeout((()=>{this._reloadTile(t,"expired"),delete this._timers[t]}),i))}_removeTile(t){const e=this._tiles[t];e&&(e.uses--,delete this._tiles[t],this._timers[t]&&(clearTimeout(this._timers[t]),delete this._timers[t]),e.uses>0||(e.hasData()&&"reloading"!==e.state?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))))}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(const t in this._tiles)this._removeTile(t);this._cache.reset()}tilesIn(e,i,o){const a=[],r=this.transform;if(!r)return a;const s=o?r.getCameraQueryGeometry(e):e,n=e.map((t=>r.pointCoordinate(t,this.terrain))),l=s.map((t=>r.pointCoordinate(t,this.terrain))),c=this.getIds();let h=1/0,u=1/0,d=-1/0,m=-1/0;for(const t of l)h=Math.min(h,t.x),u=Math.min(u,t.y),d=Math.max(d,t.x),m=Math.max(m,t.y);for(let e=0;e<c.length;e++){const o=this._tiles[c[e]];if(o.holdingForFade())continue;const s=o.tileID,_=Math.pow(2,r.zoom-o.tileID.overscaledZ),p=i*o.queryPadding*t.EXTENT/o.tileSize/_,f=[s.getTilePoint(new t.MercatorCoordinate(h,u)),s.getTilePoint(new t.MercatorCoordinate(d,m))];if(f[0].x-p<t.EXTENT&&f[0].y-p<t.EXTENT&&f[1].x+p>=0&&f[1].y+p>=0){const t=n.map((t=>s.getTilePoint(t))),e=l.map((t=>s.getTilePoint(t)));a.push({tile:o,tileID:s,queryGeometry:t,cameraQueryGeometry:e,scale:_})}}return a}getVisibleCoordinates(t){const e=this.getRenderableIds(t).map((t=>this._tiles[t].tileID));for(const t of e)t.posMatrix=this.transform.calculatePosMatrix(t.toUnwrapped());return e}hasTransition(){if(this._source.hasTransition())return!0;if(N(this._source.type))for(const e in this._tiles){const i=this._tiles[e];if(void 0!==i.fadeEndTime&&i.fadeEndTime>=t.exported.now())return!0}return!1}setFeatureState(t,e,i){this._state.updateState(t=t||"_geojsonTileLayer",e,i)}removeFeatureState(t,e,i){this._state.removeFeatureState(t=t||"_geojsonTileLayer",e,i)}getFeatureState(t,e){return this._state.getState(t=t||"_geojsonTileLayer",e)}setDependencies(t,e,i){const o=this._tiles[t];o&&o.setDependencies(e,i)}reloadTilesForDependencies(t,e){for(const i in this._tiles)this._tiles[i].hasDependency(t,e)&&this._reloadTile(i,"reloading");this._cache.filter((i=>!i.hasDependency(t,e)))}}function U(t,e){const i=Math.abs(2*t.wrap)-+(t.wrap<0),o=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||o-i||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x}function N(t){return"raster"===t||"image"===t||"video"===t}O.maxOverzooming=10,O.maxUnderzooming=3;const G="mapboxgl_preloaded_worker_pool";class Z{constructor(){this.active={}}acquire(t){if(!this.workers)for(this.workers=[];this.workers.length<Z.workerCount;)this.workers.push(new Worker(ba.workerUrl));return this.active[t]=!0,this.workers.slice()}release(t){delete this.active[t],0===this.numActive()&&(this.workers.forEach((t=>{t.terminate()})),this.workers=null)}isPreloaded(){return!!this.active[G]}numActive(){return Object.keys(this.active).length}}const V=Math.floor(t.exported.hardwareConcurrency/2);let q;function j(){return q||(q=new Z),q}function $(e,i){const o={};for(const t in e)"ref"!==t&&(o[t]=e[t]);return t.refProperties.forEach((t=>{t in i&&(o[t]=i[t])})),o}function X(t){t=t.slice();const e=Object.create(null);for(let i=0;i<t.length;i++)e[t[i].id]=t[i];for(let i=0;i<t.length;i++)"ref"in t[i]&&(t[i]=$(t[i],e[t[i].ref]));return t}Z.workerCount=Math.max(Math.min(V,6),1);const W={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function H(t,e,i){i.push({command:W.addSource,args:[t,e[t]]})}function K(t,e,i){e.push({command:W.removeSource,args:[t]}),i[t]=!0}function Y(t,e,i,o){K(t,i,o),H(t,e,i)}function J(t,e,i){let o;for(o in t[i])if(Object.prototype.hasOwnProperty.call(t[i],o)&&"data"!==o&&!a(t[i][o],e[i][o]))return!1;for(o in e[i])if(Object.prototype.hasOwnProperty.call(e[i],o)&&"data"!==o&&!a(t[i][o],e[i][o]))return!1;return!0}function Q(t,e,i,o,r,s){let n;for(n in e=e||{},t=t||{})Object.prototype.hasOwnProperty.call(t,n)&&(a(t[n],e[n])||i.push({command:s,args:[o,n,e[n],r]}));for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&!Object.prototype.hasOwnProperty.call(t,n)&&(a(t[n],e[n])||i.push({command:s,args:[o,n,e[n],r]}))}function tt(t){return t.id}function et(t,e){return t[e.id]=e,t}class it{constructor(t,e){this.reset(t,e)}reset(t,e){this.points=t||[],this._distances=[0];for(let t=1;t<this.points.length;t++)this._distances[t]=this._distances[t-1]+this.points[t].dist(this.points[t-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(e||0,.5*this.length),this.paddedLength=this.length-2*this.padding}lerp(e){if(1===this.points.length)return this.points[0];e=t.clamp(e,0,1);let i=1,o=this._distances[i];const a=e*this.paddedLength+this.padding;for(;o<a&&i<this._distances.length;)o=this._distances[++i];const r=i-1,s=this._distances[r],n=o-s,l=n>0?(a-s)/n:0;return this.points[r].mult(1-l).add(this.points[i].mult(l))}}function ot(t,e){let i=!0;return"always"===t||"never"!==t&&"never"!==e||(i=!1),i}class at{constructor(t,e,i){const o=this.boxCells=[],a=this.circleCells=[];this.xCellCount=Math.ceil(t/i),this.yCellCount=Math.ceil(e/i);for(let t=0;t<this.xCellCount*this.yCellCount;t++)o.push([]),a.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=t,this.height=e,this.xScale=this.xCellCount/t,this.yScale=this.yCellCount/e,this.boxUid=0,this.circleUid=0}keysLength(){return this.boxKeys.length+this.circleKeys.length}insert(t,e,i,o,a){this._forEachCell(e,i,o,a,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(i),this.bboxes.push(o),this.bboxes.push(a)}insertCircle(t,e,i,o){this._forEachCell(e-o,i-o,e+o,i+o,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(i),this.circles.push(o)}_insertBoxCell(t,e,i,o,a,r){this.boxCells[a].push(r)}_insertCircleCell(t,e,i,o,a,r){this.circleCells[a].push(r)}_query(t,e,i,o,a,r,s){if(i<0||t>this.width||o<0||e>this.height)return[];const n=[];if(t<=0&&e<=0&&this.width<=i&&this.height<=o){if(a)return[{key:null,x1:t,y1:e,x2:i,y2:o}];for(let t=0;t<this.boxKeys.length;t++)n.push({key:this.boxKeys[t],x1:this.bboxes[4*t],y1:this.bboxes[4*t+1],x2:this.bboxes[4*t+2],y2:this.bboxes[4*t+3]});for(let t=0;t<this.circleKeys.length;t++){const e=this.circles[3*t],i=this.circles[3*t+1],o=this.circles[3*t+2];n.push({key:this.circleKeys[t],x1:e-o,y1:i-o,x2:e+o,y2:i+o})}}else this._forEachCell(t,e,i,o,this._queryCell,n,{hitTest:a,overlapMode:r,seenUids:{box:{},circle:{}}},s);return n}query(t,e,i,o){return this._query(t,e,i,o,!1,null)}hitTest(t,e,i,o,a,r){return this._query(t,e,i,o,!0,a,r).length>0}hitTestCircle(t,e,i,o,a){const r=t-i,s=t+i,n=e-i,l=e+i;if(s<0||r>this.width||l<0||n>this.height)return!1;const c=[];return this._forEachCell(r,n,s,l,this._queryCellCircle,c,{hitTest:!0,overlapMode:o,circle:{x:t,y:e,radius:i},seenUids:{box:{},circle:{}}},a),c.length>0}_queryCell(t,e,i,o,a,r,s,n){const{seenUids:l,hitTest:c,overlapMode:h}=s,u=this.boxCells[a];if(null!==u){const a=this.bboxes;for(const s of u)if(!l.box[s]){l.box[s]=!0;const u=4*s,d=this.boxKeys[s];if(t<=a[u+2]&&e<=a[u+3]&&i>=a[u+0]&&o>=a[u+1]&&(!n||n(d))&&(!c||!ot(h,d.overlapMode))&&(r.push({key:d,x1:a[u],y1:a[u+1],x2:a[u+2],y2:a[u+3]}),c))return!0}}const d=this.circleCells[a];if(null!==d){const a=this.circles;for(const s of d)if(!l.circle[s]){l.circle[s]=!0;const u=3*s,d=this.circleKeys[s];if(this._circleAndRectCollide(a[u],a[u+1],a[u+2],t,e,i,o)&&(!n||n(d))&&(!c||!ot(h,d.overlapMode))){const t=a[u],e=a[u+1],i=a[u+2];if(r.push({key:d,x1:t-i,y1:e-i,x2:t+i,y2:e+i}),c)return!0}}}return!1}_queryCellCircle(t,e,i,o,a,r,s,n){const{circle:l,seenUids:c,overlapMode:h}=s,u=this.boxCells[a];if(null!==u){const t=this.bboxes;for(const e of u)if(!c.box[e]){c.box[e]=!0;const i=4*e,o=this.boxKeys[e];if(this._circleAndRectCollide(l.x,l.y,l.radius,t[i+0],t[i+1],t[i+2],t[i+3])&&(!n||n(o))&&!ot(h,o.overlapMode))return r.push(!0),!0}}const d=this.circleCells[a];if(null!==d){const t=this.circles;for(const e of d)if(!c.circle[e]){c.circle[e]=!0;const i=3*e,o=this.circleKeys[e];if(this._circlesCollide(t[i],t[i+1],t[i+2],l.x,l.y,l.radius)&&(!n||n(o))&&!ot(h,o.overlapMode))return r.push(!0),!0}}}_forEachCell(t,e,i,o,a,r,s,n){const l=this._convertToXCellCoord(t),c=this._convertToYCellCoord(e),h=this._convertToXCellCoord(i),u=this._convertToYCellCoord(o);for(let d=l;d<=h;d++)for(let l=c;l<=u;l++)if(a.call(this,t,e,i,o,this.xCellCount*l+d,r,s,n))return}_convertToXCellCoord(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))}_convertToYCellCoord(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))}_circlesCollide(t,e,i,o,a,r){const s=o-t,n=a-e,l=i+r;return l*l>s*s+n*n}_circleAndRectCollide(t,e,i,o,a,r,s){const n=(r-o)/2,l=Math.abs(t-(o+n));if(l>n+i)return!1;const c=(s-a)/2,h=Math.abs(e-(a+c));if(h>c+i)return!1;if(l<=n||h<=c)return!0;const u=l-n,d=h-c;return u*u+d*d<=i*i}}function rt(e,i,o,a,r){const s=t.create();return i?(t.scale(s,s,[1/r,1/r,1]),o||t.rotateZ(s,s,a.angle)):t.multiply(s,a.labelPlaneMatrix,e),s}function st(e,i,o,a,r){if(i){const i=t.clone(e);return t.scale(i,i,[r,r,1]),o||t.rotateZ(i,i,-a.angle),i}return a.glCoordMatrix}function nt(e,i,o){let a;o?(a=[e.x,e.y,o(e.x,e.y),1],t.transformMat4(a,a,i)):(a=[e.x,e.y,0,1],xt(a,a,i));const r=a[3];return{point:new t.pointGeometry(a[0]/r,a[1]/r),signedDistanceFromCamera:r}}function lt(t,e){return.5+t/e*.5}function ct(t,e){const i=t[0]/t[3],o=t[1]/t[3];return i>=-e[0]&&i<=e[0]&&o>=-e[1]&&o<=e[1]}function ht(e,i,o,a,r,s,n,l,c,h){const u=a?e.textSizeData:e.iconSizeData,d=t.evaluateSizeForZoom(u,o.transform.zoom),m=[256/o.width*2+1,256/o.height*2+1],_=a?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;_.clear();const p=e.lineVertexArray,f=a?e.text.placedSymbolArray:e.icon.placedSymbolArray,g=o.transform.width/o.transform.height;let x=!1;for(let a=0;a<f.length;a++){const v=f.get(a);if(v.hidden||v.writingMode===t.WritingMode.vertical&&!x){gt(v.numGlyphs,_);continue}let y;if(x=!1,h?(y=[v.anchorX,v.anchorY,h(v.anchorX,v.anchorY),1],t.transformMat4(y,y,i)):(y=[v.anchorX,v.anchorY,0,1],xt(y,y,i)),!ct(y,m)){gt(v.numGlyphs,_);continue}const b=lt(o.transform.cameraToCenterDistance,y[3]),w=t.evaluateSizeForFeature(u,d,v),T=n?w/b:w*b,E=new t.pointGeometry(v.anchorX,v.anchorY),I=nt(E,r,h).point,C={},S=mt(v,T,!1,l,i,r,s,e.glyphOffsetArray,p,_,I,E,C,g,c,h);x=S.useVertical,(S.notEnoughRoom||x||S.needsFlipping&&mt(v,T,!0,l,i,r,s,e.glyphOffsetArray,p,_,I,E,C,g,c,h).notEnoughRoom)&&gt(v.numGlyphs,_)}a?e.text.dynamicLayoutVertexBuffer.updateData(_):e.icon.dynamicLayoutVertexBuffer.updateData(_)}function ut(t,e,i,o,a,r,s,n,l,c,h,u,d){const m=n.glyphStartIndex+n.numGlyphs,_=n.lineStartIndex,p=n.lineStartIndex+n.lineLength,f=e.getoffsetX(n.glyphStartIndex),g=e.getoffsetX(m-1),x=pt(t*f,i,o,a,r,s,n.segment,_,p,l,c,h,u,d);if(!x)return null;const v=pt(t*g,i,o,a,r,s,n.segment,_,p,l,c,h,u,d);return v?{first:x,last:v}:null}function dt(e,i,o,a){return e===t.WritingMode.horizontal&&Math.abs(o.y-i.y)>Math.abs(o.x-i.x)*a?{useVertical:!0}:(e===t.WritingMode.vertical?i.y<o.y:i.x>o.x)?{needsFlipping:!0}:null}function mt(e,i,o,a,r,s,n,l,c,h,u,d,m,_,p,f){const g=i/24,x=e.lineOffsetX*g,v=e.lineOffsetY*g;let y;if(e.numGlyphs>1){const t=e.glyphStartIndex+e.numGlyphs,i=e.lineStartIndex,r=e.lineStartIndex+e.lineLength,h=ut(g,l,x,v,o,u,d,e,c,s,m,p,f);if(!h)return{notEnoughRoom:!0};const b=nt(h.first.point,n,f).point,w=nt(h.last.point,n,f).point;if(a&&!o){const t=dt(e.writingMode,b,w,_);if(t)return t}y=[h.first];for(let a=e.glyphStartIndex+1;a<t-1;a++)y.push(pt(g*l.getoffsetX(a),x,v,o,u,d,e.segment,i,r,c,s,m,p,f));y.push(h.last)}else{if(a&&!o){const i=nt(d,r,f).point,o=e.lineStartIndex+e.segment+1,a=new t.pointGeometry(c.getx(o),c.gety(o)),s=nt(a,r,f),n=s.signedDistanceFromCamera>0?s.point:_t(d,a,i,1,r,f),l=dt(e.writingMode,i,n,_);if(l)return l}const i=pt(g*l.getoffsetX(e.glyphStartIndex),x,v,o,u,d,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,c,s,m,p,f);if(!i)return{notEnoughRoom:!0};y=[i]}for(const e of y)t.addDynamicAttributes(h,e.point,e.angle);return{}}function _t(t,e,i,o,a,r){const s=nt(t.add(t.sub(e)._unit()),a,r).point,n=i.sub(s);return i.add(n._mult(o/n.mag()))}function pt(e,i,o,a,r,s,n,l,c,h,u,d,m,_){const p=a?e-i:e+i;let f=p>0?1:-1,g=0;a&&(f*=-1,g=Math.PI),f<0&&(g+=Math.PI);let x=f>0?l+n:l+n+1,v=r,y=r,b=0,w=0;const T=Math.abs(p),E=[];for(;b+w<=T;){if(x+=f,x<l||x>=c)return null;if(y=v,E.push(v),v=d[x],void 0===v){const e=new t.pointGeometry(h.getx(x),h.gety(x)),i=nt(e,u,_);if(i.signedDistanceFromCamera>0)v=d[x]=i.point;else{const i=x-f;v=_t(0===b?s:new t.pointGeometry(h.getx(i),h.gety(i)),e,y,T-b+1,u,_)}}b+=w,w=y.dist(v)}const I=(T-b)/w,C=v.sub(y),S=C.mult(I)._add(y);S._add(C._unit()._perp()._mult(o*f));const D=g+Math.atan2(v.y-y.y,v.x-y.x);return E.push(S),{point:S,angle:m?D:0,path:E}}const ft=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function gt(t,e){for(let i=0;i<t;i++){const t=e.length;e.resize(t+4),e.float32.set(ft,3*t)}}function xt(t,e,i){const o=e[0],a=e[1];return t[0]=i[0]*o+i[4]*a+i[12],t[1]=i[1]*o+i[5]*a+i[13],t[3]=i[3]*o+i[7]*a+i[15],t}const vt=100;class yt{constructor(t,e=new at(t.width+200,t.height+200,25),i=new at(t.width+200,t.height+200,25)){this.transform=t,this.grid=e,this.ignoredGrid=i,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+vt,this.screenBottomBoundary=t.height+vt,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200,this.perspectiveRatioCutoff=.6}placeCollisionBox(t,e,i,o,a,r){const s=this.projectAndGetPerspectiveRatio(o,t.anchorPointX,t.anchorPointY,r),n=i*s.perspectiveRatio,l=t.x1*n+s.point.x,c=t.y1*n+s.point.y,h=t.x2*n+s.point.x,u=t.y2*n+s.point.y;return!this.isInsideGrid(l,c,h,u)||"always"!==e&&this.grid.hitTest(l,c,h,u,e,a)||s.perspectiveRatio<this.perspectiveRatioCutoff?{box:[],offscreen:!1}:{box:[l,c,h,u],offscreen:this.isOffscreen(l,c,h,u)}}placeCollisionCircles(e,i,o,a,r,s,n,l,c,h,u,d,m,_){const p=[],f=new t.pointGeometry(i.anchorX,i.anchorY),g=nt(f,s,_),x=lt(this.transform.cameraToCenterDistance,g.signedDistanceFromCamera),v=(h?r/x:r*x)/t.ONE_EM,y=nt(f,n,_).point,b=ut(v,a,i.lineOffsetX*v,i.lineOffsetY*v,!1,y,f,i,o,n,{},!1,_);let w=!1,T=!1,E=!0;if(b){const i=.5*d*x+m,o=new t.pointGeometry(-100,-100),a=new t.pointGeometry(this.screenRightBoundary,this.screenBottomBoundary),r=new it,s=b.first,n=b.last;let h=[];for(let t=s.path.length-1;t>=1;t--)h.push(s.path[t]);for(let t=1;t<n.path.length;t++)h.push(n.path[t]);const f=2.5*i;if(l){const t=h.map((t=>nt(t,l,_)));h=t.some((t=>t.signedDistanceFromCamera<=0))?[]:t.map((t=>t.point))}let g=[];if(h.length>0){const e=h[0].clone(),i=h[0].clone();for(let t=1;t<h.length;t++)e.x=Math.min(e.x,h[t].x),e.y=Math.min(e.y,h[t].y),i.x=Math.max(i.x,h[t].x),i.y=Math.max(i.y,h[t].y);g=e.x>=o.x&&i.x<=a.x&&e.y>=o.y&&i.y<=a.y?[h]:i.x<o.x||e.x>a.x||i.y<o.y||e.y>a.y?[]:t.clipLine([h],o.x,o.y,a.x,a.y)}for(const t of g){r.reset(t,.25*i);let o=0;o=r.length<=.5*i?1:Math.ceil(r.paddedLength/f)+1;for(let t=0;t<o;t++){const a=t/Math.max(o-1,1),s=r.lerp(a),n=s.x+vt,l=s.y+vt;p.push(n,l,i,0);const h=n-i,d=l-i,m=n+i,_=l+i;if(E=E&&this.isOffscreen(h,d,m,_),T=T||this.isInsideGrid(h,d,m,_),"always"!==e&&this.grid.hitTestCircle(n,l,i,e,u)&&(w=!0,!c))return{circles:[],offscreen:!1,collisionDetected:w}}}}return{circles:!c&&w||!T||x<this.perspectiveRatioCutoff?[]:p,offscreen:E,collisionDetected:w}}queryRenderedSymbols(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};const i=[];let o=1/0,a=1/0,r=-1/0,s=-1/0;for(const n of e){const e=new t.pointGeometry(n.x+vt,n.y+vt);o=Math.min(o,e.x),a=Math.min(a,e.y),r=Math.max(r,e.x),s=Math.max(s,e.y),i.push(e)}const n=this.grid.query(o,a,r,s).concat(this.ignoredGrid.query(o,a,r,s)),l={},c={};for(const e of n){const o=e.key;if(void 0===l[o.bucketInstanceId]&&(l[o.bucketInstanceId]={}),l[o.bucketInstanceId][o.featureIndex])continue;const a=[new t.pointGeometry(e.x1,e.y1),new t.pointGeometry(e.x2,e.y1),new t.pointGeometry(e.x2,e.y2),new t.pointGeometry(e.x1,e.y2)];t.polygonIntersectsPolygon(i,a)&&(l[o.bucketInstanceId][o.featureIndex]=!0,void 0===c[o.bucketInstanceId]&&(c[o.bucketInstanceId]=[]),c[o.bucketInstanceId].push(o.featureIndex))}return c}insertCollisionBox(t,e,i,o,a,r){(i?this.ignoredGrid:this.grid).insert({bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:e},t[0],t[1],t[2],t[3])}insertCollisionCircles(t,e,i,o,a,r){const s=i?this.ignoredGrid:this.grid,n={bucketInstanceId:o,featureIndex:a,collisionGroupID:r,overlapMode:e};for(let e=0;e<t.length;e+=4)s.insertCircle(n,t[e],t[e+1],t[e+2])}projectAndGetPerspectiveRatio(e,i,o,a){let r;return a?(r=[i,o,a(i,o),1],t.transformMat4(r,r,e)):(r=[i,o,0,1],xt(r,r,e)),{point:new t.pointGeometry((r[0]/r[3]+1)/2*this.transform.width+vt,(-r[1]/r[3]+1)/2*this.transform.height+vt),perspectiveRatio:.5+this.transform.cameraToCenterDistance/r[3]*.5}}isOffscreen(t,e,i,o){return i<vt||t>=this.screenRightBoundary||o<vt||e>this.screenBottomBoundary}isInsideGrid(t,e,i,o){return i>=0&&t<this.gridRightBoundary&&o>=0&&e<this.gridBottomBoundary}getViewportMatrix(){const e=t.identity([]);return t.translate(e,e,[-100,-100,0]),e}}function bt(e,i,o){return i*(t.EXTENT/(e.tileSize*Math.pow(2,o-e.tileID.overscaledZ)))}class wt{constructor(t,e,i,o){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):o&&i?1:0,this.placed=i}isHidden(){return 0===this.opacity&&!this.placed}}class Tt{constructor(t,e,i,o,a){this.text=new wt(t?t.text:null,e,i,a),this.icon=new wt(t?t.icon:null,e,o,a)}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class Et{constructor(t,e,i){this.text=t,this.icon=e,this.skipFade=i}}class It{constructor(){this.invProjMatrix=t.create(),this.viewportMatrix=t.create(),this.circles=[]}}class Ct{constructor(t,e,i,o,a){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=i,this.bucketIndex=o,this.tileID=a}}class St{constructor(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={}}get(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){const e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:t=>t.collisionGroupID===e}}return this.collisionGroups[t]}}function Dt(e,i,o,a,r){const{horizontalAlign:s,verticalAlign:n}=t.getAnchorAlignment(e),l=-(s-.5)*i,c=-(n-.5)*o,h=t.evaluateVariableOffset(e,a);return new t.pointGeometry(l+h[0]*r,c+h[1]*r)}function zt(e,i,o,a,r,s){const{x1:n,x2:l,y1:c,y2:h,anchorPointX:u,anchorPointY:d}=e,m=new t.pointGeometry(i,o);return a&&m._rotate(r?s:-s),{x1:n+m.x,y1:c+m.y,x2:l+m.x,y2:h+m.y,anchorPointX:u,anchorPointY:d}}class Pt{constructor(t,e,i,o,a){this.transform=t.clone(),this.terrain=e,this.collisionIndex=new yt(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=i,this.retainedQueryData={},this.collisionGroups=new St(o),this.collisionCircleArrays={},this.prevPlacement=a,a&&(a.prevPlacement=void 0),this.placedOrientations={}}getBucketParts(e,i,o,a){const r=o.getBucket(i),s=o.latestFeatureIndex;if(!r||!s||i.id!==r.layerIds[0])return;const n=o.collisionBoxArray,l=r.layers[0].layout,c=Math.pow(2,this.transform.zoom-o.tileID.overscaledZ),h=o.tileSize/t.EXTENT,u=this.transform.calculatePosMatrix(o.tileID.toUnwrapped()),d="map"===l.get("text-pitch-alignment"),m="map"===l.get("text-rotation-alignment"),_=bt(o,1,this.transform.zoom),p=rt(u,d,m,this.transform,_);let f=null;if(d){const e=st(u,d,m,this.transform,_);f=t.multiply([],this.transform.labelPlaneMatrix,e)}this.retainedQueryData[r.bucketInstanceId]=new Ct(r.bucketInstanceId,s,r.sourceLayerIndex,r.index,o.tileID);const g={bucket:r,layout:l,posMatrix:u,textLabelPlaneMatrix:p,labelToScreenMatrix:f,scale:c,textPixelRatio:h,holdingForFade:o.holdingForFade(),collisionBoxArray:n,partiallyEvaluatedTextSize:t.evaluateSizeForZoom(r.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(r.sourceID)};if(a)for(const t of r.sortKeyRanges){const{sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a}=t;e.push({sortKey:i,symbolInstanceStart:o,symbolInstanceEnd:a,parameters:g})}else e.push({symbolInstanceStart:0,symbolInstanceEnd:r.symbolInstances.length,parameters:g})}attemptAnchorPlacement(t,e,i,o,a,r,s,n,l,c,h,u,d,m,_,p){const f=[u.textOffset0,u.textOffset1],g=Dt(t,i,o,f,a),x=this.collisionIndex.placeCollisionBox(zt(e,g.x,g.y,r,s,this.transform.angle),h,n,l,c.predicate,p);if((!_||0!==this.collisionIndex.placeCollisionBox(zt(_,g.x,g.y,r,s,this.transform.angle),h,n,l,c.predicate,p).box.length)&&x.box.length>0){let e;if(this.prevPlacement&&this.prevPlacement.variableOffsets[u.crossTileID]&&this.prevPlacement.placements[u.crossTileID]&&this.prevPlacement.placements[u.crossTileID].text&&(e=this.prevPlacement.variableOffsets[u.crossTileID].anchor),0===u.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");return this.variableOffsets[u.crossTileID]={textOffset:f,width:i,height:o,anchor:t,textBoxScale:a,prevAnchor:e},this.markUsedJustification(d,t,u,m),d.allowVerticalPlacement&&(this.markUsedOrientation(d,m,u),this.placedOrientations[u.crossTileID]=m),{shift:g,placedGlyphBoxes:x}}}placeLayerBucketPart(e,i,o){const{bucket:a,layout:r,posMatrix:s,textLabelPlaneMatrix:n,labelToScreenMatrix:l,textPixelRatio:c,holdingForFade:h,collisionBoxArray:u,partiallyEvaluatedTextSize:d,collisionGroup:m}=e.parameters,_=r.get("text-optional"),p=r.get("icon-optional"),f=t.getOverlapMode(r,"text-overlap","text-allow-overlap"),g="always"===f,x=t.getOverlapMode(r,"icon-overlap","icon-allow-overlap"),v="always"===x,y="map"===r.get("text-rotation-alignment"),b="map"===r.get("text-pitch-alignment"),w="none"!==r.get("icon-text-fit"),T="viewport-y"===r.get("symbol-z-order"),E=g&&(v||!a.hasIconData()||p),I=v&&(g||!a.hasTextData()||_);!a.collisionArrays&&u&&a.deserializeCollisionBoxes(u);const C=(e,u)=>{if(i[e.crossTileID])return;if(h)return void(this.placements[e.crossTileID]=new Et(!1,!1,!1));let v=!1,T=!1,C=!0,S=null,D={box:null,offscreen:null},z={box:null,offscreen:null},P=null,M=null,A=null,L=0,R=0,k=0;u.textFeatureIndex?L=u.textFeatureIndex:e.useRuntimeCollisionCircles&&(L=e.featureIndex),u.verticalTextFeatureIndex&&(R=u.verticalTextFeatureIndex);const B=this.retainedQueryData[a.bucketInstanceId].tileID,F=this.terrain?(t,e)=>this.terrain.getElevation(B,t,e):null;for(const t of["textBox","verticalTextBox","iconBox","verticalIconBox"]){const e=u[t];e&&(e.elevation=F?F(e.anchorPointX,e.anchorPointY):0)}const O=u.textBox;if(O){const i=i=>{let o=t.WritingMode.horizontal;if(a.allowVerticalPlacement&&!i&&this.prevPlacement){const t=this.prevPlacement.placedOrientations[e.crossTileID];t&&(this.placedOrientations[e.crossTileID]=t,o=t,this.markUsedOrientation(a,o,e))}return o},o=(i,o)=>{if(a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&u.verticalTextBox){for(const e of a.writingModes)if(e===t.WritingMode.vertical?(D=o(),z=D):D=i(),D&&D.box&&D.box.length)break}else D=i()};if(r.get("text-variable-anchor")){let n=r.get("text-variable-anchor");if(this.prevPlacement&&this.prevPlacement.variableOffsets[e.crossTileID]){const t=this.prevPlacement.variableOffsets[e.crossTileID];n.indexOf(t.anchor)>0&&(n=n.filter((e=>e!==t.anchor)),n.unshift(t.anchor))}const l=(t,i,o)=>{const r=t.x2-t.x1,l=t.y2-t.y1,h=e.textBoxScale,u=w&&"never"===x?i:null;let d={box:[],offscreen:!1};const _="never"!==f?2*n.length:n.length;for(let i=0;i<_;++i){const _=this.attemptAnchorPlacement(n[i%n.length],t,r,l,h,y,b,c,s,m,i>=n.length?f:"never",e,a,o,u,F);if(_&&(d=_.placedGlyphBoxes,d&&d.box&&d.box.length)){v=!0,S=_.shift;break}}return d};o((()=>l(O,u.iconBox,t.WritingMode.horizontal)),(()=>{const i=u.verticalTextBox;return a.allowVerticalPlacement&&!(D&&D.box&&D.box.length)&&e.numVerticalGlyphVertices>0&&i?l(i,u.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null}})),D&&(v=D.box,C=D.offscreen);const h=i(D&&D.box);if(!v&&this.prevPlacement){const t=this.prevPlacement.variableOffsets[e.crossTileID];t&&(this.variableOffsets[e.crossTileID]=t,this.markUsedJustification(a,t.anchor,e,h))}}else{const r=(t,i)=>{const o=this.collisionIndex.placeCollisionBox(t,f,c,s,m.predicate,F);return o&&o.box&&o.box.length&&(this.markUsedOrientation(a,i,e),this.placedOrientations[e.crossTileID]=i),o};o((()=>r(O,t.WritingMode.horizontal)),(()=>{const i=u.verticalTextBox;return a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&i?r(i,t.WritingMode.vertical):{box:null,offscreen:null}})),i(D&&D.box&&D.box.length)}}if(P=D,v=P&&P.box&&P.box.length>0,C=P&&P.offscreen,e.useRuntimeCollisionCircles){const i=a.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),c=t.evaluateSizeForFeature(a.textSizeData,d,i),h=r.get("text-padding");M=this.collisionIndex.placeCollisionCircles(f,i,a.lineVertexArray,a.glyphOffsetArray,c,s,n,l,o,b,m.predicate,e.collisionCircleDiameter,h,F),M.circles.length&&M.collisionDetected&&!o&&t.warnOnce("Collisions detected, but collision boxes are not shown"),v=g||M.circles.length>0&&!M.collisionDetected,C=C&&M.offscreen}if(u.iconFeatureIndex&&(k=u.iconFeatureIndex),u.iconBox){const t=t=>{const e=w&&S?zt(t,S.x,S.y,y,b,this.transform.angle):t;return this.collisionIndex.placeCollisionBox(e,x,c,s,m.predicate,F)};z&&z.box&&z.box.length&&u.verticalIconBox?(A=t(u.verticalIconBox),T=A.box.length>0):(A=t(u.iconBox),T=A.box.length>0),C=C&&A.offscreen}const U=_||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,N=p||0===e.numIconVertices;if(U||N?N?U||(T=T&&v):v=T&&v:T=v=T&&v,v&&P&&P.box&&this.collisionIndex.insertCollisionBox(P.box,f,r.get("text-ignore-placement"),a.bucketInstanceId,z&&z.box&&R?R:L,m.ID),T&&A&&this.collisionIndex.insertCollisionBox(A.box,x,r.get("icon-ignore-placement"),a.bucketInstanceId,k,m.ID),M&&(v&&this.collisionIndex.insertCollisionCircles(M.circles,f,r.get("text-ignore-placement"),a.bucketInstanceId,L,m.ID),o)){const t=a.bucketInstanceId;let e=this.collisionCircleArrays[t];void 0===e&&(e=this.collisionCircleArrays[t]=new It);for(let t=0;t<M.circles.length;t+=4)e.circles.push(M.circles[t+0]),e.circles.push(M.circles[t+1]),e.circles.push(M.circles[t+2]),e.circles.push(M.collisionDetected?1:0)}if(0===e.crossTileID)throw new Error("symbolInstance.crossTileID can't be 0");if(0===a.bucketInstanceId)throw new Error("bucket.bucketInstanceId can't be 0");this.placements[e.crossTileID]=new Et(v||E,T||I,C||a.justReloaded),i[e.crossTileID]=!0};if(T){if(0!==e.symbolInstanceStart)throw new Error("bucket.bucketInstanceId should be 0");const t=a.getSortedSymbolIndexes(this.transform.angle);for(let e=t.length-1;e>=0;--e){const i=t[e];C(a.symbolInstances.get(i),a.collisionArrays[i])}}else for(let t=e.symbolInstanceStart;t<e.symbolInstanceEnd;t++)C(a.symbolInstances.get(t),a.collisionArrays[t]);if(o&&a.bucketInstanceId in this.collisionCircleArrays){const e=this.collisionCircleArrays[a.bucketInstanceId];t.invert(e.invProjMatrix,s),e.viewportMatrix=this.collisionIndex.getViewportMatrix()}a.justReloaded=!1}markUsedJustification(e,i,o,a){let r;r=a===t.WritingMode.vertical?o.verticalPlacedTextSymbolIndex:{left:o.leftJustifiedTextSymbolIndex,center:o.centerJustifiedTextSymbolIndex,right:o.rightJustifiedTextSymbolIndex}[t.getAnchorJustification(i)];const s=[o.leftJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.rightJustifiedTextSymbolIndex,o.verticalPlacedTextSymbolIndex];for(const t of s)t>=0&&(e.text.placedSymbolArray.get(t).crossTileID=r>=0&&t!==r?0:o.crossTileID)}markUsedOrientation(e,i,o){const a=i===t.WritingMode.horizontal||i===t.WritingMode.horizontalOnly?i:0,r=i===t.WritingMode.vertical?i:0,s=[o.leftJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.rightJustifiedTextSymbolIndex];for(const t of s)e.text.placedSymbolArray.get(t).placedOrientation=a;o.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).placedOrientation=r)}commit(t){this.commitTime=t,this.zoomAtLastRecencyCheck=this.transform.zoom;const e=this.prevPlacement;let i=!1;this.prevZoomAdjustment=e?e.zoomAdjustment(this.transform.zoom):0;const o=e?e.symbolFadeChange(t):1,a=e?e.opacities:{},r=e?e.variableOffsets:{},s=e?e.placedOrientations:{};for(const t in this.placements){const e=this.placements[t],r=a[t];r?(this.opacities[t]=new Tt(r,o,e.text,e.icon),i=i||e.text!==r.text.placed||e.icon!==r.icon.placed):(this.opacities[t]=new Tt(null,o,e.text,e.icon,e.skipFade),i=i||e.text||e.icon)}for(const t in a){const e=a[t];if(!this.opacities[t]){const a=new Tt(e,o,!1,!1);a.isHidden()||(this.opacities[t]=a,i=i||e.text.placed||e.icon.placed)}}for(const t in r)this.variableOffsets[t]||!this.opacities[t]||this.opacities[t].isHidden()||(this.variableOffsets[t]=r[t]);for(const t in s)this.placedOrientations[t]||!this.opacities[t]||this.opacities[t].isHidden()||(this.placedOrientations[t]=s[t]);if(e&&void 0===e.lastPlacementChangeTime)throw new Error("Last placement time for previous placement is not defined");i?this.lastPlacementChangeTime=t:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t)}updateLayerOpacities(t,e){const i={};for(const o of e){const e=o.getBucket(t);e&&o.latestFeatureIndex&&t.id===e.layerIds[0]&&this.updateBucketOpacities(e,i,o.collisionBoxArray)}}updateBucketOpacities(e,i,o){e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear();const a=e.layers[0].layout,r=new Tt(null,0,!1,!1,!0),s=a.get("text-allow-overlap"),n=a.get("icon-allow-overlap"),l=a.get("text-variable-anchor"),c="map"===a.get("text-rotation-alignment"),h="map"===a.get("text-pitch-alignment"),u="none"!==a.get("icon-text-fit"),d=new Tt(null,0,s&&(n||!e.hasIconData()||a.get("icon-optional")),n&&(s||!e.hasTextData()||a.get("text-optional")),!0);!e.collisionArrays&&o&&(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData())&&e.deserializeCollisionBoxes(o);const m=(t,e,i)=>{for(let o=0;o<e/4;o++)t.opacityVertexArray.emplaceBack(i)};for(let o=0;o<e.symbolInstances.length;o++){const a=e.symbolInstances.get(o),{numHorizontalGlyphVertices:s,numVerticalGlyphVertices:n,crossTileID:_}=a;let p=this.opacities[_];i[_]?p=r:p||(p=d,this.opacities[_]=p),i[_]=!0;const f=a.numIconVertices>0,g=this.placedOrientations[a.crossTileID],x=g===t.WritingMode.vertical,v=g===t.WritingMode.horizontal||g===t.WritingMode.horizontalOnly;if(s>0||n>0){const t=Ut(p.text);m(e.text,s,x?Nt:t),m(e.text,n,v?Nt:t);const i=p.text.isHidden();[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex].forEach((t=>{t>=0&&(e.text.placedSymbolArray.get(t).hidden=i||x?1:0)})),a.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(a.verticalPlacedTextSymbolIndex).hidden=i||v?1:0);const o=this.variableOffsets[a.crossTileID];o&&this.markUsedJustification(e,o.anchor,a,g);const r=this.placedOrientations[a.crossTileID];r&&(this.markUsedJustification(e,"left",a,r),this.markUsedOrientation(e,r,a))}if(f){const t=Ut(p.icon),i=!(u&&a.verticalPlacedIconSymbolIndex&&x);a.placedIconSymbolIndex>=0&&(m(e.icon,a.numIconVertices,i?t:Nt),e.icon.placedSymbolArray.get(a.placedIconSymbolIndex).hidden=p.icon.isHidden()),a.verticalPlacedIconSymbolIndex>=0&&(m(e.icon,a.numVerticalIconVertices,i?Nt:t),e.icon.placedSymbolArray.get(a.verticalPlacedIconSymbolIndex).hidden=p.icon.isHidden())}if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){const i=e.collisionArrays[o];if(i){let o=new t.pointGeometry(0,0);if(i.textBox||i.verticalTextBox){let t=!0;if(l){const e=this.variableOffsets[_];e?(o=Dt(e.anchor,e.width,e.height,e.textOffset,e.textBoxScale),c&&o._rotate(h?this.transform.angle:-this.transform.angle)):t=!1}i.textBox&&Mt(e.textCollisionBox.collisionVertexArray,p.text.placed,!t||x,o.x,o.y),i.verticalTextBox&&Mt(e.textCollisionBox.collisionVertexArray,p.text.placed,!t||v,o.x,o.y)}const a=Boolean(!v&&i.verticalIconBox);i.iconBox&&Mt(e.iconCollisionBox.collisionVertexArray,p.icon.placed,a,u?o.x:0,u?o.y:0),i.verticalIconBox&&Mt(e.iconCollisionBox.collisionVertexArray,p.icon.placed,!a,u?o.x:0,u?o.y:0)}}}if(e.sortFeatures(this.transform.angle),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.text.opacityVertexArray.length!==e.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${e.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${e.text.layoutVertexArray.length}) / 4`);if(e.icon.opacityVertexArray.length!==e.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${e.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${e.icon.layoutVertexArray.length}) / 4`);if(e.bucketInstanceId in this.collisionCircleArrays){const t=this.collisionCircleArrays[e.bucketInstanceId];e.placementInvProjMatrix=t.invProjMatrix,e.placementViewportMatrix=t.viewportMatrix,e.collisionCircleArray=t.circles,delete this.collisionCircleArrays[e.bucketInstanceId]}}symbolFadeChange(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(t){return Math.max(0,(this.transform.zoom-t)/1.5)}hasTransitions(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration}stillRecent(t,e){const i=this.zoomAtLastRecencyCheck===e?1-this.zoomAdjustment(e):1;return this.zoomAtLastRecencyCheck=e,this.commitTime+this.fadeDuration*i>t}setStale(){this.stale=!0}}function Mt(t,e,i,o,a){t.emplaceBack(e?1:0,i?1:0,o||0,a||0),t.emplaceBack(e?1:0,i?1:0,o||0,a||0),t.emplaceBack(e?1:0,i?1:0,o||0,a||0),t.emplaceBack(e?1:0,i?1:0,o||0,a||0)}const At=Math.pow(2,25),Lt=Math.pow(2,24),Rt=Math.pow(2,17),kt=Math.pow(2,16),Bt=Math.pow(2,9),Ft=Math.pow(2,8),Ot=Math.pow(2,1);function Ut(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;const e=t.placed?1:0,i=Math.floor(127*t.opacity);return i*At+e*Lt+i*Rt+e*kt+i*Bt+e*Ft+i*Ot+e}const Nt=0;class Gt{constructor(t){this._sortAcrossTiles="viewport-y"!==t.layout.get("symbol-z-order")&&!t.layout.get("symbol-sort-key").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]}continuePlacement(t,e,i,o,a){const r=this._bucketParts;for(;this._currentTileIndex<t.length;)if(e.getBucketParts(r,o,t[this._currentTileIndex],this._sortAcrossTiles),this._currentTileIndex++,a())return!0;for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,r.sort(((t,e)=>t.sortKey-e.sortKey)));this._currentPartIndex<r.length;)if(e.placeLayerBucketPart(r[this._currentPartIndex],this._seenCrossTileIDs,i),this._currentPartIndex++,a())return!0;return!1}}class Zt{constructor(t,e,i,o,a,r,s,n){this.placement=new Pt(t,e,r,s,n),this._currentPlacementIndex=i.length-1,this._forceFullPlacement=o,this._showCollisionBoxes=a,this._done=!1}isDone(){return this._done}continuePlacement(e,i,o){const a=t.exported.now(),r=()=>{const e=t.exported.now()-a;return!this._forceFullPlacement&&e>2};for(;this._currentPlacementIndex>=0;){const t=i[e[this._currentPlacementIndex]],a=this.placement.collisionIndex.transform.zoom;if("symbol"===t.type&&(!t.minzoom||t.minzoom<=a)&&(!t.maxzoom||t.maxzoom>a)){if(this._inProgressLayer||(this._inProgressLayer=new Gt(t)),this._inProgressLayer.continuePlacement(o[t.source],this.placement,this._showCollisionBoxes,t,r))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(t){return this.placement.commit(t),this.placement}}const Vt=512/t.EXTENT/2;class qt{constructor(t,e,i){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=i;for(let i=0;i<e.length;i++){const o=e.get(i),a=o.key;this.indexedSymbolInstances[a]||(this.indexedSymbolInstances[a]=[]),this.indexedSymbolInstances[a].push({crossTileID:o.crossTileID,coord:this.getScaledCoordinates(o,t)})}}getScaledCoordinates(e,i){const o=Vt/Math.pow(2,i.canonical.z-this.tileID.canonical.z);return{x:Math.floor((i.canonical.x*t.EXTENT+e.anchorX)*o),y:Math.floor((i.canonical.y*t.EXTENT+e.anchorY)*o)}}findMatches(t,e,i){const o=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z);for(let a=0;a<t.length;a++){const r=t.get(a);if(r.crossTileID)continue;const s=this.indexedSymbolInstances[r.key];if(!s)continue;const n=this.getScaledCoordinates(r,e);for(const t of s)if(Math.abs(t.coord.x-n.x)<=o&&Math.abs(t.coord.y-n.y)<=o&&!i[t.crossTileID]){i[t.crossTileID]=!0,r.crossTileID=t.crossTileID;break}}}}class jt{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class $t{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(t){const e=Math.round((t-this.lng)/360);if(0!==e)for(const t in this.indexes){const i=this.indexes[t],o={};for(const t in i){const a=i[t];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+e),o[a.tileID.key]=a}this.indexes[t]=o}this.lng=t}addBucket(t,e,i){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key])}for(let t=0;t<e.symbolInstances.length;t++)e.symbolInstances.get(t).crossTileID=0;this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});const o=this.usedCrossTileIDs[t.overscaledZ];for(const i in this.indexes){const a=this.indexes[i];if(Number(i)>t.overscaledZ)for(const i in a){const r=a[i];r.tileID.isChildOf(t)&&r.findMatches(e.symbolInstances,t,o)}else{const r=a[t.scaledTo(Number(i)).key];r&&r.findMatches(e.symbolInstances,t,o)}}for(let t=0;t<e.symbolInstances.length;t++){const a=e.symbolInstances.get(t);a.crossTileID||(a.crossTileID=i.generate(),o[a.crossTileID]=!0)}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new qt(t,e.symbolInstances,e.bucketInstanceId),!0}removeBucketCrossTileIDs(t,e){for(const i in e.indexedSymbolInstances)for(const o of e.indexedSymbolInstances[i])delete this.usedCrossTileIDs[t][o.crossTileID]}removeStaleBuckets(t){let e=!1;for(const i in this.indexes){const o=this.indexes[i];for(const a in o)t[o[a].bucketInstanceId]||(this.removeBucketCrossTileIDs(i,o[a]),delete o[a],e=!0)}return e}}class Xt{constructor(){this.layerIndexes={},this.crossTileIDs=new jt,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}}addLayer(t,e,i){let o=this.layerIndexes[t.id];void 0===o&&(o=this.layerIndexes[t.id]=new $t);let a=!1;const r={};o.handleWrapJump(i);for(const i of e){const e=i.getBucket(t);e&&t.id===e.layerIds[0]&&(e.bucketInstanceId||(e.bucketInstanceId=++this.maxBucketInstanceId),o.addBucket(i.tileID,e,this.crossTileIDs)&&(a=!0),r[e.bucketInstanceId]=!0)}return o.removeStaleBuckets(r)&&(a=!0),a}pruneUnusedLayers(t){const e={};t.forEach((t=>{e[t]=!0}));for(const t in this.layerIndexes)e[t]||delete this.layerIndexes[t]}}var Wt=t.createLayout([{name:"a_pos",type:"Int16",components:2}]);class Ht extends t.Evented{constructor(t){super(),this.sourceCache=t,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.renderHistory=[],this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.deltaZoom=1,this.renderHistorySize=t._cache.max,t.usedForTerrain=!0,t.tileSize=this.tileSize*2**this.deltaZoom}destruct(){this.sourceCache.usedForTerrain=!1,this.sourceCache.tileSize=null;for(const t in this._tiles){const e=this._tiles[t];e.textures.forEach((t=>t.destroy())),e.textures=[]}}update(e,i){this.sourceCache.update(e,i),this._renderableTilesKeys=[];for(const o of e.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:i}))this._renderableTilesKeys.push(o.key),this._tiles[o.key]||(o.posMatrix=new Float64Array(16),t.ortho(o.posMatrix,0,t.EXTENT,0,t.EXTENT,0,1),this._tiles[o.key]=new k(o,this.tileSize))}removeOutdated(t){const e={};this.renderHistory=this.renderHistory.filter(((t,e)=>this.renderHistory.indexOf(t)===e)).slice(0,this.renderHistorySize);for(const t of this._renderableTilesKeys)e[t]=!0;for(const t of this.renderHistory)e[t]=!0;for(const i in this._tiles)e[i]||(this._tiles[i].clearTextures(t),delete this._tiles[i])}getRenderableTiles(){return this._renderableTilesKeys.map((t=>this.getTileByID(t)))}getTileByID(t){return this._tiles[t]}getTerrainCoords(e){const i={};for(const o of this._renderableTilesKeys){const a=this._tiles[o].tileID;if(a.canonical.equals(e.canonical)){const a=e.clone();a.posMatrix=new Float64Array(16),t.ortho(a.posMatrix,0,t.EXTENT,0,t.EXTENT,0,1),i[o]=a}else if(a.canonical.isChildOf(e.canonical)){const r=e.clone();r.posMatrix=new Float64Array(16);const s=a.canonical.z-e.canonical.z,n=a.canonical.x-(a.canonical.x>>s<<s),l=a.canonical.y-(a.canonical.y>>s<<s),c=t.EXTENT>>s;t.ortho(r.posMatrix,0,c,0,c,0,1),t.translate(r.posMatrix,r.posMatrix,[-n*c,-l*c,0]),i[o]=r}else if(e.canonical.isChildOf(a.canonical)){const r=e.clone();r.posMatrix=new Float64Array(16);const s=e.canonical.z-a.canonical.z,n=e.canonical.x-(e.canonical.x>>s<<s),l=e.canonical.y-(e.canonical.y>>s<<s),c=t.EXTENT>>s;t.ortho(r.posMatrix,0,t.EXTENT,0,t.EXTENT,0,1),t.translate(r.posMatrix,r.posMatrix,[n*c,l*c,0]),t.scale(r.posMatrix,r.posMatrix,[1/2**s,1/2**s,0]),i[o]=r}}return i}getSourceTile(t,e){const i=this.sourceCache._source;let o=t.overscaledZ-this.deltaZoom;if(o>i.maxzoom&&(o=i.maxzoom),o<i.minzoom)return null;this._sourceTileCache[t.key]||(this._sourceTileCache[t.key]=t.scaledTo(o).key);let a=this.sourceCache.getTileByID(this._sourceTileCache[t.key]);if((!a||!a.dem)&&e)for(;o>=i.minzoom&&(!a||!a.dem);)a=this.sourceCache.getTileByID(t.scaledTo(o--).key);return a}tilesAfterTime(t=Date.now()){return Object.values(this._tiles).filter((e=>e.timeLoaded>=t))}}class Kt{constructor(t,e,i){this.style=t,this.sourceCache=new Ht(e),this.options=i,this.exaggeration="number"==typeof i.exaggeration?i.exaggeration:1,this.elevationOffset="number"==typeof i.elevationOffset?i.elevationOffset:450,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024,this.clearRerenderCache()}getDEMElevation(e,i,o,a=t.EXTENT){if(!(i>=0&&i<a&&o>=0&&o<a))return this.elevationOffset;let r=0;const s=this.getTerrainData(e);if(s.tile&&s.tile.dem){const e=t.transformMat4$1([],[i/a*t.EXTENT,o/a*t.EXTENT],s.u_terrain_matrix),n=[e[0]*s.tile.dem.dim,e[1]*s.tile.dem.dim],l=[Math.floor(n[0]),Math.floor(n[1])],c=s.tile.dem.get(l[0],l[1]),h=s.tile.dem.get(l[0],l[1]+1),u=s.tile.dem.get(l[0]+1,l[1]),d=s.tile.dem.get(l[0]+1,l[1]+1);r=t.number(t.number(c,h,n[0]-l[0]),t.number(u,d,n[0]-l[0]),n[1]-l[1])}return r}rememberForRerender(t,e){for(const i in this.sourceCache._tiles){const o=this.sourceCache._tiles[i];(o.tileID.equals(e)||o.tileID.isChildOf(e))&&(t===this.sourceCache.sourceCache.id&&(o.timeLoaded=Date.now()),this._rerender[t]=this._rerender[t]||{},this._rerender[t][o.tileID.key]=!0)}}needsRerender(t,e){return this._rerender[t]&&this._rerender[t][e.key]}clearRerenderCache(){this._rerender={}}getElevation(e,i,o,a=t.EXTENT){return(this.getDEMElevation(e,i,o,a)+this.elevationOffset)*this.exaggeration}getTerrainData(e){if(!this._emptyDemTexture){const e=this.style.map.painter.context,i=new t.RGBAImage({width:1,height:1},new Uint8Array(4));this._emptyDepthTexture=new l(e,i,e.gl.RGBA,{premultiply:!1}),this._emptyDemUnpack=[0,0,0,0],this._emptyDemTexture=new l(e,new t.RGBAImage({width:1,height:1}),e.gl.RGBA,{premultiply:!1}),this._emptyDemTexture.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._emptyDemMatrix=t.identity([])}const i=this.sourceCache.getSourceTile(e,!0);if(i&&i.dem&&(!i.demTexture||i.needsTerrainPrepare)){const t=this.style.map.painter.context;i.demTexture=this.style.map.painter.getTileTexture(i.dem.stride),i.demTexture?i.demTexture.update(i.dem.getPixels(),{premultiply:!1}):i.demTexture=new l(t,i.dem.getPixels(),t.gl.RGBA,{premultiply:!1}),i.demTexture.bind(t.gl.NEAREST,t.gl.CLAMP_TO_EDGE),i.needsTerrainPrepare=!1}const o=i&&i+i.tileID.key+e.key;if(o&&!this._demMatrixCache[o]){const o=this.sourceCache.sourceCache._source.maxzoom;let a=e.canonical.z-i.tileID.canonical.z;e.overscaledZ>e.canonical.z&&(e.canonical.z>=o?a=e.canonical.z-o:t.warnOnce("cannot calculate elevation if elevation maxzoom > source.maxzoom"));const r=e.canonical.x-(e.canonical.x>>a<<a),s=e.canonical.y-(e.canonical.y>>a<<a),n=t.fromScaling(new Float64Array(16),[1/(t.EXTENT<<a),1/(t.EXTENT<<a),0]);t.translate(n,n,[r*t.EXTENT,s*t.EXTENT,0]),this._demMatrixCache[e.key]={matrix:n,coord:e}}return{u_depth:2,u_terrain:3,u_terrain_dim:i&&i.dem&&i.dem.dim||1,u_terrain_matrix:o?this._demMatrixCache[e.key].matrix:this._emptyDemMatrix,u_terrain_unpack:i&&i.dem&&i.dem.getUnpackVector()||this._emptyDemUnpack,u_terrain_offset:this.elevationOffset,u_terrain_exaggeration:this.exaggeration,texture:(i&&i.demTexture||this._emptyDemTexture).texture,depthTexture:(this._fboDepthTexture||this._emptyDepthTexture).texture,tile:i}}getRTTFramebuffer(){const t=this.style.map.painter;if(!this._rttFramebuffer){const e=this.sourceCache.tileSize*this.qualityFactor;this._rttFramebuffer=t.context.createFramebuffer(e,e,!0),this._rttFramebuffer.depthAttachment.set(t.context.createRenderbuffer(t.context.gl.DEPTH_COMPONENT16,e,e))}return this._rttFramebuffer}getFramebuffer(t){const e=this.style.map.painter,i=e.width/devicePixelRatio,o=e.height/devicePixelRatio;return!this._fbo||this._fbo.width===i&&this._fbo.height===o||(this._fbo.destroy(),this._fboCoordsTexture.destroy(),this._fboDepthTexture.destroy(),delete this._fbo,delete this._fboDepthTexture,delete this._fboCoordsTexture),this._fboCoordsTexture||(this._fboCoordsTexture=new l(e.context,{width:i,height:o,data:null},e.context.gl.RGBA,{premultiply:!1}),this._fboCoordsTexture.bind(e.context.gl.NEAREST,e.context.gl.CLAMP_TO_EDGE)),this._fboDepthTexture||(this._fboDepthTexture=new l(e.context,{width:i,height:o,data:null},e.context.gl.RGBA,{premultiply:!1}),this._fboDepthTexture.bind(e.context.gl.NEAREST,e.context.gl.CLAMP_TO_EDGE)),this._fbo||(this._fbo=e.context.createFramebuffer(i,o,!0),this._fbo.depthAttachment.set(e.context.createRenderbuffer(e.context.gl.DEPTH_COMPONENT16,i,o))),this._fbo.colorAttachment.set("coords"===t?this._fboCoordsTexture.texture:this._fboDepthTexture.texture),this._fbo}getCoordsTexture(){const e=this.style.map.painter.context;if(this._coordsTexture)return this._coordsTexture;const i=new Uint8Array(this._coordsTextureSize*this._coordsTextureSize*4);for(let t=0,e=0;t<this._coordsTextureSize;t++)for(let o=0;o<this._coordsTextureSize;o++,e+=4)i[e+0]=255&o,i[e+1]=255&t,i[e+2]=o>>8<<4|t>>8,i[e+3]=0;const o=new t.RGBAImage({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(i.buffer)),a=new l(e,o,e.gl.RGBA,{premultiply:!1});return a.bind(e.gl.NEAREST,e.gl.CLAMP_TO_EDGE),this._coordsTexture=a,a}pointCoordinate(e){const i=new Uint8Array(4),o=this.style.map.painter,a=o.context,r=a.gl;a.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer),r.readPixels(e.x,o.height/devicePixelRatio-e.y-1,1,1,r.RGBA,r.UNSIGNED_BYTE,i),a.bindFramebuffer.set(null);const s=i[0]+(i[2]>>4<<8),n=i[1]+((15&i[2])<<8),l=this.coordsIndex[255-i[3]],c=l&&this.sourceCache.getTileByID(l);if(!c)return null;const h=this._coordsTextureSize,u=(1<<c.tileID.canonical.z)*h;return new t.MercatorCoordinate((c.tileID.canonical.x*h+s)/u,(c.tileID.canonical.y*h+n)/u,this.getElevation(c.tileID,s,n,h))}getTerrainMesh(){if(this._mesh)return this._mesh;const e=this.style.map.painter.context,i=new t.PosArray,o=new t.TriangleIndexArray,a=this.meshSize,r=t.EXTENT/a,s=a*a;for(let t=0;t<=a;t++)for(let e=0;e<=a;e++)i.emplaceBack(e*r,t*r);for(let t=0;t<s;t+=a+1)for(let e=0;e<a;e++)o.emplaceBack(e+t,a+e+t+1,a+e+t+2),o.emplaceBack(e+t,a+e+t+2,e+t+1);return this._mesh={indexBuffer:e.createIndexBuffer(o),vertexBuffer:e.createVertexBuffer(i,Wt.members),segments:t.SegmentVector.simpleSegment(0,0,i.length,o.length)},this._mesh}getMinMaxElevation(t){const e=this.getTerrainData(t).tile,i={minElevation:null,maxElevation:null};return e&&e.dem&&(i.minElevation=(e.dem.min+this.elevationOffset)*this.exaggeration,i.maxElevation=(e.dem.max+this.elevationOffset)*this.exaggeration),i}}const Yt=(e,i)=>t.emitValidationErrors(e,i&&i.filter((t=>"source.canvas"!==t.identifier))),Jt=t.pick(W,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Qt=t.pick(W,["setCenter","setZoom","setBearing","setPitch"]),te=function(){const e={},i=t.spec.$version;for(const o in t.spec.$root){const a=t.spec.$root[o];if(a.required){let t=null;t="version"===o?i:"array"===a.type?[]:{},null!=t&&(e[o]=t)}}return e}();class ee extends t.Evented{constructor(e,i={}){super(),this.map=e,this.dispatcher=new v(j(),this),this.imageManager=new h,this.imageManager.setEventedParent(this),this.glyphManager=new _(e._requestManager,i.localIdeographFontFamily),this.lineAtlas=new x(256,512),this.crossTileSymbolIndex=new Xt,this._layers={},this._serializedLayers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("setReferrer",t.getReferrer());const o=this;this._rtlTextPluginCallback=ee.registerForPluginStateChange((e=>{o.dispatcher.broadcast("syncRTLPluginState",{pluginStatus:e.pluginStatus,pluginURL:e.pluginURL},((e,i)=>{if(t.triggerPluginCompletionEvent(e),i&&i.every((t=>t)))for(const t in o.sourceCaches)o.sourceCaches[t].reload()}))})),this.on("data",(t=>{if("source"!==t.dataType||"metadata"!==t.sourceDataType)return;const e=this.sourceCaches[t.sourceId];if(!e)return;const i=e.getSource();if(i&&i.vectorLayerIds)for(const t in this._layers){const e=this._layers[t];e.source===i.id&&this._validateLayer(e)}}))}loadURL(e,i={}){this.fire(new t.Event("dataloading",{dataType:"style"}));const o="boolean"!=typeof i.validate||i.validate,a=this.map._requestManager.transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(a,((e,i)=>{this._request=null,e?this.fire(new t.ErrorEvent(e)):i&&this._load(i,o)}))}loadJSON(e,i={}){this.fire(new t.Event("dataloading",{dataType:"style"})),this._request=t.exported.frame((()=>{this._request=null,this._load(e,!1!==i.validate)}))}loadEmpty(){this.fire(new t.Event("dataloading",{dataType:"style"})),this._load(te,!1)}_load(e,i){if(i&&Yt(this,t.validateStyle(e)))return;this._loaded=!0,this.stylesheet=e;for(const t in e.sources)this.addSource(t,e.sources[t],{validate:!1});e.sprite?this._loadSprite(e.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(e.glyphs);const o=X(this.stylesheet.layers);this._order=o.map((t=>t.id)),this._layers={},this._serializedLayers={};for(let e of o)e=t.createStyleLayer(e),e.setEventedParent(this,{layer:{id:e.id}}),this._layers[e.id]=e,this._serializedLayers[e.id]=e.serialize();this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new g(this.stylesheet.light),this.setTerrain(this.stylesheet.terrain),this.fire(new t.Event("data",{dataType:"style"})),this.fire(new t.Event("style.load"))}_loadSprite(e){this._spriteRequest=function(e,i,o,a){let r,s,n;const l=o>1?"@2x":"";let c=t.getJSON(i.transformRequest(i.normalizeSpriteURL(e,l,".json"),t.ResourceType.SpriteJSON),((t,e)=>{c=null,n||(n=t,r=e,u())})),h=t.getImage(i.transformRequest(i.normalizeSpriteURL(e,l,".png"),t.ResourceType.SpriteImage),((t,e)=>{h=null,n||(n=t,s=e,u())}));function u(){if(n)a(n);else if(r&&s){const e=t.exported.getImageData(s),i={};for(const o in r){const{width:a,height:s,x:n,y:l,sdf:c,pixelRatio:h,stretchX:u,stretchY:d,content:m}=r[o],_=new t.RGBAImage({width:a,height:s});t.RGBAImage.copy(e,_,{x:n,y:l},{x:0,y:0},{width:a,height:s}),i[o]={data:_,pixelRatio:h,sdf:c,stretchX:u,stretchY:d,content:m}}a(null,i)}}return{cancel(){c&&(c.cancel(),c=null),h&&(h.cancel(),h=null)}}}(e,this.map._requestManager,this.map.getPixelRatio(),((e,i)=>{if(this._spriteRequest=null,e)this.fire(new t.ErrorEvent(e));else if(i)for(const t in i)this.imageManager.addImage(t,i[t]);this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new t.Event("data",{dataType:"style"}))}))}_validateLayer(e){const i=this.sourceCaches[e.source];if(!i)return;const o=e.sourceLayer;if(!o)return;const a=i.getSource();("geojson"===a.type||a.vectorLayerIds&&-1===a.vectorLayerIds.indexOf(o))&&this.fire(new t.ErrorEvent(new Error(`Source layer "${o}" does not exist on source "${a.id}" as specified by style layer "${e.id}".`)))}loaded(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(const t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeLayers(t){const e=[];for(const i of t){const t=this._layers[i];"custom"!==t.type&&e.push(t.serialize())}return e}hasTransitions(){if(this.light&&this.light.hasTransition())return!0;for(const t in this.sourceCaches)if(this.sourceCaches[t].hasTransition())return!0;for(const t in this._layers)if(this._layers[t].hasTransition())return!0;return!1}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading.")}update(e){if(!this._loaded)return;const i=this._changed;if(this._changed){const t=Object.keys(this._updatedLayers),i=Object.keys(this._removedLayers);(t.length||i.length)&&this._updateWorkerLayers(t,i);for(const t in this._updatedSources){const e=this._updatedSources[t];if("reload"===e)this._reloadSource(t);else{if("clear"!==e)throw new Error(`Invalid action ${e}`);this._clearSource(t)}}this._updateTilesForChangedImages();for(const t in this._updatedPaintProps)this._layers[t].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates()}const o={};for(const t in this.sourceCaches){const e=this.sourceCaches[t];o[t]=e.used,e.used=!1}for(const t of this._order){const i=this._layers[t];i.recalculate(e,this._availableImages),!i.isHidden(e.zoom)&&i.source&&(this.sourceCaches[i.source].used=!0)}for(const e in o){const i=this.sourceCaches[e];o[e]!==i.used&&i.fire(new t.Event("data",{sourceDataType:"visibility",dataType:"source",sourceId:e}))}this.light.recalculate(e),this.z=e.zoom,i&&this.fire(new t.Event("data",{dataType:"style"}))}_updateTilesForChangedImages(){const t=Object.keys(this._changedImages);if(t.length){for(const e in this.sourceCaches)this.sourceCaches[e].reloadTilesForDependencies(["icons","patterns"],t);this._changedImages={}}}_updateWorkerLayers(t,e){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(t),removedIds:e})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}}setTerrain(e){if(this._checkLoaded(),this._terrainDataCallback&&this.off("data",this._terrainDataCallback),this._terrainfreezeElevationCallback&&this.map.off("freezeElevation",this._terrainfreezeElevationCallback),e){const t=this.sourceCaches[e.source];if(!t)throw new Error(`cannot load terrain, because there exists no source with ID: ${e.source}`);this.terrain=new Kt(this,t,e),this.map.transform.updateElevation(this.terrain),this._terrainfreezeElevationCallback=t=>{t.freeze?this.map.transform.freezeElevation=!0:(this.map.transform.freezeElevation=!1,this.map.transform.recalculateZoom(this.terrain))},this._terrainDataCallback=t=>{t.tile&&(t.sourceId===e.source?(this.map.transform.updateElevation(this.terrain),this.terrain.rememberForRerender(t.sourceId,t.tile.tileID)):"geojson"===t.source.type&&this.terrain.rememberForRerender(t.sourceId,t.tile.tileID))},this.on("data",this._terrainDataCallback),this.map.on("freezeElevation",this._terrainfreezeElevationCallback)}else this.terrain&&this.terrain.sourceCache.destruct(),this.terrain=null,this.map.transform.updateElevation(this.terrain);this.map.fire(new t.Event("terrain",{terrain:e}))}setState(e){if(this._checkLoaded(),Yt(this,t.validateStyle(e)))return!1;(e=t.clone$1(e)).layers=X(e.layers);const i=function(t,e){if(!t)return[{command:W.setStyle,args:[e]}];let i=[];try{if(!a(t.version,e.version))return[{command:W.setStyle,args:[e]}];a(t.center,e.center)||i.push({command:W.setCenter,args:[e.center]}),a(t.zoom,e.zoom)||i.push({command:W.setZoom,args:[e.zoom]}),a(t.bearing,e.bearing)||i.push({command:W.setBearing,args:[e.bearing]}),a(t.pitch,e.pitch)||i.push({command:W.setPitch,args:[e.pitch]}),a(t.sprite,e.sprite)||i.push({command:W.setSprite,args:[e.sprite]}),a(t.glyphs,e.glyphs)||i.push({command:W.setGlyphs,args:[e.glyphs]}),a(t.transition,e.transition)||i.push({command:W.setTransition,args:[e.transition]}),a(t.light,e.light)||i.push({command:W.setLight,args:[e.light]});const o={},r=[];!function(t,e,i,o){let r;for(r in e=e||{},t=t||{})Object.prototype.hasOwnProperty.call(t,r)&&(Object.prototype.hasOwnProperty.call(e,r)||K(r,i,o));for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Object.prototype.hasOwnProperty.call(t,r)?a(t[r],e[r])||("geojson"===t[r].type&&"geojson"===e[r].type&&J(t,e,r)?i.push({command:W.setGeoJSONSourceData,args:[r,e[r].data]}):Y(r,e,i,o)):H(r,e,i))}(t.sources,e.sources,r,o);const s=[];t.layers&&t.layers.forEach((t=>{o[t.source]?i.push({command:W.removeLayer,args:[t.id]}):s.push(t)})),i=i.concat(r),function(t,e,i){e=e||[];const o=(t=t||[]).map(tt),r=e.map(tt),s=t.reduce(et,{}),n=e.reduce(et,{}),l=o.slice(),c=Object.create(null);let h,u,d,m,_,p,f;for(h=0,u=0;h<o.length;h++)d=o[h],Object.prototype.hasOwnProperty.call(n,d)?u++:(i.push({command:W.removeLayer,args:[d]}),l.splice(l.indexOf(d,u),1));for(h=0,u=0;h<r.length;h++)d=r[r.length-1-h],l[l.length-1-h]!==d&&(Object.prototype.hasOwnProperty.call(s,d)?(i.push({command:W.removeLayer,args:[d]}),l.splice(l.lastIndexOf(d,l.length-u),1)):u++,p=l[l.length-h],i.push({command:W.addLayer,args:[n[d],p]}),l.splice(l.length-h,0,d),c[d]=!0);for(h=0;h<r.length;h++)if(d=r[h],m=s[d],_=n[d],!c[d]&&!a(m,_))if(a(m.source,_.source)&&a(m["source-layer"],_["source-layer"])&&a(m.type,_.type)){for(f in Q(m.layout,_.layout,i,d,null,W.setLayoutProperty),Q(m.paint,_.paint,i,d,null,W.setPaintProperty),a(m.filter,_.filter)||i.push({command:W.setFilter,args:[d,_.filter]}),a(m.minzoom,_.minzoom)&&a(m.maxzoom,_.maxzoom)||i.push({command:W.setLayerZoomRange,args:[d,_.minzoom,_.maxzoom]}),m)Object.prototype.hasOwnProperty.call(m,f)&&"layout"!==f&&"paint"!==f&&"filter"!==f&&"metadata"!==f&&"minzoom"!==f&&"maxzoom"!==f&&(0===f.indexOf("paint.")?Q(m[f],_[f],i,d,f.slice(6),W.setPaintProperty):a(m[f],_[f])||i.push({command:W.setLayerProperty,args:[d,f,_[f]]}));for(f in _)Object.prototype.hasOwnProperty.call(_,f)&&!Object.prototype.hasOwnProperty.call(m,f)&&"layout"!==f&&"paint"!==f&&"filter"!==f&&"metadata"!==f&&"minzoom"!==f&&"maxzoom"!==f&&(0===f.indexOf("paint.")?Q(m[f],_[f],i,d,f.slice(6),W.setPaintProperty):a(m[f],_[f])||i.push({command:W.setLayerProperty,args:[d,f,_[f]]}))}else i.push({command:W.removeLayer,args:[d]}),p=l[l.lastIndexOf(d)+1],i.push({command:W.addLayer,args:[_,p]})}(s,e.layers,i)}catch(t){console.warn("Unable to compute style diff:",t),i=[{command:W.setStyle,args:[e]}]}return i}(this.serialize(),e).filter((t=>!(t.command in Qt)));if(0===i.length)return!1;const o=i.filter((t=>!(t.command in Jt)));if(o.length>0)throw new Error(`Unimplemented: ${o.map((t=>t.command)).join(", ")}.`);return i.forEach((t=>{"setTransition"!==t.command&&this[t.command].apply(this,t.args)})),this.stylesheet=e,!0}addImage(e,i){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error(`An image named "${e}" already exists.`)));this.imageManager.addImage(e,i),this._afterImageUpdated(e)}updateImage(t,e){this.imageManager.updateImage(t,e)}getImage(t){return this.imageManager.getImage(t)}removeImage(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error(`An image named "${e}" does not exist.`)));this.imageManager.removeImage(e),this._afterImageUpdated(e)}_afterImageUpdated(e){this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new t.Event("data",{dataType:"style"}))}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(e,i,o={}){if(this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error(`Source "${e}" already exists.`);if(!i.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(i).join(", ")}.`);if(["vector","raster","geojson","video","image"].indexOf(i.type)>=0&&this._validate(t.validateStyle.source,`sources.${e}`,i,null,o))return;this.map&&this.map._collectResourceTiming&&(i.collectResourceTiming=!0);const a=this.sourceCaches[e]=new O(e,i,this.dispatcher);a.style=this,a.setEventedParent(this,(()=>({isSourceLoaded:this.loaded(),source:a.serialize(),sourceId:e}))),a.onAdd(this.map),this._changed=!0}removeSource(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(const i in this._layers)if(this._layers[i].source===e)return this.fire(new t.ErrorEvent(new Error(`Source "${e}" cannot be removed while layer "${i}" is using it.`)));const i=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],i.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.onRemove(this.map),this._changed=!0}setGeoJSONSourceData(t,e){if(this._checkLoaded(),void 0===this.sourceCaches[t])throw new Error(`There is no source with this ID=${t}`);const i=this.sourceCaches[t].getSource();if("geojson"!==i.type)throw new Error(`geojsonSource.type is ${i.type}, which is !== 'geojson`);i.setData(e),this._changed=!0}getSource(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()}addLayer(e,i,o={}){this._checkLoaded();const a=e.id;if(this.getLayer(a))return void this.fire(new t.ErrorEvent(new Error(`Layer "${a}" already exists on this map.`)));let r;if("custom"===e.type){if(Yt(this,t.validateCustomStyleLayer(e)))return;r=t.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(a,e.source),e=t.clone$1(e),e=t.extend(e,{source:a})),this._validate(t.validateStyle.layer,`layers.${a}`,e,{arrayIndex:-1},o))return;r=t.createStyleLayer(e),this._validateLayer(r),r.setEventedParent(this,{layer:{id:a}}),this._serializedLayers[r.id]=r.serialize()}const s=i?this._order.indexOf(i):this._order.length;if(i&&-1===s)this.fire(new t.ErrorEvent(new Error(`Cannot add layer "${a}" before non-existing layer "${i}".`)));else{if(this._order.splice(s,0,a),this._layerOrderChanged=!0,this._layers[a]=r,this._removedLayers[a]&&r.source&&"custom"!==r.type){const t=this._removedLayers[a];delete this._removedLayers[a],t.type!==r.type?this._updatedSources[r.source]="clear":(this._updatedSources[r.source]="reload",this.sourceCaches[r.source].pause())}this._updateLayer(r),r.onAdd&&r.onAdd(this.map)}}moveLayer(e,i){if(this._checkLoaded(),this._changed=!0,!this._layers[e])return void this.fire(new t.ErrorEvent(new Error(`The layer '${e}' does not exist in the map's style and cannot be moved.`)));if(e===i)return;const o=this._order.indexOf(e);this._order.splice(o,1);const a=i?this._order.indexOf(i):this._order.length;i&&-1===a?this.fire(new t.ErrorEvent(new Error(`Cannot move layer "${e}" before non-existing layer "${i}".`))):(this._order.splice(a,0,e),this._layerOrderChanged=!0)}removeLayer(e){this._checkLoaded();const i=this._layers[e];if(!i)return void this.fire(new t.ErrorEvent(new Error(`Cannot remove non-existing layer "${e}".`)));i.setEventedParent(null);const o=this._order.indexOf(e);this._order.splice(o,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=i,delete this._layers[e],delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],i.onRemove&&i.onRemove(this.map)}getLayer(t){return this._layers[t]}hasLayer(t){return t in this._layers}setLayerZoomRange(e,i,o){this._checkLoaded();const a=this.getLayer(e);a?a.minzoom===i&&a.maxzoom===o||(null!=i&&(a.minzoom=i),null!=o&&(a.maxzoom=o),this._updateLayer(a)):this.fire(new t.ErrorEvent(new Error(`Cannot set the zoom range of non-existing layer "${e}".`)))}setFilter(e,i,o={}){this._checkLoaded();const r=this.getLayer(e);if(r){if(!a(r.filter,i))return null==i?(r.filter=void 0,void this._updateLayer(r)):void(this._validate(t.validateStyle.filter,`layers.${r.id}.filter`,i,null,o)||(r.filter=t.clone$1(i),this._updateLayer(r)))}else this.fire(new t.ErrorEvent(new Error(`Cannot filter non-existing layer "${e}".`)))}getFilter(e){return t.clone$1(this.getLayer(e).filter)}setLayoutProperty(e,i,o,r={}){this._checkLoaded();const s=this.getLayer(e);s?a(s.getLayoutProperty(i),o)||(s.setLayoutProperty(i,o,r),this._updateLayer(s)):this.fire(new t.ErrorEvent(new Error(`Cannot style non-existing layer "${e}".`)))}getLayoutProperty(e,i){const o=this.getLayer(e);if(o)return o.getLayoutProperty(i);this.fire(new t.ErrorEvent(new Error(`Cannot get style of non-existing layer "${e}".`)))}setPaintProperty(e,i,o,r={}){this._checkLoaded();const s=this.getLayer(e);s?a(s.getPaintProperty(i),o)||(s.setPaintProperty(i,o,r)&&this._updateLayer(s),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error(`Cannot style non-existing layer "${e}".`)))}getPaintProperty(t,e){return this.getLayer(t).getPaintProperty(e)}setFeatureState(e,i){this._checkLoaded();const o=e.source,a=e.sourceLayer,r=this.sourceCaches[o];if(void 0===r)return void this.fire(new t.ErrorEvent(new Error(`The source '${o}' does not exist in the map's style.`)));const s=r.getSource().type;"geojson"===s&&a?this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||a?(void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided."))),r.setFeatureState(a,e.id,i)):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}removeFeatureState(e,i){this._checkLoaded();const o=e.source,a=this.sourceCaches[o];if(void 0===a)return void this.fire(new t.ErrorEvent(new Error(`The source '${o}' does not exist in the map's style.`)));const r=a.getSource().type,s="vector"===r?e.sourceLayer:void 0;"vector"!==r||s?i&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.ErrorEvent(new Error("A feature id is required to remove its specific state property."))):a.removeFeatureState(s,e.id,i):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}getFeatureState(e){this._checkLoaded();const i=e.source,o=e.sourceLayer,a=this.sourceCaches[i];if(void 0!==a)return"vector"!==a.getSource().type||o?(void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided."))),a.getFeatureState(o,e.id)):void this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));this.fire(new t.ErrorEvent(new Error(`The source '${i}' does not exist in the map's style.`)))}getTransition(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(t=>t.serialize())),layers:this._serializeLayers(this._order)},(t=>void 0!==t))}_updateLayer(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&"raster"!==this.sourceCaches[t.source].getSource().type&&(this._updatedSources[t.source]="reload",this.sourceCaches[t.source].pause()),this._changed=!0}_flattenAndSortRenderedFeatures(t){const e=t=>"fill-extrusion"===this._layers[t].type,i={},o=[];for(let a=this._order.length-1;a>=0;a--){const r=this._order[a];if(e(r)){i[r]=a;for(const e of t){const t=e[r];if(t)for(const e of t)o.push(e)}}}o.sort(((t,e)=>e.intersectionZ-t.intersectionZ));const a=[];for(let r=this._order.length-1;r>=0;r--){const s=this._order[r];if(e(s))for(let t=o.length-1;t>=0;t--){const e=o[t].feature;if(i[e.layer.id]<r)break;a.push(e),o.pop()}else for(const e of t){const t=e[s];if(t)for(const e of t)a.push(e.feature)}}return a}queryRenderedFeatures(e,i,o){i&&i.filter&&this._validate(t.validateStyle.filter,"queryRenderedFeatures.filter",i.filter,null,i);const a={};if(i&&i.layers){if(!Array.isArray(i.layers))return this.fire(new t.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(const e of i.layers){const i=this._layers[e];if(!i)return this.fire(new t.ErrorEvent(new Error(`The layer '${e}' does not exist in the map's style and cannot be queried for features.`))),[];a[i.source]=!0}}const r=[];i.availableImages=this._availableImages;for(const t in this.sourceCaches)i.layers&&!a[t]||r.push(L(this.sourceCaches[t],this._layers,this._serializedLayers,e,i,o));return this.placement&&r.push(function(t,e,i,o,a,r,s){const n={},l=r.queryRenderedSymbols(o),c=[];for(const t of Object.keys(l).map(Number))c.push(s[t]);c.sort(R);for(const i of c){const o=i.featureIndex.lookupSymbolFeatures(l[i.bucketInstanceId],e,i.bucketIndex,i.sourceLayerIndex,a.filter,a.layers,a.availableImages,t);for(const t in o){const e=n[t]=n[t]||[],a=o[t];a.sort(((t,e)=>{const o=i.featureSortOrder;if(o){const i=o.indexOf(t.featureIndex);return o.indexOf(e.featureIndex)-i}return e.featureIndex-t.featureIndex}));for(const t of a)e.push(t)}}for(const e in n)n[e].forEach((o=>{const a=o.feature,r=i[t[e].source].getFeatureState(a.layer["source-layer"],a.id);a.source=a.layer.source,a.layer["source-layer"]&&(a.sourceLayer=a.layer["source-layer"]),a.state=r}));return n}(this._layers,this._serializedLayers,this.sourceCaches,e,i,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(r)}querySourceFeatures(e,i){i&&i.filter&&this._validate(t.validateStyle.filter,"querySourceFeatures.filter",i.filter,null,i);const o=this.sourceCaches[e];return o?function(t,e){const i=t.getRenderableIds().map((e=>t.getTileByID(e))),o=[],a={};for(let t=0;t<i.length;t++){const r=i[t],s=r.tileID.canonical.key;a[s]||(a[s]=!0,r.querySourceFeatures(o,e))}return o}(o,i):[]}addSourceType(t,e,i){return ee.getSourceType(t)?i(new Error(`A source type called "${t}" already exists.`)):(ee.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:t,url:e.workerSourceURL},i):i(null,null))}getLight(){return this.light.getLight()}setLight(e,i={}){this._checkLoaded();const o=this.light.getLight();let r=!1;for(const t in e)if(!a(e[t],o[t])){r=!0;break}if(!r)return;const s={now:t.exported.now(),transition:t.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,i),this.light.updateTransitions(s)}_validate(e,i,o,a,r={}){return(!r||!1!==r.validate)&&Yt(this,e.call(t.validateStyle,t.extend({key:i,style:this.serialize(),value:o,styleSpec:t.spec},a)))}_remove(){this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off("pluginStateChange",this._rtlTextPluginCallback);for(const t in this._layers)this._layers[t].setEventedParent(null);for(const t in this.sourceCaches){const e=this.sourceCaches[t];e.setEventedParent(null),e.onRemove(this.map)}this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()}_clearSource(t){this.sourceCaches[t].clearTiles()}_reloadSource(t){this.sourceCaches[t].resume(),this.sourceCaches[t].reload()}_updateSources(t){for(const e in this.sourceCaches)this.sourceCaches[e].update(t,this.terrain)}_generateCollisionBoxes(){for(const t in this.sourceCaches)this._reloadSource(t)}_updatePlacement(e,i,o,a,r=!1){let s=!1,n=!1;const l={};for(const t of this._order){const i=this._layers[t];if("symbol"!==i.type)continue;if(!l[i.source]){const t=this.sourceCaches[i.source];l[i.source]=t.getRenderableIds(!0).map((e=>t.getTileByID(e))).sort(((t,e)=>e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)))}const o=this.crossTileSymbolIndex.addLayer(i,l[i.source],e.center.lng);s=s||o}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((r=r||this._layerOrderChanged||0===o)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.exported.now(),e.zoom))&&(this.pauseablePlacement=new Zt(e,this.terrain,this._order,r,i,o,a,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,l),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(t.exported.now()),n=!0),s&&this.pauseablePlacement.placement.setStale()),n||s)for(const t of this._order){const e=this._layers[t];"symbol"===e.type&&this.placement.updateLayerOpacities(e,l[e.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.exported.now())}_releaseSymbolFadeTiles(){for(const t in this.sourceCaches)this.sourceCaches[t].releaseSymbolFadeTiles()}getImages(t,e,i){this.imageManager.getImages(e.icons,i),this._updateTilesForChangedImages();const o=this.sourceCaches[e.source];o&&o.setDependencies(e.tileID.key,e.type,e.icons)}getGlyphs(t,e,i){this.glyphManager.getGlyphs(e.stacks,i)}getResource(e,i,o){return t.makeRequest(i,o)}}ee.getSourceType=function(t){return M[t]},ee.setSourceType=function(t,e){M[t]=e},ee.registerForPluginStateChange=t.registerForPluginStateChange;var ie="attribute vec2 a_pos;uniform mat4 u_matrix;varying vec2 v_texture_pos;varying float v_depth;void main() {v_texture_pos=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos,get_elevation(a_pos),1.0);v_depth=gl_Position.z/gl_Position.w;}";const oe={prelude:ae("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}\n#ifdef TERRAIN3D\nuniform sampler2D u_terrain;uniform float u_terrain_dim;uniform mat4 u_terrain_matrix;uniform vec4 u_terrain_unpack;uniform float u_terrain_offset;uniform float u_terrain_exaggeration;uniform highp sampler2D u_depth;\n#endif\nconst highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitShifts=vec4(1.)/bitSh;highp float unpack(highp vec4 color) {return dot(color,bitShifts);}highp float depthOpacity(vec3 frag) {\n#ifdef TERRAIN3D\nhighp float d=unpack(texture2D(u_depth,frag.xy*0.5+0.5))+0.0001-frag.z;return 1.0-max(0.0,min(1.0,-d*500.0));\n#else\nreturn 1.0;\n#endif\n}float calculate_visibility(vec4 pos) {\n#ifdef TERRAIN3D\nvec3 frag=pos.xyz/pos.w;highp float d=depthOpacity(frag);if (d > 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0;\n#else\nreturn 1.0;\n#endif\n}float ele(vec2 pos) {\n#ifdef TERRAIN3D\nvec4 rgb=(texture2D(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a;\n#else\nreturn 0.0;\n#endif\n}float get_elevation(vec2 pos) {\n#ifdef TERRAIN3D\nvec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return (elevation+u_terrain_offset)*u_terrain_exaggeration;\n#else\nreturn 0.0;\n#endif\n}"),background:ae("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),backgroundPattern:ae("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),circle:ae("varying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);float ele=get_elevation(circle_center);v_visibility=calculate_visibility(u_matrix*vec4(circle_center,ele,1.0));if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,ele,1);} else {gl_Position=u_matrix*vec4(circle_center,ele,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),clippingMask:ae("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),heatmap:ae("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),heatmapTexture:ae("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),collisionBox:ae("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,get_elevation(a_pos),1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:ae("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),debug:ae("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,get_elevation(a_pos),1);}"),fill:ae("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),fillOutline:ae("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),fillOutlinePattern:ae("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),fillPattern:ae("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),fillExtrusion:ae("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;\n#ifdef TERRAIN3D\nattribute vec2 a_centroid;\n#endif\nvarying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;\n#ifdef TERRAIN3D\nfloat baseDelta=10.0;float ele=get_elevation(a_centroid);\n#else\nfloat baseDelta=0.0;float ele=0.0;\n#endif\nbase=max(0.0,ele+base-baseDelta);height=max(0.0,ele+height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),fillExtrusionPattern:ae("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;\n#ifdef TERRAIN3D\nattribute vec2 a_centroid;\n#endif\nvarying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;\n#ifdef TERRAIN3D\nfloat baseDelta=10.0;float ele=get_elevation(a_centroid);\n#else\nfloat baseDelta=0.0;float ele=0.0;\n#endif\nbase=max(0.0,ele+base-baseDelta);height=max(0.0,ele+height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),hillshadePrepare:ae("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:ae("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),line:ae("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),lineGradient:ae("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_width2=vec2(outset,inset);}"),linePattern:ae("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),lineSDF:ae("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;\n#ifdef TERRAIN3D\nv_gamma_scale=1.0;\n#else\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#endif\nv_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),raster:ae("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),symbolIcon:ae("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,ele,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),ele,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,ele,1.0);float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),z,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));}"),symbolSDF:ae("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,ele,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),ele,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,ele,1.0);float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),z,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),symbolTextAndIcon:ae("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,ele,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),ele,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,ele,1.0);float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),z,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}"),terrain:ae("uniform sampler2D u_texture;varying vec2 v_texture_pos;void main() {gl_FragColor=texture2D(u_texture,v_texture_pos);}",ie),terrainDepth:ae("varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}",ie),terrainCoords:ae("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}",ie)};function ae(t,e){const i=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,o=e.match(/attribute ([\w]+) ([\w]+)/g),a=t.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),r=e.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),s=r?r.concat(a):a,n={};return{fragmentSource:t=t.replace(i,((t,e,i,o,a)=>(n[a]=!0,"define"===e?`\n#ifndef HAS_UNIFORM_u_${a}\nvarying ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = u_${a};\n#endif\n`))),vertexSource:e=e.replace(i,((t,e,i,o,a)=>{const r="float"===o?"vec2":"vec4",s=a.match(/color/)?"color":r;return n[a]?"define"===e?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nattribute ${i} ${r} a_${a};\nvarying ${i} ${o} ${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:"define"===e?`\n#ifndef HAS_UNIFORM_u_${a}\nuniform lowp float u_${a}_t;\nattribute ${i} ${r} a_${a};\n#else\nuniform ${i} ${o} u_${a};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = a_${a};\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${a}\n ${i} ${o} ${a} = unpack_mix_${s}(a_${a}, u_${a}_t);\n#else\n ${i} ${o} ${a} = u_${a};\n#endif\n`})),staticAttributes:o,staticUniforms:s}}class re{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(t,e,i,o,a,r,s,n,l){this.context=t;let c=this.boundPaintVertexBuffers.length!==o.length;for(let t=0;!c&&t<o.length;t++)this.boundPaintVertexBuffers[t]!==o[t]&&(c=!0);t.extVertexArrayObject&&this.vao&&this.boundProgram===e&&this.boundLayoutVertexBuffer===i&&!c&&this.boundIndexBuffer===a&&this.boundVertexOffset===r&&this.boundDynamicVertexBuffer===s&&this.boundDynamicVertexBuffer2===n&&this.boundDynamicVertexBuffer3===l?(t.bindVertexArrayOES.set(this.vao),s&&s.bind(),a&&a.dynamicDraw&&a.bind(),n&&n.bind(),l&&l.bind()):this.freshBind(e,i,o,a,r,s,n,l)}freshBind(t,e,i,o,a,r,s,n){let l;const c=t.numAttributes,h=this.context,u=h.gl;if(h.extVertexArrayObject)this.vao&&this.destroy(),this.vao=h.extVertexArrayObject.createVertexArrayOES(),h.bindVertexArrayOES.set(this.vao),l=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=i,this.boundIndexBuffer=o,this.boundVertexOffset=a,this.boundDynamicVertexBuffer=r,this.boundDynamicVertexBuffer2=s,this.boundDynamicVertexBuffer3=n;else{l=h.currentNumAttributes||0;for(let t=c;t<l;t++)u.disableVertexAttribArray(t)}e.enableAttributes(u,t);for(const e of i)e.enableAttributes(u,t);r&&r.enableAttributes(u,t),s&&s.enableAttributes(u,t),n&&n.enableAttributes(u,t),e.bind(),e.setVertexAttribPointers(u,t,a);for(const e of i)e.bind(),e.setVertexAttribPointers(u,t,a);r&&(r.bind(),r.setVertexAttribPointers(u,t,a)),o&&o.bind(),s&&(s.bind(),s.setVertexAttribPointers(u,t,a)),n&&(n.bind(),n.setVertexAttribPointers(u,t,a)),h.currentNumAttributes=c}destroy(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)}}function se(t){const e=[];for(let i=0;i<t.length;i++){if(null===t[i])continue;const o=t[i].split(" ");e.push(o.pop())}return e}class ne{constructor(e,i,o,a,r,s,n){const l=e.gl;this.program=l.createProgram();const c=se(o.staticAttributes),h=a?a.getBinderAttributes():[],u=c.concat(h),d=oe.prelude.staticUniforms?se(oe.prelude.staticUniforms):[],m=o.staticUniforms?se(o.staticUniforms):[],_=a?a.getBinderUniforms():[],p=d.concat(m).concat(_),f=[];for(const t of p)f.indexOf(t)<0&&f.push(t);const g=a?a.defines():[];s&&g.push("#define OVERDRAW_INSPECTOR;"),n&&g.push("#define TERRAIN3D;");const x=g.concat(oe.prelude.fragmentSource,o.fragmentSource).join("\n"),v=g.concat(oe.prelude.vertexSource,o.vertexSource).join("\n"),y=l.createShader(l.FRAGMENT_SHADER);if(l.isContextLost())return void(this.failedToCreate=!0);l.shaderSource(y,x),l.compileShader(y),l.attachShader(this.program,y);const b=l.createShader(l.VERTEX_SHADER);if(l.isContextLost())return void(this.failedToCreate=!0);l.shaderSource(b,v),l.compileShader(b),l.attachShader(this.program,b),this.attributes={};const w={};this.numAttributes=u.length;for(let t=0;t<this.numAttributes;t++)u[t]&&(l.bindAttribLocation(this.program,t,u[t]),this.attributes[u[t]]=t);l.linkProgram(this.program),l.deleteShader(b),l.deleteShader(y);for(let t=0;t<f.length;t++){const e=f[t];if(e&&!w[e]){const t=l.getUniformLocation(this.program,e);t&&(w[e]=t)}}this.fixedUniforms=r(e,w),this.terrainUniforms=((e,i)=>({u_depth:new t.Uniform1i(e,i.u_depth),u_terrain:new t.Uniform1i(e,i.u_terrain),u_terrain_dim:new t.Uniform1f(e,i.u_terrain_dim),u_terrain_matrix:new t.UniformMatrix4f(e,i.u_terrain_matrix),u_terrain_unpack:new t.Uniform4f(e,i.u_terrain_unpack),u_terrain_offset:new t.Uniform1f(e,i.u_terrain_offset),u_terrain_exaggeration:new t.Uniform1f(e,i.u_terrain_exaggeration)}))(e,w),this.binderUniforms=a?a.getUniforms(e,w):[]}draw(t,e,i,o,a,r,s,n,l,c,h,u,d,m,_,p,f,g){const x=t.gl;if(this.failedToCreate)return;if(t.program.set(this.program),t.setDepthMode(i),t.setStencilMode(o),t.setColorMode(a),t.setCullFace(r),n){t.activeTexture.set(x.TEXTURE2),x.bindTexture(x.TEXTURE_2D,n.depthTexture),t.activeTexture.set(x.TEXTURE3),x.bindTexture(x.TEXTURE_2D,n.texture);for(const t in this.terrainUniforms)this.terrainUniforms[t].set(n[t])}for(const t in this.fixedUniforms)this.fixedUniforms[t].set(s[t]);_&&_.setUniforms(t,this.binderUniforms,d,{zoom:m});let v=0;switch(e){case x.LINES:v=2;break;case x.TRIANGLES:v=3;break;case x.LINE_STRIP:v=1}for(const i of u.get()){const o=i.vaos||(i.vaos={});(o[l]||(o[l]=new re)).bind(t,this,c,_?_.getPaintVertexBuffers():[],h,i.vertexOffset,p,f,g),x.drawElements(e,i.primitiveLength*v,x.UNSIGNED_SHORT,i.primitiveOffset*v*2)}}}function le(t,e,i){const o=1/bt(i,1,e.transform.tileZoom),a=Math.pow(2,i.tileID.overscaledZ),r=i.tileSize*Math.pow(2,e.transform.tileZoom)/a,s=r*(i.tileID.canonical.x+i.tileID.wrap*a),n=r*i.tileID.canonical.y;return{u_image:0,u_texsize:i.imageAtlasTexture.size,u_scale:[o,t.fromScale,t.toScale],u_fade:t.t,u_pixel_coord_upper:[s>>16,n>>16],u_pixel_coord_lower:[65535&s,65535&n]}}const ce=(e,i,o,a)=>{const r=i.style.light,s=r.properties.get("position"),n=[s.x,s.y,s.z],l=t.create$1();"viewport"===r.properties.get("anchor")&&t.fromRotation(l,-i.transform.angle),t.transformMat3(n,n,l);const c=r.properties.get("color");return{u_matrix:e,u_lightpos:n,u_lightintensity:r.properties.get("intensity"),u_lightcolor:[c.r,c.g,c.b],u_vertical_gradient:+o,u_opacity:a}},he=(e,i,o,a,r,s,n)=>t.extend(ce(e,i,o,a),le(s,i,n),{u_height_factor:-Math.pow(2,r.overscaledZ)/n.tileSize/8}),ue=t=>({u_matrix:t}),de=(e,i,o,a)=>t.extend(ue(e),le(o,i,a)),me=(t,e)=>({u_matrix:t,u_world:e}),_e=(e,i,o,a,r)=>t.extend(de(e,i,o,a),{u_world:r}),pe=(t,e,i,o)=>{const a=t.transform;let r,s;if("map"===o.paint.get("circle-pitch-alignment")){const t=bt(i,1,a.zoom);r=!0,s=[t,t]}else r=!1,s=a.pixelsToGLUnits;return{u_camera_to_center_distance:a.cameraToCenterDistance,u_scale_with_map:+("map"===o.paint.get("circle-pitch-scale")),u_matrix:t.translatePosMatrix(e.posMatrix,i,o.paint.get("circle-translate"),o.paint.get("circle-translate-anchor")),u_pitch_with_map:+r,u_device_pixel_ratio:t.pixelRatio,u_extrude_scale:s}},fe=(t,e,i)=>{const o=bt(i,1,e.zoom),a=Math.pow(2,e.zoom-i.tileID.overscaledZ),r=i.tileID.overscaleFactor();return{u_matrix:t,u_camera_to_center_distance:e.cameraToCenterDistance,u_pixels_to_tile_units:o,u_extrude_scale:[e.pixelsToGLUnits[0]/(o*a),e.pixelsToGLUnits[1]/(o*a)],u_overscale_factor:r}},ge=(t,e,i=1)=>({u_matrix:t,u_color:e,u_overlay:0,u_overlay_scale:i}),xe=t=>({u_matrix:t}),ve=(t,e,i,o)=>({u_matrix:t,u_extrude_scale:bt(e,1,i),u_intensity:o});function ye(e,i){const o=Math.pow(2,i.canonical.z),a=i.canonical.y;return[new t.MercatorCoordinate(0,a/o).toLngLat().lat,new t.MercatorCoordinate(0,(a+1)/o).toLngLat().lat]}const be=(t,e,i,o)=>{const a=t.transform;return{u_matrix:Ce(t,e,i,o),u_ratio:1/bt(e,1,a.zoom),u_device_pixel_ratio:t.pixelRatio,u_units_to_pixels:[1/a.pixelsToGLUnits[0],1/a.pixelsToGLUnits[1]]}},we=(e,i,o,a,r)=>t.extend(be(e,i,o,r),{u_image:0,u_image_height:a}),Te=(t,e,i,o,a)=>{const r=t.transform,s=Ie(e,r);return{u_matrix:Ce(t,e,i,a),u_texsize:e.imageAtlasTexture.size,u_ratio:1/bt(e,1,r.zoom),u_device_pixel_ratio:t.pixelRatio,u_image:0,u_scale:[s,o.fromScale,o.toScale],u_fade:o.t,u_units_to_pixels:[1/r.pixelsToGLUnits[0],1/r.pixelsToGLUnits[1]]}},Ee=(e,i,o,a,r,s)=>{const n=e.lineAtlas,l=Ie(i,e.transform),c="round"===o.layout.get("line-cap"),h=n.getDash(a.from,c),u=n.getDash(a.to,c),d=h.width*r.fromScale,m=u.width*r.toScale;return t.extend(be(e,i,o,s),{u_patternscale_a:[l/d,-h.height/2],u_patternscale_b:[l/m,-u.height/2],u_sdfgamma:n.width/(256*Math.min(d,m)*e.pixelRatio)/2,u_image:0,u_tex_y_a:h.y,u_tex_y_b:u.y,u_mix:r.t})};function Ie(t,e){return 1/bt(t,1,e.tileZoom)}function Ce(t,e,i,o){return t.translatePosMatrix(o?o.posMatrix:e.tileID.posMatrix,e,i.paint.get("line-translate"),i.paint.get("line-translate-anchor"))}const Se=(t,e,i,o,a)=>{return{u_matrix:t,u_tl_parent:e,u_scale_parent:i,u_buffer_scale:1,u_fade_t:o.mix,u_opacity:o.opacity*a.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:a.paint.get("raster-brightness-min"),u_brightness_high:a.paint.get("raster-brightness-max"),u_saturation_factor:(s=a.paint.get("raster-saturation"),s>0?1-1/(1.001-s):-s),u_contrast_factor:(r=a.paint.get("raster-contrast"),r>0?1/(1-r):1+r),u_spin_weights:De(a.paint.get("raster-hue-rotate"))};var r,s};function De(t){t*=Math.PI/180;const e=Math.sin(t),i=Math.cos(t);return[(2*i+1)/3,(-Math.sqrt(3)*e-i+1)/3,(Math.sqrt(3)*e-i+1)/3]}const ze=(t,e,i,o,a,r,s,n,l,c)=>{const h=a.transform;return{u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:h.cameraToCenterDistance,u_pitch:h.pitch/360*2*Math.PI,u_rotate_symbol:+i,u_aspect_ratio:h.width/h.height,u_fade_change:a.options.fadeDuration?a.symbolFadeChange:1,u_matrix:r,u_label_plane_matrix:s,u_coord_matrix:n,u_is_text:+l,u_pitch_with_map:+o,u_texsize:c,u_texture:0}},Pe=(e,i,o,a,r,s,n,l,c,h,u)=>{const d=r.transform;return t.extend(ze(e,i,o,a,r,s,n,l,c,h),{u_gamma_scale:a?Math.cos(d._pitch)*d.cameraToCenterDistance:1,u_device_pixel_ratio:r.pixelRatio,u_is_halo:+u})},Me=(e,i,o,a,r,s,n,l,c,h)=>t.extend(Pe(e,i,o,a,r,s,n,l,!0,c,!0),{u_texsize_icon:h,u_texture_icon:1}),Ae=(t,e,i)=>({u_matrix:t,u_opacity:e,u_color:i}),Le=(e,i,o,a,r,s)=>t.extend(function(t,e,i,o){const a=i.imageManager.getPattern(t.from.toString()),r=i.imageManager.getPattern(t.to.toString()),{width:s,height:n}=i.imageManager.getPixelSize(),l=Math.pow(2,o.tileID.overscaledZ),c=o.tileSize*Math.pow(2,i.transform.tileZoom)/l,h=c*(o.tileID.canonical.x+o.tileID.wrap*l),u=c*o.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:a.tl,u_pattern_br_a:a.br,u_pattern_tl_b:r.tl,u_pattern_br_b:r.br,u_texsize:[s,n],u_mix:e.t,u_pattern_size_a:a.displaySize,u_pattern_size_b:r.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/bt(o,1,i.transform.tileZoom),u_pixel_coord_upper:[h>>16,u>>16],u_pixel_coord_lower:[65535&h,65535&u]}}(a,s,o,r),{u_matrix:e,u_opacity:i}),Re={fillExtrusion:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_lightpos:new t.Uniform3f(e,i.u_lightpos),u_lightintensity:new t.Uniform1f(e,i.u_lightintensity),u_lightcolor:new t.Uniform3f(e,i.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,i.u_vertical_gradient),u_opacity:new t.Uniform1f(e,i.u_opacity)}),fillExtrusionPattern:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_lightpos:new t.Uniform3f(e,i.u_lightpos),u_lightintensity:new t.Uniform1f(e,i.u_lightintensity),u_lightcolor:new t.Uniform3f(e,i.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,i.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,i.u_height_factor),u_image:new t.Uniform1i(e,i.u_image),u_texsize:new t.Uniform2f(e,i.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade),u_opacity:new t.Uniform1f(e,i.u_opacity)}),fill:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}),fillPattern:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_image:new t.Uniform1i(e,i.u_image),u_texsize:new t.Uniform2f(e,i.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade)}),fillOutline:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_world:new t.Uniform2f(e,i.u_world)}),fillOutlinePattern:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_world:new t.Uniform2f(e,i.u_world),u_image:new t.Uniform1i(e,i.u_image),u_texsize:new t.Uniform2f(e,i.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade)}),circle:(e,i)=>({u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,i.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,i.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,i.u_extrude_scale),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}),collisionBox:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,i.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,i.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,i.u_overscale_factor)}),collisionCircle:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_inv_matrix:new t.UniformMatrix4f(e,i.u_inv_matrix),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_viewport_size:new t.Uniform2f(e,i.u_viewport_size)}),debug:(e,i)=>({u_color:new t.UniformColor(e,i.u_color),u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_overlay:new t.Uniform1i(e,i.u_overlay),u_overlay_scale:new t.Uniform1f(e,i.u_overlay_scale)}),clippingMask:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}),heatmap:(e,i)=>({u_extrude_scale:new t.Uniform1f(e,i.u_extrude_scale),u_intensity:new t.Uniform1f(e,i.u_intensity),u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}),heatmapTexture:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_world:new t.Uniform2f(e,i.u_world),u_image:new t.Uniform1i(e,i.u_image),u_color_ramp:new t.Uniform1i(e,i.u_color_ramp),u_opacity:new t.Uniform1f(e,i.u_opacity)}),hillshade:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_image:new t.Uniform1i(e,i.u_image),u_latrange:new t.Uniform2f(e,i.u_latrange),u_light:new t.Uniform2f(e,i.u_light),u_shadow:new t.UniformColor(e,i.u_shadow),u_highlight:new t.UniformColor(e,i.u_highlight),u_accent:new t.UniformColor(e,i.u_accent)}),hillshadePrepare:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_image:new t.Uniform1i(e,i.u_image),u_dimension:new t.Uniform2f(e,i.u_dimension),u_zoom:new t.Uniform1f(e,i.u_zoom),u_unpack:new t.Uniform4f(e,i.u_unpack)}),line:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels)}),lineGradient:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels),u_image:new t.Uniform1i(e,i.u_image),u_image_height:new t.Uniform1f(e,i.u_image_height)}),linePattern:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_texsize:new t.Uniform2f(e,i.u_texsize),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_image:new t.Uniform1i(e,i.u_image),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels),u_scale:new t.Uniform3f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade)}),lineSDF:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,i.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,i.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,i.u_sdfgamma),u_image:new t.Uniform1i(e,i.u_image),u_tex_y_a:new t.Uniform1f(e,i.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,i.u_tex_y_b),u_mix:new t.Uniform1f(e,i.u_mix)}),raster:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_tl_parent:new t.Uniform2f(e,i.u_tl_parent),u_scale_parent:new t.Uniform1f(e,i.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,i.u_buffer_scale),u_fade_t:new t.Uniform1f(e,i.u_fade_t),u_opacity:new t.Uniform1f(e,i.u_opacity),u_image0:new t.Uniform1i(e,i.u_image0),u_image1:new t.Uniform1i(e,i.u_image1),u_brightness_low:new t.Uniform1f(e,i.u_brightness_low),u_brightness_high:new t.Uniform1f(e,i.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,i.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,i.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,i.u_spin_weights)}),symbolIcon:(e,i)=>({u_is_size_zoom_constant:new t.Uniform1i(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,i.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,i.u_size_t),u_size:new t.Uniform1f(e,i.u_size),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,i.u_pitch),u_rotate_symbol:new t.Uniform1i(e,i.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,i.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,i.u_fade_change),u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,i.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,i.u_coord_matrix),u_is_text:new t.Uniform1i(e,i.u_is_text),u_pitch_with_map:new t.Uniform1i(e,i.u_pitch_with_map),u_texsize:new t.Uniform2f(e,i.u_texsize),u_texture:new t.Uniform1i(e,i.u_texture)}),symbolSDF:(e,i)=>({u_is_size_zoom_constant:new t.Uniform1i(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,i.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,i.u_size_t),u_size:new t.Uniform1f(e,i.u_size),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,i.u_pitch),u_rotate_symbol:new t.Uniform1i(e,i.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,i.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,i.u_fade_change),u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,i.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,i.u_coord_matrix),u_is_text:new t.Uniform1i(e,i.u_is_text),u_pitch_with_map:new t.Uniform1i(e,i.u_pitch_with_map),u_texsize:new t.Uniform2f(e,i.u_texsize),u_texture:new t.Uniform1i(e,i.u_texture),u_gamma_scale:new t.Uniform1f(e,i.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,i.u_is_halo)}),symbolTextAndIcon:(e,i)=>({u_is_size_zoom_constant:new t.Uniform1i(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,i.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,i.u_size_t),u_size:new t.Uniform1f(e,i.u_size),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,i.u_pitch),u_rotate_symbol:new t.Uniform1i(e,i.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,i.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,i.u_fade_change),u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,i.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,i.u_coord_matrix),u_is_text:new t.Uniform1i(e,i.u_is_text),u_pitch_with_map:new t.Uniform1i(e,i.u_pitch_with_map),u_texsize:new t.Uniform2f(e,i.u_texsize),u_texsize_icon:new t.Uniform2f(e,i.u_texsize_icon),u_texture:new t.Uniform1i(e,i.u_texture),u_texture_icon:new t.Uniform1i(e,i.u_texture_icon),u_gamma_scale:new t.Uniform1f(e,i.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,i.u_is_halo)}),background:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_opacity:new t.Uniform1f(e,i.u_opacity),u_color:new t.UniformColor(e,i.u_color)}),backgroundPattern:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_opacity:new t.Uniform1f(e,i.u_opacity),u_image:new t.Uniform1i(e,i.u_image),u_pattern_tl_a:new t.Uniform2f(e,i.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,i.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,i.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,i.u_pattern_br_b),u_texsize:new t.Uniform2f(e,i.u_texsize),u_mix:new t.Uniform1f(e,i.u_mix),u_pattern_size_a:new t.Uniform2f(e,i.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,i.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,i.u_scale_a),u_scale_b:new t.Uniform1f(e,i.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,i.u_tile_units_to_pixels)}),terrain:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_texture:new t.Uniform1i(e,i.u_texture)}),terrainDepth:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}),terrainCoords:(e,i)=>({u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_texture:new t.Uniform1i(e,i.u_texture),u_terrain_coords_id:new t.Uniform1f(e,i.u_terrain_coords_id)})};class ke{constructor(t,e,i){this.context=t;const o=t.gl;this.buffer=o.createBuffer(),this.dynamicDraw=Boolean(i),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),o.bufferData(o.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?o.DYNAMIC_DRAW:o.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(t){const e=this.context.gl;if(!this.dynamicDraw)throw new Error("Attempted to update data while not in dynamic mode.");this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}const Be={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class Fe{constructor(t,e,i,o){this.length=e.length,this.attributes=i,this.itemSize=e.bytesPerElement,this.dynamicDraw=o,this.context=t;const a=t.gl;this.buffer=a.createBuffer(),t.bindVertexBuffer.set(this.buffer),a.bufferData(a.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?a.DYNAMIC_DRAW:a.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(t){if(t.length!==this.length)throw new Error(`Length of new data is ${t.length}, which doesn't match current length of ${this.length}`);const e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer)}enableAttributes(t,e){for(let i=0;i<this.attributes.length;i++){const o=e.attributes[this.attributes[i].name];void 0!==o&&t.enableVertexAttribArray(o)}}setVertexAttribPointers(t,e,i){for(let o=0;o<this.attributes.length;o++){const a=this.attributes[o],r=e.attributes[a.name];void 0!==r&&t.vertexAttribPointer(r,a.components,t[Be[a.type]],!1,this.itemSize,a.offset+this.itemSize*(i||0))}}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}class Oe{constructor(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1}get(){return this.current}set(t){}getDefault(){return this.default}setDefault(){this.set(this.default)}}class Ue extends Oe{getDefault(){return t.Color.transparent}set(t){const e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.clearColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)}}class Ne extends Oe{getDefault(){return 1}set(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1)}}class Ge extends Oe{getDefault(){return 0}set(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1)}}class Ze extends Oe{getDefault(){return[!0,!0,!0,!0]}set(t){const e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.colorMask(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)}}class Ve extends Oe{getDefault(){return!0}set(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1)}}class qe extends Oe{getDefault(){return 255}set(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1)}}class je extends Oe{getDefault(){return{func:this.gl.ALWAYS,ref:0,mask:255}}set(t){const e=this.current;(t.func!==e.func||t.ref!==e.ref||t.mask!==e.mask||this.dirty)&&(this.gl.stencilFunc(t.func,t.ref,t.mask),this.current=t,this.dirty=!1)}}class $e extends Oe{getDefault(){const t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]}set(t){const e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||this.dirty)&&(this.gl.stencilOp(t[0],t[1],t[2]),this.current=t,this.dirty=!1)}}class Xe extends Oe{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1}}class We extends Oe{getDefault(){return[0,1]}set(t){const e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1)}}class He extends Oe{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1}}class Ke extends Oe{getDefault(){return this.gl.LESS}set(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1)}}class Ye extends Oe{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1}}class Je extends Oe{getDefault(){const t=this.gl;return[t.ONE,t.ZERO]}set(t){const e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1)}}class Qe extends Oe{getDefault(){return t.Color.transparent}set(t){const e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.blendColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)}}class ti extends Oe{getDefault(){return this.gl.FUNC_ADD}set(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1)}}class ei extends Oe{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1}}class ii extends Oe{getDefault(){return this.gl.BACK}set(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1)}}class oi extends Oe{getDefault(){return this.gl.CCW}set(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1)}}class ai extends Oe{getDefault(){return null}set(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1)}}class ri extends Oe{getDefault(){return this.gl.TEXTURE0}set(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1)}}class si extends Oe{getDefault(){const t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]}set(t){const e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.viewport(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)}}class ni extends Oe{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1}}class li extends Oe{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1}}class ci extends Oe{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1}}class hi extends Oe{getDefault(){return null}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1}}class ui extends Oe{getDefault(){return null}set(t){const e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1}}class di extends Oe{constructor(t){super(t),this.vao=t.extVertexArrayObject}getDefault(){return null}set(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1)}}class mi extends Oe{getDefault(){return 4}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1}}class _i extends Oe{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1}}class pi extends Oe{getDefault(){return!1}set(t){if(t===this.current&&!this.dirty)return;const e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1}}class fi extends Oe{constructor(t,e){super(t),this.context=t,this.parent=e}getDefault(){return null}}class gi extends fi{setDirty(){this.dirty=!0}set(t){if(t===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1}}class xi extends fi{set(t){if(t===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,t),this.current=t,this.dirty=!1}}class vi{constructor(t,e,i,o){this.context=t,this.width=e,this.height=i;const a=t.gl,r=this.framebuffer=a.createFramebuffer();if(this.colorAttachment=new gi(t,r),o&&(this.depthAttachment=new xi(t,r)),a.checkFramebufferStatus(a.FRAMEBUFFER)!==a.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer is not complete")}destroy(){const t=this.context.gl,e=this.colorAttachment.get();if(e&&t.deleteTexture(e),this.depthAttachment){const e=this.depthAttachment.get();e&&t.deleteRenderbuffer(e)}t.deleteFramebuffer(this.framebuffer)}}class yi{constructor(t,e,i){this.blendFunction=t,this.blendColor=e,this.mask=i}}yi.Replace=[1,0],yi.disabled=new yi(yi.Replace,t.Color.transparent,[!1,!1,!1,!1]),yi.unblended=new yi(yi.Replace,t.Color.transparent,[!0,!0,!0,!0]),yi.alphaBlended=new yi([1,771],t.Color.transparent,[!0,!0,!0,!0]);class bi{constructor(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new Ue(this),this.clearDepth=new Ne(this),this.clearStencil=new Ge(this),this.colorMask=new Ze(this),this.depthMask=new Ve(this),this.stencilMask=new qe(this),this.stencilFunc=new je(this),this.stencilOp=new $e(this),this.stencilTest=new Xe(this),this.depthRange=new We(this),this.depthTest=new He(this),this.depthFunc=new Ke(this),this.blend=new Ye(this),this.blendFunc=new Je(this),this.blendColor=new Qe(this),this.blendEquation=new ti(this),this.cullFace=new ei(this),this.cullFaceSide=new ii(this),this.frontFace=new oi(this),this.program=new ai(this),this.activeTexture=new ri(this),this.viewport=new si(this),this.bindFramebuffer=new ni(this),this.bindRenderbuffer=new li(this),this.bindTexture=new ci(this),this.bindVertexBuffer=new hi(this),this.bindElementBuffer=new ui(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new di(this),this.pixelStoreUnpack=new mi(this),this.pixelStoreUnpackPremultiplyAlpha=new _i(this),this.pixelStoreUnpackFlipY=new pi(this),this.extTextureFilterAnisotropic=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=t.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&(t.getExtension("OES_texture_half_float_linear"),this.extRenderToTextureHalfFloat=t.getExtension("EXT_color_buffer_half_float")),this.extTimerQuery=t.getExtension("EXT_disjoint_timer_query"),this.maxTextureSize=t.getParameter(t.MAX_TEXTURE_SIZE)}setDefault(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()}setDirty(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0}createIndexBuffer(t,e){return new ke(this,t,e)}createVertexBuffer(t,e,i){return new Fe(this,t,e,i)}createRenderbuffer(t,e,i){const o=this.gl,a=o.createRenderbuffer();return this.bindRenderbuffer.set(a),o.renderbufferStorage(o.RENDERBUFFER,t,e,i),this.bindRenderbuffer.set(null),a}createFramebuffer(t,e,i){return new vi(this,t,e,i)}clear({color:t,depth:e}){const i=this.gl;let o=0;t&&(o|=i.COLOR_BUFFER_BIT,this.clearColor.set(t),this.colorMask.set([!0,!0,!0,!0])),void 0!==e&&(o|=i.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(e),this.depthMask.set(!0)),i.clear(o)}setCullFace(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace))}setDepthMode(t){t.func!==this.gl.ALWAYS||t.mask?(this.depthTest.set(!0),this.depthFunc.set(t.func),this.depthMask.set(t.mask),this.depthRange.set(t.range)):this.depthTest.set(!1)}setStencilMode(t){t.test.func!==this.gl.ALWAYS||t.mask?(this.stencilTest.set(!0),this.stencilMask.set(t.mask),this.stencilOp.set([t.fail,t.depthFail,t.pass]),this.stencilFunc.set({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1)}setColorMode(t){a(t.blendFunction,yi.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(t.blendFunction),this.blendColor.set(t.blendColor)),this.colorMask.set(t.mask)}unbindVAO(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)}}class wi{constructor(t,e,i){this.func=t,this.mask=e,this.range=i}}wi.ReadOnly=!1,wi.ReadWrite=!0,wi.disabled=new wi(519,wi.ReadOnly,[0,1]);const Ti=7680;class Ei{constructor(t,e,i,o,a,r){this.test=t,this.ref=e,this.mask=i,this.fail=o,this.depthFail=a,this.pass=r}}Ei.disabled=new Ei({func:519,mask:0},0,0,Ti,Ti,Ti);class Ii{constructor(t,e,i){this.enable=t,this.mode=e,this.frontFace=i}}let Ci;function Si(e,i,o,a,r,s,n){const l=e.context,c=l.gl,h=e.useProgram("collisionBox"),u=[];let d=0,m=0;for(let _=0;_<a.length;_++){const p=a[_],f=i.getTile(p),g=f.getBucket(o);if(!g)continue;let x=p.posMatrix;0===r[0]&&0===r[1]||(x=e.translatePosMatrix(p.posMatrix,f,r,s));const v=n?g.textCollisionBox:g.iconCollisionBox,y=g.collisionCircleArray;if(y.length>0){const i=t.create(),o=x;t.mul(i,g.placementInvProjMatrix,e.transform.glCoordMatrix),t.mul(i,i,g.placementViewportMatrix),u.push({circleArray:y,circleOffset:m,transform:o,invTransform:i,coord:p}),d+=y.length/4,m=d}v&&h.draw(l,c.LINES,wi.disabled,Ei.disabled,e.colorModeForRenderPass(),Ii.disabled,fe(x,e.transform,f),e.style.terrain&&e.style.terrain.getTerrainData(p),o.id,v.layoutVertexBuffer,v.indexBuffer,v.segments,null,e.transform.zoom,null,null,v.collisionVertexBuffer)}if(!n||!u.length)return;const _=e.useProgram("collisionCircle"),p=new t.CollisionCircleLayoutArray;p.resize(4*d),p._trim();let f=0;for(const t of u)for(let e=0;e<t.circleArray.length/4;e++){const i=4*e,o=t.circleArray[i+0],a=t.circleArray[i+1],r=t.circleArray[i+2],s=t.circleArray[i+3];p.emplace(f++,o,a,r,s,0),p.emplace(f++,o,a,r,s,1),p.emplace(f++,o,a,r,s,2),p.emplace(f++,o,a,r,s,3)}(!Ci||Ci.length<2*d)&&(Ci=function(e){const i=2*e,o=new t.QuadTriangleArray;o.resize(i),o._trim();for(let t=0;t<i;t++){const e=6*t;o.uint16[e+0]=4*t+0,o.uint16[e+1]=4*t+1,o.uint16[e+2]=4*t+2,o.uint16[e+3]=4*t+2,o.uint16[e+4]=4*t+3,o.uint16[e+5]=4*t+0}return o}(d));const g=l.createIndexBuffer(Ci,!0),x=l.createVertexBuffer(p,t.collisionCircleLayout.members,!0);for(const i of u){const a={u_matrix:i.transform,u_inv_matrix:i.invTransform,u_camera_to_center_distance:(v=e.transform).cameraToCenterDistance,u_viewport_size:[v.width,v.height]};_.draw(l,c.TRIANGLES,wi.disabled,Ei.disabled,e.colorModeForRenderPass(),Ii.disabled,a,e.style.terrain&&e.style.terrain.getTerrainData(i.coord),o.id,x,g,t.SegmentVector.simpleSegment(0,2*i.circleOffset,i.circleArray.length,i.circleArray.length/2),null,e.transform.zoom,null,null,null)}var v;x.destroy(),g.destroy()}Ii.disabled=new Ii(!1,1029,2305),Ii.backCCW=new Ii(!0,1029,2305);const Di=t.identity(new Float32Array(16));function zi(e,i,o,a,r,s){const{horizontalAlign:n,verticalAlign:l}=t.getAnchorAlignment(e),c=-(n-.5)*i,h=-(l-.5)*o,u=t.evaluateVariableOffset(e,a);return new t.pointGeometry((c/r+u[0])*s,(h/r+u[1])*s)}function Pi(e,i,o,a,r,s,n,l,c,h,u){const d=e.text.placedSymbolArray,m=e.text.dynamicLayoutVertexArray,_=e.icon.dynamicLayoutVertexArray,p={};m.clear();for(let _=0;_<d.length;_++){const f=d.get(_),g=e.allowVerticalPlacement&&!f.placedOrientation,x=f.hidden||!f.crossTileID||g?null:a[f.crossTileID];if(x){const a=new t.pointGeometry(f.anchorX,f.anchorY),d=nt(a,o?n:s,u),_=lt(r.cameraToCenterDistance,d.signedDistanceFromCamera);let g=t.evaluateSizeForFeature(e.textSizeData,c,f)*_/t.ONE_EM;o&&(g*=e.tilePixelRatio/l);const{width:v,height:y,anchor:b,textOffset:w,textBoxScale:T}=x,E=zi(b,v,y,w,T,g),I=o?nt(a.add(E),s,u).point:d.point.add(i?E.rotate(-r.angle):E),C=e.allowVerticalPlacement&&f.placedOrientation===t.WritingMode.vertical?Math.PI/2:0;for(let e=0;e<f.numGlyphs;e++)t.addDynamicAttributes(m,I,C);h&&f.associatedIconIndex>=0&&(p[f.associatedIconIndex]={shiftedAnchor:I,angle:C})}else gt(f.numGlyphs,m)}if(h){_.clear();const i=e.icon.placedSymbolArray;for(let e=0;e<i.length;e++){const o=i.get(e);if(o.hidden)gt(o.numGlyphs,_);else{const i=p[e];if(i)for(let e=0;e<o.numGlyphs;e++)t.addDynamicAttributes(_,i.shiftedAnchor,i.angle);else gt(o.numGlyphs,_)}}e.icon.dynamicLayoutVertexBuffer.updateData(_)}e.text.dynamicLayoutVertexBuffer.updateData(m)}function Mi(t,e,i){return i.iconsInText&&e?"symbolTextAndIcon":t?"symbolSDF":"symbolIcon"}function Ai(e,i,o,a,r,s,n,l,c,h,u,d){const m=e.context,_=m.gl,p=e.transform,f="map"===l,g="map"===c,x="viewport"!==l&&"point"!==o.layout.get("symbol-placement"),v=f&&!g&&!x,y=!o.layout.get("symbol-sort-key").isConstant();let b=!1;const w=e.depthModeForSublayer(0,wi.ReadOnly),T=o.layout.get("text-variable-anchor"),E=[];for(const l of a){const a=i.getTile(l),c=a.getBucket(o);if(!c)continue;const u=r?c.text:c.icon;if(!u||!u.segments.get().length)continue;const d=u.programConfigurations.get(o.id),m=r||c.sdfIcons,w=r?c.textSizeData:c.iconSizeData,I=g||0!==p.pitch,C=e.useProgram(Mi(m,r,c),d),S=t.evaluateSizeForZoom(w,p.zoom),D=e.style.terrain&&e.style.terrain.getTerrainData(l);let z,P,M,A,L=[0,0],R=null;if(r){if(P=a.glyphAtlasTexture,M=_.LINEAR,z=a.glyphAtlasTexture.size,c.iconsInText){L=a.imageAtlasTexture.size,R=a.imageAtlasTexture;const t="composite"===w.kind||"camera"===w.kind;A=I||e.options.rotating||e.options.zooming||t?_.LINEAR:_.NEAREST}}else{const t=1!==o.layout.get("icon-size").constantOr(0)||c.iconsNeedLinear;P=a.imageAtlasTexture,M=m||e.options.rotating||e.options.zooming||t||I?_.LINEAR:_.NEAREST,z=a.imageAtlasTexture.size}const k=bt(a,1,e.transform.zoom),B=rt(l.posMatrix,g,f,e.transform,k),F=st(l.posMatrix,g,f,e.transform,k),O=T&&c.hasTextData(),U="none"!==o.layout.get("icon-text-fit")&&O&&c.hasIconData();if(x){const t=e.style.terrain?(t,i)=>e.style.terrain.getElevation(l,t,i):null,i="map"===o.layout.get("text-rotation-alignment");ht(c,l.posMatrix,e,r,B,F,g,h,i,t)}const N=e.translatePosMatrix(l.posMatrix,a,s,n),G=x||r&&T||U?Di:B,Z=e.translatePosMatrix(F,a,s,n,!0),V=m&&0!==o.paint.get(r?"text-halo-width":"icon-halo-width").constantOr(1);let q;q=m?c.iconsInText?Me(w.kind,S,v,g,e,N,G,Z,z,L):Pe(w.kind,S,v,g,e,N,G,Z,r,z,!0):ze(w.kind,S,v,g,e,N,G,Z,r,z);const j={program:C,buffers:u,uniformValues:q,atlasTexture:P,atlasTextureIcon:R,atlasInterpolation:M,atlasInterpolationIcon:A,isSDF:m,hasHalo:V};if(y&&c.canOverlap){b=!0;const e=u.segments.get();for(const i of e)E.push({segments:new t.SegmentVector([i]),sortKey:i.sortKey,state:j,terrainData:D})}else E.push({segments:u.segments,sortKey:0,state:j,terrainData:D})}b&&E.sort(((t,e)=>t.sortKey-e.sortKey));for(const t of E){const i=t.state;if(m.activeTexture.set(_.TEXTURE0),i.atlasTexture.bind(i.atlasInterpolation,_.CLAMP_TO_EDGE),i.atlasTextureIcon&&(m.activeTexture.set(_.TEXTURE1),i.atlasTextureIcon&&i.atlasTextureIcon.bind(i.atlasInterpolationIcon,_.CLAMP_TO_EDGE)),i.isSDF){const a=i.uniformValues;i.hasHalo&&(a.u_is_halo=1,Li(i.buffers,t.segments,o,e,i.program,w,u,d,a,t.terrainData)),a.u_is_halo=0}Li(i.buffers,t.segments,o,e,i.program,w,u,d,i.uniformValues,t.terrainData)}}function Li(t,e,i,o,a,r,s,n,l,c){const h=o.context;a.draw(h,h.gl.TRIANGLES,r,s,n,Ii.disabled,l,c,i.id,t.layoutVertexBuffer,t.indexBuffer,e,i.paint,o.transform.zoom,t.programConfigurations.get(i.id),t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer)}function Ri(t,e,i,o,a,r,s){const n=t.context.gl,l=i.paint.get("fill-pattern"),c=l&&l.constantOr(1),h=i.getCrossfadeParameters();let u,d,m,_,p;s?(d=c&&!i.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",u=n.LINES):(d=c?"fillPattern":"fill",u=n.TRIANGLES);for(const f of o){const o=e.getTile(f);if(c&&!o.patternsLoaded())continue;const g=o.getBucket(i);if(!g)continue;const x=g.programConfigurations.get(i.id),v=t.useProgram(d,x),y=t.style.terrain&&t.style.terrain.getTerrainData(f);c&&(t.context.activeTexture.set(n.TEXTURE0),o.imageAtlasTexture.bind(n.LINEAR,n.CLAMP_TO_EDGE),x.updatePaintBuffers(h));const b=l.constantOr(null);if(b&&o.imageAtlas){const t=o.imageAtlas,e=t.patternPositions[b.to.toString()],i=t.patternPositions[b.from.toString()];e&&i&&x.setConstantPatternPositions(e,i)}const w=y?f:null,T=t.translatePosMatrix(w?w.posMatrix:f.posMatrix,o,i.paint.get("fill-translate"),i.paint.get("fill-translate-anchor"));if(s){_=g.indexBuffer2,p=g.segments2;const e=[n.drawingBufferWidth,n.drawingBufferHeight];m="fillOutlinePattern"===d&&c?_e(T,t,h,o,e):me(T,e)}else _=g.indexBuffer,p=g.segments,m=c?de(T,t,h,o):ue(T);v.draw(t.context,u,a,t.stencilModeForClipping(f),r,Ii.disabled,m,y,i.id,g.layoutVertexBuffer,_,p,i.paint,t.transform.zoom,x)}}function ki(t,e,i,o,a,r,s){const n=t.context,l=n.gl,c=i.paint.get("fill-extrusion-pattern"),h=c.constantOr(1),u=i.getCrossfadeParameters(),d=i.paint.get("fill-extrusion-opacity");for(const m of o){const o=e.getTile(m),_=o.getBucket(i);if(!_)continue;const p=t.style.terrain&&t.style.terrain.getTerrainData(m),f=_.programConfigurations.get(i.id),g=t.useProgram(h?"fillExtrusionPattern":"fillExtrusion",f);h&&(t.context.activeTexture.set(l.TEXTURE0),o.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),f.updatePaintBuffers(u));const x=c.constantOr(null);if(x&&o.imageAtlas){const t=o.imageAtlas,e=t.patternPositions[x.to.toString()],i=t.patternPositions[x.from.toString()];e&&i&&f.setConstantPatternPositions(e,i)}const v=t.translatePosMatrix(m.posMatrix,o,i.paint.get("fill-extrusion-translate"),i.paint.get("fill-extrusion-translate-anchor")),y=i.paint.get("fill-extrusion-vertical-gradient"),b=h?he(v,t,y,d,m,u,o):ce(v,t,y,d);g.draw(n,n.gl.TRIANGLES,a,r,s,Ii.backCCW,b,p,i.id,_.layoutVertexBuffer,_.indexBuffer,_.segments,i.paint,t.transform.zoom,f,t.style.terrain&&_.centroidVertexBuffer)}}function Bi(t,e,i,o,a,r,s){const n=t.context,l=n.gl,c=i.fbo;if(!c)return;const h=t.useProgram("hillshade"),u=t.style.terrain&&t.style.terrain.getTerrainData(e);n.activeTexture.set(l.TEXTURE0),l.bindTexture(l.TEXTURE_2D,c.colorAttachment.get()),h.draw(n,l.TRIANGLES,a,r,s,Ii.disabled,((t,e,i,o)=>{const a=i.paint.get("hillshade-shadow-color"),r=i.paint.get("hillshade-highlight-color"),s=i.paint.get("hillshade-accent-color");let n=i.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===i.paint.get("hillshade-illumination-anchor")&&(n-=t.transform.angle);const l=!t.options.moving;return{u_matrix:o?o.posMatrix:t.transform.calculatePosMatrix(e.tileID.toUnwrapped(),l),u_image:0,u_latrange:ye(0,e.tileID),u_light:[i.paint.get("hillshade-exaggeration"),n],u_shadow:a,u_highlight:r,u_accent:s}})(t,i,o,u?e:null),u,o.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}function Fi(e,i,o,a,r,s){const n=e.context,c=n.gl,h=i.dem;if(h&&h.data){const u=h.dim,d=h.stride,m=h.getPixels();if(n.activeTexture.set(c.TEXTURE1),n.pixelStoreUnpackPremultiplyAlpha.set(!1),i.demTexture=i.demTexture||e.getTileTexture(d),i.demTexture){const t=i.demTexture;t.update(m,{premultiply:!1}),t.bind(c.NEAREST,c.CLAMP_TO_EDGE)}else i.demTexture=new l(n,m,c.RGBA,{premultiply:!1}),i.demTexture.bind(c.NEAREST,c.CLAMP_TO_EDGE);n.activeTexture.set(c.TEXTURE0);let _=i.fbo;if(!_){const t=new l(n,{width:u,height:u,data:null},c.RGBA);t.bind(c.LINEAR,c.CLAMP_TO_EDGE),_=i.fbo=n.createFramebuffer(u,u,!0),_.colorAttachment.set(t.texture)}n.bindFramebuffer.set(_.framebuffer),n.viewport.set([0,0,u,u]),e.useProgram("hillshadePrepare").draw(n,c.TRIANGLES,a,r,s,Ii.disabled,((e,i)=>{const o=i.stride,a=t.create();return t.ortho(a,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(a,a,[0,-t.EXTENT,0]),{u_matrix:a,u_image:1,u_dimension:[o,o],u_zoom:e.overscaledZ,u_unpack:i.getUnpackVector()}})(i.tileID,h),null,o.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),i.needsHillshadePrepare=!1}}function Oi(e,i,o,a,r,s){const n=a.paint.get("raster-fade-duration");if(!s&&n>0){const a=t.exported.now(),s=(a-e.timeAdded)/n,l=i?(a-i.timeAdded)/n:-1,c=o.getSource(),h=r.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),u=!i||Math.abs(i.tileID.overscaledZ-h)>Math.abs(e.tileID.overscaledZ-h),d=u&&e.refreshedUponExpiration?1:t.clamp(u?s:1-l,0,1);return e.refreshedUponExpiration&&s>=1&&(e.refreshedUponExpiration=!1),i?{opacity:1,mix:1-d}:{opacity:d,mix:0}}return{opacity:1,mix:0}}const Ui=new t.Color(1,0,0,1),Ni=new t.Color(0,1,0,1),Gi=new t.Color(0,0,1,1),Zi=new t.Color(1,0,1,1),Vi=new t.Color(0,1,1,1);function qi(t,e,i,o){$i(t,0,e+i/2,t.transform.width,i,o)}function ji(t,e,i,o){$i(t,e-i/2,0,i,t.transform.height,o)}function $i(t,e,i,o,a,r){const s=t.context,n=s.gl;n.enable(n.SCISSOR_TEST),n.scissor(e*t.pixelRatio,i*t.pixelRatio,o*t.pixelRatio,a*t.pixelRatio),s.clear({color:r}),n.disable(n.SCISSOR_TEST)}function Xi(e,i,o){const a=e.context,r=a.gl,s=o.posMatrix,n=e.useProgram("debug"),l=wi.disabled,c=Ei.disabled,h=e.colorModeForRenderPass(),u="$debug",d=e.style.terrain&&e.style.terrain.getTerrainData(o);a.activeTexture.set(r.TEXTURE0),e.emptyTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE);const m=i.getTileByID(o.key).latestRawTileData,_=Math.floor((m&&m.byteLength||0)/1024),p=i.getTile(o).tileSize,f=512/Math.min(p,512)*(o.overscaledZ/e.transform.zoom)*.5;let g=o.canonical.toString();o.overscaledZ!==o.canonical.z&&(g+=` => ${o.overscaledZ}`),function(t,e){t.initDebugOverlayCanvas();const i=t.debugOverlayCanvas,o=t.context.gl,a=t.debugOverlayCanvas.getContext("2d");a.clearRect(0,0,i.width,i.height),a.shadowColor="white",a.shadowBlur=2,a.lineWidth=1.5,a.strokeStyle="white",a.textBaseline="top",a.font="bold 36px Open Sans, sans-serif",a.fillText(e,5,5),a.strokeText(e,5,5),t.debugOverlayTexture.update(i),t.debugOverlayTexture.bind(o.LINEAR,o.CLAMP_TO_EDGE)}(e,`${g} ${_}kB`),n.draw(a,r.TRIANGLES,l,c,yi.alphaBlended,Ii.disabled,ge(s,t.Color.transparent,f),null,u,e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments),n.draw(a,r.LINE_STRIP,l,c,h,Ii.disabled,ge(s,t.Color.red),d,u,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments)}function Wi(t,e,i){const o=t.context,a=o.gl,r=t.colorModeForRenderPass(),s=new wi(a.LEQUAL,wi.ReadWrite,t.depthRangeFor3D),n=t.useProgram("terrain"),l=e.getTerrainMesh(),c=e.getTerrainData(i.tileID);o.bindFramebuffer.set(null),o.viewport.set([0,0,t.width,t.height]),o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,e.getRTTFramebuffer().colorAttachment.get());const h=t.transform.calculatePosMatrix(i.tileID.toUnwrapped());n.draw(o,a.TRIANGLES,s,Ei.disabled,r,Ii.backCCW,{u_matrix:h,u_texture:0},c,"terrain",l.vertexBuffer,l.indexBuffer,l.segments)}function Hi(t,e,i,o){const a=t.context,r=i.tileSize*e.qualityFactor;i.textures[o]||(i.textures[o]=t.getTileTexture(r)||new l(a,{width:r,height:r,data:null},a.gl.RGBA),i.textures[o].bind(a.gl.LINEAR,a.gl.CLAMP_TO_EDGE),0===o&&e.sourceCache.renderHistory.unshift(i.tileID.key));const s=e.getRTTFramebuffer();s.colorAttachment.set(i.textures[o].texture),a.bindFramebuffer.set(s.framebuffer),a.viewport.set([0,0,r,r])}class Ki{constructor(t){this._coordsDescendingInv={},this._coordsDescendingInvStr={},this.painter=t,this._renderToTexture={background:!0,fill:!0,line:!0,raster:!0},this._coordsDescendingInv={},this._coordsDescendingInvStr={},this._stacks=[],this._prevType=null,this._rerender={},this._renderableTiles=t.style.terrain.sourceCache.getRenderableTiles(),this._init()}_init(){const t=this.painter.style,e=t.terrain;for(const i in t.sourceCaches){this._coordsDescendingInv[i]={};const o=t.sourceCaches[i].getVisibleCoordinates();for(const t of o){const o=e.sourceCache.getTerrainCoords(t);for(const t in o)this._coordsDescendingInv[i][t]||(this._coordsDescendingInv[i][t]=[]),this._coordsDescendingInv[i][t].push(o[t])}}for(const e of t._order){const i=t._layers[e],o=i.source;if(this._renderToTexture[i.type]&&!this._coordsDescendingInvStr[o]){this._coordsDescendingInvStr[o]={};for(const t in this._coordsDescendingInv[o])this._coordsDescendingInvStr[o][t]=this._coordsDescendingInv[o][t].map((t=>t.key)).sort().join()}}return this._renderableTiles.forEach((t=>{for(const i in this._coordsDescendingInvStr){const o=this._coordsDescendingInvStr[i][t.tileID.key];o&&o!==t.textureCoords[i]&&t.clearTextures(this.painter),e.needsRerender(i,t.tileID)&&t.clearTextures(this.painter)}this._rerender[t.tileID.key]=!t.textures.length})),e.clearRerenderCache(),e.sourceCache.removeOutdated(this.painter),this}renderLayer(e){const i=e.type,o=this.painter,a=o.style._order,r=o.currentLayer,s=r+1===a.length;if(this._renderToTexture[i]&&(this._prevType&&this._renderToTexture[this._prevType]||this._stacks.push([]),this._prevType=i,this._stacks[this._stacks.length-1].push(a[r]),!s))return!0;if(this._renderToTexture[this._prevType]||"hillshade"===i||this._renderToTexture[i]&&s){this._prevType=i;const s=this._stacks.length-1,n=this._stacks[s]||[];for(const e of this._renderableTiles){if(Hi(o,o.style.terrain,e,s),this._rerender[e.tileID.key]){o.context.clear({color:t.Color.transparent});for(let t=0;t<n.length;t++){const i=o.style._layers[n[t]],a=i.source?this._coordsDescendingInv[i.source][e.tileID.key]:[e.tileID];o._renderTileClippingMasks(i,a),o.renderLayer(o,o.style.sourceCaches[i.source],i,a),i.source&&(e.textureCoords[i.source]=this._coordsDescendingInvStr[i.source][e.tileID.key])}}Wi(o,o.style.terrain,e)}if("hillshade"===i){this._stacks.push([a[r]]);for(const i of this._renderableTiles){const a=this._coordsDescendingInv[e.source][i.tileID.key];Hi(o,o.style.terrain,i,this._stacks.length-1),o.context.clear({color:t.Color.transparent}),o._renderTileClippingMasks(e,a),o.renderLayer(o,o.style.sourceCaches[e.source],e,a),Wi(o,o.style.terrain,i)}return!0}return this._renderToTexture[i]}return!1}}const Yi={symbol:function(e,i,o,a,r){if("translucent"!==e.renderPass)return;const s=Ei.disabled,n=e.colorModeForRenderPass();o.layout.get("text-variable-anchor")&&function(e,i,o,a,r,s,n){const l=i.transform,c="map"===r,h="map"===s;for(const r of e){const e=a.getTile(r),s=e.getBucket(o);if(!s||!s.text||!s.text.segments.get().length)continue;const u=t.evaluateSizeForZoom(s.textSizeData,l.zoom),d=bt(e,1,i.transform.zoom),m=rt(r.posMatrix,h,c,i.transform,d),_="none"!==o.layout.get("icon-text-fit")&&s.hasIconData();if(u){const t=Math.pow(2,l.zoom-e.tileID.overscaledZ);Pi(s,c,h,n,l,m,r.posMatrix,t,u,_,i.style.terrain?(t,e)=>i.style.terrain.getElevation(r,t,e):null)}}}(a,e,o,i,o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),r),0!==o.paint.get("icon-opacity").constantOr(1)&&Ai(e,i,o,a,!1,o.paint.get("icon-translate"),o.paint.get("icon-translate-anchor"),o.layout.get("icon-rotation-alignment"),o.layout.get("icon-pitch-alignment"),o.layout.get("icon-keep-upright"),s,n),0!==o.paint.get("text-opacity").constantOr(1)&&Ai(e,i,o,a,!0,o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.layout.get("text-keep-upright"),s,n),i.map.showCollisionBoxes&&(Si(e,i,o,a,o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),!0),Si(e,i,o,a,o.paint.get("icon-translate"),o.paint.get("icon-translate-anchor"),!1))},circle:function(e,i,o,a){if("translucent"!==e.renderPass)return;const r=o.paint.get("circle-opacity"),s=o.paint.get("circle-stroke-width"),n=o.paint.get("circle-stroke-opacity"),l=!o.layout.get("circle-sort-key").isConstant();if(0===r.constantOr(1)&&(0===s.constantOr(1)||0===n.constantOr(1)))return;const c=e.context,h=c.gl,u=e.depthModeForSublayer(0,wi.ReadOnly),d=Ei.disabled,m=e.colorModeForRenderPass(),_=[];for(let r=0;r<a.length;r++){const s=a[r],n=i.getTile(s),c=n.getBucket(o);if(!c)continue;const h=c.programConfigurations.get(o.id),u=e.useProgram("circle",h),d=c.layoutVertexBuffer,m=c.indexBuffer,p=e.style.terrain&&e.style.terrain.getTerrainData(s),f={programConfiguration:h,program:u,layoutVertexBuffer:d,indexBuffer:m,uniformValues:pe(e,s,n,o),terrainData:p};if(l){const e=c.segments.get();for(const i of e)_.push({segments:new t.SegmentVector([i]),sortKey:i.sortKey,state:f})}else _.push({segments:c.segments,sortKey:0,state:f})}l&&_.sort(((t,e)=>t.sortKey-e.sortKey));for(const t of _){const{programConfiguration:i,program:a,layoutVertexBuffer:r,indexBuffer:s,uniformValues:n,terrainData:l}=t.state;a.draw(c,h.TRIANGLES,u,d,m,Ii.disabled,n,l,o.id,r,s,t.segments,o.paint,e.transform.zoom,i)}},heatmap:function(e,i,o,a){if(0!==o.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){const r=e.context,s=r.gl,n=Ei.disabled,l=new yi([s.ONE,s.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,i){const o=t.gl;t.activeTexture.set(o.TEXTURE1),t.viewport.set([0,0,e.width/4,e.height/4]);let a=i.heatmapFbo;if(a)o.bindTexture(o.TEXTURE_2D,a.colorAttachment.get()),t.bindFramebuffer.set(a.framebuffer);else{const r=o.createTexture();o.bindTexture(o.TEXTURE_2D,r),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,o.LINEAR),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MAG_FILTER,o.LINEAR),a=i.heatmapFbo=t.createFramebuffer(e.width/4,e.height/4,!1),function(t,e,i,o){const a=t.gl;a.texImage2D(a.TEXTURE_2D,0,a.RGBA,e.width/4,e.height/4,0,a.RGBA,t.extRenderToTextureHalfFloat?t.extTextureHalfFloat.HALF_FLOAT_OES:a.UNSIGNED_BYTE,null),o.colorAttachment.set(i)}(t,e,r,a)}}(r,e,o),r.clear({color:t.Color.transparent});for(let t=0;t<a.length;t++){const c=a[t];if(i.hasRenderableParent(c))continue;const h=i.getTile(c),u=h.getBucket(o);if(!u)continue;const d=u.programConfigurations.get(o.id),m=e.useProgram("heatmap",d),{zoom:_}=e.transform;m.draw(r,s.TRIANGLES,wi.disabled,n,l,Ii.disabled,ve(c.posMatrix,h,_,o.paint.get("heatmap-intensity")),null,o.id,u.layoutVertexBuffer,u.indexBuffer,u.segments,o.paint,e.transform.zoom,d)}r.viewport.set([0,0,e.width,e.height])}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,i){const o=e.context,a=o.gl,r=i.heatmapFbo;if(!r)return;o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,r.colorAttachment.get()),o.activeTexture.set(a.TEXTURE1);let s=i.colorRampTexture;s||(s=i.colorRampTexture=new l(o,i.colorRamp,a.RGBA)),s.bind(a.LINEAR,a.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(o,a.TRIANGLES,wi.disabled,Ei.disabled,e.colorModeForRenderPass(),Ii.disabled,((e,i,o,a)=>{const r=t.create();t.ortho(r,0,e.width,e.height,0,0,1);const s=e.context.gl;return{u_matrix:r,u_world:[s.drawingBufferWidth,s.drawingBufferHeight],u_image:0,u_color_ramp:1,u_opacity:i.paint.get("heatmap-opacity")}})(e,i),null,i.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,i.paint,e.transform.zoom)}(e,o))},line:function(e,i,o,a){if("translucent"!==e.renderPass)return;const r=o.paint.get("line-opacity"),s=o.paint.get("line-width");if(0===r.constantOr(1)||0===s.constantOr(1))return;const n=e.depthModeForSublayer(0,wi.ReadOnly),c=e.colorModeForRenderPass(),h=o.paint.get("line-dasharray"),u=o.paint.get("line-pattern"),d=u.constantOr(1),m=o.paint.get("line-gradient"),_=o.getCrossfadeParameters(),p=d?"linePattern":h?"lineSDF":m?"lineGradient":"line",f=e.context,g=f.gl;let x=!0;for(const r of a){const a=i.getTile(r);if(d&&!a.patternsLoaded())continue;const s=a.getBucket(o);if(!s)continue;const v=s.programConfigurations.get(o.id),y=e.context.program.get(),b=e.useProgram(p,v),w=x||b.program!==y,T=e.style.terrain&&e.style.terrain.getTerrainData(r),E=u.constantOr(null);if(E&&a.imageAtlas){const t=a.imageAtlas,e=t.patternPositions[E.to.toString()],i=t.patternPositions[E.from.toString()];e&&i&&v.setConstantPatternPositions(e,i)}const I=T?r:null,C=d?Te(e,a,o,_,I):h?Ee(e,a,o,h,_,I):m?we(e,a,o,s.lineClipsArray.length,I):be(e,a,o,I);if(d)f.activeTexture.set(g.TEXTURE0),a.imageAtlasTexture.bind(g.LINEAR,g.CLAMP_TO_EDGE),v.updatePaintBuffers(_);else if(h&&(w||e.lineAtlas.dirty))f.activeTexture.set(g.TEXTURE0),e.lineAtlas.bind(f);else if(m){const a=s.gradients[o.id];let n=a.texture;if(o.gradientVersion!==a.version){let c=256;if(o.stepInterpolant){const o=i.getSource().maxzoom,a=r.canonical.z===o?Math.ceil(1<<e.transform.maxZoom-r.canonical.z):1;c=t.clamp(t.nextPowerOfTwo(s.maxLineLength/t.EXTENT*1024*a),256,f.maxTextureSize)}a.gradient=t.renderColorRamp({expression:o.gradientExpression(),evaluationKey:"lineProgress",resolution:c,image:a.gradient||void 0,clips:s.lineClipsArray}),a.texture?a.texture.update(a.gradient):a.texture=new l(f,a.gradient,g.RGBA),a.version=o.gradientVersion,n=a.texture}f.activeTexture.set(g.TEXTURE0),n.bind(o.stepInterpolant?g.NEAREST:g.LINEAR,g.CLAMP_TO_EDGE)}b.draw(f,g.TRIANGLES,n,e.stencilModeForClipping(r),c,Ii.disabled,C,T,o.id,s.layoutVertexBuffer,s.indexBuffer,s.segments,o.paint,e.transform.zoom,v,s.layoutVertexBuffer2),x=!1}},fill:function(e,i,o,a){const r=o.paint.get("fill-color"),s=o.paint.get("fill-opacity");if(0===s.constantOr(1))return;const n=e.colorModeForRenderPass(),l=o.paint.get("fill-pattern"),c=e.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===r.constantOr(t.Color.transparent).a&&1===s.constantOr(0)?"opaque":"translucent";if(e.renderPass===c){const t=e.depthModeForSublayer(1,"opaque"===e.renderPass?wi.ReadWrite:wi.ReadOnly);Ri(e,i,o,a,t,n,!1)}if("translucent"===e.renderPass&&o.paint.get("fill-antialias")){const t=e.depthModeForSublayer(o.getPaintProperty("fill-outline-color")?2:0,wi.ReadOnly);Ri(e,i,o,a,t,n,!0)}},"fill-extrusion":function(t,e,i,o){const a=i.paint.get("fill-extrusion-opacity");if(0!==a&&"translucent"===t.renderPass){const r=new wi(t.context.gl.LEQUAL,wi.ReadWrite,t.depthRangeFor3D);if(1!==a||i.paint.get("fill-extrusion-pattern").constantOr(1))ki(t,e,i,o,r,Ei.disabled,yi.disabled),ki(t,e,i,o,r,t.stencilModeFor3D(),t.colorModeForRenderPass());else{const a=t.colorModeForRenderPass();ki(t,e,i,o,r,Ei.disabled,a)}}},hillshade:function(t,e,i,o){if("offscreen"!==t.renderPass&&"translucent"!==t.renderPass)return;const a=t.context,r=t.depthModeForSublayer(0,wi.ReadOnly),s=t.colorModeForRenderPass(),[n,l]="translucent"===t.renderPass?t.stencilConfigForOverlap(o):[{},o];for(const o of l){const a=e.getTile(o);void 0!==a.needsHillshadePrepare&&a.needsHillshadePrepare&&"offscreen"===t.renderPass?Fi(t,a,i,r,Ei.disabled,s):"translucent"===t.renderPass&&Bi(t,o,a,i,r,n[o.overscaledZ],s)}a.viewport.set([0,0,t.width,t.height])},raster:function(t,e,i,o){if("translucent"!==t.renderPass)return;if(0===i.paint.get("raster-opacity"))return;if(!o.length)return;const a=t.context,r=a.gl,s=e.getSource(),n=t.useProgram("raster"),l=t.colorModeForRenderPass(),[c,h]=s instanceof D?[{},o]:t.stencilConfigForOverlap(o),u=h[h.length-1].overscaledZ,d=!t.options.moving;for(const o of h){const h=t.depthModeForSublayer(o.overscaledZ-u,1===i.paint.get("raster-opacity")?wi.ReadWrite:wi.ReadOnly,r.LESS),m=e.getTile(o);m.registerFadeDuration(i.paint.get("raster-fade-duration"));const _=e.findLoadedParent(o,0),p=Oi(m,_,e,i,t.transform,t.style.terrain);let f,g;const x="nearest"===i.paint.get("raster-resampling")?r.NEAREST:r.LINEAR;a.activeTexture.set(r.TEXTURE0),m.texture.bind(x,r.CLAMP_TO_EDGE,r.LINEAR_MIPMAP_NEAREST),a.activeTexture.set(r.TEXTURE1),_?(_.texture.bind(x,r.CLAMP_TO_EDGE,r.LINEAR_MIPMAP_NEAREST),f=Math.pow(2,_.tileID.overscaledZ-m.tileID.overscaledZ),g=[m.tileID.canonical.x*f%1,m.tileID.canonical.y*f%1]):m.texture.bind(x,r.CLAMP_TO_EDGE,r.LINEAR_MIPMAP_NEAREST);const v=t.style.terrain&&t.style.terrain.getTerrainData(o),y=v?o:null,b=y?y.posMatrix:t.transform.calculatePosMatrix(o.toUnwrapped(),d),w=Se(b,g||[0,0],f||1,p,i);s instanceof D?n.draw(a,r.TRIANGLES,h,Ei.disabled,l,Ii.disabled,w,v,i.id,s.boundsBuffer,t.quadTriangleIndexBuffer,s.boundsSegments):n.draw(a,r.TRIANGLES,h,c[o.overscaledZ],l,Ii.disabled,w,v,i.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}},background:function(t,e,i,o){const a=i.paint.get("background-color"),r=i.paint.get("background-opacity");if(0===r)return;const s=t.context,n=s.gl,l=t.transform,c=l.tileSize,h=i.paint.get("background-pattern");if(t.isPatternMissing(h))return;const u=!h&&1===a.a&&1===r&&t.opaquePassEnabledForLayer()?"opaque":"translucent";if(t.renderPass!==u)return;const d=Ei.disabled,m=t.depthModeForSublayer(0,"opaque"===u?wi.ReadWrite:wi.ReadOnly),_=t.colorModeForRenderPass(),p=t.useProgram(h?"backgroundPattern":"background"),f=o||l.coveringTiles({tileSize:c,terrain:t.style.terrain});h&&(s.activeTexture.set(n.TEXTURE0),t.imageManager.bind(t.context));const g=i.getCrossfadeParameters();for(const e of f){const l=o?e.posMatrix:t.transform.calculatePosMatrix(e.toUnwrapped()),u=h?Le(l,r,t,h,{tileID:e,tileSize:c},g):Ae(l,r,a),f=t.style.terrain&&t.style.terrain.getTerrainData(e);p.draw(s,n.TRIANGLES,m,d,_,Ii.disabled,u,f,i.id,t.tileExtentBuffer,t.quadTriangleIndexBuffer,t.tileExtentSegments)}},debug:function(t,e,i){for(let o=0;o<i.length;o++)Xi(t,e,i[o])},custom:function(t,e,i){const o=t.context,a=i.implementation;if("offscreen"===t.renderPass){const e=a.prerender;e&&(t.setCustomLayerDefaults(),o.setColorMode(t.colorModeForRenderPass()),e.call(a,o.gl,t.transform.customLayerMatrix()),o.setDirty(),t.setBaseState())}else if("translucent"===t.renderPass){t.setCustomLayerDefaults(),o.setColorMode(t.colorModeForRenderPass()),o.setStencilMode(Ei.disabled);const e="3d"===a.renderingMode?new wi(t.context.gl.LEQUAL,wi.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,wi.ReadOnly);o.setDepthMode(e),a.render(o.gl,t.transform.customLayerMatrix()),o.setDirty(),t.setBaseState(),o.bindFramebuffer.set(null)}}};class Ji{constructor(e,i){this.context=new bi(e),this.transform=i,this._tileTextures={},this.terrainFacilitator={dirty:!0,matrix:t.create(),renderTime:0},this.setup(),this.numSublayers=O.maxUnderzooming+O.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Xt,this.gpuTimers={}}resize(t,e,i){if(this.width=t*i,this.height=e*i,this.pixelRatio=i,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(const t of this.style._order)this.style._layers[t].resize()}setup(){const e=this.context,i=new t.PosArray;i.emplaceBack(0,0),i.emplaceBack(t.EXTENT,0),i.emplaceBack(0,t.EXTENT),i.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(i,Wt.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);const o=new t.PosArray;o.emplaceBack(0,0),o.emplaceBack(t.EXTENT,0),o.emplaceBack(0,t.EXTENT),o.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(o,Wt.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);const a=new t.RasterBoundsArray;a.emplaceBack(0,0,0,0),a.emplaceBack(t.EXTENT,0,t.EXTENT,0),a.emplaceBack(0,t.EXTENT,0,t.EXTENT),a.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(a,S.members),this.rasterBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);const r=new t.PosArray;r.emplaceBack(0,0),r.emplaceBack(1,0),r.emplaceBack(0,1),r.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(r,Wt.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);const s=new t.LineStripIndexArray;s.emplaceBack(0),s.emplaceBack(1),s.emplaceBack(3),s.emplaceBack(2),s.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(s);const n=new t.TriangleIndexArray;n.emplaceBack(0,1,2),n.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(n),this.emptyTexture=new l(e,{width:1,height:1,data:new Uint8Array([0,0,0,0])},e.gl.RGBA);const c=this.context.gl;this.stencilClearMode=new Ei({func:c.ALWAYS,mask:0},0,255,c.ZERO,c.ZERO,c.ZERO)}clearStencil(){const e=this.context,i=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;const o=t.create();t.ortho(o,0,this.width,this.height,0,0,1),t.scale(o,o,[i.drawingBufferWidth,i.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(e,i.TRIANGLES,wi.disabled,this.stencilClearMode,yi.disabled,Ii.disabled,xe(o),null,"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}_renderTileClippingMasks(t,e){if(this.currentStencilSource===t.source||!t.isTileClipped()||!e||!e.length)return;this.currentStencilSource=t.source;const i=this.context,o=i.gl;this.nextStencilID+e.length>256&&this.clearStencil(),i.setColorMode(yi.disabled),i.setDepthMode(wi.disabled);const a=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(const t of e){const e=this._tileClippingMaskIDs[t.key]=this.nextStencilID++,r=this.style.terrain&&this.style.terrain.getTerrainData(t);a.draw(i,o.TRIANGLES,wi.disabled,new Ei({func:o.ALWAYS,mask:0},e,255,o.KEEP,o.KEEP,o.REPLACE),yi.disabled,Ii.disabled,xe(t.posMatrix),r,"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();const t=this.nextStencilID++,e=this.context.gl;return new Ei({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)}stencilModeForClipping(t){const e=this.context.gl;return new Ei({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)}stencilConfigForOverlap(t){const e=this.context.gl,i=t.sort(((t,e)=>e.overscaledZ-t.overscaledZ)),o=i[i.length-1].overscaledZ,a=i[0].overscaledZ-o+1;if(a>1){this.currentStencilSource=void 0,this.nextStencilID+a>256&&this.clearStencil();const t={};for(let i=0;i<a;i++)t[i+o]=new Ei({func:e.GEQUAL,mask:255},i+this.nextStencilID,255,e.KEEP,e.KEEP,e.REPLACE);return this.nextStencilID+=a,[t,i]}return[{[o]:Ei.disabled},i]}colorModeForRenderPass(){const e=this.context.gl;if(this._showOverdrawInspector){const i=1/8;return new yi([e.CONSTANT_COLOR,e.ONE],new t.Color(i,i,i,0),[!0,!0,!0,!0])}return"opaque"===this.renderPass?yi.unblended:yi.alphaBlended}depthModeForSublayer(t,e,i){if(!this.opaquePassEnabledForLayer())return wi.disabled;const o=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new wi(i||this.context.gl.LEQUAL,e,[o,o])}opaquePassEnabledForLayer(){return this.currentLayer<this.opaquePassCutoff}render(e,i){this.style=e,this.options=i,this.lineAtlas=e.lineAtlas,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.exported.now()),this.imageManager.beginFrame();const o=this.style._order,a=this.style.sourceCaches,r=this.style.terrain&&new Ki(this);for(const t in a){const e=a[t];e.used&&e.prepare(this.context)}const s={},n={},l={};for(const t in a){const e=a[t];s[t]=e.getVisibleCoordinates(),n[t]=s[t].slice().reverse(),l[t]=e.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(let t=0;t<o.length;t++)if(this.style._layers[o[t]].is3D()){this.opaquePassCutoff=t;break}if(r){this.opaquePassCutoff=0;const e=this.style.terrain.sourceCache.tilesAfterTime(this.terrainFacilitator.renderTime);(this.terrainFacilitator.dirty||!t.equals(this.terrainFacilitator.matrix,this.transform.projMatrix)||e.length)&&(t.copy(this.terrainFacilitator.matrix,this.transform.projMatrix),this.terrainFacilitator.renderTime=Date.now(),this.terrainFacilitator.dirty=!1,function(e,i){const o=e.context,a=o.gl,r=yi.unblended,s=new wi(a.LEQUAL,wi.ReadWrite,[0,1]),n=i.getTerrainMesh(),l=i.sourceCache.getRenderableTiles(),c=e.useProgram("terrainDepth");o.bindFramebuffer.set(i.getFramebuffer("depth").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.Color.transparent,depth:1});for(const t of l){const l=i.getTerrainData(t.tileID),h=e.transform.calculatePosMatrix(t.tileID.toUnwrapped());c.draw(o,a.TRIANGLES,s,Ei.disabled,r,Ii.backCCW,{u_matrix:h},l,"terrain",n.vertexBuffer,n.indexBuffer,n.segments)}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height])}(this,this.style.terrain),function(e,i){const o=e.context,a=o.gl,r=yi.unblended,s=new wi(a.LEQUAL,wi.ReadWrite,[0,1]),n=i.getTerrainMesh(),l=i.getCoordsTexture(),c=i.sourceCache.getRenderableTiles(),h=e.useProgram("terrainCoords");o.bindFramebuffer.set(i.getFramebuffer("coords").framebuffer),o.viewport.set([0,0,e.width/devicePixelRatio,e.height/devicePixelRatio]),o.clear({color:t.Color.transparent,depth:1}),i.coordsIndex=[];for(const t of c){const c=i.getTerrainData(t.tileID);o.activeTexture.set(a.TEXTURE0),a.bindTexture(a.TEXTURE_2D,l.texture);const u=e.transform.calculatePosMatrix(t.tileID.toUnwrapped());h.draw(o,a.TRIANGLES,s,Ei.disabled,r,Ii.backCCW,{u_matrix:u,u_terrain_coords_id:(255-i.coordsIndex.length)/255,u_texture:0},c,"terrain",n.vertexBuffer,n.indexBuffer,n.segments),i.coordsIndex.push(t.tileID.key)}o.bindFramebuffer.set(null),o.viewport.set([0,0,e.width,e.height])}(this,this.style.terrain))}this.renderPass="offscreen";for(const t of o){const e=this.style._layers[t];if(!e.hasOffscreenPass()||e.isHidden(this.transform.zoom))continue;const i=n[e.source];("custom"===e.type||i.length)&&this.renderLayer(this,a[e.source],e,i)}if(this.context.bindFramebuffer.set(null),this.context.clear({color:i.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=i.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],!r)for(this.renderPass="opaque",this.currentLayer=o.length-1;this.currentLayer>=0;this.currentLayer--){const t=this.style._layers[o[this.currentLayer]],e=a[t.source],i=s[t.source];this._renderTileClippingMasks(t,i),this.renderLayer(this,e,t,i)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<o.length;this.currentLayer++){const t=this.style._layers[o[this.currentLayer]],e=a[t.source];if(r&&r.renderLayer(t))continue;const i=("symbol"===t.type?l:n)[t.source];this._renderTileClippingMasks(t,s[t.source]),this.renderLayer(this,e,t,i)}if(this.options.showTileBoundaries){let t,e;Object.values(this.style._layers).forEach((i=>{i.source&&!i.isHidden(this.transform.zoom)&&(i.source!==(e&&e.id)&&(e=this.style.sourceCaches[i.source]),(!t||t.getSource().maxzoom<e.getSource().maxzoom)&&(t=e))})),t&&Yi.debug(this,t,t.getVisibleCoordinates())}this.options.showPadding&&function(t){const e=t.transform.padding;qi(t,t.transform.height-(e.top||0),3,Ui),qi(t,e.bottom||0,3,Ni),ji(t,e.left||0,3,Gi),ji(t,t.transform.width-(e.right||0),3,Zi);const i=t.transform.centerPoint;!function(t,e,i,o){$i(t,e-1,i-10,2,20,o),$i(t,e-10,i-1,20,2,o)}(t,i.x,t.transform.height-i.y,Vi)}(this),this.context.setDefault()}renderLayer(t,e,i,o){i.isHidden(this.transform.zoom)||("background"===i.type||"custom"===i.type||(o||[]).length)&&(this.id=i.id,this.gpuTimingStart(i),Yi[i.type](t,e,i,o,this.style.placement.variableOffsets),this.gpuTimingEnd())}gpuTimingStart(t){if(!this.options.gpuTiming)return;const e=this.context.extTimerQuery;let i=this.gpuTimers[t.id];i||(i=this.gpuTimers[t.id]={calls:0,cpuTime:0,query:e.createQueryEXT()}),i.calls++,e.beginQueryEXT(e.TIME_ELAPSED_EXT,i.query)}gpuTimingEnd(){if(!this.options.gpuTiming)return;const t=this.context.extTimerQuery;t.endQueryEXT(t.TIME_ELAPSED_EXT)}collectGpuTimers(){const t=this.gpuTimers;return this.gpuTimers={},t}queryGpuTimers(t){const e={};for(const i in t){const o=t[i],a=this.context.extTimerQuery,r=a.getQueryObjectEXT(o.query,a.QUERY_RESULT_EXT)/1e6;a.deleteQueryEXT(o.query),e[i]=r}return e}translatePosMatrix(e,i,o,a,r){if(!o[0]&&!o[1])return e;const s=r?"map"===a?this.transform.angle:0:"viewport"===a?-this.transform.angle:0;if(s){const t=Math.sin(s),e=Math.cos(s);o=[o[0]*e-o[1]*t,o[0]*t+o[1]*e]}const n=[r?o[0]:bt(i,o[0],this.transform.zoom),r?o[1]:bt(i,o[1],this.transform.zoom),0],l=new Float32Array(16);return t.translate(l,e,n),l}saveTileTexture(t){const e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t]}getTileTexture(t){const e=this._tileTextures[t];return e&&e.length>0?e.pop():null}isPatternMissing(t){if(!t)return!1;if(!t.from||!t.to)return!0;const e=this.imageManager.getPattern(t.from.toString()),i=this.imageManager.getPattern(t.to.toString());return!e||!i}useProgram(t,e){this.cache=this.cache||{};const i=t+(e?e.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"")+(this.style.terrain?"/terrain":"");return this.cache[i]||(this.cache[i]=new ne(this.context,t,oe[t],e,Re[t],this._showOverdrawInspector,this.style.terrain)),this.cache[i]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)}initDebugOverlayCanvas(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new l(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}}class Qi{constructor(t,e){this.points=t,this.planes=e}static fromInvProjectionMatrix(e,i,o){const a=Math.pow(2,o),r=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((o=>{const r=1/(o=t.transformMat4([],o,e))[3]/i*a;return t.mul$1(o,o,[r,r,1/o[3],r])})),s=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map((e=>{const i=t.sub([],r[e[0]],r[e[1]]),o=t.sub([],r[e[2]],r[e[1]]),a=t.normalize([],t.cross([],i,o)),s=-t.dot(a,r[e[1]]);return a.concat(s)}));return new Qi(r,s)}}class to{constructor(e,i){this.min=e,this.max=i,this.center=t.scale$1([],t.add([],this.min,this.max),.5)}quadrant(e){const i=[e%2==0,e<2],o=t.clone$2(this.min),a=t.clone$2(this.max);for(let t=0;t<i.length;t++)o[t]=i[t]?this.min[t]:this.center[t],a[t]=i[t]?this.center[t]:this.max[t];return a[2]=this.max[2],new to(o,a)}distanceX(t){return Math.max(Math.min(this.max[0],t[0]),this.min[0])-t[0]}distanceY(t){return Math.max(Math.min(this.max[1],t[1]),this.min[1])-t[1]}intersects(e){const i=[[this.min[0],this.min[1],this.min[2],1],[this.max[0],this.min[1],this.min[2],1],[this.max[0],this.max[1],this.min[2],1],[this.min[0],this.max[1],this.min[2],1],[this.min[0],this.min[1],this.max[2],1],[this.max[0],this.min[1],this.max[2],1],[this.max[0],this.max[1],this.max[2],1],[this.min[0],this.max[1],this.max[2],1]];let o=!0;for(let a=0;a<e.planes.length;a++){const r=e.planes[a];let s=0;for(let e=0;e<i.length;e++)t.dot$1(r,i[e])>=0&&s++;if(0===s)return 0;s!==i.length&&(o=!1)}if(o)return 2;for(let t=0;t<3;t++){let i=Number.MAX_VALUE,o=-Number.MAX_VALUE;for(let a=0;a<e.points.length;a++){const r=e.points[a][t]-this.min[t];i=Math.min(i,r),o=Math.max(o,r)}if(o<0||i>this.max[t]-this.min[t])return 0}return 1}}class eo{constructor(t=0,e=0,i=0,o=0){if(isNaN(t)||t<0||isNaN(e)||e<0||isNaN(i)||i<0||isNaN(o)||o<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=t,this.bottom=e,this.left=i,this.right=o}interpolate(e,i,o){return null!=i.top&&null!=e.top&&(this.top=t.number(e.top,i.top,o)),null!=i.bottom&&null!=e.bottom&&(this.bottom=t.number(e.bottom,i.bottom,o)),null!=i.left&&null!=e.left&&(this.left=t.number(e.left,i.left,o)),null!=i.right&&null!=e.right&&(this.right=t.number(e.right,i.right,o)),this}getCenter(e,i){const o=t.clamp((this.left+e-this.right)/2,0,e),a=t.clamp((this.top+i-this.bottom)/2,0,i);return new t.pointGeometry(o,a)}equals(t){return this.top===t.top&&this.bottom===t.bottom&&this.left===t.left&&this.right===t.right}clone(){return new eo(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}class io{constructor(e,i,o,a,r){this.tileSize=512,this.maxValidLatitude=85.051129,this.freezeElevation=!1,this._renderWorldCopies=void 0===r||!!r,this._minZoom=e||0,this._maxZoom=i||22,this._minPitch=null==o?0:o,this._maxPitch=null==a?60:a,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this._elevation=0,this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new eo,this._posMatrixCache={},this._alignedPosMatrixCache={}}clone(){const t=new io(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t._elevation=this._elevation,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._edgeInsets=this._edgeInsets.clone(),t._calcMatrices(),t}get minZoom(){return this._minZoom}set minZoom(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))}get maxZoom(){return this._maxZoom}set maxZoom(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))}get minPitch(){return this._minPitch}set minPitch(t){this._minPitch!==t&&(this._minPitch=t,this.pitch=Math.max(this.pitch,t))}get maxPitch(){return this._maxPitch}set maxPitch(t){this._maxPitch!==t&&(this._maxPitch=t,this.pitch=Math.min(this.pitch,t))}get renderWorldCopies(){return this._renderWorldCopies}set renderWorldCopies(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t}get worldSize(){return this.tileSize*this.scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new t.pointGeometry(this.width,this.height)}get bearing(){return-this.angle/Math.PI*180}set bearing(e){const i=-t.wrap(e,-180,180)*Math.PI/180;var o;this.angle!==i&&(this._unmodified=!1,this.angle=i,this._calcMatrices(),this.rotationMatrix=(o=new t.ARRAY_TYPE(4),t.ARRAY_TYPE!=Float32Array&&(o[1]=0,o[2]=0),o[0]=1,o[3]=1,o),function(t,e,i){var o=e[0],a=e[1],r=e[2],s=e[3],n=Math.sin(i),l=Math.cos(i);t[0]=o*l+r*n,t[1]=a*l+s*n,t[2]=o*-n+r*l,t[3]=a*-n+s*l}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(e){const i=t.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==i&&(this._unmodified=!1,this._pitch=i,this._calcMatrices())}get fov(){return this._fov/Math.PI*180}set fov(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices())}get zoom(){return this._zoom}set zoom(t){const e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices())}get center(){return this._center}set center(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices())}get elevation(){return this._elevation}set elevation(t){t!==this._elevation&&(this._elevation=t,this._constrain(),this._calcMatrices())}get padding(){return this._edgeInsets.toJSON()}set padding(t){this._edgeInsets.equals(t)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,t,1),this._calcMatrices())}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}isPaddingEqual(t){return this._edgeInsets.equals(t)}interpolatePadding(t,e,i){this._unmodified=!1,this._edgeInsets.interpolate(t,e,i),this._constrain(),this._calcMatrices()}coveringZoomLevel(t){const e=(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize));return Math.max(0,e)}getVisibleUnwrappedCoordinates(e){const i=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies){const o=this.pointCoordinate(new t.pointGeometry(0,0)),a=this.pointCoordinate(new t.pointGeometry(this.width,0)),r=this.pointCoordinate(new t.pointGeometry(this.width,this.height)),s=this.pointCoordinate(new t.pointGeometry(0,this.height)),n=Math.floor(Math.min(o.x,a.x,r.x,s.x)),l=Math.floor(Math.max(o.x,a.x,r.x,s.x)),c=1;for(let o=n-c;o<=l+c;o++)0!==o&&i.push(new t.UnwrappedTileID(o,e))}return i}coveringTiles(e){var i,o;let a=this.coveringZoomLevel(e);const r=a;if(void 0!==e.minzoom&&a<e.minzoom)return[];void 0!==e.maxzoom&&a>e.maxzoom&&(a=e.maxzoom);const s=this.pointCoordinate(this.getCameraPoint()),n=t.MercatorCoordinate.fromLngLat(this.center),l=Math.pow(2,a),c=[l*s.x,l*s.y,0],h=[l*n.x,l*n.y,0],u=Qi.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,a);let d=e.minzoom||0;!e.terrain&&this.pitch<=60&&this._edgeInsets.top<.1&&(d=a);const m=e.terrain?2/Math.min(this.tileSize,e.tileSize)*this.tileSize:3,_=t=>({aabb:new to([t*l,0,0],[(t+1)*l,l,0]),zoom:0,x:0,y:0,wrap:t,fullyVisible:!1}),p=[],f=[],g=a,x=e.reparseOverscaled?r:a;if(this._renderWorldCopies)for(let t=1;t<=3;t++)p.push(_(-t)),p.push(_(t));for(p.push(_(0));p.length>0;){const a=p.pop(),r=a.x,s=a.y;let n=a.fullyVisible;if(!n){const t=a.aabb.intersects(u);if(0===t)continue;n=2===t}const l=e.terrain?c:h,_=a.aabb.distanceX(l),v=a.aabb.distanceY(l),y=Math.max(Math.abs(_),Math.abs(v)),b=m+(1<<g-a.zoom)-2;if(a.zoom===g||y>b&&a.zoom>=d){const e=g-a.zoom,i=c[0]-.5-(r<<e),o=c[1]-.5-(s<<e);f.push({tileID:new t.OverscaledTileID(a.zoom===g?x:a.zoom,a.wrap,a.zoom,r,s),distanceSq:t.sqrLen([h[0]-.5-r,h[1]-.5-s]),tileDistanceToCamera:Math.sqrt(i*i+o*o)})}else for(let l=0;l<4;l++){const c=(r<<1)+l%2,h=(s<<1)+(l>>1),u=a.zoom+1;let d=a.aabb.quadrant(l);if(e.terrain){const r=new t.OverscaledTileID(u,a.wrap,u,c,h),s=e.terrain.getMinMaxElevation(r),n=null!==(i=s.minElevation)&&void 0!==i?i:this.elevation,l=null!==(o=s.maxElevation)&&void 0!==o?o:this.elevation;d=new to([d.min[0],d.min[1],n],[d.max[0],d.max[1],l])}p.push({aabb:d,zoom:u,x:c,y:h,wrap:a.wrap,fullyVisible:n})}}return f.sort(((t,e)=>t.distanceSq-e.distanceSq)).map((t=>t.tileID))}resize(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(t){return Math.pow(2,t)}scaleZoom(t){return Math.log(t)/Math.LN2}project(e){const i=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.pointGeometry(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(i)*this.worldSize)}unproject(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()}get point(){return this.project(this.center)}updateElevation(t){this.freezeElevation||(this.elevation=t?this.getElevation(this._center,t):0)}getElevation(e,i){const o=t.MercatorCoordinate.fromLngLat(e),a=(1<<this.tileZoom)*t.EXTENT,r=o.x*a,s=o.y*a,n=Math.floor(r/t.EXTENT),l=Math.floor(s/t.EXTENT),c=new t.OverscaledTileID(this.tileZoom,0,this.tileZoom,n,l);return i.getElevation(c,r%t.EXTENT,s%t.EXTENT,t.EXTENT)}getCameraPosition(){return{lngLat:this.pointLocation(this.getCameraPoint()),altitude:Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter+this.elevation}}recalculateZoom(e){const i=this.pointLocation(this.centerPoint,e),o=this.getElevation(i,e);if(!(this.elevation-o))return;const a=this.getCameraPosition(),r=t.MercatorCoordinate.fromLngLat(a.lngLat,a.altitude),s=t.MercatorCoordinate.fromLngLat(i,o),n=r.x-s.x,l=r.y-s.y,c=r.z-s.z,h=Math.sqrt(n*n+l*l+c*c),u=this.scaleZoom(this.cameraToCenterDistance/h/this.tileSize);this._elevation=o,this._center=i,this.zoom=u}setLocationAtPoint(e,i){const o=this.pointCoordinate(i),a=this.pointCoordinate(this.centerPoint),r=this.locationCoordinate(e),s=new t.MercatorCoordinate(r.x-(o.x-a.x),r.y-(o.y-a.y));this.center=this.coordinateLocation(s),this._renderWorldCopies&&(this.center=this.center.wrap())}locationPoint(t,e){return e?this.coordinatePoint(this.locationCoordinate(t),this.getElevation(t,e),this.pixelMatrix3D):this.coordinatePoint(this.locationCoordinate(t))}pointLocation(t,e){return this.coordinateLocation(this.pointCoordinate(t,e))}locationCoordinate(e){return t.MercatorCoordinate.fromLngLat(e)}coordinateLocation(t){return t&&t.toLngLat()}pointCoordinate(e,i){if(i){const t=i.pointCoordinate(e);if(null!=t)return t}const o=[e.x,e.y,0,1],a=[e.x,e.y,1,1];t.transformMat4(o,o,this.pixelMatrixInverse),t.transformMat4(a,a,this.pixelMatrixInverse);const r=o[3],s=a[3],n=o[1]/r,l=a[1]/s,c=o[2]/r,h=a[2]/s,u=c===h?0:(0-c)/(h-c);return new t.MercatorCoordinate(t.number(o[0]/r,a[0]/s,u)/this.worldSize,t.number(n,l,u)/this.worldSize)}coordinatePoint(e,i=0,o=this.pixelMatrix){const a=[e.x*this.worldSize,e.y*this.worldSize,i,1];return t.transformMat4(a,a,o),new t.pointGeometry(a[0]/a[3],a[1]/a[3])}getBounds(){const e=Math.max(0,this.height/2-this.getHorizon());return(new t.LngLatBounds).extend(this.pointLocation(new t.pointGeometry(0,e))).extend(this.pointLocation(new t.pointGeometry(this.width,e))).extend(this.pointLocation(new t.pointGeometry(this.width,this.height))).extend(this.pointLocation(new t.pointGeometry(0,this.height)))}getMaxBounds(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null}getHorizon(){return Math.tan(Math.PI/2-this._pitch)*this.cameraToCenterDistance*.85}setMaxBounds(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])}calculatePosMatrix(e,i=!1){const o=e.key,a=i?this._alignedPosMatrixCache:this._posMatrixCache;if(a[o])return a[o];const r=e.canonical,s=this.worldSize/this.zoomScale(r.z),n=r.x+Math.pow(2,r.z)*e.wrap,l=t.identity(new Float64Array(16));return t.translate(l,l,[n*s,r.y*s,0]),t.scale(l,l,[s/t.EXTENT,s/t.EXTENT,1]),t.multiply(l,i?this.alignedProjMatrix:this.projMatrix,l),a[o]=new Float32Array(l),a[o]}customLayerMatrix(){return this.mercatorMatrix.slice()}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;let e,i,o,a,r=-90,s=90,n=-180,l=180;const c=this.size,h=this._unmodified;if(this.latRange){const i=this.latRange;r=t.mercatorYfromLat(i[1])*this.worldSize,s=t.mercatorYfromLat(i[0])*this.worldSize,e=s-r<c.y?c.y/(s-r):0}if(this.lngRange){const e=this.lngRange;n=t.wrap(t.mercatorXfromLng(e[0])*this.worldSize,0,this.worldSize),l=t.wrap(t.mercatorXfromLng(e[1])*this.worldSize,0,this.worldSize),l<n&&(l+=this.worldSize),i=l-n<c.x?c.x/(l-n):0}const u=this.point,d=Math.max(i||0,e||0);if(d)return this.center=this.unproject(new t.pointGeometry(i?(l+n)/2:u.x,e?(s+r)/2:u.y)),this.zoom+=this.scaleZoom(d),this._unmodified=h,void(this._constraining=!1);if(this.latRange){const t=u.y,e=c.y/2;t-e<r&&(a=r+e),t+e>s&&(a=s-e)}if(this.lngRange){const e=(n+l)/2,i=t.wrap(u.x,e-this.worldSize/2,e+this.worldSize/2),a=c.x/2;i-a<n&&(o=n+a),i+a>l&&(o=l-a)}void 0===o&&void 0===a||(this.center=this.unproject(new t.pointGeometry(void 0!==o?o:u.x,void 0!==a?a:u.y)).wrap()),this._unmodified=h,this._constraining=!1}_calcMatrices(){if(!this.height)return;const e=this.centerOffset,i=this.point.x,o=this.point.y;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height,this._pixelPerMeter=t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize;let a=t.identity(new Float64Array(16));t.scale(a,a,[this.width/2,-this.height/2,1]),t.translate(a,a,[1,-1,0]),this.labelPlaneMatrix=a,a=t.identity(new Float64Array(16)),t.scale(a,a,[1,-1,1]),t.translate(a,a,[-1,-1,0]),t.scale(a,a,[2/this.width,2/this.height,1]),this.glCoordMatrix=a,this.cameraToSeaLevelDistance=this.cameraToCenterDistance+this._elevation*this._pixelPerMeter/Math.cos(this._pitch);const r=Math.PI/2+this._pitch,s=this._fov*(.5+e.y/this.height),n=Math.sin(s)*this.cameraToSeaLevelDistance/Math.sin(t.clamp(Math.PI-r-s,.01,Math.PI-.01)),l=this.getHorizon(),c=2*Math.atan(l/this.cameraToCenterDistance)*(.5+e.y/(2*l)),h=Math.sin(c)*this.cameraToSeaLevelDistance/Math.sin(t.clamp(Math.PI-r-c,.01,Math.PI-.01)),u=Math.cos(Math.PI/2-this._pitch)*n+this.cameraToSeaLevelDistance,d=Math.cos(Math.PI/2-this._pitch)*h+this.cameraToSeaLevelDistance,m=1.01*Math.min(u,d),_=this.height/50;a=new Float64Array(16),t.perspective(a,this._fov,this.width/this.height,_,m),a[8]=2*-e.x/this.width,a[9]=2*e.y/this.height,t.scale(a,a,[1,-1,1]),t.translate(a,a,[0,0,-this.cameraToCenterDistance]),t.rotateX(a,a,this._pitch),t.rotateZ(a,a,this.angle),t.translate(a,a,[-i,-o,0]),this.mercatorMatrix=t.scale([],a,[this.worldSize,this.worldSize,this.worldSize]),t.scale(a,a,[1,1,this._pixelPerMeter]),this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,a),t.translate(a,a,[0,0,-this.elevation]),this.projMatrix=a,this.invProjMatrix=t.invert([],a),this.pixelMatrix3D=t.multiply(new Float64Array(16),this.labelPlaneMatrix,a);const p=this.width%2/2,f=this.height%2/2,g=Math.cos(this.angle),x=Math.sin(this.angle),v=i-Math.round(i)+g*p+x*f,y=o-Math.round(o)+g*f+x*p,b=new Float64Array(a);if(t.translate(b,b,[v>.5?v-1:v,y>.5?y-1:y,0]),this.alignedProjMatrix=b,a=t.invert(new Float64Array(16),this.pixelMatrix),!a)throw new Error("failed to invert matrix");this.pixelMatrixInverse=a,this._posMatrixCache={},this._alignedPosMatrixCache={}}maxPitchScaleFactor(){if(!this.pixelMatrixInverse)return 1;const e=this.pointCoordinate(new t.pointGeometry(0,0)),i=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(i,i,this.pixelMatrix)[3]/this.cameraToCenterDistance}getCameraPoint(){const e=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.pointGeometry(0,e))}getCameraQueryGeometry(e){const i=this.getCameraPoint();if(1===e.length)return[e[0],i];{let o=i.x,a=i.y,r=i.x,s=i.y;for(const t of e)o=Math.min(o,t.x),a=Math.min(a,t.y),r=Math.max(r,t.x),s=Math.max(s,t.y);return[new t.pointGeometry(o,a),new t.pointGeometry(r,a),new t.pointGeometry(r,s),new t.pointGeometry(o,s),new t.pointGeometry(o,a)]}}}class oo{constructor(e){this._hashName=e&&encodeURIComponent(e),t.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=function(t,e){let i=!1,o=null;const a=()=>{o=null,i&&(t(),o=setTimeout(a,300),i=!1)};return()=>(i=!0,o||a(),o)}(this._updateHashUnthrottled.bind(this))}addTo(t){return this._map=t,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this}getHashString(t){const e=this._map.getCenter(),i=Math.round(100*this._map.getZoom())/100,o=Math.ceil((i*Math.LN2+Math.log(512/360/.5))/Math.LN10),a=Math.pow(10,o),r=Math.round(e.lng*a)/a,s=Math.round(e.lat*a)/a,n=this._map.getBearing(),l=this._map.getPitch();let c="";if(c+=t?`/${r}/${s}/${i}`:`${i}/${s}/${r}`,(n||l)&&(c+="/"+Math.round(10*n)/10),l&&(c+=`/${Math.round(l)}`),this._hashName){const t=this._hashName;let e=!1;const i=window.location.hash.slice(1).split("&").map((i=>{const o=i.split("=")[0];return o===t?(e=!0,`${o}=${c}`):i})).filter((t=>t));return e||i.push(`${t}=${c}`),`#${i.join("&")}`}return`#${c}`}_getCurrentHash(){const t=window.location.hash.replace("#","");if(this._hashName){let e;return t.split("&").map((t=>t.split("="))).forEach((t=>{t[0]===this._hashName&&(e=t)})),(e&&e[1]||"").split("/")}return t.split("/")}_onHashChange(){const t=this._getCurrentHash();if(t.length>=3&&!t.some((t=>isNaN(t)))){const e=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(t[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:e,pitch:+(t[4]||0)}),!0}return!1}_updateHashUnthrottled(){const t=window.location.href.replace(/(#.+)?$/,this.getHashString());try{window.history.replaceState(window.history.state,null,t)}catch(t){}}}const ao={linearity:.3,easing:t.bezier(0,0,.3,1)},ro=t.extend({deceleration:2500,maxSpeed:1400},ao),so=t.extend({deceleration:20,maxSpeed:1400},ao),no=t.extend({deceleration:1e3,maxSpeed:360},ao),lo=t.extend({deceleration:1e3,maxSpeed:90},ao);class co{constructor(t){this._map=t,this.clear()}clear(){this._inertiaBuffer=[]}record(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:t.exported.now(),settings:e})}_drainInertiaBuffer(){const e=this._inertiaBuffer,i=t.exported.now();for(;e.length>0&&i-e[0].time>160;)e.shift()}_onMoveEnd(e){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;const i={zoom:0,bearing:0,pitch:0,pan:new t.pointGeometry(0,0),pinchAround:void 0,around:void 0};for(const{settings:t}of this._inertiaBuffer)i.zoom+=t.zoomDelta||0,i.bearing+=t.bearingDelta||0,i.pitch+=t.pitchDelta||0,t.panDelta&&i.pan._add(t.panDelta),t.around&&(i.around=t.around),t.pinchAround&&(i.pinchAround=t.pinchAround);const o=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,a={};if(i.pan.mag()){const r=uo(i.pan.mag(),o,t.extend({},ro,e||{}));a.offset=i.pan.mult(r.amount/i.pan.mag()),a.center=this._map.transform.center,ho(a,r)}if(i.zoom){const t=uo(i.zoom,o,so);a.zoom=this._map.transform.zoom+t.amount,ho(a,t)}if(i.bearing){const e=uo(i.bearing,o,no);a.bearing=this._map.transform.bearing+t.clamp(e.amount,-179,179),ho(a,e)}if(i.pitch){const t=uo(i.pitch,o,lo);a.pitch=this._map.transform.pitch+t.amount,ho(a,t)}if(a.zoom||a.bearing){const t=void 0===i.pinchAround?i.around:i.pinchAround;a.around=t?this._map.unproject(t):this._map.getCenter()}return this.clear(),t.extend(a,{noMoveStart:!0})}}function ho(t,e){(!t.duration||t.duration<e.duration)&&(t.duration=e.duration,t.easing=e.easing)}function uo(e,i,o){const{maxSpeed:a,linearity:r,deceleration:s}=o,n=t.clamp(e*r/(i/1e3),-a,a),l=Math.abs(n)/(s*r);return{easing:o.easing,duration:1e3*l,amount:n*(l/2)}}class mo extends t.Event{constructor(e,i,o,a={}){const s=r.mousePos(i.getCanvasContainer(),o),n=i.unproject(s);super(e,t.extend({point:s,lngLat:n,originalEvent:o},a)),this._defaultPrevented=!1,this.target=i}preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}}class _o extends t.Event{constructor(e,i,o){const a="touchend"===e?o.changedTouches:o.touches,s=r.touchPos(i.getCanvasContainer(),a),n=s.map((t=>i.unproject(t))),l=s.reduce(((t,e,i,o)=>t.add(e.div(o.length))),new t.pointGeometry(0,0));super(e,{points:s,point:l,lngLats:n,lngLat:i.unproject(l),originalEvent:o}),this._defaultPrevented=!1}preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}}class po extends t.Event{constructor(t,e,i){super(t,{originalEvent:i}),this._defaultPrevented=!1}preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}}class fo{constructor(t,e){this._map=t,this._clickTolerance=e.clickTolerance}reset(){delete this._mousedownPos}wheel(t){return this._firePreventable(new po(t.type,this._map,t))}mousedown(t,e){return this._mousedownPos=e,this._firePreventable(new mo(t.type,this._map,t))}mouseup(t){this._map.fire(new mo(t.type,this._map,t))}click(t,e){this._mousedownPos&&this._mousedownPos.dist(e)>=this._clickTolerance||this._map.fire(new mo(t.type,this._map,t))}dblclick(t){return this._firePreventable(new mo(t.type,this._map,t))}mouseover(t){this._map.fire(new mo(t.type,this._map,t))}mouseout(t){this._map.fire(new mo(t.type,this._map,t))}touchstart(t){return this._firePreventable(new _o(t.type,this._map,t))}touchmove(t){this._map.fire(new _o(t.type,this._map,t))}touchend(t){this._map.fire(new _o(t.type,this._map,t))}touchcancel(t){this._map.fire(new _o(t.type,this._map,t))}_firePreventable(t){if(this._map.fire(t),t.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class go{constructor(t){this._map=t}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent}mousemove(t){this._map.fire(new mo(t.type,this._map,t))}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new mo("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(t){this._delayContextMenu?this._contextMenuEvent=t:this._ignoreContextMenu||this._map.fire(new mo(t.type,this._map,t)),this._map.listens("contextmenu")&&t.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class xo{constructor(t,e){this._map=t,this._el=t.getCanvasContainer(),this._container=t.getContainer(),this._clickTolerance=e.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(t,e){this.isEnabled()&&t.shiftKey&&0===t.button&&(r.disableDrag(),this._startPos=this._lastPos=e,this._active=!0)}mousemoveWindow(t,e){if(!this._active)return;const i=e;if(this._lastPos.equals(i)||!this._box&&i.dist(this._startPos)<this._clickTolerance)return;const o=this._startPos;this._lastPos=i,this._box||(this._box=r.create("div","maplibregl-boxzoom mapboxgl-boxzoom",this._container),this._container.classList.add("maplibregl-crosshair","mapboxgl-crosshair"),this._fireEvent("boxzoomstart",t));const a=Math.min(o.x,i.x),s=Math.max(o.x,i.x),n=Math.min(o.y,i.y),l=Math.max(o.y,i.y);r.setTransform(this._box,`translate(${a}px,${n}px)`),this._box.style.width=s-a+"px",this._box.style.height=l-n+"px"}mouseupWindow(e,i){if(!this._active)return;if(0!==e.button)return;const o=this._startPos,a=i;if(this.reset(),r.suppressClick(),o.x!==a.x||o.y!==a.y)return this._map.fire(new t.Event("boxzoomend",{originalEvent:e})),{cameraAnimation:t=>t.fitScreenCoordinates(o,a,this._map.getBearing(),{linear:!0})};this._fireEvent("boxzoomcancel",e)}keydown(t){this._active&&27===t.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",t))}reset(){this._active=!1,this._container.classList.remove("maplibregl-crosshair","mapboxgl-crosshair"),this._box&&(r.remove(this._box),this._box=null),r.enableDrag(),delete this._startPos,delete this._lastPos}_fireEvent(e,i){return this._map.fire(new t.Event(e,{originalEvent:i}))}}function vo(t,e){if(t.length!==e.length)throw new Error(`The number of touches and points are not equal - touches ${t.length}, points ${e.length}`);const i={};for(let o=0;o<t.length;o++)i[t[o].identifier]=e[o];return i}class yo{constructor(t){this.reset(),this.numTouches=t.numTouches}reset(){delete this.centroid,delete this.startTime,delete this.touches,this.aborted=!1}touchstart(e,i,o){(this.centroid||o.length>this.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),o.length===this.numTouches&&(this.centroid=function(e){const i=new t.pointGeometry(0,0);for(const t of e)i._add(t);return i.div(e.length)}(i),this.touches=vo(o,i)))}touchmove(t,e,i){if(this.aborted||!this.centroid)return;const o=vo(i,e);for(const t in this.touches){const e=this.touches[t],i=o[t];(!i||i.dist(e)>30)&&(this.aborted=!0)}}touchend(t,e,i){if((!this.centroid||t.timeStamp-this.startTime>500)&&(this.aborted=!0),0===i.length){const t=!this.aborted&&this.centroid;if(this.reset(),t)return t}}}class bo{constructor(t){this.singleTap=new yo(t),this.numTaps=t.numTaps,this.reset()}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()}touchstart(t,e,i){this.singleTap.touchstart(t,e,i)}touchmove(t,e,i){this.singleTap.touchmove(t,e,i)}touchend(t,e,i){const o=this.singleTap.touchend(t,e,i);if(o){const e=t.timeStamp-this.lastTime<500,i=!this.lastTap||this.lastTap.dist(o)<30;if(e&&i||this.reset(),this.count++,this.lastTime=t.timeStamp,this.lastTap=o,this.count===this.numTaps)return this.reset(),o}}}class wo{constructor(){this._zoomIn=new bo({numTouches:1,numTaps:2}),this._zoomOut=new bo({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(t,e,i){this._zoomIn.touchstart(t,e,i),this._zoomOut.touchstart(t,e,i)}touchmove(t,e,i){this._zoomIn.touchmove(t,e,i),this._zoomOut.touchmove(t,e,i)}touchend(t,e,i){const o=this._zoomIn.touchend(t,e,i),a=this._zoomOut.touchend(t,e,i);return o?(this._active=!0,t.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:e=>e.easeTo({duration:300,zoom:e.getZoom()+1,around:e.unproject(o)},{originalEvent:t})}):a?(this._active=!0,t.preventDefault(),setTimeout((()=>this.reset()),0),{cameraAnimation:e=>e.easeTo({duration:300,zoom:e.getZoom()-1,around:e.unproject(a)},{originalEvent:t})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}const To={0:1,2:2};class Eo{constructor(t){this.reset(),this._clickTolerance=t.clickTolerance||1}reset(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton}_correctButton(t,e){return!1}_move(t,e){return{}}mousedown(t,e){if(this._lastPoint)return;const i=r.mouseButton(t);this._correctButton(t,i)&&(this._lastPoint=e,this._eventButton=i)}mousemoveWindow(t,e){const i=this._lastPoint;if(i)if(t.preventDefault(),function(t,e){const i=To[e];return void 0===t.buttons||(t.buttons&i)!==i}(t,this._eventButton))this.reset();else if(this._moved||!(e.dist(i)<this._clickTolerance))return this._moved=!0,this._lastPoint=e,this._move(i,e)}mouseupWindow(t){this._lastPoint&&r.mouseButton(t)===this._eventButton&&(this._moved&&r.suppressClick(),this.reset())}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Io extends Eo{mousedown(t,e){super.mousedown(t,e),this._lastPoint&&(this._active=!0)}_correctButton(t,e){return 0===e&&!t.ctrlKey}_move(t,e){return{around:e,panDelta:e.sub(t)}}}class Co extends Eo{_correctButton(t,e){return 0===e&&t.ctrlKey||2===e}_move(t,e){const i=.8*(e.x-t.x);if(i)return this._active=!0,{bearingDelta:i}}contextmenu(t){t.preventDefault()}}class So extends Eo{_correctButton(t,e){return 0===e&&t.ctrlKey||2===e}_move(t,e){const i=-.5*(e.y-t.y);if(i)return this._active=!0,{pitchDelta:i}}contextmenu(t){t.preventDefault()}}class Do{constructor(t,e){this._minTouches=t.cooperativeGestures?2:1,this._clickTolerance=t.clickTolerance||1,this._map=e,this.reset()}reset(){this._active=!1,this._touches={},this._sum=new t.pointGeometry(0,0),setTimeout((()=>{this._cancelCooperativeMessage=!1}),200)}touchstart(t,e,i){return this._calculateTransform(t,e,i)}touchmove(t,e,i){if(this._map._cooperativeGestures&&(2===this._minTouches&&i.length<2&&!this._cancelCooperativeMessage?this._map._onCooperativeGesture(t,!1,i.length):this._cancelCooperativeMessage||(this._cancelCooperativeMessage=!0)),this._active&&!(i.length<this._minTouches))return t.preventDefault(),this._calculateTransform(t,e,i)}touchend(t,e,i){this._calculateTransform(t,e,i),this._active&&i.length<this._minTouches&&this.reset()}touchcancel(){this.reset()}_calculateTransform(e,i,o){o.length>0&&(this._active=!0);const a=vo(o,i),r=new t.pointGeometry(0,0),s=new t.pointGeometry(0,0);let n=0;for(const t in a){const e=a[t],i=this._touches[t];i&&(r._add(e),s._add(e.sub(i)),n++,a[t]=e)}if(this._touches=a,n<this._minTouches||!s.mag())return;const l=s.div(n);return this._sum._add(l),this._sum.mag()<this._clickTolerance?void 0:{around:r.div(n),panDelta:l}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class zo{constructor(){this.reset()}reset(){this._active=!1,delete this._firstTwoTouches}_start(t){}_move(t,e,i){return{}}touchstart(t,e,i){this._firstTwoTouches||i.length<2||(this._firstTwoTouches=[i[0].identifier,i[1].identifier],this._start([e[0],e[1]]))}touchmove(t,e,i){if(!this._firstTwoTouches)return;t.preventDefault();const[o,a]=this._firstTwoTouches,r=Po(i,e,o),s=Po(i,e,a);if(!r||!s)return;const n=this._aroundCenter?null:r.add(s).div(2);return this._move([r,s],n,t)}touchend(t,e,i){if(!this._firstTwoTouches)return;const[o,a]=this._firstTwoTouches,s=Po(i,e,o),n=Po(i,e,a);s&&n||(this._active&&r.suppressClick(),this.reset())}touchcancel(){this.reset()}enable(t){this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}function Po(t,e,i){for(let o=0;o<t.length;o++)if(t[o].identifier===i)return e[o]}function Mo(t,e){return Math.log(t/e)/Math.LN2}class Ao extends zo{reset(){super.reset(),delete this._distance,delete this._startDistance}_start(t){this._startDistance=this._distance=t[0].dist(t[1])}_move(t,e){const i=this._distance;if(this._distance=t[0].dist(t[1]),this._active||!(Math.abs(Mo(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:Mo(this._distance,i),pinchAround:e}}}function Lo(t,e){return 180*t.angleWith(e)/Math.PI}class Ro extends zo{reset(){super.reset(),delete this._minDiameter,delete this._startVector,delete this._vector}_start(t){this._startVector=this._vector=t[0].sub(t[1]),this._minDiameter=t[0].dist(t[1])}_move(t,e){const i=this._vector;if(this._vector=t[0].sub(t[1]),this._active||!this._isBelowThreshold(this._vector))return this._active=!0,{bearingDelta:Lo(this._vector,i),pinchAround:e}}_isBelowThreshold(t){this._minDiameter=Math.min(this._minDiameter,t.mag());const e=25/(Math.PI*this._minDiameter)*360,i=Lo(t,this._startVector);return Math.abs(i)<e}}function ko(t){return Math.abs(t.y)>Math.abs(t.x)}class Bo extends zo{constructor(t){super(),this._map=t}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints}touchstart(t,e,i){super.touchstart(t,e,i),this._currentTouchCount=i.length}_start(t){this._lastPoints=t,ko(t[0].sub(t[1]))&&(this._valid=!1)}_move(t,e,i){if(this._map._cooperativeGestures&&this._currentTouchCount<3)return;const o=t[0].sub(this._lastPoints[0]),a=t[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(o,a,i.timeStamp),this._valid?(this._lastPoints=t,this._active=!0,{pitchDelta:(o.y+a.y)/2*-.5}):void 0}gestureBeginsVertically(t,e,i){if(void 0!==this._valid)return this._valid;const o=t.mag()>=2,a=e.mag()>=2;if(!o&&!a)return;if(!o||!a)return void 0===this._firstMove&&(this._firstMove=i),i-this._firstMove<100&&void 0;const r=t.y>0==e.y>0;return ko(t)&&ko(e)&&r}}const Fo={panStep:100,bearingStep:15,pitchStep:10};class Oo{constructor(){const t=Fo;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep,this._rotationDisabled=!1}reset(){this._active=!1}keydown(t){if(t.altKey||t.ctrlKey||t.metaKey)return;let e=0,i=0,o=0,a=0,r=0;switch(t.keyCode){case 61:case 107:case 171:case 187:e=1;break;case 189:case 109:case 173:e=-1;break;case 37:t.shiftKey?i=-1:(t.preventDefault(),a=-1);break;case 39:t.shiftKey?i=1:(t.preventDefault(),a=1);break;case 38:t.shiftKey?o=1:(t.preventDefault(),r=-1);break;case 40:t.shiftKey?o=-1:(t.preventDefault(),r=1);break;default:return}return this._rotationDisabled&&(i=0,o=0),{cameraAnimation:s=>{const n=s.getZoom();s.easeTo({duration:300,easeId:"keyboardHandler",easing:Uo,zoom:e?Math.round(n)+e*(t.shiftKey?2:1):n,bearing:s.getBearing()+i*this._bearingStep,pitch:s.getPitch()+o*this._pitchStep,offset:[-a*this._panStep,-r*this._panStep],center:s.getCenter()},{originalEvent:t})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function Uo(t){return t*(2-t)}const No=4.000244140625;class Go{constructor(e,i){this._map=e,this._el=e.getCanvasContainer(),this._handler=i,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,t.bindAll(["_onTimeout"],this)}setZoomRate(t){this._defaultZoomRate=t}setWheelZoomRate(t){this._wheelZoomRate=t}isEnabled(){return!!this._enabled}isActive(){return!!this._active||void 0!==this._finishTimeout}isZooming(){return!!this._zooming}enable(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&"center"===t.around)}disable(){this.isEnabled()&&(this._enabled=!1)}wheel(e){if(!this.isEnabled())return;if(this._map._cooperativeGestures){if(!this._map._metaPress)return;e.preventDefault()}let i=e.deltaMode===WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY;const o=t.exported.now(),a=o-(this._lastWheelEventTime||0);this._lastWheelEventTime=o,0!==i&&i%No==0?this._type="wheel":0!==i&&Math.abs(i)<4?this._type="trackpad":a>400?(this._type=null,this._lastValue=i,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(a*i)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,i+=this._lastValue)),e.shiftKey&&i&&(i/=4),this._type&&(this._lastWheelEvent=e,this._delta-=i,this._active||this._start(e)),e.preventDefault()}_onTimeout(t){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(t)}_start(e){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);const i=r.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(i)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}renderFrame(){if(!this._frameId)return;if(this._frameId=null,!this.isActive())return;const e=this._map.transform;if(0!==this._delta){const t="wheel"===this._type&&Math.abs(this._delta)>No?this._wheelZoomRate:this._defaultZoomRate;let i=2/(1+Math.exp(-Math.abs(this._delta*t)));this._delta<0&&0!==i&&(i=1/i);const o="number"==typeof this._targetZoom?e.zoomScale(this._targetZoom):e.scale;this._targetZoom=Math.min(e.maxZoom,Math.max(e.minZoom,e.scaleZoom(o*i))),"wheel"===this._type&&(this._startZoom=e.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}const i="number"==typeof this._targetZoom?this._targetZoom:e.zoom,o=this._startZoom,a=this._easing;let r,s=!1;if("wheel"===this._type&&o&&a){const e=Math.min((t.exported.now()-this._lastWheelEventTime)/200,1),n=a(e);r=t.number(o,i,n),e<1?this._frameId||(this._frameId=!0):s=!0}else r=i,s=!0;return this._active=!0,s&&(this._active=!1,this._finishTimeout=setTimeout((()=>{this._zooming=!1,this._handler._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout}),200)),{noInertia:!0,needsRenderFrame:!s,zoomDelta:r-e.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(e){let i=t.ease;if(this._prevEase){const e=this._prevEase,o=(t.exported.now()-e.start)/e.duration,a=e.easing(o+.01)-e.easing(o),r=.27/Math.sqrt(a*a+1e-4)*.01,s=Math.sqrt(.0729-r*r);i=t.bezier(r,s,.25,1)}return this._prevEase={start:t.exported.now(),duration:e,easing:i},i}reset(){this._active=!1}}class Zo{constructor(t,e){this._clickZoom=t,this._tapZoom=e}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class Vo{constructor(){this.reset()}reset(){this._active=!1}dblclick(t,e){return t.preventDefault(),{cameraAnimation:i=>{i.easeTo({duration:300,zoom:i.getZoom()+(t.shiftKey?-1:1),around:i.unproject(e)},{originalEvent:t})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class qo{constructor(){this._tap=new bo({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()}touchstart(t,e,i){this._swipePoint||(this._tapTime&&t.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?i.length>0&&(this._swipePoint=e[0],this._swipeTouch=i[0].identifier):this._tap.touchstart(t,e,i))}touchmove(t,e,i){if(this._tapTime){if(this._swipePoint){if(i[0].identifier!==this._swipeTouch)return;const o=e[0],a=o.y-this._swipePoint.y;return this._swipePoint=o,t.preventDefault(),this._active=!0,{zoomDelta:a/128}}}else this._tap.touchmove(t,e,i)}touchend(t,e,i){this._tapTime?this._swipePoint&&0===i.length&&this.reset():this._tap.touchend(t,e,i)&&(this._tapTime=t.timeStamp)}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class jo{constructor(t,e,i){this._el=t,this._mousePan=e,this._touchPan=i}enable(t){this._inertiaOptions=t||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("maplibregl-touch-drag-pan","mapboxgl-touch-drag-pan")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("maplibregl-touch-drag-pan","mapboxgl-touch-drag-pan")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class $o{constructor(t,e,i){this._pitchWithRotate=t.pitchWithRotate,this._mouseRotate=e,this._mousePitch=i}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class Xo{constructor(t,e,i,o){this._el=t,this._touchZoom=e,this._touchRotate=i,this._tapDragZoom=o,this._rotationDisabled=!1,this._enabled=!0}enable(t){this._touchZoom.enable(t),this._rotationDisabled||this._touchRotate.enable(t),this._tapDragZoom.enable(),this._el.classList.add("maplibregl-touch-zoom-rotate","mapboxgl-touch-zoom-rotate")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("maplibregl-touch-zoom-rotate","mapboxgl-touch-zoom-rotate")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}const Wo=t=>t.zoom||t.drag||t.pitch||t.rotate;class Ho extends t.Event{}function Ko(t){return t.panDelta&&t.panDelta.mag()||t.zoomDelta||t.bearingDelta||t.pitchDelta}class Yo{constructor(e,i){this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new co(e),this._bearingSnap=i.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(i),t.bindAll(["handleEvent","handleWindowEvent"],this);const o=this._el;this._listeners=[[o,"touchstart",{passive:!0}],[o,"touchmove",{passive:!1}],[o,"touchend",void 0],[o,"touchcancel",void 0],[o,"mousedown",void 0],[o,"mousemove",void 0],[o,"mouseup",void 0],[document,"mousemove",{capture:!0}],[document,"mouseup",void 0],[o,"mouseover",void 0],[o,"mouseout",void 0],[o,"dblclick",void 0],[o,"click",void 0],[o,"keydown",{capture:!1}],[o,"keyup",void 0],[o,"wheel",{passive:!1}],[o,"contextmenu",void 0],[window,"blur",void 0]];for(const[t,e,i]of this._listeners)r.addEventListener(t,e,t===document?this.handleWindowEvent:this.handleEvent,i)}destroy(){for(const[t,e,i]of this._listeners)r.removeEventListener(t,e,t===document?this.handleWindowEvent:this.handleEvent,i)}_addDefaultHandlers(t){const e=this._map,i=e.getCanvasContainer();this._add("mapEvent",new fo(e,t));const o=e.boxZoom=new xo(e,t);this._add("boxZoom",o);const a=new wo,r=new Vo;e.doubleClickZoom=new Zo(r,a),this._add("tapZoom",a),this._add("clickZoom",r);const s=new qo;this._add("tapDragZoom",s);const n=e.touchPitch=new Bo(e);this._add("touchPitch",n);const l=new Co(t),c=new So(t);e.dragRotate=new $o(t,l,c),this._add("mouseRotate",l,["mousePitch"]),this._add("mousePitch",c,["mouseRotate"]);const h=new Io(t),u=new Do(t,e);e.dragPan=new jo(i,h,u),this._add("mousePan",h),this._add("touchPan",u,["touchZoom","touchRotate"]);const d=new Ro,m=new Ao;e.touchZoomRotate=new Xo(i,m,d,s),this._add("touchRotate",d,["touchPan","touchZoom"]),this._add("touchZoom",m,["touchPan","touchRotate"]);const _=e.scrollZoom=new Go(e,this);this._add("scrollZoom",_,["mousePan"]);const p=e.keyboard=new Oo;this._add("keyboard",p),this._add("blockableMapEvent",new go(e));for(const i of["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"])t.interactive&&t[i]&&e[i].enable(t[i])}_add(t,e,i){this._handlers.push({handlerName:t,handler:e,allowed:i}),this._handlersById[t]=e}stop(t){if(!this._updatingCamera){for(const{handler:t}of this._handlers)t.reset();this._inertia.clear(),this._fireEvents({},{},t),this._changes=[]}}isActive(){for(const{handler:t}of this._handlers)if(t.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return Boolean(Wo(this._eventsInProgress))||this.isZooming()}_blockedByActive(t,e,i){for(const o in t)if(o!==i&&(!e||e.indexOf(o)<0))return!0;return!1}handleWindowEvent(t){this.handleEvent(t,`${t.type}Window`)}_getMapTouches(t){const e=[];for(const i of t)this._el.contains(i.target)&&e.push(i);return e}handleEvent(t,e){if("blur"===t.type)return void this.stop(!0);this._updatingCamera=!0;const i="renderFrame"===t.type?void 0:t,o={needsRenderFrame:!1},a={},s={},n=t.touches,l=n?this._getMapTouches(n):void 0,c=l?r.touchPos(this._el,l):r.mousePos(this._el,t);for(const{handlerName:r,handler:n,allowed:h}of this._handlers){if(!n.isEnabled())continue;let u;this._blockedByActive(s,h,r)?n.reset():n[e||t.type]&&(u=n[e||t.type](t,c,l),this.mergeHandlerResult(o,a,u,r,i),u&&u.needsRenderFrame&&this._triggerRenderFrame()),(u||n.isActive())&&(s[r]=n)}const h={};for(const t in this._previousActiveHandlers)s[t]||(h[t]=i);this._previousActiveHandlers=s,(Object.keys(h).length||Ko(o))&&(this._changes.push([o,a,h]),this._triggerRenderFrame()),(Object.keys(s).length||Ko(o))&&this._map._stop(!0),this._updatingCamera=!1;const{cameraAnimation:u}=o;u&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],u(this._map))}mergeHandlerResult(e,i,o,a,r){if(!o)return;t.extend(e,o);const s={handlerName:a,originalEvent:o.originalEvent||r};void 0!==o.zoomDelta&&(i.zoom=s),void 0!==o.panDelta&&(i.drag=s),void 0!==o.pitchDelta&&(i.pitch=s),void 0!==o.bearingDelta&&(i.rotate=s)}_applyChanges(){const e={},i={},o={};for(const[a,r,s]of this._changes)a.panDelta&&(e.panDelta=(e.panDelta||new t.pointGeometry(0,0))._add(a.panDelta)),a.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+a.zoomDelta),a.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+a.bearingDelta),a.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+a.pitchDelta),void 0!==a.around&&(e.around=a.around),void 0!==a.pinchAround&&(e.pinchAround=a.pinchAround),a.noInertia&&(e.noInertia=a.noInertia),t.extend(i,r),t.extend(o,s);this._updateMapTransform(e,i,o),this._changes=[]}_updateMapTransform(e,i,o){const a=this._map,r=a.transform,s=a.style&&a.style.terrain;if(!(Ko(e)||s&&this._drag))return this._fireEvents(i,o,!0);let{panDelta:n,zoomDelta:l,bearingDelta:c,pitchDelta:h,around:u,pinchAround:d}=e;void 0!==d&&(u=d),a._stop(!0),u=u||a.transform.centerPoint;const m=r.pointLocation(n?u.sub(n):u);c&&(r.bearing+=c),h&&(r.pitch+=h),l&&(r.zoom+=l),s?i.drag&&!this._drag?(this._drag={center:r.centerPoint,lngLat:r.pointLocation(u),point:u,handlerName:i.drag.handlerName},a.fire(new t.Event("freezeElevation",{freeze:!0}))):this._drag&&o[this._drag.handlerName]?(a.fire(new t.Event("freezeElevation",{freeze:!1})),this._drag=null):i.drag&&this._drag&&(r.center=r.pointLocation(r.centerPoint.sub(n))):r.setLocationAtPoint(m,u),this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(i,o,!0)}_fireEvents(e,i,o){const a=Wo(this._eventsInProgress),r=Wo(e),s={};for(const t in e){const{originalEvent:i}=e[t];this._eventsInProgress[t]||(s[`${t}start`]=i),this._eventsInProgress[t]=e[t]}!a&&r&&this._fireEvent("movestart",r.originalEvent);for(const t in s)this._fireEvent(t,s[t]);r&&this._fireEvent("move",r.originalEvent);for(const t in e){const{originalEvent:i}=e[t];this._fireEvent(t,i)}const n={};let l;for(const t in this._eventsInProgress){const{handlerName:e,originalEvent:o}=this._eventsInProgress[t];this._handlersById[e].isActive()||(delete this._eventsInProgress[t],l=i[e]||o,n[`${t}end`]=l)}for(const t in n)this._fireEvent(t,n[t]);const c=Wo(this._eventsInProgress);if(o&&(a||r)&&!c){this._updatingCamera=!0;const e=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),i=t=>0!==t&&-this._bearingSnap<t&&t<this._bearingSnap;e?(i(e.bearing||this._map.getBearing())&&(e.bearing=0),this._map.easeTo(e,{originalEvent:l})):(this._map.fire(new t.Event("moveend",{originalEvent:l})),i(this._map.getBearing())&&this._map.resetNorth()),this._updatingCamera=!1}}_fireEvent(e,i){this._map.fire(new t.Event(e,i?{originalEvent:i}:{}))}_requestFrame(){return this._map.triggerRepaint(),this._map._renderTaskQueue.add((t=>{delete this._frameId,this.handleEvent(new Ho("renderFrame",{timeStamp:t})),this._applyChanges()}))}_triggerRenderFrame(){void 0===this._frameId&&(this._frameId=this._requestFrame())}}const Jo={extend:(e,...i)=>t.extend(e,...i),run(t){t()},logToElement(t,e=!1,i="log"){const o=window.document.getElementById(i);o&&(e&&(o.innerHTML=""),o.innerHTML+=`<br>${t}`)}};class Qo extends t.Evented{constructor(e,i){super(),this._moving=!1,this._zooming=!1,this.transform=e,this._bearingSnap=i.bearingSnap,t.bindAll(["_renderFrameCallback"],this)}getCenter(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)}setCenter(t,e){return this.jumpTo({center:t},e)}panBy(e,i,o){return e=t.pointGeometry.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},i),o)}panTo(e,i,o){return this.easeTo(t.extend({center:e},i),o)}getZoom(){return this.transform.zoom}setZoom(t,e){return this.jumpTo({zoom:t},e),this}zoomTo(e,i,o){return this.easeTo(t.extend({zoom:e},i),o)}zoomIn(t,e){return this.zoomTo(this.getZoom()+1,t,e),this}zoomOut(t,e){return this.zoomTo(this.getZoom()-1,t,e),this}getBearing(){return this.transform.bearing}setBearing(t,e){return this.jumpTo({bearing:t},e),this}getPadding(){return this.transform.padding}setPadding(t,e){return this.jumpTo({padding:t},e),this}rotateTo(e,i,o){return this.easeTo(t.extend({bearing:e},i),o)}resetNorth(e,i){return this.rotateTo(0,t.extend({duration:1e3},e),i),this}resetNorthPitch(e,i){return this.easeTo(t.extend({bearing:0,pitch:0,duration:1e3},e),i),this}snapToNorth(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this}getPitch(){return this.transform.pitch}setPitch(t,e){return this.jumpTo({pitch:t},e),this}cameraForBounds(e,i){e=t.LngLatBounds.convert(e);const o=i&&i.bearing||0;return this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),o,i)}_cameraForBoxAndBearing(e,i,o,a){const r={top:0,bottom:0,right:0,left:0};if("number"==typeof(a=t.extend({padding:r,offset:[0,0],maxZoom:this.transform.maxZoom},a)).padding){const t=a.padding;a.padding={top:t,bottom:t,right:t,left:t}}a.padding=t.extend(r,a.padding);const s=this.transform,n=s.padding,l=s.project(t.LngLat.convert(e)),c=s.project(t.LngLat.convert(i)),h=l.rotate(-o*Math.PI/180),u=c.rotate(-o*Math.PI/180),d=new t.pointGeometry(Math.max(h.x,u.x),Math.max(h.y,u.y)),m=new t.pointGeometry(Math.min(h.x,u.x),Math.min(h.y,u.y)),_=d.sub(m),p=(s.width-(n.left+n.right+a.padding.left+a.padding.right))/_.x,f=(s.height-(n.top+n.bottom+a.padding.top+a.padding.bottom))/_.y;if(f<0||p<0)return void t.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.");const g=Math.min(s.scaleZoom(s.scale*Math.min(p,f)),a.maxZoom),x=t.pointGeometry.convert(a.offset),v=new t.pointGeometry((a.padding.left-a.padding.right)/2,(a.padding.top-a.padding.bottom)/2).rotate(o*Math.PI/180),y=x.add(v).mult(s.scale/s.zoomScale(g));return{center:s.unproject(l.add(c).div(2).sub(y)),zoom:g,bearing:o}}fitBounds(t,e,i){return this._fitInternal(this.cameraForBounds(t,e),e,i)}fitScreenCoordinates(e,i,o,a,r){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.pointGeometry.convert(e)),this.transform.pointLocation(t.pointGeometry.convert(i)),o,a),a,r)}_fitInternal(e,i,o){return e?(delete(i=t.extend(e,i)).padding,i.linear?this.easeTo(i,o):this.flyTo(i,o)):this}jumpTo(e,i){this.stop();const o=this.transform;let a=!1,r=!1,s=!1;return"zoom"in e&&o.zoom!==+e.zoom&&(a=!0,o.zoom=+e.zoom),void 0!==e.center&&(o.center=t.LngLat.convert(e.center)),"bearing"in e&&o.bearing!==+e.bearing&&(r=!0,o.bearing=+e.bearing),"pitch"in e&&o.pitch!==+e.pitch&&(s=!0,o.pitch=+e.pitch),null==e.padding||o.isPaddingEqual(e.padding)||(o.padding=e.padding),this.fire(new t.Event("movestart",i)).fire(new t.Event("move",i)),a&&this.fire(new t.Event("zoomstart",i)).fire(new t.Event("zoom",i)).fire(new t.Event("zoomend",i)),r&&this.fire(new t.Event("rotatestart",i)).fire(new t.Event("rotate",i)).fire(new t.Event("rotateend",i)),s&&this.fire(new t.Event("pitchstart",i)).fire(new t.Event("pitch",i)).fire(new t.Event("pitchend",i)),this.fire(new t.Event("moveend",i))}calculateCameraOptionsFromTo(e,i,o,a=0){const r=t.MercatorCoordinate.fromLngLat(e,i),s=t.MercatorCoordinate.fromLngLat(o,a),n=s.x-r.x,l=s.y-r.y,c=s.z-r.z,h=Math.hypot(n,l,c);if(0===h)throw new Error("Can't calculate camera options with same From and To");const u=Math.hypot(n,l),d=this.transform.scaleZoom(this.transform.cameraToCenterDistance/h/this.transform.tileSize),m=180*Math.atan2(n,-l)/Math.PI;let _=180*Math.acos(u/h)/Math.PI;return _=c<0?90-_:90+_,{center:s.toLngLat(),zoom:d,pitch:_,bearing:m}}easeTo(e,i){this._stop(!1,e.easeId),(!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate||!e.essential&&t.exported.prefersReducedMotion)&&(e.duration=0);const o=this.transform,a=this.getZoom(),r=this.getBearing(),s=this.getPitch(),n=this.getPadding(),l="zoom"in e?+e.zoom:a,c="bearing"in e?this._normalizeBearing(e.bearing,r):r,h="pitch"in e?+e.pitch:s,u="padding"in e?e.padding:o.padding,d=t.pointGeometry.convert(e.offset);let m=o.centerPoint.add(d);const _=o.pointLocation(m),p=t.LngLat.convert(e.center||_);this._normalizeCenter(p);const f=o.project(_),g=o.project(p).sub(f),x=o.zoomScale(l-a);let v,y;e.around&&(v=t.LngLat.convert(e.around),y=o.locationPoint(v));const b={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=this._zooming||l!==a,this._rotating=this._rotating||r!==c,this._pitching=this._pitching||h!==s,this._padding=!o.isPaddingEqual(u),this._easeId=e.easeId,this._prepareEase(i,e.noMoveStart,b),this._ease((e=>{if(this._zooming&&(o.zoom=t.number(a,l,e)),this._rotating&&(o.bearing=t.number(r,c,e)),this._pitching&&(o.pitch=t.number(s,h,e)),this._padding&&(o.interpolatePadding(n,u,e),m=o.centerPoint.add(d)),v)o.setLocationAtPoint(v,y);else{const t=o.zoomScale(o.zoom-a),i=l>a?Math.min(2,x):Math.max(.5,x),r=Math.pow(i,1-e),s=o.unproject(f.add(g.mult(e*r)).mult(t));o.setLocationAtPoint(o.renderWorldCopies?s.wrap():s,m)}this._fireMoveEvents(i)}),(t=>{this._afterEase(i,t)}),e),this}_prepareEase(e,i,o={}){this._moving=!0,this.fire(new t.Event("freezeElevation",{freeze:!0})),i||o.moving||this.fire(new t.Event("movestart",e)),this._zooming&&!o.zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&!o.rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&!o.pitching&&this.fire(new t.Event("pitchstart",e))}_fireMoveEvents(e){this.fire(new t.Event("move",e)),this._zooming&&this.fire(new t.Event("zoom",e)),this._rotating&&this.fire(new t.Event("rotate",e)),this._pitching&&this.fire(new t.Event("pitch",e))}_afterEase(e,i){if(this._easeId&&i&&this._easeId===i)return;delete this._easeId,this.fire(new t.Event("freezeElevation",{freeze:!1}));const o=this._zooming,a=this._rotating,r=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,o&&this.fire(new t.Event("zoomend",e)),a&&this.fire(new t.Event("rotateend",e)),r&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e))}flyTo(e,i){if(!e.essential&&t.exported.prefersReducedMotion){const o=t.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(o,i)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);const o=this.transform,a=this.getZoom(),r=this.getBearing(),s=this.getPitch(),n=this.getPadding(),l="zoom"in e?t.clamp(+e.zoom,o.minZoom,o.maxZoom):a,c="bearing"in e?this._normalizeBearing(e.bearing,r):r,h="pitch"in e?+e.pitch:s,u="padding"in e?e.padding:o.padding,d=o.zoomScale(l-a),m=t.pointGeometry.convert(e.offset);let _=o.centerPoint.add(m);const p=o.pointLocation(_),f=t.LngLat.convert(e.center||p);this._normalizeCenter(f);const g=o.project(p),x=o.project(f).sub(g);let v=e.curve;const y=Math.max(o.width,o.height),b=y/d,w=x.mag();if("minZoom"in e){const i=t.clamp(Math.min(e.minZoom,a,l),o.minZoom,o.maxZoom),r=y/o.zoomScale(i-a);v=Math.sqrt(r/w*2)}const T=v*v;function E(t){const e=(b*b-y*y+(t?-1:1)*T*T*w*w)/(2*(t?b:y)*T*w);return Math.log(Math.sqrt(e*e+1)-e)}function I(t){return(Math.exp(t)-Math.exp(-t))/2}function C(t){return(Math.exp(t)+Math.exp(-t))/2}const S=E(0);let D=function(t){return C(S)/C(S+v*t)},z=function(t){return y*((C(S)*(I(e=S+v*t)/C(e))-I(S))/T)/w;var e},P=(E(1)-S)/v;if(Math.abs(w)<1e-6||!isFinite(P)){if(Math.abs(y-b)<1e-6)return this.easeTo(e,i);const t=b<y?-1:1;P=Math.abs(Math.log(b/y))/v,z=function(){return 0},D=function(e){return Math.exp(t*v*e)}}return e.duration="duration"in e?+e.duration:1e3*P/("screenSpeed"in e?+e.screenSpeed/v:+e.speed),e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=r!==c,this._pitching=h!==s,this._padding=!o.isPaddingEqual(u),this._prepareEase(i,!1),this._ease((e=>{const d=e*P,p=1/D(d);o.zoom=1===e?l:a+o.scaleZoom(p),this._rotating&&(o.bearing=t.number(r,c,e)),this._pitching&&(o.pitch=t.number(s,h,e)),this._padding&&(o.interpolatePadding(n,u,e),_=o.centerPoint.add(m));const v=1===e?f:o.unproject(g.add(x.mult(z(d))).mult(p));o.setLocationAtPoint(o.renderWorldCopies?v.wrap():v,_),this._fireMoveEvents(i)}),(()=>this._afterEase(i)),e),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(t,e){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){const t=this._onEaseEnd;delete this._onEaseEnd,t.call(this,e)}if(!t){const t=this.handlers;t&&t.stop(!1)}return this}_ease(e,i,o){!1===o.animate||0===o.duration?(e(1),i()):(this._easeStart=t.exported.now(),this._easeOptions=o,this._onEaseFrame=e,this._onEaseEnd=i,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_renderFrameCallback(){const e=Math.min((t.exported.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()}_normalizeBearing(e,i){e=t.wrap(e,-180,180);const o=Math.abs(e-i);return Math.abs(e-360-i)<o&&(e-=360),Math.abs(e+360-i)<o&&(e+=360),e}_normalizeCenter(t){const e=this.transform;if(!e.renderWorldCopies||e.lngRange)return;const i=t.lng-e.center.lng;t.lng+=i>180?-360:i<-180?360:0}}class ta{constructor(e={}){this.options=e,t.bindAll(["_toggleAttribution","_updateData","_updateCompact","_updateCompactMinimize"],this)}getDefaultPosition(){return"bottom-right"}onAdd(t){return this._map=t,this._compact=this.options&&this.options.compact,this._container=r.create("details","maplibregl-ctrl maplibregl-ctrl-attrib mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=r.create("summary","maplibregl-ctrl-attrib-button mapboxgl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=r.create("div","maplibregl-ctrl-attrib-inner mapboxgl-ctrl-attrib-inner",this._container),this._updateAttributions(),this._updateCompact(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("terrain",this._updateData),this._map.on("resize",this._updateCompact),this._map.on("drag",this._updateCompactMinimize),this._container}onRemove(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("terrain",this._updateData),this._map.off("resize",this._updateCompact),this._map.off("drag",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0}_setElementTitle(t,e){const i=this._map._getUIString(`AttributionControl.${e}`);t.title=i,t.setAttribute("aria-label",i)}_toggleAttribution(){this._container.classList.contains("maplibregl-compact")&&(this._container.classList.contains("maplibregl-compact-show")?(this._container.setAttribute("open",""),this._container.classList.remove("maplibregl-compact-show","mapboxgl-compact-show")):(this._container.classList.add("maplibregl-compact-show","mapboxgl-compact-show"),this._container.removeAttribute("open")))}_updateData(t){!t||"metadata"!==t.sourceDataType&&"visibility"!==t.sourceDataType&&"style"!==t.dataType&&"terrain"!==t.type||this._updateAttributions()}_updateAttributions(){if(!this._map.style)return;let t=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=t.concat(this.options.customAttribution.map((t=>"string"!=typeof t?"":t))):"string"==typeof this.options.customAttribution&&t.push(this.options.customAttribution)),this._map.style.stylesheet){const t=this._map.style.stylesheet;this.styleOwner=t.owner,this.styleId=t.id}const e=this._map.style.sourceCaches;for(const i in e){const o=e[i];if(o.used||o.usedForTerrain){const e=o.getSource();e.attribution&&t.indexOf(e.attribution)<0&&t.push(e.attribution)}}t=t.filter((t=>String(t).trim())),t.sort(((t,e)=>t.length-e.length)),t=t.filter(((e,i)=>{for(let o=i+1;o<t.length;o++)if(t[o].indexOf(e)>=0)return!1;return!0}));const i=t.join(" | ");i!==this._attribHTML&&(this._attribHTML=i,t.length?(this._innerContainer.innerHTML=i,this._container.classList.remove("maplibregl-attrib-empty","mapboxgl-attrib-empty")):this._container.classList.add("maplibregl-attrib-empty","mapboxgl-attrib-empty"),this._updateCompact(),this._editLink=null)}_updateCompact(){this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1===this._compact?this._container.setAttribute("open",""):this._container.classList.contains("maplibregl-compact")||this._container.classList.contains("maplibregl-attrib-empty")||(this._container.setAttribute("open",""),this._container.classList.add("maplibregl-compact","mapboxgl-compact","maplibregl-compact-show","mapboxgl-compact-show")):(this._container.setAttribute("open",""),this._container.classList.contains("maplibregl-compact")&&this._container.classList.remove("maplibregl-compact","maplibregl-compact-show","mapboxgl-compact","mapboxgl-compact-show"))}_updateCompactMinimize(){this._container.classList.contains("maplibregl-compact")&&this._container.classList.contains("maplibregl-compact-show")&&this._container.classList.remove("maplibregl-compact-show","mapboxgl-compact-show")}}class ea{constructor(e={}){this.options=e,t.bindAll(["_updateCompact"],this)}getDefaultPosition(){return"bottom-left"}onAdd(t){this._map=t,this._compact=this.options&&this.options.compact,this._container=r.create("div","maplibregl-ctrl mapboxgl-ctrl");const e=r.create("a","maplibregl-ctrl-logo mapboxgl-ctrl-logo");return e.target="_blank",e.rel="noopener nofollow",e.href="https://maplibre.org/",e.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),e.setAttribute("rel","noopener nofollow"),this._container.appendChild(e),this._container.style.display="block",this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){r.remove(this._container),this._map.off("resize",this._updateCompact),this._map=void 0,this._compact=void 0}_updateCompact(){const t=this._container.children;if(t.length){const e=t[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?!1!==this._compact&&e.classList.add("maplibregl-compact","mapboxgl-compact"):e.classList.remove("maplibregl-compact","mapboxgl-compact")}}}class ia{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(t){const e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e}remove(t){const e=this._currentlyRunning,i=e?this._queue.concat(e):this._queue;for(const e of i)if(e.id===t)return void(e.cancelled=!0)}run(t=0){if(this._currentlyRunning)throw new Error("Attempting to run(), but is already running.");const e=this._currentlyRunning=this._queue;this._queue=[];for(const i of e)if(!i.cancelled&&(i.callback(t),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}const oa={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm","TerrainControl.enableTerrain":"Enable terrain","TerrainControl.disableTerrain":"Disable terrain"},aa={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,cooperativeGestures:void 0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,maplibreLogo:!1,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,fadeDuration:300,crossSourceCollisions:!0},ra={showCompass:!0,showZoom:!0,visualizePitch:!1};class sa{constructor(e,i,o=!1){this._clickTolerance=10,this.element=i,this.mouseRotate=new Co({clickTolerance:e.dragRotate._mouseRotate._clickTolerance}),this.map=e,o&&(this.mousePitch=new So({clickTolerance:e.dragRotate._mousePitch._clickTolerance})),t.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),r.addEventListener(i,"mousedown",this.mousedown),r.addEventListener(i,"touchstart",this.touchstart,{passive:!1}),r.addEventListener(i,"touchmove",this.touchmove),r.addEventListener(i,"touchend",this.touchend),r.addEventListener(i,"touchcancel",this.reset)}down(t,e){this.mouseRotate.mousedown(t,e),this.mousePitch&&this.mousePitch.mousedown(t,e),r.disableDrag()}move(t,e){const i=this.map,o=this.mouseRotate.mousemoveWindow(t,e);if(o&&o.bearingDelta&&i.setBearing(i.getBearing()+o.bearingDelta),this.mousePitch){const o=this.mousePitch.mousemoveWindow(t,e);o&&o.pitchDelta&&i.setPitch(i.getPitch()+o.pitchDelta)}}off(){const t=this.element;r.removeEventListener(t,"mousedown",this.mousedown),r.removeEventListener(t,"touchstart",this.touchstart,{passive:!1}),r.removeEventListener(t,"touchmove",this.touchmove),r.removeEventListener(t,"touchend",this.touchend),r.removeEventListener(t,"touchcancel",this.reset),this.offTemp()}offTemp(){r.enableDrag(),r.removeEventListener(window,"mousemove",this.mousemove),r.removeEventListener(window,"mouseup",this.mouseup)}mousedown(e){this.down(t.extend({},e,{ctrlKey:!0,preventDefault:()=>e.preventDefault()}),r.mousePos(this.element,e)),r.addEventListener(window,"mousemove",this.mousemove),r.addEventListener(window,"mouseup",this.mouseup)}mousemove(t){this.move(t,r.mousePos(this.element,t))}mouseup(t){this.mouseRotate.mouseupWindow(t),this.mousePitch&&this.mousePitch.mouseupWindow(t),this.offTemp()}touchstart(t){1!==t.targetTouches.length?this.reset():(this._startPos=this._lastPos=r.touchPos(this.element,t.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:()=>t.preventDefault()},this._startPos))}touchmove(t){1!==t.targetTouches.length?this.reset():(this._lastPos=r.touchPos(this.element,t.targetTouches)[0],this.move({preventDefault:()=>t.preventDefault()},this._lastPos))}touchend(t){0===t.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()}reset(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()}}function na(e,i,o){if(e=new t.LngLat(e.lng,e.lat),i){const a=new t.LngLat(e.lng-360,e.lat),r=new t.LngLat(e.lng+360,e.lat),s=o.locationPoint(e).distSqr(i);o.locationPoint(a).distSqr(i)<s?e=a:o.locationPoint(r).distSqr(i)<s&&(e=r)}for(;Math.abs(e.lng-o.center.lng)>180;){const t=o.locationPoint(e);if(t.x>=0&&t.y>=0&&t.x<=o.width&&t.y<=o.height)break;e.lng>o.center.lng?e.lng-=360:e.lng+=360}return e}const la={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function ca(t,e,i){const o=t.classList;for(const t in la)o.remove(`maplibregl-${i}-anchor-${t}`,`mapboxgl-${i}-anchor-${t}`);o.add(`maplibregl-${i}-anchor-${e}`,`mapboxgl-${i}-anchor-${e}`)}class ha extends t.Evented{constructor(e,i){if(super(),(e instanceof HTMLElement||i)&&(e=t.extend({element:e},i)),t.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=e&&e.anchor||"center",this._color=e&&e.color||"#3FB1CE",this._scale=e&&e.scale||1,this._draggable=e&&e.draggable||!1,this._clickTolerance=e&&e.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=e&&e.rotation||0,this._rotationAlignment=e&&e.rotationAlignment||"auto",this._pitchAlignment=e&&e.pitchAlignment&&"auto"!==e.pitchAlignment?e.pitchAlignment:this._rotationAlignment,e&&e.element)this._element=e.element,this._offset=t.pointGeometry.convert(e&&e.offset||[0,0]);else{this._defaultMarker=!0,this._element=r.create("div"),this._element.setAttribute("aria-label","Map marker");const i=r.createNS("http://www.w3.org/2000/svg","svg"),o=41,a=27;i.setAttributeNS(null,"display","block"),i.setAttributeNS(null,"height",`${o}px`),i.setAttributeNS(null,"width",`${a}px`),i.setAttributeNS(null,"viewBox",`0 0 ${a} ${o}`);const s=r.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"stroke","none"),s.setAttributeNS(null,"stroke-width","1"),s.setAttributeNS(null,"fill","none"),s.setAttributeNS(null,"fill-rule","evenodd");const n=r.createNS("http://www.w3.org/2000/svg","g");n.setAttributeNS(null,"fill-rule","nonzero");const l=r.createNS("http://www.w3.org/2000/svg","g");l.setAttributeNS(null,"transform","translate(3.0, 29.0)"),l.setAttributeNS(null,"fill","#000000");const c=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];for(const t of c){const e=r.createNS("http://www.w3.org/2000/svg","ellipse");e.setAttributeNS(null,"opacity","0.04"),e.setAttributeNS(null,"cx","10.5"),e.setAttributeNS(null,"cy","5.80029008"),e.setAttributeNS(null,"rx",t.rx),e.setAttributeNS(null,"ry",t.ry),l.appendChild(e)}const h=r.createNS("http://www.w3.org/2000/svg","g");h.setAttributeNS(null,"fill",this._color);const u=r.createNS("http://www.w3.org/2000/svg","path");u.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),h.appendChild(u);const d=r.createNS("http://www.w3.org/2000/svg","g");d.setAttributeNS(null,"opacity","0.25"),d.setAttributeNS(null,"fill","#000000");const m=r.createNS("http://www.w3.org/2000/svg","path");m.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),d.appendChild(m);const _=r.createNS("http://www.w3.org/2000/svg","g");_.setAttributeNS(null,"transform","translate(6.0, 7.0)"),_.setAttributeNS(null,"fill","#FFFFFF");const p=r.createNS("http://www.w3.org/2000/svg","g");p.setAttributeNS(null,"transform","translate(8.0, 8.0)");const f=r.createNS("http://www.w3.org/2000/svg","circle");f.setAttributeNS(null,"fill","#000000"),f.setAttributeNS(null,"opacity","0.25"),f.setAttributeNS(null,"cx","5.5"),f.setAttributeNS(null,"cy","5.5"),f.setAttributeNS(null,"r","5.4999962");const g=r.createNS("http://www.w3.org/2000/svg","circle");g.setAttributeNS(null,"fill","#FFFFFF"),g.setAttributeNS(null,"cx","5.5"),g.setAttributeNS(null,"cy","5.5"),g.setAttributeNS(null,"r","5.4999962"),p.appendChild(f),p.appendChild(g),n.appendChild(l),n.appendChild(h),n.appendChild(d),n.appendChild(_),n.appendChild(p),i.appendChild(n),i.setAttributeNS(null,"height",o*this._scale+"px"),i.setAttributeNS(null,"width",a*this._scale+"px"),this._element.appendChild(i),this._offset=t.pointGeometry.convert(e&&e.offset||[0,-14])}this._element.classList.add("maplibregl-marker","mapboxgl-marker"),this._element.addEventListener("dragstart",(t=>{t.preventDefault()})),this._element.addEventListener("mousedown",(t=>{t.preventDefault()})),ca(this._element,this._anchor,"marker"),this._popup=null}addTo(t){return this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on("move",this._update),t.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),r.remove(this._element),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(t){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),t){if(!("offset"in t.options)){const e=38.1,i=13.5,o=Math.sqrt(Math.pow(i,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-e],"bottom-left":[o,-1*(e-i+o)],"bottom-right":[-o,-1*(e-i+o)],left:[i,-1*(e-i)],right:[-i,-1*(e-i)]}:this._offset}this._popup=t,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this}_onKeyPress(t){const e=t.code,i=t.charCode||t.keyCode;"Space"!==e&&"Enter"!==e&&32!==i&&13!==i||this.togglePopup()}_onMapClick(t){const e=t.originalEvent.target,i=this._element;this._popup&&(e===i||i.contains(e))&&this.togglePopup()}getPopup(){return this._popup}togglePopup(){const t=this._popup;return t?(t.isOpen()?t.remove():t.addTo(this._map),this):this}_update(t){if(!this._map)return;this._map.transform.renderWorldCopies&&(this._lngLat=na(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);let e="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?e=`rotateZ(${this._rotation}deg)`:"map"===this._rotationAlignment&&(e=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let i="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?i="rotateX(0deg)":"map"===this._pitchAlignment&&(i=`rotateX(${this._map.getPitch()}deg)`),t&&"moveend"!==t.type||(this._pos=this._pos.round()),r.setTransform(this._element,`${la[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${i} ${e}`),this._map.style&&this._map.style.terrain&&!this._opacityTimeout&&(this._opacityTimeout=setTimeout((()=>{const t=this._map.unproject(this._pos),e=40075016.686*Math.abs(Math.cos(this._lngLat.lat*Math.PI/180))/Math.pow(2,this._map.transform.tileZoom+8);this._element.style.opacity=t.distanceTo(this._lngLat)>20*e?"0.2":"1.0",this._opacityTimeout=null}),100))}getOffset(){return this._offset}setOffset(e){return this._offset=t.pointGeometry.convert(e),this._update(),this}_onMove(e){if(!this._isDragging){const t=this._clickTolerance||this._map._clickTolerance;this._isDragging=e.point.dist(this._pointerdownPos)>=t}this._isDragging&&(this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.Event("dragstart"))),this.fire(new t.Event("drag")))}_onUp(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive"}_addDragHandler(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._pointerdownPos=t.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))}setDraggable(t){return this._draggable=!!t,this._map&&(t?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(t){return this._rotation=t||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(t){return this._rotationAlignment=t||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(t){return this._pitchAlignment=t&&"auto"!==t?t:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}}const ua={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0};let da,ma=0,_a=!1;const pa={maxWidth:100,unit:"metric"};function fa(t,e,i){const o=i&&i.maxWidth||100,a=t._container.clientHeight/2,r=t.unproject([0,a]),s=t.unproject([o,a]),n=r.distanceTo(s);if(i&&"imperial"===i.unit){const i=3.2808*n;i>5280?ga(e,o,i/5280,t._getUIString("ScaleControl.Miles")):ga(e,o,i,t._getUIString("ScaleControl.Feet"))}else i&&"nautical"===i.unit?ga(e,o,n/1852,t._getUIString("ScaleControl.NauticalMiles")):n>=1e3?ga(e,o,n/1e3,t._getUIString("ScaleControl.Kilometers")):ga(e,o,n,t._getUIString("ScaleControl.Meters"))}function ga(t,e,i,o){const a=function(t){const e=Math.pow(10,`${Math.floor(t)}`.length-1);let i=t/e;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:i>=1?1:function(t){const e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(i),e*i}(i);t.style.width=e*(a/i)+"px",t.innerHTML=`${a}&nbsp;${o}`}const xa={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},va=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function ya(e){if(e){if("number"==typeof e){const i=Math.round(Math.sqrt(.5*Math.pow(e,2)));return{center:new t.pointGeometry(0,0),top:new t.pointGeometry(0,e),"top-left":new t.pointGeometry(i,i),"top-right":new t.pointGeometry(-i,i),bottom:new t.pointGeometry(0,-e),"bottom-left":new t.pointGeometry(i,-i),"bottom-right":new t.pointGeometry(-i,-i),left:new t.pointGeometry(e,0),right:new t.pointGeometry(-e,0)}}if(e instanceof t.pointGeometry||Array.isArray(e)){const i=t.pointGeometry.convert(e);return{center:i,top:i,"top-left":i,"top-right":i,bottom:i,"bottom-left":i,"bottom-right":i,left:i,right:i}}return{center:t.pointGeometry.convert(e.center||[0,0]),top:t.pointGeometry.convert(e.top||[0,0]),"top-left":t.pointGeometry.convert(e["top-left"]||[0,0]),"top-right":t.pointGeometry.convert(e["top-right"]||[0,0]),bottom:t.pointGeometry.convert(e.bottom||[0,0]),"bottom-left":t.pointGeometry.convert(e["bottom-left"]||[0,0]),"bottom-right":t.pointGeometry.convert(e["bottom-right"]||[0,0]),left:t.pointGeometry.convert(e.left||[0,0]),right:t.pointGeometry.convert(e.right||[0,0])}}return ya(new t.pointGeometry(0,0))}const ba={supported:e,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:class extends Qo{constructor(e){var i;if(t.PerformanceUtils.mark(t.PerformanceMarkers.create),null!=(e=t.extend({},aa,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=e.minPitch&&e.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=e.maxPitch&&e.maxPitch>85)throw new Error("maxPitch must be less than or equal to 85");if(super(new io(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies),{bearingSnap:e.bearingSnap}),this._interactive=e.interactive,this._cooperativeGestures=e.cooperativeGestures,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new ia,this._controls=[],this._mapId=t.uniqueId(),this._locale=t.extend({},oa,e.locale),this._clickTolerance=e.clickTolerance,this._pixelRatio=null!==(i=e.pixelRatio)&&void 0!==i?i:devicePixelRatio,this._requestManager=new s(e.transformRequest),"string"==typeof e.container){if(this._container=document.getElementById(e.container),!this._container)throw new Error(`Container '${e.container}' not found.`)}else{if(!(e.container instanceof HTMLElement))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll(["_onWindowOnline","_onWindowResize","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(()=>this._update(!1))),this.on("moveend",(()=>this._update(!1))),this.on("zoom",(()=>this._update(!0))),this.on("terrain",(()=>{this.painter.terrainFacilitator.dirty=!0,this._update(!0)})),"undefined"!=typeof window&&(addEventListener("online",this._onWindowOnline,!1),addEventListener("resize",this._onWindowResize,!1),addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new Yo(this,e),this._cooperativeGestures&&this._setupCooperativeGestures(),this._hash=e.hash&&new oo("string"==typeof e.hash&&e.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new ta({customAttribution:e.customAttribution})),e.maplibreLogo&&this.addControl(new ea,e.logoPosition),this.on("style.load",(()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)})),this.on("data",(e=>{this._update("style"===e.dataType),this.fire(new t.Event(`${e.dataType}data`,e))})),this.on("dataloading",(e=>{this.fire(new t.Event(`${e.dataType}dataloading`,e))})),this.on("dataabort",(e=>{this.fire(new t.Event("sourcedataabort",e))}))}_getMapId(){return this._mapId}addControl(e,i){if(void 0===i&&(i=e.getDefaultPosition?e.getDefaultPosition():"top-right"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));const o=e.onAdd(this);this._controls.push(e);const a=this._controlPositions[i];return-1!==i.indexOf("bottom")?a.insertBefore(o,a.firstChild):a.appendChild(o),this}removeControl(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));const i=this._controls.indexOf(e);return i>-1&&this._controls.splice(i,1),e.onRemove(this),this}hasControl(t){return this._controls.indexOf(t)>-1}calculateCameraOptionsFromTo(t,e,i,o){return null==o&&this.style.terrain&&(o=this.transform.getElevation(i,this.style.terrain)),super.calculateCameraOptionsFromTo(t,e,i,o)}resize(e){const i=this._containerDimensions(),o=i[0],a=i[1];this._resizeCanvas(o,a,this.getPixelRatio()),this.transform.resize(o,a),this.painter.resize(o,a,this.getPixelRatio());const r=!this._moving;return r&&(this.stop(),this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e))),this.fire(new t.Event("resize",e)),r&&this.fire(new t.Event("moveend",e)),this}getPixelRatio(){return this._pixelRatio}setPixelRatio(t){const[e,i]=this._containerDimensions();this._pixelRatio=t,this._resizeCanvas(e,i,t),this.painter.resize(e,i,t)}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()}setMinZoom(t){if((t=null==t?-2:t)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t&&this.setZoom(t),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")}getMinZoom(){return this.transform.minZoom}setMaxZoom(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(t){if((t=null==t?0:t)<0)throw new Error("minPitch must be greater than or equal to 0");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()<t&&this.setPitch(t),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")}getMinPitch(){return this.transform.minPitch}setMaxPitch(t){if((t=null==t?60:t)>85)throw new Error("maxPitch must be less than or equal to 85");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t&&this.setPitch(t),this;throw new Error("maxPitch must be greater than the current minPitch")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(t){return this.transform.renderWorldCopies=t,this._update()}project(e){return this.transform.locationPoint(t.LngLat.convert(e),this.style&&this.style.terrain)}unproject(e){return this.transform.pointLocation(t.pointGeometry.convert(e),this.style&&this.style.terrain)}isMoving(){return this._moving||this.handlers.isMoving()}isZooming(){return this._zooming||this.handlers.isZooming()}isRotating(){return this._rotating||this.handlers.isRotating()}_createDelegatedListener(t,e,i){if("mouseenter"===t||"mouseover"===t){let o=!1;const a=a=>{const r=this.getLayer(e)?this.queryRenderedFeatures(a.point,{layers:[e]}):[];r.length?o||(o=!0,i.call(this,new mo(t,this,a.originalEvent,{features:r}))):o=!1};return{layer:e,listener:i,delegates:{mousemove:a,mouseout:()=>{o=!1}}}}if("mouseleave"===t||"mouseout"===t){let o=!1;const a=a=>{(this.getLayer(e)?this.queryRenderedFeatures(a.point,{layers:[e]}):[]).length?o=!0:o&&(o=!1,i.call(this,new mo(t,this,a.originalEvent)))},r=e=>{o&&(o=!1,i.call(this,new mo(t,this,e.originalEvent)))};return{layer:e,listener:i,delegates:{mousemove:a,mouseout:r}}}{const o=t=>{const o=this.getLayer(e)?this.queryRenderedFeatures(t.point,{layers:[e]}):[];o.length&&(t.features=o,i.call(this,t),delete t.features)};return{layer:e,listener:i,delegates:{[t]:o}}}}on(t,e,i){if(void 0===i)return super.on(t,e);const o=this._createDelegatedListener(t,e,i);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(o);for(const t in o.delegates)this.on(t,o.delegates[t]);return this}once(t,e,i){if(void 0===i)return super.once(t,e);const o=this._createDelegatedListener(t,e,i);for(const t in o.delegates)this.once(t,o.delegates[t]);return this}off(t,e,i){return void 0===i?super.off(t,e):(this._delegatedListeners&&this._delegatedListeners[t]&&(o=>{const a=this._delegatedListeners[t];for(let t=0;t<a.length;t++){const o=a[t];if(o.layer===e&&o.listener===i){for(const t in o.delegates)this.off(t,o.delegates[t]);return a.splice(t,1),this}}})(),this)}queryRenderedFeatures(e,i){if(!this.style)return[];let o;if(void 0!==i||void 0===e||e instanceof t.pointGeometry||Array.isArray(e)||(i=e,e=void 0),i=i||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof t.pointGeometry||"number"==typeof e[0])o=[t.pointGeometry.convert(e)];else{const i=t.pointGeometry.convert(e[0]),a=t.pointGeometry.convert(e[1]);o=[i,new t.pointGeometry(a.x,i.y),a,new t.pointGeometry(i.x,a.y),i]}return this.style.queryRenderedFeatures(o,i,this.transform)}querySourceFeatures(t,e){return this.style.querySourceFeatures(t,e)}setStyle(e,i){return!1!==(i=t.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},i)).diff&&i.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,i),this):(this._localIdeographFontFamily=i.localIdeographFontFamily,this._updateStyle(e,i))}setTransformRequest(t){return this._requestManager.setTransformRequest(t),this}_getUIString(t){const e=this._locale[t];if(null==e)throw new Error(`Missing UI string '${t}'`);return e}_updateStyle(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove()),t?(this.style=new ee(this,e||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof t?this.style.loadURL(t):this.style.loadJSON(t),this):(delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new ee(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(e,i){if("string"==typeof e){const o=this._requestManager.transformRequest(e,t.ResourceType.Style);t.getJSON(o,((e,o)=>{e?this.fire(new t.ErrorEvent(e)):o&&this._updateDiff(o,i)}))}else"object"==typeof e&&this._updateDiff(e,i)}_updateDiff(e,i){try{this.style.setState(e)&&this._update(!0)}catch(o){t.warnOnce(`Unable to perform style diff: ${o.message||o.error||o}. Rebuilding the style from scratch.`),this._updateStyle(e,i)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():t.warnOnce("There is no style added to the map.")}addSource(t,e){return this._lazyInitEmptyStyle(),this.style.addSource(t,e),this._update(!0)}isSourceLoaded(e){const i=this.style&&this.style.sourceCaches[e];if(void 0!==i)return i.loaded();this.fire(new t.ErrorEvent(new Error(`There is no source with ID '${e}'`)))}setTerrain(t){return this.style.setTerrain(t),this}getTerrain(){return this.style.terrain&&this.style.terrain.options}areTilesLoaded(){const t=this.style&&this.style.sourceCaches;for(const e in t){const i=t[e]._tiles;for(const t in i){const e=i[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}}return!0}addSourceType(t,e,i){return this._lazyInitEmptyStyle(),this.style.addSourceType(t,e,i)}removeSource(t){return this.style.removeSource(t),this._update(!0)}getSource(t){return this.style.getSource(t)}addImage(e,i,{pixelRatio:o=1,sdf:a=!1,stretchX:r,stretchY:s,content:n}={}){if(this._lazyInitEmptyStyle(),i instanceof HTMLImageElement||t.isImageBitmap(i)){const{width:l,height:c,data:h}=t.exported.getImageData(i);this.style.addImage(e,{data:new t.RGBAImage({width:l,height:c},h),pixelRatio:o,stretchX:r,stretchY:s,content:n,sdf:a,version:0})}else{if(void 0===i.width||void 0===i.height)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));{const{width:l,height:c,data:h}=i,u=i;this.style.addImage(e,{data:new t.RGBAImage({width:l,height:c},new Uint8Array(h)),pixelRatio:o,stretchX:r,stretchY:s,content:n,sdf:a,version:0,userImage:u}),u.onAdd&&u.onAdd(this,e)}}}updateImage(e,i){const o=this.style.getImage(e);if(!o)return this.fire(new t.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));const a=i instanceof HTMLImageElement||t.isImageBitmap(i)?t.exported.getImageData(i):i,{width:r,height:s,data:n}=a;if(void 0===r||void 0===s)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(r!==o.data.width||s!==o.data.height)return this.fire(new t.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image")));const l=!(i instanceof HTMLImageElement||t.isImageBitmap(i));o.data.replace(n,l),this.style.updateImage(e,o)}hasImage(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error("Missing required image id"))),!1)}removeImage(t){this.style.removeImage(t)}loadImage(e,i){t.getImage(this._requestManager.transformRequest(e,t.ResourceType.Image),i)}listImages(){return this.style.listImages()}addLayer(t,e){return this._lazyInitEmptyStyle(),this.style.addLayer(t,e),this._update(!0)}moveLayer(t,e){return this.style.moveLayer(t,e),this._update(!0)}removeLayer(t){return this.style.removeLayer(t),this._update(!0)}getLayer(t){return this.style.getLayer(t)}setLayerZoomRange(t,e,i){return this.style.setLayerZoomRange(t,e,i),this._update(!0)}setFilter(t,e,i={}){return this.style.setFilter(t,e,i),this._update(!0)}getFilter(t){return this.style.getFilter(t)}setPaintProperty(t,e,i,o={}){return this.style.setPaintProperty(t,e,i,o),this._update(!0)}getPaintProperty(t,e){return this.style.getPaintProperty(t,e)}setLayoutProperty(t,e,i,o={}){return this.style.setLayoutProperty(t,e,i,o),this._update(!0)}getLayoutProperty(t,e){return this.style.getLayoutProperty(t,e)}setLight(t,e={}){return this._lazyInitEmptyStyle(),this.style.setLight(t,e),this._update(!0)}getLight(){return this.style.getLight()}setFeatureState(t,e){return this.style.setFeatureState(t,e),this._update()}removeFeatureState(t,e){return this.style.removeFeatureState(t,e),this._update()}getFeatureState(t){return this.style.getFeatureState(t)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let t=0,e=0;return this._container&&(t=this._container.clientWidth||400,e=this._container.clientHeight||300),[t,e]}_setupContainer(){const t=this._container;t.classList.add("maplibregl-map","mapboxgl-map");const e=this._canvasContainer=r.create("div","maplibregl-canvas-container mapboxgl-canvas-container",t);this._interactive&&e.classList.add("maplibregl-interactive","mapboxgl-interactive"),this._canvas=r.create("canvas","maplibregl-canvas mapboxgl-canvas",e),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map"),this._canvas.setAttribute("role","region");const i=this._containerDimensions();this._resizeCanvas(i[0],i[1],this.getPixelRatio());const o=this._controlContainer=r.create("div","maplibregl-control-container mapboxgl-control-container",t),a=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((t=>{a[t]=r.create("div",`maplibregl-ctrl-${t} mapboxgl-ctrl-${t}`,o)})),this._container.addEventListener("scroll",this._onMapScroll,!1)}_setupCooperativeGestures(){const t=this._container;this._metaPress=!1,this._cooperativeGesturesScreen=r.create("div","maplibregl-cooperative-gesture-screen",t);let e="Control",i="boolean"!=typeof this._cooperativeGestures&&this._cooperativeGestures.windowsHelpText?this._cooperativeGestures.windowsHelpText:"Use Ctrl + scroll to zoom the map";0===navigator.platform.indexOf("Mac")&&(i="boolean"!=typeof this._cooperativeGestures&&this._cooperativeGestures.macHelpText?this._cooperativeGestures.macHelpText:"Use ⌘ + scroll to zoom the map",e="Meta"),this._cooperativeGesturesScreen.innerHTML=`\n <div class="maplibregl-desktop-message">${i}</div>\n <div class="maplibregl-mobile-message">${"boolean"!=typeof this._cooperativeGestures&&this._cooperativeGestures.mobileHelpText?this._cooperativeGestures.mobileHelpText:"Use two fingers to move the map"}</div>\n `,document.addEventListener("keydown",(t=>{t.key===e&&(this._metaPress=!0)})),document.addEventListener("keyup",(t=>{t.key===e&&(this._metaPress=!1)})),this._canvasContainer.addEventListener("wheel",(t=>{this._onCooperativeGesture(t,this._metaPress,1)}),!1),this._canvasContainer.classList.remove("mapboxgl-touch-drag-pan","maplibregl-touch-drag-pan")}_resizeCanvas(t,e,i){this._canvas.width=i*t,this._canvas.height=i*e,this._canvas.style.width=`${t}px`,this._canvas.style.height=`${e}px`}_setupPainter(){const i=t.extend({},e.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),o=this._canvas.getContext("webgl",i)||this._canvas.getContext("experimental-webgl",i);o?(this.painter=new Ji(o,this.transform),t.exported$1.testSupport(o)):this.fire(new t.ErrorEvent(new Error("Failed to initialize WebGL")))}_contextLost(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event("webglcontextlost",{originalEvent:e}))}_contextRestored(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event("webglcontextrestored",{originalEvent:e}))}_onMapScroll(t){if(t.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1}_onCooperativeGesture(t,e,i){return!e&&i<2&&(this._cooperativeGesturesScreen.classList.add("maplibregl-show"),setTimeout((()=>{this._cooperativeGesturesScreen.classList.remove("maplibregl-show")}),100)),!1}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(t){return this._update(),this._renderTaskQueue.add(t)}_cancelRenderFrame(t){this._renderTaskQueue.remove(t)}_render(e){let i,o=0;const a=this.painter.context.extTimerQuery;if(this.listens("gpu-timing-frame")&&(i=a.createQueryEXT(),a.beginQueryEXT(a.TIME_ELAPSED_EXT,i),o=t.exported.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(e),this._removed)return;let r=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;const e=this.transform.zoom,i=t.exported.now();this.style.zoomHistory.update(e,i);const o=new t.EvaluationParameters(e,{now:i,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),a=o.crossFadingFactor();1===a&&a===this._crossFadingFactor||(r=!0,this._crossFadingFactor=a),this.style.update(o)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.style.terrain&&this.style.terrain.sourceCache.update(this.transform,this.style.terrain),this.transform.updateElevation(this.style.terrain),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer")}),this.fire(new t.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,t.PerformanceUtils.mark(t.PerformanceMarkers.load),this.fire(new t.Event("load"))),this.style&&(this.style.hasTransitions()||r)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){const e=t.exported.now()-o;a.endQueryEXT(a.TIME_ELAPSED_EXT,i),setTimeout((()=>{const o=a.getQueryObjectEXT(i,a.QUERY_RESULT_EXT)/1e6;a.deleteQueryEXT(i),this.fire(new t.Event("gpu-timing-frame",{cpuTime:e,gpuTime:o}))}),50)}if(this.listens("gpu-timing-layer")){const e=this.painter.collectGpuTimers();setTimeout((()=>{const i=this.painter.queryGpuTimers(e);this.fire(new t.Event("gpu-timing-layer",{layerTimes:i}))}),50)}const s=this._sourcesDirty||this._styleDirty||this._placementDirty;return s||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.Event("idle")),!this._loaded||this._fullyLoaded||s||(this._fullyLoaded=!0,t.PerformanceUtils.mark(t.PerformanceMarkers.fullLoad)),this}redraw(){return this.style&&(this._frame&&(this._frame.cancel(),this._frame=null),this._render(0)),this}remove(){this._hash&&this._hash.remove();for(const t of this._controls)t.onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),"undefined"!=typeof window&&(removeEventListener("resize",this._onWindowResize,!1),removeEventListener("orientationchange",this._onWindowResize,!1),removeEventListener("online",this._onWindowOnline,!1));const e=this.painter.context.gl.getExtension("WEBGL_lose_context");e&&e.loseContext(),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),r.remove(this._canvasContainer),r.remove(this._controlContainer),this._cooperativeGestures&&r.remove(this._cooperativeGesturesScreen),this._container.classList.remove("maplibregl-map","mapboxgl-map"),t.PerformanceUtils.clearMetrics(),this._removed=!0,this.fire(new t.Event("remove"))}triggerRepaint(){this.style&&!this._frame&&(this._frame=t.exported.frame((e=>{t.PerformanceUtils.frame(e),this._frame=null,this._render(e)})))}_onWindowOnline(){this._update()}_onWindowResize(t){this._trackResize&&this.resize({originalEvent:t})._update()}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())}get showPadding(){return!!this._showPadding}set showPadding(t){this._showPadding!==t&&(this._showPadding=t,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())}get repaint(){return!!this._repaint}set repaint(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(t){this._vertices=t,this._update()}_setCacheLimits(e,i){t.setCacheLimits(e,i)}get version(){return"2.4.0"}},NavigationControl:class{constructor(e){this.options=t.extend({},ra,e),this._container=r.create("div","maplibregl-ctrl maplibregl-ctrl-group mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(t=>t.preventDefault())),this.options.showZoom&&(t.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("maplibregl-ctrl-zoom-in mapboxgl-ctrl-zoom-in",(t=>this._map.zoomIn({},{originalEvent:t}))),r.create("span","maplibregl-ctrl-icon mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("maplibregl-ctrl-zoom-out mapboxgl-ctrl-zoom-out",(t=>this._map.zoomOut({},{originalEvent:t}))),r.create("span","maplibregl-ctrl-icon mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(t.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("maplibregl-ctrl-compass mapboxgl-ctrl-compass",(t=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:t}):this._map.resetNorth({},{originalEvent:t})})),this._compassIcon=r.create("span","maplibregl-ctrl-icon mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}_updateZoomButtons(){const t=this._map.getZoom(),e=t===this._map.getMaxZoom(),i=t===this._map.getMinZoom();this._zoomInButton.disabled=e,this._zoomOutButton.disabled=i,this._zoomInButton.setAttribute("aria-disabled",e.toString()),this._zoomOutButton.setAttribute("aria-disabled",i.toString())}_rotateCompassArrow(){const t=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${this._map.transform.angle*(180/Math.PI)}deg)`:`rotate(${this._map.transform.angle*(180/Math.PI)}deg)`;this._compassIcon.style.transform=t}onAdd(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new sa(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){r.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map}_createButton(t,e){const i=r.create("button",t,this._container);return i.type="button",i.addEventListener("click",e),i}_setButtonTitle(t,e){const i=this._map._getUIString(`NavigationControl.${e}`);t.title=i,t.setAttribute("aria-label",i)}},GeolocateControl:class extends t.Evented{constructor(e){super(),this.options=t.extend({},ua,e),t.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}onAdd(t){var e;return this._map=t,this._container=r.create("div","maplibregl-ctrl maplibregl-ctrl-group mapboxgl-ctrl mapboxgl-ctrl-group"),e=this._setupUI,void 0!==da?e(da):void 0!==window.navigator.permissions?window.navigator.permissions.query({name:"geolocation"}).then((t=>{da="denied"!==t.state,e(da)})):(da=!!window.navigator.geolocation,e(da)),this._container}onRemove(){void 0!==this._geolocationWatchID&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),r.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,ma=0,_a=!1}_isOutOfMapMaxBounds(t){const e=this._map.getMaxBounds(),i=t.coords;return e&&(i.longitude<e.getWest()||i.longitude>e.getEast()||i.latitude<e.getSouth()||i.latitude>e.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error","mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error","mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background","mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background-error","mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting");break;case"ACTIVE_ERROR":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_onSuccess(e){if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error","mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error","mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background","mapboxgl-ctrl-geolocate-background");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("maplibregl-user-location-dot-stale","mapboxgl-user-location-dot-stale"),this.fire(new t.Event("geolocate",e)),this._finish()}}_updateCamera(e){const i=new t.LngLat(e.coords.longitude,e.coords.latitude),o=e.coords.accuracy,a=this._map.getBearing(),r=t.extend({bearing:a},this.options.fitBoundsOptions);this._map.fitBounds(i.toBounds(o),r,{geolocateSource:!0})}_updateMarker(e){if(e){const i=new t.LngLat(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(i).addTo(this._map),this._userLocationDotMarker.setLngLat(i).addTo(this._map),this._accuracy=e.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()}_updateCircleRadius(){const t=this._map._container.clientHeight/2,e=this._map.unproject([0,t]),i=this._map.unproject([1,t]),o=e.distanceTo(i),a=Math.ceil(2*this._accuracy/o);this._circleElement.style.width=`${a}px`,this._circleElement.style.height=`${a}px`}_onZoom(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}_onError(e){if(this._map){if(this.options.trackUserLocation)if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error","mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background","mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error","mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const t=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=t,this._geolocateButton.setAttribute("aria-label",t),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===e.code&&_a)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("maplibregl-user-location-dot-stale","mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish()}}_finish(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0}_setupUI(e){if(this._container.addEventListener("contextmenu",(t=>t.preventDefault())),this._geolocateButton=r.create("button","maplibregl-ctrl-geolocate mapboxgl-ctrl-geolocate",this._container),r.create("span","maplibregl-ctrl-icon mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",!1===e){t.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=e,this._geolocateButton.setAttribute("aria-label",e)}else{const t=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=t,this._geolocateButton.setAttribute("aria-label",t)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","maplibregl-user-location-dot mapboxgl-user-location-dot"),this._userLocationDotMarker=new ha(this._dotElement),this._circleElement=r.create("div","maplibregl-user-location-accuracy-circle mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new ha({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(e=>{e.geolocateSource||"ACTIVE_LOCK"!==this._watchState||e.originalEvent&&"resize"===e.originalEvent.type||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background","mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active"),this.fire(new t.Event("trackuserlocationend")))}))}trigger(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":ma--,_a=!1,this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error","mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background","mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error","mapboxgl-ctrl-geolocate-background-error"),this.fire(new t.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background","mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active","mapboxgl-ctrl-geolocate-active");break;case"OFF":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){let t;this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),ma++,ma>1?(t={maximumAge:6e5,timeout:0},_a=!0):(t=this.options.positionOptions,_a=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,t)}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting","mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)}},AttributionControl:ta,LogoControl:ea,ScaleControl:class{constructor(e){this.options=t.extend({},pa,e),t.bindAll(["_onMove","setUnit"],this)}getDefaultPosition(){return"bottom-left"}_onMove(){fa(this._map,this._container,this.options)}onAdd(t){return this._map=t,this._container=r.create("div","maplibregl-ctrl maplibregl-ctrl-scale mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container}onRemove(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0}setUnit(t){this.options.unit=t,fa(this._map,this._container,this.options)}},FullscreenControl:class{constructor(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof HTMLElement?this._container=e.container:t.warnOnce("Full screen control 'container' must be a DOM element.")),t.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in document&&(this._fullscreenchange="MSFullscreenChange")}onAdd(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div","maplibregl-ctrl maplibregl-ctrl-group mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",t.warnOnce("This device does not support fullscreen mode.")),this._controlContainer}onRemove(){r.remove(this._controlContainer),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._changeIcon)}_checkFullscreenSupport(){return!!(document.fullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled)}_setupUI(){const t=this._fullscreenButton=r.create("button","maplibregl-ctrl-fullscreen mapboxgl-ctrl-fullscreen",this._controlContainer);r.create("span","maplibregl-ctrl-icon mapboxgl-ctrl-icon",t).setAttribute("aria-hidden","true"),t.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._changeIcon)}_updateTitle(){const t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.title=t}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_changeIcon(){(window.document.fullscreenElement||window.document.mozFullScreenElement||window.document.webkitFullscreenElement||window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("maplibregl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("maplibregl-ctrl-fullscreen"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())}_onClickFullscreen(){this._isFullscreen()?window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen?window.document.mozCancelFullScreen():window.document.msExitFullscreen?window.document.msExitFullscreen():window.document.webkitCancelFullScreen&&window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()}},TerrainControl:class{constructor(e){this.options=e,t.bindAll(["_toggleTerrain","_updateTerrainIcon"],this)}onAdd(t){return this._map=t,this._container=r.create("div","maplibregl-ctrl maplibregl-ctrl-group mapboxgl-ctrl mapboxgl-ctrl-group"),this._terrainButton=r.create("button","maplibregl-ctrl-terrain mapboxgl-ctrl-terrain",this._container),r.create("span","maplibregl-ctrl-icon mapboxgl-ctrl-icon",this._terrainButton).setAttribute("aria-hidden","true"),this._terrainButton.type="button",this._terrainButton.addEventListener("click",this._toggleTerrain),this._updateTerrainIcon(),this._map.on("terrain",this._updateTerrainIcon),this._container}onRemove(){r.remove(this._container),this._map.off("terrain",this._updateTerrainIcon),this._map=void 0}_toggleTerrain(){this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon()}_updateTerrainIcon(){this._terrainButton.classList.remove("maplibregl-ctrl-terrain","mapboxgl-ctrl-terrain"),this._terrainButton.classList.remove("maplibregl-ctrl-terrain-enabled","mapboxgl-ctrl-terrain-enabled"),this._map.style.terrain?(this._terrainButton.classList.add("maplibregl-ctrl-terrain-enabled","mapboxgl-ctrl-terrain-enabled"),this._terrainButton.title=this._map._getUIString("TerrainControl.disableTerrain")):(this._terrainButton.classList.add("maplibregl-ctrl-terrain","mapboxgl-ctrl-terrain"),this._terrainButton.title=this._map._getUIString("TerrainControl.enableTerrain"))}},Popup:class extends t.Evented{constructor(e){super(),this.options=t.extend(Object.create(xa),e),t.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}addTo(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("maplibregl-popup-track-pointer","mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer","mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new t.Event("open")),this}isOpen(){return!!this._map}remove(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new t.Event("close")),this}getLngLat(){return this._lngLat}setLngLat(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("maplibregl-popup-track-pointer","mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("maplibregl-track-pointer","mapboxgl-track-pointer")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("maplibregl-popup-track-pointer","mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer","mapboxgl-track-pointer")),this}getElement(){return this._container}setText(t){return this.setDOMContent(document.createTextNode(t))}setHTML(t){const e=document.createDocumentFragment(),i=document.createElement("body");let o;for(i.innerHTML=t;o=i.firstChild,o;)e.appendChild(o);return this.setDOMContent(e)}getMaxWidth(){return this._container&&this._container.style.maxWidth}setMaxWidth(t){return this.options.maxWidth=t,this._update(),this}setDOMContent(t){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=r.create("div","maplibregl-popup-content mapboxgl-popup-content",this._container);return this._content.appendChild(t),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(t){this._container&&this._container.classList.add(t)}removeClassName(t){this._container&&this._container.classList.remove(t)}setOffset(t){return this.options.offset=t,this._update(),this}toggleClassName(t){if(this._container)return this._container.classList.toggle(t)}_createCloseButton(){this.options.closeButton&&(this._closeButton=r.create("button","maplibregl-popup-close-button mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="&#215;",this._closeButton.addEventListener("click",this._onClose))}_onMouseUp(t){this._update(t.point)}_onMouseMove(t){this._update(t.point)}_onDrag(t){this._update(t.point)}_update(t){if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(this._container||(this._container=r.create("div","maplibregl-popup mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","maplibregl-popup-tip mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((t=>this._container.classList.add(t))),this._trackPointer&&this._container.classList.add("maplibregl-popup-track-pointer","mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=na(this._lngLat,this._pos,this._map.transform)),this._trackPointer&&!t)return;const e=this._pos=this._trackPointer&&t?t:this._map.project(this._lngLat);let i=this.options.anchor;const o=ya(this.options.offset);if(!i){const t=this._container.offsetWidth,a=this._container.offsetHeight;let r;r=e.y+o.bottom.y<a?["top"]:e.y>this._map.transform.height-a?["bottom"]:[],e.x<t/2?r.push("left"):e.x>this._map.transform.width-t/2&&r.push("right"),i=0===r.length?"bottom":r.join("-")}const a=e.add(o[i]).round();r.setTransform(this._container,`${la[i]} translate(${a.x}px,${a.y}px)`),ca(this._container,i,"popup")}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const t=this._container.querySelector(va);t&&t.focus()}_onClose(){this.remove()}},Marker:ha,Style:ee,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.pointGeometry,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,AJAXError:t.AJAXError,config:t.config,CanvasSource:P,GeoJSONSource:C,ImageSource:D,RasterDEMTileSource:I,RasterTileSource:T,VectorTileSource:w,VideoSource:z,prewarm:function(){j().acquire(G)},clearPrewarmedResources:function(){const t=q;t&&(t.isPreloaded()&&1===t.numActive()?(t.release(G),q=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get version(){return"2.4.0"},get workerCount(){return Z.workerCount},set workerCount(t){Z.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage(e){t.clearTileCache(e)},workerUrl:"",addProtocol(e,i){t.config.REGISTERED_PROTOCOLS[e]=i},removeProtocol(e){delete t.config.REGISTERED_PROTOCOLS[e]}};return Jo.extend(ba,{isSafari:t.isSafari,getPerformanceMetrics:t.PerformanceUtils.getPerformanceMetrics}),ba})),maplibregl}()},"./node_modules/react-icons/fi/index.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{OGo:()=>FiSun,cLi:()=>FiMoon});var _lib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react-icons/lib/esm/index.js");function FiMoon(props){return(0,_lib__WEBPACK_IMPORTED_MODULE_0__.YH)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"}}]})(props)}function FiSun(props){return(0,_lib__WEBPACK_IMPORTED_MODULE_0__.YH)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"5"}},{tag:"line",attr:{x1:"12",y1:"1",x2:"12",y2:"3"}},{tag:"line",attr:{x1:"12",y1:"21",x2:"12",y2:"23"}},{tag:"line",attr:{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}},{tag:"line",attr:{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}},{tag:"line",attr:{x1:"1",y1:"12",x2:"3",y2:"12"}},{tag:"line",attr:{x1:"21",y1:"12",x2:"23",y2:"12"}},{tag:"line",attr:{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}},{tag:"line",attr:{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"}}]})(props)}},"./node_modules/react-map-gl/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ar:()=>components_layer,Mr:()=>map,ML:()=>popup,Ap:()=>source});var react=__webpack_require__("./node_modules/react/index.js");const MountedMapsContext=react.createContext(null);function transformToViewState(tr){return{longitude:tr.center.lng,latitude:tr.center.lat,zoom:tr.zoom,pitch:tr.pitch,bearing:tr.bearing,padding:tr.padding}}function applyViewStateToTransform(tr,props){const v=props.viewState||props;let changed=!1;if("longitude"in v&&"latitude"in v){const center=tr.center;tr.center=new center.constructor(v.longitude,v.latitude),changed=changed||center!==tr.center}if("zoom"in v){const zoom=tr.zoom;tr.zoom=v.zoom,changed=changed||zoom!==tr.zoom}if("bearing"in v){const bearing=tr.bearing;tr.bearing=v.bearing,changed=changed||bearing!==tr.bearing}if("pitch"in v){const pitch=tr.pitch;tr.pitch=v.pitch,changed=changed||pitch!==tr.pitch}return v.padding&&!tr.isPaddingEqual(v.padding)&&(changed=!0,tr.padding=v.padding),changed}const refProps=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function normalizeStyle(style){if(!style)return null;if("string"==typeof style)return style;if("toJS"in style&&(style=style.toJS()),!style.layers)return style;const layerIndex={};for(const layer of style.layers)layerIndex[layer.id]=layer;const layers=style.layers.map((layer=>{const layerRef=layerIndex[layer.ref];let normalizedLayer=null;if("interactive"in layer&&(normalizedLayer={...layer},delete normalizedLayer.interactive),layerRef){normalizedLayer=normalizedLayer||{...layer},delete normalizedLayer.ref;for(const propName of refProps)propName in layerRef&&(normalizedLayer[propName]=layerRef[propName])}return normalizedLayer||layer}));return{...style,layers}}function deepEqual(a,b){if(a===b)return!0;if(!a||!b)return!1;if(Array.isArray(a)){if(!Array.isArray(b)||a.length!==b.length)return!1;for(let i=0;i<a.length;i++)if(!deepEqual(a[i],b[i]))return!1;return!0}if(Array.isArray(b))return!1;if("object"==typeof a&&"object"==typeof b){const aKeys=Object.keys(a),bKeys=Object.keys(b);if(aKeys.length!==bKeys.length)return!1;for(const key of aKeys){if(!b.hasOwnProperty(key))return!1;if(!deepEqual(a[key],b[key]))return!1}return!0}return!1}var process=__webpack_require__("./node_modules/process/browser.js");const pointerEvents={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},cameraEvents={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},otherEvents={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},settingNames=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],handlerNames=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class Mapbox{constructor(MapClass,props){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=e=>{const cb=this.props[otherEvents[e.type]];cb&&cb(e)},this._onPointerEvent=e=>{"mousemove"!==e.type&&"mouseout"!==e.type||this._updateHover(e);const cb=this.props[pointerEvents[e.type]];if(cb){if(this.props.interactiveLayerIds&&"mouseover"!==e.type&&"mouseout"!==e.type){const features=this._hoveredFeatures||this._map.queryRenderedFeatures(e.point,{layers:this.props.interactiveLayerIds});if(!features.length)return;e.features=features}cb(e),delete e.features}},this._onCameraEvent=e=>{if(!this._internalUpdate){const cb=this.props[cameraEvents[e.type]];cb&&cb(e)}e.type in this._deferredEvents&&(this._deferredEvents[e.type]=!1)},this._MapClass=MapClass,this.props=props}get map(){return this._map}get transform(){return this._renderTransform}setProps(props){const oldProps=this.props;this.props=props;const settingsChanged=this._updateSettings(props,oldProps);settingsChanged&&(this._renderTransform=this._map.transform.clone());const sizeChanged=this._updateSize(props),viewStateChanged=this._updateViewState(props,!0);this._updateStyle(props,oldProps),this._updateStyleComponents(props,oldProps),this._updateHandlers(props,oldProps),(settingsChanged||sizeChanged||viewStateChanged&&!this._map.isMoving())&&this.redraw()}initialize(container){const{props}=this,mapOptions={...props,...props.initialViewState,accessToken:props.mapboxAccessToken||getAccessTokenFromEnv()||null,container,style:normalizeStyle(props.mapStyle)},viewState=mapOptions.initialViewState||mapOptions.viewState||mapOptions;if(Object.assign(mapOptions,{center:[viewState.longitude||0,viewState.latitude||0],zoom:viewState.zoom||0,pitch:viewState.pitch||0,bearing:viewState.bearing||0}),props.gl){const getContext=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=getContext,props.gl)}const map=new this._MapClass(mapOptions);viewState.padding&&map.setPadding(viewState.padding),this._renderTransform=map.transform.clone();const renderMap=map._render;map._render=arg=>{this._inRender=!0,renderMap.call(map,arg),this._inRender=!1};const runRenderTaskQueue=map._renderTaskQueue.run;map._renderTaskQueue.run=arg=>{runRenderTaskQueue.call(map._renderTaskQueue,arg),this._onBeforeRepaint()},map.on("render",(()=>this._onAfterRepaint()));const fireEvent=map.fire;map.fire=this._fireEvent.bind(this,fireEvent),map.on("resize",(()=>{this._renderTransform.resize(map.transform.width,map.transform.height)})),map.on("styledata",(()=>this._updateStyleComponents(this.props,{}))),map.on("sourcedata",(()=>this._updateStyleComponents(this.props,{})));for(const eventName in pointerEvents)map.on(eventName,this._onPointerEvent);for(const eventName in cameraEvents)map.on(eventName,this._onCameraEvent);for(const eventName in otherEvents)map.on(eventName,this._onEvent);this._map=map}destroy(){this._map.remove()}redraw(){const map=this._map;!this._inRender&&map.style&&(map._frame&&(map._frame.cancel(),map._frame=null),map._render())}_updateSize(nextProps){const{viewState}=nextProps;if(viewState){const map=this._map;if(viewState.width!==map.transform.width||viewState.height!==map.transform.height)return map.resize(),!0}return!1}_updateViewState(nextProps,triggerEvents){if(this._internalUpdate)return!1;const map=this._map,tr=this._renderTransform,{zoom,pitch,bearing}=tr,changed=applyViewStateToTransform(tr,{...transformToViewState(map.transform),...nextProps});if(changed&&triggerEvents){const deferredEvents=this._deferredEvents;deferredEvents.move=!0,deferredEvents.zoom||(deferredEvents.zoom=zoom!==tr.zoom),deferredEvents.rotate||(deferredEvents.rotate=bearing!==tr.bearing),deferredEvents.pitch||(deferredEvents.pitch=pitch!==tr.pitch)}return map.isMoving()||applyViewStateToTransform(map.transform,nextProps),changed}_updateSettings(nextProps,currProps){const map=this._map;let changed=!1;for(const propName of settingNames)propName in nextProps&&!deepEqual(nextProps[propName],currProps[propName])&&(changed=!0,map[`set${propName[0].toUpperCase()}${propName.slice(1)}`](nextProps[propName]));return changed}_updateStyle(nextProps,currProps){if(nextProps.cursor!==currProps.cursor&&(this._map.getCanvas().style.cursor=nextProps.cursor),nextProps.mapStyle!==currProps.mapStyle){const options={diff:nextProps.styleDiffing};return"localIdeographFontFamily"in nextProps&&(options.localIdeographFontFamily=nextProps.localIdeographFontFamily),this._map.setStyle(normalizeStyle(nextProps.mapStyle),options),!0}return!1}_updateStyleComponents(nextProps,currProps){const map=this._map;let changed=!1;return map.style.loaded()&&("light"in nextProps&&!deepEqual(nextProps.light,currProps.light)&&(changed=!0,map.setLight(nextProps.light)),"fog"in nextProps&&!deepEqual(nextProps.fog,currProps.fog)&&(changed=!0,map.setFog(nextProps.fog)),"terrain"in nextProps&&!deepEqual(nextProps.terrain,currProps.terrain)&&(nextProps.terrain&&!map.getSource(nextProps.terrain.source)||(changed=!0,map.setTerrain(nextProps.terrain)))),changed}_updateHandlers(nextProps,currProps){const map=this._map;let changed=!1;for(const propName of handlerNames){const newValue=nextProps[propName];deepEqual(newValue,currProps[propName])||(changed=!0,newValue?map[propName].enable(newValue):map[propName].disable())}return changed}_updateHover(e){const{props}=this;if(props.interactiveLayerIds&&(props.onMouseMove||props.onMouseEnter||props.onMouseLeave)){const eventType=e.type,wasHovering=this._hoveredFeatures?.length>0;let features;if("mousemove"===eventType)try{features=this._map.queryRenderedFeatures(e.point,{layers:props.interactiveLayerIds})}catch{features=[]}else features=[];const isHovering=features.length>0;!isHovering&&wasHovering&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=features,isHovering&&!wasHovering&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=eventType}else this._hoveredFeatures=null}_fireEvent(baseFire,event,properties){const map=this._map,tr=map.transform,eventType="string"==typeof event?event:event.type;return"move"===eventType&&this._updateViewState(this.props,!1),eventType in cameraEvents&&("object"==typeof event&&(event.viewState=transformToViewState(tr)),this._map.isMoving())?(map.transform=this._renderTransform,baseFire.call(map,event,properties),map.transform=tr,map):(baseFire.call(map,event,properties),map)}_onBeforeRepaint(){const map=this._map;this._internalUpdate=!0;for(const eventType in this._deferredEvents)this._deferredEvents[eventType]&&map.fire(eventType);this._internalUpdate=!1;const tr=this._map.transform;this._map.transform=this._renderTransform,this._onAfterRepaint=()=>{this._map.transform=tr}}}function getAccessTokenFromEnv(){let accessToken=null;if("undefined"!=typeof location){const match=/access_token=([^&\/]*)/.exec(location.search);accessToken=match&&match[1]}try{accessToken=accessToken||process.env.MapboxAccessToken}catch{}try{accessToken=accessToken||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return accessToken}const skipMethods=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function createRef(mapInstance,mapLib){if(!mapInstance)return null;const map=mapInstance.map,result={getMap:()=>map,getCenter:()=>mapInstance.transform.center,getZoom:()=>mapInstance.transform.zoom,getBearing:()=>mapInstance.transform.bearing,getPitch:()=>mapInstance.transform.pitch,getPadding:()=>mapInstance.transform.padding,getBounds:()=>mapInstance.transform.getBounds(),project:lnglat=>mapInstance.transform.locationPoint(mapLib.LngLat.convert(lnglat)),unproject:point=>mapInstance.transform.pointLocation(mapLib.Point.convert(point))};for(const key of function getMethodNames(obj){const result=new Set;let proto=obj;for(;proto;){for(const key of Object.getOwnPropertyNames(proto))"_"!==key[0]&&"function"==typeof obj[key]&&"fire"!==key&&"setEventedParent"!==key&&result.add(key);proto=Object.getPrototypeOf(proto)}return Array.from(result)}(map))key in result||skipMethods.includes(key)||(result[key]=map[key].bind(map));return result}const use_isomorphic_layout_effect="undefined"!=typeof document?react.useLayoutEffect:react.useEffect,globalSettings=["baseApiUrl","maxParallelImageRequests","workerClass","workerCount","workerUrl"];const MapContext=react.createContext(null),defaultProps={minZoom:0,maxZoom:22,minPitch:0,maxPitch:85,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,mapStyle:{version:8,sources:{},layers:[]},styleDiffing:!0,projection:"mercator",renderWorldCopies:!0,onError:e=>console.error(e.error),RTLTextPlugin:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js"},Map=(0,react.forwardRef)(((props,ref)=>{const mountedMapsContext=(0,react.useContext)(MountedMapsContext),[mapInstance,setMapInstance]=(0,react.useState)(null),containerRef=(0,react.useRef)(),{current:contextValue}=(0,react.useRef)({mapLib:null,map:null});(0,react.useEffect)((()=>{const mapLib=props.mapLib;let mapbox,isMounted=!0;return Promise.resolve(mapLib||__webpack_require__.e(152).then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/mapbox-gl/dist/mapbox-gl.js",23))).then((mapboxgl=>{if(isMounted){if(mapboxgl.Map||(mapboxgl=mapboxgl.default),!mapboxgl||!mapboxgl.Map)throw new Error("Invalid mapLib");if(!mapboxgl.supported(props))throw new Error("Map is not supported by this browser");!function setGlobals(mapLib,props){for(const key of globalSettings)key in props&&(mapLib[key]=props[key]);props.RTLTextPlugin&&mapLib.getRTLTextPluginStatus&&"unavailable"===mapLib.getRTLTextPluginStatus()&&mapLib.setRTLTextPlugin(props.RTLTextPlugin,(error=>{error&&console.error(error)}),!1)}(mapboxgl,props),mapbox=new Mapbox(mapboxgl.Map,props),mapbox.initialize(containerRef.current),contextValue.map=mapbox.map,contextValue.mapLib=mapboxgl,setMapInstance(mapbox),mountedMapsContext?.onMapMount(createRef(mapbox,mapboxgl),props.id)}})).catch((error=>{props.onError({type:"error",target:null,originalEvent:null,error})})),()=>{isMounted=!1,mapbox&&(mountedMapsContext?.onMapUnmount(props.id),mapbox.destroy())}}),[]),use_isomorphic_layout_effect((()=>{mapInstance&&mapInstance.setProps(props)})),(0,react.useImperativeHandle)(ref,(()=>createRef(mapInstance,contextValue.mapLib)),[mapInstance]);const style=(0,react.useMemo)((()=>({position:"relative",width:"100%",height:"100%",...props.style})),[props.style]);return react.createElement("div",{id:props.id,ref:containerRef,style},mapInstance&&react.createElement(MapContext.Provider,{value:contextValue},props.children))}));Map.displayName="Map",Map.defaultProps=defaultProps;const map=Map;var react_dom=__webpack_require__("./node_modules/react-dom/index.js");const unitlessNumber=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function applyReactStyle(element,styles){if(!element||!styles)return;const style=element.style;for(const key in styles){const value=styles[key];Number.isFinite(value)&&!unitlessNumber.test(key)?style[key]=`${value}px`:style[key]=value}}function Marker(props){const{map,mapLib}=(0,react.useContext)(MapContext),marker=(0,react.useMemo)((()=>{let hasChildren=!1;react.Children.forEach(props.children,(el=>{el&&(hasChildren=!0)}));const options={...props,element:hasChildren?document.createElement("div"):null};return new mapLib.Marker(options).setLngLat([props.longitude,props.latitude])}),[]),thisRef=(0,react.useRef)({props});return thisRef.current.props=props,(0,react.useEffect)((()=>(marker.on("dragstart",(e=>{const evt=e;evt.lngLat=marker.getLngLat(),thisRef.current.props.onDragStart?.(evt)})),marker.on("drag",(e=>{const evt=e;evt.lngLat=marker.getLngLat(),thisRef.current.props.onDrag?.(evt)})),marker.on("dragend",(e=>{const evt=e;evt.lngLat=marker.getLngLat(),thisRef.current.props.onDragEnd?.(evt)})),marker.addTo(map),()=>{marker.remove()})),[]),(0,react.useEffect)((()=>{applyReactStyle(marker.getElement(),props.style)}),[props.style]),marker.getLngLat().lng===props.longitude&&marker.getLngLat().lat===props.latitude||marker.setLngLat([props.longitude,props.latitude]),props.offset&&!function arePointsEqual(a,b){const ax=Array.isArray(a)?a[0]:a?a.x:0,ay=Array.isArray(a)?a[1]:a?a.y:0,bx=Array.isArray(b)?b[0]:b?b.x:0,by=Array.isArray(b)?b[1]:b?b.y:0;return ax===bx&&ay===by}(marker.getOffset(),props.offset)&&marker.setOffset(props.offset),marker.isDraggable()!==props.draggable&&marker.setDraggable(props.draggable),marker.getRotation()!==props.rotation&&marker.setRotation(props.rotation),marker.getRotationAlignment()!==props.rotationAlignment&&marker.setRotationAlignment(props.rotationAlignment),marker.getPitchAlignment()!==props.pitchAlignment&&marker.setPitchAlignment(props.pitchAlignment),marker.getPopup()!==props.popup&&marker.setPopup(props.popup),(0,react_dom.createPortal)(props.children,marker.getElement())}Marker.defaultProps={draggable:!1,popup:null,rotation:0,rotationAlignment:"auto",pitchAlignment:"auto"};react.memo(Marker);function getClassList(className){return new Set(className?className.trim().split(/\s+/):[])}const popup=react.memo((function Popup(props){const{map,mapLib}=(0,react.useContext)(MapContext),container=(0,react.useMemo)((()=>document.createElement("div")),[]),popup=(0,react.useMemo)((()=>{const options={...props};return new mapLib.Popup(options).setLngLat([props.longitude,props.latitude])}),[]),thisRef=(0,react.useRef)({props});if(thisRef.current.props=props,(0,react.useEffect)((()=>(popup.on("open",(e=>{thisRef.current.props.onOpen?.(e)})),popup.on("close",(e=>{thisRef.current.props.onClose?.(e)})),popup.setDOMContent(container).addTo(map),()=>{popup.remove()})),[]),(0,react.useEffect)((()=>{applyReactStyle(popup.getElement(),props.style)}),[props.style]),popup.isOpen()&&(popup.getLngLat().lng===props.longitude&&popup.getLngLat().lat===props.latitude||popup.setLngLat([props.longitude,props.latitude]),props.offset&&!deepEqual(popup.options.offset,props.offset)&&popup.setOffset(props.offset),popup.options.anchor===props.anchor&&popup.options.maxWidth===props.maxWidth||(popup.options.anchor=props.anchor,popup.setMaxWidth(props.maxWidth)),popup.options.className!==props.className)){const prevClassList=getClassList(popup.options.className),nextClassList=getClassList(props.className);for(const c of prevClassList)nextClassList.has(c)||popup.removeClassName(c);for(const c of nextClassList)prevClassList.has(c)||popup.addClassName(c);popup.options.className=props.className}return(0,react_dom.createPortal)(props.children,container)}));function useControl(onCreate,onRemove,opts){const context=(0,react.useContext)(MapContext),ctrl=(0,react.useMemo)((()=>onCreate(context)),[]);return(0,react.useEffect)((()=>{const{map}=context;return map.hasControl(ctrl)||map.addControl(ctrl,(opts||onRemove)?.position),()=>{"function"==typeof onRemove&&onRemove(context),map.hasControl(ctrl)&&map.removeControl(ctrl)}}),[]),ctrl}react.memo((function AttributionControl(props){const ctrl=useControl((({mapLib})=>new mapLib.AttributionControl(props)),{position:props.position});return(0,react.useEffect)((()=>{applyReactStyle(ctrl._container,props.style)}),[props.style]),null}));react.memo((function FullscreenControl(props){const ctrl=useControl((({mapLib})=>new mapLib.FullscreenControl({container:props.containerId&&document.getElementById(props.containerId)})),{position:props.position});return(0,react.useEffect)((()=>{applyReactStyle(ctrl._controlContainer,props.style)}),[props.style]),null}));const GeolocateControl=(0,react.forwardRef)(((props,ref)=>{const thisRef=(0,react.useRef)({props}),ctrl=useControl((({mapLib})=>{const gc=new mapLib.GeolocateControl(props);return gc.on("geolocate",(e=>{thisRef.current.props.onGeolocate?.(e)})),gc.on("error",(e=>{thisRef.current.props.onError?.(e)})),gc.on("outofmaxbounds",(e=>{thisRef.current.props.onOutOfMaxBounds?.(e)})),gc.on("trackuserlocationstart",(e=>{thisRef.current.props.onTrackUserLocationStart?.(e)})),gc.on("trackuserlocationend",(e=>{thisRef.current.props.onTrackUserLocationEnd?.(e)})),gc}),{position:props.position});return thisRef.current.props=props,(0,react.useImperativeHandle)(ref,(()=>({trigger:()=>ctrl.trigger()})),[]),(0,react.useEffect)((()=>{applyReactStyle(ctrl._container,props.style)}),[props.style]),null}));GeolocateControl.displayName="GeolocateControl";react.memo(GeolocateControl);react.memo((function NavigationControl(props){const ctrl=useControl((({mapLib})=>new mapLib.NavigationControl(props)),{position:props.position});return(0,react.useEffect)((()=>{applyReactStyle(ctrl._container,props.style)}),[props.style]),null}));function ScaleControl(props){const ctrl=useControl((({mapLib})=>new mapLib.ScaleControl(props)),{position:props.position});return ctrl.options.unit===props.unit&&ctrl.options.maxWidth===props.maxWidth||(ctrl.options.maxWidth=props.maxWidth,ctrl.setUnit(props.unit)),(0,react.useEffect)((()=>{applyReactStyle(ctrl._container,props.style)}),[props.style]),null}ScaleControl.defaultProps={unit:"metric",maxWidth:100};react.memo(ScaleControl);function assert(condition,message){if(!condition)throw new Error(message)}let sourceCounter=0;const source=function Source(props){const{map}=(0,react.useContext)(MapContext),propsRef=(0,react.useRef)(props),[,setStyleLoaded]=(0,react.useState)(0),id=(0,react.useMemo)((()=>props.id||"jsx-source-"+sourceCounter++),[]);(0,react.useEffect)((()=>{if(map){const forceUpdate=()=>setStyleLoaded((version=>version+1));return map.on("styledata",forceUpdate),forceUpdate(),()=>{map.off("styledata",forceUpdate),setTimeout((()=>{map.style&&map.style._loaded&&map.getSource(id)&&map.removeSource(id)}),0)}}}),[map]);let source=map&&map.style&&map.getSource(id);return source?function updateSource(source,props,prevProps){assert(props.id===prevProps.id,"source id changed"),assert(props.type===prevProps.type,"source type changed");let changedKey="",changedKeyCount=0;for(const key in props)"children"===key||"id"===key||deepEqual(prevProps[key],props[key])||(changedKey=key,changedKeyCount++);if(!changedKeyCount)return;const type=props.type;if("geojson"===type)source.setData(props.data);else if("image"===type)source.updateImage({url:props.url,coordinates:props.coordinates});else if("canvas"!==type&&"video"!==type||1!==changedKeyCount||"coordinates"!==changedKey)if("vector"===type&&"setUrl"in source)switch(changedKey){case"url":source.setUrl(props.url);break;case"tiles":source.setTiles(props.tiles)}else console.warn(`Unable to update <Source> prop: ${changedKey}`);else source.setCoordinates(props.coordinates)}(source,props,propsRef.current):source=function createSource(map,id,props){if(map.style&&map.style._loaded){const options={...props};return delete options.id,delete options.children,map.addSource(id,options),map.getSource(id)}return null}(map,id,props),propsRef.current=props,source&&react.Children.map(props.children,(child=>child&&(0,react.cloneElement)(child,{source:id})))||null};let layerCounter=0;const components_layer=function Layer(props){const{map}=(0,react.useContext)(MapContext),propsRef=(0,react.useRef)(props),[,setStyleLoaded]=(0,react.useState)(0),id=(0,react.useMemo)((()=>props.id||"jsx-layer-"+layerCounter++),[]);if((0,react.useEffect)((()=>{if(map){const forceUpdate=()=>setStyleLoaded((version=>version+1));return map.on("styledata",forceUpdate),forceUpdate(),()=>{map.off("styledata",forceUpdate),map.style&&map.style._loaded&&map.removeLayer(id)}}}),[map]),map&&map.style&&map.getLayer(id))try{!function updateLayer(map,id,props,prevProps){if(assert(props.id===prevProps.id,"layer id changed"),assert(props.type===prevProps.type,"layer type changed"),"custom"===props.type||"custom"===prevProps.type)return;const{layout={},paint={},filter,minzoom,maxzoom,beforeId}=props;if(beforeId!==prevProps.beforeId&&map.moveLayer(id,beforeId),layout!==prevProps.layout){const prevLayout=prevProps.layout||{};for(const key in layout)deepEqual(layout[key],prevLayout[key])||map.setLayoutProperty(id,key,layout[key]);for(const key in prevLayout)layout.hasOwnProperty(key)||map.setLayoutProperty(id,key,void 0)}if(paint!==prevProps.paint){const prevPaint=prevProps.paint||{};for(const key in paint)deepEqual(paint[key],prevPaint[key])||map.setPaintProperty(id,key,paint[key]);for(const key in prevPaint)paint.hasOwnProperty(key)||map.setPaintProperty(id,key,void 0)}deepEqual(filter,prevProps.filter)||map.setFilter(id,filter),minzoom===prevProps.minzoom&&maxzoom===prevProps.maxzoom||map.setLayerZoomRange(id,minzoom,maxzoom)}(map,id,props,propsRef.current)}catch(error){console.warn(error)}else!function createLayer(map,id,props){if(map.style&&map.style._loaded){const options={...props,id};delete options.beforeId,map.addLayer(options,props.beforeId)}}(map,id,props);return propsRef.current=props,null}}}]);