jupytergis-core 0.10.0__py3-none-any.whl → 0.11.1__py3-none-any.whl

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 (138) hide show
  1. jupytergis_core/_version.py +1 -1
  2. jupytergis_core/jgis_ydoc.py +9 -0
  3. jupytergis_core/schema/__init__.py +1 -0
  4. jupytergis_core/schema/interfaces/__init__.py +1 -1
  5. jupytergis_core/schema/interfaces/export/__init__.py +1 -1
  6. jupytergis_core/schema/interfaces/export/exportGeoJson.py +1 -1
  7. jupytergis_core/schema/interfaces/export/exportGeoTiff.py +1 -1
  8. jupytergis_core/schema/interfaces/geojson.py +145 -134
  9. jupytergis_core/schema/interfaces/processing/__init__.py +1 -1
  10. jupytergis_core/schema/interfaces/processing/boundingBoxes.py +1 -1
  11. jupytergis_core/schema/interfaces/processing/buffer.py +1 -1
  12. jupytergis_core/schema/interfaces/processing/centroids.py +1 -1
  13. jupytergis_core/schema/interfaces/processing/concaveHull.py +1 -1
  14. jupytergis_core/schema/interfaces/processing/convexHull.py +1 -1
  15. jupytergis_core/schema/interfaces/processing/dissolve.py +1 -1
  16. jupytergis_core/schema/interfaces/project/__init__.py +1 -1
  17. jupytergis_core/schema/interfaces/project/jgis.py +21 -1
  18. jupytergis_core/schema/interfaces/project/layers/__init__.py +1 -1
  19. jupytergis_core/schema/interfaces/project/layers/heatmapLayer.py +1 -1
  20. jupytergis_core/schema/interfaces/project/layers/hillshadeLayer.py +1 -1
  21. jupytergis_core/schema/interfaces/project/layers/imageLayer.py +1 -1
  22. jupytergis_core/schema/interfaces/project/layers/rasterLayer.py +1 -1
  23. jupytergis_core/schema/interfaces/project/layers/stacLayer.py +1 -1
  24. jupytergis_core/schema/interfaces/project/layers/storySegmentLayer.py +44 -0
  25. jupytergis_core/schema/interfaces/project/layers/vectorLayer.py +1 -1
  26. jupytergis_core/schema/interfaces/project/layers/vectorTileLayer.py +1 -1
  27. jupytergis_core/schema/interfaces/project/layers/webGlLayer.py +1 -1
  28. jupytergis_core/schema/interfaces/project/sources/__init__.py +1 -1
  29. jupytergis_core/schema/interfaces/project/sources/geoJsonSource.py +470 -5
  30. jupytergis_core/schema/interfaces/project/sources/geoParquetSource.py +1 -1
  31. jupytergis_core/schema/interfaces/project/sources/geoTiffSource.py +1 -1
  32. jupytergis_core/schema/interfaces/project/sources/imageSource.py +1 -1
  33. jupytergis_core/schema/interfaces/project/sources/markerSource.py +1 -1
  34. jupytergis_core/schema/interfaces/project/sources/rasterDemSource.py +1 -1
  35. jupytergis_core/schema/interfaces/project/sources/rasterSource.py +1 -1
  36. jupytergis_core/schema/interfaces/project/sources/shapefileSource.py +1 -1
  37. jupytergis_core/schema/interfaces/project/sources/vectorTileSource.py +1 -1
  38. jupytergis_core/schema/interfaces/project/sources/videoSource.py +1 -1
  39. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json +5 -5
  40. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/schemas/@jupytergis/jupytergis-core/jupytergis-settings.json +5 -0
  41. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/schemas/@jupytergis/jupytergis-core/package.json.orig +4 -4
  42. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.81bef68e01fc6079be77.js +1 -0
  43. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/211.dda210219d9ad86e1e84.js +1 -0
  44. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/234.ea90a64ba283577248b6.js +1 -0
  45. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.1f6ad99534ea85406d43.js +2 -0
  46. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/294.5fc61ad02851426049c0.js +8 -0
  47. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/376.28855d079a25782d0411.js +1 -0
  48. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.abbc95102c4ad7922738.js +1 -0
  49. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.4ba21c44d69bd7bb9b58.js +1 -0
  50. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.a64789520e563e648e15.js +1 -0
  51. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.01890bd351511c4a49a8.js +1 -0
  52. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.a4ebd32e9302cb6c9dce.js +1 -0
  53. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.f67c28bf17db0a6ce7f9.js +1 -0
  54. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.f39bbf3c06f1a62a664a.js +1 -0
  55. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.2b7be4ca03f1b0985a34.js +8 -0
  56. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/99.43df5aa4900a464c8c36.js +1 -0
  57. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/990.1fe67e669bf8d31bc0ac.js +1 -0
  58. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.ce3807f873148de479ba.js +1 -0
  59. jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.1181005e666f657a70d5.js +1 -0
  60. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json +312 -6
  61. {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/METADATA +4 -3
  62. jupytergis_core-0.11.1.dist-info/RECORD +121 -0
  63. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.234a33e9fcda783cc84b.js +0 -1
  64. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/211.083574a3909f85924cc7.js +0 -1
  65. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/234.2f0fc49f516ad354aa18.js +0 -1
  66. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/250.a749c8a61c81e7156744.js +0 -8
  67. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.6ee794baeb00791424c2.js +0 -2
  68. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/376.1dc881bb3edbaa917d71.js +0 -1
  69. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/397.075ccafc191603fcad13.js +0 -1
  70. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.e9ba4ebc707a690bc548.js +0 -1
  71. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.b81aa01fd224321ff376.js +0 -1
  72. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.5e2408d0777222e455cc.js +0 -1
  73. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.9766a06057be72a32b09.js +0 -1
  74. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.0936beb209d3ea5a1229.js +0 -1
  75. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.1cd3070a2aa23b05356b.js +0 -1
  76. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.f4d7698f69b3ad75e162.js +0 -1
  77. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.5f3759c98814aa602705.js +0 -8
  78. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/875.3862770905b6ec887529.js +0 -1
  79. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.9dbbbf18ad1725320b95.js +0 -1
  80. jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.2bb7bef2a307eb614492.js +0 -1
  81. jupytergis_core-0.10.0.dist-info/RECORD +0 -120
  82. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json +0 -0
  83. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/026680ab0cd1523edc87.png +0 -0
  84. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/02ff7d503bbd90b21fc4.png +0 -0
  85. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png +0 -0
  86. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png +0 -0
  87. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png +0 -0
  88. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0c6a0352b82839119f95.png +0 -0
  89. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/13c485bb93f5567f02fd.png +0 -0
  90. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1474207a6b3ca1001e78.png +0 -0
  91. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/14b98240613d5256c621.png +0 -0
  92. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1b97ea0f2b3af717cffa.png +0 -0
  93. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png +0 -0
  94. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1ed164e010f3c0306d15.png +0 -0
  95. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2218dfba22fc2b08e948.png +0 -0
  96. /jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.6ee794baeb00791424c2.js.LICENSE.txt → /jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.1f6ad99534ea85406d43.js.LICENSE.txt +0 -0
  97. /jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/250.a749c8a61c81e7156744.js.LICENSE.txt → /jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/294.5fc61ad02851426049c0.js.LICENSE.txt +0 -0
  98. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2ab791b60c4058e664f8.png +0 -0
  99. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b24b6a745c11511f055.png +0 -0
  100. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2d676bc0a01c2cd2fccb.png +0 -0
  101. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2f02309ea499725612ea.png +0 -0
  102. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png +0 -0
  103. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm +0 -0
  104. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png +0 -0
  105. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3ae0bf244442de7efc35.png +0 -0
  106. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png +0 -0
  107. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/415edc3fa381260cf31e.png +0 -0
  108. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/42cbddf5e883673bc4e2.png +0 -0
  109. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/527ef171d5df15dc7da5.png +0 -0
  110. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5bb02252f243f8c7494f.png +0 -0
  111. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5d181edc3c046e1454a1.png +0 -0
  112. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5f32ad48aefe00e51312.png +0 -0
  113. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6e4f6b4d0dfca3bd4450.png +0 -0
  114. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/71d436fb44627b6bfbd7.png +0 -0
  115. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/7b225dc2d37cd3582156.png +0 -0
  116. /jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.5f3759c98814aa602705.js.LICENSE.txt → /jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.2b7be4ca03f1b0985a34.js.LICENSE.txt +0 -0
  117. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/843ab141e62516b9df5c.png +0 -0
  118. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/8814e17f6b110e8f3e42.png +0 -0
  119. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/88b2ae0d29edb684eae5.png +0 -0
  120. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/971a42d174dd17b9451a.png +0 -0
  121. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a3c609f5bff95a7a53be.png +0 -0
  122. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a86d626c9ed2e222d190.png +0 -0
  123. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a9e286b0c0264a9fc737.png +0 -0
  124. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ab309078b494f850430a.png +0 -0
  125. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b15e3989b7b90b5a8d9d.png +0 -0
  126. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b36717fbb06f21d53b01.png +0 -0
  127. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ba4b6e82fe5a816c40a5.png +0 -0
  128. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bb2b310570da7a3587e9.png +0 -0
  129. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/be92bcf7bb99753b4b3d.png +0 -0
  130. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c2ffa011d7f52a0ddf45.png +0 -0
  131. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png +0 -0
  132. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data +0 -0
  133. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/f2617180c6907263a7ff.png +0 -0
  134. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/fe99a6dbf5a71d308989.png +0 -0
  135. {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js +0 -0
  136. {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/WHEEL +0 -0
  137. {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/entry_points.txt +0 -0
  138. {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_jupytergis_jupytergis_core=self.webpackChunk_jupytergis_jupytergis_core||[]).push([[990],{17990(e,t,s){s.r(t),s.d(t,{IAnnotationToken:()=>f,IJGISExternalCommandRegistryToken:()=>S,IJGISFormSchemaRegistryToken:()=>m,IJGISLayerBrowserRegistryToken:()=>_,IJupyterGISDocTracker:()=>p,JupyterGISDoc:()=>l,JupyterGISModel:()=>c,ProcessingCommandIDs:()=>C,ProcessingLogicType:()=>v,ProcessingMerge:()=>M,SCHEMA_VERSION:()=>d,processingList:()=>T});var r=s(67262),a=s(74602),i=s(26803),o=s.n(i),n=s(28e3);const d="0.5.0";class l extends n.YDocument{constructor(){super(),this.editable=!0,this._optionsObserver=e=>{const t=new Map;e.changes.keys.forEach((e,s)=>{t.set(s,{action:e.action,oldValue:e.oldValue,newValue:this._options.get(s)})}),this._optionsChanged.emit(t)},this._metaObserver=e=>{const t=new Map;e.changes.keys.forEach((e,s)=>{t.set(s,{action:e.action,oldValue:e.oldValue,newValue:this._metadata.get(s)})}),this._metadataChanged.emit(t)},this._optionsChanged=new a.Signal(this),this._layersChanged=new a.Signal(this),this._layerTreeChanged=new a.Signal(this),this._sourcesChanged=new a.Signal(this),this._storyMapsChanged=new a.Signal(this),this._metadataChanged=new a.Signal(this),this._options=this.ydoc.getMap("options"),this._layers=this.ydoc.getMap("layers"),this._layerTree=this.ydoc.getArray("layerTree"),this._sources=this.ydoc.getMap("sources"),this._stories=this.ydoc.getMap("stories"),this._metadata=this.ydoc.getMap("metadata"),this.undoManager.addToScope(this._layers),this.undoManager.addToScope(this._sources),this.undoManager.addToScope(this._stories),this.undoManager.addToScope(this._layerTree),this._layers.observeDeep(this._layersObserver.bind(this)),this._layerTree.observe(this._layerTreeObserver.bind(this)),this._sources.observeDeep(this._sourcesObserver.bind(this)),this._stories.observeDeep(this._storyMapsObserver.bind(this)),this._options.observe(this._optionsObserver.bind(this)),this._metadata.observe(this._metaObserver.bind(this))}getSource(){const e=this._layers.toJSON(),t=this._layerTree.toJSON(),s=this._options.toJSON();return{layers:e,layerTree:t,sources:this._sources.toJSON(),stories:this._stories.toJSON(),options:s,metadata:this._metadata.toJSON()}}setSource(e){e&&("string"==typeof e&&(e=JSON.parse(e)),this.transact(()=>{var t,s,r,a,i,o;const n=null!==(t=e.layers)&&void 0!==t?t:{};Object.entries(n).forEach(([e,t])=>this._layers.set(e,t)),(null!==(s=e.layerTree)&&void 0!==s?s:[]).forEach(e=>{this._layerTree.push([e])});const d=null!==(r=e.options)&&void 0!==r?r:{};Object.entries(d).forEach(([e,t])=>this._options.set(e,t));const l=null!==(a=e.sources)&&void 0!==a?a:{};Object.entries(l).forEach(([e,t])=>this._sources.set(e,t));const h=null!==(i=e.stories)&&void 0!==i?i:{};Object.entries(h).forEach(([e,t])=>this._stories.set(e,t));const g=null!==(o=e.metadata)&&void 0!==o?o:{};Object.entries(g).forEach(([e,t])=>this._metadata.set(e,t))}))}dispose(){super.dispose()}get version(){return d}get layers(){return r.JSONExt.deepCopy(this._layers.toJSON())}set layers(e){this.transact(()=>{for(const[t,s]of Object.entries(e))this._layers.set(t,s)})}set sources(e){this.transact(()=>{for(const[t,s]of Object.entries(e))this._sources.set(t,s)})}get sources(){return r.JSONExt.deepCopy(this._sources.toJSON())}set stories(e){this.transact(()=>{for(const[t,s]of Object.entries(e))this._stories.set(t,s)})}get stories(){return r.JSONExt.deepCopy(this._stories.toJSON())}get layerTree(){return r.JSONExt.deepCopy(this._layerTree.toJSON())}set layerTree(e){this.transact(()=>{this._layerTree.delete(0,this._layerTree.length),this._layerTree.push(e)})}getLayer(e){if(this._layers.has(e))return r.JSONExt.deepCopy(this._layers.get(e))}getLayerSource(e){if(this._sources.has(e))return r.JSONExt.deepCopy(this._sources.get(e))}set options(e){this.transact(()=>{for(const[t,s]of Object.entries(e))this._options.set(t,s)})}get options(){return r.JSONExt.deepCopy(this._options.toJSON())}get layersChanged(){return this._layersChanged}get layerTreeChanged(){return this._layerTreeChanged}get sourcesChanged(){return this._sourcesChanged}get storyMapsChanged(){return this._storyMapsChanged}get optionsChanged(){return this._optionsChanged}layerExists(e){return Boolean(this._getLayerAsYMap(e))}removeLayer(e){this.transact(()=>{this._layers.delete(e)})}addLayer(e,t){this.transact(()=>{this._layers.set(e,t)})}updateLayer(e,t){this.transact(()=>{this._layers.set(e,t)})}addLayerTreeItem(e,t){this.transact(()=>{this._layerTree.insert(e,[t])})}updateLayerTreeItem(e,t){this.transact(()=>{this._layerTree.delete(e),t&&this._layerTree.insert(e,[t])})}getObject(e){const t=this.getLayer(e);if(t)return t;return this.getLayerSource(e)||void 0}updateObjectParameters(e,t){const s=this.getLayer(e);s&&(s.parameters=Object.assign(Object.assign({},s.parameters),t),this.updateLayer(e,s));const r=this.getLayerSource(e);r&&(r.parameters=Object.assign(Object.assign({},r.parameters),t),this.updateSource(e,r))}sourceExists(e){return Boolean(this._getSourceAsYMap(e))}removeSource(e){this.transact(()=>{this._sources.delete(e)})}addSource(e,t){this.transact(()=>{this._sources.set(e,t)})}updateSource(e,t){this.transact(()=>this._sources.set(e,t))}removeStoryMap(e){this.transact(()=>{this._stories.delete(e)})}addStoryMap(e,t){this.transact(()=>{this._stories.set(e,t)})}updateStoryMap(e,t){this.transact(()=>this._stories.set(e,t))}getStoryMap(e){if(this._stories.has(e))return r.JSONExt.deepCopy(this._stories.get(e))}getOption(e){const t=this._options.get(e);if(t)return r.JSONExt.deepCopy(t)}setOption(e,t){this.transact(()=>{this._options.set(e,t)})}getMetadata(e){return this._metadata.get(e)}setMetadata(e,t){this.transact(()=>{this._metadata.set(e,t)})}removeMetadata(e){this._metadata.has(e)&&this._metadata.delete(e)}get metadata(){return r.JSONExt.deepCopy(this._metadata.toJSON())}set metadata(e){this.transact(()=>{for(const[t,s]of Object.entries(e))this._metadata.set(t,s)})}get metadataChanged(){return this._metadataChanged}static create(){return new l}_getLayerAsYMap(e){if(this._layers.has(e))return this._layers.get(e)}_getSourceAsYMap(e){if(this._sources.has(e))return this._sources.get(e)}_layersObserver(e){const t=[];let s=!1;e.forEach(e=>{e.keys.forEach((a,i)=>{s||(s=!0),t.push({id:i,oldValue:a.oldValue,newValue:r.JSONExt.deepCopy(e.target.toJSON()[i])})})}),s=0===t.length||s,s&&this._layersChanged.emit({layerChange:t})}_layerTreeObserver(e){const t=e.delta;this._layerTreeChanged.emit({layerTreeChange:t})}_sourcesObserver(e){const t=[];let s=!1;e.forEach(e=>{e.keys.forEach((a,i)=>{s||(s=!0),t.push({id:i,newValue:r.JSONExt.deepCopy(e.target.toJSON()[i])})})}),s=0===t.length||s,s&&this._sourcesChanged.emit({sourceChange:t})}_storyMapsObserver(e){const t=[];let s=!1;e.forEach(e=>{e.keys.forEach((a,i)=>{s||(s=!0),t.push({id:i,newValue:r.JSONExt.deepCopy(e.target.toJSON()[i])})})}),s=0===t.length||s,s&&this._storyMapsChanged.emit({storyMapChange:t})}}var h=s(48310);const g="@jupytergis/jupytergis-core:jupytergis-settings",u={proxyUrl:"https://corsproxy.io",leftPanelDisabled:!1,rightPanelDisabled:!1,layersDisabled:!1,stacBrowserDisabled:!1,filtersDisabled:!1,objectPropertiesDisabled:!1,annotationsDisabled:!1,identifyDisabled:!1,storyMapsDisabled:!1};class c{constructor(e){this._onSharedModelChanged=(e,t)=>{var s;t&&(null===(s=null==t?void 0:t.objectChange)||void 0===s?void 0:s.length)&&(this._contentChanged.emit(void 0),this.dirty=!0)},this.collaborative=void 0===document.querySelectorAll("[data-jupyter-lite-root]")[0],this.flyToGeometrySignal=new a.Signal(this),this.highlightFeatureSignal=new a.Signal(this),this.updateBboxSignal=new a.Signal(this),this._onClientStateChanged=e=>{const t=this.sharedModel.awareness.getStates();this._clientStateChanged.emit(t),(e.added.length||e.removed.length)&&this._userChanged.emit(this.users)},this.addFeatureAsMs=(e,t)=>{this.addFeatureAsMsSignal.emit(JSON.stringify({id:e,selectedFeature:t}))},this.triggerLayerUpdate=(e,t)=>{this.updateLayerSignal.emit(JSON.stringify({layerId:e,layer:t}))},this.defaultKernelName="",this.defaultKernelLanguage="",this._dirty=!1,this._readOnly=!1,this._isDisposed=!1,this._userChanged=new a.Signal(this),this._disposed=new a.Signal(this),this._contentChanged=new a.Signal(this),this._stateChanged=new a.Signal(this),this._themeChanged=new a.Signal(this),this._clientStateChanged=new a.Signal(this),this._sharedMetadataChanged=new a.Signal(this),this._zoomToPositionSignal=new a.Signal(this),this._addFeatureAsMsSignal=new a.Signal(this),this._updateLayerSignal=new a.Signal(this),this._isTemporalControllerActive=!1,this._editing=null,this._editingChanged=new a.Signal(this),this._geolocationChanged=new a.Signal(this),this._tileFeatureCache=new Map,this.stories=new Map;const{annotationModel:t,sharedModel:s,settingRegistry:r}=e;s?this._sharedModel=s:(this._sharedModel=l.create(),this._sharedModel.changed.connect(this._onSharedModelChanged)),this.sharedModel.awareness.on("change",this._onClientStateChanged),this._sharedModel.metadataChanged.connect(this._metadataChangedHandler,this),this.annotationModel=t,this.settingRegistry=r,this._pathChanged=new a.Signal(this),this._settingsChanged=new a.Signal(this),this._jgisSettings=Object.assign({},u),this.initSettings()}async initSettings(){if(this.settingRegistry)try{const e=await this.settingRegistry.load(g);this._settings=e,this._updateLocalSettings(),e.changed.connect(()=>{const e=Object.assign({},this._jgisSettings);this._updateLocalSettings();const t=this._jgisSettings;Object.keys(u).forEach(s=>{e[s]!==t[s]&&this._settingsChanged.emit(s)})})}catch(e){console.error(`Failed to load settings for ${g}:`,e),this._jgisSettings=Object.assign({},u)}}_updateLocalSettings(){const e=this._settings.composite;this._jgisSettings=Object.entries(u).reduce((t,[s,r])=>{const a=s,i=e[a];return t[a]=null!=i?i:r,t},{})}get jgisSettings(){return this._jgisSettings}get settingsChanged(){return this._settingsChanged}async getSettings(){return this._settings}getFeaturesForCurrentTile({sourceId:e}){var t;return Array.from(null!==(t=this._tileFeatureCache.get(e))&&void 0!==t?t:[])}syncTileFeatures({sourceId:e,features:t}){let s=this._tileFeatureCache.get(e);s||(s=new Set,this._tileFeatureCache.set(e,s)),t.forEach(e=>s.add(e))}get sharedModel(){return this._sharedModel}get isDisposed(){return this._isDisposed}get contentChanged(){return this._contentChanged}get stateChanged(){return this._stateChanged}get pathChanged(){return this._pathChanged}get themeChanged(){return this._themeChanged}get currentUserId(){var e;return null===(e=this.sharedModel)||void 0===e?void 0:e.awareness.clientID}get users(){var e;this._usersMap=null===(e=this._sharedModel)||void 0===e?void 0:e.awareness.getStates();const t=[];return this._usersMap&&this._usersMap.forEach((e,s)=>{t.push({userId:s,userData:e.user})}),t}get userChanged(){return this._userChanged}get dirty(){return this._dirty}set dirty(e){this._dirty=e}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=e}get localState(){return this.sharedModel.awareness.getLocalState()}get clientStateChanged(){return this._clientStateChanged}get sharedOptionsChanged(){return this.sharedModel.optionsChanged}get sharedLayersChanged(){return this.sharedModel.layersChanged}get sharedLayerTreeChanged(){return this.sharedModel.layerTreeChanged}get sharedSourcesChanged(){return this.sharedModel.sourcesChanged}get disposed(){return this._disposed}get sharedMetadataChanged(){return this._sharedMetadataChanged}get zoomToPositionSignal(){return this._zoomToPositionSignal}set isTemporalControllerActive(e){this._isTemporalControllerActive=e}get isTemporalControllerActive(){return this._isTemporalControllerActive}centerOnPosition(e){this._zoomToPositionSignal.emit(e)}_metadataChangedHandler(e,t){this._sharedMetadataChanged.emit(t)}addMetadata(e,t){this.sharedModel.setMetadata(e,t)}removeMetadata(e){this.sharedModel.removeMetadata(e)}dispose(){this._isDisposed||(this._isDisposed=!0,this._sharedModel.dispose(),this._disposed.emit(),a.Signal.clearData(this))}toString(){return JSON.stringify(this.getContent(),null,2)}fromString(e){const t=JSON.parse(e),s=(new(o())).compile(h);if(!s(t)){let e="JupyterGIS format errors:\n";for(const t of s.errors||[])e=`${e}- ${t.instancePath} ${t.message}\n`;console.warn(e)}this.sharedModel.transact(()=>{var e,s,r,a,i;this.sharedModel.sources=null!==(e=t.sources)&&void 0!==e?e:{},this.sharedModel.layers=null!==(s=t.layers)&&void 0!==s?s:{},this.sharedModel.layerTree=null!==(r=t.layerTree)&&void 0!==r?r:[],this.sharedModel.options=null!==(a=t.options)&&void 0!==a?a:{latitude:0,longitude:0,zoom:0,bearing:0,pitch:0,projection:"EPSG:3857"},this.sharedModel.metadata=null!==(i=t.metadata)&&void 0!==i?i:{}}),this.dirty=!0}toJSON(){return JSON.parse(this.toString())}fromJSON(e){}initialize(){}getWorker(){return c.worker}getContent(){return{sources:this.sharedModel.sources,layers:this.sharedModel.layers,layerTree:this.sharedModel.layerTree,options:this.sharedModel.options,metadata:this.sharedModel.metadata}}get contentsManager(){return this._contentsManager}set contentsManager(e){this._contentsManager=e}get filePath(){return this._filePath}set filePath(e){this._filePath=e,this._pathChanged.emit(e)}getLayers(){return this.sharedModel.layers}getSources(){return this.sharedModel.sources}getLayerTree(){return this.sharedModel.layerTree}getLayer(e){return this.sharedModel.getLayer(e)}getSource(e){return this.sharedModel.getLayerSource(e)}getSourcesByType(e){const t={};for(const s of Object.keys(this.getSources()||{})){const r=this.getSource(s);(null==r?void 0:r.type)===e&&(t[s]=r.name)}return t}getLayersBySource(e){const t=[];return Object.entries(this.getLayers()||{}).forEach(([s,r])=>{var a;(null===(a=r.parameters)||void 0===a?void 0:a.source)===e&&t.push(s)}),t}addGroup(e,t,s){if(y.findItemPath(this.getLayerTree(),e).length)return void console.warn(`The group "${t}" already exist in the layer tree`);const r={name:e,layers:[]};this._addLayerTreeItem(r,t,s)}addLayer(e,t,s,r){this.getLayer(e)||this.sharedModel.addLayer(e,t),this._addLayerTreeItem(e,s,r)}removeLayer(e){var t;const s=this._sharedModel.getLayer(e),r=null===(t=null==s?void 0:s.parameters)||void 0===t?void 0:t.source;this._removeLayerTreeLayer(this.getLayerTree(),e),this.sharedModel.removeLayer(e),"StorySegmentLayer"===(null==s?void 0:s.type)?Object.entries(this.sharedModel.stories).forEach(([t,s])=>{var r;if(null===(r=s.storySegments)||void 0===r?void 0:r.includes(e)){const r=s.storySegments.filter(t=>t!==e);this.sharedModel.updateStoryMap(t,Object.assign(Object.assign({},s),{storySegments:r}))}}):this.sharedModel.removeSource(r)}setOptions(e){this._sharedModel.options=e}getOptions(){return this._sharedModel.options}syncViewport(e,t){this.sharedModel.awareness.setLocalStateField("viewportState",{value:e,emitter:t})}syncPointer(e,t){this.sharedModel.awareness.setLocalStateField("pointer",{value:e,emitter:t})}syncSelected(e,t){this.sharedModel.awareness.setLocalStateField("selected",{value:e,emitter:t})}get selected(){var e,t;return null===(t=null===(e=this.localState)||void 0===e?void 0:e.selected)||void 0===t?void 0:t.value}set selected(e){this.syncSelected(e||{},this.getClientId().toString())}syncIdentifiedFeatures(e,t){this.sharedModel.awareness.setLocalStateField("identifiedFeatures",{value:e,emitter:t})}setUserToFollow(e){this._sharedModel&&this._sharedModel.awareness.setLocalStateField("remoteUser",e)}setEditingItem(e,t){this._editing={type:e,itemId:t},this._editingChanged.emit(this._editing)}clearEditingItem(){this._editing=null,this._editingChanged.emit(null)}get editing(){return this._editing}get editingChanged(){return this._editingChanged}getClientId(){return this.sharedModel.awareness.clientID}getSelectedStory(){const e=this.sharedModel.stories,t=Object.keys(e)[0];return{storySegmentId:t,story:this.sharedModel.getStoryMap(t)}}addStorySegment(){var e;const{zoom:t,extent:s}=this.getOptions();if(!t||!s)return console.warn("No extent or zoom found"),null;const a=r.UUID.uuid4(),i=r.UUID.uuid4(),o={type:"StorySegmentLayer",visible:!0,name:"Story Segment",parameters:{extent:s,zoom:t,transition:{type:"linear",time:1}}};if(this.addLayer(i,o),0!==Object.keys(this.sharedModel.stories).length){const{story:t}=this.getSelectedStory();if(!t)return console.warn("No story found, something went wrong"),null;const s=Object.assign(Object.assign({},t),{storySegments:[...null!==(e=t.storySegments)&&void 0!==e?e:[],i]});this.sharedModel.updateStoryMap(a,s)}else{const e={title:"New Story",storyType:"guided",storySegments:[i]};this.sharedModel.addStoryMap(a,e)}return{storySegmentId:i,storyMapId:a}}_addLayerTreeItem(e,t,s){if(t){const r=this._getLayerTreeInfo(t);r&&(r.workingGroup.layers.splice(null!=s?s:r.workingGroup.layers.length,0,e),this._sharedModel.updateLayerTreeItem(r.mainGroupIndex,r.mainGroup))}else this.sharedModel.addLayerTreeItem(null!=s?s:this.getLayerTree().length,e)}moveItemsToGroup(e,t,s){const r=this.getLayerTree();for(const a of e)if(this.getLayer(a))this._removeLayerTreeLayer(r,a),this._addLayerTreeItem(a,t,s);else{const e=this._getLayerTreeInfo(a);if(void 0===e)continue;const i=Object.assign({},e.workingGroup);this._removeLayerTreeGroup(r,a),this._addLayerTreeItem(i,t,s)}}moveItemRelatedTo(e,t,s){var r;const a=this.getLayerTree();let i;if(this.getLayer(e))this._removeLayerTreeLayer(a,e),i=e;else{const t=this._getLayerTreeInfo(e);if(void 0===t)return;i=Object.assign({},t.workingGroup),this._removeLayerTreeGroup(a,e)}const o=y.findItemPath(a,t),n=(null!==(r=o.pop())&&void 0!==r?r:0)+(s?1:0);let d="",l=o.shift();if(void 0!==l){let e=a[l];for(;o.length&&(l=o.shift(),void 0!==l);)e=e.layers[l];d=e.name}this._addLayerTreeItem(i,d,n)}addNewLayerGroup(e,t){const s=this.getLayerTree();for(const t in e)this._removeLayerTreeLayer(s,t);this._addLayerTreeItem(t)}_removeLayerTreeLayer(e,t){this._removeLayerTreeItem(e,t,!0),this.sharedModel.layerTree=e}_removeLayerTreeGroup(e,t){this._removeLayerTreeItem(e,t,!1),this.sharedModel.layerTree=e}_removeLayerTreeItem(e,t,s){for(let r=0;r<e.length;r++){const a=e[r];(s?"string"==typeof a&&a===t:"string"!=typeof a&&a.name===t)?(e.splice(r,1),r--):"string"!=typeof a&&"layers"in a&&this._removeLayerTreeItem(a.layers,t,s)}}renameLayerGroup(e,t){const s=this._getLayerTreeInfo(e);s?(s.workingGroup.name=t,this._sharedModel.updateLayerTreeItem(s.mainGroupIndex,s.mainGroup)):console.error("Layer group rename failed -- could not get layer tree.")}removeLayerGroup(e){const t=this.getLayerTree(),s=this._getLayerTreeInfo(e),r=function e(t,s){const r=[];for(const a of t)if("string"==typeof a)r.push(a);else if(a.name!==s){const t=e(a.layers,s);r.push(Object.assign(Object.assign({},a),{layers:t}))}return r}(t,e);s&&this._sharedModel.updateLayerTreeItem(s.mainGroupIndex,r[s.mainGroupIndex])}toggleMode(e){this._currentMode=this._currentMode===e?"panning":e}get currentMode(){return this._currentMode}set currentMode(e){this._currentMode=e}toggleTemporalController(){this._isTemporalControllerActive=!this._isTemporalControllerActive,this.sharedModel.awareness.setLocalStateField("isTemporalControllerActive",this._isTemporalControllerActive)}_getLayerTreeInfo(e){const t=this.getLayerTree(),s=y.findItemPath(t,e);if(!s.length)return void console.warn(`The group "${e}" does not exist in the layer tree`);const r=s.shift();if(void 0===r)return;const a=t[r];let i=a;for(;s.length;){const e=s.shift();if(void 0===e)break;i=i.layers[e]}return{mainGroup:a,workingGroup:i,mainGroupIndex:r}}get addFeatureAsMsSignal(){return this._addFeatureAsMsSignal}get updateLayerSignal(){return this._updateLayerSignal}get geolocation(){return this._geolocation}set geolocation(e){this._geolocation=e,this.geolocationChanged.emit(this.geolocation)}get geolocationChanged(){return this._geolocationChanged}}var y;!function(e){e.getOrderedLayerIds=function(e){return y.layerTreeRecursion(e.sharedModel.layerTree)}}(c||(c={})),function(e){e.layerTreeRecursion=function e(t,s=[]){for(const r of t)"string"==typeof r?s.push(r):s.push(...e(r.layers));return s},e.findItemPath=function e(t,s,r=[]){for(let a=0;a<t.length;a++){const i=t[a];if("string"==typeof i){if(i===s){const e=[...r];return e.push(a),e}}else{const t=[...r];if(t.push(a),i.name===s)return t;const o=e(i.layers,s,t);if(o.length>t.length)return o}}return r}}(y||(y={}));const p=new r.Token("jupyterGISDocTracker"),m=new r.Token("jupytergisFormSchemaRegistry"),S=new r.Token("jupytergisExternalCommandRegistry"),_=new r.Token("jupytergisExternalCommandRegistry"),f=new r.Token("jupytergisAnnotationModel"),v={vector:"vector"},M=JSON.parse('[{"description":"Centroids","name":"centroids","operationParams":[],"label":"Centroids","operations":{"gdalFunction":"ogr2ogr","sql":"SELECT ST_Centroid(geometry) AS geometry, * FROM \\"{layerName}\\""},"type":"vector"},{"description":"ConvexHull","name":"convexHull","operationParams":[],"label":"Convex Hull","operations":{"sql":"SELECT ST_ConvexHull(geometry) AS geometry, * FROM \\"{layerName}\\"","gdalFunction":"ogr2ogr"},"type":"vector"},{"description":"ConcaveHull","name":"concaveHull","operationParams":["pctconvex","allowHoles"],"label":"Concave Hull","operations":{"sql":"SELECT ST_ConcaveHull(geometry,{pctconvex},{allowHoles}) AS geometry, * FROM \\"{layerName}\\"","gdalFunction":"ogr2ogr"},"type":"vector"},{"description":"Buffer","name":"buffer","label":"Buffer","operationParams":["bufferDistance"],"operations":{"gdalFunction":"ogr2ogr","sql":"SELECT ST_Union(ST_Buffer(geometry, {bufferDistance})) AS geometry, * FROM \\"{layerName}\\""},"type":"vector"},{"description":"Dissolve","name":"dissolve","operationParams":["dissolveField"],"label":"Dissolve","operations":{"gdalFunction":"ogr2ogr","sql":"SELECT ST_Union(geometry) AS geometry, {dissolveField} FROM \\"{layerName}\\" GROUP BY {dissolveField}"},"type":"vector"},{"description":"BoundingBoxes","name":"boundingBoxes","operationParams":[],"label":"Bounding Boxes","operations":{"sql":"SELECT ST_Envelope(geometry) AS geometry, * FROM \\"{layerName}\\"","gdalFunction":"ogr2ogr"},"type":"vector"}]'),C={};for(const e of M)C[e.name]=`jupytergis:${e.name}`;const T=["Centroids","ConvexHull","ConcaveHull","Buffer","Dissolve","BoundingBoxes"]},48310(e){e.exports=JSON.parse('{"type":"object","title":"IJGISContent","required":["layers","sources"],"additionalProperties":false,"properties":{"schemaVersion":{"type":"string","default":"0.5.0"},"layers":{"$ref":"#/definitions/jGISLayers"},"sources":{"$ref":"#/definitions/jGISSources"},"layerTree":{"$ref":"#/definitions/jGISLayerTree"},"options":{"$ref":"#/definitions/jGISOptions"},"metadata":{"type":"object","patternProperties":{"^.*$":{"type":"string"}},"additionalProperties":false}},"definitions":{"layerType":{"type":"string","enum":["RasterLayer","VectorLayer","VectorTileLayer","HillshadeLayer","WebGlLayer","ImageLayer","HeatmapLayer","StacLayer","StorySegmentLayer"]},"sourceType":{"type":"string","enum":["RasterSource","VectorTileSource","GeoJSONSource","RasterDemSource","VideoSource","ImageSource","ShapefileSource","GeoTiffSource","GeoParquetSource","MarkerSource"]},"jGISLayer":{"title":"IJGISLayer","type":"object","additionalProperties":false,"required":["name","type","visible"],"properties":{"name":{"type":"string"},"type":{"$ref":"#/definitions/layerType"},"visible":{"type":"boolean","default":true},"parameters":{"type":"object"},"filters":{"$ref":"#/definitions/jGISFilter"}}},"jGISSource":{"title":"IJGISSource","type":"object","additionalProperties":false,"required":["name","type"],"properties":{"name":{"type":"string"},"type":{"$ref":"#/definitions/sourceType"},"parameters":{"type":"object"}}},"jGISLayerGroup":{"title":"IJGISLayerGroup","type":"object","additionalProperties":false,"required":["name","layers"],"properties":{"name":{"type":"string"},"layers":{"type":"array","default":[],"items":{"$ref":"#/definitions/jGISLayerItem"}},"visible":{"type":"boolean","default":true},"parameters":{"type":"object"}}},"jGISLayerItem":{"title":"IJGISLayerItem","oneOf":[{"type":"string"},{"$ref":"#/definitions/jGISLayerGroup"}]},"jGISStoryMap":{"title":"IJGISStoryMap","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","description":"The title of the story map"},"storyType":{"type":"string","enum":["guided","unguided"],"description":"The type of story map"},"storySegments":{"type":"array","default":[],"description":"Array of story segments for the story map","items":{"type":"string"}}}},"jGISLayers":{"title":"IJGISLayers","type":"object","default":{},"additionalProperties":{"$ref":"#/definitions/jGISLayer"}},"jGISSources":{"title":"IJGISSources","type":"object","default":{},"additionalProperties":{"$ref":"#/definitions/jGISSource"}},"jGISLayerTree":{"title":"IJGISLayerTree","type":"array","default":[],"items":{"$ref":"#/definitions/jGISLayerItem"}},"jGISOptions":{"title":"IJGISOptions","type":"object","default":{},"required":[],"additionalProperties":false,"properties":{"latitude":{"type":"number","default":0},"longitude":{"type":"number","default":0},"zoom":{"type":"number","default":0},"bearing":{"type":"number","default":0},"pitch":{"type":"number","default":0},"extent":{"type":"array","default":null,"items":{"type":"number"}},"projection":{"type":"string","default":"EPSG:3857"},"useExtent":{"type":"boolean","default":false},"storyMapPresentationMode":{"type":"boolean","title":"Whether presentation mode is active","default":false}}},"jGISFilterItem":{"title":"IJGISFilterItem","type":"object","default":{},"required":["operator","feature","value"],"additionalProperties":false,"properties":{"operator":{"type":"string","enum":["==","!=",">","<",">=","<=","between"],"default":"=="},"feature":{"type":"string","default":""},"value":{"type":["string","number"]},"betweenMin":{"type":["number"]},"betweenMax":{"type":["number"]}}},"jGISFilter":{"title":"IJGISFilter","type":"object","required":["logicalOp","appliedFilters"],"additionalProperties":false,"properties":{"logicalOp":{"type":"string","default":"all"},"appliedFilters":{"type":"array","default":[],"items":{"$ref":"#/definitions/jGISFilterItem"}}}}}}')}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_jupytergis_jupytergis_core=self.webpackChunk_jupytergis_jupytergis_core||[]).push([[991],{29991(e,t,r){r.r(t),r.d(t,{JupyterGISDocumentWidgetFactory:()=>g,default:()=>M});var i=r(12911),o=r(37449),n=r(79269),a=r(79827),s=r(82690),p=r(11805),y=r(67292),m=r(64176),d=r(82780),u=r(83366),l=r(13118),c=r(40223),b=r(56707);class g extends m.ABCWidgetFactory{constructor(e){var t;const{backendCheck:r,externalCommandRegistry:i}=e,o=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]])}return r}(e,["backendCheck","externalCommandRegistry"]);super(Object.assign(Object.assign({},o),{contentProviderId:"rtc"})),this.options=e,this._backendCheck=r,this._commands=e.commands,this._externalCommandRegistry=i,this._contentsManager=null===(t=e.manager)||void 0===t?void 0:t.contents}createNewWidget(e){if(this._backendCheck&&!this._backendCheck())throw new Error("Requested backend is not installed");const{model:t}=e;t.filePath=e.localPath,e.pathChanged.connect(()=>{t.filePath=e.localPath}),this._contentsManager&&(t.contentsManager=this._contentsManager);const r=new o.JupyterGISPanel({model:t,manager:this.options.manager,contentFactory:this.options.contentFactory,mimeTypeService:this.options.mimeTypeService,rendermime:this.options.rendermime,consoleTracker:this.options.consoleTracker,commandRegistry:this.options.commands,state:this.options.state,formSchemaRegistry:this.options.formSchemaRegistry,annotationModel:this.options.annotationModel}),i=new o.ToolbarWidget({commands:this._commands,model:t,externalCommands:this._externalCommandRegistry.getCommands()});return new o.JupyterGISDocumentWidget({context:e,content:r,toolbar:i})}}class h{constructor(e){this.collaborative=!0,this._disposed=!1,this._annotationModel=e.annotationModel,this._settingRegistry=e.settingRegistry}get name(){return"jupytergis-jgismodel"}get contentType(){return"jgis"}get fileFormat(){return"text"}get isDisposed(){return this._disposed}dispose(){this._disposed=!0}preferredLanguage(e){return""}createNew(e){return new n.JupyterGISModel({sharedModel:e.sharedModel,languagePreference:e.languagePreference,annotationModel:this._annotationModel,settingRegistry:this._settingRegistry})}}const f="JupyterGIS .jgis Viewer",I="jgis",S="jupytergis-jgismodel",j="@jupytergis/jupytergis-core:jupytergis-settings",x={id:"jupyterGIS:jGISplugin",requires:[n.IJupyterGISDocTracker,a.IThemeManager,d.IFileBrowserFactory,n.IJGISExternalCommandRegistryToken,p.ConsolePanel.IContentFactory,s.IEditorServices,l.IRenderMimeRegistry,p.IConsoleTracker,n.IAnnotationToken,c.ISettingRegistry,n.IJGISFormSchemaRegistryToken,b.IStateDB],optional:[u.ILauncher,a.ICommandPalette,i.ICollaborativeContentProvider],autoStart:!0,activate:async(e,t,r,i,a,s,p,d,u,l,c,b,x,P,O,T)=>{y.PageConfig.getOption("jgis_expose_maps")&&(window.jupytergisMaps={});try{await c.load(j)}catch(e){console.warn(`Failed to load settings for ${j}`,e)}const G=new g({name:f,modelName:S,fileTypes:[I],defaultFor:[I],tracker:t,commands:e.commands,externalCommandRegistry:a,manager:e.serviceManager,contentFactory:s,rendermime:d,mimeTypeService:p.mimeTypeService,formSchemaRegistry:b,consoleTracker:u,state:x,annotationModel:l});e.docRegistry.addWidgetFactory(G);const v=new m.MimeDocumentFactory({dataType:"json",rendermime:d,modelName:S,name:"JSON Editor",primaryFileType:e.docRegistry.getFileType("json"),fileTypes:[I]});e.docRegistry.addWidgetFactory(v);const q=new h({annotationModel:l,settingRegistry:c});e.docRegistry.addModelFactory(q),e.docRegistry.addFileType({name:I,displayName:"JGIS",mimeTypes:["text/json"],extensions:[".jgis",".JGIS"],fileFormat:"text",contentType:I,icon:o.logoMiniIcon});if(T&&T.sharedModelFactory.registerDocumentFactory(I,()=>new n.JupyterGISDoc),G.widgetCreated.connect((i,n)=>{n.title.icon=o.logoIcon,n.context.pathChanged.connect(()=>{t.save(n)}),r.themeChanged.connect((e,t)=>n.model.themeChanged.emit(t)),e.shell.activateById("jupytergis::leftControlPanel"),e.shell.activateById("jupytergis::rightControlPanel"),t.add(n).then(()=>{Object.values(o.CommandIDs).forEach(t=>{e.commands.hasCommand(t)&&e.commands.notifyCommandChanged(t)})}).catch(e=>{console.error("Cannot update JupyterGIS commands",e)})}),e.commands.addCommand(o.CommandIDs.createNew,{label:e=>{var t;return null!==(t=e.label)&&void 0!==t?t:"GIS Project"},caption:"Create a new JGIS Editor",icon:e=>o.logoIcon,execute:async t=>{var r;const o=t.cwd||(null===(r=i.tracker.currentWidget)||void 0===r?void 0:r.model.path);let a=await e.serviceManager.contents.newUntitled({path:o,type:"file",ext:".jGIS"});return a=await e.serviceManager.contents.save(a.path,Object.assign(Object.assign({},a),{format:"text",size:void 0,content:`{\n\t"schemaVersion": "${n.SCHEMA_VERSION}",\n\t"layers": {},\n\t"sources": {},\n\t"options": {"latitude": 0, "longitude": 0, "zoom": 0, "bearing": 0, "pitch": 0, "projection": "EPSG:3857"},\n\t"layerTree": [],\n\t"metadata": {}\n}`})),e.commands.execute("docmanager:open",{path:a.path,factory:f})}}),P&&P.add({command:o.CommandIDs.createNew,category:"Other",rank:1}),O){O.addItem({command:o.CommandIDs.createNew,args:{isPalette:!0},category:"JupyterGIS"}),O.addItem({command:o.CommandIDs.openLayerBrowser,category:"JupyterGIS"}),O.addItem({command:o.CommandIDs.newRasterEntry,category:"JupyterGIS"}),O.addItem({command:o.CommandIDs.newVectorTileEntry,category:"JupyterGIS"}),O.addItem({command:o.CommandIDs.newGeoJSONEntry,category:"JupyterGIS"}),O.addItem({command:o.CommandIDs.newHillshadeEntry,category:"JupyterGIS"}),O.addItem({command:o.CommandIDs.moveLayerToNewGroup,category:"JupyterGIS"});for(const e of n.ProcessingMerge)O.addItem({command:e.name,category:"JupyterGIS"})}e.contextMenu.addItem({command:o.CommandIDs.createNew,selector:".jp-DirListing",rank:55,args:{label:"New JupyterGIS Project"}})}};var P=r(87125),O=r(82684),T=r(44591);class G{constructor(){this._registry=new Set}registerCommand(e){this._registry.add(e)}getCommands(){return[...this._registry]}}class v{constructor(){this._registry=[]}getRegistryLayers(){return[...this._registry]}addRegistryLayer(e){this._registry.push(e)}removeRegistryLayer(e){this._registry=this._registry.filter(t=>t.name!==e)}clearRegistry(){this._registry=[]}}const q=JSON.parse('{"ExportGeoJSONSchema":{"type":"object","required":["exportFileName"],"additionalProperties":false,"properties":{"exportFileName":{"type":"string","title":"GeoJSON File Name","default":"exported_layer","description":"The name of the exported GeoJSON file."}}},"ExportGeoTIFFSchema":{"type":"object","required":["exportFileName","resolutionX","resolutionY"],"additionalProperties":false,"properties":{"exportFileName":{"type":"string","title":"GeoTiFF File Name","default":"exported_layer","description":"The name of the exported GeoTIFF file."},"resolutionX":{"type":"number","title":"Resolution (Width)","default":1200,"minimum":1,"maximum":10000,"description":"The width resolution for the raster export."},"resolutionY":{"type":"number","title":"Resolution (Height)","default":1200,"minimum":1,"maximum":10000,"description":"The height resolution for the raster export."}}},"BoundingBoxes":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for bounding boxes."}}},"Buffer":{"type":"object","required":["inputLayer","bufferDistance"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for buffering."},"bufferDistance":{"type":"number","default":10,"description":"The distance used for buffering the geometry (in projection units)."},"embedOutputLayer":{"type":"boolean","title":"Embed output buffered layer in file","default":true}}},"Centroids":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for centroids."}}},"ConcaveHull":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for Concave Hull."},"pctconvex":{"type":"number","description":"Controls the concaveness of the computed hull, vary from 0 to 1, 0 corresponds to the maximum concavity.","multipleOf":0.1,"minimum":0,"maximum":1,"default":0.5},"allowHoles":{"type":"boolean","title":"Allow holes in the hull","default":false}}},"ConvexHull":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for Convex Hull."}}},"Dissolve":{"type":"object","required":["inputLayer","dissolveField"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for the dissolve operation."},"dissolveField":{"type":"string","description":"The field based on which geometries will be dissolved."},"embedOutputLayer":{"type":"boolean","title":"Embed output dissolved layer in file","default":true}}},"HeatmapLayer":{"type":"object","required":["source","blur","radius"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1},"radius":{"type":"number","description":"Radius size in pixels","default":8},"blur":{"type":"number","description":"Blur size in pixels","default":15},"color":{"type":"array","items":{"type":"string"},"default":["#00f","#0ff","#0f0","#ff0","#f00"]},"symbologyState":{"type":"object","description":"The state of the symbology panel options","required":["renderType"],"properties":{"renderType":{"type":"string"},"colorRamp":{"type":"string","default":"viridis"}}}}},"HillshadeLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"shadowColor":{"type":"string","description":"The color of the the shadows","default":"#473B24"}}},"ImageLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"RasterLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"StacLayer":{"type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"object","description":"The data of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"StorySegmentLayer":{"type":"object","additionalProperties":false,"required":["zoom","extent","transition"],"properties":{"zoom":{"type":"number","default":0},"extent":{"type":"array","default":null,"items":{"type":"number"}},"content":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"image":{"type":"string","description":"Link to image for the story"},"markdown":{"type":"string","description":"Markdown string representing the content of the story stop"}}},"transition":{"type":"object","description":"Transition configuration between to this story segment","properties":{"type":{"type":"string","enum":["linear","immediate","smooth"],"description":"Transition animation style","default":"linear"},"time":{"type":"number","description":"The time in seconds for the transition","default":1}},"required":["type","time"]}}},"VectorLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"color":{"type":"object","description":"The color of the the object"},"opacity":{"type":"number","description":"The opacity of the the object","default":1,"multipleOf":0.1,"minimum":0,"maximum":1},"symbologyState":{"type":"object","description":"The state of the symbology panel options","required":["renderType"],"properties":{"renderType":{"type":"string","enum":["Single Symbol","Graduated","Categorized"]},"value":{"type":"string"},"method":{"type":"string","enum":["color","radius"]},"colorRamp":{"type":"string","default":"viridis"},"nClasses":{"type":"string","default":"9"},"mode":{"type":"string","default":"equal interval","enum":["quantile","equal interval","jenks","pretty","logarithmic"]}},"additionalProperties":false}}},"VectorTileLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"color":{"type":"object","description":"The color of the the object"},"opacity":{"type":"number","description":"The opacity of the the object","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"WebGlLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1},"color":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"string"},{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"string"}]}}]}}]}}],"description":"The color of the the object"},"symbologyState":{"type":"object","description":"The state of the symbology panel options","required":["renderType"],"properties":{"renderType":{"type":"string"},"band":{"type":"number"},"redBand":{"type":"number"},"greenBand":{"type":"number"},"blueBand":{"type":"number"},"alphaBand":{"type":"number"},"interpolation":{"type":"string","enum":["discrete","linear","exact"]},"colorRamp":{"type":"string","default":"viridis"},"nClasses":{"type":"string","default":"9"},"mode":{"type":"string","default":"equal interval","enum":["continuous","equal interval","quantile"]}},"additionalProperties":false}}},"GeoParquetSource":{"type":"object","required":["path"],"additionalProperties":false,"properties":{"path":{"type":"string","description":"The path to the GeoParquet source"},"attribution":{"type":"string","readOnly":true,"description":"The attribution for the GeoParquet source.","default":""},"projection":{"type":"string","description":"The projection information for the GeoParquet data (optional).","default":"EPSG:4326"}}},"GeoTiffSource":{"type":"object","required":["urls"],"additionalProperties":false,"properties":{"urls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"}}},"minItems":1,"description":"URLs"},"normalize":{"type":"boolean","description":"Enable to normalize values between 0 and 1 and displayed as RGB values; disable to keep raw band values","default":true},"wrapX":{"type":"boolean","description":"Wrap the map horizontally?","default":false},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"ImageSource":{"type":"object","required":["path","coordinates"],"additionalProperties":false,"properties":{"path":{"type":"string","readOnly":true,"description":"Path that points to an image"},"coordinates":{"type":"array","readOnly":true,"items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"minItems":4,"maxItems":4,"default":[],"description":"Corners of image specified in longitude, latitude pairs"},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"MarkerSource":{"type":"object","required":["feature"],"additionalProperties":false,"properties":{"color":{"type":"string","description":"Color of the marker icon (hex, rgb, rgba, or named color)"},"feature":{"type":"object","description":"Info for the marker","required":["coords"],"properties":{"coords":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"}}}}}},"RasterDemSource":{"type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The url to the tile provider"},"attribution":{"type":"string","description":"The attribution for the raster-dem source"},"urlParameters":{"type":"object","additionalProperties":{"type":"string"}},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"RasterSource":{"type":"object","required":["url","maxZoom","minZoom"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The url to the tile provider"},"minZoom":{"type":"number","minimum":0,"maximum":24,"readOnly":true,"description":"The minimum zoom level for the raster source","default":0},"maxZoom":{"type":"number","minimum":0,"maximum":24,"readOnly":true,"description":"The maximum zoom level for the raster source","default":24},"attribution":{"type":"string","readOnly":true,"description":"The attribution for the raster source","default":""},"htmlAttribution":{"type":"string","readOnly":true,"description":"The html attribution for the raster source","default":""},"provider":{"type":"string","readOnly":true,"description":"The map provider","default":""},"bounds":{"type":"array","readOnly":true,"items":{"type":"array","items":{"type":"number"}},"default":[],"description":"The bounds of the source"},"urlParameters":{"type":"object","additionalProperties":{"type":"string"},"default":{}},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"ShapefileSource":{"type":"object","required":["path"],"additionalProperties":false,"properties":{"path":{"type":"string","description":"The path to the shapefile (.shp, .zip, or folder URL)."},"attribution":{"type":"string","readOnly":true,"description":"The attribution for the shapefile source.","default":""},"projection":{"type":"string","description":"The projection information for the shapefile (optional).","default":"WGS84"},"encoding":{"type":"string","description":"The encoding used for the shapefile\'s DBF (optional).","default":"UTF-8"},"additionalFiles":{"type":"object","description":"Additional files associated with the shapefile (e.g., .dbf, .prj, .cpg).","additionalProperties":{"type":"string"},"default":{}}}},"VectorTileSource":{"type":"object","required":["url","maxZoom","minZoom"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The url to the tile provider"},"minZoom":{"type":"number","minimum":0,"maximum":24,"description":"The minimum zoom level for the vector source"},"maxZoom":{"type":"number","minimum":0,"maximum":24,"description":"The maximum zoom level for the vector source"},"attribution":{"type":"string","description":"The attribution for the vector source"},"provider":{"type":"string","readOnly":true,"description":"The map provider"},"urlParameters":{"type":"object","additionalProperties":{"type":"string"}}}},"VideoSource":{"type":"object","required":["urls","coordinates"],"additionalProperties":false,"properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"default":[],"description":"URLs to video content in order of preferred format"},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"minItems":4,"maxItems":4,"default":[],"description":"Corners of video specified in longitude, latitude pairs"}}},"GeoJSONSource":{"type":"object","required":[],"additionalProperties":false,"properties":{"path":{"type":"string","description":"The local path to a GeoJSON file"},"data":{"type":"object","description":"The GeoJSON data","$schema":"http://json-schema.org/draft-07/schema#","$id":"https://geojson.org/schema/GeoJSON.json","title":"GeoJSON","oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON GeometryCollection","type":"object","required":["type","geometries"],"properties":{"type":{"type":"string","enum":["GeometryCollection"]},"geometries":{"type":"array","items":{"oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Feature","type":"object","required":["type","properties","geometry"],"properties":{"type":{"type":"string","enum":["Feature"]},"id":{"oneOf":[{"type":"number"},{"type":"string"}]},"properties":{"oneOf":[{"type":"null"},{"type":"object"}]},"geometry":{"oneOf":[{"type":"null"},{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON GeometryCollection","type":"object","required":["type","geometries"],"properties":{"type":{"type":"string","enum":["GeometryCollection"]},"geometries":{"type":"array","items":{"oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON FeatureCollection","type":"object","required":["type","features"],"properties":{"type":{"type":"string","enum":["FeatureCollection"]},"features":{"type":"array","items":{"title":"GeoJSON Feature","type":"object","required":["type","properties","geometry"],"properties":{"type":{"type":"string","enum":["Feature"]},"id":{"oneOf":[{"type":"number"},{"type":"string"}]},"properties":{"oneOf":[{"type":"null"},{"type":"object"}]},"geometry":{"oneOf":[{"type":"null"},{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON GeometryCollection","type":"object","required":["type","geometries"],"properties":{"type":{"type":"string","enum":["GeometryCollection"]},"geometries":{"type":"array","items":{"oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]},"valid":{"type":"boolean","description":"Whether the data are valid or not","readOnly":true}}}}');class J{constructor(e){this._registry=new Map(Object.entries(q)),this._docManager=e}registerSchema(e,t){this._registry.has(e)?console.error("Worker is already registered!"):this._registry.set(e,t)}has(e){return this._registry.has(e)}getSchemas(){return this._registry}getDocManager(){return this._docManager}}const M=[{id:"jupytergis:core:tracker",autoStart:!0,requires:[T.ITranslator],optional:[O.IMainMenu],provides:n.IJupyterGISDocTracker,activate:(e,t,r)=>{const i=new a.WidgetTracker({namespace:"jupytergis"});return console.debug("jupytergis:core:tracker is activated!"),i}},x,{id:"jupytergis:core:form-schema-registry",autoStart:!0,requires:[P.IDocumentManager],provides:n.IJGISFormSchemaRegistryToken,activate:(e,t)=>new J(t)},{id:"jupytergis:core:external-command-registry",autoStart:!0,requires:[],provides:n.IJGISExternalCommandRegistryToken,activate:e=>new G},{id:"jupytergis:core:layer-browser-registry",autoStart:!0,requires:[],provides:n.IJGISLayerBrowserRegistryToken,activate:e=>(console.debug("jupytergis:core:layer-browser-registry is activated"),new v)},{id:"jupytergis:core:annotation",autoStart:!0,requires:[n.IJupyterGISDocTracker],provides:n.IAnnotationToken,activate:(e,t)=>{var r;const i=new o.AnnotationModel({model:null===(r=t.currentWidget)||void 0===r?void 0:r.model});return t.currentChanged.connect((e,t)=>{i.model=(null==t?void 0:t.model)||void 0}),i}}]}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e,r,t,a,o,n,i,u,l,d,f,s,c,p,b,h,y,m,v,g,j,w,P,O,S,E,_,x={71650(e,r,t){var a={"./index":()=>Promise.all([t.e(624),t.e(991)]).then(()=>()=>t(29991)),"./extension":()=>Promise.all([t.e(624),t.e(991)]).then(()=>()=>t(29991)),"./style":()=>t.e(432).then(()=>()=>t(51432))},o=(e,r)=>(t.R=r,r=t.o(a,e)?a[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),n=(e,r)=>{if(t.S){var a="default",o=t.S[a];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[a]=e,t.I(a,r)}};t.d(r,{get:()=>o,init:()=>n})}},k={};function T(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,loaded:!1,exports:{}};return x[e].call(t.exports,t,t.exports,T),t.loaded=!0,t.exports}T.m=x,T.c=k,T.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return T.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,T.t=function(t,a){if(1&a&&(t=this(t)),8&a)return t;if("object"==typeof t&&t){if(4&a&&t.__esModule)return t;if(16&a&&"function"==typeof t.then)return t}var o=Object.create(null);T.r(o);var n={};e=e||[null,r({}),r([]),r(r)];for(var i=2&a&&t;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>n[e]=()=>t[e]);return n.default=()=>t,T.d(o,n),o},T.d=(e,r)=>{for(var t in r)T.o(r,t)&&!T.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},T.f={},T.e=e=>Promise.all(Object.keys(T.f).reduce((r,t)=>(T.f[t](e,r),r),[])),T.u=e=>e+"."+{27:"1f6ad99534ea85406d43",99:"43df5aa4900a464c8c36",154:"81bef68e01fc6079be77",211:"dda210219d9ad86e1e84",234:"ea90a64ba283577248b6",294:"5fc61ad02851426049c0",376:"28855d079a25782d0411",407:"abbc95102c4ad7922738",432:"4ba21c44d69bd7bb9b58",472:"a64789520e563e648e15",542:"01890bd351511c4a49a8",552:"a4ebd32e9302cb6c9dce",555:"f67c28bf17db0a6ce7f9",618:"f39bbf3c06f1a62a664a",803:"2b7be4ca03f1b0985a34",990:"1fe67e669bf8d31bc0ac",991:"ce3807f873148de479ba"}[e]+".js?v="+{27:"1f6ad99534ea85406d43",99:"43df5aa4900a464c8c36",154:"81bef68e01fc6079be77",211:"dda210219d9ad86e1e84",234:"ea90a64ba283577248b6",294:"5fc61ad02851426049c0",376:"28855d079a25782d0411",407:"abbc95102c4ad7922738",432:"4ba21c44d69bd7bb9b58",472:"a64789520e563e648e15",542:"01890bd351511c4a49a8",552:"a4ebd32e9302cb6c9dce",555:"f67c28bf17db0a6ce7f9",618:"f39bbf3c06f1a62a664a",803:"2b7be4ca03f1b0985a34",990:"1fe67e669bf8d31bc0ac",991:"ce3807f873148de479ba"}[e],T.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),T.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),T.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="@jupytergis/jupytergis-core:",T.l=(e,r,o,n)=>{if(t[e])t[e].push(r);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var f=l[d];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==a+o){i=f;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",T.nc&&i.setAttribute("nonce",T.nc),i.setAttribute("data-webpack",a+o),i.src=e),t[e]=[r];var s=(r,a)=>{i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(a)),r)return r(a)},c=setTimeout(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),u&&document.head.appendChild(i)}},T.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},T.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{T.S={};var e={},r={};T.I=(t,a)=>{a||(a=[]);var o=r[t];if(o||(o=r[t]={}),!(a.indexOf(o)>=0)){if(a.push(o),e[t])return e[t];T.o(T.S,t)||(T.S[t]={});var n=T.S[t],i="@jupytergis/jupytergis-core",u=(e,r,t,a)=>{var o=n[e]=n[e]||{},u=o[r];(!u||!u.loaded&&(!a!=!u.eager?a:i>u.from))&&(o[r]={get:t,from:i,eager:!!a})},l=[];return"default"===t&&(u("@jupyter/collaborative-drive","4.2.0",()=>Promise.all([T.e(262),T.e(234)]).then(()=>()=>T(20234))),u("@jupytergis/base","0.11.1",()=>Promise.all([T.e(294),T.e(262),T.e(602),T.e(99),T.e(624)]).then(()=>()=>T(96859))),u("@jupytergis/jupytergis-core","0.11.1",()=>Promise.all([T.e(624),T.e(991)]).then(()=>()=>T(29991))),u("@jupytergis/schema","0.11.1",()=>Promise.all([T.e(803),T.e(262),T.e(602),T.e(990)]).then(()=>()=>T(17990)))),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{var e;T.g.importScripts&&(e=T.g.location+"");var r=T.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=t[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),T.p=e})(),o=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=t[1]?r(t[1]):[];return t[2]&&(a.length++,a.push.apply(a,r(t[2]))),t[3]&&(a.push([]),a.push.apply(a,r(t[3]))),a},n=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var a=e[t],n=(typeof a)[0];if(t>=r.length)return"u"==n;var i=r[t],u=(typeof i)[0];if(n!=u)return"o"==n&&"n"==u||"s"==u||"u"==n;if("o"!=n&&"u"!=n&&a!=i)return a<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,t+="u"==(typeof(u=e[o]))[0]?"-":(a>0?".":"")+(a=2,u);return t}var n=[];for(o=1;o<e.length;o++){var u=e[o];n.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?n.pop()+" "+n.pop():i(u))}return l();function l(){return n.pop().replace(/^\((.+)\)$/,"$1")}},u=(e,r)=>{if(0 in e){r=o(r);var t=e[0],a=t<0;a&&(t=-t-1);for(var n=0,i=1,l=!0;;i++,n++){var d,f,s=i<e.length?(typeof e[i])[0]:"";if(n>=r.length||"o"==(f=(typeof(d=r[n]))[0]))return!l||("u"==s?i>t&&!a:""==s!=a);if("u"==f){if(!l||"u"!=s)return!1}else if(l)if(s==f)if(i<=t){if(d!=e[i])return!1}else{if(a?d>e[i]:d<e[i])return!1;d!=e[i]&&(l=!1)}else if("s"!=s&&"n"!=s){if(a||i<=t)return!1;l=!1,i--}else{if(i<=t||f<s!=a)return!1;l=!1}else"s"!=s&&"n"!=s&&(l=!1,i--)}}var c=[],p=c.pop.bind(c);for(n=1;n<e.length;n++){var b=e[n];c.push(1==b?p()|p():2==b?p()&p():b?u(b,r):!p())}return!!p()},l=(e,r)=>e&&T.o(e,r),d=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),s=(e,r,t)=>{var a=t?f(e[r]):e[r];return(r=Object.keys(a).reduce((e,r)=>!e||n(e,r)?r:e,0))&&a[r]},c=(e,r,t,a)=>{var o=a?f(e[r]):e[r];return(r=Object.keys(o).reduce((e,r)=>!u(t,r)||e&&!n(e,r)?e:r,0))&&o[r]},p=(e,r,t)=>{var a=t?f(e[r]):e[r];return Object.keys(a).reduce((e,r)=>!e||!a[e].loaded&&n(e,r)?r:e,0)},b=(e,r,t,a)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(a)+")",h=(e,r,t,a,o)=>{var n=e[t];return"No satisfying version ("+i(a)+")"+(o?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(n).map(e=>e+" from "+n[e].from).join(", ")},y=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},g=(e,r,t)=>t?t():((e,r)=>y("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),j=(v=e=>function(r,t,a,o,n){var i=T.I(r);return i&&i.then&&!a?i.then(e.bind(e,r,T.S[r],t,!1,o,n)):e(r,T.S[r],t,a,o,n)})((e,r,t,a,o,n)=>{if(!l(r,t))return g(e,t,n);var i=c(r,t,o,a);return i?d(i):(m(h(r,e,t,o,a)),d(s(r,t,a)))}),w=v((e,r,t,a,o,n)=>{if(!l(r,t))return g(e,t,n);var i=c(r,t,o,a);return i?d(i):n?n():void y(h(r,e,t,o,a))}),P=v((e,r,t,a,o,n)=>{if(!l(r,t))return g(e,t,n);var i=p(r,t,a);return u(o,i)||m(b(r,t,i,o)),d(r[t][i])}),O={},S={11805:()=>P("default","@jupyterlab/console",!1,[1,4,5,1]),64176:()=>j("default","@jupyterlab/docregistry",!1,[1,4,5,1]),67292:()=>P("default","@jupyterlab/coreutils",!1,[1,6,5,1]),79269:()=>P("default","@jupytergis/schema",!1,[2,0,11,1],()=>Promise.all([T.e(803),T.e(262),T.e(602),T.e(990)]).then(()=>()=>T(17990))),79827:()=>P("default","@jupyterlab/apputils",!1,[1,4,6,1]),82780:()=>P("default","@jupyterlab/filebrowser",!1,[1,4,5,1]),12911:()=>w("default","@jupyter/collaborative-drive",!1,[1,4,1,2],()=>Promise.all([T.e(262),T.e(234)]).then(()=>()=>T(20234))),13118:()=>P("default","@jupyterlab/rendermime",!1,[1,4,5,1]),37449:()=>P("default","@jupytergis/base",!1,[2,0,11,1],()=>Promise.all([T.e(294),T.e(262),T.e(602),T.e(99)]).then(()=>()=>T(96859))),40223:()=>P("default","@jupyterlab/settingregistry",!1,[1,4,5,1]),44591:()=>P("default","@jupyterlab/translation",!1,[1,4,5,1]),56707:()=>P("default","@jupyterlab/statedb",!1,[1,4,5,1]),82684:()=>P("default","@jupyterlab/mainmenu",!1,[1,4,5,1]),82690:()=>P("default","@jupyterlab/codeeditor",!1,[1,4,5,1]),83366:()=>P("default","@jupyterlab/launcher",!1,[1,4,5,1]),87125:()=>P("default","@jupyterlab/docmanager",!1,[1,4,5,1]),67262:()=>P("default","@lumino/coreutils",!1,[1,2,0,0]),74602:()=>P("default","@lumino/signaling",!1,[1,2,0,0]),7628:()=>P("default","react-dom",!1,[1,18,2,0]),11907:()=>P("default","@jupyterlab/services",!1,[1,7,5,1]),40180:()=>P("default","@jupyter/react-components",!1,[2,0,16,6]),46167:()=>P("default","@lumino/commands",!1,[1,2,0,1]),46230:()=>P("default","@lumino/messaging",!1,[1,2,0,0]),51247:()=>P("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",1]),51409:()=>P("default","@jupyterlab/ui-components",!1,[1,4,5,1]),73170:()=>j("default","@jupyterlab/observables",!1,[1,5,5,1]),93345:()=>P("default","react",!1,[1,18,2,0]),28e3:()=>P("default","@jupyter/ydoc",!1,[1,3,0,0,,"a3"])},E={99:[7628,11907,40180,46167,46230,51247,51409,73170,93345],262:[67262],602:[74602],624:[11805,64176,67292,79269,79827,82780],990:[28e3],991:[12911,13118,37449,40223,44591,56707,82684,82690,83366,87125]},_={},T.f.consumes=(e,r)=>{T.o(E,e)&&E[e].forEach(e=>{if(T.o(O,e))return r.push(O[e]);if(!_[e]){var t=r=>{O[e]=0,T.m[e]=t=>{delete T.c[e],t.exports=r()}};_[e]=!0;var a=r=>{delete O[e],T.m[e]=t=>{throw delete T.c[e],r}};try{var o=S[e]();o.then?r.push(O[e]=o.then(t).catch(a)):t(o)}catch(e){a(e)}}})},(()=>{T.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={108:0};T.f.j=(r,t)=>{var a=T.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(262|602|624)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>a=e[r]=[t,o]);t.push(a[2]=o);var n=T.p+T.u(r),i=new Error;T.l(n,t=>{if(T.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+n+")",i.name="ChunkLoadError",i.type=o,i.request=n,a[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var a,o,[n,i,u]=t,l=0;if(n.some(r=>0!==e[r])){for(a in i)T.o(i,a)&&(T.m[a]=i[a]);u&&u(T)}for(r&&r(t);l<n.length;l++)o=n[l],T.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_jupytergis_jupytergis_core=self.webpackChunk_jupytergis_jupytergis_core||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),T.nc=void 0;var A=T(71650);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupytergis/jupytergis-core"]=A})();