@ckeditor/ckeditor5-real-time-collaboration 43.3.1 → 44.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -6
- package/build/real-time-collaboration.js +1 -1
- package/dist/augmentation.d.ts +8 -1
- package/dist/index.js +6 -6
- package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
- package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
- 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/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 +9 -9
- package/src/augmentation.d.ts +8 -1
- 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 +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bab29=_0x34cf;(function(_0xd86d3a,_0x1b366e){const _0x183347=_0x34cf,_0x22aa9b=_0xd86d3a();while(!![]){try{const _0x3c52b8=-parseInt(_0x183347(0x20c))/0x1*(parseInt(_0x183347(0x208))/0x2)+-parseInt(_0x183347(0x20a))/0x3+parseInt(_0x183347(0x218))/0x4+parseInt(_0x183347(0x20d))/0x5+parseInt(_0x183347(0x1f2))/0x6*(-parseInt(_0x183347(0x220))/0x7)+-parseInt(_0x183347(0x1e3))/0x8*(parseInt(_0x183347(0x1e9))/0x9)+parseInt(_0x183347(0x1df))/0xa;if(_0x3c52b8===_0x1b366e)break;else _0x22aa9b['push'](_0x22aa9b['shift']());}catch(_0x55549c){_0x22aa9b['push'](_0x22aa9b['shift']());}}}(_0x1217,0x38b11));import{ContextPlugin as _0x38ebdb}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x29f8b5,CKEditorError as _0x1a02e7}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x46217f,WEB_SOCKET_GATEWAY_STATES as _0x36ebc3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x843f61}from'ckeditor5/src/ui.js';class c extends _0x38ebdb{static get[_0x5bab29(0x1e4)](){const _0x5141d1=_0x5bab29;return[_0x5141d1(0x21b),_0x843f61];}static get[_0x5bab29(0x1ee)](){const _0x1efcad=_0x5bab29;return _0x1efcad(0x1eb);}static get[_0x5bab29(0x1fd)](){return!0x0;}static get[_0x5bab29(0x1e8)](){return!0x0;}constructor(_0x5514c6){const _0x1c49b2=_0x5bab29;super(_0x5514c6),this[_0x1c49b2(0x216)](_0x1c49b2(0x1ed),_0x36ebc3[_0x1c49b2(0x213)]),this[_0x1c49b2(0x216)](_0x1c49b2(0x1f1),!0x1),this[_0x1c49b2(0x200)]=new Set(),this[_0x1c49b2(0x21c)]=!0x1,this[_0x1c49b2(0x202)]=Object[_0x1c49b2(0x1e6)](_0x29f8b5);}[_0x5bab29(0x210)](){const _0x3fd961=_0x5bab29,_0x461aa9=this[_0x3fd961(0x1f7)],_0x1c7792=_0x461aa9[_0x3fd961(0x203)][_0x3fd961(0x228)](_0x3fd961(0x21b)),_0x447322=_0x461aa9[_0x3fd961(0x203)][_0x3fd961(0x228)](_0x843f61);if(!_0x1c7792[_0x3fd961(0x1f6)])throw new _0x1a02e7(_0x3fd961(0x1f0),this);if(!_0x1c7792[_0x3fd961(0x1f4)])throw new _0x1a02e7(_0x3fd961(0x1fa),this);return this[_0x3fd961(0x202)][_0x3fd961(0x1e1)](window,_0x3fd961(0x222),()=>this[_0x3fd961(0x1f1)]=!0x0),this[_0x3fd961(0x202)][_0x3fd961(0x1e1)](window,_0x3fd961(0x1f3),()=>this[_0x3fd961(0x1f1)]=!0x1),this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x1ec)](_0x3fd961(0x227),0xa),this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x1ec)](_0x3fd961(0x229),0x14),c[_0x3fd961(0x1eb)][_0x3fd961(0x20e)](_0x1c7792[_0x3fd961(0x1f6)],_0x1c7792[_0x3fd961(0x1f4)],{'timeout':0x3e8*this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x228)](_0x3fd961(0x227)),'requestTimeout':0x3e8*this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x228)](_0x3fd961(0x229))})[_0x3fd961(0x1ff)](_0x322141=>{const _0x1b6025=_0x3fd961;if(this[_0x1b6025(0x217)]=_0x322141,this[_0x1b6025(0x1f5)](_0x1b6025(0x1ed))['to'](_0x322141,_0x1b6025(0x1ed),this,_0x1b6025(0x1f1),(_0x334179,_0x5c2f93)=>(_0x1b6025(0x21a)!==_0x334179&&(this[_0x1b6025(0x21c)]=!0x0),_0x5c2f93||_0x334179!==_0x36ebc3[_0x1b6025(0x213)]?_0x36ebc3[_0x1b6025(0x212)]:this[_0x1b6025(0x1ed)]==_0x36ebc3[_0x1b6025(0x212)]&&this[_0x1b6025(0x21c)]?(this[_0x1b6025(0x21c)]=!0x1,this[_0x1b6025(0x1e5)](),_0x36ebc3[_0x1b6025(0x1e2)]):_0x36ebc3[_0x1b6025(0x213)])),this[_0x1b6025(0x217)]['on'](_0x1b6025(0x1f9),(_0x323896,_0x5ed609)=>{const _0x258343=_0x1b6025;if(_0x258343(0x201)!==_0x5ed609[_0x258343(0x206)])throw console[_0x258343(0x1f9)](_0x5ed609),new _0x1a02e7(_0x258343(0x221),null,{'originalError':_0x5ed609});_0x447322[_0x258343(0x226)](_0x258343(0x1fb),{'title':_0x258343(0x21e),'namespace':_0x258343(0x214)});}),!_0x322141['me'])return new Promise(_0x2c6b10=>_0x322141['on'](_0x1b6025(0x1fc),_0x2c6b10));})[_0x3fd961(0x1ef)](_0x44048a=>{const _0x2551ac=_0x3fd961;throw console[_0x2551ac(0x1f9)](_0x44048a),new _0x1a02e7(_0x2551ac(0x221),null,{'originalError':_0x44048a});});}[_0x5bab29(0x20f)](_0x304364){const _0x2bceed=_0x5bab29;if(_0x2bceed(0x20b)!=typeof _0x304364[_0x2bceed(0x224)])throw new _0x1a02e7(_0x2bceed(0x1ea),this);if(this[_0x2bceed(0x1f8)](_0x304364))throw new _0x1a02e7(_0x2bceed(0x211),this,{'name':_0x304364[_0x2bceed(0x215)][_0x2bceed(0x1ee)]});this[_0x2bceed(0x200)][_0x2bceed(0x1e7)](_0x304364);}[_0x5bab29(0x1fe)](_0x5e1924){const _0x477663=_0x5bab29;this[_0x477663(0x200)][_0x477663(0x225)](_0x5e1924);}[_0x5bab29(0x1f8)](_0x1b18a1){const _0x1ec48a=_0x5bab29;return this[_0x1ec48a(0x200)][_0x1ec48a(0x204)](_0x1b18a1);}[_0x5bab29(0x1e5)](){const _0x401a7d=_0x5bab29;return this[_0x401a7d(0x217)][_0x401a7d(0x224)]()[_0x401a7d(0x1ff)](()=>Promise[_0x401a7d(0x223)](Array[_0x401a7d(0x205)](this[_0x401a7d(0x200)],_0x3ed671=>_0x3ed671[_0x401a7d(0x224)]())))[_0x401a7d(0x1ff)](()=>this[_0x401a7d(0x1ed)]=_0x36ebc3[_0x401a7d(0x213)])[_0x401a7d(0x1ef)](_0x2f4941=>{const _0x29cfa7=_0x401a7d;throw console[_0x29cfa7(0x1f9)](_0x2f4941),new _0x1a02e7(_0x29cfa7(0x1e0),this[_0x29cfa7(0x1f7)]);});}[_0x5bab29(0x207)](){const _0x25c37f=_0x5bab29;this[_0x25c37f(0x217)]&&this[_0x25c37f(0x217)][_0x25c37f(0x209)](),this[_0x25c37f(0x1ed)]=_0x36ebc3[_0x25c37f(0x212)],this[_0x25c37f(0x202)][_0x25c37f(0x21f)](),super[_0x25c37f(0x207)]();}}function _0x34cf(_0x5b3f34,_0x4d58d0){const _0x1217dc=_0x1217();return _0x34cf=function(_0x34cfae,_0x1878ce){_0x34cfae=_0x34cfae-0x1df;let _0x5c108a=_0x1217dc[_0x34cfae];return _0x5c108a;},_0x34cf(_0x5b3f34,_0x4d58d0);}c[_0x5bab29(0x1eb)]=_0x46217f,c[_0x5bab29(0x219)]=0x3e8;function _0x1217(){const _0x290a8e=['get','cloudServices.requestTimeout','9451230enBsOu','cloudservices-reconnection-error','listenTo','CONNECTING','54104WrPivm','requires','_reconnect','create','add','isPremiumPlugin','261dRqvzT','websocketgateway-invalid-plugin-interface','WebSocketGateway','define','state','pluginName','catch','websocketgateway-missing-token','_isBrowserOffline','754398hISotC','online','webSocketUrl','bind','token','context','isInReconnectionStack','error','websocketgateway-missing-websocket-url','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.','change:me','isOfficialPlugin','removeFromReconnectionStack','then','_reconnectionStack','limitExceeded','_domEmitter','plugins','has','from','code','destroy','196ZtsoJN','disconnect','228753bERWCw','function','4282GCYpog','747255fphwHB','connect','addToReconnectionStack','init','websocketgateway-plugin-already-registered','DISCONNECTED','CONNECTED','real-time-collaboration','constructor','set','connection','827392zgaMee','initialReconnectionInterval','connected','CloudServices','_shouldPluginsReconnect','config','Connected\x20users\x20limit\x20exceeded','stopListening','21RgDsOP','cloudservices-init','offline','all','reconnect','delete','showWarning','cloudServices.connectionTimeout'];_0x1217=function(){return _0x290a8e;};return _0x1217();}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5a8c(){var _0x27b1f8=['isPremiumPlugin','isOfficialPlugin','6616372dtuSzZ','RealTimeCollaborativeEditing','592497VkTlBd','31137BreLmF','539795JbEeuz','114YMLPIN','pluginName','requires','8243472CVMhAV','7324230HUJYEh','4869584OYQQgE'];_0x5a8c=function(){return _0x27b1f8;};return _0x5a8c();}function _0x33a2(_0xbf95ee,_0x5031c1){var _0x5a8c13=_0x5a8c();return _0x33a2=function(_0x33a23f,_0x599e65){_0x33a23f=_0x33a23f-0xb9;var _0x8265a7=_0x5a8c13[_0x33a23f];return _0x8265a7;},_0x33a2(_0xbf95ee,_0x5031c1);}var _0x1b0957=_0x33a2;(function(_0x24c368,_0x28e07){var _0x4530c6=_0x33a2,_0x46aa31=_0x24c368();while(!![]){try{var _0x2c834c=-parseInt(_0x4530c6(0xba))/0x1+-parseInt(_0x4530c6(0xbd))/0x2*(parseInt(_0x4530c6(0xbb))/0x3)+-parseInt(_0x4530c6(0xc2))/0x4+parseInt(_0x4530c6(0xbc))/0x5+parseInt(_0x4530c6(0xc1))/0x6+parseInt(_0x4530c6(0xc5))/0x7+parseInt(_0x4530c6(0xc0))/0x8;if(_0x2c834c===_0x28e07)break;else _0x46aa31['push'](_0x46aa31['shift']());}catch(_0x3b2f86){_0x46aa31['push'](_0x46aa31['shift']());}}}(_0x5a8c,0xdc68e));import{Plugin as _0x2027d8}from'ckeditor5/src/core.js';import _0x344ee9 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x2027d8{static get[_0x1b0957(0xbf)](){return[_0x344ee9];}static get[_0x1b0957(0xbe)](){var _0x29edf4=_0x1b0957;return _0x29edf4(0xb9);}static get[_0x1b0957(0xc4)](){return!0x0;}static get[_0x1b0957(0xc3)](){return!0x0;}}
|
|
@@ -21,6 +21,18 @@ export default class CloudServicesRevisionHistoryAdapter extends Plugin implemen
|
|
|
21
21
|
* @inheritDoc
|
|
22
22
|
*/
|
|
23
23
|
static get requires(): readonly [typeof WebSocketGateway, typeof RealTimeCollaborationClient, "RevisionTracker", typeof Sessions, typeof Users];
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
static get pluginName(): "CloudServicesRevisionHistoryAdapter";
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
static get isOfficialPlugin(): true;
|
|
32
|
+
/**
|
|
33
|
+
* @inheritDoc
|
|
34
|
+
*/
|
|
35
|
+
static get isPremiumPlugin(): true;
|
|
24
36
|
/**
|
|
25
37
|
* @inheritDoc
|
|
26
38
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a1a96=_0x4bc6;(function(_0x2955c3,_0x30f07a){const _0x550e3e=_0x4bc6,_0x323996=_0x2955c3();while(!![]){try{const _0x4d7b2b=-parseInt(_0x550e3e(0x23e))/0x1+parseInt(_0x550e3e(0x259))/0x2*(-parseInt(_0x550e3e(0x235))/0x3)+parseInt(_0x550e3e(0x1f4))/0x4*(-parseInt(_0x550e3e(0x21a))/0x5)+-parseInt(_0x550e3e(0x231))/0x6+parseInt(_0x550e3e(0x247))/0x7*(-parseInt(_0x550e3e(0x1fe))/0x8)+-parseInt(_0x550e3e(0x207))/0x9+parseInt(_0x550e3e(0x21d))/0xa;if(_0x4d7b2b===_0x30f07a)break;else _0x323996['push'](_0x323996['shift']());}catch(_0x44cd9a){_0x323996['push'](_0x323996['shift']());}}}(_0x68b1,0x79902));import{Plugin as _0x435042}from'ckeditor5/src/core.js';import{version as _0x2b01b7}from'ckeditor5/src/utils.js';function _0x4bc6(_0x3c8904,_0x3c6c2e){const _0x68b139=_0x68b1();return _0x4bc6=function(_0x4bc64a,_0x1252a1){_0x4bc64a=_0x4bc64a-0x1f0;let _0xdf4678=_0x68b139[_0x4bc64a];return _0xdf4678;},_0x4bc6(_0x3c8904,_0x3c6c2e);}import{Users as _0x45c0a0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1f5204 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x4c4b9b from'../realtimecollaborativeediting/websocketgateway.js';import _0x50b09a from'../realtimecollaborativeediting/sessions.js';function _0x68b1(){const _0x1ed261=['isEnabled','updateRevisions','sendBufferedUpdates','listenTo','112AElZzB','RevisionHistoryService','code','_revisions','currentRevision','map','sessionId','catch','_lastRequestId','4535136SBXZkB','_revisionHistoryService','change:_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','fromVersion','reverse','from','addUser','reconnect','_handleRevisionsUpdate','connection','editor','_fetchMissingUsers','remove','startsWith','size','length','_fixRevision','type','100QkLVGq','_revisionDataBuilder','buildRevisionData','36626370UnnmFv','has','keys','adapter','get','config','destroy','wrongRequestId','creatorId','cloud-services-internal-error:\x20Not\x20connected.','bind','_bufferUpdate','createdAt','cloudServices.bundleVersion','revisionsUpdated','_oldOffset','requires','authors','getRevision','_offset','4495206aDqMds','isBundleUploaded','connected','affectsData','234EHPeba','isConnected','then','connect','change:_isPendingUpdate','max','once','_isConnected','getMany','58208aQnAAD','_getLatestVersion','_update','getRevisions','_isPendingUpdate','marker','setRevisionData','_startingVersion','_revisionTracker','322294uBcyqd','init','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','data','add','baseVersion','toVersion','reInit','state','_handleReconnectionError','message','RevisionTracker','CONNECTED','authorsIds','_bufferedUpdates','repository','collaboration.channelId','_getLatestVersionFromServerOperations','16886xvFrRO','_createCurrentRevision','addRevisionData','_preventResendingRevisionData','plugins','getOperations','isEmptyCurrent','addToReconnectionStack','setSource','diffData','110052IyAeAB','serverHistory','getUser','400','off','_waitForServiceReady'];_0x68b1=function(){return _0x1ed261;};return _0x68b1();}import{EditorService as _0x51cefe,RevisionHistoryService as _0x5ebc8,User as _0x3e6860,WEB_SOCKET_GATEWAY_STATES as _0x1db8a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x435042{static get[_0x1a1a96(0x22d)](){const _0x5e4a0e=_0x1a1a96;return[_0x4c4b9b,_0x1f5204,_0x5e4a0e(0x252),_0x50b09a,_0x45c0a0];}constructor(_0x1ed304){const _0x14752b=_0x1a1a96;super(_0x1ed304);const _0x371fcc=this[_0x14752b(0x212)][_0x14752b(0x222)][_0x14752b(0x221)](_0x14752b(0x257));this[_0x14752b(0x206)]=null,this[_0x14752b(0x246)]=this[_0x14752b(0x212)][_0x14752b(0x25d)][_0x14752b(0x221)](_0x14752b(0x252)),this[_0x14752b(0x208)]=new u[(_0x14752b(0x1ff))](_0x371fcc);}async[_0x1a1a96(0x248)](){const _0x2b3709=_0x1a1a96,_0x264cc1=this[_0x2b3709(0x212)][_0x2b3709(0x25d)][_0x2b3709(0x221)](_0x1f5204),_0x1fece6=_0x264cc1[_0x2b3709(0x1f5)],_0x1fec5b=this[_0x2b3709(0x212)][_0x2b3709(0x25d)][_0x2b3709(0x221)](_0x4c4b9b);this[_0x2b3709(0x246)][_0x2b3709(0x1f2)]({'history':_0x1fece6,'getLatestVersion':()=>this[_0x2b3709(0x23f)](),'getCurrentRevisionId':()=>_0x264cc1[_0x2b3709(0x204)]});const _0x3010ae=this[_0x2b3709(0x212)][_0x2b3709(0x222)][_0x2b3709(0x221)](_0x2b3709(0x22a))||_0x2b01b7,_0x13bd70=await _0x51cefe[_0x2b3709(0x232)](_0x1fec5b[_0x2b3709(0x211)],_0x3010ae);this[_0x2b3709(0x246)][_0x2b3709(0x220)]={'getRevision':async({revisionId:_0xe030c0})=>(await this[_0x2b3709(0x1f9)](),await this[_0x2b3709(0x208)][_0x2b3709(0x22f)](_0xe030c0)),'updateRevisions':async _0xbb6f86=>{const _0x4bb23e=_0x2b3709;await this[_0x4bb23e(0x1f9)]();const _0x3158af=this[_0x4bb23e(0x246)][_0x4bb23e(0x202)];if(_0x13bd70&&0x1===_0xbb6f86[_0x4bb23e(0x217)]&&_0xbb6f86[0x0]['id']===_0x3158af['id'])return _0xbb6f86;for(const _0x195503 of _0xbb6f86)_0x195503['id']===_0x3158af['id']&&(_0x195503[_0x4bb23e(0x1f0)]=_0x195503[_0x4bb23e(0x20b)]===_0x195503[_0x4bb23e(0x24d)]);return this[_0x4bb23e(0x208)][_0x4bb23e(0x1fb)](_0xbb6f86,this[_0x4bb23e(0x206)])[_0x4bb23e(0x237)](_0x599a98=>(this[_0x4bb23e(0x206)]=_0x599a98,_0xbb6f86))[_0x4bb23e(0x205)](_0x91f01a=>{const _0x527e0b=_0x4bb23e;if(rt(_0x91f01a)||_0x527e0b(0x1f7)===_0x91f01a[_0x527e0b(0x200)]&&void 0x0!==_0x91f01a[_0x527e0b(0x24a)][_0x527e0b(0x224)]){for(const _0x13a082 of _0xbb6f86){!this[_0x527e0b(0x246)][_0x527e0b(0x256)][_0x527e0b(0x22f)](_0x13a082['id'])||this[_0x527e0b(0x246)][_0x527e0b(0x228)](_0x13a082['id'],_0x13a082,!0x1);}if(rt(_0x91f01a))throw _0x91f01a;return _0xbb6f86;}throw _0x91f01a;});}},this[_0x2b3709(0x1fd)](this[_0x2b3709(0x208)],_0x2b3709(0x22b),(_0x391b93,{revisionsData:_0x4b8171,requestId:_0x50c998})=>{const _0x8ce4ae=_0x2b3709;Math[_0x8ce4ae(0x23a)](..._0x4b8171[_0x8ce4ae(0x203)](_0x154107=>_0x154107[_0x8ce4ae(0x24d)]))>this[_0x8ce4ae(0x258)]()-0x1?this[_0x8ce4ae(0x23f)]()[_0x8ce4ae(0x237)](()=>{const _0x2b1034=_0x8ce4ae;this[_0x2b1034(0x210)](_0x4b8171,_0x50c998);}):this[_0x8ce4ae(0x210)](_0x4b8171,_0x50c998);});const {revisions:_0xb07ec9,requestId:_0x596287}=await this[_0x2b3709(0x208)][_0x2b3709(0x238)](_0x1fec5b[_0x2b3709(0x211)]);_0x1fec5b[_0x2b3709(0x1f1)](this),this[_0x2b3709(0x206)]=_0x596287,await this[_0x2b3709(0x213)](_0xb07ec9);for(const _0x25eaa5 of _0xb07ec9)this[_0x2b3709(0x246)][_0x2b3709(0x25b)](_0x25eaa5);this[_0x2b3709(0x1fd)](_0x264cc1,_0x2b3709(0x209),(_0xdd29e3,_0x24371d,_0x3502d7)=>{const _0x34e0ef=_0x2b3709;_0x3502d7&&(this[_0x34e0ef(0x22c)]=_0x264cc1[_0x34e0ef(0x230)],_0xdd29e3[_0x34e0ef(0x1f8)]());}),this[_0x2b3709(0x246)][_0x2b3709(0x227)](_0x2b3709(0x1fa))['to'](_0x1fec5b,_0x2b3709(0x24f),_0x372ec8=>_0x372ec8===_0x1db8a8[_0x2b3709(0x253)]);}async[_0x1a1a96(0x20f)](){const _0x1e9ef3=_0x1a1a96,_0xe3c5d9=this[_0x1e9ef3(0x212)][_0x1e9ef3(0x25d)][_0x1e9ef3(0x221)](_0x4c4b9b),_0x260453=this[_0x1e9ef3(0x212)][_0x1e9ef3(0x25d)][_0x1e9ef3(0x221)](_0x1f5204),_0x7c2363=async()=>{const _0x3c6b4c=_0x1e9ef3,_0x1012e1=this[_0x3c6b4c(0x246)][_0x3c6b4c(0x202)],_0x1bfc06=_0x1012e1['id'],_0x18caf5=_0x1bfc06!==_0x260453[_0x3c6b4c(0x204)];if(_0x18caf5){const _0xd7719b=_0x260453[_0x3c6b4c(0x230)]-this[_0x3c6b4c(0x22c)],_0x40872c=this[_0x3c6b4c(0x258)]();this[_0x3c6b4c(0x246)][_0x3c6b4c(0x21b)][_0x3c6b4c(0x24e)]();if(_0x1012e1[_0x3c6b4c(0x24d)]+_0xd7719b!==_0x40872c){const _0x37814c=_0x1012e1[_0x3c6b4c(0x20b)]+_0xd7719b,_0x2471cf=this[_0x3c6b4c(0x212)][_0x3c6b4c(0x25d)][_0x3c6b4c(0x221)](_0x45c0a0),_0x613492=this[_0x3c6b4c(0x246)][_0x3c6b4c(0x21c)]({'revision':_0x1012e1,'from':_0x37814c,'to':_0x40872c});_0x613492['id']=_0x1012e1['id'];const _0x5f553a=_0x613492[_0x3c6b4c(0x254)][_0x3c6b4c(0x203)](_0x2fd667=>_0x2471cf[_0x3c6b4c(0x1f6)](_0x2fd667));_0x1012e1[_0x3c6b4c(0x240)]({..._0x613492,'authors':_0x5f553a},!0x0),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x228)](_0x1012e1['id'],_0x613492,!0x0);}this[_0x3c6b4c(0x246)][_0x3c6b4c(0x245)]=_0x40872c,(_0x1012e1[_0x3c6b4c(0x24d)]===_0x1012e1[_0x3c6b4c(0x20b)]&&!this[_0x3c6b4c(0x246)][_0x3c6b4c(0x255)][_0x3c6b4c(0x21e)](_0x1bfc06)&&this[_0x3c6b4c(0x246)][_0x3c6b4c(0x256)][_0x3c6b4c(0x201)][_0x3c6b4c(0x214)](_0x1bfc06),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x25a)](_0x40872c));}const {revisions:_0x47f5bd,requestId:_0x273553}=await this[_0x3c6b4c(0x208)][_0x3c6b4c(0x20f)](_0xe3c5d9[_0x3c6b4c(0x211)],this[_0x3c6b4c(0x206)]);_0x18caf5&&_0x47f5bd[_0x3c6b4c(0x217)]>0x0?_0x260453[_0x3c6b4c(0x250)]():(await this[_0x3c6b4c(0x213)](_0x47f5bd),this[_0x3c6b4c(0x210)](_0x47f5bd,_0x273553),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x1fc)]());};return _0x260453[_0x1e9ef3(0x23c)]?_0x7c2363():new Promise((_0x4959bd,_0x1d4f45)=>{const _0x56ad90=_0x1e9ef3;_0x260453[_0x56ad90(0x23b)](_0x56ad90(0x209),()=>{const _0x1d6dac=_0x56ad90;_0x7c2363()[_0x1d6dac(0x237)](_0x4959bd)[_0x1d6dac(0x205)](_0x1d4f45);});});}[_0x1a1a96(0x223)](){const _0x28c6a9=_0x1a1a96;super[_0x28c6a9(0x223)]();}async[_0x1a1a96(0x1f9)](){const _0x440053=_0x1a1a96;this[_0x440053(0x208)][_0x440053(0x236)]||await new Promise(_0x1108eb=>{const _0x199d6a=_0x440053;this[_0x199d6a(0x1fd)](this[_0x199d6a(0x208)],_0x199d6a(0x233),_0x46f29d=>{const _0xdcb0bc=_0x199d6a;_0x46f29d[_0xdcb0bc(0x1f8)](),_0x1108eb();});});}[_0x1a1a96(0x258)](){const _0x55b188=_0x1a1a96,_0x470c09=this[_0x55b188(0x212)][_0x55b188(0x25d)][_0x55b188(0x221)](_0x1f5204)[_0x55b188(0x1f5)][_0x55b188(0x25e)]()[_0x55b188(0x20c)]();for(const _0x4295e4 of _0x470c09)if(_0x55b188(0x243)!==_0x4295e4[_0x55b188(0x219)]||_0x4295e4[_0x55b188(0x234)])return _0x4295e4[_0x55b188(0x24c)]+0x1;}[_0x1a1a96(0x23f)](){const _0x96f0d5=_0x1a1a96,_0x4b484e=this[_0x96f0d5(0x212)][_0x96f0d5(0x25d)][_0x96f0d5(0x221)](_0x1f5204);return new Promise(_0x43fe9f=>{const _0x31ddc6=_0x96f0d5;_0x4b484e[_0x31ddc6(0x242)]?_0x4b484e[_0x31ddc6(0x23b)](_0x31ddc6(0x239),()=>{const _0x1c6f5f=_0x31ddc6;_0x43fe9f(this[_0x1c6f5f(0x258)]());}):_0x43fe9f(this[_0x31ddc6(0x258)]());});}[_0x1a1a96(0x210)](_0x59c335,_0x110aa9){const _0x2beff6=_0x1a1a96,_0x210361=this[_0x2beff6(0x246)][_0x2beff6(0x256)];this[_0x2beff6(0x206)]=_0x110aa9;for(const _0x444963 of _0x59c335){const _0x3403ad=_0x210361[_0x2beff6(0x22f)](_0x444963['id']);if(_0x3403ad){if((_0x444963[_0x2beff6(0x20b)]||_0x444963[_0x2beff6(0x24d)])&&(_0x444963[_0x2beff6(0x1f3)]=null),_0x3403ad===this[_0x2beff6(0x246)][_0x2beff6(0x202)]){const _0x2cb0e3=Math[_0x2beff6(0x23a)](_0x3403ad[_0x2beff6(0x24d)],_0x444963[_0x2beff6(0x24d)]),_0x55fb42=Math[_0x2beff6(0x23a)](_0x3403ad[_0x2beff6(0x20b)],_0x444963[_0x2beff6(0x20b)]);let _0x2240c3;_0x3403ad[_0x2beff6(0x24d)]===_0x444963[_0x2beff6(0x24d)]&&_0x3403ad[_0x2beff6(0x20b)]===_0x444963[_0x2beff6(0x20b)]?(_0x2240c3=!0x0,this[_0x2beff6(0x25c)](_0x444963)):_0x444963[_0x2beff6(0x24d)]===_0x2cb0e3&&_0x444963[_0x2beff6(0x20b)]===_0x55fb42?_0x2240c3=!0x1:(_0x3403ad[_0x2beff6(0x24d)]===_0x2cb0e3&&_0x3403ad[_0x2beff6(0x20b)]===_0x55fb42||this[_0x2beff6(0x218)]({'revision':_0x3403ad,'from':_0x55fb42,'to':_0x2cb0e3}),_0x2240c3=!0x0),_0x2240c3&&(delete _0x444963[_0x2beff6(0x20b)],delete _0x444963[_0x2beff6(0x24d)],delete _0x444963[_0x2beff6(0x1f3)],delete _0x444963[_0x2beff6(0x229)],delete _0x444963[_0x2beff6(0x254)]);}this[_0x2beff6(0x246)][_0x2beff6(0x244)](_0x444963),this[_0x2beff6(0x25c)](_0x444963);}else this[_0x2beff6(0x246)][_0x2beff6(0x25b)](_0x444963);}const _0x1cba2c=_0x210361[_0x2beff6(0x241)]();_0x1cba2c[_0x2beff6(0x20c)]();for(let _0x28fc98=0x0;_0x28fc98<_0x1cba2c[_0x2beff6(0x217)]-0x1;_0x28fc98++){const _0x171fc1=_0x1cba2c[_0x28fc98],_0x3ced62=_0x1cba2c[_0x28fc98+0x1];if(_0x171fc1[_0x2beff6(0x20b)]<_0x3ced62[_0x2beff6(0x24d)]){const _0x57740a=_0x3ced62[_0x2beff6(0x24d)],_0x38f57d=Math[_0x2beff6(0x23a)](_0x57740a,_0x171fc1[_0x2beff6(0x24d)]);this[_0x2beff6(0x218)]({'revision':_0x171fc1,'from':_0x57740a,'to':_0x38f57d});}}}[_0x1a1a96(0x218)]({revision:_0x277f1d,from:_0x2c5a53,to:_0x20f50d}={}){const _0x54b707=_0x1a1a96,_0x44f730=this[_0x54b707(0x212)][_0x54b707(0x25d)][_0x54b707(0x221)](_0x45c0a0),_0x18ed9f=this[_0x54b707(0x246)][_0x54b707(0x21c)]({'revision':_0x277f1d,'from':_0x2c5a53,'to':_0x20f50d});_0x18ed9f[_0x54b707(0x22e)]=_0x18ed9f[_0x54b707(0x254)][_0x54b707(0x203)](_0x4cfaf9=>_0x44f730[_0x54b707(0x1f6)](_0x4cfaf9)),_0x277f1d[_0x54b707(0x240)](_0x18ed9f);}[_0x1a1a96(0x25c)](_0x4abf8a){const _0x10d3b5=_0x1a1a96,_0x30f19e={};_0x30f19e['id']=_0x4abf8a['id'];for(const _0x41962b of Object[_0x10d3b5(0x21f)](_0x4abf8a))'id'!==_0x41962b&&(_0x30f19e[_0x41962b]=void 0x0);this[_0x10d3b5(0x246)][_0x10d3b5(0x228)](_0x30f19e['id'],_0x30f19e,!0x0);}async[_0x1a1a96(0x213)](_0x5142e8){const _0x3bb78f=_0x1a1a96,_0x5f3b5f=this[_0x3bb78f(0x212)][_0x3bb78f(0x25d)][_0x3bb78f(0x221)](_0x45c0a0),{connection:_0x2164f2}=this[_0x3bb78f(0x212)][_0x3bb78f(0x25d)][_0x3bb78f(0x221)](_0x4c4b9b),_0x13c106=new Set();for(const _0xbcabac of _0x5142e8){for(const _0x30b6bd of _0xbcabac[_0x3bb78f(0x254)])_0x2d41e4(_0x30b6bd);_0xbcabac[_0x3bb78f(0x225)]&&_0x2d41e4(_0xbcabac[_0x3bb78f(0x225)]);}if(0x0===_0x13c106[_0x3bb78f(0x216)])return;const _0x816081=await _0x3e6860[_0x3bb78f(0x23d)](_0x2164f2,Array[_0x3bb78f(0x20d)](_0x13c106));for(const _0x4407ca of _0x816081)_0x5f3b5f[_0x3bb78f(0x1f6)](_0x4407ca['id'])||_0x5f3b5f[_0x3bb78f(0x20e)](_0x4407ca);function _0x2d41e4(_0x2560e7){const _0x3e92a3=_0x3bb78f;_0x5f3b5f[_0x3e92a3(0x1f6)](_0x2560e7)||_0x13c106[_0x3e92a3(0x24b)](_0x2560e7);}}}u[_0x1a1a96(0x1ff)]=_0x5ebc8;export default u;function rt(_0x32a979){const _0x4413a3=_0x1a1a96;return _0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x249))||_0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x226))||_0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x20a));}
|
|
23
|
+
const _0x2fbfcd=_0x1d13;(function(_0x4e91a5,_0x5b56f4){const _0x2dce78=_0x1d13,_0x19afc1=_0x4e91a5();while(!![]){try{const _0xf4bc76=parseInt(_0x2dce78(0x228))/0x1*(parseInt(_0x2dce78(0x221))/0x2)+parseInt(_0x2dce78(0x1d8))/0x3*(-parseInt(_0x2dce78(0x203))/0x4)+-parseInt(_0x2dce78(0x1d5))/0x5+-parseInt(_0x2dce78(0x1e8))/0x6+-parseInt(_0x2dce78(0x1ec))/0x7+-parseInt(_0x2dce78(0x1ff))/0x8+parseInt(_0x2dce78(0x219))/0x9;if(_0xf4bc76===_0x5b56f4)break;else _0x19afc1['push'](_0x19afc1['shift']());}catch(_0x19625b){_0x19afc1['push'](_0x19afc1['shift']());}}}(_0x2f89,0x78cf3));import{Plugin as _0x17e00b}from'ckeditor5/src/core.js';import{version as _0x53fe3a}from'ckeditor5/src/utils.js';import{Users as _0x4fce53}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1d13(_0x24716c,_0x466588){const _0x2f89cd=_0x2f89();return _0x1d13=function(_0x1d1342,_0x23af8d){_0x1d1342=_0x1d1342-0x1d4;let _0x424239=_0x2f89cd[_0x1d1342];return _0x424239;},_0x1d13(_0x24716c,_0x466588);}import _0x20bff0 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1dc1c5 from'../realtimecollaborativeediting/websocketgateway.js';import _0x269b1a from'../realtimecollaborativeediting/sessions.js';function _0x2f89(){const _0x1d2b27=['_getLatestVersionFromServerOperations','buildRevisionData','connect','_revisionHistoryService','has','authors','_lastRequestId','getMany','CONNECTED','repository','RevisionTracker','connected','revisionsUpdated','bind','28384002wihaJn','_handleReconnectionError','get','toVersion','reInit','400','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','227262OvksGY','cloud-services-internal-error:\x20Request\x20timeout.','keys','_handleRevisionsUpdate','addUser','fromVersion','change:_isConnected','3Ftwadr','reverse','requires','_preventResendingRevisionData','_revisions','from','remove','_update','cloudServices.bundleVersion','_startingVersion','max','_getLatestVersion','isPremiumPlugin','data','RevisionHistoryService','size','pluginName','diffData','getUser','setSource','editor','_bufferedUpdates','map','_offset','type','affectsData','then','code','marker','getRevision','init','2030115tIYJPS','wrongRequestId','serverHistory','312861OYsfmM','baseVersion','isEmptyCurrent','isOfficialPlugin','_isPendingUpdate','_isConnected','currentRevision','length','_revisionTracker','getRevisions','creatorId','getOperations','off','_fixRevision','startsWith','_bufferUpdate','5391504dfkVjm','CloudServicesRevisionHistoryAdapter','destroy','plugins','1582238VnZbNF','_revisionDataBuilder','addRevisionData','_oldOffset','_createCurrentRevision','updateRevisions','createdAt','isConnected','change:_isPendingUpdate','cloud-services-internal-error:\x20Not\x20connected.','authorsIds','once','addToReconnectionStack','collaboration.channelId','sessionId','reconnect','config','setRevisionData','isEnabled','6747784RFZtXj','message','listenTo','_waitForServiceReady','24VLktRv','sendBufferedUpdates','catch','adapter','state','isBundleUploaded','_fetchMissingUsers','connection'];_0x2f89=function(){return _0x1d2b27;};return _0x2f89();}import{EditorService as _0x57d327,RevisionHistoryService as _0x4cd824,User as _0x586c5a,WEB_SOCKET_GATEWAY_STATES as _0x32e26d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x17e00b{static get[_0x2fbfcd(0x22a)](){const _0x4586e3=_0x2fbfcd;return[_0x1dc1c5,_0x20bff0,_0x4586e3(0x215),_0x269b1a,_0x4fce53];}static get[_0x2fbfcd(0x238)](){const _0x34a273=_0x2fbfcd;return _0x34a273(0x1e9);}static get[_0x2fbfcd(0x1db)](){return!0x0;}static get[_0x2fbfcd(0x234)](){return!0x0;}constructor(_0x349547){const _0x2001d4=_0x2fbfcd;super(_0x349547);const _0x40f495=this[_0x2001d4(0x23c)][_0x2001d4(0x1fc)][_0x2001d4(0x21b)](_0x2001d4(0x1f9));this[_0x2001d4(0x211)]=null,this[_0x2001d4(0x1e0)]=this[_0x2001d4(0x23c)][_0x2001d4(0x1eb)][_0x2001d4(0x21b)](_0x2001d4(0x215)),this[_0x2001d4(0x20e)]=new u[(_0x2001d4(0x236))](_0x40f495);}async[_0x2fbfcd(0x1d4)](){const _0x14dd57=_0x2fbfcd,_0x35adf1=this[_0x14dd57(0x23c)][_0x14dd57(0x1eb)][_0x14dd57(0x21b)](_0x20bff0),_0x250bc4=_0x35adf1[_0x14dd57(0x1d7)],_0x4a6fb4=this[_0x14dd57(0x23c)][_0x14dd57(0x1eb)][_0x14dd57(0x21b)](_0x1dc1c5);this[_0x14dd57(0x1e0)][_0x14dd57(0x23b)]({'history':_0x250bc4,'getLatestVersion':()=>this[_0x14dd57(0x233)](),'getCurrentRevisionId':()=>_0x35adf1[_0x14dd57(0x1fa)]});const _0x217a90=this[_0x14dd57(0x23c)][_0x14dd57(0x1fc)][_0x14dd57(0x21b)](_0x14dd57(0x230))||_0x53fe3a,_0x19ff51=await _0x57d327[_0x14dd57(0x208)](_0x4a6fb4[_0x14dd57(0x20a)],_0x217a90);this[_0x14dd57(0x1e0)][_0x14dd57(0x206)]={'getRevision':async({revisionId:_0x49c47c})=>(await this[_0x14dd57(0x202)](),await this[_0x14dd57(0x20e)][_0x14dd57(0x245)](_0x49c47c)),'updateRevisions':async _0x2b88da=>{const _0x528f9a=_0x14dd57;await this[_0x528f9a(0x202)]();const _0x21072e=this[_0x528f9a(0x1e0)][_0x528f9a(0x1de)];if(_0x19ff51&&0x1===_0x2b88da[_0x528f9a(0x1df)]&&_0x2b88da[0x0]['id']===_0x21072e['id'])return _0x2b88da;for(const _0x4bbd32 of _0x2b88da)_0x4bbd32['id']===_0x21072e['id']&&(_0x4bbd32[_0x528f9a(0x1da)]=_0x4bbd32[_0x528f9a(0x226)]===_0x4bbd32[_0x528f9a(0x21c)]);return this[_0x528f9a(0x20e)][_0x528f9a(0x1f1)](_0x2b88da,this[_0x528f9a(0x211)])[_0x528f9a(0x242)](_0x3550aa=>(this[_0x528f9a(0x211)]=_0x3550aa,_0x2b88da))[_0x528f9a(0x205)](_0x11554e=>{const _0x57820e=_0x528f9a;if(X(_0x11554e)||_0x57820e(0x21e)===_0x11554e[_0x57820e(0x243)]&&void 0x0!==_0x11554e[_0x57820e(0x235)][_0x57820e(0x1d6)]){for(const _0x356615 of _0x2b88da){!this[_0x57820e(0x1e0)][_0x57820e(0x214)][_0x57820e(0x245)](_0x356615['id'])||this[_0x57820e(0x1e0)][_0x57820e(0x1e7)](_0x356615['id'],_0x356615,!0x1);}if(X(_0x11554e))throw _0x11554e;return _0x2b88da;}throw _0x11554e;});}},this[_0x14dd57(0x201)](this[_0x14dd57(0x20e)],_0x14dd57(0x217),(_0x2b43ba,{revisionsData:_0x3d15f9,requestId:_0x432d73})=>{const _0x1f5f2a=_0x14dd57;Math[_0x1f5f2a(0x232)](..._0x3d15f9[_0x1f5f2a(0x23e)](_0x28c497=>_0x28c497[_0x1f5f2a(0x21c)]))>this[_0x1f5f2a(0x20b)]()-0x1?this[_0x1f5f2a(0x233)]()[_0x1f5f2a(0x242)](()=>{const _0x3e7ae2=_0x1f5f2a;this[_0x3e7ae2(0x224)](_0x3d15f9,_0x432d73);}):this[_0x1f5f2a(0x224)](_0x3d15f9,_0x432d73);});const {revisions:_0x229318,requestId:_0x7157eb}=await this[_0x14dd57(0x20e)][_0x14dd57(0x20d)](_0x4a6fb4[_0x14dd57(0x20a)]);_0x4a6fb4[_0x14dd57(0x1f8)](this),this[_0x14dd57(0x211)]=_0x7157eb,await this[_0x14dd57(0x209)](_0x229318);for(const _0x217574 of _0x229318)this[_0x14dd57(0x1e0)][_0x14dd57(0x1ee)](_0x217574);this[_0x14dd57(0x201)](_0x35adf1,_0x14dd57(0x227),(_0x5b3569,_0x2175e2,_0x3973e0)=>{const _0x39c4cd=_0x14dd57;_0x3973e0&&(this[_0x39c4cd(0x1ef)]=_0x35adf1[_0x39c4cd(0x23f)],_0x5b3569[_0x39c4cd(0x1e4)]());}),this[_0x14dd57(0x1e0)][_0x14dd57(0x218)](_0x14dd57(0x1fe))['to'](_0x4a6fb4,_0x14dd57(0x207),_0x1a98ac=>_0x1a98ac===_0x32e26d[_0x14dd57(0x213)]);}async[_0x2fbfcd(0x1fb)](){const _0x51589d=_0x2fbfcd,_0x126313=this[_0x51589d(0x23c)][_0x51589d(0x1eb)][_0x51589d(0x21b)](_0x1dc1c5),_0x53a33e=this[_0x51589d(0x23c)][_0x51589d(0x1eb)][_0x51589d(0x21b)](_0x20bff0),_0x2c6ebd=async()=>{const _0x4c138e=_0x51589d,_0x357041=this[_0x4c138e(0x1e0)][_0x4c138e(0x1de)],_0x16a8cb=_0x357041['id'],_0x593f7f=_0x16a8cb!==_0x53a33e[_0x4c138e(0x1fa)];if(_0x593f7f){const _0x33718e=_0x53a33e[_0x4c138e(0x23f)]-this[_0x4c138e(0x1ef)],_0x2a48d8=this[_0x4c138e(0x20b)]();this[_0x4c138e(0x1e0)][_0x4c138e(0x1ed)][_0x4c138e(0x21d)]();if(_0x357041[_0x4c138e(0x21c)]+_0x33718e!==_0x2a48d8){const _0x1b88b4=_0x357041[_0x4c138e(0x226)]+_0x33718e,_0x42f9ce=this[_0x4c138e(0x23c)][_0x4c138e(0x1eb)][_0x4c138e(0x21b)](_0x4fce53),_0x4059fc=this[_0x4c138e(0x1e0)][_0x4c138e(0x20c)]({'revision':_0x357041,'from':_0x1b88b4,'to':_0x2a48d8});_0x4059fc['id']=_0x357041['id'];const _0x9a1f83=_0x4059fc[_0x4c138e(0x1f6)][_0x4c138e(0x23e)](_0x2ecadb=>_0x42f9ce[_0x4c138e(0x23a)](_0x2ecadb));_0x357041[_0x4c138e(0x22f)]({..._0x4059fc,'authors':_0x9a1f83},!0x0),this[_0x4c138e(0x1e0)][_0x4c138e(0x1e7)](_0x357041['id'],_0x4059fc,!0x0);}this[_0x4c138e(0x1e0)][_0x4c138e(0x231)]=_0x2a48d8,(_0x357041[_0x4c138e(0x21c)]===_0x357041[_0x4c138e(0x226)]&&!this[_0x4c138e(0x1e0)][_0x4c138e(0x23d)][_0x4c138e(0x20f)](_0x16a8cb)&&this[_0x4c138e(0x1e0)][_0x4c138e(0x214)][_0x4c138e(0x22c)][_0x4c138e(0x22e)](_0x16a8cb),this[_0x4c138e(0x1e0)][_0x4c138e(0x1f0)](_0x2a48d8));}const {revisions:_0x4b3894,requestId:_0x3008b9}=await this[_0x4c138e(0x20e)][_0x4c138e(0x1fb)](_0x126313[_0x4c138e(0x20a)],this[_0x4c138e(0x211)]);_0x593f7f&&_0x4b3894[_0x4c138e(0x1df)]>0x0?_0x53a33e[_0x4c138e(0x21a)]():(await this[_0x4c138e(0x209)](_0x4b3894),this[_0x4c138e(0x224)](_0x4b3894,_0x3008b9),this[_0x4c138e(0x1e0)][_0x4c138e(0x204)]());};return _0x53a33e[_0x51589d(0x1dd)]?_0x2c6ebd():new Promise((_0x182bd1,_0x16269a)=>{const _0x3e4884=_0x51589d;_0x53a33e[_0x3e4884(0x1f7)](_0x3e4884(0x227),()=>{const _0x3867c8=_0x3e4884;_0x2c6ebd()[_0x3867c8(0x242)](_0x182bd1)[_0x3867c8(0x205)](_0x16269a);});});}[_0x2fbfcd(0x1ea)](){const _0xa189c3=_0x2fbfcd;super[_0xa189c3(0x1ea)]();}async[_0x2fbfcd(0x202)](){const _0x1949b6=_0x2fbfcd;this[_0x1949b6(0x20e)][_0x1949b6(0x1f3)]||await new Promise(_0x53b5ec=>{const _0x4bd02a=_0x1949b6;this[_0x4bd02a(0x201)](this[_0x4bd02a(0x20e)],_0x4bd02a(0x216),_0x4edc3a=>{const _0x53c1b7=_0x4bd02a;_0x4edc3a[_0x53c1b7(0x1e4)](),_0x53b5ec();});});}[_0x2fbfcd(0x20b)](){const _0x50609f=_0x2fbfcd,_0x5af79b=this[_0x50609f(0x23c)][_0x50609f(0x1eb)][_0x50609f(0x21b)](_0x20bff0)[_0x50609f(0x1d7)][_0x50609f(0x1e3)]()[_0x50609f(0x229)]();for(const _0x52ac68 of _0x5af79b)if(_0x50609f(0x244)!==_0x52ac68[_0x50609f(0x240)]||_0x52ac68[_0x50609f(0x241)])return _0x52ac68[_0x50609f(0x1d9)]+0x1;}[_0x2fbfcd(0x233)](){const _0x425403=_0x2fbfcd,_0x2601c5=this[_0x425403(0x23c)][_0x425403(0x1eb)][_0x425403(0x21b)](_0x20bff0);return new Promise(_0x523a1d=>{const _0x28d46d=_0x425403;_0x2601c5[_0x28d46d(0x1dc)]?_0x2601c5[_0x28d46d(0x1f7)](_0x28d46d(0x1f4),()=>{const _0x24a8a9=_0x28d46d;_0x523a1d(this[_0x24a8a9(0x20b)]());}):_0x523a1d(this[_0x28d46d(0x20b)]());});}[_0x2fbfcd(0x224)](_0x473105,_0x20fa2a){const _0x1b9462=_0x2fbfcd,_0x5c424b=this[_0x1b9462(0x1e0)][_0x1b9462(0x214)];this[_0x1b9462(0x211)]=_0x20fa2a;for(const _0x3c66e1 of _0x473105){const _0x1a8a9a=_0x5c424b[_0x1b9462(0x245)](_0x3c66e1['id']);if(_0x1a8a9a){if((_0x3c66e1[_0x1b9462(0x226)]||_0x3c66e1[_0x1b9462(0x21c)])&&(_0x3c66e1[_0x1b9462(0x239)]=null),_0x1a8a9a===this[_0x1b9462(0x1e0)][_0x1b9462(0x1de)]){const _0x258dc6=Math[_0x1b9462(0x232)](_0x1a8a9a[_0x1b9462(0x21c)],_0x3c66e1[_0x1b9462(0x21c)]),_0x10b236=Math[_0x1b9462(0x232)](_0x1a8a9a[_0x1b9462(0x226)],_0x3c66e1[_0x1b9462(0x226)]);let _0x591bcb;_0x1a8a9a[_0x1b9462(0x21c)]===_0x3c66e1[_0x1b9462(0x21c)]&&_0x1a8a9a[_0x1b9462(0x226)]===_0x3c66e1[_0x1b9462(0x226)]?(_0x591bcb=!0x0,this[_0x1b9462(0x22b)](_0x3c66e1)):_0x3c66e1[_0x1b9462(0x21c)]===_0x258dc6&&_0x3c66e1[_0x1b9462(0x226)]===_0x10b236?_0x591bcb=!0x1:(_0x1a8a9a[_0x1b9462(0x21c)]===_0x258dc6&&_0x1a8a9a[_0x1b9462(0x226)]===_0x10b236||this[_0x1b9462(0x1e5)]({'revision':_0x1a8a9a,'from':_0x10b236,'to':_0x258dc6}),_0x591bcb=!0x0),_0x591bcb&&(delete _0x3c66e1[_0x1b9462(0x226)],delete _0x3c66e1[_0x1b9462(0x21c)],delete _0x3c66e1[_0x1b9462(0x239)],delete _0x3c66e1[_0x1b9462(0x1f2)],delete _0x3c66e1[_0x1b9462(0x1f6)]);}this[_0x1b9462(0x1e0)][_0x1b9462(0x1fd)](_0x3c66e1),this[_0x1b9462(0x22b)](_0x3c66e1);}else this[_0x1b9462(0x1e0)][_0x1b9462(0x1ee)](_0x3c66e1);}const _0x12c161=_0x5c424b[_0x1b9462(0x1e1)]();_0x12c161[_0x1b9462(0x229)]();for(let _0xafd382=0x0;_0xafd382<_0x12c161[_0x1b9462(0x1df)]-0x1;_0xafd382++){const _0x44bc80=_0x12c161[_0xafd382],_0x20a896=_0x12c161[_0xafd382+0x1];if(_0x44bc80[_0x1b9462(0x226)]<_0x20a896[_0x1b9462(0x21c)]){const _0x2dddc0=_0x20a896[_0x1b9462(0x21c)],_0x42f9a7=Math[_0x1b9462(0x232)](_0x2dddc0,_0x44bc80[_0x1b9462(0x21c)]);this[_0x1b9462(0x1e5)]({'revision':_0x44bc80,'from':_0x2dddc0,'to':_0x42f9a7});}}}[_0x2fbfcd(0x1e5)]({revision:_0x2b8d5e,from:_0x47f242,to:_0x4a6475}={}){const _0x460625=_0x2fbfcd,_0x2b6b35=this[_0x460625(0x23c)][_0x460625(0x1eb)][_0x460625(0x21b)](_0x4fce53),_0x3a9490=this[_0x460625(0x1e0)][_0x460625(0x20c)]({'revision':_0x2b8d5e,'from':_0x47f242,'to':_0x4a6475});_0x3a9490[_0x460625(0x210)]=_0x3a9490[_0x460625(0x1f6)][_0x460625(0x23e)](_0x5d184d=>_0x2b6b35[_0x460625(0x23a)](_0x5d184d)),_0x2b8d5e[_0x460625(0x22f)](_0x3a9490);}[_0x2fbfcd(0x22b)](_0x149fba){const _0x413bca=_0x2fbfcd,_0xfc0d54={};_0xfc0d54['id']=_0x149fba['id'];for(const _0x32a01e of Object[_0x413bca(0x223)](_0x149fba))'id'!==_0x32a01e&&(_0xfc0d54[_0x32a01e]=void 0x0);this[_0x413bca(0x1e0)][_0x413bca(0x1e7)](_0xfc0d54['id'],_0xfc0d54,!0x0);}async[_0x2fbfcd(0x209)](_0x3b7b2f){const _0x1087a2=_0x2fbfcd,_0x56e887=this[_0x1087a2(0x23c)][_0x1087a2(0x1eb)][_0x1087a2(0x21b)](_0x4fce53),{connection:_0x4a30aa}=this[_0x1087a2(0x23c)][_0x1087a2(0x1eb)][_0x1087a2(0x21b)](_0x1dc1c5),_0x2baa14=new Set();for(const _0x50f650 of _0x3b7b2f){for(const _0x5bb95b of _0x50f650[_0x1087a2(0x1f6)])_0x69171b(_0x5bb95b);_0x50f650[_0x1087a2(0x1e2)]&&_0x69171b(_0x50f650[_0x1087a2(0x1e2)]);}if(0x0===_0x2baa14[_0x1087a2(0x237)])return;const _0x1ef9b3=await _0x586c5a[_0x1087a2(0x212)](_0x4a30aa,Array[_0x1087a2(0x22d)](_0x2baa14));for(const _0x5a3a70 of _0x1ef9b3)_0x56e887[_0x1087a2(0x23a)](_0x5a3a70['id'])||_0x56e887[_0x1087a2(0x225)](_0x5a3a70);function _0x69171b(_0xe11521){const _0x52a01a=_0x1087a2;_0x56e887[_0x52a01a(0x23a)](_0xe11521)||_0x2baa14[_0x52a01a(0x220)](_0xe11521);}}}u[_0x2fbfcd(0x236)]=_0x4cd824;export default u;function X(_0xcea660){const _0x35c6ba=_0x2fbfcd;return _0xcea660[_0x35c6ba(0x200)][_0x35c6ba(0x1e6)](_0x35c6ba(0x21f))||_0xcea660[_0x35c6ba(0x200)][_0x35c6ba(0x1e6)](_0x35c6ba(0x1f5))||_0xcea660[_0x35c6ba(0x200)][_0x35c6ba(0x1e6)](_0x35c6ba(0x222));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x281f(){var _0x253007=['12373ygLPrk','5765214pqcroo','39979050uHoDZk','isPremiumPlugin','1593908AEFOWt','requires','RevisionHistory','205ubXwOR','182466QyezRO','3197376CHqSVa','isOfficialPlugin','9468160KNEQRc','RealTimeCollaborativeRevisionHistory','pluginName','3cXvkXG','284Dwdcvu'];_0x281f=function(){return _0x253007;};return _0x281f();}var _0x1f0f17=_0x2641;(function(_0x378170,_0x254005){var _0x5a5c3a=_0x2641,_0x49915a=_0x378170();while(!![]){try{var _0xf6b482=-parseInt(_0x5a5c3a(0x161))/0x1*(-parseInt(_0x5a5c3a(0x160))/0x2)+-parseInt(_0x5a5c3a(0x15f))/0x3*(parseInt(_0x5a5c3a(0x165))/0x4)+parseInt(_0x5a5c3a(0x168))/0x5*(parseInt(_0x5a5c3a(0x159))/0x6)+parseInt(_0x5a5c3a(0x162))/0x7+parseInt(_0x5a5c3a(0x15c))/0x8+parseInt(_0x5a5c3a(0x15a))/0x9+-parseInt(_0x5a5c3a(0x163))/0xa;if(_0xf6b482===_0x254005)break;else _0x49915a['push'](_0x49915a['shift']());}catch(_0x657807){_0x49915a['push'](_0x49915a['shift']());}}}(_0x281f,0xecc5d));import{Plugin as _0x33fb4a}from'ckeditor5/src/core.js';function _0x2641(_0x2820e0,_0x322350){var _0x281f2c=_0x281f();return _0x2641=function(_0x26419e,_0x392877){_0x26419e=_0x26419e-0x159;var _0x1d7667=_0x281f2c[_0x26419e];return _0x1d7667;},_0x2641(_0x2820e0,_0x322350);}import _0x231782 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x17cba0 from'./realtimecollaborativeediting.js';export default class g extends _0x33fb4a{static get[_0x1f0f17(0x166)](){var _0x3cab9d=_0x1f0f17;return[_0x3cab9d(0x167),_0x231782,_0x17cba0];}static get[_0x1f0f17(0x15e)](){var _0xbb6773=_0x1f0f17;return _0xbb6773(0x15d);}static get[_0x1f0f17(0x15b)](){return!0x0;}static get[_0x1f0f17(0x164)](){return!0x0;}}
|
|
@@ -19,6 +19,18 @@ export default class CloudServicesTrackChangesAdapter extends Plugin implements
|
|
|
19
19
|
* @inheritDoc
|
|
20
20
|
*/
|
|
21
21
|
static get requires(): readonly [typeof CloudServicesCommentsAdapter, "TrackChangesEditing", typeof WebSocketGateway];
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "CloudServicesTrackChangesAdapter";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
22
34
|
/**
|
|
23
35
|
* @inheritDoc
|
|
24
36
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x14df(){const _0x33b8a7=['delete','pluginName','640758NTfBbj','config','startsWith','TrackChangesEditing','12ihhRsn','_bufferedRequests','message','init','requires','_saved','catch','_trackChangesService','update','state','TrackChangesService','12aGCVxz','isConnected','4420122JfsEpQ','data','7QlIGpI','addUser','88966PAYegt','reconnect','values','adapter','add','plugins','then','268815PqOYMb','_waitForServiceReady','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','addSuggestionData','collaboration.channelId','set','351999daMFpI','originalSuggestionId','open','3812934VKeirh','getSuggestion','from','isPremiumPlugin','editor','isOfficialPlugin','getUser','size','connected','type','hasSuggestion','get','140dAaFcw','suggestionUpdated','addToReconnectionStack','connect','find','_fetchMissingUsersForThreads','8JIbyAs','connection','24213662ocIhpQ','CloudServicesTrackChangesAdapter','cloud-services-internal-error:\x20Not\x20connected.','getMany','off','attributes'];_0x14df=function(){return _0x33b8a7;};return _0x14df();}const _0x2f4fab=_0x3963;(function(_0x3658a7,_0x212c8d){const _0x27e0f9=_0x3963,_0xbaf0e0=_0x3658a7();while(!![]){try{const _0x50b1f6=-parseInt(_0x27e0f9(0x20c))/0x1*(-parseInt(_0x27e0f9(0x20e))/0x2)+-parseInt(_0x27e0f9(0x1f9))/0x3+-parseInt(_0x27e0f9(0x1fd))/0x4*(parseInt(_0x27e0f9(0x215))/0x5)+-parseInt(_0x27e0f9(0x1dd))/0x6+parseInt(_0x27e0f9(0x20a))/0x7*(-parseInt(_0x27e0f9(0x1ef))/0x8)+-parseInt(_0x27e0f9(0x1da))/0x9*(parseInt(_0x27e0f9(0x1e9))/0xa)+parseInt(_0x27e0f9(0x1f1))/0xb*(parseInt(_0x27e0f9(0x208))/0xc);if(_0x50b1f6===_0x212c8d)break;else _0xbaf0e0['push'](_0xbaf0e0['shift']());}catch(_0x27d0ee){_0xbaf0e0['push'](_0xbaf0e0['shift']());}}}(_0x14df,0x4eebb));import{Plugin as _0x4eaa9d}from'ckeditor5/src/core.js';import{User as _0x4600aa,TrackChangesService as _0x5846b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1662a2 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1efa26 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1437c1}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x4eaa9d{static get[_0x2f4fab(0x201)](){const _0x51088c=_0x2f4fab;return[_0x1efa26,_0x51088c(0x1fc),_0x1662a2];}static get[_0x2f4fab(0x1f8)](){const _0x2b0c27=_0x2f4fab;return _0x2b0c27(0x1f2);}static get[_0x2f4fab(0x1e2)](){return!0x0;}static get[_0x2f4fab(0x1e0)](){return!0x0;}constructor(_0x104e2c){const _0x15dd49=_0x2f4fab;super(_0x104e2c);const _0x6c4429=this[_0x15dd49(0x1e1)][_0x15dd49(0x1fa)][_0x15dd49(0x1e8)](_0x15dd49(0x1d8));this[_0x15dd49(0x1fe)]=new Map(),this[_0x15dd49(0x204)]=new f[(_0x15dd49(0x207))](_0x6c4429);}[_0x2f4fab(0x200)](){const _0x3a5804=_0x2f4fab,_0x28ae4e=this[_0x3a5804(0x1e1)][_0x3a5804(0x213)][_0x3a5804(0x1e8)](_0x1662a2),_0x2fe6b7=this[_0x3a5804(0x1e1)][_0x3a5804(0x213)][_0x3a5804(0x1e8)](_0x3a5804(0x1fc));return _0x2fe6b7[_0x3a5804(0x211)]={'getSuggestion':async _0x33d2bf=>{const _0xe588a6=_0x3a5804;await this[_0xe588a6(0x1d4)]();const _0x29ac13=await this[_0xe588a6(0x204)][_0xe588a6(0x1e8)](_0x33d2bf)[_0xe588a6(0x203)](w);return await this[_0xe588a6(0x1ee)]([_0x29ac13]),_0x29ac13;},'addSuggestion':async({id:_0x34777b,type:_0x1b2c64,data:_0x583e45,originalSuggestionId:_0x1aa697,attributes:_0x498b6f})=>{const _0x41aa9d=_0x3a5804;await this[_0x41aa9d(0x1d4)]();const _0x1c043e={'id':_0x34777b,'type':_0x1b2c64,'data':_0x583e45,'originalSuggestionId':_0x1aa697,'attributes':_0x498b6f},_0x375abe=await this[_0x41aa9d(0x204)][_0x41aa9d(0x212)](_0x34777b,_0x1b2c64,_0x583e45,_0x1aa697,_0x498b6f)[_0x41aa9d(0x203)](_0x5a58ad=>{if(X(_0x5a58ad))return new Promise(_0x222ada=>{const _0x4748e1=_0x3963;this[_0x4748e1(0x1fe)][_0x4748e1(0x1d9)](_0x34777b,{'resolve':_0x222ada,'suggestionData':_0x1c043e});});throw _0x5a58ad;});return this[_0x41aa9d(0x1fe)][_0x41aa9d(0x1f7)](_0x34777b),_0x375abe;},'updateSuggestion':async(_0x17f067,_0x218fd3)=>{const _0xd5da92=_0x3a5804;if(await this[_0xd5da92(0x1d4)](),_0xd5da92(0x1dc)!==_0x218fd3[_0xd5da92(0x206)])return this[_0xd5da92(0x204)][_0xd5da92(0x205)](_0x17f067,_0x218fd3)[_0xd5da92(0x203)](w);}},this[_0x3a5804(0x1d6)](this[_0x3a5804(0x204)],_0x3a5804(0x1ea),(_0x4e3581,_0x23b330)=>{const _0x44e7da=_0x3a5804;_0x2fe6b7[_0x44e7da(0x1e7)](_0x23b330['id'])&&(_0x2fe6b7[_0x44e7da(0x1de)](_0x23b330['id'])[_0x44e7da(0x1f6)]=_0x23b330[_0x44e7da(0x1f6)]);}),this[_0x3a5804(0x204)][_0x3a5804(0x1ec)](_0x28ae4e[_0x3a5804(0x1f0)])[_0x3a5804(0x214)](_0xdfad47=>(_0x28ae4e[_0x3a5804(0x1eb)](this),this[_0x3a5804(0x1ee)](_0xdfad47)[_0x3a5804(0x214)](()=>{const _0x3c56b4=_0x3a5804;for(const _0x3005ec of _0xdfad47){_0x2fe6b7[_0x3c56b4(0x1d7)](_0x3005ec)[_0x3c56b4(0x202)]=!0x0;}})));}async[_0x2f4fab(0x20f)](){const _0x4bf6a0=_0x2f4fab,_0x16528a=this[_0x4bf6a0(0x1e1)][_0x4bf6a0(0x213)][_0x4bf6a0(0x1e8)](_0x4bf6a0(0x1fc)),{connection:_0x5a6281}=this[_0x4bf6a0(0x1e1)][_0x4bf6a0(0x213)][_0x4bf6a0(0x1e8)](_0x1662a2),_0x6176a2=await this[_0x4bf6a0(0x204)][_0x4bf6a0(0x1ec)](_0x5a6281);await this[_0x4bf6a0(0x1ee)](_0x6176a2);for(const {suggestionData:_0x30d12f,resolve:_0xdf6610}of this[_0x4bf6a0(0x1fe)][_0x4bf6a0(0x210)]()){let _0x1abff0=_0x6176a2[_0x4bf6a0(0x1ed)](_0x5ed7af=>_0x5ed7af['id']===_0x30d12f['id']);_0x1abff0||(_0x1abff0=await this[_0x4bf6a0(0x204)][_0x4bf6a0(0x212)](_0x30d12f['id'],_0x30d12f[_0x4bf6a0(0x1e6)],_0x30d12f[_0x4bf6a0(0x20b)],_0x30d12f[_0x4bf6a0(0x1db)])),_0xdf6610(_0x1abff0);}for(const _0x23a417 of _0x6176a2)_0x16528a[_0x4bf6a0(0x1e7)](_0x23a417['id'])||_0x16528a[_0x4bf6a0(0x1d7)](_0x23a417);}async[_0x2f4fab(0x1d4)](){const _0x4eb10b=_0x2f4fab;this[_0x4eb10b(0x204)][_0x4eb10b(0x209)]||await new Promise(_0x85832e=>{const _0x503e70=_0x4eb10b;this[_0x503e70(0x1d6)](this[_0x503e70(0x204)],_0x503e70(0x1e5),_0x4f451b=>{const _0x1cbeb9=_0x503e70;_0x4f451b[_0x1cbeb9(0x1f5)](),_0x85832e();});});}async[_0x2f4fab(0x1ee)](_0x4293d9){const _0x311b8f=_0x2f4fab,_0x475e9e=this[_0x311b8f(0x1e1)][_0x311b8f(0x213)][_0x311b8f(0x1e8)](_0x1437c1),{connection:_0x171bc4}=this[_0x311b8f(0x1e1)][_0x311b8f(0x213)][_0x311b8f(0x1e8)](_0x1662a2),_0x366fab=new Set();for(const {authorId:_0x139df6}of _0x4293d9)_0x475e9e[_0x311b8f(0x1e3)](_0x139df6)||_0x366fab[_0x311b8f(0x212)](_0x139df6);if(0x0===_0x366fab[_0x311b8f(0x1e4)])return;const _0x376593=await _0x4600aa[_0x311b8f(0x1f4)](_0x171bc4,Array[_0x311b8f(0x1df)](_0x366fab));for(const _0x4399bb of _0x376593)_0x475e9e[_0x311b8f(0x1e3)](_0x4399bb['id'])||_0x475e9e[_0x311b8f(0x20d)](_0x4399bb);}}f[_0x2f4fab(0x207)]=_0x5846b4;export default f;function _0x3963(_0x517aa5,_0x2b1824){const _0x14df67=_0x14df();return _0x3963=function(_0x396325,_0x246348){_0x396325=_0x396325-0x1d4;let _0x2f234c=_0x14df67[_0x396325];return _0x2f234c;},_0x3963(_0x517aa5,_0x2b1824);}function w(_0x12f704){if(X(_0x12f704))return new Promise(()=>{});throw _0x12f704;}function X(_0x51aabc){const _0x45cfb9=_0x2f4fab;return _0x51aabc[_0x45cfb9(0x1ff)][_0x45cfb9(0x1fb)](_0x45cfb9(0x1f3))||_0x51aabc[_0x45cfb9(0x1ff)][_0x45cfb9(0x1fb)](_0x45cfb9(0x1d5));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4cd130=_0x48c3;(function(_0x10a54d,_0x587499){var _0x1338a0=_0x48c3,_0x1b1787=_0x10a54d();while(!![]){try{var _0x567ba3=parseInt(_0x1338a0(0x163))/0x1*(parseInt(_0x1338a0(0x162))/0x2)+-parseInt(_0x1338a0(0x15f))/0x3+-parseInt(_0x1338a0(0x157))/0x4+-parseInt(_0x1338a0(0x158))/0x5*(-parseInt(_0x1338a0(0x15b))/0x6)+-parseInt(_0x1338a0(0x155))/0x7*(-parseInt(_0x1338a0(0x15e))/0x8)+parseInt(_0x1338a0(0x159))/0x9+-parseInt(_0x1338a0(0x15d))/0xa;if(_0x567ba3===_0x587499)break;else _0x1b1787['push'](_0x1b1787['shift']());}catch(_0x4a0df9){_0x1b1787['push'](_0x1b1787['shift']());}}}(_0x452f,0xc406d));import{Plugin as _0x3a4c23}from'ckeditor5/src/core.js';function _0x48c3(_0x30a621,_0x51d97f){var _0x452f8c=_0x452f();return _0x48c3=function(_0x48c319,_0x43fcb2){_0x48c319=_0x48c319-0x154;var _0x3b53bc=_0x452f8c[_0x48c319];return _0x3b53bc;},_0x48c3(_0x30a621,_0x51d97f);}import _0x12efd2 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x44bbee from'./realtimecollaborativecomments.js';export default class p extends _0x3a4c23{static get[_0x4cd130(0x156)](){var _0x48673f=_0x4cd130;return[_0x44bbee,_0x12efd2,_0x48673f(0x15c)];}static get[_0x4cd130(0x161)](){var _0x3f48db=_0x4cd130;return _0x3f48db(0x15a);}static get[_0x4cd130(0x154)](){return!0x0;}static get[_0x4cd130(0x160)](){return!0x0;}}function _0x452f(){var _0x4b8016=['RealTimeCollaborativeTrackChanges','132xbNUNT','TrackChanges','11075670oHclGf','1366264aFeOYh','2721507uZqtnb','isPremiumPlugin','pluginName','10NDADcl','185048ezeQpI','isOfficialPlugin','28DKHipm','requires','17616eYsmIT','72445CmOZhD','8054415BmZAcF'];_0x452f=function(){return _0x4b8016;};return _0x452f();}
|