@vertexvis/viewer 0.24.4-canary.8 → 0.24.4

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 (259) hide show
  1. package/README.template.md +6 -0
  2. package/dist/cjs/{controller-f032798e.js → controller-4996f10d.js} +2 -2
  3. package/dist/cjs/{controller-f032798e.js.map → controller-4996f10d.js.map} +1 -1
  4. package/dist/cjs/{cursors-2dfb0ef3.js → cursors-17ad74ac.js} +2 -2
  5. package/dist/cjs/{cursors-2dfb0ef3.js.map → cursors-17ad74ac.js.map} +1 -1
  6. package/dist/cjs/dom-fc408b4c.js.map +1 -1
  7. package/dist/cjs/{errors-04aa7cf2.js → errors-78196ad4.js} +9 -1
  8. package/dist/cjs/errors-78196ad4.js.map +1 -0
  9. package/dist/cjs/{index-5fa5a527.js → index-0abd8b0b.js} +2 -2
  10. package/dist/cjs/index-0abd8b0b.js.map +1 -0
  11. package/dist/cjs/index.cjs.js +4 -4
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/cjs/loader.cjs.js.map +1 -1
  14. package/dist/cjs/{queries-68cd2664.js → queries-4580caa5.js} +9 -3
  15. package/dist/cjs/queries-4580caa5.js.map +1 -0
  16. package/dist/cjs/{shadow-css-8962c4a9.js → shadow-css-37297ac8.js} +1 -1
  17. package/dist/cjs/shadow-css-37297ac8.js.map +1 -0
  18. package/dist/cjs/{stencil-a3f4e15b.js → stencil-40ef9119.js} +2 -2
  19. package/dist/cjs/{stencil-a3f4e15b.js.map → stencil-40ef9119.js.map} +1 -1
  20. package/dist/cjs/vertex-scene-tree-notification-banner_4.cjs.entry.js +8 -2
  21. package/dist/cjs/vertex-scene-tree-notification-banner_4.cjs.entry.js.map +1 -1
  22. package/dist/cjs/vertex-scene-tree-table-cell.cjs.entry.js +1 -1
  23. package/dist/cjs/vertex-scene-tree-table-column.cjs.entry.js +1 -1
  24. package/dist/cjs/vertex-scene-tree-table-header.cjs.entry.js +1 -1
  25. package/dist/cjs/vertex-scene-tree-table-resize-divider.cjs.entry.js +1 -1
  26. package/dist/cjs/vertex-scene-tree-toolbar-group.cjs.entry.js +1 -1
  27. package/dist/cjs/vertex-scene-tree.cjs.entry.js +3 -3
  28. package/dist/cjs/vertex-scene-tree.cjs.entry.js.map +1 -1
  29. package/dist/cjs/vertex-viewer-annotation-callout.cjs.entry.js +1 -1
  30. package/dist/cjs/vertex-viewer-box-query-tool.cjs.entry.js +2 -2
  31. package/dist/cjs/vertex-viewer-button_3.cjs.entry.js +1 -1
  32. package/dist/cjs/vertex-viewer-default-toolbar.cjs.entry.js +1 -1
  33. package/dist/cjs/vertex-viewer-dom-element_2.cjs.entry.js +1 -1
  34. package/dist/cjs/vertex-viewer-dom-group.cjs.entry.js +1 -1
  35. package/dist/cjs/vertex-viewer-hit-result-indicator.cjs.entry.js +2 -2
  36. package/dist/cjs/vertex-viewer-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/vertex-viewer-layer.cjs.entry.js +1 -1
  38. package/dist/cjs/vertex-viewer-markup-arrow_3.cjs.entry.js +1 -1
  39. package/dist/cjs/vertex-viewer-markup-tool.cjs.entry.js +1 -1
  40. package/dist/cjs/vertex-viewer-markup.cjs.entry.js +1 -1
  41. package/dist/cjs/vertex-viewer-measurement-details.cjs.entry.js +1 -1
  42. package/dist/cjs/vertex-viewer-measurement-distance.cjs.entry.js +2 -2
  43. package/dist/cjs/vertex-viewer-measurement-line_2.cjs.entry.js +1 -1
  44. package/dist/cjs/vertex-viewer-measurement-precise.cjs.entry.js +2 -2
  45. package/dist/cjs/vertex-viewer-pin-group.cjs.entry.js +5 -5
  46. package/dist/cjs/vertex-viewer-pin-group.cjs.entry.js.map +1 -1
  47. package/dist/cjs/vertex-viewer-pin-label_2.cjs.entry.js +2 -2
  48. package/dist/cjs/vertex-viewer-pin-tool.cjs.entry.js +2 -2
  49. package/dist/cjs/vertex-viewer-spinner.cjs.entry.js +1 -1
  50. package/dist/cjs/vertex-viewer-teleport-tool.cjs.entry.js +1 -1
  51. package/dist/cjs/vertex-viewer-transform-widget.cjs.entry.js +2 -2
  52. package/dist/cjs/vertex-viewer-view-cube.cjs.entry.js +2 -2
  53. package/dist/cjs/vertex-viewer-walk-mode-tool.cjs.entry.js +4 -4
  54. package/dist/cjs/vertex-viewer-walk-mode-tool.cjs.entry.js.map +1 -1
  55. package/dist/cjs/vertex-viewer.cjs.entry.js +31 -15
  56. package/dist/cjs/vertex-viewer.cjs.entry.js.map +1 -1
  57. package/dist/cjs/viewer.cjs.js +1 -1
  58. package/dist/cjs/viewer.cjs.js.map +1 -1
  59. package/dist/collection/components/scene-tree/scene-tree.js +1 -1
  60. package/dist/collection/components/scene-tree/scene-tree.js.map +1 -1
  61. package/dist/collection/components/scene-tree-search/scene-tree-search.js +21 -1
  62. package/dist/collection/components/scene-tree-search/scene-tree-search.js.map +1 -1
  63. package/dist/collection/components/viewer/viewer.js +23 -13
  64. package/dist/collection/components/viewer/viewer.js.map +1 -1
  65. package/dist/collection/components/viewer-pin-group/viewer-pin-group.css +5 -0
  66. package/dist/collection/components/viewer-walk-mode-tool/viewer-walk-mode-tool.js +3 -3
  67. package/dist/collection/components/viewer-walk-mode-tool/viewer-walk-mode-tool.js.map +1 -1
  68. package/dist/collection/lib/cursors.js +1 -1
  69. package/dist/collection/lib/cursors.js.map +1 -1
  70. package/dist/collection/lib/model-views/controller.js +7 -1
  71. package/dist/collection/lib/model-views/controller.js.map +1 -1
  72. package/dist/collection/lib/stream/stream.js +6 -5
  73. package/dist/collection/lib/stream/stream.js.map +1 -1
  74. package/dist/collection/testing/viewer.js +2 -2
  75. package/dist/collection/testing/viewer.js.map +1 -1
  76. package/dist/components/cursors.js +1 -1
  77. package/dist/components/cursors.js.map +1 -1
  78. package/dist/components/errors.js +8 -1
  79. package/dist/components/errors.js.map +1 -1
  80. package/dist/components/queries.js +7 -1
  81. package/dist/components/queries.js.map +1 -1
  82. package/dist/components/scene-tree-search.js +6 -0
  83. package/dist/components/scene-tree-search.js.map +1 -1
  84. package/dist/components/vertex-scene-tree.js.map +1 -1
  85. package/dist/components/vertex-viewer-walk-mode-tool.js +3 -3
  86. package/dist/components/vertex-viewer-walk-mode-tool.js.map +1 -1
  87. package/dist/components/vertex-viewer.js +27 -11
  88. package/dist/components/vertex-viewer.js.map +1 -1
  89. package/dist/components/viewer-pin-group.js +1 -1
  90. package/dist/components/viewer-pin-group.js.map +1 -1
  91. package/dist/esm/{controller-00b61632.js → controller-8cfb590e.js} +2 -2
  92. package/dist/esm/{controller-00b61632.js.map → controller-8cfb590e.js.map} +1 -1
  93. package/dist/esm/{cursors-9e349d61.js → cursors-3806bc04.js} +2 -2
  94. package/dist/esm/{cursors-9e349d61.js.map → cursors-3806bc04.js.map} +1 -1
  95. package/dist/esm/dom-dba69343.js.map +1 -1
  96. package/dist/esm/{errors-0cbe2f60.js → errors-3fccf79a.js} +9 -2
  97. package/dist/{cjs/errors-04aa7cf2.js.map → esm/errors-3fccf79a.js.map} +1 -1
  98. package/dist/esm/{index-f3e96c9e.js → index-c12dc0cd.js} +2 -2
  99. package/dist/esm/index-c12dc0cd.js.map +1 -0
  100. package/dist/esm/index.js +4 -4
  101. package/dist/esm/index.mjs +4 -4
  102. package/dist/esm/loader.js +1 -1
  103. package/dist/esm/loader.js.map +1 -1
  104. package/dist/esm/loader.mjs +1 -1
  105. package/dist/esm/{queries-794dddcf.js → queries-948a88f9.js} +9 -3
  106. package/dist/esm/queries-948a88f9.js.map +1 -0
  107. package/dist/esm/{shadow-css-9363884b.js → shadow-css-d5069bdf.js} +1 -1
  108. package/dist/esm/shadow-css-d5069bdf.js.map +1 -0
  109. package/dist/esm/{stencil-9d9f090f.js → stencil-38b2fc28.js} +2 -2
  110. package/dist/esm/{stencil-9d9f090f.js.map → stencil-38b2fc28.js.map} +1 -1
  111. package/dist/esm/vertex-scene-tree-notification-banner_4.entry.js +8 -2
  112. package/dist/esm/vertex-scene-tree-notification-banner_4.entry.js.map +1 -1
  113. package/dist/esm/vertex-scene-tree-table-cell.entry.js +1 -1
  114. package/dist/esm/vertex-scene-tree-table-column.entry.js +1 -1
  115. package/dist/esm/vertex-scene-tree-table-header.entry.js +1 -1
  116. package/dist/esm/vertex-scene-tree-table-resize-divider.entry.js +1 -1
  117. package/dist/esm/vertex-scene-tree-toolbar-group.entry.js +1 -1
  118. package/dist/esm/vertex-scene-tree.entry.js +3 -3
  119. package/dist/esm/vertex-scene-tree.entry.js.map +1 -1
  120. package/dist/esm/vertex-viewer-annotation-callout.entry.js +1 -1
  121. package/dist/esm/vertex-viewer-box-query-tool.entry.js +2 -2
  122. package/dist/esm/vertex-viewer-button_3.entry.js +1 -1
  123. package/dist/esm/vertex-viewer-default-toolbar.entry.js +1 -1
  124. package/dist/esm/vertex-viewer-dom-element_2.entry.js +1 -1
  125. package/dist/esm/vertex-viewer-dom-group.entry.js +1 -1
  126. package/dist/esm/vertex-viewer-hit-result-indicator.entry.js +2 -2
  127. package/dist/esm/vertex-viewer-icon.entry.js +1 -1
  128. package/dist/esm/vertex-viewer-layer.entry.js +1 -1
  129. package/dist/esm/vertex-viewer-markup-arrow_3.entry.js +1 -1
  130. package/dist/esm/vertex-viewer-markup-tool.entry.js +1 -1
  131. package/dist/esm/vertex-viewer-markup.entry.js +1 -1
  132. package/dist/esm/vertex-viewer-measurement-details.entry.js +1 -1
  133. package/dist/esm/vertex-viewer-measurement-distance.entry.js +2 -2
  134. package/dist/esm/vertex-viewer-measurement-line_2.entry.js +1 -1
  135. package/dist/esm/vertex-viewer-measurement-precise.entry.js +2 -2
  136. package/dist/esm/vertex-viewer-pin-group.entry.js +5 -5
  137. package/dist/esm/vertex-viewer-pin-group.entry.js.map +1 -1
  138. package/dist/esm/vertex-viewer-pin-label_2.entry.js +2 -2
  139. package/dist/esm/vertex-viewer-pin-tool.entry.js +2 -2
  140. package/dist/esm/vertex-viewer-spinner.entry.js +1 -1
  141. package/dist/esm/vertex-viewer-teleport-tool.entry.js +1 -1
  142. package/dist/esm/vertex-viewer-transform-widget.entry.js +2 -2
  143. package/dist/esm/vertex-viewer-view-cube.entry.js +2 -2
  144. package/dist/esm/vertex-viewer-walk-mode-tool.entry.js +4 -4
  145. package/dist/esm/vertex-viewer-walk-mode-tool.entry.js.map +1 -1
  146. package/dist/esm/vertex-viewer.entry.js +31 -15
  147. package/dist/esm/vertex-viewer.entry.js.map +1 -1
  148. package/dist/esm/viewer.js +1 -1
  149. package/dist/esm/viewer.js.map +1 -1
  150. package/dist/types/components/scene-tree/scene-tree.d.ts +1 -1
  151. package/dist/types/components/scene-tree-search/scene-tree-search.d.ts +5 -1
  152. package/dist/types/components/viewer/viewer.d.ts +3 -2
  153. package/dist/types/components.d.ts +11 -7
  154. package/dist/types/lib/stream/stream.d.ts +1 -1
  155. package/dist/types/testing/viewer.d.ts +2 -2
  156. package/dist/viewer/index.esm.js +1 -1
  157. package/dist/viewer/{p-0e0973f0.entry.js → p-03efd0d6.entry.js} +2 -2
  158. package/dist/viewer/{p-7f0eeb06.entry.js → p-0988832f.entry.js} +2 -2
  159. package/dist/viewer/{p-78a1be4e.entry.js → p-0aa04328.entry.js} +2 -2
  160. package/dist/viewer/p-18ce3f3b.entry.js +5 -0
  161. package/dist/viewer/{p-93960b4f.entry.js.map → p-18ce3f3b.entry.js.map} +1 -1
  162. package/dist/viewer/{p-2ecdcd5d.entry.js → p-23f0bb30.entry.js} +2 -2
  163. package/dist/viewer/{p-06b8bca7.entry.js → p-296311d3.entry.js} +2 -2
  164. package/dist/viewer/{p-2172230d.entry.js → p-2fd66679.entry.js} +2 -2
  165. package/dist/viewer/{p-5540add8.entry.js → p-362f3e12.entry.js} +2 -2
  166. package/dist/viewer/{p-110f66c6.js → p-388f809e.js} +2 -2
  167. package/dist/viewer/p-388f809e.js.map +1 -0
  168. package/dist/viewer/{p-48b63c5f.entry.js → p-45044ff2.entry.js} +2 -2
  169. package/dist/viewer/{p-9fc2e56e.entry.js → p-45b5b5ed.entry.js} +2 -2
  170. package/dist/viewer/{p-f79933ae.entry.js → p-4bd1ea70.entry.js} +2 -2
  171. package/dist/viewer/{p-842cc51b.entry.js → p-4bf16450.entry.js} +2 -2
  172. package/dist/viewer/{p-a057d7f2.entry.js → p-56fa8168.entry.js} +2 -2
  173. package/dist/viewer/{p-8c367e87.entry.js → p-59f204e7.entry.js} +2 -2
  174. package/dist/viewer/p-59f204e7.entry.js.map +1 -0
  175. package/dist/viewer/{p-33033b58.entry.js → p-6cf6eb8a.entry.js} +2 -2
  176. package/dist/viewer/p-715255e1.entry.js +5 -0
  177. package/dist/viewer/p-715255e1.entry.js.map +1 -0
  178. package/dist/viewer/{p-5f9352c0.entry.js → p-75f5ae33.entry.js} +2 -2
  179. package/dist/viewer/{p-7eea3fb3.entry.js → p-7a87ae97.entry.js} +2 -2
  180. package/dist/viewer/{p-b974c985.entry.js → p-86e1ee86.entry.js} +2 -2
  181. package/dist/viewer/p-86e1ee86.entry.js.map +1 -0
  182. package/dist/viewer/p-89d93218.entry.js +5 -0
  183. package/dist/viewer/p-89d93218.entry.js.map +1 -0
  184. package/dist/viewer/{p-07325d65.entry.js → p-8c53ed63.entry.js} +2 -2
  185. package/dist/viewer/p-991f7bac.js.map +1 -1
  186. package/dist/viewer/{p-983db3dd.entry.js → p-a009c6d9.entry.js} +2 -2
  187. package/dist/viewer/{p-dcb64250.entry.js → p-a3bc0b79.entry.js} +2 -2
  188. package/dist/viewer/{p-29318a17.entry.js → p-aece4279.entry.js} +2 -2
  189. package/dist/viewer/{p-be257155.js → p-b8c0f6ff.js} +1 -1
  190. package/dist/viewer/p-b8c0f6ff.js.map +1 -0
  191. package/dist/viewer/{p-2507658c.js → p-ba120f65.js} +2 -2
  192. package/dist/viewer/p-ba120f65.js.map +1 -0
  193. package/dist/viewer/p-bab8266e.js +5 -0
  194. package/dist/viewer/p-bab8266e.js.map +1 -0
  195. package/dist/viewer/{p-05562c21.entry.js → p-bcddbdb2.entry.js} +2 -2
  196. package/dist/viewer/{p-40e8a5ea.entry.js → p-c3b071a3.entry.js} +2 -2
  197. package/dist/viewer/{p-fbfa1e82.entry.js → p-cd3f0870.entry.js} +2 -2
  198. package/dist/viewer/{p-d2677c13.entry.js → p-d9e75269.entry.js} +2 -2
  199. package/dist/viewer/p-e1eaedd8.js +5 -0
  200. package/dist/viewer/{p-a27a9775.entry.js → p-e70e2c04.entry.js} +2 -2
  201. package/dist/viewer/{p-ffa8a2dd.entry.js → p-ebea8f56.entry.js} +2 -2
  202. package/dist/viewer/{p-342dac8b.js → p-eda9f5d4.js} +2 -2
  203. package/dist/viewer/{p-342dac8b.js.map → p-eda9f5d4.js.map} +1 -1
  204. package/dist/viewer/{p-9d54d593.entry.js → p-f292e8ae.entry.js} +2 -2
  205. package/dist/viewer/{p-6f1b22f0.js → p-f8951894.js} +2 -2
  206. package/dist/viewer/{p-d024c250.entry.js → p-f8a9c4d2.entry.js} +2 -2
  207. package/dist/viewer/viewer.esm.js +1 -1
  208. package/dist/viewer/viewer.esm.js.map +1 -1
  209. package/package.json +7 -7
  210. package/readme.md +10 -4
  211. package/dist/cjs/index-5fa5a527.js.map +0 -1
  212. package/dist/cjs/queries-68cd2664.js.map +0 -1
  213. package/dist/cjs/shadow-css-8962c4a9.js.map +0 -1
  214. package/dist/esm/errors-0cbe2f60.js.map +0 -1
  215. package/dist/esm/index-f3e96c9e.js.map +0 -1
  216. package/dist/esm/queries-794dddcf.js.map +0 -1
  217. package/dist/esm/shadow-css-9363884b.js.map +0 -1
  218. package/dist/viewer/p-04bf6b89.js +0 -5
  219. package/dist/viewer/p-110f66c6.js.map +0 -1
  220. package/dist/viewer/p-2507658c.js.map +0 -1
  221. package/dist/viewer/p-2ce9b8f7.entry.js +0 -5
  222. package/dist/viewer/p-2ce9b8f7.entry.js.map +0 -1
  223. package/dist/viewer/p-629a5ae7.entry.js +0 -5
  224. package/dist/viewer/p-629a5ae7.entry.js.map +0 -1
  225. package/dist/viewer/p-8c367e87.entry.js.map +0 -1
  226. package/dist/viewer/p-93960b4f.entry.js +0 -5
  227. package/dist/viewer/p-b974c985.entry.js.map +0 -1
  228. package/dist/viewer/p-be257155.js.map +0 -1
  229. package/dist/viewer/p-d9093da4.js +0 -5
  230. package/dist/viewer/p-d9093da4.js.map +0 -1
  231. /package/dist/viewer/{p-0e0973f0.entry.js.map → p-03efd0d6.entry.js.map} +0 -0
  232. /package/dist/viewer/{p-7f0eeb06.entry.js.map → p-0988832f.entry.js.map} +0 -0
  233. /package/dist/viewer/{p-78a1be4e.entry.js.map → p-0aa04328.entry.js.map} +0 -0
  234. /package/dist/viewer/{p-2ecdcd5d.entry.js.map → p-23f0bb30.entry.js.map} +0 -0
  235. /package/dist/viewer/{p-06b8bca7.entry.js.map → p-296311d3.entry.js.map} +0 -0
  236. /package/dist/viewer/{p-2172230d.entry.js.map → p-2fd66679.entry.js.map} +0 -0
  237. /package/dist/viewer/{p-5540add8.entry.js.map → p-362f3e12.entry.js.map} +0 -0
  238. /package/dist/viewer/{p-48b63c5f.entry.js.map → p-45044ff2.entry.js.map} +0 -0
  239. /package/dist/viewer/{p-9fc2e56e.entry.js.map → p-45b5b5ed.entry.js.map} +0 -0
  240. /package/dist/viewer/{p-f79933ae.entry.js.map → p-4bd1ea70.entry.js.map} +0 -0
  241. /package/dist/viewer/{p-842cc51b.entry.js.map → p-4bf16450.entry.js.map} +0 -0
  242. /package/dist/viewer/{p-a057d7f2.entry.js.map → p-56fa8168.entry.js.map} +0 -0
  243. /package/dist/viewer/{p-33033b58.entry.js.map → p-6cf6eb8a.entry.js.map} +0 -0
  244. /package/dist/viewer/{p-5f9352c0.entry.js.map → p-75f5ae33.entry.js.map} +0 -0
  245. /package/dist/viewer/{p-7eea3fb3.entry.js.map → p-7a87ae97.entry.js.map} +0 -0
  246. /package/dist/viewer/{p-07325d65.entry.js.map → p-8c53ed63.entry.js.map} +0 -0
  247. /package/dist/viewer/{p-983db3dd.entry.js.map → p-a009c6d9.entry.js.map} +0 -0
  248. /package/dist/viewer/{p-dcb64250.entry.js.map → p-a3bc0b79.entry.js.map} +0 -0
  249. /package/dist/viewer/{p-29318a17.entry.js.map → p-aece4279.entry.js.map} +0 -0
  250. /package/dist/viewer/{p-05562c21.entry.js.map → p-bcddbdb2.entry.js.map} +0 -0
  251. /package/dist/viewer/{p-40e8a5ea.entry.js.map → p-c3b071a3.entry.js.map} +0 -0
  252. /package/dist/viewer/{p-fbfa1e82.entry.js.map → p-cd3f0870.entry.js.map} +0 -0
  253. /package/dist/viewer/{p-d2677c13.entry.js.map → p-d9e75269.entry.js.map} +0 -0
  254. /package/dist/viewer/{p-04bf6b89.js.map → p-e1eaedd8.js.map} +0 -0
  255. /package/dist/viewer/{p-a27a9775.entry.js.map → p-e70e2c04.entry.js.map} +0 -0
  256. /package/dist/viewer/{p-ffa8a2dd.entry.js.map → p-ebea8f56.entry.js.map} +0 -0
  257. /package/dist/viewer/{p-9d54d593.entry.js.map → p-f292e8ae.entry.js.map} +0 -0
  258. /package/dist/viewer/{p-6f1b22f0.js.map → p-f8951894.js.map} +0 -0
  259. /package/dist/viewer/{p-d024c250.entry.js.map → p-f8a9c4d2.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["node_modules/@stencil/core/internal/client/shadow-css.js"],"names":["safeSelector","selector","placeholders","index","replace","_","keep","replaceBy","push","content","pseudo","exp","ss","restoreSafeSelector","_polyfillHost","_polyfillSlotted","_polyfillHostContext","_parenSuffix","_cssColonHostRe","RegExp","_cssColonHostContextRe","_cssColonSlottedRe","_polyfillHostNoCombinator","_polyfillHostNoCombinatorRe","_shadowDOMSelectorsRe","_selectorReSuffix","_polyfillHostRe","_colonHostRe","_colonSlottedRe","_colonHostContextRe","_commentRe","stripComments","input","_commentWithHashRe","extractCommentsWithHash","match","_ruleRe","_curlyRe","_selectorPartsRe","OPEN_CURLY","CLOSE_CURLY","BLOCK_PLACEHOLDER","processRules","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","m","suffix","contentPrefix","startsWith","blocks","substring","length","cssRule","rule","inputParts","split","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","join","strEscapedBlocks","insertPolyfillHostInCssText","convertColonRule","cssText","regExp","partReplacer","parts","r","i","p","trim","colonHostPartReplacer","host","convertColonHost","colonHostContextPartReplacer","indexOf","convertColonSlotted","slotScopeId","slotClass","selectors","compound","slottedSelector","prefixSelector","char","orgSelector","addedSelector","trimRight","updatedSelector","convertColonHostContext","convertShadowDOMSelectors","reduce","result","pattern","makeScopeMatcher","scopeSelector","lre","rre","selectorNeedsScoping","re","test","injectScopingSelector","scopingSelector","before","_colonGroup","colon","after","applySimpleSelectorScope","hostSelector","lastIndex","applyStrictSelectorScope","isRe","className","_scopeSelectorPart","scopedP","t","safeContent","scopedSelector","startIndex","res","sep","hasHost","shouldScope","exec","separator","slice","scopedPart","scopeSelectorText","slotSelector","map","shallowPart","scopeSelectors","commentOriginalSelector","scopeCssText","scopeId","hostScopeId","slotted","slottedSelectors","scopeCss","commentsWithHash","orgSelectors","processCommentedSelector","placeholder","comment","scoped","forEach"],"mappings":";;;;;;;;;;;;;;AAcA,MAAMA,EAAgBC,IAClB,MAAMC,EAAe,GACrB,IAAIC,EAAQ,EAGZF,EAAWA,EAASG,QAAQ,iBAAiB,CAACC,EAAGC,KAC7C,MAAMC,EAAY,QAAQJ,MAC1BD,EAAaM,KAAKF,GAClBH,IACA,OAAOI,KAIX,MAAME,EAAUR,EAASG,QAAQ,6BAA6B,CAACC,EAAGK,EAAQC,KACtE,MAAMJ,EAAY,QAAQJ,MAC1BD,EAAaM,KAAKG,GAClBR,IACA,OAAOO,EAASH,KAEpB,MAAMK,EAAK,CACPH,QAAAA,EACAP,aAAAA,GAEJ,OAAOU,GAEX,MAAMC,EAAsB,CAACX,EAAcO,IAChCA,EAAQL,QAAQ,iBAAiB,CAACC,EAAGF,IAAUD,GAAcC,KAExE,MAAMW,EAAgB,iBACtB,MAAMC,EAAmB,oBAEzB,MAAMC,EAAuB,oBAC7B,MAAMC,EAAe,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AK/C,QAASyI,GAC1C,OAAO1F,EAEX,OAAOA,KAGf,MAAM6F,EAASX,EAAarE,EAASsE,EAASC,EAAazD,GAC3Dd,EAAU,CAACgF,EAAOhF,WAAY2E,GAAkB/E,KAAK,MACrD,GAAIwE,EAAyB,CACzBQ,EAAaK,SAAQ,EAAGH,YAAAA,EAAaC,QAAAA,MACjC/E,EAAUA,EAAQjE,QAAQ+I,EAAaC,MAG/CC,EAAOP,iBAAiBQ,SAAS/D,IAC7BlB,EAAUA,EAAQjE,QAAQmF,EAAgBG,YAAaH,EAAgBM,oBAE3E,OAAOxB","sourcesContent":["/*\n Stencil Client Platform v2.16.1 | MIT Licensed | https://stenciljs.com\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */\nconst safeSelector = (selector) => {\n const placeholders = [];\n let index = 0;\n // Replaces attribute selectors with placeholders.\n // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(keep);\n index++;\n return replaceBy;\n });\n // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n // WS and \"+\" would otherwise be interpreted as selector separators.\n const content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(exp);\n index++;\n return pseudo + replaceBy;\n });\n const ss = {\n content,\n placeholders,\n };\n return ss;\n};\nconst restoreSafeSelector = (placeholders, content) => {\n return content.replace(/__ph-(\\d+)__/g, (_, index) => placeholders[+index]);\n};\nconst _polyfillHost = '-shadowcsshost';\nconst _polyfillSlotted = '-shadowcssslotted';\n// note: :host-context pre-processed to -shadowcsshostcontext.\nconst _polyfillHostContext = '-shadowcsscontext';\nconst _parenSuffix = ')(?:\\\\((' + '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' + ')\\\\))?([^,{]*)';\nconst _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\nconst _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\nconst _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');\nconst _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\nconst _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nconst _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];\nconst _selectorReSuffix = '([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$';\nconst _polyfillHostRe = /-shadowcsshost/gim;\nconst _colonHostRe = /:host/gim;\nconst _colonSlottedRe = /::slotted/gim;\nconst _colonHostContextRe = /:host-context/gim;\nconst _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nconst stripComments = (input) => {\n return input.replace(_commentRe, '');\n};\nconst _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nconst extractCommentsWithHash = (input) => {\n return input.match(_commentWithHashRe) || [];\n};\nconst _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nconst _curlyRe = /([{}])/g;\nconst _selectorPartsRe = /(^.*?[^\\\\])??((:+)(.*)|$)/;\nconst OPEN_CURLY = '{';\nconst CLOSE_CURLY = '}';\nconst BLOCK_PLACEHOLDER = '%BLOCK%';\nconst processRules = (input, ruleCallback) => {\n const inputWithEscapedBlocks = escapeBlocks(input);\n let nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {\n const selector = m[2];\n let content = '';\n let suffix = m[4];\n let contentPrefix = '';\n if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = '{';\n }\n const cssRule = {\n selector,\n content,\n };\n const rule = ruleCallback(cssRule);\n return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n });\n};\nconst escapeBlocks = (input) => {\n const inputParts = input.split(_curlyRe);\n const resultParts = [];\n const escapedBlocks = [];\n let bracketCount = 0;\n let currentBlockParts = [];\n for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n const part = inputParts[partIndex];\n if (part === CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n }\n else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part === OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n const strEscapedBlocks = {\n escapedString: resultParts.join(''),\n blocks: escapedBlocks,\n };\n return strEscapedBlocks;\n};\nconst insertPolyfillHostInCssText = (selector) => {\n selector = selector\n .replace(_colonHostContextRe, _polyfillHostContext)\n .replace(_colonHostRe, _polyfillHost)\n .replace(_colonSlottedRe, _polyfillSlotted);\n return selector;\n};\nconst convertColonRule = (cssText, regExp, partReplacer) => {\n // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n return cssText.replace(regExp, (...m) => {\n if (m[2]) {\n const parts = m[2].split(',');\n const r = [];\n for (let i = 0; i < parts.length; i++) {\n const p = parts[i].trim();\n if (!p)\n break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(',');\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n};\nconst colonHostPartReplacer = (host, part, suffix) => {\n return host + part.replace(_polyfillHost, '') + suffix;\n};\nconst convertColonHost = (cssText) => {\n return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);\n};\nconst colonHostContextPartReplacer = (host, part, suffix) => {\n if (part.indexOf(_polyfillHost) > -1) {\n return colonHostPartReplacer(host, part, suffix);\n }\n else {\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\n }\n};\nconst convertColonSlotted = (cssText, slotScopeId) => {\n const slotClass = '.' + slotScopeId + ' > ';\n const selectors = [];\n cssText = cssText.replace(_cssColonSlottedRe, (...m) => {\n if (m[2]) {\n const compound = m[2].trim();\n const suffix = m[3];\n const slottedSelector = slotClass + compound + suffix;\n let prefixSelector = '';\n for (let i = m[4] - 1; i >= 0; i--) {\n const char = m[5][i];\n if (char === '}' || char === ',') {\n break;\n }\n prefixSelector = char + prefixSelector;\n }\n const orgSelector = prefixSelector + slottedSelector;\n const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;\n if (orgSelector.trim() !== addedSelector.trim()) {\n const updatedSelector = `${addedSelector}, ${orgSelector}`;\n selectors.push({\n orgSelector,\n updatedSelector,\n });\n }\n return slottedSelector;\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n return {\n selectors,\n cssText,\n };\n};\nconst convertColonHostContext = (cssText) => {\n return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);\n};\nconst convertShadowDOMSelectors = (cssText) => {\n return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);\n};\nconst makeScopeMatcher = (scopeSelector) => {\n const lre = /\\[/g;\n const rre = /\\]/g;\n scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n};\nconst selectorNeedsScoping = (selector, scopeSelector) => {\n const re = makeScopeMatcher(scopeSelector);\n return !re.test(selector);\n};\nconst injectScopingSelector = (selector, scopingSelector) => {\n return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {\n return before + scopingSelector + colon + after;\n });\n};\nconst applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {\n // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n const replaceBy = `.${hostSelector}`;\n return selector\n .replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))\n .replace(_polyfillHostRe, replaceBy + ' ');\n }\n return scopeSelector + ' ' + selector;\n};\nconst applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {\n const isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);\n const className = '.' + scopeSelector;\n const _scopeSelectorPart = (p) => {\n let scopedP = p.trim();\n if (!scopedP) {\n return '';\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);\n }\n else {\n // remove :host since it should be unnecessary\n const t = p.replace(_polyfillHostRe, '');\n if (t.length > 0) {\n scopedP = injectScopingSelector(t, className);\n }\n }\n return scopedP;\n };\n const safeContent = safeSelector(selector);\n selector = safeContent.content;\n let scopedSelector = '';\n let startIndex = 0;\n let res;\n const sep = /( |>|\\+|~(?!=))\\s*/g;\n // If a selector appears before :host it should not be shimmed as it\n // matches on ancestor elements and not on elements in the host's shadow\n // `:host-context(div)` is transformed to\n // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n // the `div` is not part of the component in the 2nd selectors and should not be scoped.\n // Historically `component-tag:host` was matching the component so we also want to preserve\n // this behavior to avoid breaking legacy apps (it should not match).\n // The behavior should be:\n // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n // `:host-context(tag)`)\n const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\n let shouldScope = !hasHost;\n while ((res = sep.exec(selector)) !== null) {\n const separator = res[1];\n const part = selector.slice(startIndex, res.index).trim();\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;\n scopedSelector += `${scopedPart} ${separator} `;\n startIndex = sep.lastIndex;\n }\n const part = selector.substring(startIndex);\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n // replace the placeholders with their original values\n return restoreSafeSelector(safeContent.placeholders, scopedSelector);\n};\nconst scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {\n return selector\n .split(',')\n .map((shallowPart) => {\n if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {\n return shallowPart.trim();\n }\n if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {\n return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();\n }\n else {\n return shallowPart.trim();\n }\n })\n .join(', ');\n};\nconst scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {\n return processRules(cssText, (rule) => {\n let selector = rule.selector;\n let content = rule.content;\n if (rule.selector[0] !== '@') {\n selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);\n }\n const cssRule = {\n selector: selector.replace(/\\s{2,}/g, ' ').trim(),\n content,\n };\n return cssRule;\n });\n};\nconst scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {\n cssText = insertPolyfillHostInCssText(cssText);\n cssText = convertColonHost(cssText);\n cssText = convertColonHostContext(cssText);\n const slotted = convertColonSlotted(cssText, slotScopeId);\n cssText = slotted.cssText;\n cssText = convertShadowDOMSelectors(cssText);\n if (scopeId) {\n cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);\n }\n cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);\n cssText = cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm, ' $1 ');\n return {\n cssText: cssText.trim(),\n slottedSelectors: slotted.selectors,\n };\n};\nconst scopeCss = (cssText, scopeId, commentOriginalSelector) => {\n const hostScopeId = scopeId + '-h';\n const slotScopeId = scopeId + '-s';\n const commentsWithHash = extractCommentsWithHash(cssText);\n cssText = stripComments(cssText);\n const orgSelectors = [];\n if (commentOriginalSelector) {\n const processCommentedSelector = (rule) => {\n const placeholder = `/*!@___${orgSelectors.length}___*/`;\n const comment = `/*!@${rule.selector}*/`;\n orgSelectors.push({ placeholder, comment });\n rule.selector = placeholder + rule.selector;\n return rule;\n };\n cssText = processRules(cssText, (rule) => {\n if (rule.selector[0] !== '@') {\n return processCommentedSelector(rule);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n rule.content = processRules(rule.content, processCommentedSelector);\n return rule;\n }\n return rule;\n });\n }\n const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);\n cssText = [scoped.cssText, ...commentsWithHash].join('\\n');\n if (commentOriginalSelector) {\n orgSelectors.forEach(({ placeholder, comment }) => {\n cssText = cssText.replace(placeholder, comment);\n });\n }\n scoped.slottedSelectors.forEach((slottedSelector) => {\n cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);\n });\n return cssText;\n};\n\nexport { scopeCss };\n"]}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
