@ckeditor/ckeditor5-real-time-collaboration 41.4.0 → 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
|
-
const
|
|
23
|
+
function _0x3ce9(_0x35f264,_0x1a5143){const _0x94f0c4=_0x94f0();return _0x3ce9=function(_0x3ce9fe,_0x59e0eb){_0x3ce9fe=_0x3ce9fe-0x130;let _0x2241a8=_0x94f0c4[_0x3ce9fe];return _0x2241a8;},_0x3ce9(_0x35f264,_0x1a5143);}const _0x5a48ef=_0x3ce9;(function(_0x19ae6a,_0x3a71fb){const _0x56a4a6=_0x3ce9,_0x239e68=_0x19ae6a();while(!![]){try{const _0x1c3fe2=-parseInt(_0x56a4a6(0x15d))/0x1+-parseInt(_0x56a4a6(0x175))/0x2*(-parseInt(_0x56a4a6(0x134))/0x3)+parseInt(_0x56a4a6(0x171))/0x4*(-parseInt(_0x56a4a6(0x132))/0x5)+parseInt(_0x56a4a6(0x154))/0x6*(-parseInt(_0x56a4a6(0x136))/0x7)+-parseInt(_0x56a4a6(0x14f))/0x8*(-parseInt(_0x56a4a6(0x151))/0x9)+parseInt(_0x56a4a6(0x16b))/0xa+parseInt(_0x56a4a6(0x147))/0xb;if(_0x1c3fe2===_0x3a71fb)break;else _0x239e68['push'](_0x239e68['shift']());}catch(_0x423c5c){_0x239e68['push'](_0x239e68['shift']());}}}(_0x94f0,0x5e465));import{ContextPlugin as _0x430f86}from'ckeditor5/src/core.js';import{CKEditorError as _0x313cdf,Collection as _0x82660b}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x1c862a,BodyCollection as _0x298c82,BalloonPanelView as _0x404727}from'ckeditor5/src/ui.js';import{isElement as _0x4441af}from'lodash-es';import _0x168dbd from'../realtimecollaborativeediting/sessions.js';import _0x4bc16f from'./view/presencelistview.js';import _0x2b3dc0 from'./view/presencedropdownlistview.js';import _0x44afbd from'./view/presencedropdownlistitemview.js';import _0x4e3c4b from'./view/presenceinlinelistitemview.js';function _0x94f0(){const _0x55b219=['bind','reverse','708256WOrPTa','length','36mKxmEZ','isVisible','currentDisplayedUsers','2303826jXitGJ','add','locale','content','onClick','class','using','hasTooltip','listenTo','550010ZmBRXk','set','presenceList.container','_handleUserAdd','remove','appendChild','get','render','attachToDom','bindTo','_handleUserRemove','context','define','presenceList','1727940EEppMK','init','_bodyCollection','allConnectedUsers','pin','requires','314728WdBdse','_createView','isHidden','isRendered','2LoCayy','isCollapsed','presencelist-missing-container','view','from','usersCount','showDropdown','5vlQUUJ','displayMe','993483QbSuxP','inlineListView','14QdVLIN','plugins','presenceList.displayMe','presenceDropdownView','ck\x20ck-presence-list__balloon','execute','items','presenceList.collapseAt','_allConnectedUsers','config','counterView','last','detachFromDom','unpin','isMe','destroy','hideDropdown','10171700GTsSly','number','_calculateNewUserPosition','presencelist-collapseat-invalid-format','balloonPanelView','element'];_0x94f0=function(){return _0x55b219;};return _0x94f0();}const _={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x430f86{constructor(_0x20fe67){const _0x3e7866=_0x3ce9;super(_0x20fe67),this[_0x3e7866(0x168)][_0x3e7866(0x13f)][_0x3e7866(0x169)](_0x3e7866(0x16a),_);const _0x4b74d1=_0x20fe67[_0x3e7866(0x13f)][_0x3e7866(0x163)](_0x3e7866(0x13d));if(_0x3e7866(0x148)!=typeof _0x4b74d1)throw new _0x313cdf(_0x3e7866(0x14a),this);if(_0x4b74d1<0x1)throw new _0x313cdf(_0x3e7866(0x14a),this);this[_0x3e7866(0x13e)]=this[_0x3e7866(0x168)][_0x3e7866(0x137)][_0x3e7866(0x163)](_0x168dbd)[_0x3e7866(0x16e)],this[_0x3e7866(0x15e)](_0x3e7866(0x130),0x0),this[_0x3e7866(0x153)]=new _0x82660b(),this[_0x3e7866(0x14b)]=new _0x404727(),this[_0x3e7866(0x14b)][_0x3e7866(0x159)]=_0x3e7866(0x13a),this[_0x3e7866(0x178)]=this[_0x3e7866(0x172)](),this[_0x3e7866(0x139)]=void 0x0;}static get[_0x5a48ef(0x170)](){return[_0x168dbd];}[_0x5a48ef(0x16c)](){const _0x53dee6=_0x5a48ef;for(const _0x20d198 of this[_0x53dee6(0x13e)])this[_0x53dee6(0x160)](_0x20d198);this[_0x53dee6(0x15c)](this[_0x53dee6(0x13e)],_0x53dee6(0x155),(_0x36d7ec,_0x141c62)=>{const _0x17c997=_0x53dee6;this[_0x17c997(0x160)](_0x141c62);}),this[_0x53dee6(0x15c)](this[_0x53dee6(0x13e)],_0x53dee6(0x161),(_0x21c7f4,_0x287ae8)=>{const _0x4ecfa2=_0x53dee6;this[_0x4ecfa2(0x167)](_0x287ae8);});}[_0x5a48ef(0x172)](){const _0x86d8d3=_0x5a48ef,_0x5f5342=this[_0x86d8d3(0x168)],_0x20b1f1=new _0x4bc16f(this[_0x86d8d3(0x168)][_0x86d8d3(0x156)]),_0x2cf0d6=this[_0x86d8d3(0x14b)];if(!_0x4441af(_0x5f5342[_0x86d8d3(0x13f)][_0x86d8d3(0x163)](_0x86d8d3(0x15f))))throw new _0x313cdf(_0x86d8d3(0x177),this);return _0x20b1f1[_0x86d8d3(0x140)][_0x86d8d3(0x14d)](_0x86d8d3(0x130))['to'](this),_0x20b1f1[_0x86d8d3(0x14d)](_0x86d8d3(0x176))['to'](this,_0x86d8d3(0x130),_0x442f37=>{const _0x1dbecf=_0x86d8d3,{collapseAt:_0x305064,displayMe:_0x58e390}=_0x5f5342[_0x1dbecf(0x13f)][_0x1dbecf(0x163)](_0x1dbecf(0x16a)),_0x43d71e=_0x442f37>=_0x305064;return _0x20b1f1[_0x1dbecf(0x140)][_0x1dbecf(0x173)]=!(0x1==_0x442f37&&_0x58e390||_0x43d71e),_0x43d71e||this[_0x1dbecf(0x146)](),_0x43d71e;}),_0x20b1f1[_0x86d8d3(0x135)][_0x86d8d3(0x13c)][_0x86d8d3(0x166)](this[_0x86d8d3(0x153)])[_0x86d8d3(0x15a)](_0x201159=>{const _0x521b15=_0x86d8d3,_0x5795fb=_0x5f5342[_0x521b15(0x13f)][_0x521b15(0x163)](_0x521b15(0x16a)),_0x36ab25=new _0x4e3c4b(_0x5f5342[_0x521b15(0x156)],_0x201159,!!_0x5795fb[_0x521b15(0x158)]);return _0x36ab25[_0x521b15(0x14d)](_0x521b15(0x15b))['to'](_0x20b1f1,_0x521b15(0x176),_0x2ae315=>!_0x2ae315),_0x5795fb[_0x521b15(0x158)]&&this[_0x521b15(0x15c)](_0x36ab25,_0x521b15(0x13b),()=>{const _0x582d8e=_0x521b15;this[_0x582d8e(0x178)][_0x582d8e(0x176)]||_0x5795fb[_0x582d8e(0x158)](_0x201159,_0x36ab25[_0x582d8e(0x14c)]);}),_0x36ab25;}),this[_0x86d8d3(0x15c)](_0x20b1f1[_0x86d8d3(0x135)],_0x86d8d3(0x13b),()=>{const _0x16c5a2=_0x86d8d3;this[_0x16c5a2(0x139)]?this[_0x16c5a2(0x146)]():this[_0x16c5a2(0x178)][_0x16c5a2(0x176)]&&this[_0x16c5a2(0x131)]();}),_0x20b1f1[_0x86d8d3(0x164)](),_0x2cf0d6[_0x86d8d3(0x164)](),_0x1c862a({'emitter':_0x20b1f1,'activator':()=>_0x2cf0d6[_0x86d8d3(0x152)],'contextElements':[_0x2cf0d6[_0x86d8d3(0x14c)],_0x20b1f1[_0x86d8d3(0x135)][_0x86d8d3(0x14c)]],'callback':()=>this[_0x86d8d3(0x146)]()}),_0x5f5342[_0x86d8d3(0x13f)][_0x86d8d3(0x163)](_0x86d8d3(0x15f))[_0x86d8d3(0x162)](_0x20b1f1[_0x86d8d3(0x14c)]),this[_0x86d8d3(0x16d)]=new _0x298c82(this[_0x86d8d3(0x168)][_0x86d8d3(0x156)]),this[_0x86d8d3(0x16d)][_0x86d8d3(0x165)](),this[_0x86d8d3(0x16d)][_0x86d8d3(0x155)](_0x2cf0d6),_0x20b1f1;}[_0x5a48ef(0x160)](_0x3bce8f){const _0x11b8b7=_0x5a48ef;if(!this[_0x11b8b7(0x168)][_0x11b8b7(0x13f)][_0x11b8b7(0x163)](_0x11b8b7(0x138))&&_0x3bce8f[_0x11b8b7(0x144)])return;const _0x582f0d=this[_0x11b8b7(0x168)][_0x11b8b7(0x13f)][_0x11b8b7(0x163)](_0x11b8b7(0x13d))-0x1;this[_0x11b8b7(0x130)]++,this[_0x11b8b7(0x153)][_0x11b8b7(0x150)]==_0x582f0d&&this[_0x11b8b7(0x153)][_0x11b8b7(0x161)](0x0);const _0x4cc2f0=this[_0x11b8b7(0x149)](_0x3bce8f);this[_0x11b8b7(0x153)][_0x11b8b7(0x155)](_0x3bce8f,_0x4cc2f0);}[_0x5a48ef(0x167)](_0x7a69fb){const _0x17f00b=_0x5a48ef;if(this[_0x17f00b(0x130)]--,this[_0x17f00b(0x153)][_0x17f00b(0x163)](_0x7a69fb['id'])&&(this[_0x17f00b(0x153)][_0x17f00b(0x161)](_0x7a69fb['id']),this[_0x17f00b(0x153)][_0x17f00b(0x150)]<this[_0x17f00b(0x130)])){for(const _0x3ed1f4 of Array[_0x17f00b(0x179)](this[_0x17f00b(0x13e)])[_0x17f00b(0x14e)]())if(!this[_0x17f00b(0x153)][_0x17f00b(0x163)](_0x3ed1f4['id']))return void this[_0x17f00b(0x153)][_0x17f00b(0x155)](_0x3ed1f4,0x0);}}[_0x5a48ef(0x149)](_0x5aa3c6){const _0x1fbbfb=_0x5a48ef;return Boolean(this[_0x1fbbfb(0x153)][_0x1fbbfb(0x141)]&&this[_0x1fbbfb(0x153)][_0x1fbbfb(0x141)][_0x1fbbfb(0x144)])&&!_0x5aa3c6[_0x1fbbfb(0x144)]?this[_0x1fbbfb(0x153)][_0x1fbbfb(0x150)]-0x1:this[_0x1fbbfb(0x153)][_0x1fbbfb(0x150)];}[_0x5a48ef(0x131)](){const _0x166a9f=_0x5a48ef;if(this[_0x166a9f(0x139)])return;this[_0x166a9f(0x139)]=new _0x2b3dc0(this[_0x166a9f(0x168)][_0x166a9f(0x156)]);const _0x6f69cf=this[_0x166a9f(0x168)][_0x166a9f(0x13f)][_0x166a9f(0x163)](_0x166a9f(0x16a));this[_0x166a9f(0x139)][_0x166a9f(0x13c)][_0x166a9f(0x166)](this[_0x166a9f(0x13e)])[_0x166a9f(0x15a)](_0x15850c=>{const _0x53ae7e=_0x166a9f;if(!_0x6f69cf[_0x53ae7e(0x133)]&&_0x15850c[_0x53ae7e(0x144)])return null;const _0x52d8eb=new _0x44afbd(this[_0x53ae7e(0x168)][_0x53ae7e(0x156)],_0x15850c,!!_0x6f69cf[_0x53ae7e(0x158)]);return _0x6f69cf[_0x53ae7e(0x158)]&&this[_0x53ae7e(0x15c)](_0x52d8eb,_0x53ae7e(0x13b),()=>{const _0x3b809e=_0x53ae7e;_0x6f69cf[_0x3b809e(0x158)](_0x15850c,_0x52d8eb[_0x3b809e(0x14c)]);}),_0x52d8eb;}),this[_0x166a9f(0x14b)][_0x166a9f(0x157)][_0x166a9f(0x155)](this[_0x166a9f(0x139)]),this[_0x166a9f(0x14b)][_0x166a9f(0x16f)]({'target':this[_0x166a9f(0x178)][_0x166a9f(0x135)][_0x166a9f(0x14c)]});}[_0x5a48ef(0x146)](){const _0x1a8296=_0x5a48ef;this[_0x1a8296(0x139)]&&(this[_0x1a8296(0x14b)][_0x1a8296(0x143)](),this[_0x1a8296(0x14b)][_0x1a8296(0x157)][_0x1a8296(0x161)](this[_0x1a8296(0x139)]),this[_0x1a8296(0x139)][_0x1a8296(0x145)](),this[_0x1a8296(0x139)]=void 0x0);}[_0x5a48ef(0x145)](){const _0x44d500=_0x5a48ef;super[_0x44d500(0x145)](),this[_0x44d500(0x178)]&&this[_0x44d500(0x178)][_0x44d500(0x174)]&&this[_0x44d500(0x178)][_0x44d500(0x145)](),this[_0x44d500(0x16d)]&&this[_0x44d500(0x16d)][_0x44d500(0x142)]();}}
|
|
@@ -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
|
-
(function(
|
|
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
|
-
|
|
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
|
-
function _0x13d3(_0x31bbab,_0x2d3bb2){const _0x424892=_0x4248();return _0x13d3=function(_0x13d31e,_0x1b94e0){_0x13d31e=_0x13d31e-0xac;let _0x366ad3=_0x424892[_0x13d31e];return _0x366ad3;},_0x13d3(_0x31bbab,_0x2d3bb2);}const _0x23b5b1=_0x13d3;(function(_0x3832bd,_0x168e81){const _0x5a5214=_0x13d3,_0x46e786=_0x3832bd();while(!![]){try{const _0x2fcd72=-parseInt(_0x5a5214(0xfe))/0x1*(-parseInt(_0x5a5214(0xb3))/0x2)+parseInt(_0x5a5214(0xb7))/0x3*(parseInt(_0x5a5214(0xea))/0x4)+parseInt(_0x5a5214(0xf1))/0x5*(parseInt(_0x5a5214(0xee))/0x6)+parseInt(_0x5a5214(0xca))/0x7*(parseInt(_0x5a5214(0xb8))/0x8)+-parseInt(_0x5a5214(0xd5))/0x9+-parseInt(_0x5a5214(0xed))/0xa+-parseInt(_0x5a5214(0xb6))/0xb;if(_0x2fcd72===_0x168e81)break;else _0x46e786['push'](_0x46e786['shift']());}catch(_0x34249f){_0x46e786['push'](_0x46e786['shift']());}}}(_0x4248,0xea955));import{Context as _0x30500e,ContextPlugin as _0x365a03}from'ckeditor5/src/core.js';import{CKEditorError as _0x1114b5}from'ckeditor5/src/utils.js';import{Users as _0x16f453}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x18ad36}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CommentsService as _0x4ba9e4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4b920e from'../realtimecollaborativeediting/websocketgateway.js';function _0x4248(){const _0x585fc8=['commentThreadId','getCommentThread','13106150PfbPwX','29724BXDpRv','_terminateService','reopenCommentThread','1085ZlHGdy','catch','_getService','add','updateComment','resolve','CloudServicesCommentsAdapter','CommentsRepository','connect','cloudservicescommentsadapter-disconnect-not-exist','content','code','commentAdded','116967lwekeP','addUser','removeComment','deletedAt','remove','disconnect','resolveCommentThread','update','authorId','mySessionId','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','_services','collaboration.channelId','map','getMany','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','message','attributes','assign','updateCommentThread','pluginName','reopen','cloudservicescommentsadapter-service-not-exist','getComment','22JEaVnG','addCommentThread','commentThreadResolved','16598131YbzpHr','624477Vtrpfw','99896BHuEuq','from','register','comments','config','_fetchMissingUsersForThreads','has','getUser','resolvedBy','resolvedAt','commentThreadUpdated','reconnect','addToReconnectionStack','delete','404','context','listenTo','Permissions','637omGsTu','_connectService','userId','unregister','keys','startsWith','plugins','commentThreadReopened','permissions','commentThreadAdded','requires','6825402oIGKAU','CommentsService','getCommentThreads','commentRemoved','commentUpdated','sessionAdd:','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','createdAt','adapter','get','init','destroy','addComment','commentId','off','getConnectedSessions','set','size','setPermissions','_setUpService','20nJpocC'];_0x4248=function(){return _0x585fc8;};return _0x4248();}import _0x54d1da from'../realtimecollaborativeediting/sessions.js';class a extends _0x365a03{static get[_0x23b5b1(0xd4)](){const _0x329c8e=_0x23b5b1;return[_0x4b920e,_0x329c8e(0xf8),_0x54d1da,_0x16f453];}static get[_0x23b5b1(0xaf)](){const _0x2dd0bb=_0x23b5b1;return _0x2dd0bb(0xf7);}constructor(_0x5b0324){const _0xe056ae=_0x23b5b1;super(_0x5b0324),this[_0xe056ae(0x10a)]=new Map();}async[_0x23b5b1(0xe0)](){const _0x1ab149=_0x23b5b1,_0x54c4af=this[_0x1ab149(0xc7)],_0x28ca5a=_0x54c4af[_0x1ab149(0xd0)][_0x1ab149(0xdf)](_0x1ab149(0xf8));if(_0x54c4af[_0x1ab149(0xd0)][_0x1ab149(0xdf)](_0x4b920e)[_0x1ab149(0xc4)](this),_0x28ca5a[_0x1ab149(0xde)]={'addCommentThread':async({channelId:_0x31ce8e,threadId:_0x54f9f2,comments:_0x2b70ce,resolvedAt:_0x5de7f2,resolvedBy:_0x10f47f,context:_0x492e87,attributes:_0x14675a})=>{const _0x55e0e1=_0x1ab149,_0x3af872=await this[_0x55e0e1(0xf3)](_0x31ce8e)[_0x55e0e1(0xb4)]({'commentThreadId':_0x54f9f2,'comments':_0x2b70ce[_0x55e0e1(0x10c)](_0x3bad0b=>function(_0x32f9b1,_0x336bd9,_0x1a19f8){const _0x72cc1a=_0x55e0e1;return{'commentThreadId':_0x1a19f8,'commentId':_0x32f9b1[_0x72cc1a(0xe3)],'userId':_0x32f9b1[_0x72cc1a(0x106)],'content':_0x32f9b1[_0x72cc1a(0xfb)],'documentId':_0x336bd9,'createdAt':_0x32f9b1[_0x72cc1a(0xdd)],'attributes':_0x32f9b1[_0x72cc1a(0xac)]||{}};}(_0x3bad0b,_0x31ce8e,_0x54f9f2)),'resolvedAt':_0x5de7f2,'resolvedBy':_0x10f47f,'context':_0x492e87,'attributes':_0x14675a})[_0x55e0e1(0xf2)](B);return{'threadId':_0x3af872[_0x55e0e1(0xeb)],'comments':_0x3af872[_0x55e0e1(0xbb)]};},'getCommentThread':async({channelId:_0x43ac26,threadId:_0x427a13})=>{const _0x589ef1=_0x1ab149,_0x3fc478=await this[_0x589ef1(0xf3)](_0x43ac26)[_0x589ef1(0xec)](_0x427a13)[_0x589ef1(0xf2)](B);return await this[_0x589ef1(0xbd)]([_0x3fc478]),{'threadId':_0x3fc478[_0x589ef1(0xeb)],'comments':_0x3fc478[_0x589ef1(0xbb)][_0x589ef1(0x10c)](R),'context':_0x3fc478[_0x589ef1(0xc7)],'resolvedAt':_0x3fc478[_0x589ef1(0xc1)],'resolvedBy':_0x3fc478[_0x589ef1(0xc0)],'attributes':_0x3fc478[_0x589ef1(0xac)]||{}};},'updateCommentThread':async({channelId:_0x3ffc97,threadId:_0x355085,context:_0x1852b1,unlinkedAt:_0x2fceb7,attributes:_0x1fd0bf})=>this[_0x1ab149(0xf3)](_0x3ffc97)[_0x1ab149(0xae)]({'commentThreadId':_0x355085,'context':_0x1852b1,'attributes':_0x1fd0bf,'unlinkedAt':_0x2fceb7})[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'resolveCommentThread':async({channelId:_0x470f63,threadId:_0x345df0})=>{const _0x116008=_0x1ab149,_0x574ffc=await this[_0x116008(0xf3)](_0x470f63)[_0x116008(0x104)](_0x345df0)[_0x116008(0xf2)](F)[_0x116008(0xf2)](B);return{'threadId':_0x574ffc[_0x116008(0xeb)],'resolvedAt':_0x574ffc[_0x116008(0xc1)],'resolvedBy':_0x574ffc[_0x116008(0xc0)]};},'reopenCommentThread':async({channelId:_0xe4e4,threadId:_0x5b9a73})=>this[_0x1ab149(0xf3)](_0xe4e4)[_0x1ab149(0xf0)](_0x5b9a73)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'removeCommentThread':({channelId:_0x2ee03f,threadId:_0x41f99e})=>this[_0x1ab149(0xf3)](_0x2ee03f)[_0x1ab149(0x10e)](_0x41f99e)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'addComment':({channelId:_0x2516a4,threadId:_0x1231f0,commentId:_0xc1ea6a,content:_0x10c91a,attributes:_0x12be60})=>this[_0x1ab149(0xf3)](_0x2516a4)[_0x1ab149(0xe2)](_0x1231f0,_0xc1ea6a,_0x10c91a,_0x12be60)[_0x1ab149(0xf2)](B),'updateComment':({channelId:_0x5b47ae,threadId:_0x33df7a,commentId:_0x5825a3,content:_0x26c9b2,attributes:_0x5c59a5})=>this[_0x1ab149(0xf3)](_0x5b47ae)[_0x1ab149(0xf5)](_0x33df7a,_0x5825a3,_0x26c9b2,_0x5c59a5)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'removeComment':({channelId:_0x3d98cc,threadId:_0x5a8c12,commentId:_0x5a40f9})=>this[_0x1ab149(0xf3)](_0x3d98cc)[_0x1ab149(0x100)](_0x5a8c12,_0x5a40f9)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B)},_0x54c4af instanceof _0x30500e){const _0x4d5a97=_0x54c4af[_0x1ab149(0xbc)][_0x1ab149(0xdf)](_0x1ab149(0x10b)),_0x3b5384=_0x54c4af[_0x1ab149(0xd0)][_0x1ab149(0xdf)](_0x54d1da);await this[_0x1ab149(0xe9)](_0x4d5a97);const _0x1d9f69=await this[_0x1ab149(0x10a)][_0x1ab149(0xdf)](_0x4d5a97)[_0x1ab149(0xe5)]();this[_0x1ab149(0xc8)](_0x3b5384,_0x1ab149(0xda)+_0x4d5a97,(_0x4af029,{session:_0x1ae576})=>{const _0x222129=_0x1ab149;_0x1ae576['id']===_0x3b5384[_0x222129(0x107)]&&(_0x4af029[_0x222129(0xe4)](),this[_0x222129(0xc7)][_0x222129(0xd0)][_0x222129(0xdf)](_0x222129(0xc9))[_0x222129(0xe8)](_0x1ae576[_0x222129(0xd2)],_0x4d5a97));}),_0x3b5384[_0x1ab149(0xba)](_0x4d5a97,_0x1d9f69);}}async[_0x23b5b1(0xe9)](_0x35c612){const _0x3c9371=_0x23b5b1;if(this[_0x3c9371(0x10a)][_0x3c9371(0xbe)](_0x35c612))throw new _0x1114b5(_0x3c9371(0xdb),null,{'channelId':_0x35c612});const _0x4e1588=this[_0x3c9371(0xc7)][_0x3c9371(0xd0)][_0x3c9371(0xdf)](_0x3c9371(0xf8)),_0x309cfd=new a[(_0x3c9371(0xd6))](_0x35c612);this[_0x3c9371(0x10a)][_0x3c9371(0xe6)](_0x35c612,_0x309cfd),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd3),(_0x4e454d,_0x90c537)=>{const _0x10aee6=_0x3c9371,{commentThreadId:_0x4d5397,documentId:_0x543c58,context:_0x310e8d,attributes:_0x2dd178,resolvedAt:_0x1fc619,resolvedBy:_0x409aec,comments:_0x43f319}=_0x90c537;_0x4e1588[_0x10aee6(0xec)](_0x4d5397)||_0x4e1588[_0x10aee6(0xb4)]({'threadId':_0x4d5397,'channelId':_0x543c58,'comments':_0x43f319?_0x43f319[_0x10aee6(0x10c)](R):[],'context':_0x310e8d,'attributes':_0x2dd178,'resolvedAt':_0x1fc619,'resolvedBy':_0x409aec,'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xc2),(_0x339d2c,{commentThreadId:_0x6df6a,documentId:_0x543b6,context:_0x1d9443,unlinkedAt:_0x461c5e,attributes:_0x2dfe3c})=>{const _0x38101d=_0x3c9371;_0x4e1588[_0x38101d(0xec)](_0x6df6a)&&_0x4e1588[_0x38101d(0xae)]({'threadId':_0x6df6a,'channelId':_0x543b6,'context':_0x1d9443,'unlinkedAt':_0x461c5e,'attributes':_0x2dfe3c,'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xb5),(_0x13716e,{commentThreadId:_0x3f2ba2,resolvedBy:_0x349e0a,resolvedAt:_0x4c2058})=>{const _0x26a7c2=_0x3c9371,_0x328eee=_0x4e1588[_0x26a7c2(0xec)](_0x3f2ba2);_0x328eee&&_0x328eee[_0x26a7c2(0xf6)]({'resolvedBy':_0x349e0a,'resolvedAt':_0x4c2058,'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd1),(_0x878409,{commentThreadId:_0x236692})=>{const _0x32f5bd=_0x3c9371,_0x3d0f69=_0x4e1588[_0x32f5bd(0xec)](_0x236692);_0x3d0f69&&_0x3d0f69[_0x32f5bd(0xb0)]({'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0x108),(_0x4db258,{commentThreadId:_0x555929})=>{const _0x41b160=_0x3c9371,_0x5f214c=_0x4e1588[_0x41b160(0xec)](_0x555929);_0x5f214c&&_0x5f214c[_0x41b160(0x102)]({'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xfd),(_0x5c0a6c,_0x597ae0)=>{const _0x4bbbca=_0x3c9371,_0x38365c=_0x597ae0[_0x4bbbca(0xeb)],_0x5e0ac4=_0x4e1588[_0x4bbbca(0xec)](_0x38365c);_0x5e0ac4&&_0x5e0ac4[_0x4bbbca(0xe2)]({...R(_0x597ae0),'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd9),(_0x386df2,{commentThreadId:_0x31842f,commentId:_0x1ff889,content:_0x19b6ae,attributes:_0xe460b1})=>{const _0x597a2d=_0x3c9371,_0x4b7c71=_0x4e1588[_0x597a2d(0xec)](_0x31842f);if(_0x4b7c71){const _0x1fec55=_0x4b7c71[_0x597a2d(0xb2)](_0x1ff889);_0x1fec55&&_0x1fec55[_0x597a2d(0x105)]({'content':_0x19b6ae,'attributes':_0xe460b1,'isFromAdapter':!0x0});}}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd8),(_0x53930f,{commentThreadId:_0x4dfee8,commentId:_0x3d60b0})=>{const _0x9d99f=_0x3c9371,_0x49f3d2=_0x4e1588[_0x9d99f(0xec)](_0x4dfee8);if(_0x49f3d2){const _0x581b61=_0x49f3d2[_0x9d99f(0xb2)](_0x3d60b0);_0x581b61&&_0x581b61[_0x9d99f(0x102)]({'isFromAdapter':!0x0});}}),await this[_0x3c9371(0xcb)](_0x35c612);}[_0x23b5b1(0xe1)](){const _0x498d95=_0x23b5b1;if(this[_0x498d95(0xc7)]instanceof _0x30500e){const _0x9458e2=this[_0x498d95(0xc7)][_0x498d95(0xbc)][_0x498d95(0xdf)](_0x498d95(0x10b));this[_0x498d95(0xef)](_0x9458e2);}}[_0x23b5b1(0xef)](_0x37ab6c){const _0x289151=_0x23b5b1;if(!this[_0x289151(0x10a)][_0x289151(0xbe)](_0x37ab6c))throw new _0x1114b5(_0x289151(0xfa),null,{'channelId':_0x37ab6c});this[_0x289151(0xf3)](_0x37ab6c)[_0x289151(0x103)](),this[_0x289151(0x10a)][_0x289151(0xc5)](_0x37ab6c);}async[_0x23b5b1(0xc3)](){const _0x1ad4b8=_0x23b5b1;for(const _0x4c7b4a of this[_0x1ad4b8(0x10a)][_0x1ad4b8(0xce)]())await this[_0x1ad4b8(0xcb)](_0x4c7b4a);if(this[_0x1ad4b8(0xc7)]instanceof _0x30500e){const _0x586723=this[_0x1ad4b8(0xc7)][_0x1ad4b8(0xbc)][_0x1ad4b8(0xdf)](_0x1ad4b8(0x10b)),_0x1b8f7c=this[_0x1ad4b8(0xc7)][_0x1ad4b8(0xd0)][_0x1ad4b8(0xdf)](_0x54d1da);_0x1b8f7c[_0x1ad4b8(0xcd)](_0x586723);const _0x3ac25d=await this[_0x1ad4b8(0x10a)][_0x1ad4b8(0xdf)](_0x586723)[_0x1ad4b8(0xe5)]();_0x1b8f7c[_0x1ad4b8(0xba)](_0x586723,_0x3ac25d);}}async[_0x23b5b1(0xcb)](_0x2b81f3){const _0x2e80f0=_0x23b5b1,{connection:_0x3fe573}=this[_0x2e80f0(0xc7)][_0x2e80f0(0xd0)][_0x2e80f0(0xdf)](_0x4b920e),_0x2996ee=this[_0x2e80f0(0xc7)][_0x2e80f0(0xd0)][_0x2e80f0(0xdf)](_0x2e80f0(0xf8)),_0x520a38=this[_0x2e80f0(0x10a)][_0x2e80f0(0xdf)](_0x2b81f3),_0x271ff8=await _0x520a38[_0x2e80f0(0xf9)](_0x3fe573);await this[_0x2e80f0(0xbd)](_0x271ff8);const _0x222580=new Set(Array[_0x2e80f0(0xb9)](_0x2996ee[_0x2e80f0(0xd7)]({'channelId':_0x2b81f3}),_0x31f9e9=>_0x31f9e9['id']));for(const _0x3aaf62 of _0x271ff8)_0x3aaf62[_0x2e80f0(0x101)]||_0x222580[_0x2e80f0(0xc5)](_0x3aaf62[_0x2e80f0(0xeb)]);for(const _0x561748 of _0x222580)_0x2996ee[_0x2e80f0(0xec)](_0x561748)[_0x2e80f0(0x102)]({'isFromAdapter':!0x0});for(const _0x48d1af of _0x271ff8){let _0x4e9460=_0x2996ee[_0x2e80f0(0xec)](_0x48d1af[_0x2e80f0(0xeb)]);const {commentThreadId:_0x10ca23,context:_0x445db8,attributes:_0x3c6d69,resolvedBy:_0x4e1f08,resolvedAt:_0x4b7f49,unlinkedAt:_0x472e5a,deletedAt:_0x1763c3}=_0x48d1af;if(_0x1763c3)continue;_0x4e9460||(_0x4e9460=_0x2996ee[_0x2e80f0(0xb4)]({'channelId':_0x2b81f3,'threadId':_0x10ca23,'context':_0x445db8,'attributes':_0x3c6d69||{},'resolvedBy':_0x4e1f08,'resolvedAt':_0x4b7f49,'unlinkedAt':_0x472e5a,'isFromAdapter':!0x0}));const _0x591f1f=new Set(Array[_0x2e80f0(0xb9)](_0x4e9460[_0x2e80f0(0xbb)],_0x1b3f60=>_0x1b3f60['id']));for(const _0xed3a36 of _0x48d1af[_0x2e80f0(0xbb)])_0x591f1f[_0x2e80f0(0xc5)](_0xed3a36[_0x2e80f0(0xe3)]);for(const _0x2aa010 of _0x591f1f)_0x4e9460[_0x2e80f0(0xb2)](_0x2aa010)[_0x2e80f0(0x102)]({'isFromAdapter':!0x0});for(const _0x565c4f of _0x48d1af[_0x2e80f0(0xbb)]){const _0x401edb=_0x4e9460[_0x2e80f0(0xb2)](_0x565c4f[_0x2e80f0(0xe3)]);_0x401edb?_0x401edb[_0x2e80f0(0xfb)]!==_0x565c4f[_0x2e80f0(0xfb)]&&_0x401edb[_0x2e80f0(0x105)]({'content':_0x565c4f[_0x2e80f0(0xfb)],'isFromAdapter':!0x0}):_0x4e9460[_0x2e80f0(0xe2)](Object[_0x2e80f0(0xad)](R(_0x565c4f),{'isFromAdapter':!0x0}));}}}[_0x23b5b1(0xf3)](_0x16465d){const _0x5d6b95=_0x23b5b1;if(!this[_0x5d6b95(0x10a)][_0x5d6b95(0xbe)](_0x16465d))throw new _0x1114b5(_0x5d6b95(0xb1),null,{'channelId':_0x16465d});return this[_0x5d6b95(0x10a)][_0x5d6b95(0xdf)](_0x16465d);}async[_0x23b5b1(0xbd)](_0x44145c){const _0x13335a=_0x23b5b1,_0x1cf7fc=this[_0x13335a(0xc7)][_0x13335a(0xd0)][_0x13335a(0xdf)](_0x16f453),{connection:_0x43ab66}=this[_0x13335a(0xc7)][_0x13335a(0xd0)][_0x13335a(0xdf)](_0x4b920e),_0x1d799f=new Set();for(const {resolvedBy:_0x3083f1,comments:_0x3b4c18}of _0x44145c){_0x3083f1&&!_0x1cf7fc[_0x13335a(0xbf)](_0x3083f1)&&_0x1d799f[_0x13335a(0xf4)](_0x3083f1);for(const {userId:_0x57b962}of _0x3b4c18)_0x1cf7fc[_0x13335a(0xbf)](_0x57b962)||_0x1d799f[_0x13335a(0xf4)](_0x57b962);}if(0x0===_0x1d799f[_0x13335a(0xe7)])return;const _0x59434c=await _0x18ad36[_0x13335a(0x10d)](_0x43ab66,Array[_0x13335a(0xb9)](_0x1d799f));for(const _0x10c99d of _0x59434c)_0x1cf7fc[_0x13335a(0xbf)](_0x10c99d['id'])||_0x1cf7fc[_0x13335a(0xff)](_0x10c99d);}}a[_0x23b5b1(0xd6)]=_0x4ba9e4;export default a;async function F(_0x576a51){const _0x4640f7=_0x23b5b1;if(_0x4640f7(0xc6)!==_0x576a51[_0x4640f7(0xfc)])throw _0x576a51;}function B(_0x1b3ea5){const _0x42a1df=_0x23b5b1;if((_0x5608b4=_0x1b3ea5)[_0x42a1df(0x110)][_0x42a1df(0xcf)](_0x42a1df(0xdc))||_0x5608b4[_0x42a1df(0x110)][_0x42a1df(0xcf)](_0x42a1df(0x10f))||_0x5608b4[_0x42a1df(0x110)][_0x42a1df(0xcf)](_0x42a1df(0x109)))return new Promise(()=>{});var _0x5608b4;throw _0x1b3ea5;}function R(_0x5c6e79){const _0xf6f6f4=_0x23b5b1;return{'threadId':_0x5c6e79[_0xf6f6f4(0xeb)],'commentId':_0x5c6e79[_0xf6f6f4(0xe3)],'content':_0x5c6e79[_0xf6f6f4(0xfb)],'createdAt':_0x5c6e79[_0xf6f6f4(0xdd)],'authorId':_0x5c6e79[_0xf6f6f4(0xcc)],'attributes':_0x5c6e79[_0xf6f6f4(0xac)]||{}};}
|
|
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
|
-
const
|
|
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 _0x3c721b=_0x3226;(function(_0x5f1810,_0x55e392){const _0x3a632c=_0x3226,_0x47a3ae=_0x5f1810();while(!![]){try{const _0x53e04f=-parseInt(_0x3a632c(0x169))/0x1*(-parseInt(_0x3a632c(0x20b))/0x2)+parseInt(_0x3a632c(0x206))/0x3*(-parseInt(_0x3a632c(0x1f7))/0x4)+-parseInt(_0x3a632c(0x197))/0x5*(parseInt(_0x3a632c(0x1be))/0x6)+-parseInt(_0x3a632c(0x168))/0x7+-parseInt(_0x3a632c(0x1a6))/0x8+-parseInt(_0x3a632c(0x1ab))/0x9+parseInt(_0x3a632c(0x16c))/0xa;if(_0x53e04f===_0x55e392)break;else _0x47a3ae['push'](_0x47a3ae['shift']());}catch(_0x3c9396){_0x47a3ae['push'](_0x47a3ae['shift']());}}}(_0x39f7,0x26979));import{Plugin as _0x5d8d28,PendingActions as _0x9f55a}from'ckeditor5/src/core.js';import{CKEditorError as _0x5be674,version as _0x47dd81,uid as _0x25f195}from'ckeditor5/src/utils.js';import{Notification as _0x431372}from'ckeditor5/src/ui.js';import{transformSets as _0x3a957e,NoOperation as _0x224217,InsertOperation as _0x5eb0e5,MarkerOperation as _0x26096c,RootAttributeOperation as _0x2f800e,OperationFactory as _0x3b35dc,History as _0x2d1377}from'ckeditor5/src/engine.js';import _0x1cd9f3 from'./websocketgateway.js';import _0x36c53b from'./sessions.js';function _0x3226(_0x5753ec,_0x4704ae){const _0x39f767=_0x39f7();return _0x3226=function(_0x3226dd,_0x34bd92){_0x3226dd=_0x3226dd-0x147;let _0x551bf5=_0x39f767[_0x3226dd];return _0x551bf5;},_0x3226(_0x5753ec,_0x4704ae);}import _0xcc1a92 from'./usermarkers.js';import{getTranslation as _0x5c9070}from'../common-translations.js';import{Compressor as _0x54bfeb}from'@ckeditor/ckeditor5-operations-compressor';function _0x39f7(){const _0x35a738=['change:_isPendingUpdate','finally','getMany','realtimecollaborationclient-sendbufferedoperations','view','realtimecollaborationclient-init-connection-failed','disconnect','PENDING_ACTION_SENDING_DATA','requires','init','get','affectedSelectable','_getAffectedRoot','forEach','createRange','cloudDocumentVersion','_handleReconnectionResponse','createPositionAt','_handleServerResponse','editor','toJSON','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enqueueChange','404','5230RwruFO','serverHistory','wereChangesApplied','newRange','collaboration.channelId','unregister','createPositionFromPath','isReadOnly','getDocumentDetails','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:range','push','_waitUntilSynced','_channelId','_applyOperationsSet','85392nhQHbC','keys','addUser','path','_sendBufferedOperationsDelayed','2511009ejYtjL','_isInit','Notification','plugins','_ignoredOperations','change:hasDomSelection','off','multi-root-editor-root-attributes-no-root','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.','_handleInitialConnectionData','reconnect','connect','isDocumentOperation','attributes','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stop','_loadRoot','_operationIdentifier','register','1038YiPLFQ','_clearPendingAction','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.','getOperations','pluginName','CommentsOnly','collaboration','editing','_disconnectService','cloud-services-internal-error:\x20Request\x20timeout.','_updateServerHistory','destroy','real-time-collaboration','message','_isAttached','metadata','add','rtc-destroyed','channelSessions','realtimecollaborationclient-handleserverresponse','_handleSendingSelectionMarkers','return','rootsAttributes','_shouldSendUpdate','ready','fromJSON','_currentBufferDelay','_document','listenTo','realtimecollaborationclient-initservice-internal-error','sessionCreatedAt','_disconnectionOperations','affectsData','_setPendingAction','insert','_initThrowingOnDataSet','RealTimeCollaborationClient','showWarning','_knownOperations','bind','Synchronization\x20issue','getOperationAuthor','collaboration-missing-channelid','_fetchMissingUsers','end','wasUndone','InsertOperation','cs:removeUser','_handleReceivedOperations','round','start','sessionAdd:','code','_handleExternalOperations','addOperation','_sendBufferedOperationsDelayId','includes','603068xQvbTj','type','baseVersion','createRoot','rootName','catch','_refreshUserSelectionMarkers','_connectService','getConnectedSessions','_service','set','_compressor','define','size','change:_isEditingAllowed','6nyIgfk','markers','loadRoot','remove','isUndoneOperation','555478QIUFrS','lastSyncVersion','directChange','permissions','isEnabled','differ','map','_shouldSendSelectionUpdate','__className','_sendBufferedOperations','apply','error','initData','batch','from','offset','connected','root','config','_isPendingUpdate','createUserMarkerOperations','roots','setPermissions','addRootAttribute','applyOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-session-connection-error','_isConnected','lastOperationAcceptedAt','_handleReconnectionError','lastDocumentSession','cloud-services-internal-error:\x20Not\x20connected.','_pendingAction','getUser','setIdForTheLastOperation','selection','removeFromReconnectionStack','_decompressOperations','clone','stopListening','position','addToReconnectionStack','high','409','_isLoaded','_initSessionsHandling','targetPosition','startsWith','_isDisconnection','_setUpDataInit','version','data','sendOperations','$root','Permissions','length','parse','realtimecollaborationclient-init-non-existent-root','disableReadOnlyMode','operationsReceived','then','fire','_authorId','_bufferRootLoad','getRoot','_addKnownRoot','disconnected','move','_compressOperations','createdAt','realtimecollaborationclient-initservice-incorrect-server-operation','decompress','has','rtc-offline','model','connection','_crash','enableReadOnlyMode','cloudServices.bundleVersion','_isEditingAllowed','document:write','_connectAfterSessionHasBeenFlushed','_hasSelectionChanged','getIdOfTheLastOperation','reset','marker','userId','locale','_getOperationsFromInitData','_hasSynchronizationProblem','filter','string','_lastServerVersion','sessionId','_operationToId','877779zOVrgL','1gfwkgm','compress','history','7778980MMmaBk','CollaborativeEditingService','_saveOperationInBuffer','lastOperationId','state','suppressErrorInCollaboration','slice','_baseBufferDelay','reconnection:\x20flushed\x20session','_offset','currentDocumentSession','entries','mySessionId','_lastSyncedOperationId','addRoot','_bufferedOperations','realtimecollaborationclient-init-document-already-initialized','_knownRootNames','document'];_0x39f7=function(){return _0x35a738;};return _0x39f7();}import{Users as _0x4604cc}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3822d0}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CollaborativeEditingService as _0x34446c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x5d8d28{static get[_0x3c721b(0x187)](){return[_0x1cd9f3,_0x36c53b,_0xcc1a92,_0x9f55a,_0x4604cc,_0x431372];}static get[_0x3c721b(0x1c2)](){const _0x3edf29=_0x3c721b;return _0x3edf29(0x1e2);}get[_0x3c721b(0x18e)](){const _0x23b1bf=_0x3c721b;return this[_0x23b1bf(0x165)]+this[_0x23b1bf(0x175)];}get[_0x3c721b(0x165)](){const _0xe8e31=_0x3c721b;return this[_0xe8e31(0x198)][_0xe8e31(0x23d)]-this[_0xe8e31(0x175)];}get[_0x3c721b(0x20c)](){const _0x16d4e4=_0x3c721b,_0x551417=this[_0x16d4e4(0x198)][_0x16d4e4(0x1c1)]();for(let _0x11023a=_0x551417[_0x16d4e4(0x242)]-0x1;_0x11023a>=0x0;_0x11023a--){const _0x95361=_0x551417[_0x11023a];if(!this[_0x16d4e4(0x1dd)][_0x16d4e4(0x151)](_0x95361))return _0x95361[_0x16d4e4(0x1f9)]+0x1-this[_0x16d4e4(0x175)];}return 0x0;}constructor(_0x427cbe){const _0x1c8ac1=_0x3c721b;if(super(_0x427cbe),this[_0x1c8ac1(0x175)]=0x0,this[_0x1c8ac1(0x166)]=null,this[_0x1c8ac1(0x198)]=new _0x2d1377(),this[_0x1c8ac1(0x192)][_0x1c8ac1(0x21d)][_0x1c8ac1(0x203)](_0x1c8ac1(0x1c4),{}),this[_0x1c8ac1(0x1a4)]=this[_0x1c8ac1(0x192)][_0x1c8ac1(0x21d)][_0x1c8ac1(0x189)](_0x1c8ac1(0x19b)),!this[_0x1c8ac1(0x1a4)])throw new _0x5be674(_0x1c8ac1(0x1e8),this);const _0x543597=_0x427cbe[_0x1c8ac1(0x21d)][_0x1c8ac1(0x189)](_0x1c8ac1(0x157))||_0x47dd81;this[_0x1c8ac1(0x200)]=new l[(_0x1c8ac1(0x16d))](_0x543597,this[_0x1c8ac1(0x1a4)]),this[_0x1c8ac1(0x1d9)]=this[_0x1c8ac1(0x192)][_0x1c8ac1(0x153)][_0x1c8ac1(0x17e)],this[_0x1c8ac1(0x202)]=new _0x54bfeb(),this[_0x1c8ac1(0x17b)]=[],this[_0x1c8ac1(0x1e4)]=new WeakSet(),this[_0x1c8ac1(0x17d)]=new Set(),this[_0x1c8ac1(0x201)](_0x1c8ac1(0x21e),!0x1),this[_0x1c8ac1(0x201)](_0x1c8ac1(0x162),!0x1),this[_0x1c8ac1(0x22b)]=null,this[_0x1c8ac1(0x15b)]=!0x1,this[_0x1c8ac1(0x1f5)]=null,this[_0x1c8ac1(0x173)]=0x12c,this[_0x1c8ac1(0x1d8)]=this[_0x1c8ac1(0x173)],this[_0x1c8ac1(0x179)]=null,this[_0x1c8ac1(0x1dd)]=new WeakSet(),this[_0x1c8ac1(0x1bc)]=new X(this[_0x1c8ac1(0x1dd)]);}[_0x3c721b(0x188)](){const _0x2396ae=_0x3c721b,_0x1258d0=this[_0x2396ae(0x192)],_0x3a2d19=_0x1258d0[_0x2396ae(0x1ae)][_0x2396ae(0x189)](_0x4604cc),_0x6b84ee=_0x1258d0[_0x2396ae(0x1ae)][_0x2396ae(0x189)](_0x1cd9f3);this[_0x2396ae(0x1da)](_0x3a2d19,_0x2396ae(0x1e7),(_0x4adab0,_0x4964ce)=>{const _0xc8683f=_0x2396ae,_0xf212d9=_0x4964ce[0x0];_0xf212d9[_0xc8683f(0x147)]&&(_0x4adab0[_0xc8683f(0x1d3)]=_0x3a2d19[_0xc8683f(0x22c)](_0xf212d9[_0xc8683f(0x147)]),_0x4adab0[_0xc8683f(0x1ba)]()),null===_0xf212d9[_0xc8683f(0x147)]&&(_0x4adab0[_0xc8683f(0x1d3)]=null,_0x4adab0[_0xc8683f(0x1ba)]());},{'priority':_0x2396ae(0x235)}),this[_0x2396ae(0x1da)](_0x1258d0[_0x2396ae(0x153)][_0x2396ae(0x17e)][_0x2396ae(0x22e)],_0x2396ae(0x1a1),(_0x552fb7,_0x591ecf)=>{const _0xfea83e=_0x2396ae;_0x591ecf[_0xfea83e(0x20d)]&&this[_0xfea83e(0x1fd)]();}),this[_0x2396ae(0x1da)](_0x1258d0[_0x2396ae(0x1c5)][_0x2396ae(0x183)],_0x2396ae(0x1b0),()=>{const _0x3a4851=_0x2396ae;this[_0x3a4851(0x1fd)]();}),this[_0x2396ae(0x1e1)](),_0x1258d0[_0x2396ae(0x153)]['on'](_0x2396ae(0x223),(_0x1f498f,_0xf70c97)=>{const _0x185755=_0x2396ae,_0x35500c=_0xf70c97[0x0];_0x35500c[_0x185755(0x1b7)]&&(this[_0x185755(0x16e)](_0x35500c),this[_0x185755(0x1d5)]()&&this[_0x185755(0x1aa)]());}),this[_0x2396ae(0x23c)](),this[_0x2396ae(0x1e5)](_0x2396ae(0x158))['to'](_0x6b84ee,_0x2396ae(0x170),this,_0x2396ae(0x162),(_0x2bad83,_0x48e83a)=>_0x2396ae(0x21b)===_0x2bad83&&!_0x48e83a),this['on'](_0x2396ae(0x205),()=>{const _0x2e2e5d=_0x2396ae;this[_0x2e2e5d(0x158)]?_0x1258d0[_0x2e2e5d(0x245)](_0x2e2e5d(0x152)):_0x1258d0[_0x2e2e5d(0x156)](_0x2e2e5d(0x152));}),this[_0x2396ae(0x158)]?_0x1258d0[_0x2396ae(0x245)](_0x2396ae(0x152)):_0x1258d0[_0x2396ae(0x156)](_0x2396ae(0x152)),this[_0x2396ae(0x201)](_0x2396ae(0x226),!0x1);}async[_0x3c721b(0x1b5)](){const _0x156d69=_0x3c721b,_0x10ee4a=this[_0x156d69(0x192)][_0x156d69(0x1ae)][_0x156d69(0x189)](_0x36c53b),_0x1d29de=this[_0x156d69(0x192)][_0x156d69(0x1ae)][_0x156d69(0x189)](_0x1cd9f3);try{this[_0x156d69(0x21e)]=!0x0,_0x10ee4a[_0x156d69(0x19c)](this[_0x156d69(0x1a4)]);const _0x4cc368=await this[_0x156d69(0x200)][_0x156d69(0x1b5)](_0x1d29de[_0x156d69(0x154)],this[_0x156d69(0x20c)]);await this[_0x156d69(0x18f)](_0x4cc368)&&(this[_0x156d69(0x21e)]=!0x1,this[_0x156d69(0x1bf)]());const _0x72be8f=await this[_0x156d69(0x200)][_0x156d69(0x1ff)]();_0x10ee4a[_0x156d69(0x1bd)](this[_0x156d69(0x1a4)],_0x72be8f),this[_0x156d69(0x1d2)](),this[_0x156d69(0x226)]=!0x0;}catch(_0x4cca03){if(function(_0x5d7f57){const _0x3069f3=_0x156d69;return _0x3069f3(0x196)===_0x5d7f57[_0x3069f3(0x1f2)];}(_0x4cca03)&&this[_0x156d69(0x166)])await this[_0x156d69(0x15a)]();else{if(function(_0x4817d2){const _0x21b9ed=_0x156d69;return _0x21b9ed(0x236)===_0x4817d2[_0x21b9ed(0x1f2)];}(_0x4cca03)){const _0x41e601=_0x5c9070(this[_0x156d69(0x192)][_0x156d69(0x160)],_0x156d69(0x194));this[_0x156d69(0x228)](_0x41e601);}else{if(!(_0x4cca03 instanceof J))throw _0x4cca03;this[_0x156d69(0x228)]();}}}}[_0x3c721b(0x1c9)](){const _0x468daf=_0x3c721b,_0x538202=this[_0x468daf(0x192)][_0x468daf(0x1ae)][_0x468daf(0x189)](_0x1cd9f3),_0x584c20=this[_0x468daf(0x192)][_0x468daf(0x1ae)][_0x468daf(0x189)](_0x36c53b);this[_0x468daf(0x192)][_0x468daf(0x156)](_0x468daf(0x1cf)),_0x584c20[_0x468daf(0x1d0)][_0x468daf(0x151)](this[_0x468daf(0x1a4)])&&_0x584c20[_0x468daf(0x19c)](this[_0x468daf(0x1a4)]),_0x538202[_0x468daf(0x22f)](this),this[_0x468daf(0x1c6)](),super[_0x468daf(0x1c9)]();}async[_0x3c721b(0x18f)](_0x5cb6af){const _0xe972e3=_0x3c721b;if(this[_0xe972e3(0x166)]!==_0x5cb6af[_0xe972e3(0x166)]&&this[_0xe972e3(0x179)]!==_0x5cb6af[_0xe972e3(0x16f)])throw new J();return this[_0xe972e3(0x166)]=_0x5cb6af[_0xe972e3(0x166)],this[_0xe972e3(0x191)]([],{..._0x5cb6af,'wereChangesApplied':!0x1,'data':_0x5cb6af[_0xe972e3(0x23e)]},_0xe972e3(0x1b5));}async[_0x3c721b(0x1fe)](_0x59769d,_0xe37388=!0x1){const _0x161938=_0x3c721b,{connection:_0x60ab5f}=this[_0x161938(0x192)][_0x161938(0x1ae)][_0x161938(0x189)](_0x1cd9f3);l[_0x161938(0x16d)][_0x161938(0x1ff)](_0x60ab5f,this[_0x161938(0x1a4)])[_0x161938(0x247)](_0x59155f=>this[_0x161938(0x238)](_0x59155f))[_0x161938(0x1fc)](_0xdea4c2=>{const _0x46a626=_0x161938;this[_0x46a626(0x155)](_0x46a626(0x225),_0xdea4c2);}),this[_0x161938(0x1da)](this[_0x161938(0x200)],_0x161938(0x246),this[_0x161938(0x1ee)][_0x161938(0x1e5)](this)),this[_0x161938(0x1da)](this[_0x161938(0x200)],_0x161938(0x216),(_0x65ac05,_0x2f6080)=>{const _0x25cc39=_0x161938;this[_0x25cc39(0x155)](_0x25cc39(0x1db),_0x2f6080);}),this[_0x161938(0x1da)](this[_0x161938(0x200)],_0x161938(0x14b),()=>{const _0xe8a44f=_0x161938;this[_0xe8a44f(0x226)]=!0x1;});const _0x5f25e9=this[_0x161938(0x1bc)][_0x161938(0x15c)](_0x59769d);this[_0x161938(0x21e)]=!0x0;const _0x5c454f=await this[_0x161938(0x200)][_0x161938(0x1b6)](_0x60ab5f,this[_0x161938(0x14d)](_0x59769d),_0x5f25e9);if(this[_0x161938(0x166)]=_0x5c454f[_0x161938(0x166)],_0xe37388){if(!_0x5c454f[_0x161938(0x199)])return void this[_0x161938(0x228)]();this[_0x161938(0x21e)]=!0x1,this[_0x161938(0x1bf)](),this[_0x161938(0x198)][_0x161938(0x15d)](),this[_0x161938(0x175)]=_0x5c454f[_0x161938(0x21a)],this[_0x161938(0x198)][_0x161938(0x23d)]=this[_0x161938(0x175)],await this[_0x161938(0x191)](_0x59769d,_0x5c454f,_0x161938(0x174));}else await this[_0x161938(0x1b4)](_0x5c454f,_0x59769d);this[_0x161938(0x1d2)](),this[_0x161938(0x226)]=!0x0;}[_0x3c721b(0x1d2)](){const _0xdaaa83=_0x3c721b,_0x5b0f9c=this[_0xdaaa83(0x192)][_0xdaaa83(0x1ae)][_0xdaaa83(0x189)](_0x36c53b),_0x35c7a4=this[_0xdaaa83(0x192)][_0xdaaa83(0x1ae)][_0xdaaa83(0x189)](_0xcc1a92),_0x41887b=_0x5b0f9c[_0xdaaa83(0x1d0)][_0xdaaa83(0x189)](this[_0xdaaa83(0x1a4)]);_0x41887b&&_0x41887b[_0xdaaa83(0x242)]>0x1?_0x35c7a4[_0xdaaa83(0x21f)]():this[_0xdaaa83(0x1da)](_0x5b0f9c,_0xdaaa83(0x1f1)+this[_0xdaaa83(0x1a4)],()=>{const _0x235b4e=_0xdaaa83;0x2===_0x5b0f9c[_0x235b4e(0x1d0)][_0x235b4e(0x189)](this[_0x235b4e(0x1a4)])[_0x235b4e(0x242)]&&_0x35c7a4[_0x235b4e(0x21f)]();});}async[_0x3c721b(0x1ee)](_0x2aee14,_0x5661d9,_0x2e25cf,_0x1cac80){const _0x28638b=_0x3c721b;if(!this[_0x28638b(0x21e)]&&this[_0x28638b(0x1d9)][_0x28638b(0x23d)]==_0x5661d9){const _0x1c5c92=this[_0x28638b(0x230)](_0x2e25cf,_0x1cac80);await this[_0x28638b(0x1e9)](_0x1c5c92),this[_0x28638b(0x1f3)](_0x1c5c92,_0x5661d9,_0x2e25cf[_0x28638b(0x16f)])||this[_0x28638b(0x155)](_0x28638b(0x14f));}}async[_0x3c721b(0x15a)](){const _0x1bccf3=_0x3c721b;this[_0x1bccf3(0x1c6)]();const {locale:_0x21ea01}=this[_0x1bccf3(0x192)];let _0x296a1c;try{_0x296a1c=await this[_0x1bccf3(0x200)][_0x1bccf3(0x19f)]();}catch(_0x26a85e){const _0x35b388=_0x5c9070(_0x21ea01,_0x1bccf3(0x1b9));return void this[_0x1bccf3(0x228)](_0x35b388);}const _0x45e51e=_0x296a1c[_0x1bccf3(0x176)]||_0x296a1c[_0x1bccf3(0x229)];if(this[_0x1bccf3(0x179)]===_0x45e51e[_0x1bccf3(0x16f)])await this[_0x1bccf3(0x1fe)](this[_0x1bccf3(0x192)][_0x1bccf3(0x153)][_0x1bccf3(0x17e)][_0x1bccf3(0x16b)][_0x1bccf3(0x1c1)](),!0x0);else{const _0x50e189=_0x5c9070(_0x21ea01,_0x1bccf3(0x1c0));this[_0x1bccf3(0x228)](_0x50e189);}}[_0x3c721b(0x1c6)](){const _0x36c2e4=_0x3c721b;this[_0x36c2e4(0x200)][_0x36c2e4(0x185)](),this[_0x36c2e4(0x17b)]=[],clearTimeout(this[_0x36c2e4(0x1f5)]),this[_0x36c2e4(0x232)](this[_0x36c2e4(0x200)]);}[_0x3c721b(0x238)](_0x4693c0){const _0x33ffbf=_0x3c721b,_0x3952dd=this[_0x33ffbf(0x192)][_0x33ffbf(0x1ae)][_0x33ffbf(0x189)](_0x36c53b);this[_0x33ffbf(0x1da)](_0x3952dd,_0x33ffbf(0x1f1)+this[_0x33ffbf(0x1a4)],(_0x3f0688,{session:_0x26f8e3})=>{const _0x3c7ddd=_0x33ffbf;if(_0x26f8e3['id']===_0x3952dd[_0x3c7ddd(0x178)]){_0x3f0688[_0x3c7ddd(0x1b1)]();const _0x36fcbd=this[_0x3c7ddd(0x192)][_0x3c7ddd(0x1ae)][_0x3c7ddd(0x151)](_0x3c7ddd(0x1c3))&&this[_0x3c7ddd(0x192)][_0x3c7ddd(0x1ae)][_0x3c7ddd(0x189)](_0x3c7ddd(0x1c3));let _0x27543f=_0x26f8e3[_0x3c7ddd(0x20e)];_0x36fcbd&&_0x36fcbd[_0x3c7ddd(0x20f)]&&(_0x27543f=_0x27543f[_0x3c7ddd(0x163)](_0x30b07d=>_0x3c7ddd(0x159)!==_0x30b07d)),this[_0x3c7ddd(0x192)][_0x3c7ddd(0x1ae)][_0x3c7ddd(0x189)](_0x3c7ddd(0x241))[_0x3c7ddd(0x221)](_0x27543f,this[_0x3c7ddd(0x1a4)]);}}),_0x3952dd[_0x33ffbf(0x1bd)](this[_0x33ffbf(0x1a4)],_0x4693c0);}[_0x3c721b(0x1e1)](){const _0x148bd8=_0x3c721b,_0x3fe7e0=this[_0x148bd8(0x192)][_0x148bd8(0x23e)][_0x148bd8(0x201)];this[_0x148bd8(0x192)][_0x148bd8(0x23e)][_0x148bd8(0x201)]=(..._0x8d5f1c)=>{const _0x22d0fd=_0x148bd8;if(!_0x8d5f1c[_0x8d5f1c[_0x22d0fd(0x242)]-0x1][_0x22d0fd(0x171)])throw new _0x5be674(_0x22d0fd(0x224),this);_0x3fe7e0[_0x22d0fd(0x215)](this[_0x22d0fd(0x192)][_0x22d0fd(0x23e)],_0x8d5f1c);};}[_0x3c721b(0x23c)](){const _0x2539be=_0x3c721b;this[_0x2539be(0x192)][_0x2539be(0x23e)]['on'](_0x2539be(0x188),(_0x42bbef,[_0x41f820])=>{const _0x5831c0=_0x2539be;if(this[_0x5831c0(0x1d9)][_0x5831c0(0x23d)])throw new _0x5be674(_0x5831c0(0x17c),this);_0x42bbef[_0x5831c0(0x1ba)](),this[_0x5831c0(0x1df)]();const _0x13ed6a=this[_0x5831c0(0x192)][_0x5831c0(0x21d)][_0x5831c0(0x189)](_0x5831c0(0x1d4)),_0xf026a7=this[_0x5831c0(0x161)](_0x41f820,_0x13ed6a);0x0==_0xf026a7[_0x5831c0(0x242)]&&_0xf026a7[_0x5831c0(0x1a2)](new _0x224217(0x0)),_0x42bbef[_0x5831c0(0x1d3)]=this[_0x5831c0(0x1fe)](_0xf026a7)[_0x5831c0(0x247)](()=>{const _0x4d6ec7=_0x5831c0;this[_0x4d6ec7(0x192)][_0x4d6ec7(0x1ae)][_0x4d6ec7(0x189)](_0x1cd9f3)[_0x4d6ec7(0x234)](this),this[_0x4d6ec7(0x192)][_0x4d6ec7(0x23e)][_0x4d6ec7(0x248)](_0x4d6ec7(0x1d6));})[_0x5831c0(0x1fc)](_0x523f28=>this[_0x5831c0(0x155)](_0x5831c0(0x184),_0x523f28))[_0x5831c0(0x180)](()=>this[_0x5831c0(0x1bf)]());},{'priority':_0x2539be(0x235)}),this[_0x2539be(0x192)]['on'](_0x2539be(0x208),async(_0x311a7e,[_0x4d81e3,_0x19aa02])=>{const _0x3bd31f=_0x2539be;_0x311a7e[_0x3bd31f(0x1ba)]();const _0x887b68=this[_0x3bd31f(0x192)][_0x3bd31f(0x153)][_0x3bd31f(0x17e)][_0x3bd31f(0x149)](_0x4d81e3);if(!this[_0x3bd31f(0x17d)][_0x3bd31f(0x151)](_0x4d81e3)){const _0x4bf413=_0x19aa02&&_0x19aa02[_0x3bd31f(0x23e)]?_0x19aa02[_0x3bd31f(0x23e)]:'',_0x5d2017=_0x19aa02&&_0x19aa02[_0x3bd31f(0x1b8)]?_0x19aa02[_0x3bd31f(0x1b8)]:{};await this[_0x3bd31f(0x1bb)](_0x4d81e3,_0x4bf413,_0x5d2017);}this[_0x3bd31f(0x192)][_0x3bd31f(0x153)][_0x3bd31f(0x195)]({'isUndoable':!0x1},()=>{const _0x5b9e8c=_0x3bd31f;_0x887b68[_0x5b9e8c(0x237)]=!0x0,this[_0x5b9e8c(0x192)][_0x5b9e8c(0x153)][_0x5b9e8c(0x17e)][_0x5b9e8c(0x210)][_0x5b9e8c(0x148)](_0x887b68);});},{'priority':_0x2539be(0x235)});}async[_0x3c721b(0x1e9)](_0x31dde7){const _0x35448b=_0x3c721b,_0x316dc6=this[_0x35448b(0x192)][_0x35448b(0x1ae)][_0x35448b(0x189)](_0x4604cc),{connection:_0x581544}=this[_0x35448b(0x192)][_0x35448b(0x1ae)][_0x35448b(0x189)](_0x1cd9f3),_0x379470=new Set();for(const _0x3a16b9 of _0x31dde7){const _0x4b78b8=_0x3a16b9[_0x35448b(0x147)];_0x4b78b8&&!_0x316dc6[_0x35448b(0x22c)](_0x4b78b8)&&_0x379470[_0x35448b(0x1ce)](_0x4b78b8);}if(0x0===_0x379470[_0x35448b(0x204)])return;const _0x22561f=await _0x3822d0[_0x35448b(0x181)](_0x581544,Array[_0x35448b(0x219)](_0x379470));for(const _0x347690 of _0x22561f)_0x316dc6[_0x35448b(0x22c)](_0x347690['id'])||_0x316dc6[_0x35448b(0x1a8)](_0x347690);}[_0x3c721b(0x161)](_0x336df4,_0x580c16={}){const _0x45a21c=_0x3c721b,_0x2d52ad=this[_0x45a21c(0x192)][_0x45a21c(0x153)],_0x48646e=[];let _0x544c2a=0x0;const _0x50fcb5=_0x45a21c(0x164)==typeof _0x336df4?{'main':_0x336df4}:_0x336df4;for(const _0x5ef226 of Object[_0x45a21c(0x1a7)](_0x50fcb5)){if(!this[_0x45a21c(0x1d9)][_0x45a21c(0x220)][_0x45a21c(0x151)](_0x5ef226))throw new _0x5be674(_0x45a21c(0x244),this);const _0x9c517f=this[_0x45a21c(0x192)][_0x45a21c(0x23e)][_0x45a21c(0x243)](_0x50fcb5[_0x5ef226]),_0x5b0769=this[_0x45a21c(0x1d9)][_0x45a21c(0x149)](_0x5ef226),_0x33a579=new _0x5eb0e5(_0x2d52ad[_0x45a21c(0x190)](_0x5b0769,0x0),_0x9c517f,_0x544c2a++);_0x48646e[_0x45a21c(0x1a2)](_0x33a579);for(const [_0x2f36f1,_0x1580d1]of _0x9c517f[_0x45a21c(0x207)]){const _0x3599f0=_0x2d52ad[_0x45a21c(0x18d)](_0x2d52ad[_0x45a21c(0x19d)](_0x5b0769,_0x1580d1[_0x45a21c(0x1f0)][_0x45a21c(0x1a9)][_0x45a21c(0x172)]()),_0x2d52ad[_0x45a21c(0x19d)](_0x5b0769,_0x1580d1[_0x45a21c(0x1ea)][_0x45a21c(0x1a9)][_0x45a21c(0x172)]())),_0x514a83=new _0x26096c(_0x2f36f1,null,_0x3599f0,_0x2d52ad[_0x45a21c(0x207)],!0x0,_0x544c2a++);_0x48646e[_0x45a21c(0x1a2)](_0x514a83);}}if(_0x580c16)for(const [_0x4ff03c,_0x348def]of Object[_0x45a21c(0x177)](_0x580c16)){const _0x31dc8b=_0x2d52ad[_0x45a21c(0x17e)][_0x45a21c(0x149)](_0x4ff03c);if(!_0x31dc8b)throw new _0x5be674(_0x45a21c(0x1b2),null);for(const [_0x4f24ed,_0x267620]of Object[_0x45a21c(0x177)](_0x348def))if(null!==_0x267620){const _0x383474=new _0x2f800e(_0x31dc8b,_0x4f24ed,null,_0x267620,_0x544c2a++);_0x48646e[_0x45a21c(0x1a2)](_0x383474);}}return _0x48646e;}async[_0x3c721b(0x1bb)](_0x353899,_0x5b2212,_0x5080fc){const _0x1ddd6e=_0x3c721b;this[_0x1ddd6e(0x161)]({[_0x353899]:_0x5b2212},{[_0x353899]:_0x5080fc})[_0x1ddd6e(0x18c)]((_0x457327,_0x5ec1cc)=>{const _0x2c70bd=_0x1ddd6e;_0x457327[_0x2c70bd(0x1f9)]=this[_0x2c70bd(0x1d9)][_0x2c70bd(0x23d)]+_0x5ec1cc,_0x457327[_0x2c70bd(0x1ac)]=!0x0,this[_0x2c70bd(0x16e)](_0x457327);}),this[_0x1ddd6e(0x1aa)](),await this[_0x1ddd6e(0x1a3)]();}async[_0x3c721b(0x1b4)](_0x238096,_0x199b2a){const _0x44f29a=_0x3c721b;let _0x502095;this[_0x44f29a(0x175)]=_0x238096[_0x44f29a(0x21a)];const _0x5632be=_0x238096[_0x44f29a(0x199)]&&!_0x238096[_0x44f29a(0x217)],_0x5d757f=_0x5632be?0x0:_0x238096[_0x44f29a(0x23e)][_0x44f29a(0x1f9)];if(_0x199b2a[_0x44f29a(0x18c)](_0x4b73ef=>{const _0x411190=_0x44f29a;_0x4b73ef[_0x411190(0x1ac)]=!0x0,_0x4b73ef[_0x411190(0x14e)]=_0x238096[_0x411190(0x1dc)],_0x4b73ef[_0x411190(0x147)]=null;}),_0x5632be)_0x502095=_0x199b2a,this[_0x44f29a(0x1a5)](_0x502095,_0x5632be);else{if(_0x238096[_0x44f29a(0x217)]){const _0x1b322b=this[_0x44f29a(0x161)](_0x238096[_0x44f29a(0x217)]);this[_0x44f29a(0x1d9)][_0x44f29a(0x16b)][_0x44f29a(0x23d)]=-_0x1b322b[_0x44f29a(0x242)],_0x1b322b[_0x44f29a(0x18c)](_0xcf0064=>{const _0x356ba3=_0x44f29a;_0xcf0064[_0x356ba3(0x1f9)]-=_0x1b322b[_0x356ba3(0x242)],_0xcf0064[_0x356ba3(0x14e)]=_0x238096[_0x356ba3(0x1dc)],_0xcf0064[_0x356ba3(0x1ac)]=!0x0,_0xcf0064[_0x356ba3(0x147)]=null;}),this[_0x44f29a(0x1a5)](_0x1b322b,!0x0),this[_0x44f29a(0x198)][_0x44f29a(0x23d)]=-_0x1b322b[_0x44f29a(0x242)]+this[_0x44f29a(0x175)],this[_0x44f29a(0x1c8)](_0x1b322b);}this[_0x44f29a(0x1d9)][_0x44f29a(0x16b)][_0x44f29a(0x23d)]=_0x5d757f,_0x502095=this[_0x44f29a(0x230)](_0x238096[_0x44f29a(0x23e)],_0x238096[_0x44f29a(0x1cd)]),await this[_0x44f29a(0x1e9)](_0x502095),this[_0x44f29a(0x1a5)](_0x502095,_0x5632be);}_0x238096[_0x44f29a(0x16f)]&&(this[_0x44f29a(0x1bc)][_0x44f29a(0x22d)](_0x502095,_0x238096[_0x44f29a(0x16f)]),this[_0x44f29a(0x179)]=_0x238096[_0x44f29a(0x16f)]),this[_0x44f29a(0x198)][_0x44f29a(0x23d)]=_0x5d757f+this[_0x44f29a(0x175)],this[_0x44f29a(0x1c8)](_0x502095),_0x199b2a[_0x44f29a(0x163)](_0x12acd4=>{const _0x5d0ffa=_0x44f29a,_0xd521ce=this[_0x5d0ffa(0x18b)](_0x12acd4);return _0xd521ce&&!this[_0x5d0ffa(0x17d)][_0x5d0ffa(0x151)](_0xd521ce);})[_0x44f29a(0x18c)]((_0x5b3608,_0x379e16)=>{const _0x146ef0=_0x44f29a;_0x5b3608[_0x146ef0(0x1f9)]=this[_0x146ef0(0x1d9)][_0x146ef0(0x23d)]+_0x379e16,this[_0x146ef0(0x16e)](_0x5b3608);}),this[_0x44f29a(0x1d5)]()?(this[_0x44f29a(0x1d8)]=0x0,this[_0x44f29a(0x1aa)](!0x0),await this[_0x44f29a(0x1a3)]()):(this[_0x44f29a(0x21e)]=!0x1,this[_0x44f29a(0x1bf)]());}[_0x3c721b(0x155)](_0x91a5d0,_0x4538c6){const _0x2aba85=_0x3c721b;throw this[_0x2aba85(0x21e)]=!0x0,_0x4538c6&&console[_0x2aba85(0x216)](_0x4538c6),new _0x5be674(_0x91a5d0,this[_0x2aba85(0x192)]);}[_0x3c721b(0x16e)](_0x560d31){const _0x3d782c=_0x3c721b;this[_0x3d782c(0x1e4)][_0x3d782c(0x151)](_0x560d31)||(this[_0x3d782c(0x1e4)][_0x3d782c(0x1ce)](_0x560d31),this[_0x3d782c(0x17b)][_0x3d782c(0x1a2)](_0x560d31),this[_0x3d782c(0x22b)]||_0x3d782c(0x15e)==_0x560d31[_0x3d782c(0x1f8)]&&!_0x560d31[_0x3d782c(0x1de)]||this[_0x3d782c(0x1df)]());}[_0x3c721b(0x1aa)](_0x472926=!0x1){const _0x2271c8=_0x3c721b;!_0x472926&&this[_0x2271c8(0x21e)]||(this[_0x2271c8(0x21e)]=!0x0,clearTimeout(this[_0x2271c8(0x1f5)]),this[_0x2271c8(0x1f5)]=setTimeout(()=>{const _0x2bc5e8=_0x2271c8;this[_0x2bc5e8(0x214)]()[_0x2bc5e8(0x247)](_0x38aa1f=>{const _0x47b027=_0x2bc5e8;_0x38aa1f&&(this[_0x47b027(0x1bf)](),this[_0x47b027(0x21e)]=!0x1);})[_0x2bc5e8(0x1fc)](_0x4e211a=>{const _0x1420aa=_0x2bc5e8;if(this[_0x1420aa(0x1bf)](),this[_0x1420aa(0x21e)]=!0x1,!function(_0x21f4d9){const _0x4f3b4a=_0x1420aa;return _0x21f4d9[_0x4f3b4a(0x1cb)][_0x4f3b4a(0x23a)](_0x4f3b4a(0x22a))||_0x21f4d9[_0x4f3b4a(0x1cb)][_0x4f3b4a(0x23a)](_0x4f3b4a(0x1a0))||_0x21f4d9[_0x4f3b4a(0x1cb)][_0x4f3b4a(0x23a)](_0x4f3b4a(0x1c7));}(_0x4e211a))throw _0x4e211a;});},this[_0x2271c8(0x1d8)]));}[_0x3c721b(0x1a3)](){return new Promise(_0x336081=>{const _0x485a73=_0x3226;this['on'](_0x485a73(0x17f),()=>{_0x336081();});});}async[_0x3c721b(0x214)](){const _0x307247=_0x3c721b,_0x1dfd06=this[_0x307247(0x192)][_0x307247(0x1ae)][_0x307247(0x189)](_0xcc1a92);if(this[_0x307247(0x212)]()&&(_0x1dfd06[_0x307247(0x21f)](),this[_0x307247(0x15b)]=!0x1),!this[_0x307247(0x1d5)]())return!0x0;const _0x12cdf7=[...this[_0x307247(0x17b)]];for(const _0x5828a2 of _0x12cdf7)_0x5828a2[_0x307247(0x1eb)]=this[_0x307247(0x1d9)][_0x307247(0x16b)][_0x307247(0x20a)](_0x5828a2);const _0x14591e=this[_0x307247(0x1bc)][_0x307247(0x15c)](_0x12cdf7),_0x4c447f=K++,_0x1449cc=this[_0x307247(0x14d)](_0x12cdf7),_0x218337=await this[_0x307247(0x200)][_0x307247(0x23f)](_0x1449cc,_0x1449cc[_0x307247(0x1f9)],_0x14591e);try{return await this[_0x307247(0x191)](_0x12cdf7,_0x218337,_0x4c447f);}catch(_0x24f5b2){return this[_0x307247(0x155)](_0x307247(0x182),_0x24f5b2);}}async[_0x3c721b(0x191)](_0xb0b728,_0x398908,_0x144825){const _0x2e3806=_0x3c721b;if(_0x2e3806(0x216)in _0x398908)throw _0x398908[_0x2e3806(0x216)];let _0x3c8103=!0x1;if(_0x398908[_0x2e3806(0x199)]){_0x398908[_0x2e3806(0x16f)]&&(this[_0x2e3806(0x179)]=_0x398908[_0x2e3806(0x16f)]),this[_0x2e3806(0x17b)]=this[_0x2e3806(0x17b)][_0x2e3806(0x163)](_0x4de19d=>!_0xb0b728[_0x2e3806(0x1f6)](_0x4de19d));for(const _0x1e8511 of _0xb0b728)_0x1e8511[_0x2e3806(0x14e)]=_0x2e3806(0x227)in _0x398908&&_0x398908[_0x2e3806(0x227)]||void 0x0;Q(_0xb0b728,_0x398908[_0x2e3806(0x23d)]-_0xb0b728[_0x2e3806(0x242)]),this[_0x2e3806(0x1c8)](_0xb0b728);const _0x370c4f=_0xb0b728[_0x2e3806(0x163)](_0x357a3d=>{const _0x554f61=_0x2e3806;if(!_0x357a3d[_0x554f61(0x1ac)])return!0x1;const _0x18a01d=this[_0x554f61(0x18b)](_0x357a3d);return _0x18a01d&&!this[_0x554f61(0x17d)][_0x554f61(0x151)](_0x18a01d);});Q(_0x370c4f,this[_0x2e3806(0x1d9)][_0x2e3806(0x23d)]),this[_0x2e3806(0x1a5)](_0x370c4f),_0x3c8103=!0x0,this[_0x2e3806(0x1d8)]=this[_0x2e3806(0x173)];}else{const _0x513458=this[_0x2e3806(0x230)](_0x398908[_0x2e3806(0x23e)],_0x398908[_0x2e3806(0x1cd)])[_0x2e3806(0x163)](_0x3cc526=>_0x3cc526[_0x2e3806(0x1f9)]>=this[_0x2e3806(0x165)]);_0x513458[_0x2e3806(0x18c)](_0x351e1b=>this[_0x2e3806(0x14a)](_0x351e1b)),this[_0x2e3806(0x17b)]=this[_0x2e3806(0x17b)][_0x2e3806(0x163)](_0x2fbe60=>!_0x2fbe60[_0x2e3806(0x1ac)]||!this[_0x2e3806(0x17d)][_0x2e3806(0x151)](this[_0x2e3806(0x18b)](_0x2fbe60))),this[_0x2e3806(0x17b)][_0x2e3806(0x242)]&&Q(this[_0x2e3806(0x17b)],this[_0x2e3806(0x17b)][0x0][_0x2e3806(0x1f9)]),await this[_0x2e3806(0x1e9)](_0x513458),_0x3c8103=this[_0x2e3806(0x1f3)](_0x513458,_0x398908[_0x2e3806(0x23d)],_0x398908[_0x2e3806(0x16f)]),this[_0x2e3806(0x1d8)]=Math[_0x2e3806(0x1ef)](this[_0x2e3806(0x1d8)]/0x2);}return _0x3c8103?!this[_0x2e3806(0x1d5)]()||(this[_0x2e3806(0x1aa)](!0x0),!0x1):this[_0x2e3806(0x155)](_0x2e3806(0x1d1));}[_0x3c721b(0x1f3)](_0x5b5976,_0x4dfee9,_0x3535ea){const _0x23163c=_0x3c721b;try{const _0x2fb578={'document':this[_0x23163c(0x1d9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5f06f7,operationsB:_0x23233b,originalOperations:_0x3c7b94}=_0x3a957e(_0x5b5976,this[_0x23163c(0x17b)],_0x2fb578);Q(_0x5f06f7,this[_0x23163c(0x1d9)][_0x23163c(0x23d)]),Q(_0x23233b,_0x4dfee9);for(const _0x130d47 of _0x5f06f7){const _0x220711=_0x3c7b94[_0x23163c(0x189)](_0x130d47);_0x130d47[_0x23163c(0x147)]=_0x220711?_0x220711[_0x23163c(0x147)]:null;}_0x3535ea&&(this[_0x23163c(0x1bc)][_0x23163c(0x22d)](_0x5b5976,_0x3535ea),this[_0x23163c(0x179)]=_0x3535ea),this[_0x23163c(0x17b)]=[..._0x23233b],this[_0x23163c(0x1a5)](_0x5f06f7),this[_0x23163c(0x1c8)](_0x5b5976);}catch(_0x38f9bb){return console[_0x23163c(0x216)](_0x38f9bb),!0x1;}return!0x0;}[_0x3c721b(0x1a5)](_0x1a11ed,_0x451309=!0x1){const _0x4b6c26=_0x3c721b;this[_0x4b6c26(0x192)][_0x4b6c26(0x153)][_0x4b6c26(0x195)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1fe990=>{const _0x597d2d=_0x4b6c26;for(const _0x5bffc1 of _0x1a11ed)this[_0x597d2d(0x1e4)][_0x597d2d(0x1ce)](_0x5bffc1),this[_0x597d2d(0x14a)](_0x5bffc1),_0x1fe990[_0x597d2d(0x218)][_0x597d2d(0x1f4)](_0x5bffc1),this[_0x597d2d(0x192)][_0x597d2d(0x153)][_0x597d2d(0x223)](_0x5bffc1);});}[_0x3c721b(0x14a)](_0x4e198d){const _0x5c5f4b=_0x3c721b,_0x386c19=this[_0x5c5f4b(0x18b)](_0x4e198d);_0x386c19&&this[_0x5c5f4b(0x17d)][_0x5c5f4b(0x1ce)](_0x386c19);}[_0x3c721b(0x18b)](_0x4e5f4f){const _0x4bcc7d=_0x3c721b;let _0xc1539b,_0x307352;switch(_0x4e5f4f[_0x4bcc7d(0x1f8)]){case _0x4bcc7d(0x1e0):_0xc1539b=_0x4e5f4f[_0x4bcc7d(0x233)][_0x4bcc7d(0x21c)];break;case _0x4bcc7d(0x15e):if(_0x307352=_0x4e5f4f[_0x4bcc7d(0x19a)],!_0x307352)return null;_0xc1539b=_0x307352[_0x4bcc7d(0x21c)];break;case _0x4bcc7d(0x222):_0xc1539b=_0x4e5f4f[_0x4bcc7d(0x21c)];break;case _0x4bcc7d(0x17a):_0xc1539b=_0x4e5f4f[_0x4bcc7d(0x18a)];break;case _0x4bcc7d(0x14c):_0xc1539b=_0x4e5f4f[_0x4bcc7d(0x239)][_0x4bcc7d(0x21c)];break;default:return null;}return _0xc1539b[_0x4bcc7d(0x1fb)];}[_0x3c721b(0x1c8)](_0x4385c1){const _0x5050d8=_0x3c721b;_0x4385c1[_0x5050d8(0x18c)](_0xf413d2=>{const _0x15e6fa=_0x5050d8,_0x30041e=_0xf413d2[_0x15e6fa(0x231)]();_0x30041e[_0x15e6fa(0x147)]=_0xf413d2[_0x15e6fa(0x147)],_0x30041e[_0x15e6fa(0x1ac)]=!!_0xf413d2[_0x15e6fa(0x1ac)],_0x30041e[_0x15e6fa(0x14e)]=_0xf413d2[_0x15e6fa(0x14e)],_0x30041e[_0x15e6fa(0x1f9)]+=this[_0x15e6fa(0x175)],_0xf413d2[_0x15e6fa(0x23b)]&&this[_0x15e6fa(0x1dd)][_0x15e6fa(0x1ce)](_0x30041e),this[_0x15e6fa(0x198)][_0x15e6fa(0x1f4)](_0x30041e);});}[_0x3c721b(0x228)](_0x1778b2){const _0x40d607=_0x3c721b,_0x12b7ec=this[_0x40d607(0x192)][_0x40d607(0x1ae)][_0x40d607(0x189)](_0x40d607(0x1ad)),_0x28262f=this[_0x40d607(0x192)][_0x40d607(0x160)];_0x1778b2||(_0x1778b2=_0x5c9070(_0x28262f,_0x40d607(0x1b3))),_0x12b7ec[_0x40d607(0x1e3)](_0x1778b2,{'title':_0x5c9070(_0x28262f,_0x40d607(0x1e6)),'namespace':_0x40d607(0x1ca)}),this[_0x40d607(0x162)]=!0x0,clearTimeout(this[_0x40d607(0x1f5)]),this[_0x40d607(0x17b)]=[],this[_0x40d607(0x192)][_0x40d607(0x1ae)][_0x40d607(0x189)](_0x1cd9f3)[_0x40d607(0x1c9)]();}[_0x3c721b(0x1df)](){const _0x53a6db=_0x3c721b;this[_0x53a6db(0x22b)]||(this[_0x53a6db(0x22b)]=this[_0x53a6db(0x192)][_0x53a6db(0x1ae)][_0x53a6db(0x189)](_0x9f55a)[_0x53a6db(0x1ce)](_0x5c9070(this[_0x53a6db(0x192)][_0x53a6db(0x160)],_0x53a6db(0x186))));}[_0x3c721b(0x1bf)](){const _0xb4b88a=_0x3c721b;this[_0xb4b88a(0x22b)]&&(this[_0xb4b88a(0x192)][_0xb4b88a(0x1ae)][_0xb4b88a(0x189)](_0x9f55a)[_0xb4b88a(0x209)](this[_0xb4b88a(0x22b)]),this[_0xb4b88a(0x22b)]=null);}[_0x3c721b(0x14d)](_0x39dd81){const _0x46a727=_0x3c721b,_0x460007=_0x39dd81[_0x46a727(0x211)](_0x1ea3ae=>_0x1ea3ae[_0x46a727(0x193)]());return this[_0x46a727(0x202)][_0x46a727(0x16a)](_0x460007);}[_0x3c721b(0x230)](_0x7e9b1b,_0x2e5868){const _0x8f52b4=_0x3c721b;return this[_0x8f52b4(0x202)][_0x8f52b4(0x150)](_0x7e9b1b)[_0x8f52b4(0x211)]((_0x4f1829,_0x1ee26a)=>{const _0xbdb96=_0x8f52b4,_0x9a4695=_0xbdb96(0x188)==_0x2e5868[_0x1ee26a][_0xbdb96(0x1f8)];if(_0xbdb96(0x1ec)==_0x4f1829[_0xbdb96(0x213)]){const _0x28a9b9=_0x4f1829[_0xbdb96(0x233)][_0xbdb96(0x21c)];!this[_0xbdb96(0x1d9)][_0xbdb96(0x149)](_0x28a9b9)&&(this[_0xbdb96(0x1d9)][_0xbdb96(0x1fa)](_0xbdb96(0x240),_0x28a9b9)[_0xbdb96(0x1cc)]=!0x1);}const _0x36735a=_0x3b35dc[_0xbdb96(0x1d7)](_0x4f1829,this[_0xbdb96(0x1d9)]);return _0x36735a[_0xbdb96(0x1eb)]=_0x4f1829[_0xbdb96(0x1eb)],_0x36735a[_0xbdb96(0x1ac)]=_0x9a4695,_0x36735a[_0xbdb96(0x147)]=_0x9a4695?null:_0x2e5868[_0x1ee26a][_0xbdb96(0x15f)],_0x36735a[_0xbdb96(0x23b)]=_0xbdb96(0x1ed)===_0x2e5868[_0x1ee26a][_0xbdb96(0x1f8)],_0x36735a[_0xbdb96(0x14e)]=_0x2e5868[_0x1ee26a][_0xbdb96(0x14e)],_0x36735a;});}[_0x3c721b(0x1fd)](){const _0x45b584=_0x3c721b;this[_0x45b584(0x15b)]=!0x0,this[_0x45b584(0x212)]()?this[_0x45b584(0x1aa)]():this[_0x45b584(0x15b)]=!0x1;}[_0x3c721b(0x212)](){const _0x239bc7=_0x3c721b,_0x573993=this[_0x239bc7(0x192)][_0x239bc7(0x1ae)][_0x239bc7(0x189)](_0x36c53b)[_0x239bc7(0x1d0)][_0x239bc7(0x189)](this[_0x239bc7(0x1a4)]);return!this[_0x239bc7(0x192)][_0x239bc7(0x19e)]&&!!_0x573993&&_0x573993[_0x239bc7(0x242)]>0x1&&this[_0x239bc7(0x15b)];}[_0x3c721b(0x1d5)](){const _0x4638c1=_0x3c721b;return this[_0x4638c1(0x17b)][_0x4638c1(0x242)]>0x0||this[_0x4638c1(0x212)]();}}l[_0x3c721b(0x16d)]=_0x34446c;export default l;class J extends Error{}function Q(_0x7be2d5,_0x463c9d){const _0x4f634d=_0x3c721b;for(const _0x1e95b7 of _0x7be2d5)_0x1e95b7[_0x4f634d(0x1f9)]=_0x463c9d++;}class X{constructor(_0x4b5107){const _0x3d8c96=_0x3c721b;this[_0x3d8c96(0x1af)]=_0x4b5107,this[_0x3d8c96(0x167)]=new WeakMap();}[_0x3c721b(0x15c)](_0x2b9c43){const _0x13119e=_0x3c721b;let _0x5c288f=_0x2b9c43[_0x13119e(0x242)];for(;_0x5c288f--;){const _0x140994=_0x2b9c43[_0x5c288f];if(!this[_0x13119e(0x1af)][_0x13119e(0x151)](_0x140994)){if(!this[_0x13119e(0x167)][_0x13119e(0x151)](_0x140994)){const _0x3078aa=_0x25f195()[_0x13119e(0x172)](0x1,0x12);this[_0x13119e(0x167)][_0x13119e(0x201)](_0x140994,_0x3078aa);}return this[_0x13119e(0x167)][_0x13119e(0x189)](_0x140994);}}}[_0x3c721b(0x22d)](_0x427f62,_0xead1cc){const _0x239155=_0x3c721b;if(!_0xead1cc)return;let _0x521836=_0x427f62[_0x239155(0x242)];for(;_0x521836--;){const _0x4a99ac=_0x427f62[_0x521836];this[_0x239155(0x1af)][_0x239155(0x151)](_0x4a99ac)||this[_0x239155(0x167)][_0x239155(0x201)](_0x4a99ac,_0xead1cc);}}}
|
|
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);}}}
|