datahike 0.8.1812 → 0.8.1813

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 (103) hide show
  1. package/boring.data.js +3 -3
  2. package/boring.options.js +4 -4
  3. package/browser/datahike.js +3770 -3765
  4. package/cljs.cache.js +5 -5
  5. package/cljs.cache.wrapped.js +2 -2
  6. package/cljs.core.async.impl.channels.js +2 -2
  7. package/cljs.core.async.impl.ioc_helpers.js +1 -1
  8. package/cljs.core.async.impl.timers.js +3 -3
  9. package/cljs.core.async.js +9 -9
  10. package/cljs.core.js +340 -340
  11. package/cljs.reader.js +9 -9
  12. package/cljs.spec.alpha.js +63 -63
  13. package/cljs.tools.reader.edn.js +20 -20
  14. package/cljs.tools.reader.impl.commons.js +3 -3
  15. package/cljs.tools.reader.impl.errors.js +6 -6
  16. package/cljs.tools.reader.impl.inspect.js +4 -4
  17. package/cljs.tools.reader.impl.utils.js +2 -2
  18. package/cljs_env.js +5 -5
  19. package/cljs_node_io.core.js +9 -9
  20. package/cljs_node_io.file.js +21 -21
  21. package/cljs_node_io.fs.js +1 -1
  22. package/clojure.data.js +7 -7
  23. package/clojure.string.js +6 -6
  24. package/clojure.walk.js +26 -27
  25. package/datahike.api.impl.js +31 -31
  26. package/datahike.api.js +14 -14
  27. package/datahike.api.specification.js +80 -80
  28. package/datahike.api.types.js +17 -17
  29. package/datahike.array.js +5 -5
  30. package/datahike.config.js +30 -30
  31. package/datahike.connections.js +4 -4
  32. package/datahike.connector.js +79 -79
  33. package/datahike.constants.js +2 -2
  34. package/datahike.core.js +1 -1
  35. package/datahike.datom.js +9 -9
  36. package/datahike.db.interface.js +8 -8
  37. package/datahike.db.js +61 -61
  38. package/datahike.db.search.js +39 -39
  39. package/datahike.db.transaction.js +1 -1
  40. package/datahike.db.utils.js +29 -29
  41. package/datahike.gc.js +12 -12
  42. package/datahike.gc_guard.js +1 -1
  43. package/datahike.gc_roots.js +1 -1
  44. package/datahike.impl.entity.js +12 -12
  45. package/datahike.index.interface.js +11 -11
  46. package/datahike.index.persistent_set.js +154 -154
  47. package/datahike.index.persistent_set.warm.js +1 -1
  48. package/datahike.index.secondary.js +3 -3
  49. package/datahike.js.api.js +230 -230
  50. package/datahike.lru.js +4 -4
  51. package/datahike.online_gc.js +3 -3
  52. package/datahike.optimistic.js +13 -13
  53. package/datahike.pull_api.js +3 -3
  54. package/datahike.query.estimate.js +1 -1
  55. package/datahike.query.execute.js +1 -1
  56. package/datahike.query.js +1257 -1257
  57. package/datahike.query.lower.js +2 -2
  58. package/datahike.query.plan.js +1 -1
  59. package/datahike.query.relation.js +1 -1
  60. package/datahike.query_stats.js +1 -1
  61. package/datahike.readers.js +12 -12
  62. package/datahike.schema.js +22 -22
  63. package/datahike.schema_cache.js +3 -3
  64. package/datahike.store.js +55 -55
  65. package/datahike.tools.js +2 -2
  66. package/datahike.tx_preds.js +1 -1
  67. package/datahike.versioning.js +4 -4
  68. package/datahike.writer.js +714 -708
  69. package/datahike.writing.js +49 -49
  70. package/datalog.parser.impl.js +1 -1
  71. package/datalog.parser.pull.js +2 -2
  72. package/datalog.parser.type.js +17 -17
  73. package/environ.core.js +4 -4
  74. package/fress.reader.js +3 -3
  75. package/fress.util.js +6 -6
  76. package/fress.writer.js +7 -7
  77. package/hasch.benc.js +2 -2
  78. package/hasch.core.js +6 -6
  79. package/hasch.platform.js +13 -13
  80. package/is.simm.partial_cps.sequence.js +5 -5
  81. package/konserve.compressor.js +9 -9
  82. package/konserve.core.js +35 -35
  83. package/konserve.encryptor.js +6 -6
  84. package/konserve.gc.js +1 -1
  85. package/konserve.impl.defaults.js +4 -4
  86. package/konserve.node_filestore.js +530 -530
  87. package/konserve.protocols.js +1 -1
  88. package/konserve.serializers.js +13 -13
  89. package/konserve.store.js +73 -73
  90. package/konserve.tiered.js +1 -1
  91. package/konserve.utils.js +3 -3
  92. package/malli.core.js +201 -201
  93. package/malli.error.js +31 -31
  94. package/malli.impl.regex.js +1 -1
  95. package/org.replikativ.persistent_sorted_set.btset.js +331 -331
  96. package/org.replikativ.persistent_sorted_set.fressian.js +4 -4
  97. package/package.json +1 -1
  98. package/replikativ.logging.js +2 -0
  99. package/s3/datahike.js +4340 -4334
  100. package/superv.async.js +16 -16
  101. package/tailrecursion.priority_map.js +13 -13
  102. package/taoensso.trove.console.js +3 -3
  103. package/taoensso.trove.js +1 -1