3
3
  */
4
- import{c as o}from"./p-e5cc48b6.js";import{g as t}from"./p-5ca72d4a.js";var r=o((function(o,r){var n=t;var i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Cursor",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.OffsetCursor",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.OffsetPager",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.Pager",null,i);proto.vertexvis.protobuf.core.Pager=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Pager,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Pager.displayName="proto.vertexvis.protobuf.core.Pager"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Pager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Pager.toObject(o,this)};proto.vertexvis.protobuf.core.Pager.toObject=function(o,r){var n={limit:t.Message.getFieldWithDefault(r,1,0),cursor:t.Message.getFieldWithDefault(r,2,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Pager.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Pager;return proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:var n=t.readString();o.setCursor(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Pager.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getLimit();if(r!==0){t.writeUint32(1,r)}r=o.getCursor();if(r.length>0){t.writeString(2,r)}};proto.vertexvis.protobuf.core.Pager.prototype.getLimit=function(){return t.Message.getFieldWithDefault(this,1,0)};proto.vertexvis.protobuf.core.Pager.prototype.setLimit=function(o){t.Message.setProto3IntField(this,1,o)};proto.vertexvis.protobuf.core.Pager.prototype.getCursor=function(){return t.Message.getFieldWithDefault(this,2,"")};proto.vertexvis.protobuf.core.Pager.prototype.setCursor=function(o){t.Message.setProto3StringField(this,2,o)};proto.vertexvis.protobuf.core.OffsetPager=function(o){t.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_)};n.inherits(proto.vertexvis.protobuf.core.OffsetPager,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.OffsetPager.displayName="proto.vertexvis.protobuf.core.OffsetPager"}proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_=[[2,3]];proto.vertexvis.protobuf.core.OffsetPager.PagerCase={PAGER_NOT_SET:0,CURSOR:2,OFFSET:3};proto.vertexvis.protobuf.core.OffsetPager.prototype.getPagerCase=function(){return t.Message.computeOneofCase(this,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0])};if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.OffsetPager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetPager.toObject(o,this)};proto.vertexvis.protobuf.core.OffsetPager.toObject=function(o,r){var n={limit:t.Message.getFieldWithDefault(r,1,0),cursor:t.Message.getFieldWithDefault(r,2,""),offset:t.Message.getFieldWithDefault(r,3,0)};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.OffsetPager.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.OffsetPager;return proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:var n=t.readString();o.setCursor(n);break;case 3:var n=t.readUint32();o.setOffset(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.OffsetPager.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter=function(o,r){var n=undefined;n=o.getLimit();if(n!==0){r.writeUint32(1,n)}n=t.Message.getField(o,2);if(n!=null){r.writeString(2,n)}n=t.Message.getField(o,3);if(n!=null){r.writeUint32(3,n)}};proto.vertexvis.protobuf.core.OffsetPager.prototype.getLimit=function(){return t.Message.getFieldWithDefault(this,1,0)};proto.vertexvis.protobuf.core.OffsetPager.prototype.setLimit=function(o){t.Message.setProto3IntField(this,1,o)};proto.vertexvis.protobuf.core.OffsetPager.prototype.getCursor=function(){return t.Message.getFieldWithDefault(this,2,"")};proto.vertexvis.protobuf.core.OffsetPager.prototype.setCursor=function(o){t.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)};proto.vertexvis.protobuf.core.OffsetPager.prototype.clearCursor=function(){t.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],undefined)};proto.vertexvis.protobuf.core.OffsetPager.prototype.hasCursor=function(){return t.Message.getField(this,2)!=null};proto.vertexvis.protobuf.core.OffsetPager.prototype.getOffset=function(){return t.Message.getFieldWithDefault(this,3,0)};proto.vertexvis.protobuf.core.OffsetPager.prototype.setOffset=function(o){t.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)};proto.vertexvis.protobuf.core.OffsetPager.prototype.clearOffset=function(){t.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],undefined)};proto.vertexvis.protobuf.core.OffsetPager.prototype.hasOffset=function(){return t.Message.getField(this,3)!=null};proto.vertexvis.protobuf.core.Cursor=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Cursor,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Cursor.displayName="proto.vertexvis.protobuf.core.Cursor"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Cursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Cursor.toObject(o,this)};proto.vertexvis.protobuf.core.Cursor.toObject=function(o,r){var n={next:t.Message.getFieldWithDefault(r,1,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Cursor.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Cursor;return proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setNext(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Cursor.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getNext();if(r.length>0){t.writeString(1,r)}};proto.vertexvis.protobuf.core.Cursor.prototype.getNext=function(){return t.Message.getFieldWithDefault(this,1,"")};proto.vertexvis.protobuf.core.Cursor.prototype.setNext=function(o){t.Message.setProto3StringField(this,1,o)};proto.vertexvis.protobuf.core.OffsetCursor=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.OffsetCursor,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.OffsetCursor.displayName="proto.vertexvis.protobuf.core.OffsetCursor"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.OffsetCursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetCursor.toObject(o,this)};proto.vertexvis.protobuf.core.OffsetCursor.toObject=function(o,r){var n={total:t.Message.getFieldWithDefault(r,1,0),next:t.Message.getFieldWithDefault(r,2,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.OffsetCursor;return proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setTotal(n);break;case 2:var n=t.readString();o.setNext(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.OffsetCursor.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getTotal();if(r!==0){t.writeUint32(1,r)}r=o.getNext();if(r.length>0){t.writeString(2,r)}};proto.vertexvis.protobuf.core.OffsetCursor.prototype.getTotal=function(){return t.Message.getFieldWithDefault(this,1,0)};proto.vertexvis.protobuf.core.OffsetCursor.prototype.setTotal=function(o){t.Message.setProto3IntField(this,1,o)};proto.vertexvis.protobuf.core.OffsetCursor.prototype.getNext=function(){return t.Message.getFieldWithDefault(this,2,"")};proto.vertexvis.protobuf.core.OffsetCursor.prototype.setNext=function(o){t.Message.setProto3StringField(this,2,o)};n.object.extend(r,proto.vertexvis.protobuf.core)}));var n=o((function(o,r){var n=t;var i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Uuid",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.Uuid2l",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.UuidArray",null,i);proto.vertexvis.protobuf.core.Uuid=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Uuid,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Uuid.displayName="proto.vertexvis.protobuf.core.Uuid"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Uuid.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid.toObject(o,this)};proto.vertexvis.protobuf.core.Uuid.toObject=function(o,r){var n={hex:t.Message.getFieldWithDefault(r,1,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Uuid.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Uuid;return proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setHex(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Uuid.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getHex();if(r.length>0){t.writeString(1,r)}};proto.vertexvis.protobuf.core.Uuid.prototype.getHex=function(){return t.Message.getFieldWithDefault(this,1,"")};proto.vertexvis.protobuf.core.Uuid.prototype.setHex=function(o){t.Message.setProto3StringField(this,1,o)};proto.vertexvis.protobuf.core.Uuid2l=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Uuid2l,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Uuid2l.displayName="proto.vertexvis.protobuf.core.Uuid2l"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Uuid2l.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid2l.toObject(o,this)};proto.vertexvis.protobuf.core.Uuid2l.toObject=function(o,r){var n={msb:t.Message.getFieldWithDefault(r,1,"0"),lsb:t.Message.getFieldWithDefault(r,2,"0")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Uuid2l.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Uuid2l;return proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readSfixed64String();o.setMsb(n);break;case 2:var n=t.readSfixed64String();o.setLsb(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Uuid2l.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getMsb();if(parseInt(r,10)!==0){t.writeSfixed64String(1,r)}r=o.getLsb();if(parseInt(r,10)!==0){t.writeSfixed64String(2,r)}};proto.vertexvis.protobuf.core.Uuid2l.prototype.getMsb=function(){return t.Message.getFieldWithDefault(this,1,"0")};proto.vertexvis.protobuf.core.Uuid2l.prototype.setMsb=function(o){t.Message.setProto3StringIntField(this,1,o)};proto.vertexvis.protobuf.core.Uuid2l.prototype.getLsb=function(){return t.Message.getFieldWithDefault(this,2,"0")};proto.vertexvis.protobuf.core.Uuid2l.prototype.setLsb=function(o){t.Message.setProto3StringIntField(this,2,o)};proto.vertexvis.protobuf.core.UuidArray=function(o){t.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.UuidArray.repeatedFields_,null)};n.inherits(proto.vertexvis.protobuf.core.UuidArray,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.UuidArray.displayName="proto.vertexvis.protobuf.core.UuidArray"}proto.vertexvis.protobuf.core.UuidArray.repeatedFields_=[1,2];if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.UuidArray.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.UuidArray.toObject(o,this)};proto.vertexvis.protobuf.core.UuidArray.toObject=function(o,r){var n={msbsList:t.Message.getRepeatedField(r,1),lsbsList:t.Message.getRepeatedField(r,2)};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.UuidArray.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.UuidArray;return proto.vertexvis.protobuf.core.UuidArray.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.UuidArray.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readPackedSfixed64String();o.setMsbsList(n);break;case 2:var n=t.readPackedSfixed64String();o.setLsbsList(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.UuidArray.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.UuidArray.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.UuidArray.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getMsbsList();if(r.length>0){t.writePackedSfixed64String(1,r)}r=o.getLsbsList();if(r.length>0){t.writePackedSfixed64String(2,r)}};proto.vertexvis.protobuf.core.UuidArray.prototype.getMsbsList=function(){return t.Message.getRepeatedField(this,1)};proto.vertexvis.protobuf.core.UuidArray.prototype.setMsbsList=function(o){t.Message.setField(this,1,o||[])};proto.vertexvis.protobuf.core.UuidArray.prototype.addMsbs=function(o,r){t.Message.addToRepeatedField(this,1,o,r)};proto.vertexvis.protobuf.core.UuidArray.prototype.clearMsbsList=function(){this.setMsbsList([])};proto.vertexvis.protobuf.core.UuidArray.prototype.getLsbsList=function(){return t.Message.getRepeatedField(this,2)};proto.vertexvis.protobuf.core.UuidArray.prototype.setLsbsList=function(o){t.Message.setField(this,2,o||[])};proto.vertexvis.protobuf.core.UuidArray.prototype.addLsbs=function(o,r){t.Message.addToRepeatedField(this,2,o,r)};proto.vertexvis.protobuf.core.UuidArray.prototype.clearLsbsList=function(){this.setLsbsList([])};n.object.extend(r,proto.vertexvis.protobuf.core)}));class i extends Error{constructor(o,t){super();this.message=o;this.stack=t===null||t===void 0?void 0:t.stack;this.name=this.constructor.name;Object.setPrototypeOf(this,i.prototype)}}class e extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,e.prototype)}}class u extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,u.prototype)}}class s extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,s.prototype)}}class p extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,p.prototype)}}class c extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,c.prototype)}}class f extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,f.prototype)}}class a extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,a.prototype)}}class v extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,v.prototype)}}class h extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,h.prototype)}}export{i as C,e as I,p as S,u as V,c as W,v as a,h as b,a as c,f as d,s as e,r as p,n as u};
5
- //# sourceMappingURL=p-2507658c.js.map
4
+ import{c as o}from"./p-e5cc48b6.js";import{g as t}from"./p-5ca72d4a.js";var r=o((function(o,r){var n=t;var i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Cursor",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.OffsetCursor",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.OffsetPager",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.Pager",null,i);proto.vertexvis.protobuf.core.Pager=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Pager,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Pager.displayName="proto.vertexvis.protobuf.core.Pager"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Pager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Pager.toObject(o,this)};proto.vertexvis.protobuf.core.Pager.toObject=function(o,r){var n={limit:t.Message.getFieldWithDefault(r,1,0),cursor:t.Message.getFieldWithDefault(r,2,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Pager.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Pager;return proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:var n=t.readString();o.setCursor(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Pager.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getLimit();if(r!==0){t.writeUint32(1,r)}r=o.getCursor();if(r.length>0){t.writeString(2,r)}};proto.vertexvis.protobuf.core.Pager.prototype.getLimit=function(){return t.Message.getFieldWithDefault(this,1,0)};proto.vertexvis.protobuf.core.Pager.prototype.setLimit=function(o){t.Message.setProto3IntField(this,1,o)};proto.vertexvis.protobuf.core.Pager.prototype.getCursor=function(){return t.Message.getFieldWithDefault(this,2,"")};proto.vertexvis.protobuf.core.Pager.prototype.setCursor=function(o){t.Message.setProto3StringField(this,2,o)};proto.vertexvis.protobuf.core.OffsetPager=function(o){t.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_)};n.inherits(proto.vertexvis.protobuf.core.OffsetPager,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.OffsetPager.displayName="proto.vertexvis.protobuf.core.OffsetPager"}proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_=[[2,3]];proto.vertexvis.protobuf.core.OffsetPager.PagerCase={PAGER_NOT_SET:0,CURSOR:2,OFFSET:3};proto.vertexvis.protobuf.core.OffsetPager.prototype.getPagerCase=function(){return t.Message.computeOneofCase(this,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0])};if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.OffsetPager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetPager.toObject(o,this)};proto.vertexvis.protobuf.core.OffsetPager.toObject=function(o,r){var n={limit:t.Message.getFieldWithDefault(r,1,0),cursor:t.Message.getFieldWithDefault(r,2,""),offset:t.Message.getFieldWithDefault(r,3,0)};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.OffsetPager.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.OffsetPager;return proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:var n=t.readString();o.setCursor(n);break;case 3:var n=t.readUint32();o.setOffset(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.OffsetPager.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter=function(o,r){var n=undefined;n=o.getLimit();if(n!==0){r.writeUint32(1,n)}n=t.Message.getField(o,2);if(n!=null){r.writeString(2,n)}n=t.Message.getField(o,3);if(n!=null){r.writeUint32(3,n)}};proto.vertexvis.protobuf.core.OffsetPager.prototype.getLimit=function(){return t.Message.getFieldWithDefault(this,1,0)};proto.vertexvis.protobuf.core.OffsetPager.prototype.setLimit=function(o){t.Message.setProto3IntField(this,1,o)};proto.vertexvis.protobuf.core.OffsetPager.prototype.getCursor=function(){return t.Message.getFieldWithDefault(this,2,"")};proto.vertexvis.protobuf.core.OffsetPager.prototype.setCursor=function(o){t.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)};proto.vertexvis.protobuf.core.OffsetPager.prototype.clearCursor=function(){t.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],undefined)};proto.vertexvis.protobuf.core.OffsetPager.prototype.hasCursor=function(){return t.Message.getField(this,2)!=null};proto.vertexvis.protobuf.core.OffsetPager.prototype.getOffset=function(){return t.Message.getFieldWithDefault(this,3,0)};proto.vertexvis.protobuf.core.OffsetPager.prototype.setOffset=function(o){t.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)};proto.vertexvis.protobuf.core.OffsetPager.prototype.clearOffset=function(){t.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],undefined)};proto.vertexvis.protobuf.core.OffsetPager.prototype.hasOffset=function(){return t.Message.getField(this,3)!=null};proto.vertexvis.protobuf.core.Cursor=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Cursor,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Cursor.displayName="proto.vertexvis.protobuf.core.Cursor"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Cursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Cursor.toObject(o,this)};proto.vertexvis.protobuf.core.Cursor.toObject=function(o,r){var n={next:t.Message.getFieldWithDefault(r,1,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Cursor.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Cursor;return proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setNext(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Cursor.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getNext();if(r.length>0){t.writeString(1,r)}};proto.vertexvis.protobuf.core.Cursor.prototype.getNext=function(){return t.Message.getFieldWithDefault(this,1,"")};proto.vertexvis.protobuf.core.Cursor.prototype.setNext=function(o){t.Message.setProto3StringField(this,1,o)};proto.vertexvis.protobuf.core.OffsetCursor=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.OffsetCursor,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.OffsetCursor.displayName="proto.vertexvis.protobuf.core.OffsetCursor"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.OffsetCursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetCursor.toObject(o,this)};proto.vertexvis.protobuf.core.OffsetCursor.toObject=function(o,r){var n={total:t.Message.getFieldWithDefault(r,1,0),next:t.Message.getFieldWithDefault(r,2,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.OffsetCursor;return proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readUint32();o.setTotal(n);break;case 2:var n=t.readString();o.setNext(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.OffsetCursor.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getTotal();if(r!==0){t.writeUint32(1,r)}r=o.getNext();if(r.length>0){t.writeString(2,r)}};proto.vertexvis.protobuf.core.OffsetCursor.prototype.getTotal=function(){return t.Message.getFieldWithDefault(this,1,0)};proto.vertexvis.protobuf.core.OffsetCursor.prototype.setTotal=function(o){t.Message.setProto3IntField(this,1,o)};proto.vertexvis.protobuf.core.OffsetCursor.prototype.getNext=function(){return t.Message.getFieldWithDefault(this,2,"")};proto.vertexvis.protobuf.core.OffsetCursor.prototype.setNext=function(o){t.Message.setProto3StringField(this,2,o)};n.object.extend(r,proto.vertexvis.protobuf.core)}));var n=o((function(o,r){var n=t;var i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Uuid",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.Uuid2l",null,i);n.exportSymbol("proto.vertexvis.protobuf.core.UuidArray",null,i);proto.vertexvis.protobuf.core.Uuid=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Uuid,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Uuid.displayName="proto.vertexvis.protobuf.core.Uuid"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Uuid.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid.toObject(o,this)};proto.vertexvis.protobuf.core.Uuid.toObject=function(o,r){var n={hex:t.Message.getFieldWithDefault(r,1,"")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Uuid.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Uuid;return proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readString();o.setHex(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Uuid.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getHex();if(r.length>0){t.writeString(1,r)}};proto.vertexvis.protobuf.core.Uuid.prototype.getHex=function(){return t.Message.getFieldWithDefault(this,1,"")};proto.vertexvis.protobuf.core.Uuid.prototype.setHex=function(o){t.Message.setProto3StringField(this,1,o)};proto.vertexvis.protobuf.core.Uuid2l=function(o){t.Message.initialize(this,o,0,-1,null,null)};n.inherits(proto.vertexvis.protobuf.core.Uuid2l,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.Uuid2l.displayName="proto.vertexvis.protobuf.core.Uuid2l"}if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.Uuid2l.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid2l.toObject(o,this)};proto.vertexvis.protobuf.core.Uuid2l.toObject=function(o,r){var n={msb:t.Message.getFieldWithDefault(r,1,"0"),lsb:t.Message.getFieldWithDefault(r,2,"0")};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.Uuid2l.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.Uuid2l;return proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readSfixed64String();o.setMsb(n);break;case 2:var n=t.readSfixed64String();o.setLsb(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.Uuid2l.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getMsb();if(parseInt(r,10)!==0){t.writeSfixed64String(1,r)}r=o.getLsb();if(parseInt(r,10)!==0){t.writeSfixed64String(2,r)}};proto.vertexvis.protobuf.core.Uuid2l.prototype.getMsb=function(){return t.Message.getFieldWithDefault(this,1,"0")};proto.vertexvis.protobuf.core.Uuid2l.prototype.setMsb=function(o){t.Message.setProto3StringIntField(this,1,o)};proto.vertexvis.protobuf.core.Uuid2l.prototype.getLsb=function(){return t.Message.getFieldWithDefault(this,2,"0")};proto.vertexvis.protobuf.core.Uuid2l.prototype.setLsb=function(o){t.Message.setProto3StringIntField(this,2,o)};proto.vertexvis.protobuf.core.UuidArray=function(o){t.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.UuidArray.repeatedFields_,null)};n.inherits(proto.vertexvis.protobuf.core.UuidArray,t.Message);if(n.DEBUG&&!COMPILED){proto.vertexvis.protobuf.core.UuidArray.displayName="proto.vertexvis.protobuf.core.UuidArray"}proto.vertexvis.protobuf.core.UuidArray.repeatedFields_=[1,2];if(t.Message.GENERATE_TO_OBJECT){proto.vertexvis.protobuf.core.UuidArray.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.UuidArray.toObject(o,this)};proto.vertexvis.protobuf.core.UuidArray.toObject=function(o,r){var n={msbsList:t.Message.getRepeatedField(r,1),lsbsList:t.Message.getRepeatedField(r,2)};if(o){n.$jspbMessageInstance=r}return n}}proto.vertexvis.protobuf.core.UuidArray.deserializeBinary=function(o){var r=new t.BinaryReader(o);var n=new proto.vertexvis.protobuf.core.UuidArray;return proto.vertexvis.protobuf.core.UuidArray.deserializeBinaryFromReader(n,r)};proto.vertexvis.protobuf.core.UuidArray.deserializeBinaryFromReader=function(o,t){while(t.nextField()){if(t.isEndGroup()){break}var r=t.getFieldNumber();switch(r){case 1:var n=t.readPackedSfixed64String();o.setMsbsList(n);break;case 2:var n=t.readPackedSfixed64String();o.setLsbsList(n);break;default:t.skipField();break}}return o};proto.vertexvis.protobuf.core.UuidArray.prototype.serializeBinary=function(){var o=new t.BinaryWriter;proto.vertexvis.protobuf.core.UuidArray.serializeBinaryToWriter(this,o);return o.getResultBuffer()};proto.vertexvis.protobuf.core.UuidArray.serializeBinaryToWriter=function(o,t){var r=undefined;r=o.getMsbsList();if(r.length>0){t.writePackedSfixed64String(1,r)}r=o.getLsbsList();if(r.length>0){t.writePackedSfixed64String(2,r)}};proto.vertexvis.protobuf.core.UuidArray.prototype.getMsbsList=function(){return t.Message.getRepeatedField(this,1)};proto.vertexvis.protobuf.core.UuidArray.prototype.setMsbsList=function(o){t.Message.setField(this,1,o||[])};proto.vertexvis.protobuf.core.UuidArray.prototype.addMsbs=function(o,r){t.Message.addToRepeatedField(this,1,o,r)};proto.vertexvis.protobuf.core.UuidArray.prototype.clearMsbsList=function(){this.setMsbsList([])};proto.vertexvis.protobuf.core.UuidArray.prototype.getLsbsList=function(){return t.Message.getRepeatedField(this,2)};proto.vertexvis.protobuf.core.UuidArray.prototype.setLsbsList=function(o){t.Message.setField(this,2,o||[])};proto.vertexvis.protobuf.core.UuidArray.prototype.addLsbs=function(o,r){t.Message.addToRepeatedField(this,2,o,r)};proto.vertexvis.protobuf.core.UuidArray.prototype.clearLsbsList=function(){this.setLsbsList([])};n.object.extend(r,proto.vertexvis.protobuf.core)}));class i extends Error{constructor(o,t){super();this.message=o;this.stack=t===null||t===void 0?void 0:t.stack;this.name=this.constructor.name;Object.setPrototypeOf(this,i.prototype)}}class e extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,e.prototype)}}class u extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,u.prototype)}}class s extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,s.prototype)}}class p extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,p.prototype)}}class c extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,c.prototype)}}class f extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,f.prototype)}}class a extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,a.prototype)}}class v extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,v.prototype)}}class h extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,h.prototype)}}class l extends i{constructor(o,t){super(o,t);Object.setPrototypeOf(this,l.prototype)}}export{i as C,e as I,a as M,p as S,u as V,c as W,h as a,l as b,v as c,f as d,s as e,r as p,n as u};
5
+ //# sourceMappingURL=p-ba120f65.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../node_modules/@vertexvis/scene-tree-protos/core/protos/paging_pb.js","../../node_modules/@vertexvis/scene-tree-protos/core/protos/uuid_pb.js","src/lib/errors.ts"],"names":["goog","jspb","global","Function","exportSymbol","proto","vertexvis","protobuf","core","Pager","opt_data","Message","initialize","this","inherits","DEBUG","COMPILED","displayName","GENERATE_TO_OBJECT","prototype","toObject","opt_includeInstance","includeInstance","msg","obj","limit","getFieldWithDefault","cursor","$jspbMessageInstance","deserializeBinary","bytes","reader","BinaryReader","deserializeBinaryFromReader","nextField","isEndGroup","field","getFieldNumber","value","readUint32","setLimit","readString","setCursor","skipField","serializeBinary","writer","BinaryWriter","serializeBinaryToWriter","getResultBuffer","message","f","undefined","getLimit","writeUint32","getCursor","length","writeString","setProto3IntField","setProto3StringField","OffsetPager","oneofGroups_","PagerCase","PAGER_NOT_SET","CURSOR","OFFSET","getPagerCase","computeOneofCase","offset","setOffset","getField","setOneofField","clearCursor","hasCursor","getOffset","clearOffset","hasOffset","Cursor","next","setNext","getNext","OffsetCursor","total","setTotal","getTotal","object","extend","exports","Uuid","hex","setHex","getHex","Uuid2l","msb","lsb","readSfixed64String","setMsb","setLsb","getMsb","parseInt","writeSfixed64String","getLsb","setProto3StringIntField","UuidArray","repeatedFields_","msbsList","getRepeatedField","lsbsList","readPackedSfixed64String","setMsbsList","setLsbsList","getMsbsList","writePackedSfixed64String","getLsbsList","setField","addMsbs","opt_index","addToRepeatedField","clearMsbsList","addLsbs","clearLsbsList","CustomError","Error","[object Object]","e","super","stack","name","constructor","Object","setPrototypeOf","InvalidResourceUrnError","ViewerInitializationError","ComponentInitializationError","SceneRenderError","WebsocketConnectionError","InteractionHandlerError","MissingJWTError","ImageLoadError","InvalidArgumentError","InvalidCameraError"],"mappings":";;;+FAUA,IAAIA,EAAOC,EACX,IAAIC,EAASC,SAAS,cAATA,GAEbH,EAAKI,aAAa,uCAAwC,KAAMF,GAChEF,EAAKI,aAAa,6CAA8C,KAAMF,GACtEF,EAAKI,aAAa,4CAA6C,KAAMF,GACrEF,EAAKI,aAAa,sCAAuC,KAAMF,GAY/DG,MAAMC,UAAUC,SAASC,KAAKC,MAAQ,SAASC,GAC7CT,EAAKU,QAAQC,WAAWC,KAAMH,EAAU,GAAI,EAAG,KAAM,OAEvDV,EAAKc,SAAST,MAAMC,UAAUC,SAASC,KAAKC,MAAOR,EAAKU,SACxD,GAAIX,EAAKe,QAAUC,SAAU,CAC3BX,MAAMC,UAAUC,SAASC,KAAKC,MAAMQ,YAAc,sCAIpD,GAAIhB,EAAKU,QAAQO,mBAAoB,CAWrCb,MAAMC,UAAUC,SAASC,KAAKC,MAAMU,UAAUC,SAAW,SAASC,GAChE,OAAOhB,MAAMC,UAAUC,SAASC,KAAKC,MAAMW,SAASC,EAAqBR,OAa3ER,MAAMC,UAAUC,SAASC,KAAKC,MAAMW,SAAW,SAASE,EAAiBC,GACzE,IAASC,EAAM,CACXC,MAAOxB,EAAKU,QAAQe,oBAAoBH,EAAK,EAAG,GAChDI,OAAQ1B,EAAKU,QAAQe,oBAAoBH,EAAK,EAAG,KAGnD,GAAID,EAAiB,CACnBE,EAAII,qBAAuBL,EAE7B,OAAOC,GAUTnB,MAAMC,UAAUC,SAASC,KAAKC,MAAMoB,k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kBAsB/B+G,UAAgCV,EAC3CE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAMqH,EAAwB/G,kBAI3CgH,UAAkCX,EAC7CE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAMsH,EAA0BhH,kBAI7CiH,UAAqCZ,EAChDE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAMuH,EAA6BjH,kBAIhDkH,UAAyBb,EACpCE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAMwH,EAAiBlH,kBAapCmH,UAAiCd,EAC5CE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAMyH,EAAyBnH,kBAI5CoH,UAAgCf,EAC3CE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAM0H,EAAwBpH,kBAI3CqH,UAAwBhB,EACnCE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAM2H,EAAgBrH,kBAInCsH,UAAuBjB,EAClCE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAM4H,EAAetH,kBAsBlCuH,UAA6BlB,EACxCE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAM6H,EAAqBvH,kBAIxCwH,UAA2BnB,EACtCE,YAAmBzE,EAAiB0E,GAClCC,MAAM3E,EAAS0E,GAGfK,OAAOC,eAAepH,KAAM8H,EAAmBxH","sourcesContent":["/**\n * @fileoverview\n * @enhanceable\n * @suppress {messageConventions} JS Compiler reports an error if a variable or\n * field starts with 'MSG_' and isn't a translatable message.\n * @public\n */\n// GENERATED CODE -- DO NOT EDIT!\n\nvar jspb = require('google-protobuf');\nvar goog = jspb;\nvar global = Function('return this')();\n\ngoog.exportSymbol('proto.vertexvis.protobuf.core.Cursor', null, global);\ngoog.exportSymbol('proto.vertexvis.protobuf.core.OffsetCursor', null, global);\ngoog.exportSymbol('proto.vertexvis.protobuf.core.OffsetPager', null, global);\ngoog.exportSymbol('proto.vertexvis.protobuf.core.Pager', null, global);\n\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.vertexvis.protobuf.core.Pager = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.vertexvis.protobuf.core.Pager, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n proto.vertexvis.protobuf.core.Pager.displayName = 'proto.vertexvis.protobuf.core.Pager';\n}\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto suitable for use in Soy templates.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.\n * @param {boolean=} opt_includeInstance Whether to include the JSPB instance\n * for transitional soy proto support: http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.vertexvis.protobuf.core.Pager.prototype.toObject = function(opt_includeInstance) {\n return proto.vertexvis.protobuf.core.Pager.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Whether to include the JSPB\n * instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.vertexvis.protobuf.core.Pager} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Pager.toObject = function(includeInstance, msg) {\n var f, obj = {\n limit: jspb.Message.getFieldWithDefault(msg, 1, 0),\n cursor: jspb.Message.getFieldWithDefault(msg, 2, \"\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.vertexvis.protobuf.core.Pager}\n */\nproto.vertexvis.protobuf.core.Pager.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.vertexvis.protobuf.core.Pager;\n return proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.vertexvis.protobuf.core.Pager} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.vertexvis.protobuf.core.Pager}\n */\nproto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {number} */ (reader.readUint32());\n msg.setLimit(value);\n break;\n case 2:\n var value = /** @type {string} */ (reader.readString());\n msg.setCursor(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.vertexvis.protobuf.core.Pager.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.vertexvis.protobuf.core.Pager} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getLimit();\n if (f !== 0) {\n writer.writeUint32(\n 1,\n f\n );\n }\n f = message.getCursor();\n if (f.length > 0) {\n writer.writeString(\n 2,\n f\n );\n }\n};\n\n\n/**\n * optional uint32 limit = 1;\n * @return {number}\n */\nproto.vertexvis.protobuf.core.Pager.prototype.getLimit = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));\n};\n\n\n/** @param {number} value */\nproto.vertexvis.protobuf.core.Pager.prototype.setLimit = function(value) {\n jspb.Message.setProto3IntField(this, 1, value);\n};\n\n\n/**\n * optional string cursor = 2;\n * @return {string}\n */\nproto.vertexvis.protobuf.core.Pager.prototype.getCursor = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, \"\"));\n};\n\n\n/** @param {string} value */\nproto.vertexvis.protobuf.core.Pager.prototype.setCursor = function(value) {\n jspb.Message.setProto3StringField(this, 2, value);\n};\n\n\n\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.vertexvis.protobuf.core.OffsetPager = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_);\n};\ngoog.inherits(proto.vertexvis.protobuf.core.OffsetPager, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n proto.vertexvis.protobuf.core.OffsetPager.displayName = 'proto.vertexvis.protobuf.core.OffsetPager';\n}\n/**\n * Oneof group definitions for this message. Each group defines the field\n * numbers belonging to that group. When of these fields' value is set, all\n * other fields in the group are cleared. During deserialization, if multiple\n * fields are encountered for a group, only the last value seen will be kept.\n * @private {!Array<!Array<number>>}\n * @const\n */\nproto.vertexvis.protobuf.core.OffsetPager.oneofGroups_ = [[2,3]];\n\n/**\n * @enum {number}\n */\nproto.vertexvis.protobuf.core.OffsetPager.PagerCase = {\n PAGER_NOT_SET: 0,\n CURSOR: 2,\n OFFSET: 3\n};\n\n/**\n * @return {proto.vertexvis.protobuf.core.OffsetPager.PagerCase}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.getPagerCase = function() {\n return /** @type {proto.vertexvis.protobuf.core.OffsetPager.PagerCase} */(jspb.Message.computeOneofCase(this, proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0]));\n};\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto suitable for use in Soy templates.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.\n * @param {boolean=} opt_includeInstance Whether to include the JSPB instance\n * for transitional soy proto support: http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.toObject = function(opt_includeInstance) {\n return proto.vertexvis.protobuf.core.OffsetPager.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Whether to include the JSPB\n * instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.vertexvis.protobuf.core.OffsetPager} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.OffsetPager.toObject = function(includeInstance, msg) {\n var f, obj = {\n limit: jspb.Message.getFieldWithDefault(msg, 1, 0),\n cursor: jspb.Message.getFieldWithDefault(msg, 2, \"\"),\n offset: jspb.Message.getFieldWithDefault(msg, 3, 0)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.vertexvis.protobuf.core.OffsetPager}\n */\nproto.vertexvis.protobuf.core.OffsetPager.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.vertexvis.protobuf.core.OffsetPager;\n return proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.vertexvis.protobuf.core.OffsetPager} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.vertexvis.protobuf.core.OffsetPager}\n */\nproto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {number} */ (reader.readUint32());\n msg.setLimit(value);\n break;\n case 2:\n var value = /** @type {string} */ (reader.readString());\n msg.setCursor(value);\n break;\n case 3:\n var value = /** @type {number} */ (reader.readUint32());\n msg.setOffset(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.vertexvis.protobuf.core.OffsetPager} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getLimit();\n if (f !== 0) {\n writer.writeUint32(\n 1,\n f\n );\n }\n f = /** @type {string} */ (jspb.Message.getField(message, 2));\n if (f != null) {\n writer.writeString(\n 2,\n f\n );\n }\n f = /** @type {number} */ (jspb.Message.getField(message, 3));\n if (f != null) {\n writer.writeUint32(\n 3,\n f\n );\n }\n};\n\n\n/**\n * optional uint32 limit = 1;\n * @return {number}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.getLimit = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));\n};\n\n\n/** @param {number} value */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.setLimit = function(value) {\n jspb.Message.setProto3IntField(this, 1, value);\n};\n\n\n/**\n * optional string cursor = 2;\n * @return {string}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.getCursor = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, \"\"));\n};\n\n\n/** @param {string} value */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.setCursor = function(value) {\n jspb.Message.setOneofField(this, 2, proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0], value);\n};\n\n\nproto.vertexvis.protobuf.core.OffsetPager.prototype.clearCursor = function() {\n jspb.Message.setOneofField(this, 2, proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0], undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {!boolean}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.hasCursor = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n/**\n * optional uint32 offset = 3;\n * @return {number}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.getOffset = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));\n};\n\n\n/** @param {number} value */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.setOffset = function(value) {\n jspb.Message.setOneofField(this, 3, proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0], value);\n};\n\n\nproto.vertexvis.protobuf.core.OffsetPager.prototype.clearOffset = function() {\n jspb.Message.setOneofField(this, 3, proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0], undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {!boolean}\n */\nproto.vertexvis.protobuf.core.OffsetPager.prototype.hasOffset = function() {\n return jspb.Message.getField(this, 3) != null;\n};\n\n\n\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.vertexvis.protobuf.core.Cursor = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.vertexvis.protobuf.core.Cursor, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n proto.vertexvis.protobuf.core.Cursor.displayName = 'proto.vertexvis.protobuf.core.Cursor';\n}\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto suitable for use in Soy templates.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.\n * @param {boolean=} opt_includeInstance Whether to include the JSPB instance\n * for transitional soy proto support: http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.vertexvis.protobuf.core.Cursor.prototype.toObject = function(opt_includeInstance) {\n return proto.vertexvis.protobuf.core.Cursor.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Whether to include the JSPB\n * instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.vertexvis.protobuf.core.Cursor} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Cursor.toObject = function(includeInstance, msg) {\n var f, obj = {\n next: jspb.Message.getFieldWithDefault(msg, 1, \"\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.vertexvis.protobuf.core.Cursor}\n */\nproto.vertexvis.protobuf.core.Cursor.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.vertexvis.protobuf.core.Cursor;\n return proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.vertexvis.protobuf.core.Cursor} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.vertexvis.protobuf.core.Cursor}\n */\nproto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readString());\n msg.setNext(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.vertexvis.protobuf.core.Cursor.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.vertexvis.protobuf.core.Cursor} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getNext();\n if (f.length > 0) {\n writer.writeString(\n 1,\n f\n );\n }\n};\n\n\n/**\n * optional string next = 1;\n * @return {string}\n */\nproto.vertexvis.protobuf.core.Cursor.prototype.getNext = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"\"));\n};\n\n\n/** @param {string} value */\nproto.vertexvis.protobuf.core.Cursor.prototype.setNext = function(value) {\n jspb.Message.setProto3StringField(this, 1, value);\n};\n\n\n\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.vertexvis.protobuf.core.OffsetCursor = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.vertexvis.protobuf.core.OffsetCursor, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n proto.vertexvis.protobuf.core.OffsetCursor.displayName = 'proto.vertexvis.protobuf.core.OffsetCursor';\n}\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto suitable for use in Soy templates.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.\n * @param {boolean=} opt_includeInstance Whether to include the JSPB instance\n * for transitional soy proto support: http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.vertexvis.protobuf.core.OffsetCursor.prototype.toObject = function(opt_includeInstance) {\n return proto.vertexvis.protobuf.core.OffsetCursor.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Whether to include the JSPB\n * instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.vertexvis.protobuf.core.OffsetCursor} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.OffsetCursor.toObject = function(includeInstance, msg) {\n var f, obj = {\n total: jspb.Message.getFieldWithDefault(msg, 1, 0),\n next: jspb.Message.getFieldWithDefault(msg, 2, \"\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.vertexvis.protobuf.core.OffsetCursor}\n */\nproto.vertexvis.protobuf.core.OffsetCursor.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.vertexvis.protobuf.core.OffsetCursor;\n return proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.vertexvis.protobuf.core.OffsetCursor} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.vertexvis.protobuf.core.OffsetCursor}\n */\nproto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {number} */ (reader.readUint32());\n msg.setTotal(value);\n break;\n case 2:\n var value = /** @type {string} */ (reader.readString());\n msg.setNext(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.vertexvis.protobuf.core.OffsetCursor.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.vertexvis.protobuf.core.OffsetCursor} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getTotal();\n if (f !== 0) {\n writer.writeUint32(\n 1,\n f\n );\n }\n f = message.getNext();\n if (f.length > 0) {\n writer.writeString(\n 2,\n f\n );\n }\n};\n\n\n/**\n * optional uint32 total = 1;\n * @return {number}\n */\nproto.vertexvis.protobuf.core.OffsetCursor.prototype.getTotal = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));\n};\n\n\n/** @param {number} value */\nproto.vertexvis.protobuf.core.OffsetCursor.prototype.setTotal = function(value) {\n jspb.Message.setProto3IntField(this, 1, value);\n};\n\n\n/**\n * optional string next = 2;\n * @return {string}\n */\nproto.vertexvis.protobuf.core.OffsetCursor.prototype.getNext = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, \"\"));\n};\n\n\n/** @param {string} value */\nproto.vertexvis.protobuf.core.OffsetCursor.prototype.setNext = function(value) {\n jspb.Message.setProto3StringField(this, 2, value);\n};\n\n\ngoog.object.extend(exports, proto.vertexvis.protobuf.core);\n","/**\n * @fileoverview\n * @enhanceable\n * @suppress {messageConventions} JS Compiler reports an error if a variable or\n * field starts with 'MSG_' and isn't a translatable message.\n * @public\n */\n// GENERATED CODE -- DO NOT EDIT!\n\nvar jspb = require('google-protobuf');\nvar goog = jspb;\nvar global = Function('return this')();\n\ngoog.exportSymbol('proto.vertexvis.protobuf.core.Uuid', null, global);\ngoog.exportSymbol('proto.vertexvis.protobuf.core.Uuid2l', null, global);\ngoog.exportSymbol('proto.vertexvis.protobuf.core.UuidArray', null, global);\n\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.vertexvis.protobuf.core.Uuid = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.vertexvis.protobuf.core.Uuid, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n proto.vertexvis.protobuf.core.Uuid.displayName = 'proto.vertexvis.protobuf.core.Uuid';\n}\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto suitable for use in Soy templates.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.\n * @param {boolean=} opt_includeInstance Whether to include the JSPB instance\n * for transitional soy proto support: http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.vertexvis.protobuf.core.Uuid.prototype.toObject = function(opt_includeInstance) {\n return proto.vertexvis.protobuf.core.Uuid.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Whether to include the JSPB\n * instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.vertexvis.protobuf.core.Uuid} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Uuid.toObject = function(includeInstance, msg) {\n var f, obj = {\n hex: jspb.Message.getFieldWithDefault(msg, 1, \"\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.vertexvis.protobuf.core.Uuid}\n */\nproto.vertexvis.protobuf.core.Uuid.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.vertexvis.protobuf.core.Uuid;\n return proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.vertexvis.protobuf.core.Uuid} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.vertexvis.protobuf.core.Uuid}\n */\nproto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readString());\n msg.setHex(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.vertexvis.protobuf.core.Uuid.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.vertexvis.protobuf.core.Uuid} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getHex();\n if (f.length > 0) {\n writer.writeString(\n 1,\n f\n );\n }\n};\n\n\n/**\n * optional string hex = 1;\n * @return {string}\n */\nproto.vertexvis.protobuf.core.Uuid.prototype.getHex = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"\"));\n};\n\n\n/** @param {string} value */\nproto.vertexvis.protobuf.core.Uuid.prototype.setHex = function(value) {\n jspb.Message.setProto3StringField(this, 1, value);\n};\n\n\n\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.vertexvis.protobuf.core.Uuid2l = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.vertexvis.protobuf.core.Uuid2l, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n proto.vertexvis.protobuf.core.Uuid2l.displayName = 'proto.vertexvis.protobuf.core.Uuid2l';\n}\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto suitable for use in Soy templates.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.\n * @param {boolean=} opt_includeInstance Whether to include the JSPB instance\n * for transitional soy proto support: http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.vertexvis.protobuf.core.Uuid2l.prototype.toObject = function(opt_includeInstance) {\n return proto.vertexvis.protobuf.core.Uuid2l.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Whether to include the JSPB\n * instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.vertexvis.protobuf.core.Uuid2l} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Uuid2l.toObject = function(includeInstance, msg) {\n var f, obj = {\n msb: jspb.Message.getFieldWithDefault(msg, 1, \"0\"),\n lsb: jspb.Message.getFieldWithDefault(msg, 2, \"0\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.vertexvis.protobuf.core.Uuid2l}\n */\nproto.vertexvis.protobuf.core.Uuid2l.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.vertexvis.protobuf.core.Uuid2l;\n return proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.vertexvis.protobuf.core.Uuid2l} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.vertexvis.protobuf.core.Uuid2l}\n */\nproto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readSfixed64String());\n msg.setMsb(value);\n break;\n case 2:\n var value = /** @type {string} */ (reader.readSfixed64String());\n msg.setLsb(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.vertexvis.protobuf.core.Uuid2l.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.vertexvis.protobuf.core.Uuid2l} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getMsb();\n if (parseInt(f, 10) !== 0) {\n writer.writeSfixed64String(\n 1,\n f\n );\n }\n f = message.getLsb();\n if (parseInt(f, 10) !== 0) {\n writer.writeSfixed64String(\n 2,\n f\n );\n }\n};\n\n\n/**\n * optional sfixed64 msb = 1;\n * @return {string}\n */\nproto.vertexvis.protobuf.core.Uuid2l.prototype.getMsb = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"0\"));\n};\n\n\n/** @param {string} value */\nproto.vertexvis.protobuf.core.Uuid2l.prototype.setMsb = function(value) {\n jspb.Message.setProto3StringIntField(this, 1, value);\n};\n\n\n/**\n * optional sfixed64 lsb = 2;\n * @return {string}\n */\nproto.vertexvis.protobuf.core.Uuid2l.prototype.getLsb = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, \"0\"));\n};\n\n\n/** @param {string} value */\nproto.vertexvis.protobuf.core.Uuid2l.prototype.setLsb = function(value) {\n jspb.Message.setProto3StringIntField(this, 2, value);\n};\n\n\n\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.vertexvis.protobuf.core.UuidArray = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, proto.vertexvis.protobuf.core.UuidArray.repeatedFields_, null);\n};\ngoog.inherits(proto.vertexvis.protobuf.core.UuidArray, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n proto.vertexvis.protobuf.core.UuidArray.displayName = 'proto.vertexvis.protobuf.core.UuidArray';\n}\n/**\n * List of repeated fields within this message type.\n * @private {!Array<number>}\n * @const\n */\nproto.vertexvis.protobuf.core.UuidArray.repeatedFields_ = [1,2];\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto suitable for use in Soy templates.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.\n * @param {boolean=} opt_includeInstance Whether to include the JSPB instance\n * for transitional soy proto support: http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.vertexvis.protobuf.core.UuidArray.prototype.toObject = function(opt_includeInstance) {\n return proto.vertexvis.protobuf.core.UuidArray.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Whether to include the JSPB\n * instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.vertexvis.protobuf.core.UuidArray} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.UuidArray.toObject = function(includeInstance, msg) {\n var f, obj = {\n msbsList: jspb.Message.getRepeatedField(msg, 1),\n lsbsList: jspb.Message.getRepeatedField(msg, 2)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.vertexvis.protobuf.core.UuidArray}\n */\nproto.vertexvis.protobuf.core.UuidArray.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.vertexvis.protobuf.core.UuidArray;\n return proto.vertexvis.protobuf.core.UuidArray.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.vertexvis.protobuf.core.UuidArray} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.vertexvis.protobuf.core.UuidArray}\n */\nproto.vertexvis.protobuf.core.UuidArray.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {!Array<string>} */ (reader.readPackedSfixed64String());\n msg.setMsbsList(value);\n break;\n case 2:\n var value = /** @type {!Array<string>} */ (reader.readPackedSfixed64String());\n msg.setLsbsList(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.vertexvis.protobuf.core.UuidArray.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.vertexvis.protobuf.core.UuidArray.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.vertexvis.protobuf.core.UuidArray} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.vertexvis.protobuf.core.UuidArray.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getMsbsList();\n if (f.length > 0) {\n writer.writePackedSfixed64String(\n 1,\n f\n );\n }\n f = message.getLsbsList();\n if (f.length > 0) {\n writer.writePackedSfixed64String(\n 2,\n f\n );\n }\n};\n\n\n/**\n * repeated sfixed64 msbs = 1;\n * @return {!Array<string>}\n */\nproto.vertexvis.protobuf.core.UuidArray.prototype.getMsbsList = function() {\n return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));\n};\n\n\n/** @param {!Array<string>} value */\nproto.vertexvis.protobuf.core.UuidArray.prototype.setMsbsList = function(value) {\n jspb.Message.setField(this, 1, value || []);\n};\n\n\n/**\n * @param {!string} value\n * @param {number=} opt_index\n */\nproto.vertexvis.protobuf.core.UuidArray.prototype.addMsbs = function(value, opt_index) {\n jspb.Message.addToRepeatedField(this, 1, value, opt_index);\n};\n\n\nproto.vertexvis.protobuf.core.UuidArray.prototype.clearMsbsList = function() {\n this.setMsbsList([]);\n};\n\n\n/**\n * repeated sfixed64 lsbs = 2;\n * @return {!Array<string>}\n */\nproto.vertexvis.protobuf.core.UuidArray.prototype.getLsbsList = function() {\n return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));\n};\n\n\n/** @param {!Array<string>} value */\nproto.vertexvis.protobuf.core.UuidArray.prototype.setLsbsList = function(value) {\n jspb.Message.setField(this, 2, value || []);\n};\n\n\n/**\n * @param {!string} value\n * @param {number=} opt_index\n */\nproto.vertexvis.protobuf.core.UuidArray.prototype.addLsbs = function(value, opt_index) {\n jspb.Message.addToRepeatedField(this, 2, value, opt_index);\n};\n\n\nproto.vertexvis.protobuf.core.UuidArray.prototype.clearLsbsList = function() {\n this.setLsbsList([]);\n};\n\n\ngoog.object.extend(exports, proto.vertexvis.protobuf.core);\n","export class CustomError extends Error {\n public constructor(message: string, e?: Error) {\n super();\n\n this.message = message;\n this.stack = e?.stack;\n this.name = this.constructor.name;\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, CustomError.prototype);\n }\n}\n\nexport class ExpiredCredentialsError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, ExpiredCredentialsError.prototype);\n }\n}\n\nexport class InvalidCredentialsError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, InvalidCredentialsError.prototype);\n }\n}\n\nexport class InvalidResourceUrnError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, InvalidResourceUrnError.prototype);\n }\n}\n\nexport class ViewerInitializationError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, ViewerInitializationError.prototype);\n }\n}\n\nexport class ComponentInitializationError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, ComponentInitializationError.prototype);\n }\n}\n\nexport class SceneRenderError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, SceneRenderError.prototype);\n }\n}\n\nexport class UnsupportedOperationError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, UnsupportedOperationError.prototype);\n }\n}\n\nexport class WebsocketConnectionError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, WebsocketConnectionError.prototype);\n }\n}\n\nexport class InteractionHandlerError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, InteractionHandlerError.prototype);\n }\n}\n\nexport class MissingJWTError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, MissingJWTError.prototype);\n }\n}\n\nexport class ImageLoadError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, ImageLoadError.prototype);\n }\n}\n\nexport class IllegalStateError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, IllegalStateError.prototype);\n }\n}\n\nexport class NoImplementationFoundError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, NoImplementationFoundError.prototype);\n }\n}\n\nexport class InvalidArgumentError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, InvalidArgumentError.prototype);\n }\n}\n\nexport class InvalidCameraError extends CustomError {\n public constructor(message: string, e?: Error) {\n super(message, e);\n\n // Allows for `instanceof` checks.\n Object.setPrototypeOf(this, InvalidCameraError.prototype);\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
3
+ */
4
+ import{c as e,u as t,a as s,b as n}from"./p-6b00f7cd.js";import{I as i,a as r,b as a}from"./p-ba120f65.js";import{u as o,s as u,p as c,r as h}from"./p-7af4e8a6.js";import{w as l}from"./p-5ca72d4a.js";import{r as d,c as p}from"./p-3a522068.js";import{m as w,a as v,b as f}from"./p-e3945092.js";import{b as m,v as y,m as b,q as x,r as I,a as g,p as O,d as j}from"./p-9d26f24e.js";import{i as S,t as B,v as E,L as R,w as A,h as V,f as T,j as q,u as k,e as C}from"./p-e656bd4c.js";import"./p-0d971ad6.js";import{t as P}from"./p-3060996e.js";const M={opacity:255,glossiness:4,diffuse:{r:0,g:0,b:0,a:0},ambient:{r:0,g:0,b:0,a:0},specular:{r:0,g:0,b:0,a:0},emissive:{r:0,g:0,b:0,a:0}};const _=(e,t,s,n)=>Object.assign(Object.assign({},M),{opacity:n!==null&&n!==void 0?n:M.opacity,diffuse:{r:e,g:t,b:s,a:0}});const D=(t,s)=>{const n=e.fromHexString(t);return Object.assign(Object.assign({},M),{opacity:s!==null&&s!==void 0?s:M.opacity,diffuse:n!=null?Object.assign({},n):Object.assign({},M.diffuse)})};const U=Object.freeze({__proto__:null,defaultColor:M,create:_,fromHex:D});function F(e){var s;const n=t.parse(e);if(n.scheme!=="urn"||n.path==null){throw new Error("Invalid URN. Expected URN scheme.")}const[r,a,o,...u]=n.path.split(/[:/]/);if(r!=="vertexvis"&&r!=="vertex"){throw new Error("Invalid URN. Expected URN to be vertex namespace")}if(r==="vertexvis"){console.warn("vertexvis namespace is deprecated. Use 'vertex' for the namespace urn instead")}switch(a){case"stream-key":const e=N(n.query);const t=(s=z(u.join("/")))!==null&&s!==void 0?s:e.find((e=>e.type==="scene-view-state"));return{resource:{type:"stream-key",id:o},subResource:t,queries:e.filter((e=>e.type!=="scene-view-state"))};default:throw new i(`Invalid URN. Unknown resource type ${a}`)}}function z(e){if(e!=null){const[t,s]=e.split("/");switch(t){case"scene-view-states":return{type:"scene-view-state",id:s};default:return undefined}}}function N(e){if(e!=null){return e.split("&").map((e=>{const[t,s]=e.split("=");switch(t){case"supplied-id":return{type:"supplied-id",id:s};case"scene-view-state":return{type:"scene-view-state",id:s};default:throw new Error("Invalid URN. Unknown query value type")}}))}else{return[]}}const H=Object.freeze({__proto__:null,fromUrn:F});function L(e){return e.id!=null}function Q(e){return e.suppliedId!=null}const Y=Object.freeze({__proto__:null,isSceneViewStateId:L,isSceneViewStateSuppliedId:Q});class W{constructor(e,t=new Date){this.knownRemoteTime=e;this.knownLocalTime=t}localOffset(){return this.duration(this.knownLocalTime,this.localNow())}localTime(e){const t=typeof e==="number"?new Date(this.knownLocalTime.getTime()+e):e;const s=this.duration(this.knownRemoteTime,t);return this.addDuration(this.knownLocalTime,s)}remoteOffset(e=new Date){return this.duration(this.remoteTime(this.knownLocalTime),this.remoteTime(e))}remoteNow(){return this.remoteTime(this.localNow())}remoteTime(e){const t=typeof e==="number"?new Date(this.knownLocalTime.getTime()+e):e;const s=this.duration(this.knownLocalTime,t);return this.addDuration(this.knownRemoteTime,s)}addDuration(e,t){return new Date(e.getTime()+t)}duration(e,t){return t.getTime()-e.getTime()}localNow(){return new Date(Date.now())}}function $(e){const t=s.toMsbLsb(e);const n=new o.Uuid2l;n.setMsb(t.msb);n.setLsb(t.lsb);return n}class G{constructor(e,t,s,n){this.client=e;this.stream=t;this.jwtProvider=s;this.deviceIdProvider=n}async listByItem(e,{hasAnnotations:t,cursor:s,size:n=50}={}){const i=await d((async i=>{const r=this.deviceIdProvider();const a=await p(this.jwtProvider,r);const o=new u.ListItemModelViewsRequest;const h=$(e);o.setItemId(h);if(t!=null){const e=new l.BoolValue;e.setValue(t);o.setHasAnnotations(e)}const d=new c.Pager;d.setLimit(n);if(s!=null){d.setCursor(s)}o.setPage(d);this.client.listItemModelViews(o,a,i)}));return w(i.toObject())}async load(e,t){const s=v({modelViewId:t,sceneItemId:e});this.stream.updateModelView({itemModelView:s},true)}async unload(){await this.stream.updateModelView({},true);await this.stream.updateCrossSectioning({crossSectioning:{sectionPlanes:[]}},true)}}class J{constructor(e,t,s){this.client=e;this.jwtProvider=t;this.deviceIdProvider=s}async listAnnotations({modelViewId:e,cursor:t,size:s=50}={}){const n=await d((async n=>{const i=this.deviceIdProvider();const r=await p(this.jwtProvider,i);const a=new u.ListPmiAnnotationsRequest;if(e!=null){const t=$(e);a.setModelViewId(t)}const o=new c.Pager;o.setLimit(s);if(t!=null){o.setCursor(t)}a.setPage(o);this.client.listPmiAnnotations(a,r,n)}));return f(n.toObject())}}const K=1e3*10;class X{constructor(e,t,s,n=K){this.stream=e;this.predicate=t;this.transform=s;this.timeout=n;this.listeners=[];this.handleMessage=this.handleMessage.bind(this)}on(e){this.listeners=[...this.listeners,e];if(this.eventDisposable==null||this.requestDisposable==null){this.addListeners()}}off(e){this.listeners=this.listeners.filter((t=>t!==e));if(this.listeners.length===0){this.removeListeners()}}once(){let e;return n.timeout(this.timeout,new Promise((t=>{e=s=>{t(s);this.off(e)};this.on(e)}))).finally((()=>{this.off(e)}))}handleMessage(e){if(this.predicate(e)){const t=this.transform(e);if(t!=null){this.listeners.forEach((e=>e(t)))}}}addListeners(){this.eventDisposable=this.stream.onEvent(this.handleMessage);this.requestDisposable=this.stream.onRequest(this.handleMessage)}removeListeners(){var e,t;(e=this.eventDisposable)===null||e===void 0?void 0:e.dispose();(t=this.requestDisposable)===null||t===void 0?void 0:t.dispose()}}class Z{constructor(e,t,{animationId:s,correlationId:n},i){this.data=undefined;this.onAnimationCompleted=new X(e,(e=>{var t,n,i;return((i=(n=(t=e.event)===null||t===void 0?void 0:t.animationCompleted)===null||n===void 0?void 0:n.animationId)===null||i===void 0?void 0:i.hex)===s}),(e=>{var t,s,n;return((n=(s=(t=e.event)===null||t===void 0?void 0:t.animationCompleted)===null||s===void 0?void 0:s.animationId)===null||n===void 0?void 0:n.hex)||undefined}),i);this.onFrameReceived=new X(e,(e=>{var t,s,i;return!!((i=(s=(t=e.request)===null||t===void 0?void 0:t.drawFrame)===null||s===void 0?void 0:s.frameCorrelationIds)===null||i===void 0?void 0:i.some((e=>e===n)))}),(e=>{var s;return((s=e.request)===null||s===void 0?void 0:s.drawFrame)!=null?t(e.request.drawFrame):undefined}),i)}}function ee(e){if(typeof e==="string"){return{sceneViewStateId:{hex:e}}}else if(L(e)){return{sceneViewStateId:{hex:e.id}}}else if(Q(e)){return{sceneViewStateSuppliedId:{value:e.suppliedId}}}else{throw new Error("Unable to build scene view state identifier, input must be a string or `SceneViewStateIdentifier`.")}}function te(e,t){switch(e.type){case"and":case"or":return{operand:{itemCollection:{queries:e.expressions.map((e=>({sceneItemQuery:re(e)})))}}};case"not":return{not:{expression:te(e.query,t)}};case"item-id":case"supplied-id":return{operand:{item:{sceneItemQuery:re(e)}}};case"all":return{operand:{root:{}}};case"scene-tree-range":return{operand:{sceneTreeRange:{start:e.range.start,end:e.range.end}}};case"metadata":if(e.removeHiddenItems){return{and:{first:{operand:{metadata:{valueFilter:e.filter,keys:e.keys,exactMatch:e.exactMatch}}},second:{operand:{override:{visibility:{visibilityState:true}}}}}}}else{return{operand:{metadata:{valueFilter:e.filter,keys:e.keys,exactMatch:e.exactMatch}}}}case"all-selected":return{operand:{override:{selection:{}}}};case"all-visible":return{operand:{override:{visibility:{visibilityState:true}}}};case"point":return{operand:{point:{point:e.point,viewport:t.dimensions}}};case"volume-intersection":return{operand:{volume:{frustumByRectangle:{rectangle:e.rectangle},exclusive:e.exclusive,viewport:t.dimensions}}};default:return{}}}function se(e,t){switch(e.type){case"and":const t=e.expressions.length;if(t===1){return se({type:"annotation-id",value:e.expressions[0].value})}else if(t!==2){throw new Error("Incorrect number of query expressions provided.")}return{and:{first:se(e.expressions[0]),second:se(e.expressions[1])}};case"or":const n=e.expressions.length;if(n===1){return se({type:"annotation-id",value:e.expressions[0].value})}else if(n!==2){throw new Error("Incorrect number of query expressions provided.")}return{or:{first:se(e.expressions[0]),second:se(e.expressions[1])}};case"not":return{not:{expression:se(e.query)}};case"annotation-id":const{msb:i,lsb:r}=s.toMsbLsb(e.value);return{operand:{annotation:{id:new E.protobuf.core.Uuid2l({msb:R.fromString(i),lsb:R.fromString(r)})}}};case"all":return{operand:{all:{}}};default:return{}}}function ne(e,t,s){const n=oe(t);const i=te(e,s);return{sceneItemOperation:{queryExpression:i,operationTypes:n}}}function ie(e,t,s){const n=ue(t);const i=se(e);return{pmiAnnotationOperation:{queryExpression:i,operationTypes:n}}}function re(e){switch(e.type){case"item-id":return{id:new E.protobuf.core.Uuid({hex:e.value})};case"supplied-id":return{suppliedId:e.value};default:return{}}}function ae(e,t,s,n){const i={frameCorrelationId:{value:e},animation:s?{duration:P(s.milliseconds)}:undefined,baseCamera:n!=null&&S(n)?B(n):undefined};switch(t.flyTo.type){case"supplied":{return Object.assign(Object.assign({},i),{itemSuppliedId:t.flyTo.data})}case"internal":{return Object.assign(Object.assign({},i),{itemId:new E.protobuf.core.Uuid({hex:t.flyTo.data})})}case"camera":{return Object.assign(Object.assign({},i),{camera:B(t.flyTo.data)})}case"scene-item-query":return Object.assign(Object.assign({},i),{sceneItemQueryExpression:t.flyTo.data});case"bounding-box":{return Object.assign(Object.assign({},i),{boundingBox:{xmin:t.flyTo.data.min.x,xmax:t.flyTo.data.max.x,ymin:t.flyTo.data.min.y,ymax:t.flyTo.data.max.y,zmin:t.flyTo.data.min.z,zmax:t.flyTo.data.max.z}})}default:return{}}}function oe(e){return e.map((e=>{var t,s;switch(e.type){case"change-material":return{changeMaterial:{materialOverride:{colorMaterial:{d:e.material.opacity,ns:e.material.glossiness,ka:e.material.ambient,kd:e.material.diffuse,ks:e.material.specular,ke:e.material.emissive}}}};case"clear-override":return{clearMaterial:{}};case"change-transform":return{changeTransform:{transform:Object.assign({},e.transform)}};case"clear-transform":return{clearTransform:{cascade:e.cascade}};case"hide":return{changeVisibility:{visible:false}};case"show":return{changeVisibility:{visible:true}};case"select":return{changeSelection:{selected:true}};case"deselect":return{changeSelection:{selected:false}};case"change-phantom":return{changePhantom:{phantom:(t=e.phantomState)!==null&&t!==void 0?t:true}};case"clear-phantom":return{changePhantom:{phantom:false}};case"change-end-item":return{changeEndItem:{endItem:(s=e.endItemState)!==null&&s!==void 0?s:true}};case"clear-end-item":return{changeEndItem:{endItem:false}};case"view-rendition-by-id":return{viewRendition:{id:new E.protobuf.core.Uuid({hex:e.id})}};case"view-rendition-by-supplied-id":return{viewRendition:{suppliedId:e.suppliedId}};case"view-default-rendition":return{viewDefaultRendition:{}};case"clear-rendition":return{clearRendition:{}};case"view-representation":if(e.id==="empty"){return{viewRepresentation:{predefinedId:h.RepresentationPredefinedId.REPRESENTATION_PREDEFINED_ID_EMPTY}}}else if(e.id==="entire-part"){return{viewRepresentation:{predefinedId:h.RepresentationPredefinedId.REPRESENTATION_PREDEFINED_ID_ENTIRE_PART}}}else{return{viewRepresentation:{id:new E.protobuf.core.Uuid({hex:e.id})}}}case"clear-representation":return{clearRepresentation:{}};default:return{}}}))}function ue(e){return e.map((e=>{switch(e.type){case"show":return{changeVisibility:{visible:true}};case"hide":return{changeVisibility:{visible:false}};case"select":return{changeSelection:{selected:true}};case"deselect":return{changeSelection:{selected:false}};default:return{}}}))}function ce(e){return e.map((e=>{switch(e){case"camera":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_CAMERA;case"material_overrides":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_MATERIAL_OVERRIDE;case"selection":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_SELECTION;case"visibility":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_VISIBILITY;case"transforms":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_TRANSFORM;case"cross_section":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_CROSS_SECTION;case"phantom":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_PHANTOM;case"shading":return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_SHADING;default:return E.protobuf.stream.SceneViewStateFeature.SCENE_VIEW_STATE_FEATURE_INVALID}}))}class he{constructor(e){this.flyToOptions=e}build(){return this.flyToOptions}}class le{withItemId(e){return new he({flyTo:{type:"internal",data:e}})}withSuppliedId(e){return new he({flyTo:{type:"supplied",data:e}})}withCamera(e){return new he({flyTo:{type:"camera",data:e}})}withBoundingBox(e){return new he({flyTo:{type:"bounding-box",data:e}})}build(){return this.flyToOptions}}class de{constructor(e,t,s,n,i,r){this.stream=e;this.aspect=t;this.data=s;this.boundingBox=n;this.decodeFrame=i;this.flyToOptions=r}fitToBoundingBox(e){return this.flyTo({boundingBox:e})}signedDistanceToBoundingBoxCenter(e){const{position:t,viewVector:s}=A(this.data);const n=m.center(e!==null&&e!==void 0?e:this.boundingBox);const i=y.subtract(n,t);return y.dot(s,i)/y.magnitude(s)}flyTo(e){if(typeof e!=="function"){return this.updateFlyToOptions({flyTo:this.buildFlyToType(e)})}else{return this.updateFlyToOptions(e(new le).build())}}viewAll(){return this.fitToBoundingBox(this.boundingBox)}async render(e){var t,n,i;if(this.flyToOptions==null&&e!=null){this.flyToOptions={flyTo:{type:"camera",data:this.data}}}try{const r=s.create();if(this.flyToOptions!=null){const s=ae(r,this.flyToOptions,e===null||e===void 0?void 0:e.animation,this.toFrameCamera());const a=await this.stream.flyTo(s,true);return new Z(this.stream,this.decodeFrame,{correlationId:r,animationId:((n=(t=a.flyTo)===null||t===void 0?void 0:t.animationId)===null||n===void 0?void 0:n.hex)||undefined},((i=e===null||e===void 0?void 0:e.animation)===null||i===void 0?void 0:i.milliseconds)!=null?e.animation.milliseconds+K:undefined)}else{this.stream.replaceCamera({camera:B(this.data),frameCorrelationId:{value:r}});return new Z(this.stream,this.decodeFrame,{correlationId:r})}}catch(e){console.warn("Error when performing render: ",e);throw e}}rotateAroundAxis(e,t){return this.rotateAroundAxisAtPoint(e,this.data.lookAt,t)}alignTo(e,t){const s=y.normalize(y.cross(this.up,y.normalize(this.viewVector)));const n=y.normalize(y.cross(y.normalize(this.viewVector),s));const i=y.angleTo(t,n)>Math.PI/2?y.negate(n):n;const r=y.isEqual(i,t)?s:y.normalize(y.cross(i,t));const a=y.transformMatrix(this.viewVector,b.makeRotation(x.fromAxisAngle(r,y.angleTo(t,i))));const o=I.create({origin:e,direction:y.normalize(a)});const u=I.at(o,y.magnitude(this.viewVector));return this.update({position:e,lookAt:u,up:t})}standardView(e){return this.update({position:e.position,viewVector:y.subtract(y.origin(),e.position),lookAt:y.origin(),up:e.up})}standardViewFixedLookAt(e){const t=I.create({origin:this.lookAt,direction:y.normalize(e.position)});const s=I.at(t,y.magnitude(this.viewVector));return this.update({up:e.up,position:s,viewVector:y.subtract(this.lookAt,s)})}buildFlyToType(e){if(e.boundingBox!=null){return{type:"bounding-box",data:e.boundingBox}}else if(e.camera!=null){return{type:"camera",data:e.camera}}else if(e.itemId!=null){return{type:"internal",data:e.itemId}}else if(e.itemSuppliedId!=null){return{type:"supplied",data:e.itemSuppliedId}}else if(e.sceneItemQueryExpression!=null){return{type:"scene-item-query",data:e.sceneItemQueryExpression}}else{throw new Error("Fly to must specify at least one option.")}}computeClippingPlanes(e){return V(this.boundingBox,e)}}class pe extends de{constructor(e,t,s,n,i,r){super(e,t,s,n,i,r);this.perspectiveData=s}moveBy(e){return this.update({position:y.add(this.position,e),lookAt:y.add(this.lookAt,e)})}rotateAroundAxisAtPoint(e,t,s){return this.update({position:y.rotateAboutAxis(e,this.position,s,t),lookAt:y.rotateAboutAxis(e,this.lookAt,s,t),up:y.rotateAboutAxis(e,this.up,s,y.origin())})}update(e){var t;const s=(t=e.fovY)!==null&&t!==void 0?t:this.fovY;return new pe(this.stream,this.aspect,Object.assign(Object.assign(Object.assign({},this.perspectiveData),e),{fovY:s}),this.boundingBox,this.decodeFrame,this.flyToOptions)}toFrameCamera(){var e;return new T(this.position,this.lookAt,this.up,this.near,this.far,this.aspectRatio,(e=this.fovY)!==null&&e!==void 0?e:45)}get viewVector(){return y.subtract(this.lookAt,this.position)}get position(){return Object.assign({},this.perspectiveData.position)}get up(){return Object.assign({},this.perspectiveData.up)}get lookAt(){return Object.assign({},this.perspectiveData.lookAt)}get fovY(){return this.perspectiveData.fovY}get aspectRatio(){return this.aspect}get near(){const{near:e}=this.computeClippingPlanes(this.perspectiveData);return e}get far(){const{far:e}=this.computeClippingPlanes(this.perspectiveData);return e}updateFlyToOptions(e){return new pe(this.stream,this.aspect,this.perspectiveData,this.boundingBox,this.decodeFrame,e)}}class we extends de{constructor(e,t,s,n,i,r){super(e,t,s,n,i,r);this.orthographicData=s}moveBy(e){const t=y.add(this.lookAt,e);return this.update({lookAt:t,rotationPoint:t})}rotateAroundAxisAtPoint(e,t,s){const n=y.rotateAboutAxis(e,this.lookAt,s,t);const i=y.rotateAboutAxis(e,this.position,s,t);const r=q(y.subtract(n,i),g.create(this.boundingBox));return this.update({viewVector:r,lookAt:n,up:y.rotateAboutAxis(e,this.up,s,y.origin())})}update(e){return new we(this.stream,this.aspect,Object.assign(Object.assign({},this.orthographicData),e),this.boundingBox,this.decodeFrame,this.flyToOptions)}toFrameCamera(){const e=g.create(this.boundingBox);const t=q(this.viewVector,e);const s=k(this.lookAt,t,e.center);return new C(t,s,this.up,this.near,this.far,this.aspectRatio,this.fovHeight,this.rotationPoint)}get viewVector(){return Object.assign({},this.orthographicData.viewVector)}get position(){return y.add(this.lookAt,y.negate(this.viewVector))}get rotationPoint(){const e=this.orthographicData.rotationPoint;if(e!=null){return e}else{return undefined}}get up(){return Object.assign({},this.orthographicData.up)}get lookAt(){return Object.assign({},this.orthographicData.lookAt)}get fovHeight(){return this.orthographicData.fovHeight}get aspectRatio(){return this.aspect}get near(){const{near:e}=this.computeClippingPlanes(this.orthographicData);return e}get far(){const{far:e}=this.computeClippingPlanes(this.orthographicData);return e}updateFlyToOptions(e){return new we(this.stream,this.aspect,this.orthographicData,this.boundingBox,this.decodeFrame,e)}}class ve{constructor(e,t){this.stream=e;this.data=t}async update(e){const t=await this.stream.updateCrossSectioning({crossSectioning:{sectionPlanes:e.sectionPlanes,highlightColor:e.highlightColor,lineWidth:(e===null||e===void 0?void 0:e.lineWidth)!=null?{value:e.lineWidth}:null}},true);return t.updateCrossSectioning||undefined}current(){return this.data}}class fe{constructor(e=[]){this.operations=e}build(){return this.operations.concat()}materialOverride(e){return new fe(this.operations.concat([{type:"change-material",material:e}]))}show(){return new fe(this.operations.concat([{type:"show"}]))}hide(){return new fe(this.operations.concat([{type:"hide"}]))}select(){return new fe(this.operations.concat([{type:"select"}]))}deselect(){return new fe(this.operations.concat([{type:"deselect"}]))}clearMaterialOverrides(){return new fe(this.operations.concat([{type:"clear-override"}]))}transform(e){return new fe(this.operations.concat([{type:"change-transform",transform:e}]))}clearTransforms(e=true){return new fe(this.operations.concat([{type:"clear-transform",cascade:e}]))}setPhantom(e){return new fe(this.operations.concat([{type:"change-phantom",phantomState:e}]))}clearPhantom(){return new fe(this.operations.concat([{type:"clear-phantom"}]))}setEndItem(e){return new fe(this.operations.concat([{type:"change-end-item",endItemState:e}]))}clearEndItem(){return new fe(this.operations.concat([{type:"clear-end-item"}]))}viewRenditionById(e){return new fe(this.operations.concat([{type:"view-rendition-by-id",id:e}]))}viewRenditionBySuppliedId(e){return new fe(this.operations.concat([{type:"view-rendition-by-supplied-id",suppliedId:e}]))}viewDefaultRendition(){return new fe(this.operations.concat([{type:"view-default-rendition"}]))}clearRendition(){return new fe(this.operations.concat([{type:"clear-rendition"}]))}viewRepresentation(e){return new fe(this.operations.concat({type:"view-representation",id:e}))}clearRepresentation(){return new fe(this.operations.concat({type:"clear-representation"}))}}class me{constructor(e=[]){this.operations=e}build(){return this.operations.concat()}show(){return new me(this.operations.concat([{type:"show"}]))}hide(){return new me(this.operations.concat([{type:"hide"}]))}select(){return new me(this.operations.concat([{type:"select"}]))}deselect(){return new me(this.operations.concat([{type:"deselect"}]))}}class ye{constructor(e,t){this.stream=e;this.imageScaleProvider=t}async hitItems(e,t){const s=this.imageScaleProvider();const n=await this.stream.hitItems({point:O.scale(e,(s===null||s===void 0?void 0:s.x)||1,(s===null||s===void 0?void 0:s.y)||1),includeMetadata:t===null||t===void 0?void 0:t.includeMetadata},true);return n.hitItems||undefined}}const be=1e3*30;class xe{constructor(e,t,s,n){this.onFrameDrawn=new X(e,(e=>{var t,n,i;return!!((i=(n=(t=e.request)===null||t===void 0?void 0:t.drawFrame)===null||n===void 0?void 0:n.frameCorrelationIds)===null||i===void 0?void 0:i.some((e=>e===s)))}),(e=>{var s;return((s=e.request)===null||s===void 0?void 0:s.drawFrame)!=null?t(e.request.drawFrame):undefined}),n!==null&&n!==void 0?n:be)}}class Ie{constructor(e,t,s,n,i){this.stream=e;this.decodeFrame=t;this.encodeCameraType=s;this.sceneId=n;this.sceneViewId=i}async applySceneViewState(e,t={}){const s=ee(e);await this.animateToSceneViewState(s,t);return await this.stream.loadSceneViewState(Object.assign(Object.assign({},s),{frameCorrelationId:t.suppliedCorrelationId?{value:t.suppliedCorrelationId}:undefined,cameraType:t.cameraTypeOverride?this.encodeCameraType(t.cameraTypeOverride):undefined}),true)}async applyPartialSceneViewState(e,t,s={}){const n=ee(e);const i=ce(t);if(t.includes("camera")){await this.animateToSceneViewState(n,s)}return await this.stream.loadSceneViewState(Object.assign(Object.assign({},n),{frameCorrelationId:s.suppliedCorrelationId?{value:s.suppliedCorrelationId}:undefined,sceneViewStateFeatureSubset:i,cameraType:s.cameraTypeOverride?this.encodeCameraType(s.cameraTypeOverride):undefined}),true)}async animateToSceneViewState(e,t){var n,i,r;if(t.animation!=null){const a=s.create();const o=await this.stream.flyTo({sceneViewStateIdentifier:e,animation:{duration:P(t.animation.milliseconds)},frameCorrelationId:{value:a}},true);if(t.waitForAnimation==null||t.waitForAnimation){const e=new Z(this.stream,this.decodeFrame,{animationId:(r=(i=(n=o.flyTo)===null||n===void 0?void 0:n.animationId)===null||i===void 0?void 0:i.hex)!==null&&r!==void 0?r:undefined,correlationId:a},t.animation.milliseconds+K);await e.onAnimationCompleted.once()}}}}class ge{constructor(e,t){this.query=e;this.builder=t!==null&&t!==void 0?t:new fe}isItemBuilder(){return true}isAnnotationBuilder(){return false}materialOverride(e){if(typeof e==="string"){return new ge(this.query,this.builder.materialOverride(D(e)))}else{return new ge(this.query,this.builder.materialOverride(e))}}hide(){return new ge(this.query,this.builder.hide())}show(){return new ge(this.query,this.builder.show())}select(){return new ge(this.query,this.builder.select())}deselect(){return new ge(this.query,this.builder.deselect())}clearMaterialOverrides(){return new ge(this.query,this.builder.clearMaterialOverrides())}transform(e){if(Array.isArray(e)){if(e.length!==16){throw new r("Matrix provided must contain exactly 16 values (4x4).")}return new ge(this.query,this.builder.transform({r0:{x:e[0],y:e[1],z:e[2],w:e[3]},r1:{x:e[4],y:e[5],z:e[6],w:e[7]},r2:{x:e[8],y:e[9],z:e[10],w:e[11]},r3:{x:e[12],y:e[13],z:e[14],w:e[15]}}))}else{return new ge(this.query,this.builder.transform(e))}}clearTransforms(e=true){return new ge(this.query,this.builder.clearTransforms(e))}setPhantom(e){return new ge(this.query,this.builder.setPhantom(e))}clearPhantom(){return new ge(this.query,this.builder.clearPhantom())}setEndItem(e){return new ge(this.query,this.builder.setEndItem(e))}clearEndItem(){return new ge(this.query,this.builder.clearEndItem())}viewRenditionById(e){return new ge(this.query,this.builder.viewRenditionById(e))}viewRenditionBySuppliedId(e){return new ge(this.query,this.builder.viewRenditionBySuppliedId(e))}viewDefaultRendition(){return new ge(this.query,this.builder.viewDefaultRendition())}clearRendition(){return new ge(this.query,this.builder.clearRendition())}viewRepresentation(e){return new ge(this.query,this.builder.viewRepresentation(e))}clearRepresentation(){return new ge(this.query,this.builder.clearRepresentation())}build(){return{query:this.query,operations:this.builder.build()}}}class Oe{constructor(e,t){this.query=e;this.builder=t!==null&&t!==void 0?t:new me}isItemBuilder(){return false}isAnnotationBuilder(){return true}hide(){return new Oe(this.query,this.builder.hide())}show(){return new Oe(this.query,this.builder.show())}select(){return new Oe(this.query,this.builder.select())}deselect(){return new Oe(this.query,this.builder.deselect())}build(){return{query:this.query,operations:this.builder.build()}}}class je{constructor(e,t,s,n,i,r){this.sceneViewId=e;this.stream=t;this.decodeFrame=s;this.dimensions=n;this.sceneItemQueryOperations=i;this.pmiAnnotationQueryOperations=r}async execute(e){var t;const n=this.sceneItemQueryOperations.map((e=>ne(e.query,e.operations,{dimensions:this.dimensions})));const i=this.pmiAnnotationQueryOperations.map((e=>ie(e.query,e.operations)));const r=(t=e===null||e===void 0?void 0:e.suppliedCorrelationId)!==null&&t!==void 0?t:s.create();const a={sceneViewId:{hex:this.sceneViewId},elementOperations:[...n,...i],suppliedCorrelationId:{value:r}};await this.stream.createSceneAlteration(a)}}class Se extends je{async execute(e){var t;if(e===null||e===void 0?void 0:e.awaitCorrelatedFrame){const n=(t=e.suppliedCorrelationId)!==null&&t!==void 0?t:s.create();const i=new xe(this.stream,this.decodeFrame,n);await super.execute(Object.assign(Object.assign({},e),{suppliedCorrelationId:n}));await i.onFrameDrawn.once()}else{await super.execute(e)}}}class Be extends je{async execute(e){var t;if(e===null||e===void 0?void 0:e.skipAwaitCorrelatedFrame){await super.execute(e)}else{const n=(t=e===null||e===void 0?void 0:e.suppliedCorrelationId)!==null&&t!==void 0?t:s.create();const i=new xe(this.stream,this.decodeFrame,n);await super.execute(Object.assign(Object.assign({},e),{suppliedCorrelationId:n}));await i.onFrameDrawn.once()}}}class Ee{constructor(e,t,s,n,i,r,a,o){this.stream=e;this.frame=t;this.decodeFrame=s;this.encodeCameraType=n;this.imageScaleProvider=i;this.dimensions=r;this.sceneId=a;this.sceneViewId=o;this.sceneViewStateLoader=new Ie(e,s,n,a,o)}async applySceneViewState(e,t={}){return await this.sceneViewStateLoader.applySceneViewState(e,t)}async applyPartialSceneViewState(e,t,s={}){return await this.sceneViewStateLoader.applyPartialSceneViewState(e,t,s)}async reset(e={}){return await this.stream.resetSceneView({includeCamera:e.includeCamera,frameCorrelationId:e.suppliedCorrelationId?{value:e.suppliedCorrelationId}:undefined,cameraType:e.cameraTypeOverride?this.encodeCameraType(e.cameraTypeOverride):undefined},true)}items(e){const t=e(new Ge);const s=Array.isArray(t)?t:[t];const n=s.filter((e=>e.isItemBuilder()));const i=n.reduce(((e,t)=>e.concat(t.build())),[]);return new Se(this.sceneViewId,this.stream,this.decodeFrame,this.dimensions,i,[])}elements(e){const t=e(new We);const s=Array.isArray(t)?t:[t];const n=s.filter((e=>e.isItemBuilder()));const i=n.reduce(((e,t)=>e.concat(t.build())),[]);const r=s.filter((e=>e.isAnnotationBuilder()));const a=r.reduce(((e,t)=>e.concat(t.build())),[]);return new Be(this.sceneViewId,this.stream,this.decodeFrame,this.dimensions,i,a)}camera(){const{scene:e}=this.frame;if(e.camera.isOrthographic()){return new we(this.stream,j.aspectRatio(this.viewport()),{viewVector:e.camera.viewVector,lookAt:e.camera.lookAt,up:e.camera.up,fovHeight:e.camera.fovHeight,rotationPoint:e.camera.lookAt},this.frame.scene.boundingBox,this.decodeFrame)}else if(e.camera.isPerspective()){return new pe(this.stream,j.aspectRatio(this.viewport()),{position:e.camera.position,lookAt:e.camera.lookAt,up:e.camera.up,fovY:e.camera.fovY},this.frame.scene.boundingBox,this.decodeFrame)}else{throw new a("Cannot retrieve camera. Scene has an unknown or invalid camera type.")}}isOrthographic(){const{scene:e}=this.frame;return e.camera.isOrthographic()}boundingBox(){return this.frame.scene.boundingBox}crossSectioning(){return new ve(this.stream,this.frame.scene.crossSection)}raycaster(){return new ye(this.stream,this.imageScaleProvider)}viewport(){return this.frame.dimensions}scale(){return this.imageScaleProvider()||O.create(1,1)}}class Re{constructor(e){this.inverted=e}build(){if(this.inverted){return{type:"not",query:this.queryExpressionBuilder()}}else{return this.queryExpressionBuilder()}}}class Ae{constructor(e=false){this.inverted=e}all(){return new ke}not(){return new Ve(!this.inverted)}withItemIds(e){return new Fe(e,"item-id",this.inverted)}withSuppliedIds(e){return new Fe(e,"supplied-id",this.inverted)}withItemId(e){return new ze({type:"item-id",value:e},this.inverted)}withSuppliedId(e){return new ze({type:"supplied-id",value:e},this.inverted)}withSceneTreeRange(e){return new Ce(e,this.inverted)}withMetadata(e,t,s,n){return new Pe(e,t,s,this.inverted,n)}withSelected(){return new Me(this.inverted)}withVisible(){return new _e(this.inverted)}withPoint(e){return new De(e,this.inverted)}withVolumeIntersection(e,t){return new Ue(e,this.inverted,t)}}class Ve extends Ae{constructor(e){super(e)}}class Te{constructor(e=false){this.inverted=e}all(){return new ke}not(){return new qe(!this.inverted)}withAnnotationIds(e){return new Fe(e,"annotation-id",this.inverted)}withAnnotationId(e){return new Le({type:"annotation-id",value:e},this.inverted)}}class qe extends Te{constructor(e){super(e)}}class ke extends Re{constructor(e=false){super(e)}queryExpressionBuilder(){return{type:"all"}}}class Ce extends Re{constructor(e,t){super(t);this.range=e}queryExpressionBuilder(){return{type:"scene-tree-range",range:this.range}}}class Pe extends Re{constructor(e,t,s,n,i){super(n);this.filter=e;this.keys=t;this.exactMatch=s;this.removeHiddenItems=i}queryExpressionBuilder(){return{type:"metadata",filter:this.filter,keys:this.keys,exactMatch:this.exactMatch,removeHiddenItems:this.removeHiddenItems}}}class Me extends Re{constructor(e){super(e)}queryExpressionBuilder(){return{type:"all-selected"}}}class _e extends Re{constructor(e){super(e)}queryExpressionBuilder(){return{type:"all-visible"}}}class De extends Re{constructor(e,t){super(t);this.point=e}queryExpressionBuilder(){return{type:"point",point:this.point}}}class Ue extends Re{constructor(e,t,s){super(t);this.rectangle=e;this.exclusive=s}queryExpressionBuilder(){return{type:"volume-intersection",rectangle:this.rectangle,exclusive:!!this.exclusive}}}class Fe extends Re{constructor(e,t,s){super(s);this.ids=e;this.type=t}queryExpressionBuilder(){return{type:"or",expressions:this.ids.map((e=>({type:this.type,value:e})))}}}class ze extends Re{constructor(e,t){super(t);this.query=e}queryExpressionBuilder(){return Object.assign({},this.query)}and(){return new He([this.query],this.inverted)}or(){return new Ne([this.query],this.inverted)}}class Ne extends Re{constructor(e,t){super(t);this.expressions=e}queryExpressionBuilder(){return{type:"or",expressions:[...this.expressions]}}withItemId(e){return new Ne([...this.expressions,{type:"item-id",value:e}],this.inverted)}withSuppliedId(e){return new Ne([...this.expressions,{type:"supplied-id",value:e}],this.inverted)}or(){return this}}class He extends Re{constructor(e,t){super(t);this.expressions=e}queryExpressionBuilder(){return{type:"and",expressions:[...this.expressions]}}withItemId(e){return new He([...this.expressions,{type:"item-id",value:e}],this.inverted)}withSuppliedId(e){return new He([...this.expressions,{type:"supplied-id",value:e}],this.inverted)}and(){return this}}class Le extends Re{constructor(e,t){super(t);this.query=e}queryExpressionBuilder(){return Object.assign({},this.query)}and(){return new Ye([this.query],this.inverted)}or(){return new Qe([this.query],this.inverted)}}class Qe extends Re{constructor(e,t){super(t);this.expressions=e}queryExpressionBuilder(){return{type:"or",expressions:[...this.expressions]}}withAnnotationId(e){return new Qe([...this.expressions,{type:"annotation-id",value:e}],this.inverted)}or(){return this}}class Ye extends Re{constructor(e,t){super(t);this.expressions=e}queryExpressionBuilder(){return{type:"and",expressions:[...this.expressions]}}withAnnotationId(e){return new Ye([...this.expressions,{type:"annotation-id",value:e}],this.inverted)}and(){return this}}class We{get items(){return new Ge}get annotations(){return new $e}}class $e{where(e){const t=e(new Te).build();return new Oe(t)}}class Ge{where(e){const t=e(new Ae).build();return new ge(t)}}export{de as C,fe as I,G as M,Oe as P,ye as R,Ee as S,ve as a,$e as b,U as c,Ae as d,We as e,Be as f,ge as g,Ge as h,Se as i,W as j,J as k,H as l,M as m,F as n,Y as s,$ as t};
5
+ //# sourceMappingURL=p-bab8266e.js.map