@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.0 → 43.2.0-alpha.1
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 +6 -6
- package/package.json +9 -9
- 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/realtimecollaborativecomments/cloudservicescommentsadapter.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/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24eac5=_0x1a0d;(function(_0x3548cb,_0x5982a5){const _0x4d8386=_0x1a0d,_0x23e413=_0x3548cb();while(!![]){try{const _0x1d5a5d=-parseInt(_0x4d8386(0x20a))/0x1+parseInt(_0x4d8386(0x21a))/0x2*(parseInt(_0x4d8386(0x201))/0x3)+parseInt(_0x4d8386(0x200))/0x4+parseInt(_0x4d8386(0x1cf))/0x5+-parseInt(_0x4d8386(0x225))/0x6*(parseInt(_0x4d8386(0x1ec))/0x7)+parseInt(_0x4d8386(0x1e2))/0x8+parseInt(_0x4d8386(0x219))/0x9*(-parseInt(_0x4d8386(0x1d3))/0xa);if(_0x1d5a5d===_0x5982a5)break;else _0x23e413['push'](_0x23e413['shift']());}catch(_0xb035ee){_0x23e413['push'](_0x23e413['shift']());}}}(_0x4765,0x65d7f));import{Plugin as _0x2ff355}from'ckeditor5/src/core.js';import{global as _0x2cb3d2,DomEmitterMixin as _0x1b3977}from'ckeditor5/src/utils.js';import _0x4c8ed8 from'./sessions.js';import{LiveRange as _0x2b3e0f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1a0d(_0x5114ca,_0x34f694){const _0x476511=_0x4765();return _0x1a0d=function(_0x1a0da5,_0x355a71){_0x1a0da5=_0x1a0da5-0x1b7;let _0x56d8ac=_0x476511[_0x1a0da5];return _0x56d8ac;},_0x1a0d(_0x5114ca,_0x34f694);}export default class H extends _0x2ff355{constructor(){const _0x33d964=_0x1a0d;super(...arguments),this[_0x33d964(0x238)]=new(_0x1b3977())();}static get[_0x24eac5(0x209)](){return[_0x4c8ed8];}static get[_0x24eac5(0x1b7)](){const _0x3b6e40=_0x24eac5;return _0x3b6e40(0x1b8);}[_0x24eac5(0x1be)](){const _0x3bd7af=_0x24eac5,_0x241e5e=this[_0x3bd7af(0x1fc)],_0x126efd=_0x241e5e[_0x3bd7af(0x1eb)][_0x3bd7af(0x1f1)](_0x4c8ed8);_0x241e5e[_0x3bd7af(0x1b9)][_0x3bd7af(0x1fd)](_0x3bd7af(0x227))[_0x3bd7af(0x1da)]({'model':_0x3bd7af(0x1df),'view':(_0x3d2d62,{writer:_0x75717a})=>function(_0x368648,_0x5a6b7c,_0x51b6cf,_0x2e6013){const _0x1d3f1e=_0x3bd7af,_0x2dd4a8=_0x368648[_0x1d3f1e(0x1ce)][_0x1d3f1e(0x1e8)](':')[0x2],_0x9a1e20=_0x51b6cf[_0x1d3f1e(0x22f)](_0x2dd4a8);if(!_0x9a1e20||_0x2dd4a8===_0x51b6cf[_0x1d3f1e(0x1ed)])return;if(!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)][_0x1d3f1e(0x224)](_0x368648[_0x1d3f1e(0x1e1)][_0x1d3f1e(0x1c0)],_0x1d3f1e(0x1ca)))return;const _0x987059={'class':_0x1d3f1e(0x1e9)+_0x9a1e20[_0x1d3f1e(0x1e0)][_0x1d3f1e(0x1c8)](),'data-name':_0x9a1e20[_0x1d3f1e(0x1e5)],'data-session-id':_0x2dd4a8},_0x93b0fa=_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x237)][_0x1d3f1e(0x1f1)](_0x368648[_0x1d3f1e(0x1ce)]),_0x4c9e8e=_0x93b0fa[_0x1d3f1e(0x233)](),_0x453d6a=_0x4c9e8e[_0x1d3f1e(0x217)],_0x55b5bc=_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)];if(_0x453d6a&&_0x55b5bc[_0x1d3f1e(0x1d7)](_0x453d6a)&&_0x55b5bc[_0x1d3f1e(0x1c6)](_0x453d6a)&&!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x237)][_0x1d3f1e(0x1f1)](_0x1d3f1e(0x1f7)+_0x2dd4a8)[_0x1d3f1e(0x230)]()[_0x1d3f1e(0x1ba)])return;const _0x378884=_0x4c9e8e[_0x1d3f1e(0x22d)];return _0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)][_0x1d3f1e(0x1de)](_0x378884)&&!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x211)](_0x378884)&&(_0x987059[_0x1d3f1e(0x1ff)]=!0x1),function(_0x264614,_0x9d153e,_0x106c30){const _0x19b040=_0x1d3f1e,_0x88eb85=_0x264614[_0x19b040(0x1d0)](_0x19b040(0x1bd),_0x9d153e);return _0x264614[_0x19b040(0x22a)](_0x19b040(0x1d8),!0x0,_0x88eb85),_0x88eb85[_0x19b040(0x1e3)]=function(_0x150282){const _0x413882=_0x19b040,_0x5c0b29=this[_0x413882(0x1e4)](_0x150282);return _0x5c0b29[_0x413882(0x220)]=_0x413882(0x1cb)+_0x106c30[_0x413882(0x1e5)]+_0x413882(0x1dc),_0x5c0b29[_0x413882(0x203)](_0x413882(0x1d2),()=>{const _0x52b80d=_0x413882;_0x5c0b29[_0x52b80d(0x20c)][_0x52b80d(0x1cd)](_0x52b80d(0x1bc));}),_0x5c0b29[_0x413882(0x203)](_0x413882(0x20d),()=>{const _0x15563c=_0x413882;_0x5c0b29[_0x15563c(0x20c)][_0x15563c(0x232)](_0x15563c(0x1bc));}),_0x5c0b29;},_0x88eb85[_0x19b040(0x223)]=function(_0x393590){const _0x557db7=_0x19b040;return!(!this[_0x557db7(0x21d)](_0x557db7(0x1d8))||!_0x393590[_0x557db7(0x21d)](_0x557db7(0x1d8))||this[_0x557db7(0x1ee)](_0x557db7(0x22e))!=_0x393590[_0x557db7(0x1ee)](_0x557db7(0x22e)));},_0x88eb85;}(_0x5a6b7c,_0x987059,_0x9a1e20);}(_0x3d2d62,_0x75717a,_0x126efd,_0x241e5e)}),_0x241e5e[_0x3bd7af(0x1b9)][_0x3bd7af(0x1fd)](_0x3bd7af(0x227))[_0x3bd7af(0x1cc)]({'model':_0x3bd7af(0x215),'view':_0x5b2166=>function(_0x2d8960,_0x4e7743){const _0xd0ee37=_0x3bd7af,_0x4d9d6d=_0x2d8960[_0xd0ee37(0x1ce)][_0xd0ee37(0x1e8)](':')[0x2];if(_0x4d9d6d===_0x4e7743[_0xd0ee37(0x1ed)])return null;const _0x5c5047=_0x4e7743[_0xd0ee37(0x22f)](_0x4d9d6d);if(!_0x5c5047)return{'id':_0x4d9d6d,'classes':[]};return{'id':_0x4d9d6d,'classes':[_0xd0ee37(0x1c7),_0x5c5047[_0xd0ee37(0x1e0)][_0xd0ee37(0x1f6)]()],'attributes':{'data-session-id':_0x4d9d6d},'priority':0x7d0+_0x5c5047[_0xd0ee37(0x229)]};}(_0x5b2166,_0x126efd)}),function(_0x35282e){const _0x1c16de=_0x3bd7af,_0xef1d3a=_0x35282e[_0x1c16de(0x218)],_0x567d76=new Map(),_0x33cd91=_0x35282e[_0x1c16de(0x1eb)][_0x1c16de(0x1f1)](_0x4c8ed8);_0xef1d3a[_0x1c16de(0x237)]['on'](_0x1c16de(0x21c),(_0x2dd645,_0x174c68,_0x367d08,_0x35f130)=>{const _0x439b30=_0x1c16de;if(!_0x35f130&&_0x567d76[_0x439b30(0x1f1)](_0x174c68[_0x439b30(0x1e5)]))return _0x567d76[_0x439b30(0x1f1)](_0x174c68[_0x439b30(0x1e5)])[_0x439b30(0x21f)](),void _0x567d76[_0x439b30(0x213)](_0x174c68[_0x439b30(0x1e5)]);const _0x11005d=_0x174c68[_0x439b30(0x1e5)][_0x439b30(0x1e8)](':')[0x2];if(_0x11005d===_0x33cd91[_0x439b30(0x1ed)])return;const _0x577ed1=_0x439b30(0x20e)+_0x11005d;_0xef1d3a[_0x439b30(0x237)][_0x439b30(0x1ef)](_0x577ed1)&&_0x35282e[_0x439b30(0x1fb)][_0x439b30(0x202)](_0x577ed1),_0x174c68['on'](_0x439b30(0x206),(_0x495a78,_0x3363f8,_0x5cd639)=>{const _0x57fbb5=_0x439b30;if(_0x57fbb5(0x1c4)!=_0x3363f8[_0x57fbb5(0x205)][_0x57fbb5(0x1d1)]&&_0x57fbb5(0x1c4)==_0x174c68[_0x57fbb5(0x230)]()[_0x57fbb5(0x205)][_0x57fbb5(0x1d1)]&&!_0x567d76[_0x57fbb5(0x1ef)](_0x174c68[_0x57fbb5(0x1e5)])){const _0x3e949f=_0xef1d3a[_0x57fbb5(0x1dd)][_0x57fbb5(0x21e)](_0x5cd639[_0x57fbb5(0x1d5)]);if(_0x3e949f){const _0x2a017b=_0x2b3e0f[_0x57fbb5(0x1ea)](_0x3e949f);_0x567d76[_0x57fbb5(0x1c5)](_0x174c68[_0x57fbb5(0x1e5)],_0x2a017b),_0x2a017b['on'](_0x57fbb5(0x206),(_0x96b829,_0x3392b4,_0x28206)=>{const _0x3b7d3a=_0x57fbb5;if(_0x3b7d3a(0x1c4)==_0x2a017b[_0x3b7d3a(0x205)][_0x3b7d3a(0x1d1)]){const _0x35eb82=_0xef1d3a[_0x3b7d3a(0x1dd)][_0x3b7d3a(0x21e)](_0x28206[_0x3b7d3a(0x1d5)]);_0x35eb82?(_0x2a017b[_0x3b7d3a(0x1c0)]=_0x35eb82[_0x3b7d3a(0x1c0)],_0x2a017b[_0x3b7d3a(0x1f0)]=_0x35eb82[_0x3b7d3a(0x1f0)]):(_0x567d76[_0x3b7d3a(0x213)](_0x174c68[_0x3b7d3a(0x1e5)]),_0x2a017b[_0x3b7d3a(0x21f)]());}});}}});}),_0xef1d3a[_0x1c16de(0x20f)]['on'](_0x1c16de(0x22b),()=>{const _0x4f136e=_0x1c16de;_0x567d76[_0x4f136e(0x236)]>0x0&&_0xef1d3a[_0x4f136e(0x1d9)]({'isUndoable':!0x1},_0x4e2cd6=>{const _0x5a9ac2=_0x4f136e;for(const [_0x3c1ff0,_0x5777f6]of _0x567d76)_0x5a9ac2(0x1c4)==_0xef1d3a[_0x5a9ac2(0x237)][_0x5a9ac2(0x1f1)](_0x3c1ff0)[_0x5a9ac2(0x230)]()[_0x5a9ac2(0x205)][_0x5a9ac2(0x1d1)]&&(re(_0x3c1ff0[_0x5a9ac2(0x1e8)](':')[0x2],_0x5777f6[_0x5a9ac2(0x1f4)](),_0xef1d3a,_0x4e2cd6),_0x5777f6[_0x5a9ac2(0x21f)]());_0x567d76[_0x5a9ac2(0x1f5)]();});});}(_0x241e5e),this[_0x3bd7af(0x238)][_0x3bd7af(0x22c)](_0x2cb3d2[_0x3bd7af(0x20f)],_0x3bd7af(0x210),(_0x473d70,{key:_0x23a9d0})=>{const _0x257175=_0x3bd7af;_0x257175(0x226)===_0x23a9d0&&function(_0x1c409f){const _0x1836b9=_0x257175;_0x1c409f[_0x1836b9(0x1fb)][_0x1836b9(0x20b)][_0x1836b9(0x22b)](_0x1d016d=>{const _0x5d56b0=_0x1836b9;for(const _0x346496 of _0x1c409f[_0x5d56b0(0x218)][_0x5d56b0(0x237)]){if(!_0x346496[_0x5d56b0(0x1e5)][_0x5d56b0(0x235)](_0x5d56b0(0x1df)))continue;const _0x4bf9c6=_0x1c409f[_0x5d56b0(0x1fb)][_0x5d56b0(0x222)][_0x5d56b0(0x234)](_0x346496[_0x5d56b0(0x1e5)]);if(_0x4bf9c6){for(const _0x2830f3 of _0x4bf9c6)_0x1d016d[_0x5d56b0(0x214)](_0x5d56b0(0x1bc),_0x2830f3);}}});}(_0x241e5e);},{'useCapture':!0x0});}[_0x24eac5(0x1e6)](){const _0x429b75=_0x24eac5,_0x4213d1=this[_0x429b75(0x1fc)],_0x4f49c3=_0x4213d1[_0x429b75(0x208)][_0x429b75(0x1f1)](_0x429b75(0x1e7));_0x4f49c3&&_0x4213d1[_0x429b75(0x218)]['on'](_0x429b75(0x221),(_0x2a549c,_0x28599a)=>{const _0x5b9cc8=_0x429b75,_0x46d75a=_0x28599a[0x0];if(_0x5b9cc8(0x1fe)!=_0x46d75a[_0x5b9cc8(0x228)]||!_0x46d75a[_0x5b9cc8(0x1e5)][_0x5b9cc8(0x235)](_0x5b9cc8(0x1f2)))return;const _0x2d61a5=_0x46d75a[_0x5b9cc8(0x1fa)];_0x4f49c3[_0x5b9cc8(0x207)][_0x5b9cc8(0x1ef)](_0x2d61a5)&&(_0x46d75a[_0x5b9cc8(0x216)]=_0x46d75a[_0x5b9cc8(0x212)]?_0x4213d1[_0x5b9cc8(0x218)][_0x5b9cc8(0x1f8)](_0x46d75a[_0x5b9cc8(0x212)][_0x5b9cc8(0x1c0)],_0x46d75a[_0x5b9cc8(0x212)][_0x5b9cc8(0x1f0)]):null);},{'priority':_0x429b75(0x1db)});}[_0x24eac5(0x1c3)](){const _0x582d4a=_0x24eac5;return this[_0x582d4a(0x238)][_0x582d4a(0x1c1)](),super[_0x582d4a(0x1c3)]();}[_0x24eac5(0x1bf)](){const _0x3c9533=_0x24eac5,_0x415433=this[_0x3c9533(0x1fc)],_0x412147=_0x415433[_0x3c9533(0x218)][_0x3c9533(0x20f)],_0x12b5b8=_0x415433[_0x3c9533(0x1eb)][_0x3c9533(0x1f1)](_0x4c8ed8);_0x415433[_0x3c9533(0x218)][_0x3c9533(0x1d9)]({'isUndoable':!0x1},_0x51ae35=>{const _0x4cd8ef=_0x3c9533,_0x57c27a=_0x4cd8ef(0x1f7)+_0x12b5b8[_0x4cd8ef(0x1ed)],_0x4993e9=_0x4cd8ef(0x20e)+_0x12b5b8[_0x4cd8ef(0x1ed)],_0x207b93=_0x415433[_0x4cd8ef(0x218)][_0x4cd8ef(0x237)][_0x4cd8ef(0x1ef)](_0x57c27a);_0x415433[_0x4cd8ef(0x1fb)][_0x4cd8ef(0x20b)][_0x4cd8ef(0x1d6)]?re(_0x12b5b8[_0x4cd8ef(0x1ed)],_0x412147[_0x4cd8ef(0x231)][_0x4cd8ef(0x1f9)](),_0x415433[_0x4cd8ef(0x218)],_0x51ae35):_0x207b93&&(_0x51ae35[_0x4cd8ef(0x21b)](_0x57c27a),_0x51ae35[_0x4cd8ef(0x21b)](_0x4993e9));});}}function _0x4765(){const _0x447ad0=['batch','editing','editor','for','marker','contenteditable','1689876QiJdCG','3FPtGOF','reconvertMarker','addEventListener','addMarker','root','change:range','_createdBatches','commands','requires','533540wlOlaI','view','classList','mouseleave','user:position:','document','keydown','hasContent','oldRange','delete','removeClass','user:range','newRange','nodeAfter','model','1035WxUjaa','1559054cNWCCq','removeMarker','update:user:range','getCustomProperty','getNearestSelectionRange','detach','innerHTML','applyOperation','mapper','isSimilar','checkChild','3228mPZfeO','Escape','editingDowncast','type','orderNumber','setCustomProperty','change','listenTo','parent','data-session-id','getUserBySessionId','getRange','selection','remove','getStart','markerNameToElements','startsWith','size','markers','_domEmitter','pluginName','UserMarkers','conversion','isCollapsed','getPositions','ck-user__marker_hovered','span','init','createUserMarkerOperations','start','stopListening','updateMarker','destroy','$graveyard','set','isInline','ck-user__selection','getMarkerClass','getContainedElement','$text','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','markerToHighlight','add','markerName','2685890OssLJb','createUIElement','rootName','mouseenter','99260EpBnmU','tableCell','deletionPosition','hasDomSelection','isObject','userPositionMarker','enqueueChange','markerToElement','highest','</span>','schema','isLimit','user:position','color','markerRange','5944456gncMFR','render','toDomElement','name','afterInit','undo','split','ck-user__marker\x20','fromRange','plugins','5075NVnksB','mySessionId','getAttribute','has','end','get','user:','element','toRange','clear','getSelectionClass','user:range:','createRange','getFirstRange'];_0x4765=function(){return _0x447ad0;};return _0x4765();}function re(_0x1afe04,_0x20f618,_0x4a499b,_0x5cd5e4){const _0x46eb4c=_0x24eac5,_0xe2512e=_0x46eb4c(0x1f7)+_0x1afe04,_0x9da811=_0x46eb4c(0x20e)+_0x1afe04,_0x49b7d0=_0x20f618[_0x46eb4c(0x1c9)]();let _0x1017d5=_0x20f618[_0x46eb4c(0x1c0)];_0x49b7d0&&_0x49b7d0['is'](_0x46eb4c(0x1f3),_0x46eb4c(0x1d4))&&(_0x1017d5=function(_0x49db42,_0x51305a){const _0x20f448=_0x46eb4c;for(const _0x3380bc of _0x49db42[_0x20f448(0x1bb)]())if(_0x51305a[_0x20f448(0x1dd)][_0x20f448(0x224)](_0x3380bc,_0x20f448(0x1ca)))return _0x3380bc;}(_0x20f618,_0x4a499b),_0x20f618=_0x5cd5e4[_0x46eb4c(0x1f8)](_0x1017d5));const _0x3194ea=_0x5cd5e4[_0x46eb4c(0x1f8)](_0x1017d5);_0x4a499b[_0x46eb4c(0x237)][_0x46eb4c(0x1ef)](_0xe2512e)?(_0x5cd5e4[_0x46eb4c(0x1c2)](_0xe2512e,{'range':_0x20f618}),_0x5cd5e4[_0x46eb4c(0x1c2)](_0x9da811,{'range':_0x3194ea})):(_0x5cd5e4[_0x46eb4c(0x204)](_0xe2512e,{'range':_0x20f618,'usingOperation':!0x0}),_0x5cd5e4[_0x46eb4c(0x204)](_0x9da811,{'range':_0x3194ea,'usingOperation':!0x0}));}
|
|
23
|
+
function _0xc531(){const _0x5e4570=['destroy','commands','parent','mapper','getNearestSelectionRange','document','83RdrTLA','render','change','undo','element','deletionPosition','selection','afterInit','applyOperation','mouseleave','createUIElement','getSelectionClass','get','contenteditable','innerHTML','user:position','set','861939nlSijF','span','237894uCrjsY','getFirstRange','split','view','markerToElement','size','markerToHighlight','getStart','user:','isCollapsed','stopListening','_createdBatches','createUserMarkerOperations','ck-user__marker_hovered','4450EpfFlm','editingDowncast','addEventListener','nodeAfter','fromRange','hasContent','oldRange','keydown','newRange','toRange','getUserBySessionId','add','1687356cwihbx','toDomElement','userPositionMarker','pluginName','addMarker','highest','marker','orderNumber','markerName','mySessionId','user:position:','isLimit','editor','135HeBGMv','markerNameToElements','classList','conversion','setCustomProperty','$text','7PapFME','color','update:user:range','schema','markerRange','rootName','root','$graveyard','clear','mouseenter','user:range','5571880RvteKP','getContainedElement','getPositions','UserMarkers','checkChild','2610fogREZ','startsWith','1716003cvyjlT','listenTo','name','start','getMarkerClass','getRange','Escape','ck-user__marker\x20','updateMarker','isObject','type','isSimilar','createRange','requires','isInline','removeClass','removeMarker','init','ck-user__selection','reconvertMarker','detach','markers','end','batch','tableCell','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','_domEmitter','getAttribute','change:range','delete','has','hasDomSelection','for','editing','model','remove','user:range:','</span>','plugins','22847CTVGqB','getCustomProperty','enqueueChange','data-session-id'];_0xc531=function(){return _0x5e4570;};return _0xc531();}const _0x4a1b6d=_0x6f55;(function(_0x13bf2f,_0x3ed769){const _0x535701=_0x6f55,_0xab52bc=_0x13bf2f();while(!![]){try{const _0x5df897=parseInt(_0x535701(0x1c0))/0x1*(-parseInt(_0x535701(0x1e1))/0x2)+parseInt(_0x535701(0x1d1))/0x3+parseInt(_0x535701(0x1ed))/0x4+-parseInt(_0x535701(0x1fa))/0x5*(-parseInt(_0x535701(0x1d3))/0x6)+-parseInt(_0x535701(0x17d))/0x7*(parseInt(_0x535701(0x188))/0x8)+parseInt(_0x535701(0x18f))/0x9+-parseInt(_0x535701(0x18d))/0xa*(parseInt(_0x535701(0x1b6))/0xb);if(_0x5df897===_0x3ed769)break;else _0xab52bc['push'](_0xab52bc['shift']());}catch(_0x13d6dc){_0xab52bc['push'](_0xab52bc['shift']());}}}(_0xc531,0x8590d));import{Plugin as _0x1fb561}from'ckeditor5/src/core.js';import{global as _0xf97e4c,DomEmitterMixin as _0x10f601}from'ckeditor5/src/utils.js';function _0x6f55(_0x3d2552,_0x261cef){const _0xc53120=_0xc531();return _0x6f55=function(_0x6f5524,_0x17a992){_0x6f5524=_0x6f5524-0x17d;let _0x4b2a77=_0xc53120[_0x6f5524];return _0x4b2a77;},_0x6f55(_0x3d2552,_0x261cef);}import _0x2bd1e8 from'./sessions.js';import{LiveRange as _0x1637e3}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class P extends _0x1fb561{constructor(){const _0x2e3633=_0x6f55;super(...arguments),this[_0x2e3633(0x1a9)]=new(_0x10f601())();}static get[_0x4a1b6d(0x19c)](){return[_0x2bd1e8];}static get[_0x4a1b6d(0x1f0)](){const _0x52617c=_0x4a1b6d;return _0x52617c(0x18b);}[_0x4a1b6d(0x1a0)](){const _0x5b7d25=_0x4a1b6d,_0x26c0b1=this[_0x5b7d25(0x1f9)],_0x4542d6=_0x26c0b1[_0x5b7d25(0x1b5)][_0x5b7d25(0x1cc)](_0x2bd1e8);_0x26c0b1[_0x5b7d25(0x1fd)][_0x5b7d25(0x1af)](_0x5b7d25(0x1e2))[_0x5b7d25(0x1d7)]({'model':_0x5b7d25(0x1cf),'view':(_0x3eca47,{writer:_0x5ae5be})=>function(_0x2da509,_0x229ea5,_0xa0bb86,_0x1cb26b){const _0x22872a=_0x5b7d25,_0x3b1e58=_0x2da509[_0x22872a(0x1f5)][_0x22872a(0x1d5)](':')[0x2],_0x376e78=_0xa0bb86[_0x22872a(0x1eb)](_0x3b1e58);if(!_0x376e78||_0x3b1e58===_0xa0bb86[_0x22872a(0x1f6)])return;if(!_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x180)][_0x22872a(0x18c)](_0x2da509[_0x22872a(0x181)][_0x22872a(0x192)],_0x22872a(0x1ff)))return;const _0x5c18c6={'class':_0x22872a(0x196)+_0x376e78[_0x22872a(0x17e)][_0x22872a(0x193)](),'data-name':_0x376e78[_0x22872a(0x191)],'data-session-id':_0x3b1e58},_0x289bdb=_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x1a4)][_0x22872a(0x1cc)](_0x2da509[_0x22872a(0x1f5)]),_0x3392a1=_0x289bdb[_0x22872a(0x1da)](),_0x2294da=_0x3392a1[_0x22872a(0x1e4)],_0x109451=_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x180)];if(_0x2294da&&_0x109451[_0x22872a(0x198)](_0x2294da)&&_0x109451[_0x22872a(0x19d)](_0x2294da)&&!_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x1a4)][_0x22872a(0x1cc)](_0x22872a(0x1b3)+_0x3b1e58)[_0x22872a(0x194)]()[_0x22872a(0x1dc)])return;const _0x35f89e=_0x3392a1[_0x22872a(0x1bc)];return _0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x180)][_0x22872a(0x1f8)](_0x35f89e)&&!_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x1e6)](_0x35f89e)&&(_0x5c18c6[_0x22872a(0x1cd)]=!0x1),function(_0x2c6fb5,_0x452d06,_0x121b7c){const _0xbb5b06=_0x22872a,_0x26f2c2=_0x2c6fb5[_0xbb5b06(0x1ca)](_0xbb5b06(0x1d2),_0x452d06);return _0x2c6fb5[_0xbb5b06(0x1fe)](_0xbb5b06(0x1ef),!0x0,_0x26f2c2),_0x26f2c2[_0xbb5b06(0x1c1)]=function(_0x2f7178){const _0x3a1adf=_0xbb5b06,_0x5af6e3=this[_0x3a1adf(0x1ee)](_0x2f7178);return _0x5af6e3[_0x3a1adf(0x1ce)]=_0x3a1adf(0x1a8)+_0x121b7c[_0x3a1adf(0x191)]+_0x3a1adf(0x1b4),_0x5af6e3[_0x3a1adf(0x1e3)](_0x3a1adf(0x186),()=>{const _0x59eb11=_0x3a1adf;_0x5af6e3[_0x59eb11(0x1fc)][_0x59eb11(0x1ec)](_0x59eb11(0x1e0));}),_0x5af6e3[_0x3a1adf(0x1e3)](_0x3a1adf(0x1c9),()=>{const _0x142790=_0x3a1adf;_0x5af6e3[_0x142790(0x1fc)][_0x142790(0x1b2)](_0x142790(0x1e0));}),_0x5af6e3;},_0x26f2c2[_0xbb5b06(0x19a)]=function(_0x46e4d0){const _0x265c14=_0xbb5b06;return!(!this[_0x265c14(0x1b7)](_0x265c14(0x1ef))||!_0x46e4d0[_0x265c14(0x1b7)](_0x265c14(0x1ef))||this[_0x265c14(0x1aa)](_0x265c14(0x1b9))!=_0x46e4d0[_0x265c14(0x1aa)](_0x265c14(0x1b9)));},_0x26f2c2;}(_0x229ea5,_0x5c18c6,_0x376e78);}(_0x3eca47,_0x5ae5be,_0x4542d6,_0x26c0b1)}),_0x26c0b1[_0x5b7d25(0x1fd)][_0x5b7d25(0x1af)](_0x5b7d25(0x1e2))[_0x5b7d25(0x1d9)]({'model':_0x5b7d25(0x187),'view':_0x3e16bf=>function(_0x186eaa,_0x188006){const _0x247e1f=_0x5b7d25,_0x19d9cd=_0x186eaa[_0x247e1f(0x1f5)][_0x247e1f(0x1d5)](':')[0x2];if(_0x19d9cd===_0x188006[_0x247e1f(0x1f6)])return null;const _0x771f8d=_0x188006[_0x247e1f(0x1eb)](_0x19d9cd);if(!_0x771f8d)return{'id':_0x19d9cd,'classes':[]};return{'id':_0x19d9cd,'classes':[_0x247e1f(0x1a1),_0x771f8d[_0x247e1f(0x17e)][_0x247e1f(0x1cb)]()],'attributes':{'data-session-id':_0x19d9cd},'priority':0x7d0+_0x771f8d[_0x247e1f(0x1f4)]};}(_0x3e16bf,_0x4542d6)}),function(_0x508e7c){const _0x5ea977=_0x5b7d25,_0x63f035=_0x508e7c[_0x5ea977(0x1b1)],_0x4c9533=new Map(),_0xb5c831=_0x508e7c[_0x5ea977(0x1b5)][_0x5ea977(0x1cc)](_0x2bd1e8);_0x63f035[_0x5ea977(0x1a4)]['on'](_0x5ea977(0x17f),(_0x4c257e,_0x37c15,_0x7abb30,_0x21c6d7)=>{const _0x23d2e2=_0x5ea977;if(!_0x21c6d7&&_0x4c9533[_0x23d2e2(0x1cc)](_0x37c15[_0x23d2e2(0x191)]))return _0x4c9533[_0x23d2e2(0x1cc)](_0x37c15[_0x23d2e2(0x191)])[_0x23d2e2(0x1a3)](),void _0x4c9533[_0x23d2e2(0x1ac)](_0x37c15[_0x23d2e2(0x191)]);const _0x49a759=_0x37c15[_0x23d2e2(0x191)][_0x23d2e2(0x1d5)](':')[0x2];if(_0x49a759===_0xb5c831[_0x23d2e2(0x1f6)])return;const _0x48dc0c=_0x23d2e2(0x1f7)+_0x49a759;_0x63f035[_0x23d2e2(0x1a4)][_0x23d2e2(0x1ad)](_0x48dc0c)&&_0x508e7c[_0x23d2e2(0x1b0)][_0x23d2e2(0x1a2)](_0x48dc0c),_0x37c15['on'](_0x23d2e2(0x1ab),(_0x1e999e,_0x120d57,_0x205b9d)=>{const _0x4353fb=_0x23d2e2;if(_0x4353fb(0x184)!=_0x120d57[_0x4353fb(0x183)][_0x4353fb(0x182)]&&_0x4353fb(0x184)==_0x37c15[_0x4353fb(0x194)]()[_0x4353fb(0x183)][_0x4353fb(0x182)]&&!_0x4c9533[_0x4353fb(0x1ad)](_0x37c15[_0x4353fb(0x191)])){const _0x24156c=_0x63f035[_0x4353fb(0x180)][_0x4353fb(0x1be)](_0x205b9d[_0x4353fb(0x1c5)]);if(_0x24156c){const _0x3c7927=_0x1637e3[_0x4353fb(0x1e5)](_0x24156c);_0x4c9533[_0x4353fb(0x1d0)](_0x37c15[_0x4353fb(0x191)],_0x3c7927),_0x3c7927['on'](_0x4353fb(0x1ab),(_0x3c49d3,_0x1fed95,_0x5de07b)=>{const _0x590d3b=_0x4353fb;if(_0x590d3b(0x184)==_0x3c7927[_0x590d3b(0x183)][_0x590d3b(0x182)]){const _0x279e5a=_0x63f035[_0x590d3b(0x180)][_0x590d3b(0x1be)](_0x5de07b[_0x590d3b(0x1c5)]);_0x279e5a?(_0x3c7927[_0x590d3b(0x192)]=_0x279e5a[_0x590d3b(0x192)],_0x3c7927[_0x590d3b(0x1a5)]=_0x279e5a[_0x590d3b(0x1a5)]):(_0x4c9533[_0x590d3b(0x1ac)](_0x37c15[_0x590d3b(0x191)]),_0x3c7927[_0x590d3b(0x1a3)]());}});}}});}),_0x63f035[_0x5ea977(0x1bf)]['on'](_0x5ea977(0x1c2),()=>{const _0x36ae1d=_0x5ea977;_0x4c9533[_0x36ae1d(0x1d8)]>0x0&&_0x63f035[_0x36ae1d(0x1b8)]({'isUndoable':!0x1},_0x13c35b=>{const _0x7c1350=_0x36ae1d;for(const [_0x38a215,_0x17ffa9]of _0x4c9533)_0x7c1350(0x184)==_0x63f035[_0x7c1350(0x1a4)][_0x7c1350(0x1cc)](_0x38a215)[_0x7c1350(0x194)]()[_0x7c1350(0x183)][_0x7c1350(0x182)]&&(G(_0x38a215[_0x7c1350(0x1d5)](':')[0x2],_0x17ffa9[_0x7c1350(0x1ea)](),_0x63f035,_0x13c35b),_0x17ffa9[_0x7c1350(0x1a3)]());_0x4c9533[_0x7c1350(0x185)]();});});}(_0x26c0b1),this[_0x5b7d25(0x1a9)][_0x5b7d25(0x190)](_0xf97e4c[_0x5b7d25(0x1bf)],_0x5b7d25(0x1e8),(_0x43fe55,{key:_0x4b8f52})=>{const _0xa8034b=_0x5b7d25;_0xa8034b(0x195)===_0x4b8f52&&function(_0x18948d){const _0x26bf2b=_0xa8034b;_0x18948d[_0x26bf2b(0x1b0)][_0x26bf2b(0x1d6)][_0x26bf2b(0x1c2)](_0x441b40=>{const _0x1e033d=_0x26bf2b;for(const _0x49e6d0 of _0x18948d[_0x1e033d(0x1b1)][_0x1e033d(0x1a4)]){if(!_0x49e6d0[_0x1e033d(0x191)][_0x1e033d(0x18e)](_0x1e033d(0x1cf)))continue;const _0x2dda0d=_0x18948d[_0x1e033d(0x1b0)][_0x1e033d(0x1bd)][_0x1e033d(0x1fb)](_0x49e6d0[_0x1e033d(0x191)]);if(_0x2dda0d){for(const _0x2b46eb of _0x2dda0d)_0x441b40[_0x1e033d(0x19e)](_0x1e033d(0x1e0),_0x2b46eb);}}});}(_0x26c0b1);},{'useCapture':!0x0});}[_0x4a1b6d(0x1c7)](){const _0x11bb3c=_0x4a1b6d,_0x325b96=this[_0x11bb3c(0x1f9)],_0x192677=_0x325b96[_0x11bb3c(0x1bb)][_0x11bb3c(0x1cc)](_0x11bb3c(0x1c3));_0x192677&&_0x325b96[_0x11bb3c(0x1b1)]['on'](_0x11bb3c(0x1c8),(_0x9bd6e,_0x400272)=>{const _0x5c27e0=_0x11bb3c,_0x447c0f=_0x400272[0x0];if(_0x5c27e0(0x1f3)!=_0x447c0f[_0x5c27e0(0x199)]||!_0x447c0f[_0x5c27e0(0x191)][_0x5c27e0(0x18e)](_0x5c27e0(0x1db)))return;const _0x161dd3=_0x447c0f[_0x5c27e0(0x1a6)];_0x192677[_0x5c27e0(0x1de)][_0x5c27e0(0x1ad)](_0x161dd3)&&(_0x447c0f[_0x5c27e0(0x1e9)]=_0x447c0f[_0x5c27e0(0x1e7)]?_0x325b96[_0x5c27e0(0x1b1)][_0x5c27e0(0x19b)](_0x447c0f[_0x5c27e0(0x1e7)][_0x5c27e0(0x192)],_0x447c0f[_0x5c27e0(0x1e7)][_0x5c27e0(0x1a5)]):null);},{'priority':_0x11bb3c(0x1f2)});}[_0x4a1b6d(0x1ba)](){const _0x4a5058=_0x4a1b6d;return this[_0x4a5058(0x1a9)][_0x4a5058(0x1dd)](),super[_0x4a5058(0x1ba)]();}[_0x4a1b6d(0x1df)](){const _0x5d4680=_0x4a1b6d,_0x2513e0=this[_0x5d4680(0x1f9)],_0x2c4bd8=_0x2513e0[_0x5d4680(0x1b1)][_0x5d4680(0x1bf)],_0xad7b2e=_0x2513e0[_0x5d4680(0x1b5)][_0x5d4680(0x1cc)](_0x2bd1e8);_0x2513e0[_0x5d4680(0x1b1)][_0x5d4680(0x1b8)]({'isUndoable':!0x1},_0x9b004d=>{const _0xf8295d=_0x5d4680,_0x4d18a8=_0xf8295d(0x1b3)+_0xad7b2e[_0xf8295d(0x1f6)],_0x4588c2=_0xf8295d(0x1f7)+_0xad7b2e[_0xf8295d(0x1f6)],_0x3fe2c6=_0x2513e0[_0xf8295d(0x1b1)][_0xf8295d(0x1a4)][_0xf8295d(0x1ad)](_0x4d18a8);_0x2513e0[_0xf8295d(0x1b0)][_0xf8295d(0x1d6)][_0xf8295d(0x1ae)]?G(_0xad7b2e[_0xf8295d(0x1f6)],_0x2c4bd8[_0xf8295d(0x1c6)][_0xf8295d(0x1d4)](),_0x2513e0[_0xf8295d(0x1b1)],_0x9b004d):_0x3fe2c6&&(_0x9b004d[_0xf8295d(0x19f)](_0x4d18a8),_0x9b004d[_0xf8295d(0x19f)](_0x4588c2));});}}function G(_0x1d67dc,_0x3bdf8b,_0x1a30c8,_0x5b5d2c){const _0x369d4b=_0x4a1b6d,_0x27307a=_0x369d4b(0x1b3)+_0x1d67dc,_0x333641=_0x369d4b(0x1f7)+_0x1d67dc,_0x1dcf77=_0x3bdf8b[_0x369d4b(0x189)]();let _0x5ae4b1=_0x3bdf8b[_0x369d4b(0x192)];_0x1dcf77&&_0x1dcf77['is'](_0x369d4b(0x1c4),_0x369d4b(0x1a7))&&(_0x5ae4b1=function(_0x4716d7,_0x59055e){const _0x436f10=_0x369d4b;for(const _0x467206 of _0x4716d7[_0x436f10(0x18a)]())if(_0x59055e[_0x436f10(0x180)][_0x436f10(0x18c)](_0x467206,_0x436f10(0x1ff)))return _0x467206;}(_0x3bdf8b,_0x1a30c8),_0x3bdf8b=_0x5b5d2c[_0x369d4b(0x19b)](_0x5ae4b1));const _0x28fd1a=_0x5b5d2c[_0x369d4b(0x19b)](_0x5ae4b1);_0x1a30c8[_0x369d4b(0x1a4)][_0x369d4b(0x1ad)](_0x27307a)?(_0x5b5d2c[_0x369d4b(0x197)](_0x27307a,{'range':_0x3bdf8b}),_0x5b5d2c[_0x369d4b(0x197)](_0x333641,{'range':_0x28fd1a})):(_0x5b5d2c[_0x369d4b(0x1f1)](_0x27307a,{'range':_0x3bdf8b,'usingOperation':!0x0}),_0x5b5d2c[_0x369d4b(0x1f1)](_0x333641,{'range':_0x28fd1a,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1ef3ce=_0x4b01;(function(_0x1d25af,_0x10c60c){const _0x120c9c=_0x4b01,_0xe996d0=_0x1d25af();while(!![]){try{const _0x21891b=parseInt(_0x120c9c(0xb7))/0x1+parseInt(_0x120c9c(0xd9))/0x2*(-parseInt(_0x120c9c(0xe7))/0x3)+parseInt(_0x120c9c(0xc5))/0x4*(parseInt(_0x120c9c(0xac))/0x5)+parseInt(_0x120c9c(0xd6))/0x6+-parseInt(_0x120c9c(0xc3))/0x7*(-parseInt(_0x120c9c(0xc0))/0x8)+-parseInt(_0x120c9c(0xe3))/0x9+-parseInt(_0x120c9c(0xb4))/0xa;if(_0x21891b===_0x10c60c)break;else _0xe996d0['push'](_0xe996d0['shift']());}catch(_0x38ee91){_0xe996d0['push'](_0xe996d0['shift']());}}}(_0x1eb2,0x81e49));import{ContextPlugin as _0x35f7be}from'ckeditor5/src/core.js';function _0x1eb2(){const _0x33e768=['connection','CloudServices','connect','init','8253981ywqfzr','isInReconnectionStack','token','set','1554597RAPkcB','_isBrowserOffline','real-time-collaboration','add','_reconnectionStack','requires','has','disconnect','_reconnect','webSocketUrl','WebSocketGateway','context','DISCONNECTED','plugins','212115xFMgnF','cloudservices-init','reconnect','state','initialReconnectionInterval','define','function','stopListening','5508230RtgZhw','create','get','844984AaBfBl','_domEmitter','showWarning','removeFromReconnectionStack','online','pluginName','bind','config','_shouldPluginsReconnect','111912UtORwR','from','constructor','399grWoki','then','44edFEiI','limitExceeded','error','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','CONNECTED','websocketgateway-invalid-plugin-interface','change:me','websocketgateway-plugin-already-registered','Connected\x20users\x20limit\x20exceeded','offline','delete','all','cloudServices.connectionTimeout','connected','addToReconnectionStack','listenTo','cloudservices-reconnection-error','2454972VUNLyg','catch','destroy','2zsSeqU','code','websocketgateway-missing-websocket-url','cloudServices.requestTimeout','CONNECTING','websocketgateway-missing-token'];_0x1eb2=function(){return _0x33e768;};return _0x1eb2();}import{DomEmitterMixin as _0xbb9960,CKEditorError as _0x34f04d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x496fa3,WEB_SOCKET_GATEWAY_STATES as _0x4b6b10}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x11c059}from'ckeditor5/src/ui.js';function _0x4b01(_0x3e5dd3,_0x614dbc){const _0x1eb288=_0x1eb2();return _0x4b01=function(_0x4b01be,_0x3694c8){_0x4b01be=_0x4b01be-0xa5;let _0x1033f1=_0x1eb288[_0x4b01be];return _0x1033f1;},_0x4b01(_0x3e5dd3,_0x614dbc);}class c extends _0x35f7be{static get[_0x1ef3ce(0xec)](){const _0xc227b=_0x1ef3ce;return[_0xc227b(0xe0),_0x11c059];}static get[_0x1ef3ce(0xbc)](){const _0x3086a3=_0x1ef3ce;return _0x3086a3(0xa8);}constructor(_0x3afb22){const _0xe5c6df=_0x1ef3ce;super(_0x3afb22),this[_0xe5c6df(0xe6)](_0xe5c6df(0xaf),_0x4b6b10[_0xe5c6df(0xc9)]),this[_0xe5c6df(0xe6)](_0xe5c6df(0xe8),!0x1),this[_0xe5c6df(0xeb)]=new Set(),this[_0xe5c6df(0xbf)]=!0x1,this[_0xe5c6df(0xb8)]=Object[_0xe5c6df(0xb5)](_0xbb9960);}[_0x1ef3ce(0xe2)](){const _0x42f1fd=_0x1ef3ce,_0x2a45a6=this[_0x42f1fd(0xa9)],_0x1d237b=_0x2a45a6[_0x42f1fd(0xab)][_0x42f1fd(0xb6)](_0x42f1fd(0xe0)),_0x4b8fe0=_0x2a45a6[_0x42f1fd(0xab)][_0x42f1fd(0xb6)](_0x11c059);if(!_0x1d237b[_0x42f1fd(0xe5)])throw new _0x34f04d(_0x42f1fd(0xde),this);if(!_0x1d237b[_0x42f1fd(0xa7)])throw new _0x34f04d(_0x42f1fd(0xdb),this);return this[_0x42f1fd(0xb8)][_0x42f1fd(0xd4)](window,_0x42f1fd(0xce),()=>this[_0x42f1fd(0xe8)]=!0x0),this[_0x42f1fd(0xb8)][_0x42f1fd(0xd4)](window,_0x42f1fd(0xbb),()=>this[_0x42f1fd(0xe8)]=!0x1),this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb1)](_0x42f1fd(0xd1),0xa),this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb1)](_0x42f1fd(0xdc),0x14),c[_0x42f1fd(0xa8)][_0x42f1fd(0xe1)](_0x1d237b[_0x42f1fd(0xe5)],_0x1d237b[_0x42f1fd(0xa7)],{'timeout':0x3e8*this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb6)](_0x42f1fd(0xd1)),'requestTimeout':0x3e8*this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb6)](_0x42f1fd(0xdc))})[_0x42f1fd(0xc4)](_0x4b35a0=>{const _0x15b136=_0x42f1fd;if(this[_0x15b136(0xdf)]=_0x4b35a0,this[_0x15b136(0xbd)](_0x15b136(0xaf))['to'](_0x4b35a0,_0x15b136(0xaf),this,_0x15b136(0xe8),(_0x51c25e,_0x336f08)=>(_0x15b136(0xd2)!==_0x51c25e&&(this[_0x15b136(0xbf)]=!0x0),_0x336f08||_0x51c25e!==_0x4b6b10[_0x15b136(0xc9)]?_0x4b6b10[_0x15b136(0xaa)]:this[_0x15b136(0xaf)]==_0x4b6b10[_0x15b136(0xaa)]&&this[_0x15b136(0xbf)]?(this[_0x15b136(0xbf)]=!0x1,this[_0x15b136(0xa6)](),_0x4b6b10[_0x15b136(0xdd)]):_0x4b6b10[_0x15b136(0xc9)])),this[_0x15b136(0xdf)]['on'](_0x15b136(0xc7),(_0x573c61,_0x447a09)=>{const _0xf0c8f8=_0x15b136;if(_0xf0c8f8(0xc6)!==_0x447a09[_0xf0c8f8(0xda)])throw console[_0xf0c8f8(0xc7)](_0x447a09),new _0x34f04d(_0xf0c8f8(0xad),null,{'originalError':_0x447a09});_0x4b8fe0[_0xf0c8f8(0xb9)](_0xf0c8f8(0xc8),{'title':_0xf0c8f8(0xcd),'namespace':_0xf0c8f8(0xe9)});}),!_0x4b35a0['me'])return new Promise(_0x32f97d=>_0x4b35a0['on'](_0x15b136(0xcb),_0x32f97d));})[_0x42f1fd(0xd7)](_0x2a6eed=>{const _0x47ae24=_0x42f1fd;throw console[_0x47ae24(0xc7)](_0x2a6eed),new _0x34f04d(_0x47ae24(0xad),null,{'originalError':_0x2a6eed});});}[_0x1ef3ce(0xd3)](_0x15c6aa){const _0x261cdb=_0x1ef3ce;if(_0x261cdb(0xb2)!=typeof _0x15c6aa[_0x261cdb(0xae)])throw new _0x34f04d(_0x261cdb(0xca),this);if(this[_0x261cdb(0xe4)](_0x15c6aa))throw new _0x34f04d(_0x261cdb(0xcc),this,{'name':_0x15c6aa[_0x261cdb(0xc2)][_0x261cdb(0xbc)]});this[_0x261cdb(0xeb)][_0x261cdb(0xea)](_0x15c6aa);}[_0x1ef3ce(0xba)](_0x4df193){const _0x518b60=_0x1ef3ce;this[_0x518b60(0xeb)][_0x518b60(0xcf)](_0x4df193);}[_0x1ef3ce(0xe4)](_0x252da8){const _0x5e3ed1=_0x1ef3ce;return this[_0x5e3ed1(0xeb)][_0x5e3ed1(0xed)](_0x252da8);}[_0x1ef3ce(0xa6)](){const _0x4b8142=_0x1ef3ce;return this[_0x4b8142(0xdf)][_0x4b8142(0xae)]()[_0x4b8142(0xc4)](()=>Promise[_0x4b8142(0xd0)](Array[_0x4b8142(0xc1)](this[_0x4b8142(0xeb)],_0x4d7127=>_0x4d7127[_0x4b8142(0xae)]())))[_0x4b8142(0xc4)](()=>this[_0x4b8142(0xaf)]=_0x4b6b10[_0x4b8142(0xc9)])[_0x4b8142(0xd7)](_0x3d9461=>{const _0x523961=_0x4b8142;throw console[_0x523961(0xc7)](_0x3d9461),new _0x34f04d(_0x523961(0xd5),this[_0x523961(0xa9)]);});}[_0x1ef3ce(0xd8)](){const _0x350d19=_0x1ef3ce;this[_0x350d19(0xdf)]&&this[_0x350d19(0xdf)][_0x350d19(0xa5)](),this[_0x350d19(0xaf)]=_0x4b6b10[_0x350d19(0xaa)],this[_0x350d19(0xb8)][_0x350d19(0xb3)](),super[_0x350d19(0xd8)]();}}c[_0x1ef3ce(0xa8)]=_0x496fa3,c[_0x1ef3ce(0xb0)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x58aca5=_0x117e;(function(_0x13f163,_0x37faf3){const _0x4e7335=_0x117e,_0x447b1e=_0x13f163();while(!![]){try{const _0xf7d4af=parseInt(_0x4e7335(0x8c))/0x1+parseInt(_0x4e7335(0xb1))/0x2+-parseInt(_0x4e7335(0x96))/0x3*(-parseInt(_0x4e7335(0x95))/0x4)+-parseInt(_0x4e7335(0xc9))/0x5+-parseInt(_0x4e7335(0xd1))/0x6*(parseInt(_0x4e7335(0x8f))/0x7)+-parseInt(_0x4e7335(0xa2))/0x8+parseInt(_0x4e7335(0xa8))/0x9;if(_0xf7d4af===_0x37faf3)break;else _0x447b1e['push'](_0x447b1e['shift']());}catch(_0x14c747){_0x447b1e['push'](_0x447b1e['shift']());}}}(_0x33d7,0x3ddac));import{Plugin as _0x250b81}from'ckeditor5/src/core.js';import{version as _0x20eb76}from'ckeditor5/src/utils.js';import{Users as _0x4d156c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x35f0f7 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x481b92 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3d3c31 from'../realtimecollaborativeediting/sessions.js';function _0x117e(_0x2489ed,_0x187392){const _0x33d7a7=_0x33d7();return _0x117e=function(_0x117e3e,_0x1859eb){_0x117e3e=_0x117e3e-0x7f;let _0x528de0=_0x33d7a7[_0x117e3e];return _0x528de0;},_0x117e(_0x2489ed,_0x187392);}import{EditorService as _0x4f8e6a,RevisionHistoryService as _0x12a974,User as _0x3eddd0,WEB_SOCKET_GATEWAY_STATES as _0x1ab0b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x250b81{static get[_0x58aca5(0xe3)](){const _0x59bf90=_0x58aca5;return[_0x481b92,_0x35f0f7,_0x59bf90(0x86),_0x3d3c31,_0x4d156c];}constructor(_0x5237a2){const _0x3a60c6=_0x58aca5;super(_0x5237a2);const _0x55fef1=this[_0x3a60c6(0xe4)][_0x3a60c6(0x7f)][_0x3a60c6(0xcd)](_0x3a60c6(0xb2));this[_0x3a60c6(0xdb)]=null,this[_0x3a60c6(0xd2)]=this[_0x3a60c6(0xe4)][_0x3a60c6(0xbd)][_0x3a60c6(0xcd)](_0x3a60c6(0x86)),this[_0x3a60c6(0x8d)]=new v[(_0x3a60c6(0xaa))](_0x55fef1);}async[_0x58aca5(0xeb)](){const _0x918a98=_0x58aca5,_0x553735=this[_0x918a98(0xe4)][_0x918a98(0xbd)][_0x918a98(0xcd)](_0x35f0f7),_0x15ecea=_0x553735[_0x918a98(0xab)],_0x46022a=this[_0x918a98(0xe4)][_0x918a98(0xbd)][_0x918a98(0xcd)](_0x481b92);this[_0x918a98(0xd2)][_0x918a98(0xce)]({'history':_0x15ecea,'getLatestVersion':()=>this[_0x918a98(0x9a)](),'getCurrentRevisionId':()=>_0x553735[_0x918a98(0xca)]});const _0x2ec257=this[_0x918a98(0xe4)][_0x918a98(0x7f)][_0x918a98(0xcd)](_0x918a98(0xb5))||_0x20eb76,_0x3f2a17=await _0x4f8e6a[_0x918a98(0x8b)](_0x46022a[_0x918a98(0xc4)],_0x2ec257);this[_0x918a98(0xd2)][_0x918a98(0x91)]={'getRevision':async({revisionId:_0x1f0f50})=>(await this[_0x918a98(0xd8)](),await this[_0x918a98(0x8d)][_0x918a98(0xb4)](_0x1f0f50)),'updateRevisions':async _0x390baa=>{const _0x52bca6=_0x918a98;await this[_0x52bca6(0xd8)]();const _0x44271b=this[_0x52bca6(0xd2)][_0x52bca6(0xe7)];if(_0x3f2a17&&0x1===_0x390baa[_0x52bca6(0x9f)]&&_0x390baa[0x0]['id']===_0x44271b['id'])return _0x390baa;for(const _0x4f67e3 of _0x390baa)_0x4f67e3['id']===_0x44271b['id']&&(_0x4f67e3[_0x52bca6(0xc3)]=_0x4f67e3[_0x52bca6(0xb0)]===_0x4f67e3[_0x52bca6(0xdf)]);return this[_0x52bca6(0x8d)][_0x52bca6(0xa9)](_0x390baa,this[_0x52bca6(0xdb)])[_0x52bca6(0xa6)](_0x4a6c41=>(this[_0x52bca6(0xdb)]=_0x4a6c41,_0x390baa))[_0x52bca6(0x92)](_0x1a86f9=>{const _0x35b2e5=_0x52bca6;if(st(_0x1a86f9)||_0x35b2e5(0x9d)===_0x1a86f9[_0x35b2e5(0x87)]&&void 0x0!==_0x1a86f9[_0x35b2e5(0xe1)][_0x35b2e5(0xd0)]){for(const _0xff38e4 of _0x390baa){!this[_0x35b2e5(0xd2)][_0x35b2e5(0xac)][_0x35b2e5(0xb4)](_0xff38e4['id'])||this[_0x35b2e5(0xd2)][_0x35b2e5(0x82)](_0xff38e4['id'],_0xff38e4,!0x1);}if(st(_0x1a86f9))throw _0x1a86f9;return _0x390baa;}throw _0x1a86f9;});}},this[_0x918a98(0xcf)](this[_0x918a98(0x8d)],_0x918a98(0xad),(_0x3cc512,{revisionsData:_0x2b4117,requestId:_0x198bf4})=>{const _0x2cb4c7=_0x918a98;Math[_0x2cb4c7(0xd6)](..._0x2b4117[_0x2cb4c7(0x81)](_0x1e7eb6=>_0x1e7eb6[_0x2cb4c7(0xdf)]))>this[_0x2cb4c7(0x9c)]()-0x1?this[_0x2cb4c7(0x9a)]()[_0x2cb4c7(0xa6)](()=>{const _0x15cc6d=_0x2cb4c7;this[_0x15cc6d(0x83)](_0x2b4117,_0x198bf4);}):this[_0x2cb4c7(0x83)](_0x2b4117,_0x198bf4);});const {revisions:_0x1878d7,requestId:_0x1167d6}=await this[_0x918a98(0x8d)][_0x918a98(0xb8)](_0x46022a[_0x918a98(0xc4)]);_0x46022a[_0x918a98(0x94)](this),this[_0x918a98(0xdb)]=_0x1167d6,await this[_0x918a98(0x88)](_0x1878d7);for(const _0x3af6a9 of _0x1878d7)this[_0x918a98(0xd2)][_0x918a98(0xda)](_0x3af6a9);this[_0x918a98(0xcf)](_0x553735,_0x918a98(0xe0),(_0x4f46aa,_0x2341a1,_0x321f26)=>{const _0x11e020=_0x918a98;_0x321f26&&(this[_0x11e020(0x89)]=_0x553735[_0x11e020(0xdd)],_0x4f46aa[_0x11e020(0xa3)]());}),this[_0x918a98(0xd2)][_0x918a98(0xa5)](_0x918a98(0x80))['to'](_0x46022a,_0x918a98(0x9e),_0x5bbaf0=>_0x5bbaf0===_0x1ab0b4[_0x918a98(0xc2)]);}async[_0x58aca5(0x8a)](){const _0x1fbb99=_0x58aca5,_0x59db50=this[_0x1fbb99(0xe4)][_0x1fbb99(0xbd)][_0x1fbb99(0xcd)](_0x481b92),_0x5700ac=this[_0x1fbb99(0xe4)][_0x1fbb99(0xbd)][_0x1fbb99(0xcd)](_0x35f0f7),_0x4f7116=async()=>{const _0x395fdc=_0x1fbb99,_0xc726ec=this[_0x395fdc(0xd2)][_0x395fdc(0xe7)],_0xb22a88=_0xc726ec['id'],_0xa973af=_0xb22a88!==_0x5700ac[_0x395fdc(0xca)];if(_0xa973af){const _0x5ec304=_0x5700ac[_0x395fdc(0xdd)]-this[_0x395fdc(0x89)],_0x2b45b9=this[_0x395fdc(0x9c)]();this[_0x395fdc(0xd2)][_0x395fdc(0xb7)][_0x395fdc(0x97)]();if(_0xc726ec[_0x395fdc(0xdf)]+_0x5ec304!==_0x2b45b9){const _0x83a213=_0xc726ec[_0x395fdc(0xb0)]+_0x5ec304,_0x267fa2=this[_0x395fdc(0xe4)][_0x395fdc(0xbd)][_0x395fdc(0xcd)](_0x4d156c),_0x4480ff=this[_0x395fdc(0xd2)][_0x395fdc(0xec)]({'revision':_0xc726ec,'from':_0x83a213,'to':_0x2b45b9});_0x4480ff['id']=_0xc726ec['id'];const _0x563490=_0x4480ff[_0x395fdc(0xaf)][_0x395fdc(0x81)](_0x108869=>_0x267fa2[_0x395fdc(0xe6)](_0x108869));_0xc726ec[_0x395fdc(0xd3)]({..._0x4480ff,'authors':_0x563490},!0x0),this[_0x395fdc(0xd2)][_0x395fdc(0x82)](_0xc726ec['id'],_0x4480ff,!0x0);}this[_0x395fdc(0xd2)][_0x395fdc(0xb6)]=_0x2b45b9,(_0xc726ec[_0x395fdc(0xdf)]===_0xc726ec[_0x395fdc(0xb0)]&&!this[_0x395fdc(0xd2)][_0x395fdc(0xc1)][_0x395fdc(0xba)](_0xb22a88)&&this[_0x395fdc(0xd2)][_0x395fdc(0xac)][_0x395fdc(0x93)][_0x395fdc(0xd7)](_0xb22a88),this[_0x395fdc(0xd2)][_0x395fdc(0xe8)](_0x2b45b9));}const {revisions:_0x4d2e98,requestId:_0x107256}=await this[_0x395fdc(0x8d)][_0x395fdc(0x8a)](_0x59db50[_0x395fdc(0xc4)],this[_0x395fdc(0xdb)]);_0xa973af&&_0x4d2e98[_0x395fdc(0x9f)]>0x0?_0x5700ac[_0x395fdc(0xc0)]():(await this[_0x395fdc(0x88)](_0x4d2e98),this[_0x395fdc(0x83)](_0x4d2e98,_0x107256),this[_0x395fdc(0xd2)][_0x395fdc(0x90)]());};return _0x5700ac[_0x1fbb99(0xa7)]?_0x4f7116():new Promise((_0x553d03,_0xc48a11)=>{const _0x3474a1=_0x1fbb99;_0x5700ac[_0x3474a1(0xe5)](_0x3474a1(0xe0),()=>{const _0x158150=_0x3474a1;_0x4f7116()[_0x158150(0xa6)](_0x553d03)[_0x158150(0x92)](_0xc48a11);});});}[_0x58aca5(0xbf)](){const _0xbaee1b=_0x58aca5;super[_0xbaee1b(0xbf)]();}async[_0x58aca5(0xd8)](){const _0x426ac4=_0x58aca5;this[_0x426ac4(0x8d)][_0x426ac4(0x98)]||await new Promise(_0x5e764b=>{const _0x32e966=_0x426ac4;this[_0x32e966(0xcf)](this[_0x32e966(0x8d)],_0x32e966(0xe9),_0x300ff7=>{const _0x1b0d15=_0x32e966;_0x300ff7[_0x1b0d15(0xa3)](),_0x5e764b();});});}[_0x58aca5(0x9c)](){const _0x3c0aca=_0x58aca5,_0x441a67=this[_0x3c0aca(0xe4)][_0x3c0aca(0xbd)][_0x3c0aca(0xcd)](_0x35f0f7)[_0x3c0aca(0xab)][_0x3c0aca(0xa4)]()[_0x3c0aca(0xc5)]();for(const _0x1d5a1e of _0x441a67)if(_0x3c0aca(0xbc)!==_0x1d5a1e[_0x3c0aca(0xc7)]||_0x1d5a1e[_0x3c0aca(0xcb)])return _0x1d5a1e[_0x3c0aca(0xd4)]+0x1;}[_0x58aca5(0x9a)](){const _0x4044fb=_0x58aca5,_0x2a3850=this[_0x4044fb(0xe4)][_0x4044fb(0xbd)][_0x4044fb(0xcd)](_0x35f0f7);return new Promise(_0x515261=>{const _0x1eee81=_0x4044fb;_0x2a3850[_0x1eee81(0x85)]?_0x2a3850[_0x1eee81(0xe5)](_0x1eee81(0xb9),()=>{const _0x3f4708=_0x1eee81;_0x515261(this[_0x3f4708(0x9c)]());}):_0x515261(this[_0x1eee81(0x9c)]());});}[_0x58aca5(0x83)](_0x31acfd,_0x40753d){const _0x3c623f=_0x58aca5,_0x540c8e=this[_0x3c623f(0xd2)][_0x3c623f(0xac)];this[_0x3c623f(0xdb)]=_0x40753d;for(const _0x4e488a of _0x31acfd){const _0x21217e=_0x540c8e[_0x3c623f(0xb4)](_0x4e488a['id']);if(_0x21217e){if((_0x4e488a[_0x3c623f(0xb0)]||_0x4e488a[_0x3c623f(0xdf)])&&(_0x4e488a[_0x3c623f(0x9b)]=null),_0x21217e===this[_0x3c623f(0xd2)][_0x3c623f(0xe7)]){const _0x5a024e=Math[_0x3c623f(0xd6)](_0x21217e[_0x3c623f(0xdf)],_0x4e488a[_0x3c623f(0xdf)]),_0x48e53d=Math[_0x3c623f(0xd6)](_0x21217e[_0x3c623f(0xb0)],_0x4e488a[_0x3c623f(0xb0)]);let _0x5072dd;_0x21217e[_0x3c623f(0xdf)]===_0x4e488a[_0x3c623f(0xdf)]&&_0x21217e[_0x3c623f(0xb0)]===_0x4e488a[_0x3c623f(0xb0)]?(_0x5072dd=!0x0,this[_0x3c623f(0xa0)](_0x4e488a)):_0x4e488a[_0x3c623f(0xdf)]===_0x5a024e&&_0x4e488a[_0x3c623f(0xb0)]===_0x48e53d?_0x5072dd=!0x1:(_0x21217e[_0x3c623f(0xdf)]===_0x5a024e&&_0x21217e[_0x3c623f(0xb0)]===_0x48e53d||this[_0x3c623f(0xae)]({'revision':_0x21217e,'from':_0x48e53d,'to':_0x5a024e}),_0x5072dd=!0x0),_0x5072dd&&(delete _0x4e488a[_0x3c623f(0xb0)],delete _0x4e488a[_0x3c623f(0xdf)],delete _0x4e488a[_0x3c623f(0x9b)],delete _0x4e488a[_0x3c623f(0xc6)],delete _0x4e488a[_0x3c623f(0xaf)]);}this[_0x3c623f(0xd2)][_0x3c623f(0xcc)](_0x4e488a),this[_0x3c623f(0xa0)](_0x4e488a);}else this[_0x3c623f(0xd2)][_0x3c623f(0xda)](_0x4e488a);}const _0x3d54ff=_0x540c8e[_0x3c623f(0x84)]();_0x3d54ff[_0x3c623f(0xc5)]();for(let _0x31de23=0x0;_0x31de23<_0x3d54ff[_0x3c623f(0x9f)]-0x1;_0x31de23++){const _0x3071a2=_0x3d54ff[_0x31de23],_0x3e3cf0=_0x3d54ff[_0x31de23+0x1];if(_0x3071a2[_0x3c623f(0xb0)]<_0x3e3cf0[_0x3c623f(0xdf)]){const _0x41aa4a=_0x3e3cf0[_0x3c623f(0xdf)],_0x5ae847=Math[_0x3c623f(0xd6)](_0x41aa4a,_0x3071a2[_0x3c623f(0xdf)]);this[_0x3c623f(0xae)]({'revision':_0x3071a2,'from':_0x41aa4a,'to':_0x5ae847});}}}[_0x58aca5(0xae)]({revision:_0xce2b2b,from:_0x3316e6,to:_0x3c02fa}={}){const _0x31191b=_0x58aca5,_0x2202e1=this[_0x31191b(0xe4)][_0x31191b(0xbd)][_0x31191b(0xcd)](_0x4d156c),_0x279074=this[_0x31191b(0xd2)][_0x31191b(0xec)]({'revision':_0xce2b2b,'from':_0x3316e6,'to':_0x3c02fa});_0x279074[_0x31191b(0xe2)]=_0x279074[_0x31191b(0xaf)][_0x31191b(0x81)](_0x280151=>_0x2202e1[_0x31191b(0xe6)](_0x280151)),_0xce2b2b[_0x31191b(0xd3)](_0x279074);}[_0x58aca5(0xa0)](_0x566a84){const _0x4cf834=_0x58aca5,_0x168d51={};_0x168d51['id']=_0x566a84['id'];for(const _0x7fa33d of Object[_0x4cf834(0xa1)](_0x566a84))'id'!==_0x7fa33d&&(_0x168d51[_0x7fa33d]=void 0x0);this[_0x4cf834(0xd2)][_0x4cf834(0x82)](_0x168d51['id'],_0x168d51,!0x0);}async[_0x58aca5(0x88)](_0x320c70){const _0x4540eb=_0x58aca5,_0x551930=this[_0x4540eb(0xe4)][_0x4540eb(0xbd)][_0x4540eb(0xcd)](_0x4d156c),{connection:_0x31f8fc}=this[_0x4540eb(0xe4)][_0x4540eb(0xbd)][_0x4540eb(0xcd)](_0x481b92),_0x43de4d=new Set();for(const _0x59d1c9 of _0x320c70){for(const _0xe6213b of _0x59d1c9[_0x4540eb(0xaf)])_0x58bff2(_0xe6213b);_0x59d1c9[_0x4540eb(0xea)]&&_0x58bff2(_0x59d1c9[_0x4540eb(0xea)]);}if(0x0===_0x43de4d[_0x4540eb(0xbb)])return;const _0x474fb6=await _0x3eddd0[_0x4540eb(0xbe)](_0x31f8fc,Array[_0x4540eb(0xde)](_0x43de4d));for(const _0x38982d of _0x474fb6)_0x551930[_0x4540eb(0xe6)](_0x38982d['id'])||_0x551930[_0x4540eb(0xc8)](_0x38982d);function _0x58bff2(_0x2a6fa3){const _0x3ed3c7=_0x4540eb;_0x551930[_0x3ed3c7(0xe6)](_0x2a6fa3)||_0x43de4d[_0x3ed3c7(0x99)](_0x2a6fa3);}}}v[_0x58aca5(0xaa)]=_0x12a974;function _0x33d7(){const _0xc6a04=['wrongRequestId','678CLuzjZ','_revisionTracker','_update','baseVersion','cloud-services-internal-error:\x20Not\x20connected.','max','remove','_waitForServiceReady','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','_lastRequestId','startsWith','_offset','from','toVersion','change:_isConnected','data','authors','requires','editor','once','getUser','currentRevision','_createCurrentRevision','connected','creatorId','init','buildRevisionData','config','isEnabled','map','_bufferUpdate','_handleRevisionsUpdate','getRevisions','_isPendingUpdate','RevisionTracker','code','_fetchMissingUsers','_oldOffset','reconnect','isBundleUploaded','92296LStPFj','_revisionHistoryService','message','3234RYdXyb','sendBufferedUpdates','adapter','catch','_revisions','addToReconnectionStack','4jbKugr','1190001Hukpru','reInit','isConnected','add','_getLatestVersion','diffData','_getLatestVersionFromServerOperations','400','state','length','_preventResendingRevisionData','keys','1923912iltKOs','off','getOperations','bind','then','_isConnected','1546551QaBZlX','updateRevisions','RevisionHistoryService','serverHistory','repository','revisionsUpdated','_fixRevision','authorsIds','fromVersion','737872bQozgR','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','getRevision','cloudServices.bundleVersion','_startingVersion','_revisionDataBuilder','connect','change:_isPendingUpdate','has','size','marker','plugins','getMany','destroy','_handleReconnectionError','_bufferedUpdates','CONNECTED','isEmptyCurrent','connection','reverse','createdAt','type','addUser','2418435aWTGiI','sessionId','affectsData','setRevisionData','get','setSource','listenTo'];_0x33d7=function(){return _0xc6a04;};return _0x33d7();}export default v;function st(_0x490b60){const _0x475f23=_0x58aca5;return _0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xd9))||_0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xd5))||_0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xb3));}
|
|
23
|
+
const _0x4e5b4c=_0x3a07;(function(_0x40a94d,_0x3b0015){const _0xa61065=_0x3a07,_0x132c42=_0x40a94d();while(!![]){try{const _0x4d8d64=-parseInt(_0xa61065(0x1ea))/0x1+-parseInt(_0xa61065(0x205))/0x2*(-parseInt(_0xa61065(0x201))/0x3)+parseInt(_0xa61065(0x226))/0x4+parseInt(_0xa61065(0x206))/0x5*(-parseInt(_0xa61065(0x212))/0x6)+-parseInt(_0xa61065(0x21f))/0x7+parseInt(_0xa61065(0x1f0))/0x8*(-parseInt(_0xa61065(0x23b))/0x9)+parseInt(_0xa61065(0x213))/0xa;if(_0x4d8d64===_0x3b0015)break;else _0x132c42['push'](_0x132c42['shift']());}catch(_0x363c75){_0x132c42['push'](_0x132c42['shift']());}}}(_0x10e3,0xb0873));import{Plugin as _0x307776}from'ckeditor5/src/core.js';import{version as _0x1c69f7}from'ckeditor5/src/utils.js';function _0x3a07(_0xd9ff5e,_0xa960a1){const _0x10e337=_0x10e3();return _0x3a07=function(_0x3a0708,_0x21bc91){_0x3a0708=_0x3a0708-0x1d9;let _0x4f29fe=_0x10e337[_0x3a0708];return _0x4f29fe;},_0x3a07(_0xd9ff5e,_0xa960a1);}import{Users as _0x2d4510}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x113924 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1b944f from'../realtimecollaborativeediting/websocketgateway.js';import _0xfbae11 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1b4d19,RevisionHistoryService as _0x3b7e63,User as _0x4359f4,WEB_SOCKET_GATEWAY_STATES as _0x4f9224}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x10e3(){const _0x7637d=['cloud-services-internal-error:\x20Not\x20connected.','400','add','diffData','1160lTQsal','_getLatestVersion','max','_handleRevisionsUpdate','_startingVersion','revisionsUpdated','keys','_createCurrentRevision','isConnected','fromVersion','getUser','bind','from','connected','createdAt','init','collaboration.channelId','9FBZXrS','_fetchMissingUsers','updateRevisions','adapter','135986ozGTfl','10HMnRMB','_revisions','isEmptyCurrent','serverHistory','_bufferedUpdates','getOperations','reInit','_waitForServiceReady','reconnect','requires','_isConnected','sessionId','3876696gUPFCH','29167110gPMTtI','then','wrongRequestId','_lastRequestId','listenTo','sendBufferedUpdates','has','marker','getRevision','_revisionDataBuilder','size','currentRevision','2617874NKxTGr','creatorId','addUser','change:_isPendingUpdate','repository','config','getMany','4352732jrMPBv','_bufferUpdate','_offset','reverse','editor','remove','affectsData','isBundleUploaded','_oldOffset','RevisionTracker','_revisionHistoryService','cloudServices.bundleVersion','off','code','setRevisionData','message','_fixRevision','startsWith','_revisionTracker','baseVersion','_getLatestVersionFromServerOperations','75159CXXfwe','connection','catch','state','cloud-services-internal-error:\x20Request\x20timeout.','buildRevisionData','addToReconnectionStack','connect','toVersion','type','isEnabled','_update','once','authors','getRevisions','_preventResendingRevisionData','RevisionHistoryService','setSource','destroy','_handleReconnectionError','plugins','map','length','authorsIds','addRevisionData','data','get','change:_isConnected','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isPendingUpdate','608705HnDCTw','CONNECTED'];_0x10e3=function(){return _0x7637d;};return _0x10e3();}class v extends _0x307776{static get[_0x4e5b4c(0x20f)](){const _0x354b3c=_0x4e5b4c;return[_0x1b944f,_0x113924,_0x354b3c(0x22f),_0xfbae11,_0x2d4510];}constructor(_0x193b55){const _0x481903=_0x4e5b4c;super(_0x193b55);const _0x23d96f=this[_0x481903(0x22a)][_0x481903(0x224)][_0x481903(0x1e6)](_0x481903(0x200));this[_0x481903(0x216)]=null,this[_0x481903(0x238)]=this[_0x481903(0x22a)][_0x481903(0x1e0)][_0x481903(0x1e6)](_0x481903(0x22f)),this[_0x481903(0x230)]=new v[(_0x481903(0x1dc))](_0x23d96f);}async[_0x4e5b4c(0x1ff)](){const _0x5b30b5=_0x4e5b4c,_0x125c8a=this[_0x5b30b5(0x22a)][_0x5b30b5(0x1e0)][_0x5b30b5(0x1e6)](_0x113924),_0x4d3d0a=_0x125c8a[_0x5b30b5(0x209)],_0xbdc237=this[_0x5b30b5(0x22a)][_0x5b30b5(0x1e0)][_0x5b30b5(0x1e6)](_0x1b944f);this[_0x5b30b5(0x238)][_0x5b30b5(0x1dd)]({'history':_0x4d3d0a,'getLatestVersion':()=>this[_0x5b30b5(0x1f1)](),'getCurrentRevisionId':()=>_0x125c8a[_0x5b30b5(0x211)]});const _0x4afb9a=this[_0x5b30b5(0x22a)][_0x5b30b5(0x224)][_0x5b30b5(0x1e6)](_0x5b30b5(0x231))||_0x1c69f7,_0x455a9e=await _0x1b4d19[_0x5b30b5(0x22d)](_0xbdc237[_0x5b30b5(0x23c)],_0x4afb9a);this[_0x5b30b5(0x238)][_0x5b30b5(0x204)]={'getRevision':async({revisionId:_0x545892})=>(await this[_0x5b30b5(0x20d)](),await this[_0x5b30b5(0x230)][_0x5b30b5(0x21b)](_0x545892)),'updateRevisions':async _0x5943ed=>{const _0xbbfbe0=_0x5b30b5;await this[_0xbbfbe0(0x20d)]();const _0x11d350=this[_0xbbfbe0(0x238)][_0xbbfbe0(0x21e)];if(_0x455a9e&&0x1===_0x5943ed[_0xbbfbe0(0x1e2)]&&_0x5943ed[0x0]['id']===_0x11d350['id'])return _0x5943ed;for(const _0xb8bc80 of _0x5943ed)_0xb8bc80['id']===_0x11d350['id']&&(_0xb8bc80[_0xbbfbe0(0x208)]=_0xb8bc80[_0xbbfbe0(0x1f9)]===_0xb8bc80[_0xbbfbe0(0x243)]);return this[_0xbbfbe0(0x230)][_0xbbfbe0(0x203)](_0x5943ed,this[_0xbbfbe0(0x216)])[_0xbbfbe0(0x214)](_0x2a15ef=>(this[_0xbbfbe0(0x216)]=_0x2a15ef,_0x5943ed))[_0xbbfbe0(0x23d)](_0x246b1e=>{const _0x3ebfe6=_0xbbfbe0;if(nt(_0x246b1e)||_0x3ebfe6(0x1ed)===_0x246b1e[_0x3ebfe6(0x233)]&&void 0x0!==_0x246b1e[_0x3ebfe6(0x1e5)][_0x3ebfe6(0x215)]){for(const _0x45e20e of _0x5943ed){!this[_0x3ebfe6(0x238)][_0x3ebfe6(0x223)][_0x3ebfe6(0x21b)](_0x45e20e['id'])||this[_0x3ebfe6(0x238)][_0x3ebfe6(0x227)](_0x45e20e['id'],_0x45e20e,!0x1);}if(nt(_0x246b1e))throw _0x246b1e;return _0x5943ed;}throw _0x246b1e;});}},this[_0x5b30b5(0x217)](this[_0x5b30b5(0x230)],_0x5b30b5(0x1f5),(_0x570913,{revisionsData:_0x5c3b0e,requestId:_0x306b1e})=>{const _0x1e98ee=_0x5b30b5;Math[_0x1e98ee(0x1f2)](..._0x5c3b0e[_0x1e98ee(0x1e1)](_0x5814bb=>_0x5814bb[_0x1e98ee(0x243)]))>this[_0x1e98ee(0x23a)]()-0x1?this[_0x1e98ee(0x1f1)]()[_0x1e98ee(0x214)](()=>{const _0x52dcb0=_0x1e98ee;this[_0x52dcb0(0x1f3)](_0x5c3b0e,_0x306b1e);}):this[_0x1e98ee(0x1f3)](_0x5c3b0e,_0x306b1e);});const {revisions:_0x3c5dbd,requestId:_0x584dc3}=await this[_0x5b30b5(0x230)][_0x5b30b5(0x242)](_0xbdc237[_0x5b30b5(0x23c)]);_0xbdc237[_0x5b30b5(0x241)](this),this[_0x5b30b5(0x216)]=_0x584dc3,await this[_0x5b30b5(0x202)](_0x3c5dbd);for(const _0x3d65c5 of _0x3c5dbd)this[_0x5b30b5(0x238)][_0x5b30b5(0x1e4)](_0x3d65c5);this[_0x5b30b5(0x217)](_0x125c8a,_0x5b30b5(0x1e7),(_0x37a78f,_0x3afc34,_0x4c5fb8)=>{const _0x3c9b86=_0x5b30b5;_0x4c5fb8&&(this[_0x3c9b86(0x22e)]=_0x125c8a[_0x3c9b86(0x228)],_0x37a78f[_0x3c9b86(0x232)]());}),this[_0x5b30b5(0x238)][_0x5b30b5(0x1fb)](_0x5b30b5(0x245))['to'](_0xbdc237,_0x5b30b5(0x23e),_0x454a1e=>_0x454a1e===_0x4f9224[_0x5b30b5(0x1eb)]);}async[_0x4e5b4c(0x20e)](){const _0x48543c=_0x4e5b4c,_0x1849ba=this[_0x48543c(0x22a)][_0x48543c(0x1e0)][_0x48543c(0x1e6)](_0x1b944f),_0x32e1ae=this[_0x48543c(0x22a)][_0x48543c(0x1e0)][_0x48543c(0x1e6)](_0x113924),_0x40d865=async()=>{const _0x665e08=_0x48543c,_0x58f35d=this[_0x665e08(0x238)][_0x665e08(0x21e)],_0x1b9407=_0x58f35d['id'],_0x4951b6=_0x1b9407!==_0x32e1ae[_0x665e08(0x211)];if(_0x4951b6){const _0x24991c=_0x32e1ae[_0x665e08(0x228)]-this[_0x665e08(0x22e)],_0x35bfb6=this[_0x665e08(0x23a)]();this[_0x665e08(0x238)][_0x665e08(0x21c)][_0x665e08(0x20c)]();if(_0x58f35d[_0x665e08(0x243)]+_0x24991c!==_0x35bfb6){const _0x4af511=_0x58f35d[_0x665e08(0x1f9)]+_0x24991c,_0x5942ea=this[_0x665e08(0x22a)][_0x665e08(0x1e0)][_0x665e08(0x1e6)](_0x2d4510),_0x546113=this[_0x665e08(0x238)][_0x665e08(0x240)]({'revision':_0x58f35d,'from':_0x4af511,'to':_0x35bfb6});_0x546113['id']=_0x58f35d['id'];const _0x3e38dd=_0x546113[_0x665e08(0x1e3)][_0x665e08(0x1e1)](_0x2f1ffe=>_0x5942ea[_0x665e08(0x1fa)](_0x2f1ffe));_0x58f35d[_0x665e08(0x246)]({..._0x546113,'authors':_0x3e38dd},!0x0),this[_0x665e08(0x238)][_0x665e08(0x227)](_0x58f35d['id'],_0x546113,!0x0);}this[_0x665e08(0x238)][_0x665e08(0x1f4)]=_0x35bfb6,(_0x58f35d[_0x665e08(0x243)]===_0x58f35d[_0x665e08(0x1f9)]&&!this[_0x665e08(0x238)][_0x665e08(0x20a)][_0x665e08(0x219)](_0x1b9407)&&this[_0x665e08(0x238)][_0x665e08(0x223)][_0x665e08(0x207)][_0x665e08(0x22b)](_0x1b9407),this[_0x665e08(0x238)][_0x665e08(0x1f7)](_0x35bfb6));}const {revisions:_0x5d5e01,requestId:_0x31b34d}=await this[_0x665e08(0x230)][_0x665e08(0x20e)](_0x1849ba[_0x665e08(0x23c)],this[_0x665e08(0x216)]);_0x4951b6&&_0x5d5e01[_0x665e08(0x1e2)]>0x0?_0x32e1ae[_0x665e08(0x1df)]():(await this[_0x665e08(0x202)](_0x5d5e01),this[_0x665e08(0x1f3)](_0x5d5e01,_0x31b34d),this[_0x665e08(0x238)][_0x665e08(0x218)]());};return _0x32e1ae[_0x48543c(0x210)]?_0x40d865():new Promise((_0x1010ad,_0x889748)=>{const _0x4aed15=_0x48543c;_0x32e1ae[_0x4aed15(0x247)](_0x4aed15(0x1e7),()=>{const _0x3c33ec=_0x4aed15;_0x40d865()[_0x3c33ec(0x214)](_0x1010ad)[_0x3c33ec(0x23d)](_0x889748);});});}[_0x4e5b4c(0x1de)](){const _0x181b6c=_0x4e5b4c;super[_0x181b6c(0x1de)]();}async[_0x4e5b4c(0x20d)](){const _0x473ca5=_0x4e5b4c;this[_0x473ca5(0x230)][_0x473ca5(0x1f8)]||await new Promise(_0x39d59c=>{const _0x3d66f3=_0x473ca5;this[_0x3d66f3(0x217)](this[_0x3d66f3(0x230)],_0x3d66f3(0x1fd),_0x9df924=>{const _0x35f601=_0x3d66f3;_0x9df924[_0x35f601(0x232)](),_0x39d59c();});});}[_0x4e5b4c(0x23a)](){const _0x541538=_0x4e5b4c,_0x1161c4=this[_0x541538(0x22a)][_0x541538(0x1e0)][_0x541538(0x1e6)](_0x113924)[_0x541538(0x209)][_0x541538(0x20b)]()[_0x541538(0x229)]();for(const _0x87471e of _0x1161c4)if(_0x541538(0x21a)!==_0x87471e[_0x541538(0x244)]||_0x87471e[_0x541538(0x22c)])return _0x87471e[_0x541538(0x239)]+0x1;}[_0x4e5b4c(0x1f1)](){const _0x117563=_0x4e5b4c,_0x3ffee3=this[_0x117563(0x22a)][_0x117563(0x1e0)][_0x117563(0x1e6)](_0x113924);return new Promise(_0x1cf3d5=>{const _0x5badbe=_0x117563;_0x3ffee3[_0x5badbe(0x1e9)]?_0x3ffee3[_0x5badbe(0x247)](_0x5badbe(0x222),()=>{const _0x438615=_0x5badbe;_0x1cf3d5(this[_0x438615(0x23a)]());}):_0x1cf3d5(this[_0x5badbe(0x23a)]());});}[_0x4e5b4c(0x1f3)](_0x4a5926,_0x6bd52c){const _0x355443=_0x4e5b4c,_0x459369=this[_0x355443(0x238)][_0x355443(0x223)];this[_0x355443(0x216)]=_0x6bd52c;for(const _0x1892a9 of _0x4a5926){const _0x2823dc=_0x459369[_0x355443(0x21b)](_0x1892a9['id']);if(_0x2823dc){if((_0x1892a9[_0x355443(0x1f9)]||_0x1892a9[_0x355443(0x243)])&&(_0x1892a9[_0x355443(0x1ef)]=null),_0x2823dc===this[_0x355443(0x238)][_0x355443(0x21e)]){const _0x23aceb=Math[_0x355443(0x1f2)](_0x2823dc[_0x355443(0x243)],_0x1892a9[_0x355443(0x243)]),_0x4f53b3=Math[_0x355443(0x1f2)](_0x2823dc[_0x355443(0x1f9)],_0x1892a9[_0x355443(0x1f9)]);let _0x89df8;_0x2823dc[_0x355443(0x243)]===_0x1892a9[_0x355443(0x243)]&&_0x2823dc[_0x355443(0x1f9)]===_0x1892a9[_0x355443(0x1f9)]?(_0x89df8=!0x0,this[_0x355443(0x1db)](_0x1892a9)):_0x1892a9[_0x355443(0x243)]===_0x23aceb&&_0x1892a9[_0x355443(0x1f9)]===_0x4f53b3?_0x89df8=!0x1:(_0x2823dc[_0x355443(0x243)]===_0x23aceb&&_0x2823dc[_0x355443(0x1f9)]===_0x4f53b3||this[_0x355443(0x236)]({'revision':_0x2823dc,'from':_0x4f53b3,'to':_0x23aceb}),_0x89df8=!0x0),_0x89df8&&(delete _0x1892a9[_0x355443(0x1f9)],delete _0x1892a9[_0x355443(0x243)],delete _0x1892a9[_0x355443(0x1ef)],delete _0x1892a9[_0x355443(0x1fe)],delete _0x1892a9[_0x355443(0x1e3)]);}this[_0x355443(0x238)][_0x355443(0x234)](_0x1892a9),this[_0x355443(0x1db)](_0x1892a9);}else this[_0x355443(0x238)][_0x355443(0x1e4)](_0x1892a9);}const _0x1c39a1=_0x459369[_0x355443(0x1da)]();_0x1c39a1[_0x355443(0x229)]();for(let _0x44af13=0x0;_0x44af13<_0x1c39a1[_0x355443(0x1e2)]-0x1;_0x44af13++){const _0xf80a00=_0x1c39a1[_0x44af13],_0x5cf458=_0x1c39a1[_0x44af13+0x1];if(_0xf80a00[_0x355443(0x1f9)]<_0x5cf458[_0x355443(0x243)]){const _0x585abf=_0x5cf458[_0x355443(0x243)],_0x7022d8=Math[_0x355443(0x1f2)](_0x585abf,_0xf80a00[_0x355443(0x243)]);this[_0x355443(0x236)]({'revision':_0xf80a00,'from':_0x585abf,'to':_0x7022d8});}}}[_0x4e5b4c(0x236)]({revision:_0x4d7080,from:_0x20daf9,to:_0x2f48ea}={}){const _0x1013b7=_0x4e5b4c,_0x2befec=this[_0x1013b7(0x22a)][_0x1013b7(0x1e0)][_0x1013b7(0x1e6)](_0x2d4510),_0x2d52f4=this[_0x1013b7(0x238)][_0x1013b7(0x240)]({'revision':_0x4d7080,'from':_0x20daf9,'to':_0x2f48ea});_0x2d52f4[_0x1013b7(0x1d9)]=_0x2d52f4[_0x1013b7(0x1e3)][_0x1013b7(0x1e1)](_0x53d839=>_0x2befec[_0x1013b7(0x1fa)](_0x53d839)),_0x4d7080[_0x1013b7(0x246)](_0x2d52f4);}[_0x4e5b4c(0x1db)](_0x1c175e){const _0x14f447=_0x4e5b4c,_0x55a6d7={};_0x55a6d7['id']=_0x1c175e['id'];for(const _0x3f2ce2 of Object[_0x14f447(0x1f6)](_0x1c175e))'id'!==_0x3f2ce2&&(_0x55a6d7[_0x3f2ce2]=void 0x0);this[_0x14f447(0x238)][_0x14f447(0x227)](_0x55a6d7['id'],_0x55a6d7,!0x0);}async[_0x4e5b4c(0x202)](_0x585438){const _0x32eeb9=_0x4e5b4c,_0x568741=this[_0x32eeb9(0x22a)][_0x32eeb9(0x1e0)][_0x32eeb9(0x1e6)](_0x2d4510),{connection:_0x36561f}=this[_0x32eeb9(0x22a)][_0x32eeb9(0x1e0)][_0x32eeb9(0x1e6)](_0x1b944f),_0x4e74b8=new Set();for(const _0x9b9c6f of _0x585438){for(const _0x21ef0f of _0x9b9c6f[_0x32eeb9(0x1e3)])_0xa59cd1(_0x21ef0f);_0x9b9c6f[_0x32eeb9(0x220)]&&_0xa59cd1(_0x9b9c6f[_0x32eeb9(0x220)]);}if(0x0===_0x4e74b8[_0x32eeb9(0x21d)])return;const _0x2a9c6f=await _0x4359f4[_0x32eeb9(0x225)](_0x36561f,Array[_0x32eeb9(0x1fc)](_0x4e74b8));for(const _0x4e9a29 of _0x2a9c6f)_0x568741[_0x32eeb9(0x1fa)](_0x4e9a29['id'])||_0x568741[_0x32eeb9(0x221)](_0x4e9a29);function _0xa59cd1(_0x39f56a){const _0x409012=_0x32eeb9;_0x568741[_0x409012(0x1fa)](_0x39f56a)||_0x4e74b8[_0x409012(0x1ee)](_0x39f56a);}}}v[_0x4e5b4c(0x1dc)]=_0x3b7e63;export default v;function nt(_0x3fabb9){const _0xc8c6b9=_0x4e5b4c;return _0x3fabb9[_0xc8c6b9(0x235)][_0xc8c6b9(0x237)](_0xc8c6b9(0x1e8))||_0x3fabb9[_0xc8c6b9(0x235)][_0xc8c6b9(0x237)](_0xc8c6b9(0x1ec))||_0x3fabb9[_0xc8c6b9(0x235)][_0xc8c6b9(0x237)](_0xc8c6b9(0x23f));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bed2b=_0x2b48;(function(_0xb2bd3b,_0x5c6f81){const _0x549fb4=_0x2b48,_0x5eac1c=_0xb2bd3b();while(!![]){try{const _0x3fc1bd=-parseInt(_0x549fb4(0xd7))/0x1+-parseInt(_0x549fb4(0xc9))/0x2+parseInt(_0x549fb4(0xf9))/0x3*(parseInt(_0x549fb4(0xc5))/0x4)+-parseInt(_0x549fb4(0xd4))/0x5+-parseInt(_0x549fb4(0xec))/0x6+-parseInt(_0x549fb4(0xeb))/0x7+parseInt(_0x549fb4(0xca))/0x8*(parseInt(_0x549fb4(0xe7))/0x9);if(_0x3fc1bd===_0x5c6f81)break;else _0x5eac1c['push'](_0x5eac1c['shift']());}catch(_0x320581){_0x5eac1c['push'](_0x5eac1c['shift']());}}}(_0x5ea7,0xb1951));import{Plugin as _0x1faad9}from'ckeditor5/src/core.js';function _0x2b48(_0x49b690,_0x3206b7){const _0x5ea74c=_0x5ea7();return _0x2b48=function(_0x2b48a6,_0x4eb0e2){_0x2b48a6=_0x2b48a6-0xc3;let _0x278ee7=_0x5ea74c[_0x2b48a6];return _0x278ee7;},_0x2b48(_0x49b690,_0x3206b7);}import{User as _0xd1997c,TrackChangesService as _0x34d210}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2ce6c2 from'../realtimecollaborativeediting/websocketgateway.js';function _0x5ea7(){const _0x329575=['TrackChangesService','hasSuggestion','3145900ksMlKo','connect','plugins','177923tAvpjq','message','isConnected','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','adapter','_fetchMissingUsersForThreads','get','listenTo','TrackChangesEditing','startsWith','cloud-services-internal-error:\x20Not\x20connected.','connected','init','suggestionUpdated','set','702171GpZPPF','size','data','collaboration.channelId','3151316zRyzqo','6030126lCZjFO','from','attributes','config','requires','connection','getSuggestion','addSuggestionData','type','catch','getMany','editor','_waitForServiceReady','4307379QPOdZV','_saved','delete','then','_bufferedRequests','addToReconnectionStack','originalSuggestionId','4dgjcFE','off','update','state','793158BZRTYd','200lpumCp','add','_trackChangesService','open','getUser','addUser','find','values'];_0x5ea7=function(){return _0x329575;};return _0x5ea7();}import _0x55d5cc from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x438f1d}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x1faad9{static get[_0x4bed2b(0xf0)](){const _0x41e37d=_0x4bed2b;return[_0x55d5cc,_0x41e37d(0xe0),_0x2ce6c2];}constructor(_0x5a9bc0){const _0x8c021e=_0x4bed2b;super(_0x5a9bc0);const _0x5753d6=this[_0x8c021e(0xf7)][_0x8c021e(0xef)][_0x8c021e(0xde)](_0x8c021e(0xea));this[_0x8c021e(0xfd)]=new Map(),this[_0x8c021e(0xcc)]=new g[(_0x8c021e(0xd2))](_0x5753d6);}[_0x4bed2b(0xe4)](){const _0x194827=_0x4bed2b,_0x522971=this[_0x194827(0xf7)][_0x194827(0xd6)][_0x194827(0xde)](_0x2ce6c2),_0x11a1d1=this[_0x194827(0xf7)][_0x194827(0xd6)][_0x194827(0xde)](_0x194827(0xe0));return _0x11a1d1[_0x194827(0xdc)]={'getSuggestion':async _0xb1706f=>{const _0x15dcea=_0x194827;await this[_0x15dcea(0xf8)]();const _0x2eb806=await this[_0x15dcea(0xcc)][_0x15dcea(0xde)](_0xb1706f)[_0x15dcea(0xf5)](w);return await this[_0x15dcea(0xdd)]([_0x2eb806]),_0x2eb806;},'addSuggestion':async({id:_0x429607,type:_0x44938c,data:_0x37c65f,originalSuggestionId:_0x2381ab,attributes:_0x24dc03})=>{const _0x57a173=_0x194827;await this[_0x57a173(0xf8)]();const _0x39efd5={'id':_0x429607,'type':_0x44938c,'data':_0x37c65f,'originalSuggestionId':_0x2381ab,'attributes':_0x24dc03},_0x4cae6f=await this[_0x57a173(0xcc)][_0x57a173(0xcb)](_0x429607,_0x44938c,_0x37c65f,_0x2381ab,_0x24dc03)[_0x57a173(0xf5)](_0x5d33f7=>{if(nt(_0x5d33f7))return new Promise(_0x57c24b=>{const _0x296c92=_0x2b48;this[_0x296c92(0xfd)][_0x296c92(0xe6)](_0x429607,{'resolve':_0x57c24b,'suggestionData':_0x39efd5});});throw _0x5d33f7;});return this[_0x57a173(0xfd)][_0x57a173(0xfb)](_0x429607),_0x4cae6f;},'updateSuggestion':async(_0x2ca466,_0x632ab5)=>{const _0x45f1b1=_0x194827;if(await this[_0x45f1b1(0xf8)](),_0x45f1b1(0xcd)!==_0x632ab5[_0x45f1b1(0xc8)])return this[_0x45f1b1(0xcc)][_0x45f1b1(0xc7)](_0x2ca466,_0x632ab5)[_0x45f1b1(0xf5)](w);}},this[_0x194827(0xdf)](this[_0x194827(0xcc)],_0x194827(0xe5),(_0x3aae65,_0x30079e)=>{const _0x2ac616=_0x194827;_0x11a1d1[_0x2ac616(0xd3)](_0x30079e['id'])&&(_0x11a1d1[_0x2ac616(0xf2)](_0x30079e['id'])[_0x2ac616(0xee)]=_0x30079e[_0x2ac616(0xee)]);}),this[_0x194827(0xcc)][_0x194827(0xd5)](_0x522971[_0x194827(0xf1)])[_0x194827(0xfc)](_0x18040f=>(_0x522971[_0x194827(0xc3)](this),this[_0x194827(0xdd)](_0x18040f)[_0x194827(0xfc)](()=>{const _0x164ff6=_0x194827;for(const _0x904893 of _0x18040f){_0x11a1d1[_0x164ff6(0xf3)](_0x904893)[_0x164ff6(0xfa)]=!0x0;}})));}async[_0x4bed2b(0xdb)](){const _0x46ef5f=_0x4bed2b,_0x1d0b2f=this[_0x46ef5f(0xf7)][_0x46ef5f(0xd6)][_0x46ef5f(0xde)](_0x46ef5f(0xe0)),{connection:_0x204a0c}=this[_0x46ef5f(0xf7)][_0x46ef5f(0xd6)][_0x46ef5f(0xde)](_0x2ce6c2),_0x1b74dc=await this[_0x46ef5f(0xcc)][_0x46ef5f(0xd5)](_0x204a0c);await this[_0x46ef5f(0xdd)](_0x1b74dc);for(const {suggestionData:_0x5eb047,resolve:_0x2f71bc}of this[_0x46ef5f(0xfd)][_0x46ef5f(0xd1)]()){let _0xdf217a=_0x1b74dc[_0x46ef5f(0xd0)](_0xd451f4=>_0xd451f4['id']===_0x5eb047['id']);_0xdf217a||(_0xdf217a=await this[_0x46ef5f(0xcc)][_0x46ef5f(0xcb)](_0x5eb047['id'],_0x5eb047[_0x46ef5f(0xf4)],_0x5eb047[_0x46ef5f(0xe9)],_0x5eb047[_0x46ef5f(0xc4)])),_0x2f71bc(_0xdf217a);}for(const _0xa4b47b of _0x1b74dc)_0x1d0b2f[_0x46ef5f(0xd3)](_0xa4b47b['id'])||_0x1d0b2f[_0x46ef5f(0xf3)](_0xa4b47b);}async[_0x4bed2b(0xf8)](){const _0x4bd5ff=_0x4bed2b;this[_0x4bd5ff(0xcc)][_0x4bd5ff(0xd9)]||await new Promise(_0x3afc02=>{const _0x4a63e2=_0x4bd5ff;this[_0x4a63e2(0xdf)](this[_0x4a63e2(0xcc)],_0x4a63e2(0xe3),_0x16cf24=>{const _0x59e282=_0x4a63e2;_0x16cf24[_0x59e282(0xc6)](),_0x3afc02();});});}async[_0x4bed2b(0xdd)](_0x1da920){const _0x40d93f=_0x4bed2b,_0x8f64bd=this[_0x40d93f(0xf7)][_0x40d93f(0xd6)][_0x40d93f(0xde)](_0x438f1d),{connection:_0x1ad16c}=this[_0x40d93f(0xf7)][_0x40d93f(0xd6)][_0x40d93f(0xde)](_0x2ce6c2),_0x4b78d7=new Set();for(const {authorId:_0x42cd2f}of _0x1da920)_0x8f64bd[_0x40d93f(0xce)](_0x42cd2f)||_0x4b78d7[_0x40d93f(0xcb)](_0x42cd2f);if(0x0===_0x4b78d7[_0x40d93f(0xe8)])return;const _0x5b5deb=await _0xd1997c[_0x40d93f(0xf6)](_0x1ad16c,Array[_0x40d93f(0xed)](_0x4b78d7));for(const _0x477603 of _0x5b5deb)_0x8f64bd[_0x40d93f(0xce)](_0x477603['id'])||_0x8f64bd[_0x40d93f(0xcf)](_0x477603);}}g[_0x4bed2b(0xd2)]=_0x34d210;export default g;function w(_0x2e3175){if(nt(_0x2e3175))return new Promise(()=>{});throw _0x2e3175;}function nt(_0x292a55){const _0x5cb5f3=_0x4bed2b;return _0x292a55[_0x5cb5f3(0xd8)][_0x5cb5f3(0xe1)](_0x5cb5f3(0xe2))||_0x292a55[_0x5cb5f3(0xd8)][_0x5cb5f3(0xe1)](_0x5cb5f3(0xda));}
|