@kedem/okdb 2.4.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 (234) hide show
  1. package/CHANGELOG.md +160 -0
  2. package/algorithm-worker-thread.js +1 -1
  3. package/bin/okdb.js +1 -1
  4. package/docs/auth-and-sync.md +2 -1
  5. package/docs/auth-permissions.md +31 -5
  6. package/docs/change-log.md +6 -6
  7. package/docs/licensing.md +6 -1
  8. package/docs/migration.md +60 -1
  9. package/docs/plugins.md +1 -1
  10. package/docs/processors.md +1 -1
  11. package/docs/subscriptions.md +6 -4
  12. package/docs/views.md +4 -0
  13. package/okdb-functions-sandbox-worker.js +1 -1
  14. package/okdb-http-worker-child.js +1 -1
  15. package/okdb-views-bootstrap-worker.js +1 -1
  16. package/okdb.js +1 -1
  17. package/package.json +1 -1
  18. package/public/admin-app.js +1 -1
  19. package/public/components/schema-edit-modal.ok.js +1 -0
  20. package/public/core/db/db-section.ok.html +1 -0
  21. package/public/core/db/modals/add-item-modal.ok.js +1 -0
  22. package/public/core/db/modals/create-fts-modal.ok.js +1 -0
  23. package/public/core/db/modals/create-index-modal.ok.js +1 -0
  24. package/public/core/db/parts/db-overview.ok.js +1 -0
  25. package/public/core/db/parts/edit-row.ok.js +1 -0
  26. package/public/core/db/parts/type-changelog.ok.js +1 -0
  27. package/public/core/db/parts/type-data-tab.ok.js +1 -0
  28. package/public/core/db/parts/type-list.ok.js +1 -0
  29. package/public/core/db/parts/type-manage-tab.ok.js +1 -0
  30. package/public/core/db/parts/type-schema-tab.ok.js +1 -0
  31. package/public/core/db/parts/type-viewer.ok.js +1 -0
  32. package/public/core/db/type-ops.js +1 -0
  33. package/public/core/docs/docs-page.ok.html +1 -0
  34. package/public/core/license/license-panel.ok.js +1 -0
  35. package/public/core/system/parts/system-log.ok.js +1 -0
  36. package/public/core/system/parts/system-processing-panel.ok.js +1 -0
  37. package/public/core/system/parts/system-storage-panel.ok.js +1 -0
  38. package/public/core/system/system-events-page.ok.js +1 -0
  39. package/public/core/system/system-logs-page.ok.js +1 -0
  40. package/public/core/system/system-overview-page.ok.html +1 -0
  41. package/public/core/system/system-runtime-page.ok.js +1 -0
  42. package/public/core/system/system-section.ok.html +1 -0
  43. package/public/features/api/api-panel.ok.js +1 -0
  44. package/public/features/api/index.js +1 -0
  45. package/public/features/auth/auth-panel.ok.js +1 -0
  46. package/public/features/auth/index.js +1 -0
  47. package/public/features/files/files-section.ok.html +1 -0
  48. package/public/features/files/index.js +1 -0
  49. package/public/features/files/parts/files-file-list.ok.js +1 -0
  50. package/public/features/files/parts/files-path-browser.ok.js +1 -0
  51. package/public/features/files/parts/files-preview.ok.js +1 -0
  52. package/public/features/files/parts/files-upload-panel.ok.js +1 -0
  53. package/public/features/functions/exports.js +1 -0
  54. package/public/features/functions/functions-section.ok.html +1 -0
  55. package/public/features/functions/functions-store.js +1 -0
  56. package/public/features/functions/index.js +1 -0
  57. package/public/features/functions/modals/function-modal.ok.js +1 -0
  58. package/public/features/functions/parts/function-detail.ok.js +1 -0
  59. package/public/features/functions/parts/function-logs.ok.js +1 -0
  60. package/public/features/functions/parts/function-runner.ok.js +1 -0
  61. package/public/features/pipelines/engine-ui-utils.js +1 -0
  62. package/public/features/pipelines/exports.js +1 -0
  63. package/public/features/pipelines/index.js +1 -0
  64. package/public/features/pipelines/modals/create-pipeline-modal.ok.js +1 -0
  65. package/public/features/pipelines/modals/edit-pipeline-modal.ok.js +1 -0
  66. package/public/features/pipelines/modals/engine-modal.ok.js +1 -0
  67. package/public/features/pipelines/parts/embed-create-panel.ok.js +1 -0
  68. package/public/features/pipelines/parts/embed-embedder-panel.ok.js +1 -0
  69. package/public/features/pipelines/parts/embed-indexer-panel.ok.js +1 -0
  70. package/public/features/pipelines/parts/embed-search-panel.ok.js +1 -0
  71. package/public/features/pipelines/parts/embed-worker-panel.ok.js +1 -0
  72. package/public/features/pipelines/parts/embeddings-engine-panel.ok.js +1 -0
  73. package/public/features/pipelines/parts/engine-declaration-editor.ok.js +1 -0
  74. package/public/features/pipelines/parts/engines-overview.ok.js +1 -0
  75. package/public/features/pipelines/parts/generic-engine-panel.ok.js +1 -0
  76. package/public/features/pipelines/parts/pipeline-create-panel.ok.js +1 -0
  77. package/public/features/pipelines/parts/pipeline-flow-strip.ok.js +1 -0
  78. package/public/features/pipelines/parts/type-pipelines-tab.ok.js +1 -0
  79. package/public/features/pipelines/pipelines-section.ok.html +1 -0
  80. package/public/features/queue/index.js +1 -0
  81. package/public/features/queue/modals/create-bucket-modal.ok.js +1 -0
  82. package/public/features/queue/modals/edit-bucket-modal.ok.js +1 -0
  83. package/public/features/queue/modals/edit-job-modal.ok.js +1 -0
  84. package/public/features/queue/modals/enqueue-job-modal.ok.js +1 -0
  85. package/public/features/queue/modals/job-type-modal.ok.js +1 -0
  86. package/public/features/queue/parts/job-log-panel.ok.js +1 -0
  87. package/public/features/queue/parts/queue-buckets.ok.js +1 -0
  88. package/public/features/queue/parts/queue-job-types.ok.js +1 -0
  89. package/public/features/queue/parts/queue-jobs.ok.js +1 -0
  90. package/public/features/queue/parts/queue-types.ok.js +1 -0
  91. package/public/features/queue/parts/queue-workers.ok.js +1 -0
  92. package/public/features/queue/queue-section.ok.html +1 -0
  93. package/public/features/sync/index.js +1 -0
  94. package/public/features/sync/sync-panel.ok.js +1 -0
  95. package/public/features/views/index.js +1 -0
  96. package/public/features/views/modals/create-view-modal.ok.js +1 -0
  97. package/public/features/views/parts/views-list.ok.js +1 -0
  98. package/public/features/views/parts/views-overview.ok.js +1 -0
  99. package/public/features/views/views-section.ok.html +1 -0
  100. package/public/features/views/views-store.js +1 -0
  101. package/public/index.html +9 -3
  102. package/public/modules/ok.js +1 -1
  103. package/public/shell/admin-shell.ok.html +3 -0
  104. package/public/shell/core-manifest.js +1 -0
  105. package/public/shell/shell-piece.ok.js +1 -0
  106. package/public/shell/shell-section-host.ok.js +1 -0
  107. package/public/shell/shell-section.ok.js +1 -0
  108. package/public/shell/shell-store.js +1 -0
  109. package/public/stores/auth-store.js +1 -1
  110. package/public/stores/okdb-store.js +1 -1
  111. package/public/stores/storage-store.js +1 -0
  112. package/public/styles.css +1 -1
  113. package/public/vendor/okjs/ok.esm.min.js +1 -1
  114. package/public/vendor/okjs/toolkit/components/ok-chart.ok.js +1 -1
  115. package/public/vendor/okjs/toolkit/components/ok-doc-viewer.ok.js +1 -1
  116. package/public/vendor/okjs/toolkit/components/ok-marked.ok.js +1 -1
  117. package/public/vendor/okjs/toolkit/components/ok-monaco.ok.js +1 -1
  118. package/types/okdb.d.ts +20 -0
  119. package/public/components/admin-route-host.ok.js +0 -1
  120. package/public/components/field.html +0 -158
  121. package/public/layouts/_default.ok.html +0 -3
  122. package/public/sections/api/index.ok.html +0 -1
  123. package/public/sections/auth/index.ok.html +0 -1
  124. package/public/sections/auth/modals/perm-info-popover.ok.js +0 -1
  125. package/public/sections/db/index.ok.html +0 -1
  126. package/public/sections/db/modals/add-item-modal.ok.js +0 -1
  127. package/public/sections/db/modals/create-fts-modal.ok.js +0 -1
  128. package/public/sections/db/modals/create-index-modal.ok.js +0 -1
  129. package/public/sections/db/modals/create-pipeline-modal.ok.js +0 -1
  130. package/public/sections/db/modals/schema-edit-modal.ok.js +0 -1
  131. package/public/sections/db/parts/db-overview.ok.js +0 -1
  132. package/public/sections/db/parts/edit-row.ok.js +0 -1
  133. package/public/sections/db/parts/type-changelog.ok.js +0 -1
  134. package/public/sections/db/parts/type-list.ok.js +0 -1
  135. package/public/sections/db/parts/type-pipelines-tab.ok.js +0 -1
  136. package/public/sections/db/parts/type-schema-tab.ok.js +0 -1
  137. package/public/sections/db/parts/type-viewer.ok.js +0 -1
  138. package/public/sections/db/parts/type-violations-tab.ok.js +0 -1
  139. package/public/sections/docs/index.ok.html +0 -1
  140. package/public/sections/embeddings/index.ok.html +0 -1
  141. package/public/sections/embeddings/modals/edit-pipeline-modal.ok.js +0 -1
  142. package/public/sections/embeddings/parts/embed-create-panel.ok.js +0 -1
  143. package/public/sections/embeddings/parts/embed-embedder-panel.ok.js +0 -1
  144. package/public/sections/embeddings/parts/embed-engine-declaration-editor.ok.js +0 -1
  145. package/public/sections/embeddings/parts/embed-engine-list.ok.js +0 -1
  146. package/public/sections/embeddings/parts/embed-indexer-panel.ok.js +0 -1
  147. package/public/sections/embeddings/parts/embed-lifecycle-bar.ok.js +0 -1
  148. package/public/sections/embeddings/parts/embed-overview.ok.js +0 -1
  149. package/public/sections/embeddings/parts/embed-search-panel.ok.js +0 -1
  150. package/public/sections/embeddings/parts/embed-worker-panel.ok.js +0 -1
  151. package/public/sections/embeddings/parts/embeddings-engine-panel.ok.js +0 -1
  152. package/public/sections/embeddings/parts/engines-overview.ok.js +0 -1
  153. package/public/sections/embeddings/parts/pipeline-create-panel.ok.js +0 -1
  154. package/public/sections/embeddings/parts/pipeline-flow-strip.ok.js +0 -1
  155. package/public/sections/engines/engine-ui-utils.js +0 -1
  156. package/public/sections/engines/index.ok.html +0 -1
  157. package/public/sections/engines/modals/engine-modal.ok.js +0 -1
  158. package/public/sections/engines/parts/engine-declaration-editor.ok.js +0 -1
  159. package/public/sections/engines/parts/generic-engine-panel.ok.js +0 -1
  160. package/public/sections/files/index.ok.html +0 -1
  161. package/public/sections/files/parts/files-collection-list.ok.js +0 -1
  162. package/public/sections/files/parts/files-collection-panel.ok.js +0 -1
  163. package/public/sections/files/parts/files-file-list.ok.js +0 -1
  164. package/public/sections/files/parts/files-path-browser.ok.js +0 -1
  165. package/public/sections/files/parts/files-preview.ok.js +0 -1
  166. package/public/sections/files/parts/files-upload-panel.ok.js +0 -1
  167. package/public/sections/functions/index.ok.html +0 -1
  168. package/public/sections/functions/modals/function-modal.ok.js +0 -1
  169. package/public/sections/functions/parts/function-detail.ok.js +0 -1
  170. package/public/sections/functions/parts/function-logs.ok.js +0 -1
  171. package/public/sections/functions/parts/function-runner.ok.js +0 -1
  172. package/public/sections/license/index.ok.html +0 -1
  173. package/public/sections/license/parts/license-panel.ok.js +0 -1
  174. package/public/sections/queue/index.ok.html +0 -1
  175. package/public/sections/queue/modals/create-bucket-modal.ok.js +0 -1
  176. package/public/sections/queue/modals/edit-bucket-modal.ok.js +0 -1
  177. package/public/sections/queue/modals/edit-job-modal.ok.js +0 -1
  178. package/public/sections/queue/modals/enqueue-job-modal.ok.js +0 -1
  179. package/public/sections/queue/modals/job-type-modal.ok.js +0 -1
  180. package/public/sections/queue/parts/job-log-panel.ok.js +0 -1
  181. package/public/sections/queue/parts/ok-job-form.ok.js +0 -1
  182. package/public/sections/queue/parts/queue-buckets.ok.js +0 -1
  183. package/public/sections/queue/parts/queue-job-types.ok.js +0 -1
  184. package/public/sections/queue/parts/queue-jobs.ok.js +0 -1
  185. package/public/sections/queue/parts/queue-types.ok.js +0 -1
  186. package/public/sections/queue/parts/queue-workers.ok.js +0 -1
  187. package/public/sections/sync/index.ok.html +0 -5
  188. package/public/sections/sync/parts/sync-node-detail.ok.js +0 -1
  189. package/public/sections/system/index.ok.html +0 -1
  190. package/public/sections/system/parts/system-api-panel.ok.js +0 -1
  191. package/public/sections/system/parts/system-auth-panel.ok.js +0 -1
  192. package/public/sections/system/parts/system-log.ok.js +0 -1
  193. package/public/sections/system/parts/system-processing-panel.ok.js +0 -1
  194. package/public/sections/system/parts/system-status.ok.js +0 -1
  195. package/public/sections/system/parts/system-storage-panel.ok.js +0 -1
  196. package/public/sections/system/parts/system-sync-panel.ok.js +0 -1
  197. package/public/sections/views/index.ok.html +0 -1
  198. package/public/sections/views/modals/create-view-modal.ok.js +0 -1
  199. package/public/sections/views/parts/views-list.ok.js +0 -1
  200. package/public/sections/views/parts/views-overview.ok.js +0 -1
  201. package/public/stores/functions-store.js +0 -1
  202. /package/public/{sections → core}/db/parts/tm-timeline.ok.js +0 -0
  203. /package/public/{util → core/db}/sift-schema.js +0 -0
  204. /package/public/{view-models → core/db}/type-query-vm.js +0 -0
  205. /package/public/{sections → core}/system/modals/data-ops-modal.ok.js +0 -0
  206. /package/public/{sections → core}/system/parts/system-locks-panel.ok.js +0 -0
  207. /package/public/{sections → core}/system/parts/system-log-history.ok.js +0 -0
  208. /package/public/{sections → core}/system/parts/system-process-panel.ok.js +0 -0
  209. /package/public/{sections → core}/system/parts/system-runtime-overview.ok.js +0 -0
  210. /package/public/{sections → features}/api/parts/api-endpoint.ok.js +0 -0
  211. /package/public/{sections → features}/auth/modals/create-token-modal.ok.js +0 -0
  212. /package/public/{sections → features}/auth/modals/edit-token-modal.ok.js +0 -0
  213. /package/public/{sections → features}/auth/parts/token-detail.ok.js +0 -0
  214. /package/public/{sections → features}/auth/parts/token-list.ok.js +0 -0
  215. /package/public/{sections → features}/files/parts/files-blob-status.ok.js +0 -0
  216. /package/public/{sections → features}/files/parts/files-overview.ok.js +0 -0
  217. /package/public/{sections → features}/functions/parts/functions-list.ok.js +0 -0
  218. /package/public/{sections/engines → features/pipelines}/engine-panel-shared-style.js +0 -0
  219. /package/public/{sections/embeddings → features/pipelines}/modals/register-model-modal.ok.js +0 -0
  220. /package/public/{sections/embeddings → features/pipelines}/modals/replace-embedder-modal.ok.js +0 -0
  221. /package/public/{sections/embeddings → features/pipelines}/parts/embed-model-catalog.ok.js +0 -0
  222. /package/public/{sections/engines → features/pipelines}/parts/engine-lifecycle-actions.ok.js +0 -0
  223. /package/public/{sections/engines → features/pipelines}/parts/engine-panel-shell.ok.js +0 -0
  224. /package/public/{sections/engines → features/pipelines}/parts/engine-resource-card.ok.js +0 -0
  225. /package/public/{sections/engines → features/pipelines}/parts/engine-row-item.ok.js +0 -0
  226. /package/public/{sections/embeddings → features/pipelines}/parts/pipeline-try-search.ok.js +0 -0
  227. /package/public/{sections → features}/queue/parts/code-panel.ok.js +0 -0
  228. /package/public/{sections → features}/sync/modals/connect-peer-modal.ok.js +0 -0
  229. /package/public/{sections → features}/sync/parts/sync-retention.ok.js +0 -0
  230. /package/public/{sections → features}/sync/parts/sync-topology.ok.js +0 -0
  231. /package/public/{sections → features}/views/parts/view-detail.ok.js +0 -0
  232. /package/public/{sections/db → shell}/modals/create-env-modal.ok.js +0 -0
  233. /package/public/{sections/db → shell}/modals/demo-env-modal.ok.js +0 -0
  234. /package/public/{sections/db → shell}/modals/remove-env-modal.ok.js +0 -0
