@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.0 → 44.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/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 _0x2bb478=_0x5ee8;(function(_0x76e700,_0x3b2982){const _0x226bf2=_0x5ee8,_0xce7291=_0x76e700();while(!![]){try{const _0x146d29=-parseInt(_0x226bf2(0x88))/0x1+-parseInt(_0x226bf2(0xac))/0x2*(-parseInt(_0x226bf2(0x95))/0x3)+parseInt(_0x226bf2(0xc3))/0x4*(parseInt(_0x226bf2(0xdc))/0x5)+-parseInt(_0x226bf2(0x82))/0x6*(parseInt(_0x226bf2(0x8d))/0x7)+-parseInt(_0x226bf2(0xd6))/0x8+parseInt(_0x226bf2(0xc9))/0x9+parseInt(_0x226bf2(0xb1))/0xa;if(_0x146d29===_0x3b2982)break;else _0xce7291['push'](_0xce7291['shift']());}catch(_0x42fd60){_0xce7291['push'](_0xce7291['shift']());}}}(_0x511e,0xcc906));import{Plugin as _0x4f9e43}from'ckeditor5/src/core.js';function _0x5ee8(_0x38da4b,_0x3142aa){const _0x511e37=_0x511e();return _0x5ee8=function(_0x5ee854,_0x3dc9c6){_0x5ee854=_0x5ee854-0x78;let _0x41b2da=_0x511e37[_0x5ee854];return _0x41b2da;},_0x5ee8(_0x38da4b,_0x3142aa);}import{version as _0x29814d}from'ckeditor5/src/utils.js';import{Users as _0xe69009}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2fab4a from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x403905 from'../realtimecollaborativeediting/websocketgateway.js';import _0xf80e7e from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3b6ac8,RevisionHistoryService as _0x9285a8,User as _0x45f8e5,WEB_SOCKET_GATEWAY_STATES as _0x4780ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x4f9e43{static get[_0x2bb478(0xa3)](){const _0x1c7797=_0x2bb478;return[_0x403905,_0x2fab4a,_0x1c7797(0x94),_0xf80e7e,_0xe69009];}static get[_0x2bb478(0x9a)](){const _0x473067=_0x2bb478;return _0x473067(0xc1);}static get[_0x2bb478(0x9b)](){return!0x0;}static get[_0x2bb478(0xa0)](){return!0x0;}constructor(_0x574ba3){const _0x349b9c=_0x2bb478;super(_0x574ba3);const _0x5468e2=this[_0x349b9c(0xba)][_0x349b9c(0xa2)][_0x349b9c(0xae)](_0x349b9c(0xd1));this[_0x349b9c(0xca)]=null,this[_0x349b9c(0xce)]=this[_0x349b9c(0xba)][_0x349b9c(0x9d)][_0x349b9c(0xae)](_0x349b9c(0x94)),this[_0x349b9c(0xd4)]=new u[(_0x349b9c(0xb0))](_0x5468e2);}async[_0x2bb478(0x9f)](){const _0x1e733e=_0x2bb478,_0x10262f=this[_0x1e733e(0xba)][_0x1e733e(0x9d)][_0x1e733e(0xae)](_0x2fab4a),_0x1804c8=_0x10262f[_0x1e733e(0xc4)],_0x3a1340=this[_0x1e733e(0xba)][_0x1e733e(0x9d)][_0x1e733e(0xae)](_0x403905);this[_0x1e733e(0xce)][_0x1e733e(0x91)]({'history':_0x1804c8,'getLatestVersion':()=>this[_0x1e733e(0x7e)](),'getCurrentRevisionId':()=>_0x10262f[_0x1e733e(0xa5)]});const _0x1c9f3d=this[_0x1e733e(0xba)][_0x1e733e(0xa2)][_0x1e733e(0xae)](_0x1e733e(0x80))||_0x29814d,_0x46113f=await _0x3b6ac8[_0x1e733e(0x8b)](_0x3a1340[_0x1e733e(0xd5)],_0x1c9f3d);this[_0x1e733e(0xce)][_0x1e733e(0xad)]={'getRevision':async({revisionId:_0x4e1a35})=>(await this[_0x1e733e(0xbd)](),await this[_0x1e733e(0xd4)][_0x1e733e(0xe2)](_0x4e1a35)),'updateRevisions':async _0x422078=>{const _0x332852=_0x1e733e;await this[_0x332852(0xbd)]();const _0x637646=this[_0x332852(0xce)][_0x332852(0x7a)];if(_0x46113f&&0x1===_0x422078[_0x332852(0xe0)]&&_0x422078[0x0]['id']===_0x637646['id'])return _0x422078;for(const _0x472f16 of _0x422078)_0x472f16['id']===_0x637646['id']&&(_0x472f16[_0x332852(0xc2)]=_0x472f16[_0x332852(0x93)]===_0x472f16[_0x332852(0xc6)]);return this[_0x332852(0xd4)][_0x332852(0xab)](_0x422078,this[_0x332852(0xca)])[_0x332852(0xc5)](_0x152665=>(this[_0x332852(0xca)]=_0x152665,_0x422078))[_0x332852(0xd3)](_0x533a32=>{const _0x596f49=_0x332852;if(st(_0x533a32)||_0x596f49(0x9e)===_0x533a32[_0x596f49(0x83)]&&void 0x0!==_0x533a32[_0x596f49(0xbb)][_0x596f49(0x97)]){for(const _0x2918b2 of _0x422078){!this[_0x596f49(0xce)][_0x596f49(0xa7)][_0x596f49(0xe2)](_0x2918b2['id'])||this[_0x596f49(0xce)][_0x596f49(0xd8)](_0x2918b2['id'],_0x2918b2,!0x1);}if(st(_0x533a32))throw _0x533a32;return _0x422078;}throw _0x533a32;});}},this[_0x1e733e(0xdf)](this[_0x1e733e(0xd4)],_0x1e733e(0xdb),(_0x159e3e,{revisionsData:_0x18fed0,requestId:_0x280703})=>{const _0x211458=_0x1e733e;Math[_0x211458(0xb9)](..._0x18fed0[_0x211458(0xbe)](_0x4b2e45=>_0x4b2e45[_0x211458(0xc6)]))>this[_0x211458(0xe5)]()-0x1?this[_0x211458(0x7e)]()[_0x211458(0xc5)](()=>{const _0xba12f9=_0x211458;this[_0xba12f9(0xa1)](_0x18fed0,_0x280703);}):this[_0x211458(0xa1)](_0x18fed0,_0x280703);});const {revisions:_0x3733d8,requestId:_0x38ca42}=await this[_0x1e733e(0xd4)][_0x1e733e(0xc0)](_0x3a1340[_0x1e733e(0xd5)]);_0x3a1340[_0x1e733e(0xb7)](this),this[_0x1e733e(0xca)]=_0x38ca42,await this[_0x1e733e(0xe3)](_0x3733d8);for(const _0x2a4578 of _0x3733d8)this[_0x1e733e(0xce)][_0x1e733e(0xc8)](_0x2a4578);this[_0x1e733e(0xdf)](_0x10262f,_0x1e733e(0x96),(_0x1be668,_0x561368,_0xb3843a)=>{const _0x1a2ba7=_0x1e733e;_0xb3843a&&(this[_0x1a2ba7(0xb3)]=_0x10262f[_0x1a2ba7(0x89)],_0x1be668[_0x1a2ba7(0x92)]());}),this[_0x1e733e(0xce)][_0x1e733e(0x99)](_0x1e733e(0xcc))['to'](_0x3a1340,_0x1e733e(0x8a),_0x4ff1e0=>_0x4ff1e0===_0x4780ce[_0x1e733e(0xd2)]);}async[_0x2bb478(0xb2)](){const _0x5627c5=_0x2bb478,_0x587090=this[_0x5627c5(0xba)][_0x5627c5(0x9d)][_0x5627c5(0xae)](_0x403905),_0xc06a64=this[_0x5627c5(0xba)][_0x5627c5(0x9d)][_0x5627c5(0xae)](_0x2fab4a),_0x201843=async()=>{const _0x4f557c=_0x5627c5,_0x27b583=this[_0x4f557c(0xce)][_0x4f557c(0x7a)],_0x1239bf=_0x27b583['id'],_0x2e2df5=_0x1239bf!==_0xc06a64[_0x4f557c(0xa5)];if(_0x2e2df5){const _0x4c2cff=_0xc06a64[_0x4f557c(0x89)]-this[_0x4f557c(0xb3)],_0x390e5a=this[_0x4f557c(0xe5)]();this[_0x4f557c(0xce)][_0x4f557c(0xe4)][_0x4f557c(0xa8)]();if(_0x27b583[_0x4f557c(0xc6)]+_0x4c2cff!==_0x390e5a){const _0x2bd2c2=_0x27b583[_0x4f557c(0x93)]+_0x4c2cff,_0x278b13=this[_0x4f557c(0xba)][_0x4f557c(0x9d)][_0x4f557c(0xae)](_0xe69009),_0x31aa0f=this[_0x4f557c(0xce)][_0x4f557c(0x85)]({'revision':_0x27b583,'from':_0x2bd2c2,'to':_0x390e5a});_0x31aa0f['id']=_0x27b583['id'];const _0x489c1e=_0x31aa0f[_0x4f557c(0x7f)][_0x4f557c(0xbe)](_0x4e737b=>_0x278b13[_0x4f557c(0xa9)](_0x4e737b));_0x27b583[_0x4f557c(0x8e)]({..._0x31aa0f,'authors':_0x489c1e},!0x0),this[_0x4f557c(0xce)][_0x4f557c(0xd8)](_0x27b583['id'],_0x31aa0f,!0x0);}this[_0x4f557c(0xce)][_0x4f557c(0xaa)]=_0x390e5a,(_0x27b583[_0x4f557c(0xc6)]===_0x27b583[_0x4f557c(0x93)]&&!this[_0x4f557c(0xce)][_0x4f557c(0xb8)][_0x4f557c(0xea)](_0x1239bf)&&this[_0x4f557c(0xce)][_0x4f557c(0xa7)][_0x4f557c(0xaf)][_0x4f557c(0x8c)](_0x1239bf),this[_0x4f557c(0xce)][_0x4f557c(0x84)](_0x390e5a));}const {revisions:_0x3d3970,requestId:_0x14ff60}=await this[_0x4f557c(0xd4)][_0x4f557c(0xb2)](_0x587090[_0x4f557c(0xd5)],this[_0x4f557c(0xca)]);_0x2e2df5&&_0x3d3970[_0x4f557c(0xe0)]>0x0?_0xc06a64[_0x4f557c(0xdd)]():(await this[_0x4f557c(0xe3)](_0x3d3970),this[_0x4f557c(0xa1)](_0x3d3970,_0x14ff60),this[_0x4f557c(0xce)][_0x4f557c(0xe9)]());};return _0xc06a64[_0x5627c5(0xe8)]?_0x201843():new Promise((_0x1b0a95,_0x4822d8)=>{const _0x57d49b=_0x5627c5;_0xc06a64[_0x57d49b(0x78)](_0x57d49b(0x96),()=>{const _0x28d888=_0x57d49b;_0x201843()[_0x28d888(0xc5)](_0x1b0a95)[_0x28d888(0xd3)](_0x4822d8);});});}[_0x2bb478(0xde)](){const _0x5867fa=_0x2bb478;super[_0x5867fa(0xde)]();}async[_0x2bb478(0xbd)](){const _0x23a98a=_0x2bb478;this[_0x23a98a(0xd4)][_0x23a98a(0xbf)]||await new Promise(_0x28c412=>{const _0x44f7f3=_0x23a98a;this[_0x44f7f3(0xdf)](this[_0x44f7f3(0xd4)],_0x44f7f3(0x87),_0x1f0edb=>{const _0x659c6a=_0x44f7f3;_0x1f0edb[_0x659c6a(0x92)](),_0x28c412();});});}[_0x2bb478(0xe5)](){const _0x285db8=_0x2bb478,_0x525d3e=this[_0x285db8(0xba)][_0x285db8(0x9d)][_0x285db8(0xae)](_0x2fab4a)[_0x285db8(0xc4)][_0x285db8(0xd9)]()[_0x285db8(0xda)]();for(const _0x1226a8 of _0x525d3e)if(_0x285db8(0x81)!==_0x1226a8[_0x285db8(0x7d)]||_0x1226a8[_0x285db8(0x90)])return _0x1226a8[_0x285db8(0xa4)]+0x1;}[_0x2bb478(0x7e)](){const _0x2bc2d8=_0x2bb478,_0x3b71e6=this[_0x2bc2d8(0xba)][_0x2bc2d8(0x9d)][_0x2bc2d8(0xae)](_0x2fab4a);return new Promise(_0x2a6a4e=>{const _0x3064d4=_0x2bc2d8;_0x3b71e6[_0x3064d4(0x9c)]?_0x3b71e6[_0x3064d4(0x78)](_0x3064d4(0x8f),()=>{const _0x119458=_0x3064d4;_0x2a6a4e(this[_0x119458(0xe5)]());}):_0x2a6a4e(this[_0x3064d4(0xe5)]());});}[_0x2bb478(0xa1)](_0x192111,_0x48ec31){const _0x1e77ec=_0x2bb478,_0x521623=this[_0x1e77ec(0xce)][_0x1e77ec(0xa7)];this[_0x1e77ec(0xca)]=_0x48ec31;for(const _0x48eb69 of _0x192111){const _0x48839a=_0x521623[_0x1e77ec(0xe2)](_0x48eb69['id']);if(_0x48839a){if((_0x48eb69[_0x1e77ec(0x93)]||_0x48eb69[_0x1e77ec(0xc6)])&&(_0x48eb69[_0x1e77ec(0xcb)]=null),_0x48839a===this[_0x1e77ec(0xce)][_0x1e77ec(0x7a)]){const _0x146459=Math[_0x1e77ec(0xb9)](_0x48839a[_0x1e77ec(0xc6)],_0x48eb69[_0x1e77ec(0xc6)]),_0x203c81=Math[_0x1e77ec(0xb9)](_0x48839a[_0x1e77ec(0x93)],_0x48eb69[_0x1e77ec(0x93)]);let _0x4e7d77;_0x48839a[_0x1e77ec(0xc6)]===_0x48eb69[_0x1e77ec(0xc6)]&&_0x48839a[_0x1e77ec(0x93)]===_0x48eb69[_0x1e77ec(0x93)]?(_0x4e7d77=!0x0,this[_0x1e77ec(0xb6)](_0x48eb69)):_0x48eb69[_0x1e77ec(0xc6)]===_0x146459&&_0x48eb69[_0x1e77ec(0x93)]===_0x203c81?_0x4e7d77=!0x1:(_0x48839a[_0x1e77ec(0xc6)]===_0x146459&&_0x48839a[_0x1e77ec(0x93)]===_0x203c81||this[_0x1e77ec(0xe6)]({'revision':_0x48839a,'from':_0x203c81,'to':_0x146459}),_0x4e7d77=!0x0),_0x4e7d77&&(delete _0x48eb69[_0x1e77ec(0x93)],delete _0x48eb69[_0x1e77ec(0xc6)],delete _0x48eb69[_0x1e77ec(0xcb)],delete _0x48eb69[_0x1e77ec(0xcd)],delete _0x48eb69[_0x1e77ec(0x7f)]);}this[_0x1e77ec(0xce)][_0x1e77ec(0x7c)](_0x48eb69),this[_0x1e77ec(0xb6)](_0x48eb69);}else this[_0x1e77ec(0xce)][_0x1e77ec(0xc8)](_0x48eb69);}const _0x33fcd3=_0x521623[_0x1e77ec(0xd7)]();_0x33fcd3[_0x1e77ec(0xda)]();for(let _0x465ce1=0x0;_0x465ce1<_0x33fcd3[_0x1e77ec(0xe0)]-0x1;_0x465ce1++){const _0x4d99da=_0x33fcd3[_0x465ce1],_0x157a8b=_0x33fcd3[_0x465ce1+0x1];if(_0x4d99da[_0x1e77ec(0x93)]<_0x157a8b[_0x1e77ec(0xc6)]){const _0x5cf6b1=_0x157a8b[_0x1e77ec(0xc6)],_0x507362=Math[_0x1e77ec(0xb9)](_0x5cf6b1,_0x4d99da[_0x1e77ec(0xc6)]);this[_0x1e77ec(0xe6)]({'revision':_0x4d99da,'from':_0x5cf6b1,'to':_0x507362});}}}[_0x2bb478(0xe6)]({revision:_0xe26e80,from:_0x24d5a2,to:_0x1ba9b2}={}){const _0x52ab27=_0x2bb478,_0x290a56=this[_0x52ab27(0xba)][_0x52ab27(0x9d)][_0x52ab27(0xae)](_0xe69009),_0x145e4d=this[_0x52ab27(0xce)][_0x52ab27(0x85)]({'revision':_0xe26e80,'from':_0x24d5a2,'to':_0x1ba9b2});_0x145e4d[_0x52ab27(0xe1)]=_0x145e4d[_0x52ab27(0x7f)][_0x52ab27(0xbe)](_0x50bb5c=>_0x290a56[_0x52ab27(0xa9)](_0x50bb5c)),_0xe26e80[_0x52ab27(0x8e)](_0x145e4d);}[_0x2bb478(0xb6)](_0x4743f3){const _0x268bea=_0x2bb478,_0x33def4={};_0x33def4['id']=_0x4743f3['id'];for(const _0x272a61 of Object[_0x268bea(0xcf)](_0x4743f3))'id'!==_0x272a61&&(_0x33def4[_0x272a61]=void 0x0);this[_0x268bea(0xce)][_0x268bea(0xd8)](_0x33def4['id'],_0x33def4,!0x0);}async[_0x2bb478(0xe3)](_0x224b6c){const _0x57071f=_0x2bb478,_0x22304c=this[_0x57071f(0xba)][_0x57071f(0x9d)][_0x57071f(0xae)](_0xe69009),{connection:_0x60885f}=this[_0x57071f(0xba)][_0x57071f(0x9d)][_0x57071f(0xae)](_0x403905),_0x1a2322=new Set();for(const _0x3c1f28 of _0x224b6c){for(const _0x134531 of _0x3c1f28[_0x57071f(0x7f)])_0x3d0f05(_0x134531);_0x3c1f28[_0x57071f(0xbc)]&&_0x3d0f05(_0x3c1f28[_0x57071f(0xbc)]);}if(0x0===_0x1a2322[_0x57071f(0xd0)])return;const _0xfc93fb=await _0x45f8e5[_0x57071f(0x79)](_0x60885f,Array[_0x57071f(0xa6)](_0x1a2322));for(const _0x513da7 of _0xfc93fb)_0x22304c[_0x57071f(0xa9)](_0x513da7['id'])||_0x22304c[_0x57071f(0xb4)](_0x513da7);function _0x3d0f05(_0x5d5a2a){const _0x3b8b39=_0x57071f;_0x22304c[_0x3b8b39(0xa9)](_0x5d5a2a)||_0x1a2322[_0x3b8b39(0x98)](_0x5d5a2a);}}}u[_0x2bb478(0xb0)]=_0x9285a8;export default u;function st(_0x89d814){const _0x35c025=_0x2bb478;return _0x89d814[_0x35c025(0xe7)][_0x35c025(0xb5)](_0x35c025(0xc7))||_0x89d814[_0x35c025(0xe7)][_0x35c025(0xb5)](_0x35c025(0x86))||_0x89d814[_0x35c025(0xe7)][_0x35c025(0xb5)](_0x35c025(0x7b));}function _0x511e(){const _0x1d49ec=['then','toVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','11497851MJSRJQ','_lastRequestId','diffData','isEnabled','createdAt','_revisionTracker','keys','size','collaboration.channelId','CONNECTED','catch','_revisionHistoryService','connection','9220584IFwDgp','getRevisions','_bufferUpdate','getOperations','reverse','revisionsUpdated','523045HphKVo','_handleReconnectionError','destroy','listenTo','length','authors','getRevision','_fetchMissingUsers','_revisionDataBuilder','_getLatestVersionFromServerOperations','_fixRevision','message','_isConnected','sendBufferedUpdates','has','once','getMany','currentRevision','cloud-services-internal-error:\x20Request\x20timeout.','setRevisionData','type','_getLatestVersion','authorsIds','cloudServices.bundleVersion','marker','6897768vXgyfM','code','_createCurrentRevision','buildRevisionData','cloud-services-internal-error:\x20Not\x20connected.','connected','1329650mKbPfp','_offset','state','isBundleUploaded','remove','7NWQvXX','_update','change:_isPendingUpdate','affectsData','setSource','off','fromVersion','RevisionTracker','39AYgPtn','change:_isConnected','wrongRequestId','add','bind','pluginName','isOfficialPlugin','_isPendingUpdate','plugins','400','init','isPremiumPlugin','_handleRevisionsUpdate','config','requires','baseVersion','sessionId','from','repository','reInit','getUser','_startingVersion','updateRevisions','37362oEfmZa','adapter','get','_revisions','RevisionHistoryService','28447440DgqAnr','reconnect','_oldOffset','addUser','startsWith','_preventResendingRevisionData','addToReconnectionStack','_bufferedUpdates','max','editor','data','creatorId','_waitForServiceReady','map','isConnected','connect','CloudServicesRevisionHistoryAdapter','isEmptyCurrent','4AgtpzL','serverHistory'];_0x511e=function(){return _0x1d49ec;};return _0x511e();}
|
|
23
|
+
const _0x210b12=_0x4f17;(function(_0x4a4d20,_0x24a875){const _0x39d1f5=_0x4f17,_0x38810d=_0x4a4d20();while(!![]){try{const _0x322a63=-parseInt(_0x39d1f5(0x152))/0x1+-parseInt(_0x39d1f5(0x141))/0x2*(-parseInt(_0x39d1f5(0x111))/0x3)+parseInt(_0x39d1f5(0x137))/0x4+-parseInt(_0x39d1f5(0x12d))/0x5*(-parseInt(_0x39d1f5(0x147))/0x6)+parseInt(_0x39d1f5(0x145))/0x7+-parseInt(_0x39d1f5(0x138))/0x8+parseInt(_0x39d1f5(0x165))/0x9;if(_0x322a63===_0x24a875)break;else _0x38810d['push'](_0x38810d['shift']());}catch(_0x4f58cf){_0x38810d['push'](_0x38810d['shift']());}}}(_0x1b68,0xf05b2));import{Plugin as _0x300eb9}from'ckeditor5/src/core.js';import{version as _0x52c327}from'ckeditor5/src/utils.js';import{Users as _0x4acea7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2e1d62 from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x4f17(_0x45be40,_0x3bbe19){const _0x1b681d=_0x1b68();return _0x4f17=function(_0x4f1794,_0x19fb41){_0x4f1794=_0x4f1794-0x10b;let _0x54ebb1=_0x1b681d[_0x4f1794];return _0x54ebb1;},_0x4f17(_0x45be40,_0x3bbe19);}import _0x5590f6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x35988b from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4f41d2,RevisionHistoryService as _0x231129,User as _0x2a5e0a,WEB_SOCKET_GATEWAY_STATES as _0x230a0d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1b68(){const _0x2da3a0=['cloud-services-internal-error:\x20Request\x20timeout.','isPremiumPlugin','_waitForServiceReady','fromVersion','remove','_revisions','reverse','pluginName','data','max','toVersion','_revisionTracker','6CwjVzF','revisionsUpdated','_offset','plugins','connected','map','_isConnected','_preventResendingRevisionData','400','reInit','isEmptyCurrent','_revisionHistoryService','reconnect','diffData','requires','_fetchMissingUsers','code','addToReconnectionStack','_startingVersion','getUser','isEnabled','init','_bufferUpdate','off','_bufferedUpdates','connection','authors','change:_isConnected','5nSnlzj','sessionId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','destroy','RevisionHistoryService','wrongRequestId','CONNECTED','_handleReconnectionError','editor','keys','1136800GunxlQ','14460552TwAlKx','connect','_lastRequestId','length','repository','currentRevision','CloudServicesRevisionHistoryAdapter','RevisionTracker','_getLatestVersionFromServerOperations','677926uEiQWM','isOfficialPlugin','has','listenTo','1007048PGxrcG','_update','8835366nZPViS','sendBufferedUpdates','baseVersion','_oldOffset','_createCurrentRevision','bind','type','cloud-services-internal-error:\x20Not\x20connected.','isConnected','getRevisions','change:_isPendingUpdate','1365338JXxAFm','addUser','add','catch','serverHistory','_handleRevisionsUpdate','_revisionDataBuilder','addRevisionData','_getLatestVersion','updateRevisions','collaboration.channelId','then','_fixRevision','getOperations','authorsIds','createdAt','adapter','affectsData','size','14209686OsmgTn','state','setRevisionData','_isPendingUpdate','setSource','buildRevisionData','creatorId','get','marker','message','isBundleUploaded','from','once','cloudServices.bundleVersion','config','startsWith','getRevision','getMany'];_0x1b68=function(){return _0x2da3a0;};return _0x1b68();}class u extends _0x300eb9{static get[_0x210b12(0x11f)](){const _0x3b9509=_0x210b12;return[_0x5590f6,_0x2e1d62,_0x3b9509(0x13f),_0x35988b,_0x4acea7];}static get[_0x210b12(0x10c)](){const _0x105323=_0x210b12;return _0x105323(0x13e);}static get[_0x210b12(0x142)](){return!0x0;}static get[_0x210b12(0x178)](){return!0x0;}constructor(_0xb92258){const _0x9559e8=_0x210b12;super(_0xb92258);const _0x210e8b=this[_0x9559e8(0x135)][_0x9559e8(0x173)][_0x9559e8(0x16c)](_0x9559e8(0x15c));this[_0x9559e8(0x13a)]=null,this[_0x9559e8(0x110)]=this[_0x9559e8(0x135)][_0x9559e8(0x114)][_0x9559e8(0x16c)](_0x9559e8(0x13f)),this[_0x9559e8(0x11c)]=new u[(_0x9559e8(0x131))](_0x210e8b);}async[_0x210b12(0x126)](){const _0x5bfe0a=_0x210b12,_0x2d51b4=this[_0x5bfe0a(0x135)][_0x5bfe0a(0x114)][_0x5bfe0a(0x16c)](_0x2e1d62),_0x1e3573=_0x2d51b4[_0x5bfe0a(0x156)],_0x5cb920=this[_0x5bfe0a(0x135)][_0x5bfe0a(0x114)][_0x5bfe0a(0x16c)](_0x5590f6);this[_0x5bfe0a(0x110)][_0x5bfe0a(0x169)]({'history':_0x1e3573,'getLatestVersion':()=>this[_0x5bfe0a(0x15a)](),'getCurrentRevisionId':()=>_0x2d51b4[_0x5bfe0a(0x12e)]});const _0x2748bb=this[_0x5bfe0a(0x135)][_0x5bfe0a(0x173)][_0x5bfe0a(0x16c)](_0x5bfe0a(0x172))||_0x52c327,_0x44fd04=await _0x4f41d2[_0x5bfe0a(0x16f)](_0x5cb920[_0x5bfe0a(0x12a)],_0x2748bb);this[_0x5bfe0a(0x110)][_0x5bfe0a(0x162)]={'getRevision':async({revisionId:_0x2d2f88})=>(await this[_0x5bfe0a(0x179)](),await this[_0x5bfe0a(0x11c)][_0x5bfe0a(0x175)](_0x2d2f88)),'updateRevisions':async _0x3765a9=>{const _0x70b063=_0x5bfe0a;await this[_0x70b063(0x179)]();const _0x3b4d4c=this[_0x70b063(0x110)][_0x70b063(0x13d)];if(_0x44fd04&&0x1===_0x3765a9[_0x70b063(0x13b)]&&_0x3765a9[0x0]['id']===_0x3b4d4c['id'])return _0x3765a9;for(const _0x199a37 of _0x3765a9)_0x199a37['id']===_0x3b4d4c['id']&&(_0x199a37[_0x70b063(0x11b)]=_0x199a37[_0x70b063(0x17a)]===_0x199a37[_0x70b063(0x10f)]);return this[_0x70b063(0x11c)][_0x70b063(0x15b)](_0x3765a9,this[_0x70b063(0x13a)])[_0x70b063(0x15d)](_0x319ca7=>(this[_0x70b063(0x13a)]=_0x319ca7,_0x3765a9))[_0x70b063(0x155)](_0x2e48ad=>{const _0x3b9ad3=_0x70b063;if(U(_0x2e48ad)||_0x3b9ad3(0x119)===_0x2e48ad[_0x3b9ad3(0x121)]&&void 0x0!==_0x2e48ad[_0x3b9ad3(0x10d)][_0x3b9ad3(0x132)]){for(const _0x458978 of _0x3765a9){!this[_0x3b9ad3(0x110)][_0x3b9ad3(0x13c)][_0x3b9ad3(0x175)](_0x458978['id'])||this[_0x3b9ad3(0x110)][_0x3b9ad3(0x127)](_0x458978['id'],_0x458978,!0x1);}if(U(_0x2e48ad))throw _0x2e48ad;return _0x3765a9;}throw _0x2e48ad;});}},this[_0x5bfe0a(0x144)](this[_0x5bfe0a(0x11c)],_0x5bfe0a(0x112),(_0x45b02d,{revisionsData:_0x452c3f,requestId:_0x4e2db9})=>{const _0x32f30c=_0x5bfe0a;Math[_0x32f30c(0x10e)](..._0x452c3f[_0x32f30c(0x116)](_0x403912=>_0x403912[_0x32f30c(0x10f)]))>this[_0x32f30c(0x140)]()-0x1?this[_0x32f30c(0x15a)]()[_0x32f30c(0x15d)](()=>{const _0x24f151=_0x32f30c;this[_0x24f151(0x157)](_0x452c3f,_0x4e2db9);}):this[_0x32f30c(0x157)](_0x452c3f,_0x4e2db9);});const {revisions:_0x5a94e1,requestId:_0x3df6ce}=await this[_0x5bfe0a(0x11c)][_0x5bfe0a(0x139)](_0x5cb920[_0x5bfe0a(0x12a)]);_0x5cb920[_0x5bfe0a(0x122)](this),this[_0x5bfe0a(0x13a)]=_0x3df6ce,await this[_0x5bfe0a(0x120)](_0x5a94e1);for(const _0x41a051 of _0x5a94e1)this[_0x5bfe0a(0x110)][_0x5bfe0a(0x159)](_0x41a051);this[_0x5bfe0a(0x144)](_0x2d51b4,_0x5bfe0a(0x12c),(_0x182b88,_0x28afcb,_0x6ecd5c)=>{const _0x2893f3=_0x5bfe0a;_0x6ecd5c&&(this[_0x2893f3(0x14a)]=_0x2d51b4[_0x2893f3(0x113)],_0x182b88[_0x2893f3(0x128)]());}),this[_0x5bfe0a(0x110)][_0x5bfe0a(0x14c)](_0x5bfe0a(0x125))['to'](_0x5cb920,_0x5bfe0a(0x166),_0x271b58=>_0x271b58===_0x230a0d[_0x5bfe0a(0x133)]);}async[_0x210b12(0x11d)](){const _0x1e1813=_0x210b12,_0x338d91=this[_0x1e1813(0x135)][_0x1e1813(0x114)][_0x1e1813(0x16c)](_0x5590f6),_0x24956e=this[_0x1e1813(0x135)][_0x1e1813(0x114)][_0x1e1813(0x16c)](_0x2e1d62),_0x429353=async()=>{const _0x15cde0=_0x1e1813,_0x14a531=this[_0x15cde0(0x110)][_0x15cde0(0x13d)],_0x4fec7e=_0x14a531['id'],_0x59c1dc=_0x4fec7e!==_0x24956e[_0x15cde0(0x12e)];if(_0x59c1dc){const _0x472f78=_0x24956e[_0x15cde0(0x113)]-this[_0x15cde0(0x14a)],_0x4389b8=this[_0x15cde0(0x140)]();this[_0x15cde0(0x110)][_0x15cde0(0x158)][_0x15cde0(0x11a)]();if(_0x14a531[_0x15cde0(0x10f)]+_0x472f78!==_0x4389b8){const _0x1049e4=_0x14a531[_0x15cde0(0x17a)]+_0x472f78,_0x3f7faa=this[_0x15cde0(0x135)][_0x15cde0(0x114)][_0x15cde0(0x16c)](_0x4acea7),_0x1b1f57=this[_0x15cde0(0x110)][_0x15cde0(0x16a)]({'revision':_0x14a531,'from':_0x1049e4,'to':_0x4389b8});_0x1b1f57['id']=_0x14a531['id'];const _0x4bb0fd=_0x1b1f57[_0x15cde0(0x160)][_0x15cde0(0x116)](_0x48e38a=>_0x3f7faa[_0x15cde0(0x124)](_0x48e38a));_0x14a531[_0x15cde0(0x146)]({..._0x1b1f57,'authors':_0x4bb0fd},!0x0),this[_0x15cde0(0x110)][_0x15cde0(0x127)](_0x14a531['id'],_0x1b1f57,!0x0);}this[_0x15cde0(0x110)][_0x15cde0(0x123)]=_0x4389b8,(_0x14a531[_0x15cde0(0x10f)]===_0x14a531[_0x15cde0(0x17a)]&&!this[_0x15cde0(0x110)][_0x15cde0(0x129)][_0x15cde0(0x143)](_0x4fec7e)&&this[_0x15cde0(0x110)][_0x15cde0(0x13c)][_0x15cde0(0x17c)][_0x15cde0(0x17b)](_0x4fec7e),this[_0x15cde0(0x110)][_0x15cde0(0x14b)](_0x4389b8));}const {revisions:_0x29341d,requestId:_0x4849e0}=await this[_0x15cde0(0x11c)][_0x15cde0(0x11d)](_0x338d91[_0x15cde0(0x12a)],this[_0x15cde0(0x13a)]);_0x59c1dc&&_0x29341d[_0x15cde0(0x13b)]>0x0?_0x24956e[_0x15cde0(0x134)]():(await this[_0x15cde0(0x120)](_0x29341d),this[_0x15cde0(0x157)](_0x29341d,_0x4849e0),this[_0x15cde0(0x110)][_0x15cde0(0x148)]());};return _0x24956e[_0x1e1813(0x117)]?_0x429353():new Promise((_0x128ed6,_0x578d8a)=>{const _0x460a16=_0x1e1813;_0x24956e[_0x460a16(0x171)](_0x460a16(0x12c),()=>{const _0x4f063e=_0x460a16;_0x429353()[_0x4f063e(0x15d)](_0x128ed6)[_0x4f063e(0x155)](_0x578d8a);});});}[_0x210b12(0x130)](){const _0x4ba72d=_0x210b12;super[_0x4ba72d(0x130)]();}async[_0x210b12(0x179)](){const _0x3afe36=_0x210b12;this[_0x3afe36(0x11c)][_0x3afe36(0x14f)]||await new Promise(_0x127c72=>{const _0x1139ec=_0x3afe36;this[_0x1139ec(0x144)](this[_0x1139ec(0x11c)],_0x1139ec(0x115),_0x506efe=>{const _0x87b2c9=_0x1139ec;_0x506efe[_0x87b2c9(0x128)](),_0x127c72();});});}[_0x210b12(0x140)](){const _0x3fae32=_0x210b12,_0x1a40ce=this[_0x3fae32(0x135)][_0x3fae32(0x114)][_0x3fae32(0x16c)](_0x2e1d62)[_0x3fae32(0x156)][_0x3fae32(0x15f)]()[_0x3fae32(0x10b)]();for(const _0x57701c of _0x1a40ce)if(_0x3fae32(0x16d)!==_0x57701c[_0x3fae32(0x14d)]||_0x57701c[_0x3fae32(0x163)])return _0x57701c[_0x3fae32(0x149)]+0x1;}[_0x210b12(0x15a)](){const _0x20818c=_0x210b12,_0x1d1ee7=this[_0x20818c(0x135)][_0x20818c(0x114)][_0x20818c(0x16c)](_0x2e1d62);return new Promise(_0x5165ab=>{const _0x56cdb2=_0x20818c;_0x1d1ee7[_0x56cdb2(0x168)]?_0x1d1ee7[_0x56cdb2(0x171)](_0x56cdb2(0x151),()=>{const _0x568214=_0x56cdb2;_0x5165ab(this[_0x568214(0x140)]());}):_0x5165ab(this[_0x56cdb2(0x140)]());});}[_0x210b12(0x157)](_0x45747c,_0x11c510){const _0x242a86=_0x210b12,_0x12867b=this[_0x242a86(0x110)][_0x242a86(0x13c)];this[_0x242a86(0x13a)]=_0x11c510;for(const _0x2a284b of _0x45747c){const _0x5d0aad=_0x12867b[_0x242a86(0x175)](_0x2a284b['id']);if(_0x5d0aad){if((_0x2a284b[_0x242a86(0x17a)]||_0x2a284b[_0x242a86(0x10f)])&&(_0x2a284b[_0x242a86(0x11e)]=null),_0x5d0aad===this[_0x242a86(0x110)][_0x242a86(0x13d)]){const _0x1865b6=Math[_0x242a86(0x10e)](_0x5d0aad[_0x242a86(0x10f)],_0x2a284b[_0x242a86(0x10f)]),_0x42d8a5=Math[_0x242a86(0x10e)](_0x5d0aad[_0x242a86(0x17a)],_0x2a284b[_0x242a86(0x17a)]);let _0x431402;_0x5d0aad[_0x242a86(0x10f)]===_0x2a284b[_0x242a86(0x10f)]&&_0x5d0aad[_0x242a86(0x17a)]===_0x2a284b[_0x242a86(0x17a)]?(_0x431402=!0x0,this[_0x242a86(0x118)](_0x2a284b)):_0x2a284b[_0x242a86(0x10f)]===_0x1865b6&&_0x2a284b[_0x242a86(0x17a)]===_0x42d8a5?_0x431402=!0x1:(_0x5d0aad[_0x242a86(0x10f)]===_0x1865b6&&_0x5d0aad[_0x242a86(0x17a)]===_0x42d8a5||this[_0x242a86(0x15e)]({'revision':_0x5d0aad,'from':_0x42d8a5,'to':_0x1865b6}),_0x431402=!0x0),_0x431402&&(delete _0x2a284b[_0x242a86(0x17a)],delete _0x2a284b[_0x242a86(0x10f)],delete _0x2a284b[_0x242a86(0x11e)],delete _0x2a284b[_0x242a86(0x161)],delete _0x2a284b[_0x242a86(0x160)]);}this[_0x242a86(0x110)][_0x242a86(0x167)](_0x2a284b),this[_0x242a86(0x118)](_0x2a284b);}else this[_0x242a86(0x110)][_0x242a86(0x159)](_0x2a284b);}const _0x45b90a=_0x12867b[_0x242a86(0x150)]();_0x45b90a[_0x242a86(0x10b)]();for(let _0xe9168e=0x0;_0xe9168e<_0x45b90a[_0x242a86(0x13b)]-0x1;_0xe9168e++){const _0x1f00ff=_0x45b90a[_0xe9168e],_0x1ff950=_0x45b90a[_0xe9168e+0x1];if(_0x1f00ff[_0x242a86(0x17a)]<_0x1ff950[_0x242a86(0x10f)]){const _0x50cbe5=_0x1ff950[_0x242a86(0x10f)],_0x2ff18f=Math[_0x242a86(0x10e)](_0x50cbe5,_0x1f00ff[_0x242a86(0x10f)]);this[_0x242a86(0x15e)]({'revision':_0x1f00ff,'from':_0x50cbe5,'to':_0x2ff18f});}}}[_0x210b12(0x15e)]({revision:_0x7f0b1b,from:_0x4190eb,to:_0x87f65}={}){const _0x11198a=_0x210b12,_0x3242f6=this[_0x11198a(0x135)][_0x11198a(0x114)][_0x11198a(0x16c)](_0x4acea7),_0x1e3cf7=this[_0x11198a(0x110)][_0x11198a(0x16a)]({'revision':_0x7f0b1b,'from':_0x4190eb,'to':_0x87f65});_0x1e3cf7[_0x11198a(0x12b)]=_0x1e3cf7[_0x11198a(0x160)][_0x11198a(0x116)](_0x2f498c=>_0x3242f6[_0x11198a(0x124)](_0x2f498c)),_0x7f0b1b[_0x11198a(0x146)](_0x1e3cf7);}[_0x210b12(0x118)](_0x377cad){const _0x1e2f64=_0x210b12,_0x28ecb5={};_0x28ecb5['id']=_0x377cad['id'];for(const _0x3b563f of Object[_0x1e2f64(0x136)](_0x377cad))'id'!==_0x3b563f&&(_0x28ecb5[_0x3b563f]=void 0x0);this[_0x1e2f64(0x110)][_0x1e2f64(0x127)](_0x28ecb5['id'],_0x28ecb5,!0x0);}async[_0x210b12(0x120)](_0x5ec255){const _0x5e2222=_0x210b12,_0x2ff659=this[_0x5e2222(0x135)][_0x5e2222(0x114)][_0x5e2222(0x16c)](_0x4acea7),{connection:_0x581806}=this[_0x5e2222(0x135)][_0x5e2222(0x114)][_0x5e2222(0x16c)](_0x5590f6),_0x3454c7=new Set();for(const _0x34ea3b of _0x5ec255){for(const _0x22d33 of _0x34ea3b[_0x5e2222(0x160)])_0xb5641c(_0x22d33);_0x34ea3b[_0x5e2222(0x16b)]&&_0xb5641c(_0x34ea3b[_0x5e2222(0x16b)]);}if(0x0===_0x3454c7[_0x5e2222(0x164)])return;const _0x4a3959=await _0x2a5e0a[_0x5e2222(0x176)](_0x581806,Array[_0x5e2222(0x170)](_0x3454c7));for(const _0x42acce of _0x4a3959)_0x2ff659[_0x5e2222(0x124)](_0x42acce['id'])||_0x2ff659[_0x5e2222(0x153)](_0x42acce);function _0xb5641c(_0x256e11){const _0x20445e=_0x5e2222;_0x2ff659[_0x20445e(0x124)](_0x256e11)||_0x3454c7[_0x20445e(0x154)](_0x256e11);}}}u[_0x210b12(0x131)]=_0x231129;export default u;function U(_0x424b93){const _0x17fecd=_0x210b12;return _0x424b93[_0x17fecd(0x16e)][_0x17fecd(0x174)](_0x17fecd(0x12f))||_0x424b93[_0x17fecd(0x16e)][_0x17fecd(0x174)](_0x17fecd(0x14e))||_0x424b93[_0x17fecd(0x16e)][_0x17fecd(0x174)](_0x17fecd(0x177));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1da0f5=_0x1015;(function(_0x10a420,_0x2e5de4){var _0x2b6dfa=_0x1015,_0x5a618c=_0x10a420();while(!![]){try{var _0x465b36=-parseInt(_0x2b6dfa(0x1b8))/0x1*(-parseInt(_0x2b6dfa(0x1b4))/0x2)+-parseInt(_0x2b6dfa(0x1b5))/0x3*(-parseInt(_0x2b6dfa(0x1b2))/0x4)+parseInt(_0x2b6dfa(0x1b1))/0x5+-parseInt(_0x2b6dfa(0x1ad))/0x6+-parseInt(_0x2b6dfa(0x1b0))/0x7+parseInt(_0x2b6dfa(0x1a9))/0x8+-parseInt(_0x2b6dfa(0x1ae))/0x9*(parseInt(_0x2b6dfa(0x1aa))/0xa);if(_0x465b36===_0x2e5de4)break;else _0x5a618c['push'](_0x5a618c['shift']());}catch(_0x3996e7){_0x5a618c['push'](_0x5a618c['shift']());}}}(_0x1a26,0xd79c6));import{Plugin as _0x283f25}from'ckeditor5/src/core.js';function _0x1015(_0x153ce1,_0x181383){var _0x1a26bd=_0x1a26();return _0x1015=function(_0x1015d7,_0x2d5216){_0x1015d7=_0x1015d7-0x1a9;var _0x436c2d=_0x1a26bd[_0x1015d7];return _0x436c2d;},_0x1015(_0x153ce1,_0x181383);}import _0x424b68 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x2c501d from'./realtimecollaborativeediting.js';export default class g extends _0x283f25{static get[_0x1da0f5(0x1af)](){var _0x4a5afa=_0x1da0f5;return[_0x4a5afa(0x1b6),_0x424b68,_0x2c501d];}static get[_0x1da0f5(0x1b7)](){var _0x1cdf1c=_0x1da0f5;return _0x1cdf1c(0x1ab);}static get[_0x1da0f5(0x1ac)](){return!0x0;}static get[_0x1da0f5(0x1b3)](){return!0x0;}}function _0x1a26(){var _0x16de3a=['1HOZgZB','11865464lfaivA','40qOYErt','RealTimeCollaborativeRevisionHistory','isOfficialPlugin','3617520DgDsia','4219389mlGrXx','requires','8065456cwxGhp','8808470KziGzk','16UEOOZv','isPremiumPlugin','501506coPdYs','763443giNHTr','RevisionHistory','pluginName'];_0x1a26=function(){return _0x16de3a;};return _0x1a26();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x128d4e=_0x5ec7;(function(_0x571283,_0x469249){const _0x3c4f71=_0x5ec7,_0x3ca41a=_0x571283();while(!![]){try{const _0x3c804a=parseInt(_0x3c4f71(0x1fd))/0x1+parseInt(_0x3c4f71(0x225))/0x2*(-parseInt(_0x3c4f71(0x21a))/0x3)+-parseInt(_0x3c4f71(0x206))/0x4*(-parseInt(_0x3c4f71(0x205))/0x5)+parseInt(_0x3c4f71(0x210))/0x6*(parseInt(_0x3c4f71(0x220))/0x7)+-parseInt(_0x3c4f71(0x1f5))/0x8*(parseInt(_0x3c4f71(0x22a))/0x9)+-parseInt(_0x3c4f71(0x202))/0xa*(-parseInt(_0x3c4f71(0x221))/0xb)+parseInt(_0x3c4f71(0x1fa))/0xc*(-parseInt(_0x3c4f71(0x22d))/0xd);if(_0x3c804a===_0x469249)break;else _0x3ca41a['push'](_0x3ca41a['shift']());}catch(_0x475156){_0x3ca41a['push'](_0x3ca41a['shift']());}}}(_0x4389,0x6e029));import{Plugin as _0x26d790}from'ckeditor5/src/core.js';import{User as _0x3d0761,TrackChangesService as _0x17fb8a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x56ab00 from'../realtimecollaborativeediting/websocketgateway.js';function _0x4389(){const _0x1f96b7=['startsWith','209853ZHTGcw','TrackChangesEditing','isConnected','13oyYyMd','find','addUser','originalSuggestionId','isPremiumPlugin','editor','plugins','CloudServicesTrackChangesAdapter','catch','getMany','message','24akUMgN','cloud-services-internal-error:\x20Not\x20connected.','values','reconnect','adapter','23356236SyxdbY','_fetchMissingUsersForThreads','connect','696816tbKAWC','collaboration.channelId','_waitForServiceReady','TrackChangesService','then','41990Cktrpl','cloud-services-internal-error:\x20Request\x20timeout.','delete','5HNoYNh','3491212ZZzOyw','get','connected','_saved','getSuggestion','from','attributes','init','config','addToReconnectionStack','6XLtXsz','connection','suggestionUpdated','addSuggestionData','listenTo','pluginName','size','_bufferedRequests','data','state','240YKbcHK','update','_trackChangesService','open','isOfficialPlugin','getUser','3124891SWPuzx','1397IPBUSy','set','off','requires','2060vPFOfx','add','hasSuggestion','type'];_0x4389=function(){return _0x1f96b7;};return _0x4389();}function _0x5ec7(_0x3e1692,_0x7cfbd7){const _0x4389b7=_0x4389();return _0x5ec7=function(_0x5ec775,_0xa42e51){_0x5ec775=_0x5ec775-0x1f1;let _0x578e63=_0x4389b7[_0x5ec775];return _0x578e63;},_0x5ec7(_0x3e1692,_0x7cfbd7);}import _0x538157 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xdf2205}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x26d790{static get[_0x128d4e(0x224)](){const _0x4163e2=_0x128d4e;return[_0x538157,_0x4163e2(0x22b),_0x56ab00];}static get[_0x128d4e(0x215)](){const _0x506bad=_0x128d4e;return _0x506bad(0x1f1);}static get[_0x128d4e(0x21e)](){return!0x0;}static get[_0x128d4e(0x231)](){return!0x0;}constructor(_0x17197c){const _0x2617c8=_0x128d4e;super(_0x17197c);const _0x4937f9=this[_0x2617c8(0x232)][_0x2617c8(0x20e)][_0x2617c8(0x207)](_0x2617c8(0x1fe));this[_0x2617c8(0x217)]=new Map(),this[_0x2617c8(0x21c)]=new f[(_0x2617c8(0x200))](_0x4937f9);}[_0x128d4e(0x20d)](){const _0x573ec2=_0x128d4e,_0x4eb7e9=this[_0x573ec2(0x232)][_0x573ec2(0x233)][_0x573ec2(0x207)](_0x56ab00),_0x3bd13d=this[_0x573ec2(0x232)][_0x573ec2(0x233)][_0x573ec2(0x207)](_0x573ec2(0x22b));return _0x3bd13d[_0x573ec2(0x1f9)]={'getSuggestion':async _0x2cd3a1=>{const _0x3e6f87=_0x573ec2;await this[_0x3e6f87(0x1ff)]();const _0x48cd57=await this[_0x3e6f87(0x21c)][_0x3e6f87(0x207)](_0x2cd3a1)[_0x3e6f87(0x1f2)](R);return await this[_0x3e6f87(0x1fb)]([_0x48cd57]),_0x48cd57;},'addSuggestion':async({id:_0x43d72c,type:_0x487d3f,data:_0x102374,originalSuggestionId:_0x49481f,attributes:_0x3d6386})=>{const _0x56676f=_0x573ec2;await this[_0x56676f(0x1ff)]();const _0x6f914f={'id':_0x43d72c,'type':_0x487d3f,'data':_0x102374,'originalSuggestionId':_0x49481f,'attributes':_0x3d6386},_0x2f3144=await this[_0x56676f(0x21c)][_0x56676f(0x226)](_0x43d72c,_0x487d3f,_0x102374,_0x49481f,_0x3d6386)[_0x56676f(0x1f2)](_0x19fb05=>{if(U(_0x19fb05))return new Promise(_0x15495e=>{const _0x2c71bb=_0x5ec7;this[_0x2c71bb(0x217)][_0x2c71bb(0x222)](_0x43d72c,{'resolve':_0x15495e,'suggestionData':_0x6f914f});});throw _0x19fb05;});return this[_0x56676f(0x217)][_0x56676f(0x204)](_0x43d72c),_0x2f3144;},'updateSuggestion':async(_0x369467,_0x1f5242)=>{const _0x2ec117=_0x573ec2;if(await this[_0x2ec117(0x1ff)](),_0x2ec117(0x21d)!==_0x1f5242[_0x2ec117(0x219)])return this[_0x2ec117(0x21c)][_0x2ec117(0x21b)](_0x369467,_0x1f5242)[_0x2ec117(0x1f2)](R);}},this[_0x573ec2(0x214)](this[_0x573ec2(0x21c)],_0x573ec2(0x212),(_0x45eec8,_0x2e7542)=>{const _0x55ed06=_0x573ec2;_0x3bd13d[_0x55ed06(0x227)](_0x2e7542['id'])&&(_0x3bd13d[_0x55ed06(0x20a)](_0x2e7542['id'])[_0x55ed06(0x20c)]=_0x2e7542[_0x55ed06(0x20c)]);}),this[_0x573ec2(0x21c)][_0x573ec2(0x1fc)](_0x4eb7e9[_0x573ec2(0x211)])[_0x573ec2(0x201)](_0x51fe09=>(_0x4eb7e9[_0x573ec2(0x20f)](this),this[_0x573ec2(0x1fb)](_0x51fe09)[_0x573ec2(0x201)](()=>{const _0x241810=_0x573ec2;for(const _0x4c034e of _0x51fe09){_0x3bd13d[_0x241810(0x213)](_0x4c034e)[_0x241810(0x209)]=!0x0;}})));}async[_0x128d4e(0x1f8)](){const _0x2d3beb=_0x128d4e,_0x1c81dd=this[_0x2d3beb(0x232)][_0x2d3beb(0x233)][_0x2d3beb(0x207)](_0x2d3beb(0x22b)),{connection:_0x3e4bc9}=this[_0x2d3beb(0x232)][_0x2d3beb(0x233)][_0x2d3beb(0x207)](_0x56ab00),_0x1d3e6d=await this[_0x2d3beb(0x21c)][_0x2d3beb(0x1fc)](_0x3e4bc9);await this[_0x2d3beb(0x1fb)](_0x1d3e6d);for(const {suggestionData:_0x25d7bb,resolve:_0x2d990a}of this[_0x2d3beb(0x217)][_0x2d3beb(0x1f7)]()){let _0x4b2525=_0x1d3e6d[_0x2d3beb(0x22e)](_0x1d4a0f=>_0x1d4a0f['id']===_0x25d7bb['id']);_0x4b2525||(_0x4b2525=await this[_0x2d3beb(0x21c)][_0x2d3beb(0x226)](_0x25d7bb['id'],_0x25d7bb[_0x2d3beb(0x228)],_0x25d7bb[_0x2d3beb(0x218)],_0x25d7bb[_0x2d3beb(0x230)])),_0x2d990a(_0x4b2525);}for(const _0x41aed8 of _0x1d3e6d)_0x1c81dd[_0x2d3beb(0x227)](_0x41aed8['id'])||_0x1c81dd[_0x2d3beb(0x213)](_0x41aed8);}async[_0x128d4e(0x1ff)](){const _0x31915c=_0x128d4e;this[_0x31915c(0x21c)][_0x31915c(0x22c)]||await new Promise(_0x57fe7a=>{const _0x530c68=_0x31915c;this[_0x530c68(0x214)](this[_0x530c68(0x21c)],_0x530c68(0x208),_0x411fba=>{const _0x562642=_0x530c68;_0x411fba[_0x562642(0x223)](),_0x57fe7a();});});}async[_0x128d4e(0x1fb)](_0x1a6120){const _0x2253cc=_0x128d4e,_0x5c2789=this[_0x2253cc(0x232)][_0x2253cc(0x233)][_0x2253cc(0x207)](_0xdf2205),{connection:_0x4a4ce6}=this[_0x2253cc(0x232)][_0x2253cc(0x233)][_0x2253cc(0x207)](_0x56ab00),_0x4ec617=new Set();for(const {authorId:_0x5279cb}of _0x1a6120)_0x5c2789[_0x2253cc(0x21f)](_0x5279cb)||_0x4ec617[_0x2253cc(0x226)](_0x5279cb);if(0x0===_0x4ec617[_0x2253cc(0x216)])return;const _0x326c7a=await _0x3d0761[_0x2253cc(0x1f3)](_0x4a4ce6,Array[_0x2253cc(0x20b)](_0x4ec617));for(const _0x2c4bcc of _0x326c7a)_0x5c2789[_0x2253cc(0x21f)](_0x2c4bcc['id'])||_0x5c2789[_0x2253cc(0x22f)](_0x2c4bcc);}}f[_0x128d4e(0x200)]=_0x17fb8a;export default f;function R(_0x508182){if(U(_0x508182))return new Promise(()=>{});throw _0x508182;}function U(_0x24f826){const _0x3f07b7=_0x128d4e;return _0x24f826[_0x3f07b7(0x1f4)][_0x3f07b7(0x229)](_0x3f07b7(0x1f6))||_0x24f826[_0x3f07b7(0x1f4)][_0x3f07b7(0x229)](_0x3f07b7(0x203));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x493631=_0x5351;function _0x1ba3(){var _0x350268=['isPremiumPlugin','10DDcyWM','isOfficialPlugin','10MLeMrH','4945932OAqHrL','2315950VJhlsV','pluginName','1688UqqANU','27540106vvCBww','requires','TrackChanges','3771948sPZgth','2005564KIcRYf','1149412wyhztu','1434TqyzRN','RealTimeCollaborativeTrackChanges','8UBZEQo'];_0x1ba3=function(){return _0x350268;};return _0x1ba3();}(function(_0x4c8f16,_0x470b34){var _0x26d32e=_0x5351,_0x196446=_0x4c8f16();while(!![]){try{var _0x5b1690=parseInt(_0x26d32e(0xad))/0x1+parseInt(_0x26d32e(0xa7))/0x2*(-parseInt(_0x26d32e(0xae))/0x3)+-parseInt(_0x26d32e(0xac))/0x4*(-parseInt(_0x26d32e(0xb2))/0x5)+parseInt(_0x26d32e(0xab))/0x6+parseInt(_0x26d32e(0xa5))/0x7*(parseInt(_0x26d32e(0xb0))/0x8)+parseInt(_0x26d32e(0xa4))/0x9+parseInt(_0x26d32e(0xa3))/0xa*(-parseInt(_0x26d32e(0xa8))/0xb);if(_0x5b1690===_0x470b34)break;else _0x196446['push'](_0x196446['shift']());}catch(_0x54ee61){_0x196446['push'](_0x196446['shift']());}}}(_0x1ba3,0xb81fc));function _0x5351(_0x9cdbfb,_0x4e234f){var _0x1ba360=_0x1ba3();return _0x5351=function(_0x535111,_0x2b9fcd){_0x535111=_0x535111-0xa3;var _0x51ae40=_0x1ba360[_0x535111];return _0x51ae40;},_0x5351(_0x9cdbfb,_0x4e234f);}import{Plugin as _0xf0a034}from'ckeditor5/src/core.js';import _0x260ab7 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x1cd776 from'./realtimecollaborativecomments.js';export default class p extends _0xf0a034{static get[_0x493631(0xa9)](){var _0x46663c=_0x493631;return[_0x1cd776,_0x260ab7,_0x46663c(0xaa)];}static get[_0x493631(0xa6)](){var _0x578028=_0x493631;return _0x578028(0xaf);}static get[_0x493631(0xb3)](){return!0x0;}static get[_0x493631(0xb1)](){return!0x0;}}
|