@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.1 → 47.1.0
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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- 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/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x3f0cef=_0x3571;function _0x29ed(){const _0x1b21f9=['token','plugins','websocketgateway-missing-token','CONNECTED','_isBrowserOffline','error','1896aziQPS','websocketgateway-invalid-plugin-interface','state','cloudServices.connectionTimeout','1873044LyMJqm','19313dBoqED','connect','WebSocketGateway','4332456Husdcj','577424yptxCl','constructor','cloudservices-reconnection-error','CONNECTING','bind','websocketgateway-plugin-already-registered','DISCONNECTED','pluginName','224RQtyOI','CloudServices','listenTo','context','reconnect','offline','then','showWarning','init','delete','2447JMbeBU','real-time-collaboration','define','isPremiumPlugin','disconnect','limitExceeded','connection','code','webSocketUrl','isInReconnectionStack','connected','cloudServices.requestTimeout','stopListening','config','Connected\x20users\x20limit\x20exceeded','isOfficialPlugin','from','change:me','_domEmitter','cloudservices-init','get','_reconnect','function','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.','online','2265295ktdAzp','websocketgateway-missing-websocket-url','catch','_shouldPluginsReconnect','_reconnectionStack','has','requires','1581804GigZBv','initialReconnectionInterval','all','addToReconnectionStack','destroy','add','removeFromReconnectionStack','set'];_0x29ed=function(){return _0x1b21f9;};return _0x29ed();}(function(_0x47db0f,_0x362a72){const _0x380a83=_0x3571,_0x4a0dc4=_0x47db0f();while(!![]){try{const _0x530fac=-parseInt(_0x380a83(0xef))/0x1*(-parseInt(_0x380a83(0xe5))/0x2)+-parseInt(_0x380a83(0xd8))/0x3+-parseInt(_0x380a83(0xdd))/0x4+-parseInt(_0x380a83(0x108))/0x5+parseInt(_0x380a83(0x10f))/0x6+parseInt(_0x380a83(0xd9))/0x7*(parseInt(_0x380a83(0x11d))/0x8)+parseInt(_0x380a83(0xdc))/0x9;if(_0x530fac===_0x362a72)break;else _0x4a0dc4['push'](_0x4a0dc4['shift']());}catch(_0x44c794){_0x4a0dc4['push'](_0x4a0dc4['shift']());}}}(_0x29ed,0x6e282));import{ContextPlugin as _0x427c17}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x20712f,CKEditorError as _0x5876f4}from'ckeditor5/src/utils.js';function _0x3571(_0x4fcdae,_0x525d94){const _0x29edb7=_0x29ed();return _0x3571=function(_0x3571c0,_0x4a5900){_0x3571c0=_0x3571c0-0xd6;let _0x31460e=_0x29edb7[_0x3571c0];return _0x31460e;},_0x3571(_0x4fcdae,_0x525d94);}import{WebSocketGateway as _0x2a1646,WEB_SOCKET_GATEWAY_STATES as _0x498221}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x13ae0a}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x427c17{static [_0x3f0cef(0xdb)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2a1646)());static [_0x3f0cef(0x110)]=0x3e8;[_0x3f0cef(0xf5)];[_0x3f0cef(0x10c)];[_0x3f0cef(0x10b)];[_0x3f0cef(0x101)];static get[_0x3f0cef(0x10e)](){const _0x509bed=_0x3f0cef;return[_0x509bed(0xe6),_0x13ae0a];}static get[_0x3f0cef(0xe4)](){const _0x5330f0=_0x3f0cef;return _0x5330f0(0xdb);}static get[_0x3f0cef(0xfe)](){return!0x0;}static get[_0x3f0cef(0xf2)](){return!0x0;}constructor(_0x2ba906){const _0x365204=_0x3f0cef;super(_0x2ba906),this[_0x365204(0x116)](_0x365204(0xd6),_0x498221[_0x365204(0x11a)]),this[_0x365204(0x116)](_0x365204(0x11b),!0x1),this[_0x365204(0x10c)]=new Set(),this[_0x365204(0x10b)]=!0x1,this[_0x365204(0x101)]=new(_0x20712f())();}[_0x3f0cef(0xed)](){const _0x2d394e=_0x3f0cef,_0x4517ed=this[_0x2d394e(0xe8)],_0x3d7b1c=_0x4517ed[_0x2d394e(0x118)][_0x2d394e(0x103)](_0x2d394e(0xe6)),_0x1810e0=_0x4517ed[_0x2d394e(0x118)][_0x2d394e(0x103)](_0x13ae0a);if(!_0x3d7b1c[_0x2d394e(0x117)])throw new _0x5876f4(_0x2d394e(0x119),this);if(!_0x3d7b1c[_0x2d394e(0xf7)])throw new _0x5876f4(_0x2d394e(0x109),this);return this[_0x2d394e(0x101)][_0x2d394e(0xe7)](window,_0x2d394e(0xea),()=>this[_0x2d394e(0x11b)]=!0x0),this[_0x2d394e(0x101)][_0x2d394e(0xe7)](window,_0x2d394e(0x107),()=>this[_0x2d394e(0x11b)]=!0x1),this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0xf1)](_0x2d394e(0xd7),0xa),this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0xf1)](_0x2d394e(0xfa),0x14),WebSocketGateway[_0x2d394e(0xdb)][_0x2d394e(0xda)](_0x3d7b1c[_0x2d394e(0x117)],_0x3d7b1c[_0x2d394e(0xf7)],{'timeout':0x3e8*this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0x103)](_0x2d394e(0xd7)),'requestTimeout':0x3e8*this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0x103)](_0x2d394e(0xfa))})[_0x2d394e(0xeb)](_0x5bd212=>{const _0x4966e0=_0x2d394e;if(this[_0x4966e0(0xf5)]=_0x5bd212,this[_0x4966e0(0xe1)](_0x4966e0(0xd6))['to'](_0x5bd212,_0x4966e0(0xd6),this,_0x4966e0(0x11b),(_0xdad7de,_0x22b664)=>(_0x4966e0(0xf9)!==_0xdad7de&&(this[_0x4966e0(0x10b)]=!0x0),_0x22b664||_0xdad7de!==_0x498221[_0x4966e0(0x11a)]?_0x498221[_0x4966e0(0xe3)]:this[_0x4966e0(0xd6)]==_0x498221[_0x4966e0(0xe3)]&&this[_0x4966e0(0x10b)]?(this[_0x4966e0(0x10b)]=!0x1,this[_0x4966e0(0x104)](),_0x498221[_0x4966e0(0xe0)]):_0x498221[_0x4966e0(0x11a)])),this[_0x4966e0(0xf5)]['on'](_0x4966e0(0x11c),(_0x2411c8,_0x4d1797)=>{const _0x3db2f1=_0x4966e0;if(_0x3db2f1(0xf4)!==_0x4d1797[_0x3db2f1(0xf6)])throw console[_0x3db2f1(0x11c)](_0x4d1797),new _0x5876f4(_0x3db2f1(0x102),null,{'originalError':_0x4d1797});_0x1810e0[_0x3db2f1(0xec)](_0x3db2f1(0x106),{'title':_0x3db2f1(0xfd),'namespace':_0x3db2f1(0xf0)});}),!_0x5bd212['me'])return new Promise(_0x3401fc=>_0x5bd212['on'](_0x4966e0(0x100),_0x3401fc));})[_0x2d394e(0x10a)](_0x55a9e9=>{const _0x433c8d=_0x2d394e;throw console[_0x433c8d(0x11c)](_0x55a9e9),new _0x5876f4(_0x433c8d(0x102),null,{'originalError':_0x55a9e9});});}[_0x3f0cef(0x112)](_0x1525d4){const _0x3512bd=_0x3f0cef;if(_0x3512bd(0x105)!=typeof _0x1525d4[_0x3512bd(0xe9)])throw new _0x5876f4(_0x3512bd(0x11e),this);if(this[_0x3512bd(0xf8)](_0x1525d4))throw new _0x5876f4(_0x3512bd(0xe2),this,{'name':_0x1525d4[_0x3512bd(0xde)][_0x3512bd(0xe4)]});this[_0x3512bd(0x10c)][_0x3512bd(0x114)](_0x1525d4);}[_0x3f0cef(0x115)](_0x5a17f7){const _0x1b160d=_0x3f0cef;this[_0x1b160d(0x10c)][_0x1b160d(0xee)](_0x5a17f7);}[_0x3f0cef(0xf8)](_0x333383){const _0x379681=_0x3f0cef;return this[_0x379681(0x10c)][_0x379681(0x10d)](_0x333383);}[_0x3f0cef(0x104)](){const _0x3a9ab1=_0x3f0cef;return this[_0x3a9ab1(0xf5)][_0x3a9ab1(0xe9)]()[_0x3a9ab1(0xeb)](()=>Promise[_0x3a9ab1(0x111)](Array[_0x3a9ab1(0xff)](this[_0x3a9ab1(0x10c)],_0x29c893=>_0x29c893[_0x3a9ab1(0xe9)]())))[_0x3a9ab1(0xeb)](()=>this[_0x3a9ab1(0xd6)]=_0x498221[_0x3a9ab1(0x11a)])[_0x3a9ab1(0x10a)](_0x31294e=>{const _0x412ad7=_0x3a9ab1;throw console[_0x412ad7(0x11c)](_0x31294e),new _0x5876f4(_0x412ad7(0xdf),this[_0x412ad7(0xe8)]);});}[_0x3f0cef(0xf3)](){const _0x12700e=_0x3f0cef;this[_0x12700e(0xf5)]&&this[_0x12700e(0xf5)][_0x12700e(0xf3)](),this[_0x12700e(0xd6)]=_0x498221[_0x12700e(0xe3)],this[_0x12700e(0x101)][_0x12700e(0xfb)]();}[_0x3f0cef(0x113)](){const _0xfd88ab=_0x3f0cef;this[_0xfd88ab(0xf3)](),super[_0xfd88ab(0x113)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x510397=_0x4bae;function _0x1182(){var _0x41ef55=['isPremiumPlugin','16209BauQFu','14425TWoVnq','604XPhwAy','isOfficialPlugin','RealTimeCollaborativeEditing','407890OSRbZA','231CknJqE','1096xdyOAZ','1503552sIOFpx','pluginName','2323349hrDivA','248784TsrbRU','3awYOzv','requires','1029531ypKRsU'];_0x1182=function(){return _0x41ef55;};return _0x1182();}(function(_0x15e592,_0x5d9c){var _0x2f0b60=_0x4bae,_0x382398=_0x15e592();while(!![]){try{var _0x279f13=parseInt(_0x2f0b60(0x130))/0x1*(-parseInt(_0x2f0b60(0x12f))/0x2)+parseInt(_0x2f0b60(0x132))/0x3+parseInt(_0x2f0b60(0x126))/0x4*(-parseInt(_0x2f0b60(0x125))/0x5)+-parseInt(_0x2f0b60(0x12c))/0x6+parseInt(_0x2f0b60(0x12e))/0x7+parseInt(_0x2f0b60(0x12b))/0x8*(-parseInt(_0x2f0b60(0x124))/0x9)+parseInt(_0x2f0b60(0x129))/0xa*(parseInt(_0x2f0b60(0x12a))/0xb);if(_0x279f13===_0x5d9c)break;else _0x382398['push'](_0x382398['shift']());}catch(_0x235af7){_0x382398['push'](_0x382398['shift']());}}}(_0x1182,0x370e9));function _0x4bae(_0x9974cd,_0x16ff9e){var _0x118235=_0x1182();return _0x4bae=function(_0x4baeb8,_0x1d1122){_0x4baeb8=_0x4baeb8-0x124;var _0x3098b3=_0x118235[_0x4baeb8];return _0x3098b3;},_0x4bae(_0x9974cd,_0x16ff9e);}import{Plugin as _0x58f413}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x3b968d}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x58f413{static get[_0x510397(0x131)](){return[_0x3b968d];}static get[_0x510397(0x12d)](){var _0x1064cd=_0x510397;return _0x1064cd(0x128);}static get[_0x510397(0x127)](){return!0x0;}static get[_0x510397(0x133)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x499804)());[_0x3da807(0x138)];[_0x3da807(0x14f)];[_0x3da807(0x15e)];[_0x3da807(0x15f)];static get[_0x3da807(0x174)](){const _0x3f37b7=_0x3da807;return[_0x38d897,_0x4b42ba,_0x3f37b7(0x10b),_0xda2177,_0x478c9d];}static get[_0x3da807(0x16c)](){const _0x56bef4=_0x3da807;return _0x56bef4(0x122);}static get[_0x3da807(0x110)](){return!0x0;}static get[_0x3da807(0x14a)](){return!0x0;}constructor(_0x3fc07b){const _0x1488f4=_0x3da807;super(_0x3fc07b);const _0x48fdd7=this[_0x1488f4(0x14b)][_0x1488f4(0x133)][_0x1488f4(0x152)](_0x1488f4(0x11f));this[_0x1488f4(0x138)]=null,this[_0x1488f4(0x14f)]=this[_0x1488f4(0x14b)][_0x1488f4(0x13f)][_0x1488f4(0x152)](_0x1488f4(0x147)),this[_0x1488f4(0x15e)]=new CloudServicesRevisionHistoryAdapter[(_0x1488f4(0x173))](_0x48fdd7);}async[_0x3da807(0x167)](){const _0x9514e=_0x3da807,_0x2f81c7=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x4b42ba),_0x4280b0=_0x2f81c7[_0x9514e(0x127)],_0x586ef4=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x38d897);this[_0x9514e(0x14f)][_0x9514e(0x169)]({'history':_0x4280b0,'getLatestVersion':()=>this[_0x9514e(0x13d)](),'getCurrentRevisionId':()=>_0x2f81c7[_0x9514e(0x134)]});const _0x37f475=this[_0x9514e(0x14b)][_0x9514e(0x133)][_0x9514e(0x152)](_0x9514e(0x157))||_0x594537,_0x1ec2ae=await _0x104b27[_0x9514e(0x153)](_0x586ef4[_0x9514e(0x179)],_0x37f475);this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x9514e(0x10b))[_0x9514e(0x150)]={'getRevision':async({revisionId:_0x879057})=>(await this[_0x9514e(0x160)](),await this[_0x9514e(0x15e)][_0x9514e(0x151)](_0x879057)),'updateRevisions':async _0x5c780c=>{const _0x14f96c=_0x9514e;await this[_0x14f96c(0x160)]();const _0x16e25e=this[_0x14f96c(0x14f)][_0x14f96c(0x13c)];if(_0x1ec2ae&&0x1===_0x5c780c[_0x14f96c(0x12d)]&&_0x5c780c[0x0]['id']===_0x16e25e['id'])return _0x5c780c;for(const _0x58ebc2 of _0x5c780c)_0x58ebc2['id']===_0x16e25e['id']&&(_0x58ebc2[_0x14f96c(0x158)]=_0x58ebc2[_0x14f96c(0x17d)]===_0x58ebc2[_0x14f96c(0x162)]);return this[_0x14f96c(0x15e)][_0x14f96c(0x121)](_0x5c780c,this[_0x14f96c(0x138)])[_0x14f96c(0x126)](_0x2b4e24=>(this[_0x14f96c(0x138)]=_0x2b4e24,_0x5c780c))[_0x14f96c(0x12a)](_0x3adde4=>{const _0x788e44=_0x14f96c;if(J(_0x3adde4)||_0x788e44(0x159)===_0x3adde4[_0x788e44(0x16b)]&&void 0x0!==_0x3adde4[_0x788e44(0x117)][_0x788e44(0x128)]){for(const _0x59b23b of _0x5c780c){!this[_0x788e44(0x14f)][_0x788e44(0x10d)][_0x788e44(0x151)](_0x59b23b['id'])||this[_0x788e44(0x14f)][_0x788e44(0x139)](_0x59b23b['id'],_0x59b23b,!0x1);}if(J(_0x3adde4))throw _0x3adde4;return _0x5c780c;}throw _0x3adde4;});}},this[_0x9514e(0x165)](this[_0x9514e(0x15e)],_0x9514e(0x166),(_0x4ac28a,{revisionsData:_0xaafd10,requestId:_0x1dae66})=>{const _0x3b7f03=_0x9514e;Math[_0x3b7f03(0x163)](..._0xaafd10[_0x3b7f03(0x178)](_0x31ba7c=>_0x31ba7c[_0x3b7f03(0x162)]))>this[_0x3b7f03(0x124)]()-0x1?this[_0x3b7f03(0x13d)]()[_0x3b7f03(0x126)](()=>{const _0x1ed352=_0x3b7f03;this[_0x1ed352(0x16d)](_0xaafd10,_0x1dae66);}):this[_0x3b7f03(0x16d)](_0xaafd10,_0x1dae66);});const {revisions:_0x482e97,requestId:_0x1c0540}=await this[_0x9514e(0x15e)][_0x9514e(0x15b)](_0x586ef4[_0x9514e(0x179)]);_0x586ef4[_0x9514e(0x11e)](this),this[_0x9514e(0x138)]=_0x1c0540,await this[_0x9514e(0x16e)](_0x482e97);for(const _0x2b36ce of _0x482e97)this[_0x9514e(0x14f)][_0x9514e(0x15c)](_0x2b36ce);this[_0x9514e(0x165)](_0x2f81c7,_0x9514e(0x112),(_0x24c09e,_0x22e356,_0xbdcde2)=>{const _0x57884d=_0x9514e;_0xbdcde2&&(this[_0x57884d(0x15f)]=_0x2f81c7[_0x57884d(0x109)],_0x24c09e[_0x57884d(0x168)]());}),this[_0x9514e(0x14f)][_0x9514e(0x10e)](_0x9514e(0x120))['to'](_0x586ef4,_0x9514e(0x143),_0x246590=>_0x246590===_0x2a3b28[_0x9514e(0x175)]);}async[_0x3da807(0x11d)](){const _0x2dd369=_0x3da807,_0x878bfe=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x38d897),_0x5d5adf=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x4b42ba),_0x179417=async()=>{const _0x208027=_0x2dd369,_0x31a3a6=this[_0x208027(0x14f)][_0x208027(0x13c)],_0x388cca=_0x31a3a6['id'],_0xf695ff=_0x388cca!==_0x5d5adf[_0x208027(0x134)];if(_0xf695ff){const _0x8c1df3=_0x5d5adf[_0x208027(0x109)]-this[_0x208027(0x15f)],_0x42f481=this[_0x208027(0x124)]();this[_0x208027(0x14f)][_0x208027(0x11b)][_0x208027(0x145)]();if(_0x31a3a6[_0x208027(0x162)]+_0x8c1df3!==_0x42f481){const _0x148bf=_0x31a3a6[_0x208027(0x17d)]+_0x8c1df3,_0xd9a7c6=this[_0x208027(0x14b)][_0x208027(0x13f)][_0x208027(0x152)](_0x478c9d),_0x4cae94=this[_0x208027(0x14f)][_0x208027(0x15a)]({'revision':_0x31a3a6,'from':_0x148bf,'to':_0x42f481});_0x4cae94['id']=_0x31a3a6['id'];const _0x21aa47=_0x4cae94[_0x208027(0x170)][_0x208027(0x178)](_0x506c7d=>_0xd9a7c6[_0x208027(0x13a)](_0x506c7d));_0x31a3a6[_0x208027(0x12f)]({..._0x4cae94,'authors':_0x21aa47},!0x0),this[_0x208027(0x14f)][_0x208027(0x139)](_0x31a3a6['id'],_0x4cae94,!0x0);}this[_0x208027(0x14f)][_0x208027(0x15d)]=_0x42f481,(_0x31a3a6[_0x208027(0x162)]===_0x31a3a6[_0x208027(0x17d)]&&!this[_0x208027(0x14f)][_0x208027(0x113)][_0x208027(0x108)](_0x388cca)&&this[_0x208027(0x14f)][_0x208027(0x10d)][_0x208027(0x176)][_0x208027(0x16a)](_0x388cca),this[_0x208027(0x14f)][_0x208027(0x129)](_0x42f481));}const {revisions:_0x2793d6,requestId:_0x2f5dc0}=await this[_0x208027(0x15e)][_0x208027(0x11d)](_0x878bfe[_0x208027(0x179)],this[_0x208027(0x138)]);_0xf695ff&&_0x2793d6[_0x208027(0x12d)]>0x0?_0x5d5adf[_0x208027(0x16f)]():(await this[_0x208027(0x16e)](_0x2793d6),this[_0x208027(0x16d)](_0x2793d6,_0x2f5dc0),this[_0x208027(0x14f)][_0x208027(0x10a)]());};return _0x5d5adf[_0x2dd369(0x132)]?_0x179417():new Promise((_0x49a254,_0x31d924)=>{const _0x5d977c=_0x2dd369;_0x5d5adf[_0x5d977c(0x177)](_0x5d977c(0x112),()=>{const _0x1cf7c0=_0x5d977c;_0x179417()[_0x1cf7c0(0x126)](_0x49a254)[_0x1cf7c0(0x12a)](_0x31d924);});});}[_0x3da807(0x146)](){const _0x48c0a8=_0x3da807;super[_0x48c0a8(0x146)]();}async[_0x3da807(0x160)](){const _0x2b806a=_0x3da807;this[_0x2b806a(0x15e)][_0x2b806a(0x130)]||await new Promise(_0x1726af=>{const _0x146c32=_0x2b806a;this[_0x146c32(0x165)](this[_0x146c32(0x15e)],_0x146c32(0x148),_0x30b147=>{const _0x3c24bf=_0x146c32;_0x30b147[_0x3c24bf(0x168)](),_0x1726af();});});}[_0x3da807(0x124)](){const _0x3cc916=_0x3da807,_0x3ac162=this[_0x3cc916(0x14b)][_0x3cc916(0x13f)][_0x3cc916(0x152)](_0x4b42ba)[_0x3cc916(0x127)][_0x3cc916(0x14e)]()[_0x3cc916(0x107)]();for(const _0x19b655 of _0x3ac162)if(_0x3cc916(0x137)!==_0x19b655[_0x3cc916(0x13b)]||_0x19b655[_0x3cc916(0x161)])return _0x19b655[_0x3cc916(0x156)]+0x1;}[_0x3da807(0x13d)](){const _0x5958c4=_0x3da807,_0x5b3bee=this[_0x5958c4(0x14b)][_0x5958c4(0x13f)][_0x5958c4(0x152)](_0x4b42ba);return new Promise(_0x41b3fb=>{const _0x41829b=_0x5958c4;_0x5b3bee[_0x41829b(0x142)]?_0x5b3bee[_0x41829b(0x177)](_0x41829b(0x125),()=>{const _0x54c5fd=_0x41829b;_0x41b3fb(this[_0x54c5fd(0x124)]());}):_0x41b3fb(this[_0x41829b(0x124)]());});}[_0x3da807(0x16d)](_0x3ed70b,_0x2f8728){const _0x12024=_0x3da807,_0x19ccbb=this[_0x12024(0x14f)][_0x12024(0x10d)];this[_0x12024(0x138)]=_0x2f8728;for(const _0x4e3c1a of _0x3ed70b){const _0x490054=_0x19ccbb[_0x12024(0x151)](_0x4e3c1a['id']);if(_0x490054){if((_0x4e3c1a[_0x12024(0x17d)]||_0x4e3c1a[_0x12024(0x162)])&&(_0x4e3c1a[_0x12024(0x12b)]=null),_0x490054===this[_0x12024(0x14f)][_0x12024(0x13c)]){const _0x3cb672=Math[_0x12024(0x163)](_0x490054[_0x12024(0x162)],_0x4e3c1a[_0x12024(0x162)]),_0x59137f=Math[_0x12024(0x163)](_0x490054[_0x12024(0x17d)],_0x4e3c1a[_0x12024(0x17d)]);let _0xf4714e;_0x490054[_0x12024(0x162)]===_0x4e3c1a[_0x12024(0x162)]&&_0x490054[_0x12024(0x17d)]===_0x4e3c1a[_0x12024(0x17d)]?(_0xf4714e=!0x0,this[_0x12024(0x149)](_0x4e3c1a)):_0x4e3c1a[_0x12024(0x162)]===_0x3cb672&&_0x4e3c1a[_0x12024(0x17d)]===_0x59137f?_0xf4714e=!0x1:(_0x490054[_0x12024(0x162)]===_0x3cb672&&_0x490054[_0x12024(0x17d)]===_0x59137f||this[_0x12024(0x123)]({'revision':_0x490054,'from':_0x59137f,'to':_0x3cb672}),_0xf4714e=!0x0),_0xf4714e&&(delete _0x4e3c1a[_0x12024(0x17d)],delete _0x4e3c1a[_0x12024(0x162)],delete _0x4e3c1a[_0x12024(0x12b)],delete _0x4e3c1a[_0x12024(0x14d)],delete _0x4e3c1a[_0x12024(0x170)]);}this[_0x12024(0x14f)][_0x12024(0x135)](_0x4e3c1a),this[_0x12024(0x149)](_0x4e3c1a);}else this[_0x12024(0x14f)][_0x12024(0x15c)](_0x4e3c1a);}const _0x261779=_0x19ccbb[_0x12024(0x172)]();_0x261779[_0x12024(0x107)]();for(let _0x309928=0x0;_0x309928<_0x261779[_0x12024(0x12d)]-0x1;_0x309928++){const _0x50b806=_0x261779[_0x309928],_0xbd79ba=_0x261779[_0x309928+0x1];if(_0x50b806[_0x12024(0x17d)]<_0xbd79ba[_0x12024(0x162)]){const _0x352b7d=_0xbd79ba[_0x12024(0x162)],_0x2723be=Math[_0x12024(0x163)](_0x352b7d,_0x50b806[_0x12024(0x162)]);this[_0x12024(0x123)]({'revision':_0x50b806,'from':_0x352b7d,'to':_0x2723be});}}}[_0x3da807(0x123)]({revision:_0x4c1f53,from:_0x12708e,to:_0x2a993b}={}){const _0x44e655=_0x3da807,_0x58239c=this[_0x44e655(0x14b)][_0x44e655(0x13f)][_0x44e655(0x152)](_0x478c9d),_0x51af0b=this[_0x44e655(0x14f)][_0x44e655(0x15a)]({'revision':_0x4c1f53,'from':_0x12708e,'to':_0x2a993b});_0x51af0b[_0x44e655(0x115)]=_0x51af0b[_0x44e655(0x170)][_0x44e655(0x178)](_0x29e77d=>_0x58239c[_0x44e655(0x13a)](_0x29e77d)),_0x4c1f53[_0x44e655(0x12f)](_0x51af0b);}[_0x3da807(0x149)](_0x30a9ec){const _0x2a37f9=_0x3da807,_0x5d1150={};_0x5d1150['id']=_0x30a9ec['id'];for(const _0x12583c of Object[_0x2a37f9(0x111)](_0x30a9ec))'id'!==_0x12583c&&(_0x5d1150[_0x12583c]=void 0x0);this[_0x2a37f9(0x14f)][_0x2a37f9(0x139)](_0x5d1150['id'],_0x5d1150,!0x0);}async[_0x3da807(0x16e)](_0x2d7216){const _0x1dfc2b=_0x3da807,_0x483b01=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x478c9d),{connection:_0x5f2f25}=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x38d897),_0x213109=new Set();for(const _0x353bdc of _0x2d7216){for(const _0x4daa0c of _0x353bdc[_0x1dfc2b(0x170)])_0x29e8f8(_0x4daa0c);_0x353bdc[_0x1dfc2b(0x136)]&&_0x29e8f8(_0x353bdc[_0x1dfc2b(0x136)]);}if(0x0===_0x213109[_0x1dfc2b(0x131)])return;const _0xf522f=await _0x428dcd[_0x1dfc2b(0x17c)](_0x5f2f25,Array[_0x1dfc2b(0x10c)](_0x213109));for(const _0x23562f of _0xf522f)_0x483b01[_0x1dfc2b(0x13a)](_0x23562f['id'])||_0x483b01[_0x1dfc2b(0x140)](_0x23562f);function _0x29e8f8(_0x4cbf1c){const _0x264999=_0x1dfc2b;_0x483b01[_0x264999(0x13a)](_0x4cbf1c)||_0x213109[_0x264999(0x13e)](_0x4cbf1c);}}}function _0x1a7f(_0x333775,_0x11ce62){const _0x29be42=_0x29be();return _0x1a7f=function(_0x1a7f9c,_0x22a6c2){_0x1a7f9c=_0x1a7f9c-0x107;let _0x7d60eb=_0x29be42[_0x1a7f9c];return _0x7d60eb;},_0x1a7f(_0x333775,_0x11ce62);}function J(_0x462c29){const _0xbe2007=_0x3da807;return _0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x155))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x11c))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x14c));}
|
|
23
|
+
const _0x412485=_0x36ad;(function(_0x179403,_0xba19be){const _0x334823=_0x36ad,_0x25c759=_0x179403();while(!![]){try{const _0x12713f=parseInt(_0x334823(0x16e))/0x1+-parseInt(_0x334823(0x1b5))/0x2*(parseInt(_0x334823(0x17f))/0x3)+-parseInt(_0x334823(0x167))/0x4+-parseInt(_0x334823(0x1a8))/0x5+parseInt(_0x334823(0x194))/0x6+-parseInt(_0x334823(0x18b))/0x7+-parseInt(_0x334823(0x188))/0x8*(-parseInt(_0x334823(0x191))/0x9);if(_0x12713f===_0xba19be)break;else _0x25c759['push'](_0x25c759['shift']());}catch(_0x42500e){_0x25c759['push'](_0x25c759['shift']());}}}(_0x4589,0xe231a));import{Plugin as _0x3887a4}from'ckeditor5/src/core.js';function _0x4589(){const _0x259874=['connection','cloud-services-internal-error:\x20Not\x20connected.','keys','reverse','wrongRequestId','requires','connected','addRevisionData','map','isEmptyCurrent','_startingVersion','config','data','getMany','isBundleUploaded','getRevisions','bind','remove','RevisionHistory','_fetchMissingUsers','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','collaboration.channelId','updateRevisions','_bufferUpdate','getOperations','RevisionTracker','setRevisionData','startsWith','get','code','state','CONNECTED','adapter','catch','5839452SfoqFc','buildRevisionData','_revisionDataBuilder','revisionsUpdated','destroy','add','_revisionTracker','400469Aqjpsp','editor','diffData','cloudServices.bundleVersion','addToReconnectionStack','isEnabled','baseVersion','reInit','_waitForServiceReady','_lastRequestId','reconnect','plugins','isConnected','400','creatorId','pluginName','_handleRevisionsUpdate','2270604dGjavA','then','fromVersion','once','getRevision','sendBufferedUpdates','currentRevision','has','_isConnected','136JzswgG','type','authors','10417400KAHbsb','_fixRevision','change:_isPendingUpdate','setSource','marker','_update','2146617xnJloE','from','createdAt','10291332KfoumC','serverHistory','_isPendingUpdate','CloudServicesRevisionHistoryAdapter','_handleReconnectionError','isOfficialPlugin','repository','_getLatestVersionFromServerOperations','affectsData','size','addUser','off','cloud-services-internal-error:\x20Request\x20timeout.','getUser','_getLatestVersion','authorsIds','sessionId','_oldOffset','_offset','length','3910615WUCwIu','message','_revisionHistoryService','connect','_createCurrentRevision','_bufferedUpdates','_revisions','isPremiumPlugin','max','init','toVersion','_preventResendingRevisionData','listenTo','4mEiinD','change:_isConnected','RevisionHistoryService'];_0x4589=function(){return _0x259874;};return _0x4589();}import{version as _0x753e11}from'ckeditor5/src/utils.js';import{Users as _0x94c81b}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x323deb}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x306636}from'../realtimecollaborativeediting/websocketgateway.js';function _0x36ad(_0x2ca817,_0x3a0936){const _0x4589d2=_0x4589();return _0x36ad=function(_0x36ad3f,_0x1b6162){_0x36ad3f=_0x36ad3f-0x158;let _0x5a69d0=_0x4589d2[_0x36ad3f];return _0x5a69d0;},_0x36ad(_0x2ca817,_0x3a0936);}import{Sessions as _0x2ba5e5}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x173588,RevisionHistoryService as _0x36f512,User as _0x1fa1d5,WEB_SOCKET_GATEWAY_STATES as _0x586d21}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x3887a4{static [_0x412485(0x1b7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x36f512)());[_0x412485(0x177)];[_0x412485(0x16d)];[_0x412485(0x1aa)];[_0x412485(0x1a5)];static get[_0x412485(0x1bd)](){const _0x38e555=_0x412485;return[_0x306636,_0x323deb,_0x38e555(0x1ca),_0x2ba5e5,_0x94c81b];}static get[_0x412485(0x17d)](){const _0xc0d3c3=_0x412485;return _0xc0d3c3(0x197);}static get[_0x412485(0x199)](){return!0x0;}static get[_0x412485(0x1af)](){return!0x0;}constructor(_0x42546f){const _0x46f373=_0x412485;super(_0x42546f);const _0x26aaa0=this[_0x46f373(0x16f)][_0x46f373(0x1c3)][_0x46f373(0x161)](_0x46f373(0x15a));this[_0x46f373(0x177)]=null,this[_0x46f373(0x16d)]=this[_0x46f373(0x16f)][_0x46f373(0x179)][_0x46f373(0x161)](_0x46f373(0x15e)),this[_0x46f373(0x1aa)]=new CloudServicesRevisionHistoryAdapter[(_0x46f373(0x1b7))](_0x26aaa0);}async[_0x412485(0x1b1)](){const _0x1b86c5=_0x412485,_0x3527b9=this[_0x1b86c5(0x16f)][_0x1b86c5(0x179)][_0x1b86c5(0x161)](_0x323deb),_0x34d3c9=_0x3527b9[_0x1b86c5(0x195)],_0x7bd56f=this[_0x1b86c5(0x16f)][_0x1b86c5(0x179)][_0x1b86c5(0x161)](_0x306636);this[_0x1b86c5(0x16d)][_0x1b86c5(0x18e)]({'history':_0x34d3c9,'getLatestVersion':()=>this[_0x1b86c5(0x1a2)](),'getCurrentRevisionId':()=>_0x3527b9[_0x1b86c5(0x1a4)]});const _0x2e8420=this[_0x1b86c5(0x16f)][_0x1b86c5(0x1c3)][_0x1b86c5(0x161)](_0x1b86c5(0x171))||_0x753e11,_0x3f0c5e=await _0x173588[_0x1b86c5(0x1c6)](_0x7bd56f[_0x1b86c5(0x1b8)],_0x2e8420);this[_0x1b86c5(0x16f)][_0x1b86c5(0x179)][_0x1b86c5(0x161)](_0x1b86c5(0x1ca))[_0x1b86c5(0x165)]={'getRevision':async({revisionId:_0x53fd4a})=>(await this[_0x1b86c5(0x176)](),await this[_0x1b86c5(0x1aa)][_0x1b86c5(0x183)](_0x53fd4a)),'updateRevisions':async _0x4b3b63=>{const _0x479a2f=_0x1b86c5;await this[_0x479a2f(0x176)]();const _0x3ca5=this[_0x479a2f(0x16d)][_0x479a2f(0x185)];if(_0x3f0c5e&&0x1===_0x4b3b63[_0x479a2f(0x1a7)]&&_0x4b3b63[0x0]['id']===_0x3ca5['id'])return _0x4b3b63;for(const _0x3f6938 of _0x4b3b63)_0x3f6938['id']===_0x3ca5['id']&&(_0x3f6938[_0x479a2f(0x1c1)]=_0x3f6938[_0x479a2f(0x181)]===_0x3f6938[_0x479a2f(0x1b2)]);return this[_0x479a2f(0x1aa)][_0x479a2f(0x15b)](_0x4b3b63,this[_0x479a2f(0x177)])[_0x479a2f(0x180)](_0x4f18ee=>(this[_0x479a2f(0x177)]=_0x4f18ee,_0x4b3b63))[_0x479a2f(0x166)](_0x2089ec=>{const _0x36dea4=_0x479a2f;if(M(_0x2089ec)||_0x36dea4(0x17b)===_0x2089ec[_0x36dea4(0x162)]&&void 0x0!==_0x2089ec[_0x36dea4(0x1c4)][_0x36dea4(0x1bc)]){for(const _0x10aee9 of _0x4b3b63){!this[_0x36dea4(0x16d)][_0x36dea4(0x19a)][_0x36dea4(0x183)](_0x10aee9['id'])||this[_0x36dea4(0x16d)][_0x36dea4(0x15c)](_0x10aee9['id'],_0x10aee9,!0x1);}if(M(_0x2089ec))throw _0x2089ec;return _0x4b3b63;}throw _0x2089ec;});}},this[_0x1b86c5(0x1b4)](this[_0x1b86c5(0x1aa)],_0x1b86c5(0x16a),(_0x38b013,{revisionsData:_0x34ca6d,requestId:_0x1c0f2d})=>{const _0x35ff42=_0x1b86c5;Math[_0x35ff42(0x1b0)](..._0x34ca6d[_0x35ff42(0x1c0)](_0x378aa3=>_0x378aa3[_0x35ff42(0x1b2)]))>this[_0x35ff42(0x19b)]()-0x1?this[_0x35ff42(0x1a2)]()[_0x35ff42(0x180)](()=>{const _0x29a185=_0x35ff42;this[_0x29a185(0x17e)](_0x34ca6d,_0x1c0f2d);}):this[_0x35ff42(0x17e)](_0x34ca6d,_0x1c0f2d);});const {revisions:_0x147b6e,requestId:_0x853f15}=await this[_0x1b86c5(0x1aa)][_0x1b86c5(0x1ab)](_0x7bd56f[_0x1b86c5(0x1b8)]);_0x7bd56f[_0x1b86c5(0x172)](this),this[_0x1b86c5(0x177)]=_0x853f15,await this[_0x1b86c5(0x158)](_0x147b6e);for(const _0x41a480 of _0x147b6e)this[_0x1b86c5(0x16d)][_0x1b86c5(0x1bf)](_0x41a480);this[_0x1b86c5(0x1b4)](_0x3527b9,_0x1b86c5(0x1b6),(_0x181946,_0x10c01c,_0xeeb2ff)=>{const _0x5b65c1=_0x1b86c5;_0xeeb2ff&&(this[_0x5b65c1(0x1a5)]=_0x3527b9[_0x5b65c1(0x1a6)],_0x181946[_0x5b65c1(0x19f)]());}),this[_0x1b86c5(0x16d)][_0x1b86c5(0x1c8)](_0x1b86c5(0x173))['to'](_0x7bd56f,_0x1b86c5(0x163),_0x405432=>_0x405432===_0x586d21[_0x1b86c5(0x164)]);}async[_0x412485(0x178)](){const _0xd49984=_0x412485,_0x264735=this[_0xd49984(0x16f)][_0xd49984(0x179)][_0xd49984(0x161)](_0x306636),_0x30737d=this[_0xd49984(0x16f)][_0xd49984(0x179)][_0xd49984(0x161)](_0x323deb),_0x1e0743=async()=>{const _0x3db516=_0xd49984,_0x834e33=this[_0x3db516(0x16d)][_0x3db516(0x185)],_0x1a8bb6=_0x834e33['id'],_0x27889c=_0x1a8bb6!==_0x30737d[_0x3db516(0x1a4)];if(_0x27889c){const _0x27f0f0=_0x30737d[_0x3db516(0x1a6)]-this[_0x3db516(0x1a5)],_0x2305aa=this[_0x3db516(0x19b)]();this[_0x3db516(0x16d)][_0x3db516(0x169)][_0x3db516(0x175)]();if(_0x834e33[_0x3db516(0x1b2)]+_0x27f0f0!==_0x2305aa){const _0x46aa28=_0x834e33[_0x3db516(0x181)]+_0x27f0f0,_0x52f686=this[_0x3db516(0x16f)][_0x3db516(0x179)][_0x3db516(0x161)](_0x94c81b),_0x29c2ad=this[_0x3db516(0x16d)][_0x3db516(0x168)]({'revision':_0x834e33,'from':_0x46aa28,'to':_0x2305aa});_0x29c2ad['id']=_0x834e33['id'];const _0x400746=_0x29c2ad[_0x3db516(0x1a3)][_0x3db516(0x1c0)](_0x55131d=>_0x52f686[_0x3db516(0x1a1)](_0x55131d));_0x834e33[_0x3db516(0x190)]({..._0x29c2ad,'authors':_0x400746},!0x0),this[_0x3db516(0x16d)][_0x3db516(0x15c)](_0x834e33['id'],_0x29c2ad,!0x0);}this[_0x3db516(0x16d)][_0x3db516(0x1c2)]=_0x2305aa,(_0x834e33[_0x3db516(0x1b2)]===_0x834e33[_0x3db516(0x181)]&&!this[_0x3db516(0x16d)][_0x3db516(0x1ad)][_0x3db516(0x186)](_0x1a8bb6)&&this[_0x3db516(0x16d)][_0x3db516(0x19a)][_0x3db516(0x1ae)][_0x3db516(0x1c9)](_0x1a8bb6),this[_0x3db516(0x16d)][_0x3db516(0x1ac)](_0x2305aa));}const {revisions:_0x1de97d,requestId:_0x39393e}=await this[_0x3db516(0x1aa)][_0x3db516(0x178)](_0x264735[_0x3db516(0x1b8)],this[_0x3db516(0x177)]);_0x27889c&&_0x1de97d[_0x3db516(0x1a7)]>0x0?_0x30737d[_0x3db516(0x198)]():(await this[_0x3db516(0x158)](_0x1de97d),this[_0x3db516(0x17e)](_0x1de97d,_0x39393e),this[_0x3db516(0x16d)][_0x3db516(0x184)]());};return _0x30737d[_0xd49984(0x187)]?_0x1e0743():new Promise((_0x2e6af5,_0x595252)=>{const _0x4b23c0=_0xd49984;_0x30737d[_0x4b23c0(0x182)](_0x4b23c0(0x1b6),()=>{const _0x39d2f6=_0x4b23c0;_0x1e0743()[_0x39d2f6(0x180)](_0x2e6af5)[_0x39d2f6(0x166)](_0x595252);});});}[_0x412485(0x16b)](){const _0x3bc4f2=_0x412485;super[_0x3bc4f2(0x16b)]();}async[_0x412485(0x176)](){const _0x2d7eee=_0x412485;this[_0x2d7eee(0x1aa)][_0x2d7eee(0x17a)]||await new Promise(_0x363343=>{const _0xbc5965=_0x2d7eee;this[_0xbc5965(0x1b4)](this[_0xbc5965(0x1aa)],_0xbc5965(0x1be),_0x568f8f=>{const _0x2b41fc=_0xbc5965;_0x568f8f[_0x2b41fc(0x19f)](),_0x363343();});});}[_0x412485(0x19b)](){const _0x31a4d6=_0x412485,_0x2d98c7=this[_0x31a4d6(0x16f)][_0x31a4d6(0x179)][_0x31a4d6(0x161)](_0x323deb)[_0x31a4d6(0x195)][_0x31a4d6(0x15d)]()[_0x31a4d6(0x1bb)]();for(const _0x32c549 of _0x2d98c7)if(_0x31a4d6(0x18f)!==_0x32c549[_0x31a4d6(0x189)]||_0x32c549[_0x31a4d6(0x19c)])return _0x32c549[_0x31a4d6(0x174)]+0x1;}[_0x412485(0x1a2)](){const _0x5072f6=_0x412485,_0x2c7335=this[_0x5072f6(0x16f)][_0x5072f6(0x179)][_0x5072f6(0x161)](_0x323deb);return new Promise(_0xd13caa=>{const _0x5daa7b=_0x5072f6;_0x2c7335[_0x5daa7b(0x196)]?_0x2c7335[_0x5daa7b(0x182)](_0x5daa7b(0x18d),()=>{const _0x105b93=_0x5daa7b;_0xd13caa(this[_0x105b93(0x19b)]());}):_0xd13caa(this[_0x5daa7b(0x19b)]());});}[_0x412485(0x17e)](_0x2c3650,_0x282642){const _0x16d640=_0x412485,_0x2c17a9=this[_0x16d640(0x16d)][_0x16d640(0x19a)];this[_0x16d640(0x177)]=_0x282642;for(const _0x110026 of _0x2c3650){const _0x95b27b=_0x2c17a9[_0x16d640(0x183)](_0x110026['id']);if(_0x95b27b){if((_0x110026[_0x16d640(0x181)]||_0x110026[_0x16d640(0x1b2)])&&(_0x110026[_0x16d640(0x170)]=null),_0x95b27b===this[_0x16d640(0x16d)][_0x16d640(0x185)]){const _0x5ad2ca=Math[_0x16d640(0x1b0)](_0x95b27b[_0x16d640(0x1b2)],_0x110026[_0x16d640(0x1b2)]),_0x485a0d=Math[_0x16d640(0x1b0)](_0x95b27b[_0x16d640(0x181)],_0x110026[_0x16d640(0x181)]);let _0x48868b;_0x95b27b[_0x16d640(0x1b2)]===_0x110026[_0x16d640(0x1b2)]&&_0x95b27b[_0x16d640(0x181)]===_0x110026[_0x16d640(0x181)]?(_0x48868b=!0x0,this[_0x16d640(0x1b3)](_0x110026)):_0x110026[_0x16d640(0x1b2)]===_0x5ad2ca&&_0x110026[_0x16d640(0x181)]===_0x485a0d?_0x48868b=!0x1:(_0x95b27b[_0x16d640(0x1b2)]===_0x5ad2ca&&_0x95b27b[_0x16d640(0x181)]===_0x485a0d||this[_0x16d640(0x18c)]({'revision':_0x95b27b,'from':_0x485a0d,'to':_0x5ad2ca}),_0x48868b=!0x0),_0x48868b&&(delete _0x110026[_0x16d640(0x181)],delete _0x110026[_0x16d640(0x1b2)],delete _0x110026[_0x16d640(0x170)],delete _0x110026[_0x16d640(0x193)],delete _0x110026[_0x16d640(0x1a3)]);}this[_0x16d640(0x16d)][_0x16d640(0x15f)](_0x110026),this[_0x16d640(0x1b3)](_0x110026);}else this[_0x16d640(0x16d)][_0x16d640(0x1bf)](_0x110026);}const _0x147261=_0x2c17a9[_0x16d640(0x1c7)]();_0x147261[_0x16d640(0x1bb)]();for(let _0x1b3c34=0x0;_0x1b3c34<_0x147261[_0x16d640(0x1a7)]-0x1;_0x1b3c34++){const _0xa1ba8c=_0x147261[_0x1b3c34],_0x5cf2b9=_0x147261[_0x1b3c34+0x1];if(_0xa1ba8c[_0x16d640(0x181)]<_0x5cf2b9[_0x16d640(0x1b2)]){const _0x329ae2=_0x5cf2b9[_0x16d640(0x1b2)],_0xb71c2c=Math[_0x16d640(0x1b0)](_0x329ae2,_0xa1ba8c[_0x16d640(0x1b2)]);this[_0x16d640(0x18c)]({'revision':_0xa1ba8c,'from':_0x329ae2,'to':_0xb71c2c});}}}[_0x412485(0x18c)]({revision:_0x229365,from:_0x328bea,to:_0x331b7d}={}){const _0x3fdc8d=_0x412485,_0x503f65=this[_0x3fdc8d(0x16f)][_0x3fdc8d(0x179)][_0x3fdc8d(0x161)](_0x94c81b),_0x50b27e=this[_0x3fdc8d(0x16d)][_0x3fdc8d(0x168)]({'revision':_0x229365,'from':_0x328bea,'to':_0x331b7d});_0x50b27e[_0x3fdc8d(0x18a)]=_0x50b27e[_0x3fdc8d(0x1a3)][_0x3fdc8d(0x1c0)](_0x400dc9=>_0x503f65[_0x3fdc8d(0x1a1)](_0x400dc9)),_0x229365[_0x3fdc8d(0x190)](_0x50b27e);}[_0x412485(0x1b3)](_0x4f1dbf){const _0x281d15=_0x412485,_0x57c797={};_0x57c797['id']=_0x4f1dbf['id'];for(const _0x5b1ec1 of Object[_0x281d15(0x1ba)](_0x4f1dbf))'id'!==_0x5b1ec1&&(_0x57c797[_0x5b1ec1]=void 0x0);this[_0x281d15(0x16d)][_0x281d15(0x15c)](_0x57c797['id'],_0x57c797,!0x0);}async[_0x412485(0x158)](_0x3f3ac2){const _0x27b7d9=_0x412485,_0x1a7438=this[_0x27b7d9(0x16f)][_0x27b7d9(0x179)][_0x27b7d9(0x161)](_0x94c81b),{connection:_0x443c5c}=this[_0x27b7d9(0x16f)][_0x27b7d9(0x179)][_0x27b7d9(0x161)](_0x306636),_0x1d432b=new Set();for(const _0x94ce5b of _0x3f3ac2){for(const _0x574f79 of _0x94ce5b[_0x27b7d9(0x1a3)])_0x22154f(_0x574f79);_0x94ce5b[_0x27b7d9(0x17c)]&&_0x22154f(_0x94ce5b[_0x27b7d9(0x17c)]);}if(0x0===_0x1d432b[_0x27b7d9(0x19d)])return;const _0xfed04e=await _0x1fa1d5[_0x27b7d9(0x1c5)](_0x443c5c,Array[_0x27b7d9(0x192)](_0x1d432b));for(const _0x48d203 of _0xfed04e)_0x1a7438[_0x27b7d9(0x1a1)](_0x48d203['id'])||_0x1a7438[_0x27b7d9(0x19e)](_0x48d203);function _0x22154f(_0x3416a2){const _0x8b2a06=_0x27b7d9;_0x1a7438[_0x8b2a06(0x1a1)](_0x3416a2)||_0x1d432b[_0x8b2a06(0x16c)](_0x3416a2);}}}function M(_0x2f2970){const _0x128e65=_0x412485;return _0x2f2970[_0x128e65(0x1a9)][_0x128e65(0x160)](_0x128e65(0x159))||_0x2f2970[_0x128e65(0x1a9)][_0x128e65(0x160)](_0x128e65(0x1b9))||_0x2f2970[_0x128e65(0x1a9)][_0x128e65(0x160)](_0x128e65(0x1a0));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x399547=_0x2293;(function(_0x231cbe,_0x4e367c){var _0x3087d4=_0x2293,_0x19a7b8=_0x231cbe();while(!![]){try{var _0x389f15=-parseInt(_0x3087d4(0x77))/0x1*(-parseInt(_0x3087d4(0x85))/0x2)+parseInt(_0x3087d4(0x82))/0x3+parseInt(_0x3087d4(0x7b))/0x4*(-parseInt(_0x3087d4(0x7f))/0x5)+-parseInt(_0x3087d4(0x7d))/0x6+parseInt(_0x3087d4(0x84))/0x7*(-parseInt(_0x3087d4(0x81))/0x8)+parseInt(_0x3087d4(0x7e))/0x9*(-parseInt(_0x3087d4(0x78))/0xa)+parseInt(_0x3087d4(0x7c))/0xb*(parseInt(_0x3087d4(0x80))/0xc);if(_0x389f15===_0x4e367c)break;else _0x19a7b8['push'](_0x19a7b8['shift']());}catch(_0x5efa92){_0x19a7b8['push'](_0x19a7b8['shift']());}}}(_0x5df5,0x4e2bb));function _0x2293(_0x52a94c,_0x4cc1ec){var _0x5df58a=_0x5df5();return _0x2293=function(_0x229398,_0x360ec6){_0x229398=_0x229398-0x76;var _0x261b2c=_0x5df58a[_0x229398];return _0x261b2c;},_0x2293(_0x52a94c,_0x4cc1ec);}function _0x5df5(){var _0x28a8e5=['requires','RevisionHistory','4ElMSBE','317845QtVXbb','1878036PtvFMO','198XAupIy','1192535TlnBYO','408YkhCjm','1110392YnNoGg','1171884fFvNTw','isPremiumPlugin','7rZQuar','15434GlapeD','pluginName','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','35DceaYS','287570xibdlw'];_0x5df5=function(){return _0x28a8e5;};return _0x5df5();}import{Plugin as _0x395b1e}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2e78e0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x488652}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x395b1e{static get[_0x399547(0x79)](){var _0xb5b397=_0x399547;return[_0xb5b397(0x7a),_0x2e78e0,_0x488652];}static get[_0x399547(0x86)](){var _0x3aa7d1=_0x399547;return _0x3aa7d1(0x76);}static get[_0x399547(0x87)](){return!0x0;}static get[_0x399547(0x83)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x1de2f8=_0x4cb8;(function(_0x2d1414,_0x226997){const _0x2b7096=_0x4cb8,_0x1d8e37=_0x2d1414();while(!![]){try{const _0x1cbe1e=-parseInt(_0x2b7096(0x1f3))/0x1+parseInt(_0x2b7096(0x203))/0x2+-parseInt(_0x2b7096(0x215))/0x3*(parseInt(_0x2b7096(0x205))/0x4)+-parseInt(_0x2b7096(0x21c))/0x5+-parseInt(_0x2b7096(0x20c))/0x6+parseInt(_0x2b7096(0x229))/0x7+parseInt(_0x2b7096(0x202))/0x8;if(_0x1cbe1e===_0x226997)break;else _0x1d8e37['push'](_0x1d8e37['shift']());}catch(_0x2efedb){_0x1d8e37['push'](_0x1d8e37['shift']());}}}(_0x5d5f,0xa1e75));import{Plugin as _0x59a740}from'ckeditor5/src/core.js';import{User as _0xfb525,TrackChangesService as _0x3f8c7f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x30fccf}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x39a775}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4cb8(_0x18dcac,_0xe3e77b){const _0x5d5f9a=_0x5d5f();return _0x4cb8=function(_0x4cb8f3,_0x4c1a57){_0x4cb8f3=_0x4cb8f3-0x1ef;let _0x417378=_0x5d5f9a[_0x4cb8f3];return _0x417378;},_0x4cb8(_0x18dcac,_0xe3e77b);}import{Users as _0x24babc}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x59a740{static [_0x1de2f8(0x20f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3f8c7f)());[_0x1de2f8(0x1f2)];[_0x1de2f8(0x225)];static get[_0x1de2f8(0x211)](){const _0x4ca645=_0x1de2f8;return[_0x39a775,_0x4ca645(0x1ff),_0x30fccf];}static get[_0x1de2f8(0x207)](){const _0x567dc5=_0x1de2f8;return _0x567dc5(0x20b);}static get[_0x1de2f8(0x21b)](){return!0x0;}static get[_0x1de2f8(0x20a)](){return!0x0;}constructor(_0x1ce87c){const _0x3aab3d=_0x1de2f8;super(_0x1ce87c);const _0x3c0837=this[_0x3aab3d(0x1f6)][_0x3aab3d(0x1f8)][_0x3aab3d(0x1fb)](_0x3aab3d(0x20e));this[_0x3aab3d(0x1f2)]=new Map(),this[_0x3aab3d(0x225)]=new CloudServicesTrackChangesAdapter[(_0x3aab3d(0x20f))](_0x3c0837);}[_0x1de2f8(0x1fe)](){const _0x362aac=_0x1de2f8,_0x2222da=this[_0x362aac(0x1f6)][_0x362aac(0x220)][_0x362aac(0x1fb)](_0x30fccf),_0x1b6625=this[_0x362aac(0x1f6)][_0x362aac(0x220)][_0x362aac(0x1fb)](_0x362aac(0x1ff));return _0x1b6625[_0x362aac(0x216)]={'getSuggestion':async _0x52746d=>{const _0x26d8e6=_0x362aac;await this[_0x26d8e6(0x227)]();const _0x1c7f38=await this[_0x26d8e6(0x225)][_0x26d8e6(0x1fb)](_0x52746d)[_0x26d8e6(0x217)](A);return await this[_0x26d8e6(0x1fc)]([_0x1c7f38]),_0x1c7f38;},'addSuggestion':async({id:_0x33e168,type:_0x3600ce,data:_0x17d836,originalSuggestionId:_0x2ef9c1,attributes:_0x391da2})=>{const _0x185ad0=_0x362aac;await this[_0x185ad0(0x227)]();const _0x3bfbf8={'id':_0x33e168,'type':_0x3600ce,'data':_0x17d836,'originalSuggestionId':_0x2ef9c1,'attributes':_0x391da2},_0x5e0120=await this[_0x185ad0(0x225)][_0x185ad0(0x1fd)](_0x33e168,_0x3600ce,_0x17d836,_0x2ef9c1,_0x391da2)[_0x185ad0(0x217)](_0xfdd562=>{if(M(_0xfdd562))return new Promise(_0x40cfd3=>{const _0x2115a2=_0x4cb8;this[_0x2115a2(0x1f2)][_0x2115a2(0x228)](_0x33e168,{'resolve':_0x40cfd3,'suggestionData':_0x3bfbf8});});throw _0xfdd562;});return this[_0x185ad0(0x1f2)][_0x185ad0(0x208)](_0x33e168),_0x5e0120;},'updateSuggestion':async(_0x10fae3,_0x333477)=>{const _0x20ee82=_0x362aac;if(await this[_0x20ee82(0x227)](),_0x20ee82(0x218)!==_0x333477[_0x20ee82(0x21e)])return this[_0x20ee82(0x225)][_0x20ee82(0x224)](_0x10fae3,_0x333477)[_0x20ee82(0x217)](A);}},this[_0x362aac(0x1f7)](this[_0x362aac(0x225)],_0x362aac(0x21a),(_0x33e528,_0x3c3d34)=>{const _0x444b81=_0x362aac;_0x1b6625[_0x444b81(0x1f0)](_0x3c3d34['id'])&&(_0x1b6625[_0x444b81(0x201)](_0x3c3d34['id'])[_0x444b81(0x219)]=_0x3c3d34[_0x444b81(0x219)]);}),this[_0x362aac(0x225)][_0x362aac(0x214)](_0x2222da[_0x362aac(0x221)])[_0x362aac(0x21f)](_0x566722=>(_0x2222da[_0x362aac(0x21d)](this),this[_0x362aac(0x1fc)](_0x566722)[_0x362aac(0x21f)](()=>{const _0x2666a9=_0x362aac;for(const _0x1dec13 of _0x566722){_0x1b6625[_0x2666a9(0x1f5)](_0x1dec13)[_0x2666a9(0x204)]=!0x0;}})));}async[_0x1de2f8(0x209)](){const _0x1be058=_0x1de2f8,_0x3a826e=this[_0x1be058(0x1f6)][_0x1be058(0x220)][_0x1be058(0x1fb)](_0x1be058(0x1ff)),{connection:_0x4a83a5}=this[_0x1be058(0x1f6)][_0x1be058(0x220)][_0x1be058(0x1fb)](_0x30fccf),_0x49f90d=await this[_0x1be058(0x225)][_0x1be058(0x214)](_0x4a83a5);await this[_0x1be058(0x1fc)](_0x49f90d);for(const {suggestionData:_0x54f4b5,resolve:_0x36945c}of this[_0x1be058(0x1f2)][_0x1be058(0x226)]()){let _0x2ff01a=_0x49f90d[_0x1be058(0x1fa)](_0x3fead7=>_0x3fead7['id']===_0x54f4b5['id']);_0x2ff01a||(_0x2ff01a=await this[_0x1be058(0x225)][_0x1be058(0x1fd)](_0x54f4b5['id'],_0x54f4b5[_0x1be058(0x223)],_0x54f4b5[_0x1be058(0x212)],_0x54f4b5[_0x1be058(0x1f4)])),_0x36945c(_0x2ff01a);}for(const _0x53e66e of _0x49f90d)_0x3a826e[_0x1be058(0x1f0)](_0x53e66e['id'])||_0x3a826e[_0x1be058(0x1f5)](_0x53e66e);}async[_0x1de2f8(0x227)](){const _0x514ab0=_0x1de2f8;this[_0x514ab0(0x225)][_0x514ab0(0x206)]||await new Promise(_0x566a55=>{const _0x2620b7=_0x514ab0;this[_0x2620b7(0x1f7)](this[_0x2620b7(0x225)],_0x2620b7(0x200),_0x3f5380=>{const _0x15357c=_0x2620b7;_0x3f5380[_0x15357c(0x222)](),_0x566a55();});});}async[_0x1de2f8(0x1fc)](_0x37b646){const _0x3ca28b=_0x1de2f8,_0x9fada9=this[_0x3ca28b(0x1f6)][_0x3ca28b(0x220)][_0x3ca28b(0x1fb)](_0x24babc),{connection:_0x50e843}=this[_0x3ca28b(0x1f6)][_0x3ca28b(0x220)][_0x3ca28b(0x1fb)](_0x30fccf),_0x1a875f=new Set();for(const {authorId:_0x48213b}of _0x37b646)_0x9fada9[_0x3ca28b(0x1f9)](_0x48213b)||_0x1a875f[_0x3ca28b(0x1fd)](_0x48213b);if(0x0===_0x1a875f[_0x3ca28b(0x1f1)])return;const _0xe489a3=await _0xfb525[_0x3ca28b(0x22a)](_0x50e843,Array[_0x3ca28b(0x1ef)](_0x1a875f));for(const _0x5b9e16 of _0xe489a3)_0x9fada9[_0x3ca28b(0x1f9)](_0x5b9e16['id'])||_0x9fada9[_0x3ca28b(0x22b)](_0x5b9e16);}}function _0x5d5f(){const _0x4d829b=['update','_trackChangesService','values','_waitForServiceReady','set','7308525uZfcTW','getMany','addUser','cloud-services-internal-error:\x20Not\x20connected.','from','hasSuggestion','size','_bufferedRequests','653285QBHaWy','originalSuggestionId','addSuggestionData','editor','listenTo','config','getUser','find','get','_fetchMissingUsersForThreads','add','init','TrackChangesEditing','connected','getSuggestion','15437656COaqDn','2420550jlysNF','_saved','421556uAvthS','isConnected','pluginName','delete','reconnect','isPremiumPlugin','CloudServicesTrackChangesAdapter','3321264fHizGo','message','collaboration.channelId','TrackChangesService','cloud-services-internal-error:\x20Request\x20timeout.','requires','data','startsWith','connect','33ZRJbov','adapter','catch','open','attributes','suggestionUpdated','isOfficialPlugin','5773960kXFKlp','addToReconnectionStack','state','then','plugins','connection','off','type'];_0x5d5f=function(){return _0x4d829b;};return _0x5d5f();}function A(_0x2ff713){if(M(_0x2ff713))return new Promise(()=>{});throw _0x2ff713;}function M(_0xf12aea){const _0x3c26f5=_0x1de2f8;return _0xf12aea[_0x3c26f5(0x20d)][_0x3c26f5(0x213)](_0x3c26f5(0x22c))||_0xf12aea[_0x3c26f5(0x20d)][_0x3c26f5(0x213)](_0x3c26f5(0x210));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x169836=_0x27fb;(function(_0x449f03,_0x90b421){var _0x4e91e7=_0x27fb,_0x12ba17=_0x449f03();while(!![]){try{var _0x29331f=-parseInt(_0x4e91e7(0x72))/0x1*(-parseInt(_0x4e91e7(0x67))/0x2)+-parseInt(_0x4e91e7(0x75))/0x3*(parseInt(_0x4e91e7(0x6c))/0x4)+parseInt(_0x4e91e7(0x6a))/0x5+-parseInt(_0x4e91e7(0x6b))/0x6+parseInt(_0x4e91e7(0x6d))/0x7*(parseInt(_0x4e91e7(0x70))/0x8)+parseInt(_0x4e91e7(0x66))/0x9+parseInt(_0x4e91e7(0x74))/0xa;if(_0x29331f===_0x90b421)break;else _0x12ba17['push'](_0x12ba17['shift']());}catch(_0x2e9c74){_0x12ba17['push'](_0x12ba17['shift']());}}}(_0xda25,0x342bf));import{Plugin as _0x3c9de0}from'ckeditor5/src/core.js';function _0x27fb(_0x1fdeee,_0x56ead2){var _0xda25cb=_0xda25();return _0x27fb=function(_0x27fb95,_0x47c5b8){_0x27fb95=_0x27fb95-0x66;var _0x51c2b1=_0xda25cb[_0x27fb95];return _0x51c2b1;},_0x27fb(_0x1fdeee,_0x56ead2);}function _0xda25(){var _0x4ba147=['1PvbspX','isOfficialPlugin','1279280mhWiDl','3450hiulpH','814851pLIvQC','758462jflXfc','RealTimeCollaborativeTrackChanges','isPremiumPlugin','53390XPCCRX','2434776vsRmIt','388ApXrDZ','858655XXhRxW','TrackChanges','pluginName','8pkXZyq','requires'];_0xda25=function(){return _0x4ba147;};return _0xda25();}import{CloudServicesTrackChangesAdapter as _0x2cf5cd}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x124360}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3c9de0{static get[_0x169836(0x71)](){var _0x2ea416=_0x169836;return[_0x124360,_0x2cf5cd,_0x2ea416(0x6e)];}static get[_0x169836(0x6f)](){var _0x437f99=_0x169836;return _0x437f99(0x68);}static get[_0x169836(0x73)](){return!0x0;}static get[_0x169836(0x69)](){return!0x0;}}
|