@ckeditor/ckeditor5-real-time-collaboration 41.4.1 → 41.4.2
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/build/real-time-collaboration.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +4 -4
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x322e(_0x56a7bd,_0x1bf732){const _0x4183a3=_0x4183();return _0x322e=function(_0x322ef0,_0x26d539){_0x322ef0=_0x322ef0-0x1d3;let _0x1bed3e=_0x4183a3[_0x322ef0];return _0x1bed3e;},_0x322e(_0x56a7bd,_0x1bf732);}(function(_0x54b72b,_0x4f088d){const _0x5d1bab=_0x322e,_0xc33070=_0x54b72b();while(!![]){try{const _0x2b457e=parseInt(_0x5d1bab(0x1d5))/0x1*(-parseInt(_0x5d1bab(0x1e3))/0x2)+parseInt(_0x5d1bab(0x1e5))/0x3+-parseInt(_0x5d1bab(0x1db))/0x4*(parseInt(_0x5d1bab(0x1d6))/0x5)+-parseInt(_0x5d1bab(0x1df))/0x6+-parseInt(_0x5d1bab(0x1e1))/0x7*(-parseInt(_0x5d1bab(0x1e2))/0x8)+parseInt(_0x5d1bab(0x1dc))/0x9+parseInt(_0x5d1bab(0x1dd))/0xa;if(_0x2b457e===_0x4f088d)break;else _0xc33070['push'](_0xc33070['shift']());}catch(_0x1ffbb5){_0xc33070['push'](_0xc33070['shift']());}}}(_0x4183,0x48d03));import{View as _0x11b7bc}from'ckeditor5/src/ui.js';function _0x4183(){const _0x5e954b=['10370390KpnSwl','CONNECTED_USERS','1460166cgMbcw','bindTemplate','7DOhsVN','1480408vgmfqL','917222BuoLZP','isHidden','384591PRgeMB','ck-presence-list__counter','usersCount','1ZlLWoI','1329550juytae','div','set','setTemplate','ck-presence-list__counter--hidden','8pDpHXt','1635732buqGst'];_0x4183=function(){return _0x5e954b;};return _0x4183();}import{getTranslation as _0x4d33ae}from'../../common-translations.js';export default class ts extends _0x11b7bc{constructor(_0x54c50e){const _0x27c14c=_0x322e;super(_0x54c50e);const _0x1495fd=this[_0x27c14c(0x1e0)];this[_0x27c14c(0x1d8)](_0x27c14c(0x1d4),0x0),this[_0x27c14c(0x1d8)](_0x27c14c(0x1e4),!0x0),this[_0x27c14c(0x1d9)]({'tag':_0x27c14c(0x1d7),'attributes':{'class':['ck',_0x27c14c(0x1d3),_0x1495fd['if'](_0x27c14c(0x1e4),_0x27c14c(0x1da))]},'children':[{'text':_0x1495fd['to'](_0x27c14c(0x1d4),_0x16df15=>_0x4d33ae(_0x54c50e,_0x27c14c(0x1de),_0x16df15))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4bb597,_0x1a1d81){const _0x53b0fd=_0x3475,_0x3609b0=_0x4bb597();while(!![]){try{const _0x139601=-parseInt(_0x53b0fd(0xe7))/0x1*(-parseInt(_0x53b0fd(0xf6))/0x2)+parseInt(_0x53b0fd(0xee))/0x3*(-parseInt(_0x53b0fd(0xed))/0x4)+parseInt(_0x53b0fd(0xfe))/0x5+parseInt(_0x53b0fd(0xe9))/0x6*(parseInt(_0x53b0fd(0xf3))/0x7)+-parseInt(_0x53b0fd(0xf9))/0x8*(parseInt(_0x53b0fd(0xf1))/0x9)+-parseInt(_0x53b0fd(0xf0))/0xa*(-parseInt(_0x53b0fd(0xe3))/0xb)+parseInt(_0x53b0fd(0xfc))/0xc*(-parseInt(_0x53b0fd(0xf4))/0xd);if(_0x139601===_0x1a1d81)break;else _0x3609b0['push'](_0x3609b0['shift']());}catch(_0x590ed8){_0x3609b0['push'](_0x3609b0['shift']());}}}(_0xf1c6,0x1af51));import{View as _0x345f2a}from'ckeditor5/src/ui.js';function _0x3475(_0x5e32a9,_0x1bbc4c){const _0xf1c6ef=_0xf1c6();return _0x3475=function(_0x3475c0,_0x4a2786){_0x3475c0=_0x3475c0-0xe2;let _0x5250ec=_0xf1c6ef[_0x3475c0];return _0x5250ec;},_0x3475(_0x5e32a9,_0x1bbc4c);}function _0xf1c6(){const _0x51e76b=['12keGcVC','color','1031845iDEnxz','userView','1408kksyUD','name','fire','button','163379xLXtKn','setTemplate','6crVZvu','bindTemplate','ck-presence-list__marker','ck-user__full-name','153820PXRjUU','15CSdqam','ck-presence-list__dropdown-list-item','13060HxUJJS','274806sMebbv','div','614649UdnXAn','2598635MVFPJJ','getBackgroundColorClass','2ZwTBHf','execute','span','32Sucxbq','tag','true'];_0xf1c6=function(){return _0x51e76b;};return _0xf1c6();}import{UserView as _0x3cb296}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x345f2a{constructor(_0x58bb33,_0x228272,_0xf04200){const _0x2dd230=_0x3475;super(_0x58bb33);const _0x2744fc=this[_0x2dd230(0xea)];this[_0x2dd230(0xe2)]=new _0x3cb296(_0x58bb33,_0x228272);const _0x7971f9={'tag':_0x2dd230(0xf2),'attributes':{'class':['ck',_0x2dd230(0xef)]},'children':[this[_0x2dd230(0xe2)],{'tag':_0x2dd230(0xf8),'attributes':{'class':['ck',_0x2dd230(0xec)]},'children':[{'text':_0x228272[_0x2dd230(0xe4)]}]},{'tag':_0x2dd230(0xf8),'attributes':{'class':['ck',_0x2dd230(0xeb),_0x228272[_0x2dd230(0xfd)][_0x2dd230(0xf5)]()],'aria-hidden':_0x2dd230(0xfb)}}]};_0xf04200&&(_0x7971f9[_0x2dd230(0xfa)]=_0x2dd230(0xe6),_0x7971f9['on']={'click':_0x2744fc['to'](()=>this[_0x2dd230(0xe5)](_0x2dd230(0xf7)))}),this[_0x2dd230(0xe8)](_0x7971f9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5212(){var _0x3d7a5e=['createCollection','ck-presence-list__dropdown-list','3auLLVA','ck-presence-list__dropdown-list-wrapper','setTemplate','168860FRsvlM','2934736OmlzCV','54857iGZTSY','5BKvWrs','1379277QBeEGg','260rpDIlu','36470GyvTIb','701197LeZTyF','264Hseeif','37806erQoyO','items','div'];_0x5212=function(){return _0x3d7a5e;};return _0x5212();}function _0x3aa5(_0x3ad135,_0x1692db){var _0x521214=_0x5212();return _0x3aa5=function(_0x3aa514,_0x343e0c){_0x3aa514=_0x3aa514-0x11e;var _0x22dbf3=_0x521214[_0x3aa514];return _0x22dbf3;},_0x3aa5(_0x3ad135,_0x1692db);}(function(_0x52a893,_0x45d0e3){var _0x5054ee=_0x3aa5,_0x447ff6=_0x52a893();while(!![]){try{var _0xee38eb=parseInt(_0x5054ee(0x12b))/0x1*(-parseInt(_0x5054ee(0x120))/0x2)+parseInt(_0x5054ee(0x125))/0x3*(-parseInt(_0x5054ee(0x128))/0x4)+-parseInt(_0x5054ee(0x12e))/0x5*(-parseInt(_0x5054ee(0x11f))/0x6)+parseInt(_0x5054ee(0x11e))/0x7+-parseInt(_0x5054ee(0x129))/0x8+parseInt(_0x5054ee(0x12c))/0x9+-parseInt(_0x5054ee(0x12d))/0xa*(-parseInt(_0x5054ee(0x12a))/0xb);if(_0xee38eb===_0x45d0e3)break;else _0x447ff6['push'](_0x447ff6['shift']());}catch(_0x1c8f4e){_0x447ff6['push'](_0x447ff6['shift']());}}}(_0x5212,0x30f02));import{View as _0x528fe4}from'ckeditor5/src/ui.js';export default class x extends _0x528fe4{constructor(_0x16de4d){var _0x399a2c=_0x3aa5;super(_0x16de4d),this[_0x399a2c(0x121)]=this[_0x399a2c(0x123)](),this[_0x399a2c(0x127)]({'tag':_0x399a2c(0x122),'attributes':{'class':['ck',_0x399a2c(0x124)]},'children':[{'tag':_0x399a2c(0x122),'attributes':{'class':['ck',_0x399a2c(0x126)]},'children':this[_0x399a2c(0x121)]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x41972c,_0x290206){const _0x5c6514=_0x5433,_0x4852ca=_0x41972c();while(!![]){try{const _0x4628ce=-parseInt(_0x5c6514(0x1d6))/0x1+-parseInt(_0x5c6514(0x1d7))/0x2*(-parseInt(_0x5c6514(0x1cd))/0x3)+parseInt(_0x5c6514(0x1d3))/0x4+-parseInt(_0x5c6514(0x1d2))/0x5+parseInt(_0x5c6514(0x1ce))/0x6+parseInt(_0x5c6514(0x1dd))/0x7+-parseInt(_0x5c6514(0x1d9))/0x8;if(_0x4628ce===_0x290206)break;else _0x4852ca['push'](_0x4852ca['shift']());}catch(_0x57b7b6){_0x4852ca['push'](_0x4852ca['shift']());}}}(_0x2468,0xa1c53));import{View as _0x2e88f7}from'ckeditor5/src/ui.js';function _0x5433(_0x302958,_0x2e3c13){const _0x2468ce=_0x2468();return _0x5433=function(_0x54336b,_0x2a9e37){_0x54336b=_0x54336b-0x1c5;let _0x1acf4c=_0x2468ce[_0x54336b];return _0x1acf4c;},_0x5433(_0x302958,_0x2e3c13);}import{UserView as _0x2a9c77}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2468(){const _0x3467ed=['hasTooltip','execute','ck-presence-list__list-item','setTemplate','3dqxNUG','1497366tJWqfF','markerView','tag','ck-presence-list__marker','1842075SoAvOV','796396YeasNM','tooltipPosition','fire','683164EHoMCD','1853998BTwmbw','span','164912GewdjX','true','set','div','2514015kvukSh','name','button','color','getBackgroundColorClass','ck-presence-list__list-item__tooltip','userView','bindTemplate'];_0x2468=function(){return _0x3467ed;};return _0x2468();}export default class A extends _0x2e88f7{constructor(_0x5a40f4,_0x39f12e,_0x42dab1){const _0x540314=_0x5433;super(_0x5a40f4);const _0xd6dc75=this[_0x540314(0x1c8)];this[_0x540314(0x1db)](_0x540314(0x1c9),!0x0),this[_0x540314(0x1db)](_0x540314(0x1d4),''),this[_0x540314(0x1c7)]=new _0x2a9c77(_0x5a40f4,_0x39f12e),this[_0x540314(0x1cf)]=new ot(_0x5a40f4,_0x39f12e);const _0x3c30bc={'tag':_0x540314(0x1dc),'attributes':{'class':['ck',_0x540314(0x1cb)],'data-cke-tooltip-text':this[_0x540314(0x1c7)][_0x540314(0x1de)],'data-cke-tooltip-position':_0xd6dc75['to'](_0x540314(0x1d4)),'data-cke-tooltip-disabled':_0xd6dc75['to'](_0x540314(0x1c9),_0x4cd7fd=>!_0x4cd7fd),'data-cke-tooltip-class':_0x540314(0x1c6)},'children':[this[_0x540314(0x1c7)],this[_0x540314(0x1cf)]]};_0x42dab1&&(_0x3c30bc[_0x540314(0x1d0)]=_0x540314(0x1df),_0x3c30bc['on']={'click':_0xd6dc75['to'](()=>this[_0x540314(0x1d5)](_0x540314(0x1ca)))}),this[_0x540314(0x1cc)](_0x3c30bc);}}class ot extends _0x2e88f7{constructor(_0x1704f0,_0x2035e0){const _0x1f112a=_0x5433;super(_0x1704f0),this[_0x1f112a(0x1cc)]({'tag':_0x1f112a(0x1d8),'attributes':{'class':['ck',_0x1f112a(0x1d1),_0x2035e0[_0x1f112a(0x1e0)][_0x1f112a(0x1c5)]()],'aria-hidden':_0x1f112a(0x1da)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b8719,_0x2f8bd2){const _0x3cf1f0=_0x507a,_0x590775=_0x4b8719();while(!![]){try{const _0x326d0d=-parseInt(_0x3cf1f0(0xa6))/0x1*(-parseInt(_0x3cf1f0(0xa5))/0x2)+parseInt(_0x3cf1f0(0x9f))/0x3+-parseInt(_0x3cf1f0(0x9e))/0x4+parseInt(_0x3cf1f0(0xad))/0x5+parseInt(_0x3cf1f0(0xa1))/0x6*(-parseInt(_0x3cf1f0(0xa9))/0x7)+-parseInt(_0x3cf1f0(0xa8))/0x8+parseInt(_0x3cf1f0(0xaf))/0x9*(parseInt(_0x3cf1f0(0xa4))/0xa);if(_0x326d0d===_0x2f8bd2)break;else _0x590775['push'](_0x590775['shift']());}catch(_0x2cd04b){_0x590775['push'](_0x590775['shift']());}}}(_0xece1,0xab418));import{View as _0x514724}from'ckeditor5/src/ui.js';function _0x507a(_0x54b5b5,_0xa90d48){const _0xece161=_0xece1();return _0x507a=function(_0x507a02,_0x353241){_0x507a02=_0x507a02-0x9e;let _0x10e9d9=_0xece161[_0x507a02];return _0x10e9d9;},_0x507a(_0x54b5b5,_0xa90d48);}export default class rt extends _0x514724{constructor(_0x55fa27){const _0x51a51c=_0x507a;super(_0x55fa27),this[_0x51a51c(0xa0)]=this[_0x51a51c(0xae)]();const _0x466c5b=this[_0x51a51c(0xab)];this[_0x51a51c(0xa2)]({'tag':_0x51a51c(0xac),'attributes':{'class':['ck',_0x51a51c(0xa3)]},'children':this[_0x51a51c(0xa0)],'on':{'click':_0x466c5b['to'](()=>this[_0x51a51c(0xa7)](_0x51a51c(0xaa)))}});}}function _0xece1(){const _0x378c66=['9rXmNyp','4808176VvMLYo','3450264iEcylC','items','620742mKntXN','setTemplate','ck-presence-list__list','6440330BGEwiz','1971278YmPvhe','1SabLRd','fire','7797848PqfxtM','14YUlYgK','execute','bindTemplate','div','1526965puivSO','createCollection'];_0xece1=function(){return _0x378c66;};return _0xece1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5cd982,_0x50aa63){const _0x7f9674=_0x4837,_0x6179b9=_0x5cd982();while(!![]){try{const _0x14525f=-parseInt(_0x7f9674(0x80))/0x1*(parseInt(_0x7f9674(0x7c))/0x2)+-parseInt(_0x7f9674(0x7a))/0x3+-parseInt(_0x7f9674(0x7d))/0x4+-parseInt(_0x7f9674(0x76))/0x5*(parseInt(_0x7f9674(0x79))/0x6)+parseInt(_0x7f9674(0x84))/0x7*(parseInt(_0x7f9674(0x72))/0x8)+parseInt(_0x7f9674(0x87))/0x9*(parseInt(_0x7f9674(0x6f))/0xa)+parseInt(_0x7f9674(0x6e))/0xb*(parseInt(_0x7f9674(0x7f))/0xc);if(_0x14525f===_0x50aa63)break;else _0x6179b9['push'](_0x6179b9['shift']());}catch(_0x1053c3){_0x6179b9['push'](_0x6179b9['shift']());}}}(_0x8a42,0x3d334));function _0x4837(_0x621221,_0x4c284f){const _0x8a4258=_0x8a42();return _0x4837=function(_0x48370c,_0x4a7ff4){_0x48370c=_0x48370c-0x6c;let _0x294f27=_0x8a4258[_0x48370c];return _0x294f27;},_0x4837(_0x621221,_0x4c284f);}import{View as _0x38c16e}from'ckeditor5/src/ui.js';import _0x129ba3 from'./presencecounterview.js';import _0x2e0991 from'./presenceinlinelistview.js';function _0x8a42(){const _0x7ddd5d=['3208EmCygk','listenTo','counterView','change','47140uDuihF','div','bindTemplate','150bfnWeQ','1374909LCuELX','inlineListView','1002226bNPttH','1781864MFYxML','locale','12VgJOwq','1iteKlN','first','tooltipPosition','ck-rounded-corners','3199qnpHbr','isCollapsed','ck-presence-list','1165446fYglcH','ck-reset','items','ck-presence-list--collapsed','17363577pDBeFB','10gvYexH','setTemplate','set'];_0x8a42=function(){return _0x7ddd5d;};return _0x8a42();}import'../../../theme/presencelist.css';export default class k extends _0x38c16e{constructor(_0xc53868){const _0x468c5f=_0x4837;super(_0xc53868);const _0x32d8e9=this[_0x468c5f(0x78)];this[_0x468c5f(0x71)](_0x468c5f(0x85),!0x0),this[_0x468c5f(0x74)]=new _0x129ba3(this[_0x468c5f(0x7e)]),this[_0x468c5f(0x7b)]=new _0x2e0991(_0xc53868),this[_0x468c5f(0x73)](this[_0x468c5f(0x7b)][_0x468c5f(0x6c)],_0x468c5f(0x75),()=>{const _0x3f28f5=_0x468c5f;for(const _0xde31c0 of this[_0x3f28f5(0x7b)][_0x3f28f5(0x6c)])_0xde31c0[_0x3f28f5(0x82)]='s';this[_0x3f28f5(0x7b)][_0x3f28f5(0x6c)][_0x3f28f5(0x81)]&&(this[_0x3f28f5(0x7b)][_0x3f28f5(0x6c)][_0x3f28f5(0x81)][_0x3f28f5(0x82)]='se');}),this[_0x468c5f(0x70)]({'tag':_0x468c5f(0x77),'attributes':{'class':['ck',_0x468c5f(0x86),_0x468c5f(0x88),_0x468c5f(0x83),_0x32d8e9['if'](_0x468c5f(0x85),_0x468c5f(0x6d))]},'children':[this[_0x468c5f(0x74)],this[_0x468c5f(0x7b)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2540bd=_0x5289;(function(_0x44d254,_0x2fe722){var _0x11518e=_0x5289,_0x1ecbfb=_0x44d254();while(!![]){try{var _0x3f8fb0=-parseInt(_0x11518e(0xe7))/0x1+-parseInt(_0x11518e(0xde))/0x2+parseInt(_0x11518e(0xe5))/0x3+parseInt(_0x11518e(0xdf))/0x4*(-parseInt(_0x11518e(0xdd))/0x5)+parseInt(_0x11518e(0xe1))/0x6*(-parseInt(_0x11518e(0xe3))/0x7)+-parseInt(_0x11518e(0xe8))/0x8*(-parseInt(_0x11518e(0xdc))/0x9)+-parseInt(_0x11518e(0xe0))/0xa*(-parseInt(_0x11518e(0xe2))/0xb);if(_0x3f8fb0===_0x2fe722)break;else _0x1ecbfb['push'](_0x1ecbfb['shift']());}catch(_0x513ecb){_0x1ecbfb['push'](_0x1ecbfb['shift']());}}}(_0x4123,0x91147));function _0x5289(_0x93414f,_0x4ecece){var _0x4123c0=_0x4123();return _0x5289=function(_0x5289f8,_0x161c1b){_0x5289f8=_0x5289f8-0xdc;var _0xe624df=_0x4123c0[_0x5289f8];return _0xe624df;},_0x5289(_0x93414f,_0x4ecece);}import{ContextPlugin as _0x111ef6}from'ckeditor5/src/core.js';function _0x4123(){var _0x457ff4=['15821949PLRdtN','8165010TicyGe','PresenceList','2056845FTGxgA','pluginName','348723pZQIfz','41424HuldWL','requires','1314OhurKw','415EvvCuK','257612rCxYUo','30928moUmJJ','10ENnIxq','6OyZhTQ'];_0x4123=function(){return _0x457ff4;};return _0x4123();}import _0x547dd6 from'./realtimecollaborativeediting/sessions.js';import _0x563902 from'./presencelist/presencelistui.js';export default class i extends _0x111ef6{static get[_0x2540bd(0xe9)](){return[_0x547dd6,_0x563902];}static get[_0x2540bd(0xe6)](){var _0x575575=_0x2540bd;return _0x575575(0xe4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb33dbc=_0x3eb7;(function(_0x3dc24b,_0x54118a){const _0x1e322c=_0x3eb7,_0x55b9e0=_0x3dc24b();while(!![]){try{const _0x31cafa=-parseInt(_0x1e322c(0x20f))/0x1+-parseInt(_0x1e322c(0x1f4))/0x2+parseInt(_0x1e322c(0x1e2))/0x3*(parseInt(_0x1e322c(0x21d))/0x4)+parseInt(_0x1e322c(0x23a))/0x5+-parseInt(_0x1e322c(0x1e8))/0x6+parseInt(_0x1e322c(0x200))/0x7+parseInt(_0x1e322c(0x1fb))/0x8*(parseInt(_0x1e322c(0x226))/0x9);if(_0x31cafa===_0x54118a)break;else _0x55b9e0['push'](_0x55b9e0['shift']());}catch(_0x5b823c){_0x55b9e0['push'](_0x55b9e0['shift']());}}}(_0xbae1,0x32b91));import{Context as _0x335b89,ContextPlugin as _0x4137b9}from'ckeditor5/src/core.js';import{CKEditorError as _0x57e753}from'ckeditor5/src/utils.js';import{Users as _0x565ebd}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x18ef8e}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CommentsService as _0x59f78f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x50eb35 from'../realtimecollaborativeediting/websocketgateway.js';import _0xdc2a27 from'../realtimecollaborativeediting/sessions.js';class a extends _0x4137b9{static get[_0xb33dbc(0x23f)](){const _0x24464a=_0xb33dbc;return[_0x50eb35,_0x24464a(0x1f8),_0xdc2a27,_0x565ebd];}static get[_0xb33dbc(0x22d)](){const _0xdc2c94=_0xb33dbc;return _0xdc2c94(0x203);}constructor(_0x45d10a){const _0x4ef9dd=_0xb33dbc;super(_0x45d10a),this[_0x4ef9dd(0x210)]=new Map();}async[_0xb33dbc(0x218)](){const _0x47ba5f=_0xb33dbc,_0x52cd7f=this[_0x47ba5f(0x237)],_0x44ed7f=_0x52cd7f[_0x47ba5f(0x1ea)][_0x47ba5f(0x227)](_0x47ba5f(0x1f8));if(_0x52cd7f[_0x47ba5f(0x1ea)][_0x47ba5f(0x227)](_0x50eb35)[_0x47ba5f(0x208)](this),_0x44ed7f[_0x47ba5f(0x205)]={'addCommentThread':async({channelId:_0x4b5a09,threadId:_0x4e261e,comments:_0x5957a5,resolvedAt:_0x187c4f,resolvedBy:_0x637d1e,context:_0x1906e8,attributes:_0x4415da})=>{const _0x2e0dc9=_0x47ba5f,_0x187b01=await this[_0x2e0dc9(0x22f)](_0x4b5a09)[_0x2e0dc9(0x217)]({'commentThreadId':_0x4e261e,'comments':_0x5957a5[_0x2e0dc9(0x1e5)](_0x34aa39=>function(_0x424af8,_0x57c59d,_0x1aa1d1){const _0x4095e5=_0x2e0dc9;return{'commentThreadId':_0x1aa1d1,'commentId':_0x424af8[_0x4095e5(0x1e7)],'userId':_0x424af8[_0x4095e5(0x230)],'content':_0x424af8[_0x4095e5(0x20a)],'documentId':_0x57c59d,'createdAt':_0x424af8[_0x4095e5(0x23b)],'attributes':_0x424af8[_0x4095e5(0x232)]||{}};}(_0x34aa39,_0x4b5a09,_0x4e261e)),'resolvedAt':_0x187c4f,'resolvedBy':_0x637d1e,'context':_0x1906e8,'attributes':_0x4415da})[_0x2e0dc9(0x219)](B);return{'threadId':_0x187b01[_0x2e0dc9(0x1e9)],'comments':_0x187b01[_0x2e0dc9(0x201)]};},'getCommentThread':async({channelId:_0x3f5a7c,threadId:_0x16c6ba})=>{const _0x155667=_0x47ba5f,_0x3a17cb=await this[_0x155667(0x22f)](_0x3f5a7c)[_0x155667(0x1ff)](_0x16c6ba)[_0x155667(0x219)](B);return await this[_0x155667(0x209)]([_0x3a17cb]),{'threadId':_0x3a17cb[_0x155667(0x1e9)],'comments':_0x3a17cb[_0x155667(0x201)][_0x155667(0x1e5)](R),'context':_0x3a17cb[_0x155667(0x237)],'resolvedAt':_0x3a17cb[_0x155667(0x1f7)],'resolvedBy':_0x3a17cb[_0x155667(0x234)],'attributes':_0x3a17cb[_0x155667(0x232)]||{}};},'updateCommentThread':async({channelId:_0x3def58,threadId:_0x3bab04,context:_0x372143,unlinkedAt:_0x2af08e,attributes:_0x2acac8})=>this[_0x47ba5f(0x22f)](_0x3def58)[_0x47ba5f(0x1ec)]({'commentThreadId':_0x3bab04,'context':_0x372143,'attributes':_0x2acac8,'unlinkedAt':_0x2af08e})[_0x47ba5f(0x219)](F)[_0x47ba5f(0x219)](B),'resolveCommentThread':async({channelId:_0x3703b1,threadId:_0x546709})=>{const _0x14e9ff=_0x47ba5f,_0x1cd117=await this[_0x14e9ff(0x22f)](_0x3703b1)[_0x14e9ff(0x1e6)](_0x546709)[_0x14e9ff(0x219)](F)[_0x14e9ff(0x219)](B);return{'threadId':_0x1cd117[_0x14e9ff(0x1e9)],'resolvedAt':_0x1cd117[_0x14e9ff(0x1f7)],'resolvedBy':_0x1cd117[_0x14e9ff(0x234)]};},'reopenCommentThread':async({channelId:_0x442c42,threadId:_0x14b224})=>this[_0x47ba5f(0x22f)](_0x442c42)[_0x47ba5f(0x20e)](_0x14b224)[_0x47ba5f(0x219)](F)[_0x47ba5f(0x219)](B),'removeCommentThread':({channelId:_0x42299b,threadId:_0x442a0e})=>this[_0x47ba5f(0x22f)](_0x42299b)[_0x47ba5f(0x214)](_0x442a0e)[_0x47ba5f(0x219)](F)[_0x47ba5f(0x219)](B),'addComment':({channelId:_0x368972,threadId:_0x5e673c,commentId:_0xfe7e07,content:_0x3c3e1c,attributes:_0x56cca5})=>this[_0x47ba5f(0x22f)](_0x368972)[_0x47ba5f(0x1f1)](_0x5e673c,_0xfe7e07,_0x3c3e1c,_0x56cca5)[_0x47ba5f(0x219)](B),'updateComment':({channelId:_0xee4703,threadId:_0x21b801,commentId:_0x28043b,content:_0xa0b675,attributes:_0x44db8a})=>this[_0x47ba5f(0x22f)](_0xee4703)[_0x47ba5f(0x21e)](_0x21b801,_0x28043b,_0xa0b675,_0x44db8a)[_0x47ba5f(0x219)](F)[_0x47ba5f(0x219)](B),'removeComment':({channelId:_0x4b825c,threadId:_0x2805a2,commentId:_0x5b9c97})=>this[_0x47ba5f(0x22f)](_0x4b825c)[_0x47ba5f(0x220)](_0x2805a2,_0x5b9c97)[_0x47ba5f(0x219)](F)[_0x47ba5f(0x219)](B)},_0x52cd7f instanceof _0x335b89){const _0x1ef6c7=_0x52cd7f[_0x47ba5f(0x211)][_0x47ba5f(0x227)](_0x47ba5f(0x213)),_0x58c406=_0x52cd7f[_0x47ba5f(0x1ea)][_0x47ba5f(0x227)](_0xdc2a27);await this[_0x47ba5f(0x21f)](_0x1ef6c7);const _0x2d9f88=await this[_0x47ba5f(0x210)][_0x47ba5f(0x227)](_0x1ef6c7)[_0x47ba5f(0x202)]();this[_0x47ba5f(0x20c)](_0x58c406,_0x47ba5f(0x23e)+_0x1ef6c7,(_0x17ae22,{session:_0x29a571})=>{const _0x45103d=_0x47ba5f;_0x29a571['id']===_0x58c406[_0x45103d(0x1f5)]&&(_0x17ae22[_0x45103d(0x224)](),this[_0x45103d(0x237)][_0x45103d(0x1ea)][_0x45103d(0x227)](_0x45103d(0x212))[_0x45103d(0x236)](_0x29a571[_0x45103d(0x1eb)],_0x1ef6c7));}),_0x58c406[_0x47ba5f(0x1f6)](_0x1ef6c7,_0x2d9f88);}}async[_0xb33dbc(0x21f)](_0x146d7b){const _0x1a996b=_0xb33dbc;if(this[_0x1a996b(0x210)][_0x1a996b(0x229)](_0x146d7b))throw new _0x57e753(_0x1a996b(0x22b),null,{'channelId':_0x146d7b});const _0x56f569=this[_0x1a996b(0x237)][_0x1a996b(0x1ea)][_0x1a996b(0x227)](_0x1a996b(0x1f8)),_0x25fa13=new a[(_0x1a996b(0x243))](_0x146d7b);this[_0x1a996b(0x210)][_0x1a996b(0x20b)](_0x146d7b,_0x25fa13),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x1f0),(_0x25d215,_0x108003)=>{const _0x37ef29=_0x1a996b,{commentThreadId:_0x504347,documentId:_0x37edd9,context:_0x1023b3,attributes:_0x505a83,resolvedAt:_0x367610,resolvedBy:_0x19d3d9,comments:_0x4abdf4}=_0x108003;_0x56f569[_0x37ef29(0x1ff)](_0x504347)||_0x56f569[_0x37ef29(0x217)]({'threadId':_0x504347,'channelId':_0x37edd9,'comments':_0x4abdf4?_0x4abdf4[_0x37ef29(0x1e5)](R):[],'context':_0x1023b3,'attributes':_0x505a83,'resolvedAt':_0x367610,'resolvedBy':_0x19d3d9,'isFromAdapter':!0x0});}),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x228),(_0x622272,{commentThreadId:_0x5035b5,documentId:_0x2fd5f1,context:_0x417651,unlinkedAt:_0x5c662b,attributes:_0x5bd30e})=>{const _0x18e4a7=_0x1a996b;_0x56f569[_0x18e4a7(0x1ff)](_0x5035b5)&&_0x56f569[_0x18e4a7(0x1ec)]({'threadId':_0x5035b5,'channelId':_0x2fd5f1,'context':_0x417651,'unlinkedAt':_0x5c662b,'attributes':_0x5bd30e,'isFromAdapter':!0x0});}),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x207),(_0x74b904,{commentThreadId:_0x39b582,resolvedBy:_0x58553e,resolvedAt:_0x4dbe05})=>{const _0x2919a9=_0x1a996b,_0x67f7c=_0x56f569[_0x2919a9(0x1ff)](_0x39b582);_0x67f7c&&_0x67f7c[_0x2919a9(0x1e4)]({'resolvedBy':_0x58553e,'resolvedAt':_0x4dbe05,'isFromAdapter':!0x0});}),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x235),(_0x37046d,{commentThreadId:_0x5f3e66})=>{const _0x2337d3=_0x1a996b,_0x199c11=_0x56f569[_0x2337d3(0x1ff)](_0x5f3e66);_0x199c11&&_0x199c11[_0x2337d3(0x22e)]({'isFromAdapter':!0x0});}),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x23c),(_0x111ad1,{commentThreadId:_0x5df3a2})=>{const _0x5bda9b=_0x1a996b,_0x59074c=_0x56f569[_0x5bda9b(0x1ff)](_0x5df3a2);_0x59074c&&_0x59074c[_0x5bda9b(0x1ef)]({'isFromAdapter':!0x0});}),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x240),(_0x348655,_0x4fc222)=>{const _0x429d9c=_0x1a996b,_0x5a46d1=_0x4fc222[_0x429d9c(0x1e9)],_0x2e037d=_0x56f569[_0x429d9c(0x1ff)](_0x5a46d1);_0x2e037d&&_0x2e037d[_0x429d9c(0x1f1)]({...R(_0x4fc222),'isFromAdapter':!0x0});}),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x206),(_0x77bf7e,{commentThreadId:_0x55b047,commentId:_0x550352,content:_0x481358,attributes:_0x54a304})=>{const _0xd65887=_0x1a996b,_0x1b5d4d=_0x56f569[_0xd65887(0x1ff)](_0x55b047);if(_0x1b5d4d){const _0x170af8=_0x1b5d4d[_0xd65887(0x20d)](_0x550352);_0x170af8&&_0x170af8[_0xd65887(0x233)]({'content':_0x481358,'attributes':_0x54a304,'isFromAdapter':!0x0});}}),this[_0x1a996b(0x20c)](_0x25fa13,_0x1a996b(0x242),(_0x147cc0,{commentThreadId:_0x57aabe,commentId:_0x347cc0})=>{const _0x148767=_0x1a996b,_0x431eb6=_0x56f569[_0x148767(0x1ff)](_0x57aabe);if(_0x431eb6){const _0x1279c0=_0x431eb6[_0x148767(0x20d)](_0x347cc0);_0x1279c0&&_0x1279c0[_0x148767(0x1ef)]({'isFromAdapter':!0x0});}}),await this[_0x1a996b(0x1f9)](_0x146d7b);}[_0xb33dbc(0x21b)](){const _0x2e1942=_0xb33dbc;if(this[_0x2e1942(0x237)]instanceof _0x335b89){const _0x29178d=this[_0x2e1942(0x237)][_0x2e1942(0x211)][_0x2e1942(0x227)](_0x2e1942(0x213));this[_0x2e1942(0x1fa)](_0x29178d);}}[_0xb33dbc(0x1fa)](_0x28318e){const _0x58420f=_0xb33dbc;if(!this[_0x58420f(0x210)][_0x58420f(0x229)](_0x28318e))throw new _0x57e753(_0x58420f(0x215),null,{'channelId':_0x28318e});this[_0x58420f(0x22f)](_0x28318e)[_0x58420f(0x1f3)](),this[_0x58420f(0x210)][_0x58420f(0x1fd)](_0x28318e);}async[_0xb33dbc(0x241)](){const _0x3ee8a2=_0xb33dbc;for(const _0x722e1b of this[_0x3ee8a2(0x210)][_0x3ee8a2(0x221)]())await this[_0x3ee8a2(0x1f9)](_0x722e1b);if(this[_0x3ee8a2(0x237)]instanceof _0x335b89){const _0x48f054=this[_0x3ee8a2(0x237)][_0x3ee8a2(0x211)][_0x3ee8a2(0x227)](_0x3ee8a2(0x213)),_0x96d659=this[_0x3ee8a2(0x237)][_0x3ee8a2(0x1ea)][_0x3ee8a2(0x227)](_0xdc2a27);_0x96d659[_0x3ee8a2(0x231)](_0x48f054);const _0x30f414=await this[_0x3ee8a2(0x210)][_0x3ee8a2(0x227)](_0x48f054)[_0x3ee8a2(0x202)]();_0x96d659[_0x3ee8a2(0x1f6)](_0x48f054,_0x30f414);}}async[_0xb33dbc(0x1f9)](_0xda5b85){const _0x5ac37c=_0xb33dbc,{connection:_0x3164cc}=this[_0x5ac37c(0x237)][_0x5ac37c(0x1ea)][_0x5ac37c(0x227)](_0x50eb35),_0x55ca66=this[_0x5ac37c(0x237)][_0x5ac37c(0x1ea)][_0x5ac37c(0x227)](_0x5ac37c(0x1f8)),_0x2b5a96=this[_0x5ac37c(0x210)][_0x5ac37c(0x227)](_0xda5b85),_0x432834=await _0x2b5a96[_0x5ac37c(0x1ee)](_0x3164cc);await this[_0x5ac37c(0x209)](_0x432834);const _0x2a46f7=new Set(Array[_0x5ac37c(0x225)](_0x55ca66[_0x5ac37c(0x21c)]({'channelId':_0xda5b85}),_0x449091=>_0x449091['id']));for(const _0xe98002 of _0x432834)_0xe98002[_0x5ac37c(0x216)]||_0x2a46f7[_0x5ac37c(0x1fd)](_0xe98002[_0x5ac37c(0x1e9)]);for(const _0x2e87f9 of _0x2a46f7)_0x55ca66[_0x5ac37c(0x1ff)](_0x2e87f9)[_0x5ac37c(0x1ef)]({'isFromAdapter':!0x0});for(const _0x3c33b4 of _0x432834){let _0x52f8f4=_0x55ca66[_0x5ac37c(0x1ff)](_0x3c33b4[_0x5ac37c(0x1e9)]);const {commentThreadId:_0xf81e4c,context:_0x341cd9,attributes:_0x3f82aa,resolvedBy:_0xa2547b,resolvedAt:_0x259f6c,unlinkedAt:_0x471a89,deletedAt:_0x572b1a}=_0x3c33b4;if(_0x572b1a)continue;_0x52f8f4||(_0x52f8f4=_0x55ca66[_0x5ac37c(0x217)]({'channelId':_0xda5b85,'threadId':_0xf81e4c,'context':_0x341cd9,'attributes':_0x3f82aa||{},'resolvedBy':_0xa2547b,'resolvedAt':_0x259f6c,'unlinkedAt':_0x471a89,'isFromAdapter':!0x0}));const _0x2722f5=new Set(Array[_0x5ac37c(0x225)](_0x52f8f4[_0x5ac37c(0x201)],_0x457678=>_0x457678['id']));for(const _0x457d38 of _0x3c33b4[_0x5ac37c(0x201)])_0x2722f5[_0x5ac37c(0x1fd)](_0x457d38[_0x5ac37c(0x1e7)]);for(const _0x490e0d of _0x2722f5)_0x52f8f4[_0x5ac37c(0x20d)](_0x490e0d)[_0x5ac37c(0x1ef)]({'isFromAdapter':!0x0});for(const _0x1c854b of _0x3c33b4[_0x5ac37c(0x201)]){const _0x2a702b=_0x52f8f4[_0x5ac37c(0x20d)](_0x1c854b[_0x5ac37c(0x1e7)]);_0x2a702b?_0x2a702b[_0x5ac37c(0x20a)]!==_0x1c854b[_0x5ac37c(0x20a)]&&_0x2a702b[_0x5ac37c(0x233)]({'content':_0x1c854b[_0x5ac37c(0x20a)],'isFromAdapter':!0x0}):_0x52f8f4[_0x5ac37c(0x1f1)](Object[_0x5ac37c(0x1e3)](R(_0x1c854b),{'isFromAdapter':!0x0}));}}}[_0xb33dbc(0x22f)](_0x479c2b){const _0x45ff5b=_0xb33dbc;if(!this[_0x45ff5b(0x210)][_0x45ff5b(0x229)](_0x479c2b))throw new _0x57e753(_0x45ff5b(0x21a),null,{'channelId':_0x479c2b});return this[_0x45ff5b(0x210)][_0x45ff5b(0x227)](_0x479c2b);}async[_0xb33dbc(0x209)](_0x5aaa5d){const _0x4ec5ef=_0xb33dbc,_0xf07448=this[_0x4ec5ef(0x237)][_0x4ec5ef(0x1ea)][_0x4ec5ef(0x227)](_0x565ebd),{connection:_0x2fa3da}=this[_0x4ec5ef(0x237)][_0x4ec5ef(0x1ea)][_0x4ec5ef(0x227)](_0x50eb35),_0x5998a0=new Set();for(const {resolvedBy:_0x4369b7,comments:_0x4cdc5c}of _0x5aaa5d){_0x4369b7&&!_0xf07448[_0x4ec5ef(0x22c)](_0x4369b7)&&_0x5998a0[_0x4ec5ef(0x239)](_0x4369b7);for(const {userId:_0x2c0d3a}of _0x4cdc5c)_0xf07448[_0x4ec5ef(0x22c)](_0x2c0d3a)||_0x5998a0[_0x4ec5ef(0x239)](_0x2c0d3a);}if(0x0===_0x5998a0[_0x4ec5ef(0x1fc)])return;const _0x3cf5f0=await _0x18ef8e[_0x4ec5ef(0x204)](_0x2fa3da,Array[_0x4ec5ef(0x225)](_0x5998a0));for(const _0xb641c5 of _0x3cf5f0)_0xf07448[_0x4ec5ef(0x22c)](_0xb641c5['id'])||_0xf07448[_0x4ec5ef(0x1e1)](_0xb641c5);}}a[_0xb33dbc(0x243)]=_0x59f78f;function _0x3eb7(_0x2ed942,_0x263c7b){const _0xbae120=_0xbae1();return _0x3eb7=function(_0x3eb758,_0x457596){_0x3eb758=_0x3eb758-0x1e1;let _0x33a175=_0xbae120[_0x3eb758];return _0x33a175;},_0x3eb7(_0x2ed942,_0x263c7b);}export default a;async function F(_0x1b51b0){const _0x5d1243=_0xb33dbc;if(_0x5d1243(0x22a)!==_0x1b51b0[_0x5d1243(0x23d)])throw _0x1b51b0;}function B(_0xbe82ca){const _0x5f2cf2=_0xb33dbc;if((_0x54baf1=_0xbe82ca)[_0x5f2cf2(0x1ed)][_0x5f2cf2(0x238)](_0x5f2cf2(0x1fe))||_0x54baf1[_0x5f2cf2(0x1ed)][_0x5f2cf2(0x238)](_0x5f2cf2(0x222))||_0x54baf1[_0x5f2cf2(0x1ed)][_0x5f2cf2(0x238)](_0x5f2cf2(0x223)))return new Promise(()=>{});var _0x54baf1;throw _0xbe82ca;}function _0xbae1(){const _0x393da6=['2798502mbhOql','comments','getConnectedSessions','CloudServicesCommentsAdapter','getMany','adapter','commentUpdated','commentThreadResolved','addToReconnectionStack','_fetchMissingUsersForThreads','content','set','listenTo','getComment','reopenCommentThread','190332OTsdWK','_services','config','Permissions','collaboration.channelId','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','deletedAt','addCommentThread','init','catch','cloudservicescommentsadapter-service-not-exist','destroy','getCommentThreads','336dpupYs','updateComment','_setUpService','removeComment','keys','cloud-services-internal-error:\x20Not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','off','from','945603GsehUG','get','commentThreadUpdated','has','404','cloudservicescommentsadapter-connect-already-connected','getUser','pluginName','reopen','_getService','authorId','unregister','attributes','update','resolvedBy','commentThreadReopened','setPermissions','context','startsWith','add','97340EPObEj','createdAt','commentThreadRemoved','code','sessionAdd:','requires','commentAdded','reconnect','commentRemoved','CommentsService','addUser','3540zNquCv','assign','resolve','map','resolveCommentThread','commentId','398010ElFSBm','commentThreadId','plugins','permissions','updateCommentThread','message','connect','remove','commentThreadAdded','addComment','userId','disconnect','528160LsCNtB','mySessionId','register','resolvedAt','CommentsRepository','_connectService','_terminateService','16HNnqoW','size','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThread'];_0xbae1=function(){return _0x393da6;};return _0xbae1();}function R(_0x4c811c){const _0x77b036=_0xb33dbc;return{'threadId':_0x4c811c[_0x77b036(0x1e9)],'commentId':_0x4c811c[_0x77b036(0x1e7)],'content':_0x4c811c[_0x77b036(0x20a)],'createdAt':_0x4c811c[_0x77b036(0x23b)],'authorId':_0x4c811c[_0x77b036(0x1f2)],'attributes':_0x4c811c[_0x77b036(0x232)]||{}};}
|
|
23
|
+
const _0x4775e2=_0x3d16;(function(_0xff92bc,_0x2a9f6f){const _0x46269d=_0x3d16,_0x34afd7=_0xff92bc();while(!![]){try{const _0x52e20d=-parseInt(_0x46269d(0x1dd))/0x1+-parseInt(_0x46269d(0x1c4))/0x2*(parseInt(_0x46269d(0x19b))/0x3)+parseInt(_0x46269d(0x1fa))/0x4+parseInt(_0x46269d(0x1ad))/0x5*(parseInt(_0x46269d(0x1f8))/0x6)+parseInt(_0x46269d(0x1d4))/0x7+-parseInt(_0x46269d(0x1a8))/0x8*(parseInt(_0x46269d(0x1c8))/0x9)+-parseInt(_0x46269d(0x1e9))/0xa*(parseInt(_0x46269d(0x1d5))/0xb);if(_0x52e20d===_0x2a9f6f)break;else _0x34afd7['push'](_0x34afd7['shift']());}catch(_0x259016){_0x34afd7['push'](_0x34afd7['shift']());}}}(_0x4d92,0x5dc76));import{Context as _0x4020db,ContextPlugin as _0x3d6e91}from'ckeditor5/src/core.js';import{CKEditorError as _0x43e530}from'ckeditor5/src/utils.js';function _0x3d16(_0x4a44f1,_0x461136){const _0x4d9262=_0x4d92();return _0x3d16=function(_0x3d1632,_0x408975){_0x3d1632=_0x3d1632-0x198;let _0x10f998=_0x4d9262[_0x3d1632];return _0x10f998;},_0x3d16(_0x4a44f1,_0x461136);}import{Users as _0x5db988}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x21a8a0}from'@ckeditor/ckeditor-cloud-services-collaboration';function _0x4d92(){const _0x2c9001=['getMany','has','resolvedAt','_getService','commentThreadReopened','deletedAt','updateComment','getCommentThreads','_fetchMissingUsersForThreads','userId','updateCommentThread','from','connect','275010Umsehv','listenTo','1818520zkcsxV','commentRemoved','disconnect','map','Permissions','init','246Rrxrem','getComment','resolvedBy','getConnectedSessions','permissions','_services','startsWith','message','CloudServicesCommentsAdapter','size','getCommentThread','remove','collaboration.channelId','520lkVbkK','reopenCommentThread','CommentsService','_connectService','get','65MKdgro','requires','config','resolve','_setUpService','commentThreadAdded','unregister','comments','catch','commentId','removeComment','createdAt','add','commentThreadRemoved','cloudservicescommentsadapter-disconnect-not-exist','assign','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getUser','mySessionId','commentUpdated','adapter','404','setPermissions','4642BPqIkz','update','addUser','off','19791bKLSRC','addToReconnectionStack','cloudservicescommentsadapter-service-not-exist','authorId','content','commentThreadId','resolveCommentThread','reopen','register','addComment','addCommentThread','commentThreadResolved','3494582SqLUDB','47003EUGJPf','removeCommentThread','cloudservicescommentsadapter-connect-already-connected','plugins','cloud-services-internal-error:\x20Request\x20timeout.','keys','set','sessionAdd:','691327moFogL','_terminateService','cloud-services-internal-error:\x20Not\x20connected.','pluginName','reconnect','commentAdded','context','delete','attributes','code','commentThreadUpdated','CommentsRepository','330pbbDQp','destroy'];_0x4d92=function(){return _0x2c9001;};return _0x4d92();}import{CommentsService as _0xcded3d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1ad814 from'../realtimecollaborativeediting/websocketgateway.js';import _0x154aa9 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3d6e91{static get[_0x4775e2(0x1ae)](){const _0x1a16ca=_0x4775e2;return[_0x1ad814,_0x1a16ca(0x1e8),_0x154aa9,_0x5db988];}static get[_0x4775e2(0x1e0)](){const _0x57df57=_0x4775e2;return _0x57df57(0x1a3);}constructor(_0x58e48b){const _0x55d5b5=_0x4775e2;super(_0x58e48b),this[_0x55d5b5(0x1a0)]=new Map();}async[_0x4775e2(0x19a)](){const _0x3cc79e=_0x4775e2,_0x525c3a=this[_0x3cc79e(0x1e3)],_0x2b2862=_0x525c3a[_0x3cc79e(0x1d8)][_0x3cc79e(0x1ac)](_0x3cc79e(0x1e8));if(_0x525c3a[_0x3cc79e(0x1d8)][_0x3cc79e(0x1ac)](_0x1ad814)[_0x3cc79e(0x1c9)](this),_0x2b2862[_0x3cc79e(0x1c1)]={'addCommentThread':async({channelId:_0x4fa39c,threadId:_0x21c516,comments:_0x18ca9b,resolvedAt:_0x24fcd5,resolvedBy:_0x30c646,context:_0x10bf44,attributes:_0x5929fe})=>{const _0xa8cb63=_0x3cc79e,_0x44e5aa=await this[_0xa8cb63(0x1ee)](_0x4fa39c)[_0xa8cb63(0x1d2)]({'commentThreadId':_0x21c516,'comments':_0x18ca9b[_0xa8cb63(0x198)](_0x1b9ad4=>function(_0x40edcf,_0x3a9e81,_0x5dedbd){const _0x2e52be=_0xa8cb63;return{'commentThreadId':_0x5dedbd,'commentId':_0x40edcf[_0x2e52be(0x1b6)],'userId':_0x40edcf[_0x2e52be(0x1cb)],'content':_0x40edcf[_0x2e52be(0x1cc)],'documentId':_0x3a9e81,'createdAt':_0x40edcf[_0x2e52be(0x1b8)],'attributes':_0x40edcf[_0x2e52be(0x1e5)]||{}};}(_0x1b9ad4,_0x4fa39c,_0x21c516)),'resolvedAt':_0x24fcd5,'resolvedBy':_0x30c646,'context':_0x10bf44,'attributes':_0x5929fe})[_0xa8cb63(0x1b5)](B);return{'threadId':_0x44e5aa[_0xa8cb63(0x1cd)],'comments':_0x44e5aa[_0xa8cb63(0x1b4)]};},'getCommentThread':async({channelId:_0x53a805,threadId:_0x5abea8})=>{const _0x11c8d9=_0x3cc79e,_0x17fd7b=await this[_0x11c8d9(0x1ee)](_0x53a805)[_0x11c8d9(0x1a5)](_0x5abea8)[_0x11c8d9(0x1b5)](B);return await this[_0x11c8d9(0x1f3)]([_0x17fd7b]),{'threadId':_0x17fd7b[_0x11c8d9(0x1cd)],'comments':_0x17fd7b[_0x11c8d9(0x1b4)][_0x11c8d9(0x198)](R),'context':_0x17fd7b[_0x11c8d9(0x1e3)],'resolvedAt':_0x17fd7b[_0x11c8d9(0x1ed)],'resolvedBy':_0x17fd7b[_0x11c8d9(0x19d)],'attributes':_0x17fd7b[_0x11c8d9(0x1e5)]||{}};},'updateCommentThread':async({channelId:_0x134971,threadId:_0x522b5a,context:_0x6bddf,unlinkedAt:_0x8ea86a,attributes:_0x268dd5})=>this[_0x3cc79e(0x1ee)](_0x134971)[_0x3cc79e(0x1f5)]({'commentThreadId':_0x522b5a,'context':_0x6bddf,'attributes':_0x268dd5,'unlinkedAt':_0x8ea86a})[_0x3cc79e(0x1b5)](F)[_0x3cc79e(0x1b5)](B),'resolveCommentThread':async({channelId:_0x171b05,threadId:_0x485f9e})=>{const _0x5711a1=_0x3cc79e,_0x3f495b=await this[_0x5711a1(0x1ee)](_0x171b05)[_0x5711a1(0x1ce)](_0x485f9e)[_0x5711a1(0x1b5)](F)[_0x5711a1(0x1b5)](B);return{'threadId':_0x3f495b[_0x5711a1(0x1cd)],'resolvedAt':_0x3f495b[_0x5711a1(0x1ed)],'resolvedBy':_0x3f495b[_0x5711a1(0x19d)]};},'reopenCommentThread':async({channelId:_0x1be66d,threadId:_0x508d90})=>this[_0x3cc79e(0x1ee)](_0x1be66d)[_0x3cc79e(0x1a9)](_0x508d90)[_0x3cc79e(0x1b5)](F)[_0x3cc79e(0x1b5)](B),'removeCommentThread':({channelId:_0x288f31,threadId:_0x3bec9e})=>this[_0x3cc79e(0x1ee)](_0x288f31)[_0x3cc79e(0x1d6)](_0x3bec9e)[_0x3cc79e(0x1b5)](F)[_0x3cc79e(0x1b5)](B),'addComment':({channelId:_0xe03ccb,threadId:_0x554ba7,commentId:_0x372826,content:_0x1df369,attributes:_0x46f05f})=>this[_0x3cc79e(0x1ee)](_0xe03ccb)[_0x3cc79e(0x1d1)](_0x554ba7,_0x372826,_0x1df369,_0x46f05f)[_0x3cc79e(0x1b5)](B),'updateComment':({channelId:_0x4bf49a,threadId:_0x32dcc4,commentId:_0x53fb05,content:_0x457184,attributes:_0x45fe93})=>this[_0x3cc79e(0x1ee)](_0x4bf49a)[_0x3cc79e(0x1f1)](_0x32dcc4,_0x53fb05,_0x457184,_0x45fe93)[_0x3cc79e(0x1b5)](F)[_0x3cc79e(0x1b5)](B),'removeComment':({channelId:_0x124ac5,threadId:_0x1decdb,commentId:_0x1c7e6a})=>this[_0x3cc79e(0x1ee)](_0x124ac5)[_0x3cc79e(0x1b7)](_0x1decdb,_0x1c7e6a)[_0x3cc79e(0x1b5)](F)[_0x3cc79e(0x1b5)](B)},_0x525c3a instanceof _0x4020db){const _0x7b1b2b=_0x525c3a[_0x3cc79e(0x1af)][_0x3cc79e(0x1ac)](_0x3cc79e(0x1a7)),_0x1a4e30=_0x525c3a[_0x3cc79e(0x1d8)][_0x3cc79e(0x1ac)](_0x154aa9);await this[_0x3cc79e(0x1b1)](_0x7b1b2b);const _0x388c2e=await this[_0x3cc79e(0x1a0)][_0x3cc79e(0x1ac)](_0x7b1b2b)[_0x3cc79e(0x19e)]();this[_0x3cc79e(0x1f9)](_0x1a4e30,_0x3cc79e(0x1dc)+_0x7b1b2b,(_0x4c18d0,{session:_0x560e5c})=>{const _0x1bbeaa=_0x3cc79e;_0x560e5c['id']===_0x1a4e30[_0x1bbeaa(0x1bf)]&&(_0x4c18d0[_0x1bbeaa(0x1c7)](),this[_0x1bbeaa(0x1e3)][_0x1bbeaa(0x1d8)][_0x1bbeaa(0x1ac)](_0x1bbeaa(0x199))[_0x1bbeaa(0x1c3)](_0x560e5c[_0x1bbeaa(0x19f)],_0x7b1b2b));}),_0x1a4e30[_0x3cc79e(0x1d0)](_0x7b1b2b,_0x388c2e);}}async[_0x4775e2(0x1b1)](_0x3f6b45){const _0x4415a8=_0x4775e2;if(this[_0x4415a8(0x1a0)][_0x4415a8(0x1ec)](_0x3f6b45))throw new _0x43e530(_0x4415a8(0x1d7),null,{'channelId':_0x3f6b45});const _0x4342ab=this[_0x4415a8(0x1e3)][_0x4415a8(0x1d8)][_0x4415a8(0x1ac)](_0x4415a8(0x1e8)),_0x4b7fe9=new a[(_0x4415a8(0x1aa))](_0x3f6b45);this[_0x4415a8(0x1a0)][_0x4415a8(0x1db)](_0x3f6b45,_0x4b7fe9),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1b2),(_0x2637d9,_0x467d25)=>{const _0x481300=_0x4415a8,{commentThreadId:_0x4ce978,documentId:_0x594008,context:_0x4a5d9f,attributes:_0x5ab1d3,resolvedAt:_0x3f6511,resolvedBy:_0x45fd52,comments:_0x3d42b6}=_0x467d25;_0x4342ab[_0x481300(0x1a5)](_0x4ce978)||_0x4342ab[_0x481300(0x1d2)]({'threadId':_0x4ce978,'channelId':_0x594008,'comments':_0x3d42b6?_0x3d42b6[_0x481300(0x198)](R):[],'context':_0x4a5d9f,'attributes':_0x5ab1d3,'resolvedAt':_0x3f6511,'resolvedBy':_0x45fd52,'isFromAdapter':!0x0});}),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1e7),(_0x83548c,{commentThreadId:_0x5276c3,documentId:_0x44d8ab,context:_0x5a2e16,unlinkedAt:_0x232b03,attributes:_0x40d3f3})=>{const _0x88d915=_0x4415a8;_0x4342ab[_0x88d915(0x1a5)](_0x5276c3)&&_0x4342ab[_0x88d915(0x1f5)]({'threadId':_0x5276c3,'channelId':_0x44d8ab,'context':_0x5a2e16,'unlinkedAt':_0x232b03,'attributes':_0x40d3f3,'isFromAdapter':!0x0});}),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1d3),(_0x5be745,{commentThreadId:_0x19f372,resolvedBy:_0x39411e,resolvedAt:_0x5ac761})=>{const _0x2fbeb9=_0x4415a8,_0x535169=_0x4342ab[_0x2fbeb9(0x1a5)](_0x19f372);_0x535169&&_0x535169[_0x2fbeb9(0x1b0)]({'resolvedBy':_0x39411e,'resolvedAt':_0x5ac761,'isFromAdapter':!0x0});}),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1ef),(_0x21605a,{commentThreadId:_0x5ce3cc})=>{const _0x27a4a8=_0x4415a8,_0x20b7d5=_0x4342ab[_0x27a4a8(0x1a5)](_0x5ce3cc);_0x20b7d5&&_0x20b7d5[_0x27a4a8(0x1cf)]({'isFromAdapter':!0x0});}),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1ba),(_0x4c6700,{commentThreadId:_0xa70cb8})=>{const _0x2b04f0=_0x4415a8,_0x168b58=_0x4342ab[_0x2b04f0(0x1a5)](_0xa70cb8);_0x168b58&&_0x168b58[_0x2b04f0(0x1a6)]({'isFromAdapter':!0x0});}),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1e2),(_0x34c472,_0x420135)=>{const _0x315e75=_0x4415a8,_0x46a70d=_0x420135[_0x315e75(0x1cd)],_0x14a885=_0x4342ab[_0x315e75(0x1a5)](_0x46a70d);_0x14a885&&_0x14a885[_0x315e75(0x1d1)]({...R(_0x420135),'isFromAdapter':!0x0});}),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1c0),(_0x53a918,{commentThreadId:_0x32dc11,commentId:_0x21148b,content:_0x44ac1c,attributes:_0x5b217f})=>{const _0x2a5c87=_0x4415a8,_0x4c1776=_0x4342ab[_0x2a5c87(0x1a5)](_0x32dc11);if(_0x4c1776){const _0x555b28=_0x4c1776[_0x2a5c87(0x19c)](_0x21148b);_0x555b28&&_0x555b28[_0x2a5c87(0x1c5)]({'content':_0x44ac1c,'attributes':_0x5b217f,'isFromAdapter':!0x0});}}),this[_0x4415a8(0x1f9)](_0x4b7fe9,_0x4415a8(0x1fb),(_0x5bcde8,{commentThreadId:_0x2b6181,commentId:_0x20d383})=>{const _0x1eff46=_0x4415a8,_0x1172a2=_0x4342ab[_0x1eff46(0x1a5)](_0x2b6181);if(_0x1172a2){const _0x3d2e92=_0x1172a2[_0x1eff46(0x19c)](_0x20d383);_0x3d2e92&&_0x3d2e92[_0x1eff46(0x1a6)]({'isFromAdapter':!0x0});}}),await this[_0x4415a8(0x1ab)](_0x3f6b45);}[_0x4775e2(0x1ea)](){const _0x2a467a=_0x4775e2;if(this[_0x2a467a(0x1e3)]instanceof _0x4020db){const _0x36330c=this[_0x2a467a(0x1e3)][_0x2a467a(0x1af)][_0x2a467a(0x1ac)](_0x2a467a(0x1a7));this[_0x2a467a(0x1de)](_0x36330c);}}[_0x4775e2(0x1de)](_0x2527b3){const _0x105066=_0x4775e2;if(!this[_0x105066(0x1a0)][_0x105066(0x1ec)](_0x2527b3))throw new _0x43e530(_0x105066(0x1bb),null,{'channelId':_0x2527b3});this[_0x105066(0x1ee)](_0x2527b3)[_0x105066(0x1fc)](),this[_0x105066(0x1a0)][_0x105066(0x1e4)](_0x2527b3);}async[_0x4775e2(0x1e1)](){const _0x18fd65=_0x4775e2;for(const _0x5dda4e of this[_0x18fd65(0x1a0)][_0x18fd65(0x1da)]())await this[_0x18fd65(0x1ab)](_0x5dda4e);if(this[_0x18fd65(0x1e3)]instanceof _0x4020db){const _0x261c87=this[_0x18fd65(0x1e3)][_0x18fd65(0x1af)][_0x18fd65(0x1ac)](_0x18fd65(0x1a7)),_0x5a7fbc=this[_0x18fd65(0x1e3)][_0x18fd65(0x1d8)][_0x18fd65(0x1ac)](_0x154aa9);_0x5a7fbc[_0x18fd65(0x1b3)](_0x261c87);const _0xb6d845=await this[_0x18fd65(0x1a0)][_0x18fd65(0x1ac)](_0x261c87)[_0x18fd65(0x19e)]();_0x5a7fbc[_0x18fd65(0x1d0)](_0x261c87,_0xb6d845);}}async[_0x4775e2(0x1ab)](_0x3fdaf7){const _0x4271fe=_0x4775e2,{connection:_0x45dd44}=this[_0x4271fe(0x1e3)][_0x4271fe(0x1d8)][_0x4271fe(0x1ac)](_0x1ad814),_0x54f6d7=this[_0x4271fe(0x1e3)][_0x4271fe(0x1d8)][_0x4271fe(0x1ac)](_0x4271fe(0x1e8)),_0x547e23=this[_0x4271fe(0x1a0)][_0x4271fe(0x1ac)](_0x3fdaf7),_0x36d91c=await _0x547e23[_0x4271fe(0x1f7)](_0x45dd44);await this[_0x4271fe(0x1f3)](_0x36d91c);const _0x1ac0ee=new Set(Array[_0x4271fe(0x1f6)](_0x54f6d7[_0x4271fe(0x1f2)]({'channelId':_0x3fdaf7}),_0x32432a=>_0x32432a['id']));for(const _0x21bc37 of _0x36d91c)_0x21bc37[_0x4271fe(0x1f0)]||_0x1ac0ee[_0x4271fe(0x1e4)](_0x21bc37[_0x4271fe(0x1cd)]);for(const _0xf6b877 of _0x1ac0ee)_0x54f6d7[_0x4271fe(0x1a5)](_0xf6b877)[_0x4271fe(0x1a6)]({'isFromAdapter':!0x0});for(const _0x533edc of _0x36d91c){let _0x2e2416=_0x54f6d7[_0x4271fe(0x1a5)](_0x533edc[_0x4271fe(0x1cd)]);const {commentThreadId:_0x56b406,context:_0x302bd7,attributes:_0x5d0cf1,resolvedBy:_0x2f0d16,resolvedAt:_0xa3c136,unlinkedAt:_0x595781,deletedAt:_0x3d8cf1}=_0x533edc;if(_0x3d8cf1)continue;_0x2e2416||(_0x2e2416=_0x54f6d7[_0x4271fe(0x1d2)]({'channelId':_0x3fdaf7,'threadId':_0x56b406,'context':_0x302bd7,'attributes':_0x5d0cf1||{},'resolvedBy':_0x2f0d16,'resolvedAt':_0xa3c136,'unlinkedAt':_0x595781,'isFromAdapter':!0x0}));const _0x38267b=new Set(Array[_0x4271fe(0x1f6)](_0x2e2416[_0x4271fe(0x1b4)],_0x2b6eff=>_0x2b6eff['id']));for(const _0x3ca587 of _0x533edc[_0x4271fe(0x1b4)])_0x38267b[_0x4271fe(0x1e4)](_0x3ca587[_0x4271fe(0x1b6)]);for(const _0x31c059 of _0x38267b)_0x2e2416[_0x4271fe(0x19c)](_0x31c059)[_0x4271fe(0x1a6)]({'isFromAdapter':!0x0});for(const _0x530cdd of _0x533edc[_0x4271fe(0x1b4)]){const _0x15bbcb=_0x2e2416[_0x4271fe(0x19c)](_0x530cdd[_0x4271fe(0x1b6)]);_0x15bbcb?_0x15bbcb[_0x4271fe(0x1cc)]!==_0x530cdd[_0x4271fe(0x1cc)]&&_0x15bbcb[_0x4271fe(0x1c5)]({'content':_0x530cdd[_0x4271fe(0x1cc)],'isFromAdapter':!0x0}):_0x2e2416[_0x4271fe(0x1d1)](Object[_0x4271fe(0x1bc)](R(_0x530cdd),{'isFromAdapter':!0x0}));}}}[_0x4775e2(0x1ee)](_0x7f27df){const _0x2c7464=_0x4775e2;if(!this[_0x2c7464(0x1a0)][_0x2c7464(0x1ec)](_0x7f27df))throw new _0x43e530(_0x2c7464(0x1ca),null,{'channelId':_0x7f27df});return this[_0x2c7464(0x1a0)][_0x2c7464(0x1ac)](_0x7f27df);}async[_0x4775e2(0x1f3)](_0x39a40f){const _0xc4d1f7=_0x4775e2,_0x4e7418=this[_0xc4d1f7(0x1e3)][_0xc4d1f7(0x1d8)][_0xc4d1f7(0x1ac)](_0x5db988),{connection:_0x3dcc7f}=this[_0xc4d1f7(0x1e3)][_0xc4d1f7(0x1d8)][_0xc4d1f7(0x1ac)](_0x1ad814),_0x3c7d1a=new Set();for(const {resolvedBy:_0x59e6fe,comments:_0x2b8f0e}of _0x39a40f){_0x59e6fe&&!_0x4e7418[_0xc4d1f7(0x1be)](_0x59e6fe)&&_0x3c7d1a[_0xc4d1f7(0x1b9)](_0x59e6fe);for(const {userId:_0x141e9f}of _0x2b8f0e)_0x4e7418[_0xc4d1f7(0x1be)](_0x141e9f)||_0x3c7d1a[_0xc4d1f7(0x1b9)](_0x141e9f);}if(0x0===_0x3c7d1a[_0xc4d1f7(0x1a4)])return;const _0x20b3d2=await _0x21a8a0[_0xc4d1f7(0x1eb)](_0x3dcc7f,Array[_0xc4d1f7(0x1f6)](_0x3c7d1a));for(const _0x20fb57 of _0x20b3d2)_0x4e7418[_0xc4d1f7(0x1be)](_0x20fb57['id'])||_0x4e7418[_0xc4d1f7(0x1c6)](_0x20fb57);}}a[_0x4775e2(0x1aa)]=_0xcded3d;export default a;async function F(_0x2dbda5){const _0x105648=_0x4775e2;if(_0x105648(0x1c2)!==_0x2dbda5[_0x105648(0x1e6)])throw _0x2dbda5;}function B(_0x15a0e6){const _0x53bbbb=_0x4775e2;if((_0x3aac48=_0x15a0e6)[_0x53bbbb(0x1a2)][_0x53bbbb(0x1a1)](_0x53bbbb(0x1bd))||_0x3aac48[_0x53bbbb(0x1a2)][_0x53bbbb(0x1a1)](_0x53bbbb(0x1df))||_0x3aac48[_0x53bbbb(0x1a2)][_0x53bbbb(0x1a1)](_0x53bbbb(0x1d9)))return new Promise(()=>{});var _0x3aac48;throw _0x15a0e6;}function R(_0x5269dc){const _0x39fdc9=_0x4775e2;return{'threadId':_0x5269dc[_0x39fdc9(0x1cd)],'commentId':_0x5269dc[_0x39fdc9(0x1b6)],'content':_0x5269dc[_0x39fdc9(0x1cc)],'createdAt':_0x5269dc[_0x39fdc9(0x1b8)],'authorId':_0x5269dc[_0x39fdc9(0x1f4)],'attributes':_0x5269dc[_0x39fdc9(0x1e5)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x27d290=_0x45e6;(function(_0x284549,_0x51e33b){const _0x230ae6=_0x45e6,_0x2555d7=_0x284549();while(!![]){try{const _0x1d69ab=-parseInt(_0x230ae6(0xee))/0x1*(-parseInt(_0x230ae6(0xda))/0x2)+-parseInt(_0x230ae6(0xd5))/0x3*(parseInt(_0x230ae6(0xdd))/0x4)+parseInt(_0x230ae6(0xe0))/0x5+parseInt(_0x230ae6(0xf0))/0x6*(-parseInt(_0x230ae6(0xdb))/0x7)+parseInt(_0x230ae6(0xed))/0x8*(parseInt(_0x230ae6(0xe7))/0x9)+-parseInt(_0x230ae6(0xe8))/0xa+parseInt(_0x230ae6(0xe6))/0xb;if(_0x1d69ab===_0x51e33b)break;else _0x2555d7['push'](_0x2555d7['shift']());}catch(_0x5514b8){_0x2555d7['push'](_0x2555d7['shift']());}}}(_0x3177,0x5c916));import{Plugin as _0x146982}from'ckeditor5/src/core.js';function _0x3177(){const _0x2a0983=['_terminateService','pluginName','1291660hOlliP','listenTo','connected','config','CommentsEditing','switchReadOnly','6176544NUfsXK','369tHdsjG','2223280bFGrjn','plugins','requires','_setUpService','change:state','3824DmarVZ','19609ZEdDsi','data','534igLlAC','Comments','editor','destroy','ready','isThreadsLoadingPaused','once','9gLdXbk','RealTimeCollaborativeComments','get','collaboration.channelId','CommentsRepository','12dMHaFK','693tfiOSq','init','462388GqufOT'];_0x3177=function(){return _0x2a0983;};return _0x3177();}function _0x45e6(_0x39332b,_0x50ae4b){const _0x317712=_0x3177();return _0x45e6=function(_0x45e65e,_0x5c20d8){_0x45e65e=_0x45e65e-0xd5;let _0x327174=_0x317712[_0x45e65e];return _0x327174;},_0x45e6(_0x39332b,_0x50ae4b);}import _0x578990 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0xbd8c39 from'./realtimecollaborativeediting.js';import _0x5db73b from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x146982{static get[_0x27d290(0xea)](){const _0x2e3d28=_0x27d290;return[_0x2e3d28(0xf1),_0x578990,_0xbd8c39,_0x5db73b];}static get[_0x27d290(0xdf)](){const _0xdb84fc=_0x27d290;return _0xdb84fc(0xd6);}[_0x27d290(0xdc)](){const _0x5ad696=_0x27d290,_0x2405a8=this[_0x5ad696(0xf2)][_0x5ad696(0xe9)][_0x5ad696(0xd7)](_0x5db73b),_0x24a051=this[_0x5ad696(0xf2)][_0x5ad696(0xe9)][_0x5ad696(0xd7)](_0x5ad696(0xe4)),_0x6508a6=this[_0x5ad696(0xf2)][_0x5ad696(0xe9)][_0x5ad696(0xd7)](_0x578990);return this[_0x5ad696(0xf2)][_0x5ad696(0xef)][_0x5ad696(0xf6)](_0x5ad696(0xf4),()=>{const _0x2067fe=_0x5ad696;this[_0x2067fe(0xe1)](_0x2405a8,_0x2067fe(0xec),(_0x13f499,_0x5fefff,_0xef8414)=>{const _0x4bb71c=_0x2067fe;_0x24a051[_0x4bb71c(0xf5)]=_0x4bb71c(0xe2)!==_0xef8414;});}),this[_0x5ad696(0xe1)](_0x2405a8,_0x5ad696(0xec),(_0xb4c830,_0x25e4c3,_0x598626)=>{const _0x11d29b=_0x5ad696;this[_0x11d29b(0xf2)][_0x11d29b(0xe9)][_0x11d29b(0xd7)](_0x11d29b(0xd9))[_0x11d29b(0xe5)](_0x11d29b(0xe2)!==_0x598626);}),_0x6508a6[_0x5ad696(0xeb)](this[_0x5ad696(0xf2)][_0x5ad696(0xe3)][_0x5ad696(0xd7)](_0x5ad696(0xd8)));}[_0x27d290(0xf3)](){const _0x2b0805=_0x27d290;this[_0x2b0805(0xf2)][_0x2b0805(0xe9)][_0x2b0805(0xd7)](_0x578990)[_0x2b0805(0xde)](this[_0x2b0805(0xf2)][_0x2b0805(0xe3)][_0x2b0805(0xd7)](_0x2b0805(0xd8))),super[_0x2b0805(0xf3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b21c1=_0x115b;(function(_0x4c7d57,_0x170c91){const _0x45f9eb=_0x115b,_0x2178d0=_0x4c7d57();while(!![]){try{const _0x2212eb=-parseInt(_0x45f9eb(0x1a6))/0x1+parseInt(_0x45f9eb(0x198))/0x2*(-parseInt(_0x45f9eb(0x1ae))/0x3)+-parseInt(_0x45f9eb(0x1de))/0x4*(parseInt(_0x45f9eb(0x124))/0x5)+-parseInt(_0x45f9eb(0x1e1))/0x6*(parseInt(_0x45f9eb(0x181))/0x7)+-parseInt(_0x45f9eb(0x137))/0x8*(-parseInt(_0x45f9eb(0x200))/0x9)+-parseInt(_0x45f9eb(0x184))/0xa+parseInt(_0x45f9eb(0x1e2))/0xb;if(_0x2212eb===_0x170c91)break;else _0x2178d0['push'](_0x2178d0['shift']());}catch(_0x5a16aa){_0x2178d0['push'](_0x2178d0['shift']());}}}(_0xbd76,0x9c7c5));import{Plugin as _0x5e6c3f,PendingActions as _0x4fb79c}from'ckeditor5/src/core.js';import{CKEditorError as _0xef0105,version as _0x1b1551,uid as _0x333ca9}from'ckeditor5/src/utils.js';import{Notification as _0x3d23cd}from'ckeditor5/src/ui.js';import{transformSets as _0x2cb041,NoOperation as _0x399e95,InsertOperation as _0x1c5d33,MarkerOperation as _0x54804c,RootAttributeOperation as _0x2d6f54,OperationFactory as _0xd1df4,History as _0x42b899}from'ckeditor5/src/engine.js';import _0x2ce59b from'./websocketgateway.js';import _0xcd0b22 from'./sessions.js';import _0xc1590d from'./usermarkers.js';import{getTranslation as _0x3ed267}from'../common-translations.js';function _0x115b(_0x203059,_0x5a18c6){const _0xbd76e2=_0xbd76();return _0x115b=function(_0x115b2b,_0x84a55f){_0x115b2b=_0x115b2b-0x104;let _0x3f6240=_0xbd76e2[_0x115b2b];return _0x3f6240;},_0x115b(_0x203059,_0x5a18c6);}import{Compressor as _0x21522c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1b100c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x59147f}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CollaborativeEditingService as _0x18f88b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x5e6c3f{static get[_0x1b21c1(0x10d)](){return[_0x2ce59b,_0xcd0b22,_0xc1590d,_0x4fb79c,_0x1b100c,_0x3d23cd];}static get[_0x1b21c1(0x148)](){const _0x49e699=_0x1b21c1;return _0x49e699(0x1f7);}get[_0x1b21c1(0x1b5)](){const _0x12178b=_0x1b21c1;return this[_0x12178b(0x116)]+this[_0x12178b(0x1c8)];}get[_0x1b21c1(0x116)](){const _0x4796ef=_0x1b21c1;return this[_0x4796ef(0x1d4)][_0x4796ef(0x1bf)]-this[_0x4796ef(0x1c8)];}get[_0x1b21c1(0x127)](){const _0x5c7c1e=_0x1b21c1,_0x20c303=this[_0x5c7c1e(0x1d4)][_0x5c7c1e(0x144)]();for(let _0x22541f=_0x20c303[_0x5c7c1e(0x1c3)]-0x1;_0x22541f>=0x0;_0x22541f--){const _0x49dd02=_0x20c303[_0x22541f];if(!this[_0x5c7c1e(0x1f2)][_0x5c7c1e(0x1ee)](_0x49dd02))return _0x49dd02[_0x5c7c1e(0x149)]+0x1-this[_0x5c7c1e(0x1c8)];}return 0x0;}constructor(_0x9d6e31){const _0x2caa7a=_0x1b21c1;if(super(_0x9d6e31),this[_0x2caa7a(0x1c8)]=0x0,this[_0x2caa7a(0x1e9)]=null,this[_0x2caa7a(0x1d4)]=new _0x42b899(),this[_0x2caa7a(0x1a1)][_0x2caa7a(0x176)][_0x2caa7a(0x113)](_0x2caa7a(0x19f),{}),this[_0x2caa7a(0x120)]=this[_0x2caa7a(0x1a1)][_0x2caa7a(0x176)][_0x2caa7a(0x16d)](_0x2caa7a(0x10e)),!this[_0x2caa7a(0x120)])throw new _0xef0105(_0x2caa7a(0x17d),this);const _0x1cc566=_0x9d6e31[_0x2caa7a(0x176)][_0x2caa7a(0x16d)](_0x2caa7a(0x190))||_0x1b1551;this[_0x2caa7a(0x11a)]=new l[(_0x2caa7a(0x1a0))](_0x1cc566,this[_0x2caa7a(0x120)]),this[_0x2caa7a(0x17f)]=this[_0x2caa7a(0x1a1)][_0x2caa7a(0x18e)][_0x2caa7a(0x13b)],this[_0x2caa7a(0x154)]=new _0x21522c(),this[_0x2caa7a(0x119)]=[],this[_0x2caa7a(0x142)]=new WeakSet(),this[_0x2caa7a(0x1aa)]=new Set(),this[_0x2caa7a(0x201)](_0x2caa7a(0x1d1),!0x1),this[_0x2caa7a(0x201)](_0x2caa7a(0x128),!0x1),this[_0x2caa7a(0x165)]=null,this[_0x2caa7a(0x10c)]=!0x1,this[_0x2caa7a(0x16f)]=null,this[_0x2caa7a(0x18a)]=0x12c,this[_0x2caa7a(0x1b0)]=this[_0x2caa7a(0x18a)],this[_0x2caa7a(0x1ca)]=null,this[_0x2caa7a(0x1f2)]=new WeakSet(),this[_0x2caa7a(0x1e8)]=new X(this[_0x2caa7a(0x1f2)]);}[_0x1b21c1(0x1e3)](){const _0x14f8ea=_0x1b21c1,_0x323069=this[_0x14f8ea(0x1a1)],_0x202c39=_0x323069[_0x14f8ea(0x187)][_0x14f8ea(0x16d)](_0x1b100c),_0x7e5550=_0x323069[_0x14f8ea(0x187)][_0x14f8ea(0x16d)](_0x2ce59b);this[_0x14f8ea(0x1a9)](_0x202c39,_0x14f8ea(0x1c5),(_0x46627c,_0x377173)=>{const _0x44fbfa=_0x14f8ea,_0x4ed483=_0x377173[0x0];_0x4ed483[_0x44fbfa(0x12c)]&&(_0x46627c[_0x44fbfa(0x1d0)]=_0x202c39[_0x44fbfa(0x10b)](_0x4ed483[_0x44fbfa(0x12c)]),_0x46627c[_0x44fbfa(0x110)]()),null===_0x4ed483[_0x44fbfa(0x12c)]&&(_0x46627c[_0x44fbfa(0x1d0)]=null,_0x46627c[_0x44fbfa(0x110)]());},{'priority':_0x14f8ea(0x1e4)}),this[_0x14f8ea(0x1a9)](_0x323069[_0x14f8ea(0x18e)][_0x14f8ea(0x13b)][_0x14f8ea(0x141)],_0x14f8ea(0x1f6),(_0x101c23,_0x573d80)=>{const _0x132e26=_0x14f8ea;_0x573d80[_0x132e26(0x117)]&&this[_0x132e26(0x173)]();}),this[_0x14f8ea(0x1a9)](_0x323069[_0x14f8ea(0x186)][_0x14f8ea(0x112)],_0x14f8ea(0x1a7),()=>{const _0x4a46a8=_0x14f8ea;this[_0x4a46a8(0x173)]();}),this[_0x14f8ea(0x167)](),_0x323069[_0x14f8ea(0x18e)]['on'](_0x14f8ea(0x14d),(_0x22b993,_0x50dd92)=>{const _0x39226d=_0x14f8ea,_0x49645c=_0x50dd92[0x0];_0x49645c[_0x39226d(0x17c)]&&(this[_0x39226d(0x15e)](_0x49645c),this[_0x39226d(0x1db)]()&&this[_0x39226d(0x147)]());}),this[_0x14f8ea(0x197)](),this[_0x14f8ea(0x12a)](_0x14f8ea(0x1da))['to'](_0x7e5550,_0x14f8ea(0x160),this,_0x14f8ea(0x128),(_0x4bcc40,_0xcdc6f4)=>_0x14f8ea(0x12f)===_0x4bcc40&&!_0xcdc6f4),this['on'](_0x14f8ea(0x1c2),()=>{const _0x5ef37c=_0x14f8ea;this[_0x5ef37c(0x1da)]?_0x323069[_0x5ef37c(0x155)](_0x5ef37c(0x13c)):_0x323069[_0x5ef37c(0x1ce)](_0x5ef37c(0x13c));}),this[_0x14f8ea(0x1da)]?_0x323069[_0x14f8ea(0x155)](_0x14f8ea(0x13c)):_0x323069[_0x14f8ea(0x1ce)](_0x14f8ea(0x13c)),this[_0x14f8ea(0x201)](_0x14f8ea(0x121),!0x1);}async[_0x1b21c1(0x1ab)](){const _0x10d5b5=_0x1b21c1,_0x5a5add=this[_0x10d5b5(0x1a1)][_0x10d5b5(0x187)][_0x10d5b5(0x16d)](_0xcd0b22),_0x1b9b06=this[_0x10d5b5(0x1a1)][_0x10d5b5(0x187)][_0x10d5b5(0x16d)](_0x2ce59b);try{this[_0x10d5b5(0x1d1)]=!0x0,_0x5a5add[_0x10d5b5(0x16b)](this[_0x10d5b5(0x120)]);const _0x482eb2=await this[_0x10d5b5(0x11a)][_0x10d5b5(0x1ab)](_0x1b9b06[_0x10d5b5(0x158)],this[_0x10d5b5(0x127)]);await this[_0x10d5b5(0x172)](_0x482eb2)&&(this[_0x10d5b5(0x1d1)]=!0x1,this[_0x10d5b5(0x1fc)]());const _0x2188b7=await this[_0x10d5b5(0x11a)][_0x10d5b5(0x146)]();_0x5a5add[_0x10d5b5(0x135)](this[_0x10d5b5(0x120)],_0x2188b7),this[_0x10d5b5(0x118)](),this[_0x10d5b5(0x121)]=!0x0;}catch(_0x37a8f8){if(function(_0x3725fa){const _0x498d28=_0x10d5b5;return _0x498d28(0x180)===_0x3725fa[_0x498d28(0x140)];}(_0x37a8f8)&&this[_0x10d5b5(0x1e9)])await this[_0x10d5b5(0x14e)]();else{if(function(_0x2e9580){const _0x29c913=_0x10d5b5;return _0x29c913(0x179)===_0x2e9580[_0x29c913(0x140)];}(_0x37a8f8)){const _0x18f784=_0x3ed267(this[_0x10d5b5(0x1a1)][_0x10d5b5(0x1dc)],_0x10d5b5(0x1e6));this[_0x10d5b5(0x105)](_0x18f784);}else{if(!(_0x37a8f8 instanceof J))throw _0x37a8f8;this[_0x10d5b5(0x105)]();}}}}[_0x1b21c1(0x12b)](){const _0x395367=_0x1b21c1,_0x134f86=this[_0x395367(0x1a1)][_0x395367(0x187)][_0x395367(0x16d)](_0x2ce59b),_0xb4767c=this[_0x395367(0x1a1)][_0x395367(0x187)][_0x395367(0x16d)](_0xcd0b22);this[_0x395367(0x1a1)][_0x395367(0x1ce)](_0x395367(0x1f1)),_0xb4767c[_0x395367(0x145)][_0x395367(0x1ee)](this[_0x395367(0x120)])&&_0xb4767c[_0x395367(0x16b)](this[_0x395367(0x120)]),_0x134f86[_0x395367(0x136)](this),this[_0x395367(0x11e)](),super[_0x395367(0x12b)]();}async[_0x1b21c1(0x172)](_0x3a3041){const _0x2ceba9=_0x1b21c1;if(this[_0x2ceba9(0x1e9)]!==_0x3a3041[_0x2ceba9(0x1e9)]&&this[_0x2ceba9(0x1ca)]!==_0x3a3041[_0x2ceba9(0x1af)])throw new J();return this[_0x2ceba9(0x1e9)]=_0x3a3041[_0x2ceba9(0x1e9)],this[_0x2ceba9(0x196)]([],{..._0x3a3041,'wereChangesApplied':!0x1,'data':_0x3a3041[_0x2ceba9(0x133)]},_0x2ceba9(0x1ab));}async[_0x1b21c1(0x19a)](_0x4ce70f,_0x7873ad=!0x1){const _0x372f34=_0x1b21c1,{connection:_0x4f3634}=this[_0x372f34(0x1a1)][_0x372f34(0x187)][_0x372f34(0x16d)](_0x2ce59b);l[_0x372f34(0x1a0)][_0x372f34(0x146)](_0x4f3634,this[_0x372f34(0x120)])[_0x372f34(0x1f8)](_0x4842c6=>this[_0x372f34(0x13f)](_0x4842c6))[_0x372f34(0x194)](_0x49696a=>{const _0x4ca47c=_0x372f34;this[_0x4ca47c(0x19d)](_0x4ca47c(0x1b3),_0x49696a);}),this[_0x372f34(0x1a9)](this[_0x372f34(0x11a)],_0x372f34(0x204),this[_0x372f34(0x1d7)][_0x372f34(0x12a)](this)),this[_0x372f34(0x1a9)](this[_0x372f34(0x11a)],_0x372f34(0x159),(_0x8d2b3a,_0x179f14)=>{const _0x2f24d3=_0x372f34;this[_0x2f24d3(0x19d)](_0x2f24d3(0x12e),_0x179f14);}),this[_0x372f34(0x1a9)](this[_0x372f34(0x11a)],_0x372f34(0x150),()=>{const _0x2546e0=_0x372f34;this[_0x2546e0(0x121)]=!0x1;});const _0xb07dc7=this[_0x372f34(0x1e8)][_0x372f34(0x175)](_0x4ce70f);this[_0x372f34(0x1d1)]=!0x0;const _0x48b141=await this[_0x372f34(0x11a)][_0x372f34(0x1dd)](_0x4f3634,this[_0x372f34(0x18f)](_0x4ce70f),_0xb07dc7);if(this[_0x372f34(0x1e9)]=_0x48b141[_0x372f34(0x1e9)],_0x7873ad){if(!_0x48b141[_0x372f34(0x143)])return void this[_0x372f34(0x105)]();this[_0x372f34(0x1d1)]=!0x1,this[_0x372f34(0x1fc)](),this[_0x372f34(0x1d4)][_0x372f34(0x1b8)](),this[_0x372f34(0x1c8)]=_0x48b141[_0x372f34(0x171)],this[_0x372f34(0x1d4)][_0x372f34(0x1bf)]=this[_0x372f34(0x1c8)],await this[_0x372f34(0x196)](_0x4ce70f,_0x48b141,_0x372f34(0x17b));}else await this[_0x372f34(0x10a)](_0x48b141,_0x4ce70f);this[_0x372f34(0x118)](),this[_0x372f34(0x121)]=!0x0;}[_0x1b21c1(0x118)](){const _0x16226e=_0x1b21c1,_0x3e59e3=this[_0x16226e(0x1a1)][_0x16226e(0x187)][_0x16226e(0x16d)](_0xcd0b22),_0xe0eaa6=this[_0x16226e(0x1a1)][_0x16226e(0x187)][_0x16226e(0x16d)](_0xc1590d),_0x4ca58a=_0x3e59e3[_0x16226e(0x145)][_0x16226e(0x16d)](this[_0x16226e(0x120)]);_0x4ca58a&&_0x4ca58a[_0x16226e(0x1c3)]>0x1?_0xe0eaa6[_0x16226e(0x17e)]():this[_0x16226e(0x1a9)](_0x3e59e3,_0x16226e(0x169)+this[_0x16226e(0x120)],()=>{const _0x1ad886=_0x16226e;0x2===_0x3e59e3[_0x1ad886(0x145)][_0x1ad886(0x16d)](this[_0x1ad886(0x120)])[_0x1ad886(0x1c3)]&&_0xe0eaa6[_0x1ad886(0x17e)]();});}async[_0x1b21c1(0x1d7)](_0x5784a8,_0x1667da,_0x3df178,_0x1cc9ac){const _0x39b8f9=_0x1b21c1;if(!this[_0x39b8f9(0x1d1)]&&this[_0x39b8f9(0x17f)][_0x39b8f9(0x1bf)]==_0x1667da){const _0x8327fb=this[_0x39b8f9(0x174)](_0x3df178,_0x1cc9ac);await this[_0x39b8f9(0x1ea)](_0x8327fb),this[_0x39b8f9(0x195)](_0x8327fb,_0x1667da,_0x3df178[_0x39b8f9(0x1af)])||this[_0x39b8f9(0x19d)](_0x39b8f9(0x111));}}async[_0x1b21c1(0x14e)](){const _0x3965ae=_0x1b21c1;this[_0x3965ae(0x11e)]();const {locale:_0xe28e0c}=this[_0x3965ae(0x1a1)];let _0x58406b;try{_0x58406b=await this[_0x3965ae(0x11a)][_0x3965ae(0x1a8)]();}catch(_0x345ee7){const _0x2b7ce1=_0x3ed267(_0xe28e0c,_0x3965ae(0x1be));return void this[_0x3965ae(0x105)](_0x2b7ce1);}const _0x4851eb=_0x58406b[_0x3965ae(0x1e5)]||_0x58406b[_0x3965ae(0x166)];if(this[_0x3965ae(0x1ca)]===_0x4851eb[_0x3965ae(0x1af)])await this[_0x3965ae(0x19a)](this[_0x3965ae(0x1a1)][_0x3965ae(0x18e)][_0x3965ae(0x13b)][_0x3965ae(0x189)][_0x3965ae(0x144)](),!0x0);else{const _0x1f9e3b=_0x3ed267(_0xe28e0c,_0x3965ae(0x15c));this[_0x3965ae(0x105)](_0x1f9e3b);}}[_0x1b21c1(0x11e)](){const _0x47dc1e=_0x1b21c1;this[_0x47dc1e(0x11a)][_0x47dc1e(0x188)](),this[_0x47dc1e(0x119)]=[],clearTimeout(this[_0x47dc1e(0x16f)]),this[_0x47dc1e(0x11d)](this[_0x47dc1e(0x11a)]);}[_0x1b21c1(0x13f)](_0x5b6dc7){const _0x55c764=_0x1b21c1,_0x2a8729=this[_0x55c764(0x1a1)][_0x55c764(0x187)][_0x55c764(0x16d)](_0xcd0b22);this[_0x55c764(0x1a9)](_0x2a8729,_0x55c764(0x169)+this[_0x55c764(0x120)],(_0x4cba4e,{session:_0x44140b})=>{const _0x3cc698=_0x55c764;if(_0x44140b['id']===_0x2a8729[_0x3cc698(0x109)]){_0x4cba4e[_0x3cc698(0x11b)]();const _0x5cb392=this[_0x3cc698(0x1a1)][_0x3cc698(0x187)][_0x3cc698(0x1ee)](_0x3cc698(0x15f))&&this[_0x3cc698(0x1a1)][_0x3cc698(0x187)][_0x3cc698(0x16d)](_0x3cc698(0x15f));let _0x14004d=_0x44140b[_0x3cc698(0x10f)];_0x5cb392&&_0x5cb392[_0x3cc698(0x1fd)]&&(_0x14004d=_0x14004d[_0x3cc698(0x153)](_0x2e2c9b=>_0x3cc698(0x1d6)!==_0x2e2c9b)),this[_0x3cc698(0x1a1)][_0x3cc698(0x187)][_0x3cc698(0x16d)](_0x3cc698(0x1a4))[_0x3cc698(0x15b)](_0x14004d,this[_0x3cc698(0x120)]);}}),_0x2a8729[_0x55c764(0x135)](this[_0x55c764(0x120)],_0x5b6dc7);}[_0x1b21c1(0x167)](){const _0x57d65c=_0x1b21c1,_0x448c5a=this[_0x57d65c(0x1a1)][_0x57d65c(0x133)][_0x57d65c(0x201)];this[_0x57d65c(0x1a1)][_0x57d65c(0x133)][_0x57d65c(0x201)]=(..._0x64f35d)=>{const _0x7c0e0f=_0x57d65c;if(!_0x64f35d[_0x64f35d[_0x7c0e0f(0x1c3)]-0x1][_0x7c0e0f(0x1b4)])throw new _0xef0105(_0x7c0e0f(0x183),this);_0x448c5a[_0x7c0e0f(0x138)](this[_0x7c0e0f(0x1a1)][_0x7c0e0f(0x133)],_0x64f35d);};}[_0x1b21c1(0x197)](){const _0x2ac03d=_0x1b21c1;this[_0x2ac03d(0x1a1)][_0x2ac03d(0x133)]['on'](_0x2ac03d(0x1e3),(_0x3a7c9a,[_0x4454ec])=>{const _0x1d1439=_0x2ac03d;if(this[_0x1d1439(0x17f)][_0x1d1439(0x1bf)])throw new _0xef0105(_0x1d1439(0x1eb),this);_0x3a7c9a[_0x1d1439(0x110)](),this[_0x1d1439(0x11f)]();const _0x25f5d4=this[_0x1d1439(0x1a1)][_0x1d1439(0x176)][_0x1d1439(0x16d)](_0x1d1439(0x17a)),_0x69c006=this[_0x1d1439(0x1ef)](_0x4454ec,_0x25f5d4);0x0==_0x69c006[_0x1d1439(0x1c3)]&&_0x69c006[_0x1d1439(0x1bc)](new _0x399e95(0x0)),_0x3a7c9a[_0x1d1439(0x1d0)]=this[_0x1d1439(0x19a)](_0x69c006)[_0x1d1439(0x1f8)](()=>{const _0x15bc54=_0x1d1439;this[_0x15bc54(0x1a1)][_0x15bc54(0x187)][_0x15bc54(0x16d)](_0x2ce59b)[_0x15bc54(0x115)](this),this[_0x15bc54(0x1a1)][_0x15bc54(0x133)][_0x15bc54(0x152)](_0x15bc54(0x1ec));})[_0x1d1439(0x194)](_0x3e16f4=>this[_0x1d1439(0x19d)](_0x1d1439(0x1ac),_0x3e16f4))[_0x1d1439(0x108)](()=>this[_0x1d1439(0x1fc)]());},{'priority':_0x2ac03d(0x1e4)}),this[_0x2ac03d(0x1a1)]['on'](_0x2ac03d(0x18c),async(_0x23a71d,[_0xd226d4,_0x392b2b])=>{const _0x1eed22=_0x2ac03d;_0x23a71d[_0x1eed22(0x110)]();const _0x1de318=this[_0x1eed22(0x1a1)][_0x1eed22(0x18e)][_0x1eed22(0x13b)][_0x1eed22(0x157)](_0xd226d4);if(!this[_0x1eed22(0x1aa)][_0x1eed22(0x1ee)](_0xd226d4)){const _0x3dd1c3=_0x392b2b&&_0x392b2b[_0x1eed22(0x133)]?_0x392b2b[_0x1eed22(0x133)]:'',_0x8846a8=_0x392b2b&&_0x392b2b[_0x1eed22(0x1b2)]?_0x392b2b[_0x1eed22(0x1b2)]:{};await this[_0x1eed22(0x1a3)](_0xd226d4,_0x3dd1c3,_0x8846a8);}this[_0x1eed22(0x1a1)][_0x1eed22(0x18e)][_0x1eed22(0x14c)]({'isUndoable':!0x1},()=>{const _0x395a04=_0x1eed22;_0x1de318[_0x395a04(0x177)]=!0x0,this[_0x395a04(0x1a1)][_0x395a04(0x18e)][_0x395a04(0x13b)][_0x395a04(0x1e7)][_0x395a04(0x182)](_0x1de318);});},{'priority':_0x2ac03d(0x1e4)});}async[_0x1b21c1(0x1ea)](_0x124ec8){const _0x15acbf=_0x1b21c1,_0x4a8422=this[_0x15acbf(0x1a1)][_0x15acbf(0x187)][_0x15acbf(0x16d)](_0x1b100c),{connection:_0x1b4e8e}=this[_0x15acbf(0x1a1)][_0x15acbf(0x187)][_0x15acbf(0x16d)](_0x2ce59b),_0x51d3f4=new Set();for(const _0x1af65f of _0x124ec8){const _0x1f1538=_0x1af65f[_0x15acbf(0x12c)];_0x1f1538&&!_0x4a8422[_0x15acbf(0x10b)](_0x1f1538)&&_0x51d3f4[_0x15acbf(0x1c1)](_0x1f1538);}if(0x0===_0x51d3f4[_0x15acbf(0x122)])return;const _0x554ce1=await _0x59147f[_0x15acbf(0x1f4)](_0x1b4e8e,Array[_0x15acbf(0x185)](_0x51d3f4));for(const _0x433044 of _0x554ce1)_0x4a8422[_0x15acbf(0x10b)](_0x433044['id'])||_0x4a8422[_0x15acbf(0x1c9)](_0x433044);}[_0x1b21c1(0x1ef)](_0x473184,_0x11c18e={}){const _0x7634a=_0x1b21c1,_0x13e8d8=this[_0x7634a(0x1a1)][_0x7634a(0x18e)],_0x5d9229=[];let _0x304d1f=0x0;const _0x18b6d4=_0x7634a(0x1df)==typeof _0x473184?{'main':_0x473184}:_0x473184;for(const _0x46a058 of Object[_0x7634a(0x164)](_0x18b6d4)){if(!this[_0x7634a(0x17f)][_0x7634a(0x14b)][_0x7634a(0x1ee)](_0x46a058))throw new _0xef0105(_0x7634a(0x1d9),this);const _0x5d282a=this[_0x7634a(0x1a1)][_0x7634a(0x133)][_0x7634a(0x15a)](_0x18b6d4[_0x46a058]),_0xd34a9a=this[_0x7634a(0x17f)][_0x7634a(0x157)](_0x46a058),_0x3f5e69=new _0x1c5d33(_0x13e8d8[_0x7634a(0x16e)](_0xd34a9a,0x0),_0x5d282a,_0x304d1f++);_0x5d9229[_0x7634a(0x1bc)](_0x3f5e69);for(const [_0xa5bd9f,_0x372603]of _0x5d282a[_0x7634a(0x1b7)]){const _0x24ced2=_0x13e8d8[_0x7634a(0x191)](_0x13e8d8[_0x7634a(0x1ba)](_0xd34a9a,_0x372603[_0x7634a(0x19b)][_0x7634a(0x18d)][_0x7634a(0x203)]()),_0x13e8d8[_0x7634a(0x1ba)](_0xd34a9a,_0x372603[_0x7634a(0x130)][_0x7634a(0x18d)][_0x7634a(0x203)]())),_0x96e42f=new _0x54804c(_0xa5bd9f,null,_0x24ced2,_0x13e8d8[_0x7634a(0x1b7)],!0x0,_0x304d1f++);_0x5d9229[_0x7634a(0x1bc)](_0x96e42f);}}if(_0x11c18e)for(const [_0x304989,_0x1cd371]of Object[_0x7634a(0x1a5)](_0x11c18e)){const _0x81a1a2=_0x13e8d8[_0x7634a(0x13b)][_0x7634a(0x157)](_0x304989);if(!_0x81a1a2)throw new _0xef0105(_0x7634a(0x13a),null);for(const [_0x32cd0a,_0x592e66]of Object[_0x7634a(0x1a5)](_0x1cd371))if(null!==_0x592e66){const _0x3ebe8b=new _0x2d6f54(_0x81a1a2,_0x32cd0a,null,_0x592e66,_0x304d1f++);_0x5d9229[_0x7634a(0x1bc)](_0x3ebe8b);}}return _0x5d9229;}async[_0x1b21c1(0x1a3)](_0x41a134,_0xcabd40,_0x5c39d7){const _0x5a7407=_0x1b21c1;this[_0x5a7407(0x1ef)]({[_0x41a134]:_0xcabd40},{[_0x41a134]:_0x5c39d7})[_0x5a7407(0x1ad)]((_0x795428,_0x3dd10d)=>{const _0x446dc6=_0x5a7407;_0x795428[_0x446dc6(0x149)]=this[_0x446dc6(0x17f)][_0x446dc6(0x1bf)]+_0x3dd10d,_0x795428[_0x446dc6(0x1cf)]=!0x0,this[_0x446dc6(0x15e)](_0x795428);}),this[_0x5a7407(0x147)](),await this[_0x5a7407(0x1f3)]();}async[_0x1b21c1(0x10a)](_0x504cea,_0x1e4bb3){const _0x17af42=_0x1b21c1;let _0x576ce2;this[_0x17af42(0x1c8)]=_0x504cea[_0x17af42(0x171)];const _0x4cc463=_0x504cea[_0x17af42(0x143)]&&!_0x504cea[_0x17af42(0x206)],_0x13659b=_0x4cc463?0x0:_0x504cea[_0x17af42(0x133)][_0x17af42(0x149)];if(_0x1e4bb3[_0x17af42(0x1ad)](_0x42ce68=>{const _0x551109=_0x17af42;_0x42ce68[_0x551109(0x1cf)]=!0x0,_0x42ce68[_0x551109(0x1f9)]=_0x504cea[_0x551109(0x104)],_0x42ce68[_0x551109(0x12c)]=null;}),_0x4cc463)_0x576ce2=_0x1e4bb3,this[_0x17af42(0x202)](_0x576ce2,_0x4cc463);else{if(_0x504cea[_0x17af42(0x206)]){const _0x480e66=this[_0x17af42(0x1ef)](_0x504cea[_0x17af42(0x206)]);this[_0x17af42(0x17f)][_0x17af42(0x189)][_0x17af42(0x1bf)]=-_0x480e66[_0x17af42(0x1c3)],_0x480e66[_0x17af42(0x1ad)](_0x45beca=>{const _0xf69354=_0x17af42;_0x45beca[_0xf69354(0x149)]-=_0x480e66[_0xf69354(0x1c3)],_0x45beca[_0xf69354(0x1f9)]=_0x504cea[_0xf69354(0x104)],_0x45beca[_0xf69354(0x1cf)]=!0x0,_0x45beca[_0xf69354(0x12c)]=null;}),this[_0x17af42(0x202)](_0x480e66,!0x0),this[_0x17af42(0x1d4)][_0x17af42(0x1bf)]=-_0x480e66[_0x17af42(0x1c3)]+this[_0x17af42(0x1c8)],this[_0x17af42(0x16a)](_0x480e66);}this[_0x17af42(0x17f)][_0x17af42(0x189)][_0x17af42(0x1bf)]=_0x13659b,_0x576ce2=this[_0x17af42(0x174)](_0x504cea[_0x17af42(0x133)],_0x504cea[_0x17af42(0x1cc)]),await this[_0x17af42(0x1ea)](_0x576ce2),this[_0x17af42(0x202)](_0x576ce2,_0x4cc463);}_0x504cea[_0x17af42(0x1af)]&&(this[_0x17af42(0x1e8)][_0x17af42(0x163)](_0x576ce2,_0x504cea[_0x17af42(0x1af)]),this[_0x17af42(0x1ca)]=_0x504cea[_0x17af42(0x1af)]),this[_0x17af42(0x1d4)][_0x17af42(0x1bf)]=_0x13659b+this[_0x17af42(0x1c8)],this[_0x17af42(0x16a)](_0x576ce2),_0x1e4bb3[_0x17af42(0x153)](_0x99a968=>{const _0x25bf84=_0x17af42,_0x351522=this[_0x25bf84(0x1fe)](_0x99a968);return _0x351522&&!this[_0x25bf84(0x1aa)][_0x25bf84(0x1ee)](_0x351522);})[_0x17af42(0x1ad)]((_0x2c4ff4,_0x558b8a)=>{const _0x2ea5d8=_0x17af42;_0x2c4ff4[_0x2ea5d8(0x149)]=this[_0x2ea5d8(0x17f)][_0x2ea5d8(0x1bf)]+_0x558b8a,this[_0x2ea5d8(0x15e)](_0x2c4ff4);}),this[_0x17af42(0x1db)]()?(this[_0x17af42(0x1b0)]=0x0,this[_0x17af42(0x147)](!0x0),await this[_0x17af42(0x1f3)]()):(this[_0x17af42(0x1d1)]=!0x1,this[_0x17af42(0x1fc)]());}[_0x1b21c1(0x19d)](_0x30ce78,_0x3cc1c8){const _0x4a8a9e=_0x1b21c1;throw this[_0x4a8a9e(0x1d1)]=!0x0,_0x3cc1c8&&console[_0x4a8a9e(0x159)](_0x3cc1c8),new _0xef0105(_0x30ce78,this[_0x4a8a9e(0x1a1)]);}[_0x1b21c1(0x15e)](_0x74caae){const _0x5a2050=_0x1b21c1;this[_0x5a2050(0x142)][_0x5a2050(0x1ee)](_0x74caae)||(this[_0x5a2050(0x142)][_0x5a2050(0x1c1)](_0x74caae),this[_0x5a2050(0x119)][_0x5a2050(0x1bc)](_0x74caae),this[_0x5a2050(0x165)]||_0x5a2050(0x1cd)==_0x74caae[_0x5a2050(0x1bd)]&&!_0x74caae[_0x5a2050(0x156)]||this[_0x5a2050(0x11f)]());}[_0x1b21c1(0x147)](_0x149a33=!0x1){const _0x2c4895=_0x1b21c1;!_0x149a33&&this[_0x2c4895(0x1d1)]||(this[_0x2c4895(0x1d1)]=!0x0,clearTimeout(this[_0x2c4895(0x16f)]),this[_0x2c4895(0x16f)]=setTimeout(()=>{const _0x598db4=_0x2c4895;this[_0x598db4(0x129)]()[_0x598db4(0x1f8)](_0x34fe87=>{const _0x3b1ddf=_0x598db4;_0x34fe87&&(this[_0x3b1ddf(0x1fc)](),this[_0x3b1ddf(0x1d1)]=!0x1);})[_0x598db4(0x194)](_0x3da156=>{const _0x36e109=_0x598db4;if(this[_0x36e109(0x1fc)](),this[_0x36e109(0x1d1)]=!0x1,!function(_0x557997){const _0x31dc10=_0x36e109;return _0x557997[_0x31dc10(0x1b1)][_0x31dc10(0x1d5)](_0x31dc10(0x1d3))||_0x557997[_0x31dc10(0x1b1)][_0x31dc10(0x1d5)](_0x31dc10(0x1f0))||_0x557997[_0x31dc10(0x1b1)][_0x31dc10(0x1d5)](_0x31dc10(0x1c0));}(_0x3da156))throw _0x3da156;});},this[_0x2c4895(0x1b0)]));}[_0x1b21c1(0x1f3)](){return new Promise(_0x3d7115=>{const _0x48610c=_0x115b;this['on'](_0x48610c(0x16c),()=>{_0x3d7115();});});}async[_0x1b21c1(0x129)](){const _0x5491c1=_0x1b21c1,_0x2deb59=this[_0x5491c1(0x1a1)][_0x5491c1(0x187)][_0x5491c1(0x16d)](_0xc1590d);if(this[_0x5491c1(0x126)]()&&(_0x2deb59[_0x5491c1(0x17e)](),this[_0x5491c1(0x10c)]=!0x1),!this[_0x5491c1(0x1db)]())return!0x0;const _0xd7f676=[...this[_0x5491c1(0x119)]];for(const _0x6d6d44 of _0xd7f676)_0x6d6d44[_0x5491c1(0x18b)]=this[_0x5491c1(0x17f)][_0x5491c1(0x189)][_0x5491c1(0x132)](_0x6d6d44);const _0xb2c39e=this[_0x5491c1(0x1e8)][_0x5491c1(0x175)](_0xd7f676),_0x3a3ae6=K++,_0x41f1e8=this[_0x5491c1(0x18f)](_0xd7f676),_0x3e2177=await this[_0x5491c1(0x11a)][_0x5491c1(0x162)](_0x41f1e8,_0x41f1e8[_0x5491c1(0x149)],_0xb2c39e);try{return await this[_0x5491c1(0x196)](_0xd7f676,_0x3e2177,_0x3a3ae6);}catch(_0x1c5a9e){return this[_0x5491c1(0x19d)](_0x5491c1(0x1fb),_0x1c5a9e);}}async[_0x1b21c1(0x196)](_0x53408d,_0x2f7a96,_0xeed19e){const _0x396314=_0x1b21c1;if(_0x396314(0x159)in _0x2f7a96)throw _0x2f7a96[_0x396314(0x159)];let _0xa41957=!0x1;if(_0x2f7a96[_0x396314(0x143)]){_0x2f7a96[_0x396314(0x1af)]&&(this[_0x396314(0x1ca)]=_0x2f7a96[_0x396314(0x1af)]),this[_0x396314(0x119)]=this[_0x396314(0x119)][_0x396314(0x153)](_0x30567b=>!_0x53408d[_0x396314(0x114)](_0x30567b));for(const _0x2e9804 of _0x53408d)_0x2e9804[_0x396314(0x1f9)]=_0x396314(0x13d)in _0x2f7a96&&_0x2f7a96[_0x396314(0x13d)]||void 0x0;Q(_0x53408d,_0x2f7a96[_0x396314(0x1bf)]-_0x53408d[_0x396314(0x1c3)]),this[_0x396314(0x16a)](_0x53408d);const _0x5241c4=_0x53408d[_0x396314(0x153)](_0x15bcf9=>{const _0x44842=_0x396314;if(!_0x15bcf9[_0x44842(0x1cf)])return!0x1;const _0x211913=this[_0x44842(0x1fe)](_0x15bcf9);return _0x211913&&!this[_0x44842(0x1aa)][_0x44842(0x1ee)](_0x211913);});Q(_0x5241c4,this[_0x396314(0x17f)][_0x396314(0x1bf)]),this[_0x396314(0x202)](_0x5241c4),_0xa41957=!0x0,this[_0x396314(0x1b0)]=this[_0x396314(0x18a)];}else{const _0x4903a4=this[_0x396314(0x174)](_0x2f7a96[_0x396314(0x133)],_0x2f7a96[_0x396314(0x1cc)])[_0x396314(0x153)](_0x4c0420=>_0x4c0420[_0x396314(0x149)]>=this[_0x396314(0x116)]);_0x4903a4[_0x396314(0x1ad)](_0x1ae1e=>this[_0x396314(0x14a)](_0x1ae1e)),this[_0x396314(0x119)]=this[_0x396314(0x119)][_0x396314(0x153)](_0x252b27=>!_0x252b27[_0x396314(0x1cf)]||!this[_0x396314(0x1aa)][_0x396314(0x1ee)](this[_0x396314(0x1fe)](_0x252b27))),this[_0x396314(0x119)][_0x396314(0x1c3)]&&Q(this[_0x396314(0x119)],this[_0x396314(0x119)][0x0][_0x396314(0x149)]),await this[_0x396314(0x1ea)](_0x4903a4),_0xa41957=this[_0x396314(0x195)](_0x4903a4,_0x2f7a96[_0x396314(0x1bf)],_0x2f7a96[_0x396314(0x1af)]),this[_0x396314(0x1b0)]=Math[_0x396314(0x1c4)](this[_0x396314(0x1b0)]/0x2);}return _0xa41957?!this[_0x396314(0x1db)]()||(this[_0x396314(0x147)](!0x0),!0x1):this[_0x396314(0x19d)](_0x396314(0x1d8));}[_0x1b21c1(0x195)](_0x40820a,_0x4380eb,_0x59fdf0){const _0x1e2ae4=_0x1b21c1;try{const _0xe01b97={'document':this[_0x1e2ae4(0x17f)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x294638,operationsB:_0x4ff121,originalOperations:_0x1c448d}=_0x2cb041(_0x40820a,this[_0x1e2ae4(0x119)],_0xe01b97);Q(_0x294638,this[_0x1e2ae4(0x17f)][_0x1e2ae4(0x1bf)]),Q(_0x4ff121,_0x4380eb);for(const _0x12e03e of _0x294638){const _0x160cec=_0x1c448d[_0x1e2ae4(0x16d)](_0x12e03e);_0x12e03e[_0x1e2ae4(0x12c)]=_0x160cec?_0x160cec[_0x1e2ae4(0x12c)]:null;}_0x59fdf0&&(this[_0x1e2ae4(0x1e8)][_0x1e2ae4(0x163)](_0x40820a,_0x59fdf0),this[_0x1e2ae4(0x1ca)]=_0x59fdf0),this[_0x1e2ae4(0x119)]=[..._0x4ff121],this[_0x1e2ae4(0x202)](_0x294638),this[_0x1e2ae4(0x16a)](_0x40820a);}catch(_0x408ad9){return console[_0x1e2ae4(0x159)](_0x408ad9),!0x1;}return!0x0;}[_0x1b21c1(0x202)](_0x22546e,_0x5b0d86=!0x1){const _0x2ea027=_0x1b21c1;this[_0x2ea027(0x1a1)][_0x2ea027(0x18e)][_0x2ea027(0x14c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3688f0=>{const _0x4d81e6=_0x2ea027;for(const _0x6f416a of _0x22546e)this[_0x4d81e6(0x142)][_0x4d81e6(0x1c1)](_0x6f416a),this[_0x4d81e6(0x14a)](_0x6f416a),_0x3688f0[_0x4d81e6(0x205)][_0x4d81e6(0x14f)](_0x6f416a),this[_0x4d81e6(0x1a1)][_0x4d81e6(0x18e)][_0x4d81e6(0x14d)](_0x6f416a);});}[_0x1b21c1(0x14a)](_0x2527b7){const _0x4cebfb=_0x1b21c1,_0x4ebe54=this[_0x4cebfb(0x1fe)](_0x2527b7);_0x4ebe54&&this[_0x4cebfb(0x1aa)][_0x4cebfb(0x1c1)](_0x4ebe54);}[_0x1b21c1(0x1fe)](_0x4c0151){const _0x2d2659=_0x1b21c1;let _0x5a03ea,_0x146003;switch(_0x4c0151[_0x2d2659(0x1bd)]){case _0x2d2659(0x161):_0x5a03ea=_0x4c0151[_0x2d2659(0x1bb)][_0x2d2659(0x1c6)];break;case _0x2d2659(0x1cd):if(_0x146003=_0x4c0151[_0x2d2659(0x134)],!_0x146003)return null;_0x5a03ea=_0x146003[_0x2d2659(0x1c6)];break;case _0x2d2659(0x1a2):_0x5a03ea=_0x4c0151[_0x2d2659(0x1c6)];break;case _0x2d2659(0x193):_0x5a03ea=_0x4c0151[_0x2d2659(0x1b9)];break;case _0x2d2659(0x13e):_0x5a03ea=_0x4c0151[_0x2d2659(0x131)][_0x2d2659(0x1c6)];break;default:return null;}return _0x5a03ea[_0x2d2659(0x1ed)];}[_0x1b21c1(0x16a)](_0x2c5341){const _0x1df2fa=_0x1b21c1;_0x2c5341[_0x1df2fa(0x1ad)](_0x391318=>{const _0x39741c=_0x1df2fa,_0x1418bc=_0x391318[_0x39741c(0x1e0)]();_0x1418bc[_0x39741c(0x12c)]=_0x391318[_0x39741c(0x12c)],_0x1418bc[_0x39741c(0x1cf)]=!!_0x391318[_0x39741c(0x1cf)],_0x1418bc[_0x39741c(0x1f9)]=_0x391318[_0x39741c(0x1f9)],_0x1418bc[_0x39741c(0x149)]+=this[_0x39741c(0x1c8)],_0x391318[_0x39741c(0x11c)]&&this[_0x39741c(0x1f2)][_0x39741c(0x1c1)](_0x1418bc),this[_0x39741c(0x1d4)][_0x39741c(0x14f)](_0x1418bc);});}[_0x1b21c1(0x105)](_0x35f9e5){const _0x5b83d4=_0x1b21c1,_0x27bf19=this[_0x5b83d4(0x1a1)][_0x5b83d4(0x187)][_0x5b83d4(0x16d)](_0x5b83d4(0x170)),_0x462440=this[_0x5b83d4(0x1a1)][_0x5b83d4(0x1dc)];_0x35f9e5||(_0x35f9e5=_0x3ed267(_0x462440,_0x5b83d4(0x168))),_0x27bf19[_0x5b83d4(0x1c7)](_0x35f9e5,{'title':_0x3ed267(_0x462440,_0x5b83d4(0x15d)),'namespace':_0x5b83d4(0x178)}),this[_0x5b83d4(0x128)]=!0x0,clearTimeout(this[_0x5b83d4(0x16f)]),this[_0x5b83d4(0x119)]=[],this[_0x5b83d4(0x1a1)][_0x5b83d4(0x187)][_0x5b83d4(0x16d)](_0x2ce59b)[_0x5b83d4(0x12b)]();}[_0x1b21c1(0x11f)](){const _0x43bc74=_0x1b21c1;this[_0x43bc74(0x165)]||(this[_0x43bc74(0x165)]=this[_0x43bc74(0x1a1)][_0x43bc74(0x187)][_0x43bc74(0x16d)](_0x4fb79c)[_0x43bc74(0x1c1)](_0x3ed267(this[_0x43bc74(0x1a1)][_0x43bc74(0x1dc)],_0x43bc74(0x1cb))));}[_0x1b21c1(0x1fc)](){const _0x3b9648=_0x1b21c1;this[_0x3b9648(0x165)]&&(this[_0x3b9648(0x1a1)][_0x3b9648(0x187)][_0x3b9648(0x16d)](_0x4fb79c)[_0x3b9648(0x1b6)](this[_0x3b9648(0x165)]),this[_0x3b9648(0x165)]=null);}[_0x1b21c1(0x18f)](_0x666d30){const _0x15014d=_0x1b21c1,_0x489f13=_0x666d30[_0x15014d(0x139)](_0x54bbe9=>_0x54bbe9[_0x15014d(0x1fa)]());return this[_0x15014d(0x154)][_0x15014d(0x199)](_0x489f13);}[_0x1b21c1(0x174)](_0x1fef5f,_0x414c59){const _0x5f3693=_0x1b21c1;return this[_0x5f3693(0x154)][_0x5f3693(0x1d2)](_0x1fef5f)[_0x5f3693(0x139)]((_0x1600c3,_0x412e23)=>{const _0x13d4fa=_0x5f3693,_0x54f894=_0x13d4fa(0x1e3)==_0x414c59[_0x412e23][_0x13d4fa(0x1bd)];if(_0x13d4fa(0x1ff)==_0x1600c3[_0x13d4fa(0x107)]){const _0x1f175d=_0x1600c3[_0x13d4fa(0x1bb)][_0x13d4fa(0x1c6)];!this[_0x13d4fa(0x17f)][_0x13d4fa(0x157)](_0x1f175d)&&(this[_0x13d4fa(0x17f)][_0x13d4fa(0x106)](_0x13d4fa(0x125),_0x1f175d)[_0x13d4fa(0x192)]=!0x1);}const _0x142ae1=_0xd1df4[_0x13d4fa(0x19e)](_0x1600c3,this[_0x13d4fa(0x17f)]);return _0x142ae1[_0x13d4fa(0x18b)]=_0x1600c3[_0x13d4fa(0x18b)],_0x142ae1[_0x13d4fa(0x1cf)]=_0x54f894,_0x142ae1[_0x13d4fa(0x12c)]=_0x54f894?null:_0x414c59[_0x412e23][_0x13d4fa(0x151)],_0x142ae1[_0x13d4fa(0x11c)]=_0x13d4fa(0x123)===_0x414c59[_0x412e23][_0x13d4fa(0x1bd)],_0x142ae1[_0x13d4fa(0x1f9)]=_0x414c59[_0x412e23][_0x13d4fa(0x1f9)],_0x142ae1;});}[_0x1b21c1(0x173)](){const _0x15ad64=_0x1b21c1;this[_0x15ad64(0x10c)]=!0x0,this[_0x15ad64(0x126)]()?this[_0x15ad64(0x147)]():this[_0x15ad64(0x10c)]=!0x1;}[_0x1b21c1(0x126)](){const _0x381659=_0x1b21c1,_0x1ba084=this[_0x381659(0x1a1)][_0x381659(0x187)][_0x381659(0x16d)](_0xcd0b22)[_0x381659(0x145)][_0x381659(0x16d)](this[_0x381659(0x120)]);return!this[_0x381659(0x1a1)][_0x381659(0x12d)]&&!!_0x1ba084&&_0x1ba084[_0x381659(0x1c3)]>0x1&&this[_0x381659(0x10c)];}[_0x1b21c1(0x1db)](){const _0x3a968b=_0x1b21c1;return this[_0x3a968b(0x119)][_0x3a968b(0x1c3)]>0x0||this[_0x3a968b(0x126)]();}}l[_0x1b21c1(0x1a0)]=_0x18f88b;export default l;function _0xbd76(){const _0x3250ba=['unregister','change:_isPendingUpdate','get','createPositionAt','_sendBufferedOperationsDelayId','Notification','offset','_handleReconnectionResponse','_refreshUserSelectionMarkers','_decompressOperations','getIdOfTheLastOperation','config','_isLoaded','real-time-collaboration','409','rootsAttributes','reconnection:\x20flushed\x20session','isDocumentOperation','collaboration-missing-channelid','createUserMarkerOperations','_document','404','217cwsYnB','_bufferRootLoad','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','9023010lsddau','from','editing','plugins','disconnect','history','_baseBufferDelay','wasUndone','loadRoot','path','model','_compressOperations','cloudServices.bundleVersion','createRange','_isAttached','addRoot','catch','_handleExternalOperations','_handleServerResponse','_setUpDataInit','26LVGmFu','compress','_connectService','start','_operationToId','_crash','fromJSON','collaboration','CollaborativeEditingService','editor','addRootAttribute','_loadRoot','Permissions','entries','102474OpclzE','change:hasDomSelection','getDocumentDetails','listenTo','_knownRootNames','reconnect','realtimecollaborationclient-init-connection-failed','forEach','159981jmTRgq','lastOperationId','_currentBufferDelay','message','attributes','realtimecollaborationclient-init-session-connection-error','suppressErrorInCollaboration','cloudDocumentVersion','remove','markers','reset','affectedSelectable','createPositionFromPath','position','push','type','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','version','cloud-services-internal-error:\x20Request\x20timeout.','add','change:_isEditingAllowed','length','round','getOperationAuthor','root','showWarning','_offset','addUser','_lastSyncedOperationId','PENDING_ACTION_SENDING_DATA','metadata','marker','enableReadOnlyMode','_isInit','return','_isPendingUpdate','decompress','cloud-services-internal-error:\x20Not\x20connected.','serverHistory','startsWith','document:write','_handleReceivedOperations','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-non-existent-root','_isEditingAllowed','_shouldSendUpdate','locale','connect','1852qEftjn','string','clone','87948tUiHnB','27095827LMtvUm','init','high','currentDocumentSession','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','differ','_operationIdentifier','sessionId','_fetchMissingUsers','realtimecollaborationclient-init-document-already-initialized','ready','rootName','has','_getOperationsFromInitData','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rtc-destroyed','_disconnectionOperations','_waitUntilSynced','getMany','_ignoredOperations','change:range','RealTimeCollaborationClient','then','createdAt','toJSON','realtimecollaborationclient-sendbufferedoperations','_clearPendingAction','isEnabled','_getAffectedRoot','InsertOperation','124875eCRhIq','set','_applyOperationsSet','slice','operationsReceived','batch','initData','sessionCreatedAt','_handleReconnectionError','createRoot','__className','finally','mySessionId','_handleInitialConnectionData','getUser','_hasSelectionChanged','requires','collaboration.channelId','permissions','stop','realtimecollaborationclient-initservice-incorrect-server-operation','view','define','includes','addToReconnectionStack','_lastServerVersion','directChange','_handleSendingSelectionMarkers','_bufferedOperations','_service','off','_isDisconnection','stopListening','_disconnectService','_setPendingAction','_channelId','_isConnected','size','cs:removeUser','930jmKUsY','$root','_shouldSendSelectionUpdate','lastSyncVersion','_hasSynchronizationProblem','_sendBufferedOperations','bind','destroy','_authorId','isReadOnly','realtimecollaborationclient-initservice-internal-error','connected','end','targetPosition','isUndoneOperation','data','newRange','register','removeFromReconnectionStack','240FdImdn','apply','map','multi-root-editor-root-attributes-no-root','document','rtc-offline','lastOperationAcceptedAt','move','_initSessionsHandling','code','selection','_knownOperations','wereChangesApplied','getOperations','channelSessions','getConnectedSessions','_sendBufferedOperationsDelayed','pluginName','baseVersion','_addKnownRoot','roots','enqueueChange','applyOperation','_connectAfterSessionHasBeenFlushed','addOperation','disconnected','userId','fire','filter','_compressor','disableReadOnlyMode','affectsData','getRoot','connection','error','parse','setPermissions','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Synchronization\x20issue','_saveOperationInBuffer','CommentsOnly','state','insert','sendOperations','setIdForTheLastOperation','keys','_pendingAction','lastDocumentSession','_initThrowingOnDataSet','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sessionAdd:','_updateServerHistory'];_0xbd76=function(){return _0x3250ba;};return _0xbd76();}class J extends Error{}function Q(_0x285244,_0x190b71){const _0x29e605=_0x1b21c1;for(const _0x1a1a06 of _0x285244)_0x1a1a06[_0x29e605(0x149)]=_0x190b71++;}class X{constructor(_0x5ecffa){const _0x4744c7=_0x1b21c1;this[_0x4744c7(0x1f5)]=_0x5ecffa,this[_0x4744c7(0x19c)]=new WeakMap();}[_0x1b21c1(0x175)](_0x3b4984){const _0x4471fc=_0x1b21c1;let _0x281788=_0x3b4984[_0x4471fc(0x1c3)];for(;_0x281788--;){const _0x20738f=_0x3b4984[_0x281788];if(!this[_0x4471fc(0x1f5)][_0x4471fc(0x1ee)](_0x20738f)){if(!this[_0x4471fc(0x19c)][_0x4471fc(0x1ee)](_0x20738f)){const _0xf624a4=_0x333ca9()[_0x4471fc(0x203)](0x1,0x12);this[_0x4471fc(0x19c)][_0x4471fc(0x201)](_0x20738f,_0xf624a4);}return this[_0x4471fc(0x19c)][_0x4471fc(0x16d)](_0x20738f);}}}[_0x1b21c1(0x163)](_0x47f96a,_0x13e31f){const _0x1661fb=_0x1b21c1;if(!_0x13e31f)return;let _0x5198b4=_0x47f96a[_0x1661fb(0x1c3)];for(;_0x5198b4--;){const _0x3facae=_0x47f96a[_0x5198b4];this[_0x1661fb(0x1f5)][_0x1661fb(0x1ee)](_0x3facae)||this[_0x1661fb(0x19c)][_0x1661fb(0x201)](_0x3facae,_0x13e31f);}}}
|
|
23
|
+
const _0x14fef6=_0x2bc5;(function(_0x1728d2,_0x3e4ae0){const _0x1940ae=_0x2bc5,_0x4e9d75=_0x1728d2();while(!![]){try{const _0x7ef9d9=parseInt(_0x1940ae(0x288))/0x1*(parseInt(_0x1940ae(0x24f))/0x2)+parseInt(_0x1940ae(0x223))/0x3*(-parseInt(_0x1940ae(0x1c2))/0x4)+-parseInt(_0x1940ae(0x20b))/0x5*(parseInt(_0x1940ae(0x1e9))/0x6)+parseInt(_0x1940ae(0x23b))/0x7+-parseInt(_0x1940ae(0x1ea))/0x8*(-parseInt(_0x1940ae(0x1eb))/0x9)+-parseInt(_0x1940ae(0x25c))/0xa+parseInt(_0x1940ae(0x2b3))/0xb*(parseInt(_0x1940ae(0x1c5))/0xc);if(_0x7ef9d9===_0x3e4ae0)break;else _0x4e9d75['push'](_0x4e9d75['shift']());}catch(_0x3bca9f){_0x4e9d75['push'](_0x4e9d75['shift']());}}}(_0x1f5d,0x5ce3e));import{Plugin as _0x376d14,PendingActions as _0x24abd5}from'ckeditor5/src/core.js';import{CKEditorError as _0x519a9c,version as _0x3f1e3a,uid as _0x27ee69}from'ckeditor5/src/utils.js';import{Notification as _0x2683a9}from'ckeditor5/src/ui.js';import{transformSets as _0x33f9d9,NoOperation as _0x296379,InsertOperation as _0x11d6c2,MarkerOperation as _0x280c2c,RootAttributeOperation as _0x831b7a,OperationFactory as _0x12f855,History as _0xef116b}from'ckeditor5/src/engine.js';import _0x36b1bf from'./websocketgateway.js';import _0x57d49a from'./sessions.js';import _0x1d59fd from'./usermarkers.js';import{getTranslation as _0xed4dfd}from'../common-translations.js';function _0x2bc5(_0x48f2e2,_0x301ff5){const _0x1f5d16=_0x1f5d();return _0x2bc5=function(_0x2bc54e,_0x14d8d2){_0x2bc54e=_0x2bc54e-0x1b2;let _0x1bfa9b=_0x1f5d16[_0x2bc54e];return _0x1bfa9b;},_0x2bc5(_0x48f2e2,_0x301ff5);}import{Compressor as _0x1d4c19}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1a0e4f}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3fa651}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CollaborativeEditingService as _0x2739d0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x376d14{static get[_0x14fef6(0x28b)](){return[_0x36b1bf,_0x57d49a,_0x1d59fd,_0x24abd5,_0x1a0e4f,_0x2683a9];}static get[_0x14fef6(0x1f1)](){const _0x29556b=_0x14fef6;return _0x29556b(0x26b);}get[_0x14fef6(0x1e6)](){const _0x148814=_0x14fef6;return this[_0x148814(0x1ed)]+this[_0x148814(0x1de)];}get[_0x14fef6(0x1ed)](){const _0x3f215f=_0x14fef6;return this[_0x3f215f(0x200)][_0x3f215f(0x281)]-this[_0x3f215f(0x1de)];}get[_0x14fef6(0x1d7)](){const _0xcea61d=_0x14fef6,_0x4a383a=this[_0xcea61d(0x200)][_0xcea61d(0x1da)]();for(let _0xcff2bf=_0x4a383a[_0xcea61d(0x22e)]-0x1;_0xcff2bf>=0x0;_0xcff2bf--){const _0x5a393e=_0x4a383a[_0xcff2bf];if(!this[_0xcea61d(0x24c)][_0xcea61d(0x1b5)](_0x5a393e))return _0x5a393e[_0xcea61d(0x2af)]+0x1-this[_0xcea61d(0x1de)];}return 0x0;}constructor(_0x271950){const _0x5df71b=_0x14fef6;if(super(_0x271950),this[_0x5df71b(0x1de)]=0x0,this[_0x5df71b(0x264)]=null,this[_0x5df71b(0x200)]=new _0xef116b(),this[_0x5df71b(0x21d)][_0x5df71b(0x1cb)][_0x5df71b(0x249)](_0x5df71b(0x237),{}),this[_0x5df71b(0x24b)]=this[_0x5df71b(0x21d)][_0x5df71b(0x1cb)][_0x5df71b(0x26f)](_0x5df71b(0x1be)),!this[_0x5df71b(0x24b)])throw new _0x519a9c(_0x5df71b(0x279),this);const _0x3fce09=_0x271950[_0x5df71b(0x1cb)][_0x5df71b(0x26f)](_0x5df71b(0x20d))||_0x3f1e3a;this[_0x5df71b(0x1e1)]=new l[(_0x5df71b(0x20a))](_0x3fce09,this[_0x5df71b(0x24b)]),this[_0x5df71b(0x1e8)]=this[_0x5df71b(0x21d)][_0x5df71b(0x271)][_0x5df71b(0x253)],this[_0x5df71b(0x1c6)]=new _0x1d4c19(),this[_0x5df71b(0x278)]=[],this[_0x5df71b(0x27a)]=new WeakSet(),this[_0x5df71b(0x1f4)]=new Set(),this[_0x5df71b(0x258)](_0x5df71b(0x1b4),!0x1),this[_0x5df71b(0x258)](_0x5df71b(0x1e2),!0x1),this[_0x5df71b(0x1d6)]=null,this[_0x5df71b(0x1ec)]=!0x1,this[_0x5df71b(0x210)]=null,this[_0x5df71b(0x2aa)]=0x12c,this[_0x5df71b(0x1ef)]=this[_0x5df71b(0x2aa)],this[_0x5df71b(0x256)]=null,this[_0x5df71b(0x24c)]=new WeakSet(),this[_0x5df71b(0x1bb)]=new X(this[_0x5df71b(0x24c)]);}[_0x14fef6(0x1d4)](){const _0xa52280=_0x14fef6,_0x5b9fab=this[_0xa52280(0x21d)],_0x18d45b=_0x5b9fab[_0xa52280(0x246)][_0xa52280(0x26f)](_0x1a0e4f),_0x56f123=_0x5b9fab[_0xa52280(0x246)][_0xa52280(0x26f)](_0x36b1bf);this[_0xa52280(0x226)](_0x18d45b,_0xa52280(0x20e),(_0x36bbda,_0x1fad25)=>{const _0x46cade=_0xa52280,_0x537f80=_0x1fad25[0x0];_0x537f80[_0x46cade(0x29f)]&&(_0x36bbda[_0x46cade(0x1f2)]=_0x18d45b[_0x46cade(0x228)](_0x537f80[_0x46cade(0x29f)]),_0x36bbda[_0x46cade(0x259)]()),null===_0x537f80[_0x46cade(0x29f)]&&(_0x36bbda[_0x46cade(0x1f2)]=null,_0x36bbda[_0x46cade(0x259)]());},{'priority':_0xa52280(0x1ee)}),this[_0xa52280(0x226)](_0x5b9fab[_0xa52280(0x271)][_0xa52280(0x253)][_0xa52280(0x22a)],_0xa52280(0x22f),(_0x3d1d8c,_0x247608)=>{const _0xc48415=_0xa52280;_0x247608[_0xc48415(0x291)]&&this[_0xc48415(0x1d5)]();}),this[_0xa52280(0x226)](_0x5b9fab[_0xa52280(0x203)][_0xa52280(0x1cd)],_0xa52280(0x1f7),()=>{const _0x5b2dc2=_0xa52280;this[_0x5b2dc2(0x1d5)]();}),this[_0xa52280(0x22c)](),_0x5b9fab[_0xa52280(0x271)]['on'](_0xa52280(0x277),(_0x261a30,_0x431620)=>{const _0x220ca3=_0xa52280,_0x518a4a=_0x431620[0x0];_0x518a4a[_0x220ca3(0x1d3)]&&(this[_0x220ca3(0x269)](_0x518a4a),this[_0x220ca3(0x296)]()&&this[_0x220ca3(0x26e)]());}),this[_0xa52280(0x1d0)](),this[_0xa52280(0x1b2)](_0xa52280(0x26c))['to'](_0x56f123,_0xa52280(0x23f),this,_0xa52280(0x1e2),(_0x4c9996,_0x30adeb)=>_0xa52280(0x1ff)===_0x4c9996&&!_0x30adeb),this['on'](_0xa52280(0x29e),()=>{const _0x2320b9=_0xa52280;this[_0x2320b9(0x26c)]?_0x5b9fab[_0x2320b9(0x24e)](_0x2320b9(0x252)):_0x5b9fab[_0x2320b9(0x25b)](_0x2320b9(0x252));}),this[_0xa52280(0x26c)]?_0x5b9fab[_0xa52280(0x24e)](_0xa52280(0x252)):_0x5b9fab[_0xa52280(0x25b)](_0xa52280(0x252)),this[_0xa52280(0x258)](_0xa52280(0x1d1),!0x1);}async[_0x14fef6(0x1cc)](){const _0x135c87=_0x14fef6,_0x2f9f6d=this[_0x135c87(0x21d)][_0x135c87(0x246)][_0x135c87(0x26f)](_0x57d49a),_0x53b665=this[_0x135c87(0x21d)][_0x135c87(0x246)][_0x135c87(0x26f)](_0x36b1bf);try{this[_0x135c87(0x1b4)]=!0x0,_0x2f9f6d[_0x135c87(0x211)](this[_0x135c87(0x24b)]);const _0x4672b7=await this[_0x135c87(0x1e1)][_0x135c87(0x1cc)](_0x53b665[_0x135c87(0x21a)],this[_0x135c87(0x1d7)]);await this[_0x135c87(0x268)](_0x4672b7)&&(this[_0x135c87(0x1b4)]=!0x1,this[_0x135c87(0x231)]());const _0x2201ba=await this[_0x135c87(0x1e1)][_0x135c87(0x218)]();_0x2f9f6d[_0x135c87(0x220)](this[_0x135c87(0x24b)],_0x2201ba),this[_0x135c87(0x2a0)](),this[_0x135c87(0x1d1)]=!0x0;}catch(_0x2af6d9){if(function(_0x58bec8){const _0x3a940c=_0x135c87;return _0x3a940c(0x21e)===_0x58bec8[_0x3a940c(0x244)];}(_0x2af6d9)&&this[_0x135c87(0x264)])await this[_0x135c87(0x1b8)]();else{if(function(_0xc20a5e){const _0x27203=_0x135c87;return _0x27203(0x230)===_0xc20a5e[_0x27203(0x244)];}(_0x2af6d9)){const _0x54793c=_0xed4dfd(this[_0x135c87(0x21d)][_0x135c87(0x233)],_0x135c87(0x260));this[_0x135c87(0x2ad)](_0x54793c);}else{if(!(_0x2af6d9 instanceof J))throw _0x2af6d9;this[_0x135c87(0x2ad)]();}}}}[_0x14fef6(0x1b6)](){const _0x2ba907=_0x14fef6,_0x2f8063=this[_0x2ba907(0x21d)][_0x2ba907(0x246)][_0x2ba907(0x26f)](_0x36b1bf),_0x2ba8bd=this[_0x2ba907(0x21d)][_0x2ba907(0x246)][_0x2ba907(0x26f)](_0x57d49a);this[_0x2ba907(0x21d)][_0x2ba907(0x25b)](_0x2ba907(0x1e7)),_0x2ba8bd[_0x2ba907(0x248)][_0x2ba907(0x1b5)](this[_0x2ba907(0x24b)])&&_0x2ba8bd[_0x2ba907(0x211)](this[_0x2ba907(0x24b)]),_0x2f8063[_0x2ba907(0x29c)](this),this[_0x2ba907(0x273)](),super[_0x2ba907(0x1b6)]();}async[_0x14fef6(0x268)](_0x391c51){const _0x4b3e81=_0x14fef6;if(this[_0x4b3e81(0x264)]!==_0x391c51[_0x4b3e81(0x264)]&&this[_0x4b3e81(0x256)]!==_0x391c51[_0x4b3e81(0x2a5)])throw new J();return this[_0x4b3e81(0x264)]=_0x391c51[_0x4b3e81(0x264)],this[_0x4b3e81(0x283)]([],{..._0x391c51,'wereChangesApplied':!0x1,'data':_0x391c51[_0x4b3e81(0x217)]},_0x4b3e81(0x1cc));}async[_0x14fef6(0x2b4)](_0xc3490a,_0x14eb5f=!0x1){const _0xdc0989=_0x14fef6,{connection:_0x564785}=this[_0xdc0989(0x21d)][_0xdc0989(0x246)][_0xdc0989(0x26f)](_0x36b1bf);l[_0xdc0989(0x20a)][_0xdc0989(0x218)](_0x564785,this[_0xdc0989(0x24b)])[_0xdc0989(0x27c)](_0x32ef7a=>this[_0xdc0989(0x28d)](_0x32ef7a))[_0xdc0989(0x23e)](_0x13c5fb=>{const _0x54b7f8=_0xdc0989;this[_0x54b7f8(0x221)](_0x54b7f8(0x245),_0x13c5fb);}),this[_0xdc0989(0x226)](this[_0xdc0989(0x1e1)],_0xdc0989(0x255),this[_0xdc0989(0x1c1)][_0xdc0989(0x1b2)](this)),this[_0xdc0989(0x226)](this[_0xdc0989(0x1e1)],_0xdc0989(0x20f),(_0x536e75,_0x22eaae)=>{const _0x2c5c03=_0xdc0989;this[_0x2c5c03(0x221)](_0x2c5c03(0x21f),_0x22eaae);}),this[_0xdc0989(0x226)](this[_0xdc0989(0x1e1)],_0xdc0989(0x1db),()=>{const _0x5a650d=_0xdc0989;this[_0x5a650d(0x1d1)]=!0x1;});const _0x656fec=this[_0xdc0989(0x1bb)][_0xdc0989(0x1e0)](_0xc3490a);this[_0xdc0989(0x1b4)]=!0x0;const _0x50e546=await this[_0xdc0989(0x1e1)][_0xdc0989(0x1fc)](_0x564785,this[_0xdc0989(0x1c8)](_0xc3490a),_0x656fec);if(this[_0xdc0989(0x264)]=_0x50e546[_0xdc0989(0x264)],_0x14eb5f){if(!_0x50e546[_0xdc0989(0x22b)])return void this[_0xdc0989(0x2ad)]();this[_0xdc0989(0x1b4)]=!0x1,this[_0xdc0989(0x231)](),this[_0xdc0989(0x200)][_0xdc0989(0x27d)](),this[_0xdc0989(0x1de)]=_0x50e546[_0xdc0989(0x20c)],this[_0xdc0989(0x200)][_0xdc0989(0x281)]=this[_0xdc0989(0x1de)],await this[_0xdc0989(0x283)](_0xc3490a,_0x50e546,_0xdc0989(0x270));}else await this[_0xdc0989(0x1c9)](_0x50e546,_0xc3490a);this[_0xdc0989(0x2a0)](),this[_0xdc0989(0x1d1)]=!0x0;}[_0x14fef6(0x2a0)](){const _0x4a97bb=_0x14fef6,_0x577064=this[_0x4a97bb(0x21d)][_0x4a97bb(0x246)][_0x4a97bb(0x26f)](_0x57d49a),_0x552fee=this[_0x4a97bb(0x21d)][_0x4a97bb(0x246)][_0x4a97bb(0x26f)](_0x1d59fd),_0x49a751=_0x577064[_0x4a97bb(0x248)][_0x4a97bb(0x26f)](this[_0x4a97bb(0x24b)]);_0x49a751&&_0x49a751[_0x4a97bb(0x22e)]>0x1?_0x552fee[_0x4a97bb(0x225)]():this[_0x4a97bb(0x226)](_0x577064,_0x4a97bb(0x2ab)+this[_0x4a97bb(0x24b)],()=>{const _0x17dfbb=_0x4a97bb;0x2===_0x577064[_0x17dfbb(0x248)][_0x17dfbb(0x26f)](this[_0x17dfbb(0x24b)])[_0x17dfbb(0x22e)]&&_0x552fee[_0x17dfbb(0x225)]();});}async[_0x14fef6(0x1c1)](_0x451d21,_0x5680e3,_0x35d096,_0x8049b0){const _0x2a2735=_0x14fef6;if(!this[_0x2a2735(0x1b4)]&&this[_0x2a2735(0x1e8)][_0x2a2735(0x281)]==_0x5680e3){const _0x807fc=this[_0x2a2735(0x234)](_0x35d096,_0x8049b0);await this[_0x2a2735(0x2a1)](_0x807fc),this[_0x2a2735(0x1fe)](_0x807fc,_0x5680e3,_0x35d096[_0x2a2735(0x2a5)])||this[_0x2a2735(0x221)](_0x2a2735(0x25d));}}async[_0x14fef6(0x1b8)](){const _0x4baa14=_0x14fef6;this[_0x4baa14(0x273)]();const {locale:_0x38249a}=this[_0x4baa14(0x21d)];let _0x209bba;try{_0x209bba=await this[_0x4baa14(0x1e1)][_0x4baa14(0x28a)]();}catch(_0x5403fc){const _0xbb0ae9=_0xed4dfd(_0x38249a,_0x4baa14(0x2a3));return void this[_0x4baa14(0x2ad)](_0xbb0ae9);}const _0x1767b3=_0x209bba[_0x4baa14(0x289)]||_0x209bba[_0x4baa14(0x27e)];if(this[_0x4baa14(0x256)]===_0x1767b3[_0x4baa14(0x2a5)])await this[_0x4baa14(0x2b4)](this[_0x4baa14(0x21d)][_0x4baa14(0x271)][_0x4baa14(0x253)][_0x4baa14(0x285)][_0x4baa14(0x1da)](),!0x0);else{const _0x4100b8=_0xed4dfd(_0x38249a,_0x4baa14(0x28c));this[_0x4baa14(0x2ad)](_0x4100b8);}}[_0x14fef6(0x273)](){const _0x3756de=_0x14fef6;this[_0x3756de(0x1e1)][_0x3756de(0x215)](),this[_0x3756de(0x278)]=[],clearTimeout(this[_0x3756de(0x210)]),this[_0x3756de(0x24d)](this[_0x3756de(0x1e1)]);}[_0x14fef6(0x28d)](_0x144ca9){const _0x33d75e=_0x14fef6,_0x25df9a=this[_0x33d75e(0x21d)][_0x33d75e(0x246)][_0x33d75e(0x26f)](_0x57d49a);this[_0x33d75e(0x226)](_0x25df9a,_0x33d75e(0x2ab)+this[_0x33d75e(0x24b)],(_0x2d4f46,{session:_0x56bf4d})=>{const _0x25270e=_0x33d75e;if(_0x56bf4d['id']===_0x25df9a[_0x25270e(0x299)]){_0x2d4f46[_0x25270e(0x2a8)]();const _0x48e639=this[_0x25270e(0x21d)][_0x25270e(0x246)][_0x25270e(0x1b5)](_0x25270e(0x212))&&this[_0x25270e(0x21d)][_0x25270e(0x246)][_0x25270e(0x26f)](_0x25270e(0x212));let _0x37b62a=_0x56bf4d[_0x25270e(0x2b1)];_0x48e639&&_0x48e639[_0x25270e(0x2ac)]&&(_0x37b62a=_0x37b62a[_0x25270e(0x1fd)](_0x2637a4=>_0x25270e(0x254)!==_0x2637a4)),this[_0x25270e(0x21d)][_0x25270e(0x246)][_0x25270e(0x26f)](_0x25270e(0x1f9))[_0x25270e(0x290)](_0x37b62a,this[_0x25270e(0x24b)]);}}),_0x25df9a[_0x33d75e(0x220)](this[_0x33d75e(0x24b)],_0x144ca9);}[_0x14fef6(0x22c)](){const _0x45961d=_0x14fef6,_0xfcc070=this[_0x45961d(0x21d)][_0x45961d(0x217)][_0x45961d(0x258)];this[_0x45961d(0x21d)][_0x45961d(0x217)][_0x45961d(0x258)]=(..._0x3f5b83)=>{const _0x2fc1d7=_0x45961d;if(!_0x3f5b83[_0x3f5b83[_0x2fc1d7(0x22e)]-0x1][_0x2fc1d7(0x25f)])throw new _0x519a9c(_0x2fc1d7(0x284),this);_0xfcc070[_0x2fc1d7(0x239)](this[_0x2fc1d7(0x21d)][_0x2fc1d7(0x217)],_0x3f5b83);};}[_0x14fef6(0x1d0)](){const _0x1cae88=_0x14fef6;this[_0x1cae88(0x21d)][_0x1cae88(0x217)]['on'](_0x1cae88(0x1d4),(_0x6f6503,[_0x39e185])=>{const _0x5c5364=_0x1cae88;if(this[_0x5c5364(0x1e8)][_0x5c5364(0x281)])throw new _0x519a9c(_0x5c5364(0x247),this);_0x6f6503[_0x5c5364(0x259)](),this[_0x5c5364(0x26a)]();const _0x4b0654=this[_0x5c5364(0x21d)][_0x5c5364(0x1cb)][_0x5c5364(0x26f)](_0x5c5364(0x207)),_0x3cd73d=this[_0x5c5364(0x1dd)](_0x39e185,_0x4b0654);0x0==_0x3cd73d[_0x5c5364(0x22e)]&&_0x3cd73d[_0x5c5364(0x2a9)](new _0x296379(0x0)),_0x6f6503[_0x5c5364(0x1f2)]=this[_0x5c5364(0x2b4)](_0x3cd73d)[_0x5c5364(0x27c)](()=>{const _0x1be752=_0x5c5364;this[_0x1be752(0x21d)][_0x1be752(0x246)][_0x1be752(0x26f)](_0x36b1bf)[_0x1be752(0x263)](this),this[_0x1be752(0x21d)][_0x1be752(0x217)][_0x1be752(0x266)](_0x1be752(0x292));})[_0x5c5364(0x23e)](_0x42a395=>this[_0x5c5364(0x221)](_0x5c5364(0x1f8),_0x42a395))[_0x5c5364(0x2b0)](()=>this[_0x5c5364(0x231)]());},{'priority':_0x1cae88(0x1ee)}),this[_0x1cae88(0x21d)]['on'](_0x1cae88(0x293),async(_0x55bf55,[_0x321b8f,_0x436b41])=>{const _0x3fd96c=_0x1cae88;_0x55bf55[_0x3fd96c(0x259)]();const _0x3c2099=this[_0x3fd96c(0x21d)][_0x3fd96c(0x271)][_0x3fd96c(0x253)][_0x3fd96c(0x213)](_0x321b8f);if(!this[_0x3fd96c(0x1f4)][_0x3fd96c(0x1b5)](_0x321b8f)){const _0x2af0c4=_0x436b41&&_0x436b41[_0x3fd96c(0x217)]?_0x436b41[_0x3fd96c(0x217)]:'',_0x5b5b27=_0x436b41&&_0x436b41[_0x3fd96c(0x29d)]?_0x436b41[_0x3fd96c(0x29d)]:{};await this[_0x3fd96c(0x216)](_0x321b8f,_0x2af0c4,_0x5b5b27);}this[_0x3fd96c(0x21d)][_0x3fd96c(0x271)][_0x3fd96c(0x28f)]({'isUndoable':!0x1},()=>{const _0x17f98a=_0x3fd96c;_0x3c2099[_0x17f98a(0x267)]=!0x0,this[_0x17f98a(0x21d)][_0x17f98a(0x271)][_0x17f98a(0x253)][_0x17f98a(0x2b2)][_0x17f98a(0x1fb)](_0x3c2099);});},{'priority':_0x1cae88(0x1ee)});}async[_0x14fef6(0x2a1)](_0x23eb1c){const _0x7133b4=_0x14fef6,_0x312e68=this[_0x7133b4(0x21d)][_0x7133b4(0x246)][_0x7133b4(0x26f)](_0x1a0e4f),{connection:_0xb32637}=this[_0x7133b4(0x21d)][_0x7133b4(0x246)][_0x7133b4(0x26f)](_0x36b1bf),_0x567b17=new Set();for(const _0x7a241d of _0x23eb1c){const _0x27362e=_0x7a241d[_0x7133b4(0x29f)];_0x27362e&&!_0x312e68[_0x7133b4(0x228)](_0x27362e)&&_0x567b17[_0x7133b4(0x224)](_0x27362e);}if(0x0===_0x567b17[_0x7133b4(0x1b9)])return;const _0x9262c3=await _0x3fa651[_0x7133b4(0x243)](_0xb32637,Array[_0x7133b4(0x1f3)](_0x567b17));for(const _0x5ae78c of _0x9262c3)_0x312e68[_0x7133b4(0x228)](_0x5ae78c['id'])||_0x312e68[_0x7133b4(0x1d8)](_0x5ae78c);}[_0x14fef6(0x1dd)](_0x27af12,_0x4451a7={}){const _0xd6a2e0=_0x14fef6,_0x26dc79=this[_0xd6a2e0(0x21d)][_0xd6a2e0(0x271)],_0x1fcc11=[];let _0x4bcea0=0x0;const _0x2e9e8f=_0xd6a2e0(0x265)==typeof _0x27af12?{'main':_0x27af12}:_0x27af12;for(const _0x230759 of Object[_0xd6a2e0(0x251)](_0x2e9e8f)){if(!this[_0xd6a2e0(0x1e8)][_0xd6a2e0(0x1e5)][_0xd6a2e0(0x1b5)](_0x230759))throw new _0x519a9c(_0xd6a2e0(0x24a),this);const _0x5355f0=this[_0xd6a2e0(0x21d)][_0xd6a2e0(0x217)][_0xd6a2e0(0x1b7)](_0x2e9e8f[_0x230759]),_0x4d6e7e=this[_0xd6a2e0(0x1e8)][_0xd6a2e0(0x213)](_0x230759),_0x8ad6c9=new _0x11d6c2(_0x26dc79[_0xd6a2e0(0x1d2)](_0x4d6e7e,0x0),_0x5355f0,_0x4bcea0++);_0x1fcc11[_0xd6a2e0(0x2a9)](_0x8ad6c9);for(const [_0x3bf147,_0x32d967]of _0x5355f0[_0xd6a2e0(0x204)]){const _0x520475=_0x26dc79[_0xd6a2e0(0x26d)](_0x26dc79[_0xd6a2e0(0x209)](_0x4d6e7e,_0x32d967[_0xd6a2e0(0x1ba)][_0xd6a2e0(0x205)][_0xd6a2e0(0x2a6)]()),_0x26dc79[_0xd6a2e0(0x209)](_0x4d6e7e,_0x32d967[_0xd6a2e0(0x261)][_0xd6a2e0(0x205)][_0xd6a2e0(0x2a6)]())),_0x599d08=new _0x280c2c(_0x3bf147,null,_0x520475,_0x26dc79[_0xd6a2e0(0x204)],!0x0,_0x4bcea0++);_0x1fcc11[_0xd6a2e0(0x2a9)](_0x599d08);}}if(_0x4451a7)for(const [_0x4db204,_0x1571b0]of Object[_0xd6a2e0(0x1cf)](_0x4451a7)){const _0x4f143d=_0x26dc79[_0xd6a2e0(0x253)][_0xd6a2e0(0x213)](_0x4db204);if(!_0x4f143d)throw new _0x519a9c(_0xd6a2e0(0x1dc),null);for(const [_0x5b3145,_0x4d6005]of Object[_0xd6a2e0(0x1cf)](_0x1571b0))if(null!==_0x4d6005){const _0x8c969f=new _0x831b7a(_0x4f143d,_0x5b3145,null,_0x4d6005,_0x4bcea0++);_0x1fcc11[_0xd6a2e0(0x2a9)](_0x8c969f);}}return _0x1fcc11;}async[_0x14fef6(0x216)](_0x49af18,_0x195ab4,_0x414de4){const _0x262cee=_0x14fef6;this[_0x262cee(0x1dd)]({[_0x49af18]:_0x195ab4},{[_0x49af18]:_0x414de4})[_0x262cee(0x201)]((_0x7fc9b8,_0xdd1458)=>{const _0x5a2d4=_0x262cee;_0x7fc9b8[_0x5a2d4(0x2af)]=this[_0x5a2d4(0x1e8)][_0x5a2d4(0x281)]+_0xdd1458,_0x7fc9b8[_0x5a2d4(0x25a)]=!0x0,this[_0x5a2d4(0x269)](_0x7fc9b8);}),this[_0x262cee(0x26e)](),await this[_0x262cee(0x1c4)]();}async[_0x14fef6(0x1c9)](_0x13cd09,_0x201c18){const _0x379b09=_0x14fef6;let _0x5d94b8;this[_0x379b09(0x1de)]=_0x13cd09[_0x379b09(0x20c)];const _0xee4d7c=_0x13cd09[_0x379b09(0x22b)]&&!_0x13cd09[_0x379b09(0x274)],_0x43b05d=_0xee4d7c?0x0:_0x13cd09[_0x379b09(0x217)][_0x379b09(0x2af)];if(_0x201c18[_0x379b09(0x201)](_0x3df7a7=>{const _0x5f104f=_0x379b09;_0x3df7a7[_0x5f104f(0x25a)]=!0x0,_0x3df7a7[_0x5f104f(0x1f0)]=_0x13cd09[_0x5f104f(0x2a2)],_0x3df7a7[_0x5f104f(0x29f)]=null;}),_0xee4d7c)_0x5d94b8=_0x201c18,this[_0x379b09(0x1d9)](_0x5d94b8,_0xee4d7c);else{if(_0x13cd09[_0x379b09(0x274)]){const _0x53e31e=this[_0x379b09(0x1dd)](_0x13cd09[_0x379b09(0x274)]);this[_0x379b09(0x1e8)][_0x379b09(0x285)][_0x379b09(0x281)]=-_0x53e31e[_0x379b09(0x22e)],_0x53e31e[_0x379b09(0x201)](_0x4ea996=>{const _0x238493=_0x379b09;_0x4ea996[_0x238493(0x2af)]-=_0x53e31e[_0x238493(0x22e)],_0x4ea996[_0x238493(0x1f0)]=_0x13cd09[_0x238493(0x2a2)],_0x4ea996[_0x238493(0x25a)]=!0x0,_0x4ea996[_0x238493(0x29f)]=null;}),this[_0x379b09(0x1d9)](_0x53e31e,!0x0),this[_0x379b09(0x200)][_0x379b09(0x281)]=-_0x53e31e[_0x379b09(0x22e)]+this[_0x379b09(0x1de)],this[_0x379b09(0x2a4)](_0x53e31e);}this[_0x379b09(0x1e8)][_0x379b09(0x285)][_0x379b09(0x281)]=_0x43b05d,_0x5d94b8=this[_0x379b09(0x234)](_0x13cd09[_0x379b09(0x217)],_0x13cd09[_0x379b09(0x2a7)]),await this[_0x379b09(0x2a1)](_0x5d94b8),this[_0x379b09(0x1d9)](_0x5d94b8,_0xee4d7c);}_0x13cd09[_0x379b09(0x2a5)]&&(this[_0x379b09(0x1bb)][_0x379b09(0x1bf)](_0x5d94b8,_0x13cd09[_0x379b09(0x2a5)]),this[_0x379b09(0x256)]=_0x13cd09[_0x379b09(0x2a5)]),this[_0x379b09(0x200)][_0x379b09(0x281)]=_0x43b05d+this[_0x379b09(0x1de)],this[_0x379b09(0x2a4)](_0x5d94b8),_0x201c18[_0x379b09(0x1fd)](_0x18738c=>{const _0x6d0376=_0x379b09,_0x1e7982=this[_0x6d0376(0x206)](_0x18738c);return _0x1e7982&&!this[_0x6d0376(0x1f4)][_0x6d0376(0x1b5)](_0x1e7982);})[_0x379b09(0x201)]((_0x48adff,_0x255bbc)=>{const _0x3f5110=_0x379b09;_0x48adff[_0x3f5110(0x2af)]=this[_0x3f5110(0x1e8)][_0x3f5110(0x281)]+_0x255bbc,this[_0x3f5110(0x269)](_0x48adff);}),this[_0x379b09(0x296)]()?(this[_0x379b09(0x1ef)]=0x0,this[_0x379b09(0x26e)](!0x0),await this[_0x379b09(0x1c4)]()):(this[_0x379b09(0x1b4)]=!0x1,this[_0x379b09(0x231)]());}[_0x14fef6(0x221)](_0x173ccd,_0x3345f1){const _0x2f523a=_0x14fef6;throw this[_0x2f523a(0x1b4)]=!0x0,_0x3345f1&&console[_0x2f523a(0x20f)](_0x3345f1),new _0x519a9c(_0x173ccd,this[_0x2f523a(0x21d)]);}[_0x14fef6(0x269)](_0x20997f){const _0x54693c=_0x14fef6;this[_0x54693c(0x27a)][_0x54693c(0x1b5)](_0x20997f)||(this[_0x54693c(0x27a)][_0x54693c(0x224)](_0x20997f),this[_0x54693c(0x278)][_0x54693c(0x2a9)](_0x20997f),this[_0x54693c(0x1d6)]||_0x54693c(0x227)==_0x20997f[_0x54693c(0x1b3)]&&!_0x20997f[_0x54693c(0x22d)]||this[_0x54693c(0x26a)]());}[_0x14fef6(0x26e)](_0x312f7f=!0x1){const _0x15e175=_0x14fef6;!_0x312f7f&&this[_0x15e175(0x1b4)]||(this[_0x15e175(0x1b4)]=!0x0,clearTimeout(this[_0x15e175(0x210)]),this[_0x15e175(0x210)]=setTimeout(()=>{const _0x2d246a=_0x15e175;this[_0x2d246a(0x276)]()[_0x2d246a(0x27c)](_0x39f8d6=>{const _0x8f7af5=_0x2d246a;_0x39f8d6&&(this[_0x8f7af5(0x231)](),this[_0x8f7af5(0x1b4)]=!0x1);})[_0x2d246a(0x23e)](_0x5b3dda=>{const _0x1000a9=_0x2d246a;if(this[_0x1000a9(0x231)](),this[_0x1000a9(0x1b4)]=!0x1,!function(_0x2e074e){const _0x56feb4=_0x1000a9;return _0x2e074e[_0x56feb4(0x21c)][_0x56feb4(0x1bd)](_0x56feb4(0x222))||_0x2e074e[_0x56feb4(0x21c)][_0x56feb4(0x1bd)](_0x56feb4(0x2ae))||_0x2e074e[_0x56feb4(0x21c)][_0x56feb4(0x1bd)](_0x56feb4(0x1e3));}(_0x5b3dda))throw _0x5b3dda;});},this[_0x15e175(0x1ef)]));}[_0x14fef6(0x1c4)](){return new Promise(_0x1834d0=>{const _0x2bf17c=_0x2bc5;this['on'](_0x2bf17c(0x236),()=>{_0x1834d0();});});}async[_0x14fef6(0x276)](){const _0x32be10=_0x14fef6,_0x1d03c6=this[_0x32be10(0x21d)][_0x32be10(0x246)][_0x32be10(0x26f)](_0x1d59fd);if(this[_0x32be10(0x275)]()&&(_0x1d03c6[_0x32be10(0x225)](),this[_0x32be10(0x1ec)]=!0x1),!this[_0x32be10(0x296)]())return!0x0;const _0x313101=[...this[_0x32be10(0x278)]];for(const _0x491f03 of _0x313101)_0x491f03[_0x32be10(0x240)]=this[_0x32be10(0x1e8)][_0x32be10(0x285)][_0x32be10(0x286)](_0x491f03);const _0x15ae4d=this[_0x32be10(0x1bb)][_0x32be10(0x1e0)](_0x313101),_0x3ef2a1=K++,_0x25d39c=this[_0x32be10(0x1c8)](_0x313101),_0x51b667=await this[_0x32be10(0x1e1)][_0x32be10(0x232)](_0x25d39c,_0x25d39c[_0x32be10(0x2af)],_0x15ae4d);try{return await this[_0x32be10(0x283)](_0x313101,_0x51b667,_0x3ef2a1);}catch(_0x2f52fa){return this[_0x32be10(0x221)](_0x32be10(0x298),_0x2f52fa);}}async[_0x14fef6(0x283)](_0x4a32b7,_0xcd9c6b,_0xa6db3f){const _0x10c9b7=_0x14fef6;if(_0x10c9b7(0x20f)in _0xcd9c6b)throw _0xcd9c6b[_0x10c9b7(0x20f)];let _0x16cf9c=!0x1;if(_0xcd9c6b[_0x10c9b7(0x22b)]){_0xcd9c6b[_0x10c9b7(0x2a5)]&&(this[_0x10c9b7(0x256)]=_0xcd9c6b[_0x10c9b7(0x2a5)]),this[_0x10c9b7(0x278)]=this[_0x10c9b7(0x278)][_0x10c9b7(0x1fd)](_0x5ca9ed=>!_0x4a32b7[_0x10c9b7(0x28e)](_0x5ca9ed));for(const _0x598bfa of _0x4a32b7)_0x598bfa[_0x10c9b7(0x1f0)]=_0x10c9b7(0x1f6)in _0xcd9c6b&&_0xcd9c6b[_0x10c9b7(0x1f6)]||void 0x0;Q(_0x4a32b7,_0xcd9c6b[_0x10c9b7(0x281)]-_0x4a32b7[_0x10c9b7(0x22e)]),this[_0x10c9b7(0x2a4)](_0x4a32b7);const _0x57a41a=_0x4a32b7[_0x10c9b7(0x1fd)](_0x16bc3d=>{const _0x1f34ec=_0x10c9b7;if(!_0x16bc3d[_0x1f34ec(0x25a)])return!0x1;const _0x5528ba=this[_0x1f34ec(0x206)](_0x16bc3d);return _0x5528ba&&!this[_0x1f34ec(0x1f4)][_0x1f34ec(0x1b5)](_0x5528ba);});Q(_0x57a41a,this[_0x10c9b7(0x1e8)][_0x10c9b7(0x281)]),this[_0x10c9b7(0x1d9)](_0x57a41a),_0x16cf9c=!0x0,this[_0x10c9b7(0x1ef)]=this[_0x10c9b7(0x2aa)];}else{const _0x28aa4c=this[_0x10c9b7(0x234)](_0xcd9c6b[_0x10c9b7(0x217)],_0xcd9c6b[_0x10c9b7(0x2a7)])[_0x10c9b7(0x1fd)](_0x3f37a9=>_0x3f37a9[_0x10c9b7(0x2af)]>=this[_0x10c9b7(0x1ed)]);_0x28aa4c[_0x10c9b7(0x201)](_0x47ab9b=>this[_0x10c9b7(0x214)](_0x47ab9b)),this[_0x10c9b7(0x278)]=this[_0x10c9b7(0x278)][_0x10c9b7(0x1fd)](_0x26c762=>!_0x26c762[_0x10c9b7(0x25a)]||!this[_0x10c9b7(0x1f4)][_0x10c9b7(0x1b5)](this[_0x10c9b7(0x206)](_0x26c762))),this[_0x10c9b7(0x278)][_0x10c9b7(0x22e)]&&Q(this[_0x10c9b7(0x278)],this[_0x10c9b7(0x278)][0x0][_0x10c9b7(0x2af)]),await this[_0x10c9b7(0x2a1)](_0x28aa4c),_0x16cf9c=this[_0x10c9b7(0x1fe)](_0x28aa4c,_0xcd9c6b[_0x10c9b7(0x281)],_0xcd9c6b[_0x10c9b7(0x2a5)]),this[_0x10c9b7(0x1ef)]=Math[_0x10c9b7(0x257)](this[_0x10c9b7(0x1ef)]/0x2);}return _0x16cf9c?!this[_0x10c9b7(0x296)]()||(this[_0x10c9b7(0x26e)](!0x0),!0x1):this[_0x10c9b7(0x221)](_0x10c9b7(0x1bc));}[_0x14fef6(0x1fe)](_0x56f8a4,_0x2c9e90,_0x29b69e){const _0x5cc101=_0x14fef6;try{const _0x3a4a15={'document':this[_0x5cc101(0x1e8)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xcda988,operationsB:_0x3cae7c,originalOperations:_0x5b6a49}=_0x33f9d9(_0x56f8a4,this[_0x5cc101(0x278)],_0x3a4a15);Q(_0xcda988,this[_0x5cc101(0x1e8)][_0x5cc101(0x281)]),Q(_0x3cae7c,_0x2c9e90);for(const _0x444964 of _0xcda988){const _0x226413=_0x5b6a49[_0x5cc101(0x26f)](_0x444964);_0x444964[_0x5cc101(0x29f)]=_0x226413?_0x226413[_0x5cc101(0x29f)]:null;}_0x29b69e&&(this[_0x5cc101(0x1bb)][_0x5cc101(0x1bf)](_0x56f8a4,_0x29b69e),this[_0x5cc101(0x256)]=_0x29b69e),this[_0x5cc101(0x278)]=[..._0x3cae7c],this[_0x5cc101(0x1d9)](_0xcda988),this[_0x5cc101(0x2a4)](_0x56f8a4);}catch(_0x146c26){return console[_0x5cc101(0x20f)](_0x146c26),!0x1;}return!0x0;}[_0x14fef6(0x1d9)](_0x141d07,_0x4a0821=!0x1){const _0x514ce9=_0x14fef6;this[_0x514ce9(0x21d)][_0x514ce9(0x271)][_0x514ce9(0x28f)]({'isUndoable':!0x1,'isLocal':!0x1},_0xc40e77=>{const _0x5c6d29=_0x514ce9;for(const _0x5c471c of _0x141d07)this[_0x5c6d29(0x27a)][_0x5c6d29(0x224)](_0x5c471c),this[_0x5c6d29(0x214)](_0x5c471c),_0xc40e77[_0x5c6d29(0x1df)][_0x5c6d29(0x1c7)](_0x5c471c),this[_0x5c6d29(0x21d)][_0x5c6d29(0x271)][_0x5c6d29(0x277)](_0x5c471c);});}[_0x14fef6(0x214)](_0x4f3514){const _0x196e6c=_0x14fef6,_0x3e9900=this[_0x196e6c(0x206)](_0x4f3514);_0x3e9900&&this[_0x196e6c(0x1f4)][_0x196e6c(0x224)](_0x3e9900);}[_0x14fef6(0x206)](_0x4b7dd7){const _0x4d58ba=_0x14fef6;let _0x233d21,_0x1edec2;switch(_0x4b7dd7[_0x4d58ba(0x1b3)]){case _0x4d58ba(0x242):_0x233d21=_0x4b7dd7[_0x4d58ba(0x282)][_0x4d58ba(0x294)];break;case _0x4d58ba(0x227):if(_0x1edec2=_0x4b7dd7[_0x4d58ba(0x262)],!_0x1edec2)return null;_0x233d21=_0x1edec2[_0x4d58ba(0x294)];break;case _0x4d58ba(0x1c0):_0x233d21=_0x4b7dd7[_0x4d58ba(0x294)];break;case _0x4d58ba(0x229):_0x233d21=_0x4b7dd7[_0x4d58ba(0x1f5)];break;case _0x4d58ba(0x202):_0x233d21=_0x4b7dd7[_0x4d58ba(0x29a)][_0x4d58ba(0x294)];break;default:return null;}return _0x233d21[_0x4d58ba(0x29b)];}[_0x14fef6(0x2a4)](_0x4f40a3){const _0x151feb=_0x14fef6;_0x4f40a3[_0x151feb(0x201)](_0x4acd89=>{const _0x93128a=_0x151feb,_0x406771=_0x4acd89[_0x93128a(0x21b)]();_0x406771[_0x93128a(0x29f)]=_0x4acd89[_0x93128a(0x29f)],_0x406771[_0x93128a(0x25a)]=!!_0x4acd89[_0x93128a(0x25a)],_0x406771[_0x93128a(0x1f0)]=_0x4acd89[_0x93128a(0x1f0)],_0x406771[_0x93128a(0x2af)]+=this[_0x93128a(0x1de)],_0x4acd89[_0x93128a(0x1c3)]&&this[_0x93128a(0x24c)][_0x93128a(0x224)](_0x406771),this[_0x93128a(0x200)][_0x93128a(0x1c7)](_0x406771);});}[_0x14fef6(0x2ad)](_0x4d4462){const _0xdfbe6b=_0x14fef6,_0xc4649b=this[_0xdfbe6b(0x21d)][_0xdfbe6b(0x246)][_0xdfbe6b(0x26f)](_0xdfbe6b(0x1e4)),_0x4a82d7=this[_0xdfbe6b(0x21d)][_0xdfbe6b(0x233)];_0x4d4462||(_0x4d4462=_0xed4dfd(_0x4a82d7,_0xdfbe6b(0x297))),_0xc4649b[_0xdfbe6b(0x23c)](_0x4d4462,{'title':_0xed4dfd(_0x4a82d7,_0xdfbe6b(0x1ce)),'namespace':_0xdfbe6b(0x235)}),this[_0xdfbe6b(0x1e2)]=!0x0,clearTimeout(this[_0xdfbe6b(0x210)]),this[_0xdfbe6b(0x278)]=[],this[_0xdfbe6b(0x21d)][_0xdfbe6b(0x246)][_0xdfbe6b(0x26f)](_0x36b1bf)[_0xdfbe6b(0x1b6)]();}[_0x14fef6(0x26a)](){const _0x5aec9d=_0x14fef6;this[_0x5aec9d(0x1d6)]||(this[_0x5aec9d(0x1d6)]=this[_0x5aec9d(0x21d)][_0x5aec9d(0x246)][_0x5aec9d(0x26f)](_0x24abd5)[_0x5aec9d(0x224)](_0xed4dfd(this[_0x5aec9d(0x21d)][_0x5aec9d(0x233)],_0x5aec9d(0x25e))));}[_0x14fef6(0x231)](){const _0x1e875b=_0x14fef6;this[_0x1e875b(0x1d6)]&&(this[_0x1e875b(0x21d)][_0x1e875b(0x246)][_0x1e875b(0x26f)](_0x24abd5)[_0x1e875b(0x23d)](this[_0x1e875b(0x1d6)]),this[_0x1e875b(0x1d6)]=null);}[_0x14fef6(0x1c8)](_0x1bfc7b){const _0x1ee27b=_0x14fef6,_0x4556fd=_0x1bfc7b[_0x1ee27b(0x241)](_0x4cd6f4=>_0x4cd6f4[_0x1ee27b(0x27f)]());return this[_0x1ee27b(0x1c6)][_0x1ee27b(0x2b5)](_0x4556fd);}[_0x14fef6(0x234)](_0x1b606d,_0x132fa7){const _0x9e1788=_0x14fef6;return this[_0x9e1788(0x1c6)][_0x9e1788(0x1fa)](_0x1b606d)[_0x9e1788(0x241)]((_0x1e47f9,_0x4b229e)=>{const _0x21607c=_0x9e1788,_0x1f0e00=_0x21607c(0x1d4)==_0x132fa7[_0x4b229e][_0x21607c(0x1b3)];if(_0x21607c(0x208)==_0x1e47f9[_0x21607c(0x1ca)]){const _0xc37b5c=_0x1e47f9[_0x21607c(0x282)][_0x21607c(0x294)];!this[_0x21607c(0x1e8)][_0x21607c(0x213)](_0xc37b5c)&&(this[_0x21607c(0x1e8)][_0x21607c(0x250)](_0x21607c(0x280),_0xc37b5c)[_0x21607c(0x238)]=!0x1);}const _0x504b9f=_0x12f855[_0x21607c(0x287)](_0x1e47f9,this[_0x21607c(0x1e8)]);return _0x504b9f[_0x21607c(0x240)]=_0x1e47f9[_0x21607c(0x240)],_0x504b9f[_0x21607c(0x25a)]=_0x1f0e00,_0x504b9f[_0x21607c(0x29f)]=_0x1f0e00?null:_0x132fa7[_0x4b229e][_0x21607c(0x272)],_0x504b9f[_0x21607c(0x1c3)]=_0x21607c(0x23a)===_0x132fa7[_0x4b229e][_0x21607c(0x1b3)],_0x504b9f[_0x21607c(0x1f0)]=_0x132fa7[_0x4b229e][_0x21607c(0x1f0)],_0x504b9f;});}[_0x14fef6(0x1d5)](){const _0x51eae4=_0x14fef6;this[_0x51eae4(0x1ec)]=!0x0,this[_0x51eae4(0x275)]()?this[_0x51eae4(0x26e)]():this[_0x51eae4(0x1ec)]=!0x1;}[_0x14fef6(0x275)](){const _0x556785=_0x14fef6,_0x2fde03=this[_0x556785(0x21d)][_0x556785(0x246)][_0x556785(0x26f)](_0x57d49a)[_0x556785(0x248)][_0x556785(0x26f)](this[_0x556785(0x24b)]);return!this[_0x556785(0x21d)][_0x556785(0x295)]&&!!_0x2fde03&&_0x2fde03[_0x556785(0x22e)]>0x1&&this[_0x556785(0x1ec)];}[_0x14fef6(0x296)](){const _0x9d60ee=_0x14fef6;return this[_0x9d60ee(0x278)][_0x9d60ee(0x22e)]>0x0||this[_0x9d60ee(0x275)]();}}l[_0x14fef6(0x20a)]=_0x2739d0;export default l;function _0x1f5d(){const _0x312b2d=['_handleReconnectionError','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','baseVersion','finally','permissions','differ','11698258KkRJzI','_connectService','compress','bind','type','_isPendingUpdate','has','destroy','parse','_connectAfterSessionHasBeenFlushed','size','start','_operationIdentifier','realtimecollaborationclient-handleserverresponse','startsWith','collaboration.channelId','setIdForTheLastOperation','addRootAttribute','_handleReceivedOperations','128IvTevo','_isDisconnection','_waitUntilSynced','12YbxnML','_compressor','addOperation','_compressOperations','_handleInitialConnectionData','__className','config','reconnect','view','Synchronization\x20issue','entries','_setUpDataInit','_isConnected','createPositionAt','isDocumentOperation','init','_refreshUserSelectionMarkers','_pendingAction','lastSyncVersion','addUser','_applyOperationsSet','getOperations','disconnected','multi-root-editor-root-attributes-no-root','_getOperationsFromInitData','_offset','batch','getIdOfTheLastOperation','_service','_hasSynchronizationProblem','cloud-services-internal-error:\x20Request\x20timeout.','Notification','roots','cloudDocumentVersion','rtc-destroyed','_document','155424BqKBkR','16LPsntj','1165239HCXpfb','_hasSelectionChanged','_lastServerVersion','high','_currentBufferDelay','createdAt','pluginName','return','from','_knownRootNames','affectedSelectable','lastOperationAcceptedAt','change:hasDomSelection','realtimecollaborationclient-init-connection-failed','Permissions','decompress','_bufferRootLoad','connect','filter','_handleExternalOperations','connected','serverHistory','forEach','move','editing','markers','path','_getAffectedRoot','rootsAttributes','InsertOperation','createPositionFromPath','CollaborativeEditingService','90LjlHmA','offset','cloudServices.bundleVersion','getOperationAuthor','error','_sendBufferedOperationsDelayId','unregister','CommentsOnly','getRoot','_addKnownRoot','disconnect','_loadRoot','data','getConnectedSessions','_operationToId','connection','clone','message','editor','404','realtimecollaborationclient-initservice-internal-error','register','_crash','cloud-services-internal-error:\x20Not\x20connected.','66951QrZVFe','add','createUserMarkerOperations','listenTo','marker','getUser','addRoot','selection','wereChangesApplied','_initThrowingOnDataSet','affectsData','length','change:range','409','_clearPendingAction','sendOperations','locale','_decompressOperations','real-time-collaboration','change:_isPendingUpdate','collaboration','_isAttached','apply','cs:removeUser','2633743EWBQMR','showWarning','remove','catch','state','wasUndone','map','insert','getMany','code','realtimecollaborationclient-init-session-connection-error','plugins','realtimecollaborationclient-init-document-already-initialized','channelSessions','define','realtimecollaborationclient-init-non-existent-root','_channelId','_disconnectionOperations','stopListening','disableReadOnlyMode','328590eUByuy','createRoot','keys','rtc-offline','document','document:write','operationsReceived','_lastSyncedOperationId','round','set','stop','_isInit','enableReadOnlyMode','4663650bhaosA','realtimecollaborationclient-initservice-incorrect-server-operation','PENDING_ACTION_SENDING_DATA','suppressErrorInCollaboration','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','end','newRange','addToReconnectionStack','sessionId','string','fire','_isLoaded','_handleReconnectionResponse','_saveOperationInBuffer','_setPendingAction','RealTimeCollaborationClient','_isEditingAllowed','createRange','_sendBufferedOperationsDelayed','get','reconnection:\x20flushed\x20session','model','userId','_disconnectService','initData','_shouldSendSelectionUpdate','_sendBufferedOperations','applyOperation','_bufferedOperations','collaboration-missing-channelid','_knownOperations','_ignoredOperations','then','reset','lastDocumentSession','toJSON','$root','version','position','_handleServerResponse','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','history','isUndoneOperation','fromJSON','2kGtcgd','currentDocumentSession','getDocumentDetails','requires','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initSessionsHandling','includes','enqueueChange','setPermissions','directChange','ready','loadRoot','root','isReadOnly','_shouldSendUpdate','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-sendbufferedoperations','mySessionId','targetPosition','rootName','removeFromReconnectionStack','attributes','change:_isEditingAllowed','_authorId','_handleSendingSelectionMarkers','_fetchMissingUsers','sessionCreatedAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_updateServerHistory','lastOperationId','slice','metadata','off','push','_baseBufferDelay','sessionAdd:','isEnabled'];_0x1f5d=function(){return _0x312b2d;};return _0x1f5d();}class J extends Error{}function Q(_0x82e113,_0x3e4a75){const _0x3273f5=_0x14fef6;for(const _0x2318d5 of _0x82e113)_0x2318d5[_0x3273f5(0x2af)]=_0x3e4a75++;}class X{constructor(_0x60c399){const _0x51d9df=_0x14fef6;this[_0x51d9df(0x27b)]=_0x60c399,this[_0x51d9df(0x219)]=new WeakMap();}[_0x14fef6(0x1e0)](_0x336deb){const _0x13d82b=_0x14fef6;let _0x54bc4c=_0x336deb[_0x13d82b(0x22e)];for(;_0x54bc4c--;){const _0x2018cc=_0x336deb[_0x54bc4c];if(!this[_0x13d82b(0x27b)][_0x13d82b(0x1b5)](_0x2018cc)){if(!this[_0x13d82b(0x219)][_0x13d82b(0x1b5)](_0x2018cc)){const _0x768d72=_0x27ee69()[_0x13d82b(0x2a6)](0x1,0x12);this[_0x13d82b(0x219)][_0x13d82b(0x258)](_0x2018cc,_0x768d72);}return this[_0x13d82b(0x219)][_0x13d82b(0x26f)](_0x2018cc);}}}[_0x14fef6(0x1bf)](_0x56122d,_0x416841){const _0xf8950c=_0x14fef6;if(!_0x416841)return;let _0x5c333a=_0x56122d[_0xf8950c(0x22e)];for(;_0x5c333a--;){const _0x103f1b=_0x56122d[_0x5c333a];this[_0xf8950c(0x27b)][_0xf8950c(0x1b5)](_0x103f1b)||this[_0xf8950c(0x219)][_0xf8950c(0x258)](_0x103f1b,_0x416841);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x13d780=_0x105f;function _0x5ea6(){const _0x17e195=['addUser','fire','add','forEach','orderNumber','register','sessions-unregister-not-exist','defineMe','_registeredSessions','getUserBySessionId','connection','allConnectedUsers','delete','state','4621092ayLJvO','init','_handleSessionAdd','_handleSessionRemove','sessionAdd:','remove','1912670yWVFPn','listenTo','pluginName','context','role','_users','Sessions','903728ippBOi','sessions-register-already-registered','has','unregister','535614FoRSrB','getUserRole','391176eBWmuN','18eLkxkN','352kIbZyP','1811740jaIXky','stopListening','plugins','_uniqueUsersCount','set','120575zysRzS','getUser','clear','_createUser','mySessionId','assign','get','channelConnectedUsers','values','size','14fsnMER','requires','change:state','channelSessions','sessionId','getUserSessions','isMe','user','connected'];_0x5ea6=function(){return _0x17e195;};return _0x5ea6();}(function(_0x37af44,_0x1a9e58){const _0x3a66d1=_0x105f,_0x1fb12e=_0x37af44();while(!![]){try{const _0x332543=-parseInt(_0x3a66d1(0x154))/0x1+parseInt(_0x3a66d1(0x168))/0x2*(parseInt(_0x3a66d1(0x156))/0x3)+parseInt(_0x3a66d1(0x18c))/0x4+parseInt(_0x3a66d1(0x159))/0x5+-parseInt(_0x3a66d1(0x17f))/0x6+parseInt(_0x3a66d1(0x15e))/0x7*(parseInt(_0x3a66d1(0x158))/0x8)+parseInt(_0x3a66d1(0x157))/0x9*(-parseInt(_0x3a66d1(0x185))/0xa);if(_0x332543===_0x1a9e58)break;else _0x1fb12e['push'](_0x1fb12e['shift']());}catch(_0x303339){_0x1fb12e['push'](_0x1fb12e['shift']());}}}(_0x5ea6,0x8b4e2));import{ContextPlugin as _0x3ea2d1}from'ckeditor5/src/core.js';function _0x105f(_0x581727,_0x58869d){const _0x5ea615=_0x5ea6();return _0x105f=function(_0x105f1c,_0x1f8292){_0x105f1c=_0x105f1c-0x154;let _0x5a4bab=_0x5ea615[_0x105f1c];return _0x5a4bab;},_0x105f(_0x581727,_0x58869d);}import{Collection as _0x58e158,CKEditorError as _0x1a234e}from'ckeditor5/src/utils.js';import _0x495719 from'./websocketgateway.js';import{Users as _0x43d00c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x3ea2d1{static get[_0x13d780(0x187)](){const _0x3f16b5=_0x13d780;return _0x3f16b5(0x18b);}static get[_0x13d780(0x169)](){return[_0x495719,_0x43d00c];}constructor(_0x34fa7d){const _0x317c35=_0x13d780;super(_0x34fa7d),this[_0x317c35(0x16b)]=new Map(),this[_0x317c35(0x165)]=new Map(),this[_0x317c35(0x17c)]=new _0x58e158(),this[_0x317c35(0x179)]=new Map(),this[_0x317c35(0x15c)]=0x0,this[_0x317c35(0x18a)]=this[_0x317c35(0x188)][_0x317c35(0x15b)][_0x317c35(0x164)](_0x43d00c);}[_0x13d780(0x180)](){const _0x33d03b=_0x13d780,_0x48ba1f=this[_0x33d03b(0x188)][_0x33d03b(0x15b)][_0x33d03b(0x164)](_0x495719);this[_0x33d03b(0x186)](_0x48ba1f,_0x33d03b(0x16a),(_0x155ab2,_0x2f51a6,_0x492a15)=>{const _0x12f2df=_0x33d03b;if(_0x12f2df(0x170)!==_0x492a15)this[_0x12f2df(0x16b)][_0x12f2df(0x174)](_0x269695=>_0x269695[_0x12f2df(0x160)]()),this[_0x12f2df(0x165)][_0x12f2df(0x174)](_0x2d6dba=>_0x2d6dba[_0x12f2df(0x160)]()),this[_0x12f2df(0x17c)][_0x12f2df(0x160)]();else{for(const [_0xd089fc,_0x3b0835]of this[_0x12f2df(0x179)])for(const _0x529a4a of _0x3b0835)this[_0x12f2df(0x181)](_0xd089fc,_0x529a4a);}}),this[_0x33d03b(0x161)](_0x48ba1f[_0x33d03b(0x17b)]['me'],!0x0);}[_0x13d780(0x176)](_0x1d1f7d,_0x393c73){const _0x2225c2=_0x13d780;if(this[_0x2225c2(0x179)][_0x2225c2(0x18e)](_0x1d1f7d))throw new _0x1a234e(_0x2225c2(0x18d),null,{'channelId':_0x1d1f7d});this[_0x2225c2(0x179)][_0x2225c2(0x15d)](_0x1d1f7d,_0x393c73),this[_0x2225c2(0x16b)][_0x2225c2(0x15d)](_0x1d1f7d,new _0x58e158()),this[_0x2225c2(0x165)][_0x2225c2(0x15d)](_0x1d1f7d,new _0x58e158()),this[_0x2225c2(0x186)](_0x393c73,_0x2225c2(0x173),(_0xaf3c51,_0x42c9da)=>this[_0x2225c2(0x181)](_0x1d1f7d,_0x42c9da)),this[_0x2225c2(0x186)](_0x393c73,_0x2225c2(0x184),(_0x4155ac,_0xcdda84)=>this[_0x2225c2(0x182)](_0x1d1f7d,_0xcdda84));for(const _0xae528e of _0x393c73)this[_0x2225c2(0x181)](_0x1d1f7d,_0xae528e);}[_0x13d780(0x18f)](_0x3de23e){const _0x168e45=_0x13d780;if(!this[_0x168e45(0x179)][_0x168e45(0x18e)](_0x3de23e))throw new _0x1a234e(_0x168e45(0x177),null,{'channelId':_0x3de23e});const _0x4ea72a=this[_0x168e45(0x179)][_0x168e45(0x164)](_0x3de23e);this[_0x168e45(0x15a)](_0x4ea72a);for(const _0x427e1e of _0x4ea72a)_0x168e45(0x170)===this[_0x168e45(0x188)][_0x168e45(0x15b)][_0x168e45(0x164)](_0x495719)[_0x168e45(0x17e)]&&this[_0x168e45(0x182)](_0x3de23e,_0x427e1e);this[_0x168e45(0x179)][_0x168e45(0x17d)](_0x3de23e),this[_0x168e45(0x16b)][_0x168e45(0x17d)](_0x3de23e),this[_0x168e45(0x165)][_0x168e45(0x17d)](_0x3de23e);}get[_0x13d780(0x162)](){const _0x149e17=_0x13d780;return this[_0x149e17(0x188)][_0x149e17(0x15b)][_0x149e17(0x164)](_0x495719)[_0x149e17(0x17b)][_0x149e17(0x16c)];}[_0x13d780(0x17a)](_0x9a368b){const _0x2b30cf=_0x13d780;for(const _0xc3b696 of this[_0x2b30cf(0x16b)][_0x2b30cf(0x166)]())for(const _0x1d6546 of _0xc3b696)if(_0x1d6546['id']===_0x9a368b)return _0x1d6546[_0x2b30cf(0x16f)];}[_0x13d780(0x16d)](_0x1c7a10,_0x58f57d){const _0x1e3d22=_0x13d780,_0x5ada11=_0x58f57d?[this[_0x1e3d22(0x16b)][_0x1e3d22(0x164)](_0x58f57d)]:this[_0x1e3d22(0x16b)][_0x1e3d22(0x166)](),_0x2bd95e=new Set();for(const _0x3204f2 of _0x5ada11)for(const _0x23f202 of _0x3204f2)_0x23f202[_0x1e3d22(0x16f)]['id']===_0x1c7a10['id']&&_0x2bd95e[_0x1e3d22(0x173)](_0x23f202['id']);return _0x2bd95e;}[_0x13d780(0x155)](_0x69eafa){const _0x15225a=_0x13d780;for(const _0x1a4e61 of this[_0x15225a(0x16b)][_0x15225a(0x166)]())for(const _0x4d1b6e of _0x1a4e61)if(_0x4d1b6e[_0x15225a(0x16f)]===_0x69eafa)return _0x4d1b6e[_0x15225a(0x189)];}[_0x13d780(0x181)](_0x404bc2,_0x42ab0d){const _0x3950c6=_0x13d780;if(_0x3950c6(0x170)!==this[_0x3950c6(0x188)][_0x3950c6(0x15b)][_0x3950c6(0x164)](_0x495719)[_0x3950c6(0x17e)])return;const _0x8bd3b6=_0x42ab0d[_0x3950c6(0x16f)],_0x4bded6=this[_0x3950c6(0x18a)][_0x3950c6(0x15f)](_0x8bd3b6['id'])||this[_0x3950c6(0x161)](_0x8bd3b6),_0x53b54d=Object[_0x3950c6(0x163)]({},_0x42ab0d,{'user':_0x4bded6});this[_0x3950c6(0x16b)][_0x3950c6(0x164)](_0x404bc2)[_0x3950c6(0x173)](_0x53b54d);const _0x569a0c=this[_0x3950c6(0x165)][_0x3950c6(0x164)](_0x404bc2);_0x569a0c[_0x3950c6(0x18e)](_0x4bded6['id'])||_0x569a0c[_0x3950c6(0x173)](_0x4bded6),this[_0x3950c6(0x17c)][_0x3950c6(0x18e)](_0x4bded6['id'])||this[_0x3950c6(0x17c)][_0x3950c6(0x173)](_0x4bded6,_0x4bded6[_0x3950c6(0x16e)]?0x0:void 0x0),this[_0x3950c6(0x172)](_0x3950c6(0x183)+_0x404bc2,{'channelId':_0x404bc2,'session':_0x53b54d});}[_0x13d780(0x182)](_0x349342,_0x132991){const _0x889996=_0x13d780;if(_0x889996(0x170)!==this[_0x889996(0x188)][_0x889996(0x15b)][_0x889996(0x164)](_0x495719)[_0x889996(0x17e)])return;const _0x5d167f=this[_0x889996(0x165)][_0x889996(0x164)](_0x349342),_0x1a35d4=_0x132991[_0x889996(0x16f)];_0x1a35d4['id']&&(this[_0x889996(0x16b)][_0x889996(0x164)](_0x349342)[_0x889996(0x184)](_0x132991['id']),_0x5d167f[_0x889996(0x18e)](_0x1a35d4['id'])&&!this[_0x889996(0x16d)](_0x1a35d4,_0x349342)[_0x889996(0x167)]&&_0x5d167f[_0x889996(0x184)](_0x1a35d4['id']),this[_0x889996(0x17c)][_0x889996(0x164)](_0x1a35d4['id'])&&!this[_0x889996(0x16d)](_0x1a35d4)[_0x889996(0x167)]&&this[_0x889996(0x17c)][_0x889996(0x184)](_0x1a35d4['id']));}[_0x13d780(0x161)](_0x55558f,_0x707fc2){const _0x37d32f=_0x13d780,_0x133757=this[_0x37d32f(0x18a)][_0x37d32f(0x171)](_0x55558f);return _0x707fc2&&this[_0x37d32f(0x18a)][_0x37d32f(0x178)](_0x55558f['id']),_0x133757[_0x37d32f(0x175)]=this[_0x37d32f(0x15c)]++,_0x133757;}}
|