@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.0 → 46.0.0-alpha.2
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 +2 -2
- 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
|
+
function _0x9e71(_0x6068ec,_0x84b8e6){const _0x3eaf95=_0x3eaf();return _0x9e71=function(_0x9e717c,_0x2912cb){_0x9e717c=_0x9e717c-0x1d6;let _0x3007e6=_0x3eaf95[_0x9e717c];return _0x3007e6;},_0x9e71(_0x6068ec,_0x84b8e6);}function _0x3eaf(){const _0x226f13=['2934722cbrsJr','4vpIJIQ','state','destroy','_isBrowserOffline','_shouldPluginsReconnect','error','pluginName','954HXqLQA','plugins','4975YwFWaI','isPremiumPlugin','limitExceeded','config','connect','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.','catch','addToReconnectionStack','connection','_domEmitter','Connected\x20users\x20limit\x20exceeded','removeFromReconnectionStack','all','cloudServices.requestTimeout','init','_reconnectionStack','context','add','cloudServices.connectionTimeout','reconnect','isOfficialPlugin','requires','then','offline','CONNECTED','define','306552xMLooP','cloudservices-reconnection-error','webSocketUrl','isInReconnectionStack','2102220VgPHdQ','1162761NjJsbv','cloudservices-init','websocketgateway-missing-token','_reconnect','change:me','from','showWarning','set','listenTo','initialReconnectionInterval','WebSocketGateway','1212966fNEgXG','function','stopListening','972800oiyhXS','token','websocketgateway-missing-websocket-url','code','websocketgateway-invalid-plugin-interface','bind','connected','online','constructor','DISCONNECTED','disconnect','CloudServices','has','CONNECTING','delete','get','websocketgateway-plugin-already-registered','real-time-collaboration'];_0x3eaf=function(){return _0x226f13;};return _0x3eaf();}const _0x1a3753=_0x9e71;(function(_0x28f1e3,_0x41033b){const _0x42088d=_0x9e71,_0x44632f=_0x28f1e3();while(!![]){try{const _0x54f402=parseInt(_0x42088d(0x1db))/0x1+-parseInt(_0x42088d(0x1fc))/0x2*(-parseInt(_0x42088d(0x1d6))/0x3)+-parseInt(_0x42088d(0x1da))/0x4+parseInt(_0x42088d(0x205))/0x5*(parseInt(_0x42088d(0x203))/0x6)+-parseInt(_0x42088d(0x1fb))/0x7+-parseInt(_0x42088d(0x1e9))/0x8+parseInt(_0x42088d(0x1e6))/0x9;if(_0x54f402===_0x41033b)break;else _0x44632f['push'](_0x44632f['shift']());}catch(_0x4b95a8){_0x44632f['push'](_0x44632f['shift']());}}}(_0x3eaf,0x90f2b));import{ContextPlugin as _0x565ac9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x10f385,CKEditorError as _0x3be6fd}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1ffd28,WEB_SOCKET_GATEWAY_STATES as _0x46414b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x37a5c8}from'ckeditor5/src/ui.js';class n extends _0x565ac9{static [_0x1a3753(0x1e5)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1ffd28)());static [_0x1a3753(0x1e4)]=0x3e8;[_0x1a3753(0x20d)];[_0x1a3753(0x214)];[_0x1a3753(0x200)];[_0x1a3753(0x20e)];static get[_0x1a3753(0x21a)](){const _0x5c8ce3=_0x1a3753;return[_0x5c8ce3(0x1f4),_0x37a5c8];}static get[_0x1a3753(0x202)](){const _0x3ea05b=_0x1a3753;return _0x3ea05b(0x1e5);}static get[_0x1a3753(0x219)](){return!0x0;}static get[_0x1a3753(0x206)](){return!0x0;}constructor(_0x5ee1bb){const _0x238b58=_0x1a3753;super(_0x5ee1bb),this[_0x238b58(0x1e2)](_0x238b58(0x1fd),_0x46414b[_0x238b58(0x21d)]),this[_0x238b58(0x1e2)](_0x238b58(0x1ff),!0x1),this[_0x238b58(0x214)]=new Set(),this[_0x238b58(0x200)]=!0x1,this[_0x238b58(0x20e)]=new(_0x10f385())();}[_0x1a3753(0x213)](){const _0x3fff94=_0x1a3753,_0xe676eb=this[_0x3fff94(0x215)],_0x26f1f2=_0xe676eb[_0x3fff94(0x204)][_0x3fff94(0x1f8)](_0x3fff94(0x1f4)),_0x1983ee=_0xe676eb[_0x3fff94(0x204)][_0x3fff94(0x1f8)](_0x37a5c8);if(!_0x26f1f2[_0x3fff94(0x1ea)])throw new _0x3be6fd(_0x3fff94(0x1dd),this);if(!_0x26f1f2[_0x3fff94(0x1d8)])throw new _0x3be6fd(_0x3fff94(0x1eb),this);return this[_0x3fff94(0x20e)][_0x3fff94(0x1e3)](window,_0x3fff94(0x21c),()=>this[_0x3fff94(0x1ff)]=!0x0),this[_0x3fff94(0x20e)][_0x3fff94(0x1e3)](window,_0x3fff94(0x1f0),()=>this[_0x3fff94(0x1ff)]=!0x1),this[_0x3fff94(0x215)][_0x3fff94(0x208)][_0x3fff94(0x21e)](_0x3fff94(0x217),0xa),this[_0x3fff94(0x215)][_0x3fff94(0x208)][_0x3fff94(0x21e)](_0x3fff94(0x212),0x14),n[_0x3fff94(0x1e5)][_0x3fff94(0x209)](_0x26f1f2[_0x3fff94(0x1ea)],_0x26f1f2[_0x3fff94(0x1d8)],{'timeout':0x3e8*this[_0x3fff94(0x215)][_0x3fff94(0x208)][_0x3fff94(0x1f8)](_0x3fff94(0x217)),'requestTimeout':0x3e8*this[_0x3fff94(0x215)][_0x3fff94(0x208)][_0x3fff94(0x1f8)](_0x3fff94(0x212))})[_0x3fff94(0x21b)](_0x193603=>{const _0x1f8bde=_0x3fff94;if(this[_0x1f8bde(0x20d)]=_0x193603,this[_0x1f8bde(0x1ee)](_0x1f8bde(0x1fd))['to'](_0x193603,_0x1f8bde(0x1fd),this,_0x1f8bde(0x1ff),(_0x131371,_0x5b31f6)=>(_0x1f8bde(0x1ef)!==_0x131371&&(this[_0x1f8bde(0x200)]=!0x0),_0x5b31f6||_0x131371!==_0x46414b[_0x1f8bde(0x21d)]?_0x46414b[_0x1f8bde(0x1f2)]:this[_0x1f8bde(0x1fd)]==_0x46414b[_0x1f8bde(0x1f2)]&&this[_0x1f8bde(0x200)]?(this[_0x1f8bde(0x200)]=!0x1,this[_0x1f8bde(0x1de)](),_0x46414b[_0x1f8bde(0x1f6)]):_0x46414b[_0x1f8bde(0x21d)])),this[_0x1f8bde(0x20d)]['on'](_0x1f8bde(0x201),(_0x2d9a95,_0x3c9994)=>{const _0x1f4470=_0x1f8bde;if(_0x1f4470(0x207)!==_0x3c9994[_0x1f4470(0x1ec)])throw console[_0x1f4470(0x201)](_0x3c9994),new _0x3be6fd(_0x1f4470(0x1dc),null,{'originalError':_0x3c9994});_0x1983ee[_0x1f4470(0x1e1)](_0x1f4470(0x20a),{'title':_0x1f4470(0x20f),'namespace':_0x1f4470(0x1fa)});}),!_0x193603['me'])return new Promise(_0x9f35f0=>_0x193603['on'](_0x1f8bde(0x1df),_0x9f35f0));})[_0x3fff94(0x20b)](_0x5b30c2=>{const _0x4471ee=_0x3fff94;throw console[_0x4471ee(0x201)](_0x5b30c2),new _0x3be6fd(_0x4471ee(0x1dc),null,{'originalError':_0x5b30c2});});}[_0x1a3753(0x20c)](_0xd2f956){const _0x5f8cc6=_0x1a3753;if(_0x5f8cc6(0x1e7)!=typeof _0xd2f956[_0x5f8cc6(0x218)])throw new _0x3be6fd(_0x5f8cc6(0x1ed),this);if(this[_0x5f8cc6(0x1d9)](_0xd2f956))throw new _0x3be6fd(_0x5f8cc6(0x1f9),this,{'name':_0xd2f956[_0x5f8cc6(0x1f1)][_0x5f8cc6(0x202)]});this[_0x5f8cc6(0x214)][_0x5f8cc6(0x216)](_0xd2f956);}[_0x1a3753(0x210)](_0xbf94dd){const _0x1076a7=_0x1a3753;this[_0x1076a7(0x214)][_0x1076a7(0x1f7)](_0xbf94dd);}[_0x1a3753(0x1d9)](_0x173439){const _0x111f5f=_0x1a3753;return this[_0x111f5f(0x214)][_0x111f5f(0x1f5)](_0x173439);}[_0x1a3753(0x1de)](){const _0x26b819=_0x1a3753;return this[_0x26b819(0x20d)][_0x26b819(0x218)]()[_0x26b819(0x21b)](()=>Promise[_0x26b819(0x211)](Array[_0x26b819(0x1e0)](this[_0x26b819(0x214)],_0x209892=>_0x209892[_0x26b819(0x218)]())))[_0x26b819(0x21b)](()=>this[_0x26b819(0x1fd)]=_0x46414b[_0x26b819(0x21d)])[_0x26b819(0x20b)](_0x34f6a3=>{const _0x1decaa=_0x26b819;throw console[_0x1decaa(0x201)](_0x34f6a3),new _0x3be6fd(_0x1decaa(0x1d7),this[_0x1decaa(0x215)]);});}[_0x1a3753(0x1f3)](){const _0x2f7257=_0x1a3753;this[_0x2f7257(0x20d)]&&this[_0x2f7257(0x20d)][_0x2f7257(0x1f3)](),this[_0x2f7257(0x1fd)]=_0x46414b[_0x2f7257(0x1f2)],this[_0x2f7257(0x20e)][_0x2f7257(0x1e8)]();}[_0x1a3753(0x1fe)](){const _0x1ff890=_0x1a3753;this[_0x1ff890(0x1f3)](),super[_0x1ff890(0x1fe)]();}}export{n as WebSocketGateway};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1ec2a4=_0x6d73;(function(_0x27a7b6,_0x44111f){var _0x339ab1=_0x6d73,_0x1c5b1b=_0x27a7b6();while(!![]){try{var _0x32bdd8=parseInt(_0x339ab1(0x110))/0x1*(parseInt(_0x339ab1(0x116))/0x2)+-parseInt(_0x339ab1(0x113))/0x3+parseInt(_0x339ab1(0x112))/0x4*(-parseInt(_0x339ab1(0x118))/0x5)+parseInt(_0x339ab1(0x114))/0x6*(-parseInt(_0x339ab1(0x117))/0x7)+parseInt(_0x339ab1(0x119))/0x8*(-parseInt(_0x339ab1(0x10f))/0x9)+-parseInt(_0x339ab1(0x11d))/0xa+-parseInt(_0x339ab1(0x11c))/0xb*(-parseInt(_0x339ab1(0x11b))/0xc);if(_0x32bdd8===_0x44111f)break;else _0x1c5b1b['push'](_0x1c5b1b['shift']());}catch(_0x39a9ac){_0x1c5b1b['push'](_0x1c5b1b['shift']());}}}(_0x4467,0x9e58d));function _0x6d73(_0x55ae53,_0x29d8c6){var _0x44679e=_0x4467();return _0x6d73=function(_0x6d7351,_0x18b924){_0x6d7351=_0x6d7351-0x10d;var _0x43b94e=_0x44679e[_0x6d7351];return _0x43b94e;},_0x6d73(_0x55ae53,_0x29d8c6);}import{Plugin as _0xeec45e}from'ckeditor5/src/core.js';function _0x4467(){var _0x385228=['77892YiORyo','6787fpoFMs','9577910dXJKbG','isOfficialPlugin','requires','9SSAQmh','54691EPFknQ','pluginName','4388zMBXkN','1653645cTCfLg','348SgLyBR','RealTimeCollaborativeEditing','2UPdlyu','101353orVwbi','3490LBeXMG','2372440ZmpXPP','isPremiumPlugin'];_0x4467=function(){return _0x385228;};return _0x4467();}import{RealTimeCollaborationClient as _0x344075}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0xeec45e{static get[_0x1ec2a4(0x10e)](){return[_0x344075];}static get[_0x1ec2a4(0x111)](){var _0x5588b4=_0x1ec2a4;return _0x5588b4(0x115);}static get[_0x1ec2a4(0x10d)](){return!0x0;}static get[_0x1ec2a4(0x11a)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4c918d)());[_0x25531e(0x14f)];[_0x25531e(0x14a)];[_0x25531e(0x13a)];[_0x25531e(0x13c)];static get[_0x25531e(0x128)](){const _0x2c25c1=_0x25531e;return[_0x1e4baa,_0x340aa7,_0x2c25c1(0x149),_0x24dcf1,_0x4978d8];}static get[_0x25531e(0xf2)](){const _0xcde9d0=_0x25531e;return _0xcde9d0(0x101);}static get[_0x25531e(0x154)](){return!0x0;}static get[_0x25531e(0x136)](){return!0x0;}constructor(_0x19d468){const _0x30d768=_0x25531e;super(_0x19d468);const _0x3649cc=this[_0x30d768(0x103)][_0x30d768(0x133)][_0x30d768(0x152)](_0x30d768(0x100));this[_0x30d768(0x14f)]=null,this[_0x30d768(0x14a)]=this[_0x30d768(0x103)][_0x30d768(0x123)][_0x30d768(0x152)](_0x30d768(0x119)),this[_0x30d768(0x13a)]=new c[(_0x30d768(0x11d))](_0x3649cc);}async[_0x25531e(0x10c)](){const _0x38c3aa=_0x25531e,_0x10da77=this[_0x38c3aa(0x103)][_0x38c3aa(0x123)][_0x38c3aa(0x152)](_0x340aa7),_0x3de5fc=_0x10da77[_0x38c3aa(0x120)],_0x2ec7ed=this[_0x38c3aa(0x103)][_0x38c3aa(0x123)][_0x38c3aa(0x152)](_0x1e4baa);this[_0x38c3aa(0x14a)][_0x38c3aa(0x141)]({'history':_0x3de5fc,'getLatestVersion':()=>this[_0x38c3aa(0x13b)](),'getCurrentRevisionId':()=>_0x10da77[_0x38c3aa(0x102)]});const _0x417c74=this[_0x38c3aa(0x103)][_0x38c3aa(0x133)][_0x38c3aa(0x152)](_0x38c3aa(0x14c))||_0x18164b,_0x3543fd=await _0x5ea02e[_0x38c3aa(0xfe)](_0x2ec7ed[_0x38c3aa(0xf6)],_0x417c74);this[_0x38c3aa(0x103)][_0x38c3aa(0x123)][_0x38c3aa(0x152)](_0x38c3aa(0x149))[_0x38c3aa(0x130)]={'getRevision':async({revisionId:_0x4afe6a})=>(await this[_0x38c3aa(0x105)](),await this[_0x38c3aa(0x13a)][_0x38c3aa(0x127)](_0x4afe6a)),'updateRevisions':async _0x450063=>{const _0x14941d=_0x38c3aa;await this[_0x14941d(0x105)]();const _0x4b7411=this[_0x14941d(0x14a)][_0x14941d(0x138)];if(_0x3543fd&&0x1===_0x450063[_0x14941d(0x117)]&&_0x450063[0x0]['id']===_0x4b7411['id'])return _0x450063;for(const _0x374e1e of _0x450063)_0x374e1e['id']===_0x4b7411['id']&&(_0x374e1e[_0x14941d(0x109)]=_0x374e1e[_0x14941d(0x111)]===_0x374e1e[_0x14941d(0x11b)]);return this[_0x14941d(0x13a)][_0x14941d(0xea)](_0x450063,this[_0x14941d(0x14f)])[_0x14941d(0x12f)](_0x3a8149=>(this[_0x14941d(0x14f)]=_0x3a8149,_0x450063))[_0x14941d(0x156)](_0x514dfc=>{const _0x20c7e5=_0x14941d;if(st(_0x514dfc)||_0x20c7e5(0x10e)===_0x514dfc[_0x20c7e5(0xee)]&&void 0x0!==_0x514dfc[_0x20c7e5(0x108)][_0x20c7e5(0x135)]){for(const _0x4471f4 of _0x450063){!this[_0x20c7e5(0x14a)][_0x20c7e5(0x13f)][_0x20c7e5(0x127)](_0x4471f4['id'])||this[_0x20c7e5(0x14a)][_0x20c7e5(0x118)](_0x4471f4['id'],_0x4471f4,!0x1);}if(st(_0x514dfc))throw _0x514dfc;return _0x450063;}throw _0x514dfc;});}},this[_0x38c3aa(0x12b)](this[_0x38c3aa(0x13a)],_0x38c3aa(0x122),(_0x36c486,{revisionsData:_0x161c58,requestId:_0x1921c0})=>{const _0x364a81=_0x38c3aa;Math[_0x364a81(0x153)](..._0x161c58[_0x364a81(0x12c)](_0x14eefd=>_0x14eefd[_0x364a81(0x11b)]))>this[_0x364a81(0x143)]()-0x1?this[_0x364a81(0x13b)]()[_0x364a81(0x12f)](()=>{const _0x1b47a8=_0x364a81;this[_0x1b47a8(0x15b)](_0x161c58,_0x1921c0);}):this[_0x364a81(0x15b)](_0x161c58,_0x1921c0);});const {revisions:_0xf77dd7,requestId:_0x453192}=await this[_0x38c3aa(0x13a)][_0x38c3aa(0x11f)](_0x2ec7ed[_0x38c3aa(0xf6)]);_0x2ec7ed[_0x38c3aa(0x158)](this),this[_0x38c3aa(0x14f)]=_0x453192,await this[_0x38c3aa(0x134)](_0xf77dd7);for(const _0x1b44e1 of _0xf77dd7)this[_0x38c3aa(0x14a)][_0x38c3aa(0x104)](_0x1b44e1);this[_0x38c3aa(0x12b)](_0x10da77,_0x38c3aa(0x107),(_0x4722fa,_0x5cbfd1,_0x1fa980)=>{const _0x135a3c=_0x38c3aa;_0x1fa980&&(this[_0x135a3c(0x13c)]=_0x10da77[_0x135a3c(0x112)],_0x4722fa[_0x135a3c(0xeb)]());}),this[_0x38c3aa(0x14a)][_0x38c3aa(0x124)](_0x38c3aa(0x13d))['to'](_0x2ec7ed,_0x38c3aa(0x14b),_0x15c037=>_0x15c037===_0x8c7d09[_0x38c3aa(0xed)]);}async[_0x25531e(0x14d)](){const _0x4f7d56=_0x25531e,_0x267f6b=this[_0x4f7d56(0x103)][_0x4f7d56(0x123)][_0x4f7d56(0x152)](_0x1e4baa),_0x21d82d=this[_0x4f7d56(0x103)][_0x4f7d56(0x123)][_0x4f7d56(0x152)](_0x340aa7),_0x11a183=async()=>{const _0x146ac2=_0x4f7d56,_0x47e198=this[_0x146ac2(0x14a)][_0x146ac2(0x138)],_0x3c0abd=_0x47e198['id'],_0x556690=_0x3c0abd!==_0x21d82d[_0x146ac2(0x102)];if(_0x556690){const _0xc0bd92=_0x21d82d[_0x146ac2(0x112)]-this[_0x146ac2(0x13c)],_0x2e9464=this[_0x146ac2(0x143)]();this[_0x146ac2(0x14a)][_0x146ac2(0xf7)][_0x146ac2(0xfd)]();if(_0x47e198[_0x146ac2(0x11b)]+_0xc0bd92!==_0x2e9464){const _0x46d254=_0x47e198[_0x146ac2(0x111)]+_0xc0bd92,_0x509b1a=this[_0x146ac2(0x103)][_0x146ac2(0x123)][_0x146ac2(0x152)](_0x4978d8),_0x5ac62c=this[_0x146ac2(0x14a)][_0x146ac2(0x145)]({'revision':_0x47e198,'from':_0x46d254,'to':_0x2e9464});_0x5ac62c['id']=_0x47e198['id'];const _0x51dc3c=_0x5ac62c[_0x146ac2(0x126)][_0x146ac2(0x12c)](_0x5d1c7f=>_0x509b1a[_0x146ac2(0xfa)](_0x5d1c7f));_0x47e198[_0x146ac2(0x15a)]({..._0x5ac62c,'authors':_0x51dc3c},!0x0),this[_0x146ac2(0x14a)][_0x146ac2(0x118)](_0x47e198['id'],_0x5ac62c,!0x0);}this[_0x146ac2(0x14a)][_0x146ac2(0x151)]=_0x2e9464,(_0x47e198[_0x146ac2(0x11b)]===_0x47e198[_0x146ac2(0x111)]&&!this[_0x146ac2(0x14a)][_0x146ac2(0x10b)][_0x146ac2(0x110)](_0x3c0abd)&&this[_0x146ac2(0x14a)][_0x146ac2(0x13f)][_0x146ac2(0xec)][_0x146ac2(0x139)](_0x3c0abd),this[_0x146ac2(0x14a)][_0x146ac2(0x10a)](_0x2e9464));}const {revisions:_0x5f474a,requestId:_0x1044f9}=await this[_0x146ac2(0x13a)][_0x146ac2(0x14d)](_0x267f6b[_0x146ac2(0xf6)],this[_0x146ac2(0x14f)]);_0x556690&&_0x5f474a[_0x146ac2(0x117)]>0x0?_0x21d82d[_0x146ac2(0xf5)]():(await this[_0x146ac2(0x134)](_0x5f474a),this[_0x146ac2(0x15b)](_0x5f474a,_0x1044f9),this[_0x146ac2(0x14a)][_0x146ac2(0x147)]());};return _0x21d82d[_0x4f7d56(0x10d)]?_0x11a183():new Promise((_0x2fc78a,_0x46dd3b)=>{const _0x4dd37f=_0x4f7d56;_0x21d82d[_0x4dd37f(0x113)](_0x4dd37f(0x107),()=>{const _0xe2e3ac=_0x4dd37f;_0x11a183()[_0xe2e3ac(0x12f)](_0x2fc78a)[_0xe2e3ac(0x156)](_0x46dd3b);});});}[_0x25531e(0x131)](){const _0x56c294=_0x25531e;super[_0x56c294(0x131)]();}async[_0x25531e(0x105)](){const _0x116c07=_0x25531e;this[_0x116c07(0x13a)][_0x116c07(0xf0)]||await new Promise(_0x2e1572=>{const _0x21592c=_0x116c07;this[_0x21592c(0x12b)](this[_0x21592c(0x13a)],_0x21592c(0x157),_0x15666f=>{const _0xd5ffd1=_0x21592c;_0x15666f[_0xd5ffd1(0xeb)](),_0x2e1572();});});}[_0x25531e(0x143)](){const _0x430cc5=_0x25531e,_0x85d93c=this[_0x430cc5(0x103)][_0x430cc5(0x123)][_0x430cc5(0x152)](_0x340aa7)[_0x430cc5(0x120)][_0x430cc5(0x137)]()[_0x430cc5(0x11c)]();for(const _0x1be989 of _0x85d93c)if(_0x430cc5(0x150)!==_0x1be989[_0x430cc5(0x12a)]||_0x1be989[_0x430cc5(0x132)])return _0x1be989[_0x430cc5(0x116)]+0x1;}[_0x25531e(0x13b)](){const _0xb7ce43=_0x25531e,_0x599945=this[_0xb7ce43(0x103)][_0xb7ce43(0x123)][_0xb7ce43(0x152)](_0x340aa7);return new Promise(_0x2effeb=>{const _0xda67c8=_0xb7ce43;_0x599945[_0xda67c8(0x115)]?_0x599945[_0xda67c8(0x113)](_0xda67c8(0x142),()=>{const _0x4918ab=_0xda67c8;_0x2effeb(this[_0x4918ab(0x143)]());}):_0x2effeb(this[_0xda67c8(0x143)]());});}[_0x25531e(0x15b)](_0x24e507,_0x23d842){const _0x5a2d6c=_0x25531e,_0x59434f=this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x13f)];this[_0x5a2d6c(0x14f)]=_0x23d842;for(const _0x3b1498 of _0x24e507){const _0x3a86aa=_0x59434f[_0x5a2d6c(0x127)](_0x3b1498['id']);if(_0x3a86aa){if((_0x3b1498[_0x5a2d6c(0x111)]||_0x3b1498[_0x5a2d6c(0x11b)])&&(_0x3b1498[_0x5a2d6c(0xef)]=null),_0x3a86aa===this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x138)]){const _0x5e91ef=Math[_0x5a2d6c(0x153)](_0x3a86aa[_0x5a2d6c(0x11b)],_0x3b1498[_0x5a2d6c(0x11b)]),_0x210929=Math[_0x5a2d6c(0x153)](_0x3a86aa[_0x5a2d6c(0x111)],_0x3b1498[_0x5a2d6c(0x111)]);let _0x1604db;_0x3a86aa[_0x5a2d6c(0x11b)]===_0x3b1498[_0x5a2d6c(0x11b)]&&_0x3a86aa[_0x5a2d6c(0x111)]===_0x3b1498[_0x5a2d6c(0x111)]?(_0x1604db=!0x0,this[_0x5a2d6c(0x12d)](_0x3b1498)):_0x3b1498[_0x5a2d6c(0x11b)]===_0x5e91ef&&_0x3b1498[_0x5a2d6c(0x111)]===_0x210929?_0x1604db=!0x1:(_0x3a86aa[_0x5a2d6c(0x11b)]===_0x5e91ef&&_0x3a86aa[_0x5a2d6c(0x111)]===_0x210929||this[_0x5a2d6c(0x106)]({'revision':_0x3a86aa,'from':_0x210929,'to':_0x5e91ef}),_0x1604db=!0x0),_0x1604db&&(delete _0x3b1498[_0x5a2d6c(0x111)],delete _0x3b1498[_0x5a2d6c(0x11b)],delete _0x3b1498[_0x5a2d6c(0xef)],delete _0x3b1498[_0x5a2d6c(0x11e)],delete _0x3b1498[_0x5a2d6c(0x126)]);}this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x10f)](_0x3b1498),this[_0x5a2d6c(0x12d)](_0x3b1498);}else this[_0x5a2d6c(0x14a)][_0x5a2d6c(0x104)](_0x3b1498);}const _0x52a618=_0x59434f[_0x5a2d6c(0x15c)]();_0x52a618[_0x5a2d6c(0x11c)]();for(let _0xd72376=0x0;_0xd72376<_0x52a618[_0x5a2d6c(0x117)]-0x1;_0xd72376++){const _0x4e7205=_0x52a618[_0xd72376],_0x473840=_0x52a618[_0xd72376+0x1];if(_0x4e7205[_0x5a2d6c(0x111)]<_0x473840[_0x5a2d6c(0x11b)]){const _0x3af656=_0x473840[_0x5a2d6c(0x11b)],_0x5aedb9=Math[_0x5a2d6c(0x153)](_0x3af656,_0x4e7205[_0x5a2d6c(0x11b)]);this[_0x5a2d6c(0x106)]({'revision':_0x4e7205,'from':_0x3af656,'to':_0x5aedb9});}}}[_0x25531e(0x106)]({revision:_0x217458,from:_0x35f407,to:_0x16ff88}={}){const _0x53d163=_0x25531e,_0x5d343e=this[_0x53d163(0x103)][_0x53d163(0x123)][_0x53d163(0x152)](_0x4978d8),_0x159a2e=this[_0x53d163(0x14a)][_0x53d163(0x145)]({'revision':_0x217458,'from':_0x35f407,'to':_0x16ff88});_0x159a2e[_0x53d163(0x144)]=_0x159a2e[_0x53d163(0x126)][_0x53d163(0x12c)](_0x2c06f0=>_0x5d343e[_0x53d163(0xfa)](_0x2c06f0)),_0x217458[_0x53d163(0x15a)](_0x159a2e);}[_0x25531e(0x12d)](_0x21a85a){const _0x5918bc=_0x25531e,_0x432b44={};_0x432b44['id']=_0x21a85a['id'];for(const _0x26fb2d of Object[_0x5918bc(0x155)](_0x21a85a))'id'!==_0x26fb2d&&(_0x432b44[_0x26fb2d]=void 0x0);this[_0x5918bc(0x14a)][_0x5918bc(0x118)](_0x432b44['id'],_0x432b44,!0x0);}async[_0x25531e(0x134)](_0x34bc9f){const _0x1874c6=_0x25531e,_0x3f21c6=this[_0x1874c6(0x103)][_0x1874c6(0x123)][_0x1874c6(0x152)](_0x4978d8),{connection:_0x5daee6}=this[_0x1874c6(0x103)][_0x1874c6(0x123)][_0x1874c6(0x152)](_0x1e4baa),_0x5f6cfe=new Set();for(const _0x276b62 of _0x34bc9f){for(const _0x423031 of _0x276b62[_0x1874c6(0x126)])_0x5a0ae8(_0x423031);_0x276b62[_0x1874c6(0x129)]&&_0x5a0ae8(_0x276b62[_0x1874c6(0x129)]);}if(0x0===_0x5f6cfe[_0x1874c6(0xfb)])return;const _0xc8983a=await _0x418210[_0x1874c6(0xf9)](_0x5daee6,Array[_0x1874c6(0xf4)](_0x5f6cfe));for(const _0x31b8d1 of _0xc8983a)_0x3f21c6[_0x1874c6(0xfa)](_0x31b8d1['id'])||_0x3f21c6[_0x1874c6(0x14e)](_0x31b8d1);function _0x5a0ae8(_0x863e08){const _0x367b74=_0x1874c6;_0x3f21c6[_0x367b74(0xfa)](_0x863e08)||_0x5f6cfe[_0x367b74(0x12e)](_0x863e08);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x1b166d){const _0x463e5e=_0x25531e;return _0x1b166d[_0x463e5e(0x13e)][_0x463e5e(0x146)](_0x463e5e(0x148))||_0x1b166d[_0x463e5e(0x13e)][_0x463e5e(0x146)](_0x463e5e(0x121))||_0x1b166d[_0x463e5e(0x13e)][_0x463e5e(0x146)](_0x463e5e(0x125));}
|
|
23
|
+
const _0x42f951=_0xe288;(function(_0x427edc,_0x56ebe9){const _0x3be091=_0xe288,_0x4807b1=_0x427edc();while(!![]){try{const _0x3e3e8c=-parseInt(_0x3be091(0x192))/0x1*(-parseInt(_0x3be091(0x1bc))/0x2)+parseInt(_0x3be091(0x1b5))/0x3*(-parseInt(_0x3be091(0x171))/0x4)+parseInt(_0x3be091(0x189))/0x5+parseInt(_0x3be091(0x167))/0x6+parseInt(_0x3be091(0x19b))/0x7*(parseInt(_0x3be091(0x1ab))/0x8)+-parseInt(_0x3be091(0x176))/0x9*(parseInt(_0x3be091(0x18c))/0xa)+parseInt(_0x3be091(0x193))/0xb*(-parseInt(_0x3be091(0x16f))/0xc);if(_0x3e3e8c===_0x56ebe9)break;else _0x4807b1['push'](_0x4807b1['shift']());}catch(_0x2842eb){_0x4807b1['push'](_0x4807b1['shift']());}}}(_0x5903,0x5a472));import{Plugin as _0x28bdef}from'ckeditor5/src/core.js';import{version as _0x4f8099}from'ckeditor5/src/utils.js';import{Users as _0x1bb426}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x3e207c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x759070}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5a5079}from'../realtimecollaborativeediting/sessions.js';function _0x5903(){const _0x1f8abf=['requires','_isPendingUpdate','_offset','marker','fromVersion','_fetchMissingUsers','_revisionDataBuilder','config','keys','message','destroy','affectsData','CloudServicesRevisionHistoryAdapter','reverse','buildRevisionData','collaboration.channelId','_fixRevision','pluginName','_revisionTracker','has','addRevisionData','init','RevisionHistoryService','3483846gGULHc','CONNECTED','getRevisions','reconnect','_handleRevisionsUpdate','diffData','addUser','authorsIds','12eFNbve','RevisionHistory','428pECapu','repository','reInit','state','bind','1926YAmfKQ','_getLatestVersion','createdAt','wrongRequestId','_revisionHistoryService','from','editor','RevisionTracker','addToReconnectionStack','data','isPremiumPlugin','sendBufferedUpdates','isConnected','adapter','type','creatorId','code','getRevision','cloud-services-internal-error:\x20Request\x20timeout.','1801150OEFkwj','currentRevision','_oldOffset','26090lTcOny','400','setSource','max','updateRevisions','once','100783KMerzA','11015125vcfvWU','sessionId','listenTo','_createCurrentRevision','cloudServices.bundleVersion','add','get','_startingVersion','3504606kRgSJF','change:_isConnected','connection','isOfficialPlugin','_bufferUpdate','map','_waitForServiceReady','startsWith','_bufferedUpdates','_lastRequestId','isEnabled','authors','size','revisionsUpdated','then','_handleReconnectionError','8JhHSVo','length','baseVersion','serverHistory','_update','remove','setRevisionData','isBundleUploaded','getOperations','getUser','6099tcOHLQ','toVersion','catch','_preventResendingRevisionData','getMany','_revisions','connect','14mCCVCk','connected','change:_isPendingUpdate','_getLatestVersionFromServerOperations','plugins','cloud-services-internal-error:\x20Not\x20connected.','_isConnected','isEmptyCurrent','off','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.'];_0x5903=function(){return _0x1f8abf;};return _0x5903();}import{EditorService as _0x5833c,RevisionHistoryService as _0xd41160,User as _0x4ed5aa,WEB_SOCKET_GATEWAY_STATES as _0x31bec7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x28bdef{static [_0x42f951(0x166)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xd41160)());[_0x42f951(0x1a4)];[_0x42f951(0x162)];[_0x42f951(0x17a)];[_0x42f951(0x18b)];static get[_0x42f951(0x150)](){const _0x1a257c=_0x42f951;return[_0x759070,_0x3e207c,_0x1a257c(0x170),_0x5a5079,_0x1bb426];}static get[_0x42f951(0x161)](){const _0x334303=_0x42f951;return _0x334303(0x15c);}static get[_0x42f951(0x19e)](){return!0x0;}static get[_0x42f951(0x180)](){return!0x0;}constructor(_0xd0a082){const _0x5847b0=_0x42f951;super(_0xd0a082);const _0x4ebbb3=this[_0x5847b0(0x17c)][_0x5847b0(0x157)][_0x5847b0(0x199)](_0x5847b0(0x15f));this[_0x5847b0(0x1a4)]=null,this[_0x5847b0(0x162)]=this[_0x5847b0(0x17c)][_0x5847b0(0x1c0)][_0x5847b0(0x199)](_0x5847b0(0x17d)),this[_0x5847b0(0x17a)]=new c[(_0x5847b0(0x166))](_0x4ebbb3);}async[_0x42f951(0x165)](){const _0x5c2b8f=_0x42f951,_0x4abe50=this[_0x5c2b8f(0x17c)][_0x5c2b8f(0x1c0)][_0x5c2b8f(0x199)](_0x3e207c),_0x324f49=_0x4abe50[_0x5c2b8f(0x1ae)],_0x1cfc5b=this[_0x5c2b8f(0x17c)][_0x5c2b8f(0x1c0)][_0x5c2b8f(0x199)](_0x759070);this[_0x5c2b8f(0x162)][_0x5c2b8f(0x18e)]({'history':_0x324f49,'getLatestVersion':()=>this[_0x5c2b8f(0x177)](),'getCurrentRevisionId':()=>_0x4abe50[_0x5c2b8f(0x194)]});const _0x1f0513=this[_0x5c2b8f(0x17c)][_0x5c2b8f(0x157)][_0x5c2b8f(0x199)](_0x5c2b8f(0x197))||_0x4f8099,_0x34234c=await _0x5833c[_0x5c2b8f(0x1b2)](_0x1cfc5b[_0x5c2b8f(0x19d)],_0x1f0513);this[_0x5c2b8f(0x17c)][_0x5c2b8f(0x1c0)][_0x5c2b8f(0x199)](_0x5c2b8f(0x170))[_0x5c2b8f(0x183)]={'getRevision':async({revisionId:_0x5f3466})=>(await this[_0x5c2b8f(0x1a1)](),await this[_0x5c2b8f(0x17a)][_0x5c2b8f(0x187)](_0x5f3466)),'updateRevisions':async _0x5bdd19=>{const _0x1443e4=_0x5c2b8f;await this[_0x1443e4(0x1a1)]();const _0x38ea2b=this[_0x1443e4(0x162)][_0x1443e4(0x18a)];if(_0x34234c&&0x1===_0x5bdd19[_0x1443e4(0x1ac)]&&_0x5bdd19[0x0]['id']===_0x38ea2b['id'])return _0x5bdd19;for(const _0x26fa46 of _0x5bdd19)_0x26fa46['id']===_0x38ea2b['id']&&(_0x26fa46[_0x1443e4(0x14d)]=_0x26fa46[_0x1443e4(0x154)]===_0x26fa46[_0x1443e4(0x1b6)]);return this[_0x1443e4(0x17a)][_0x1443e4(0x190)](_0x5bdd19,this[_0x1443e4(0x1a4)])[_0x1443e4(0x1a9)](_0xece2ca=>(this[_0x1443e4(0x1a4)]=_0xece2ca,_0x5bdd19))[_0x1443e4(0x1b7)](_0x32ea99=>{const _0x414ea7=_0x1443e4;if(ot(_0x32ea99)||_0x414ea7(0x18d)===_0x32ea99[_0x414ea7(0x186)]&&void 0x0!==_0x32ea99[_0x414ea7(0x17f)][_0x414ea7(0x179)]){for(const _0x1cf562 of _0x5bdd19){!this[_0x414ea7(0x162)][_0x414ea7(0x172)][_0x414ea7(0x187)](_0x1cf562['id'])||this[_0x414ea7(0x162)][_0x414ea7(0x19f)](_0x1cf562['id'],_0x1cf562,!0x1);}if(ot(_0x32ea99))throw _0x32ea99;return _0x5bdd19;}throw _0x32ea99;});}},this[_0x5c2b8f(0x195)](this[_0x5c2b8f(0x17a)],_0x5c2b8f(0x1a8),(_0x2ae464,{revisionsData:_0x3092e3,requestId:_0x1d27ac})=>{const _0x384876=_0x5c2b8f;Math[_0x384876(0x18f)](..._0x3092e3[_0x384876(0x1a0)](_0x282966=>_0x282966[_0x384876(0x1b6)]))>this[_0x384876(0x1bf)]()-0x1?this[_0x384876(0x177)]()[_0x384876(0x1a9)](()=>{const _0x5383bd=_0x384876;this[_0x5383bd(0x16b)](_0x3092e3,_0x1d27ac);}):this[_0x384876(0x16b)](_0x3092e3,_0x1d27ac);});const {revisions:_0x5e0557,requestId:_0x4feeaf}=await this[_0x5c2b8f(0x17a)][_0x5c2b8f(0x1bb)](_0x1cfc5b[_0x5c2b8f(0x19d)]);_0x1cfc5b[_0x5c2b8f(0x17e)](this),this[_0x5c2b8f(0x1a4)]=_0x4feeaf,await this[_0x5c2b8f(0x155)](_0x5e0557);for(const _0x3fcb50 of _0x5e0557)this[_0x5c2b8f(0x162)][_0x5c2b8f(0x164)](_0x3fcb50);this[_0x5c2b8f(0x195)](_0x4abe50,_0x5c2b8f(0x19c),(_0xd044fb,_0xab5449,_0x3e47d5)=>{const _0x52dea7=_0x5c2b8f;_0x3e47d5&&(this[_0x52dea7(0x18b)]=_0x4abe50[_0x52dea7(0x152)],_0xd044fb[_0x52dea7(0x14e)]());}),this[_0x5c2b8f(0x162)][_0x5c2b8f(0x175)](_0x5c2b8f(0x1a5))['to'](_0x1cfc5b,_0x5c2b8f(0x174),_0x5c50df=>_0x5c50df===_0x31bec7[_0x5c2b8f(0x168)]);}async[_0x42f951(0x16a)](){const _0x55b33c=_0x42f951,_0x1f0753=this[_0x55b33c(0x17c)][_0x55b33c(0x1c0)][_0x55b33c(0x199)](_0x759070),_0x1972cb=this[_0x55b33c(0x17c)][_0x55b33c(0x1c0)][_0x55b33c(0x199)](_0x3e207c),_0x239845=async()=>{const _0xe568f5=_0x55b33c,_0x409e7a=this[_0xe568f5(0x162)][_0xe568f5(0x18a)],_0x378948=_0x409e7a['id'],_0x3037dd=_0x378948!==_0x1972cb[_0xe568f5(0x194)];if(_0x3037dd){const _0x5e1c87=_0x1972cb[_0xe568f5(0x152)]-this[_0xe568f5(0x18b)],_0x27e2aa=this[_0xe568f5(0x1bf)]();this[_0xe568f5(0x162)][_0xe568f5(0x156)][_0xe568f5(0x173)]();if(_0x409e7a[_0xe568f5(0x1b6)]+_0x5e1c87!==_0x27e2aa){const _0x4f3959=_0x409e7a[_0xe568f5(0x154)]+_0x5e1c87,_0x17e6ca=this[_0xe568f5(0x17c)][_0xe568f5(0x1c0)][_0xe568f5(0x199)](_0x1bb426),_0x59e03c=this[_0xe568f5(0x162)][_0xe568f5(0x15e)]({'revision':_0x409e7a,'from':_0x4f3959,'to':_0x27e2aa});_0x59e03c['id']=_0x409e7a['id'];const _0x38d894=_0x59e03c[_0xe568f5(0x16e)][_0xe568f5(0x1a0)](_0x5b16c2=>_0x17e6ca[_0xe568f5(0x1b4)](_0x5b16c2));_0x409e7a[_0xe568f5(0x1af)]({..._0x59e03c,'authors':_0x38d894},!0x0),this[_0xe568f5(0x162)][_0xe568f5(0x19f)](_0x409e7a['id'],_0x59e03c,!0x0);}this[_0xe568f5(0x162)][_0xe568f5(0x19a)]=_0x27e2aa,(_0x409e7a[_0xe568f5(0x1b6)]===_0x409e7a[_0xe568f5(0x154)]&&!this[_0xe568f5(0x162)][_0xe568f5(0x1a3)][_0xe568f5(0x163)](_0x378948)&&this[_0xe568f5(0x162)][_0xe568f5(0x172)][_0xe568f5(0x1ba)][_0xe568f5(0x1b0)](_0x378948),this[_0xe568f5(0x162)][_0xe568f5(0x196)](_0x27e2aa));}const {revisions:_0x1b3c6f,requestId:_0x36fb3f}=await this[_0xe568f5(0x17a)][_0xe568f5(0x16a)](_0x1f0753[_0xe568f5(0x19d)],this[_0xe568f5(0x1a4)]);_0x3037dd&&_0x1b3c6f[_0xe568f5(0x1ac)]>0x0?_0x1972cb[_0xe568f5(0x1aa)]():(await this[_0xe568f5(0x155)](_0x1b3c6f),this[_0xe568f5(0x16b)](_0x1b3c6f,_0x36fb3f),this[_0xe568f5(0x162)][_0xe568f5(0x181)]());};return _0x1972cb[_0x55b33c(0x14c)]?_0x239845():new Promise((_0x2f5469,_0x1a6e5a)=>{const _0x5ad285=_0x55b33c;_0x1972cb[_0x5ad285(0x191)](_0x5ad285(0x19c),()=>{const _0x5e16ed=_0x5ad285;_0x239845()[_0x5e16ed(0x1a9)](_0x2f5469)[_0x5e16ed(0x1b7)](_0x1a6e5a);});});}[_0x42f951(0x15a)](){const _0x5ba937=_0x42f951;super[_0x5ba937(0x15a)]();}async[_0x42f951(0x1a1)](){const _0x1f672f=_0x42f951;this[_0x1f672f(0x17a)][_0x1f672f(0x182)]||await new Promise(_0x2b0091=>{const _0x72695e=_0x1f672f;this[_0x72695e(0x195)](this[_0x72695e(0x17a)],_0x72695e(0x1bd),_0x4d9989=>{const _0x336eff=_0x72695e;_0x4d9989[_0x336eff(0x14e)](),_0x2b0091();});});}[_0x42f951(0x1bf)](){const _0x49cdbc=_0x42f951,_0x30e3ab=this[_0x49cdbc(0x17c)][_0x49cdbc(0x1c0)][_0x49cdbc(0x199)](_0x3e207c)[_0x49cdbc(0x1ae)][_0x49cdbc(0x1b3)]()[_0x49cdbc(0x15d)]();for(const _0x36d557 of _0x30e3ab)if(_0x49cdbc(0x153)!==_0x36d557[_0x49cdbc(0x184)]||_0x36d557[_0x49cdbc(0x15b)])return _0x36d557[_0x49cdbc(0x1ad)]+0x1;}[_0x42f951(0x177)](){const _0x501001=_0x42f951,_0x4ebe02=this[_0x501001(0x17c)][_0x501001(0x1c0)][_0x501001(0x199)](_0x3e207c);return new Promise(_0x3805b0=>{const _0x5511da=_0x501001;_0x4ebe02[_0x5511da(0x151)]?_0x4ebe02[_0x5511da(0x191)](_0x5511da(0x1be),()=>{const _0x5f3b27=_0x5511da;_0x3805b0(this[_0x5f3b27(0x1bf)]());}):_0x3805b0(this[_0x5511da(0x1bf)]());});}[_0x42f951(0x16b)](_0xda0ac6,_0x2d4720){const _0x584c53=_0x42f951,_0xda2f2d=this[_0x584c53(0x162)][_0x584c53(0x172)];this[_0x584c53(0x1a4)]=_0x2d4720;for(const _0x1a462d of _0xda0ac6){const _0x53eef9=_0xda2f2d[_0x584c53(0x187)](_0x1a462d['id']);if(_0x53eef9){if((_0x1a462d[_0x584c53(0x154)]||_0x1a462d[_0x584c53(0x1b6)])&&(_0x1a462d[_0x584c53(0x16c)]=null),_0x53eef9===this[_0x584c53(0x162)][_0x584c53(0x18a)]){const _0x451b18=Math[_0x584c53(0x18f)](_0x53eef9[_0x584c53(0x1b6)],_0x1a462d[_0x584c53(0x1b6)]),_0x4e45c2=Math[_0x584c53(0x18f)](_0x53eef9[_0x584c53(0x154)],_0x1a462d[_0x584c53(0x154)]);let _0x3f6a1a;_0x53eef9[_0x584c53(0x1b6)]===_0x1a462d[_0x584c53(0x1b6)]&&_0x53eef9[_0x584c53(0x154)]===_0x1a462d[_0x584c53(0x154)]?(_0x3f6a1a=!0x0,this[_0x584c53(0x1b8)](_0x1a462d)):_0x1a462d[_0x584c53(0x1b6)]===_0x451b18&&_0x1a462d[_0x584c53(0x154)]===_0x4e45c2?_0x3f6a1a=!0x1:(_0x53eef9[_0x584c53(0x1b6)]===_0x451b18&&_0x53eef9[_0x584c53(0x154)]===_0x4e45c2||this[_0x584c53(0x160)]({'revision':_0x53eef9,'from':_0x4e45c2,'to':_0x451b18}),_0x3f6a1a=!0x0),_0x3f6a1a&&(delete _0x1a462d[_0x584c53(0x154)],delete _0x1a462d[_0x584c53(0x1b6)],delete _0x1a462d[_0x584c53(0x16c)],delete _0x1a462d[_0x584c53(0x178)],delete _0x1a462d[_0x584c53(0x16e)]);}this[_0x584c53(0x162)][_0x584c53(0x1b1)](_0x1a462d),this[_0x584c53(0x1b8)](_0x1a462d);}else this[_0x584c53(0x162)][_0x584c53(0x164)](_0x1a462d);}const _0x3e91ff=_0xda2f2d[_0x584c53(0x169)]();_0x3e91ff[_0x584c53(0x15d)]();for(let _0x5891f0=0x0;_0x5891f0<_0x3e91ff[_0x584c53(0x1ac)]-0x1;_0x5891f0++){const _0x4a5438=_0x3e91ff[_0x5891f0],_0x4a7b30=_0x3e91ff[_0x5891f0+0x1];if(_0x4a5438[_0x584c53(0x154)]<_0x4a7b30[_0x584c53(0x1b6)]){const _0x7005ce=_0x4a7b30[_0x584c53(0x1b6)],_0x15bd22=Math[_0x584c53(0x18f)](_0x7005ce,_0x4a5438[_0x584c53(0x1b6)]);this[_0x584c53(0x160)]({'revision':_0x4a5438,'from':_0x7005ce,'to':_0x15bd22});}}}[_0x42f951(0x160)]({revision:_0x1dda00,from:_0x4e8917,to:_0x11a424}={}){const _0x2e16c1=_0x42f951,_0x36075e=this[_0x2e16c1(0x17c)][_0x2e16c1(0x1c0)][_0x2e16c1(0x199)](_0x1bb426),_0x1ae7aa=this[_0x2e16c1(0x162)][_0x2e16c1(0x15e)]({'revision':_0x1dda00,'from':_0x4e8917,'to':_0x11a424});_0x1ae7aa[_0x2e16c1(0x1a6)]=_0x1ae7aa[_0x2e16c1(0x16e)][_0x2e16c1(0x1a0)](_0x52170c=>_0x36075e[_0x2e16c1(0x1b4)](_0x52170c)),_0x1dda00[_0x2e16c1(0x1af)](_0x1ae7aa);}[_0x42f951(0x1b8)](_0x2c507e){const _0x5688b8=_0x42f951,_0x40d137={};_0x40d137['id']=_0x2c507e['id'];for(const _0x45a3ce of Object[_0x5688b8(0x158)](_0x2c507e))'id'!==_0x45a3ce&&(_0x40d137[_0x45a3ce]=void 0x0);this[_0x5688b8(0x162)][_0x5688b8(0x19f)](_0x40d137['id'],_0x40d137,!0x0);}async[_0x42f951(0x155)](_0x3a81ff){const _0x521647=_0x42f951,_0x2ddebc=this[_0x521647(0x17c)][_0x521647(0x1c0)][_0x521647(0x199)](_0x1bb426),{connection:_0x3c2c3f}=this[_0x521647(0x17c)][_0x521647(0x1c0)][_0x521647(0x199)](_0x759070),_0x3ddd25=new Set();for(const _0x2589be of _0x3a81ff){for(const _0x108c0e of _0x2589be[_0x521647(0x16e)])_0x519761(_0x108c0e);_0x2589be[_0x521647(0x185)]&&_0x519761(_0x2589be[_0x521647(0x185)]);}if(0x0===_0x3ddd25[_0x521647(0x1a7)])return;const _0x4f25e6=await _0x4ed5aa[_0x521647(0x1b9)](_0x3c2c3f,Array[_0x521647(0x17b)](_0x3ddd25));for(const _0x2f82f2 of _0x4f25e6)_0x2ddebc[_0x521647(0x1b4)](_0x2f82f2['id'])||_0x2ddebc[_0x521647(0x16d)](_0x2f82f2);function _0x519761(_0x1780ae){const _0x5234f3=_0x521647;_0x2ddebc[_0x5234f3(0x1b4)](_0x1780ae)||_0x3ddd25[_0x5234f3(0x198)](_0x1780ae);}}}function _0xe288(_0x37e347,_0x3b8a01){const _0x590337=_0x5903();return _0xe288=function(_0xe288e0,_0xf8c70c){_0xe288e0=_0xe288e0-0x14c;let _0x755b0f=_0x590337[_0xe288e0];return _0x755b0f;},_0xe288(_0x37e347,_0x3b8a01);}export{c as CloudServicesRevisionHistoryAdapter};function ot(_0x2487e9){const _0x756a=_0x42f951;return _0x2487e9[_0x756a(0x159)][_0x756a(0x1a2)](_0x756a(0x14f))||_0x2487e9[_0x756a(0x159)][_0x756a(0x1a2)](_0x756a(0x1c1))||_0x2487e9[_0x756a(0x159)][_0x756a(0x1a2)](_0x756a(0x188));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3f48e9=_0x5c3a;(function(_0x448047,_0x116111){var _0x17eb35=_0x5c3a,_0x6f19c2=_0x448047();while(!![]){try{var _0x5e81ef=-parseInt(_0x17eb35(0x160))/0x1*(-parseInt(_0x17eb35(0x159))/0x2)+-parseInt(_0x17eb35(0x15e))/0x3+parseInt(_0x17eb35(0x161))/0x4+-parseInt(_0x17eb35(0x154))/0x5*(parseInt(_0x17eb35(0x162))/0x6)+-parseInt(_0x17eb35(0x155))/0x7*(-parseInt(_0x17eb35(0x158))/0x8)+parseInt(_0x17eb35(0x157))/0x9*(parseInt(_0x17eb35(0x15c))/0xa)+parseInt(_0x17eb35(0x152))/0xb;if(_0x5e81ef===_0x116111)break;else _0x6f19c2['push'](_0x6f19c2['shift']());}catch(_0x9aad77){_0x6f19c2['push'](_0x6f19c2['shift']());}}}(_0x12c8,0x9ac0f));function _0x5c3a(_0x4d745f,_0x1908d3){var _0x12c837=_0x12c8();return _0x5c3a=function(_0x5c3ada,_0x47c422){_0x5c3ada=_0x5c3ada-0x152;var _0x35bb00=_0x12c837[_0x5c3ada];return _0x35bb00;},_0x5c3a(_0x4d745f,_0x1908d3);}function _0x12c8(){var _0x110bc3=['304211GegDKP','854548lCJgRO','1434rbaLCk','13058254oZAsCE','isOfficialPlugin','25535aARMwp','699503VLjhXQ','requires','4050npGyBQ','8bfZypV','2ZdfRem','pluginName','RealTimeCollaborativeRevisionHistory','6310bFWOPb','isPremiumPlugin','703191XCtuAB','RevisionHistory'];_0x12c8=function(){return _0x110bc3;};return _0x12c8();}import{Plugin as _0x1cac16}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x5031a0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x4002b6}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x1cac16{static get[_0x3f48e9(0x156)](){var _0x251f61=_0x3f48e9;return[_0x251f61(0x15f),_0x5031a0,_0x4002b6];}static get[_0x3f48e9(0x15a)](){var _0x50f34d=_0x3f48e9;return _0x50f34d(0x15b);}static get[_0x3f48e9(0x153)](){return!0x0;}static get[_0x3f48e9(0x15d)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x53f8e5=_0x32be;(function(_0x30aea2,_0x3b298b){const _0x3869d1=_0x32be,_0x9b1580=_0x30aea2();while(!![]){try{const _0x56fbe3=parseInt(_0x3869d1(0x176))/0x1+-parseInt(_0x3869d1(0x199))/0x2+parseInt(_0x3869d1(0x170))/0x3*(-parseInt(_0x3869d1(0x193))/0x4)+-parseInt(_0x3869d1(0x191))/0x5+-parseInt(_0x3869d1(0x18b))/0x6+parseInt(_0x3869d1(0x16c))/0x7+-parseInt(_0x3869d1(0x186))/0x8*(-parseInt(_0x3869d1(0x19c))/0x9);if(_0x56fbe3===_0x3b298b)break;else _0x9b1580['push'](_0x9b1580['shift']());}catch(_0x4adbee){_0x9b1580['push'](_0x9b1580['shift']());}}}(_0x3de0,0xf3121));import{Plugin as _0x3423f5}from'ckeditor5/src/core.js';function _0x3de0(){const _0x1d5ee5=['2453336quotQi','addSuggestionData','getMany','from','addToReconnectionStack','2480322sfrtUh','update','pluginName','message','get','_waitForServiceReady','1589595aBiUPZ','open','48EBUfWJ','adapter','attributes','cloud-services-internal-error:\x20Request\x20timeout.','state','CloudServicesTrackChangesAdapter','1538834XSqMWe','isOfficialPlugin','originalSuggestionId','81lfBsYu','then','isPremiumPlugin','set','delete','data','getSuggestion','hasSuggestion','_bufferedRequests','connected','connection','startsWith','listenTo','reconnect','add','6269221rdKdck','TrackChangesEditing','connect','config','363213vxpcIz','cloud-services-internal-error:\x20Not\x20connected.','plugins','editor','isConnected','off','293586BwbzRZ','getUser','catch','size','type','find','collaboration.channelId','TrackChangesService','requires','suggestionUpdated','_fetchMissingUsersForThreads','values','init','_saved','_trackChangesService','addUser'];_0x3de0=function(){return _0x1d5ee5;};return _0x3de0();}import{User as _0x5872f8,TrackChangesService as _0x325c58}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x40e15c}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x7d2f3d}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5c45c8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x32be(_0x4ea1c2,_0xe77708){const _0x3de026=_0x3de0();return _0x32be=function(_0x32be46,_0x30af0e){_0x32be46=_0x32be46-0x162;let _0x1a7a5b=_0x3de026[_0x32be46];return _0x1a7a5b;},_0x32be(_0x4ea1c2,_0xe77708);}class m extends _0x3423f5{static [_0x53f8e5(0x17d)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x325c58)());[_0x53f8e5(0x165)];[_0x53f8e5(0x184)];static get[_0x53f8e5(0x17e)](){const _0x250c5f=_0x53f8e5;return[_0x7d2f3d,_0x250c5f(0x16d),_0x40e15c];}static get[_0x53f8e5(0x18d)](){const _0x394d18=_0x53f8e5;return _0x394d18(0x198);}static get[_0x53f8e5(0x19a)](){return!0x0;}static get[_0x53f8e5(0x19e)](){return!0x0;}constructor(_0x1f3aea){const _0x106918=_0x53f8e5;super(_0x1f3aea);const _0x33e717=this[_0x106918(0x173)][_0x106918(0x16f)][_0x106918(0x18f)](_0x106918(0x17c));this[_0x106918(0x165)]=new Map(),this[_0x106918(0x184)]=new m[(_0x106918(0x17d))](_0x33e717);}[_0x53f8e5(0x182)](){const _0x1ab619=_0x53f8e5,_0x5c330c=this[_0x1ab619(0x173)][_0x1ab619(0x172)][_0x1ab619(0x18f)](_0x40e15c),_0x16cab8=this[_0x1ab619(0x173)][_0x1ab619(0x172)][_0x1ab619(0x18f)](_0x1ab619(0x16d));return _0x16cab8[_0x1ab619(0x194)]={'getSuggestion':async _0x14c2e1=>{const _0x315b7e=_0x1ab619;await this[_0x315b7e(0x190)]();const _0x3ae3cf=await this[_0x315b7e(0x184)][_0x315b7e(0x18f)](_0x14c2e1)[_0x315b7e(0x178)](tt);return await this[_0x315b7e(0x180)]([_0x3ae3cf]),_0x3ae3cf;},'addSuggestion':async({id:_0x426900,type:_0x100227,data:_0x545133,originalSuggestionId:_0xea120b,attributes:_0x51c7a7})=>{const _0x1b1a34=_0x1ab619;await this[_0x1b1a34(0x190)]();const _0x32cffc={'id':_0x426900,'type':_0x100227,'data':_0x545133,'originalSuggestionId':_0xea120b,'attributes':_0x51c7a7},_0x4465e9=await this[_0x1b1a34(0x184)][_0x1b1a34(0x16b)](_0x426900,_0x100227,_0x545133,_0xea120b,_0x51c7a7)[_0x1b1a34(0x178)](_0x2812aa=>{if(ot(_0x2812aa))return new Promise(_0x5b3d22=>{const _0xfd732c=_0x32be;this[_0xfd732c(0x165)][_0xfd732c(0x19f)](_0x426900,{'resolve':_0x5b3d22,'suggestionData':_0x32cffc});});throw _0x2812aa;});return this[_0x1b1a34(0x165)][_0x1b1a34(0x1a0)](_0x426900),_0x4465e9;},'updateSuggestion':async(_0x94dc27,_0x29c653)=>{const _0x5e99f0=_0x1ab619;if(await this[_0x5e99f0(0x190)](),_0x5e99f0(0x192)!==_0x29c653[_0x5e99f0(0x197)])return this[_0x5e99f0(0x184)][_0x5e99f0(0x18c)](_0x94dc27,_0x29c653)[_0x5e99f0(0x178)](tt);}},this[_0x1ab619(0x169)](this[_0x1ab619(0x184)],_0x1ab619(0x17f),(_0x25dc73,_0x5e1734)=>{const _0x59fb1a=_0x1ab619;_0x16cab8[_0x59fb1a(0x164)](_0x5e1734['id'])&&(_0x16cab8[_0x59fb1a(0x163)](_0x5e1734['id'])[_0x59fb1a(0x195)]=_0x5e1734[_0x59fb1a(0x195)]);}),this[_0x1ab619(0x184)][_0x1ab619(0x16e)](_0x5c330c[_0x1ab619(0x167)])[_0x1ab619(0x19d)](_0x2b7a61=>(_0x5c330c[_0x1ab619(0x18a)](this),this[_0x1ab619(0x180)](_0x2b7a61)[_0x1ab619(0x19d)](()=>{const _0x129da2=_0x1ab619;for(const _0x453376 of _0x2b7a61){_0x16cab8[_0x129da2(0x187)](_0x453376)[_0x129da2(0x183)]=!0x0;}})));}async[_0x53f8e5(0x16a)](){const _0x5b4cd5=_0x53f8e5,_0x3c0e1a=this[_0x5b4cd5(0x173)][_0x5b4cd5(0x172)][_0x5b4cd5(0x18f)](_0x5b4cd5(0x16d)),{connection:_0x8c51c8}=this[_0x5b4cd5(0x173)][_0x5b4cd5(0x172)][_0x5b4cd5(0x18f)](_0x40e15c),_0x55a822=await this[_0x5b4cd5(0x184)][_0x5b4cd5(0x16e)](_0x8c51c8);await this[_0x5b4cd5(0x180)](_0x55a822);for(const {suggestionData:_0x441ea2,resolve:_0x1c214c}of this[_0x5b4cd5(0x165)][_0x5b4cd5(0x181)]()){let _0x23355a=_0x55a822[_0x5b4cd5(0x17b)](_0x4a49dd=>_0x4a49dd['id']===_0x441ea2['id']);_0x23355a||(_0x23355a=await this[_0x5b4cd5(0x184)][_0x5b4cd5(0x16b)](_0x441ea2['id'],_0x441ea2[_0x5b4cd5(0x17a)],_0x441ea2[_0x5b4cd5(0x162)],_0x441ea2[_0x5b4cd5(0x19b)])),_0x1c214c(_0x23355a);}for(const _0x913deb of _0x55a822)_0x3c0e1a[_0x5b4cd5(0x164)](_0x913deb['id'])||_0x3c0e1a[_0x5b4cd5(0x187)](_0x913deb);}async[_0x53f8e5(0x190)](){const _0x5b8b98=_0x53f8e5;this[_0x5b8b98(0x184)][_0x5b8b98(0x174)]||await new Promise(_0x3f93ca=>{const _0xbf552=_0x5b8b98;this[_0xbf552(0x169)](this[_0xbf552(0x184)],_0xbf552(0x166),_0x45804c=>{const _0x179ef7=_0xbf552;_0x45804c[_0x179ef7(0x175)](),_0x3f93ca();});});}async[_0x53f8e5(0x180)](_0xd9a24f){const _0x547435=_0x53f8e5,_0x10f661=this[_0x547435(0x173)][_0x547435(0x172)][_0x547435(0x18f)](_0x5c45c8),{connection:_0x2c7695}=this[_0x547435(0x173)][_0x547435(0x172)][_0x547435(0x18f)](_0x40e15c),_0x1e4f2c=new Set();for(const {authorId:_0x375f3e}of _0xd9a24f)_0x10f661[_0x547435(0x177)](_0x375f3e)||_0x1e4f2c[_0x547435(0x16b)](_0x375f3e);if(0x0===_0x1e4f2c[_0x547435(0x179)])return;const _0x153457=await _0x5872f8[_0x547435(0x188)](_0x2c7695,Array[_0x547435(0x189)](_0x1e4f2c));for(const _0x31f302 of _0x153457)_0x10f661[_0x547435(0x177)](_0x31f302['id'])||_0x10f661[_0x547435(0x185)](_0x31f302);}}export{m as CloudServicesTrackChangesAdapter};function tt(_0x58d075){if(ot(_0x58d075))return new Promise(()=>{});throw _0x58d075;}function ot(_0x349432){const _0x46fe7c=_0x53f8e5;return _0x349432[_0x46fe7c(0x18e)][_0x46fe7c(0x168)](_0x46fe7c(0x171))||_0x349432[_0x46fe7c(0x18e)][_0x46fe7c(0x168)](_0x46fe7c(0x196));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3812(){var _0x4e9696=['requires','4424UWWwqp','24369YbAOhz','RealTimeCollaborativeTrackChanges','20153ESrZBu','isPremiumPlugin','5dcZVHS','pluginName','764jOtfYY','133550qJVYMk','23859979FUQfSn','isOfficialPlugin','2046108wDKdDf','783rSiuGx','99tMGaJq','4587792EdTJoi','10ckdEHO','161561RiFXZb','TrackChanges'];_0x3812=function(){return _0x4e9696;};return _0x3812();}function _0x2597(_0x2f4f10,_0x308685){var _0x3812d5=_0x3812();return _0x2597=function(_0x2597b2,_0x5168de){_0x2597b2=_0x2597b2-0x166;var _0x1005d3=_0x3812d5[_0x2597b2];return _0x1005d3;},_0x2597(_0x2f4f10,_0x308685);}var _0x4a599c=_0x2597;(function(_0x811e87,_0x4e2227){var _0xc33776=_0x2597,_0x526102=_0x811e87();while(!![]){try{var _0x1da5f8=-parseInt(_0xc33776(0x16d))/0x1*(parseInt(_0xc33776(0x16c))/0x2)+parseInt(_0xc33776(0x171))/0x3*(parseInt(_0xc33776(0x177))/0x4)+parseInt(_0xc33776(0x175))/0x5*(parseInt(_0xc33776(0x16b))/0x6)+-parseInt(_0xc33776(0x173))/0x7*(-parseInt(_0xc33776(0x170))/0x8)+-parseInt(_0xc33776(0x169))/0x9*(-parseInt(_0xc33776(0x178))/0xa)+-parseInt(_0xc33776(0x16a))/0xb*(parseInt(_0xc33776(0x168))/0xc)+-parseInt(_0xc33776(0x166))/0xd;if(_0x1da5f8===_0x4e2227)break;else _0x526102['push'](_0x526102['shift']());}catch(_0x140ecf){_0x526102['push'](_0x526102['shift']());}}}(_0x3812,0xd9da8));import{Plugin as _0x191693}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2dd505}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x106784}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x191693{static get[_0x4a599c(0x16f)](){var _0x4996b3=_0x4a599c;return[_0x106784,_0x2dd505,_0x4996b3(0x16e)];}static get[_0x4a599c(0x176)](){var _0x19030d=_0x4a599c;return _0x19030d(0x172);}static get[_0x4a599c(0x167)](){return!0x0;}static get[_0x4a599c(0x174)](){return!0x0;}}
|