@kedem/okdb 2.5.0 → 2.6.0

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 (225) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/algorithm-worker-thread.js +1 -1
  3. package/bin/okdb.js +1 -1
  4. package/docs/auth-permissions.md +31 -5
  5. package/okdb-functions-sandbox-worker.js +1 -1
  6. package/okdb-http-worker-child.js +1 -1
  7. package/okdb-views-bootstrap-worker.js +1 -1
  8. package/okdb.js +1 -1
  9. package/package.json +1 -1
  10. package/public/admin-app.js +1 -1
  11. package/public/components/schema-edit-modal.ok.js +1 -0
  12. package/public/core/db/db-section.ok.html +1 -0
  13. package/public/core/db/modals/add-item-modal.ok.js +1 -0
  14. package/public/core/db/modals/create-fts-modal.ok.js +1 -0
  15. package/public/core/db/modals/create-index-modal.ok.js +1 -0
  16. package/public/core/db/parts/db-overview.ok.js +1 -0
  17. package/public/core/db/parts/edit-row.ok.js +1 -0
  18. package/public/core/db/parts/type-changelog.ok.js +1 -0
  19. package/public/core/db/parts/type-data-tab.ok.js +1 -0
  20. package/public/core/db/parts/type-list.ok.js +1 -0
  21. package/public/core/db/parts/type-manage-tab.ok.js +1 -0
  22. package/public/core/db/parts/type-schema-tab.ok.js +1 -0
  23. package/public/core/db/parts/type-viewer.ok.js +1 -0
  24. package/public/core/db/type-ops.js +1 -0
  25. package/public/core/docs/docs-page.ok.html +1 -0
  26. package/public/core/license/license-panel.ok.js +1 -0
  27. package/public/core/system/parts/system-log.ok.js +1 -0
  28. package/public/core/system/parts/system-processing-panel.ok.js +1 -0
  29. package/public/core/system/parts/system-storage-panel.ok.js +1 -0
  30. package/public/core/system/system-events-page.ok.js +1 -0
  31. package/public/core/system/system-logs-page.ok.js +1 -0
  32. package/public/core/system/system-overview-page.ok.html +1 -0
  33. package/public/core/system/system-runtime-page.ok.js +1 -0
  34. package/public/core/system/system-section.ok.html +1 -0
  35. package/public/features/api/api-panel.ok.js +1 -0
  36. package/public/features/api/index.js +1 -0
  37. package/public/features/auth/auth-panel.ok.js +1 -0
  38. package/public/features/auth/index.js +1 -0
  39. package/public/features/files/files-section.ok.html +1 -0
  40. package/public/features/files/index.js +1 -0
  41. package/public/features/files/parts/files-file-list.ok.js +1 -0
  42. package/public/features/files/parts/files-path-browser.ok.js +1 -0
  43. package/public/features/files/parts/files-preview.ok.js +1 -0
  44. package/public/features/files/parts/files-upload-panel.ok.js +1 -0
  45. package/public/features/functions/exports.js +1 -0
  46. package/public/features/functions/functions-section.ok.html +1 -0
  47. package/public/features/functions/functions-store.js +1 -0
  48. package/public/features/functions/index.js +1 -0
  49. package/public/features/functions/modals/function-modal.ok.js +1 -0
  50. package/public/features/functions/parts/function-detail.ok.js +1 -0
  51. package/public/features/functions/parts/function-logs.ok.js +1 -0
  52. package/public/features/functions/parts/function-runner.ok.js +1 -0
  53. package/public/features/pipelines/engine-ui-utils.js +1 -0
  54. package/public/features/pipelines/exports.js +1 -0
  55. package/public/features/pipelines/index.js +1 -0
  56. package/public/features/pipelines/modals/create-pipeline-modal.ok.js +1 -0
  57. package/public/features/pipelines/modals/edit-pipeline-modal.ok.js +1 -0
  58. package/public/features/pipelines/modals/engine-modal.ok.js +1 -0
  59. package/public/features/pipelines/parts/embed-create-panel.ok.js +1 -0
  60. package/public/features/pipelines/parts/embed-embedder-panel.ok.js +1 -0
  61. package/public/features/pipelines/parts/embed-indexer-panel.ok.js +1 -0
  62. package/public/features/pipelines/parts/embed-search-panel.ok.js +1 -0
  63. package/public/features/pipelines/parts/embed-worker-panel.ok.js +1 -0
  64. package/public/features/pipelines/parts/embeddings-engine-panel.ok.js +1 -0
  65. package/public/features/pipelines/parts/engine-declaration-editor.ok.js +1 -0
  66. package/public/features/pipelines/parts/engines-overview.ok.js +1 -0
  67. package/public/features/pipelines/parts/generic-engine-panel.ok.js +1 -0
  68. package/public/features/pipelines/parts/pipeline-create-panel.ok.js +1 -0
  69. package/public/features/pipelines/parts/pipeline-flow-strip.ok.js +1 -0
  70. package/public/features/pipelines/parts/type-pipelines-tab.ok.js +1 -0
  71. package/public/features/pipelines/pipelines-section.ok.html +1 -0
  72. package/public/features/queue/index.js +1 -0
  73. package/public/features/queue/modals/create-bucket-modal.ok.js +1 -0
  74. package/public/features/queue/modals/edit-bucket-modal.ok.js +1 -0
  75. package/public/features/queue/modals/edit-job-modal.ok.js +1 -0
  76. package/public/features/queue/modals/enqueue-job-modal.ok.js +1 -0
  77. package/public/features/queue/modals/job-type-modal.ok.js +1 -0
  78. package/public/features/queue/parts/job-log-panel.ok.js +1 -0
  79. package/public/features/queue/parts/queue-buckets.ok.js +1 -0
  80. package/public/features/queue/parts/queue-job-types.ok.js +1 -0
  81. package/public/features/queue/parts/queue-jobs.ok.js +1 -0
  82. package/public/features/queue/parts/queue-types.ok.js +1 -0
  83. package/public/features/queue/parts/queue-workers.ok.js +1 -0
  84. package/public/features/queue/queue-section.ok.html +1 -0
  85. package/public/features/sync/index.js +1 -0
  86. package/public/features/sync/sync-panel.ok.js +1 -0
  87. package/public/features/views/index.js +1 -0
  88. package/public/features/views/modals/create-view-modal.ok.js +1 -0
  89. package/public/features/views/parts/views-list.ok.js +1 -0
  90. package/public/features/views/parts/views-overview.ok.js +1 -0
  91. package/public/features/views/views-section.ok.html +1 -0
  92. package/public/features/views/views-store.js +1 -0
  93. package/public/index.html +9 -3
  94. package/public/modules/ok.js +1 -1
  95. package/public/shell/admin-shell.ok.html +3 -0
  96. package/public/shell/core-manifest.js +1 -0
  97. package/public/shell/shell-piece.ok.js +1 -0
  98. package/public/shell/shell-section-host.ok.js +1 -0
  99. package/public/shell/shell-section.ok.js +1 -0
  100. package/public/shell/shell-store.js +1 -0
  101. package/public/stores/auth-store.js +1 -1
  102. package/public/stores/okdb-store.js +1 -1
  103. package/public/stores/storage-store.js +1 -0
  104. package/public/styles.css +1 -1
  105. package/public/vendor/okjs/ok.esm.min.js +1 -1
  106. package/public/vendor/okjs/toolkit/components/ok-chart.ok.js +1 -1
  107. package/public/vendor/okjs/toolkit/components/ok-doc-viewer.ok.js +1 -1
  108. package/public/vendor/okjs/toolkit/components/ok-marked.ok.js +1 -1
  109. package/public/vendor/okjs/toolkit/components/ok-monaco.ok.js +1 -1
  110. package/public/components/admin-route-host.ok.js +0 -1
  111. package/public/components/field.html +0 -158
  112. package/public/layouts/_default.ok.html +0 -3
  113. package/public/sections/api/index.ok.html +0 -1
  114. package/public/sections/auth/index.ok.html +0 -1
  115. package/public/sections/auth/modals/perm-info-popover.ok.js +0 -1
  116. package/public/sections/db/index.ok.html +0 -1
  117. package/public/sections/db/modals/add-item-modal.ok.js +0 -1
  118. package/public/sections/db/modals/create-fts-modal.ok.js +0 -1
  119. package/public/sections/db/modals/create-index-modal.ok.js +0 -1
  120. package/public/sections/db/modals/create-pipeline-modal.ok.js +0 -1
  121. package/public/sections/db/modals/schema-edit-modal.ok.js +0 -1
  122. package/public/sections/db/parts/db-overview.ok.js +0 -1
  123. package/public/sections/db/parts/edit-row.ok.js +0 -1
  124. package/public/sections/db/parts/type-changelog.ok.js +0 -1
  125. package/public/sections/db/parts/type-list.ok.js +0 -1
  126. package/public/sections/db/parts/type-pipelines-tab.ok.js +0 -1
  127. package/public/sections/db/parts/type-schema-tab.ok.js +0 -1
  128. package/public/sections/db/parts/type-viewer.ok.js +0 -1
  129. package/public/sections/db/parts/type-violations-tab.ok.js +0 -1
  130. package/public/sections/docs/index.ok.html +0 -1
  131. package/public/sections/embeddings/index.ok.html +0 -1
  132. package/public/sections/embeddings/modals/edit-pipeline-modal.ok.js +0 -1
  133. package/public/sections/embeddings/parts/embed-create-panel.ok.js +0 -1
  134. package/public/sections/embeddings/parts/embed-embedder-panel.ok.js +0 -1
  135. package/public/sections/embeddings/parts/embed-engine-declaration-editor.ok.js +0 -1
  136. package/public/sections/embeddings/parts/embed-engine-list.ok.js +0 -1
  137. package/public/sections/embeddings/parts/embed-indexer-panel.ok.js +0 -1
  138. package/public/sections/embeddings/parts/embed-lifecycle-bar.ok.js +0 -1
  139. package/public/sections/embeddings/parts/embed-overview.ok.js +0 -1
  140. package/public/sections/embeddings/parts/embed-search-panel.ok.js +0 -1
  141. package/public/sections/embeddings/parts/embed-worker-panel.ok.js +0 -1
  142. package/public/sections/embeddings/parts/embeddings-engine-panel.ok.js +0 -1
  143. package/public/sections/embeddings/parts/engines-overview.ok.js +0 -1
  144. package/public/sections/embeddings/parts/pipeline-create-panel.ok.js +0 -1
  145. package/public/sections/embeddings/parts/pipeline-flow-strip.ok.js +0 -1
  146. package/public/sections/engines/engine-ui-utils.js +0 -1
  147. package/public/sections/engines/index.ok.html +0 -1
  148. package/public/sections/engines/modals/engine-modal.ok.js +0 -1
  149. package/public/sections/engines/parts/engine-declaration-editor.ok.js +0 -1
  150. package/public/sections/engines/parts/generic-engine-panel.ok.js +0 -1
  151. package/public/sections/files/index.ok.html +0 -1
  152. package/public/sections/files/parts/files-collection-list.ok.js +0 -1
  153. package/public/sections/files/parts/files-collection-panel.ok.js +0 -1
  154. package/public/sections/files/parts/files-file-list.ok.js +0 -1
  155. package/public/sections/files/parts/files-path-browser.ok.js +0 -1
  156. package/public/sections/files/parts/files-preview.ok.js +0 -1
  157. package/public/sections/files/parts/files-upload-panel.ok.js +0 -1
  158. package/public/sections/functions/index.ok.html +0 -1
  159. package/public/sections/functions/modals/function-modal.ok.js +0 -1
  160. package/public/sections/functions/parts/function-detail.ok.js +0 -1
  161. package/public/sections/functions/parts/function-logs.ok.js +0 -1
  162. package/public/sections/functions/parts/function-runner.ok.js +0 -1
  163. package/public/sections/license/index.ok.html +0 -1
  164. package/public/sections/license/parts/license-panel.ok.js +0 -1
  165. package/public/sections/queue/index.ok.html +0 -1
  166. package/public/sections/queue/modals/create-bucket-modal.ok.js +0 -1
  167. package/public/sections/queue/modals/edit-bucket-modal.ok.js +0 -1
  168. package/public/sections/queue/modals/edit-job-modal.ok.js +0 -1
  169. package/public/sections/queue/modals/enqueue-job-modal.ok.js +0 -1
  170. package/public/sections/queue/modals/job-type-modal.ok.js +0 -1
  171. package/public/sections/queue/parts/job-log-panel.ok.js +0 -1
  172. package/public/sections/queue/parts/ok-job-form.ok.js +0 -1
  173. package/public/sections/queue/parts/queue-buckets.ok.js +0 -1
  174. package/public/sections/queue/parts/queue-job-types.ok.js +0 -1
  175. package/public/sections/queue/parts/queue-jobs.ok.js +0 -1
  176. package/public/sections/queue/parts/queue-types.ok.js +0 -1
  177. package/public/sections/queue/parts/queue-workers.ok.js +0 -1
  178. package/public/sections/sync/index.ok.html +0 -5
  179. package/public/sections/sync/parts/sync-node-detail.ok.js +0 -1
  180. package/public/sections/system/index.ok.html +0 -1
  181. package/public/sections/system/parts/system-api-panel.ok.js +0 -1
  182. package/public/sections/system/parts/system-auth-panel.ok.js +0 -1
  183. package/public/sections/system/parts/system-log.ok.js +0 -1
  184. package/public/sections/system/parts/system-processing-panel.ok.js +0 -1
  185. package/public/sections/system/parts/system-status.ok.js +0 -1
  186. package/public/sections/system/parts/system-storage-panel.ok.js +0 -1
  187. package/public/sections/system/parts/system-sync-panel.ok.js +0 -1
  188. package/public/sections/views/index.ok.html +0 -1
  189. package/public/sections/views/modals/create-view-modal.ok.js +0 -1
  190. package/public/sections/views/parts/views-list.ok.js +0 -1
  191. package/public/sections/views/parts/views-overview.ok.js +0 -1
  192. package/public/stores/functions-store.js +0 -1
  193. /package/public/{sections → core}/db/parts/tm-timeline.ok.js +0 -0
  194. /package/public/{util → core/db}/sift-schema.js +0 -0
  195. /package/public/{view-models → core/db}/type-query-vm.js +0 -0
  196. /package/public/{sections → core}/system/modals/data-ops-modal.ok.js +0 -0
  197. /package/public/{sections → core}/system/parts/system-locks-panel.ok.js +0 -0
  198. /package/public/{sections → core}/system/parts/system-log-history.ok.js +0 -0
  199. /package/public/{sections → core}/system/parts/system-process-panel.ok.js +0 -0
  200. /package/public/{sections → core}/system/parts/system-runtime-overview.ok.js +0 -0
  201. /package/public/{sections → features}/api/parts/api-endpoint.ok.js +0 -0
  202. /package/public/{sections → features}/auth/modals/create-token-modal.ok.js +0 -0
  203. /package/public/{sections → features}/auth/modals/edit-token-modal.ok.js +0 -0
  204. /package/public/{sections → features}/auth/parts/token-detail.ok.js +0 -0
  205. /package/public/{sections → features}/auth/parts/token-list.ok.js +0 -0
  206. /package/public/{sections → features}/files/parts/files-blob-status.ok.js +0 -0
  207. /package/public/{sections → features}/files/parts/files-overview.ok.js +0 -0
  208. /package/public/{sections → features}/functions/parts/functions-list.ok.js +0 -0
  209. /package/public/{sections/engines → features/pipelines}/engine-panel-shared-style.js +0 -0
  210. /package/public/{sections/embeddings → features/pipelines}/modals/register-model-modal.ok.js +0 -0
  211. /package/public/{sections/embeddings → features/pipelines}/modals/replace-embedder-modal.ok.js +0 -0
  212. /package/public/{sections/embeddings → features/pipelines}/parts/embed-model-catalog.ok.js +0 -0
  213. /package/public/{sections/engines → features/pipelines}/parts/engine-lifecycle-actions.ok.js +0 -0
  214. /package/public/{sections/engines → features/pipelines}/parts/engine-panel-shell.ok.js +0 -0
  215. /package/public/{sections/engines → features/pipelines}/parts/engine-resource-card.ok.js +0 -0
  216. /package/public/{sections/engines → features/pipelines}/parts/engine-row-item.ok.js +0 -0
  217. /package/public/{sections/embeddings → features/pipelines}/parts/pipeline-try-search.ok.js +0 -0
  218. /package/public/{sections → features}/queue/parts/code-panel.ok.js +0 -0
  219. /package/public/{sections → features}/sync/modals/connect-peer-modal.ok.js +0 -0
  220. /package/public/{sections → features}/sync/parts/sync-retention.ok.js +0 -0
  221. /package/public/{sections → features}/sync/parts/sync-topology.ok.js +0 -0
  222. /package/public/{sections → features}/views/parts/view-detail.ok.js +0 -0
  223. /package/public/{sections/db → shell}/modals/create-env-modal.ok.js +0 -0
  224. /package/public/{sections/db → shell}/modals/demo-env-modal.ok.js +0 -0
  225. /package/public/{sections/db → shell}/modals/remove-env-modal.ok.js +0 -0
