OverviewFilesCommitsIssuesDocsReleasesPeers

keet-cli / deobfuscated / packages / schema / spec / contract / hyperdb / index.js

2766 lines · javascript ref:
const _0x589131=(function(){let _0x109e9b=!![];return function(_0x382bef,_0x129b13){_0x1e77e8=_0x109e9b?function(){if(_0x129b13){const _0x973a57=_0x129b13.apply(_0x382bef,arguments);return _0x129b13=null,_0x973a57;}}:function(){};return _0x109e9b=![],_0x1e77e8;};}()),_0x80b0c8=_0x589131(this,function(){_0x3acf86={_0x17347a:0x25d},_0x51772a={_0x2eff5b:0x396};return _0x80b0c8.toString().search("(((.+)+)+)+$").toString().constructor(_0x80b0c8).search("(((.+)+)+)+$");});
_0x80b0c8();
const {
  IndexEncoder,c,b4a}
=require('hyperdb/runtime'),{
  version,getEncoding,setVersion}
=require('./messages.js'),versions={
  'schema':version,'db':0x3},helpers0=require('../../../../../lib/hyperdb/contract/keet.js'),helpers1=require('../../../../../lib/hyperdb/contract/keet-private-id.js'),collection0_key=new IndexEncoder([],{'prefix':0x0});
