OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-deps / @holepunchto / keet-store / store / app / app.reducer.js

1 lines · javascript ref:
(function(_0x2f7567,_0x317122){const _0xd1440={_0xa384ad:0x204,_0x2e8b4a:0x1e2,_0xccc2c2:0x203,_0x31fe6b:0xc3,_0x85b5c3:0xe4,_0x5bb6d5:0xc5,_0x4931bf:0x1f1,_0x24ca5d:0x20b,_0x5dc418:0xa5,_0x3e8f7a:0xd9,_0x2c2ea1:0xca,_0x335d89:0xb8,_0x337884:0x1c3,_0x1eb580:0x1df,_0x4c4344:0x1d1,_0x35ea21:0x1e0,_0x24a817:0x9d,_0x1a21f5:0x88,_0x2c9ea0:0x90,_0x12392b:0xb0,_0x8e8bee:0xcf,_0x1ce935:0xcb,_0xaf21c1:0xc6,_0x48017c:0xe3,_0x3e9448:0xb9,_0x1d232c:0x9c,_0x27afc5:0x8e},_0x73e1b6={_0x5ea46f:0xa},_0x32e335={_0x537f52:0x292};function _0x2e3dd0(_0x213694,_0x38377e,_0x295a2a,_0x3e12e6){return _0x36fd(_0x295a2a- -_0x32e335._0x537f52,_0x38377e);}const _0x5045f3=_0x2f7567();function _0x4ffb8e(_0x56c654,_0x14b660,_0x58844d,_0x22d3c0){return _0x36fd(_0x22d3c0-_0x73e1b6._0x5ea46f,_0x58844d);}while(!![]){try{const _0x13e8b6=-parseInt(_0x4ffb8e(0x202,_0xd1440._0xa384ad,_0xd1440._0x2e8b4a,_0xd1440._0xccc2c2))/(0x31*0x62+0x1a2*-0xb+-0xcb)*(-parseInt(_0x2e3dd0(-0x7d,-0x8f,-0x9e,-_0xd1440._0x31fe6b))/(-0x4*0x4+-0x1d7b*0x1+0x1bd*0x11))+parseInt(_0x2e3dd0(-_0xd1440._0x85b5c3,-_0xd1440._0x5bb6d5,-0xc8,-_0xd1440._0x5bb6d5))/(0x29e*-0x5+-0x1*0x577+0x1b*0xb0)+parseInt(_0x4ffb8e(_0xd1440._0x4931bf,_0xd1440._0x24ca5d,_0xd1440._0x24ca5d,0x1f3))/(-0x7*0x1c9+0xc82*-0x1+-0x15*-0x131)*(parseInt(_0x2e3dd0(-_0xd1440._0x5dc418,-_0xd1440._0x3e8f7a,-_0xd1440._0x2c2ea1,-_0xd1440._0x85b5c3))/(0xd6c+-0x15fe+-0x3*-0x2dd))+parseInt(_0x2e3dd0(-0xa7,-0xb1,-0xa4,-_0xd1440._0x335d89))/(-0x1bc4+0x13e0+-0x1*-0x7ea)*(-parseInt(_0x4ffb8e(_0xd1440._0x337884,_0xd1440._0x1eb580,_0xd1440._0x4c4344,_0xd1440._0x35ea21))/(0x362*-0x8+0xe9e+0x1*0xc79))+parseInt(_0x2e3dd0(-0x91,-_0xd1440._0x24a817,-0x93,-_0xd1440._0x24a817))/(-0x68*-0x33+-0x1*0x15e1+0x3d*0x5)*(-parseInt(_0x2e3dd0(-0x8e,-_0xd1440._0x1a21f5,-_0xd1440._0x2c9ea0,-_0xd1440._0x12392b))/(-0x1*-0xdc2+0x23e2+0x319b*-0x1))+parseInt(_0x2e3dd0(-_0xd1440._0x8e8bee,-_0xd1440._0x1ce935,-0xb5,-_0xd1440._0xaf21c1))/(0x283*0x3+0x122f*-0x1+0xab0)*(-parseInt(_0x2e3dd0(-0xeb,-_0xd1440._0x48017c,-0xce,-_0xd1440._0x3e9448))/(-0x6be+-0xa6c+-0x371*-0x5))+parseInt(_0x2e3dd0(-_0xd1440._0x1d232c,-_0xd1440._0x27afc5,-0xa5,-0xa1))/(0x1d5*-0x15+-0x1*-0x1ff9+0x346*0x2);if(_0x13e8b6===_0x317122)break;else _0x5045f3['push'](_0x5045f3['shift']());}catch(_0x3965d5){_0x5045f3['push'](_0x5045f3['shift']());}}}(_0x16e6,-0xd3814+-0x9ea3*0x5+-0x3b52*-0x72));const _0x1a67a5=(function(){let _0x5b0d63=!![];return function(_0x2a88b3,_0x199800){const _0x128198=_0x5b0d63?function(){if(_0x199800){const _0xe2d89e=_0x199800['apply'](_0x2a88b3,arguments);return _0x199800=null,_0xe2d89e;}}:function(){};return _0x5b0d63=![],_0x128198;};}()),_0x5af1a3=_0x1a67a5(this,function(){const _0x55779a={_0x6b5ccc:0x114,_0x2db579:0x132,_0x31f47e:0x12d,_0x4cbdcc:0x121,_0x502fbc:0x5c4,_0x47e9b8:0x58e,_0x1d2318:0x5c1,_0x538e4b:0x5af,_0x3d8ba0:0x580,_0x133c9e:0x56e,_0x510d7f:0x589,_0x38bda3:0x57c,_0x580de6:0x13e,_0x97d128:0x118,_0x38c148:0x137,_0x35672c:0x13a,_0x3b19b1:0x150,_0x2570b8:0x16b,_0x18e0dc:0x15e,_0x490ce1:0x16b,_0x32f99d:0x161,_0x6c1177:0x144,_0x26e292:0x113,_0x25527c:0x138,_0x9bb927:0x158},_0x7d9b92={_0x3d187c:0xa3},_0x2f7be2={_0xfdf145:0x3a1};function _0xa34be8(_0x5bec14,_0x5b9188,_0x3b8243,_0x322841){return _0x36fd(_0x322841-_0x2f7be2._0xfdf145,_0x3b8243);}function _0x1467c4(_0x91319f,_0x68be25,_0x31117f,_0x33fcbc){return _0x36fd(_0x31117f- -_0x7d9b92._0x3d187c,_0x33fcbc);}return _0x5af1a3[_0x1467c4(_0x55779a._0x6b5ccc,_0x55779a._0x2db579,_0x55779a._0x31f47e,_0x55779a._0x4cbdcc)]()[_0xa34be8(_0x55779a._0x502fbc,_0x55779a._0x47e9b8,_0x55779a._0x1d2318,_0x55779a._0x538e4b)](_0xa34be8(_0x55779a._0x3d8ba0,_0x55779a._0x133c9e,_0x55779a._0x510d7f,_0x55779a._0x38bda3)+'+$')[_0x1467c4(_0x55779a._0x580de6,0x127,_0x55779a._0x31f47e,_0x55779a._0x97d128)]()[_0x1467c4(_0x55779a._0x38c148,_0x55779a._0x35672c,0x134,_0x55779a._0x3b19b1)+'r'](_0x5af1a3)[_0x1467c4(_0x55779a._0x2570b8,_0x55779a._0x18e0dc,_0x55779a._0x490ce1,_0x55779a._0x32f99d)](_0x1467c4(_0x55779a._0x6c1177,_0x55779a._0x26e292,_0x55779a._0x25527c,_0x55779a._0x9bb927)+'+$');});_0x5af1a3();import{createSlice,createAction}from'@reduxjs/toolkit';import{getCallIsOngoing,getCallPeersCount,getCallStatus,isCallJoinedMode}from'../call';import{EMPTY_ROOM_ID}from'../room';import{getPreferencesPrivateMode,NOTIFICATIONS_ALERT_TYPES,NOTIFICATIONS_TYPES}from'../preferences';import{PLATFORM_UPDATE_STATUS}from'../platform/platform.constants';import{APP_STATE_KEY,APP_STATUS,APP_UPDATE_REASONS,APP_DELAY_BEFORE_UPDATE}from'./app.constants';export const APP_INITIAL_STATE={'appStatus':APP_STATUS[_0x3e9c40(0x249,0x23e,0x22c,0x21f)],'appVersion':0x0,'updateRequired':![],'forceUpdateRequired':![],'applicationKey':'','linkData':'','currentRoomId':EMPTY_ROOM_ID,'currentCallRoomId':EMPTY_ROOM_ID,'locale':'','localeIsUpdating':![],'notificationsType':NOTIFICATIONS_TYPES[_0x3e9c40(0x203,0x1ed,0x20a,0x1e4)],'notificationsAlerts':Object[_0x599bfe(-0x1b4,-0x1c0,-0x18b,-0x1a0)](NOTIFICATIONS_ALERT_TYPES),'updateReason':undefined,'updatePlatform':![],'updateCountdownEnd':undefined,'updateStatus':PLATFORM_UPDATE_STATUS[_0x599bfe(-0x17d,-0x178,-0x19d,-0x186)],'systemUpdateRemaining':0x0,'systemUpdating':![],'lastToastNotificationSeen':0x0};export const appSlice=createSlice({'name':APP_STATE_KEY,'initialState':APP_INITIAL_STATE,'reducers':{'initApplication':(_0x3f78eb,{payload:_0x2899c5})=>{const _0x3dd732={_0x48da30:0x356,_0x7a71c8:0x33d,_0x111727:0x340,_0x5e5ff0:0x37b,_0x147dcb:0x34c,_0x3f3324:0x329,_0x2ba7a6:0x444,_0x25bb39:0x489,_0x560005:0x35f,_0x3278d3:0x34c,_0xf57ba2:0x34d},_0x3938f2={_0x3426d2:0x108,_0x20a91f:0x150,_0x1e35da:0x130},_0x18f173={_0x31e732:0x175,_0x39f853:0x22f,_0x4a7a43:0x38},{applicationKey:_0x299b03,linkData:_0xea632f,lastToastNotificationSeen:_0x3bd578}=_0x2899c5;function _0x3ea89f(_0x13de3c,_0x2f7210,_0x71a12b,_0x4d3d22){return _0x3e9c40(_0x13de3c-_0x18f173._0x31e732,_0x13de3c,_0x71a12b-_0x18f173._0x39f853,_0x4d3d22-_0x18f173._0x4a7a43);}_0x3f78eb[_0x3cc997(_0x3dd732._0x48da30,_0x3dd732._0x7a71c8,_0x3dd732._0x111727,_0x3dd732._0x5e5ff0)+'nKey']=_0x299b03;function _0x3cc997(_0x3db7a3,_0x149155,_0x30eb87,_0x141e2b){return _0x3e9c40(_0x3db7a3-_0x3938f2._0x3426d2,_0x141e2b,_0x3db7a3-_0x3938f2._0x20a91f,_0x141e2b-_0x3938f2._0x1e35da);}_0x3f78eb[_0x3cc997(_0x3dd732._0x147dcb,0x327,0x36e,_0x3dd732._0x3f3324)]=_0xea632f,_0x3f78eb[_0x3ea89f(0x47d,_0x3dd732._0x2ba7a6,0x464,_0x3dd732._0x25bb39)+'otificatio'+_0x3cc997(_0x3dd732._0x560005,_0x3dd732._0x560005,_0x3dd732._0x3278d3,_0x3dd732._0xf57ba2)]=_0x3bd578;},'appRoomInvitationLinkServed':_0x1485fc=>{const _0x1c37bc={_0x202da3:0x84,_0x1bbe2c:0xb5,_0x41078b:0xa1},_0x2c387f={_0x4af7db:0x13c,_0xc7d1f:0x19c,_0x20944e:0x116};function _0x16689b(_0x425cc7,_0x2a2676,_0x149ee5,_0x2e3c18){return _0x599bfe(_0x425cc7-_0x2c387f._0x4af7db,_0x2a2676,_0x149ee5-_0x2c387f._0xc7d1f,_0x2e3c18-_0x2c387f._0x20944e);}_0x1485fc[_0x16689b(-_0x1c37bc._0x202da3,-0x85,-_0x1c37bc._0x1bbe2c,-_0x1c37bc._0x41078b)]='';},'setAppCurrentRoomId':(_0x3d0384,_0x374e56)=>{const _0x49c5dd={_0x436443:0x139,_0x153dcf:0x151,_0x4b84f5:0x12c},_0x7a463e={_0x1d9eae:0xe7,_0x21f197:0x103};function _0x3b40b2(_0x55db08,_0x23ba20,_0xfeb169,_0x39c64b){return _0x3e9c40(_0x55db08-_0x7a463e._0x1d9eae,_0xfeb169,_0x39c64b- -_0x7a463e._0x21f197,_0x39c64b-0x62);}_0x3d0384['currentRoo'+_0x3b40b2(_0x49c5dd._0x436443,0x140,_0x49c5dd._0x153dcf,_0x49c5dd._0x4b84f5)]=_0x374e56['payload']['roomId'];},'setAppCurrentCallRoomId':(_0x1e830e,_0x496294)=>{const _0x58988d={_0x4c5032:0x2e6,_0x75abe1:0x2ba,_0x180b89:0x2da,_0x41b876:0x4d6,_0x14a1a4:0x2ff,_0x1e64ee:0x2ec,_0x47c67e:0x310},_0x5ca4da={_0x3e0f73:0x2a,_0x34d04a:0x46b},_0x5f54d9={_0x165245:0x1f,_0x176f48:0x2e4,_0x4eadb8:0x5f};function _0x511212(_0x527c63,_0x5e8c7d,_0x1ffea8,_0x21672d){return _0x3e9c40(_0x527c63-_0x5f54d9._0x165245,_0x527c63,_0x5e8c7d-_0x5f54d9._0x176f48,_0x21672d-_0x5f54d9._0x4eadb8);}function _0x31e9d8(_0x56f544,_0x2e251a,_0xe127ba,_0x349dfd){return _0x599bfe(_0x56f544-0x108,_0x349dfd,_0xe127ba-_0x5ca4da._0x3e0f73,_0xe127ba-_0x5ca4da._0x34d04a);}_0x1e830e[_0x31e9d8(_0x58988d._0x4c5032,_0x58988d._0x75abe1,_0x58988d._0x180b89,0x2cc)+_0x511212(_0x58988d._0x41b876,0x4f0,0x505,0x4f2)]=_0x496294[_0x31e9d8(0x301,_0x58988d._0x14a1a4,_0x58988d._0x1e64ee,_0x58988d._0x47c67e)];},'initAppLocale':(_0x1d2f8b,_0x52b39c)=>{const _0x9478c7={_0x27ad0a:0x3e,_0x2d4461:0x4c,_0x5da43b:0x4a,_0x4578aa:0x70,_0x3c54bb:0x68},_0x5f044f={_0x28b44a:0x89,_0x5cd6d0:0x116,_0x47ecdf:0x338},_0x328aba={_0x4dcd1d:0xc3,_0x73e0bd:0x1cc,_0x2fdb4d:0xe6};function _0x2b8677(_0x2ba21a,_0x2de5da,_0x440d1b,_0x568b9a){return _0x3e9c40(_0x2ba21a-_0x328aba._0x4dcd1d,_0x2de5da,_0x568b9a- -_0x328aba._0x73e0bd,_0x568b9a-_0x328aba._0x2fdb4d);}function _0x5169ad(_0x7cfeed,_0x48dba4,_0xcbdd28,_0x41495f){return _0x599bfe(_0x7cfeed-_0x5f044f._0x28b44a,_0xcbdd28,_0xcbdd28-_0x5f044f._0x5cd6d0,_0x48dba4-_0x5f044f._0x47ecdf);}_0x1d2f8b[_0x2b8677(_0x9478c7._0x27ad0a,_0x9478c7._0x2d4461,0x50,0x3f)]=_0x52b39c[_0x2b8677(_0x9478c7._0x5da43b,_0x9478c7._0x4578aa,0x78,_0x9478c7._0x3c54bb)];},'setAppLocale':(_0x336f36,_0x426c26)=>{const _0x11b678={_0x2925c5:0x53,_0x5979c9:0x63,_0x489434:0x594,_0x13a3ff:0x594,_0x1af2cc:0x591,_0x472d11:0x5ae,_0x3257e0:0x5bf,_0x21d22f:0x5bf},_0x82fe2b={_0x49db2b:0x11,_0x158f66:0x78,_0x2b4216:0x713},_0x3882bc={_0x317518:0x203};function _0x39c18a(_0x3289a7,_0x28fdbf,_0x381795,_0x58c614){return _0x599bfe(_0x3289a7-0xbd,_0x58c614,_0x381795-0x101,_0x381795-_0x3882bc._0x317518);}function _0x120c2a(_0x59cf63,_0x226886,_0x3a6f91,_0xaceedf){return _0x599bfe(_0x59cf63-_0x82fe2b._0x49db2b,_0xaceedf,_0x3a6f91-_0x82fe2b._0x158f66,_0x226886-_0x82fe2b._0x2b4216);}_0x336f36[_0x39c18a(_0x11b678._0x2925c5,_0x11b678._0x5979c9,0x5b,0x51)]=_0x426c26[_0x120c2a(_0x11b678._0x489434,_0x11b678._0x13a3ff,_0x11b678._0x1af2cc,_0x11b678._0x472d11)],_0x336f36[_0x120c2a(_0x11b678._0x3257e0,0x5a1,0x5a9,_0x11b678._0x21d22f)+'dating']=!![];},'setAppLocaleSuccess':_0x5afe2d=>{const _0x194454={_0x5094b4:0x59,_0x25be20:0x51,_0x552195:0x3d,_0x20cbc9:0x47,_0x3b88b6:0x5e,_0xfa3090:0x71,_0x5339ef:0x45},_0x1b5a3c={_0x50270b:0xa7,_0x307000:0x17f,_0x5dd097:0x439},_0xbcfaf6={_0xe465f9:0x29a};function _0x4997ff(_0x19e19c,_0x33661d,_0x3d061b,_0x5932cd){return _0x3e9c40(_0x19e19c-0x191,_0x3d061b,_0x19e19c- -_0xbcfaf6._0xe465f9,_0x5932cd-0xc8);}function _0x592f14(_0x22b32d,_0x228543,_0x4b5505,_0x1d08c6){return _0x599bfe(_0x22b32d-_0x1b5a3c._0x50270b,_0x228543,_0x4b5505-_0x1b5a3c._0x307000,_0x4b5505-_0x1b5a3c._0x5dd097);}_0x5afe2d[_0x4997ff(-_0x194454._0x5094b4,-_0x194454._0x25be20,-_0x194454._0x552195,-_0x194454._0x20cbc9)+_0x4997ff(-_0x194454._0x3b88b6,-_0x194454._0xfa3090,-0x83,-_0x194454._0x5339ef)]=![];},'setAppNotificationsType':(_0x42a19d,_0x12029d)=>{const _0x2d25e9={_0x2f6ae0:0x45c,_0x41c681:0x441,_0x35af7f:0x454,_0x17efba:0x416,_0x432100:0x3ed,_0x23bd86:0x41a,_0x29884c:0x472,_0x1cdfad:0x459,_0x4a2d0c:0x45f,_0x1f5d2e:0x487},_0x37b587={_0x1f1f4b:0x169},_0x2e9803={_0x330060:0x189};function _0x53b132(_0x4dca8a,_0x2ac25e,_0x338288,_0x4937ad){return _0x599bfe(_0x4dca8a-_0x2e9803._0x330060,_0x338288,_0x338288-0xe5,_0x4937ad-0x58d);}function _0x395279(_0xf57496,_0x4b60f0,_0x2a6a1f,_0x83b3bc){return _0x3e9c40(_0xf57496-0x1df,_0x4b60f0,_0xf57496-0x23e,_0x83b3bc-_0x37b587._0x1f1f4b);}_0x42a19d[_0x395279(_0x2d25e9._0x2f6ae0,0x44a,_0x2d25e9._0x41c681,_0x2d25e9._0x35af7f)+_0x53b132(_0x2d25e9._0x17efba,_0x2d25e9._0x432100,_0x2d25e9._0x23bd86,0x3fd)]=_0x12029d[_0x395279(_0x2d25e9._0x29884c,_0x2d25e9._0x1cdfad,_0x2d25e9._0x4a2d0c,_0x2d25e9._0x1f5d2e)];},'setAppNotificationsAlerts':(_0xe44a30,_0x2fcc71)=>{const _0x3314ac={_0x1d041e:0x28b,_0xf2b56d:0x2a2,_0x5aa29c:0x2a1,_0x53b48f:0x2b2,_0x1aa596:0x2b6,_0x264dd9:0x2d5,_0x267e26:0x2d6,_0x19a850:0x2c0,_0x4256ba:0x2b8},_0x2cc450={_0x50f52a:0x108,_0x3b4cf8:0x437},_0x561144={_0x383c3b:0xcf,_0x30717f:0x15f,_0x383f38:0x461};function _0xd4ee15(_0x4be257,_0x86d394,_0x5a48e4,_0x590ff6){return _0x599bfe(_0x4be257-_0x561144._0x383c3b,_0x5a48e4,_0x5a48e4-_0x561144._0x30717f,_0x86d394-_0x561144._0x383f38);}function _0x509832(_0x134f80,_0x27e30a,_0x33edea,_0x36a5e9){return _0x599bfe(_0x134f80-_0x2cc450._0x50f52a,_0x33edea,_0x33edea-0x178,_0x36a5e9-_0x2cc450._0x3b4cf8);}_0xe44a30[_0x509832(0x2a4,_0x3314ac._0x1d041e,0x289,_0x3314ac._0xf2b56d)+_0xd4ee15(_0x3314ac._0x5aa29c,_0x3314ac._0x53b48f,_0x3314ac._0x1aa596,_0x3314ac._0x264dd9)]=_0x2fcc71[_0x509832(_0x3314ac._0x267e26,_0x3314ac._0x19a850,0x2b3,_0x3314ac._0x4256ba)];},'toggleAppNotificationsAlert':(_0xea9754,_0x204e65)=>{const _0x2d5cd1={_0x3e30bf:0x5a8,_0x11b417:0x592,_0x5e8401:0x594,_0x3cd37a:0x5c9,_0x16fa6b:0x5c1,_0x5e5b0f:0x5d5,_0x4dd370:0x5df,_0xff5322:0x5ba,_0x5afb67:0x58b,_0x56d3cd:0x594,_0x249790:0x5a4,_0xb648:0x59a,_0x1fe11d:0x564,_0x4c932c:0x58a,_0x380eda:0x5d1,_0x19bb03:0x5ae,_0x2b988a:0x5b9,_0x16a0ac:0x5a3,_0x7d17bd:0x576,_0x3ab4c7:0x59e,_0x3559ea:0x5e5,_0x1ca478:0x5bb,_0x17b04c:0x5c8,_0x593425:0x58a,_0x350857:0x5bf,_0x1f9efa:0x59f,_0x4cef92:0x58a,_0x12c90b:0x5bb,_0x5a4884:0x570,_0x543a8a:0x5b6,_0x27a7d6:0x5b3,_0x29a1e5:0x5de,_0x2be5be:0x5c4,_0x204bfb:0x5e2},_0xdbc499={_0x242284:0xeb,_0x1de3d6:0x390,_0xaa5ea7:0x15e},_0x1abbc8={_0x3cff3a:0x18,_0x70a18b:0x386,_0x5d6753:0xd3};function _0x592f9e(_0x45cc61,_0x31615b,_0x13d887,_0x4e1a57){return _0x3e9c40(_0x45cc61-_0x1abbc8._0x3cff3a,_0x31615b,_0x4e1a57-_0x1abbc8._0x70a18b,_0x4e1a57-_0x1abbc8._0x5d6753);}const _0x543a38=_0xea9754['notificati'+_0x4a5f3d(_0x2d5cd1._0x3e30bf,_0x2d5cd1._0x11b417,_0x2d5cd1._0x5e8401,0x596)][_0x4a5f3d(_0x2d5cd1._0x3cd37a,0x5da,0x5d0,_0x2d5cd1._0x16fa6b)](_0x204e65[_0x592f9e(0x5dc,_0x2d5cd1._0x5e5b0f,_0x2d5cd1._0x4dd370,_0x2d5cd1._0xff5322)]);function _0x4a5f3d(_0x3cf3a1,_0x191f5e,_0x36bdcb,_0x3d60bd){return _0x3e9c40(_0x3cf3a1-_0xdbc499._0x242284,_0x3d60bd,_0x36bdcb-_0xdbc499._0x1de3d6,_0x3d60bd-_0xdbc499._0xaa5ea7);}_0xea9754[_0x592f9e(_0x2d5cd1._0x5afb67,0x5ad,_0x2d5cd1._0x56d3cd,_0x2d5cd1._0x249790)+_0x592f9e(_0x2d5cd1._0x5e8401,_0x2d5cd1._0xb648,_0x2d5cd1._0x1fe11d,_0x2d5cd1._0x4c932c)]=_0x543a38?_0xea9754[_0x4a5f3d(0x5aa,_0x2d5cd1._0x380eda,_0x2d5cd1._0x19bb03,_0x2d5cd1._0x2b988a)+_0x4a5f3d(_0x2d5cd1._0x16a0ac,_0x2d5cd1._0x7d17bd,_0x2d5cd1._0x56d3cd,_0x2d5cd1._0x3ab4c7)][_0x4a5f3d(_0x2d5cd1._0x3559ea,_0x2d5cd1._0x1ca478,_0x2d5cd1._0x17b04c,0x5d1)](_0x527ffc=>_0x527ffc!==_0x204e65[_0x592f9e(0x5bd,0x595,0x5b9,0x5ba)]):_0xea9754[_0x592f9e(_0x2d5cd1._0x593425,_0x2d5cd1._0x350857,0x5c4,_0x2d5cd1._0x249790)+_0x592f9e(_0x2d5cd1._0x1f9efa,0x575,0x56f,_0x2d5cd1._0x4cef92)]=[..._0xea9754[_0x592f9e(_0x2d5cd1._0x12c90b,0x59e,0x5a9,0x5a4)+_0x4a5f3d(_0x2d5cd1._0x5a4884,_0x2d5cd1._0x543a8a,0x594,0x5ae)],_0x204e65[_0x4a5f3d(_0x2d5cd1._0x27a7d6,_0x2d5cd1._0x29a1e5,_0x2d5cd1._0x2be5be,_0x2d5cd1._0x204bfb)]];},'setAppInitialStatus':(_0x23fce5,{payload:{status:_0x3b498e,appVersion:_0x51db29}})=>{const _0x5d6b14={_0x55d8cd:0x73,_0x22117e:0x62,_0x559797:0x6e,_0x36763e:0x116,_0x24df05:0x12e,_0x4e04a5:0x12f},_0x5d0f4c={_0x53ed2d:0x16b,_0x9cff20:0x140,_0x4068c0:0x2bb},_0x1676f7={_0xedd082:0x4b,_0x570954:0xfb};_0x23fce5[_0x2f351b(-0x45,-_0x5d6b14._0x55d8cd,-_0x5d6b14._0x22117e,-_0x5d6b14._0x559797)]=_0x3b498e;function _0x2f351b(_0x6dbf3a,_0x2f42bd,_0x233b20,_0x1fa0ce){return _0x599bfe(_0x6dbf3a-_0x1676f7._0xedd082,_0x1fa0ce,_0x233b20-_0x1676f7._0x570954,_0x233b20-0x14f);}function _0x324892(_0x44edf8,_0x2a20b5,_0x86cf23,_0x2fb7a7){return _0x599bfe(_0x44edf8-_0x5d0f4c._0x53ed2d,_0x2a20b5,_0x86cf23-_0x5d0f4c._0x9cff20,_0x2fb7a7-_0x5d0f4c._0x4068c0);}_0x23fce5[_0x324892(_0x5d6b14._0x36763e,0x10a,_0x5d6b14._0x24df05,_0x5d6b14._0x4e04a5)]=_0x51db29;},'setAppStatus':(_0x1d7214,{payload:_0x2bf7e3})=>{const _0x482ed8={_0x384311:0x578,_0x3aa7e6:0x598,_0x43b7f4:0x5b1,_0x276f0c:0x426,_0x4c3308:0x3f5,_0x5acace:0x587,_0xc2badf:0x56c,_0x2a67ca:0x54e,_0x2e29c2:0x54b,_0x142dca:0x548,_0x3012fd:0x550,_0x4a9a9f:0x553,_0x488e01:0x56d,_0x2ce5be:0x565,_0x4e1dc8:0x59f,_0x3c16e2:0x59a,_0x506d67:0x58b,_0x3fa425:0x573},_0x4cdff3={_0x4f64c4:0xd7,_0x41aeea:0x1f8,_0x432a5a:0xcf},_0x15c628={_0x4ccbef:0x6a,_0x116fef:0x356,_0x4c10fd:0x6d};function _0x514048(_0x40df37,_0x2404bc,_0x12fb7e,_0x17c7c2){return _0x3e9c40(_0x40df37-_0x15c628._0x4ccbef,_0x40df37,_0x12fb7e-_0x15c628._0x116fef,_0x17c7c2-_0x15c628._0x4c10fd);}const {appStatus:_0x60a53e}=_0x1d7214;if(_0x60a53e===_0x2bf7e3||_0x60a53e===APP_STATUS[_0x514048(0x583,_0x482ed8._0x384311,_0x482ed8._0x3aa7e6,_0x482ed8._0x43b7f4)])return;function _0x4b3173(_0x52ec3b,_0x2c365e,_0x41a23d,_0x45e72a){return _0x3e9c40(_0x52ec3b-_0x4cdff3._0x4f64c4,_0x2c365e,_0x52ec3b-_0x4cdff3._0x41aeea,_0x45e72a-_0x4cdff3._0x432a5a);}_0x1d7214['appStatus']=_0x2bf7e3,_0x2bf7e3===APP_STATUS[_0x4b3173(0x417,_0x482ed8._0x276f0c,_0x482ed8._0x4c3308,0x41b)+_0x514048(_0x482ed8._0x5acace,_0x482ed8._0xc2badf,0x570,_0x482ed8._0x2a67ca)]&&(_0x1d7214[_0x514048(_0x482ed8._0x2e29c2,_0x482ed8._0x142dca,_0x482ed8._0x3012fd,_0x482ed8._0x4a9a9f)+_0x514048(_0x482ed8._0x488e01,_0x482ed8._0x2ce5be,0x585,_0x482ed8._0x4e1dc8)]=EMPTY_ROOM_ID,_0x1d7214[_0x514048(_0x482ed8._0x3c16e2,_0x482ed8._0x506d67,_0x482ed8._0x384311,_0x482ed8._0x3fa425)+'lRoomId']=EMPTY_ROOM_ID);},'setUpdateRequired':(_0x362ca7,{payload:{timestamp:_0x4cf952,reason:_0x1b8304,platform:_0x43bd82}})=>{const _0x3814f8={_0xc6b159:0x30d,_0x4636ab:0x343,_0x4fb568:0x333,_0x92b6c1:0x32a,_0x4ff4c4:0x32c,_0x41bf62:0x33b,_0x4ab0cf:0x282,_0xa59d06:0x28d,_0x5793f5:0x29d,_0x45d565:0x283,_0x338089:0x282,_0x347e32:0x288,_0x3cce33:0x284,_0x3f866e:0x321,_0x4d9c57:0x34b,_0x2933c0:0x337,_0x3d2430:0x326,_0x4dab74:0x254,_0x156a1c:0x270},_0x529c8c={_0x15d5bd:0x1b3,_0x311c7c:0x16b,_0x5519e9:0x3f9},_0x2df1e4={_0x389e26:0xf8,_0x506ef5:0x3f};_0x362ca7[_0x241d16(_0x3814f8._0xc6b159,0x31d,_0x3814f8._0x4636ab,_0x3814f8._0x4fb568)+_0x241d16(_0x3814f8._0x92b6c1,0x32a,_0x3814f8._0x4ff4c4,_0x3814f8._0x41bf62)]=!![];function _0x241d16(_0x3a7966,_0x2377d8,_0x23fc51,_0x526097){return _0x3e9c40(_0x3a7966-0x28,_0x23fc51,_0x526097-_0x2df1e4._0x389e26,_0x526097-_0x2df1e4._0x506ef5);}_0x362ca7[_0x50b59b(_0x3814f8._0x4ab0cf,_0x3814f8._0xa59d06,_0x3814f8._0x5793f5,_0x3814f8._0x45d565)+'on']=_0x1b8304||APP_UPDATE_REASONS[_0x50b59b(_0x3814f8._0x338089,0x2a2,_0x3814f8._0x347e32,_0x3814f8._0x3cce33)+'E'],_0x362ca7[_0x241d16(_0x3814f8._0x3f866e,_0x3814f8._0x4d9c57,_0x3814f8._0x2933c0,_0x3814f8._0x3d2430)+'tdownEnd']=_0x4cf952+APP_DELAY_BEFORE_UPDATE;function _0x50b59b(_0x3d0d2b,_0x2456b5,_0x4bcdd9,_0x312052){return _0x599bfe(_0x3d0d2b-_0x529c8c._0x15d5bd,_0x4bcdd9,_0x4bcdd9-_0x529c8c._0x311c7c,_0x312052-_0x529c8c._0x5519e9);}_0x362ca7[_0x50b59b(0x273,_0x3814f8._0x4dab74,0x25a,_0x3814f8._0x156a1c)+'form']=_0x43bd82;},'setForceUpdateRequired':_0x121c0a=>{const _0x30fe20={_0x5b981e:0x438,_0x231093:0x441,_0x130ddb:0x435,_0x31592d:0x476,_0x3b42fe:0x473,_0x21fc2b:0x454},_0x164623={_0x144b5a:0x14},_0x844770={_0x2a3eb4:0x377,_0x20d5f6:0x11a};function _0x231d38(_0x2e4940,_0x5a04b0,_0x4c0bef,_0x4b1b65){return _0x3e9c40(_0x2e4940-0x9c,_0x2e4940,_0x4c0bef- -_0x844770._0x2a3eb4,_0x4b1b65-_0x844770._0x20d5f6);}function _0x559814(_0x3c5de7,_0x2c9868,_0x5464dd,_0x2210a3){return _0x599bfe(_0x3c5de7-_0x164623._0x144b5a,_0x3c5de7,_0x5464dd-0x47,_0x2210a3-0x5eb);}_0x121c0a[_0x559814(_0x30fe20._0x5b981e,0x427,_0x30fe20._0x231093,_0x30fe20._0x130ddb)+_0x559814(_0x30fe20._0x31592d,0x46b,_0x30fe20._0x3b42fe,_0x30fe20._0x21fc2b)]=!![];},'setUpdateStatus':(_0x5638d5,{payload:_0x7fb049})=>{const _0xb6e369={_0x3c7ee2:0xee,_0x3ed255:0xfe,_0x51d573:0xf2},_0x3179ab={_0x38ca90:0x38},_0x4d4b6c={_0x141298:0xa8,_0x4e4bc3:0x61};function _0x4bba32(_0x2814cb,_0x17654f,_0x282793,_0x12029f){return _0x599bfe(_0x2814cb-_0x4d4b6c._0x141298,_0x12029f,_0x282793-_0x4d4b6c._0x4e4bc3,_0x2814cb-0x6f7);}function _0x41a9fc(_0x52ef1f,_0x2ddcb7,_0x3382f3,_0x4140ab){return _0x599bfe(_0x52ef1f-_0x3179ab._0x38ca90,_0x3382f3,_0x3382f3-0x180,_0x2ddcb7-0x26f);}_0x5638d5[_0x41a9fc(0xcc,_0xb6e369._0x3c7ee2,0xea,0xf4)+'us']!==_0x7fb049&&(_0x5638d5[_0x41a9fc(_0xb6e369._0x3ed255,_0xb6e369._0x3c7ee2,0xf1,_0xb6e369._0x51d573)+'us']=_0x7fb049);},'setSystemUpdate':(_0x257ba6,{payload:{remaining:_0x1229b2}})=>{const _0x4c98c2={_0x375c48:0x45a,_0x3785f3:0x441,_0x3c5f57:0x46c,_0x163a61:0x460,_0x899c24:0x471,_0x433918:0x458,_0x2d35f1:0x46a,_0x498755:0x212,_0x651347:0x1da,_0x4ed8ce:0x1f3},_0x16b07e={_0x56bf3a:0x1f4,_0x350e0a:0x168,_0x1da739:0x45},_0xeb2abd={_0x2bb247:0x105,_0x240255:0x21b};function _0x209e81(_0x13ef69,_0x4866c2,_0x3c5741,_0x4a99b5){return _0x3e9c40(_0x13ef69-_0xeb2abd._0x2bb247,_0x4a99b5,_0x13ef69-_0xeb2abd._0x240255,_0x4a99b5-0x179);}_0x257ba6['systemUpda'+'teRemainin'+'g']=_0x1229b2||0x1ca1+0x2342+-0x3fe3;function _0xd52718(_0x2c35c6,_0x345ce3,_0x3a91c8,_0x193d66){return _0x599bfe(_0x2c35c6-_0x16b07e._0x56bf3a,_0x3a91c8,_0x3a91c8-_0x16b07e._0x350e0a,_0x193d66- -_0x16b07e._0x1da739);}_0x257ba6[_0x209e81(_0x4c98c2._0x375c48,_0x4c98c2._0x3785f3,_0x4c98c2._0x3c5f57,_0x4c98c2._0x163a61)+'ting']=_0x257ba6[_0x209e81(_0x4c98c2._0x375c48,_0x4c98c2._0x899c24,_0x4c98c2._0x433918,_0x4c98c2._0x2d35f1)+_0xd52718(-_0x4c98c2._0x498755,-_0x4c98c2._0x651347,-0x1ce,-_0x4c98c2._0x4ed8ce)+'g']>0x1*0x24cd+-0x1ae3+0x1*-0x9ea;},'setLastToastNotificationSeen':(_0x4a1e55,{payload:_0xd89f48})=>{const _0x4488e1={_0x28ea8c:0x253,_0x24fba1:0x58e,_0x407f0d:0x59a,_0xb2ec2b:0x59b,_0x347d06:0x225,_0x10bc86:0x21b,_0x332a8a:0x260,_0x166e95:0x241},_0x57e9d0={_0x5bcefe:0x38a},_0x43094c={_0xb330d5:0x99,_0x50cbec:0x32};function _0x574213(_0x284572,_0x3a03df,_0x57214a,_0x3f0e21){return _0x3e9c40(_0x284572-_0x43094c._0xb330d5,_0x3a03df,_0x3f0e21-_0x43094c._0x50cbec,_0x3f0e21-0xe);}function _0x1e3386(_0x244ab5,_0x38f6aa,_0x59c676,_0x2a2af9){return _0x3e9c40(_0x244ab5-0x103,_0x2a2af9,_0x59c676-_0x57e9d0._0x5bcefe,_0x2a2af9-0x9c);}_0x4a1e55[_0x574213(0x281,0x27a,_0x4488e1._0x28ea8c,0x267)+_0x1e3386(_0x4488e1._0x24fba1,_0x4488e1._0x407f0d,0x5a0,_0x4488e1._0xb2ec2b)+_0x574213(_0x4488e1._0x347d06,_0x4488e1._0x10bc86,_0x4488e1._0x332a8a,_0x4488e1._0x166e95)]=_0xd89f48;}}});export const getAppState=_0xf66bf1=>_0xf66bf1[APP_STATE_KEY];export const getApplicationKey=_0x577482=>getAppState(_0x577482)[_0x599bfe(-0x196,-0x1c7,-0x1c3,-0x1ad)+_0x599bfe(-0x1a5,-0x185,-0x161,-0x182)];function _0x599bfe(_0x2e07cb,_0x29f78f,_0x155b8b,_0xbb06d4){const _0xa102da={_0x169dec:0x37c};return _0x36fd(_0xbb06d4- -_0xa102da._0x169dec,_0x29f78f);}export const getAppCurrentRoomId=_0x233a13=>getAppState(_0x233a13)[_0x599bfe(-0x1b3,-0x1da,-0x1d1,-0x1b9)+_0x3e9c40(0x233,0x248,0x22f,0x226)];function _0x16e6(){const _0x41eb36=['estruct','updatePlat','782398YNjQqJ','LOADING','UPDATED','updateCoun','mId','3KTpmpU','nKey','updateStat','ormal','payload','lastToastN','88DWfTsP','dentity-se','filter','914157eJeVCL','tdownEnd','updateRequ','dating','updateReas','APP_UPGRAD','systemUpda','includes','localeIsUp','TEARDOWN','ired','app/mode-n','search','currentRoo','11PBVans','linkData','forceUpdat','tup','354115QzvwXl','ting','431790kXjbAJ','appStatus','tart','onsAlerts','teRemainin','applicatio','toString','RUNNING','ty-setup-c','ALL','locale','lRoomId','98XyFNMt','constructo','nSeen','match','app/identi','(((.+)+)+)','values','12941350yehNIZ','ty-setup-s','otificatio','status','app/mode-i','DESTRUCTIN','ETUP','RROR','eRequired','app/self-d','notificati','IDENTITY_S','44luvrtN','form','currentCal','onsType','18559308dZdZxz','244254OIPwif','getInitial','appVersion','State'];_0x16e6=function(){return _0x41eb36;};return _0x16e6();}export const getAppCurrentCallRoomId=_0x4df544=>getAppState(_0x4df544)[_0x599bfe(-0x19e,-0x18c,-0x189,-0x191)+_0x3e9c40(0x207,0x20f,0x20c,0x224)];export const hasAppCurrentRoomCallMatch=_0x18349=>{const {currentCallRoomId:_0x18f051,currentRoomId:_0x1c749c}=getAppState(_0x18349);return _0x18f051===_0x1c749c;};export const getAppLocale=_0x217da0=>getAppState(_0x217da0)[_0x599bfe(-0x1b4,-0x18a,-0x1b9,-0x1a8)];export const getAppNotificationsAlerts=_0x4e7998=>getAppState(_0x4e7998)[_0x3e9c40(0x1fc,0x242,0x21e,0x1ff)+_0x3e9c40(0x1e9,0x220,0x204,0x216)];function _0x36fd(_0x36fda8,_0x4a1c1){const _0x384d95=_0x16e6();return _0x36fd=function(_0xded782,_0x54195f){_0xded782=_0xded782-(0xf10+-0x1f*-0xd1+-0x269c);let _0x4142f4=_0x384d95[_0xded782];return _0x4142f4;},_0x36fd(_0x36fda8,_0x4a1c1);}export const getAppLocaleIsUpdating=_0x583af5=>getAppState(_0x583af5)[_0x599bfe(-0x18d,-0x167,-0x164,-0x172)+_0x599bfe(-0x156,-0x16a,-0x190,-0x177)];export const getAppStatus=_0x1ba552=>getAppState(_0x1ba552)[_0x3e9c40(0x1e4,0x21a,0x202,0x20f)];export const getUpdateRequired=_0x18376f=>getAppState(_0x18376f)['updateRequ'+_0x599bfe(-0x195,-0x14a,-0x176,-0x170)];function _0x3e9c40(_0xbbaaf7,_0x19aab1,_0x3c5ab6,_0x5c0b32){const _0x1f0116={_0x15e2aa:0x37};return _0x36fd(_0x3c5ab6-_0x1f0116._0x15e2aa,_0x19aab1);}export const getForceUpdateRequired=_0x4413f6=>getAppState(_0x4413f6)[_0x599bfe(-0x1aa,-0x1b7,-0x1b7,-0x1b6)+_0x3e9c40(0x230,0x242,0x21c,0x22a)];export const getUpdateCountdownEnd=_0x2a621f=>getAppState(_0x2a621f)[_0x3e9c40(0x20d,0x229,0x22e,0x23a)+_0x3e9c40(0x223,0x25b,0x23a,0x25a)];export const getUpdateReason=_0x414109=>getAppState(_0x414109)[_0x3e9c40(0x258,0x262,0x23d,0x246)+'on'];export const getUpdatePlatform=_0x3bcd6e=>getAppState(_0x3bcd6e)[_0x3e9c40(0x22d,0x220,0x22a,0x223)+_0x3e9c40(0x23c,0x245,0x221,0x231)];export const getUpdateStatus=_0x15b1f2=>getAppState(_0x15b1f2)[_0x3e9c40(0x230,0x225,0x232,0x256)+'us'];export const getAppStatusLoading=_0x57190f=>getAppState(_0x57190f)[_0x3e9c40(0x1dc,0x20e,0x202,0x1f4)]===APP_STATUS['LOADING'];export const getAppStatusTeardown=_0x267773=>getAppState(_0x267773)[_0x3e9c40(0x220,0x20f,0x202,0x223)]===APP_STATUS[_0x3e9c40(0x264,0x22b,0x242,0x22a)];export const getAppStatusCriticalError=_0x47b5c9=>getAppState(_0x47b5c9)[_0x3e9c40(0x21e,0x1eb,0x202,0x1ef)]===APP_STATUS['CRITICAL_E'+_0x3e9c40(0x237,0x224,0x21b,0x233)];export const getSystemUpdateRemaining=_0x47cd9f=>getAppState(_0x47cd9f)[_0x3e9c40(0x22a,0x24c,0x23f,0x241)+_0x3e9c40(0x227,0x211,0x205,0x224)+'g'];export const getIsSystemUpdating=_0x8d1176=>getAppState(_0x8d1176)['systemUpda'+_0x3e9c40(0x201,0x1fe,0x200,0x1e7)];export const getLastToastNotificationSeen=_0x4522a7=>getAppState(_0x4522a7)[_0x599bfe(-0x19d,-0x1a2,-0x17a,-0x17e)+_0x599bfe(-0x1a2,-0x191,-0x199,-0x19d)+_0x3e9c40(0x20b,0x20a,0x20f,0x231)];export const isOngoingCallByRoomId=(_0x1b7b0e,_0x36c25f)=>{const {currentCallRoomId:_0x383730}=getAppState(_0x1b7b0e);if(getCallPeersCount(_0x1b7b0e,_0x36c25f)>-0x2301+-0x40e+-0x1*-0x270f)return!![];return _0x36c25f===_0x383730&&getCallIsOngoing(_0x1b7b0e);};export const getRoomBlurred=(_0x1d8f22,_0xabcf33)=>{const _0x9db6a9=getPreferencesPrivateMode(_0x1d8f22);if(!_0x9db6a9)return![];if(!_0xabcf33)return!![];if(!isCallJoinedMode(getCallStatus(_0x1d8f22)))return!![];const _0x550595=getAppCurrentCallRoomId(_0x1d8f22);return _0xabcf33!==_0x550595;};export const getIsSelfDestructing=_0x2255be=>getAppState(_0x2255be)[_0x599bfe(-0x1a0,-0x1a6,-0x1af,-0x1b1)]===APP_STATUS[_0x599bfe(-0x18c,-0x1a8,-0x1c0,-0x19a)+'G'];export const {setAppInitialStatus,setAppStatus,setAppCurrentRoomId,setAppCurrentCallRoomId,initAppLocale,setAppLocale,setAppNotificationsType,setAppNotificationsAlerts,toggleAppNotificationsAlert,setAppLocaleSuccess,initApplication,appRoomInvitationLinkServed,setUpdateRequired,setForceUpdateRequired,setUpdateStatus,setSystemUpdate,setLastToastNotificationSeen}=appSlice['actions'];export const appTeardownEvent=()=>setAppStatus(APP_STATUS['TEARDOWN']);export const appIdentitySetupStart=createAction(_0x3e9c40(0x20e,0x1f2,0x211,0x222)+_0x599bfe(-0x1be,-0x182,-0x192,-0x19e)+_0x3e9c40(0x1dd,0x203,0x203,0x1f8));export const appIdentitySetupCancel=createAction(_0x3e9c40(0x1f5,0x1f9,0x211,0x1ee)+_0x3e9c40(0x1fa,0x1f5,0x209,0x20b)+'ancel');export const runAppModeIdentitySetupCmd=createAction(_0x599bfe(-0x1a7,-0x1c0,-0x1ba,-0x19b)+_0x3e9c40(0x211,0x24b,0x237,0x231)+_0x599bfe(-0x19c,-0x1a7,-0x1d3,-0x1b5));export const runAppModeNormalCmd=createAction(_0x3e9c40(0x269,0x222,0x244,0x22f)+_0x599bfe(-0x17f,-0x180,-0x168,-0x180));export const selfDestruct=createAction(_0x3e9c40(0x1fa,0x23b,0x21d,0x218)+_0x599bfe(-0x1a5,-0x1ae,-0x196,-0x18a));export const isSetAppStatusRunning=_0x180604=>setAppStatus[_0x3e9c40(0x234,0x210,0x210,0x1f9)](_0x180604)&&_0x180604[_0x599bfe(-0x19b,-0x164,-0x160,-0x17f)]===APP_STATUS['RUNNING']||setAppInitialStatus[_0x599bfe(-0x189,-0x189,-0x1ad,-0x1a3)](_0x180604)&&_0x180604[_0x3e9c40(0x216,0x212,0x234,0x21a)][_0x3e9c40(0x209,0x200,0x217,0x22c)]===APP_STATUS[_0x3e9c40(0x209,0x222,0x208,0x1fb)];export const getAppInitialState=appSlice[_0x599bfe(-0x16d,-0x19e,-0x182,-0x18d)+_0x599bfe(-0x186,-0x166,-0x1ae,-0x18b)];export const appReducer=appSlice['reducer'];