@@ -1 +1 @@
1
- 'use strict';const _0x5edeb8=_0x6afb;(function(_0x489bf4,_0x403943){const _0x43e672=_0x6afb,_0x4317f1=_0x489bf4();while(!![]){try{const _0x18bc85=parseInt(_0x43e672(0x178))/0x1*(parseInt(_0x43e672(0x1c0))/0x2)+parseInt(_0x43e672(0x1a9))/0x3*(-parseInt(_0x43e672(0x1b7))/0x4)+parseInt(_0x43e672(0x186))/0x5*(parseInt(_0x43e672(0x17e))/0x6)+-parseInt(_0x43e672(0x194))/0x7*(-parseInt(_0x43e672(0x1a3))/0x8)+-parseInt(_0x43e672(0x19a))/0x9*(-parseInt(_0x43e672(0x17b))/0xa)+parseInt(_0x43e672(0x168))/0xb+parseInt(_0x43e672(0x1ad))/0xc*(-parseInt(_0x43e672(0x1bb))/0xd);if(_0x18bc85===_0x403943)break;else _0x4317f1['push'](_0x4317f1['shift']());}catch(_0x67a605){_0x4317f1['push'](_0x4317f1['shift']());}}}(_0x2e8a,0xb6985));var require$$0=require(_0x5edeb8(0x181)),require$$1=require(_0x5edeb8(0x1b8));function getDefaultExportFromCjs(_0x547137){const _0x586fb3=_0x5edeb8;return _0x547137&&_0x547137[_0x586fb3(0x1a4)]&&Object[_0x586fb3(0x1c3)][_0x586fb3(0x1af)][_0x586fb3(0x18e)](_0x547137,_0x586fb3(0x19e))?_0x547137[_0x586fb3(0x19e)]:_0x547137;}var okdbViewsBootstrapWorker$1={},okdbEnums,hasRequiredOkdbEnums;function requireOkdbEnums(){const _0x1ab744=_0x5edeb8;if(hasRequiredOkdbEnums)return okdbEnums;hasRequiredOkdbEnums=0x1;const _0x4d5b3e={'PUT':_0x1ab744(0x17c),'REMOVE':'remove','INDEX_DROP':_0x1ab744(0x19d),'INDEX_REGISTER':_0x1ab744(0x1c1),'INDEX_RESET':_0x1ab744(0x184),'TYPE_REGISTER':_0x1ab744(0x17f),'TYPE_DROP':_0x1ab744(0x198),'FTS_REGISTER':_0x1ab744(0x18d),'FTS_DROP':_0x1ab744(0x170),'FTS_RESET':'resetFts','SCHEMA_SET':_0x1ab744(0x1a7),'SCHEMA_DROP':_0x1ab744(0x165),'TTL_SET':_0x1ab744(0x16c),'TTL_CLEAR':_0x1ab744(0x19c)},_0x1e92b9={'SYSTEM_READY':'system:ready','FIELD_RESOLVER_REGISTERED':_0x1ab744(0x187),'SYSTEM_STOPPED':_0x1ab744(0x1ac),'SYSTEM_CLOCK_CHANGE':_0x1ab744(0x18f),'SYSTEM_POKE':_0x1ab744(0x174),'SYSTEM_DRAIN':_0x1ab744(0x19b),'SYSTEM_TYPE_DROP':_0x1ab744(0x196),'SYSTEM_PROC':_0x1ab744(0x1ae),'SYSTEM_BUS_STATE_CHANGE':_0x1ab744(0x176),'ITEM_CREATE':_0x1ab744(0x1b5),'ITEM_UPDATE':'item:update','ITEM_REMOVE':_0x1ab744(0x195),'ITEM_PENDING':_0x1ab744(0x173),'INDEX_RESET':_0x1ab744(0x1a8),'INDEX_READY':_0x1ab744(0x1b6),'INDEX_PROGRESS':_0x1ab744(0x1bf),'VIEW_PROGRESS':_0x1ab744(0x1ba),'INDEX_DROP':'index:drop','INDEX_REGISTERED':_0x1ab744(0x171),'FTS_REGISTERED':_0x1ab744(0x192),'FTS_DROP':_0x1ab744(0x1ab),'FTS_RESET':_0x1ab744(0x16e),'SCHEMA_SET':_0x1ab744(0x183),'SCHEMA_DROP':_0x1ab744(0x1b2),'UNIQUE_VIOLATION':'unique:violation','UNIQUE_VIOLATION_RESOLVED':_0x1ab744(0x18b),'REF_VIOLATION':_0x1ab744(0x175),'REF_VIOLATION_RESOLVED':_0x1ab744(0x16d),'SYNC_APPLY':_0x1ab744(0x1b3),'TXN_START':'txn:start','TXN_END':'txn:end','TXN_ROLLBACK':_0x1ab744(0x182),'TYPE_REGISTERED':_0x1ab744(0x166),'TYPE_DROP':_0x1ab744(0x1a1),'ENV_OPENED':'env:opened','ENV_REMOVED':_0x1ab744(0x1b9),'SYSTEM_ENV_RELEASE':_0x1ab744(0x167),'TTL_EXPIRED':'ttl:expired','TTL_SET':_0x1ab744(0x1c2),'TTL_CLEAR':'ttl:clear','LICENSE_INVALID':_0x1ab744(0x172),'LICENSE_ADDED':'license:added','LICENSE_ACTIVATED':_0x1ab744(0x190),'LICENSE_REMOVED':'license:removed'},_0xa6fa39={'CREATING':_0x1ab744(0x1b4),'RESETTING':_0x1ab744(0x164),'READY':_0x1ab744(0x18a),'DROPPING':_0x1ab744(0x185),'WAITING':_0x1ab744(0x1bd),'ERROR':_0x1ab744(0x17a)},_0xa9ab06={'CREATED':_0x1ab744(0x1bc),'STARTING':'starting','STARTED':_0x1ab744(0x16a),'STOPPING':_0x1ab744(0x16f),'STOPPED':_0x1ab744(0x1b0)},_0x46c2f4={'CREATING':_0x1ab744(0x1b4),'READY':_0x1ab744(0x18a),'HALTED':_0x1ab744(0x19f),'STOPPED':_0x1ab744(0x1b0),'RESETTING':_0x1ab744(0x164)},_0x4d54fc=Object['freeze']({'POKE':_0x1ab744(0x1b1),'DRAIN':_0x1ab744(0x177),'TYPE_DROP':'bus:type_drop','PROC':_0x1ab744(0x193),'ENV_RELEASE':_0x1ab744(0x17d)});return okdbEnums={'BUS_EVENTS':_0x4d54fc,'CHANGE_ACTIONS':_0x4d5b3e,'EVENTS':_0x1e92b9,'INDEX_STATE':_0xa6fa39,'OKDB_STATE':_0xa9ab06,'VIEW_STATE':_0x46c2f4},okdbEnums;}var hasRequiredOkdbViewsBootstrapWorker;function _0x6afb(_0xca113,_0x7acaf3){_0xca113=_0xca113-0x163;const _0x2e8ab0=_0x2e8a();let _0x6afb5e=_0x2e8ab0[_0xca113];return _0x6afb5e;}function _0x2e8a(){const _0x395003=['unref','registerFts','call','system:clock_change','license:activated','cancel','fts:registered','bus:proc','497644cmxjwA','item:remove','system:type_drop','env','dropType','progress','1556469OreKTC','system:drain','clearTtl','dropIndex','default','halted','_activateViewStorage','type:drop','close','136VdNwSK','__esModule','message','VIEW_BOOTSTRAP_CANCELLED','setSchema','index:reset','294UeFFtU','postMessage','fts:drop','system:stopped','12cRsaUd','system:proc','hasOwnProperty','stopped','bus:poke','schema:drop','sync:apply','creating','item:create','index:ready','25548gipjnW','./okdb','env:removed','view:progress','23212501mLehPt','created','waiting','views','index:progress','1161022cySluT','registerIndex','ttl:set','prototype','events','resetting','dropSchema','type:registered','system:env_release','9132167dAopez','code','started','then','setTtl','ref:violation_resolved','fts:reset','stopping','dropFts','index:registered','license:invalid','item:pending','system:poke','ref:violation','system:bus_state_change','bus:drain','1NSgrIK','_prepareViewDict','error','20GwAgkA','put','bus:env_release','14214DPsPuN','registerType','VIEW_PROGRESS','worker_threads','txn:rollback','schema:set','resetIndex','dropping','410yOieqO','field:resolver_registered','exit','open','ready','unique:violation_resolved'];_0x2e8a=function(){return _0x395003;};return _0x2e8a();}function requireOkdbViewsBootstrapWorker(){const _0x1b8c55=_0x5edeb8;if(hasRequiredOkdbViewsBootstrapWorker)return okdbViewsBootstrapWorker$1;hasRequiredOkdbViewsBootstrapWorker=0x1;const {parentPort:_0x4ea71e,workerData:_0x2804a5}=require$$0,_0x2b6b73=require$$1,{EVENTS:_0x5e1ad1}=requireOkdbEnums();let _0x4bde7f=![];_0x4ea71e['on']('message',_0x41daf0=>{const _0x33286c=_0x6afb;if(_0x41daf0?.['type']===_0x33286c(0x191))_0x4bde7f=!![];});let _0x36f834=null;async function _0x513e96(){const _0x42c484=_0x6afb,_0x5579d8=_0x36f834;_0x36f834=null;if(!_0x5579d8)return;try{await Promise['race']([_0x5579d8[_0x42c484(0x1a2)](),new Promise(_0x346db2=>setTimeout(_0x346db2,0x1388)[_0x42c484(0x18c)]())]);}catch{}}async function _0x4c55f8(){const _0x3cb858=_0x6afb,{rootPath:_0x499641,envName:_0x4d3a63,viewName:_0x5ba827,definition:_0x4b7051,startClock:_0xd4abf8}=_0x2804a5;_0x36f834=new _0x2b6b73(_0x499641,{'admin':![],'mcp':![],'timeMachine':![],'engines':![],'processors':![],'compaction':![],'_skipBootRuntime':!![],'processes':![]}),await _0x36f834[_0x3cb858(0x189)]();if(_0x4bde7f)return'cancelled';const _0x5f5591=_0x36f834[_0x3cb858(0x197)](_0x4d3a63);return _0x5f5591[_0x3cb858(0x1be)]['_bootstrapCancelRequested']=()=>_0x4bde7f,_0x5f5591[_0x3cb858(0x163)]['on'](_0x5e1ad1[_0x3cb858(0x180)],_0x322c68=>{const _0x494b83=_0x3cb858;if(_0x322c68?.['name']!==_0x5ba827)return;try{_0x4ea71e[_0x494b83(0x1aa)]({'type':_0x494b83(0x199),'event':_0x322c68});}catch{}}),await _0x5f5591[_0x3cb858(0x1be)][_0x3cb858(0x179)](_0x4b7051),await _0x5f5591[_0x3cb858(0x1be)][_0x3cb858(0x1a0)](_0x5ba827,_0x4b7051),await _0x5f5591[_0x3cb858(0x1be)]['_runBootstrapScanPhases'](_0x5ba827,_0x4b7051,{'startClock':_0xd4abf8}),'done';}return _0x4c55f8()[_0x1b8c55(0x16b)](async _0x1d5a9d=>{const _0x212a2b=_0x1b8c55;await _0x513e96();try{_0x4ea71e[_0x212a2b(0x1aa)]({'type':_0x1d5a9d});}catch{}process[_0x212a2b(0x188)](0x0);},async _0x18e67c=>{const _0x1b283f=_0x1b8c55;await _0x513e96();const _0x4c5db4=_0x18e67c?.[_0x1b283f(0x169)]===_0x1b283f(0x1a6);try{_0x4ea71e['postMessage'](_0x4c5db4?{'type':'cancelled'}:{'type':_0x1b283f(0x17a),'error':_0x18e67c?.[_0x1b283f(0x1a5)]??String(_0x18e67c),'stack':_0x18e67c?.['stack']});}catch{}process['exit'](_0x4c5db4?0x0:0x1);}),okdbViewsBootstrapWorker$1;}var okdbViewsBootstrapWorkerExports=requireOkdbViewsBootstrapWorker(),okdbViewsBootstrapWorker=getDefaultExportFromCjs(okdbViewsBootstrapWorkerExports);module['exports']=okdbViewsBootstrapWorker;
1
+ 'use strict';const _0x90680=_0x5ecd;(function(_0x50641e,_0x235f69){const _0xd4b4b0=_0x5ecd,_0x17a617=_0x50641e();while(!![]){try{const _0x1ac5d6=parseInt(_0xd4b4b0(0x1f3))/0x1+-parseInt(_0xd4b4b0(0x21f))/0x2+-parseInt(_0xd4b4b0(0x21d))/0x3*(-parseInt(_0xd4b4b0(0x222))/0x4)+parseInt(_0xd4b4b0(0x231))/0x5*(parseInt(_0xd4b4b0(0x20b))/0x6)+parseInt(_0xd4b4b0(0x1ec))/0x7*(parseInt(_0xd4b4b0(0x1fa))/0x8)+parseInt(_0xd4b4b0(0x22f))/0x9*(-parseInt(_0xd4b4b0(0x247))/0xa)+-parseInt(_0xd4b4b0(0x1f0))/0xb;if(_0x1ac5d6===_0x235f69)break;else _0x17a617['push'](_0x17a617['shift']());}catch(_0x5c1d49){_0x17a617['push'](_0x17a617['shift']());}}}(_0xccbb,0x34269));var require$$0=require(_0x90680(0x20e)),require$$1=require(_0x90680(0x1f5));function getDefaultExportFromCjs(_0x4d6295){const _0x2e9935=_0x90680;return _0x4d6295&&_0x4d6295[_0x2e9935(0x227)]&&Object[_0x2e9935(0x212)][_0x2e9935(0x221)][_0x2e9935(0x1ea)](_0x4d6295,'default')?_0x4d6295[_0x2e9935(0x23e)]:_0x4d6295;}function _0x5ecd(_0x531394,_0x2dbb9a){_0x531394=_0x531394-0x1e9;const _0xccbb37=_0xccbb();let _0x5ecdf3=_0xccbb37[_0x531394];return _0x5ecdf3;}function _0xccbb(){const _0x5f3b9c=['license:removed','resetting','index:ready','exports','ttl:expired','fts:registered','567837RlXEPo','_bootstrapCancelRequested','283456WTRCql','item:update','hasOwnProperty','4AnsGrq','progress','then','stopped','system:type_drop','__esModule','starting','_prepareViewDict','race','field:resolver_registered','view:progress','cancel','system:drain','36ELupiB','ttl:clear','1616405DFEzLU','created','txn:start','ready','item:remove','error','schema:drop','txn:rollback','system:stopped','system:ready','views','sync:apply','index:progress','default','license:invalid','close','put','index:reset','_activateViewStorage','unref','resetFts','dropFts','21210jJFqRt','item:create','creating','message','call','dropSchema','1981VZEqlk','bus:type_drop','item:pending','open','7346394kbbfVm','name','started','197627POynxV','waiting','./okdb','bus:drain','registerFts','resetIndex','postMessage','9088JJsrmL','exit','license:activated','fts:reset','done','unique:violation_resolved','remove','env:opened','type','unique:violation','cancelled','index:registered','code','setSchema','env:removed','bus:proc','clearTtl','6OiYcvL','system:bus_state_change','ref:violation','worker_threads','setTtl','dropType','bus:poke','prototype','freeze','system:poke','bus:env_release','type:drop'];_0xccbb=function(){return _0x5f3b9c;};return _0xccbb();}var okdbViewsBootstrapWorker$1={},okdbEnums,hasRequiredOkdbEnums;function requireOkdbEnums(){const _0x65e76a=_0x90680;if(hasRequiredOkdbEnums)return okdbEnums;hasRequiredOkdbEnums=0x1;const _0x4d66c5={'PUT':_0x65e76a(0x241),'REMOVE':_0x65e76a(0x200),'INDEX_DROP':'dropIndex','INDEX_REGISTER':'registerIndex','INDEX_RESET':_0x65e76a(0x1f8),'TYPE_REGISTER':'registerType','TYPE_DROP':_0x65e76a(0x210),'FTS_REGISTER':_0x65e76a(0x1f7),'FTS_DROP':_0x65e76a(0x246),'FTS_RESET':_0x65e76a(0x245),'SCHEMA_SET':_0x65e76a(0x207),'SCHEMA_DROP':_0x65e76a(0x1eb),'TTL_SET':_0x65e76a(0x20f),'TTL_CLEAR':_0x65e76a(0x20a)},_0x3c1921={'SYSTEM_READY':_0x65e76a(0x23a),'FIELD_RESOLVER_REGISTERED':_0x65e76a(0x22b),'SYSTEM_STOPPED':_0x65e76a(0x239),'SYSTEM_CLOCK_CHANGE':'system:clock_change','SYSTEM_POKE':_0x65e76a(0x214),'SYSTEM_DRAIN':_0x65e76a(0x22e),'SYSTEM_TYPE_DROP':_0x65e76a(0x226),'SYSTEM_PROC':'system:proc','SYSTEM_BUS_STATE_CHANGE':_0x65e76a(0x20c),'ITEM_CREATE':_0x65e76a(0x248),'ITEM_UPDATE':_0x65e76a(0x220),'ITEM_REMOVE':_0x65e76a(0x235),'ITEM_PENDING':_0x65e76a(0x1ee),'INDEX_RESET':_0x65e76a(0x242),'INDEX_READY':_0x65e76a(0x219),'INDEX_PROGRESS':_0x65e76a(0x23d),'VIEW_PROGRESS':_0x65e76a(0x22c),'INDEX_DROP':'index:drop','INDEX_REGISTERED':_0x65e76a(0x205),'FTS_REGISTERED':_0x65e76a(0x21c),'FTS_DROP':'fts:drop','FTS_RESET':_0x65e76a(0x1fd),'SCHEMA_SET':'schema:set','SCHEMA_DROP':_0x65e76a(0x237),'UNIQUE_VIOLATION':_0x65e76a(0x203),'UNIQUE_VIOLATION_RESOLVED':_0x65e76a(0x1ff),'REF_VIOLATION':_0x65e76a(0x20d),'REF_VIOLATION_RESOLVED':'ref:violation_resolved','SYNC_APPLY':_0x65e76a(0x23c),'TXN_START':_0x65e76a(0x233),'TXN_END':'txn:end','TXN_ROLLBACK':_0x65e76a(0x238),'TYPE_REGISTERED':'type:registered','TYPE_DROP':_0x65e76a(0x216),'ENV_OPENED':_0x65e76a(0x201),'ENV_REMOVED':_0x65e76a(0x208),'SYSTEM_ENV_RELEASE':'system:env_release','TTL_EXPIRED':_0x65e76a(0x21b),'TTL_SET':'ttl:set','TTL_CLEAR':_0x65e76a(0x230),'LICENSE_INVALID':_0x65e76a(0x23f),'LICENSE_ADDED':'license:added','LICENSE_ACTIVATED':_0x65e76a(0x1fc),'LICENSE_REMOVED':_0x65e76a(0x217)},_0x43b4cf={'CREATING':'creating','RESETTING':_0x65e76a(0x218),'READY':_0x65e76a(0x234),'DROPPING':'dropping','WAITING':_0x65e76a(0x1f4),'ERROR':_0x65e76a(0x236)},_0x3d23a1={'CREATED':_0x65e76a(0x232),'STARTING':_0x65e76a(0x228),'STARTED':_0x65e76a(0x1f2),'STOPPING':'stopping','STOPPED':_0x65e76a(0x225)},_0x57511e={'CREATING':_0x65e76a(0x249),'READY':_0x65e76a(0x234),'HALTED':'halted','STOPPED':_0x65e76a(0x225),'RESETTING':_0x65e76a(0x218)},_0x255666=Object[_0x65e76a(0x213)]({'POKE':_0x65e76a(0x211),'DRAIN':_0x65e76a(0x1f6),'TYPE_DROP':_0x65e76a(0x1ed),'PROC':_0x65e76a(0x209),'ENV_RELEASE':_0x65e76a(0x215)});return okdbEnums={'BUS_EVENTS':_0x255666,'CHANGE_ACTIONS':_0x4d66c5,'EVENTS':_0x3c1921,'INDEX_STATE':_0x43b4cf,'OKDB_STATE':_0x3d23a1,'VIEW_STATE':_0x57511e},okdbEnums;}var hasRequiredOkdbViewsBootstrapWorker;function requireOkdbViewsBootstrapWorker(){const _0x685555=_0x90680;if(hasRequiredOkdbViewsBootstrapWorker)return okdbViewsBootstrapWorker$1;hasRequiredOkdbViewsBootstrapWorker=0x1;const {parentPort:_0x20ab45,workerData:_0x288d34}=require$$0,_0x5f3684=require$$1,{EVENTS:_0x5710fa}=requireOkdbEnums();let _0x5091c1=![];_0x20ab45['on'](_0x685555(0x1e9),_0x3f5295=>{const _0x54b163=_0x685555;if(_0x3f5295?.[_0x54b163(0x202)]===_0x54b163(0x22d))_0x5091c1=!![];});let _0x335ffb=null;async function _0x55a4fa(){const _0x4ea5a2=_0x685555,_0x48a77c=_0x335ffb;_0x335ffb=null;if(!_0x48a77c)return;try{await Promise[_0x4ea5a2(0x22a)]([_0x48a77c[_0x4ea5a2(0x240)](),new Promise(_0x1ce821=>setTimeout(_0x1ce821,0x1388)[_0x4ea5a2(0x244)]())]);}catch{}}async function _0x3410b1(){const _0x324e63=_0x685555,{rootPath:_0x36a1c3,envName:_0x570d66,viewName:_0x21f8f0,definition:_0x35d33d,startClock:_0x27c858}=_0x288d34;_0x335ffb=new _0x5f3684(_0x36a1c3,{'admin':![],'mcp':![],'timeMachine':![],'engines':![],'processors':![],'compaction':![],'_skipBootRuntime':!![],'processes':![]}),await _0x335ffb[_0x324e63(0x1ef)]();if(_0x5091c1)return _0x324e63(0x204);const _0xe5c3dd=_0x335ffb['env'](_0x570d66);return _0xe5c3dd['views'][_0x324e63(0x21e)]=()=>_0x5091c1,_0xe5c3dd['events']['on'](_0x5710fa['VIEW_PROGRESS'],_0x3e9273=>{const _0x34759b=_0x324e63;if(_0x3e9273?.[_0x34759b(0x1f1)]!==_0x21f8f0)return;try{_0x20ab45[_0x34759b(0x1f9)]({'type':_0x34759b(0x223),'event':_0x3e9273});}catch{}}),await _0xe5c3dd[_0x324e63(0x23b)][_0x324e63(0x229)](_0x35d33d),await _0xe5c3dd[_0x324e63(0x23b)][_0x324e63(0x243)](_0x21f8f0,_0x35d33d),await _0xe5c3dd[_0x324e63(0x23b)]['_runBootstrapScanPhases'](_0x21f8f0,_0x35d33d,{'startClock':_0x27c858}),_0x324e63(0x1fe);}return _0x3410b1()[_0x685555(0x224)](async _0x41803d=>{const _0x34b21e=_0x685555;await _0x55a4fa();try{_0x20ab45[_0x34b21e(0x1f9)]({'type':_0x41803d});}catch{}process['exit'](0x0);},async _0x2ef6f8=>{const _0x406283=_0x685555;await _0x55a4fa();const _0x2ee9c5=_0x2ef6f8?.[_0x406283(0x206)]==='VIEW_BOOTSTRAP_CANCELLED';try{_0x20ab45[_0x406283(0x1f9)](_0x2ee9c5?{'type':_0x406283(0x204)}:{'type':'error','error':_0x2ef6f8?.['message']??String(_0x2ef6f8),'stack':_0x2ef6f8?.['stack']});}catch{}process[_0x406283(0x1fb)](_0x2ee9c5?0x0:0x1);}),okdbViewsBootstrapWorker$1;}var okdbViewsBootstrapWorkerExports=requireOkdbViewsBootstrapWorker(),okdbViewsBootstrapWorker=getDefaultExportFromCjs(okdbViewsBootstrapWorkerExports);module[_0x90680(0x21a)]=okdbViewsBootstrapWorker;