@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.1 → 44.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3945c9=_0x5a29;(function(_0x31e72d,_0x35aff1){const _0x1a27ca=_0x5a29,_0x5f2866=_0x31e72d();while(!![]){try{const _0x18669e=-parseInt(_0x1a27ca(0xd5))/0x1*(parseInt(_0x1a27ca(0xdb))/0x2)+-parseInt(_0x1a27ca(0xeb))/0x3*(-parseInt(_0x1a27ca(0xce))/0x4)+-parseInt(_0x1a27ca(0xde))/0x5*(parseInt(_0x1a27ca(0xed))/0x6)+-parseInt(_0x1a27ca(0xe1))/0x7+parseInt(_0x1a27ca(0xd3))/0x8+parseInt(_0x1a27ca(0x101))/0x9*(-parseInt(_0x1a27ca(0x109))/0xa)+-parseInt(_0x1a27ca(0xc0))/0xb*(-parseInt(_0x1a27ca(0xff))/0xc);if(_0x18669e===_0x35aff1)break;else _0x5f2866['push'](_0x5f2866['shift']());}catch(_0x2b402e){_0x5f2866['push'](_0x5f2866['shift']());}}}(_0x46b6,0xac1ca));import{ContextPlugin as _0x5e2342}from'ckeditor5/src/core.js';function _0x5a29(_0x12598b,_0x301fb3){const _0x46b676=_0x46b6();return _0x5a29=function(_0x5a2901,_0x2e3642){_0x5a2901=_0x5a2901-0xbf;let _0xaad104=_0x46b676[_0x5a2901];return _0xaad104;},_0x5a29(_0x12598b,_0x301fb3);}import{DomEmitterMixin as _0x45ba6e,CKEditorError as _0x118843}from'ckeditor5/src/utils.js';function _0x46b6(){const _0x5ecd02=['CloudServices','add','bind','DISCONNECTED','define','initialReconnectionInterval','pluginName','927tKwXPK','isOfficialPlugin','6MvimGl','WebSocketGateway','_shouldPluginsReconnect','cloudServices.requestTimeout','connection','webSocketUrl','config','delete','websocketgateway-missing-token','then','from','state','get','CONNECTING','stopListening','connect','websocketgateway-invalid-plugin-interface','catch','1279860VNPHii','constructor','4445514etjImz','offline','token','showWarning','listenTo','init','_isBrowserOffline','isInReconnectionStack','10ksimoM','all','addToReconnectionStack','_reconnect','99ZdKLxj','cloudservices-reconnection-error','isPremiumPlugin','error','plugins','change:me','connected','Connected\x20users\x20limit\x20exceeded','real-time-collaboration','code','removeFromReconnectionStack','context','websocketgateway-plugin-already-registered','limitExceeded','10364DCFiyo','disconnect','cloudservices-init','_domEmitter','websocketgateway-missing-websocket-url','3132592bzaxno','reconnect','4axyIqs','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.','CONNECTED','cloudServices.connectionTimeout','function','has','218636xGqHsc','set','create','124910GrXeHw','requires','destroy','3436426fgmElp','_reconnectionStack','online'];_0x46b6=function(){return _0x5ecd02;};return _0x46b6();}import{WebSocketGateway as _0xd12024,WEB_SOCKET_GATEWAY_STATES as _0x2c5f30}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5862f5}from'ckeditor5/src/ui.js';class c extends _0x5e2342{static get[_0x3945c9(0xdf)](){const _0x46a689=_0x3945c9;return[_0x46a689(0xe4),_0x5862f5];}static get[_0x3945c9(0xea)](){const _0x5630e5=_0x3945c9;return _0x5630e5(0xee);}static get[_0x3945c9(0xec)](){return!0x0;}static get[_0x3945c9(0xc2)](){return!0x0;}constructor(_0x136e0f){const _0x59e8cc=_0x3945c9;super(_0x136e0f),this[_0x59e8cc(0xdc)](_0x59e8cc(0xf8),_0x2c5f30[_0x59e8cc(0xd7)]),this[_0x59e8cc(0xdc)](_0x59e8cc(0x107),!0x1),this[_0x59e8cc(0xe2)]=new Set(),this[_0x59e8cc(0xef)]=!0x1,this[_0x59e8cc(0xd1)]=Object[_0x59e8cc(0xdd)](_0x45ba6e);}[_0x3945c9(0x106)](){const _0x1e2e3f=_0x3945c9,_0x5a4029=this[_0x1e2e3f(0xcb)],_0x4b746d=_0x5a4029[_0x1e2e3f(0xc4)][_0x1e2e3f(0xf9)](_0x1e2e3f(0xe4)),_0x58a7ef=_0x5a4029[_0x1e2e3f(0xc4)][_0x1e2e3f(0xf9)](_0x5862f5);if(!_0x4b746d[_0x1e2e3f(0x103)])throw new _0x118843(_0x1e2e3f(0xf5),this);if(!_0x4b746d[_0x1e2e3f(0xf2)])throw new _0x118843(_0x1e2e3f(0xd2),this);return this[_0x1e2e3f(0xd1)][_0x1e2e3f(0x105)](window,_0x1e2e3f(0x102),()=>this[_0x1e2e3f(0x107)]=!0x0),this[_0x1e2e3f(0xd1)][_0x1e2e3f(0x105)](window,_0x1e2e3f(0xe3),()=>this[_0x1e2e3f(0x107)]=!0x1),this[_0x1e2e3f(0xcb)][_0x1e2e3f(0xf3)][_0x1e2e3f(0xe8)](_0x1e2e3f(0xd8),0xa),this[_0x1e2e3f(0xcb)][_0x1e2e3f(0xf3)][_0x1e2e3f(0xe8)](_0x1e2e3f(0xf0),0x14),c[_0x1e2e3f(0xee)][_0x1e2e3f(0xfc)](_0x4b746d[_0x1e2e3f(0x103)],_0x4b746d[_0x1e2e3f(0xf2)],{'timeout':0x3e8*this[_0x1e2e3f(0xcb)][_0x1e2e3f(0xf3)][_0x1e2e3f(0xf9)](_0x1e2e3f(0xd8)),'requestTimeout':0x3e8*this[_0x1e2e3f(0xcb)][_0x1e2e3f(0xf3)][_0x1e2e3f(0xf9)](_0x1e2e3f(0xf0))})[_0x1e2e3f(0xf6)](_0x2387ab=>{const _0x1800bd=_0x1e2e3f;if(this[_0x1800bd(0xf1)]=_0x2387ab,this[_0x1800bd(0xe6)](_0x1800bd(0xf8))['to'](_0x2387ab,_0x1800bd(0xf8),this,_0x1800bd(0x107),(_0x28cda1,_0x23f698)=>(_0x1800bd(0xc6)!==_0x28cda1&&(this[_0x1800bd(0xef)]=!0x0),_0x23f698||_0x28cda1!==_0x2c5f30[_0x1800bd(0xd7)]?_0x2c5f30[_0x1800bd(0xe7)]:this[_0x1800bd(0xf8)]==_0x2c5f30[_0x1800bd(0xe7)]&&this[_0x1800bd(0xef)]?(this[_0x1800bd(0xef)]=!0x1,this[_0x1800bd(0xbf)](),_0x2c5f30[_0x1800bd(0xfa)]):_0x2c5f30[_0x1800bd(0xd7)])),this[_0x1800bd(0xf1)]['on'](_0x1800bd(0xc3),(_0x536b3f,_0x57d061)=>{const _0x935d37=_0x1800bd;if(_0x935d37(0xcd)!==_0x57d061[_0x935d37(0xc9)])throw console[_0x935d37(0xc3)](_0x57d061),new _0x118843(_0x935d37(0xd0),null,{'originalError':_0x57d061});_0x58a7ef[_0x935d37(0x104)](_0x935d37(0xd6),{'title':_0x935d37(0xc7),'namespace':_0x935d37(0xc8)});}),!_0x2387ab['me'])return new Promise(_0x4e582e=>_0x2387ab['on'](_0x1800bd(0xc5),_0x4e582e));})[_0x1e2e3f(0xfe)](_0x2334cb=>{const _0x55c9f7=_0x1e2e3f;throw console[_0x55c9f7(0xc3)](_0x2334cb),new _0x118843(_0x55c9f7(0xd0),null,{'originalError':_0x2334cb});});}[_0x3945c9(0x10b)](_0xd8c459){const _0x22b227=_0x3945c9;if(_0x22b227(0xd9)!=typeof _0xd8c459[_0x22b227(0xd4)])throw new _0x118843(_0x22b227(0xfd),this);if(this[_0x22b227(0x108)](_0xd8c459))throw new _0x118843(_0x22b227(0xcc),this,{'name':_0xd8c459[_0x22b227(0x100)][_0x22b227(0xea)]});this[_0x22b227(0xe2)][_0x22b227(0xe5)](_0xd8c459);}[_0x3945c9(0xca)](_0xfd74a0){const _0x584824=_0x3945c9;this[_0x584824(0xe2)][_0x584824(0xf4)](_0xfd74a0);}[_0x3945c9(0x108)](_0x30c83a){const _0x10b81e=_0x3945c9;return this[_0x10b81e(0xe2)][_0x10b81e(0xda)](_0x30c83a);}[_0x3945c9(0xbf)](){const _0x2d4b33=_0x3945c9;return this[_0x2d4b33(0xf1)][_0x2d4b33(0xd4)]()[_0x2d4b33(0xf6)](()=>Promise[_0x2d4b33(0x10a)](Array[_0x2d4b33(0xf7)](this[_0x2d4b33(0xe2)],_0x3f8283=>_0x3f8283[_0x2d4b33(0xd4)]())))[_0x2d4b33(0xf6)](()=>this[_0x2d4b33(0xf8)]=_0x2c5f30[_0x2d4b33(0xd7)])[_0x2d4b33(0xfe)](_0xf2f616=>{const _0x55f7ec=_0x2d4b33;throw console[_0x55f7ec(0xc3)](_0xf2f616),new _0x118843(_0x55f7ec(0xc1),this[_0x55f7ec(0xcb)]);});}[_0x3945c9(0xe0)](){const _0x5958c2=_0x3945c9;this[_0x5958c2(0xf1)]&&this[_0x5958c2(0xf1)][_0x5958c2(0xcf)](),this[_0x5958c2(0xf8)]=_0x2c5f30[_0x5958c2(0xe7)],this[_0x5958c2(0xd1)][_0x5958c2(0xfb)](),super[_0x5958c2(0xe0)]();}}c[_0x3945c9(0xee)]=_0xd12024,c[_0x3945c9(0xe9)]=0x3e8;export default c;
23
+ const _0x1d9278=_0x57b9;(function(_0x16340b,_0xa0d32b){const _0x304574=_0x57b9,_0x54c76b=_0x16340b();while(!![]){try{const _0x10fa74=-parseInt(_0x304574(0x1c8))/0x1+-parseInt(_0x304574(0x195))/0x2*(parseInt(_0x304574(0x17e))/0x3)+-parseInt(_0x304574(0x1a1))/0x4*(-parseInt(_0x304574(0x185))/0x5)+parseInt(_0x304574(0x1a9))/0x6*(-parseInt(_0x304574(0x191))/0x7)+parseInt(_0x304574(0x1bb))/0x8+parseInt(_0x304574(0x192))/0x9+-parseInt(_0x304574(0x1b1))/0xa;if(_0x10fa74===_0xa0d32b)break;else _0x54c76b['push'](_0x54c76b['shift']());}catch(_0x2f71bd){_0x54c76b['push'](_0x54c76b['shift']());}}}(_0xf7af,0x9d1ec));import{ContextPlugin as _0x573a54}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x16d012,CKEditorError as _0x2e34a9}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xb941a4,WEB_SOCKET_GATEWAY_STATES as _0x3acbeb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x435360}from'ckeditor5/src/ui.js';class c extends _0x573a54{static get[_0x1d9278(0x194)](){const _0x383565=_0x1d9278;return[_0x383565(0x1b7),_0x435360];}static get[_0x1d9278(0x1c3)](){const _0x407b82=_0x1d9278;return _0x407b82(0x1c0);}static get[_0x1d9278(0x1ab)](){return!0x0;}static get[_0x1d9278(0x19a)](){return!0x0;}constructor(_0x155287){const _0x2a2a33=_0x1d9278;super(_0x155287),this[_0x2a2a33(0x18d)](_0x2a2a33(0x17f),_0x3acbeb[_0x2a2a33(0x1ad)]),this[_0x2a2a33(0x18d)](_0x2a2a33(0x180),!0x1),this[_0x2a2a33(0x198)]=new Set(),this[_0x2a2a33(0x1be)]=!0x1,this[_0x2a2a33(0x1c4)]=Object[_0x2a2a33(0x19d)](_0x16d012);}[_0x1d9278(0x1b6)](){const _0x54fe95=_0x1d9278,_0x3a5581=this[_0x54fe95(0x1c2)],_0xc8d956=_0x3a5581[_0x54fe95(0x1bc)][_0x54fe95(0x1c1)](_0x54fe95(0x1b7)),_0x3d9c14=_0x3a5581[_0x54fe95(0x1bc)][_0x54fe95(0x1c1)](_0x435360);if(!_0xc8d956[_0x54fe95(0x187)])throw new _0x2e34a9(_0x54fe95(0x18f),this);if(!_0xc8d956[_0x54fe95(0x1a2)])throw new _0x2e34a9(_0x54fe95(0x199),this);return this[_0x54fe95(0x1c4)][_0x54fe95(0x184)](window,_0x54fe95(0x1a3),()=>this[_0x54fe95(0x180)]=!0x0),this[_0x54fe95(0x1c4)][_0x54fe95(0x184)](window,_0x54fe95(0x196),()=>this[_0x54fe95(0x180)]=!0x1),this[_0x54fe95(0x1c2)][_0x54fe95(0x1b9)][_0x54fe95(0x19c)](_0x54fe95(0x1c5),0xa),this[_0x54fe95(0x1c2)][_0x54fe95(0x1b9)][_0x54fe95(0x19c)](_0x54fe95(0x18e),0x14),c[_0x54fe95(0x1c0)][_0x54fe95(0x1ac)](_0xc8d956[_0x54fe95(0x187)],_0xc8d956[_0x54fe95(0x1a2)],{'timeout':0x3e8*this[_0x54fe95(0x1c2)][_0x54fe95(0x1b9)][_0x54fe95(0x1c1)](_0x54fe95(0x1c5)),'requestTimeout':0x3e8*this[_0x54fe95(0x1c2)][_0x54fe95(0x1b9)][_0x54fe95(0x1c1)](_0x54fe95(0x18e))})[_0x54fe95(0x181)](_0x3c623d=>{const _0x3cfdd0=_0x54fe95;if(this[_0x3cfdd0(0x186)]=_0x3c623d,this[_0x3cfdd0(0x1b2)](_0x3cfdd0(0x17f))['to'](_0x3c623d,_0x3cfdd0(0x17f),this,_0x3cfdd0(0x180),(_0x54fb13,_0x430f10)=>(_0x3cfdd0(0x182)!==_0x54fb13&&(this[_0x3cfdd0(0x1be)]=!0x0),_0x430f10||_0x54fb13!==_0x3acbeb[_0x3cfdd0(0x1ad)]?_0x3acbeb[_0x3cfdd0(0x1a8)]:this[_0x3cfdd0(0x17f)]==_0x3acbeb[_0x3cfdd0(0x1a8)]&&this[_0x3cfdd0(0x1be)]?(this[_0x3cfdd0(0x1be)]=!0x1,this[_0x3cfdd0(0x1a0)](),_0x3acbeb[_0x3cfdd0(0x19b)]):_0x3acbeb[_0x3cfdd0(0x1ad)])),this[_0x3cfdd0(0x186)]['on'](_0x3cfdd0(0x19f),(_0x1d1d23,_0x4c10de)=>{const _0x9591c=_0x3cfdd0;if(_0x9591c(0x1c6)!==_0x4c10de[_0x9591c(0x1aa)])throw console[_0x9591c(0x19f)](_0x4c10de),new _0x2e34a9(_0x9591c(0x1af),null,{'originalError':_0x4c10de});_0x3d9c14[_0x9591c(0x1bf)](_0x9591c(0x18b),{'title':_0x9591c(0x1b8),'namespace':_0x9591c(0x189)});}),!_0x3c623d['me'])return new Promise(_0x38e3ac=>_0x3c623d['on'](_0x3cfdd0(0x1ba),_0x38e3ac));})[_0x54fe95(0x1c7)](_0x52330d=>{const _0x5c547d=_0x54fe95;throw console[_0x5c547d(0x19f)](_0x52330d),new _0x2e34a9(_0x5c547d(0x1af),null,{'originalError':_0x52330d});});}[_0x1d9278(0x1b3)](_0x92a7f4){const _0x3ee5d7=_0x1d9278;if(_0x3ee5d7(0x1a7)!=typeof _0x92a7f4[_0x3ee5d7(0x1a6)])throw new _0x2e34a9(_0x3ee5d7(0x183),this);if(this[_0x3ee5d7(0x1a4)](_0x92a7f4))throw new _0x2e34a9(_0x3ee5d7(0x197),this,{'name':_0x92a7f4[_0x3ee5d7(0x188)][_0x3ee5d7(0x1c3)]});this[_0x3ee5d7(0x198)][_0x3ee5d7(0x1b5)](_0x92a7f4);}[_0x1d9278(0x193)](_0x39931b){const _0x2e91b5=_0x1d9278;this[_0x2e91b5(0x198)][_0x2e91b5(0x190)](_0x39931b);}[_0x1d9278(0x1a4)](_0x41f1a4){const _0x2ee404=_0x1d9278;return this[_0x2ee404(0x198)][_0x2ee404(0x18c)](_0x41f1a4);}[_0x1d9278(0x1a0)](){const _0x5c2b36=_0x1d9278;return this[_0x5c2b36(0x186)][_0x5c2b36(0x1a6)]()[_0x5c2b36(0x181)](()=>Promise[_0x5c2b36(0x1ae)](Array[_0x5c2b36(0x1b4)](this[_0x5c2b36(0x198)],_0x2302ca=>_0x2302ca[_0x5c2b36(0x1a6)]())))[_0x5c2b36(0x181)](()=>this[_0x5c2b36(0x17f)]=_0x3acbeb[_0x5c2b36(0x1ad)])[_0x5c2b36(0x1c7)](_0x3eb47f=>{const _0x4bce2e=_0x5c2b36;throw console[_0x4bce2e(0x19f)](_0x3eb47f),new _0x2e34a9(_0x4bce2e(0x1b0),this[_0x4bce2e(0x1c2)]);});}[_0x1d9278(0x18a)](){const _0x1e7aa4=_0x1d9278;this[_0x1e7aa4(0x186)]&&this[_0x1e7aa4(0x186)][_0x1e7aa4(0x19e)](),this[_0x1e7aa4(0x17f)]=_0x3acbeb[_0x1e7aa4(0x1a8)],this[_0x1e7aa4(0x1c4)][_0x1e7aa4(0x1a5)](),super[_0x1e7aa4(0x18a)]();}}function _0xf7af(){const _0x28e133=['define','create','disconnect','error','_reconnect','2710480fEezIz','webSocketUrl','offline','isInReconnectionStack','stopListening','reconnect','function','DISCONNECTED','654NZBJEj','code','isOfficialPlugin','connect','CONNECTED','all','cloudservices-init','cloudservices-reconnection-error','1879430paHZgA','bind','addToReconnectionStack','from','add','init','CloudServices','Connected\x20users\x20limit\x20exceeded','config','change:me','9843552jNtCtB','plugins','initialReconnectionInterval','_shouldPluginsReconnect','showWarning','WebSocketGateway','get','context','pluginName','_domEmitter','cloudServices.connectionTimeout','limitExceeded','catch','265335JlPAXq','121131OzZxZT','state','_isBrowserOffline','then','connected','websocketgateway-invalid-plugin-interface','listenTo','5gMZiSu','connection','token','constructor','real-time-collaboration','destroy','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.','has','set','cloudServices.requestTimeout','websocketgateway-missing-token','delete','56182dtuIhx','10384119HFXdpC','removeFromReconnectionStack','requires','54IYZIcw','online','websocketgateway-plugin-already-registered','_reconnectionStack','websocketgateway-missing-websocket-url','isPremiumPlugin','CONNECTING'];_0xf7af=function(){return _0x28e133;};return _0xf7af();}function _0x57b9(_0x1fd5c9,_0x5e2812){const _0xf7af17=_0xf7af();return _0x57b9=function(_0x57b963,_0x3dfdfd){_0x57b963=_0x57b963-0x17e;let _0x287d93=_0xf7af17[_0x57b963];return _0x287d93;},_0x57b9(_0x1fd5c9,_0x5e2812);}c[_0x1d9278(0x1c0)]=_0xb941a4,c[_0x1d9278(0x1bd)]=0x3e8;export default c;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c44be=_0x3f3e;function _0x3f3e(_0x51113e,_0x3a8246){const _0x11225f=_0x1122();return _0x3f3e=function(_0x3f3ee4,_0x2319c2){_0x3f3ee4=_0x3f3ee4-0x1bd;let _0x43a4ef=_0x11225f[_0x3f3ee4];return _0x43a4ef;},_0x3f3e(_0x51113e,_0x3a8246);}(function(_0x3f1314,_0x54a1d9){const _0x1051bc=_0x3f3e,_0x2eedcc=_0x3f1314();while(!![]){try{const _0x1b2b95=parseInt(_0x1051bc(0x211))/0x1*(parseInt(_0x1051bc(0x219))/0x2)+parseInt(_0x1051bc(0x22b))/0x3+-parseInt(_0x1051bc(0x1c2))/0x4*(-parseInt(_0x1051bc(0x1d5))/0x5)+parseInt(_0x1051bc(0x232))/0x6*(parseInt(_0x1051bc(0x1c4))/0x7)+parseInt(_0x1051bc(0x22e))/0x8*(-parseInt(_0x1051bc(0x1f4))/0x9)+parseInt(_0x1051bc(0x1cd))/0xa*(-parseInt(_0x1051bc(0x1bd))/0xb)+parseInt(_0x1051bc(0x21e))/0xc*(-parseInt(_0x1051bc(0x213))/0xd);if(_0x1b2b95===_0x54a1d9)break;else _0x2eedcc['push'](_0x2eedcc['shift']());}catch(_0x423c80){_0x2eedcc['push'](_0x2eedcc['shift']());}}}(_0x1122,0xc6a04));import{Plugin as _0x5e42d0}from'ckeditor5/src/core.js';import{version as _0x3f32a3}from'ckeditor5/src/utils.js';import{Users as _0x5ab3ac}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x25bbe3 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5c1894 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2af60f from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x23c938,RevisionHistoryService as _0x48d041,User as _0x52ceee,WEB_SOCKET_GATEWAY_STATES as _0x26a66c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x5e42d0{static get[_0x2c44be(0x1c6)](){const _0x11e9fd=_0x2c44be;return[_0x5c1894,_0x25bbe3,_0x11e9fd(0x1dd),_0x2af60f,_0x5ab3ac];}static get[_0x2c44be(0x1fb)](){const _0x4ca27a=_0x2c44be;return _0x4ca27a(0x223);}static get[_0x2c44be(0x206)](){return!0x0;}static get[_0x2c44be(0x1f6)](){return!0x0;}constructor(_0x4cb55a){const _0x3c866f=_0x2c44be;super(_0x4cb55a);const _0x114f03=this[_0x3c866f(0x1db)][_0x3c866f(0x1d2)][_0x3c866f(0x1e5)](_0x3c866f(0x1fe));this[_0x3c866f(0x1f1)]=null,this[_0x3c866f(0x20a)]=this[_0x3c866f(0x1db)][_0x3c866f(0x201)][_0x3c866f(0x1e5)](_0x3c866f(0x1dd)),this[_0x3c866f(0x1e6)]=new u[(_0x3c866f(0x21f))](_0x114f03);}async[_0x2c44be(0x1f9)](){const _0x32fa1d=_0x2c44be,_0x1c81f9=this[_0x32fa1d(0x1db)][_0x32fa1d(0x201)][_0x32fa1d(0x1e5)](_0x25bbe3),_0x18f25a=_0x1c81f9[_0x32fa1d(0x215)],_0xce4083=this[_0x32fa1d(0x1db)][_0x32fa1d(0x201)][_0x32fa1d(0x1e5)](_0x5c1894);this[_0x32fa1d(0x20a)][_0x32fa1d(0x1cb)]({'history':_0x18f25a,'getLatestVersion':()=>this[_0x32fa1d(0x1de)](),'getCurrentRevisionId':()=>_0x1c81f9[_0x32fa1d(0x22d)]});const _0x54c2bf=this[_0x32fa1d(0x1db)][_0x32fa1d(0x1d2)][_0x32fa1d(0x1e5)](_0x32fa1d(0x1d9))||_0x3f32a3,_0x17f673=await _0x23c938[_0x32fa1d(0x1ea)](_0xce4083[_0x32fa1d(0x1f7)],_0x54c2bf);this[_0x32fa1d(0x20a)][_0x32fa1d(0x1fd)]={'getRevision':async({revisionId:_0x35030f})=>(await this[_0x32fa1d(0x225)](),await this[_0x32fa1d(0x1e6)][_0x32fa1d(0x207)](_0x35030f)),'updateRevisions':async _0x137318=>{const _0x4ce763=_0x32fa1d;await this[_0x4ce763(0x225)]();const _0x31ae18=this[_0x4ce763(0x20a)][_0x4ce763(0x205)];if(_0x17f673&&0x1===_0x137318[_0x4ce763(0x1d0)]&&_0x137318[0x0]['id']===_0x31ae18['id'])return _0x137318;for(const _0x550a63 of _0x137318)_0x550a63['id']===_0x31ae18['id']&&(_0x550a63[_0x4ce763(0x1f5)]=_0x550a63[_0x4ce763(0x1fa)]===_0x550a63[_0x4ce763(0x209)]);return this[_0x4ce763(0x1e6)][_0x4ce763(0x1ef)](_0x137318,this[_0x4ce763(0x1f1)])[_0x4ce763(0x20b)](_0x2228ef=>(this[_0x4ce763(0x1f1)]=_0x2228ef,_0x137318))[_0x4ce763(0x1f3)](_0x39529d=>{const _0x1ed313=_0x4ce763;if(X(_0x39529d)||_0x1ed313(0x22c)===_0x39529d[_0x1ed313(0x20d)]&&void 0x0!==_0x39529d[_0x1ed313(0x210)][_0x1ed313(0x1ce)]){for(const _0x5085a8 of _0x137318){!this[_0x1ed313(0x20a)][_0x1ed313(0x1e3)][_0x1ed313(0x207)](_0x5085a8['id'])||this[_0x1ed313(0x20a)][_0x1ed313(0x20e)](_0x5085a8['id'],_0x5085a8,!0x1);}if(X(_0x39529d))throw _0x39529d;return _0x137318;}throw _0x39529d;});}},this[_0x32fa1d(0x20c)](this[_0x32fa1d(0x1e6)],_0x32fa1d(0x1c1),(_0x125ee4,{revisionsData:_0x2b3ca6,requestId:_0x139b3e})=>{const _0x710973=_0x32fa1d;Math[_0x710973(0x1dc)](..._0x2b3ca6[_0x710973(0x1d4)](_0x2a210e=>_0x2a210e[_0x710973(0x209)]))>this[_0x710973(0x203)]()-0x1?this[_0x710973(0x1de)]()[_0x710973(0x20b)](()=>{const _0x80f592=_0x710973;this[_0x80f592(0x21c)](_0x2b3ca6,_0x139b3e);}):this[_0x710973(0x21c)](_0x2b3ca6,_0x139b3e);});const {revisions:_0xa69615,requestId:_0x17bd28}=await this[_0x32fa1d(0x1e6)][_0x32fa1d(0x1cf)](_0xce4083[_0x32fa1d(0x1f7)]);_0xce4083[_0x32fa1d(0x1cc)](this),this[_0x32fa1d(0x1f1)]=_0x17bd28,await this[_0x32fa1d(0x1fc)](_0xa69615);for(const _0xaf3688 of _0xa69615)this[_0x32fa1d(0x20a)][_0x32fa1d(0x1ca)](_0xaf3688);this[_0x32fa1d(0x20c)](_0x1c81f9,_0x32fa1d(0x1d3),(_0x5c8fff,_0x12159a,_0x4f09d4)=>{const _0x1cc78d=_0x32fa1d;_0x4f09d4&&(this[_0x1cc78d(0x214)]=_0x1c81f9[_0x1cc78d(0x1d6)],_0x5c8fff[_0x1cc78d(0x1e8)]());}),this[_0x32fa1d(0x20a)][_0x32fa1d(0x230)](_0x32fa1d(0x202))['to'](_0xce4083,_0x32fa1d(0x1e7),_0x5af993=>_0x5af993===_0x26a66c[_0x32fa1d(0x1c3)]);}async[_0x2c44be(0x224)](){const _0x109131=_0x2c44be,_0x3edacd=this[_0x109131(0x1db)][_0x109131(0x201)][_0x109131(0x1e5)](_0x5c1894),_0x481cb0=this[_0x109131(0x1db)][_0x109131(0x201)][_0x109131(0x1e5)](_0x25bbe3),_0x351162=async()=>{const _0x2b9070=_0x109131,_0xedb4b=this[_0x2b9070(0x20a)][_0x2b9070(0x205)],_0x59cebf=_0xedb4b['id'],_0xaaee74=_0x59cebf!==_0x481cb0[_0x2b9070(0x22d)];if(_0xaaee74){const _0x48236e=_0x481cb0[_0x2b9070(0x1d6)]-this[_0x2b9070(0x214)],_0x1c4f50=this[_0x2b9070(0x203)]();this[_0x2b9070(0x20a)][_0x2b9070(0x229)][_0x2b9070(0x200)]();if(_0xedb4b[_0x2b9070(0x209)]+_0x48236e!==_0x1c4f50){const _0x1f75d0=_0xedb4b[_0x2b9070(0x1fa)]+_0x48236e,_0x45966d=this[_0x2b9070(0x1db)][_0x2b9070(0x201)][_0x2b9070(0x1e5)](_0x5ab3ac),_0x578e23=this[_0x2b9070(0x20a)][_0x2b9070(0x1ed)]({'revision':_0xedb4b,'from':_0x1f75d0,'to':_0x1c4f50});_0x578e23['id']=_0xedb4b['id'];const _0x2b65bd=_0x578e23[_0x2b9070(0x212)][_0x2b9070(0x1d4)](_0x2064fc=>_0x45966d[_0x2b9070(0x217)](_0x2064fc));_0xedb4b[_0x2b9070(0x216)]({..._0x578e23,'authors':_0x2b65bd},!0x0),this[_0x2b9070(0x20a)][_0x2b9070(0x20e)](_0xedb4b['id'],_0x578e23,!0x0);}this[_0x2b9070(0x20a)][_0x2b9070(0x1f8)]=_0x1c4f50,(_0xedb4b[_0x2b9070(0x209)]===_0xedb4b[_0x2b9070(0x1fa)]&&!this[_0x2b9070(0x20a)][_0x2b9070(0x1d8)][_0x2b9070(0x228)](_0x59cebf)&&this[_0x2b9070(0x20a)][_0x2b9070(0x1e3)][_0x2b9070(0x1c8)][_0x2b9070(0x22a)](_0x59cebf),this[_0x2b9070(0x20a)][_0x2b9070(0x1ff)](_0x1c4f50));}const {revisions:_0x30cbe5,requestId:_0x34bd3e}=await this[_0x2b9070(0x1e6)][_0x2b9070(0x224)](_0x3edacd[_0x2b9070(0x1f7)],this[_0x2b9070(0x1f1)]);_0xaaee74&&_0x30cbe5[_0x2b9070(0x1d0)]>0x0?_0x481cb0[_0x2b9070(0x231)]():(await this[_0x2b9070(0x1fc)](_0x30cbe5),this[_0x2b9070(0x21c)](_0x30cbe5,_0x34bd3e),this[_0x2b9070(0x20a)][_0x2b9070(0x1e1)]());};return _0x481cb0[_0x109131(0x1eb)]?_0x351162():new Promise((_0x292178,_0xd296c)=>{const _0x5a599f=_0x109131;_0x481cb0[_0x5a599f(0x1f2)](_0x5a599f(0x1d3),()=>{const _0x250d4f=_0x5a599f;_0x351162()[_0x250d4f(0x20b)](_0x292178)[_0x250d4f(0x1f3)](_0xd296c);});});}[_0x2c44be(0x1c7)](){const _0x35f7c8=_0x2c44be;super[_0x35f7c8(0x1c7)]();}async[_0x2c44be(0x225)](){const _0x3bd08f=_0x2c44be;this[_0x3bd08f(0x1e6)][_0x3bd08f(0x218)]||await new Promise(_0x2ad1fa=>{const _0x304910=_0x3bd08f;this[_0x304910(0x20c)](this[_0x304910(0x1e6)],_0x304910(0x1c5),_0x4cc1dd=>{const _0x1132b7=_0x304910;_0x4cc1dd[_0x1132b7(0x1e8)](),_0x2ad1fa();});});}[_0x2c44be(0x203)](){const _0x2673d5=_0x2c44be,_0xe90589=this[_0x2673d5(0x1db)][_0x2673d5(0x201)][_0x2673d5(0x1e5)](_0x25bbe3)[_0x2673d5(0x215)][_0x2673d5(0x204)]()[_0x2673d5(0x226)]();for(const _0xe18968 of _0xe90589)if(_0x2673d5(0x208)!==_0xe18968[_0x2673d5(0x1d7)]||_0xe18968[_0x2673d5(0x222)])return _0xe18968[_0x2673d5(0x1da)]+0x1;}[_0x2c44be(0x1de)](){const _0x352acc=_0x2c44be,_0x5e218c=this[_0x352acc(0x1db)][_0x352acc(0x201)][_0x352acc(0x1e5)](_0x25bbe3);return new Promise(_0xfe4edf=>{const _0x4bc13f=_0x352acc;_0x5e218c[_0x4bc13f(0x1bf)]?_0x5e218c[_0x4bc13f(0x1f2)](_0x4bc13f(0x1ec),()=>{const _0x5b0d4d=_0x4bc13f;_0xfe4edf(this[_0x5b0d4d(0x203)]());}):_0xfe4edf(this[_0x4bc13f(0x203)]());});}[_0x2c44be(0x21c)](_0x4d309c,_0x419355){const _0x19b6e9=_0x2c44be,_0x4f59c5=this[_0x19b6e9(0x20a)][_0x19b6e9(0x1e3)];this[_0x19b6e9(0x1f1)]=_0x419355;for(const _0x2c39b3 of _0x4d309c){const _0x592d01=_0x4f59c5[_0x19b6e9(0x207)](_0x2c39b3['id']);if(_0x592d01){if((_0x2c39b3[_0x19b6e9(0x1fa)]||_0x2c39b3[_0x19b6e9(0x209)])&&(_0x2c39b3[_0x19b6e9(0x21b)]=null),_0x592d01===this[_0x19b6e9(0x20a)][_0x19b6e9(0x205)]){const _0x2d20d8=Math[_0x19b6e9(0x1dc)](_0x592d01[_0x19b6e9(0x209)],_0x2c39b3[_0x19b6e9(0x209)]),_0x2f80fd=Math[_0x19b6e9(0x1dc)](_0x592d01[_0x19b6e9(0x1fa)],_0x2c39b3[_0x19b6e9(0x1fa)]);let _0x44c2bf;_0x592d01[_0x19b6e9(0x209)]===_0x2c39b3[_0x19b6e9(0x209)]&&_0x592d01[_0x19b6e9(0x1fa)]===_0x2c39b3[_0x19b6e9(0x1fa)]?(_0x44c2bf=!0x0,this[_0x19b6e9(0x1df)](_0x2c39b3)):_0x2c39b3[_0x19b6e9(0x209)]===_0x2d20d8&&_0x2c39b3[_0x19b6e9(0x1fa)]===_0x2f80fd?_0x44c2bf=!0x1:(_0x592d01[_0x19b6e9(0x209)]===_0x2d20d8&&_0x592d01[_0x19b6e9(0x1fa)]===_0x2f80fd||this[_0x19b6e9(0x1d1)]({'revision':_0x592d01,'from':_0x2f80fd,'to':_0x2d20d8}),_0x44c2bf=!0x0),_0x44c2bf&&(delete _0x2c39b3[_0x19b6e9(0x1fa)],delete _0x2c39b3[_0x19b6e9(0x209)],delete _0x2c39b3[_0x19b6e9(0x21b)],delete _0x2c39b3[_0x19b6e9(0x1c0)],delete _0x2c39b3[_0x19b6e9(0x212)]);}this[_0x19b6e9(0x20a)][_0x19b6e9(0x220)](_0x2c39b3),this[_0x19b6e9(0x1df)](_0x2c39b3);}else this[_0x19b6e9(0x20a)][_0x19b6e9(0x1ca)](_0x2c39b3);}const _0x492fc2=_0x4f59c5[_0x19b6e9(0x1c9)]();_0x492fc2[_0x19b6e9(0x226)]();for(let _0x4edb67=0x0;_0x4edb67<_0x492fc2[_0x19b6e9(0x1d0)]-0x1;_0x4edb67++){const _0x3a3663=_0x492fc2[_0x4edb67],_0x1edd33=_0x492fc2[_0x4edb67+0x1];if(_0x3a3663[_0x19b6e9(0x1fa)]<_0x1edd33[_0x19b6e9(0x209)]){const _0x14f264=_0x1edd33[_0x19b6e9(0x209)],_0x5f3612=Math[_0x19b6e9(0x1dc)](_0x14f264,_0x3a3663[_0x19b6e9(0x209)]);this[_0x19b6e9(0x1d1)]({'revision':_0x3a3663,'from':_0x14f264,'to':_0x5f3612});}}}[_0x2c44be(0x1d1)]({revision:_0x2fc263,from:_0x53b877,to:_0x2da2f8}={}){const _0x210490=_0x2c44be,_0x391b19=this[_0x210490(0x1db)][_0x210490(0x201)][_0x210490(0x1e5)](_0x5ab3ac),_0x4ac0dc=this[_0x210490(0x20a)][_0x210490(0x1ed)]({'revision':_0x2fc263,'from':_0x53b877,'to':_0x2da2f8});_0x4ac0dc[_0x210490(0x21a)]=_0x4ac0dc[_0x210490(0x212)][_0x210490(0x1d4)](_0x544289=>_0x391b19[_0x210490(0x217)](_0x544289)),_0x2fc263[_0x210490(0x216)](_0x4ac0dc);}[_0x2c44be(0x1df)](_0x41214c){const _0xdbeb65=_0x2c44be,_0x50e30c={};_0x50e30c['id']=_0x41214c['id'];for(const _0x5da735 of Object[_0xdbeb65(0x1e2)](_0x41214c))'id'!==_0x5da735&&(_0x50e30c[_0x5da735]=void 0x0);this[_0xdbeb65(0x20a)][_0xdbeb65(0x20e)](_0x50e30c['id'],_0x50e30c,!0x0);}async[_0x2c44be(0x1fc)](_0x1a27fc){const _0x327afc=_0x2c44be,_0x39159f=this[_0x327afc(0x1db)][_0x327afc(0x201)][_0x327afc(0x1e5)](_0x5ab3ac),{connection:_0x4192df}=this[_0x327afc(0x1db)][_0x327afc(0x201)][_0x327afc(0x1e5)](_0x5c1894),_0x1858b9=new Set();for(const _0x50dee9 of _0x1a27fc){for(const _0x1f40ed of _0x50dee9[_0x327afc(0x212)])_0x4c6049(_0x1f40ed);_0x50dee9[_0x327afc(0x1be)]&&_0x4c6049(_0x50dee9[_0x327afc(0x1be)]);}if(0x0===_0x1858b9[_0x327afc(0x227)])return;const _0x22f329=await _0x52ceee[_0x327afc(0x1e4)](_0x4192df,Array[_0x327afc(0x1e9)](_0x1858b9));for(const _0x2a301b of _0x22f329)_0x39159f[_0x327afc(0x217)](_0x2a301b['id'])||_0x39159f[_0x327afc(0x22f)](_0x2a301b);function _0x4c6049(_0x1cf688){const _0x5194b9=_0x327afc;_0x39159f[_0x5194b9(0x217)](_0x1cf688)||_0x1858b9[_0x5194b9(0x1e0)](_0x1cf688);}}}u[_0x2c44be(0x21f)]=_0x48d041;export default u;function _0x1122(){const _0x209dce=['listenTo','code','_bufferUpdate','message','data','10OgHtNc','authorsIds','52wsIIby','_oldOffset','serverHistory','_update','getUser','isConnected','130628MwLevO','authors','diffData','_handleRevisionsUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','2434284oqYktD','RevisionHistoryService','setRevisionData','startsWith','affectsData','CloudServicesRevisionHistoryAdapter','reconnect','_waitForServiceReady','reverse','size','has','_revisionDataBuilder','remove','3568269keyKeW','400','sessionId','1048QwNPrU','addUser','bind','_handleReconnectionError','6OadRua','27533WPZUvN','creatorId','_isPendingUpdate','createdAt','revisionsUpdated','256BuTddG','CONNECTED','9166871hIUyAj','connected','requires','destroy','_revisions','getRevisions','addRevisionData','setSource','addToReconnectionStack','5290JbWiay','wrongRequestId','connect','length','_fixRevision','config','change:_isConnected','map','102110EPodCw','_offset','type','_bufferedUpdates','cloudServices.bundleVersion','baseVersion','editor','max','RevisionTracker','_getLatestVersion','_preventResendingRevisionData','add','sendBufferedUpdates','keys','repository','getMany','get','_revisionHistoryService','state','off','from','isBundleUploaded','_isConnected','change:_isPendingUpdate','buildRevisionData','cloud-services-internal-error:\x20Not\x20connected.','updateRevisions','cloud-services-internal-error:\x20Request\x20timeout.','_lastRequestId','once','catch','103743PZEFWM','isEmptyCurrent','isPremiumPlugin','connection','_startingVersion','init','fromVersion','pluginName','_fetchMissingUsers','adapter','collaboration.channelId','_createCurrentRevision','reInit','plugins','isEnabled','_getLatestVersionFromServerOperations','getOperations','currentRevision','isOfficialPlugin','getRevision','marker','toVersion','_revisionTracker','then'];_0x1122=function(){return _0x209dce;};return _0x1122();}function X(_0x10f13a){const _0x1534a2=_0x2c44be;return _0x10f13a[_0x1534a2(0x20f)][_0x1534a2(0x221)](_0x1534a2(0x21d))||_0x10f13a[_0x1534a2(0x20f)][_0x1534a2(0x221)](_0x1534a2(0x1ee))||_0x10f13a[_0x1534a2(0x20f)][_0x1534a2(0x221)](_0x1534a2(0x1f0));}
23
+ const _0x292cc2=_0x337b;(function(_0x5ed46c,_0x3b8ee8){const _0x4128c3=_0x337b,_0x1bd1e1=_0x5ed46c();while(!![]){try{const _0x49756f=-parseInt(_0x4128c3(0xf7))/0x1*(-parseInt(_0x4128c3(0x139))/0x2)+-parseInt(_0x4128c3(0x114))/0x3*(parseInt(_0x4128c3(0xfc))/0x4)+parseInt(_0x4128c3(0xe4))/0x5*(-parseInt(_0x4128c3(0x111))/0x6)+-parseInt(_0x4128c3(0x14a))/0x7*(-parseInt(_0x4128c3(0x101))/0x8)+parseInt(_0x4128c3(0x120))/0x9*(parseInt(_0x4128c3(0xfa))/0xa)+-parseInt(_0x4128c3(0x102))/0xb+parseInt(_0x4128c3(0x131))/0xc;if(_0x49756f===_0x3b8ee8)break;else _0x1bd1e1['push'](_0x1bd1e1['shift']());}catch(_0xa7d680){_0x1bd1e1['push'](_0x1bd1e1['shift']());}}}(_0x3a68,0x8540f));import{Plugin as _0x27d784}from'ckeditor5/src/core.js';function _0x337b(_0x45ccd9,_0x9b0426){const _0x3a686d=_0x3a68();return _0x337b=function(_0x337bfc,_0x2adbce){_0x337bfc=_0x337bfc-0xdf;let _0x3b5eff=_0x3a686d[_0x337bfc];return _0x3b5eff;},_0x337b(_0x45ccd9,_0x9b0426);}function _0x3a68(){const _0x43d219=['map','revisionsUpdated','repository','sessionId','_update','creatorId','5KsrnPL','get','_getLatestVersion','3113650ivJOAJ','isConnected','465028MNaiZD','isEnabled','message','getRevisions','RevisionTracker','680PSlIwE','10245059NPPSTC','RevisionHistoryService','_bufferedUpdates','setSource','length','_revisions','_fixRevision','CloudServicesRevisionHistoryAdapter','getOperations','add','_isConnected','size','_waitForServiceReady','_preventResendingRevisionData','updateRevisions','5271366RElhRB','toVersion','connection','9nFNeLr','reconnect','max','startsWith','diffData','init','_handleRevisionsUpdate','wrongRequestId','_fetchMissingUsers','then','isPremiumPlugin','_createCurrentRevision','9dOuiSx','baseVersion','bind','_revisionTracker','authors','fromVersion','CONNECTED','sendBufferedUpdates','change:_isPendingUpdate','adapter','_isPendingUpdate','currentRevision','code','400','reInit','serverHistory','_bufferUpdate','16002996NXgLbM','listenTo','_offset','_getLatestVersionFromServerOperations','_oldOffset','getMany','has','reverse','108236WTMMmQ','getUser','_revisionDataBuilder','isEmptyCurrent','_lastRequestId','addUser','addRevisionData','type','state','_revisionHistoryService','isBundleUploaded','connected','marker','cloud-services-internal-error:\x20Not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','editor','authorsIds','64974oFmmgI','data','cloudServices.bundleVersion','requires','pluginName','config','affectsData','isOfficialPlugin','buildRevisionData','keys','once','remove','createdAt','getRevision','addToReconnectionStack','5yuEzNP','off','from','_startingVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_handleReconnectionError','destroy','catch','connect','collaboration.channelId','setRevisionData','change:_isConnected','plugins'];_0x3a68=function(){return _0x43d219;};return _0x3a68();}import{version as _0x321ad6}from'ckeditor5/src/utils.js';import{Users as _0x3c5cc7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4e2a89 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x46c625 from'../realtimecollaborativeediting/websocketgateway.js';import _0x4cbff5 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x18af9a,RevisionHistoryService as _0x106cb0,User as _0x533077,WEB_SOCKET_GATEWAY_STATES as _0x4527d6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x27d784{static get[_0x292cc2(0x14d)](){const _0x5652f9=_0x292cc2;return[_0x46c625,_0x4e2a89,_0x5652f9(0x100),_0x4cbff5,_0x3c5cc7];}static get[_0x292cc2(0x14e)](){const _0x12465d=_0x292cc2;return _0x12465d(0x109);}static get[_0x292cc2(0x151)](){return!0x0;}static get[_0x292cc2(0x11e)](){return!0x0;}constructor(_0xdf9b7b){const _0x3393de=_0x292cc2;super(_0xdf9b7b);const _0x442ccb=this[_0x3393de(0x148)][_0x3393de(0x14f)][_0x3393de(0xf8)](_0x3393de(0xed));this[_0x3393de(0x13d)]=null,this[_0x3393de(0x123)]=this[_0x3393de(0x148)][_0x3393de(0xf0)][_0x3393de(0xf8)](_0x3393de(0x100)),this[_0x3393de(0x142)]=new u[(_0x3393de(0x103))](_0x442ccb);}async[_0x292cc2(0x119)](){const _0x56d00f=_0x292cc2,_0x3a37a4=this[_0x56d00f(0x148)][_0x56d00f(0xf0)][_0x56d00f(0xf8)](_0x4e2a89),_0x2d2b67=_0x3a37a4[_0x56d00f(0x12f)],_0x4daaf6=this[_0x56d00f(0x148)][_0x56d00f(0xf0)][_0x56d00f(0xf8)](_0x46c625);this[_0x56d00f(0x123)][_0x56d00f(0x105)]({'history':_0x2d2b67,'getLatestVersion':()=>this[_0x56d00f(0xf9)](),'getCurrentRevisionId':()=>_0x3a37a4[_0x56d00f(0xf4)]});const _0x4eb55e=this[_0x56d00f(0x148)][_0x56d00f(0x14f)][_0x56d00f(0xf8)](_0x56d00f(0x14c))||_0x321ad6,_0x54105d=await _0x18af9a[_0x56d00f(0x143)](_0x4daaf6[_0x56d00f(0x113)],_0x4eb55e);this[_0x56d00f(0x123)][_0x56d00f(0x129)]={'getRevision':async({revisionId:_0x4461cd})=>(await this[_0x56d00f(0x10e)](),await this[_0x56d00f(0x142)][_0x56d00f(0xe2)](_0x4461cd)),'updateRevisions':async _0x35a153=>{const _0x3925c8=_0x56d00f;await this[_0x3925c8(0x10e)]();const _0x24dd22=this[_0x3925c8(0x123)][_0x3925c8(0x12b)];if(_0x54105d&&0x1===_0x35a153[_0x3925c8(0x106)]&&_0x35a153[0x0]['id']===_0x24dd22['id'])return _0x35a153;for(const _0x26b91e of _0x35a153)_0x26b91e['id']===_0x24dd22['id']&&(_0x26b91e[_0x3925c8(0x13c)]=_0x26b91e[_0x3925c8(0x125)]===_0x26b91e[_0x3925c8(0x112)]);return this[_0x3925c8(0x142)][_0x3925c8(0x110)](_0x35a153,this[_0x3925c8(0x13d)])[_0x3925c8(0x11d)](_0x546b9f=>(this[_0x3925c8(0x13d)]=_0x546b9f,_0x35a153))[_0x3925c8(0xeb)](_0x36bbbb=>{const _0x4a0bcc=_0x3925c8;if(st(_0x36bbbb)||_0x4a0bcc(0x12d)===_0x36bbbb[_0x4a0bcc(0x12c)]&&void 0x0!==_0x36bbbb[_0x4a0bcc(0x14b)][_0x4a0bcc(0x11b)]){for(const _0xbb3a79 of _0x35a153){!this[_0x4a0bcc(0x123)][_0x4a0bcc(0xf3)][_0x4a0bcc(0xe2)](_0xbb3a79['id'])||this[_0x4a0bcc(0x123)][_0x4a0bcc(0x130)](_0xbb3a79['id'],_0xbb3a79,!0x1);}if(st(_0x36bbbb))throw _0x36bbbb;return _0x35a153;}throw _0x36bbbb;});}},this[_0x56d00f(0x132)](this[_0x56d00f(0x142)],_0x56d00f(0xf2),(_0x491976,{revisionsData:_0x19895d,requestId:_0x47ded3})=>{const _0x5059a0=_0x56d00f;Math[_0x5059a0(0x116)](..._0x19895d[_0x5059a0(0xf1)](_0x115963=>_0x115963[_0x5059a0(0x112)]))>this[_0x5059a0(0x134)]()-0x1?this[_0x5059a0(0xf9)]()[_0x5059a0(0x11d)](()=>{const _0x514518=_0x5059a0;this[_0x514518(0x11a)](_0x19895d,_0x47ded3);}):this[_0x5059a0(0x11a)](_0x19895d,_0x47ded3);});const {revisions:_0x331f31,requestId:_0x85ddc2}=await this[_0x56d00f(0x142)][_0x56d00f(0xec)](_0x4daaf6[_0x56d00f(0x113)]);_0x4daaf6[_0x56d00f(0xe3)](this),this[_0x56d00f(0x13d)]=_0x85ddc2,await this[_0x56d00f(0x11c)](_0x331f31);for(const _0x313dce of _0x331f31)this[_0x56d00f(0x123)][_0x56d00f(0x13f)](_0x313dce);this[_0x56d00f(0x132)](_0x3a37a4,_0x56d00f(0xef),(_0x4af0e6,_0x3b9058,_0x56e357)=>{const _0x3e78c0=_0x56d00f;_0x56e357&&(this[_0x3e78c0(0x135)]=_0x3a37a4[_0x3e78c0(0x133)],_0x4af0e6[_0x3e78c0(0xe5)]());}),this[_0x56d00f(0x123)][_0x56d00f(0x122)](_0x56d00f(0xfd))['to'](_0x4daaf6,_0x56d00f(0x141),_0x5a357f=>_0x5a357f===_0x4527d6[_0x56d00f(0x126)]);}async[_0x292cc2(0x115)](){const _0x1503b0=_0x292cc2,_0x395713=this[_0x1503b0(0x148)][_0x1503b0(0xf0)][_0x1503b0(0xf8)](_0x46c625),_0x4d8762=this[_0x1503b0(0x148)][_0x1503b0(0xf0)][_0x1503b0(0xf8)](_0x4e2a89),_0x33ff86=async()=>{const _0xab47a=_0x1503b0,_0x5b0bad=this[_0xab47a(0x123)][_0xab47a(0x12b)],_0x45396b=_0x5b0bad['id'],_0x19f733=_0x45396b!==_0x4d8762[_0xab47a(0xf4)];if(_0x19f733){const _0x4ffbba=_0x4d8762[_0xab47a(0x133)]-this[_0xab47a(0x135)],_0x35c010=this[_0xab47a(0x134)]();this[_0xab47a(0x123)][_0xab47a(0x13b)][_0xab47a(0x12e)]();if(_0x5b0bad[_0xab47a(0x112)]+_0x4ffbba!==_0x35c010){const _0x34f4d4=_0x5b0bad[_0xab47a(0x125)]+_0x4ffbba,_0x144710=this[_0xab47a(0x148)][_0xab47a(0xf0)][_0xab47a(0xf8)](_0x3c5cc7),_0x419fba=this[_0xab47a(0x123)][_0xab47a(0x152)]({'revision':_0x5b0bad,'from':_0x34f4d4,'to':_0x35c010});_0x419fba['id']=_0x5b0bad['id'];const _0x1aac18=_0x419fba[_0xab47a(0x149)][_0xab47a(0xf1)](_0x291879=>_0x144710[_0xab47a(0x13a)](_0x291879));_0x5b0bad[_0xab47a(0xf5)]({..._0x419fba,'authors':_0x1aac18},!0x0),this[_0xab47a(0x123)][_0xab47a(0x130)](_0x5b0bad['id'],_0x419fba,!0x0);}this[_0xab47a(0x123)][_0xab47a(0xe7)]=_0x35c010,(_0x5b0bad[_0xab47a(0x112)]===_0x5b0bad[_0xab47a(0x125)]&&!this[_0xab47a(0x123)][_0xab47a(0x104)][_0xab47a(0x137)](_0x45396b)&&this[_0xab47a(0x123)][_0xab47a(0xf3)][_0xab47a(0x107)][_0xab47a(0xe0)](_0x45396b),this[_0xab47a(0x123)][_0xab47a(0x11f)](_0x35c010));}const {revisions:_0x4efd78,requestId:_0x2b364c}=await this[_0xab47a(0x142)][_0xab47a(0x115)](_0x395713[_0xab47a(0x113)],this[_0xab47a(0x13d)]);_0x19f733&&_0x4efd78[_0xab47a(0x106)]>0x0?_0x4d8762[_0xab47a(0xe9)]():(await this[_0xab47a(0x11c)](_0x4efd78),this[_0xab47a(0x11a)](_0x4efd78,_0x2b364c),this[_0xab47a(0x123)][_0xab47a(0x127)]());};return _0x4d8762[_0x1503b0(0x10c)]?_0x33ff86():new Promise((_0x47511e,_0x20dff7)=>{const _0x1e03f3=_0x1503b0;_0x4d8762[_0x1e03f3(0xdf)](_0x1e03f3(0xef),()=>{const _0x3d5721=_0x1e03f3;_0x33ff86()[_0x3d5721(0x11d)](_0x47511e)[_0x3d5721(0xeb)](_0x20dff7);});});}[_0x292cc2(0xea)](){const _0x182b89=_0x292cc2;super[_0x182b89(0xea)]();}async[_0x292cc2(0x10e)](){const _0x4a7c0f=_0x292cc2;this[_0x4a7c0f(0x142)][_0x4a7c0f(0xfb)]||await new Promise(_0x559b21=>{const _0x19b4ae=_0x4a7c0f;this[_0x19b4ae(0x132)](this[_0x19b4ae(0x142)],_0x19b4ae(0x144),_0x593fa2=>{const _0x24bcd3=_0x19b4ae;_0x593fa2[_0x24bcd3(0xe5)](),_0x559b21();});});}[_0x292cc2(0x134)](){const _0x17a9e1=_0x292cc2,_0x57ef40=this[_0x17a9e1(0x148)][_0x17a9e1(0xf0)][_0x17a9e1(0xf8)](_0x4e2a89)[_0x17a9e1(0x12f)][_0x17a9e1(0x10a)]()[_0x17a9e1(0x138)]();for(const _0x1bce07 of _0x57ef40)if(_0x17a9e1(0x145)!==_0x1bce07[_0x17a9e1(0x140)]||_0x1bce07[_0x17a9e1(0x150)])return _0x1bce07[_0x17a9e1(0x121)]+0x1;}[_0x292cc2(0xf9)](){const _0x195a62=_0x292cc2,_0x17be26=this[_0x195a62(0x148)][_0x195a62(0xf0)][_0x195a62(0xf8)](_0x4e2a89);return new Promise(_0x581644=>{const _0x1b50f5=_0x195a62;_0x17be26[_0x1b50f5(0x12a)]?_0x17be26[_0x1b50f5(0xdf)](_0x1b50f5(0x128),()=>{const _0x4c8ec2=_0x1b50f5;_0x581644(this[_0x4c8ec2(0x134)]());}):_0x581644(this[_0x1b50f5(0x134)]());});}[_0x292cc2(0x11a)](_0x3ab71b,_0x39b271){const _0x47bcfb=_0x292cc2,_0x9aa28e=this[_0x47bcfb(0x123)][_0x47bcfb(0xf3)];this[_0x47bcfb(0x13d)]=_0x39b271;for(const _0x3453eb of _0x3ab71b){const _0x4c4e79=_0x9aa28e[_0x47bcfb(0xe2)](_0x3453eb['id']);if(_0x4c4e79){if((_0x3453eb[_0x47bcfb(0x125)]||_0x3453eb[_0x47bcfb(0x112)])&&(_0x3453eb[_0x47bcfb(0x118)]=null),_0x4c4e79===this[_0x47bcfb(0x123)][_0x47bcfb(0x12b)]){const _0x58ba61=Math[_0x47bcfb(0x116)](_0x4c4e79[_0x47bcfb(0x112)],_0x3453eb[_0x47bcfb(0x112)]),_0x51b423=Math[_0x47bcfb(0x116)](_0x4c4e79[_0x47bcfb(0x125)],_0x3453eb[_0x47bcfb(0x125)]);let _0x383909;_0x4c4e79[_0x47bcfb(0x112)]===_0x3453eb[_0x47bcfb(0x112)]&&_0x4c4e79[_0x47bcfb(0x125)]===_0x3453eb[_0x47bcfb(0x125)]?(_0x383909=!0x0,this[_0x47bcfb(0x10f)](_0x3453eb)):_0x3453eb[_0x47bcfb(0x112)]===_0x58ba61&&_0x3453eb[_0x47bcfb(0x125)]===_0x51b423?_0x383909=!0x1:(_0x4c4e79[_0x47bcfb(0x112)]===_0x58ba61&&_0x4c4e79[_0x47bcfb(0x125)]===_0x51b423||this[_0x47bcfb(0x108)]({'revision':_0x4c4e79,'from':_0x51b423,'to':_0x58ba61}),_0x383909=!0x0),_0x383909&&(delete _0x3453eb[_0x47bcfb(0x125)],delete _0x3453eb[_0x47bcfb(0x112)],delete _0x3453eb[_0x47bcfb(0x118)],delete _0x3453eb[_0x47bcfb(0xe1)],delete _0x3453eb[_0x47bcfb(0x149)]);}this[_0x47bcfb(0x123)][_0x47bcfb(0xee)](_0x3453eb),this[_0x47bcfb(0x10f)](_0x3453eb);}else this[_0x47bcfb(0x123)][_0x47bcfb(0x13f)](_0x3453eb);}const _0xac44ee=_0x9aa28e[_0x47bcfb(0xff)]();_0xac44ee[_0x47bcfb(0x138)]();for(let _0x39df50=0x0;_0x39df50<_0xac44ee[_0x47bcfb(0x106)]-0x1;_0x39df50++){const _0xe8a480=_0xac44ee[_0x39df50],_0x1f01ab=_0xac44ee[_0x39df50+0x1];if(_0xe8a480[_0x47bcfb(0x125)]<_0x1f01ab[_0x47bcfb(0x112)]){const _0x8c4c98=_0x1f01ab[_0x47bcfb(0x112)],_0x197243=Math[_0x47bcfb(0x116)](_0x8c4c98,_0xe8a480[_0x47bcfb(0x112)]);this[_0x47bcfb(0x108)]({'revision':_0xe8a480,'from':_0x8c4c98,'to':_0x197243});}}}[_0x292cc2(0x108)]({revision:_0x45ddd3,from:_0x58fff2,to:_0x5d4de}={}){const _0x227fa1=_0x292cc2,_0xb600bf=this[_0x227fa1(0x148)][_0x227fa1(0xf0)][_0x227fa1(0xf8)](_0x3c5cc7),_0x511337=this[_0x227fa1(0x123)][_0x227fa1(0x152)]({'revision':_0x45ddd3,'from':_0x58fff2,'to':_0x5d4de});_0x511337[_0x227fa1(0x124)]=_0x511337[_0x227fa1(0x149)][_0x227fa1(0xf1)](_0x1dc575=>_0xb600bf[_0x227fa1(0x13a)](_0x1dc575)),_0x45ddd3[_0x227fa1(0xf5)](_0x511337);}[_0x292cc2(0x10f)](_0x1ba8fa){const _0x157b17=_0x292cc2,_0x121a3f={};_0x121a3f['id']=_0x1ba8fa['id'];for(const _0x438e8e of Object[_0x157b17(0x153)](_0x1ba8fa))'id'!==_0x438e8e&&(_0x121a3f[_0x438e8e]=void 0x0);this[_0x157b17(0x123)][_0x157b17(0x130)](_0x121a3f['id'],_0x121a3f,!0x0);}async[_0x292cc2(0x11c)](_0x5d06de){const _0x2c8a87=_0x292cc2,_0x58e028=this[_0x2c8a87(0x148)][_0x2c8a87(0xf0)][_0x2c8a87(0xf8)](_0x3c5cc7),{connection:_0x2c6ea3}=this[_0x2c8a87(0x148)][_0x2c8a87(0xf0)][_0x2c8a87(0xf8)](_0x46c625),_0x2743df=new Set();for(const _0x5f0b21 of _0x5d06de){for(const _0x3335e7 of _0x5f0b21[_0x2c8a87(0x149)])_0x2fb93e(_0x3335e7);_0x5f0b21[_0x2c8a87(0xf6)]&&_0x2fb93e(_0x5f0b21[_0x2c8a87(0xf6)]);}if(0x0===_0x2743df[_0x2c8a87(0x10d)])return;const _0x32ce75=await _0x533077[_0x2c8a87(0x136)](_0x2c6ea3,Array[_0x2c8a87(0xe6)](_0x2743df));for(const _0x14528b of _0x32ce75)_0x58e028[_0x2c8a87(0x13a)](_0x14528b['id'])||_0x58e028[_0x2c8a87(0x13e)](_0x14528b);function _0x2fb93e(_0x3970be){const _0x474b1d=_0x2c8a87;_0x58e028[_0x474b1d(0x13a)](_0x3970be)||_0x2743df[_0x474b1d(0x10b)](_0x3970be);}}}u[_0x292cc2(0x103)]=_0x106cb0;export default u;function st(_0x2481ac){const _0x22eede=_0x292cc2;return _0x2481ac[_0x22eede(0xfe)][_0x22eede(0x117)](_0x22eede(0xe8))||_0x2481ac[_0x22eede(0xfe)][_0x22eede(0x117)](_0x22eede(0x146))||_0x2481ac[_0x22eede(0xfe)][_0x22eede(0x117)](_0x22eede(0x147));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31d260=_0x4d39;(function(_0x3bdcd9,_0x44b31d){const _0x56e40b=_0x4d39,_0x5d2c67=_0x3bdcd9();while(!![]){try{const _0x3184ac=-parseInt(_0x56e40b(0x229))/0x1*(-parseInt(_0x56e40b(0x214))/0x2)+-parseInt(_0x56e40b(0x223))/0x3+parseInt(_0x56e40b(0x1f1))/0x4*(parseInt(_0x56e40b(0x20a))/0x5)+parseInt(_0x56e40b(0x22a))/0x6+parseInt(_0x56e40b(0x20d))/0x7+-parseInt(_0x56e40b(0x20c))/0x8*(-parseInt(_0x56e40b(0x21e))/0x9)+-parseInt(_0x56e40b(0x217))/0xa;if(_0x3184ac===_0x44b31d)break;else _0x5d2c67['push'](_0x5d2c67['shift']());}catch(_0x1775e2){_0x5d2c67['push'](_0x5d2c67['shift']());}}}(_0x1cb9,0x615f9));import{Plugin as _0x37ffab}from'ckeditor5/src/core.js';import{User as _0x4392eb,TrackChangesService as _0x225712}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38a53a from'../realtimecollaborativeediting/websocketgateway.js';import _0x391436 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5ed284}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x37ffab{static get[_0x31d260(0x22b)](){const _0xb1fc48=_0x31d260;return[_0x391436,_0xb1fc48(0x21f),_0x38a53a];}static get[_0x31d260(0x1ef)](){const _0x1f48cd=_0x31d260;return _0x1f48cd(0x1f6);}static get[_0x31d260(0x1fc)](){return!0x0;}static get[_0x31d260(0x216)](){return!0x0;}constructor(_0x38ab3a){const _0x2ec25c=_0x31d260;super(_0x38ab3a);const _0x14492c=this[_0x2ec25c(0x221)][_0x2ec25c(0x208)][_0x2ec25c(0x228)](_0x2ec25c(0x1fe));this[_0x2ec25c(0x222)]=new Map(),this[_0x2ec25c(0x1f0)]=new f[(_0x2ec25c(0x204))](_0x14492c);}[_0x31d260(0x22d)](){const _0x2184ff=_0x31d260,_0x3e6e96=this[_0x2184ff(0x221)][_0x2184ff(0x203)][_0x2184ff(0x228)](_0x38a53a),_0x5c7e5a=this[_0x2184ff(0x221)][_0x2184ff(0x203)][_0x2184ff(0x228)](_0x2184ff(0x21f));return _0x5c7e5a[_0x2184ff(0x20b)]={'getSuggestion':async _0x50b452=>{const _0x9047fd=_0x2184ff;await this[_0x9047fd(0x20e)]();const _0x3f3a5a=await this[_0x9047fd(0x1f0)][_0x9047fd(0x228)](_0x50b452)[_0x9047fd(0x1ff)](w);return await this[_0x9047fd(0x1fd)]([_0x3f3a5a]),_0x3f3a5a;},'addSuggestion':async({id:_0x2c4226,type:_0x5c5957,data:_0x2caaaf,originalSuggestionId:_0x41e918,attributes:_0x5e773a})=>{const _0x465b49=_0x2184ff;await this[_0x465b49(0x20e)]();const _0x37c050={'id':_0x2c4226,'type':_0x5c5957,'data':_0x2caaaf,'originalSuggestionId':_0x41e918,'attributes':_0x5e773a},_0x4f1391=await this[_0x465b49(0x1f0)][_0x465b49(0x226)](_0x2c4226,_0x5c5957,_0x2caaaf,_0x41e918,_0x5e773a)[_0x465b49(0x1ff)](_0x2b4548=>{if(X(_0x2b4548))return new Promise(_0x24c02c=>{const _0x9ccafb=_0x4d39;this[_0x9ccafb(0x222)][_0x9ccafb(0x21c)](_0x2c4226,{'resolve':_0x24c02c,'suggestionData':_0x37c050});});throw _0x2b4548;});return this[_0x465b49(0x222)][_0x465b49(0x219)](_0x2c4226),_0x4f1391;},'updateSuggestion':async(_0x48d678,_0x534668)=>{const _0x4fc7d2=_0x2184ff;if(await this[_0x4fc7d2(0x20e)](),_0x4fc7d2(0x1f2)!==_0x534668[_0x4fc7d2(0x20f)])return this[_0x4fc7d2(0x1f0)][_0x4fc7d2(0x1fa)](_0x48d678,_0x534668)[_0x4fc7d2(0x1ff)](w);}},this[_0x2184ff(0x200)](this[_0x2184ff(0x1f0)],_0x2184ff(0x209),(_0x4873f7,_0x2eb6f7)=>{const _0x167dc9=_0x2184ff;_0x5c7e5a[_0x167dc9(0x1fb)](_0x2eb6f7['id'])&&(_0x5c7e5a[_0x167dc9(0x205)](_0x2eb6f7['id'])[_0x167dc9(0x206)]=_0x2eb6f7[_0x167dc9(0x206)]);}),this[_0x2184ff(0x1f0)][_0x2184ff(0x1f7)](_0x3e6e96[_0x2184ff(0x21b)])[_0x2184ff(0x225)](_0xf152ee=>(_0x3e6e96[_0x2184ff(0x1f9)](this),this[_0x2184ff(0x1fd)](_0xf152ee)[_0x2184ff(0x225)](()=>{const _0x4e35e7=_0x2184ff;for(const _0x2391ff of _0xf152ee){_0x5c7e5a[_0x4e35e7(0x224)](_0x2391ff)[_0x4e35e7(0x212)]=!0x0;}})));}async[_0x31d260(0x220)](){const _0x107cce=_0x31d260,_0x59b278=this[_0x107cce(0x221)][_0x107cce(0x203)][_0x107cce(0x228)](_0x107cce(0x21f)),{connection:_0x10234e}=this[_0x107cce(0x221)][_0x107cce(0x203)][_0x107cce(0x228)](_0x38a53a),_0xbc6cbd=await this[_0x107cce(0x1f0)][_0x107cce(0x1f7)](_0x10234e);await this[_0x107cce(0x1fd)](_0xbc6cbd);for(const {suggestionData:_0x482e15,resolve:_0x4b6963}of this[_0x107cce(0x222)][_0x107cce(0x22c)]()){let _0x570548=_0xbc6cbd[_0x107cce(0x211)](_0x279251=>_0x279251['id']===_0x482e15['id']);_0x570548||(_0x570548=await this[_0x107cce(0x1f0)][_0x107cce(0x226)](_0x482e15['id'],_0x482e15[_0x107cce(0x210)],_0x482e15[_0x107cce(0x21a)],_0x482e15[_0x107cce(0x227)])),_0x4b6963(_0x570548);}for(const _0x49a709 of _0xbc6cbd)_0x59b278[_0x107cce(0x1fb)](_0x49a709['id'])||_0x59b278[_0x107cce(0x224)](_0x49a709);}async[_0x31d260(0x20e)](){const _0x4a46d3=_0x31d260;this[_0x4a46d3(0x1f0)][_0x4a46d3(0x215)]||await new Promise(_0x31a9c2=>{const _0x334c00=_0x4a46d3;this[_0x334c00(0x200)](this[_0x334c00(0x1f0)],_0x334c00(0x207),_0x13f490=>{const _0x2303e9=_0x334c00;_0x13f490[_0x2303e9(0x1f5)](),_0x31a9c2();});});}async[_0x31d260(0x1fd)](_0x5e2562){const _0x52c58d=_0x31d260,_0x2c924b=this[_0x52c58d(0x221)][_0x52c58d(0x203)][_0x52c58d(0x228)](_0x5ed284),{connection:_0x5aaad6}=this[_0x52c58d(0x221)][_0x52c58d(0x203)][_0x52c58d(0x228)](_0x38a53a),_0x128ea5=new Set();for(const {authorId:_0x4b4983}of _0x5e2562)_0x2c924b[_0x52c58d(0x1f3)](_0x4b4983)||_0x128ea5[_0x52c58d(0x226)](_0x4b4983);if(0x0===_0x128ea5[_0x52c58d(0x218)])return;const _0x3fc1c9=await _0x4392eb[_0x52c58d(0x201)](_0x5aaad6,Array[_0x52c58d(0x1f4)](_0x128ea5));for(const _0x41cc0b of _0x3fc1c9)_0x2c924b[_0x52c58d(0x1f3)](_0x41cc0b['id'])||_0x2c924b[_0x52c58d(0x22e)](_0x41cc0b);}}function _0x1cb9(){const _0x3301ec=['adapter','6240FYweNT','4004553wMnBOw','_waitForServiceReady','state','type','find','_saved','cloud-services-internal-error:\x20Request\x20timeout.','13654YRfuFJ','isConnected','isPremiumPlugin','5621680Boocow','size','delete','data','connection','set','startsWith','3915OViyoW','TrackChangesEditing','reconnect','editor','_bufferedRequests','2371749TugsPG','addSuggestionData','then','add','originalSuggestionId','get','5qySAxm','4546188LpqCla','requires','values','init','addUser','pluginName','_trackChangesService','3280pZxVRh','open','getUser','from','off','CloudServicesTrackChangesAdapter','connect','message','addToReconnectionStack','update','hasSuggestion','isOfficialPlugin','_fetchMissingUsersForThreads','collaboration.channelId','catch','listenTo','getMany','cloud-services-internal-error:\x20Not\x20connected.','plugins','TrackChangesService','getSuggestion','attributes','connected','config','suggestionUpdated','295bpqwUo'];_0x1cb9=function(){return _0x3301ec;};return _0x1cb9();}f[_0x31d260(0x204)]=_0x225712;export default f;function w(_0x53c22f){if(X(_0x53c22f))return new Promise(()=>{});throw _0x53c22f;}function _0x4d39(_0x3688ec,_0x192209){const _0x1cb990=_0x1cb9();return _0x4d39=function(_0x4d3906,_0x2eff1d){_0x4d3906=_0x4d3906-0x1ef;let _0xd72fde=_0x1cb990[_0x4d3906];return _0xd72fde;},_0x4d39(_0x3688ec,_0x192209);}function X(_0x2aa3b8){const _0x230bc5=_0x31d260;return _0x2aa3b8[_0x230bc5(0x1f8)][_0x230bc5(0x21d)](_0x230bc5(0x202))||_0x2aa3b8[_0x230bc5(0x1f8)][_0x230bc5(0x21d)](_0x230bc5(0x213));}
23
+ const _0x33f192=_0x4348;function _0x1582(){const _0x11b878=['isOfficialPlugin','open','TrackChangesService','connected','isPremiumPlugin','_waitForServiceReady','209120ehpjZj','277430SBtfNg','state','143ZYpYQO','reconnect','pluginName','requires','set','delete','originalSuggestionId','type','cloud-services-internal-error:\x20Not\x20connected.','size','values','_trackChangesService','listenTo','7Kmgdcf','message','_saved','addUser','addSuggestionData','adapter','getMany','data','collaboration.channelId','90WjMlXp','addToReconnectionStack','config','from','update','4OUvmfy','909992uNOsET','get','CloudServicesTrackChangesAdapter','attributes','_fetchMissingUsersForThreads','startsWith','16660188guEqHm','connection','1531122UzZNrh','connect','find','add','catch','init','editor','off','then','suggestionUpdated','hasSuggestion','115790hNXtIa','isConnected','_bufferedRequests','180MUJpUv','892YVyrKi','plugins','cloud-services-internal-error:\x20Request\x20timeout.','getSuggestion','TrackChangesEditing','getUser'];_0x1582=function(){return _0x11b878;};return _0x1582();}(function(_0x124e56,_0x410964){const _0x1f7337=_0x4348,_0x58c07f=_0x124e56();while(!![]){try{const _0x19119d=parseInt(_0x1f7337(0x172))/0x1+-parseInt(_0x1f7337(0x166))/0x2*(parseInt(_0x1f7337(0x165))/0x3)+parseInt(_0x1f7337(0x14e))/0x4*(parseInt(_0x1f7337(0x173))/0x5)+parseInt(_0x1f7337(0x157))/0x6*(parseInt(_0x1f7337(0x140))/0x7)+parseInt(_0x1f7337(0x14f))/0x8*(-parseInt(_0x1f7337(0x149))/0x9)+-parseInt(_0x1f7337(0x162))/0xa*(parseInt(_0x1f7337(0x175))/0xb)+parseInt(_0x1f7337(0x155))/0xc;if(_0x19119d===_0x410964)break;else _0x58c07f['push'](_0x58c07f['shift']());}catch(_0x49787c){_0x58c07f['push'](_0x58c07f['shift']());}}}(_0x1582,0x90dd5));import{Plugin as _0x29bd19}from'ckeditor5/src/core.js';import{User as _0x2df364,TrackChangesService as _0x347ad1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2a5adb from'../realtimecollaborativeediting/websocketgateway.js';import _0x59d0ef from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x173471}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x29bd19{static get[_0x33f192(0x178)](){const _0x413bcc=_0x33f192;return[_0x59d0ef,_0x413bcc(0x16a),_0x2a5adb];}static get[_0x33f192(0x177)](){const _0x31362a=_0x33f192;return _0x31362a(0x151);}static get[_0x33f192(0x16c)](){return!0x0;}static get[_0x33f192(0x170)](){return!0x0;}constructor(_0x91141f){const _0x396999=_0x33f192;super(_0x91141f);const _0x497af9=this[_0x396999(0x15d)][_0x396999(0x14b)][_0x396999(0x150)](_0x396999(0x148));this[_0x396999(0x164)]=new Map(),this[_0x396999(0x180)]=new f[(_0x396999(0x16e))](_0x497af9);}[_0x33f192(0x15c)](){const _0x2a5047=_0x33f192,_0x37846a=this[_0x2a5047(0x15d)][_0x2a5047(0x167)][_0x2a5047(0x150)](_0x2a5adb),_0x42a1f4=this[_0x2a5047(0x15d)][_0x2a5047(0x167)][_0x2a5047(0x150)](_0x2a5047(0x16a));return _0x42a1f4[_0x2a5047(0x145)]={'getSuggestion':async _0x509655=>{const _0xe26942=_0x2a5047;await this[_0xe26942(0x171)]();const _0xbf40a5=await this[_0xe26942(0x180)][_0xe26942(0x150)](_0x509655)[_0xe26942(0x15b)](w);return await this[_0xe26942(0x153)]([_0xbf40a5]),_0xbf40a5;},'addSuggestion':async({id:_0x1716b6,type:_0x2c99c6,data:_0x3d263a,originalSuggestionId:_0x1ca653,attributes:_0x4202c5})=>{const _0x2338d0=_0x2a5047;await this[_0x2338d0(0x171)]();const _0x254426={'id':_0x1716b6,'type':_0x2c99c6,'data':_0x3d263a,'originalSuggestionId':_0x1ca653,'attributes':_0x4202c5},_0x158513=await this[_0x2338d0(0x180)][_0x2338d0(0x15a)](_0x1716b6,_0x2c99c6,_0x3d263a,_0x1ca653,_0x4202c5)[_0x2338d0(0x15b)](_0x55b811=>{if(st(_0x55b811))return new Promise(_0xcb058f=>{const _0x3f7e33=_0x4348;this[_0x3f7e33(0x164)][_0x3f7e33(0x179)](_0x1716b6,{'resolve':_0xcb058f,'suggestionData':_0x254426});});throw _0x55b811;});return this[_0x2338d0(0x164)][_0x2338d0(0x17a)](_0x1716b6),_0x158513;},'updateSuggestion':async(_0x23f800,_0x2c9bf9)=>{const _0x480f91=_0x2a5047;if(await this[_0x480f91(0x171)](),_0x480f91(0x16d)!==_0x2c9bf9[_0x480f91(0x174)])return this[_0x480f91(0x180)][_0x480f91(0x14d)](_0x23f800,_0x2c9bf9)[_0x480f91(0x15b)](w);}},this[_0x2a5047(0x13f)](this[_0x2a5047(0x180)],_0x2a5047(0x160),(_0x220196,_0x1316b7)=>{const _0x2f9769=_0x2a5047;_0x42a1f4[_0x2f9769(0x161)](_0x1316b7['id'])&&(_0x42a1f4[_0x2f9769(0x169)](_0x1316b7['id'])[_0x2f9769(0x152)]=_0x1316b7[_0x2f9769(0x152)]);}),this[_0x2a5047(0x180)][_0x2a5047(0x158)](_0x37846a[_0x2a5047(0x156)])[_0x2a5047(0x15f)](_0x242b6e=>(_0x37846a[_0x2a5047(0x14a)](this),this[_0x2a5047(0x153)](_0x242b6e)[_0x2a5047(0x15f)](()=>{const _0x4081f8=_0x2a5047;for(const _0xa8dfcd of _0x242b6e){_0x42a1f4[_0x4081f8(0x144)](_0xa8dfcd)[_0x4081f8(0x142)]=!0x0;}})));}async[_0x33f192(0x176)](){const _0x386a5f=_0x33f192,_0x5b20a1=this[_0x386a5f(0x15d)][_0x386a5f(0x167)][_0x386a5f(0x150)](_0x386a5f(0x16a)),{connection:_0x16b7a8}=this[_0x386a5f(0x15d)][_0x386a5f(0x167)][_0x386a5f(0x150)](_0x2a5adb),_0x4ecd94=await this[_0x386a5f(0x180)][_0x386a5f(0x158)](_0x16b7a8);await this[_0x386a5f(0x153)](_0x4ecd94);for(const {suggestionData:_0x528419,resolve:_0x52de19}of this[_0x386a5f(0x164)][_0x386a5f(0x17f)]()){let _0x4cad9d=_0x4ecd94[_0x386a5f(0x159)](_0x361136=>_0x361136['id']===_0x528419['id']);_0x4cad9d||(_0x4cad9d=await this[_0x386a5f(0x180)][_0x386a5f(0x15a)](_0x528419['id'],_0x528419[_0x386a5f(0x17c)],_0x528419[_0x386a5f(0x147)],_0x528419[_0x386a5f(0x17b)])),_0x52de19(_0x4cad9d);}for(const _0x1d424a of _0x4ecd94)_0x5b20a1[_0x386a5f(0x161)](_0x1d424a['id'])||_0x5b20a1[_0x386a5f(0x144)](_0x1d424a);}async[_0x33f192(0x171)](){const _0xa31688=_0x33f192;this[_0xa31688(0x180)][_0xa31688(0x163)]||await new Promise(_0xc21274=>{const _0x1d76ed=_0xa31688;this[_0x1d76ed(0x13f)](this[_0x1d76ed(0x180)],_0x1d76ed(0x16f),_0x47c9b6=>{const _0x1ec27c=_0x1d76ed;_0x47c9b6[_0x1ec27c(0x15e)](),_0xc21274();});});}async[_0x33f192(0x153)](_0x1725e1){const _0x1c2f01=_0x33f192,_0x3d508f=this[_0x1c2f01(0x15d)][_0x1c2f01(0x167)][_0x1c2f01(0x150)](_0x173471),{connection:_0x2c1c83}=this[_0x1c2f01(0x15d)][_0x1c2f01(0x167)][_0x1c2f01(0x150)](_0x2a5adb),_0x541f81=new Set();for(const {authorId:_0x4db9a2}of _0x1725e1)_0x3d508f[_0x1c2f01(0x16b)](_0x4db9a2)||_0x541f81[_0x1c2f01(0x15a)](_0x4db9a2);if(0x0===_0x541f81[_0x1c2f01(0x17e)])return;const _0x52b355=await _0x2df364[_0x1c2f01(0x146)](_0x2c1c83,Array[_0x1c2f01(0x14c)](_0x541f81));for(const _0xbd8b2e of _0x52b355)_0x3d508f[_0x1c2f01(0x16b)](_0xbd8b2e['id'])||_0x3d508f[_0x1c2f01(0x143)](_0xbd8b2e);}}f[_0x33f192(0x16e)]=_0x347ad1;function _0x4348(_0x4acb48,_0x356cee){const _0x15829f=_0x1582();return _0x4348=function(_0x43486c,_0xec6c23){_0x43486c=_0x43486c-0x13f;let _0x26bf19=_0x15829f[_0x43486c];return _0x26bf19;},_0x4348(_0x4acb48,_0x356cee);}export default f;function w(_0x3d4a5e){if(st(_0x3d4a5e))return new Promise(()=>{});throw _0x3d4a5e;}function st(_0x242c6c){const _0x3fa9ca=_0x33f192;return _0x242c6c[_0x3fa9ca(0x141)][_0x3fa9ca(0x154)](_0x3fa9ca(0x17d))||_0x242c6c[_0x3fa9ca(0x141)][_0x3fa9ca(0x154)](_0x3fa9ca(0x168));}