function collection0_indexify(_0x191233){
  return[];
}
const collection0_enc=getEncoding("@keet/system-digest");
function collection0_reconstruct(_0x415aa5,_0x1cb933,_0x9dd570){
  _0x4fdcbf={
    _0x3dfcdb:0xd3,_0x500b6b:0x1d6,_0x191a34:0xdc}
  ;
  setVersion(_0x415aa5);
  const _0x46d5c3={
    'start':0x0,'end':_0x9dd570.byteLength,'buffer':_0x9dd570}
  ;
  const _0x22f85d=collection0_enc.decode(_0x46d5c3);
  return _0x22f85d;
}
function collection0_reconstruct_key(_0x58f309){
  return{
  }
;
}
const collection0={
  'name':"@keet/system-digest",'id':0x0,'version':0x0,'encodeKey'(_0x394311){
    _0x108a50={
      _0xec5027:0xbc,_0x40cbf0:0x135}
    ;
    const _0x264ffb=[];
    return collection0_key.encode(_0x264ffb);
  },'encodeKeyRange'({gt:_0xc79aae,lt:_0x13e3ee,gte:_0x12f205,lte:_0x5252af}={}){
  _0x29e8ca={
    _0x54bc2b:0x119,_0xe95d37:0x4db}
  ;
  return collection0_key.encodeRange({'gt':_0xc79aae?collection0_indexify(_0xc79aae):null,'lt':_0x13e3ee?collection0_indexify(_0x13e3ee):null,'gte':_0x12f205?collection0_indexify(_0x12f205):null,'lte':_0x5252af?collection0_indexify(_0x5252af):null});
},'encodeValue'(_0x2cd97f,_0x122bf2,_0x22d586){
_0x296d2f={
  _0x306e0f:0x6a,_0xf29ebf:0x595},_0xfdb3dd={
  _0x35f1de:0x14c,_0x375fc1:0xb5,_0x4e9786:0x3fc}
;
setVersion(_0x2cd97f);
const _0x144911={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection0_enc.preencode(_0x144911,_0x22d586),_0x144911.buffer=b4a.allocUnsafe(_0x144911.end),collection0_enc.encode(_0x144911,_0x22d586),_0x144911.buffer;
},'trigger':null,'reconstruct':collection0_reconstruct,'reconstructKey':collection0_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection1_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x1});
function collection1_indexify(_0xa92aa){
  _0x4d75c3={
    _0x35cbd0:0x81,_0x39ec98:0xdc}
  ;
  const _0x5e618d=_0xa92aa.key;
  return _0x5e618d===undefined?[]:[_0x5e618d];
}
const collection1_enc=getEncoding("@keet/blind-peer/hyperdb#1");
function collection1_reconstruct(_0x2257f2,_0x513f62,_0x1fe87f){
  _0x20d0a6={
    _0x41cb50:0x9b,_0x31858d:0x181,_0x1f88f0:0x2fc},_0x5ef5f2={
    _0x365425:0xb2,_0x11b4a3:0x14e,_0x22b5dc:0x5a5}
  ;
  const _0x43adfc=collection1_key.decode(_0x513f62);
  setVersion(_0x2257f2);
  const _0x419386={
    'start':0x0,'end':_0x1fe87f.byteLength,'buffer':_0x1fe87f},_0x324636=collection1_enc.decode(_0x419386);
  _0x324636.key=_0x43adfc[--0x41aa];
  return _0x324636;
}
function collection1_reconstruct_key(_0x3613a4){
  const _0x320fd1=collection1_key.decode(_0x3613a4);
  return{
    'key':_0x320fd1[-0x1d92]}
  ;
}
const collection1={
  'name':"@keet/blind-peers",'id':0x1,'version':0x0,'encodeKey'(_0x4e90fe){
    _0x563ed5={
      _0x4f882a:0x5ce,_0x7bb08:0x122,_0x14dcd9:0x1d4}
    ;
    const _0x218aa2=[_0x4e90fe.key];
    return collection1_key.encode(_0x218aa2);
  },'encodeKeyRange'({gt:_0x5a7889,lt:_0xa9548c,gte:_0x1a8d8e,lte:_0x153026}={}){
  _0x490f95={
    _0x419152:0x40,_0x40b6a3:0x1e5,_0x6ac84e:0x42e}
  ;
  return collection1_key.encodeRange({'gt':_0x5a7889?collection1_indexify(_0x5a7889):null,'lt':_0xa9548c?collection1_indexify(_0xa9548c):null,'gte':_0x1a8d8e?collection1_indexify(_0x1a8d8e):null,'lte':_0x153026?collection1_indexify(_0x153026):null});
},'encodeValue'(_0x3ef0c7,_0x49e958,_0x38ca7d){
_0x521bcc={
  _0x5a6efc:0xe4,_0x38aca1:0x117},_0x3e8212={
  _0x48279c:0x19c,_0x129d0a:0x31,_0x55e882:0x75}
;
setVersion(_0x3ef0c7);
const _0x398c1b={
  'start':0x0,'end':0x0,'buffer':null}
;
collection1_enc.preencode(_0x398c1b,_0x38ca7d);
_0x398c1b.buffer=b4a.allocUnsafe(_0x398c1b.end);
return collection1_enc.encode(_0x398c1b,_0x38ca7d),_0x398c1b.buffer;
},'trigger':null,'reconstruct':collection1_reconstruct,'reconstructKey':collection1_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection2_key=new IndexEncoder([],{'prefix':0x2});
function collection2_indexify(_0x1fca5d){
  return[];
}
const collection2_enc=getEncoding("@keet/room-config");
function collection2_reconstruct(_0x2a43d2,_0x55da32,_0x5097c7){
  _0x1075bc={
    _0x38f4ca:0x175,_0x4d35e2:0x134,_0x204278:0x606},_0x125789={
    _0x411a3b:0x28,_0x1974d0:0x1b,_0x432749:0xca}
  ;
  setVersion(_0x2a43d2);
  const _0x3c25f8={
    'start':0x0,'end':_0x5097c7.byteLength,'buffer':_0x5097c7},_0x23701b=collection2_enc.decode(_0x3c25f8);
  return _0x23701b;
}
function collection2_reconstruct_key(_0x5de1ca){
  return{
  }
;
}
const collection2={
  'name':"@keet/room-config",'id':0x2,'version':0x0,'encodeKey'(_0x24f3ac){
    const _0x434589=[];
    return collection2_key.encode(_0x434589);
  },'encodeKeyRange'({gt:_0x497441,lt:_0x37980c,gte:_0x5b896b,lte:_0x3d7fe8}={}){
  _0x2309a9={
    _0x4ab57c:0x4a6,_0xbf540:0xc8}
  ;
  return collection2_key.encodeRange({'gt':_0x497441?collection2_indexify(_0x497441):null,'lt':_0x37980c?collection2_indexify(_0x37980c):null,'gte':_0x5b896b?collection2_indexify(_0x5b896b):null,'lte':_0x3d7fe8?collection2_indexify(_0x3d7fe8):null});
},'encodeValue'(_0x3c37bf,_0x2766ae,_0x3f742d){
_0x46f594={
  _0x125c88:0x295},_0xb43917={
  _0x249ff7:0x298,_0x2bd853:0xb7}
;
setVersion(_0x3c37bf);
const _0x26db4d={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection2_enc.preencode(_0x26db4d,_0x3f742d),_0x26db4d.buffer=b4a.allocUnsafe(_0x26db4d.end),collection2_enc.encode(_0x26db4d,_0x3f742d),_0x26db4d.buffer;
},'trigger':null,'reconstruct':collection2_reconstruct,'reconstructKey':collection2_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection3_key=new IndexEncoder([],{'prefix':0x3});
function collection3_indexify(_0x29b9dd){
  return[];
}
const collection3_enc=getEncoding("@keet/room-seed");
function collection3_reconstruct(_0x4fced8,_0x235b2d,_0x70df86){
  _0x173a55={
    _0x5b2738:0x52,_0x5d8a7a:0x8b}
  ;
  setVersion(_0x4fced8);
  const _0x2dcb13={
    'start':0x0,'end':_0x70df86.byteLength,'buffer':_0x70df86}
  ;
  const _0x342acf=collection3_enc.decode(_0x2dcb13);
  return _0x342acf;
}
function collection3_reconstruct_key(_0x8f0956){
  return{
  }
;
}
const collection3={
  'name':"@keet/room-capabilities",'id':0x3,'version':0x0,'encodeKey'(_0x45585e){
    _0x5a2bad={
      _0x13e68c:0x16e,_0x4ac07b:0x68}
    ;
    const _0x4dfdd1=[];
    return collection3_key.encode(_0x4dfdd1);
  },'encodeKeyRange'({gt:_0x550b0c,lt:_0x8fb308,gte:_0x4c3e3d,lte:_0x4f8c2f}={}){
  _0x4c68b0={
    _0x2b97a4:0x112,_0x351f24:0x13d}
  ;
  return collection3_key.encodeRange({'gt':_0x550b0c?collection3_indexify(_0x550b0c):null,'lt':_0x8fb308?collection3_indexify(_0x8fb308):null,'gte':_0x4c3e3d?collection3_indexify(_0x4c3e3d):null,'lte':_0x4f8c2f?collection3_indexify(_0x4f8c2f):null});
},'encodeValue'(_0xbe4c0e,_0x296c39,_0x5a8f89){
_0x5e7140={
  _0x101b65:0x632,_0xc8b465:0x1eb},_0x38e29a={
  _0x4a6295:0x7e,_0x1332eb:0x5c,_0x1b8784:0x4fa}
;
setVersion(_0xbe4c0e);
const _0x59324c={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection3_enc.preencode(_0x59324c,_0x5a8f89),_0x59324c.buffer=b4a.allocUnsafe(_0x59324c.end),collection3_enc.encode(_0x59324c,_0x5a8f89),_0x59324c.buffer;
},'trigger':null,'reconstruct':collection3_reconstruct,'reconstructKey':collection3_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection4_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x4});
function collection4_indexify(_0x49d762){
  _0x53fe1f={
    _0x4313b3:0x181,_0x1fa19b:0x1bd}
  ;
  const _0x39033a=_0x49d762.deviceKey;
  return _0x39033a===undefined?[]:[_0x39033a];
}
const collection4_enc=getEncoding("@keet/join-request/hyperdb#4");
function collection4_reconstruct(_0x1c7c57,_0x444b01,_0x5d4e07){
  _0x2e0ed5={
    _0x5aadaa:0x31,_0x55c9bf:0x150},_0x2a07ad={
    _0x5d01f0:0x402,_0x15deaf:0x1cf,_0xbf8b96:0x48}
  ;
  const _0x2cd958=collection4_key.decode(_0x444b01);
  setVersion(_0x1c7c57);
  const _0x462dcc={
    'start':0x0,'end':_0x5d4e07.byteLength,'buffer':_0x5d4e07},_0x2a8665=collection4_enc.decode(_0x462dcc);
  _0x2a8665.deviceKey=_0x2cd958[--0x45da];
  return _0x2a8665;
}
function collection4_reconstruct_key(_0x317431){
  _0x1440a1={
    _0x457e5d:0x14f},_0x262211=collection4_key.decode(_0x317431);
  return{
    'deviceKey':_0x262211[0x0]}
  ;
}
const collection4={
  'name':"@keet/join-requests",'id':0x4,'version':0x0,'encodeKey'(_0x511d20){
    _0x396547={
      _0x3df302:0x179,_0xd320fd:0x135},_0x4f27e4={
      _0x105a85:0x168,_0x33fd63:0x62,_0x416448:0x3d},_0x26a5e6=[_0x511d20.deviceKey];
    return collection4_key.encode(_0x26a5e6);
  },'encodeKeyRange'({gt:_0x4c5d76,lt:_0x5ea88c,gte:_0x40dd4a,lte:_0x1030f2}={}){
  _0x1c440a={
    _0x3ae9ae:0x31d,_0x1d1b88:0x45}
  ;
  return collection4_key.encodeRange({'gt':_0x4c5d76?collection4_indexify(_0x4c5d76):null,'lt':_0x5ea88c?collection4_indexify(_0x5ea88c):null,'gte':_0x40dd4a?collection4_indexify(_0x40dd4a):null,'lte':_0x1030f2?collection4_indexify(_0x1030f2):null});
},'encodeValue'(_0x71a9ac,_0x2c476e,_0x298ba4){
_0x2b687a={
  _0x5c2301:0xf7,_0x57145e:0x13a},_0x31edd4={
  _0x40a718:0x4aa}
;
setVersion(_0x71a9ac);
const _0x272ed7={
  'start':0x0,'end':0x0,'buffer':null}
;
collection4_enc.preencode(_0x272ed7,_0x298ba4),_0x272ed7.buffer=b4a.allocUnsafe(_0x272ed7.end),collection4_enc.encode(_0x272ed7,_0x298ba4);
return _0x272ed7.buffer;
},'trigger':null,'reconstruct':collection4_reconstruct,'reconstructKey':collection4_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection5_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x5});
function collection5_indexify(_0x1bde77){
  _0x25b1cc={
    _0x3e0b2f:0x12e,_0x156af2:0x1f},_0x1fb2a0=_0x1bde77.key;
  return _0x1fb2a0===undefined?[]:[_0x1fb2a0];
}
const collection5_enc=getEncoding("@keet/device/hyperdb#5"),collection5_trigger=helpers0.devicesTrigger;
function collection5_reconstruct(_0x260eb1,_0x638df4,_0x319d2a){
  _0x1f7a49={
    _0x4bef04:0x1},_0x384118={
    _0x423107:0x3ca,_0x47ff7a:0x126,_0xb910c6:0xf9}
  ;
  const _0x4c2622=collection5_key.decode(_0x638df4);
  setVersion(_0x260eb1);
  const _0x59e8d2={
    'start':0x0,'end':_0x319d2a.byteLength,'buffer':_0x319d2a}
  ;
  const _0x1ededd=collection5_enc.decode(_0x59e8d2);
  return _0x1ededd.key=_0x4c2622[--0x3e5c],_0x1ededd;
}
function collection5_reconstruct_key(_0x5b8871){
  _0x386f4c={
    _0x29ed0e:0x15f,_0x109560:0xa1}
  ;
  const _0x22c14a=collection5_key.decode(_0x5b8871);
  return{
    'key':_0x22c14a[--0x3572]}
  ;
}
const collection5={
  'name':"@keet/devices",'id':0x5,'version':0x0,'encodeKey'(_0x1ac1f7){
    _0x3be256={
      _0x16fbc2:0x5bc,_0x475fb6:0x14c,_0x3a6f39:0x1c8},_0x4b10c1=[_0x1ac1f7.key];
    return collection5_key.encode(_0x4b10c1);
  },'encodeKeyRange'({gt:_0x5bcef4,lt:_0xced208,gte:_0x574208,lte:_0x59ab8f}={}){
  _0x46075d={
    _0x710dbc:0x578,_0x47f0be:0xa1,_0xe2447d:0x15d}
  ;
  return collection5_key.encodeRange({'gt':_0x5bcef4?collection5_indexify(_0x5bcef4):null,'lt':_0xced208?collection5_indexify(_0xced208):null,'gte':_0x574208?collection5_indexify(_0x574208):null,'lte':_0x59ab8f?collection5_indexify(_0x59ab8f):null});
},'encodeValue'(_0x499327,_0x104106,_0x507f33){
_0x291efa={
  _0x45ef84:0x136},_0x31077a={
  _0x3eff02:0x14b,_0x40be32:0x666}
;
setVersion(_0x499327);
const _0x1990be={
  'start':0x0,'end':0x0,'buffer':null}
;
collection5_enc.preencode(_0x1990be,_0x507f33),_0x1990be.buffer=b4a.allocUnsafe(_0x1990be.end);
return collection5_enc.encode(_0x1990be,_0x507f33),_0x1990be.buffer;
},'trigger':collection5_trigger,'reconstruct':collection5_reconstruct,'reconstructKey':collection5_reconstruct_key,'indexes':[],'decodedVersion':0x0},index6_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x6});
function index6_indexify(_0x418909){
  _0x441db2={
    _0x396f1b:0x35,_0x237125:0x4c},_0x565f44={
    _0x360c3a:0x96,_0x39cfcc:0x65,_0x258e3f:0x1cb},_0xcb9256=[],_0x22dbdc=_0x418909.memberKey;
  if(_0x22dbdc===undefined)return _0xcb9256;
  _0xcb9256.push(_0x22dbdc);
  const _0x174794=_0x418909.key;
  if(_0x174794===undefined)return _0xcb9256;
  return _0xcb9256.push(_0x174794),_0xcb9256;
}
const index6={
  'name':"@keet/devices-by-member-key",'version':0x0,'id':0x6,'encodeKey'(_0x5a5cef){
    return index6_key.encode(index6_indexify(_0x5a5cef));
  },'encodeKeyRange'({gt:_0x58e5cc,lt:_0x2874f1,gte:_0xade2ca,lte:_0xe3fad1}={}){
  _0x5c9a3c={
    _0x61cd19:0x225,_0x181f27:0x12f,_0x3512e7:0x1b1}
  ;
  return index6_key.encodeRange({'gt':_0x58e5cc?index6_indexify(_0x58e5cc):null,'lt':_0x2874f1?index6_indexify(_0x2874f1):null,'gte':_0xade2ca?index6_indexify(_0xade2ca):null,'lte':_0xe3fad1?index6_indexify(_0xe3fad1):null});
},'encodeValue':_0x871a9a=>index6.collection.encodeKey(_0x871a9a),'encodeIndexKeys'(_0x42920a,_0x15b7e5){
_0x7f2b7d={
  _0xe0c170:0x1bf,_0x33f7b2:0x190,_0xb68df9:0x5c2},_0x2ad428={
  _0x253768:0x120}
;
return[index6_key.encode([_0x42920a.memberKey,_0x42920a.key])];
},'reconstruct':(_0x3ce30a,_0x4c01c2)=>_0x4c01c2,'offset':collection5.indexes.length,'collection':collection5}
;
collection5.indexes.push(index6);
const index7_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x7});
function index7_indexify(_0x14268c){
  _0x58bda3={
    _0x59b359:0x31,_0x356b82:0x1e2,_0x13aa31:0x23},_0x29415b={
    _0x519ae2:0x4e,_0x3f2808:0xdb,_0x92ebf2:0x334}
  ;
  const _0x1d2c5f=_0x14268c.profile?..swarmKey;
  return _0x1d2c5f===undefined?[]:[_0x1d2c5f];
}
const index7={
  'name':"@keet/devices-by-swarm-key",'version':0x0,'id':0x7,'encodeKey'(_0x58e29b){
    _0x179021={
      _0x43080a:0x391,_0x3c20d3:0xe8}
    ;
    return index7_key.encode(index7_indexify(_0x58e29b));
  },'encodeKeyRange'({gt:_0x3a791b,lt:_0x395ebd,gte:_0x17a33d,lte:_0x323bba}={}){
  return index7_key.encodeRange({'gt':_0x3a791b?index7_indexify(_0x3a791b):null,'lt':_0x395ebd?index7_indexify(_0x395ebd):null,'gte':_0x17a33d?index7_indexify(_0x17a33d):null,'lte':_0x323bba?index7_indexify(_0x323bba):null});
},'encodeValue':_0x17bf49=>index7.collection.encodeKey(_0x17bf49),'encodeIndexKeys'(_0x13982a,_0xe14cc){
_0x3bca64={
  _0x37e04c:0x165},_0x935421={
  _0x461210:0x277,_0x15334e:0x5}
;
return[index7_key.encode([_0x13982a.profile.swarmKey])];
},'reconstruct':(_0x2684b8,_0x23eb4a)=>_0x23eb4a,'offset':collection5.indexes.length,'collection':collection5}
;
collection5.indexes.push(index7);
const index8_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x8}),index8_map=helpers0.activeDevicesByMemberKeyMap;
function index8_indexify(_0x1b4831){
  const _0x36f7bd=_0x1b4831.memberKey;
  return _0x36f7bd===undefined?[]:[_0x36f7bd];
}
const index8={
  'name':"@keet/active-devices-by-member-key",'version':0x0,'id':0x8,'encodeKey'(_0x213449){
    _0x4b0f84={
      _0x2f857c:0x75}
    ;
    return index8_key.encode(index8_indexify(_0x213449));
  },'encodeKeyRange'({gt:_0x102ba5,lt:_0x60bd4e,gte:_0x3372b3,lte:_0x4e2dc9}={}){
  _0x320b80={
    _0x3d9525:0x159,_0x4dacda:0x3d}
  ;
  return index8_key.encodeRange({'gt':_0x102ba5?index8_indexify(_0x102ba5):null,'lt':_0x60bd4e?index8_indexify(_0x60bd4e):null,'gte':_0x3372b3?index8_indexify(_0x3372b3):null,'lte':_0x4e2dc9?index8_indexify(_0x4e2dc9):null});
},'encodeValue':_0x513a6e=>index8.collection.encodeKey(_0x513a6e),'encodeIndexKeys'(_0x4d2917,_0x216d79){
_0x264558={
  _0x598b24:0x14e,_0x5e236e:0xd3}
;
const _0x288472=index8_map(_0x4d2917,_0x216d79),_0x13c525=new Array(_0x288472.length);
for(let _0x564a29=0x0;_0x564a29<_0x288472.length;_0x564a29++){
  const _0x5e5239=_0x288472[_0x564a29];
  _0x13c525[_0x564a29]=index8_key.encode([_0x5e5239.memberKey,_0x4d2917.key]);
}
return _0x13c525;
},'reconstruct':(_0x4d51f4,_0x215aa1)=>_0x215aa1,'offset':collection5.indexes.length,'collection':collection5}
;
collection5.indexes.push(index8);
const index9_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x9}),index9_map=helpers0.activeDevicesMap;
function index9_indexify(_0xc74fbf){
  _0x539bf1={
    _0x388200:0x91,_0x5b63f0:0x18f,_0x3c4850:0x1ee},_0x20326d=_0xc74fbf.key;
  return _0x20326d===undefined?[]:[_0x20326d];
}
const index9={
  'name':"@keet/active-devices",'version':0x0,'id':0x9,'encodeKey'(_0x1825e0){
    _0x3c9684={
      _0x1f8a61:0x4d9,_0x3f1ba5:0x1c7}
    ;
    return index9_key.encode(index9_indexify(_0x1825e0));
  },'encodeKeyRange'({gt:_0x43a546,lt:_0xb3982d,gte:_0x5367c9,lte:_0x20b1aa}={}){
  return index9_key.encodeRange({'gt':_0x43a546?index9_indexify(_0x43a546):null,'lt':_0xb3982d?index9_indexify(_0xb3982d):null,'gte':_0x5367c9?index9_indexify(_0x5367c9):null,'lte':_0x20b1aa?index9_indexify(_0x20b1aa):null});
},'encodeValue':_0x4afd8a=>index9.collection.encodeKey(_0x4afd8a),'encodeIndexKeys'(_0x54b172,_0x3fab9a){
_0x7162c6={
  _0x585a41:0x2e3,_0x137fbc:0x26,_0x27f9a8:0x71},_0x3d0803={
  _0x437e92:0x493,_0xcd67d4:0x1a1,_0x27a3ec:0x16a},_0x545692=index9_map(_0x54b172,_0x3fab9a);
const _0x3ef35a=new Array(_0x545692.length);
for(let _0x2f9da9=--0x166;_0x2f9da9<_0x545692.length;_0x2f9da9++){
  const _0x24d6d6=_0x545692[_0x2f9da9];
  _0x3ef35a[_0x2f9da9]=index9_key.encode([_0x24d6d6.key]);
}
return _0x3ef35a;
},'reconstruct':(_0x36eb15,_0x39e568)=>_0x39e568,'offset':collection5.indexes.length,'collection':collection5}
;
collection5.indexes.push(index9);
const collection10_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xa});
function collection10_indexify(_0x2277a5){
  const _0x373db9=_0x2277a5.key;
  return _0x373db9===undefined?[]:[_0x373db9];
}
const collection10_enc=getEncoding("@keet/member-proofs/hyperdb#10");
function collection10_reconstruct(_0x442426,_0x1d4bc9,_0x28f8aa){
  _0x2efad8={
    _0xb3f15b:0x227,_0x3facc4:0x1e4},_0x2776d5={
    _0x237522:0x125,_0x5b9bb9:0x186,_0x2c611e:0xc2},_0x5ceabe=collection10_key.decode(_0x1d4bc9);
  setVersion(_0x442426);
  const _0x483603={
    'start':0x0,'end':_0x28f8aa.byteLength,'buffer':_0x28f8aa}
  ;
  const _0x4cc34a=collection10_enc.decode(_0x483603);
  return _0x4cc34a.key=_0x5ceabe[-0xea8],_0x4cc34a;
}
function collection10_reconstruct_key(_0x131bf6){
  _0x39f8a9={
    _0xf062f2:0x1ba},_0x10d526=collection10_key.decode(_0x131bf6);
  return{
    'key':_0x10d526[0x0]}
  ;
}
const collection10={
  'name':"@keet/member-proofs",'id':0xa,'version':0x0,'encodeKey'(_0x2d11c7){
    _0xe56679={
      _0x4b215b:0xd4,_0x209d98:0x229},_0x5557ca={
      _0x5d1d2d:0x355,_0x14d217:0x188,_0x4e14f3:0x10f}
    ;
    const _0x4e527e=[_0x2d11c7.key];
    return collection10_key.encode(_0x4e527e);
  },'encodeKeyRange'({gt:_0x42ca26,lt:_0x107911,gte:_0x28df20,lte:_0x1b40f4}={}){
  _0xcc90fc={
    _0x4ddbba:0x11,_0x1bb85c:0x40,_0x27781d:0x198}
  ;
  return collection10_key.encodeRange({'gt':_0x42ca26?collection10_indexify(_0x42ca26):null,'lt':_0x107911?collection10_indexify(_0x107911):null,'gte':_0x28df20?collection10_indexify(_0x28df20):null,'lte':_0x1b40f4?collection10_indexify(_0x1b40f4):null});
},'encodeValue'(_0x4dab2e,_0x31fe53,_0x162f3f){
_0x635125={
  _0x4f2d7b:0x36,_0x48703c:0x143},_0x4c25bc={
  _0x8c048e:0x50c,_0x529795:0xfa,_0x588033:0xd}
;
setVersion(_0x4dab2e);
const _0x267ff3={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection10_enc.preencode(_0x267ff3,_0x162f3f),_0x267ff3.buffer=b4a.allocUnsafe(_0x267ff3.end),collection10_enc.encode(_0x267ff3,_0x162f3f),_0x267ff3.buffer;
},'trigger':null,'reconstruct':collection10_reconstruct,'reconstructKey':collection10_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection11_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xb});
function collection11_indexify(_0x1d0f03){
  _0x539d5a={
    _0x336700:0x95,_0x92fae:0x16c}
  ;
  const _0x902677=_0x1d0f03.key;
  return _0x902677===undefined?[]:[_0x902677];
}
const collection11_enc=getEncoding("@keet/member/hyperdb#11"),collection11_trigger=helpers0.membersTrigger;
function collection11_reconstruct(_0xfd3f0b,_0x431485,_0x59b428){
  _0x2e2875={
    _0x528f6c:0x439,_0x460410:0x5d},_0x241542={
    _0x3613aa:0x5cb,_0x211235:0x192,_0x514d08:0x14a}
  ;
  const _0x4aec2b=collection11_key.decode(_0x431485);
  setVersion(_0xfd3f0b);
  const _0x262b51={
    'start':0x0,'end':_0x59b428.byteLength,'buffer':_0x59b428},_0x14d9ce=collection11_enc.decode(_0x262b51);
  return _0x14d9ce.key=_0x4aec2b[0x0],_0x14d9ce;
}
function collection11_reconstruct_key(_0x5d4c83){
  _0x57f6f4={
    _0x38770:0x314},_0x3d5333=collection11_key.decode(_0x5d4c83);
  return{
    'key':_0x3d5333[--0x1dea]}
  ;
}
const collection11={
  'name':"@keet/members",'id':0xb,'version':0x0,'encodeKey'(_0x49ee61){
    const _0x292165=[_0x49ee61.key];
    return collection11_key.encode(_0x292165);
  },'encodeKeyRange'({gt:_0x5a21de,lt:_0x35bb16,gte:_0x684b5c,lte:_0x485f67}={}){
  _0x3ffeed={
    _0x4e16b0:0x393,_0x8de6bd:0x1b7,_0x2fb13f:0x1bc}
  ;
  return collection11_key.encodeRange({'gt':_0x5a21de?collection11_indexify(_0x5a21de):null,'lt':_0x35bb16?collection11_indexify(_0x35bb16):null,'gte':_0x684b5c?collection11_indexify(_0x684b5c):null,'lte':_0x485f67?collection11_indexify(_0x485f67):null});
},'encodeValue'(_0x894806,_0x59b11c,_0x27d1d9){
_0x5e1823={
  _0x32802c:0x1c0,_0x392c11:0x1bb},_0x5cace1={
  _0x4d97ef:0xb0,_0x13e5f4:0x1d}
;
setVersion(_0x894806);
const _0x5366b0={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection11_enc.preencode(_0x5366b0,_0x27d1d9),_0x5366b0.buffer=b4a.allocUnsafe(_0x5366b0.end),collection11_enc.encode(_0x5366b0,_0x27d1d9),_0x5366b0.buffer;
},'trigger':collection11_trigger,'reconstruct':collection11_reconstruct,'reconstructKey':collection11_reconstruct_key,'indexes':[],'decodedVersion':0x0},index12_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xc}),index12_map=helpers0.moderatorsMap;
function index12_indexify(_0x5e57aa){
  _0x35d356={
    _0x1598b6:0x3c8,_0x10fb06:0x79,_0x567bcc:0x8}
  ;
  const _0x2ad1cb=_0x5e57aa.key;
  return _0x2ad1cb===undefined?[]:[_0x2ad1cb];
}
const index12={
  'name':"@keet/moderators",'version':0x0,'id':0xc,'encodeKey'(_0x3929ac){
    _0x2f8722={
      _0x3d9722:0x1c9,_0x15ea6d:0xef}
    ;
    return index12_key.encode(index12_indexify(_0x3929ac));
  },'encodeKeyRange'({gt:_0x217f35,lt:_0x4349d4,gte:_0x4c7a3f,lte:_0x4377bf}={}){
  return index12_key.encodeRange({'gt':_0x217f35?index12_indexify(_0x217f35):null,'lt':_0x4349d4?index12_indexify(_0x4349d4):null,'gte':_0x4c7a3f?index12_indexify(_0x4c7a3f):null,'lte':_0x4377bf?index12_indexify(_0x4377bf):null});
},'encodeValue':_0x4acfea=>index12.collection.encodeKey(_0x4acfea),'encodeIndexKeys'(_0x563cc2,_0x55ea54){
_0x34c8c0={
  _0xf3d8e9:0x35b,_0x455d77:0x32,_0x310533:0x76},_0x38198f={
  _0x20ea76:0x19c,_0xb9f0f8:0xac}
;
const _0x148082=index12_map(_0x563cc2,_0x55ea54),_0x29fc40=new Array(_0x148082.length);
for(let _0x4fada8=0x0;_0x4fada8<_0x148082.length;_0x4fada8++){
  const _0x194239=_0x148082[_0x4fada8];
  _0x29fc40[_0x4fada8]=index12_key.encode([_0x194239.key]);
}
return _0x29fc40;
},'reconstruct':(_0x4ac7a2,_0x1dff9b)=>_0x1dff9b,'offset':collection11.indexes.length,'collection':collection11}
;
collection11.indexes.push(index12);
const index13_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xd}),index13_map=helpers0.adminsMap;
function index13_indexify(_0x3a2d49){
  _0x21338c={
    _0x5658e6:0x2dd}
  ;
  const _0x4e640a=_0x3a2d49.key;
  return _0x4e640a===undefined?[]:[_0x4e640a];
}
const index13={
  'name':"@keet/admins",'version':0x0,'id':0xd,'encodeKey'(_0x28560c){
    _0x26a2b6={
      _0x5f034b:0xa9,_0x359088:0x138,_0x11e2a2:0x18a}
    ;
    return index13_key.encode(index13_indexify(_0x28560c));
  },'encodeKeyRange'({gt:_0x1a73bc,lt:_0xdbc5bc,gte:_0x385eaa,lte:_0x26d283}={}){
  _0x4f2520={
    _0x45a544:0x1cf,_0x357cf0:0x38}
  ;
  return index13_key.encodeRange({'gt':_0x1a73bc?index13_indexify(_0x1a73bc):null,'lt':_0xdbc5bc?index13_indexify(_0xdbc5bc):null,'gte':_0x385eaa?index13_indexify(_0x385eaa):null,'lte':_0x26d283?index13_indexify(_0x26d283):null});
},'encodeValue':_0x2627c3=>index13.collection.encodeKey(_0x2627c3),'encodeIndexKeys'(_0x20e69e,_0x1e1b80){
_0x49e09c={
  _0x35e58a:0x445,_0x4e7602:0x7c}
;
const _0x4a6264=index13_map(_0x20e69e,_0x1e1b80),_0x2dc45a=new Array(_0x4a6264.length);
for(let _0x50bbb8=--0x3e5c;_0x50bbb8<_0x4a6264.length;_0x50bbb8++){
  const _0x35b24a=_0x4a6264[_0x50bbb8];
  _0x2dc45a[_0x50bbb8]=index13_key.encode([_0x35b24a.key]);
}
return _0x2dc45a;
},'reconstruct':(_0x2f6123,_0x36cdb9)=>_0x36cdb9,'offset':collection11.indexes.length,'collection':collection11}
;
collection11.indexes.push(index13);
const index14_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xe}),index14_map=helpers0.activeMembersMap;
function index14_indexify(_0x16876b){
  _0x5cce3c={
    _0x3b0dbc:0x5ec},_0x48dc46=_0x16876b.key;
  return _0x48dc46===undefined?[]:[_0x48dc46];
}
const index14={
  'name':"@keet/active-members",'version':0x0,'id':0xe,'encodeKey'(_0x49cff9){
    _0x244e8d={
      _0x55d9b9:0x141,_0x343568:0x115,_0x276216:0x376}
    ;
    return index14_key.encode(index14_indexify(_0x49cff9));
  },'encodeKeyRange'({gt:_0x4cc72e,lt:_0x1f3f25,gte:_0x344ec9,lte:_0x5cd1ab}={}){
  _0x5db38a={
    _0x46c80f:0x97,_0x544e72:0x14a}
  ;
  return index14_key.encodeRange({'gt':_0x4cc72e?index14_indexify(_0x4cc72e):null,'lt':_0x1f3f25?index14_indexify(_0x1f3f25):null,'gte':_0x344ec9?index14_indexify(_0x344ec9):null,'lte':_0x5cd1ab?index14_indexify(_0x5cd1ab):null});
},'encodeValue':_0x182bfd=>index14.collection.encodeKey(_0x182bfd),'encodeIndexKeys'(_0x1ad43a,_0x1d9a1d){
_0x5dce31={
  _0x357100:0x53,_0x4d983f:0x1c3},_0x19f624={
  _0x4df9dd:0x128,_0x262a53:0x187,_0x3351b4:0x3f1},_0x1e1d83=index14_map(_0x1ad43a,_0x1d9a1d),_0xd76980=new Array(_0x1e1d83.length);
for(let _0x179513=0x0;_0x179513<_0x1e1d83.length;_0x179513++){
  const _0x286f84=_0x1e1d83[_0x179513];
  _0xd76980[_0x179513]=index14_key.encode([_0x286f84.key]);
}
return _0xd76980;
},'reconstruct':(_0x32bce4,_0x13a857)=>_0x13a857,'offset':collection11.indexes.length,'collection':collection11}
;
collection11.indexes.push(index14);
const index15_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xf}),index15_map=helpers0.mutedMembersMap;
function index15_indexify(_0x57bb4){
  _0x26e17f={
    _0x242488:0x70,_0x1592a3:0x13e}
  ;
  const _0x353120=_0x57bb4.key;
  return _0x353120===undefined?[]:[_0x353120];
}
const index15={
  'name':"@keet/muted-members",'version':0x0,'id':0xf,'encodeKey'(_0x823ae){
    _0x41b8b7={
      _0x6f328a:0x4c5,_0x4a47e5:0x141}
    ;
    return index15_key.encode(index15_indexify(_0x823ae));
  },'encodeKeyRange'({gt:_0x1c7982,lt:_0xf276de,gte:_0x4e051a,lte:_0x2c350d}={}){
  _0x4e4890={
    _0x362df5:0x113,_0x26525c:0x167,_0x69eaba:0x12c}
  ;
  return index15_key.encodeRange({'gt':_0x1c7982?index15_indexify(_0x1c7982):null,'lt':_0xf276de?index15_indexify(_0xf276de):null,'gte':_0x4e051a?index15_indexify(_0x4e051a):null,'lte':_0x2c350d?index15_indexify(_0x2c350d):null});
},'encodeValue':_0x14ecc1=>index15.collection.encodeKey(_0x14ecc1),'encodeIndexKeys'(_0x1ad7c0,_0x2780aa){
_0x52c4cc={
  _0x5a4354:0x3ed,_0x494060:0x91,_0x4c8861:0x22},_0x1b8c35={
  _0x8b7f3e:0xd4,_0x2ae25b:0x14},_0x240dd3=index15_map(_0x1ad7c0,_0x2780aa),_0x253b33=new Array(_0x240dd3.length);
for(let _0x3071a6=--0x552;_0x3071a6<_0x240dd3.length;_0x3071a6++){
  const _0x143e7c=_0x240dd3[_0x3071a6];
  _0x253b33[_0x3071a6]=index15_key.encode([_0x143e7c.key]);
}
return _0x253b33;
},'reconstruct':(_0x2dbc9c,_0x4cd735)=>_0x4cd735,'offset':collection11.indexes.length,'collection':collection11}
;
collection11.indexes.push(index15);
const index16_key=new IndexEncoder([IndexEncoder.STRING,IndexEncoder.BUFFER],{'prefix':0x10}),index16_map=helpers0.membersByMemberNameMap;
function index16_indexify(_0xb0ccb5){
  const _0x3a94f0=_0xb0ccb5.name;
  return _0x3a94f0===undefined?[]:[_0x3a94f0];
}
const index16={
  'name':"@keet/members-by-member-name",'version':0x0,'id':0x10,'encodeKey'(_0x1146f2){
    return index16_key.encode(index16_indexify(_0x1146f2));
  },'encodeKeyRange'({gt:_0x382234,lt:_0x3f35f1,gte:_0x505a4f,lte:_0x492a3b}={}){
  _0x5be423={
    _0x118157:0x35,_0x321c7e:0x9e,_0x346626:0x1b0}
  ;
  return index16_key.encodeRange({'gt':_0x382234?index16_indexify(_0x382234):null,'lt':_0x3f35f1?index16_indexify(_0x3f35f1):null,'gte':_0x505a4f?index16_indexify(_0x505a4f):null,'lte':_0x492a3b?index16_indexify(_0x492a3b):null});
},'encodeValue':_0x3673ec=>index16.collection.encodeKey(_0x3673ec),'encodeIndexKeys'(_0x23818e,_0x2e9a5c){
_0x1236ae={
  _0x26a59a:0x1a3,_0xe40761:0xe2,_0x144f87:0x9d},_0x5bac2c={
  _0x2e28b5:0x93}
;
const _0x358d2c=index16_map(_0x23818e,_0x2e9a5c),_0x44d52e=new Array(_0x358d2c.length);
for(let _0x506ece=0x0;_0x506ece<_0x358d2c.length;_0x506ece++){
  const _0x19e962=_0x358d2c[_0x506ece];
  _0x44d52e[_0x506ece]=index16_key.encode([_0x19e962.name,_0x23818e.key]);
}
return _0x44d52e;
},'reconstruct':(_0x664009,_0x2f75b5)=>_0x2f75b5,'offset':collection11.indexes.length,'collection':collection11}
;
collection11.indexes.push(index16);
const collection17_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x11});
function collection17_indexify(_0x2269c4){
  _0x1ffd5b={
    _0x3379e5:0x125,_0x1d95a7:0x1e1,_0x12fac3:0x231}
  ;
  const _0x15b594=_0x2269c4.key;
  return _0x15b594===undefined?[]:[_0x15b594];
}
const collection17_enc=getEncoding("@keet/member-activity/hyperdb#17");
function collection17_reconstruct(_0x366b77,_0x44d270,_0x3cb7c3){
  _0x1830f8={
    _0x335f8c:0x112,_0x3094a1:0x105,_0x1324c0:0x4c5},_0x3cfe4d={
    _0x3540aa:0xf3}
  ;
  const _0x5ef55b=collection17_key.decode(_0x44d270);
  setVersion(_0x366b77);
  const _0x5a4e37={
    'start':0x0,'end':_0x3cb7c3.byteLength,'buffer':_0x3cb7c3}
  ;
  const _0x3b8865=collection17_enc.decode(_0x5a4e37);
  return _0x3b8865.key=_0x5ef55b[0x0],_0x3b8865;
}
function collection17_reconstruct_key(_0x57fa70){
  _0x1a1fb4={
    _0x5f163b:0x1d0,_0x1dc94c:0xd7}
  ;
  const _0x45c656=collection17_key.decode(_0x57fa70);
  return{
    'key':_0x45c656[-0x3c3c]}
  ;
}
const collection17={
  'name':"@keet/member-activity",'id':0x11,'version':0x0,'encodeKey'(_0x2ad49f){
    _0x4fdfb9={
      _0x571643:0xde,_0x4500f0:0x107,_0x5d1011:0x7},_0x5214e8={
      _0x55d692:0xe0,_0x88e59d:0xeb,_0x5c11f7:0x35a},_0x1edbed=[_0x2ad49f.key];
    return collection17_key.encode(_0x1edbed);
  },'encodeKeyRange'({gt:_0x474692,lt:_0x467d5b,gte:_0x3bf7cc,lte:_0x4ca578}={}){
  return collection17_key.encodeRange({'gt':_0x474692?collection17_indexify(_0x474692):null,'lt':_0x467d5b?collection17_indexify(_0x467d5b):null,'gte':_0x3bf7cc?collection17_indexify(_0x3bf7cc):null,'lte':_0x4ca578?collection17_indexify(_0x4ca578):null});
},'encodeValue'(_0xd8ee9a,_0x3b60ce,_0x3961de){
_0x9383c4={
  _0x370674:0x1f4,_0x4511f7:0x134,_0x19f900:0xd4},_0x50b094={
  _0x54a007:0x32d,_0x19f78f:0x16a,_0x501999:0x82}
;
setVersion(_0xd8ee9a);
const _0x25072e={
  'start':0x0,'end':0x0,'buffer':null}
;
collection17_enc.preencode(_0x25072e,_0x3961de),_0x25072e.buffer=b4a.allocUnsafe(_0x25072e.end),collection17_enc.encode(_0x25072e,_0x3961de);
return _0x25072e.buffer;
},'trigger':null,'reconstruct':collection17_reconstruct,'reconstructKey':collection17_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection18_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x12});
function collection18_indexify(_0x4ed93e){
  const _0x55e9c5=_0x4ed93e.id;
  return _0x55e9c5===undefined?[]:[_0x55e9c5];
}
const collection18_enc=getEncoding("@keet/invitation/hyperdb#18");
function collection18_reconstruct(_0x1ad9ec,_0x33a9e7,_0x28c821){
  _0x38d156={
    _0x169e55:0x592,_0x239731:0x1d1,_0x4bb7a6:0x164},_0x5ca1f4={
    _0x192406:0x90,_0x2dfd2f:0x94,_0x5adbc1:0x1ca},_0x34a068=collection18_key.decode(_0x33a9e7);
  setVersion(_0x1ad9ec);
  const _0x3693d6={
    'start':0x0,'end':_0x28c821.byteLength,'buffer':_0x28c821}
  ;
  const _0x5a90e0=collection18_enc.decode(_0x3693d6);
  _0x5a90e0.id=_0x34a068[0x0];
  return _0x5a90e0;
}
function collection18_reconstruct_key(_0x29c624){
  _0x7388c7={
    _0x1a060d:0x9f,_0x71acd5:0x141},_0xbc8397=collection18_key.decode(_0x29c624);
  return{
    'id':_0xbc8397[0x0]}
  ;
}
const collection18={
  'name':"@keet/invitations",'id':0x12,'version':0x0,'encodeKey'(_0x3a1e37){
    const _0x4c53a6=[_0x3a1e37.id];
    return collection18_key.encode(_0x4c53a6);
  },'encodeKeyRange'({gt:_0xaeeca5,lt:_0x50a371,gte:_0x1d7ad1,lte:_0x27e88f}={}){
  return collection18_key.encodeRange({'gt':_0xaeeca5?collection18_indexify(_0xaeeca5):null,'lt':_0x50a371?collection18_indexify(_0x50a371):null,'gte':_0x1d7ad1?collection18_indexify(_0x1d7ad1):null,'lte':_0x27e88f?collection18_indexify(_0x27e88f):null});
},'encodeValue'(_0x3719dc,_0xd8c04a,_0x1c48f8){
_0x1c31d9={
  _0x5b68c6:0x11f,_0x55fff8:0x23,_0x196023:0x388},_0xc06e10={
  _0x27d0a1:0x19,_0xb5feb3:0xab}
;
setVersion(_0x3719dc);
const _0x1cec74={
  'start':0x0,'end':0x0,'buffer':null}
;
collection18_enc.preencode(_0x1cec74,_0x1c48f8),_0x1cec74.buffer=b4a.allocUnsafe(_0x1cec74.end);
return collection18_enc.encode(_0x1cec74,_0x1c48f8),_0x1cec74.buffer;
},'trigger':null,'reconstruct':collection18_reconstruct,'reconstructKey':collection18_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection19_key=new IndexEncoder([IndexEncoder.UINT],{'prefix':0x13});
function collection19_indexify(_0x358eda){
  const _0x84ea32=_0x358eda.id;
  return _0x84ea32===undefined?[]:[_0x84ea32];
}
const collection19_enc=getEncoding("@keet/thread/hyperdb#19");
function collection19_reconstruct(_0x1dd2e2,_0x5bcb06,_0x1a7665){
  _0x32e8b9={
    _0x547dae:0x1ef,_0x3203e9:0x8e,_0xa7e727:0x1bb},_0x1cae3d={
    _0x100434:0x1a9,_0x23b675:0x39},_0x500a31=collection19_key.decode(_0x5bcb06);
  setVersion(_0x1dd2e2);
  const _0x1fa552={
    'start':0x0,'end':_0x1a7665.byteLength,'buffer':_0x1a7665}
  ;
  const _0x39b7a3=collection19_enc.decode(_0x1fa552);
  _0x39b7a3.id=_0x500a31[-0x24f4];
  return _0x39b7a3;
}
function collection19_reconstruct_key(_0x4dcd16){
  const _0x161e67=collection19_key.decode(_0x4dcd16);
  return{
    'id':_0x161e67[0x0]}
  ;
}
const collection19={
  'name':"@keet/threads",'id':0x13,'version':0x0,'encodeKey'(_0x5f2527){
    _0x31a237={
      _0x121a65:0x1b0,_0x5d5751:0x5f5},_0x4d164c=[_0x5f2527.id];
    return collection19_key.encode(_0x4d164c);
  },'encodeKeyRange'({gt:_0x5efc3e,lt:_0x49252e,gte:_0x1f75eb,lte:_0x3ee73f}={}){
  _0x2f73a5={
    _0x87c2d2:0x2d2}
  ;
  return collection19_key.encodeRange({'gt':_0x5efc3e?collection19_indexify(_0x5efc3e):null,'lt':_0x49252e?collection19_indexify(_0x49252e):null,'gte':_0x1f75eb?collection19_indexify(_0x1f75eb):null,'lte':_0x3ee73f?collection19_indexify(_0x3ee73f):null});
},'encodeValue'(_0x505f3b,_0x2faa0c,_0x4ec6de){
_0x2783e0={
  _0x46beb0:0x28,_0x577d75:0x21b},_0x17d319={
  _0x3db2ac:0x36,_0x414937:0x1d3}
;
setVersion(_0x505f3b);
const _0x1bd6ff={
  'start':0x0,'end':0x0,'buffer':null}
;
collection19_enc.preencode(_0x1bd6ff,_0x4ec6de);
return _0x1bd6ff.buffer=b4a.allocUnsafe(_0x1bd6ff.end),collection19_enc.encode(_0x1bd6ff,_0x4ec6de),_0x1bd6ff.buffer;
},'trigger':null,'reconstruct':collection19_reconstruct,'reconstructKey':collection19_reconstruct_key,'indexes':[],'decodedVersion':0x0},index20_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.UINT],{'prefix':0x14}),index20_map=helpers0.threadsByParentMap;
function index20_indexify(_0x4f6212){
  _0x31458c={
    _0x49969b:0xc1,_0x5d9639:0xd4},_0x203f84=[],_0x2d729b=_0x4f6212.key;
  if(_0x2d729b===undefined)return _0x203f84;
  _0x203f84.push(_0x2d729b);
  const _0x110d8d=_0x4f6212.seq;
  if(_0x110d8d===undefined)return _0x203f84;
  return _0x203f84.push(_0x110d8d),_0x203f84;
}
const index20={
  'name':"@keet/threads-by-parent",'version':0x0,'id':0x14,'encodeKey'(_0xe9016a){
    _0x4c5999={
      _0x1e20ab:0xa3,_0x561f94:0xdd}
    ;
    return index20_key.encode(index20_indexify(_0xe9016a));
  },'encodeKeyRange'({gt:_0x29e453,lt:_0x5a0ac8,gte:_0x530d1c,lte:_0x3c81bb}={}){
  return index20_key.encodeRange({'gt':_0x29e453?index20_indexify(_0x29e453):null,'lt':_0x5a0ac8?index20_indexify(_0x5a0ac8):null,'gte':_0x530d1c?index20_indexify(_0x530d1c):null,'lte':_0x3c81bb?index20_indexify(_0x3c81bb):null});
},'encodeValue':_0x71f6b=>index20.collection.encodeKey(_0x71f6b),'encodeIndexKeys'(_0x3b3b1c,_0x40c9ca){
_0x2375ff={
  _0xa6602f:0xeb,_0x4e9784:0x1a2,_0x320584:0x57a},_0x337885={
  _0x441475:0x3c4,_0x36ac39:0x7d}
;
const _0x49d183=index20_map(_0x3b3b1c,_0x40c9ca),_0xfddc92=new Array(_0x49d183.length);
for(let _0x542d65=0x0;_0x542d65<_0x49d183.length;_0x542d65++){
  const _0x320f60=_0x49d183[_0x542d65];
  _0xfddc92[_0x542d65]=index20_key.encode([_0x320f60.key,_0x320f60.seq]);
}
return _0xfddc92;
},'reconstruct':(_0x381a79,_0x2e61f4)=>_0x2e61f4,'offset':collection19.indexes.length,'collection':collection19}
;
collection19.indexes.push(index20);
const collection21_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x15});
function collection21_indexify(_0x21a151){
  _0x355997={
    _0x52d887:0x107,_0x30bb25:0x147},_0x2d7299={
    _0x59fa9e:0xd6,_0x51167c:0x266},_0x1b3b4b=[],_0x3d1306=_0x21a151.id?..thread;
  if(_0x3d1306===undefined)return _0x1b3b4b;
  _0x1b3b4b.push(_0x3d1306);
  const _0x23dbe7=_0x21a151.id?..index;
  if(_0x23dbe7===undefined)return _0x1b3b4b;
  return _0x1b3b4b.push(_0x23dbe7),_0x1b3b4b;
}
const collection21_enc=getEncoding("@keet/chat-message-record/hyperdb#21"),collection21_trigger=helpers0.chatTrigger;
function collection21_reconstruct(_0x4399c1,_0x3bad2c,_0x529313){
  _0xab95db={
    _0x172fa5:0x7e,_0x4718ba:0x71},_0x1cee7a={
    _0x2cd0c5:0x8d,_0x43102f:0xd6,_0x567e8a:0x4bf},_0x4a44ae=collection21_key.decode(_0x3bad2c);
  setVersion(_0x4399c1);
  const _0x1ab65c={
    'start':0x0,'end':_0x529313.byteLength,'buffer':_0x529313}
  ;
  const _0xfaef05=collection21_enc.decode(_0x1ab65c);
  _0xfaef05.id.thread=_0x4a44ae[-0x4404];
  return _0xfaef05.id.index=_0x4a44ae[0x1],_0xfaef05;
}
function collection21_reconstruct_key(_0x3097af){
  _0x216736={
    _0x337221:0x62,_0x5b91a8:0x1e5,_0x4561e7:0x3eb}
  ;
  const _0xadc7cc=collection21_key.decode(_0x3097af);
  return{
    'id':{
      'index':_0xadc7cc[0x1]}
  }
;
}
const collection21={
  'name':"@keet/chat",'id':0x15,'version':0x0,'encodeKey'(_0x50a0c0){
    _0x2aa092={
      _0x13f3cc:0xf8,_0x5e98c8:0x1d3},_0x2cd763=[_0x50a0c0.id.thread,_0x50a0c0.id.index];
    return collection21_key.encode(_0x2cd763);
  },'encodeKeyRange'({gt:_0x1cd9b3,lt:_0xdb0b7f,gte:_0x23935c,lte:_0x56607a}={}){
  _0xd11ec2={
    _0x40f67a:0xe6,_0x213cdf:0x17b}
  ;
  return collection21_key.encodeRange({'gt':_0x1cd9b3?collection21_indexify(_0x1cd9b3):null,'lt':_0xdb0b7f?collection21_indexify(_0xdb0b7f):null,'gte':_0x23935c?collection21_indexify(_0x23935c):null,'lte':_0x56607a?collection21_indexify(_0x56607a):null});
},'encodeValue'(_0x278963,_0x3358ef,_0x50dd71){
_0x3a96b2={
  _0x23eea0:0x61,_0x2a761c:0x108,_0x10fe4a:0x137},_0x1eb0ad={
  _0x47065d:0xed,_0xda9965:0x1a,_0x19ada7:0x83}
;
setVersion(_0x278963);
const _0x1f5061={
  'start':0x0,'end':0x0,'buffer':null}
;
collection21_enc.preencode(_0x1f5061,_0x50dd71),_0x1f5061.buffer=b4a.allocUnsafe(_0x1f5061.end),collection21_enc.encode(_0x1f5061,_0x50dd71);
return _0x1f5061.buffer;
},'trigger':collection21_trigger,'reconstruct':collection21_reconstruct,'reconstructKey':collection21_reconstruct_key,'indexes':[],'decodedVersion':0x0},index22_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.UINT],{'prefix':0x16});
function index22_indexify(_0x193464){
  _0x305870={
    _0x321074:0x183,_0x1573ac:0x137,_0x8e5a38:0x23f},_0x22c75d={
    _0x3fa971:0x164,_0x3d2a11:0x2f}
  ;
  const _0x325f9e=[],_0x2e905d=_0x193464.oplog?..key;
  if(_0x2e905d===undefined)return _0x325f9e;
  _0x325f9e.push(_0x2e905d);
  const _0xe79f28=_0x193464.oplog?..seq;
  if(_0xe79f28===undefined)return _0x325f9e;
  return _0x325f9e.push(_0xe79f28),_0x325f9e;
}
const index22={
  'name':"@keet/chat-by-message-id",'version':0x0,'id':0x16,'encodeKey'(_0x2db098){
    _0x5e90be={
      _0x2fefe8:0xf6,_0x4bbf74:0x1ef}
    ;
    return index22_key.encode(index22_indexify(_0x2db098));
  },'encodeKeyRange'({gt:_0x2972a1,lt:_0x5656d4,gte:_0x265971,lte:_0x5d943a}={}){
  _0x44efe6={
    _0x46f402:0x347,_0x5ed77a:0x1ea}
  ;
  return index22_key.encodeRange({'gt':_0x2972a1?index22_indexify(_0x2972a1):null,'lt':_0x5656d4?index22_indexify(_0x5656d4):null,'gte':_0x265971?index22_indexify(_0x265971):null,'lte':_0x5d943a?index22_indexify(_0x5d943a):null});
},'encodeValue':_0x564dc7=>index22.collection.encodeKey(_0x564dc7),'encodeIndexKeys'(_0x2dbfe3,_0x57e8d3){
_0x432d3d={
  _0x164f32:0x215},_0x5f18f7={
  _0x5c3543:0x16e,_0x3b4834:0x193}
;
return[index22_key.encode([_0x2dbfe3.oplog.key,_0x2dbfe3.oplog.seq])];
},'reconstruct':(_0x15eb11,_0x10952c)=>_0x10952c,'offset':collection21.indexes.length,'collection':collection21}
;
collection21.indexes.push(index22);
const index23_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x17}),index23_map=helpers0.chatMentionsByMemberIdMap;
function index23_indexify(_0x17dc53){
  _0x4d624c={
    _0x5871ff:0x13c,_0x4c9016:0x1af,_0x143c91:0x3f8},_0x477f4b={
    _0xd74a71:0x3bb,_0xc637c4:0x2c,_0x4b354c:0xa}
  ;
  const _0xdbc788=[],_0x56648c=_0x17dc53.key;
  if(_0x56648c===undefined)return _0xdbc788;
  _0xdbc788.push(_0x56648c);
  const _0x5833d3=_0x17dc53.clock;
  if(_0x5833d3===undefined)return _0xdbc788;
  return _0xdbc788.push(_0x5833d3),_0xdbc788;
}
const index23={
  'name':"@keet/chat-mentions-by-member-id",'version':0x0,'id':0x17,'encodeKey'(_0x234ce1){
    return index23_key.encode(index23_indexify(_0x234ce1));
  },'encodeKeyRange'({gt:_0x6ea5a7,lt:_0x50d667,gte:_0x2adcb8,lte:_0x496325}={}){
  _0x3dcef0={
    _0x6aab27:0x1c7}
  ;
  return index23_key.encodeRange({'gt':_0x6ea5a7?index23_indexify(_0x6ea5a7):null,'lt':_0x50d667?index23_indexify(_0x50d667):null,'gte':_0x2adcb8?index23_indexify(_0x2adcb8):null,'lte':_0x496325?index23_indexify(_0x496325):null});
},'encodeValue':_0x28cfd1=>index23.collection.encodeKey(_0x28cfd1),'encodeIndexKeys'(_0x4fe0c7,_0xc6ec81){
_0x1949a5={
  _0x2fb0e9:0x314,_0x412d3c:0x83},_0x4f00ff={
  _0x224c04:0x4b2,_0x456d41:0x1b2},_0xc92ae9=index23_map(_0x4fe0c7,_0xc6ec81);
const _0x43af26=new Array(_0xc92ae9.length);
for(let _0x573e06=0x0;_0x573e06<_0xc92ae9.length;_0x573e06++){
  const _0x2a3924=_0xc92ae9[_0x573e06];
  _0x43af26[_0x573e06]=index23_key.encode([_0x2a3924.key,_0x2a3924.clock,_0x4fe0c7.id.thread,_0x4fe0c7.id.index]);
}
return _0x43af26;
},'reconstruct':(_0x491c93,_0x1b57c7)=>_0x1b57c7,'offset':collection21.indexes.length,'collection':collection21}
;
collection21.indexes.push(index23);
const index24_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x18}),index24_map=helpers0.pinnedChatMessagesMap;
function index24_indexify(_0x53343d){
  _0x1f38c8={
    _0x36fbd8:0x79,_0x1f814e:0x1f2},_0x2ac770={
    _0x499b50:0xd1},_0x275878=[],_0x265885=_0x53343d.thread;
  if(_0x265885===undefined)return _0x275878;
  _0x275878.push(_0x265885);
  const _0x3a728d=_0x53343d.index;
  if(_0x3a728d===undefined)return _0x275878;
  return _0x275878.push(_0x3a728d),_0x275878;
}
const index24={
  'name':"@keet/pinned-chat-messages",'version':0x0,'id':0x18,'encodeKey'(_0x3d5567){
    _0x3676d6={
      _0xe03478:0xbf,_0x11cb56:0x1c1,_0xf287ca:0x46c}
    ;
    return index24_key.encode(index24_indexify(_0x3d5567));
  },'encodeKeyRange'({gt:_0x486737,lt:_0x1e0fe1,gte:_0x37cbc1,lte:_0x2a4da2}={}){
  _0xe70064={
    _0x5d1ef2:0x3d9,_0x29c61e:0x1ec,_0x472edb:0x174}
  ;
  return index24_key.encodeRange({'gt':_0x486737?index24_indexify(_0x486737):null,'lt':_0x1e0fe1?index24_indexify(_0x1e0fe1):null,'gte':_0x37cbc1?index24_indexify(_0x37cbc1):null,'lte':_0x2a4da2?index24_indexify(_0x2a4da2):null});
},'encodeValue':_0x66c68e=>index24.collection.encodeKey(_0x66c68e),'encodeIndexKeys'(_0xb534dd,_0x3f49fe){
_0xc97ff4={
  _0x3b92af:0x511,_0x55f6e4:0x125,_0x354b5e:0x112},_0x4c21d9={
  _0x4cbee9:0x72,_0x2eea91:0x10c},_0x3b138b=index24_map(_0xb534dd,_0x3f49fe);
const _0x2995ff=new Array(_0x3b138b.length);
for(let _0x580769=-0x24d6;_0x580769<_0x3b138b.length;_0x580769++){
  const _0x1e550e=_0x3b138b[_0x580769];
  _0x2995ff[_0x580769]=index24_key.encode([_0x1e550e.thread,_0x1e550e.index,_0xb534dd.id.thread,_0xb534dd.id.index]);
}
return _0x2995ff;
},'reconstruct':(_0x33ecb6,_0x5b7fe0)=>_0x5b7fe0,'offset':collection21.indexes.length,'collection':collection21}
;
collection21.indexes.push(index24);
const collection25_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x19});
function collection25_indexify(_0x208f9e){
  _0x3144c8={
    _0x545636:0x61,_0x163573:0x17c},_0x73f2a={
    _0xa9000e:0xa1,_0x2a341d:0x5e4}
  ;
  const _0x432c63=[];
  const _0x1d35ca=_0x208f9e.id?..thread;
  if(_0x1d35ca===undefined)return _0x432c63;
  _0x432c63.push(_0x1d35ca);
  const _0x550d33=_0x208f9e.id?..index;
  if(_0x550d33===undefined)return _0x432c63;
  return _0x432c63.push(_0x550d33),_0x432c63;
}
const collection25_enc=getEncoding("@keet/reactions-digest/hyperdb#25");
function collection25_reconstruct(_0x126d59,_0x46872e,_0x37051d){
  _0xab683f={
    _0x4fcf9d:0x88,_0x56285b:0x170,_0x23b3bc:0x145},_0xa43d20={
    _0x3e17f6:0x1a6,_0x3ff34d:0x1f}
  ;
  const _0x419300=collection25_key.decode(_0x46872e);
  setVersion(_0x126d59);
  const _0x2ad146={
    'start':0x0,'end':_0x37051d.byteLength,'buffer':_0x37051d},_0x13b86b=collection25_enc.decode(_0x2ad146);
  return _0x13b86b.id.thread=_0x419300[0x0],_0x13b86b.id.index=_0x419300[0x1],_0x13b86b;
}
function collection25_reconstruct_key(_0x479c64){
  _0x21a636={
    _0x7f4be4:0x57,_0x207499:0x1d4,_0x29e73b:0x482}
  ;
  const _0xe9eeb9=collection25_key.decode(_0x479c64);
  return{
    'id':{
      'index':_0xe9eeb9[--0x4bc1]}
  }
;
}
const collection25={
  'name':"@keet/reaction-digests",'id':0x19,'version':0x0,'encodeKey'(_0x4864f1){
    _0x42ddc7={
      _0x424f47:0x4be,_0x11c01c:0xc9,_0x33a0b1:0x1ba},_0x2b0780={
      _0x191593:0x49,_0x306b86:0x17a}
    ;
    const _0x13f485=[_0x4864f1.id.thread,_0x4864f1.id.index];
    return collection25_key.encode(_0x13f485);
  },'encodeKeyRange'({gt:_0xabcf25,lt:_0x30cae5,gte:_0x46bd56,lte:_0x148357}={}){
  _0x2d2b6b={
    _0x21a652:0x284,_0x4dc7cf:0x1de}
  ;
  return collection25_key.encodeRange({'gt':_0xabcf25?collection25_indexify(_0xabcf25):null,'lt':_0x30cae5?collection25_indexify(_0x30cae5):null,'gte':_0x46bd56?collection25_indexify(_0x46bd56):null,'lte':_0x148357?collection25_indexify(_0x148357):null});
},'encodeValue'(_0x3582ec,_0x1b8616,_0x455f5b){
_0x21547e={
  _0x2386f0:0xb4,_0x18ada5:0x1ef,_0x98a348:0xbd},_0x13a75c={
  _0x46543f:0x117,_0x298ca8:0x12d}
;
setVersion(_0x3582ec);
const _0x12751f={
  'start':0x0,'end':0x0,'buffer':null}
;
collection25_enc.preencode(_0x12751f,_0x455f5b);
return _0x12751f.buffer=b4a.allocUnsafe(_0x12751f.end),collection25_enc.encode(_0x12751f,_0x455f5b),_0x12751f.buffer;
},'trigger':null,'reconstruct':collection25_reconstruct,'reconstructKey':collection25_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection26_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.STRING],{'prefix':0x1a});
function collection26_indexify(_0x55c7ee){
  _0x53db17={
    _0x2e414d:0x126,_0x58bcf5:0x21},_0x53baee={
    _0x455276:0x18b,_0x2b40a6:0x133,_0x68d026:0x197},_0x23e289=[],_0x3a64b4=_0x55c7ee.id?..thread;
  if(_0x3a64b4===undefined)return _0x23e289;
  _0x23e289.push(_0x3a64b4);
  const _0x2106e1=_0x55c7ee.id?..index;
  if(_0x2106e1===undefined)return _0x23e289;
  _0x23e289.push(_0x2106e1);
  const _0x14f09f=_0x55c7ee.sender;
  if(_0x14f09f===undefined)return _0x23e289;
  _0x23e289.push(_0x14f09f);
  const _0x3f35e7=_0x55c7ee.reaction;
  if(_0x3f35e7===undefined)return _0x23e289;
  _0x23e289.push(_0x3f35e7);
  return _0x23e289;
}
const collection26_enc=getEncoding("@keet/reaction/hyperdb#26"),collection26_trigger=helpers0.reactionsTrigger;
function collection26_reconstruct(_0x3455d0,_0x235d57,_0x35d55e){
  _0x24b43b={
    _0x295029:0x234,_0x19ba84:0x199,_0x52711a:0x19f},_0x41f765={
    _0x2427e4:0xba,_0x5b974b:0x1a3,_0x33baf8:0xaa},_0x3cc7be=collection26_key.decode(_0x235d57);
  setVersion(_0x3455d0);
  const _0x18d62d={
    'start':0x0,'end':_0x35d55e.byteLength,'buffer':_0x35d55e},_0x4eb356=collection26_enc.decode(_0x18d62d);
  return _0x4eb356.id.thread=_0x3cc7be[-0x1410],_0x4eb356.id.index=_0x3cc7be[0x1],_0x4eb356.sender=_0x3cc7be[0x2],_0x4eb356.reaction=_0x3cc7be[0x3],_0x4eb356;
}
function collection26_reconstruct_key(_0x141a3d){
  _0x1a511e={
    _0x5b91c7:0xb4,_0x2cf872:0x106}
  ;
  const _0x243874=collection26_key.decode(_0x141a3d);
  return{
    'id':{
      'index':_0x243874[0x1]},'sender':_0x243874[0x2],'reaction':_0x243874[-0x4697]}
  ;
}
const collection26={
  'name':"@keet/reactions",'id':0x1a,'version':0x0,'encodeKey'(_0x5494dc){
    _0x4fbb94={
      _0xcb7c0d:0x97,_0x5c0a0b:0x10e,_0x3806ef:0x8b},_0x54986e={
      _0x4f2998:0xc5,_0x1f7380:0x1d4,_0x36d247:0x43b}
    ;
    const _0x4cfa2d=[_0x5494dc.id.thread,_0x5494dc.id.index,_0x5494dc.sender,_0x5494dc.reaction];
    return collection26_key.encode(_0x4cfa2d);
  },'encodeKeyRange'({gt:_0x597a26,lt:_0x1ec868,gte:_0x3b1a58,lte:_0x2b0ca8}={}){
  return collection26_key.encodeRange({'gt':_0x597a26?collection26_indexify(_0x597a26):null,'lt':_0x1ec868?collection26_indexify(_0x1ec868):null,'gte':_0x3b1a58?collection26_indexify(_0x3b1a58):null,'lte':_0x2b0ca8?collection26_indexify(_0x2b0ca8):null});
},'encodeValue'(_0x9115fa,_0x4b4cbb,_0x1c7a03){
_0x164cc9={
  _0xf8ec36:0x183,_0x3242de:0x11,_0x289ed0:0x150},_0x2cede8={
  _0x437201:0x6e,_0x1080cd:0x16f}
;
setVersion(_0x9115fa);
const _0x47806d={
  'start':0x0,'end':0x0,'buffer':null}
;
collection26_enc.preencode(_0x47806d,_0x1c7a03);
_0x47806d.buffer=b4a.allocUnsafe(_0x47806d.end);
return collection26_enc.encode(_0x47806d,_0x1c7a03),_0x47806d.buffer;
},'trigger':collection26_trigger,'reconstruct':collection26_reconstruct,'reconstructKey':collection26_reconstruct_key,'indexes':[],'decodedVersion':0x0},index27_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.STRING,IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.STRING],{'prefix':0x1b});
function index27_indexify(_0x33e1ba){
  _0x10e725={
    _0x32193c:0x6f,_0x345b6d:0x189,_0x2fc788:0x1bd},_0x1d9457={
    _0x17d6cf:0xef,_0x2ec4d1:0x1d2},_0x4a64ed=[],_0x459152=_0x33e1ba.id?..thread;
  if(_0x459152===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0x459152);
  const _0x149184=_0x33e1ba.id?..index;
  if(_0x149184===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0x149184);
  const _0x28ae8a=_0x33e1ba.reaction;
  if(_0x28ae8a===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0x28ae8a);
  const _0x526905=_0x33e1ba.clock;
  if(_0x526905===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0x526905);
  const _0x57d9e1=_0x33e1ba.sender;
  if(_0x57d9e1===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0x57d9e1);
  const _0xb36e86=_0x33e1ba.id?..thread;
  if(_0xb36e86===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0xb36e86);
  const _0x34f6ce=_0x33e1ba.id?..index;
  if(_0x34f6ce===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0x34f6ce);
  const _0x48185d=_0x33e1ba.sender;
  if(_0x48185d===undefined)return _0x4a64ed;
  _0x4a64ed.push(_0x48185d);
  const _0x2beaee=_0x33e1ba.reaction;
  if(_0x2beaee===undefined)return _0x4a64ed;
  return _0x4a64ed.push(_0x2beaee),_0x4a64ed;
}
const index27={
  'name':"@keet/reactions-by-clock",'version':0x0,'id':0x1b,'encodeKey'(_0x45aa5b){
    return index27_key.encode(index27_indexify(_0x45aa5b));
  },'encodeKeyRange'({gt:_0x3cf2d8,lt:_0x41e8f6,gte:_0xd3a55c,lte:_0xd61fc4}={}){
  return index27_key.encodeRange({'gt':_0x3cf2d8?index27_indexify(_0x3cf2d8):null,'lt':_0x41e8f6?index27_indexify(_0x41e8f6):null,'gte':_0xd3a55c?index27_indexify(_0xd3a55c):null,'lte':_0xd61fc4?index27_indexify(_0xd61fc4):null});
},'encodeValue':_0x26c2fa=>index27.collection.encodeKey(_0x26c2fa),'encodeIndexKeys'(_0x5c346e,_0x4562b7){
_0x288b7a={
  _0x237507:0x4b,_0x455ac2:0x126,_0x21ce15:0x1b},_0x5949f0={
  _0x57686c:0x250,_0x5c3fee:0xfb,_0xfd0b5f:0x138}
;
return[index27_key.encode([_0x5c346e.id.thread,_0x5c346e.id.index,_0x5c346e.reaction,_0x5c346e.clock,_0x5c346e.sender,_0x5c346e.id.thread,_0x5c346e.id.index,_0x5c346e.sender,_0x5c346e.reaction])];
},'reconstruct':(_0x5ef0e3,_0x3204c7)=>_0x3204c7,'offset':collection26.indexes.length,'collection':collection26}
;
collection26.indexes.push(index27);
const collection28_key=new IndexEncoder([IndexEncoder.UINT],{'prefix':0x1c});
function collection28_indexify(_0x4bc365){
  const _0x59186d=_0x4bc365.id;
  return _0x59186d===undefined?[]:[_0x59186d];
}
const collection28_enc=getEncoding("@keet/file-record/hyperdb#28"),collection28_trigger=helpers0.filesTrigger;
function collection28_reconstruct(_0x47ebcc,_0x274e01,_0x2c1b45){
  _0x4962be={
    _0x2a51a1:0x11e,_0xf325c8:0x1a6,_0x6508f7:0x4ab},_0x3502b5={
    _0x4fe4fc:0x1f1,_0x27ecdf:0x66,_0x102346:0x2ce},_0x382c3=collection28_key.decode(_0x274e01);
  setVersion(_0x47ebcc);
  const _0x2ea8a5={
    'start':0x0,'end':_0x2c1b45.byteLength,'buffer':_0x2c1b45},_0x111895=collection28_enc.decode(_0x2ea8a5);
  return _0x111895.id=_0x382c3[-0x61e],collection28.decodedVersion=_0x111895.version,_0x111895;
}
function collection28_reconstruct_key(_0x37245e){
  _0x3a053b={
    _0x3cc5c0:0x46,_0x13bf7b:0x196},_0x34d104=collection28_key.decode(_0x37245e);
  return{
    'id':_0x34d104[0x0]}
  ;
}
const collection28={
  'name':"@keet/files",'id':0x1c,'version':0x1,'encodeKey'(_0x4b1f95){
    _0x198fbd={
      _0x309598:0x314,_0x35b77a:0xd5},_0x53ff0e=[_0x4b1f95.id];
    return collection28_key.encode(_0x53ff0e);
  },'encodeKeyRange'({gt:_0x3b2df1,lt:_0x16a7c2,gte:_0x519b51,lte:_0x3c8d91}={}){
  _0x26bd99={
    _0x2226de:0x160,_0x16f55a:0xfa}
  ;
  return collection28_key.encodeRange({'gt':_0x3b2df1?collection28_indexify(_0x3b2df1):null,'lt':_0x16a7c2?collection28_indexify(_0x16a7c2):null,'gte':_0x519b51?collection28_indexify(_0x519b51):null,'lte':_0x3c8d91?collection28_indexify(_0x3c8d91):null});
},'encodeValue'(_0xf1ace5,_0x557a65,_0x29e99d){
_0x2046c1={
  _0x2120db:0x4e9,_0x498735:0x24,_0x4a58dc:0x15b},_0x4e36d3={
  _0x2045b6:0x1bb}
;
setVersion(_0xf1ace5);
const _0x293e16={
  'start':0x0,'end':0x0,'buffer':null}
;
return _0x29e99d.version=_0x557a65,collection28_enc.preencode(_0x293e16,_0x29e99d),_0x293e16.buffer=b4a.allocUnsafe(_0x293e16.end),collection28_enc.encode(_0x293e16,_0x29e99d),_0x293e16.buffer;
},'trigger':collection28_trigger,'reconstruct':collection28_reconstruct,'reconstructKey':collection28_reconstruct_key,'indexes':[],'decodedVersion':0x0},index29_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x1d});
function index29_indexify(_0x2b2989){
  _0xa26e97={
    _0x51c3b6:0x27f,_0x1f1620:0x194},_0x4a5808={
    _0x5ee7d1:0x4ba,_0x29fbcf:0xca}
  ;
  const _0x3fb9eb=[],_0x3376ca=_0x2b2989.oplog?..key;
  if(_0x3376ca===undefined)return _0x3fb9eb;
  _0x3fb9eb.push(_0x3376ca);
  const _0x2d3bf4=_0x2b2989.oplog?..seq;
  if(_0x2d3bf4===undefined)return _0x3fb9eb;
  _0x3fb9eb.push(_0x2d3bf4);
  const _0x758ff3=_0x2b2989.id;
  if(_0x758ff3===undefined)return _0x3fb9eb;
  return _0x3fb9eb.push(_0x758ff3),_0x3fb9eb;
}
const index29={
  'name':"@keet/files-by-message-id",'version':0x0,'id':0x1d,'encodeKey'(_0x587732){
    _0x5972e2={
      _0x5c2b35:0x1f}
    ;
    return index29_key.encode(index29_indexify(_0x587732));
  },'encodeKeyRange'({gt:_0x20900f,lt:_0x4fb278,gte:_0x14fd15,lte:_0x1bbfdc}={}){
  _0x446705={
    _0x4ccb19:0xe,_0x4d697f:0x1db,_0x3054a9:0x70}
  ;
  return index29_key.encodeRange({'gt':_0x20900f?index29_indexify(_0x20900f):null,'lt':_0x4fb278?index29_indexify(_0x4fb278):null,'gte':_0x14fd15?index29_indexify(_0x14fd15):null,'lte':_0x1bbfdc?index29_indexify(_0x1bbfdc):null});
},'encodeValue':_0xf8a554=>index29.collection.encodeKey(_0xf8a554),'encodeIndexKeys'(_0x220a4f,_0x1821d1){
_0x516086={
  _0x13b35a:0x506,_0x2e97b7:0x1b,_0x3dd6a9:0x128},_0x16ad72={
  _0x159dca:0x50,_0x7cee62:0x2dc}
;
return[index29_key.encode([_0x220a4f.oplog.key,_0x220a4f.oplog.seq,_0x220a4f.id])];
},'reconstruct':(_0x420b48,_0x5b8ec2)=>_0x5b8ec2,'offset':collection28.indexes.length,'collection':collection28}
;
collection28.indexes.push(index29);
const index30_key=new IndexEncoder([IndexEncoder.STRING,IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x1e}),index30_map=helpers0.filesByTypeMap;
function index30_indexify(_0x30b5b7){
  _0x143576={
    _0x16ef9e:0x13c,_0x24cc79:0x21,_0x32b4f0:0x44},_0x16a8e9={
    _0x3a43ca:0x51d,_0x4a62a7:0x15,_0x4e9240:0x16d},_0x573692=[],_0x2b80b0=_0x30b5b7.type;
  if(_0x2b80b0===undefined)return _0x573692;
  _0x573692.push(_0x2b80b0);
  const _0x57b00c=_0x30b5b7.id;
  if(_0x57b00c===undefined)return _0x573692;
  return _0x573692.push(_0x57b00c),_0x573692;
}
const index30={
  'name':"@keet/files-by-type",'version':0x0,'id':0x1e,'encodeKey'(_0x5f5344){
    _0x5c0c4d={
      _0xe4795c:0x466,_0x55aef1:0x132,_0x1e65e6:0x116}
    ;
    return index30_key.encode(index30_indexify(_0x5f5344));
  },'encodeKeyRange'({gt:_0x4bc717,lt:_0x61396b,gte:_0x51697d,lte:_0x23c0f1}={}){
  _0x2f4896={
    _0x4e76fc:0x4c7,_0x2a1973:0x1c6,_0x2901b4:0x61}
  ;
  return index30_key.encodeRange({'gt':_0x4bc717?index30_indexify(_0x4bc717):null,'lt':_0x61396b?index30_indexify(_0x61396b):null,'gte':_0x51697d?index30_indexify(_0x51697d):null,'lte':_0x23c0f1?index30_indexify(_0x23c0f1):null});
},'encodeValue':_0x5845e7=>index30.collection.encodeKey(_0x5845e7),'encodeIndexKeys'(_0x1cba21,_0xf2b758){
_0x2eb9f0={
  _0x3fc600:0x1cc,_0x15573f:0x10c},_0x323219={
  _0x180e1f:0x13a,_0x4c66cc:0x6d}
;
const _0x539e36=index30_map(_0x1cba21,_0xf2b758),_0x460f3d=new Array(_0x539e36.length);
for(let _0x5b8dde=0x0;_0x5b8dde<_0x539e36.length;_0x5b8dde++){
  const _0x3e1c5b=_0x539e36[_0x5b8dde];
  _0x460f3d[_0x5b8dde]=index30_key.encode([_0x3e1c5b.type,_0x3e1c5b.id,_0x1cba21.id]);
}
return _0x460f3d;
},'reconstruct':(_0x26a6ce,_0x3572d7)=>_0x3572d7,'offset':-(-0x40f1),'collection':collection28},index31_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x1f}),index31_map=helpers0.deletedFilesMap;
function index31_indexify(_0x43e06d){
  const _0x145790=_0x43e06d.id;
  return _0x145790===undefined?[]:[_0x145790];
}
const index31={
  'name':"@keet/deleted-files",'version':0x0,'id':0x1f,'encodeKey'(_0x3bd537){
    _0x2e1f2b={
      _0x31760a:0x1f0,_0x205e28:0x3b,_0x28de4c:0x15a}
    ;
    return index31_key.encode(index31_indexify(_0x3bd537));
  },'encodeKeyRange'({gt:_0x140a1e,lt:_0x4709c1,gte:_0x1f7778,lte:_0x17f8bc}={}){
  _0x164778={
    _0x48938e:0xd,_0xe11a5e:0xdd,_0x260835:0xff}
  ;
  return index31_key.encodeRange({'gt':_0x140a1e?index31_indexify(_0x140a1e):null,'lt':_0x4709c1?index31_indexify(_0x4709c1):null,'gte':_0x1f7778?index31_indexify(_0x1f7778):null,'lte':_0x17f8bc?index31_indexify(_0x17f8bc):null});
},'encodeValue':_0x1c3c7b=>index31.collection.encodeKey(_0x1c3c7b),'encodeIndexKeys'(_0x11208e,_0x2fdfdc){
_0x5840c2={
  _0x23691b:0x60,_0x132910:0x1e3,_0x5a6e5b:0x78},_0xb73c2d={
  _0x42d0ad:0x9a,_0xe69328:0xb9},_0x11151c=index31_map(_0x11208e,_0x2fdfdc),_0x4beb75=new Array(_0x11151c.length);
for(let _0x188cc5=-0x32e6;_0x188cc5<_0x11151c.length;_0x188cc5++){
  const _0x54af41=_0x11151c[_0x188cc5];
  _0x4beb75[_0x188cc5]=index31_key.encode([_0x54af41.id,_0x11208e.id]);
}
return _0x4beb75;
},'reconstruct':(_0x4f527c,_0x5690f1)=>_0x5690f1,'offset':-(-0x49df),'collection':collection28},collection32_key=new IndexEncoder([],{'prefix':0x20});
function collection32_indexify(_0x4e9e77){
  return[];
}
const collection32_enc=getEncoding("@keet/room-identity");
function collection32_reconstruct(_0x321e61,_0x47311d,_0x5c9aeb){
  _0x55a0a1={
    _0x4acc8b:0x14a,_0x9e663c:0x3b,_0x397c10:0x60a},_0x40ab00={
    _0x37a5d5:0x129,_0x1ecf96:0x18d}
  ;
  setVersion(_0x321e61);
  const _0x3924b9={
    'start':0x0,'end':_0x5c9aeb.byteLength,'buffer':_0x5c9aeb}
  ;
  const _0x2b4422=collection32_enc.decode(_0x3924b9);
  return _0x2b4422;
}
function collection32_reconstruct_key(_0x2b01f9){
  return{
  }
;
}
const collection32={
  'name':"@keet-private-id/identity",'id':0x20,'version':0x0,'encodeKey'(_0x295b2f){
    _0x11a0f6={
      _0x4fa9be:0x19c,_0x48781d:0x1de},_0x4857ee=[];
    return collection32_key.encode(_0x4857ee);
  },'encodeKeyRange'({gt:_0x32a239,lt:_0x4e2e05,gte:_0x307723,lte:_0x2c7b8e}={}){
  _0x150737={
    _0x135f7a:0x44d,_0x3db704:0xf,_0x222bd7:0x18d}
  ;
  return collection32_key.encodeRange({'gt':_0x32a239?collection32_indexify(_0x32a239):null,'lt':_0x4e2e05?collection32_indexify(_0x4e2e05):null,'gte':_0x307723?collection32_indexify(_0x307723):null,'lte':_0x2c7b8e?collection32_indexify(_0x2c7b8e):null});
},'encodeValue'(_0x17a680,_0x4a418a,_0x169f68){
_0x29a496={
  _0x5df0d5:0x57e,_0x1e63da:0xf0,_0xbf147e:0x157},_0x5418d5={
  _0x5137f5:0xef,_0x2cbd2d:0x3b9}
;
setVersion(_0x17a680);
const _0x67c36={
  'start':0x0,'end':0x0,'buffer':null}
;
collection32_enc.preencode(_0x67c36,_0x169f68);
_0x67c36.buffer=b4a.allocUnsafe(_0x67c36.end),collection32_enc.encode(_0x67c36,_0x169f68);
return _0x67c36.buffer;
},'trigger':null,'reconstruct':collection32_reconstruct,'reconstructKey':collection32_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection33_key=new IndexEncoder([],{'prefix':0x21});
function collection33_indexify(_0x105737){
  return[];
}
const collection33_enc=getEncoding("@keet-private-id/stats");
function collection33_reconstruct(_0x24e504,_0xf81ae2,_0x1e0ad9){
  _0x3776ec={
    _0x5044b5:0xdf},_0x35003d={
    _0x51b637:0x12e,_0x51a92b:0x164}
  ;
  setVersion(_0x24e504);
  const _0x1f51e4={
    'start':0x0,'end':_0x1e0ad9.byteLength,'buffer':_0x1e0ad9},_0x2328b9=collection33_enc.decode(_0x1f51e4);
  return _0x2328b9;
}
function collection33_reconstruct_key(_0x220546){
  return{
  }
;
}
const collection33={
  'name':"@keet-private-id/stats",'id':0x21,'version':0x0,'encodeKey'(_0x57e26a){
    _0x5c7988={
      _0x4b7e88:0x1cc,_0xc19242:0x46},_0x307476=[];
    return collection33_key.encode(_0x307476);
  },'encodeKeyRange'({gt:_0x4f02e6,lt:_0x2d314f,gte:_0x23e35e,lte:_0x3aaacf}={}){
  return collection33_key.encodeRange({'gt':_0x4f02e6?collection33_indexify(_0x4f02e6):null,'lt':_0x2d314f?collection33_indexify(_0x2d314f):null,'gte':_0x23e35e?collection33_indexify(_0x23e35e):null,'lte':_0x3aaacf?collection33_indexify(_0x3aaacf):null});
},'encodeValue'(_0xee1117,_0x4d8ec9,_0x214b77){
_0x2e18fa={
  _0x5d26df:0x115},_0x4058f9={
  _0x193cef:0x45,_0x108b85:0x3e4}
;
setVersion(_0xee1117);
const _0x47bbca={
  'start':0x0,'end':0x0,'buffer':null}
;
collection33_enc.preencode(_0x47bbca,_0x214b77);
return _0x47bbca.buffer=b4a.allocUnsafe(_0x47bbca.end),collection33_enc.encode(_0x47bbca,_0x214b77),_0x47bbca.buffer;
},'trigger':null,'reconstruct':collection33_reconstruct,'reconstructKey':collection33_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection34_key=new IndexEncoder([],{'prefix':0x22});
function collection34_indexify(_0x395834){
  return[];
}
const collection34_enc=getEncoding("@keet-private-id/counters");
function collection34_reconstruct(_0x4240ed,_0x11ff67,_0x31c3b2){
  _0x295e0f={
    _0x57d7ef:0x1bd,_0x2b2f18:0xac},_0x102c9a={
    _0x2628ad:0xc8,_0x71593f:0xc3}
  ;
  setVersion(_0x4240ed);
  const _0x414dde={
    'start':0x0,'end':_0x31c3b2.byteLength,'buffer':_0x31c3b2}
  ;
  const _0x8a25ac=collection34_enc.decode(_0x414dde);
  return _0x8a25ac;
}
function collection34_reconstruct_key(_0x48e312){
  return{
  }
;
}
const collection34={
  'name':"@keet-private-id/counters",'id':0x22,'version':0x0,'encodeKey'(_0x3b4393){
    const _0x151b28=[];
    return collection34_key.encode(_0x151b28);
  },'encodeKeyRange'({gt:_0x427fa7,lt:_0x5a00b3,gte:_0x5b7dff,lte:_0x4dfb25}={}){
  _0x4aa8c3={
    _0x4cd36f:0x217,_0x2078cb:0x1ae}
  ;
  return collection34_key.encodeRange({'gt':_0x427fa7?collection34_indexify(_0x427fa7):null,'lt':_0x5a00b3?collection34_indexify(_0x5a00b3):null,'gte':_0x5b7dff?collection34_indexify(_0x5b7dff):null,'lte':_0x4dfb25?collection34_indexify(_0x4dfb25):null});
},'encodeValue'(_0x2d7dac,_0x367561,_0x4ac0f2){
_0x4d656e={
  _0x507548:0x335,_0x3f0019:0xb1,_0x2c0448:0x64},_0x4ae065={
  _0x4dd1a3:0x561,_0x2efd09:0x150,_0x44a14d:0x102}
;
setVersion(_0x2d7dac);
const _0x2780b3={
  'start':0x0,'end':0x0,'buffer':null}
;
collection34_enc.preencode(_0x2780b3,_0x4ac0f2);
return _0x2780b3.buffer=b4a.allocUnsafe(_0x2780b3.end),collection34_enc.encode(_0x2780b3,_0x4ac0f2),_0x2780b3.buffer;
},'trigger':null,'reconstruct':collection34_reconstruct,'reconstructKey':collection34_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection35_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x23});
function collection35_indexify(_0x439988){
  const _0x4cd95a=_0x439988.id;
  return _0x4cd95a===undefined?[]:[_0x4cd95a];
}
const collection35_enc=getEncoding("@keet-private-id/pending-invitation/hyperdb#35");
function collection35_reconstruct(_0x3a34a8,_0xadf4be,_0x124a3d){
  _0x44dcae={
    _0x107676:0x103},_0x3658f4={
    _0x865453:0x588,_0x509f79:0x28,_0x5d2784:0x11f}
  ;
  const _0x39f11e=collection35_key.decode(_0xadf4be);
  setVersion(_0x3a34a8);
  const _0x4d6b00={
    'start':0x0,'end':_0x124a3d.byteLength,'buffer':_0x124a3d},_0x2e506d=collection35_enc.decode(_0x4d6b00);
  return _0x2e506d.id=_0x39f11e[-0x4570],_0x2e506d;
}
function collection35_reconstruct_key(_0x52a553){
  const _0x55fd0a=collection35_key.decode(_0x52a553);
  return{
    'id':_0x55fd0a[0x0]}
  ;
}
const collection35={
  'name':"@keet-private-id/pending-invitations",'id':0x23,'version':0x0,'encodeKey'(_0x2b1158){
    _0x16cd05={
      _0x1993d0:0x648,_0x13be7e:0x152}
    ;
    const _0x51fed7=[_0x2b1158.id];
    return collection35_key.encode(_0x51fed7);
  },'encodeKeyRange'({gt:_0x27c035,lt:_0x344e22,gte:_0x236833,lte:_0x38f95f}={}){
  _0x4e13ca={
    _0x3f3460:0x91,_0x1c7084:0x170,_0xa432c2:0x1ac}
  ;
  return collection35_key.encodeRange({'gt':_0x27c035?collection35_indexify(_0x27c035):null,'lt':_0x344e22?collection35_indexify(_0x344e22):null,'gte':_0x236833?collection35_indexify(_0x236833):null,'lte':_0x38f95f?collection35_indexify(_0x38f95f):null});
},'encodeValue'(_0x391c00,_0x5f4d0f,_0xd2303f){
_0x46a566={
  _0x97c892:0x5e1,_0x1d89d4:0x143,_0x18ce30:0x7},_0x2d9a07={
  _0x3a58b3:0x143}
;
setVersion(_0x391c00);
const _0x75fd2c={
  'start':0x0,'end':0x0,'buffer':null}
;
collection35_enc.preencode(_0x75fd2c,_0xd2303f);
return _0x75fd2c.buffer=b4a.allocUnsafe(_0x75fd2c.end),collection35_enc.encode(_0x75fd2c,_0xd2303f),_0x75fd2c.buffer;
},'trigger':null,'reconstruct':collection35_reconstruct,'reconstructKey':collection35_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection36_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x24});
function collection36_indexify(_0x35fb09){
  const _0x28b2c7=_0x35fb09.roomKey;
  return _0x28b2c7===undefined?[]:[_0x28b2c7];
}
const collection36_enc=getEncoding("@keet-private-id/room/hyperdb#36"),collection36_trigger=helpers1.roomsTrigger;
function collection36_reconstruct(_0x363aa6,_0x20581b,_0x15818e){
  _0x271aaf={
    _0x8819bd:0x3c,_0x4753d2:0x1e},_0x339976={
    _0x209546:0x5c6},_0x39e96a=collection36_key.decode(_0x20581b);
  setVersion(_0x363aa6);
  const _0x2da9e8={
    'start':0x0,'end':_0x15818e.byteLength,'buffer':_0x15818e},_0x3968a1=collection36_enc.decode(_0x2da9e8);
  _0x3968a1.roomKey=_0x39e96a[--0x4524];
  return _0x3968a1;
}
function collection36_reconstruct_key(_0x2b8450){
  _0x289a4e={
    _0x4523b4:0x10e},_0x1dc888=collection36_key.decode(_0x2b8450);
  return{
    'roomKey':_0x1dc888[0x0]}
  ;
}
const collection36={
  'name':"@keet-private-id/rooms",'id':0x24,'version':0x0,'encodeKey'(_0x2d44fb){
    _0x33adc6={
      _0x5149a5:0x604,_0xc5fb:0x2c},_0x38a724=[_0x2d44fb.roomKey];
    return collection36_key.encode(_0x38a724);
  },'encodeKeyRange'({gt:_0x2d726c,lt:_0x496d52,gte:_0x25949b,lte:_0x5cd106}={}){
  _0x259995={
    _0x39cb60:0x78,_0x516f5b:0x1b6}
  ;
  return collection36_key.encodeRange({'gt':_0x2d726c?collection36_indexify(_0x2d726c):null,'lt':_0x496d52?collection36_indexify(_0x496d52):null,'gte':_0x25949b?collection36_indexify(_0x25949b):null,'lte':_0x5cd106?collection36_indexify(_0x5cd106):null});
},'encodeValue'(_0x3e9454,_0x1cd6d3,_0x1473f6){
_0x4e56b2={
  _0x4946cf:0x25},_0x370470={
  _0x1d431b:0xa5,_0x762ba5:0xf0}
;
setVersion(_0x3e9454);
const _0x129385={
  'start':0x0,'end':0x0,'buffer':null}
;
collection36_enc.preencode(_0x129385,_0x1473f6);
_0x129385.buffer=b4a.allocUnsafe(_0x129385.end);
return collection36_enc.encode(_0x129385,_0x1473f6),_0x129385.buffer;
},'trigger':collection36_trigger,'reconstruct':collection36_reconstruct,'reconstructKey':collection36_reconstruct_key,'indexes':[],'decodedVersion':0x0},index37_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x25});
function index37_indexify(_0x330101){
  _0x3c1787={
    _0x3ed826:0xa0,_0x42a003:0x139,_0x42c23e:0x3d6},_0x10182e={
    _0x1a3a9b:0x35,_0xf587a2:0x1e3},_0x135bb4=[],_0x3d9cf8=_0x330101.clock;
  if(_0x3d9cf8===undefined)return _0x135bb4;
  _0x135bb4.push(_0x3d9cf8);
  const _0x423702=_0x330101.roomKey;
  if(_0x423702===undefined)return _0x135bb4;
  return _0x135bb4.push(_0x423702),_0x135bb4;
}
const index37={
  'name':"@keet-private-id/rooms-by-clock",'version':0x0,'id':0x25,'encodeKey'(_0x22e3d9){
    _0x499200={
      _0x5abd76:0x16,_0x6ac80a:0xc0}
    ;
    return index37_key.encode(index37_indexify(_0x22e3d9));
  },'encodeKeyRange'({gt:_0x56b779,lt:_0x3fa92c,gte:_0x34c77a,lte:_0x3d006b}={}){
  _0xb5af57={
    _0x15f24a:0x352,_0x366dba:0xcc,_0x403bdc:0x187}
  ;
  return index37_key.encodeRange({'gt':_0x56b779?index37_indexify(_0x56b779):null,'lt':_0x3fa92c?index37_indexify(_0x3fa92c):null,'gte':_0x34c77a?index37_indexify(_0x34c77a):null,'lte':_0x3d006b?index37_indexify(_0x3d006b):null});
},'encodeValue':_0x481024=>index37.collection.encodeKey(_0x481024),'encodeIndexKeys'(_0x517946,_0x10e459){
_0x4a29dc={
  _0xf0ecea:0x196,_0x14bedb:0x18a,_0x49e9ca:0x581},_0x16bd6a={
  _0x461825:0x43,_0x43feb0:0x3d}
;
return[index37_key.encode([_0x517946.clock,_0x517946.roomKey])];
},'reconstruct':(_0x3d47b6,_0x424d64)=>_0x424d64,'offset':collection36.indexes.length,'collection':collection36}
;
collection36.indexes.push(index37);
const collection38_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x26});
function collection38_indexify(_0x1cb465){
  _0x4ae3fc={
    _0xc7e9b6:0x30,_0x8564ae:0x2a0},_0x3edfd=_0x1cb465.memberKey;
  return _0x3edfd===undefined?[]:[_0x3edfd];
}
const collection38_enc=getEncoding("@keet-private-id/contact-record/hyperdb#38"),collection38_trigger=helpers1.contactsTrigger;
function collection38_reconstruct(_0x5f33ce,_0x1edf6a,_0x402bf5){
  _0x585578={
    _0x2fa51e:0x77,_0xe6b499:0x56,_0x15abaf:0xe5},_0x1fa17c={
    _0x4be127:0x1f1},_0x43e81a=collection38_key.decode(_0x1edf6a);
  setVersion(_0x5f33ce);
  const _0x1ffc12={
    'start':0x0,'end':_0x402bf5.byteLength,'buffer':_0x402bf5},_0x5eb42a=collection38_enc.decode(_0x1ffc12);
  _0x5eb42a.memberKey=_0x43e81a[0x0];
  return _0x5eb42a;
}
function collection38_reconstruct_key(_0x50def9){
  _0x13f218={
    _0x433279:0x18c,_0x554245:0x178,_0x4720d7:0x277},_0x46c32f=collection38_key.decode(_0x50def9);
  return{
    'memberKey':_0x46c32f[-0x44b4]}
  ;
}
const collection38={
  'name':"@keet-private-id/contacts",'id':0x26,'version':0x0,'encodeKey'(_0x3d0e46){
    _0xedef12={
      _0x41027b:0x17,_0x2086dc:0x130},_0x1d5c4d={
      _0x174d72:0xab}
    ;
    const _0x4d2cd6=[_0x3d0e46.memberKey];
    return collection38_key.encode(_0x4d2cd6);
  },'encodeKeyRange'({gt:_0x8d1d4e,lt:_0x50f799,gte:_0x5e7fac,lte:_0x496653}={}){
  return collection38_key.encodeRange({'gt':_0x8d1d4e?collection38_indexify(_0x8d1d4e):null,'lt':_0x50f799?collection38_indexify(_0x50f799):null,'gte':_0x5e7fac?collection38_indexify(_0x5e7fac):null,'lte':_0x496653?collection38_indexify(_0x496653):null});
},'encodeValue'(_0x3c063b,_0x550615,_0x43d6d8){
_0x4b8c86={
  _0x41cca4:0x3fe,_0x38b0ef:0x148},_0x8e8d66={
  _0x4b8ab8:0xfc}
;
setVersion(_0x3c063b);
const _0x54daad={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection38_enc.preencode(_0x54daad,_0x43d6d8),_0x54daad.buffer=b4a.allocUnsafe(_0x54daad.end),collection38_enc.encode(_0x54daad,_0x43d6d8),_0x54daad.buffer;
},'trigger':collection38_trigger,'reconstruct':collection38_reconstruct,'reconstructKey':collection38_reconstruct_key,'indexes':[],'decodedVersion':0x0},index39_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x27});
function index39_indexify(_0x557dc1){
  _0x15faf1={
    _0x4e5c19:0x12d,_0x3418e1:0xa2},_0xd5adf3={
    _0x5a8684:0x63},_0x32a160=[],_0x3ec329=_0x557dc1.clock;
  if(_0x3ec329===undefined)return _0x32a160;
  _0x32a160.push(_0x3ec329);
  const _0x3abc3a=_0x557dc1.memberKey;
  if(_0x3abc3a===undefined)return _0x32a160;
  return _0x32a160.push(_0x3abc3a),_0x32a160;
}
const index39={
  'name':"@keet-private-id/contacts-by-clock",'version':0x0,'id':0x27,'encodeKey'(_0x264569){
    _0xa0cc38={
      _0x42ede2:0x17d,_0x58cf6b:0x190,_0xeef98d:0xde}
    ;
    return index39_key.encode(index39_indexify(_0x264569));
  },'encodeKeyRange'({gt:_0x8b0ac7,lt:_0x50521d,gte:_0x3dac0f,lte:_0x2495d9}={}){
  _0x492353={
    _0x10204d:0x5a0,_0x5a81c7:0x129}
  ;
  return index39_key.encodeRange({'gt':_0x8b0ac7?index39_indexify(_0x8b0ac7):null,'lt':_0x50521d?index39_indexify(_0x50521d):null,'gte':_0x3dac0f?index39_indexify(_0x3dac0f):null,'lte':_0x2495d9?index39_indexify(_0x2495d9):null});
},'encodeValue':_0x1f0917=>index39.collection.encodeKey(_0x1f0917),'encodeIndexKeys'(_0x3266ca,_0x599b5a){
_0x15afd3={
  _0x45f593:0x16a,_0x505241:0x83},_0x111298={
  _0x5a91f1:0x97}
;
return[index39_key.encode([_0x3266ca.clock,_0x3266ca.memberKey])];
},'reconstruct':(_0x505a02,_0x3cfd83)=>_0x3cfd83,'offset':collection38.indexes.length,'collection':collection38}
;
collection38.indexes.push(index39);
const collection40_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x28});
function collection40_indexify(_0x449ac9){
  _0x2f5721={
    _0x136ff1:0x111,_0x137cdf:0xba,_0x2b2a9f:0x4c8},_0x1763df=_0x449ac9.memberKey;
  return _0x1763df===undefined?[]:[_0x1763df];
}
const collection40_enc=getEncoding("@keet-private-id/contact-request-record/hyperdb#40"),collection40_trigger=helpers1.contactRequestsTrigger;
function collection40_reconstruct(_0x4e88ce,_0x5cc72b,_0x55eda5){
  _0x4bce81={
    _0x3b4a76:0x581,_0x5d0276:0x16,_0x1b59c5:0xd5},_0x2fb131={
    _0x4c32b5:0x123,_0x3fc818:0x7b}
  ;
  const _0x19bd24=collection40_key.decode(_0x5cc72b);
  setVersion(_0x4e88ce);
  const _0x23d613={
    'start':0x0,'end':_0x55eda5.byteLength,'buffer':_0x55eda5},_0x336f04=collection40_enc.decode(_0x23d613);
  return _0x336f04.memberKey=_0x19bd24[-0x250e],_0x336f04;
}
function collection40_reconstruct_key(_0x164dae){
  const _0xccec68=collection40_key.decode(_0x164dae);
  return{
    'memberKey':_0xccec68[-0x2d96]}
  ;
}
const collection40={
  'name':"@keet-private-id/contact-requests",'id':0x28,'version':0x0,'encodeKey'(_0x4bc41c){
    _0x430a6d={
      _0x4f8c77:0x62c}
    ;
    const _0xa735f4=[_0x4bc41c.memberKey];
    return collection40_key.encode(_0xa735f4);
  },'encodeKeyRange'({gt:_0x17e5f4,lt:_0x50daa6,gte:_0x191b42,lte:_0x3229fa}={}){
  _0xf72f00={
    _0x1e60ea:0x129,_0x4b9435:0x159}
  ;
  return collection40_key.encodeRange({'gt':_0x17e5f4?collection40_indexify(_0x17e5f4):null,'lt':_0x50daa6?collection40_indexify(_0x50daa6):null,'gte':_0x191b42?collection40_indexify(_0x191b42):null,'lte':_0x3229fa?collection40_indexify(_0x3229fa):null});
},'encodeValue'(_0x563e2c,_0x52e134,_0x496b60){
_0x20b058={
  _0x51c00a:0xf6,_0x41454e:0x3df},_0x36b0c7={
  _0x197437:0x1ab}
;
setVersion(_0x563e2c);
const _0x1dc63a={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection40_enc.preencode(_0x1dc63a,_0x496b60),_0x1dc63a.buffer=b4a.allocUnsafe(_0x1dc63a.end),collection40_enc.encode(_0x1dc63a,_0x496b60),_0x1dc63a.buffer;
},'trigger':collection40_trigger,'reconstruct':collection40_reconstruct,'reconstructKey':collection40_reconstruct_key,'indexes':[],'decodedVersion':0x0},index41_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x29});
function index41_indexify(_0x5e69e0){
  _0x1e59e9={
    _0x30cfc3:0x88,_0x2ed6b4:0x18b},_0x153925={
    _0xad9b41:0x5}
  ;
  const _0x473076=[],_0x5869f8=_0x5e69e0.clock;
  if(_0x5869f8===undefined)return _0x473076;
  _0x473076.push(_0x5869f8);
  const _0xa0ac7=_0x5e69e0.memberKey;
  if(_0xa0ac7===undefined)return _0x473076;
  return _0x473076.push(_0xa0ac7),_0x473076;
}
const index41={
  'name':"@keet-private-id/contact-requests-by-clock",'version':0x0,'id':0x29,'encodeKey'(_0x1da500){
    return index41_key.encode(index41_indexify(_0x1da500));
  },'encodeKeyRange'({gt:_0x32a4d3,lt:_0x306b83,gte:_0x1f7f57,lte:_0x33b49e}={}){
  _0x326669={
    _0x5d250c:0x2,_0x3f13b7:0xc8}
  ;
  return index41_key.encodeRange({'gt':_0x32a4d3?index41_indexify(_0x32a4d3):null,'lt':_0x306b83?index41_indexify(_0x306b83):null,'gte':_0x1f7f57?index41_indexify(_0x1f7f57):null,'lte':_0x33b49e?index41_indexify(_0x33b49e):null});
},'encodeValue':_0x4726b4=>index41.collection.encodeKey(_0x4726b4),'encodeIndexKeys'(_0x2e67a0,_0x3ca38d){
return[index41_key.encode([_0x2e67a0.clock,_0x2e67a0.memberKey])];
},'reconstruct':(_0x44c722,_0x3ae9bb)=>_0x3ae9bb,'offset':collection40.indexes.length,'collection':collection40}
;
collection40.indexes.push(index41);
const index42_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x2a}),index42_map=helpers1.pendingContactRequestsMap;
function index42_indexify(_0x27499d){
  const _0xc904d1=_0x27499d.clock;
  return _0xc904d1===undefined?[]:[_0xc904d1];
}
const index42={
  'name':"@keet-private-id/pending-contact-requests",'version':0x0,'id':0x2a,'encodeKey'(_0x1cecd2){
    _0x4faa90={
      _0x4fb537:0x155,_0x3a9400:0x1b0}
    ;
    return index42_key.encode(index42_indexify(_0x1cecd2));
  },'encodeKeyRange'({gt:_0x323d32,lt:_0x4493cf,gte:_0x352fcf,lte:_0xb1ebcf}={}){
  return index42_key.encodeRange({'gt':_0x323d32?index42_indexify(_0x323d32):null,'lt':_0x4493cf?index42_indexify(_0x4493cf):null,'gte':_0x352fcf?index42_indexify(_0x352fcf):null,'lte':_0xb1ebcf?index42_indexify(_0xb1ebcf):null});
},'encodeValue':_0x2f40e2=>index42.collection.encodeKey(_0x2f40e2),'encodeIndexKeys'(_0x4ee804,_0x3f85a2){
_0x3efc3={
  _0x17643e:0x53,_0x14315a:0x425},_0x5aa13e={
  _0x292d74:0x25c,_0x58c47e:0xb4},_0x481275=index42_map(_0x4ee804,_0x3f85a2),_0xa8cb90=new Array(_0x481275.length);
for(let _0x3a123c=--0x259e;_0x3a123c<_0x481275.length;_0x3a123c++){
  const _0x2cb935=_0x481275[_0x3a123c];
  _0xa8cb90[_0x3a123c]=index42_key.encode([_0x2cb935.clock,_0x4ee804.memberKey]);
}
return _0xa8cb90;
},'reconstruct':(_0x28d361,_0x1887a3)=>_0x1887a3,'offset':collection40.indexes.length,'collection':collection40}
;
collection40.indexes.push(index42);
const index43_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x2b}),index43_map=helpers1.acceptedContactRequestsMap;
function index43_indexify(_0x54a577){
  _0x506bd7={
    _0x29062a:0x19b,_0x6f00c8:0x81,_0x277f03:0x650},_0x71ac17=_0x54a577.clock;
  return _0x71ac17===undefined?[]:[_0x71ac17];
}
const index43={
  'name':"@keet-private-id/accepted-contact-requests",'version':0x0,'id':0x2b,'encodeKey'(_0x47d5b5){
    return index43_key.encode(index43_indexify(_0x47d5b5));
  },'encodeKeyRange'({gt:_0x4f3080,lt:_0x5f26e6,gte:_0x363b53,lte:_0x2807c3}={}){
  _0x397b6a={
    _0xe3d3b:0x11c,_0x133bbd:0x6b}
  ;
  return index43_key.encodeRange({'gt':_0x4f3080?index43_indexify(_0x4f3080):null,'lt':_0x5f26e6?index43_indexify(_0x5f26e6):null,'gte':_0x363b53?index43_indexify(_0x363b53):null,'lte':_0x2807c3?index43_indexify(_0x2807c3):null});
},'encodeValue':_0x3a90cb=>index43.collection.encodeKey(_0x3a90cb),'encodeIndexKeys'(_0x38d2d3,_0x509a09){
_0x588b50={
  _0x53817f:0xbe,_0xb7f31d:0x18b,_0x272e91:0x47a},_0x58426f={
  _0x7d2ad7:0xfb,_0x187cdb:0x184,_0x576e22:0x519},_0xdadff2=index43_map(_0x38d2d3,_0x509a09);
const _0x4f8638=new Array(_0xdadff2.length);
for(let _0x4ab7fd=0x0;_0x4ab7fd<_0xdadff2.length;_0x4ab7fd++){
  const _0x2fbe95=_0xdadff2[_0x4ab7fd];
  _0x4f8638[_0x4ab7fd]=index43_key.encode([_0x2fbe95.clock,_0x38d2d3.memberKey]);
}
return _0x4f8638;
},'reconstruct':(_0xc31e48,_0x4f13b4)=>_0x4f13b4,'offset':collection40.indexes.length,'collection':collection40}
;
collection40.indexes.push(index43);
const index44_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x2c}),index44_map=helpers1.rejectedContactRequestsMap;
function index44_indexify(_0x307f5e){
  const _0x5c4590=_0x307f5e.clock;
  return _0x5c4590===undefined?[]:[_0x5c4590];
}
const index44={
  'name':"@keet-private-id/rejected-contact-requests",'version':0x0,'id':0x2c,'encodeKey'(_0x3ff012){
    return index44_key.encode(index44_indexify(_0x3ff012));
  },'encodeKeyRange'({gt:_0x23f416,lt:_0x2bd39d,gte:_0x591467,lte:_0x1c9003}={}){
  _0x56746b={
    _0x35b907:0x19f,_0x1fd5f4:0x8d}
  ;
  return index44_key.encodeRange({'gt':_0x23f416?index44_indexify(_0x23f416):null,'lt':_0x2bd39d?index44_indexify(_0x2bd39d):null,'gte':_0x591467?index44_indexify(_0x591467):null,'lte':_0x1c9003?index44_indexify(_0x1c9003):null});
},'encodeValue':_0x536959=>index44.collection.encodeKey(_0x536959),'encodeIndexKeys'(_0x3e75d0,_0x1c1797){
_0x40d535={
  _0x481840:0x335,_0x3e3977:0x14},_0x3b730d={
  _0x20a791:0x13,_0x169c42:0x8e,_0x2106be:0x242},_0x53c8a8=index44_map(_0x3e75d0,_0x1c1797);
const _0x30a45d=new Array(_0x53c8a8.length);
for(let _0x27ef1f=-0x1546;_0x27ef1f<_0x53c8a8.length;_0x27ef1f++){
  const _0x14c20d=_0x53c8a8[_0x27ef1f];
  _0x30a45d[_0x27ef1f]=index44_key.encode([_0x14c20d.clock,_0x3e75d0.memberKey]);
}
return _0x30a45d;
},'reconstruct':(_0x4e4bcd,_0x185fce)=>_0x185fce,'offset':collection40.indexes.length,'collection':collection40}
;
collection40.indexes.push(index44);
const index45_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x2d}),index45_map=helpers1.discardedContactRequestsMap;
function index45_indexify(_0x505fa8){
  const _0x1645c9=_0x505fa8.clock;
  return _0x1645c9===undefined?[]:[_0x1645c9];
}
const index45={
  'name':"@keet-private-id/discarded-contact-requests",'version':0x0,'id':0x2d,'encodeKey'(_0x592bae){
    return index45_key.encode(index45_indexify(_0x592bae));
  },'encodeKeyRange'({gt:_0x4a4a7f,lt:_0x4e31de,gte:_0x2aa933,lte:_0x5533ba}={}){
  _0x558909={
    _0x5646ff:0xb2,_0x207b68:0x1c0}
  ;
  return index45_key.encodeRange({'gt':_0x4a4a7f?index45_indexify(_0x4a4a7f):null,'lt':_0x4e31de?index45_indexify(_0x4e31de):null,'gte':_0x2aa933?index45_indexify(_0x2aa933):null,'lte':_0x5533ba?index45_indexify(_0x5533ba):null});
},'encodeValue':_0x38d130=>index45.collection.encodeKey(_0x38d130),'encodeIndexKeys'(_0x1e2f63,_0x1ca068){
_0x2eb822={
  _0x47293b:0xdc,_0x210066:0x1df,_0x2f13b3:0x59a},_0x4eba5c={
  _0x197cb5:0x50},_0xb038a2=index45_map(_0x1e2f63,_0x1ca068);
const _0x5c942e=new Array(_0xb038a2.length);
for(let _0x28e156=-0x2e6e;_0x28e156<_0xb038a2.length;_0x28e156++){
  const _0x194b2f=_0xb038a2[_0x28e156];
  _0x5c942e[_0x28e156]=index45_key.encode([_0x194b2f.clock,_0x1e2f63.memberKey]);
}
return _0x5c942e;
},'reconstruct':(_0x5d6b21,_0x1ffaab)=>_0x1ffaab,'offset':collection40.indexes.length,'collection':collection40}
;
collection40.indexes.push(index45);
const collection46_key=new IndexEncoder([IndexEncoder.UINT],{'prefix':0x2e});
function collection46_indexify(_0x1c83b0){
  const _0x2b5a4b=_0x1c83b0.key;
  return _0x2b5a4b===undefined?[]:[_0x2b5a4b];
}
const collection46_enc=getEncoding("@keet/test-collection-record-1/hyperdb#46");
function collection46_reconstruct(_0x292bdd,_0x59d8b6,_0x3be3f8){
  _0x432a79={
    _0xfed128:0x60,_0x1de19f:0xbb,_0x3a8bb3:0x75},_0x284803={
    _0x1c402b:0x5f,_0x4f01df:0x1ba},_0x579304=collection46_key.decode(_0x59d8b6);
  setVersion(_0x292bdd);
  const _0x50df7d={
    'start':0x0,'end':_0x3be3f8.byteLength,'buffer':_0x3be3f8},_0x43c938=collection46_enc.decode(_0x50df7d);
  return _0x43c938.key=_0x579304[0x0],_0x43c938;
}
function collection46_reconstruct_key(_0x166e01){
  const _0x26eb02=collection46_key.decode(_0x166e01);
  return{
    'key':_0x26eb02[0x0]}
  ;
}
const collection46={
  'name':"@keet/test-collection-1",'id':0x2e,'version':0x0,'encodeKey'(_0x3a36d5){
    _0xb807f5={
      _0x4480d3:0x553},_0x49a333=[_0x3a36d5.key];
    return collection46_key.encode(_0x49a333);
  },'encodeKeyRange'({gt:_0x4e4a59,lt:_0x1d6800,gte:_0x3a8af8,lte:_0x1455bd}={}){
  _0x34daf7={
    _0x59a597:0x3ec,_0x221d17:0x41,_0x4ac40b:0xd2}
  ;
  return collection46_key.encodeRange({'gt':_0x4e4a59?collection46_indexify(_0x4e4a59):null,'lt':_0x1d6800?collection46_indexify(_0x1d6800):null,'gte':_0x3a8af8?collection46_indexify(_0x3a8af8):null,'lte':_0x1455bd?collection46_indexify(_0x1455bd):null});
},'encodeValue'(_0x49e902,_0x1bf1f5,_0x13c4fe){
_0x5d5c18={
  _0x1e078b:0x86},_0x3aa7ce={
  _0x365edf:0x5c,_0x7d49e0:0x1cf,_0x549c6c:0x5d}
;
setVersion(_0x49e902);
const _0x5cbcf8={
  'start':0x0,'end':0x0,'buffer':null}
;
collection46_enc.preencode(_0x5cbcf8,_0x13c4fe),_0x5cbcf8.buffer=b4a.allocUnsafe(_0x5cbcf8.end);
return collection46_enc.encode(_0x5cbcf8,_0x13c4fe),_0x5cbcf8.buffer;
},'trigger':null,'reconstruct':collection46_reconstruct,'reconstructKey':collection46_reconstruct_key,'indexes':[],'decodedVersion':0x0},index47_key=new IndexEncoder([IndexEncoder.STRING,IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x2f}),index47_map=helpers0.filesByMajorTypeMap;
function index47_indexify(_0x490bc){
  _0x9ffb69={
    _0xfec3ba:0x4c4,_0x3eaa96:0xbc,_0x3a230d:0x8a},_0x3f6686={
    _0x1b12d7:0x147}
  ;
  const _0x41c29d=[],_0x60f436=_0x490bc.type;
  if(_0x60f436===undefined)return _0x41c29d;
  _0x41c29d.push(_0x60f436);
  const _0x208eb4=_0x490bc.id;
  if(_0x208eb4===undefined)return _0x41c29d;
  return _0x41c29d.push(_0x208eb4),_0x41c29d;
}
const index47={
  'name':"@keet/files-by-major-type",'version':0x1,'id':0x2f,'encodeKey'(_0x2080af){
    _0x30a13c={
      _0xb4c189:0x19b,_0x41859a:0xef,_0xb05281:0x1d8}
    ;
    return index47_key.encode(index47_indexify(_0x2080af));
  },'encodeKeyRange'({gt:_0x39ec57,lt:_0xdec811,gte:_0x1051fc,lte:_0x1bead7}={}){
  return index47_key.encodeRange({'gt':_0x39ec57?index47_indexify(_0x39ec57):null,'lt':_0xdec811?index47_indexify(_0xdec811):null,'gte':_0x1051fc?index47_indexify(_0x1051fc):null,'lte':_0x1bead7?index47_indexify(_0x1bead7):null});
},'encodeValue':_0x11e351=>index47.collection.encodeKey(_0x11e351),'encodeIndexKeys'(_0x4b9ad7,_0x21c59f){
_0x1a70e3={
  _0x3085da:0x20,_0x139134:0x41},_0x37ef2e={
  _0x70eebf:0x30e,_0x4a24e2:0x16f}
;
const _0x2b385f=index47_map(_0x4b9ad7,_0x21c59f),_0x122806=new Array(_0x2b385f.length);
for(let _0x385f77=0x0;_0x385f77<_0x2b385f.length;_0x385f77++){
  const _0x1e7c5a=_0x2b385f[_0x385f77];
  _0x122806[_0x385f77]=index47_key.encode([_0x1e7c5a.type,_0x1e7c5a.id,_0x4b9ad7.id]);
}
return _0x122806;
},'reconstruct':(_0x4415e3,_0x5b1e6d)=>_0x5b1e6d,'offset':collection28.indexes.length,'collection':collection28}
;
collection28.indexes.push(index47);
const index48_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x30}),index48_map=helpers0.activeFilesMap;
function index48_indexify(_0x75f93a){
  const _0x2e3f0a=_0x75f93a.id;
  return _0x2e3f0a===undefined?[]:[_0x2e3f0a];
}
const index48={
  'name':"@keet/active-files",'version':0x1,'id':0x30,'encodeKey'(_0x379785){
    _0xd73baf={
      _0x4ef4b1:0x1e4}
    ;
    return index48_key.encode(index48_indexify(_0x379785));
  },'encodeKeyRange'({gt:_0x568520,lt:_0x190d2f,gte:_0x414042,lte:_0x2dff79}={}){
  return index48_key.encodeRange({'gt':_0x568520?index48_indexify(_0x568520):null,'lt':_0x190d2f?index48_indexify(_0x190d2f):null,'gte':_0x414042?index48_indexify(_0x414042):null,'lte':_0x2dff79?index48_indexify(_0x2dff79):null});
},'encodeValue':_0x77e823=>index48.collection.encodeKey(_0x77e823),'encodeIndexKeys'(_0x3618fa,_0x21f74a){
_0xea21d={
  _0x85d5d7:0xc1,_0x2a12cc:0x8c,_0x1e0190:0x208},_0x12e928=index48_map(_0x3618fa,_0x21f74a),_0x1843cd=new Array(_0x12e928.length);
for(let _0x4157bb=0x0;_0x4157bb<_0x12e928.length;_0x4157bb++){
  const _0x417be2=_0x12e928[_0x4157bb];
  _0x1843cd[_0x4157bb]=index48_key.encode([_0x417be2.id,_0x3618fa.id]);
}
return _0x1843cd;
},'reconstruct':(_0x1ff552,_0x3bb7db)=>_0x3bb7db,'offset':collection28.indexes.length,'collection':collection28}
;
collection28.indexes.push(index48);
const index49_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x31}),index49_map=helpers1.roomsByContactMap;
function index49_indexify(_0x1a9373){
  _0x118f5f={
    _0x3e647e:0x118,_0xd76cc6:0xa8,_0x4b968b:0x1b9},_0x5b8116=_0x1a9373.contact;
  return _0x5b8116===undefined?[]:[_0x5b8116];
}
const index49={
  'name':"@keet-private-id/rooms-by-contact",'version':0x0,'id':0x31,'encodeKey'(_0x26be37){
    _0x3294de={
      _0xcde77e:0x59,_0x147789:0xea}
    ;
    return index49_key.encode(index49_indexify(_0x26be37));
  },'encodeKeyRange'({gt:_0x1f547a,lt:_0x4ad3cd,gte:_0x234421,lte:_0x2b4775}={}){
  return index49_key.encodeRange({'gt':_0x1f547a?index49_indexify(_0x1f547a):null,'lt':_0x4ad3cd?index49_indexify(_0x4ad3cd):null,'gte':_0x234421?index49_indexify(_0x234421):null,'lte':_0x2b4775?index49_indexify(_0x2b4775):null});
},'encodeValue':_0x2f8aac=>index49.collection.encodeKey(_0x2f8aac),'encodeIndexKeys'(_0x2728e9,_0x4504cb){
_0x285b35={
  _0x5a7877:0x4a,_0x5e23ff:0x154}
;
const _0x551e0b=index49_map(_0x2728e9,_0x4504cb),_0x275f4e=new Array(_0x551e0b.length);
for(let _0x4d1a21=-0x26fc;_0x4d1a21<_0x551e0b.length;_0x4d1a21++){
  const _0xdd8cda=_0x551e0b[_0x4d1a21];
  _0x275f4e[_0x4d1a21]=index49_key.encode([_0xdd8cda.contact,_0x2728e9.roomKey]);
}
return _0x275f4e;
},'reconstruct':(_0x5c01e9,_0x37ae98)=>_0x37ae98,'offset':collection36.indexes.length,'collection':collection36}
;
collection36.indexes.push(index49);
const collection50_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x32});
function collection50_indexify(_0x472b88){
  const _0x1301ea=_0x472b88.deviceKey;
  return _0x1301ea===undefined?[]:[_0x1301ea];
}
const collection50_enc=getEncoding("@keet/device-identity/hyperdb#50");
function collection50_reconstruct(_0x547a55,_0xefc6f5,_0x466e53){
  _0x3e62d6={
    _0x4e7f58:0x121,_0x32186b:0xdb,_0x32bfd6:0x1ee},_0x503886={
    _0x2cd277:0x49f},_0x55084c=collection50_key.decode(_0xefc6f5);
  setVersion(_0x547a55);
  const _0x4efb11={
    'start':0x0,'end':_0x466e53.byteLength,'buffer':_0x466e53},_0x5ce688=collection50_enc.decode(_0x4efb11);
  return _0x5ce688.deviceKey=_0x55084c[0x0],_0x5ce688;
}
function collection50_reconstruct_key(_0x3f5c94){
  _0x5b3403={
    _0x8d721:0x97,_0x5e1af2:0xfe}
  ;
  const _0x1c3f09=collection50_key.decode(_0x3f5c94);
  return{
    'deviceKey':_0x1c3f09[0x0]}
  ;
}
const collection50={
  'name':"@keet-private-id/device-identities",'id':0x32,'version':0x0,'encodeKey'(_0xb0e57){
    _0x1ba7a0={
      _0x50c9f0:0x45e,_0x5b033a:0x1a5}
    ;
    const _0x128389=[_0xb0e57.deviceKey];
    return collection50_key.encode(_0x128389);
  },'encodeKeyRange'({gt:_0x19b4c0,lt:_0x162270,gte:_0x1afc94,lte:_0x1e761a}={}){
  _0x5e1a71={
    _0x4229ca:0xa0,_0x29df11:0x8c,_0x4f4cab:0x528}
  ;
  return collection50_key.encodeRange({'gt':_0x19b4c0?collection50_indexify(_0x19b4c0):null,'lt':_0x162270?collection50_indexify(_0x162270):null,'gte':_0x1afc94?collection50_indexify(_0x1afc94):null,'lte':_0x1e761a?collection50_indexify(_0x1e761a):null});
},'encodeValue'(_0x5e3cf9,_0x227738,_0x275104){
_0x4b7f6f={
  _0x4e2893:0x175,_0x2bee54:0x268}
;
setVersion(_0x5e3cf9);
const _0x25141a={
  'start':0x0,'end':0x0,'buffer':null}
;
collection50_enc.preencode(_0x25141a,_0x275104),_0x25141a.buffer=b4a.allocUnsafe(_0x25141a.end),collection50_enc.encode(_0x25141a,_0x275104);
return _0x25141a.buffer;
},'trigger':null,'reconstruct':collection50_reconstruct,'reconstructKey':collection50_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection51_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x33});
function collection51_indexify(_0x345331){
  _0x44c9a3={
    _0x1ee168:0x5,_0x21a46d:0x11},_0x12899f={
    _0x406779:0x3f,_0x140c0c:0x2ec}
  ;
  const _0x589905=[];
  const _0x1ea71e=_0x345331.memberKey;
  if(_0x1ea71e===undefined)return _0x589905;
  _0x589905.push(_0x1ea71e);
  const _0x47bdb=_0x345331.keys?..key;
  if(_0x47bdb===undefined)return _0x589905;
  return _0x589905.push(_0x47bdb),_0x589905;
}
const collection51_enc=getEncoding("@keet-private-id/contact-request-record/hyperdb#51"),collection51_trigger=helpers1.contactRequestsTrigger;
function collection51_reconstruct(_0x1c5f39,_0x88febd,_0x1c16e5){
  _0x1ae81e={
    _0x4c0710:0xcf,_0x7f75c9:0x4d6},_0x1f78a6={
    _0x4be560:0x197,_0x1b2ad2:0x92,_0x3a15fa:0xbe},_0x4d7626=collection51_key.decode(_0x88febd);
  setVersion(_0x1c5f39);
  const _0x499c9e={
    'start':0x0,'end':_0x1c16e5.byteLength,'buffer':_0x1c16e5},_0x1541ac=collection51_enc.decode(_0x499c9e);
  _0x1541ac.memberKey=_0x4d7626[0x0];
  return _0x1541ac.keys.key=_0x4d7626[-0xdcb],_0x1541ac;
}
function collection51_reconstruct_key(_0x4c7edb){
  _0x5b0f3d={
    _0x4505dd:0x38a,_0x300527:0x1,_0x1d3b63:0x56}
  ;
  const _0x4400d6=collection51_key.decode(_0x4c7edb);
  return{
    'memberKey':_0x4400d6[0x0],'keys':{
      'key':_0x4400d6[-0x1fa5]}
  }
;
}
const collection51={
  'name':"@keet-private-id/contact-requests-v2",'id':0x33,'version':0x0,'encodeKey'(_0x4ed9bb){
    _0x43c470={
      _0x3f748d:0x146},_0x24a4b5={
      _0x1fd6d1:0x47b,_0x4fce33:0x145,_0x538351:0x29}
    ;
    const _0x4162cb=[_0x4ed9bb.memberKey,_0x4ed9bb.keys.key];
    return collection51_key.encode(_0x4162cb);
  },'encodeKeyRange'({gt:_0x1e7e9c,lt:_0x14a4af,gte:_0x49aa27,lte:_0xd24bed}={}){
  _0x589518={
    _0x50fb9e:0xc2,_0x4e2f30:0xba}
  ;
  return collection51_key.encodeRange({'gt':_0x1e7e9c?collection51_indexify(_0x1e7e9c):null,'lt':_0x14a4af?collection51_indexify(_0x14a4af):null,'gte':_0x49aa27?collection51_indexify(_0x49aa27):null,'lte':_0xd24bed?collection51_indexify(_0xd24bed):null});
},'encodeValue'(_0x444ce9,_0x255e25,_0x5ce8d9){
_0x3e6357={
  _0x2068cc:0x1,_0x4b1e85:0x139},_0x20bd13={
  _0x5c85bc:0x8d}
;
setVersion(_0x444ce9);
const _0x406e73={
  'start':0x0,'end':0x0,'buffer':null}
;
collection51_enc.preencode(_0x406e73,_0x5ce8d9),_0x406e73.buffer=b4a.allocUnsafe(_0x406e73.end);
return collection51_enc.encode(_0x406e73,_0x5ce8d9),_0x406e73.buffer;
},'trigger':collection51_trigger,'reconstruct':collection51_reconstruct,'reconstructKey':collection51_reconstruct_key,'indexes':[],'decodedVersion':0x0}
;
const index52_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x34});
function index52_indexify(_0x12e194){
  _0x106f6a={
    _0x300989:0x564,_0xbee271:0x1e2,_0x10be74:0x41},_0x4329ad={
    _0x16ec74:0x2bd,_0x3dbfc2:0x33,_0x50ada0:0x1b9},_0x15bdf1=[];
  const _0x530a4e=_0x12e194.memberKey;
  if(_0x530a4e===undefined)return _0x15bdf1;
  _0x15bdf1.push(_0x530a4e);
  const _0x4fc9a9=_0x12e194.memberKey;
  if(_0x4fc9a9===undefined)return _0x15bdf1;
  _0x15bdf1.push(_0x4fc9a9);
  const _0x571aff=_0x12e194.keys?..key;
  if(_0x571aff===undefined)return _0x15bdf1;
  return _0x15bdf1.push(_0x571aff),_0x15bdf1;
}
const index52={
  'name':"@keet-private-id/contact-requests-by-member",'version':0x0,'id':0x34,'encodeKey'(_0x100a25){
    _0x67a758={
      _0x292d51:0x134,_0x3145e5:0x1c8}
    ;
    return index52_key.encode(index52_indexify(_0x100a25));
  },'encodeKeyRange'({gt:_0x5eb094,lt:_0x5752a5,gte:_0x50fa89,lte:_0x3644b9}={}){
  return index52_key.encodeRange({'gt':_0x5eb094?index52_indexify(_0x5eb094):null,'lt':_0x5752a5?index52_indexify(_0x5752a5):null,'gte':_0x50fa89?index52_indexify(_0x50fa89):null,'lte':_0x3644b9?index52_indexify(_0x3644b9):null});
},'encodeValue':_0x2696b6=>index52.collection.encodeKey(_0x2696b6),'encodeIndexKeys'(_0x592ef9,_0xa94b06){
_0x2febdb={
  _0x34b4f2:0xfa},_0x24ae35={
  _0x58615e:0xa}
;
return[index52_key.encode([_0x592ef9.memberKey,_0x592ef9.memberKey,_0x592ef9.keys.key])];
},'reconstruct':(_0x359974,_0x267df7)=>_0x267df7,'offset':collection51.indexes.length,'collection':collection51}
;
collection51.indexes.push(index52);
const index53_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x35});
function index53_indexify(_0x82f0f6){
  _0x3fe05b={
    _0x20f2d1:0x43e,_0x430f0b:0x2e},_0x572a37={
    _0xf8dd02:0x637,_0x70ae9a:0x11c,_0x59cf53:0x5d},_0x39f841=[],_0x318550=_0x82f0f6.clock;
  if(_0x318550===undefined)return _0x39f841;
  _0x39f841.push(_0x318550);
  const _0x13f4bb=_0x82f0f6.memberKey;
  if(_0x13f4bb===undefined)return _0x39f841;
  _0x39f841.push(_0x13f4bb);
  const _0x1fc9ba=_0x82f0f6.keys?..key;
  if(_0x1fc9ba===undefined)return _0x39f841;
  return _0x39f841.push(_0x1fc9ba),_0x39f841;
}
const index53={
  'name':"@keet-private-id/contact-requests-by-clock-v2",'version':0x0,'id':0x35,'encodeKey'(_0x571e33){
    _0x160545={
      _0x8cbbe9:0x69}
    ;
    return index53_key.encode(index53_indexify(_0x571e33));
  },'encodeKeyRange'({gt:_0x5bac8e,lt:_0x1b836a,gte:_0x3b936f,lte:_0x388275}={}){
  return index53_key.encodeRange({'gt':_0x5bac8e?index53_indexify(_0x5bac8e):null,'lt':_0x1b836a?index53_indexify(_0x1b836a):null,'gte':_0x3b936f?index53_indexify(_0x3b936f):null,'lte':_0x388275?index53_indexify(_0x388275):null});
},'encodeValue':_0x451e2c=>index53.collection.encodeKey(_0x451e2c),'encodeIndexKeys'(_0x5c71cf,_0x39d42a){
_0x56d918={
  _0x524412:0x4c,_0x1eb49f:0x412},_0x2431c0={
  _0x7668f0:0x229,_0x1cdc0b:0x7a}
;
return[index53_key.encode([_0x5c71cf.clock,_0x5c71cf.memberKey,_0x5c71cf.keys.key])];
},'reconstruct':(_0x56cbd9,_0x103a26)=>_0x103a26,'offset':collection51.indexes.length,'collection':collection51}
;
collection51.indexes.push(index53);
const index54_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x36}),index54_map=helpers1.pendingContactRequestsMap;
function index54_indexify(_0x274042){
  _0x1a2352={
    _0x590512:0x11c,_0x2a407e:0x10f,_0x3d4ed6:0x26e},_0x4a9c3a=_0x274042.clock;
  return _0x4a9c3a===undefined?[]:[_0x4a9c3a];
}
const index54={
  'name':"@keet-private-id/pending-contact-requests-v2",'version':0x0,'id':0x36,'encodeKey'(_0x54dfe3){
    _0x44e2ae={
      _0x4343b4:0x1d8}
    ;
    return index54_key.encode(index54_indexify(_0x54dfe3));
  },'encodeKeyRange'({gt:_0x509550,lt:_0x302792,gte:_0x257290,lte:_0x2c1d52}={}){
  _0x5e55dd={
    _0x5ddd68:0x195,_0x3d41de:0x151,_0x410514:0x259}
  ;
  return index54_key.encodeRange({'gt':_0x509550?index54_indexify(_0x509550):null,'lt':_0x302792?index54_indexify(_0x302792):null,'gte':_0x257290?index54_indexify(_0x257290):null,'lte':_0x2c1d52?index54_indexify(_0x2c1d52):null});
},'encodeValue':_0x5ec20a=>index54.collection.encodeKey(_0x5ec20a),'encodeIndexKeys'(_0x34991c,_0x635314){
_0x4075ad={
  _0x2c9c11:0x103,_0x220b03:0x1df},_0x44bd17={
  _0x4cd69e:0x178,_0x1d85af:0xcb},_0x26d831=index54_map(_0x34991c,_0x635314),_0x47fd18=new Array(_0x26d831.length);
for(let _0x577475=0x0;_0x577475<_0x26d831.length;_0x577475++){
  const _0x3aa164=_0x26d831[_0x577475];
  _0x47fd18[_0x577475]=index54_key.encode([_0x3aa164.clock,_0x34991c.memberKey,_0x34991c.keys.key]);
}
return _0x47fd18;
},'reconstruct':(_0x5ed22b,_0x4ccce2)=>_0x4ccce2,'offset':collection51.indexes.length,'collection':collection51}
;
collection51.indexes.push(index54);
const index55_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x37}),index55_map=helpers1.pendingContactRequestsByMemberMap;
function index55_indexify(_0x435b47){
  _0x1cb48d={
    _0x532c31:0x5b6,_0x2562fd:0xd8,_0x32ddc4:0x122}
  ;
  const _0x166a0d=_0x435b47.memberKey;
  return _0x166a0d===undefined?[]:[_0x166a0d];
}
const index55={
  'name':"@keet-private-id/pending-contact-requests-by-member",'version':0x0,'id':0x37,'encodeKey'(_0x2f05ff){
    _0x14e22a={
      _0x2e8100:0xf2,_0x23e52b:0x1d0}
    ;
    return index55_key.encode(index55_indexify(_0x2f05ff));
  },'encodeKeyRange'({gt:_0x88695f,lt:_0x28c79a,gte:_0x4aa2d5,lte:_0x4d1c6d}={}){
  return index55_key.encodeRange({'gt':_0x88695f?index55_indexify(_0x88695f):null,'lt':_0x28c79a?index55_indexify(_0x28c79a):null,'gte':_0x4aa2d5?index55_indexify(_0x4aa2d5):null,'lte':_0x4d1c6d?index55_indexify(_0x4d1c6d):null});
},'encodeValue':_0x2305a0=>index55.collection.encodeKey(_0x2305a0),'encodeIndexKeys'(_0x17e92d,_0x5c33ab){
_0x391389={
  _0x22fd3f:0xc1,_0x351fd2:0xd6,_0x4c082f:0xc8},_0x402a3a={
  _0x3aff33:0x4c,_0x36181a:0x321},_0xb24057=index55_map(_0x17e92d,_0x5c33ab);
const _0x8fc49b=new Array(_0xb24057.length);
for(let _0xe97eb0=-0x2098;_0xe97eb0<_0xb24057.length;_0xe97eb0++){
  const _0x57c73b=_0xb24057[_0xe97eb0];
  _0x8fc49b[_0xe97eb0]=index55_key.encode([_0x57c73b.memberKey,_0x17e92d.memberKey,_0x17e92d.keys.key]);
}
return _0x8fc49b;
},'reconstruct':(_0x48ac9b,_0x5f1ac4)=>_0x5f1ac4,'offset':collection51.indexes.length,'collection':collection51}
;
collection51.indexes.push(index55);
const index56_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x38}),index56_map=helpers1.acceptedContactRequestsMap;
function index56_indexify(_0x4eaa7d){
  _0x132f7f={
    _0x2683b7:0x127},_0x10271d=_0x4eaa7d.clock;
  return _0x10271d===undefined?[]:[_0x10271d];
}
const index56={
  'name':"@keet-private-id/accepted-contact-requests-v2",'version':0x0,'id':0x38,'encodeKey'(_0x5da477){
    _0x46e8f0={
      _0x57b71:0x661,_0x1e84d5:0x1a6,_0x14b908:0x9d}
    ;
    return index56_key.encode(index56_indexify(_0x5da477));
  },'encodeKeyRange'({gt:_0x1b3c83,lt:_0x1cb90e,gte:_0x27b412,lte:_0x4cce1d}={}){
  _0x312c1e={
    _0x17da1f:0x3a8,_0x1d10da:0x99,_0x322da0:0xe5}
  ;
  return index56_key.encodeRange({'gt':_0x1b3c83?index56_indexify(_0x1b3c83):null,'lt':_0x1cb90e?index56_indexify(_0x1cb90e):null,'gte':_0x27b412?index56_indexify(_0x27b412):null,'lte':_0x4cce1d?index56_indexify(_0x4cce1d):null});
},'encodeValue':_0x462363=>index56.collection.encodeKey(_0x462363),'encodeIndexKeys'(_0x4b5e3c,_0x3c586f){
_0x4fd862={
  _0x7b6cd9:0x392,_0xdda981:0x8c},_0xcf9c05={
  _0x2edefc:0xab,_0x145f61:0xf5},_0x504275=index56_map(_0x4b5e3c,_0x3c586f),_0x1cd0c8=new Array(_0x504275.length);
for(let _0x9ff71a=-0x3024;_0x9ff71a<_0x504275.length;_0x9ff71a++){
  const _0x105c4c=_0x504275[_0x9ff71a];
  _0x1cd0c8[_0x9ff71a]=index56_key.encode([_0x105c4c.clock,_0x4b5e3c.memberKey,_0x4b5e3c.keys.key]);
}
return _0x1cd0c8;
},'reconstruct':(_0x2376d0,_0x1396aa)=>_0x1396aa,'offset':collection51.indexes.length,'collection':collection51}
;
collection51.indexes.push(index56);
const index57_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x39}),index57_map=helpers1.rejectedContactRequestsMap;
function index57_indexify(_0x34f8c2){
  _0x5d1955={
    _0xefdcbc:0x193},_0x33464f=_0x34f8c2.clock;
  return _0x33464f===undefined?[]:[_0x33464f];
}
const index57={
  'name':"@keet-private-id/rejected-contact-requests-v2",'version':0x0,'id':0x39,'encodeKey'(_0x16036b){
    return index57_key.encode(index57_indexify(_0x16036b));
  },'encodeKeyRange'({gt:_0x50b9d2,lt:_0x170e0e,gte:_0x3ab958,lte:_0x1f6c40}={}){
  return index57_key.encodeRange({'gt':_0x50b9d2?index57_indexify(_0x50b9d2):null,'lt':_0x170e0e?index57_indexify(_0x170e0e):null,'gte':_0x3ab958?index57_indexify(_0x3ab958):null,'lte':_0x1f6c40?index57_indexify(_0x1f6c40):null});
},'encodeValue':_0x154ec0=>index57.collection.encodeKey(_0x154ec0),'encodeIndexKeys'(_0x406fa2,_0x26b07b){
_0x2fc54b={
  _0x5a2082:0x30,_0x2b876a:0x1c0,_0x155823:0x4fc},_0x1646c3={
  _0x1c6ac5:0x92,_0x1adb15:0xfa,_0x48c472:0x22e},_0x3320f4=index57_map(_0x406fa2,_0x26b07b),_0x926944=new Array(_0x3320f4.length);
for(let _0x114f32=-0x1f48;_0x114f32<_0x3320f4.length;_0x114f32++){
  const _0x955ce1=_0x3320f4[_0x114f32];
  _0x926944[_0x114f32]=index57_key.encode([_0x955ce1.clock,_0x406fa2.memberKey,_0x406fa2.keys.key]);
}
return _0x926944;
},'reconstruct':(_0x1752f2,_0x30b99c)=>_0x30b99c,'offset':collection51.indexes.length,'collection':collection51}
;
collection51.indexes.push(index57);
const index58_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x3a}),index58_map=helpers1.discardedContactRequestsMap;
function index58_indexify(_0x4bb922){
  const _0x3da64f=_0x4bb922.clock;
  return _0x3da64f===undefined?[]:[_0x3da64f];
}
const index58={
  'name':"@keet-private-id/discarded-contact-requests-v2",'version':0x0,'id':0x3a,'encodeKey'(_0x57305e){
    return index58_key.encode(index58_indexify(_0x57305e));
  },'encodeKeyRange'({gt:_0x2028d5,lt:_0x51aae5,gte:_0x22a8ca,lte:_0x56e2b3}={}){
  _0x12d05d={
    _0xaeb0c9:0xb7}
  ;
  return index58_key.encodeRange({'gt':_0x2028d5?index58_indexify(_0x2028d5):null,'lt':_0x51aae5?index58_indexify(_0x51aae5):null,'gte':_0x22a8ca?index58_indexify(_0x22a8ca):null,'lte':_0x56e2b3?index58_indexify(_0x56e2b3):null});
},'encodeValue':_0x316ae9=>index58.collection.encodeKey(_0x316ae9),'encodeIndexKeys'(_0x29c9af,_0x25dec5){
_0x33724e={
  _0x14a9ed:0x1d4},_0x1648f6={
  _0x4b9fe2:0x4f}
;
const _0x2de303=index58_map(_0x29c9af,_0x25dec5),_0x453aa6=new Array(_0x2de303.length);
for(let _0x3625f1=0x0;_0x3625f1<_0x2de303.length;_0x3625f1++){
  const _0x400e53=_0x2de303[_0x3625f1];
  _0x453aa6[_0x3625f1]=index58_key.encode([_0x400e53.clock,_0x29c9af.memberKey,_0x29c9af.keys.key]);
}
return _0x453aa6;
},'reconstruct':(_0x2f27cb,_0x5899bc)=>_0x5899bc,'offset':collection51.indexes.length,'collection':collection51}
;
collection51.indexes.push(index58);
const collection59_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x3b});
function collection59_indexify(_0x468eec){
  _0x3affc1={
    _0x1ed95c:0x1aa,_0x4a2ffc:0x4d,_0xf8f77e:0x54},_0x5f2dbd=_0x468eec.deviceKey;
  return _0x5f2dbd===undefined?[]:[_0x5f2dbd];
}
const collection59_enc=getEncoding("@keet-private-id/unreads/hyperdb#59");
function collection59_reconstruct(_0x21b01e,_0x1b57a3,_0x31c940){
  _0x47d2bf={
    _0x41d193:0xf0,_0x1ff818:0x133},_0x475944={
    _0x4c0494:0x1ef,_0x37d1f0:0x4a},_0x2e33c3=collection59_key.decode(_0x1b57a3);
  setVersion(_0x21b01e);
  const _0xbcc578={
    'start':0x0,'end':_0x31c940.byteLength,'buffer':_0x31c940},_0x4e25f6=collection59_enc.decode(_0xbcc578);
  _0x4e25f6.deviceKey=_0x2e33c3[--0x2122];
  return _0x4e25f6;
}
function collection59_reconstruct_key(_0x3c23a3){
  _0x115d42={
    _0x50d4a2:0x1a5,_0xc21d8a:0x15,_0x2150b2:0xda},_0x48f911=collection59_key.decode(_0x3c23a3);
  return{
    'deviceKey':_0x48f911[0x0]}
  ;
}
const collection59={
  'name':"@keet-private-id/unreads",'id':0x3b,'version':0x0,'encodeKey'(_0x3b62a4){
    _0x4b1012={
      _0x162f37:0x530,_0x3ace37:0x1f2}
    ;
    const _0x543b9b=[_0x3b62a4.deviceKey];
    return collection59_key.encode(_0x543b9b);
  },'encodeKeyRange'({gt:_0x392039,lt:_0x73b4bf,gte:_0x3de101,lte:_0x1168ee}={}){
  _0x1687e7={
    _0x3617c8:0x13d,_0x564095:0x63}
  ;
  return collection59_key.encodeRange({'gt':_0x392039?collection59_indexify(_0x392039):null,'lt':_0x73b4bf?collection59_indexify(_0x73b4bf):null,'gte':_0x3de101?collection59_indexify(_0x3de101):null,'lte':_0x1168ee?collection59_indexify(_0x1168ee):null});
},'encodeValue'(_0x520a07,_0x41fa12,_0x56defd){
_0xcfc086={
  _0x1f5215:0x4b},_0x4faaec={
  _0xbcc1db:0x45a,_0x5d64fd:0x182,_0x52b2e5:0x1af}
;
setVersion(_0x520a07);
const _0x1ac6c4={
  'start':0x0,'end':0x0,'buffer':null}
;
return collection59_enc.preencode(_0x1ac6c4,_0x56defd),_0x1ac6c4.buffer=b4a.allocUnsafe(_0x1ac6c4.end),collection59_enc.encode(_0x1ac6c4,_0x56defd),_0x1ac6c4.buffer;
},'trigger':null,'reconstruct':collection59_reconstruct,'reconstructKey':collection59_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection60_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.BUFFER,IndexEncoder.UINT],{'prefix':0x3c});
function collection60_indexify(_0x424577){
  _0x2261c1={
    _0x56b1df:0x1d1,_0x1fb180:0x612},_0x428615={
    _0x4076fc:0x1d3,_0x645955:0x104,_0x36b4e3:0x1e9},_0x3ef2d9=[],_0x58c5a7=_0x424577.id?..thread;
  if(_0x58c5a7===undefined)return _0x3ef2d9;
  _0x3ef2d9.push(_0x58c5a7);
  const _0x16b7e7=_0x424577.id?..index;
  if(_0x16b7e7===undefined)return _0x3ef2d9;
  _0x3ef2d9.push(_0x16b7e7);
  const _0x2a9382=_0x424577.sender;
  if(_0x2a9382===undefined)return _0x3ef2d9;
  _0x3ef2d9.push(_0x2a9382);
  const _0x48e500=_0x424577.label;
  if(_0x48e500===undefined)return _0x3ef2d9;
  _0x3ef2d9.push(_0x48e500);
  return _0x3ef2d9;
}
const collection60_enc=getEncoding("@keet/chat-label/hyperdb#60"),collection60_trigger=helpers0.chatLabelTrigger;
function collection60_reconstruct(_0x2a2109,_0x538854,_0x42b06d){
  _0x2d4b0f={
    _0x1dddb8:0x152,_0x2e345c:0x69},_0x555335={
    _0x2dd63e:0xdb},_0x1ed21e=collection60_key.decode(_0x538854);
  setVersion(_0x2a2109);
  const _0x4e5e74={
    'start':0x0,'end':_0x42b06d.byteLength,'buffer':_0x42b06d},_0x1a4021=collection60_enc.decode(_0x4e5e74);
  _0x1a4021.id.thread=_0x1ed21e[0x0],_0x1a4021.id.index=_0x1ed21e[0x1],_0x1a4021.sender=_0x1ed21e[0x2],_0x1a4021.label=_0x1ed21e[0x3];
  return _0x1a4021;
}
function collection60_reconstruct_key(_0x203705){
  _0x1404cc={
    _0x3b17ab:0x13f,_0x367501:0xb4,_0x34b5ae:0x7}
  ;
  const _0x156497=collection60_key.decode(_0x203705);
  return{
    'id':{
      'index':_0x156497[0x1]},'sender':_0x156497[0x2],'label':_0x156497[--0x3845]}
  ;
}
const collection60={
  'name':"@keet/chat-labels",'id':0x3c,'version':0x0,'encodeKey'(_0x3a415a){
    _0x5cb0fc={
      _0x55adaf:0x1a1,_0x169190:0x130},_0x3415bf={
      _0x2026a1:0x684,_0x507662:0x1a6},_0x713362=[_0x3a415a.id.thread,_0x3a415a.id.index,_0x3a415a.sender,_0x3a415a.label];
    return collection60_key.encode(_0x713362);
  },'encodeKeyRange'({gt:_0xa52340,lt:_0x3e39cc,gte:_0x437304,lte:_0x17e8ae}={}){
  _0x2d53ca={
    _0x311882:0x130}
  ;
  return collection60_key.encodeRange({'gt':_0xa52340?collection60_indexify(_0xa52340):null,'lt':_0x3e39cc?collection60_indexify(_0x3e39cc):null,'gte':_0x437304?collection60_indexify(_0x437304):null,'lte':_0x17e8ae?collection60_indexify(_0x17e8ae):null});
},'encodeValue'(_0x4a39fb,_0x32df7d,_0x17982d){
_0xca38f1={
  _0x20117a:0x162,_0x5a5e4f:0x187},_0x340678={
  _0x57c6d1:0x66,_0x4dd2c2:0x1de,_0x5bf6fc:0x1d4}
;
setVersion(_0x4a39fb);
const _0x2cabe3={
  'start':0x0,'end':0x0,'buffer':null}
;
collection60_enc.preencode(_0x2cabe3,_0x17982d),_0x2cabe3.buffer=b4a.allocUnsafe(_0x2cabe3.end);
collection60_enc.encode(_0x2cabe3,_0x17982d);
return _0x2cabe3.buffer;
},'trigger':collection60_trigger,'reconstruct':collection60_reconstruct,'reconstructKey':collection60_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection61_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x3d});
function collection61_indexify(_0x412349){
  _0x26378f={
    _0x2e592d:0x41,_0x199169:0x168},_0x2d6c88={
    _0x36d134:0x4a6,_0x4150e2:0x19a,_0x5c835c:0x18e},_0x50f8f3=[],_0x1bb5b1=_0x412349.id?..thread;
  if(_0x1bb5b1===undefined)return _0x50f8f3;
  _0x50f8f3.push(_0x1bb5b1);
  const _0x2f69ed=_0x412349.id?..index;
  if(_0x2f69ed===undefined)return _0x50f8f3;
  _0x50f8f3.push(_0x2f69ed);
  return _0x50f8f3;
}
const collection61_enc=getEncoding("@keet/chat-label-digest/hyperdb#61");
function collection61_reconstruct(_0x5b13eb,_0x5d15fe,_0x45dd4c){
  _0x28b99a={
    _0x2180da:0x324,_0x5ca811:0x47,_0x5019ee:0x47},_0x3aa8c2={
    _0x4c71b8:0x1eb},_0xbb7b46=collection61_key.decode(_0x5d15fe);
  setVersion(_0x5b13eb);
  const _0x170ac3={
    'start':0x0,'end':_0x45dd4c.byteLength,'buffer':_0x45dd4c},_0x5f1d26=collection61_enc.decode(_0x170ac3);
  return _0x5f1d26.id.thread=_0xbb7b46[-0x23bc],_0x5f1d26.id.index=_0xbb7b46[-0x3a99],collection61.decodedVersion=_0x5f1d26.version,_0x5f1d26;
}
function collection61_reconstruct_key(_0x55cbba){
  const _0x11a4a8=collection61_key.decode(_0x55cbba);
  return{
    'id':{
      'index':_0x11a4a8[-0x6eb]}
  }
;
}
const collection61={
  'name':"@keet/chat-label-digests",'id':0x3d,'version':0x2,'encodeKey'(_0x3f6f22){
    _0x3b7deb={
      _0x5562e0:0x169,_0x3c1eb3:0x27,_0x5a7a26:0xac},_0x57322c=[_0x3f6f22.id.thread,_0x3f6f22.id.index];
    return collection61_key.encode(_0x57322c);
  },'encodeKeyRange'({gt:_0x472e09,lt:_0x472588,gte:_0x199268,lte:_0x465810}={}){
  _0x55266d={
    _0x48de33:0x9e,_0x55767e:0x184,_0x9dbbd2:0x5bd}
  ;
  return collection61_key.encodeRange({'gt':_0x472e09?collection61_indexify(_0x472e09):null,'lt':_0x472588?collection61_indexify(_0x472588):null,'gte':_0x199268?collection61_indexify(_0x199268):null,'lte':_0x465810?collection61_indexify(_0x465810):null});
},'encodeValue'(_0x51b7d3,_0x24afe9,_0x53d94b){
_0x4dd1f4={
  _0x78883f:0x626,_0x690754:0x26},_0x13a0e6={
  _0x156d0c:0x5b,_0xc9ef05:0xbb,_0x2836e3:0x127}
;
setVersion(_0x51b7d3);
const _0x35b484={
  'start':0x0,'end':0x0,'buffer':null}
;
_0x53d94b.version=_0x24afe9,collection61_enc.preencode(_0x35b484,_0x53d94b),_0x35b484.buffer=b4a.allocUnsafe(_0x35b484.end),collection61_enc.encode(_0x35b484,_0x53d94b);
return _0x35b484.buffer;
},'trigger':null,'reconstruct':collection61_reconstruct,'reconstructKey':collection61_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection62_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x3e});
function collection62_indexify(_0x1fe02d){
  _0x244bc8={
    _0x20d1c:0x16e,_0x40fa52:0x5b1},_0x508db7=_0x1fe02d.memberKey;
  return _0x508db7===undefined?[]:[_0x508db7];
}
const collection62_enc=getEncoding("@keet/read-length/hyperdb#62");
function collection62_reconstruct(_0x47eaba,_0x5f2521,_0x5dfe3e){
  _0x24fd2d={
    _0x49f2df:0x45a,_0x152382:0x1c5,_0x210b16:0x10e},_0x2a3589={
    _0x4fb19a:0x2c,_0x31091a:0xed,_0x32878e:0x177}
  ;
  const _0x4691cf=collection62_key.decode(_0x5f2521);
  setVersion(_0x47eaba);
  const _0x533e04={
    'start':0x0,'end':_0x5dfe3e.byteLength,'buffer':_0x5dfe3e},_0x5a657e=collection62_enc.decode(_0x533e04);
  return _0x5a657e.memberKey=_0x4691cf[-0xc34],_0x5a657e;
}
function collection62_reconstruct_key(_0x33599f){
  const _0xb92928=collection62_key.decode(_0x33599f);
  return{
    'memberKey':_0xb92928[0x0]}
  ;
}
const collection62={
  'name':"@keet/read-lengths",'id':0x3e,'version':0x0,'encodeKey'(_0x8442a){
    _0xf4afd1={
      _0x4b1466:0x32a,_0x584406:0x1f4},_0x23cc0f={
      _0x1db4dd:0x174,_0x40d25e:0x1f1}
    ;
    const _0x2dfbe6=[_0x8442a.memberKey];
    return collection62_key.encode(_0x2dfbe6);
  },'encodeKeyRange'({gt:_0x1e6516,lt:_0x3800c9,gte:_0xf41b7a,lte:_0x14857b}={}){
  _0x54acb8={
    _0x150718:0xe4,_0x294d75:0x114}
  ;
  return collection62_key.encodeRange({'gt':_0x1e6516?collection62_indexify(_0x1e6516):null,'lt':_0x3800c9?collection62_indexify(_0x3800c9):null,'gte':_0xf41b7a?collection62_indexify(_0xf41b7a):null,'lte':_0x14857b?collection62_indexify(_0x14857b):null});
},'encodeValue'(_0x3a9b1e,_0x45e78b,_0x3b6c38){
_0x31d54b={
  _0x126148:0x2c,_0x25496b:0xf7},_0xce8248={
  _0x3a4a6d:0x16c}
;
setVersion(_0x3a9b1e);
const _0x52d18d={
  'start':0x0,'end':0x0,'buffer':null}
;
collection62_enc.preencode(_0x52d18d,_0x3b6c38),_0x52d18d.buffer=b4a.allocUnsafe(_0x52d18d.end);
return collection62_enc.encode(_0x52d18d,_0x3b6c38),_0x52d18d.buffer;
},'trigger':null,'reconstruct':collection62_reconstruct,'reconstructKey':collection62_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection63_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x3f});
function collection63_indexify(_0x347787){
  const _0x528a01=_0x347787.key;
  return _0x528a01===undefined?[]:[_0x528a01];
}
const collection63_enc=getEncoding("@keet/tmp-removed-member/hyperdb#63");
function collection63_reconstruct(_0x602b25,_0x5044c2,_0xf5c800){
  _0x3bd05c={
    _0x96ec8e:0x1c,_0x29d224:0x0,_0x495161:0x637},_0x2fbed7={
    _0x2dd75e:0x44f,_0x12ea3f:0x176,_0x5d16ef:0x1d6},_0x336367=collection63_key.decode(_0x5044c2);
  setVersion(_0x602b25);
  const _0x47bc14={
    'start':0x0,'end':_0xf5c800.byteLength,'buffer':_0xf5c800}
  ;
  const _0xf7804a=collection63_enc.decode(_0x47bc14);
  return _0xf7804a.key=_0x336367[-0xff2],_0xf7804a;
}
function collection63_reconstruct_key(_0x1e7b1f){
  _0x37397d={
    _0x1f9b56:0x99,_0x86460:0x72}
  ;
  const _0x173bd2=collection63_key.decode(_0x1e7b1f);
  return{
    'key':_0x173bd2[-0x3f2a]}
  ;
}
const collection63={
  'name':"@keet/tmp-removed-members",'id':0x3f,'version':0x0,'encodeKey'(_0x2785b4){
    _0xb9a896={
      _0x4e3880:0x131}
    ;
    const _0x2b35b4=[_0x2785b4.key];
    return collection63_key.encode(_0x2b35b4);
  },'encodeKeyRange'({gt:_0xbcc7ff,lt:_0x5daa2c,gte:_0x42a7f0,lte:_0x163668}={}){
  _0x229753={
    _0x45d82d:0x145,_0x5f0a26:0x5b}
  ;
  return collection63_key.encodeRange({'gt':_0xbcc7ff?collection63_indexify(_0xbcc7ff):null,'lt':_0x5daa2c?collection63_indexify(_0x5daa2c):null,'gte':_0x42a7f0?collection63_indexify(_0x42a7f0):null,'lte':_0x163668?collection63_indexify(_0x163668):null});
},'encodeValue'(_0x4065c7,_0x5d466d,_0x4d58cc){
_0x453399={
  _0xdbe971:0x3d,_0x1a01ed:0x3d9},_0xdac597={
  _0x4144a2:0x149,_0x36a495:0x19a,_0x3231b2:0x273}
;
setVersion(_0x4065c7);
const _0x18efbb={
  'start':0x0,'end':0x0,'buffer':null}
;
collection63_enc.preencode(_0x18efbb,_0x4d58cc),_0x18efbb.buffer=b4a.allocUnsafe(_0x18efbb.end),collection63_enc.encode(_0x18efbb,_0x4d58cc);
return _0x18efbb.buffer;
},'trigger':null,'reconstruct':collection63_reconstruct,'reconstructKey':collection63_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection64_key=new IndexEncoder([],{'prefix':0x40});
function collection64_indexify(_0x2eb790){
  return[];
}
const collection64_enc=getEncoding("@keet-private-id/settings");
function collection64_reconstruct(_0x293a88,_0x57266f,_0x394c4f){
  _0x5d656b={
    _0xeaa65e:0x4f9,_0x369652:0x108,_0x1a6bb2:0xa7},_0x20311f={
    _0x3ca140:0x3f,_0x554189:0x6e,_0x1cba40:0x4a2}
  ;
  setVersion(_0x293a88);
  const _0x53d06e={
    'start':0x0,'end':_0x394c4f.byteLength,'buffer':_0x394c4f},_0x280f1b=collection64_enc.decode(_0x53d06e);
  return _0x280f1b;
}
function collection64_reconstruct_key(_0x80fae1){
  return{
  }
;
}
const collection64={
  'name':"@keet-private-id/settings",'id':0x40,'version':0x0,'encodeKey'(_0x2cdaa6){
    const _0x361fd8=[];
    return collection64_key.encode(_0x361fd8);
  },'encodeKeyRange'({gt:_0x263064,lt:_0x2dc2c4,gte:_0x29072e,lte:_0x5a1a1b}={}){
  _0x41b825={
    _0x1f56cf:0x19b,_0x26ac95:0x519}
  ;
  return collection64_key.encodeRange({'gt':_0x263064?collection64_indexify(_0x263064):null,'lt':_0x2dc2c4?collection64_indexify(_0x2dc2c4):null,'gte':_0x29072e?collection64_indexify(_0x29072e):null,'lte':_0x5a1a1b?collection64_indexify(_0x5a1a1b):null});
},'encodeValue'(_0x1e8915,_0x1c20ee,_0x220074){
_0x5d1674={
  _0xed271:0x2c2},_0xbdb718={
  _0xd9d78c:0x497,_0x5e7dd6:0x15f,_0x3e4efe:0x41}
;
setVersion(_0x1e8915);
const _0x4a8ea9={
  'start':0x0,'end':0x0,'buffer':null}
;
collection64_enc.preencode(_0x4a8ea9,_0x220074),_0x4a8ea9.buffer=b4a.allocUnsafe(_0x4a8ea9.end);
return collection64_enc.encode(_0x4a8ea9,_0x220074),_0x4a8ea9.buffer;
},'trigger':null,'reconstruct':collection64_reconstruct,'reconstructKey':collection64_reconstruct_key,'indexes':[],'decodedVersion':0x0},index65_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.UINT],{'prefix':0x41}),index65_map=helpers0.chatLabelDigestFlagMap;
function index65_indexify(_0x34a238){
  _0x4003a8={
    _0x4e6fc2:0x59,_0x5a4456:0x29},_0x27e9de={
    _0x2bf5bf:0x1d1,_0x878daa:0xbb,_0x59a435:0x58d},_0x534646=[],_0x175b4a=_0x34a238.label;
  if(_0x175b4a===undefined)return _0x534646;
  _0x534646.push(_0x175b4a);
  const _0x5c76fc=_0x34a238.clock;
  if(_0x5c76fc===undefined)return _0x534646;
  return _0x534646.push(_0x5c76fc),_0x534646;
}
const index65={
  'name':"@keet/chat-label-digests-by-clock",'version':0x2,'id':0x41,'encodeKey'(_0x5c6042){
    _0x20a1ae={
      _0x1f3950:0x157,_0x5d1c97:0x7a}
    ;
    return index65_key.encode(index65_indexify(_0x5c6042));
  },'encodeKeyRange'({gt:_0x379020,lt:_0x1ad0f2,gte:_0x272b7f,lte:_0x4bdc30}={}){
  _0xcf0a1e={
    _0x10d857:0x179,_0x18a4e4:0x104}
  ;
  return index65_key.encodeRange({'gt':_0x379020?index65_indexify(_0x379020):null,'lt':_0x1ad0f2?index65_indexify(_0x1ad0f2):null,'gte':_0x272b7f?index65_indexify(_0x272b7f):null,'lte':_0x4bdc30?index65_indexify(_0x4bdc30):null});
},'encodeValue':_0x27bd52=>index65.collection.encodeKey(_0x27bd52),'encodeIndexKeys'(_0x5c298a,_0x36a7f9){
_0x28c610={
  _0x3fc566:0xae,_0x1038a5:0x29,_0x46cd8f:0x90},_0x5ab959={
  _0x2c970a:0x2db,_0x13ee60:0xa4}
;
const _0x52d7bd=index65_map(_0x5c298a,_0x36a7f9),_0x181c84=new Array(_0x52d7bd.length);
for(let _0x444f21=0x0;_0x444f21<_0x52d7bd.length;_0x444f21++){
  const _0x22b1d1=_0x52d7bd[_0x444f21];
  _0x181c84[_0x444f21]=index65_key.encode([_0x22b1d1.label,_0x22b1d1.clock,_0x5c298a.id.thread,_0x5c298a.id.index]);
}
return _0x181c84;
},'reconstruct':(_0x4c41e4,_0x339dc0)=>_0x339dc0,'offset':collection61.indexes.length,'collection':collection61}
;
collection61.indexes.push(index65);
const collection66_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER,IndexEncoder.UINT],{'prefix':0x42});
function collection66_indexify(_0x335760){
  _0xfc7159={
    _0x838456:0x66,_0x2b75f5:0x4ad},_0x2c7c12={
    _0x4afd85:0x12b,_0x5cc750:0xd5,_0x26db3b:0x20f}
  ;
  const _0x3c8d32=[],_0x16ea84=_0x335760.key;
  if(_0x16ea84===undefined)return _0x3c8d32;
  _0x3c8d32.push(_0x16ea84);
  const _0x30d92a=_0x335760.sender;
  if(_0x30d92a===undefined)return _0x3c8d32;
  _0x3c8d32.push(_0x30d92a);
  const _0x3c55fb=_0x335760.label;
  if(_0x3c55fb===undefined)return _0x3c8d32;
  return _0x3c8d32.push(_0x3c55fb),_0x3c8d32;
}
const collection66_enc=getEncoding("@keet/member-label/hyperdb#66");
function collection66_reconstruct(_0x5c56ba,_0x359449,_0x142665){
  _0x59771e={
    _0x1967c8:0x1c9,_0x1d93ce:0x1f3,_0x1e250d:0x370},_0xb75b04={
    _0xa8b7fc:0x146,_0x57fbe7:0x15d,_0x211cc0:0x1c9},_0x49dce4=collection66_key.decode(_0x359449);
  setVersion(_0x5c56ba);
  const _0xca2930={
    'start':0x0,'end':_0x142665.byteLength,'buffer':_0x142665}
  ;
  const _0x104a30=c.uint.decode(_0xca2930);
  if(_0x104a30!==0x0)throw new Error("Unknown collection type: "+_0x104a30);
  collection66.decodedVersion=c.uint.decode(_0xca2930);
  const _0x30d38b=collection66_enc.decode(_0xca2930);
  return _0x30d38b.key=_0x49dce4[-0x44a],_0x30d38b.sender=_0x49dce4[0x1],_0x30d38b.label=_0x49dce4[-0x95c],_0x30d38b;
}
function collection66_reconstruct_key(_0x93db1a){
  _0x20ec3d={
    _0xff3521:0xa2,_0x2a3141:0x1e2,_0x46df5d:0x2a},_0x27e608=collection66_key.decode(_0x93db1a);
  return{
    'key':_0x27e608[-0x36c6],'sender':_0x27e608[0x1],'label':_0x27e608[-0x1e4e]}
  ;
}
const collection66={
  'name':"@keet/member-labels",'id':0x42,'version':0x3,'encodeKey'(_0x5097b2){
    _0x1fd037={
      _0x58f8a3:0x90,_0x5d8682:0x18f,_0x41d05b:0x2a},_0x2904fe={
      _0x39f131:0xa4,_0x112271:0x166,_0xe9f7fb:0x2d}
    ;
    const _0x4336ee=[_0x5097b2.key,_0x5097b2.sender,_0x5097b2.label];
    return collection66_key.encode(_0x4336ee);
  },'encodeKeyRange'({gt:_0x311953,lt:_0x2e0742,gte:_0x504a53,lte:_0x451bac}={}){
  return collection66_key.encodeRange({'gt':_0x311953?collection66_indexify(_0x311953):null,'lt':_0x2e0742?collection66_indexify(_0x2e0742):null,'gte':_0x504a53?collection66_indexify(_0x504a53):null,'lte':_0x451bac?collection66_indexify(_0x451bac):null});
},'encodeValue'(_0x530b9c,_0x39efb8,_0x471af0){
_0x2af52b={
  _0x3b86aa:0xc7},_0x533897={
  _0x1fe96e:0xdc,_0x55af20:0x104,_0x2f1609:0x7c}
;
setVersion(_0x530b9c);
const _0x2e58a6={
  'start':0x0,'end':0x2,'buffer':null}
;
return collection66_enc.preencode(_0x2e58a6,_0x471af0),_0x2e58a6.buffer=b4a.allocUnsafe(_0x2e58a6.end),_0x2e58a6.buffer[_0x2e58a6.start++]=-0x4126,_0x2e58a6.buffer[_0x2e58a6.start++]=_0x39efb8,collection66_enc.encode(_0x2e58a6,_0x471af0),_0x2e58a6.buffer;
},'trigger':null,'reconstruct':collection66_reconstruct,'reconstructKey':collection66_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection67_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x43});
function collection67_indexify(_0x1d1f4d){
  _0x438bbb={
    _0x1f54c3:0x57f,_0x3b3aea:0x9b,_0x5178fa:0x3b},_0xe22c85=_0x1d1f4d.key;
  return _0xe22c85===undefined?[]:[_0xe22c85];
}
const collection67_enc=getEncoding("@keet/member-label-digest/hyperdb#67");
function collection67_reconstruct(_0xd1aa42,_0x3d802c,_0x3d23de){
  _0x128909={
    _0x4c0793:0xe9,_0x1f6f8c:0xe5},_0x1fed85={
    _0x36dc21:0x595,_0x4ec241:0x125},_0x529d41=collection67_key.decode(_0x3d802c);
  setVersion(_0xd1aa42);
  const _0x270cff={
    'start':0x0,'end':_0x3d23de.byteLength,'buffer':_0x3d23de},_0xa7841f=c.uint.decode(_0x270cff);
  if(_0xa7841f!==0x0)throw new Error("Unknown collection\x20type: "+_0xa7841f);
  collection67.decodedVersion=c.uint.decode(_0x270cff);
  const _0x174df1=collection67_enc.decode(_0x270cff);
  return _0x174df1.key=_0x529d41[-0x88e],_0x174df1;
}
function collection67_reconstruct_key(_0x490ece){
  _0x45d90c={
    _0x5820bf:0x32}
  ;
  const _0x1400b0=collection67_key.decode(_0x490ece);
  return{
    'key':_0x1400b0[-0x1708]}
  ;
}
const collection67={
  'name':"@keet/member-label-digests",'id':0x43,'version':0x3,'encodeKey'(_0x34146d){
    _0x5aa4d2={
      _0x6e52:0x452,_0x1b71a4:0x125},_0xb069f5={
      _0x5adc82:0x2d}
    ;
    const _0xadf8dc=[_0x34146d.key];
    return collection67_key.encode(_0xadf8dc);
  },'encodeKeyRange'({gt:_0x215194,lt:_0x35e295,gte:_0x453001,lte:_0x213d5c}={}){
  _0x4095ca={
    _0x45533d:0xf7,_0x2ea5ac:0x1bc,_0x8faac4:0xf4}
  ;
  return collection67_key.encodeRange({'gt':_0x215194?collection67_indexify(_0x215194):null,'lt':_0x35e295?collection67_indexify(_0x35e295):null,'gte':_0x453001?collection67_indexify(_0x453001):null,'lte':_0x213d5c?collection67_indexify(_0x213d5c):null});
},'encodeValue'(_0x586f6d,_0x200b93,_0x12903f){
_0x288129={
  _0x14d9ad:0x1f0,_0x5de3bd:0xac,_0x3f360d:0x610},_0x4eece8={
  _0x8d809b:0x76,_0x250d5d:0x15}
;
setVersion(_0x586f6d);
const _0x4f7b39={
  'start':0x0,'end':0x2,'buffer':null}
;
collection67_enc.preencode(_0x4f7b39,_0x12903f);
_0x4f7b39.buffer=b4a.allocUnsafe(_0x4f7b39.end),_0x4f7b39.buffer[_0x4f7b39.start++]=--0x12b4;
return _0x4f7b39.buffer[_0x4f7b39.start++]=_0x200b93,collection67_enc.encode(_0x4f7b39,_0x12903f),_0x4f7b39.buffer;
},'trigger':null,'reconstruct':collection67_reconstruct,'reconstructKey':collection67_reconstruct_key,'indexes':[],'decodedVersion':0x0},index68_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x44}),index68_map=helpers0.memberLabelDigestFlagMap;
function index68_indexify(_0x251dd9){
  _0xf57ab4={
    _0x210780:0x3b,_0x98cb4c:0x7e,_0x46b3d4:0x5c},_0x56f46f={
    _0xbaaec6:0x6,_0x13e91c:0x621},_0x26cd5d=[],_0x166b53=_0x251dd9.label;
  if(_0x166b53===undefined)return _0x26cd5d;
  _0x26cd5d.push(_0x166b53);
  const _0x555ed5=_0x251dd9.clock;
  if(_0x555ed5===undefined)return _0x26cd5d;
  return _0x26cd5d.push(_0x555ed5),_0x26cd5d;
}
const index68={
  'name':"@keet/member-label-digests-by-clock",'version':0x3,'id':0x44,'encodeKey'(_0x323579){
    return index68_key.encode(index68_indexify(_0x323579));
  },'encodeKeyRange'({gt:_0x13b918,lt:_0x508781,gte:_0x28fac9,lte:_0x1001c7}={}){
  _0x3c30af={
    _0x40bd9b:0x68a,_0x1c4817:0x38}
  ;
  return index68_key.encodeRange({'gt':_0x13b918?index68_indexify(_0x13b918):null,'lt':_0x508781?index68_indexify(_0x508781):null,'gte':_0x28fac9?index68_indexify(_0x28fac9):null,'lte':_0x1001c7?index68_indexify(_0x1001c7):null});
},'encodeValue':_0x2d2f57=>index68.collection.encodeKey(_0x2d2f57),'encodeIndexKeys'(_0x932c27,_0x6921fb){
_0xe20e74={
  _0x118c9e:0x123,_0x1f41ba:0x1c6,_0x3d92fe:0x206},_0x1133b1={
  _0x42b556:0x37,_0x212419:0x1db}
;
const _0x3dacdd=index68_map(_0x932c27,_0x6921fb),_0x20b1b1=new Array(_0x3dacdd.length);
for(let _0x17e15b=-0x27d8;_0x17e15b<_0x3dacdd.length;_0x17e15b++){
  const _0x504d2a=_0x3dacdd[_0x17e15b];
  _0x20b1b1[_0x17e15b]=index68_key.encode([_0x504d2a.label,_0x504d2a.clock,_0x932c27.key]);
}
return _0x20b1b1;
},'reconstruct':(_0x5b588d,_0x92efe)=>_0x92efe,'offset':collection67.indexes.length,'collection':collection67}
;
collection67.indexes.push(index68);
const collections=[collection0,collection1,collection2,collection3,collection4,collection5,collection10,collection11,collection17,collection18,collection19,collection21,collection25,collection26,collection28,collection32,collection33,collection34,collection35,collection36,collection38,collection40,collection46,collection50,collection51,collection59,collection60,collection61,collection62,collection63,collection64,collection66,collection67],indexes=[index6,index7,index8,index9,index12,index13,index14,index15,index16,index20,index22,index23,index24,index27,index29,index37,index39,index41,index42,index43,index44,index45,index47,index48,index49,index52,index53,index54,index55,index56,index57,index58,index65,index68];
module.exports={
  'versions':versions,'collections':collections,'indexes':indexes,'resolveCollection':resolveCollection,'resolveIndex':resolveIndex}
