@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.7 → 44.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +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.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- 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 _0x1e48da=_0x460d;(function(_0x1eb591,_0x34623e){const _0xfc45fb=_0x460d,_0x551a24=_0x1eb591();while(!![]){try{const _0x1d47ad=parseInt(_0xfc45fb(0x11b))/0x1*(parseInt(_0xfc45fb(0xdf))/0x2)+parseInt(_0xfc45fb(0x12b))/0x3*(parseInt(_0xfc45fb(0xd8))/0x4)+parseInt(_0xfc45fb(0x10a))/0x5*(parseInt(_0xfc45fb(0xd0))/0x6)+parseInt(_0xfc45fb(0x125))/0x7+-parseInt(_0xfc45fb(0xfa))/0x8+parseInt(_0xfc45fb(0xfd))/0x9*(-parseInt(_0xfc45fb(0x11c))/0xa)+-parseInt(_0xfc45fb(0x124))/0xb*(-parseInt(_0xfc45fb(0xc2))/0xc);if(_0x1d47ad===_0x34623e)break;else _0x551a24['push'](_0x551a24['shift']());}catch(_0x3d6256){_0x551a24['push'](_0x551a24['shift']());}}}(_0x26c4,0xe67aa));import{Plugin as _0x4a3b2a}from'ckeditor5/src/core.js';import{version as _0xcfefc0}from'ckeditor5/src/utils.js';import{Users as _0x909eaf}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x191068 from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x460d(_0xc5eb26,_0x45453c){const _0x26c4e6=_0x26c4();return _0x460d=function(_0x460d8b,_0x3ce96b){_0x460d8b=_0x460d8b-0xbc;let _0x1b1e03=_0x26c4e6[_0x460d8b];return _0x1b1e03;},_0x460d(_0xc5eb26,_0x45453c);}import _0x2646cb from'../realtimecollaborativeediting/websocketgateway.js';import _0x1ea8c9 from'../realtimecollaborativeediting/sessions.js';function _0x26c4(){const _0x3940cc=['cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','pluginName','3805LjlGeV','_waitForServiceReady','fromVersion','affectsData','400','updateRevisions','addRevisionData','bind','config','getRevision','_revisionTracker','marker','code','CloudServicesRevisionHistoryAdapter','sendBufferedUpdates','isEnabled','_fixRevision','153798ZoQZrt','100pZeBgb','addUser','connection','catch','cloud-services-internal-error:\x20Request\x20timeout.','_fetchMissingUsers','RevisionTracker','editor','33YQpFyq','10706871SUdZzD','get','from','plugins','reInit','_handleRevisionsUpdate','3SAJXdX','authors','getUser','remove','data','off','_getLatestVersionFromServerOperations','destroy','baseVersion','_revisions','init','_oldOffset','2873316AuTvZD','creatorId','has','connect','startsWith','once','_bufferedUpdates','requires','_bufferUpdate','cloud-services-internal-error:\x20Not\x20connected.','isBundleUploaded','RevisionHistoryService','_lastRequestId','_preventResendingRevisionData','4524UYGCFA','_offset','length','buildRevisionData','getOperations','repository','reverse','wrongRequestId','1384148VPWofQ','adapter','isConnected','toVersion','sessionId','getRevisions','getMany','8BnBmwl','max','_startingVersion','size','_isPendingUpdate','add','_isConnected','setSource','currentRevision','reconnect','revisionsUpdated','listenTo','_createCurrentRevision','_getLatestVersion','authorsIds','setRevisionData','isEmptyCurrent','change:_isConnected','keys','isPremiumPlugin','diffData','addToReconnectionStack','map','connected','then','state','_update','10917784rXiMtB','cloudServices.bundleVersion','_revisionDataBuilder','1326726HYPIUW','_revisionHistoryService','type','isOfficialPlugin','serverHistory','CONNECTED','collaboration.channelId','_handleReconnectionError','createdAt','message','change:_isPendingUpdate'];_0x26c4=function(){return _0x3940cc;};return _0x26c4();}import{EditorService as _0x479371,RevisionHistoryService as _0x51e0ac,User as _0x5999a1,WEB_SOCKET_GATEWAY_STATES as _0x58a6b3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x4a3b2a{static get[_0x1e48da(0xc9)](){const _0x187cac=_0x1e48da;return[_0x2646cb,_0x191068,_0x187cac(0x122),_0x1ea8c9,_0x909eaf];}static get[_0x1e48da(0x109)](){const _0xb597cc=_0x1e48da;return _0xb597cc(0x117);}static get[_0x1e48da(0x100)](){return!0x0;}static get[_0x1e48da(0xf2)](){return!0x0;}constructor(_0x1eab7a){const _0x281edf=_0x1e48da;super(_0x1eab7a);const _0x46a61d=this[_0x281edf(0x123)][_0x281edf(0x112)][_0x281edf(0x126)](_0x281edf(0x103));this[_0x281edf(0xce)]=null,this[_0x281edf(0x114)]=this[_0x281edf(0x123)][_0x281edf(0x128)][_0x281edf(0x126)](_0x281edf(0x122)),this[_0x281edf(0xfe)]=new u[(_0x281edf(0xcd))](_0x46a61d);}async[_0x1e48da(0xc0)](){const _0xba0cb6=_0x1e48da,_0x2651a4=this[_0xba0cb6(0x123)][_0xba0cb6(0x128)][_0xba0cb6(0x126)](_0x191068),_0x177e2c=_0x2651a4[_0xba0cb6(0x101)],_0x2f6205=this[_0xba0cb6(0x123)][_0xba0cb6(0x128)][_0xba0cb6(0x126)](_0x2646cb);this[_0xba0cb6(0x114)][_0xba0cb6(0xe6)]({'history':_0x177e2c,'getLatestVersion':()=>this[_0xba0cb6(0xec)](),'getCurrentRevisionId':()=>_0x2651a4[_0xba0cb6(0xdc)]});const _0x1604d3=this[_0xba0cb6(0x123)][_0xba0cb6(0x112)][_0xba0cb6(0x126)](_0xba0cb6(0xfb))||_0xcfefc0,_0x357577=await _0x479371[_0xba0cb6(0xcc)](_0x2f6205[_0xba0cb6(0x11e)],_0x1604d3);this[_0xba0cb6(0x114)][_0xba0cb6(0xd9)]={'getRevision':async({revisionId:_0x2517c3})=>(await this[_0xba0cb6(0x10b)](),await this[_0xba0cb6(0xfe)][_0xba0cb6(0x113)](_0x2517c3)),'updateRevisions':async _0x4b79a9=>{const _0x4f4158=_0xba0cb6;await this[_0x4f4158(0x10b)]();const _0x4528fb=this[_0x4f4158(0x114)][_0x4f4158(0xe7)];if(_0x357577&&0x1===_0x4b79a9[_0x4f4158(0xd2)]&&_0x4b79a9[0x0]['id']===_0x4528fb['id'])return _0x4b79a9;for(const _0x2019af of _0x4b79a9)_0x2019af['id']===_0x4528fb['id']&&(_0x2019af[_0x4f4158(0xef)]=_0x2019af[_0x4f4158(0x10c)]===_0x2019af[_0x4f4158(0xdb)]);return this[_0x4f4158(0xfe)][_0x4f4158(0x10f)](_0x4b79a9,this[_0x4f4158(0xce)])[_0x4f4158(0xf7)](_0x186836=>(this[_0x4f4158(0xce)]=_0x186836,_0x4b79a9))[_0x4f4158(0x11f)](_0x18fc4e=>{const _0x43d17c=_0x4f4158;if(U(_0x18fc4e)||_0x43d17c(0x10e)===_0x18fc4e[_0x43d17c(0x116)]&&void 0x0!==_0x18fc4e[_0x43d17c(0x12f)][_0x43d17c(0xd7)]){for(const _0x24cd92 of _0x4b79a9){!this[_0x43d17c(0x114)][_0x43d17c(0xd5)][_0x43d17c(0x113)](_0x24cd92['id'])||this[_0x43d17c(0x114)][_0x43d17c(0xca)](_0x24cd92['id'],_0x24cd92,!0x1);}if(U(_0x18fc4e))throw _0x18fc4e;return _0x4b79a9;}throw _0x18fc4e;});}},this[_0xba0cb6(0xea)](this[_0xba0cb6(0xfe)],_0xba0cb6(0xe9),(_0x3ed538,{revisionsData:_0x1790e6,requestId:_0x5453fc})=>{const _0xed0c62=_0xba0cb6;Math[_0xed0c62(0xe0)](..._0x1790e6[_0xed0c62(0xf5)](_0x4978b7=>_0x4978b7[_0xed0c62(0xdb)]))>this[_0xed0c62(0xbc)]()-0x1?this[_0xed0c62(0xec)]()[_0xed0c62(0xf7)](()=>{const _0x41572d=_0xed0c62;this[_0x41572d(0x12a)](_0x1790e6,_0x5453fc);}):this[_0xed0c62(0x12a)](_0x1790e6,_0x5453fc);});const {revisions:_0x15dde0,requestId:_0x2fd80d}=await this[_0xba0cb6(0xfe)][_0xba0cb6(0xc5)](_0x2f6205[_0xba0cb6(0x11e)]);_0x2f6205[_0xba0cb6(0xf4)](this),this[_0xba0cb6(0xce)]=_0x2fd80d,await this[_0xba0cb6(0x121)](_0x15dde0);for(const _0x9f1904 of _0x15dde0)this[_0xba0cb6(0x114)][_0xba0cb6(0x110)](_0x9f1904);this[_0xba0cb6(0xea)](_0x2651a4,_0xba0cb6(0xf0),(_0x5f2ef2,_0x3abb0e,_0x18808d)=>{const _0x4c3bc3=_0xba0cb6;_0x18808d&&(this[_0x4c3bc3(0xc1)]=_0x2651a4[_0x4c3bc3(0xd1)],_0x5f2ef2[_0x4c3bc3(0x130)]());}),this[_0xba0cb6(0x114)][_0xba0cb6(0x111)](_0xba0cb6(0x119))['to'](_0x2f6205,_0xba0cb6(0xf8),_0x68772a=>_0x68772a===_0x58a6b3[_0xba0cb6(0x102)]);}async[_0x1e48da(0xe8)](){const _0x570177=_0x1e48da,_0x307000=this[_0x570177(0x123)][_0x570177(0x128)][_0x570177(0x126)](_0x2646cb),_0x2bbe14=this[_0x570177(0x123)][_0x570177(0x128)][_0x570177(0x126)](_0x191068),_0x37216a=async()=>{const _0x551eb9=_0x570177,_0x416c57=this[_0x551eb9(0x114)][_0x551eb9(0xe7)],_0x18d922=_0x416c57['id'],_0x93a22d=_0x18d922!==_0x2bbe14[_0x551eb9(0xdc)];if(_0x93a22d){const _0x58a5b9=_0x2bbe14[_0x551eb9(0xd1)]-this[_0x551eb9(0xc1)],_0x388d8c=this[_0x551eb9(0xbc)]();this[_0x551eb9(0x114)][_0x551eb9(0xfc)][_0x551eb9(0x129)]();if(_0x416c57[_0x551eb9(0xdb)]+_0x58a5b9!==_0x388d8c){const _0x1dd51b=_0x416c57[_0x551eb9(0x10c)]+_0x58a5b9,_0x94fdb0=this[_0x551eb9(0x123)][_0x551eb9(0x128)][_0x551eb9(0x126)](_0x909eaf),_0x300c91=this[_0x551eb9(0x114)][_0x551eb9(0xd3)]({'revision':_0x416c57,'from':_0x1dd51b,'to':_0x388d8c});_0x300c91['id']=_0x416c57['id'];const _0x5534e0=_0x300c91[_0x551eb9(0xed)][_0x551eb9(0xf5)](_0x46f9a0=>_0x94fdb0[_0x551eb9(0x12d)](_0x46f9a0));_0x416c57[_0x551eb9(0xf9)]({..._0x300c91,'authors':_0x5534e0},!0x0),this[_0x551eb9(0x114)][_0x551eb9(0xca)](_0x416c57['id'],_0x300c91,!0x0);}this[_0x551eb9(0x114)][_0x551eb9(0xe1)]=_0x388d8c,(_0x416c57[_0x551eb9(0xdb)]===_0x416c57[_0x551eb9(0x10c)]&&!this[_0x551eb9(0x114)][_0x551eb9(0xc8)][_0x551eb9(0xc4)](_0x18d922)&&this[_0x551eb9(0x114)][_0x551eb9(0xd5)][_0x551eb9(0xbf)][_0x551eb9(0x12e)](_0x18d922),this[_0x551eb9(0x114)][_0x551eb9(0xeb)](_0x388d8c));}const {revisions:_0x1fb911,requestId:_0x68194a}=await this[_0x551eb9(0xfe)][_0x551eb9(0xe8)](_0x307000[_0x551eb9(0x11e)],this[_0x551eb9(0xce)]);_0x93a22d&&_0x1fb911[_0x551eb9(0xd2)]>0x0?_0x2bbe14[_0x551eb9(0x104)]():(await this[_0x551eb9(0x121)](_0x1fb911),this[_0x551eb9(0x12a)](_0x1fb911,_0x68194a),this[_0x551eb9(0x114)][_0x551eb9(0x118)]());};return _0x2bbe14[_0x570177(0xe5)]?_0x37216a():new Promise((_0x43ca7d,_0x22f99c)=>{const _0x5c3873=_0x570177;_0x2bbe14[_0x5c3873(0xc7)](_0x5c3873(0xf0),()=>{const _0x5350d2=_0x5c3873;_0x37216a()[_0x5350d2(0xf7)](_0x43ca7d)[_0x5350d2(0x11f)](_0x22f99c);});});}[_0x1e48da(0xbd)](){const _0x1d2854=_0x1e48da;super[_0x1d2854(0xbd)]();}async[_0x1e48da(0x10b)](){const _0x4733aa=_0x1e48da;this[_0x4733aa(0xfe)][_0x4733aa(0xda)]||await new Promise(_0x2fa353=>{const _0x7ce6b1=_0x4733aa;this[_0x7ce6b1(0xea)](this[_0x7ce6b1(0xfe)],_0x7ce6b1(0xf6),_0x59dcc7=>{const _0x5bc4ad=_0x7ce6b1;_0x59dcc7[_0x5bc4ad(0x130)](),_0x2fa353();});});}[_0x1e48da(0xbc)](){const _0x11f0b8=_0x1e48da,_0x161746=this[_0x11f0b8(0x123)][_0x11f0b8(0x128)][_0x11f0b8(0x126)](_0x191068)[_0x11f0b8(0x101)][_0x11f0b8(0xd4)]()[_0x11f0b8(0xd6)]();for(const _0x35dee of _0x161746)if(_0x11f0b8(0x115)!==_0x35dee[_0x11f0b8(0xff)]||_0x35dee[_0x11f0b8(0x10d)])return _0x35dee[_0x11f0b8(0xbe)]+0x1;}[_0x1e48da(0xec)](){const _0x2cc19c=_0x1e48da,_0x480033=this[_0x2cc19c(0x123)][_0x2cc19c(0x128)][_0x2cc19c(0x126)](_0x191068);return new Promise(_0x274c38=>{const _0x1c1d0f=_0x2cc19c;_0x480033[_0x1c1d0f(0xe3)]?_0x480033[_0x1c1d0f(0xc7)](_0x1c1d0f(0x107),()=>{const _0x5ddc26=_0x1c1d0f;_0x274c38(this[_0x5ddc26(0xbc)]());}):_0x274c38(this[_0x1c1d0f(0xbc)]());});}[_0x1e48da(0x12a)](_0xb35fd0,_0x5e7a0c){const _0x3b53db=_0x1e48da,_0x5e1746=this[_0x3b53db(0x114)][_0x3b53db(0xd5)];this[_0x3b53db(0xce)]=_0x5e7a0c;for(const _0x30ef79 of _0xb35fd0){const _0x28beec=_0x5e1746[_0x3b53db(0x113)](_0x30ef79['id']);if(_0x28beec){if((_0x30ef79[_0x3b53db(0x10c)]||_0x30ef79[_0x3b53db(0xdb)])&&(_0x30ef79[_0x3b53db(0xf3)]=null),_0x28beec===this[_0x3b53db(0x114)][_0x3b53db(0xe7)]){const _0x219a11=Math[_0x3b53db(0xe0)](_0x28beec[_0x3b53db(0xdb)],_0x30ef79[_0x3b53db(0xdb)]),_0x39619e=Math[_0x3b53db(0xe0)](_0x28beec[_0x3b53db(0x10c)],_0x30ef79[_0x3b53db(0x10c)]);let _0xe15aa4;_0x28beec[_0x3b53db(0xdb)]===_0x30ef79[_0x3b53db(0xdb)]&&_0x28beec[_0x3b53db(0x10c)]===_0x30ef79[_0x3b53db(0x10c)]?(_0xe15aa4=!0x0,this[_0x3b53db(0xcf)](_0x30ef79)):_0x30ef79[_0x3b53db(0xdb)]===_0x219a11&&_0x30ef79[_0x3b53db(0x10c)]===_0x39619e?_0xe15aa4=!0x1:(_0x28beec[_0x3b53db(0xdb)]===_0x219a11&&_0x28beec[_0x3b53db(0x10c)]===_0x39619e||this[_0x3b53db(0x11a)]({'revision':_0x28beec,'from':_0x39619e,'to':_0x219a11}),_0xe15aa4=!0x0),_0xe15aa4&&(delete _0x30ef79[_0x3b53db(0x10c)],delete _0x30ef79[_0x3b53db(0xdb)],delete _0x30ef79[_0x3b53db(0xf3)],delete _0x30ef79[_0x3b53db(0x105)],delete _0x30ef79[_0x3b53db(0xed)]);}this[_0x3b53db(0x114)][_0x3b53db(0xee)](_0x30ef79),this[_0x3b53db(0xcf)](_0x30ef79);}else this[_0x3b53db(0x114)][_0x3b53db(0x110)](_0x30ef79);}const _0x14f4cf=_0x5e1746[_0x3b53db(0xdd)]();_0x14f4cf[_0x3b53db(0xd6)]();for(let _0xbbd04a=0x0;_0xbbd04a<_0x14f4cf[_0x3b53db(0xd2)]-0x1;_0xbbd04a++){const _0x1764d1=_0x14f4cf[_0xbbd04a],_0x5b58bd=_0x14f4cf[_0xbbd04a+0x1];if(_0x1764d1[_0x3b53db(0x10c)]<_0x5b58bd[_0x3b53db(0xdb)]){const _0x185820=_0x5b58bd[_0x3b53db(0xdb)],_0x1fd4af=Math[_0x3b53db(0xe0)](_0x185820,_0x1764d1[_0x3b53db(0xdb)]);this[_0x3b53db(0x11a)]({'revision':_0x1764d1,'from':_0x185820,'to':_0x1fd4af});}}}[_0x1e48da(0x11a)]({revision:_0x122b2d,from:_0x4b9c18,to:_0x345491}={}){const _0x559d4a=_0x1e48da,_0x1ae5bb=this[_0x559d4a(0x123)][_0x559d4a(0x128)][_0x559d4a(0x126)](_0x909eaf),_0x468ce8=this[_0x559d4a(0x114)][_0x559d4a(0xd3)]({'revision':_0x122b2d,'from':_0x4b9c18,'to':_0x345491});_0x468ce8[_0x559d4a(0x12c)]=_0x468ce8[_0x559d4a(0xed)][_0x559d4a(0xf5)](_0x11cae3=>_0x1ae5bb[_0x559d4a(0x12d)](_0x11cae3)),_0x122b2d[_0x559d4a(0xf9)](_0x468ce8);}[_0x1e48da(0xcf)](_0x36ec85){const _0x55cf87=_0x1e48da,_0x188077={};_0x188077['id']=_0x36ec85['id'];for(const _0x19140f of Object[_0x55cf87(0xf1)](_0x36ec85))'id'!==_0x19140f&&(_0x188077[_0x19140f]=void 0x0);this[_0x55cf87(0x114)][_0x55cf87(0xca)](_0x188077['id'],_0x188077,!0x0);}async[_0x1e48da(0x121)](_0x34fd4a){const _0x52c51e=_0x1e48da,_0x2a254b=this[_0x52c51e(0x123)][_0x52c51e(0x128)][_0x52c51e(0x126)](_0x909eaf),{connection:_0x3e3a43}=this[_0x52c51e(0x123)][_0x52c51e(0x128)][_0x52c51e(0x126)](_0x2646cb),_0x357a39=new Set();for(const _0x23aed3 of _0x34fd4a){for(const _0x32fbe3 of _0x23aed3[_0x52c51e(0xed)])_0x10b42f(_0x32fbe3);_0x23aed3[_0x52c51e(0xc3)]&&_0x10b42f(_0x23aed3[_0x52c51e(0xc3)]);}if(0x0===_0x357a39[_0x52c51e(0xe2)])return;const _0xec7d18=await _0x5999a1[_0x52c51e(0xde)](_0x3e3a43,Array[_0x52c51e(0x127)](_0x357a39));for(const _0x4e4ca2 of _0xec7d18)_0x2a254b[_0x52c51e(0x12d)](_0x4e4ca2['id'])||_0x2a254b[_0x52c51e(0x11d)](_0x4e4ca2);function _0x10b42f(_0x5e21f1){const _0x378266=_0x52c51e;_0x2a254b[_0x378266(0x12d)](_0x5e21f1)||_0x357a39[_0x378266(0xe4)](_0x5e21f1);}}}u[_0x1e48da(0xcd)]=_0x51e0ac;export default u;function U(_0x5a2e8a){const _0x117724=_0x1e48da;return _0x5a2e8a[_0x117724(0x106)][_0x117724(0xc6)](_0x117724(0x108))||_0x5a2e8a[_0x117724(0x106)][_0x117724(0xc6)](_0x117724(0xcb))||_0x5a2e8a[_0x117724(0x106)][_0x117724(0xc6)](_0x117724(0x120));}
|
|
23
|
+
const _0x237705=_0xe461;(function(_0x2da7ad,_0x64615d){const _0x3bded7=_0xe461,_0x300230=_0x2da7ad();while(!![]){try{const _0x554029=-parseInt(_0x3bded7(0x187))/0x1+-parseInt(_0x3bded7(0x193))/0x2*(parseInt(_0x3bded7(0x1bf))/0x3)+parseInt(_0x3bded7(0x1bc))/0x4+parseInt(_0x3bded7(0x197))/0x5+-parseInt(_0x3bded7(0x16f))/0x6+parseInt(_0x3bded7(0x19b))/0x7*(-parseInt(_0x3bded7(0x17e))/0x8)+-parseInt(_0x3bded7(0x176))/0x9*(-parseInt(_0x3bded7(0x1c5))/0xa);if(_0x554029===_0x64615d)break;else _0x300230['push'](_0x300230['shift']());}catch(_0x5c4f41){_0x300230['push'](_0x300230['shift']());}}}(_0x24af,0xacb48));import{Plugin as _0x4dd7ea}from'ckeditor5/src/core.js';function _0x24af(){const _0x446b4b=['getRevisions','6763025HPHMJL','once','toVersion','revisionsUpdated','7AoynQt','_isPendingUpdate','state','get','CloudServicesRevisionHistoryAdapter','setSource','RevisionTracker','addUser','reInit','_update','_startingVersion','bind','_preventResendingRevisionData','from','connection','map','_revisionDataBuilder','size','change:_isConnected','cloud-services-internal-error:\x20Not\x20connected.','_getLatestVersion','diffData','listenTo','_fetchMissingUsers','authors','setRevisionData','type','addToReconnectionStack','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','currentRevision','connected','createdAt','653608UpEvNo','isEnabled','then','3EOBzTS','editor','baseVersion','length','catch','reconnect','1600gCBAqt','_revisionHistoryService','data','startsWith','isConnected','_getLatestVersionFromServerOperations','pluginName','init','_lastRequestId','sendBufferedUpdates','_handleRevisionsUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','sessionId','updateRevisions','affectsData','wrongRequestId','_handleReconnectionError','_isConnected','_revisions','RevisionHistoryService','_revisionTracker','max','fromVersion','_oldOffset','change:_isPendingUpdate','code','_bufferedUpdates','_waitForServiceReady','_bufferUpdate','5546862xnahyY','cloudServices.bundleVersion','repository','keys','marker','isEmptyCurrent','adapter','161964zCgauh','config','_createCurrentRevision','remove','isOfficialPlugin','CONNECTED','destroy','plugins','9279736DJxdzL','400','requires','_fixRevision','creatorId','_offset','getRevision','getUser','message','1214290zWDXmc','getOperations','getMany','authorsIds','addRevisionData','off','has','buildRevisionData','serverHistory','isBundleUploaded','isPremiumPlugin','add','778466DGCnbL','reverse','connect'];_0x24af=function(){return _0x446b4b;};return _0x24af();}import{version as _0x442a0b}from'ckeditor5/src/utils.js';import{Users as _0x19c4d2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xa94ef6 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x56f98e from'../realtimecollaborativeediting/websocketgateway.js';import _0x11683a from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x453a30,RevisionHistoryService as _0x4770d1,User as _0x353a9a,WEB_SOCKET_GATEWAY_STATES as _0x2d95eb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0xe461(_0x321a41,_0x55abc7){const _0x24afb6=_0x24af();return _0xe461=function(_0xe461c3,_0x2393c4){_0xe461c3=_0xe461c3-0x155;let _0x480d12=_0x24afb6[_0xe461c3];return _0x480d12;},_0xe461(_0x321a41,_0x55abc7);}class u extends _0x4dd7ea{static get[_0x237705(0x180)](){const _0x1ef201=_0x237705;return[_0x56f98e,_0xa94ef6,_0x1ef201(0x1a1),_0x11683a,_0x19c4d2];}static get[_0x237705(0x158)](){const _0x5db2a3=_0x237705;return _0x5db2a3(0x19f);}static get[_0x237705(0x17a)](){return!0x0;}static get[_0x237705(0x191)](){return!0x0;}constructor(_0x5c96b7){const _0x5d2193=_0x237705;super(_0x5c96b7);const _0x292c2f=this[_0x5d2193(0x1c0)][_0x5d2193(0x177)][_0x5d2193(0x19e)](_0x5d2193(0x1b8));this[_0x5d2193(0x15a)]=null,this[_0x5d2193(0x166)]=this[_0x5d2193(0x1c0)][_0x5d2193(0x17d)][_0x5d2193(0x19e)](_0x5d2193(0x1a1)),this[_0x5d2193(0x1c6)]=new u[(_0x5d2193(0x165))](_0x292c2f);}async[_0x237705(0x159)](){const _0x1da38c=_0x237705,_0x5a072e=this[_0x1da38c(0x1c0)][_0x1da38c(0x17d)][_0x1da38c(0x19e)](_0xa94ef6),_0x314cc7=_0x5a072e[_0x1da38c(0x18f)],_0x1c9cf7=this[_0x1da38c(0x1c0)][_0x1da38c(0x17d)][_0x1da38c(0x19e)](_0x56f98e);this[_0x1da38c(0x166)][_0x1da38c(0x1a0)]({'history':_0x314cc7,'getLatestVersion':()=>this[_0x1da38c(0x1af)](),'getCurrentRevisionId':()=>_0x5a072e[_0x1da38c(0x15e)]});const _0x20ea8b=this[_0x1da38c(0x1c0)][_0x1da38c(0x177)][_0x1da38c(0x19e)](_0x1da38c(0x170))||_0x442a0b,_0x1ef104=await _0x453a30[_0x1da38c(0x190)](_0x1c9cf7[_0x1da38c(0x1a9)],_0x20ea8b);this[_0x1da38c(0x166)][_0x1da38c(0x175)]={'getRevision':async({revisionId:_0x1bd6d5})=>(await this[_0x1da38c(0x16d)](),await this[_0x1da38c(0x1c6)][_0x1da38c(0x184)](_0x1bd6d5)),'updateRevisions':async _0x4f2562=>{const _0x1253e5=_0x1da38c;await this[_0x1253e5(0x16d)]();const _0x97dad9=this[_0x1253e5(0x166)][_0x1253e5(0x1b9)];if(_0x1ef104&&0x1===_0x4f2562[_0x1253e5(0x1c2)]&&_0x4f2562[0x0]['id']===_0x97dad9['id'])return _0x4f2562;for(const _0x159d07 of _0x4f2562)_0x159d07['id']===_0x97dad9['id']&&(_0x159d07[_0x1253e5(0x174)]=_0x159d07[_0x1253e5(0x168)]===_0x159d07[_0x1253e5(0x199)]);return this[_0x1253e5(0x1c6)][_0x1253e5(0x15f)](_0x4f2562,this[_0x1253e5(0x15a)])[_0x1253e5(0x1be)](_0x2d205a=>(this[_0x1253e5(0x15a)]=_0x2d205a,_0x4f2562))[_0x1253e5(0x1c3)](_0x2014f8=>{const _0x4dba99=_0x1253e5;if(rt(_0x2014f8)||_0x4dba99(0x17f)===_0x2014f8[_0x4dba99(0x16b)]&&void 0x0!==_0x2014f8[_0x4dba99(0x1c7)][_0x4dba99(0x161)]){for(const _0x4e2194 of _0x4f2562){!this[_0x4dba99(0x166)][_0x4dba99(0x171)][_0x4dba99(0x184)](_0x4e2194['id'])||this[_0x4dba99(0x166)][_0x4dba99(0x16e)](_0x4e2194['id'],_0x4e2194,!0x1);}if(rt(_0x2014f8))throw _0x2014f8;return _0x4f2562;}throw _0x2014f8;});}},this[_0x1da38c(0x1b1)](this[_0x1da38c(0x1c6)],_0x1da38c(0x19a),(_0x211ebc,{revisionsData:_0x2f01cd,requestId:_0x20f991})=>{const _0x43406a=_0x1da38c;Math[_0x43406a(0x167)](..._0x2f01cd[_0x43406a(0x1aa)](_0x644cf6=>_0x644cf6[_0x43406a(0x199)]))>this[_0x43406a(0x157)]()-0x1?this[_0x43406a(0x1af)]()[_0x43406a(0x1be)](()=>{const _0x15efec=_0x43406a;this[_0x15efec(0x15c)](_0x2f01cd,_0x20f991);}):this[_0x43406a(0x15c)](_0x2f01cd,_0x20f991);});const {revisions:_0x439259,requestId:_0x541482}=await this[_0x1da38c(0x1c6)][_0x1da38c(0x195)](_0x1c9cf7[_0x1da38c(0x1a9)]);_0x1c9cf7[_0x1da38c(0x1b6)](this),this[_0x1da38c(0x15a)]=_0x541482,await this[_0x1da38c(0x1b2)](_0x439259);for(const _0x1b031e of _0x439259)this[_0x1da38c(0x166)][_0x1da38c(0x18b)](_0x1b031e);this[_0x1da38c(0x1b1)](_0x5a072e,_0x1da38c(0x1ad),(_0x1c0cb7,_0x179cf7,_0x117a12)=>{const _0x1e7507=_0x1da38c;_0x117a12&&(this[_0x1e7507(0x169)]=_0x5a072e[_0x1e7507(0x183)],_0x1c0cb7[_0x1e7507(0x18c)]());}),this[_0x1da38c(0x166)][_0x1da38c(0x1a6)](_0x1da38c(0x1bd))['to'](_0x1c9cf7,_0x1da38c(0x19d),_0x1bdfdf=>_0x1bdfdf===_0x2d95eb[_0x1da38c(0x17b)]);}async[_0x237705(0x1c4)](){const _0x4b1ac8=_0x237705,_0x5d1cc7=this[_0x4b1ac8(0x1c0)][_0x4b1ac8(0x17d)][_0x4b1ac8(0x19e)](_0x56f98e),_0x22d5cd=this[_0x4b1ac8(0x1c0)][_0x4b1ac8(0x17d)][_0x4b1ac8(0x19e)](_0xa94ef6),_0x2551bb=async()=>{const _0x28c29e=_0x4b1ac8,_0x557361=this[_0x28c29e(0x166)][_0x28c29e(0x1b9)],_0x5bd1d7=_0x557361['id'],_0x21487a=_0x5bd1d7!==_0x22d5cd[_0x28c29e(0x15e)];if(_0x21487a){const _0x5c1cc9=_0x22d5cd[_0x28c29e(0x183)]-this[_0x28c29e(0x169)],_0x368a39=this[_0x28c29e(0x157)]();this[_0x28c29e(0x166)][_0x28c29e(0x1ab)][_0x28c29e(0x1a3)]();if(_0x557361[_0x28c29e(0x199)]+_0x5c1cc9!==_0x368a39){const _0x5b7412=_0x557361[_0x28c29e(0x168)]+_0x5c1cc9,_0x28f044=this[_0x28c29e(0x1c0)][_0x28c29e(0x17d)][_0x28c29e(0x19e)](_0x19c4d2),_0x25d643=this[_0x28c29e(0x166)][_0x28c29e(0x18e)]({'revision':_0x557361,'from':_0x5b7412,'to':_0x368a39});_0x25d643['id']=_0x557361['id'];const _0x56125a=_0x25d643[_0x28c29e(0x18a)][_0x28c29e(0x1aa)](_0x366080=>_0x28f044[_0x28c29e(0x185)](_0x366080));_0x557361[_0x28c29e(0x1a4)]({..._0x25d643,'authors':_0x56125a},!0x0),this[_0x28c29e(0x166)][_0x28c29e(0x16e)](_0x557361['id'],_0x25d643,!0x0);}this[_0x28c29e(0x166)][_0x28c29e(0x1a5)]=_0x368a39,(_0x557361[_0x28c29e(0x199)]===_0x557361[_0x28c29e(0x168)]&&!this[_0x28c29e(0x166)][_0x28c29e(0x16c)][_0x28c29e(0x18d)](_0x5bd1d7)&&this[_0x28c29e(0x166)][_0x28c29e(0x171)][_0x28c29e(0x164)][_0x28c29e(0x179)](_0x5bd1d7),this[_0x28c29e(0x166)][_0x28c29e(0x178)](_0x368a39));}const {revisions:_0x89d813,requestId:_0x3506d6}=await this[_0x28c29e(0x1c6)][_0x28c29e(0x1c4)](_0x5d1cc7[_0x28c29e(0x1a9)],this[_0x28c29e(0x15a)]);_0x21487a&&_0x89d813[_0x28c29e(0x1c2)]>0x0?_0x22d5cd[_0x28c29e(0x162)]():(await this[_0x28c29e(0x1b2)](_0x89d813),this[_0x28c29e(0x15c)](_0x89d813,_0x3506d6),this[_0x28c29e(0x166)][_0x28c29e(0x15b)]());};return _0x22d5cd[_0x4b1ac8(0x163)]?_0x2551bb():new Promise((_0x331a24,_0x7fb5b9)=>{const _0x487ce0=_0x4b1ac8;_0x22d5cd[_0x487ce0(0x198)](_0x487ce0(0x1ad),()=>{const _0x2d9aa7=_0x487ce0;_0x2551bb()[_0x2d9aa7(0x1be)](_0x331a24)[_0x2d9aa7(0x1c3)](_0x7fb5b9);});});}[_0x237705(0x17c)](){const _0xfd9732=_0x237705;super[_0xfd9732(0x17c)]();}async[_0x237705(0x16d)](){const _0x5eb9bd=_0x237705;this[_0x5eb9bd(0x1c6)][_0x5eb9bd(0x156)]||await new Promise(_0x140c83=>{const _0x286ee3=_0x5eb9bd;this[_0x286ee3(0x1b1)](this[_0x286ee3(0x1c6)],_0x286ee3(0x1ba),_0x137462=>{const _0x107978=_0x286ee3;_0x137462[_0x107978(0x18c)](),_0x140c83();});});}[_0x237705(0x157)](){const _0x1c8bef=_0x237705,_0x409671=this[_0x1c8bef(0x1c0)][_0x1c8bef(0x17d)][_0x1c8bef(0x19e)](_0xa94ef6)[_0x1c8bef(0x18f)][_0x1c8bef(0x188)]()[_0x1c8bef(0x194)]();for(const _0x4be6f5 of _0x409671)if(_0x1c8bef(0x173)!==_0x4be6f5[_0x1c8bef(0x1b5)]||_0x4be6f5[_0x1c8bef(0x160)])return _0x4be6f5[_0x1c8bef(0x1c1)]+0x1;}[_0x237705(0x1af)](){const _0xee6183=_0x237705,_0x106cec=this[_0xee6183(0x1c0)][_0xee6183(0x17d)][_0xee6183(0x19e)](_0xa94ef6);return new Promise(_0x26a22f=>{const _0x21a2fa=_0xee6183;_0x106cec[_0x21a2fa(0x19c)]?_0x106cec[_0x21a2fa(0x198)](_0x21a2fa(0x16a),()=>{const _0x548ea3=_0x21a2fa;_0x26a22f(this[_0x548ea3(0x157)]());}):_0x26a22f(this[_0x21a2fa(0x157)]());});}[_0x237705(0x15c)](_0x3cace9,_0x43d210){const _0x954b91=_0x237705,_0x4462f1=this[_0x954b91(0x166)][_0x954b91(0x171)];this[_0x954b91(0x15a)]=_0x43d210;for(const _0x4982c1 of _0x3cace9){const _0x13a6f4=_0x4462f1[_0x954b91(0x184)](_0x4982c1['id']);if(_0x13a6f4){if((_0x4982c1[_0x954b91(0x168)]||_0x4982c1[_0x954b91(0x199)])&&(_0x4982c1[_0x954b91(0x1b0)]=null),_0x13a6f4===this[_0x954b91(0x166)][_0x954b91(0x1b9)]){const _0xdfb00c=Math[_0x954b91(0x167)](_0x13a6f4[_0x954b91(0x199)],_0x4982c1[_0x954b91(0x199)]),_0x3e6618=Math[_0x954b91(0x167)](_0x13a6f4[_0x954b91(0x168)],_0x4982c1[_0x954b91(0x168)]);let _0x11fca7;_0x13a6f4[_0x954b91(0x199)]===_0x4982c1[_0x954b91(0x199)]&&_0x13a6f4[_0x954b91(0x168)]===_0x4982c1[_0x954b91(0x168)]?(_0x11fca7=!0x0,this[_0x954b91(0x1a7)](_0x4982c1)):_0x4982c1[_0x954b91(0x199)]===_0xdfb00c&&_0x4982c1[_0x954b91(0x168)]===_0x3e6618?_0x11fca7=!0x1:(_0x13a6f4[_0x954b91(0x199)]===_0xdfb00c&&_0x13a6f4[_0x954b91(0x168)]===_0x3e6618||this[_0x954b91(0x181)]({'revision':_0x13a6f4,'from':_0x3e6618,'to':_0xdfb00c}),_0x11fca7=!0x0),_0x11fca7&&(delete _0x4982c1[_0x954b91(0x168)],delete _0x4982c1[_0x954b91(0x199)],delete _0x4982c1[_0x954b91(0x1b0)],delete _0x4982c1[_0x954b91(0x1bb)],delete _0x4982c1[_0x954b91(0x18a)]);}this[_0x954b91(0x166)][_0x954b91(0x1b4)](_0x4982c1),this[_0x954b91(0x1a7)](_0x4982c1);}else this[_0x954b91(0x166)][_0x954b91(0x18b)](_0x4982c1);}const _0x4b4de0=_0x4462f1[_0x954b91(0x196)]();_0x4b4de0[_0x954b91(0x194)]();for(let _0x50971d=0x0;_0x50971d<_0x4b4de0[_0x954b91(0x1c2)]-0x1;_0x50971d++){const _0x75d227=_0x4b4de0[_0x50971d],_0x18e740=_0x4b4de0[_0x50971d+0x1];if(_0x75d227[_0x954b91(0x168)]<_0x18e740[_0x954b91(0x199)]){const _0x5bff5b=_0x18e740[_0x954b91(0x199)],_0x4c64d2=Math[_0x954b91(0x167)](_0x5bff5b,_0x75d227[_0x954b91(0x199)]);this[_0x954b91(0x181)]({'revision':_0x75d227,'from':_0x5bff5b,'to':_0x4c64d2});}}}[_0x237705(0x181)]({revision:_0x47e75b,from:_0x2ed683,to:_0xb06444}={}){const _0x40439e=_0x237705,_0x5c32c1=this[_0x40439e(0x1c0)][_0x40439e(0x17d)][_0x40439e(0x19e)](_0x19c4d2),_0x586f7c=this[_0x40439e(0x166)][_0x40439e(0x18e)]({'revision':_0x47e75b,'from':_0x2ed683,'to':_0xb06444});_0x586f7c[_0x40439e(0x1b3)]=_0x586f7c[_0x40439e(0x18a)][_0x40439e(0x1aa)](_0x5bdfd2=>_0x5c32c1[_0x40439e(0x185)](_0x5bdfd2)),_0x47e75b[_0x40439e(0x1a4)](_0x586f7c);}[_0x237705(0x1a7)](_0x4aa0e1){const _0xb9a68e=_0x237705,_0x28e604={};_0x28e604['id']=_0x4aa0e1['id'];for(const _0x25c76e of Object[_0xb9a68e(0x172)](_0x4aa0e1))'id'!==_0x25c76e&&(_0x28e604[_0x25c76e]=void 0x0);this[_0xb9a68e(0x166)][_0xb9a68e(0x16e)](_0x28e604['id'],_0x28e604,!0x0);}async[_0x237705(0x1b2)](_0x356b25){const _0x509ffa=_0x237705,_0x16a39c=this[_0x509ffa(0x1c0)][_0x509ffa(0x17d)][_0x509ffa(0x19e)](_0x19c4d2),{connection:_0xdf6102}=this[_0x509ffa(0x1c0)][_0x509ffa(0x17d)][_0x509ffa(0x19e)](_0x56f98e),_0x3e5294=new Set();for(const _0x375998 of _0x356b25){for(const _0x5545bc of _0x375998[_0x509ffa(0x18a)])_0x357202(_0x5545bc);_0x375998[_0x509ffa(0x182)]&&_0x357202(_0x375998[_0x509ffa(0x182)]);}if(0x0===_0x3e5294[_0x509ffa(0x1ac)])return;const _0x11d952=await _0x353a9a[_0x509ffa(0x189)](_0xdf6102,Array[_0x509ffa(0x1a8)](_0x3e5294));for(const _0x197f01 of _0x11d952)_0x16a39c[_0x509ffa(0x185)](_0x197f01['id'])||_0x16a39c[_0x509ffa(0x1a2)](_0x197f01);function _0x357202(_0x220541){const _0x568794=_0x509ffa;_0x16a39c[_0x568794(0x185)](_0x220541)||_0x3e5294[_0x568794(0x192)](_0x220541);}}}u[_0x237705(0x165)]=_0x4770d1;export default u;function rt(_0x52cec4){const _0xc6a7f=_0x237705;return _0x52cec4[_0xc6a7f(0x186)][_0xc6a7f(0x155)](_0xc6a7f(0x15d))||_0x52cec4[_0xc6a7f(0x186)][_0xc6a7f(0x155)](_0xc6a7f(0x1ae))||_0x52cec4[_0xc6a7f(0x186)][_0xc6a7f(0x155)](_0xc6a7f(0x1b7));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xd846(_0x4f1507,_0x56a72a){var _0x52452b=_0x5245();return _0xd846=function(_0xd846b1,_0x2c7bff){_0xd846b1=_0xd846b1-0x1ee;var _0x5d0822=_0x52452b[_0xd846b1];return _0x5d0822;},_0xd846(_0x4f1507,_0x56a72a);}var _0x3692e1=_0xd846;function _0x5245(){var _0x487c86=['isPremiumPlugin','4141242KVJoGz','8uzvMQk','156598pYftzT','290622vYUxqm','RevisionHistory','2672873uLfwqg','RealTimeCollaborativeRevisionHistory','509790nFWNHn','isOfficialPlugin','requires','844JExrxY','3680mPVbHK','pluginName','894561OqaHWC'];_0x5245=function(){return _0x487c86;};return _0x5245();}(function(_0x864486,_0x4e3516){var _0x342f20=_0xd846,_0x72a25=_0x864486();while(!![]){try{var _0x144c91=-parseInt(_0x342f20(0x1f1))/0x1+-parseInt(_0x342f20(0x1f0))/0x2+parseInt(_0x342f20(0x1fb))/0x3+-parseInt(_0x342f20(0x1f8))/0x4*(-parseInt(_0x342f20(0x1f9))/0x5)+parseInt(_0x342f20(0x1f5))/0x6+parseInt(_0x342f20(0x1f3))/0x7*(-parseInt(_0x342f20(0x1ef))/0x8)+parseInt(_0x342f20(0x1ee))/0x9;if(_0x144c91===_0x4e3516)break;else _0x72a25['push'](_0x72a25['shift']());}catch(_0x57bacd){_0x72a25['push'](_0x72a25['shift']());}}}(_0x5245,0x3c812));import{Plugin as _0x66b2b1}from'ckeditor5/src/core.js';import _0x5024b4 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x5b9137 from'./realtimecollaborativeediting.js';export default class g extends _0x66b2b1{static get[_0x3692e1(0x1f7)](){var _0x1cccab=_0x3692e1;return[_0x1cccab(0x1f2),_0x5024b4,_0x5b9137];}static get[_0x3692e1(0x1fa)](){var _0x51ba3c=_0x3692e1;return _0x51ba3c(0x1f4);}static get[_0x3692e1(0x1f6)](){return!0x0;}static get[_0x3692e1(0x1fc)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x45f4(_0x205a1c,_0xdc0a70){const _0x40c94c=_0x40c9();return _0x45f4=function(_0x45f42a,_0xba00bc){_0x45f42a=_0x45f42a-0x9a;let _0x1a8ecb=_0x40c94c[_0x45f42a];return _0x1a8ecb;},_0x45f4(_0x205a1c,_0xdc0a70);}const _0x561d0c=_0x45f4;(function(_0x43f4a2,_0x278bb1){const _0x2c228e=_0x45f4,_0x7f4ceb=_0x43f4a2();while(!![]){try{const _0x66e922=-parseInt(_0x2c228e(0xa4))/0x1+parseInt(_0x2c228e(0xc9))/0x2+parseInt(_0x2c228e(0x9c))/0x3*(parseInt(_0x2c228e(0xba))/0x4)+parseInt(_0x2c228e(0xd0))/0x5+parseInt(_0x2c228e(0xa1))/0x6+parseInt(_0x2c228e(0xb8))/0x7+parseInt(_0x2c228e(0x9d))/0x8*(-parseInt(_0x2c228e(0xbf))/0x9);if(_0x66e922===_0x278bb1)break;else _0x7f4ceb['push'](_0x7f4ceb['shift']());}catch(_0x303c78){_0x7f4ceb['push'](_0x7f4ceb['shift']());}}}(_0x40c9,0xe1e26));import{Plugin as _0x3d9e78}from'ckeditor5/src/core.js';import{User as _0x54afce,TrackChangesService as _0x1752b2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1d61ec from'../realtimecollaborativeediting/websocketgateway.js';import _0x15c8f1 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x502d72}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x3d9e78{static get[_0x561d0c(0xb2)](){const _0x3bfcde=_0x561d0c;return[_0x15c8f1,_0x3bfcde(0xa5),_0x1d61ec];}static get[_0x561d0c(0xa7)](){const _0xfe6eed=_0x561d0c;return _0xfe6eed(0xc0);}static get[_0x561d0c(0xcb)](){return!0x0;}static get[_0x561d0c(0xac)](){return!0x0;}constructor(_0x34033d){const _0x4467b0=_0x561d0c;super(_0x34033d);const _0x5a9e53=this[_0x4467b0(0xa0)][_0x4467b0(0xa9)][_0x4467b0(0xaa)](_0x4467b0(0xc6));this[_0x4467b0(0xce)]=new Map(),this[_0x4467b0(0xc7)]=new f[(_0x4467b0(0xd2))](_0x5a9e53);}[_0x561d0c(0xa6)](){const _0xc213ce=_0x561d0c,_0x3452b2=this[_0xc213ce(0xa0)][_0xc213ce(0xc3)][_0xc213ce(0xaa)](_0x1d61ec),_0x3e5c51=this[_0xc213ce(0xa0)][_0xc213ce(0xc3)][_0xc213ce(0xaa)](_0xc213ce(0xa5));return _0x3e5c51[_0xc213ce(0x9b)]={'getSuggestion':async _0x21c748=>{const _0xf513bc=_0xc213ce;await this[_0xf513bc(0xcf)]();const _0x28f132=await this[_0xf513bc(0xc7)][_0xf513bc(0xaa)](_0x21c748)[_0xf513bc(0xb0)](ot);return await this[_0xf513bc(0xd5)]([_0x28f132]),_0x28f132;},'addSuggestion':async({id:_0x406c36,type:_0x420bbe,data:_0xa18328,originalSuggestionId:_0x5128cd,attributes:_0xbe3fcc})=>{const _0x32fbee=_0xc213ce;await this[_0x32fbee(0xcf)]();const _0x3889e1={'id':_0x406c36,'type':_0x420bbe,'data':_0xa18328,'originalSuggestionId':_0x5128cd,'attributes':_0xbe3fcc},_0x35d2c4=await this[_0x32fbee(0xc7)][_0x32fbee(0xbc)](_0x406c36,_0x420bbe,_0xa18328,_0x5128cd,_0xbe3fcc)[_0x32fbee(0xb0)](_0x4b79e9=>{if(rt(_0x4b79e9))return new Promise(_0x4d9b55=>{const _0x4fd591=_0x45f4;this[_0x4fd591(0xce)][_0x4fd591(0x9f)](_0x406c36,{'resolve':_0x4d9b55,'suggestionData':_0x3889e1});});throw _0x4b79e9;});return this[_0x32fbee(0xce)][_0x32fbee(0xad)](_0x406c36),_0x35d2c4;},'updateSuggestion':async(_0x596d5b,_0x13255d)=>{const _0x17635e=_0xc213ce;if(await this[_0x17635e(0xcf)](),_0x17635e(0xc1)!==_0x13255d[_0x17635e(0xc2)])return this[_0x17635e(0xc7)][_0x17635e(0xa2)](_0x596d5b,_0x13255d)[_0x17635e(0xb0)](ot);}},this[_0xc213ce(0xb1)](this[_0xc213ce(0xc7)],_0xc213ce(0xa3),(_0x465bf9,_0x172ef1)=>{const _0x57dcc8=_0xc213ce;_0x3e5c51[_0x57dcc8(0x9a)](_0x172ef1['id'])&&(_0x3e5c51[_0x57dcc8(0xbb)](_0x172ef1['id'])[_0x57dcc8(0xd8)]=_0x172ef1[_0x57dcc8(0xd8)]);}),this[_0xc213ce(0xc7)][_0xc213ce(0xb9)](_0x3452b2[_0xc213ce(0xca)])[_0xc213ce(0xbe)](_0x40b344=>(_0x3452b2[_0xc213ce(0xd7)](this),this[_0xc213ce(0xd5)](_0x40b344)[_0xc213ce(0xbe)](()=>{const _0xdf4db1=_0xc213ce;for(const _0x52df5d of _0x40b344){_0x3e5c51[_0xdf4db1(0xc5)](_0x52df5d)[_0xdf4db1(0xb5)]=!0x0;}})));}async[_0x561d0c(0xb7)](){const _0x357722=_0x561d0c,_0x5d7d37=this[_0x357722(0xa0)][_0x357722(0xc3)][_0x357722(0xaa)](_0x357722(0xa5)),{connection:_0x42feec}=this[_0x357722(0xa0)][_0x357722(0xc3)][_0x357722(0xaa)](_0x1d61ec),_0x577fb6=await this[_0x357722(0xc7)][_0x357722(0xb9)](_0x42feec);await this[_0x357722(0xd5)](_0x577fb6);for(const {suggestionData:_0x180c14,resolve:_0x163744}of this[_0x357722(0xce)][_0x357722(0xab)]()){let _0x453a37=_0x577fb6[_0x357722(0xb3)](_0xaf2ea7=>_0xaf2ea7['id']===_0x180c14['id']);_0x453a37||(_0x453a37=await this[_0x357722(0xc7)][_0x357722(0xbc)](_0x180c14['id'],_0x180c14[_0x357722(0xbd)],_0x180c14[_0x357722(0xd1)],_0x180c14[_0x357722(0xc8)])),_0x163744(_0x453a37);}for(const _0x237794 of _0x577fb6)_0x5d7d37[_0x357722(0x9a)](_0x237794['id'])||_0x5d7d37[_0x357722(0xc5)](_0x237794);}async[_0x561d0c(0xcf)](){const _0x542dad=_0x561d0c;this[_0x542dad(0xc7)][_0x542dad(0xd4)]||await new Promise(_0x5687d1=>{const _0x540047=_0x542dad;this[_0x540047(0xb1)](this[_0x540047(0xc7)],_0x540047(0xcc),_0x3af778=>{const _0x20fe0e=_0x540047;_0x3af778[_0x20fe0e(0xc4)](),_0x5687d1();});});}async[_0x561d0c(0xd5)](_0x336f7d){const _0x492556=_0x561d0c,_0x27a20e=this[_0x492556(0xa0)][_0x492556(0xc3)][_0x492556(0xaa)](_0x502d72),{connection:_0x48259d}=this[_0x492556(0xa0)][_0x492556(0xc3)][_0x492556(0xaa)](_0x1d61ec),_0xe00607=new Set();for(const {authorId:_0x35de1e}of _0x336f7d)_0x27a20e[_0x492556(0xcd)](_0x35de1e)||_0xe00607[_0x492556(0xbc)](_0x35de1e);if(0x0===_0xe00607[_0x492556(0xaf)])return;const _0x3f3c6f=await _0x54afce[_0x492556(0xd6)](_0x48259d,Array[_0x492556(0xa8)](_0xe00607));for(const _0x4a0daa of _0x3f3c6f)_0x27a20e[_0x492556(0xcd)](_0x4a0daa['id'])||_0x27a20e[_0x492556(0xb4)](_0x4a0daa);}}f[_0x561d0c(0xd2)]=_0x1752b2;export default f;function _0x40c9(){const _0x4e2abc=['attributes','hasSuggestion','adapter','9942kSerjj','11608WunQye','cloud-services-internal-error:\x20Request\x20timeout.','set','editor','10441968xotnbG','update','suggestionUpdated','688753hsiMFK','TrackChangesEditing','init','pluginName','from','config','get','values','isPremiumPlugin','delete','message','size','catch','listenTo','requires','find','addUser','_saved','cloud-services-internal-error:\x20Not\x20connected.','reconnect','9306038CQBafo','connect','48VhGwfU','getSuggestion','add','type','then','17766qASKPf','CloudServicesTrackChangesAdapter','open','state','plugins','off','addSuggestionData','collaboration.channelId','_trackChangesService','originalSuggestionId','1705340TFYbII','connection','isOfficialPlugin','connected','getUser','_bufferedRequests','_waitForServiceReady','2580245DaQgdC','data','TrackChangesService','startsWith','isConnected','_fetchMissingUsersForThreads','getMany','addToReconnectionStack'];_0x40c9=function(){return _0x4e2abc;};return _0x40c9();}function ot(_0x1a7c65){if(rt(_0x1a7c65))return new Promise(()=>{});throw _0x1a7c65;}function rt(_0x2b5a52){const _0x2474d8=_0x561d0c;return _0x2b5a52[_0x2474d8(0xae)][_0x2474d8(0xd3)](_0x2474d8(0xb6))||_0x2b5a52[_0x2474d8(0xae)][_0x2474d8(0xd3)](_0x2474d8(0x9e));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x87f0f3=_0x3723;(function(_0x1692f2,_0x6e47ec){var _0x5f1b35=_0x3723,_0x58144e=_0x1692f2();while(!![]){try{var _0x466efd=parseInt(_0x5f1b35(0xe3))/0x1+-parseInt(_0x5f1b35(0xdc))/0x2+parseInt(_0x5f1b35(0xe9))/0x3+-parseInt(_0x5f1b35(0xe7))/0x4*(parseInt(_0x5f1b35(0xea))/0x5)+parseInt(_0x5f1b35(0xe0))/0x6+parseInt(_0x5f1b35(0xe5))/0x7*(parseInt(_0x5f1b35(0xdd))/0x8)+parseInt(_0x5f1b35(0xe1))/0x9*(parseInt(_0x5f1b35(0xe4))/0xa);if(_0x466efd===_0x6e47ec)break;else _0x58144e['push'](_0x58144e['shift']());}catch(_0x244dfe){_0x58144e['push'](_0x58144e['shift']());}}}(_0x58be,0x404cb));import{Plugin as _0xf6e30f}from'ckeditor5/src/core.js';function _0x3723(_0x4dba03,_0x35ae73){var _0x58be03=_0x58be();return _0x3723=function(_0x3723c4,_0x66677d){_0x3723c4=_0x3723c4-0xdb;var _0x12114f=_0x58be03[_0x3723c4];return _0x12114f;},_0x3723(_0x4dba03,_0x35ae73);}function _0x58be(){var _0x41c24e=['212380GEpyhH','4860NktZLm','7EIdJSB','pluginName','28008IeMBWP','isOfficialPlugin','206241LSlCkY','215GNcDvJ','requires','910674qUvkIH','1483312kHyFMJ','RealTimeCollaborativeTrackChanges','isPremiumPlugin','2864622QFBayF','1404cwCwel','TrackChanges'];_0x58be=function(){return _0x41c24e;};return _0x58be();}import _0x5485d2 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x3fffa4 from'./realtimecollaborativecomments.js';export default class p extends _0xf6e30f{static get[_0x87f0f3(0xdb)](){var _0x485bcc=_0x87f0f3;return[_0x3fffa4,_0x5485d2,_0x485bcc(0xe2)];}static get[_0x87f0f3(0xe6)](){var _0x590c89=_0x87f0f3;return _0x590c89(0xde);}static get[_0x87f0f3(0xe8)](){return!0x0;}static get[_0x87f0f3(0xdf)](){return!0x0;}}
|