@dqcai/sqlite 3.2.3 → 3.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +14 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +7 -7
- package/lib/index.mjs.map +1 -1
- package/package.json +14 -14
package/lib/index.js
CHANGED
|
@@ -1 +1,14 @@
|
|
|
1
|
-
'use strict';const _0x441e35=_0x47f7;(function(_0x33cb96,_0x326b8c){const _0x31c73e={_0xf6b93e:0x7c4,_0x57ebaa:0x896,_0x356ef1:0x729,_0x3c74c6:0x255},_0x34f8f9=_0x47f7,_0x5bee96=_0x33cb96();while(!![]){try{const _0x1d6697=parseInt(_0x34f8f9(0x694))/(0x2464+0xb66*-0x1+0x18fd*-0x1)+-parseInt(_0x34f8f9(0x9e1))/(0xb9b*0x3+-0x166d+0x5*-0x27a)*(-parseInt(_0x34f8f9(0xbbc))/(0x1*-0x221b+0x1468+0xdb6))+parseInt(_0x34f8f9(_0x31c73e._0xf6b93e))/(-0x55*0x11+0x57+0x552)+-parseInt(_0x34f8f9(0x48f))/(0xd13+0x1bef*0x1+-0x5db*0x7)*(-parseInt(_0x34f8f9(_0x31c73e._0x57ebaa))/(0x1510+0x1*0x1d3b+0x1*-0x3245))+-parseInt(_0x34f8f9(0xb22))/(-0x38b*0xa+0xdc7+-0x5*-0x456)*(parseInt(_0x34f8f9(_0x31c73e._0x356ef1))/(-0xb5d+0x1e6c+-0x1307))+-parseInt(_0x34f8f9(_0x31c73e._0x3c74c6))/(0x1118+-0x4*0x18a+-0x1*0xae7)+-parseInt(_0x34f8f9(0xbef))/(0x1ddb+-0x1b66+-0x1*0x26b);if(_0x1d6697===_0x326b8c)break;else _0x5bee96['push'](_0x5bee96['shift']());}catch(_0x936cae){_0x5bee96['push'](_0x5bee96['shift']());}}}(_0x4278,-0x5327+0x199*-0x21b+0x565bd));var Q=Object[_0x441e35(0xbf5)+'e'],U=Object[_0x441e35(0x9b2)+'eProp'+'erty'],G=Object[_0x441e35(0x2cc)+_0x441e35(0x5f8)+'ertyD'+'escri'+_0x441e35(0x58d)],W=Object['getOw'+_0x441e35(0x5f8)+'ertyN'+_0x441e35(0x48d)],H=Object[_0x441e35(0x49b)+_0x441e35(0x27b)+'peOf'],X=Object[_0x441e35(0x315)+_0x441e35(0x886)][_0x441e35(0x8d9)+_0x441e35(0x5f8)+_0x441e35(0x3a6)],J=(_0x3b63b1,_0x4a6941,_0x1f11bf,_0x2b3428)=>{const _0x40a4e7={_0x2f4941:0x9fd,_0x1da711:0xa50,_0x21b031:0x5dc,_0x2fef59:0x22f,_0x4576fa:0x28d,_0x264699:0x311,_0x4a0612:0xc3f},_0x56eca1=_0x441e35,_0x169503={'SAQGX':_0x56eca1(_0x40a4e7._0x2f4941)+_0x56eca1(_0x40a4e7._0x1da711),'tJUAG':function(_0x4aaa74,_0x2ab3b3){return _0x4aaa74(_0x2ab3b3);},'iDAhw':function(_0x330c31,_0x54762f,_0x51be02,_0x48a2bf){return _0x330c31(_0x54762f,_0x51be02,_0x48a2bf);},'rkAJS':function(_0x1b3953,_0x27e3eb,_0x58108c){return _0x1b3953(_0x27e3eb,_0x58108c);}};if(_0x4a6941&&typeof _0x4a6941==_0x56eca1(_0x40a4e7._0x21b031)+'t'||typeof _0x4a6941==_0x169503['SAQGX']){for(let _0x39e61d of _0x169503[_0x56eca1(_0x40a4e7._0x2fef59)](W,_0x4a6941))!X[_0x56eca1(_0x40a4e7._0x4576fa)](_0x3b63b1,_0x39e61d)&&_0x39e61d!==_0x1f11bf&&_0x169503[_0x56eca1(0x6f4)](U,_0x3b63b1,_0x39e61d,{'get':()=>_0x4a6941[_0x39e61d],'enumerable':!(_0x2b3428=_0x169503[_0x56eca1(_0x40a4e7._0x264699)](G,_0x4a6941,_0x39e61d))||_0x2b3428[_0x56eca1(_0x40a4e7._0x4a0612)+_0x56eca1(0x685)]});}return _0x3b63b1;},j=(_0x44092f,_0x572674,_0x485b8c)=>(_0x485b8c=_0x44092f!=null?Q(H(_0x44092f)):{},J(_0x572674||!_0x44092f||!_0x44092f['__esM'+_0x441e35(0xa5e)]?U(_0x485b8c,_0x441e35(0x222)+'lt',{'value':_0x44092f,'enumerable':!(-0x35f*-0x7+-0x134+-0x15*0x111)}):_0x485b8c,_0x44092f));function _0x47f7(_0x3fe4c5,_0xabfae3){const _0x36f0f7=_0x4278();return _0x47f7=function(_0x4b594a,_0x1ab403){_0x4b594a=_0x4b594a-(-0x1d64+-0x118d*0x1+0x78*0x68);let _0x53db23=_0x36f0f7[_0x4b594a];if(_0x47f7['cwLlnQ']===undefined){var _0x35f547=function(_0x40cde7){const _0x1bc21a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36bd9a='',_0x4128ed='',_0x5bb4d4=_0x36bd9a+_0x35f547;for(let _0x179ffb=0x1*0x5f9+-0x53*-0x41+0x4*-0x6c3,_0x1d9b26,_0x46de27,_0x473859=0x157a+0x26*-0x9c+-0x1*-0x1ae;_0x46de27=_0x40cde7['charAt'](_0x473859++);~_0x46de27&&(_0x1d9b26=_0x179ffb%(-0x216a*-0x1+0x1*-0x1c78+-0x4ee)?_0x1d9b26*(0x125b+0x20d0+-0x32eb)+_0x46de27:_0x46de27,_0x179ffb++%(0x1651+-0x3*0x93f+0x570))?_0x36bd9a+=_0x5bb4d4['charCodeAt'](_0x473859+(0x14c5+-0x49*-0x50+-0x2b8b))-(0x1075+0x1c80+-0x2ceb)!==-0xe04+-0x145f+0x2263?String['fromCharCode'](-0x25b8+-0x2*0x1273+0x4b9d&_0x1d9b26>>(-(0x17*0x8d+-0x96c+-0x1*0x33d)*_0x179ffb&-0x2e1*-0xd+-0x1fa5*0x1+0x43*-0x16)):_0x179ffb:0x857+-0x249f+0x1c48){_0x46de27=_0x1bc21a['indexOf'](_0x46de27);}for(let _0x220894=0x1342+0x3*0x747+-0x2917*0x1,_0x70511e=_0x36bd9a['length'];_0x220894<_0x70511e;_0x220894++){_0x4128ed+='%'+('00'+_0x36bd9a['charCodeAt'](_0x220894)['toString'](-0x7d*0x5+-0x3*-0x945+-0xca7*0x2))['slice'](-(-0x1*-0x16b4+0x23a4+-0x3a56));}return decodeURIComponent(_0x4128ed);};_0x47f7['waUFLr']=_0x35f547,_0x3fe4c5=arguments,_0x47f7['cwLlnQ']=!![];}const _0x5bcc84=_0x36f0f7[-0x277+0x35*0x67+-0x22*0x8e],_0x4e6b75=_0x4b594a+_0x5bcc84,_0x873863=_0x3fe4c5[_0x4e6b75];if(!_0x873863){const _0x4b78d6=function(_0x4f92bc){this['ybklTX']=_0x4f92bc,this['MEdrOf']=[0x1*0xdc7+-0x1f74+0x11ae,0xd43+-0x1*0x189a+0xb57,-0xe5e*-0x2+-0x32*-0x37+-0xa3*0x3e],this['KvVHpx']=function(){return'newState';},this['eobagO']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ccMEPz']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4b78d6['prototype']['HzCqAC']=function(){const _0x1ab0c0=new RegExp(this['eobagO']+this['ccMEPz']),_0x5655b9=_0x1ab0c0['test'](this['KvVHpx']['toString']())?--this['MEdrOf'][-0x962*-0x3+0x422+-0x2047]:--this['MEdrOf'][0x2*0x315+0x5*0x1bd+-0xedb];return this['IjYWBj'](_0x5655b9);},_0x4b78d6['prototype']['IjYWBj']=function(_0xba0cde){if(!Boolean(~_0xba0cde))return _0xba0cde;return this['shueha'](this['ybklTX']);},_0x4b78d6['prototype']['shueha']=function(_0x13a557){for(let _0x1cc651=0x2526+0x2e1*0x8+-0x3c2e,_0x206583=this['MEdrOf']['length'];_0x1cc651<_0x206583;_0x1cc651++){this['MEdrOf']['push'](Math['round'](Math['random']())),_0x206583=this['MEdrOf']['length'];}return _0x13a557(this['MEdrOf'][0xe6*0x29+0x1ceb+-0x41c1]);},new _0x4b78d6(_0x47f7)['HzCqAC'](),_0x53db23=_0x47f7['waUFLr'](_0x53db23),_0x3fe4c5[_0x4e6b75]=_0x53db23;}else _0x53db23=_0x873863;return _0x53db23;},_0x47f7(_0x3fe4c5,_0xabfae3);}const R=(..._0x4f5243)=>_0x4f5243[_0x441e35(0x269)](_0x63b623=>typeof _0x63b623==_0x441e35(0x5dc)+'t'?JSON[_0x441e35(0x950)+_0x441e35(0x7ae)](_0x63b623,null,0x1619*0x1+-0x964*0x1+0xcb3*-0x1):String(_0x63b623))[_0x441e35(0x231)]('\x20');class Y{constructor(_0x27ef08){const _0x14ff3b={_0x273030:0xaa2,_0x362059:0x3e7,_0x598507:0x9df,_0x833897:0x83f,_0x52f933:0x2f8},_0xba6e4=_0x441e35;this[_0xba6e4(0x7d1)+_0xba6e4(0xb55)]=new Map(),this[_0xba6e4(0x7d1)+'portF'+_0xba6e4(_0x14ff3b._0x273030)+'y']=null,this[_0xba6e4(_0x14ff3b._0x362059)+'g']=_0x27ef08,this[_0xba6e4(0x83f)+_0xba6e4(_0x14ff3b._0x598507)]=_0x27ef08[_0xba6e4(_0x14ff3b._0x833897)+_0xba6e4(_0x14ff3b._0x598507)]||this[_0xba6e4(_0x14ff3b._0x52f933)+_0xba6e4(0x2b4)+'ssion'+'Id']();}[_0x441e35(0x2f8)+_0x441e35(0x2b4)+_0x441e35(0x1f5)+'Id'](){const _0x535928={_0x2a4ccf:0x5df,_0x480e21:0x5cc,_0x1813b8:0x96d},_0xb95a6d=_0x441e35;return'sessi'+'on_'+Date[_0xb95a6d(_0x535928._0x2a4ccf)]()+'_'+Math[_0xb95a6d(0x300)+'m']()['toStr'+_0xb95a6d(_0x535928._0x480e21)](-0xf29+-0xa21*-0x3+-0xf16)[_0xb95a6d(_0x535928._0x1813b8)+'r'](0x558*-0x3+0x1*-0xbed+0x1bf7,0x1e*-0x1b+0x1215+-0xee2);}[_0x441e35(0x4f0)+_0x441e35(0x1f5)+'Id'](){const _0x2c28c2=_0x441e35;return this[_0x2c28c2(0x83f)+'onId'];}['renew'+_0x441e35(0x38d)+'on'](){const _0x24df07={_0xf00ed0:0x83f,_0xf89f7:0x9df,_0x2fec74:0x2f8,_0xab5eda:0x2b4},_0x17583d=_0x441e35;return this[_0x17583d(_0x24df07._0xf00ed0)+_0x17583d(_0x24df07._0xf89f7)]=this[_0x17583d(_0x24df07._0x2fec74)+_0x17583d(_0x24df07._0xab5eda)+_0x17583d(0x1f5)+'Id'](),this[_0x17583d(_0x24df07._0xf00ed0)+_0x17583d(0x9df)];}[_0x441e35(0x6d6)+_0x441e35(0x917)+_0x441e35(0x6d5)+_0x441e35(0xc70)](_0x55d606){const _0x2b2e0d=_0x441e35;this[_0x2b2e0d(0x7d1)+'portF'+'actor'+'y']=_0x55d606;}[_0x441e35(0xbbb)+_0x441e35(0x917)+'rt'](_0x5d4a77){const _0x17cbfc={_0x5e9883:0xcd1},_0x58e4f3=_0x441e35;this['trans'+_0x58e4f3(0xb55)][_0x58e4f3(_0x17cbfc._0x5e9883)](_0x5d4a77[_0x58e4f3(0x47c)],_0x5d4a77);}[_0x441e35(0x9ec)+_0x441e35(0x1ed)+_0x441e35(0xbe1)](_0x23f480){const _0x390361={_0x515739:0xb55},_0x14fac9=_0x441e35;return this[_0x14fac9(0x7d1)+_0x14fac9(_0x390361._0x515739)][_0x14fac9(0x7f1)+'e'](_0x23f480);}['getTr'+_0x441e35(0x917)+'rt'](_0x362867){const _0x2dc575={_0x489d0e:0x7d1,_0x2e1776:0xc0c},_0x543a9c=_0x441e35;return this[_0x543a9c(_0x2dc575._0x489d0e)+_0x543a9c(0xb55)][_0x543a9c(_0x2dc575._0x2e1776)](_0x362867);}[_0x441e35(0x490)+'ransp'+'orts'](){const _0x3e1a83={_0x494781:0xc98,_0x59d5f0:0xb55},_0x5a82f8=_0x441e35;return Array[_0x5a82f8(_0x3e1a83._0x494781)](this['trans'+_0x5a82f8(_0x3e1a83._0x59d5f0)][_0x5a82f8(0x54f)]());}['setMo'+'duleC'+'onfig'](_0x3cad74,_0x22294a){const _0x5e2f81=_0x441e35;this[_0x5e2f81(0x3e7)+'g'][_0x5e2f81(0x4a1)+'es'][_0x3cad74]=_0x22294a;}['getMo'+_0x441e35(0x64c)+_0x441e35(0x57f)](_0x4a7f50){const _0x1d3a5a={_0x539826:0x4a1},_0x39c740=_0x441e35;return this[_0x39c740(0x3e7)+'g'][_0x39c740(_0x1d3a5a._0x539826)+'es'][_0x4a7f50];}[_0x441e35(0x769)+_0x441e35(0x962)+_0x441e35(0x790)+'d'](_0x4ee5c0){const _0x5ef153={_0x5b28f1:0x946},_0x195805=_0x441e35;this[_0x195805(0x3e7)+'g'][_0x195805(_0x5ef153._0x5b28f1)+'ed']=_0x4ee5c0;}[_0x441e35(0x282)+_0x441e35(0x7ac)+'abled'](){const _0x254297={_0x5a78dc:0x3e7},_0x4cf388=_0x441e35;return this[_0x4cf388(_0x254297._0x5a78dc)+'g'][_0x4cf388(0x946)+'ed'];}['setDe'+_0x441e35(0x26e)+_0x441e35(0xbbf)](_0xb1bc49){const _0xd5a22=_0x441e35;this['confi'+'g'][_0xd5a22(0x222)+_0xd5a22(0xc15)+'el']=_0xb1bc49;}[_0x441e35(0x41d)+_0x441e35(0x797)](){const _0x4d82c1={_0x13ef89:0x3e7},_0x2ec657=_0x441e35;return JSON['parse'](JSON['strin'+_0x2ec657(0x7ae)](this[_0x2ec657(_0x4d82c1._0x13ef89)+'g']));}[_0x441e35(0x36d)+_0x441e35(0xca9)+'a'](_0x21e26e){const _0x1b94b0={_0x3b1bfa:0x3e7,_0x14f8a6:0x5ca,_0x87052:0x367},_0x4557e0=_0x441e35;this[_0x4557e0(_0x1b94b0._0x3b1bfa)+'g'][_0x4557e0(0x367)+_0x4557e0(0x473)]=Object[_0x4557e0(_0x1b94b0._0x14f8a6)+'n'](Object[_0x4557e0(0x5ca)+'n']({},this['confi'+'g'][_0x4557e0(_0x1b94b0._0x87052)+_0x4557e0(0x473)]),_0x21e26e);}[_0x441e35(0xafa)+_0x441e35(0xc50)](_0x1dc12a,_0xdeb1c2){const _0xfb83c4={_0x156a25:0x3e7,_0x1ae2dd:0x946,_0x1653be:0x5a5,_0x1efde0:0x937,_0x1e3897:0x3b8,_0x1e07a2:0xc15},_0xec1fd6=_0x441e35;if(!this[_0xec1fd6(0x3e7)+'g'][_0xec1fd6(0x946)+'ed'])return!(0x23*-0x2d+0x10d6*-0x2+0x27d4);const _0x4a57c5=this[_0xec1fd6(_0xfb83c4._0x156a25)+'g']['modul'+'es'][_0x1dc12a];return _0x4a57c5?_0x4a57c5[_0xec1fd6(_0xfb83c4._0x1ae2dd)+'ed']&&_0x4a57c5[_0xec1fd6(_0xfb83c4._0x1653be)+'s'][_0xec1fd6(_0xfb83c4._0x1efde0)+_0xec1fd6(0x2b3)](_0xdeb1c2):this[_0xec1fd6(_0xfb83c4._0x1e3897)+_0xec1fd6(0x3e4)+_0xec1fd6(0xb9e)](_0xdeb1c2,this['confi'+'g']['defau'+_0xec1fd6(_0xfb83c4._0x1e07a2)+'el']);}[_0x441e35(0x3b8)+_0x441e35(0x3e4)+_0x441e35(0xb9e)](_0x4eb684,_0x45db9d){const _0x3d408a={_0xa8509:0x64d,_0x523de8:0xc8c,_0x3fe448:0xc45,_0x571f16:0x850,_0xe43efe:0x4c2},_0x1112a3=_0x441e35,_0x11822a={'amiZY':_0x1112a3(_0x3d408a._0xa8509),'NSwNK':function(_0x45aa96,_0xb0b494){return _0x45aa96===_0xb0b494;}},_0xcadb86=['trace',_0x11822a[_0x1112a3(_0x3d408a._0x523de8)],'info',_0x1112a3(_0x3d408a._0x3fe448),_0x1112a3(_0x3d408a._0x571f16)],_0x4877df=_0xcadb86[_0x1112a3(0x59a)+'Of'](_0x4eb684),_0x100be8=_0xcadb86[_0x1112a3(0x59a)+'Of'](_0x45db9d);return _0x11822a[_0x1112a3(_0x3d408a._0xe43efe)](_0x4877df,-(-0x29*0x3d+-0x21f3+0x2bb9))||_0x100be8===-(-0x1*0x1d95+0x1*-0x1269+0x2fff*0x1)?!(-0x3b*-0x23+0x1*-0x263b+0x1*0x1e2b):_0x4877df>=_0x100be8;}[_0x441e35(0x6e3)+_0x441e35(0x917)+'rtsFo'+'rModu'+'le'](_0xaf625a){const _0x4ca9f0={_0x51eeed:0x4a1,_0x274ae4:0xb55,_0x4bd480:0x269},_0x1df58a=_0x441e35,_0x138bf6={'wjhwH':function(_0x45d48f,_0x106ee7){return _0x45d48f==_0x106ee7;}},_0x18e46b=this[_0x1df58a(0x3e7)+'g'][_0x1df58a(_0x4ca9f0._0x51eeed)+'es'][_0xaf625a];return((_0x138bf6[_0x1df58a(0x69c)](_0x18e46b,null)?void(0x15d*-0x3+0x15e+-0x11*-0x29):_0x18e46b[_0x1df58a(0x7d1)+_0x1df58a(_0x4ca9f0._0x274ae4)])||[_0x1df58a(0xad5)+'le'])[_0x1df58a(_0x4ca9f0._0x4bd480)](_0x42af8a=>this[_0x1df58a(0x7d1)+'ports'][_0x1df58a(0xc0c)](_0x42af8a))[_0x1df58a(0x2fe)+'r'](_0xa934e8=>_0xa934e8!==void(-0x65b+0x1160+-0xd9*0xd));}async[_0x441e35(0xbb1)+_0x441e35(0xc78)+_0x441e35(0xbe1)+'s'](_0x25a68c,_0x574e6e){const _0x273229={_0x1798bf:0x60f,_0x28fa4e:0x468,_0x4bc6c3:0xbc1,_0x1ca1a9:0x4b2},_0x322d60={_0x59e5da:0x7cf,_0x1707bc:0x850,_0x580b1a:0x47c,_0x3dd8d6:0x23b,_0x307074:0x62d,_0x468740:0x2e8,_0x374258:0x6d8},_0x258819=_0x441e35,_0x5a036f={'dwrCH':_0x258819(_0x273229._0x1798bf)+_0x258819(_0x273229._0x28fa4e)+'olumn'+'s\x20to\x20'+_0x258819(0x53e)+'t','tRezF':_0x258819(_0x273229._0x4bc6c3)+_0x258819(0xa54)+'ratio'+_0x258819(0x861)+'led'};if(_0x574e6e[_0x258819(_0x273229._0x1ca1a9)+'h']===0x1fc7+0xd0a+-0x2cd1)return;const _0x3c4b7d=_0x574e6e[_0x258819(0x269)](async _0x512482=>{const _0x37133e=_0x258819;try{await _0x512482[_0x37133e(_0x322d60._0x59e5da)](_0x25a68c);}catch(_0x85abbf){if('oPzyx'!=='FHDXg')console[_0x37133e(_0x322d60._0x1707bc)]('[Univ'+_0x37133e(0x597)+_0x37133e(0xbf8)+'r]\x20Tr'+'anspo'+_0x37133e(0xb5b)+_0x512482[_0x37133e(_0x322d60._0x580b1a)]+(_0x37133e(0x671)+_0x37133e(_0x322d60._0x3dd8d6)),_0x85abbf);else{const _0x1dd07e=new _0x404811(_0x5a036f[_0x37133e(_0x322d60._0x307074)]);throw _0x580900[_0x37133e(0x850)](_0x5a036f[_0x37133e(_0x322d60._0x468740)],{'tableName':_0x2bdca7[_0x37133e(_0x322d60._0x580b1a)],'error':_0x1dd07e[_0x37133e(_0x322d60._0x374258)+'ge']}),_0x1dd07e;}}});await Promise['allSe'+'ttled'](_0x3c4b7d);}async[_0x441e35(0x7cf)](_0x20fb63,_0x3d1cbc,_0xcb2981,_0x5bb28f){const _0x433583={_0x4c8e85:0xc50,_0x47ceeb:0x83f,_0x397ce4:0xbb1},_0x3cd7dd=_0x441e35;if(!this['shoul'+_0x3cd7dd(_0x433583._0x4c8e85)](_0x20fb63,_0x3d1cbc))return;const _0x274d04={'timestamp':new Date()[_0x3cd7dd(0x456)+_0x3cd7dd(0xc9c)+'g'](),'level':_0x3d1cbc,'module':_0x20fb63,'message':_0xcb2981,'data':_0x5bb28f,'metadata':this[_0x3cd7dd(0x3e7)+'g'][_0x3cd7dd(0x367)+_0x3cd7dd(0x473)],'sessionId':this[_0x3cd7dd(_0x433583._0x47ceeb)+_0x3cd7dd(0x9df)]},_0x2dea78=this[_0x3cd7dd(0x6e3)+_0x3cd7dd(0x917)+'rtsFo'+'rModu'+'le'](_0x20fb63);await this[_0x3cd7dd(_0x433583._0x397ce4)+'oTran'+_0x3cd7dd(0xbe1)+'s'](_0x274d04,_0x2dea78);}async[_0x441e35(0x2d7)](_0x4c6446,..._0x399e20){const _0x10ebf1=_0x441e35,_0x3d5cc3={'xuNGf':_0x10ebf1(0x2d7)},_0x55f7e0=R(..._0x399e20);await this['log'](_0x4c6446,_0x3d5cc3['xuNGf'],_0x55f7e0);}async[_0x441e35(0x64d)](_0x2b8cd1,..._0x3cbfc1){const _0x30da5f=_0x441e35,_0x137465={'yYZTR':function(_0x8f2701,..._0x16c1dc){return _0x8f2701(..._0x16c1dc);},'WNqaa':_0x30da5f(0x64d)},_0x46be8a=_0x137465[_0x30da5f(0x286)](R,..._0x3cbfc1);await this['log'](_0x2b8cd1,_0x137465[_0x30da5f(0x354)],_0x46be8a);}async[_0x441e35(0x5cb)](_0x590e51,..._0x41d45c){const _0x4f9b3f={_0x275a0b:0xa56},_0x5daee9=_0x441e35,_0x204075={'kwPnj':function(_0x55c8ef,..._0x48b845){return _0x55c8ef(..._0x48b845);}},_0x55d057=_0x204075[_0x5daee9(_0x4f9b3f._0x275a0b)](R,..._0x41d45c);await this[_0x5daee9(0x7cf)](_0x590e51,'info',_0x55d057);}async[_0x441e35(0xc45)](_0xc9533e,..._0x69ef72){const _0x4aaf1d={_0x38e1dc:0x7cf},_0x588933=_0x441e35,_0x35f529=R(..._0x69ef72);await this[_0x588933(_0x4aaf1d._0x38e1dc)](_0xc9533e,_0x588933(0xc45),_0x35f529);}async[_0x441e35(0x850)](_0x44d0a1,..._0x14f803){const _0x1abf82=_0x441e35,_0x4e1395={'deSiQ':function(_0x22260c,..._0x3f32d4){return _0x22260c(..._0x3f32d4);},'MLbJL':_0x1abf82(0x850)},_0x31747b=_0x4e1395[_0x1abf82(0x89b)](R,..._0x14f803);await this['log'](_0x44d0a1,_0x4e1395['MLbJL'],_0x31747b);}async[_0x441e35(0x1f4)](){const _0x27e62d={_0x3e8ea0:0xc98,_0x1b0681:0x7d1,_0x44420b:0xb55,_0x159dbb:0x269,_0x100ed9:0x6ec,_0x18a3fe:0x550},_0xe71f29=_0x441e35,_0x21256b=Array[_0xe71f29(_0x27e62d._0x3e8ea0)](this[_0xe71f29(_0x27e62d._0x1b0681)+_0xe71f29(_0x27e62d._0x44420b)]['value'+'s']())['filte'+'r'](_0xac2290=>typeof _0xac2290['flush']==_0xe71f29(0x9fd)+_0xe71f29(0xa50))[_0xe71f29(_0x27e62d._0x159dbb)](_0x2d0c54=>_0x2d0c54[_0xe71f29(0x1f4)]());await Promise[_0xe71f29(_0x27e62d._0x100ed9)+_0xe71f29(_0x27e62d._0x18a3fe)](_0x21256b);}async[_0x441e35(0x7d3)+'up'](){const _0x424e7c={_0x46e137:0xc98,_0x13787a:0x7d1,_0x3c2461:0xb55,_0x5cb9aa:0x6ec,_0x5db0fd:0x550},_0x2d32bd=_0x441e35,_0x345b57=Array[_0x2d32bd(_0x424e7c._0x46e137)](this[_0x2d32bd(_0x424e7c._0x13787a)+_0x2d32bd(_0x424e7c._0x3c2461)]['value'+'s']())[_0x2d32bd(0x2fe)+'r'](_0x3650ca=>typeof _0x3650ca[_0x2d32bd(0x7d3)+'up']=='funct'+_0x2d32bd(0xa50))['map'](_0x28ecf7=>_0x28ecf7[_0x2d32bd(0x7d3)+'up']());await Promise[_0x2d32bd(_0x424e7c._0x5cb9aa)+_0x2d32bd(_0x424e7c._0x5db0fd)](_0x345b57);}[_0x441e35(0xbf5)+_0x441e35(0xc2e)+_0x441e35(0x6d2)+_0x441e35(0x4ba)](_0x51d534){return new Z(_0x51d534,this);}}class Z{constructor(_0x2ae598,_0xce53b6){const _0x148a5d={_0x51aa23:0x4a1},_0x30d2a3=_0x441e35;this[_0x30d2a3(_0x148a5d._0x51aa23)+'e']=_0x2ae598,this[_0x30d2a3(0x91d)+'r']=_0xce53b6;}async[_0x441e35(0x1f4)](){const _0x24b8c4={_0x2b7987:0x91d},_0x2d7b6f=_0x441e35;await this[_0x2d7b6f(_0x24b8c4._0x2b7987)+'r'][_0x2d7b6f(0x1f4)]();}async[_0x441e35(0x2d7)](..._0x4cbb78){const _0x48f7a1=_0x441e35,_0x319650={'cwNpx':function(_0x3fe510,..._0x70f56c){return _0x3fe510(..._0x70f56c);}},_0x3639a0=_0x319650['cwNpx'](R,..._0x4cbb78);await this['logge'+'r'][_0x48f7a1(0x2d7)](this[_0x48f7a1(0x4a1)+'e'],_0x3639a0);}async[_0x441e35(0x64d)](..._0x28deb4){const _0x430038={_0x5db5ad:0x64d},_0x49cf10=_0x441e35,_0x597551={'eemMK':function(_0x318413,..._0x16116e){return _0x318413(..._0x16116e);}},_0x190664=_0x597551[_0x49cf10(0x553)](R,..._0x28deb4);await this[_0x49cf10(0x91d)+'r'][_0x49cf10(_0x430038._0x5db5ad)](this[_0x49cf10(0x4a1)+'e'],_0x190664);}async['info'](..._0x32e7e7){const _0x9cd193={_0x3c9c41:0x4a1},_0x48b36c=_0x441e35,_0x2681b4={'InxTq':function(_0xa0cbf1,..._0x5e0c25){return _0xa0cbf1(..._0x5e0c25);}},_0xc63bbd=_0x2681b4['InxTq'](R,..._0x32e7e7);await this[_0x48b36c(0x91d)+'r'][_0x48b36c(0x5cb)](this[_0x48b36c(_0x9cd193._0x3c9c41)+'e'],_0xc63bbd);}async[_0x441e35(0xc45)](..._0x33dae8){const _0x32d8a7={_0x93d24f:0x2ee,_0x3f5cdb:0x4a1},_0x22f795=_0x441e35,_0x248cea={'iLuIT':function(_0x458975,..._0x2e98f1){return _0x458975(..._0x2e98f1);}},_0x2e2e0e=_0x248cea[_0x22f795(_0x32d8a7._0x93d24f)](R,..._0x33dae8);await this['logge'+'r']['warn'](this[_0x22f795(_0x32d8a7._0x3f5cdb)+'e'],_0x2e2e0e);}async[_0x441e35(0x850)](..._0x11726c){const _0x5ee332={_0x43dbc0:0x850},_0x4a4675=_0x441e35,_0x168dac=R(..._0x11726c);await this['logge'+'r'][_0x4a4675(_0x5ee332._0x43dbc0)](this[_0x4a4675(0x4a1)+'e'],_0x168dac);}[_0x441e35(0x3f3)+'duleN'+_0x441e35(0x9f2)](){return this['modul'+'e'];}}class ee{constructor(_0x2868be={}){const _0xdb4ec4={_0x338584:0x47c,_0x1b6e63:0x3e7},_0x16b06f=_0x441e35,_0x59bf0e={'miZHe':_0x16b06f(0xad5)+'le'};this[_0x16b06f(_0xdb4ec4._0x338584)]=_0x59bf0e[_0x16b06f(0x739)],this[_0x16b06f(_0xdb4ec4._0x1b6e63)+'g']=Object[_0x16b06f(0x5ca)+'n']({'colorize':!(-0x11f+0x4b7*-0x7+0x2220),'timestamp':!(-0x64+-0x63*0x53+0x207d*0x1),'prefix':''},_0x2868be);}[_0x441e35(0x7cf)](_0x3cbb1b){const _0x5d78e2={_0x431ca5:0x3e7,_0x408ba4:0x666,_0x1944f0:0x5ea,_0x1f953d:0x231,_0x58ab2a:0x4b9,_0x4217d5:0xa67,_0x5aa5dc:0x5a5},_0x1368e6=_0x441e35,_0x472930=[];this[_0x1368e6(0x3e7)+'g']['times'+_0x1368e6(0x29d)]&&_0x472930['push']('['+_0x3cbb1b[_0x1368e6(0x688)+_0x1368e6(0x29d)]+']'),this[_0x1368e6(_0x5d78e2._0x431ca5)+'g'][_0x1368e6(_0x5d78e2._0x408ba4)+'x']&&_0x472930[_0x1368e6(0x7d7)]('['+this['confi'+'g']['prefi'+'x']+']'),_0x472930[_0x1368e6(0x7d7)]('['+_0x3cbb1b[_0x1368e6(0x4a1)+'e']+']','['+_0x3cbb1b[_0x1368e6(0x5a5)][_0x1368e6(0x8b5)+_0x1368e6(_0x5d78e2._0x1944f0)+'e']()+']',_0x3cbb1b[_0x1368e6(0x6d8)+'ge']);const _0x42e7d0=_0x472930[_0x1368e6(_0x5d78e2._0x1f953d)]('\x20'),_0x44836c=_0x3cbb1b[_0x1368e6(0x401)]?[_0x3cbb1b['data']]:[];this[_0x1368e6(_0x5d78e2._0x431ca5)+'g']['color'+_0x1368e6(_0x5d78e2._0x58ab2a)]?this['logWi'+'thCol'+'or'](_0x3cbb1b[_0x1368e6(0x5a5)],_0x42e7d0,_0x44836c):this[_0x1368e6(_0x5d78e2._0x4217d5)+_0x1368e6(0x2ba)+_0x1368e6(0xc79)](_0x3cbb1b[_0x1368e6(_0x5d78e2._0x5aa5dc)],_0x42e7d0,_0x44836c);}['logWi'+_0x441e35(0x94b)+'or'](_0x4393f6,_0x50dca0,_0x35db8e){const _0x24ea24={_0xb9594e:0xb00,_0x2907b8:0x201},_0x47a5ac=_0x441e35,_0x7002b1={'HyMXq':'#9999'+'99','oFZHb':'#0066'+'cc','ZxSrg':_0x47a5ac(0xa3d)+'66'},_0x23579e={'trace':_0x7002b1[_0x47a5ac(_0x24ea24._0xb9594e)],'debug':_0x7002b1[_0x47a5ac(_0x24ea24._0x2907b8)],'info':_0x7002b1[_0x47a5ac(0xc91)],'warn':_0x47a5ac(0x973)+'00','error':_0x47a5ac(0xa27)+'00'}[_0x4393f6];console[_0x47a5ac(0x7cf)]('%c'+_0x50dca0,'color'+':\x20'+_0x23579e,..._0x35db8e);}[_0x441e35(0xa67)+_0x441e35(0x2ba)+_0x441e35(0xc79)](_0x2d5528,_0x1d0937,_0x500efe){const _0x687dfa={_0x59d85c:0xac2,_0x50ec7f:0xc45},_0x735b63=_0x441e35,_0x2f1b38={'PjwjI':_0x735b63(0x850),'rpjwi':_0x735b63(0xc45)};switch(_0x2d5528){case _0x2f1b38['PjwjI']:console['error'](_0x1d0937,..._0x500efe);break;case _0x2f1b38[_0x735b63(_0x687dfa._0x59d85c)]:console[_0x735b63(_0x687dfa._0x50ec7f)](_0x1d0937,..._0x500efe);break;case _0x735b63(0x5cb):console[_0x735b63(0x5cb)](_0x1d0937,..._0x500efe);break;default:console['log'](_0x1d0937,..._0x500efe);}}}class k{constructor(){const _0x33d89d={_0x1e38df:0x5cb},_0x24cee6=_0x441e35;this[_0x24cee6(0x3e7)+'g']={'enabled':!(0x7*-0x479+0x255d+-0x19*0x3e),'defaultLevel':_0x24cee6(_0x33d89d._0x1e38df),'modules':{}};}[_0x441e35(0xacf)+_0x441e35(0x4c9)](_0x2d37e1){const _0x6d172a=_0x441e35;return this['confi'+'g'][_0x6d172a(0x946)+'ed']=_0x2d37e1,this;}[_0x441e35(0xb13)+_0x441e35(0x26e)+_0x441e35(0xbbf)](_0x1b6dd8){const _0x5a1f8e={_0xf900be:0x3e7},_0x462d93=_0x441e35;return this[_0x462d93(_0x5a1f8e._0xf900be)+'g'][_0x462d93(0x222)+'ltLev'+'el']=_0x1b6dd8,this;}[_0x441e35(0x30f)+_0x441e35(0x1f5)+'Id'](_0x3fc7aa){const _0x4f02e8=_0x441e35;return this[_0x4f02e8(0x3e7)+'g'][_0x4f02e8(0x83f)+'onId']=_0x3fc7aa,this;}[_0x441e35(0x36d)+_0x441e35(0xca9)+'a'](_0x4a673f){const _0x2745c5=_0x441e35;return this[_0x2745c5(0x3e7)+'g'][_0x2745c5(0x367)+'ata']=_0x4a673f,this;}[_0x441e35(0xbb5)+'dule'](_0x1f05e9,_0x2544b7=!(0xcfe+0x2675+-0x3373),_0x296bcb=[_0x441e35(0x5cb),'warn','error'],_0x118281=[_0x441e35(0xad5)+'le']){const _0x2d774b=_0x441e35;return this[_0x2d774b(0x3e7)+'g']['modul'+'es'][_0x1f05e9]={'enabled':_0x2544b7,'levels':_0x296bcb,'transports':_0x118281},this;}[_0x441e35(0x483)](){const _0x1c228e=_0x441e35;return JSON['parse'](JSON['strin'+_0x1c228e(0x7ae)](this[_0x1c228e(0x3e7)+'g']));}}class F{static[_0x441e35(0xbf5)+'eDeve'+_0x441e35(0x2b5)+_0x441e35(0xb96)+_0x441e35(0x964)](){const _0x4d7af9={_0x129561:0x64d,_0x38d1c4:0x5cb,_0xce374a:0x850,_0x37d77a:0x86f,_0x6653bb:0x564,_0x4e00af:0xb13,_0x3cb964:0x26e,_0x1c31a9:0x36a,_0x453fa4:0x8bc,_0x4074c4:0xbb5,_0x24c27e:0xad5,_0x3a336c:0x86c,_0xf3101:0x5cb,_0x4950e6:0x8bc,_0x35c799:0xa66},_0x420087=_0x441e35,_0x3f7d51={'tMxYS':_0x420087(_0x4d7af9._0x129561),'RmiGM':_0x420087(_0x4d7af9._0x38d1c4),'KweUc':_0x420087(0xc45),'tUiJw':_0x420087(_0x4d7af9._0xce374a),'aZfJN':_0x420087(_0x4d7af9._0x37d77a)+_0x420087(_0x4d7af9._0x6653bb),'qnGQU':'Cache','qTSxK':_0x420087(0xad5)+'le'};return new k()['setEn'+_0x420087(0x4c9)](!(0x47d*-0x5+-0x2271+-0x3*-0x12f6))[_0x420087(_0x4d7af9._0x4e00af)+_0x420087(_0x4d7af9._0x3cb964)+_0x420087(0xbbf)]('debug')['addMo'+_0x420087(_0x4d7af9._0x1c31a9)](_0x420087(0x34c)+_0x420087(0xbd0)+_0x420087(0xc00),!(-0x2572*-0x1+-0x955*0x3+-0x973),[_0x3f7d51[_0x420087(0x86c)],_0x3f7d51['RmiGM'],_0x3f7d51[_0x420087(0x7f2)],_0x3f7d51[_0x420087(_0x4d7af9._0x453fa4)]],[_0x420087(0xad5)+'le'])[_0x420087(_0x4d7af9._0x4074c4)+_0x420087(_0x4d7af9._0x1c31a9)](_0x3f7d51[_0x420087(0xa40)],!(-0xb23*0x1+0x2669+-0x1b46*0x1),[_0x3f7d51['RmiGM'],_0x3f7d51['KweUc'],_0x3f7d51[_0x420087(0x8bc)]],[_0x420087(_0x4d7af9._0x24c27e)+'le'])[_0x420087(0xbb5)+_0x420087(0x36a)](_0x3f7d51[_0x420087(0x595)],!(0xa*-0x96+-0x7*-0x184+0x4c*-0x10),[_0x3f7d51[_0x420087(_0x4d7af9._0x3a336c)],_0x420087(_0x4d7af9._0xf3101),_0x3f7d51[_0x420087(0x7f2)],_0x3f7d51[_0x420087(_0x4d7af9._0x4950e6)]],[_0x3f7d51[_0x420087(_0x4d7af9._0x35c799)]])['build']();}static[_0x441e35(0xbf5)+_0x441e35(0x60b)+'uctio'+'nConf'+'ig'](){const _0x40b797={_0xf75b22:0x36b,_0x426a71:0x4c9,_0x466add:0xb13,_0xd9a3e3:0xbb5,_0x4750f0:0x75d,_0x517bf2:0x36a,_0x450129:0x93b},_0x19f795=_0x441e35,_0x3ab43d={'CgXkK':_0x19f795(0xc45),'yeNMa':_0x19f795(0x850),'FiaeK':_0x19f795(0xad5)+'le','FvfJH':_0x19f795(_0x40b797._0xf75b22)};return new k()['setEn'+_0x19f795(_0x40b797._0x426a71)](!(0x1*-0xf53+-0x13b7*0x1+0x5d7*0x6))[_0x19f795(_0x40b797._0x466add)+'fault'+_0x19f795(0xbbf)](_0x3ab43d[_0x19f795(0xa02)])[_0x19f795(_0x40b797._0xd9a3e3)+'dule']('Datab'+_0x19f795(0xbd0)+_0x19f795(0xc00),!(-0x1a10+-0x104+0x1b14*0x1),[_0x3ab43d[_0x19f795(0x5d3)]],[_0x3ab43d[_0x19f795(_0x40b797._0x4750f0)]])['addMo'+_0x19f795(0x36a)]('ApiCl'+_0x19f795(0x564),!(0xf*0x173+-0xe95+-0x728),[_0x19f795(0xc45),_0x3ab43d[_0x19f795(0x5d3)]],[_0x19f795(0xad5)+'le'])[_0x19f795(0xbb5)+_0x19f795(_0x40b797._0x517bf2)](_0x3ab43d[_0x19f795(_0x40b797._0x450129)],!(0x1b37+-0x1*-0xc97+0x27cd*-0x1),[],[])[_0x19f795(0x483)]();}static[_0x441e35(0xbf5)+_0x441e35(0x7a7)+_0x441e35(0xbb3)+'fig'](_0x5564a2=!(0x20b9+0x85*-0x1b+-0x12b1)){const _0x5f0ee7={_0x2fd569:0xbf5,_0x4cf558:0x2b5,_0x57aa71:0xb96,_0x5b7e58:0x964,_0x113ed2:0x6ae},_0x5beedd=_0x441e35;return _0x5564a2?F[_0x5beedd(_0x5f0ee7._0x2fd569)+_0x5beedd(0x970)+_0x5beedd(_0x5f0ee7._0x4cf558)+_0x5beedd(_0x5f0ee7._0x57aa71)+_0x5beedd(_0x5f0ee7._0x5b7e58)]():F[_0x5beedd(0xbf5)+_0x5beedd(0x60b)+'uctio'+_0x5beedd(_0x5f0ee7._0x113ed2)+'ig']();}}const z=_0x56522b=>{const _0x5356f2={_0x576e77:0xbf5,_0x2665ff:0xbbb},_0x458bcf=_0x441e35,_0xa278c7=_0x56522b||F[_0x458bcf(_0x5356f2._0x576e77)+'eDeve'+'lopme'+'ntCon'+'fig'](),_0x51777a=new Y(_0xa278c7);return _0x51777a[_0x458bcf(_0x5356f2._0x2665ff)+_0x458bcf(0x917)+'rt'](new ee()),_0x51777a;},te={'APP':'App','CONFIG':_0x441e35(0x656)+'g','AUTH':_0x441e35(0xb21),'API':_0x441e35(0x71a),'DATABASE':_0x441e35(0x34c)+_0x441e35(0x4ea),'MIDDLEWARE':_0x441e35(0xcd5)+_0x441e35(0x68c),'UTILS':_0x441e35(0x74f),'SECURITY':'Secur'+_0x441e35(0x3ac),'VALIDATION':'Valid'+_0x441e35(0x1da),'CACHE':_0x441e35(0x36b),'FILE_SYSTEM':_0x441e35(0x3f8)+_0x441e35(0xce6),'NETWORK':_0x441e35(0x8ad)+'rk','SCHEDULER':'Sched'+_0x441e35(0xa3f),'ERROR_HANDLER':_0x441e35(0x4e6)+_0x441e35(0x8b7)+'er'};class ae{constructor(_0xd8d77e){this['modul'+'eName']=_0xd8d77e;}[_0x441e35(0x2d7)](_0x3ee835,..._0x1596d6){const _0x59a115={_0x333273:0x2d7,_0x3f4b28:0x4a1,_0x3d398d:0xa43},_0x143454=_0x441e35;C[_0x143454(0x851)+'stanc'+'e']()[_0x143454(_0x59a115._0x333273)](this[_0x143454(_0x59a115._0x3f4b28)+_0x143454(_0x59a115._0x3d398d)],_0x3ee835,..._0x1596d6);}['debug'](_0x174748,..._0x128ce8){const _0x19e82f={_0x26ac94:0x851},_0x42084e=_0x441e35;C[_0x42084e(_0x19e82f._0x26ac94)+'stanc'+'e']()[_0x42084e(0x64d)](this[_0x42084e(0x4a1)+_0x42084e(0xa43)],_0x174748,..._0x128ce8);}[_0x441e35(0x5cb)](_0x323013,..._0x40f126){const _0x4e8f92={_0x193de4:0x851,_0x191c66:0x5cb,_0x30342c:0x4a1},_0x3e2fd9=_0x441e35;C[_0x3e2fd9(_0x4e8f92._0x193de4)+'stanc'+'e']()[_0x3e2fd9(_0x4e8f92._0x191c66)](this[_0x3e2fd9(_0x4e8f92._0x30342c)+'eName'],_0x323013,..._0x40f126);}[_0x441e35(0xc45)](_0x1adf7c,..._0x23c6b9){const _0x4eb2a6={_0x15e6db:0x344},_0x466aa9=_0x441e35;C[_0x466aa9(0x851)+_0x466aa9(_0x4eb2a6._0x15e6db)+'e']()[_0x466aa9(0xc45)](this['modul'+_0x466aa9(0xa43)],_0x1adf7c,..._0x23c6b9);}['error'](_0x5d1163,..._0x5e979c){const _0x305d7b={_0x11e719:0x851,_0x20b823:0x344},_0x22de99=_0x441e35;C[_0x22de99(_0x305d7b._0x11e719)+_0x22de99(_0x305d7b._0x20b823)+'e']()['error'](this[_0x22de99(0x4a1)+_0x22de99(0xa43)],_0x5d1163,..._0x5e979c);}}let C=class p{static[_0x441e35(0xbf5)+'eDefa'+_0x441e35(0x765)+'nfig'](){const _0x38a52c={_0xc9eb34:0xc45,_0x4d3e72:0x4c9,_0x3bbcac:0x26e,_0x57b371:0xbbf},_0x28ba6d=_0x441e35,_0x1c7ac6={'yRsbr':_0x28ba6d(_0x38a52c._0xc9eb34)};return new k()[_0x28ba6d(0xacf)+_0x28ba6d(_0x38a52c._0x4d3e72)](!(0xde5+-0x1540+-0x7*-0x10d))['setDe'+_0x28ba6d(_0x38a52c._0x3bbcac)+_0x28ba6d(_0x38a52c._0x57b371)](_0x1c7ac6[_0x28ba6d(0x7d6)])[_0x28ba6d(0x483)]();}static[_0x441e35(0xbb6)+_0x441e35(0x53d)](_0x50ba9f){const _0x765caa={_0x36ff8d:0x6de,_0x12ffec:0x37c,_0x421f08:0xbf5,_0x29345b:0xcdb,_0x560ca9:0x467},_0x8db173=_0x441e35;if(p[_0x8db173(0x37c)+'tiali'+_0x8db173(_0x765caa._0x36ff8d)]||p['insta'+_0x8db173(0x359)]&&!_0x50ba9f)return p[_0x8db173(0x467)+'nce'];p[_0x8db173(_0x765caa._0x12ffec)+'tiali'+'zing']=!(0x17d3+-0xe2a+-0x9a9);const _0x13a284=_0x50ba9f||p[_0x8db173(_0x765caa._0x421f08)+_0x8db173(_0x765caa._0x29345b)+_0x8db173(0x765)+'nfig']();return p[_0x8db173(0xc52)+'ntCon'+'fig']=_0x13a284,p[_0x8db173(0x467)+_0x8db173(0x359)]=z(_0x13a284),p[_0x8db173(0x37c)+_0x8db173(0x4bd)+_0x8db173(_0x765caa._0x36ff8d)]=!(0x4d5*-0x2+-0x1181*0x1+-0x94*-0x2f),p[_0x8db173(_0x765caa._0x560ca9)+'nce'];}static[_0x441e35(0x851)+_0x441e35(0x344)+'e'](){const _0x2b4f05={_0x51cc25:0x359},_0x285e8e=_0x441e35;return p['insta'+'nce']?p[_0x285e8e(0x467)+_0x285e8e(_0x2b4f05._0x51cc25)]:p[_0x285e8e(0xbb6)+_0x285e8e(0x53d)]();}static[_0x441e35(0x4fa)+_0x441e35(0x54a)+_0x441e35(0xc2a)+_0x441e35(0xb76)](_0x3ef776){const _0x4d87ef={_0x1fc8d8:0xb96,_0x178571:0x946,_0x16d4fb:0x222,_0x447866:0x222,_0x2707e9:0xc15,_0x596e9a:0x950,_0x103d3d:0x950,_0x349d4e:0xb96,_0x597add:0x359},_0x2975c5=_0x441e35,_0xa356d7={'VRLWP':function(_0x36e838,_0x9cfcf5){return _0x36e838===_0x9cfcf5;},'lWxPT':function(_0x35ba9c,_0x170b6a){return _0x35ba9c===_0x170b6a;}},_0x21c1d2=p['curre'+_0x2975c5(_0x4d87ef._0x1fc8d8)+'fig'];_0x21c1d2&&_0xa356d7[_0x2975c5(0x50e)](_0x21c1d2[_0x2975c5(_0x4d87ef._0x178571)+'ed'],_0x3ef776[_0x2975c5(0x946)+'ed'])&&_0xa356d7['lWxPT'](_0x21c1d2[_0x2975c5(_0x4d87ef._0x16d4fb)+_0x2975c5(0xc15)+'el'],_0x3ef776[_0x2975c5(_0x4d87ef._0x447866)+_0x2975c5(_0x4d87ef._0x2707e9)+'el'])&&JSON[_0x2975c5(_0x4d87ef._0x596e9a)+'gify'](_0x21c1d2[_0x2975c5(0x4a1)+'es'])===JSON[_0x2975c5(_0x4d87ef._0x103d3d)+'gify'](_0x3ef776[_0x2975c5(0x4a1)+'es'])||(p['curre'+_0x2975c5(_0x4d87ef._0x349d4e)+'fig']=_0x3ef776,p[_0x2975c5(0x467)+_0x2975c5(_0x4d87ef._0x597add)]=z(_0x3ef776));}static[_0x441e35(0xacf)+_0x441e35(0x4c9)](_0x26c98d){const _0x822e4e={_0x3d2cfc:0xc52,_0x2240ad:0xb96,_0x5a6bc9:0x964,_0x4638b7:0xc52,_0x61bd3f:0x964,_0xc69dea:0x54a,_0x3daff7:0xc2a,_0x2d83a1:0xb76},_0x2f1e7d=_0x441e35;p[_0x2f1e7d(_0x822e4e._0x3d2cfc)+_0x2f1e7d(_0x822e4e._0x2240ad)+_0x2f1e7d(_0x822e4e._0x5a6bc9)]&&(p[_0x2f1e7d(_0x822e4e._0x4638b7)+_0x2f1e7d(0xb96)+_0x2f1e7d(_0x822e4e._0x61bd3f)][_0x2f1e7d(0x946)+'ed']=_0x26c98d,p['updat'+_0x2f1e7d(_0x822e4e._0xc69dea)+_0x2f1e7d(_0x822e4e._0x3daff7)+_0x2f1e7d(_0x822e4e._0x2d83a1)](p[_0x2f1e7d(_0x822e4e._0x4638b7)+_0x2f1e7d(_0x822e4e._0x2240ad)+'fig']));}static[_0x441e35(0x946)+_0x441e35(0xc2e)+'le'](_0x349641,_0x5268ac,_0x3baf89){const _0x47186e={_0x2ee9c0:0x64d,_0x3debbe:0x964,_0x1a3a5a:0xc52,_0x1afeb1:0x4a1,_0x39fd97:0x50d,_0x501da0:0xc38,_0x288337:0x850,_0x5c441a:0xc2a},_0x297481=_0x441e35,_0x14fdd2={'ZrScj':_0x297481(_0x47186e._0x2ee9c0),'BQHUf':_0x297481(0x5cb)};p['curre'+_0x297481(0xb96)+_0x297481(0x964)]&&p[_0x297481(0xc52)+_0x297481(0xb96)+_0x297481(_0x47186e._0x3debbe)]['modul'+'es']&&(p[_0x297481(_0x47186e._0x1a3a5a)+_0x297481(0xb96)+'fig'][_0x297481(_0x47186e._0x1afeb1)+'es'][_0x349641]={'enabled':!(-0x1d36+-0x8*-0x2db+0x65e),'levels':_0x5268ac||[_0x14fdd2[_0x297481(_0x47186e._0x39fd97)],_0x14fdd2[_0x297481(_0x47186e._0x501da0)],_0x297481(0xc45),_0x297481(_0x47186e._0x288337)],'appenders':_0x3baf89||['conso'+'le']},p[_0x297481(0x4fa)+_0x297481(0x54a)+_0x297481(_0x47186e._0x5c441a)+'tion'](p[_0x297481(_0x47186e._0x1a3a5a)+_0x297481(0xb96)+_0x297481(0x964)]));}static[_0x441e35(0x323)+_0x441e35(0x623)+'ule'](_0x3ae839){const _0xd991e1={_0x4d3504:0xb96,_0x3b0af2:0xb96,_0x31d15c:0xc52,_0x4f73af:0xc2a},_0x14c264=_0x441e35;p['curre'+_0x14c264(_0xd991e1._0x4d3504)+'fig']&&p['curre'+_0x14c264(_0xd991e1._0x3b0af2)+'fig'][_0x14c264(0x4a1)+'es']&&(p[_0x14c264(_0xd991e1._0x31d15c)+'ntCon'+'fig'][_0x14c264(0x4a1)+'es'][_0x3ae839]={'enabled':!(0x44*-0x7f+0x10be+0x1*0x10ff)},p[_0x14c264(0x4fa)+_0x14c264(0x54a)+_0x14c264(_0xd991e1._0x4f73af)+_0x14c264(0xb76)](p[_0x14c264(0xc52)+'ntCon'+_0x14c264(0x964)]));}static[_0x441e35(0xbf5)+_0x441e35(0x4a5)+_0x441e35(0x961)+'ig'](){const _0x38e07b={_0x7cb383:0xb13,_0x28628a:0x26e,_0x3fe20f:0x483},_0x3ff284=_0x441e35;return new k()[_0x3ff284(0xacf)+'abled'](!(-0x1ae3+0x2b*0x3b+-0x29*-0x6a))[_0x3ff284(_0x38e07b._0x7cb383)+_0x3ff284(_0x38e07b._0x28628a)+'Level']('trace')[_0x3ff284(_0x38e07b._0x3fe20f)]();}static[_0x441e35(0xbf5)+'eProd'+'uctio'+_0x441e35(0x6ae)+'ig'](){const _0x5470e6=_0x441e35;return new k()['setEn'+'abled'](!(-0x1c1a+0x3*0xa91+-0x399))['setDe'+_0x5470e6(0x26e)+_0x5470e6(0xbbf)](_0x5470e6(0xc45))[_0x5470e6(0x483)]();}static[_0x441e35(0x379)](){const _0x11b6dd={_0x3bb226:0xbb6},_0x594a3d=_0x441e35;return p[_0x594a3d(_0x11b6dd._0x3bb226)+_0x594a3d(0x53d)]();}static[_0x441e35(0x2dc)+'tiveP'+_0x441e35(0x612)+'odule'+'s'](){const _0x1478ac={_0xa8aa0:0x82e},_0x2624d9=_0x441e35;return Array[_0x2624d9(0xc98)](p[_0x2624d9(_0x1478ac._0xa8aa0)+'Insta'+_0x2624d9(0x5ce)]['keys']());}static[_0x441e35(0x51c)+_0x441e35(0xa08)+'Confi'+'g'](){const _0x2fd704={_0x25cb73:0xb96,_0x3ecea1:0x5ca},_0x383b8e=_0x441e35;return p['curre'+_0x383b8e(_0x2fd704._0x25cb73)+_0x383b8e(0x964)]?Object[_0x383b8e(_0x2fd704._0x3ecea1)+'n']({},p['curre'+_0x383b8e(0xb96)+_0x383b8e(0x964)]):null;}};C[_0x441e35(0x467)+_0x441e35(0x359)]=null,C[_0x441e35(0xc52)+'ntCon'+_0x441e35(0x964)]=null,C['isIni'+_0x441e35(0x4bd)+_0x441e35(0x6de)]=!(-0x83*-0x3+0xe0*0x1a+-0x309*0x8),C[_0x441e35(0x82e)+_0x441e35(0x2f7)+_0x441e35(0x5ce)]=new Map();const D=_0xfa0d3=>{const _0x25e5d7={_0x342778:0x82e},_0x4dce3f=_0x441e35;if(C[_0x4dce3f(0x82e)+'Insta'+'nces'][_0x4dce3f(0x6af)](_0xfa0d3))return C[_0x4dce3f(_0x25e5d7._0x342778)+_0x4dce3f(0x2f7)+'nces'][_0x4dce3f(0xc0c)](_0xfa0d3);const _0x63b527=new ae(_0xfa0d3);return C[_0x4dce3f(0x82e)+'Insta'+_0x4dce3f(0x5ce)]['set'](_0xfa0d3,_0x63b527),_0x63b527;},A=Object[_0x441e35(0x5ca)+'n'](Object[_0x441e35(0x5ca)+'n']({},te),{'DATABASE_MANAGER':_0x441e35(0x34c)+'aseMa'+'nager','DATABASE_FACTORY':_0x441e35(0x34c)+_0x441e35(0x1fd)+_0x441e35(0xb74),'UNIVERSAL_DAO':'Unive'+'rsalD'+'AO','BASE_SERVICE':_0x441e35(0xc64)+'ervic'+'e','SERVICE_MANAGER':_0x441e35(0x578)+_0x441e35(0x4d6)+_0x441e35(0xcba),'QUERY_BUILDER':_0x441e35(0x369)+_0x441e35(0xb2e)+'er','BASE_ADAPTER':'BaseA'+'dapte'+'r','NODEJS_ADAPTER':_0x441e35(0x49d)+_0x441e35(0x7dc)+'ter','REACTNATIVE_ADAPTER':_0x441e35(0x374)+'apter','UNIVERSAL_SQLITE':_0x441e35(0x1df)+'rsalS'+_0x441e35(0x377),'TRANSACTION':_0x441e35(0x5e2)+_0x441e35(0x278)+'n','CONNECTION':_0x441e35(0x4dd)+_0x441e35(0x2c6)});function B(_0x511409=!(-0x3b*-0x5b+0x2ee*0x1+-0x1d*0xd3),_0x3b8dc3=_0x441e35(0xc45)){const _0x42b44a={_0x3e627a:0x920,_0x4fdc02:0x2b1,_0x5531bb:0xacf,_0x783fda:0xb13,_0x298852:0x26e,_0x168396:0xbbf,_0x49231c:0x54a},_0x1e6f86=_0x441e35,_0x2146cb={'kLNNX':'(((.+'+')+)+)'+'+$','pjGKy':function(_0x2d928b,_0x5ca7df,_0x5a87a2){return _0x2d928b(_0x5ca7df,_0x5a87a2);},'xlPUq':function(_0x10022c){return _0x10022c();}},_0x14b11d=(function(){let _0x2c354e=!![];return function(_0x54e28b,_0x464e43){const _0x55cef7=_0x2c354e?function(){const _0x3ab956=_0x47f7;if(_0x464e43){const _0x85e05b=_0x464e43[_0x3ab956(0x6b1)](_0x54e28b,arguments);return _0x464e43=null,_0x85e05b;}}:function(){};return _0x2c354e=![],_0x55cef7;};}()),_0x2e7afd=_0x2146cb[_0x1e6f86(_0x42b44a._0x3e627a)](_0x14b11d,this,function(){const _0x11e071=_0x1e6f86;return _0x2e7afd['toStr'+_0x11e071(0x5cc)]()[_0x11e071(0x4cc)+'h'](_0x2146cb[_0x11e071(0x96f)])['toStr'+_0x11e071(0x5cc)]()['const'+'ructo'+'r'](_0x2e7afd)[_0x11e071(0x4cc)+'h'](_0x11e071(0x7d2)+_0x11e071(0x9e6)+'+$');});_0x2146cb[_0x1e6f86(_0x42b44a._0x4fdc02)](_0x2e7afd);const _0x2f9ffd=new k()[_0x1e6f86(_0x42b44a._0x5531bb)+_0x1e6f86(0x4c9)](_0x511409)[_0x1e6f86(_0x42b44a._0x783fda)+_0x1e6f86(_0x42b44a._0x298852)+_0x1e6f86(_0x42b44a._0x168396)](_0x3b8dc3)[_0x1e6f86(0x483)]();C[_0x1e6f86(0x4fa)+_0x1e6f86(_0x42b44a._0x49231c)+_0x1e6f86(0xc2a)+_0x1e6f86(0xb76)](_0x2f9ffd);}function _0x4278(){const _0x359c1b=['Ce9AEgu','DfjHDW','ruzuyKO','DwnJzxm','qKTiCuq','yw1PwLK','yxnLu2u','uMv0CMK','AgfUzgW','wMfYyui','wNHtCMC','DcbZAw4','BK1HCha','AxzLCNm','BwfZ','sxb6tei','ihrVihi','zNjVBq','lxnJAgu','Aw1L','zMXPy3q','u3rYAw4','wMXmAhK','zxiG','t0zOwfy','yMfZzsa','DdOG','CIbZy2G','BxvTigm','EurHDge','yMPLy3q','zu9Yt3a','CgTtwNi','zxrJAgu','DgfKyxq','zw5jBNq','DwLSzgu','B2PRwfq','rvjzifa','x3nJAgu','EuXiBKi','iezst00','y3qGBgK','yMLUza','yLnVzum','qsbPBNq','Aw4GChi','DgLTzsa','Aw91C2W','ALf4s0e','AwXLBMe','ywDLCG','C2v0DgK','Aw9Z','z2v0qwW','ysbLEgK','Aw9Uigq','ieHbvKK','DMvUDca','igLUihq','vf9fuLi','zYbVyMO','vLLOsfi','zsbKyxq','t2PWqLK','igrLC3q','C2z1BgW','CYaTihC','zwf0Aw8','yunTywi','tLrFufi','zw5LCG','q2XVC2u','ugvYAw8','C2v0','rNjVBvm','yxnLihm','Aw5Nig4','twLKzgW','AwnLCYa','ywnRvhi','Awn0q28','qwPfBhC','BMrLzMK','zurLzMe','ChjLCge','DNnUqMu','BMCGy28','ihDOzxi','q3jVC3m','zxrLzca','DMrdEM0','wsbHCha','z0zwug4','zsbKzxm','Exn0zw0','Dg9UigK','u1jcAMy','DgLUzYa','B3jxAgu','zNfzEvC','yxzN','ig5VDgK','B3bLCMe','CMvVCgu','Aw5Nige','q1bnvfu','ChjSvfy','BMn6A1u','BgLHCW','BIb0Exa','zgLYzwm','DwXSig8','C2v0u2m','ExbLihq','q1nwigK','DgLVBLq','AenOzwm','CM9Tifm','khzLCNm','zYb0ywi','rgLpq1i','y2XLyxi','DMfSAwq','tuLuide','DgLMAwu','Afb0DKC','ChrLCG','yMXLsw4','yxrPB24','DerPC3q','zM9YBvi','EMvK','zuLUzgu','vw5PDMu','tuPPDuO','uuz4B2S','DMLJzxm','qu5eig4','DuDhCgS','CgfYyw0','CMnrtgu','CfLkt0e','DgvYigy','DfzHBhu','BgLKigq','wM56twi','ignOzwm','zvrYyw4','AgvTyxm','vNPut08','yxnLige','CNqGB3a','yxrLu2m','zxHWBge','zMX1C2G','C3nPB24','reHZwLy','B3zHBa','BM90igq','s0fIwwi','vhLWzsa','C2uGzNi','twf4Aw0','yxnLrMe','BguGzge','igv2zw4','psbptG','B0zAsgi','CgXmChG','Aw5Nigu','B3zPzgu','uMv0Dxi','DgvYuM8','DfnjqLm','r1jNvxC','EunUA2i','CNqGB3i','uxvLCMK','zM9Yigu','zxj2ywW','rw5HyMW','qvvmvca','Aw50zwC','zsbJBg8','zgLJq2W','CMvKigm','tK9u','B24GzMe','C3LIENa','BM9Kzq','BIbTyxa','wgH5zeW','reLtveK','yM9VBgu','vfvcD0m','BwvUDca','BhvTBNm','B3Ltzxi','qKTfteO','AM91CM4','zgvMyxu','EfzQqKu','yMvNAw4','qNbiq2G','zsbWCM8','ysbMB3u','z2v0twe','turxzfm','ywXYzwe','ihf1zxi','yNLZ','vcbjtLq','DcbXDwu','DePvquC','DYbKyxq','AM9PBG','Bxf6v3e','re5xEgG','y0LjtMe','t3bHBvC','DhLWzu0','Bxm6','ign1C3q','vxnLCKq','EsbJB24','zwq6','zwfKEsa','CM9SBgK','BxDtqNu','zxzLigm','zcbPBIa','y2vdBge','B3iGBw8','zwnRzwq','BMvJDa','C3Dpvwe','Aw5Nifm','AxrPB24','ywXPzca','DcbZzxq','C2uGy28','yMXLjYa','zwqGC2u','t3LQqu4','CLztDee','CIbJB24','ihjVD3m','DMLJzq','t1DmvM8','zcWGCM8','zKz2DNu','mZGWndu3s1rrzgf4','zw5Jzsa','D3rnB28','zM8O','qvrvtKu','igrLzMe','DMvYC2K','Dg8Gzge','Bhrtzxi','BMHwqve','zsbJBge','zYbZzxi','AxjZDa','Exbfsg8','zYbYB2W','CNnPB24','zMfPBgu','CIb1BMq','ufPVt2K','ywrK','BwfW','rMLUzca','qxj3yNG','AwDQv2q','AgfZu2u','zMf1Bhq','BwL0Dgu','BgfZDee','ChbPBMC','zM91BMq','z2v0uNm','reT2qxi','su5trvi','zw5Jzxm','CNrztfi','ywn0Aw8','BMCGree','C3rYB3K','B3rVDhK','u0vsvKK','zcbIywm','ihjVBgu','BMzVCM0','AwXLlG','igrHDge','AxnhBg8','BgvKlca','Bhq6','yw5KCM8','EvLAvfi','svnAy0W','tK9uieW','DgnO','B3DwCMK','q29UDMu','C2vYDca','y2fSBa','BMvJDgK','zxiGAw4','CMvZDwW','zxj0Eu4','yMfZzxm','qwrKAw4','pxrYDwu','vvbeqvq','zunVBM4','zsb0ywi','zLzSCwG','zhjVCca','yNvSA1u','DcbPBMK','vKTPvwq','DgfTCa','BK5oA0O','zgH1sKu','u3jPs3q','C0j5u2m','CMvKihm','uunvDLi','zwfKzxi','ksbetYa','ihjLB3a','yxnLigy','zxCGvw4','DwXSEq','C2v0vhK','BwvUDa','tw5SuxK','C2v0q3u','DgeGAw0','vgD2BMO','zgf0yvu','EgXqvxe','C2X5De0','zgvZ','yxrLu2u','Bg9WBwu','zwfJAgu','zsbKB2u','ig5VBI0','wxf6yLC','DgHVDxq','BwLZBwe','tNzRywq','DhLWzv8','tM1xAgC','revsiei','y2uGzgu','zM9Yigy','CK9vrfG','zcbZDge','Dg9YEs4','tKfusvy','y3rPB24','AwqGsLm','zgLZy28','C2vFBMe','AwfSAxO','Afbrrgq','z2v0t3C','uKL5zuq','whnJu0y','zxzLBNq','tKnsru0','q0vIwuG','ig9Wzw4','ig9YAwC','igrLzMK','Bfv5qxy','v2v5D3u','DhjHy2u','iejHC2u','y2SGDhi','zwXK','DcbJB24','z2v0qwm','BMCGBwe','tNf5qu4','DhjPBq','zxj5vge','C3vT','BIbJywW','qKTxvxO','BMDSzsa','DwPMwvO','AgjntKK','Bwv0Ag8','DfjLEKy','ifvosu8','tfqG','rMLYC3q','Aw50','BgSGAw4','AuX1svq','z2XLig8','yu9xrMW','D0DuAw8','u2vSzwm','u1fmigu','s2v5C0i','t2P0D3m','ieXjtuK','sw5ZDge','z2vUzxi','zw9UswG','ignYzwe','Cvv0uuy','DguGB3a','CMv0CMK','zMLSDgu','z1jAywy','CMfUzg8','Cwnwwfq','qwXS','CgLUzYa','zM9Yrwe','uM93','CgvpzG','vK5uqw0','ie9grLm','wevQELi','vxbZzxi','ywjSzsa','yxrL','CLbrCuq','ufjbr00','C2v0u2u','ifrOAxm','CMTbsLm','qMvNAw4','Aw5uCMe','AxrvAgW','ChjVDg8','CMvMzxi','zM9YBwe','AKfeEuO','BMrPDgK','ywjSzxm','ig1HEgK','yM1wDfK','qxr0zw0','BgL0zs0','B2LU','u3LuDgW','DerHDge','rfjpuca','zgLZywi','zxjUywW','y3rPBMC','zxLZigy','y29UzMW','EgjOu2G','AcCGBxu','BMCGBgK','y2vZ','B2ztrM0','u1vnka','qwL4vw8','qNLty2G','DcbHBgW','ywrLCG','q1vsuKu','zYbHC3m','qxLWuxO','BguTC3a','EKLJCLa','AgvTyvy','yMHxBuS','qMrksLG','z2v0tge','DwXKigu','Dg9mB3C','CfLsqw0','uMvJB24','q29UzgK','Aw5NicC','CM9Szu4','uMvVCgu','zvzHBgK','C3rHBMm','rvHju1q','r0rZAwy','zYbKB3C','EvL5qxi','DcbMB3u','sf9dseu','s2v5rMK','rgf0ywi','A0LurwO','y2vZCW','igr1CMK','zxjZAw8','ihbYzxy','DgvYu2u','ELrvu1m','v05Xywe','zuLUzM8','zsbLCNi','zcbYzwm','B25qCM8','BMnL','zMXHDe0','zxLZ','Ehbtzfi','Bg9NB3u','Axb0Aw8','s2jiEva','B20Gy28','zwXLDgu','CYbKzw4','z3vYyxq','Aw5NigK','DwvuB0m','BMrSzxi','Bwv0ywq','DwXRq3i','uxvLCNK','zhvSzq','q2fJAgu','CxLosg0','C2v0twu','lcbVCIa','z2uGAxm','y2uGy3i','tK9eruO','BwfUywC','C2v0uhi','uK4Tqwq','AgXrCw0','CNvUDgK','uuXPDgu','Aw5Nihy','CMvZzxq','teHNquW','EgLZDhm','AxnjBMK','CKTeBeG','DcDZigK','Bwf0Aw8','z2v0qxy','yw1ZoG','Bsbeyxq','B2XhBfK','ruXfveu','C2vKihm','EunVBhu','yxrHiha','yxn0igK','EsbSB2e','yMDzy0i','ihbYB3y','iePtt04','u2vZC2K','DgvYu2m','uMvHy3q','yxnLihC','EvzVuwG','vLHHzhm','sevgyMS','AefOuNK','BIbOzwe','igj5iha','vuTmq0y','BsbPBIa','CenZCNa','yw51r2u','ywXSigm','zfnjzhq','zcbZDwm','wxnsD3a','rsbJB24','ufPPDNK','ihDPDgG','y2uGCMu','BxHnzgC','u0vmrum','Aw9Uihi','zxj0Eq','tMfTzq','qwXYzwe','yxmNig8','BNqGAge','BIbPCYa','Axr5','BIbUB3q','yxn0zxi','u0mGteK','Dg8Guxu','CNruB1m','zgL0Aw8','wcbjrIa','C2uGzMK','yxr1CW','rKH4D2S','ihbHC3m','Axnmzxy','refpigK','C291CMm','Bfrft2C','rvjst1i','qunl','ENfiuvG','AwrHDgK','t1fOu2S','zcbZA2K','zMLUzei','yxnLig8','vu5juvu','zsbLEgK','Aw5Uzxi','vu91r2C','AwDUigS','zsbPBIa','B3nLig4','vhj1BMm','zsbZB20','y29SCW','rMLUzgK','wwzxAM8','AMfnrwq','AwXLza','zxrLza','Benjzey','BMCGq1m','B25Tzw4','ihrYDw4','y2jIyKG','C3neyxq','igv4zwm','qunlx0u','vgHLigy','BgrZ','EuDwrfK','rgLVwwi','uxDjBge','CMvKige','CM9Ysge','Awv2zwq','ihr5Cgu','zwXfBMe','AwvKihq','u0voreS','y29UzMK','tfzstMy','z2v0uMu','CIbWB3q','vNjvwgO','EwnkwMe','yu5HBwu','C3rZlca','ie9oifu','zYaO','y3qGC2K','C2vYDMK','z2v0tw8','ihnLBgu','yw5Jzq','ihbHCMe','jZOG','rMLSzvm','rKLsu1q','BwuGCMu','zxCGu2u','svfvrq','jYb0BYa','uLPWwuO','B3jK','qwDvzve','zgf0yq','zw1Hig4','C2jZsw4','v0HVC2K','refp','ie9oia','B21WBgu','yxnLigK','B24GDMe','zxiGCMu','AevQCgy','z2v0uxu','sg5kCeK','CgXLDgu','ignVBNy','y2vnzxq','BgvHBNu','qNLbC2S','igLUC2u','CLnttNe','EfDXtMG','Ce5wz2q','yMvZDca','C3rVCMe','BgL0Eq','ChnLCNq','yxnLs2u','yw1LjYa','z2v0q28','yxrLza','BNvTyMu','Dw0Gy28','DcbZDxa','BcbLEgK','z2PwsMm','ig51BgW','ALbTv0G','rv9bree','BMCGDxm','rwTqAKe','y29UDMu','qwjVDxq','CM93C0e','CLnUBM4','BIbRzxK','ignSB3m','ifrsqu4','CevYCM8','ChjPB3i','ufrfuG','rw1IsMu','wvbHswW','Bwf4','ierbtYa','EeLVCMi','BMCGC2u','tLncEg0','z2XLihe','BNqGDxm','ELnLB1C','zvr5Cgu','ALbRBwC','run2uee','yNvSA0m','BMCGBM8','DfLXshy','BguGy28','vuvtia','y29TCgW','su4Guvu','zwDYAxq','we91tfa','q1zLwLm','q0vFtue','zxCGzge','D2LSBca','zxjLzc4','igzVCMu','vK9usvK','zwqGlsa','BNn0CNu','s1fWBey','yxnLx24','vhfszgW','z3jVDxa','Dg9ju08','yNvSA0K','qvnfx0y','zw1LBNq','ig11C3q','rvjfig4','zwLNBL8','BgfZDeK','AM1Wte4','BxPdB3y','DMreDNu','y3HgA1O','BLrVuxu','CM5HBca','C2uGD2K','rv9nqva','DgvuCMe','Aw5ZDge','BgLKigm','zw50CMK','y2vszwm','zYb0BYa','C3nLza','weLtCe4','DfrYyw4','C3nMDwW','BMCGDge','B3qGzM8','EfH2swy','yxrH','BgLKihm','B3nPBMC','yxnLihi','ig5HBwu','y29Yza','C29Tzq','yNKGsuq','C3nLDa','BMfTzq','yxjHBwu','zw50oIa','svf6zvO','De5HwKq','zYbZy2G','zvnLCNy','yNvPBgq','BwjLCIa','uM93igK','zufKyxa','DcbHDMe','BMCGy3u','B2zMrge','tgLZDgK','Bhb1yuO','tKfRu0e','yw1LCW','z2v0ihq','mZCXndm1rLrku2nf','BgLZDfq','BI5LEgu','Agf2Aw4','EMvbEKu','EMDsAhG','C2nOzw0','CMvJB3i','tI9b','vg9uywi','AwnHBgW','zwqGAw4','z2v0uhi','C2vYihi','tM9KzuO','kaOGica','BMCGu2u','DfbhAMm','Bw9KDwW','DwvYEq','wu1fA0y','uMvNAxm','zurLyNu','C2vYDa','su5duKu','EunLzu8','EgLTDw0','CIb1Chm','BIbVChq','su5orvi','Axn0zxi','zuvpD2q','yxmGBM8','sNfjrMO','B3bLBKq','BgvUz3q','ihnLCNy','sNvvuLm','sgHYwwC','C3rLBMu','A2v5igm','q2XLyw4','AxPL','z2vY','CM9YigG','BMzPz0e','DgLHBgK','C3nLDdO','q2fUBM8','svLXreq','C2v0lca','tLn3tKS','t2zMC2u','EfHkCxm','DMfSDwu','qvPYtfG','ysbYzwC','AwTzCg8','ywjSzwq','Dg8GDge','BMfSrge','C2vHCMm','Ae96weK','v3DiCLm','B0rHDge','zgv0zwm','DKPeyLG','vgvZDgK','w1vUAxy','B25Zihi','AePosMS','y2vnyw4','zhjVCfq','vgzbB08','zxr1CM4','ifDirvi','DhDLzw4','sKTxCe4','q29UBMu','tM9Kzs4','vNHUChy','B3bLBIa','igj5ieK','ignVBxa','yxb0zxi','BgvZ','D01krMq','rxjYB3i','y2LiuMu','Aw5NBgu','BMzVigq','yxnL','sxv6rxy','zNjVBsa','suTf','vKPHrNG','qwXSq28','z2v0u2u','B24GC3u','rwDOvK4','zLHUCgK','twfUywC','zc9VCgu','DcWGCgu','refuqui','Bw10txa','DxnLzca','DxbKyxq','uK9Azei','BIbKzwy','BxLmtu4','tMf0Axy','ywLlA0m','sw5KzxG','B25Zihy','zuzPBLe','zsbLBxa','BNrsB2W','qKXpqG','uLPJBhO','CgLUz0m','AxrLihq','qNvU','zxHLy3u','BNmUiem','tM8Gy28','wNjty2O','vLjmv1a','BM90ihi','B3jKzxi','tfD1qNG','sxDstMi','igf0Dgu','zhjVCee','B3jKCW','qvjKCwW','zgf0zq','uKLhsfq','BhKGy28','z1jVCK8','BwfWCgK','z2v0q3u','qNjVD3m','CKvcC1i','DMuTC3e','zw1Higm','C3mGDgK','ignSB24','Dw5Kzwy','tM5Xrxa','CMfPBNq','reL5uhK','DxrPB24','CM9Tige','ihvUzgu','y3qGAw0','zvPYB08','BL9RzxK','igzYB20','B3iGq1m','yxnLihq','EvnJAgu','vMfqseW','ievYCM8','vw5RBM8','EvH3ANO','CK1wqLO','C2vSzwm','DgvYAw4','y2f0y2G','CM9SBgi','txvSDgK','EMuG','tKnuia','ywXPEMu','Aw5Zzxi','x0vsuK8','twf4igm','CM9UB3u','v1LbshK','zgf0yuK','sePrwva','D2HLCMu','yxnLCW','rLjptsa','zu9Uq28','ysbUyw0','zunVBMy','ie5HDgK','BIWGy2e','CMvK','revMChq','A2v5CW','DhrSzwq','t1vurvi','Dg90ywW','zwvTtuS','yMv0Dgu','z2L1q2W','Dg9Y','ihrVihu','ChLoz3q','u21HCNq','B3jT','zxH3s0G','AwvKx2e','Aw5Nigm','De9Yvxa','B25ZDhi','qwjry1y','AxrPywW','CLH0zuO','BMzSAwm','AwvUDa','q1nw','u1vLqxK','wvvJwNq','AwDqyxq','Cu5YD3C','zhKGy28','DxbvBNu','su1buLK','C2zVCM0','s0nsz3q','C2TPCa','C3nsB3C','Bg9Zzwq','ysbPBMK','zYbTDwW','BcbZzxi','thHgzwu','ihjLy3i','igrLDgu','u2vYDMK','BMqGDg8','BMCGB3i','D2L0Aa','EMLSEq','BgXuywi','BgXPBMC','B25MAwC','B3jTyxq','zcbMB3i','zgvZDhi','y2nLC3m','BM90ige','C1DPDgG','EgvZrM8','rg93BG','ugXHDgy','Aw9UCYa','y3rLuxu','rhLcvfK','CMj1se8','ChrVCG','Aw5JDa','B3iGBge','BcbKyxq','rgvZDhi','zwDPC3q','BIbtuuW','yxnLigS','Cw5huvu','CIbVCgu','zxjZywW','yw5Zywm','ChbLzca','Aw5KzxG','yxrPyMK','zMzLy3q','CNvU','v2LyA0e','wKjyDNK','B25Zigy','yxjZzwq','rvrxruu','ywH5zgW','CY4Gv28','Bgv2zwW','BKL3wLu','qNLgAwu','DwvYEvq','u29jEwe','Aw9Uigy','rv9fuLi','y29Yzq','z2XVyMe','AcbTyxa','tgLZDgu','CIbTB3i','BMzPzYC','q291BNq','BMCGyxy','BNjlzuG','Bgv0zq','ihjLDhi','AwC6ihm','zgjqyxq','C3fS','zxHOtwm','BMvYCW','zwnR','y2HLBwe','zxKGjW','rePRq2y','zYbUB3q','u2nOzw0','rKLorf8','thv1wK0','q2jyuwq','Cg9YDgu','ALnWCMG','vuHxtK0','uMvZzxq','zcbIDxq','yxnZAwC','Aw5MBW','Aw5N','tw1VB28','BMnLCW','DwXeBue','Chr5','shbnuwG','y2Pbvvu','Ewvotwe','rsbguK8','ie9oiem','tNzHDgO','igLUigq','BhPQB3y','z1rbDwq','B3jLAwC','AwnLs2u','B2jQzwm','vKHuvMm','C3mGAxm','BM93','v0Lusca','terJwg8','vhjHBNm','AgLZihC','z2v0rxG','igXHENK','yMfZzq','q0ftq2S','ysb0CMe','q29Yzsa','zxjdyxm','BfnLCNy','BYbLCNi','yMuGysa','zw0Siha','vefcteu','BMnLihi','ChrLzca','CgvUzwq','lI4U','C2uGAxm','z2v0vge','y2X1zgu','uvDhD2W','BLbYB3a','ihn0yxq','CgfYC2u','q2HTtLa','CNjHEtO','BgL6zwq','wuvMEg4','BfnJAgu','C3bSAxq','BMCGzge','BLfKAwm','vKfmvuu','yu1HBMe','rLzTBuG','tuLoka','y0rWu3C','tg9HzgK','EvHNB2y','BMCGzxi','zvbYB2q','BfDWrLi','BxvTig8','Aw5Niem','tM8GDMe','sw52ywW','Bvnmvfy','CM94Eu0','suzSCei','qufVA0C','ig5LDYa','su1qt1i','ignVBhu','EhLbt3K','DcbMywK','CIbHBhi','rNnLCgS','zgvYCYa','D2L0Aca','BM90ig8','CgvYyxq','BweGy28','qLvms18','D1n4tLq','BgvnB2q','ihrYyw4','zgv1CuO','rvPAuhu','Aw5Nigi','whfnCfK','zM9Yieq','BMqGBM8','Aw5Nihi','igv4Axm','zhDYq0G','q0vFrvi','BKXvCem','BhzNDfO','s1vVt2G','AwvKoIa','ywLUDhm','y2uGAw4','tefoia','CMvjBMK','rMLLBgq','zM9YBwK','yMXLigK','igDLDei','uMTfAvy','CgfNAw4','wuzlEgq','CNvJDg8','AxrLCG','A2vnu3a','zsb0BYa','BMCGywW','q1qO','BNnMB3i','svmGtK8','r1LMquK','CYa9ie4','rKjqvum','v0fm','ihjLC3u','ysbTAxm','zhvSzum','zgvIDwC','BMCGCM8','Dg8Gy2W','EwjZAvi','zxjPzxm','B3DZige','vg9YB0i','vhLWzq','u3vIuxu','q29UzMK','wK5Lvg4','C3b1Exe','AwrWt0m','zcbJDxi','A3HfvKq','rsb0Exa','vu5jvKu','zsbLBNm','y2vPBa','zM9Yihu','t3b0Aw8','vvrbCwe','BIbKyxq','B2zMC2u','BMvY','ChjLzMK','zenprNy','rv9dt04','y29Kzq','CNjVCIa','CIbPBIa','Be9WyKu','twLZC2K','Aw4GC2m','Aw5KqwW','BgrZlca','igzHAwW','ywnR','igTLEsa','C3ndB2W','tgLOC2q','Aw5NCW','BwLZC2K','vxnPBMC','zxjZ','zM9YzwK','yunVBMy','qLjoseu','zsbVCgu','Egv3sw8','zsbKAxm','y2uGy28','AcbJAgu','BsbHzge','CLjVBgu','DKTkCeC','CMfIBgu','ihjLy28','yYbJB24','DgLTzxm','DxnQtum','yxqGreu','sgreDxK','zxDHCMu','wejurfi','igzVCIa','BKfPAvK','DMuGzge','BMqGy2e','zgfV','AeviBLK','mtG0nJi5DNjLzLbh','qu8GAw4','CYbLEhq','BML0igy','Cg9YDca','zg9LCYa','zxPttMS','AxnpCgu','D2POD0G','Cxv1r1q','ufjjtue','zsbJB20','uerbveu','tvrQCwq','svmGtLu','DxnPBMC','vKDvDgu','DwXRigK','uM9Szsa','B25Uzwm','rvHqtee','tM9YBwe','B3bLBKe','ExHeCMS','ksbsruy','Bgnhzvi','BKnVBMy','AgfZ','lw5HDgK','yxbWBhK','zMLNigm','z2LZDhi','rfj0Du4','z2v0rge','B3jKigu','DgvYzwq','B24TzxG','y2vZC1q','yxnLigm','zcbKB2u','Dw5ZENm','BNn0yw4','tK9uieK','CgvYzM8','C2vZig8','uM93swq','AgvTyu0','CYbZDge','yMf0y2G','igLUihm','A1jpDKS','zgP0vM0','ywrHDge','sgTUtfC','CvrPAxO','B25KAxq','qNLezxm','se5QBuu','CNjVCNm','BM90BNu','BMCGDhK','BNmGzMe','BgvmB2C','BMqGCMu','y2HHBMC','CNrgywm','C2v0vhi','y3vZDg8','BwvZC2e','igDLDee','ignVDw4','tufkENO','BYbKyxq','Dgvty2G','EMLUzW','EsbRzxK','BgvHC2u','EfPwvhi','BM90igi','z2v0vhi','Dev4Axm','B3iGyw4','tgf6Esa','B052tuO','qNvSAYa','qKPZyw4','CM9Tigm','uMvZDwW','ywXSu2u','vf9du1y','ignHBM4','DeLK','ihrVigq','sM9PBG','BMCGC2m','tM90','AurbAhC','uLKGs0u','lMrI','CM95igy','zt0NDge','vxnLCLi','v2fovee','zcbLEgK','q1jfqvq','ignSzwe','igfUzca','CNmGDg8','Aw4GDhi','vuXm','qunusu8','tNLTB2u','ENKGBg8','zxrOB2q','rgrcu3u','q0TFq08','rKPcAxK','AgvUigu','u3jbyu8','B3qGy28','qwLlsxa','CIbYzw0','Du9MEKi','BNzPCM8','Aw5MBYa','Bw4Gzgu','C3qGzM8','vK5QDfG','rsbtrvq','Bg1xz3u','ELPxv0G','ALLwBK4','DgvNCMK','if9Zy2G','qvbj','vgTVwNm','u2Lnv2G','Dw5KlG','qNvPBhq','BKnVBM4','sevbtfq','zMLUAxq','zwqGzMK','sezQzgq','C3bSAwm','ifnfvca','z2v0rgu','tM8GBgK','B3iGC2m','nJGYndHpq1DHsuK','wvjItgm','s3LpwvK','C2vtzxi','sxD3C1e','rw56t3C','B2XKzxm','BgWGCMu','AfvbC3G','tK9uiei','BgrZigy','zMLNDxi','DhjHAw4','zsbPBMK','uwHcs3i','ELPpr3e','BwLAsgu','zwrFyxq','zYb1Cgq','qKvhsu4','r2PrsuW','qsbLEgu','y29UC3q','BxbVCNq','we9xDxG','AxnL','z3vYzvm','A2LWCgK','rLvmtca','rgvSzxq','C2rHAxK','seLYwKW','rgv6Dxi','BNnLCNq','AxndBg8','revmrvq','AxrO','Bxb0Esa','vxrPBhm','B3vUzc4','DM9szgu','Ev9JAgu','BM90igm','z09tAha','Bu1HCvy','AxrLx20','x2vUC3u','yxzHAwW','CM9Szsa','AwqGC2u','BNmGzNi','t1Pwy3a','rMLHzuS','tM8Gzge','BgvKigq','s011tNG','ywzoCK0','A2v5','zwXKCW','B2XLCYa','DwX0q28','zMLUzwq','ywn0Axy','ysbUB3q','C2v0r2W','ru5u','Bw4GBwe','zwqGDg8','igvTChq','u3rHCNq','igLUDMe','B2X1Bw4','tuvova','ysbJB24','lcbNzxq','t3bLBMK','vgr5q2K','qLrUvw0','BgjHy2S','CYbMB3i','z0DKwwK','ugDQAwu','wMDfBe8','AxPHDgK','qK55Cem','r2v0DgK','ihrHyMW','Be5swum','AMvkCM4','v01Urei','whviAuK','C2LUz2W','vcbUyw0','Cg9ZAxq','yMrzz1i','CM9Szvi','BMzV','BIbJB20','qwLsD3i','igDLBMu','Dxrprem','rKDeyKm','u1rsquK','BMfIBgu','DguGCMu','Dcb3Axq','vKTsqMm','BcbVCgu','yNDowuW','z0nVBMq','BMzPzW','AuX6uMu','u1fmsvq','u3fSAxq','Dw5K','ruXfq1q','BM1LBNq','DfrHyMW','ugvYzM8','EMnVs0e','qvrfx0u','BgLTAxq','vgTtsNm','zhvYAw4','r2vUzxi','wMvLEeu','zun1C3q','zw50Awe','u1fmAxq','v2Lur1m','vwPhrxG','yMfSrw4','qxHNv3m','z2LMEq','Bgf1C2u','uM93CW','yNKGC2m','yLvXA2K','yMfZzum','DhjVEwu','t05gteK','y3qGywW','CYbIEsa','zYbPDgu','yKHmAe4','BgXfEgK','Buzyyw4','DgvY','CNqSihi','DuvzA3i','BxvZDca','CYbPBMK','r0LNENu','igLUigu','zMLNoG','mtC4ody4qMzoD2vS','ig9Uzsa','EMLUzYa','ywrHChq','qNPYwLu','Cxrgwee','BMCGC3q','id8Gqu4','AvDSv1a','DgvKihi','BgvK','Bg9N','z25FA2u','DhjHBNm','kcGOlIS','y2XLyw4','zxjLza','ywHSu08','EvjZyNi','ChvZAa','zwn0l2e','tfLYEKC','C3vIuxu','CMf3','u0fKyxa','AxmGBM8','ywDLCIa','BNnHy3q','zw50igu','wwTyAxC','CYbVyMO','yxjkEuG','y29SDw0','vcbovuW','zsbguK8','C2vKu2u','lcaNy28','ywLSzwq','CMfmAwS','revgqvu','CMnLihi','CMvKlG','BevnywW','zwHLtgC','yKzLBgm','zgvSzxq','s3DLvwm','zgf0yum','Aw5Nihq','yxrPBMC','AwnL','EhnVtKK','DcbPBIa','tMrAvxG','z2v0igq','CNm9zMe','tM90tNu','CM1HDgK','zgf0yuy','uMvZB2W','ChjHz20','yw1Lie4','z2PXD3a','DezPzwW','BNmSihm','AxrLmYa','uK5Rs2G','ksbWyxi','zvrHyMW','uhjVy2u','ywnRihq','Bgveyxq','DgHVzhm','ExbL','v291Bgq','t2nsuxm','u2HxrKW','CMvKuM8','Dw5PB24','u2rcvuO','C255Ew8','C2L6zq','y2XVBMu','CNrkC28','yNfnrKe','rxfkzxC','v2LeAMe','zw5TqMm','AwXSigq','qMjIy3C','DfjVDW','y0fNBMi','ywXFBw8','zhvLihq','ywnRihm','u2LdCuS','ywXPEMK','y2SGzMe','tKCG','zM9Yy2u','DgfIBgu','B1n4zvC','uKvbta','igLZihi','AwXLzdO','CNfRsuu','ChjVEhK','yxnLicC','DMLJzsa','CxnYt1i','BwuGzw4','Eg9wr0G','Ccb1BNu','s0vz','AKTcsfG','yxrLrge','CNvJDgK','ksbZCwW','uYaOpYK','igXVywq','zsbPBNm','zcb0BYa','zNvSBhK','C2vZC2K','yMfZzsW','zcbKzwW','tKfrENm','yLjMuK8','C1rQD24','wgjqEem','C2uGywm','vxPrzLO','CNbMvgq','DurdAhe','y2uGBM8','AuH2vhq','vxbKyxq','yxrHihq','Dg9gAxG','B3qGC3u','zxjYB3i','z2v0sw4','zw1HCW','ie9oieq','tK9uie4','qvvut18','BMqGAw4','BNvSBge','AwqGB3i','ywX1zq','rM91BMq','ywjSzq','Aw1HCNK','BM5Ly3q','rNLrwLu','ywLhCNO','tM90tgK','BIbMywK','BgX5','B25fCNi','EfHvwxe','DgfYz2u','EgnLzwq','z2v0vgK','quXUvei','AxntDxa','zunss1K','C3fSAxq','De14wvm','AgfZqwm','DgGGy2G','qxbPq2W','BwLUzYa','zgvbDxq','DxjPBMC','uLfsvha','DcbWCM8','CLzWtwO','qMLUzgK','twH1quq','EuLKige','AgvTys4','EhrLCM4','zsbRzxK','txfYr0u','BwDLD1a','q29Yzum','zM8Gt1i','EuLK','EsbPBMK','vM15yKe','ig1PC3m','Aw5Nihm','BMCGzxG','DhLWzq','AxjZDca','yxbWAw4','q0LYD2K','Cu1iz1O','Aw4GCMu','AxjZDc4','igLUzM8','uMr5zeK','CNzPy2u','z09cugq','igXPC3q','AwnLsw4','CxHQreO','BeDYEge','zwqGC3u','nLrrshf5yq','tNvSBa','Dxr0Aw4','ywLSywi','BK9kDg4','zgvtAve','BNmGzM8','zxzLzca','AxrLmW','y3jVC3m','B20GB2i','DcbOyw4','zxmGCMu','zNvSBe8','id0GzxG','zuLMtM8','q1LyALm','tLrFveK','CM9Szxm','zMXVyxq','zwnYzwe','tuDwC1m','Dgf0rM0','tMv0D28','BgvHC3q','vgHhD00','B2yGzge','rvnMEwq','C29SDMu','zs4Gvxm','zw5ZDxi','Dg9vCha','z2v0u2m','sgfUzgW','CM1HDca','B25Fzgu','rhjVCha','qwXSigq','DfvPsNC','CwzbBLa','zYbSB2C','C3rYywK','AxmGC2G','DxmGy2G','DxjHDgK','ueLzB2m','zxjHDgK','rK9sruK','ieLe','isboBYa','Aw5PDa','tK9uieu','BcbJB24','AguGBMu','DxjLigK','zwnVCMq','y2fJAgu','zcbMAwu','B24Gy28','DgLVBIa','ywXPyxm','yxDcuuu','z2v0u3q','s25rA1y','CM93CW','vNj3wxu','zw1WDhK','AgfZt3C','uM9Szq','zwn0igW','D0rpCva','v2HLCMu','AwnLCW','qw5rD0K','ANn0Exa','rfj2rhm','ChjVzhu','CMzVCM0','zcb1Cgq','DhPnyw0','teDHDxq','ANnVBG','tYbMCM8','zvjVD0i','BweGDMu','BMzPz3u','B1zKsee','uxrgv3i','rvjftKm','rxziz3m','BMCGCMu','z24GA2u','zM9YigG','y29UBMu','Aw5Nihu','EsbMB3i','igv4Dgu','suqGAxm','ihvZzxi','tM90rxG','tgH0DeO','DgvK','zMLNCW','sw1WB3i','yxnLicG','wwDbwKG','BwfFAw4','u2L6zq','BwvUDeK','x2vTAxq','Bg9Hzei','BMCGC3a','Aw9UCW','zsbPBMy','CMvHy3q','C2TPCeu','txrWqKK','sxzjDMq','BhjLywq','ie5pvca','rvr4DwK','ExfIsg8','DwXRigm','zsbXDwu','BNn1CMK','Dff1zxi','BML0Aw8','AgvTyq','DcbIzwC','yw5ZCg8','igjHy2S','ihbYB2m','yxnLig4','CgvUlca','BNrvC2u','Bg9Nz2u','igj5ihm','z25lzxK','CgPhs3K','igTLEq','r2Hnsgy','u2v4rLu','CZOk','D29Wvve','Esb3Axq','zeXUu1y','ksbHCYa','BMCGqMe','t04GzM8','zw5Jzq','Cen2ufi','weL5AeK','v0HfuKu','zurbtW','CLrHyMW','BNqGzMe','vKrpBwK','q3r4tNi','BwDYrfu','zcWGBM8','zsbMywm','Aw5JBhu','zwqGDw4','DMvKigq','q3jLyxq','rNzMsKG','tLvmta','BweSihm','igzVDw4','zYbLDMu','wfnADNe','sw5PDgK','y0jvzw4','zgf0zuq','BM90Awy','Bgf0zxm','zw5HyMW','A0vmuNO','qvnfx00','z2v0rMK','qMv0D2u','DgHdB2W','tgL0zsa','qunut1i','qvvut0K','Aw5gENC','C3rYAw4','BMvKihm','Dg9Tyxq','rNjVBu8','lIbty2G','B3b0Aw8','BKP3Cw8','u3vJy2u','rgf0yvq','v2L0Ae0','Exv2Bgu','CNrwywW','Bgv5wwS','zsbPCYa','ieLoreu','tM8GC2m','tu9esuy','z0nVBMy','B2jHBeu','DKDKBey','zMLN','Ee5xBui','AxnbCNi','wgDor1a','x2HHBMq','ywjHC2u','yxrHyMe','B3nZlxm','Esb0ywi','C3vIC3q','BweGDhi','A0XotLG','zurLDMu','vuXhrKG','CJOG','i2zMotK','u1yGAw0','wfbfC2O','BNfbuxK','tuvtvee','CNqGyMe','rKrkyKC','AwvKigy','CMLUzW','zsaTihq','ysb2ywW','u1zHtK8','qNLsyxC','C2fJDgK','zwnPzMK','zcbJCMu','tL9fuLi','x3zHBgK','y2HAy24','CMHJq3e','y3rVCIa','uKjUwKC','ignVBNm','uMvPBMK','zxr0zxi','DefSBa','DfDPDgG','CYWGCM8','y2f0Aw4','CMv0Dxi','BgWGzxG','A2LUzYa','BxLlwwK','tLbNzMe','u1fmihe','zwn0Aw8','EvDstuu','C2u6ia','igHLywW','EKPpC2m','ysb2zxi','DwXRihu','ig1HEca','BMjVt3O','B3vSzca','uvrQqwi','DwvYEsa','CYbMB3u','yMXLzcW','B2XLCW','B20GDhK','yxmGy3i','CNjgsxG','BcbYzwm','B3LPBMC','AgvTysa','DezYB20','Axn0CW','yuDHBfG','C2vZ','ywDLCJO','y1Lgzha','A1jSCue','zgvMAw4','AwqGzM8','wefst3K','Dw50','zMLJigm','BM9Us0q','weLtvfm','BMqGzM8','BgjPtgK','zgf0ywi','tM8Gu2u','ig5Vihi','zxzLza','tLHJtLa','uhjLCge','zw5KC1C','EgvJDxq','y3rLzca','uIbcwsa','zwfUDxa','zsbIEsa','tsbZCwW','CMLJihq','lIbdDxi','uhrdzge','sgTnvvK','zxiGBM8','zenVBM4','CMvNAxm','ueDyqLO','tLD0Au8','tgXusgC','BwTtDKq','B2XLCZO','BMCGDhi','q1nwigq','zguGpsa','zvDPDgG','u1fmifm','DhKGy2G','y29Yzca','CvrOtwK','vgfIBgu','zwqGu1e','DhrkyLi','B25jza','z2v0rw4','mJKZmdzsvfDxvhe','BNvW','qvnd','zMLLBgq','yxP5u2m','ksSPkYK','CMfJDgu','zgvJAw0','Ae1psui','DhrPBMC','zsbMB3i','CMvTB3y','zgf0yui','CgrHDgu','qM9sExK','DMLYB24','BNn0CMe','yw1L','zxnZAw4','BgvFAw4','igfJDgK','B0LUy3i','y2uGywW','zxn1Bhq','CNm6ia','Bgvty2G','ignVBMy','zwn2Awe','zNvUy3q','y3rLzcW','zM9YigK','AwrLzca','BMvJDgu','q2DyA0S','zxmGBge','ug5puui','CgXLihm','s09UyKe','CMvHzhK','CNjLBNq','BMLUzYa','vf9nqva','v0PTzMy','C2fUAxq','DMuGzw4','uM93ihy','uuvNB2K','vMfSAwq','zw1Hx2K','Aw50CW','AwXHyMW','uNvUBMK','AffTsem','zMXVB3i','DxnLCYa','AwjSzs4','wMf0yum','sgrPyKO','zhKGy2W','BM90igy','y2vdB24','z0jrCNK','zwn0','icaTia','ChbVCNq','s0uGj3m','sNDezuW','ifbSzwe','zxnLDca','zMLNigy','i2nJmda','DgLVBNm','yMXLCW','r05zsgu','AgvTyv8','Aw9Uksa','AxPLu1e','zsbZy2G','u0fcALy','CM9ZCY0','CMfUC2e','uujmrKy','z0fZC2u','rM9YzwK','wu1prwe','ksbwquW','zwzHDwW','BM9Ulwu','AxrLBq','wxz2s3i','qu5br0u','yxv0B18','iZaWy2m','ywr5igu','DwXLCG','yvPMsK4','CIbKyxq','qw5vEuK','zu5HBwu','tM8GC3u','CM95Aw4','zNrRwhK','rgf0ysa','sLb5Afy','zw1Hvhi','t29UzeW','Bxb0Aw4','qu8Gywy','C3rPBMC','ig9Wzxi','Dw1Urgu','Aw9U','zwnVBM4','DcbIAw4','EsbHy3q','DcbVCgu','q0vFq1i','A3DqBMO','DcbYB2W','ywXequ8','yvLJzNq','rsbuqui','q0Xpu0u','B3j0','zfDkr3O','B2r1Bgu','ie9sreu','igv4y2u','CMvXDwK','BIbHBhi','u2v0DgK','Aw5Nigq','BgLLzf8','CvrtEeS','Bg9Nv2K','ExbLig0','BMv3igm','qwrHChq','su1btNm','rKzNv28','DKXrwKy','BIbZDg8','C2vKq28','AwvKihC','zYbtuuW','rwvsuva','tK9useK','yxrHigK','z2v0qNK','ywTTANC','y2uGv0G','ysbTyw4','ue90Bei','zuzYB20','Dhn6u1i','svPTENq','zgf0zwq','vIbPBxa','DxbZzxi','Dhj1zq','v3bQvxK','ihrVigm','zM9YBq','C3vJy2u','zYbKyxq','uMvJB3i','zgvSAw0','zxzPBMC','qvzhka','BMCGyMe','q29SDw0','ucbcwsa','zxmGDg8','A3rOzuK','CeX6vLa','CI4Gvg8','jYbKB2u','B3jdB2W','C29QtNy','yMLUze0','sxbTDxO','BIb1Cgq','tLrFvu4','DcbYB3C','Ag91Dca','B3vZBhK','sLnptIa','ueLorW','AxPLzca','C3LUy2G','igTLExm','zgf0Aw4','re9NBgG','ywn0B3i','tg92vKW','CM9zq2q','CMuGy28','B3Deyxq','Cg9YDa','CMvUDca','CMvHy2G','zunVBhu','z2v0ihm','rxHPC3q','DgfIyxm','zwXLy3q','Aw5PDeW','CYbUB3q','yxrLzca','zurHDge','BMrLEgu','y29Yzhm','BgvKic0','AgvHru8','Bw4Gy28','zKXSsuS','q1nwigG','ANLxEfm','rMfPBgu','ihzHBgK','ChrPBMC','zsbJCMu','Aw5HBca','DgvKige','y2XVC2u','CNbQD2K','BwLU','BwL0ihq','EMf0Aw8','z2jKq2u','BgLZDem','zxf1Axi','Dg9tuuW','q09vtLq','vMfSDwu','z1nLCNy','CMvJB24','yunpzfO','C2v0rw4','BweUieu','CxvPCMu','rgv0zwm','wfbht0K','BcbHDMe','y29UC28','zwqSihm','C2XjDfi','rxHLy3u','zwf0zq','CgLUzW','tKfwD1K','AxqUifa','AxndB24','rgvMyxu','yMfZztO','ztOG','rM1tCwS','u0nVBM4','yLvgy04','z1rICNC','AwqGzge','ChjPBwe','twfVtxu','tNvsAxO','uK9mtei','twfWCgK','r0rIveu','DgvYihm','thnPDKe','zYbHy3q','zsb3Axq','Bw92zwq','zMLUzey','B2XLq28','B2zM','DvbXu1u','zMLUzfy','v3noweK','Aw4GDgG','BMvK','Axn0Aw4','C2HVDwW','yxrLig8','zsbHzge','A2Hdrgy','qLDSyLq','zgf0Aw8','shLnwhe','v0Xmrhi','BwnwAM8','DgGGzM8','jYbPCYa','u2f2Aw4','zMHzExK','uLjpuG','uxnjvMi','EcbJB24','DfHOAfq','CM9SBgu','ihn1y2m','BeTiqLu','zxiGC2K','rvDKzhu','sefktLq','EMvKihm','zw1PDa','C2v0rgu','tMjkruC','zxj0igm','CYbJB3u','ywXSigu','DhjPzxy','q29TBwK','CMvKDwm','quT1AvK','ufPbBxe','yKPKu2O','t01tANG','teuGsuy','zgf0ysa','qxv0Aa','mtu0AxHus1nT','txz2s0e','ihnRAxa','su5uruC','B3iGAxq','vcb2zxi','CNLlzxK','su5jvf8','BYbtuuW','uMvTB3y','uMrWyxq','DguGB3i','qNvPBgq','y3v0zsG','ANmGzw4','Bw5Z','rNjZANy','zsbZzxi','uMvXDwK','uM9SBgK','yKrQB0W','qLLFsuq','D3PYAvm','vgTlz0O','C2nbD0i','zuDIv04','r0zprMi','Aw1WB3i','C3rHCNq','q2XVC2K','Dw0GBNu','rvqG','C2vKigm','qw1WqLq','DgeGChi','y291BNq','y29TBwK','A2DvBM0','wfr5txK','zMLYC3q','t1zjsLe','C2uGCMu','BgSGDxa','v2fuAhO','vuX5t2i','ru9owge','C2LUz0m','BIbYB2W','igrYB3a','z0DWzKS','DgfUy2u','Cg9YDhm','zuLK','yxrLqw4','C3nPBMC','DenVBhu','zxrVBIa','CNqG','rM9Yy2u','igLUAxq','tM90qMu','Cgvnyxa','BgvUyw0','Aw9Uq28','uM93Awq','s1DeB3G','zgHrzha','zM9Yihm','BMvJDeG','CYbLBxa','BIbMB3i','BIbZDge','BKLXvwi','EgLZDgu','zxj5vhK','BMCGDw4','EgLZDgK','Dcbusu0','rvmG','yMXL','BgLZDgu','zxnZzNu','y3rVCNK','B24GChi','DgLVBG','CgvKihm','AxmGzw4','rvnuqu0','DwX0oG','ywXS','tMj5s1G','CZOG','B3jLigq','zwf0zsa','Bgv0zwq','Aw5JCMu','B3qGyMu','q2HLy2S','AxLzCe4','igzPBMq','uuXftui','B3iGy3i','BfD6rM4','ywrPBMC','ALHcAwO','y0DuEgG','Aw5Nieq','DejLC3q','BwflzxK','BKHxDwG','B25Z','yxjYyxK','qvz5quy','igLTCg8','zvjLy28','DgLMEwK','BNrdB24','CMuGzge','Bwf4q28','Axn0zw4','refpigm','r0HWD3i','BguGC2m','qwnJzxm','yMXLza','ANH5Eee','yw5Hz2u','BhvYvwi','CI1ZCwW','CNqGy28','B3iGzge','ihjLCxu','tvbmrvq','shvzwhK','wKzXBwC','rw5ZDxi','rMXgCey','D0nlu1K','ExjXufO','B3iGDw4','igLUC3q','BvjTv3u','q2XHDxm','C2vUzfq','rufuruq','B21dB24','EsbLEgu','ywrKtw8','Aw5PDgK','whnQzfC','Ee5ot3a','ywvPsuO','Dhj1BMm','ywrKvhi','mtjJv2rtC00','zcbJyw4','q291Bgq','tgv2zwW','s0LxDMu','sw5Zzxi','BNrLCM4','C2uGAw4','u1rst1K','AxrLx3m','CguGBwe','DNzkswi','zvbYB20','C3rZige','r04Gs0u','ywWGC2m','BNqGBgK','B3bLBKu','AgvJAW','zgXLCJO','yxnLtwe','BML0Awe','ywXPzge','uMTQy2C','icaGicK','yw5KBgu','DgHPCYa','y3qGDg8','DMHorLy','yNvSAYa','Aw5Niei','Evn0B3i','zgLUzW','C1PIsui','rwL0Agu','AxnJB24','CM1PBMC','C3bVCNq','zIbYzwm','DgvKihm','zxCGCMu','tYbFC2m','s25luuu','rhbvuxC','id0GpW','zfrYyw4','AcbSyxO','BhKGCMu','Dw5PCxu','AxnszwC','t1jnquW','mJaZmdmWvezhsK9U','Aw5Nife','C2vYDcK','BMzPzYa','zxiGzge','AM9PBKm','y3jLyxq','sfrese4','vevyva','tg9Nz2u','BMCGyNu','EwLUzYa','CMvWBge','v3jJwgy','CKvTy1q','CMvKrge','zxHPC3q','BMfNzxi','BgvfCNi','AxntAhu','yNHpuva','tK9rtNu','ignSyxu','CNnHBeq','Dw1U','DgL2zq','rvncuxu','DxbjBNq','yMfZzvi','z2v0','rw1PDhq','tKT1rLe','yLfJAuO','AgfZsgu','zwn0zwq','BKDREuC','DxaGy28','zw1Hihy','Bhrmzxy','y3zutee','DwvYEui','vvHAEeG','ihzLCNm','yNHKr3u','z3P6sMS','CvLPugq','qwXSigm','ihvWzge','AgvHBhq','yxj5t1i','ChjVy2u','ign1CNi','r0vYCLm','BMCGChi','BMfSigq','DgLWBgu','z2LZDgu','Aw5Lza','wM9wu2W','AwD1CMe','CvDkt2m','y2vZC2y','ieforca','zu1Vzhu','BMCGAw0','vuvticG','zhKGywm','wfqGtK8','igLZig4','Bg9Hzca','zLfVD2C','ignVBM4','z3jLC3m','qLfivwy','B2DYzxm','zxm6cG','q0rys3O','igfYCMe','yxnLCYa','ruXZu0K','zw51Bwu','Dw1Uig0','u19bree','zw1H','Aw5Nihe','C3nLDcC','D2fYBG','C2v0ihm','z1zWCuO','uYbFC2m','B3KGC2u','ihnJAgu','BMDSzxq','CNLFA2u','A0vszfi','qxDbtfO','zvntCMm','zeXVzW','tM8GC2u','y3vYCMu','rhr5EMe','zxf1zw4','Bwf0y2G','CMLTyxi','uMvJCMu','CMvHDgu','Eg14CeO','zNvS','DcbJB20','DgvtCwW','ieLgieu','z2vYihm','zxjMB3i','zwzPBMu','wuH1z3G','Bujdz3C','v3DQtLK','qMfZzvm','uurQswO','zgnTzMm','swDwyKC','zsbJB24','ig5VDca','zgfWDgu','wfjjAfG','B25Lig8','B25pCgu','AxzLigq','uwreC1i','Dg9YEq','C2LVBIa','yMXLjW','A2v5CYa','zwf0zwq','BM9Uzq','sgvHBhq','zxj2Awm','B1rYyw4','q29SB3i','CIaNy28','vKvvtNy','EMzcveS','CMf0Aw8','zxrLy3q','qsbYzxm','wsaO','DgLHDgu','Dw5Klca','v1HoB0W','AxjLzca','yvnHD0G','BM5VDca'];_0x4278=function(){return _0x359c1b;};return _0x4278();}B(!(-0xb87*-0x1+-0x2*0x11be+0x17f5),'warn');const c=D(A[_0x441e35(0x65d)+'RSAL_'+_0x441e35(0x405)]);class P{constructor(_0x3c9038,_0x280826,_0x2d8f89){const _0x32fb8a={_0x11c936:0x7c7,_0x45ddb2:0x8f3,_0x24bb51:0x2c6,_0x1d1419:0x7df,_0x4dccb6:0x236,_0x356c57:0x8a5,_0x5e22db:0xbf5,_0x590b04:0x8a5,_0x107063:0x614,_0x11dbd5:0x6e4,_0x373e22:0x71b,_0x5800af:0x71b,_0x19f32f:0x7a6,_0x824a32:0x30c,_0x239dca:0xc06,_0x2bd236:0x987,_0x78fae8:0x53d,_0x25013d:0x5b8},_0x1c80e8=_0x441e35,_0x25d2ed={'AAokG':function(_0x557721,_0x41cbf0){return _0x557721==_0x41cbf0;},'TkoZs':function(_0x34c9f9,_0x14fafd){return _0x34c9f9!==_0x14fafd;},'ZeexE':function(_0x2cd563,_0x58ff44){return _0x2cd563==_0x58ff44;}};var _0x152e80,_0x3e7ab3;this[_0x1c80e8(_0x32fb8a._0x11c936)+'er']=_0x3c9038,this[_0x1c80e8(0x5b8)+'h']=_0x280826,this[_0x1c80e8(0x955)+'ns']=_0x2d8f89,this[_0x1c80e8(_0x32fb8a._0x45ddb2)+_0x1c80e8(_0x32fb8a._0x24bb51)]=null,this[_0x1c80e8(0xadd)+_0x1c80e8(0xa01)+'d']=!(-0x1b*-0xef+-0x39e*-0x1+-0x1cd2),this[_0x1c80e8(0x313)+_0x1c80e8(_0x32fb8a._0x1d1419)+_0x1c80e8(0xa50)]=!(0x1130+-0x2a5*-0x5+-0x1e68),this[_0x1c80e8(_0x32fb8a._0x4dccb6)+_0x1c80e8(0x888)+_0x1c80e8(0x961)+'ig']=null,this[_0x1c80e8(0xbf5)+_0x1c80e8(_0x32fb8a._0x356c57)+_0x1c80e8(0x6e4)+'ts']=!(0x7*0x55c+-0xc71+-0x1912*0x1),this[_0x1c80e8(0x827)+_0x1c80e8(0xc57)+_0x1c80e8(0x30c)]=!(0x3a8+0x211e+0x1*-0x24c5),this[_0x1c80e8(_0x32fb8a._0x5e22db)+_0x1c80e8(_0x32fb8a._0x590b04)+_0x1c80e8(0x6e4)+'ts']=(_0x152e80=_0x25d2ed[_0x1c80e8(_0x32fb8a._0x107063)](_0x2d8f89,null)?void(-0x1a11*-0x1+0x23c3+-0x1*0x3dd4):_0x2d8f89[_0x1c80e8(_0x32fb8a._0x5e22db)+'eIfNo'+_0x1c80e8(_0x32fb8a._0x11dbd5)+'ts'])!==null&&_0x25d2ed[_0x1c80e8(_0x32fb8a._0x373e22)](_0x152e80,void(0x25da+-0x329*0x9+-0xb*0xdb))?_0x152e80:!(0x56*0x33+0x117c+-0x229d),this['force'+_0x1c80e8(0xc57)+'ate']=_0x25d2ed[_0x1c80e8(_0x32fb8a._0x5800af)](_0x3e7ab3=_0x25d2ed[_0x1c80e8(_0x32fb8a._0x19f32f)](_0x2d8f89,null)?void(-0x1de*-0xb+0x1915+-0x2d9f):_0x2d8f89[_0x1c80e8(0x827)+_0x1c80e8(0xc57)+_0x1c80e8(_0x32fb8a._0x824a32)],null)&&_0x25d2ed[_0x1c80e8(0x71b)](_0x3e7ab3,void(0x9*0x21a+0x45f+-0x1749))?_0x3e7ab3:!(-0x28*0x7d+-0xcbf+0x4*0x812),c[_0x1c80e8(0x2d7)](_0x1c80e8(0x1df)+_0x1c80e8(_0x32fb8a._0x239dca)+'AO\x20co'+_0x1c80e8(0x451)+_0x1c80e8(_0x32fb8a._0x2bd236)+_0x1c80e8(0xbb6)+_0x1c80e8(_0x32fb8a._0x78fae8)+'d',{'dbPath':this[_0x1c80e8(_0x32fb8a._0x25013d)+'h'],'createIfNotExists':this['creat'+_0x1c80e8(0x8a5)+_0x1c80e8(_0x32fb8a._0x11dbd5)+'ts'],'forceRecreate':this[_0x1c80e8(0x827)+'Recre'+_0x1c80e8(_0x32fb8a._0x824a32)]});}async[_0x441e35(0x8f3)+'ct'](){const _0x294535={_0x845fc9:0xa82,_0x3775c1:0x4ea,_0x5e7591:0xb24,_0x3f8fc8:0x303,_0x1efa84:0x8f3,_0x1b4d6c:0x957,_0x3e5dc9:0x46f,_0x57f2d0:0x76c,_0x43a059:0x281,_0x18156d:0x5e6,_0x41b622:0x83d,_0x235e39:0x2d7,_0x1a5d7a:0x64d,_0x1cdd1b:0x7ad,_0x34e9f5:0x7c7,_0x2626dc:0x5b8,_0x2559ae:0xadd,_0x473604:0x5cb,_0x388262:0x90f,_0x1ade72:0x850,_0x4dd106:0x5b8},_0x4dada7=_0x441e35,_0x2b8b9f={'aSawH':'Attem'+_0x4dada7(0xabd)+_0x4dada7(_0x294535._0x845fc9)+_0x4dada7(0x6a7)+'t\x20to\x20'+'datab'+_0x4dada7(_0x294535._0x3775c1),'AxgWs':_0x4dada7(0x3a8)+_0x4dada7(0x56a)+_0x4dada7(0x85d)+'ed\x20to'+_0x4dada7(0x281)+'base,'+_0x4dada7(_0x294535._0x5e7591)+_0x4dada7(_0x294535._0x3f8fc8)+_0x4dada7(_0x294535._0x1efa84)+_0x4dada7(0x2c6),'yqbHo':_0x4dada7(_0x294535._0x1b4d6c)+_0x4dada7(_0x294535._0x3e5dc9)+_0x4dada7(0x519)+_0x4dada7(0x85d)+_0x4dada7(_0x294535._0x57f2d0)+_0x4dada7(_0x294535._0x43a059)+_0x4dada7(_0x294535._0x18156d),'rhcCq':_0x4dada7(0xabb)+_0x4dada7(_0x294535._0x41b622)+'conne'+_0x4dada7(0xbd7)+_0x4dada7(_0x294535._0x43a059)+_0x4dada7(0x5e6)};if(c[_0x4dada7(_0x294535._0x235e39)](_0x2b8b9f[_0x4dada7(0xc85)],{'dbPath':this['dbPat'+'h']}),this[_0x4dada7(0xadd)+_0x4dada7(0xa01)+'d']){c[_0x4dada7(_0x294535._0x1a5d7a)](_0x2b8b9f[_0x4dada7(_0x294535._0x1cdd1b)]);return;}try{this['conne'+'ction']=await this[_0x4dada7(_0x294535._0x34e9f5)+'er'][_0x4dada7(0x8f3)+'ct'](this[_0x4dada7(_0x294535._0x2626dc)+'h']),this[_0x4dada7(_0x294535._0x2559ae)+_0x4dada7(0xa01)+'d']=!(0xf23*0x1+-0x17c8+-0x8a5*-0x1),c[_0x4dada7(_0x294535._0x473604)](_0x2b8b9f[_0x4dada7(_0x294535._0x388262)],{'dbPath':this[_0x4dada7(0x5b8)+'h']});}catch(_0x591f50){throw c[_0x4dada7(_0x294535._0x1ade72)](_0x2b8b9f[_0x4dada7(0x986)],{'dbPath':this[_0x4dada7(_0x294535._0x4dd106)+'h'],'error':_0x591f50 instanceof Error?_0x591f50[_0x4dada7(0x6d8)+'ge']:_0x591f50}),_0x591f50;}}async[_0x441e35(0x2c8)+_0x441e35(0x85d)](){const _0xeb8c0={_0x29b37f:0xbb8,_0x308ae3:0xaad,_0x57cd1f:0x67f,_0x2d2f7d:0x2c6,_0x1edd25:0x2d7,_0x48b633:0xbdf,_0x593b58:0x4ec,_0x264098:0xa01,_0x271ab5:0x9bf,_0x2d480f:0x3e7,_0x438ec1:0x688,_0x27371c:0x7d7,_0x22d960:0x3e7,_0xc21779:0x4a1,_0x1bb57a:0x231,_0x465127:0x401,_0x545590:0x5a5,_0x5cd0b0:0xac1,_0x493be0:0x5cb,_0x5b356f:0xc11,_0x10e11c:0x281,_0x3aa902:0x34c,_0x1b48f4:0x390,_0x6c0c06:0xa01,_0x436f22:0x6f0},_0x3a392c=_0x441e35,_0x9853be={'kwbhz':function(_0x2be074,_0x5ba2c5){return _0x2be074===_0x5ba2c5;},'XOWux':_0x3a392c(_0xeb8c0._0x29b37f),'zMlYb':_0x3a392c(0x4e6)+'\x20duri'+_0x3a392c(0x601)+_0x3a392c(_0xeb8c0._0x308ae3)+_0x3a392c(_0xeb8c0._0x57cd1f)+'conne'+_0x3a392c(_0xeb8c0._0x2d2f7d),'uMhtF':function(_0x1f61c6,_0x582a09){return _0x1f61c6 instanceof _0x582a09;}};if(c[_0x3a392c(_0xeb8c0._0x1edd25)](_0x3a392c(0x31d)+'pting'+_0x3a392c(0x6f0)+_0x3a392c(_0xeb8c0._0x48b633)+'nect\x20'+_0x3a392c(_0xeb8c0._0x593b58)+_0x3a392c(0x9bb)+_0x3a392c(0x4ea)),this['conne'+_0x3a392c(0x2c6)]&&this['isCon'+_0x3a392c(_0xeb8c0._0x264098)+'d'])try{if(_0x9853be['kwbhz'](_0x9853be[_0x3a392c(0x741)],_0x3a392c(_0xeb8c0._0x271ab5))){const _0x3d27dd=[];this[_0x3a392c(_0xeb8c0._0x2d480f)+'g'][_0x3a392c(0x688)+'tamp']&&_0x3d27dd[_0x3a392c(0x7d7)]('['+_0x55eae7[_0x3a392c(_0xeb8c0._0x438ec1)+_0x3a392c(0x29d)]+']'),this[_0x3a392c(0x3e7)+'g']['prefi'+'x']&&_0x3d27dd[_0x3a392c(_0xeb8c0._0x27371c)]('['+this[_0x3a392c(_0xeb8c0._0x22d960)+'g']['prefi'+'x']+']'),_0x3d27dd[_0x3a392c(0x7d7)]('['+_0x54c1bf[_0x3a392c(_0xeb8c0._0xc21779)+'e']+']','['+_0x1039e1[_0x3a392c(0x5a5)][_0x3a392c(0x8b5)+_0x3a392c(0x5ea)+'e']()+']',_0x5ca53e['messa'+'ge']);const _0x146cf7=_0x3d27dd[_0x3a392c(_0xeb8c0._0x1bb57a)]('\x20'),_0x38cd1b=_0x52fbe5[_0x3a392c(_0xeb8c0._0x465127)]?[_0x3f4bca[_0x3a392c(_0xeb8c0._0x465127)]]:[];this[_0x3a392c(_0xeb8c0._0x2d480f)+'g']['color'+'ize']?this[_0x3a392c(0xa67)+'thCol'+'or'](_0x4e107d[_0x3a392c(_0xeb8c0._0x545590)],_0x146cf7,_0x38cd1b):this['logWi'+_0x3a392c(0x2ba)+'Color'](_0x1c5637['level'],_0x146cf7,_0x38cd1b);}else await this[_0x3a392c(0x8f3)+'ction'][_0x3a392c(_0xeb8c0._0x5cd0b0)](),this[_0x3a392c(0x8f3)+_0x3a392c(0x2c6)]=null,this[_0x3a392c(0xadd)+_0x3a392c(0xa01)+'d']=!(0x1*-0xb41+-0x18d1*-0x1+-0x1*0xd8f),c[_0x3a392c(_0xeb8c0._0x493be0)]('Succe'+_0x3a392c(0x46f)+'ly\x20di'+'sconn'+_0x3a392c(_0xeb8c0._0x5b356f)+_0x3a392c(0x52d)+_0x3a392c(_0xeb8c0._0x10e11c)+_0x3a392c(0x5e6));}catch(_0x2a0393){throw c[_0x3a392c(0x850)](_0x9853be['zMlYb'],{'error':_0x9853be['uMhtF'](_0x2a0393,Error)?_0x2a0393[_0x3a392c(0x6d8)+'ge']:_0x2a0393}),_0x2a0393;}else c[_0x3a392c(0x64d)](_0x3a392c(_0xeb8c0._0x3aa902)+_0x3a392c(_0xeb8c0._0x1b48f4)+_0x3a392c(0x4af)+_0x3a392c(0x2db)+_0x3a392c(_0xeb8c0._0x6c0c06)+_0x3a392c(0x935)+'thing'+_0x3a392c(_0xeb8c0._0x436f22)+_0x3a392c(_0xeb8c0._0x48b633)+'nect');}async[_0x441e35(0xac1)](){const _0x1611a2={_0x3ae5f5:0xb3f,_0x481c68:0x9e9,_0x416e72:0x2c8,_0x4aef2a:0x85d},_0x34076a=_0x441e35,_0x385f00={'hMOIB':_0x34076a(_0x1611a2._0x3ae5f5)+'ng\x20da'+'tabas'+_0x34076a(0xc68)+'necti'+'on'};c['trace'](_0x385f00[_0x34076a(_0x1611a2._0x481c68)]),await this[_0x34076a(_0x1611a2._0x416e72)+_0x34076a(_0x1611a2._0x4aef2a)]();}['setTy'+_0x441e35(0xb5f)+_0x441e35(0x507)+'onfig'](_0x2314b0){const _0x1d308d={_0x103556:0xa63,_0x524e39:0x1fa,_0x1c7f3b:0x2d7,_0x141531:0x4c6,_0x2b97a9:0x888,_0x3cb9a6:0x961,_0x534eb4:0x64d},_0x419b06=_0x441e35,_0x356d57={'AZrLX':_0x419b06(_0x1d308d._0x103556)+_0x419b06(0x6d0)+_0x419b06(0xbc6)+_0x419b06(0x271)+'\x20conf'+_0x419b06(0xc2a)+'tion','NqyAN':_0x419b06(_0x1d308d._0x524e39)+_0x419b06(0x51b)+_0x419b06(0xcde)+'nfigu'+_0x419b06(0xc7d)+_0x419b06(0xa96)+_0x419b06(0x41e)};c[_0x419b06(_0x1d308d._0x1c7f3b)](_0x356d57[_0x419b06(_0x1d308d._0x141531)],{'config':_0x2314b0}),this[_0x419b06(0x236)+_0x419b06(_0x1d308d._0x2b97a9)+_0x419b06(_0x1d308d._0x3cb9a6)+'ig']=_0x2314b0,c[_0x419b06(_0x1d308d._0x534eb4)](_0x356d57[_0x419b06(0x2de)]);}[_0x441e35(0x429)+_0x441e35(0x3b1)+'QLite'+'Type'](_0x5dede9){const _0x34c6fd={_0x356c74:0x678,_0x34a1cf:0x25a,_0x17723f:0xa68,_0x45ef72:0x888,_0x4b2318:0x9a5,_0x47248c:0xb2a,_0x346849:0x508,_0x401819:0x80d,_0x15bbca:0x236,_0x2efb73:0x236,_0x4ec61f:0x961,_0x242a90:0x86b,_0x3831d7:0x726,_0x245734:0x7a9,_0x10dd36:0x43d,_0x2ee65d:0x64d,_0x523701:0x64d},_0x6d2f27=_0x441e35,_0x4ca3c5={'cYFdp':_0x6d2f27(_0x34c6fd._0x356c74)+_0x6d2f27(_0x34c6fd._0x34a1cf)+'ult\x20t'+_0x6d2f27(_0x34c6fd._0x17723f)+_0x6d2f27(_0x34c6fd._0x45ef72)+'g','YrNIT':_0x6d2f27(0x678)+_0x6d2f27(0x238)+_0x6d2f27(_0x34c6fd._0x4b2318)+'pe\x20ma'+_0x6d2f27(0x271)};if(c[_0x6d2f27(0x2d7)](_0x6d2f27(0x28b)+'rting'+_0x6d2f27(0x78c)+_0x6d2f27(0x9c8)+_0x6d2f27(0xcf9)+_0x6d2f27(_0x34c6fd._0x47248c)+_0x6d2f27(_0x34c6fd._0x346849)+_0x6d2f27(_0x34c6fd._0x401819),{'genericType':_0x5dede9}),!this[_0x6d2f27(_0x34c6fd._0x15bbca)+_0x6d2f27(_0x34c6fd._0x45ef72)+_0x6d2f27(0x961)+'ig']||!this[_0x6d2f27(_0x34c6fd._0x2efb73)+_0x6d2f27(0x888)+_0x6d2f27(_0x34c6fd._0x4ec61f)+'ig'][_0x6d2f27(_0x34c6fd._0x242a90)+'e']){const _0xb4dd27=this[_0x6d2f27(_0x34c6fd._0x3831d7)+_0x6d2f27(0x26e)+_0x6d2f27(_0x34c6fd._0x245734)+_0x6d2f27(_0x34c6fd._0x10dd36)](_0x5dede9);return c[_0x6d2f27(_0x34c6fd._0x2ee65d)](_0x4ca3c5[_0x6d2f27(0x9b0)],{'genericType':_0x5dede9,'sqliteType':_0xb4dd27}),_0xb4dd27;}const _0x425226=this['typeM'+_0x6d2f27(0x888)+_0x6d2f27(0x961)+'ig'][_0x6d2f27(_0x34c6fd._0x242a90)+'e'][_0x5dede9[_0x6d2f27(0x33c)+_0x6d2f27(0x5ea)+'e']()]||'TEXT';return c[_0x6d2f27(_0x34c6fd._0x523701)](_0x4ca3c5['YrNIT'],{'genericType':_0x5dede9,'sqliteType':_0x425226}),_0x425226;}[_0x441e35(0x726)+_0x441e35(0x26e)+_0x441e35(0x7a9)+'eType'](_0x5c0459){const _0x181c33={_0x309f6f:0xbf7,_0x5da323:0xb25,_0x29178d:0x524,_0x779b1d:0xbf7,_0x30edc8:0x43f,_0x147a9b:0x82a,_0x916795:0x82a,_0x1cd2d0:0x394,_0x13f5bb:0x33c,_0x3d1a23:0x5ea,_0x51613f:0x524},_0x8fa93d=_0x441e35,_0x2d99e6={'NnqEp':_0x8fa93d(_0x181c33._0x309f6f),'hAhRy':_0x8fa93d(_0x181c33._0x5da323)+'ER','ECvPA':_0x8fa93d(0x82a),'hEjpf':_0x8fa93d(0x505)};return{'string':_0x2d99e6[_0x8fa93d(_0x181c33._0x29178d)],'varchar':_0x2d99e6['NnqEp'],'char':_0x2d99e6['NnqEp'],'email':_0x8fa93d(_0x181c33._0x779b1d),'url':_0x8fa93d(0xbf7),'uuid':_0x2d99e6[_0x8fa93d(0x524)],'integer':_0x2d99e6[_0x8fa93d(0x394)],'bigint':'INTEG'+'ER','smallint':_0x8fa93d(0xb25)+'ER','tinyint':_0x8fa93d(_0x181c33._0x5da323)+'ER','decimal':_0x2d99e6[_0x8fa93d(_0x181c33._0x30edc8)],'numeric':_0x2d99e6[_0x8fa93d(0x43f)],'float':_0x8fa93d(_0x181c33._0x147a9b),'double':_0x8fa93d(_0x181c33._0x916795),'boolean':_0x2d99e6[_0x8fa93d(_0x181c33._0x1cd2d0)],'timestamp':_0x8fa93d(_0x181c33._0x779b1d),'datetime':_0x8fa93d(0xbf7),'date':_0x2d99e6[_0x8fa93d(0x524)],'time':_0x2d99e6[_0x8fa93d(_0x181c33._0x29178d)],'json':_0x2d99e6[_0x8fa93d(0x524)],'array':_0x2d99e6['NnqEp'],'blob':_0x8fa93d(0x505),'binary':_0x2d99e6[_0x8fa93d(0x40b)]}[_0x5c0459[_0x8fa93d(_0x181c33._0x13f5bb)+_0x8fa93d(_0x181c33._0x3d1a23)+'e']()]||_0x2d99e6[_0x8fa93d(_0x181c33._0x51613f)];}[_0x441e35(0xc21)+_0x441e35(0x674)+_0x441e35(0xa4f)+_0x441e35(0x721)+'ion'](_0x36dd7c){const _0x52a6cd={_0x549808:0x617,_0x2d6731:0xab7,_0x29c8cc:0x6f5,_0x296759:0x76a,_0x35a114:0x7eb,_0x54c891:0x2d7,_0x20efba:0xb58,_0x3c55b2:0x617,_0x27d5ed:0xa50,_0x2d0e0e:0x3b1,_0x1e4c70:0x654,_0x28a048:0x73f,_0x1166fa:0x525,_0x18741a:0xbab,_0x149c60:0x309,_0x5e312b:0xae6,_0x56c771:0x2b3,_0x1956ee:0x771,_0x358fa3:0xc4c,_0x11f78b:0x716,_0x3b4aa3:0xa3c,_0x37fc53:0xb81,_0x22fd06:0xa7b,_0x2f33b0:0x93c,_0x28c224:0xb71,_0x145c6f:0x3c4,_0x1ea004:0xae6,_0x2a0b62:0x7d7,_0x4908a0:0x715,_0xf2fdb3:0x4b2,_0x37584e:0x2ea,_0x31e4f0:0xc0a,_0x154c92:0x955,_0x3d6798:0x231,_0x4365e7:0x2df,_0x29f164:0x64d,_0x25a6eb:0xa8b,_0x3acc45:0x47c,_0x3a6168:0x886},_0x5cb085={_0x3be934:0x7e7,_0x31e188:0x88f},_0x1213e4=_0x441e35,_0xdb8348={'KZMyv':function(_0xc9ac14,_0x362cc1,_0x5be7d9){return _0xc9ac14(_0x362cc1,_0x5be7d9);},'Nvkad':function(_0x56fb2f,_0xffc3a1){return _0x56fb2f*_0xffc3a1;},'hPtvG':_0x1213e4(0x809)+'ssing'+_0x1213e4(_0x52a6cd._0x549808)+_0x1213e4(_0x52a6cd._0x2d6731)+_0x1213e4(0x9f1)+_0x1213e4(0xa12),'wCKSY':_0x1213e4(0x69e)+'RY','XEjzR':'PRIMA'+_0x1213e4(_0x52a6cd._0x29c8cc)+'Y','zZWWH':_0x1213e4(0x94e)+_0x1213e4(0x2d0)+_0x1213e4(_0x52a6cd._0x296759),'tszSR':_0x1213e4(0x214),'MAJzz':'NOT\x20N'+_0x1213e4(0x701),'xESXo':_0x1213e4(_0x52a6cd._0x35a114)+'LT','lmWgu':function(_0x58b4fe,_0x21620b){return _0x58b4fe!==_0x21620b;},'nQdic':function(_0x5e5ff4,_0x544afc){return _0x5e5ff4===_0x544afc;},'unszs':_0x1213e4(0xa1e),'wxGwT':function(_0x1e3f9e,_0x3f9584){return _0x1e3f9e+_0x3f9584;}};c[_0x1213e4(_0x52a6cd._0x54c891)]('Proce'+_0x1213e4(_0x52a6cd._0x20efba)+_0x1213e4(_0x52a6cd._0x3c55b2)+_0x1213e4(0x711)+_0x1213e4(0x721)+_0x1213e4(_0x52a6cd._0x27d5ed),{'columnName':_0x36dd7c['name'],'originalType':_0x36dd7c[_0x1213e4(0x886)]});const _0x1ce455=Object[_0x1213e4(0x5ca)+'n']({},_0x36dd7c);_0x1ce455[_0x1213e4(0x886)]=this[_0x1213e4(0x429)+_0x1213e4(_0x52a6cd._0x2d0e0e)+'QLite'+_0x1213e4(_0x52a6cd._0x1e4c70)](_0x36dd7c[_0x1213e4(0x886)]);const _0x1c2c3e=[];if(_0x36dd7c[_0x1213e4(_0x52a6cd._0x28a048)+'raint'+'s']){c[_0x1213e4(_0x52a6cd._0x54c891)](_0xdb8348[_0x1213e4(0x1d7)],{'columnName':_0x36dd7c['name'],'constraints':_0x36dd7c[_0x1213e4(_0x52a6cd._0x28a048)+_0x1213e4(_0x52a6cd._0x1166fa)+'s']});const _0x24e0fe=_0x36dd7c[_0x1213e4(0x73f)+_0x1213e4(_0x52a6cd._0x1166fa)+'s'][_0x1213e4(0x8b5)+_0x1213e4(0x5ea)+'e']()['split']('\x20');_0x24e0fe['inclu'+_0x1213e4(0x2b3)](_0xdb8348[_0x1213e4(_0x52a6cd._0x18741a)])&&(_0x1c2c3e[_0x1213e4(0x7d7)](_0xdb8348[_0x1213e4(_0x52a6cd._0x149c60)]),_0x1ce455[_0x1213e4(_0x52a6cd._0x5e312b)+_0x1213e4(0xc4c)+'y']=!(0x149f+0x23*-0x80+-0x31f)),(_0x24e0fe['inclu'+_0x1213e4(_0x52a6cd._0x56c771)](_0x1213e4(0x855)+_0x1213e4(0x4a7)+_0x1213e4(_0x52a6cd._0x1956ee))||_0x24e0fe['inclu'+_0x1213e4(0x2b3)]('AUTOI'+_0x1213e4(0x2d0)+_0x1213e4(_0x52a6cd._0x296759)))&&(_0x1ce455[_0x1213e4(_0x52a6cd._0x5e312b)+_0x1213e4(_0x52a6cd._0x358fa3)+'y']&&_0x1c2c3e[_0x1213e4(0x7d7)](_0xdb8348[_0x1213e4(_0x52a6cd._0x11f78b)]),_0x1ce455[_0x1213e4(_0x52a6cd._0x3b4aa3)+_0x1213e4(_0x52a6cd._0x37fc53)+_0x1213e4(0x2ab)]=!(0x6f2+0x805+-0xef7*0x1)),_0x24e0fe['inclu'+_0x1213e4(0x2b3)](_0xdb8348[_0x1213e4(_0x52a6cd._0x22fd06)])&&_0x24e0fe[_0x1213e4(0x937)+_0x1213e4(0x2b3)](_0x1213e4(_0x52a6cd._0x2f33b0))&&(_0x1c2c3e[_0x1213e4(0x7d7)](_0xdb8348[_0x1213e4(0x6db)]),_0x1ce455[_0x1213e4(0x857)+_0x1213e4(_0x52a6cd._0x28c224)]=!(0x1*0x1449+-0x2488+0x1040)),_0x24e0fe[_0x1213e4(0x937)+_0x1213e4(0x2b3)](_0x1213e4(_0x52a6cd._0x145c6f)+'E')&&(_0x1ce455[_0x1213e4(_0x52a6cd._0x1ea004)+_0x1213e4(0xc4c)+'y']||_0x1c2c3e[_0x1213e4(_0x52a6cd._0x2a0b62)]('UNIQU'+'E'),_0x1ce455['uniqu'+'e']=!(-0x12dd+0x1cad+-0x274*0x4));const _0x5a084d=_0x24e0fe[_0x1213e4(0x59a)+'Of'](_0xdb8348['xESXo']);if(_0xdb8348[_0x1213e4(_0x52a6cd._0x4908a0)](_0x5a084d,-(0x10f*-0x9+0x1*-0x1eb7+0x283f*0x1))&&_0x24e0fe[_0x1213e4(_0x52a6cd._0xf2fdb3)+'h']>_0x5a084d+(-0x15dc+0x1150+0x48d)){if(_0xdb8348[_0x1213e4(0x602)](_0xdb8348['unszs'],_0xdb8348[_0x1213e4(0x6bc)])){const _0xa2155c=_0x24e0fe[_0xdb8348['wxGwT'](_0x5a084d,-0x5bd+-0x1225+0x17e3)];_0x1c2c3e[_0x1213e4(0x7d7)](_0x1213e4(0x7eb)+_0x1213e4(_0x52a6cd._0x37584e)+_0xa2155c),_0x1ce455['defau'+'lt']=_0xa2155c;}else this[_0x1213e4(0x7d3)+_0x1213e4(_0x52a6cd._0x31e4f0)+_0x1213e4(0x20d)]=_0xdb8348['KZMyv'](_0x2d35aa,()=>{const _0x3bdc22=_0x1213e4;this[_0x3bdc22(0x7d3)+'upUnu'+_0x3bdc22(_0x5cb085._0x3be934)+_0x3bdc22(_0x5cb085._0x31e188)+'s']();},_0xdb8348[_0x1213e4(0x2bc)](-0xa*0x224+0xa58*0x2+0x1e4*0x1,0x20ec+0x80*0x43+-0x2*0x1f42));}}return _0x1ce455[_0x1213e4(_0x52a6cd._0x154c92)+_0x1213e4(0x52c)]=_0x1c2c3e[_0x1213e4(_0x52a6cd._0x3d6798)]('\x20')[_0x1213e4(_0x52a6cd._0x4365e7)](),c[_0x1213e4(_0x52a6cd._0x29f164)](_0x1213e4(_0x52a6cd._0x25a6eb)+_0x1213e4(0x4fc)+'initi'+'on\x20pr'+'ocess'+'ed',{'columnName':_0x36dd7c[_0x1213e4(_0x52a6cd._0x3acc45)],'finalType':_0x1ce455[_0x1213e4(_0x52a6cd._0x3a6168)],'options':_0x1ce455[_0x1213e4(0x955)+_0x1213e4(0x52c)]}),_0x1ce455;}async['initi'+_0x441e35(0x53d)+_0x441e35(0xcd2)+_0x441e35(0x5bd)](_0x4a0705){const _0x38f89a={_0x40853a:0x824,_0x275bfe:0x20e,_0xfd9b59:0x5da,_0x204871:0x42d,_0x5dd946:0x735,_0x447be4:0x93a,_0x3cdd8b:0x7f4,_0x284458:0x85b,_0xe022e1:0x93a,_0x351489:0x77f,_0x1c2c9b:0x93a,_0x105b62:0x364,_0x3b3918:0x77f,_0x30202a:0x572,_0x36a9cd:0xac5,_0x4ca298:0xc2c,_0x4ec10f:0x5c1,_0x20cd47:0x25b,_0x310c18:0x54f,_0x24d5c8:0xc11,_0x3136c5:0xb27,_0x1732bc:0xc71,_0xc227c5:0xcae,_0x230d9a:0xce3,_0x181373:0xa65,_0x43b53e:0x68a,_0x2abc3d:0x86a,_0xabfd5d:0x8d6,_0x4c85fc:0x4b2,_0x5a815e:0xaac,_0x2dfc17:0x5bd,_0x4b2362:0x25b,_0x59e902:0x64d,_0x3911af:0x3db,_0x4e6e1d:0x887,_0xe95dfd:0x4e9,_0x2430f6:0xbf5,_0x13abce:0x6e4,_0x220f04:0xc57,_0x1bc607:0x5c1,_0x115a0d:0xbc9,_0x137131:0xccb,_0x4a8dce:0x62c,_0x345bcf:0x51b,_0x394d0e:0x51b,_0x367369:0x827,_0x36a949:0xc45,_0x5f3b31:0xb5c,_0x116c92:0x576,_0x2cf539:0x955,_0x1ffefe:0xb6e,_0x3bfc20:0x470,_0x5a0e05:0x514,_0x341a5c:0x57d,_0x19f814:0x4e4,_0x4be3b8:0x2bd,_0x4a47be:0x2aa,_0x2c6f23:0xb5f,_0x36194a:0x507,_0xd8d984:0x57f,_0x44a06b:0x50a,_0x423299:0x30e,_0x57dd72:0xc73,_0x377b13:0xabb,_0x166432:0x633,_0x2675b5:0x44f,_0x226c1f:0x5cb,_0x47b4ee:0x93a,_0x493d65:0x52d,_0x196ef9:0x469,_0x48e595:0x64d,_0x130fd7:0x4b2,_0x357a14:0x3cd,_0x289d78:0x35e,_0x4d65c3:0x9d7,_0x1e0570:0x59a,_0x275ad9:0x64d,_0x247d0b:0x4b2,_0xd4c8c9:0x586,_0xb4d065:0x350,_0x3ede73:0x980,_0xafdd1f:0xa0f,_0x356fd8:0x346,_0x3e9cc2:0xcd7,_0x366e03:0x598},_0x456eff=_0x441e35,_0x5705cd={'yLHnB':_0x456eff(0x941)+_0x456eff(_0x38f89a._0x40853a)+_0x456eff(0x601)+_0x456eff(0xaad)+'e\x20sch'+'ema','eCRKY':function(_0x180b22,_0x78f20a){return _0x180b22>_0x78f20a;},'qpzTU':_0x456eff(_0x38f89a._0x275bfe)+'ing\x20f'+_0x456eff(_0x38f89a._0xfd9b59)+_0x456eff(_0x38f89a._0x204871)+_0x456eff(0x989)+_0x456eff(_0x38f89a._0x5dd946)+'ts','VOTIY':function(_0x43ea94,_0x1016fa){return _0x43ea94 instanceof _0x1016fa;},'POtlB':_0x456eff(_0x38f89a._0x447be4)+_0x456eff(_0x38f89a._0x3cdd8b)+_0x456eff(_0x38f89a._0x284458),'wIStS':_0x456eff(_0x38f89a._0xe022e1)+'ing\x20i'+'ndexe'+'s\x20for'+_0x456eff(_0x38f89a._0x351489)+'es','pYJOA':function(_0x9efbb7,_0xf15a06){return _0x9efbb7===_0xf15a06;},'cDpSw':_0x456eff(_0x38f89a._0x1c2c9b)+_0x456eff(_0x38f89a._0x105b62)+_0x456eff(0xab3)+'s\x20for'+_0x456eff(_0x38f89a._0x3b3918)+'e','QEgoi':_0x456eff(0x5c1)+_0x456eff(_0x38f89a._0x30202a)+'tiali'+_0x456eff(_0x38f89a._0x36a9cd)+'n\x20com'+_0x456eff(0x40e)+_0x456eff(0x39d)+_0x456eff(_0x38f89a._0x4ca298)+'ully','GDsif':_0x456eff(_0x38f89a._0x4ec10f)+_0x456eff(_0x38f89a._0x30202a)+'tiali'+_0x456eff(_0x38f89a._0x36a9cd)+'n\x20fai'+'led,\x20'+_0x456eff(0x23d)+'ng\x20ba'+'ck\x20tr'+_0x456eff(0x598)+_0x456eff(0xb76)};var _0x15d47e,_0x21ab3c;c[_0x456eff(0x5cb)](_0x5705cd[_0x456eff(0xcaf)],{'schemaVersion':_0x4a0705[_0x456eff(_0x38f89a._0x20cd47)+'on'],'tableCount':Object[_0x456eff(_0x38f89a._0x310c18)](_0x4a0705['schem'+'as'])[_0x456eff(0x4b2)+'h']}),this['ensur'+'eConn'+_0x456eff(_0x38f89a._0x24d5c8)]();let _0x5e0d87=!(-0x1b24+0xf91+-0x2*-0x5ca);try{const _0x267f13=await this['execu'+'te'](_0x456eff(0x3a4)+_0x456eff(_0x38f89a._0x3136c5)+_0x456eff(_0x38f89a._0x1732bc)+_0x456eff(0x547)+_0x456eff(_0x38f89a._0xc227c5)+_0x456eff(0x900)+'fo\x20OR'+_0x456eff(0x2bf)+_0x456eff(_0x38f89a._0x230d9a)+_0x456eff(_0x38f89a._0x181373)+_0x456eff(_0x38f89a._0x43b53e)+_0x456eff(0x3af)+'MIT\x201');_0x5e0d87=_0x5705cd[_0x456eff(_0x38f89a._0x2abc3d)](_0x267f13[_0x456eff(_0x38f89a._0xabfd5d)][_0x456eff(_0x38f89a._0x4c85fc)+'h'],-0xf5b+-0x46f+0x13ca),_0x5e0d87&&c[_0x456eff(0x64d)](_0x456eff(_0x38f89a._0x5a815e)+_0x456eff(0x884)+_0x456eff(_0x38f89a._0x2dfc17)+_0x456eff(0x577)+'cted',{'currentVersion':(_0x15d47e=_0x267f13[_0x456eff(0x8d6)][-0x2631+0x181f+0xe12])===null||_0x15d47e===void(-0x1b5f*-0x1+-0x20ee+0x58f)?void(-0x8ff*-0x3+-0x216f*-0x1+-0x3c6c):_0x15d47e[_0x456eff(_0x38f89a._0x4b2362)+'on']});}catch(_0x5cda65){c[_0x456eff(_0x38f89a._0x59e902)](_0x456eff(_0x38f89a._0x3911af)+_0x456eff(_0x38f89a._0x4e6e1d)+_0x456eff(0xcb6)+_0x456eff(0x9ff)+_0x456eff(0x697)+_0x456eff(0x1cf)+_0x456eff(0x5bd)+'!\x20No\x20'+'exist'+_0x456eff(0x884)+_0x456eff(_0x38f89a._0x2dfc17)+'\x20_sch'+_0x456eff(0xa11)+_0x456eff(_0x38f89a._0xe95dfd)+_0x456eff(0xc7e)+'ed'),_0x5e0d87=!(0x1d9f*-0x1+0x1*-0x20da+0x1f3d*0x2);}if(_0x5e0d87&&!this[_0x456eff(_0x38f89a._0x2430f6)+_0x456eff(0x8a5)+_0x456eff(_0x38f89a._0x13abce)+'ts']&&!this['force'+_0x456eff(_0x38f89a._0x220f04)+_0x456eff(0x30c)]){c[_0x456eff(0x5cb)](_0x456eff(_0x38f89a._0x1bc607)+'a\x20exi'+_0x456eff(_0x38f89a._0x115a0d)+'nd\x20no'+'\x20recr'+_0x456eff(_0x38f89a._0x137131)+_0x456eff(0x4ab)+_0x456eff(0x589)+_0x456eff(0x4c1)+_0x456eff(0x6a3)+_0x456eff(_0x38f89a._0x4a8dce)+'ting\x20'+_0x456eff(0x495)+'a'),_0x4a0705[_0x456eff(0x2bd)+_0x456eff(_0x38f89a._0x345bcf)+'ng']&&this[_0x456eff(0x2aa)+_0x456eff(0xb5f)+_0x456eff(0x507)+_0x456eff(0x57f)](_0x4a0705[_0x456eff(0x2bd)+_0x456eff(_0x38f89a._0x394d0e)+'ng']);return;}_0x5e0d87&&this[_0x456eff(_0x38f89a._0x367369)+_0x456eff(_0x38f89a._0x220f04)+_0x456eff(0x30c)]&&(c[_0x456eff(_0x38f89a._0x36a949)](_0x456eff(_0x38f89a._0x5f3b31)+_0x456eff(_0x38f89a._0x116c92)+_0x456eff(0xb7f)+_0x456eff(_0x38f89a._0x2cf539)+'n\x20ena'+_0x456eff(0x9a3)+'\x20drop'+'ping\x20'+_0x456eff(0xb17)+_0x456eff(_0x38f89a._0x1ffefe)+_0x456eff(_0x38f89a._0x3bfc20)+_0x456eff(0xa29)),await this[_0x456eff(_0x38f89a._0x5a0e05)+_0x456eff(_0x38f89a._0x341a5c)+_0x456eff(_0x38f89a._0x19f814)]()),_0x4a0705[_0x456eff(_0x38f89a._0x4be3b8)+_0x456eff(0x51b)+'ng']&&this[_0x456eff(_0x38f89a._0x4a47be)+_0x456eff(_0x38f89a._0x2c6f23)+_0x456eff(_0x38f89a._0x36194a)+_0x456eff(_0x38f89a._0xd8d984)](_0x4a0705['type_'+'mappi'+'ng']);try{c[_0x456eff(0x64d)](_0x5705cd['qpzTU']),await this[_0x456eff(_0x38f89a._0x44a06b)+'te'](_0x456eff(_0x38f89a._0x423299)+'A\x20for'+_0x456eff(0x45c)+_0x456eff(_0x38f89a._0x57dd72)+_0x456eff(0x200));}catch(_0x2a33d6){c['warn'](_0x456eff(_0x38f89a._0x377b13)+'d\x20to\x20'+'enabl'+'e\x20for'+'eign\x20'+_0x456eff(0x4b7)+_0x456eff(0x55f)+_0x456eff(_0x38f89a._0x166432),{'error':_0x5705cd[_0x456eff(_0x38f89a._0x2675b5)](_0x2a33d6,Error)?_0x2a33d6['messa'+'ge']:_0x2a33d6});}await this[_0x456eff(0x224)+_0x456eff(0x5e2)+'actio'+'n']();try{c[_0x456eff(_0x38f89a._0x226c1f)](_0x456eff(_0x38f89a._0x47b4ee)+_0x456eff(0x7f4)+_0x456eff(0x31a)+_0x456eff(_0x38f89a._0x493d65)+_0x456eff(0xc4a)+'ma');for(const [_0x39a4f7,_0x2704ae]of Object[_0x456eff(_0x38f89a._0x196ef9)+'es'](_0x4a0705[_0x456eff(0x495)+'as'])){c[_0x456eff(_0x38f89a._0x48e595)](_0x5705cd[_0x456eff(0xa79)],{'tableName':_0x39a4f7,'columnCount':_0x2704ae[_0x456eff(0x3cd)][_0x456eff(_0x38f89a._0x130fd7)+'h']});const _0x23e56c={'name':_0x39a4f7,'cols':_0x2704ae[_0x456eff(_0x38f89a._0x357a14)][_0x456eff(0x269)](_0x4c0a78=>this[_0x456eff(0xc21)+_0x456eff(0x674)+_0x456eff(0xa4f)+_0x456eff(0x721)+_0x456eff(0xa50)](_0x4c0a78)),'description':_0x2704ae['descr'+_0x456eff(_0x38f89a._0x289d78)+'n'],'indexes':_0x2704ae[_0x456eff(0x59a)+'es'],'foreign_keys':_0x2704ae[_0x456eff(0x67a)+_0x456eff(0x7d0)+'ys']};await this['creat'+_0x456eff(0x808)+_0x456eff(_0x38f89a._0x4d65c3)+'Forei'+_0x456eff(0x91f)+'s'](_0x23e56c);}c[_0x456eff(_0x38f89a._0x226c1f)](_0x5705cd['wIStS']);for(const [_0x385a97,_0x3ce3d0]of Object['entri'+'es'](_0x4a0705[_0x456eff(0x495)+'as']))!(_0x5705cd[_0x456eff(0x1e7)](_0x21ab3c=_0x3ce3d0[_0x456eff(_0x38f89a._0x1e0570)+'es'],null)||_0x21ab3c===void(-0x1*0x16f4+0x2258+-0x2d9*0x4))&&_0x21ab3c[_0x456eff(0x4b2)+'h']&&(c[_0x456eff(_0x38f89a._0x275ad9)](_0x5705cd[_0x456eff(0x607)],{'tableName':_0x385a97,'indexCount':_0x3ce3d0[_0x456eff(0x59a)+'es'][_0x456eff(_0x38f89a._0x247d0b)+'h']}),await this['creat'+'eInde'+_0x456eff(_0x38f89a._0xd4c8c9)+'rTabl'+'e'](_0x385a97,_0x3ce3d0[_0x456eff(0x59a)+'es']));await this[_0x456eff(0xcf8)+_0x456eff(0x337)+_0x456eff(_0x38f89a._0xb4d065)+'n'](_0x4a0705[_0x456eff(_0x38f89a._0x20cd47)+'on']),await this['commi'+'tTran'+_0x456eff(_0x38f89a._0x3ede73)+'on'](),c[_0x456eff(0x5cb)](_0x5705cd[_0x456eff(_0x38f89a._0xafdd1f)],{'version':_0x4a0705[_0x456eff(0x25b)+'on']});}catch(_0x149835){throw c[_0x456eff(0x850)](_0x5705cd[_0x456eff(_0x38f89a._0x356fd8)],{'error':_0x149835 instanceof Error?_0x149835[_0x456eff(0x6d8)+'ge']:_0x149835}),await this['rollb'+_0x456eff(_0x38f89a._0x3e9cc2)+_0x456eff(_0x38f89a._0x366e03)+_0x456eff(0xb76)](),_0x149835;}}async[_0x441e35(0x514)+_0x441e35(0x57d)+_0x441e35(0x4e4)](){const _0x251165={_0x2bd1c3:0x9c7,_0xaa470e:0x6f8,_0x277844:0x24b,_0x30f4a9:0x98e,_0x1a6f49:0x57e,_0x121257:0x5cb,_0x5820b0:0x8ba,_0x1b650a:0x991,_0x3013a0:0x1d1,_0x30b257:0x85a,_0x3cdc57:0xa8d,_0xd2d571:0xb52,_0x33a6fa:0x8d6,_0x12820a:0x50a,_0x27c1e3:0x322,_0x259f86:0x5ef,_0x3ee443:0x9b8,_0x413297:0x47c,_0x11e8d7:0xb46,_0x404ce4:0x46e,_0x3d3524:0x980,_0x27708c:0x31a,_0x3c3613:0x850,_0x206569:0x67e,_0x131563:0x539,_0x907013:0xcd7,_0x1811fe:0xb76},_0x234a5e=_0x441e35,_0xcd4dc4={'LYrzG':_0x234a5e(0x3a4)+_0x234a5e(0x785)+'e\x20FRO'+_0x234a5e(_0x251165._0x2bd1c3)+_0x234a5e(0x756)+_0x234a5e(0x3ae)+_0x234a5e(0x4da)+_0x234a5e(0x65c)+_0x234a5e(_0x251165._0xaa470e)+_0x234a5e(_0x251165._0x277844)+_0x234a5e(0x1e3)+_0x234a5e(0x801)+'OT\x20LI'+_0x234a5e(0xa22)+'qlite'+'_%\x27','xewIo':_0x234a5e(0xabb)+'d\x20to\x20'+'drop\x20'+_0x234a5e(0x828)+_0x234a5e(_0x251165._0x30f4a9)+_0x234a5e(_0x251165._0x1a6f49)+_0x234a5e(0x918)};c[_0x234a5e(_0x251165._0x121257)](_0x234a5e(_0x251165._0x5820b0)+'ing\x20a'+_0x234a5e(_0x251165._0x1b650a)+_0x234a5e(0xaf9)+_0x234a5e(_0x251165._0x3013a0)+_0x234a5e(0x4e4));const _0x1dd555=await this[_0x234a5e(0x50a)+'te'](_0xcd4dc4[_0x234a5e(0x7d9)]);c[_0x234a5e(0x64d)](_0x234a5e(_0x251165._0x30b257)+'\x20tabl'+_0x234a5e(_0x251165._0x3cdc57)+_0x234a5e(_0x251165._0xd2d571),{'tableCount':_0x1dd555[_0x234a5e(0x8d6)]['lengt'+'h']}),await this['begin'+'Trans'+'actio'+'n']();try{for(const _0xc3d643 of _0x1dd555[_0x234a5e(_0x251165._0x33a6fa)])c[_0x234a5e(0x2d7)](_0x234a5e(0x8ba)+'ing\x20t'+'able',{'tableName':_0xc3d643[_0x234a5e(0x47c)]}),await this[_0x234a5e(_0x251165._0x12820a)+'te'](_0x234a5e(_0x251165._0x27c1e3)+_0x234a5e(_0x251165._0x259f86)+_0x234a5e(0xc5d)+_0x234a5e(_0x251165._0x3ee443)+'\x20'+_0xc3d643[_0x234a5e(_0x251165._0x413297)]);await this[_0x234a5e(_0x251165._0x11e8d7)+_0x234a5e(_0x251165._0x404ce4)+_0x234a5e(_0x251165._0x3d3524)+'on'](),c[_0x234a5e(0x5cb)]('All\x20t'+_0x234a5e(_0x251165._0x27708c)+_0x234a5e(0xb52)+_0x234a5e(0xb77)+_0x234a5e(0xc8a)+_0x234a5e(0xcc9)+'y');}catch(_0x3a1677){throw c[_0x234a5e(_0x251165._0x3c3613)](_0xcd4dc4[_0x234a5e(_0x251165._0x206569)],{'error':_0x3a1677 instanceof Error?_0x3a1677[_0x234a5e(0x6d8)+'ge']:_0x3a1677}),await this[_0x234a5e(_0x251165._0x131563)+_0x234a5e(_0x251165._0x907013)+'ansac'+_0x234a5e(_0x251165._0x1811fe)](),_0x3a1677;}}async[_0x441e35(0xbf5)+_0x441e35(0x808)+_0x441e35(0x9d7)+_0x441e35(0xa34)+_0x441e35(0x91f)+'s'](_0x383ebb){const _0x43742a={_0x3b1cb8:0x4b3,_0x5887d2:0x534,_0x4e72a4:0xa34,_0x316edf:0x7e4,_0x1a5dd2:0x89c,_0x23759b:0xa7c,_0x13311a:0x316,_0x28dca0:0x92b,_0x2fc736:0x9dc,_0x3d592e:0xbe3,_0x3e1a4f:0xc8a,_0x45e99d:0xcc9,_0x5cd687:0x3cd,_0x130e92:0x67a,_0x1616b0:0x7d0,_0x36ca94:0x868,_0x4ddfcc:0x64d,_0x4b5640:0x3c8,_0x10a14e:0x47c,_0x58bb0c:0x3eb,_0x587ae3:0xacb,_0x2c11c0:0x350,_0x5e15e6:0x872,_0x5b7ba1:0xabc,_0x3573d5:0x886,_0x5950ef:0x9de,_0x56c794:0x4b2,_0x567d2d:0xcc8,_0x4f9373:0xa45,_0x2d17a2:0x260,_0x2606ab:0x6d8,_0x94ac38:0xc45,_0x17cb89:0x316,_0x7e0487:0x966,_0x4aa8e1:0x7e4,_0x4f2864:0x5c3,_0x2cc067:0x4b2,_0xe09da3:0x5bf,_0x47cf3e:0xa05,_0x39aec7:0x8c5,_0x1643e2:0xbca,_0x407f99:0xc80,_0x8204e0:0x231,_0x1cb482:0xb70,_0xe9e51c:0x8b9,_0x263dfe:0x6fc,_0x510e63:0x345,_0x3a01f9:0x50a,_0x2bfbc2:0x64d,_0xb95a92:0x850,_0x100f98:0xbf5,_0x476e76:0x47c},_0x2522f5=_0x441e35,_0x416b3f={'DJkCf':'Regis'+_0x2522f5(0x537)+'g\x20mul'+_0x2522f5(0xc26)+_0x2522f5(_0x43742a._0x3b1cb8)+'ices','hLYZo':_0x2522f5(0x578)+'ceMan'+_0x2522f5(0x9af)+_0x2522f5(0x532)+_0x2522f5(0x66b)+_0x2522f5(0x5ad)+'l\x20eve'+_0x2522f5(0x3aa)+'ndler'+':','ALnTB':'qiaeP','MmGvk':_0x2522f5(0x393),'BbSkk':function(_0x4b05f6,_0x1640b7){return _0x4b05f6!==_0x1640b7;},'VrUXj':_0x2522f5(_0x43742a._0x5887d2),'ttJbR':function(_0x1c4f61,_0x2574ae){return _0x1c4f61===_0x2574ae;},'Ofjyo':_0x2522f5(_0x43742a._0x4e72a4)+_0x2522f5(0x8f1)+_0x2522f5(0x926)+_0x2522f5(0xa99)+_0x2522f5(_0x43742a._0x316edf)+_0x2522f5(_0x43742a._0x1a5dd2)+'und','LuuZM':function(_0x88c18,_0x32f742){return _0x88c18===_0x32f742;},'wtMoo':_0x2522f5(_0x43742a._0x23759b),'tzMam':'Inval'+_0x2522f5(0x9b3)+'reign'+_0x2522f5(0x673)+_0x2522f5(_0x43742a._0x13311a)+_0x2522f5(_0x43742a._0x28dca0),'GbioK':_0x2522f5(_0x43742a._0x2fc736)+'\x20crea'+_0x2522f5(_0x43742a._0x3d592e)+_0x2522f5(_0x43742a._0x3e1a4f)+_0x2522f5(_0x43742a._0x45e99d)+'y'};var _0x3b6bcc,_0x3fef9b,_0x2e70e8,_0x37d5c9,_0x2dd576;c['trace']('Creat'+'ing\x20t'+_0x2522f5(0x30b)+'with\x20'+'forei'+'gn\x20ke'+'ys',{'tableName':_0x383ebb[_0x2522f5(0x47c)]});const _0x4551de=_0x383ebb[_0x2522f5(_0x43742a._0x5cd687)]['map'](_0x2b4ac9=>(_0x2b4ac9[_0x2522f5(0x47c)]+'\x20'+_0x2b4ac9[_0x2522f5(0x886)]+'\x20'+(_0x2b4ac9[_0x2522f5(0x955)+_0x2522f5(0x52c)]||''))[_0x2522f5(0x2df)]()),_0x46b738=[],_0x5053e5=_0x383ebb[_0x2522f5(_0x43742a._0x130e92)+_0x2522f5(_0x43742a._0x1616b0)+'ys'];if(_0x5053e5){if(_0x416b3f[_0x2522f5(_0x43742a._0x36ca94)]!==_0x416b3f['MmGvk']){c[_0x2522f5(_0x43742a._0x4ddfcc)]('Proce'+_0x2522f5(0xb58)+_0x2522f5(0x44e)+_0x2522f5(_0x43742a._0x4b5640)+_0x2522f5(0x35b),{'tableName':_0x383ebb[_0x2522f5(_0x43742a._0x10a14e)],'fkCount':_0x5053e5[_0x2522f5(0x4b2)+'h']});for(const _0x32065a of _0x5053e5){if(_0x416b3f['BbSkk'](_0x416b3f[_0x2522f5(_0x43742a._0x58bb0c)],'yXwjz'))throw _0x23f2a7[_0x2522f5(0x850)](_0x2522f5(_0x43742a._0x587ae3)+_0x2522f5(0x40f)+_0x2522f5(_0x43742a._0x2c11c0)+'n\x20fai'+_0x2522f5(0x75f)+_0x2522f5(_0x43742a._0x5e15e6)+_0x2522f5(_0x43742a._0x5b7ba1)+_0x2522f5(0xaff)+'n',{'tableName':_0x55d995,'columnName':_0x7a4ff1,'value':_0x1bffe9,'columnType':_0x429f4d[_0x2522f5(_0x43742a._0x3573d5)],'error':_0x4daad9 instanceof _0x328518?_0x21f51b['messa'+'ge']:_0x908b25}),_0x1ae77f;else{const _0x31685d=_0x32065a[_0x2522f5(0x7e4)+'ns']?Array[_0x2522f5(0x966)+'ay'](_0x32065a[_0x2522f5(0x7e4)+'ns'])?_0x32065a[_0x2522f5(0x7e4)+'ns']:[_0x32065a[_0x2522f5(0x7e4)+'ns']]:[];if(_0x416b3f[_0x2522f5(_0x43742a._0x5950ef)](_0x31685d[_0x2522f5(_0x43742a._0x56c794)+'h'],-0xd4e+0x19b9+0xb*-0x121)){if('wSxNT'!==_0x2522f5(0x622))return _0x1aee5a[_0x2522f5(0x850)](_0x2522f5(0x4e6)+_0x2522f5(_0x43742a._0x567d2d)+_0x2522f5(_0x43742a._0x4f9373)+_0x2522f5(_0x43742a._0x2d17a2)+'vice\x20'+_0x2522f5(0x66e)+_0x2522f5(0x9aa)+_0x2522f5(0x7d3)+'up',{'serviceKey':_0xa4bc87,'error':_0x4c727b[_0x2522f5(_0x43742a._0x2606ab)+'ge']}),!(0x1cf*0x4+0x1ab8+0x1*-0x21f3);else{c[_0x2522f5(_0x43742a._0x94ac38)](_0x416b3f['Ofjyo'],{'tableName':_0x383ebb[_0x2522f5(_0x43742a._0x10a14e)],'foreignKey':_0x32065a});continue;}}const _0x10786c=(_0x3b6bcc=_0x32065a[_0x2522f5(0x316)+'ences'])===null||_0x416b3f[_0x2522f5(0x9de)](_0x3b6bcc,void(0x17*0x2a+0x173d+-0x3*0x901))?void(0x3d*-0x5e+-0xf42+0x4b5*0x8):_0x3b6bcc[_0x2522f5(0x828)],_0x56cca8=!((_0x3fef9b=_0x32065a[_0x2522f5(_0x43742a._0x17cb89)+_0x2522f5(0x276)])===null||_0x3fef9b===void(-0xc23*-0x1+0x5*0x78c+-0x31df))&&_0x3fef9b[_0x2522f5(0x7e4)+'ns']?Array[_0x2522f5(_0x43742a._0x7e0487)+'ay'](_0x416b3f['LuuZM'](_0x2e70e8=_0x32065a[_0x2522f5(0x316)+_0x2522f5(0x276)],null)||_0x416b3f[_0x2522f5(0x5c3)](_0x2e70e8,void(-0x1505+0x993+0xb72))?void(0x2352+-0x1802+-0xb50*0x1):_0x2e70e8[_0x2522f5(_0x43742a._0x316edf)+'ns'])?_0x416b3f[_0x2522f5(_0x43742a._0x5950ef)](_0x37d5c9=_0x32065a[_0x2522f5(0x316)+_0x2522f5(0x276)],null)||_0x37d5c9===void(-0x44f*0x1+-0xcd+0x51c)?void(-0x549+0x1d*0x8f+-0xaea):_0x37d5c9[_0x2522f5(_0x43742a._0x4aa8e1)+'ns']:[_0x416b3f[_0x2522f5(_0x43742a._0x4f2864)](_0x2dd576=_0x32065a[_0x2522f5(0x316)+'ences'],null)||_0x2dd576===void(-0xc97*-0x1+0x2268+0xe3*-0x35)?void(0x38c+0x2fa+-0x686):_0x2dd576[_0x2522f5(0x7e4)+'ns']]:[];if(!_0x10786c||_0x56cca8[_0x2522f5(_0x43742a._0x2cc067)+'h']===0x19*-0x9d+-0x8ff*-0x4+-0x14a7){if(_0x416b3f[_0x2522f5(0x257)]!=='IZmzt'){const _0x6701cb={_0x429fcf:0x9ce,_0x559eb9:0xc77,_0x9d7d49:0x6c4};return _0x315753[_0x2522f5(0x64d)](_0x416b3f[_0x2522f5(_0x43742a._0xe09da3)],{'count':_0x3371d1[_0x2522f5(0x4b2)+'h']}),_0x3af218['forEa'+'ch']((_0x536523,_0x482953)=>{const _0x3902f0=_0x2522f5;try{this[_0x3902f0(_0x6701cb._0x429fcf)+'terSe'+'rvice'](_0x536523);}catch(_0x3c02c4){throw _0x5eb082[_0x3902f0(0x850)](_0x3902f0(0xabb)+_0x3902f0(0x83d)+_0x3902f0(_0x6701cb._0x429fcf)+'ter\x20s'+_0x3902f0(_0x6701cb._0x559eb9)+'e\x20in\x20'+_0x3902f0(_0x6701cb._0x9d7d49),{'index':_0x482953,'config':_0x536523,'error':_0x3c02c4[_0x3902f0(0x6d8)+'ge']}),_0x3c02c4;}}),_0xa886f5[_0x2522f5(0x5cb)](_0x2522f5(0x53a)+_0x2522f5(_0x43742a._0x47cf3e)+_0x2522f5(0xc77)+_0x2522f5(0x8a2)+_0x2522f5(0xc27)+_0x2522f5(0x2a2)+_0x2522f5(0xc8a)+_0x2522f5(0xcc9)+'y',{'count':_0x387dca['lengt'+'h']}),this;}else{c['warn'](_0x416b3f[_0x2522f5(0x8e5)],{'tableName':_0x383ebb[_0x2522f5(_0x43742a._0x10a14e)],'foreignKey':_0x32065a});continue;}}let _0x51eecd=_0x2522f5(_0x43742a._0x39aec7)+_0x2522f5(_0x43742a._0x1643e2)+_0x2522f5(_0x43742a._0x407f99)+_0x31685d[_0x2522f5(_0x43742a._0x8204e0)](',\x20')+(_0x2522f5(0x6ac)+_0x2522f5(0x8ee)+_0x2522f5(_0x43742a._0x1cb482))+_0x10786c+'('+_0x56cca8[_0x2522f5(0x231)](',\x20')+')';const _0x28a099=_0x32065a[_0x2522f5(_0x43742a._0xe9e51c)+_0x2522f5(0x5b5)],_0x1cf5aa=_0x32065a['on_up'+_0x2522f5(0x517)];_0x28a099&&(_0x51eecd+=_0x2522f5(0x853)+'ELETE'+'\x20'+_0x28a099),_0x1cf5aa&&(_0x51eecd+=_0x2522f5(0x3ef)+_0x2522f5(0x6a0)+'\x20'+_0x1cf5aa),_0x46b738['push'](_0x51eecd);}}}else try{_0x23f950(_0x2d5523);}catch(_0x1ac2ce){_0x7ed689['error'](_0x416b3f['hLYZo'],_0x1ac2ce);}}const _0x351e41=[..._0x4551de,..._0x46b738],_0x4955c6=_0x2522f5(_0x43742a._0x263dfe)+'E\x20TAB'+_0x2522f5(0xb1f)+'\x20NOT\x20'+_0x2522f5(_0x43742a._0x510e63)+'S\x20'+_0x383ebb['name']+'\x20('+_0x351e41['join'](',\x20')+')';try{await this[_0x2522f5(_0x43742a._0x3a01f9)+'te'](_0x4955c6),c[_0x2522f5(_0x43742a._0x2bfbc2)](_0x416b3f['GbioK'],{'tableName':_0x383ebb[_0x2522f5(0x47c)]});}catch(_0x355aa4){throw c[_0x2522f5(_0x43742a._0xb95a92)](_0x2522f5(0xabb)+_0x2522f5(0x83d)+_0x2522f5(_0x43742a._0x100f98)+_0x2522f5(0x297)+'le',{'tableName':_0x383ebb[_0x2522f5(_0x43742a._0x476e76)],'sql':_0x4955c6,'error':_0x355aa4 instanceof Error?_0x355aa4[_0x2522f5(0x6d8)+'ge']:_0x355aa4}),_0x355aa4;}}async[_0x441e35(0xbf5)+_0x441e35(0x1de)+'xesFo'+_0x441e35(0x930)+'e'](_0x14a16d,_0x2db6b8){const _0x38fecb={_0x2bdaf2:0x500,_0x4f67e6:0x2fa,_0x39a050:0xbe3,_0x51d3c5:0xc8a,_0x259bc5:0xcc9,_0x4d8842:0x93a,_0x460dfb:0xab3,_0x284950:0x778,_0x830423:0x77f,_0x5b30c0:0x4b2,_0x1065f9:0x7e4,_0x461aa9:0x4fb,_0x4641f3:0x8c9,_0x2ebb28:0x9b8,_0x4ce72c:0x406,_0x16351a:0x754,_0x929064:0x64d,_0x47a5fb:0xb30,_0x15c0be:0x1f8,_0x2823bb:0x850,_0x4e56c7:0x6d8},_0x361fe3=_0x441e35,_0xdc366a={'ROZdB':'UNIQU'+'E','bmVtY':_0x361fe3(_0x38fecb._0x2bdaf2)+_0x361fe3(_0x38fecb._0x4f67e6)+_0x361fe3(_0x38fecb._0x39a050)+_0x361fe3(_0x38fecb._0x51d3c5)+_0x361fe3(_0x38fecb._0x259bc5)+'y'};c[_0x361fe3(0x2d7)](_0x361fe3(_0x38fecb._0x4d8842)+'ing\x20i'+_0x361fe3(_0x38fecb._0x460dfb)+_0x361fe3(_0x38fecb._0x284950)+_0x361fe3(_0x38fecb._0x830423)+'e',{'tableName':_0x14a16d,'indexCount':_0x2db6b8[_0x361fe3(_0x38fecb._0x5b30c0)+'h']});for(const _0x512a8b of _0x2db6b8){const _0x23e32b=_0x512a8b[_0x361fe3(_0x38fecb._0x1065f9)+'ns'][_0x361fe3(0x231)](',\x20'),_0x33d540=_0x512a8b[_0x361fe3(0xbec)+'e']||!(-0x1a99+-0x31*0x64+0x2dbe),_0x542ce4=_0x361fe3(0x6fc)+'E\x20'+(_0x33d540?_0xdc366a[_0x361fe3(_0x38fecb._0x461aa9)]:'')+(_0x361fe3(0x95e)+_0x361fe3(0x3b3)+_0x361fe3(_0x38fecb._0x4641f3)+_0x361fe3(_0x38fecb._0x2ebb28)+'\x20')+_0x512a8b[_0x361fe3(0x47c)]+_0x361fe3(_0x38fecb._0x4ce72c)+_0x14a16d+'\x20('+_0x23e32b+')';try{if(_0x361fe3(_0x38fecb._0x16351a)===_0x361fe3(0x754))await this['execu'+'te'](_0x542ce4),c[_0x361fe3(_0x38fecb._0x929064)](_0xdc366a[_0x361fe3(0x31c)],{'indexName':_0x512a8b['name'],'tableName':_0x14a16d,'columns':_0x512a8b[_0x361fe3(0x7e4)+'ns'],'unique':_0x33d540});else return _0x2c655c[_0x361fe3(0x64d)]('Node.'+_0x361fe3(_0x38fecb._0x47a5fb)+'viron'+_0x361fe3(0x21d)+_0x361fe3(_0x38fecb._0x15c0be)+_0x361fe3(0xc7e)+'ed',_0x52c7ce),!(0x21ab+0x19ba+-0x54*0xb5);}catch(_0x4601ee){throw c[_0x361fe3(_0x38fecb._0x2823bb)](_0x361fe3(0xabb)+_0x361fe3(0x83d)+_0x361fe3(0xbf5)+'e\x20ind'+'ex',{'indexName':_0x512a8b[_0x361fe3(0x47c)],'tableName':_0x14a16d,'sql':_0x542ce4,'error':_0x4601ee instanceof Error?_0x4601ee[_0x361fe3(_0x38fecb._0x4e56c7)+'ge']:_0x4601ee}),_0x4601ee;}}}async[_0x441e35(0x224)+_0x441e35(0x5e2)+_0x441e35(0x278)+'n'](){const _0x17702b={_0x1312ef:0x312,_0x5ac956:0x278,_0x3d112d:0xa62,_0x4c43df:0xcb5,_0x25490b:0x4bf,_0x2041bb:0x916,_0x1a40a9:0x700,_0x2d4181:0x278,_0xb5b401:0xb69,_0x1f7071:0x46f,_0x4ce6f3:0x83d,_0x2cedf9:0x224,_0x4bc792:0x624,_0x18ec42:0x2d7,_0x57d1e6:0x313,_0x58db06:0x7df,_0x4ad5bf:0x5c4,_0x4a20c9:0x4e7,_0x9716b7:0x6d8,_0xf1a07c:0x50a,_0x353561:0x73c,_0x5c6870:0x42f,_0xea6194:0xa50,_0x355ccd:0x64d,_0x1b669c:0x267,_0x3e0fa5:0x850,_0x468c30:0x60c,_0x246cfa:0xc4f,_0x4a8166:0x6d8},_0xc7fa19=_0x441e35,_0x38aa92={'ESfyd':_0xc7fa19(_0x17702b._0x1312ef)+_0xc7fa19(0xa09)+_0xc7fa19(0x7d1)+_0xc7fa19(0x278)+'n','CbXQd':'Trans'+_0xc7fa19(_0x17702b._0x5ac956)+_0xc7fa19(_0x17702b._0x3d112d)+'eady\x20'+_0xc7fa19(_0x17702b._0x4c43df)+_0xc7fa19(0xc39)+'s','ciHRe':_0xc7fa19(_0x17702b._0x25490b)+_0xc7fa19(_0x17702b._0x2041bb)+_0xc7fa19(_0x17702b._0x1a40a9)+_0xc7fa19(0x598)+_0xc7fa19(0xb76),'PZoOi':'Trans'+_0xc7fa19(_0x17702b._0x2d4181)+_0xc7fa19(_0x17702b._0xb5b401)+'rted\x20'+'succe'+_0xc7fa19(_0x17702b._0x1f7071)+'ly','lWpFR':_0xc7fa19(0xabb)+_0xc7fa19(_0x17702b._0x4ce6f3)+_0xc7fa19(_0x17702b._0x2cedf9)+_0xc7fa19(_0x17702b._0x4bc792)+'sacti'+'on','eSSrc':function(_0x18b5a5,_0x1abcd8){return _0x18b5a5 instanceof _0x1abcd8;}};if(c[_0xc7fa19(_0x17702b._0x18ec42)](_0x38aa92[_0xc7fa19(0x8b1)]),this[_0xc7fa19(_0x17702b._0x57d1e6)+_0xc7fa19(_0x17702b._0x58db06)+_0xc7fa19(0xa50)]){const _0x4763a3=new Error(_0x38aa92[_0xc7fa19(_0x17702b._0x4ad5bf)]);throw c[_0xc7fa19(0x850)](_0x38aa92[_0xc7fa19(_0x17702b._0x4a20c9)],{'error':_0x4763a3[_0xc7fa19(_0x17702b._0x9716b7)+'ge']}),_0x4763a3;}try{await this[_0xc7fa19(_0x17702b._0xf1a07c)+'te'](_0xc7fa19(_0x17702b._0x353561)+_0xc7fa19(_0x17702b._0x5c6870)+'SACTI'+'ON'),this[_0xc7fa19(0x313)+_0xc7fa19(0x7df)+_0xc7fa19(_0x17702b._0xea6194)]=!(-0x5f2*0x2+0x579+0x35*0x1f),c[_0xc7fa19(_0x17702b._0x355ccd)](_0x38aa92[_0xc7fa19(_0x17702b._0x1b669c)]);}catch(_0x4b3033){throw c[_0xc7fa19(_0x17702b._0x3e0fa5)](_0x38aa92[_0xc7fa19(_0x17702b._0x468c30)],{'error':_0x38aa92[_0xc7fa19(_0x17702b._0x246cfa)](_0x4b3033,Error)?_0x4b3033[_0xc7fa19(_0x17702b._0x4a8166)+'ge']:_0x4b3033}),_0x4b3033;}}async[_0x441e35(0xb46)+_0x441e35(0x46e)+_0x441e35(0x980)+'on'](){const _0x27043d={_0x27fa53:0x8d1,_0x38c3eb:0xcb5,_0x580732:0x26f,_0x50e862:0x83d,_0x4df3e0:0xa50,_0x57572d:0x348,_0x5ce32c:0x313,_0x214d8d:0xa31,_0x12f3e2:0x2c6,_0x3ff2a8:0x313,_0x4cbf11:0x64d,_0x2d12fd:0x9fc,_0x197510:0x6d8},_0x4d2ad5=_0x441e35,_0x23bafe={'yYyAr':_0x4d2ad5(0xb19)+_0x4d2ad5(0x9ea)+'\x20tran'+'sacti'+'on','aZrWz':'No\x20tr'+_0x4d2ad5(0x598)+_0x4d2ad5(_0x27043d._0x27fa53)+_0x4d2ad5(_0x27043d._0x38c3eb)+_0x4d2ad5(0xc39)+'s','Pgjie':'COMMI'+'T','ecvia':_0x4d2ad5(0x5e2)+_0x4d2ad5(0x278)+_0x4d2ad5(0x78a)+_0x4d2ad5(_0x27043d._0x580732)+'d\x20suc'+_0x4d2ad5(0xc2c)+'ully','GNYHe':_0x4d2ad5(0xabb)+_0x4d2ad5(_0x27043d._0x50e862)+_0x4d2ad5(0xb46)+'t\x20tra'+'nsact'+_0x4d2ad5(_0x27043d._0x4df3e0)};if(c[_0x4d2ad5(0x2d7)](_0x23bafe[_0x4d2ad5(_0x27043d._0x57572d)]),!this[_0x4d2ad5(_0x27043d._0x5ce32c)+'nsact'+_0x4d2ad5(0xa50)]){const _0x2079b9=new Error(_0x23bafe['aZrWz']);throw c[_0x4d2ad5(0x850)]('Canno'+_0x4d2ad5(0xc5b)+_0x4d2ad5(0xac4)+_0x4d2ad5(_0x27043d._0x214d8d)+_0x4d2ad5(_0x27043d._0x12f3e2),{'error':_0x2079b9[_0x4d2ad5(0x6d8)+'ge']}),_0x2079b9;}try{await this['execu'+'te'](_0x23bafe[_0x4d2ad5(0x77a)]),this[_0x4d2ad5(_0x27043d._0x3ff2a8)+_0x4d2ad5(0x7df)+_0x4d2ad5(0xa50)]=!(-0xb*0xe4+0x1aef+-0x1122),c[_0x4d2ad5(_0x27043d._0x4cbf11)](_0x23bafe[_0x4d2ad5(_0x27043d._0x2d12fd)]);}catch(_0x2820f0){throw c[_0x4d2ad5(0x850)](_0x23bafe[_0x4d2ad5(0xa2a)],{'error':_0x2820f0 instanceof Error?_0x2820f0[_0x4d2ad5(_0x27043d._0x197510)+'ge']:_0x2820f0}),_0x2820f0;}}async[_0x441e35(0x539)+_0x441e35(0xcd7)+_0x441e35(0x598)+_0x441e35(0xb76)](){const _0x1c0fc7={_0x1680f0:0x278,_0x3cdf0c:0xc8a,_0x39c92f:0xcc9,_0x2ce932:0x2d7,_0x1b8499:0x2d9,_0x4c4927:0x598,_0x59aa20:0xb76,_0x4f3834:0xa50,_0x3159c0:0xcb5,_0x5e9ef8:0x850,_0x5c6c56:0xae9,_0x3fd603:0x3bd,_0x13ad9c:0x313,_0x4da1d9:0x7df,_0x284dff:0x6b1,_0x574dad:0xabb,_0x2374dc:0x80a,_0x10f9df:0xa31},_0x13aae7=_0x441e35,_0x4a5ea7={'mFXan':_0x13aae7(0x4bf)+_0x13aae7(0xa57)+_0x13aae7(0x777)+'\x20tran'+'sacti'+'on','pIBtD':function(_0x2f9710,_0x20f653){return _0x2f9710===_0x20f653;},'jYVnN':_0x13aae7(0x5e2)+_0x13aae7(_0x1c0fc7._0x1680f0)+'n\x20rol'+'led\x20b'+_0x13aae7(0x822)+_0x13aae7(_0x1c0fc7._0x3cdf0c)+_0x13aae7(_0x1c0fc7._0x39c92f)+'y'};if(c[_0x13aae7(_0x1c0fc7._0x2ce932)](_0x13aae7(0xb35)+_0x13aae7(0xa8a)+_0x13aae7(_0x1c0fc7._0x1b8499)+_0x13aae7(_0x1c0fc7._0x4c4927)+_0x13aae7(_0x1c0fc7._0x59aa20)),!this['inTra'+'nsact'+_0x13aae7(_0x1c0fc7._0x4f3834)]){const _0xa3b80c=new Error('No\x20tr'+'ansac'+'tion\x20'+_0x13aae7(_0x1c0fc7._0x3159c0)+'ogres'+'s');throw c[_0x13aae7(_0x1c0fc7._0x5e9ef8)](_0x4a5ea7[_0x13aae7(0x7bb)],{'error':_0xa3b80c[_0x13aae7(0x6d8)+'ge']}),_0xa3b80c;}try{if(_0x4a5ea7['pIBtD']('FHxwk',_0x13aae7(0x3b6)))await this['execu'+'te'](_0x13aae7(_0x1c0fc7._0x5c6c56)+_0x13aae7(_0x1c0fc7._0x3fd603)),this[_0x13aae7(_0x1c0fc7._0x13ad9c)+_0x13aae7(_0x1c0fc7._0x4da1d9)+_0x13aae7(0xa50)]=!(0x215b+0x2*-0x538+-0x16ea),c[_0x13aae7(0x64d)](_0x4a5ea7[_0x13aae7(0x717)]);else{if(_0x1143a6){const _0x559357=_0xb2164f[_0x13aae7(_0x1c0fc7._0x284dff)](_0x4bc972,arguments);return _0x27b640=null,_0x559357;}}}catch(_0x4f8871){throw c[_0x13aae7(_0x1c0fc7._0x5e9ef8)](_0x13aae7(_0x1c0fc7._0x574dad)+_0x13aae7(0x83d)+'rollb'+_0x13aae7(_0x1c0fc7._0x2374dc)+_0x13aae7(_0x1c0fc7._0x10f9df)+'ction',{'error':_0x4f8871 instanceof Error?_0x4f8871[_0x13aae7(0x6d8)+'ge']:_0x4f8871}),_0x4f8871;}}async[_0x441e35(0x8b6)+_0x441e35(0x337)+_0x441e35(0x350)+'n'](){const _0x1912c3={_0x5d724c:0x850,_0x586f57:0xad5,_0x3c7591:0x6f2,_0x27ce24:0x25b,_0x55ce73:0xa4a,_0x291a76:0x25b,_0x77e5d9:0x222,_0x5d6305:0x2d7,_0xe561c0:0x2af,_0x903d2a:0xbbf,_0x4d9026:0x36a,_0x2c4766:0x34c,_0x51a06f:0xbb5,_0x4a5bf1:0x229,_0x46e5b7:0xad5,_0xcfc274:0x36a,_0x350b8c:0x36b,_0x3e9ad9:0xc71,_0x505dda:0xce3,_0x4f6c4c:0x1d5,_0x1e867a:0x25b},_0x586a77=_0x441e35,_0x584168={'MnlQy':_0x586a77(_0x1912c3._0x5d724c),'gGpfK':_0x586a77(_0x1912c3._0x586f57)+'le','MDWdS':_0x586a77(0x86f)+'ient','DOglh':_0x586a77(0x77e)+_0x586a77(_0x1912c3._0x3c7591)+'hema\x20'+_0x586a77(_0x1912c3._0x27ce24)+'on','Tgvnj':function(_0x26e8ff,_0x4e8c09){return _0x26e8ff!==_0x4e8c09;},'ZataC':_0x586a77(_0x1912c3._0x55ce73),'cMluX':_0x586a77(0x95f)+'hema\x20'+_0x586a77(_0x1912c3._0x291a76)+'on\x20fo'+_0x586a77(0xc82)+_0x586a77(0x990)+_0x586a77(0xa09)+_0x586a77(_0x1912c3._0x77e5d9)+'lt'};c[_0x586a77(_0x1912c3._0x5d6305)](_0x584168[_0x586a77(0xaa1)]);try{if(_0x584168[_0x586a77(_0x1912c3._0xe561c0)](_0x584168[_0x586a77(0xa19)],_0x586a77(0xa4a)))return new _0x4dfcf8()['setEn'+_0x586a77(0x4c9)](!(-0x2*0x4eb+-0x230c+-0xef6*-0x3))['setDe'+'fault'+_0x586a77(_0x1912c3._0x903d2a)](_0x586a77(0xc45))['addMo'+_0x586a77(_0x1912c3._0x4d9026)](_0x586a77(_0x1912c3._0x2c4766)+'aseMa'+'nager',!(-0xec5+-0x9e4+0x18a9*0x1),[_0x584168[_0x586a77(0x2ac)]],[_0x584168[_0x586a77(0xb53)]])[_0x586a77(_0x1912c3._0x51a06f)+_0x586a77(_0x1912c3._0x4d9026)](_0x584168[_0x586a77(_0x1912c3._0x4a5bf1)],!(-0x1226+0x49e+0x1b1*0x8),[_0x586a77(0xc45),'error'],[_0x586a77(_0x1912c3._0x46e5b7)+'le'])[_0x586a77(_0x1912c3._0x51a06f)+_0x586a77(_0x1912c3._0xcfc274)](_0x586a77(_0x1912c3._0x350b8c),!(-0x41a+0x845+0x42a*-0x1),[],[])[_0x586a77(0x483)]();else{const _0xbbd96b=(await this[_0x586a77(0x273)+'t'](_0x586a77(0x3a4)+'T\x20ver'+_0x586a77(_0x1912c3._0x3e9ad9)+'FROM\x20'+'_sche'+_0x586a77(0x900)+_0x586a77(0x87f)+'DER\x20B'+_0x586a77(_0x1912c3._0x505dda)+'lied_'+_0x586a77(0x68a)+_0x586a77(0x3af)+_0x586a77(_0x1912c3._0x4f6c4c)))[_0x586a77(_0x1912c3._0x1e867a)+'on']||'0';return c[_0x586a77(0x64d)](_0x586a77(0x5c1)+'a\x20ver'+'sion\x20'+_0x586a77(0x2fd)+_0x586a77(0x9be),{'version':_0xbbd96b}),_0xbbd96b;}}catch(_0x101b43){return c[_0x586a77(0x64d)](_0x584168['cMluX'],{'defaultVersion':'0'}),'0';}}async[_0x441e35(0xcf8)+_0x441e35(0x337)+_0x441e35(0x350)+'n'](_0x1f32f5){const _0x5f4444={_0x2980fa:0x275,_0x43773d:0xbe5,_0x3c7ecc:0xa2b,_0x4e2636:0x603,_0x8da970:0xa63,_0xd29e76:0x25b,_0x52fa36:0x50a,_0x37de24:0x6fc,_0x2f5601:0xb1f,_0x1e2110:0xc48,_0x381ab0:0x7e5,_0x56bfb9:0x55c,_0x5ca1da:0xb6f,_0xd9a580:0xb79,_0x36885d:0xbd4,_0x14712c:0x8e0,_0x4378ab:0x5cb,_0x343a8b:0xc46,_0x16db5e:0x83d,_0x5f28ed:0xc46,_0x355472:0xc19},_0x2c1c28=_0x441e35,_0x144d90={'jstyp':_0x2c1c28(_0x5f4444._0x2980fa)+_0x2c1c28(0x22d)+_0x2c1c28(_0x5f4444._0x43773d)+_0x2c1c28(_0x5f4444._0x3c7ecc)+_0x2c1c28(0x710)+_0x2c1c28(0x1d0)+_0x2c1c28(0xa2c)+_0x2c1c28(_0x5f4444._0x4e2636)+_0x2c1c28(0x83a)};c[_0x2c1c28(0x2d7)](_0x2c1c28(_0x5f4444._0x8da970)+_0x2c1c28(0x6f2)+'hema\x20'+_0x2c1c28(_0x5f4444._0xd29e76)+'on',{'version':_0x1f32f5});try{await this[_0x2c1c28(_0x5f4444._0x52fa36)+'te'](_0x2c1c28(_0x5f4444._0x37de24)+_0x2c1c28(0xa5a)+_0x2c1c28(_0x5f4444._0x2f5601)+_0x2c1c28(0x90d)+_0x2c1c28(0x345)+_0x2c1c28(_0x5f4444._0x1e2110)+'hema_'+_0x2c1c28(0x710)+_0x2c1c28(0x49e)+'\x20\x20\x20\x20\x20'+_0x2c1c28(0x25b)+'on\x20TE'+_0x2c1c28(0xc32)+_0x2c1c28(_0x5f4444._0x381ab0)+'L,\x0a\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20appl'+_0x2c1c28(_0x5f4444._0x56bfb9)+_0x2c1c28(_0x5f4444._0x5ca1da)+_0x2c1c28(_0x5f4444._0xd9a580)+'P\x20DEF'+_0x2c1c28(0x20f)+_0x2c1c28(0x332)+_0x2c1c28(0x8a7)+_0x2c1c28(0x977)+'MP\x0a\x20\x20'+_0x2c1c28(_0x5f4444._0x36885d)),await this[_0x2c1c28(0x50a)+'te'](_0x144d90[_0x2c1c28(_0x5f4444._0x14712c)],[_0x1f32f5]),c[_0x2c1c28(_0x5f4444._0x4378ab)](_0x2c1c28(0x5c1)+'a\x20ver'+_0x2c1c28(0xc71)+_0x2c1c28(_0x5f4444._0x343a8b)+_0x2c1c28(0xc8a)+_0x2c1c28(0xcc9)+'y',{'version':_0x1f32f5});}catch(_0x4f7f58){throw c['error']('Faile'+_0x2c1c28(_0x5f4444._0x16db5e)+_0x2c1c28(_0x5f4444._0x5f28ed)+'chema'+_0x2c1c28(_0x5f4444._0x355472)+'ion',{'version':_0x1f32f5,'error':_0x4f7f58 instanceof Error?_0x4f7f58[_0x2c1c28(0x6d8)+'ge']:_0x4f7f58}),_0x4f7f58;}}async[_0x441e35(0x53e)+'t'](_0x4f5873){const _0x45fc37={_0x555a88:0x79f,_0x2c84ab:0x53e,_0x1949a2:0x2d7,_0x35514c:0x2fe,_0x59f936:0x4b2,_0x3ef2de:0x9b1,_0x5387a5:0x850,_0x1de3dd:0xbc1,_0xcb65bc:0x861,_0x521753:0x7ce,_0x1bdc4d:0x231,_0x1f939b:0x269,_0x27a296:0x275,_0x422ebc:0x22d,_0x2357df:0xa42,_0x13c5bf:0x47c,_0x1376a9:0x4b2,_0x55da18:0x78a,_0x39bd8a:0x39d,_0x3e71ef:0x47c,_0x24b06f:0x74a,_0x579c47:0x850,_0x30a48c:0x861,_0x14c58e:0x7ce},_0x12916b=_0x441e35,_0x101e48={'Lihsd':_0x12916b(_0x45fc37._0x555a88)+'rming'+_0x12916b(0x413)+_0x12916b(0x1f1)+_0x12916b(0x8c4)+'on','kRlqA':'No\x20va'+_0x12916b(0x468)+_0x12916b(0x770)+'s\x20to\x20'+'inser'+'t','AnUyI':'Execu'+_0x12916b(0xce9)+_0x12916b(_0x45fc37._0x2c84ab)+_0x12916b(0x22e)+'ry','DyBTY':function(_0x51afc0,_0x117cfd){return _0x51afc0 instanceof _0x117cfd;}};c[_0x12916b(_0x45fc37._0x1949a2)](_0x101e48[_0x12916b(0x675)],{'tableName':_0x4f5873['name']});const _0x466c28=_0x4f5873['cols'][_0x12916b(_0x45fc37._0x35514c)+'r'](_0x5c27cc=>_0x5c27cc['value']!==void(-0x1*-0x2366+0xc70+-0x2fd6)&&_0x5c27cc[_0x12916b(0x4c5)]!==null);if(_0x466c28[_0x12916b(_0x45fc37._0x59f936)+'h']===-0xbea+-0x1778+0x2362){const _0x498f9c=new Error(_0x101e48[_0x12916b(_0x45fc37._0x3ef2de)]);throw c[_0x12916b(_0x45fc37._0x5387a5)](_0x12916b(_0x45fc37._0x1de3dd)+_0x12916b(0xa54)+_0x12916b(0xc7d)+_0x12916b(_0x45fc37._0xcb65bc)+_0x12916b(_0x45fc37._0x521753),{'tableName':_0x4f5873[_0x12916b(0x47c)],'error':_0x498f9c[_0x12916b(0x6d8)+'ge']}),_0x498f9c;}const _0x4a3c0b=_0x466c28[_0x12916b(0x269)](_0x34632b=>_0x34632b[_0x12916b(0x47c)])[_0x12916b(_0x45fc37._0x1bdc4d)](',\x20'),_0x3c5668=_0x466c28[_0x12916b(0x269)](()=>'?')[_0x12916b(_0x45fc37._0x1bdc4d)](',\x20'),_0x4502b5=_0x466c28[_0x12916b(_0x45fc37._0x1f939b)](_0x3c4571=>typeof _0x3c4571[_0x12916b(0x4c5)]==_0x12916b(0x5dc)+'t'?JSON[_0x12916b(0x950)+_0x12916b(0x7ae)](_0x3c4571[_0x12916b(0x4c5)]):_0x3c4571[_0x12916b(0x4c5)]),_0x3c7799=_0x12916b(_0x45fc37._0x27a296)+_0x12916b(_0x45fc37._0x422ebc)+'O\x20'+_0x4f5873[_0x12916b(0x47c)]+'\x20('+_0x4a3c0b+(')\x20VAL'+_0x12916b(0xc30))+_0x3c5668+')';c['debug'](_0x101e48[_0x12916b(_0x45fc37._0x2357df)],{'tableName':_0x4f5873[_0x12916b(_0x45fc37._0x13c5bf)],'columnCount':_0x466c28[_0x12916b(_0x45fc37._0x1376a9)+'h'],'sql':_0x3c7799});try{const _0x5d51e0=await this[_0x12916b(0x50a)+'te'](_0x3c7799,_0x4502b5);return c[_0x12916b(0x5cb)](_0x12916b(0xbc1)+'t\x20ope'+'ratio'+_0x12916b(_0x45fc37._0x55da18)+_0x12916b(0x40e)+_0x12916b(_0x45fc37._0x39bd8a)+_0x12916b(0xc2c)+_0x12916b(0x2a9),{'tableName':_0x4f5873[_0x12916b(_0x45fc37._0x3e71ef)],'rowsAffected':_0x5d51e0['rowsA'+_0x12916b(0x59c)+'ed'],'lastInsertRowid':_0x5d51e0[_0x12916b(0x45d)+_0x12916b(_0x45fc37._0x24b06f)+'RowId']}),_0x5d51e0;}catch(_0x212dd3){throw c[_0x12916b(_0x45fc37._0x579c47)](_0x12916b(0xbc1)+'t\x20ope'+_0x12916b(0xc7d)+_0x12916b(_0x45fc37._0x30a48c)+_0x12916b(_0x45fc37._0x14c58e),{'tableName':_0x4f5873['name'],'sql':_0x3c7799,'error':_0x101e48[_0x12916b(0x58b)](_0x212dd3,Error)?_0x212dd3[_0x12916b(0x6d8)+'ge']:_0x212dd3}),_0x212dd3;}}async['updat'+'e'](_0x41fdc6){const _0x1f8f82={_0x2f12b2:0x79f,_0x1ec440:0xbe0,_0x3b62f5:0x6c9,_0x4bb6ff:0xad8,_0x5a3f69:0x67d,_0x5035dd:0x2a9,_0x548adf:0x47c,_0x45bc15:0x3cd,_0x2620d0:0x7aa,_0x58da0a:0x4b2,_0x199609:0x56e,_0x2a2323:0xccc,_0xe0a6ca:0xb1b,_0x2d4d36:0x47c,_0xe8a02:0x6d8,_0x386f35:0x545,_0x40c3cc:0x304,_0x39cb9b:0x231,_0x28c892:0x725,_0x4ee49a:0x483,_0x42fb8a:0xbb0,_0x3e20d9:0x56e,_0x129464:0xbe7,_0x2d63cc:0xc66,_0x1b9551:0xc05,_0x2f0707:0x5f4,_0x4a9ea3:0x850,_0x5c8b29:0x7ce,_0x389893:0x47c,_0x21f109:0x6d8,_0xed0263:0x54f,_0x2a9edc:0x2fe,_0x1229a8:0x269,_0x502b20:0x231,_0x2f06b0:0x275,_0x132028:0xa36,_0x57bcfb:0xc30,_0x181f90:0x643,_0x29b488:0x231,_0x516179:0x295,_0x42b4c1:0x714,_0x551709:0x7b5,_0x5652b1:0xa73,_0x3723a1:0x5b9,_0xbbf9e8:0x47c,_0x531a86:0x493,_0x397079:0x59c,_0x557ce0:0x662},_0x46c9ce={_0x53c153:0x7d7},_0x44ac32=_0x441e35,_0x367d32={'KCRgt':function(_0x5c3178,_0x49b5e6){return _0x5c3178!==_0x49b5e6;},'WiTGS':function(_0x405582,_0x6bca87){return _0x405582===_0x6bca87;},'bqMFA':_0x44ac32(_0x1f8f82._0x2f12b2)+_0x44ac32(_0x1f8f82._0x1ec440)+'\x20upda'+_0x44ac32(0x2fc)+_0x44ac32(0x8c4)+'on','HpMQh':_0x44ac32(_0x1f8f82._0x3b62f5),'AKuiY':'No\x20co'+_0x44ac32(0x21e)+_0x44ac32(0x557)+_0x44ac32(0x9ee),'UTAqa':_0x44ac32(0x84c)+_0x44ac32(0x67d)+'ratio'+_0x44ac32(0x861)+'led','DpUQw':_0x44ac32(0x2f5),'IgVbG':_0x44ac32(_0x1f8f82._0x4bb6ff)+_0x44ac32(0xce9)+'updat'+_0x44ac32(0x911)+'ry','zeAzE':'Updat'+_0x44ac32(_0x1f8f82._0x5a3f69)+'ratio'+_0x44ac32(0x78a)+_0x44ac32(0x40e)+_0x44ac32(0x39d)+_0x44ac32(0xc2c)+_0x44ac32(_0x1f8f82._0x5035dd)};var _0x4b7613;c[_0x44ac32(0x2d7)](_0x367d32[_0x44ac32(0x818)],{'tableName':_0x41fdc6[_0x44ac32(_0x1f8f82._0x548adf)]});const _0x2c2cb2=_0x41fdc6[_0x44ac32(_0x1f8f82._0x45bc15)][_0x44ac32(0x2fe)+'r'](_0x385a3c=>{const _0xcc1f64=_0x44ac32;var _0x1327bd;return _0x367d32[_0xcc1f64(0x56e)](_0x385a3c['value'],void(-0x1bff+-0xb63+-0x2*-0x13b1))&&!(!(_0x367d32['WiTGS'](_0x1327bd=_0x41fdc6[_0xcc1f64(0x545)+'s'],null)||_0x1327bd===void(-0x23*0x37+-0x2*0xfd6+0x2731))&&_0x1327bd[_0xcc1f64(0x479)](_0x387a9e=>_0x387a9e[_0xcc1f64(0x47c)]===_0x385a3c[_0xcc1f64(0x47c)]));});if(_0x367d32[_0x44ac32(_0x1f8f82._0x2620d0)](_0x2c2cb2[_0x44ac32(_0x1f8f82._0x58da0a)+'h'],0x21b9+-0x1750+0x1*-0xa69)){if(_0x367d32[_0x44ac32(_0x1f8f82._0x199609)](_0x367d32[_0x44ac32(0x5d1)],_0x44ac32(_0x1f8f82._0x2a2323))){const _0x5f1ae4=new Error(_0x367d32[_0x44ac32(_0x1f8f82._0xe0a6ca)]);throw c['error'](_0x367d32[_0x44ac32(0x662)],{'tableName':_0x41fdc6[_0x44ac32(_0x1f8f82._0x2d4d36)],'error':_0x5f1ae4[_0x44ac32(_0x1f8f82._0xe8a02)+'ge']}),_0x5f1ae4;}else{const _0x19d026=[];this[_0x44ac32(_0x1f8f82._0x386f35)+'Condi'+_0x44ac32(0xa28)][_0x44ac32(_0x1f8f82._0x40c3cc)+'ch'](_0x1d3504=>{const _0x40b3c5=_0x44ac32,{clause:_0x403944,conditionParams:_0x2b4f5e}=this[_0x40b3c5(0x483)+_0x40b3c5(0x33f)+_0x40b3c5(0xb76)](_0x1d3504);_0x19d026[_0x40b3c5(_0x46c9ce._0x53c153)](_0x403944),_0xcae3d1['push'](..._0x2b4f5e);}),_0x1c00c4+='\x20WHER'+'E\x20'+_0x19d026[_0x44ac32(_0x1f8f82._0x39cb9b)](_0x44ac32(0xc2d));}}const _0x17d5ec=_0x2c2cb2[_0x44ac32(0x269)](_0x414785=>_0x414785['name']+_0x44ac32(0xbe8))['join'](',\x20'),_0x3b47a8=_0x2c2cb2[_0x44ac32(0x269)](_0x37cf84=>typeof _0x37cf84[_0x44ac32(0x4c5)]==_0x44ac32(0x5dc)+'t'?JSON[_0x44ac32(0x950)+_0x44ac32(0x7ae)](_0x37cf84[_0x44ac32(0x4c5)]):_0x37cf84[_0x44ac32(0x4c5)]);let _0x57e71d=_0x44ac32(0x295)+'E\x20'+_0x41fdc6[_0x44ac32(0x47c)]+_0x44ac32(_0x1f8f82._0x28c892)+_0x17d5ec;const _0xc46852=this[_0x44ac32(_0x1f8f82._0x4ee49a)+'Where'+_0x44ac32(_0x1f8f82._0x42fb8a)+'e'](_0x41fdc6[_0x44ac32(_0x1f8f82._0x386f35)+'s']);if(!_0xc46852[_0x44ac32(0x5b9)]){if(_0x367d32[_0x44ac32(_0x1f8f82._0x3e20d9)](_0x367d32[_0x44ac32(_0x1f8f82._0x129464)],_0x44ac32(_0x1f8f82._0x2d63cc))){const _0x219e46=new Error('WHERE'+_0x44ac32(_0x1f8f82._0x1b9551)+_0x44ac32(_0x1f8f82._0x2f0707)+_0x44ac32(0xba5)+'ired\x20'+'for\x20U'+_0x44ac32(0x6a0)+_0x44ac32(0xa4e)+_0x44ac32(0x1da));throw c[_0x44ac32(_0x1f8f82._0x4a9ea3)](_0x44ac32(0x84c)+'e\x20ope'+_0x44ac32(0xc7d)+_0x44ac32(0x861)+_0x44ac32(_0x1f8f82._0x5c8b29),{'tableName':_0x41fdc6[_0x44ac32(_0x1f8f82._0x389893)],'error':_0x219e46[_0x44ac32(_0x1f8f82._0x21f109)+'ge']}),_0x219e46;}else{const _0x17f669=_0x1e68aa[_0x44ac32(_0x1f8f82._0xed0263)](_0x35b27e),_0xa9ad0a=_0xb65010[_0x44ac32(0x4c5)+'s'](_0x39fa3c),_0x3f1fb6=_0xa9ad0a[_0x44ac32(0x269)](()=>'?')[_0x44ac32(0x231)](',\x20'),_0x459c01=_0x17f669[_0x44ac32(_0x1f8f82._0x2a9edc)+'r'](_0x44b61b=>!_0x1f98f7[_0x44ac32(0x937)+_0x44ac32(0x2b3)](_0x44b61b)),_0x323e89=_0x459c01[_0x44ac32(_0x1f8f82._0x58da0a)+'h']>-0x269+0x88*0x2f+0x785*-0x3?_0x459c01[_0x44ac32(_0x1f8f82._0x1229a8)](_0x332757=>_0x332757+(_0x44ac32(0x8a4)+_0x44ac32(0x5f6)+'d.')+_0x332757)[_0x44ac32(_0x1f8f82._0x502b20)](',\x20'):'';let _0x410c9e=_0x44ac32(_0x1f8f82._0x2f06b0)+_0x44ac32(0x22d)+'O\x20'+_0x4ef434+'\x20('+_0x17f669['join'](',\x20')+(_0x44ac32(_0x1f8f82._0x132028)+_0x44ac32(_0x1f8f82._0x57bcfb))+_0x3f1fb6+')';return _0x459c01[_0x44ac32(0x4b2)+'h']>-0x55b*-0x3+-0x188c+-0x87b*-0x1?_0x410c9e+=_0x44ac32(0x5d5)+_0x44ac32(0x7b5)+_0x44ac32(_0x1f8f82._0x181f90)+_0x179b62[_0x44ac32(_0x1f8f82._0x29b488)](',\x20')+(')\x20DO\x20'+_0x44ac32(_0x1f8f82._0x516179)+_0x44ac32(_0x1f8f82._0x42b4c1)+'\x20')+_0x323e89:_0x410c9e+='\x20ON\x20C'+_0x44ac32(_0x1f8f82._0x551709)+'CT('+_0x2e0caf[_0x44ac32(_0x1f8f82._0x502b20)](',\x20')+(')\x20DO\x20'+_0x44ac32(_0x1f8f82._0x5652b1)+'NG'),{'sql':_0x410c9e,'params':_0xa9ad0a};}}_0x57e71d+=_0xc46852[_0x44ac32(_0x1f8f82._0x3723a1)],_0x3b47a8['push'](..._0xc46852[_0x44ac32(0x1e5)+'s']),c[_0x44ac32(0x64d)](_0x367d32[_0x44ac32(0xc67)],{'tableName':_0x41fdc6[_0x44ac32(_0x1f8f82._0xbbf9e8)],'updateColumnCount':_0x2c2cb2['lengt'+'h'],'whereConditions':(_0x367d32['WiTGS'](_0x4b7613=_0x41fdc6[_0x44ac32(0x545)+'s'],null)||_0x4b7613===void(-0x1233+0xfb1+0x2*0x141)?void(0x62*0x2b+-0x21*0x34+-0x4e1*0x2):_0x4b7613['lengt'+'h'])||-0x1264+0x3*0x8df+0x1*-0x839,'sql':_0x57e71d});try{const _0x7e7001=await this[_0x44ac32(0x50a)+'te'](_0x57e71d,_0x3b47a8);return c['info'](_0x367d32[_0x44ac32(_0x1f8f82._0x531a86)],{'tableName':_0x41fdc6[_0x44ac32(0x47c)],'rowsAffected':_0x7e7001['rowsA'+_0x44ac32(_0x1f8f82._0x397079)+'ed']}),_0x7e7001;}catch(_0x14cfc3){throw c['error'](_0x367d32[_0x44ac32(_0x1f8f82._0x557ce0)],{'tableName':_0x41fdc6[_0x44ac32(0x47c)],'sql':_0x57e71d,'error':_0x14cfc3 instanceof Error?_0x14cfc3['messa'+'ge']:_0x14cfc3}),_0x14cfc3;}}async[_0x441e35(0x7f1)+'e'](_0x396f09){const _0x215029={_0x2c4035:0x746,_0x37d915:0x67d,_0x5aff5d:0x861,_0x41b3b9:0xce9,_0x50bab3:0x7f1,_0x3aca84:0x911,_0x69c042:0xbe0,_0x2cb5b3:0x47c,_0x6d3a10:0x74c,_0x13aad3:0x5b9,_0x43ce64:0xc05,_0x477d0c:0x5f4,_0x1968ea:0xba5,_0x420903:0xa4e,_0x21213b:0x850,_0x193f76:0x6d8,_0x40b94d:0x5b9,_0x2f7b5a:0x64d,_0x5333e9:0x3c0,_0x52f475:0x47c,_0x7af6f2:0xb7c,_0x51dbf5:0x1e5,_0x38d726:0x67d,_0x2ddf07:0x40e,_0x22bb6f:0x2a9},_0x4fecac=_0x441e35,_0x552721={'aKKiZ':_0x4fecac(_0x215029._0x2c4035)+_0x4fecac(_0x215029._0x37d915)+_0x4fecac(0xc7d)+_0x4fecac(_0x215029._0x5aff5d)+_0x4fecac(0x7ce),'OQhSk':_0x4fecac(0xad8)+_0x4fecac(_0x215029._0x41b3b9)+_0x4fecac(_0x215029._0x50bab3)+_0x4fecac(_0x215029._0x3aca84)+'ry','NbyKX':function(_0x2fe19c,_0x250260){return _0x2fe19c===_0x250260;}};var _0x1464f8;c[_0x4fecac(0x2d7)]('Perfo'+_0x4fecac(_0x215029._0x69c042)+'\x20dele'+'te\x20op'+'erati'+'on',{'tableName':_0x396f09[_0x4fecac(_0x215029._0x2cb5b3)]});let _0x45e3b7=_0x4fecac(_0x215029._0x6d3a10)+'E\x20FRO'+'M\x20'+_0x396f09['name'];const _0x52a05a=this[_0x4fecac(0x483)+_0x4fecac(0x8dd)+'Claus'+'e'](_0x396f09['where'+'s']);if(!_0x52a05a[_0x4fecac(_0x215029._0x13aad3)]){const _0x58fce6=new Error(_0x4fecac(0x92e)+_0x4fecac(_0x215029._0x43ce64)+_0x4fecac(_0x215029._0x477d0c)+_0x4fecac(_0x215029._0x1968ea)+_0x4fecac(0xc84)+_0x4fecac(0x629)+_0x4fecac(0x384)+_0x4fecac(_0x215029._0x420903)+'ation');throw c[_0x4fecac(_0x215029._0x21213b)](_0x552721['aKKiZ'],{'tableName':_0x396f09[_0x4fecac(0x47c)],'error':_0x58fce6[_0x4fecac(_0x215029._0x193f76)+'ge']}),_0x58fce6;}_0x45e3b7+=_0x52a05a[_0x4fecac(_0x215029._0x40b94d)],c[_0x4fecac(_0x215029._0x2f7b5a)](_0x552721[_0x4fecac(_0x215029._0x5333e9)],{'tableName':_0x396f09[_0x4fecac(_0x215029._0x52f475)],'whereConditions':(_0x552721[_0x4fecac(_0x215029._0x7af6f2)](_0x1464f8=_0x396f09[_0x4fecac(0x545)+'s'],null)||_0x552721[_0x4fecac(0xb7c)](_0x1464f8,void(-0xffa+0x793*0x1+0x867*0x1))?void(-0x118e+0x1*0x23d+0xf51):_0x1464f8[_0x4fecac(0x4b2)+'h'])||0x94c+0x43*-0x46+-0x3*-0x302,'sql':_0x45e3b7});try{const _0x5e7383=await this['execu'+'te'](_0x45e3b7,_0x52a05a[_0x4fecac(_0x215029._0x51dbf5)+'s']);return c[_0x4fecac(0x5cb)](_0x4fecac(0x746)+_0x4fecac(_0x215029._0x38d726)+'ratio'+_0x4fecac(0x78a)+_0x4fecac(_0x215029._0x2ddf07)+_0x4fecac(0x39d)+_0x4fecac(0xc2c)+_0x4fecac(_0x215029._0x22bb6f),{'tableName':_0x396f09[_0x4fecac(0x47c)],'rowsAffected':_0x5e7383[_0x4fecac(0x42b)+'ffect'+'ed']}),_0x5e7383;}catch(_0x1d2466){throw c['error'](_0x4fecac(0x746)+'e\x20ope'+_0x4fecac(0xc7d)+_0x4fecac(0x861)+_0x4fecac(0x7ce),{'tableName':_0x396f09[_0x4fecac(0x47c)],'sql':_0x45e3b7,'error':_0x1d2466 instanceof Error?_0x1d2466['messa'+'ge']:_0x1d2466}),_0x1d2466;}}async[_0x441e35(0x536)+'t'](_0x536b95){const _0x51f45c={_0x304d01:0x2f6,_0x4df6a6:0x2f2,_0x4584b0:0x407,_0x482d60:0x8fb,_0x4ca1a0:0x79f,_0x43e256:0x2e4,_0x1756ea:0xcee,_0x5b71c5:0x47c,_0x24ea69:0x5e7,_0x6ac636:0x64d,_0x30b4c9:0x47c,_0x23cc26:0xb2c,_0xba1f7d:0x50a,_0x467aa6:0x64d,_0x129b5b:0x803,_0x221cf5:0x2e1,_0x1d1905:0x850,_0x53ace:0x61f,_0x29a87c:0x7e9,_0x14d0ae:0xace},_0x44ade7=_0x441e35,_0x4a2567={'CASCk':_0x44ade7(_0x51f45c._0x304d01)+'T\x201','OWLVo':_0x44ade7(0xad8)+_0x44ade7(0xce9)+_0x44ade7(0x536)+_0x44ade7(0xc92)+_0x44ade7(0x43a)+_0x44ade7(0x4a2),'Rdpat':'lUiVz','TUBwC':_0x44ade7(_0x51f45c._0x4df6a6)+'t\x20sin'+_0x44ade7(0x2ef)+_0x44ade7(0x61f)+'ion\x20c'+_0x44ade7(_0x51f45c._0x4584b0)+_0x44ade7(_0x51f45c._0x482d60),'aCOdZ':function(_0x3989ed,_0x32ebcf){return _0x3989ed instanceof _0x32ebcf;}};c[_0x44ade7(0x2d7)](_0x44ade7(_0x51f45c._0x4ca1a0)+'rming'+_0x44ade7(0x3f4)+_0x44ade7(0x3f1)+_0x44ade7(_0x51f45c._0x43e256)+_0x44ade7(_0x51f45c._0x1756ea)+'tion',{'tableName':_0x536b95[_0x44ade7(_0x51f45c._0x5b71c5)]});const {sql:_0x316507,params:_0x3ef40b}=this[_0x44ade7(0x483)+_0x44ade7(0x2f2)+'tQuer'+'y'](_0x536b95,_0x4a2567[_0x44ade7(_0x51f45c._0x24ea69)]);c[_0x44ade7(_0x51f45c._0x6ac636)](_0x4a2567[_0x44ade7(0x252)],{'tableName':_0x536b95[_0x44ade7(_0x51f45c._0x30b4c9)],'sql':_0x316507});try{if(_0x4a2567[_0x44ade7(_0x51f45c._0x23cc26)]===_0x4a2567[_0x44ade7(0xb2c)]){const _0x5c84e8=await this[_0x44ade7(_0x51f45c._0xba1f7d)+'te'](_0x316507,_0x3ef40b),_0x5524ad=_0x5c84e8[_0x44ade7(0x8d6)][0x1f73+0x18d5+-0x3848]||{};return c[_0x44ade7(_0x51f45c._0x467aa6)](_0x4a2567[_0x44ade7(0x21c)],{'tableName':_0x536b95[_0x44ade7(0x47c)],'hasResult':!!_0x5c84e8['rows'][0x1326+-0x1*0x16ba+0x394]}),_0x5524ad;}else return this[_0x44ade7(0x536)+_0x44ade7(_0x51f45c._0x129b5b)+'ds']=[_0x44ade7(0x32d)+_0x4def4f+(')\x20as\x20'+_0x44ade7(_0x51f45c._0x221cf5))],this;}catch(_0x4c494b){throw c[_0x44ade7(_0x51f45c._0x1d1905)](_0x44ade7(_0x51f45c._0x4df6a6)+'t\x20sin'+'gle\x20o'+_0x44ade7(_0x51f45c._0x53ace)+_0x44ade7(0x5aa)+_0x44ade7(_0x51f45c._0x29a87c),{'tableName':_0x536b95[_0x44ade7(_0x51f45c._0x30b4c9)],'sql':_0x316507,'error':_0x4a2567[_0x44ade7(_0x51f45c._0x14d0ae)](_0x4c494b,Error)?_0x4c494b[_0x44ade7(0x6d8)+'ge']:_0x4c494b}),_0x4c494b;}}async[_0x441e35(0x536)+'tAll'](_0x991e07){const _0x121f34={_0x379ed1:0xad8,_0x1013e5:0x536,_0x1138ff:0x330,_0x4a5c24:0xb80,_0x51f3b0:0xa4e,_0x3cb121:0x79f,_0x53c5d0:0xbe0,_0x461a86:0xc7d,_0x52fa56:0x483,_0x3887e0:0x2f2,_0x57e873:0x831,_0x4db8f9:0xb88,_0x515297:0x850,_0x365978:0x6d8},_0x40077c=_0x441e35,_0x9cfdd4={'qsrOR':_0x40077c(_0x121f34._0x379ed1)+'ting\x20'+_0x40077c(_0x121f34._0x1013e5)+_0x40077c(_0x121f34._0x1138ff)+_0x40077c(0x22b)+'y','lWzFn':_0x40077c(0x2f2)+'t\x20all'+_0x40077c(0xa4e)+_0x40077c(0x1da)+_0x40077c(0x4e2)+_0x40077c(_0x121f34._0x4a5c24),'HIrZL':_0x40077c(0x2f2)+'t\x20all'+_0x40077c(_0x121f34._0x51f3b0)+'ation'+_0x40077c(0x671)+'ed'};c[_0x40077c(0x2d7)](_0x40077c(_0x121f34._0x3cb121)+_0x40077c(_0x121f34._0x53c5d0)+_0x40077c(0x3f4)+_0x40077c(0x7b6)+_0x40077c(0x794)+_0x40077c(_0x121f34._0x461a86)+'n',{'tableName':_0x991e07['name']});const {sql:_0x9b783c,params:_0x363327}=this[_0x40077c(_0x121f34._0x52fa56)+_0x40077c(_0x121f34._0x3887e0)+'tQuer'+'y'](_0x991e07);c[_0x40077c(0x64d)](_0x9cfdd4[_0x40077c(_0x121f34._0x57e873)],{'tableName':_0x991e07[_0x40077c(0x47c)],'sql':_0x9b783c});try{const _0xa6cc94=await this[_0x40077c(0x50a)+'te'](_0x9b783c,_0x363327);return c['debug'](_0x9cfdd4[_0x40077c(_0x121f34._0x4db8f9)],{'tableName':_0x991e07[_0x40077c(0x47c)],'rowCount':_0xa6cc94['rows'][_0x40077c(0x4b2)+'h']}),_0xa6cc94[_0x40077c(0x8d6)];}catch(_0x400d45){throw c[_0x40077c(_0x121f34._0x515297)](_0x9cfdd4[_0x40077c(0x748)],{'tableName':_0x991e07[_0x40077c(0x47c)],'sql':_0x9b783c,'error':_0x400d45 instanceof Error?_0x400d45[_0x40077c(_0x121f34._0x365978)+'ge']:_0x400d45}),_0x400d45;}}['build'+_0x441e35(0x2f2)+_0x441e35(0x913)+'y'](_0x2a1e3e,_0x37037c=''){const _0x3acc5a={_0x44d6ab:0x3a4,_0x1667bb:0x3cd,_0x2eadba:0x269,_0x335b33:0x8dd,_0xc5af4:0x262,_0x5e630c:0xa6b,_0x2d2171:0x38e,_0x4a60f2:0x7a2,_0x2bc0eb:0x4c3,_0x3998fc:0x7a2,_0x6f89e7:0x664,_0x11e2af:0x308,_0x2d75c6:0xb41},_0x226452=_0x441e35,_0x56bd6d={'sThSz':function(_0x289877,_0x2a18d0){return _0x289877>_0x2a18d0;},'ypEHo':function(_0x787a00,_0x30742b){return _0x787a00===_0x30742b;},'NyWAS':function(_0x5d9f8c,_0x502967){return _0x5d9f8c!==_0x502967;},'IMANs':'cRkth','olGlY':'jKNRe'};var _0x5aa300;let _0x9f704b=_0x226452(_0x3acc5a._0x44d6ab)+'T\x20'+(_0x56bd6d['sThSz'](_0x2a1e3e[_0x226452(_0x3acc5a._0x1667bb)][_0x226452(0x4b2)+'h'],-0x83*-0x1f+0x7e4+-0x17c1)?_0x2a1e3e[_0x226452(_0x3acc5a._0x1667bb)][_0x226452(_0x3acc5a._0x2eadba)](_0x6ef50a=>_0x6ef50a[_0x226452(0x47c)])[_0x226452(0x231)](',\x20'):'*')+('\x20FROM'+'\x20')+_0x2a1e3e[_0x226452(0x47c)];const _0x58b490=this['build'+_0x226452(_0x3acc5a._0x335b33)+'Claus'+'e'](_0x2a1e3e['where'+'s']);if(_0x9f704b+=_0x58b490[_0x226452(0x5b9)],!(_0x56bd6d[_0x226452(_0x3acc5a._0xc5af4)](_0x5aa300=_0x2a1e3e[_0x226452(0x510)+'bys'],null)||_0x56bd6d[_0x226452(0x262)](_0x5aa300,void(0x8ba+-0x756*-0x1+0x202*-0x8)))&&_0x5aa300['lengt'+'h']){if(_0x56bd6d['NyWAS'](_0x56bd6d[_0x226452(_0x3acc5a._0x5e630c)],_0x56bd6d[_0x226452(0x383)])){const _0x39e36d=_0x2a1e3e['order'+_0x226452(0x22c)][_0x226452(_0x3acc5a._0x2eadba)](_0x4ddfc0=>_0x4ddfc0['name']+'\x20'+(_0x4ddfc0[_0x226452(0xcf6)+_0x226452(0xb76)]||_0x226452(0x9e3)))[_0x226452(0x231)](',\x20');_0x9f704b+=_0x226452(0xa5f)+'R\x20BY\x20'+_0x39e36d;}else this[_0x226452(0x9ce)+_0x226452(_0x3acc5a._0x2d2171)+_0x226452(0x915)](_0x4d12b7,_0x1a3835);}return _0x2a1e3e[_0x226452(_0x3acc5a._0x4a60f2)+_0x226452(_0x3acc5a._0x2bc0eb)+'t']&&(_0x2a1e3e[_0x226452(_0x3acc5a._0x3998fc)+_0x226452(_0x3acc5a._0x2bc0eb)+'t'][_0x226452(0x7a2)]&&(_0x9f704b+=_0x226452(0x2f6)+'T\x20'+_0x2a1e3e['limit'+_0x226452(0x4c3)+'t'][_0x226452(0x7a2)]),_0x2a1e3e[_0x226452(_0x3acc5a._0x3998fc)+'Offse'+'t'][_0x226452(_0x3acc5a._0x6f89e7)+'t']&&(_0x9f704b+=_0x226452(_0x3acc5a._0x11e2af)+_0x226452(_0x3acc5a._0x2d75c6)+_0x2a1e3e[_0x226452(_0x3acc5a._0x3998fc)+_0x226452(_0x3acc5a._0x2bc0eb)+'t']['offse'+'t'])),_0x9f704b+=_0x37037c,{'sql':_0x9f704b,'params':_0x58b490['param'+'s']};}[_0x441e35(0x483)+'Where'+_0x441e35(0xbb0)+'e'](_0xd907bc,_0x25adec=_0x441e35(0x92e)){const _0x3ce544={_0x53c3cd:0x4e6,_0xaf8e88:0x6f2,_0x35bdac:0x9aa,_0x2d9b64:0x693,_0x32ba43:0x8e1,_0x38c9b0:0x4b2,_0x282b12:0x850,_0x4e705f:0x6d8,_0x45210c:0xabc,_0x24f291:0x481,_0x3eb9ca:0xc14,_0x339a78:0x9bb,_0x57eb7b:0x9f2,_0x3c8b45:0x556,_0x5d622f:0x47c,_0x10ef43:0x7d7,_0x3c57c8:0x4c5,_0x1552c6:0xc2d},_0x3fac79=_0x441e35,_0x23acef={'SetSy':_0x3fac79(_0x3ce544._0x53c3cd)+'\x20duri'+_0x3fac79(_0x3ce544._0xaf8e88)+_0x3fac79(_0x3ce544._0x35bdac)+'versi'+_0x3fac79(0x409)+'lidat'+_0x3fac79(0xa50),'DRvDs':function(_0x3eb3c5,_0x5effee){return _0x3eb3c5===_0x5effee;},'abdpK':_0x3fac79(0x703),'RkEiV':_0x3fac79(_0x3ce544._0x2d9b64)};if(!_0xd907bc||_0x23acef[_0x3fac79(_0x3ce544._0x32ba43)](_0xd907bc[_0x3fac79(_0x3ce544._0x38c9b0)+'h'],0xd*0x2ba+0x1d*0x2b+0x1*-0x2851))return{'sql':'','params':[]};const _0x4bb2eb=[],_0x44cff5=[];for(const _0x58f5c8 of _0xd907bc){if(_0x23acef['abdpK']===_0x23acef[_0x3fac79(0x63b)])throw _0x583399[_0x3fac79(_0x3ce544._0x282b12)](_0x23acef['SetSy'],{'databaseName':_0x54886b['datab'+_0x3fac79(0x453)+_0x3fac79(0x9f2)],'error':_0x4ea487[_0x3fac79(_0x3ce544._0x4e705f)+'ge']}),new _0x1f7b11(_0x3fac79(0x4e6)+_0x3fac79(_0x3ce544._0x45210c)+'datin'+_0x3fac79(_0x3ce544._0x24f291)+_0x3fac79(_0x3ce544._0x3eb9ca)+'ersio'+'n\x20for'+'\x20'+_0x1e16df[_0x3fac79(_0x3ce544._0x339a78)+'ase_n'+_0x3fac79(_0x3ce544._0x57eb7b)]+':\x20'+_0x56d2ea[_0x3fac79(_0x3ce544._0x4e705f)+'ge']);else{const _0x289535=_0x58f5c8[_0x3fac79(0xcee)+_0x3fac79(_0x3ce544._0x3c8b45)]||'=';_0x4bb2eb[_0x3fac79(0x7d7)](_0x58f5c8[_0x3fac79(_0x3ce544._0x5d622f)]+'\x20'+_0x289535+'\x20?'),_0x44cff5[_0x3fac79(_0x3ce544._0x10ef43)](_0x58f5c8[_0x3fac79(_0x3ce544._0x3c57c8)]);}}return{'sql':'\x20'+_0x25adec+'\x20'+_0x4bb2eb['join'](_0x3fac79(_0x3ce544._0x1552c6)),'params':_0x44cff5};}['conve'+_0x441e35(0x817)+'nToQu'+_0x441e35(0x2e0)+_0x441e35(0xb71)](_0x47209b,_0x52ea1e,_0x130e85=['id']){const _0x36557e={_0x2dd778:0x28b,_0x1de3bd:0x5a8,_0x5ee817:0x85b,_0x442f19:0xa9b,_0x16ee00:0x3b0,_0x5063fc:0xcf2,_0x1db9a3:0xc53,_0x4d4dee:0x3cd,_0x4c0806:0x4b2},_0x4ad835=_0x441e35,_0x3f338f={'BRNHE':_0x4ad835(_0x36557e._0x2dd778)+'rting'+_0x4ad835(0x38c)+'\x20to\x20Q'+_0x4ad835(_0x36557e._0x1de3bd)+_0x4ad835(_0x36557e._0x5ee817),'prlTV':function(_0x54914b,_0x40b958){return _0x54914b!==_0x40b958;},'CDXKz':function(_0x250202,_0x5dd1c8){return _0x250202===_0x5dd1c8;},'Dtyza':function(_0x202c40,_0x51a387){return _0x202c40===_0x51a387;},'jPmWH':_0x4ad835(_0x36557e._0x442f19)+_0x4ad835(0x429)+'rted\x20'+_0x4ad835(_0x36557e._0x16ee00)+_0x4ad835(0x2e0)+_0x4ad835(0xb71)};var _0x91632e,_0x15bc35;c['trace'](_0x3f338f[_0x4ad835(0x67c)],{'tableName':_0x47209b,'fieldCount':Object[_0x4ad835(0x54f)](_0x52ea1e)['lengt'+'h'],'idFields':_0x130e85});const _0x1b03b6={'name':_0x47209b,'cols':[],'wheres':[]};for(const [_0x5bf605,_0x2a23c9]of Object[_0x4ad835(0x469)+'es'](_0x52ea1e))_0x1b03b6[_0x4ad835(0x3cd)][_0x4ad835(0x7d7)]({'name':_0x5bf605,'value':_0x2a23c9}),_0x130e85['inclu'+_0x4ad835(0x2b3)](_0x5bf605)&&_0x3f338f[_0x4ad835(_0x36557e._0x5063fc)](_0x2a23c9,void(-0x12*-0xb5+0x1dff*0x1+-0x1*0x2ab9))&&(_0x3f338f[_0x4ad835(0xc3b)](_0x91632e=_0x1b03b6[_0x4ad835(0x545)+'s'],null)||_0x3f338f[_0x4ad835(_0x36557e._0x1db9a3)](_0x91632e,void(-0xa85+-0x88f*-0x1+0x1*0x1f6))||_0x91632e['push']({'name':_0x5bf605,'value':_0x2a23c9}));return c[_0x4ad835(0x64d)](_0x3f338f[_0x4ad835(0x425)],{'tableName':_0x47209b,'columnCount':_0x1b03b6[_0x4ad835(_0x36557e._0x4d4dee)][_0x4ad835(0x4b2)+'h'],'whereCount':((_0x15bc35=_0x1b03b6['where'+'s'])===null||_0x3f338f[_0x4ad835(0xc53)](_0x15bc35,void(-0x163b+-0x265*0x1+0x18a0))?void(0xe1e+-0x504+-0x91a):_0x15bc35[_0x4ad835(_0x36557e._0x4c0806)+'h'])||-0xaf5+-0x23b3+0x5d5*0x8}),_0x1b03b6;}async['impor'+_0x441e35(0x321)](_0x4be6f2){const _0x2eb1af={_0x55866d:0x7ce,_0x27c248:0x34c,_0x3a10fd:0xab0,_0x4a9813:0x619,_0xc0af40:0x753,_0x208636:0x88d,_0x4cad8f:0x3e2,_0x1c4dd6:0x68e,_0xbd7af8:0x485,_0xf9ccee:0x740,_0x6be8af:0x671,_0xa7ed33:0x8fd,_0x60736b:0xb76,_0x102076:0x76e,_0x5ef3c5:0xa64,_0x387668:0xa4e,_0xff8508:0x401,_0x423567:0x901,_0xa54e43:0x1d4,_0x40e46c:0x548,_0x33de66:0x6ce,_0x2f36c3:0x5df,_0x2fe297:0x401,_0x334544:0x35c,_0x88d423:0x5a3,_0x43c7a2:0x4e6,_0x49b15f:0x919,_0x4f7159:0xbd9,_0x4f0470:0x495,_0x4d5297:0x828,_0x499c1f:0x3a7,_0x87606d:0x7d7,_0x49dc50:0x353,_0x16ba8a:0x401,_0x51fd07:0xb44,_0x51a672:0x204,_0x45c616:0x581,_0x209c68:0x7bd,_0x5d6761:0x4d9,_0x3491ae:0xcfb,_0x20df0a:0xc9a,_0x9b4928:0x3a3,_0x3aec43:0x828,_0x2fbdb4:0x9dc,_0x440b60:0x850,_0x296a90:0x2b7,_0x467bbd:0x64d,_0x1c6e05:0x428,_0x5eb34a:0x4b2,_0x1de9fa:0x269,_0x176501:0x6c4,_0x3ab868:0x937,_0xc0600b:0x871,_0x156c37:0x9f6,_0x1fe5f0:0x459,_0x29faad:0xa23,_0x5227b6:0x971,_0x49d20f:0xa16,_0x323f1a:0x65f,_0x503c35:0x4b2,_0x29650b:0xb57,_0x5b8b70:0x56d,_0x40afde:0x305,_0x3aa320:0xaa6,_0x450295:0xcd8,_0x4a81d3:0x21e,_0x5f43a1:0x55e,_0x37c73f:0x517,_0x4f9da0:0xcd8,_0x16c713:0x7b0,_0x8e15b7:0xc45,_0x4b8151:0x78d,_0x5daa65:0x6d8,_0x36cb68:0x6ce,_0x2bbb10:0xc7d,_0x2f8345:0xa6e,_0x48b17b:0x599,_0x3a6715:0x5ec,_0x2d5e18:0x6e5,_0x37da5e:0x358,_0x3742b9:0xc37,_0x239370:0xb46,_0x3edd01:0x5cb,_0xbd2897:0xb3d,_0x398bba:0xc2c,_0x4b733b:0x850,_0x351d84:0x828,_0x31dd9f:0xcd7,_0x5487f5:0x598,_0x2c048e:0x50a},_0x37cc8e=_0x441e35,_0x34dca6={'uOfzB':'Data\x20'+_0x37cc8e(0xb3d)+_0x37cc8e(0x619)+_0x37cc8e(_0x2eb1af._0x55866d),'xpSdR':function(_0x323eb9,_0x47d5bf){return _0x323eb9!==_0x47d5bf;},'ahydl':_0x37cc8e(0x877),'zTUSS':_0x37cc8e(_0x2eb1af._0x27c248)+'ase\x20i'+_0x37cc8e(_0x2eb1af._0x3a10fd)+'\x20conn'+_0x37cc8e(0xc11),'WJmff':_0x37cc8e(0x8fd)+_0x37cc8e(_0x2eb1af._0x4a9813)+_0x37cc8e(0xab5)+_0x37cc8e(0x281)+_0x37cc8e(0xca0)+_0x37cc8e(_0x2eb1af._0xc0af40)+'onnec'+'ted','HjeTe':function(_0x57b056,_0x11ed27){return _0x57b056===_0x11ed27;},'mxMdg':function(_0x3779d4,_0xdcd9b6){return _0x3779d4-_0xdcd9b6;},'EkPjA':'Table'+_0x37cc8e(_0x2eb1af._0x208636)+_0x37cc8e(0x5b6)+_0x37cc8e(_0x2eb1af._0x4cad8f)+_0x37cc8e(_0x2eb1af._0x1c4dd6)+_0x37cc8e(0xb3d)+'t','nczkU':function(_0x28f7da,_0x4ac76e){return _0x28f7da<_0x4ac76e;},'ULGFH':_0x37cc8e(0x809)+_0x37cc8e(0xb58)+_0x37cc8e(0xb93)+_0x37cc8e(0x978)+_0x37cc8e(0x289),'mUiuL':function(_0x101fd4,_0x1957fb){return _0x101fd4+_0x1957fb;},'MaoMu':function(_0x369be8,_0x2f0a42){return _0x369be8/_0x2f0a42;},'utODC':_0x37cc8e(_0x2eb1af._0xbd7af8)+_0x37cc8e(_0x2eb1af._0xf9ccee)+_0x37cc8e(_0x2eb1af._0x6be8af)+'ed','fQowg':function(_0x50356d,_0x400f48){return _0x50356d instanceof _0x400f48;},'CymEW':function(_0xa4e7ab,_0xf71f6e){return _0xa4e7ab-_0xf71f6e;},'KnQkV':_0x37cc8e(_0x2eb1af._0xa7ed33)+_0x37cc8e(0xa54)+_0x37cc8e(0xc7d)+_0x37cc8e(0x861)+_0x37cc8e(0x283)+_0x37cc8e(0x23d)+'ng\x20ba'+_0x37cc8e(0x2d9)+'ansac'+_0x37cc8e(_0x2eb1af._0x60736b),'qcVXT':function(_0x16c642,_0xcac254){return _0x16c642 instanceof _0xcac254;}};c[_0x37cc8e(0x5cb)](_0x37cc8e(_0x2eb1af._0x102076)+_0x37cc8e(_0x2eb1af._0x5ef3c5)+'ata\x20i'+_0x37cc8e(0x740)+_0x37cc8e(_0x2eb1af._0x387668)+_0x37cc8e(0x1da),{'tableName':_0x4be6f2[_0x37cc8e(0x828)+'Name'],'totalRows':_0x4be6f2[_0x37cc8e(_0x2eb1af._0xff8508)][_0x37cc8e(0x4b2)+'h'],'batchSize':_0x4be6f2['batch'+_0x37cc8e(_0x2eb1af._0x423567)]||0x5*-0x7c4+0x98*-0x4+-0x168e*-0x2,'validateData':_0x4be6f2[_0x37cc8e(_0x2eb1af._0xa54e43)+_0x37cc8e(0x837)+'ta'],'updateOnConflict':_0x4be6f2['updat'+_0x37cc8e(_0x2eb1af._0x40e46c)+_0x37cc8e(0x563)+'t'],'skipErrors':_0x4be6f2[_0x37cc8e(0x909)+_0x37cc8e(_0x2eb1af._0x33de66)]});const _0x6ab0a4=Date[_0x37cc8e(_0x2eb1af._0x2f36c3)](),_0x2e6b13={'totalRows':_0x4be6f2[_0x37cc8e(_0x2eb1af._0x2fe297)][_0x37cc8e(0x4b2)+'h'],'successRows':0x0,'errorRows':0x0,'errors':[],'executionTime':0x0};if(!this[_0x37cc8e(0xadd)+'necte'+'d']){if(_0x34dca6[_0x37cc8e(_0x2eb1af._0x334544)](_0x34dca6[_0x37cc8e(_0x2eb1af._0x88d423)],_0x34dca6[_0x37cc8e(0x5a3)]))_0x5ef07d['warn'](_0x37cc8e(_0x2eb1af._0x43c7a2)+_0x37cc8e(_0x2eb1af._0x49b15f)+_0x37cc8e(0x9f3)+'g\x20ite'+_0x37cc8e(0x398)+_0x37cc8e(_0x2eb1af._0x4f7159)+'upser'+'t',{'schemaName':this[_0x37cc8e(_0x2eb1af._0x4f0470)+'aName'],'tableName':this[_0x37cc8e(_0x2eb1af._0x4d5297)+_0x37cc8e(_0x2eb1af._0x499c1f)],'index':_0x54bc90,'error':_0x51d1b4['messa'+'ge']}),_0x25998a[_0x37cc8e(0x850)+'s'][_0x37cc8e(_0x2eb1af._0x87606d)]({'index':_0x552555,'data':_0x4df21f,'error':_0x2b5732['messa'+'ge']});else{const _0x1b90f6=new Error(_0x34dca6[_0x37cc8e(_0x2eb1af._0x49dc50)]);throw c['error'](_0x34dca6[_0x37cc8e(0xa0b)]),_0x1b90f6;}}if(!_0x4be6f2[_0x37cc8e(0x401)]||_0x34dca6['HjeTe'](_0x4be6f2[_0x37cc8e(_0x2eb1af._0x16ba8a)][_0x37cc8e(0x4b2)+'h'],-0x1624+0x1*0xbb+0x1569))return c[_0x37cc8e(0xc45)]('No\x20da'+_0x37cc8e(_0x2eb1af._0x51fd07)+_0x37cc8e(_0x2eb1af._0x51a672)+_0x37cc8e(_0x2eb1af._0x45c616)+_0x37cc8e(0xb93)+_0x37cc8e(_0x2eb1af._0x209c68)+_0x37cc8e(_0x2eb1af._0x5d6761)+_0x37cc8e(0x203)+_0x37cc8e(0x74e)+'resul'+'t'),_0x2e6b13['execu'+_0x37cc8e(_0x2eb1af._0x3491ae)+_0x37cc8e(_0x2eb1af._0x20df0a)]=_0x34dca6[_0x37cc8e(_0x2eb1af._0x9b4928)](Date[_0x37cc8e(_0x2eb1af._0x2f36c3)](),_0x6ab0a4),_0x2e6b13;const _0x29d69b=await this['getTa'+_0x37cc8e(0x1d9)+'fo'](_0x4be6f2[_0x37cc8e(_0x2eb1af._0x3aec43)+_0x37cc8e(0x3a7)]);if(_0x29d69b[_0x37cc8e(0x4b2)+'h']===-0x3c2+-0x1683+0x1a45){const _0x1e3977=new Error(_0x37cc8e(_0x2eb1af._0x2fbdb4)+'\x20\x27'+_0x4be6f2['table'+'Name']+('\x27\x20doe'+_0x37cc8e(0xab0)+'\x20exis'+'t'));throw c[_0x37cc8e(_0x2eb1af._0x440b60)](_0x37cc8e(0x8fd)+'t\x20fai'+_0x37cc8e(0xab5)+_0x37cc8e(0x77f)+_0x37cc8e(_0x2eb1af._0x296a90)+'s\x20not'+_0x37cc8e(0x62c)+'t',{'tableName':_0x4be6f2['table'+'Name']}),_0x1e3977;}c[_0x37cc8e(_0x2eb1af._0x467bbd)](_0x34dca6[_0x37cc8e(_0x2eb1af._0x1c6e05)],{'tableName':_0x4be6f2[_0x37cc8e(0x828)+_0x37cc8e(0x3a7)],'columnCount':_0x29d69b[_0x37cc8e(_0x2eb1af._0x5eb34a)+'h']});const _0x145b4e=new Map(_0x29d69b[_0x37cc8e(_0x2eb1af._0x1de9fa)](_0x16ae23=>[_0x16ae23[_0x37cc8e(0x47c)][_0x37cc8e(0x33c)+_0x37cc8e(0x5ea)+'e'](),_0x16ae23])),_0x180dbe=_0x4be6f2[_0x37cc8e(_0x2eb1af._0x176501)+_0x37cc8e(0x901)]||0x1705+0x13f5+-0x683*0x6;let _0x1b37d2=-0x3*-0x259+0x4f3*0x1+-0xbfe;const _0x3869c1=!_0x4be6f2[_0x37cc8e(_0x2eb1af._0x3ab868)+_0x37cc8e(_0x2eb1af._0xc0600b)+_0x37cc8e(_0x2eb1af._0x156c37)+_0x37cc8e(_0x2eb1af._0x1fe5f0)+'PK'];try{await this[_0x37cc8e(0x224)+'Trans'+_0x37cc8e(0x278)+'n']();for(let _0x1a14fb=0x236c*-0x1+0x4*-0x799+0x41d0;_0x34dca6[_0x37cc8e(0xcf3)](_0x1a14fb,_0x4be6f2[_0x37cc8e(_0x2eb1af._0x2fe297)][_0x37cc8e(0x4b2)+'h']);_0x1a14fb+=_0x180dbe){if(_0x37cc8e(_0x2eb1af._0x29faad)===_0x37cc8e(0xa23)){const _0x444d2d=_0x4be6f2['data']['slice'](_0x1a14fb,_0x1a14fb+_0x180dbe);c[_0x37cc8e(0x64d)](_0x34dca6[_0x37cc8e(_0x2eb1af._0x5227b6)],{'batchNumber':_0x34dca6['mUiuL'](Math[_0x37cc8e(_0x2eb1af._0x49d20f)](_0x1a14fb/_0x180dbe),-0x5*-0x3a+-0x2f*-0x4+-0x1dd),'batchSize':_0x444d2d['lengt'+'h'],'totalBatches':Math[_0x37cc8e(_0x2eb1af._0x323f1a)](_0x34dca6[_0x37cc8e(0xae7)](_0x4be6f2['data'][_0x37cc8e(_0x2eb1af._0x5eb34a)+'h'],_0x180dbe))});for(let _0x4912f6=-0x19ea+0x1275*-0x2+0x3ed4;_0x4912f6<_0x444d2d[_0x37cc8e(_0x2eb1af._0x503c35)+'h'];_0x4912f6++){const _0x27b4cf=_0x1a14fb+_0x4912f6,_0x1a14ae=_0x444d2d[_0x4912f6];try{const _0x5d18ba=_0x4be6f2[_0x37cc8e(0x1d4)+_0x37cc8e(0x837)+'ta']?this[_0x37cc8e(0x1d4)+_0x37cc8e(_0x2eb1af._0x29650b)+_0x37cc8e(0xbe9)+_0x37cc8e(_0x2eb1af._0x5b8b70)+_0x37cc8e(_0x2eb1af._0x40afde)](_0x1a14ae,_0x145b4e,_0x4be6f2[_0x37cc8e(0x828)+'Name'],_0x3869c1):this['trans'+_0x37cc8e(0x1dc)+_0x37cc8e(_0x2eb1af._0x3aa320)+'a'](_0x1a14ae,_0x145b4e,_0x3869c1);_0x4be6f2['updat'+'eOnCo'+_0x37cc8e(0x563)+'t']&&_0x4be6f2[_0x37cc8e(0x327)+_0x37cc8e(_0x2eb1af._0x450295)+_0x37cc8e(_0x2eb1af._0x4a81d3)]?await this[_0x37cc8e(0x53e)+_0x37cc8e(_0x2eb1af._0x5f43a1)+_0x37cc8e(_0x2eb1af._0x37c73f)](_0x4be6f2['table'+_0x37cc8e(0x3a7)],_0x5d18ba,_0x4be6f2[_0x37cc8e(0x327)+_0x37cc8e(_0x2eb1af._0x4f9da0)+_0x37cc8e(0x21e)]):await this[_0x37cc8e(0x53e)+'tRow'](_0x4be6f2[_0x37cc8e(0x828)+_0x37cc8e(_0x2eb1af._0x499c1f)],_0x5d18ba),_0x2e6b13[_0x37cc8e(0xa84)+_0x37cc8e(0x570)+'s']++;}catch(_0x20be98){_0x2e6b13[_0x37cc8e(0x850)+_0x37cc8e(_0x2eb1af._0x16c713)]++;const _0x1a5017={'rowIndex':_0x27b4cf,'error':_0x20be98 instanceof Error?_0x20be98['messa'+'ge']:String(_0x20be98),'rowData':_0x1a14ae};if(_0x2e6b13[_0x37cc8e(0x850)+'s'][_0x37cc8e(0x7d7)](_0x1a5017),c[_0x37cc8e(_0x2eb1af._0x8e15b7)](_0x34dca6[_0x37cc8e(_0x2eb1af._0x4b8151)],{'rowIndex':_0x27b4cf,'tableName':_0x4be6f2[_0x37cc8e(0x828)+_0x37cc8e(_0x2eb1af._0x499c1f)],'error':_0x34dca6[_0x37cc8e(0xc35)](_0x20be98,Error)?_0x20be98[_0x37cc8e(_0x2eb1af._0x5daa65)+'ge']:_0x20be98}),_0x4be6f2[_0x37cc8e(0x863)+'or']&&_0x4be6f2['onErr'+'or'](_0x20be98 instanceof Error?_0x20be98:new Error(String(_0x20be98)),_0x27b4cf,_0x1a14ae),!_0x4be6f2[_0x37cc8e(0x909)+_0x37cc8e(_0x2eb1af._0x36cb68)])throw c[_0x37cc8e(0x850)](_0x37cc8e(0x8fd)+_0x37cc8e(0xa54)+_0x37cc8e(_0x2eb1af._0x2bbb10)+_0x37cc8e(_0x2eb1af._0x2f8345)+_0x37cc8e(_0x2eb1af._0x48b17b)+_0x37cc8e(0x821)+_0x37cc8e(_0x2eb1af._0x3a6715)+_0x37cc8e(_0x2eb1af._0x2d5e18)+_0x37cc8e(0x3c1)+_0x37cc8e(0x430)+_0x37cc8e(0x7fb)+'lse'),_0x20be98;}_0x1b37d2++,_0x4be6f2['onPro'+_0x37cc8e(0xc37)]&&_0x1b37d2%(-0x6b*0x37+0x25cf+-0x737*0x2)===0x1cdd+0x1e9*-0x13+0x76e&&_0x4be6f2[_0x37cc8e(_0x2eb1af._0x37da5e)+_0x37cc8e(_0x2eb1af._0x3742b9)](_0x1b37d2,_0x4be6f2[_0x37cc8e(0x401)]['lengt'+'h']);}}else throw _0x2e9fb9['error'](_0x34dca6[_0x37cc8e(0x70e)],{'databaseKey':_0x2ac701,'tableName':_0x28f995,'error':_0xca0817[_0x37cc8e(0x6d8)+'ge']}),_0x4f00be;}await this[_0x37cc8e(_0x2eb1af._0x239370)+_0x37cc8e(0x46e)+_0x37cc8e(0x980)+'on'](),c[_0x37cc8e(_0x2eb1af._0x3edd01)]('Data\x20'+_0x37cc8e(_0x2eb1af._0xbd2897)+_0x37cc8e(0xc5b)+'plete'+_0x37cc8e(0x39d)+_0x37cc8e(_0x2eb1af._0x398bba)+_0x37cc8e(0x2a9),{'tableName':_0x4be6f2['table'+_0x37cc8e(_0x2eb1af._0x499c1f)],'totalRows':_0x2e6b13[_0x37cc8e(0x552)+_0x37cc8e(0x7b0)],'successRows':_0x2e6b13[_0x37cc8e(0xa84)+'ssRow'+'s'],'errorRows':_0x2e6b13[_0x37cc8e(0x850)+'Rows'],'executionTime':_0x34dca6['CymEW'](Date['now'](),_0x6ab0a4)});}catch(_0x4f1cd1){throw c[_0x37cc8e(_0x2eb1af._0x4b733b)](_0x34dca6[_0x37cc8e(0x8d5)],{'tableName':_0x4be6f2[_0x37cc8e(_0x2eb1af._0x351d84)+_0x37cc8e(0x3a7)],'processedCount':_0x1b37d2,'error':_0x34dca6[_0x37cc8e(0x301)](_0x4f1cd1,Error)?_0x4f1cd1[_0x37cc8e(0x6d8)+'ge']:_0x4f1cd1}),await this[_0x37cc8e(0x539)+_0x37cc8e(_0x2eb1af._0x31dd9f)+_0x37cc8e(_0x2eb1af._0x5487f5)+_0x37cc8e(0xb76)](),_0x4f1cd1;}return _0x4be6f2[_0x37cc8e(0x358)+_0x37cc8e(0xc37)]&&_0x4be6f2[_0x37cc8e(0x358)+_0x37cc8e(_0x2eb1af._0x3742b9)](_0x1b37d2,_0x4be6f2[_0x37cc8e(0x401)][_0x37cc8e(_0x2eb1af._0x5eb34a)+'h']),_0x2e6b13[_0x37cc8e(_0x2eb1af._0x2c048e)+_0x37cc8e(0xcfb)+_0x37cc8e(_0x2eb1af._0x20df0a)]=Date[_0x37cc8e(0x5df)]()-_0x6ab0a4,_0x2e6b13;}async['impor'+'tData'+_0x441e35(0x959)+_0x441e35(0x888)+'g'](_0x254ed4,_0x2f2e55,_0x3d653f,_0x149454={}){const _0x339918={_0x3fded6:0xa64,_0x2d0218:0x740,_0x1b247e:0x3a1,_0xae3073:0x76b,_0x6b6dbc:0x4b2,_0xd75f4b:0x269,_0xabf21d:0x64d,_0xed0920:0xa47,_0x3ccdbc:0x4b2,_0x4cbe64:0xb3d},_0x6d8d05={_0xd9b34a:0x5f7,_0x31b2bc:0x2d7,_0x51f960:0x638,_0x1d1286:0x304},_0x499bb6={_0x37d646:0x5f8,_0x3cd592:0x3ba,_0x147491:0xaaa,_0x856abc:0xa83,_0x559e26:0x781,_0x4e8701:0x397,_0x462b7a:0x4e6,_0x2428de:0xcbf,_0xe58f4:0x6fd,_0x2fdc2f:0x6d8,_0x5a8d9:0xb59,_0x19f7eb:0x1e1},_0x2d3040=_0x441e35,_0x3adb2d={'QWGwl':'Colum'+'n\x20tra'+_0x2d3040(0x644)+_0x2d3040(0x37f)+_0x2d3040(0x861)+'led'};c[_0x2d3040(0x5cb)]('Start'+_0x2d3040(_0x339918._0x3fded6)+'ata\x20i'+_0x2d3040(_0x339918._0x2d0218)+_0x2d3040(_0x339918._0x1b247e)+_0x2d3040(0x617)+_0x2d3040(_0x339918._0xae3073)+_0x2d3040(0x271),{'tableName':_0x254ed4,'dataRows':_0x2f2e55['lengt'+'h'],'mappingCount':_0x3d653f[_0x2d3040(_0x339918._0x6b6dbc)+'h']});const _0x210f41=_0x2f2e55[_0x2d3040(_0x339918._0xd75f4b)]((_0x2ad085,_0x20bbda)=>{const _0x33aa8f=_0x2d3040,_0x145760={'jeJrn':function(_0x5d9f29,_0x3d0f1f){return _0x5d9f29===_0x3d0f1f;},'NSBxm':_0x3adb2d[_0x33aa8f(_0x6d8d05._0xd9b34a)],'QFxok':function(_0x5418df,_0x43493f){return _0x5418df instanceof _0x43493f;}};c[_0x33aa8f(_0x6d8d05._0x31b2bc)]('Trans'+_0x33aa8f(_0x6d8d05._0x51f960)+_0x33aa8f(0x64e)+'w\x20wit'+'h\x20col'+_0x33aa8f(0xc40)+_0x33aa8f(0x888)+'gs',{'rowIndex':_0x20bbda});const _0x2660b5={};return _0x3d653f[_0x33aa8f(_0x6d8d05._0x1d1286)+'ch'](_0x191da5=>{const _0xd76c5e=_0x33aa8f;if(_0x2ad085[_0xd76c5e(0x8d9)+_0xd76c5e(_0x499bb6._0x37d646)+_0xd76c5e(0x3a6)](_0x191da5[_0xd76c5e(_0x499bb6._0x3cd592)+_0xd76c5e(_0x499bb6._0x147491)+'mn'])){let _0x100e01=_0x2ad085[_0x191da5[_0xd76c5e(0x3ba)+'eColu'+'mn']];if(_0x191da5[_0xd76c5e(0x7d1)+_0xd76c5e(_0x499bb6._0x856abc)])try{_0x145760[_0xd76c5e(_0x499bb6._0x559e26)](_0xd76c5e(_0x499bb6._0x4e8701),_0xd76c5e(0x397))?_0x100e01=_0x191da5['trans'+'form'](_0x100e01):_0x1b3785[_0xd76c5e(0x850)](_0xd76c5e(_0x499bb6._0x462b7a)+_0xd76c5e(0x42e)+'ing\x20d'+'ataba'+'se\x20co'+'nnect'+_0xd76c5e(_0x499bb6._0x2428de)+_0xd76c5e(0x872)+_0xd76c5e(_0x499bb6._0xe58f4)+_0xd76c5e(0x9e2),{'dbKey':_0x1f502a,'error':_0xc48500[_0xd76c5e(_0x499bb6._0x2fdc2f)+'ge']});}catch(_0x1c1c8d){c['warn'](_0x145760[_0xd76c5e(0x439)],{'rowIndex':_0x20bbda,'sourceColumn':_0x191da5[_0xd76c5e(0x3ba)+_0xd76c5e(_0x499bb6._0x147491)+'mn'],'targetColumn':_0x191da5[_0xd76c5e(0x865)+_0xd76c5e(_0x499bb6._0x5a8d9)+'mn'],'error':_0x145760[_0xd76c5e(_0x499bb6._0x19f7eb)](_0x1c1c8d,Error)?_0x1c1c8d[_0xd76c5e(0x6d8)+'ge']:_0x1c1c8d});}_0x2660b5[_0x191da5['targe'+_0xd76c5e(_0x499bb6._0x5a8d9)+'mn']]=_0x100e01;}}),_0x2660b5;});return c[_0x2d3040(_0x339918._0xabf21d)](_0x2d3040(_0x339918._0xed0920)+_0x2d3040(0x7d1)+_0x2d3040(0x317)+'tion\x20'+_0x2d3040(0x445)+'eted',{'originalRowCount':_0x2f2e55[_0x2d3040(_0x339918._0x3ccdbc)+'h'],'transformedRowCount':_0x210f41[_0x2d3040(0x4b2)+'h']}),await this[_0x2d3040(_0x339918._0x4cbe64)+'tData'](Object['assig'+'n']({'tableName':_0x254ed4,'data':_0x210f41},_0x149454));}async[_0x441e35(0xb3d)+_0x441e35(0x9ab)+_0x441e35(0x565)](_0xb311d3,_0x28ae96,_0x57c16b={}){const _0x2410d9={_0x51af40:0xb5d,_0x2d2939:0x2ca,_0x1e0adb:0xbda,_0x3854e5:0xc8d,_0x346602:0x9ad,_0x501cf:0xab9,_0x57ba4e:0x696,_0x126b1e:0x678,_0x797a49:0x617,_0xa8338b:0x76b,_0x407506:0x76e,_0x3f5d00:0x974,_0x24b24c:0xaa7,_0x48836d:0x4b2,_0x13ac76:0x63f,_0xb0d4ff:0xab6,_0x34cbc2:0xc10,_0x2db32c:0xb67,_0x4bf586:0x740,_0x584c7c:0x671,_0x1da42e:0x450,_0x3b0fc2:0x8d8,_0x2e873a:0x281,_0x463eb4:0x4b2,_0x23e59b:0x600,_0x5a995f:0x7a5,_0xbc36b1:0x7e4,_0x5f5a0b:0x395,_0x35b72a:0x565,_0x4a3607:0x600,_0x543313:0x304,_0x3dcc5a:0x64d,_0x23efa2:0x4b2,_0x164611:0x7e4,_0x5652ab:0x259,_0x56a1a6:0xb3d},_0x1dbc99={_0x2b603c:0x9ad,_0x2ba0ab:0x495,_0x2cb8ee:0x3a7,_0x516d19:0x3bc},_0x2c8d2d=_0x441e35,_0xf71cc={'WpjUy':'Error'+_0x2c8d2d(_0x2410d9._0x51af40)+_0x2c8d2d(_0x2410d9._0x2d2939)+_0x2c8d2d(_0x2410d9._0x1e0adb)+_0x2c8d2d(_0x2410d9._0x3854e5)+_0x2c8d2d(0x88f),'cLdhb':_0x2c8d2d(_0x2410d9._0x346602),'heaEO':function(_0x29e915,_0x304bf7){return _0x29e915!==_0x304bf7;},'AgUeQ':_0x2c8d2d(_0x2410d9._0x501cf)+'eader'+_0x2c8d2d(_0x2410d9._0x57ba4e)+_0x2c8d2d(0x9e7)+'d','AixUo':_0x2c8d2d(0x9d5)+_0x2c8d2d(0x387)+_0x2c8d2d(0x5a1),'ATUNE':_0x2c8d2d(_0x2410d9._0x126b1e)+_0x2c8d2d(_0x2410d9._0x797a49)+_0x2c8d2d(_0x2410d9._0xa8338b)+'pping'+'s\x20for'+'\x20CSV\x20'+_0x2c8d2d(0xb3d)+'t'};c[_0x2c8d2d(0x5cb)](_0x2c8d2d(_0x2410d9._0x407506)+_0x2c8d2d(0x60e)+_0x2c8d2d(_0x2410d9._0x3f5d00)+_0x2c8d2d(_0x2410d9._0x24b24c),{'tableName':_0xb311d3,'csvLength':_0x28ae96[_0x2c8d2d(_0x2410d9._0x48836d)+'h'],'delimiter':_0x57c16b[_0x2c8d2d(0xa87)+_0x2c8d2d(_0x2410d9._0x13ac76)]||',','hasHeader':_0xf71cc[_0x2c8d2d(_0x2410d9._0xb0d4ff)](_0x57c16b['hasHe'+_0x2c8d2d(0x331)],!(-0x83e+-0x6b8+0xef7))});const _0x4c0aeb=_0x57c16b['delim'+_0x2c8d2d(0x63f)]||',',_0x4b6711=_0xf71cc[_0x2c8d2d(0xab6)](_0x57c16b[_0x2c8d2d(_0x2410d9._0x34cbc2)+_0x2c8d2d(0x331)],!(-0x71c+-0x382+-0x1*-0xa9f)),_0x1e0680=_0x28ae96[_0x2c8d2d(0x600)]('\x0a')['filte'+'r'](_0x155b4b=>_0x155b4b[_0x2c8d2d(0x2df)]());if(_0x1e0680[_0x2c8d2d(_0x2410d9._0x48836d)+'h']===0xc7b+-0x24a1+-0x2*-0xc13){const _0x4f7c6c=new Error(_0x2c8d2d(0x9d5)+_0x2c8d2d(0xa74)+_0x2c8d2d(_0x2410d9._0x2db32c)+'ty');throw c['error']('CSV\x20i'+_0x2c8d2d(_0x2410d9._0x4bf586)+_0x2c8d2d(_0x2410d9._0x584c7c)+_0x2c8d2d(_0x2410d9._0x1da42e)+_0x2c8d2d(_0x2410d9._0x3b0fc2)+_0x2c8d2d(_0x2410d9._0x2e873a)),_0x4f7c6c;}let _0x45d0e4=[],_0x22a35d=-0xf1*0x1+-0x11ae+0x15*0xe3;if(_0x4b6711)_0x45d0e4=_0x1e0680[-0x506*-0x3+0x72*-0x47+0x161*0xc]['split'](_0x4c0aeb)[_0x2c8d2d(0x269)](_0x51486f=>_0x51486f['trim']()[_0x2c8d2d(0xbfb)+'ce'](/^["']|["']$/g,'')),_0x22a35d=0x2506+-0x1530+-0xfd5,c['debug'](_0xf71cc[_0x2c8d2d(0x400)],{'headers':_0x45d0e4,'headerCount':_0x45d0e4[_0x2c8d2d(_0x2410d9._0x463eb4)+'h']});else{const _0x3bd9c5=_0x1e0680[-0x234+0x5c*0x56+-0x1cb4][_0x2c8d2d(_0x2410d9._0x23e59b)](_0x4c0aeb)['lengt'+'h'];_0x45d0e4=Array[_0x2c8d2d(0xc98)]({'length':_0x3bd9c5},(_0xd73ded,_0x220b9b)=>_0x2c8d2d(0x7e4)+'n_'+(_0x220b9b+(-0x1976*0x1+-0x1118*0x1+-0x5*-0x883))),c[_0x2c8d2d(0x64d)](_0x2c8d2d(_0x2410d9._0x5a995f)+'ated\x20'+_0x2c8d2d(_0x2410d9._0xbc36b1)+_0x2c8d2d(_0x2410d9._0x5f5a0b)+_0x2c8d2d(0x61c)+_0x2c8d2d(0x8f2)+_0x2c8d2d(0x2a4)+'less\x20'+_0x2c8d2d(_0x2410d9._0x35b72a),{'columnCount':_0x3bd9c5,'headers':_0x45d0e4});}const _0x240f88=[];for(let _0x415852=_0x22a35d;_0x415852<_0x1e0680[_0x2c8d2d(0x4b2)+'h'];_0x415852++){const _0x515689=_0x1e0680[_0x415852][_0x2c8d2d(_0x2410d9._0x4a3607)](_0x4c0aeb)[_0x2c8d2d(0x269)](_0x373118=>_0x373118[_0x2c8d2d(0x2df)]()[_0x2c8d2d(0xbfb)+'ce'](/^["']|["']$/g,'')),_0x58fbf4={};_0x45d0e4[_0x2c8d2d(_0x2410d9._0x543313)+'ch']((_0x4ca955,_0x3c1f50)=>{const _0xe6bd69=_0x2c8d2d,_0x19c6a4={'dHfRq':_0xf71cc[_0xe6bd69(0xa81)]};if(_0xe6bd69(_0x1dbc99._0x2b603c)===_0xf71cc['cLdhb'])_0x58fbf4[_0x4ca955]=_0x515689[_0x3c1f50]||null;else throw _0x493332['error'](_0x19c6a4['dHfRq'],{'schemaName':this[_0xe6bd69(_0x1dbc99._0x2ba0ab)+_0xe6bd69(0x3ed)],'tableName':this['table'+_0xe6bd69(_0x1dbc99._0x2cb8ee)],'error':_0x49950d[_0xe6bd69(0x6d8)+'ge']}),this[_0xe6bd69(0x968)+_0xe6bd69(0xc01)+'or']('INIT_'+_0xe6bd69(_0x1dbc99._0x516d19),_0x24d8dd),_0x52a267;}),_0x240f88[_0x2c8d2d(0x7d7)](_0x58fbf4);}return c[_0x2c8d2d(_0x2410d9._0x3dcc5a)](_0xf71cc[_0x2c8d2d(0x32e)],{'totalLines':_0x1e0680[_0x2c8d2d(_0x2410d9._0x463eb4)+'h'],'dataRows':_0x240f88[_0x2c8d2d(_0x2410d9._0x23efa2)+'h'],'skipHeader':_0x4b6711}),_0x57c16b[_0x2c8d2d(_0x2410d9._0x164611)+'nMapp'+'ings']?(c['debug'](_0xf71cc[_0x2c8d2d(_0x2410d9._0x5652ab)]),await this[_0x2c8d2d(0xb3d)+_0x2c8d2d(0x321)+'WithM'+_0x2c8d2d(0x888)+'g'](_0xb311d3,_0x240f88,_0x57c16b['colum'+_0x2c8d2d(0xc93)+'ings'],_0x57c16b)):await this[_0x2c8d2d(_0x2410d9._0x56a1a6)+'tData'](Object['assig'+'n']({'tableName':_0xb311d3,'data':_0x240f88},_0x57c16b));}[_0x441e35(0x1d4)+_0x441e35(0xb57)+_0x441e35(0xbe9)+_0x441e35(0x56d)+_0x441e35(0x305)](_0x1d30cd,_0x250611,_0x45d5e5,_0x1eaf08=!(-0x17c3+0x2697+0x3b5*-0x4)){const _0x16f852={_0x410a1e:0xacb,_0x30ced1:0x40f,_0x129cba:0x861,_0x5e41e0:0x2d7,_0x4fe51b:0x7f5,_0x55446d:0x638,_0x423680:0xb1d,_0x5c52ab:0x231,_0x2f2cba:0x83d,_0x126d81:0xc6c,_0x190b90:0x5b0,_0x34e1d7:0xcc6,_0x591481:0xc6c,_0x13cc52:0xcc6,_0x35a720:0x4c5,_0x27b19e:0xaf5,_0x1cb944:0xa92,_0x5e97ab:0x770,_0x6aefd7:0xb04,_0x4e2b67:0x677,_0x59842b:0x57a,_0x5948d6:0xbd2,_0x31debc:0x265,_0x7b1f23:0x850,_0x171986:0xc20,_0x1b1980:0x886,_0x476c3:0x747,_0x22fefd:0x6d8},_0x25fc80=_0x441e35,_0x1542b2={'bJdSj':function(_0x2de2ca,_0x29812d){return _0x2de2ca!==_0x29812d;},'myLMN':'yifcx','yeIHV':function(_0x398b0b,_0x161122){return _0x398b0b===_0x161122;},'mRmWu':function(_0x1125bf,_0x58df87){return _0x1125bf==_0x58df87;},'jvFPw':function(_0x5eed5f,_0x25a2a4){return _0x5eed5f!=_0x25a2a4;},'aryOR':_0x25fc80(_0x16f852._0x410a1e)+_0x25fc80(_0x16f852._0x30ced1)+'ersio'+_0x25fc80(_0x16f852._0x129cba)+_0x25fc80(0x75f)+_0x25fc80(0x872)+_0x25fc80(0xabc)+_0x25fc80(0xaff)+'n','sdaiy':function(_0x445893,_0x28056d){return _0x445893 instanceof _0x28056d;}};c[_0x25fc80(_0x16f852._0x5e41e0)](_0x25fc80(0xa10)+_0x25fc80(_0x16f852._0x4fe51b)+'\x20and\x20'+_0x25fc80(0x7d1)+_0x25fc80(_0x16f852._0x55446d)+'ng\x20ro'+'w\x20dat'+'a',{'tableName':_0x45d5e5});const _0x8fc299={};for(const [_0x317f77,_0x5ad600]of _0x250611[_0x25fc80(0x469)+'es']()){if(_0x1542b2[_0x25fc80(_0x16f852._0x423680)](_0x1542b2[_0x25fc80(0x4fd)],'yifcx')){const _0x48f0cd=_0x4925a2[_0x25fc80(0x269)](_0x25f235=>_0x25fc80(0xa20)+_0x25f235[_0x25fc80(0x762)]+':\x20'+_0x25f235['error']['messa'+'ge'])[_0x25fc80(_0x16f852._0x5c52ab)]('\x0a');throw _0x316ccc[_0x25fc80(0x850)]('Faile'+_0x25fc80(_0x16f852._0x2f2cba)+'open\x20'+_0x25fc80(_0x16f852._0x126d81)+_0x25fc80(_0x16f852._0x190b90)+_0x25fc80(_0x16f852._0x34e1d7)+'abase'+'s',{'failedDatabases':_0x1f6523['map'](_0x58a218=>_0x58a218['key']),'errorSummary':_0x48f0cd}),new _0x301d70('Faile'+'d\x20to\x20'+_0x25fc80(0x4e0)+_0x25fc80(_0x16f852._0x591481)+_0x25fc80(_0x16f852._0x190b90)+_0x25fc80(_0x16f852._0x13cc52)+_0x25fc80(0x969)+_0x25fc80(0x924)+_0x48f0cd);}else{const _0x56c5bb=_0x1542b2['yeIHV'](_0x5ad600[_0x25fc80(0x6cf)+'ll'],0x220c+0x15*0xb+0x12*-0x1f1)&&!_0x5ad600['dflt_'+_0x25fc80(_0x16f852._0x35a720)],_0x359e0c=_0x5ad600['pk']===-0x1*0xb4e+-0x21ef+0x1*0x2d3e&&_0x5ad600['type']['toLow'+_0x25fc80(0x5ea)+'e']()[_0x25fc80(0x937)+_0x25fc80(0x2b3)](_0x25fc80(0x210)+'er');if(_0x1eaf08&&_0x359e0c)continue;const _0x26c061=this[_0x25fc80(_0x16f852._0x27b19e)+'alueF'+_0x25fc80(_0x16f852._0x1cb944)+_0x25fc80(0xc07)](_0x1d30cd,_0x317f77);if(_0x56c5bb&&_0x1542b2[_0x25fc80(0xbaf)](_0x26c061,null)){const _0x3334d8=new Error(_0x25fc80(0xb34)+_0x25fc80(0x213)+_0x25fc80(_0x16f852._0x5e97ab)+'\x20\x27'+_0x317f77+(_0x25fc80(_0x16f852._0x6aefd7)+_0x25fc80(_0x16f852._0x4e2b67)+_0x25fc80(_0x16f852._0x59842b)+'\x20null'+_0x25fc80(0xcc2)+_0x25fc80(0x30b)+'\x27')+_0x45d5e5+'\x27');throw c['error'](_0x25fc80(0xa0e)+_0x25fc80(_0x16f852._0x5948d6)+_0x25fc80(0x8d1)+_0x25fc80(_0x16f852._0x31debc)+'d',{'tableName':_0x45d5e5,'columnName':_0x317f77,'error':_0x3334d8[_0x25fc80(0x6d8)+'ge']}),_0x3334d8;}if(_0x1542b2['jvFPw'](_0x26c061,null))try{_0x8fc299[_0x317f77]=this['conve'+_0x25fc80(0x95b)+'ueToC'+_0x25fc80(0x770)+'Type'](_0x26c061,_0x5ad600[_0x25fc80(0x886)]);}catch(_0x6c688e){throw c[_0x25fc80(_0x16f852._0x7b1f23)](_0x1542b2[_0x25fc80(_0x16f852._0x171986)],{'tableName':_0x45d5e5,'columnName':_0x317f77,'value':_0x26c061,'columnType':_0x5ad600[_0x25fc80(_0x16f852._0x1b1980)],'error':_0x1542b2[_0x25fc80(_0x16f852._0x476c3)](_0x6c688e,Error)?_0x6c688e[_0x25fc80(_0x16f852._0x22fefd)+'ge']:_0x6c688e}),_0x6c688e;}}}return _0x8fc299;}[_0x441e35(0x7d1)+_0x441e35(0x1dc)+_0x441e35(0xaa6)+'a'](_0xf8d4e,_0x52db25,_0x217e8f=!(0x969*-0x1+-0x2e2+0xc4b)){const _0x538565={_0x5d2cba:0x938,_0x368e11:0x722,_0x69fbae:0x2da,_0x546c06:0xb64,_0x7df812:0x3ad,_0x3b4ecb:0x828,_0x264613:0xc4a,_0x472f5c:0x40f,_0x45f370:0x861,_0x3bf26a:0x75f,_0x578d87:0x2d7,_0x39212f:0xa99,_0x29404c:0x1d4,_0x472c82:0x33c,_0x468287:0xc0c,_0x4bf2d1:0x42c,_0x1e23ee:0x245,_0x260c08:0x3ed,_0x2e25cd:0x5b4,_0x2267b6:0x61b,_0x165740:0x95b,_0x5a3a05:0x365,_0x47fb11:0x654,_0x1417b4:0xc45,_0xfe8bd8:0x7a3,_0x44391a:0x886,_0x35713f:0x6d8},_0x4dfe17=_0x441e35,_0x3e8ecc={'swOUa':'Remov'+_0x4dfe17(_0x538565._0x5d2cba)+_0x4dfe17(0x9b2)+_0x4dfe17(_0x538565._0x368e11)+_0x4dfe17(_0x538565._0x69fbae),'rSnnn':_0x4dfe17(0x4f2),'yanCj':_0x4dfe17(_0x538565._0x546c06),'nrKeH':'Colum'+_0x4dfe17(_0x538565._0x7df812)+_0x4dfe17(0x93e)+_0x4dfe17(0x240)+_0x4dfe17(_0x538565._0x3b4ecb)+_0x4dfe17(_0x538565._0x264613)+_0x4dfe17(0x93d)+'kippi'+'ng','Fsepk':function(_0x479b49,_0x5e62f0){return _0x479b49===_0x5e62f0;},'IwwsQ':_0x4dfe17(0x210)+'er','XhydL':function(_0x33b565,_0x2caf44){return _0x33b565&&_0x2caf44;},'TkSJs':'Value'+_0x4dfe17(_0x538565._0x472f5c)+_0x4dfe17(0x350)+_0x4dfe17(_0x538565._0x45f370)+_0x4dfe17(_0x538565._0x3bf26a)+'uring'+_0x4dfe17(0x624)+'sform'+_0x4dfe17(0x1da)};c[_0x4dfe17(_0x538565._0x578d87)]('Trans'+'formi'+'ng\x20ro'+_0x4dfe17(0x230)+'a\x20wit'+_0x4dfe17(_0x538565._0x39212f)+_0x4dfe17(_0x538565._0x29404c)+_0x4dfe17(0x1da));const _0x42d5a5={};for(const [_0x5b8d95,_0x5753c7]of Object[_0x4dfe17(0x469)+'es'](_0xf8d4e)){const _0x431be8=_0x5b8d95[_0x4dfe17(_0x538565._0x472c82)+_0x4dfe17(0x5ea)+'e'](),_0x526786=_0x52db25[_0x4dfe17(_0x538565._0x468287)](_0x431be8);if(!_0x526786){if(_0x3e8ecc[_0x4dfe17(_0x538565._0x4bf2d1)]===_0x3e8ecc['yanCj'])_0x3fbecf[_0x170517]===void(0x97*-0x41+0x26e4+-0x1*0x8d)&&(delete _0x26f72f[_0xb258ea],_0x4a2cdb[_0x4dfe17(_0x538565._0x578d87)](_0x3e8ecc[_0x4dfe17(_0x538565._0x1e23ee)],{'schemaName':this[_0x4dfe17(0x495)+_0x4dfe17(_0x538565._0x260c08)],'tableName':this['table'+_0x4dfe17(0x3a7)],'field':_0xc05f71}));else{c['trace'](_0x3e8ecc[_0x4dfe17(_0x538565._0x2e25cd)],{'columnName':_0x5b8d95});continue;}}const _0x3a51d3=_0x3e8ecc[_0x4dfe17(_0x538565._0x2267b6)](_0x526786['pk'],0x1722+-0x1e7a+0x759)&&_0x526786[_0x4dfe17(0x886)]['toLow'+_0x4dfe17(0x5ea)+'e']()[_0x4dfe17(0x937)+_0x4dfe17(0x2b3)](_0x3e8ecc[_0x4dfe17(0x72d)]);if(!_0x3e8ecc[_0x4dfe17(0x219)](_0x217e8f,_0x3a51d3)&&_0x5753c7!=null)try{_0x42d5a5[_0x5b8d95]=this[_0x4dfe17(0x429)+_0x4dfe17(_0x538565._0x165740)+_0x4dfe17(_0x538565._0x5a3a05)+_0x4dfe17(0x770)+_0x4dfe17(_0x538565._0x47fb11)](_0x5753c7,_0x526786['type']);}catch(_0x2487fb){c[_0x4dfe17(_0x538565._0x1417b4)](_0x3e8ecc[_0x4dfe17(_0x538565._0xfe8bd8)],{'columnName':_0x5b8d95,'value':_0x5753c7,'columnType':_0x526786[_0x4dfe17(_0x538565._0x44391a)],'error':_0x2487fb instanceof Error?_0x2487fb[_0x4dfe17(_0x538565._0x35713f)+'ge']:_0x2487fb});}}return _0x42d5a5;}[_0x441e35(0xaf5)+'alueF'+_0x441e35(0xa92)+_0x441e35(0xc07)](_0x5b2650,_0x264904){const _0x76c156={_0x3da1e8:0x5ea,_0x469425:0x469},_0xb21560=_0x441e35;if(_0x5b2650['hasOw'+_0xb21560(0x5f8)+'erty'](_0x264904))return _0x5b2650[_0x264904];const _0x1399f5=_0x264904['toLow'+_0xb21560(_0x76c156._0x3da1e8)+'e']();for(const [_0x41b98f,_0x5e1513]of Object[_0xb21560(_0x76c156._0x469425)+'es'](_0x5b2650))if(_0x41b98f['toLow'+'erCas'+'e']()===_0x1399f5)return _0x5e1513;}['conve'+'rtVal'+_0x441e35(0x365)+_0x441e35(0x770)+_0x441e35(0x654)](_0x52e690,_0x2517b1){const _0x4eb8b7={_0xbb3c4f:0x21b,_0x57256b:0xa80,_0x45fc5c:0x6ab,_0x29e9dc:0x33c,_0x34945e:0x689,_0x489c66:0x937,_0x36eab1:0x210,_0x3b5a63:0x819,_0xec2f60:0x7cc,_0xd74589:0x937,_0x4c5f54:0x2b3,_0x3138d1:0x9e8,_0x5e67c5:0x2b3,_0x197d45:0x819,_0x496d42:0x950,_0x21a7ad:0xae3,_0x34cf6b:0x2b3,_0x1b9946:0xa35,_0x5d3888:0xc03,_0x454b00:0x2c7,_0x4d365f:0x92a,_0x72e7bb:0x8b8,_0xd05fcd:0x7ae,_0x4d7bb6:0xc4e,_0x2b4e3f:0x925,_0x128dc8:0xc9c,_0x2a32c9:0x62f,_0x389098:0x867,_0x32a612:0x456,_0x4d9cba:0x6b1,_0x3da9d8:0x3e7,_0x27ef41:0x4c5,_0x1bb650:0x3fd,_0x54a63a:0x7e4,_0x2ee31d:0xcf5},_0x2d5fed=_0x441e35,_0x429dc6={'enmBc':_0x2d5fed(0x2ec),'lurUb':function(_0x2402a6,_0x3eb277){return _0x2402a6==_0x3eb277;},'EqJew':_0x2d5fed(_0x4eb8b7._0xbb3c4f)+'an','iWlWP':function(_0x57dac6,_0x50c9c8){return _0x57dac6(_0x50c9c8);},'FBPUC':'real','ZHNdm':function(_0x20de70,_0x2298c8){return _0x20de70(_0x2298c8);},'pNVgd':function(_0x13dc30,_0x491c81){return _0x13dc30==_0x491c81;},'AmRXC':function(_0x5ebdd6,_0xefa33c){return _0x5ebdd6==_0xefa33c;},'JuURS':_0x2d5fed(_0x4eb8b7._0x57256b),'zWYHR':function(_0x578f10,_0x4cda40){return _0x578f10===_0x4cda40;},'bUFcN':'yes','YMOEa':_0x2d5fed(0x8e7),'IDNHt':'objec'+'t','bxOQP':'strin'+'g','AwALZ':'times'+'tamp','wopUQ':function(_0x1b75c6,_0x313a34){return _0x1b75c6 instanceof _0x313a34;},'SBeol':function(_0x35846e,_0x218bfc){return _0x35846e!==_0x218bfc;},'nLUpC':_0x2d5fed(_0x4eb8b7._0x45fc5c),'cAgnb':function(_0x151670,_0x14eb08){return _0x151670(_0x14eb08);}};if(_0x52e690==null)return null;const _0x1dea53=_0x2517b1[_0x2d5fed(_0x4eb8b7._0x29e9dc)+'erCas'+'e']();try{if(_0x2d5fed(_0x4eb8b7._0x34945e)!=='SkKAn'){if(_0x1dea53[_0x2d5fed(_0x4eb8b7._0x489c66)+_0x2d5fed(0x2b3)](_0x2d5fed(_0x4eb8b7._0x36eab1)+'er')||_0x1dea53[_0x2d5fed(0x937)+_0x2d5fed(0x2b3)](_0x429dc6[_0x2d5fed(0x81b)])){if(_0x429dc6[_0x2d5fed(0xba1)](typeof _0x52e690,_0x429dc6[_0x2d5fed(_0x4eb8b7._0x3b5a63)]))return _0x52e690?-0x1f53+0x81e*0x1+0x1*0x1736:0x59c+-0x2149+-0x6d*-0x41;const _0x9f4f42=_0x429dc6[_0x2d5fed(_0x4eb8b7._0xec2f60)](parseInt,String(_0x52e690));return _0x429dc6[_0x2d5fed(_0x4eb8b7._0xec2f60)](isNaN,_0x9f4f42)?null:_0x9f4f42;}if(_0x1dea53[_0x2d5fed(_0x4eb8b7._0xd74589)+_0x2d5fed(_0x4eb8b7._0x4c5f54)](_0x429dc6[_0x2d5fed(0x648)])||_0x1dea53['inclu'+_0x2d5fed(_0x4eb8b7._0x4c5f54)](_0x2d5fed(0x8a9))||_0x1dea53[_0x2d5fed(0x937)+_0x2d5fed(0x2b3)](_0x2d5fed(_0x4eb8b7._0x3138d1)+'al')){const _0x289984=parseFloat(String(_0x52e690));return _0x429dc6['ZHNdm'](isNaN,_0x289984)?null:_0x289984;}if(_0x1dea53[_0x2d5fed(_0x4eb8b7._0xd74589)+_0x2d5fed(_0x4eb8b7._0x5e67c5)](_0x2d5fed(0x21b)+'an')){if(_0x429dc6[_0x2d5fed(0x416)](typeof _0x52e690,_0x429dc6[_0x2d5fed(_0x4eb8b7._0x197d45)]))return _0x52e690?-0x19f1+-0x1*-0x3f1+0x1601:-0x27*-0x4a+0x95*0x40+-0x3086;if(_0x429dc6['AmRXC'](typeof _0x52e690,_0x2d5fed(_0x4eb8b7._0x496d42)+'g')){const _0x2b3f05=_0x52e690['toLow'+'erCas'+'e']();return _0x2b3f05===_0x429dc6[_0x2d5fed(0x4b4)]||_0x429dc6['zWYHR'](_0x2b3f05,'1')||_0x2b3f05===_0x429dc6[_0x2d5fed(_0x4eb8b7._0x21a7ad)]?0x224*-0x11+-0x7cf*-0x4+0x529:0x1c4*0x10+0x1*-0xf8b+-0xcb5;}return _0x52e690?-0x1244+0x3*-0x134+0x15e1:0x25f5+0xe5f+-0x3454*0x1;}if(_0x1dea53[_0x2d5fed(0x937)+_0x2d5fed(_0x4eb8b7._0x34cf6b)](_0x429dc6[_0x2d5fed(_0x4eb8b7._0x1b9946)])){if(typeof _0x52e690==_0x429dc6['IDNHt'])return JSON['strin'+_0x2d5fed(0x7ae)](_0x52e690);if(_0x429dc6['pNVgd'](typeof _0x52e690,_0x429dc6[_0x2d5fed(_0x4eb8b7._0x5d3888)]))try{return JSON[_0x2d5fed(0x5fa)](_0x52e690),_0x52e690;}catch(_0x2f8f10){throw new Error(_0x2d5fed(0x610)+_0x2d5fed(_0x4eb8b7._0x454b00)+_0x2d5fed(_0x4eb8b7._0x4d365f)+_0x2d5fed(_0x4eb8b7._0x72e7bb)+'for\x20c'+'olumn'+_0x2d5fed(0x3e3)+'\x20\x27'+_0x2517b1+'\x27');}return JSON['strin'+_0x2d5fed(_0x4eb8b7._0xd05fcd)](_0x52e690);}if(_0x1dea53[_0x2d5fed(0x937)+'des'](_0x429dc6[_0x2d5fed(_0x4eb8b7._0x4d7bb6)])||_0x1dea53[_0x2d5fed(0x937)+_0x2d5fed(_0x4eb8b7._0x4c5f54)]('datet'+_0x2d5fed(0xc9a))){if(_0x429dc6[_0x2d5fed(_0x4eb8b7._0x2b4e3f)](_0x52e690,Date))return _0x52e690['toISO'+_0x2d5fed(_0x4eb8b7._0x128dc8)+'g']();if(typeof _0x52e690==_0x429dc6['bxOQP']||_0x429dc6['pNVgd'](typeof _0x52e690,_0x2d5fed(0x41f)+'r')){if(_0x429dc6['SBeol'](_0x2d5fed(0x8d7),_0x429dc6[_0x2d5fed(_0x4eb8b7._0x2a32c9)])){const _0x10df1d=new Date(_0x52e690);return _0x429dc6[_0x2d5fed(0x81f)](isNaN,_0x10df1d[_0x2d5fed(_0x4eb8b7._0x389098)+'me']())?_0x52e690:_0x10df1d[_0x2d5fed(_0x4eb8b7._0x32a612)+'Strin'+'g']();}else{const _0x97cc97=_0x3769f8[_0x2d5fed(_0x4eb8b7._0x4d9cba)](_0x3d865e,arguments);return _0x321c13=null,_0x97cc97;}}return String(_0x52e690);}return String(_0x52e690);}else return this[_0x2d5fed(_0x4eb8b7._0x3da9d8)+'g'][_0x2d5fed(0x4a1)+'es'][_0x1ab0c0]={'enabled':_0x5655b9,'levels':_0xba0cde,'transports':_0x13a557},this;}catch(_0x21c4d3){throw new Error(_0x2d5fed(0x4bf)+_0x2d5fed(0x2db)+'vert\x20'+_0x2d5fed(_0x4eb8b7._0x27ef41)+'\x20\x27'+_0x52e690+(_0x2d5fed(_0x4eb8b7._0x1bb650)+_0x2d5fed(_0x4eb8b7._0x54a63a)+_0x2d5fed(_0x4eb8b7._0x2ee31d)+'e\x20\x27')+_0x2517b1+'\x27');}}async[_0x441e35(0x53e)+_0x441e35(0x81e)](_0x4bbba9,_0x5f069e){const _0x6b80df={_0xa629a7:0x4c5,_0x33968b:0x275,_0x18d268:0xc30,_0x2b5846:0x2d7,_0x399a8c:0xa98,_0x2e0d5d:0x671,_0x185875:0x659},_0x50b4f0=_0x441e35,_0x350985={'idpOC':function(_0x19b0b0,_0x5a6f3c){return _0x19b0b0 instanceof _0x5a6f3c;}},_0x43098e=Object[_0x50b4f0(0x54f)](_0x5f069e),_0x2420e8=Object[_0x50b4f0(_0x6b80df._0xa629a7)+'s'](_0x5f069e),_0x599a5f=_0x43098e['map'](()=>'?')['join'](',\x20'),_0x29de31=_0x50b4f0(_0x6b80df._0x33968b)+'T\x20INT'+'O\x20'+_0x4bbba9+'\x20('+_0x43098e['join'](',\x20')+(')\x20VAL'+_0x50b4f0(_0x6b80df._0x18d268))+_0x599a5f+')';try{await this['execu'+'te'](_0x29de31,_0x2420e8);}catch(_0x5273d9){throw c[_0x50b4f0(_0x6b80df._0x2b5846)]('Inser'+_0x50b4f0(_0x6b80df._0x399a8c)+_0x50b4f0(_0x6b80df._0x2e0d5d)+'ed',{'tableName':_0x4bbba9,'columns':_0x43098e,'error':_0x350985[_0x50b4f0(_0x6b80df._0x185875)](_0x5273d9,Error)?_0x5273d9[_0x50b4f0(0x6d8)+'ge']:_0x5273d9}),_0x5273d9;}}async[_0x441e35(0x53e)+_0x441e35(0x55e)+_0x441e35(0x517)](_0x33870d,_0x3fd9ab,_0x45c3ad){const _0x44a3e9={_0x1c0923:0x77f,_0x7a669:0x2db,_0x260026:0x577,_0x352dff:0x9fe,_0xb2cf88:0x513,_0x1925f0:0x2d7,_0x52ea11:0xa1a,_0x1564b7:0xce4,_0x134eef:0x828,_0xa0dac4:0x3a7,_0x381a92:0x62c,_0x46f99c:0x850,_0x2cec51:0xc62,_0x221c11:0xadd,_0x28edbd:0xc9b,_0x58c031:0x4e6,_0x3177dd:0x8ac,_0x3fb0e3:0x386,_0x48a280:0xb31},_0x3ea6b3=_0x441e35,_0x4382cb={'mBCgw':_0x3ea6b3(0x8fd)+_0x3ea6b3(0x619)+'led\x20-'+_0x3ea6b3(_0x44a3e9._0x1c0923)+'e\x20doe'+'s\x20not'+'\x20exis'+'t','HdibJ':'CCOTA','gFVPn':_0x3ea6b3(0x254),'tatFm':_0x3ea6b3(0xbc1)+_0x3ea6b3(_0x44a3e9._0x7a669)+'flict'+_0x3ea6b3(_0x44a3e9._0x260026)+_0x3ea6b3(_0x44a3e9._0x352dff)+_0x3ea6b3(_0x44a3e9._0xb2cf88)+_0x3ea6b3(0xa4b)+_0x3ea6b3(0x73b)+'ate'};c[_0x3ea6b3(_0x44a3e9._0x1925f0)](_0x3ea6b3(0x31d)+'pting'+_0x3ea6b3(0x413)+_0x3ea6b3(0x20a)+'\x20upda'+'te',{'tableName':_0x33870d,'conflictColumns':_0x45c3ad});try{if(_0x4382cb[_0x3ea6b3(_0x44a3e9._0x52ea11)]!==_0x4382cb[_0x3ea6b3(_0x44a3e9._0x1564b7)])await this[_0x3ea6b3(0x53e)+_0x3ea6b3(0x81e)](_0x33870d,_0x3fd9ab);else{const _0x3fcec=new _0x505af3(_0x3ea6b3(0x9dc)+'\x20\x27'+_0x3ca2f5[_0x3ea6b3(_0x44a3e9._0x134eef)+_0x3ea6b3(_0x44a3e9._0xa0dac4)]+(_0x3ea6b3(0xa91)+_0x3ea6b3(0xab0)+_0x3ea6b3(_0x44a3e9._0x381a92)+'t'));throw _0x5dda21[_0x3ea6b3(_0x44a3e9._0x46f99c)](_0x4382cb[_0x3ea6b3(_0x44a3e9._0x2cec51)],{'tableName':_0x18397c['table'+'Name']}),_0x3fcec;}}catch(_0x29e40d){if(this[_0x3ea6b3(_0x44a3e9._0x221c11)+_0x3ea6b3(_0x44a3e9._0x28edbd)+_0x3ea6b3(_0x44a3e9._0x58c031)](_0x29e40d))c['debug'](_0x4382cb[_0x3ea6b3(_0x44a3e9._0x3177dd)],{'tableName':_0x33870d}),await this['updat'+_0x3ea6b3(0x8e9)+_0x3ea6b3(_0x44a3e9._0x3fb0e3)+_0x3ea6b3(_0x44a3e9._0x48a280)](_0x33870d,_0x3fd9ab,_0x45c3ad);else throw _0x29e40d;}}async[_0x441e35(0x4fa)+_0x441e35(0x8e9)+_0x441e35(0x386)+'mns'](_0x51210b,_0x10dd65,_0x26758d){const _0x23590d={_0x2414c8:0x6d1,_0x1bc233:0x3d1,_0x39c347:0x2fe,_0x2c26a0:0x847,_0x41a213:0x4b2,_0x3c7d1a:0x64d,_0x50a268:0x50c,_0x5f5a69:0x557,_0xc549c2:0x9ee,_0x27edad:0x271,_0x2e7e4c:0x8c4,_0x2c964c:0x269,_0x271eb0:0x231,_0x574816:0x231,_0x3be155:0x269,_0x2a0a31:0xa32,_0x1b7716:0x829,_0x31cdcd:0x7ae,_0x357791:0x3e7,_0x330820:0x84c,_0x5f5bd8:0x7e4,_0x3ddc40:0x850,_0x1433cb:0x9cf,_0x4fa918:0x6d8},_0x55671f=_0x441e35,_0x4e10bc={'UzQfZ':function(_0x307966,_0x1c8e23){return _0x307966===_0x1c8e23;},'QBLFF':function(_0x58bbec,_0x28142a){return _0x58bbec!==_0x28142a;},'oSxeW':_0x55671f(0x8df),'PGXBZ':_0x55671f(0x84c)+_0x55671f(0x9c6)+_0x55671f(0x7e4)+_0x55671f(_0x23590d._0x2414c8)+_0x55671f(_0x23590d._0x1bc233)},_0x1d9f02=Object['keys'](_0x10dd65)[_0x55671f(_0x23590d._0x39c347)+'r'](_0x19d2fc=>!_0x26758d[_0x55671f(0x937)+_0x55671f(0x2b3)](_0x19d2fc)),_0x479fb6=_0x26758d;if(_0x4e10bc[_0x55671f(_0x23590d._0x2c26a0)](_0x1d9f02[_0x55671f(_0x23590d._0x41a213)+'h'],-0x2290+-0xd1f+0x2faf)){c[_0x55671f(_0x23590d._0x3c7d1a)](_0x55671f(_0x23590d._0x50a268)+'lumns'+_0x55671f(_0x23590d._0x5f5a69)+_0x55671f(_0x23590d._0xc549c2)+',\x20ski'+_0x55671f(_0x23590d._0x27edad)+'\x20upda'+_0x55671f(0x2fc)+_0x55671f(_0x23590d._0x2e7e4c)+'on',{'tableName':_0x51210b});return;}const _0x2d6ba7=_0x1d9f02[_0x55671f(_0x23590d._0x2c964c)](_0x4d3557=>_0x4d3557+_0x55671f(0xbe8))[_0x55671f(_0x23590d._0x271eb0)](',\x20'),_0x5a4290=_0x479fb6['map'](_0x3085f3=>_0x3085f3+_0x55671f(0xbe8))[_0x55671f(_0x23590d._0x574816)](_0x55671f(0xc2d)),_0x13191f=_0x1d9f02[_0x55671f(_0x23590d._0x3be155)](_0x3c16b6=>_0x10dd65[_0x3c16b6]),_0x2d22b0=_0x479fb6[_0x55671f(0x269)](_0x314f10=>_0x10dd65[_0x314f10]),_0x451220=[..._0x13191f,..._0x2d22b0],_0xfca839=_0x55671f(0x295)+'E\x20'+_0x51210b+_0x55671f(0x725)+_0x2d6ba7+(_0x55671f(0x4da)+'E\x20')+_0x5a4290;try{if(_0x4e10bc[_0x55671f(_0x23590d._0x2a0a31)](_0x4e10bc[_0x55671f(_0x23590d._0x1b7716)],'AnQwI'))return _0x42c19d[_0x55671f(0x5fa)](_0x291ee3['strin'+_0x55671f(_0x23590d._0x31cdcd)](this[_0x55671f(_0x23590d._0x357791)+'g']));else await this['execu'+'te'](_0xfca839,_0x451220),c['trace'](_0x55671f(_0x23590d._0x330820)+'e\x20by\x20'+_0x55671f(_0x23590d._0x5f5bd8)+'ns\x20co'+'mplet'+'ed',{'tableName':_0x51210b,'updateColumns':_0x1d9f02,'whereColumns':_0x479fb6});}catch(_0x144831){throw c[_0x55671f(_0x23590d._0x3ddc40)](_0x4e10bc[_0x55671f(_0x23590d._0x1433cb)],{'tableName':_0x51210b,'sql':_0xfca839,'error':_0x144831 instanceof Error?_0x144831[_0x55671f(_0x23590d._0x4fa918)+'ge']:_0x144831}),_0x144831;}}['isCon'+_0x441e35(0xc9b)+_0x441e35(0x4e6)](_0xeb2a76){const _0x45ea26={_0x43b7d3:0x56c,_0x810ba3:0x835,_0x3aa3de:0xb02,_0x17da9b:0x78f,_0x2b2d60:0xa97,_0xf0c42c:0x3fc,_0x2c4036:0x71c,_0xde7bc6:0x6d8,_0xcf084e:0x6d8,_0x204571:0x2b3,_0x25dff7:0x3c4,_0x89dee5:0x39f,_0x2a7345:0x3d1},_0x15782c=_0x441e35,_0x2bdfcc={'mcVjo':function(_0x2ff601,_0xd41a9e){return _0x2ff601===_0xd41a9e;},'SiMWh':'SQLIT'+'E_CON'+'STRAI'+_0x15782c(0xccd)+_0x15782c(_0x45ea26._0x43b7d3)+_0x15782c(_0x45ea26._0x810ba3)};return _0x2bdfcc[_0x15782c(_0x45ea26._0x3aa3de)](_0xeb2a76[_0x15782c(0x669)],_0x15782c(0x799)+_0x15782c(0x668)+_0x15782c(_0x45ea26._0x17da9b)+_0x15782c(_0x45ea26._0x2b2d60)+_0x15782c(_0x45ea26._0xf0c42c))||_0xeb2a76['code']===_0x2bdfcc[_0x15782c(_0x45ea26._0x2c4036)]||_0xeb2a76[_0x15782c(_0x45ea26._0xde7bc6)+'ge']&&_0xeb2a76[_0x15782c(_0x45ea26._0xcf084e)+'ge']['inclu'+_0x15782c(_0x45ea26._0x204571)](_0x15782c(_0x45ea26._0x25dff7)+_0x15782c(_0x45ea26._0x89dee5)+_0x15782c(0x8bf)+_0x15782c(0x931)+_0x15782c(_0x45ea26._0x2a7345));}async[_0x441e35(0x6b5)+_0x441e35(0xaad)+_0x441e35(0x355)](){const _0x48d421={_0x3f4346:0xbf7,_0xa3d5f9:0x82a,_0x1443bb:0x601,_0x435fce:0x907,_0x909158:0x580,_0x1be3da:0xa50,_0x43a34f:0xabb,_0x5be58f:0xb76,_0x13099b:0x3be,_0x1e89ac:0x785,_0x34d799:0x7e6,_0x4ef869:0x756,_0x3221cb:0x3ae,_0x20bc08:0x65c,_0x2d75b3:0xc72,_0xf47ad0:0x8d6,_0x4737cf:0x408,_0x5ad26e:0x4b2,_0x1e5f22:0x558,_0x57dc0e:0x442,_0x95326a:0xbf7,_0x3cb686:0x90a},_0x319f13=_0x441e35,_0x13a339={'MtpBI':_0x319f13(_0x48d421._0x3f4346),'gRorO':_0x319f13(0xb25)+'ER','cYHlo':_0x319f13(_0x48d421._0xa3d5f9),'rXteJ':_0x319f13(0x505),'zqHQX':_0x319f13(0x77e)+_0x319f13(_0x48d421._0x1443bb)+_0x319f13(0xaad)+_0x319f13(_0x48d421._0x435fce)+_0x319f13(_0x48d421._0x909158)+_0x319f13(_0x48d421._0x1be3da),'pyNgt':function(_0x1e2cb3,_0x2f4751){return _0x1e2cb3===_0x2f4751;},'FOVTD':_0x319f13(_0x48d421._0x43a34f)+_0x319f13(0x83d)+_0x319f13(0x7fa)+_0x319f13(0x96a)+'se\x20in'+_0x319f13(0x317)+_0x319f13(_0x48d421._0x5be58f)};c[_0x319f13(0x2d7)](_0x13a339[_0x319f13(_0x48d421._0x13099b)]);try{const _0x260364=await this['execu'+'te'](_0x319f13(0x3a4)+_0x319f13(_0x48d421._0x1e89ac)+_0x319f13(_0x48d421._0x34d799)+_0x319f13(0x9c7)+_0x319f13(_0x48d421._0x4ef869)+_0x319f13(_0x48d421._0x3221cb)+_0x319f13(0x4da)+_0x319f13(_0x48d421._0x20bc08)+_0x319f13(0x6f8)+_0x319f13(_0x48d421._0x2d75b3)),_0x406f04=await this[_0x319f13(0x8b6)+'hemaV'+_0x319f13(0x350)+'n'](),_0x40a029={'name':this['dbPat'+'h'],'tables':_0x260364[_0x319f13(_0x48d421._0xf47ad0)][_0x319f13(0x269)](_0x21d0f9=>_0x21d0f9[_0x319f13(0x47c)]),'isConnected':this[_0x319f13(0xadd)+_0x319f13(0xa01)+'d'],'version':_0x406f04};return c['debug'](_0x319f13(0x34c)+_0x319f13(_0x48d421._0x4737cf)+_0x319f13(0x27f)+'ation'+_0x319f13(0x5b6)+'ieved',{'tableCount':_0x40a029['table'+'s'][_0x319f13(_0x48d421._0x5ad26e)+'h'],'isConnected':_0x40a029[_0x319f13(0xadd)+'necte'+'d'],'version':_0x40a029['versi'+'on']}),_0x40a029;}catch(_0x5499c5){if(_0x13a339[_0x319f13(_0x48d421._0x1e5f22)](_0x319f13(_0x48d421._0x57dc0e),'tYqHv'))throw c[_0x319f13(0x850)](_0x13a339['FOVTD'],{'error':_0x5499c5 instanceof Error?_0x5499c5[_0x319f13(0x6d8)+'ge']:_0x5499c5}),_0x5499c5;else return{'string':_0x319f13(_0x48d421._0x3f4346),'varchar':_0x13a339[_0x319f13(0x90a)],'char':_0x13a339['MtpBI'],'email':'TEXT','url':_0x13a339['MtpBI'],'uuid':'TEXT','integer':_0x13a339['gRorO'],'bigint':_0x13a339['gRorO'],'smallint':_0x13a339['gRorO'],'tinyint':'INTEG'+'ER','decimal':'REAL','numeric':_0x319f13(_0x48d421._0xa3d5f9),'float':'REAL','double':_0x13a339['cYHlo'],'boolean':_0x13a339[_0x319f13(0x51a)],'timestamp':_0x319f13(0xbf7),'datetime':_0x319f13(_0x48d421._0x95326a),'date':_0x13a339[_0x319f13(0x90a)],'time':_0x13a339[_0x319f13(0x90a)],'json':_0x13a339[_0x319f13(0x90a)],'array':_0x13a339[_0x319f13(0x90a)],'blob':_0x13a339[_0x319f13(0x562)],'binary':_0x13a339['rXteJ']}[_0x260200[_0x319f13(0x33c)+_0x319f13(0x5ea)+'e']()]||_0x13a339[_0x319f13(_0x48d421._0x3cb686)];}}async[_0x441e35(0x5f5)+'bleIn'+'fo'](_0x198102){const _0x4951df={_0x22fb24:0x77e,_0x21785f:0x470,_0x15c9e7:0x639,_0x4b6ffd:0x1da,_0x3f79d7:0x30e,_0x56e5f6:0x64d,_0x1e814a:0xb18,_0x12e089:0x4b2,_0x435f67:0x8d6,_0x34a30b:0x36c,_0x1213da:0x966,_0x5866b1:0x231,_0x2e0b65:0x536,_0x15b41e:0x37f,_0x16cdb5:0xafe},_0xa5f5fa=_0x441e35,_0x3131eb={'hbMNI':_0xa5f5fa(0x37d),'BWlbT':function(_0x4a5464,_0x45f798){return _0x4a5464 instanceof _0x45f798;}};c[_0xa5f5fa(0x2d7)](_0xa5f5fa(_0x4951df._0x22fb24)+_0xa5f5fa(_0x4951df._0x21785f)+_0xa5f5fa(_0x4951df._0x15c9e7)+'nform'+_0xa5f5fa(_0x4951df._0x4b6ffd),{'tableName':_0x198102});try{const _0x21981c=await this['execu'+'te'](_0xa5f5fa(_0x4951df._0x3f79d7)+'A\x20tab'+_0xa5f5fa(0x9f4)+_0xa5f5fa(0x258)+_0x198102+')');return c[_0xa5f5fa(_0x4951df._0x56e5f6)](_0xa5f5fa(0x9dc)+_0xa5f5fa(0x88d)+_0xa5f5fa(0x7fd)+'on\x20re'+_0xa5f5fa(_0x4951df._0x1e814a)+'ed',{'tableName':_0x198102,'columnCount':_0x21981c[_0xa5f5fa(0x8d6)][_0xa5f5fa(_0x4951df._0x12e089)+'h']}),_0x21981c[_0xa5f5fa(_0x4951df._0x435f67)];}catch(_0x429dbb){if(_0xa5f5fa(_0x4951df._0x34a30b)===_0x3131eb[_0xa5f5fa(0x2e6)]){const _0x221dd0=_0x49bc51[_0xa5f5fa(_0x4951df._0x1213da)+'ay'](_0x5cd1eb)?_0x1f2476[_0xa5f5fa(_0x4951df._0x5866b1)](',\x20'):_0x2b964c;return this[_0xa5f5fa(_0x4951df._0x2e0b65)+'tFiel'+'ds']=['DISTI'+_0xa5f5fa(0x53c)+_0x221dd0],this;}else throw c['error'](_0xa5f5fa(0xabb)+_0xa5f5fa(0x83d)+_0xa5f5fa(0x48e)+_0xa5f5fa(0x30b)+'infor'+_0xa5f5fa(_0x4951df._0x15b41e)+'n',{'tableName':_0x198102,'error':_0x3131eb[_0xa5f5fa(_0x4951df._0x16cdb5)](_0x429dbb,Error)?_0x429dbb['messa'+'ge']:_0x429dbb}),_0x429dbb;}}async[_0x441e35(0x4d7)+'able'](_0x5787e4){const _0x497ccb={_0x3e54a6:0x85b,_0x56043c:0xb52,_0x41d645:0xb77,_0x889fa6:0xc8a,_0x438842:0xcc9,_0x57aaf7:0xabb,_0x3054e1:0x299,_0x30fc25:0x1e0,_0x48982e:0x50a,_0xf7a5c3:0x82d,_0x19a3d2:0x536,_0xf6bff7:0x803,_0x12929f:0x231,_0x4489a9:0x850},_0x2b6237=_0x441e35,_0x98350f={'Ibftp':'Dropp'+'ing\x20t'+_0x2b6237(_0x497ccb._0x3e54a6),'rqkIE':_0x2b6237(0x9dc)+_0x2b6237(_0x497ccb._0x56043c)+_0x2b6237(_0x497ccb._0x41d645)+_0x2b6237(_0x497ccb._0x889fa6)+_0x2b6237(_0x497ccb._0x438842)+'y','uCouI':_0x2b6237(_0x497ccb._0x57aaf7)+_0x2b6237(0x83d)+_0x2b6237(_0x497ccb._0x3054e1)+'table'};c[_0x2b6237(0x5cb)](_0x98350f['Ibftp'],{'tableName':_0x5787e4});const _0xd5d23d=_0x2b6237(0x322)+_0x2b6237(0x5ef)+'\x20IF\x20E'+_0x2b6237(0x9b8)+'\x20'+_0x5787e4;try{if(_0x2b6237(_0x497ccb._0x30fc25)===_0x2b6237(0x1e0))await this[_0x2b6237(_0x497ccb._0x48982e)+'te'](_0xd5d23d),c['info'](_0x98350f[_0x2b6237(_0x497ccb._0xf7a5c3)],{'tableName':_0x5787e4});else return this[_0x2b6237(0x536)+_0x2b6237(0x803)+'ds']=['EXPLA'+_0x2b6237(0x446)+'ERY\x20P'+'LAN\x20'+this[_0x2b6237(_0x497ccb._0x19a3d2)+_0x2b6237(_0x497ccb._0xf6bff7)+'ds'][_0x2b6237(_0x497ccb._0x12929f)](',\x20')],this;}catch(_0x42de6d){throw c[_0x2b6237(_0x497ccb._0x4489a9)](_0x98350f['uCouI'],{'tableName':_0x5787e4,'error':_0x42de6d instanceof Error?_0x42de6d['messa'+'ge']:_0x42de6d}),_0x42de6d;}}['isCon'+_0x441e35(0x28e)+_0x441e35(0xc6d)+'n'](){const _0x58934b={_0x2be81c:0x8f3,_0xed4a46:0x2c6,_0x4be890:0x2d7,_0x53cc6d:0x4dd,_0x2931cb:0x5f9,_0x5f3de3:0x8c1},_0x1168a1=_0x441e35,_0x47d289=this[_0x1168a1(0xadd)+_0x1168a1(0xa01)+'d']&&!!this[_0x1168a1(_0x58934b._0x2be81c)+_0x1168a1(_0x58934b._0xed4a46)];return c[_0x1168a1(_0x58934b._0x4be890)](_0x1168a1(_0x58934b._0x53cc6d)+'ction'+_0x1168a1(_0x58934b._0x2931cb)+_0x1168a1(_0x58934b._0x5f3de3)+_0x1168a1(0x243),{'isOpen':_0x47d289}),_0x47d289;}async['ensur'+_0x441e35(0x296)+_0x441e35(0xc11)](){const _0x3c8ce1={_0x4a0abf:0x4dd,_0x2f8b9c:0xa4b,_0x541aa5:0xadd,_0x5f3d5d:0xc6d,_0x18cb58:0x64d},_0x300cdb=_0x441e35,_0x37f426={'dmjgs':_0x300cdb(_0x3c8ce1._0x4a0abf)+'ction'+'\x20not\x20'+'open,'+'\x20atte'+_0x300cdb(_0x3c8ce1._0x2f8b9c)+_0x300cdb(0x46b)+_0x300cdb(0x8f3)+'ct'};this[_0x300cdb(_0x3c8ce1._0x541aa5)+'necti'+_0x300cdb(_0x3c8ce1._0x5f3d5d)+'n']()||(c[_0x300cdb(_0x3c8ce1._0x18cb58)](_0x37f426['dmjgs']),await this['conne'+'ct']());}async[_0x441e35(0x50a)+'te'](_0x2d45f3,_0x3dad9d=[]){const _0x2d3eed={_0x53ced0:0x995,_0x204040:0x9a1,_0x34465a:0x50a,_0x2f8407:0xad8,_0x18a61c:0xce9,_0xb2e76a:0x4a2,_0x4ed812:0x4b2,_0x25b129:0x296,_0x4ab67a:0xbdd,_0xe5fa3:0xc1e,_0x382e77:0x3ed,_0x466e77:0x295,_0x1116c1:0x2c6,_0x1f1386:0x50a,_0x3fb445:0xbe3,_0x4098ec:0xcc9,_0x2a7408:0x42b,_0x488504:0x8d6,_0x1a8936:0x900,_0x291d68:0x96d},_0x473e30=_0x441e35,_0x5a3894={'wSmrx':function(_0x2f9347,_0x1f35c1){return _0x2f9347>_0x1f35c1;},'iBixl':_0x473e30(0x5f3),'sZbIB':function(_0xca4369,_0x592303){return _0xca4369===_0x592303;},'sybzp':function(_0x1c61f5,_0x59cddd){return _0x1c61f5===_0x59cddd;},'FlFpF':_0x473e30(_0x2d3eed._0x53ced0)+_0x473e30(_0x2d3eed._0x204040)+_0x473e30(_0x2d3eed._0x34465a)+'tion\x20'+'faile'+'d','FVmmH':function(_0x171f06,_0x51bdc1){return _0x171f06>_0x51bdc1;}};var _0x1272d2;c['trace'](_0x473e30(_0x2d3eed._0x2f8407)+_0x473e30(_0x2d3eed._0x18a61c)+_0x473e30(_0x2d3eed._0x53ced0)+_0x473e30(_0x2d3eed._0xb2e76a),{'sql':_0x2d45f3[_0x473e30(0x96d)+_0x473e30(0x97b)](-0x1*-0x2421+-0x21a*0x4+-0x1bb9,-0x13df+0xb2d+-0x2*-0x48b)+(_0x5a3894['wSmrx'](_0x2d45f3['lengt'+'h'],0x143c+-0x170*-0x5+-0x1b08)?_0x5a3894['iBixl']:''),'paramCount':_0x3dad9d[_0x473e30(_0x2d3eed._0x4ed812)+'h']}),this[_0x473e30(0x8b4)+_0x473e30(_0x2d3eed._0x25b129)+_0x473e30(0xc11)]();try{if(_0x5a3894[_0x473e30(_0x2d3eed._0x4ab67a)](_0x473e30(0x3df),_0x473e30(0x779)))throw _0x50e850['error'](_0x473e30(0x4e6)+_0x473e30(_0x2d3eed._0xe5fa3)+_0x473e30(0xce9)+_0x473e30(0x496)+'d',{'schemaName':this['schem'+_0x473e30(_0x2d3eed._0x382e77)],'tableName':this[_0x473e30(0x828)+'Name'],'id':_0x44b6d1,'error':_0x3c81aa[_0x473e30(0x6d8)+'ge']}),this[_0x473e30(0x968)+_0x473e30(0xc01)+'or'](_0x473e30(_0x2d3eed._0x466e77)+_0x473e30(0x5ab)+'OR',_0x5e1b13),_0x59be32;else{const _0x90522=await this[_0x473e30(0x8f3)+_0x473e30(_0x2d3eed._0x1116c1)][_0x473e30(0x50a)+'te'](_0x2d45f3,_0x3dad9d);return c[_0x473e30(0x2d7)](_0x473e30(0x995)+'uery\x20'+_0x473e30(_0x2d3eed._0x1f1386)+_0x473e30(_0x2d3eed._0x3fb445)+'ucces'+_0x473e30(_0x2d3eed._0x4098ec)+'y',{'rowsAffected':_0x90522[_0x473e30(_0x2d3eed._0x2a7408)+_0x473e30(0x59c)+'ed'],'rowsReturned':((_0x1272d2=_0x90522[_0x473e30(_0x2d3eed._0x488504)])===null||_0x1272d2===void(0x1da9+-0x13*-0x7c+-0x26dd)?void(-0x9*0x32b+-0x8d1+0x12aa*0x2):_0x1272d2[_0x473e30(0x4b2)+'h'])||-0x1c37+-0xe85*-0x2+-0xd3}),_0x90522;}}catch(_0x1df1be){throw _0x5a3894[_0x473e30(0x216)](_0x2d45f3[_0x473e30(0x59a)+'Of']('_sche'+_0x473e30(_0x2d3eed._0x1a8936)+'fo'),-(-0x526+0x1*-0x8c3+0xdea))&&c[_0x473e30(0x850)](_0x5a3894[_0x473e30(0xbaa)],{'sql':_0x2d45f3[_0x473e30(_0x2d3eed._0x291d68)+_0x473e30(0x97b)](0x4d2+-0x1*0x16f7+0x5*0x3a1,-0x72*-0x30+0x4e5*0x5+-0x2d11)+(_0x5a3894[_0x473e30(0x605)](_0x2d45f3[_0x473e30(_0x2d3eed._0x4ed812)+'h'],-0x22f5+-0x1*0x1251+0x360e)?_0x5a3894['iBixl']:''),'paramCount':_0x3dad9d[_0x473e30(0x4b2)+'h'],'error':_0x1df1be}),_0x1df1be;}}async[_0x441e35(0x273)+'t'](_0x4d856e,_0x20806d=[]){const _0x152793={_0x439416:0x8d6},_0x4addb3=_0x441e35;return(await this['execu'+'te'](_0x4d856e,_0x20806d))[_0x4addb3(_0x152793._0x439416)][-0x1850+0x1*0x961+-0x1*-0xeef]||{};}async[_0x441e35(0x273)+'ts'](_0x567ad4,_0x5955f0=[]){const _0x181dd6={_0xfdd9db:0x8d6},_0x56ccc1=_0x441e35;return(await this[_0x56ccc1(0x50a)+'te'](_0x567ad4,_0x5955f0))[_0x56ccc1(_0x181dd6._0xfdd9db)];}}const g=D(A[_0x441e35(0x4f7)+_0x441e35(0x458)+_0x441e35(0x94d)+'Y']);class T{static[_0x441e35(0x9ce)+'terAd'+'apter'](_0x14de3d){const _0x31ed98={_0x48c28d:0xc6a,_0x2a1423:0x972,_0x103d4d:0x73f,_0x3d3167:0x47c,_0x36a13f:0x7c7,_0x2d9a7b:0x7d7,_0x5433ee:0x679},_0x57a703=_0x441e35;g['info']('Regis'+_0x57a703(0x537)+_0x57a703(0xa71)+'ite\x20a'+_0x57a703(_0x31ed98._0x48c28d)+_0x57a703(_0x31ed98._0x2a1423)+_0x14de3d['const'+'ructo'+'r'][_0x57a703(0x47c)],{'adapterName':_0x14de3d[_0x57a703(_0x31ed98._0x103d4d)+_0x57a703(0x63e)+'r'][_0x57a703(_0x31ed98._0x3d3167)],'totalAdapters':this[_0x57a703(_0x31ed98._0x36a13f)+_0x57a703(0x679)][_0x57a703(0x4b2)+'h']+(0x2b*0xdd+-0x1*0x256c+0x4e)}),this[_0x57a703(0x7c7)+'ers'][_0x57a703(_0x31ed98._0x2d9a7b)](_0x14de3d),g[_0x57a703(0x64d)](_0x57a703(0x957)+'ssful'+_0x57a703(0xbeb)+'giste'+_0x57a703(0x3e0)+'dapte'+_0x57a703(0xa90)+'tal\x20a'+'dapte'+_0x57a703(0x9f9)+this[_0x57a703(0x7c7)+_0x57a703(_0x31ed98._0x5433ee)]['lengt'+'h']);}static[_0x441e35(0x9e0)+_0x441e35(0x9f0)+_0x441e35(0x902)+_0x441e35(0x789)](){const _0x56b871={_0x121815:0xce9,_0x789edf:0x376,_0xef68a0:0x832,_0x32bc19:0x2ab,_0x3ca483:0x509,_0x267d8e:0x9ef,_0x341900:0x38f,_0x3b8aea:0x802,_0x28270a:0x509,_0x4cbfcf:0x334,_0x443752:0x6c7,_0xa31381:0x775,_0x4b217e:0x51d},_0x518354=_0x441e35,_0x18f546={'KyOYY':_0x518354(0xad2)+_0x518354(_0x56b871._0x121815)+_0x518354(_0x56b871._0x789edf)+_0x518354(_0x56b871._0xef68a0)+_0x518354(0x9f0)+_0x518354(_0x56b871._0x32bc19),'BoRyy':'undef'+_0x518354(0xc28),'gjqwp':function(_0x1a5981,_0x118b38){return _0x1a5981!=_0x118b38;},'AypQz':_0x518354(_0x56b871._0x3ca483),'djtVm':function(_0x4a278b,_0x37141e){return _0x4a278b!=_0x37141e;},'TdyCi':'Deno','rPQqD':_0x518354(0x533)+'wn'};g[_0x518354(0x2d7)](_0x18f546[_0x518354(0x72b)]);let _0x7b2021;return typeof navigator!=_0x18f546[_0x518354(_0x56b871._0x267d8e)]&&navigator[_0x518354(0x8e2)+'ct']===_0x518354(0x38f)+'Nativ'+'e'?_0x7b2021=_0x518354(_0x56b871._0x341900)+_0x518354(0x54b)+'ve':_0x18f546[_0x518354(_0x56b871._0x3b8aea)](typeof globalThis[_0x518354(_0x56b871._0x28270a)],_0x18f546[_0x518354(0x9ef)])?_0x7b2021=_0x18f546[_0x518354(_0x56b871._0x4cbfcf)]:_0x18f546[_0x518354(_0x56b871._0x443752)](typeof globalThis['Deno'],_0x18f546['BoRyy'])?_0x7b2021=_0x18f546[_0x518354(_0x56b871._0xa31381)]:typeof window!=_0x518354(0x523)+_0x518354(0xc28)?_0x7b2021=_0x518354(_0x56b871._0x4b217e)+'er':typeof process!=_0x518354(0x523)+_0x518354(0xc28)?_0x7b2021=_0x518354(0x4de)+'js':_0x7b2021=_0x18f546[_0x518354(0x30d)],g['debug'](_0x518354(0xad2)+_0x518354(0x7cd)+'untim'+'e\x20env'+'ironm'+_0x518354(0x47e)+_0x7b2021),_0x7b2021;}static async[_0x441e35(0x4d0)+'tBest'+_0x441e35(0xa6a)+'er'](){const _0x57af29={_0x1eff8d:0xad2,_0x142ed3:0x417,_0x1cb44d:0x758,_0x3d667d:0x30b,_0x12cb77:0x7a9,_0x29934c:0xa21,_0x34ca16:0x94c,_0x303c86:0x738,_0x11d211:0x902,_0x1fd09f:0x7c7,_0x34bfb5:0x5c5,_0x5abe21:0x2f2,_0x5eda5e:0x63e,_0x55d10d:0x47c,_0x3c47ad:0x47c,_0x33a764:0x9e0,_0x59d6d2:0x9f0,_0x1ed41b:0x789,_0x258642:0xa6a,_0x377ac9:0x84f,_0x3f37e4:0xa21,_0x366633:0x49a,_0x165c1d:0x70f,_0x3b165b:0x850,_0x2edf13:0x679,_0x2a414b:0x4b2,_0x5449c1:0x789},_0x3b38cb=_0x441e35,_0x17cfe7={'zZOGq':_0x3b38cb(_0x57af29._0x1eff8d)+_0x3b38cb(0xce9)+_0x3b38cb(_0x57af29._0x142ed3)+_0x3b38cb(_0x57af29._0x1cb44d)+_0x3b38cb(_0x57af29._0x3d667d)+_0x3b38cb(_0x57af29._0x12cb77)+_0x3b38cb(0xafc)+_0x3b38cb(0x1d8),'XAROy':_0x3b38cb(0xa44)+_0x3b38cb(_0x57af29._0x29934c)+_0x3b38cb(0x9dd)+_0x3b38cb(_0x57af29._0x34ca16)+_0x3b38cb(0x7c7)+'er\x20fo'+_0x3b38cb(0x79b)};g[_0x3b38cb(0x2d7)](_0x17cfe7[_0x3b38cb(_0x57af29._0x303c86)],{'totalAdapters':this['adapt'+'ers'][_0x3b38cb(0x4b2)+'h'],'environment':this[_0x3b38cb(0x9e0)+'viron'+_0x3b38cb(_0x57af29._0x11d211)+'nfo']()});for(const _0x43607c of this[_0x3b38cb(_0x57af29._0x1fd09f)+_0x3b38cb(0x679)]){if(g['trace'](_0x3b38cb(0x4d2)+'ng\x20ad'+_0x3b38cb(0x4e3)+':\x20'+_0x43607c['const'+'ructo'+'r']['name']),await _0x43607c[_0x3b38cb(0x869)+_0x3b38cb(_0x57af29._0x34bfb5)+'d']())return g[_0x3b38cb(0x5cb)](_0x3b38cb(_0x57af29._0x5abe21)+_0x3b38cb(0xac0)+_0x3b38cb(0xc6a)+'r:\x20'+_0x43607c['const'+_0x3b38cb(_0x57af29._0x5eda5e)+'r'][_0x3b38cb(_0x57af29._0x55d10d)],{'adapterName':_0x43607c['const'+'ructo'+'r'][_0x3b38cb(_0x57af29._0x3c47ad)],'environment':this[_0x3b38cb(_0x57af29._0x33a764)+_0x3b38cb(_0x57af29._0x59d6d2)+_0x3b38cb(_0x57af29._0x11d211)+_0x3b38cb(_0x57af29._0x1ed41b)]()}),_0x43607c;g['debug'](_0x3b38cb(_0x57af29._0x258642)+_0x3b38cb(0xc9e)+_0x43607c[_0x3b38cb(0x73f)+'ructo'+'r']['name']+('\x20is\x20n'+_0x3b38cb(_0x57af29._0x377ac9)+_0x3b38cb(_0x57af29._0x3f37e4)+_0x3b38cb(_0x57af29._0x366633)+_0x3b38cb(0xc22)+_0x3b38cb(0x7e0)+_0x3b38cb(_0x57af29._0x165c1d)+_0x3b38cb(0x79d)));}throw g[_0x3b38cb(_0x57af29._0x3b165b)](_0x17cfe7['XAROy'],{'totalAdapters':this['adapt'+_0x3b38cb(_0x57af29._0x2edf13)][_0x3b38cb(_0x57af29._0x2a414b)+'h'],'environment':this[_0x3b38cb(_0x57af29._0x33a764)+_0x3b38cb(_0x57af29._0x59d6d2)+'mentI'+_0x3b38cb(_0x57af29._0x5449c1)]()}),new Error(_0x17cfe7[_0x3b38cb(0x9b4)]);}static async['valid'+'ateSc'+_0x441e35(0x337)+'ersio'+'n'](_0x53cde2,_0x1c9dc5){const _0x1d7e58={_0x5d9135:0x495,_0x3c510b:0x772,_0x5b2438:0x734,_0x34b127:0x1da,_0xa2eb57:0x5c1,_0x20a3c3:0x97d,_0x1a28a6:0x215,_0x58b371:0x76f,_0x35ddc2:0x5bd,_0x347d31:0x97d,_0x43ffc9:0x3bf,_0x49603c:0x583,_0x20a791:0xc4a,_0x47ab32:0x264,_0x356650:0xbfd,_0x4e1125:0x408,_0x2304b2:0x25b,_0x5d3b3e:0x9bb,_0x296bbc:0x453,_0x1c9bdf:0x9f2,_0x6cacf1:0x73d,_0x307c77:0x24d,_0x340b80:0xaad,_0x14d75b:0x64d,_0x5ddd3f:0x90e,_0x518cc5:0x5c1,_0x38fe79:0x2bb,_0x4fdfc7:0x5c1,_0xb1a156:0x99b,_0x3e71d5:0xb73,_0x5f1a2a:0x5a9,_0x169e61:0x5c1,_0x5c12f2:0x82c,_0x5a6277:0x5bd,_0x2c2ffc:0x772,_0x4bca2d:0x9f2,_0x1bd6e3:0x842,_0x4dbef2:0x5c1,_0x522c39:0x3bf,_0x5821c6:0x858,_0x41ebdf:0x310,_0x2ef480:0x82b,_0x89f1fb:0x477,_0x1168bf:0x2a7,_0x423c6c:0x54f,_0x2ef269:0x4b2,_0x43f192:0x7be,_0x3a7f97:0x495,_0x2ef27b:0x883,_0x4fda0c:0x3a9,_0x4b1737:0x6c5,_0x547fbc:0x5bd,_0x4859d3:0x8ae,_0x46dc64:0x7c5,_0x44a1aa:0x3ab,_0x161d63:0xa61,_0x117d10:0x453,_0x5592fa:0xc14,_0x76fa7e:0xb68},_0x1ff1d1=_0x441e35,_0x2a0c6e={'SoIya':_0x1ff1d1(0xa10)+'ating'+_0x1ff1d1(0x281)+_0x1ff1d1(0xca0)+_0x1ff1d1(_0x1d7e58._0x5d9135)+_0x1ff1d1(_0x1d7e58._0x3c510b)+_0x1ff1d1(_0x1d7e58._0x5b2438)+_0x1ff1d1(_0x1d7e58._0x34b127),'YqzbW':function(_0x2c1286,_0xe47f67){return _0x2c1286!=_0xe47f67;},'NAQzs':'strin'+'g','TqRdl':function(_0x199556,_0x4692b7){return _0x199556===_0x4692b7;},'yEhtW':function(_0x4a2ef7,_0x5d43b1){return _0x4a2ef7===_0x5d43b1;},'uEYkr':_0x1ff1d1(_0x1d7e58._0xa2eb57)+_0x1ff1d1(_0x1d7e58._0x20a3c3)+_0x1ff1d1(0x3bf)+_0x1ff1d1(_0x1d7e58._0x1a28a6)+'iled:'+_0x1ff1d1(_0x1d7e58._0x58b371)+_0x1ff1d1(0x474)+_0x1ff1d1(_0x1d7e58._0x35ddc2)+'s\x20obj'+_0x1ff1d1(0xa1f),'HhAeW':_0x1ff1d1(0x5c1)+_0x1ff1d1(_0x1d7e58._0x347d31)+_0x1ff1d1(_0x1d7e58._0x43ffc9)+_0x1ff1d1(0x4f1)+_0x1ff1d1(_0x1d7e58._0x49603c)+_0x1ff1d1(0xc5a),'PToMq':_0x1ff1d1(0xa10)+_0x1ff1d1(0x7f5)+_0x1ff1d1(_0x1d7e58._0x20a791)+_0x1ff1d1(0x8ea)+_0x1ff1d1(_0x1d7e58._0x47ab32)+_0x1ff1d1(0x4e2)+_0x1ff1d1(0x59b)+'lity','sbsIn':function(_0x24c36c,_0xf6c277){return _0x24c36c!==_0xf6c277;},'OyjAN':_0x1ff1d1(_0x1d7e58._0x356650),'ETxui':'Retri'+'eved\x20'+_0x1ff1d1(0x9bb)+_0x1ff1d1(_0x1d7e58._0x4e1125)+_0x1ff1d1(0x789),'ToroB':_0x1ff1d1(0x4e6)+'\x20duri'+_0x1ff1d1(0x6f2)+_0x1ff1d1(0x9aa)+_0x1ff1d1(_0x1d7e58._0x2304b2)+_0x1ff1d1(0x409)+'lidat'+_0x1ff1d1(0xa50)};g[_0x1ff1d1(0x2d7)](_0x2a0c6e['PToMq'],{'databaseName':_0x1c9dc5[_0x1ff1d1(_0x1d7e58._0x5d3b3e)+_0x1ff1d1(_0x1d7e58._0x296bbc)+_0x1ff1d1(_0x1d7e58._0x1c9bdf)],'configVersion':_0x1c9dc5[_0x1ff1d1(0x25b)+'on']});try{if(_0x2a0c6e[_0x1ff1d1(0x403)](_0x1ff1d1(_0x1d7e58._0x6cacf1),_0x2a0c6e[_0x1ff1d1(_0x1d7e58._0x307c77)])){const _0x4262e8=await _0x53cde2[_0x1ff1d1(0x6b5)+_0x1ff1d1(_0x1d7e58._0x340b80)+_0x1ff1d1(0x355)]();if(g[_0x1ff1d1(_0x1d7e58._0x14d75b)](_0x2a0c6e[_0x1ff1d1(_0x1d7e58._0x5ddd3f)],{'databaseVersion':_0x4262e8[_0x1ff1d1(_0x1d7e58._0x2304b2)+'on'],'configVersion':_0x1c9dc5[_0x1ff1d1(_0x1d7e58._0x2304b2)+'on']}),_0x4262e8[_0x1ff1d1(_0x1d7e58._0x2304b2)+'on']!==_0x1c9dc5['versi'+'on']){const _0x3eea35=_0x1ff1d1(_0x1d7e58._0x518cc5)+'a\x20ver'+_0x1ff1d1(0xc71)+_0x1ff1d1(_0x1d7e58._0x38fe79)+'tch:\x20'+_0x1ff1d1(_0x1d7e58._0x5d3b3e)+_0x1ff1d1(0x8fe)+_0x4262e8['versi'+'on']+(')\x20vs\x20'+_0x1ff1d1(0x3e7)+_0x1ff1d1(0x3f0))+_0x1c9dc5[_0x1ff1d1(0x25b)+'on']+')';throw g['error'](_0x1ff1d1(_0x1d7e58._0x4fdfc7)+_0x1ff1d1(_0x1d7e58._0xb1a156)+_0x1ff1d1(0xc71)+_0x1ff1d1(0x2bb)+_0x1ff1d1(0x289),{'databaseName':_0x1c9dc5[_0x1ff1d1(_0x1d7e58._0x5d3b3e)+_0x1ff1d1(_0x1d7e58._0x296bbc)+_0x1ff1d1(_0x1d7e58._0x1c9bdf)],'databaseVersion':_0x4262e8[_0x1ff1d1(0x25b)+'on'],'configVersion':_0x1c9dc5[_0x1ff1d1(0x25b)+'on']}),new Error(_0x3eea35);}g[_0x1ff1d1(0x64d)](_0x1ff1d1(0x5c1)+'a\x20ver'+'sion\x20'+'valid'+_0x1ff1d1(_0x1d7e58._0x34b127)+_0x1ff1d1(0xb0c)+_0x1ff1d1(_0x1d7e58._0x3e71d5)+'l',{'databaseName':_0x1c9dc5[_0x1ff1d1(0x9bb)+_0x1ff1d1(_0x1d7e58._0x296bbc)+_0x1ff1d1(0x9f2)],'version':_0x1c9dc5['versi'+'on']});}else{if(_0x118cb3[_0x1ff1d1(0x2d7)](_0x2a0c6e[_0x1ff1d1(_0x1d7e58._0x5f1a2a)]),!_0x17fae3)throw _0x32918['error'](_0x1ff1d1(_0x1d7e58._0x169e61)+_0x1ff1d1(_0x1d7e58._0x20a3c3)+_0x1ff1d1(_0x1d7e58._0x43ffc9)+'on\x20fa'+_0x1ff1d1(_0x1d7e58._0x5c12f2)+'\x20null'+'\x20or\x20u'+'ndefi'+_0x1ff1d1(0x951)+_0x1ff1d1(_0x1d7e58._0x5a6277)),new _0x48c78a(_0x1ff1d1(_0x1d7e58._0xa2eb57)+_0x1ff1d1(_0x1d7e58._0x2c2ffc)+'figur'+_0x1ff1d1(0x1da)+'\x20is\x20n'+_0x1ff1d1(0xcf7)+'r\x20und'+'efine'+'d.');if(_0x2a0c6e[_0x1ff1d1(0x2b9)](typeof _0x219be0[_0x1ff1d1(0x9bb)+_0x1ff1d1(0x453)+_0x1ff1d1(_0x1d7e58._0x4bca2d)],_0x2a0c6e[_0x1ff1d1(_0x1d7e58._0x1bd6e3)])||_0x2a0c6e[_0x1ff1d1(0x454)](_0x2a16c5['datab'+'ase_n'+_0x1ff1d1(0x9f2)][_0x1ff1d1(0x2df)](),''))throw _0x4ab827[_0x1ff1d1(0x850)](_0x1ff1d1(_0x1d7e58._0x4dbef2)+_0x1ff1d1(_0x1d7e58._0x347d31)+_0x1ff1d1(_0x1d7e58._0x522c39)+_0x1ff1d1(_0x1d7e58._0x1a28a6)+_0x1ff1d1(0x82c)+_0x1ff1d1(_0x1d7e58._0x58b371)+'lid\x20d'+'ataba'+'se_na'+'me',{'databaseName':_0x3383f4[_0x1ff1d1(_0x1d7e58._0x5d3b3e)+_0x1ff1d1(_0x1d7e58._0x296bbc)+'ame'],'type':typeof _0x39f4f9[_0x1ff1d1(_0x1d7e58._0x5d3b3e)+'ase_n'+'ame']}),new _0xf16890('Inval'+_0x1ff1d1(_0x1d7e58._0x5821c6)+'\x20miss'+_0x1ff1d1(0x340)+_0x1ff1d1(0x9bb)+_0x1ff1d1(0x453)+_0x1ff1d1(0x41c)+_0x1ff1d1(0x66e)+_0x1ff1d1(0x879)+_0x1ff1d1(_0x1d7e58._0x41ebdf)+_0x1ff1d1(_0x1d7e58._0x2ef480)+_0x1ff1d1(0xac8)+_0x1ff1d1(0x76c)+_0x1ff1d1(_0x1d7e58._0x89f1fb)+'\x20the\x20'+'datab'+_0x1ff1d1(_0x1d7e58._0x1168bf)+_0x1ff1d1(0x280));if(typeof _0x39d2a6['schem'+'as']!=_0x1ff1d1(0x5dc)+'t'||_0x2a0c6e['yEhtW'](_0x2bb4d1[_0x1ff1d1(0x495)+'as'],null)||_0x17639b[_0x1ff1d1(_0x1d7e58._0x423c6c)](_0x46c906[_0x1ff1d1(0x495)+'as'])[_0x1ff1d1(_0x1d7e58._0x2ef269)+'h']===-0x1587+0xb4+-0x1*-0x14d3)throw _0x40e5c1['error'](_0x2a0c6e[_0x1ff1d1(_0x1d7e58._0x43f192)],{'databaseName':_0x641b9a['datab'+'ase_n'+_0x1ff1d1(_0x1d7e58._0x1c9bdf)],'schemasType':typeof _0x6020b7[_0x1ff1d1(0x495)+'as'],'schemasCount':_0x4a95bd[_0x1ff1d1(_0x1d7e58._0x5d9135)+'as']?_0x1cc9ac[_0x1ff1d1(0x54f)](_0x59d4d4[_0x1ff1d1(_0x1d7e58._0x3a7f97)+'as'])[_0x1ff1d1(0x4b2)+'h']:0x379*-0x5+0x866+0x8f7}),new _0x211cce(_0x1ff1d1(0x610)+_0x1ff1d1(0x858)+_0x1ff1d1(_0x1d7e58._0x2ef27b)+_0x1ff1d1(0x340)+_0x1ff1d1(0x495)+_0x1ff1d1(_0x1d7e58._0x4fda0c)+'bject'+_0x1ff1d1(_0x1d7e58._0x4b1737)+_0x1ff1d1(_0x1d7e58._0x547fbc)+'.\x20At\x20'+_0x1ff1d1(_0x1d7e58._0x4859d3)+_0x1ff1d1(_0x1d7e58._0x46dc64)+_0x1ff1d1(0x828)+'\x20defi'+_0x1ff1d1(0x914)+_0x1ff1d1(_0x1d7e58._0x44a1aa)+_0x1ff1d1(_0x1d7e58._0x161d63)+'red.');return _0x57753e[_0x1ff1d1(_0x1d7e58._0x14d75b)](_0x2a0c6e['HhAeW'],{'databaseName':_0xce258c['datab'+_0x1ff1d1(_0x1d7e58._0x117d10)+'ame'],'tablesCount':_0x1e51be[_0x1ff1d1(_0x1d7e58._0x423c6c)](_0xe27bc['schem'+'as'])[_0x1ff1d1(0x4b2)+'h'],'version':_0x21872c['versi'+'on']}),!(0x231c+-0x405*-0x1+0x597*-0x7);}}catch(_0x2ad2f9){throw g['error'](_0x2a0c6e[_0x1ff1d1(0x653)],{'databaseName':_0x1c9dc5['datab'+_0x1ff1d1(_0x1d7e58._0x117d10)+_0x1ff1d1(_0x1d7e58._0x1c9bdf)],'error':_0x2ad2f9['messa'+'ge']}),new Error(_0x1ff1d1(0x4e6)+'\x20vali'+_0x1ff1d1(0xaa0)+_0x1ff1d1(0x481)+_0x1ff1d1(_0x1d7e58._0x5592fa)+'ersio'+_0x1ff1d1(_0x1d7e58._0x76fa7e)+'\x20'+_0x1c9dc5['datab'+_0x1ff1d1(0x453)+_0x1ff1d1(0x9f2)]+':\x20'+_0x2ad2f9[_0x1ff1d1(0x6d8)+'ge']);}}static['valid'+'ateSc'+_0x441e35(0x915)](_0x1223cd){const _0x306999={_0x1db56f:0xa10,_0x920df2:0x281,_0x5f1eb4:0x495,_0x275942:0x734,_0x5b06ad:0x950,_0x44d3d0:0x82c,_0x138d70:0x1ea,_0x9ce3ce:0x96a,_0x5aa44e:0x340,_0x1a0de9:0x9bb,_0x5a1414:0x879,_0x5b8c0c:0x82b,_0x5e402c:0x477,_0x589b6e:0x2a7,_0x3cf458:0x5c1,_0x18165b:0xa1f,_0x558791:0x340,_0x309091:0x3a9,_0x5f0757:0xca5,_0x105e30:0x7c5,_0x34a936:0x828,_0x536c5a:0x2d4,_0x187c16:0x7ed,_0xbb101f:0x2d7,_0x416cd0:0xa93,_0x57b5ce:0x850,_0x387fac:0x5c1,_0x5ce075:0x215,_0x370e89:0x424,_0x1d01b1:0x1da,_0x5e102c:0xc33,_0xad497d:0x266,_0x34843b:0xc60,_0x35c92a:0x453,_0x2fe678:0x9f2,_0x4df04f:0x453,_0x5d495e:0x2df,_0x547d3e:0x9bb,_0x1646a7:0x9f2,_0x4aea07:0x69d,_0x2a9d5a:0x495,_0x3a70b0:0x4b2,_0x57de50:0x567,_0x5c0049:0x495,_0x54e42e:0x4b2,_0x1b6451:0x526,_0x18a454:0x583,_0x19445c:0xc5a,_0x487ddd:0x4b2},_0xc7a69d=_0x441e35,_0x2dc9e0={'sojNv':_0xc7a69d(_0x306999._0x1db56f)+_0xc7a69d(0x7f5)+_0xc7a69d(_0x306999._0x920df2)+_0xc7a69d(0xca0)+_0xc7a69d(_0x306999._0x5f1eb4)+_0xc7a69d(0x772)+_0xc7a69d(_0x306999._0x275942)+_0xc7a69d(0x1da),'FFgWo':_0xc7a69d(_0x306999._0x5b06ad)+'g','Nvatj':'Schem'+_0xc7a69d(0x97d)+_0xc7a69d(0x3bf)+_0xc7a69d(0x215)+_0xc7a69d(_0x306999._0x44d3d0)+'\x20inva'+_0xc7a69d(_0x306999._0x138d70)+_0xc7a69d(_0x306999._0x9ce3ce)+_0xc7a69d(0x2c9)+'me','vJDbX':_0xc7a69d(0x610)+_0xc7a69d(0x858)+_0xc7a69d(0x883)+_0xc7a69d(_0x306999._0x5aa44e)+_0xc7a69d(_0x306999._0x1a0de9)+_0xc7a69d(0x453)+'ame\x27\x20'+_0xc7a69d(0x66e)+_0xc7a69d(_0x306999._0x5a1414)+'\x20This'+_0xc7a69d(_0x306999._0x5b8c0c)+'equir'+'ed\x20to'+_0xc7a69d(_0x306999._0x5e402c)+'\x20the\x20'+_0xc7a69d(0x9bb)+_0xc7a69d(_0x306999._0x589b6e)+'ile.','quuGT':function(_0x4bac5b,_0x5a271c){return _0x4bac5b!=_0x5a271c;},'nqAQy':function(_0x1d3710,_0x5d9bc4){return _0x1d3710===_0x5d9bc4;},'YUcZt':_0xc7a69d(_0x306999._0x3cf458)+_0xc7a69d(0x97d)+_0xc7a69d(0x3bf)+_0xc7a69d(0x215)+_0xc7a69d(0x82c)+_0xc7a69d(0x76f)+'lid\x20s'+'chema'+_0xc7a69d(0x7e2)+_0xc7a69d(_0x306999._0x18165b),'DIyPy':'Inval'+'id\x20or'+_0xc7a69d(0x883)+_0xc7a69d(_0x306999._0x558791)+_0xc7a69d(_0x306999._0x5f1eb4)+_0xc7a69d(_0x306999._0x309091)+_0xc7a69d(_0x306999._0x5f0757)+_0xc7a69d(0x6c5)+'chema'+'.\x20At\x20'+'least'+_0xc7a69d(_0x306999._0x105e30)+_0xc7a69d(_0x306999._0x34a936)+_0xc7a69d(_0x306999._0x536c5a)+'nitio'+_0xc7a69d(0x3ab)+'requi'+_0xc7a69d(_0x306999._0x187c16)};if(g[_0xc7a69d(_0x306999._0xbb101f)](_0x2dc9e0[_0xc7a69d(_0x306999._0x416cd0)]),!_0x1223cd)throw g[_0xc7a69d(_0x306999._0x57b5ce)](_0xc7a69d(_0x306999._0x387fac)+'a\x20val'+_0xc7a69d(0x3bf)+_0xc7a69d(_0x306999._0x5ce075)+_0xc7a69d(0x82c)+_0xc7a69d(_0x306999._0x370e89)+'\x20or\x20u'+_0xc7a69d(0xcda)+_0xc7a69d(0x951)+'chema'),new Error('Schem'+_0xc7a69d(0x772)+_0xc7a69d(_0x306999._0x275942)+_0xc7a69d(_0x306999._0x1d01b1)+_0xc7a69d(_0x306999._0x5e102c)+'ull\x20o'+_0xc7a69d(_0x306999._0xad497d)+_0xc7a69d(_0x306999._0x34843b)+'d.');if(typeof _0x1223cd[_0xc7a69d(0x9bb)+_0xc7a69d(_0x306999._0x35c92a)+_0xc7a69d(_0x306999._0x2fe678)]!=_0x2dc9e0[_0xc7a69d(0xa6c)]||_0x1223cd[_0xc7a69d(_0x306999._0x1a0de9)+_0xc7a69d(_0x306999._0x4df04f)+_0xc7a69d(_0x306999._0x2fe678)][_0xc7a69d(_0x306999._0x5d495e)]()==='')throw g[_0xc7a69d(0x850)](_0x2dc9e0[_0xc7a69d(0x5d6)],{'databaseName':_0x1223cd[_0xc7a69d(0x9bb)+_0xc7a69d(_0x306999._0x35c92a)+_0xc7a69d(0x9f2)],'type':typeof _0x1223cd[_0xc7a69d(_0x306999._0x547d3e)+_0xc7a69d(0x453)+_0xc7a69d(_0x306999._0x1646a7)]}),new Error(_0x2dc9e0[_0xc7a69d(0x4d1)]);if(_0x2dc9e0[_0xc7a69d(_0x306999._0x4aea07)](typeof _0x1223cd[_0xc7a69d(_0x306999._0x5f1eb4)+'as'],_0xc7a69d(0x5dc)+'t')||_0x1223cd[_0xc7a69d(_0x306999._0x2a9d5a)+'as']===null||_0x2dc9e0[_0xc7a69d(0x976)](Object['keys'](_0x1223cd[_0xc7a69d(0x495)+'as'])[_0xc7a69d(_0x306999._0x3a70b0)+'h'],-0x2*-0xe59+0x39*0xa4+-0x209b*0x2))throw g[_0xc7a69d(0x850)](_0x2dc9e0[_0xc7a69d(_0x306999._0x57de50)],{'databaseName':_0x1223cd[_0xc7a69d(0x9bb)+_0xc7a69d(_0x306999._0x35c92a)+_0xc7a69d(_0x306999._0x1646a7)],'schemasType':typeof _0x1223cd[_0xc7a69d(_0x306999._0x5c0049)+'as'],'schemasCount':_0x1223cd[_0xc7a69d(0x495)+'as']?Object[_0xc7a69d(0x54f)](_0x1223cd[_0xc7a69d(0x495)+'as'])[_0xc7a69d(_0x306999._0x54e42e)+'h']:-0x14ce+0x91*0x1d+-0x1*-0x461}),new Error(_0x2dc9e0[_0xc7a69d(_0x306999._0x1b6451)]);return g[_0xc7a69d(0x64d)](_0xc7a69d(0x5c1)+'a\x20val'+'idati'+_0xc7a69d(0x4f1)+_0xc7a69d(_0x306999._0x18a454)+_0xc7a69d(_0x306999._0x19445c),{'databaseName':_0x1223cd['datab'+_0xc7a69d(0x453)+'ame'],'tablesCount':Object['keys'](_0x1223cd['schem'+'as'])[_0xc7a69d(_0x306999._0x487ddd)+'h'],'version':_0x1223cd[_0xc7a69d(0x25b)+'on']}),!(-0x8ea+-0x1*0xee4+-0x2*-0xbe7);}static async['creat'+'eDAO'](_0x257c73,_0x45bc4e){const _0x52e86a={_0x14d88b:0x2a8,_0x41dc41:0xc94,_0x5c4c82:0xa58,_0x12c048:0xbae,_0x4f4121:0x569,_0x2b14da:0xbf5,_0x536461:0x8a5,_0x142fce:0x63d,_0x1bee24:0xc57,_0x40a282:0x30c,_0x3e2f31:0x223,_0x26bdda:0xa00,_0x31f1b3:0x682,_0x64683c:0x63e,_0x12f82c:0x7c7,_0x5a100f:0x64d,_0x5de29a:0xad2,_0x48953b:0x499,_0xee6060:0x4d0,_0x410fcd:0xb8d,_0x220622:0x8a5,_0x213f9a:0x6e4,_0x152c10:0x827,_0x1d6714:0xabe,_0x5b73ab:0x47c},_0xb06927=_0x441e35,_0x2f97eb={'qNrww':_0xb06927(0x93a)+_0xb06927(0xcd4)+_0xb06927(_0x52e86a._0x14d88b)+_0xb06927(_0x52e86a._0x41dc41)+_0xb06927(_0x52e86a._0x5c4c82)+_0xb06927(_0x52e86a._0x12c048)+_0xb06927(0x3f5),'RZclz':function(_0x237883,_0x5e8a57){return _0x237883!==_0x5e8a57;},'YFKxd':function(_0x2335e8,_0x5a40eb){return _0x2335e8!==_0x5a40eb;},'xVjBE':function(_0x3fc156,_0x151479){return _0x3fc156!==_0x151479;},'zcoKA':function(_0x4c99d6,_0x249861){return _0x4c99d6==_0x249861;},'BwzIx':function(_0x5dbd45,_0x2cc661){return _0x5dbd45!=_0x2cc661;},'vLQZF':function(_0x4ab81,_0x42e7a1){return _0x4ab81!==_0x42e7a1;}};var _0x2b612f,_0x312452,_0x4c9555,_0x2eb540;g[_0xb06927(0x5cb)](_0x2f97eb[_0xb06927(_0x52e86a._0x4f4121)],{'dbPath':_0x257c73,'hasCustomAdapter':!!(_0x45bc4e!=null&&_0x45bc4e[_0xb06927(0x7c7)+'er']),'createIfNotExists':_0x2f97eb[_0xb06927(0x506)](_0x2b612f=_0x45bc4e==null?void(-0x13f+-0x260b*-0x1+-0xc*0x311):_0x45bc4e[_0xb06927(_0x52e86a._0x2b14da)+_0xb06927(_0x52e86a._0x536461)+_0xb06927(0x6e4)+'ts'],null)&&_0x2f97eb[_0xb06927(_0x52e86a._0x142fce)](_0x2b612f,void(-0x289*-0x4+-0xfa4+0x4*0x160))?_0x2b612f:!(-0x629*-0x1+-0xc*-0x8b+-0xcac),'forceRecreate':_0x2f97eb['xVjBE'](_0x312452=_0x2f97eb[_0xb06927(0x7a0)](_0x45bc4e,null)?void(-0x5*-0x338+-0x2056+0x103e):_0x45bc4e[_0xb06927(0x827)+_0xb06927(_0x52e86a._0x1bee24)+_0xb06927(_0x52e86a._0x40a282)],null)&&_0x2f97eb[_0xb06927(_0x52e86a._0x3e2f31)](_0x312452,void(0x1363*-0x1+0x2509+0x11a6*-0x1))?_0x312452:!(-0x9f7+0x2686+-0x22*0xd7)});let _0x946109;_0x2f97eb['BwzIx'](_0x45bc4e,null)&&_0x45bc4e[_0xb06927(0x7c7)+'er']?(g[_0xb06927(0x64d)](_0xb06927(0x678)+'\x20prov'+_0xb06927(_0x52e86a._0x26bdda)+_0xb06927(0x6d7)+_0xb06927(_0x52e86a._0x31f1b3)+_0xb06927(0x1d8),{'adapterName':_0x45bc4e['adapt'+'er'][_0xb06927(0x73f)+_0xb06927(_0x52e86a._0x64683c)+'r'][_0xb06927(0x47c)]}),_0x946109=_0x45bc4e[_0xb06927(_0x52e86a._0x12f82c)+'er']):(g[_0xb06927(_0x52e86a._0x5a100f)](_0xb06927(_0x52e86a._0x5de29a)+'ting\x20'+_0xb06927(0x417)+_0xb06927(0x7c7)+'er\x20au'+_0xb06927(0x952)+_0xb06927(_0x52e86a._0x48953b)+'y'),_0x946109=await this[_0xb06927(_0x52e86a._0xee6060)+_0xb06927(_0x52e86a._0x410fcd)+_0xb06927(0xa6a)+'er']());const _0x26715b=new P(_0x946109,_0x257c73,{'createIfNotExists':(_0x4c9555=_0x45bc4e==null?void(-0x7b3+-0xe79+0x162c):_0x45bc4e[_0xb06927(0xbf5)+_0xb06927(_0x52e86a._0x220622)+_0xb06927(_0x52e86a._0x213f9a)+'ts'])!==null&&_0x4c9555!==void(0x2496+0x9bf*0x4+-0x22*0x239)?_0x4c9555:!(-0x8aa*0x3+0x7e1*0x1+-0x1*-0x121e),'forceRecreate':_0x2f97eb[_0xb06927(0xa6d)](_0x2eb540=_0x2f97eb['zcoKA'](_0x45bc4e,null)?void(0x2b*0x35+-0x6af*-0x1+-0x7*0x23a):_0x45bc4e[_0xb06927(_0x52e86a._0x152c10)+_0xb06927(0xc57)+_0xb06927(_0x52e86a._0x40a282)],null)&&_0x2eb540!==void(0x2302+-0x1*0x12b5+-0x104d)?_0x2eb540:!(-0x1386*0x1+-0x2002+0x1*0x3389)});return g['debug'](_0xb06927(0x1df)+'rsalD'+_0xb06927(0x695)+_0xb06927(0x344)+_0xb06927(_0x52e86a._0x1d6714)+'ated\x20'+_0xb06927(0xa84)+_0xb06927(0x46f)+'ly',{'dbPath':_0x257c73,'adapterName':_0x946109[_0xb06927(0x73f)+_0xb06927(_0x52e86a._0x64683c)+'r'][_0xb06927(_0x52e86a._0x5b73ab)]}),_0x26715b;}static async[_0x441e35(0xbcd)+_0x441e35(0xb6e)+'ng'](_0x5ccf77,_0x420b51={}){const _0x403641={_0x4e826e:0x447,_0x153c07:0xc2b,_0x4b5a25:0x74d,_0xe76995:0x6f6,_0x5142cd:0x64d,_0x161bde:0x7ff,_0x5a0703:0x939,_0x4f3b99:0x5bc,_0xa23dd:0x50a,_0x46aa8f:0x3c3,_0x5b3026:0xb0c,_0x1744fd:0xb73,_0x35e8ac:0x4e6,_0x10b26e:0x2d2,_0x922910:0xc45,_0x285dda:0x4e6,_0x4d20b4:0x42e,_0x54c329:0xa4c,_0x46c3c3:0xa64},_0x5250bb=_0x441e35,_0x9da202={'qWJOc':'Openi'+_0x5250bb(0x885)+_0x5250bb(0xaf9)+_0x5250bb(0xa85)+'abase','ujTlQ':_0x5250bb(0x30e)+'A\x20int'+_0x5250bb(_0x403641._0x4e826e)+_0x5250bb(0x752)+'ck'};g[_0x5250bb(0x5cb)](_0x9da202[_0x5250bb(_0x403641._0x153c07)],{'dbName':_0x5ccf77,'options':_0x420b51});const _0x4dbe11=_0x5ccf77[_0x5250bb(0x9c1)+_0x5250bb(_0x403641._0x4b5a25)](_0x5250bb(_0x403641._0xe76995))?_0x5ccf77:_0x5ccf77+_0x5250bb(0x6f6);g[_0x5250bb(_0x403641._0x5142cd)](_0x5250bb(_0x403641._0x161bde)+_0x5250bb(_0x403641._0x5a0703)+'ataba'+_0x5250bb(0x3b4)+_0x5250bb(0xb60)+'e',{'originalName':_0x5ccf77,'resolvedName':_0x4dbe11});const _0x87e782=await this[_0x5250bb(0xbf5)+_0x5250bb(0x92f)](_0x4dbe11,_0x420b51);try{return g[_0x5250bb(0x64d)]('Conne'+_0x5250bb(0x325)+'\x20to\x20d'+'ataba'+'se',{'dbFileName':_0x4dbe11}),await _0x87e782['conne'+'ct'](),g[_0x5250bb(0x64d)](_0x5250bb(0xa14)+'ng\x20in'+_0x5250bb(0x718)+_0x5250bb(0x9d9)+_0x5250bb(_0x403641._0x4f3b99),{'dbFileName':_0x4dbe11}),await _0x87e782[_0x5250bb(_0x403641._0xa23dd)+'te'](_0x9da202['ujTlQ']),g[_0x5250bb(0x5cb)]('Datab'+_0x5250bb(_0x403641._0x46aa8f)+_0x5250bb(0x5f2)+_0x5250bb(_0x403641._0x5b3026)+_0x5250bb(_0x403641._0x1744fd)+_0x5250bb(0x862),{'dbFileName':_0x4dbe11}),_0x87e782;}catch(_0x4021e3){g[_0x5250bb(0x850)](_0x5250bb(_0x403641._0x35e8ac)+_0x5250bb(_0x403641._0x10b26e)+'ing\x20d'+_0x5250bb(0x96a)+'se',{'dbFileName':_0x4dbe11,'error':_0x4021e3['messa'+'ge']});try{await _0x87e782[_0x5250bb(0xac1)]();}catch(_0x22b60a){g[_0x5250bb(_0x403641._0x922910)](_0x5250bb(_0x403641._0x285dda)+_0x5250bb(_0x403641._0x4d20b4)+_0x5250bb(0xb8c)+_0x5250bb(_0x403641._0x54c329)+_0x5250bb(0x1e8)+_0x5250bb(0x7e9)+'\x20open',{'dbFileName':_0x4dbe11,'closeError':_0x22b60a['messa'+'ge']});}throw new Error(_0x5250bb(0x4e6)+'\x20open'+_0x5250bb(_0x403641._0x46c3c3)+_0x5250bb(0x96a)+'se\x20\x27'+_0x4dbe11+_0x5250bb(0x3f7)+_0x4021e3[_0x5250bb(0x6d8)+'ge']);}}static async[_0x441e35(0xbf5)+_0x441e35(0xca6)+'enInt'+_0x441e35(0x324)](_0x176a51,_0x34276d=!(0xdb*0x11+0x209b+-0x1bf*0x1b),_0x4370fd=!(-0x68a+0x725*0x2+-0x7bf)){const _0x5e3b7b={_0x184167:0xaad,_0x270409:0x520,_0x5a641f:0x204,_0x6b0396:0x7e8,_0x2bbb3e:0x4bc,_0x42da35:0xc44,_0xb84306:0x36e,_0x1dd6b3:0x568,_0x482bbc:0x329,_0x28e294:0x936,_0x5eb1dc:0x3fa,_0xe441ca:0x8b2,_0x17271f:0x4dd,_0x4cd3dc:0x325,_0x12bb30:0x941,_0x1ed668:0x824,_0x520398:0xc42,_0x5861ba:0x5c1,_0x555f3a:0x1da,_0xe6a36d:0x5cc,_0x29522a:0x1da,_0x117fbc:0x93a,_0x5296e4:0x596,_0x1a7716:0x3e7,_0xcff2ad:0x601,_0x4d860a:0x38b,_0x4c6900:0xcc4,_0x3e14af:0xa33,_0x2c478e:0x64d,_0x5a9378:0x678,_0x3170ec:0xa00,_0x4e9848:0x333,_0x4e844e:0x3e7,_0x2346bf:0x850,_0x59bfc7:0xaeb,_0x15c392:0x8af,_0x2f2582:0x2d7,_0x772c9b:0xa10,_0x2d2d09:0xc4a,_0x31edd0:0xc7d,_0x3ea951:0x1f2,_0x207c4c:0x9f2,_0x241bda:0x9c1,_0x166769:0x74d,_0x5993ec:0x9bb,_0x5b21a9:0x453,_0xa44234:0x453,_0x2e0fd1:0x64d,_0x112841:0x7c7,_0x41e5c8:0xbb6,_0x3a11b0:0x53d,_0x300755:0xa10,_0x574c76:0x7f5,_0x35de17:0x337,_0x2df556:0x350,_0x441ac1:0x6d8,_0x42d799:0x5c1,_0x279ad3:0x8b3,_0x5344c2:0xc97,_0x23f0ef:0xa7d,_0x57749f:0xc4a,_0x2e7452:0xad0,_0x5be786:0x34c,_0x448ba1:0x4f5,_0x18af29:0x951,_0x52e57c:0xc8a,_0x25bca4:0xcc9,_0x418f94:0x9bb,_0x29eb1b:0x25b,_0x45d32d:0xbc7,_0x165cd7:0xc6d,_0x3ac0d2:0xac1},_0x9e51c4=_0x441e35,_0x383c52={'GDbTE':_0x9e51c4(0x75e)+_0x9e51c4(_0x5e3b7b._0x184167)+_0x9e51c4(0xa2e)+_0x9e51c4(_0x5e3b7b._0x270409)+'onfig'+_0x9e51c4(0x8c2)+_0x9e51c4(0xb75)+_0x9e51c4(_0x5e3b7b._0x5a641f)+'d','ThGwM':_0x9e51c4(0xbde)+_0x9e51c4(0xc7a)+_0x9e51c4(0x5b1)+_0x9e51c4(_0x5e3b7b._0x6b0396)+_0x9e51c4(_0x5e3b7b._0x2bbb3e)+_0x9e51c4(_0x5e3b7b._0x42da35)+_0x9e51c4(_0x5e3b7b._0xb84306)+'\x27conf'+_0x9e51c4(_0x5e3b7b._0x1dd6b3)+_0x9e51c4(_0x5e3b7b._0x482bbc)+'st\x20be'+_0x9e51c4(0x38b)+_0x9e51c4(0xa00)+'to\x20th'+_0x9e51c4(_0x5e3b7b._0x28e294)+_0x9e51c4(0x2c4),'HrqFw':'Datab'+_0x9e51c4(0x2a7)+_0x9e51c4(0xcb9)+_0x9e51c4(_0x5e3b7b._0x5eb1dc)+_0x9e51c4(_0x5e3b7b._0xe441ca)+'d','lNRYC':_0x9e51c4(0x93a)+'ing\x20D'+_0x9e51c4(0x695)+_0x9e51c4(0x344)+'e','RBnZG':_0x9e51c4(_0x5e3b7b._0x17271f)+_0x9e51c4(_0x5e3b7b._0x4cd3dc)+'\x20to\x20d'+'ataba'+'se','UNHUt':_0x9e51c4(_0x5e3b7b._0x12bb30)+_0x9e51c4(_0x5e3b7b._0x1ed668)+_0x9e51c4(0x601)+_0x9e51c4(0xaad)+_0x9e51c4(0xa2e)+_0x9e51c4(_0x5e3b7b._0x520398),'zIqQN':_0x9e51c4(_0x5e3b7b._0x5861ba)+_0x9e51c4(0x99b)+'sion\x20'+_0x9e51c4(0x1d4)+_0x9e51c4(0x1da)+_0x9e51c4(0x671)+'ed','vvJIb':_0x9e51c4(0x4e6)+_0x9e51c4(0x34f)+_0x9e51c4(0x601)+_0x9e51c4(_0x5e3b7b._0x184167)+'e\x20cre'+_0x9e51c4(_0x5e3b7b._0x555f3a)+'/open'+_0x9e51c4(_0x5e3b7b._0xe6a36d),'mmtMp':'Error'+_0x9e51c4(0x42e)+'ing\x20D'+'AO\x20af'+'ter\x20f'+'ailed'+'\x20oper'+_0x9e51c4(_0x5e3b7b._0x29522a)};g[_0x9e51c4(0x5cb)](_0x9e51c4(_0x5e3b7b._0x117fbc)+'ing\x20o'+_0x9e51c4(_0x5e3b7b._0x5296e4)+_0x9e51c4(0xa09)+_0x9e51c4(0x9bb)+'ase\x20i'+_0x9e51c4(0xbc2)+'ally',{'isForceInit':_0x34276d,'isForceDelete':_0x4370fd,'hasConfig':!!_0x176a51[_0x9e51c4(0x3e7)+'g'],'hasConfigAsset':!!_0x176a51[_0x9e51c4(_0x5e3b7b._0x1a7716)+_0x9e51c4(0xa33)+'t']});let _0x39d19d;if(g['trace'](_0x9e51c4(0x608)+_0x9e51c4(_0x5e3b7b._0xcff2ad)+_0x9e51c4(0xaad)+'e\x20sch'+'ema'),_0x176a51['confi'+'g'])g['debug']('Using'+_0x9e51c4(_0x5e3b7b._0x4d860a)+_0x9e51c4(0xa00)+_0x9e51c4(_0x5e3b7b._0x1a7716)+_0x9e51c4(_0x5e3b7b._0x4c6900)+_0x9e51c4(0xa1f)),_0x39d19d=_0x176a51['confi'+'g'];else{if(_0x176a51['confi'+_0x9e51c4(_0x5e3b7b._0x3e14af)+'t'])g[_0x9e51c4(_0x5e3b7b._0x2c478e)](_0x9e51c4(_0x5e3b7b._0x5a9378)+_0x9e51c4(_0x5e3b7b._0x4d860a)+_0x9e51c4(_0x5e3b7b._0x3170ec)+'confi'+_0x9e51c4(_0x5e3b7b._0x4e9848)+'et'),_0x39d19d=_0x176a51[_0x9e51c4(_0x5e3b7b._0x4e844e)+_0x9e51c4(0xa33)+'t'];else throw g[_0x9e51c4(_0x5e3b7b._0x2346bf)](_0x383c52[_0x9e51c4(_0x5e3b7b._0x59bfc7)]),new Error(_0x383c52[_0x9e51c4(_0x5e3b7b._0x15c392)]);}g[_0x9e51c4(_0x5e3b7b._0x2f2582)](_0x9e51c4(_0x5e3b7b._0x772c9b)+_0x9e51c4(0x7f5)+_0x9e51c4(_0x5e3b7b._0x2d2d09)+_0x9e51c4(0x620)+_0x9e51c4(0x8eb)+_0x9e51c4(_0x5e3b7b._0x31edd0)+'n'),this[_0x9e51c4(0x1d4)+_0x9e51c4(_0x5e3b7b._0x3ea951)+_0x9e51c4(0x915)](_0x39d19d);const _0xdd1336=_0x39d19d['datab'+'ase_n'+_0x9e51c4(_0x5e3b7b._0x207c4c)][_0x9e51c4(_0x5e3b7b._0x241bda)+_0x9e51c4(_0x5e3b7b._0x166769)]('.db')?_0x39d19d[_0x9e51c4(_0x5e3b7b._0x5993ec)+_0x9e51c4(_0x5e3b7b._0x5b21a9)+'ame']:_0x39d19d[_0x9e51c4(_0x5e3b7b._0x5993ec)+_0x9e51c4(_0x5e3b7b._0xa44234)+_0x9e51c4(0x9f2)]+'.db';g[_0x9e51c4(_0x5e3b7b._0x2e0fd1)](_0x383c52['HrqFw'],{'originalName':_0x39d19d['datab'+'ase_n'+'ame'],'resolvedName':_0xdd1336}),g[_0x9e51c4(0x64d)](_0x383c52[_0x9e51c4(0x780)],{'dbFileName':_0xdd1336,'hasCustomAdapter':!!_0x176a51[_0x9e51c4(_0x5e3b7b._0x112841)+'er'],'createIfNotExists':_0x34276d,'forceRecreate':_0x4370fd});const _0x124a6c=await this['creat'+_0x9e51c4(0x92f)](_0xdd1336,{'adapter':_0x176a51[_0x9e51c4(_0x5e3b7b._0x112841)+'er'],'createIfNotExists':_0x34276d,'forceRecreate':_0x4370fd});try{g[_0x9e51c4(_0x5e3b7b._0x2e0fd1)](_0x383c52[_0x9e51c4(0x988)],{'dbFileName':_0xdd1336}),await _0x124a6c[_0x9e51c4(0x8f3)+'ct'](),g[_0x9e51c4(0x64d)](_0x383c52['UNHUt'],{'dbFileName':_0xdd1336}),await _0x124a6c[_0x9e51c4(_0x5e3b7b._0x41e5c8)+_0x9e51c4(_0x5e3b7b._0x3a11b0)+_0x9e51c4(0xcd2)+_0x9e51c4(0x5bd)](_0x39d19d),g[_0x9e51c4(_0x5e3b7b._0x2e0fd1)](_0x9e51c4(_0x5e3b7b._0x300755)+_0x9e51c4(_0x5e3b7b._0x574c76)+'\x20sche'+_0x9e51c4(0x8ea)+_0x9e51c4(0x264)+'\x20comp'+'atibi'+_0x9e51c4(0x419));try{await this[_0x9e51c4(0x1d4)+'ateSc'+_0x9e51c4(_0x5e3b7b._0x35de17)+_0x9e51c4(_0x5e3b7b._0x2df556)+'n'](_0x124a6c,_0x39d19d);}catch(_0x1399e8){throw g['error'](_0x383c52['zIqQN'],{'dbFileName':_0xdd1336,'error':_0x1399e8[_0x9e51c4(_0x5e3b7b._0x441ac1)+'ge']}),await _0x124a6c['close'](),new Error(_0x9e51c4(_0x5e3b7b._0x42d799)+_0x9e51c4(0x64b)+_0x9e51c4(0xc55)+_0x9e51c4(0x7c2)+_0x9e51c4(0xb6e)+'ng\x20da'+'tabas'+_0x9e51c4(_0x5e3b7b._0x279ad3)+_0x9e51c4(0x9eb)+_0x9e51c4(0x46a)+_0x9e51c4(0xc58)+_0x9e51c4(0x294)+_0x9e51c4(_0x5e3b7b._0x5344c2)+_0x9e51c4(0x8aa)+'te\x20wi'+'th\x20up'+_0x9e51c4(_0x5e3b7b._0x23f0ef)+_0x9e51c4(_0x5e3b7b._0x57749f)+_0x9e51c4(_0x5e3b7b._0x2e7452)+'rror:'+'\x20'+_0x1399e8[_0x9e51c4(0x6d8)+'ge']);}return g[_0x9e51c4(0x5cb)](_0x9e51c4(_0x5e3b7b._0x5be786)+_0x9e51c4(0x6ba)+'reate'+_0x9e51c4(_0x5e3b7b._0x448ba1)+_0x9e51c4(_0x5e3b7b._0x18af29)+_0x9e51c4(_0x5e3b7b._0x52e57c)+_0x9e51c4(_0x5e3b7b._0x25bca4)+'y',{'dbFileName':_0xdd1336,'databaseName':_0x39d19d[_0x9e51c4(_0x5e3b7b._0x418f94)+_0x9e51c4(0x453)+'ame'],'version':_0x39d19d[_0x9e51c4(_0x5e3b7b._0x29eb1b)+'on']}),_0x124a6c;}catch(_0x3da058){if(g[_0x9e51c4(_0x5e3b7b._0x2346bf)](_0x383c52[_0x9e51c4(_0x5e3b7b._0x45d32d)],{'dbFileName':_0xdd1336,'error':_0x3da058['messa'+'ge']}),_0x124a6c[_0x9e51c4(0xadd)+_0x9e51c4(0x28e)+_0x9e51c4(_0x5e3b7b._0x165cd7)+'n']())try{await _0x124a6c[_0x9e51c4(_0x5e3b7b._0x3ac0d2)]();}catch(_0x12072e){g['warn'](_0x383c52[_0x9e51c4(0x4f8)],{'dbFileName':_0xdd1336,'closeError':_0x12072e[_0x9e51c4(0x6d8)+'ge']});}throw _0x3da058;}}static async[_0x441e35(0xbf5)+'e'](_0x519f87){const _0x15ced3={_0x206db2:0xa64,_0x49c3d4:0xb03,_0x414712:0x7ec,_0x2c8d27:0x7f1,_0x28844d:0x281,_0x342cea:0xc0e,_0x2e36ae:0x3e7,_0xe9ab15:0x453},_0x36b53a=_0x441e35,_0x560a1d={'NKuFQ':_0x36b53a(0x93a)+_0x36b53a(_0x15ced3._0x206db2)+_0x36b53a(0x96a)+'se\x20wi'+_0x36b53a(_0x15ced3._0x49c3d4)+_0x36b53a(_0x15ced3._0x414712)+_0x36b53a(0x8aa)+'te\x20-\x20'+'this\x20'+_0x36b53a(0x44c)+_0x36b53a(_0x15ced3._0x2c8d27)+'e\x20exi'+_0x36b53a(0xa4d)+_0x36b53a(_0x15ced3._0x28844d)+'base','WrcXf':function(_0x70369,_0x2c76df){return _0x70369===_0x2c76df;}};var _0x5b3d78,_0x4b2135;return g['warn'](_0x560a1d[_0x36b53a(_0x15ced3._0x342cea)],{'databaseName':((_0x5b3d78=_0x519f87[_0x36b53a(_0x15ced3._0x2e36ae)+'g'])===null||_0x560a1d[_0x36b53a(0xbfc)](_0x5b3d78,void(0x1aa0+0x1b08+-0xd6a*0x4))?void(-0x4f0+0x26fb+-0x220b):_0x5b3d78[_0x36b53a(0x9bb)+_0x36b53a(_0x15ced3._0xe9ab15)+_0x36b53a(0x9f2)])||((_0x4b2135=_0x519f87[_0x36b53a(_0x15ced3._0x2e36ae)+'gAsse'+'t'])===null||_0x4b2135===void(-0x167c+-0x1b18+-0x13*-0x29c)?void(0x66a*-0x1+-0x1719+0x1d83):_0x4b2135['datab'+_0x36b53a(_0x15ced3._0xe9ab15)+_0x36b53a(0x9f2)])}),this[_0x36b53a(0xbf5)+_0x36b53a(0xca6)+'enInt'+_0x36b53a(0x324)](_0x519f87,!(0x6db*-0x1+-0x1a5+0x880),!(0x6f6+-0x1511+0xe1b));}static async['creat'+_0x441e35(0xca6)+'en'](_0x199835,_0x5037dd=!(-0x1014+-0x73*0x18+-0x1add*-0x1)){const _0x195630={_0x5994b5:0x559,_0x43cdea:0xb2d,_0x47afc1:0x9bb,_0x214795:0x9f2,_0x4e26e0:0xca6,_0x462ceb:0xcaa,_0xc3497f:0x324},_0x189516=_0x441e35,_0x167442={'Dezur':function(_0x452489,_0x37623e){return _0x452489===_0x37623e;}};var _0x10c98d,_0x12ee4a;return g[_0x189516(0x5cb)](_0x189516(_0x195630._0x5994b5)+_0x189516(0x2fa)+_0x189516(_0x195630._0x43cdea)+_0x189516(0x2d2)+'\x20data'+'base',{'databaseName':((_0x10c98d=_0x199835[_0x189516(0x3e7)+'g'])===null||_0x167442[_0x189516(0x749)](_0x10c98d,void(-0x1c33+-0x236b+0x3f9e))?void(-0x1*0x16c5+-0x1*0x1231+0x28f6):_0x10c98d[_0x189516(_0x195630._0x47afc1)+'ase_n'+_0x189516(_0x195630._0x214795)])||((_0x12ee4a=_0x199835[_0x189516(0x3e7)+_0x189516(0xa33)+'t'])===null||_0x12ee4a===void(-0x1c96+-0x1*0x2419+0x40af*0x1)?void(-0x17*0xe3+-0x42d+0x1892):_0x12ee4a[_0x189516(0x9bb)+'ase_n'+'ame']),'isForceInit':_0x5037dd}),this[_0x189516(0xbf5)+_0x189516(_0x195630._0x4e26e0)+_0x189516(_0x195630._0x462ceb)+_0x189516(_0x195630._0xc3497f)](_0x199835,_0x5037dd);}static async[_0x441e35(0xbf5)+_0x441e35(0xa7a)+'Asset'](_0x5363a0,_0x136a2c={}){const _0x5b9476={_0x391ce0:0x2fa,_0x19ba3e:0x2a7,_0x3eee2d:0x47b,_0x2f91b8:0xa64,_0x39cf37:0x96a,_0x5937c0:0xcd1,_0x517593:0x9bb,_0x5e874f:0x25b,_0x5d2de3:0xbf5,_0x442bb5:0x7c1,_0x5285c8:0x9bb,_0xc3acb:0x9f2,_0x32f327:0x6d8,_0x322302:0x4e6,_0x12c1f4:0x4be},_0xe39d41=_0x441e35,_0x31c4d5={'GIgzu':_0xe39d41(0x4e6)+_0xe39d41(_0x5b9476._0x391ce0)+_0xe39d41(0xce9)+'datab'+_0xe39d41(_0x5b9476._0x19ba3e)+_0xe39d41(0x528)+_0xe39d41(_0x5b9476._0x3eee2d)};g['info'](_0xe39d41(0x93a)+_0xe39d41(_0x5b9476._0x2f91b8)+_0xe39d41(_0x5b9476._0x39cf37)+_0xe39d41(0x1fb)+'om\x20as'+_0xe39d41(_0x5b9476._0x5937c0),{'databaseName':_0x5363a0[_0xe39d41(_0x5b9476._0x517593)+_0xe39d41(0x453)+_0xe39d41(0x9f2)],'version':_0x5363a0[_0xe39d41(_0x5b9476._0x5e874f)+'on']});try{return await this[_0xe39d41(_0x5b9476._0x5d2de3)+'e'](Object[_0xe39d41(0x5ca)+'n'](Object['assig'+'n']({},_0x136a2c),{'configAsset':_0x5363a0}));}catch(_0x1b5052){throw g['error'](_0x31c4d5[_0xe39d41(_0x5b9476._0x442bb5)],{'databaseName':_0x5363a0[_0xe39d41(_0x5b9476._0x5285c8)+'ase_n'+_0xe39d41(_0x5b9476._0xc3acb)],'error':_0x1b5052[_0xe39d41(_0x5b9476._0x32f327)+'ge']}),new Error(_0xe39d41(_0x5b9476._0x322302)+_0xe39d41(_0x5b9476._0x391ce0)+_0xe39d41(0xce9)+_0xe39d41(0x9bb)+_0xe39d41(0x2a7)+_0xe39d41(0x528)+_0xe39d41(_0x5b9476._0x12c1f4)+'\x20'+_0x1b5052[_0xe39d41(_0x5b9476._0x32f327)+'ge']);}}static async[_0x441e35(0xbf5)+'eFrom'+_0x441e35(0x656)+'g'](_0x296c1a,_0x469f13={}){const _0x1ba08e={_0x2899d6:0xa85,_0x2622b4:0x969,_0x292a13:0x686,_0x206563:0xcce,_0x317749:0x360,_0x4fe039:0x797,_0x127612:0x92c,_0x77140a:0x2fa,_0xd2da68:0xce9,_0x47d491:0x9bb,_0x578496:0x2a7,_0x4a945b:0x5cb,_0x4ecf1c:0x9f2,_0x517694:0xbf5,_0x1a31d6:0x4a0,_0x3d8f1d:0xa8e,_0x17c646:0x453,_0x2fa0cf:0xce9,_0x36b7fa:0x64d,_0x30c531:0x5af,_0x592fa5:0x5bb,_0x1f4ea7:0x2cf,_0x32b5f3:0x5af,_0x365fb4:0x5bb,_0x261048:0xc0c,_0x1bea64:0x2d7,_0x1aae5b:0x476,_0x26669f:0xa51,_0x404ae9:0x40a,_0xd5d11b:0x54d,_0x247476:0x4b2},_0x327398=_0x441e35,_0x13461b={'ZZGpX':'Regis'+'terin'+_0x327398(_0x1ba08e._0x2899d6)+_0x327398(_0x1ba08e._0x2622b4)+_0x327398(_0x1ba08e._0x292a13)+'nnect'+'\x20list'+_0x327398(_0x1ba08e._0x206563),'khCDf':_0x327398(0x93a)+_0x327398(0xa64)+_0x327398(0x96a)+_0x327398(0x1fb)+_0x327398(_0x1ba08e._0x317749)+_0x327398(_0x1ba08e._0x4fe039),'tPGjc':_0x327398(_0x1ba08e._0x127612),'ktheI':_0x327398(0x4e6)+_0x327398(_0x1ba08e._0x77140a)+_0x327398(_0x1ba08e._0xd2da68)+_0x327398(_0x1ba08e._0x47d491)+_0x327398(_0x1ba08e._0x578496)+'rom\x20c'+_0x327398(0x57f)};g[_0x327398(_0x1ba08e._0x4a945b)](_0x13461b[_0x327398(0xafd)],{'databaseName':_0x296c1a[_0x327398(_0x1ba08e._0x47d491)+_0x327398(0x453)+_0x327398(_0x1ba08e._0x4ecf1c)],'version':_0x296c1a['versi'+'on']});try{return await this[_0x327398(_0x1ba08e._0x517694)+'e'](Object['assig'+'n'](Object[_0x327398(0x5ca)+'n']({},_0x469f13),{'config':_0x296c1a}));}catch(_0x408945){if('pCvPR'===_0x13461b[_0x327398(_0x1ba08e._0x1a31d6)])throw g['error'](_0x13461b[_0x327398(_0x1ba08e._0x3d8f1d)],{'databaseName':_0x296c1a[_0x327398(_0x1ba08e._0x47d491)+_0x327398(_0x1ba08e._0x17c646)+_0x327398(_0x1ba08e._0x4ecf1c)],'error':_0x408945[_0x327398(0x6d8)+'ge']}),new Error('Error'+'\x20crea'+_0x327398(_0x1ba08e._0x2fa0cf)+'datab'+'ase\x20f'+_0x327398(0x6ea)+_0x327398(0x57f)+':\x20'+_0x408945[_0x327398(0x6d8)+'ge']);else _0x427dcf[_0x327398(_0x1ba08e._0x36b7fa)](_0x13461b['ZZGpX'],{'schemaName':_0x32a149}),this[_0x327398(0x2cf)+_0x327398(_0x1ba08e._0x30c531)+_0x327398(_0x1ba08e._0x592fa5)]['has'](_0x3ea5b4)||this[_0x327398(_0x1ba08e._0x1f4ea7)+_0x327398(_0x1ba08e._0x30c531)+_0x327398(_0x1ba08e._0x592fa5)]['set'](_0x54a12d,[]),this[_0x327398(_0x1ba08e._0x1f4ea7)+_0x327398(_0x1ba08e._0x32b5f3)+_0x327398(_0x1ba08e._0x365fb4)][_0x327398(_0x1ba08e._0x261048)](_0x5a0f8d)[_0x327398(0x7d7)](_0x3f8cc8),_0x20f53b[_0x327398(_0x1ba08e._0x1bea64)](_0x327398(0x34c)+_0x327398(_0x1ba08e._0x1aae5b)+_0x327398(_0x1ba08e._0x26669f)+'ect\x20l'+_0x327398(0xb99)+_0x327398(_0x1ba08e._0x404ae9)+'giste'+_0x327398(_0x1ba08e._0xd5d11b),{'schemaName':_0x1b3d4b,'listenerCount':this[_0x327398(0x2cf)+_0x327398(0x5af)+_0x327398(0x5bb)][_0x327398(0xc0c)](_0x30f283)[_0x327398(_0x1ba08e._0x247476)+'h']});}}}T[_0x441e35(0x7c7)+_0x441e35(0x679)]=[];const o=D(A['DATAB'+_0x441e35(0x948)+_0x441e35(0xa3b)+'R']);class v{static[_0x441e35(0x228)+'xConn'+'ectio'+'ns'](){const _0x19cc9d={_0x5d8bfc:0x2d7,_0x3e27a5:0x2dd,_0x1d74ec:0xb09,_0x4a3419:0x85d},_0x45aed5=_0x441e35;return o[_0x45aed5(_0x19cc9d._0x5d8bfc)](_0x45aed5(0x77e)+_0x45aed5(_0x19cc9d._0x3e27a5)+_0x45aed5(_0x19cc9d._0x1d74ec)+'necti'+_0x45aed5(0xb90),{'maxConnections':this[_0x45aed5(0xb98)+_0x45aed5(_0x19cc9d._0x4a3419)+'ions']}),this['maxCo'+'nnect'+_0x45aed5(0x906)];}static['setMa'+'xConn'+'ectio'+'ns'](_0x4537d6){const _0x18cd0e={_0x541ac1:0x2dd,_0x38b501:0xb09,_0x5e8a0d:0x1fc,_0x2291de:0x85d,_0x6fc4c5:0x5ed,_0x30bd4e:0x99d,_0x47f5ea:0x99f,_0x44579f:0x65a,_0x371d22:0xb90,_0x19e45d:0x232,_0x4605e6:0x906,_0x32f111:0x850,_0x2020db:0x859,_0x280123:0xc9d,_0x40aa0a:0x8f3,_0x184597:0x2c6,_0x4cba42:0x31b,_0x2f4a77:0xca3,_0x35975e:0x6a7,_0xbbf241:0xaa8,_0x39b52e:0x28e,_0x3ebc78:0x8cb,_0xa10e16:0x6e0,_0x1eac06:0x42e,_0x2e03a8:0x88c,_0x88b197:0x5cb,_0x44cd69:0x540,_0x264e41:0xa28,_0xaf0518:0xc1e,_0x1e626d:0xbe3},_0x36e4f2=_0x441e35,_0x3c25ee={'mqzWq':_0x36e4f2(0xa63)+_0x36e4f2(_0x18cd0e._0x541ac1)+_0x36e4f2(_0x18cd0e._0x38b501)+'necti'+_0x36e4f2(0xb90),'ZlLhy':_0x36e4f2(_0x18cd0e._0x5e8a0d)+_0x36e4f2(0x420)+_0x36e4f2(_0x18cd0e._0x2291de)+_0x36e4f2(0x589)+'must\x20'+_0x36e4f2(_0x18cd0e._0x6fc4c5)+_0x36e4f2(0x786)+'ive\x20n'+'umber','XoVeI':function(_0x1c0de8,_0x4a7b94){return _0x1c0de8>_0x4a7b94;},'DNWxh':_0x36e4f2(0x4bf)+_0x36e4f2(0x249)+_0x36e4f2(_0x18cd0e._0x30bd4e)+_0x36e4f2(0x8f3)+_0x36e4f2(0x2c6)+_0x36e4f2(0xcca)+_0x36e4f2(_0x18cd0e._0x47f5ea)+'excee'+_0x36e4f2(_0x18cd0e._0x44579f)+_0x36e4f2(0xaa8)+'activ'+_0x36e4f2(0xc68)+_0x36e4f2(0x28e)+_0x36e4f2(_0x18cd0e._0x371d22)};if(o['debug'](_0x3c25ee[_0x36e4f2(_0x18cd0e._0x19e45d)],{'newMaxConnections':_0x4537d6,'currentMax':this[_0x36e4f2(0xb98)+'nnect'+_0x36e4f2(_0x18cd0e._0x4605e6)]}),_0x4537d6<=0x34*-0xa2+-0x1*-0x20b9+-0x2f*-0x1)throw o[_0x36e4f2(_0x18cd0e._0x32f111)]('Inval'+'id\x20ma'+_0x36e4f2(_0x18cd0e._0x38b501)+_0x36e4f2(0x28e)+_0x36e4f2(0x501)+_0x36e4f2(_0x18cd0e._0x2020db),{'maxConnections':_0x4537d6}),new Error(_0x3c25ee[_0x36e4f2(_0x18cd0e._0x280123)]);const _0x3a83b8=Object['keys'](this[_0x36e4f2(0x8f3)+'ction'+'s'])['lengt'+'h'];if(_0x3c25ee['XoVeI'](_0x3a83b8,_0x4537d6))throw o['error'](_0x3c25ee[_0x36e4f2(0x233)],{'requestedMax':_0x4537d6,'currentActiveConnections':_0x3a83b8,'activeConnectionKeys':Object[_0x36e4f2(0x54f)](this[_0x36e4f2(_0x18cd0e._0x40aa0a)+_0x36e4f2(_0x18cd0e._0x184597)+'s'])}),new Error(_0x36e4f2(0x4bf)+_0x36e4f2(0x249)+_0x36e4f2(_0x18cd0e._0x4cba42)+_0x36e4f2(_0x18cd0e._0x2f4a77)+_0x36e4f2(_0x18cd0e._0x35975e)+_0x36e4f2(0xa28)+'\x20to\x20'+_0x4537d6+(_0x36e4f2(0x9c9)+_0x36e4f2(_0x18cd0e._0xbbf241)+_0x36e4f2(0x767)+'e\x20con'+_0x36e4f2(_0x18cd0e._0x39b52e)+'ons\x20(')+_0x3a83b8+(')\x20exc'+'eed\x20t'+_0x36e4f2(_0x18cd0e._0x3ebc78)+'w\x20lim'+_0x36e4f2(0xadc)+_0x36e4f2(_0x18cd0e._0xa10e16)+_0x36e4f2(_0x18cd0e._0x1eac06)+_0x36e4f2(0x3cc)+'e\x20con'+'necti'+_0x36e4f2(0x5a0)+_0x36e4f2(_0x18cd0e._0x2e03a8)));this['maxCo'+'nnect'+'ions']=_0x4537d6,o[_0x36e4f2(_0x18cd0e._0x88b197)](_0x36e4f2(_0x18cd0e._0x44cd69)+_0x36e4f2(0x6a7)+_0x36e4f2(_0x18cd0e._0x264e41)+_0x36e4f2(_0x18cd0e._0xaf0518)+_0x36e4f2(_0x18cd0e._0x1e626d)+'ucces'+_0x36e4f2(0xcc9)+'y',{'newMaxConnections':_0x4537d6,'currentActiveConnections':_0x3a83b8});}static[_0x441e35(0xcf8)+_0x441e35(0x6c2)+_0x441e35(0xba0)+'r'](_0x516d1c){const _0x27c67d={_0xe4b15d:0x6f2,_0x1f8934:0x372,_0x43f6f4:0xc63,_0x5e07b9:0x604,_0xd2304f:0x495,_0x2396e9:0x604},_0x148611=_0x441e35,_0x48d04f={'WwjNY':function(_0x3571f2,_0x430c03){return _0x3571f2!==_0x430c03;},'SrAaO':_0x148611(0x5c1)+_0x148611(0xa78)+_0x148611(0x7de)+_0x148611(0xc46)+'ucces'+'sfull'+'y'};o['debug'](_0x148611(0xa63)+_0x148611(_0x27c67d._0xe4b15d)+_0x148611(0x9aa)+_0x148611(_0x27c67d._0x1f8934)+'er',{'hadPreviousManager':_0x48d04f[_0x148611(_0x27c67d._0x43f6f4)](this[_0x148611(0x495)+_0x148611(_0x27c67d._0x5e07b9)+'ger'],null)}),this[_0x148611(_0x27c67d._0xd2304f)+_0x148611(_0x27c67d._0x2396e9)+_0x148611(0x4ba)]=_0x516d1c,o['info'](_0x48d04f[_0x148611(0x70a)]);}static[_0x441e35(0x9ce)+_0x441e35(0x38e)+_0x441e35(0x915)](_0x329e85,_0x5003e2){const _0x516ec7={_0x25a584:0x4c7,_0x5e34ec:0x64d,_0x2352ba:0x9bb,_0xb52581:0x495,_0x5305e6:0xa28,_0x3733a7:0x5cb},_0x318a6f=_0x441e35,_0x9d7959={'jYRNJ':'Schem'+_0x318a6f(_0x516ec7._0x25a584)+_0x318a6f(0x4ad)+_0x318a6f(0x895)+'ccess'+'fully'};o[_0x318a6f(_0x516ec7._0x5e34ec)](_0x318a6f(0x4a4)+_0x318a6f(0x537)+_0x318a6f(0x481)+_0x318a6f(0xc42),{'key':_0x329e85,'schemaName':_0x5003e2[_0x318a6f(_0x516ec7._0x2352ba)+_0x318a6f(0x453)+'ame']}),this[_0x318a6f(_0x516ec7._0xb52581)+_0x318a6f(0x67b)+'igura'+_0x318a6f(_0x516ec7._0x5305e6)][_0x329e85]=_0x5003e2,o[_0x318a6f(_0x516ec7._0x3733a7)](_0x9d7959['jYRNJ'],{'key':_0x329e85,'schemaName':_0x5003e2[_0x318a6f(0x9bb)+_0x318a6f(0x453)+'ame']});}static['regis'+'terSc'+_0x441e35(0x1ee)](_0x495dbb){const _0x3d6d4b={_0x405e4d:0x573,_0x5d9301:0x469,_0x490e62:0x304,_0x5b94fe:0xa05,_0x327184:0x4ad,_0x1daa1c:0x583,_0x23f5db:0x83e,_0x18b25f:0x4b2},_0x58bf17=_0x441e35,_0x51f179={'UjGEx':_0x58bf17(0x4a4)+_0x58bf17(0x537)+_0x58bf17(_0x3d6d4b._0x405e4d)+'tiple'+_0x58bf17(0xc4a)+_0x58bf17(0xc95)},_0x2f3ea5=Object[_0x58bf17(0x54f)](_0x495dbb);o[_0x58bf17(0x64d)](_0x51f179[_0x58bf17(0x7ab)],{'count':_0x2f3ea5[_0x58bf17(0x4b2)+'h'],'keys':_0x2f3ea5}),Object[_0x58bf17(_0x3d6d4b._0x5d9301)+'es'](_0x495dbb)[_0x58bf17(_0x3d6d4b._0x490e62)+'ch'](([_0x302dcc,_0x2dc1cd])=>{const _0x42463f=_0x58bf17;this[_0x42463f(0x9ce)+'terSc'+_0x42463f(0x915)](_0x302dcc,_0x2dc1cd);}),o['info'](_0x58bf17(0x53a)+_0x58bf17(_0x3d6d4b._0x5b94fe)+_0x58bf17(0x5bd)+'s\x20reg'+_0x58bf17(_0x3d6d4b._0x327184)+_0x58bf17(0x895)+_0x58bf17(_0x3d6d4b._0x1daa1c)+_0x58bf17(_0x3d6d4b._0x23f5db),{'count':_0x2f3ea5[_0x58bf17(_0x3d6d4b._0x18b25f)+'h']});}static[_0x441e35(0x8b6)+_0x441e35(0x915)](_0x2125d4){const _0xbc54ee={_0x21279d:0x2d7,_0x4eabbf:0x227,_0x1fc720:0x363,_0xc6e85d:0xc2a,_0x11c9ca:0xa28,_0x512562:0x604,_0x4144d1:0x2d7,_0x454265:0x203,_0x2f961c:0x87a,_0x81309:0xbcb,_0x330116:0x604,_0x536ae3:0x8b6,_0x187097:0x227,_0x35ab82:0x856,_0x43f7bd:0x463,_0xa138f:0x372,_0x1490ed:0x5c1,_0x341adf:0x93e},_0x32cb0d=_0x441e35,_0x30172b={'ZaraB':'Getti'+'ng\x20sc'+'hema'};if(o[_0x32cb0d(_0xbc54ee._0x21279d)](_0x30172b[_0x32cb0d(0xc90)],{'key':_0x2125d4}),this[_0x32cb0d(0x495)+_0x32cb0d(0x67b)+_0x32cb0d(0xc2a)+'tions'][_0x2125d4])return o[_0x32cb0d(0x2d7)]('Schem'+_0x32cb0d(_0xbc54ee._0x4eabbf)+_0x32cb0d(0x856)+'\x20inte'+_0x32cb0d(0x463)+_0x32cb0d(0x3e7)+_0x32cb0d(_0xbc54ee._0x1fc720)+'ions',{'key':_0x2125d4}),this[_0x32cb0d(0x495)+_0x32cb0d(0x67b)+_0x32cb0d(_0xbc54ee._0xc6e85d)+_0x32cb0d(_0xbc54ee._0x11c9ca)][_0x2125d4];if(this[_0x32cb0d(0x495)+_0x32cb0d(_0xbc54ee._0x512562)+'ger']){o[_0x32cb0d(_0xbc54ee._0x4144d1)]('Check'+_0x32cb0d(_0xbc54ee._0x454265)+_0x32cb0d(_0xbc54ee._0x2f961c)+_0x32cb0d(_0xbc54ee._0x81309)+_0x32cb0d(0x9aa)+_0x32cb0d(0x372)+'er',{'key':_0x2125d4});const _0x367bfb=this['schem'+_0x32cb0d(_0xbc54ee._0x330116)+_0x32cb0d(0x4ba)][_0x32cb0d(_0xbc54ee._0x536ae3)+'hema'](_0x2125d4);if(_0x367bfb)return o[_0x32cb0d(0x2d7)](_0x32cb0d(0x5c1)+_0x32cb0d(_0xbc54ee._0x187097)+_0x32cb0d(_0xbc54ee._0x35ab82)+_0x32cb0d(0x8f6)+_0x32cb0d(_0xbc54ee._0x43f7bd)+_0x32cb0d(_0xbc54ee._0xa138f)+'er',{'key':_0x2125d4}),_0x367bfb;}o[_0x32cb0d(0xc45)](_0x32cb0d(_0xbc54ee._0x1490ed)+_0x32cb0d(0x768)+_0x32cb0d(_0xbc54ee._0x341adf)+'d',{'key':_0x2125d4});}static[_0x441e35(0x380)+_0x441e35(0x899)+_0x441e35(0x9fa)+_0x441e35(0x852)](){const _0x4aa369={_0x512111:0x5b3,_0x45b2b6:0x899,_0x416198:0xb9c,_0x1c24eb:0x1ee,_0x91665a:0x54f,_0x245465:0x495,_0x389b4e:0xc2a,_0x3a8cc5:0xa28,_0x9148df:0xc04,_0x59bbd9:0x604,_0x640e39:0x5ff,_0x27e1dc:0x7ee,_0x5893cd:0x4b2,_0x597c29:0x4b2},_0x2cb4af=_0x441e35,_0x388878={'NOQNu':function(_0x2d930e,_0x5a1ecc){return _0x2d930e===_0x5a1ecc;},'xXUYq':function(_0x1cefc8,_0x46314d){return _0x1cefc8===_0x46314d;},'lEMal':'Getti'+_0x2cb4af(_0x4aa369._0x512111)+_0x2cb4af(_0x4aa369._0x45b2b6)+_0x2cb4af(_0x4aa369._0x416198)+_0x2cb4af(_0x4aa369._0x1c24eb)};var _0x375200;const _0x41336d=Object[_0x2cb4af(_0x4aa369._0x91665a)](this[_0x2cb4af(_0x4aa369._0x245465)+'aConf'+_0x2cb4af(_0x4aa369._0x389b4e)+_0x2cb4af(_0x4aa369._0x3a8cc5)]),_0x22d49c=(_0x388878[_0x2cb4af(_0x4aa369._0x9148df)](_0x375200=this[_0x2cb4af(0x495)+_0x2cb4af(_0x4aa369._0x59bbd9)+_0x2cb4af(0x4ba)],null)||_0x388878[_0x2cb4af(0x864)](_0x375200,void(-0xf6+-0x7e1*-0x3+-0x16ad))?void(-0x386*0x3+-0x4e3+0xf75):_0x375200[_0x2cb4af(0xcbd)+_0x2cb4af(_0x4aa369._0x640e39)+'maKey'+'s']())||[],_0x325725=[...new Set([..._0x41336d,..._0x22d49c])];return o[_0x2cb4af(0x2d7)](_0x388878[_0x2cb4af(_0x4aa369._0x27e1dc)],{'internalCount':_0x41336d[_0x2cb4af(_0x4aa369._0x5893cd)+'h'],'externalCount':_0x22d49c[_0x2cb4af(_0x4aa369._0x597c29)+'h'],'totalUnique':_0x325725[_0x2cb4af(0x4b2)+'h']}),_0x325725;}static[_0x441e35(0x9ce)+'terRo'+'le'](_0x997a02){const _0x38c8c4={_0x63ed98:0x4a4,_0x1d2461:0xa2f,_0x388b20:0xa61,_0x1ab0b6:0x955,_0x288c40:0x788,_0x551642:0x9f2,_0x502310:0x6a6,_0x24ffc4:0x9ce,_0x42c5bc:0xb73},_0x1c1d64=_0x441e35,_0x959b0a={'SABjV':_0x1c1d64(_0x38c8c4._0x63ed98)+'terin'+_0x1c1d64(0x263)+'e'};o[_0x1c1d64(0x64d)](_0x959b0a[_0x1c1d64(_0x38c8c4._0x1d2461)],{'roleName':_0x997a02['roleN'+_0x1c1d64(0x9f2)],'requiredDatabases':_0x997a02[_0x1c1d64(_0x38c8c4._0x388b20)+'redDa'+'tabas'+'es'],'optionalDatabases':_0x997a02[_0x1c1d64(_0x38c8c4._0x1ab0b6)+'nalDa'+_0x1c1d64(0xaad)+'es'],'priority':_0x997a02['prior'+'ity']}),this[_0x1c1d64(_0x38c8c4._0x288c40)+'egist'+'ry'][_0x997a02['roleN'+_0x1c1d64(_0x38c8c4._0x551642)]]=_0x997a02,o[_0x1c1d64(0x5cb)](_0x1c1d64(_0x38c8c4._0x502310)+_0x1c1d64(_0x38c8c4._0x24ffc4)+'tered'+_0x1c1d64(0xb0c)+_0x1c1d64(_0x38c8c4._0x42c5bc)+_0x1c1d64(0x862),{'roleName':_0x997a02[_0x1c1d64(0x341)+_0x1c1d64(_0x38c8c4._0x551642)]});}static['regis'+_0x441e35(0x206)+_0x441e35(0x4e4)](_0x3ac350){const _0x1452b1={_0xd9b00d:0x9ce,_0x499682:0xb0c,_0x3c8751:0x27e,_0x1315ca:0x4b2},_0x1c8746=_0x441e35,_0x5dbb4f={'WYAHy':_0x1c8746(0x53a)+'ple\x20r'+_0x1c8746(0x764)+_0x1c8746(_0x1452b1._0xd9b00d)+_0x1c8746(0x6b7)+_0x1c8746(_0x1452b1._0x499682)+_0x1c8746(0xb73)+'lly'};o[_0x1c8746(0x64d)]('Regis'+_0x1c8746(0x537)+'g\x20mul'+'tiple'+_0x1c8746(_0x1452b1._0x3c8751)+'s',{'count':_0x3ac350[_0x1c8746(_0x1452b1._0x1315ca)+'h']}),_0x3ac350['forEa'+'ch'](_0x5a5712=>this['regis'+_0x1c8746(0x206)+'le'](_0x5a5712)),o['info'](_0x5dbb4f[_0x1c8746(0x542)],{'count':_0x3ac350[_0x1c8746(0x4b2)+'h']});}static[_0x441e35(0x3e9)+_0x441e35(0xc27)+_0x441e35(0x811)+_0x441e35(0x4e4)](){const _0x4df895={_0x39445c:0x54f,_0x346526:0x4b2},_0x2e55c9=_0x441e35;return o[_0x2e55c9(0x2d7)](_0x2e55c9(0x77e)+'ng\x20re'+_0x2e55c9(0xc27)+'red\x20r'+'oles',{'count':Object[_0x2e55c9(_0x4df895._0x39445c)](this[_0x2e55c9(0x788)+_0x2e55c9(0x592)+'ry'])[_0x2e55c9(_0x4df895._0x346526)+'h']}),Object[_0x2e55c9(0x5ca)+'n']({},this['roleR'+'egist'+'ry']);}static['getRo'+_0x441e35(0x80b)+_0x441e35(0x969)+'s'](_0x1a3c17){const _0x2c1b01={_0x15e28d:0x6a6,_0x3d0e73:0xa1c,_0x259333:0x6b3,_0x344834:0x2d7,_0x8e9036:0x77e,_0xb53bb8:0x1fe,_0x985f4e:0x788,_0x3ba059:0x850,_0x295653:0x274,_0x596d82:0x50f,_0x3e05db:0xaad},_0x5a7517=_0x441e35,_0x3306ed={'DKvAr':_0x5a7517(_0x2c1b01._0x15e28d)+_0x5a7517(_0x2c1b01._0x3d0e73)+'ound\x20'+_0x5a7517(0x88b)+_0x5a7517(_0x2c1b01._0x259333)+'y','TmeLx':_0x5a7517(0x6a6)+'datab'+_0x5a7517(0xc3d)+'retri'+'eved'};o[_0x5a7517(_0x2c1b01._0x344834)](_0x5a7517(_0x2c1b01._0x8e9036)+_0x5a7517(0x64e)+_0x5a7517(_0x2c1b01._0xb53bb8)+_0x5a7517(0xaad)+'es',{'roleName':_0x1a3c17});const _0x236e3a=this[_0x5a7517(_0x2c1b01._0x985f4e)+_0x5a7517(0x592)+'ry'][_0x1a3c17];if(!_0x236e3a)throw o[_0x5a7517(_0x2c1b01._0x3ba059)](_0x3306ed[_0x5a7517(_0x2c1b01._0x295653)],{'roleName':_0x1a3c17,'availableRoles':Object[_0x5a7517(0x54f)](this[_0x5a7517(0x788)+_0x5a7517(0x592)+'ry'])}),new Error(_0x5a7517(0x6a6)+'\x27'+_0x1a3c17+(_0x5a7517(0xb04)+_0x5a7517(_0x2c1b01._0x596d82)+_0x5a7517(0x592)+'ered.'));const _0x328a56=[..._0x236e3a['requi'+_0x5a7517(0xbfe)+_0x5a7517(_0x2c1b01._0x3e05db)+'es'],..._0x236e3a['optio'+'nalDa'+'tabas'+'es']||[]];return o[_0x5a7517(0x2d7)](_0x3306ed['TmeLx'],{'roleName':_0x1a3c17,'databases':_0x328a56}),_0x328a56;}static[_0x441e35(0x51c)+_0x441e35(0xa08)+_0x441e35(0x239)+_0x441e35(0x96a)+_0x441e35(0x9ae)](){const _0x1120a3={_0x19f5c9:0x488,_0x153277:0x3e7,_0x23247e:0x581,_0x3d98ee:0x339,_0x5edd21:0x91c,_0x18efc2:0x683,_0x322ae2:0x268,_0x1cefb0:0x5ac,_0x5357d8:0xc52,_0x53f7a7:0xa61,_0x3034a5:0xaad,_0x3c303a:0x4cb,_0x3f58de:0x304,_0xbf3ba5:0x64d,_0x5d2032:0x43b,_0x462e74:0xbf3,_0x1d0d30:0x8fb,_0x59e87e:0xc52},_0xfeea3e=_0x441e35,_0x3ef730={'BdJJX':'Getti'+_0xfeea3e(_0x1120a3._0x19f5c9)+_0xfeea3e(0xa08)+_0xfeea3e(0x8f8)+_0xfeea3e(0x281)+_0xfeea3e(0x292),'zfBTK':_0xfeea3e(0x6a6)+_0xfeea3e(_0x1120a3._0x153277)+_0xfeea3e(0x5c0)+_0xfeea3e(0x93e)+_0xfeea3e(_0x1120a3._0x23247e)+_0xfeea3e(0xc22)+'ent\x20u'+_0xfeea3e(0x49c)+'ole'};o[_0xfeea3e(0x2d7)](_0x3ef730[_0xfeea3e(_0x1120a3._0x3d98ee)],{'currentUserRoles':this[_0xfeea3e(0xc52)+_0xfeea3e(_0x1120a3._0x5edd21)+_0xfeea3e(_0x1120a3._0x18efc2)+'s']});const _0x4a2a68=new Set();_0x4a2a68[_0xfeea3e(_0x1120a3._0x322ae2)](_0xfeea3e(_0x1120a3._0x1cefb0));for(const _0x25f556 of this[_0xfeea3e(_0x1120a3._0x5357d8)+'ntUse'+'rRole'+'s']){const _0x1ce2f9=this[_0xfeea3e(0x788)+_0xfeea3e(0x592)+'ry'][_0x25f556];_0x1ce2f9?(_0x1ce2f9[_0xfeea3e(_0x1120a3._0x53f7a7)+'redDa'+'tabas'+'es'][_0xfeea3e(0x304)+'ch'](_0x10401f=>_0x4a2a68[_0xfeea3e(0x268)](_0x10401f)),_0x1ce2f9['optio'+_0xfeea3e(0x4cb)+_0xfeea3e(_0x1120a3._0x3034a5)+'es']&&_0x1ce2f9[_0xfeea3e(0x955)+_0xfeea3e(_0x1120a3._0x3c303a)+'tabas'+'es'][_0xfeea3e(_0x1120a3._0x3f58de)+'ch'](_0x4b3d60=>_0x4a2a68[_0xfeea3e(0x268)](_0x4b3d60))):o[_0xfeea3e(0xc45)](_0x3ef730[_0xfeea3e(0xc7c)],{'roleName':_0x25f556});}const _0x372217=Array[_0xfeea3e(0xc98)](_0x4a2a68);return o[_0xfeea3e(_0x1120a3._0xbf3ba5)]('Curre'+_0xfeea3e(_0x1120a3._0x5d2032)+_0xfeea3e(_0x1120a3._0x462e74)+_0xfeea3e(0xaad)+'es\x20ca'+'lcula'+_0xfeea3e(_0x1120a3._0x1d0d30),{'userRoles':this[_0xfeea3e(_0x1120a3._0x59e87e)+_0xfeea3e(0x91c)+_0xfeea3e(0x683)+'s'],'databases':_0x372217}),_0x372217;}static async[_0x441e35(0xbb6)+_0x441e35(0x53d)+_0x441e35(0x87e)+_0x441e35(0x6a7)+'tion'](){const _0x38827f={_0x2d2ed6:0x87e,_0x138e67:0x8d1,_0x5eb4de:0x91d,_0x2c8aeb:0x24f,_0x8ee1ec:0x7c3,_0x1426b4:0xcb4,_0x2700fc:0x447,_0x18bda0:0x752,_0x446f40:0x6a7,_0x3590c9:0x2a9,_0x273b32:0x7cf,_0x567372:0x7e3,_0x1cd6f8:0xa08,_0x248e15:0xaad,_0xe6231c:0x37b,_0x226371:0x850,_0x58b7c7:0xcd3,_0x77c913:0x5bd,_0x6114a7:0x272,_0x5db33b:0x5e9,_0x5a07aa:0x272,_0x28e1ca:0x55d,_0x2562c8:0x85d,_0x382ec6:0xa50,_0x29975c:0x9f2,_0x347433:0xbf5,_0x23c022:0xca6,_0x2533fc:0x5cb,_0x500549:0xb5d,_0x557b5a:0x96a,_0x2e9927:0x6d8,_0x511f74:0x4e6},_0x5d1beb=_0x441e35,_0x167388={'arJyH':'initi'+'alize'+_0x5d1beb(_0x38827f._0x2d2ed6)+_0x5d1beb(0x6a7)+_0x5d1beb(_0x38827f._0x138e67)+_0x5d1beb(_0x38827f._0x5eb4de)+_0x5d1beb(_0x38827f._0x2c8aeb)+_0x5d1beb(_0x38827f._0x8ee1ec),'LxFee':_0x5d1beb(0x30e)+_0x5d1beb(_0x38827f._0x1426b4)+_0x5d1beb(_0x38827f._0x2700fc)+_0x5d1beb(_0x38827f._0x18bda0)+'ck','BKELJ':_0x5d1beb(0x5e9)+_0x5d1beb(0x9bb)+_0x5d1beb(0x6ba)+_0x5d1beb(_0x38827f._0x446f40)+_0x5d1beb(_0x38827f._0x138e67)+'initi'+_0x5d1beb(0x53d)+'d\x20suc'+_0x5d1beb(0xc2c)+_0x5d1beb(_0x38827f._0x3590c9)};if(console[_0x5d1beb(_0x38827f._0x273b32)](_0x167388[_0x5d1beb(_0x38827f._0x567372)],C[_0x5d1beb(0x51c)+_0x5d1beb(_0x38827f._0x1cd6f8)+'Confi'+'g']()),o[_0x5d1beb(0x64d)](_0x5d1beb(0x941)+_0x5d1beb(0x824)+'ng\x20co'+_0x5d1beb(0xb97)+_0x5d1beb(_0x38827f._0x248e15)+_0x5d1beb(0xc68)+_0x5d1beb(0x28e)+'on'),this[_0x5d1beb(0x8f3)+'ction'+'s'][_0x5d1beb(0x5ac)]){o['debug'](_0x5d1beb(0x5e9)+_0x5d1beb(0x8f3)+_0x5d1beb(0x2c6)+'\x20alre'+_0x5d1beb(0xa3e)+_0x5d1beb(_0x38827f._0xe6231c));return;}try{const _0x17b6a7=this[_0x5d1beb(0x8b6)+_0x5d1beb(0x915)]('core');if(!_0x17b6a7)throw o[_0x5d1beb(_0x38827f._0x226371)](_0x5d1beb(0x5e9)+'datab'+_0x5d1beb(_0x38827f._0x58b7c7)+_0x5d1beb(_0x38827f._0x77c913)+_0x5d1beb(0xc69)+_0x5d1beb(_0x38827f._0x6114a7)),new Error(_0x5d1beb(_0x38827f._0x5db33b)+_0x5d1beb(0x9bb)+_0x5d1beb(_0x38827f._0x58b7c7)+'chema'+'\x20not\x20'+_0x5d1beb(_0x38827f._0x5a07aa)+'.');o['debug'](_0x5d1beb(0x93a)+_0x5d1beb(_0x38827f._0x28e1ca)+_0x5d1beb(0xb7e)+'ataba'+'se\x20co'+_0x5d1beb(_0x38827f._0x2562c8)+_0x5d1beb(_0x38827f._0x382ec6),{'schemaName':_0x17b6a7[_0x5d1beb(0x9bb)+'ase_n'+_0x5d1beb(_0x38827f._0x29975c)]});const _0x1919f2=await T[_0x5d1beb(_0x38827f._0x347433)+_0x5d1beb(_0x38827f._0x23c022)+'en']({'config':_0x17b6a7},!(0x2392+0x1b59+-0x3eea));await _0x1919f2['execu'+'te'](_0x167388[_0x5d1beb(0x575)]),this['conne'+'ction'+'s']['core']=_0x1919f2,o[_0x5d1beb(_0x38827f._0x2533fc)](_0x167388[_0x5d1beb(0x220)]);}catch(_0x221338){throw o[_0x5d1beb(_0x38827f._0x226371)](_0x5d1beb(0x4e6)+_0x5d1beb(_0x38827f._0x500549)+_0x5d1beb(0x2ca)+_0x5d1beb(_0x38827f._0x28e1ca)+_0x5d1beb(0xb7e)+_0x5d1beb(_0x38827f._0x557b5a)+'se',{'error':_0x221338[_0x5d1beb(_0x38827f._0x2e9927)+'ge']}),new Error(_0x5d1beb(_0x38827f._0x511f74)+_0x5d1beb(_0x38827f._0x500549)+_0x5d1beb(0x2ca)+_0x5d1beb(0x55d)+'ore\x20d'+'ataba'+_0x5d1beb(0x998)+_0x221338[_0x5d1beb(0x6d8)+'ge']);}}static async[_0x441e35(0x2ad)+_0x441e35(0xa08)+'UserR'+'oles'](_0x5915a4,_0x228b7a){const _0x532310={_0x5d5718:0x50f,_0x3579e8:0x7d4,_0x4de0c5:0x8a8,_0x1ff457:0x64d,_0x8f3d18:0xa08,_0x3eac10:0x8f8,_0x3ad19e:0x592,_0x4c62e3:0x6a6,_0x3baaf9:0x44d,_0x42fa8b:0xa24,_0x5567ee:0xb4b,_0x3012d9:0xb49,_0x5e8af5:0x91c,_0xec26da:0x683,_0x3facf9:0x504,_0x4bcd19:0xc52,_0x51a9fe:0x7d3,_0xfbc3ee:0xa6f,_0xf6e7ed:0x85d,_0x2d254b:0x906,_0x764b61:0x8f3,_0x2d5342:0xb11,_0x2cdc2c:0x850,_0x2ebb50:0xbb6,_0x3b0672:0x53d,_0x618309:0x8f8,_0x3b8768:0x6d8},_0x5c0b18=_0x441e35,_0x4ddf21={'rVpMj':'Role\x20'+_0x5c0b18(_0x532310._0x5d5718)+_0x5c0b18(0x592)+_0x5c0b18(_0x532310._0x3579e8),'WojAM':'User\x20'+_0x5c0b18(_0x532310._0x4de0c5)+_0x5c0b18(0xc1e)+_0x5c0b18(0x8fb)};o[_0x5c0b18(_0x532310._0x1ff457)](_0x5c0b18(0xa63)+'ng\x20cu'+_0x5c0b18(_0x532310._0x8f3d18)+_0x5c0b18(_0x532310._0x3eac10)+_0x5c0b18(0x27e)+'s',{'userRoles':_0x5915a4,'primaryRole':_0x228b7a});for(const _0x20efc0 of _0x5915a4)if(!this[_0x5c0b18(0x788)+'egist'+'ry'][_0x20efc0])throw o[_0x5c0b18(0x850)](_0x4ddf21[_0x5c0b18(0x875)],{'roleName':_0x20efc0,'availableRoles':Object[_0x5c0b18(0x54f)](this[_0x5c0b18(0x788)+_0x5c0b18(_0x532310._0x3ad19e)+'ry'])}),new Error(_0x5c0b18(_0x532310._0x4c62e3)+'\x27'+_0x20efc0+(_0x5c0b18(0xb04)+'not\x20r'+_0x5c0b18(0x592)+_0x5c0b18(_0x532310._0x3baaf9)+_0x5c0b18(_0x532310._0x42fa8b)+_0x5c0b18(_0x532310._0x5567ee)+'giste'+'r\x20it\x20'+_0x5c0b18(_0x532310._0x3012d9)+'.'));const _0x100e2a=[...this['curre'+_0x5c0b18(_0x532310._0x5e8af5)+'rRole'+'s']];this[_0x5c0b18(0xc52)+'ntUse'+_0x5c0b18(_0x532310._0xec26da)+'s']=_0x5915a4,this[_0x5c0b18(0xc52)+_0x5c0b18(_0x532310._0x3facf9)+'e']=_0x228b7a||_0x5915a4[0x59e*0x4+0x12f7+-0x296f]||null,o[_0x5c0b18(0x5cb)](_0x4ddf21['WojAM'],{'previousRoles':_0x100e2a,'newRoles':_0x5915a4,'primaryRole':this[_0x5c0b18(_0x532310._0x4bcd19)+'ntRol'+'e']});try{await this[_0x5c0b18(0xbb6)+_0x5c0b18(0x53d)+'UserR'+_0x5c0b18(0xaf2)+'nnect'+'ions'](),await this[_0x5c0b18(_0x532310._0x51a9fe)+_0x5c0b18(0x56b)+_0x5c0b18(_0x532310._0xfbc3ee)+_0x5c0b18(_0x532310._0xf6e7ed)+_0x5c0b18(_0x532310._0x2d254b)](_0x100e2a),o[_0x5c0b18(0x5cb)]('User\x20'+_0x5c0b18(0x759)+_0x5c0b18(_0x532310._0x764b61)+_0x5c0b18(0x2c6)+_0x5c0b18(0x7c0)+'tiali'+_0x5c0b18(_0x532310._0x2d5342)+'ucces'+_0x5c0b18(0xcc9)+'y');}catch(_0x1d5847){throw o[_0x5c0b18(_0x532310._0x2cdc2c)](_0x5c0b18(0xabb)+'d\x20to\x20'+_0x5c0b18(_0x532310._0x2ebb50)+_0x5c0b18(_0x532310._0x3b0672)+_0x5c0b18(_0x532310._0x618309)+_0x5c0b18(0x27e)+_0x5c0b18(0xc36)+_0x5c0b18(0x996)+'ns',{'error':_0x1d5847[_0x5c0b18(_0x532310._0x3b8768)+'ge']}),_0x1d5847;}}static['getCu'+_0x441e35(0xa08)+_0x441e35(0x6f9)+_0x441e35(0x9a4)](){const _0x187ca1={_0x456427:0xa08,_0x2f606e:0x8f8,_0x21ff7b:0x5dd,_0x3def68:0x91c},_0x26915a=_0x441e35,_0x5336a5={'VHTVc':_0x26915a(0x77e)+_0x26915a(0x488)+_0x26915a(_0x187ca1._0x456427)+_0x26915a(_0x187ca1._0x2f606e)+'\x20role'+'s'};return o[_0x26915a(0x2d7)](_0x5336a5[_0x26915a(_0x187ca1._0x21ff7b)],{'roles':this['curre'+'ntUse'+_0x26915a(0x683)+'s']}),[...this['curre'+_0x26915a(_0x187ca1._0x3def68)+_0x26915a(0x683)+'s']];}static[_0x441e35(0x51c)+_0x441e35(0xa08)+_0x441e35(0x8da)](){const _0x235824={_0x311fea:0xa08,_0x1c5761:0x504,_0x512865:0xc52,_0x3189db:0x504},_0x39fc46=_0x441e35;return o['trace']('Getti'+'ng\x20cu'+_0x39fc46(_0x235824._0x311fea)+'\x20prim'+'ary\x20r'+'ole',{'role':this[_0x39fc46(0xc52)+_0x39fc46(_0x235824._0x1c5761)+'e']}),this[_0x39fc46(_0x235824._0x512865)+_0x39fc46(_0x235824._0x3189db)+'e'];}static async[_0x441e35(0xbb6)+'alize'+_0x441e35(0x6f9)+_0x441e35(0xaf2)+'nnect'+_0x441e35(0x906)](){const _0x371b35={_0x44ae97:0x94e,_0x41db09:0x6ba,_0x49b3ac:0xabb,_0x150a89:0xba5,_0xa6e582:0xc84,_0x2a99b0:0x9bb,_0x3e983f:0x51c,_0x402b59:0xa08,_0x3e18f8:0x96a,_0x4fa00c:0x941,_0x1eb1f0:0x427,_0x39eb8d:0x443,_0x17bc8c:0x85d,_0x51a99c:0x850,_0x399ea5:0xc84,_0x5f5533:0x660,_0x369341:0x49c,_0x2049f8:0x9d3},_0x4fdf0e={_0x191734:0xab7,_0x5992af:0x9f1,_0x3fabed:0x6f5,_0x2dda35:0x771,_0x88071b:0x854,_0x4ec5b8:0xb3a,_0xa27fef:0x8f3,_0x19d476:0x23a,_0x5140f6:0xaad,_0x2d9d25:0x28e,_0x2e5399:0x34c,_0x13d25b:0x594,_0x32f7c4:0x5be,_0x265b8d:0x240,_0x553615:0x495,_0x3e82a4:0x734,_0x18dd18:0x50a,_0x3ae32b:0x447,_0x246b8e:0x8f3,_0x5ccc0e:0x2c6,_0x418625:0x5cb,_0x4ab370:0x8ff,_0x1a6e41:0x23e,_0x506a8b:0x525,_0x1e484e:0x600,_0x6d0908:0x937,_0x19d1d3:0x2b3,_0x36057a:0x69e,_0x1bee4f:0x7d7,_0x570444:0x2d0,_0x57ca71:0x76a,_0xef528d:0xa3c,_0x5cb7fa:0x937,_0x4460a3:0x937,_0x47cf2b:0x2b3,_0x59c766:0x93c,_0x23f94a:0x7d7,_0x35d625:0xb71,_0x39b5d9:0x2b3,_0x188333:0x3c4,_0x18ae46:0x235,_0x56e248:0xbec,_0xdbbd36:0x7b9,_0x42283e:0x7eb,_0x5e7092:0xb01,_0x5520c3:0xc52,_0x54ab16:0x91c,_0x1fb979:0x77c,_0x570322:0x215,_0x10d357:0x3d1,_0x37d600:0x6d8},_0x326fff=_0x441e35,_0xcd79de={'Mmooo':_0x326fff(_0x371b35._0x44ae97)+'NCREM'+'ENT','scAwB':_0x326fff(0x3c4)+'E','NmWhg':function(_0x8d043e,_0x322c8e){return _0x8d043e!==_0x322c8e;},'deuqJ':function(_0xd79ed3,_0x106ff7){return _0xd79ed3>_0x106ff7;},'rEBsR':_0x326fff(0x34c)+_0x326fff(_0x371b35._0x41db09)+'onnec'+'tion\x20'+'initi'+_0x326fff(0x53d)+'d','YgAZH':function(_0x277717,_0x2e0e91){return _0x277717===_0x2e0e91;},'WLLDr':function(_0x1e7407,_0x3ee339){return _0x1e7407 instanceof _0x3ee339;},'Arwbx':function(_0x4c150f,_0xde7a84){return _0x4c150f(_0xde7a84);},'axwPU':'Faile'+'d\x20to\x20'+_0x326fff(0xbb6)+_0x326fff(0x53d)+_0x326fff(0x281)+'base\x20'+_0x326fff(0x8f3)+_0x326fff(0x2c6),'XscSF':_0x326fff(_0x371b35._0x49b3ac)+'d\x20to\x20'+_0x326fff(0xbb6)+_0x326fff(0x53d)+_0x326fff(_0x371b35._0x150a89)+_0x326fff(_0x371b35._0xa6e582)+_0x326fff(_0x371b35._0x2a99b0)+'ases'},_0x4df1f0=this[_0x326fff(_0x371b35._0x3e983f)+_0x326fff(_0x371b35._0x402b59)+_0x326fff(0x239)+_0x326fff(_0x371b35._0x3e18f8)+_0x326fff(0x9ae)]();o[_0x326fff(0x64d)](_0x326fff(_0x371b35._0x4fa00c)+_0x326fff(0x824)+_0x326fff(_0x371b35._0x1eb1f0)+'er\x20ro'+_0x326fff(_0x371b35._0x39eb8d)+_0x326fff(_0x371b35._0x17bc8c)+_0x326fff(0x906),{'requiredDatabases':_0x4df1f0});const _0x5f19fd=[],_0xe4ab6c=_0x4df1f0[_0x326fff(0x269)](async _0x4c4e4e=>{const _0x17a057={_0x5843d8:0x592},_0x4b9acf={_0x1ab402:0x625},_0x16abb8=_0x326fff,_0x2c6353={'HOjOT':_0x16abb8(0x809)+'ssing'+'\x20colu'+_0x16abb8(_0x4fdf0e._0x191734)+_0x16abb8(_0x4fdf0e._0x5992af)+'ints','wDOqP':_0x16abb8(0x69e)+_0x16abb8(_0x4fdf0e._0x3fabed)+'Y','koeCT':_0x16abb8(0x855)+_0x16abb8(0x4a7)+_0x16abb8(_0x4fdf0e._0x2dda35),'YCkvm':_0xcd79de[_0x16abb8(0x5cd)],'XPEsj':_0x16abb8(_0x4fdf0e._0x88071b)+'ULL','OpamW':_0xcd79de[_0x16abb8(_0x4fdf0e._0x4ec5b8)],'stNXc':function(_0x4c046a,_0x42efc1){const _0x14b989=_0x16abb8;return _0xcd79de[_0x14b989(0x2be)](_0x4c046a,_0x42efc1);},'bHLhN':function(_0x1a3669,_0x336561){const _0x2e9566=_0x16abb8;return _0xcd79de[_0x2e9566(_0x4b9acf._0x1ab402)](_0x1a3669,_0x336561);},'FGDbC':function(_0x5250d1,_0x40603e){return _0x5250d1+_0x40603e;}};if(this[_0x16abb8(_0x4fdf0e._0xa27fef)+'ction'+'s'][_0x4c4e4e]){o[_0x16abb8(0x2d7)](_0x16abb8(0x34c)+_0x16abb8(0x1f0)+_0x16abb8(0x90c)+_0x16abb8(_0x4fdf0e._0x19d476)+_0x16abb8(0xa01)+'d',{'dbKey':_0x4c4e4e});return;}try{o[_0x16abb8(0x64d)](_0x16abb8(0x941)+_0x16abb8(0x824)+'ng\x20da'+_0x16abb8(_0x4fdf0e._0x5140f6)+'e\x20con'+_0x16abb8(_0x4fdf0e._0x2d9d25)+'on',{'dbKey':_0x4c4e4e});const _0x470dd4=this[_0x16abb8(0x8b6)+_0x16abb8(0x915)](_0x4c4e4e);if(!_0x470dd4)throw new Error(_0x16abb8(_0x4fdf0e._0x2e5399)+_0x16abb8(_0x4fdf0e._0x13d25b)+_0x16abb8(_0x4fdf0e._0x32f7c4)+_0x4c4e4e+('\x27\x20not'+'\x20foun'+_0x16abb8(_0x4fdf0e._0x265b8d)+_0x16abb8(_0x4fdf0e._0x553615)+_0x16abb8(0x772)+_0x16abb8(_0x4fdf0e._0x3e82a4)+_0x16abb8(0x1da)+'s.'));const _0x3efe1a=await T['creat'+'eOrOp'+'en']({'config':_0x470dd4},!(0x1516+-0x2*0xd11+0x50d));await _0x3efe1a[_0x16abb8(_0x4fdf0e._0x18dd18)+'te'](_0x16abb8(0x30e)+_0x16abb8(0xcb4)+_0x16abb8(_0x4fdf0e._0x3ae32b)+'y_che'+'ck'),this[_0x16abb8(_0x4fdf0e._0x246b8e)+_0x16abb8(_0x4fdf0e._0x5ccc0e)+'s'][_0x4c4e4e]=_0x3efe1a,o[_0x16abb8(_0x4fdf0e._0x418625)](_0xcd79de[_0x16abb8(0x51e)],{'dbKey':_0x4c4e4e,'schemaName':_0x470dd4[_0x16abb8(0x9bb)+_0x16abb8(0x453)+'ame']});}catch(_0x45f9f3){if(_0xcd79de[_0x16abb8(_0x4fdf0e._0x4ab370)](_0x16abb8(_0x4fdf0e._0x1a6e41),_0x16abb8(0x8c3))){_0x47da85[_0x16abb8(0x2d7)](_0x2c6353['HOjOT'],{'columnName':_0x52c196[_0x16abb8(0x47c)],'constraints':_0x1e0c88['const'+_0x16abb8(0x525)+'s']});const _0x36060f=_0x46ae6f[_0x16abb8(0x73f)+_0x16abb8(_0x4fdf0e._0x506a8b)+'s'][_0x16abb8(0x8b5)+_0x16abb8(0x5ea)+'e']()[_0x16abb8(_0x4fdf0e._0x1e484e)]('\x20');_0x36060f[_0x16abb8(_0x4fdf0e._0x6d0908)+_0x16abb8(_0x4fdf0e._0x19d1d3)](_0x16abb8(_0x4fdf0e._0x36057a)+'RY')&&(_0x38a1c6[_0x16abb8(_0x4fdf0e._0x1bee4f)](_0x2c6353[_0x16abb8(0x8dc)]),_0x4ff9a9['prima'+_0x16abb8(0xc4c)+'y']=!(0x36b+0x1dae+-0x2119)),(_0x36060f[_0x16abb8(0x937)+_0x16abb8(0x2b3)](_0x2c6353['koeCT'])||_0x36060f[_0x16abb8(0x937)+'des'](_0x16abb8(0x94e)+_0x16abb8(_0x4fdf0e._0x570444)+_0x16abb8(_0x4fdf0e._0x57ca71)))&&(_0x56467a['prima'+_0x16abb8(0xc4c)+'y']&&_0x468842[_0x16abb8(0x7d7)](_0x2c6353['YCkvm']),_0x2f14fc[_0x16abb8(_0x4fdf0e._0xef528d)+_0x16abb8(0xb81)+'ment']=!(-0xe32+-0x2030+-0x2e62*-0x1)),_0x36060f[_0x16abb8(_0x4fdf0e._0x5cb7fa)+_0x16abb8(0x2b3)]('NOT')&&_0x36060f[_0x16abb8(_0x4fdf0e._0x4460a3)+_0x16abb8(_0x4fdf0e._0x47cf2b)](_0x16abb8(_0x4fdf0e._0x59c766))&&(_0x45eab0[_0x16abb8(_0x4fdf0e._0x23f94a)](_0x2c6353[_0x16abb8(0x975)]),_0x36fc99[_0x16abb8(0x857)+_0x16abb8(_0x4fdf0e._0x35d625)]=!(-0x19*0x130+-0x171a+-0xf*-0x385)),_0x36060f[_0x16abb8(_0x4fdf0e._0x6d0908)+_0x16abb8(_0x4fdf0e._0x39b5d9)](_0x16abb8(_0x4fdf0e._0x188333)+'E')&&(_0x4464c2[_0x16abb8(0xae6)+_0x16abb8(0xc4c)+'y']||_0xae4f07[_0x16abb8(0x7d7)](_0x2c6353[_0x16abb8(_0x4fdf0e._0x18ae46)]),_0x2bc461[_0x16abb8(_0x4fdf0e._0x56e248)+'e']=!(0x1d77+0x1ced+-0x194*0x25));const _0x1706aa=_0x36060f[_0x16abb8(0x59a)+'Of']('DEFAU'+'LT');if(_0x2c6353['stNXc'](_0x1706aa,-(-0xb4f+0x1033+-0x4e3*0x1))&&_0x2c6353[_0x16abb8(_0x4fdf0e._0xdbbd36)](_0x36060f[_0x16abb8(0x4b2)+'h'],_0x2c6353[_0x16abb8(0x78e)](_0x1706aa,-0x26bd+0x4*-0x5a9+0x3d62))){const _0x5c141e=_0x36060f[_0x2c6353[_0x16abb8(0x78e)](_0x1706aa,0x20ca+-0x2*-0xef4+-0x3eb1*0x1)];_0x53a2da[_0x16abb8(_0x4fdf0e._0x1bee4f)](_0x16abb8(_0x4fdf0e._0x42283e)+_0x16abb8(0x2ea)+_0x5c141e),_0x2ece31[_0x16abb8(0x222)+'lt']=_0x5c141e;}}else{const _0x283066=_0xcd79de[_0x16abb8(_0x4fdf0e._0x5e7092)](_0x45f9f3,Error)?_0x45f9f3:new Error(_0xcd79de[_0x16abb8(0x26b)](String,_0x45f9f3));o['error'](_0xcd79de['axwPU'],{'dbKey':_0x4c4e4e,'error':_0x283066['messa'+'ge']}),this[_0x16abb8(_0x4fdf0e._0x5520c3)+_0x16abb8(_0x4fdf0e._0x54ab16)+'rRole'+'s'][_0x16abb8(0x479)](_0x2b08c0=>{const _0x10e5b9=_0x16abb8,_0x1f5543=this[_0x10e5b9(0x788)+_0x10e5b9(_0x17a057._0x5843d8)+'ry'][_0x2b08c0];return _0x1f5543&&_0x1f5543['requi'+_0x10e5b9(0xbfe)+_0x10e5b9(0xaad)+'es']['inclu'+_0x10e5b9(0x2b3)](_0x4c4e4e);})?_0x5f19fd['push']({'key':_0x4c4e4e,'error':_0x283066}):o[_0x16abb8(0xc45)](_0x16abb8(0x661)+_0x16abb8(0xc25)+_0x16abb8(0x96a)+_0x16abb8(0xbc3)+_0x16abb8(0x561)+_0x16abb8(_0x4fdf0e._0x1fb979)+_0x16abb8(_0x4fdf0e._0x570322)+_0x16abb8(_0x4fdf0e._0x10d357),{'dbKey':_0x4c4e4e,'error':_0x283066[_0x16abb8(_0x4fdf0e._0x37d600)+'ge']});}}});if(await Promise['all'](_0xe4ab6c),_0x5f19fd[_0x326fff(0x4b2)+'h']>0x2275+-0x8e7*-0x1+-0x12c*0x25){const _0x407d61=_0x5f19fd[_0x326fff(0x269)](_0x2471d5=>_0x326fff(0xa20)+_0x2471d5[_0x326fff(0x762)]+':\x20'+_0x2471d5[_0x326fff(0x850)][_0x326fff(0x6d8)+'ge'])['join']('\x0a');throw o[_0x326fff(_0x371b35._0x51a99c)](_0xcd79de[_0x326fff(0x2ce)],{'failedDatabases':_0x5f19fd[_0x326fff(0x269)](_0x31db9c=>_0x31db9c[_0x326fff(0x762)]),'errorSummary':_0x407d61}),new Error(_0x326fff(_0x371b35._0x49b3ac)+'d\x20to\x20'+_0x326fff(0xbb6)+_0x326fff(0x53d)+_0x326fff(0xba5)+_0x326fff(_0x371b35._0x399ea5)+_0x326fff(0x9bb)+_0x326fff(0xc3d)+_0x326fff(_0x371b35._0x5f5533)+_0x326fff(_0x371b35._0x369341)+_0x326fff(_0x371b35._0x2049f8)+'\x0a'+_0x407d61);}}static async[_0x441e35(0x7d3)+_0x441e35(0x56b)+_0x441e35(0xa6f)+_0x441e35(0x85d)+_0x441e35(0x906)](_0x5a02bd){const _0x509c9b={_0x83cda9:0x834,_0x3b1ca4:0xa28,_0x41f0f0:0xb6d,_0x557241:0x4f9,_0x359328:0xb76,_0x1caadc:0x6a7,_0x205d12:0x8d1,_0x2967d6:0xac1,_0x30cfe3:0x50c,_0x2a2a5f:0x85d,_0x3d2df6:0x64f,_0x33a317:0x39e,_0xc4a122:0x268,_0x154728:0x788,_0x2cf75b:0xaad,_0x370ce2:0x239,_0x4cd57f:0x9ae,_0x433989:0xc3d,_0xf91a72:0x68b,_0x501792:0x375,_0x2e0e07:0x8f3,_0x26402e:0x2c6,_0x3438d7:0xac1,_0x536d77:0x2c6,_0x258fad:0x8f3,_0x5c2c80:0x2c6,_0x39cc73:0x2d7,_0x2b4451:0xcde,_0x56e2fe:0xcbf,_0x44b7dd:0x6fd,_0x2678e8:0x9e2,_0x388c2c:0x6d8,_0x125f4f:0x64d},_0x1a2895=_0x441e35,_0x12663b={'YsRwp':_0x1a2895(0x4b8)+'ing\x20u'+_0x1a2895(_0x509c9b._0x83cda9)+_0x1a2895(0xb42)+'onnec'+_0x1a2895(_0x509c9b._0x3b1ca4),'HdDuy':function(_0x284769,_0x2cf4f6){return _0x284769>_0x2cf4f6;},'tcLKl':'PBjnN','hlQqm':_0x1a2895(0xb3f)+_0x1a2895(_0x509c9b._0x41f0f0)+_0x1a2895(_0x509c9b._0x557241)+_0x1a2895(0x9bb)+'ase\x20c'+_0x1a2895(0x6a7)+_0x1a2895(_0x509c9b._0x359328),'hJNJk':_0x1a2895(0x34c)+'ase\x20c'+_0x1a2895(_0x509c9b._0x1caadc)+_0x1a2895(_0x509c9b._0x205d12)+_0x1a2895(_0x509c9b._0x2967d6)+'d','bimSZ':_0x1a2895(_0x509c9b._0x30cfe3)+_0x1a2895(_0x509c9b._0x2a2a5f)+'ions\x20'+_0x1a2895(_0x509c9b._0x3d2df6)+_0x1a2895(0x9c5)};o[_0x1a2895(0x64d)](_0x12663b[_0x1a2895(_0x509c9b._0x33a317)],{'previousRoles':_0x5a02bd});const _0x2b4766=new Set();_0x2b4766[_0x1a2895(_0x509c9b._0xc4a122)]('core');for(const _0x1d38fd of _0x5a02bd){const _0x11d0f7=this[_0x1a2895(_0x509c9b._0x154728)+'egist'+'ry'][_0x1d38fd];_0x11d0f7&&(_0x11d0f7[_0x1a2895(0xa61)+'redDa'+_0x1a2895(_0x509c9b._0x2cf75b)+'es'][_0x1a2895(0x304)+'ch'](_0x42b5f8=>_0x2b4766['add'](_0x42b5f8)),_0x11d0f7[_0x1a2895(0x955)+_0x1a2895(0x4cb)+_0x1a2895(0xaad)+'es']&&_0x11d0f7['optio'+_0x1a2895(0x4cb)+_0x1a2895(0xaad)+'es'][_0x1a2895(0x304)+'ch'](_0xc9b464=>_0x2b4766[_0x1a2895(0x268)](_0xc9b464)));}const _0x68a7e3=new Set(this['getCu'+_0x1a2895(0xa08)+_0x1a2895(_0x509c9b._0x370ce2)+'ataba'+_0x1a2895(_0x509c9b._0x4cd57f)]()),_0x350bdf=Array[_0x1a2895(0xc98)](_0x2b4766)['filte'+'r'](_0x4ff8ab=>!_0x68a7e3[_0x1a2895(0x6af)](_0x4ff8ab));if(o[_0x1a2895(0x64d)](_0x1a2895(0x34c)+_0x1a2895(_0x509c9b._0x433989)+_0x1a2895(0x64f)+_0x1a2895(0x9c5),{'databasesToClose':_0x350bdf,'previousDatabaseCount':_0x2b4766[_0x1a2895(0x815)],'currentDatabaseCount':_0x68a7e3['size']}),_0x12663b[_0x1a2895(_0x509c9b._0xf91a72)](_0x350bdf[_0x1a2895(0x4b2)+'h'],-0x1a7+-0x1*-0x6b6+-0x1*0x50f)){for(const _0x5c87f7 of _0x350bdf)if(this[_0x1a2895(0x8f3)+_0x1a2895(0x2c6)+'s'][_0x5c87f7])try{if(_0x1a2895(0xb8a)!==_0x12663b['tcLKl'])o['debug'](_0x12663b[_0x1a2895(_0x509c9b._0x501792)],{'dbKey':_0x5c87f7}),await this[_0x1a2895(_0x509c9b._0x2e0e07)+_0x1a2895(_0x509c9b._0x26402e)+'s'][_0x5c87f7][_0x1a2895(_0x509c9b._0x3438d7)](),delete this['conne'+_0x1a2895(_0x509c9b._0x536d77)+'s'][_0x5c87f7],o[_0x1a2895(0x5cb)](_0x12663b[_0x1a2895(0x4d5)],{'dbKey':_0x5c87f7});else{const _0x2a810b=_0x5448e1[_0x1a2895(0x54f)](this[_0x1a2895(_0x509c9b._0x258fad)+_0x1a2895(_0x509c9b._0x5c2c80)+'s']);return _0x20f641[_0x1a2895(_0x509c9b._0x39cc73)]('Listi'+_0x1a2895(_0x509c9b._0x2b4451)+_0x1a2895(0x85d)+_0x1a2895(0x906),{'connections':_0x2a810b}),_0x2a810b;}}catch(_0x515e3d){o[_0x1a2895(0x850)]('Error'+'\x20clos'+_0x1a2895(0xa64)+_0x1a2895(0x96a)+_0x1a2895(0x24a)+_0x1a2895(0x85d)+_0x1a2895(_0x509c9b._0x56e2fe)+_0x1a2895(0x872)+_0x1a2895(_0x509c9b._0x44b7dd)+_0x1a2895(_0x509c9b._0x2678e8),{'dbKey':_0x5c87f7,'error':_0x515e3d[_0x1a2895(_0x509c9b._0x388c2c)+'ge']});}o['info']('Clean'+_0x1a2895(0xc13)+'mplet'+'ed',{'closedConnections':_0x350bdf});}else o[_0x1a2895(_0x509c9b._0x125f4f)](_0x12663b['bimSZ']);}static[_0x441e35(0x86d)+'cessT'+_0x441e35(0x4cf)+_0x441e35(0x5e6)](_0x1e518d){const _0x52e824={_0x11539e:0x96a,_0x335438:0x34e,_0x9c7666:0x2d7},_0xbe01e9=_0x441e35,_0x2284d4={'AiKIp':function(_0x4d0c24,_0x84f671){return _0x4d0c24!==_0x84f671;},'hQmHC':'Check'+'ing\x20d'+_0xbe01e9(_0x52e824._0x11539e)+_0xbe01e9(0x846)+_0xbe01e9(_0x52e824._0x335438)},_0x415aed=_0x2284d4[_0xbe01e9(0x70c)](this['getSc'+_0xbe01e9(0x915)](_0x1e518d),void(-0x2502+-0x1434+0x1c9b*0x2));return o[_0xbe01e9(_0x52e824._0x9c7666)](_0x2284d4[_0xbe01e9(0xa15)],{'dbKey':_0x1e518d,'hasAccess':_0x415aed}),_0x415aed;}static[_0x441e35(0xc0c)](_0x11274e){const _0x193560={_0x18be69:0xaad,_0x56fa87:0x28e,_0x4d8a8a:0x34c,_0x377ba5:0x91a,_0x2063f0:0x70b,_0x43a7b0:0x2d7,_0x3c4e25:0x362,_0xbe1e71:0x6dc,_0x76b4cb:0xb9d,_0x30521e:0x584,_0x2c8d24:0xa18,_0x52a030:0x8f3,_0x137557:0x850,_0x458e34:0x54f,_0x4378d0:0x6a7,_0x59ac29:0x65e,_0xd69a66:0x8cc,_0x344e64:0x37e,_0x5c0369:0xbd1,_0x344cfe:0x6ba,_0x27f053:0x2fd,_0x454f1a:0x46f},_0x616f91=_0x441e35,_0x1fbb98={'leyYk':_0x616f91(0x77e)+'ng\x20da'+_0x616f91(_0x193560._0x18be69)+_0x616f91(0xc68)+_0x616f91(_0x193560._0x56fa87)+'on','oIgXS':_0x616f91(_0x193560._0x4d8a8a)+_0x616f91(_0x193560._0x377ba5)+_0x616f91(_0x193560._0x2063f0)+_0x616f91(0x85d)+'ed'};if(o[_0x616f91(_0x193560._0x43a7b0)](_0x1fbb98[_0x616f91(0x95c)],{'key':_0x11274e}),!this['hasAc'+_0x616f91(0x6b9)+'oData'+_0x616f91(0x5e6)](_0x11274e))throw o[_0x616f91(0x850)](_0x616f91(0xb9d)+_0x616f91(_0x193560._0x3c4e25)+_0x616f91(0x3e5)+_0x616f91(_0x193560._0xbe1e71)+_0x616f91(0x969),{'key':_0x11274e}),new Error(_0x616f91(_0x193560._0x76b4cb)+'s\x20den'+'ied:\x20'+_0x616f91(0x34c)+_0x616f91(0x82f)+_0x11274e+(_0x616f91(0xb04)+_0x616f91(_0x193560._0x30521e)+_0x616f91(0x583)+_0x616f91(_0x193560._0x2c8d24)));const _0x2886ac=this[_0x616f91(_0x193560._0x52a030)+'ction'+'s'][_0x11274e];if(!_0x2886ac)throw o[_0x616f91(_0x193560._0x137557)](_0x1fbb98['oIgXS'],{'key':_0x11274e,'availableConnections':Object[_0x616f91(_0x193560._0x458e34)](this['conne'+_0x616f91(0x2c6)+'s'])}),new Error('Datab'+'ase\x20\x27'+_0x11274e+('\x27\x20is\x20'+'not\x20c'+_0x616f91(_0x193560._0x4378d0)+'ted.\x20'+'Pleas'+_0x616f91(_0x193560._0x59ac29)+_0x616f91(_0x193560._0xd69a66)+_0x616f91(_0x193560._0x344e64)+_0x616f91(_0x193560._0x5c0369)+'lized'+'.'));return o['trace'](_0x616f91(0x34c)+_0x616f91(_0x193560._0x344cfe)+'onnec'+_0x616f91(0x8d1)+_0x616f91(_0x193560._0x27f053)+_0x616f91(0x89d)+_0x616f91(0xa84)+_0x616f91(_0x193560._0x454f1a)+'ly',{'key':_0x11274e}),_0x2886ac;}static['onDat'+_0x441e35(0x969)+_0x441e35(0x33e)+_0x441e35(0x244)](_0x3ea108,_0x274db3){const _0xb9b41e={_0x8f4d85:0x969,_0x1b5525:0x686,_0x16d690:0x85d,_0x34fdea:0x891,_0x3533e6:0x34c,_0x572476:0xa51,_0x20237a:0xb99,_0x986f48:0x40a,_0x51154a:0x813,_0x4f555a:0x2cf,_0x2e1b23:0x5af,_0x56c5f7:0x5bb,_0x3cc7ae:0xcd1,_0x263cc5:0x5af,_0x1b373f:0x460,_0x406ac8:0x5bb,_0x5e1596:0x4b2},_0x1c51d4=_0x441e35,_0x8132f0={'SdBUJ':_0x1c51d4(0x4a4)+'terin'+_0x1c51d4(0xa85)+_0x1c51d4(_0xb9b41e._0x8f4d85)+_0x1c51d4(_0xb9b41e._0x1b5525)+_0x1c51d4(_0xb9b41e._0x16d690)+_0x1c51d4(_0xb9b41e._0x34fdea)+_0x1c51d4(0xcce),'vdDvu':_0x1c51d4(_0xb9b41e._0x3533e6)+_0x1c51d4(0x476)+_0x1c51d4(_0xb9b41e._0x572476)+'ect\x20l'+_0x1c51d4(_0xb9b41e._0x20237a)+_0x1c51d4(_0xb9b41e._0x986f48)+'giste'+_0x1c51d4(0x54d)};o['debug'](_0x8132f0[_0x1c51d4(_0xb9b41e._0x51154a)],{'schemaName':_0x3ea108}),this[_0x1c51d4(_0xb9b41e._0x4f555a)+'Liste'+_0x1c51d4(0x5bb)]['has'](_0x3ea108)||this[_0x1c51d4(0x2cf)+_0x1c51d4(_0xb9b41e._0x2e1b23)+_0x1c51d4(_0xb9b41e._0x56c5f7)][_0x1c51d4(_0xb9b41e._0x3cc7ae)](_0x3ea108,[]),this[_0x1c51d4(0x2cf)+_0x1c51d4(_0xb9b41e._0x263cc5)+_0x1c51d4(0x5bb)]['get'](_0x3ea108)['push'](_0x274db3),o[_0x1c51d4(0x2d7)](_0x8132f0[_0x1c51d4(_0xb9b41e._0x1b373f)],{'schemaName':_0x3ea108,'listenerCount':this[_0x1c51d4(_0xb9b41e._0x4f555a)+_0x1c51d4(0x5af)+_0x1c51d4(_0xb9b41e._0x406ac8)][_0x1c51d4(0xc0c)](_0x3ea108)[_0x1c51d4(_0xb9b41e._0x5e1596)+'h']});}static['offDa'+'tabas'+_0x441e35(0xb94)+_0x441e35(0x85d)](_0x419932,_0x32a4bc){const _0x5e612f={_0x47e2d9:0xb4b,_0xa56f26:0x4b6,_0x3052c3:0x8db,_0x22c268:0x40a,_0xcd4a43:0xb99,_0x46603b:0x9cc,_0x3470f8:0x349,_0x2ecbb1:0x1f7,_0x4367ae:0x64d,_0x4c986e:0xc0c,_0x1f2c96:0x724,_0x1ab934:0xc45,_0x4b277e:0x3cf,_0x367564:0x727,_0x1a1327:0x4b6,_0x7be87f:0x728},_0x919bcd=_0x441e35,_0xa611fd={'XuHiI':_0x919bcd(0xb2b)+_0x919bcd(0xa64)+'ataba'+_0x919bcd(_0x5e612f._0x47e2d9)+_0x919bcd(0x8f3)+_0x919bcd(0xcb1)+_0x919bcd(_0x5e612f._0xa56f26)+'r','rCDAJ':function(_0x474316,_0x5f52f8){return _0x474316>_0x5f52f8;},'KIqeI':'Datab'+'ase\x20r'+_0x919bcd(0xa51)+_0x919bcd(_0x5e612f._0x3052c3)+'isten'+_0x919bcd(_0x5e612f._0x22c268)+_0x919bcd(0xaf0),'YfWjo':'Datab'+_0x919bcd(0x476)+_0x919bcd(0xa51)+_0x919bcd(0x8db)+_0x919bcd(_0x5e612f._0xcd4a43)+_0x919bcd(_0x5e612f._0x46603b)+_0x919bcd(_0x5e612f._0x3470f8)+_0x919bcd(0x9b9)+_0x919bcd(0x70d)+_0x919bcd(_0x5e612f._0x2ecbb1)};o[_0x919bcd(_0x5e612f._0x4367ae)](_0xa611fd[_0x919bcd(0x783)],{'schemaName':_0x419932});const _0x2c76dc=this['event'+_0x919bcd(0x5af)+_0x919bcd(0x5bb)][_0x919bcd(_0x5e612f._0x4c986e)](_0x419932);if(_0x2c76dc){const _0x2f02d0=_0x2c76dc['index'+'Of'](_0x32a4bc);_0xa611fd['rCDAJ'](_0x2f02d0,-(0x1286+0x1*-0x245+0xa0*-0x1a))?(_0x2c76dc[_0x919bcd(_0x5e612f._0x1f2c96)+'e'](_0x2f02d0,0x1*0xf0d+-0x5*0x35+-0xe03),o['trace'](_0xa611fd['KIqeI'],{'schemaName':_0x419932,'remainingListeners':_0x2c76dc[_0x919bcd(0x4b2)+'h']})):o[_0x919bcd(_0x5e612f._0x1ab934)](_0xa611fd[_0x919bcd(_0x5e612f._0x4b277e)],{'schemaName':_0x419932});}else o[_0x919bcd(0xc45)](_0x919bcd(_0x5e612f._0x367564)+_0x919bcd(_0x5e612f._0x1a1327)+'rs\x20fo'+'und\x20f'+_0x919bcd(_0x5e612f._0x7be87f)+'hema',{'schemaName':_0x419932});}static[_0x441e35(0x944)+_0x441e35(0xca4)+_0x441e35(0xc0b)+_0x441e35(0xa51)+'ect'](_0x1e9e8f,_0x57d2fb){const _0x1c9b52={_0x5d28a8:0x5b3,_0x4126e6:0x899,_0x489bb2:0x4ee,_0x56ed37:0x476,_0x1f0675:0x8db,_0x16879f:0x5d7,_0x30a459:0x96a,_0x383fbe:0xbfa,_0x4d361d:0x476,_0x504f6f:0xa51,_0x31db0f:0x2cf,_0x2886be:0x64d,_0x46b871:0x5fe,_0x59782d:0x727,_0x3b55d8:0xced,_0x327ddf:0x686,_0x40721c:0x85d,_0x13f42d:0xa50},_0x4766db={_0x56e2aa:0xc8b,_0x2174ef:0xc59,_0xd17ce1:0x850,_0x29e240:0x6d8,_0xac7968:0x54f,_0x10faf9:0x4ba,_0x243b9c:0x95a,_0x21ddd7:0xb8e,_0x413578:0x2d7,_0x4efe5c:0x4b2},_0x3a7288=_0x441e35,_0x39e373={'iyYpN':function(_0x12ceb4,_0xdb22a5){return _0x12ceb4===_0xdb22a5;},'BKHqD':_0x3a7288(0x77e)+_0x3a7288(_0x1c9b52._0x5d28a8)+_0x3a7288(_0x1c9b52._0x4126e6)+_0x3a7288(0xb9c)+_0x3a7288(0x1ee),'XopmL':_0x3a7288(_0x1c9b52._0x489bb2),'mzCov':'EqVZY','fhYyy':function(_0x1c407f,_0x5f18b6){return _0x1c407f(_0x5f18b6);},'xmxpJ':_0x3a7288(0x34c)+_0x3a7288(_0x1c9b52._0x56ed37)+'econn'+_0x3a7288(_0x1c9b52._0x1f0675)+_0x3a7288(0xb99)+_0x3a7288(0x9cc)+_0x3a7288(0x1d6)+'d','LcUBu':'Error'+_0x3a7288(_0x1c9b52._0x16879f)+_0x3a7288(_0x1c9b52._0x30a459)+_0x3a7288(0xb4b)+_0x3a7288(0x8f3)+_0x3a7288(0xcb1)+_0x3a7288(0x4b6)+'r','YEfxn':'Notif'+_0x3a7288(_0x1c9b52._0x383fbe)+_0x3a7288(0x9bb)+_0x3a7288(_0x1c9b52._0x4d361d)+_0x3a7288(_0x1c9b52._0x504f6f)+_0x3a7288(_0x1c9b52._0x1f0675)+'isten'+_0x3a7288(0x679)},_0x453da3=this[_0x3a7288(_0x1c9b52._0x31db0f)+'Liste'+'ners'][_0x3a7288(0xc0c)](_0x1e9e8f);_0x453da3?(o[_0x3a7288(_0x1c9b52._0x2886be)](_0x39e373[_0x3a7288(_0x1c9b52._0x46b871)],{'schemaName':_0x1e9e8f,'listenerCount':_0x453da3['lengt'+'h']}),_0x453da3[_0x3a7288(0x304)+'ch']((_0x2a5ed6,_0x4125ad)=>{const _0x39457e=_0x3a7288,_0x4efb3f={'yuvle':function(_0x4eb443,_0x17d632){const _0x16afda=_0x47f7;return _0x39e373[_0x16afda(0xb84)](_0x4eb443,_0x17d632);},'BDBDV':_0x39e373[_0x39457e(_0x4766db._0x56e2aa)]};if(_0x39e373['XopmL']!==_0x39e373[_0x39457e(0x45f)])try{_0x39e373[_0x39457e(0xb06)](_0x2a5ed6,_0x57d2fb),o[_0x39457e(0x2d7)](_0x39e373[_0x39457e(_0x4766db._0x2174ef)],{'schemaName':_0x1e9e8f,'listenerIndex':_0x4125ad});}catch(_0x5917fa){o[_0x39457e(_0x4766db._0xd17ce1)](_0x39e373['LcUBu'],{'schemaName':_0x1e9e8f,'listenerIndex':_0x4125ad,'error':_0x5917fa[_0x39457e(_0x4766db._0x29e240)+'ge']});}else{var _0x5e254c;const _0xdc2fc0=_0x5635a3[_0x39457e(_0x4766db._0xac7968)](this[_0x39457e(0x495)+_0x39457e(0x67b)+'igura'+_0x39457e(0xa28)]),_0x241883=(_0x4efb3f[_0x39457e(0x95a)](_0x5e254c=this['schem'+'aMana'+_0x39457e(_0x4766db._0x10faf9)],null)||_0x4efb3f[_0x39457e(_0x4766db._0x243b9c)](_0x5e254c,void(0xf67*-0x1+0x1*0xaaf+0x4b8))?void(-0x1658+-0x218d*-0x1+0x97*-0x13):_0x5e254c[_0x39457e(0xcbd)+'lSche'+_0x39457e(_0x4766db._0x21ddd7)+'s']())||[],_0x3ae388=[...new _0x5dae96([..._0xdc2fc0,..._0x241883])];return _0x9a8a44[_0x39457e(_0x4766db._0x413578)](_0x4efb3f['BDBDV'],{'internalCount':_0xdc2fc0[_0x39457e(_0x4766db._0x4efe5c)+'h'],'externalCount':_0x241883['lengt'+'h'],'totalUnique':_0x3ae388['lengt'+'h']}),_0x3ae388;}})):o['trace'](_0x3a7288(_0x1c9b52._0x59782d)+_0x3a7288(0x4b6)+_0x3a7288(0x6ff)+_0x3a7288(_0x1c9b52._0x3b55d8)+'fy\x20fo'+_0x3a7288(0xa41)+_0x3a7288(0x969)+_0x3a7288(_0x1c9b52._0x327ddf)+_0x3a7288(_0x1c9b52._0x40721c)+_0x3a7288(_0x1c9b52._0x13f42d),{'schemaName':_0x1e9e8f});}static async[_0x441e35(0xac1)+_0x441e35(0x4ef)+_0x441e35(0x85d)+_0x441e35(0x906)](){const _0x5272e6={_0x56127e:0x96a,_0x7d3577:0x642,_0x356cf4:0x969,_0x3ed8dc:0xc36,_0x165799:0x996,_0x19e891:0xaee,_0x5897a8:0x712,_0x1f6fd8:0x3ea,_0x279537:0x6a7,_0x5c2efd:0x6a7,_0x124bbc:0x475,_0x29ad81:0xc36,_0x2cb0db:0x5cb,_0x21fc06:0x25e,_0x2150d9:0x74b,_0x41b9e1:0x6a7,_0x246b5c:0xa28,_0x56875d:0x2c6,_0x1c18f6:0x24a,_0x268f75:0x85d,_0x2fdcab:0x589,_0x311cf7:0x39d,_0x19ed8c:0x6a7},_0x3121e2={_0xb35fb6:0x8d1,_0x4f4f6e:0xac1,_0x315707:0x2f0,_0x1125f5:0x850,_0x34f525:0x4d9,_0x5aec96:0x850,_0x358c38:0x4d3,_0x35fc22:0x597,_0x2e626d:0xbf8,_0x3f9555:0x671},_0x2f2df4=_0x441e35,_0x36e3d2={'XsjdW':function(_0x1b8a86,_0x4c120d){return _0x1b8a86===_0x4c120d;},'OQXrL':_0x2f2df4(0xb3f)+_0x2f2df4(0x601)+_0x2f2df4(0xaad)+'e\x20con'+'necti'+'on','aOWFl':_0x2f2df4(0xb0a),'NUCly':'Error'+_0x2f2df4(0x42e)+'ing\x20d'+_0x2f2df4(_0x5272e6._0x56127e)+_0x2f2df4(0x24a)+_0x2f2df4(0x85d)+'ion','nhVAQ':'Closi'+_0x2f2df4(_0x5272e6._0x7d3577)+_0x2f2df4(0x590)+_0x2f2df4(_0x5272e6._0x356cf4)+_0x2f2df4(_0x5272e6._0x3ed8dc)+_0x2f2df4(_0x5272e6._0x165799)+'ns','WiDja':_0x2f2df4(0xb05)+_0x2f2df4(_0x5272e6._0x19e891)+_0x2f2df4(0xc6e)+_0x2f2df4(_0x5272e6._0x56127e)+'se\x20li'+_0x2f2df4(_0x5272e6._0x5897a8)+_0x2f2df4(_0x5272e6._0x1f6fd8)+_0x2f2df4(0x7a8)+_0x2f2df4(0x9a8)+_0x2f2df4(_0x5272e6._0x279537)+'tion'};if(this['isClo'+'singC'+_0x2f2df4(_0x5272e6._0x5c2efd)+_0x2f2df4(0xa28)]){o['debug'](_0x2f2df4(0x3a8)+_0x2f2df4(0xa1b)+_0x2f2df4(_0x5272e6._0x124bbc)+_0x2f2df4(_0x5272e6._0x29ad81)+_0x2f2df4(_0x5272e6._0x165799)+_0x2f2df4(0x804)+_0x2f2df4(0x744)+'ng');return;}o[_0x2f2df4(_0x5272e6._0x2cb0db)](_0x36e3d2[_0x2f2df4(_0x5272e6._0x21fc06)],{'connectionCount':Object['keys'](this[_0x2f2df4(0x8f3)+_0x2f2df4(0x2c6)+'s'])[_0x2f2df4(0x4b2)+'h']}),this[_0x2f2df4(_0x5272e6._0x2150d9)+'singC'+_0x2f2df4(_0x5272e6._0x41b9e1)+_0x2f2df4(_0x5272e6._0x246b5c)]=!(0x7*-0x25f+-0x1f0a*0x1+0x2fa3);try{const _0x1f75e1=Object['keys'](this[_0x2f2df4(0x8f3)+'ction'+'s']);_0x1f75e1[_0x2f2df4(0x304)+'ch'](_0x177a0e=>this['activ'+_0x2f2df4(0xab2)+_0x2f2df4(0x292)]['add'](_0x177a0e)),o['debug'](_0x36e3d2[_0x2f2df4(0x81a)],{'activeDatabases':_0x1f75e1});const _0x2cfb52=Object['entri'+'es'](this[_0x2f2df4(0x8f3)+_0x2f2df4(0x2c6)+'s'])['map'](async([_0x3e5d37,_0x2bf2de])=>{const _0x112b4a=_0x2f2df4;if('BNypC'===_0x112b4a(0x77d))try{o[_0x112b4a(0x64d)](_0x36e3d2['OQXrL'],{'dbKey':_0x3e5d37}),await _0x2bf2de[_0x112b4a(0xac1)](),o[_0x112b4a(0x2d7)](_0x112b4a(0x34c)+_0x112b4a(0x6ba)+_0x112b4a(0x6a7)+_0x112b4a(_0x3121e2._0xb35fb6)+_0x112b4a(_0x3121e2._0x4f4f6e)+'d',{'dbKey':_0x3e5d37});}catch(_0x4989d8){if(_0x36e3d2[_0x112b4a(_0x3121e2._0x315707)]!==_0x112b4a(0x287))o[_0x112b4a(_0x3121e2._0x1125f5)](_0x36e3d2['NUCly'],{'dbKey':_0x3e5d37,'error':_0x4989d8[_0x112b4a(0x6d8)+'ge']});else{if(!((_0x4ae9e5=_0x4a0ac0['messa'+'ge'])===null||_0x36e3d2[_0x112b4a(0xbb7)](_0x1791af,void(0x89*0x7+0xe73*0x1+0x1*-0x1232)))&&_0x1e28a0[_0x112b4a(0x937)+_0x112b4a(0x2b3)](_0x112b4a(0x699)+_0x112b4a(0x50f)+_0x112b4a(_0x3121e2._0x34f525)+'\x20data')){const _0x349e36=_0x3d31a8['run'](..._0x3837d1);return{'rows':[],'rowsAffected':0x0,'lastInsertRowId':0x0};}throw _0x6cb19;}}else _0x3ccc6c[_0x112b4a(_0x3121e2._0x5aec96)](_0x112b4a(_0x3121e2._0x358c38)+_0x112b4a(_0x3121e2._0x35fc22)+_0x112b4a(_0x3121e2._0x2e626d)+'r]\x20Tr'+_0x112b4a(0x917)+'rt\x20'+_0x4e6cff['name']+(_0x112b4a(_0x3121e2._0x3f9555)+_0x112b4a(0x23b)),_0x77c6ea);});await Promise['all'](_0x2cfb52),this[_0x2f2df4(0x8f3)+_0x2f2df4(_0x5272e6._0x56875d)+'s']={},o[_0x2f2df4(_0x5272e6._0x2cb0db)]('All\x20d'+'ataba'+_0x2f2df4(_0x5272e6._0x1c18f6)+_0x2f2df4(_0x5272e6._0x268f75)+_0x2f2df4(_0x5272e6._0x2fdcab)+_0x2f2df4(0xac1)+_0x2f2df4(_0x5272e6._0x311cf7)+_0x2f2df4(0xc2c)+'ully');}finally{this[_0x2f2df4(_0x5272e6._0x2150d9)+_0x2f2df4(0xb50)+_0x2f2df4(_0x5272e6._0x19ed8c)+_0x2f2df4(0xa28)]=!(0x19fd+0x17a8+-0x4*0xc69);}}static async[_0x441e35(0xcef)+_0x441e35(0x71f)+_0x441e35(0x996)+'ns'](){const _0x283ce8={_0x187490:0x5a2,_0x2d311b:0x342,_0x1b3328:0x9bb,_0x5d871a:0x5c1,_0x11c5ea:0x93e,_0x40ffe7:0x351,_0x118f3e:0xcb7,_0x3adf41:0xa53,_0xf7c5cb:0x96a,_0x408e6c:0x6ba,_0x56df58:0xabb,_0x1f66d3:0x969,_0x4e2408:0x342,_0x120f94:0x9bb,_0x11c85c:0xbb6,_0x59b0bb:0x87e,_0x39e370:0x6a7,_0x46ac1f:0x6f9,_0x21fba6:0x906,_0x1cf9e8:0xc98,_0x5081ad:0x767,_0x50d1a2:0x292,_0x3728dd:0x4bd,_0x3523cf:0xa9a,_0x414e90:0xaad,_0xfc2b76:0x2d7,_0x1531fe:0x1f0,_0x4c0b08:0x23a,_0x32a21b:0x32a,_0xf650a1:0x4b6,_0x50213c:0x944,_0x4dbb89:0xa51,_0x756c68:0x2f1,_0x35e70b:0x7d7,_0x59574e:0xbf5,_0x37403c:0xca6,_0x7454cb:0xc0b,_0x1882de:0xa1f,_0x343151:0x5cb,_0xfdc8cd:0x34c,_0x3293c5:0x6a7,_0x53fb25:0xcef,_0xa70712:0x850,_0x33961e:0x83d,_0x2be91e:0xcef,_0x49f3fd:0x663,_0x31333d:0x969,_0x493cb6:0xc45,_0x36f75c:0x209},_0x398b2d=_0x441e35,_0x22ac57={'EZZPu':'NOT\x20B'+_0x398b2d(_0x283ce8._0x187490)+'N','EnzOw':_0x398b2d(_0x283ce8._0x2d311b)+'ning\x20'+_0x398b2d(_0x283ce8._0x1b3328)+_0x398b2d(0x6ba)+'onnec'+_0x398b2d(0xb76),'DaeKv':_0x398b2d(_0x283ce8._0x5d871a)+'a\x20not'+_0x398b2d(_0x283ce8._0x11c5ea)+'d\x20for'+_0x398b2d(_0x283ce8._0x40ffe7)+_0x398b2d(_0x283ce8._0x118f3e)+_0x398b2d(_0x283ce8._0x3adf41)+'ive\x20d'+_0x398b2d(_0x283ce8._0xf7c5cb)+'se','yCnkb':_0x398b2d(0x34c)+_0x398b2d(_0x283ce8._0x408e6c)+'onnec'+_0x398b2d(0xa28)+_0x398b2d(0x2a6)+'ened\x20'+'succe'+'ssful'+'ly','oWOxb':_0x398b2d(_0x283ce8._0x56df58)+'d\x20to\x20'+'reope'+'n\x20dat'+_0x398b2d(_0x283ce8._0x1f66d3)+'\x20conn'+'ectio'+'ns'};o[_0x398b2d(0x5cb)](_0x398b2d(_0x283ce8._0x4e2408)+_0x398b2d(0xa09)+_0x398b2d(_0x283ce8._0x120f94)+_0x398b2d(0x6ba)+_0x398b2d(0x6a7)+'tions');try{await this[_0x398b2d(_0x283ce8._0x11c85c)+_0x398b2d(0x53d)+_0x398b2d(_0x283ce8._0x59b0bb)+_0x398b2d(_0x283ce8._0x39e370)+'tion'](),this['curre'+_0x398b2d(0x91c)+'rRole'+'s'][_0x398b2d(0x4b2)+'h']>-0x268a+0xb*-0x1c3+0x39eb&&await this['initi'+_0x398b2d(0x53d)+_0x398b2d(_0x283ce8._0x46ac1f)+'oleCo'+_0x398b2d(0x85d)+_0x398b2d(_0x283ce8._0x21fba6)]();const _0x5468c3=Array[_0x398b2d(_0x283ce8._0x1cf9e8)](this[_0x398b2d(_0x283ce8._0x5081ad)+_0x398b2d(0xab2)+_0x398b2d(_0x283ce8._0x50d1a2)]);if(o['debug'](_0x398b2d(0x98a)+_0x398b2d(_0x283ce8._0x3728dd)+_0x398b2d(0x7c6)+'previ'+_0x398b2d(_0x283ce8._0x3523cf)+_0x398b2d(0x9f5)+_0x398b2d(0x690)+_0x398b2d(_0x283ce8._0x414e90)+'es',{'activeDatabases':_0x5468c3}),_0x5468c3[_0x398b2d(0x4b2)+'h']>-0xaf1+0x5*0x41c+0x1*-0x99b){for(const _0x4c3c0c of _0x5468c3)if(this[_0x398b2d(0x8f3)+_0x398b2d(0x2c6)+'s'][_0x4c3c0c])this[_0x398b2d(0x8f3)+_0x398b2d(0x2c6)+'s'][_0x4c3c0c]&&(o[_0x398b2d(_0x283ce8._0xfc2b76)](_0x398b2d(0x34c)+_0x398b2d(_0x283ce8._0x1531fe)+_0x398b2d(0x90c)+_0x398b2d(_0x283ce8._0x4c0b08)+'necte'+_0x398b2d(0x935)+_0x398b2d(0xb95)+_0x398b2d(_0x283ce8._0x32a21b)+_0x398b2d(_0x283ce8._0xf650a1)+'rs',{'dbKey':_0x4c3c0c}),this[_0x398b2d(_0x283ce8._0x50213c)+'yData'+_0x398b2d(0xc0b)+_0x398b2d(_0x283ce8._0x4dbb89)+'ect'](_0x4c3c0c,this['conne'+'ction'+'s'][_0x4c3c0c]));else{const _0x4d460b=this['getSc'+_0x398b2d(0x915)](_0x4c3c0c);if(_0x4d460b)try{if(_0x398b2d(0xba8)===_0x398b2d(_0x283ce8._0x756c68))return this[_0x398b2d(0x545)+'Condi'+'tions'][_0x398b2d(_0x283ce8._0x35e70b)]({'field':_0x1bdb48,'operator':_0x22ac57[_0x398b2d(0x626)],'value':[_0x3788dc,_0x5a2251]}),this;else{o[_0x398b2d(0x64d)](_0x22ac57[_0x398b2d(0x72e)],{'dbKey':_0x4c3c0c});const _0x27fd19=await T[_0x398b2d(_0x283ce8._0x59574e)+_0x398b2d(_0x283ce8._0x37403c)+'en']({'config':_0x4d460b},!(-0x29*-0xa7+0x1*0x1931+0x1*-0x33ef));await _0x27fd19['conne'+'ct'](),this['conne'+_0x398b2d(0x2c6)+'s'][_0x4c3c0c]=_0x27fd19,this[_0x398b2d(_0x283ce8._0x50213c)+'yData'+_0x398b2d(_0x283ce8._0x7454cb)+_0x398b2d(_0x283ce8._0x4dbb89)+_0x398b2d(_0x283ce8._0x1882de)](_0x4c3c0c,_0x27fd19),o[_0x398b2d(_0x283ce8._0x343151)](_0x398b2d(_0x283ce8._0xfdc8cd)+'ase\x20c'+_0x398b2d(_0x283ce8._0x3293c5)+'tion\x20'+_0x398b2d(_0x283ce8._0x53fb25)+'ned',{'dbKey':_0x4c3c0c});}}catch(_0x5c6813){o[_0x398b2d(_0x283ce8._0xa70712)](_0x398b2d(0xabb)+_0x398b2d(_0x283ce8._0x33961e)+_0x398b2d(_0x283ce8._0x2be91e)+_0x398b2d(_0x283ce8._0x49f3fd)+_0x398b2d(_0x283ce8._0x31333d)+_0x398b2d(0xc36)+_0x398b2d(0x996)+'n',{'dbKey':_0x4c3c0c,'error':_0x5c6813[_0x398b2d(0x6d8)+'ge']});}else o[_0x398b2d(_0x283ce8._0x493cb6)](_0x22ac57['DaeKv'],{'dbKey':_0x4c3c0c});}}o[_0x398b2d(0x5cb)](_0x22ac57[_0x398b2d(_0x283ce8._0x36f75c)]);}catch(_0x38d37c){throw o['error'](_0x22ac57['oWOxb'],{'error':_0x38d37c[_0x398b2d(0x6d8)+'ge']}),_0x38d37c;}}static async[_0x441e35(0x8b4)+_0x441e35(0xab2)+_0x441e35(0x7b3)+_0x441e35(0x6a7)+_0x441e35(0xb76)](_0x25aadc){const _0x2aabdb={_0x11cafd:0x34c,_0xd7951:0x6ba,_0x29ff99:0x6a7,_0x4197c6:0xc08,_0xe96c5d:0x40d,_0x5c4f12:0x4e6,_0x195c23:0x85d,_0x26b157:0x411,_0x342140:0x93a,_0x23ccf8:0xcd4,_0x12d8c9:0x44b,_0x3302bd:0xc68,_0x4ab89e:0x24a,_0x43f69b:0xa50,_0xe12fe7:0x767,_0x3b241d:0x268,_0x1e3155:0x4cf,_0x11e522:0x709,_0x2d7511:0x28e,_0x1721ac:0xb9d,_0x202c45:0x362,_0x50d72e:0x632,_0x150b01:0x34c,_0x30c71a:0x584,_0x261d76:0x583,_0xaf15bf:0xa18,_0x3e591c:0x28e,_0x2fba23:0x2d7,_0x5182cd:0x8f3,_0x73f12a:0xc45,_0x291d54:0x7d3,_0x2b587d:0x6e7,_0x27f705:0x6e7,_0x2995e0:0x359,_0x717951:0xac1,_0x5a9fcd:0xad3,_0x1870f0:0x6d8,_0x2f3e4c:0x21b,_0x4ee5fc:0x776,_0xd2f0bf:0x8f3,_0x2665cb:0x850,_0x573455:0x1ec,_0x3273ac:0x8f3,_0x89b2d7:0x64d},_0x5e01d6=_0x441e35,_0x112f54={'XbPxC':function(_0x42bde1,_0x7c0f0){return _0x42bde1==_0x7c0f0;},'BTnUm':function(_0x2c0b8b,_0x7d8c08){return _0x2c0b8b(_0x7d8c08);},'xSNfq':_0x5e01d6(_0x2aabdb._0x11cafd)+_0x5e01d6(_0x2aabdb._0xd7951)+_0x5e01d6(_0x2aabdb._0x29ff99)+_0x5e01d6(0x8d1)+_0x5e01d6(0x22a)+_0x5e01d6(0xc31)+_0x5e01d6(_0x2aabdb._0x4197c6),'XPGOI':function(_0x99fa6,_0x32c435){return _0x99fa6===_0x32c435;},'gwLNv':_0x5e01d6(_0x2aabdb._0xe96c5d),'FyQZU':_0x5e01d6(_0x2aabdb._0x5c4f12)+'\x20duri'+'ng\x20co'+_0x5e01d6(_0x2aabdb._0x195c23)+'ion\x20c'+_0x5e01d6(_0x2aabdb._0x26b157)+'p','anuGe':_0x5e01d6(_0x2aabdb._0x342140)+_0x5e01d6(_0x2aabdb._0x23ccf8)+_0x5e01d6(_0x2aabdb._0x12d8c9)+'tabas'+_0x5e01d6(_0x2aabdb._0x3302bd)+_0x5e01d6(0x28e)+'on'};if(o['debug'](_0x5e01d6(0xba9)+_0x5e01d6(0xa64)+'ataba'+_0x5e01d6(_0x2aabdb._0x4ab89e)+_0x5e01d6(0x85d)+_0x5e01d6(_0x2aabdb._0x43f69b),{'key':_0x25aadc}),this[_0x5e01d6(_0x2aabdb._0xe12fe7)+'eData'+'bases'][_0x5e01d6(_0x2aabdb._0x3b241d)](_0x25aadc),!this[_0x5e01d6(0x86d)+_0x5e01d6(0x6b9)+_0x5e01d6(_0x2aabdb._0x1e3155)+_0x5e01d6(0x5e6)](_0x25aadc))throw o[_0x5e01d6(0x850)]('Acces'+_0x5e01d6(0x362)+_0x5e01d6(0xa70)+_0x5e01d6(_0x2aabdb._0x11e522)+_0x5e01d6(0x912)+'ng\x20da'+_0x5e01d6(0xaad)+'e\x20con'+_0x5e01d6(_0x2aabdb._0x2d7511)+'on',{'key':_0x25aadc}),new Error(_0x5e01d6(_0x2aabdb._0x1721ac)+_0x5e01d6(_0x2aabdb._0x202c45)+_0x5e01d6(_0x2aabdb._0x50d72e)+_0x5e01d6(_0x2aabdb._0x150b01)+_0x5e01d6(0x82f)+_0x25aadc+(_0x5e01d6(0xb04)+_0x5e01d6(_0x2aabdb._0x30c71a)+_0x5e01d6(_0x2aabdb._0x261d76)+_0x5e01d6(_0x2aabdb._0xaf15bf)));if(this['conne'+'ction'+'s'][_0x25aadc])try{if(this['conne'+_0x5e01d6(0x2c6)+'s'][_0x25aadc]['isCon'+_0x5e01d6(_0x2aabdb._0x3e591c)+_0x5e01d6(0xc6d)+'n']())return o[_0x5e01d6(_0x2aabdb._0x2fba23)](_0x112f54['xSNfq'],{'key':_0x25aadc}),this[_0x5e01d6(_0x2aabdb._0x5182cd)+'ction'+'s'][_0x25aadc];o[_0x5e01d6(_0x2aabdb._0x73f12a)](_0x5e01d6(0x34c)+'ase\x20c'+_0x5e01d6(_0x2aabdb._0x29ff99)+'tion\x20'+'inact'+'ive,\x20'+_0x5e01d6(_0x2aabdb._0x291d54)+_0x5e01d6(0x8f4)+'p',{'key':_0x25aadc});try{if(_0x5e01d6(_0x2aabdb._0x2b587d)!==_0x5e01d6(_0x2aabdb._0x27f705))return _0x51a599['insta'+_0x5e01d6(_0x2aabdb._0x2995e0)]?_0x48dcc0[_0x5e01d6(0x467)+_0x5e01d6(_0x2aabdb._0x2995e0)]:_0x357f09[_0x5e01d6(0xbb6)+_0x5e01d6(0x53d)]();else await this[_0x5e01d6(0x8f3)+_0x5e01d6(0x2c6)+'s'][_0x25aadc][_0x5e01d6(_0x2aabdb._0x717951)]()[_0x5e01d6(0x538)](()=>{});}catch(_0x1beeaf){if(_0x112f54[_0x5e01d6(_0x2aabdb._0x5a9fcd)](_0x112f54['gwLNv'],_0x5e01d6(0x40d)))o[_0x5e01d6(0x64d)](_0x112f54[_0x5e01d6(0x85e)],{'key':_0x25aadc,'error':_0x1beeaf[_0x5e01d6(_0x2aabdb._0x1870f0)+'ge']});else{if(_0x112f54[_0x5e01d6(0x845)](typeof _0x1430bc,_0x5e01d6(_0x2aabdb._0x2f3e4c)+'an'))return _0x35cc1e?0x23c0+0x2f*-0xb9+0x4c*-0x6:0x2*0xcc0+-0x16*0x8d+-0xd62;const _0x35bb9f=_0x112f54[_0x5e01d6(0x776)](_0x59ee19,_0x112f54[_0x5e01d6(_0x2aabdb._0x4ee5fc)](_0x202495,_0x2f688c));return _0x5ced77(_0x35bb9f)?null:_0x35bb9f;}}delete this[_0x5e01d6(_0x2aabdb._0xd2f0bf)+'ction'+'s'][_0x25aadc];}catch(_0x44d670){o[_0x5e01d6(_0x2aabdb._0x2665cb)](_0x5e01d6(0x4e6)+_0x5e01d6(_0x2aabdb._0x573455)+'king\x20'+_0x5e01d6(_0x2aabdb._0xd2f0bf)+_0x5e01d6(0x2c6)+'\x20stat'+'us',{'key':_0x25aadc,'error':_0x44d670[_0x5e01d6(0x6d8)+'ge']}),delete this[_0x5e01d6(_0x2aabdb._0x3273ac)+'ction'+'s'][_0x25aadc];}return o[_0x5e01d6(_0x2aabdb._0x89b2d7)](_0x112f54[_0x5e01d6(0x39a)],{'key':_0x25aadc}),await this[_0x5e01d6(0x33a)+'zyLoa'+_0x5e01d6(0xbdc)](_0x25aadc);}static[_0x441e35(0x41d)+_0x441e35(0x85d)+_0x441e35(0x906)](){const _0x13f9e6={_0x560522:0x28e,_0x4b1e1f:0x54f,_0x15abe8:0x2c6,_0x4b474a:0x4b2,_0x177a10:0x5ca},_0x215a03=_0x441e35;return o[_0x215a03(0x2d7)](_0x215a03(0x77e)+'ng\x20al'+'l\x20con'+_0x215a03(_0x13f9e6._0x560522)+'ons',{'count':Object[_0x215a03(_0x13f9e6._0x4b1e1f)](this[_0x215a03(0x8f3)+_0x215a03(_0x13f9e6._0x15abe8)+'s'])[_0x215a03(_0x13f9e6._0x4b474a)+'h']}),Object[_0x215a03(_0x13f9e6._0x177a10)+'n']({},this[_0x215a03(0x8f3)+_0x215a03(0x2c6)+'s']);}static async[_0x441e35(0x6aa)+_0x441e35(0x7ba)+_0x441e35(0xa4d)](_0x52b9a2){const _0x32cbd8={_0x25d3bc:0x2f3,_0x19cf3f:0x9c2,_0x304fdf:0x3a5,_0x165319:0x9f8,_0x6fd8a3:0x281,_0x13b881:0x5cb,_0x1df3b7:0x64d,_0x4f391f:0x774,_0x30f8ac:0x601,_0x5d6cbe:0x8b6,_0x447ea7:0x915,_0x2c52ab:0xae5,_0x2fd0cb:0x87b,_0x505bdf:0x954,_0x472cdd:0x402,_0x15fa27:0x471,_0x2c54c9:0x71d,_0x3b42f3:0xcb4,_0x2c6681:0x2c6,_0x524068:0x3c3,_0x5f538c:0x5f2,_0x50c14c:0x433,_0xe66f01:0x269,_0x3b280e:0x231,_0x42b2d6:0x969,_0x4f0e30:0x83d,_0x2ee97b:0xc6c,_0x271f73:0xcc6,_0x19e789:0x969,_0xfc4fb:0x924,_0x5d3f1a:0xb14,_0x3cb415:0x45d,_0xfbbc2f:0x74a,_0x18dcf8:0x1dd,_0x517ed0:0x6c0,_0x486761:0xb73,_0x3bc325:0x4b2},_0x15d077=_0x441e35,_0x5a6ca1={'NbJEG':_0x15d077(_0x32cbd8._0x25d3bc)+_0x15d077(_0x32cbd8._0x19cf3f)+_0x15d077(_0x32cbd8._0x304fdf)+_0x15d077(_0x32cbd8._0x165319)+':','NWtiO':'Openi'+_0x15d077(0x642)+_0x15d077(0x422)+'sting'+_0x15d077(_0x32cbd8._0x6fd8a3)+_0x15d077(0x292),'IvIvd':function(_0x71a3cd,_0x32d8b1){return _0x71a3cd>_0x32d8b1;},'EmbJe':_0x15d077(0xaf4)};o[_0x15d077(_0x32cbd8._0x13b881)](_0x5a6ca1[_0x15d077(0x9d0)],{'databaseKeys':_0x52b9a2});const _0x431e2b=[];for(const _0x24eddb of _0x52b9a2)try{o[_0x15d077(_0x32cbd8._0x1df3b7)](_0x15d077(_0x32cbd8._0x4f391f)+_0x15d077(_0x32cbd8._0x30f8ac)+'tabas'+'e',{'key':_0x24eddb});const _0x15c6ab=this[_0x15d077(_0x32cbd8._0x5d6cbe)+_0x15d077(_0x32cbd8._0x447ea7)](_0x24eddb);if(!_0x15c6ab)throw new Error(_0x15d077(0x610)+_0x15d077(_0x32cbd8._0x2c52ab)+_0x15d077(0xaad)+_0x15d077(_0x32cbd8._0x2fd0cb)+':\x20'+_0x24eddb+(_0x15d077(_0x32cbd8._0x505bdf)+_0x15d077(_0x32cbd8._0x472cdd)+_0x15d077(_0x32cbd8._0x15fa27)+_0x15d077(_0x32cbd8._0x2c54c9)));const _0x4ad592=await T['creat'+_0x15d077(0xca6)+'en']({'config':_0x15c6ab},!(0x1832+-0x1b2*-0x2+-0x1b95));await _0x4ad592[_0x15d077(0x50a)+'te']('PRAGM'+_0x15d077(_0x32cbd8._0x3b42f3)+'egrit'+_0x15d077(0x752)+'ck'),this['conne'+_0x15d077(_0x32cbd8._0x2c6681)+'s'][_0x24eddb]=_0x4ad592,o[_0x15d077(_0x32cbd8._0x13b881)]('Datab'+_0x15d077(_0x32cbd8._0x524068)+_0x15d077(_0x32cbd8._0x5f538c)+'\x20succ'+_0x15d077(0xb73)+'lly',{'key':_0x24eddb,'schemaName':_0x15c6ab[_0x15d077(0x9bb)+_0x15d077(0x453)+_0x15d077(0x9f2)]});}catch(_0x5bb639){const _0x34a990=_0x5bb639 instanceof Error?_0x5bb639:new Error(String(_0x5bb639));o[_0x15d077(0x850)]('Faile'+_0x15d077(0x83d)+'open\x20'+_0x15d077(0x9bb)+_0x15d077(0x4ea),{'key':_0x24eddb,'error':_0x34a990[_0x15d077(0x6d8)+'ge']}),_0x431e2b[_0x15d077(0x7d7)]({'key':_0x24eddb,'error':_0x34a990});}if(_0x5a6ca1[_0x15d077(0x90b)](_0x431e2b[_0x15d077(0x4b2)+'h'],-0x1b96+0xa93*0x3+-0x423)){if(_0x5a6ca1['EmbJe']===_0x5a6ca1[_0x15d077(_0x32cbd8._0x50c14c)]){const _0x628d24=_0x431e2b[_0x15d077(_0x32cbd8._0xe66f01)](_0x2674ea=>_0x15d077(0xa20)+_0x2674ea[_0x15d077(0x762)]+':\x20'+_0x2674ea[_0x15d077(0x850)][_0x15d077(0x6d8)+'ge'])[_0x15d077(_0x32cbd8._0x3b280e)]('\x0a');throw o[_0x15d077(0x850)](_0x15d077(0xabb)+'d\x20to\x20'+_0x15d077(0x4e0)+_0x15d077(0xc6c)+_0x15d077(0x5b0)+'e\x20dat'+_0x15d077(_0x32cbd8._0x42b2d6)+'s',{'failedDatabases':_0x431e2b['map'](_0x151c49=>_0x151c49['key']),'errorSummary':_0x628d24}),new Error(_0x15d077(0xabb)+_0x15d077(_0x32cbd8._0x4f0e30)+_0x15d077(0x4e0)+_0x15d077(_0x32cbd8._0x2ee97b)+_0x15d077(0x5b0)+_0x15d077(_0x32cbd8._0x271f73)+_0x15d077(_0x32cbd8._0x19e789)+_0x15d077(_0x32cbd8._0xfc4fb)+_0x628d24);}else{const _0x4f753a=_0xb39091['run'](..._0x570ed9);return _0x122d2a[_0x15d077(0x64d)](_0x5a6ca1[_0x15d077(_0x32cbd8._0x5d3f1a)],{'changes':_0x4f753a[_0x15d077(0x6d4)+'es'],'lastInsertRowid':_0x4f753a[_0x15d077(_0x32cbd8._0x3cb415)+_0x15d077(_0x32cbd8._0xfbbc2f)+_0x15d077(0xb62)]}),{'rows':[],'rowsAffected':_0x4f753a[_0x15d077(0x6d4)+'es']||0x4*0x323+-0x1a27+-0x489*-0x3,'lastInsertRowId':_0x4f753a[_0x15d077(_0x32cbd8._0x3cb415)+_0x15d077(0x74a)+'Rowid']||void(-0x131c+0x1fd2*-0x1+0x32ee)};}}return this[_0x15d077(0x37c)+_0x15d077(0x4bd)+_0x15d077(_0x32cbd8._0x18dcf8)]=!(0x1187*-0x2+0xef3*-0x2+0x40f4),o[_0x15d077(0x5cb)](_0x15d077(0x8bb)+'ataba'+_0x15d077(_0x32cbd8._0x517ed0)+'pened'+_0x15d077(0xb0c)+_0x15d077(_0x32cbd8._0x486761)+'lly',{'count':_0x52b9a2[_0x15d077(_0x32cbd8._0x3bc325)+'h']}),!(-0x538*0x5+-0x1e+0x3d*0x6e);}static async[_0x441e35(0xaaf)+_0x441e35(0x9e5)+_0x441e35(0x915)](_0x2a9764){const _0x266c57={_0x1f4a99:0x63e,_0x351af7:0x58c,_0x347549:0xbd1,_0x4f06af:0x862,_0x3de9fb:0xbb6,_0x5defa8:0x281,_0x44c46e:0xae5,_0x446f95:0x87b,_0xf695a6:0xa60,_0x152c48:0x4a9,_0x4bd97b:0x941,_0x6b1854:0x2fe,_0x220e52:0x225,_0x1699d6:0x4b2,_0x3217ea:0xae5,_0x45b632:0xaad,_0x378b09:0xb7d,_0x3b9433:0x231,_0x29b846:0xa1c,_0x2f648f:0x750,_0x4d49ea:0x2fe,_0x4f144b:0x798,_0x3cd00e:0x85d,_0x4f1321:0x850,_0x2262d9:0x85d,_0x12ad0c:0x29b,_0x2a8c96:0x2c6,_0x36f8a9:0x33b,_0x44f289:0xb98,_0x4fcce2:0x85d,_0x55d2e5:0x996,_0xd0e921:0xca1,_0x4c2efa:0xb7b,_0x1e74d2:0x269,_0x2423e2:0xabb,_0x4c5992:0x83d,_0xb6b28e:0x53d,_0x57ef9d:0xc3a,_0x2c6289:0x8ab,_0x1627c2:0x8f3,_0x3df9de:0x37c,_0x39812f:0x4bd,_0x2cc190:0x1dd,_0x1b077c:0x5cb,_0x144944:0x6e6,_0x1eded1:0x78a},_0x298ad4={_0x52039e:0x7c9,_0xc0c6d1:0x713,_0x4f3184:0x2c6,_0x2c69cf:0x64d,_0x11f9e6:0x601,_0x237e49:0xaad,_0x3b6eaf:0xbf5,_0x14ce10:0xcb4,_0x3363cf:0x447,_0x6dcde9:0x5cb,_0x49dd0a:0x9a7,_0x32b5c4:0x9bb,_0x4e0a72:0x640,_0x2d04ab:0x6d8,_0x52749c:0xcb2,_0x259d53:0x4a1},_0x466e17=_0x441e35,_0x4f6542={'pjSgk':'const'+_0x466e17(_0x266c57._0x1f4a99)+'r','qtFXA':function(_0x3faf28,_0x2e9895){return _0x3faf28===_0x2e9895;},'VNjtX':_0x466e17(_0x266c57._0x351af7),'eIAdF':_0x466e17(0x34c)+_0x466e17(0x1f0)+'lread'+_0x466e17(0x881)+'tiali'+'zed','rrFIx':_0x466e17(0x34c)+_0x466e17(0x408)+_0x466e17(_0x266c57._0x347549)+'lized'+_0x466e17(0xb0c)+'essfu'+_0x466e17(_0x266c57._0x4f06af),'keMSp':function(_0xe1cbf0,_0x472669){return _0xe1cbf0 instanceof _0x472669;},'XgNGP':'Faile'+'d\x20to\x20'+_0x466e17(_0x266c57._0x3de9fb)+_0x466e17(0x53d)+_0x466e17(_0x266c57._0x5defa8)+_0x466e17(0x5e6),'BpHCh':function(_0x4b4740,_0xabab02){return _0x4b4740>_0xabab02;},'idrJF':_0x466e17(0x610)+_0x466e17(_0x266c57._0x44c46e)+_0x466e17(0xaad)+_0x466e17(_0x266c57._0x446f95)+_0x466e17(0x9a2)+'nd','iLzRe':function(_0xcf3d49,_0x77ec7){return _0xcf3d49+_0x77ec7;},'inFzw':_0x466e17(0x80e)+_0x466e17(_0x266c57._0xf695a6)+'ed\x20ma'+_0x466e17(_0x266c57._0x152c48)+_0x466e17(0xc36)+_0x466e17(0x996)+'ns','pOZxe':function(_0x3b3231,_0x411960){return _0x3b3231>_0x411960;},'MGVsS':function(_0xdb28d7,_0x29e442){return _0xdb28d7>_0x29e442;}};o[_0x466e17(0x64d)](_0x466e17(_0x266c57._0x4bd97b)+'alizi'+'ng\x20da'+'tabas'+_0x466e17(0xa03)+_0x466e17(0x57c),{'databaseKeys':_0x2a9764});const _0x2ce2cd=_0x2a9764[_0x466e17(_0x266c57._0x6b1854)+'r'](_0x319d70=>!this['getSc'+'hema'](_0x319d70));if(_0x4f6542[_0x466e17(_0x266c57._0x220e52)](_0x2ce2cd[_0x466e17(_0x266c57._0x1699d6)+'h'],-0x2041*0x1+0x227e+-0x23d))throw o[_0x466e17(0x850)](_0x4f6542['idrJF'],{'invalidKeys':_0x2ce2cd}),new Error(_0x466e17(0x610)+_0x466e17(_0x266c57._0x3217ea)+_0x466e17(_0x266c57._0x45b632)+_0x466e17(0x87b)+_0x466e17(_0x266c57._0x378b09)+_0x2ce2cd[_0x466e17(_0x266c57._0x3b9433)](',\x20')+('.\x20Sch'+'emas\x20'+_0x466e17(_0x266c57._0x29b846)+_0x466e17(_0x266c57._0x2f648f)));const _0x544fb4=_0x2a9764[_0x466e17(_0x266c57._0x4d49ea)+'r'](_0x1ce665=>!this[_0x466e17(0x8f3)+_0x466e17(0x2c6)+'s'][_0x1ce665])[_0x466e17(0x4b2)+'h'],_0xc1cd67=Object[_0x466e17(0x54f)](this[_0x466e17(0x8f3)+_0x466e17(0x2c6)+'s'])[_0x466e17(0x4b2)+'h'];if(_0x4f6542[_0x466e17(_0x266c57._0x4f144b)](_0xc1cd67,_0x544fb4)>this[_0x466e17(0xb98)+_0x466e17(_0x266c57._0x3cd00e)+'ions'])throw o[_0x466e17(_0x266c57._0x4f1321)](_0x4f6542[_0x466e17(0x94f)],{'currentConnections':_0xc1cd67,'newConnections':_0x544fb4,'maxConnections':this[_0x466e17(0xb98)+_0x466e17(_0x266c57._0x2262d9)+_0x466e17(0x906)]}),new Error('Canno'+_0x466e17(_0x266c57._0x12ad0c)+_0x466e17(0x4bd)+_0x466e17(0x53b)+_0x544fb4+(_0x466e17(0x615)+'conne'+_0x466e17(_0x266c57._0x2a8c96)+_0x466e17(0x5a4)+_0x466e17(_0x266c57._0x36f8a9)+_0x466e17(0x866)+_0x466e17(0x31b)+_0x466e17(0x60d)+'f\x20')+this[_0x466e17(_0x266c57._0x44f289)+_0x466e17(_0x266c57._0x4fcce2)+_0x466e17(0x906)]+(_0x466e17(0xc36)+_0x466e17(_0x266c57._0x55d2e5)+_0x466e17(0x50b)+'urren'+_0x466e17(_0x266c57._0xd0e921))+_0xc1cd67);const _0x56a1a9=[],_0x461e90=_0x2a9764[_0x466e17(0x269)](async _0x4acb6d=>{const _0x2c5834=_0x466e17,_0x14e203={'vwhmC':_0x4f6542['pjSgk']};if(_0x4f6542[_0x2c5834(_0x298ad4._0x52039e)](_0x4f6542['VNjtX'],_0x4f6542[_0x2c5834(_0x298ad4._0xc0c6d1)])){if(this['conne'+_0x2c5834(_0x298ad4._0x4f3184)+'s'][_0x4acb6d]){o['trace'](_0x4f6542['eIAdF'],{'key':_0x4acb6d});return;}try{o[_0x2c5834(_0x298ad4._0x2c69cf)](_0x2c5834(0x941)+_0x2c5834(0x824)+_0x2c5834(_0x298ad4._0x11f9e6)+_0x2c5834(_0x298ad4._0x237e49)+'e',{'key':_0x4acb6d});const _0x52b6d2=this['getSc'+_0x2c5834(0x915)](_0x4acb6d),_0x425327=await T[_0x2c5834(_0x298ad4._0x3b6eaf)+_0x2c5834(0xca6)+'en']({'config':_0x52b6d2},!(-0x21b9*0x1+-0x37*-0x7a+0x4a*0x1a));await _0x425327[_0x2c5834(0x50a)+'te'](_0x2c5834(0x30e)+_0x2c5834(_0x298ad4._0x14ce10)+_0x2c5834(_0x298ad4._0x3363cf)+_0x2c5834(0x752)+'ck'),this[_0x2c5834(0x8f3)+_0x2c5834(_0x298ad4._0x4f3184)+'s'][_0x4acb6d]=_0x425327,o[_0x2c5834(_0x298ad4._0x6dcde9)](_0x4f6542[_0x2c5834(_0x298ad4._0x49dd0a)],{'key':_0x4acb6d,'schemaName':_0x52b6d2[_0x2c5834(_0x298ad4._0x32b5c4)+'ase_n'+'ame']});}catch(_0x294fb3){if(_0x2c5834(0x684)===_0x2c5834(0x684)){const _0x118abe=_0x4f6542[_0x2c5834(_0x298ad4._0x4e0a72)](_0x294fb3,Error)?_0x294fb3:new Error(String(_0x294fb3));o[_0x2c5834(0x850)](_0x4f6542[_0x2c5834(0x967)],{'key':_0x4acb6d,'error':_0x118abe[_0x2c5834(_0x298ad4._0x2d04ab)+'ge']}),_0x56a1a9[_0x2c5834(0x7d7)]({'key':_0x4acb6d,'error':_0x118abe});}else typeof this[_0x36c05f]=='funct'+_0x2c5834(0xa50)&&_0x3b2c38!==_0x14e203['vwhmC']&&(this[_0x29894a]=this[_0x2342f1][_0x2c5834(_0x298ad4._0x52749c)](this));}}else this[_0x2c5834(_0x298ad4._0x259d53)+'eName']=_0x20f95f;});if(await Promise[_0x466e17(_0x266c57._0x4c2efa)](_0x461e90),_0x4f6542[_0x466e17(0xc87)](_0x56a1a9['lengt'+'h'],0x4e5*0x7+-0x8*0x2bd+-0xc5b*0x1)){const _0x4b70cf=_0x56a1a9[_0x466e17(_0x266c57._0x1e74d2)](_0x48a609=>'\x20\x20-\x20'+_0x48a609[_0x466e17(0x762)]+':\x20'+_0x48a609[_0x466e17(0x850)]['messa'+'ge'])[_0x466e17(0x231)]('\x0a');throw o[_0x466e17(0x850)](_0x466e17(_0x266c57._0x2423e2)+_0x466e17(_0x266c57._0x4c5992)+_0x466e17(0xbb6)+_0x466e17(_0x266c57._0xb6b28e)+'\x20one\x20'+'or\x20mo'+'re\x20da'+_0x466e17(0xaad)+'es',{'failedDatabases':_0x56a1a9[_0x466e17(0x269)](_0x42c1c9=>_0x42c1c9[_0x466e17(0x762)]),'errorSummary':_0x4b70cf}),new Error(_0x466e17(_0x266c57._0x2423e2)+_0x466e17(_0x266c57._0x4c5992)+'initi'+_0x466e17(_0x266c57._0xb6b28e)+_0x466e17(0x7c5)+'or\x20mo'+'re\x20da'+'tabas'+_0x466e17(_0x266c57._0x57ef9d)+_0x4b70cf);}return _0x4f6542[_0x466e17(_0x266c57._0x2c6289)](Object[_0x466e17(0x54f)](this[_0x466e17(_0x266c57._0x1627c2)+_0x466e17(_0x266c57._0x2a8c96)+'s'])[_0x466e17(0x4b2)+'h'],0x212+0x1*0x21d7+-0x23e9)&&(this[_0x466e17(_0x266c57._0x3df9de)+_0x466e17(_0x266c57._0x39812f)+_0x466e17(_0x266c57._0x2cc190)]=!(0x7fc+0x1aa4+-0x22a0),o[_0x466e17(_0x266c57._0x1b077c)](_0x466e17(_0x266c57._0x144944)+_0x466e17(0x495)+'a\x20ini'+'tiali'+_0x466e17(0xac5)+_0x466e17(_0x266c57._0x1eded1)+'plete'+'d',{'initializedCount':_0x2a9764[_0x466e17(0x4b2)+'h']-_0x56a1a9[_0x466e17(0x4b2)+'h']})),!(-0x1053+0x2707+-0x16b4);}static async[_0x441e35(0xbb6)+_0x441e35(0x53d)+'All'](){const _0x16fff9={_0x241046:0x941,_0x4051f0:0x915,_0x439202:0x824,_0x12dde8:0x642,_0x5c6387:0xa13,_0xe9e255:0x969,_0x3a0bac:0x8bb,_0x12fcec:0x5fd,_0x1aacf7:0xb0c,_0xeaae42:0xb73,_0x302f9d:0x37c,_0x3774b1:0x43c,_0x10aa18:0x34c,_0x44e49d:0x61a,_0x4a7a7d:0x23c,_0x32f7a6:0x53d,_0x525b20:0xac9,_0x29f67a:0x899,_0x30e205:0x9fa,_0x461b03:0x5cb,_0x5c5de9:0xca7,_0x73fd6f:0x269,_0x1036e3:0x298,_0x4403f2:0x37c,_0x1eadc4:0x269,_0x1ed411:0x231,_0x4584fe:0x850,_0x988a87:0x83d,_0x29a5b0:0xb97,_0x277232:0xaad,_0xa9c56b:0x83d},_0x53d207={_0x11efcb:0x8b6,_0x429ead:0x8f3,_0x14b344:0x5cb,_0x2a03b8:0xcc9,_0x5a39f3:0x453,_0xa3454b:0x9f2,_0x353665:0x850,_0xad8f70:0xabb,_0x5eca74:0x83d,_0x30327f:0x53d,_0x53c1ee:0xc4a},_0xa5406a=_0x441e35,_0x2a1574={'exhMc':_0xa5406a(_0x16fff9._0x241046)+_0xa5406a(0x824)+'ng\x20sc'+_0xa5406a(_0x16fff9._0x4051f0),'lcGeR':function(_0x5a493e,_0x34c866){return _0x5a493e(_0x34c866);},'pkSZr':'Initi'+_0xa5406a(_0x16fff9._0x439202)+_0xa5406a(_0x16fff9._0x12dde8)+_0xa5406a(0xad4)+_0xa5406a(_0x16fff9._0x5c6387)+_0xa5406a(0xcc6)+_0xa5406a(_0x16fff9._0xe9e255)+'s','fVlqh':function(_0x16025e,_0x2a330a){return _0x16025e>_0x2a330a;},'QLEMB':_0xa5406a(_0x16fff9._0x3a0bac)+_0xa5406a(0x96a)+'ses\x20i'+'nitia'+_0xa5406a(_0x16fff9._0x12fcec)+_0xa5406a(_0x16fff9._0x1aacf7)+_0xa5406a(_0x16fff9._0xeaae42)+_0xa5406a(0x862)};if(this[_0xa5406a(_0x16fff9._0x302f9d)+_0xa5406a(0x4bd)+'zed']){if(_0xa5406a(_0x16fff9._0x3774b1)===_0xa5406a(0x43c)){o['debug'](_0xa5406a(_0x16fff9._0x10aa18)+'ase\x20m'+'anage'+_0xa5406a(_0x16fff9._0x44e49d)+_0xa5406a(_0x16fff9._0x4a7a7d)+'initi'+_0xa5406a(_0x16fff9._0x32f7a6)+'d');return;}else{const {sql:_0x112480,params:_0x413dfa}=_0x9dc038[_0xa5406a(_0x16fff9._0x525b20)]();return _0x2659bd[_0xa5406a(0x7d7)](..._0x413dfa),{'clause':_0x553f4b+'\x20'+_0xc3fe83+'\x20('+_0x112480+')','conditionParams':_0xef26};}}const _0x185c6f=this[_0xa5406a(0x380)+_0xa5406a(_0x16fff9._0x29f67a)+_0xa5406a(_0x16fff9._0x30e205)+'emas']();o[_0xa5406a(_0x16fff9._0x461b03)](_0x2a1574[_0xa5406a(_0x16fff9._0x5c5de9)],{'schemaCount':_0x185c6f[_0xa5406a(0x4b2)+'h'],'schemas':_0x185c6f});const _0x18b111=[],_0x1f6931=_0x185c6f[_0xa5406a(_0x16fff9._0x73fd6f)](async _0x35a371=>{const _0x55fdd2=_0xa5406a;try{o['debug'](_0x2a1574[_0x55fdd2(0x5ba)],{'key':_0x35a371});const _0x1d59e2=this[_0x55fdd2(_0x53d207._0x11efcb)+_0x55fdd2(0x915)](_0x35a371),_0x4f083e=await T['creat'+_0x55fdd2(0xca6)+'en']({'config':_0x1d59e2},!(0x1*-0x2405+-0x12b4+0x36ba));this[_0x55fdd2(_0x53d207._0x429ead)+_0x55fdd2(0x2c6)+'s'][_0x35a371]=_0x4f083e,o[_0x55fdd2(_0x53d207._0x14b344)](_0x55fdd2(0x5c1)+_0x55fdd2(0x572)+_0x55fdd2(0x4bd)+_0x55fdd2(0xb11)+'ucces'+_0x55fdd2(_0x53d207._0x2a03b8)+'y',{'key':_0x35a371,'schemaName':_0x1d59e2[_0x55fdd2(0x9bb)+_0x55fdd2(_0x53d207._0x5a39f3)+_0x55fdd2(_0x53d207._0xa3454b)]});}catch(_0xa5919e){const _0x326685=_0xa5919e instanceof Error?_0xa5919e:new Error(_0x2a1574[_0x55fdd2(0x6ad)](String,_0xa5919e));o[_0x55fdd2(_0x53d207._0x353665)](_0x55fdd2(_0x53d207._0xad8f70)+_0x55fdd2(_0x53d207._0x5eca74)+_0x55fdd2(0xbb6)+_0x55fdd2(_0x53d207._0x30327f)+_0x55fdd2(_0x53d207._0x53c1ee)+'ma',{'key':_0x35a371,'error':_0x326685['messa'+'ge']}),_0x18b111[_0x55fdd2(0x7d7)]({'key':_0x35a371,'error':_0x326685});}});if(await Promise[_0xa5406a(0xb7b)](_0x1f6931),_0x2a1574[_0xa5406a(_0x16fff9._0x1036e3)](_0x18b111['lengt'+'h'],-0x385+0x311*0xa+-0x1b25*0x1)){this[_0xa5406a(_0x16fff9._0x4403f2)+_0xa5406a(0x4bd)+'zed']=!(0x100e*-0x1+0x637+0x9d8);const _0x1afba9=_0x18b111[_0xa5406a(_0x16fff9._0x1eadc4)](_0x4a8948=>_0xa5406a(0xa20)+_0x4a8948[_0xa5406a(0x762)]+':\x20'+_0x4a8948[_0xa5406a(0x850)][_0xa5406a(0x6d8)+'ge'])[_0xa5406a(_0x16fff9._0x1ed411)]('\x0a');throw o[_0xa5406a(_0x16fff9._0x4584fe)](_0xa5406a(0xabb)+_0xa5406a(_0x16fff9._0x988a87)+'initi'+_0xa5406a(0x53d)+_0xa5406a(0x7c5)+_0xa5406a(0x242)+_0xa5406a(_0x16fff9._0x29a5b0)+_0xa5406a(_0x16fff9._0x277232)+'es',{'failedDatabases':_0x18b111['map'](_0xe39dcb=>_0xe39dcb['key']),'errorSummary':_0x1afba9}),new Error(_0xa5406a(0xabb)+_0xa5406a(_0x16fff9._0xa9c56b)+_0xa5406a(0xbb6)+_0xa5406a(_0x16fff9._0x32f7a6)+_0xa5406a(0x7c5)+_0xa5406a(0x242)+'re\x20da'+_0xa5406a(0xaad)+_0xa5406a(0xc3a)+_0x1afba9);}this[_0xa5406a(_0x16fff9._0x4403f2)+'tiali'+_0xa5406a(0x1dd)]=!(-0x7da*0x1+-0x178*0xe+0x1c6a),o[_0xa5406a(_0x16fff9._0x461b03)](_0x2a1574[_0xa5406a(0xb86)],{'totalSchemas':_0x185c6f[_0xa5406a(0x4b2)+'h']});}static async['getLa'+'zyLoa'+_0x441e35(0xbdc)](_0x53a109){const _0x5c7bd8={_0x233efa:0x768,_0xba9469:0x5e5,_0x4a36d5:0x83b,_0x44c8a1:0x5cc,_0x209806:0x5aa,_0x19ea0f:0x58f,_0x2311b4:0x704,_0x5f3180:0x64d,_0x47f802:0xaef,_0x4f253f:0xbea,_0x303dc1:0xab2,_0x24e3ab:0x86d,_0x2686ee:0x362,_0x2c24ab:0x58f,_0x2dded2:0x82f,_0x13b705:0x584,_0x1d75e3:0x583,_0xce39bb:0xa18,_0x3f7fee:0x2c6,_0x4639c3:0x8b6,_0x4bf323:0x915,_0x313d25:0x610,_0x3b3a94:0xae5,_0x1127b5:0x402,_0x5cd1cc:0x71d,_0xccfb5d:0x850,_0x393e11:0x1fc,_0x5dcab2:0x420,_0x4129a5:0x589,_0x1c19a3:0x8f3,_0x5abc0e:0x2c6,_0x1910bf:0x1fc,_0x15bbd3:0x484,_0x14f784:0xaad,_0x1177da:0xc68,_0x5587d4:0x28e,_0x5ce3d7:0x2b6,_0x11254c:0x2c6,_0x10c3bb:0x34c,_0x55dc89:0x389,_0x586b48:0xbdc,_0x55a281:0x8f3},_0x3f6b50=_0x441e35,_0x1e30e0={'SiCqK':_0x3f6b50(0x5c1)+_0x3f6b50(_0x5c7bd8._0x233efa)+'\x20foun'+'d\x20for'+_0x3f6b50(_0x5c7bd8._0xba9469)+_0x3f6b50(_0x5c7bd8._0x4a36d5)+_0x3f6b50(_0x5c7bd8._0x44c8a1),'OMSjx':_0x3f6b50(0x93a)+'ing\x20n'+'ew\x20co'+'nnect'+_0x3f6b50(_0x5c7bd8._0x209806)+_0x3f6b50(_0x5c7bd8._0x19ea0f)+_0x3f6b50(_0x5c7bd8._0x2311b4)+_0x3f6b50(0xb89)};if(o[_0x3f6b50(_0x5c7bd8._0x5f3180)](_0x3f6b50(0x77e)+_0x3f6b50(0x601)+_0x3f6b50(0xaad)+_0x3f6b50(_0x5c7bd8._0x47f802)+_0x3f6b50(_0x5c7bd8._0x4f253f)+_0x3f6b50(0x389)+'ding',{'key':_0x53a109}),this['activ'+_0x3f6b50(_0x5c7bd8._0x303dc1)+_0x3f6b50(0x292)][_0x3f6b50(0x268)](_0x53a109),!this[_0x3f6b50(_0x5c7bd8._0x24e3ab)+'cessT'+'oData'+_0x3f6b50(0x5e6)](_0x53a109))throw o[_0x3f6b50(0x850)]('Acces'+_0x3f6b50(_0x5c7bd8._0x2686ee)+_0x3f6b50(0x97a)+_0x3f6b50(_0x5c7bd8._0x2c24ab)+_0x3f6b50(0x704)+_0x3f6b50(0xb89),{'key':_0x53a109}),new Error(_0x3f6b50(0xb9d)+_0x3f6b50(_0x5c7bd8._0x2686ee)+_0x3f6b50(0x632)+_0x3f6b50(0x34c)+_0x3f6b50(_0x5c7bd8._0x2dded2)+_0x53a109+('\x27\x20is\x20'+_0x3f6b50(_0x5c7bd8._0x13b705)+_0x3f6b50(_0x5c7bd8._0x1d75e3)+_0x3f6b50(_0x5c7bd8._0xce39bb)));if(!this[_0x3f6b50(0x8f3)+_0x3f6b50(_0x5c7bd8._0x3f7fee)+'s'][_0x53a109]){const _0x172e4d=this[_0x3f6b50(_0x5c7bd8._0x4639c3)+_0x3f6b50(_0x5c7bd8._0x4bf323)](_0x53a109);if(!_0x172e4d)throw o[_0x3f6b50(0x850)](_0x1e30e0[_0x3f6b50(0x823)],{'key':_0x53a109}),new Error(_0x3f6b50(_0x5c7bd8._0x313d25)+_0x3f6b50(_0x5c7bd8._0x3b3a94)+_0x3f6b50(0xaad)+'e\x20key'+':\x20'+_0x53a109+('.\x20Sch'+_0x3f6b50(_0x5c7bd8._0x1127b5)+_0x3f6b50(0x471)+_0x3f6b50(_0x5c7bd8._0x5cd1cc)));if(Object['keys'](this['conne'+_0x3f6b50(0x2c6)+'s'])[_0x3f6b50(0x4b2)+'h']>=this[_0x3f6b50(0xb98)+_0x3f6b50(0x85d)+'ions'])throw o[_0x3f6b50(_0x5c7bd8._0xccfb5d)](_0x3f6b50(_0x5c7bd8._0x393e11)+_0x3f6b50(_0x5c7bd8._0x5dcab2)+_0x3f6b50(0x85d)+_0x3f6b50(_0x5c7bd8._0x4129a5)+_0x3f6b50(0xaa9)+'ed',{'currentConnections':Object['keys'](this[_0x3f6b50(_0x5c7bd8._0x1c19a3)+_0x3f6b50(_0x5c7bd8._0x5abc0e)+'s'])['lengt'+'h'],'maxConnections':this['maxCo'+_0x3f6b50(0x85d)+'ions']}),new Error(_0x3f6b50(_0x5c7bd8._0x1910bf)+_0x3f6b50(0xb40)+_0x3f6b50(_0x5c7bd8._0x15bbd3)+_0x3f6b50(0x8b0)+_0x3f6b50(_0x5c7bd8._0x14f784)+_0x3f6b50(_0x5c7bd8._0x1177da)+_0x3f6b50(_0x5c7bd8._0x5587d4)+_0x3f6b50(0x4d4)+_0x3f6b50(_0x5c7bd8._0x5ce3d7)+'d');o['debug'](_0x1e30e0[_0x3f6b50(0xb1e)],{'key':_0x53a109,'schemaName':_0x172e4d[_0x3f6b50(0x9bb)+'ase_n'+_0x3f6b50(0x9f2)]});const _0x43e920=await T['creat'+'eOrOp'+'en']({'config':_0x172e4d},!(0x1*-0x1779+-0x97a*0x2+-0x1537*-0x2));await _0x43e920[_0x3f6b50(0x8f3)+'ct'](),this[_0x3f6b50(_0x5c7bd8._0x1c19a3)+_0x3f6b50(_0x5c7bd8._0x11254c)+'s'][_0x53a109]=_0x43e920,o[_0x3f6b50(0x5cb)](_0x3f6b50(_0x5c7bd8._0x10c3bb)+_0x3f6b50(0x6ba)+'onnec'+_0x3f6b50(0x8d1)+'creat'+'ed\x20vi'+'a\x20laz'+_0x3f6b50(_0x5c7bd8._0x55dc89)+_0x3f6b50(_0x5c7bd8._0x586b48),{'key':_0x53a109});}return this[_0x3f6b50(0x37c)+'tiali'+_0x3f6b50(0x1dd)]=!(0x21a9+-0x14f5*-0x1+-0x1b4f*0x2),this[_0x3f6b50(_0x5c7bd8._0x55a281)+'ction'+'s'][_0x53a109];}static async[_0x441e35(0x50a)+'teCro'+'ssSch'+'emaTr'+'ansac'+_0x441e35(0xb76)](_0x14f8c2,_0x42a464){const _0x45b669={_0x415762:0x89f,_0x1ceb32:0x598,_0x3dd9b9:0x76e,_0x2c5d02:0x55d,_0x373ea9:0xa50,_0x345ab6:0xa84,_0x16ae09:0x46f,_0x138fc9:0xce0,_0x5f4608:0x96e,_0x510342:0xa84,_0x1bbb68:0xc99,_0xa41932:0x27d,_0x24cb29:0x64d,_0x203ca6:0xc16,_0x5d66fe:0x4cf,_0x2fe25e:0x5e6,_0x433624:0x362,_0x3d981d:0x624,_0x3c0a78:0x82f,_0x11af5c:0x584,_0x558369:0xb1a,_0xce9cf5:0x64d,_0x37efc9:0x9ca,_0x1f94fa:0xb7b,_0x3d091f:0x269,_0x11d224:0x2d7,_0x2663c5:0x2e2,_0x27b861:0xb0c,_0x3cb262:0xb73,_0x3783fd:0x862,_0x53ca56:0x4c5,_0x5f0b7f:0x96e,_0x594858:0x253,_0x45683c:0x57e,_0x342ffd:0xb7b},_0x50fd6c=_0x441e35,_0x14d708={'cvTLA':_0x50fd6c(0xad8)+'ting\x20'+_0x50fd6c(_0x45b669._0x415762)+'-sche'+_0x50fd6c(0x96e)+_0x50fd6c(_0x45b669._0x1ceb32)+'tion','PtCda':_0x50fd6c(_0x45b669._0x3dd9b9)+_0x50fd6c(_0x45b669._0x2c5d02)+_0x50fd6c(0xa30)+'schem'+_0x50fd6c(0x5e8)+'nsact'+_0x50fd6c(_0x45b669._0x373ea9),'WHosi':'All\x20t'+_0x50fd6c(0xa31)+_0x50fd6c(0x2c6)+_0x50fd6c(0x6c3)+'rted\x20'+_0x50fd6c(_0x45b669._0x345ab6)+_0x50fd6c(_0x45b669._0x16ae09)+'ly','AbQcV':_0x50fd6c(_0x45b669._0x138fc9)+'-sche'+_0x50fd6c(_0x45b669._0x5f4608)+'ansac'+_0x50fd6c(0x8d1)+_0x50fd6c(0x445)+'eted\x20'+_0x50fd6c(_0x45b669._0x510342)+_0x50fd6c(0x46f)+'ly','KdsJP':_0x50fd6c(0xce0)+_0x50fd6c(_0x45b669._0x1bbb68)+_0x50fd6c(0x96e)+_0x50fd6c(_0x45b669._0x1ceb32)+'tion\x20'+_0x50fd6c(0xb0b)+_0x50fd6c(_0x45b669._0xa41932)+'k'};o[_0x50fd6c(_0x45b669._0x24cb29)](_0x14d708[_0x50fd6c(_0x45b669._0x203ca6)],{'schemas':_0x14f8c2});for(const _0x454c57 of _0x14f8c2)if(!this['hasAc'+_0x50fd6c(0x6b9)+_0x50fd6c(_0x45b669._0x5d66fe)+_0x50fd6c(_0x45b669._0x2fe25e)](_0x454c57))throw o[_0x50fd6c(0x850)]('Acces'+_0x50fd6c(_0x45b669._0x433624)+'ied\x20f'+_0x50fd6c(0xb87)+_0x50fd6c(0x96b)+_0x50fd6c(0x5bd)+_0x50fd6c(_0x45b669._0x3d981d)+'sacti'+'on',{'key':_0x454c57,'schemas':_0x14f8c2}),new Error(_0x50fd6c(0xb9d)+'s\x20den'+_0x50fd6c(0x632)+'Datab'+_0x50fd6c(_0x45b669._0x3c0a78)+_0x454c57+(_0x50fd6c(0xb04)+_0x50fd6c(_0x45b669._0x11af5c)+_0x50fd6c(0x583)+_0x50fd6c(0xa18)));const _0x42789e=_0x14f8c2[_0x50fd6c(_0x45b669._0x558369)+'e']((_0x5942ea,_0x559c77)=>(_0x5942ea[_0x559c77]=this[_0x50fd6c(0xc0c)](_0x559c77),_0x5942ea),{});o[_0x50fd6c(_0x45b669._0xce9cf5)](_0x14d708[_0x50fd6c(_0x45b669._0x37efc9)],{'schemas':_0x14f8c2});try{await Promise[_0x50fd6c(_0x45b669._0x1f94fa)](Object[_0x50fd6c(0x4c5)+'s'](_0x42789e)[_0x50fd6c(_0x45b669._0x3d091f)](_0x1083b8=>_0x1083b8[_0x50fd6c(0x224)+_0x50fd6c(0x5e2)+'actio'+'n']())),o[_0x50fd6c(_0x45b669._0x11d224)](_0x14d708[_0x50fd6c(0x404)]),await _0x42a464(_0x42789e),o[_0x50fd6c(_0x45b669._0x11d224)](_0x50fd6c(0x5e2)+_0x50fd6c(0x278)+_0x50fd6c(_0x45b669._0x2663c5)+_0x50fd6c(0x777)+_0x50fd6c(0x4e2)+_0x50fd6c(0xb80)+_0x50fd6c(_0x45b669._0x27b861)+_0x50fd6c(_0x45b669._0x3cb262)+_0x50fd6c(_0x45b669._0x3783fd)),await Promise['all'](Object[_0x50fd6c(_0x45b669._0x53ca56)+'s'](_0x42789e)[_0x50fd6c(0x269)](_0x4ea91c=>_0x4ea91c[_0x50fd6c(0xb46)+_0x50fd6c(0x46e)+_0x50fd6c(0x980)+'on']())),o['info'](_0x14d708[_0x50fd6c(0x560)],{'schemas':_0x14f8c2});}catch(_0x4f8496){throw o['error'](_0x50fd6c(0xce0)+_0x50fd6c(0xc99)+_0x50fd6c(_0x45b669._0x5f0b7f)+_0x50fd6c(_0x45b669._0x1ceb32)+'tion\x20'+'faile'+_0x50fd6c(_0x45b669._0x594858)+_0x50fd6c(_0x45b669._0x45683c)+_0x50fd6c(0x918),{'schemas':_0x14f8c2,'error':_0x4f8496[_0x50fd6c(0x6d8)+'ge']}),await Promise[_0x50fd6c(_0x45b669._0x342ffd)](Object[_0x50fd6c(0x4c5)+'s'](_0x42789e)[_0x50fd6c(_0x45b669._0x3d091f)](_0x2dddb6=>_0x2dddb6[_0x50fd6c(0x539)+_0x50fd6c(0xcd7)+_0x50fd6c(0x598)+_0x50fd6c(0xb76)]())),o['debug'](_0x14d708['KdsJP']),_0x4f8496;}}static async[_0x441e35(0xb3d)+'tData'+_0x441e35(0x498)+'le'](_0x4d80ed,_0x2c0340,_0x1bffbc,_0x38c88f={}){const _0x275312={_0x33bf71:0x4ca,_0x238bc9:0xb9d,_0x239d53:0x97a,_0x254ecb:0xaa7,_0xf599e3:0xc2c,_0x53661c:0x2a9,_0x131638:0x7ce,_0x2708a6:0x86d,_0x23a7dc:0x6b9,_0x5aeb59:0xb9d,_0xbf1123:0x632,_0x3c24eb:0x583,_0x23054d:0xb3d,_0x42e59f:0x7b0},_0x28f55b=_0x441e35,_0x346a0b={'MqrGE':'Impor'+_0x28f55b(0xce9)+_0x28f55b(0xb20)+_0x28f55b(_0x275312._0x33bf71)+_0x28f55b(0xb71),'xsoNI':_0x28f55b(_0x275312._0x238bc9)+_0x28f55b(0x362)+_0x28f55b(_0x275312._0x239d53)+'or\x20da'+_0x28f55b(0x2ae)+_0x28f55b(_0x275312._0x254ecb),'HFjdd':'Data\x20'+'impor'+_0x28f55b(0xc5b)+_0x28f55b(0x40e)+_0x28f55b(0x39d)+_0x28f55b(_0x275312._0xf599e3)+_0x28f55b(_0x275312._0x53661c),'cbbbH':'Data\x20'+_0x28f55b(0xb3d)+_0x28f55b(0x619)+_0x28f55b(_0x275312._0x131638)};if(o[_0x28f55b(0x64d)](_0x346a0b[_0x28f55b(0x87c)],{'databaseKey':_0x4d80ed,'tableName':_0x2c0340,'recordCount':_0x1bffbc['lengt'+'h'],'options':_0x38c88f}),!this[_0x28f55b(_0x275312._0x2708a6)+_0x28f55b(_0x275312._0x23a7dc)+_0x28f55b(0x4cf)+'base'](_0x4d80ed))throw o['error'](_0x346a0b[_0x28f55b(0x7f7)],{'databaseKey':_0x4d80ed,'tableName':_0x2c0340}),new Error(_0x28f55b(_0x275312._0x5aeb59)+_0x28f55b(0x362)+_0x28f55b(_0x275312._0xbf1123)+_0x28f55b(0x34c)+_0x28f55b(0x82f)+_0x4d80ed+('\x27\x20is\x20'+_0x28f55b(0x584)+_0x28f55b(_0x275312._0x3c24eb)+_0x28f55b(0xa18)));const _0x5de160=this['get'](_0x4d80ed);try{const _0x3122fe=await _0x5de160[_0x28f55b(_0x275312._0x23054d)+_0x28f55b(0x321)](Object[_0x28f55b(0x5ca)+'n']({'tableName':_0x2c0340,'data':_0x1bffbc},_0x38c88f));return o['info'](_0x346a0b[_0x28f55b(0x723)],{'databaseKey':_0x4d80ed,'tableName':_0x2c0340,'importedRows':_0x3122fe['succe'+_0x28f55b(0x570)+'s'],'skippedRows':_0x3122fe['error'+_0x28f55b(_0x275312._0x42e59f)]}),_0x3122fe;}catch(_0x4e57cc){throw o[_0x28f55b(0x850)](_0x346a0b[_0x28f55b(0x3d7)],{'databaseKey':_0x4d80ed,'tableName':_0x2c0340,'error':_0x4e57cc['messa'+'ge']}),_0x4e57cc;}}static async[_0x441e35(0xb3d)+_0x441e35(0x321)+_0x441e35(0x959)+_0x441e35(0x888)+'g'](_0x580d12,_0x5dd7d8,_0x512c7e,_0x2d3516,_0x359e58={}){const _0x37faaf={_0x25afe2:0x792,_0x72518e:0x5ae,_0x34490d:0x64d,_0x27198b:0x8fd,_0x1dd69e:0xb20,_0x18c8e3:0x61d,_0x1e38c0:0xada,_0x2da798:0x86d,_0x1ecbd9:0x6b9,_0x5872b5:0x362,_0x98f913:0x61d,_0x18f0a2:0x51b,_0x21c80b:0xb9d,_0x4b0121:0x632,_0x1ea05c:0x34c,_0x5acf0f:0xb04,_0x2ff23d:0xc0c,_0x152090:0xb3d,_0x50c47d:0x888,_0x2caf67:0x7c8,_0x4eb223:0x850,_0x3d131d:0x5ae,_0x5e57ec:0x6d8},_0xab8f03=_0x441e35,_0x5ce7a1={'BzrZU':'Data\x20'+_0xab8f03(0xb3d)+_0xab8f03(_0x37faaf._0x25afe2)+_0xab8f03(_0x37faaf._0x72518e)+_0xab8f03(0x303)+'compl'+_0xab8f03(0xce1)+_0xab8f03(0xa84)+'ssful'+'ly'};if(o[_0xab8f03(_0x37faaf._0x34490d)](_0xab8f03(_0x37faaf._0x27198b)+_0xab8f03(0xce9)+_0xab8f03(_0x37faaf._0x1dd69e)+_0xab8f03(_0x37faaf._0x18c8e3)+_0xab8f03(0x7e4)+_0xab8f03(0x218)+_0xab8f03(_0x37faaf._0x1e38c0),{'databaseKey':_0x580d12,'tableName':_0x5dd7d8,'recordCount':_0x512c7e[_0xab8f03(0x4b2)+'h'],'mappingCount':_0x2d3516[_0xab8f03(0x4b2)+'h'],'options':_0x359e58}),!this[_0xab8f03(_0x37faaf._0x2da798)+_0xab8f03(_0x37faaf._0x1ecbd9)+_0xab8f03(0x4cf)+'base'](_0x580d12))throw o[_0xab8f03(0x850)]('Acces'+_0xab8f03(_0x37faaf._0x5872b5)+'ied\x20f'+_0xab8f03(0xba4)+'ta\x20im'+'port\x20'+_0xab8f03(_0x37faaf._0x98f913)+_0xab8f03(_0x37faaf._0x18f0a2)+'ng',{'databaseKey':_0x580d12,'tableName':_0x5dd7d8}),new Error(_0xab8f03(_0x37faaf._0x21c80b)+_0xab8f03(0x362)+_0xab8f03(_0x37faaf._0x4b0121)+_0xab8f03(_0x37faaf._0x1ea05c)+'ase\x20\x27'+_0x580d12+(_0xab8f03(_0x37faaf._0x5acf0f)+'not\x20a'+_0xab8f03(0x583)+_0xab8f03(0xa18)));const _0x2edf33=this[_0xab8f03(_0x37faaf._0x2ff23d)](_0x580d12);try{const _0x3280e5=await _0x2edf33[_0xab8f03(_0x37faaf._0x152090)+_0xab8f03(0x321)+_0xab8f03(0x959)+_0xab8f03(_0x37faaf._0x50c47d)+'g'](_0x5dd7d8,_0x512c7e,_0x2d3516,_0x359e58);return o[_0xab8f03(0x5cb)](_0x5ce7a1[_0xab8f03(_0x37faaf._0x2caf67)],{'databaseKey':_0x580d12,'tableName':_0x5dd7d8,'importedRows':_0x3280e5['succe'+_0xab8f03(0x570)+'s'],'skippedRows':_0x3280e5['error'+_0xab8f03(0x7b0)]}),_0x3280e5;}catch(_0x18ba87){throw o[_0xab8f03(_0x37faaf._0x4eb223)](_0xab8f03(0xa47)+_0xab8f03(0xb3d)+_0xab8f03(0x792)+_0xab8f03(_0x37faaf._0x3d131d)+_0xab8f03(0x303)+_0xab8f03(0x265)+'d',{'databaseKey':_0x580d12,'tableName':_0x5dd7d8,'error':_0x18ba87[_0xab8f03(_0x37faaf._0x5e57ec)+'ge']}),_0x18ba87;}}static async[_0x441e35(0x457)+_0x441e35(0x740)](_0x11419){const _0x3ba93b={_0x214ce1:0x271,_0x54a531:0x778,_0x533e0a:0xb93,_0x554dc2:0x678,_0x1e093d:0x6e8,_0x5db8e5:0x2db,_0x455425:0x6b2,_0x47af09:0x407,_0x2e7874:0x6e8,_0x59124e:0xb3d,_0xb1c267:0x5cb,_0x333d4b:0xac6,_0x35fb34:0x3e7,_0x16347c:0x5e6,_0x936d57:0x41b,_0x7b9efc:0x632,_0x471ea4:0xb04,_0x1d817a:0xa18,_0x112866:0xc0c,_0x57791a:0x9bb,_0x20dbab:0x41b,_0x3169b1:0x2d7,_0x12dc39:0xae8,_0x2a0c35:0x959,_0x9868df:0x828,_0x3ec0c1:0x401,_0x5c704a:0x676,_0x814f26:0x955,_0x3da6dd:0x2d7,_0x5ae4f1:0x321,_0x413b5f:0x401,_0x5b7137:0xa84,_0x409d96:0x3d8,_0x194829:0x9d1,_0x4ba50e:0x570,_0xc20ee2:0xcfb,_0x58f01e:0x5cb,_0xcd3268:0x6e1,_0x5e71f4:0xa84,_0x5ec0ed:0x50a},_0x11336e=_0x441e35,_0x2af14c={'NuRiz':_0x11336e(0x678)+'\x20colu'+_0x11336e(0x76b)+_0x11336e(_0x3ba93b._0x214ce1)+_0x11336e(_0x3ba93b._0x54a531)+_0x11336e(_0x3ba93b._0x533e0a)+'rt','OjpBY':_0x11336e(_0x3ba93b._0x554dc2)+'\x20dire'+_0x11336e(0x52a)+_0x11336e(0xaa7),'LlTHg':_0x11336e(_0x3ba93b._0x1e093d)+_0x11336e(0xb3d)+_0x11336e(_0x3ba93b._0x5db8e5)+_0x11336e(_0x3ba93b._0x455425)+_0x11336e(_0x3ba93b._0x47af09)+_0x11336e(0xbe3)+'ucces'+_0x11336e(0xcc9)+'y','eZroO':function(_0x1e0bbe,_0x4be5fa){return _0x1e0bbe instanceof _0x4be5fa;},'jQxKA':_0x11336e(0x6e8)+'impor'+_0x11336e(0x2db)+'fig\x20f'+_0x11336e(0x7e9),'xZVTr':_0x11336e(_0x3ba93b._0x2e7874)+_0x11336e(_0x3ba93b._0x59124e)+_0x11336e(0xc5b)+_0x11336e(0x40e)+'d'},_0x556204=Date['now']();o[_0x11336e(_0x3ba93b._0xb1c267)]('Start'+'ing\x20b'+_0x11336e(0x6a5)+'mport',{'configCount':_0x11419[_0x11336e(0x4b2)+'h'],'configs':_0x11419[_0x11336e(0x269)](_0x107bbb=>({'databaseKey':_0x107bbb[_0x11336e(0x9bb)+'aseKe'+'y'],'tableName':_0x107bbb['table'+_0x11336e(0x3a7)],'recordCount':_0x107bbb[_0x11336e(0x401)][_0x11336e(0x4b2)+'h']}))});const _0x221a64={'totalDatabases':_0x11419['lengt'+'h'],'successDatabases':0x0,'results':{},'errors':{},'executionTime':0x0};for(const _0x16391e of _0x11419){const _0xe29020=_0x16391e['datab'+'aseKe'+'y']+'.'+_0x16391e['table'+'Name'];o['debug'](_0x11336e(0x809)+'ssing'+'\x20bulk'+_0x11336e(0xb93)+_0x11336e(0xba3)+'nfig',{'configKey':_0xe29020});try{if(_0x11336e(0x328)===_0x11336e(_0x3ba93b._0x333d4b))return this[_0x11336e(_0x3ba93b._0x35fb34)+'g']['enabl'+'ed'];else{if(!this[_0x11336e(0x86d)+_0x11336e(0x6b9)+_0x11336e(0x4cf)+_0x11336e(_0x3ba93b._0x16347c)](_0x16391e['datab'+_0x11336e(_0x3ba93b._0x936d57)+'y']))throw new Error(_0x11336e(0xb9d)+'s\x20den'+_0x11336e(_0x3ba93b._0x7b9efc)+'Datab'+_0x11336e(0x82f)+_0x16391e[_0x11336e(0x9bb)+_0x11336e(_0x3ba93b._0x936d57)+'y']+(_0x11336e(_0x3ba93b._0x471ea4)+_0x11336e(0x584)+_0x11336e(0x583)+_0x11336e(_0x3ba93b._0x1d817a)));const _0x123ebc=this[_0x11336e(_0x3ba93b._0x112866)](_0x16391e[_0x11336e(_0x3ba93b._0x57791a)+_0x11336e(_0x3ba93b._0x20dbab)+'y']);let _0xdf2dee;_0x16391e['colum'+_0x11336e(0xc93)+_0x11336e(0x676)]?(o[_0x11336e(_0x3ba93b._0x3169b1)](_0x2af14c[_0x11336e(_0x3ba93b._0x12dc39)],{'configKey':_0xe29020}),_0xdf2dee=await _0x123ebc['impor'+_0x11336e(0x321)+_0x11336e(_0x3ba93b._0x2a0c35)+_0x11336e(0x888)+'g'](_0x16391e[_0x11336e(_0x3ba93b._0x9868df)+'Name'],_0x16391e[_0x11336e(_0x3ba93b._0x3ec0c1)],_0x16391e[_0x11336e(0x7e4)+_0x11336e(0xc93)+_0x11336e(_0x3ba93b._0x5c704a)],_0x16391e[_0x11336e(_0x3ba93b._0x814f26)+'ns'])):(o[_0x11336e(_0x3ba93b._0x3da6dd)](_0x2af14c[_0x11336e(0xcc7)],{'configKey':_0xe29020}),_0xdf2dee=await _0x123ebc[_0x11336e(0xb3d)+_0x11336e(_0x3ba93b._0x5ae4f1)](Object[_0x11336e(0x5ca)+'n']({'tableName':_0x16391e['table'+'Name'],'data':_0x16391e[_0x11336e(_0x3ba93b._0x413b5f)]},_0x16391e['optio'+'ns']))),_0x221a64[_0x11336e(0x290)+'ts'][_0xe29020]=_0xdf2dee,_0x221a64[_0x11336e(_0x3ba93b._0x5b7137)+_0x11336e(_0x3ba93b._0x409d96)+_0x11336e(0x969)+'s']++,o[_0x11336e(_0x3ba93b._0xb1c267)](_0x2af14c[_0x11336e(_0x3ba93b._0x194829)],{'configKey':_0xe29020,'importedRows':_0xdf2dee[_0x11336e(0xa84)+_0x11336e(_0x3ba93b._0x4ba50e)+'s'],'skippedRows':_0xdf2dee['error'+'Rows']});}}catch(_0x4aa9a3){const _0x505fd=_0x2af14c[_0x11336e(0x52b)](_0x4aa9a3,Error)?_0x4aa9a3:new Error(String(_0x4aa9a3));o[_0x11336e(0x850)](_0x2af14c[_0x11336e(0xcb8)],{'configKey':_0xe29020,'error':_0x505fd[_0x11336e(0x6d8)+'ge']}),_0x221a64[_0x11336e(0x850)+'s'][_0xe29020]=_0x505fd;}}return _0x221a64['execu'+_0x11336e(_0x3ba93b._0xc20ee2)+_0x11336e(0xc9a)]=Date[_0x11336e(0x5df)]()-_0x556204,o[_0x11336e(_0x3ba93b._0x58f01e)](_0x2af14c[_0x11336e(_0x3ba93b._0xcd3268)],{'totalConfigs':_0x221a64[_0x11336e(0x552)+'Datab'+_0x11336e(0x546)],'successfulConfigs':_0x221a64[_0x11336e(_0x3ba93b._0x5e71f4)+_0x11336e(0x3d8)+'abase'+'s'],'failedConfigs':Object['keys'](_0x221a64['error'+'s'])['lengt'+'h'],'executionTimeMs':_0x221a64[_0x11336e(_0x3ba93b._0x5ec0ed)+_0x11336e(0xcfb)+_0x11336e(0xc9a)]}),_0x221a64;}static async[_0x441e35(0xb3d)+_0x441e35(0x9ab)+_0x441e35(0x565)](_0x17aae1,_0x40fb2e,_0x381a45,_0x12001e={}){const _0x4bb6e3={_0x360b18:0x8f8,_0x284f9f:0x27e,_0x55fc69:0xce9,_0x46d842:0x565,_0x213a2c:0x65b,_0x4fa214:0x64d,_0xf4b7a1:0x4b2,_0x5d34d5:0x850,_0x4e1c7b:0xb9d,_0x6a9563:0x362,_0x1a7647:0x52e,_0x29f9f4:0xa7e,_0x4245fc:0xb9d,_0x22ed33:0x82f,_0xfceff9:0x584,_0x1f1967:0x583,_0xd5b072:0xc0c,_0x5530bd:0x565,_0x5179a4:0xcfa,_0x1d1aec:0x740,_0x380c38:0x4e2,_0x359c43:0x570,_0x5091ba:0x516,_0x348d2c:0xc52,_0x329c24:0x683,_0x21a7bb:0x6d8},_0x4abb38=_0x441e35,_0x138b86={'XBTDR':'Getti'+'ng\x20cu'+_0x4abb38(0xa08)+_0x4abb38(_0x4bb6e3._0x360b18)+_0x4abb38(_0x4bb6e3._0x284f9f)+'s','ULyOb':'Impor'+_0x4abb38(_0x4bb6e3._0x55fc69)+_0x4abb38(0x4ec)+_0x4abb38(_0x4bb6e3._0x46d842),'IwRNb':_0x4abb38(_0x4bb6e3._0x213a2c),'ARdql':_0x4abb38(0xbc0)};if(o[_0x4abb38(_0x4bb6e3._0x4fa214)](_0x138b86[_0x4abb38(0xb4e)],{'databaseKey':_0x17aae1,'tableName':_0x40fb2e,'csvSize':_0x381a45[_0x4abb38(_0x4bb6e3._0xf4b7a1)+'h'],'options':_0x12001e}),!this[_0x4abb38(0x86d)+'cessT'+_0x4abb38(0x4cf)+'base'](_0x17aae1))throw o[_0x4abb38(_0x4bb6e3._0x5d34d5)](_0x4abb38(_0x4bb6e3._0x4e1c7b)+_0x4abb38(_0x4bb6e3._0x6a9563)+'ied\x20f'+_0x4abb38(_0x4bb6e3._0x1a7647)+_0x4abb38(_0x4bb6e3._0x29f9f4)+'ort',{'databaseKey':_0x17aae1,'tableName':_0x40fb2e}),new Error(_0x4abb38(_0x4bb6e3._0x4245fc)+_0x4abb38(0x362)+'ied:\x20'+_0x4abb38(0x34c)+_0x4abb38(_0x4bb6e3._0x22ed33)+_0x17aae1+(_0x4abb38(0xb04)+_0x4abb38(_0x4bb6e3._0xfceff9)+_0x4abb38(_0x4bb6e3._0x1f1967)+_0x4abb38(0xa18)));const _0x595082=this[_0x4abb38(_0x4bb6e3._0xd5b072)](_0x17aae1);try{const _0x56dfff=await _0x595082[_0x4abb38(0xb3d)+'tFrom'+_0x4abb38(_0x4bb6e3._0x5530bd)](_0x40fb2e,_0x381a45,_0x12001e);return o['info'](_0x4abb38(_0x4bb6e3._0x5179a4)+_0x4abb38(_0x4bb6e3._0x1d1aec)+_0x4abb38(_0x4bb6e3._0x380c38)+_0x4abb38(0xb80)+_0x4abb38(0xb0c)+_0x4abb38(0xb73)+_0x4abb38(0x862),{'databaseKey':_0x17aae1,'tableName':_0x40fb2e,'importedRows':_0x56dfff[_0x4abb38(0xa84)+_0x4abb38(_0x4bb6e3._0x359c43)+'s'],'skippedRows':_0x56dfff[_0x4abb38(0x850)+_0x4abb38(0x7b0)]}),_0x56dfff;}catch(_0x5386bf){if(_0x138b86[_0x4abb38(0x512)]===_0x138b86[_0x4abb38(_0x4bb6e3._0x5091ba)])return _0x33084f['trace'](_0x138b86[_0x4abb38(0x68d)],{'roles':this[_0x4abb38(0xc52)+'ntUse'+_0x4abb38(0x683)+'s']}),[...this[_0x4abb38(_0x4bb6e3._0x348d2c)+'ntUse'+_0x4abb38(_0x4bb6e3._0x329c24)+'s']];else throw o[_0x4abb38(0x850)](_0x4abb38(0xcfa)+_0x4abb38(0x740)+_0x4abb38(0x671)+'ed',{'databaseKey':_0x17aae1,'tableName':_0x40fb2e,'error':_0x5386bf[_0x4abb38(_0x4bb6e3._0x21a7bb)+'ge']}),_0x5386bf;}}static[_0x441e35(0x41d)+_0x441e35(0x85d)+_0x441e35(0xb61)+'unt'](){const _0x303ae7={_0x2a5acd:0x2d7,_0x3e2d13:0xcde,_0x4fd24d:0x85d},_0x4a661b=_0x441e35,_0x25bb17=Object['keys'](this['conne'+'ction'+'s'])[_0x4a661b(0x4b2)+'h'];return o[_0x4a661b(_0x303ae7._0x2a5acd)](_0x4a661b(0x77e)+_0x4a661b(_0x303ae7._0x3e2d13)+_0x4a661b(_0x303ae7._0x4fd24d)+'ion\x20c'+'ount',{'count':_0x25bb17}),_0x25bb17;}static[_0x441e35(0xac7)+_0x441e35(0x6a7)+_0x441e35(0xa28)](){const _0x54dda6={_0x5b2da4:0x8f3,_0x3e1313:0x2c6,_0x37e604:0x2d7},_0x44eff1=_0x441e35,_0x1b5f14=Object[_0x44eff1(0x54f)](this[_0x44eff1(_0x54dda6._0x5b2da4)+_0x44eff1(_0x54dda6._0x3e1313)+'s']);return o[_0x44eff1(_0x54dda6._0x37e604)](_0x44eff1(0x48a)+'ng\x20co'+_0x44eff1(0x85d)+_0x44eff1(0x906),{'connections':_0x1b5f14}),_0x1b5f14;}static async[_0x441e35(0xac1)+_0x441e35(0x4dd)+_0x441e35(0x2c6)](_0x5e1403){const _0x4bfdf4={_0x3ac5ea:0x8d1,_0x47d787:0xa64,_0x3ad608:0x31d,_0x3841cf:0x5f1,_0x5ef399:0x64f,_0x3b075d:0x3ca,_0x2deedc:0xb99,_0x31937b:0x2db,_0xa2ba85:0x64d,_0x1cbdfd:0xb3f,_0x1085bc:0x8f3,_0x51f0cf:0x8f3,_0x2ebdf3:0x2c6,_0x2d371a:0x731,_0x322fac:0x415},_0x30fb0f=_0x441e35,_0x514963={'UXZxH':_0x30fb0f(0x34c)+'ase\x20c'+_0x30fb0f(0x6a7)+_0x30fb0f(_0x4bfdf4._0x3ac5ea)+_0x30fb0f(0xac1)+'d\x20suc'+'cessf'+_0x30fb0f(0x2a9),'hUAsx':'Error'+_0x30fb0f(0x42e)+_0x30fb0f(_0x4bfdf4._0x47d787)+_0x30fb0f(0x96a)+_0x30fb0f(0x24a)+'nnect'+'ion','xWqNh':_0x30fb0f(_0x4bfdf4._0x3ad608)+_0x30fb0f(_0x4bfdf4._0x3841cf)+_0x30fb0f(_0x4bfdf4._0x5ef399)+_0x30fb0f(_0x4bfdf4._0x3b075d)+_0x30fb0f(0x6b8)+_0x30fb0f(_0x4bfdf4._0x2deedc)+_0x30fb0f(_0x4bfdf4._0x31937b)+_0x30fb0f(0x28e)+'on'};o[_0x30fb0f(_0x4bfdf4._0xa2ba85)](_0x30fb0f(_0x4bfdf4._0x1cbdfd)+_0x30fb0f(0x905)+_0x30fb0f(0x981)+_0x30fb0f(0x687)+'necti'+'on',{'dbKey':_0x5e1403});const _0x3880b8=this[_0x30fb0f(_0x4bfdf4._0x1085bc)+_0x30fb0f(0x2c6)+'s'][_0x5e1403];if(_0x3880b8)try{await _0x3880b8['disco'+_0x30fb0f(0x85d)](),delete this[_0x30fb0f(_0x4bfdf4._0x51f0cf)+_0x30fb0f(_0x4bfdf4._0x2ebdf3)+'s'][_0x5e1403],o[_0x30fb0f(0x5cb)](_0x514963[_0x30fb0f(0xc18)],{'dbKey':_0x5e1403});}catch(_0x386d48){throw o[_0x30fb0f(0x850)](_0x514963[_0x30fb0f(_0x4bfdf4._0x2d371a)],{'dbKey':_0x5e1403,'error':_0x386d48[_0x30fb0f(0x6d8)+'ge']}),_0x386d48;}else o[_0x30fb0f(0xc45)](_0x514963[_0x30fb0f(_0x4bfdf4._0x322fac)],{'dbKey':_0x5e1403});}static async[_0x441e35(0xac1)+_0x441e35(0x302)](){const _0x570245={_0x3d6a27:0x30c,_0x86cea1:0x5cb,_0x410402:0x502,_0x499136:0x683,_0x7dc96d:0xc52,_0x43fd7c:0x767,_0xbc6bad:0x1d3,_0x355b55:0x2cf,_0x175d13:0x74b,_0x1e2071:0xb50,_0x163634:0x6a7,_0xfb0275:0xc1d,_0x3a1076:0xa28,_0x5b98c2:0x42e,_0x1b01d9:0xc46,_0x3a8613:0xc8a,_0x599512:0xcc9},_0x125f75=_0x441e35,_0xd794d2={'eFinQ':'Closi'+'ng\x20al'+_0x125f75(0x8ca)+_0x125f75(0x28e)+'ons\x20a'+_0x125f75(0x6d3)+_0x125f75(0xcbb)+_0x125f75(0x7ca)+_0x125f75(_0x570245._0x3d6a27)};o[_0x125f75(_0x570245._0x86cea1)](_0xd794d2[_0x125f75(_0x570245._0x410402)]),await this['close'+'AllCo'+'nnect'+_0x125f75(0x906)](),this['curre'+'ntUse'+_0x125f75(_0x570245._0x499136)+'s']=[],this[_0x125f75(_0x570245._0x7dc96d)+_0x125f75(0x504)+'e']=null,this[_0x125f75(0x37c)+_0x125f75(0x4bd)+'zed']=!(0x2514+-0x17c6+-0xd4d),this[_0x125f75(_0x570245._0x43fd7c)+_0x125f75(0xab2)+'bases'][_0x125f75(_0x570245._0xbc6bad)](),this[_0x125f75(_0x570245._0x355b55)+'Liste'+'ners'][_0x125f75(_0x570245._0xbc6bad)](),this[_0x125f75(_0x570245._0x175d13)+_0x125f75(_0x570245._0x1e2071)+_0x125f75(_0x570245._0x163634)+'tions']=!(0x1*-0x1af9+0x149a+0x660),o[_0x125f75(0x5cb)](_0x125f75(_0x570245._0xfb0275)+_0x125f75(0x6a7)+_0x125f75(_0x570245._0x3a1076)+_0x125f75(_0x570245._0x5b98c2)+'ed\x20an'+_0x125f75(0x2c3)+_0x125f75(0x791)+_0x125f75(_0x570245._0x1b01d9)+_0x125f75(_0x570245._0x3a8613)+_0x125f75(_0x570245._0x599512)+'y');}static async[_0x441e35(0x35d)+'t'](){const _0x36f29a={_0x28414f:0x85d,_0x57108e:0x76c,_0x3e3217:0x303,_0x1f9111:0x8f3,_0x3c91b0:0x2c6,_0xdd50f1:0x4e6,_0x421e77:0x42e,_0x20ad98:0x55d,_0x38e74b:0x8d1,_0x43d6fc:0x7a4,_0x3d36ca:0xc52,_0x1c0338:0x64e,_0x4865f4:0x28e,_0x281da3:0x69a,_0x2569dd:0x2c6,_0x44069d:0x9b6,_0x53d9b1:0x6a7,_0x18d8a0:0xac1,_0x34db62:0x64d,_0x4e9415:0x683,_0x1bd5c3:0x504,_0x43ad1f:0x40e,_0xc952e4:0x39d,_0x618497:0xc2c,_0x3ba7f5:0x2a9},_0x4edd9=_0x441e35,_0x28bbc0={'XAgCj':'Alrea'+'dy\x20co'+_0x4edd9(_0x36f29a._0x28414f)+_0x4edd9(_0x36f29a._0x57108e)+_0x4edd9(0x281)+_0x4edd9(0x840)+'\x20skip'+_0x4edd9(_0x36f29a._0x3e3217)+_0x4edd9(_0x36f29a._0x1f9111)+_0x4edd9(_0x36f29a._0x3c91b0),'xoVGH':function(_0x409cbc,_0x27c39d){return _0x409cbc!==_0x27c39d;},'VKRBc':_0x4edd9(_0x36f29a._0xdd50f1)+_0x4edd9(_0x36f29a._0x421e77)+_0x4edd9(_0x36f29a._0x20ad98)+_0x4edd9(0x6a7)+_0x4edd9(_0x36f29a._0x38e74b)+_0x4edd9(_0x36f29a._0x43d6fc)+_0x4edd9(0x8be)+'out'};o['info']('Loggi'+'ng\x20ou'+'t\x20use'+'r',{'currentUserRoles':this[_0x4edd9(_0x36f29a._0x3d36ca)+_0x4edd9(0x91c)+_0x4edd9(0x683)+'s']});const _0x324fa=Object['keys'](this[_0x4edd9(0x8f3)+_0x4edd9(0x2c6)+'s'])[_0x4edd9(0x2fe)+'r'](_0x2ec3e8=>_0x2ec3e8!==_0x4edd9(0x5ac));o[_0x4edd9(0x64d)]('Closi'+_0x4edd9(_0x36f29a._0x1c0338)+_0x4edd9(0x335)+_0x4edd9(0x981)+'c\x20con'+_0x4edd9(_0x36f29a._0x4865f4)+_0x4edd9(0xb90),{'connectionsToClose':_0x324fa});for(const _0x1137d2 of _0x324fa)try{if(_0x28bbc0[_0x4edd9(0x833)](_0x4edd9(0x3d0),_0x4edd9(_0x36f29a._0x281da3)))await this[_0x4edd9(_0x36f29a._0x1f9111)+_0x4edd9(_0x36f29a._0x2569dd)+'s'][_0x1137d2][_0x4edd9(0xac1)](),delete this[_0x4edd9(0x8f3)+_0x4edd9(0x2c6)+'s'][_0x1137d2],o['debug']('Role-'+'speci'+_0x4edd9(_0x36f29a._0x44069d)+_0x4edd9(_0x36f29a._0x53d9b1)+_0x4edd9(0x8d1)+_0x4edd9(_0x36f29a._0x18d8a0)+'d',{'dbKey':_0x1137d2});else{_0x55394d[_0x4edd9(_0x36f29a._0x34db62)](_0x28bbc0['XAgCj']);return;}}catch(_0x5c7c91){o['error'](_0x28bbc0[_0x4edd9(0x793)],{'dbKey':_0x1137d2,'error':_0x5c7c91['messa'+'ge']});}this['curre'+_0x4edd9(0x91c)+_0x4edd9(_0x36f29a._0x4e9415)+'s']=[],this['curre'+_0x4edd9(_0x36f29a._0x1bd5c3)+'e']=null,o[_0x4edd9(0x5cb)]('User\x20'+_0x4edd9(0x35d)+'t\x20com'+_0x4edd9(_0x36f29a._0x43ad1f)+_0x4edd9(_0x36f29a._0xc952e4)+_0x4edd9(_0x36f29a._0x618497)+_0x4edd9(_0x36f29a._0x3ba7f5),{'closedConnections':_0x324fa['lengt'+'h']});}}v[_0x441e35(0xb98)+_0x441e35(0x85d)+_0x441e35(0x906)]=-0x1556+-0x1b*0x3f+0x3*0x957,v[_0x441e35(0x8f3)+'ction'+'s']={},v['isIni'+'tiali'+_0x441e35(0x1dd)]=!(0x25a8+0x1152*-0x1+-0x411*0x5),v[_0x441e35(0x788)+_0x441e35(0x592)+'ry']={},v['curre'+_0x441e35(0x504)+'e']=null,v['curre'+_0x441e35(0x91c)+'rRole'+'s']=[],v['activ'+'eData'+'bases']=new Set(),v[_0x441e35(0x74b)+_0x441e35(0xb50)+_0x441e35(0x6a7)+_0x441e35(0xa28)]=!(0x2*-0x3b+-0x103c+0x10b3*0x1),v[_0x441e35(0x495)+_0x441e35(0x67b)+_0x441e35(0xc2a)+'tions']={},v[_0x441e35(0x495)+_0x441e35(0x604)+_0x441e35(0x4ba)]=null,v['event'+_0x441e35(0x5af)+_0x441e35(0x5bb)]=new Map();const l=D(A['BASE_'+_0x441e35(0x27c)+'CE']);class q{constructor(_0x2aa74f,_0xc3aa2f){const _0x262ec4={_0x17113a:0x34c,_0x190f23:0x476,_0x40806b:0x3f2,_0xf1fbc9:0x37c,_0x5bceb0:0x1dd,_0x448cbe:0x8b7,_0x3d8f89:0x5bb,_0x110879:0xae6,_0x563945:0x3ed,_0x5d3d06:0x828,_0x4ca0d0:0xbda,_0x21b29b:0xc8d,_0x147a25:0x3f5,_0x1fed7a:0x3ed,_0x38cd7d:0xae6,_0x298666:0xb28,_0x24e0dd:0xacd,_0x19c4ad:0xacd,_0x4d5f87:0xbd5,_0x18627c:0x705,_0x145d5b:0x2d7,_0x362664:0xc77,_0x425b3c:0x83c,_0x3d39c6:0xb54,_0x3ba1b1:0xbe3,_0x355c6b:0xc8a,_0x4dd3e8:0xcc9,_0x3b2c0a:0x495},_0x1e47c0={_0x3972f6:0x5cb,_0x3c7942:0x806,_0x49bd14:0x828,_0x5afc7d:0x3a7},_0xe66b3f=_0x441e35,_0x3bb7c2={'RNkKh':_0xe66b3f(_0x262ec4._0x17113a)+_0xe66b3f(_0x262ec4._0x190f23)+_0xe66b3f(0xa51)+'ected'+_0xe66b3f(0x68e)+_0xe66b3f(_0x262ec4._0x40806b)+'ce'};this[_0xe66b3f(0x692)]=null,this['isOpe'+'ned']=!(0x2464+0x63*0x32+-0x37b9),this[_0xe66b3f(_0x262ec4._0xf1fbc9)+'tiali'+_0xe66b3f(_0x262ec4._0x5bceb0)]=!(0x1a8+0x1e58+-0x1fff),this[_0xe66b3f(0x850)+_0xe66b3f(_0x262ec4._0x448cbe)+'ers']=new Map(),this[_0xe66b3f(0x2cf)+_0xe66b3f(0x5af)+_0xe66b3f(_0x262ec4._0x3d8f89)]=new Map(),this[_0xe66b3f(_0x262ec4._0x110879)+_0xe66b3f(0xb28)+'Field'+'s']=['id'],this[_0xe66b3f(0x8ce)]=new Map(),this[_0xe66b3f(0x495)+_0xe66b3f(_0x262ec4._0x563945)]=_0x2aa74f,this[_0xe66b3f(_0x262ec4._0x5d3d06)+_0xe66b3f(0x3a7)]=_0xc3aa2f||_0x2aa74f,l[_0xe66b3f(0x64d)](_0xe66b3f(0x93a)+_0xe66b3f(_0x262ec4._0x4ca0d0)+_0xe66b3f(_0x262ec4._0x21b29b)+'rvice'+'\x20inst'+_0xe66b3f(_0x262ec4._0x147a25),{'schemaName':this[_0xe66b3f(0x495)+_0xe66b3f(_0x262ec4._0x1fed7a)],'tableName':this['table'+'Name'],'primaryKeyFields':this[_0xe66b3f(_0x262ec4._0x38cd7d)+_0xe66b3f(_0x262ec4._0x298666)+_0xe66b3f(0x637)+'s']}),this[_0xe66b3f(_0x262ec4._0x24e0dd)+_0xe66b3f(0xb66)+_0xe66b3f(0xbd5)+'r']=_0x1e2fc8=>{const _0x20fbe8=_0xe66b3f;l[_0x20fbe8(_0x1e47c0._0x3972f6)](_0x3bb7c2[_0x20fbe8(_0x1e47c0._0x3c7942)],{'schemaName':this[_0x20fbe8(0x495)+_0x20fbe8(0x3ed)],'tableName':this[_0x20fbe8(_0x1e47c0._0x49bd14)+_0x20fbe8(_0x1e47c0._0x5afc7d)]}),this[_0x20fbe8(0x692)]=_0x1e2fc8,this['_emit']('daoRe'+_0x20fbe8(0x8f3)+'cted',{'schemaName':this[_0x20fbe8(0x495)+_0x20fbe8(0x3ed)]});},v['onDat'+_0xe66b3f(0x969)+_0xe66b3f(0x33e)+_0xe66b3f(0x244)](_0x2aa74f,this[_0xe66b3f(_0x262ec4._0x19c4ad)+'nectH'+_0xe66b3f(_0x262ec4._0x4d5f87)+'r']),this[_0xe66b3f(0xa94)+_0xe66b3f(_0x262ec4._0x18627c)+'s'](),l[_0xe66b3f(_0x262ec4._0x145d5b)]('BaseS'+_0xe66b3f(_0x262ec4._0x362664)+_0xe66b3f(_0x262ec4._0x425b3c)+_0xe66b3f(_0x262ec4._0x3d39c6)+_0xe66b3f(0x2fa)+_0xe66b3f(_0x262ec4._0x3ba1b1)+_0xe66b3f(_0x262ec4._0x355c6b)+_0xe66b3f(_0x262ec4._0x4dd3e8)+'y',{'schemaName':this[_0xe66b3f(_0x262ec4._0x3b2c0a)+_0xe66b3f(_0x262ec4._0x563945)],'tableName':this[_0xe66b3f(0x828)+'Name']});}[_0x441e35(0xa94)+_0x441e35(0x705)+'s'](){const _0x15b098={_0x4339ad:0x2e3,_0x1ddc14:0x63e,_0x36967c:0x438,_0x4efc29:0x88f,_0x1368d6:0x495,_0x5557bb:0x3a7,_0x4cc2b7:0x49b,_0x36a341:0x306},_0x3bdd38={_0x52e74f:0xa50,_0xab8f5b:0x933,_0x5829f2:0xabb,_0x3b4e8d:0x83d,_0x4f4536:0x281},_0x2bd480=_0x441e35,_0x40b169={'deCHF':_0x2bd480(_0x15b098._0x4339ad),'cIrLu':function(_0x386bf3,_0x23bde6){return _0x386bf3==_0x23bde6;},'gjEzW':function(_0x3b4840,_0x272b3f){return _0x3b4840!==_0x272b3f;},'CtxNr':'const'+_0x2bd480(_0x15b098._0x1ddc14)+'r','kINLh':_0x2bd480(0x876)+_0x2bd480(_0x15b098._0x36967c)+_0x2bd480(_0x15b098._0x4efc29)+'\x20meth'+'ods'};l['trace'](_0x40b169['kINLh'],{'schemaName':this[_0x2bd480(_0x15b098._0x1368d6)+'aName'],'tableName':this[_0x2bd480(0x828)+_0x2bd480(_0x15b098._0x5557bb)]}),Object['getOw'+_0x2bd480(0x5f8)+_0x2bd480(0x291)+'ames'](Object[_0x2bd480(_0x15b098._0x4cc2b7)+'ototy'+_0x2bd480(_0x15b098._0x36a341)](this))[_0x2bd480(0x304)+'ch'](_0x1dabfc=>{const _0x49c5b8=_0x2bd480;if(_0x40b169['deCHF']==='BKWUz')_0x40b169['cIrLu'](typeof this[_0x1dabfc],'funct'+_0x49c5b8(_0x3bdd38._0x52e74f))&&_0x40b169['gjEzW'](_0x1dabfc,_0x40b169[_0x49c5b8(_0x3bdd38._0xab8f5b)])&&(this[_0x1dabfc]=this[_0x1dabfc]['bind'](this));else throw _0x4da12c['error'](_0x49c5b8(_0x3bdd38._0x5829f2)+_0x49c5b8(_0x3bdd38._0x3b4e8d)+_0x49c5b8(0x8f3)+_0x49c5b8(0xbd7)+_0x49c5b8(_0x3bdd38._0x4f4536)+_0x49c5b8(0x5e6),{'dbPath':this[_0x49c5b8(0x5b8)+'h'],'error':_0x77f204 instanceof _0x346cda?_0x2a8561['messa'+'ge']:_0x2a2c01}),_0x26773f;});}[_0x441e35(0x373)+_0x441e35(0x85c)+_0x441e35(0x34b)+'elds'](_0x7d6d85){const _0x43af5a={_0x1e4c6a:0xa63,_0xbed5c5:0x3ed,_0x4e75b7:0x828,_0x3e0e33:0x637,_0x3df16e:0xb28,_0x16c6c3:0x637},_0x2c3851=_0x441e35,_0x2a7f5c={'RKYTo':_0x2c3851(_0x43af5a._0x1e4c6a)+_0x2c3851(0xc24)+_0x2c3851(0x85c)+_0x2c3851(0x673)+'field'+'s'};return l[_0x2c3851(0x64d)](_0x2a7f5c['RKYTo'],{'schemaName':this['schem'+_0x2c3851(_0x43af5a._0xbed5c5)],'tableName':this[_0x2c3851(_0x43af5a._0x4e75b7)+_0x2c3851(0x3a7)],'previousFields':this['prima'+_0x2c3851(0xb28)+_0x2c3851(_0x43af5a._0x3e0e33)+'s'],'newFields':_0x7d6d85}),this[_0x2c3851(0xae6)+_0x2c3851(_0x43af5a._0x3df16e)+_0x2c3851(_0x43af5a._0x16c6c3)+'s']=_0x7d6d85,this;}async[_0x441e35(0x8c8)](){const _0x115669={_0x296c90:0x929,_0x4f050c:0x578,_0x4e95b8:0x9f7,_0x2d413c:0xa07,_0x42d7ac:0xad6,_0x56db77:0xb9a,_0x2038b0:0x8d1,_0x3ad757:0x61e,_0x1b4a44:0x91b,_0x2b6915:0x325,_0x1d6e2d:0x53d,_0x208522:0x5cb,_0x5c764e:0x7ef,_0x3cd338:0x495,_0x1a5fe5:0x3a7,_0x239beb:0x382,_0x840fab:0x969,_0x45de81:0x495,_0x244e40:0x3ed,_0x545793:0xabb,_0xdf7618:0x5bd,_0x5f0f3b:0x28e,_0x247d93:0xc6d,_0x156ec9:0x611,_0x1feeca:0x692,_0x3a4e4d:0x8f3,_0x31fb6f:0xaf8,_0x595b6f:0x37c,_0x566de9:0x4bd,_0x426a58:0x736,_0x2c9849:0xcc9,_0x56eca0:0x37c,_0x230c33:0x1dd,_0x2cbefe:0x3ed,_0x442bf2:0x4e6,_0x214b15:0xc8d,_0x22b8fb:0x968,_0x5817bc:0xc01},_0x9f9f82=_0x441e35,_0x16d7ce={'eheLg':_0x9f9f82(0x941)+'alizi'+_0x9f9f82(_0x115669._0x296c90)+_0x9f9f82(0x72c)+'vice','KWXhO':_0x9f9f82(_0x115669._0x4f050c)+_0x9f9f82(_0x115669._0x4e95b8)+_0x9f9f82(_0x115669._0x2d413c)+'\x20init'+'ializ'+_0x9f9f82(_0x115669._0x42d7ac)+_0x9f9f82(0x744)+'ng','mSLTV':_0x9f9f82(_0x115669._0x56db77)+_0x9f9f82(0x6a7)+_0x9f9f82(_0x115669._0x2038b0)+_0x9f9f82(_0x115669._0x3ad757)+_0x9f9f82(_0x115669._0x1b4a44)+'conne'+_0x9f9f82(_0x115669._0x2b6915),'famJY':'initi'+_0x9f9f82(_0x115669._0x1d6e2d)+'d'};l[_0x9f9f82(_0x115669._0x208522)](_0x16d7ce[_0x9f9f82(_0x115669._0x5c764e)],{'schemaName':this[_0x9f9f82(_0x115669._0x3cd338)+_0x9f9f82(0x3ed)],'tableName':this['table'+_0x9f9f82(_0x115669._0x1a5fe5)],'isInitialized':this[_0x9f9f82(0x37c)+'tiali'+'zed']});try{if(this[_0x9f9f82(0x37c)+_0x9f9f82(0x4bd)+'zed'])return l[_0x9f9f82(0x64d)](_0x16d7ce['KWXhO'],{'schemaName':this['schem'+_0x9f9f82(0x3ed)]}),this;if(l['debug']('Getti'+_0x9f9f82(0x279)+_0x9f9f82(0x8e8)+_0x9f9f82(_0x115669._0x239beb)+_0x9f9f82(_0x115669._0x840fab)+_0x9f9f82(0x4f4)+'er',{'schemaName':this[_0x9f9f82(0x495)+_0x9f9f82(0x3ed)]}),this['dao']=await v['getLa'+'zyLoa'+_0x9f9f82(0xbdc)](this[_0x9f9f82(_0x115669._0x45de81)+_0x9f9f82(_0x115669._0x244e40)]),!this['dao']){const _0x416a15=_0x9f9f82(_0x115669._0x545793)+_0x9f9f82(0x83d)+_0x9f9f82(0xbb6)+_0x9f9f82(0x53d)+_0x9f9f82(0x436)+_0x9f9f82(0xb65)+_0x9f9f82(_0x115669._0xdf7618)+':\x20'+this[_0x9f9f82(0x495)+_0x9f9f82(0x3ed)];throw l[_0x9f9f82(0x850)](_0x416a15,{'schemaName':this[_0x9f9f82(0x495)+_0x9f9f82(_0x115669._0x244e40)]}),new Error(_0x416a15);}return this['dao']['isCon'+_0x9f9f82(_0x115669._0x5f0f3b)+_0x9f9f82(_0x115669._0x247d93)+'n']()||(l[_0x9f9f82(0x64d)](_0x16d7ce[_0x9f9f82(_0x115669._0x156ec9)],{'schemaName':this[_0x9f9f82(_0x115669._0x3cd338)+'aName']}),await this[_0x9f9f82(_0x115669._0x1feeca)][_0x9f9f82(_0x115669._0x3a4e4d)+'ct']()),this[_0x9f9f82(0x69b)+_0x9f9f82(_0x115669._0x31fb6f)]=!(0xfb+-0x22bc+0x21c1),this[_0x9f9f82(_0x115669._0x595b6f)+_0x9f9f82(_0x115669._0x566de9)+_0x9f9f82(0x1dd)]=!(0x2561+-0x1396*0x1+-0x11cb*0x1),l[_0x9f9f82(_0x115669._0x208522)](_0x9f9f82(0xc64)+_0x9f9f82(0xc77)+_0x9f9f82(_0x115669._0x426a58)+_0x9f9f82(0x4bd)+'zed\x20s'+'ucces'+_0x9f9f82(_0x115669._0x2c9849)+'y',{'schemaName':this[_0x9f9f82(0x495)+'aName'],'tableName':this['table'+_0x9f9f82(0x3a7)],'isOpened':this[_0x9f9f82(0x69b)+'ned'],'isInitialized':this[_0x9f9f82(_0x115669._0x56eca0)+_0x9f9f82(0x4bd)+_0x9f9f82(_0x115669._0x230c33)]}),this['_emit'](_0x16d7ce['famJY'],{'schemaName':this['schem'+_0x9f9f82(_0x115669._0x2cbefe)]}),this;}catch(_0x3fd875){throw l[_0x9f9f82(0x850)](_0x9f9f82(_0x115669._0x442bf2)+_0x9f9f82(0xb5d)+'ializ'+_0x9f9f82(0xbda)+_0x9f9f82(_0x115669._0x214b15)+_0x9f9f82(0x88f),{'schemaName':this[_0x9f9f82(_0x115669._0x3cd338)+_0x9f9f82(0x3ed)],'tableName':this[_0x9f9f82(0x828)+_0x9f9f82(_0x115669._0x1a5fe5)],'error':_0x3fd875[_0x9f9f82(0x6d8)+'ge']}),this[_0x9f9f82(_0x115669._0x22b8fb)+_0x9f9f82(_0x115669._0x5817bc)+'or'](_0x9f9f82(0xb29)+_0x9f9f82(0x3bc),_0x3fd875),_0x3fd875;}}async[_0x441e35(0xa7f)+'t'](_0x5b1945,_0x1f8587){const _0x5c5969={_0x3c0cd2:0x55d,_0x1d36a9:0x6cb,_0x21a8ad:0x20c,_0x1f9b7d:0xb6b,_0x340ba2:0x66d,_0x8c09b8:0x8f0,_0x4fcdaf:0xad1,_0x20205d:0x8cf,_0x30ddc6:0x4aa,_0x56aba4:0xb15,_0x13bde5:0x41a,_0x7e8eb3:0xa86,_0x14c804:0x6bb,_0x57181a:0x4f6,_0x249780:0x74a,_0x11b7d8:0xc5b,_0x2c3a06:0xbf1,_0x23302a:0x4e6,_0x140349:0xcc3,_0x4e8e53:0x848,_0x11484b:0x3ed,_0x3a25ae:0x3a7,_0x2cd0d9:0x54f,_0xec4fd7:0xae6,_0x59bff9:0x637,_0x14abc1:0x636,_0x1eaf8a:0x8b4,_0x282a6e:0x9cd,_0x518f8d:0x943,_0x34ea1a:0x473,_0x593fb5:0x495,_0x554ce7:0x3ed,_0x177048:0x828,_0x5e3d88:0x64d,_0x479e2c:0x670,_0x1fd0b2:0xbe0,_0x274578:0x495,_0x40d920:0x3a7,_0x41ccd5:0x364,_0x423092:0xbe2,_0x40b7db:0x3ed,_0x32969b:0xaf1,_0x45c161:0x3ee,_0xe445fc:0xc1e,_0x5138d7:0x495,_0x14d02e:0x828,_0x56d180:0x3a7,_0x58e051:0xc89,_0x23c14d:0x495,_0x1f91d1:0xbd3,_0x4f7584:0xcb3,_0x317c90:0x537,_0x3846e4:0x9bb,_0xab8306:0x453,_0x24bfef:0x67b,_0x2b1bba:0x83e,_0x3b1f6d:0x3a0,_0x154cac:0x828,_0x394bd1:0x903,_0x109c03:0x2b0,_0x3d43df:0x41a,_0x5a2dfd:0x850,_0x210129:0x495,_0x50c70a:0xc01,_0xf8386f:0x35f},_0x30cfb0=_0x441e35,_0x4d2123={'rpfTd':'Start'+_0x30cfb0(0x8f4)+'psert'+_0x30cfb0(0xa4e)+'ation','lTEOg':'Build'+_0x30cfb0(_0x5c5969._0x3c0cd2)+_0x30cfb0(_0x5c5969._0x1d36a9)+_0x30cfb0(0x589)+_0x30cfb0(_0x5c5969._0x21a8ad)+_0x30cfb0(_0x5c5969._0x1f9b7d)+'nce\x20c'+_0x30cfb0(0xbce),'WwHrS':_0x30cfb0(_0x5c5969._0x340ba2)+_0x30cfb0(_0x5c5969._0x8c09b8)+_0x30cfb0(_0x5c5969._0x4fcdaf)+_0x30cfb0(_0x5c5969._0x20205d)+'ld\x20fo'+_0x30cfb0(_0x5c5969._0x30ddc6)+_0x30cfb0(_0x5c5969._0x56aba4)+'heck','EFTbJ':_0x30cfb0(0x30a)+_0x30cfb0(0xc5b)+_0x30cfb0(0x40e)+'d\x20(up'+'date)','MtlgU':'updat'+'e','Rkjcg':_0x30cfb0(0x2b0)+_0x30cfb0(_0x5c5969._0x13bde5)+'ed','bSoeC':'upser'+'t','jADyJ':_0x30cfb0(_0x5c5969._0x7e8eb3)+_0x30cfb0(_0x5c5969._0x14c804)+'s\x20not'+_0x30cfb0(0x62c)+_0x30cfb0(_0x5c5969._0x57181a)+_0x30cfb0(0x8e3)+'ing\x20i'+_0x30cfb0(_0x5c5969._0x249780),'PZivy':_0x30cfb0(0x30a)+_0x30cfb0(_0x5c5969._0x11b7d8)+_0x30cfb0(0x40e)+'d\x20(in'+_0x30cfb0(_0x5c5969._0x2c3a06),'CrGVU':'inser'+'t','aYcft':_0x30cfb0(_0x5c5969._0x23302a)+_0x30cfb0(0x34f)+'ng\x20up'+_0x30cfb0(0x28c)+_0x30cfb0(0xcee)+_0x30cfb0(0xb76),'KbHyP':'UPSER'+_0x30cfb0(_0x5c5969._0x140349)+'OR'};l['debug'](_0x4d2123[_0x30cfb0(_0x5c5969._0x4e8e53)],{'schemaName':this['schem'+_0x30cfb0(_0x5c5969._0x11484b)],'tableName':this[_0x30cfb0(0x828)+_0x30cfb0(_0x5c5969._0x3a25ae)],'hasData':!!_0x5b1945,'dataKeys':_0x5b1945?Object[_0x30cfb0(_0x5c5969._0x2cd0d9)](_0x5b1945):[],'searchFields':_0x1f8587||this[_0x30cfb0(_0x5c5969._0xec4fd7)+'ryKey'+_0x30cfb0(_0x5c5969._0x59bff9)+'s']}),await this[_0x30cfb0(0x757)+_0x30cfb0(_0x5c5969._0x14abc1)+_0x30cfb0(0x4bd)+_0x30cfb0(0x1dd)](),await this[_0x30cfb0(_0x5c5969._0x1eaf8a)+_0x30cfb0(0x343)+_0x30cfb0(_0x5c5969._0x282a6e)+_0x30cfb0(0x996)+'n']();try{this['_vali'+_0x30cfb0(_0x5c5969._0x518f8d)+_0x30cfb0(_0x5c5969._0x34ea1a)](_0x5b1945);const _0x27cb20=_0x1f8587||this[_0x30cfb0(0xae6)+'ryKey'+_0x30cfb0(0x637)+'s'];l['trace'](_0x4d2123[_0x30cfb0(0x3bb)],{'schemaName':this[_0x30cfb0(_0x5c5969._0x593fb5)+'aName'],'tableName':this[_0x30cfb0(0x828)+_0x30cfb0(_0x5c5969._0x3a25ae)],'fieldsToCheck':_0x27cb20});const _0x28c02e={};let _0x416cc3=!(0x25dc+-0x2039+-0x1*0x5a3);for(const _0x1cfb90 of _0x27cb20){const _0x1d4f8c=_0x5b1945[_0x1cfb90];if(_0x1d4f8c!=null)_0x28c02e[_0x1cfb90]=_0x1d4f8c;else{_0x416cc3=!(0xedb+0xd*-0x18+-0xda2),l[_0x30cfb0(0x2d7)](_0x4d2123[_0x30cfb0(0x4ce)],{'schemaName':this[_0x30cfb0(0x495)+_0x30cfb0(_0x5c5969._0x554ce7)],'tableName':this[_0x30cfb0(_0x5c5969._0x177048)+_0x30cfb0(0x3a7)],'field':_0x1cfb90});break;}}if(!_0x416cc3)return l[_0x30cfb0(_0x5c5969._0x5e3d88)]('Missi'+_0x30cfb0(_0x5c5969._0x8c09b8)+_0x30cfb0(_0x5c5969._0x4fcdaf)+'d\x20fie'+_0x30cfb0(_0x5c5969._0x479e2c)+_0x30cfb0(0x6bf)+_0x30cfb0(_0x5c5969._0x1fd0b2)+'\x20inse'+'rt',{'schemaName':this[_0x30cfb0(_0x5c5969._0x274578)+'aName'],'tableName':this['table'+_0x30cfb0(_0x5c5969._0x40d920)],'fieldsToCheck':_0x27cb20}),await this[_0x30cfb0(0xbf5)+'e'](_0x5b1945);l['trace']('Check'+_0x30cfb0(_0x5c5969._0x41ccd5)+_0x30cfb0(_0x5c5969._0x423092)+_0x30cfb0(0x6b6)+'xists',{'schemaName':this[_0x30cfb0(_0x5c5969._0x274578)+_0x30cfb0(_0x5c5969._0x40b7db)],'tableName':this[_0x30cfb0(0x828)+'Name'],'conditions':_0x28c02e});const _0x1e49f1=await this[_0x30cfb0(_0x5c5969._0x32969b)+'irst'](_0x28c02e);if(_0x1e49f1){if(_0x30cfb0(0x461)!==_0x30cfb0(0x449)){const _0x177cc0=_0x1e49f1[this[_0x30cfb0(_0x5c5969._0xec4fd7)+'ryKey'+_0x30cfb0(0x637)+'s'][0x536*0x7+-0x30c+-0x216e]];l[_0x30cfb0(0x64d)](_0x30cfb0(_0x5c5969._0x7e8eb3)+'d\x20exi'+_0x30cfb0(_0x5c5969._0x45c161)+'perfo'+'rming'+_0x30cfb0(_0x5c5969._0xe445fc)+'te',{'schemaName':this[_0x30cfb0(_0x5c5969._0x5138d7)+_0x30cfb0(0x3ed)],'tableName':this[_0x30cfb0(_0x5c5969._0x14d02e)+_0x30cfb0(_0x5c5969._0x56d180)],'primaryKeyField':this[_0x30cfb0(_0x5c5969._0xec4fd7)+'ryKey'+_0x30cfb0(0x637)+'s'][0xefc+0x2*-0x935+-0x1b7*-0x2],'primaryKeyValue':_0x177cc0});const _0x51375d=await this[_0x30cfb0(0x4fa)+'e'](_0x177cc0,_0x5b1945);return l[_0x30cfb0(0x5cb)](_0x4d2123[_0x30cfb0(_0x5c5969._0x58e051)],{'schemaName':this[_0x30cfb0(_0x5c5969._0x23c14d)+_0x30cfb0(0x3ed)],'tableName':this[_0x30cfb0(0x828)+_0x30cfb0(0x3a7)],'operation':_0x4d2123['MtlgU'],'primaryKeyValue':_0x177cc0}),this[_0x30cfb0(0x903)](_0x4d2123[_0x30cfb0(_0x5c5969._0x1f91d1)],{'operation':_0x4d2123[_0x30cfb0(_0x5c5969._0x4f7584)],'action':'updat'+'e','data':_0x51375d}),_0x51375d;}else _0x386d07[_0x30cfb0(0x64d)](_0x30cfb0(0x4a4)+_0x30cfb0(_0x5c5969._0x317c90)+'g\x20sch'+_0x30cfb0(0xc42),{'key':_0x31c0ab,'schemaName':_0x44905a[_0x30cfb0(_0x5c5969._0x3846e4)+_0x30cfb0(_0x5c5969._0xab8306)+'ame']}),this[_0x30cfb0(_0x5c5969._0x593fb5)+_0x30cfb0(_0x5c5969._0x24bfef)+'igura'+'tions'][_0x58d7a6]=_0x1f4585,_0x2e3511[_0x30cfb0(0x5cb)](_0x30cfb0(0x5c1)+_0x30cfb0(0x4c7)+'ister'+_0x30cfb0(0x895)+_0x30cfb0(0x583)+_0x30cfb0(_0x5c5969._0x2b1bba),{'key':_0x48a727,'schemaName':_0x5241af[_0x30cfb0(_0x5c5969._0x3846e4)+_0x30cfb0(0x453)+_0x30cfb0(0x9f2)]});}else{l['debug'](_0x4d2123[_0x30cfb0(0x318)],{'schemaName':this[_0x30cfb0(0x495)+_0x30cfb0(0x3ed)],'tableName':this[_0x30cfb0(0x828)+_0x30cfb0(0x3a7)]});const _0x3fdd12=await this['creat'+'e'](_0x5b1945);return l['info'](_0x4d2123[_0x30cfb0(_0x5c5969._0x3b1f6d)],{'schemaName':this['schem'+_0x30cfb0(_0x5c5969._0x11484b)],'tableName':this[_0x30cfb0(_0x5c5969._0x154cac)+'Name'],'operation':_0x4d2123['CrGVU']}),this[_0x30cfb0(_0x5c5969._0x394bd1)](_0x30cfb0(_0x5c5969._0x109c03)+_0x30cfb0(_0x5c5969._0x3d43df)+'ed',{'operation':_0x4d2123['bSoeC'],'action':'inser'+'t','data':_0x3fdd12}),_0x3fdd12;}}catch(_0x23a42c){throw l[_0x30cfb0(_0x5c5969._0x5a2dfd)](_0x4d2123[_0x30cfb0(0xa59)],{'schemaName':this[_0x30cfb0(_0x5c5969._0x210129)+'aName'],'tableName':this[_0x30cfb0(0x828)+_0x30cfb0(_0x5c5969._0x40d920)],'error':_0x23a42c[_0x30cfb0(0x6d8)+'ge']}),this[_0x30cfb0(0x968)+_0x30cfb0(_0x5c5969._0x50c70a)+'or'](_0x4d2123[_0x30cfb0(_0x5c5969._0xf8386f)],_0x23a42c),_0x23a42c;}}async['creat'+'e'](_0x3b8679){const _0x525fb8={_0xed9606:0x84d,_0x46adcd:0x30b,_0x216b2d:0x78b,_0x236341:0xa54,_0x1fa482:0xc7d,_0xbfdbed:0xc8e,_0x109ad8:0x2fa,_0x17598d:0x7cd,_0x35ef48:0xc56,_0x5edcb6:0xbbe,_0x4c0a9d:0x3ff,_0x5eccb0:0x982,_0x2d6f48:0x7f3,_0x3fd695:0xc58,_0x439232:0x3ec,_0x456c60:0xc83,_0x27f624:0x495,_0x6bfd25:0x828,_0x3a6289:0x54f,_0x2b0b10:0x636,_0xf49c00:0x4bd,_0x58d661:0x8b4,_0x292880:0x343,_0x371e4:0x996,_0x4f3d38:0x943,_0x52b467:0x2d7,_0x390789:0x3ed,_0xc61824:0x483,_0x3ea343:0x692,_0x102dc8:0xacf,_0x2dde99:0xbbf,_0xdf5e20:0xc45,_0x5c260f:0x75c,_0x34d857:0x495,_0x5b0504:0x64d,_0x597068:0x74a,_0x41d0cd:0x6c1,_0x202d16:0xb28,_0x9f1e8:0x637,_0x446627:0x3a7,_0x4fd2ff:0xae6,_0x2c9f8a:0x880,_0x5e6b04:0x388,_0x3b1f1c:0x495,_0x2bbfab:0x3a7,_0x3f0255:0x74a,_0x54a7bf:0x3c2,_0x25bf23:0x74a,_0xc902dd:0xc45,_0x4ed7c0:0x495,_0x1204fb:0x678,_0x2e4480:0x9a6,_0x392df8:0xc74,_0x1bbd2e:0x495,_0xc17243:0x423,_0x46612f:0xa8f,_0x1f43fd:0x5e1,_0x16270f:0x934,_0x1c8ddc:0x850,_0x3f0eda:0xc01,_0x2ee1d3:0x6fc,_0x2e07a5:0x5ab},_0x18e9b2=_0x441e35,_0x30e01f={'mgrDU':function(_0x52ee36,_0x1200e7){return _0x52ee36(_0x1200e7);},'WXNoL':_0x18e9b2(0x93a)+'ing\x20n'+_0x18e9b2(0xbe4)+_0x18e9b2(0x478),'hOzXI':'Build'+_0x18e9b2(0xa64)+_0x18e9b2(_0x525fb8._0xed9606)+_0x18e9b2(_0x525fb8._0x46adcd)+'for\x20i'+'nsert','hPQDd':function(_0x340f30,_0x16d5fb){return _0x340f30!==_0x16d5fb;},'xIorb':_0x18e9b2(_0x525fb8._0x216b2d),'OZVcp':'Inser'+_0x18e9b2(_0x525fb8._0x236341)+_0x18e9b2(_0x525fb8._0x1fa482)+'n\x20fai'+'led\x20-'+_0x18e9b2(0x9bd)+'ows\x20a'+_0x18e9b2(0x59c)+'ed','kELRz':_0x18e9b2(0xbc1)+_0x18e9b2(0xa54)+_0x18e9b2(_0x525fb8._0x1fa482)+'n\x20suc'+_0x18e9b2(0xc2c)+'ul','myKYi':_0x18e9b2(_0x525fb8._0xbfdbed)+_0x18e9b2(0xa88)+_0x18e9b2(_0x525fb8._0x109ad8)+_0x18e9b2(_0x525fb8._0x17598d)+_0x18e9b2(0x8cd)+_0x18e9b2(0x396)+_0x18e9b2(_0x525fb8._0x35ef48)+_0x18e9b2(0x6df),'YhEfT':_0x18e9b2(_0x525fb8._0x5edcb6)+'\x20not\x20'+_0x18e9b2(0x2fd)+_0x18e9b2(0x23f)+'reate'+_0x18e9b2(0x357)+_0x18e9b2(_0x525fb8._0x4c0a9d),'LrGIB':'Recor'+_0x18e9b2(_0x525fb8._0x5eccb0)+_0x18e9b2(0xab1)+'succe'+_0x18e9b2(0x46f)+'ly','gjVJc':_0x18e9b2(_0x525fb8._0x2d6f48)+_0x18e9b2(_0x525fb8._0x3fd695)+'d','pLzVP':_0x18e9b2(0xbf5)+'e','LDcXo':_0x18e9b2(_0x525fb8._0x439232)};l['debug'](_0x30e01f[_0x18e9b2(_0x525fb8._0x456c60)],{'schemaName':this[_0x18e9b2(_0x525fb8._0x27f624)+'aName'],'tableName':this[_0x18e9b2(_0x525fb8._0x6bfd25)+'Name'],'hasData':!!_0x3b8679,'dataKeys':_0x3b8679?Object[_0x18e9b2(_0x525fb8._0x3a6289)](_0x3b8679):[]}),await this[_0x18e9b2(0x757)+_0x18e9b2(_0x525fb8._0x2b0b10)+_0x18e9b2(_0x525fb8._0xf49c00)+_0x18e9b2(0x1dd)](),await this[_0x18e9b2(_0x525fb8._0x58d661)+_0x18e9b2(_0x525fb8._0x292880)+'dConn'+_0x18e9b2(_0x525fb8._0x371e4)+'n']();try{this['_vali'+_0x18e9b2(_0x525fb8._0x4f3d38)+'ata'](_0x3b8679),l[_0x18e9b2(_0x525fb8._0x52b467)](_0x30e01f[_0x18e9b2(0x4cd)],{'schemaName':this['schem'+_0x18e9b2(_0x525fb8._0x390789)],'tableName':this[_0x18e9b2(0x828)+'Name']});const _0x4f2e89=this[_0x18e9b2(_0x525fb8._0xc61824)+_0x18e9b2(0x958)+'able'](_0x3b8679),_0x10f895=await this[_0x18e9b2(_0x525fb8._0x3ea343)][_0x18e9b2(0x53e)+'t'](_0x4f2e89);if(_0x10f895[_0x18e9b2(0x42b)+_0x18e9b2(0x59c)+'ed']===0x6d3*0x1+0xa64+0x1137*-0x1){if(_0x30e01f[_0x18e9b2(0x2cb)](_0x30e01f[_0x18e9b2(0x437)],_0x18e9b2(_0x525fb8._0x216b2d)))return new _0x1fc611()[_0x18e9b2(_0x525fb8._0x102dc8)+'abled'](!(-0x2512+-0x2*0x313+0x2b38))[_0x18e9b2(0xb13)+_0x18e9b2(0x26e)+_0x18e9b2(_0x525fb8._0x2dde99)](_0x18e9b2(_0x525fb8._0xdf5e20))['build']();else{const _0x374f1f=_0x30e01f[_0x18e9b2(_0x525fb8._0x5c260f)];throw l['error'](_0x374f1f,{'schemaName':this[_0x18e9b2(_0x525fb8._0x34d857)+_0x18e9b2(0x3ed)],'tableName':this[_0x18e9b2(0x828)+'Name'],'result':_0x10f895}),new Error(_0x374f1f);}}l[_0x18e9b2(_0x525fb8._0x5b0504)](_0x30e01f[_0x18e9b2(0x947)],{'schemaName':this[_0x18e9b2(_0x525fb8._0x34d857)+_0x18e9b2(0x3ed)],'tableName':this[_0x18e9b2(_0x525fb8._0x6bfd25)+_0x18e9b2(0x3a7)],'rowsAffected':_0x10f895[_0x18e9b2(0x42b)+_0x18e9b2(0x59c)+'ed'],'lastInsertRowId':_0x10f895['lastI'+_0x18e9b2(_0x525fb8._0x597068)+_0x18e9b2(_0x525fb8._0x41d0cd)]});let _0x36cd63=null;const _0x2e2cb5=_0x3b8679[this[_0x18e9b2(0xae6)+_0x18e9b2(_0x525fb8._0x202d16)+_0x18e9b2(_0x525fb8._0x9f1e8)+'s'][-0x494*0x1+-0x11*-0x10d+0xd49*-0x1]];try{_0x2e2cb5!=null?(l['trace'](_0x30e01f[_0x18e9b2(0x993)],{'schemaName':this[_0x18e9b2(0x495)+_0x18e9b2(0x3ed)],'tableName':this['table'+_0x18e9b2(_0x525fb8._0x446627)],'primaryKeyField':this[_0x18e9b2(_0x525fb8._0x4fd2ff)+_0x18e9b2(0xb28)+_0x18e9b2(0x637)+'s'][-0x3a3*0x7+-0x7*0x27+0x1a86],'primaryKeyValue':_0x2e2cb5}),_0x36cd63=await this['findB'+_0x18e9b2(_0x525fb8._0x2c9f8a)](_0x2e2cb5)):_0x10f895[_0x18e9b2(0x45d)+'nsert'+'RowId']&&(l['trace'](_0x18e9b2(0xc8e)+_0x18e9b2(0xa88)+_0x18e9b2(0x2fa)+_0x18e9b2(0x7cd)+_0x18e9b2(0x8cd)+'\x20by\x20l'+_0x18e9b2(_0x525fb8._0x5e6b04)+'nsert'+_0x18e9b2(0x8c6),{'schemaName':this[_0x18e9b2(_0x525fb8._0x3b1f1c)+_0x18e9b2(_0x525fb8._0x390789)],'tableName':this[_0x18e9b2(_0x525fb8._0x6bfd25)+_0x18e9b2(_0x525fb8._0x2bbfab)],'lastInsertRowId':_0x10f895[_0x18e9b2(0x45d)+_0x18e9b2(_0x525fb8._0x3f0255)+'RowId']}),_0x36cd63=await this[_0x18e9b2(_0x525fb8._0x54a7bf)+_0x18e9b2(0x880)](_0x10f895[_0x18e9b2(0x45d)+_0x18e9b2(_0x525fb8._0x25bf23)+_0x18e9b2(_0x525fb8._0x41d0cd)]));}catch(_0x1b9926){l[_0x18e9b2(_0x525fb8._0xc902dd)](_0x30e01f['YhEfT'],{'schemaName':this[_0x18e9b2(_0x525fb8._0x4ed7c0)+_0x18e9b2(0x3ed)],'tableName':this['table'+'Name'],'findError':_0x1b9926['messa'+'ge']});}return _0x36cd63||(l['debug'](_0x18e9b2(_0x525fb8._0x1204fb)+_0x18e9b2(0x2d3)+_0x18e9b2(0xabf)+_0x18e9b2(0xb20)+_0x18e9b2(_0x525fb8._0x2e4480)+_0x18e9b2(_0x525fb8._0x392df8)+_0x18e9b2(0x686)+'rd',{'schemaName':this[_0x18e9b2(0x495)+'aName'],'tableName':this['table'+'Name']}),_0x36cd63=_0x3b8679),l[_0x18e9b2(0x5cb)](_0x30e01f['LrGIB'],{'schemaName':this[_0x18e9b2(_0x525fb8._0x1bbd2e)+_0x18e9b2(_0x525fb8._0x390789)],'tableName':this[_0x18e9b2(0x828)+'Name'],'recordRetrieved':!!_0x36cd63}),this[_0x18e9b2(0x903)](_0x30e01f[_0x18e9b2(_0x525fb8._0xc17243)],{'operation':_0x30e01f[_0x18e9b2(_0x525fb8._0x46612f)],'data':_0x36cd63}),_0x36cd63;}catch(_0x58d04d){if(_0x30e01f['hPQDd'](_0x30e01f[_0x18e9b2(0x5e1)],_0x30e01f[_0x18e9b2(_0x525fb8._0x1f43fd)]))_0x30e01f[_0x18e9b2(_0x525fb8._0x16270f)](_0xbbb0e1,_0x7e29f8);else throw l[_0x18e9b2(_0x525fb8._0x1c8ddc)]('Error'+_0x18e9b2(0x2fa)+_0x18e9b2(0xce9)+_0x18e9b2(0x496)+'d',{'schemaName':this['schem'+'aName'],'tableName':this[_0x18e9b2(_0x525fb8._0x6bfd25)+_0x18e9b2(0x3a7)],'error':_0x58d04d[_0x18e9b2(0x6d8)+'ge']}),this['_hand'+_0x18e9b2(_0x525fb8._0x3f0eda)+'or'](_0x18e9b2(_0x525fb8._0x2ee1d3)+_0x18e9b2(_0x525fb8._0x2e07a5)+'OR',_0x58d04d),_0x58d04d;}}async['updat'+'e'](_0x5040ee,_0x28adcd){const _0xc49d4={_0x8740fd:0x62b,_0x42f5f1:0x8cd,_0x83fd64:0x8f4,_0xb3c15d:0x9ee,_0x27b1be:0x96c,_0x1bd48f:0x84c,_0x1aab13:0x67d,_0x33b322:0xc7d,_0x13ad24:0x78a,_0x16e006:0x4fa,_0x497986:0x5ab,_0x51e50f:0x64d,_0x179ff5:0xb8b,_0xa4b75b:0x8f7,_0x2b1008:0xba5,_0x3e9c1b:0x660,_0x22b761:0x850,_0x38a511:0x3ed,_0xddd9c:0x828,_0x2ba3b0:0x984,_0x3b5048:0x5ca,_0x266f1f:0x637,_0x11f9d8:0xc96,_0x2c8326:0x958,_0x40b438:0x828,_0x3ed8ea:0x5cb,_0x4294ca:0xa84,_0x40ca90:0x3ed,_0x199e9d:0x903,_0x2081f8:0x9ee,_0x3b3520:0x4e6,_0xc3e02d:0xc1e,_0x106a95:0xce9,_0x1cf68c:0x496,_0x5838ec:0x3ed,_0x2074d7:0x6d8,_0x14bdd4:0x968},_0x18f4a8=_0x441e35,_0x348f6b={'cGTxh':function(_0x269d90,_0x2ea65c){return _0x269d90===_0x2ea65c;},'LNlkt':_0x18f4a8(0x84c)+_0x18f4a8(_0xc49d4._0x8740fd)+_0x18f4a8(_0xc49d4._0x42f5f1),'ByAsk':'QctPL','IpzLB':_0x18f4a8(0xb2e)+_0x18f4a8(_0xc49d4._0x83fd64)+_0x18f4a8(_0xc49d4._0xb3c15d)+_0x18f4a8(0x22b)+_0x18f4a8(_0xc49d4._0x27b1be)+'le','EONXa':_0x18f4a8(_0xc49d4._0x1bd48f)+_0x18f4a8(_0xc49d4._0x1aab13)+_0x18f4a8(_0xc49d4._0x33b322)+_0x18f4a8(_0xc49d4._0x13ad24)+_0x18f4a8(0x40e)+'d','xRqXg':_0x18f4a8(_0xc49d4._0x16e006)+'e','mkSvD':'UPDAT'+_0x18f4a8(_0xc49d4._0x497986)+'OR'};l[_0x18f4a8(_0xc49d4._0x51e50f)](_0x348f6b['LNlkt'],{'schemaName':this[_0x18f4a8(0x495)+_0x18f4a8(0x3ed)],'tableName':this[_0x18f4a8(0x828)+'Name'],'id':_0x5040ee,'hasData':!!_0x28adcd,'dataKeys':_0x28adcd?Object[_0x18f4a8(0x54f)](_0x28adcd):[]}),await this[_0x18f4a8(0x757)+'reIni'+_0x18f4a8(0x4bd)+'zed']();try{if(!_0x5040ee){if(_0x348f6b['ByAsk']!==_0x348f6b[_0x18f4a8(0x412)]){const [_0x34f3cc]=_0x2b65b5[_0x18f4a8(0x600)](':');_0x348f6b[_0x18f4a8(_0xc49d4._0x179ff5)](_0x34f3cc,_0x47380d)&&_0x1b1621['push'](_0x21e049);}else{const _0x111a7f=_0x18f4a8(_0xc49d4._0xa4b75b)+_0x18f4a8(_0xc49d4._0x2b1008)+_0x18f4a8(0xc84)+_0x18f4a8(_0xc49d4._0x3e9c1b)+_0x18f4a8(0x9ee);throw l[_0x18f4a8(_0xc49d4._0x22b761)](_0x111a7f,{'schemaName':this['schem'+_0x18f4a8(_0xc49d4._0x38a511)],'tableName':this[_0x18f4a8(_0xc49d4._0xddd9c)+_0x18f4a8(0x3a7)]}),new Error(_0x111a7f);}}this[_0x18f4a8(_0xc49d4._0x2ba3b0)+_0x18f4a8(0x943)+'ata'](_0x28adcd);const _0x51cfc4=Object[_0x18f4a8(0x5ca)+'n'](Object[_0x18f4a8(_0xc49d4._0x3b5048)+'n']({},_0x28adcd),{[this[_0x18f4a8(0xae6)+_0x18f4a8(0xb28)+_0x18f4a8(_0xc49d4._0x266f1f)+'s'][0x269c*0x1+-0x242c+0xc*-0x34]]:_0x5040ee});l[_0x18f4a8(0x2d7)](_0x348f6b[_0x18f4a8(_0xc49d4._0x11f9d8)],{'schemaName':this[_0x18f4a8(0x495)+_0x18f4a8(0x3ed)],'tableName':this[_0x18f4a8(0x828)+'Name'],'id':_0x5040ee});const _0x176de7=this[_0x18f4a8(0x483)+_0x18f4a8(_0xc49d4._0x2c8326)+_0x18f4a8(0x85b)](_0x51cfc4);await this['dao'][_0x18f4a8(0x4fa)+'e'](_0x176de7),l['debug'](_0x348f6b[_0x18f4a8(0xb4f)],{'schemaName':this[_0x18f4a8(0x495)+_0x18f4a8(_0xc49d4._0x38a511)],'tableName':this[_0x18f4a8(_0xc49d4._0x40b438)+'Name'],'id':_0x5040ee});const _0x21826a=await this[_0x18f4a8(0x3c2)+_0x18f4a8(0x880)](_0x5040ee);return l[_0x18f4a8(_0xc49d4._0x3ed8ea)]('Recor'+_0x18f4a8(0x8e4)+_0x18f4a8(0xab1)+_0x18f4a8(_0xc49d4._0x4294ca)+_0x18f4a8(0x46f)+'ly',{'schemaName':this['schem'+_0x18f4a8(_0xc49d4._0x40ca90)],'tableName':this[_0x18f4a8(0x828)+'Name'],'id':_0x5040ee,'recordFound':!!_0x21826a}),this[_0x18f4a8(_0xc49d4._0x199e9d)]('dataU'+_0x18f4a8(_0xc49d4._0x2081f8)+'d',{'operation':_0x348f6b['xRqXg'],'id':_0x5040ee,'data':_0x21826a}),_0x21826a;}catch(_0x45bf27){throw l[_0x18f4a8(_0xc49d4._0x22b761)](_0x18f4a8(_0xc49d4._0x3b3520)+_0x18f4a8(_0xc49d4._0xc3e02d)+_0x18f4a8(_0xc49d4._0x106a95)+_0x18f4a8(_0xc49d4._0x1cf68c)+'d',{'schemaName':this[_0x18f4a8(0x495)+_0x18f4a8(_0xc49d4._0x5838ec)],'tableName':this['table'+_0x18f4a8(0x3a7)],'id':_0x5040ee,'error':_0x45bf27[_0x18f4a8(_0xc49d4._0x2074d7)+'ge']}),this[_0x18f4a8(_0xc49d4._0x14bdd4)+'leErr'+'or'](_0x348f6b[_0x18f4a8(0x9d2)],_0x45bf27),_0x45bf27;}}async[_0x441e35(0x7f1)+'e'](_0x3b5afc){const _0x37353c={_0x264dd0:0x5c9,_0x29c82d:0xce9,_0x3b6264:0x64d,_0x27dc69:0x746,_0x5e4160:0x3ed,_0x265fb7:0x3a7,_0x13d6d6:0x757,_0x52a952:0x828,_0x3403b6:0xae6,_0x396fbe:0xb28,_0x4239de:0x2d7,_0x2f6043:0xb28,_0x56019a:0x692,_0x16c7f5:0x59c,_0x30b423:0x841,_0x4feda0:0xce1,_0x2fb97a:0x3a7,_0x25b58a:0x361,_0x103193:0x7f1,_0xf65118:0xc1c,_0x238253:0x495,_0x330e33:0x6d8,_0x1dd0fb:0x74c},_0x4a8921=_0x441e35,_0x45a970={'OUdTX':'ID\x20is'+_0x4a8921(0xba5)+'ired\x20'+'for\x20d'+_0x4a8921(0x361),'qYiPd':_0x4a8921(0x746)+_0x4a8921(0x67d)+_0x4a8921(0xc7d)+_0x4a8921(0x78a)+_0x4a8921(0x40e)+_0x4a8921(_0x37353c._0x264dd0)+_0x4a8921(0x9bd)+_0x4a8921(0x652)+_0x4a8921(0x59c)+'ed','yWRME':_0x4a8921(0x4e6)+'\x20dele'+_0x4a8921(_0x37353c._0x29c82d)+_0x4a8921(0x496)+'d'};l[_0x4a8921(_0x37353c._0x3b6264)](_0x4a8921(_0x37353c._0x27dc69)+_0x4a8921(0x62b)+_0x4a8921(0x8cd),{'schemaName':this[_0x4a8921(0x495)+_0x4a8921(_0x37353c._0x5e4160)],'tableName':this['table'+_0x4a8921(_0x37353c._0x265fb7)],'id':_0x3b5afc}),await this[_0x4a8921(_0x37353c._0x13d6d6)+_0x4a8921(0x636)+_0x4a8921(0x4bd)+'zed']();try{if(!_0x3b5afc){const _0x2a276a=_0x45a970['OUdTX'];throw l[_0x4a8921(0x850)](_0x2a276a,{'schemaName':this['schem'+_0x4a8921(0x3ed)],'tableName':this[_0x4a8921(_0x37353c._0x52a952)+_0x4a8921(_0x37353c._0x265fb7)]}),new Error(_0x2a276a);}const _0x157b19={'name':this[_0x4a8921(_0x37353c._0x52a952)+'Name'],'cols':[],'wheres':[{'name':this[_0x4a8921(_0x37353c._0x3403b6)+_0x4a8921(_0x37353c._0x396fbe)+'Field'+'s'][0x29e*0x1+-0x1cb3*-0x1+-0x1f51],'value':_0x3b5afc}]};l[_0x4a8921(_0x37353c._0x4239de)]('Execu'+_0x4a8921(_0x37353c._0x29c82d)+_0x4a8921(0x7f1)+_0x4a8921(0x67d)+_0x4a8921(0xc7d)+'n',{'schemaName':this[_0x4a8921(0x495)+_0x4a8921(0x3ed)],'tableName':this[_0x4a8921(0x828)+'Name'],'id':_0x3b5afc,'primaryKeyField':this['prima'+_0x4a8921(_0x37353c._0x2f6043)+_0x4a8921(0x637)+'s'][0x1593+0x2595*0x1+0x277*-0x18]});const _0x566ac8=await this[_0x4a8921(_0x37353c._0x56019a)]['delet'+'e'](_0x157b19),_0x333d1f=_0x566ac8[_0x4a8921(0x42b)+_0x4a8921(_0x37353c._0x16c7f5)+'ed']>0x1*0x1a8d+0x1f5c+-0x39e9;return _0x333d1f?(l['info'](_0x4a8921(0xa86)+_0x4a8921(_0x37353c._0x30b423)+_0x4a8921(_0x37353c._0x4feda0)+'succe'+_0x4a8921(0x46f)+'ly',{'schemaName':this[_0x4a8921(0x495)+'aName'],'tableName':this[_0x4a8921(0x828)+_0x4a8921(_0x37353c._0x2fb97a)],'id':_0x3b5afc,'rowsAffected':_0x566ac8[_0x4a8921(0x42b)+_0x4a8921(0x59c)+'ed']}),this[_0x4a8921(0x903)]('dataD'+_0x4a8921(_0x37353c._0x25b58a)+'d',{'operation':_0x4a8921(_0x37353c._0x103193)+'e','id':_0x3b5afc})):l[_0x4a8921(0xc45)](_0x45a970[_0x4a8921(_0x37353c._0xf65118)],{'schemaName':this['schem'+'aName'],'tableName':this[_0x4a8921(_0x37353c._0x52a952)+'Name'],'id':_0x3b5afc}),_0x333d1f;}catch(_0x1e9a07){throw l['error'](_0x45a970[_0x4a8921(0x997)],{'schemaName':this[_0x4a8921(_0x37353c._0x238253)+_0x4a8921(0x3ed)],'tableName':this[_0x4a8921(0x828)+_0x4a8921(0x3a7)],'id':_0x3b5afc,'error':_0x1e9a07[_0x4a8921(_0x37353c._0x330e33)+'ge']}),this['_hand'+_0x4a8921(0xc01)+'or'](_0x4a8921(_0x37353c._0x1dd0fb)+'E_ERR'+'OR',_0x1e9a07),_0x1e9a07;}}async[_0x441e35(0x3c2)+_0x441e35(0x880)](_0x1de082){const _0x2f52ca={_0x166536:0x8f0,_0x531ebd:0x47a,_0x1e73b4:0xba5,_0x2edee8:0x3c2,_0x4fe65a:0x1f9,_0x16d7cd:0x828,_0x3a82ee:0x757,_0x27bcc5:0x1dd,_0x367afc:0xc6f,_0x33a545:0x3ed,_0x2501d6:0xb28,_0x355a03:0xaae,_0x507332:0x22b,_0x55abd2:0x3ed,_0x5e0180:0x6fa,_0x324a81:0x54f,_0x5d08eb:0x64d,_0x44d150:0xb80,_0x50c6e0:0x828,_0x475806:0x3a7,_0x50b37a:0xca8,_0x33e0e3:0x3dd,_0x48af50:0x3a7,_0x51cb46:0xb37,_0x1494c5:0x53f},_0x44480f=_0x441e35,_0x4fc021={'KAbYb':_0x44480f(0x3ce)+_0x44480f(_0x2f52ca._0x166536)+_0x44480f(0x9da)+_0x44480f(_0x2f52ca._0x531ebd),'QdDsR':'ID\x20is'+_0x44480f(_0x2f52ca._0x1e73b4)+'ired','WaNTA':function(_0x23f574,_0x1b2f6c){return _0x23f574>_0x1b2f6c;},'RkFXD':_0x44480f(_0x2f52ca._0x2edee8)+_0x44480f(0x880),'lKHBU':function(_0x347278,_0x23beaa){return _0x347278===_0x23beaa;},'yGVDY':_0x44480f(0x29c)};l[_0x44480f(0x64d)](_0x4fc021[_0x44480f(_0x2f52ca._0x4fe65a)],{'schemaName':this['schem'+'aName'],'tableName':this[_0x44480f(_0x2f52ca._0x16d7cd)+_0x44480f(0x3a7)],'id':_0x1de082}),await this[_0x44480f(_0x2f52ca._0x3a82ee)+_0x44480f(0x636)+_0x44480f(0x4bd)+_0x44480f(_0x2f52ca._0x27bcc5)]();try{if(!_0x1de082){const _0x21ca48=_0x4fc021[_0x44480f(_0x2f52ca._0x367afc)];throw l['error'](_0x21ca48,{'schemaName':this['schem'+_0x44480f(_0x2f52ca._0x33a545)],'tableName':this[_0x44480f(_0x2f52ca._0x16d7cd)+'Name']}),new Error(_0x21ca48);}const _0x12fc62={[this[_0x44480f(0xae6)+_0x44480f(_0x2f52ca._0x2501d6)+'Field'+'s'][-0x14*0x158+-0x141*0x11+0x3031]]:_0x1de082};l['trace'](_0x44480f(0xb2e)+_0x44480f(0x884)+_0x44480f(_0x2f52ca._0x355a03)+_0x44480f(_0x2f52ca._0x507332)+'y',{'schemaName':this[_0x44480f(0x495)+_0x44480f(_0x2f52ca._0x55abd2)],'tableName':this[_0x44480f(0x828)+_0x44480f(0x3a7)],'conditions':_0x12fc62});const _0x348105=this[_0x44480f(0x483)+'Selec'+_0x44480f(0x79e)+'e'](_0x12fc62),_0x2d394=await this[_0x44480f(0x692)]['selec'+'t'](_0x348105),_0x21a54c=_0x4fc021[_0x44480f(_0x2f52ca._0x5e0180)](Object[_0x44480f(_0x2f52ca._0x324a81)](_0x2d394)[_0x44480f(0x4b2)+'h'],-0x1fa6+-0xa8*0x16+-0x11*-0x2b6)?_0x2d394:null;return l[_0x44480f(_0x2f52ca._0x5d08eb)](_0x44480f(0x26a)+_0x44480f(0x47a)+'\x20comp'+_0x44480f(_0x2f52ca._0x44d150),{'schemaName':this[_0x44480f(0x495)+_0x44480f(0x3ed)],'tableName':this[_0x44480f(_0x2f52ca._0x50c6e0)+_0x44480f(_0x2f52ca._0x475806)],'id':_0x1de082,'recordFound':!!_0x21a54c}),this['_emit']('dataF'+_0x44480f(_0x2f52ca._0x50b37a)+'d',{'operation':_0x4fc021['RkFXD'],'id':_0x1de082}),_0x21a54c;}catch(_0x5a4095){if(_0x4fc021[_0x44480f(0xb0d)](_0x44480f(0x29c),_0x4fc021[_0x44480f(_0x2f52ca._0x33e0e3)]))throw l['error']('Error'+_0x44480f(0xb85)+_0x44480f(0x62b)+_0x44480f(0x8cd)+_0x44480f(0x4e1)+'D',{'schemaName':this[_0x44480f(0x495)+_0x44480f(_0x2f52ca._0x33a545)],'tableName':this[_0x44480f(_0x2f52ca._0x50c6e0)+_0x44480f(_0x2f52ca._0x48af50)],'id':_0x1de082,'error':_0x5a4095[_0x44480f(0x6d8)+'ge']}),this['_hand'+_0x44480f(0xc01)+'or']('FIND_'+_0x44480f(_0x2f52ca._0x51cb46)+_0x44480f(_0x2f52ca._0x1494c5)+'R',_0x5a4095),_0x5a4095;else _0x2b58d7[_0x44480f(0x851)+_0x44480f(0x344)+'e']()[_0x44480f(0x5cb)](this[_0x44480f(0x4a1)+_0x44480f(0xa43)],_0x57e639,..._0x505e95);}}async[_0x441e35(0xaf1)+_0x441e35(0x261)](_0x3a16ae={}){const _0x58d7ca={_0x4818c3:0x7fe,_0x3fd059:0xca8,_0x3dacc1:0x495,_0x140fec:0x3ed,_0x2775a8:0x828,_0x465c9c:0x3a7,_0x440a00:0x4bd,_0x18cff5:0x2d7,_0xd4d41a:0xb2e,_0x421266:0x884,_0x5486b7:0xb85,_0x3313c2:0x2eb,_0x841bf9:0x483,_0x4a16c5:0x2f2,_0x1b8e09:0x59f,_0x31e0d9:0x4b2,_0x196832:0x26a,_0x94eb38:0xb49,_0xf2a88b:0x4e2,_0x24d0bc:0x59e,_0x545c35:0xaf1,_0xb96ea3:0x261,_0x4f42a8:0xb85,_0x294386:0x3ed,_0xa9538d:0x968,_0x18ce0f:0x5c2,_0x14e225:0x53f},_0x122d07=_0x441e35,_0x41b09a={'AjElw':_0x122d07(0x3ce)+'ng\x20fi'+'rst\x20r'+_0x122d07(0x8cd),'ZBXvy':function(_0x2a4019,_0x9cfad8){return _0x2a4019>_0x9cfad8;},'WiXkA':_0x122d07(_0x58d7ca._0x4818c3)+_0x122d07(_0x58d7ca._0x3fd059)+'d'};l['debug'](_0x41b09a[_0x122d07(0xcd9)],{'schemaName':this[_0x122d07(_0x58d7ca._0x3dacc1)+_0x122d07(_0x58d7ca._0x140fec)],'tableName':this[_0x122d07(_0x58d7ca._0x2775a8)+_0x122d07(_0x58d7ca._0x465c9c)],'conditionsCount':Object['keys'](_0x3a16ae)['lengt'+'h'],'conditions':_0x3a16ae}),await this['_ensu'+_0x122d07(0x636)+_0x122d07(_0x58d7ca._0x440a00)+_0x122d07(0x1dd)]();try{l[_0x122d07(_0x58d7ca._0x18cff5)](_0x122d07(_0x58d7ca._0xd4d41a)+_0x122d07(_0x58d7ca._0x421266)+'elect'+_0x122d07(0x22b)+_0x122d07(0x8f5)+_0x122d07(_0x58d7ca._0x5486b7)+_0x122d07(_0x58d7ca._0x3313c2),{'schemaName':this[_0x122d07(0x495)+_0x122d07(_0x58d7ca._0x140fec)],'tableName':this[_0x122d07(0x828)+_0x122d07(_0x58d7ca._0x465c9c)]});const _0x1ed03f=this[_0x122d07(_0x58d7ca._0x841bf9)+_0x122d07(_0x58d7ca._0x4a16c5)+'tTabl'+'e'](_0x3a16ae),_0x2cf244=await this['dao'][_0x122d07(0x536)+'t'](_0x1ed03f),_0x249d96=_0x41b09a[_0x122d07(_0x58d7ca._0x1b8e09)](Object[_0x122d07(0x54f)](_0x2cf244)[_0x122d07(_0x58d7ca._0x31e0d9)+'h'],0x43a*0x2+0x114*-0x16+0x2*0x7a2)?_0x2cf244:null;return l[_0x122d07(0x64d)](_0x122d07(_0x58d7ca._0x196832)+_0x122d07(_0x58d7ca._0x94eb38)+_0x122d07(_0x58d7ca._0xf2a88b)+_0x122d07(0xb80),{'schemaName':this[_0x122d07(0x495)+'aName'],'tableName':this['table'+'Name'],'recordFound':!!_0x249d96}),this[_0x122d07(0x903)](_0x41b09a[_0x122d07(_0x58d7ca._0x24d0bc)],{'operation':_0x122d07(_0x58d7ca._0x545c35)+_0x122d07(_0x58d7ca._0xb96ea3)}),_0x249d96;}catch(_0x1f37c0){throw l[_0x122d07(0x850)](_0x122d07(0x4e6)+_0x122d07(_0x58d7ca._0x4f42a8)+'ing\x20f'+'irst\x20'+_0x122d07(0x496)+'d',{'schemaName':this[_0x122d07(0x495)+_0x122d07(_0x58d7ca._0x294386)],'tableName':this['table'+_0x122d07(_0x58d7ca._0x465c9c)],'conditions':_0x3a16ae,'error':_0x1f37c0['messa'+'ge']}),this[_0x122d07(_0x58d7ca._0xa9538d)+_0x122d07(0xc01)+'or'](_0x122d07(_0x58d7ca._0x18ce0f)+_0x122d07(0x3f9)+_0x122d07(_0x58d7ca._0x14e225)+'R',_0x1f37c0),_0x1f37c0;}}async['findA'+'ll'](_0x7a605b={},_0x326882={}){const _0xca18e8={_0x503e64:0x66f,_0x45491f:0x26a,_0x41132c:0x8fb,_0x3ae014:0x5c2,_0x2cdc8c:0xb07,_0x4d12db:0x3ce,_0x3a4816:0x642,_0x343ee6:0x515,_0x423e53:0x495,_0xb70cf3:0x3ed,_0x38cf4d:0x828,_0x50816b:0xc23,_0x38b577:0x7a2,_0x44a42:0x664,_0x143e0f:0x757,_0x3fc73d:0x4bd,_0x298d04:0x8dd,_0xfba26:0xca5,_0x3b54ec:0x4b5,_0x445a90:0x7e4,_0x4d3ff3:0x7a2,_0x51d52e:0x692,_0x3bf331:0x536,_0x1ec139:0x98c,_0x177463:0x5cb,_0x5615d8:0x828,_0x96c804:0x4b2,_0x2768cd:0x903,_0x3dd59a:0xb85,_0x54ff05:0x730,_0x540ee8:0xab4,_0x4f239b:0x495,_0x4caa26:0xc01,_0x3af9e3:0x314},_0x518039=_0x441e35,_0x560f16={'GErrS':function(_0x59281f,_0x10be97){return _0x59281f>_0x10be97;},'DdBSu':'Build'+_0x518039(0xc43)+_0x518039(0x9a1)+_0x518039(0x2c1)+_0x518039(_0xca18e8._0x503e64)+'l','HhrYg':function(_0x5e651d,_0x353c9b){return _0x5e651d>_0x353c9b;},'ulDmA':_0x518039(_0xca18e8._0x45491f)+_0x518039(0x39b)+_0x518039(0x407)+_0x518039(_0xca18e8._0x41132c),'VYhHR':'dataF'+_0x518039(0xca8)+'d','doozB':'findA'+'ll','itUhl':_0x518039(_0xca18e8._0x3ae014)+'ALL_E'+_0x518039(_0xca18e8._0x2cdc8c)};l['debug'](_0x518039(_0xca18e8._0x4d12db)+_0x518039(_0xca18e8._0x3a4816)+'l\x20rec'+_0x518039(_0xca18e8._0x343ee6),{'schemaName':this[_0x518039(_0xca18e8._0x423e53)+_0x518039(_0xca18e8._0xb70cf3)],'tableName':this[_0x518039(_0xca18e8._0x38cf4d)+'Name'],'conditionsCount':Object[_0x518039(0x54f)](_0x7a605b)['lengt'+'h'],'hasLimit':!!_0x326882[_0x518039(0x7a2)],'hasOffset':!!_0x326882['offse'+'t'],'hasOrderBy':!!(_0x326882[_0x518039(0x510)+'By']&&_0x560f16[_0x518039(_0xca18e8._0x50816b)](_0x326882['order'+'By'][_0x518039(0x4b2)+'h'],-0x1*-0x1738+-0x26e5+0xfad)),'limit':_0x326882[_0x518039(_0xca18e8._0x38b577)],'offset':_0x326882[_0x518039(_0xca18e8._0x44a42)+'t']}),await this[_0x518039(_0xca18e8._0x143e0f)+'reIni'+_0x518039(_0xca18e8._0x3fc73d)+_0x518039(0x1dd)]();try{const _0x3a78a1=[...this[_0x518039(0x483)+_0x518039(_0xca18e8._0x298d04)+_0x518039(0x953)+_0x518039(_0xca18e8._0xfba26)](_0x7a605b),..._0x326882[_0x518039(0x545)]||[]];l[_0x518039(0x2d7)](_0x560f16[_0x518039(0x706)],{'schemaName':this[_0x518039(0x495)+_0x518039(0x3ed)],'tableName':this[_0x518039(_0xca18e8._0x38cf4d)+_0x518039(0x3a7)],'totalWheres':_0x3a78a1[_0x518039(0x4b2)+'h'],'hasColumns':!!(_0x326882[_0x518039(0x7e4)+'ns']&&_0x560f16[_0x518039(_0xca18e8._0x3b54ec)](_0x326882[_0x518039(_0xca18e8._0x445a90)+'ns'][_0x518039(0x4b2)+'h'],0x2d3+-0x8fa*-0x3+-0x1dc1))});const _0x387bed={'name':this['table'+'Name'],'cols':_0x326882['colum'+'ns']?_0x326882[_0x518039(_0xca18e8._0x445a90)+'ns'][_0x518039(0x269)](_0x33a9e6=>({'name':_0x33a9e6})):[],'wheres':_0x3a78a1,'orderbys':_0x326882[_0x518039(0x510)+'By'],'limitOffset':{'limit':_0x326882[_0x518039(_0xca18e8._0x4d3ff3)],'offset':_0x326882[_0x518039(0x664)+'t']}},_0x69e7d1=await this[_0x518039(_0xca18e8._0x51d52e)][_0x518039(_0xca18e8._0x3bf331)+_0x518039(_0xca18e8._0x1ec139)](_0x387bed);return l[_0x518039(_0xca18e8._0x177463)](_0x560f16[_0x518039(0x5cf)],{'schemaName':this[_0x518039(0x495)+_0x518039(_0xca18e8._0xb70cf3)],'tableName':this[_0x518039(_0xca18e8._0x5615d8)+_0x518039(0x3a7)],'recordsFound':_0x69e7d1[_0x518039(_0xca18e8._0x96c804)+'h'],'conditionsCount':Object[_0x518039(0x54f)](_0x7a605b)[_0x518039(_0xca18e8._0x96c804)+'h']}),this[_0x518039(_0xca18e8._0x2768cd)](_0x560f16[_0x518039(0xcc5)],{'operation':_0x560f16['doozB'],'count':_0x69e7d1[_0x518039(0x4b2)+'h']}),_0x69e7d1;}catch(_0x52e3d2){throw l[_0x518039(0x850)](_0x518039(0x4e6)+_0x518039(_0xca18e8._0x3dd59a)+_0x518039(0xcf0)+_0x518039(_0xca18e8._0x54ff05)+_0x518039(_0xca18e8._0x540ee8),{'schemaName':this[_0x518039(_0xca18e8._0x4f239b)+'aName'],'tableName':this['table'+_0x518039(0x3a7)],'conditions':_0x7a605b,'options':_0x326882,'error':_0x52e3d2['messa'+'ge']}),this[_0x518039(0x968)+_0x518039(_0xca18e8._0x4caa26)+'or'](_0x560f16[_0x518039(_0xca18e8._0x3af9e3)],_0x52e3d2),_0x52e3d2;}}async[_0x441e35(0xb45)](_0x58a3b4){const _0x2ec541={_0x431e7e:0xcdf,_0x41183e:0x3b2,_0x554468:0x75b,_0x1b331a:0x6da,_0x1d6f13:0x64d,_0x5bddb2:0x62b,_0x5bd09c:0x828,_0x56d5b2:0xb91,_0x5d3b56:0xceb,_0x345ffb:0x636,_0x5f07a5:0x966,_0x50c023:0x319,_0x17be30:0x495,_0x282dcc:0x3ed,_0x126946:0x843,_0x2d6097:0x8dd,_0x602268:0x953,_0x5e9921:0xca5,_0x179b40:0x4b2,_0xdee584:0xb16,_0x22f4e7:0x536,_0x4e8a4b:0xb45,_0x232b24:0x64d,_0xb01853:0x2d6,_0x22b37b:0x6a1,_0x42fcc3:0x828,_0x57ca3e:0x968,_0x169c58:0xc01,_0x1b1ac8:0xaca},_0x250247=_0x441e35,_0x2290a1={'Bbbcw':'objec'+'t','fqYyW':_0x250247(0xc75),'bRfRO':function(_0x3b93ed,_0x5aef2e){return _0x3b93ed==_0x5aef2e;},'Buswe':_0x250247(0x71e)+_0x250247(_0x2ec541._0x431e7e)+'e\x20con'+_0x250247(_0x2ec541._0x41183e)+_0x250247(_0x2ec541._0x554468)+_0x250247(0x8a0)+'ject','Weywu':'Count'+_0x250247(0x4e2)+_0x250247(0xb80),'MTjqd':_0x250247(0x4e6)+_0x250247(_0x2ec541._0x1b331a)+_0x250247(0xce9)+_0x250247(0x496)+'ds'};l[_0x250247(_0x2ec541._0x1d6f13)]('Count'+_0x250247(_0x2ec541._0x5bddb2)+_0x250247(0x8cd)+'s',{'schemaName':this['schem'+_0x250247(0x3ed)],'tableName':this[_0x250247(_0x2ec541._0x5bd09c)+'Name'],'hasWhere':!!_0x58a3b4,'whereType':_0x58a3b4?Array['isArr'+'ay'](_0x58a3b4)?_0x250247(_0x2ec541._0x56d5b2):_0x2290a1['Bbbcw']:_0x2290a1[_0x250247(_0x2ec541._0x5d3b56)]}),await this[_0x250247(0x757)+_0x250247(_0x2ec541._0x345ffb)+_0x250247(0x4bd)+'zed']();try{let _0x4d6deb=[];Array[_0x250247(_0x2ec541._0x5f07a5)+'ay'](_0x58a3b4)?(_0x4d6deb=_0x58a3b4,l[_0x250247(0x2d7)]('Using'+_0x250247(0xc3c)+'y\x20whe'+_0x250247(0xaa5)+_0x250247(_0x2ec541._0x50c023)+_0x250247(0xb90),{'schemaName':this[_0x250247(_0x2ec541._0x17be30)+_0x250247(_0x2ec541._0x282dcc)],'whereCount':_0x4d6deb[_0x250247(0x4b2)+'h']})):_0x58a3b4&&_0x2290a1[_0x250247(_0x2ec541._0x126946)](typeof _0x58a3b4,_0x2290a1[_0x250247(0x81d)])&&(_0x4d6deb=this[_0x250247(0x483)+_0x250247(_0x2ec541._0x2d6097)+_0x250247(_0x2ec541._0x602268)+_0x250247(_0x2ec541._0x5e9921)](_0x58a3b4),l[_0x250247(0x2d7)](_0x2290a1['Buswe'],{'schemaName':this['schem'+_0x250247(0x3ed)],'whereCount':_0x4d6deb[_0x250247(_0x2ec541._0x179b40)+'h']}));const _0x5ba5fc={'name':this[_0x250247(0x828)+'Name'],'cols':[{'name':'COUNT'+'(*)\x20a'+_0x250247(_0x2ec541._0xdee584)+'nt'}],'wheres':_0x4d6deb},_0x309b02=(await this[_0x250247(0x692)][_0x250247(_0x2ec541._0x22f4e7)+'t'](_0x5ba5fc))[_0x250247(_0x2ec541._0x4e8a4b)]||0x88a+0xaa9*-0x1+0x1*0x21f;return l[_0x250247(_0x2ec541._0x232b24)](_0x2290a1[_0x250247(_0x2ec541._0xb01853)],{'schemaName':this['schem'+_0x250247(_0x2ec541._0x282dcc)],'tableName':this['table'+'Name'],'count':_0x309b02}),_0x309b02;}catch(_0x749ebe){throw l[_0x250247(0x850)](_0x2290a1[_0x250247(_0x2ec541._0x22b37b)],{'schemaName':this['schem'+_0x250247(0x3ed)],'tableName':this[_0x250247(_0x2ec541._0x42fcc3)+_0x250247(0x3a7)],'where':_0x58a3b4,'error':_0x749ebe[_0x250247(0x6d8)+'ge']}),this[_0x250247(_0x2ec541._0x57ca3e)+_0x250247(_0x2ec541._0x169c58)+'or'](_0x250247(_0x2ec541._0x1b1ac8)+_0x250247(0x53f)+'R',_0x749ebe),_0x749ebe;}}async['exist'+'s'](_0x290d70){const _0x408891={_0x5413eb:0xb83,_0x3e08ee:0x364,_0x330269:0x64d,_0x511fce:0x956,_0x3cbfa2:0xb9b,_0x390f46:0x880,_0x4b419:0xb80,_0x47a551:0x3ed,_0x5e1fb3:0x3a7},_0x441c43=_0x441e35,_0x59a547={'nJwqo':_0x441c43(_0x408891._0x5413eb)+_0x441c43(_0x408891._0x3e08ee)+'f\x20rec'+_0x441c43(0x6b6)+'xists','GHpwr':function(_0x2dd250,_0x24073a){return _0x2dd250!==_0x24073a;}};l[_0x441c43(_0x408891._0x330269)](_0x59a547[_0x441c43(_0x408891._0x511fce)],{'schemaName':this[_0x441c43(0x495)+_0x441c43(0x3ed)],'tableName':this[_0x441c43(0x828)+'Name'],'id':_0x290d70});const _0x11e7f8=_0x59a547[_0x441c43(_0x408891._0x3cbfa2)](await this[_0x441c43(0x3c2)+_0x441c43(_0x408891._0x390f46)](_0x290d70),null);return l['debug'](_0x441c43(0xaac)+_0x441c43(0x256)+'check'+'\x20comp'+_0x441c43(_0x408891._0x4b419),{'schemaName':this['schem'+_0x441c43(_0x408891._0x47a551)],'tableName':this[_0x441c43(0x828)+_0x441c43(_0x408891._0x5e1fb3)],'id':_0x290d70,'exists':_0x11e7f8}),_0x11e7f8;}async[_0x441e35(0xbba)+_0x441e35(0x30c)](){const _0x455b5e={_0x56fa01:0x3cb,_0x325b0c:0x81c,_0x526635:0x361,_0x52d21e:0x401,_0x4ab958:0x906,_0x2d26e:0xb0c,_0x228471:0x862,_0x44e3de:0x9a0,_0x459c37:0x1d1,_0x926969:0x3a7,_0x5eba66:0x4bd,_0x561d56:0x8a6,_0x2c0832:0x64d,_0x4bbf3d:0xce2,_0x4b3c96:0x495,_0x67292e:0x828,_0x65cf00:0x692,_0x2cf8a0:0x50a,_0xf9b440:0x9c7,_0x47c5f5:0xc54,_0x252847:0x45b,_0x37fbce:0x4a8,_0x2dab46:0x3a7,_0x183958:0x41e,_0xf5e020:0x3f2,_0xbd04c6:0x7d7,_0x3411e1:0x8d4,_0x38c9de:0x3b5,_0x448dce:0x3e6,_0x1e6e11:0x940,_0xdc7169:0x6d8,_0x5af66b:0x7a1,_0x4b93ae:0xb07,_0x119c76:0xba0,_0x3e9df5:0x61a},_0x3b54e5=_0x441e35,_0x1db424={'SENDK':function(_0x360542,_0x6a7c69){return _0x360542==_0x6a7c69;},'YPaIl':'N/A','OFhXV':_0x3b54e5(_0x455b5e._0x56fa01)+_0x3b54e5(0x7f5)+_0x3b54e5(0x77f)+_0x3b54e5(0x97c)+_0x3b54e5(0x5e3)+_0x3b54e5(_0x455b5e._0x325b0c)+_0x3b54e5(_0x455b5e._0x526635)+'\x20all\x20'+_0x3b54e5(_0x455b5e._0x52d21e),'CYXjS':_0x3b54e5(0x650),'vdCzm':_0x3b54e5(0xad8)+'ting\x20'+_0x3b54e5(0xbba)+_0x3b54e5(0xafb)+'perat'+_0x3b54e5(_0x455b5e._0x4ab958),'yCeeO':_0x3b54e5(0x9dc)+'\x20trun'+'cated'+_0x3b54e5(_0x455b5e._0x2d26e)+_0x3b54e5(0xb73)+_0x3b54e5(_0x455b5e._0x228471),'XSZvq':_0x3b54e5(_0x455b5e._0x44e3de),'oVdHA':_0x3b54e5(0x4e6)+_0x3b54e5(0x3d6)+_0x3b54e5(0x98f)+_0x3b54e5(_0x455b5e._0x459c37)+'le'};l['warn'](_0x1db424[_0x3b54e5(0xc9f)],{'schemaName':this[_0x3b54e5(0x495)+'aName'],'tableName':this['table'+_0x3b54e5(_0x455b5e._0x926969)]}),await this['_ensu'+_0x3b54e5(0x636)+_0x3b54e5(_0x455b5e._0x5eba66)+'zed']();try{if(_0x3b54e5(0x650)===_0x1db424[_0x3b54e5(_0x455b5e._0x561d56)])l[_0x3b54e5(_0x455b5e._0x2c0832)](_0x1db424[_0x3b54e5(_0x455b5e._0x4bbf3d)],{'schemaName':this[_0x3b54e5(_0x455b5e._0x4b3c96)+'aName'],'tableName':this[_0x3b54e5(0x828)+_0x3b54e5(0x3a7)]}),await this[_0x3b54e5(0x692)][_0x3b54e5(0x50a)+'te'](_0x3b54e5(0x74c)+'E\x20FRO'+'M\x20'+this[_0x3b54e5(_0x455b5e._0x67292e)+_0x3b54e5(_0x455b5e._0x926969)]),await this[_0x3b54e5(_0x455b5e._0x65cf00)][_0x3b54e5(_0x455b5e._0x2cf8a0)+'te']('DELET'+_0x3b54e5(0x5d4)+_0x3b54e5(_0x455b5e._0xf9b440)+_0x3b54e5(0xbc5)+_0x3b54e5(_0x455b5e._0x47c5f5)+_0x3b54e5(0xa77)+_0x3b54e5(_0x455b5e._0x252847)+'ame=\x27'+this[_0x3b54e5(_0x455b5e._0x67292e)+_0x3b54e5(0x3a7)]+'\x27'),l['info'](_0x1db424[_0x3b54e5(_0x455b5e._0x37fbce)],{'schemaName':this[_0x3b54e5(0x495)+'aName'],'tableName':this[_0x3b54e5(0x828)+_0x3b54e5(_0x455b5e._0x2dab46)]}),this['_emit'](_0x3b54e5(0x828)+_0x3b54e5(_0x455b5e._0x56fa01)+_0x3b54e5(_0x455b5e._0x183958),{'tableName':this['table'+_0x3b54e5(_0x455b5e._0x926969)]});else{const [_0x4d3d18,_0x129c3f]=_0x4b2d86[_0x3b54e5(0x600)](':'),_0x4f0233=this[_0x3b54e5(_0x455b5e._0xf5e020)+'ceMet'+_0x3b54e5(0x6c8)][_0x3b54e5(0xc0c)](_0x2be304);_0x5319c4[_0x3b54e5(_0x455b5e._0xbd04c6)]({'key':_0x509f11,'schemaName':_0x4d3d18,'tableName':_0x129c3f,'status':_0x480df3[_0x3b54e5(_0x455b5e._0x3411e1)+_0x3b54e5(_0x455b5e._0x38c9de)](),'isRegistered':!(-0x92b*-0x3+-0x718+-0x1468),'createdAt':(_0x1db424[_0x3b54e5(_0x455b5e._0x448dce)](_0x4f0233,null)?void(-0x3*0xca6+0x1*0x6ad+0x1f45):_0x4f0233['creat'+'edAt'])||_0x1db424[_0x3b54e5(0x434)],'lastAccessed':_0x4f0233==null?void(-0x1f52+-0x2*0xcc7+0x71c*0x8):_0x4f0233['lastA'+_0x3b54e5(0x583)+'ed']});}}catch(_0x457a6a){if(_0x1db424[_0x3b54e5(_0x455b5e._0x1e6e11)]===_0x3b54e5(_0x455b5e._0x44e3de))throw l['error'](_0x1db424[_0x3b54e5(0x8ec)],{'schemaName':this[_0x3b54e5(_0x455b5e._0x4b3c96)+'aName'],'tableName':this[_0x3b54e5(_0x455b5e._0x67292e)+_0x3b54e5(_0x455b5e._0x2dab46)],'error':_0x457a6a[_0x3b54e5(_0x455b5e._0xdc7169)+'ge']}),this[_0x3b54e5(0x968)+'leErr'+'or']('TRUNC'+_0x3b54e5(_0x455b5e._0x5af66b)+_0x3b54e5(_0x455b5e._0x4b93ae),_0x457a6a),_0x457a6a;else{_0x298639['debug'](_0x3b54e5(0x34c)+'ase\x20m'+_0x3b54e5(_0x455b5e._0x119c76)+_0x3b54e5(_0x455b5e._0x3e9df5)+_0x3b54e5(0x23c)+_0x3b54e5(0xbb6)+'alize'+'d');return;}}}async[_0x441e35(0x29a)+'psert'](_0x15002b,_0x429fd1,_0x1f5634=!(0x22f7+0x24ef*-0x1+-0x6*-0x54)){const _0x239b36={_0x24d58e:0xabb,_0x3996c2:0xbb6,_0x48d5e8:0x8f8,_0x38bbf9:0x27e,_0x17ede2:0x862,_0x50ab99:0xa46,_0x334163:0xab0,_0x7f5d9f:0x62c,_0x3f43bf:0x4f6,_0x251b35:0x364,_0x3a64fd:0x74a,_0x23194e:0x4e6,_0x4adf29:0x9f3,_0x162371:0x7b8,_0xb63b5b:0xa7f,_0x35c25a:0xce9,_0x398cfb:0xa99,_0x1e0526:0x76e,_0x3ab0d7:0x41a,_0x489e9b:0x636,_0x65b6dc:0x1dd,_0x4cd73d:0x8b4,_0x3b6229:0x966,_0x3d2e63:0x4b2,_0x5391cc:0x5ed,_0x18e74e:0x495,_0xe13b5:0x828,_0x779e9d:0x3a7,_0xf2958e:0x966,_0x315662:0x4b2,_0x20f8e0:0xaba,_0x20d4d9:0xae6,_0x5bd5ee:0xbd9,_0x887ebf:0x3ed,_0x7fda01:0x7f8,_0x11142e:0x278,_0x9c37b2:0x828,_0x24d149:0x3a7,_0x45ba68:0x495,_0x3dabec:0x3ed,_0x5a1579:0xb9f,_0x57f387:0x5cb,_0x4fc7d1:0xbf5,_0x215f47:0x4b2,_0x4b3ecf:0x4b2,_0x1cc7cb:0x4fa,_0x50ca5:0x552,_0x20aed5:0x84e,_0x1f2c58:0x4b2,_0x1616fb:0x4b2,_0x4c18d5:0x552,_0x110a35:0x320,_0x56a753:0x609,_0x1a5fda:0xcee,_0x405528:0x495,_0x3d5052:0x4b2,_0x2f2187:0x621,_0x1694bd:0x7a2,_0x55a4d6:0x1e9},_0x1ad738={_0x1eb892:0x480,_0x3ed70a:0xa46,_0x9da208:0x850,_0x44ce1d:0xa7f,_0x2f1120:0x3ed,_0xa2475:0x4b2,_0x24a597:0x8f0,_0x384191:0xad1,_0x3e03b9:0x733,_0x3a2103:0xb26,_0x4107fe:0xc5f,_0x21f0ef:0x53e,_0x3900bb:0x495,_0xa90397:0x828,_0x49fe46:0x483,_0x2d3370:0x958,_0x567a94:0x692,_0x42b426:0x53e,_0x2dad75:0xbf5,_0xf75c1c:0xae6,_0xf537e9:0xa86,_0x485b29:0x3ee,_0x5645d9:0xbe0,_0x37a74b:0x828,_0x23c24f:0x958,_0x327388:0x3c2,_0x531512:0x483,_0x1248f0:0x692,_0x5e5d79:0xc45,_0x5d4084:0x495,_0x5f1e01:0x7d7,_0x9021f:0x64d,_0x40559b:0x263,_0x43844c:0x955,_0x30a095:0xaad,_0x4b86aa:0x3ac,_0x2979d5:0x341,_0x169456:0x39c},_0x24ff18=_0x441e35,_0x58eacf={'GYfAI':_0x24ff18(_0x239b36._0x24d58e)+_0x24ff18(0x83d)+_0x24ff18(_0x239b36._0x3996c2)+_0x24ff18(0x53d)+_0x24ff18(_0x239b36._0x48d5e8)+_0x24ff18(_0x239b36._0x38bbf9)+'\x20conn'+_0x24ff18(0x996)+'ns','dSIdt':_0x24ff18(0x6a6)+'regis'+_0x24ff18(0x6b7)+'\x20succ'+_0x24ff18(0xb73)+_0x24ff18(_0x239b36._0x17ede2),'VmybA':function(_0x21ff28,_0x7cd77a){return _0x21ff28===_0x7cd77a;},'FXQuV':_0x24ff18(0x480),'GQbgX':_0x24ff18(_0x239b36._0x50ab99),'rMFQm':function(_0x42fcd0,_0x1347ea){return _0x42fcd0%_0x1347ea;},'KMuNx':'Recor'+_0x24ff18(0x6bb)+_0x24ff18(_0x239b36._0x334163)+_0x24ff18(_0x239b36._0x7f5d9f)+_0x24ff18(_0x239b36._0x3f43bf)+_0x24ff18(0x8e3)+_0x24ff18(_0x239b36._0x251b35)+_0x24ff18(_0x239b36._0x3a64fd),'HuYXy':_0x24ff18(_0x239b36._0x23194e)+_0x24ff18(0x919)+_0x24ff18(_0x239b36._0x4adf29)+_0x24ff18(_0x239b36._0x162371)+'m\x20in\x20'+_0x24ff18(0xbd9)+_0x24ff18(_0x239b36._0xb63b5b)+'t','loOug':function(_0x490321,_0x393063){return _0x490321*_0x393063;},'jyWxS':_0x24ff18(0x497),'LVRNf':'Execu'+_0x24ff18(_0x239b36._0x35c25a)+_0x24ff18(0xbd9)+_0x24ff18(0xa7f)+_0x24ff18(0x792)+_0x24ff18(_0x239b36._0x398cfb)+_0x24ff18(0x7d1)+'actio'+'n','jxyxA':function(_0x1a67b0){return _0x1a67b0();},'gRZaf':function(_0xa4e060,_0x552d84){return _0xa4e060/_0x552d84;},'SyTtl':function(_0x5ddac5,_0x538ed0){return _0x5ddac5===_0x538ed0;},'yXgof':_0x24ff18(0x922)};l['info'](_0x24ff18(_0x239b36._0x1e0526)+'ing\x20b'+_0x24ff18(0x99c)+_0x24ff18(_0x239b36._0x3ab0d7)+_0x24ff18(0xa4e)+_0x24ff18(0x1da),{'schemaName':this[_0x24ff18(0x495)+'aName'],'tableName':this[_0x24ff18(0x828)+_0x24ff18(0x3a7)],'itemsCount':_0x15002b[_0x24ff18(0x4b2)+'h'],'searchFields':_0x429fd1||this['prima'+_0x24ff18(0xb28)+_0x24ff18(0x637)+'s'],'useTransaction':_0x1f5634}),await this[_0x24ff18(0x757)+_0x24ff18(_0x239b36._0x489e9b)+_0x24ff18(0x4bd)+_0x24ff18(_0x239b36._0x65b6dc)](),await this[_0x24ff18(_0x239b36._0x4cd73d)+'eVali'+_0x24ff18(0x9cd)+_0x24ff18(0x996)+'n']();try{if(!Array[_0x24ff18(_0x239b36._0x3b6229)+'ay'](_0x15002b)||_0x15002b[_0x24ff18(_0x239b36._0x3d2e63)+'h']===-0x16d5+0x10c+0x15c9){const _0x54c837='Data\x20'+'must\x20'+_0x24ff18(_0x239b36._0x5391cc)+_0x24ff18(0xa38)+'mpty\x20'+_0x24ff18(0xb91);throw l[_0x24ff18(0x850)](_0x54c837,{'schemaName':this[_0x24ff18(_0x239b36._0x18e74e)+_0x24ff18(0x3ed)],'tableName':this[_0x24ff18(_0x239b36._0xe13b5)+_0x24ff18(_0x239b36._0x779e9d)],'dataType':typeof _0x15002b,'dataLength':Array[_0x24ff18(_0x239b36._0xf2958e)+'ay'](_0x15002b)?_0x15002b[_0x24ff18(_0x239b36._0x315662)+'h']:_0x58eacf[_0x24ff18(_0x239b36._0x20f8e0)]}),new Error(_0x54c837);}const _0x1e4d23={'created':[],'updated':[],'total':_0x15002b[_0x24ff18(0x4b2)+'h'],'errors':[]},_0x35453b=_0x429fd1||this[_0x24ff18(_0x239b36._0x20d4d9)+_0x24ff18(0xb28)+'Field'+'s'];l[_0x24ff18(0x64d)](_0x24ff18(0x9c0)+'ring\x20'+_0x24ff18(_0x239b36._0x5bd5ee)+_0x24ff18(0xa7f)+'t',{'schemaName':this['schem'+_0x24ff18(_0x239b36._0x887ebf)],'tableName':this[_0x24ff18(0x828)+_0x24ff18(0x3a7)],'fieldsToCheck':_0x35453b,'itemsCount':_0x15002b[_0x24ff18(_0x239b36._0x315662)+'h']});const _0x344449=async()=>{const _0x369bd6=_0x24ff18;if(_0x58eacf[_0x369bd6(0x882)](_0x58eacf['FXQuV'],_0x369bd6(_0x1ad738._0x1eb892)))for(let _0x19f8b1=0x74*-0x21+0x4b*-0x5f+0x2ac9;_0x19f8b1<_0x15002b[_0x369bd6(0x4b2)+'h'];_0x19f8b1++){if(_0x58eacf['GQbgX']!==_0x369bd6(_0x1ad738._0x3ed70a))throw _0x1bd4f5[_0x369bd6(_0x1ad738._0x9da208)](_0x58eacf[_0x369bd6(0x646)],{'error':_0x34e754[_0x369bd6(0x6d8)+'ge']}),_0x53a41b;else{const _0x587d4b=_0x15002b[_0x19f8b1];try{_0x58eacf['rMFQm'](_0x19f8b1,0x625+0x2b7+-0x878)===-0x2368+-0x564+0x4*0xa33&&l['trace'](_0x369bd6(0x6e8)+_0x369bd6(_0x1ad738._0x44ce1d)+_0x369bd6(0x874)+'gress',{'schemaName':this[_0x369bd6(0x495)+_0x369bd6(_0x1ad738._0x2f1120)],'tableName':this[_0x369bd6(0x828)+'Name'],'processed':_0x19f8b1,'total':_0x15002b['lengt'+'h'],'created':_0x1e4d23[_0x369bd6(0xbf5)+'ed'][_0x369bd6(0x4b2)+'h'],'updated':_0x1e4d23[_0x369bd6(0x4fa)+'ed'][_0x369bd6(_0x1ad738._0xa2475)+'h'],'errors':_0x1e4d23[_0x369bd6(0x850)+'s'][_0x369bd6(0x4b2)+'h']}),this['_vali'+_0x369bd6(0x943)+'ata'](_0x587d4b);const _0x1cb607={};let _0x2be0e9=!(0xd70+-0xee7+-0x1*-0x177);for(const _0x5c5b43 of _0x35453b){const _0x5221e3=_0x587d4b[_0x5c5b43];if(_0x5221e3!=null)_0x1cb607[_0x5c5b43]=_0x5221e3;else{_0x2be0e9=!(0x1d22+-0x1*-0x273+-0x5e*0x56);break;}}if(!_0x2be0e9){l[_0x369bd6(0x2d7)]('Missi'+_0x369bd6(_0x1ad738._0x24a597)+_0x369bd6(_0x1ad738._0x384191)+'d\x20fie'+_0x369bd6(_0x1ad738._0x3e03b9)+_0x369bd6(_0x1ad738._0x3a2103)+_0x369bd6(0x5ee)+_0x369bd6(_0x1ad738._0x4107fe)+_0x369bd6(0x870)+_0x369bd6(_0x1ad738._0x21f0ef)+'t',{'schemaName':this[_0x369bd6(_0x1ad738._0x3900bb)+'aName'],'tableName':this[_0x369bd6(_0x1ad738._0xa90397)+'Name'],'index':_0x19f8b1,'fieldsToCheck':_0x35453b});const _0x101bbc=this[_0x369bd6(_0x1ad738._0x49fe46)+_0x369bd6(_0x1ad738._0x2d3370)+_0x369bd6(0x85b)](_0x587d4b);await this[_0x369bd6(_0x1ad738._0x567a94)][_0x369bd6(_0x1ad738._0x42b426)+'t'](_0x101bbc),_0x1e4d23[_0x369bd6(_0x1ad738._0x2dad75)+'ed']['push'](_0x587d4b);continue;}const _0x53767c=await this['findF'+'irst'](_0x1cb607);if(_0x53767c){const _0x4814cb=_0x53767c[this[_0x369bd6(_0x1ad738._0xf75c1c)+_0x369bd6(0xb28)+_0x369bd6(0x637)+'s'][0x3db*-0x7+-0x2*0x660+0x27bd]];l['trace'](_0x369bd6(_0x1ad738._0xf537e9)+_0x369bd6(0x6fb)+_0x369bd6(_0x1ad738._0x485b29)+'perfo'+_0x369bd6(_0x1ad738._0x5645d9)+_0x369bd6(0xc1e)+'te',{'schemaName':this[_0x369bd6(_0x1ad738._0x3900bb)+_0x369bd6(_0x1ad738._0x2f1120)],'tableName':this[_0x369bd6(_0x1ad738._0x37a74b)+_0x369bd6(0x3a7)],'index':_0x19f8b1,'primaryKeyValue':_0x4814cb});const _0x32830a=Object[_0x369bd6(0x5ca)+'n'](Object['assig'+'n']({},_0x587d4b),{[this['prima'+_0x369bd6(0xb28)+_0x369bd6(0x637)+'s'][-0x1d3*-0xb+-0x1*-0xddc+-0x21ed]]:_0x4814cb}),_0x4a55cb=this[_0x369bd6(0x483)+_0x369bd6(_0x1ad738._0x23c24f)+'able'](_0x32830a);await this[_0x369bd6(0x692)]['updat'+'e'](_0x4a55cb);const _0x49a88b=await this[_0x369bd6(_0x1ad738._0x327388)+'yId'](_0x4814cb);_0x49a88b&&_0x1e4d23['updat'+'ed']['push'](_0x49a88b);}else{l[_0x369bd6(0x2d7)](_0x58eacf[_0x369bd6(0x760)],{'schemaName':this[_0x369bd6(0x495)+_0x369bd6(_0x1ad738._0x2f1120)],'tableName':this[_0x369bd6(0x828)+_0x369bd6(0x3a7)],'index':_0x19f8b1});const _0x479010=this[_0x369bd6(_0x1ad738._0x531512)+_0x369bd6(_0x1ad738._0x2d3370)+_0x369bd6(0x85b)](_0x587d4b);await this[_0x369bd6(_0x1ad738._0x1248f0)][_0x369bd6(0x53e)+'t'](_0x479010),_0x1e4d23[_0x369bd6(0xbf5)+'ed'][_0x369bd6(0x7d7)](_0x587d4b);}}catch(_0x23575d){l[_0x369bd6(_0x1ad738._0x5e5d79)](_0x58eacf[_0x369bd6(0xba7)],{'schemaName':this[_0x369bd6(_0x1ad738._0x5d4084)+_0x369bd6(_0x1ad738._0x2f1120)],'tableName':this[_0x369bd6(0x828)+'Name'],'index':_0x19f8b1,'error':_0x23575d[_0x369bd6(0x6d8)+'ge']}),_0x1e4d23[_0x369bd6(0x850)+'s'][_0x369bd6(_0x1ad738._0x5f1e01)]({'index':_0x19f8b1,'data':_0x587d4b,'error':_0x23575d['messa'+'ge']});}}}else _0xb5f87[_0x369bd6(_0x1ad738._0x9021f)]('Regis'+_0x369bd6(0x537)+_0x369bd6(_0x1ad738._0x40559b)+'e',{'roleName':_0x502b93[_0x369bd6(0x341)+_0x369bd6(0x9f2)],'requiredDatabases':_0x8fba4c[_0x369bd6(0xa61)+_0x369bd6(0xbfe)+'tabas'+'es'],'optionalDatabases':_0xe03600[_0x369bd6(_0x1ad738._0x43844c)+'nalDa'+_0x369bd6(_0x1ad738._0x30a095)+'es'],'priority':_0x4c3241[_0x369bd6(0x431)+_0x369bd6(_0x1ad738._0x4b86aa)]}),this[_0x369bd6(0x788)+_0x369bd6(0x592)+'ry'][_0xf0abb9[_0x369bd6(_0x1ad738._0x2979d5)+'ame']]=_0x33dae0,_0x16916[_0x369bd6(0x5cb)](_0x58eacf[_0x369bd6(_0x1ad738._0x169456)],{'roleName':_0x1cdea7[_0x369bd6(0x341)+_0x369bd6(0x9f2)]});};return _0x1f5634?(l[_0x24ff18(0x64d)](_0x24ff18(0xad8)+_0x24ff18(0xce9)+_0x24ff18(0xbd9)+_0x24ff18(_0x239b36._0xb63b5b)+_0x24ff18(_0x239b36._0x7fda01)+'trans'+_0x24ff18(_0x239b36._0x11142e)+'n',{'schemaName':this[_0x24ff18(0x495)+_0x24ff18(_0x239b36._0x887ebf)],'tableName':this[_0x24ff18(_0x239b36._0x9c37b2)+_0x24ff18(_0x239b36._0x24d149)],'itemsCount':_0x15002b[_0x24ff18(_0x239b36._0x3d2e63)+'h']}),await this[_0x24ff18(0x50a)+_0x24ff18(0x466)+_0x24ff18(0x7df)+'ion'](_0x344449)):(l[_0x24ff18(0x64d)](_0x58eacf[_0x24ff18(0x3e8)],{'schemaName':this[_0x24ff18(_0x239b36._0x45ba68)+_0x24ff18(_0x239b36._0x3dabec)],'tableName':this['table'+_0x24ff18(0x3a7)],'itemsCount':_0x15002b[_0x24ff18(0x4b2)+'h']}),await _0x58eacf[_0x24ff18(_0x239b36._0x5a1579)](_0x344449)),l[_0x24ff18(_0x239b36._0x57f387)]('Bulk\x20'+_0x24ff18(_0x239b36._0xb63b5b)+'t\x20com'+_0x24ff18(0x40e)+'d',{'schemaName':this[_0x24ff18(0x495)+_0x24ff18(_0x239b36._0x887ebf)],'tableName':this[_0x24ff18(0x828)+_0x24ff18(0x3a7)],'total':_0x1e4d23['total'],'created':_0x1e4d23[_0x24ff18(_0x239b36._0x4fc7d1)+'ed']['lengt'+'h'],'updated':_0x1e4d23['updat'+'ed'][_0x24ff18(_0x239b36._0x215f47)+'h'],'errors':_0x1e4d23[_0x24ff18(0x850)+'s'][_0x24ff18(_0x239b36._0x4b3ecf)+'h'],'successRate':(_0x58eacf[_0x24ff18(0x2ff)](_0x1e4d23['creat'+'ed'][_0x24ff18(0x4b2)+'h']+_0x1e4d23[_0x24ff18(_0x239b36._0x1cc7cb)+'ed'][_0x24ff18(0x4b2)+'h'],_0x1e4d23[_0x24ff18(_0x239b36._0x50ca5)])*(-0x21a5+-0x30*0xc5+0x46f9))[_0x24ff18(_0x239b36._0x20aed5)+'ed'](0x755*0x2+0x16ea+0x3*-0xc86)+'%'}),this['_emit'](_0x24ff18(0x9ed)+'ulkUp'+'serte'+'d',{'operation':'bulkU'+'psert','created':_0x1e4d23[_0x24ff18(0xbf5)+'ed'][_0x24ff18(_0x239b36._0x1f2c58)+'h'],'updated':_0x1e4d23['updat'+'ed'][_0x24ff18(_0x239b36._0x1616fb)+'h'],'errors':_0x1e4d23[_0x24ff18(0x850)+'s'][_0x24ff18(_0x239b36._0x1616fb)+'h'],'total':_0x1e4d23[_0x24ff18(_0x239b36._0x4c18d5)]}),_0x1e4d23;}catch(_0x47cee5){if(_0x58eacf[_0x24ff18(_0x239b36._0x110a35)]('GhMHf',_0x58eacf[_0x24ff18(_0x239b36._0x56a753)]))throw l[_0x24ff18(0x850)](_0x24ff18(0x4e6)+'\x20duri'+_0x24ff18(0xbf9)+_0x24ff18(0xb4c)+_0x24ff18(0x28c)+_0x24ff18(_0x239b36._0x1a5fda)+'tion',{'schemaName':this[_0x24ff18(_0x239b36._0x405528)+_0x24ff18(0x3ed)],'tableName':this[_0x24ff18(0x828)+_0x24ff18(_0x239b36._0x24d149)],'itemsCount':_0x15002b[_0x24ff18(_0x239b36._0x3d5052)+'h'],'error':_0x47cee5[_0x24ff18(0x6d8)+'ge']}),this[_0x24ff18(0x968)+_0x24ff18(0xc01)+'or'](_0x24ff18(_0x239b36._0x2f2187)+'UPSER'+_0x24ff18(0xcc3)+'OR',_0x47cee5),_0x47cee5;else return this[_0x24ff18(_0x239b36._0x1694bd)+_0x24ff18(0xacb)]=_0x557548,this['offse'+_0x24ff18(_0x239b36._0x55a4d6)+'e']=_0x58eacf['loOug'](_0x46c280-(0xc4*-0x16+0xfb1*-0x1+0x682*0x5),_0x18efeb),this;}}async[_0x441e35(0x457)+'nsert'](_0x2f42fd){const _0x5710bb={_0x390ad5:0x76e,_0x4d0cf5:0x627,_0x4dea3c:0x6a5,_0x5e3c51:0x74a,_0x4313ac:0x45a,_0x4812b2:0x2b8,_0x41a981:0x497,_0x339390:0xa54,_0x237e83:0x275,_0x16cba1:0xcc3,_0x9ca460:0x495,_0x478b13:0x1dd,_0x1b2851:0x850,_0x3ed30a:0x495,_0x580938:0x828,_0x517531:0x3a7,_0xa47649:0x4b2,_0x3d6d97:0x3a7,_0x44fe54:0x495,_0xa3b4b7:0x552,_0x1a1fa4:0xa84,_0x35d7ba:0xc74,_0x3dfe78:0x457,_0x3b005d:0x4e6,_0x1ef6a2:0x2ed,_0x2566d3:0x4a6,_0x420aae:0x7ea},_0x5beeec=_0x441e35,_0x3cc445={'afNrM':_0x5beeec(_0x5710bb._0x390ad5)+_0x5beeec(_0x5710bb._0x4d0cf5)+_0x5beeec(_0x5710bb._0x4dea3c)+_0x5beeec(_0x5710bb._0x5e3c51),'lzjov':function(_0x2bead5,_0x1520df){return _0x2bead5===_0x1520df;},'bhWmK':'Items'+_0x5beeec(_0x5710bb._0x4313ac)+'\x20be\x20a'+_0x5beeec(_0x5710bb._0x4812b2)+'empty'+_0x5beeec(0xc3c)+'y','OcRQs':_0x5beeec(_0x5710bb._0x41a981),'lvgtZ':_0x5beeec(0xad8)+'ting\x20'+_0x5beeec(0xbd9)+'inser'+_0x5beeec(_0x5710bb._0x339390)+_0x5beeec(0xc7d)+'n','oCUpA':'Bulk\x20'+'inser'+_0x5beeec(0xc5b)+_0x5beeec(0x40e)+'d','raLik':'BULK_'+_0x5beeec(_0x5710bb._0x237e83)+_0x5beeec(_0x5710bb._0x16cba1)+'OR'};l[_0x5beeec(0x5cb)](_0x3cc445[_0x5beeec(0x761)],{'schemaName':this[_0x5beeec(_0x5710bb._0x9ca460)+'aName'],'tableName':this[_0x5beeec(0x828)+'Name'],'itemsCount':_0x2f42fd['lengt'+'h']}),await this['_ensu'+_0x5beeec(0x636)+_0x5beeec(0x4bd)+_0x5beeec(_0x5710bb._0x478b13)]();try{if(!Array[_0x5beeec(0x966)+'ay'](_0x2f42fd)||_0x3cc445[_0x5beeec(0x5d8)](_0x2f42fd[_0x5beeec(0x4b2)+'h'],0x166e+0xb5*0xb+-0x2bf*0xb)){const _0x3ca5ee=_0x3cc445[_0x5beeec(0x338)];throw l[_0x5beeec(_0x5710bb._0x1b2851)](_0x3ca5ee,{'schemaName':this[_0x5beeec(_0x5710bb._0x3ed30a)+'aName'],'tableName':this[_0x5beeec(_0x5710bb._0x580938)+_0x5beeec(_0x5710bb._0x517531)],'itemsType':typeof _0x2f42fd,'itemsLength':Array[_0x5beeec(0x966)+'ay'](_0x2f42fd)?_0x2f42fd[_0x5beeec(_0x5710bb._0xa47649)+'h']:_0x3cc445[_0x5beeec(0x80f)]}),new Error(_0x3ca5ee);}l['debug'](_0x3cc445[_0x5beeec(0x630)],{'schemaName':this[_0x5beeec(0x495)+'aName'],'tableName':this['table'+_0x5beeec(0x3a7)],'itemsCount':_0x2f42fd[_0x5beeec(0x4b2)+'h']});const _0x2d3aa4=await this[_0x5beeec(0x692)]['impor'+'tData']({'tableName':this[_0x5beeec(_0x5710bb._0x580938)+_0x5beeec(_0x5710bb._0x3d6d97)],'data':_0x2f42fd,'batchSize':0x3e8,'skipErrors':!(-0x13d3+-0xd8*0xf+0x2a*0xc6),'validateData':!(0x2*-0xdb5+0x5d*0x29+0xc85)});return l[_0x5beeec(0x5cb)](_0x3cc445['oCUpA'],{'schemaName':this[_0x5beeec(_0x5710bb._0x44fe54)+_0x5beeec(0x3ed)],'tableName':this[_0x5beeec(_0x5710bb._0x580938)+_0x5beeec(0x3a7)],'totalRows':_0x2d3aa4[_0x5beeec(_0x5710bb._0xa3b4b7)+_0x5beeec(0x7b0)],'successRows':_0x2d3aa4[_0x5beeec(_0x5710bb._0x1a1fa4)+_0x5beeec(0x570)+'s'],'errorRows':_0x2d3aa4['error'+_0x5beeec(0x7b0)]}),this['_emit'](_0x5beeec(0x9ed)+_0x5beeec(0x368)+_0x5beeec(_0x5710bb._0x35d7ba),{'operation':_0x5beeec(_0x5710bb._0x3dfe78)+'nsert','count':_0x2d3aa4[_0x5beeec(_0x5710bb._0x1a1fa4)+_0x5beeec(0x570)+'s']}),_0x2d3aa4;}catch(_0x4bc6c2){throw l[_0x5beeec(0x850)](_0x5beeec(_0x5710bb._0x3b005d)+_0x5beeec(0x34f)+_0x5beeec(0xbf9)+_0x5beeec(_0x5710bb._0x1ef6a2)+_0x5beeec(_0x5710bb._0x2566d3),{'schemaName':this['schem'+'aName'],'tableName':this[_0x5beeec(0x828)+'Name'],'itemsCount':_0x2f42fd[_0x5beeec(_0x5710bb._0xa47649)+'h'],'error':_0x4bc6c2['messa'+'ge']}),this[_0x5beeec(0x968)+_0x5beeec(0xc01)+'or'](_0x3cc445[_0x5beeec(_0x5710bb._0x420aae)],_0x4bc6c2),_0x4bc6c2;}}async[_0x441e35(0x440)+'reate'](_0x1887f1){const _0x199430={_0x3847dc:0x627,_0x514d5f:0x910,_0x2deb35:0x3a1,_0x214a35:0x624,_0x3f9679:0x980,_0xb23f3d:0x40e,_0x565b8e:0x39d,_0x2bef8b:0x440,_0x13ade1:0x621,_0x1c004c:0x6fc,_0x27fb62:0x5ab,_0xa5df06:0x5cb,_0x3ff0dd:0x828,_0x46ef9b:0x4b2,_0x5f094e:0x757,_0x565575:0x1dd,_0x56c1a5:0x92d,_0x4cbdbc:0x7bf,_0x11a4af:0x495,_0xa4e1db:0xce9,_0xaa73e:0x5cb,_0x48b73e:0x495,_0x52c6a2:0x3ed,_0x1a93f1:0x3a7,_0x552ecb:0x368,_0x34f883:0xc74,_0x3aef68:0x4b2,_0x53cf35:0x850,_0x2f88c6:0x4e6,_0x2655df:0xad9,_0x5bfbe1:0x6d8,_0x2b4915:0x968,_0x132bd8:0xc01},_0x446cec={_0x4ec38e:0x92d,_0x55ea73:0x226,_0x4a79a6:0xc37,_0x1e1fec:0x4b2,_0x52424c:0x984,_0x3b958a:0x473,_0x3bed65:0x85b,_0x398b4b:0x692,_0x43e85c:0x7d7},_0x53c740=_0x441e35,_0xd3ee8e={'IuzEv':function(_0x451be3,_0x5e3cf9){return _0x451be3<_0x5e3cf9;},'XIyhI':function(_0x19c775,_0x466f49){return _0x19c775===_0x466f49;},'tSIBS':_0x53c740(0x76e)+_0x53c740(_0x199430._0x3847dc)+_0x53c740(_0x199430._0x514d5f)+'reate'+_0x53c740(_0x199430._0x2deb35)+_0x53c740(_0x199430._0x214a35)+_0x53c740(_0x199430._0x3f9679)+'on','zJOsc':_0x53c740(0x6e8)+'creat'+_0x53c740(0x69f)+_0x53c740(_0x199430._0xb23f3d)+_0x53c740(_0x199430._0x565b8e)+'cessf'+_0x53c740(0x2a9),'ikYpo':_0x53c740(_0x199430._0x2bef8b)+'reate','pMipe':_0x53c740(_0x199430._0x13ade1)+_0x53c740(_0x199430._0x1c004c)+_0x53c740(_0x199430._0x27fb62)+'OR'};l[_0x53c740(_0x199430._0xa5df06)](_0xd3ee8e[_0x53c740(0x207)],{'schemaName':this[_0x53c740(0x495)+_0x53c740(0x3ed)],'tableName':this[_0x53c740(_0x199430._0x3ff0dd)+_0x53c740(0x3a7)],'itemsCount':_0x1887f1[_0x53c740(_0x199430._0x46ef9b)+'h']}),await this[_0x53c740(_0x199430._0x5f094e)+'reIni'+_0x53c740(0x4bd)+_0x53c740(_0x199430._0x565575)]();try{if(!Array[_0x53c740(0x966)+'ay'](_0x1887f1)||_0xd3ee8e[_0x53c740(_0x199430._0x56c1a5)](_0x1887f1['lengt'+'h'],0xb6c+0x1*0x46b+-0xfd7)){const _0x404276=_0x53c740(0xa47)+_0x53c740(_0x199430._0x4cbdbc)+_0x53c740(0x5ed)+_0x53c740(0xa38)+_0x53c740(0x74e)+'array';throw l[_0x53c740(0x850)](_0x404276,{'schemaName':this[_0x53c740(_0x199430._0x11a4af)+'aName'],'tableName':this[_0x53c740(_0x199430._0x3ff0dd)+'Name'],'dataType':typeof _0x1887f1,'dataLength':Array[_0x53c740(0x966)+'ay'](_0x1887f1)?_0x1887f1[_0x53c740(0x4b2)+'h']:'N/A'}),new Error(_0x404276);}const _0x53c536=[];return l[_0x53c740(0x64d)](_0x53c740(0xad8)+_0x53c740(_0x199430._0xa4e1db)+'bulk\x20'+'creat'+_0x53c740(0x3c9)+'trans'+_0x53c740(0x278)+'n',{'schemaName':this['schem'+_0x53c740(0x3ed)],'tableName':this[_0x53c740(0x828)+_0x53c740(0x3a7)],'itemsCount':_0x1887f1[_0x53c740(0x4b2)+'h']}),await this[_0x53c740(0x50a)+'teTra'+'nsact'+'ion'](async()=>{const _0x401912=_0x53c740;for(let _0x58d9c1=0x7*-0x2f6+-0x2*0xc4b+0xb54*0x4;_0xd3ee8e[_0x401912(0x4eb)](_0x58d9c1,_0x1887f1['lengt'+'h']);_0x58d9c1++){const _0x797624=_0x1887f1[_0x58d9c1];_0xd3ee8e[_0x401912(_0x446cec._0x4ec38e)](_0x58d9c1%(0x4b3+-0x1352+0xf03),-0x3*-0x2e0+0x4*-0x96c+0x1d10)&&l['trace']('Bulk\x20'+_0x401912(0xbf5)+_0x401912(_0x446cec._0x55ea73)+_0x401912(_0x446cec._0x4a79a6),{'schemaName':this['schem'+'aName'],'tableName':this['table'+'Name'],'processed':_0x58d9c1,'total':_0x1887f1[_0x401912(_0x446cec._0x1e1fec)+'h']}),this[_0x401912(_0x446cec._0x52424c)+'dateD'+_0x401912(_0x446cec._0x3b958a)](_0x797624);const _0x2e2929=this['build'+_0x401912(0x958)+_0x401912(_0x446cec._0x3bed65)](_0x797624);await this[_0x401912(_0x446cec._0x398b4b)][_0x401912(0x53e)+'t'](_0x2e2929),_0x53c536[_0x401912(_0x446cec._0x43e85c)](_0x797624);}}),l[_0x53c740(_0x199430._0xaa73e)](_0xd3ee8e[_0x53c740(0x99a)],{'schemaName':this[_0x53c740(_0x199430._0x48b73e)+_0x53c740(_0x199430._0x52c6a2)],'tableName':this[_0x53c740(_0x199430._0x3ff0dd)+_0x53c740(_0x199430._0x1a93f1)],'recordsCreated':_0x53c536[_0x53c740(0x4b2)+'h']}),this[_0x53c740(0x903)](_0x53c740(0x9ed)+_0x53c740(_0x199430._0x552ecb)+_0x53c740(_0x199430._0x34f883),{'operation':_0xd3ee8e[_0x53c740(0x4c8)],'count':_0x53c536[_0x53c740(_0x199430._0x3aef68)+'h']}),_0x53c536;}catch(_0x2db890){throw l[_0x53c740(_0x199430._0x53cf35)](_0x53c740(_0x199430._0x2f88c6)+_0x53c740(0x34f)+_0x53c740(0xbf9)+'lk\x20cr'+_0x53c740(_0x199430._0x2655df),{'schemaName':this[_0x53c740(0x495)+_0x53c740(0x3ed)],'tableName':this[_0x53c740(0x828)+'Name'],'itemsCount':_0x1887f1['lengt'+'h'],'error':_0x2db890[_0x53c740(_0x199430._0x5bfbe1)+'ge']}),this[_0x53c740(_0x199430._0x2b4915)+_0x53c740(_0x199430._0x132bd8)+'or'](_0xd3ee8e['pMipe'],_0x2db890),_0x2db890;}}async[_0x441e35(0x50a)+_0x441e35(0x466)+_0x441e35(0x7df)+_0x441e35(0xa50)](_0x566dd6){const _0x25b309={_0x31f8a5:0x312,_0x5b4fdc:0xa09,_0x5d0040:0xa31,_0x528677:0x9ea,_0xf12d9:0x980,_0x2987d1:0x658,_0x2b7085:0x4e6,_0x222841:0x34f,_0x24e730:0x539,_0x5036f0:0xae9,_0x3dd51a:0x64d,_0x2e46ca:0x3ed,_0x16e3c4:0x4bd,_0x4c2c43:0x2d7,_0x13a051:0x448,_0x5a3180:0x495,_0x59d813:0x3ed,_0x57801a:0x1ef,_0x152823:0xbe6,_0x1d20ba:0x3ed,_0x2c1cea:0x692,_0x35db83:0x78a,_0xd6550f:0x39d,_0x4b8a2e:0x828,_0x12df4d:0x3d3,_0x58cb0d:0x5e2,_0x4eeaff:0x828,_0x5317a6:0x5c7,_0xfb80a6:0xcb6,_0x357e65:0x697,_0x476c56:0x884,_0x13c61b:0x692,_0x39d71c:0xcd7,_0x3d6036:0xb76,_0x4e1699:0x278,_0x4a4c95:0xb51,_0x1cb47c:0x777,_0x379af0:0x495,_0x4f722c:0xaa3,_0xd677a2:0x658,_0x448a66:0x2d1,_0xdb20aa:0x3ed,_0x78cb02:0x968,_0x4a9343:0x3a8,_0x29b704:0x475,_0xa8a1eb:0x804,_0x5ac943:0xc01},_0x5d1704=_0x441e35,_0x3c113d={'XOuLP':_0x5d1704(_0x25b309._0x31f8a5)+_0x5d1704(_0x25b309._0x5b4fdc)+'datab'+_0x5d1704(0x52f)+_0x5d1704(_0x25b309._0x5d0040)+_0x5d1704(0x2c6),'VzTOO':function(_0x27c1c5){return _0x27c1c5();},'KnKQE':_0x5d1704(0xb19)+_0x5d1704(_0x25b309._0x528677)+'\x20tran'+_0x5d1704(_0x25b309._0xf12d9)+'on','lCIdF':_0x5d1704(0x7d1)+'actio'+'nComp'+_0x5d1704(0xb80),'UHWNM':'cjAUU','Xsgjk':function(_0x555138,_0x5add71){return _0x555138===_0x5add71;},'LovVL':_0x5d1704(_0x25b309._0x2987d1),'CEbYH':_0x5d1704(_0x25b309._0x2b7085)+_0x5d1704(_0x25b309._0x222841)+_0x5d1704(0x9d4)+'ansac'+_0x5d1704(0x8d1)+_0x5d1704(_0x25b309._0x24e730)+_0x5d1704(0x672),'hjBXb':_0x5d1704(_0x25b309._0x5036f0)+'ACK_E'+_0x5d1704(0xb07),'exwKH':'TRANS'+_0x5d1704(0x702)+_0x5d1704(0x983)+'OR'};l[_0x5d1704(_0x25b309._0x3dd51a)]('Start'+_0x5d1704(0x7f4)+_0x5d1704(0xa31)+_0x5d1704(0x2c6),{'schemaName':this['schem'+_0x5d1704(_0x25b309._0x2e46ca)],'tableName':this[_0x5d1704(0x828)+'Name']}),await this[_0x5d1704(0x757)+_0x5d1704(0x636)+_0x5d1704(_0x25b309._0x16e3c4)+_0x5d1704(0x1dd)]();try{l[_0x5d1704(_0x25b309._0x4c2c43)](_0x3c113d[_0x5d1704(_0x25b309._0x13a051)],{'schemaName':this[_0x5d1704(_0x25b309._0x5a3180)+_0x5d1704(_0x25b309._0x59d813)]}),await this[_0x5d1704(0x692)]['begin'+_0x5d1704(0x5e2)+_0x5d1704(0x278)+'n']();const _0x3e7e3d=await _0x3c113d[_0x5d1704(_0x25b309._0x57801a)](_0x566dd6);return l[_0x5d1704(_0x25b309._0x4c2c43)](_0x3c113d[_0x5d1704(_0x25b309._0x152823)],{'schemaName':this['schem'+_0x5d1704(_0x25b309._0x1d20ba)]}),await this[_0x5d1704(_0x25b309._0x2c1cea)]['commi'+'tTran'+_0x5d1704(_0x25b309._0xf12d9)+'on'](),l[_0x5d1704(0x5cb)]('Trans'+'actio'+_0x5d1704(_0x25b309._0x35db83)+_0x5d1704(0x40e)+_0x5d1704(_0x25b309._0xd6550f)+'cessf'+_0x5d1704(0x2a9),{'schemaName':this['schem'+_0x5d1704(_0x25b309._0x1d20ba)],'tableName':this[_0x5d1704(_0x25b309._0x4b8a2e)+_0x5d1704(0x3a7)]}),this['_emit'](_0x3c113d[_0x5d1704(_0x25b309._0x12df4d)],{'operation':'trans'+'actio'+'n'}),_0x3e7e3d;}catch(_0x13ca10){l[_0x5d1704(0x850)](_0x5d1704(_0x25b309._0x58cb0d)+_0x5d1704(0x278)+'n\x20fai'+_0x5d1704(0x283)+_0x5d1704(0x23d)+'ng\x20ba'+'ck',{'schemaName':this[_0x5d1704(0x495)+_0x5d1704(0x3ed)],'tableName':this[_0x5d1704(_0x25b309._0x4eeaff)+'Name'],'error':_0x13ca10[_0x5d1704(0x6d8)+'ge']});try{_0x3c113d[_0x5d1704(_0x25b309._0x5317a6)]!==_0x5d1704(0x5d2)?(_0x2f7a79[_0x5d1704(0x64d)](_0x5d1704(0x3db)+'irst\x20'+_0x5d1704(_0x25b309._0xfb80a6)+_0x5d1704(0x9ff)+_0x5d1704(_0x25b309._0x357e65)+_0x5d1704(0x1cf)+'chema'+_0x5d1704(0x8c7)+'exist'+_0x5d1704(_0x25b309._0x476c56)+_0x5d1704(0x5bd)+_0x5d1704(0x719)+'ema_i'+'nfo\x20d'+_0x5d1704(0xc7e)+'ed'),_0xdc8b92=!(-0x35*-0x16+0x2348+0x21*-0x135)):(await this[_0x5d1704(_0x25b309._0x13c61b)][_0x5d1704(0x539)+_0x5d1704(_0x25b309._0x39d71c)+'ansac'+_0x5d1704(_0x25b309._0x3d6036)](),l['debug'](_0x5d1704(0x5e2)+_0x5d1704(_0x25b309._0x4e1699)+_0x5d1704(_0x25b309._0x4a4c95)+_0x5d1704(_0x25b309._0x1cb47c)+_0x5d1704(0xb0c)+'essfu'+'l',{'schemaName':this[_0x5d1704(_0x25b309._0x379af0)+_0x5d1704(0x3ed)]}));}catch(_0x2ebcb4){if(_0x3c113d['Xsgjk'](_0x3c113d[_0x5d1704(_0x25b309._0x4f722c)],_0x5d1704(_0x25b309._0xd677a2)))l[_0x5d1704(0x850)](_0x3c113d[_0x5d1704(_0x25b309._0x448a66)],{'schemaName':this[_0x5d1704(_0x25b309._0x379af0)+_0x5d1704(_0x25b309._0xdb20aa)],'rollbackError':_0x2ebcb4['messa'+'ge']}),this[_0x5d1704(_0x25b309._0x78cb02)+_0x5d1704(0xc01)+'or'](_0x3c113d['hjBXb'],_0x2ebcb4);else{_0x3efdb2['debug'](_0x5d1704(_0x25b309._0x4a9343)+'dy\x20cl'+_0x5d1704(_0x25b309._0x29b704)+'\x20conn'+'ectio'+_0x5d1704(_0x25b309._0xa8a1eb)+_0x5d1704(0x744)+'ng');return;}}throw this[_0x5d1704(_0x25b309._0x78cb02)+_0x5d1704(_0x25b309._0x5ac943)+'or'](_0x3c113d[_0x5d1704(0x55b)],_0x13ca10),_0x13ca10;}}async['impor'+'tFrom'+'CSV'](_0x5d337e,_0x5d853b={}){const _0x4fe14f={_0x1b4cfc:0xaa7,_0x527be3:0xcfa,_0x5aa280:0x740,_0x3dc0dd:0xb3d,_0x12d2c5:0x9ab,_0x2975eb:0x565,_0x434b12:0x495,_0x517e83:0x3ed,_0x556cbf:0x828,_0x3e1a66:0x4b2,_0x458aae:0x63f,_0x5e0fce:0xc93,_0x30dea0:0x676,_0x382e52:0x77b,_0x468535:0x4b2,_0x12fe3e:0x636,_0x370592:0x4bd,_0x249218:0x1dd,_0x410c1b:0x692,_0x49fb50:0x5cb,_0x132006:0x828,_0x10ab0b:0x570,_0x248125:0x850,_0x38bd5e:0x307,_0x4279ac:0xc12,_0x2a1ef0:0x4e6,_0x13926e:0x34f,_0xe6e69c:0xa7e,_0x24539e:0xa5c,_0x189878:0xc01,_0x571063:0x53f,_0x3ec957:0x21e,_0x1af323:0x47c},_0x39f174=_0x441e35,_0x27b4f={'LGaut':_0x39f174(0x76e)+_0x39f174(0x60e)+_0x39f174(0x974)+_0x39f174(_0x4fe14f._0x1b4cfc),'ZgElO':function(_0x191632,_0xad9aac){return _0x191632>_0xad9aac;},'YMEkF':_0x39f174(_0x4fe14f._0x527be3)+_0x39f174(_0x4fe14f._0x5aa280)+_0x39f174(0x4e2)+_0x39f174(0xb80),'VNTAm':_0x39f174(0x543)+_0x39f174(0x740)+'ed','bwNYL':_0x39f174(_0x4fe14f._0x3dc0dd)+_0x39f174(_0x4fe14f._0x12d2c5)+_0x39f174(_0x4fe14f._0x2975eb)};l[_0x39f174(0x5cb)](_0x27b4f[_0x39f174(0x8e6)],{'schemaName':this[_0x39f174(_0x4fe14f._0x434b12)+_0x39f174(_0x4fe14f._0x517e83)],'tableName':this[_0x39f174(_0x4fe14f._0x556cbf)+_0x39f174(0x3a7)],'csvDataLength':_0x5d337e[_0x39f174(_0x4fe14f._0x3e1a66)+'h'],'delimiter':_0x5d853b['delim'+_0x39f174(_0x4fe14f._0x458aae)],'hasHeader':_0x5d853b['hasHe'+_0x39f174(0x331)],'hasMappings':!!(_0x5d853b[_0x39f174(0x7e4)+_0x39f174(_0x4fe14f._0x5e0fce)+_0x39f174(_0x4fe14f._0x30dea0)]&&_0x27b4f[_0x39f174(_0x4fe14f._0x382e52)](_0x5d853b['colum'+'nMapp'+'ings'][_0x39f174(_0x4fe14f._0x468535)+'h'],0x14*-0x147+0x1f7*-0x1+0x1b83))}),await this['_ensu'+_0x39f174(_0x4fe14f._0x12fe3e)+_0x39f174(_0x4fe14f._0x370592)+_0x39f174(_0x4fe14f._0x249218)]();try{const _0x54019b=await this[_0x39f174(_0x4fe14f._0x410c1b)][_0x39f174(_0x4fe14f._0x3dc0dd)+'tFrom'+_0x39f174(_0x4fe14f._0x2975eb)](this[_0x39f174(0x828)+'Name'],_0x5d337e,_0x5d853b);return l[_0x39f174(_0x4fe14f._0x49fb50)](_0x27b4f[_0x39f174(0x4a3)],{'schemaName':this[_0x39f174(0x495)+'aName'],'tableName':this[_0x39f174(_0x4fe14f._0x132006)+_0x39f174(0x3a7)],'totalRows':_0x54019b[_0x39f174(0x552)+_0x39f174(0x7b0)],'successRows':_0x54019b[_0x39f174(0xa84)+_0x39f174(_0x4fe14f._0x10ab0b)+'s'],'errorRows':_0x54019b[_0x39f174(_0x4fe14f._0x248125)+_0x39f174(0x7b0)]}),this[_0x39f174(0x903)](_0x27b4f[_0x39f174(_0x4fe14f._0x38bd5e)],{'operation':_0x27b4f[_0x39f174(0x795)],'result':_0x54019b}),_0x54019b;}catch(_0xce0110){if('nGkyG'===_0x39f174(_0x4fe14f._0x4279ac))throw l[_0x39f174(0x850)](_0x39f174(_0x4fe14f._0x2a1ef0)+_0x39f174(_0x4fe14f._0x13926e)+_0x39f174(0x3d4)+_0x39f174(_0x4fe14f._0xe6e69c)+_0x39f174(_0x4fe14f._0x24539e),{'schemaName':this[_0x39f174(_0x4fe14f._0x434b12)+_0x39f174(0x3ed)],'tableName':this[_0x39f174(0x828)+'Name'],'csvDataLength':_0x5d337e[_0x39f174(0x4b2)+'h'],'error':_0xce0110[_0x39f174(0x6d8)+'ge']}),this[_0x39f174(0x968)+_0x39f174(_0x4fe14f._0x189878)+'or']('IMPOR'+_0x39f174(0x6ed)+_0x39f174(_0x4fe14f._0x571063)+'R',_0xce0110),_0xce0110;else{const _0x1662ef=new _0x1aa4cd('No\x20co'+_0x39f174(_0x4fe14f._0x3ec957)+_0x39f174(0x557)+_0x39f174(0x9ee));throw _0x514195['error'](_0x39f174(0x84c)+'e\x20ope'+'ratio'+_0x39f174(0x861)+'led',{'tableName':_0x30a6c5[_0x39f174(_0x4fe14f._0x1af323)],'error':_0x1662ef[_0x39f174(0x6d8)+'ge']}),_0x1662ef;}}}async[_0x441e35(0xb3d)+_0x441e35(0x321)+_0x441e35(0x959)+_0x441e35(0x888)+'g'](_0x1fb859,_0x2d8857,_0x10d72b={}){const _0x19117e={_0x534821:0x617,_0x550a50:0x76b,_0x5579b4:0x8fd,_0x3c6cff:0x792,_0x24895e:0x5ae,_0x510781:0x445,_0x27f8f8:0x4e6,_0x152d21:0x698,_0x36e94e:0x51b,_0x229a8a:0x616,_0x255fc1:0xa0a,_0x2c84e6:0xb08,_0x3f815b:0x495,_0x19c1ef:0x828,_0x52c697:0x321,_0x583390:0x959,_0x202403:0x495,_0x586d5e:0x552,_0x5b239e:0x7b0,_0x5498c3:0x903,_0x291984:0x889,_0x476a33:0x24e,_0x502592:0x828,_0x408fe8:0x4b2},_0x1afe45=_0x441e35,_0x97471f={'QsIVb':'Start'+'ing\x20i'+'mport'+_0x1afe45(0x3a1)+_0x1afe45(_0x19117e._0x534821)+_0x1afe45(_0x19117e._0x550a50)+_0x1afe45(0x271),'gTbrw':_0x1afe45(_0x19117e._0x5579b4)+_0x1afe45(_0x19117e._0x3c6cff)+_0x1afe45(_0x19117e._0x24895e)+'ping\x20'+_0x1afe45(_0x19117e._0x510781)+_0x1afe45(0x3d2),'XIVVk':_0x1afe45(0x543)+_0x1afe45(0x740)+'ed','CIrwi':_0x1afe45(0xb3d)+_0x1afe45(0x98d)+_0x1afe45(0xaea)+'ng','rVStA':_0x1afe45(_0x19117e._0x27f8f8)+_0x1afe45(0x34f)+_0x1afe45(0xc2f)+_0x1afe45(_0x19117e._0x152d21)+_0x1afe45(0x61d)+_0x1afe45(_0x19117e._0x36e94e)+'ng','HNjmE':_0x1afe45(_0x19117e._0x229a8a)+_0x1afe45(_0x19117e._0x255fc1)+'PING_'+'ERROR'};l[_0x1afe45(0x5cb)](_0x97471f[_0x1afe45(_0x19117e._0x2c84e6)],{'schemaName':this[_0x1afe45(_0x19117e._0x3f815b)+_0x1afe45(0x3ed)],'tableName':this[_0x1afe45(_0x19117e._0x19c1ef)+_0x1afe45(0x3a7)],'dataCount':_0x1fb859[_0x1afe45(0x4b2)+'h'],'mappingsCount':_0x2d8857[_0x1afe45(0x4b2)+'h']}),await this[_0x1afe45(0x757)+'reIni'+_0x1afe45(0x4bd)+_0x1afe45(0x1dd)]();try{const _0x176189=await this[_0x1afe45(0x692)][_0x1afe45(0xb3d)+_0x1afe45(_0x19117e._0x52c697)+_0x1afe45(_0x19117e._0x583390)+_0x1afe45(0x888)+'g'](this['table'+'Name'],_0x1fb859,_0x2d8857,_0x10d72b);return l[_0x1afe45(0x5cb)](_0x97471f[_0x1afe45(0xae4)],{'schemaName':this[_0x1afe45(_0x19117e._0x202403)+_0x1afe45(0x3ed)],'tableName':this[_0x1afe45(_0x19117e._0x19c1ef)+_0x1afe45(0x3a7)],'totalRows':_0x176189[_0x1afe45(_0x19117e._0x586d5e)+'Rows'],'successRows':_0x176189['succe'+_0x1afe45(0x570)+'s'],'errorRows':_0x176189['error'+_0x1afe45(_0x19117e._0x5b239e)]}),this[_0x1afe45(_0x19117e._0x5498c3)](_0x97471f['XIVVk'],{'operation':_0x97471f[_0x1afe45(_0x19117e._0x291984)],'result':_0x176189}),_0x176189;}catch(_0x4b8cd0){throw l[_0x1afe45(0x850)](_0x97471f[_0x1afe45(_0x19117e._0x476a33)],{'schemaName':this['schem'+_0x1afe45(0x3ed)],'tableName':this[_0x1afe45(_0x19117e._0x502592)+'Name'],'dataCount':_0x1fb859[_0x1afe45(0x4b2)+'h'],'mappingsCount':_0x2d8857[_0x1afe45(_0x19117e._0x408fe8)+'h'],'error':_0x4b8cd0[_0x1afe45(0x6d8)+'ge']}),this[_0x1afe45(0x968)+_0x1afe45(0xc01)+'or'](_0x97471f[_0x1afe45(0x6cd)],_0x4b8cd0),_0x4b8cd0;}}[_0x441e35(0x483)+_0x441e35(0x2f2)+_0x441e35(0x79e)+'e'](_0x46d9eb={},_0x7d19bf={}){const _0x2cb7b6={_0x2c0f4b:0x3ed,_0x21701d:0x828,_0x56c14b:0x54f,_0x56dc38:0x4b2,_0x75c024:0x510,_0x520744:0x7e4,_0x4070b4:0x3cd,_0x119af4:0x269,_0x5e18a0:0x269,_0x4f6e0f:0x844,_0x2e21a1:0x7a2,_0x6b376:0x664,_0x503a6a:0x664},_0x36f28e=_0x441e35,_0x2ba0d3={'sTjwn':function(_0x5338fa,_0x42ec16){return _0x5338fa!==_0x42ec16;}};l[_0x36f28e(0x2d7)](_0x36f28e(0xb2e)+_0x36f28e(0x884)+'elect'+'\x20tabl'+_0x36f28e(0x911)+'ry',{'schemaName':this['schem'+_0x36f28e(_0x2cb7b6._0x2c0f4b)],'tableName':this[_0x36f28e(_0x2cb7b6._0x21701d)+'Name'],'conditionsCount':Object[_0x36f28e(_0x2cb7b6._0x56c14b)](_0x46d9eb)[_0x36f28e(_0x2cb7b6._0x56dc38)+'h'],'hasOptions':Object['keys'](_0x7d19bf)[_0x36f28e(0x4b2)+'h']>-0x960+0x19db*0x1+-0x107b});const _0x2c0d3f={'name':this[_0x36f28e(0x828)+'Name'],'cols':[],'wheres':[],'orderbys':_0x7d19bf[_0x36f28e(_0x2cb7b6._0x75c024)+'By']||[],'limitOffset':{}};return _0x7d19bf[_0x36f28e(0x7e4)+'ns']&&_0x7d19bf[_0x36f28e(_0x2cb7b6._0x520744)+'ns']['lengt'+'h']>-0x19a9*-0x1+-0x15f3+-0x5*0xbe&&(_0x2c0d3f[_0x36f28e(_0x2cb7b6._0x4070b4)]=_0x7d19bf[_0x36f28e(_0x2cb7b6._0x520744)+'ns'][_0x36f28e(_0x2cb7b6._0x119af4)](_0x41b4a9=>({'name':_0x41b4a9}))),_0x46d9eb&&Object[_0x36f28e(_0x2cb7b6._0x56c14b)](_0x46d9eb)[_0x36f28e(0x4b2)+'h']>-0x64e+-0x24cb+0x2b19&&(_0x2c0d3f['where'+'s']=Object['entri'+'es'](_0x46d9eb)[_0x36f28e(_0x2cb7b6._0x5e18a0)](([_0x5c0f16,_0x284f8e])=>({'name':_0x5c0f16,'value':_0x284f8e,'operator':'='}))),_0x2ba0d3[_0x36f28e(_0x2cb7b6._0x4f6e0f)](_0x7d19bf['limit'],void(-0x19c9*0x1+-0x25*0x47+-0xc*-0x301))&&(_0x2c0d3f[_0x36f28e(_0x2cb7b6._0x2e21a1)+_0x36f28e(0x4c3)+'t']['limit']=_0x7d19bf['limit']),_0x2ba0d3[_0x36f28e(0x844)](_0x7d19bf[_0x36f28e(_0x2cb7b6._0x6b376)+'t'],void(0x99a*-0x3+-0x1*0x314+0x1fe2))&&(_0x2c0d3f[_0x36f28e(0x7a2)+'Offse'+'t'][_0x36f28e(_0x2cb7b6._0x6b376)+'t']=_0x7d19bf[_0x36f28e(_0x2cb7b6._0x503a6a)+'t']),_0x2c0d3f;}[_0x441e35(0x483)+'DataT'+_0x441e35(0x85b)](_0xeea091){const _0x5c6176={_0x3ba538:0x84d,_0x1a98f5:0x469,_0x433c9a:0x708,_0x2d72d6:0x54f,_0x56d0d6:0x429,_0x2ddf41:0x2e0,_0x1b65da:0xb71},_0xb1954d=_0x441e35,_0x567346={'FJBiy':'Build'+_0xb1954d(0xa64)+_0xb1954d(_0x5c6176._0x3ba538)+_0xb1954d(0x30b)+'for\x20q'+_0xb1954d(0x4a2)},_0x8d283e=Object[_0xb1954d(_0x5c6176._0x1a98f5)+'es'](_0xeea091)['reduc'+'e']((_0x217695,[_0x2c4fde,_0x27aaec])=>(_0x27aaec!==void(-0x1e33+0x3*-0xae5+-0x2*-0x1f71)&&(_0x217695[_0x2c4fde]=_0x27aaec),_0x217695),{});return l[_0xb1954d(0x2d7)](_0x567346[_0xb1954d(_0x5c6176._0x433c9a)],{'schemaName':this[_0xb1954d(0x495)+'aName'],'tableName':this['table'+_0xb1954d(0x3a7)],'dataKeys':Object['keys'](_0x8d283e),'removedKeys':Object[_0xb1954d(_0x5c6176._0x2d72d6)](_0xeea091)[_0xb1954d(0x2fe)+'r'](_0x5493cf=>_0xeea091[_0x5493cf]===void(0x1f0b+0xa7*0x10+-0x297b))}),this['dao'][_0xb1954d(_0x5c6176._0x56d0d6)+_0xb1954d(0x817)+_0xb1954d(0x462)+_0xb1954d(_0x5c6176._0x2ddf41)+_0xb1954d(_0x5c6176._0x1b65da)](this['table'+'Name'],_0x8d283e,this['prima'+_0xb1954d(0xb28)+_0xb1954d(0x637)+'s']);}[_0x441e35(0x483)+'Where'+'FromO'+_0x441e35(0xca5)](_0x5ab860){const _0x5765e4={_0x410aa9:0x469,_0x2cb85b:0x269,_0x2bb9f4:0x2d7,_0x38f208:0x3ed,_0x590615:0x54f,_0xde554e:0x4b2},_0xfb6cd7=_0x441e35,_0x17827d=Object[_0xfb6cd7(_0x5765e4._0x410aa9)+'es'](_0x5ab860)[_0xfb6cd7(0x2fe)+'r'](([_0x612e84,_0x302a27])=>_0x302a27!==void(0x16d9+-0x186d*-0x1+0x2f46*-0x1))[_0xfb6cd7(_0x5765e4._0x2cb85b)](([_0x1663b6,_0x26a502])=>({'name':_0x1663b6,'value':_0x26a502}));return l[_0xfb6cd7(_0x5765e4._0x2bb9f4)](_0xfb6cd7(0x71e)+'\x20wher'+_0xfb6cd7(0x25f)+_0xfb6cd7(0xa17)+_0xfb6cd7(0x4ec)+_0xfb6cd7(0x5dc)+'t',{'schemaName':this['schem'+_0xfb6cd7(_0x5765e4._0x38f208)],'originalKeys':Object[_0xfb6cd7(_0x5765e4._0x590615)](_0x5ab860)['lengt'+'h'],'filteredWheres':_0x17827d[_0xfb6cd7(_0x5765e4._0xde554e)+'h']}),_0x17827d;}['on'](_0x542287,_0x1632a8){const _0x7ce2b9={_0x419021:0x293,_0x26f5a3:0x93f,_0x14d7d6:0x2d7,_0x364417:0x4e5,_0x5d31d0:0x495,_0x13d78e:0x3a7,_0x1663c3:0x2cf,_0x354667:0x5af,_0x4b427b:0x6af,_0x41bb9d:0x5af,_0x51765c:0x5af,_0x44546c:0x5bb,_0x2aaddc:0x7d7},_0x309140=_0x441e35,_0x28b0c8={'wMJFd':_0x309140(_0x7ce2b9._0x419021)+_0x309140(_0x7ce2b9._0x26f5a3)+_0x309140(0xbcc)+_0x309140(0x4b6)+'r'};return l[_0x309140(_0x7ce2b9._0x14d7d6)](_0x28b0c8[_0x309140(_0x7ce2b9._0x364417)],{'schemaName':this[_0x309140(_0x7ce2b9._0x5d31d0)+'aName'],'tableName':this['table'+_0x309140(_0x7ce2b9._0x13d78e)],'event':_0x542287}),this[_0x309140(_0x7ce2b9._0x1663c3)+_0x309140(_0x7ce2b9._0x354667)+'ners'][_0x309140(_0x7ce2b9._0x4b427b)](_0x542287)||this[_0x309140(_0x7ce2b9._0x1663c3)+_0x309140(_0x7ce2b9._0x41bb9d)+'ners'][_0x309140(0xcd1)](_0x542287,[]),this['event'+_0x309140(_0x7ce2b9._0x51765c)+_0x309140(_0x7ce2b9._0x44546c)]['get'](_0x542287)[_0x309140(_0x7ce2b9._0x2aaddc)](_0x1632a8),this;}[_0x441e35(0xaf3)](_0x3b475a,_0x3c22a4){const _0x1c5b70={_0x149b64:0x203,_0x355194:0x3ed,_0x31049f:0x3a7,_0x3f3c3d:0x5bb,_0x226cec:0x59a},_0x3deb3a=_0x441e35,_0x5ac851={'JKWpN':'Remov'+_0x3deb3a(_0x1c5b70._0x149b64)+_0x3deb3a(0xcc1)+_0x3deb3a(0xb72)+'ner'};l[_0x3deb3a(0x2d7)](_0x5ac851[_0x3deb3a(0x4dc)],{'schemaName':this[_0x3deb3a(0x495)+_0x3deb3a(_0x1c5b70._0x355194)],'tableName':this[_0x3deb3a(0x828)+_0x3deb3a(_0x1c5b70._0x31049f)],'event':_0x3b475a});const _0x4c846a=this[_0x3deb3a(0x2cf)+_0x3deb3a(0x5af)+_0x3deb3a(_0x1c5b70._0x3f3c3d)][_0x3deb3a(0xc0c)](_0x3b475a);if(_0x4c846a){const _0x3bce08=_0x4c846a[_0x3deb3a(_0x1c5b70._0x226cec)+'Of'](_0x3c22a4);_0x3bce08>-(0x26d5*0x1+-0x679+-0x205b)&&_0x4c846a[_0x3deb3a(0x724)+'e'](_0x3bce08,0x1*0x245+0x9b2*-0x3+0x1ad2);}return this;}[_0x441e35(0x903)](_0x277695,_0x361942){const _0x256d4a={_0xce5986:0x5c8,_0x477d6c:0x578,_0x306e54:0x4d6,_0x5801ba:0xb5a,_0x5d8212:0x6b4,_0x4c20a5:0x4e6,_0x1caf56:0xcc1,_0x30f381:0x2d7,_0x2168cd:0x5af,_0x366079:0x5bb,_0x1d64df:0x304},_0x1f3745={_0x5099d:0x890,_0x542662:0x578,_0x447334:0x7de,_0x3ec4d5:0x5f0,_0x509ac8:0xa25,_0x1a3889:0x46f,_0x57db69:0x494,_0x869fe2:0x467,_0x34a23e:0x359,_0x1662ea:0x467,_0x49bccc:0x5cb,_0x5df999:0x9bc,_0x4d46a8:0x850,_0x4bf8f:0x472,_0x56bf7a:0x495,_0x518bd4:0x828},_0x1f8ed4=_0x441e35,_0x3f298d={'gOBPd':_0x1f8ed4(_0x256d4a._0xce5986)+_0x1f8ed4(0xce9)+_0x1f8ed4(_0x256d4a._0x477d6c)+_0x1f8ed4(_0x256d4a._0x306e54)+_0x1f8ed4(0x7de)+'singl'+_0x1f8ed4(_0x256d4a._0x5801ba)+_0x1f8ed4(0x467)+_0x1f8ed4(0x359),'EOMPh':function(_0x2da39b,_0x2fca11){return _0x2da39b===_0x2fca11;},'xyAOy':_0x1f8ed4(_0x256d4a._0x5d8212),'JucFy':function(_0x5093b4,_0x4e7343){return _0x5093b4(_0x4e7343);},'xXvIf':_0x1f8ed4(_0x256d4a._0x4c20a5)+_0x1f8ed4(0x7c2)+_0x1f8ed4(_0x256d4a._0x1caf56)+'handl'+'er','YvvKr':_0x1f8ed4(0xc0d)+_0x1f8ed4(0x203)+'vent'};l[_0x1f8ed4(_0x256d4a._0x30f381)](_0x3f298d[_0x1f8ed4(0xa3a)],{'schemaName':this[_0x1f8ed4(0x495)+_0x1f8ed4(0x3ed)],'tableName':this[_0x1f8ed4(0x828)+'Name'],'event':_0x277695,'hasData':!!_0x361942});const _0x2cbb9e=this[_0x1f8ed4(0x2cf)+_0x1f8ed4(_0x256d4a._0x2168cd)+_0x1f8ed4(_0x256d4a._0x366079)]['get'](_0x277695);_0x2cbb9e&&_0x2cbb9e[_0x1f8ed4(_0x256d4a._0x1d64df)+'ch'](_0x40b356=>{const _0x130070=_0x1f8ed4,_0x38a8f3={'zgRhx':_0x3f298d[_0x130070(_0x1f3745._0x5099d)],'LhttJ':_0x130070(_0x1f3745._0x542662)+'ceMan'+_0x130070(_0x1f3745._0x447334)+_0x130070(0x784)+'eton\x20'+'insta'+_0x130070(_0x1f3745._0x3ec4d5)+_0x130070(_0x1f3745._0x509ac8)+_0x130070(0xa84)+_0x130070(_0x1f3745._0x1a3889)+'ly'};try{_0x3f298d['EOMPh'](_0x130070(0x6b4),_0x3f298d[_0x130070(0x618)])?_0x3f298d['JucFy'](_0x40b356,_0x361942):(_0x169abf['warn'](_0x38a8f3[_0x130070(_0x1f3745._0x57db69)]),_0x5d32fc[_0x130070(_0x1f3745._0x869fe2)+_0x130070(_0x1f3745._0x34a23e)]?(_0x4b75f2[_0x130070(_0x1f3745._0x1662ea)+_0x130070(_0x1f3745._0x34a23e)]['destr'+'oy'](),_0xfa881d[_0x130070(_0x1f3745._0x1662ea)+'nce']=null,_0x4b4ad8[_0x130070(_0x1f3745._0x49bccc)](_0x38a8f3[_0x130070(0x8fa)])):_0x4b1c3e[_0x130070(0x64d)](_0x130070(_0x1f3745._0x5df999)+_0x130070(0x88f)+'Manag'+_0x130070(0x28f)+_0x130070(0x344)+_0x130070(0x641)+_0x130070(0x379)));}catch(_0x366c6c){l[_0x130070(_0x1f3745._0x4d46a8)](_0x3f298d[_0x130070(_0x1f3745._0x4bf8f)],{'schemaName':this[_0x130070(_0x1f3745._0x56bf7a)+_0x130070(0x3ed)],'tableName':this[_0x130070(_0x1f3745._0x518bd4)+_0x130070(0x3a7)],'event':_0x277695,'error':_0x366c6c[_0x130070(0x6d8)+'ge']});}});}['setEr'+_0x441e35(0x3e1)+_0x441e35(0x366)](_0x2188c4,_0x28040f){const _0x416e18={_0x39f3f3:0x64d,_0x14eef6:0xbd5,_0x119e8b:0x3a7,_0x311d97:0x850,_0x146182:0x8b7},_0x5b4da2=_0x441e35;return l[_0x5b4da2(_0x416e18._0x39f3f3)](_0x5b4da2(0xa63)+_0x5b4da2(0x60a)+_0x5b4da2(0x4bb)+_0x5b4da2(_0x416e18._0x14eef6)+'r',{'schemaName':this[_0x5b4da2(0x495)+_0x5b4da2(0x3ed)],'tableName':this['table'+_0x5b4da2(_0x416e18._0x119e8b)],'errorType':_0x2188c4}),this[_0x5b4da2(_0x416e18._0x311d97)+_0x5b4da2(_0x416e18._0x146182)+_0x5b4da2(0x679)]['set'](_0x2188c4,_0x28040f),this;}[_0x441e35(0x968)+_0x441e35(0xc01)+'or'](_0x3e56dd,_0x4528f9){const _0x3bc23a={_0x3fb858:0x884,_0x5121d2:0xc77,_0x3ef5e0:0x66a,_0x4f69ac:0xc8f,_0x4861a5:0x850,_0x1ce666:0x3ed,_0x223729:0x679,_0x4054d7:0x9cb,_0x46b6e1:0x495,_0x2db166:0x3ed,_0x4ae945:0x828,_0x51ece9:0x3a7,_0x4b2879:0x903,_0x1f5114:0xb39},_0x3491a7=_0x441e35,_0x340d4b={'lOpbE':_0x3491a7(0x8b7)+_0x3491a7(_0x3bc23a._0x3fb858)+_0x3491a7(_0x3bc23a._0x5121d2)+_0x3491a7(0x356)+'or','LsivA':function(_0x21dc16,_0x2f820f){return _0x21dc16(_0x2f820f);},'HkMUY':_0x3491a7(0x4e6)+_0x3491a7(0x7c2)+_0x3491a7(_0x3bc23a._0x3ef5e0)+_0x3491a7(_0x3bc23a._0x4f69ac)+'er','TkKgJ':_0x3491a7(_0x3bc23a._0x4861a5)};l['error'](_0x340d4b[_0x3491a7(0x66c)],{'schemaName':this[_0x3491a7(0x495)+_0x3491a7(_0x3bc23a._0x1ce666)],'tableName':this[_0x3491a7(0x828)+'Name'],'errorType':_0x3e56dd,'error':_0x4528f9[_0x3491a7(0x6d8)+'ge']});const _0x14eb0c=this['error'+_0x3491a7(0x8b7)+_0x3491a7(_0x3bc23a._0x223729)][_0x3491a7(0xc0c)](_0x3e56dd);if(_0x14eb0c)try{_0x340d4b[_0x3491a7(0xaed)](_0x14eb0c,_0x4528f9);}catch(_0xa0c663){l['error'](_0x340d4b[_0x3491a7(_0x3bc23a._0x4054d7)],{'schemaName':this[_0x3491a7(_0x3bc23a._0x46b6e1)+_0x3491a7(_0x3bc23a._0x2db166)],'tableName':this[_0x3491a7(_0x3bc23a._0x4ae945)+_0x3491a7(_0x3bc23a._0x51ece9)],'errorType':_0x3e56dd,'handlerError':_0xa0c663['messa'+'ge']});}this[_0x3491a7(_0x3bc23a._0x4b2879)](_0x340d4b[_0x3491a7(_0x3bc23a._0x1f5114)],{'errorType':_0x3e56dd,'error':_0x4528f9});}['_vali'+_0x441e35(0x943)+'ata'](_0x1a7f77){const _0x203a1a={_0x54b3cb:0xa47,_0x3ec4c5:0x5ed,_0x1408ce:0x2fb,_0x252933:0x5dc,_0x44685c:0x1da,_0x352cf8:0x671,_0x2e1a36:0x54f},_0x2a2e40={_0x2bd440:0x2d7,_0x3ef5c0:0xb2b,_0x3e6ceb:0x9b2,_0xb86924:0x722,_0x597f2c:0x2da,_0x3df40e:0x828},_0x2647a6=_0x441e35,_0x2d604d={'qUtQF':function(_0xc894d8,_0x5d0bdb){return _0xc894d8!=_0x5d0bdb;},'vGdlF':_0x2647a6(_0x203a1a._0x54b3cb)+_0x2647a6(0x7bf)+_0x2647a6(_0x203a1a._0x3ec4c5)+'valid'+'\x20obje'+'ct'};if(!_0x1a7f77||_0x2d604d[_0x2647a6(_0x203a1a._0x1408ce)](typeof _0x1a7f77,_0x2647a6(_0x203a1a._0x252933)+'t')){const _0x6701=_0x2d604d[_0x2647a6(0x963)];throw l[_0x2647a6(0x850)](_0x2647a6(0xa47)+_0x2647a6(0x1d4)+_0x2647a6(_0x203a1a._0x44685c)+_0x2647a6(_0x203a1a._0x352cf8)+'ed',{'schemaName':this['schem'+'aName'],'tableName':this[_0x2647a6(0x828)+_0x2647a6(0x3a7)],'dataType':typeof _0x1a7f77,'isNull':_0x1a7f77===null}),new Error(_0x6701);}Object[_0x2647a6(_0x203a1a._0x2e1a36)](_0x1a7f77)[_0x2647a6(0x304)+'ch'](_0x34eeea=>{const _0x5c3e30=_0x2647a6;_0x1a7f77[_0x34eeea]===void(0x22ef+0x18cf+-0x3bbe)&&(delete _0x1a7f77[_0x34eeea],l[_0x5c3e30(_0x2a2e40._0x2bd440)](_0x5c3e30(_0x2a2e40._0x3ef5c0)+_0x5c3e30(0x938)+_0x5c3e30(_0x2a2e40._0x3e6ceb)+_0x5c3e30(_0x2a2e40._0xb86924)+_0x5c3e30(_0x2a2e40._0x597f2c),{'schemaName':this['schem'+'aName'],'tableName':this[_0x5c3e30(_0x2a2e40._0x3df40e)+_0x5c3e30(0x3a7)],'field':_0x34eeea}));});}async[_0x441e35(0x757)+_0x441e35(0x636)+_0x441e35(0x4bd)+_0x441e35(0x1dd)](){const _0x3d003b={_0x347351:0xbb6,_0x1e2294:0x824,_0x1c732e:0x495},_0x52de6e=_0x441e35;this['isIni'+'tiali'+'zed']||(l[_0x52de6e(0x64d)](_0x52de6e(0x578)+_0x52de6e(0x84a)+_0x52de6e(0x29b)+'tiali'+'zed,\x20'+_0x52de6e(_0x3d003b._0x347351)+_0x52de6e(_0x3d003b._0x1e2294)+_0x52de6e(0x441)+'w',{'schemaName':this[_0x52de6e(_0x3d003b._0x1c732e)+_0x52de6e(0x3ed)],'tableName':this[_0x52de6e(0x828)+_0x52de6e(0x3a7)]}),await this['init']());}async[_0x441e35(0x8b4)+_0x441e35(0x343)+_0x441e35(0x9cd)+'ectio'+'n'](){const _0x297d4f={_0x35f210:0x378,_0x5311ad:0x6ba,_0x3939a8:0x6a7,_0xd4806c:0x4dd,_0x30109a:0x773,_0xfe873d:0x87d,_0x4d637b:0x495,_0x398f7d:0x4ff,_0x22dc3e:0x3ed,_0x268ab2:0x8b4,_0x1a9e3a:0xab2,_0x3bfaaa:0xb76,_0x4ca8de:0xc45,_0x586d1c:0x773,_0x4739a6:0xce9,_0x14ca07:0xa69,_0x54f669:0xab2,_0xa73291:0xb76},_0x4b8b5f=_0x441e35,_0xed8fef={'mgewP':'Ensur'+_0x4b8b5f(_0x297d4f._0x35f210)+_0x4b8b5f(0x248)+_0x4b8b5f(0x9bb)+_0x4b8b5f(_0x297d4f._0x5311ad)+_0x4b8b5f(_0x297d4f._0x3939a8)+_0x4b8b5f(0xb76),'aiKkC':_0x4b8b5f(_0x297d4f._0xd4806c)+_0x4b8b5f(0x2c6)+'\x20not\x20'+'valid'+_0x4b8b5f(_0x297d4f._0x30109a)+_0x4b8b5f(0xce9)+_0x4b8b5f(0xa69)+_0x4b8b5f(0x6a7)+_0x4b8b5f(0xb76)};var _0x567a54;l[_0x4b8b5f(0x2d7)](_0xed8fef[_0x4b8b5f(_0x297d4f._0xfe873d)],{'schemaName':this[_0x4b8b5f(_0x297d4f._0x4d637b)+_0x4b8b5f(0x3ed)],'tableName':this['table'+_0x4b8b5f(0x3a7)]});try{!((_0x567a54=this['dao'])===null||_0x567a54===void(-0x1*-0x8ec+0x1b*-0x1f+0x5a7*-0x1))&&_0x567a54['isCon'+'necti'+_0x4b8b5f(0xc6d)+'n']()||(l[_0x4b8b5f(0x64d)](_0xed8fef[_0x4b8b5f(_0x297d4f._0x398f7d)],{'schemaName':this[_0x4b8b5f(0x495)+_0x4b8b5f(_0x297d4f._0x22dc3e)]}),this[_0x4b8b5f(0x692)]=await v[_0x4b8b5f(_0x297d4f._0x268ab2)+_0x4b8b5f(_0x297d4f._0x1a9e3a)+_0x4b8b5f(0x7b3)+'onnec'+_0x4b8b5f(_0x297d4f._0x3bfaaa)](this[_0x4b8b5f(0x495)+_0x4b8b5f(_0x297d4f._0x22dc3e)]));}catch(_0x1f5e51){l[_0x4b8b5f(_0x297d4f._0x4ca8de)](_0x4b8b5f(0x4e6)+'\x20chec'+_0x4b8b5f(0x992)+_0x4b8b5f(0x8f3)+_0x4b8b5f(0x2c6)+_0x4b8b5f(_0x297d4f._0x586d1c)+_0x4b8b5f(_0x297d4f._0x4739a6)+_0x4b8b5f(_0x297d4f._0x14ca07)+'onnec'+'tion',{'schemaName':this['schem'+'aName'],'error':_0x1f5e51[_0x4b8b5f(0x6d8)+'ge']}),this['dao']=await v[_0x4b8b5f(0x8b4)+_0x4b8b5f(_0x297d4f._0x54f669)+_0x4b8b5f(0x7b3)+'onnec'+_0x4b8b5f(_0x297d4f._0xa73291)](this[_0x4b8b5f(0x495)+'aName']);}}async[_0x441e35(0x6b5)+_0x441e35(0xaad)+_0x441e35(0x355)](){const _0x734983={_0x2145bd:0x77e,_0x2c01bc:0xaad,_0xc21ed1:0xae1,_0x18d9a7:0x757,_0x278dd0:0x6b5},_0x4c0593=_0x441e35,_0x4dfd83={'FmSqk':_0x4c0593(_0x734983._0x2145bd)+_0x4c0593(0x601)+_0x4c0593(_0x734983._0x2c01bc)+_0x4c0593(0x907)+'o'};return l[_0x4c0593(0x2d7)](_0x4dfd83[_0x4c0593(_0x734983._0xc21ed1)],{'schemaName':this[_0x4c0593(0x495)+_0x4c0593(0x3ed)],'tableName':this[_0x4c0593(0x828)+_0x4c0593(0x3a7)]}),await this[_0x4c0593(_0x734983._0x18d9a7)+_0x4c0593(0x636)+'tiali'+'zed'](),await this['dao'][_0x4c0593(_0x734983._0x278dd0)+'tabas'+_0x4c0593(0x355)]();}async[_0x441e35(0x5f5)+'bleIn'+'fo'](){const _0x1d52a2={_0x2266f3:0x77e,_0x2564a2:0x470,_0xa7f9cc:0x639,_0x45874b:0x2d7,_0xcb33bb:0x3ed,_0x130720:0x636,_0x295310:0x692,_0x59c0ee:0x1d9,_0x9f1448:0x3a7},_0x3ab26b=_0x441e35,_0x402076={'XTyMy':_0x3ab26b(_0x1d52a2._0x2266f3)+_0x3ab26b(_0x1d52a2._0x2564a2)+_0x3ab26b(_0x1d52a2._0xa7f9cc)+_0x3ab26b(0x789)};return l[_0x3ab26b(_0x1d52a2._0x45874b)](_0x402076[_0x3ab26b(0xb48)],{'schemaName':this['schem'+_0x3ab26b(_0x1d52a2._0xcb33bb)],'tableName':this[_0x3ab26b(0x828)+'Name']}),await this[_0x3ab26b(0x757)+_0x3ab26b(_0x1d52a2._0x130720)+'tiali'+'zed'](),await this[_0x3ab26b(_0x1d52a2._0x295310)][_0x3ab26b(0x5f5)+_0x3ab26b(_0x1d52a2._0x59c0ee)+'fo'](this[_0x3ab26b(0x828)+_0x3ab26b(_0x1d52a2._0x9f1448)]);}[_0x441e35(0x8d4)+_0x441e35(0x3b5)](){const _0xae575e={_0x5a7c82:0x438,_0x5e5ab9:0x5f9,_0x32174b:0x4bd,_0x8aaced:0x1dd,_0x2ecbab:0xb0f},_0x32b586=_0x441e35,_0x2e7992={'EWddu':'Getti'+_0x32b586(_0xae575e._0x5a7c82)+'rvice'+_0x32b586(_0xae575e._0x5e5ab9)+'us'},_0x3b3e1c={'schemaName':this[_0x32b586(0x495)+_0x32b586(0x3ed)],'tableName':this[_0x32b586(0x828)+_0x32b586(0x3a7)],'isOpened':this[_0x32b586(0x69b)+_0x32b586(0xaf8)],'isInitialized':this[_0x32b586(0x37c)+_0x32b586(_0xae575e._0x32174b)+_0x32b586(_0xae575e._0x8aaced)],'hasDao':!!this[_0x32b586(0x692)]};return l[_0x32b586(0x2d7)](_0x2e7992[_0x32b586(_0xae575e._0x2ecbab)],_0x3b3e1c),_0x3b3e1c;}async[_0x441e35(0xc1f)+_0x441e35(0xcfc)+'k'](){const _0x1071c7={_0x255f96:0x681,_0x3ad4e8:0xc76,_0x9d4043:0x79f,_0xa9468f:0xbe0,_0x3c7217:0x999,_0x3fe4cb:0x86e,_0xa655fb:0x3a7,_0x32f0b1:0x636,_0x17d981:0x1dd,_0x1d3fcb:0xb45,_0x399035:0x495,_0x28793b:0x3ed,_0x238ef6:0x3a7,_0x2bb2c8:0x6d8},_0x37f09d=_0x441e35,_0x226fd5={'DSZtS':_0x37f09d(0xc76)+_0x37f09d(_0x1071c7._0x255f96)+'ck\x20pa'+_0x37f09d(0x46c),'NhYry':_0x37f09d(_0x1071c7._0x3ad4e8)+'h\x20che'+_0x37f09d(0x825)+_0x37f09d(0x3d1)};l[_0x37f09d(0x64d)](_0x37f09d(_0x1071c7._0x9d4043)+_0x37f09d(_0x1071c7._0xa9468f)+_0x37f09d(_0x1071c7._0x3c7217)+_0x37f09d(_0x1071c7._0x3fe4cb)+_0x37f09d(0x5bc),{'schemaName':this[_0x37f09d(0x495)+'aName'],'tableName':this[_0x37f09d(0x828)+_0x37f09d(_0x1071c7._0xa655fb)]});try{await this['_ensu'+_0x37f09d(_0x1071c7._0x32f0b1)+_0x37f09d(0x4bd)+_0x37f09d(_0x1071c7._0x17d981)]();const _0x9bee52=await this[_0x37f09d(_0x1071c7._0x1d3fcb)](),_0x2054d5={'healthy':!(0x1d7+0x743+0x48d*-0x2),'schemaName':this[_0x37f09d(_0x1071c7._0x399035)+_0x37f09d(_0x1071c7._0x28793b)],'recordCount':_0x9bee52,'timestamp':new Date()['toISO'+_0x37f09d(0xc9c)+'g']()};return l[_0x37f09d(0x5cb)](_0x226fd5['DSZtS'],{'schemaName':this[_0x37f09d(0x495)+_0x37f09d(_0x1071c7._0x28793b)],'tableName':this[_0x37f09d(0x828)+_0x37f09d(_0x1071c7._0x238ef6)],'recordCount':_0x9bee52}),_0x2054d5;}catch(_0x20e126){const _0x157205={'healthy':!(-0x1164+-0x2397+0x1*0x34fc),'schemaName':this[_0x37f09d(_0x1071c7._0x399035)+_0x37f09d(0x3ed)],'error':_0x20e126[_0x37f09d(_0x1071c7._0x2bb2c8)+'ge'],'timestamp':new Date()[_0x37f09d(0x456)+_0x37f09d(0xc9c)+'g']()};return l[_0x37f09d(0x850)](_0x226fd5['NhYry'],{'schemaName':this[_0x37f09d(_0x1071c7._0x399035)+_0x37f09d(0x3ed)],'tableName':this['table'+_0x37f09d(_0x1071c7._0x238ef6)],'error':_0x20e126['messa'+'ge']}),_0x157205;}}async[_0x441e35(0xac1)](){const _0x2555e8={_0x3e55ee:0x53f,_0x8ac67e:0x64d,_0x57359b:0x571,_0x546eb1:0xb73,_0x4c2fc5:0x495,_0x4dd6a3:0x37c,_0x57d49e:0x4bd,_0x49c393:0x1dd,_0x343428:0x8b7,_0x3f2e33:0x8ce,_0xe674fc:0x5cb,_0x17a395:0xc64,_0x420ac3:0x211,_0x481cf7:0x385,_0x20b0d5:0xc8a,_0x1fcc7a:0xcc9,_0x2ca14c:0x828,_0x411ab0:0x3a7,_0x363386:0x903,_0x765242:0xc8d,_0x35bc80:0x495,_0x37b643:0x3ed,_0x4573fd:0x3a7,_0x364ea2:0x6d8,_0x3e9ac0:0x28a},_0x3efc8b=_0x441e35,_0x52166b={'kngFK':'Closi'+'ng\x20Ba'+_0x3efc8b(0x72c)+_0x3efc8b(0x251),'mzfjU':_0x3efc8b(0xac1)+'d','owVri':_0x3efc8b(0xa5b)+_0x3efc8b(_0x2555e8._0x3e55ee)+'R'};l['info'](_0x52166b['kngFK'],{'schemaName':this[_0x3efc8b(0x495)+_0x3efc8b(0x3ed)],'tableName':this[_0x3efc8b(0x828)+_0x3efc8b(0x3a7)],'isOpened':this['isOpe'+'ned'],'isInitialized':this[_0x3efc8b(0x37c)+_0x3efc8b(0x4bd)+_0x3efc8b(0x1dd)]});try{return this['dao']&&(await this[_0x3efc8b(0x692)][_0x3efc8b(0xac1)](),l[_0x3efc8b(_0x2555e8._0x8ac67e)](_0x3efc8b(0xb9a)+_0x3efc8b(_0x2555e8._0x57359b)+'\x20succ'+_0x3efc8b(_0x2555e8._0x546eb1)+_0x3efc8b(0x862),{'schemaName':this[_0x3efc8b(_0x2555e8._0x4c2fc5)+_0x3efc8b(0x3ed)]})),this[_0x3efc8b(0x69b)+_0x3efc8b(0xaf8)]=!(0x1ce3+-0x188b+-0x65*0xb),this[_0x3efc8b(_0x2555e8._0x4dd6a3)+_0x3efc8b(_0x2555e8._0x57d49e)+_0x3efc8b(_0x2555e8._0x49c393)]=!(0x607+0x1d7c+0x5eb*-0x6),this['event'+'Liste'+_0x3efc8b(0x5bb)][_0x3efc8b(0x1d3)](),this['error'+_0x3efc8b(_0x2555e8._0x343428)+'ers'][_0x3efc8b(0x1d3)](),this[_0x3efc8b(_0x2555e8._0x3f2e33)][_0x3efc8b(0x1d3)](),l[_0x3efc8b(_0x2555e8._0xe674fc)](_0x3efc8b(_0x2555e8._0x17a395)+'ervic'+_0x3efc8b(_0x2555e8._0x420ac3)+_0x3efc8b(_0x2555e8._0x481cf7)+_0x3efc8b(_0x2555e8._0x20b0d5)+_0x3efc8b(_0x2555e8._0x1fcc7a)+'y',{'schemaName':this[_0x3efc8b(0x495)+_0x3efc8b(0x3ed)],'tableName':this[_0x3efc8b(_0x2555e8._0x2ca14c)+_0x3efc8b(_0x2555e8._0x411ab0)]}),this[_0x3efc8b(_0x2555e8._0x363386)](_0x52166b['mzfjU'],{'schemaName':this['schem'+_0x3efc8b(0x3ed)]}),!(-0x122d+0xdd1+0x45c);}catch(_0x1a3e73){throw l['error'](_0x3efc8b(0x4e6)+'\x20clos'+'ing\x20B'+_0x3efc8b(_0x2555e8._0x765242)+_0x3efc8b(0x88f),{'schemaName':this[_0x3efc8b(_0x2555e8._0x35bc80)+_0x3efc8b(_0x2555e8._0x37b643)],'tableName':this[_0x3efc8b(0x828)+_0x3efc8b(_0x2555e8._0x4573fd)],'error':_0x1a3e73[_0x3efc8b(_0x2555e8._0x364ea2)+'ge']}),this['_hand'+_0x3efc8b(0xc01)+'or'](_0x52166b[_0x3efc8b(_0x2555e8._0x3e9ac0)],_0x1a3e73),_0x1a3e73;}}[_0x441e35(0x582)+'oy'](){const _0x38da81={_0x452e8c:0x2d8,_0x58f3db:0x3a7,_0x1b5175:0x489,_0x82b8da:0xaad,_0x30a9ee:0x85d,_0x58cb8f:0xb66,_0x54742b:0xbd5,_0x19086d:0x5af,_0x24cca3:0x679,_0x38edd0:0x1d3,_0x1453d0:0x8ce,_0x2366fa:0xc77,_0x21e0da:0xce5,_0x206bd8:0x3ed,_0x4002c5:0x828},_0x11f61f=_0x441e35;l[_0x11f61f(0x64d)](_0x11f61f(0x591)+_0x11f61f(0x9a9)+_0x11f61f(_0x38da81._0x452e8c)+_0x11f61f(0x578)+'ce',{'schemaName':this['schem'+'aName'],'tableName':this[_0x11f61f(0x828)+_0x11f61f(_0x38da81._0x58f3db)]}),v[_0x11f61f(_0x38da81._0x1b5175)+_0x11f61f(_0x38da81._0x82b8da)+_0x11f61f(0xb94)+_0x11f61f(_0x38da81._0x30a9ee)](this[_0x11f61f(0x495)+_0x11f61f(0x3ed)],this['recon'+_0x11f61f(_0x38da81._0x58cb8f)+_0x11f61f(_0x38da81._0x54742b)+'r']),this['event'+_0x11f61f(_0x38da81._0x19086d)+_0x11f61f(0x5bb)]['clear'](),this['error'+_0x11f61f(0x8b7)+_0x11f61f(_0x38da81._0x24cca3)][_0x11f61f(_0x38da81._0x38edd0)](),this[_0x11f61f(_0x38da81._0x1453d0)][_0x11f61f(0x1d3)](),l[_0x11f61f(0x2d7)](_0x11f61f(0xc64)+_0x11f61f(_0x38da81._0x2366fa)+_0x11f61f(_0x38da81._0x21e0da)+_0x11f61f(0x7b4)+'d',{'schemaName':this[_0x11f61f(0x495)+_0x11f61f(_0x38da81._0x206bd8)],'tableName':this[_0x11f61f(_0x38da81._0x4002c5)+'Name']});}async['getAl'+'l'](_0x196fca={},_0xbfbc1d={}){const _0x2e4218={_0x157549:0x678,_0x414fcf:0x6d9,_0x165ff2:0x2d7,_0xb5e031:0x3ed},_0x24b6f1=_0x441e35,_0x510d95={'iHvTt':_0x24b6f1(_0x2e4218._0x157549)+_0x24b6f1(_0x2e4218._0x414fcf)+'ll\x20al'+'ias'};return l[_0x24b6f1(_0x2e4218._0x165ff2)](_0x510d95[_0x24b6f1(0x84b)],{'schemaName':this['schem'+_0x24b6f1(_0x2e4218._0xb5e031)],'tableName':this[_0x24b6f1(0x828)+_0x24b6f1(0x3a7)]}),this['findA'+'ll'](_0x196fca,_0xbfbc1d);}async[_0x441e35(0xa75)+'Id'](_0x4ef5ff){const _0x1ecade={_0x5365dc:0x2d7,_0x376c77:0x878,_0x46ae19:0xcf4,_0x3349ef:0x3ed,_0x3f2974:0x3a7,_0x50e918:0x880},_0x244248=_0x441e35;return l[_0x244248(_0x1ecade._0x5365dc)](_0x244248(0x678)+'\x20getB'+_0x244248(_0x1ecade._0x376c77)+_0x244248(_0x1ecade._0x46ae19),{'schemaName':this['schem'+_0x244248(_0x1ecade._0x3349ef)],'tableName':this[_0x244248(0x828)+_0x244248(_0x1ecade._0x3f2974)],'id':_0x4ef5ff}),this['findB'+_0x244248(_0x1ecade._0x50e918)](_0x4ef5ff);}async[_0x441e35(0x949)+'rst'](_0x5d2959={}){const _0x5cae4f={_0x421471:0x2d7,_0x7ca22:0x678,_0x4c1f73:0x8d2},_0x515632=_0x441e35;return l[_0x515632(_0x5cae4f._0x421471)](_0x515632(_0x5cae4f._0x7ca22)+'\x20getF'+'irst\x20'+_0x515632(_0x5cae4f._0x4c1f73),{'schemaName':this[_0x515632(0x495)+_0x515632(0x3ed)],'tableName':this['table'+'Name']}),this[_0x515632(0xaf1)+_0x515632(0x261)](_0x5d2959);}}const u=D(A['SERVI'+_0x441e35(0x44a)+'NAGER']);class L extends q{}class S{constructor(){const _0x122af3={_0x37bd99:0x3f2,_0x548053:0x8fc,_0x5c5890:0x3f2,_0x1536f7:0x410,_0x2d4ad3:0x6c8,_0x4ae20d:0x8b7,_0x219248:0x679,_0x2ec82f:0xc02,_0x15f9a4:0x9ea,_0x44afe8:0x20d,_0xdcd2bc:0x578,_0x4ac041:0x4d6,_0x3272c2:0x467,_0x32fc29:0xb3e,_0xf72787:0xcd0,_0x3f0e1f:0x212},_0x5ee430=_0x441e35;this[_0x5ee430(0x3f2)+_0x5ee430(0x32b)]=new Map(),this[_0x5ee430(_0x122af3._0x37bd99)+'ceCon'+_0x5ee430(_0x122af3._0x548053)]=new Map(),this[_0x5ee430(_0x122af3._0x5c5890)+_0x5ee430(_0x122af3._0x1536f7)+_0x5ee430(_0x122af3._0x2d4ad3)]=new Map(),this[_0x5ee430(0x2cf)+_0x5ee430(_0x122af3._0x4ae20d)+_0x5ee430(_0x122af3._0x219248)]=new Map(),this[_0x5ee430(_0x122af3._0x2ec82f)+_0x5ee430(_0x122af3._0x15f9a4)+_0x5ee430(0x587)]=!(0x1b4c+0x9bf+0x2*-0x1285),this[_0x5ee430(0x7d3)+'upInt'+_0x5ee430(_0x122af3._0x44afe8)]=null,u[_0x5ee430(0x5cb)](_0x5ee430(_0x122af3._0xdcd2bc)+_0x5ee430(_0x122af3._0x4ac041)+_0x5ee430(0x7de)+_0x5ee430(_0x122af3._0x3272c2)+'nce\x20c'+'reate'+'d'),this['bindM'+_0x5ee430(0x705)+'s'](),this[_0x5ee430(_0x122af3._0x32fc29)+_0x5ee430(_0x122af3._0xf72787)+_0x5ee430(_0x122af3._0x3f0e1f)+_0x5ee430(0x9c5)]();}static[_0x441e35(0x851)+'stanc'+'e'](){const _0x25293c={_0x3a64a7:0x3fb,_0x5f48d7:0xb0e,_0x521018:0xc4b,_0xdd1974:0x344,_0x41b8cd:0x467,_0x40fad9:0x4e8,_0x1cae93:0x1d2},_0x320ac7=_0x441e35,_0xe88b67={'DiOCR':_0x320ac7(0x93a)+_0x320ac7(0xcd4)+_0x320ac7(_0x25293c._0x3a64a7)+_0x320ac7(0x88f)+_0x320ac7(0x4f4)+_0x320ac7(_0x25293c._0x5f48d7)+_0x320ac7(_0x25293c._0x521018)+'on\x20in'+_0x320ac7(_0x25293c._0xdd1974)+'e'};return S[_0x320ac7(_0x25293c._0x41b8cd)+'nce']?u[_0x320ac7(0x2d7)](_0x320ac7(0x205)+'ning\x20'+'exist'+_0x320ac7(0x246)+'ervic'+'eMana'+_0x320ac7(0xc5e)+_0x320ac7(_0x25293c._0x40fad9)+_0x320ac7(0xce7)+_0x320ac7(0x6bd)+'ce'):(u['debug'](_0xe88b67[_0x320ac7(_0x25293c._0x1cae93)]),S['insta'+'nce']=new S()),S['insta'+'nce'];}static[_0x441e35(0x379)+'Insta'+_0x441e35(0x359)](){const _0x4ea8ab={_0x94b951:0x784,_0x3f32c6:0xb5a,_0x30e5bc:0x5f0,_0x3bb870:0xa84,_0x474408:0x46f,_0x286709:0x5c8,_0x262688:0x7de,_0x51011d:0xb5a,_0x226ad4:0x467,_0x4ee978:0x359,_0x5b6222:0x5cb,_0x52e44b:0x810,_0x1e38a3:0x88f,_0x1dc6b6:0x4f4,_0x55b9e5:0x28f,_0x5ad9af:0x641},_0x1c8cce=_0x441e35,_0x448926={'ShWFL':'Servi'+_0x1c8cce(0x4d6)+_0x1c8cce(0x7de)+_0x1c8cce(_0x4ea8ab._0x94b951)+_0x1c8cce(_0x4ea8ab._0x3f32c6)+'insta'+_0x1c8cce(_0x4ea8ab._0x30e5bc)+_0x1c8cce(0xa25)+_0x1c8cce(_0x4ea8ab._0x3bb870)+_0x1c8cce(_0x4ea8ab._0x474408)+'ly'};u[_0x1c8cce(0xc45)](_0x1c8cce(_0x4ea8ab._0x286709)+'ting\x20'+_0x1c8cce(0x578)+_0x1c8cce(0x4d6)+_0x1c8cce(_0x4ea8ab._0x262688)+_0x1c8cce(0x784)+_0x1c8cce(_0x4ea8ab._0x51011d)+_0x1c8cce(0x467)+'nce'),S['insta'+_0x1c8cce(0x359)]?(S[_0x1c8cce(_0x4ea8ab._0x226ad4)+_0x1c8cce(_0x4ea8ab._0x4ee978)]['destr'+'oy'](),S['insta'+_0x1c8cce(_0x4ea8ab._0x4ee978)]=null,u[_0x1c8cce(_0x4ea8ab._0x5b6222)](_0x448926[_0x1c8cce(_0x4ea8ab._0x52e44b)])):u[_0x1c8cce(0x64d)](_0x1c8cce(0x9bc)+_0x1c8cce(_0x4ea8ab._0x1e38a3)+_0x1c8cce(_0x4ea8ab._0x1dc6b6)+_0x1c8cce(_0x4ea8ab._0x55b9e5)+'stanc'+_0x1c8cce(_0x4ea8ab._0x5ad9af)+'reset');}[_0x441e35(0xa94)+_0x441e35(0x705)+'s'](){const _0x28a33f={_0x37e72b:0x21b,_0x497c3b:0xb4d,_0xda706f:0x9fd,_0x2a0965:0xa50,_0x5f2856:0x73f,_0x5b4d04:0x578,_0x440215:0x2e7,_0x22c147:0x2d7,_0x5884af:0x88f,_0x58ea5e:0x4f4,_0x2ae93e:0x5f8,_0x108361:0x27b,_0x54c74a:0x277},_0x580e61={_0x2308ce:0x814,_0x52d2d0:0x7f9,_0x1d1ca1:0x456,_0x4b371b:0xc9c,_0x3a483b:0x5dc,_0x17e552:0xa52},_0x637b0=_0x441e35,_0x1e2cf8={'CPMTU':_0x637b0(_0x28a33f._0x37e72b)+'an','LWuBx':function(_0x4fef46,_0x1db064){return _0x4fef46===_0x1db064;},'ptCLe':function(_0xd759da,_0x18c0e9){return _0xd759da instanceof _0x18c0e9;},'kuiJT':function(_0x4deaa9,_0xbe0096){return _0x4deaa9!==_0xbe0096;},'goQHP':_0x637b0(_0x28a33f._0x497c3b),'snyyo':'snLNX','Ipmuz':_0x637b0(_0x28a33f._0xda706f)+_0x637b0(_0x28a33f._0x2a0965),'XdWuD':_0x637b0(_0x28a33f._0x5f2856)+'ructo'+'r','rtYLR':_0x637b0(_0x28a33f._0x5b4d04)+_0x637b0(0x4d6)+'ager\x20'+_0x637b0(_0x28a33f._0x440215)+'ds\x20bo'+'und\x20s'+'ucces'+'sfull'+'y'};u[_0x637b0(_0x28a33f._0x22c147)](_0x637b0(0x876)+_0x637b0(0x49f)+_0x637b0(_0x28a33f._0x5884af)+_0x637b0(_0x28a33f._0x58ea5e)+'er\x20me'+_0x637b0(0x80c));const _0x254382=Object['getOw'+_0x637b0(_0x28a33f._0x2ae93e)+'ertyN'+'ames'](Object['getPr'+_0x637b0(_0x28a33f._0x108361)+'peOf'](this));_0x254382['forEa'+'ch'](_0x46579b=>{const _0x1a06fa=_0x637b0,_0x3a3929={'eGbWN':_0x1e2cf8[_0x1a06fa(0xcf1)],'QxHcu':function(_0x569337,_0x15a9c4){const _0x3a6243=_0x1a06fa;return _0x1e2cf8[_0x3a6243(0x511)](_0x569337,_0x15a9c4);},'NdZUx':function(_0x481e15,_0x550511){return _0x1e2cf8['ptCLe'](_0x481e15,_0x550511);}};if(_0x1e2cf8['kuiJT'](_0x1e2cf8['goQHP'],_0x1e2cf8[_0x1a06fa(_0x580e61._0x2308ce)]))typeof this[_0x46579b]==_0x1e2cf8[_0x1a06fa(0xa95)]&&_0x46579b!==_0x1e2cf8['XdWuD']&&(this[_0x46579b]=this[_0x46579b][_0x1a06fa(0xcb2)](this));else{if(typeof _0x5eb629==_0x3a3929[_0x1a06fa(0xb3b)])return _0x38e850?-0x186e+-0x10b2+-0x1*-0x2921:-0x1073+0x16ad+-0x63a;if(_0x3a3929['QxHcu'](_0x4f80b8,void(0x2ed+-0x5*-0x7b1+-0x2962)))return null;if(_0x3a3929[_0x1a06fa(_0x580e61._0x52d2d0)](_0x19178d,_0x1e63ec))return _0xe9db89[_0x1a06fa(_0x580e61._0x1d1ca1)+_0x1a06fa(_0x580e61._0x4b371b)+'g']();if(typeof _0x16a986==_0x1a06fa(_0x580e61._0x3a483b)+'t'&&_0x33c77e!==null)throw new _0x1813d9('Canno'+_0x1a06fa(_0x580e61._0x17e552)+'d\x20obj'+'ect/a'+'rray:'+'\x20'+_0x38ecac[_0x1a06fa(0x950)+_0x1a06fa(0x7ae)](_0x269563));return _0x55746a;}}),u[_0x637b0(_0x28a33f._0x22c147)](_0x1e2cf8[_0x637b0(_0x28a33f._0x54c74a)],{'methodCount':_0x254382[_0x637b0(0x4b2)+'h']});}[_0x441e35(0xbf5)+_0x441e35(0x482)+_0x441e35(0x5db)+'y'](_0x26733d,_0x1f9933){const _0x3d72c4={_0x5d5b57:0x88f,_0x5597af:0x921,_0x580c72:0x4f3},_0x37896e=_0x441e35,_0x4e21db={'fXnpi':_0x37896e(0x93a)+'ed\x20se'+_0x37896e(_0x3d72c4._0x5d5b57)+_0x37896e(_0x3d72c4._0x5597af)},_0x3d4091=_0x26733d+':'+_0x1f9933;return u[_0x37896e(0x2d7)](_0x4e21db[_0x37896e(_0x3d72c4._0x580c72)],{'schemaName':_0x26733d,'tableName':_0x1f9933,'key':_0x3d4091}),_0x3d4091;}[_0x441e35(0x1d4)+_0x441e35(0x2b4)+_0x441e35(0x88f)+'Confi'+'g'](_0x2a0c72){const _0x3b52fc={_0x27c5c4:0x495,_0x1de0ec:0x68f,_0x161d52:0x3ed,_0x2c4b72:0x850,_0x46a05f:0x5b7,_0x39def4:0x5cc,_0x437580:0x549,_0x228347:0x691,_0x1af876:0xc86,_0x2a586d:0x5d0,_0x563368:0x828,_0x29e431:0x2df,_0x40ee11:0x75a,_0x3fa992:0x88f,_0x32e4d5:0x9fb,_0x226dff:0x477,_0x20a032:0x82b,_0x14ad26:0xbbd,_0x181c4d:0x6e2,_0x521550:0x503,_0xc21f4c:0x578,_0x2a4f77:0xbf2,_0x3e93a5:0x1d4,_0x110ecb:0x3b7,_0x4df3fd:0x3ed},_0x3f7ad6=_0x441e35,_0x133251={'BGkIm':'Valid'+_0x3f7ad6(0x7f5)+'\x20serv'+'ice\x20c'+'onfig','nAiiY':function(_0x11affa,_0x2ef13a){return _0x11affa===_0x2ef13a;}};var _0x497ff8,_0x56ce4e;if(u['trace'](_0x133251['BGkIm'],{'schemaName':_0x2a0c72[_0x3f7ad6(_0x3b52fc._0x27c5c4)+_0x3f7ad6(0x3ed)],'tableName':_0x2a0c72[_0x3f7ad6(0x828)+'Name']}),!(!(_0x133251[_0x3f7ad6(_0x3b52fc._0x1de0ec)](_0x497ff8=_0x2a0c72[_0x3f7ad6(0x495)+_0x3f7ad6(_0x3b52fc._0x161d52)],null)||_0x497ff8===void(-0xe*0xa3+-0x90f*0x1+0x1*0x11f9))&&_0x497ff8['trim']()))throw u[_0x3f7ad6(_0x3b52fc._0x2c4b72)](_0x3f7ad6(0x610)+_0x3f7ad6(0x75a)+_0x3f7ad6(0x88f)+_0x3f7ad6(0x9fb)+_0x3f7ad6(_0x3b52fc._0x46a05f)+'chema'+_0x3f7ad6(0x477)+'\x20miss'+_0x3f7ad6(_0x3b52fc._0x39def4),{'config':_0x2a0c72}),new Error('Schem'+_0x3f7ad6(_0x3b52fc._0x437580)+_0x3f7ad6(0x95d)+'requi'+_0x3f7ad6(0x3e0)+_0x3f7ad6(_0x3b52fc._0x228347)+_0x3f7ad6(_0x3b52fc._0x1af876)+'be\x20em'+_0x3f7ad6(_0x3b52fc._0x2a586d));if(!(!((_0x56ce4e=_0x2a0c72[_0x3f7ad6(_0x3b52fc._0x563368)+_0x3f7ad6(0x3a7)])===null||_0x133251[_0x3f7ad6(0x68f)](_0x56ce4e,void(-0x904*0x2+0xb04+0x704)))&&_0x56ce4e[_0x3f7ad6(_0x3b52fc._0x29e431)]()))throw u[_0x3f7ad6(_0x3b52fc._0x2c4b72)]('Inval'+_0x3f7ad6(_0x3b52fc._0x40ee11)+_0x3f7ad6(_0x3b52fc._0x3fa992)+_0x3f7ad6(_0x3b52fc._0x32e4d5)+'ig:\x20t'+_0x3f7ad6(0x30b)+'name\x20'+'missi'+'ng',{'config':_0x2a0c72}),new Error(_0x3f7ad6(0x9dc)+_0x3f7ad6(_0x3b52fc._0x226dff)+_0x3f7ad6(_0x3b52fc._0x20a032)+_0x3f7ad6(0xac8)+'ed\x20an'+_0x3f7ad6(_0x3b52fc._0x14ad26)+_0x3f7ad6(_0x3b52fc._0x181c4d)+_0x3f7ad6(_0x3b52fc._0x521550)+'ty');u[_0x3f7ad6(0x2d7)](_0x3f7ad6(_0x3b52fc._0xc21f4c)+_0x3f7ad6(0x680)+_0x3f7ad6(_0x3b52fc._0x2a4f77)+_0x3f7ad6(_0x3b52fc._0x3e93a5)+_0x3f7ad6(0x1da)+_0x3f7ad6(_0x3b52fc._0x110ecb)+'ed',{'schemaName':_0x2a0c72['schem'+_0x3f7ad6(_0x3b52fc._0x4df3fd)],'tableName':_0x2a0c72[_0x3f7ad6(0x828)+'Name']});}[_0x441e35(0x9ce)+_0x441e35(0x352)+_0x441e35(0x88f)](_0x38f95b){const _0x5cffb8={_0x32ad3f:0x260,_0x2d8a54:0x41e,_0x4171f5:0x3ed,_0x35dfb5:0x3a7,_0x53c27d:0x637,_0x342923:0x3f2,_0x4fb4c2:0x2b4,_0x2f37c7:0x88f,_0xd89d1b:0x5db,_0x24ceae:0x2df,_0xfffc33:0x3a7,_0x3c6e73:0xae6,_0x1e617f:0x241,_0x428884:0x8fc,_0x2c04e2:0x6af,_0xea9b8e:0xa1d,_0x4aed12:0x631,_0x562dd2:0x578,_0x2f64d4:0xc8a},_0x55e84e=_0x441e35,_0x5c327e={'kdpgd':_0x55e84e(0x4a4)+'terin'+_0x55e84e(_0x5cffb8._0x32ad3f)+_0x55e84e(0x251),'KUoOh':_0x55e84e(0x578)+_0x55e84e(0x680)+_0x55e84e(0x8eb)+'ratio'+'n\x20upd'+_0x55e84e(_0x5cffb8._0x2d8a54)};u['debug'](_0x5c327e['kdpgd'],{'schemaName':_0x38f95b[_0x55e84e(0x495)+_0x55e84e(_0x5cffb8._0x4171f5)],'tableName':_0x38f95b[_0x55e84e(0x828)+_0x55e84e(_0x5cffb8._0x35dfb5)],'primaryKeyFields':_0x38f95b[_0x55e84e(0xae6)+'ryKey'+_0x55e84e(_0x5cffb8._0x53c27d)+'s'],'hasCustomServiceClass':!!_0x38f95b[_0x55e84e(_0x5cffb8._0x342923)+_0x55e84e(0x241)+'ss']}),this[_0x55e84e(0x1d4)+_0x55e84e(_0x5cffb8._0x4fb4c2)+_0x55e84e(_0x5cffb8._0x2f37c7)+'Confi'+'g'](_0x38f95b);const _0x4a870e=this[_0x55e84e(0xbf5)+'eServ'+_0x55e84e(_0x5cffb8._0xd89d1b)+'y'](_0x38f95b[_0x55e84e(0x495)+_0x55e84e(_0x5cffb8._0x4171f5)],_0x38f95b['table'+_0x55e84e(0x3a7)]),_0x99d140={'schemaName':_0x38f95b['schem'+'aName'][_0x55e84e(_0x5cffb8._0x24ceae)](),'tableName':_0x38f95b[_0x55e84e(0x828)+_0x55e84e(_0x5cffb8._0xfffc33)][_0x55e84e(0x2df)](),'primaryKeyFields':_0x38f95b[_0x55e84e(_0x5cffb8._0x3c6e73)+_0x55e84e(0xb28)+_0x55e84e(0x637)+'s']||['id'],'serviceClass':_0x38f95b[_0x55e84e(0x3f2)+_0x55e84e(_0x5cffb8._0x1e617f)+'ss']||L},_0x42b576=this[_0x55e84e(0x3f2)+_0x55e84e(0xa1d)+_0x55e84e(_0x5cffb8._0x428884)][_0x55e84e(_0x5cffb8._0x2c04e2)](_0x4a870e);return this[_0x55e84e(0x3f2)+_0x55e84e(_0x5cffb8._0xea9b8e)+_0x55e84e(_0x5cffb8._0x428884)][_0x55e84e(0xcd1)](_0x4a870e,_0x99d140),_0x42b576?u[_0x55e84e(0x5cb)](_0x5c327e[_0x55e84e(_0x5cffb8._0x4aed12)],{'serviceKey':_0x4a870e}):u['info'](_0x55e84e(_0x5cffb8._0x562dd2)+_0x55e84e(0x3a2)+'giste'+'red\x20s'+_0x55e84e(_0x5cffb8._0x2f64d4)+_0x55e84e(0xcc9)+'y',{'serviceKey':_0x4a870e}),this;}['regis'+_0x441e35(0x352)+_0x441e35(0x88f)+'s'](_0x2b221f){const _0x550285={_0x53cf5a:0xa05,_0x2d7628:0xc77,_0x39457c:0xc27,_0xa0a790:0xcc9,_0x590d88:0x537,_0x38c110:0xc26,_0x53024a:0x8de,_0x5aef5b:0x5cb,_0x46c836:0x1e6,_0x3290f6:0x4b2},_0x471d24={_0x4f2752:0xaec,_0x2bc44d:0xc77,_0x3d4bb6:0x6d8},_0x4e79ca=_0x441e35,_0x11835e={'rcQLe':'Multi'+_0x4e79ca(_0x550285._0x53cf5a)+_0x4e79ca(_0x550285._0x2d7628)+_0x4e79ca(0x8a2)+_0x4e79ca(_0x550285._0x39457c)+_0x4e79ca(0x2a2)+'ucces'+_0x4e79ca(_0x550285._0xa0a790)+'y'};return u[_0x4e79ca(0x64d)](_0x4e79ca(0x4a4)+_0x4e79ca(_0x550285._0x590d88)+_0x4e79ca(0x573)+_0x4e79ca(_0x550285._0x38c110)+_0x4e79ca(0x4b3)+_0x4e79ca(_0x550285._0x53024a),{'count':_0x2b221f[_0x4e79ca(0x4b2)+'h']}),_0x2b221f[_0x4e79ca(0x304)+'ch']((_0xbcada0,_0x2164a3)=>{const _0x27facc=_0x4e79ca;try{this[_0x27facc(0x9ce)+_0x27facc(0x352)+'rvice'](_0xbcada0);}catch(_0xb78507){throw u[_0x27facc(0x850)](_0x27facc(0xabb)+_0x27facc(0x83d)+'regis'+_0x27facc(_0x471d24._0x4f2752)+_0x27facc(_0x471d24._0x2bc44d)+_0x27facc(0x3c9)+_0x27facc(0x6c4),{'index':_0x2164a3,'config':_0xbcada0,'error':_0xb78507[_0x27facc(_0x471d24._0x3d4bb6)+'ge']}),_0xb78507;}}),u[_0x4e79ca(_0x550285._0x5aef5b)](_0x11835e[_0x4e79ca(_0x550285._0x46c836)],{'count':_0x2b221f[_0x4e79ca(_0x550285._0x3290f6)+'h']}),this;}async[_0x441e35(0xbf5)+_0x441e35(0x482)+'iceIn'+_0x441e35(0x344)+'e'](_0x145013){const _0x55645c={_0x19b148:0x578,_0x23d861:0x241,_0x2a58b6:0x529,_0x465d3a:0x42a,_0x422fef:0x6bd,_0x241fc:0x41e,_0x29c513:0x634,_0x2b7152:0xabe,_0x583a0f:0xa84,_0x3a777e:0x46f,_0x14ae6b:0x884,_0x47d129:0x83c,_0xa304c2:0x495,_0x4452e0:0x828,_0x4e3b8a:0x3a7,_0x29a63f:0x47c,_0x312f64:0x3f2,_0x440e78:0x241,_0x3fdef2:0x5de,_0x22e71c:0x529,_0x4c72ee:0x766,_0x35e900:0x3ed,_0x17cc53:0x828,_0x5bd5d1:0x73f,_0x5a4505:0x47c,_0x54c453:0x306,_0x2480a7:0x63e,_0x52d674:0x3c2,_0x14a4ee:0xb56,_0x540896:0x4b0,_0x453a86:0xae6,_0x53e944:0x637,_0x18841d:0x2d7,_0x38c3fd:0xa63,_0x5f4694:0x85c,_0x495619:0xb28,_0x2e1517:0x34b,_0x3d1952:0x637,_0xac27c8:0x1f6},_0x32fa28=_0x441e35,_0x5bfd2d={'ieVSo':function(_0x3f0847,_0x1e8e9b){return _0x3f0847===_0x1e8e9b;},'ZNIFJ':_0x32fa28(_0x55645c._0x19b148)+_0x32fa28(_0x55645c._0x23d861)+'ss\x20is'+_0x32fa28(_0x55645c._0x2a58b6)+'fined','NRrEF':_0x32fa28(_0x55645c._0x465d3a)+'\x20to\x20i'+_0x32fa28(_0x55645c._0x422fef)+_0x32fa28(0xc81)+'\x20serv'+'ice','nNNkJ':_0x32fa28(_0x55645c._0x19b148)+'ce\x20in'+_0x32fa28(0x344)+'e\x20cre'+_0x32fa28(_0x55645c._0x241fc),'jmpLN':function(_0x24ca1c,_0x8e62c3){return _0x24ca1c==_0x8e62c3;},'JqIFj':_0x32fa28(0x9fd)+_0x32fa28(0xa50),'DHsZV':'Servi'+_0x32fa28(_0x55645c._0x29c513)+_0x32fa28(0x344)+_0x32fa28(_0x55645c._0x2b7152)+_0x32fa28(0xab1)+_0x32fa28(_0x55645c._0x583a0f)+_0x32fa28(_0x55645c._0x3a777e)+'ly'};var _0x2f2d00;u['debug'](_0x32fa28(0x93a)+_0x32fa28(_0x55645c._0x14ae6b)+_0x32fa28(0xc77)+_0x32fa28(_0x55645c._0x47d129)+_0x32fa28(0xb54),{'schemaName':_0x145013[_0x32fa28(_0x55645c._0xa304c2)+_0x32fa28(0x3ed)],'tableName':_0x145013[_0x32fa28(_0x55645c._0x4452e0)+_0x32fa28(_0x55645c._0x4e3b8a)],'serviceClassName':(_0x5bfd2d['ieVSo'](_0x2f2d00=_0x145013['servi'+_0x32fa28(_0x55645c._0x23d861)+'ss'],null)||_0x5bfd2d['ieVSo'](_0x2f2d00,void(-0x1*0x1619+-0x13a6+0x1*0x29bf))?void(-0x975*-0x1+-0x3*0x91+-0x7c2):_0x2f2d00[_0x32fa28(_0x55645c._0x29a63f)])||'Defau'+_0x32fa28(0x25d)+_0x32fa28(0x251),'serviceClass':_0x145013['servi'+_0x32fa28(0x241)+'ss'],'isDefaultService':_0x145013['servi'+_0x32fa28(0x241)+'ss']===L});const _0x58372e=_0x145013[_0x32fa28(_0x55645c._0x312f64)+_0x32fa28(_0x55645c._0x440e78)+'ss']||L;if(!_0x58372e)throw u[_0x32fa28(0x850)](_0x5bfd2d['ZNIFJ'],{'config':_0x145013}),new Error('Servi'+_0x32fa28(0x241)+_0x32fa28(_0x55645c._0x3fdef2)+_0x32fa28(_0x55645c._0x22e71c)+_0x32fa28(_0x55645c._0x4c72ee));u['debug'](_0x5bfd2d['NRrEF'],{'ServiceClassConstructor':_0x58372e,'ServiceClassName':_0x58372e['name']});const _0x1c5d56=new _0x58372e(_0x145013[_0x32fa28(0x495)+_0x32fa28(_0x55645c._0x35e900)],_0x145013[_0x32fa28(_0x55645c._0x17cc53)+_0x32fa28(0x3a7)]);return u['debug'](_0x5bfd2d[_0x32fa28(0x29e)],{'serviceConstructor':_0x1c5d56[_0x32fa28(_0x55645c._0x5bd5d1)+_0x32fa28(0x63e)+'r'][_0x32fa28(_0x55645c._0x5a4505)],'servicePrototype':Object[_0x32fa28(0x49b)+_0x32fa28(0x27b)+_0x32fa28(_0x55645c._0x54c453)](_0x1c5d56)['const'+_0x32fa28(_0x55645c._0x2480a7)+'r']['name'],'hasFindByStoreId':_0x5bfd2d[_0x32fa28(0x45e)](typeof _0x1c5d56[_0x32fa28(_0x55645c._0x52d674)+_0x32fa28(0xbdb)+_0x32fa28(_0x55645c._0x14a4ee)],_0x5bfd2d[_0x32fa28(_0x55645c._0x540896)])}),_0x145013[_0x32fa28(_0x55645c._0x453a86)+'ryKey'+_0x32fa28(_0x55645c._0x53e944)+'s']&&(u[_0x32fa28(_0x55645c._0x18841d)](_0x32fa28(_0x55645c._0x38c3fd)+_0x32fa28(0xc24)+_0x32fa28(_0x55645c._0x5f4694)+_0x32fa28(0x673)+'field'+'s',{'schemaName':_0x145013[_0x32fa28(0x495)+'aName'],'tableName':_0x145013['table'+_0x32fa28(0x3a7)],'primaryKeyFields':_0x145013['prima'+_0x32fa28(_0x55645c._0x495619)+_0x32fa28(_0x55645c._0x53e944)+'s']}),_0x1c5d56[_0x32fa28(0x373)+_0x32fa28(0x85c)+_0x32fa28(_0x55645c._0x2e1517)+_0x32fa28(0x763)](_0x145013['prima'+'ryKey'+_0x32fa28(_0x55645c._0x3d1952)+'s'])),u[_0x32fa28(0x5cb)](_0x5bfd2d[_0x32fa28(_0x55645c._0xac27c8)],{'schemaName':_0x145013[_0x32fa28(_0x55645c._0xa304c2)+_0x32fa28(_0x55645c._0x35e900)],'tableName':_0x145013['table'+'Name']}),_0x1c5d56;}async['getSe'+'rvice'](_0x1314f8,_0x20f611){const _0x430c25={_0x270f06:0x84c,_0x407332:0x521,_0xa966db:0xabb,_0x49ab47:0xbf5,_0x4d08c8:0x7de,_0x6f4982:0x898,_0x196668:0x347,_0x1ef2a4:0x54c,_0xe827e:0xc77,_0x2f756d:0x8c0,_0x271e30:0x898,_0x81c849:0x482,_0x39e5ff:0x64d,_0xc8a98d:0x3f2,_0x47a5e2:0x6c8,_0x46fe2f:0x456,_0x5c9f01:0x6af,_0x3e68ee:0x32b,_0x21c2fa:0xa1d,_0x4a12c2:0x8fc,_0x44ec31:0xa26,_0x490f4b:0xbad,_0x3eb245:0x9ce,_0x77aa33:0x4b3,_0x33c581:0x3f2,_0x291eb9:0xcd1,_0xae0b23:0x344,_0x1956f0:0x410,_0x5b9020:0xc9c,_0x133ec4:0x27c,_0xd68734:0x5cb,_0x4b323c:0x370,_0x3c1d8e:0x6fe,_0x2e13a5:0xb12},_0x446f55=_0x441e35,_0x416325={'RZpYJ':_0x446f55(_0x430c25._0x270f06)+_0x446f55(0x24c)+'rvice'+'\x20acce'+_0x446f55(_0x430c25._0x407332)+'me','DEfpt':'Retur'+_0x446f55(0xa09)+'exist'+_0x446f55(0x884)+_0x446f55(0xc77)+'e','KOnbA':_0x446f55(_0x430c25._0xa966db)+_0x446f55(0x83d)+_0x446f55(_0x430c25._0x49ab47)+_0x446f55(0xb33)+_0x446f55(0x251)};if(this['isShu'+_0x446f55(0x9ea)+'Down'])throw u[_0x446f55(0x850)]('Servi'+'ceMan'+_0x446f55(_0x430c25._0x4d08c8)+_0x446f55(0x8c0)+_0x446f55(_0x430c25._0x6f4982)+_0x446f55(_0x430c25._0x196668)+_0x446f55(_0x430c25._0x1ef2a4)+'nnot\x20'+_0x446f55(0xaab)+_0x446f55(_0x430c25._0xe827e)+'e',{'schemaName':_0x1314f8,'tableName':_0x20f611}),new Error('Servi'+'ceMan'+'ager\x20'+_0x446f55(_0x430c25._0x2f756d)+_0x446f55(_0x430c25._0x271e30)+_0x446f55(0x347)+'n');const _0x694d03=this[_0x446f55(0xbf5)+_0x446f55(_0x430c25._0x81c849)+'iceKe'+'y'](_0x1314f8,_0x20f611);u[_0x446f55(_0x430c25._0x39e5ff)]('Getti'+_0x446f55(0x438)+'rvice',{'serviceKey':_0x694d03});const _0x216851=this[_0x446f55(_0x430c25._0xc8a98d)+'ceMet'+_0x446f55(_0x430c25._0x47a5e2)]['get'](_0x694d03);if(_0x216851&&(_0x216851['lastA'+_0x446f55(0x583)+'ed']=new Date()[_0x446f55(_0x430c25._0x46fe2f)+_0x446f55(0xc9c)+'g'](),u[_0x446f55(0x2d7)](_0x416325[_0x446f55(0x3fe)],{'serviceKey':_0x694d03})),this['servi'+_0x446f55(0x32b)][_0x446f55(_0x430c25._0x5c9f01)](_0x694d03))return u[_0x446f55(0x2d7)](_0x416325[_0x446f55(0x54e)],{'serviceKey':_0x694d03}),this[_0x446f55(0x3f2)+_0x446f55(_0x430c25._0x3e68ee)][_0x446f55(0xc0c)](_0x694d03);let _0x71e504=this[_0x446f55(0x3f2)+_0x446f55(_0x430c25._0x21c2fa)+_0x446f55(_0x430c25._0x4a12c2)][_0x446f55(0xc0c)](_0x694d03);_0x71e504||(u[_0x446f55(0x64d)](_0x446f55(0x93a)+_0x446f55(0xa64)+_0x446f55(0xa37)+'t\x20con'+_0x446f55(_0x430c25._0x44ec31)+_0x446f55(_0x430c25._0x490f4b)+_0x446f55(_0x430c25._0x3eb245)+_0x446f55(0x6b7)+_0x446f55(_0x430c25._0x77aa33)+_0x446f55(0x7f6),{'serviceKey':_0x694d03}),_0x71e504={'schemaName':_0x1314f8,'tableName':_0x20f611,'primaryKeyFields':['id'],'serviceClass':L},this[_0x446f55(_0x430c25._0x33c581)+'ceCon'+'figs'][_0x446f55(_0x430c25._0x291eb9)](_0x694d03,_0x71e504));try{const _0x372f9c=await this[_0x446f55(0xbf5)+_0x446f55(_0x430c25._0x81c849)+_0x446f55(0x892)+_0x446f55(_0x430c25._0xae0b23)+'e'](_0x71e504);return this[_0x446f55(0x3f2)+_0x446f55(0x32b)]['set'](_0x694d03,_0x372f9c),this[_0x446f55(_0x430c25._0x33c581)+_0x446f55(_0x430c25._0x1956f0)+_0x446f55(0x6c8)]['set'](_0x694d03,{'createdAt':new Date()[_0x446f55(0x456)+_0x446f55(0xc9c)+'g'](),'lastAccessed':new Date()[_0x446f55(_0x430c25._0x46fe2f)+_0x446f55(_0x430c25._0x5b9020)+'g']()}),this['emit'](_0x446f55(_0x430c25._0x133ec4)+_0x446f55(0xa55)+_0x446f55(0xbb2),{'serviceKey':_0x694d03,'schemaName':_0x1314f8,'tableName':_0x20f611}),u[_0x446f55(_0x430c25._0xd68734)]('Servi'+_0x446f55(_0x430c25._0x4b323c)+'eated'+_0x446f55(_0x430c25._0x3c1d8e)+_0x446f55(0x8ce)+_0x446f55(0x39d)+_0x446f55(0xc2c)+_0x446f55(0x2a9),{'serviceKey':_0x694d03}),_0x372f9c;}catch(_0x9b96a4){throw u['error'](_0x416325[_0x446f55(0xa06)],{'serviceKey':_0x694d03,'error':_0x9b96a4[_0x446f55(0x6d8)+'ge']}),this[_0x446f55(_0x430c25._0x2e13a5)](_0x446f55(_0x430c25._0x133ec4)+_0x446f55(0x62e)+'ROR',{'serviceKey':_0x694d03,'schemaName':_0x1314f8,'tableName':_0x20f611,'error':_0x9b96a4}),_0x9b96a4;}}[_0x441e35(0x5e4)+_0x441e35(0xaf9)+_0x441e35(0xacc)+'ice'](_0xd6d322,_0x1b1448){const _0x36d735={_0x3b5d9f:0x77e,_0x599011:0xaf9,_0x30e20c:0x251,_0x2b6ce0:0x482,_0x44bd46:0x893,_0x42f0ae:0xc0c,_0x4af871:0x2d7},_0x3ecdae=_0x441e35,_0x1ed034={'qxjDJ':_0x3ecdae(_0x36d735._0x3b5d9f)+_0x3ecdae(0x885)+_0x3ecdae(_0x36d735._0x599011)+'g\x20ser'+_0x3ecdae(_0x36d735._0x30e20c),'YEcht':_0x3ecdae(0xaac)+_0x3ecdae(0x884)+'ervic'+'e\x20not'+'\x20foun'+'d'},_0x16c53d=this[_0x3ecdae(0xbf5)+_0x3ecdae(_0x36d735._0x2b6ce0)+'iceKe'+'y'](_0xd6d322,_0x1b1448);u['trace'](_0x1ed034[_0x3ecdae(_0x36d735._0x44bd46)],{'serviceKey':_0x16c53d});const _0x362b27=this[_0x3ecdae(0x3f2)+_0x3ecdae(0x32b)][_0x3ecdae(_0x36d735._0x42f0ae)](_0x16c53d)||null;return _0x362b27?u['trace'](_0x3ecdae(0xaac)+_0x3ecdae(0x884)+_0x3ecdae(0xc77)+'e\x20fou'+'nd',{'serviceKey':_0x16c53d}):u[_0x3ecdae(_0x36d735._0x4af871)](_0x1ed034['YEcht'],{'serviceKey':_0x16c53d}),_0x362b27;}async['initi'+'alize'+_0x441e35(0x578)+'ce'](_0x3d0a7f,_0x49432e){const _0x538c2c={_0x11792e:0x941,_0x461011:0x824,_0x2cf5d3:0xbb6,_0x5d6435:0x482,_0x5a7d4b:0x5db,_0x2c2fdc:0x64d,_0x23af6f:0x8c8,_0x33127c:0x578,_0x1fac7e:0x634,_0x4be65d:0x561,_0x18517d:0x46f,_0x3eeeb2:0x850},_0x29aa3b=_0x441e35,_0x4f2623={'ESBQu':_0x29aa3b(_0x538c2c._0x11792e)+_0x29aa3b(_0x538c2c._0x461011)+_0x29aa3b(0x438)+'rvice','TfAoO':function(_0x1ae70a,_0x2ae02a){return _0x1ae70a!==_0x2ae02a;},'GRgUw':'iPIgf','wiWGQ':_0x29aa3b(0xabb)+_0x29aa3b(0x83d)+_0x29aa3b(_0x538c2c._0x2cf5d3)+_0x29aa3b(0x53d)+_0x29aa3b(0x4b3)+_0x29aa3b(0x7f6)},_0x372908=this[_0x29aa3b(0xbf5)+_0x29aa3b(_0x538c2c._0x5d6435)+_0x29aa3b(_0x538c2c._0x5a7d4b)+'y'](_0x3d0a7f,_0x49432e);u[_0x29aa3b(_0x538c2c._0x2c2fdc)](_0x4f2623[_0x29aa3b(0xc09)],{'serviceKey':_0x372908});try{if(_0x4f2623[_0x29aa3b(0x4d8)](_0x4f2623[_0x29aa3b(0x208)],_0x29aa3b(0x3de))){const _0x11646e=await this[_0x29aa3b(0x4f0)+_0x29aa3b(0x88f)](_0x3d0a7f,_0x49432e);return await _0x11646e[_0x29aa3b(_0x538c2c._0x23af6f)](),u[_0x29aa3b(0x5cb)](_0x29aa3b(_0x538c2c._0x33127c)+_0x29aa3b(_0x538c2c._0x1fac7e)+_0x29aa3b(_0x538c2c._0x4be65d)+_0x29aa3b(0xa9d)+_0x29aa3b(0xa84)+_0x29aa3b(_0x538c2c._0x18517d)+'ly',{'serviceKey':_0x372908}),_0x11646e;}else _0x3809c1(_0x4ecde8);}catch(_0x15e8a8){throw u[_0x29aa3b(_0x538c2c._0x3eeeb2)](_0x4f2623['wiWGQ'],{'serviceKey':_0x372908,'error':_0x15e8a8['messa'+'ge']}),_0x15e8a8;}}async[_0x441e35(0x582)+'oySer'+'vice'](_0x2b8916,_0x2f1b1a){const _0x24e5bf={_0x2a1664:0xbc4,_0x204c4f:0x583,_0x2e55e0:0x83e,_0x1e1f68:0x84a,_0x24963f:0x349,_0x4d430d:0x7b2,_0x31e0ac:0xadb,_0x35a11a:0x38f,_0x522797:0x54b,_0x1a18bc:0xa0d,_0x5ae611:0x7f1,_0x33180e:0x836,_0x461d47:0x850,_0x26e42f:0x83d,_0x268651:0x88f,_0x53d778:0x27c},_0xf50062=_0x441e35,_0x54b048={'kITEj':function(_0xb4cc6d,_0x388c06){return _0xb4cc6d===_0x388c06;},'bUqki':_0xf50062(0x89a),'NAVwY':_0xf50062(0x99e),'bRPdY':_0xf50062(0x27c)+'CE_DE'+_0xf50062(_0x24e5bf._0x2a1664)+'ED','jKBHX':'Servi'+_0xf50062(0x2c0)+_0xf50062(0x27a)+_0xf50062(0x895)+_0xf50062(_0x24e5bf._0x204c4f)+_0xf50062(_0x24e5bf._0x2e55e0)},_0x53bdfb=this[_0xf50062(0xbf5)+_0xf50062(0x482)+_0xf50062(0x5db)+'y'](_0x2b8916,_0x2f1b1a);u['debug'](_0xf50062(0x591)+_0xf50062(0x9a9)+'\x20serv'+_0xf50062(0x7f6),{'serviceKey':_0x53bdfb});const _0xad65a2=this['servi'+'ces'][_0xf50062(0xc0c)](_0x53bdfb);if(!_0xad65a2)return u[_0xf50062(0xc45)](_0xf50062(0x578)+_0xf50062(_0x24e5bf._0x1e1f68)+_0xf50062(_0x24e5bf._0x24963f)+'nd\x20fo'+'r\x20des'+'truct'+_0xf50062(0xa50),{'serviceKey':_0x53bdfb}),!(0xbf7+0x280+-0xe76);try{return _0x54b048[_0xf50062(0x34d)](_0x54b048[_0xf50062(_0x24e5bf._0x4d430d)],_0x54b048[_0xf50062(_0x24e5bf._0x31e0ac)])?(_0x6bdd49['debug'](_0xf50062(_0x24e5bf._0x35a11a)+_0xf50062(_0x24e5bf._0x522797)+_0xf50062(_0x24e5bf._0x1a18bc)+_0xf50062(0x9f0)+_0xf50062(0x21d)+_0xf50062(0x1f8)+'etect'+'ed',_0x3229ca),!(0x14df+-0xd96+-0x748)):(await _0xad65a2[_0xf50062(0xac1)](),_0xad65a2[_0xf50062(0x582)+'oy'](),this['servi'+_0xf50062(0x32b)][_0xf50062(_0x24e5bf._0x5ae611)+'e'](_0x53bdfb),this[_0xf50062(0x3f2)+'ceMet'+_0xf50062(0x6c8)][_0xf50062(_0x24e5bf._0x5ae611)+'e'](_0x53bdfb),this[_0xf50062(0xb12)](_0x54b048['bRPdY'],{'serviceKey':_0x53bdfb,'schemaName':_0x2b8916,'tableName':_0x2f1b1a}),u[_0xf50062(0x5cb)](_0x54b048[_0xf50062(_0x24e5bf._0x33180e)],{'serviceKey':_0x53bdfb}),!(0x2*0x8b6+-0x2*0x621+0x295*-0x2));}catch(_0x54f7ff){return u[_0xf50062(_0x24e5bf._0x461d47)](_0xf50062(0xabb)+_0xf50062(_0x24e5bf._0x26e42f)+'destr'+_0xf50062(0xc49)+_0xf50062(_0x24e5bf._0x268651),{'serviceKey':_0x53bdfb,'error':_0x54f7ff[_0xf50062(0x6d8)+'ge']}),this['emit'](_0xf50062(_0x24e5bf._0x53d778)+'CE_ER'+'ROR',{'serviceKey':_0x53bdfb,'schemaName':_0x2b8916,'tableName':_0x2f1b1a,'error':_0x54f7ff}),!(-0x1d*-0x5b+0x2550+0x35*-0xe6);}}[_0x441e35(0x4f0)+_0x441e35(0x88f)+_0x441e35(0x2a1)+_0x441e35(0x915)](_0x9936a3){const _0x19fc07={_0x4fdc58:0x77e,_0x4ad808:0x495,_0x2e8a40:0x2d7,_0x2c9e46:0x3f2,_0x44c08e:0x32b,_0xd7ce20:0xcd6,_0x414d6e:0xb65,_0x2f0301:0x5bd},_0x404b03=_0x441e35,_0x59f279={'QneDs':_0x404b03(_0x19fc07._0x4fdc58)+_0x404b03(0x438)+'rvice'+_0x404b03(0x7b7)+_0x404b03(_0x19fc07._0x4ad808)+'a'};u[_0x404b03(_0x19fc07._0x2e8a40)](_0x59f279['QneDs'],{'schemaName':_0x9936a3});const _0x1195f8=[];for(const [_0x4ac6e5,_0x1d3d2c]of this[_0x404b03(_0x19fc07._0x2c9e46)+_0x404b03(_0x19fc07._0x44c08e)]){const [_0x4fbcb0]=_0x4ac6e5['split'](':');_0x4fbcb0===_0x9936a3&&_0x1195f8[_0x404b03(0x7d7)](_0x1d3d2c);}return u[_0x404b03(0x64d)](_0x404b03(0x85a)+_0x404b03(0x4b3)+_0x404b03(_0x19fc07._0xd7ce20)+_0x404b03(_0x19fc07._0x414d6e)+_0x404b03(_0x19fc07._0x2f0301),{'schemaName':_0x9936a3,'count':_0x1195f8[_0x404b03(0x4b2)+'h']}),_0x1195f8;}['getSe'+'rvice'+_0x441e35(0x2f4)+'ySche'+'ma'](_0x2f38d3){const _0x427df9={_0x3a8397:0x740,_0xe93eec:0x450,_0x424266:0x326,_0x3066cc:0x438,_0x207b20:0x88f,_0x53fd58:0xa9f,_0x13aee8:0x91e,_0xea81c2:0x54f,_0x5a2fd5:0x9db,_0x47a3c5:0xc29,_0x5252ac:0xc29,_0x3a621a:0x2f9,_0x34e8df:0x600,_0x45c275:0xcdd},_0x430211=_0x441e35,_0x1e3668={'eonIh':'CSV\x20i'+_0x430211(_0x427df9._0x3a8397)+'\x20fail'+_0x430211(_0x427df9._0xe93eec)+_0x430211(0x8d8)+'\x20data','qThMi':function(_0x2d3ba9,_0x1d42c3){return _0x2d3ba9!==_0x1d42c3;},'nIwZU':function(_0x2920eb,_0x2ebbc2){return _0x2920eb===_0x2ebbc2;},'vsnBe':'Found'+_0x430211(0x4b3)+'ice\x20k'+_0x430211(_0x427df9._0x424266)+_0x430211(0x728)+_0x430211(0x915)};u[_0x430211(0x2d7)](_0x430211(0x77e)+_0x430211(_0x427df9._0x3066cc)+_0x430211(_0x427df9._0x207b20)+_0x430211(_0x427df9._0x53fd58)+_0x430211(_0x427df9._0x13aee8)+_0x430211(0x5bd),{'schemaName':_0x2f38d3});const _0x33142c=[];for(const _0xe37b24 of this[_0x430211(0x3f2)+_0x430211(0x32b)][_0x430211(_0x427df9._0xea81c2)]()){if(_0x1e3668[_0x430211(_0x427df9._0x5a2fd5)](_0x430211(_0x427df9._0x47a3c5),_0x430211(_0x427df9._0x5252ac))){const _0x4a7278=new _0x239127('CSV\x20d'+_0x430211(0xa74)+'s\x20emp'+'ty');throw _0x235567[_0x430211(0x850)](_0x1e3668[_0x430211(_0x427df9._0x3a621a)]),_0x4a7278;}else{const [_0x3c4697]=_0xe37b24[_0x430211(_0x427df9._0x34e8df)](':');_0x1e3668[_0x430211(0x5a6)](_0x3c4697,_0x2f38d3)&&_0x33142c[_0x430211(0x7d7)](_0xe37b24);}}return u[_0x430211(0x64d)](_0x1e3668[_0x430211(_0x427df9._0x45c275)],{'schemaName':_0x2f38d3,'keys':_0x33142c}),_0x33142c;}async[_0x441e35(0x582)+_0x441e35(0x21f)+_0x441e35(0x1e2)+_0x441e35(0x32f)+_0x441e35(0xc42)](_0x18a8fe){const _0x34397f={_0x45eeea:0x88f,_0x1cb7cf:0x2f4,_0x2d7f39:0x64d,_0x5aaf5b:0x9a9,_0x43a25a:0x4b3,_0x97ca96:0x7b1,_0xe88305:0xc51,_0x5036ec:0x88f,_0x2e9409:0x9a2,_0x490fdd:0xcc8,_0x575a88:0x728,_0x59a3fd:0x269,_0x56f099:0xcc8,_0x50554e:0x8d0},_0x10c00d={_0x2b2950:0x251,_0x83405b:0x66e,_0xa389f3:0x9aa,_0x2f33fd:0x6d8},_0x592e36=_0x441e35,_0x3be724={'rOUDX':'Servi'+_0x592e36(0x2c0)+'stroy'+'\x20resu'+'lt','IFlpB':function(_0x4ad246,_0xb7205c){return _0x4ad246===_0xb7205c;}},_0x2ec878=this[_0x592e36(0x4f0)+_0x592e36(_0x34397f._0x45eeea)+_0x592e36(_0x34397f._0x1cb7cf)+_0x592e36(0x530)+'ma'](_0x18a8fe);if(u[_0x592e36(_0x34397f._0x2d7f39)]('Destr'+_0x592e36(_0x34397f._0x5aaf5b)+_0x592e36(_0x34397f._0x43a25a)+'ices\x20'+_0x592e36(_0x34397f._0x97ca96)+_0x592e36(0x915),{'schemaName':_0x18a8fe,'serviceKeys':_0x2ec878}),_0x3be724[_0x592e36(0x613)](_0x2ec878[_0x592e36(0x4b2)+'h'],-0x1c5+-0x1*-0x21e9+-0x4*0x809)){u[_0x592e36(_0x34397f._0x2d7f39)](_0x592e36(_0x34397f._0xe88305)+_0x592e36(_0x34397f._0x5036ec)+_0x592e36(_0x34397f._0x2e9409)+_0x592e36(0x579)+_0x592e36(_0x34397f._0x490fdd)+_0x592e36(0x6f7)+_0x592e36(_0x34397f._0x575a88)+'hema',{'schemaName':_0x18a8fe});return;}const _0x28183c=_0x2ec878[_0x592e36(_0x34397f._0x59a3fd)](async _0x24bbf8=>{const _0x329f46=_0x592e36,[,_0xbe7638]=_0x24bbf8['split'](':');try{const _0x443f66=await this[_0x329f46(0x582)+_0x329f46(0x21f)+_0x329f46(_0x10c00d._0x2b2950)](_0x18a8fe,_0xbe7638);return u['trace'](_0x3be724[_0x329f46(0x2c2)],{'serviceKey':_0x24bbf8,'result':_0x443f66}),_0x443f66;}catch(_0xc9f6fc){return u['error']('Error'+_0x329f46(0xcc8)+_0x329f46(0xa45)+_0x329f46(0x260)+'vice\x20'+_0x329f46(_0x10c00d._0x83405b)+_0x329f46(_0x10c00d._0xa389f3)+'clean'+'up',{'serviceKey':_0x24bbf8,'error':_0xc9f6fc[_0x329f46(_0x10c00d._0x2f33fd)+'ge']}),!(-0x2326+0x1*0x1a5f+0x232*0x4);}}),_0x55b73a=(await Promise[_0x592e36(0xb7b)](_0x28183c))[_0x592e36(0x2fe)+'r'](Boolean)[_0x592e36(0x4b2)+'h'];u['info']('Schem'+'a\x20ser'+_0x592e36(0x1e2)+_0x592e36(_0x34397f._0x56f099)+_0x592e36(0x838)+_0x592e36(_0x34397f._0x50554e)+'mplet'+'ed',{'schemaName':_0x18a8fe,'totalServices':_0x2ec878['lengt'+'h'],'successfulDestroys':_0x55b73a});}['getAl'+_0x441e35(0x5eb)+_0x441e35(0x892)+'fo'](){const _0x2ab32d={_0x191e56:0x642,_0x1ed82b:0x830,_0x5cd737:0x497,_0x57e332:0xa1d,_0x528825:0xc0c,_0x511d2f:0x3f2,_0x22338a:0x6c8,_0x225e15:0xc0c,_0x40e971:0x3ed,_0x2ad612:0x3a7,_0x3ebee0:0x270,_0x1e5f02:0x8fc,_0x337370:0x3b5,_0x5deb7f:0x531,_0x5377c4:0x2a0,_0x50f5ba:0x583},_0x2382d2=_0x441e35,_0x9a6f76={'EvHgs':'Getti'+_0x2382d2(_0x2ab32d._0x191e56)+_0x2382d2(0x574)+_0x2382d2(_0x2ab32d._0x1ed82b)+_0x2382d2(0x5cb),'slytM':function(_0x49b246,_0x46e424){return _0x49b246==_0x46e424;},'VaPHL':_0x2382d2(_0x2ab32d._0x5cd737),'SriKt':function(_0x177d08,_0x271f02){return _0x177d08==_0x271f02;}};u[_0x2382d2(0x2d7)](_0x9a6f76[_0x2382d2(0x8ef)]);const _0x24d62d=[];for(const [_0x1f7d4d,_0x34284c]of this[_0x2382d2(0x3f2)+_0x2382d2(_0x2ab32d._0x57e332)+_0x2382d2(0x8fc)]){const _0x34ad6a=this[_0x2382d2(0x3f2)+_0x2382d2(0x32b)][_0x2382d2(_0x2ab32d._0x528825)](_0x1f7d4d),_0x28817b=this[_0x2382d2(_0x2ab32d._0x511d2f)+_0x2382d2(0x410)+_0x2382d2(_0x2ab32d._0x22338a)][_0x2382d2(_0x2ab32d._0x225e15)](_0x1f7d4d);_0x24d62d['push']({'key':_0x1f7d4d,'schemaName':_0x34284c[_0x2382d2(0x495)+_0x2382d2(_0x2ab32d._0x40e971)],'tableName':_0x34284c['table'+_0x2382d2(_0x2ab32d._0x2ad612)],'status':_0x34ad6a?_0x34ad6a[_0x2382d2(0x8d4)+_0x2382d2(0x3b5)]():{'schemaName':_0x34284c[_0x2382d2(0x495)+_0x2382d2(0x3ed)],'tableName':_0x34284c[_0x2382d2(0x828)+'Name'],'isOpened':!(-0x108c+0x1ca8+0x3*-0x409),'isInitialized':!(0x13*0x19+-0x4f1+0x317),'hasDao':!(0x7*-0xa3+0x12e8+-0xe72)},'isRegistered':!(-0x21ac*0x1+0x2eb+0x1ec1),'createdAt':(_0x9a6f76['slytM'](_0x28817b,null)?void(0x1a4e+0x11c*-0x1+0x19*-0x102):_0x28817b[_0x2382d2(0xbf5)+'edAt'])||'N/A','lastAccessed':_0x9a6f76['slytM'](_0x28817b,null)?void(0x127+-0x1*-0x263f+0x691*-0x6):_0x28817b[_0x2382d2(_0x2ab32d._0x3ebee0)+_0x2382d2(0x583)+'ed']});}for(const [_0x310883,_0x1b6a70]of this['servi'+_0x2382d2(0x32b)])if(!this[_0x2382d2(0x3f2)+_0x2382d2(0xa1d)+_0x2382d2(_0x2ab32d._0x1e5f02)]['has'](_0x310883)){const [_0x115667,_0x3cb01f]=_0x310883['split'](':'),_0x542398=this['servi'+_0x2382d2(0x410)+_0x2382d2(0x6c8)]['get'](_0x310883);_0x24d62d['push']({'key':_0x310883,'schemaName':_0x115667,'tableName':_0x3cb01f,'status':_0x1b6a70['getSt'+_0x2382d2(_0x2ab32d._0x337370)](),'isRegistered':!(0x482+0xf4*0x1c+-0x5*0x63d),'createdAt':(_0x9a6f76[_0x2382d2(0x2b2)](_0x542398,null)?void(0x439+-0x60a+0x1d1):_0x542398[_0x2382d2(0xbf5)+'edAt'])||_0x9a6f76[_0x2382d2(_0x2ab32d._0x5deb7f)],'lastAccessed':_0x9a6f76[_0x2382d2(_0x2ab32d._0x5377c4)](_0x542398,null)?void(-0x1940+0xeb5+0xa8b):_0x542398['lastA'+_0x2382d2(_0x2ab32d._0x50f5ba)+'ed']});}return _0x24d62d;}async['healt'+'hChec'+'k'](){const _0x40660b={_0x180b3e:0x34a,_0x3696e7:0x707,_0x1932b0:0x32b,_0x870c4c:0x469,_0x2923c7:0x269,_0x32370a:0x2fe,_0x3ce3bc:0x4b2,_0xad3e61:0xc4d},_0x5d7f61={_0x98e0b8:0xc1f,_0x1d351e:0x5ca,_0x5720af:0xc9c},_0xe7b6b9=_0x441e35,_0x551316={'kERdR':function(_0x24ac9c,_0x543490){return _0x24ac9c-_0x543490;},'PZAmq':_0xe7b6b9(0x720)+_0xe7b6b9(_0x40660b._0x180b3e)+_0xe7b6b9(_0x40660b._0x3696e7)+_0xe7b6b9(0xba6)+'ED'},_0x4c2e56=Array['from'](this[_0xe7b6b9(0x3f2)+_0xe7b6b9(_0x40660b._0x1932b0)][_0xe7b6b9(_0x40660b._0x870c4c)+'es']())[_0xe7b6b9(_0x40660b._0x2923c7)](async([_0x337620,_0x40a9ee])=>{const _0x260139=_0xe7b6b9;try{const _0x516276=await _0x40a9ee[_0x260139(_0x5d7f61._0x98e0b8)+_0x260139(0xcfc)+'k']();return Object[_0x260139(0x5ca)+'n'](Object[_0x260139(_0x5d7f61._0x1d351e)+'n']({},_0x516276),{'serviceKey':_0x337620});}catch(_0x9df56a){const [_0x30bc51,_0x244f04]=_0x337620[_0x260139(0x600)](':');return{'healthy':!(-0xa74+0x1346+-0x25*0x3d),'schemaName':_0x30bc51,'error':_0x9df56a['messa'+'ge'],'timestamp':new Date()[_0x260139(0x456)+_0x260139(_0x5d7f61._0x5720af)+'g'](),'serviceKey':_0x337620};}}),_0x582cf8=await Promise[_0xe7b6b9(0xb7b)](_0x4c2e56),_0x12cac0=_0x582cf8[_0xe7b6b9(_0x40660b._0x32370a)+'r'](_0x2d6808=>_0x2d6808['healt'+'hy'])[_0xe7b6b9(_0x40660b._0x3ce3bc)+'h'],_0x25325e={'totalServices':_0x582cf8['lengt'+'h'],'healthyServices':_0x12cac0,'unhealthyServices':_0x551316[_0xe7b6b9(_0x40660b._0xad3e61)](_0x582cf8[_0xe7b6b9(0x4b2)+'h'],_0x12cac0),'services':_0x582cf8,'timestamp':new Date()[_0xe7b6b9(0x456)+_0xe7b6b9(0xc9c)+'g'](),'overallHealth':_0x12cac0===_0x582cf8['lengt'+'h']};return this['emit'](_0x551316[_0xe7b6b9(0xb1c)],{'serviceKey':'*','schemaName':'*','tableName':'*','data':_0x25325e}),_0x25325e;}async[_0x441e35(0x50a)+_0x441e35(0x6dd)+_0x441e35(0xa49)+_0x441e35(0x598)+_0x441e35(0xb76)](_0x58b770,_0x243b59){const _0x5a68b0={_0xf38436:0xc51,_0x3cd201:0x88f,_0x38e739:0x9a2,_0x19dbd3:0xc42,_0x536ed0:0x495,_0x5e4356:0x7df,_0x4da101:0x5aa,_0x3c11ce:0x728,_0x3b4ddb:0x88f,_0x24f2be:0x2a1,_0x194ccd:0x26c,_0x48c4a5:0x4b2,_0xdcd06:0x850,_0x1cc7bb:0x9b9,_0x1bf14f:0x50a,_0x2c6e1b:0x466,_0x183d01:0xa50},_0x4f172a=_0x441e35,_0x4f9a9f={'igjWd':function(_0x518a77,_0x35b04c){return _0x518a77===_0x35b04c;},'MvvKA':_0x4f172a(_0x5a68b0._0xf38436)+_0x4f172a(_0x5a68b0._0x3cd201)+_0x4f172a(_0x5a68b0._0x38e739)+_0x4f172a(0x9b9)+_0x4f172a(0xca2)+_0x4f172a(_0x5a68b0._0x19dbd3)};u['trace'](_0x4f172a(0xad8)+'ting\x20'+_0x4f172a(_0x5a68b0._0x536ed0)+_0x4f172a(0x5e8)+_0x4f172a(_0x5a68b0._0x5e4356)+_0x4f172a(_0x5a68b0._0x4da101)+_0x4f172a(_0x5a68b0._0x3c11ce)+'hema\x20'+_0x58b770);const _0x3ff6ce=this[_0x4f172a(0x4f0)+_0x4f172a(_0x5a68b0._0x3b4ddb)+_0x4f172a(_0x5a68b0._0x24f2be)+'hema'](_0x58b770);if(_0x4f9a9f[_0x4f172a(_0x5a68b0._0x194ccd)](_0x3ff6ce[_0x4f172a(_0x5a68b0._0x48c4a5)+'h'],-0x3d0+-0x17c2+-0x1b92*-0x1))throw u[_0x4f172a(_0x5a68b0._0xdcd06)](_0x4f9a9f[_0x4f172a(0xb23)],{'schemaName':_0x58b770}),new Error(_0x4f172a(0xc51)+_0x4f172a(_0x5a68b0._0x3cd201)+_0x4f172a(_0x5a68b0._0x38e739)+_0x4f172a(_0x5a68b0._0x1cc7bb)+'r\x20sch'+'ema:\x20'+_0x58b770);for(const _0x1bb4c6 of _0x3ff6ce)await _0x1bb4c6[_0x4f172a(0x8c8)]();return await _0x3ff6ce[-0x13c5+-0x164a+-0xe05*-0x3][_0x4f172a(_0x5a68b0._0x1bf14f)+_0x4f172a(_0x5a68b0._0x2c6e1b)+_0x4f172a(0x7df)+_0x4f172a(_0x5a68b0._0x183d01)](async()=>await _0x243b59(_0x3ff6ce));}[_0x441e35(0xb3e)+_0x441e35(0xcd0)+_0x441e35(0x212)+_0x441e35(0x9c5)](){const _0x1fb93f=_0x441e35;this[_0x1fb93f(0x7d3)+'upInt'+'erval']=setInterval(()=>{const _0x1aee26=_0x1fb93f;this[_0x1aee26(0x7d3)+'upUnu'+_0x1aee26(0x7e7)+_0x1aee26(0x88f)+'s']();},(-0x54*-0x44+0xc04+-0x2128)*(0x45a*-0x1+-0x5ab*-0x1+0x297));}async[_0x441e35(0x7d3)+_0x441e35(0x56b)+'sedSe'+_0x441e35(0x88f)+'s'](_0x386647=(0x61b+0xcd1+-0x2*0x5f2)*(-0xe4e+-0x209c+-0x5*-0xa2a)){const _0x2a9760={_0x557dfe:0x587,_0x29b6dd:0x5df,_0x56527f:0x3f2,_0xc955bb:0x270,_0x3e4ef6:0x270,_0x3e4b8e:0x600,_0x57547a:0x582,_0x2b1b6c:0x21f},_0xdbcb4a=_0x441e35,_0x1ef5bc={'qfAnP':function(_0x10137c,_0x45519f){return _0x10137c-_0x45519f;}};if(this[_0xdbcb4a(0xc02)+_0xdbcb4a(0x9ea)+_0xdbcb4a(_0x2a9760._0x557dfe)])return;const _0x3f2cb4=Date[_0xdbcb4a(_0x2a9760._0x29b6dd)](),_0x56d575=[];for(const [_0x471cde,_0x4431ad]of this[_0xdbcb4a(_0x2a9760._0x56527f)+_0xdbcb4a(0x410)+'adata']){if(!_0x4431ad[_0xdbcb4a(_0x2a9760._0xc955bb)+_0xdbcb4a(0x583)+'ed'])continue;const _0x2f9e78=new Date(_0x4431ad[_0xdbcb4a(_0x2a9760._0x3e4ef6)+_0xdbcb4a(0x583)+'ed'])[_0xdbcb4a(0x867)+'me']();_0x1ef5bc[_0xdbcb4a(0x8bd)](_0x3f2cb4,_0x2f9e78)>_0x386647&&_0x56d575[_0xdbcb4a(0x7d7)](_0x471cde);}for(const _0x4b3a34 of _0x56d575){const [_0x53ae90,_0x5c2d6c]=_0x4b3a34[_0xdbcb4a(_0x2a9760._0x3e4b8e)](':');await this[_0xdbcb4a(_0x2a9760._0x57547a)+_0xdbcb4a(_0x2a9760._0x2b1b6c)+'vice'](_0x53ae90,_0x5c2d6c);}}['on'](_0x4b2fb0,_0x48894d){const _0x37a6cf={_0x54b5f9:0x8b7,_0x447bce:0x679,_0x560649:0xcd1,_0x347efe:0x2cf,_0x4be7e4:0x7d7},_0x4a0891=_0x441e35;return this[_0x4a0891(0x2cf)+_0x4a0891(_0x37a6cf._0x54b5f9)+_0x4a0891(_0x37a6cf._0x447bce)]['has'](_0x4b2fb0)||this[_0x4a0891(0x2cf)+'Handl'+_0x4a0891(0x679)][_0x4a0891(_0x37a6cf._0x560649)](_0x4b2fb0,[]),this[_0x4a0891(_0x37a6cf._0x347efe)+_0x4a0891(0x8b7)+_0x4a0891(0x679)][_0x4a0891(0xc0c)](_0x4b2fb0)[_0x4a0891(_0x37a6cf._0x4be7e4)](_0x48894d),this;}[_0x441e35(0xaf3)](_0x5af3e0,_0x1f8390){const _0x143a48=_0x441e35,_0x31361c=this['event'+_0x143a48(0x8b7)+'ers'][_0x143a48(0xc0c)](_0x5af3e0);if(_0x31361c){const _0x2f6085=_0x31361c[_0x143a48(0x59a)+'Of'](_0x1f8390);_0x2f6085>-(0x1*-0x204a+0x2bc+-0x2f*-0xa1)&&_0x31361c[_0x143a48(0x724)+'e'](_0x2f6085,-0xe5*-0xd+-0x1a*-0x153+-0x2e0e);}return this;}[_0x441e35(0xb12)](_0x160062,_0x2362de){const _0x4a3fad={_0x49aea9:0x34f,_0x5d98ad:0x598,_0x3b113e:0x672,_0x4c909c:0x787,_0x53c52f:0xabb,_0x4f108d:0x83d,_0x41ca3c:0xbb6,_0x2cea9e:0x53d,_0x543237:0x7f6,_0x367a0f:0xb63,_0x53bee7:0x5ca,_0x426d83:0xc0c,_0x148c04:0x304,_0x46dc68:0x2cf},_0x3beb2c={_0x4053b0:0x203,_0x269c39:0xb72,_0x308bf3:0x665,_0x48b93c:0xbac,_0x4cb88d:0xc7b,_0x5d949e:0x2d7,_0x5c1772:0xb36,_0x495892:0x3ed,_0x5be327:0x3a7,_0x8fd613:0x5af,_0x20815c:0x578,_0x41a9e7:0x4d6,_0x2d74e9:0x532,_0x4bb3d7:0x366},_0x163912={_0x5606ea:0x4d6,_0x31f8f7:0x9af,_0x1f09d2:0x66b,_0x1b4bbc:0x1ff,_0x51a115:0xbcf,_0xab2fcb:0x3ed,_0xb4b9f1:0x6d8,_0x497ae5:0x968,_0x4dc447:0x3da,_0x5e0c33:0xb07},_0x4d6628=_0x441e35,_0x538e72={'fFmvg':'Error'+_0x4d6628(_0x4a3fad._0x49aea9)+_0x4d6628(0x9d4)+_0x4d6628(_0x4a3fad._0x5d98ad)+'tion\x20'+'rollb'+_0x4d6628(_0x4a3fad._0x3b113e),'gTAud':_0x4d6628(_0x4a3fad._0x4c909c),'JqIxn':_0x4d6628(_0x4a3fad._0x53c52f)+_0x4d6628(_0x4a3fad._0x4f108d)+_0x4d6628(_0x4a3fad._0x41ca3c)+_0x4d6628(_0x4a3fad._0x2cea9e)+'\x20serv'+_0x4d6628(_0x4a3fad._0x543237),'yrqPZ':function(_0x3bfc72,_0x2fbb7b){return _0x3bfc72===_0x2fbb7b;},'SVaNO':_0x4d6628(_0x4a3fad._0x367a0f),'jQDOw':function(_0x26430f,_0x5c948e){return _0x26430f===_0x5c948e;}},_0x14d90c=Object[_0x4d6628(0x5ca)+'n'](Object[_0x4d6628(_0x4a3fad._0x53bee7)+'n']({},_0x2362de),{'type':_0x160062,'timestamp':new Date()['toISO'+_0x4d6628(0xc9c)+'g']()}),_0x504acd=this[_0x4d6628(0x2cf)+'Handl'+_0x4d6628(0x679)][_0x4d6628(_0x4a3fad._0x426d83)](_0x160062);_0x504acd&&_0x504acd[_0x4d6628(_0x4a3fad._0x148c04)+'ch'](_0x55fdbf=>{const _0x2f99d5=_0x4d6628,_0xb5e086={'ozvlQ':_0x538e72['fFmvg']};if('bdYgR'===_0x538e72[_0x2f99d5(0x5d9)])try{_0x55fdbf(_0x14d90c);}catch(_0x1df0b7){console['error'](_0x2f99d5(0x578)+_0x2f99d5(_0x163912._0x5606ea)+_0x2f99d5(_0x163912._0x31f8f7)+'\x20Erro'+_0x2f99d5(_0x163912._0x1f09d2)+_0x160062+(_0x2f99d5(_0x163912._0x1b4bbc)+_0x2f99d5(0x8a1)+_0x2f99d5(_0x163912._0x51a115)),_0x1df0b7);}else _0x1d461c[_0x2f99d5(0x850)](_0xb5e086['ozvlQ'],{'schemaName':this[_0x2f99d5(0x495)+_0x2f99d5(_0x163912._0xab2fcb)],'rollbackError':_0x9b5d60[_0x2f99d5(_0x163912._0xb4b9f1)+'ge']}),this[_0x2f99d5(_0x163912._0x497ae5)+_0x2f99d5(0xc01)+'or']('ROLLB'+_0x2f99d5(_0x163912._0x4dc447)+_0x2f99d5(_0x163912._0x5e0c33),_0x29ba8b);});const _0x2ef923=this[_0x4d6628(_0x4a3fad._0x46dc68)+_0x4d6628(0x8b7)+_0x4d6628(0x679)]['get']('*');_0x2ef923&&_0x2ef923['forEa'+'ch'](_0x423398=>{const _0x1d8c66=_0x4d6628,_0x328f40={'bDjoL':_0x1d8c66(0xb2b)+_0x1d8c66(_0x3beb2c._0x4053b0)+_0x1d8c66(0xcc1)+_0x1d8c66(_0x3beb2c._0x269c39)+_0x1d8c66(_0x3beb2c._0x308bf3)};try{if(_0x538e72[_0x1d8c66(_0x3beb2c._0x48b93c)](_0x538e72[_0x1d8c66(0x97e)],_0x538e72['SVaNO']))_0x423398(_0x14d90c);else throw _0xca79f4[_0x1d8c66(0x850)](_0x538e72['JqIxn'],{'serviceKey':_0x42ba0b,'error':_0x305ff8[_0x1d8c66(0x6d8)+'ge']}),_0x3ad30f;}catch(_0x4811f7){if(_0x538e72['jQDOw'](_0x1d8c66(0x849),_0x1d8c66(_0x3beb2c._0x4cb88d))){_0x4d17d2[_0x1d8c66(_0x3beb2c._0x5d949e)](_0x328f40[_0x1d8c66(_0x3beb2c._0x5c1772)],{'schemaName':this[_0x1d8c66(0x495)+_0x1d8c66(_0x3beb2c._0x495892)],'tableName':this[_0x1d8c66(0x828)+_0x1d8c66(_0x3beb2c._0x5be327)],'event':_0x582dcd});const _0x4e3b9f=this[_0x1d8c66(0x2cf)+_0x1d8c66(_0x3beb2c._0x8fd613)+'ners']['get'](_0x9282fd);if(_0x4e3b9f){const _0x390a16=_0x4e3b9f[_0x1d8c66(0x59a)+'Of'](_0x4f897d);_0x390a16>-(-0x2064*-0x1+-0x1dd7+-0x28c)&&_0x4e3b9f['splic'+'e'](_0x390a16,0x43b*-0x2+0xd81*-0x2+-0x2379*-0x1);}return this;}else console[_0x1d8c66(0x850)](_0x1d8c66(_0x3beb2c._0x20815c)+_0x1d8c66(_0x3beb2c._0x41a9e7)+'ager:'+_0x1d8c66(_0x3beb2c._0x2d74e9)+_0x1d8c66(0x66b)+_0x1d8c66(0x5ad)+'l\x20eve'+_0x1d8c66(0x3aa)+_0x1d8c66(_0x3beb2c._0x4bb3d7)+':',_0x4811f7);}});}[_0x441e35(0x26d)+'rvice'](_0x3a412a,_0xb8f2e0){const _0x2f3391={_0x9651b9:0xbf5,_0x44aec3:0x6af},_0x1d3c63=_0x441e35,_0x5ebb49=this[_0x1d3c63(_0x2f3391._0x9651b9)+_0x1d3c63(0x482)+'iceKe'+'y'](_0x3a412a,_0xb8f2e0);return this[_0x1d3c63(0x3f2)+'ces'][_0x1d3c63(_0x2f3391._0x44aec3)](_0x5ebb49);}[_0x441e35(0xbed)+_0x441e35(0x4ad)+'ed'](_0x4311b1,_0xd0aebc){const _0x2b1e2a={_0x3f579e:0x5db,_0x1552a8:0xa1d,_0x214fcc:0x8fc,_0x3bdd42:0x6af},_0x4ce618=_0x441e35,_0x1a90c2=this['creat'+'eServ'+_0x4ce618(_0x2b1e2a._0x3f579e)+'y'](_0x4311b1,_0xd0aebc);return this['servi'+_0x4ce618(_0x2b1e2a._0x1552a8)+_0x4ce618(_0x2b1e2a._0x214fcc)][_0x4ce618(_0x2b1e2a._0x3bdd42)](_0x1a90c2);}[_0x441e35(0x4f0)+_0x441e35(0x88f)+_0x441e35(0x5b2)](){const _0x34ae7d={_0x2c7158:0x3f2},_0x17760f=_0x441e35;return this[_0x17760f(_0x34ae7d._0x2c7158)+_0x17760f(0x32b)][_0x17760f(0x815)];}[_0x441e35(0x3e9)+_0x441e35(0xc27)+'redCo'+_0x441e35(0x9b5)](){const _0x29fe73={_0x52b851:0xa1d},_0x42fbec=_0x441e35;return this[_0x42fbec(0x3f2)+_0x42fbec(_0x29fe73._0x52b851)+_0x42fbec(0x8fc)][_0x42fbec(0x815)];}[_0x441e35(0x8b6)+'hemas'](){const _0x440e80={_0x3e01fb:0x3f2,_0x211355:0x32b,_0xf08a58:0x54f,_0x56fab7:0xc65,_0x753bc4:0x268,_0x343794:0xce9,_0x3c852e:0x495,_0x2b8642:0x828,_0x5df0d9:0x3a7,_0x331b1e:0x968,_0x24b0d9:0xc98},_0x1aba43=_0x441e35,_0x1ea0e7=new Set();for(const _0x349f2a of this[_0x1aba43(_0x440e80._0x3e01fb)+_0x1aba43(_0x440e80._0x211355)][_0x1aba43(_0x440e80._0xf08a58)]()){if(_0x1aba43(0xc65)===_0x1aba43(_0x440e80._0x56fab7)){const [_0x4e691e]=_0x349f2a['split'](':');_0x1ea0e7[_0x1aba43(_0x440e80._0x753bc4)](_0x4e691e);}else throw _0x4e435b['error']('Error'+'\x20crea'+_0x1aba43(_0x440e80._0x343794)+_0x1aba43(0x496)+'d',{'schemaName':this[_0x1aba43(_0x440e80._0x3c852e)+'aName'],'tableName':this[_0x1aba43(_0x440e80._0x2b8642)+_0x1aba43(_0x440e80._0x5df0d9)],'error':_0x2c13c1['messa'+'ge']}),this[_0x1aba43(_0x440e80._0x331b1e)+_0x1aba43(0xc01)+'or'](_0x1aba43(0x6fc)+'E_ERR'+'OR',_0x98d034),_0x32695f;}return Array[_0x1aba43(_0x440e80._0x24b0d9)](_0x1ea0e7);}async[_0x441e35(0x582)+'oy'](){const _0x4b1134={_0x57fc61:0x7d3,_0x49c456:0x20d,_0x1d03c3:0x3f2,_0x30946e:0xa1d,_0x54bd:0x1d3,_0x35efd7:0x6c8,_0x47a87b:0x1d3,_0x4e1c7d:0x679,_0x4f0a05:0x587},_0x13707e={_0xf84db5:0x88e,_0x59ee9f:0xac1,_0x35347a:0xa45,_0x168ec3:0x671,_0x370054:0x6d8},_0x5e8ea4=_0x441e35,_0x4cbc78={'OVIJQ':function(_0x5a69ff,_0x3d00f9){return _0x5a69ff(_0x3d00f9);}};this[_0x5e8ea4(0xc02)+_0x5e8ea4(0x9ea)+'Down']=!(0x293*-0xd+0xe07+0x1370),this[_0x5e8ea4(_0x4b1134._0x57fc61)+_0x5e8ea4(0xc0a)+'erval']&&(_0x4cbc78[_0x5e8ea4(0xb4a)](clearInterval,this[_0x5e8ea4(_0x4b1134._0x57fc61)+'upInt'+_0x5e8ea4(_0x4b1134._0x49c456)]),this[_0x5e8ea4(_0x4b1134._0x57fc61)+'upInt'+'erval']=null);const _0x235a3f=Array['from'](this[_0x5e8ea4(0x3f2)+_0x5e8ea4(0x32b)][_0x5e8ea4(0x469)+'es']())['map'](async([_0x5b3ffb,_0x3069bb])=>{const _0x2c4dcd=_0x5e8ea4;if(_0x2c4dcd(_0x13707e._0xf84db5)==='RdydI')try{await _0x3069bb[_0x2c4dcd(_0x13707e._0x59ee9f)](),_0x3069bb['destr'+'oy']();}catch(_0x11a7fb){console[_0x2c4dcd(0x850)](_0x2c4dcd(0x4e6)+'\x20dest'+_0x2c4dcd(_0x13707e._0x35347a)+'g\x20ser'+_0x2c4dcd(0x830)+_0x5b3ffb+':',_0x11a7fb);}else throw _0x2d6417['trace'](_0x2c4dcd(0xbc1)+'t\x20row'+_0x2c4dcd(_0x13707e._0x168ec3)+'ed',{'tableName':_0x206bda,'columns':_0x5a1141,'error':_0x57dfd6 instanceof _0x687c18?_0x5066bd[_0x2c4dcd(_0x13707e._0x370054)+'ge']:_0x2dde5a}),_0x32f0f4;});await Promise[_0x5e8ea4(0xb7b)](_0x235a3f),this[_0x5e8ea4(0x3f2)+_0x5e8ea4(0x32b)]['clear'](),this[_0x5e8ea4(_0x4b1134._0x1d03c3)+_0x5e8ea4(_0x4b1134._0x30946e)+_0x5e8ea4(0x8fc)][_0x5e8ea4(_0x4b1134._0x54bd)](),this[_0x5e8ea4(0x3f2)+'ceMet'+_0x5e8ea4(_0x4b1134._0x35efd7)][_0x5e8ea4(_0x4b1134._0x47a87b)](),this['event'+_0x5e8ea4(0x8b7)+_0x5e8ea4(_0x4b1134._0x4e1c7d)][_0x5e8ea4(0x1d3)](),this['isShu'+'tting'+_0x5e8ea4(_0x4b1134._0x4f0a05)]=!(-0x67*0x49+0xda*-0x2+0x1f14);}}S[_0x441e35(0x467)+'nce']=null,S[_0x441e35(0x851)+'stanc'+'e']();class x{constructor(_0x3701af){const _0xf7c8ca={_0x44b60b:0xbf4,_0x5b4f5f:0x33f,_0x2d7453:0xa28,_0x30425e:0x455,_0x2d063f:0x5a7,_0x55bac8:0x3dc,_0x4eb103:0x7a2,_0x3733c2:0x1e9,_0x35e81b:0x1e5,_0x39b97d:0x20b,_0xdc226d:0x7da,_0x3148ea:0x651},_0x46781a=_0x441e35;this['table'+'Name']='',this[_0x46781a(0x536)+_0x46781a(0x803)+'ds']=['*'],this[_0x46781a(_0xf7c8ca._0x44b60b)+'lause'+'s']=[],this[_0x46781a(0x545)+_0x46781a(_0xf7c8ca._0x5b4f5f)+_0x46781a(_0xf7c8ca._0x2d7453)]=[],this[_0x46781a(_0xf7c8ca._0x30425e)+_0x46781a(_0xf7c8ca._0x2d063f)+_0x46781a(_0xf7c8ca._0x55bac8)]=[],this['havin'+_0x46781a(0x796)+'ition'+'s']=[],this[_0x46781a(0x510)+_0x46781a(0x5a7)+'lds']=[],this[_0x46781a(_0xf7c8ca._0x4eb103)+_0x46781a(0xacb)]=null,this[_0x46781a(0x664)+_0x46781a(_0xf7c8ca._0x3733c2)+'e']=null,this[_0x46781a(_0xf7c8ca._0x35e81b)+'s']=[],this[_0x46781a(0x812)+_0x46781a(_0xf7c8ca._0x39b97d)+'es']=[],this[_0x46781a(_0xf7c8ca._0xdc226d)+'eries']=[],this[_0x46781a(0x58a)+_0x46781a(_0xf7c8ca._0x3148ea)]=new Map(),this[_0x46781a(0x692)]=null,this[_0x46781a(0x692)]=_0x3701af||null;}static[_0x441e35(0x828)](_0x2eb8a9,_0x3cdcd9){const _0x574057={_0x2a101c:0x828},_0x2b7093=_0x441e35,_0x151079=new x(_0x3cdcd9);return _0x151079[_0x2b7093(_0x574057._0x2a101c)+'Name']=_0x2eb8a9,_0x151079;}static['from'](_0x3f1302,_0x3f447c){const _0x30c66b=_0x441e35;return x[_0x30c66b(0x828)](_0x3f1302,_0x3f447c);}[_0x441e35(0x536)+'t'](_0x4d5fe8){const _0x350ba5=_0x441e35;return this[_0x350ba5(0x536)+_0x350ba5(0x803)+'ds']=Array[_0x350ba5(0x966)+'ay'](_0x4d5fe8)?_0x4d5fe8:[_0x4d5fe8],this;}[_0x441e35(0x536)+_0x441e35(0xc88)](_0x38d03a){const _0x5c8ca7={_0x2ed7e2:0x536},_0x2c8344=_0x441e35;return this[_0x2c8344(_0x5c8ca7._0x2ed7e2)+_0x2c8344(0x803)+'ds']=[_0x38d03a],this;}['selec'+_0x441e35(0x1db)+_0x441e35(0x58e)](_0x2ec9b9){const _0x191dca={_0x5a83e8:0x231,_0x2c2ed0:0x803,_0x281b4b:0x53c},_0x42cfeb=_0x441e35,_0x4fdcef=Array[_0x42cfeb(0x966)+'ay'](_0x2ec9b9)?_0x2ec9b9[_0x42cfeb(_0x191dca._0x5a83e8)](',\x20'):_0x2ec9b9;return this[_0x42cfeb(0x536)+_0x42cfeb(_0x191dca._0x2c2ed0)+'ds']=[_0x42cfeb(0x21a)+_0x42cfeb(_0x191dca._0x281b4b)+_0x4fdcef],this;}[_0x441e35(0x231)](_0x281d0a,_0x32051c,_0x5c3302=_0x441e35(0x4ac)){const _0x11bf60={_0x369ad6:0xbf4},_0x23893f=_0x441e35;return this[_0x23893f(_0x11bf60._0x369ad6)+_0x23893f(0x7af)+'s']['push']({'type':_0x5c3302,'table':_0x281d0a,'condition':_0x32051c}),this;}[_0x441e35(0x3c6)+_0x441e35(0x6f1)](_0x5012fd,_0x256704){const _0x49dd8f={_0x3a783b:0x4ac},_0x28a13c=_0x441e35,_0x46ff02={'uGGpk':_0x28a13c(_0x49dd8f._0x3a783b)};return this[_0x28a13c(0x231)](_0x5012fd,_0x256704,_0x46ff02[_0x28a13c(0x1e4)]);}['leftJ'+_0x441e35(0x31f)](_0x33754c,_0x5c974f){const _0x2262e4=_0x441e35,_0x288fc4={'ujfYZ':'LEFT'};return this[_0x2262e4(0x231)](_0x33754c,_0x5c974f,_0x288fc4[_0x2262e4(0x2e5)]);}['right'+_0x441e35(0x6f1)](_0x3dc466,_0x13d4dd){const _0x137faf=_0x441e35;return this[_0x137faf(0x231)](_0x3dc466,_0x13d4dd,_0x137faf(0x518));}[_0x441e35(0x8a3)+'uterJ'+_0x441e35(0x31f)](_0x2fe435,_0x39f051){const _0x50b59c=_0x441e35;return this[_0x50b59c(0x231)](_0x2fe435,_0x39f051,_0x50b59c(0x745)+_0x50b59c(0x551));}[_0x441e35(0x545)](_0x4bb37e,_0x53cc0e,_0x4692c8){const _0x344173={_0x57b60d:0xabb,_0x16b35b:0xc77,_0x4deef9:0x6c4,_0x84b83f:0xcac,_0x193445:0x7e1,_0xb9407e:0x469,_0x52b645:0x304,_0x7f8dbb:0x545,_0x4badba:0x33f,_0x3aee90:0x7d7},_0x1295cb={_0x3a3357:0x751,_0x2b8d7c:0x545},_0x14f8bc=_0x441e35,_0x2ce96c={'AUfHm':_0x14f8bc(_0x344173._0x57b60d)+_0x14f8bc(0x83d)+_0x14f8bc(0x9ce)+'ter\x20s'+_0x14f8bc(_0x344173._0x16b35b)+_0x14f8bc(0x3c9)+_0x14f8bc(_0x344173._0x4deef9),'voRde':_0x14f8bc(_0x344173._0x84b83f),'YkXiw':function(_0xea63fb,_0x15622e){return _0xea63fb==_0x15622e;}};if(_0x2ce96c[_0x14f8bc(_0x344173._0x193445)](typeof _0x4bb37e,_0x14f8bc(0x5dc)+'t'))return Object[_0x14f8bc(_0x344173._0xb9407e)+'es'](_0x4bb37e)[_0x14f8bc(_0x344173._0x52b645)+'ch'](([_0x116e43,_0x139914])=>{const _0x1068cc=_0x14f8bc;if(_0x2ce96c[_0x1068cc(_0x1295cb._0x3a3357)]!==_0x1068cc(0xcac))throw _0x29c746[_0x1068cc(0x850)](_0x2ce96c['AUfHm'],{'index':_0x13aa66,'config':_0x42ea72,'error':_0x4ba96c['messa'+'ge']}),_0x485f70;else this[_0x1068cc(_0x1295cb._0x2b8d7c)+'Condi'+_0x1068cc(0xa28)][_0x1068cc(0x7d7)]({'field':_0x116e43,'operator':'=','value':_0x139914});}),this;let _0x14aed0='=',_0x53cb53=_0x53cc0e;return arguments[_0x14f8bc(0x4b2)+'h']===-0xe1c+0x2*-0x1099+0x2f51*0x1&&(_0x14aed0=_0x53cc0e,_0x53cb53=_0x4692c8),this[_0x14f8bc(_0x344173._0x7f8dbb)+_0x14f8bc(_0x344173._0x4badba)+_0x14f8bc(0xa28)][_0x14f8bc(_0x344173._0x3aee90)]({'field':_0x4bb37e,'operator':_0x14aed0,'value':_0x53cb53}),this;}[_0x441e35(0x545)+'Equal'+'s'](_0x471a44,_0x11c736){const _0x4db31a={_0x5792c5:0x545},_0x58e3ee=_0x441e35;return this[_0x58e3ee(_0x4db31a._0x5792c5)](_0x471a44,'=',_0x11c736);}[_0x441e35(0x545)+_0x441e35(0x6f3)](_0x188a07,_0x197e55){return this['where'](_0x188a07,'!=',_0x197e55);}[_0x441e35(0x545)+'Like'](_0x1f28bd,_0x3db403){const _0x2d34d0={_0x2000fd:0xb10},_0x55e276=_0x441e35,_0xdb7413={'HAJNT':'LIKE'};return this[_0x55e276(0x545)](_0x1f28bd,_0xdb7413[_0x55e276(_0x2d34d0._0x2000fd)],_0x3db403);}[_0x441e35(0x545)+_0x441e35(0x860)+'ke'](_0x1c3d60,_0x446e51){const _0x565cb6={_0x1db887:0x288},_0x32eeb4=_0x441e35;return this[_0x32eeb4(0x545)](_0x1c3d60,_0x32eeb4(_0x565cb6._0x1db887)+_0x32eeb4(0x4ed),_0x446e51);}[_0x441e35(0x545)+'In'](_0x2c06f6,_0x55e718){const _0x5525a9={_0x37af2a:0x545},_0x39fc1f=_0x441e35;return this[_0x39fc1f(_0x5525a9._0x37af2a)+_0x39fc1f(0x33f)+_0x39fc1f(0xa28)][_0x39fc1f(0x7d7)]({'field':_0x2c06f6,'operator':'IN','value':_0x55e718}),this;}[_0x441e35(0x545)+'NotIn'](_0x38e8b4,_0xd75a87){const _0x50ec23={_0xfc27f3:0x33f,_0x2a4c6a:0xa28},_0x5c3536=_0x441e35,_0x1e10bb={'AXaNX':_0x5c3536(0x6be)+'N'};return this[_0x5c3536(0x545)+_0x5c3536(_0x50ec23._0xfc27f3)+_0x5c3536(_0x50ec23._0x2a4c6a)][_0x5c3536(0x7d7)]({'field':_0x38e8b4,'operator':_0x1e10bb['AXaNX'],'value':_0xd75a87}),this;}[_0x441e35(0x545)+_0x441e35(0x94a)+'en'](_0x386fe5,_0x71e8ea,_0x3df1d9){const _0x55266c={_0x3285d5:0x7d7},_0x2eea13=_0x441e35;return this['where'+_0x2eea13(0x33f)+_0x2eea13(0xa28)][_0x2eea13(_0x55266c._0x3285d5)]({'field':_0x386fe5,'operator':'BETWE'+'EN','value':[_0x71e8ea,_0x3df1d9]}),this;}[_0x441e35(0x545)+_0x441e35(0xb5e)+_0x441e35(0x4db)](_0x34502c,_0x2caf08,_0x343af0){const _0x145611={_0x5c1e3a:0x7d7},_0x39a151=_0x441e35,_0x35f5ed={'pzKFC':_0x39a151(0x732)+_0x39a151(0x5a2)+'N'};return this[_0x39a151(0x545)+_0x39a151(0x33f)+'tions'][_0x39a151(_0x145611._0x5c1e3a)]({'field':_0x34502c,'operator':_0x35f5ed['pzKFC'],'value':[_0x2caf08,_0x343af0]}),this;}[_0x441e35(0x545)+_0x441e35(0x897)](_0x508bbd){const _0x3fab7c=_0x441e35;return this[_0x3fab7c(0x545)+'Condi'+_0x3fab7c(0xa28)]['push']({'field':_0x508bbd,'operator':_0x3fab7c(0x6a2)+'LL','value':null}),this;}[_0x441e35(0x545)+_0x441e35(0x7fc)+'ll'](_0x3e7263){const _0x172254={_0x16f435:0x645,_0x24015b:0x7d7,_0x5a2cd7:0x7f0},_0x2d3193=_0x441e35,_0xef3de1={'bFelc':_0x2d3193(_0x172254._0x16f435)+_0x2d3193(0x7e5)+'L'};return this['where'+_0x2d3193(0x33f)+'tions'][_0x2d3193(_0x172254._0x24015b)]({'field':_0x3e7263,'operator':_0xef3de1[_0x2d3193(_0x172254._0x5a2cd7)],'value':null}),this;}['where'+_0x441e35(0xaac)+'s'](_0x22de60){const _0x3947f8={_0x563ba1:0x33f},_0x2a616d=_0x441e35,_0x336127={'giuCl':'EXIST'+'S'};return this[_0x2a616d(0x545)+_0x2a616d(_0x3947f8._0x563ba1)+_0x2a616d(0xa28)][_0x2a616d(0x7d7)]({'field':'','operator':_0x336127[_0x2a616d(0x555)],'value':_0x22de60}),this;}[_0x441e35(0x545)+_0x441e35(0x8f9)+_0x441e35(0x9ac)](_0x3e3766){const _0x50b73d={_0x5f330e:0x9b8},_0x52f0c7=_0x441e35;return this[_0x52f0c7(0x545)+_0x52f0c7(0x33f)+_0x52f0c7(0xa28)]['push']({'field':'','operator':'NOT\x20E'+_0x52f0c7(_0x50b73d._0x5f330e),'value':_0x3e3766}),this;}[_0x441e35(0xcea)+'re'](_0x5a9c7f,_0x56ddca,_0x1b6ecb){const _0x2b481e={_0x5b18ec:0x545},_0x59f778=_0x441e35;return this[_0x59f778(_0x2b481e._0x5b18ec)](_0x5a9c7f,_0x56ddca,_0x1b6ecb);}[_0x441e35(0x455)+'By'](_0x2a178c){const _0x2451fe={_0x38554b:0x455},_0x3b0d42=_0x441e35;return this[_0x3b0d42(_0x2451fe._0x38554b)+_0x3b0d42(0x5a7)+_0x3b0d42(0x3dc)]=Array[_0x3b0d42(0x966)+'ay'](_0x2a178c)?_0x2a178c:[_0x2a178c],this;}[_0x441e35(0x492)+'g'](_0x4bcae2,_0x4a6382,_0x132112){const _0x9f8e54={_0x4f266b:0x7d7},_0x125e03=_0x441e35;let _0x250324='=',_0x51ccdb=_0x4a6382;return arguments['lengt'+'h']===-0x1132+-0x1*0x2037+0xc5b*0x4&&(_0x250324=_0x4a6382,_0x51ccdb=_0x132112),this['havin'+_0x125e03(0x796)+_0x125e03(0x247)+'s'][_0x125e03(_0x9f8e54._0x4f266b)]({'field':_0x4bcae2,'operator':_0x250324,'value':_0x51ccdb}),this;}[_0x441e35(0x492)+'gCoun'+'t'](_0x322219,_0x504458,_0x1815d0){const _0x4af3ad=_0x441e35;return this['havin'+'g'](_0x4af3ad(0xaca)+'('+_0x322219+')',_0x504458,_0x1815d0);}[_0x441e35(0x510)+'By'](_0x30fb45,_0x2772e3=_0x441e35(0x9e3)){const _0x19e118={_0x39fb83:0x510,_0x352a65:0x5a7},_0x46c32c=_0x441e35;return this[_0x46c32c(_0x19e118._0x39fb83)+_0x46c32c(_0x19e118._0x352a65)+_0x46c32c(0x3dc)]['push'](_0x30fb45+'\x20'+_0x2772e3),this;}[_0x441e35(0x510)+_0x441e35(0x6cc)+'c'](_0x93dc36){return this['order'+'By'](_0x93dc36,'DESC');}[_0x441e35(0x510)+_0x441e35(0x97f)](_0x2ced56){const _0x4abd76={_0x43b950:0x510,_0x3cdc7b:0x3dc},_0x482a7a=_0x441e35;return this[_0x482a7a(_0x4abd76._0x43b950)+'ByFie'+_0x482a7a(_0x4abd76._0x3cdc7b)][_0x482a7a(0x7d7)](_0x2ced56),this;}[_0x441e35(0x945)+'t'](_0x30d49d=_0x441e35(0xbf5)+_0x441e35(0x73a)){const _0x4208c4={_0xd025a5:0x510,_0x5f7c47:0x6cc},_0x39f3ad=_0x441e35;return this[_0x39f3ad(_0x4208c4._0xd025a5)+_0x39f3ad(_0x4208c4._0x5f7c47)+'c'](_0x30d49d);}[_0x441e35(0x72f)+'t'](_0x5b14a1=_0x441e35(0xbf5)+_0x441e35(0x73a)){const _0x11466e=_0x441e35,_0x569cc2={'xXJqs':_0x11466e(0x9e3)};return this[_0x11466e(0x510)+'By'](_0x5b14a1,_0x569cc2[_0x11466e(0x4c4)]);}[_0x441e35(0x7a2)](_0x4cbd21){const _0x48bd90={_0x1a8db7:0x7a2},_0x584d77=_0x441e35;return this[_0x584d77(_0x48bd90._0x1a8db7)+'Value']=_0x4cbd21,this;}[_0x441e35(0x664)+'t'](_0x52e2b5){const _0x71348e={_0x2a4dfa:0x1e9},_0x2be56a=_0x441e35;return this[_0x2be56a(0x664)+_0x2be56a(_0x71348e._0x2a4dfa)+'e']=_0x52e2b5,this;}[_0x441e35(0x56f)](_0x2fdf15){return this['offse'+'t'](_0x2fdf15);}['take'](_0x5877b2){return this['limit'](_0x5877b2);}[_0x441e35(0xb49)+_0x441e35(0x305)](){const _0x1d3617=_0x441e35;return this[_0x1d3617(0x7a2)](0x18ec*-0x1+0x2091+-0x2*0x3d2);}[_0x441e35(0x63c)+'ate'](_0x408ea6,_0x40fc23){const _0x328903={_0x3f4a14:0xacb,_0x40bf2e:0x664,_0x20afab:0x1e9},_0x4b2d66=_0x441e35,_0x3c8228={'YRbLc':function(_0xe9ee67,_0x5e271e){return _0xe9ee67-_0x5e271e;}};return this[_0x4b2d66(0x7a2)+_0x4b2d66(_0x328903._0x3f4a14)]=_0x40fc23,this[_0x4b2d66(_0x328903._0x40bf2e)+_0x4b2d66(_0x328903._0x20afab)+'e']=_0x3c8228[_0x4b2d66(0x72a)](_0x408ea6,0x99+0x472+-0x50a)*_0x40fc23,this;}['union'](_0x5ba087){const _0x3afa4b={_0x446ac6:0x20b},_0x323494=_0x441e35;return this[_0x323494(0x812)+_0x323494(_0x3afa4b._0x446ac6)+'es']['push'](_0x5ba087),this;}['union'+_0x441e35(0x302)](_0x46d08e){return this['union'](_0x46d08e);}[_0x441e35(0x57b)](_0x569f46,_0x48d1a7){const _0x1b54c7={_0x191a96:0x58a,_0x192ec6:0xcd1},_0x3703a1=_0x441e35;return this[_0x3703a1(_0x1b54c7._0x191a96)+_0x3703a1(0x651)][_0x3703a1(_0x1b54c7._0x192ec6)](_0x569f46,_0x48d1a7),this;}[_0x441e35(0x545)+_0x441e35(0x655)+'ery'](_0xa2ec80,_0x27c712,_0x303f9d){const _0x3d5803=_0x441e35;return this['subQu'+'eries'][_0x3d5803(0x7d7)]({'query':_0x303f9d,'alias':''}),this[_0x3d5803(0x545)+_0x3d5803(0x33f)+'tions']['push']({'field':_0xa2ec80,'operator':_0x27c712,'value':_0x303f9d}),this;}[_0x441e35(0xb45)](_0x51af11='*'){const _0x44e7bc={_0x5b630a:0x803},_0x4d48dc=_0x441e35;return this['selec'+_0x4d48dc(_0x44e7bc._0x5b630a)+'ds']=['COUNT'+'('+_0x51af11+(_0x4d48dc(0x928)+_0x4d48dc(0xb45))],this;}[_0x441e35(0x2e1)](_0x392c19){const _0x1ccd2d={_0x4f8518:0x928},_0x1ecf5d=_0x441e35;return this[_0x1ecf5d(0x536)+'tFiel'+'ds']=['SUM('+_0x392c19+(_0x1ecf5d(_0x1ccd2d._0x4f8518)+_0x1ecf5d(0x2e1))],this;}[_0x441e35(0xcec)](_0x597933){const _0x497610={_0xfebdcf:0x803,_0x42b58b:0xa89,_0x45b1cb:0xcec},_0x1e525a=_0x441e35;return this['selec'+_0x1e525a(_0x497610._0xfebdcf)+'ds']=[_0x1e525a(_0x497610._0x42b58b)+_0x597933+(_0x1e525a(0x928)+_0x1e525a(_0x497610._0x45b1cb))],this;}[_0x441e35(0x435)](_0x509d81){const _0xfbd21b={_0x3e7099:0x803},_0x358082=_0x441e35;return this[_0x358082(0x536)+_0x358082(_0xfbd21b._0x3e7099)+'ds']=['MAX('+_0x509d81+(')\x20as\x20'+'max')],this;}['min'](_0x864919){const _0x5032b4=_0x441e35;return this['selec'+'tFiel'+'ds']=[_0x5032b4(0x606)+_0x864919+(_0x5032b4(0x928)+_0x5032b4(0xac3))],this;}['toSQL'](){const _0x209fa8={_0xda5113:0x62a,_0x127ffb:0xccb,_0x2090f1:0x589,_0x225ee5:0x4c1,_0x13ed0b:0x6a3,_0x3af3e3:0x62c,_0x28bdd1:0xce9,_0x50c2f9:0x495,_0x192d9b:0x43e,_0x40ed28:0x58a,_0x47d0ea:0x815,_0x5108fd:0x304,_0x3f81db:0x536,_0x7d6971:0x803,_0x542299:0xcb0,_0x36129d:0x828,_0x16d7cc:0xbf4,_0x1a4816:0x33f,_0x3c97e8:0x8ed,_0x34074d:0x455,_0x11aa25:0x4b2,_0x210b7d:0xa8c,_0x584343:0x796,_0x10a6e5:0x247,_0x318798:0xaf6,_0xbdbdf5:0xc52,_0x43dfec:0x5ca,_0x4c0305:0xb96,_0x56a637:0x492,_0x2d5651:0x796,_0x41743c:0x304,_0x1ba91d:0x231,_0x148c94:0x8ed,_0x29f125:0x3dc,_0x533324:0x9c4,_0x108b71:0x7a2,_0xc46d3d:0xacb,_0x2ddb29:0x29f,_0x55a6c8:0xb41,_0x304269:0x20b,_0x1bbf24:0x812},_0x3f8e53={_0x3c1c7e:0x7d7},_0x247b05={_0x5c3d5d:0x7d7,_0x4a75d7:0x5cb,_0x3a9ffc:0x2bd,_0x35fa36:0x2bd},_0x549f3b={_0x15d165:0x33f,_0x17ba7a:0xb76,_0xb249da:0x7d7,_0xd3976e:0x7d7},_0xc705d6={_0x208b17:0x5c6,_0x2604be:0x657,_0x254469:0x2d7,_0x2d454d:0x4a1,_0x4b805f:0x828,_0x51bd35:0x406},_0x4546a7={_0x2bff01:0xb92,_0xa42c41:0x2f8,_0xe54125:0xac9,_0x5ac30b:0x7d7},_0xcde11c=_0x441e35,_0x46dd2d={'dhuJE':function(_0x2881bf,_0xa4e0e3){return _0x2881bf!==_0xa4e0e3;},'AVyAF':_0xcde11c(0x994),'rSSNq':function(_0x25bd02,_0x2c8bff){return _0x25bd02===_0x2c8bff;},'ZNeTn':'KlgWJ','fLlIK':'Schem'+_0xcde11c(0xcbe)+_0xcde11c(0xbc9)+_0xcde11c(_0x209fa8._0xda5113)+_0xcde11c(0x576)+_0xcde11c(_0x209fa8._0x127ffb)+_0xcde11c(0x4ab)+_0xcde11c(_0x209fa8._0x2090f1)+_0xcde11c(_0x209fa8._0x225ee5)+_0xcde11c(_0x209fa8._0x13ed0b)+_0xcde11c(_0x209fa8._0x3af3e3)+_0xcde11c(_0x209fa8._0x28bdd1)+_0xcde11c(_0x209fa8._0x50c2f9)+'a','LHgAL':_0xcde11c(0x48b),'jPkmg':function(_0x2f2451,_0x323537){return _0x2f2451>_0x323537;},'lUyAv':function(_0xf74f92,_0x5b2e32){return _0xf74f92>_0x5b2e32;},'QtFWr':_0xcde11c(0xc2d),'YHugx':_0xcde11c(0x9ba)};let _0x3acc39='';const _0x36a8d3=[];if(_0x46dd2d[_0xcde11c(_0x209fa8._0x192d9b)](this[_0xcde11c(_0x209fa8._0x40ed28)+'eries'][_0xcde11c(_0x209fa8._0x47d0ea)],-0x35d+-0xc*-0x83+0x9*-0x4f)){const _0x303a10=[];this[_0xcde11c(0x58a)+_0xcde11c(0x651)][_0xcde11c(_0x209fa8._0x5108fd)+'ch']((_0x5a8527,_0xe24c32)=>{const _0x107be2=_0xcde11c;if(_0x46dd2d[_0x107be2(0x29f)](_0x107be2(0x994),_0x46dd2d[_0x107be2(_0x4546a7._0x2bff01)]))return this['sessi'+_0x107be2(0x9df)]=this[_0x107be2(_0x4546a7._0xa42c41)+_0x107be2(0x2b4)+_0x107be2(0x1f5)+'Id'](),this[_0x107be2(0x83f)+'onId'];else{const {sql:_0x2be26f,params:_0x681456}=_0x5a8527[_0x107be2(_0x4546a7._0xe54125)]();_0x303a10[_0x107be2(_0x4546a7._0x5ac30b)](_0xe24c32+'\x20AS\x20('+_0x2be26f+')'),_0x36a8d3[_0x107be2(_0x4546a7._0x5ac30b)](..._0x681456);}}),_0x3acc39+=_0xcde11c(0x5e0)+_0x303a10[_0xcde11c(0x231)](',\x20')+'\x20';}if(_0x3acc39+=_0xcde11c(0x3a4)+'T\x20'+this[_0xcde11c(_0x209fa8._0x3f81db)+_0xcde11c(_0x209fa8._0x7d6971)+'ds']['join'](',\x20')+(_0xcde11c(_0x209fa8._0x542299)+'\x20')+this[_0xcde11c(_0x209fa8._0x36129d)+'Name'],_0x46dd2d[_0xcde11c(0x2d5)](this['joinC'+_0xcde11c(0x7af)+'s'][_0xcde11c(0x4b2)+'h'],-0x1*0x2091+-0x670+0x2701*0x1)&&this[_0xcde11c(_0x209fa8._0x16d7cc)+'lause'+'s'][_0xcde11c(0x304)+'ch'](_0x2d4559=>{const _0x11b67b=_0xcde11c;_0x46dd2d['rSSNq'](_0x11b67b(_0xc705d6._0x208b17),_0x46dd2d[_0x11b67b(_0xc705d6._0x2604be)])?_0x7ab2cb[_0x11b67b(0x851)+_0x11b67b(0x344)+'e']()[_0x11b67b(_0xc705d6._0x254469)](this[_0x11b67b(_0xc705d6._0x2d454d)+_0x11b67b(0xa43)],_0x45dfd4,..._0x272691):_0x3acc39+='\x20'+_0x2d4559[_0x11b67b(0x886)]+('\x20JOIN'+'\x20')+_0x2d4559[_0x11b67b(_0xc705d6._0x4b805f)]+_0x11b67b(_0xc705d6._0x51bd35)+_0x2d4559['condi'+'tion'];}),_0x46dd2d[_0xcde11c(_0x209fa8._0x192d9b)](this[_0xcde11c(0x545)+_0xcde11c(0x33f)+_0xcde11c(0xa28)][_0xcde11c(0x4b2)+'h'],-0x2*0x926+0xfe*0x10+0x26c)){const _0x362875=[];this['where'+_0xcde11c(_0x209fa8._0x1a4816)+_0xcde11c(0xa28)][_0xcde11c(_0x209fa8._0x5108fd)+'ch'](_0x2eebae=>{const _0x5410e1=_0xcde11c,{clause:_0x45f1f6,conditionParams:_0x5de2c6}=this['build'+_0x5410e1(_0x549f3b._0x15d165)+_0x5410e1(_0x549f3b._0x17ba7a)](_0x2eebae);_0x362875[_0x5410e1(_0x549f3b._0xb249da)](_0x45f1f6),_0x36a8d3[_0x5410e1(_0x549f3b._0xd3976e)](..._0x5de2c6);}),_0x3acc39+='\x20WHER'+'E\x20'+_0x362875[_0xcde11c(0x231)](_0x46dd2d[_0xcde11c(_0x209fa8._0x3c97e8)]);}if(_0x46dd2d['jPkmg'](this[_0xcde11c(_0x209fa8._0x34074d)+_0xcde11c(0x5a7)+'lds'][_0xcde11c(_0x209fa8._0x11aa25)+'h'],-0x96b*-0x2+0x135c+-0x2632*0x1)&&(_0x3acc39+='\x20GROU'+_0xcde11c(_0x209fa8._0x210b7d)+this['group'+_0xcde11c(0x5a7)+'lds'][_0xcde11c(0x231)](',\x20')),this[_0xcde11c(0x492)+_0xcde11c(_0x209fa8._0x584343)+_0xcde11c(_0x209fa8._0x10a6e5)+'s']['lengt'+'h']>0x27d+0x18a4+0x3*-0x90b){if(_0x46dd2d[_0xcde11c(0x414)](_0x46dd2d[_0xcde11c(0xc61)],_0xcde11c(_0x209fa8._0x318798)))return _0x3cfde8[_0xcde11c(_0x209fa8._0xbdbdf5)+_0xcde11c(0xb96)+_0xcde11c(0x964)]?_0x3f4ae5[_0xcde11c(_0x209fa8._0x43dfec)+'n']({},_0x1ae052[_0xcde11c(0xc52)+_0xcde11c(_0x209fa8._0x4c0305)+'fig']):null;else{const _0xa85ef1=[];this[_0xcde11c(_0x209fa8._0x56a637)+_0xcde11c(_0x209fa8._0x2d5651)+'ition'+'s'][_0xcde11c(_0x209fa8._0x41743c)+'ch'](_0x2061ac=>{const _0x1360e6=_0xcde11c;if(_0x46dd2d[_0x1360e6(0x37a)]===_0x46dd2d[_0x1360e6(0x37a)]){const {clause:_0x33e115,conditionParams:_0x4ea2a0}=this[_0x1360e6(0x483)+_0x1360e6(0x33f)+_0x1360e6(0xb76)](_0x2061ac);_0xa85ef1[_0x1360e6(_0x247b05._0x5c3d5d)](_0x33e115),_0x36a8d3[_0x1360e6(0x7d7)](..._0x4ea2a0);}else{_0x35c4a6[_0x1360e6(_0x247b05._0x4a75d7)](_0x46dd2d[_0x1360e6(0xab8)]),_0x13cd28[_0x1360e6(_0x247b05._0x3a9ffc)+_0x1360e6(0x51b)+'ng']&&this[_0x1360e6(0x2aa)+'peMap'+_0x1360e6(0x507)+'onfig'](_0x34fcc3[_0x1360e6(_0x247b05._0x35fa36)+_0x1360e6(0x51b)+'ng']);return;}}),_0x3acc39+=_0xcde11c(0xcc0)+_0xcde11c(0x826)+_0xa85ef1[_0xcde11c(_0x209fa8._0x1ba91d)](_0x46dd2d[_0xcde11c(_0x209fa8._0x148c94)]);}}return this['order'+'ByFie'+_0xcde11c(_0x209fa8._0x29f125)]['lengt'+'h']>-0x1*0x931+0x224d+-0x191c&&(_0x3acc39+='\x20ORDE'+_0xcde11c(_0x209fa8._0x533324)+this[_0xcde11c(0x510)+'ByFie'+'lds'][_0xcde11c(0x231)](',\x20')),this[_0xcde11c(_0x209fa8._0x108b71)+_0xcde11c(_0x209fa8._0xc46d3d)]!==null&&(_0x3acc39+=_0xcde11c(0x2f6)+'T\x20'+this[_0xcde11c(_0x209fa8._0x108b71)+_0xcde11c(0xacb)]),_0x46dd2d[_0xcde11c(_0x209fa8._0x2ddb29)](this[_0xcde11c(0x664)+_0xcde11c(0x1e9)+'e'],null)&&(_0x3acc39+='\x20OFFS'+_0xcde11c(_0x209fa8._0x55a6c8)+this[_0xcde11c(0x664)+_0xcde11c(0x1e9)+'e']),this['union'+_0xcde11c(_0x209fa8._0x304269)+'es'][_0xcde11c(0x4b2)+'h']>0x9cd+-0x1*-0x1133+0x30*-0x90&&this[_0xcde11c(_0x209fa8._0x1bbf24)+_0xcde11c(_0x209fa8._0x304269)+'es']['forEa'+'ch'](_0x50318a=>{const _0x366bb3=_0xcde11c,{sql:_0x3bedbc,params:_0x3e95d2}=_0x50318a['toSQL']();_0x3acc39+=_0x366bb3(0x2e9)+'N\x20'+_0x3bedbc,_0x36a8d3[_0x366bb3(_0x3f8e53._0x3c1c7e)](..._0x3e95d2);}),{'sql':_0x3acc39,'params':_0x36a8d3};}['build'+'Condi'+_0x441e35(0xb76)](_0x58c21f){const _0x2a784d={_0x1a0a26:0x732,_0xeff00b:0x8c9,_0x1bafe1:0x9b8,_0x194e05:0x8b5,_0x37e50f:0x269,_0xd274f8:0x231,_0x54813f:0x7d7,_0xe3cb6d:0x737,_0x47020c:0x932,_0x311c18:0x7d7,_0x2e51b5:0xac9,_0x4fcd6c:0xac9},_0x4ed001=_0x441e35,_0x4a8938={'QhBKr':'BETWE'+'EN','VDOmi':_0x4ed001(_0x2a784d._0x1a0a26)+_0x4ed001(0x5a2)+'N','JeaeW':_0x4ed001(0x6a2)+'LL','UOuGg':'IS\x20NO'+_0x4ed001(0x7e5)+'L','WMnDB':_0x4ed001(_0x2a784d._0xeff00b)+_0x4ed001(_0x2a784d._0x1bafe1),'MjLLM':function(_0x397378,_0x194ee8){return _0x397378 instanceof _0x194ee8;}},{field:_0x1d6b2b,operator:_0x51cc21,value:_0x42ddaf}=_0x58c21f,_0x3ec086=[];switch(_0x51cc21[_0x4ed001(_0x2a784d._0x194e05)+_0x4ed001(0x5ea)+'e']()){case'IN':case'NOT\x20I'+'N':const _0xba495e=_0x42ddaf[_0x4ed001(_0x2a784d._0x37e50f)](()=>'?')[_0x4ed001(_0x2a784d._0xd274f8)](',\x20');return _0x3ec086[_0x4ed001(_0x2a784d._0x54813f)](..._0x42ddaf),{'clause':_0x1d6b2b+'\x20'+_0x51cc21+'\x20('+_0xba495e+')','conditionParams':_0x3ec086};case _0x4a8938[_0x4ed001(_0x2a784d._0xe3cb6d)]:case _0x4a8938[_0x4ed001(_0x2a784d._0x47020c)]:return _0x3ec086[_0x4ed001(_0x2a784d._0x311c18)](_0x42ddaf[0x1*0x1103+0x10*-0x137+0x26d],_0x42ddaf[-0x2699*0x1+-0x269d*0x1+0x4d37]),{'clause':_0x1d6b2b+'\x20'+_0x51cc21+(_0x4ed001(0x7cb)+'D\x20?'),'conditionParams':_0x3ec086};case _0x4a8938['JeaeW']:case _0x4a8938[_0x4ed001(0x3c7)]:return{'clause':_0x1d6b2b+'\x20'+_0x51cc21,'conditionParams':[]};case'EXIST'+'S':case _0x4a8938[_0x4ed001(0x782)]:const {sql:_0x36b189,params:_0x184673}=_0x42ddaf[_0x4ed001(_0x2a784d._0x2e51b5)]();return _0x3ec086[_0x4ed001(0x7d7)](..._0x184673),{'clause':_0x51cc21+'\x20('+_0x36b189+')','conditionParams':_0x3ec086};default:if(_0x4a8938['MjLLM'](_0x42ddaf,x)){const {sql:_0x4a826a,params:_0x377172}=_0x42ddaf[_0x4ed001(_0x2a784d._0x4fcd6c)]();return _0x3ec086[_0x4ed001(_0x2a784d._0x311c18)](..._0x377172),{'clause':_0x1d6b2b+'\x20'+_0x51cc21+'\x20('+_0x4a826a+')','conditionParams':_0x3ec086};}return _0x3ec086[_0x4ed001(0x7d7)](_0x42ddaf),{'clause':_0x1d6b2b+'\x20'+_0x51cc21+'\x20?','conditionParams':_0x3ec086};}}async[_0x441e35(0xc0c)](){const _0x187d08={_0x55d38c:0x6bd,_0x2b6e69:0x581,_0x61e19a:0xbb4,_0xfe386a:0x692,_0xe8962e:0xa5d,_0x4d5b66:0xac9,_0x5b6bac:0x50a},_0x5c9f3b=_0x441e35,_0x5ac2c1={'dWJGz':_0x5c9f3b(0x3b9)+_0x5c9f3b(_0x187d08._0x55d38c)+_0x5c9f3b(0x3a2)+_0x5c9f3b(0xad1)+_0x5c9f3b(_0x187d08._0x2b6e69)+_0x5c9f3b(0x22b)+_0x5c9f3b(_0x187d08._0x61e19a)+'cutio'+'n'};if(!this[_0x5c9f3b(_0x187d08._0xfe386a)])throw new Error(_0x5ac2c1[_0x5c9f3b(_0x187d08._0xe8962e)]);const {sql:_0x1bc8a1,params:_0x4cb244}=this[_0x5c9f3b(_0x187d08._0x4d5b66)]();return(await this['dao'][_0x5c9f3b(_0x187d08._0x5b6bac)+'te'](_0x1bc8a1,_0x4cb244))['rows'];}async[_0x441e35(0xb49)](){const _0x32dcf3={_0x4e86e7:0x7a2,_0x31ca57:0xc0c,_0x2b6b16:0x4b2},_0x5613c8=_0x441e35;this[_0x5613c8(_0x32dcf3._0x4e86e7)](-0x18e8+0xd66+0xb83);const _0x2256a9=await this[_0x5613c8(_0x32dcf3._0x31ca57)]();return _0x2256a9[_0x5613c8(_0x32dcf3._0x2b6b16)+'h']>-0x17cd+0x1897+-0xca*0x1?_0x2256a9[0x2*0x97c+-0x1*0x218c+-0x3*-0x4dc]:null;}async['pluck'](_0x1a0450){const _0x17f44e={_0x534c15:0x269},_0x2a5bc1=_0x441e35;return this[_0x2a5bc1(0x536)+'t'](_0x1a0450),(await this['get']())[_0x2a5bc1(_0x17f44e._0x534c15)](_0x15916e=>_0x15916e[_0x1a0450]);}async[_0x441e35(0xbff)+'s'](){const _0xb612d9={_0x5929f1:0x4b2},_0x848eeb=_0x441e35;return this['selec'+'t']('1')[_0x848eeb(0x7a2)](0x67d+-0x1387*-0x1+-0x1a03),(await this['get']())[_0x848eeb(_0xb612d9._0x5929f1)+'h']>-0x1*-0x1497+0x1*0x28b+-0x2*0xb91;}async[_0x441e35(0xb45)+_0x441e35(0x6eb)+'t'](){const _0xdc7a64={_0x52b277:0xb49},_0x453b64=_0x441e35;this['count']();const _0x485205=await this[_0x453b64(_0xdc7a64._0x52b277)]();return _0x485205?_0x485205[_0x453b64(0xb45)]:0x93c+-0x26e8+0x1dac;}static['inser'+'t'](_0x2548b2,_0x581d44){const _0x1c4c03={_0x50e306:0x231,_0x2458a5:0x231},_0x171d40=_0x441e35,_0xb04644=Object['keys'](_0x581d44),_0x5b2a58=Object[_0x171d40(0x4c5)+'s'](_0x581d44),_0x230b4c=_0x5b2a58[_0x171d40(0x269)](()=>'?')[_0x171d40(_0x1c4c03._0x50e306)](',\x20');return{'sql':_0x171d40(0x275)+_0x171d40(0x22d)+'O\x20'+_0x2548b2+'\x20('+_0xb04644[_0x171d40(_0x1c4c03._0x2458a5)](',\x20')+(')\x20VAL'+_0x171d40(0xc30))+_0x230b4c+')','params':_0x5b2a58};}static[_0x441e35(0x53e)+'tMany'](_0x14190b,_0x512e5f){const _0x3f5c1a={_0x407742:0xb91,_0x199e02:0xb82,_0x1879cd:0x231,_0xaad930:0x269,_0x11a934:0x231,_0x5117ee:0x35a,_0xce9a7e:0x22d,_0x90b9af:0x444},_0x539a97=_0x441e35;if(_0x512e5f[_0x539a97(0x4b2)+'h']===0xaa5+0x1dfc+-0x28a1)throw new Error('Data\x20'+_0x539a97(_0x3f5c1a._0x407742)+_0x539a97(0x6ee)+_0x539a97(_0x3f5c1a._0x199e02)+_0x539a97(0x76d)+'y');const _0x49b786=Object[_0x539a97(0x54f)](_0x512e5f[-0xc5*-0x10+0xfdc+-0x1c2c]),_0x4d98d7=_0x49b786[_0x539a97(0x269)](()=>'?')[_0x539a97(_0x3f5c1a._0x1879cd)](',\x20'),_0x24c412=_0x512e5f[_0x539a97(_0x3f5c1a._0xaad930)](()=>'('+_0x4d98d7+')')[_0x539a97(_0x3f5c1a._0x11a934)](',\x20'),_0x44e93c=_0x512e5f[_0x539a97(_0x3f5c1a._0x5117ee)+'ap'](_0x11f29c=>Object[_0x539a97(0x4c5)+'s'](_0x11f29c));return{'sql':_0x539a97(0x275)+_0x539a97(_0x3f5c1a._0xce9a7e)+'O\x20'+_0x14190b+'\x20('+_0x49b786[_0x539a97(_0x3f5c1a._0x11a934)](',\x20')+(_0x539a97(0xa36)+_0x539a97(_0x3f5c1a._0x90b9af))+_0x24c412,'params':_0x44e93c};}static[_0x441e35(0x4fa)+'e'](_0x5b7a5e,_0x19f7bd,_0x525ecf,_0x596d9b=[]){const _0xf1dc7e={_0xdd4496:0x54f,_0x48bd53:0x269,_0x1f7e51:0x295,_0x31bfe7:0x725},_0x46dfaf=_0x441e35,_0x1d4709=Object[_0x46dfaf(_0xf1dc7e._0xdd4496)](_0x19f7bd)[_0x46dfaf(_0xf1dc7e._0x48bd53)](_0x51800d=>_0x51800d+_0x46dfaf(0xbe8))[_0x46dfaf(0x231)](',\x20'),_0x2af1e1=[...Object[_0x46dfaf(0x4c5)+'s'](_0x19f7bd),..._0x596d9b];return{'sql':_0x46dfaf(_0xf1dc7e._0x1f7e51)+'E\x20'+_0x5b7a5e+_0x46dfaf(_0xf1dc7e._0x31bfe7)+_0x1d4709+(_0x46dfaf(0x4da)+'E\x20')+_0x525ecf,'params':_0x2af1e1};}static[_0x441e35(0x7f1)+'e'](_0x56307b,_0x505688,_0x3cacb1=[]){const _0x355766=_0x441e35;return{'sql':_0x355766(0x74c)+_0x355766(0x5d4)+'M\x20'+_0x56307b+(_0x355766(0x4da)+'E\x20')+_0x505688,'params':_0x3cacb1};}static[_0x441e35(0xa7f)+'t'](_0x47b10b,_0x527e0b,_0x27b35c){const _0x5623b7={_0x3851fb:0x269,_0x43fea3:0x275,_0x12679d:0xc30,_0x7b9480:0x566,_0x23bea3:0x4b2,_0x292099:0x7b5,_0x1c2d4d:0x295,_0x13da13:0x714,_0x2dca71:0x643,_0x4a9e3b:0xa73},_0x134651=_0x441e35,_0xf3f6a4={'VNwbE':function(_0x4bc37c,_0x30d426){return _0x4bc37c>_0x30d426;},'SUeAy':function(_0x48ee43,_0x17e707){return _0x48ee43>_0x17e707;}},_0x405a3e=Object[_0x134651(0x54f)](_0x527e0b),_0x21be12=Object['value'+'s'](_0x527e0b),_0x5e39aa=_0x21be12[_0x134651(0x269)](()=>'?')[_0x134651(0x231)](',\x20'),_0x330c16=_0x405a3e['filte'+'r'](_0x3bcda9=>!_0x27b35c[_0x134651(0x937)+_0x134651(0x2b3)](_0x3bcda9)),_0x4d76dc=_0xf3f6a4['VNwbE'](_0x330c16[_0x134651(0x4b2)+'h'],0x14a+-0xaa9*0x1+0x95f*0x1)?_0x330c16[_0x134651(_0x5623b7._0x3851fb)](_0x45aff7=>_0x45aff7+(_0x134651(0x8a4)+_0x134651(0x5f6)+'d.')+_0x45aff7)['join'](',\x20'):'';let _0x643c04=_0x134651(_0x5623b7._0x43fea3)+_0x134651(0x22d)+'O\x20'+_0x47b10b+'\x20('+_0x405a3e[_0x134651(0x231)](',\x20')+(_0x134651(0xa36)+_0x134651(_0x5623b7._0x12679d))+_0x5e39aa+')';return _0xf3f6a4[_0x134651(_0x5623b7._0x7b9480)](_0x330c16[_0x134651(_0x5623b7._0x23bea3)+'h'],-0x19bb+0x1628+0x393)?_0x643c04+='\x20ON\x20C'+_0x134651(_0x5623b7._0x292099)+'CT('+_0x27b35c[_0x134651(0x231)](',\x20')+(')\x20DO\x20'+_0x134651(_0x5623b7._0x1c2d4d)+_0x134651(_0x5623b7._0x13da13)+'\x20')+_0x4d76dc:_0x643c04+=_0x134651(0x5d5)+_0x134651(0x7b5)+_0x134651(_0x5623b7._0x2dca71)+_0x27b35c['join'](',\x20')+(_0x134651(0x2a5)+_0x134651(_0x5623b7._0x4a9e3b)+'NG'),{'sql':_0x643c04,'params':_0x21be12};}[_0x441e35(0x816)](){const _0x37e81a={_0x10f6f4:0x6bd,_0x3751da:0xad1,_0x41b464:0x522,_0x2ee9a2:0xbf0,_0x3c1328:0xcab,_0x2a3e6a:0x692,_0x49e889:0x828,_0x2dad94:0x33f,_0x2651ef:0x33f,_0x533f27:0x3dc,_0x104a21:0x796,_0x272679:0x5a7,_0x557af4:0x7a2,_0x289fc6:0x812,_0x36be6d:0x20b,_0x2d7d28:0x7da,_0x123ec0:0x651,_0x673f15:0x58a,_0x31e51e:0x651},_0xd99cea=_0x441e35;if(!this[_0xd99cea(0x692)])throw new Error('DAO\x20i'+_0xd99cea(_0x37e81a._0x10f6f4)+_0xd99cea(0x3a2)+_0xd99cea(_0x37e81a._0x3751da)+_0xd99cea(0x581)+_0xd99cea(_0x37e81a._0x41b464)+_0xd99cea(_0x37e81a._0x2ee9a2)+_0xd99cea(0xc17)+_0xd99cea(_0x37e81a._0x3c1328)+'r');const _0x32efb2=new x(this[_0xd99cea(_0x37e81a._0x2a3e6a)]);return _0x32efb2[_0xd99cea(0x828)+'Name']=this[_0xd99cea(_0x37e81a._0x49e889)+_0xd99cea(0x3a7)],_0x32efb2[_0xd99cea(0x536)+_0xd99cea(0x803)+'ds']=[...this[_0xd99cea(0x536)+_0xd99cea(0x803)+'ds']],_0x32efb2['joinC'+_0xd99cea(0x7af)+'s']=[...this[_0xd99cea(0xbf4)+_0xd99cea(0x7af)+'s']],_0x32efb2[_0xd99cea(0x545)+_0xd99cea(_0x37e81a._0x2dad94)+'tions']=[...this['where'+_0xd99cea(_0x37e81a._0x2651ef)+_0xd99cea(0xa28)]],_0x32efb2[_0xd99cea(0x455)+_0xd99cea(0x5a7)+_0xd99cea(0x3dc)]=[...this[_0xd99cea(0x455)+_0xd99cea(0x5a7)+_0xd99cea(_0x37e81a._0x533f27)]],_0x32efb2['havin'+_0xd99cea(0x796)+'ition'+'s']=[...this[_0xd99cea(0x492)+_0xd99cea(_0x37e81a._0x104a21)+_0xd99cea(0x247)+'s']],_0x32efb2['order'+_0xd99cea(_0x37e81a._0x272679)+_0xd99cea(0x3dc)]=[...this[_0xd99cea(0x510)+'ByFie'+_0xd99cea(0x3dc)]],_0x32efb2[_0xd99cea(_0x37e81a._0x557af4)+_0xd99cea(0xacb)]=this['limit'+'Value'],_0x32efb2[_0xd99cea(0x664)+'tValu'+'e']=this[_0xd99cea(0x664)+'tValu'+'e'],_0x32efb2[_0xd99cea(_0x37e81a._0x289fc6)+_0xd99cea(0x20b)+'es']=[...this[_0xd99cea(_0x37e81a._0x289fc6)+_0xd99cea(_0x37e81a._0x36be6d)+'es']],_0x32efb2[_0xd99cea(_0x37e81a._0x2d7d28)+'eries']=[...this[_0xd99cea(0x7da)+_0xd99cea(_0x37e81a._0x123ec0)]],_0x32efb2[_0xd99cea(0x58a)+_0xd99cea(0x651)]=new Map(this[_0xd99cea(_0x37e81a._0x673f15)+_0xd99cea(_0x37e81a._0x31e51e)]),_0x32efb2;}['toRaw'+'SQL'](){const _0x3ad215={_0x2ae192:0x950,_0x22c374:0x93c,_0x318668:0x304},_0x58923e={_0x540251:0xbfb,_0x19bed0:0xbfb,_0xbe02ea:0x4ae},_0x4256c9=_0x441e35,_0x3f5320={'VXads':function(_0x5afdcb,_0x1ff00e){return _0x5afdcb==_0x1ff00e;},'itZJC':_0x4256c9(_0x3ad215._0x2ae192)+'g','xNWmB':function(_0x548896,_0x570369){return _0x548896==_0x570369;},'eEOwd':_0x4256c9(_0x3ad215._0x22c374)},{sql:_0x5b28b3,params:_0x27adbf}=this['toSQL']();let _0xcae6a=_0x5b28b3;return _0x27adbf[_0x4256c9(_0x3ad215._0x318668)+'ch'](_0x3eeec5=>{const _0x548591=_0x4256c9;_0x3f5320[_0x548591(0x392)](typeof _0x3eeec5,_0x3f5320['itZJC'])?_0xcae6a=_0xcae6a[_0x548591(_0x58923e._0x540251)+'ce']('?','\x27'+_0x3eeec5[_0x548591(_0x58923e._0x19bed0)+'ce'](/'/g,'\x27\x27')+'\x27'):_0x3f5320[_0x548591(0x965)](_0x3eeec5,null)?_0xcae6a=_0xcae6a['repla'+'ce']('?',_0x3f5320[_0x548591(_0x58923e._0xbe02ea)]):_0xcae6a=_0xcae6a['repla'+'ce']('?',String(_0x3eeec5));}),_0xcae6a;}[_0x441e35(0x1f3)+'in'](){const _0x1ed9df={_0x517a1c:0xc1a,_0xc24433:0xcad},_0x54b0b7=_0x441e35,_0x4e5228={'bxdGu':function(_0x7a2ea8,_0xeadfe3){return _0x7a2ea8+_0xeadfe3;}};return this[_0x54b0b7(0x536)+_0x54b0b7(0x803)+'ds']=[_0x4e5228[_0x54b0b7(_0x1ed9df._0x517a1c)](_0x54b0b7(0x6a8)+_0x54b0b7(0x446)+_0x54b0b7(_0x1ed9df._0xc24433)+_0x54b0b7(0x635),this[_0x54b0b7(0x536)+'tFiel'+'ds'][_0x54b0b7(0x231)](',\x20'))],this;}}class M{[_0x441e35(0xa0c)+_0x441e35(0xa2d)+'L'](_0x128d62){const _0x2dba29=_0x441e35;return _0x128d62[_0x2dba29(0x2df)]();}['bindP'+_0x441e35(0x47d)+'ters'](_0x121af3,_0x544132){const _0x536999={_0x52704c:0xbfb},_0x352914={_0x1187a8:0x4b2,_0x2fceda:0x8d3},_0x55fa9b=_0x441e35,_0x26ae0d={'SRBjf':_0x55fa9b(0x950)+'g','awBQE':function(_0x4f597d,_0x23f8cc){return _0x4f597d(_0x23f8cc);}};if(!_0x544132||_0x544132[_0x55fa9b(0x4b2)+'h']===0x14dc+0xf*-0x11f+0x45*-0xf)return _0x121af3;let _0x1630b4=0x17d5+-0xcb*0x1e+-0xb;return _0x121af3[_0x55fa9b(_0x536999._0x52704c)+'ce'](/\?/g,()=>{const _0x6e62de=_0x55fa9b;if(_0x1630b4<_0x544132[_0x6e62de(_0x352914._0x1187a8)+'h']){const _0x4a1f52=_0x544132[_0x1630b4++];return typeof _0x4a1f52==_0x26ae0d[_0x6e62de(0xce8)]?'\x27'+_0x4a1f52['repla'+'ce'](/'/g,'\x27\x27')+'\x27':_0x4a1f52==null?_0x6e62de(0x93c):_0x26ae0d[_0x6e62de(_0x352914._0x2fceda)](String,_0x4a1f52);}return'?';});}}const w=D(A[_0x441e35(0x371)+_0x441e35(0xc41)+_0x441e35(0x432)]);class se extends M{constructor(){const _0x488e7f={_0x5d815a:0x34c,_0x3c4105:0x4ea},_0x29f9a7=_0x441e35;super(...arguments),this[_0x29f9a7(_0x488e7f._0x5d815a)+_0x29f9a7(_0x488e7f._0x3c4105)]=null;}async[_0x441e35(0x869)+_0x441e35(0x5c5)+'d'](){const _0x251cc5={_0x136564:0xb30,_0x51005c:0x25b,_0x11b4ce:0xb90,_0x15f0d5:0x4df,_0x5a34e1:0xb90,_0xd2577d:0x64d},_0x53b69e=_0x441e35,_0x3787a6={'Vxnpv':function(_0x5aca0b,_0x43ec6b){return _0x5aca0b!=_0x43ec6b;},'plLpx':'Node.'+_0x53b69e(_0x251cc5._0x136564)+'viron'+'ment\x20'+'not\x20d'+'etect'+'ed'};try{return typeof process!=_0x53b69e(0x523)+'ined'&&_0x3787a6['Vxnpv'](process[_0x53b69e(_0x251cc5._0x51005c)+_0x53b69e(_0x251cc5._0x11b4ce)],null)&&_0x3787a6[_0x53b69e(_0x251cc5._0x15f0d5)](process['versi'+_0x53b69e(_0x251cc5._0x5a34e1)][_0x53b69e(0x217)],null);}catch(_0x292ee6){return w[_0x53b69e(_0x251cc5._0xd2577d)](_0x3787a6[_0x53b69e(0x202)],_0x292ee6),!(-0x88d*0x3+-0x7*-0x4e5+-0x89b);}}async[_0x441e35(0x904)+_0x441e35(0x98b)+'Sqlit'+'e3'](){const _0x220811={_0x26b934:0xabb,_0x501767:0xc34,_0x27095f:0xba2,_0x1ab982:0x34c,_0x49ff7b:0x391,_0x593169:0xa63,_0x1c75de:0x85c,_0xe02ac4:0x673,_0x4222ab:0x495,_0x4c4dda:0x3ed,_0x54377e:0xae6,_0x4fbeb8:0xb28,_0x28c96d:0x637,_0x406a61:0x554,_0x4c0cff:0xba2,_0xabfffd:0x48c,_0x50a27c:0xba2,_0x5ce4f7:0x805,_0x2d5f30:0x487,_0xc8c877:0xbd6,_0x49459a:0x3d5},_0x481ad1=_0x441e35,_0x5dc4ed={'KQplF':function(_0x27c484,_0x49d145){return _0x27c484!==_0x49d145;},'yVoQh':'WeVht','NAkSA':_0x481ad1(_0x220811._0x26b934)+'d\x20to\x20'+_0x481ad1(_0x220811._0x501767)+_0x481ad1(0x554)+_0x481ad1(_0x220811._0x27095f)+'ite3'};if(this[_0x481ad1(_0x220811._0x1ab982)+'ase'])return this[_0x481ad1(0x34c)+_0x481ad1(0x4ea)];try{if(_0x5dc4ed[_0x481ad1(0x452)](_0x5dc4ed[_0x481ad1(0x391)],_0x5dc4ed[_0x481ad1(_0x220811._0x49ff7b)]))return _0xa37c3a[_0x481ad1(0x64d)](_0x481ad1(_0x220811._0x593169)+_0x481ad1(0xc24)+_0x481ad1(_0x220811._0x1c75de)+_0x481ad1(_0x220811._0xe02ac4)+_0x481ad1(0x9e4)+'s',{'schemaName':this[_0x481ad1(_0x220811._0x4222ab)+_0x481ad1(_0x220811._0x4c4dda)],'tableName':this[_0x481ad1(0x828)+_0x481ad1(0x3a7)],'previousFields':this[_0x481ad1(_0x220811._0x54377e)+_0x481ad1(_0x220811._0x4fbeb8)+_0x481ad1(_0x220811._0x28c96d)+'s'],'newFields':_0x574678}),this['prima'+'ryKey'+_0x481ad1(0x637)+'s']=_0x1979b7,this;else{const _0xbb28cb=(await import(_0x481ad1(_0x220811._0x406a61)+_0x481ad1(_0x220811._0x4c0cff)+_0x481ad1(0x89e)))[_0x481ad1(0x222)+'lt'];return this[_0x481ad1(_0x220811._0x1ab982)+_0x481ad1(0x4ea)]=_0xbb28cb,_0xbb28cb;}}catch(_0x7069ce){throw w[_0x481ad1(0x850)](_0x5dc4ed[_0x481ad1(_0x220811._0xabfffd)],_0x7069ce),new Error('bette'+_0x481ad1(_0x220811._0x50a27c)+_0x481ad1(_0x220811._0x5ce4f7)+_0x481ad1(0x7dd)+_0x481ad1(_0x220811._0x2d5f30)+_0x481ad1(0xa13)+'e\x20in\x20'+_0x481ad1(_0x220811._0xc8c877)+'envir'+_0x481ad1(_0x220811._0x49459a)+'t');}}async['conne'+'ct'](_0x1fe830){const _0x5e5bfb={_0xb7da9b:0x221,_0x1e115e:0x649,_0x1eea0e:0x2d7,_0x1c29af:0x4dd,_0x2b2a19:0x325,_0x3fd205:0x6f0,_0x554579:0x96a,_0x22b17b:0x998,_0x51f0ae:0x869,_0x42d6c2:0x5c5,_0x5e3524:0x4de,_0x4a688f:0x9f0,_0xd671b8:0x79a,_0x2ff4d8:0x628,_0x45c72d:0xa9e,_0x92cdd1:0x647,_0x2fb0e3:0xbee,_0x1592c9:0x64d,_0x5c59d9:0x25c,_0xed4bf1:0x850,_0x422f21:0x83d,_0x157b36:0xbd7,_0x3fe9f9:0xadf},_0x2f4e56=_0x441e35,_0x555b9c={'XqMpY':_0x2f4e56(_0x5e5bfb._0xb7da9b)+_0x2f4e56(0x820)+_0x2f4e56(0x9d6)+_0x2f4e56(_0x5e5bfb._0x1e115e)};w[_0x2f4e56(_0x5e5bfb._0x1eea0e)](_0x2f4e56(_0x5e5bfb._0x1c29af)+_0x2f4e56(_0x5e5bfb._0x2b2a19)+_0x2f4e56(_0x5e5bfb._0x3fd205)+_0x2f4e56(_0x5e5bfb._0x554579)+_0x2f4e56(_0x5e5bfb._0x22b17b)+_0x1fe830);try{if(!await this[_0x2f4e56(_0x5e5bfb._0x51f0ae)+_0x2f4e56(_0x5e5bfb._0x42d6c2)+'d']())throw new Error(_0x2f4e56(_0x5e5bfb._0x5e3524)+'js\x20en'+_0x2f4e56(_0x5e5bfb._0x4a688f)+'ment\x20'+_0x2f4e56(0x7dd)+_0x2f4e56(0x421)+_0x2f4e56(_0x5e5bfb._0x42d6c2)+'d');const _0x558dd2=await this[_0x2f4e56(0x904)+_0x2f4e56(0x98b)+_0x2f4e56(_0x5e5bfb._0xd671b8)+'e3'](),_0x489206=new _0x558dd2(_0x1fe830,{});return _0x489206[_0x2f4e56(0x800)+'a'](_0x555b9c[_0x2f4e56(_0x5e5bfb._0x2ff4d8)]),_0x489206[_0x2f4e56(0x800)+'a'](_0x2f4e56(_0x5e5bfb._0x45c72d)+_0x2f4e56(0x541)+_0x2f4e56(_0x5e5bfb._0x92cdd1)+_0x2f4e56(_0x5e5bfb._0x2fb0e3)),w[_0x2f4e56(_0x5e5bfb._0x1592c9)]('Conne'+_0x2f4e56(0x9c3)+_0x2f4e56(_0x5e5bfb._0x5c59d9)+_0x2f4e56(0xaad)+_0x2f4e56(0xae0)+_0x1fe830,_0x489206),new re(_0x489206);}catch(_0x31f226){throw w[_0x2f4e56(_0x5e5bfb._0xed4bf1)](_0x2f4e56(0xabb)+_0x2f4e56(_0x5e5bfb._0x422f21)+'conne'+_0x2f4e56(_0x5e5bfb._0x157b36)+_0x2f4e56(0x281)+'base:'+'\x20'+_0x1fe830,_0x31f226),new Error(_0x2f4e56(0xabb)+_0x2f4e56(0x83d)+_0x2f4e56(0x8f3)+_0x2f4e56(0xbd7)+_0x2f4e56(0x281)+_0x2f4e56(_0x5e5bfb._0x3fe9f9)+'\x20'+_0x31f226);}}}const V=_0x2e24c2=>_0x2e24c2['map'](_0x25f616=>{const _0x24eca9={_0x20b7e2:0x456,_0x35bc5f:0xc9c,_0x1f2491:0x2a3,_0x54a8b2:0x4bf,_0x2ce221:0xa52,_0x2420bc:0x7d8,_0x444254:0x5fc},_0x1cf56c=_0x441e35,_0x272b64={'QCUvR':function(_0x11e209,_0x48a0ec){return _0x11e209!==_0x48a0ec;}};if(typeof _0x25f616==_0x1cf56c(0x21b)+'an')return _0x25f616?-0xf10+0x1105*-0x1+0x2016:-0x1*-0xa93+-0x47*-0x73+-0x2a78;if(_0x25f616===void(0x1bb8+0x197d+0x35*-0x101))return null;if(_0x25f616 instanceof Date)return _0x25f616[_0x1cf56c(_0x24eca9._0x20b7e2)+_0x1cf56c(_0x24eca9._0x35bc5f)+'g']();if(typeof _0x25f616==_0x1cf56c(0x5dc)+'t'&&_0x272b64[_0x1cf56c(_0x24eca9._0x1f2491)](_0x25f616,null))throw new Error(_0x1cf56c(_0x24eca9._0x54a8b2)+_0x1cf56c(_0x24eca9._0x2ce221)+'d\x20obj'+_0x1cf56c(_0x24eca9._0x2420bc)+_0x1cf56c(_0x24eca9._0x444254)+'\x20'+JSON['strin'+_0x1cf56c(0x7ae)](_0x25f616));return _0x25f616;});let re=class{constructor(_0x201e78){this['db']=_0x201e78;}['getQu'+'eryTy'+'pe'](_0x5e0464){const _0x483a88={_0x2be10e:0x960,_0x199119:0xb3e,_0x45d56f:0x585,_0x39b1f0:0x3a4,_0x4add13:0x585},_0x47d3ac=_0x441e35,_0x45e41d={'mPPMP':'SELEC'+'T','zIcrP':_0x47d3ac(0x30e)+'A','VZrHZ':_0x47d3ac(_0x483a88._0x2be10e)+'Y'},_0x43aeae=_0x5e0464['trim']()[_0x47d3ac(0x8b5)+_0x47d3ac(0x5ea)+'e']();return _0x43aeae[_0x47d3ac(_0x483a88._0x199119)+_0x47d3ac(_0x483a88._0x45d56f)](_0x47d3ac(_0x483a88._0x39b1f0)+'T')?_0x45e41d['mPPMP']:_0x43aeae['start'+_0x47d3ac(_0x483a88._0x4add13)]('PRAGM'+'A')?_0x45e41d[_0x47d3ac(0x336)]:_0x45e41d['VZrHZ'];}async[_0x441e35(0x50a)+'te'](_0x2d388d,_0x181b4a=[]){const _0x2ab9d1={_0x5a78b8:0x49d,_0x5d0260:0x996,_0x406594:0xb2f,_0x35da90:0x3a4,_0x54b9bb:0x30e,_0x3354db:0xc7f,_0x59c83e:0xb7a,_0x4d4404:0x9c2,_0x35a07b:0x3a5,_0x26d46a:0x64d,_0xef4853:0x535,_0x5207a6:0xb6c,_0x2494ee:0xcdc,_0xb4260a:0xa76,_0xe47264:0x64d,_0x380e50:0x79c,_0x251ad7:0x284,_0x2cb9ec:0xb38,_0x130ae1:0x667,_0x2d7e1c:0x6d8,_0x28f5c3:0x937,_0x320d99:0x50f,_0x3d0164:0x4d9,_0x15182e:0x985,_0x369664:0x30e,_0x5d88ae:0x73e,_0x519aec:0x59d,_0x3b1697:0x6d4,_0xbc73bb:0x59a,_0x6ef9b5:0x900,_0x1d6e45:0x669},_0x434e6f=_0x441e35,_0x4eaccc={'PnOQB':_0x434e6f(_0x2ab9d1._0x5a78b8)+_0x434e6f(0xae2)+_0x434e6f(_0x2ab9d1._0x5d0260)+_0x434e6f(0x491)+_0x434e6f(_0x2ab9d1._0x406594)+_0x434e6f(0x807)+_0x434e6f(0x381),'rMVBZ':function(_0x70d647,_0xddb145){return _0x70d647(_0xddb145);},'akmjw':_0x434e6f(_0x2ab9d1._0x35da90)+'T','wzriS':_0x434e6f(_0x2ab9d1._0x54b9bb)+'A','dCOFv':_0x434e6f(_0x2ab9d1._0x54b9bb)+_0x434e6f(_0x2ab9d1._0x3354db)+_0x434e6f(_0x2ab9d1._0x59c83e),'chZcn':_0x434e6f(0x32c),'cBUen':_0x434e6f(0x960)+'Y','VGUte':_0x434e6f(0x2f3)+_0x434e6f(_0x2ab9d1._0x4d4404)+_0x434e6f(_0x2ab9d1._0x35a07b)+_0x434e6f(0x9f8)+':'};var _0x5bd079;w[_0x434e6f(_0x2ab9d1._0x26d46a)]('NodeJ'+_0x434e6f(0xae2)+_0x434e6f(_0x2ab9d1._0x5d0260)+_0x434e6f(0x491)+_0x434e6f(0xb2f)+_0x434e6f(0x839)+':',_0x2d388d),w[_0x434e6f(0x64d)](_0x4eaccc[_0x434e6f(0xa04)],_0x181b4a);try{const _0x6f801d=_0x4eaccc[_0x434e6f(_0x2ab9d1._0xef4853)](V,_0x181b4a);w[_0x434e6f(0x64d)](_0x434e6f(0x6a9)+_0x434e6f(0x5fd)+_0x434e6f(0x3f6)+'ms:',_0x6f801d);const _0x458c5c=this[_0x434e6f(0x40c)+_0x434e6f(_0x2ab9d1._0x5207a6)+'pe'](_0x2d388d),_0x48eb87=this['db'][_0x434e6f(_0x2ab9d1._0x2494ee)+'re'](_0x2d388d);switch(_0x458c5c){case _0x4eaccc[_0x434e6f(_0x2ab9d1._0xb4260a)]:{const _0x4920ee=_0x48eb87['all'](..._0x6f801d);return w[_0x434e6f(_0x2ab9d1._0xe47264)](_0x434e6f(0x9d8)+_0x434e6f(_0x2ab9d1._0x380e50)+'\x20resu'+_0x434e6f(_0x2ab9d1._0x251ad7),_0x4920ee),{'rows':_0x4920ee||[],'rowsAffected':0x0};}case _0x4eaccc[_0x434e6f(_0x2ab9d1._0x2cb9ec)]:try{const _0x17b907=_0x48eb87[_0x434e6f(0xb7b)](..._0x6f801d);return w[_0x434e6f(0x64d)](_0x4eaccc[_0x434e6f(_0x2ab9d1._0x130ae1)],_0x17b907),{'rows':_0x17b907||[],'rowsAffected':0x0,'lastInsertRowId':0x0};}catch(_0x34171a){if(!((_0x5bd079=_0x34171a[_0x434e6f(_0x2ab9d1._0x2d7e1c)+'ge'])===null||_0x5bd079===void(-0x61d+0x16d0+0x3*-0x591))&&_0x5bd079[_0x434e6f(_0x2ab9d1._0x28f5c3)+'des'](_0x434e6f(0x699)+_0x434e6f(_0x2ab9d1._0x320d99)+_0x434e6f(_0x2ab9d1._0x3d0164)+'\x20data')){if('XsWrC'===_0x4eaccc[_0x434e6f(_0x2ab9d1._0x15182e)])this['tx']=_0x520beb;else{const _0x1cb62c=_0x48eb87[_0x434e6f(0x59d)](..._0x6f801d);return w[_0x434e6f(0x64d)](_0x434e6f(_0x2ab9d1._0x369664)+_0x434e6f(_0x2ab9d1._0x5d88ae)+'cutio'+'n\x20res'+_0x434e6f(0xb7a),_0x1cb62c),{'rows':[],'rowsAffected':0x0,'lastInsertRowId':0x0};}}throw _0x34171a;}case _0x4eaccc[_0x434e6f(0x942)]:default:{const _0x288b10=_0x48eb87[_0x434e6f(_0x2ab9d1._0x519aec)](..._0x6f801d);return w[_0x434e6f(0x64d)](_0x4eaccc[_0x434e6f(0x6a4)],{'changes':_0x288b10[_0x434e6f(_0x2ab9d1._0x3b1697)+'es'],'lastInsertRowid':_0x288b10[_0x434e6f(0x45d)+_0x434e6f(0x74a)+_0x434e6f(0xb62)]}),{'rows':[],'rowsAffected':_0x288b10['chang'+'es']||-0x883*-0x1+-0x2*0xdf3+0x1*0x1363,'lastInsertRowId':_0x288b10['lastI'+_0x434e6f(0x74a)+_0x434e6f(0xb62)]||void(0x2*-0x113d+0x22a1+-0x27)};}}}catch(_0xb35c92){throw(!_0xb35c92[_0x434e6f(0x6d8)+'ge']||_0xb35c92[_0x434e6f(0x6d8)+'ge'][_0x434e6f(_0x2ab9d1._0xbc73bb)+'Of']('_sche'+_0x434e6f(_0x2ab9d1._0x6ef9b5)+'fo')===-(-0x1*-0x134f+0x1d0b+-0x3059))&&w['error']('SQL\x20e'+_0x434e6f(0x9c2)+'ion\x20f'+_0x434e6f(0x7e9),{'code':_0xb35c92[_0x434e6f(_0x2ab9d1._0x1d6e45)],'message':_0xb35c92[_0x434e6f(0x6d8)+'ge']}),_0xb35c92;}}async[_0x441e35(0xac1)](){const _0x12ca8e={_0x466a64:0x6ba,_0x917edd:0x6a7,_0x1d878e:0x8d1,_0x239f99:0x93a,_0x34d431:0xa64,_0x518a9e:0x464,_0x1aebb0:0x7f1,_0x1e1d18:0x3c5,_0x23f6dc:0x281,_0x4833d2:0x9bb,_0x3b8112:0x453,_0x1ffc76:0x3e7,_0x24e671:0xa33,_0x289611:0xca6,_0x4d4fea:0xcaa},_0x17441b=_0x441e35,_0x4e204f={'RIyeD':_0x17441b(0x34c)+_0x17441b(_0x12ca8e._0x466a64)+_0x17441b(_0x12ca8e._0x917edd)+_0x17441b(_0x12ca8e._0x1d878e)+'close'+'d','gmrtF':function(_0x2613c0,_0x37a24b){return _0x2613c0!==_0x37a24b;},'kROvK':'Close'+_0x17441b(0x532)+'r:'};try{this['db']['close'](),w[_0x17441b(0x64d)](_0x4e204f[_0x17441b(0x2cd)]);}catch(_0x5b091d){if(_0x4e204f['gmrtF']('RQRTp',_0x17441b(0x873))){var _0x286b1d,_0x54d6ca;return _0x2e088a['warn'](_0x17441b(_0x12ca8e._0x239f99)+_0x17441b(_0x12ca8e._0x34d431)+'ataba'+_0x17441b(_0x12ca8e._0x518a9e)+_0x17441b(0xb03)+_0x17441b(0x7ec)+_0x17441b(0x8aa)+'te\x20-\x20'+_0x17441b(0xbd6)+_0x17441b(0x44c)+_0x17441b(_0x12ca8e._0x1aebb0)+_0x17441b(_0x12ca8e._0x1e1d18)+_0x17441b(0xa4d)+_0x17441b(_0x12ca8e._0x23f6dc)+'base',{'databaseName':((_0x286b1d=_0x2cbd41[_0x17441b(0x3e7)+'g'])===null||_0x286b1d===void(0xc7b+-0xe*-0x141+-0x1e09)?void(-0x22ab+-0x33*-0x13+0x1*0x1ee2):_0x286b1d[_0x17441b(_0x12ca8e._0x4833d2)+_0x17441b(_0x12ca8e._0x3b8112)+'ame'])||((_0x54d6ca=_0x8efdd5[_0x17441b(_0x12ca8e._0x1ffc76)+_0x17441b(_0x12ca8e._0x24e671)+'t'])===null||_0x54d6ca===void(-0x1*-0x2614+0x1896+-0x3eaa)?void(0x3d*0x97+-0x10e2+-0x1*0x1319):_0x54d6ca[_0x17441b(0x9bb)+_0x17441b(0x453)+_0x17441b(0x9f2)])}),this[_0x17441b(0xbf5)+_0x17441b(_0x12ca8e._0x289611)+_0x17441b(_0x12ca8e._0x4d4fea)+_0x17441b(0x324)](_0x33901d,!(-0x1*-0x1599+0x3cd+-0x1*0x1966),!(0x1c9+0xf20+0x10e9*-0x1));}else throw w[_0x17441b(0x850)](_0x4e204f[_0x17441b(0x6c6)],_0x5b091d),_0x5b091d;}}async['trans'+'actio'+'n'](_0x4f4f77){const _0x1a48b2={_0x5cdec3:0x861,_0x36d2b1:0x5e2,_0x26939b:0xc2c,_0x3df75b:0xc52,_0x4d87a2:0x964,_0x38cfeb:0xb96,_0x438560:0x4a1,_0x3107d0:0x4a1,_0x9c4514:0xc2a,_0x32b745:0xb96,_0x4fd9e6:0x850},_0x8493f4=_0x441e35,_0x3690b9={'ELsSI':function(_0x1ae301){return _0x1ae301();},'FDJbG':'Trans'+_0x8493f4(0x278)+_0x8493f4(_0x1a48b2._0x5cdec3)+_0x8493f4(0x7ce)},_0x571a5c=this['db'][_0x8493f4(0x7d1)+'actio'+'n'](async()=>{await _0x4f4f77(new ie(this['db']));});try{_0x8493f4(0x46d)!==_0x8493f4(0x234)?(_0x3690b9[_0x8493f4(0xc3e)](_0x571a5c),w[_0x8493f4(0x64d)](_0x8493f4(_0x1a48b2._0x36d2b1)+'actio'+'n\x20com'+_0x8493f4(0x40e)+_0x8493f4(0x39d)+_0x8493f4(_0x1a48b2._0x26939b)+'ully')):_0x548880[_0x8493f4(_0x1a48b2._0x3df75b)+'ntCon'+_0x8493f4(_0x1a48b2._0x4d87a2)]&&_0x140733[_0x8493f4(0xc52)+_0x8493f4(_0x1a48b2._0x38cfeb)+_0x8493f4(_0x1a48b2._0x4d87a2)][_0x8493f4(_0x1a48b2._0x438560)+'es']&&(_0x328bd6[_0x8493f4(_0x1a48b2._0x3df75b)+_0x8493f4(0xb96)+_0x8493f4(0x964)][_0x8493f4(_0x1a48b2._0x3107d0)+'es'][_0x814f27]={'enabled':!(-0x1a6a+-0x24e2*0x1+0x5*0xca9)},_0x5c36d0['updat'+'eConf'+_0x8493f4(_0x1a48b2._0x9c4514)+'tion'](_0x2433de[_0x8493f4(_0x1a48b2._0x3df75b)+_0x8493f4(_0x1a48b2._0x32b745)+'fig']));}catch(_0x15f4c8){throw w[_0x8493f4(_0x1a48b2._0x4fd9e6)](_0x3690b9[_0x8493f4(0x979)],_0x15f4c8),_0x15f4c8;}}};class ie{constructor(_0x43a22c){this['db']=_0x43a22c;}[_0x441e35(0x40c)+_0x441e35(0xb6c)+'pe'](_0x277a45){const _0x48e445={_0x53ef21:0x3a4,_0x38db12:0x30e,_0x32d383:0x8b5,_0x4149cf:0x585,_0x1cd44f:0xb3e,_0x5e37e8:0x585,_0x2968aa:0xb6a,_0x3e3e9e:0x4c0},_0x1b367d=_0x441e35,_0x1082d7={'CoFBp':_0x1b367d(_0x48e445._0x53ef21)+'T','nIqUb':_0x1b367d(_0x48e445._0x38db12)+'A','IYqDD':'MODIF'+'Y'},_0x4018d2=_0x277a45['trim']()[_0x1b367d(_0x48e445._0x32d383)+'erCas'+'e']();return _0x4018d2['start'+_0x1b367d(_0x48e445._0x4149cf)](_0x1082d7['CoFBp'])?_0x1b367d(0x3a4)+'T':_0x4018d2[_0x1b367d(_0x48e445._0x1cd44f)+_0x1b367d(_0x48e445._0x5e37e8)](_0x1082d7[_0x1b367d(_0x48e445._0x2968aa)])?_0x1082d7[_0x1b367d(0xb6a)]:_0x1082d7[_0x1b367d(_0x48e445._0x3e3e9e)];}async[_0x441e35(0x50a)+'teSql'](_0x429e8d,_0x190a7c=[]){const _0x2c0719={_0x24cb9c:0x6a9,_0x36461b:0xbd8,_0x454987:0x937,_0x8b503f:0x960,_0x134954:0x6d4,_0x457747:0xb62,_0x5601e7:0x278},_0x23c5f6=_0x441e35,_0x377eb7={'vhNFV':function(_0x10e9fc,_0xb6f25b){return _0x10e9fc(_0xb6f25b);},'dBVrZ':_0x23c5f6(_0x2c0719._0x24cb9c)+'lized'+_0x23c5f6(0x3f6)+_0x23c5f6(0x237),'nHWuh':_0x23c5f6(0x699)+'not\x20r'+_0x23c5f6(0x4d9)+_0x23c5f6(0x281)};var _0x21f9f0;try{const _0x58d479=_0x377eb7[_0x23c5f6(_0x2c0719._0x36461b)](V,_0x190a7c);w[_0x23c5f6(0x64d)](_0x377eb7['dBVrZ'],_0x58d479);const _0x1fdb00=this['getQu'+_0x23c5f6(0xb6c)+'pe'](_0x429e8d),_0x2079af=this['db'][_0x23c5f6(0xcdc)+'re'](_0x429e8d);switch(_0x1fdb00){case'SELEC'+'T':return{'rows':_0x2079af['all'](..._0x58d479)||[],'rowsAffected':0x0};case _0x23c5f6(0x30e)+'A':try{return{'rows':_0x2079af[_0x23c5f6(0xb7b)](..._0x58d479)||[],'rowsAffected':0x0,'lastInsertRowId':0x0};}catch(_0xc8c170){if(!((_0x21f9f0=_0xc8c170[_0x23c5f6(0x6d8)+'ge'])===null||_0x21f9f0===void(-0x565*-0x1+0x4cb*-0x1+-0x9a))&&_0x21f9f0[_0x23c5f6(_0x2c0719._0x454987)+'des'](_0x377eb7[_0x23c5f6(0xb8f)])){const _0x4215e1=_0x2079af['run'](..._0x58d479);return{'rows':[],'rowsAffected':0x0,'lastInsertRowId':0x0};}throw _0xc8c170;}case _0x23c5f6(_0x2c0719._0x8b503f)+'Y':default:{const _0x89e9cd=_0x2079af[_0x23c5f6(0x59d)](..._0x58d479);return{'rows':[],'rowsAffected':_0x89e9cd[_0x23c5f6(_0x2c0719._0x134954)+'es']||0x195d*0x1+0xf9*0x1+0x1a56*-0x1,'lastInsertRowId':_0x89e9cd['lastI'+'nsert'+_0x23c5f6(_0x2c0719._0x457747)]||void(0x18ad+-0xf1b+-0x992)};}}}catch(_0x466f9a){throw w[_0x23c5f6(0x850)]('Trans'+_0x23c5f6(_0x2c0719._0x5601e7)+_0x23c5f6(0x593)+_0x23c5f6(0x3d9)+_0x23c5f6(0x527)+'\x20fail'+'ed',_0x466f9a),_0x466f9a;}}}const I=D(A['REACT'+_0x441e35(0x2c5)+_0x441e35(0x426)+_0x441e35(0x432)]);class ne extends M{constructor(){const _0x393015={_0x1740c4:0x7a9,_0x2d1d3d:0x588,_0x5c64c5:0x55a},_0x18bd50=_0x441e35;super(...arguments),this[_0x18bd50(_0x393015._0x1740c4)+'e']=null,this[_0x18bd50(_0x393015._0x2d1d3d)+_0x18bd50(_0x393015._0x5c64c5)]=null;}async[_0x441e35(0x869)+_0x441e35(0x5c5)+'d'](){const _0x18bc5d={_0x144024:0xcbc,_0x2bc8cf:0x285,_0x439011:0x38f,_0xad7929:0xa0d,_0x155535:0x9f0,_0x4c1d39:0xc7e,_0x52327e:0x588,_0x3f22b7:0xb32,_0x521f42:0x927,_0x40e0c2:0x6ca,_0x15b1fa:0x64d},_0x4cd148=_0x441e35,_0x232480={'VQtll':'react'+_0x4cd148(0x6b0)+'ve','Frsjv':function(_0x3e8ddf,_0x4ab4b1){return _0x3e8ddf===_0x4ab4b1;},'dLnSV':_0x4cd148(_0x18bc5d._0x144024),'qTiiz':_0x4cd148(_0x18bc5d._0x2bc8cf)+'id','PoPyB':_0x4cd148(_0x18bc5d._0x439011)+_0x4cd148(0x54b)+_0x4cd148(_0x18bc5d._0xad7929)+_0x4cd148(_0x18bc5d._0x155535)+'ment\x20'+_0x4cd148(0x1f8)+_0x4cd148(_0x18bc5d._0x4c1d39)+'ed'};try{const {Platform:_0x176d8c}=await import(_0x232480['VQtll']);return this[_0x4cd148(_0x18bc5d._0x52327e)+_0x4cd148(0x55a)]=_0x176d8c,_0x232480[_0x4cd148(_0x18bc5d._0x3f22b7)](_0x176d8c['OS'],_0x232480[_0x4cd148(_0x18bc5d._0x521f42)])||_0x176d8c['OS']===_0x232480[_0x4cd148(_0x18bc5d._0x40e0c2)];}catch(_0x4a6eec){return I[_0x4cd148(_0x18bc5d._0x15b1fa)](_0x232480['PoPyB'],_0x4a6eec),!(0x171c+-0x2053+-0x3b*-0x28);}}async['loadS'+_0x441e35(0x377)](){const _0x4e5dcd={_0x48d1b2:0x908,_0x1c01c3:0x31e,_0x12f3ea:0x7a9,_0x4b33d8:0x418,_0x4dfd1f:0xbc8,_0x131dbc:0x7a9,_0x4a0ca:0x850,_0x477b68:0x51f,_0x179f90:0x31e,_0x4b0948:0x418,_0x124874:0x36f,_0xe08e53:0xc69,_0x141770:0x758,_0x46e363:0xb78,_0x1cd07c:0x2ab},_0x2e9419=_0x441e35,_0x4ccb88={'jGXVV':_0x2e9419(0xabb)+_0x2e9419(0x83d)+_0x2e9419(0xc34)+_0x2e9419(_0x4e5dcd._0x48d1b2)+'-nati'+'ve-sq'+_0x2e9419(_0x4e5dcd._0x1c01c3)+'stora'+'ge'};if(this[_0x2e9419(_0x4e5dcd._0x12f3ea)+'e'])return this[_0x2e9419(0x7a9)+'e'];try{const _0x4fdc4a=(await import('react'+_0x2e9419(0x6b0)+_0x2e9419(0x51f)+_0x2e9419(_0x4e5dcd._0x1c01c3)+_0x2e9419(_0x4e5dcd._0x4b33d8)+'ge'))['defau'+'lt'];return _0x4fdc4a['DEBUG'](!(-0x5c*-0x52+-0x25*-0xbf+-0x3912)),_0x4fdc4a[_0x2e9419(0x946)+_0x2e9419(_0x4e5dcd._0x4dfd1f)+_0x2e9419(0x742)](!(-0x91e*0x1+0x1*-0x12e+0xa4c)),this[_0x2e9419(_0x4e5dcd._0x131dbc)+'e']=_0x4fdc4a,_0x4fdc4a;}catch(_0x5ca607){throw I[_0x2e9419(_0x4e5dcd._0x4a0ca)](_0x4ccb88['jGXVV'],_0x5ca607),new Error(_0x2e9419(_0x4e5dcd._0x48d1b2)+'-nati'+_0x2e9419(_0x4e5dcd._0x477b68)+_0x2e9419(_0x4e5dcd._0x179f90)+_0x2e9419(_0x4e5dcd._0x4b0948)+_0x2e9419(_0x4e5dcd._0x124874)+_0x2e9419(_0x4e5dcd._0xe08e53)+_0x2e9419(_0x4e5dcd._0x141770)+'able\x20'+_0x2e9419(0xaf7)+_0x2e9419(_0x4e5dcd._0x46e363)+_0x2e9419(0x9f0)+_0x2e9419(_0x4e5dcd._0x1cd07c));}}async[_0x441e35(0x8f3)+'ct'](_0x21f2ff){const _0x46fce7={_0x3302a3:0xa0d,_0x183b9:0x222,_0x1c20f9:0x96a,_0x461fff:0x64d,_0x4150bd:0x4dd,_0x5a56b0:0xaa4,_0x271d97:0x8f3,_0x892642:0xadf,_0x4de5cd:0xabb,_0x328f9f:0x83d,_0x4f2474:0xbd7,_0x4e3e6a:0xabb,_0x21c009:0xadf},_0x452654=_0x441e35,_0x3dd2e6={'bgYcB':_0x452654(0x38f)+_0x452654(0x54b)+_0x452654(_0x46fce7._0x3302a3)+'viron'+_0x452654(0x21d)+_0x452654(0x7dd)+_0x452654(0x421)+_0x452654(0x5c5)+'d','JXnpf':_0x452654(_0x46fce7._0x183b9)+'lt','AmpBT':function(_0x199a0b,_0x19fc97){return _0x199a0b!==_0x19fc97;}};try{if(!await this['isSup'+_0x452654(0x5c5)+'d']())throw new Error(_0x3dd2e6[_0x452654(0x38a)]);const _0x30991c=await(await this['loadS'+_0x452654(0x377)]())[_0x452654(0x4b1)+_0x452654(_0x46fce7._0x1c20f9)+'se']({'name':_0x21f2ff,'location':_0x3dd2e6['JXnpf']});return I[_0x452654(_0x46fce7._0x461fff)](_0x452654(_0x46fce7._0x4150bd)+'cted\x20'+_0x452654(0x25c)+_0x452654(0xaad)+'e:\x20'+_0x21f2ff,_0x30991c),new oe(_0x30991c);}catch(_0x1b8999){if(_0x3dd2e6[_0x452654(0xb43)](_0x452654(_0x46fce7._0x5a56b0),'roYCd'))throw _0x463c8b[_0x452654(0x850)](_0x452654(0xabb)+_0x452654(0x83d)+_0x452654(_0x46fce7._0x271d97)+_0x452654(0xbd7)+_0x452654(0x281)+_0x452654(_0x46fce7._0x892642)+'\x20'+_0x58b245,_0x37d231),new _0x4e236d(_0x452654(_0x46fce7._0x4de5cd)+_0x452654(0x83d)+_0x452654(0x8f3)+_0x452654(0xbd7)+_0x452654(0x281)+_0x452654(0xadf)+'\x20'+_0x22c64a);else throw I[_0x452654(0x850)](_0x452654(0xabb)+_0x452654(_0x46fce7._0x328f9f)+_0x452654(0x8f3)+_0x452654(_0x46fce7._0x4f2474)+_0x452654(0x281)+_0x452654(0xadf)+'\x20'+_0x21f2ff,_0x1b8999),new Error(_0x452654(_0x46fce7._0x4e3e6a)+_0x452654(_0x46fce7._0x328f9f)+'conne'+_0x452654(_0x46fce7._0x4f2474)+_0x452654(0x281)+_0x452654(_0x46fce7._0x21c009)+'\x20'+_0x1b8999);}}}class oe{constructor(_0x5ebdac){this['db']=_0x5ebdac;}async[_0x441e35(0x50a)+'te'](_0x5dec93,_0x1b6e4a=[]){const _0x4668b9={_0x2218a7:0x3a4,_0x3e8e8e:0x2f3,_0xeade21:0x2df,_0x292c39:0x9d8,_0x2116eb:0xa72,_0x5dcaf3:0x894,_0x218424:0x8d6,_0x37cb85:0x53e,_0x111d73:0x850,_0x53d0e4:0x2f3,_0x795d8f:0x9c2,_0x2129c2:0x5aa},_0xda3217=_0x441e35,_0x11e2a1={'ZnzMb':_0xda3217(_0x4668b9._0x2218a7)+'T','SexFU':function(_0x41ebdb,_0x5b8484){return _0x41ebdb<_0x5b8484;},'EeRQP':_0xda3217(_0x4668b9._0x3e8e8e)+'xecut'+_0xda3217(0x3a5)+_0xda3217(0x9f8)+':','lGrxa':function(_0x213fba,_0x547f22){return _0x213fba===_0x547f22;},'HTDHN':function(_0x470d4f,_0x17dd2c){return _0x470d4f===_0x17dd2c;}};var _0xf99a8f;try{if(_0x5dec93[_0xda3217(_0x4668b9._0xeade21)]()[_0xda3217(0x8b5)+_0xda3217(0x5ea)+'e']()['start'+'sWith'](_0x11e2a1[_0xda3217(0x1eb)])){const _0x5e0540=await this['db'][_0xda3217(0x50a)+_0xda3217(0xc5c)](_0x5dec93,_0x1b6e4a),_0x56a288=[];if(_0x5e0540&&_0x5e0540['lengt'+'h']>0x8*-0x3d+-0x29*-0xd8+-0x82c*0x4){const _0x342aee=_0x5e0540[0x19e4*-0x1+-0x1ea8+-0x5e*-0x9a];I[_0xda3217(0x64d)](_0xda3217(_0x4668b9._0x292c39)+'ELECT'+_0xda3217(0x64a)+'lt:',_0x342aee);for(let _0x40ee3f=-0xb95+0x2400+-0x37d*0x7;_0x11e2a1[_0xda3217(0x923)](_0x40ee3f,_0x342aee['rows'][_0xda3217(0x4b2)+'h']);_0x40ee3f++)_0x56a288[_0xda3217(0x7d7)](_0x342aee['rows'][_0xda3217(0xa39)](_0x40ee3f));I['debug']('SQL\x20S'+_0xda3217(0x79c)+_0xda3217(0x250)+':',_0x56a288);}return{'rows':_0x56a288,'rowsAffected':0x0};}else{const _0x3f26cc=await this['db']['execu'+'teSql'](_0x5dec93,_0x1b6e4a);if(_0x3f26cc&&_0x3f26cc['lengt'+'h']>0x175c+0x1*-0x270c+0xfb*0x10){const _0x5701b0=_0x3f26cc[-0x19a1+0x672*0x5+-0x1*0x699];return I['debug'](_0x11e2a1[_0xda3217(_0x4668b9._0x2116eb)],_0x5701b0),{'rows':(_0x11e2a1[_0xda3217(_0x4668b9._0x5dcaf3)](_0xf99a8f=_0x5701b0[_0xda3217(_0x4668b9._0x218424)],null)||_0x11e2a1[_0xda3217(0xbf6)](_0xf99a8f,void(0xb*0x251+-0x1403+0x8c*-0xa))?void(0x3a5+-0xf4+-0x2b1):_0xf99a8f[_0xda3217(0x7db)]())||[],'rowsAffected':_0x5701b0[_0xda3217(0x42b)+'ffect'+'ed']||-0x6a1*0x1+-0xe3a*-0x2+-0x97*0x25,'lastInsertRowId':_0x5701b0[_0xda3217(_0x4668b9._0x37cb85)+'tId']||void(-0x3b*0x65+0x2ff*0x2+0x1149)};}return{'rows':[],'rowsAffected':0x0};}}catch(_0x5e4fd4){throw I[_0xda3217(_0x4668b9._0x111d73)](_0xda3217(_0x4668b9._0x53d0e4)+_0xda3217(_0x4668b9._0x795d8f)+_0xda3217(_0x4668b9._0x2129c2)+_0xda3217(0x7e9),_0x5e4fd4),_0x5e4fd4;}}async[_0x441e35(0xac1)](){const _0x54b07e={_0x5be402:0xac1,_0x2647c8:0x850,_0x10b548:0xccf,_0x23da48:0x532},_0x3e5087=_0x441e35;try{await this['db'][_0x3e5087(_0x54b07e._0x5be402)]();}catch(_0x3d516d){throw I[_0x3e5087(_0x54b07e._0x2647c8)](_0x3e5087(_0x54b07e._0x10b548)+_0x3e5087(_0x54b07e._0x23da48)+'r:',_0x3d516d),_0x3d516d;}}async[_0x441e35(0x7d1)+_0x441e35(0x278)+'n'](_0x644ef2){const _0x282f52={_0x322292:0x33d},_0x29190b={_0x2a666c:0xc6b,_0x2a2961:0x544,_0x3ac38d:0x7d1,_0x40349d:0x278},_0x5b3ecc={_0x4fce52:0x33d,_0x54a19f:0x9c2,_0xb28f75:0x3a5,_0x3056a8:0x8d6,_0x19924e:0x7db,_0x58e0f5:0x59c,_0x271799:0x6ef},_0x3bae42=_0x441e35,_0x572c94={'XRIhX':_0x3bae42(0xb47),'HJQYP':_0x3bae42(_0x282f52._0x322292)};return new Promise((_0x4407a7,_0x46c7fe)=>{const _0x43d62f={_0x4b1539:0x88a,_0x384ab7:0x9b7,_0x5aa491:0x850,_0x4076e0:0xcfa},_0x5e3a93=_0x3bae42,_0xa428ef={'nonKD':_0x572c94[_0x5e3a93(_0x29190b._0x2a666c)],'gVpqJ':function(_0x5ee612,_0x8e33bf){return _0x5ee612(_0x8e33bf);},'ahlSO':function(_0x5de66f,_0x5c157f){return _0x5de66f===_0x5c157f;},'puQpS':function(_0x5d4b86,_0x509d58){return _0x5d4b86===_0x509d58;},'yQBGs':_0x572c94[_0x5e3a93(_0x29190b._0x2a2961)]};this['db'][_0x5e3a93(_0x29190b._0x3ac38d)+_0x5e3a93(_0x29190b._0x40349d)+'n'](async _0x1e016e=>{const _0x18fd93=_0x5e3a93;try{await _0x644ef2(new ce(_0x1e016e)),_0x4407a7();}catch(_0x5dd7bf){if(_0x18fd93(_0x43d62f._0x4b1539)===_0xa428ef[_0x18fd93(_0x43d62f._0x384ab7)])throw _0x3ec87c[_0x18fd93(_0x43d62f._0x5aa491)](_0x18fd93(_0x43d62f._0x4076e0)+'mport'+_0x18fd93(0x671)+'ed',{'databaseKey':_0x3431c6,'tableName':_0x3d497d,'error':_0x338199[_0x18fd93(0x6d8)+'ge']}),_0x15cd31;else _0xa428ef['gVpqJ'](_0x46c7fe,_0x5dd7bf);}},_0x48776f=>{const _0x233373=_0x5e3a93;if(_0xa428ef['puQpS'](_0x233373(_0x5b3ecc._0x4fce52),_0xa428ef['yQBGs']))_0xa428ef[_0x233373(0xc47)](_0x46c7fe,_0x48776f);else{const _0x590adb=_0x526e0c[-0x261a+0x2252+0x79*0x8];return _0x587286['debug']('SQL\x20e'+_0x233373(_0x5b3ecc._0x54a19f)+_0x233373(_0x5b3ecc._0xb28f75)+_0x233373(0x9f8)+':',_0x590adb),{'rows':(_0xa428ef[_0x233373(0x7d5)](_0x5ee57d=_0x590adb[_0x233373(_0x5b3ecc._0x3056a8)],null)||_0xa428ef['puQpS'](_0x1efacc,void(0x17cf*0x1+-0xb*-0x1dc+-0x3*0xec1))?void(-0x1*0x18d9+0x5a*0x6a+-0x1*0xc6b):_0xb6ec21[_0x233373(_0x5b3ecc._0x19924e)]())||[],'rowsAffected':_0x590adb[_0x233373(0x42b)+_0x233373(_0x5b3ecc._0x58e0f5)+'ed']||-0x2*0xb3e+-0x1*-0xb46+0xb36,'lastInsertRowId':_0x590adb[_0x233373(0x53e)+_0x233373(_0x5b3ecc._0x271799)]||void(0x1*0x227+0xfac+0x3*-0x5f1)};}});});}}class ce{constructor(_0x4084a4){this['tx']=_0x4084a4;}async[_0x441e35(0x50a)+'teSql'](_0x4e0979,_0x3e7db0=[]){const _0x32412d={_0x59dc4d:0x63a},_0x5d0907={_0x1e75b1:0x536,_0x4ebce0:0x803,_0x15bacc:0x966},_0xce3281={_0x28566d:0x85f,_0x238226:0x247,_0x4bcb17:0x231,_0x4d5d14:0xc2d,_0x3f073:0xa48},_0x33f903={_0x22f9cc:0x2df,_0x4735fc:0x8b5,_0x4f1299:0x5ea,_0xc7a4be:0xb3e,_0x1b3cac:0x585,_0x3903f2:0xbb9,_0x12056f:0x8d6,_0x52af1a:0x495,_0x53dccc:0x3ed,_0xc4ba85:0x3a7,_0xd6771:0x42b,_0x1b29af:0xc36},_0x1b8a02=_0x441e35,_0x2ef9d3={'mMaqV':function(_0x285ecb,_0x3addef){return _0x285ecb!==_0x3addef;},'JysDw':'SELEC'+'T','BJsan':function(_0x4d2877,_0x38e4e1){return _0x4d2877===_0x38e4e1;},'aeiIJ':_0x1b8a02(0x399),'ICGbh':'Using'+_0x1b8a02(_0x32412d._0x59dc4d)+_0x1b8a02(0x878)+_0x1b8a02(0xcf4),'IQzeZ':_0x1b8a02(0xb3c)};return new Promise((_0x5d6040,_0x37893b)=>{const _0x5c2e3a=_0x1b8a02,_0x83f7={'slItR':_0x2ef9d3['ICGbh'],'dFHCW':function(_0x39542e,_0x16295c){return _0x39542e===_0x16295c;},'gzzJk':_0x2ef9d3[_0x5c2e3a(0x47f)],'JPyhV':function(_0x2b0315,_0x685b55){return _0x2b0315(_0x685b55);}};if(_0x5c2e3a(0xc0f)===_0x5c2e3a(0x5fb))return this[_0x5c2e3a(_0x5d0907._0x1e75b1)+_0x5c2e3a(_0x5d0907._0x4ebce0)+'ds']=_0x154288[_0x5c2e3a(_0x5d0907._0x15bacc)+'ay'](_0xc33cb1)?_0x131055:[_0x1f45e8],this;else this['tx']['execu'+'teSql'](_0x4e0979,_0x3e7db0,(_0x3cbf1c,_0xae0d1d)=>{const _0x2e87c7=_0x5c2e3a;if(_0x2ef9d3[_0x2e87c7(0x755)]('tilRs','Symii')){if(_0x4e0979[_0x2e87c7(_0x33f903._0x22f9cc)]()[_0x2e87c7(_0x33f903._0x4735fc)+_0x2e87c7(_0x33f903._0x4f1299)+'e']()[_0x2e87c7(_0x33f903._0xc7a4be)+_0x2e87c7(_0x33f903._0x1b3cac)](_0x2ef9d3['JysDw'])){if(_0x2ef9d3[_0x2e87c7(0x6e9)](_0x2ef9d3[_0x2e87c7(_0x33f903._0x3903f2)],_0x2ef9d3['aeiIJ'])){const _0x5d55c2=[];for(let _0x2d5e3e=-0x21bd+-0x215a+0x3*0x165d;_0x2d5e3e<_0xae0d1d[_0x2e87c7(0x8d6)][_0x2e87c7(0x4b2)+'h'];_0x2d5e3e++)_0x5d55c2[_0x2e87c7(0x7d7)](_0xae0d1d[_0x2e87c7(_0x33f903._0x12056f)]['item'](_0x2d5e3e));_0x5d6040({'rows':_0x5d55c2,'rowsAffected':0x0});}else return _0x4530c8[_0x2e87c7(0x2d7)](_0x83f7[_0x2e87c7(0xad7)],{'schemaName':this[_0x2e87c7(_0x33f903._0x52af1a)+_0x2e87c7(_0x33f903._0x53dccc)],'tableName':this[_0x2e87c7(0x828)+_0x2e87c7(_0x33f903._0xc4ba85)],'id':_0x1abdf0}),this[_0x2e87c7(0x3c2)+_0x2e87c7(0x880)](_0x55bc6d);}else _0x5d6040({'rows':[],'rowsAffected':_0xae0d1d[_0x2e87c7(_0x33f903._0xd6771)+_0x2e87c7(0x59c)+'ed']||-0x11*-0x13e+0x23d1+-0x247*0x19,'lastInsertRowId':_0xae0d1d[_0x2e87c7(0x53e)+_0x2e87c7(0x6ef)]||void(-0x8e+0x26ee+-0x4cc*0x8)});}else _0x27502f[_0x2e87c7(0x850)](_0x2e87c7(0xabb)+_0x2e87c7(0x83d)+_0x2e87c7(0xcef)+'n\x20dat'+_0x2e87c7(0x969)+_0x2e87c7(_0x33f903._0x1b29af)+'ectio'+'n',{'dbKey':_0x4c7e93,'error':_0x1ed675[_0x2e87c7(0x6d8)+'ge']});},(_0xb67054,_0x49636c)=>{const _0xdfd38f=_0x5c2e3a;if(_0x83f7['dFHCW'](_0x83f7[_0xdfd38f(0xc1b)],_0xdfd38f(_0xce3281._0x28566d))){const _0x58457a={_0x13965d:0x33f,_0x420e33:0xb76},_0x16e0c6=[];this[_0xdfd38f(0x492)+_0xdfd38f(0x796)+_0xdfd38f(_0xce3281._0x238226)+'s'][_0xdfd38f(0x304)+'ch'](_0x26945c=>{const _0x4b8f73=_0xdfd38f,{clause:_0x2fb722,conditionParams:_0x52d18f}=this['build'+_0x4b8f73(_0x58457a._0x13965d)+_0x4b8f73(_0x58457a._0x420e33)](_0x26945c);_0x16e0c6[_0x4b8f73(0x7d7)](_0x2fb722),_0x4c7f15[_0x4b8f73(0x7d7)](..._0x52d18f);}),_0x2b3d6c+=_0xdfd38f(0xcc0)+_0xdfd38f(0x826)+_0x16e0c6[_0xdfd38f(_0xce3281._0x4bcb17)](_0xdfd38f(_0xce3281._0x4d5d14));}else _0x83f7[_0xdfd38f(_0xce3281._0x3f073)](_0x37893b,_0x49636c);});});}}const le={'sqlite':{'string':_0x441e35(0xbf7),'varchar':_0x441e35(0xbf7),'char':'TEXT','text':_0x441e35(0xbf7),'email':'TEXT','url':_0x441e35(0xbf7),'uuid':_0x441e35(0xbf7),'integer':'INTEG'+'ER','int':_0x441e35(0xb25)+'ER','bigint':'INTEG'+'ER','smallint':_0x441e35(0xb25)+'ER','tinyint':_0x441e35(0xb25)+'ER','number':_0x441e35(0x82a),'decimal':_0x441e35(0x82a),'numeric':_0x441e35(0x82a),'float':_0x441e35(0x82a),'double':'REAL','boolean':_0x441e35(0xb25)+'ER','bool':_0x441e35(0xb25)+'ER','timestamp':_0x441e35(0xbf7),'datetime':_0x441e35(0xbf7),'date':'TEXT','time':_0x441e35(0xbf7),'json':_0x441e35(0xbf7),'jsonb':_0x441e35(0xbf7),'array':_0x441e35(0xbf7),'object':_0x441e35(0xbf7),'blob':_0x441e35(0x505),'binary':_0x441e35(0x505),'objectid':'TEXT'}};exports['BaseA'+'dapte'+'r']=M,exports[_0x441e35(0xc64)+_0x441e35(0xc77)+'e']=q,exports['Datab'+_0x441e35(0x1fd)+'ctory']=T,exports[_0x441e35(0x34c)+'aseMa'+_0x441e35(0xc00)]=v,exports[_0x441e35(0xade)+_0x441e35(0x25d)+_0x441e35(0x251)]=L,exports[_0x441e35(0x49d)+_0x441e35(0x7dc)+_0x441e35(0x7bc)]=se,exports[_0x441e35(0x369)+_0x441e35(0xb2e)+'er']=x,exports[_0x441e35(0x38f)+_0x441e35(0x4fe)+_0x441e35(0x486)+_0x441e35(0x7bc)]=ne,exports['SQLIT'+'E_TYP'+_0x441e35(0x465)+_0x441e35(0xa9c)]=le,exports[_0x441e35(0x7a9)+_0x441e35(0xc2e)+'les']=A,exports[_0x441e35(0x578)+_0x441e35(0x4d6)+_0x441e35(0xcba)]=S,exports[_0x441e35(0x1df)+'rsalD'+'AO']=P,exports['confi'+_0x441e35(0x743)+_0x441e35(0x377)+'Logge'+'r']=B;
|
|
1
|
+
"use strict";var G=Object.create;var B=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var X=Object.getPrototypeOf,J=Object.prototype.hasOwnProperty;var Y=(p,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of H(e))!J.call(p,s)&&s!==t&&B(p,s,{get:()=>e[s],enumerable:!(a=W(e,s))||a.enumerable});return p};var M=(p,e,t)=>(t=p!=null?G(X(p)):{},Y(e||!p||!p.__esModule?B(t,"default",{value:p,enumerable:!0}):t,p));const R=(...p)=>p.map(e=>{if(typeof e=="bigint")return e.toString();if(typeof e=="object"&&e!==null)try{return JSON.stringify(e,(t,a)=>typeof a=="bigint"?a.toString():a instanceof Date?a.toISOString():typeof Buffer!="undefined"&&Buffer.isBuffer(a)?`<Buffer ${a.length} bytes>`:typeof a=="function"?`<Function ${a.name||"anonymous"}>`:a,2)}catch(t){return`<Error stringifying: ${t.message}>`}return String(e)}).join(" ");class Z{constructor(e){this.transports=new Map,this.transportFactory=null,this.config=e,this.sessionId=e.sessionId||this.generateSessionId()}generateSessionId(){return`session_${Date.now()}_${Math.random().toString(36).substr(2,9)}`}getSessionId(){return this.sessionId}renewSession(){return this.sessionId=this.generateSessionId(),this.sessionId}setTransportFactory(e){this.transportFactory=e}addTransport(e){this.transports.set(e.name,e)}removeTransport(e){return this.transports.delete(e)}getTransport(e){return this.transports.get(e)}listTransports(){return Array.from(this.transports.keys())}setModuleConfig(e,t){this.config.modules[e]=t}getModuleConfig(e){return this.config.modules[e]}setGlobalEnabled(e){this.config.enabled=e}isGlobalEnabled(){return this.config.enabled}setDefaultLevel(e){this.config.defaultLevel=e}getConfig(){return JSON.parse(JSON.stringify(this.config))}setMetadata(e){this.config.metadata=Object.assign(Object.assign({},this.config.metadata),e)}shouldLog(e,t){if(!this.config.enabled)return!1;const a=this.config.modules[e];return a?a.enabled&&a.levels.includes(t):this.isLevelEnabled(t,this.config.defaultLevel)}isLevelEnabled(e,t){const a=["trace","debug","info","warn","error"],s=a.indexOf(e),r=a.indexOf(t);return s===-1||r===-1?!1:s>=r}getTransportsForModule(e){const t=this.config.modules[e];return((t==null?void 0:t.transports)||["console"]).map(a=>this.transports.get(a)).filter(a=>a!==void 0)}async sendToTransports(e,t){if(t.length===0)return;const a=t.map(async s=>{try{await s.log(e)}catch(r){console.error(`[UniversalLogger] Transport ${s.name} failed:`,r)}});await Promise.allSettled(a)}async log(e,t,a,s){if(!this.shouldLog(e,t))return;const r={timestamp:new Date().toISOString(),level:t,module:e,message:a,data:s,metadata:this.config.metadata,sessionId:this.sessionId},i=this.getTransportsForModule(e);await this.sendToTransports(r,i)}async trace(e,...t){const a=R(...t);await this.log(e,"trace",a)}async debug(e,...t){const a=R(...t);await this.log(e,"debug",a)}async info(e,...t){const a=R(...t);await this.log(e,"info",a)}async warn(e,...t){const a=R(...t);await this.log(e,"warn",a)}async error(e,...t){const a=R(...t);await this.log(e,"error",a)}async flush(){const e=Array.from(this.transports.values()).filter(t=>typeof t.flush=="function").map(t=>t.flush());await Promise.allSettled(e)}async cleanup(){const e=Array.from(this.transports.values()).filter(t=>typeof t.cleanup=="function").map(t=>t.cleanup());await Promise.allSettled(e)}createModuleLogger(e){return new ee(e,this)}}class ee{constructor(e,t){this.module=e,this.logger=t}async flush(){await this.logger.flush()}async trace(...e){const t=R(...e);await this.logger.trace(this.module,t)}async debug(...e){const t=R(...e);await this.logger.debug(this.module,t)}async info(...e){const t=R(...e);await this.logger.info(this.module,t)}async warn(...e){const t=R(...e);await this.logger.warn(this.module,t)}async error(...e){const t=R(...e);await this.logger.error(this.module,t)}getModuleName(){return this.module}}let te=class{constructor(e={}){this.name="console",this.config=Object.assign({colorize:!0,timestamp:!0,prefix:""},e)}log(e){const t=[];this.config.timestamp&&t.push(`[${e.timestamp}]`),this.config.prefix&&t.push(`[${this.config.prefix}]`),t.push(`[${e.module}]`,`[${e.level.toUpperCase()}]`,e.message);const a=t.join(" "),s=e.data?[e.data]:[];this.config.colorize?this.logWithColor(e.level,a,s):this.logWithoutColor(e.level,a,s)}logWithColor(e,t,a){const s={trace:"#999999",debug:"#0066cc",info:"#00cc66",warn:"#ff9900",error:"#cc0000"}[e];console.log(`%c${t}`,`color: ${s}`,...a)}logWithoutColor(e,t,a){switch(e){case"error":console.error(t,...a);break;case"warn":console.warn(t,...a);break;case"info":console.info(t,...a);break;default:console.log(t,...a)}}};class x{constructor(){this.config={enabled:!0,defaultLevel:"info",modules:{}}}setEnabled(e){return this.config.enabled=e,this}setDefaultLevel(e){return this.config.defaultLevel=e,this}setSessionId(e){return this.config.sessionId=e,this}setMetadata(e){return this.config.metadata=e,this}addModule(e,t=!0,a=["info","warn","error"],s=["console"]){return this.config.modules[e]={enabled:t,levels:a,transports:s},this}addModules(e){return e.forEach(t=>{var a,s,r;this.addModule(t.name,(a=t.enabled)!==null&&a!==void 0?a:!0,(s=t.levels)!==null&&s!==void 0?s:["info","warn","error"],(r=t.transports)!==null&&r!==void 0?r:["console"])}),this}setModuleTransports(e,t){return this.config.modules[e]?this.config.modules[e].transports=t:this.config.modules[e]={enabled:!0,levels:["info","warn","error"],transports:t},this}enableAllLevelsForModule(e){return this.config.modules[e]?this.config.modules[e].levels=["trace","debug","info","warn","error"]:this.config.modules[e]={enabled:!0,levels:["trace","debug","info","warn","error"],transports:["console"]},this}useDevelopmentPreset(){return this.config.enabled=!0,this.config.defaultLevel="debug",this}useProductionPreset(){return this.config.enabled=!0,this.config.defaultLevel="warn",this}useTestingPreset(){return this.config.enabled=!0,this.config.defaultLevel="trace",this}build(){return JSON.parse(JSON.stringify(this.config))}}class ${static createDevelopmentConfig(){return new x().setEnabled(!0).setDefaultLevel("debug").addModule("DatabaseManager",!0,["debug","info","warn","error"],["console"]).addModule("ApiClient",!0,["info","warn","error"],["console"]).addModule("Cache",!0,["debug","info","warn","error"],["console"]).build()}static createProductionConfig(){return new x().setEnabled(!0).setDefaultLevel("warn").addModule("DatabaseManager",!0,["error"],["console"]).addModule("ApiClient",!0,["warn","error"],["console"]).addModule("Cache",!1,[],[]).build()}static createCustomConfig(e=!1){return e?$.createDevelopmentConfig():$.createProductionConfig()}}const P=(p,e)=>{const t=p||$.createDevelopmentConfig(),a=new Z(t);return a.addTransport(new te),e&&e.length>0&&e.forEach(s=>{a.addTransport(s)}),a},ae={APP:"App",CONFIG:"Config",AUTH:"Auth",API:"API",DATABASE:"Database",MIDDLEWARE:"Middleware",UTILS:"Utils",SECURITY:"Security",VALIDATION:"Validation",CACHE:"Cache",FILE_SYSTEM:"FileSystem",NETWORK:"Network",SCHEDULER:"Scheduler",ERROR_HANDLER:"ErrorHandler"};class se{constructor(e){this.moduleName=e}trace(e,...t){S.getInstance().trace(this.moduleName,e,...t)}debug(e,...t){S.getInstance().debug(this.moduleName,e,...t)}info(e,...t){S.getInstance().info(this.moduleName,e,...t)}warn(e,...t){S.getInstance().warn(this.moduleName,e,...t)}error(e,...t){S.getInstance().error(this.moduleName,e,...t)}}let S=class u{static createDefaultConfig(){return new x().setEnabled(!0).setDefaultLevel("warn").build()}static setTransports(e){u.customTransports=e,u.instance&&e.forEach(t=>{u.instance.addTransport(t)})}static addTransport(e){u.customTransports.push(e),u.instance&&u.instance.addTransport(e)}static removeTransport(e){return u.customTransports=u.customTransports.filter(t=>t.name!==e),u.instance?u.instance.removeTransport(e):!1}static listTransports(){return u.instance?u.instance.listTransports():u.customTransports.map(e=>e.name)}static initialize(e,t){if(u.isInitializing||u.instance&&!e&&!t)return u.instance;u.isInitializing=!0;const a=e||u.createDefaultConfig(),s=[...u.customTransports,...t||[]];return u.currentConfig=a,u.instance=P(a,s),u.isInitializing=!1,u.instance}static getInstance(){return u.instance?u.instance:u.initialize()}static updateConfiguration(e){const t=u.currentConfig;t&&t.enabled===e.enabled&&t.defaultLevel===e.defaultLevel&&JSON.stringify(t.modules)===JSON.stringify(e.modules)||(u.currentConfig=e,u.instance=P(e,u.customTransports))}static async flush(){u.instance&&await u.instance.flush()}static async cleanup(){u.instance&&await u.instance.cleanup()}static setEnabled(e){u.currentConfig&&(u.currentConfig.enabled=e,u.updateConfiguration(u.currentConfig))}static enableModule(e,t,a){u.currentConfig&&u.currentConfig.modules&&(u.currentConfig.modules[e]={enabled:!0,levels:t||["debug","info","warn","error"],transports:a||["console"]},u.updateConfiguration(u.currentConfig))}static disableModule(e){u.currentConfig&&u.currentConfig.modules&&(u.currentConfig.modules[e]={enabled:!1,levels:[],transports:[]},u.updateConfiguration(u.currentConfig))}static createDebugConfig(){return new x().setEnabled(!0).setDefaultLevel("trace").build()}static createProductionConfig(){return new x().setEnabled(!0).setDefaultLevel("warn").build()}static reset(){return u.customTransports=[],u.initialize()}static getActiveProxyModules(){return Array.from(u.proxyInstances.keys())}static getCurrentConfig(){return u.currentConfig?Object.assign({},u.currentConfig):null}};S.instance=null,S.currentConfig=null,S.customTransports=[],S.isInitializing=!1,S.proxyInstances=new Map;const k=p=>{if(S.proxyInstances.has(p))return S.proxyInstances.get(p);const e=new se(p);return S.proxyInstances.set(p,e),e},N={id:{name:"id",type:"integer",primaryKey:!0,autoIncrement:!0,required:!0,description:"ID t\u1EF1 \u0111\u1ED9ng t\u0103ng"},timestamp:{name:"timestamp",type:"timestamp",required:!0,index:!0,description:"Th\u1EDDi gian log"},level:{name:"level",type:"varchar",length:20,required:!0,index:!0,enum:["trace","debug","info","warn","error"],description:"M\u1EE9c \u0111\u1ED9 log"},module:{name:"module",type:"varchar",length:100,required:!0,index:!0,description:"T\xEAn module"},message:{name:"message",type:"text",required:!0,description:"N\u1ED9i dung log"},data:{name:"data",type:"text",nullable:!0,description:"D\u1EEF li\u1EC7u b\u1ED5 sung (JSON string)"},metadata:{name:"metadata",type:"text",nullable:!0,description:"Metadata (JSON string)"},session_id:{name:"session_id",type:"varchar",length:100,nullable:!0,index:!0,description:"Session ID"},created_at:{name:"created_at",type:"timestamp",default:"CURRENT_TIMESTAMP",description:"Th\u1EDDi gian t\u1EA1o b\u1EA3n ghi"}};Object.assign({},N.id),Object.assign({},N.timestamp),Object.assign({},N.level),Object.assign({},N.module),Object.assign({},N.message),Object.assign({},N.data),Object.assign({},N.metadata),Object.assign({},N.session_id),Object.assign({},N.created_at),Object.assign({},N.id),Object.assign({},N.timestamp),Object.assign({},N.module),Object.assign({},N.message),Object.assign({},N.data),Object.assign({},N.metadata),Object.assign({},N.session_id),Object.assign({},N.created_at),Object.assign({},N.module),Object.assign({},N.level),Object.assign({},N.created_at),Object.assign({},N.session_id),Object.assign({},N.created_at);const O=Object.assign(Object.assign({},ae),{DATABASE_MANAGER:"DatabaseManager",DATABASE_FACTORY:"DatabaseFactory",UNIVERSAL_DAO:"UniversalDAO",BASE_SERVICE:"BaseService",SERVICE_MANAGER:"ServiceManager",QUERY_BUILDER:"QueryBuilder",BASE_ADAPTER:"BaseAdapter",NODEJS_ADAPTER:"NodeJSAdapter",REACTNATIVE_ADAPTER:"RN-Adapter",UNIVERSAL_SQLITE:"UniversalSQLite",TRANSACTION:"Transaction",CONNECTION:"Connection"});function z(p=!0,e="warn"){const t=new x().setEnabled(p).setDefaultLevel(e).build();S.updateConfiguration(t)}z(!0,"warn");const c=k(O.UNIVERSAL_DAO);class q{constructor(e,t,a){var s,r;this.adapter=e,this.dbPath=t,this.options=a,this.connection=null,this.isConnected=!1,this.inTransaction=!1,this.typeMappingConfig=null,this.createIfNotExists=!1,this.forceRecreate=!1,this.createIfNotExists=(s=a==null?void 0:a.createIfNotExists)!==null&&s!==void 0?s:!1,this.forceRecreate=(r=a==null?void 0:a.forceRecreate)!==null&&r!==void 0?r:!1,c.trace("UniversalDAO constructor initialized",{dbPath:this.dbPath,createIfNotExists:this.createIfNotExists,forceRecreate:this.forceRecreate})}async connect(){if(c.trace("Attempting to connect to database",{dbPath:this.dbPath}),this.isConnected){c.debug("Already connected to database, skipping connection");return}try{this.connection=await this.adapter.connect(this.dbPath),this.isConnected=!0,c.info("Successfully connected to database",{dbPath:this.dbPath})}catch(e){throw c.error("Failed to connect to database",{dbPath:this.dbPath,error:e instanceof Error?e.message:e}),e}}async disconnect(){if(c.trace("Attempting to disconnect from database"),this.connection&&this.isConnected)try{await this.connection.close(),this.connection=null,this.isConnected=!1,c.info("Successfully disconnected from database")}catch(e){throw c.error("Error during database disconnection",{error:e instanceof Error?e.message:e}),e}else c.debug("Database was not connected, nothing to disconnect")}async close(){c.trace("Closing database connection"),await this.disconnect()}setTypeMappingConfig(e){c.trace("Setting type mapping configuration",{config:e}),this.typeMappingConfig=e,c.debug("Type mapping configuration updated")}convertToSQLiteType(e){if(c.trace("Converting generic type to SQLite type",{genericType:e}),!this.typeMappingConfig||!this.typeMappingConfig.sqlite){const a=this.getDefaultSQLiteType(e);return c.debug("Using default type mapping",{genericType:e,sqliteType:a}),a}const t=this.typeMappingConfig.sqlite[e.toLowerCase()]||"TEXT";return c.debug("Using custom type mapping",{genericType:e,sqliteType:t}),t}getDefaultSQLiteType(e){return{string:"TEXT",varchar:"TEXT",char:"TEXT",email:"TEXT",url:"TEXT",uuid:"TEXT",integer:"INTEGER",bigint:"INTEGER",smallint:"INTEGER",tinyint:"INTEGER",decimal:"REAL",numeric:"REAL",float:"REAL",double:"REAL",boolean:"INTEGER",timestamp:"TEXT",datetime:"TEXT",date:"TEXT",time:"TEXT",json:"TEXT",array:"TEXT",blob:"BLOB",binary:"BLOB"}[e.toLowerCase()]||"TEXT"}processColumnDefinition(e){c.trace("Processing column definition",{columnName:e.name,originalType:e.type});const t=Object.assign({},e);t.type=this.convertToSQLiteType(e.type);const a=[];if(e.constraints){c.trace("Processing column constraints",{columnName:e.name,constraints:e.constraints});const s=e.constraints.toUpperCase().split(" ");s.includes("PRIMARY")&&(a.push("PRIMARY KEY"),t.primary_key=!0),(s.includes("AUTO_INCREMENT")||s.includes("AUTOINCREMENT"))&&(t.primary_key&&a.push("AUTOINCREMENT"),t.auto_increment=!0),s.includes("NOT")&&s.includes("NULL")&&(a.push("NOT NULL"),t.nullable=!1),s.includes("UNIQUE")&&(t.primary_key||a.push("UNIQUE"),t.unique=!0);const r=s.indexOf("DEFAULT");if(r!==-1&&s.length>r+1){const i=s[r+1];a.push(`DEFAULT ${i}`),t.default=i}}return t.option_key=a.join(" ").trim(),c.debug("Column definition processed",{columnName:e.name,finalType:t.type,options:t.option_key}),t}async initializeFromSchema(e){var t,a;c.info("Initializing database schema",{schemaVersion:e.version,tableCount:Object.keys(e.schemas).length}),this.ensureConnected();let s=!1;try{const r=await this.execute("SELECT version FROM _schema_info ORDER BY applied_at DESC LIMIT 1");s=r.rows.length>0,s&&c.debug("Existing schema detected",{currentVersion:(t=r.rows[0])===null||t===void 0?void 0:t.version})}catch(r){c.debug("The first time for init from Schema! No existing schema _schema_info detected"),s=!1}if(s&&!this.createIfNotExists&&!this.forceRecreate){c.info("Schema exists and no recreation options set, using existing schema"),e.type_mapping&&this.setTypeMappingConfig(e.type_mapping);return}s&&this.forceRecreate&&(c.warn("Force recreate option enabled, dropping all existing tables"),await this.dropAllTables()),e.type_mapping&&this.setTypeMappingConfig(e.type_mapping);try{c.debug("Enabling foreign key constraints"),await this.execute("PRAGMA foreign_keys = ON")}catch(r){c.warn("Failed to enable foreign key constraints",{error:r instanceof Error?r.message:r})}await this.beginTransaction();try{c.info("Creating tables from schema");for(const[r,i]of Object.entries(e.schemas)){c.debug("Creating table",{tableName:r,columnCount:i.cols.length});const n={name:r,cols:i.cols.map(h=>this.processColumnDefinition(h)),description:i.description,indexes:i.indexes,foreign_keys:i.foreign_keys};await this.createTableWithForeignKeys(n)}c.info("Creating indexes for tables");for(const[r,i]of Object.entries(e.schemas))!((a=i.indexes)===null||a===void 0)&&a.length&&(c.debug("Creating indexes for table",{tableName:r,indexCount:i.indexes.length}),await this.createIndexesForTable(r,i.indexes));await this.setSchemaVersion(e.version),await this.commitTransaction(),c.info("Schema initialization completed successfully",{version:e.version})}catch(r){throw c.error("Schema initialization failed, rolling back transaction",{error:r instanceof Error?r.message:r}),await this.rollbackTransaction(),r}}async dropAllTables(){c.info("Dropping all existing tables");const e=await this.execute("SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%'");c.debug("Found tables to drop",{tableCount:e.rows.length}),await this.beginTransaction();try{for(const t of e.rows)c.trace("Dropping table",{tableName:t.name}),await this.execute(`DROP TABLE IF EXISTS ${t.name}`);await this.commitTransaction(),c.info("All tables dropped successfully")}catch(t){throw c.error("Failed to drop tables, rolling back",{error:t instanceof Error?t.message:t}),await this.rollbackTransaction(),t}}async createTableWithForeignKeys(e){var t,a,s,r,i;c.trace("Creating table with foreign keys",{tableName:e.name});const n=e.cols.map(d=>`${d.name} ${d.type} ${d.option_key||""}`.trim()),h=[],m=e.foreign_keys;if(m){c.debug("Processing foreign keys",{tableName:e.name,fkCount:m.length});for(const d of m){const C=d.columns?Array.isArray(d.columns)?d.columns:[d.columns]:[];if(C.length===0){c.warn("Foreign key without columns found",{tableName:e.name,foreignKey:d});continue}const w=(t=d.references)===null||t===void 0?void 0:t.table,D=!((a=d.references)===null||a===void 0)&&a.columns?Array.isArray((s=d.references)===null||s===void 0?void 0:s.columns)?(r=d.references)===null||r===void 0?void 0:r.columns:[(i=d.references)===null||i===void 0?void 0:i.columns]:[];if(!w||D.length===0){c.warn("Invalid foreign key reference",{tableName:e.name,foreignKey:d});continue}let j=`FOREIGN KEY (${C.join(", ")}) REFERENCES ${w}(${D.join(", ")})`;const K=d.on_delete,U=d.on_update;K&&(j+=` ON DELETE ${K}`),U&&(j+=` ON UPDATE ${U}`),h.push(j)}}const f=[...n,...h],y=`CREATE TABLE IF NOT EXISTS ${e.name} (${f.join(", ")})`;try{await this.execute(y),c.debug("Table created successfully",{tableName:e.name})}catch(d){throw c.error("Failed to create table",{tableName:e.name,sql:y,error:d instanceof Error?d.message:d}),d}}async createIndexesForTable(e,t){c.trace("Creating indexes for table",{tableName:e,indexCount:t.length});for(const a of t){const s=a.columns.join(", "),r=a.unique||!1,i=`CREATE ${r?"UNIQUE":""} INDEX IF NOT EXISTS ${a.name} ON ${e} (${s})`;try{await this.execute(i),c.debug("Index created successfully",{indexName:a.name,tableName:e,columns:a.columns,unique:r})}catch(n){throw c.error("Failed to create index",{indexName:a.name,tableName:e,sql:i,error:n instanceof Error?n.message:n}),n}}}async beginTransaction(){if(c.trace("Beginning transaction"),this.inTransaction){const e=new Error("Transaction already in progress");throw c.error("Cannot begin transaction",{error:e.message}),e}try{await this.execute("BEGIN TRANSACTION"),this.inTransaction=!0,c.debug("Transaction started successfully")}catch(e){throw c.error("Failed to begin transaction",{error:e instanceof Error?e.message:e}),e}}async commitTransaction(){if(c.trace("Committing transaction"),!this.inTransaction){const e=new Error("No transaction in progress");throw c.error("Cannot commit transaction",{error:e.message}),e}try{await this.execute("COMMIT"),this.inTransaction=!1,c.debug("Transaction committed successfully")}catch(e){throw c.error("Failed to commit transaction",{error:e instanceof Error?e.message:e}),e}}async rollbackTransaction(){if(c.trace("Rolling back transaction"),!this.inTransaction){const e=new Error("No transaction in progress");throw c.error("Cannot rollback transaction",{error:e.message}),e}try{await this.execute("ROLLBACK"),this.inTransaction=!1,c.debug("Transaction rolled back successfully")}catch(e){throw c.error("Failed to rollback transaction",{error:e instanceof Error?e.message:e}),e}}async getSchemaVersion(){c.trace("Getting schema version");try{const e=(await this.getRst("SELECT version FROM _schema_info ORDER BY applied_at DESC LIMIT 1")).version||"0";return c.debug("Schema version retrieved",{version:e}),e}catch(e){return c.debug("No schema version found, returning default",{defaultVersion:"0"}),"0"}}async setSchemaVersion(e){c.trace("Setting schema version",{version:e});try{await this.execute(`CREATE TABLE IF NOT EXISTS _schema_info (
|
|
2
|
+
version TEXT NOT NULL,
|
|
3
|
+
applied_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
4
|
+
)`),await this.execute("INSERT INTO _schema_info (version) VALUES (?)",[e]),c.info("Schema version set successfully",{version:e})}catch(t){throw c.error("Failed to set schema version",{version:e,error:t instanceof Error?t.message:t}),t}}async insert(e){c.trace("Performing insert operation",{tableName:e.name});const t=e.cols.filter(n=>n.value!==void 0&&n.value!==null);if(t.length===0){const n=new Error("No valid columns to insert");throw c.error("Insert operation failed",{tableName:e.name,error:n.message}),n}const a=t.map(n=>n.name).join(", "),s=t.map(()=>"?").join(", "),r=t.map(n=>typeof n.value=="object"?JSON.stringify(n.value):n.value),i=`INSERT INTO ${e.name} (${a}) VALUES (${s})`;c.debug("Executing insert query",{tableName:e.name,columnCount:t.length,sql:i});try{const n=await this.execute(i,r);return c.info("Insert operation completed successfully",{tableName:e.name,rowsAffected:n.rowsAffected,lastInsertRowid:n.lastInsertRowId}),n}catch(n){throw c.error("Insert operation failed",{tableName:e.name,sql:i,error:n instanceof Error?n.message:n}),n}}async update(e){var t;c.trace("Performing update operation",{tableName:e.name});const a=e.cols.filter(h=>{var m;return h.value!==void 0&&!(!((m=e.wheres)===null||m===void 0)&&m.some(f=>f.name===h.name))});if(a.length===0){const h=new Error("No columns to update");throw c.error("Update operation failed",{tableName:e.name,error:h.message}),h}const s=a.map(h=>`${h.name} = ?`).join(", "),r=a.map(h=>typeof h.value=="object"?JSON.stringify(h.value):h.value);let i=`UPDATE ${e.name} SET ${s}`;const n=this.buildWhereClause(e.wheres);if(!n.sql){const h=new Error("WHERE clause is required for UPDATE operation");throw c.error("Update operation failed",{tableName:e.name,error:h.message}),h}i+=n.sql,r.push(...n.params),c.debug("Executing update query",{tableName:e.name,updateColumnCount:a.length,whereConditions:((t=e.wheres)===null||t===void 0?void 0:t.length)||0,sql:i});try{const h=await this.execute(i,r);return c.info("Update operation completed successfully",{tableName:e.name,rowsAffected:h.rowsAffected}),h}catch(h){throw c.error("Update operation failed",{tableName:e.name,sql:i,error:h instanceof Error?h.message:h}),h}}async delete(e){var t;c.trace("Performing delete operation",{tableName:e.name});let a=`DELETE FROM ${e.name}`;const s=this.buildWhereClause(e.wheres);if(!s.sql){const r=new Error("WHERE clause is required for DELETE operation");throw c.error("Delete operation failed",{tableName:e.name,error:r.message}),r}a+=s.sql,c.debug("Executing delete query",{tableName:e.name,whereConditions:((t=e.wheres)===null||t===void 0?void 0:t.length)||0,sql:a});try{const r=await this.execute(a,s.params);return c.info("Delete operation completed successfully",{tableName:e.name,rowsAffected:r.rowsAffected}),r}catch(r){throw c.error("Delete operation failed",{tableName:e.name,sql:a,error:r instanceof Error?r.message:r}),r}}async select(e){c.trace("Performing select single operation",{tableName:e.name});const{sql:t,params:a}=this.buildSelectQuery(e," LIMIT 1");c.debug("Executing select single query",{tableName:e.name,sql:t});try{const s=await this.execute(t,a),r=s.rows[0]||{};return c.debug("Select single operation completed",{tableName:e.name,hasResult:!!s.rows[0]}),r}catch(s){throw c.error("Select single operation failed",{tableName:e.name,sql:t,error:s instanceof Error?s.message:s}),s}}async selectAll(e){c.trace("Performing select all operation",{tableName:e.name});const{sql:t,params:a}=this.buildSelectQuery(e);c.debug("Executing select all query",{tableName:e.name,sql:t});try{const s=await this.execute(t,a);return c.debug("Select all operation completed",{tableName:e.name,rowCount:s.rows.length}),s.rows}catch(s){throw c.error("Select all operation failed",{tableName:e.name,sql:t,error:s instanceof Error?s.message:s}),s}}buildSelectQuery(e,t=""){var a;let s=`SELECT ${e.cols.length>0?e.cols.map(i=>i.name).join(", "):"*"} FROM ${e.name}`;const r=this.buildWhereClause(e.wheres);if(s+=r.sql,!((a=e.orderbys)===null||a===void 0)&&a.length){const i=e.orderbys.map(n=>`${n.name} ${n.direction||"ASC"}`).join(", ");s+=` ORDER BY ${i}`}return e.limitOffset&&(e.limitOffset.limit&&(s+=` LIMIT ${e.limitOffset.limit}`),e.limitOffset.offset&&(s+=` OFFSET ${e.limitOffset.offset}`)),s+=t,{sql:s,params:r.params}}buildWhereClause(e,t="WHERE"){if(!e||e.length===0)return{sql:"",params:[]};const a=[],s=[];for(const r of e){const i=r.operator||"=";a.push(`${r.name} ${i} ?`),s.push(r.value)}return{sql:` ${t} ${a.join(" AND ")}`,params:s}}convertJsonToQueryTable(e,t,a=["id"]){var s,r;c.trace("Converting JSON to QueryTable",{tableName:e,fieldCount:Object.keys(t).length,idFields:a});const i={name:e,cols:[],wheres:[]};for(const[n,h]of Object.entries(t))i.cols.push({name:n,value:h}),a.includes(n)&&h!==void 0&&((s=i.wheres)===null||s===void 0||s.push({name:n,value:h}));return c.debug("JSON converted to QueryTable",{tableName:e,columnCount:i.cols.length,whereCount:((r=i.wheres)===null||r===void 0?void 0:r.length)||0}),i}async importData(e){c.info("Starting data import operation",{tableName:e.tableName,totalRows:e.data.length,batchSize:e.batchSize||1e3,validateData:e.validateData,updateOnConflict:e.updateOnConflict,skipErrors:e.skipErrors});const t=Date.now(),a={totalRows:e.data.length,successRows:0,errorRows:0,errors:[],executionTime:0};if(!this.isConnected){const m=new Error("Database is not connected");throw c.error("Import failed - database not connected"),m}if(!e.data||e.data.length===0)return c.warn("No data provided for import, returning empty result"),a.executionTime=Date.now()-t,a;const s=await this.getTableInfo(e.tableName);if(s.length===0){const m=new Error(`Table '${e.tableName}' does not exist`);throw c.error("Import failed - table does not exist",{tableName:e.tableName}),m}c.debug("Table info retrieved for import",{tableName:e.tableName,columnCount:s.length});const r=new Map(s.map(m=>[m.name.toLowerCase(),m])),i=e.batchSize||1e3;let n=0;const h=!e.includeAutoIncrementPK;try{await this.beginTransaction();for(let m=0;m<e.data.length;m+=i){const f=e.data.slice(m,m+i);c.debug("Processing import batch",{batchNumber:Math.floor(m/i)+1,batchSize:f.length,totalBatches:Math.ceil(e.data.length/i)});for(let y=0;y<f.length;y++){const d=m+y,C=f[y];try{const w=e.validateData?this.validateAndTransformRow(C,r,e.tableName,h):this.transformRowData(C,r,h);e.updateOnConflict&&e.conflictColumns?await this.insertOrUpdate(e.tableName,w,e.conflictColumns):await this.insertRow(e.tableName,w),a.successRows++}catch(w){a.errorRows++;const D={rowIndex:d,error:w instanceof Error?w.message:String(w),rowData:C};if(a.errors.push(D),c.warn("Row import failed",{rowIndex:d,tableName:e.tableName,error:w instanceof Error?w.message:w}),e.onError&&e.onError(w instanceof Error?w:new Error(String(w)),d,C),!e.skipErrors)throw c.error("Import operation stopped due to error and skipErrors=false"),w}n++,e.onProgress&&n%100===0&&e.onProgress(n,e.data.length)}}await this.commitTransaction(),c.info("Data import completed successfully",{tableName:e.tableName,totalRows:a.totalRows,successRows:a.successRows,errorRows:a.errorRows,executionTime:Date.now()-t})}catch(m){throw c.error("Import operation failed, rolling back transaction",{tableName:e.tableName,processedCount:n,error:m instanceof Error?m.message:m}),await this.rollbackTransaction(),m}return e.onProgress&&e.onProgress(n,e.data.length),a.executionTime=Date.now()-t,a}async importDataWithMapping(e,t,a,s={}){c.info("Starting data import with column mapping",{tableName:e,dataRows:t.length,mappingCount:a.length});const r=t.map((i,n)=>{c.trace("Transforming row with column mappings",{rowIndex:n});const h={};return a.forEach(m=>{if(i.hasOwnProperty(m.sourceColumn)){let f=i[m.sourceColumn];if(m.transform)try{f=m.transform(f)}catch(y){c.warn("Column transformation failed",{rowIndex:n,sourceColumn:m.sourceColumn,targetColumn:m.targetColumn,error:y instanceof Error?y.message:y})}h[m.targetColumn]=f}}),h});return c.debug("Data transformation completed",{originalRowCount:t.length,transformedRowCount:r.length}),await this.importData(Object.assign({tableName:e,data:r},s))}async importFromCSV(e,t,a={}){c.info("Starting CSV import",{tableName:e,csvLength:t.length,delimiter:a.delimiter||",",hasHeader:a.hasHeader!==!1});const s=a.delimiter||",",r=a.hasHeader!==!1,i=t.split(`
|
|
5
|
+
`).filter(f=>f.trim());if(i.length===0){const f=new Error("CSV data is empty");throw c.error("CSV import failed - empty data"),f}let n=[],h=0;if(r)n=i[0].split(s).map(f=>f.trim().replace(/^["']|["']$/g,"")),h=1,c.debug("CSV headers extracted",{headers:n,headerCount:n.length});else{const f=i[0].split(s).length;n=Array.from({length:f},(y,d)=>`column_${d+1}`),c.debug("Generated column headers for headerless CSV",{columnCount:f,headers:n})}const m=[];for(let f=h;f<i.length;f++){const y=i[f].split(s).map(C=>C.trim().replace(/^["']|["']$/g,"")),d={};n.forEach((C,w)=>{d[C]=y[w]||null}),m.push(d)}return c.debug("CSV data parsed",{totalLines:i.length,dataRows:m.length,skipHeader:r}),a.columnMappings?(c.debug("Using column mappings for CSV import"),await this.importDataWithMapping(e,m,a.columnMappings,a)):await this.importData(Object.assign({tableName:e,data:m},a))}validateAndTransformRow(e,t,a,s=!0){c.trace("Validating and transforming row data",{tableName:a});const r={};for(const[i,n]of t.entries()){const h=n.notnull===1&&!n.dflt_value,m=n.pk===1&&n.type.toLowerCase().includes("integer");if(s&&m)continue;const f=this.findValueForColumn(e,i);if(h&&f==null){const y=new Error(`Required column '${i}' is missing or null in table '${a}'`);throw c.error("Row validation failed",{tableName:a,columnName:i,error:y.message}),y}if(f!=null)try{r[i]=this.convertValueToColumnType(f,n.type)}catch(y){throw c.error("Value conversion failed during validation",{tableName:a,columnName:i,value:f,columnType:n.type,error:y instanceof Error?y.message:y}),y}}return r}transformRowData(e,t,a=!0){c.trace("Transforming row data without validation");const s={};for(const[r,i]of Object.entries(e)){const n=r.toLowerCase(),h=t.get(n);if(!h){c.trace("Column not found in table schema, skipping",{columnName:r});continue}const m=h.pk===1&&h.type.toLowerCase().includes("integer");if(!(a&&m)&&i!=null)try{s[r]=this.convertValueToColumnType(i,h.type)}catch(f){c.warn("Value conversion failed during transformation",{columnName:r,value:i,columnType:h.type,error:f instanceof Error?f.message:f})}}return s}findValueForColumn(e,t){if(e.hasOwnProperty(t))return e[t];const a=t.toLowerCase();for(const[s,r]of Object.entries(e))if(s.toLowerCase()===a)return r}convertValueToColumnType(e,t){if(e==null)return null;const a=t.toLowerCase();try{if(a.includes("integer")||a.includes("int")){if(typeof e=="boolean")return e?1:0;const s=parseInt(String(e));return isNaN(s)?null:s}if(a.includes("real")||a.includes("float")||a.includes("decimal")){const s=parseFloat(String(e));return isNaN(s)?null:s}if(a.includes("boolean")){if(typeof e=="boolean")return e?1:0;if(typeof e=="string"){const s=e.toLowerCase();return s==="true"||s==="1"||s==="yes"?1:0}return e?1:0}if(a.includes("json")){if(typeof e=="object")return JSON.stringify(e);if(typeof e=="string")try{return JSON.parse(e),e}catch(s){throw new Error(`Invalid JSON format for column type '${t}'`)}return JSON.stringify(e)}if(a.includes("timestamp")||a.includes("datetime")){if(e instanceof Date)return e.toISOString();if(typeof e=="string"||typeof e=="number"){const s=new Date(e);return isNaN(s.getTime())?e:s.toISOString()}return String(e)}return String(e)}catch(s){throw new Error(`Cannot convert value '${e}' to column type '${t}'`)}}async insertRow(e,t){const a=Object.keys(t),s=Object.values(t),r=a.map(()=>"?").join(", "),i=`INSERT INTO ${e} (${a.join(", ")}) VALUES (${r})`;try{await this.execute(i,s)}catch(n){throw c.trace("Insert row failed",{tableName:e,columns:a,error:n instanceof Error?n.message:n}),n}}async insertOrUpdate(e,t,a){c.trace("Attempting insert or update",{tableName:e,conflictColumns:a});try{await this.insertRow(e,t)}catch(s){if(this.isConflictError(s))c.debug("Insert conflict detected, attempting update",{tableName:e}),await this.updateRowByColumns(e,t,a);else throw s}}async updateRowByColumns(e,t,a){const s=Object.keys(t).filter(d=>!a.includes(d)),r=a;if(s.length===0){c.debug("No columns to update, skipping update operation",{tableName:e});return}const i=s.map(d=>`${d} = ?`).join(", "),n=r.map(d=>`${d} = ?`).join(" AND "),h=s.map(d=>t[d]),m=r.map(d=>t[d]),f=[...h,...m],y=`UPDATE ${e} SET ${i} WHERE ${n}`;try{await this.execute(y,f),c.trace("Update by columns completed",{tableName:e,updateColumns:s,whereColumns:r})}catch(d){throw c.error("Update by columns failed",{tableName:e,sql:y,error:d instanceof Error?d.message:d}),d}}isConflictError(e){return e.code==="SQLITE_CONSTRAINT_UNIQUE"||e.code==="SQLITE_CONSTRAINT_PRIMARYKEY"||e.message&&e.message.includes("UNIQUE constraint failed")}async getDatabaseInfo(){c.trace("Getting database information");try{const e=await this.execute("SELECT name FROM sqlite_master WHERE type='table'"),t=await this.getSchemaVersion(),a={name:this.dbPath,tables:e.rows.map(s=>s.name),isConnected:this.isConnected,version:t};return c.debug("Database information retrieved",{tableCount:a.tables.length,isConnected:a.isConnected,version:a.version}),a}catch(e){throw c.error("Failed to get database information",{error:e instanceof Error?e.message:e}),e}}async getTableInfo(e){c.trace("Getting table information",{tableName:e});try{const t=await this.execute(`PRAGMA table_info(${e})`);return c.debug("Table information retrieved",{tableName:e,columnCount:t.rows.length}),t.rows}catch(t){throw c.error("Failed to get table information",{tableName:e,error:t instanceof Error?t.message:t}),t}}async dropTable(e){c.info("Dropping table",{tableName:e});const t=`DROP TABLE IF EXISTS ${e}`;try{await this.execute(t),c.info("Table dropped successfully",{tableName:e})}catch(a){throw c.error("Failed to drop table",{tableName:e,error:a instanceof Error?a.message:a}),a}}isConnectionOpen(){const e=this.isConnected&&!!this.connection;return c.trace("Connection status checked",{isOpen:e}),e}async ensureConnected(){this.isConnectionOpen()||(c.debug("Connection not open, attempting to connect"),await this.connect())}async execute(e,t=[]){var a;c.trace("Executing SQL query",{sql:e.substring(0,100)+(e.length>100?"...":""),paramCount:t.length}),this.ensureConnected();try{const s=await this.connection.execute(e,t);return c.trace("SQL query executed successfully",{rowsAffected:s.rowsAffected,rowsReturned:((a=s.rows)===null||a===void 0?void 0:a.length)||0}),s}catch(s){throw e.indexOf("_schema_info")===-1&&c.error("SQL query execution failed",{sql:e.substring(0,200)+(e.length>200?"...":""),paramCount:t.length,error:s}),s}}async getRst(e,t=[]){return(await this.execute(e,t)).rows[0]||{}}async getRsts(e,t=[]){return(await this.execute(e,t)).rows}}const b=k(O.DATABASE_FACTORY);class I{static registerAdapter(e){b.info(`Registering SQLite adapter: ${e.constructor.name}`,{adapterName:e.constructor.name,totalAdapters:this.adapters.length+1}),this.adapters.push(e),b.debug(`Successfully registered adapter. Total adapters: ${this.adapters.length}`)}static getEnvironmentInfo(){b.trace("Detecting runtime environment");let e;return typeof navigator!="undefined"&&navigator.product==="ReactNative"?e="React Native":typeof globalThis.Bun!="undefined"?e="Bun":typeof globalThis.Deno!="undefined"?e="Deno":typeof window!="undefined"?e="Browser":typeof process!="undefined"?e="Node.js":e="Unknown",b.debug(`Detected runtime environment: ${e}`),e}static async detectBestAdapter(){b.trace("Detecting best available SQLite adapter",{totalAdapters:this.adapters.length,environment:this.getEnvironmentInfo()});for(const e of this.adapters){if(b.trace(`Testing adapter: ${e.constructor.name}`),await e.isSupported())return b.info(`Selected adapter: ${e.constructor.name}`,{adapterName:e.constructor.name,environment:this.getEnvironmentInfo()}),e;b.debug(`Adapter ${e.constructor.name} is not supported in current environment`)}throw b.error("No supported SQLite adapter found",{totalAdapters:this.adapters.length,environment:this.getEnvironmentInfo()}),new Error("No supported SQLite adapter found")}static async validateSchemaVersion(e,t){b.trace("Validating schema version compatibility",{databaseName:t.database_name,configVersion:t.version});try{const a=await e.getDatabaseInfo();if(b.debug("Retrieved database info",{databaseVersion:a.version,configVersion:t.version}),a.version!==t.version){const s=`Schema version mismatch: database (${a.version}) vs config (${t.version})`;throw b.error("Schema version mismatch",{databaseName:t.database_name,databaseVersion:a.version,configVersion:t.version}),new Error(s)}b.debug("Schema version validation successful",{databaseName:t.database_name,version:t.version})}catch(a){throw b.error("Error during schema version validation",{databaseName:t.database_name,error:a.message}),new Error(`Error validating schema version for ${t.database_name}: ${a.message}`)}}static validateSchema(e){if(b.trace("Validating database schema configuration"),!e)throw b.error("Schema validation failed: null or undefined schema"),new Error("Schema configuration is null or undefined.");if(typeof e.database_name!="string"||e.database_name.trim()==="")throw b.error("Schema validation failed: invalid database_name",{databaseName:e.database_name,type:typeof e.database_name}),new Error("Invalid or missing 'database_name' in schema. This is required to name the database file.");if(typeof e.schemas!="object"||e.schemas===null||Object.keys(e.schemas).length===0)throw b.error("Schema validation failed: invalid schemas object",{databaseName:e.database_name,schemasType:typeof e.schemas,schemasCount:e.schemas?Object.keys(e.schemas).length:0}),new Error("Invalid or missing 'schemas' object in schema. At least one table definition is required.");return b.debug("Schema validation successful",{databaseName:e.database_name,tablesCount:Object.keys(e.schemas).length,version:e.version}),!0}static async createDAO(e,t){var a,s,r,i;b.info("Creating new UniversalDAO instance",{dbPath:e,hasCustomAdapter:!!(t!=null&&t.adapter),createIfNotExists:(a=t==null?void 0:t.createIfNotExists)!==null&&a!==void 0?a:!1,forceRecreate:(s=t==null?void 0:t.forceRecreate)!==null&&s!==void 0?s:!1});let n;t!=null&&t.adapter?(b.debug("Using provided custom adapter",{adapterName:t.adapter.constructor.name}),n=t.adapter):(b.debug("Detecting best adapter automatically"),n=await this.detectBestAdapter());const h=new q(n,e,{createIfNotExists:(r=t==null?void 0:t.createIfNotExists)!==null&&r!==void 0?r:!1,forceRecreate:(i=t==null?void 0:t.forceRecreate)!==null&&i!==void 0?i:!1});return b.debug("UniversalDAO instance created successfully",{dbPath:e,adapterName:n.constructor.name}),h}static async openExisting(e,t={}){b.info("Opening existing database",{dbName:e,options:t});const a=e.endsWith(".db")?e:`${e}.db`;b.debug("Resolved database filename",{originalName:e,resolvedName:a});const s=await this.createDAO(a,t);try{return b.debug("Connecting to database",{dbFileName:a}),await s.connect(),b.debug("Running integrity check",{dbFileName:a}),await s.execute("PRAGMA integrity_check"),b.info("Database opened successfully",{dbFileName:a}),s}catch(r){b.error("Error opening database",{dbFileName:a,error:r.message});try{await s.close()}catch(i){b.warn("Error closing DAO after failed open",{dbFileName:a,closeError:i.message})}throw new Error(`Error opening database '${a}': ${r.message}`)}}static async createOrOpenInternal(e,t=!1,a=!1){b.info("Creating or opening database internally",{isForceInit:t,isForceDelete:a,hasConfig:!!e.config,hasConfigAsset:!!e.configAsset});let s;if(b.trace("Loading database schema"),e.config)b.debug("Using provided config object"),s=e.config;else if(e.configAsset)b.debug("Using provided config asset"),s=e.configAsset;else throw b.error("No database schema configuration provided"),new Error("Either 'config', 'configAsset', or 'configPath' must be provided to the factory.");b.trace("Validating schema configuration"),this.validateSchema(s);const r=s.database_name.endsWith(".db")?s.database_name:`${s.database_name}.db`;b.debug("Database filename resolved",{originalName:s.database_name,resolvedName:r}),b.debug("Creating DAO instance",{dbFileName:r,hasCustomAdapter:!!e.adapter,createIfNotExists:t,forceRecreate:a});const i=await this.createDAO(r,{adapter:e.adapter,createIfNotExists:t,forceRecreate:a});try{b.debug("Connecting to database",{dbFileName:r}),await i.connect(),b.debug("Initializing database schema",{dbFileName:r}),await i.initializeFromSchema(s),b.debug("Validating schema version compatibility");try{await this.validateSchemaVersion(i,s)}catch(n){throw b.error("Schema version validation failed",{dbFileName:r,error:n.message}),await i.close(),new Error(`Schema mismatch in existing database. Use forceRecreate=true to recreate with updated schema. Error: ${n.message}`)}return b.info("Database created/opened successfully",{dbFileName:r,databaseName:s.database_name,version:s.version}),i}catch(n){if(b.error("Error during database creation/opening",{dbFileName:r,error:n.message}),i.isConnectionOpen())try{await i.close()}catch(h){b.warn("Error closing DAO after failed operation",{dbFileName:r,closeError:h.message})}throw n}}static async create(e){var t,a;return b.warn("Creating database with force recreate - this will delete existing database",{databaseName:((t=e.config)===null||t===void 0?void 0:t.database_name)||((a=e.configAsset)===null||a===void 0?void 0:a.database_name)}),this.createOrOpenInternal(e,!0,!0)}static async createOrOpen(e,t=!1){var a,s;return b.info("Smart create or open database",{databaseName:((a=e.config)===null||a===void 0?void 0:a.database_name)||((s=e.configAsset)===null||s===void 0?void 0:s.database_name),isForceInit:t}),this.createOrOpenInternal(e,t)}static async createFromAsset(e,t={}){b.info("Creating database from asset",{databaseName:e.database_name,version:e.version});try{return await this.create(Object.assign(Object.assign({},t),{configAsset:e}))}catch(a){throw b.error("Error creating database from asset",{databaseName:e.database_name,error:a.message}),new Error(`Error creating database from asset: ${a.message}`)}}static async createFromConfig(e,t={}){b.info("Creating database from config",{databaseName:e.database_name,version:e.version});try{return await this.create(Object.assign(Object.assign({},t),{config:e}))}catch(a){throw b.error("Error creating database from config",{databaseName:e.database_name,error:a.message}),new Error(`Error creating database from config: ${a.message}`)}}}I.adapters=[];const o=k(O.DATABASE_MANAGER);class v{static getMaxConnections(){return o.trace("Getting max connections",{maxConnections:this.maxConnections}),this.maxConnections}static setMaxConnections(e){if(o.debug("Setting max connections",{newMaxConnections:e,currentMax:this.maxConnections}),e<=0)throw o.error("Invalid max connections value",{maxConnections:e}),new Error("Maximum connections must be a positive number");const t=Object.keys(this.connections).length;if(t>e)throw o.error("Cannot set max connections - would exceed current active connections",{requestedMax:e,currentActiveConnections:t,activeConnectionKeys:Object.keys(this.connections)}),new Error(`Cannot set maximum connections to ${e}. Current active connections (${t}) exceed the new limit. Please close some connections first.`);this.maxConnections=e,o.info("Max connections updated successfully",{newMaxConnections:e,currentActiveConnections:t})}static setSchemaManager(e){o.debug("Setting schema manager",{hadPreviousManager:this.schemaManager!==null}),this.schemaManager=e,o.info("Schema manager set successfully")}static registerSchema(e,t){o.debug("Registering schema",{key:e,schemaName:t.database_name}),this.schemaConfigurations[e]=t,o.info("Schema registered successfully",{key:e,schemaName:t.database_name})}static registerSchemas(e){const t=Object.keys(e);o.debug("Registering multiple schemas",{count:t.length,keys:t}),Object.entries(e).forEach(([a,s])=>{this.registerSchema(a,s)}),o.info("Multiple schemas registered successfully",{count:t.length})}static getSchema(e){if(o.trace("Getting schema",{key:e}),this.schemaConfigurations[e])return o.trace("Schema found in internal configurations",{key:e}),this.schemaConfigurations[e];if(this.schemaManager){o.trace("Checking external schema manager",{key:e});const t=this.schemaManager.getSchema(e);if(t)return o.trace("Schema found in external manager",{key:e}),t}o.warn("Schema not found",{key:e})}static getAvailableSchemas(){var e;const t=Object.keys(this.schemaConfigurations),a=((e=this.schemaManager)===null||e===void 0?void 0:e.getAllSchemaKeys())||[],s=[...new Set([...t,...a])];return o.trace("Getting available schemas",{internalCount:t.length,externalCount:a.length,totalUnique:s.length}),s}static registerRole(e){o.debug("Registering role",{roleName:e.roleName,requiredDatabases:e.requiredDatabases,optionalDatabases:e.optionalDatabases,priority:e.priority}),this.roleRegistry[e.roleName]=e,o.info("Role registered successfully",{roleName:e.roleName})}static registerRoles(e){o.debug("Registering multiple roles",{count:e.length}),e.forEach(t=>this.registerRole(t)),o.info("Multiple roles registered successfully",{count:e.length})}static getRegisteredRoles(){return o.trace("Getting registered roles",{count:Object.keys(this.roleRegistry).length}),Object.assign({},this.roleRegistry)}static getRoleDatabases(e){o.trace("Getting role databases",{roleName:e});const t=this.roleRegistry[e];if(!t)throw o.error("Role not found in registry",{roleName:e,availableRoles:Object.keys(this.roleRegistry)}),new Error(`Role '${e}' is not registered.`);const a=[...t.requiredDatabases,...t.optionalDatabases||[]];return o.trace("Role databases retrieved",{roleName:e,databases:a}),a}static getCurrentUserDatabases(){o.trace("Getting current user databases",{currentUserRoles:this.currentUserRoles});const e=new Set;e.add("core");for(const a of this.currentUserRoles){const s=this.roleRegistry[a];s?(s.requiredDatabases.forEach(r=>e.add(r)),s.optionalDatabases&&s.optionalDatabases.forEach(r=>e.add(r))):o.warn("Role config not found for current user role",{roleName:a})}const t=Array.from(e);return o.debug("Current user databases calculated",{userRoles:this.currentUserRoles,databases:t}),t}static async initializeCoreConnection(){if(console.log("initializeCoreConnection logger config:",S.getCurrentConfig()),o.debug("Initializing core database connection"),this.connections.core){o.debug("Core connection already exists");return}try{const e=this.getSchema("core");if(!e)throw o.error("Core database schema not found"),new Error("Core database schema not found.");o.debug("Creating core database connection",{schemaName:e.database_name});const t=await I.createOrOpen({config:e},!1);await t.execute("PRAGMA integrity_check"),this.connections.core=t,o.info("Core database connection initialized successfully")}catch(e){throw o.error("Error initializing core database",{error:e.message}),new Error(`Error initializing core database: ${e.message}`)}}static async setCurrentUserRoles(e,t){o.debug("Setting current user roles",{userRoles:e,primaryRole:t});for(const s of e)if(!this.roleRegistry[s])throw o.error("Role not registered",{roleName:s,availableRoles:Object.keys(this.roleRegistry)}),new Error(`Role '${s}' is not registered. Please register it first.`);const a=[...this.currentUserRoles];this.currentUserRoles=e,this.currentRole=t||e[0]||null,o.info("User roles updated",{previousRoles:a,newRoles:e,primaryRole:this.currentRole});try{await this.initializeUserRoleConnections(),await this.cleanupUnusedConnections(a),o.info("User role connections initialized successfully")}catch(s){throw o.error("Failed to initialize user role connections",{error:s.message}),s}}static getCurrentUserRoles(){return o.trace("Getting current user roles",{roles:this.currentUserRoles}),[...this.currentUserRoles]}static getCurrentRole(){return o.trace("Getting current primary role",{role:this.currentRole}),this.currentRole}static async initializeUserRoleConnections(){const e=this.getCurrentUserDatabases();o.debug("Initializing user role connections",{requiredDatabases:e});const t=[],a=e.map(async s=>{if(this.connections[s]){o.trace("Database already connected",{dbKey:s});return}try{o.debug("Initializing database connection",{dbKey:s});const r=this.getSchema(s);if(!r)throw new Error(`Database key '${s}' not found in schema configurations.`);const i=await I.createOrOpen({config:r},!1);await i.execute("PRAGMA integrity_check"),this.connections[s]=i,o.info("Database connection initialized",{dbKey:s,schemaName:r.database_name})}catch(r){const i=r instanceof Error?r:new Error(String(r));o.error("Failed to initialize database connection",{dbKey:s,error:i.message}),this.currentUserRoles.some(n=>{const h=this.roleRegistry[n];return h&&h.requiredDatabases.includes(s)})?t.push({key:s,error:i}):o.warn("Optional database initialization failed",{dbKey:s,error:i.message})}});if(await Promise.all(a),t.length>0){const s=t.map(r=>` - ${r.key}: ${r.error.message}`).join(`
|
|
6
|
+
`);throw o.error("Failed to initialize required databases",{failedDatabases:t.map(r=>r.key),errorSummary:s}),new Error(`Failed to initialize required databases for user roles:
|
|
7
|
+
${s}`)}}static async cleanupUnusedConnections(e){o.debug("Cleaning up unused connections",{previousRoles:e});const t=new Set;t.add("core");for(const r of e){const i=this.roleRegistry[r];i&&(i.requiredDatabases.forEach(n=>t.add(n)),i.optionalDatabases&&i.optionalDatabases.forEach(n=>t.add(n)))}const a=new Set(this.getCurrentUserDatabases()),s=Array.from(t).filter(r=>!a.has(r));if(o.debug("Databases to cleanup",{databasesToClose:s,previousDatabaseCount:t.size,currentDatabaseCount:a.size}),s.length>0){for(const r of s)if(this.connections[r])try{o.debug("Closing unused database connection",{dbKey:r}),await this.connections[r].close(),delete this.connections[r],o.info("Database connection closed",{dbKey:r})}catch(i){o.error("Error closing database connection during cleanup",{dbKey:r,error:i.message})}o.info("Cleanup completed",{closedConnections:s})}else o.debug("No connections to cleanup")}static hasAccessToDatabase(e){const t=this.getSchema(e)!==void 0;return o.trace("Checking database access",{dbKey:e,hasAccess:t}),t}static get(e){if(o.trace("Getting database connection",{key:e}),!this.hasAccessToDatabase(e))throw o.error("Access denied to database",{key:e}),new Error(`Access denied: Database '${e}' is not accessible.`);const t=this.connections[e];if(!t)throw o.error("Database not connected",{key:e,availableConnections:Object.keys(this.connections)}),new Error(`Database '${e}' is not connected. Please ensure it's initialized.`);return o.trace("Database connection retrieved successfully",{key:e}),t}static onDatabaseReconnect(e,t){o.debug("Registering database reconnect listener",{schemaName:e}),this.eventListeners.has(e)||this.eventListeners.set(e,[]),this.eventListeners.get(e).push(t),o.trace("Database reconnect listener registered",{schemaName:e,listenerCount:this.eventListeners.get(e).length})}static offDatabaseReconnect(e,t){o.debug("Removing database reconnect listener",{schemaName:e});const a=this.eventListeners.get(e);if(a){const s=a.indexOf(t);s>-1?(a.splice(s,1),o.trace("Database reconnect listener removed",{schemaName:e,remainingListeners:a.length})):o.warn("Database reconnect listener not found for removal",{schemaName:e})}else o.warn("No listeners found for schema",{schemaName:e})}static notifyDatabaseReconnect(e,t){const a=this.eventListeners.get(e);a?(o.debug("Notifying database reconnect listeners",{schemaName:e,listenerCount:a.length}),a.forEach((s,r)=>{try{s(t),o.trace("Database reconnect listener notified",{schemaName:e,listenerIndex:r})}catch(i){o.error("Error in database reconnect listener",{schemaName:e,listenerIndex:r,error:i.message})}})):o.trace("No listeners to notify for database reconnection",{schemaName:e})}static async closeAllConnections(){if(this.isClosingConnections){o.debug("Already closing connections, skipping");return}o.info("Closing all database connections",{connectionCount:Object.keys(this.connections).length}),this.isClosingConnections=!0;try{const e=Object.keys(this.connections);e.forEach(a=>this.activeDatabases.add(a)),o.debug("Saving active database list for potential reconnection",{activeDatabases:e});const t=Object.entries(this.connections).map(async([a,s])=>{try{o.debug("Closing database connection",{dbKey:a}),await s.close(),o.trace("Database connection closed",{dbKey:a})}catch(r){o.error("Error closing database connection",{dbKey:a,error:r.message})}});await Promise.all(t),this.connections={},o.info("All database connections closed successfully")}finally{this.isClosingConnections=!1}}static async reopenConnections(){o.info("Reopening database connections");try{await this.initializeCoreConnection(),this.currentUserRoles.length>0&&await this.initializeUserRoleConnections();const e=Array.from(this.activeDatabases);if(o.debug("Reinitializing previously active databases",{activeDatabases:e}),e.length>0)for(const t of e)if(this.connections[t])this.connections[t]&&(o.trace("Database already connected, notifying listeners",{dbKey:t}),this.notifyDatabaseReconnect(t,this.connections[t]));else{const a=this.getSchema(t);if(a)try{o.debug("Reopening database connection",{dbKey:t});const s=await I.createOrOpen({config:a},!1);await s.connect(),this.connections[t]=s,this.notifyDatabaseReconnect(t,s),o.info("Database connection reopened",{dbKey:t})}catch(s){o.error("Failed to reopen database connection",{dbKey:t,error:s.message})}else o.warn("Schema not found for previously active database",{dbKey:t})}o.info("Database connections reopened successfully")}catch(e){throw o.error("Failed to reopen database connections",{error:e.message}),e}}static async ensureDatabaseConnection(e){if(o.debug("Ensuring database connection",{key:e}),this.activeDatabases.add(e),!this.hasAccessToDatabase(e))throw o.error("Access denied when ensuring database connection",{key:e}),new Error(`Access denied: Database '${e}' is not accessible.`);if(this.connections[e])try{if(this.connections[e].isConnectionOpen())return o.trace("Database connection already active",{key:e}),this.connections[e];o.warn("Database connection inactive, cleaning up",{key:e});try{await this.connections[e].close().catch(()=>{})}catch(t){o.debug("Error during connection cleanup",{key:e,error:t.message})}delete this.connections[e]}catch(t){o.error("Error checking connection status",{key:e,error:t.message}),delete this.connections[e]}return o.debug("Creating new database connection",{key:e}),await this.getLazyLoading(e)}static getConnections(){return o.trace("Getting all connections",{count:Object.keys(this.connections).length}),Object.assign({},this.connections)}static async openAllExisting(e){o.info("Opening all existing databases",{databaseKeys:e});const t=[];for(const a of e)try{o.debug("Opening database",{key:a});const s=this.getSchema(a);if(!s)throw new Error(`Invalid database key: ${a}. Schema not found.`);const r=await I.createOrOpen({config:s},!1);await r.execute("PRAGMA integrity_check"),this.connections[a]=r,o.info("Database opened successfully",{key:a,schemaName:s.database_name})}catch(s){const r=s instanceof Error?s:new Error(String(s));o.error("Failed to open database",{key:a,error:r.message}),t.push({key:a,error:r})}if(t.length>0){const a=t.map(s=>` - ${s.key}: ${s.error.message}`).join(`
|
|
8
|
+
`);throw o.error("Failed to open one or more databases",{failedDatabases:t.map(s=>s.key),errorSummary:a}),new Error(`Failed to open one or more databases:
|
|
9
|
+
${a}`)}return this.isInitialized=!0,o.info("All databases opened successfully",{count:e.length}),!0}static async initLazySchema(e){o.debug("Initializing databases lazily",{databaseKeys:e});const t=e.filter(n=>!this.getSchema(n));if(t.length>0)throw o.error("Invalid database keys found",{invalidKeys:t}),new Error(`Invalid database keys: ${t.join(", ")}. Schemas not found.`);const a=e.filter(n=>!this.connections[n]).length,s=Object.keys(this.connections).length;if(s+a>this.maxConnections)throw o.error("Would exceed maximum connections",{currentConnections:s,newConnections:a,maxConnections:this.maxConnections}),new Error(`Cannot initialize ${a} new connections. Would exceed maximum of ${this.maxConnections} connections. Current: ${s}`);const r=[],i=e.map(async n=>{if(this.connections[n]){o.trace("Database already initialized",{key:n});return}try{o.debug("Initializing database",{key:n});const h=this.getSchema(n),m=await I.createOrOpen({config:h},!1);await m.execute("PRAGMA integrity_check"),this.connections[n]=m,o.info("Database initialized successfully",{key:n,schemaName:h.database_name})}catch(h){const m=h instanceof Error?h:new Error(String(h));o.error("Failed to initialize database",{key:n,error:m.message}),r.push({key:n,error:m})}});if(await Promise.all(i),r.length>0){const n=r.map(h=>` - ${h.key}: ${h.error.message}`).join(`
|
|
10
|
+
`);throw o.error("Failed to initialize one or more databases",{failedDatabases:r.map(h=>h.key),errorSummary:n}),new Error(`Failed to initialize one or more databases:
|
|
11
|
+
${n}`)}return Object.keys(this.connections).length>0&&(this.isInitialized=!0,o.info("Lazy schema initialization completed",{initializedCount:e.length-r.length})),!0}static async initializeAll(){if(this.isInitialized){o.debug("Database manager already initialized");return}const e=this.getAvailableSchemas();o.info("Initializing all available databases",{schemaCount:e.length,schemas:e});const t=[],a=e.map(async s=>{try{o.debug("Initializing schema",{key:s});const r=this.getSchema(s),i=await I.createOrOpen({config:r},!1);this.connections[s]=i,o.info("Schema initialized successfully",{key:s,schemaName:r.database_name})}catch(r){const i=r instanceof Error?r:new Error(String(r));o.error("Failed to initialize schema",{key:s,error:i.message}),t.push({key:s,error:i})}});if(await Promise.all(a),t.length>0){this.isInitialized=!1;const s=t.map(r=>` - ${r.key}: ${r.error.message}`).join(`
|
|
12
|
+
`);throw o.error("Failed to initialize one or more databases",{failedDatabases:t.map(r=>r.key),errorSummary:s}),new Error(`Failed to initialize one or more databases:
|
|
13
|
+
${s}`)}this.isInitialized=!0,o.info("All databases initialized successfully",{totalSchemas:e.length})}static async getLazyLoading(e){if(o.debug("Getting database with lazy loading",{key:e}),this.activeDatabases.add(e),!this.hasAccessToDatabase(e))throw o.error("Access denied for lazy loading",{key:e}),new Error(`Access denied: Database '${e}' is not accessible.`);if(!this.connections[e]){const t=this.getSchema(e);if(!t)throw o.error("Schema not found for lazy loading",{key:e}),new Error(`Invalid database key: ${e}. Schema not found.`);if(Object.keys(this.connections).length>=this.maxConnections)throw o.error("Maximum connections reached",{currentConnections:Object.keys(this.connections).length,maxConnections:this.maxConnections}),new Error("Maximum number of database connections reached");o.debug("Creating new connection for lazy loading",{key:e,schemaName:t.database_name});const a=await I.createOrOpen({config:t},!1);await a.connect(),this.connections[e]=a,o.info("Database connection created via lazy loading",{key:e})}return this.isInitialized=!0,this.connections[e]}static async executeCrossSchemaTransaction(e,t){o.debug("Executing cross-schema transaction",{schemas:e});for(const s of e)if(!this.hasAccessToDatabase(s))throw o.error("Access denied for cross-schema transaction",{key:s,schemas:e}),new Error(`Access denied: Database '${s}' is not accessible.`);const a=e.reduce((s,r)=>(s[r]=this.get(r),s),{});o.debug("Starting cross-schema transaction",{schemas:e});try{await Promise.all(Object.values(a).map(s=>s.beginTransaction())),o.trace("All transactions started successfully"),await t(a),o.trace("Transaction callback completed successfully"),await Promise.all(Object.values(a).map(s=>s.commitTransaction())),o.info("Cross-schema transaction completed successfully",{schemas:e})}catch(s){throw o.error("Cross-schema transaction failed, rolling back",{schemas:e,error:s.message}),await Promise.all(Object.values(a).map(r=>r.rollbackTransaction())),o.debug("Cross-schema transaction rolled back"),s}}static async importDataToTable(e,t,a,s={}){if(o.debug("Importing data to table",{databaseKey:e,tableName:t,recordCount:a.length,options:s}),!this.hasAccessToDatabase(e))throw o.error("Access denied for data import",{databaseKey:e,tableName:t}),new Error(`Access denied: Database '${e}' is not accessible.`);const r=this.get(e);try{const i=await r.importData(Object.assign({tableName:t,data:a},s));return o.info("Data import completed successfully",{databaseKey:e,tableName:t,importedRows:i.successRows,skippedRows:i.errorRows}),i}catch(i){throw o.error("Data import failed",{databaseKey:e,tableName:t,error:i.message}),i}}static async importDataWithMapping(e,t,a,s,r={}){if(o.debug("Importing data with column mapping",{databaseKey:e,tableName:t,recordCount:a.length,mappingCount:s.length,options:r}),!this.hasAccessToDatabase(e))throw o.error("Access denied for data import with mapping",{databaseKey:e,tableName:t}),new Error(`Access denied: Database '${e}' is not accessible.`);const i=this.get(e);try{const n=await i.importDataWithMapping(t,a,s,r);return o.info("Data import with mapping completed successfully",{databaseKey:e,tableName:t,importedRows:n.successRows,skippedRows:n.errorRows}),n}catch(n){throw o.error("Data import with mapping failed",{databaseKey:e,tableName:t,error:n.message}),n}}static async bulkImport(e){const t=Date.now();o.info("Starting bulk import",{configCount:e.length,configs:e.map(s=>({databaseKey:s.databaseKey,tableName:s.tableName,recordCount:s.data.length}))});const a={totalDatabases:e.length,successDatabases:0,results:{},errors:{},executionTime:0};for(const s of e){const r=`${s.databaseKey}.${s.tableName}`;o.debug("Processing bulk import config",{configKey:r});try{if(!this.hasAccessToDatabase(s.databaseKey))throw new Error(`Access denied: Database '${s.databaseKey}' is not accessible.`);const i=this.get(s.databaseKey);let n;s.columnMappings?(o.trace("Using column mappings for import",{configKey:r}),n=await i.importDataWithMapping(s.tableName,s.data,s.columnMappings,s.options)):(o.trace("Using direct import",{configKey:r}),n=await i.importData(Object.assign({tableName:s.tableName,data:s.data},s.options))),a.results[r]=n,a.successDatabases++,o.info("Bulk import config completed successfully",{configKey:r,importedRows:n.successRows,skippedRows:n.errorRows})}catch(i){const n=i instanceof Error?i:new Error(String(i));o.error("Bulk import config failed",{configKey:r,error:n.message}),a.errors[r]=n}}return a.executionTime=Date.now()-t,o.info("Bulk import completed",{totalConfigs:a.totalDatabases,successfulConfigs:a.successDatabases,failedConfigs:Object.keys(a.errors).length,executionTimeMs:a.executionTime}),a}static async importFromCSV(e,t,a,s={}){if(o.debug("Importing from CSV",{databaseKey:e,tableName:t,csvSize:a.length,options:s}),!this.hasAccessToDatabase(e))throw o.error("Access denied for CSV import",{databaseKey:e,tableName:t}),new Error(`Access denied: Database '${e}' is not accessible.`);const r=this.get(e);try{const i=await r.importFromCSV(t,a,s);return o.info("CSV import completed successfully",{databaseKey:e,tableName:t,importedRows:i.successRows,skippedRows:i.errorRows}),i}catch(i){throw o.error("CSV import failed",{databaseKey:e,tableName:t,error:i.message}),i}}static getConnectionCount(){const e=Object.keys(this.connections).length;return o.trace("Getting connection count",{count:e}),e}static listConnections(){const e=Object.keys(this.connections);return o.trace("Listing connections",{connections:e}),e}static async closeConnection(e){o.debug("Closing specific connection",{dbKey:e});const t=this.connections[e];if(t)try{await t.disconnect(),delete this.connections[e],o.info("Database connection closed successfully",{dbKey:e})}catch(a){throw o.error("Error closing database connection",{dbKey:e,error:a.message}),a}else o.warn("Attempted to close non-existent connection",{dbKey:e})}static async closeAll(){o.info("Closing all connections and resetting state"),await this.closeAllConnections(),this.currentUserRoles=[],this.currentRole=null,this.isInitialized=!1,this.activeDatabases.clear(),this.eventListeners.clear(),this.isClosingConnections=!1,o.info("All connections closed and state reset successfully")}static async logout(){o.info("Logging out user",{currentUserRoles:this.currentUserRoles});const e=Object.keys(this.connections).filter(t=>t!=="core");o.debug("Closing role-specific connections",{connectionsToClose:e});for(const t of e)try{await this.connections[t].close(),delete this.connections[t],o.debug("Role-specific connection closed",{dbKey:t})}catch(a){o.error("Error closing connection during logout",{dbKey:t,error:a.message})}this.currentUserRoles=[],this.currentRole=null,o.info("User logout completed successfully",{closedConnections:e.length})}}v.maxConnections=10,v.connections={},v.isInitialized=!1,v.roleRegistry={},v.currentRole=null,v.currentUserRoles=[],v.activeDatabases=new Set,v.isClosingConnections=!1,v.schemaConfigurations={},v.schemaManager=null,v.eventListeners=new Map;const l=k(O.BASE_SERVICE);class V{constructor(e,t){this.dao=null,this.isOpened=!1,this.isInitialized=!1,this.errorHandlers=new Map,this.eventListeners=new Map,this.primaryKeyFields=["id"],this.cache=new Map,this.schemaName=e,this.tableName=t||e,l.debug("Creating BaseService instance",{schemaName:this.schemaName,tableName:this.tableName,primaryKeyFields:this.primaryKeyFields}),this.reconnectHandler=a=>{l.info("Database reconnected for service",{schemaName:this.schemaName,tableName:this.tableName}),this.dao=a,this._emit("daoReconnected",{schemaName:this.schemaName})},v.onDatabaseReconnect(e,this.reconnectHandler),this.bindMethods(),l.trace("BaseService instance created successfully",{schemaName:this.schemaName,tableName:this.tableName})}bindMethods(){l.trace("Binding service methods",{schemaName:this.schemaName,tableName:this.tableName}),Object.getOwnPropertyNames(Object.getPrototypeOf(this)).forEach(e=>{typeof this[e]=="function"&&e!=="constructor"&&(this[e]=this[e].bind(this))})}setPrimaryKeyFields(e){return l.debug("Setting primary key fields",{schemaName:this.schemaName,tableName:this.tableName,previousFields:this.primaryKeyFields,newFields:e}),this.primaryKeyFields=e,this}async init(){l.info("Initializing BaseService",{schemaName:this.schemaName,tableName:this.tableName,isInitialized:this.isInitialized});try{if(this.isInitialized)return l.debug("Service already initialized, skipping",{schemaName:this.schemaName}),this;if(l.debug("Getting DAO from DatabaseManager",{schemaName:this.schemaName}),this.dao=await v.getLazyLoading(this.schemaName),!this.dao){const e=`Failed to initialize DAO for schema: ${this.schemaName}`;throw l.error(e,{schemaName:this.schemaName}),new Error(e)}return this.dao.isConnectionOpen()||(l.debug("DAO connection not open, connecting",{schemaName:this.schemaName}),await this.dao.connect()),this.isOpened=!0,this.isInitialized=!0,l.info("BaseService initialized successfully",{schemaName:this.schemaName,tableName:this.tableName,isOpened:this.isOpened,isInitialized:this.isInitialized}),this._emit("initialized",{schemaName:this.schemaName}),this}catch(e){throw l.error("Error initializing BaseService",{schemaName:this.schemaName,tableName:this.tableName,error:e.message}),this._handleError("INIT_ERROR",e),e}}async upsert(e,t){l.debug("Starting upsert operation",{schemaName:this.schemaName,tableName:this.tableName,hasData:!!e,dataKeys:e?Object.keys(e):[],searchFields:t||this.primaryKeyFields}),await this._ensureInitialized(),await this.ensureValidConnection();try{this._validateData(e);const a=t||this.primaryKeyFields;l.trace("Building conditions for existence check",{schemaName:this.schemaName,tableName:this.tableName,fieldsToCheck:a});const s={};let r=!0;for(const n of a){const h=e[n];if(h!=null)s[n]=h;else{r=!1,l.trace("Missing required field for upsert check",{schemaName:this.schemaName,tableName:this.tableName,field:n});break}}if(!r)return l.debug("Missing required fields, performing insert",{schemaName:this.schemaName,tableName:this.tableName,fieldsToCheck:a}),await this.create(e);l.trace("Checking if record exists",{schemaName:this.schemaName,tableName:this.tableName,conditions:s});const i=await this.findFirst(s);if(i){const n=i[this.primaryKeyFields[0]];l.debug("Record exists, performing update",{schemaName:this.schemaName,tableName:this.tableName,primaryKeyField:this.primaryKeyFields[0],primaryKeyValue:n});const h=await this.update(n,e);return l.info("Upsert completed (update)",{schemaName:this.schemaName,tableName:this.tableName,operation:"update",primaryKeyValue:n}),this._emit("dataUpserted",{operation:"upsert",action:"update",data:h}),h}else{l.debug("Record does not exist, performing insert",{schemaName:this.schemaName,tableName:this.tableName});const n=await this.create(e);return l.info("Upsert completed (insert)",{schemaName:this.schemaName,tableName:this.tableName,operation:"insert"}),this._emit("dataUpserted",{operation:"upsert",action:"insert",data:n}),n}}catch(a){throw l.error("Error during upsert operation",{schemaName:this.schemaName,tableName:this.tableName,error:a.message}),this._handleError("UPSERT_ERROR",a),a}}async create(e){l.debug("Creating new record",{schemaName:this.schemaName,tableName:this.tableName,hasData:!!e,dataKeys:e?Object.keys(e):[]}),await this._ensureInitialized(),await this.ensureValidConnection();try{this._validateData(e),l.trace("Building data table for insert",{schemaName:this.schemaName,tableName:this.tableName});const t=this.buildDataTable(e),a=await this.dao.insert(t);if(a.rowsAffected===0){const i="Insert operation failed - no rows affected";throw l.error(i,{schemaName:this.schemaName,tableName:this.tableName,result:a}),new Error(i)}l.debug("Insert operation successful",{schemaName:this.schemaName,tableName:this.tableName,rowsAffected:a.rowsAffected,lastInsertRowId:a.lastInsertRowId});let s=null;const r=e[this.primaryKeyFields[0]];try{r!=null?(l.trace("Retrieving created record by primary key",{schemaName:this.schemaName,tableName:this.tableName,primaryKeyField:this.primaryKeyFields[0],primaryKeyValue:r}),s=await this.findById(r)):a.lastInsertRowId&&(l.trace("Retrieving created record by last insert ID",{schemaName:this.schemaName,tableName:this.tableName,lastInsertRowId:a.lastInsertRowId}),s=await this.findById(a.lastInsertRowId))}catch(i){l.warn("Could not retrieve created record",{schemaName:this.schemaName,tableName:this.tableName,findError:i.message})}return s||(l.debug("Using original data as created record",{schemaName:this.schemaName,tableName:this.tableName}),s=e),l.info("Record created successfully",{schemaName:this.schemaName,tableName:this.tableName,recordRetrieved:!!s}),this._emit("dataCreated",{operation:"create",data:s}),s}catch(t){throw l.error("Error creating record",{schemaName:this.schemaName,tableName:this.tableName,error:t.message}),this._handleError("CREATE_ERROR",t),t}}async update(e,t){l.debug("Updating record",{schemaName:this.schemaName,tableName:this.tableName,id:e,hasData:!!t,dataKeys:t?Object.keys(t):[]}),await this._ensureInitialized();try{if(!e){const i="ID is required for update";throw l.error(i,{schemaName:this.schemaName,tableName:this.tableName}),new Error(i)}this._validateData(t);const a=Object.assign(Object.assign({},t),{[this.primaryKeyFields[0]]:e});l.trace("Building update query table",{schemaName:this.schemaName,tableName:this.tableName,id:e});const s=this.buildDataTable(a);await this.dao.update(s),l.debug("Update operation completed",{schemaName:this.schemaName,tableName:this.tableName,id:e});const r=await this.findById(e);return l.info("Record updated successfully",{schemaName:this.schemaName,tableName:this.tableName,id:e,recordFound:!!r}),this._emit("dataUpdated",{operation:"update",id:e,data:r}),r}catch(a){throw l.error("Error updating record",{schemaName:this.schemaName,tableName:this.tableName,id:e,error:a.message}),this._handleError("UPDATE_ERROR",a),a}}async delete(e){l.debug("Deleting record",{schemaName:this.schemaName,tableName:this.tableName,id:e}),await this._ensureInitialized();try{if(!e){const r="ID is required for delete";throw l.error(r,{schemaName:this.schemaName,tableName:this.tableName}),new Error(r)}const t={name:this.tableName,cols:[],wheres:[{name:this.primaryKeyFields[0],value:e}]};l.trace("Executing delete operation",{schemaName:this.schemaName,tableName:this.tableName,id:e,primaryKeyField:this.primaryKeyFields[0]});const a=await this.dao.delete(t),s=a.rowsAffected>0;return s?(l.info("Record deleted successfully",{schemaName:this.schemaName,tableName:this.tableName,id:e,rowsAffected:a.rowsAffected}),this._emit("dataDeleted",{operation:"delete",id:e})):l.warn("Delete operation completed but no rows affected",{schemaName:this.schemaName,tableName:this.tableName,id:e}),s}catch(t){throw l.error("Error deleting record",{schemaName:this.schemaName,tableName:this.tableName,id:e,error:t.message}),this._handleError("DELETE_ERROR",t),t}}async findById(e){l.debug("Finding record by ID",{schemaName:this.schemaName,tableName:this.tableName,id:e}),await this._ensureInitialized();try{if(!e){const i="ID is required";throw l.error(i,{schemaName:this.schemaName,tableName:this.tableName}),new Error(i)}const t={[this.primaryKeyFields[0]]:e};l.trace("Building select query",{schemaName:this.schemaName,tableName:this.tableName,conditions:t});const a=this.buildSelectTable(t),s=await this.dao.select(a),r=Object.keys(s).length>0?s:null;return l.debug("Find by ID completed",{schemaName:this.schemaName,tableName:this.tableName,id:e,recordFound:!!r}),this._emit("dataFetched",{operation:"findById",id:e}),r}catch(t){throw l.error("Error finding record by ID",{schemaName:this.schemaName,tableName:this.tableName,id:e,error:t.message}),this._handleError("FIND_BY_ID_ERROR",t),t}}async findFirst(e={}){l.debug("Finding first record",{schemaName:this.schemaName,tableName:this.tableName,conditionsCount:Object.keys(e).length,conditions:e}),await this._ensureInitialized();try{l.trace("Building select query for findFirst",{schemaName:this.schemaName,tableName:this.tableName});const t=this.buildSelectTable(e),a=await this.dao.select(t),s=Object.keys(a).length>0?a:null;return l.debug("Find first completed",{schemaName:this.schemaName,tableName:this.tableName,recordFound:!!s}),this._emit("dataFetched",{operation:"findFirst"}),s}catch(t){throw l.error("Error finding first record",{schemaName:this.schemaName,tableName:this.tableName,conditions:e,error:t.message}),this._handleError("FIND_FIRST_ERROR",t),t}}async findAll(e={},t={}){l.debug("Finding all records",{schemaName:this.schemaName,tableName:this.tableName,conditionsCount:Object.keys(e).length,hasLimit:!!t.limit,hasOffset:!!t.offset,hasOrderBy:!!(t.orderBy&&t.orderBy.length>0),limit:t.limit,offset:t.offset}),await this._ensureInitialized();try{const a=[...this.buildWhereFromObject(e),...t.where||[]];l.trace("Building query for findAll",{schemaName:this.schemaName,tableName:this.tableName,totalWheres:a.length,hasColumns:!!(t.columns&&t.columns.length>0)});const s={name:this.tableName,cols:t.columns?t.columns.map(i=>({name:i})):[],wheres:a,orderbys:t.orderBy,limitOffset:{limit:t.limit,offset:t.offset}},r=await this.dao.selectAll(s);return l.info("Find all completed",{schemaName:this.schemaName,tableName:this.tableName,recordsFound:r.length,conditionsCount:Object.keys(e).length}),this._emit("dataFetched",{operation:"findAll",count:r.length}),r}catch(a){throw l.error("Error finding all records",{schemaName:this.schemaName,tableName:this.tableName,conditions:e,options:t,error:a.message}),this._handleError("FIND_ALL_ERROR",a),a}}async count(e){l.debug("Counting records",{schemaName:this.schemaName,tableName:this.tableName,hasWhere:!!e,whereType:e?Array.isArray(e)?"array":"object":"none"}),await this._ensureInitialized();try{let t=[];Array.isArray(e)?(t=e,l.trace("Using array where conditions",{schemaName:this.schemaName,whereCount:t.length})):e&&typeof e=="object"&&(t=this.buildWhereFromObject(e),l.trace("Built where conditions from object",{schemaName:this.schemaName,whereCount:t.length}));const a={name:this.tableName,cols:[{name:"COUNT(*) as count"}],wheres:t},s=(await this.dao.select(a)).count||0;return l.debug("Count completed",{schemaName:this.schemaName,tableName:this.tableName,count:s}),s}catch(t){throw l.error("Error counting records",{schemaName:this.schemaName,tableName:this.tableName,where:e,error:t.message}),this._handleError("COUNT_ERROR",t),t}}async exists(e){l.debug("Checking if record exists",{schemaName:this.schemaName,tableName:this.tableName,id:e});const t=await this.findById(e)!==null;return l.debug("Existence check completed",{schemaName:this.schemaName,tableName:this.tableName,id:e,exists:t}),t}async truncate(){l.warn("Truncating table - this will delete all data",{schemaName:this.schemaName,tableName:this.tableName}),await this._ensureInitialized();try{l.debug("Executing truncate operations",{schemaName:this.schemaName,tableName:this.tableName}),await this.dao.execute(`DELETE FROM ${this.tableName}`),await this.dao.execute(`DELETE FROM sqlite_sequence WHERE name='${this.tableName}'`),l.info("Table truncated successfully",{schemaName:this.schemaName,tableName:this.tableName}),this._emit("tableTruncated",{tableName:this.tableName})}catch(e){throw l.error("Error truncating table",{schemaName:this.schemaName,tableName:this.tableName,error:e.message}),this._handleError("TRUNCATE_ERROR",e),e}}async bulkUpsert(e,t,a=!0){l.info("Starting bulk upsert operation",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length,searchFields:t||this.primaryKeyFields,useTransaction:a}),await this._ensureInitialized(),await this.ensureValidConnection();try{if(!Array.isArray(e)||e.length===0){const n="Data must be a non-empty array";throw l.error(n,{schemaName:this.schemaName,tableName:this.tableName,dataType:typeof e,dataLength:Array.isArray(e)?e.length:"N/A"}),new Error(n)}const s={created:[],updated:[],total:e.length,errors:[]},r=t||this.primaryKeyFields;l.debug("Preparing bulk upsert",{schemaName:this.schemaName,tableName:this.tableName,fieldsToCheck:r,itemsCount:e.length});const i=async()=>{for(let n=0;n<e.length;n++){const h=e[n];try{n%100===0&&l.trace("Bulk upsert progress",{schemaName:this.schemaName,tableName:this.tableName,processed:n,total:e.length,created:s.created.length,updated:s.updated.length,errors:s.errors.length}),this._validateData(h);const m={};let f=!0;for(const d of r){const C=h[d];if(C!=null)m[d]=C;else{f=!1;break}}if(!f){l.trace("Missing required fields for item, performing insert",{schemaName:this.schemaName,tableName:this.tableName,index:n,fieldsToCheck:r});const d=this.buildDataTable(h);await this.dao.insert(d),s.created.push(h);continue}const y=await this.findFirst(m);if(y){const d=y[this.primaryKeyFields[0]];l.trace("Record exists, performing update",{schemaName:this.schemaName,tableName:this.tableName,index:n,primaryKeyValue:d});const C=Object.assign(Object.assign({},h),{[this.primaryKeyFields[0]]:d}),w=this.buildDataTable(C);await this.dao.update(w);const D=await this.findById(d);D&&s.updated.push(D)}else{l.trace("Record does not exist, performing insert",{schemaName:this.schemaName,tableName:this.tableName,index:n});const d=this.buildDataTable(h);await this.dao.insert(d),s.created.push(h)}}catch(m){l.warn("Error processing item in bulk upsert",{schemaName:this.schemaName,tableName:this.tableName,index:n,error:m.message}),s.errors.push({index:n,data:h,error:m.message})}}};return a?(l.debug("Executing bulk upsert in transaction",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length}),await this.executeTransaction(i)):(l.debug("Executing bulk upsert without transaction",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length}),await i()),l.info("Bulk upsert completed",{schemaName:this.schemaName,tableName:this.tableName,total:s.total,created:s.created.length,updated:s.updated.length,errors:s.errors.length,successRate:`${((s.created.length+s.updated.length)/s.total*100).toFixed(2)}%`}),this._emit("dataBulkUpserted",{operation:"bulkUpsert",created:s.created.length,updated:s.updated.length,errors:s.errors.length,total:s.total}),s}catch(s){throw l.error("Error during bulk upsert operation",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length,error:s.message}),this._handleError("BULK_UPSERT_ERROR",s),s}}async bulkInsert(e){l.info("Starting bulk insert",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length}),await this._ensureInitialized();try{if(!Array.isArray(e)||e.length===0){const a="Items must be a non-empty array";throw l.error(a,{schemaName:this.schemaName,tableName:this.tableName,itemsType:typeof e,itemsLength:Array.isArray(e)?e.length:"N/A"}),new Error(a)}l.debug("Executing bulk insert operation",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length});const t=await this.dao.importData({tableName:this.tableName,data:e,batchSize:1e3,skipErrors:!1,validateData:!0});return l.info("Bulk insert completed",{schemaName:this.schemaName,tableName:this.tableName,totalRows:t.totalRows,successRows:t.successRows,errorRows:t.errorRows}),this._emit("dataBulkCreated",{operation:"bulkInsert",count:t.successRows}),t}catch(t){throw l.error("Error during bulk insert",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length,error:t.message}),this._handleError("BULK_INSERT_ERROR",t),t}}async bulkCreate(e){l.info("Starting bulk create with transaction",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length}),await this._ensureInitialized();try{if(!Array.isArray(e)||e.length===0){const a="Data must be a non-empty array";throw l.error(a,{schemaName:this.schemaName,tableName:this.tableName,dataType:typeof e,dataLength:Array.isArray(e)?e.length:"N/A"}),new Error(a)}const t=[];return l.debug("Executing bulk create in transaction",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length}),await this.executeTransaction(async()=>{for(let a=0;a<e.length;a++){const s=e[a];a%100===0&&l.trace("Bulk create progress",{schemaName:this.schemaName,tableName:this.tableName,processed:a,total:e.length}),this._validateData(s);const r=this.buildDataTable(s);await this.dao.insert(r),t.push(s)}}),l.info("Bulk create completed successfully",{schemaName:this.schemaName,tableName:this.tableName,recordsCreated:t.length}),this._emit("dataBulkCreated",{operation:"bulkCreate",count:t.length}),t}catch(t){throw l.error("Error during bulk create",{schemaName:this.schemaName,tableName:this.tableName,itemsCount:e.length,error:t.message}),this._handleError("BULK_CREATE_ERROR",t),t}}async executeTransaction(e){l.debug("Starting transaction",{schemaName:this.schemaName,tableName:this.tableName}),await this._ensureInitialized();try{l.trace("Beginning database transaction",{schemaName:this.schemaName}),await this.dao.beginTransaction();const t=await e();return l.trace("Committing transaction",{schemaName:this.schemaName}),await this.dao.commitTransaction(),l.info("Transaction completed successfully",{schemaName:this.schemaName,tableName:this.tableName}),this._emit("transactionCompleted",{operation:"transaction"}),t}catch(t){l.error("Transaction failed, rolling back",{schemaName:this.schemaName,tableName:this.tableName,error:t.message});try{await this.dao.rollbackTransaction(),l.debug("Transaction rollback successful",{schemaName:this.schemaName})}catch(a){l.error("Error during transaction rollback",{schemaName:this.schemaName,rollbackError:a.message}),this._handleError("ROLLBACK_ERROR",a)}throw this._handleError("TRANSACTION_ERROR",t),t}}async importFromCSV(e,t={}){l.info("Starting CSV import",{schemaName:this.schemaName,tableName:this.tableName,csvDataLength:e.length,delimiter:t.delimiter,hasHeader:t.hasHeader,hasMappings:!!(t.columnMappings&&t.columnMappings.length>0)}),await this._ensureInitialized();try{const a=await this.dao.importFromCSV(this.tableName,e,t);return l.info("CSV import completed",{schemaName:this.schemaName,tableName:this.tableName,totalRows:a.totalRows,successRows:a.successRows,errorRows:a.errorRows}),this._emit("dataImported",{operation:"importFromCSV",result:a}),a}catch(a){throw l.error("Error during CSV import",{schemaName:this.schemaName,tableName:this.tableName,csvDataLength:e.length,error:a.message}),this._handleError("IMPORT_CSV_ERROR",a),a}}async importDataWithMapping(e,t,a={}){l.info("Starting import with column mapping",{schemaName:this.schemaName,tableName:this.tableName,dataCount:e.length,mappingsCount:t.length}),await this._ensureInitialized();try{const s=await this.dao.importDataWithMapping(this.tableName,e,t,a);return l.info("Import with mapping completed",{schemaName:this.schemaName,tableName:this.tableName,totalRows:s.totalRows,successRows:s.successRows,errorRows:s.errorRows}),this._emit("dataImported",{operation:"importWithMapping",result:s}),s}catch(s){throw l.error("Error during import with mapping",{schemaName:this.schemaName,tableName:this.tableName,dataCount:e.length,mappingsCount:t.length,error:s.message}),this._handleError("IMPORT_MAPPING_ERROR",s),s}}buildSelectTable(e={},t={}){l.trace("Building select table query",{schemaName:this.schemaName,tableName:this.tableName,conditionsCount:Object.keys(e).length,hasOptions:Object.keys(t).length>0});const a={name:this.tableName,cols:[],wheres:[],orderbys:t.orderBy||[],limitOffset:{}};return t.columns&&t.columns.length>0&&(a.cols=t.columns.map(s=>({name:s}))),e&&Object.keys(e).length>0&&(a.wheres=Object.entries(e).map(([s,r])=>({name:s,value:r,operator:"="}))),t.limit!==void 0&&(a.limitOffset.limit=t.limit),t.offset!==void 0&&(a.limitOffset.offset=t.offset),a}buildDataTable(e){const t=Object.entries(e).reduce((a,[s,r])=>(r!==void 0&&(a[s]=r),a),{});return l.trace("Building data table for query",{schemaName:this.schemaName,tableName:this.tableName,dataKeys:Object.keys(t),removedKeys:Object.keys(e).filter(a=>e[a]===void 0)}),this.dao.convertJsonToQueryTable(this.tableName,t,this.primaryKeyFields)}buildWhereFromObject(e){const t=Object.entries(e).filter(([a,s])=>s!==void 0).map(([a,s])=>({name:a,value:s}));return l.trace("Built where clauses from object",{schemaName:this.schemaName,originalKeys:Object.keys(e).length,filteredWheres:t.length}),t}on(e,t){return l.trace("Adding event listener",{schemaName:this.schemaName,tableName:this.tableName,event:e}),this.eventListeners.has(e)||this.eventListeners.set(e,[]),this.eventListeners.get(e).push(t),this}off(e,t){l.trace("Removing event listener",{schemaName:this.schemaName,tableName:this.tableName,event:e});const a=this.eventListeners.get(e);if(a){const s=a.indexOf(t);s>-1&&a.splice(s,1)}return this}_emit(e,t){l.trace("Emitting event",{schemaName:this.schemaName,tableName:this.tableName,event:e,hasData:!!t});const a=this.eventListeners.get(e);a&&a.forEach(s=>{try{s(t)}catch(r){l.error("Error in event handler",{schemaName:this.schemaName,tableName:this.tableName,event:e,error:r.message})}})}setErrorHandler(e,t){return l.debug("Setting error handler",{schemaName:this.schemaName,tableName:this.tableName,errorType:e}),this.errorHandlers.set(e,t),this}_handleError(e,t){l.error("Handling service error",{schemaName:this.schemaName,tableName:this.tableName,errorType:e,error:t.message});const a=this.errorHandlers.get(e);if(a)try{a(t)}catch(s){l.error("Error in error handler",{schemaName:this.schemaName,tableName:this.tableName,errorType:e,handlerError:s.message})}this._emit("error",{errorType:e,error:t})}_validateData(e){if(!e||typeof e!="object"){const t="Data must be a valid object";throw l.error("Data validation failed",{schemaName:this.schemaName,tableName:this.tableName,dataType:typeof e,isNull:e===null}),new Error(t)}Object.keys(e).forEach(t=>{e[t]===void 0&&(delete e[t],l.trace("Removed undefined field",{schemaName:this.schemaName,tableName:this.tableName,field:t}))})}async _ensureInitialized(){this.isInitialized||(l.debug("Service not initialized, initializing now",{schemaName:this.schemaName,tableName:this.tableName}),await this.init())}async ensureValidConnection(){var e;l.trace("Ensuring valid database connection",{schemaName:this.schemaName,tableName:this.tableName});try{!((e=this.dao)===null||e===void 0)&&e.isConnectionOpen()||(l.debug("Connection not valid, getting new connection",{schemaName:this.schemaName}),this.dao=await v.ensureDatabaseConnection(this.schemaName))}catch(t){l.warn("Error checking connection, getting new connection",{schemaName:this.schemaName,error:t.message}),this.dao=await v.ensureDatabaseConnection(this.schemaName)}}async getDatabaseInfo(){return l.trace("Getting database info",{schemaName:this.schemaName,tableName:this.tableName}),await this._ensureInitialized(),await this.dao.getDatabaseInfo()}async getTableInfo(){return l.trace("Getting table info",{schemaName:this.schemaName,tableName:this.tableName}),await this._ensureInitialized(),await this.dao.getTableInfo(this.tableName)}getStatus(){const e={schemaName:this.schemaName,tableName:this.tableName,isOpened:this.isOpened,isInitialized:this.isInitialized,hasDao:!!this.dao};return l.trace("Getting service status",e),e}async healthCheck(){l.debug("Performing health check",{schemaName:this.schemaName,tableName:this.tableName});try{await this._ensureInitialized();const e=await this.count(),t={healthy:!0,schemaName:this.schemaName,recordCount:e,timestamp:new Date().toISOString()};return l.info("Health check passed",{schemaName:this.schemaName,tableName:this.tableName,recordCount:e}),t}catch(e){const t={healthy:!1,schemaName:this.schemaName,error:e.message,timestamp:new Date().toISOString()};return l.error("Health check failed",{schemaName:this.schemaName,tableName:this.tableName,error:e.message}),t}}async close(){l.info("Closing BaseService",{schemaName:this.schemaName,tableName:this.tableName,isOpened:this.isOpened,isInitialized:this.isInitialized});try{return this.dao&&(await this.dao.close(),l.debug("DAO closed successfully",{schemaName:this.schemaName})),this.isOpened=!1,this.isInitialized=!1,this.eventListeners.clear(),this.errorHandlers.clear(),this.cache.clear(),l.info("BaseService closed successfully",{schemaName:this.schemaName,tableName:this.tableName}),this._emit("closed",{schemaName:this.schemaName}),!0}catch(e){throw l.error("Error closing BaseService",{schemaName:this.schemaName,tableName:this.tableName,error:e.message}),this._handleError("CLOSE_ERROR",e),e}}destroy(){l.debug("Destroying BaseService",{schemaName:this.schemaName,tableName:this.tableName}),v.offDatabaseReconnect(this.schemaName,this.reconnectHandler),this.eventListeners.clear(),this.errorHandlers.clear(),this.cache.clear(),l.trace("BaseService destroyed",{schemaName:this.schemaName,tableName:this.tableName})}async getAll(e={},t={}){return l.trace("Using getAll alias",{schemaName:this.schemaName,tableName:this.tableName}),this.findAll(e,t)}async getById(e){return l.trace("Using getById alias",{schemaName:this.schemaName,tableName:this.tableName,id:e}),this.findById(e)}async getFirst(e={}){return l.trace("Using getFirst alias",{schemaName:this.schemaName,tableName:this.tableName}),this.findFirst(e)}}const g=k(O.SERVICE_MANAGER);class F extends V{}class T{constructor(){this.services=new Map,this.serviceConfigs=new Map,this.serviceMetadata=new Map,this.eventHandlers=new Map,this.isShuttingDown=!1,this.cleanupInterval=null,g.info("ServiceManager instance created"),this.bindMethods(),this.startPeriodicCleanup()}static getInstance(){return T.instance?g.trace("Returning existing ServiceManager singleton instance"):(g.debug("Creating new ServiceManager singleton instance"),T.instance=new T),T.instance}static resetInstance(){g.warn("Resetting ServiceManager singleton instance"),T.instance?(T.instance.destroy(),T.instance=null,g.info("ServiceManager singleton instance reset successfully")):g.debug("No ServiceManager instance to reset")}bindMethods(){g.trace("Binding ServiceManager methods");const e=Object.getOwnPropertyNames(Object.getPrototypeOf(this));e.forEach(t=>{typeof this[t]=="function"&&t!=="constructor"&&(this[t]=this[t].bind(this))}),g.trace("ServiceManager methods bound successfully",{methodCount:e.length})}createServiceKey(e,t){const a=`${e}:${t}`;return g.trace("Created service key",{schemaName:e,tableName:t,key:a}),a}validateServiceConfig(e){var t,a;if(g.trace("Validating service config",{schemaName:e.schemaName,tableName:e.tableName}),!(!((t=e.schemaName)===null||t===void 0)&&t.trim()))throw g.error("Invalid service config: schema name missing",{config:e}),new Error("Schema name is required and cannot be empty");if(!(!((a=e.tableName)===null||a===void 0)&&a.trim()))throw g.error("Invalid service config: table name missing",{config:e}),new Error("Table name is required and cannot be empty");g.trace("Service config validation passed",{schemaName:e.schemaName,tableName:e.tableName})}registerService(e){g.debug("Registering service",{schemaName:e.schemaName,tableName:e.tableName,primaryKeyFields:e.primaryKeyFields,hasCustomServiceClass:!!e.serviceClass}),this.validateServiceConfig(e);const t=this.createServiceKey(e.schemaName,e.tableName),a={schemaName:e.schemaName.trim(),tableName:e.tableName.trim(),primaryKeyFields:e.primaryKeyFields||["id"],serviceClass:e.serviceClass||F},s=this.serviceConfigs.has(t);return this.serviceConfigs.set(t,a),s?g.info("Service configuration updated",{serviceKey:t}):g.info("Service registered successfully",{serviceKey:t}),this}registerServices(e){return g.debug("Registering multiple services",{count:e.length}),e.forEach((t,a)=>{try{this.registerService(t)}catch(s){throw g.error("Failed to register service in batch",{index:a,config:t,error:s.message}),s}}),g.info("Multiple services registered successfully",{count:e.length}),this}async createServiceInstance(e){var t;g.debug("Creating service instance",{schemaName:e.schemaName,tableName:e.tableName,serviceClassName:((t=e.serviceClass)===null||t===void 0?void 0:t.name)||"DefaultService",serviceClass:e.serviceClass,isDefaultService:e.serviceClass===F});const a=e.serviceClass||F;if(!a)throw g.error("ServiceClass is undefined",{config:e}),new Error("ServiceClass is undefined");g.debug("About to instantiate service",{ServiceClassConstructor:a,ServiceClassName:a.name});const s=new a(e.schemaName,e.tableName);return g.debug("Service instance created",{serviceConstructor:s.constructor.name,servicePrototype:Object.getPrototypeOf(s).constructor.name,hasFindByStoreId:typeof s.findByStoreId=="function"}),e.primaryKeyFields&&(g.trace("Setting primary key fields",{schemaName:e.schemaName,tableName:e.tableName,primaryKeyFields:e.primaryKeyFields}),s.setPrimaryKeyFields(e.primaryKeyFields)),g.info("Service instance created successfully",{schemaName:e.schemaName,tableName:e.tableName}),s}async getService(e,t){if(this.isShuttingDown)throw g.error("ServiceManager is shutting down, cannot get service",{schemaName:e,tableName:t}),new Error("ServiceManager is shutting down");const a=this.createServiceKey(e,t);g.debug("Getting service",{serviceKey:a});const s=this.serviceMetadata.get(a);if(s&&(s.lastAccessed=new Date().toISOString(),g.trace("Updated service access time",{serviceKey:a})),this.services.has(a))return g.trace("Returning existing service",{serviceKey:a}),this.services.get(a);let r=this.serviceConfigs.get(a);r||(g.debug("Creating default config for unregistered service",{serviceKey:a}),r={schemaName:e,tableName:t,primaryKeyFields:["id"],serviceClass:F},this.serviceConfigs.set(a,r));try{const i=await this.createServiceInstance(r);return this.services.set(a,i),this.serviceMetadata.set(a,{createdAt:new Date().toISOString(),lastAccessed:new Date().toISOString()}),this.emit("SERVICE_CREATED",{serviceKey:a,schemaName:e,tableName:t}),g.info("Service created and cached successfully",{serviceKey:a}),i}catch(i){throw g.error("Failed to create service",{serviceKey:a,error:i.message}),this.emit("SERVICE_ERROR",{serviceKey:a,schemaName:e,tableName:t,error:i}),i}}getExistingService(e,t){const a=this.createServiceKey(e,t);g.trace("Getting existing service",{serviceKey:a});const s=this.services.get(a)||null;return s?g.trace("Existing service found",{serviceKey:a}):g.trace("Existing service not found",{serviceKey:a}),s}async initializeService(e,t){const a=this.createServiceKey(e,t);g.debug("Initializing service",{serviceKey:a});try{const s=await this.getService(e,t);return await s.init(),g.info("Service initialized successfully",{serviceKey:a}),s}catch(s){throw g.error("Failed to initialize service",{serviceKey:a,error:s.message}),s}}async destroyService(e,t){const a=this.createServiceKey(e,t);g.debug("Destroying service",{serviceKey:a});const s=this.services.get(a);if(!s)return g.warn("Service not found for destruction",{serviceKey:a}),!1;try{return await s.close(),s.destroy(),this.services.delete(a),this.serviceMetadata.delete(a),this.emit("SERVICE_DESTROYED",{serviceKey:a,schemaName:e,tableName:t}),g.info("Service destroyed successfully",{serviceKey:a}),!0}catch(r){return g.error("Failed to destroy service",{serviceKey:a,error:r.message}),this.emit("SERVICE_ERROR",{serviceKey:a,schemaName:e,tableName:t,error:r}),!1}}getServicesBySchema(e){g.trace("Getting services by schema",{schemaName:e});const t=[];for(const[a,s]of this.services){const[r]=a.split(":");r===e&&t.push(s)}return g.debug("Found services for schema",{schemaName:e,count:t.length}),t}getServiceKeysBySchema(e){g.trace("Getting service keys by schema",{schemaName:e});const t=[];for(const a of this.services.keys()){const[s]=a.split(":");s===e&&t.push(a)}return g.debug("Found service keys for schema",{schemaName:e,keys:t}),t}async destroyServicesBySchema(e){const t=this.getServiceKeysBySchema(e);if(g.debug("Destroying services by schema",{schemaName:e,serviceKeys:t}),t.length===0){g.debug("No services found to destroy for schema",{schemaName:e});return}const a=t.map(async r=>{const[,i]=r.split(":");try{const n=await this.destroyService(e,i);return g.trace("Service destroy result",{serviceKey:r,result:n}),n}catch(n){return g.error("Error destroying service in schema cleanup",{serviceKey:r,error:n.message}),!1}}),s=(await Promise.all(a)).filter(Boolean).length;g.info("Schema services destruction completed",{schemaName:e,totalServices:t.length,successfulDestroys:s})}getAllServiceInfo(){g.trace("Getting all service info");const e=[];for(const[t,a]of this.serviceConfigs){const s=this.services.get(t),r=this.serviceMetadata.get(t);e.push({key:t,schemaName:a.schemaName,tableName:a.tableName,status:s?s.getStatus():{schemaName:a.schemaName,tableName:a.tableName,isOpened:!1,isInitialized:!1,hasDao:!1},isRegistered:!0,createdAt:(r==null?void 0:r.createdAt)||"N/A",lastAccessed:r==null?void 0:r.lastAccessed})}for(const[t,a]of this.services)if(!this.serviceConfigs.has(t)){const[s,r]=t.split(":"),i=this.serviceMetadata.get(t);e.push({key:t,schemaName:s,tableName:r,status:a.getStatus(),isRegistered:!1,createdAt:(i==null?void 0:i.createdAt)||"N/A",lastAccessed:i==null?void 0:i.lastAccessed})}return e}async healthCheck(){const e=Array.from(this.services.entries()).map(async([r,i])=>{try{const n=await i.healthCheck();return Object.assign(Object.assign({},n),{serviceKey:r})}catch(n){const[h,m]=r.split(":");return{healthy:!1,schemaName:h,error:n.message,timestamp:new Date().toISOString(),serviceKey:r}}}),t=await Promise.all(e),a=t.filter(r=>r.healthy).length,s={totalServices:t.length,healthyServices:a,unhealthyServices:t.length-a,services:t,timestamp:new Date().toISOString(),overallHealth:a===t.length};return this.emit("HEALTH_CHECK_COMPLETED",{serviceKey:"*",schemaName:"*",tableName:"*",data:s}),s}async executeSchemaTransaction(e,t){g.trace(`Executing schema transaction for schema ${e}`);const a=this.getServicesBySchema(e);if(a.length===0)throw g.error("No services found for schema",{schemaName:e}),new Error(`No services found for schema: ${e}`);for(const s of a)await s.init();return await a[0].executeTransaction(async()=>await t(a))}startPeriodicCleanup(){this.cleanupInterval=setInterval(()=>{this.cleanupUnusedServices()},300*1e3)}async cleanupUnusedServices(e=1800*1e3){if(this.isShuttingDown)return;const t=Date.now(),a=[];for(const[s,r]of this.serviceMetadata){if(!r.lastAccessed)continue;const i=new Date(r.lastAccessed).getTime();t-i>e&&a.push(s)}for(const s of a){const[r,i]=s.split(":");await this.destroyService(r,i)}}on(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,[]),this.eventHandlers.get(e).push(t),this}off(e,t){const a=this.eventHandlers.get(e);if(a){const s=a.indexOf(t);s>-1&&a.splice(s,1)}return this}emit(e,t){const a=Object.assign(Object.assign({},t),{type:e,timestamp:new Date().toISOString()}),s=this.eventHandlers.get(e);s&&s.forEach(i=>{try{i(a)}catch(n){console.error(`ServiceManager: Error in ${e} event handler:`,n)}});const r=this.eventHandlers.get("*");r&&r.forEach(i=>{try{i(a)}catch(n){console.error("ServiceManager: Error in global event handler:",n)}})}hasService(e,t){const a=this.createServiceKey(e,t);return this.services.has(a)}isRegistered(e,t){const a=this.createServiceKey(e,t);return this.serviceConfigs.has(a)}getServiceCount(){return this.services.size}getRegisteredCount(){return this.serviceConfigs.size}getSchemas(){const e=new Set;for(const t of this.services.keys()){const[a]=t.split(":");e.add(a)}return Array.from(e)}async destroy(){this.isShuttingDown=!0,this.cleanupInterval&&(clearInterval(this.cleanupInterval),this.cleanupInterval=null);const e=Array.from(this.services.entries()).map(async([t,a])=>{try{await a.close(),a.destroy()}catch(s){console.error(`Error destroying service ${t}:`,s)}});await Promise.all(e),this.services.clear(),this.serviceConfigs.clear(),this.serviceMetadata.clear(),this.eventHandlers.clear(),this.isShuttingDown=!1}}T.instance=null,T.getInstance();class L{constructor(e){this.tableName="",this.selectFields=["*"],this.joinClauses=[],this.whereConditions=[],this.groupByFields=[],this.havingConditions=[],this.orderByFields=[],this.limitValue=null,this.offsetValue=null,this.params=[],this.unionQueries=[],this.subQueries=[],this.cteQueries=new Map,this.dao=null,this.dao=e||null}static table(e,t){const a=new L(t);return a.tableName=e,a}static from(e,t){return L.table(e,t)}select(e){return this.selectFields=Array.isArray(e)?e:[e],this}selectRaw(e){return this.selectFields=[e],this}selectDistinct(e){const t=Array.isArray(e)?e.join(", "):e;return this.selectFields=[`DISTINCT ${t}`],this}join(e,t,a="INNER"){return this.joinClauses.push({type:a,table:e,condition:t}),this}innerJoin(e,t){return this.join(e,t,"INNER")}leftJoin(e,t){return this.join(e,t,"LEFT")}rightJoin(e,t){return this.join(e,t,"RIGHT")}fullOuterJoin(e,t){return this.join(e,t,"FULL OUTER")}where(e,t,a){if(typeof e=="object")return Object.entries(e).forEach(([i,n])=>{this.whereConditions.push({field:i,operator:"=",value:n})}),this;let s="=",r=t;return arguments.length===3&&(s=t,r=a),this.whereConditions.push({field:e,operator:s,value:r}),this}whereEquals(e,t){return this.where(e,"=",t)}whereNot(e,t){return this.where(e,"!=",t)}whereLike(e,t){return this.where(e,"LIKE",t)}whereNotLike(e,t){return this.where(e,"NOT LIKE",t)}whereIn(e,t){return this.whereConditions.push({field:e,operator:"IN",value:t}),this}whereNotIn(e,t){return this.whereConditions.push({field:e,operator:"NOT IN",value:t}),this}whereBetween(e,t,a){return this.whereConditions.push({field:e,operator:"BETWEEN",value:[t,a]}),this}whereNotBetween(e,t,a){return this.whereConditions.push({field:e,operator:"NOT BETWEEN",value:[t,a]}),this}whereNull(e){return this.whereConditions.push({field:e,operator:"IS NULL",value:null}),this}whereNotNull(e){return this.whereConditions.push({field:e,operator:"IS NOT NULL",value:null}),this}whereExists(e){return this.whereConditions.push({field:"",operator:"EXISTS",value:e}),this}whereNotExists(e){return this.whereConditions.push({field:"",operator:"NOT EXISTS",value:e}),this}orWhere(e,t,a){return this.where(e,t,a)}groupBy(e){return this.groupByFields=Array.isArray(e)?e:[e],this}having(e,t,a){let s="=",r=t;return arguments.length===3&&(s=t,r=a),this.havingConditions.push({field:e,operator:s,value:r}),this}havingCount(e,t,a){return this.having(`COUNT(${e})`,t,a)}orderBy(e,t="ASC"){return this.orderByFields.push(`${e} ${t}`),this}orderByDesc(e){return this.orderBy(e,"DESC")}orderByRaw(e){return this.orderByFields.push(e),this}latest(e="created_at"){return this.orderByDesc(e)}oldest(e="created_at"){return this.orderBy(e,"ASC")}limit(e){return this.limitValue=e,this}offset(e){return this.offsetValue=e,this}skip(e){return this.offset(e)}take(e){return this.limit(e)}firstRow(){return this.limit(1)}paginate(e,t){return this.limitValue=t,this.offsetValue=(e-1)*t,this}union(e){return this.unionQueries.push(e),this}unionAll(e){return this.union(e)}with(e,t){return this.cteQueries.set(e,t),this}whereSubQuery(e,t,a){return this.subQueries.push({query:a,alias:""}),this.whereConditions.push({field:e,operator:t,value:a}),this}count(e="*"){return this.selectFields=[`COUNT(${e}) as count`],this}sum(e){return this.selectFields=[`SUM(${e}) as sum`],this}avg(e){return this.selectFields=[`AVG(${e}) as avg`],this}max(e){return this.selectFields=[`MAX(${e}) as max`],this}min(e){return this.selectFields=[`MIN(${e}) as min`],this}toSQL(){let e="";const t=[];if(this.cteQueries.size>0){const a=[];this.cteQueries.forEach((s,r)=>{const{sql:i,params:n}=s.toSQL();a.push(`${r} AS (${i})`),t.push(...n)}),e+=`WITH ${a.join(", ")} `}if(e+=`SELECT ${this.selectFields.join(", ")} FROM ${this.tableName}`,this.joinClauses.length>0&&this.joinClauses.forEach(a=>{e+=` ${a.type} JOIN ${a.table} ON ${a.condition}`}),this.whereConditions.length>0){const a=[];this.whereConditions.forEach(s=>{const{clause:r,conditionParams:i}=this.buildCondition(s);a.push(r),t.push(...i)}),e+=` WHERE ${a.join(" AND ")}`}if(this.groupByFields.length>0&&(e+=` GROUP BY ${this.groupByFields.join(", ")}`),this.havingConditions.length>0){const a=[];this.havingConditions.forEach(s=>{const{clause:r,conditionParams:i}=this.buildCondition(s);a.push(r),t.push(...i)}),e+=` HAVING ${a.join(" AND ")}`}return this.orderByFields.length>0&&(e+=` ORDER BY ${this.orderByFields.join(", ")}`),this.limitValue!==null&&(e+=` LIMIT ${this.limitValue}`),this.offsetValue!==null&&(e+=` OFFSET ${this.offsetValue}`),this.unionQueries.length>0&&this.unionQueries.forEach(a=>{const{sql:s,params:r}=a.toSQL();e+=` UNION ${s}`,t.push(...r)}),{sql:e,params:t}}buildCondition(e){const{field:t,operator:a,value:s}=e,r=[];switch(a.toUpperCase()){case"IN":case"NOT IN":const i=s.map(()=>"?").join(", ");return r.push(...s),{clause:`${t} ${a} (${i})`,conditionParams:r};case"BETWEEN":case"NOT BETWEEN":return r.push(s[0],s[1]),{clause:`${t} ${a} ? AND ?`,conditionParams:r};case"IS NULL":case"IS NOT NULL":return{clause:`${t} ${a}`,conditionParams:[]};case"EXISTS":case"NOT EXISTS":const{sql:n,params:h}=s.toSQL();return r.push(...h),{clause:`${a} (${n})`,conditionParams:r};default:if(s instanceof L){const{sql:m,params:f}=s.toSQL();return r.push(...f),{clause:`${t} ${a} (${m})`,conditionParams:r}}return r.push(s),{clause:`${t} ${a} ?`,conditionParams:r}}}async get(){if(!this.dao)throw new Error("DAO instance required for query execution");const{sql:e,params:t}=this.toSQL();return(await this.dao.execute(e,t)).rows}async first(){this.limit(1);const e=await this.get();return e.length>0?e[0]:null}async pluck(e){return this.select(e),(await this.get()).map(t=>t[e])}async exists(){return this.select("1").limit(1),(await this.get()).length>0}async countResult(){this.count();const e=await this.first();return e?e.count:0}static insert(e,t){const a=Object.keys(t),s=Object.values(t),r=s.map(()=>"?").join(", ");return{sql:`INSERT INTO ${e} (${a.join(", ")}) VALUES (${r})`,params:s}}static insertMany(e,t){if(t.length===0)throw new Error("Data array cannot be empty");const a=Object.keys(t[0]),s=a.map(()=>"?").join(", "),r=t.map(()=>`(${s})`).join(", "),i=t.flatMap(n=>Object.values(n));return{sql:`INSERT INTO ${e} (${a.join(", ")}) VALUES ${r}`,params:i}}static update(e,t,a,s=[]){const r=Object.keys(t).map(n=>`${n} = ?`).join(", "),i=[...Object.values(t),...s];return{sql:`UPDATE ${e} SET ${r} WHERE ${a}`,params:i}}static delete(e,t,a=[]){return{sql:`DELETE FROM ${e} WHERE ${t}`,params:a}}static upsert(e,t,a){const s=Object.keys(t),r=Object.values(t),i=r.map(()=>"?").join(", "),n=s.filter(f=>!a.includes(f)),h=n.length>0?n.map(f=>`${f} = excluded.${f}`).join(", "):"";let m=`INSERT INTO ${e} (${s.join(", ")}) VALUES (${i})`;return n.length>0?m+=` ON CONFLICT(${a.join(", ")}) DO UPDATE SET ${h}`:m+=` ON CONFLICT(${a.join(", ")}) DO NOTHING`,{sql:m,params:r}}clone(){if(!this.dao)throw new Error("DAO instance required for cloning QueryBuilder");const e=new L(this.dao);return e.tableName=this.tableName,e.selectFields=[...this.selectFields],e.joinClauses=[...this.joinClauses],e.whereConditions=[...this.whereConditions],e.groupByFields=[...this.groupByFields],e.havingConditions=[...this.havingConditions],e.orderByFields=[...this.orderByFields],e.limitValue=this.limitValue,e.offsetValue=this.offsetValue,e.unionQueries=[...this.unionQueries],e.subQueries=[...this.subQueries],e.cteQueries=new Map(this.cteQueries),e}toRawSQL(){const{sql:e,params:t}=this.toSQL();let a=e;return t.forEach(s=>{typeof s=="string"?a=a.replace("?",`'${s.replace(/'/g,"''")}'`):s==null?a=a.replace("?","NULL"):a=a.replace("?",String(s))}),a}explain(){return this.selectFields=["EXPLAIN QUERY PLAN "+this.selectFields.join(", ")],this}}class _{sanitizeSQL(e){return e.trim()}bindParameters(e,t){if(!t||t.length===0)return e;let a=0;return e.replace(/\?/g,()=>{if(a<t.length){const s=t[a++];return typeof s=="string"?`'${s.replace(/'/g,"''")}'`:s==null?"NULL":String(s)}return"?"})}}const E=k(O.NODEJS_ADAPTER);class re extends _{constructor(){super(...arguments),this.Database=null}async isSupported(){try{return typeof process!="undefined"&&process.versions!=null&&process.versions.node!=null}catch(e){return E.debug("Node.js environment not detected",e),!1}}async loadBetterSqlite3(){if(this.Database)return this.Database;try{const e=(await import("better-sqlite3")).default;return this.Database=e,e}catch(e){throw E.error("Failed to load better-sqlite3",e),new Error("better-sqlite3 is not available in this environment")}}async connect(e){E.trace(`Connecting to database: ${e}`);try{if(!await this.isSupported())throw new Error("Node.js environment is not supported");const t=await this.loadBetterSqlite3(),a=new t(e,{});return a.pragma("journal_mode = WAL"),a.pragma("synchronous = NORMAL"),E.debug(`Connected to database: ${e}`,a),new ie(a)}catch(t){throw E.error(`Failed to connect to database: ${e}`,t),new Error(`Failed to connect to database: ${t}`)}}}const Q=p=>p.map(e=>{if(typeof e=="boolean")return e?1:0;if(e===void 0)return null;if(e instanceof Date)return e.toISOString();if(typeof e=="object"&&e!==null)throw new Error(`Cannot bind object/array: ${JSON.stringify(e)}`);return e});let ie=class{constructor(e){this.db=e}getQueryType(e){const t=e.trim().toUpperCase();return t.startsWith("SELECT")?"SELECT":t.startsWith("PRAGMA")?"PRAGMA":"MODIFY"}async execute(e,t=[]){var a;E.debug("NodeJSConnection.execute() sql:",e),E.debug("NodeJSConnection.execute() params:",t);try{const s=Q(t);E.debug("Normalized params:",s);const r=this.getQueryType(e),i=this.db.prepare(e);switch(r){case"SELECT":{const n=i.all(...s);return E.debug("SQL SELECT result:",n),{rows:n||[],rowsAffected:0}}case"PRAGMA":try{const n=i.all(...s);return E.debug("PRAGMA result:",n),{rows:n||[],rowsAffected:0,lastInsertRowId:0}}catch(n){if(!((a=n.message)===null||a===void 0)&&a.includes("does not return data")){const h=i.run(...s);return E.debug("PRAGMA execution result:",h),{rows:[],rowsAffected:0,lastInsertRowId:0}}throw n}case"MODIFY":default:{const n=i.run(...s);return E.debug("SQL execution result:",{changes:n.changes,lastInsertRowid:n.lastInsertRowid}),{rows:[],rowsAffected:n.changes||0,lastInsertRowId:n.lastInsertRowid||void 0}}}}catch(s){throw(!s.message||s.message.indexOf("_schema_info")===-1)&&E.error("SQL execution failed",{code:s.code,message:s.message}),s}}async close(){try{this.db.close(),E.debug("Database connection closed")}catch(e){throw E.error("Close Error:",e),e}}async transaction(e){const t=this.db.transaction(async()=>{await e(new ne(this.db))});try{t(),E.debug("Transaction completed successfully")}catch(a){throw E.error("Transaction failed",a),a}}};class ne{constructor(e){this.db=e}getQueryType(e){const t=e.trim().toUpperCase();return t.startsWith("SELECT")?"SELECT":t.startsWith("PRAGMA")?"PRAGMA":"MODIFY"}async executeSql(e,t=[]){var a;try{const s=Q(t);E.debug("Normalized params:",s);const r=this.getQueryType(e),i=this.db.prepare(e);switch(r){case"SELECT":return{rows:i.all(...s)||[],rowsAffected:0};case"PRAGMA":try{return{rows:i.all(...s)||[],rowsAffected:0,lastInsertRowId:0}}catch(n){if(!((a=n.message)===null||a===void 0)&&a.includes("does not return data")){const h=i.run(...s);return{rows:[],rowsAffected:0,lastInsertRowId:0}}throw n}case"MODIFY":default:{const n=i.run(...s);return{rows:[],rowsAffected:n.changes||0,lastInsertRowId:n.lastInsertRowid||void 0}}}}catch(s){throw E.error("Transaction SQL execution failed",s),s}}}const A=k(O.REACTNATIVE_ADAPTER);class oe extends _{constructor(){super(...arguments),this.SQLite=null,this.Platform=null}async isSupported(){try{const{Platform:e}=await import("react-native");return this.Platform=e,e.OS==="ios"||e.OS==="android"}catch(e){return A.debug("React Native environment not detected",e),!1}}async loadSQLite(){if(this.SQLite)return this.SQLite;try{const e=(await import("react-native-sqlite-storage")).default;return e.DEBUG(!1),e.enablePromise(!0),this.SQLite=e,e}catch(e){throw A.error("Failed to load react-native-sqlite-storage",e),new Error("react-native-sqlite-storage is not available in this environment")}}async connect(e){try{if(!await this.isSupported())throw new Error("React Native environment is not supported");const t=await(await this.loadSQLite()).openDatabase({name:e,location:"default"});return A.debug(`Connected to database: ${e}`,t),new ce(t)}catch(t){throw A.error(`Failed to connect to database: ${e}`,t),new Error(`Failed to connect to database: ${t}`)}}}class ce{constructor(e){this.db=e}async execute(e,t=[]){var a;try{if(e.trim().toUpperCase().startsWith("SELECT")){const s=await this.db.executeSql(e,t),r=[];if(s&&s.length>0){const i=s[0];A.debug("SQL SELECT result:",i);for(let n=0;n<i.rows.length;n++)r.push(i.rows.item(n));A.debug("SQL SELECT rows:",r)}return{rows:r,rowsAffected:0}}else{const s=await this.db.executeSql(e,t);if(s&&s.length>0){const r=s[0];return A.debug("SQL execution result:",r),{rows:((a=r.rows)===null||a===void 0?void 0:a.raw())||[],rowsAffected:r.rowsAffected||0,lastInsertRowId:r.insertId||void 0}}return{rows:[],rowsAffected:0}}}catch(s){throw A.error("SQL execution failed",s),s}}async close(){try{await this.db.close()}catch(e){throw A.error("Close Error:",e),e}}async transaction(e){return new Promise((t,a)=>{this.db.transaction(async s=>{try{await e(new le(s)),t()}catch(r){a(r)}},s=>{a(s)})})}}class le{constructor(e){this.tx=e}async executeSql(e,t=[]){return new Promise((a,s)=>{this.tx.executeSql(e,t,(r,i)=>{if(e.trim().toUpperCase().startsWith("SELECT")){const n=[];for(let h=0;h<i.rows.length;h++)n.push(i.rows.item(h));a({rows:n,rowsAffected:0})}else a({rows:[],rowsAffected:i.rowsAffected||0,lastInsertRowId:i.insertId||void 0})},(r,i)=>{s(i)})})}}const he={sqlite:{string:"TEXT",varchar:"TEXT",char:"TEXT",text:"TEXT",email:"TEXT",url:"TEXT",uuid:"TEXT",integer:"INTEGER",int:"INTEGER",bigint:"INTEGER",smallint:"INTEGER",tinyint:"INTEGER",number:"REAL",decimal:"REAL",numeric:"REAL",float:"REAL",double:"REAL",boolean:"INTEGER",bool:"INTEGER",timestamp:"TEXT",datetime:"TEXT",date:"TEXT",time:"TEXT",json:"TEXT",jsonb:"TEXT",array:"TEXT",object:"TEXT",blob:"BLOB",binary:"BLOB",objectid:"TEXT"}};exports.BaseAdapter=_,exports.BaseService=V,exports.DatabaseFactory=I,exports.DatabaseManager=v,exports.DefaultService=F,exports.NodeJSAdapter=re,exports.QueryBuilder=L,exports.ReactNativeAdapter=oe,exports.SQLITE_TYPE_MAPPING=he,exports.SQLiteModules=O,exports.ServiceManager=T,exports.UniversalDAO=q,exports.configureSQLiteLogger=z;
|
|
14
|
+
//# sourceMappingURL=index.js.map
|