@@ -1 +1 @@
1
- 'use strict';const _0x3f18a5=_0x48f2;(function(_0x16eee9,_0x5831f4){const _0x3599e2=_0x48f2,_0x39fb45=_0x16eee9();while(!![]){try{const _0x4ba972=-parseInt(_0x3599e2(0xa3))/0x1*(-parseInt(_0x3599e2(0xb3))/0x2)+parseInt(_0x3599e2(0xcf))/0x3+-parseInt(_0x3599e2(0x86))/0x4+-parseInt(_0x3599e2(0xba))/0x5+parseInt(_0x3599e2(0xa6))/0x6+-parseInt(_0x3599e2(0xbf))/0x7+parseInt(_0x3599e2(0x91))/0x8*(parseInt(_0x3599e2(0x8d))/0x9);if(_0x4ba972===_0x5831f4)break;else _0x39fb45['push'](_0x39fb45['shift']());}catch(_0x5e30fd){_0x39fb45['push'](_0x39fb45['shift']());}}}(_0x1adb,0x977b3));var require$$0=require('worker_threads'),require$$1=require(_0x3f18a5(0xcd));function _0x1adb(){const _0xe73346=['./okdb','system:clock_change','3082008GTUocO','_bootstrapCancelRequested','created','type','exports','ready','views','type:registered','item:pending','unref','bus:proc','system:stopped','dropIndex','dropFts','unique:violation_resolved','code','field:resolver_registered','schema:drop','system:drain','index:progress','registerFts','fts:registered','3433140qoGUqV','race','registerType','bus:env_release','index:drop','license:invalid','system:proc','706059gRjKod','bus:type_drop','waiting','message','72JHnnPk','fts:reset','clearTtl','ref:violation','stopped','txn:end','cancelled','type:drop','index:ready','VIEW_PROGRESS','resetting','license:activated','system:ready','error','postMessage','creating','txn:start','dropping','2666JwNLqi','_prepareViewDict','item:update','1354602eukoFi','stopping','system:env_release','env','resetIndex','schema:set','open','resetFts','exit','index:reset','VIEW_BOOTSTRAP_CANCELLED','cancel','freeze','146ssWVkP','name','setTtl','put','index:registered','stack','fts:drop','455005pWBxlA','prototype','started','dropType','txn:rollback','4088189cVxNxv','dropSchema','item:remove','sync:apply','call','license:added','ref:violation_resolved','_runBootstrapScanPhases','default','_activateViewStorage','env:removed','system:type_drop','done','item:create'];_0x1adb=function(){return _0xe73346;};return _0x1adb();}function getDefaultExportFromCjs(_0x73c908){const _0x587d7a=_0x3f18a5;return _0x73c908&&_0x73c908['__esModule']&&Object[_0x587d7a(0xbb)]['hasOwnProperty'][_0x587d7a(0xc3)](_0x73c908,_0x587d7a(0xc7))?_0x73c908['default']:_0x73c908;}var okdbViewsBootstrapWorker$1={},okdbEnums,hasRequiredOkdbEnums;function requireOkdbEnums(){const _0x27dd4a=_0x3f18a5;if(hasRequiredOkdbEnums)return okdbEnums;hasRequiredOkdbEnums=0x1;const _0x3b65ae={'PUT':_0x27dd4a(0xb6),'REMOVE':'remove','INDEX_DROP':_0x27dd4a(0xdb),'INDEX_REGISTER':'registerIndex','INDEX_RESET':_0x27dd4a(0xaa),'TYPE_REGISTER':_0x27dd4a(0x88),'TYPE_DROP':_0x27dd4a(0xbd),'FTS_REGISTER':_0x27dd4a(0x84),'FTS_DROP':_0x27dd4a(0xdc),'FTS_RESET':_0x27dd4a(0xad),'SCHEMA_SET':'setSchema','SCHEMA_DROP':_0x27dd4a(0xc0),'TTL_SET':_0x27dd4a(0xb5),'TTL_CLEAR':_0x27dd4a(0x93)},_0x94f82={'SYSTEM_READY':_0x27dd4a(0x9d),'FIELD_RESOLVER_REGISTERED':_0x27dd4a(0xdf),'SYSTEM_STOPPED':_0x27dd4a(0xda),'SYSTEM_CLOCK_CHANGE':_0x27dd4a(0xce),'SYSTEM_POKE':'system:poke','SYSTEM_DRAIN':_0x27dd4a(0xe1),'SYSTEM_TYPE_DROP':_0x27dd4a(0xca),'SYSTEM_PROC':_0x27dd4a(0x8c),'SYSTEM_BUS_STATE_CHANGE':'system:bus_state_change','ITEM_CREATE':_0x27dd4a(0xcc),'ITEM_UPDATE':_0x27dd4a(0xa5),'ITEM_REMOVE':_0x27dd4a(0xc1),'ITEM_PENDING':_0x27dd4a(0xd7),'INDEX_RESET':_0x27dd4a(0xaf),'INDEX_READY':_0x27dd4a(0x99),'INDEX_PROGRESS':_0x27dd4a(0x83),'VIEW_PROGRESS':'view:progress','INDEX_DROP':_0x27dd4a(0x8a),'INDEX_REGISTERED':_0x27dd4a(0xb7),'FTS_REGISTERED':_0x27dd4a(0x85),'FTS_DROP':_0x27dd4a(0xb9),'FTS_RESET':_0x27dd4a(0x92),'SCHEMA_SET':_0x27dd4a(0xab),'SCHEMA_DROP':_0x27dd4a(0xe0),'UNIQUE_VIOLATION':'unique:violation','UNIQUE_VIOLATION_RESOLVED':_0x27dd4a(0xdd),'REF_VIOLATION':_0x27dd4a(0x94),'REF_VIOLATION_RESOLVED':_0x27dd4a(0xc5),'SYNC_APPLY':_0x27dd4a(0xc2),'TXN_START':_0x27dd4a(0xa1),'TXN_END':_0x27dd4a(0x96),'TXN_ROLLBACK':_0x27dd4a(0xbe),'TYPE_REGISTERED':_0x27dd4a(0xd6),'TYPE_DROP':_0x27dd4a(0x98),'ENV_OPENED':'env:opened','ENV_REMOVED':_0x27dd4a(0xc9),'SYSTEM_ENV_RELEASE':_0x27dd4a(0xa8),'TTL_EXPIRED':'ttl:expired','TTL_SET':'ttl:set','TTL_CLEAR':'ttl:clear','LICENSE_INVALID':_0x27dd4a(0x8b),'LICENSE_ADDED':_0x27dd4a(0xc4),'LICENSE_ACTIVATED':_0x27dd4a(0x9c),'LICENSE_REMOVED':'license:removed'},_0x111908={'CREATING':_0x27dd4a(0xa0),'RESETTING':_0x27dd4a(0x9b),'READY':_0x27dd4a(0xd4),'DROPPING':_0x27dd4a(0xa2),'WAITING':_0x27dd4a(0x8f),'ERROR':_0x27dd4a(0x9e)},_0x22b789={'CREATED':_0x27dd4a(0xd1),'STARTING':'starting','STARTED':_0x27dd4a(0xbc),'STOPPING':_0x27dd4a(0xa7),'STOPPED':_0x27dd4a(0x95)},_0x375b3c={'CREATING':_0x27dd4a(0xa0),'READY':_0x27dd4a(0xd4),'HALTED':'halted','STOPPED':'stopped','RESETTING':_0x27dd4a(0x9b)},_0x580b4d=Object[_0x27dd4a(0xb2)]({'POKE':'bus:poke','DRAIN':'bus:drain','TYPE_DROP':_0x27dd4a(0x8e),'PROC':_0x27dd4a(0xd9),'ENV_RELEASE':_0x27dd4a(0x89)});return okdbEnums={'BUS_EVENTS':_0x580b4d,'CHANGE_ACTIONS':_0x3b65ae,'EVENTS':_0x94f82,'INDEX_STATE':_0x111908,'OKDB_STATE':_0x22b789,'VIEW_STATE':_0x375b3c},okdbEnums;}var hasRequiredOkdbViewsBootstrapWorker;function _0x48f2(_0x1edb8b,_0x1d3358){_0x1edb8b=_0x1edb8b-0x83;const _0x1adb21=_0x1adb();let _0x48f2c6=_0x1adb21[_0x1edb8b];return _0x48f2c6;}function requireOkdbViewsBootstrapWorker(){const _0x486e5d=_0x3f18a5;if(hasRequiredOkdbViewsBootstrapWorker)return okdbViewsBootstrapWorker$1;hasRequiredOkdbViewsBootstrapWorker=0x1;const {parentPort:_0x36f530,workerData:_0x3ad1a8}=require$$0,_0x2f6046=require$$1,{EVENTS:_0xa001e}=requireOkdbEnums();let _0x3664c7=![];_0x36f530['on'](_0x486e5d(0x90),_0x1269a8=>{const _0x327f2d=_0x486e5d;if(_0x1269a8?.[_0x327f2d(0xd2)]===_0x327f2d(0xb1))_0x3664c7=!![];});let _0x31d6a7=null;async function _0x221b06(){const _0x16d189=_0x486e5d,_0x51993f=_0x31d6a7;_0x31d6a7=null;if(!_0x51993f)return;try{await Promise[_0x16d189(0x87)]([_0x51993f['close'](),new Promise(_0x29a2d0=>setTimeout(_0x29a2d0,0x1388)[_0x16d189(0xd8)]())]);}catch{}}async function _0x46047b(){const _0x2b2d59=_0x486e5d,{rootPath:_0x27711e,envName:_0x4fd600,viewName:_0x4d3a3f,definition:_0x257051,startClock:_0x552aeb}=_0x3ad1a8;_0x31d6a7=new _0x2f6046(_0x27711e,{'admin':![],'mcp':![],'timeMachine':![],'engines':![],'processors':![],'compaction':![],'_skipBootRuntime':!![],'processes':![]}),await _0x31d6a7[_0x2b2d59(0xac)]();if(_0x3664c7)return'cancelled';const _0x5cc10b=_0x31d6a7[_0x2b2d59(0xa9)](_0x4fd600);return _0x5cc10b[_0x2b2d59(0xd5)][_0x2b2d59(0xd0)]=()=>_0x3664c7,_0x5cc10b['events']['on'](_0xa001e[_0x2b2d59(0x9a)],_0x5b813a=>{const _0x255b7b=_0x2b2d59;if(_0x5b813a?.[_0x255b7b(0xb4)]!==_0x4d3a3f)return;try{_0x36f530[_0x255b7b(0x9f)]({'type':'progress','event':_0x5b813a});}catch{}}),await _0x5cc10b['views'][_0x2b2d59(0xa4)](_0x257051),await _0x5cc10b['views'][_0x2b2d59(0xc8)](_0x4d3a3f,_0x257051),await _0x5cc10b[_0x2b2d59(0xd5)][_0x2b2d59(0xc6)](_0x4d3a3f,_0x257051,{'startClock':_0x552aeb}),_0x2b2d59(0xcb);}return _0x46047b()['then'](async _0x1e94c5=>{const _0x194e5f=_0x486e5d;await _0x221b06();try{_0x36f530[_0x194e5f(0x9f)]({'type':_0x1e94c5});}catch{}process['exit'](0x0);},async _0x2e278b=>{const _0x21e247=_0x486e5d;await _0x221b06();const _0x9a8d9a=_0x2e278b?.[_0x21e247(0xde)]===_0x21e247(0xb0);try{_0x36f530[_0x21e247(0x9f)](_0x9a8d9a?{'type':_0x21e247(0x97)}:{'type':_0x21e247(0x9e),'error':_0x2e278b?.[_0x21e247(0x90)]??String(_0x2e278b),'stack':_0x2e278b?.[_0x21e247(0xb8)]});}catch{}process[_0x21e247(0xae)](_0x9a8d9a?0x0:0x1);}),okdbViewsBootstrapWorker$1;}var okdbViewsBootstrapWorkerExports=requireOkdbViewsBootstrapWorker(),okdbViewsBootstrapWorker=getDefaultExportFromCjs(okdbViewsBootstrapWorkerExports);module[_0x3f18a5(0xd3)]=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;