@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.3 → 44.0.0-alpha.4
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 _0x25572e=_0x3b92;(function(_0x418d5d,_0x559fa8){const _0xcd46ef=_0x3b92,_0x38f3d8=_0x418d5d();while(!![]){try{const _0x43b00f=parseInt(_0xcd46ef(0x152))/0x1+-parseInt(_0xcd46ef(0x140))/0x2+-parseInt(_0xcd46ef(0x14a))/0x3+-parseInt(_0xcd46ef(0x192))/0x4+-parseInt(_0xcd46ef(0x187))/0x5*(-parseInt(_0xcd46ef(0x144))/0x6)+-parseInt(_0xcd46ef(0x174))/0x7*(-parseInt(_0xcd46ef(0x164))/0x8)+parseInt(_0xcd46ef(0x1a5))/0x9;if(_0x43b00f===_0x559fa8)break;else _0x38f3d8['push'](_0x38f3d8['shift']());}catch(_0x203344){_0x38f3d8['push'](_0x38f3d8['shift']());}}}(_0x5d39,0x32a2a));function _0x3b92(_0x1e308d,_0x1c80f1){const _0x5d39cc=_0x5d39();return _0x3b92=function(_0x3b927c,_0x46fd61){_0x3b927c=_0x3b927c-0x138;let _0x2d0249=_0x5d39cc[_0x3b927c];return _0x2d0249;},_0x3b92(_0x1e308d,_0x1c80f1);}import{Plugin as _0x3e07f7}from'ckeditor5/src/core.js';import{global as _0x1fac7c,DomEmitterMixin as _0x120f1d}from'ckeditor5/src/utils.js';function _0x5d39(){const _0x2692f2=['plugins','20146KmoJCy','schema','startsWith','markerToElement','listenTo','user:position:','toDomElement','isInline','init','ck-user__selection','nodeAfter','mouseleave','createUserMarkerOperations','batch','<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>','user:range','_domEmitter','get','isSimilar','1038965xTvvkB','change','root','fromRange','$text','afterInit','UserMarkers','pluginName','contenteditable','split','createUIElement','1106448HzhqcZ','getPositions','markerRange','markerName','model','user:position','type','enqueueChange','isObject','oldRange','editingDowncast','change:range','end','clear','size','start','user:','detach','set','1333665vwNylg','getCustomProperty','mapper','keydown','view','span','highest','marker','destroy','$graveyard','isCollapsed','for','selection','hasContent','userPositionMarker','document','innerHTML','newRange','getContainedElement','delete','markers','ck-user__marker\x20','getRange','parent','commands','color','addMarker','editor','setCustomProperty','getSelectionClass','644258PMHsec','data-session-id','render','update:user:range','6nlnIdW','Escape','markerToHighlight','ck-user__marker_hovered','conversion','getFirstRange','775329xzvaNY','markerNameToElements','getAttribute','classList','isOfficialPlugin','getStart','updateMarker','isLimit','322956nfAEOk','toRange','_createdBatches','undo','checkChild','name','getUserBySessionId','mouseenter','requires','removeClass','getMarkerClass','addEventListener','createRange','orderNumber','add','tableCell','user:range:','hasDomSelection','1072fnkjvc','element','reconvertMarker','editing','has','rootName','</span>','removeMarker','getNearestSelectionRange','mySessionId','deletionPosition','remove','isPremiumPlugin','stopListening','applyOperation'];_0x5d39=function(){return _0x2692f2;};return _0x5d39();}import _0x137116 from'./sessions.js';import{LiveRange as _0x3105c0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x3e07f7{constructor(){const _0x41d72b=_0x3b92;super(...arguments),this[_0x41d72b(0x184)]=new(_0x120f1d())();}static get[_0x25572e(0x15a)](){return[_0x137116];}static get[_0x25572e(0x18e)](){const _0x1687ea=_0x25572e;return _0x1687ea(0x18d);}static get[_0x25572e(0x14e)](){return!0x0;}static get[_0x25572e(0x170)](){return!0x0;}[_0x25572e(0x17c)](){const _0x40b957=_0x25572e,_0x1f13ae=this[_0x40b957(0x13d)],_0x2c0f23=_0x1f13ae[_0x40b957(0x173)][_0x40b957(0x185)](_0x137116);_0x1f13ae[_0x40b957(0x148)][_0x40b957(0x1b0)](_0x40b957(0x19c))[_0x40b957(0x177)]({'model':_0x40b957(0x197),'view':(_0x593a84,{writer:_0xae48a2})=>function(_0x4acef1,_0x4d67ce,_0x39fefb,_0xe90d27){const _0xd10241=_0x40b957,_0x2ab7af=_0x4acef1[_0xd10241(0x195)][_0xd10241(0x190)](':')[0x2],_0x1ccf23=_0x39fefb[_0xd10241(0x158)](_0x2ab7af);if(!_0x1ccf23||_0x2ab7af===_0x39fefb[_0xd10241(0x16d)])return;if(!_0xe90d27[_0xd10241(0x196)][_0xd10241(0x175)][_0xd10241(0x156)](_0x4acef1[_0xd10241(0x194)][_0xd10241(0x1a1)],_0xd10241(0x18b)))return;const _0x2a10dd={'class':_0xd10241(0x1ba)+_0x1ccf23[_0xd10241(0x13b)][_0xd10241(0x15c)](),'data-name':_0x1ccf23[_0xd10241(0x157)],'data-session-id':_0x2ab7af},_0x2dbb58=_0xe90d27[_0xd10241(0x196)][_0xd10241(0x1b9)][_0xd10241(0x185)](_0x4acef1[_0xd10241(0x195)]),_0x1ffa28=_0x2dbb58[_0xd10241(0x14f)](),_0x3c3c9c=_0x1ffa28[_0xd10241(0x17e)],_0x1284d0=_0xe90d27[_0xd10241(0x196)][_0xd10241(0x175)];if(_0x3c3c9c&&_0x1284d0[_0xd10241(0x19a)](_0x3c3c9c)&&_0x1284d0[_0xd10241(0x17b)](_0x3c3c9c)&&!_0xe90d27[_0xd10241(0x196)][_0xd10241(0x1b9)][_0xd10241(0x185)](_0xd10241(0x162)+_0x2ab7af)[_0xd10241(0x138)]()[_0xd10241(0x1af)])return;const _0x1ead3a=_0x1ffa28[_0xd10241(0x139)];return _0xe90d27[_0xd10241(0x196)][_0xd10241(0x175)][_0xd10241(0x151)](_0x1ead3a)&&!_0xe90d27[_0xd10241(0x196)][_0xd10241(0x1b2)](_0x1ead3a)&&(_0x2a10dd[_0xd10241(0x18f)]=!0x1),function(_0x4dc1b0,_0xb9274f,_0x298033){const _0x5c55ca=_0xd10241,_0x4298af=_0x4dc1b0[_0x5c55ca(0x191)](_0x5c55ca(0x1aa),_0xb9274f);return _0x4dc1b0[_0x5c55ca(0x13e)](_0x5c55ca(0x1b3),!0x0,_0x4298af),_0x4298af[_0x5c55ca(0x142)]=function(_0x4f3f7d){const _0x108c21=_0x5c55ca,_0x206852=this[_0x108c21(0x17a)](_0x4f3f7d);return _0x206852[_0x108c21(0x1b5)]=_0x108c21(0x182)+_0x298033[_0x108c21(0x157)]+_0x108c21(0x16a),_0x206852[_0x108c21(0x15d)](_0x108c21(0x159),()=>{const _0x57c8eb=_0x108c21;_0x206852[_0x57c8eb(0x14d)][_0x57c8eb(0x160)](_0x57c8eb(0x147));}),_0x206852[_0x108c21(0x15d)](_0x108c21(0x17f),()=>{const _0x43550f=_0x108c21;_0x206852[_0x43550f(0x14d)][_0x43550f(0x16f)](_0x43550f(0x147));}),_0x206852;},_0x4298af[_0x5c55ca(0x186)]=function(_0x3b23d1){const _0x13e1c6=_0x5c55ca;return!(!this[_0x13e1c6(0x1a6)](_0x13e1c6(0x1b3))||!_0x3b23d1[_0x13e1c6(0x1a6)](_0x13e1c6(0x1b3))||this[_0x13e1c6(0x14c)](_0x13e1c6(0x141))!=_0x3b23d1[_0x13e1c6(0x14c)](_0x13e1c6(0x141)));},_0x4298af;}(_0x4d67ce,_0x2a10dd,_0x1ccf23);}(_0x593a84,_0xae48a2,_0x2c0f23,_0x1f13ae)}),_0x1f13ae[_0x40b957(0x148)][_0x40b957(0x1b0)](_0x40b957(0x19c))[_0x40b957(0x146)]({'model':_0x40b957(0x183),'view':_0x10a7f8=>function(_0x442877,_0x79b4a3){const _0x3ecfd3=_0x40b957,_0x4b26f3=_0x442877[_0x3ecfd3(0x195)][_0x3ecfd3(0x190)](':')[0x2];if(_0x4b26f3===_0x79b4a3[_0x3ecfd3(0x16d)])return null;const _0x5d1614=_0x79b4a3[_0x3ecfd3(0x158)](_0x4b26f3);if(!_0x5d1614)return{'id':_0x4b26f3,'classes':[]};return{'id':_0x4b26f3,'classes':[_0x3ecfd3(0x17d),_0x5d1614[_0x3ecfd3(0x13b)][_0x3ecfd3(0x13f)]()],'attributes':{'data-session-id':_0x4b26f3},'priority':0x7d0+_0x5d1614[_0x3ecfd3(0x15f)]};}(_0x10a7f8,_0x2c0f23)}),function(_0xc251aa){const _0x8c82ee=_0x40b957,_0x811bc3=_0xc251aa[_0x8c82ee(0x196)],_0x2966a3=new Map(),_0x14d244=_0xc251aa[_0x8c82ee(0x173)][_0x8c82ee(0x185)](_0x137116);_0x811bc3[_0x8c82ee(0x1b9)]['on'](_0x8c82ee(0x143),(_0x5066bf,_0xf66462,_0x3c8698,_0x21bdd1)=>{const _0x1528ed=_0x8c82ee;if(!_0x21bdd1&&_0x2966a3[_0x1528ed(0x185)](_0xf66462[_0x1528ed(0x157)]))return _0x2966a3[_0x1528ed(0x185)](_0xf66462[_0x1528ed(0x157)])[_0x1528ed(0x1a3)](),void _0x2966a3[_0x1528ed(0x1b8)](_0xf66462[_0x1528ed(0x157)]);const _0x215080=_0xf66462[_0x1528ed(0x157)][_0x1528ed(0x190)](':')[0x2];if(_0x215080===_0x14d244[_0x1528ed(0x16d)])return;const _0xb5afdb=_0x1528ed(0x179)+_0x215080;_0x811bc3[_0x1528ed(0x1b9)][_0x1528ed(0x168)](_0xb5afdb)&&_0xc251aa[_0x1528ed(0x167)][_0x1528ed(0x166)](_0xb5afdb),_0xf66462['on'](_0x1528ed(0x19d),(_0x1a1476,_0x53a460,_0x4e8aca)=>{const _0x4f9b8b=_0x1528ed;if(_0x4f9b8b(0x1ae)!=_0x53a460[_0x4f9b8b(0x189)][_0x4f9b8b(0x169)]&&_0x4f9b8b(0x1ae)==_0xf66462[_0x4f9b8b(0x138)]()[_0x4f9b8b(0x189)][_0x4f9b8b(0x169)]&&!_0x2966a3[_0x4f9b8b(0x168)](_0xf66462[_0x4f9b8b(0x157)])){const _0x280f22=_0x811bc3[_0x4f9b8b(0x175)][_0x4f9b8b(0x16c)](_0x4e8aca[_0x4f9b8b(0x16e)]);if(_0x280f22){const _0x41291e=_0x3105c0[_0x4f9b8b(0x18a)](_0x280f22);_0x2966a3[_0x4f9b8b(0x1a4)](_0xf66462[_0x4f9b8b(0x157)],_0x41291e),_0x41291e['on'](_0x4f9b8b(0x19d),(_0x1656af,_0x1aa7d0,_0x36eb9d)=>{const _0x3a985a=_0x4f9b8b;if(_0x3a985a(0x1ae)==_0x41291e[_0x3a985a(0x189)][_0x3a985a(0x169)]){const _0x205dc6=_0x811bc3[_0x3a985a(0x175)][_0x3a985a(0x16c)](_0x36eb9d[_0x3a985a(0x16e)]);_0x205dc6?(_0x41291e[_0x3a985a(0x1a1)]=_0x205dc6[_0x3a985a(0x1a1)],_0x41291e[_0x3a985a(0x19e)]=_0x205dc6[_0x3a985a(0x19e)]):(_0x2966a3[_0x3a985a(0x1b8)](_0xf66462[_0x3a985a(0x157)]),_0x41291e[_0x3a985a(0x1a3)]());}});}}});}),_0x811bc3[_0x8c82ee(0x1b4)]['on'](_0x8c82ee(0x188),()=>{const _0x5cb2c7=_0x8c82ee;_0x2966a3[_0x5cb2c7(0x1a0)]>0x0&&_0x811bc3[_0x5cb2c7(0x199)]({'isUndoable':!0x1},_0x22be1c=>{const _0x164e16=_0x5cb2c7;for(const [_0x3ef1a2,_0x4d0607]of _0x2966a3)_0x164e16(0x1ae)==_0x811bc3[_0x164e16(0x1b9)][_0x164e16(0x185)](_0x3ef1a2)[_0x164e16(0x138)]()[_0x164e16(0x189)][_0x164e16(0x169)]&&(G(_0x3ef1a2[_0x164e16(0x190)](':')[0x2],_0x4d0607[_0x164e16(0x153)](),_0x811bc3,_0x22be1c),_0x4d0607[_0x164e16(0x1a3)]());_0x2966a3[_0x164e16(0x19f)]();});});}(_0x1f13ae),this[_0x40b957(0x184)][_0x40b957(0x178)](_0x1fac7c[_0x40b957(0x1b4)],_0x40b957(0x1a8),(_0x419900,{key:_0x369529})=>{const _0x2a3090=_0x40b957;_0x2a3090(0x145)===_0x369529&&function(_0x391134){const _0x4436d9=_0x2a3090;_0x391134[_0x4436d9(0x167)][_0x4436d9(0x1a9)][_0x4436d9(0x188)](_0x2934f1=>{const _0x3c01b8=_0x4436d9;for(const _0x4a6e72 of _0x391134[_0x3c01b8(0x196)][_0x3c01b8(0x1b9)]){if(!_0x4a6e72[_0x3c01b8(0x157)][_0x3c01b8(0x176)](_0x3c01b8(0x197)))continue;const _0x1080f0=_0x391134[_0x3c01b8(0x167)][_0x3c01b8(0x1a7)][_0x3c01b8(0x14b)](_0x4a6e72[_0x3c01b8(0x157)]);if(_0x1080f0){for(const _0x21c1c2 of _0x1080f0)_0x2934f1[_0x3c01b8(0x15b)](_0x3c01b8(0x147),_0x21c1c2);}}});}(_0x1f13ae);},{'useCapture':!0x0});}[_0x25572e(0x18c)](){const _0x5c2fce=_0x25572e,_0x30581e=this[_0x5c2fce(0x13d)],_0x4f02f4=_0x30581e[_0x5c2fce(0x13a)][_0x5c2fce(0x185)](_0x5c2fce(0x155));_0x4f02f4&&_0x30581e[_0x5c2fce(0x196)]['on'](_0x5c2fce(0x172),(_0x481dbb,_0x50b641)=>{const _0x3b317c=_0x5c2fce,_0xb092e6=_0x50b641[0x0];if(_0x3b317c(0x1ac)!=_0xb092e6[_0x3b317c(0x198)]||!_0xb092e6[_0x3b317c(0x157)][_0x3b317c(0x176)](_0x3b317c(0x1a2)))return;const _0x44f08b=_0xb092e6[_0x3b317c(0x181)];_0x4f02f4[_0x3b317c(0x154)][_0x3b317c(0x168)](_0x44f08b)&&(_0xb092e6[_0x3b317c(0x1b6)]=_0xb092e6[_0x3b317c(0x19b)]?_0x30581e[_0x3b317c(0x196)][_0x3b317c(0x15e)](_0xb092e6[_0x3b317c(0x19b)][_0x3b317c(0x1a1)],_0xb092e6[_0x3b317c(0x19b)][_0x3b317c(0x19e)]):null);},{'priority':_0x5c2fce(0x1ab)});}[_0x25572e(0x1ad)](){const _0x25ec34=_0x25572e;return this[_0x25ec34(0x184)][_0x25ec34(0x171)](),super[_0x25ec34(0x1ad)]();}[_0x25572e(0x180)](){const _0x171d9f=_0x25572e,_0x618b62=this[_0x171d9f(0x13d)],_0x2b5a90=_0x618b62[_0x171d9f(0x196)][_0x171d9f(0x1b4)],_0x19dc46=_0x618b62[_0x171d9f(0x173)][_0x171d9f(0x185)](_0x137116);_0x618b62[_0x171d9f(0x196)][_0x171d9f(0x199)]({'isUndoable':!0x1},_0x2c8bed=>{const _0x4ca2f0=_0x171d9f,_0x7bbcb2=_0x4ca2f0(0x162)+_0x19dc46[_0x4ca2f0(0x16d)],_0xa47273=_0x4ca2f0(0x179)+_0x19dc46[_0x4ca2f0(0x16d)],_0x1856bb=_0x618b62[_0x4ca2f0(0x196)][_0x4ca2f0(0x1b9)][_0x4ca2f0(0x168)](_0x7bbcb2);_0x618b62[_0x4ca2f0(0x167)][_0x4ca2f0(0x1a9)][_0x4ca2f0(0x163)]?G(_0x19dc46[_0x4ca2f0(0x16d)],_0x2b5a90[_0x4ca2f0(0x1b1)][_0x4ca2f0(0x149)](),_0x618b62[_0x4ca2f0(0x196)],_0x2c8bed):_0x1856bb&&(_0x2c8bed[_0x4ca2f0(0x16b)](_0x7bbcb2),_0x2c8bed[_0x4ca2f0(0x16b)](_0xa47273));});}}function G(_0x42084e,_0x39e78a,_0x516126,_0x2a3b5f){const _0x1ee21f=_0x25572e,_0x2fd7ce=_0x1ee21f(0x162)+_0x42084e,_0x2f8ba9=_0x1ee21f(0x179)+_0x42084e,_0x1b74ed=_0x39e78a[_0x1ee21f(0x1b7)]();let _0x30d492=_0x39e78a[_0x1ee21f(0x1a1)];_0x1b74ed&&_0x1b74ed['is'](_0x1ee21f(0x165),_0x1ee21f(0x161))&&(_0x30d492=function(_0x3366ea,_0x14be6f){const _0x3e6ffa=_0x1ee21f;for(const _0xb347d8 of _0x3366ea[_0x3e6ffa(0x193)]())if(_0x14be6f[_0x3e6ffa(0x175)][_0x3e6ffa(0x156)](_0xb347d8,_0x3e6ffa(0x18b)))return _0xb347d8;}(_0x39e78a,_0x516126),_0x39e78a=_0x2a3b5f[_0x1ee21f(0x15e)](_0x30d492));const _0x485edc=_0x2a3b5f[_0x1ee21f(0x15e)](_0x30d492);_0x516126[_0x1ee21f(0x1b9)][_0x1ee21f(0x168)](_0x2fd7ce)?(_0x2a3b5f[_0x1ee21f(0x150)](_0x2fd7ce,{'range':_0x39e78a}),_0x2a3b5f[_0x1ee21f(0x150)](_0x2f8ba9,{'range':_0x485edc})):(_0x2a3b5f[_0x1ee21f(0x13c)](_0x2fd7ce,{'range':_0x39e78a,'usingOperation':!0x0}),_0x2a3b5f[_0x1ee21f(0x13c)](_0x2f8ba9,{'range':_0x485edc,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x4ddd(){const _0x1f7bf3=['color','applyOperation','tableCell','$text','getNearestSelectionRange','keydown','user:range:','pluginName','data-session-id','add','_createdBatches','change','change:range','nodeAfter','init','mapper','</span>','batch','ck-user__marker\x20','getUserBySessionId','detach','getContainedElement','setCustomProperty','773260fLPxvf','getAttribute','destroy','startsWith','toRange','isCollapsed','addEventListener','userPositionMarker','afterInit','split','getSelectionClass','deletionPosition','removeClass','createUIElement','isPremiumPlugin','get','contenteditable','getRange','mySessionId','createRange','marker','listenTo','render','155016ToTxVy','<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>','innerHTML','UserMarkers','mouseenter','2049230MiAphb','clear','set','root','document','isInline','markers','start','checkChild','markerToHighlight','undo','isObject','createUserMarkerOperations','view','updateMarker','Escape','getMarkerClass','fromRange','size','commands','editing','user:position','mouseleave','type','toDomElement','name','ck-user__marker_hovered','removeMarker','stopListening','hasDomSelection','remove','newRange','isSimilar','classList','oldRange','markerNameToElements','end','isOfficialPlugin','ck-user__selection','model','addMarker','1150536MFkLKQ','user:','496RZnJLv','for','1242348Mduzzv','parent','editor','getPositions','markerName','element','span','plugins','getCustomProperty','schema','_domEmitter','has','requires','highest','delete','hasContent','getFirstRange','markerRange','user:range','reconvertMarker','$graveyard','rootName','getStart','123179EneLGu','conversion','user:position:','enqueueChange','orderNumber','913596znpcvi','isLimit','editingDowncast','markerToElement','selection','update:user:range'];_0x4ddd=function(){return _0x1f7bf3;};return _0x4ddd();}function _0x4af6(_0x165b5c,_0x40bde3){const _0x4ddd49=_0x4ddd();return _0x4af6=function(_0x4af67e,_0x25aed3){_0x4af67e=_0x4af67e-0x184;let _0x4fc6a1=_0x4ddd49[_0x4af67e];return _0x4fc6a1;},_0x4af6(_0x165b5c,_0x40bde3);}const _0x3469bb=_0x4af6;(function(_0x2141f2,_0x350de6){const _0x1a1249=_0x4af6,_0x136c0c=_0x2141f2();while(!![]){try{const _0x26a2c9=parseInt(_0x1a1249(0x1d9))/0x1+parseInt(_0x1a1249(0x1c2))/0x2+parseInt(_0x1a1249(0x1a5))/0x3+parseInt(_0x1a1249(0x185))/0x4+parseInt(_0x1a1249(0x1de))/0x5+-parseInt(_0x1a1249(0x189))/0x6+-parseInt(_0x1a1249(0x1a0))/0x7*(parseInt(_0x1a1249(0x187))/0x8);if(_0x26a2c9===_0x350de6)break;else _0x136c0c['push'](_0x136c0c['shift']());}catch(_0x225693){_0x136c0c['push'](_0x136c0c['shift']());}}}(_0x4ddd,0x3bf52));import{Plugin as _0x88f345}from'ckeditor5/src/core.js';import{global as _0x3c40db,DomEmitterMixin as _0x1f0d70}from'ckeditor5/src/utils.js';import _0x2e875c from'./sessions.js';import{LiveRange as _0x2ee973}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x88f345{constructor(){const _0x3eb6e9=_0x4af6;super(...arguments),this[_0x3eb6e9(0x193)]=new(_0x1f0d70())();}static get[_0x3469bb(0x195)](){return[_0x2e875c];}static get[_0x3469bb(0x1b2)](){const _0x1d4733=_0x3469bb;return _0x1d4733(0x1dc);}static get[_0x3469bb(0x203)](){return!0x0;}static get[_0x3469bb(0x1d0)](){return!0x0;}[_0x3469bb(0x1b9)](){const _0x4790f1=_0x3469bb,_0x2310b3=this[_0x4790f1(0x18b)],_0x111410=_0x2310b3[_0x4790f1(0x190)][_0x4790f1(0x1d1)](_0x2e875c);_0x2310b3[_0x4790f1(0x1a1)][_0x4790f1(0x188)](_0x4790f1(0x1a7))[_0x4790f1(0x1a8)]({'model':_0x4790f1(0x1f3),'view':(_0x1a0ab5,{writer:_0x1186d5})=>function(_0x14b6c2,_0x58120d,_0x1f64c5,_0x5a5cce){const _0x5d6faf=_0x4790f1,_0x4d4a14=_0x14b6c2[_0x5d6faf(0x18d)][_0x5d6faf(0x1cb)](':')[0x2],_0x4e6211=_0x1f64c5[_0x5d6faf(0x1be)](_0x4d4a14);if(!_0x4e6211||_0x4d4a14===_0x1f64c5[_0x5d6faf(0x1d4)])return;if(!_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x192)][_0x5d6faf(0x1e6)](_0x14b6c2[_0x5d6faf(0x19a)][_0x5d6faf(0x1e5)],_0x5d6faf(0x1ae)))return;const _0x144467={'class':_0x5d6faf(0x1bd)+_0x4e6211[_0x5d6faf(0x1ab)][_0x5d6faf(0x1ee)](),'data-name':_0x4e6211[_0x5d6faf(0x1f7)],'data-session-id':_0x4d4a14},_0x92a212=_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x1e4)][_0x5d6faf(0x1d1)](_0x14b6c2[_0x5d6faf(0x18d)]),_0x1f4eb9=_0x92a212[_0x5d6faf(0x19f)](),_0xb798eb=_0x1f4eb9[_0x5d6faf(0x1b8)],_0x50103e=_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x192)];if(_0xb798eb&&_0x50103e[_0x5d6faf(0x1e9)](_0xb798eb)&&_0x50103e[_0x5d6faf(0x1e3)](_0xb798eb)&&!_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x1e4)][_0x5d6faf(0x1d1)](_0x5d6faf(0x1b1)+_0x4d4a14)[_0x5d6faf(0x1d3)]()[_0x5d6faf(0x1c7)])return;const _0x2e4c54=_0x1f4eb9[_0x5d6faf(0x18a)];return _0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x192)][_0x5d6faf(0x1a6)](_0x2e4c54)&&!_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x198)](_0x2e4c54)&&(_0x144467[_0x5d6faf(0x1d2)]=!0x1),function(_0x178d87,_0xd7dcd4,_0x1d5622){const _0x35f246=_0x5d6faf,_0x18a886=_0x178d87[_0x35f246(0x1cf)](_0x35f246(0x18f),_0xd7dcd4);return _0x178d87[_0x35f246(0x1c1)](_0x35f246(0x1c9),!0x0,_0x18a886),_0x18a886[_0x35f246(0x1d8)]=function(_0x49753b){const _0x4b97bb=_0x35f246,_0x26dd95=this[_0x4b97bb(0x1f6)](_0x49753b);return _0x26dd95[_0x4b97bb(0x1db)]=_0x4b97bb(0x1da)+_0x1d5622[_0x4b97bb(0x1f7)]+_0x4b97bb(0x1bb),_0x26dd95[_0x4b97bb(0x1c8)](_0x4b97bb(0x1dd),()=>{const _0x3882e7=_0x4b97bb;_0x26dd95[_0x3882e7(0x1ff)][_0x3882e7(0x1b4)](_0x3882e7(0x1f8));}),_0x26dd95[_0x4b97bb(0x1c8)](_0x4b97bb(0x1f4),()=>{const _0x5f10fb=_0x4b97bb;_0x26dd95[_0x5f10fb(0x1ff)][_0x5f10fb(0x1fc)](_0x5f10fb(0x1f8));}),_0x26dd95;},_0x18a886[_0x35f246(0x1fe)]=function(_0x13c46f){const _0x302913=_0x35f246;return!(!this[_0x302913(0x191)](_0x302913(0x1c9))||!_0x13c46f[_0x302913(0x191)](_0x302913(0x1c9))||this[_0x302913(0x1c3)](_0x302913(0x1b3))!=_0x13c46f[_0x302913(0x1c3)](_0x302913(0x1b3)));},_0x18a886;}(_0x58120d,_0x144467,_0x4e6211);}(_0x1a0ab5,_0x1186d5,_0x111410,_0x2310b3)}),_0x2310b3[_0x4790f1(0x1a1)][_0x4790f1(0x188)](_0x4790f1(0x1a7))[_0x4790f1(0x1e7)]({'model':_0x4790f1(0x19b),'view':_0x539430=>function(_0x2d00c7,_0x46b40a){const _0x734b11=_0x4790f1,_0x2dbab3=_0x2d00c7[_0x734b11(0x18d)][_0x734b11(0x1cb)](':')[0x2];if(_0x2dbab3===_0x46b40a[_0x734b11(0x1d4)])return null;const _0x33e9f9=_0x46b40a[_0x734b11(0x1be)](_0x2dbab3);if(!_0x33e9f9)return{'id':_0x2dbab3,'classes':[]};return{'id':_0x2dbab3,'classes':[_0x734b11(0x204),_0x33e9f9[_0x734b11(0x1ab)][_0x734b11(0x1cc)]()],'attributes':{'data-session-id':_0x2dbab3},'priority':0x7d0+_0x33e9f9[_0x734b11(0x1a4)]};}(_0x539430,_0x111410)}),function(_0x55a054){const _0x54a888=_0x4790f1,_0x46857f=_0x55a054[_0x54a888(0x205)],_0x2109c6=new Map(),_0x503525=_0x55a054[_0x54a888(0x190)][_0x54a888(0x1d1)](_0x2e875c);_0x46857f[_0x54a888(0x1e4)]['on'](_0x54a888(0x1aa),(_0x38699e,_0x43bc28,_0x56d847,_0x2fea63)=>{const _0x99d354=_0x54a888;if(!_0x2fea63&&_0x2109c6[_0x99d354(0x1d1)](_0x43bc28[_0x99d354(0x1f7)]))return _0x2109c6[_0x99d354(0x1d1)](_0x43bc28[_0x99d354(0x1f7)])[_0x99d354(0x1bf)](),void _0x2109c6[_0x99d354(0x197)](_0x43bc28[_0x99d354(0x1f7)]);const _0x19b2b6=_0x43bc28[_0x99d354(0x1f7)][_0x99d354(0x1cb)](':')[0x2];if(_0x19b2b6===_0x503525[_0x99d354(0x1d4)])return;const _0x359cad=_0x99d354(0x1a2)+_0x19b2b6;_0x46857f[_0x99d354(0x1e4)][_0x99d354(0x194)](_0x359cad)&&_0x55a054[_0x99d354(0x1f2)][_0x99d354(0x19c)](_0x359cad),_0x43bc28['on'](_0x99d354(0x1b7),(_0x4c4347,_0x344b1e,_0x3d2056)=>{const _0x218ec6=_0x99d354;if(_0x218ec6(0x19d)!=_0x344b1e[_0x218ec6(0x1e1)][_0x218ec6(0x19e)]&&_0x218ec6(0x19d)==_0x43bc28[_0x218ec6(0x1d3)]()[_0x218ec6(0x1e1)][_0x218ec6(0x19e)]&&!_0x2109c6[_0x218ec6(0x194)](_0x43bc28[_0x218ec6(0x1f7)])){const _0x5c8478=_0x46857f[_0x218ec6(0x192)][_0x218ec6(0x1af)](_0x3d2056[_0x218ec6(0x1cd)]);if(_0x5c8478){const _0x4c2c86=_0x2ee973[_0x218ec6(0x1ef)](_0x5c8478);_0x2109c6[_0x218ec6(0x1e0)](_0x43bc28[_0x218ec6(0x1f7)],_0x4c2c86),_0x4c2c86['on'](_0x218ec6(0x1b7),(_0x493d75,_0x85ff0a,_0x1e6a2b)=>{const _0x203e0d=_0x218ec6;if(_0x203e0d(0x19d)==_0x4c2c86[_0x203e0d(0x1e1)][_0x203e0d(0x19e)]){const _0x274648=_0x46857f[_0x203e0d(0x192)][_0x203e0d(0x1af)](_0x1e6a2b[_0x203e0d(0x1cd)]);_0x274648?(_0x4c2c86[_0x203e0d(0x1e5)]=_0x274648[_0x203e0d(0x1e5)],_0x4c2c86[_0x203e0d(0x202)]=_0x274648[_0x203e0d(0x202)]):(_0x2109c6[_0x203e0d(0x197)](_0x43bc28[_0x203e0d(0x1f7)]),_0x4c2c86[_0x203e0d(0x1bf)]());}});}}});}),_0x46857f[_0x54a888(0x1e2)]['on'](_0x54a888(0x1b6),()=>{const _0x59fb3c=_0x54a888;_0x2109c6[_0x59fb3c(0x1f0)]>0x0&&_0x46857f[_0x59fb3c(0x1a3)]({'isUndoable':!0x1},_0xeb77ed=>{const _0x2f5707=_0x59fb3c;for(const [_0x26045c,_0x3bacb8]of _0x2109c6)_0x2f5707(0x19d)==_0x46857f[_0x2f5707(0x1e4)][_0x2f5707(0x1d1)](_0x26045c)[_0x2f5707(0x1d3)]()[_0x2f5707(0x1e1)][_0x2f5707(0x19e)]&&(re(_0x26045c[_0x2f5707(0x1cb)](':')[0x2],_0x3bacb8[_0x2f5707(0x1c6)](),_0x46857f,_0xeb77ed),_0x3bacb8[_0x2f5707(0x1bf)]());_0x2109c6[_0x2f5707(0x1df)]();});});}(_0x2310b3),this[_0x4790f1(0x193)][_0x4790f1(0x1d7)](_0x3c40db[_0x4790f1(0x1e2)],_0x4790f1(0x1b0),(_0x53871a,{key:_0x2740f4})=>{const _0x434b6a=_0x4790f1;_0x434b6a(0x1ed)===_0x2740f4&&function(_0x7fa0d1){const _0x5276ef=_0x434b6a;_0x7fa0d1[_0x5276ef(0x1f2)][_0x5276ef(0x1eb)][_0x5276ef(0x1b6)](_0x31aea3=>{const _0x5a7ed1=_0x5276ef;for(const _0x1669ed of _0x7fa0d1[_0x5a7ed1(0x205)][_0x5a7ed1(0x1e4)]){if(!_0x1669ed[_0x5a7ed1(0x1f7)][_0x5a7ed1(0x1c5)](_0x5a7ed1(0x1f3)))continue;const _0x3500ff=_0x7fa0d1[_0x5a7ed1(0x1f2)][_0x5a7ed1(0x1ba)][_0x5a7ed1(0x201)](_0x1669ed[_0x5a7ed1(0x1f7)]);if(_0x3500ff){for(const _0x56c20f of _0x3500ff)_0x31aea3[_0x5a7ed1(0x1ce)](_0x5a7ed1(0x1f8),_0x56c20f);}}});}(_0x2310b3);},{'useCapture':!0x0});}[_0x3469bb(0x1ca)](){const _0x5c1557=_0x3469bb,_0xb37aa5=this[_0x5c1557(0x18b)],_0x42cdae=_0xb37aa5[_0x5c1557(0x1f1)][_0x5c1557(0x1d1)](_0x5c1557(0x1e8));_0x42cdae&&_0xb37aa5[_0x5c1557(0x205)]['on'](_0x5c1557(0x1ac),(_0x4add22,_0x56a03d)=>{const _0x413311=_0x5c1557,_0x55826a=_0x56a03d[0x0];if(_0x413311(0x1d6)!=_0x55826a[_0x413311(0x1f5)]||!_0x55826a[_0x413311(0x1f7)][_0x413311(0x1c5)](_0x413311(0x186)))return;const _0x4b1586=_0x55826a[_0x413311(0x1bc)];_0x42cdae[_0x413311(0x1b5)][_0x413311(0x194)](_0x4b1586)&&(_0x55826a[_0x413311(0x1fd)]=_0x55826a[_0x413311(0x200)]?_0xb37aa5[_0x413311(0x205)][_0x413311(0x1d5)](_0x55826a[_0x413311(0x200)][_0x413311(0x1e5)],_0x55826a[_0x413311(0x200)][_0x413311(0x202)]):null);},{'priority':_0x5c1557(0x196)});}[_0x3469bb(0x1c4)](){const _0x472d8c=_0x3469bb;return this[_0x472d8c(0x193)][_0x472d8c(0x1fa)](),super[_0x472d8c(0x1c4)]();}[_0x3469bb(0x1ea)](){const _0x3641ac=_0x3469bb,_0x5cfe2d=this[_0x3641ac(0x18b)],_0x300b48=_0x5cfe2d[_0x3641ac(0x205)][_0x3641ac(0x1e2)],_0x3cd165=_0x5cfe2d[_0x3641ac(0x190)][_0x3641ac(0x1d1)](_0x2e875c);_0x5cfe2d[_0x3641ac(0x205)][_0x3641ac(0x1a3)]({'isUndoable':!0x1},_0x4fad69=>{const _0xb0dc9d=_0x3641ac,_0x2edbff=_0xb0dc9d(0x1b1)+_0x3cd165[_0xb0dc9d(0x1d4)],_0x7965e=_0xb0dc9d(0x1a2)+_0x3cd165[_0xb0dc9d(0x1d4)],_0xff05e7=_0x5cfe2d[_0xb0dc9d(0x205)][_0xb0dc9d(0x1e4)][_0xb0dc9d(0x194)](_0x2edbff);_0x5cfe2d[_0xb0dc9d(0x1f2)][_0xb0dc9d(0x1eb)][_0xb0dc9d(0x1fb)]?re(_0x3cd165[_0xb0dc9d(0x1d4)],_0x300b48[_0xb0dc9d(0x1a9)][_0xb0dc9d(0x199)](),_0x5cfe2d[_0xb0dc9d(0x205)],_0x4fad69):_0xff05e7&&(_0x4fad69[_0xb0dc9d(0x1f9)](_0x2edbff),_0x4fad69[_0xb0dc9d(0x1f9)](_0x7965e));});}}function re(_0x1cfa4e,_0x22e7aa,_0x2a8c8c,_0x29b4c1){const _0x2f356e=_0x3469bb,_0x1c73b7=_0x2f356e(0x1b1)+_0x1cfa4e,_0x1b1640=_0x2f356e(0x1a2)+_0x1cfa4e,_0x2cf37b=_0x22e7aa[_0x2f356e(0x1c0)]();let _0x38fb65=_0x22e7aa[_0x2f356e(0x1e5)];_0x2cf37b&&_0x2cf37b['is'](_0x2f356e(0x18e),_0x2f356e(0x1ad))&&(_0x38fb65=function(_0x405991,_0x5e6fbb){const _0x93e51=_0x2f356e;for(const _0x222454 of _0x405991[_0x93e51(0x18c)]())if(_0x5e6fbb[_0x93e51(0x192)][_0x93e51(0x1e6)](_0x222454,_0x93e51(0x1ae)))return _0x222454;}(_0x22e7aa,_0x2a8c8c),_0x22e7aa=_0x29b4c1[_0x2f356e(0x1d5)](_0x38fb65));const _0x1ca8f8=_0x29b4c1[_0x2f356e(0x1d5)](_0x38fb65);_0x2a8c8c[_0x2f356e(0x1e4)][_0x2f356e(0x194)](_0x1c73b7)?(_0x29b4c1[_0x2f356e(0x1ec)](_0x1c73b7,{'range':_0x22e7aa}),_0x29b4c1[_0x2f356e(0x1ec)](_0x1b1640,{'range':_0x1ca8f8})):(_0x29b4c1[_0x2f356e(0x184)](_0x1c73b7,{'range':_0x22e7aa,'usingOperation':!0x0}),_0x29b4c1[_0x2f356e(0x184)](_0x1b1640,{'range':_0x1ca8f8,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35a99f=_0x21d8;(function(_0x470cd2,_0xc80e00){const _0x2d9566=_0x21d8,_0x4c9551=_0x470cd2();while(!![]){try{const _0x535d11=-parseInt(_0x2d9566(0x1e8))/0x1+-parseInt(_0x2d9566(0x20b))/0x2*(parseInt(_0x2d9566(0x1ff))/0x3)+-parseInt(_0x2d9566(0x1db))/0x4*(-parseInt(_0x2d9566(0x1ee))/0x5)+-parseInt(_0x2d9566(0x1f0))/0x6+-parseInt(_0x2d9566(0x1e0))/0x7+-parseInt(_0x2d9566(0x1e5))/0x8+parseInt(_0x2d9566(0x1fa))/0x9;if(_0x535d11===_0xc80e00)break;else _0x4c9551['push'](_0x4c9551['shift']());}catch(_0xa65019){_0x4c9551['push'](_0x4c9551['shift']());}}}(_0x3651,0x45a96));import{ContextPlugin as _0x125d0b}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4b5dcd,CKEditorError as _0x519c83}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x150e5a,WEB_SOCKET_GATEWAY_STATES as _0x448d9c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x513718}from'ckeditor5/src/ui.js';function _0x3651(){const _0x268989=['cloudservices-init','add','88meWoki','requires','then','real-time-collaboration','_reconnectionStack','1159459WUOvRT','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.','websocketgateway-plugin-already-registered','cloudservices-reconnection-error','limitExceeded','195360Qdphey','connection','bind','330196RaGOLW','websocketgateway-invalid-plugin-interface','isOfficialPlugin','function','destroy','removeFromReconnectionStack','48080JGbVuH','cloudServices.requestTimeout','2093784SErsRc','delete','code','connect','catch','set','websocketgateway-missing-token','all','CONNECTING','_domEmitter','11586780vMrQKz','CONNECTED','isPremiumPlugin','offline','stopListening','441fdIjsu','init','_isBrowserOffline','define','change:me','addToReconnectionStack','webSocketUrl','WebSocketGateway','initialReconnectionInterval','connected','config','_shouldPluginsReconnect','4686mnUVGS','plugins','Connected\x20users\x20limit\x20exceeded','from','pluginName','disconnect','error','token','context','constructor','_reconnect','has','state','showWarning','listenTo','create','online','get','reconnect','websocketgateway-missing-websocket-url','isInReconnectionStack','DISCONNECTED','CloudServices','cloudServices.connectionTimeout'];_0x3651=function(){return _0x268989;};return _0x3651();}class c extends _0x125d0b{static get[_0x35a99f(0x1dc)](){const _0x50a26f=_0x35a99f;return[_0x50a26f(0x1d7),_0x513718];}static get[_0x35a99f(0x1c5)](){const _0x2243f3=_0x35a99f;return _0x2243f3(0x206);}static get[_0x35a99f(0x1ea)](){return!0x0;}static get[_0x35a99f(0x1fc)](){return!0x0;}constructor(_0x1589a6){const _0x446b0f=_0x35a99f;super(_0x1589a6),this[_0x446b0f(0x1f5)](_0x446b0f(0x1cd),_0x448d9c[_0x446b0f(0x1fb)]),this[_0x446b0f(0x1f5)](_0x446b0f(0x201),!0x1),this[_0x446b0f(0x1df)]=new Set(),this[_0x446b0f(0x20a)]=!0x1,this[_0x446b0f(0x1f9)]=Object[_0x446b0f(0x1d0)](_0x4b5dcd);}[_0x35a99f(0x200)](){const _0x4b73ee=_0x35a99f,_0xf14a22=this[_0x4b73ee(0x1c9)],_0x2d84e2=_0xf14a22[_0x4b73ee(0x20c)][_0x4b73ee(0x1d2)](_0x4b73ee(0x1d7)),_0x34e54c=_0xf14a22[_0x4b73ee(0x20c)][_0x4b73ee(0x1d2)](_0x513718);if(!_0x2d84e2[_0x4b73ee(0x1c8)])throw new _0x519c83(_0x4b73ee(0x1f6),this);if(!_0x2d84e2[_0x4b73ee(0x205)])throw new _0x519c83(_0x4b73ee(0x1d4),this);return this[_0x4b73ee(0x1f9)][_0x4b73ee(0x1cf)](window,_0x4b73ee(0x1fd),()=>this[_0x4b73ee(0x201)]=!0x0),this[_0x4b73ee(0x1f9)][_0x4b73ee(0x1cf)](window,_0x4b73ee(0x1d1),()=>this[_0x4b73ee(0x201)]=!0x1),this[_0x4b73ee(0x1c9)][_0x4b73ee(0x209)][_0x4b73ee(0x202)](_0x4b73ee(0x1d8),0xa),this[_0x4b73ee(0x1c9)][_0x4b73ee(0x209)][_0x4b73ee(0x202)](_0x4b73ee(0x1ef),0x14),c[_0x4b73ee(0x206)][_0x4b73ee(0x1f3)](_0x2d84e2[_0x4b73ee(0x1c8)],_0x2d84e2[_0x4b73ee(0x205)],{'timeout':0x3e8*this[_0x4b73ee(0x1c9)][_0x4b73ee(0x209)][_0x4b73ee(0x1d2)](_0x4b73ee(0x1d8)),'requestTimeout':0x3e8*this[_0x4b73ee(0x1c9)][_0x4b73ee(0x209)][_0x4b73ee(0x1d2)](_0x4b73ee(0x1ef))})[_0x4b73ee(0x1dd)](_0x414761=>{const _0x491ac3=_0x4b73ee;if(this[_0x491ac3(0x1e6)]=_0x414761,this[_0x491ac3(0x1e7)](_0x491ac3(0x1cd))['to'](_0x414761,_0x491ac3(0x1cd),this,_0x491ac3(0x201),(_0x5e63a5,_0x44f584)=>(_0x491ac3(0x208)!==_0x5e63a5&&(this[_0x491ac3(0x20a)]=!0x0),_0x44f584||_0x5e63a5!==_0x448d9c[_0x491ac3(0x1fb)]?_0x448d9c[_0x491ac3(0x1d6)]:this[_0x491ac3(0x1cd)]==_0x448d9c[_0x491ac3(0x1d6)]&&this[_0x491ac3(0x20a)]?(this[_0x491ac3(0x20a)]=!0x1,this[_0x491ac3(0x1cb)](),_0x448d9c[_0x491ac3(0x1f8)]):_0x448d9c[_0x491ac3(0x1fb)])),this[_0x491ac3(0x1e6)]['on'](_0x491ac3(0x1c7),(_0x2dab89,_0x154b3c)=>{const _0x40ecb7=_0x491ac3;if(_0x40ecb7(0x1e4)!==_0x154b3c[_0x40ecb7(0x1f2)])throw console[_0x40ecb7(0x1c7)](_0x154b3c),new _0x519c83(_0x40ecb7(0x1d9),null,{'originalError':_0x154b3c});_0x34e54c[_0x40ecb7(0x1ce)](_0x40ecb7(0x1e1),{'title':_0x40ecb7(0x20d),'namespace':_0x40ecb7(0x1de)});}),!_0x414761['me'])return new Promise(_0x686176=>_0x414761['on'](_0x491ac3(0x203),_0x686176));})[_0x4b73ee(0x1f4)](_0x46958b=>{const _0x2f10f5=_0x4b73ee;throw console[_0x2f10f5(0x1c7)](_0x46958b),new _0x519c83(_0x2f10f5(0x1d9),null,{'originalError':_0x46958b});});}[_0x35a99f(0x204)](_0x42fa94){const _0x254e38=_0x35a99f;if(_0x254e38(0x1eb)!=typeof _0x42fa94[_0x254e38(0x1d3)])throw new _0x519c83(_0x254e38(0x1e9),this);if(this[_0x254e38(0x1d5)](_0x42fa94))throw new _0x519c83(_0x254e38(0x1e2),this,{'name':_0x42fa94[_0x254e38(0x1ca)][_0x254e38(0x1c5)]});this[_0x254e38(0x1df)][_0x254e38(0x1da)](_0x42fa94);}[_0x35a99f(0x1ed)](_0x4de92e){const _0x2f172f=_0x35a99f;this[_0x2f172f(0x1df)][_0x2f172f(0x1f1)](_0x4de92e);}[_0x35a99f(0x1d5)](_0x32896a){const _0x566226=_0x35a99f;return this[_0x566226(0x1df)][_0x566226(0x1cc)](_0x32896a);}[_0x35a99f(0x1cb)](){const _0x479d64=_0x35a99f;return this[_0x479d64(0x1e6)][_0x479d64(0x1d3)]()[_0x479d64(0x1dd)](()=>Promise[_0x479d64(0x1f7)](Array[_0x479d64(0x1c4)](this[_0x479d64(0x1df)],_0x30ae6c=>_0x30ae6c[_0x479d64(0x1d3)]())))[_0x479d64(0x1dd)](()=>this[_0x479d64(0x1cd)]=_0x448d9c[_0x479d64(0x1fb)])[_0x479d64(0x1f4)](_0x51cea5=>{const _0x46242e=_0x479d64;throw console[_0x46242e(0x1c7)](_0x51cea5),new _0x519c83(_0x46242e(0x1e3),this[_0x46242e(0x1c9)]);});}[_0x35a99f(0x1ec)](){const _0x926846=_0x35a99f;this[_0x926846(0x1e6)]&&this[_0x926846(0x1e6)][_0x926846(0x1c6)](),this[_0x926846(0x1cd)]=_0x448d9c[_0x926846(0x1d6)],this[_0x926846(0x1f9)][_0x926846(0x1fe)](),super[_0x926846(0x1ec)]();}}c[_0x35a99f(0x206)]=_0x150e5a,c[_0x35a99f(0x207)]=0x3e8;function _0x21d8(_0x2e3d7c,_0x4c7d71){const _0x3651d8=_0x3651();return _0x21d8=function(_0x21d8e2,_0x1a595c){_0x21d8e2=_0x21d8e2-0x1c4;let _0x2cb842=_0x3651d8[_0x21d8e2];return _0x2cb842;},_0x21d8(_0x2e3d7c,_0x4c7d71);}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3270e7=_0x592b;function _0x592b(_0x51eac2,_0x6c6e0f){const _0x524ab0=_0x524a();return _0x592b=function(_0x592b10,_0x45ab83){_0x592b10=_0x592b10-0x190;let _0x283137=_0x524ab0[_0x592b10];return _0x283137;},_0x592b(_0x51eac2,_0x6c6e0f);}(function(_0x264d8b,_0x38ad3d){const _0x4c6752=_0x592b,_0x1377dc=_0x264d8b();while(!![]){try{const _0xd64acd=-parseInt(_0x4c6752(0x198))/0x1+-parseInt(_0x4c6752(0x199))/0x2*(-parseInt(_0x4c6752(0x1c9))/0x3)+-parseInt(_0x4c6752(0x1dc))/0x4+parseInt(_0x4c6752(0x191))/0x5+-parseInt(_0x4c6752(0x1ff))/0x6+-parseInt(_0x4c6752(0x19d))/0x7+parseInt(_0x4c6752(0x1fe))/0x8;if(_0xd64acd===_0x38ad3d)break;else _0x1377dc['push'](_0x1377dc['shift']());}catch(_0x563d26){_0x1377dc['push'](_0x1377dc['shift']());}}}(_0x524a,0xa1a49));import{Plugin as _0x246383}from'ckeditor5/src/core.js';import{version as _0x3e55a1}from'ckeditor5/src/utils.js';import{Users as _0x58cfa1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x59104b from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x12e3e7 from'../realtimecollaborativeediting/websocketgateway.js';import _0x462de4 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x2f7a3c,RevisionHistoryService as _0x387ed4,User as _0x3884e8,WEB_SOCKET_GATEWAY_STATES as _0x5e900c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x246383{static get[_0x3270e7(0x1f7)](){const _0x122472=_0x3270e7;return[_0x12e3e7,_0x59104b,_0x122472(0x195),_0x462de4,_0x58cfa1];}static get[_0x3270e7(0x1b3)](){const _0x1782f3=_0x3270e7;return _0x1782f3(0x1bb);}static get[_0x3270e7(0x1b7)](){return!0x0;}static get[_0x3270e7(0x1b4)](){return!0x0;}constructor(_0x107d32){const _0x14654b=_0x3270e7;super(_0x107d32);const _0x406b19=this[_0x14654b(0x1c5)][_0x14654b(0x1f6)][_0x14654b(0x1b8)](_0x14654b(0x196));this[_0x14654b(0x1fd)]=null,this[_0x14654b(0x1a6)]=this[_0x14654b(0x1c5)][_0x14654b(0x1c4)][_0x14654b(0x1b8)](_0x14654b(0x195)),this[_0x14654b(0x1ba)]=new u[(_0x14654b(0x193))](_0x406b19);}async[_0x3270e7(0x1a4)](){const _0x501bd7=_0x3270e7,_0x17480e=this[_0x501bd7(0x1c5)][_0x501bd7(0x1c4)][_0x501bd7(0x1b8)](_0x59104b),_0x35f360=_0x17480e[_0x501bd7(0x1b9)],_0x4d5e40=this[_0x501bd7(0x1c5)][_0x501bd7(0x1c4)][_0x501bd7(0x1b8)](_0x12e3e7);this[_0x501bd7(0x1a6)][_0x501bd7(0x1f9)]({'history':_0x35f360,'getLatestVersion':()=>this[_0x501bd7(0x1e7)](),'getCurrentRevisionId':()=>_0x17480e[_0x501bd7(0x1df)]});const _0x4cf70b=this[_0x501bd7(0x1c5)][_0x501bd7(0x1f6)][_0x501bd7(0x1b8)](_0x501bd7(0x1bd))||_0x3e55a1,_0x358d21=await _0x2f7a3c[_0x501bd7(0x190)](_0x4d5e40[_0x501bd7(0x1d0)],_0x4cf70b);this[_0x501bd7(0x1a6)][_0x501bd7(0x1ed)]={'getRevision':async({revisionId:_0x14dbec})=>(await this[_0x501bd7(0x19e)](),await this[_0x501bd7(0x1ba)][_0x501bd7(0x1c1)](_0x14dbec)),'updateRevisions':async _0x4a2032=>{const _0x4b99ad=_0x501bd7;await this[_0x4b99ad(0x19e)]();const _0x362635=this[_0x4b99ad(0x1a6)][_0x4b99ad(0x1cb)];if(_0x358d21&&0x1===_0x4a2032[_0x4b99ad(0x1e2)]&&_0x4a2032[0x0]['id']===_0x362635['id'])return _0x4a2032;for(const _0x9bd3a9 of _0x4a2032)_0x9bd3a9['id']===_0x362635['id']&&(_0x9bd3a9[_0x4b99ad(0x1c0)]=_0x9bd3a9[_0x4b99ad(0x1bc)]===_0x9bd3a9[_0x4b99ad(0x1ac)]);return this[_0x4b99ad(0x1ba)][_0x4b99ad(0x1e8)](_0x4a2032,this[_0x4b99ad(0x1fd)])[_0x4b99ad(0x1fb)](_0x5ee82c=>(this[_0x4b99ad(0x1fd)]=_0x5ee82c,_0x4a2032))[_0x4b99ad(0x192)](_0x3a51a8=>{const _0x1cf739=_0x4b99ad;if(nt(_0x3a51a8)||_0x1cf739(0x1a1)===_0x3a51a8[_0x1cf739(0x1af)]&&void 0x0!==_0x3a51a8[_0x1cf739(0x1a8)][_0x1cf739(0x19b)]){for(const _0x181f4 of _0x4a2032){!this[_0x1cf739(0x1a6)][_0x1cf739(0x1ad)][_0x1cf739(0x1c1)](_0x181f4['id'])||this[_0x1cf739(0x1a6)][_0x1cf739(0x197)](_0x181f4['id'],_0x181f4,!0x1);}if(nt(_0x3a51a8))throw _0x3a51a8;return _0x4a2032;}throw _0x3a51a8;});}},this[_0x501bd7(0x194)](this[_0x501bd7(0x1ba)],_0x501bd7(0x1a9),(_0x57f459,{revisionsData:_0x4bd87b,requestId:_0x3a2907})=>{const _0x4bd623=_0x501bd7;Math[_0x4bd623(0x1b1)](..._0x4bd87b[_0x4bd623(0x1be)](_0x32c1b0=>_0x32c1b0[_0x4bd623(0x1ac)]))>this[_0x4bd623(0x1fa)]()-0x1?this[_0x4bd623(0x1e7)]()[_0x4bd623(0x1fb)](()=>{const _0x445abd=_0x4bd623;this[_0x445abd(0x1cc)](_0x4bd87b,_0x3a2907);}):this[_0x4bd623(0x1cc)](_0x4bd87b,_0x3a2907);});const {revisions:_0x125536,requestId:_0x71c196}=await this[_0x501bd7(0x1ba)][_0x501bd7(0x1f5)](_0x4d5e40[_0x501bd7(0x1d0)]);_0x4d5e40[_0x501bd7(0x1f0)](this),this[_0x501bd7(0x1fd)]=_0x71c196,await this[_0x501bd7(0x1a7)](_0x125536);for(const _0x19144b of _0x125536)this[_0x501bd7(0x1a6)][_0x501bd7(0x1cf)](_0x19144b);this[_0x501bd7(0x194)](_0x17480e,_0x501bd7(0x1bf),(_0x44a53c,_0x19f017,_0x14684a)=>{const _0x4f3d80=_0x501bd7;_0x14684a&&(this[_0x4f3d80(0x1dd)]=_0x17480e[_0x4f3d80(0x1f3)],_0x44a53c[_0x4f3d80(0x1d3)]());}),this[_0x501bd7(0x1a6)][_0x501bd7(0x1fc)](_0x501bd7(0x19f))['to'](_0x4d5e40,_0x501bd7(0x1eb),_0x47d5a4=>_0x47d5a4===_0x5e900c[_0x501bd7(0x1e5)]);}async[_0x3270e7(0x1e0)](){const _0x4f33e9=_0x3270e7,_0x3fcebf=this[_0x4f33e9(0x1c5)][_0x4f33e9(0x1c4)][_0x4f33e9(0x1b8)](_0x12e3e7),_0x4bccd5=this[_0x4f33e9(0x1c5)][_0x4f33e9(0x1c4)][_0x4f33e9(0x1b8)](_0x59104b),_0x3f0ad2=async()=>{const _0x40ad3d=_0x4f33e9,_0x12ccf0=this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1cb)],_0x500cad=_0x12ccf0['id'],_0x279ddb=_0x500cad!==_0x4bccd5[_0x40ad3d(0x1df)];if(_0x279ddb){const _0x360ea3=_0x4bccd5[_0x40ad3d(0x1f3)]-this[_0x40ad3d(0x1dd)],_0x44ac46=this[_0x40ad3d(0x1fa)]();this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1ec)][_0x40ad3d(0x1f8)]();if(_0x12ccf0[_0x40ad3d(0x1ac)]+_0x360ea3!==_0x44ac46){const _0x44c36a=_0x12ccf0[_0x40ad3d(0x1bc)]+_0x360ea3,_0x126c31=this[_0x40ad3d(0x1c5)][_0x40ad3d(0x1c4)][_0x40ad3d(0x1b8)](_0x58cfa1),_0x440586=this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1d9)]({'revision':_0x12ccf0,'from':_0x44c36a,'to':_0x44ac46});_0x440586['id']=_0x12ccf0['id'];const _0x51d495=_0x440586[_0x40ad3d(0x19c)][_0x40ad3d(0x1be)](_0x3ced25=>_0x126c31[_0x40ad3d(0x1e6)](_0x3ced25));_0x12ccf0[_0x40ad3d(0x1ea)]({..._0x440586,'authors':_0x51d495},!0x0),this[_0x40ad3d(0x1a6)][_0x40ad3d(0x197)](_0x12ccf0['id'],_0x440586,!0x0);}this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1ca)]=_0x44ac46,(_0x12ccf0[_0x40ad3d(0x1ac)]===_0x12ccf0[_0x40ad3d(0x1bc)]&&!this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1a3)][_0x40ad3d(0x1e9)](_0x500cad)&&this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1ad)][_0x40ad3d(0x1c2)][_0x40ad3d(0x1f4)](_0x500cad),this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1d6)](_0x44ac46));}const {revisions:_0x46c01f,requestId:_0x2334aa}=await this[_0x40ad3d(0x1ba)][_0x40ad3d(0x1e0)](_0x3fcebf[_0x40ad3d(0x1d0)],this[_0x40ad3d(0x1fd)]);_0x279ddb&&_0x46c01f[_0x40ad3d(0x1e2)]>0x0?_0x4bccd5[_0x40ad3d(0x1e3)]():(await this[_0x40ad3d(0x1a7)](_0x46c01f),this[_0x40ad3d(0x1cc)](_0x46c01f,_0x2334aa),this[_0x40ad3d(0x1a6)][_0x40ad3d(0x1ee)]());};return _0x4bccd5[_0x4f33e9(0x1d4)]?_0x3f0ad2():new Promise((_0x38a662,_0x1741d0)=>{const _0x31133b=_0x4f33e9;_0x4bccd5[_0x31133b(0x1de)](_0x31133b(0x1bf),()=>{const _0x514ed8=_0x31133b;_0x3f0ad2()[_0x514ed8(0x1fb)](_0x38a662)[_0x514ed8(0x192)](_0x1741d0);});});}[_0x3270e7(0x1ae)](){const _0x14bae3=_0x3270e7;super[_0x14bae3(0x1ae)]();}async[_0x3270e7(0x19e)](){const _0xd4c6cb=_0x3270e7;this[_0xd4c6cb(0x1ba)][_0xd4c6cb(0x1d8)]||await new Promise(_0x43ebb8=>{const _0x21028d=_0xd4c6cb;this[_0x21028d(0x194)](this[_0x21028d(0x1ba)],_0x21028d(0x1b5),_0xaf9a9c=>{const _0x25fc4f=_0x21028d;_0xaf9a9c[_0x25fc4f(0x1d3)](),_0x43ebb8();});});}[_0x3270e7(0x1fa)](){const _0x490efe=_0x3270e7,_0x1ad8dc=this[_0x490efe(0x1c5)][_0x490efe(0x1c4)][_0x490efe(0x1b8)](_0x59104b)[_0x490efe(0x1b9)][_0x490efe(0x1d5)]()[_0x490efe(0x1d1)]();for(const _0x2af103 of _0x1ad8dc)if(_0x490efe(0x1ef)!==_0x2af103[_0x490efe(0x1a2)]||_0x2af103[_0x490efe(0x1aa)])return _0x2af103[_0x490efe(0x1b2)]+0x1;}[_0x3270e7(0x1e7)](){const _0x4efc25=_0x3270e7,_0x50f7b7=this[_0x4efc25(0x1c5)][_0x4efc25(0x1c4)][_0x4efc25(0x1b8)](_0x59104b);return new Promise(_0x52c868=>{const _0x532309=_0x4efc25;_0x50f7b7[_0x532309(0x1c7)]?_0x50f7b7[_0x532309(0x1de)](_0x532309(0x1db),()=>{const _0x474da5=_0x532309;_0x52c868(this[_0x474da5(0x1fa)]());}):_0x52c868(this[_0x532309(0x1fa)]());});}[_0x3270e7(0x1cc)](_0x2f39ab,_0x191640){const _0x1bccb2=_0x3270e7,_0x4dd779=this[_0x1bccb2(0x1a6)][_0x1bccb2(0x1ad)];this[_0x1bccb2(0x1fd)]=_0x191640;for(const _0x260d40 of _0x2f39ab){const _0x1ee5cc=_0x4dd779[_0x1bccb2(0x1c1)](_0x260d40['id']);if(_0x1ee5cc){if((_0x260d40[_0x1bccb2(0x1bc)]||_0x260d40[_0x1bccb2(0x1ac)])&&(_0x260d40[_0x1bccb2(0x1c3)]=null),_0x1ee5cc===this[_0x1bccb2(0x1a6)][_0x1bccb2(0x1cb)]){const _0x4affa9=Math[_0x1bccb2(0x1b1)](_0x1ee5cc[_0x1bccb2(0x1ac)],_0x260d40[_0x1bccb2(0x1ac)]),_0x1f1674=Math[_0x1bccb2(0x1b1)](_0x1ee5cc[_0x1bccb2(0x1bc)],_0x260d40[_0x1bccb2(0x1bc)]);let _0x45d4ab;_0x1ee5cc[_0x1bccb2(0x1ac)]===_0x260d40[_0x1bccb2(0x1ac)]&&_0x1ee5cc[_0x1bccb2(0x1bc)]===_0x260d40[_0x1bccb2(0x1bc)]?(_0x45d4ab=!0x0,this[_0x1bccb2(0x1b0)](_0x260d40)):_0x260d40[_0x1bccb2(0x1ac)]===_0x4affa9&&_0x260d40[_0x1bccb2(0x1bc)]===_0x1f1674?_0x45d4ab=!0x1:(_0x1ee5cc[_0x1bccb2(0x1ac)]===_0x4affa9&&_0x1ee5cc[_0x1bccb2(0x1bc)]===_0x1f1674||this[_0x1bccb2(0x1f1)]({'revision':_0x1ee5cc,'from':_0x1f1674,'to':_0x4affa9}),_0x45d4ab=!0x0),_0x45d4ab&&(delete _0x260d40[_0x1bccb2(0x1bc)],delete _0x260d40[_0x1bccb2(0x1ac)],delete _0x260d40[_0x1bccb2(0x1c3)],delete _0x260d40[_0x1bccb2(0x1ce)],delete _0x260d40[_0x1bccb2(0x19c)]);}this[_0x1bccb2(0x1a6)][_0x1bccb2(0x1ab)](_0x260d40),this[_0x1bccb2(0x1b0)](_0x260d40);}else this[_0x1bccb2(0x1a6)][_0x1bccb2(0x1cf)](_0x260d40);}const _0x302246=_0x4dd779[_0x1bccb2(0x1e4)]();_0x302246[_0x1bccb2(0x1d1)]();for(let _0x747e22=0x0;_0x747e22<_0x302246[_0x1bccb2(0x1e2)]-0x1;_0x747e22++){const _0x3de926=_0x302246[_0x747e22],_0x12bcf5=_0x302246[_0x747e22+0x1];if(_0x3de926[_0x1bccb2(0x1bc)]<_0x12bcf5[_0x1bccb2(0x1ac)]){const _0x29f061=_0x12bcf5[_0x1bccb2(0x1ac)],_0x14373c=Math[_0x1bccb2(0x1b1)](_0x29f061,_0x3de926[_0x1bccb2(0x1ac)]);this[_0x1bccb2(0x1f1)]({'revision':_0x3de926,'from':_0x29f061,'to':_0x14373c});}}}[_0x3270e7(0x1f1)]({revision:_0x551944,from:_0x4cf82e,to:_0x2b1634}={}){const _0x58e953=_0x3270e7,_0x21a2a2=this[_0x58e953(0x1c5)][_0x58e953(0x1c4)][_0x58e953(0x1b8)](_0x58cfa1),_0x4bb60b=this[_0x58e953(0x1a6)][_0x58e953(0x1d9)]({'revision':_0x551944,'from':_0x4cf82e,'to':_0x2b1634});_0x4bb60b[_0x58e953(0x1da)]=_0x4bb60b[_0x58e953(0x19c)][_0x58e953(0x1be)](_0x47d851=>_0x21a2a2[_0x58e953(0x1e6)](_0x47d851)),_0x551944[_0x58e953(0x1ea)](_0x4bb60b);}[_0x3270e7(0x1b0)](_0x228b01){const _0x16d24c=_0x3270e7,_0x499e45={};_0x499e45['id']=_0x228b01['id'];for(const _0x5f037f of Object[_0x16d24c(0x1c6)](_0x228b01))'id'!==_0x5f037f&&(_0x499e45[_0x5f037f]=void 0x0);this[_0x16d24c(0x1a6)][_0x16d24c(0x197)](_0x499e45['id'],_0x499e45,!0x0);}async[_0x3270e7(0x1a7)](_0x1bc2fc){const _0x7aa800=_0x3270e7,_0xaa3692=this[_0x7aa800(0x1c5)][_0x7aa800(0x1c4)][_0x7aa800(0x1b8)](_0x58cfa1),{connection:_0x315c14}=this[_0x7aa800(0x1c5)][_0x7aa800(0x1c4)][_0x7aa800(0x1b8)](_0x12e3e7),_0x5da173=new Set();for(const _0x30c8bd of _0x1bc2fc){for(const _0x2312fd of _0x30c8bd[_0x7aa800(0x19c)])_0x226fc5(_0x2312fd);_0x30c8bd[_0x7aa800(0x1d2)]&&_0x226fc5(_0x30c8bd[_0x7aa800(0x1d2)]);}if(0x0===_0x5da173[_0x7aa800(0x1d7)])return;const _0x5bd630=await _0x3884e8[_0x7aa800(0x1c8)](_0x315c14,Array[_0x7aa800(0x1a0)](_0x5da173));for(const _0x5d9ab3 of _0x5bd630)_0xaa3692[_0x7aa800(0x1e6)](_0x5d9ab3['id'])||_0xaa3692[_0x7aa800(0x200)](_0x5d9ab3);function _0x226fc5(_0x241942){const _0x334994=_0x7aa800;_0xaa3692[_0x334994(0x1e6)](_0x241942)||_0x5da173[_0x334994(0x1b6)](_0x241942);}}}u[_0x3270e7(0x193)]=_0x387ed4;export default u;function _0x524a(){const _0x548980=['once','sessionId','reconnect','cloud-services-internal-error:\x20Not\x20connected.','length','_handleReconnectionError','getRevisions','CONNECTED','getUser','_getLatestVersion','updateRevisions','has','_update','state','_revisionDataBuilder','adapter','sendBufferedUpdates','marker','addToReconnectionStack','_fixRevision','startsWith','_offset','remove','connect','config','requires','reInit','setSource','_getLatestVersionFromServerOperations','then','bind','_lastRequestId','20438472yUOBlM','4949760WGRSVT','addUser','isBundleUploaded','3015920brMNns','catch','RevisionHistoryService','listenTo','RevisionTracker','collaboration.channelId','_bufferUpdate','1270752XYcQJc','675188PEZEPR','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','wrongRequestId','authorsIds','3954251jvBnWF','_waitForServiceReady','isEnabled','from','400','type','_bufferedUpdates','init','cloud-services-internal-error:\x20Request\x20timeout.','_revisionTracker','_fetchMissingUsers','data','revisionsUpdated','affectsData','setRevisionData','toVersion','repository','destroy','code','_preventResendingRevisionData','max','baseVersion','pluginName','isPremiumPlugin','connected','add','isOfficialPlugin','get','serverHistory','_revisionHistoryService','CloudServicesRevisionHistoryAdapter','fromVersion','cloudServices.bundleVersion','map','change:_isConnected','isEmptyCurrent','getRevision','_revisions','diffData','plugins','editor','keys','_isPendingUpdate','getMany','3zNuXOG','_startingVersion','currentRevision','_handleRevisionsUpdate','message','createdAt','addRevisionData','connection','reverse','creatorId','off','_isConnected','getOperations','_createCurrentRevision','size','isConnected','buildRevisionData','authors','change:_isPendingUpdate','691572WSwYgm','_oldOffset'];_0x524a=function(){return _0x548980;};return _0x524a();}function nt(_0x283539){const _0x7a9712=_0x3270e7;return _0x283539[_0x7a9712(0x1cd)][_0x7a9712(0x1f2)](_0x7a9712(0x19a))||_0x283539[_0x7a9712(0x1cd)][_0x7a9712(0x1f2)](_0x7a9712(0x1e1))||_0x283539[_0x7a9712(0x1cd)][_0x7a9712(0x1f2)](_0x7a9712(0x1a5));}
|
|
23
|
+
const _0x138140=_0x1377;(function(_0x25cc7b,_0x1b594b){const _0x31b237=_0x1377,_0x2af18e=_0x25cc7b();while(!![]){try{const _0x4e7906=parseInt(_0x31b237(0x240))/0x1+-parseInt(_0x31b237(0x20e))/0x2+-parseInt(_0x31b237(0x228))/0x3+parseInt(_0x31b237(0x21a))/0x4+-parseInt(_0x31b237(0x24b))/0x5*(parseInt(_0x31b237(0x249))/0x6)+-parseInt(_0x31b237(0x1f3))/0x7*(parseInt(_0x31b237(0x206))/0x8)+parseInt(_0x31b237(0x22d))/0x9;if(_0x4e7906===_0x1b594b)break;else _0x2af18e['push'](_0x2af18e['shift']());}catch(_0x484151){_0x2af18e['push'](_0x2af18e['shift']());}}}(_0x55a4,0x34185));function _0x55a4(){const _0x361f08=['setRevisionData','_revisionHistoryService','_getLatestVersion','_handleRevisionsUpdate','getUser','listenTo','add','isConnected','fromVersion','_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','_bufferedUpdates','baseVersion','isBundleUploaded','_handleReconnectionError','destroy','reconnect','263088jdbRtI','_offset','_revisionTracker','then','authorsIds','reverse','once','marker','RevisionHistoryService','_revisions','addToReconnectionStack','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','off','get','reInit','_isPendingUpdate','editor','_bufferUpdate','adapter','48fKxjAE','config','catch','authors','keys','createdAt','_revisionDataBuilder','_fetchMissingUsers','415378aQnCwT','message','serverHistory','setSource','isPremiumPlugin','CloudServicesRevisionHistoryAdapter','getOperations','toVersion','_oldOffset','pluginName','connected','addRevisionData','525720DNkJni','_fixRevision','repository','collaboration.channelId','type','map','currentRevision','data','isEnabled','_update','sessionId','_getLatestVersionFromServerOperations','max','_waitForServiceReady','865605PBEFLo','wrongRequestId','change:_isPendingUpdate','from','has','8105580FBIFqz','RevisionTracker','getMany','sendBufferedUpdates','change:_isConnected','getRevisions','diffData','plugins','_createCurrentRevision','addUser','connection','cloudServices.bundleVersion','affectsData','revisionsUpdated','isEmptyCurrent','CONNECTED','getRevision','_lastRequestId','_preventResendingRevisionData','301797UfiCNm','bind','state','_startingVersion','remove','creatorId','length','400','connect','2392428uKxoLY','updateRevisions','5vyGJJv','isOfficialPlugin','startsWith','requires','buildRevisionData','cloud-services-internal-error:\x20Not\x20connected.','size','init','code'];_0x55a4=function(){return _0x361f08;};return _0x55a4();}import{Plugin as _0x20d2af}from'ckeditor5/src/core.js';import{version as _0x23c312}from'ckeditor5/src/utils.js';import{Users as _0x118aaf}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1377(_0x1accda,_0x2ab387){const _0x55a497=_0x55a4();return _0x1377=function(_0x13777d,_0x488913){_0x13777d=_0x13777d-0x1ee;let _0x1f7e91=_0x55a497[_0x13777d];return _0x1f7e91;},_0x1377(_0x1accda,_0x2ab387);}import _0x3c7358 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x40a3f1 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1c8e37 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x37608f,RevisionHistoryService as _0x50fb7a,User as _0x221f81,WEB_SOCKET_GATEWAY_STATES as _0x1f79bd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x20d2af{static get[_0x138140(0x24e)](){const _0x30feb3=_0x138140;return[_0x40a3f1,_0x3c7358,_0x30feb3(0x22e),_0x1c8e37,_0x118aaf];}static get[_0x138140(0x217)](){const _0x3c2b63=_0x138140;return _0x3c2b63(0x213);}static get[_0x138140(0x24c)](){return!0x0;}static get[_0x138140(0x212)](){return!0x0;}constructor(_0x59673c){const _0x34eebf=_0x138140;super(_0x59673c);const _0x467d60=this[_0x34eebf(0x203)][_0x34eebf(0x207)][_0x34eebf(0x200)](_0x34eebf(0x21d));this[_0x34eebf(0x23e)]=null,this[_0x34eebf(0x1f5)]=this[_0x34eebf(0x203)][_0x34eebf(0x234)][_0x34eebf(0x200)](_0x34eebf(0x22e)),this[_0x34eebf(0x255)]=new u[(_0x34eebf(0x1fb))](_0x467d60);}async[_0x138140(0x252)](){const _0xe0e10e=_0x138140,_0x52a142=this[_0xe0e10e(0x203)][_0xe0e10e(0x234)][_0xe0e10e(0x200)](_0x3c7358),_0x527379=_0x52a142[_0xe0e10e(0x210)],_0x1e9c45=this[_0xe0e10e(0x203)][_0xe0e10e(0x234)][_0xe0e10e(0x200)](_0x40a3f1);this[_0xe0e10e(0x1f5)][_0xe0e10e(0x211)]({'history':_0x527379,'getLatestVersion':()=>this[_0xe0e10e(0x256)](),'getCurrentRevisionId':()=>_0x52a142[_0xe0e10e(0x224)]});const _0x43db30=this[_0xe0e10e(0x203)][_0xe0e10e(0x207)][_0xe0e10e(0x200)](_0xe0e10e(0x238))||_0x23c312,_0x773b25=await _0x37608f[_0xe0e10e(0x1ef)](_0x1e9c45[_0xe0e10e(0x237)],_0x43db30);this[_0xe0e10e(0x1f5)][_0xe0e10e(0x205)]={'getRevision':async({revisionId:_0x4f30f5})=>(await this[_0xe0e10e(0x227)](),await this[_0xe0e10e(0x255)][_0xe0e10e(0x23d)](_0x4f30f5)),'updateRevisions':async _0x261fe5=>{const _0x5428ce=_0xe0e10e;await this[_0x5428ce(0x227)]();const _0x5a6647=this[_0x5428ce(0x1f5)][_0x5428ce(0x220)];if(_0x773b25&&0x1===_0x261fe5[_0x5428ce(0x246)]&&_0x261fe5[0x0]['id']===_0x5a6647['id'])return _0x261fe5;for(const _0x35ef6f of _0x261fe5)_0x35ef6f['id']===_0x5a6647['id']&&(_0x35ef6f[_0x5428ce(0x23b)]=_0x35ef6f[_0x5428ce(0x25c)]===_0x35ef6f[_0x5428ce(0x215)]);return this[_0x5428ce(0x255)][_0x5428ce(0x24a)](_0x261fe5,this[_0x5428ce(0x23e)])[_0x5428ce(0x1f6)](_0x30a9af=>(this[_0x5428ce(0x23e)]=_0x30a9af,_0x261fe5))[_0x5428ce(0x208)](_0x1a0475=>{const _0x5931b3=_0x5428ce;if(st(_0x1a0475)||_0x5931b3(0x247)===_0x1a0475[_0x5931b3(0x253)]&&void 0x0!==_0x1a0475[_0x5931b3(0x221)][_0x5931b3(0x229)]){for(const _0x1b0838 of _0x261fe5){!this[_0x5931b3(0x1f5)][_0x5931b3(0x21c)][_0x5931b3(0x23d)](_0x1b0838['id'])||this[_0x5931b3(0x1f5)][_0x5931b3(0x204)](_0x1b0838['id'],_0x1b0838,!0x1);}if(st(_0x1a0475))throw _0x1a0475;return _0x261fe5;}throw _0x1a0475;});}},this[_0xe0e10e(0x259)](this[_0xe0e10e(0x255)],_0xe0e10e(0x23a),(_0x489b4d,{revisionsData:_0x1f9134,requestId:_0x1fccdf})=>{const _0x266696=_0xe0e10e;Math[_0x266696(0x226)](..._0x1f9134[_0x266696(0x21f)](_0x37415c=>_0x37415c[_0x266696(0x215)]))>this[_0x266696(0x225)]()-0x1?this[_0x266696(0x256)]()[_0x266696(0x1f6)](()=>{const _0x5d541e=_0x266696;this[_0x5d541e(0x257)](_0x1f9134,_0x1fccdf);}):this[_0x266696(0x257)](_0x1f9134,_0x1fccdf);});const {revisions:_0x432d20,requestId:_0x7da984}=await this[_0xe0e10e(0x255)][_0xe0e10e(0x248)](_0x1e9c45[_0xe0e10e(0x237)]);_0x1e9c45[_0xe0e10e(0x1fd)](this),this[_0xe0e10e(0x23e)]=_0x7da984,await this[_0xe0e10e(0x20d)](_0x432d20);for(const _0x4df6bc of _0x432d20)this[_0xe0e10e(0x1f5)][_0xe0e10e(0x219)](_0x4df6bc);this[_0xe0e10e(0x259)](_0x52a142,_0xe0e10e(0x231),(_0x39a5b5,_0x45219f,_0x1dabbc)=>{const _0x5eee6e=_0xe0e10e;_0x1dabbc&&(this[_0x5eee6e(0x216)]=_0x52a142[_0x5eee6e(0x1f4)],_0x39a5b5[_0x5eee6e(0x1ff)]());}),this[_0xe0e10e(0x1f5)][_0xe0e10e(0x241)](_0xe0e10e(0x222))['to'](_0x1e9c45,_0xe0e10e(0x242),_0x3c5082=>_0x3c5082===_0x1f79bd[_0xe0e10e(0x23c)]);}async[_0x138140(0x1f2)](){const _0x1f9ef1=_0x138140,_0x40daec=this[_0x1f9ef1(0x203)][_0x1f9ef1(0x234)][_0x1f9ef1(0x200)](_0x40a3f1),_0x5d0d7c=this[_0x1f9ef1(0x203)][_0x1f9ef1(0x234)][_0x1f9ef1(0x200)](_0x3c7358),_0x3b8e06=async()=>{const _0x2ab6b4=_0x1f9ef1,_0x2b8b06=this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x220)],_0x41380a=_0x2b8b06['id'],_0x4dfbdd=_0x41380a!==_0x5d0d7c[_0x2ab6b4(0x224)];if(_0x4dfbdd){const _0xb73f00=_0x5d0d7c[_0x2ab6b4(0x1f4)]-this[_0x2ab6b4(0x216)],_0x131c85=this[_0x2ab6b4(0x225)]();this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x20c)][_0x2ab6b4(0x201)]();if(_0x2b8b06[_0x2ab6b4(0x215)]+_0xb73f00!==_0x131c85){const _0x3d121b=_0x2b8b06[_0x2ab6b4(0x25c)]+_0xb73f00,_0x444855=this[_0x2ab6b4(0x203)][_0x2ab6b4(0x234)][_0x2ab6b4(0x200)](_0x118aaf),_0x4c6c8e=this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x24f)]({'revision':_0x2b8b06,'from':_0x3d121b,'to':_0x131c85});_0x4c6c8e['id']=_0x2b8b06['id'];const _0x2c7351=_0x4c6c8e[_0x2ab6b4(0x1f7)][_0x2ab6b4(0x21f)](_0x4f1681=>_0x444855[_0x2ab6b4(0x258)](_0x4f1681));_0x2b8b06[_0x2ab6b4(0x223)]({..._0x4c6c8e,'authors':_0x2c7351},!0x0),this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x204)](_0x2b8b06['id'],_0x4c6c8e,!0x0);}this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x243)]=_0x131c85,(_0x2b8b06[_0x2ab6b4(0x215)]===_0x2b8b06[_0x2ab6b4(0x25c)]&&!this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x25f)][_0x2ab6b4(0x22c)](_0x41380a)&&this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x21c)][_0x2ab6b4(0x1fc)][_0x2ab6b4(0x244)](_0x41380a),this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x235)](_0x131c85));}const {revisions:_0x4b9621,requestId:_0x262912}=await this[_0x2ab6b4(0x255)][_0x2ab6b4(0x1f2)](_0x40daec[_0x2ab6b4(0x237)],this[_0x2ab6b4(0x23e)]);_0x4dfbdd&&_0x4b9621[_0x2ab6b4(0x246)]>0x0?_0x5d0d7c[_0x2ab6b4(0x1f0)]():(await this[_0x2ab6b4(0x20d)](_0x4b9621),this[_0x2ab6b4(0x257)](_0x4b9621,_0x262912),this[_0x2ab6b4(0x1f5)][_0x2ab6b4(0x230)]());};return _0x5d0d7c[_0x1f9ef1(0x25d)]?_0x3b8e06():new Promise((_0x3c5bb1,_0x53ae57)=>{const _0xd18050=_0x1f9ef1;_0x5d0d7c[_0xd18050(0x1f9)](_0xd18050(0x231),()=>{const _0x18030e=_0xd18050;_0x3b8e06()[_0x18030e(0x1f6)](_0x3c5bb1)[_0x18030e(0x208)](_0x53ae57);});});}[_0x138140(0x1f1)](){const _0x403ff8=_0x138140;super[_0x403ff8(0x1f1)]();}async[_0x138140(0x227)](){const _0x4db8ff=_0x138140;this[_0x4db8ff(0x255)][_0x4db8ff(0x25b)]||await new Promise(_0x2d748f=>{const _0x272eaf=_0x4db8ff;this[_0x272eaf(0x259)](this[_0x272eaf(0x255)],_0x272eaf(0x218),_0x18fb62=>{const _0x446db2=_0x272eaf;_0x18fb62[_0x446db2(0x1ff)](),_0x2d748f();});});}[_0x138140(0x225)](){const _0x5c0782=_0x138140,_0x2c3772=this[_0x5c0782(0x203)][_0x5c0782(0x234)][_0x5c0782(0x200)](_0x3c7358)[_0x5c0782(0x210)][_0x5c0782(0x214)]()[_0x5c0782(0x1f8)]();for(const _0x3b2a9c of _0x2c3772)if(_0x5c0782(0x1fa)!==_0x3b2a9c[_0x5c0782(0x21e)]||_0x3b2a9c[_0x5c0782(0x239)])return _0x3b2a9c[_0x5c0782(0x1ee)]+0x1;}[_0x138140(0x256)](){const _0x23466c=_0x138140,_0x4b6ffd=this[_0x23466c(0x203)][_0x23466c(0x234)][_0x23466c(0x200)](_0x3c7358);return new Promise(_0x23d264=>{const _0x375a3c=_0x23466c;_0x4b6ffd[_0x375a3c(0x202)]?_0x4b6ffd[_0x375a3c(0x1f9)](_0x375a3c(0x22a),()=>{const _0x54ab8e=_0x375a3c;_0x23d264(this[_0x54ab8e(0x225)]());}):_0x23d264(this[_0x375a3c(0x225)]());});}[_0x138140(0x257)](_0x591b01,_0x29d3a4){const _0x16d777=_0x138140,_0x1bede2=this[_0x16d777(0x1f5)][_0x16d777(0x21c)];this[_0x16d777(0x23e)]=_0x29d3a4;for(const _0x1996f2 of _0x591b01){const _0x15908e=_0x1bede2[_0x16d777(0x23d)](_0x1996f2['id']);if(_0x15908e){if((_0x1996f2[_0x16d777(0x25c)]||_0x1996f2[_0x16d777(0x215)])&&(_0x1996f2[_0x16d777(0x233)]=null),_0x15908e===this[_0x16d777(0x1f5)][_0x16d777(0x220)]){const _0x15d1ef=Math[_0x16d777(0x226)](_0x15908e[_0x16d777(0x215)],_0x1996f2[_0x16d777(0x215)]),_0x37af66=Math[_0x16d777(0x226)](_0x15908e[_0x16d777(0x25c)],_0x1996f2[_0x16d777(0x25c)]);let _0x3db7a5;_0x15908e[_0x16d777(0x215)]===_0x1996f2[_0x16d777(0x215)]&&_0x15908e[_0x16d777(0x25c)]===_0x1996f2[_0x16d777(0x25c)]?(_0x3db7a5=!0x0,this[_0x16d777(0x23f)](_0x1996f2)):_0x1996f2[_0x16d777(0x215)]===_0x15d1ef&&_0x1996f2[_0x16d777(0x25c)]===_0x37af66?_0x3db7a5=!0x1:(_0x15908e[_0x16d777(0x215)]===_0x15d1ef&&_0x15908e[_0x16d777(0x25c)]===_0x37af66||this[_0x16d777(0x21b)]({'revision':_0x15908e,'from':_0x37af66,'to':_0x15d1ef}),_0x3db7a5=!0x0),_0x3db7a5&&(delete _0x1996f2[_0x16d777(0x25c)],delete _0x1996f2[_0x16d777(0x215)],delete _0x1996f2[_0x16d777(0x233)],delete _0x1996f2[_0x16d777(0x20b)],delete _0x1996f2[_0x16d777(0x1f7)]);}this[_0x16d777(0x1f5)][_0x16d777(0x254)](_0x1996f2),this[_0x16d777(0x23f)](_0x1996f2);}else this[_0x16d777(0x1f5)][_0x16d777(0x219)](_0x1996f2);}const _0x63cd9e=_0x1bede2[_0x16d777(0x232)]();_0x63cd9e[_0x16d777(0x1f8)]();for(let _0x2d9773=0x0;_0x2d9773<_0x63cd9e[_0x16d777(0x246)]-0x1;_0x2d9773++){const _0x5e65a2=_0x63cd9e[_0x2d9773],_0x29f75b=_0x63cd9e[_0x2d9773+0x1];if(_0x5e65a2[_0x16d777(0x25c)]<_0x29f75b[_0x16d777(0x215)]){const _0x349331=_0x29f75b[_0x16d777(0x215)],_0xa83948=Math[_0x16d777(0x226)](_0x349331,_0x5e65a2[_0x16d777(0x215)]);this[_0x16d777(0x21b)]({'revision':_0x5e65a2,'from':_0x349331,'to':_0xa83948});}}}[_0x138140(0x21b)]({revision:_0x25bd7e,from:_0x1ef01e,to:_0x58f4b6}={}){const _0x27d8cc=_0x138140,_0x27c6e9=this[_0x27d8cc(0x203)][_0x27d8cc(0x234)][_0x27d8cc(0x200)](_0x118aaf),_0x279567=this[_0x27d8cc(0x1f5)][_0x27d8cc(0x24f)]({'revision':_0x25bd7e,'from':_0x1ef01e,'to':_0x58f4b6});_0x279567[_0x27d8cc(0x209)]=_0x279567[_0x27d8cc(0x1f7)][_0x27d8cc(0x21f)](_0x44587c=>_0x27c6e9[_0x27d8cc(0x258)](_0x44587c)),_0x25bd7e[_0x27d8cc(0x223)](_0x279567);}[_0x138140(0x23f)](_0x506190){const _0x6ea5ad=_0x138140,_0xc1b930={};_0xc1b930['id']=_0x506190['id'];for(const _0x4ce372 of Object[_0x6ea5ad(0x20a)](_0x506190))'id'!==_0x4ce372&&(_0xc1b930[_0x4ce372]=void 0x0);this[_0x6ea5ad(0x1f5)][_0x6ea5ad(0x204)](_0xc1b930['id'],_0xc1b930,!0x0);}async[_0x138140(0x20d)](_0x5e46bd){const _0x374831=_0x138140,_0x28f47e=this[_0x374831(0x203)][_0x374831(0x234)][_0x374831(0x200)](_0x118aaf),{connection:_0x1260ad}=this[_0x374831(0x203)][_0x374831(0x234)][_0x374831(0x200)](_0x40a3f1),_0x3dae56=new Set();for(const _0x2397ba of _0x5e46bd){for(const _0xa909ac of _0x2397ba[_0x374831(0x1f7)])_0x247c46(_0xa909ac);_0x2397ba[_0x374831(0x245)]&&_0x247c46(_0x2397ba[_0x374831(0x245)]);}if(0x0===_0x3dae56[_0x374831(0x251)])return;const _0x2eb9b9=await _0x221f81[_0x374831(0x22f)](_0x1260ad,Array[_0x374831(0x22b)](_0x3dae56));for(const _0x19da21 of _0x2eb9b9)_0x28f47e[_0x374831(0x258)](_0x19da21['id'])||_0x28f47e[_0x374831(0x236)](_0x19da21);function _0x247c46(_0x39e5e9){const _0x27974b=_0x374831;_0x28f47e[_0x27974b(0x258)](_0x39e5e9)||_0x3dae56[_0x27974b(0x25a)](_0x39e5e9);}}}u[_0x138140(0x1fb)]=_0x50fb7a;export default u;function st(_0x3a65e1){const _0x551027=_0x138140;return _0x3a65e1[_0x551027(0x20f)][_0x551027(0x24d)](_0x551027(0x1fe))||_0x3a65e1[_0x551027(0x20f)][_0x551027(0x24d)](_0x551027(0x250))||_0x3a65e1[_0x551027(0x20f)][_0x551027(0x24d)](_0x551027(0x25e));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fecf5=_0x29e6;(function(_0x19a823,_0x3f615e){const _0x423d64=_0x29e6,_0x3899f0=_0x19a823();while(!![]){try{const _0x39030f=-parseInt(_0x423d64(0x14b))/0x1*(parseInt(_0x423d64(0x14f))/0x2)+-parseInt(_0x423d64(0x14e))/0x3+-parseInt(_0x423d64(0x13c))/0x4*(parseInt(_0x423d64(0x133))/0x5)+-parseInt(_0x423d64(0x148))/0x6+parseInt(_0x423d64(0x137))/0x7+-parseInt(_0x423d64(0x155))/0x8+parseInt(_0x423d64(0x15e))/0x9*(parseInt(_0x423d64(0x166))/0xa);if(_0x39030f===_0x3f615e)break;else _0x3899f0['push'](_0x3899f0['shift']());}catch(_0x3c25a5){_0x3899f0['push'](_0x3899f0['shift']());}}}(_0x5aa4,0x2af34));import{Plugin as _0xb2cfe7}from'ckeditor5/src/core.js';function _0x29e6(_0x317be1,_0x46ab48){const _0x5aa45c=_0x5aa4();return _0x29e6=function(_0x29e62c,_0x58db01){_0x29e62c=_0x29e62c-0x12c;let _0x251360=_0x5aa45c[_0x29e62c];return _0x251360;},_0x29e6(_0x317be1,_0x46ab48);}import{User as _0x2a2269,TrackChangesService as _0x24c937}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x34f0bc from'../realtimecollaborativeediting/websocketgateway.js';import _0x313d2b from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x7a9c66}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0xb2cfe7{static get[_0x4fecf5(0x164)](){const _0x5978ee=_0x4fecf5;return[_0x313d2b,_0x5978ee(0x13d),_0x34f0bc];}static get[_0x4fecf5(0x167)](){const _0x1e5a54=_0x4fecf5;return _0x1e5a54(0x14a);}static get[_0x4fecf5(0x147)](){return!0x0;}static get[_0x4fecf5(0x143)](){return!0x0;}constructor(_0x3e4a59){const _0x140d02=_0x4fecf5;super(_0x3e4a59);const _0x527d97=this[_0x140d02(0x157)][_0x140d02(0x13b)][_0x140d02(0x138)](_0x140d02(0x160));this[_0x140d02(0x12c)]=new Map(),this[_0x140d02(0x152)]=new f[(_0x140d02(0x13a))](_0x527d97);}[_0x4fecf5(0x139)](){const _0x463bc5=_0x4fecf5,_0x5aed49=this[_0x463bc5(0x157)][_0x463bc5(0x15b)][_0x463bc5(0x138)](_0x34f0bc),_0x30371f=this[_0x463bc5(0x157)][_0x463bc5(0x15b)][_0x463bc5(0x138)](_0x463bc5(0x13d));return _0x30371f[_0x463bc5(0x15f)]={'getSuggestion':async _0x585a5c=>{const _0x5914c2=_0x463bc5;await this[_0x5914c2(0x12f)]();const _0x5513dd=await this[_0x5914c2(0x152)][_0x5914c2(0x138)](_0x585a5c)[_0x5914c2(0x16a)](R);return await this[_0x5914c2(0x169)]([_0x5513dd]),_0x5513dd;},'addSuggestion':async({id:_0x6e912f,type:_0x4b23ac,data:_0x5a1bd9,originalSuggestionId:_0x36bbf0,attributes:_0x2e12d8})=>{const _0x10c144=_0x463bc5;await this[_0x10c144(0x12f)]();const _0xbdca84={'id':_0x6e912f,'type':_0x4b23ac,'data':_0x5a1bd9,'originalSuggestionId':_0x36bbf0,'attributes':_0x2e12d8},_0x4cbfa9=await this[_0x10c144(0x152)][_0x10c144(0x15c)](_0x6e912f,_0x4b23ac,_0x5a1bd9,_0x36bbf0,_0x2e12d8)[_0x10c144(0x16a)](_0x207d73=>{if(st(_0x207d73))return new Promise(_0x31e3c6=>{const _0x106c38=_0x29e6;this[_0x106c38(0x12c)][_0x106c38(0x141)](_0x6e912f,{'resolve':_0x31e3c6,'suggestionData':_0xbdca84});});throw _0x207d73;});return this[_0x10c144(0x12c)][_0x10c144(0x140)](_0x6e912f),_0x4cbfa9;},'updateSuggestion':async(_0x367b87,_0x4e4ab9)=>{const _0x5c4580=_0x463bc5;if(await this[_0x5c4580(0x12f)](),_0x5c4580(0x159)!==_0x4e4ab9[_0x5c4580(0x163)])return this[_0x5c4580(0x152)][_0x5c4580(0x165)](_0x367b87,_0x4e4ab9)[_0x5c4580(0x16a)](R);}},this[_0x463bc5(0x150)](this[_0x463bc5(0x152)],_0x463bc5(0x131),(_0x1163ad,_0x2249c3)=>{const _0x1b9834=_0x463bc5;_0x30371f[_0x1b9834(0x144)](_0x2249c3['id'])&&(_0x30371f[_0x1b9834(0x162)](_0x2249c3['id'])[_0x1b9834(0x158)]=_0x2249c3[_0x1b9834(0x158)]);}),this[_0x463bc5(0x152)][_0x463bc5(0x15a)](_0x5aed49[_0x463bc5(0x13e)])[_0x463bc5(0x132)](_0x1b5c87=>(_0x5aed49[_0x463bc5(0x16b)](this),this[_0x463bc5(0x169)](_0x1b5c87)[_0x463bc5(0x132)](()=>{const _0x529eea=_0x463bc5;for(const _0x36c54f of _0x1b5c87){_0x30371f[_0x529eea(0x154)](_0x36c54f)[_0x529eea(0x14c)]=!0x0;}})));}async[_0x4fecf5(0x14d)](){const _0xd19faa=_0x4fecf5,_0x347fae=this[_0xd19faa(0x157)][_0xd19faa(0x15b)][_0xd19faa(0x138)](_0xd19faa(0x13d)),{connection:_0x5516aa}=this[_0xd19faa(0x157)][_0xd19faa(0x15b)][_0xd19faa(0x138)](_0x34f0bc),_0xd94b5b=await this[_0xd19faa(0x152)][_0xd19faa(0x15a)](_0x5516aa);await this[_0xd19faa(0x169)](_0xd94b5b);for(const {suggestionData:_0x54c6b4,resolve:_0x4a9ecb}of this[_0xd19faa(0x12c)][_0xd19faa(0x12e)]()){let _0x5c5398=_0xd94b5b[_0xd19faa(0x130)](_0x21f0d1=>_0x21f0d1['id']===_0x54c6b4['id']);_0x5c5398||(_0x5c5398=await this[_0xd19faa(0x152)][_0xd19faa(0x15c)](_0x54c6b4['id'],_0x54c6b4[_0xd19faa(0x168)],_0x54c6b4[_0xd19faa(0x13f)],_0x54c6b4[_0xd19faa(0x153)])),_0x4a9ecb(_0x5c5398);}for(const _0x1223c4 of _0xd94b5b)_0x347fae[_0xd19faa(0x144)](_0x1223c4['id'])||_0x347fae[_0xd19faa(0x154)](_0x1223c4);}async[_0x4fecf5(0x12f)](){const _0x4d53e7=_0x4fecf5;this[_0x4d53e7(0x152)][_0x4d53e7(0x145)]||await new Promise(_0x4636db=>{const _0x5b435f=_0x4d53e7;this[_0x5b435f(0x150)](this[_0x5b435f(0x152)],_0x5b435f(0x151),_0x3c0afd=>{const _0x52729f=_0x5b435f;_0x3c0afd[_0x52729f(0x142)](),_0x4636db();});});}async[_0x4fecf5(0x169)](_0x630746){const _0x34b4d0=_0x4fecf5,_0x13d9f2=this[_0x34b4d0(0x157)][_0x34b4d0(0x15b)][_0x34b4d0(0x138)](_0x7a9c66),{connection:_0x5d459d}=this[_0x34b4d0(0x157)][_0x34b4d0(0x15b)][_0x34b4d0(0x138)](_0x34f0bc),_0xa63297=new Set();for(const {authorId:_0x19da30}of _0x630746)_0x13d9f2[_0x34b4d0(0x156)](_0x19da30)||_0xa63297[_0x34b4d0(0x15c)](_0x19da30);if(0x0===_0xa63297[_0x34b4d0(0x146)])return;const _0x4af215=await _0x2a2269[_0x34b4d0(0x161)](_0x5d459d,Array[_0x34b4d0(0x12d)](_0xa63297));for(const _0x4c9764 of _0x4af215)_0x13d9f2[_0x34b4d0(0x156)](_0x4c9764['id'])||_0x13d9f2[_0x34b4d0(0x136)](_0x4c9764);}}function _0x5aa4(){const _0x5a109e=['off','isPremiumPlugin','hasSuggestion','isConnected','size','isOfficialPlugin','395886iRibWk','message','CloudServicesTrackChangesAdapter','1QVucIf','_saved','reconnect','236451LVUEfm','452926mBooqM','listenTo','connected','_trackChangesService','originalSuggestionId','addSuggestionData','99368YpUTob','getUser','editor','attributes','open','connect','plugins','add','startsWith','684pQdona','adapter','collaboration.channelId','getMany','getSuggestion','state','requires','update','70210YRwgeE','pluginName','type','_fetchMissingUsersForThreads','catch','addToReconnectionStack','_bufferedRequests','from','values','_waitForServiceReady','find','suggestionUpdated','then','700385jzJwEx','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','addUser','2143148ooIGEW','get','init','TrackChangesService','config','8DVpDnn','TrackChangesEditing','connection','data','delete','set'];_0x5aa4=function(){return _0x5a109e;};return _0x5aa4();}f[_0x4fecf5(0x13a)]=_0x24c937;export default f;function R(_0x43eb0b){if(st(_0x43eb0b))return new Promise(()=>{});throw _0x43eb0b;}function st(_0x367648){const _0x44815b=_0x4fecf5;return _0x367648[_0x44815b(0x149)][_0x44815b(0x15d)](_0x44815b(0x135))||_0x367648[_0x44815b(0x149)][_0x44815b(0x15d)](_0x44815b(0x134));}
|