@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.3 → 47.3.0-alpha.5
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 +14 -14
- 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/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5aebb0=_0x37a9;function _0x37a9(_0x3b37a0,_0x3e299c){const _0x5c054d=_0x5c05();return _0x37a9=function(_0x37a91c,_0x3656a8){_0x37a91c=_0x37a91c-0x9e;let _0x4a20a5=_0x5c054d[_0x37a91c];return _0x4a20a5;},_0x37a9(_0x3b37a0,_0x3e299c);}(function(_0x49c8b7,_0x18e517){const _0x13f17c=_0x37a9,_0x28f940=_0x49c8b7();while(!![]){try{const _0x2afd55=-parseInt(_0x13f17c(0x11f))/0x1*(parseInt(_0x13f17c(0xe7))/0x2)+-parseInt(_0x13f17c(0x117))/0x3+-parseInt(_0x13f17c(0x126))/0x4+-parseInt(_0x13f17c(0xa2))/0x5+parseInt(_0x13f17c(0xb7))/0x6*(-parseInt(_0x13f17c(0x120))/0x7)+-parseInt(_0x13f17c(0x11d))/0x8*(-parseInt(_0x13f17c(0xd4))/0x9)+-parseInt(_0x13f17c(0xd1))/0xa*(-parseInt(_0x13f17c(0xff))/0xb);if(_0x2afd55===_0x18e517)break;else _0x28f940['push'](_0x28f940['shift']());}catch(_0x29c479){_0x28f940['push'](_0x28f940['shift']());}}}(_0x5c05,0xaca8f));import{Plugin as _0x3812dd}from'ckeditor5/src/core.js';import{global as _0x154994,DomEmitterMixin as _0x457143}from'ckeditor5/src/utils.js';import{Sessions as _0x36d535}from'./sessions.js';import{ModelLiveRange as _0x520673}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5c05(){const _0x2ae3fd=['mySessionId','conversion','createRange','addEventListener','Escape','$text','mouseleave','pluginName','deletionPosition','markers','enqueueChange','652395aPRpNN','toDomElement','get','orderNumber','outerHTML','removeMarker','8EIgGro','ck-user__marker_hovered','94tjJpNx','692153kMeNww','toRange','color','start','change:range','delete','4602584CqjDcC','editor','commands','highest','getAttribute','setAttribute','getMarkerClass','marker','5064260sXdJDM','isLimit','ck-user__marker\x20','span','tableCell','removeClass','UserMarkers','startsWith','clear','isObject','getSelectionClass','isPremiumPlugin','setCustomProperty','getFirstRange','markerToHighlight','getContainedElement','change','for','user:','editingDowncast','isSimilar','6SbBEli','addMarker','isCollapsed','getPositions','isOfficialPlugin','spellcheck','markerNameToElements','document','schema','detach','createUserMarkerOperations','plugins','user:range:','contenteditable','root','keydown','checkChild','afterInit','textContent','data-session-id','user:position:','listenTo','model','hasContent','classList','set','10311110LMhUqZ','add','_createdBatches','2877075ZZEpSe','element','fromRange','updateMarker','userPositionMarker','type','createUIElement','user:range','destroy','end','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','name','mouseenter','update:user:range','init','innerHTML','stopListening','reconvertMarker','render','26746MvlEav','markerName','isInline','batch','selection','rootName','requires','false','has','getNearestSelectionRange','mapper','ck-user__selection','size','view','remove','isDocumentOperation','applyOperation','_domEmitter','hasDomSelection','split','markerToElement','getUserBySessionId','getCustomProperty','nodeAfter','44qZEGLX','getRange','editing','getStart','parent','undo','$graveyard','oldRange','createElement','ck-user__marker-tooltip','user:position','newRange','markerRange'];_0x5c05=function(){return _0x2ae3fd;};return _0x5c05();}export class UserMarkers extends _0x3812dd{[_0x5aebb0(0xf8)]=new(_0x457143())();static get[_0x5aebb0(0xed)](){return[_0x36d535];}static get[_0x5aebb0(0x113)](){const _0x5e6be0=_0x5aebb0;return _0x5e6be0(0xa8);}static get[_0x5aebb0(0xbb)](){return!0x0;}static get[_0x5aebb0(0xad)](){return!0x0;}[_0x5aebb0(0xe2)](){const _0x5671ab=_0x5aebb0,_0x3748b7=this[_0x5671ab(0x127)],_0xb2f242=_0x3748b7[_0x5671ab(0xc2)][_0x5671ab(0x119)](_0x36d535);_0x3748b7[_0x5671ab(0x10d)][_0x5671ab(0xb3)](_0x5671ab(0xb5))[_0x5671ab(0xfb)]({'model':_0x5671ab(0x109),'view':(_0x52efdd,{writer:_0x72e3d})=>function(_0xaa02c4,_0x31c1e1,_0x52099a,_0x16da97){const _0x42c0d0=_0x5671ab,_0x4e3156=_0xaa02c4[_0x42c0d0(0xe8)][_0x42c0d0(0xfa)](':')[0x2],_0x882c17=_0x52099a[_0x42c0d0(0xfc)](_0x4e3156);if(!_0x882c17||_0x4e3156===_0x52099a[_0x42c0d0(0x10c)])return;if(!_0x16da97[_0x42c0d0(0xcd)][_0x42c0d0(0xbf)][_0x42c0d0(0xc7)](_0xaa02c4[_0x42c0d0(0x10b)][_0x42c0d0(0x123)],_0x42c0d0(0x111)))return;const _0x281b10={'class':_0x42c0d0(0xa4)+_0x882c17[_0x42c0d0(0x122)][_0x42c0d0(0xa0)](),'data-name':_0x882c17[_0x42c0d0(0xdf)],'data-session-id':_0x4e3156},_0x417b32=_0x16da97[_0x42c0d0(0xcd)][_0x42c0d0(0x115)][_0x42c0d0(0x119)](_0xaa02c4[_0x42c0d0(0xe8)]),_0x4f07c7=_0x417b32[_0x42c0d0(0x102)](),_0x1f5dce=_0x4f07c7[_0x42c0d0(0xfe)],_0x526a7e=_0x16da97[_0x42c0d0(0xcd)][_0x42c0d0(0xbf)];if(_0x1f5dce&&_0x526a7e[_0x42c0d0(0xab)](_0x1f5dce)&&_0x526a7e[_0x42c0d0(0xe9)](_0x1f5dce)&&!_0x16da97[_0x42c0d0(0xcd)][_0x42c0d0(0x115)][_0x42c0d0(0x119)](_0x42c0d0(0xc3)+_0x4e3156)[_0x42c0d0(0x100)]()[_0x42c0d0(0xb9)])return;const _0x393168=_0x4f07c7[_0x42c0d0(0x103)];return _0x16da97[_0x42c0d0(0xcd)][_0x42c0d0(0xbf)][_0x42c0d0(0xa3)](_0x393168)&&!_0x16da97[_0x42c0d0(0xcd)][_0x42c0d0(0xce)](_0x393168)&&(_0x281b10[_0x42c0d0(0xc4)]=!0x1),function(_0x3340ee,_0x16e1a7,_0x12cc22){const _0x35c436=_0x42c0d0,_0x550138=_0x3340ee[_0x35c436(0xda)](_0x35c436(0xa5),_0x16e1a7);return _0x3340ee[_0x35c436(0xae)](_0x35c436(0xd8),!0x0,_0x550138),_0x550138[_0x35c436(0xe6)]=function(_0x3f65c0){const _0x444de3=_0x35c436,_0xcea8fc=this[_0x444de3(0x118)](_0x3f65c0),_0x4a3074=document[_0x444de3(0x107)](_0x444de3(0xa5));return _0x4a3074[_0x444de3(0xcf)][_0x444de3(0xd2)](_0x444de3(0x108)),_0x4a3074[_0x444de3(0x9f)](_0x444de3(0xc4),_0x444de3(0xee)),_0x4a3074[_0x444de3(0x9f)](_0x444de3(0xbc),_0x444de3(0xee)),_0x4a3074[_0x444de3(0xc9)]=_0x12cc22[_0x444de3(0xdf)],_0xcea8fc[_0x444de3(0xe3)]=_0x444de3(0xde)+_0x4a3074[_0x444de3(0x11b)]+'',_0xcea8fc[_0x444de3(0x10f)](_0x444de3(0xe0),()=>{const _0x3a73da=_0x444de3;_0xcea8fc[_0x3a73da(0xcf)][_0x3a73da(0xd2)](_0x3a73da(0x11e));}),_0xcea8fc[_0x444de3(0x10f)](_0x444de3(0x112),()=>{const _0x49d190=_0x444de3;_0xcea8fc[_0x49d190(0xcf)][_0x49d190(0xf5)](_0x49d190(0x11e));}),_0xcea8fc;},_0x550138[_0x35c436(0xb6)]=function(_0x54cca3){const _0x59a494=_0x35c436;return!(!this[_0x59a494(0xfd)](_0x59a494(0xd8))||!_0x54cca3[_0x59a494(0xfd)](_0x59a494(0xd8))||this[_0x59a494(0x9e)](_0x59a494(0xca))!=_0x54cca3[_0x59a494(0x9e)](_0x59a494(0xca)));},_0x550138;}(_0x31c1e1,_0x281b10,_0x882c17);}(_0x52efdd,_0x72e3d,_0xb2f242,_0x3748b7)}),_0x3748b7[_0x5671ab(0x10d)][_0x5671ab(0xb3)](_0x5671ab(0xb5))[_0x5671ab(0xb0)]({'model':_0x5671ab(0xdb),'view':_0x44df68=>function(_0x5c2897,_0x2cacec){const _0x35af39=_0x5671ab,_0x32bb8f=_0x5c2897[_0x35af39(0xe8)][_0x35af39(0xfa)](':')[0x2];if(_0x32bb8f===_0x2cacec[_0x35af39(0x10c)])return null;const _0x47456c=_0x2cacec[_0x35af39(0xfc)](_0x32bb8f);if(!_0x47456c)return{'id':_0x32bb8f,'classes':[]};return{'id':_0x32bb8f,'classes':[_0x35af39(0xf2),_0x47456c[_0x35af39(0x122)][_0x35af39(0xac)]()],'attributes':{'data-session-id':_0x32bb8f},'priority':0x7d0+_0x47456c[_0x35af39(0x11a)]};}(_0x44df68,_0xb2f242)}),function(_0x36f406){const _0x49b8b7=_0x5671ab,_0x4798b0=_0x36f406[_0x49b8b7(0xcd)],_0x3668a3=new Map(),_0x506367=_0x36f406[_0x49b8b7(0xc2)][_0x49b8b7(0x119)](_0x36d535);_0x4798b0[_0x49b8b7(0x115)]['on'](_0x49b8b7(0xe1),(_0x5ba155,_0x92bde1,_0x553c75,_0x551f9d)=>{const _0x2a8017=_0x49b8b7;if(!_0x551f9d&&_0x3668a3[_0x2a8017(0x119)](_0x92bde1[_0x2a8017(0xdf)]))return _0x3668a3[_0x2a8017(0x119)](_0x92bde1[_0x2a8017(0xdf)])[_0x2a8017(0xc0)](),void _0x3668a3[_0x2a8017(0x125)](_0x92bde1[_0x2a8017(0xdf)]);const _0x599d48=_0x92bde1[_0x2a8017(0xdf)][_0x2a8017(0xfa)](':')[0x2];if(_0x599d48===_0x506367[_0x2a8017(0x10c)])return;const _0x28fa04=_0x2a8017(0xcb)+_0x599d48;_0x4798b0[_0x2a8017(0x115)][_0x2a8017(0xef)](_0x28fa04)&&_0x36f406[_0x2a8017(0x101)][_0x2a8017(0xe5)](_0x28fa04),_0x92bde1['on'](_0x2a8017(0x124),(_0x59731c,_0x286ca0,_0x1d48c5)=>{const _0x22a49a=_0x2a8017;if(_0x22a49a(0x105)!=_0x286ca0[_0x22a49a(0xc5)][_0x22a49a(0xec)]&&_0x22a49a(0x105)==_0x92bde1[_0x22a49a(0x100)]()[_0x22a49a(0xc5)][_0x22a49a(0xec)]&&!_0x3668a3[_0x22a49a(0xef)](_0x92bde1[_0x22a49a(0xdf)])){const _0x4b7d3e=_0x4798b0[_0x22a49a(0xbf)][_0x22a49a(0xf0)](_0x1d48c5[_0x22a49a(0x114)]);if(_0x4b7d3e){const _0x140108=_0x520673[_0x22a49a(0xd6)](_0x4b7d3e);_0x3668a3[_0x22a49a(0xd0)](_0x92bde1[_0x22a49a(0xdf)],_0x140108),_0x140108['on'](_0x22a49a(0x124),(_0x1fb48e,_0x329b4f,_0x1c92b2)=>{const _0x28a04a=_0x22a49a;if(_0x28a04a(0x105)==_0x140108[_0x28a04a(0xc5)][_0x28a04a(0xec)]){const _0x5408be=_0x4798b0[_0x28a04a(0xbf)][_0x28a04a(0xf0)](_0x1c92b2[_0x28a04a(0x114)]);_0x5408be?(_0x140108[_0x28a04a(0x123)]=_0x5408be[_0x28a04a(0x123)],_0x140108[_0x28a04a(0xdd)]=_0x5408be[_0x28a04a(0xdd)]):(_0x3668a3[_0x28a04a(0x125)](_0x92bde1[_0x28a04a(0xdf)]),_0x140108[_0x28a04a(0xc0)]());}});}}});}),_0x4798b0[_0x49b8b7(0xbe)]['on'](_0x49b8b7(0xb2),()=>{const _0x3224bb=_0x49b8b7;_0x3668a3[_0x3224bb(0xf3)]>0x0&&_0x4798b0[_0x3224bb(0x116)]({'isUndoable':!0x1},_0x6140a3=>{const _0x30646a=_0x3224bb;for(const [_0x2e4638,_0x2aa757]of _0x3668a3)_0x30646a(0x105)==_0x4798b0[_0x30646a(0x115)][_0x30646a(0x119)](_0x2e4638)[_0x30646a(0x100)]()[_0x30646a(0xc5)][_0x30646a(0xec)]&&(te(_0x2e4638[_0x30646a(0xfa)](':')[0x2],_0x2aa757[_0x30646a(0x121)](),_0x4798b0,_0x6140a3),_0x2aa757[_0x30646a(0xc0)]());_0x3668a3[_0x30646a(0xaa)]();});});}(_0x3748b7),this[_0x5671ab(0xf8)][_0x5671ab(0xcc)](_0x154994[_0x5671ab(0xbe)],_0x5671ab(0xc6),(_0x2cf104,{key:_0xa034f8})=>{const _0x15846c=_0x5671ab;_0x15846c(0x110)===_0xa034f8&&function(_0x5da0ab){const _0x5ccd3b=_0x15846c;_0x5da0ab[_0x5ccd3b(0x101)][_0x5ccd3b(0xf4)][_0x5ccd3b(0xb2)](_0x563798=>{const _0x2e6ac6=_0x5ccd3b;for(const _0x30b459 of _0x5da0ab[_0x2e6ac6(0xcd)][_0x2e6ac6(0x115)]){if(!_0x30b459[_0x2e6ac6(0xdf)][_0x2e6ac6(0xa9)](_0x2e6ac6(0x109)))continue;const _0x391964=_0x5da0ab[_0x2e6ac6(0x101)][_0x2e6ac6(0xf1)][_0x2e6ac6(0xbd)](_0x30b459[_0x2e6ac6(0xdf)]);if(_0x391964){for(const _0x55c514 of _0x391964)_0x563798[_0x2e6ac6(0xa7)](_0x2e6ac6(0x11e),_0x55c514);}}});}(_0x3748b7);},{'useCapture':!0x0});}[_0x5aebb0(0xc8)](){const _0x1cf308=_0x5aebb0,_0x4205fb=this[_0x1cf308(0x127)],_0x57672a=_0x4205fb[_0x1cf308(0x128)][_0x1cf308(0x119)](_0x1cf308(0x104));_0x57672a&&_0x4205fb[_0x1cf308(0xcd)]['on'](_0x1cf308(0xf7),(_0x34ae35,_0x4586f6)=>{const _0x4601fa=_0x1cf308,_0x49a443=_0x4586f6[0x0];if(!_0x49a443[_0x4601fa(0xf6)])return;if(_0x4601fa(0xa1)!=_0x49a443[_0x4601fa(0xd9)]||!_0x49a443[_0x4601fa(0xdf)][_0x4601fa(0xa9)](_0x4601fa(0xb4)))return;const _0x2e063a=_0x49a443[_0x4601fa(0xea)];_0x57672a[_0x4601fa(0xd3)][_0x4601fa(0xef)](_0x2e063a)&&(_0x49a443[_0x4601fa(0x10a)]=_0x49a443[_0x4601fa(0x106)]?_0x4205fb[_0x4601fa(0xcd)][_0x4601fa(0x10e)](_0x49a443[_0x4601fa(0x106)][_0x4601fa(0x123)],_0x49a443[_0x4601fa(0x106)][_0x4601fa(0xdd)]):null);},{'priority':_0x1cf308(0x129)});}[_0x5aebb0(0xdc)](){const _0x1a587d=_0x5aebb0;return this[_0x1a587d(0xf8)][_0x1a587d(0xe4)](),super[_0x1a587d(0xdc)]();}[_0x5aebb0(0xc1)](){const _0x18e133=_0x5aebb0,_0x2bb20d=this[_0x18e133(0x127)],_0x160aac=_0x2bb20d[_0x18e133(0xcd)][_0x18e133(0xbe)],_0x1b9719=_0x2bb20d[_0x18e133(0xc2)][_0x18e133(0x119)](_0x36d535);_0x2bb20d[_0x18e133(0xcd)][_0x18e133(0x116)]({'isUndoable':!0x1},_0x1a2340=>{const _0x165a7e=_0x18e133,_0x28f5b0=_0x165a7e(0xc3)+_0x1b9719[_0x165a7e(0x10c)],_0x28eaf0=_0x165a7e(0xcb)+_0x1b9719[_0x165a7e(0x10c)],_0x59e021=_0x2bb20d[_0x165a7e(0xcd)][_0x165a7e(0x115)][_0x165a7e(0xef)](_0x28f5b0);_0x2bb20d[_0x165a7e(0x101)][_0x165a7e(0xf4)][_0x165a7e(0xf9)]?te(_0x1b9719[_0x165a7e(0x10c)],_0x160aac[_0x165a7e(0xeb)][_0x165a7e(0xaf)](),_0x2bb20d[_0x165a7e(0xcd)],_0x1a2340):_0x59e021&&(_0x1a2340[_0x165a7e(0x11c)](_0x28f5b0),_0x1a2340[_0x165a7e(0x11c)](_0x28eaf0));});}}function te(_0x336692,_0x214806,_0x54852a,_0x2e9d44){const _0x3312a7=_0x5aebb0,_0x550f39=_0x3312a7(0xc3)+_0x336692,_0x38650f=_0x3312a7(0xcb)+_0x336692,_0x55b328=_0x214806[_0x3312a7(0xb1)]();let _0x16c7ce=_0x214806[_0x3312a7(0x123)];if(_0x55b328&&_0x55b328['is'](_0x3312a7(0xd5),_0x3312a7(0xa6))){const _0x3cfb74=function(_0x35e6ef,_0x2fa8c7){const _0x4d92b8=_0x3312a7;for(const _0x39c4b2 of _0x35e6ef[_0x4d92b8(0xba)]())if(_0x2fa8c7[_0x4d92b8(0xbf)][_0x4d92b8(0xc7)](_0x39c4b2,_0x4d92b8(0x111)))return _0x39c4b2;}(_0x214806,_0x54852a);_0x3cfb74&&(_0x16c7ce=_0x3cfb74,_0x214806=_0x2e9d44[_0x3312a7(0x10e)](_0x16c7ce));}const _0x3e2ef0=_0x2e9d44[_0x3312a7(0x10e)](_0x16c7ce);_0x54852a[_0x3312a7(0x115)][_0x3312a7(0xef)](_0x550f39)?(_0x2e9d44[_0x3312a7(0xd7)](_0x550f39,{'range':_0x214806}),_0x2e9d44[_0x3312a7(0xd7)](_0x38650f,{'range':_0x3e2ef0})):(_0x2e9d44[_0x3312a7(0xb8)](_0x550f39,{'range':_0x214806,'usingOperation':!0x0}),_0x2e9d44[_0x3312a7(0xb8)](_0x38650f,{'range':_0x3e2ef0,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x385907=_0x47f4;(function(_0x4a114b,_0x285272){const _0xddb5f9=_0x47f4,_0x21680c=_0x4a114b();while(!![]){try{const _0xc8b4e2=-parseInt(_0xddb5f9(0x1aa))/0x1*(parseInt(_0xddb5f9(0x1b5))/0x2)+-parseInt(_0xddb5f9(0x16f))/0x3*(parseInt(_0xddb5f9(0x1bc))/0x4)+-parseInt(_0xddb5f9(0x143))/0x5*(parseInt(_0xddb5f9(0x164))/0x6)+-parseInt(_0xddb5f9(0x193))/0x7+-parseInt(_0xddb5f9(0x16a))/0x8+parseInt(_0xddb5f9(0x1ab))/0x9+parseInt(_0xddb5f9(0x1a3))/0xa*(parseInt(_0xddb5f9(0x199))/0xb);if(_0xc8b4e2===_0x285272)break;else _0x21680c['push'](_0x21680c['shift']());}catch(_0x28470a){_0x21680c['push'](_0x21680c['shift']());}}}(_0xae7c,0x52513));function _0x47f4(_0x432574,_0x419641){const _0xae7c83=_0xae7c();return _0x47f4=function(_0x47f41f,_0x226219){_0x47f41f=_0x47f41f-0x141;let _0x27b1a1=_0xae7c83[_0x47f41f];return _0x27b1a1;},_0x47f4(_0x432574,_0x419641);}function _0xae7c(){const _0x59d271=['markers','undo','has','detach','isObject','nodeAfter','color','end','span','ck-user__marker\x20','mouseleave','change','fromRange','stopListening','isOfficialPlugin','rootName','start','getFirstRange','requires','parent','enqueueChange','schema','163902wTVZHf','spellcheck','remove','document','oldRange','isInline','3214696CLULIy','applyOperation','getNearestSelectionRange','userPositionMarker','change:range','94398AXpaWQ','_domEmitter','getContainedElement','getRange','plugins','UserMarkers','afterInit','getPositions','user:range:','render','markerName','startsWith','isDocumentOperation','marker','getMarkerClass','user:range','newRange','textContent','addEventListener','editing','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','tableCell','reconvertMarker','hasContent','user:','toDomElement','size','element','data-session-id','destroy','setAttribute','markerToElement','init','outerHTML','classList','root','2265949HrWyaR','ck-user__marker_hovered','getUserBySessionId','createElement','update:user:range','user:position:','7211006EygAgy','type','mySessionId','name','listenTo','delete','checkChild','hasDomSelection','split','createRange','20aShByu','isLimit','orderNumber','false','batch','removeClass','mapper','5irULHh','4150476aSKYlz','mouseenter','getStart','pluginName','getCustomProperty','markerNameToElements','toRange','Escape','isSimilar','_createdBatches','93082xXRhAi','setCustomProperty','addMarker','updateMarker','set','removeMarker','get','12MwxVCi','markerRange','isCollapsed','createUserMarkerOperations','clear','$graveyard','innerHTML','editor','for','getSelectionClass','ck-user__marker-tooltip','$text','contenteditable','isPremiumPlugin','editingDowncast','conversion','model','view','keydown','70EcwOhb','ck-user__selection','getAttribute','highest','add','selection','user:position','deletionPosition','createUIElement','markerToHighlight','commands'];_0xae7c=function(){return _0x59d271;};return _0xae7c();}import{Plugin as _0x10cea1}from'ckeditor5/src/core.js';import{global as _0x4a3b52,DomEmitterMixin as _0x5cbe43}from'ckeditor5/src/utils.js';import{Sessions as _0x46994d}from'./sessions.js';import{ModelLiveRange as _0x2ef08f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x10cea1{[_0x385907(0x170)]=new(_0x5cbe43())();static get[_0x385907(0x160)](){return[_0x46994d];}static get[_0x385907(0x1ae)](){const _0x618b64=_0x385907;return _0x618b64(0x174);}static get[_0x385907(0x15c)](){return!0x0;}static get[_0x385907(0x1c9)](){return!0x0;}[_0x385907(0x18f)](){const _0x1c0ce9=_0x385907,_0x423735=this[_0x1c0ce9(0x1c3)],_0x21da80=_0x423735[_0x1c0ce9(0x173)][_0x1c0ce9(0x1bb)](_0x46994d);_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x18e)]({'model':_0x1c0ce9(0x149),'view':(_0x3ad24e,{writer:_0x564150})=>function(_0x348738,_0x24404d,_0x5f3a0f,_0x4e4454){const _0x3fe490=_0x1c0ce9,_0x55b757=_0x348738[_0x3fe490(0x179)][_0x3fe490(0x1a1)](':')[0x2],_0x3aa47b=_0x5f3a0f[_0x3fe490(0x195)](_0x55b757);if(!_0x3aa47b||_0x55b757===_0x5f3a0f[_0x3fe490(0x19b)])return;if(!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x19f)](_0x348738[_0x3fe490(0x1bd)][_0x3fe490(0x15e)],_0x3fe490(0x1c7)))return;const _0xdaba2a={'class':_0x3fe490(0x157)+_0x3aa47b[_0x3fe490(0x154)][_0x3fe490(0x17d)](),'data-name':_0x3aa47b[_0x3fe490(0x19c)],'data-session-id':_0x55b757},_0x2b84a8=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x348738[_0x3fe490(0x179)]),_0x169fd6=_0x2b84a8[_0x3fe490(0x1ad)](),_0x203b40=_0x169fd6[_0x3fe490(0x153)],_0x4a4191=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)];if(_0x203b40&&_0x4a4191[_0x3fe490(0x152)](_0x203b40)&&_0x4a4191[_0x3fe490(0x169)](_0x203b40)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x3fe490(0x177)+_0x55b757)[_0x3fe490(0x172)]()[_0x3fe490(0x1be)])return;const _0x55457c=_0x169fd6[_0x3fe490(0x161)];return _0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x1a4)](_0x55457c)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x186)](_0x55457c)&&(_0xdaba2a[_0x3fe490(0x1c8)]=!0x1),function(_0xc36cf2,_0x91f814,_0x49cc65){const _0x1da163=_0x3fe490,_0x39edb4=_0xc36cf2[_0x1da163(0x14b)](_0x1da163(0x156),_0x91f814);return _0xc36cf2[_0x1da163(0x1b6)](_0x1da163(0x16d),!0x0,_0x39edb4),_0x39edb4[_0x1da163(0x178)]=function(_0x569aca){const _0x7b72af=_0x1da163,_0x1582c6=this[_0x7b72af(0x188)](_0x569aca),_0x39e0d5=document[_0x7b72af(0x196)](_0x7b72af(0x156));return _0x39e0d5[_0x7b72af(0x191)][_0x7b72af(0x147)](_0x7b72af(0x1c6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x1c8),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x165),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x180)]=_0x49cc65[_0x7b72af(0x19c)],_0x1582c6[_0x7b72af(0x1c2)]=_0x7b72af(0x183)+_0x39e0d5[_0x7b72af(0x190)]+'',_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x1ac),()=>{const _0xbe57dd=_0x7b72af;_0x1582c6[_0xbe57dd(0x191)][_0xbe57dd(0x147)](_0xbe57dd(0x194));}),_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x158),()=>{const _0x154581=_0x7b72af;_0x1582c6[_0x154581(0x191)][_0x154581(0x166)](_0x154581(0x194));}),_0x1582c6;},_0x39edb4[_0x1da163(0x1b3)]=function(_0x147636){const _0x9569e5=_0x1da163;return!(!this[_0x9569e5(0x1af)](_0x9569e5(0x16d))||!_0x147636[_0x9569e5(0x1af)](_0x9569e5(0x16d))||this[_0x9569e5(0x145)](_0x9569e5(0x18b))!=_0x147636[_0x9569e5(0x145)](_0x9569e5(0x18b)));},_0x39edb4;}(_0x24404d,_0xdaba2a,_0x3aa47b);}(_0x3ad24e,_0x564150,_0x21da80,_0x423735)}),_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x14c)]({'model':_0x1c0ce9(0x17e),'view':_0x246635=>function(_0x479f56,_0x4addeb){const _0x46ece2=_0x1c0ce9,_0x3fbb27=_0x479f56[_0x46ece2(0x179)][_0x46ece2(0x1a1)](':')[0x2];if(_0x3fbb27===_0x4addeb[_0x46ece2(0x19b)])return null;const _0x3a09ae=_0x4addeb[_0x46ece2(0x195)](_0x3fbb27);if(!_0x3a09ae)return{'id':_0x3fbb27,'classes':[]};return{'id':_0x3fbb27,'classes':[_0x46ece2(0x144),_0x3a09ae[_0x46ece2(0x154)][_0x46ece2(0x1c5)]()],'attributes':{'data-session-id':_0x3fbb27},'priority':0x7d0+_0x3a09ae[_0x46ece2(0x1a5)]};}(_0x246635,_0x21da80)}),function(_0x95f5a9){const _0x411803=_0x1c0ce9,_0x3c3036=_0x95f5a9[_0x411803(0x1cc)],_0x6d7c09=new Map(),_0x5ef537=_0x95f5a9[_0x411803(0x173)][_0x411803(0x1bb)](_0x46994d);_0x3c3036[_0x411803(0x14e)]['on'](_0x411803(0x197),(_0xa045da,_0x22170b,_0x20f199,_0x3256e8)=>{const _0xb91b2d=_0x411803;if(!_0x3256e8&&_0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)]))return _0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)])[_0xb91b2d(0x151)](),void _0x6d7c09[_0xb91b2d(0x19e)](_0x22170b[_0xb91b2d(0x19c)]);const _0x5e46e3=_0x22170b[_0xb91b2d(0x19c)][_0xb91b2d(0x1a1)](':')[0x2];if(_0x5e46e3===_0x5ef537[_0xb91b2d(0x19b)])return;const _0x4f9331=_0xb91b2d(0x198)+_0x5e46e3;_0x3c3036[_0xb91b2d(0x14e)][_0xb91b2d(0x150)](_0x4f9331)&&_0x95f5a9[_0xb91b2d(0x182)][_0xb91b2d(0x185)](_0x4f9331),_0x22170b['on'](_0xb91b2d(0x16e),(_0x289765,_0x439b82,_0x39f1e6)=>{const _0x54a5c3=_0xb91b2d;if(_0x54a5c3(0x1c1)!=_0x439b82[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&_0x54a5c3(0x1c1)==_0x22170b[_0x54a5c3(0x172)]()[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&!_0x6d7c09[_0x54a5c3(0x150)](_0x22170b[_0x54a5c3(0x19c)])){const _0x1b203f=_0x3c3036[_0x54a5c3(0x163)][_0x54a5c3(0x16c)](_0x39f1e6[_0x54a5c3(0x14a)]);if(_0x1b203f){const _0xfd6b39=_0x2ef08f[_0x54a5c3(0x15a)](_0x1b203f);_0x6d7c09[_0x54a5c3(0x1b9)](_0x22170b[_0x54a5c3(0x19c)],_0xfd6b39),_0xfd6b39['on'](_0x54a5c3(0x16e),(_0x47982e,_0x3e70c2,_0x44f07f)=>{const _0x5e1729=_0x54a5c3;if(_0x5e1729(0x1c1)==_0xfd6b39[_0x5e1729(0x192)][_0x5e1729(0x15d)]){const _0x14de9b=_0x3c3036[_0x5e1729(0x163)][_0x5e1729(0x16c)](_0x44f07f[_0x5e1729(0x14a)]);_0x14de9b?(_0xfd6b39[_0x5e1729(0x15e)]=_0x14de9b[_0x5e1729(0x15e)],_0xfd6b39[_0x5e1729(0x155)]=_0x14de9b[_0x5e1729(0x155)]):(_0x6d7c09[_0x5e1729(0x19e)](_0x22170b[_0x5e1729(0x19c)]),_0xfd6b39[_0x5e1729(0x151)]());}});}}});}),_0x3c3036[_0x411803(0x167)]['on'](_0x411803(0x159),()=>{const _0x5f1174=_0x411803;_0x6d7c09[_0x5f1174(0x189)]>0x0&&_0x3c3036[_0x5f1174(0x162)]({'isUndoable':!0x1},_0x3d9b6d=>{const _0x40ceeb=_0x5f1174;for(const [_0x20c4f4,_0xf52454]of _0x6d7c09)_0x40ceeb(0x1c1)==_0x3c3036[_0x40ceeb(0x14e)][_0x40ceeb(0x1bb)](_0x20c4f4)[_0x40ceeb(0x172)]()[_0x40ceeb(0x192)][_0x40ceeb(0x15d)]&&(J(_0x20c4f4[_0x40ceeb(0x1a1)](':')[0x2],_0xf52454[_0x40ceeb(0x1b1)](),_0x3c3036,_0x3d9b6d),_0xf52454[_0x40ceeb(0x151)]());_0x6d7c09[_0x40ceeb(0x1c0)]();});});}(_0x423735),this[_0x1c0ce9(0x170)][_0x1c0ce9(0x19d)](_0x4a3b52[_0x1c0ce9(0x167)],_0x1c0ce9(0x142),(_0x27d992,{key:_0x3679b5})=>{const _0xbb5683=_0x1c0ce9;_0xbb5683(0x1b2)===_0x3679b5&&function(_0x371a5e){const _0x1130a9=_0xbb5683;_0x371a5e[_0x1130a9(0x182)][_0x1130a9(0x141)][_0x1130a9(0x159)](_0x3ca263=>{const _0x583773=_0x1130a9;for(const _0x58e236 of _0x371a5e[_0x583773(0x1cc)][_0x583773(0x14e)]){if(!_0x58e236[_0x583773(0x19c)][_0x583773(0x17a)](_0x583773(0x149)))continue;const _0x13fe5e=_0x371a5e[_0x583773(0x182)][_0x583773(0x1a9)][_0x583773(0x1b0)](_0x58e236[_0x583773(0x19c)]);if(_0x13fe5e){for(const _0x48f77e of _0x13fe5e)_0x3ca263[_0x583773(0x1a8)](_0x583773(0x194),_0x48f77e);}}});}(_0x423735);},{'useCapture':!0x0});}[_0x385907(0x175)](){const _0x31a232=_0x385907,_0x207eba=this[_0x31a232(0x1c3)],_0x3e1b67=_0x207eba[_0x31a232(0x14d)][_0x31a232(0x1bb)](_0x31a232(0x14f));_0x3e1b67&&_0x207eba[_0x31a232(0x1cc)]['on'](_0x31a232(0x16b),(_0xddc74d,_0x265809)=>{const _0x34c8b1=_0x31a232,_0x3a018e=_0x265809[0x0];if(!_0x3a018e[_0x34c8b1(0x17b)])return;if(_0x34c8b1(0x17c)!=_0x3a018e[_0x34c8b1(0x19a)]||!_0x3a018e[_0x34c8b1(0x19c)][_0x34c8b1(0x17a)](_0x34c8b1(0x187)))return;const _0x1d830a=_0x3a018e[_0x34c8b1(0x1a7)];_0x3e1b67[_0x34c8b1(0x1b4)][_0x34c8b1(0x150)](_0x1d830a)&&(_0x3a018e[_0x34c8b1(0x17f)]=_0x3a018e[_0x34c8b1(0x168)]?_0x207eba[_0x34c8b1(0x1cc)][_0x34c8b1(0x1a2)](_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x15e)],_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x155)]):null);},{'priority':_0x31a232(0x146)});}[_0x385907(0x18c)](){const _0x543fcd=_0x385907;return this[_0x543fcd(0x170)][_0x543fcd(0x15b)](),super[_0x543fcd(0x18c)]();}[_0x385907(0x1bf)](){const _0x237b82=_0x385907,_0x4c7f63=this[_0x237b82(0x1c3)],_0x365e36=_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x167)],_0x427ffe=_0x4c7f63[_0x237b82(0x173)][_0x237b82(0x1bb)](_0x46994d);_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x162)]({'isUndoable':!0x1},_0x4f2286=>{const _0x13bbad=_0x237b82,_0x4e73a6=_0x13bbad(0x177)+_0x427ffe[_0x13bbad(0x19b)],_0x49b070=_0x13bbad(0x198)+_0x427ffe[_0x13bbad(0x19b)],_0xdd7743=_0x4c7f63[_0x13bbad(0x1cc)][_0x13bbad(0x14e)][_0x13bbad(0x150)](_0x4e73a6);_0x4c7f63[_0x13bbad(0x182)][_0x13bbad(0x141)][_0x13bbad(0x1a0)]?J(_0x427ffe[_0x13bbad(0x19b)],_0x365e36[_0x13bbad(0x148)][_0x13bbad(0x15f)](),_0x4c7f63[_0x13bbad(0x1cc)],_0x4f2286):_0xdd7743&&(_0x4f2286[_0x13bbad(0x1ba)](_0x4e73a6),_0x4f2286[_0x13bbad(0x1ba)](_0x49b070));});}}function J(_0x490596,_0x4c4cf4,_0xf6b81b,_0x1656dc){const _0x410a19=_0x385907,_0x1350dd=_0x410a19(0x177)+_0x490596,_0x36ac5c=_0x410a19(0x198)+_0x490596,_0x4d9919=_0x4c4cf4[_0x410a19(0x171)]();let _0x3ccfa3=_0x4c4cf4[_0x410a19(0x15e)];if(_0x4d9919&&_0x4d9919['is'](_0x410a19(0x18a),_0x410a19(0x184))){const _0x53bb50=function(_0x59f3c7,_0x241689){const _0x3040c9=_0x410a19;for(const _0x57d67b of _0x59f3c7[_0x3040c9(0x176)]())if(_0x241689[_0x3040c9(0x163)][_0x3040c9(0x19f)](_0x57d67b,_0x3040c9(0x1c7)))return _0x57d67b;}(_0x4c4cf4,_0xf6b81b);_0x53bb50&&(_0x3ccfa3=_0x53bb50,_0x4c4cf4=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3));}const _0x4a65ac=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3);_0xf6b81b[_0x410a19(0x14e)][_0x410a19(0x150)](_0x1350dd)?(_0x1656dc[_0x410a19(0x1b8)](_0x1350dd,{'range':_0x4c4cf4}),_0x1656dc[_0x410a19(0x1b8)](_0x36ac5c,{'range':_0x4a65ac})):(_0x1656dc[_0x410a19(0x1b7)](_0x1350dd,{'range':_0x4c4cf4,'usingOperation':!0x0}),_0x1656dc[_0x410a19(0x1b7)](_0x36ac5c,{'range':_0x4a65ac,'usingOperation':!0x0}));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x309514=_0x2f54;(function(_0x1ee080,_0x1dac40){const _0x208354=_0x2f54,_0x3a30b6=_0x1ee080();while(!![]){try{const _0x22590f=-parseInt(_0x208354(0x13c))/0x1*(parseInt(_0x208354(0x127))/0x2)+-parseInt(_0x208354(0x11e))/0x3+parseInt(_0x208354(0x126))/0x4*(parseInt(_0x208354(0x12f))/0x5)+-parseInt(_0x208354(0x111))/0x6*(-parseInt(_0x208354(0x125))/0x7)+-parseInt(_0x208354(0x103))/0x8+parseInt(_0x208354(0x144))/0x9+parseInt(_0x208354(0x101))/0xa*(-parseInt(_0x208354(0xfc))/0xb);if(_0x22590f===_0x1dac40)break;else _0x3a30b6['push'](_0x3a30b6['shift']());}catch(_0x4106fe){_0x3a30b6['push'](_0x3a30b6['shift']());}}}(_0x3a05,0x6f47c));import{ContextPlugin as _0x4e65e9}from'ckeditor5/src/core.js';function _0x3a05(){const _0x37ea7c=['connection','add','websocketgateway-invalid-plugin-interface','websocketgateway-missing-websocket-url','_domEmitter','plugins','isOfficialPlugin','685467bRzsDs','delete','showWarning','4465373FWOjGc','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','initialReconnectionInterval','cloudServices.connectionTimeout','10KdZmTl','requires','3492864dyjshq','has','cloudServices.requestTimeout','destroy','removeFromReconnectionStack','WebSocketGateway','reconnect','define','_reconnectionStack','real-time-collaboration','stopListening','state','_isBrowserOffline','isPremiumPlugin','5457822KjpTef','_shouldPluginsReconnect','connected','webSocketUrl','bind','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.','constructor','config','set','pluginName','listenTo','context','function','708909JEUMiG','disconnect','CONNECTED','addToReconnectionStack','error','websocketgateway-plugin-already-registered','connect','7DHWJXY','68DeOKWQ','2VsBoEK','get','code','CONNECTING','all','token','limitExceeded','change:me','211305IhKBeW','cloudservices-reconnection-error','CloudServices','isInReconnectionStack','online','catch','DISCONNECTED','_reconnect','from','then','offline','cloudservices-init','init','169579vDvKft'];_0x3a05=function(){return _0x37ea7c;};return _0x3a05();}function _0x2f54(_0x167410,_0x4c2a08){const _0x3a0587=_0x3a05();return _0x2f54=function(_0x2f54b9,_0x25a79a){_0x2f54b9=_0x2f54b9-0xfc;let _0x56a787=_0x3a0587[_0x2f54b9];return _0x56a787;},_0x2f54(_0x167410,_0x4c2a08);}import{DomEmitterMixin as _0x1000d0,CKEditorError as _0x1c4842}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3db81c,WEB_SOCKET_GATEWAY_STATES as _0x5640a4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1fc796}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4e65e9{static [_0x309514(0x108)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3db81c)());static [_0x309514(0xff)]=0x3e8;[_0x309514(0x13d)];[_0x309514(0x10b)];[_0x309514(0x112)];[_0x309514(0x141)];static get[_0x309514(0x102)](){const _0x48d0a2=_0x309514;return[_0x48d0a2(0x131),_0x1fc796];}static get[_0x309514(0x11a)](){const _0x58aaa1=_0x309514;return _0x58aaa1(0x108);}static get[_0x309514(0x143)](){return!0x0;}static get[_0x309514(0x110)](){return!0x0;}constructor(_0xe7eb05){const _0x4bcb37=_0x309514;super(_0xe7eb05),this[_0x4bcb37(0x119)](_0x4bcb37(0x10e),_0x5640a4[_0x4bcb37(0x120)]),this[_0x4bcb37(0x119)](_0x4bcb37(0x10f),!0x1),this[_0x4bcb37(0x10b)]=new Set(),this[_0x4bcb37(0x112)]=!0x1,this[_0x4bcb37(0x141)]=new(_0x1000d0())();}[_0x309514(0x13b)](){const _0x441330=_0x309514,_0x5e64b7=this[_0x441330(0x11c)],_0x36edc5=_0x5e64b7[_0x441330(0x142)][_0x441330(0x128)](_0x441330(0x131)),_0x1f9fb9=_0x5e64b7[_0x441330(0x142)][_0x441330(0x128)](_0x1fc796);if(!_0x36edc5[_0x441330(0x12c)])throw new _0x1c4842(_0x441330(0xfe),this);if(!_0x36edc5[_0x441330(0x114)])throw new _0x1c4842(_0x441330(0x140),this);return this[_0x441330(0x141)][_0x441330(0x11b)](window,_0x441330(0x139),()=>this[_0x441330(0x10f)]=!0x0),this[_0x441330(0x141)][_0x441330(0x11b)](window,_0x441330(0x133),()=>this[_0x441330(0x10f)]=!0x1),this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x10a)](_0x441330(0x100),0xa),this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x10a)](_0x441330(0x105),0x14),WebSocketGateway[_0x441330(0x108)][_0x441330(0x124)](_0x36edc5[_0x441330(0x12c)],_0x36edc5[_0x441330(0x114)],{'timeout':0x3e8*this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x128)](_0x441330(0x100)),'requestTimeout':0x3e8*this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x128)](_0x441330(0x105))})[_0x441330(0x138)](_0x2eaadf=>{const _0x1e2f88=_0x441330;if(this[_0x1e2f88(0x13d)]=_0x2eaadf,this[_0x1e2f88(0x115)](_0x1e2f88(0x10e))['to'](_0x2eaadf,_0x1e2f88(0x10e),this,_0x1e2f88(0x10f),(_0x5d92b9,_0x1c8d63)=>(_0x1e2f88(0x113)!==_0x5d92b9&&(this[_0x1e2f88(0x112)]=!0x0),_0x1c8d63||_0x5d92b9!==_0x5640a4[_0x1e2f88(0x120)]?_0x5640a4[_0x1e2f88(0x135)]:this[_0x1e2f88(0x10e)]==_0x5640a4[_0x1e2f88(0x135)]&&this[_0x1e2f88(0x112)]?(this[_0x1e2f88(0x112)]=!0x1,this[_0x1e2f88(0x136)](),_0x5640a4[_0x1e2f88(0x12a)]):_0x5640a4[_0x1e2f88(0x120)])),this[_0x1e2f88(0x13d)]['on'](_0x1e2f88(0x122),(_0x3e2dac,_0x91109e)=>{const _0x6dfe55=_0x1e2f88;if(_0x6dfe55(0x12d)!==_0x91109e[_0x6dfe55(0x129)])throw console[_0x6dfe55(0x122)](_0x91109e),new _0x1c4842(_0x6dfe55(0x13a),null,{'originalError':_0x91109e});_0x1f9fb9[_0x6dfe55(0x146)](_0x6dfe55(0x116),{'title':_0x6dfe55(0xfd),'namespace':_0x6dfe55(0x10c)});}),!_0x2eaadf['me'])return new Promise(_0x569077=>_0x2eaadf['on'](_0x1e2f88(0x12e),_0x569077));})[_0x441330(0x134)](_0xaaddf5=>{const _0x2307e8=_0x441330;throw console[_0x2307e8(0x122)](_0xaaddf5),new _0x1c4842(_0x2307e8(0x13a),null,{'originalError':_0xaaddf5});});}[_0x309514(0x121)](_0x3fa72e){const _0x53701a=_0x309514;if(_0x53701a(0x11d)!=typeof _0x3fa72e[_0x53701a(0x109)])throw new _0x1c4842(_0x53701a(0x13f),this);if(this[_0x53701a(0x132)](_0x3fa72e))throw new _0x1c4842(_0x53701a(0x123),this,{'name':_0x3fa72e[_0x53701a(0x117)][_0x53701a(0x11a)]});this[_0x53701a(0x10b)][_0x53701a(0x13e)](_0x3fa72e);}[_0x309514(0x107)](_0x48f3c1){const _0x5897bd=_0x309514;this[_0x5897bd(0x10b)][_0x5897bd(0x145)](_0x48f3c1);}[_0x309514(0x132)](_0x5b96e4){const _0x21ab10=_0x309514;return this[_0x21ab10(0x10b)][_0x21ab10(0x104)](_0x5b96e4);}[_0x309514(0x136)](){const _0x1a3516=_0x309514;return this[_0x1a3516(0x13d)][_0x1a3516(0x109)]()[_0x1a3516(0x138)](()=>Promise[_0x1a3516(0x12b)](Array[_0x1a3516(0x137)](this[_0x1a3516(0x10b)],_0x36c2a2=>_0x36c2a2[_0x1a3516(0x109)]())))[_0x1a3516(0x138)](()=>this[_0x1a3516(0x10e)]=_0x5640a4[_0x1a3516(0x120)])[_0x1a3516(0x134)](_0xb4d3c5=>{const _0x318571=_0x1a3516;throw console[_0x318571(0x122)](_0xb4d3c5),new _0x1c4842(_0x318571(0x130),this[_0x318571(0x11c)]);});}[_0x309514(0x11f)](){const _0x429eba=_0x309514;this[_0x429eba(0x13d)]&&this[_0x429eba(0x13d)][_0x429eba(0x11f)](),this[_0x429eba(0x10e)]=_0x5640a4[_0x429eba(0x135)],this[_0x429eba(0x141)][_0x429eba(0x10d)]();}[_0x309514(0x106)](){const _0x535834=_0x309514;this[_0x535834(0x11f)](),super[_0x535834(0x106)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x3ff0fc)());[_0x566b03(0x21d)];[_0x566b03(0x1fb)];[_0x566b03(0x1f3)];[_0x566b03(0x206)];static get[_0x566b03(0x223)](){const _0x374805=_0x566b03;return[_0x5831a1,_0xfa9573,_0x374805(0x1e2),_0x44326c,_0x4f063c];}static get[_0x566b03(0x1ce)](){const _0x22c400=_0x566b03;return _0x22c400(0x21a);}static get[_0x566b03(0x1e1)](){return!0x0;}static get[_0x566b03(0x20a)](){return!0x0;}constructor(_0x50b9f){const _0x1ce925=_0x566b03;super(_0x50b9f);const _0x10e8c6=this[_0x1ce925(0x1bf)][_0x1ce925(0x1e9)][_0x1ce925(0x1ba)](_0x1ce925(0x1f6));this[_0x1ce925(0x21d)]=null,this[_0x1ce925(0x1fb)]=this[_0x1ce925(0x1bf)][_0x1ce925(0x203)][_0x1ce925(0x1ba)](_0x1ce925(0x1e0)),this[_0x1ce925(0x1f3)]=new CloudServicesRevisionHistoryAdapter[(_0x1ce925(0x1f9))](_0x10e8c6);}async[_0x566b03(0x1e4)](){const _0x586eac=_0x566b03,_0xe86ae4=this[_0x586eac(0x1bf)][_0x586eac(0x203)][_0x586eac(0x1ba)](_0xfa9573),_0x2cb36e=_0xe86ae4[_0x586eac(0x1c9)],_0x42252a=this[_0x586eac(0x1bf)][_0x586eac(0x203)][_0x586eac(0x1ba)](_0x5831a1);this[_0x586eac(0x1fb)][_0x586eac(0x216)]({'history':_0x2cb36e,'getLatestVersion':()=>this[_0x586eac(0x217)](),'getCurrentRevisionId':()=>_0xe86ae4[_0x586eac(0x224)]});const _0x59cd9b=this[_0x586eac(0x1bf)][_0x586eac(0x1e9)][_0x586eac(0x1ba)](_0x586eac(0x209))||_0x2d8219,_0x358405=await _0x443a57[_0x586eac(0x1fc)](_0x42252a[_0x586eac(0x1dd)],_0x59cd9b);this[_0x586eac(0x1bf)][_0x586eac(0x203)][_0x586eac(0x1ba)](_0x586eac(0x1e2))[_0x586eac(0x1d4)]={'getRevision':async({revisionId:_0x57428b})=>(await this[_0x586eac(0x1b9)](),await this[_0x586eac(0x1f3)][_0x586eac(0x21e)](_0x57428b)),'updateRevisions':async _0x2f1ada=>{const _0x29a1fa=_0x586eac;await this[_0x29a1fa(0x1b9)]();const _0x24597a=this[_0x29a1fa(0x1fb)][_0x29a1fa(0x1b3)];if(_0x358405&&0x1===_0x2f1ada[_0x29a1fa(0x202)]&&_0x2f1ada[0x0]['id']===_0x24597a['id'])return _0x2f1ada;for(const _0x42c08f of _0x2f1ada)_0x42c08f['id']===_0x24597a['id']&&(_0x42c08f[_0x29a1fa(0x1ec)]=_0x42c08f[_0x29a1fa(0x20b)]===_0x42c08f[_0x29a1fa(0x1f1)]);return this[_0x29a1fa(0x1f3)][_0x29a1fa(0x215)](_0x2f1ada,this[_0x29a1fa(0x21d)])[_0x29a1fa(0x1b6)](_0x5af34a=>(this[_0x29a1fa(0x21d)]=_0x5af34a,_0x2f1ada))[_0x29a1fa(0x1ed)](_0x4102db=>{const _0x4f727b=_0x29a1fa;if(q(_0x4102db)||_0x4f727b(0x1fd)===_0x4102db[_0x4f727b(0x207)]&&void 0x0!==_0x4102db[_0x4f727b(0x1fe)][_0x4f727b(0x1b0)]){for(const _0x180038 of _0x2f1ada){!this[_0x4f727b(0x1fb)][_0x4f727b(0x218)][_0x4f727b(0x21e)](_0x180038['id'])||this[_0x4f727b(0x1fb)][_0x4f727b(0x1be)](_0x180038['id'],_0x180038,!0x1);}if(q(_0x4102db))throw _0x4102db;return _0x2f1ada;}throw _0x4102db;});}},this[_0x586eac(0x1ef)](this[_0x586eac(0x1f3)],_0x586eac(0x1cc),(_0x280096,{revisionsData:_0x320b92,requestId:_0x390b85})=>{const _0x1ef1db=_0x586eac;Math[_0x1ef1db(0x1e8)](..._0x320b92[_0x1ef1db(0x1b5)](_0x463624=>_0x463624[_0x1ef1db(0x1f1)]))>this[_0x1ef1db(0x1cd)]()-0x1?this[_0x1ef1db(0x217)]()[_0x1ef1db(0x1b6)](()=>{const _0x103423=_0x1ef1db;this[_0x103423(0x1f2)](_0x320b92,_0x390b85);}):this[_0x1ef1db(0x1f2)](_0x320b92,_0x390b85);});const {revisions:_0x2be5da,requestId:_0x57bfe3}=await this[_0x586eac(0x1f3)][_0x586eac(0x1f4)](_0x42252a[_0x586eac(0x1dd)]);_0x42252a[_0x586eac(0x1c6)](this),this[_0x586eac(0x21d)]=_0x57bfe3,await this[_0x586eac(0x21c)](_0x2be5da);for(const _0x57fc07 of _0x2be5da)this[_0x586eac(0x1fb)][_0x586eac(0x1dc)](_0x57fc07);this[_0x586eac(0x1ef)](_0xe86ae4,_0x586eac(0x1eb),(_0x4ffca5,_0x4e1d70,_0x77d8c8)=>{const _0x22705e=_0x586eac;_0x77d8c8&&(this[_0x22705e(0x206)]=_0xe86ae4[_0x22705e(0x220)],_0x4ffca5[_0x22705e(0x1bb)]());}),this[_0x586eac(0x1fb)][_0x586eac(0x1ae)](_0x586eac(0x20f))['to'](_0x42252a,_0x586eac(0x1b7),_0x38cbd8=>_0x38cbd8===_0x19ee5b[_0x586eac(0x208)]);}async[_0x566b03(0x212)](){const _0x55856a=_0x566b03,_0x37e4e8=this[_0x55856a(0x1bf)][_0x55856a(0x203)][_0x55856a(0x1ba)](_0x5831a1),_0x5c3e5f=this[_0x55856a(0x1bf)][_0x55856a(0x203)][_0x55856a(0x1ba)](_0xfa9573),_0x36e410=async()=>{const _0x39cdca=_0x55856a,_0x3230d1=this[_0x39cdca(0x1fb)][_0x39cdca(0x1b3)],_0x8c5e81=_0x3230d1['id'],_0x1d95fc=_0x8c5e81!==_0x5c3e5f[_0x39cdca(0x224)];if(_0x1d95fc){const _0x21fbf2=_0x5c3e5f[_0x39cdca(0x220)]-this[_0x39cdca(0x206)],_0xe29307=this[_0x39cdca(0x1cd)]();this[_0x39cdca(0x1fb)][_0x39cdca(0x1c4)][_0x39cdca(0x1d2)]();if(_0x3230d1[_0x39cdca(0x1f1)]+_0x21fbf2!==_0xe29307){const _0x30325d=_0x3230d1[_0x39cdca(0x20b)]+_0x21fbf2,_0x46c6f0=this[_0x39cdca(0x1bf)][_0x39cdca(0x203)][_0x39cdca(0x1ba)](_0x4f063c),_0x2ffea6=this[_0x39cdca(0x1fb)][_0x39cdca(0x1de)]({'revision':_0x3230d1,'from':_0x30325d,'to':_0xe29307});_0x2ffea6['id']=_0x3230d1['id'];const _0x1ae4eb=_0x2ffea6[_0x39cdca(0x214)][_0x39cdca(0x1b5)](_0x36bfbf=>_0x46c6f0[_0x39cdca(0x21b)](_0x36bfbf));_0x3230d1[_0x39cdca(0x219)]({..._0x2ffea6,'authors':_0x1ae4eb},!0x0),this[_0x39cdca(0x1fb)][_0x39cdca(0x1be)](_0x3230d1['id'],_0x2ffea6,!0x0);}this[_0x39cdca(0x1fb)][_0x39cdca(0x1d0)]=_0xe29307,(_0x3230d1[_0x39cdca(0x1f1)]===_0x3230d1[_0x39cdca(0x20b)]&&!this[_0x39cdca(0x1fb)][_0x39cdca(0x1cf)][_0x39cdca(0x20c)](_0x8c5e81)&&this[_0x39cdca(0x1fb)][_0x39cdca(0x218)][_0x39cdca(0x1c1)][_0x39cdca(0x205)](_0x8c5e81),this[_0x39cdca(0x1fb)][_0x39cdca(0x1d5)](_0xe29307));}const {revisions:_0x33cfe3,requestId:_0x50f30d}=await this[_0x39cdca(0x1f3)][_0x39cdca(0x212)](_0x37e4e8[_0x39cdca(0x1dd)],this[_0x39cdca(0x21d)]);_0x1d95fc&&_0x33cfe3[_0x39cdca(0x202)]>0x0?_0x5c3e5f[_0x39cdca(0x1e5)]():(await this[_0x39cdca(0x21c)](_0x33cfe3),this[_0x39cdca(0x1f2)](_0x33cfe3,_0x50f30d),this[_0x39cdca(0x1fb)][_0x39cdca(0x20e)]());};return _0x5c3e5f[_0x55856a(0x1c5)]?_0x36e410():new Promise((_0xb08efd,_0x4e7211)=>{const _0x461e09=_0x55856a;_0x5c3e5f[_0x461e09(0x1e6)](_0x461e09(0x1eb),()=>{const _0x16e786=_0x461e09;_0x36e410()[_0x16e786(0x1b6)](_0xb08efd)[_0x16e786(0x1ed)](_0x4e7211);});});}[_0x566b03(0x1f0)](){const _0x40c097=_0x566b03;super[_0x40c097(0x1f0)]();}async[_0x566b03(0x1b9)](){const _0x1b8c7e=_0x566b03;this[_0x1b8c7e(0x1f3)][_0x1b8c7e(0x1d8)]||await new Promise(_0x488e4a=>{const _0x362c71=_0x1b8c7e;this[_0x362c71(0x1ef)](this[_0x362c71(0x1f3)],_0x362c71(0x21f),_0x1d41aa=>{const _0x2b2245=_0x362c71;_0x1d41aa[_0x2b2245(0x1bb)](),_0x488e4a();});});}[_0x566b03(0x1cd)](){const _0x8c3f49=_0x566b03,_0x180475=this[_0x8c3f49(0x1bf)][_0x8c3f49(0x203)][_0x8c3f49(0x1ba)](_0xfa9573)[_0x8c3f49(0x1c9)][_0x8c3f49(0x1f7)]()[_0x8c3f49(0x1df)]();for(const _0x4beac6 of _0x180475)if(_0x8c3f49(0x20d)!==_0x4beac6[_0x8c3f49(0x1db)]||_0x4beac6[_0x8c3f49(0x1b4)])return _0x4beac6[_0x8c3f49(0x1b8)]+0x1;}[_0x566b03(0x217)](){const _0x83451=_0x566b03,_0x9f27b7=this[_0x83451(0x1bf)][_0x83451(0x203)][_0x83451(0x1ba)](_0xfa9573);return new Promise(_0x1fddc0=>{const _0x15c9b3=_0x83451;_0x9f27b7[_0x15c9b3(0x1da)]?_0x9f27b7[_0x15c9b3(0x1e6)](_0x15c9b3(0x213),()=>{const _0x1a64b6=_0x15c9b3;_0x1fddc0(this[_0x1a64b6(0x1cd)]());}):_0x1fddc0(this[_0x15c9b3(0x1cd)]());});}[_0x566b03(0x1f2)](_0x533a3d,_0x30404b){const _0xeb1ab9=_0x566b03,_0x24411d=this[_0xeb1ab9(0x1fb)][_0xeb1ab9(0x218)];this[_0xeb1ab9(0x21d)]=_0x30404b;for(const _0x936938 of _0x533a3d){const _0x29c2af=_0x24411d[_0xeb1ab9(0x21e)](_0x936938['id']);if(_0x29c2af){if((_0x936938[_0xeb1ab9(0x20b)]||_0x936938[_0xeb1ab9(0x1f1)])&&(_0x936938[_0xeb1ab9(0x1bc)]=null),_0x29c2af===this[_0xeb1ab9(0x1fb)][_0xeb1ab9(0x1b3)]){const _0x542555=Math[_0xeb1ab9(0x1e8)](_0x29c2af[_0xeb1ab9(0x1f1)],_0x936938[_0xeb1ab9(0x1f1)]),_0x12e611=Math[_0xeb1ab9(0x1e8)](_0x29c2af[_0xeb1ab9(0x20b)],_0x936938[_0xeb1ab9(0x20b)]);let _0x3e9c48;_0x29c2af[_0xeb1ab9(0x1f1)]===_0x936938[_0xeb1ab9(0x1f1)]&&_0x29c2af[_0xeb1ab9(0x20b)]===_0x936938[_0xeb1ab9(0x20b)]?(_0x3e9c48=!0x0,this[_0xeb1ab9(0x1d6)](_0x936938)):_0x936938[_0xeb1ab9(0x1f1)]===_0x542555&&_0x936938[_0xeb1ab9(0x20b)]===_0x12e611?_0x3e9c48=!0x1:(_0x29c2af[_0xeb1ab9(0x1f1)]===_0x542555&&_0x29c2af[_0xeb1ab9(0x20b)]===_0x12e611||this[_0xeb1ab9(0x1af)]({'revision':_0x29c2af,'from':_0x12e611,'to':_0x542555}),_0x3e9c48=!0x0),_0x3e9c48&&(delete _0x936938[_0xeb1ab9(0x20b)],delete _0x936938[_0xeb1ab9(0x1f1)],delete _0x936938[_0xeb1ab9(0x1bc)],delete _0x936938[_0xeb1ab9(0x1ca)],delete _0x936938[_0xeb1ab9(0x214)]);}this[_0xeb1ab9(0x1fb)][_0xeb1ab9(0x1ea)](_0x936938),this[_0xeb1ab9(0x1d6)](_0x936938);}else this[_0xeb1ab9(0x1fb)][_0xeb1ab9(0x1dc)](_0x936938);}const _0x3d367b=_0x24411d[_0xeb1ab9(0x1f8)]();_0x3d367b[_0xeb1ab9(0x1df)]();for(let _0x2590b5=0x0;_0x2590b5<_0x3d367b[_0xeb1ab9(0x202)]-0x1;_0x2590b5++){const _0x381363=_0x3d367b[_0x2590b5],_0x33e69d=_0x3d367b[_0x2590b5+0x1];if(_0x381363[_0xeb1ab9(0x20b)]<_0x33e69d[_0xeb1ab9(0x1f1)]){const _0x2f1619=_0x33e69d[_0xeb1ab9(0x1f1)],_0x1a7f5f=Math[_0xeb1ab9(0x1e8)](_0x2f1619,_0x381363[_0xeb1ab9(0x1f1)]);this[_0xeb1ab9(0x1af)]({'revision':_0x381363,'from':_0x2f1619,'to':_0x1a7f5f});}}}[_0x566b03(0x1af)]({revision:_0x37f4b1,from:_0x12ad84,to:_0x4f49b5}={}){const _0x1a70ba=_0x566b03,_0x36a663=this[_0x1a70ba(0x1bf)][_0x1a70ba(0x203)][_0x1a70ba(0x1ba)](_0x4f063c),_0x5f3a84=this[_0x1a70ba(0x1fb)][_0x1a70ba(0x1de)]({'revision':_0x37f4b1,'from':_0x12ad84,'to':_0x4f49b5});_0x5f3a84[_0x1a70ba(0x1c0)]=_0x5f3a84[_0x1a70ba(0x214)][_0x1a70ba(0x1b5)](_0x48d7d4=>_0x36a663[_0x1a70ba(0x21b)](_0x48d7d4)),_0x37f4b1[_0x1a70ba(0x219)](_0x5f3a84);}[_0x566b03(0x1d6)](_0x3bf9ba){const _0x3c4d77=_0x566b03,_0x487c02={};_0x487c02['id']=_0x3bf9ba['id'];for(const _0xf5cf3c of Object[_0x3c4d77(0x1bd)](_0x3bf9ba))'id'!==_0xf5cf3c&&(_0x487c02[_0xf5cf3c]=void 0x0);this[_0x3c4d77(0x1fb)][_0x3c4d77(0x1be)](_0x487c02['id'],_0x487c02,!0x0);}async[_0x566b03(0x21c)](_0x46337f){const _0x53ba7c=_0x566b03,_0x36aa64=this[_0x53ba7c(0x1bf)][_0x53ba7c(0x203)][_0x53ba7c(0x1ba)](_0x4f063c),{connection:_0x247224}=this[_0x53ba7c(0x1bf)][_0x53ba7c(0x203)][_0x53ba7c(0x1ba)](_0x5831a1),_0x354800=new Set();for(const _0x486321 of _0x46337f){for(const _0x516dc3 of _0x486321[_0x53ba7c(0x214)])_0x130205(_0x516dc3);_0x486321[_0x53ba7c(0x1e3)]&&_0x130205(_0x486321[_0x53ba7c(0x1e3)]);}if(0x0===_0x354800[_0x53ba7c(0x1d9)])return;const _0x787066=await _0x530270[_0x53ba7c(0x1d1)](_0x247224,Array[_0x53ba7c(0x1b1)](_0x354800));for(const _0x1fd412 of _0x787066)_0x36aa64[_0x53ba7c(0x21b)](_0x1fd412['id'])||_0x36aa64[_0x53ba7c(0x1b2)](_0x1fd412);function _0x130205(_0x210c9b){const _0x17b1b4=_0x53ba7c;_0x36aa64[_0x17b1b4(0x21b)](_0x210c9b)||_0x354800[_0x17b1b4(0x200)](_0x210c9b);}}}function q(_0x56ca91){const _0x223feb=_0x566b03;return _0x56ca91[_0x223feb(0x1ee)][_0x223feb(0x1e7)](_0x223feb(0x1fa))||_0x56ca91[_0x223feb(0x1ee)][_0x223feb(0x1e7)](_0x223feb(0x1f5))||_0x56ca91[_0x223feb(0x1ee)][_0x223feb(0x1e7)](_0x223feb(0x1c8));}
|
|
23
|
+
const _0x2fadc5=_0x2d70;(function(_0x2721a4,_0xacb763){const _0x112d15=_0x2d70,_0x491faa=_0x2721a4();while(!![]){try{const _0x50e57b=-parseInt(_0x112d15(0xeb))/0x1+parseInt(_0x112d15(0x109))/0x2*(-parseInt(_0x112d15(0xc7))/0x3)+-parseInt(_0x112d15(0xbd))/0x4*(-parseInt(_0x112d15(0xba))/0x5)+-parseInt(_0x112d15(0xad))/0x6+-parseInt(_0x112d15(0xa8))/0x7+-parseInt(_0x112d15(0xe9))/0x8+parseInt(_0x112d15(0x102))/0x9*(parseInt(_0x112d15(0x100))/0xa);if(_0x50e57b===_0xacb763)break;else _0x491faa['push'](_0x491faa['shift']());}catch(_0x4d8c54){_0x491faa['push'](_0x491faa['shift']());}}}(_0x598a,0x44241));function _0x2d70(_0x2cf72e,_0x121c6f){const _0x598a4e=_0x598a();return _0x2d70=function(_0x2d706d,_0x469cbb){_0x2d706d=_0x2d706d-0x97;let _0x15edaf=_0x598a4e[_0x2d706d];return _0x15edaf;},_0x2d70(_0x2cf72e,_0x121c6f);}import{Plugin as _0x16bf30}from'ckeditor5/src/core.js';import{version as _0x1bc6d7}from'ckeditor5/src/utils.js';import{Users as _0x4581a8}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x39ee68}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x260481}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x47aa7e}from'../realtimecollaborativeediting/sessions.js';function _0x598a(){const _0x151068=['sendBufferedUpdates','plugins','_revisions','getOperations','catch','getRevisions','connected','max','_startingVersion','_waitForServiceReady','cloud-services-internal-error:\x20Request\x20timeout.','_preventResendingRevisionData','once','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','reconnect','_revisionTracker','isOfficialPlugin','code','2583728ndAvUP','createdAt','11851lYyBxL','_handleReconnectionError','connect','baseVersion','length','change:_isPendingUpdate','get','map','type','_getLatestVersionFromServerOperations','from','buildRevisionData','cloud-services-internal-error:\x20Not\x20connected.','init','fromVersion','isEmptyCurrent','getRevision','_getLatestVersion','remove','setSource','message','6770lzjSFB','reInit','9711gbjFJl','requires','authorsIds','diffData','_handleRevisionsUpdate','connection','change:_isConnected','1526SyhCHO','sessionId','CONNECTED','startsWith','addToReconnectionStack','creatorId','getUser','cloudServices.bundleVersion','addRevisionData','state','editor','_fixRevision','affectsData','updateRevisions','reverse','config','size','repository','addUser','1724905vXrQYh','setRevisionData','400','bind','_createCurrentRevision','942540mDKhTz','_bufferUpdate','keys','authors','RevisionHistory','revisionsUpdated','isConnected','currentRevision','_offset','_revisionHistoryService','then','toVersion','CloudServicesRevisionHistoryAdapter','60285ZmZAfQ','_oldOffset','pluginName','140AzeGuW','adapter','_revisionDataBuilder','_fetchMissingUsers','RevisionHistoryService','isPremiumPlugin','_lastRequestId','has','isBundleUploaded','add','531VnwrXf','_update','serverHistory','off','_isPendingUpdate','destroy','isEnabled','listenTo','marker','collaboration.channelId','_isConnected','getMany','RevisionTracker','data','wrongRequestId','_bufferedUpdates'];_0x598a=function(){return _0x151068;};return _0x598a();}import{EditorService as _0x5065dc,RevisionHistoryService as _0x52f5f8,User as _0x22a3e5,WEB_SOCKET_GATEWAY_STATES as _0x46c274}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x16bf30{static [_0x2fadc5(0xc1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x52f5f8)());[_0x2fadc5(0xc3)];[_0x2fadc5(0xe6)];[_0x2fadc5(0xb6)];[_0x2fadc5(0xbb)];static get[_0x2fadc5(0x103)](){const _0x4e27ae=_0x2fadc5;return[_0x260481,_0x39ee68,_0x4e27ae(0xb1),_0x47aa7e,_0x4581a8];}static get[_0x2fadc5(0xbc)](){const _0x484c43=_0x2fadc5;return _0x484c43(0xb9);}static get[_0x2fadc5(0xe7)](){return!0x0;}static get[_0x2fadc5(0xc2)](){return!0x0;}constructor(_0x592671){const _0x17b2b2=_0x2fadc5;super(_0x592671);const _0x3d3321=this[_0x17b2b2(0x9f)][_0x17b2b2(0xa4)][_0x17b2b2(0xf1)](_0x17b2b2(0xd0));this[_0x17b2b2(0xc3)]=null,this[_0x17b2b2(0xe6)]=this[_0x17b2b2(0x9f)][_0x17b2b2(0xd8)][_0x17b2b2(0xf1)](_0x17b2b2(0xd3)),this[_0x17b2b2(0xb6)]=new CloudServicesRevisionHistoryAdapter[(_0x17b2b2(0xc1))](_0x3d3321);}async[_0x2fadc5(0xf8)](){const _0x39e8c4=_0x2fadc5,_0x4b6a56=this[_0x39e8c4(0x9f)][_0x39e8c4(0xd8)][_0x39e8c4(0xf1)](_0x39ee68),_0x15107b=_0x4b6a56[_0x39e8c4(0xc9)],_0x21b2db=this[_0x39e8c4(0x9f)][_0x39e8c4(0xd8)][_0x39e8c4(0xf1)](_0x260481);this[_0x39e8c4(0xe6)][_0x39e8c4(0xfe)]({'history':_0x15107b,'getLatestVersion':()=>this[_0x39e8c4(0xfc)](),'getCurrentRevisionId':()=>_0x4b6a56[_0x39e8c4(0x10a)]});const _0x30e9d9=this[_0x39e8c4(0x9f)][_0x39e8c4(0xa4)][_0x39e8c4(0xf1)](_0x39e8c4(0x9c))||_0x1bc6d7,_0x8975a=await _0x5065dc[_0x39e8c4(0xc5)](_0x21b2db[_0x39e8c4(0x107)],_0x30e9d9);this[_0x39e8c4(0x9f)][_0x39e8c4(0xd8)][_0x39e8c4(0xf1)](_0x39e8c4(0xb1))[_0x39e8c4(0xbe)]={'getRevision':async({revisionId:_0x56ffe7})=>(await this[_0x39e8c4(0xe0)](),await this[_0x39e8c4(0xb6)][_0x39e8c4(0xfb)](_0x56ffe7)),'updateRevisions':async _0x4cab91=>{const _0x580fdd=_0x39e8c4;await this[_0x580fdd(0xe0)]();const _0xa405a5=this[_0x580fdd(0xe6)][_0x580fdd(0xb4)];if(_0x8975a&&0x1===_0x4cab91[_0x580fdd(0xef)]&&_0x4cab91[0x0]['id']===_0xa405a5['id'])return _0x4cab91;for(const _0x52f08c of _0x4cab91)_0x52f08c['id']===_0xa405a5['id']&&(_0x52f08c[_0x580fdd(0xfa)]=_0x52f08c[_0x580fdd(0xf9)]===_0x52f08c[_0x580fdd(0xb8)]);return this[_0x580fdd(0xb6)][_0x580fdd(0xa2)](_0x4cab91,this[_0x580fdd(0xc3)])[_0x580fdd(0xb7)](_0x737943=>(this[_0x580fdd(0xc3)]=_0x737943,_0x4cab91))[_0x580fdd(0xdb)](_0x36e574=>{const _0x5a0c21=_0x580fdd;if(Z(_0x36e574)||_0x5a0c21(0xaa)===_0x36e574[_0x5a0c21(0xe8)]&&void 0x0!==_0x36e574[_0x5a0c21(0xd4)][_0x5a0c21(0xd5)]){for(const _0x290ac7 of _0x4cab91){!this[_0x5a0c21(0xe6)][_0x5a0c21(0xa6)][_0x5a0c21(0xfb)](_0x290ac7['id'])||this[_0x5a0c21(0xe6)][_0x5a0c21(0xae)](_0x290ac7['id'],_0x290ac7,!0x1);}if(Z(_0x36e574))throw _0x36e574;return _0x4cab91;}throw _0x36e574;});}},this[_0x39e8c4(0xce)](this[_0x39e8c4(0xb6)],_0x39e8c4(0xb2),(_0x98525b,{revisionsData:_0x3db8e5,requestId:_0x7ae707})=>{const _0x5062c9=_0x39e8c4;Math[_0x5062c9(0xde)](..._0x3db8e5[_0x5062c9(0xf2)](_0x9dfb7=>_0x9dfb7[_0x5062c9(0xb8)]))>this[_0x5062c9(0xf4)]()-0x1?this[_0x5062c9(0xfc)]()[_0x5062c9(0xb7)](()=>{const _0x3d18ea=_0x5062c9;this[_0x3d18ea(0x106)](_0x3db8e5,_0x7ae707);}):this[_0x5062c9(0x106)](_0x3db8e5,_0x7ae707);});const {revisions:_0x3778d6,requestId:_0x3fa902}=await this[_0x39e8c4(0xb6)][_0x39e8c4(0xed)](_0x21b2db[_0x39e8c4(0x107)]);_0x21b2db[_0x39e8c4(0x99)](this),this[_0x39e8c4(0xc3)]=_0x3fa902,await this[_0x39e8c4(0xc0)](_0x3778d6);for(const _0x5e61d0 of _0x3778d6)this[_0x39e8c4(0xe6)][_0x39e8c4(0x9d)](_0x5e61d0);this[_0x39e8c4(0xce)](_0x4b6a56,_0x39e8c4(0x108),(_0x8c1c81,_0x48b5d9,_0x27a077)=>{const _0x406e8d=_0x39e8c4;_0x27a077&&(this[_0x406e8d(0xbb)]=_0x4b6a56[_0x406e8d(0xb5)],_0x8c1c81[_0x406e8d(0xca)]());}),this[_0x39e8c4(0xe6)][_0x39e8c4(0xab)](_0x39e8c4(0xcd))['to'](_0x21b2db,_0x39e8c4(0x9e),_0x428b9a=>_0x428b9a===_0x46c274[_0x39e8c4(0x97)]);}async[_0x2fadc5(0xe5)](){const _0x43a609=_0x2fadc5,_0x5014b6=this[_0x43a609(0x9f)][_0x43a609(0xd8)][_0x43a609(0xf1)](_0x260481),_0x3eefaf=this[_0x43a609(0x9f)][_0x43a609(0xd8)][_0x43a609(0xf1)](_0x39ee68),_0x4935bd=async()=>{const _0x1ab2d5=_0x43a609,_0x276f94=this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xb4)],_0x11bb19=_0x276f94['id'],_0x2cd01d=_0x11bb19!==_0x3eefaf[_0x1ab2d5(0x10a)];if(_0x2cd01d){const _0xab4634=_0x3eefaf[_0x1ab2d5(0xb5)]-this[_0x1ab2d5(0xbb)],_0x3d94c=this[_0x1ab2d5(0xf4)]();this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xbf)][_0x1ab2d5(0x101)]();if(_0x276f94[_0x1ab2d5(0xb8)]+_0xab4634!==_0x3d94c){const _0x2bb7e6=_0x276f94[_0x1ab2d5(0xf9)]+_0xab4634,_0x2efb23=this[_0x1ab2d5(0x9f)][_0x1ab2d5(0xd8)][_0x1ab2d5(0xf1)](_0x4581a8),_0x3bde1f=this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xf6)]({'revision':_0x276f94,'from':_0x2bb7e6,'to':_0x3d94c});_0x3bde1f['id']=_0x276f94['id'];const _0x26d547=_0x3bde1f[_0x1ab2d5(0x104)][_0x1ab2d5(0xf2)](_0x26fe67=>_0x2efb23[_0x1ab2d5(0x9b)](_0x26fe67));_0x276f94[_0x1ab2d5(0xc8)]({..._0x3bde1f,'authors':_0x26d547},!0x0),this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xae)](_0x276f94['id'],_0x3bde1f,!0x0);}this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xdf)]=_0x3d94c,(_0x276f94[_0x1ab2d5(0xb8)]===_0x276f94[_0x1ab2d5(0xf9)]&&!this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xd6)][_0x1ab2d5(0xc4)](_0x11bb19)&&this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xa6)][_0x1ab2d5(0xd9)][_0x1ab2d5(0xfd)](_0x11bb19),this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xac)](_0x3d94c));}const {revisions:_0x4c8e7f,requestId:_0x16d2a3}=await this[_0x1ab2d5(0xb6)][_0x1ab2d5(0xe5)](_0x5014b6[_0x1ab2d5(0x107)],this[_0x1ab2d5(0xc3)]);_0x2cd01d&&_0x4c8e7f[_0x1ab2d5(0xef)]>0x0?_0x3eefaf[_0x1ab2d5(0xec)]():(await this[_0x1ab2d5(0xc0)](_0x4c8e7f),this[_0x1ab2d5(0x106)](_0x4c8e7f,_0x16d2a3),this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xd7)]());};return _0x3eefaf[_0x43a609(0xd1)]?_0x4935bd():new Promise((_0x224122,_0x51a8d9)=>{const _0x26a4cb=_0x43a609;_0x3eefaf[_0x26a4cb(0xe3)](_0x26a4cb(0x108),()=>{const _0x3ef907=_0x26a4cb;_0x4935bd()[_0x3ef907(0xb7)](_0x224122)[_0x3ef907(0xdb)](_0x51a8d9);});});}[_0x2fadc5(0xcc)](){const _0xeb9975=_0x2fadc5;super[_0xeb9975(0xcc)]();}async[_0x2fadc5(0xe0)](){const _0x2abf9e=_0x2fadc5;this[_0x2abf9e(0xb6)][_0x2abf9e(0xb3)]||await new Promise(_0x3a23ab=>{const _0x48e6d7=_0x2abf9e;this[_0x48e6d7(0xce)](this[_0x48e6d7(0xb6)],_0x48e6d7(0xdd),_0xf648df=>{const _0x543cb0=_0x48e6d7;_0xf648df[_0x543cb0(0xca)](),_0x3a23ab();});});}[_0x2fadc5(0xf4)](){const _0x4ce9e2=_0x2fadc5,_0x3ce580=this[_0x4ce9e2(0x9f)][_0x4ce9e2(0xd8)][_0x4ce9e2(0xf1)](_0x39ee68)[_0x4ce9e2(0xc9)][_0x4ce9e2(0xda)]()[_0x4ce9e2(0xa3)]();for(const _0x5860d2 of _0x3ce580)if(_0x4ce9e2(0xcf)!==_0x5860d2[_0x4ce9e2(0xf3)]||_0x5860d2[_0x4ce9e2(0xa1)])return _0x5860d2[_0x4ce9e2(0xee)]+0x1;}[_0x2fadc5(0xfc)](){const _0xcd96f=_0x2fadc5,_0x2af27f=this[_0xcd96f(0x9f)][_0xcd96f(0xd8)][_0xcd96f(0xf1)](_0x39ee68);return new Promise(_0xb22ff8=>{const _0x370c6f=_0xcd96f;_0x2af27f[_0x370c6f(0xcb)]?_0x2af27f[_0x370c6f(0xe3)](_0x370c6f(0xf0),()=>{const _0x471476=_0x370c6f;_0xb22ff8(this[_0x471476(0xf4)]());}):_0xb22ff8(this[_0x370c6f(0xf4)]());});}[_0x2fadc5(0x106)](_0x272ebe,_0xb0fee){const _0x7e2827=_0x2fadc5,_0x1d0030=this[_0x7e2827(0xe6)][_0x7e2827(0xa6)];this[_0x7e2827(0xc3)]=_0xb0fee;for(const _0x4ee42c of _0x272ebe){const _0x1ab247=_0x1d0030[_0x7e2827(0xfb)](_0x4ee42c['id']);if(_0x1ab247){if((_0x4ee42c[_0x7e2827(0xf9)]||_0x4ee42c[_0x7e2827(0xb8)])&&(_0x4ee42c[_0x7e2827(0x105)]=null),_0x1ab247===this[_0x7e2827(0xe6)][_0x7e2827(0xb4)]){const _0x563356=Math[_0x7e2827(0xde)](_0x1ab247[_0x7e2827(0xb8)],_0x4ee42c[_0x7e2827(0xb8)]),_0x8a6716=Math[_0x7e2827(0xde)](_0x1ab247[_0x7e2827(0xf9)],_0x4ee42c[_0x7e2827(0xf9)]);let _0x38fa04;_0x1ab247[_0x7e2827(0xb8)]===_0x4ee42c[_0x7e2827(0xb8)]&&_0x1ab247[_0x7e2827(0xf9)]===_0x4ee42c[_0x7e2827(0xf9)]?(_0x38fa04=!0x0,this[_0x7e2827(0xe2)](_0x4ee42c)):_0x4ee42c[_0x7e2827(0xb8)]===_0x563356&&_0x4ee42c[_0x7e2827(0xf9)]===_0x8a6716?_0x38fa04=!0x1:(_0x1ab247[_0x7e2827(0xb8)]===_0x563356&&_0x1ab247[_0x7e2827(0xf9)]===_0x8a6716||this[_0x7e2827(0xa0)]({'revision':_0x1ab247,'from':_0x8a6716,'to':_0x563356}),_0x38fa04=!0x0),_0x38fa04&&(delete _0x4ee42c[_0x7e2827(0xf9)],delete _0x4ee42c[_0x7e2827(0xb8)],delete _0x4ee42c[_0x7e2827(0x105)],delete _0x4ee42c[_0x7e2827(0xea)],delete _0x4ee42c[_0x7e2827(0x104)]);}this[_0x7e2827(0xe6)][_0x7e2827(0xa9)](_0x4ee42c),this[_0x7e2827(0xe2)](_0x4ee42c);}else this[_0x7e2827(0xe6)][_0x7e2827(0x9d)](_0x4ee42c);}const _0x39c71b=_0x1d0030[_0x7e2827(0xdc)]();_0x39c71b[_0x7e2827(0xa3)]();for(let _0x1e2013=0x0;_0x1e2013<_0x39c71b[_0x7e2827(0xef)]-0x1;_0x1e2013++){const _0x2c83b0=_0x39c71b[_0x1e2013],_0x32f43d=_0x39c71b[_0x1e2013+0x1];if(_0x2c83b0[_0x7e2827(0xf9)]<_0x32f43d[_0x7e2827(0xb8)]){const _0x30f102=_0x32f43d[_0x7e2827(0xb8)],_0xd11331=Math[_0x7e2827(0xde)](_0x30f102,_0x2c83b0[_0x7e2827(0xb8)]);this[_0x7e2827(0xa0)]({'revision':_0x2c83b0,'from':_0x30f102,'to':_0xd11331});}}}[_0x2fadc5(0xa0)]({revision:_0x41d74b,from:_0x54a684,to:_0x4b43cf}={}){const _0x1ed56a=_0x2fadc5,_0x24616f=this[_0x1ed56a(0x9f)][_0x1ed56a(0xd8)][_0x1ed56a(0xf1)](_0x4581a8),_0x35537f=this[_0x1ed56a(0xe6)][_0x1ed56a(0xf6)]({'revision':_0x41d74b,'from':_0x54a684,'to':_0x4b43cf});_0x35537f[_0x1ed56a(0xb0)]=_0x35537f[_0x1ed56a(0x104)][_0x1ed56a(0xf2)](_0xfb17fc=>_0x24616f[_0x1ed56a(0x9b)](_0xfb17fc)),_0x41d74b[_0x1ed56a(0xc8)](_0x35537f);}[_0x2fadc5(0xe2)](_0x539e9f){const _0x317963=_0x2fadc5,_0x338d7a={};_0x338d7a['id']=_0x539e9f['id'];for(const _0x8ba566 of Object[_0x317963(0xaf)](_0x539e9f))'id'!==_0x8ba566&&(_0x338d7a[_0x8ba566]=void 0x0);this[_0x317963(0xe6)][_0x317963(0xae)](_0x338d7a['id'],_0x338d7a,!0x0);}async[_0x2fadc5(0xc0)](_0x1f04df){const _0x1eb4e6=_0x2fadc5,_0x28935e=this[_0x1eb4e6(0x9f)][_0x1eb4e6(0xd8)][_0x1eb4e6(0xf1)](_0x4581a8),{connection:_0x2850e5}=this[_0x1eb4e6(0x9f)][_0x1eb4e6(0xd8)][_0x1eb4e6(0xf1)](_0x260481),_0x167795=new Set();for(const _0xb3b3e5 of _0x1f04df){for(const _0x2e1f2f of _0xb3b3e5[_0x1eb4e6(0x104)])_0x20bcfc(_0x2e1f2f);_0xb3b3e5[_0x1eb4e6(0x9a)]&&_0x20bcfc(_0xb3b3e5[_0x1eb4e6(0x9a)]);}if(0x0===_0x167795[_0x1eb4e6(0xa5)])return;const _0x1f48e5=await _0x22a3e5[_0x1eb4e6(0xd2)](_0x2850e5,Array[_0x1eb4e6(0xf5)](_0x167795));for(const _0xa3bb9 of _0x1f48e5)_0x28935e[_0x1eb4e6(0x9b)](_0xa3bb9['id'])||_0x28935e[_0x1eb4e6(0xa7)](_0xa3bb9);function _0x20bcfc(_0x358249){const _0x3d1364=_0x1eb4e6;_0x28935e[_0x3d1364(0x9b)](_0x358249)||_0x167795[_0x3d1364(0xc6)](_0x358249);}}}function Z(_0x13c0ee){const _0x476d0a=_0x2fadc5;return _0x13c0ee[_0x476d0a(0xff)][_0x476d0a(0x98)](_0x476d0a(0xe4))||_0x13c0ee[_0x476d0a(0xff)][_0x476d0a(0x98)](_0x476d0a(0xf7))||_0x13c0ee[_0x476d0a(0xff)][_0x476d0a(0x98)](_0x476d0a(0xe1));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x263275=_0x1ff7;(function(_0x783f86,_0xecf04){const _0x2b4125=_0x1ff7,_0x17151c=_0x783f86();while(!![]){try{const _0x55ecce=-parseInt(_0x2b4125(0x151))/0x1+-parseInt(_0x2b4125(0x161))/0x2*(-parseInt(_0x2b4125(0x164))/0x3)+-parseInt(_0x2b4125(0x171))/0x4*(-parseInt(_0x2b4125(0x152))/0x5)+parseInt(_0x2b4125(0x150))/0x6+-parseInt(_0x2b4125(0x15f))/0x7*(parseInt(_0x2b4125(0x15d))/0x8)+parseInt(_0x2b4125(0x15e))/0x9*(-parseInt(_0x2b4125(0x134))/0xa)+parseInt(_0x2b4125(0x16d))/0xb;if(_0x55ecce===_0xecf04)break;else _0x17151c['push'](_0x17151c['shift']());}catch(_0xa437a7){_0x17151c['push'](_0x17151c['shift']());}}}(_0x46e2,0xef67a));function _0x1ff7(_0x4fe6d9,_0x133fe9){const _0x46e299=_0x46e2();return _0x1ff7=function(_0x1ff7d0,_0x21845b){_0x1ff7d0=_0x1ff7d0-0x133;let _0x2230fc=_0x46e299[_0x1ff7d0];return _0x2230fc;},_0x1ff7(_0x4fe6d9,_0x133fe9);}import{Plugin as _0x5eb99c}from'ckeditor5/src/core.js';import{User as _0x4b6f69,TrackChangesService as _0x4bc0bd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x46e2(){const _0x19f6d7=['open','11283602siHQIF','adapter','getSuggestion','catch','149972MjLdnR','attributes','size','then','363330GAZnjC','set','off','addToReconnectionStack','TrackChangesEditing','_bufferedRequests','startsWith','get','plugins','isOfficialPlugin','update','CloudServicesTrackChangesAdapter','pluginName','state','reconnect','_trackChangesService','type','delete','getUser','config','connection','listenTo','data','addUser','editor','_saved','find','isConnected','7426530giCbui','400304lQbIKw','50GarMcE','from','cloud-services-internal-error:\x20Not\x20connected.','originalSuggestionId','connect','isPremiumPlugin','TrackChangesService','add','collaboration.channelId','_fetchMissingUsersForThreads','values','7765488TcqSaH','216bkSXEO','7VVCOFo','addSuggestionData','78lCuUwG','cloud-services-internal-error:\x20Request\x20timeout.','hasSuggestion','45009MIzueQ','requires','connected','message','_waitForServiceReady','getMany','suggestionUpdated','init'];_0x46e2=function(){return _0x19f6d7;};return _0x46e2();}import{WebSocketGateway as _0xe827ab}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xdb1733}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x45b0aa}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5eb99c{static [_0x263275(0x158)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4bc0bd)());[_0x263275(0x139)];[_0x263275(0x143)];static get[_0x263275(0x165)](){const _0x551a70=_0x263275;return[_0xdb1733,_0x551a70(0x138),_0xe827ab];}static get[_0x263275(0x140)](){const _0x757eeb=_0x263275;return _0x757eeb(0x13f);}static get[_0x263275(0x13d)](){return!0x0;}static get[_0x263275(0x157)](){return!0x0;}constructor(_0x5b865f){const _0x2981f3=_0x263275;super(_0x5b865f);const _0x3d2457=this[_0x2981f3(0x14c)][_0x2981f3(0x147)][_0x2981f3(0x13b)](_0x2981f3(0x15a));this[_0x2981f3(0x139)]=new Map(),this[_0x2981f3(0x143)]=new CloudServicesTrackChangesAdapter[(_0x2981f3(0x158))](_0x3d2457);}[_0x263275(0x16b)](){const _0x57a930=_0x263275,_0xbf88f4=this[_0x57a930(0x14c)][_0x57a930(0x13c)][_0x57a930(0x13b)](_0xe827ab),_0x1f8970=this[_0x57a930(0x14c)][_0x57a930(0x13c)][_0x57a930(0x13b)](_0x57a930(0x138));return _0x1f8970[_0x57a930(0x16e)]={'getSuggestion':async _0x1e43f4=>{const _0x132ea1=_0x57a930;await this[_0x132ea1(0x168)]();const _0x17e87a=await this[_0x132ea1(0x143)][_0x132ea1(0x13b)](_0x1e43f4)[_0x132ea1(0x170)](nt);return await this[_0x132ea1(0x15b)]([_0x17e87a]),_0x17e87a;},'addSuggestion':async({id:_0x4bd3a9,type:_0x4276a8,data:_0x4615f5,originalSuggestionId:_0x14a5fd,attributes:_0x192325})=>{const _0x23dbd0=_0x57a930;await this[_0x23dbd0(0x168)]();const _0x4f0fbf={'id':_0x4bd3a9,'type':_0x4276a8,'data':_0x4615f5,'originalSuggestionId':_0x14a5fd,'attributes':_0x192325},_0x47a6a3=await this[_0x23dbd0(0x143)][_0x23dbd0(0x159)](_0x4bd3a9,_0x4276a8,_0x4615f5,_0x14a5fd,_0x192325)[_0x23dbd0(0x170)](_0xfbf4ea=>{if(Z(_0xfbf4ea))return new Promise(_0x431879=>{const _0x55d65c=_0x1ff7;this[_0x55d65c(0x139)][_0x55d65c(0x135)](_0x4bd3a9,{'resolve':_0x431879,'suggestionData':_0x4f0fbf});});throw _0xfbf4ea;});return this[_0x23dbd0(0x139)][_0x23dbd0(0x145)](_0x4bd3a9),_0x47a6a3;},'updateSuggestion':async(_0x4d9dfd,_0x29fae7)=>{const _0x44dae1=_0x57a930;if(await this[_0x44dae1(0x168)](),_0x44dae1(0x16c)!==_0x29fae7[_0x44dae1(0x141)])return this[_0x44dae1(0x143)][_0x44dae1(0x13e)](_0x4d9dfd,_0x29fae7)[_0x44dae1(0x170)](nt);}},this[_0x57a930(0x149)](this[_0x57a930(0x143)],_0x57a930(0x16a),(_0x4425a4,_0xd9b32e)=>{const _0x350a88=_0x57a930;_0x1f8970[_0x350a88(0x163)](_0xd9b32e['id'])&&(_0x1f8970[_0x350a88(0x16f)](_0xd9b32e['id'])[_0x350a88(0x172)]=_0xd9b32e[_0x350a88(0x172)]);}),this[_0x57a930(0x143)][_0x57a930(0x156)](_0xbf88f4[_0x57a930(0x148)])[_0x57a930(0x133)](_0x29d484=>(_0xbf88f4[_0x57a930(0x137)](this),this[_0x57a930(0x15b)](_0x29d484)[_0x57a930(0x133)](()=>{const _0x153665=_0x57a930;for(const _0x4c0cef of _0x29d484){_0x1f8970[_0x153665(0x160)](_0x4c0cef)[_0x153665(0x14d)]=!0x0;}})));}async[_0x263275(0x142)](){const _0x2a2d97=_0x263275,_0x54a13f=this[_0x2a2d97(0x14c)][_0x2a2d97(0x13c)][_0x2a2d97(0x13b)](_0x2a2d97(0x138)),{connection:_0x2d07fb}=this[_0x2a2d97(0x14c)][_0x2a2d97(0x13c)][_0x2a2d97(0x13b)](_0xe827ab),_0x246c6b=await this[_0x2a2d97(0x143)][_0x2a2d97(0x156)](_0x2d07fb);await this[_0x2a2d97(0x15b)](_0x246c6b);for(const {suggestionData:_0x455b91,resolve:_0x525cf3}of this[_0x2a2d97(0x139)][_0x2a2d97(0x15c)]()){let _0x1e14d4=_0x246c6b[_0x2a2d97(0x14e)](_0x23146d=>_0x23146d['id']===_0x455b91['id']);_0x1e14d4||(_0x1e14d4=await this[_0x2a2d97(0x143)][_0x2a2d97(0x159)](_0x455b91['id'],_0x455b91[_0x2a2d97(0x144)],_0x455b91[_0x2a2d97(0x14a)],_0x455b91[_0x2a2d97(0x155)])),_0x525cf3(_0x1e14d4);}for(const _0x287f9c of _0x246c6b)_0x54a13f[_0x2a2d97(0x163)](_0x287f9c['id'])||_0x54a13f[_0x2a2d97(0x160)](_0x287f9c);}async[_0x263275(0x168)](){const _0x424f01=_0x263275;this[_0x424f01(0x143)][_0x424f01(0x14f)]||await new Promise(_0x3a9c3e=>{const _0x22bd99=_0x424f01;this[_0x22bd99(0x149)](this[_0x22bd99(0x143)],_0x22bd99(0x166),_0x9ea587=>{const _0xaf741b=_0x22bd99;_0x9ea587[_0xaf741b(0x136)](),_0x3a9c3e();});});}async[_0x263275(0x15b)](_0x1a0725){const _0x12f3d6=_0x263275,_0x3ae440=this[_0x12f3d6(0x14c)][_0x12f3d6(0x13c)][_0x12f3d6(0x13b)](_0x45b0aa),{connection:_0x3b5c45}=this[_0x12f3d6(0x14c)][_0x12f3d6(0x13c)][_0x12f3d6(0x13b)](_0xe827ab),_0x280f59=new Set();for(const {authorId:_0x2ea548}of _0x1a0725)_0x3ae440[_0x12f3d6(0x146)](_0x2ea548)||_0x280f59[_0x12f3d6(0x159)](_0x2ea548);if(0x0===_0x280f59[_0x12f3d6(0x173)])return;const _0x317c9d=await _0x4b6f69[_0x12f3d6(0x169)](_0x3b5c45,Array[_0x12f3d6(0x153)](_0x280f59));for(const _0x89fc39 of _0x317c9d)_0x3ae440[_0x12f3d6(0x146)](_0x89fc39['id'])||_0x3ae440[_0x12f3d6(0x14b)](_0x89fc39);}}function nt(_0x7352ee){if(Z(_0x7352ee))return new Promise(()=>{});throw _0x7352ee;}function Z(_0x5e037b){const _0x2ef7e8=_0x263275;return _0x5e037b[_0x2ef7e8(0x167)][_0x2ef7e8(0x13a)](_0x2ef7e8(0x154))||_0x5e037b[_0x2ef7e8(0x167)][_0x2ef7e8(0x13a)](_0x2ef7e8(0x162));}
|