@ckeditor/ckeditor5-real-time-collaboration 47.7.0 → 47.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/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 +15 -15
- 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
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x1130a5=_0x50c3;function _0x50c3(_0x16dc4e,_0x23306f){const _0x24d359=_0x24d3();return _0x50c3=function(_0x50c342,_0x111e93){_0x50c342=_0x50c342-0x1af;let _0x3690bc=_0x24d359[_0x50c342];return _0x3690bc;},_0x50c3(_0x16dc4e,_0x23306f);}(function(_0x5d041c,_0xf45cb9){const _0x45bc70=_0x50c3,_0x5e47b1=_0x5d041c();while(!![]){try{const _0x5b6cdd=-parseInt(_0x45bc70(0x1c2))/0x1+-parseInt(_0x45bc70(0x1bc))/0x2+-parseInt(_0x45bc70(0x1b1))/0x3*(parseInt(_0x45bc70(0x1ee))/0x4)+parseInt(_0x45bc70(0x1f7))/0x5*(parseInt(_0x45bc70(0x1d2))/0x6)+parseInt(_0x45bc70(0x1db))/0x7+-parseInt(_0x45bc70(0x1b5))/0x8+parseInt(_0x45bc70(0x1c3))/0x9;if(_0x5b6cdd===_0xf45cb9)break;else _0x5e47b1['push'](_0x5e47b1['shift']());}catch(_0x28ac98){_0x5e47b1['push'](_0x5e47b1['shift']());}}}(_0x24d3,0x8df0e));import{ContextPlugin as _0x11c97e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4c2641,CKEditorError as _0x4ea45c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4ea4e9,WEB_SOCKET_GATEWAY_STATES as _0x5370ca}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x11d965}from'ckeditor5/src/ui.js';function _0x24d3(){const _0x587534=['1110844nCcEEz','get','_reconnectionStack','has','offline','listenTo','context','config','DISCONNECTED','5AAKeGm','change:me','error','3lZcYbN','catch','removeFromReconnectionStack','connected','6481912sMQofM','CONNECTING','websocketgateway-plugin-already-registered','_reconnect','add','websocketgateway-invalid-plugin-interface','limitExceeded','1080170xuoSkz','constructor','define','reconnect','addToReconnectionStack','showWarning','1027572dJUBmP','22307040JKZLvw','cloudservices-init','isPremiumPlugin','stopListening','_domEmitter','from','state','Connected\x20users\x20limit\x20exceeded','real-time-collaboration','cloudServices.requestTimeout','all','webSocketUrl','isOfficialPlugin','disconnect','online','121956VbUTQu','CloudServices','WebSocketGateway','set','isInReconnectionStack','websocketgateway-missing-token','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.','_shouldPluginsReconnect','bind','5166777mYCwxm','websocketgateway-missing-websocket-url','cloudServices.connectionTimeout','then','CONNECTED','pluginName','connection','code','initialReconnectionInterval','plugins','cloudservices-reconnection-error','token','destroy','connect','init','_isBrowserOffline','function','delete','requires'];_0x24d3=function(){return _0x587534;};return _0x24d3();}export class WebSocketGateway extends _0x11c97e{static [_0x1130a5(0x1d4)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4ea4e9)());static [_0x1130a5(0x1e3)]=0x3e8;[_0x1130a5(0x1e1)];[_0x1130a5(0x1f0)];[_0x1130a5(0x1d9)];[_0x1130a5(0x1c7)];static get[_0x1130a5(0x1ed)](){const _0xeed9ec=_0x1130a5;return[_0xeed9ec(0x1d3),_0x11d965];}static get[_0x1130a5(0x1e0)](){const _0x31a203=_0x1130a5;return _0x31a203(0x1d4);}static get[_0x1130a5(0x1cf)](){return!0x0;}static get[_0x1130a5(0x1c5)](){return!0x0;}constructor(_0x5874c1){const _0x38cf8b=_0x1130a5;super(_0x5874c1),this[_0x38cf8b(0x1d5)](_0x38cf8b(0x1c9),_0x5370ca[_0x38cf8b(0x1df)]),this[_0x38cf8b(0x1d5)](_0x38cf8b(0x1ea),!0x1),this[_0x38cf8b(0x1f0)]=new Set(),this[_0x38cf8b(0x1d9)]=!0x1,this[_0x38cf8b(0x1c7)]=new(_0x4c2641())();}[_0x1130a5(0x1e9)](){const _0x1fb253=_0x1130a5,_0x4db9df=this[_0x1fb253(0x1f4)],_0x48484a=_0x4db9df[_0x1fb253(0x1e4)][_0x1fb253(0x1ef)](_0x1fb253(0x1d3)),_0x5aa6fd=_0x4db9df[_0x1fb253(0x1e4)][_0x1fb253(0x1ef)](_0x11d965);if(!_0x48484a[_0x1fb253(0x1e6)])throw new _0x4ea45c(_0x1fb253(0x1d7),this);if(!_0x48484a[_0x1fb253(0x1ce)])throw new _0x4ea45c(_0x1fb253(0x1dc),this);return this[_0x1fb253(0x1c7)][_0x1fb253(0x1f3)](window,_0x1fb253(0x1f2),()=>this[_0x1fb253(0x1ea)]=!0x0),this[_0x1fb253(0x1c7)][_0x1fb253(0x1f3)](window,_0x1fb253(0x1d1),()=>this[_0x1fb253(0x1ea)]=!0x1),this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1be)](_0x1fb253(0x1dd),0xa),this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1be)](_0x1fb253(0x1cc),0x14),WebSocketGateway[_0x1fb253(0x1d4)][_0x1fb253(0x1e8)](_0x48484a[_0x1fb253(0x1e6)],_0x48484a[_0x1fb253(0x1ce)],{'timeout':0x3e8*this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1ef)](_0x1fb253(0x1dd)),'requestTimeout':0x3e8*this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1ef)](_0x1fb253(0x1cc))})[_0x1fb253(0x1de)](_0xffa304=>{const _0x5c6e38=_0x1fb253;if(this[_0x5c6e38(0x1e1)]=_0xffa304,this[_0x5c6e38(0x1da)](_0x5c6e38(0x1c9))['to'](_0xffa304,_0x5c6e38(0x1c9),this,_0x5c6e38(0x1ea),(_0x4be42c,_0x9dddb2)=>(_0x5c6e38(0x1b4)!==_0x4be42c&&(this[_0x5c6e38(0x1d9)]=!0x0),_0x9dddb2||_0x4be42c!==_0x5370ca[_0x5c6e38(0x1df)]?_0x5370ca[_0x5c6e38(0x1f6)]:this[_0x5c6e38(0x1c9)]==_0x5370ca[_0x5c6e38(0x1f6)]&&this[_0x5c6e38(0x1d9)]?(this[_0x5c6e38(0x1d9)]=!0x1,this[_0x5c6e38(0x1b8)](),_0x5370ca[_0x5c6e38(0x1b6)]):_0x5370ca[_0x5c6e38(0x1df)])),this[_0x5c6e38(0x1e1)]['on'](_0x5c6e38(0x1b0),(_0x589745,_0x2b113a)=>{const _0x136e4b=_0x5c6e38;if(_0x136e4b(0x1bb)!==_0x2b113a[_0x136e4b(0x1e2)])throw console[_0x136e4b(0x1b0)](_0x2b113a),new _0x4ea45c(_0x136e4b(0x1c4),null,{'originalError':_0x2b113a});_0x5aa6fd[_0x136e4b(0x1c1)](_0x136e4b(0x1d8),{'title':_0x136e4b(0x1ca),'namespace':_0x136e4b(0x1cb)});}),!_0xffa304['me'])return new Promise(_0x40fbc3=>_0xffa304['on'](_0x5c6e38(0x1af),_0x40fbc3));})[_0x1fb253(0x1b2)](_0x26e5c2=>{const _0x4c9447=_0x1fb253;throw console[_0x4c9447(0x1b0)](_0x26e5c2),new _0x4ea45c(_0x4c9447(0x1c4),null,{'originalError':_0x26e5c2});});}[_0x1130a5(0x1c0)](_0x167157){const _0x3f1d26=_0x1130a5;if(_0x3f1d26(0x1eb)!=typeof _0x167157[_0x3f1d26(0x1bf)])throw new _0x4ea45c(_0x3f1d26(0x1ba),this);if(this[_0x3f1d26(0x1d6)](_0x167157))throw new _0x4ea45c(_0x3f1d26(0x1b7),this,{'name':_0x167157[_0x3f1d26(0x1bd)][_0x3f1d26(0x1e0)]});this[_0x3f1d26(0x1f0)][_0x3f1d26(0x1b9)](_0x167157);}[_0x1130a5(0x1b3)](_0x15012e){const _0x3bdc07=_0x1130a5;this[_0x3bdc07(0x1f0)][_0x3bdc07(0x1ec)](_0x15012e);}[_0x1130a5(0x1d6)](_0x4ff9f3){const _0x167a3d=_0x1130a5;return this[_0x167a3d(0x1f0)][_0x167a3d(0x1f1)](_0x4ff9f3);}[_0x1130a5(0x1b8)](){const _0x4516b0=_0x1130a5;return this[_0x4516b0(0x1e1)][_0x4516b0(0x1bf)]()[_0x4516b0(0x1de)](()=>Promise[_0x4516b0(0x1cd)](Array[_0x4516b0(0x1c8)](this[_0x4516b0(0x1f0)],_0x514090=>_0x514090[_0x4516b0(0x1bf)]())))[_0x4516b0(0x1de)](()=>this[_0x4516b0(0x1c9)]=_0x5370ca[_0x4516b0(0x1df)])[_0x4516b0(0x1b2)](_0x7eb5ae=>{const _0x4aa0ae=_0x4516b0;throw console[_0x4aa0ae(0x1b0)](_0x7eb5ae),new _0x4ea45c(_0x4aa0ae(0x1e5),this[_0x4aa0ae(0x1f4)]);});}[_0x1130a5(0x1d0)](){const _0x1709bd=_0x1130a5;this[_0x1709bd(0x1e1)]&&this[_0x1709bd(0x1e1)][_0x1709bd(0x1d0)](),this[_0x1709bd(0x1c9)]=_0x5370ca[_0x1709bd(0x1f6)],this[_0x1709bd(0x1c7)][_0x1709bd(0x1c6)]();}[_0x1130a5(0x1e7)](){const _0x55c88a=_0x1130a5;this[_0x55c88a(0x1d0)](),super[_0x55c88a(0x1e7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5b685b=_0x3411;(function(_0x1f5ea4,_0x4998b8){var _0xf50e33=_0x3411,_0x5b3b51=_0x1f5ea4();while(!![]){try{var _0x3760a4=parseInt(_0xf50e33(0xbf))/0x1+-parseInt(_0xf50e33(0xb6))/0x2+parseInt(_0xf50e33(0xbd))/0x3+-parseInt(_0xf50e33(0xc2))/0x4*(-parseInt(_0xf50e33(0xbb))/0x5)+-parseInt(_0xf50e33(0xbe))/0x6*(-parseInt(_0xf50e33(0xc3))/0x7)+-parseInt(_0xf50e33(0xc1))/0x8+-parseInt(_0xf50e33(0xb7))/0x9;if(_0x3760a4===_0x4998b8)break;else _0x5b3b51['push'](_0x5b3b51['shift']());}catch(_0x4c94b6){_0x5b3b51['push'](_0x5b3b51['shift']());}}}(_0x3ac2,0x7babd));import{Plugin as _0xf4d70a}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x32a637}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3411(_0x4ec199,_0x102185){var _0x3ac27c=_0x3ac2();return _0x3411=function(_0x34110e,_0x3708b1){_0x34110e=_0x34110e-0xb6;var _0x149cd8=_0x3ac27c[_0x34110e];return _0x149cd8;},_0x3411(_0x4ec199,_0x102185);}export class RealTimeCollaborativeEditing extends _0xf4d70a{static get[_0x5b685b(0xb8)](){return[_0x32a637];}static get[_0x5b685b(0xba)](){var _0x536119=_0x5b685b;return _0x536119(0xbc);}static get[_0x5b685b(0xc0)](){return!0x0;}static get[_0x5b685b(0xb9)](){return!0x0;}}function _0x3ac2(){var _0x577696=['6583024xObbKm','563282orvEzG','2523600LDTKNB','requires','isPremiumPlugin','pluginName','1553945VZsvnV','RealTimeCollaborativeEditing','210357HtQACx','6yfAMFw','51514zJaVFe','isOfficialPlugin','2434048rjPupf','4bkVmhj'];_0x3ac2=function(){return _0x577696;};return _0x3ac2();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5cbacd)());[_0x2ff75f(0x153)];[_0x2ff75f(0x109)];[_0x2ff75f(0x135)];[_0x2ff75f(0x166)];static get[_0x2ff75f(0x13c)](){const _0x17f235=_0x2ff75f;return[_0x37d6a6,_0x53bb4d,_0x17f235(0x155),_0x589605,_0x1b75ea];}static get[_0x2ff75f(0x139)](){const _0x5491f7=_0x2ff75f;return _0x5491f7(0x10b);}static get[_0x2ff75f(0x16f)](){return!0x0;}static get[_0x2ff75f(0x14c)](){return!0x0;}constructor(_0x155eba){const _0x43abef=_0x2ff75f;super(_0x155eba);const _0x1eccf6=this[_0x43abef(0x12f)][_0x43abef(0x130)][_0x43abef(0x10e)](_0x43abef(0x15a));this[_0x43abef(0x153)]=null,this[_0x43abef(0x109)]=this[_0x43abef(0x12f)][_0x43abef(0x15e)][_0x43abef(0x10e)](_0x43abef(0x12b)),this[_0x43abef(0x135)]=new CloudServicesRevisionHistoryAdapter[(_0x43abef(0x144))](_0x1eccf6);}async[_0x2ff75f(0x131)](){const _0x2259f4=_0x2ff75f,_0x216988=this[_0x2259f4(0x12f)][_0x2259f4(0x15e)][_0x2259f4(0x10e)](_0x53bb4d),_0x56245a=_0x216988[_0x2259f4(0x174)],_0x496f9b=this[_0x2259f4(0x12f)][_0x2259f4(0x15e)][_0x2259f4(0x10e)](_0x37d6a6);this[_0x2259f4(0x109)][_0x2259f4(0x163)]({'history':_0x56245a,'getLatestVersion':()=>this[_0x2259f4(0x165)](),'getCurrentRevisionId':()=>_0x216988[_0x2259f4(0x160)]});const _0x21a497=this[_0x2259f4(0x12f)][_0x2259f4(0x130)][_0x2259f4(0x10e)](_0x2259f4(0x120))||_0x2ab8c8,_0x5e379e=await _0x2ca4bc[_0x2259f4(0x171)](_0x496f9b[_0x2259f4(0x170)],_0x21a497);this[_0x2259f4(0x12f)][_0x2259f4(0x15e)][_0x2259f4(0x10e)](_0x2259f4(0x155))[_0x2259f4(0x167)]={'getRevision':async({revisionId:_0x425f42})=>(await this[_0x2259f4(0x150)](),await this[_0x2259f4(0x135)][_0x2259f4(0x145)](_0x425f42)),'updateRevisions':async _0x3fa4a7=>{const _0x488498=_0x2259f4;await this[_0x488498(0x150)]();const _0x5aa376=this[_0x488498(0x109)][_0x488498(0x15b)];if(_0x5e379e&&0x1===_0x3fa4a7[_0x488498(0x143)]&&_0x3fa4a7[0x0]['id']===_0x5aa376['id'])return _0x3fa4a7;for(const _0x3180b8 of _0x3fa4a7)_0x3180b8['id']===_0x5aa376['id']&&(_0x3180b8[_0x488498(0x142)]=_0x3180b8[_0x488498(0x172)]===_0x3180b8[_0x488498(0x123)]);return this[_0x488498(0x135)][_0x488498(0x119)](_0x3fa4a7,this[_0x488498(0x153)])[_0x488498(0x152)](_0x59cda5=>(this[_0x488498(0x153)]=_0x59cda5,_0x3fa4a7))[_0x488498(0x124)](_0x1ed7af=>{const _0xe101e2=_0x488498;if(st(_0x1ed7af)||_0xe101e2(0x11f)===_0x1ed7af[_0xe101e2(0x16c)]&&void 0x0!==_0x1ed7af[_0xe101e2(0x158)][_0xe101e2(0x148)]){for(const _0x539dc6 of _0x3fa4a7){!this[_0xe101e2(0x109)][_0xe101e2(0x164)][_0xe101e2(0x145)](_0x539dc6['id'])||this[_0xe101e2(0x109)][_0xe101e2(0x117)](_0x539dc6['id'],_0x539dc6,!0x1);}if(st(_0x1ed7af))throw _0x1ed7af;return _0x3fa4a7;}throw _0x1ed7af;});}},this[_0x2259f4(0x10c)](this[_0x2259f4(0x135)],_0x2259f4(0x11b),(_0x44514c,{revisionsData:_0xc23547,requestId:_0x58710d})=>{const _0x91cb28=_0x2259f4;Math[_0x91cb28(0x157)](..._0xc23547[_0x91cb28(0x11e)](_0x18cc28=>_0x18cc28[_0x91cb28(0x123)]))>this[_0x91cb28(0x122)]()-0x1?this[_0x91cb28(0x165)]()[_0x91cb28(0x152)](()=>{const _0xe5ff9a=_0x91cb28;this[_0xe5ff9a(0x125)](_0xc23547,_0x58710d);}):this[_0x91cb28(0x125)](_0xc23547,_0x58710d);});const {revisions:_0x5065d2,requestId:_0x1f13ed}=await this[_0x2259f4(0x135)][_0x2259f4(0x15d)](_0x496f9b[_0x2259f4(0x170)]);_0x496f9b[_0x2259f4(0x14e)](this),this[_0x2259f4(0x153)]=_0x1f13ed,await this[_0x2259f4(0x17b)](_0x5065d2);for(const _0x579ae9 of _0x5065d2)this[_0x2259f4(0x109)][_0x2259f4(0x11c)](_0x579ae9);this[_0x2259f4(0x10c)](_0x216988,_0x2259f4(0x128),(_0x5d9c57,_0x21419d,_0x3efe74)=>{const _0xa709f8=_0x2259f4;_0x3efe74&&(this[_0xa709f8(0x166)]=_0x216988[_0xa709f8(0x16e)],_0x5d9c57[_0xa709f8(0x133)]());}),this[_0x2259f4(0x109)][_0x2259f4(0x10a)](_0x2259f4(0x140))['to'](_0x496f9b,_0x2259f4(0x176),_0x230178=>_0x230178===_0x52abcc[_0x2259f4(0x16a)]);}async[_0x2ff75f(0x138)](){const _0x198797=_0x2ff75f,_0x5c4213=this[_0x198797(0x12f)][_0x198797(0x15e)][_0x198797(0x10e)](_0x37d6a6),_0x5b81f9=this[_0x198797(0x12f)][_0x198797(0x15e)][_0x198797(0x10e)](_0x53bb4d),_0x41ae00=async()=>{const _0x185049=_0x198797,_0x57feb5=this[_0x185049(0x109)][_0x185049(0x15b)],_0x246c95=_0x57feb5['id'],_0x283f58=_0x246c95!==_0x5b81f9[_0x185049(0x160)];if(_0x283f58){const _0x1ecb62=_0x5b81f9[_0x185049(0x16e)]-this[_0x185049(0x166)],_0x31d0a4=this[_0x185049(0x122)]();this[_0x185049(0x109)][_0x185049(0x126)][_0x185049(0x146)]();if(_0x57feb5[_0x185049(0x123)]+_0x1ecb62!==_0x31d0a4){const _0x76cde8=_0x57feb5[_0x185049(0x172)]+_0x1ecb62,_0x53a81a=this[_0x185049(0x12f)][_0x185049(0x15e)][_0x185049(0x10e)](_0x1b75ea),_0x50e1eb=this[_0x185049(0x109)][_0x185049(0x113)]({'revision':_0x57feb5,'from':_0x76cde8,'to':_0x31d0a4});_0x50e1eb['id']=_0x57feb5['id'];const _0x24fbc1=_0x50e1eb[_0x185049(0x177)][_0x185049(0x11e)](_0x44bb0e=>_0x53a81a[_0x185049(0x15f)](_0x44bb0e));_0x57feb5[_0x185049(0x136)]({..._0x50e1eb,'authors':_0x24fbc1},!0x0),this[_0x185049(0x109)][_0x185049(0x117)](_0x57feb5['id'],_0x50e1eb,!0x0);}this[_0x185049(0x109)][_0x185049(0x13e)]=_0x31d0a4,(_0x57feb5[_0x185049(0x123)]===_0x57feb5[_0x185049(0x172)]&&!this[_0x185049(0x109)][_0x185049(0x12c)][_0x185049(0x173)](_0x246c95)&&this[_0x185049(0x109)][_0x185049(0x164)][_0x185049(0x14f)][_0x185049(0x10f)](_0x246c95),this[_0x185049(0x109)][_0x185049(0x13a)](_0x31d0a4));}const {revisions:_0x40c712,requestId:_0x199683}=await this[_0x185049(0x135)][_0x185049(0x138)](_0x5c4213[_0x185049(0x170)],this[_0x185049(0x153)]);_0x283f58&&_0x40c712[_0x185049(0x143)]>0x0?_0x5b81f9[_0x185049(0x156)]():(await this[_0x185049(0x17b)](_0x40c712),this[_0x185049(0x125)](_0x40c712,_0x199683),this[_0x185049(0x109)][_0x185049(0x114)]());};return _0x5b81f9[_0x198797(0x137)]?_0x41ae00():new Promise((_0x53c95b,_0x111e55)=>{const _0x293a38=_0x198797;_0x5b81f9[_0x293a38(0x15c)](_0x293a38(0x128),()=>{const _0x24c438=_0x293a38;_0x41ae00()[_0x24c438(0x152)](_0x53c95b)[_0x24c438(0x124)](_0x111e55);});});}[_0x2ff75f(0x151)](){const _0xb5249c=_0x2ff75f;super[_0xb5249c(0x151)]();}async[_0x2ff75f(0x150)](){const _0x1ee693=_0x2ff75f;this[_0x1ee693(0x135)][_0x1ee693(0x111)]||await new Promise(_0x5ca1cd=>{const _0x52fd7e=_0x1ee693;this[_0x52fd7e(0x10c)](this[_0x52fd7e(0x135)],_0x52fd7e(0x159),_0x10a6be=>{const _0x4674b2=_0x52fd7e;_0x10a6be[_0x4674b2(0x133)](),_0x5ca1cd();});});}[_0x2ff75f(0x122)](){const _0x3f4a81=_0x2ff75f,_0x365b4b=this[_0x3f4a81(0x12f)][_0x3f4a81(0x15e)][_0x3f4a81(0x10e)](_0x53bb4d)[_0x3f4a81(0x174)][_0x3f4a81(0x169)]()[_0x3f4a81(0x10d)]();for(const _0x116174 of _0x365b4b)if(_0x3f4a81(0x147)!==_0x116174[_0x3f4a81(0x161)]||_0x116174[_0x3f4a81(0x110)])return _0x116174[_0x3f4a81(0x14b)]+0x1;}[_0x2ff75f(0x165)](){const _0x44c846=_0x2ff75f,_0x2cf82a=this[_0x44c846(0x12f)][_0x44c846(0x15e)][_0x44c846(0x10e)](_0x53bb4d);return new Promise(_0x3c9a04=>{const _0x5b0fc1=_0x44c846;_0x2cf82a[_0x5b0fc1(0x11d)]?_0x2cf82a[_0x5b0fc1(0x15c)](_0x5b0fc1(0x12e),()=>{const _0x56e555=_0x5b0fc1;_0x3c9a04(this[_0x56e555(0x122)]());}):_0x3c9a04(this[_0x5b0fc1(0x122)]());});}[_0x2ff75f(0x125)](_0x171fb4,_0x1e43cd){const _0x119399=_0x2ff75f,_0x383e44=this[_0x119399(0x109)][_0x119399(0x164)];this[_0x119399(0x153)]=_0x1e43cd;for(const _0x5720d8 of _0x171fb4){const _0x2462de=_0x383e44[_0x119399(0x145)](_0x5720d8['id']);if(_0x2462de){if((_0x5720d8[_0x119399(0x172)]||_0x5720d8[_0x119399(0x123)])&&(_0x5720d8[_0x119399(0x179)]=null),_0x2462de===this[_0x119399(0x109)][_0x119399(0x15b)]){const _0x3323fb=Math[_0x119399(0x157)](_0x2462de[_0x119399(0x123)],_0x5720d8[_0x119399(0x123)]),_0x11f9c=Math[_0x119399(0x157)](_0x2462de[_0x119399(0x172)],_0x5720d8[_0x119399(0x172)]);let _0x4eb26a;_0x2462de[_0x119399(0x123)]===_0x5720d8[_0x119399(0x123)]&&_0x2462de[_0x119399(0x172)]===_0x5720d8[_0x119399(0x172)]?(_0x4eb26a=!0x0,this[_0x119399(0x129)](_0x5720d8)):_0x5720d8[_0x119399(0x123)]===_0x3323fb&&_0x5720d8[_0x119399(0x172)]===_0x11f9c?_0x4eb26a=!0x1:(_0x2462de[_0x119399(0x123)]===_0x3323fb&&_0x2462de[_0x119399(0x172)]===_0x11f9c||this[_0x119399(0x11a)]({'revision':_0x2462de,'from':_0x11f9c,'to':_0x3323fb}),_0x4eb26a=!0x0),_0x4eb26a&&(delete _0x5720d8[_0x119399(0x172)],delete _0x5720d8[_0x119399(0x123)],delete _0x5720d8[_0x119399(0x179)],delete _0x5720d8[_0x119399(0x116)],delete _0x5720d8[_0x119399(0x177)]);}this[_0x119399(0x109)][_0x119399(0x127)](_0x5720d8),this[_0x119399(0x129)](_0x5720d8);}else this[_0x119399(0x109)][_0x119399(0x11c)](_0x5720d8);}const _0xc6faac=_0x383e44[_0x119399(0x168)]();_0xc6faac[_0x119399(0x10d)]();for(let _0x1e2789=0x0;_0x1e2789<_0xc6faac[_0x119399(0x143)]-0x1;_0x1e2789++){const _0x12c523=_0xc6faac[_0x1e2789],_0x176974=_0xc6faac[_0x1e2789+0x1];if(_0x12c523[_0x119399(0x172)]<_0x176974[_0x119399(0x123)]){const _0x50df73=_0x176974[_0x119399(0x123)],_0x4eca94=Math[_0x119399(0x157)](_0x50df73,_0x12c523[_0x119399(0x123)]);this[_0x119399(0x11a)]({'revision':_0x12c523,'from':_0x50df73,'to':_0x4eca94});}}}[_0x2ff75f(0x11a)]({revision:_0xa90cbe,from:_0x50f48a,to:_0x493276}={}){const _0x588cd3=_0x2ff75f,_0x546cc9=this[_0x588cd3(0x12f)][_0x588cd3(0x15e)][_0x588cd3(0x10e)](_0x1b75ea),_0x3fec5c=this[_0x588cd3(0x109)][_0x588cd3(0x113)]({'revision':_0xa90cbe,'from':_0x50f48a,'to':_0x493276});_0x3fec5c[_0x588cd3(0x134)]=_0x3fec5c[_0x588cd3(0x177)][_0x588cd3(0x11e)](_0xdd7247=>_0x546cc9[_0x588cd3(0x15f)](_0xdd7247)),_0xa90cbe[_0x588cd3(0x136)](_0x3fec5c);}[_0x2ff75f(0x129)](_0x48ae3e){const _0x4e70f9=_0x2ff75f,_0x8d214e={};_0x8d214e['id']=_0x48ae3e['id'];for(const _0x197b61 of Object[_0x4e70f9(0x12a)](_0x48ae3e))'id'!==_0x197b61&&(_0x8d214e[_0x197b61]=void 0x0);this[_0x4e70f9(0x109)][_0x4e70f9(0x117)](_0x8d214e['id'],_0x8d214e,!0x0);}async[_0x2ff75f(0x17b)](_0x7e3541){const _0x4c6bd8=_0x2ff75f,_0x1f1cb8=this[_0x4c6bd8(0x12f)][_0x4c6bd8(0x15e)][_0x4c6bd8(0x10e)](_0x1b75ea),{connection:_0x144054}=this[_0x4c6bd8(0x12f)][_0x4c6bd8(0x15e)][_0x4c6bd8(0x10e)](_0x37d6a6),_0x5c4af1=new Set();for(const _0x45a625 of _0x7e3541){for(const _0x5ee1dc of _0x45a625[_0x4c6bd8(0x177)])_0x61585a(_0x5ee1dc);_0x45a625[_0x4c6bd8(0x149)]&&_0x61585a(_0x45a625[_0x4c6bd8(0x149)]);}if(0x0===_0x5c4af1[_0x4c6bd8(0x14a)])return;const _0x13d1e6=await _0x365d0c[_0x4c6bd8(0x178)](_0x144054,Array[_0x4c6bd8(0x132)](_0x5c4af1));for(const _0x3b57c5 of _0x13d1e6)_0x1f1cb8[_0x4c6bd8(0x15f)](_0x3b57c5['id'])||_0x1f1cb8[_0x4c6bd8(0x12d)](_0x3b57c5);function _0x61585a(_0xf02409){const _0x33d463=_0x4c6bd8;_0x1f1cb8[_0x33d463(0x15f)](_0xf02409)||_0x5c4af1[_0x33d463(0x16b)](_0xf02409);}}}function st(_0x2d5c34){const _0x1d79e1=_0x2ff75f;return _0x2d5c34[_0x1d79e1(0x121)][_0x1d79e1(0x13b)](_0x1d79e1(0x16d))||_0x2d5c34[_0x1d79e1(0x121)][_0x1d79e1(0x13b)](_0x1d79e1(0x13d))||_0x2d5c34[_0x1d79e1(0x121)][_0x1d79e1(0x13b)](_0x1d79e1(0x14d));}
|
|
23
|
+
const _0xfd6a35=_0x442e;(function(_0x2f1850,_0x26bf91){const _0x1855c4=_0x442e,_0x552c5b=_0x2f1850();while(!![]){try{const _0x2ede82=parseInt(_0x1855c4(0x1ba))/0x1*(-parseInt(_0x1855c4(0x197))/0x2)+parseInt(_0x1855c4(0x1b8))/0x3*(-parseInt(_0x1855c4(0x1bb))/0x4)+parseInt(_0x1855c4(0x1eb))/0x5*(parseInt(_0x1855c4(0x206))/0x6)+-parseInt(_0x1855c4(0x1b1))/0x7+-parseInt(_0x1855c4(0x19a))/0x8+parseInt(_0x1855c4(0x209))/0x9*(-parseInt(_0x1855c4(0x1a3))/0xa)+parseInt(_0x1855c4(0x1a4))/0xb*(parseInt(_0x1855c4(0x1dc))/0xc);if(_0x2ede82===_0x26bf91)break;else _0x552c5b['push'](_0x552c5b['shift']());}catch(_0x47c3fe){_0x552c5b['push'](_0x552c5b['shift']());}}}(_0x2722,0xbeeca));import{Plugin as _0x4756a0}from'ckeditor5/src/core.js';import{version as _0x3a8ab2}from'ckeditor5/src/utils.js';import{Users as _0x12094e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x36218c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x2985f6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x20404b}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x32a91d,RevisionHistoryService as _0x42bf0e,User as _0x27e2c1,WEB_SOCKET_GATEWAY_STATES as _0x50dd8c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2722(){const _0x6f4974=['getUser','RevisionHistory','CONNECTED','then','destroy','_update','_waitForServiceReady','_isPendingUpdate','_createCurrentRevision','affectsData','toVersion','size','createdAt','RevisionTracker','addToReconnectionStack','adapter','_offset','marker','108IyqZWs','baseVersion','off','state','cloud-services-internal-error:\x20Not\x20connected.','getRevisions','isOfficialPlugin','isEnabled','code','sessionId','_getLatestVersionFromServerOperations','get','_bufferedUpdates','wrongRequestId','repository','4356655aTqlaI','cloud-services-internal-error:\x20Request\x20timeout.','_revisionDataBuilder','init','_oldOffset','creatorId','data','_handleReconnectionError','400','_revisions','keys','message','change:_isPendingUpdate','addRevisionData','once','reInit','buildRevisionData','_revisionHistoryService','isConnected','_handleRevisionsUpdate','type','_getLatestVersion','add','reverse','isEmptyCurrent','isBundleUploaded','collaboration.channelId','6iRGSHi','_bufferUpdate','RevisionHistoryService','258129csDXFk','requires','plugins','connected','1585884YRuMWc','from','max','5960808caZGAB','sendBufferedUpdates','updateRevisions','_lastRequestId','fromVersion','diffData','_isConnected','_fetchMissingUsers','cloudServices.bundleVersion','380bVuJwY','5132171NjdyYN','serverHistory','currentRevision','bind','config','getRevision','catch','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','listenTo','startsWith','setSource','connection','setRevisionData','1441482FAGwdg','pluginName','map','getOperations','reconnect','revisionsUpdated','CloudServicesRevisionHistoryAdapter','6207jfgLoo','editor','1tnFfRR','2812ohgQwV','connect','authors','change:_isConnected','length','addUser','isPremiumPlugin','getMany','_preventResendingRevisionData','_revisionTracker','remove','authorsIds','_startingVersion','_fixRevision','has'];_0x2722=function(){return _0x6f4974;};return _0x2722();}function _0x442e(_0xf0c7a1,_0x396d25){const _0x27221d=_0x2722();return _0x442e=function(_0x442e37,_0x189811){_0x442e37=_0x442e37-0x194;let _0x240766=_0x27221d[_0x442e37];return _0x240766;},_0x442e(_0xf0c7a1,_0x396d25);}export class CloudServicesRevisionHistoryAdapter extends _0x4756a0{static [_0xfd6a35(0x208)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x42bf0e)());[_0xfd6a35(0x19d)];[_0xfd6a35(0x1c4)];[_0xfd6a35(0x1fc)];[_0xfd6a35(0x1ef)];static get[_0xfd6a35(0x194)](){const _0x4f9418=_0xfd6a35;return[_0x2985f6,_0x36218c,_0x4f9418(0x1cb),_0x20404b,_0x12094e];}static get[_0xfd6a35(0x1b2)](){const _0x5edcc3=_0xfd6a35;return _0x5edcc3(0x1b7);}static get[_0xfd6a35(0x1e2)](){return!0x0;}static get[_0xfd6a35(0x1c1)](){return!0x0;}constructor(_0x18b5fb){const _0x13a0f9=_0xfd6a35;super(_0x18b5fb);const _0x5b238f=this[_0x13a0f9(0x1b9)][_0x13a0f9(0x1a8)][_0x13a0f9(0x1e7)](_0x13a0f9(0x205));this[_0x13a0f9(0x19d)]=null,this[_0x13a0f9(0x1c4)]=this[_0x13a0f9(0x1b9)][_0x13a0f9(0x195)][_0x13a0f9(0x1e7)](_0x13a0f9(0x1d7)),this[_0x13a0f9(0x1fc)]=new CloudServicesRevisionHistoryAdapter[(_0x13a0f9(0x208))](_0x5b238f);}async[_0xfd6a35(0x1ee)](){const _0x3432d7=_0xfd6a35,_0x35e16c=this[_0x3432d7(0x1b9)][_0x3432d7(0x195)][_0x3432d7(0x1e7)](_0x36218c),_0xacb32b=_0x35e16c[_0x3432d7(0x1a5)],_0x170818=this[_0x3432d7(0x1b9)][_0x3432d7(0x195)][_0x3432d7(0x1e7)](_0x2985f6);this[_0x3432d7(0x1c4)][_0x3432d7(0x1ae)]({'history':_0xacb32b,'getLatestVersion':()=>this[_0x3432d7(0x200)](),'getCurrentRevisionId':()=>_0x35e16c[_0x3432d7(0x1e5)]});const _0xf368cf=this[_0x3432d7(0x1b9)][_0x3432d7(0x1a8)][_0x3432d7(0x1e7)](_0x3432d7(0x1a2))||_0x3a8ab2,_0x5b0ace=await _0x32a91d[_0x3432d7(0x204)](_0x170818[_0x3432d7(0x1af)],_0xf368cf);this[_0x3432d7(0x1b9)][_0x3432d7(0x195)][_0x3432d7(0x1e7)](_0x3432d7(0x1cb))[_0x3432d7(0x1d9)]={'getRevision':async({revisionId:_0x5e3551})=>(await this[_0x3432d7(0x1d0)](),await this[_0x3432d7(0x1fc)][_0x3432d7(0x1a9)](_0x5e3551)),'updateRevisions':async _0x5d05a8=>{const _0x1ea7fe=_0x3432d7;await this[_0x1ea7fe(0x1d0)]();const _0x453fa2=this[_0x1ea7fe(0x1c4)][_0x1ea7fe(0x1a6)];if(_0x5b0ace&&0x1===_0x5d05a8[_0x1ea7fe(0x1bf)]&&_0x5d05a8[0x0]['id']===_0x453fa2['id'])return _0x5d05a8;for(const _0x47b7e6 of _0x5d05a8)_0x47b7e6['id']===_0x453fa2['id']&&(_0x47b7e6[_0x1ea7fe(0x203)]=_0x47b7e6[_0x1ea7fe(0x19e)]===_0x47b7e6[_0x1ea7fe(0x1d4)]);return this[_0x1ea7fe(0x1fc)][_0x1ea7fe(0x19c)](_0x5d05a8,this[_0x1ea7fe(0x19d)])[_0x1ea7fe(0x1cd)](_0x4435c8=>(this[_0x1ea7fe(0x19d)]=_0x4435c8,_0x5d05a8))[_0x1ea7fe(0x1aa)](_0x9ef8ac=>{const _0x506d33=_0x1ea7fe;if(et(_0x9ef8ac)||_0x506d33(0x1f3)===_0x9ef8ac[_0x506d33(0x1e4)]&&void 0x0!==_0x9ef8ac[_0x506d33(0x1f1)][_0x506d33(0x1e9)]){for(const _0x4f2b58 of _0x5d05a8){!this[_0x506d33(0x1c4)][_0x506d33(0x1ea)][_0x506d33(0x1a9)](_0x4f2b58['id'])||this[_0x506d33(0x1c4)][_0x506d33(0x207)](_0x4f2b58['id'],_0x4f2b58,!0x1);}if(et(_0x9ef8ac))throw _0x9ef8ac;return _0x5d05a8;}throw _0x9ef8ac;});}},this[_0x3432d7(0x1ac)](this[_0x3432d7(0x1fc)],_0x3432d7(0x1b6),(_0x3ea61c,{revisionsData:_0x27a4a3,requestId:_0x29b494})=>{const _0x33bae3=_0x3432d7;Math[_0x33bae3(0x199)](..._0x27a4a3[_0x33bae3(0x1b3)](_0x14ddde=>_0x14ddde[_0x33bae3(0x1d4)]))>this[_0x33bae3(0x1e6)]()-0x1?this[_0x33bae3(0x200)]()[_0x33bae3(0x1cd)](()=>{const _0x79c4cd=_0x33bae3;this[_0x79c4cd(0x1fe)](_0x27a4a3,_0x29b494);}):this[_0x33bae3(0x1fe)](_0x27a4a3,_0x29b494);});const {revisions:_0x48a03b,requestId:_0x4e4b07}=await this[_0x3432d7(0x1fc)][_0x3432d7(0x1bc)](_0x170818[_0x3432d7(0x1af)]);_0x170818[_0x3432d7(0x1d8)](this),this[_0x3432d7(0x19d)]=_0x4e4b07,await this[_0x3432d7(0x1a1)](_0x48a03b);for(const _0xca3882 of _0x48a03b)this[_0x3432d7(0x1c4)][_0x3432d7(0x1f8)](_0xca3882);this[_0x3432d7(0x1ac)](_0x35e16c,_0x3432d7(0x1be),(_0x494cde,_0xedb1c7,_0x3ab733)=>{const _0x17a61d=_0x3432d7;_0x3ab733&&(this[_0x17a61d(0x1ef)]=_0x35e16c[_0x17a61d(0x1da)],_0x494cde[_0x17a61d(0x1de)]());}),this[_0x3432d7(0x1c4)][_0x3432d7(0x1a7)](_0x3432d7(0x1e3))['to'](_0x170818,_0x3432d7(0x1df),_0x2f5e39=>_0x2f5e39===_0x50dd8c[_0x3432d7(0x1cc)]);}async[_0xfd6a35(0x1b5)](){const _0x3d50ab=_0xfd6a35,_0x270dd5=this[_0x3d50ab(0x1b9)][_0x3d50ab(0x195)][_0x3d50ab(0x1e7)](_0x2985f6),_0x2669a7=this[_0x3d50ab(0x1b9)][_0x3d50ab(0x195)][_0x3d50ab(0x1e7)](_0x36218c),_0x492f24=async()=>{const _0x5460c2=_0x3d50ab,_0xf5b1dc=this[_0x5460c2(0x1c4)][_0x5460c2(0x1a6)],_0x397d66=_0xf5b1dc['id'],_0x483fd1=_0x397d66!==_0x2669a7[_0x5460c2(0x1e5)];if(_0x483fd1){const _0x5d8606=_0x2669a7[_0x5460c2(0x1da)]-this[_0x5460c2(0x1ef)],_0x5ad383=this[_0x5460c2(0x1e6)]();this[_0x5460c2(0x1c4)][_0x5460c2(0x1ed)][_0x5460c2(0x1fa)]();if(_0xf5b1dc[_0x5460c2(0x1d4)]+_0x5d8606!==_0x5ad383){const _0x50d81d=_0xf5b1dc[_0x5460c2(0x19e)]+_0x5d8606,_0x379c77=this[_0x5460c2(0x1b9)][_0x5460c2(0x195)][_0x5460c2(0x1e7)](_0x12094e),_0x31b2a7=this[_0x5460c2(0x1c4)][_0x5460c2(0x1fb)]({'revision':_0xf5b1dc,'from':_0x50d81d,'to':_0x5ad383});_0x31b2a7['id']=_0xf5b1dc['id'];const _0x23541e=_0x31b2a7[_0x5460c2(0x1c6)][_0x5460c2(0x1b3)](_0x4d5ce0=>_0x379c77[_0x5460c2(0x1ca)](_0x4d5ce0));_0xf5b1dc[_0x5460c2(0x1cf)]({..._0x31b2a7,'authors':_0x23541e},!0x0),this[_0x5460c2(0x1c4)][_0x5460c2(0x207)](_0xf5b1dc['id'],_0x31b2a7,!0x0);}this[_0x5460c2(0x1c4)][_0x5460c2(0x1c7)]=_0x5ad383,(_0xf5b1dc[_0x5460c2(0x1d4)]===_0xf5b1dc[_0x5460c2(0x19e)]&&!this[_0x5460c2(0x1c4)][_0x5460c2(0x1e8)][_0x5460c2(0x1c9)](_0x397d66)&&this[_0x5460c2(0x1c4)][_0x5460c2(0x1ea)][_0x5460c2(0x1f4)][_0x5460c2(0x1c5)](_0x397d66),this[_0x5460c2(0x1c4)][_0x5460c2(0x1d2)](_0x5ad383));}const {revisions:_0x5edb72,requestId:_0x15ddd9}=await this[_0x5460c2(0x1fc)][_0x5460c2(0x1b5)](_0x270dd5[_0x5460c2(0x1af)],this[_0x5460c2(0x19d)]);_0x483fd1&&_0x5edb72[_0x5460c2(0x1bf)]>0x0?_0x2669a7[_0x5460c2(0x1f2)]():(await this[_0x5460c2(0x1a1)](_0x5edb72),this[_0x5460c2(0x1fe)](_0x5edb72,_0x15ddd9),this[_0x5460c2(0x1c4)][_0x5460c2(0x19b)]());};return _0x2669a7[_0x3d50ab(0x1a0)]?_0x492f24():new Promise((_0x5d9c2b,_0x1ed2de)=>{const _0x50a431=_0x3d50ab;_0x2669a7[_0x50a431(0x1f9)](_0x50a431(0x1be),()=>{const _0x5272d0=_0x50a431;_0x492f24()[_0x5272d0(0x1cd)](_0x5d9c2b)[_0x5272d0(0x1aa)](_0x1ed2de);});});}[_0xfd6a35(0x1ce)](){const _0x3352d6=_0xfd6a35;super[_0x3352d6(0x1ce)]();}async[_0xfd6a35(0x1d0)](){const _0x20070c=_0xfd6a35;this[_0x20070c(0x1fc)][_0x20070c(0x1fd)]||await new Promise(_0x2b8e03=>{const _0x13c954=_0x20070c;this[_0x13c954(0x1ac)](this[_0x13c954(0x1fc)],_0x13c954(0x196),_0xda574b=>{const _0x22a97e=_0x13c954;_0xda574b[_0x22a97e(0x1de)](),_0x2b8e03();});});}[_0xfd6a35(0x1e6)](){const _0x45176d=_0xfd6a35,_0x552a02=this[_0x45176d(0x1b9)][_0x45176d(0x195)][_0x45176d(0x1e7)](_0x36218c)[_0x45176d(0x1a5)][_0x45176d(0x1b4)]()[_0x45176d(0x202)]();for(const _0x46344f of _0x552a02)if(_0x45176d(0x1db)!==_0x46344f[_0x45176d(0x1ff)]||_0x46344f[_0x45176d(0x1d3)])return _0x46344f[_0x45176d(0x1dd)]+0x1;}[_0xfd6a35(0x200)](){const _0x156e7a=_0xfd6a35,_0x14870b=this[_0x156e7a(0x1b9)][_0x156e7a(0x195)][_0x156e7a(0x1e7)](_0x36218c);return new Promise(_0x17cb0c=>{const _0x1c498d=_0x156e7a;_0x14870b[_0x1c498d(0x1d1)]?_0x14870b[_0x1c498d(0x1f9)](_0x1c498d(0x1f7),()=>{const _0xf23ccd=_0x1c498d;_0x17cb0c(this[_0xf23ccd(0x1e6)]());}):_0x17cb0c(this[_0x1c498d(0x1e6)]());});}[_0xfd6a35(0x1fe)](_0x30ce44,_0x521a7c){const _0x21ad49=_0xfd6a35,_0x1e06c1=this[_0x21ad49(0x1c4)][_0x21ad49(0x1ea)];this[_0x21ad49(0x19d)]=_0x521a7c;for(const _0x5027ef of _0x30ce44){const _0x3b8624=_0x1e06c1[_0x21ad49(0x1a9)](_0x5027ef['id']);if(_0x3b8624){if((_0x5027ef[_0x21ad49(0x19e)]||_0x5027ef[_0x21ad49(0x1d4)])&&(_0x5027ef[_0x21ad49(0x19f)]=null),_0x3b8624===this[_0x21ad49(0x1c4)][_0x21ad49(0x1a6)]){const _0xdd3fb7=Math[_0x21ad49(0x199)](_0x3b8624[_0x21ad49(0x1d4)],_0x5027ef[_0x21ad49(0x1d4)]),_0x1f4b07=Math[_0x21ad49(0x199)](_0x3b8624[_0x21ad49(0x19e)],_0x5027ef[_0x21ad49(0x19e)]);let _0x5d95cb;_0x3b8624[_0x21ad49(0x1d4)]===_0x5027ef[_0x21ad49(0x1d4)]&&_0x3b8624[_0x21ad49(0x19e)]===_0x5027ef[_0x21ad49(0x19e)]?(_0x5d95cb=!0x0,this[_0x21ad49(0x1c3)](_0x5027ef)):_0x5027ef[_0x21ad49(0x1d4)]===_0xdd3fb7&&_0x5027ef[_0x21ad49(0x19e)]===_0x1f4b07?_0x5d95cb=!0x1:(_0x3b8624[_0x21ad49(0x1d4)]===_0xdd3fb7&&_0x3b8624[_0x21ad49(0x19e)]===_0x1f4b07||this[_0x21ad49(0x1c8)]({'revision':_0x3b8624,'from':_0x1f4b07,'to':_0xdd3fb7}),_0x5d95cb=!0x0),_0x5d95cb&&(delete _0x5027ef[_0x21ad49(0x19e)],delete _0x5027ef[_0x21ad49(0x1d4)],delete _0x5027ef[_0x21ad49(0x19f)],delete _0x5027ef[_0x21ad49(0x1d6)],delete _0x5027ef[_0x21ad49(0x1c6)]);}this[_0x21ad49(0x1c4)][_0x21ad49(0x1b0)](_0x5027ef),this[_0x21ad49(0x1c3)](_0x5027ef);}else this[_0x21ad49(0x1c4)][_0x21ad49(0x1f8)](_0x5027ef);}const _0x404d0e=_0x1e06c1[_0x21ad49(0x1e1)]();_0x404d0e[_0x21ad49(0x202)]();for(let _0x5e893c=0x0;_0x5e893c<_0x404d0e[_0x21ad49(0x1bf)]-0x1;_0x5e893c++){const _0x19b1d4=_0x404d0e[_0x5e893c],_0x3918ed=_0x404d0e[_0x5e893c+0x1];if(_0x19b1d4[_0x21ad49(0x19e)]<_0x3918ed[_0x21ad49(0x1d4)]){const _0x44abe9=_0x3918ed[_0x21ad49(0x1d4)],_0x4b6f88=Math[_0x21ad49(0x199)](_0x44abe9,_0x19b1d4[_0x21ad49(0x1d4)]);this[_0x21ad49(0x1c8)]({'revision':_0x19b1d4,'from':_0x44abe9,'to':_0x4b6f88});}}}[_0xfd6a35(0x1c8)]({revision:_0x1639d3,from:_0x233777,to:_0x5c5ebb}={}){const _0x4e60c9=_0xfd6a35,_0xd993e5=this[_0x4e60c9(0x1b9)][_0x4e60c9(0x195)][_0x4e60c9(0x1e7)](_0x12094e),_0x200ca1=this[_0x4e60c9(0x1c4)][_0x4e60c9(0x1fb)]({'revision':_0x1639d3,'from':_0x233777,'to':_0x5c5ebb});_0x200ca1[_0x4e60c9(0x1bd)]=_0x200ca1[_0x4e60c9(0x1c6)][_0x4e60c9(0x1b3)](_0x46f35d=>_0xd993e5[_0x4e60c9(0x1ca)](_0x46f35d)),_0x1639d3[_0x4e60c9(0x1cf)](_0x200ca1);}[_0xfd6a35(0x1c3)](_0x114a9e){const _0x30aedb=_0xfd6a35,_0x5a3222={};_0x5a3222['id']=_0x114a9e['id'];for(const _0xbcc6c0 of Object[_0x30aedb(0x1f5)](_0x114a9e))'id'!==_0xbcc6c0&&(_0x5a3222[_0xbcc6c0]=void 0x0);this[_0x30aedb(0x1c4)][_0x30aedb(0x207)](_0x5a3222['id'],_0x5a3222,!0x0);}async[_0xfd6a35(0x1a1)](_0x5c84e6){const _0x546ae7=_0xfd6a35,_0x315831=this[_0x546ae7(0x1b9)][_0x546ae7(0x195)][_0x546ae7(0x1e7)](_0x12094e),{connection:_0x56ed63}=this[_0x546ae7(0x1b9)][_0x546ae7(0x195)][_0x546ae7(0x1e7)](_0x2985f6),_0x5257e6=new Set();for(const _0x52aa5e of _0x5c84e6){for(const _0x288dc7 of _0x52aa5e[_0x546ae7(0x1c6)])_0x271aaa(_0x288dc7);_0x52aa5e[_0x546ae7(0x1f0)]&&_0x271aaa(_0x52aa5e[_0x546ae7(0x1f0)]);}if(0x0===_0x5257e6[_0x546ae7(0x1d5)])return;const _0x25a1e3=await _0x27e2c1[_0x546ae7(0x1c2)](_0x56ed63,Array[_0x546ae7(0x198)](_0x5257e6));for(const _0x2cf15a of _0x25a1e3)_0x315831[_0x546ae7(0x1ca)](_0x2cf15a['id'])||_0x315831[_0x546ae7(0x1c0)](_0x2cf15a);function _0x271aaa(_0x53385a){const _0x39f811=_0x546ae7;_0x315831[_0x39f811(0x1ca)](_0x53385a)||_0x5257e6[_0x39f811(0x201)](_0x53385a);}}}function et(_0x262b96){const _0xb8954e=_0xfd6a35;return _0x262b96[_0xb8954e(0x1f6)][_0xb8954e(0x1ad)](_0xb8954e(0x1ab))||_0x262b96[_0xb8954e(0x1f6)][_0xb8954e(0x1ad)](_0xb8954e(0x1e0))||_0x262b96[_0xb8954e(0x1f6)][_0xb8954e(0x1ad)](_0xb8954e(0x1ec));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x51cbd2=_0x1c85;function _0x1c85(_0x8e57de,_0x5b113e){var _0x5bee8f=_0x5bee();return _0x1c85=function(_0x1c857d,_0x2ca79f){_0x1c857d=_0x1c857d-0x1f2;var _0x256748=_0x5bee8f[_0x1c857d];return _0x256748;},_0x1c85(_0x8e57de,_0x5b113e);}function _0x5bee(){var _0xadf8d4=['RevisionHistory','5DymGXA','54040xDpaZg','2985563UQzAus','545008tkxCTU','isOfficialPlugin','1693071hQKMAU','207tCmTDh','requires','2219256sFONAH','536638CBgQyd','pluginName','1791644aIeqSQ','isPremiumPlugin','RealTimeCollaborativeRevisionHistory'];_0x5bee=function(){return _0xadf8d4;};return _0x5bee();}(function(_0x332def,_0x250f9a){var _0x31e5dc=_0x1c85,_0x20d19b=_0x332def();while(!![]){try{var _0x3d375f=parseInt(_0x31e5dc(0x1f3))/0x1+parseInt(_0x31e5dc(0x1f9))/0x2+parseInt(_0x31e5dc(0x1f5))/0x3+parseInt(_0x31e5dc(0x1fb))/0x4*(-parseInt(_0x31e5dc(0x1ff))/0x5)+-parseInt(_0x31e5dc(0x1f8))/0x6+-parseInt(_0x31e5dc(0x1f2))/0x7+-parseInt(_0x31e5dc(0x200))/0x8*(-parseInt(_0x31e5dc(0x1f6))/0x9);if(_0x3d375f===_0x250f9a)break;else _0x20d19b['push'](_0x20d19b['shift']());}catch(_0x518e97){_0x20d19b['push'](_0x20d19b['shift']());}}}(_0x5bee,0x467f1));import{Plugin as _0xe86ec3}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x3e0c25}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x213416}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0xe86ec3{static get[_0x51cbd2(0x1f7)](){var _0x109001=_0x51cbd2;return[_0x109001(0x1fe),_0x3e0c25,_0x213416];}static get[_0x51cbd2(0x1fa)](){var _0x44b798=_0x51cbd2;return _0x44b798(0x1fd);}static get[_0x51cbd2(0x1f4)](){return!0x0;}static get[_0x51cbd2(0x1fc)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x379e7c=_0x28eb;(function(_0x32ba75,_0x1f8cdb){const _0x55e4d7=_0x28eb,_0x5172bd=_0x32ba75();while(!![]){try{const _0x16edc4=parseInt(_0x55e4d7(0x1d5))/0x1*(parseInt(_0x55e4d7(0x1dc))/0x2)+-parseInt(_0x55e4d7(0x202))/0x3*(-parseInt(_0x55e4d7(0x203))/0x4)+parseInt(_0x55e4d7(0x1e5))/0x5+parseInt(_0x55e4d7(0x1e2))/0x6*(parseInt(_0x55e4d7(0x1fc))/0x7)+parseInt(_0x55e4d7(0x207))/0x8*(parseInt(_0x55e4d7(0x20f))/0x9)+-parseInt(_0x55e4d7(0x1ff))/0xa+-parseInt(_0x55e4d7(0x1e8))/0xb;if(_0x16edc4===_0x1f8cdb)break;else _0x5172bd['push'](_0x5172bd['shift']());}catch(_0x2e033d){_0x5172bd['push'](_0x5172bd['shift']());}}}(_0x3cc7,0xc3d85));import{Plugin as _0x5b0de8}from'ckeditor5/src/core.js';import{User as _0x769a18,TrackChangesService as _0x59aae1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4c1e4a}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3cc7(){const _0x4fe746=['originalSuggestionId','addUser','325650ivywoM','addToReconnectionStack','state','4059LWptGw','3776Rdrimj','CloudServicesTrackChangesAdapter','type','connected','584itSwxg','open','connection','getUser','adapter','cloud-services-internal-error:\x20Request\x20timeout.','size','_saved','110349jWTsSJ','requires','set','_waitForServiceReady','data','isPremiumPlugin','pluginName','65DDibZx','suggestionUpdated','init','get','then','addSuggestionData','update','4110VhjMDc','getMany','listenTo','_fetchMissingUsersForThreads','collaboration.channelId','config','21342VlbJUd','cloud-services-internal-error:\x20Not\x20connected.','reconnect','6116140UgROwr','TrackChangesService','_bufferedRequests','46384118plSITJ','off','_trackChangesService','catch','isOfficialPlugin','from','attributes','getSuggestion','plugins','connect','delete','startsWith','message','find','TrackChangesEditing','add','hasSuggestion','values','isConnected','editor','2996aeJbfd'];_0x3cc7=function(){return _0x4fe746;};return _0x3cc7();}function _0x28eb(_0xa46be1,_0x51692c){const _0x3cc727=_0x3cc7();return _0x28eb=function(_0x28eb0d,_0x3cf3bb){_0x28eb0d=_0x28eb0d-0x1cf;let _0x5063ee=_0x3cc727[_0x28eb0d];return _0x5063ee;},_0x28eb(_0xa46be1,_0x51692c);}import{CloudServicesCommentsAdapter as _0x4cd706}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4af37d}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5b0de8{static [_0x379e7c(0x1e6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x59aae1)());[_0x379e7c(0x1e7)];[_0x379e7c(0x1ea)];static get[_0x379e7c(0x1cf)](){const _0x5a77de=_0x379e7c;return[_0x4cd706,_0x5a77de(0x1f6),_0x4c1e4a];}static get[_0x379e7c(0x1d4)](){const _0x2dfd86=_0x379e7c;return _0x2dfd86(0x204);}static get[_0x379e7c(0x1ec)](){return!0x0;}static get[_0x379e7c(0x1d3)](){return!0x0;}constructor(_0x539105){const _0x4fa7d4=_0x379e7c;super(_0x539105);const _0x888469=this[_0x4fa7d4(0x1fb)][_0x4fa7d4(0x1e1)][_0x4fa7d4(0x1d8)](_0x4fa7d4(0x1e0));this[_0x4fa7d4(0x1e7)]=new Map(),this[_0x4fa7d4(0x1ea)]=new CloudServicesTrackChangesAdapter[(_0x4fa7d4(0x1e6))](_0x888469);}[_0x379e7c(0x1d7)](){const _0x3873ee=_0x379e7c,_0x525f8f=this[_0x3873ee(0x1fb)][_0x3873ee(0x1f0)][_0x3873ee(0x1d8)](_0x4c1e4a),_0x42ca25=this[_0x3873ee(0x1fb)][_0x3873ee(0x1f0)][_0x3873ee(0x1d8)](_0x3873ee(0x1f6));return _0x42ca25[_0x3873ee(0x20b)]={'getSuggestion':async _0x28a89e=>{const _0x416142=_0x3873ee;await this[_0x416142(0x1d1)]();const _0xde4c04=await this[_0x416142(0x1ea)][_0x416142(0x1d8)](_0x28a89e)[_0x416142(0x1eb)](k);return await this[_0x416142(0x1df)]([_0xde4c04]),_0xde4c04;},'addSuggestion':async({id:_0x571525,type:_0x1a5cb5,data:_0x398743,originalSuggestionId:_0x5d19fe,attributes:_0x1e7733})=>{const _0x16be8e=_0x3873ee;await this[_0x16be8e(0x1d1)]();const _0x5c3dba={'id':_0x571525,'type':_0x1a5cb5,'data':_0x398743,'originalSuggestionId':_0x5d19fe,'attributes':_0x1e7733},_0x35fae1=await this[_0x16be8e(0x1ea)][_0x16be8e(0x1f7)](_0x571525,_0x1a5cb5,_0x398743,_0x5d19fe,_0x1e7733)[_0x16be8e(0x1eb)](_0x205af1=>{if(et(_0x205af1))return new Promise(_0x4d41a7=>{const _0x48bf20=_0x28eb;this[_0x48bf20(0x1e7)][_0x48bf20(0x1d0)](_0x571525,{'resolve':_0x4d41a7,'suggestionData':_0x5c3dba});});throw _0x205af1;});return this[_0x16be8e(0x1e7)][_0x16be8e(0x1f2)](_0x571525),_0x35fae1;},'updateSuggestion':async(_0x2d1f9d,_0x59223c)=>{const _0x115248=_0x3873ee;if(await this[_0x115248(0x1d1)](),_0x115248(0x208)!==_0x59223c[_0x115248(0x201)])return this[_0x115248(0x1ea)][_0x115248(0x1db)](_0x2d1f9d,_0x59223c)[_0x115248(0x1eb)](k);}},this[_0x3873ee(0x1de)](this[_0x3873ee(0x1ea)],_0x3873ee(0x1d6),(_0x196ce3,_0x2b18da)=>{const _0x4df8db=_0x3873ee;_0x42ca25[_0x4df8db(0x1f8)](_0x2b18da['id'])&&(_0x42ca25[_0x4df8db(0x1ef)](_0x2b18da['id'])[_0x4df8db(0x1ee)]=_0x2b18da[_0x4df8db(0x1ee)]);}),this[_0x3873ee(0x1ea)][_0x3873ee(0x1f1)](_0x525f8f[_0x3873ee(0x209)])[_0x3873ee(0x1d9)](_0x80cd=>(_0x525f8f[_0x3873ee(0x200)](this),this[_0x3873ee(0x1df)](_0x80cd)[_0x3873ee(0x1d9)](()=>{const _0x33e7c9=_0x3873ee;for(const _0x2c1ee8 of _0x80cd){_0x42ca25[_0x33e7c9(0x1da)](_0x2c1ee8)[_0x33e7c9(0x20e)]=!0x0;}})));}async[_0x379e7c(0x1e4)](){const _0x5121b5=_0x379e7c,_0x2b9da5=this[_0x5121b5(0x1fb)][_0x5121b5(0x1f0)][_0x5121b5(0x1d8)](_0x5121b5(0x1f6)),{connection:_0x32cad1}=this[_0x5121b5(0x1fb)][_0x5121b5(0x1f0)][_0x5121b5(0x1d8)](_0x4c1e4a),_0x5d1c89=await this[_0x5121b5(0x1ea)][_0x5121b5(0x1f1)](_0x32cad1);await this[_0x5121b5(0x1df)](_0x5d1c89);for(const {suggestionData:_0x437669,resolve:_0x36e325}of this[_0x5121b5(0x1e7)][_0x5121b5(0x1f9)]()){let _0x89a298=_0x5d1c89[_0x5121b5(0x1f5)](_0x3c19df=>_0x3c19df['id']===_0x437669['id']);_0x89a298||(_0x89a298=await this[_0x5121b5(0x1ea)][_0x5121b5(0x1f7)](_0x437669['id'],_0x437669[_0x5121b5(0x205)],_0x437669[_0x5121b5(0x1d2)],_0x437669[_0x5121b5(0x1fd)])),_0x36e325(_0x89a298);}for(const _0xa06adb of _0x5d1c89)_0x2b9da5[_0x5121b5(0x1f8)](_0xa06adb['id'])||_0x2b9da5[_0x5121b5(0x1da)](_0xa06adb);}async[_0x379e7c(0x1d1)](){const _0x93e52=_0x379e7c;this[_0x93e52(0x1ea)][_0x93e52(0x1fa)]||await new Promise(_0x374c50=>{const _0x2708bd=_0x93e52;this[_0x2708bd(0x1de)](this[_0x2708bd(0x1ea)],_0x2708bd(0x206),_0x303bdd=>{const _0x8ae564=_0x2708bd;_0x303bdd[_0x8ae564(0x1e9)](),_0x374c50();});});}async[_0x379e7c(0x1df)](_0x57ab2d){const _0x3185bd=_0x379e7c,_0x41f319=this[_0x3185bd(0x1fb)][_0x3185bd(0x1f0)][_0x3185bd(0x1d8)](_0x4af37d),{connection:_0x146237}=this[_0x3185bd(0x1fb)][_0x3185bd(0x1f0)][_0x3185bd(0x1d8)](_0x4c1e4a),_0x542080=new Set();for(const {authorId:_0x544900}of _0x57ab2d)_0x41f319[_0x3185bd(0x20a)](_0x544900)||_0x542080[_0x3185bd(0x1f7)](_0x544900);if(0x0===_0x542080[_0x3185bd(0x20d)])return;const _0x4d6f09=await _0x769a18[_0x3185bd(0x1dd)](_0x146237,Array[_0x3185bd(0x1ed)](_0x542080));for(const _0x19bd47 of _0x4d6f09)_0x41f319[_0x3185bd(0x20a)](_0x19bd47['id'])||_0x41f319[_0x3185bd(0x1fe)](_0x19bd47);}}function k(_0x52acdb){if(et(_0x52acdb))return new Promise(()=>{});throw _0x52acdb;}function et(_0x263854){const _0x3a5ddc=_0x379e7c;return _0x263854[_0x3a5ddc(0x1f4)][_0x3a5ddc(0x1f3)](_0x3a5ddc(0x1e3))||_0x263854[_0x3a5ddc(0x1f4)][_0x3a5ddc(0x1f3)](_0x3a5ddc(0x20c));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xbaa05e=_0x1a6e;function _0x1a6e(_0x58b9cc,_0x301b6d){var _0x10f588=_0x10f5();return _0x1a6e=function(_0x1a6eb1,_0x4771ac){_0x1a6eb1=_0x1a6eb1-0x145;var _0x323b23=_0x10f588[_0x1a6eb1];return _0x323b23;},_0x1a6e(_0x58b9cc,_0x301b6d);}(function(_0x659064,_0x3054d5){var _0x41382c=_0x1a6e,_0x139c66=_0x659064();while(!![]){try{var _0x2748f6=-parseInt(_0x41382c(0x14f))/0x1*(parseInt(_0x41382c(0x145))/0x2)+parseInt(_0x41382c(0x151))/0x3*(-parseInt(_0x41382c(0x14e))/0x4)+parseInt(_0x41382c(0x152))/0x5*(parseInt(_0x41382c(0x149))/0x6)+parseInt(_0x41382c(0x146))/0x7+parseInt(_0x41382c(0x154))/0x8+-parseInt(_0x41382c(0x14c))/0x9*(-parseInt(_0x41382c(0x153))/0xa)+-parseInt(_0x41382c(0x150))/0xb;if(_0x2748f6===_0x3054d5)break;else _0x139c66['push'](_0x139c66['shift']());}catch(_0x419d70){_0x139c66['push'](_0x139c66['shift']());}}}(_0x10f5,0xe23a2));import{Plugin as _0x546057}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0xdbdce9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x10f5(){var _0x2c3bb1=['75ZxaOAl','5ZSKwAs','5305790NfukbK','14590560ykhKlS','RealTimeCollaborativeTrackChanges','150882DnOaXh','7263333oNIkpM','isOfficialPlugin','requires','5129214tZRJst','pluginName','isPremiumPlugin','9jJfEor','TrackChanges','213240EWzGWO','17nQihlj','7755154MjPPuy'];_0x10f5=function(){return _0x2c3bb1;};return _0x10f5();}import{RealTimeCollaborativeComments as _0x437842}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x546057{static get[_0xbaa05e(0x148)](){var _0x1db829=_0xbaa05e;return[_0x437842,_0xdbdce9,_0x1db829(0x14d)];}static get[_0xbaa05e(0x14a)](){var _0x2b91ae=_0xbaa05e;return _0x2b91ae(0x155);}static get[_0xbaa05e(0x147)](){return!0x0;}static get[_0xbaa05e(0x14b)](){return!0x0;}}
|