OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-deps / @holepunchto / keet-store / store / call / call.action.js

1 lines · javascript ref:
function _0x27e2(_0x27e2b4,_0x46e83c){const _0x24d15c=_0x2617();return _0x27e2=function(_0x57d51d,_0xc85556){_0x57d51d=_0x57d51d-(0x1*-0x1de4+0xb8c+0x13f3);let _0x44cf2a=_0x24d15c[_0x57d51d];return _0x44cf2a;},_0x27e2(_0x27e2b4,_0x46e83c);}(function(_0x1f539b,_0x39fc1a){const _0x2055ca={_0x49b23d:0x5b,_0x28ba47:0x50,_0x59bfea:0x48,_0x52e1e5:0x44,_0xe713d6:0x24,_0xc8bb4b:0x4c,_0x5a8d11:0x1e4,_0xf3ef08:0x1db,_0x1be7c5:0x1bc,_0x37b2da:0x1b9,_0x259ac3:0x1eb,_0x37f872:0x1e8,_0xb80a9c:0x1c1,_0x26d387:0x1c5,_0xcf30bc:0x1d7,_0x57bb06:0x58,_0x23c5e6:0x6b,_0x2b9309:0x4f,_0x17c1cd:0x1c0,_0xa57556:0x1bc,_0x4deafe:0x1ac,_0x112449:0x1c5,_0x23d2c9:0x1f0,_0x5994d1:0x73,_0x390674:0x6f,_0x23afd2:0x1d7,_0x2f0412:0x1b8,_0x4bb5bb:0x1a6,_0x53c2a8:0x1f6,_0x521704:0x1e6,_0x42d492:0x20a},_0x143100={_0x13a868:0x39b},_0x56548c={_0x1c2a38:0x170},_0xa7b7b6=_0x1f539b();function _0xc39d2f(_0x3c77ae,_0x4557ec,_0x47b960,_0x14d60c){return _0x27e2(_0x3c77ae- -_0x56548c._0x1c2a38,_0x4557ec);}function _0x138245(_0x40ee85,_0x15ca83,_0x24a84a,_0x581a9f){return _0x27e2(_0x24a84a- -_0x143100._0x13a868,_0x15ca83);}while(!![]){try{const _0x18fd2d=parseInt(_0xc39d2f(0x36,_0x2055ca._0x49b23d,_0x2055ca._0x28ba47,_0x2055ca._0x59bfea))/(-0x22cf+-0x152e+0x37fe)*(parseInt(_0xc39d2f(_0x2055ca._0x52e1e5,0x44,_0x2055ca._0xe713d6,_0x2055ca._0xc8bb4b))/(-0x409*-0x9+-0xc2d*-0x1+0x183e*-0x2))+-parseInt(_0x138245(-0x206,-0x209,-_0x2055ca._0x5a8d11,-_0x2055ca._0xf3ef08))/(-0x1bb*-0x5+-0x217a+0xb*0x242)*(-parseInt(_0x138245(-_0x2055ca._0x1be7c5,-_0x2055ca._0x37b2da,-0x1cc,-_0x2055ca._0x259ac3))/(0x51c+0x2*-0x1247+0x1f76))+parseInt(_0x138245(-_0x2055ca._0x37f872,-_0x2055ca._0xb80a9c,-_0x2055ca._0x26d387,-_0x2055ca._0xcf30bc))/(0x15d9+0x1ec3+-0x1*0x3497)*(-parseInt(_0xc39d2f(_0x2055ca._0x57bb06,0x77,_0x2055ca._0x23c5e6,_0x2055ca._0x2b9309))/(-0x1c5c+0x169f+-0x3b*-0x19))+-parseInt(_0x138245(-0x1bb,-_0x2055ca._0x17c1cd,-_0x2055ca._0xa57556,-_0x2055ca._0x4deafe))/(-0x1*-0x11dd+-0x23bd+-0x1*-0x11e7)+-parseInt(_0x138245(-_0x2055ca._0x112449,-0x1d7,-0x1d5,-_0x2055ca._0x23d2c9))/(-0xdff*-0x2+0x908+-0x24fe)+-parseInt(_0xc39d2f(0x6c,_0x2055ca._0x5994d1,0x68,_0x2055ca._0x390674))/(-0x245*0xe+0x1*-0x1dde+-0x33f*-0x13)*(parseInt(_0x138245(-0x1be,-_0x2055ca._0x23afd2,-_0x2055ca._0x2f0412,-_0x2055ca._0x4bb5bb))/(0x1753+-0xfe5+0xac*-0xb))+parseInt(_0x138245(-_0x2055ca._0x53c2a8,-_0x2055ca._0x521704,-_0x2055ca._0x37f872,-_0x2055ca._0x42d492))/(0xd*0x56+0xa8c+-0x2f*0x51);if(_0x18fd2d===_0x39fc1a)break;else _0xa7b7b6['push'](_0xa7b7b6['shift']());}catch(_0x298b85){_0xa7b7b6['push'](_0xa7b7b6['shift']());}}}(_0x2617,0xbeb31+-0x3d*0x4f46+0x61ff*0x2f));const _0x16f2d2=(function(){let _0x59306d=!![];return function(_0x99a63b,_0x4c70d0){const _0x1df819={_0x383025:0x218,_0x46845e:0x237},_0x9864d6={_0x199a3d:0x6d},_0x39b53b=_0x59306d?function(){function _0x14e29a(_0x35cd84,_0x5f0f03,_0x55fac0,_0x5173fd){return _0x27e2(_0x5f0f03-_0x9864d6._0x199a3d,_0x35cd84);}if(_0x4c70d0){const _0x53f663=_0x4c70d0[_0x14e29a(0x223,0x236,_0x1df819._0x383025,_0x1df819._0x46845e)](_0x99a63b,arguments);return _0x4c70d0=null,_0x53f663;}}:function(){};return _0x59306d=![],_0x39b53b;};}()),_0x2fe88b=_0x16f2d2(this,function(){const _0x41039a={_0x453c67:0x39,_0x507089:0x57,_0x3d40c4:0x3e,_0x4edd98:0x48,_0x223ffa:0x3f9,_0x288894:0x3ef,_0x540263:0x24,_0x5e7569:0x6,_0x102111:0x3d0,_0x3db804:0x3f3,_0x3d4289:0x41,_0xb58674:0x53,_0x1bde83:0x4a,_0x215606:0x37},_0x5c6272={_0x429242:0x21b};function _0x36077f(_0x3bcf84,_0x542ed2,_0x327757,_0x3ad42e){return _0x27e2(_0x542ed2- -0x181,_0x3ad42e);}function _0xb4785f(_0x1bcea5,_0xe5f8c5,_0x414aff,_0x5ef2a4){return _0x27e2(_0x414aff-_0x5c6272._0x429242,_0x5ef2a4);}return _0x2fe88b['toString']()[_0x36077f(_0x41039a._0x453c67,_0x41039a._0x507089,_0x41039a._0x3d40c4,_0x41039a._0x4edd98)](_0xb4785f(_0x41039a._0x223ffa,0x411,_0x41039a._0x288894,0x3f9)+'+$')[_0x36077f(0x9,_0x41039a._0x540263,_0x41039a._0x5e7569,-0x2)]()['constructo'+'r'](_0x2fe88b)[_0xb4785f(_0x41039a._0x102111,0x411,_0x41039a._0x3db804,0x3de)](_0x36077f(_0x41039a._0x3d4289,_0x41039a._0xb58674,_0x41039a._0x1bde83,_0x41039a._0x215606)+'+$');});_0x2fe88b();import{createAction}from'@reduxjs/toolkit';import*as _0x532dd2 from'./call-status.action';import*as _0xfa9312 from'./call-presence.action';import{CALL_STATUS}from'./call.constants';export const setCallIds=createAction(_0x476175(0x4cf,0x4cd,0x4d1,0x4ea)+_0x476175(0x518,0x4f5,0x4fe,0x4db));export const setCallStatus=createAction(_0x476175(0x4dd,0x4cd,0x4de,0x4d1)+'all-status');export const showCallConfirmLeave=createAction(_0x2339c6(-0x20a,-0x200,-0x212,-0x1f1)+_0x476175(0x4cf,0x4c5,0x4a5,0x4df)+_0x2339c6(-0x219,-0x226,-0x211,-0x22a));export const showCallAutoEndPopup=createAction(_0x476175(0x4e9,0x4cb,0x4e9,0x4cd)+_0x476175(0x4f4,0x4db,0x4d1,0x4db)+_0x2339c6(-0x1d3,-0x1ae,-0x1cb,-0x1ea));export const resetCallAutoEndTimer=createAction(_0x476175(0x507,0x4e8,0x500,0x4f4)+'-call-auto'+_0x476175(0x512,0x4f1,0x4f7,0x4d7));export const updateCallAutoEndCountdown=createAction(_0x476175(0x4fa,0x4da,0x4d7,0x4c8)+'e-call-aut'+_0x476175(0x4d7,0x4eb,0x4e5,0x502)+_0x476175(0x4fa,0x4fe,0x4df,0x4e8));export const setCallShareScreenDialogOpened=createAction(_0x2339c6(-0x208,-0x1e3,-0x1f5,-0x209)+_0x2339c6(-0x1f4,-0x20d,-0x202,-0x209)+_0x2339c6(-0x20c,-0x209,-0x1ec,-0x201)+_0x476175(0x4fa,0x4d8,0x4ed,0x4bc));export const openCallSettings=createAction(_0x2339c6(-0x1f9,-0x1dd,-0x1e2,-0x1e6)+_0x476175(0x506,0x4ea,0x4dd,0x50b)+_0x2339c6(-0x1e7,-0x1e9,-0x203,-0x1f8));export const setCallRemoteMediaAudioError=createAction('call/set-c'+_0x476175(0x51f,0x4fc,0x516,0x4e7)+_0x2339c6(-0x1f3,-0x1fa,-0x1ef,-0x20d)+_0x2339c6(-0x201,-0x1ff,-0x207,-0x1f9));function _0x2617(){const _0x570bc0=['-quality-u','151610GIczek','all-ids','search','-share-scr','e-call-rem','call/close','128160MkvFzG','ote-media-','all-remote','816354KlzrOl','tdown','vice-updat','call/audio','50UewyIE','end-popup','call/toggl','ncoming-ca','dm-call','call/remov','rm-leave','-incoming-','call/decre','call/video','rs-count','match','call/join-','toString','125iYKcro','call-confi','ase-call-p','en-dialog','-video','screen-dia','ggle','call/show-','call/set-i','call/set-c','ceived','pdate','een-dialog','9918095WmhibT','2838ZxrrMO','ll-room-id','io-error','2550063iUaWaf','call/decli','call/swap-','log-opened','READY','call/udpat','call-auto-','call/open-','-stream-to','eers-count','e-video','call/notif','all-share-','-media-aud','share-scre','1359544arAhxz','date','168jLlVYG','apply','call/reset','-device-up','call-setti','o-end-coun','audio-erro','4fBlPhB','ngs','ication-re','call/share','-end-timer','(((.+)+)+)'];_0x2617=function(){return _0x570bc0;};return _0x2617();}export const removeCallRemoteMediaAudioError=createAction('call/remov'+_0x476175(0x4d8,0x4f8,0x50e,0x504)+_0x2339c6(-0x1da,-0x1ca,-0x1f5,-0x1cc)+_0x476175(0x504,0x4ec,0x4cd,0x507)+'r');export const updateCallRemoteMedia=createAction('call/updat'+_0x476175(0x518,0x4f8,0x508,0x4e2)+'ote-media');export const removeCallRemoteMedia=createAction('call/remov'+_0x476175(0x518,0x4f8,0x4d8,0x4d3)+'ote-media');export const increaseCallPeersCount=createAction('call/incre'+'ase-call-p'+'eers-count');export const decreaseCallPeersCount=createAction(_0x2339c6(-0x217,-0x1f2,-0x219,-0x226)+_0x2339c6(-0x20f,-0x20f,-0x1eb,-0x216)+_0x476175(0x4d0,0x4de,0x4d0,0x4c7));export const removeCallPeersCount=createAction(_0x476175(0x4b5,0x4bb,0x4c9,0x4c6)+'e-call-pee'+_0x476175(0x4ba,0x4c0,0x4e1,0x4c1));export const {callCancel,callJoinCmd,callJoinedEvt,callLeave,callReset}=_0x532dd2;export const {addCallMemberId,addCallMemberStream,addCallUnknownPresenceEvt,removeCallMemberId,removeCallMemberStream,isStreamRemovedPresenceData}=_0xfa9312;export const callOpenShareScreenDialog=createAction(_0x2339c6(-0x1f9,-0x200,-0x202,-0x21c)+_0x2339c6(-0x1f2,-0x1e9,-0x1f8,-0x1f8)+_0x476175(0x4e6,0x4c7,0x4d4,0x4b7));export const callCloseShareScreenDialog=createAction(_0x476175(0x4df,0x4f9,0x4f2,0x517)+_0x2339c6(-0x1de,-0x1fa,-0x1cb,-0x1d1)+_0x2339c6(-0x205,-0x1f0,-0x217,-0x205));export const callSharedScreenUpdate=createAction(_0x2339c6(-0x1e5,-0x1fb,-0x1cf,-0x204)+'d-screen-u'+_0x476175(0x4f2,0x4cf,0x4b2,0x4df));function _0x476175(_0x45de9f,_0x3531ec,_0x20daa8,_0x1819ad){const _0x26ad38={_0x3ec698:0x31e};return _0x27e2(_0x3531ec-_0x26ad38._0x3ec698,_0x20daa8);}export const callAudioStreamToggle=createAction(_0x2339c6(-0x1d5,-0x1e8,-0x1c9,-0x1f2)+'-stream-to'+_0x2339c6(-0x20b,-0x21f,-0x1ed,-0x1fa));export const callAudioDeviceUpdate=createAction(_0x2339c6(-0x1d5,-0x1cd,-0x1d9,-0x1bf)+_0x2339c6(-0x1ec,-0x1fd,-0x205,-0x1ca)+'date');export const callAudioOutputDeviceUpdate=createAction(_0x2339c6(-0x1d5,-0x1d1,-0x1b1,-0x1cb)+'-output-de'+_0x2339c6(-0x1d6,-0x1c9,-0x1d4,-0x1d1)+'e');export const callVideoStreamToggle=createAction('call/video'+_0x2339c6(-0x1f8,-0x20f,-0x21b,-0x21a)+_0x476175(0x4af,0x4ca,0x4b4,0x4ed));export const callVideoDeviceUpdate=createAction(_0x2339c6(-0x216,-0x1f5,-0x20e,-0x1f4)+_0x2339c6(-0x1ec,-0x208,-0x1e0,-0x20f)+_0x2339c6(-0x1f0,-0x1f9,-0x20e,-0x1cc));export const callVideoQualityUpdate=createAction(_0x476175(0x4d7,0x4bf,0x4c0,0x4c2)+_0x476175(0x4fb,0x4f3,0x4e4,0x50f)+_0x2339c6(-0x206,-0x1f6,-0x1f5,-0x21c));export const callToggleVideo=createAction(_0x476175(0x500,0x503,0x51d,0x512)+_0x2339c6(-0x1f6,-0x214,-0x1e0,-0x20b));function _0x2339c6(_0x3e467f,_0x564e18,_0x41985c,_0x272b9b){const _0x4b47f7={_0x28a812:0x3b7};return _0x27e2(_0x3e467f- -_0x4b47f7._0x28a812,_0x41985c);}export const callSwapVideoCamera=createAction(_0x2339c6(-0x1fe,-0x1da,-0x204,-0x218)+'video-came'+'ra');export const callCloseVideo=createAction(_0x476175(0x4fd,0x4f9,0x4f3,0x519)+_0x2339c6(-0x20d,-0x213,-0x206,-0x1f2));export const callJoinDMIncoming=createAction(_0x476175(0x4b7,0x4c2,0x4e4,0x4dc)+_0x2339c6(-0x21b,-0x1f7,-0x209,-0x20c));export const callDeclineDMIncoming=createAction(_0x2339c6(-0x1ff,-0x1e1,-0x1f2,-0x21c)+'ne-dm-call');export const callNotificationReceived=createAction(_0x476175(0x4bc,0x4e0,0x4d2,0x4eb)+_0x2339c6(-0x1e6,-0x1f9,-0x1f9,-0x1f3)+_0x476175(0x4d6,0x4ce,0x4b9,0x4b9));export const callSetIncomingDMRoomId=createAction(_0x476175(0x4df,0x4cc,0x4e0,0x4ec)+_0x2339c6(-0x21c,-0x1fc,-0x220,-0x222)+_0x2339c6(-0x202,-0x1f3,-0x21c,-0x1f7));export const callResetIncomingDMRoomId=createAction(_0x2339c6(-0x1ed,-0x1d6,-0x1e0,-0x1f3)+_0x2339c6(-0x218,-0x23b,-0x22f,-0x226)+'call-room-'+'id');export const isSetCallStatusReady=_0x5e3f1f=>setCallStatus[_0x2339c6(-0x214,-0x1ef,-0x22f,-0x1f0)](_0x5e3f1f)&&_0x5e3f1f['payload']===CALL_STATUS[_0x2339c6(-0x1fc,-0x1f0,-0x1f2,-0x21a)];