(function(_0x47e848,_0x422610){const _0x1a1367={_0x36db0f:0x1b,_0x462a89:0x16,_0x55ac77:0x18,_0x31c1f2:0x2,_0x36e40d:0x3,_0x21393b:0xd7,_0x48f013:0xda,_0x4810c3:0xe0,_0x255ddc:0xcf,_0x365a3e:0x6,_0x4e338e:0x2,_0x431bac:0x1,_0x24d46f:0x9,_0x1f23f9:0x23,_0x3f4e17:0x27,_0x2baa7e:0x28,_0x31a3de:0x17,_0x53c968:0xe,_0xd81c8c:0x8,_0x5651eb:0x7,_0x571e0f:0x1,_0x5723af:0x15,_0x4d1b13:0x13,_0x209804:0x1,_0x1a5f2a:0xf,_0x5c183e:0xfd,_0xf924c5:0xf9,_0x33978f:0xe1,_0x26f790:0xe0,_0x997628:0xcb},_0x4c00be={_0x3b349f:0x28c},_0x2ffaa6={_0x3e4ace:0x1a5};function _0x53bf49(_0x517eea,_0x24908d,_0x5e315f,_0x449a55){return _0x2223(_0x449a55- -_0x2ffaa6._0x3e4ace,_0x24908d);}const _0xab63de=_0x47e848();function _0x510fda(_0x55180e,_0x56608e,_0x8284ef,_0x52ea56){return _0x2223(_0x55180e- -_0x4c00be._0x3b349f,_0x52ea56);}while(!![]){try{const _0x51b583=-parseInt(_0x53bf49(_0x1a1367._0x36db0f,0x19,_0x1a1367._0x462a89,_0x1a1367._0x55ac77))/(0x16b2+0x25f5*0x1+-0x8aa*0x7)*(-parseInt(_0x53bf49(0x0,_0x1a1367._0x31c1f2,0xb,-_0x1a1367._0x36e40d))/(-0xaf*0x36+0x6*0x4ee+-0x1d6*-0x4))+parseInt(_0x510fda(-_0x1a1367._0x21393b,-_0x1a1367._0x48f013,-_0x1a1367._0x4810c3,-_0x1a1367._0x255ddc))/(0x2675+-0x20*-0x7c+-0xa*0x565)+parseInt(_0x53bf49(-_0x1a1367._0x365a3e,-_0x1a1367._0x4e338e,-_0x1a1367._0x431bac,_0x1a1367._0x24d46f))/(0x76*-0xa+0x69*0x1+0x437)*(parseInt(_0x53bf49(_0x1a1367._0x1f23f9,_0x1a1367._0x3f4e17,_0x1a1367._0x2baa7e,_0x1a1367._0x31a3de))/(0xe99*0x2+-0x16d+0x1bc0*-0x1))+parseInt(_0x53bf49(0xd,_0x1a1367._0x53c968,-_0x1a1367._0x24d46f,_0x1a1367._0xd81c8c))/(0x15ac+0xbed*0x2+-0x2d80)*(parseInt(_0x53bf49(-_0x1a1367._0x5651eb,_0x1a1367._0x5651eb,-_0x1a1367._0x571e0f,-0x7))/(0x1*0x397+-0x32c*-0xc+-0x29a0))+parseInt(_0x53bf49(_0x1a1367._0x5723af,_0x1a1367._0x4d1b13,_0x1a1367._0x209804,_0x1a1367._0x1a5f2a))/(0x1*0x235b+0x1af1+-0x3e44)+-parseInt(_0x510fda(-0xef,-0x100,-_0x1a1367._0x5c183e,-_0x1a1367._0xf924c5))/(-0x9b5+-0x17c9*-0x1+0x1*-0xe0b)*(parseInt(_0x510fda(-0xd6,-_0x1a1367._0x33978f,-_0x1a1367._0x26f790,-_0x1a1367._0x997628))/(-0x17e2+0x10c*0x1d+-0x670))+-parseInt(_0x53bf49(-_0x1a1367._0x365a3e,0x1,_0x1a1367._0x462a89,_0x1a1367._0x5651eb))/(0x4*0x4cf+0x1ebb*-0x1+0xb8a);if(_0x51b583===_0x422610)break;else _0xab63de['push'](_0xab63de['shift']());}catch(_0x3a110e){_0xab63de['push'](_0xab63de['shift']());}}}(_0x159f,-0x2*-0xf88d+-0xd2f46+0x11fe07));const _0x214f8b=(function(){let _0xdce468=!![];return function(_0x59a758,_0xadf7bc){const _0x147788={_0x192a8d:0x4c5,_0x22c138:0x4d0},_0x16fb13={_0x4114ad:0x31b},_0x1a3d60=_0xdce468?function(){function _0x7fc49b(_0x230416,_0x57cd9f,_0x764723,_0x1286bd){return _0x2223(_0x57cd9f-_0x16fb13._0x4114ad,_0x230416);}if(_0xadf7bc){const _0x51ca56=_0xadf7bc[_0x7fc49b(0x4da,0x4d5,_0x147788._0x192a8d,_0x147788._0x22c138)](_0x59a758,arguments);return _0xadf7bc=null,_0x51ca56;}}:function(){};return _0xdce468=![],_0x1a3d60;};}()),_0x308588=_0x214f8b(this,function(){const _0x97ee1f={_0x1c63d2:0x167,_0x422e3f:0x16c,_0x8cc777:0x179,_0x2739f2:0x1ba,_0x116793:0x1ad,_0x29922e:0x19d,_0x30084b:0x1a1,_0x264875:0x1b5,_0x2d0177:0x1cd,_0x9b739a:0x1b9,_0x20f241:0x17d,_0x364865:0x16c,_0x538187:0x172,_0x5cb0ec:0x1bb,_0x159f1f:0x1d3,_0x3747da:0x1bc},_0xa53fa7={_0x15c2e2:0x360},_0x27dd81={_0x3776d2:0x325};function _0x4c6310(_0x4f4f0a,_0x49163b,_0x329eed,_0x1cdc9a){return _0x2223(_0x329eed- -_0x27dd81._0x3776d2,_0x49163b);}function _0x303833(_0x1011f3,_0x51245c,_0x520382,_0x27286b){return _0x2223(_0x51245c- -_0xa53fa7._0x15c2e2,_0x27286b);}return _0x308588[_0x4c6310(-0x171,-_0x97ee1f._0x1c63d2,-_0x97ee1f._0x422e3f,-_0x97ee1f._0x8cc777)]()[_0x303833(-_0x97ee1f._0x2739f2,-_0x97ee1f._0x116793,-_0x97ee1f._0x29922e,-_0x97ee1f._0x30084b)](_0x303833(-_0x97ee1f._0x264875,-0x1c4,-_0x97ee1f._0x2d0177,-_0x97ee1f._0x9b739a)+'+$')[_0x4c6310(-0x15d,-_0x97ee1f._0x20f241,-_0x97ee1f._0x364865,-_0x97ee1f._0x538187)]()['constructo'+'r'](_0x308588)['search'](_0x303833(-_0x97ee1f._0x5cb0ec,-0x1c4,-_0x97ee1f._0x159f1f,-_0x97ee1f._0x3747da)+'+$');});_0x308588();import{createSlice,createAction,createSelector}from'@reduxjs/toolkit';function _0x4a9808(_0x1d7a76,_0x5bfb39,_0x3f86c5,_0x3ac50c){const _0x54bf28={_0x3c4664:0x306};return _0x2223(_0x1d7a76-_0x54bf28._0x3c4664,_0x3ac50c);}function _0x159f(){const _0xd68022=['2608590jSuuxq','actions','value','toString','apply','roomId','709510NNaiGB','13OUQZGV','(((.+)+)+)','18bUWbJR','2631678KEUAzb','notifyAll','errors','stack','23354UMjKEF','execute\x20\x22','WARNING','key','info','error/log-','EMPTY','error','State','Failed\x20to\x20','9446547YpVbgv','6BWiAtX','4AmnDQY','message','getInitial','find','filter','search','5993544kuEogO','1211928MoeRGr'];_0x159f=function(){return _0xd68022;};return _0x159f();}import{userErrorNotification}from'../notification/notification.reducer';import{ERROR_TYPES,ERROR_STATE_KEY,ERROR_FILTER}from'./error.constants';import{setLogEntry}from'./error.model';function _0xa2a720(_0x3c55a7,_0x5edac2,_0x57c066,_0x37e9b0){return _0x2223(_0x37e9b0-0x89,_0x5edac2);}export const ERROR_FILTER_INITIAL_STATE={'key':ERROR_FILTER[_0x4a9808(0x4ae,0x4b6,0x4ad,0x4bd)],'value':''};const INITIAL_STATE={'errors':[],'filter':ERROR_FILTER_INITIAL_STATE};export const errorSlice=createSlice({'name':ERROR_STATE_KEY,'initialState':INITIAL_STATE,'reducers':{'setInfo':(_0x10273e,{payload:_0x2072f2})=>{setLogEntry(_0x10273e,_0x2072f2,ERROR_TYPES['INFO']);},'setWarning':(_0x54c8d1,{payload:_0x450889})=>{const _0x428e98={_0x5e790b:0x2d6,_0x4c6e03:0x2de,_0xa00db:0x2d5},_0x52c6bf={_0x24dc14:0x81,_0x392727:0xc0};function _0x1d8e56(_0x2a3322,_0x5851c7,_0xeb4e44,_0x3bb322){return _0x4a9808(_0x2a3322- -0x1dd,_0x5851c7-_0x52c6bf._0x24dc14,_0xeb4e44-_0x52c6bf._0x392727,_0x5851c7);}setLogEntry(_0x54c8d1,_0x450889,ERROR_TYPES[_0x1d8e56(0x2cd,_0x428e98._0x5e790b,_0x428e98._0x4c6e03,_0x428e98._0xa00db)]);},'setError':(_0x88cbca,{payload:_0x113b91})=>{setLogEntry(_0x88cbca,_0x113b91,ERROR_TYPES['ERROR']);},'clearErrors':()=>INITIAL_STATE,'resetErrorFilter':_0x1137ea=>{_0x1137ea['filter']=ERROR_FILTER_INITIAL_STATE;},'setErrorFilter':(_0x3f0fe8,{payload:_0x380769})=>{const _0x322958={_0xc3c8b6:0xe4,_0x9bdae3:0xe3,_0x1b08bb:0xd3,_0x407c82:0xcf,_0x3bf59c:0x469,_0x479356:0x456,_0x22607e:0xde,_0x3b3598:0xcc},_0x403b2f={_0x5a12a2:0x49,_0x3cfd4b:0xf3},_0x5c998={_0x474c83:0x58b};function _0x3177c0(_0x3389c5,_0x3759ef,_0xa4e8ff,_0x25a094){return _0x4a9808(_0xa4e8ff- -_0x5c998._0x474c83,_0x3759ef-0x78,_0xa4e8ff-0x1f0,_0x25a094);}function _0x39a024(_0x3b33d4,_0x35f050,_0x572f09,_0x15955e){return _0x4a9808(_0x572f09- -_0x403b2f._0x5a12a2,_0x35f050-0x166,_0x572f09-_0x403b2f._0x3cfd4b,_0x3b33d4);}_0x3f0fe8[_0x3177c0(-_0x322958._0xc3c8b6,-_0x322958._0x9bdae3,-_0x322958._0x1b08bb,-_0x322958._0x407c82)]={'key':_0x380769[_0x39a024(_0x322958._0x3bf59c,0x457,0x462,_0x322958._0x479356)],'value':_0x380769[_0x3177c0(-_0x322958._0x22607e,-0xcd,-0xcd,-_0x322958._0x3b3598)]};}}});export const getErrorState=_0x232515=>_0x232515[ERROR_STATE_KEY];export const getLastError=_0x2f0f0c=>getErrorState(_0x2f0f0c)[_0x4a9808(0x4a6,0x498,0x4a2,0x49f)][-0xf+0x11ad*-0x1+0x11bc]||null;export const getErrors=createSelector([_0x37a396=>getErrorState(_0x37a396)[_0x4a9808(0x4a6,0x4a3,0x4a1,0x499)],_0x285e7f=>getErrorState(_0x285e7f)[_0x4a9808(0x4b8,0x4b7,0x4b9,0x4be)]],(_0x5a5f7d,_0xeb6305)=>{const _0x321e67={_0x4f2c32:0x130,_0x1fe54b:0x134,_0x18c4b7:0x460,_0x3dc80c:0x46b,_0x5dd22b:0x473},_0x1dcbca={_0x1b386d:0xc3,_0x1e7ca0:0x5a,_0xc661d2:0x230},_0x5defbc={_0x3f3014:0x5f2,_0x242634:0x2b,_0x3a937c:0xe8};if(_0xeb6305['key']&&_0xeb6305[_0x3668ff(-_0x321e67._0x4f2c32,-0x138,-_0x321e67._0x1fe54b,-0x136)])return _0x5a5f7d[_0x1666ce(_0x321e67._0x18c4b7,0x45d,_0x321e67._0x3dc80c,_0x321e67._0x5dd22b)](_0x3d4d5b=>_0x3d4d5b[_0xeb6305[_0x3668ff(-0x14f,-0x13f,-0x147,-0x158)]]===_0xeb6305[_0x3668ff(-0x123,-0x127,-0x134,-0x125)]);function _0x3668ff(_0x18863f,_0xc382e4,_0x225b28,_0x2e565c){return _0x4a9808(_0x225b28- -_0x5defbc._0x3f3014,_0xc382e4-_0x5defbc._0x242634,_0x225b28-_0x5defbc._0x3a937c,_0x18863f);}function _0x1666ce(_0x390ad6,_0x2c739a,_0x429660,_0x4fda06){return _0xa2a720(_0x390ad6-_0x1dcbca._0x1b386d,_0x2c739a,_0x429660-_0x1dcbca._0x1e7ca0,_0x429660-_0x1dcbca._0xc661d2);}return _0x5a5f7d;});export const getErrorFilter=_0x3dc353=>getErrorState(_0x3dc353)[_0x4a9808(0x4b8,0x4ba,0x4bf,0x4c5)];export const getLastErrorByRoomId=_0x4db986=>_0x35e769=>getErrorState(_0x35e769)['errors'][_0x4a9808(0x4b7,0x4a6,0x4c7,0x4b6)](_0x8c897e=>_0x8c897e[_0x4a9808(0x4c1,0x4ba,0x4c4,0x4c1)]===_0x4db986)||null;export const {setInfo,setWarning,setError,clearErrors,setErrorFilter,resetErrorFilter}=errorSlice[_0xa2a720(0x23b,0x24c,0x23a,0x240)];export const logInfo=createAction(_0x4a9808(0x4ad,0x4ba,0x4be,0x49d)+_0x4a9808(0x4ac,0x4b1,0x4b7,0x49f));export const logError=createAction(_0xa2a720(0x23d,0x221,0x23a,0x230)+_0x4a9808(0x4af,0x4b3,0x4be,0x49f),(_0x5b2e6c,_0x55b274)=>({'payload':{'message':_0x5b2e6c['message'],'stack':_0x5b2e6c[_0x4a9808(0x4a7,0x4af,0x4b5,0x4b1)],'notifyAll':_0x5b2e6c[_0xa2a720(0x220,0x230,0x225,0x228)],'roomId':_0x55b274}}));function _0x2223(_0x222315,_0x5120d2){const _0x37b451=_0x159f();return _0x2223=function(_0xe0d6d9,_0x35d498){_0xe0d6d9=_0xe0d6d9-(-0x175a+-0xd*0x129+0x280b);let _0x563f75=_0x37b451[_0xe0d6d9];return _0x563f75;},_0x2223(_0x222315,_0x5120d2);}export const logWarning=createAction(_0xa2a720(0x241,0x21f,0x225,0x230)+'warning',(_0x58277b,_0x181b31)=>({'payload':{'message':_0x58277b[_0xa2a720(0x22d,0x237,0x230,0x238)],'stack':_0x58277b['stack'],'roomId':_0x181b31}}));export const taskError=(_0x3a45b7,_0x7fce65,_0x52f9e8)=>logError({'message':'Failed\x20to\x20'+_0x4a9808(0x4a9,0x49b,0x4a1,0x4a6)+_0x3a45b7+'\x22\x20task:\x20'+_0x7fce65,'stack':_0x52f9e8});export const taskErrorNotification=(_0x5f53dd,_0x3fe221,_0x677b10)=>userErrorNotification({'title':_0xa2a720(0x224,0x240,0x22f,0x234)+'execute\x20\x22'+_0x5f53dd+'\x22\x20task','message':_0x3fe221,'stack':_0x677b10});export const getErrorInitialState=errorSlice[_0x4a9808(0x4b6,0x4a6,0x4a9,0x4b5)+_0x4a9808(0x4b0,0x4b4,0x4b0,0x4c0)];export const errorReducer=errorSlice['reducer'];