;
function resolveCollection(_0x3dfcae){
  _0x178691={
    _0x41a79a:0x135,_0x103588:0x196},_0x533d50={
    _0x1b78bb:0x13,_0x16b809:0xd5,_0x252a9c:0x11d}
  ;
  switch(_0x3dfcae){
    case "@keet/system-digest":return collection0;
    case "@keet/blind-peers":return collection1;
    case "@keet/room-config":return collection2;
    case "@keet/room-capabilities":return collection3;
    case "@keet/join-requests":return collection4;
    case"@keet/devices":return collection5;
    case "@keet/member-proofs":return collection10;
    case"@keet/members":return collection11;
    case"@keet/member-activity":return collection17;
    case "@keet/invitations":return collection18;
    case "@keet/threads":return collection19;
    case "@keet/chat":return collection21;
    case "@keet/reaction-digests":return collection25;
    case "@keet/reactions":return collection26;
    case "@keet/files":return collection28;
    case "@keet-private-id/identity":return collection32;
    case"@keet-private-id/stats":return collection33;
    case"@keet-private-id/counters":return collection34;
    case "@keet-private-id/pending-invitations":return collection35;
    case "@keet-private-id/rooms":return collection36;
    case "@keet-private-id/contacts":return collection38;
    case "@keet-private-id/contact-requests":return collection40;
    case "@keet/test-collection-1":return collection46;
    case"@keet-private-id/device-identities":return collection50;
    case "@keet-private-id/contact-requests-v2":return collection51;
    case "@keet-private-id/unreads":return collection59;
    case "@keet/chat-labels":return collection60;
    case "@keet/chat-label-digests":return collection61;
    case"@keet/read-lengths":return collection62;
    case "@keet/tmp-removed-members":return collection63;
    case "@keet-private-id/settings":return collection64;
    case "@keet/member-labels":return collection66;
    case "@keet/member-label-digests":return collection67;
    default:return null;
  }
}
function resolveIndex(_0x2c9083){
  _0x3c3c24={
    _0x417527:0x10b,_0x12224c:0x67},_0x5c1a75={
    _0x10049b:0x16f,_0x12fd6d:0x17e,_0x56dbc3:0x339}
  ;
  switch(_0x2c9083){
    case "@keet/devices-by-member-key":return index6;
    case "@keet/devices-by-swarm-key":return index7;
    case "@keet/active-devices-by-member-key":return index8;
    case "@keet/active-devices":return index9;
    case "@keet/moderators":return index12;
    case "@keet/admins":return index13;
    case "@keet/active-members":return index14;
    case "@keet/muted-members":return index15;
    case "@keet/members-by-member-name":return index16;
    case "@keet/threads-by-parent":return index20;
    case "@keet/chat-by-message-id":return index22;
    case "@keet/chat-mentions-by-member-id":return index23;
    case "@keet/pinned-chat-messages":return index24;
    case "@keet/reactions-by-clock":return index27;
    case "@keet/files-by-message-id":return index29;
    case "@keet/files-by-type":return index30;
    case "@keet/deleted-files":return index31;
    case "@keet-private-id/rooms-by-clock":return index37;
    case "@keet-private-id/contacts-by-clock":return index39;
    case"@keet-private-id/contact-requests-by-clock":return index41;
    case "@keet-private-id/pending-contact-requests":return index42;
    case "@keet-private-id/accepted-contact-requests":return index43;
    case"@keet-private-id/rejected-contact-requests":return index44;
    case "@keet-private-id/discarded-contact-requests":return index45;
    case "@keet/files-by-major-type":return index47;
    case "@keet/active-files":return index48;
    case"@keet-private-id/rooms-by-contact":return index49;
    case"@keet-private-id/contact-requests-by-member":return index52;
    case"@keet-private-id/contact-requests-by-clock-v2":return index53;
    case "@keet-private-id/pending-contact-requests-v2":return index54;
    case "@keet-private-id/pending-contact-requests-by-member":return index55;
    case"@keet-private-id/accepted-contact-requests-v2":return index56;
    case "@keet-private-id/rejected-contact-requests-v2":return index57;
    case"@keet-private-id/discarded-contact-requests-v2":return index58;
    case "@keet/chat-label-digests-by-clock":return index65;
    case "@keet/member-label-digests-by-clock":return index68;
    default:return null;
  }
}