package/datahike.lru.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./cljs.cache.js");require("./tailrecursion.priority_map.js");
2
2
  'use strict';$CLJS.tQ=function(a,b,c,d,e,f){this.cache=a;this.gd=b;this.Mg=c;this.Kk=d;this.dg=e;this.Eh=f;this.C=10487566;this.H=131072};$CLJS.uQ=new $CLJS.F(null,"key-gen","key-gen",-1225332493);$CLJS.vQ=new $CLJS.F(null,"weight-limit","weight-limit",1497182903);$CLJS.wQ=new $CLJS.F(null,"total-weight","total-weight",-1997465421);$CLJS.xQ=new $CLJS.F(null,"key-value","key-value",-34906839);$CLJS.yQ=new $CLJS.F(null,"weights","weights",-1097626197);$CLJS.Eta=new $CLJS.F(null,"weigh","weigh",1575600143);
3
3
  $CLJS.zQ=new $CLJS.F(null,"gen-key","gen-key",-1247824085);$CLJS.m=$CLJS.tQ.prototype;$CLJS.m.toString=function(){return""+$CLJS.T.g(this.cache)+$CLJS.T.g(",")+$CLJS.T.g(" ")+$CLJS.T.g(this.gd)+$CLJS.T.g(",")+$CLJS.T.g(" ")+$CLJS.T.g(this.Mg)+$CLJS.T.g(",")+$CLJS.T.g(" ")+$CLJS.T.g(this.Kk)+$CLJS.T.g(",")+$CLJS.T.g(" ")+$CLJS.T.g(this.dg)+$CLJS.T.g(",")+$CLJS.T.g(" ")+$CLJS.T.g(this.Eh)};$CLJS.m.U=function(a,b){return $CLJS.A.h(b,this.cache)};$CLJS.m.ba=function(a,b){return this.Hg($CLJS.WF.h?$CLJS.WF.h(this.cache,b):$CLJS.WF.call(null,this.cache,b))};
4
- $CLJS.m.Ha=function(){return this.Hg($CLJS.XF.g?$CLJS.XF.g(this.cache):$CLJS.XF.call(null,this.cache))};$CLJS.m.X=function(){return $CLJS.ec(this.cache)};$CLJS.m.V=function(){return $CLJS.gd(this.cache)};$CLJS.m.oi=function(a,b){return $CLJS.C(this.cache,b)};$CLJS.m.dl=function(a,b,c){return $CLJS.mf(this.cache,b,c)};$CLJS.m.Gg=function(a,b){return $CLJS.Pf(this.cache,b)};
4
+ $CLJS.m.Ha=function(){return this.Hg($CLJS.XF.g?$CLJS.XF.g(this.cache):$CLJS.XF.call(null,this.cache))};$CLJS.m.X=function(){return $CLJS.fc(this.cache)};$CLJS.m.V=function(){return $CLJS.gd(this.cache)};$CLJS.m.oi=function(a,b){return $CLJS.C(this.cache,b)};$CLJS.m.dl=function(a,b,c){return $CLJS.mf(this.cache,b,c)};$CLJS.m.Gg=function(a,b){return $CLJS.Pf(this.cache,b)};
5
5
  $CLJS.m.wj=function(a,b){a=this.dg+1;return new $CLJS.tQ(this.cache,$CLJS.Pf(this.cache,b)?$CLJS.ck.i(this.gd,b,a):this.gd,this.Mg,this.Kk,a,this.Eh)};
6
- $CLJS.m.pi=function(a,b,c){a=this.dg+1;var d=$CLJS.Se(c),e=this.Kk+d,f=$CLJS.Pf(this.gd,b)?new $CLJS.N(null,4,5,$CLJS.O,[$CLJS.jo.h(this.cache,b),$CLJS.jo.h(this.gd,b),$CLJS.jo.h(this.Mg,b),e-$CLJS.C(this.Mg,b)],null):new $CLJS.N(null,4,5,$CLJS.O,[this.cache,this.gd,this.Mg,e],null);e=$CLJS.B(f,0,null);var g=$CLJS.B(f,1,null),h=$CLJS.B(f,2,null);f=$CLJS.B(f,3,null);a:{for(;;){if(f>this.Eh){var l=$CLJS.z($CLJS.vf(this.gd)),k=$CLJS.C(h,l);if($CLJS.t(k)){e=$CLJS.jo.h(e,l);g=$CLJS.jo.h(g,l);h=$CLJS.jo.h(h,
6
+ $CLJS.m.pi=function(a,b,c){a=this.dg+1;var d=$CLJS.Se(c),e=this.Kk+d,f=$CLJS.Pf(this.gd,b)?new $CLJS.N(null,4,5,$CLJS.O,[$CLJS.oo.h(this.cache,b),$CLJS.oo.h(this.gd,b),$CLJS.oo.h(this.Mg,b),e-$CLJS.C(this.Mg,b)],null):new $CLJS.N(null,4,5,$CLJS.O,[this.cache,this.gd,this.Mg,e],null);e=$CLJS.B(f,0,null);var g=$CLJS.B(f,1,null),h=$CLJS.B(f,2,null);f=$CLJS.B(f,3,null);a:{for(;;){if(f>this.Eh){var l=$CLJS.z($CLJS.vf(this.gd)),k=$CLJS.C(h,l);if($CLJS.u(k)){e=$CLJS.oo.h(e,l);g=$CLJS.oo.h(g,l);h=$CLJS.oo.h(h,
7
7
  l);f-=k;continue}else{f=new $CLJS.N(null,4,5,$CLJS.O,[e,g,h,f],null);break a}}else{f=new $CLJS.N(null,4,5,$CLJS.O,[e,g,h,f],null);break a}break}f=void 0}e=$CLJS.B(f,0,null);g=$CLJS.B(f,1,null);h=$CLJS.B(f,2,null);f=$CLJS.B(f,3,null);return new $CLJS.tQ($CLJS.ck.i(e,b,c),$CLJS.ck.i(g,b,a),$CLJS.ck.i(h,b,d),f,a,this.Eh)};
8
- $CLJS.m.ni=function(a,b){return $CLJS.Pf(this.cache,b)?new $CLJS.tQ($CLJS.jo.h(this.cache,b),$CLJS.jo.h(this.gd,b),$CLJS.jo.h(this.Mg,b),this.Kk-$CLJS.C(this.Mg,b),this.dg+1,this.Eh):this};$CLJS.m.Hg=function(a){return new $CLJS.tQ(a,$CLJS.gj.h($CLJS.SF(),$CLJS.Uh.h(function(b){return new $CLJS.N(null,2,5,$CLJS.O,[b,0],null)},$CLJS.fk(a))),$CLJS.gj.h($CLJS.ah,$CLJS.Uh.h(function(b){return new $CLJS.N(null,2,5,$CLJS.O,[b,$CLJS.Se($CLJS.C(a,b))],null)},$CLJS.fk(a))),0,0,this.Eh)};$CLJS.m.fa=function(){return this.cache.iterator()};
9
- $CLJS.m.K=function(a,b,c){return this.pi(null,b,c)};$CLJS.m.ea=function(a,b){return this.Gg(null,b)};$CLJS.m.ia=function(a,b){return this.ni(null,b)};$CLJS.m.aa=function(a,b){return this.G(null,b,null)};$CLJS.m.G=function(a,b,c){return $CLJS.t(this.Gg(null,b))?this.oi(null,b):c};
8
+ $CLJS.m.ni=function(a,b){return $CLJS.Pf(this.cache,b)?new $CLJS.tQ($CLJS.oo.h(this.cache,b),$CLJS.oo.h(this.gd,b),$CLJS.oo.h(this.Mg,b),this.Kk-$CLJS.C(this.Mg,b),this.dg+1,this.Eh):this};$CLJS.m.Hg=function(a){return new $CLJS.tQ(a,$CLJS.gj.h($CLJS.SF(),$CLJS.Uh.h(function(b){return new $CLJS.N(null,2,5,$CLJS.O,[b,0],null)},$CLJS.fk(a))),$CLJS.gj.h($CLJS.ah,$CLJS.Uh.h(function(b){return new $CLJS.N(null,2,5,$CLJS.O,[b,$CLJS.Se($CLJS.C(a,b))],null)},$CLJS.fk(a))),0,0,this.Eh)};$CLJS.m.fa=function(){return this.cache.iterator()};
9
+ $CLJS.m.K=function(a,b,c){return this.pi(null,b,c)};$CLJS.m.ea=function(a,b){return this.Gg(null,b)};$CLJS.m.ia=function(a,b){return this.ni(null,b)};$CLJS.m.aa=function(a,b){return this.G(null,b,null)};$CLJS.m.G=function(a,b,c){return $CLJS.u(this.Gg(null,b))?this.oi(null,b):c};
@@ -1,3 +1,3 @@
1
- var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./konserve.core.js");require("./konserve.utils.js");require("./datahike.gc_guard.js");require("./datahike.gc_roots.js");require("./cljs.cache.wrapped.js");require("./taoensso.trove.js");require("./cljs.core.async.js");require("./superv.async.js");
2
- 'use strict';$CLJS.zHa=new $CLJS.F(null,"freed-stacks","freed-stacks",1119901950);$CLJS.AHa=new $CLJS.F(null,"store-id","store-id",-869340477);$CLJS.U1=new $CLJS.F("datahike","ogc-delete","datahike/ogc-delete",301507033);$CLJS.V1=new $CLJS.F("datahike","ogc-skip-diff-buf","datahike/ogc-skip-diff-buf",2056742954);$CLJS.W1=new $CLJS.F("datahike","ogc-skip-gc-roots","datahike/ogc-skip-gc-roots",-1094841343);$CLJS.X1=new $CLJS.F("datahike","ogc-recycle","datahike/ogc-recycle",-2059886034);
3
- $CLJS.Y1=new $CLJS.F(null,"enabled?","enabled?",-1376075057);$CLJS.Z1=new $CLJS.F("datahike","ogc-skip-multi-branch","datahike/ogc-skip-multi-branch",-310903715);$CLJS.BHa=new $CLJS.F(null,"grace-period-ms","grace-period-ms",-1016401381);
1
+ var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./konserve.core.js");require("./konserve.utils.js");require("./datahike.gc_guard.js");require("./datahike.gc_roots.js");require("./cljs.cache.wrapped.js");require("./replikativ.logging.js");require("./cljs.core.async.js");require("./superv.async.js");
2
+ 'use strict';$CLJS.CHa=new $CLJS.F(null,"freed-stacks","freed-stacks",1119901950);$CLJS.DHa=new $CLJS.F(null,"store-id","store-id",-869340477);$CLJS.R1=new $CLJS.F("datahike","ogc-delete","datahike/ogc-delete",301507033);$CLJS.S1=new $CLJS.F("datahike","ogc-skip-diff-buf","datahike/ogc-skip-diff-buf",2056742954);$CLJS.T1=new $CLJS.F("datahike","ogc-skip-gc-roots","datahike/ogc-skip-gc-roots",-1094841343);$CLJS.U1=new $CLJS.F("datahike","ogc-recycle","datahike/ogc-recycle",-2059886034);
3
+ $CLJS.V1=new $CLJS.F(null,"enabled?","enabled?",-1376075057);$CLJS.W1=new $CLJS.F("datahike","ogc-skip-multi-branch","datahike/ogc-skip-multi-branch",-310903715);$CLJS.EHa=new $CLJS.F(null,"grace-period-ms","grace-period-ms",-1016401381);
@@ -1,13 +1,13 @@
1
- var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./clojure.set.js");require("./cljs.core.async.js");require("./datahike.api.js");require("./taoensso.trove.js");require("./superv.async.js");
2
- 'use strict';$CLJS.gRa=new $CLJS.F("datahike.optimistic","command-error","datahike.optimistic/command-error",2121036286);$CLJS.hRa=new $CLJS.F(null,"reconciliation-error","reconciliation-error",-1590638258);$CLJS.iRa=new $CLJS.F(null,"conflicting","conflicting",2003828416);$CLJS.jRa=new $CLJS.F(null,"tx-report","tx-report",1910895391);$CLJS.E5=new $CLJS.F(null,"applied-tx-data","applied-tx-data",523668555);$CLJS.F5=new $CLJS.F(null,"queue","queue",1455835879);
3
- $CLJS.G5=new $CLJS.F(null,"outcome","outcome",629387309);$CLJS.H5=new $CLJS.F(null,"running?","running?",-257884763);$CLJS.kRa=new $CLJS.F(null,"ack","ack",-913609387);$CLJS.I5=new $CLJS.F(null,"status-listeners","status-listeners",1986369686);$CLJS.lRa=new $CLJS.F(null,"closing","closing",-1862893890);$CLJS.mRa=new $CLJS.F("optimistic","invalid-writer-report","optimistic/invalid-writer-report",-603414050);
4
- $CLJS.nRa=new $CLJS.F("optimistic","invalid-reconciliation-predicate","optimistic/invalid-reconciliation-predicate",1999414068);$CLJS.J5=new $CLJS.F(null,"reconciled?","reconciled?",-110371813);$CLJS.oRa=new $CLJS.F(null,"detached","detached",-1742825972);$CLJS.K5=new $CLJS.F(null,"max-pending","max-pending",2094373870);$CLJS.pRa=new $CLJS.F(null,"user","user",1532431356);$CLJS.L5=new $CLJS.F(null,"max-queue","max-queue",1154372037);$CLJS.M5=new $CLJS.F(null,"overlay-tx-meta","overlay-tx-meta",739499782);
5
- $CLJS.qRa=new $CLJS.F(null,"unlisten","unlisten",-1580980325);$CLJS.N5=new $CLJS.F(null,"kept","kept",1300991554);$CLJS.rRa=new $CLJS.F("datahike.optimistic","listener-error","datahike.optimistic/listener-error",-297251051);$CLJS.sRa=new $CLJS.F(null,"overloaded","overloaded",-1946218760);$CLJS.O5=new $CLJS.F(null,"base-db","base-db",1480641574);$CLJS.P5=new $CLJS.F(null,"reconciliation-timeout-ms","reconciliation-timeout-ms",-1087820724);$CLJS.Q5=new $CLJS.F(null,"listener","listener",882147248);
6
- $CLJS.R5=new $CLJS.F(null,"rejected","rejected",231052999);$CLJS.tRa=new $CLJS.F(null,"submitted-at","submitted-at",-91986446);$CLJS.uRa=new $CLJS.F(null,"abandon","abandon",-1339135610);$CLJS.S5=new $CLJS.F(null,"expire-queued?","expire-queued?",-774612983);$CLJS.vRa=new $CLJS.F(null,"base-max-tx","base-max-tx",-1005550423);$CLJS.T5=new $CLJS.F(null,"stop-ch","stop-ch",-219113969);$CLJS.U5=new $CLJS.F(null,"model","model",331153215);$CLJS.V5=new $CLJS.F(null,"watch-key","watch-key",1531729868);
7
- $CLJS.wRa=new $CLJS.F(null,"reject","reject",1415953113);$CLJS.xRa=new $CLJS.F(null,"unlisten-status","unlisten-status",-1680149651);$CLJS.yRa=new $CLJS.F("datahike.optimistic","change-diff-error","datahike.optimistic/change-diff-error",-1250819059);$CLJS.zRa=new $CLJS.F(null,"base-advanced","base-advanced",985725363);$CLJS.W5=new $CLJS.F(null,"prediction","prediction",109482855);$CLJS.X5=new $CLJS.F(null,"ov-ids","ov-ids",-1191576281);$CLJS.Y5=new $CLJS.F(null,"base-queued?","base-queued?",-501714752);
8
- $CLJS.Z5=new $CLJS.F(null,"committed","committed",-483319024);$CLJS.$5=new $CLJS.F(null,"expected-max-tx","expected-max-tx",1665959190);$CLJS.a6=new $CLJS.F("optimistic","invalid-option","optimistic/invalid-option",1272322065);$CLJS.b6=new $CLJS.F(null,"expire","expire",-70657108);$CLJS.ARa=new $CLJS.F(null,"changes","changes",1492088);$CLJS.c6=new $CLJS.F("optimistic","closed","optimistic/closed",1929365904);
9
- $CLJS.d6=new $CLJS.F("datahike.optimistic","status-listener-error","datahike.optimistic/status-listener-error",388900936);$CLJS.e6=new $CLJS.F(null,"effective-db","effective-db",2077758991);$CLJS.BRa=new $CLJS.F(null,"visible","visible",-1024216805);$CLJS.CRa=new $CLJS.F("optimistic","overloaded","optimistic/overloaded",1497509211);$CLJS.DRa=new $CLJS.F(null,"reconciliation-stalled","reconciliation-stalled",1901611570);
10
- $CLJS.ERa=new $CLJS.F(null,"reconciliation-stalled?","reconciliation-stalled?",-899381166);$CLJS.FRa=new $CLJS.F(null,"listen-status","listen-status",728447090);$CLJS.f6=new $CLJS.F(null,"abandoned","abandoned",-654106043);$CLJS.GRa=new $CLJS.F(null,"writer-rejected","writer-rejected",1452364331);$CLJS.g6=new $CLJS.F(null,"overlay-closed","overlay-closed",915325984);$CLJS.HRa=new $CLJS.F(null,"applicable","applicable",148562104);$CLJS.h6=new $CLJS.F(null,"expired","expired",917709975);
11
- $CLJS.i6=new $CLJS.F(null,"reconciled","reconciled",540367078);$CLJS.IRa=new $CLJS.F(null,"active","active",1895962068);$CLJS.JRa=new $CLJS.F(null,"writer-committed","writer-committed",705175827);$CLJS.KRa=new $CLJS.F(null,"last-conflict-error","last-conflict-error",189285989);$CLJS.LRa=new $CLJS.F(null,"overlay-added","overlay-added",-957152636);$CLJS.MRa=new $CLJS.F(null,"writer-result","writer-result",-53915794);$CLJS.j6=new $CLJS.F(null,"reconcile-deadline-at","reconcile-deadline-at",-1966013388);
12
- $CLJS.k6=new $CLJS.F(null,"queued-submits","queued-submits",1250635948);$CLJS.NRa=new $CLJS.F(null,"accepted?","accepted?",1707297678);$CLJS.l6=new $CLJS.F(null,"submit","submit",-49315317);$CLJS.ORa=new $CLJS.F(null,"conflicting?","conflicting?",1589904934);$CLJS.m6=new $CLJS.F(null,"prediction-timeout-ms","prediction-timeout-ms",-1941027767);$CLJS.n6=new $CLJS.F(null,"overlay-removed","overlay-removed",1726509290);$CLJS.PRa=new $CLJS.F(null,"listen","listen",1649504723);
13
- $CLJS.QRa=new $CLJS.F(null,"acknowledged","acknowledged",1083021043);$CLJS.RRa=new $CLJS.F(null,"reconciled-ids","reconciled-ids",1513467818);$CLJS.o6=new $CLJS.F(null,"ov-id","ov-id",-129780667);$CLJS.SRa=new $CLJS.F(null,"timeout-ms","timeout-ms",754221406);$CLJS.p6=new $CLJS.F(null,"acknowledged?","acknowledged?",-905637686);
1
+ var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./clojure.set.js");require("./cljs.core.async.js");require("./datahike.api.js");require("./replikativ.logging.js");require("./superv.async.js");
2
+ 'use strict';$CLJS.jRa=new $CLJS.F("datahike.optimistic","command-error","datahike.optimistic/command-error",2121036286);$CLJS.kRa=new $CLJS.F(null,"reconciliation-error","reconciliation-error",-1590638258);$CLJS.lRa=new $CLJS.F(null,"conflicting","conflicting",2003828416);$CLJS.mRa=new $CLJS.F(null,"tx-report","tx-report",1910895391);$CLJS.E5=new $CLJS.F(null,"applied-tx-data","applied-tx-data",523668555);$CLJS.F5=new $CLJS.F(null,"queue","queue",1455835879);
3
+ $CLJS.G5=new $CLJS.F(null,"outcome","outcome",629387309);$CLJS.H5=new $CLJS.F(null,"running?","running?",-257884763);$CLJS.nRa=new $CLJS.F(null,"ack","ack",-913609387);$CLJS.I5=new $CLJS.F(null,"status-listeners","status-listeners",1986369686);$CLJS.oRa=new $CLJS.F(null,"closing","closing",-1862893890);$CLJS.pRa=new $CLJS.F("optimistic","invalid-writer-report","optimistic/invalid-writer-report",-603414050);
4
+ $CLJS.qRa=new $CLJS.F("optimistic","invalid-reconciliation-predicate","optimistic/invalid-reconciliation-predicate",1999414068);$CLJS.J5=new $CLJS.F(null,"reconciled?","reconciled?",-110371813);$CLJS.rRa=new $CLJS.F(null,"detached","detached",-1742825972);$CLJS.K5=new $CLJS.F(null,"max-pending","max-pending",2094373870);$CLJS.sRa=new $CLJS.F(null,"user","user",1532431356);$CLJS.L5=new $CLJS.F(null,"max-queue","max-queue",1154372037);$CLJS.M5=new $CLJS.F(null,"overlay-tx-meta","overlay-tx-meta",739499782);
5
+ $CLJS.tRa=new $CLJS.F(null,"unlisten","unlisten",-1580980325);$CLJS.N5=new $CLJS.F(null,"kept","kept",1300991554);$CLJS.uRa=new $CLJS.F("datahike.optimistic","listener-error","datahike.optimistic/listener-error",-297251051);$CLJS.vRa=new $CLJS.F(null,"overloaded","overloaded",-1946218760);$CLJS.O5=new $CLJS.F(null,"base-db","base-db",1480641574);$CLJS.P5=new $CLJS.F(null,"reconciliation-timeout-ms","reconciliation-timeout-ms",-1087820724);$CLJS.Q5=new $CLJS.F(null,"listener","listener",882147248);
6
+ $CLJS.R5=new $CLJS.F(null,"rejected","rejected",231052999);$CLJS.wRa=new $CLJS.F(null,"submitted-at","submitted-at",-91986446);$CLJS.xRa=new $CLJS.F(null,"abandon","abandon",-1339135610);$CLJS.S5=new $CLJS.F(null,"expire-queued?","expire-queued?",-774612983);$CLJS.yRa=new $CLJS.F(null,"base-max-tx","base-max-tx",-1005550423);$CLJS.T5=new $CLJS.F(null,"stop-ch","stop-ch",-219113969);$CLJS.U5=new $CLJS.F(null,"model","model",331153215);$CLJS.V5=new $CLJS.F(null,"watch-key","watch-key",1531729868);
7
+ $CLJS.zRa=new $CLJS.F(null,"reject","reject",1415953113);$CLJS.ARa=new $CLJS.F(null,"unlisten-status","unlisten-status",-1680149651);$CLJS.BRa=new $CLJS.F("datahike.optimistic","change-diff-error","datahike.optimistic/change-diff-error",-1250819059);$CLJS.CRa=new $CLJS.F(null,"base-advanced","base-advanced",985725363);$CLJS.W5=new $CLJS.F(null,"prediction","prediction",109482855);$CLJS.X5=new $CLJS.F(null,"ov-ids","ov-ids",-1191576281);$CLJS.Y5=new $CLJS.F(null,"base-queued?","base-queued?",-501714752);
8
+ $CLJS.Z5=new $CLJS.F(null,"committed","committed",-483319024);$CLJS.$5=new $CLJS.F(null,"expected-max-tx","expected-max-tx",1665959190);$CLJS.a6=new $CLJS.F("optimistic","invalid-option","optimistic/invalid-option",1272322065);$CLJS.b6=new $CLJS.F(null,"expire","expire",-70657108);$CLJS.DRa=new $CLJS.F(null,"changes","changes",1492088);$CLJS.c6=new $CLJS.F("optimistic","closed","optimistic/closed",1929365904);
9
+ $CLJS.d6=new $CLJS.F("datahike.optimistic","status-listener-error","datahike.optimistic/status-listener-error",388900936);$CLJS.e6=new $CLJS.F(null,"effective-db","effective-db",2077758991);$CLJS.ERa=new $CLJS.F(null,"visible","visible",-1024216805);$CLJS.FRa=new $CLJS.F("optimistic","overloaded","optimistic/overloaded",1497509211);$CLJS.GRa=new $CLJS.F(null,"reconciliation-stalled","reconciliation-stalled",1901611570);
10
+ $CLJS.HRa=new $CLJS.F(null,"reconciliation-stalled?","reconciliation-stalled?",-899381166);$CLJS.IRa=new $CLJS.F(null,"listen-status","listen-status",728447090);$CLJS.f6=new $CLJS.F(null,"abandoned","abandoned",-654106043);$CLJS.JRa=new $CLJS.F(null,"writer-rejected","writer-rejected",1452364331);$CLJS.g6=new $CLJS.F(null,"overlay-closed","overlay-closed",915325984);$CLJS.KRa=new $CLJS.F(null,"applicable","applicable",148562104);$CLJS.h6=new $CLJS.F(null,"expired","expired",917709975);
11
+ $CLJS.i6=new $CLJS.F(null,"reconciled","reconciled",540367078);$CLJS.LRa=new $CLJS.F(null,"active","active",1895962068);$CLJS.MRa=new $CLJS.F(null,"writer-committed","writer-committed",705175827);$CLJS.NRa=new $CLJS.F(null,"last-conflict-error","last-conflict-error",189285989);$CLJS.ORa=new $CLJS.F(null,"overlay-added","overlay-added",-957152636);$CLJS.PRa=new $CLJS.F(null,"writer-result","writer-result",-53915794);$CLJS.j6=new $CLJS.F(null,"reconcile-deadline-at","reconcile-deadline-at",-1966013388);
12
+ $CLJS.k6=new $CLJS.F(null,"queued-submits","queued-submits",1250635948);$CLJS.QRa=new $CLJS.F(null,"accepted?","accepted?",1707297678);$CLJS.l6=new $CLJS.F(null,"submit","submit",-49315317);$CLJS.RRa=new $CLJS.F(null,"conflicting?","conflicting?",1589904934);$CLJS.m6=new $CLJS.F(null,"prediction-timeout-ms","prediction-timeout-ms",-1941027767);$CLJS.n6=new $CLJS.F(null,"overlay-removed","overlay-removed",1726509290);$CLJS.SRa=new $CLJS.F(null,"listen","listen",1649504723);
13
+ $CLJS.TRa=new $CLJS.F(null,"acknowledged","acknowledged",1083021043);$CLJS.URa=new $CLJS.F(null,"reconciled-ids","reconciled-ids",1513467818);$CLJS.o6=new $CLJS.F(null,"ov-id","ov-id",-129780667);$CLJS.VRa=new $CLJS.F(null,"timeout-ms","timeout-ms",754221406);$CLJS.p6=new $CLJS.F(null,"acknowledged?","acknowledged?",-905637686);
@@ -1,8 +1,8 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./datahike.db.utils.js");require("./datahike.db.interface.js");require("./datalog.parser.pull.js");
2
2
  'use strict';$CLJS.bT=function(a,b,c,d,e){this.gg=a;this.Wc=b;this.u=c;this.j=d;this.A=e;this.C=2230716170;this.H=139264};$CLJS.m=$CLJS.bT.prototype;$CLJS.m.aa=function(a,b){return this.G(null,b,null)};$CLJS.m.G=function(a,b,c){switch(b instanceof $CLJS.F?b.D:null){case "wildcard?":return this.gg;case "attrs":return this.Wc;default:return $CLJS.mf(this.j,b,c)}};
3
3
  $CLJS.m.ja=function(a,b,c){return $CLJS.ac(function(d,e){var f=$CLJS.B(e,0,null);e=$CLJS.B(e,1,null);return b.i?b.i(d,f,e):b.call(null,d,f,e)},c,this)};$CLJS.m.P=function(a,b,c){return $CLJS.Jk(b,function(d){return $CLJS.Jk(b,$CLJS.Ok,""," ","",c,d)},"#datalog.parser.pull.PullSpec{",", ","}",c,$CLJS.Xh.h(new $CLJS.N(null,2,5,$CLJS.O,[new $CLJS.N(null,2,5,$CLJS.O,[$CLJS.RS,this.gg],null),new $CLJS.N(null,2,5,$CLJS.O,[$CLJS.Yu,this.Wc],null)],null),this.j))};
4
- $CLJS.m.fa=function(){return new $CLJS.$i(this,2,new $CLJS.N(null,2,5,$CLJS.O,[$CLJS.RS,$CLJS.Yu],null),$CLJS.t(this.j)?$CLJS.Hd(this.j):$CLJS.eh())};$CLJS.m.O=function(){return this.u};$CLJS.m.X=function(){return 2+$CLJS.Se(this.j)};$CLJS.m.Z=function(){var a=this.A;return a!=null?a:this.A=a=-22502940^$CLJS.ue(this)};$CLJS.m.U=function(a,b){return b!=null&&this.constructor===b.constructor&&$CLJS.A.h(this.gg,b.gg)&&$CLJS.A.h(this.Wc,b.Wc)&&$CLJS.A.h(this.j,b.j)};
5
- $CLJS.m.ia=function(a,b){return $CLJS.Pf(new $CLJS.lk(null,new $CLJS.R(null,2,[$CLJS.Yu,null,$CLJS.RS,null],null),null),b)?$CLJS.jo.h($CLJS.Vc($CLJS.gj.h($CLJS.ah,this),this.u),b):new $CLJS.bT(this.gg,this.Wc,this.u,$CLJS.ch($CLJS.jo.h(this.j,b)),null)};$CLJS.m.ea=function(a,b){switch(b instanceof $CLJS.F?b.D:null){case "wildcard?":case "attrs":return!0;default:return $CLJS.Pf(this.j,b)}};
6
- $CLJS.m.K=function(a,b,c){return $CLJS.t($CLJS.M.h?$CLJS.M.h($CLJS.RS,b):$CLJS.M.call(null,$CLJS.RS,b))?new $CLJS.bT(c,this.Wc,this.u,this.j,null):$CLJS.t($CLJS.M.h?$CLJS.M.h($CLJS.Yu,b):$CLJS.M.call(null,$CLJS.Yu,b))?new $CLJS.bT(this.gg,c,this.u,this.j,null):new $CLJS.bT(this.gg,this.Wc,this.u,$CLJS.ck.i(this.j,b,c),null)};$CLJS.m.V=function(){return $CLJS.x($CLJS.Xh.h(new $CLJS.N(null,2,5,$CLJS.O,[new $CLJS.cj($CLJS.RS,this.gg,null),new $CLJS.cj($CLJS.Yu,this.Wc,null)],null),this.j))};
4
+ $CLJS.m.fa=function(){return new $CLJS.$i(this,2,new $CLJS.N(null,2,5,$CLJS.O,[$CLJS.RS,$CLJS.Yu],null),$CLJS.u(this.j)?$CLJS.Gd(this.j):$CLJS.eh())};$CLJS.m.O=function(){return this.u};$CLJS.m.X=function(){return 2+$CLJS.Se(this.j)};$CLJS.m.Z=function(){var a=this.A;return a!=null?a:this.A=a=-22502940^$CLJS.ue(this)};$CLJS.m.U=function(a,b){return b!=null&&this.constructor===b.constructor&&$CLJS.A.h(this.gg,b.gg)&&$CLJS.A.h(this.Wc,b.Wc)&&$CLJS.A.h(this.j,b.j)};
5
+ $CLJS.m.ia=function(a,b){return $CLJS.Pf(new $CLJS.lk(null,new $CLJS.R(null,2,[$CLJS.Yu,null,$CLJS.RS,null],null),null),b)?$CLJS.oo.h($CLJS.Vc($CLJS.gj.h($CLJS.ah,this),this.u),b):new $CLJS.bT(this.gg,this.Wc,this.u,$CLJS.ch($CLJS.oo.h(this.j,b)),null)};$CLJS.m.ea=function(a,b){switch(b instanceof $CLJS.F?b.D:null){case "wildcard?":case "attrs":return!0;default:return $CLJS.Pf(this.j,b)}};
6
+ $CLJS.m.K=function(a,b,c){return $CLJS.u($CLJS.M.h?$CLJS.M.h($CLJS.RS,b):$CLJS.M.call(null,$CLJS.RS,b))?new $CLJS.bT(c,this.Wc,this.u,this.j,null):$CLJS.u($CLJS.M.h?$CLJS.M.h($CLJS.Yu,b):$CLJS.M.call(null,$CLJS.Yu,b))?new $CLJS.bT(this.gg,c,this.u,this.j,null):new $CLJS.bT(this.gg,this.Wc,this.u,$CLJS.ck.i(this.j,b,c),null)};$CLJS.m.V=function(){return $CLJS.y($CLJS.Xh.h(new $CLJS.N(null,2,5,$CLJS.O,[new $CLJS.cj($CLJS.RS,this.gg,null),new $CLJS.cj($CLJS.Yu,this.Wc,null)],null),this.j))};
7
7
  $CLJS.m.S=function(a,b){return new $CLJS.bT(this.gg,this.Wc,b,this.j,this.A)};$CLJS.m.ba=function(a,b){return $CLJS.Ef(b)?this.K(null,$CLJS.jf(b,0),$CLJS.jf(b,1)):$CLJS.ac($CLJS.jc,this,b)};$CLJS.cT=new $CLJS.F("datahike.pull-api","recursion","datahike.pull-api/recursion",-1095311814);$CLJS.Yua=new $CLJS.F(null,"selector","selector",762528866);$CLJS.dT=new $CLJS.F(null,"kvps","kvps",65308317);$CLJS.eT=new $CLJS.F(null,"seen","seen",-518999789);
8
8
  $CLJS.Zua=new $CLJS.F("datahike.pull-api","expand-rev","datahike.pull-api/expand-rev",1335028467);$CLJS.fT=new $CLJS.F(null,"datoms","datoms",-290874434);$CLJS.$ua=new $CLJS.F(null,"expand-rev","expand-rev",1249112650);$CLJS.ava=new $CLJS.F(null,"expand-kvps","expand-kvps",44141154);$CLJS.gT=new $CLJS.F(null,"results","results",-1134170113);$CLJS.bva=new $CLJS.F(null,"expand","expand",595248157);$CLJS.hT=new $CLJS.F(null,"multi?","multi?",-749311069);$CLJS.cva=new $CLJS.bT(!0,$CLJS.ah,null,null,null);$CLJS.dva=$CLJS.di(function(a){var b=$CLJS.B(a,0,null);a=$CLJS.B(a,1,null);return $CLJS.ik.h(b,$CLJS.Tu.g(a))});
@@ -1,3 +1,3 @@
1
- var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./datahike.constants.js");require("./datahike.datom.js");require("./datahike.db.interface.js");require("./datahike.db.utils.js");require("./datahike.index.interface.js");require("./datahike.query.analyze.js");require("./taoensso.trove.js");
1
+ var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./datahike.constants.js");require("./datahike.datom.js");require("./datahike.db.interface.js");require("./datahike.db.utils.js");require("./datahike.index.interface.js");require("./datahike.query.analyze.js");require("./replikativ.logging.js");
2
2
  'use strict';$CLJS.QU=new $CLJS.F(null,"const","const",1709929842);$CLJS.Jva=new $CLJS.F(null,"pred-var","pred-var",-1157391984);$CLJS.Kva=new $CLJS.F("datahike","selectivity-sample-failed","datahike/selectivity-sample-failed",-946826561);$CLJS.Lva=new $CLJS.F(null,"pred-op","pred-op",492610915);$CLJS.Mva=new $CLJS.F("datahike","estimate-heuristic-fallback","datahike/estimate-heuristic-fallback",347197453);$CLJS.RU=new $CLJS.be(null,"!\x3d","!\x3d",-201205829,null);
3
3
  $CLJS.SU=new $CLJS.F(null,"supported","supported",495067239);$CLJS.Nva=new $CLJS.F("datahike","selectivity-heuristic","datahike/selectivity-heuristic",-1549817802);$CLJS.Ova=$CLJS.Ah(!1);
@@ -1,4 +1,4 @@
1
- var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./datahike.constants.js");require("./datahike.array.js");require("./datahike.datom.js");require("./datahike.db.interface.js");require("./datahike.db.utils.js");require("./datahike.index.interface.js");require("./datahike.query.analyze.js");require("./datahike.query.plan.js");require("./datahike.query.relation.js");require("./org.replikativ.persistent_sorted_set.js");require("./org.replikativ.persistent_sorted_set.btset.js");require("./datahike.db.js");require("./taoensso.trove.js");
1
+ var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./datahike.constants.js");require("./datahike.array.js");require("./datahike.datom.js");require("./datahike.db.interface.js");require("./datahike.db.utils.js");require("./datahike.index.interface.js");require("./datahike.query.analyze.js");require("./datahike.query.plan.js");require("./datahike.query.relation.js");require("./org.replikativ.persistent_sorted_set.js");require("./org.replikativ.persistent_sorted_set.btset.js");require("./datahike.db.js");require("./replikativ.logging.js");
2
2
  'use strict';$CLJS.Bwa=new $CLJS.F(null,"cval","cval",2050810212);$CLJS.Cwa=new $CLJS.F(null,"probe-idx","probe-idx",-1363048661);$CLJS.oW=new $CLJS.F(null,"lookup-batch-search","lookup-batch-search",-403251237);$CLJS.Dwa=new $CLJS.F(null,"solve-rule","solve-rule",-784261574);$CLJS.pW=new $CLJS.F(null,"find-vars","find-vars",8501290);$CLJS.qW=new $CLJS.F("datahike","source-not-found","datahike/source-not-found",-470240779);$CLJS.Ewa=new $CLJS.F(null,"producer","producer",-1034261436);
3
3
  $CLJS.Fwa=new $CLJS.F(null,"group-vars","group-vars",-124396619);$CLJS.rW=new $CLJS.F(null,"consumer-g","consumer-g",-937258380);$CLJS.sW=new $CLJS.F(null,"unresolvable","unresolvable",-1009336646);$CLJS.Gwa=new $CLJS.F(null,"producer-datom-field","producer-datom-field",-2147266855);$CLJS.Hwa=new $CLJS.F(null,"since","since",315379842);$CLJS.Iwa=new $CLJS.F(null,"field","field",-1302436500);$CLJS.Jwa=new $CLJS.F("query","plan","query/plan",1311045028);
4
4
  $CLJS.Kwa=new $CLJS.F(null,"lookup-pattern-coll","lookup-pattern-coll",-1356598014);$CLJS.tW=new $CLJS.F(null,"unique-results?","unique-results?",-1707522944);$CLJS.Lwa=new $CLJS.F(null,"dedup","dedup",-353714954);$CLJS.uW=new $CLJS.F(null,"consumer-scan-field","consumer-scan-field",-1165066362);$CLJS.vW=new $CLJS.F("datahike.query.execute","none","datahike.query.execute/none",439704156);$CLJS.wW=new $CLJS.F(null,"lit","lit",-561435380);$CLJS.xW=new $CLJS.F(null,"main-rel","main-rel",1462136251);