@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.8 → 44.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- 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 +9 -9
- 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 _0x311b68=_0x23f5;function _0x23f5(_0x143eea,_0x10a8c5){const _0x55dd2c=_0x55dd();return _0x23f5=function(_0x23f576,_0x527f2b){_0x23f576=_0x23f576-0x1c4;let _0x18ded8=_0x55dd2c[_0x23f576];return _0x18ded8;},_0x23f5(_0x143eea,_0x10a8c5);}(function(_0x5484ed,_0x4dbe01){const _0x303d57=_0x23f5,_0x10224f=_0x5484ed();while(!![]){try{const _0x599b55=-parseInt(_0x303d57(0x1c4))/0x1+-parseInt(_0x303d57(0x20f))/0x2+-parseInt(_0x303d57(0x213))/0x3+parseInt(_0x303d57(0x1d1))/0x4*(-parseInt(_0x303d57(0x229))/0x5)+parseInt(_0x303d57(0x1eb))/0x6*(-parseInt(_0x303d57(0x1d5))/0x7)+parseInt(_0x303d57(0x1e8))/0x8*(parseInt(_0x303d57(0x1cc))/0x9)+-parseInt(_0x303d57(0x1fa))/0xa*(-parseInt(_0x303d57(0x1f9))/0xb);if(_0x599b55===_0x4dbe01)break;else _0x10224f['push'](_0x10224f['shift']());}catch(_0x476d31){_0x10224f['push'](_0x10224f['shift']());}}}(_0x55dd,0xb1b51));import{Context as _0x428a97,ContextPlugin as _0x25f10f}from'ckeditor5/src/core.js';import{CKEditorError as _0x394f51}from'ckeditor5/src/utils.js';import{Users as _0x29add3}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x634c43,User as _0x314a74}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x390e25 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1d8bfa from'../realtimecollaborativeediting/sessions.js';class a extends _0x25f10f{static get[_0x311b68(0x1e5)](){const _0x43d329=_0x311b68;return[_0x390e25,_0x43d329(0x200),_0x1d8bfa,_0x29add3];}static get[_0x311b68(0x206)](){const _0x59de8c=_0x311b68;return _0x59de8c(0x1cb);}static get[_0x311b68(0x1fe)](){return!0x0;}static get[_0x311b68(0x226)](){return!0x0;}constructor(_0x15bc17){const _0x827022=_0x311b68;super(_0x15bc17),this[_0x827022(0x1d3)]=new Map();}async[_0x311b68(0x1d7)](){const _0x385ef2=_0x311b68,_0x18d1ae=this[_0x385ef2(0x1dc)],_0x1c9cb1=_0x18d1ae[_0x385ef2(0x207)][_0x385ef2(0x205)](_0x385ef2(0x200));if(_0x18d1ae[_0x385ef2(0x207)][_0x385ef2(0x205)](_0x390e25)[_0x385ef2(0x1f0)](this),_0x1c9cb1[_0x385ef2(0x20c)]={'addCommentThread':async({channelId:_0x3e6e55,threadId:_0x211d31,comments:_0x57bf05,resolvedAt:_0x5d2c57,resolvedBy:_0xb16db6,context:_0x2d49f8,attributes:_0x400817})=>{const _0x1669ef=_0x385ef2,_0xa91e80=await this[_0x1669ef(0x210)](_0x3e6e55)[_0x1669ef(0x1d4)]({'commentThreadId':_0x211d31,'comments':_0x57bf05[_0x1669ef(0x1d9)](_0x72d7b0=>function(_0x3a55b9,_0x5e4594,_0x139d49){const _0x217a26=_0x1669ef;return{'commentThreadId':_0x139d49,'commentId':_0x3a55b9[_0x217a26(0x1e2)],'userId':_0x3a55b9[_0x217a26(0x1c7)],'content':_0x3a55b9[_0x217a26(0x1c5)],'documentId':_0x5e4594,'createdAt':_0x3a55b9[_0x217a26(0x20e)],'attributes':_0x3a55b9[_0x217a26(0x21f)]||{}};}(_0x72d7b0,_0x3e6e55,_0x211d31)),'resolvedAt':_0x5d2c57,'resolvedBy':_0xb16db6,'context':_0x2d49f8,'attributes':_0x400817})[_0x1669ef(0x1c6)](R);return{'threadId':_0xa91e80[_0x1669ef(0x1e7)],'comments':_0xa91e80[_0x1669ef(0x21a)]};},'getCommentThread':async({channelId:_0x42c6ba,threadId:_0x11c0e3})=>{const _0x431126=_0x385ef2,_0x3c9e52=await this[_0x431126(0x210)](_0x42c6ba)[_0x431126(0x1fd)](_0x11c0e3)[_0x431126(0x1c6)](R);return _0x3c9e52[_0x431126(0x222)]?null:(await this[_0x431126(0x1f7)]([_0x3c9e52]),{'threadId':_0x3c9e52[_0x431126(0x1e7)],'comments':_0x3c9e52[_0x431126(0x21a)][_0x431126(0x1d9)](S),'context':_0x3c9e52[_0x431126(0x1dc)],'resolvedAt':_0x3c9e52[_0x431126(0x203)],'resolvedBy':_0x3c9e52[_0x431126(0x211)],'attributes':_0x3c9e52[_0x431126(0x21f)]||{}});},'updateCommentThread':async({channelId:_0x454c02,threadId:_0x44dd78,context:_0x27adcd,unlinkedAt:_0x4aa931,attributes:_0x20e4b9})=>this[_0x385ef2(0x210)](_0x454c02)[_0x385ef2(0x22a)]({'commentThreadId':_0x44dd78,'context':_0x27adcd,'attributes':_0x20e4b9,'unlinkedAt':_0x4aa931})[_0x385ef2(0x1c6)](B)[_0x385ef2(0x1c6)](R),'resolveCommentThread':async({channelId:_0x444951,threadId:_0x4b2d61})=>{const _0x400087=_0x385ef2,_0xdddb09=await this[_0x400087(0x210)](_0x444951)[_0x400087(0x1cd)](_0x4b2d61)[_0x400087(0x1c6)](B)[_0x400087(0x1c6)](R);return{'threadId':_0xdddb09[_0x400087(0x1e7)],'resolvedAt':_0xdddb09[_0x400087(0x203)],'resolvedBy':_0xdddb09[_0x400087(0x211)]};},'reopenCommentThread':async({channelId:_0x166c45,threadId:_0xabcdc4})=>this[_0x385ef2(0x210)](_0x166c45)[_0x385ef2(0x224)](_0xabcdc4)[_0x385ef2(0x1c6)](B)[_0x385ef2(0x1c6)](R),'removeCommentThread':({channelId:_0xf7aafa,threadId:_0x260ae1})=>this[_0x385ef2(0x210)](_0xf7aafa)[_0x385ef2(0x1f1)](_0x260ae1)[_0x385ef2(0x1c6)](B)[_0x385ef2(0x1c6)](R),'addComment':({channelId:_0x43ed9c,threadId:_0x250cf0,commentId:_0x488e13,content:_0x51a255,attributes:_0x363b34})=>this[_0x385ef2(0x210)](_0x43ed9c)[_0x385ef2(0x1e6)](_0x250cf0,_0x488e13,_0x51a255,_0x363b34)[_0x385ef2(0x1c6)](R),'updateComment':({channelId:_0x3656f4,threadId:_0x465ca6,commentId:_0x40e9f9,content:_0xbb3f35,attributes:_0x1e5438})=>this[_0x385ef2(0x210)](_0x3656f4)[_0x385ef2(0x1db)](_0x465ca6,_0x40e9f9,_0xbb3f35,_0x1e5438)[_0x385ef2(0x1c6)](B)[_0x385ef2(0x1c6)](R),'removeComment':({channelId:_0x3daf5b,threadId:_0x4527f3,commentId:_0xbbbdce})=>this[_0x385ef2(0x210)](_0x3daf5b)[_0x385ef2(0x1fb)](_0x4527f3,_0xbbbdce)[_0x385ef2(0x1c6)](B)[_0x385ef2(0x1c6)](R)},_0x18d1ae instanceof _0x428a97){const _0x19f729=_0x18d1ae[_0x385ef2(0x1f8)][_0x385ef2(0x205)](_0x385ef2(0x1f6)),_0x256f9e=_0x18d1ae[_0x385ef2(0x207)][_0x385ef2(0x205)](_0x1d8bfa);await this[_0x385ef2(0x1da)](_0x19f729);const _0x1d9e41=await this[_0x385ef2(0x1d3)][_0x385ef2(0x205)](_0x19f729)[_0x385ef2(0x1ec)]();this[_0x385ef2(0x1f2)](_0x256f9e,_0x385ef2(0x209)+_0x19f729,(_0x5eed84,{session:_0x4821be})=>{const _0x33b7c2=_0x385ef2;_0x4821be['id']===_0x256f9e[_0x33b7c2(0x1f5)]&&(_0x5eed84[_0x33b7c2(0x216)](),this[_0x33b7c2(0x1dc)][_0x33b7c2(0x207)][_0x33b7c2(0x205)](_0x33b7c2(0x223))[_0x33b7c2(0x1ff)](_0x4821be[_0x33b7c2(0x1ef)],_0x19f729));}),_0x256f9e[_0x385ef2(0x1f3)](_0x19f729,_0x1d9e41);}}async[_0x311b68(0x1da)](_0x2c535f){const _0x3b6a5e=_0x311b68;if(this[_0x3b6a5e(0x1d3)][_0x3b6a5e(0x1d2)](_0x2c535f))throw new _0x394f51(_0x3b6a5e(0x20a),null,{'channelId':_0x2c535f});const _0x4e58e3=this[_0x3b6a5e(0x1dc)][_0x3b6a5e(0x207)][_0x3b6a5e(0x205)](_0x3b6a5e(0x200)),_0x3a5fd1=new a[(_0x3b6a5e(0x227))](_0x2c535f);this[_0x3b6a5e(0x1d3)][_0x3b6a5e(0x225)](_0x2c535f,_0x3a5fd1),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x204),(_0x4f9898,_0x14858a)=>{const _0x258484=_0x3b6a5e,{commentThreadId:_0x4d5036,documentId:_0x5c5b58,context:_0x4a1c76,attributes:_0x49a6f2,resolvedAt:_0x26ed7c,resolvedBy:_0x3b28b5,comments:_0x5a2e5d}=_0x14858a;_0x4e58e3[_0x258484(0x1fd)](_0x4d5036)||_0x4e58e3[_0x258484(0x1d4)]({'threadId':_0x4d5036,'channelId':_0x5c5b58,'comments':_0x5a2e5d?_0x5a2e5d[_0x258484(0x1d9)](S):[],'context':_0x4a1c76,'attributes':_0x49a6f2,'resolvedAt':_0x26ed7c,'resolvedBy':_0x3b28b5,'isFromAdapter':!0x0});}),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x1fc),(_0x328342,{commentThreadId:_0xe93a3d,documentId:_0x5cefea,context:_0xfbd072,unlinkedAt:_0x2b2432,attributes:_0x39423e})=>{const _0x5309ba=_0x3b6a5e;_0x4e58e3[_0x5309ba(0x1fd)](_0xe93a3d)&&_0x4e58e3[_0x5309ba(0x22a)]({'threadId':_0xe93a3d,'channelId':_0x5cefea,'context':_0xfbd072,'unlinkedAt':_0x2b2432,'attributes':_0x39423e,'isFromAdapter':!0x0});}),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x1e9),(_0x65a73f,{commentThreadId:_0x38564e,resolvedBy:_0x4fd860,resolvedAt:_0x47a9fa})=>{const _0xcdc230=_0x3b6a5e,_0x1e0e52=_0x4e58e3[_0xcdc230(0x1fd)](_0x38564e);_0x1e0e52&&_0x1e0e52[_0xcdc230(0x20b)]({'resolvedBy':_0x4fd860,'resolvedAt':_0x47a9fa,'isFromAdapter':!0x0});}),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x1df),(_0x4126fb,{commentThreadId:_0x321192})=>{const _0xb751fa=_0x3b6a5e,_0x1cd7f2=_0x4e58e3[_0xb751fa(0x1fd)](_0x321192);_0x1cd7f2&&_0x1cd7f2[_0xb751fa(0x1cf)]({'isFromAdapter':!0x0});}),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x220),(_0xf1643d,{commentThreadId:_0x19116f})=>{const _0x1723d2=_0x3b6a5e,_0x1d7a47=_0x4e58e3[_0x1723d2(0x1fd)](_0x19116f);_0x1d7a47&&_0x1d7a47[_0x1723d2(0x215)]({'isFromAdapter':!0x0});}),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x214),(_0x324d1b,_0x496593)=>{const _0x21cd47=_0x3b6a5e,_0x719d88=_0x496593[_0x21cd47(0x1e7)],_0x1ab1bc=_0x4e58e3[_0x21cd47(0x1fd)](_0x719d88);_0x1ab1bc&&_0x1ab1bc[_0x21cd47(0x1e6)]({...S(_0x496593),'isFromAdapter':!0x0});}),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x21e),(_0x5004cb,{commentThreadId:_0x50fd7f,commentId:_0x2161c2,content:_0x5e7190,attributes:_0x59cc38})=>{const _0x110869=_0x3b6a5e,_0x298f30=_0x4e58e3[_0x110869(0x1fd)](_0x50fd7f);if(_0x298f30){const _0x14bdda=_0x298f30[_0x110869(0x1f4)](_0x2161c2);_0x14bdda&&_0x14bdda[_0x110869(0x20d)]({'content':_0x5e7190,'attributes':_0x59cc38,'isFromAdapter':!0x0});}}),this[_0x3b6a5e(0x1f2)](_0x3a5fd1,_0x3b6a5e(0x218),(_0x5481aa,{commentThreadId:_0x5d3fbe,commentId:_0x4a10b5})=>{const _0x4a37a0=_0x3b6a5e,_0x3addf6=_0x4e58e3[_0x4a37a0(0x1fd)](_0x5d3fbe);if(_0x3addf6){const _0x3d6757=_0x3addf6[_0x4a37a0(0x1f4)](_0x4a10b5);_0x3d6757&&_0x3d6757[_0x4a37a0(0x215)]({'isFromAdapter':!0x0});}}),await this[_0x3b6a5e(0x21c)](_0x2c535f);}[_0x311b68(0x217)](){const _0x317a72=_0x311b68;if(this[_0x317a72(0x1dc)]instanceof _0x428a97){const _0x39765a=this[_0x317a72(0x1dc)][_0x317a72(0x1f8)][_0x317a72(0x205)](_0x317a72(0x1f6));this[_0x317a72(0x219)](_0x39765a);}}[_0x311b68(0x219)](_0x30e648){const _0x2896d8=_0x311b68;if(!this[_0x2896d8(0x1d3)][_0x2896d8(0x1d2)](_0x30e648))throw new _0x394f51(_0x2896d8(0x1d0),null,{'channelId':_0x30e648});this[_0x2896d8(0x210)](_0x30e648)[_0x2896d8(0x1d6)](),this[_0x2896d8(0x1d3)][_0x2896d8(0x1e1)](_0x30e648);}async[_0x311b68(0x1c9)](){const _0x39e04d=_0x311b68;for(const _0x47bc07 of this[_0x39e04d(0x1d3)][_0x39e04d(0x202)]())await this[_0x39e04d(0x21c)](_0x47bc07);if(this[_0x39e04d(0x1dc)]instanceof _0x428a97){const _0x586656=this[_0x39e04d(0x1dc)][_0x39e04d(0x1f8)][_0x39e04d(0x205)](_0x39e04d(0x1f6)),_0x3adaf4=this[_0x39e04d(0x1dc)][_0x39e04d(0x207)][_0x39e04d(0x205)](_0x1d8bfa);_0x3adaf4[_0x39e04d(0x1e3)](_0x586656);const _0xbe44bb=await this[_0x39e04d(0x1d3)][_0x39e04d(0x205)](_0x586656)[_0x39e04d(0x1ec)]();_0x3adaf4[_0x39e04d(0x1f3)](_0x586656,_0xbe44bb);}}async[_0x311b68(0x21c)](_0x10e62e){const _0x1055ec=_0x311b68,{connection:_0x53be23}=this[_0x1055ec(0x1dc)][_0x1055ec(0x207)][_0x1055ec(0x205)](_0x390e25),_0x5a9b3c=this[_0x1055ec(0x1dc)][_0x1055ec(0x207)][_0x1055ec(0x205)](_0x1055ec(0x200)),_0x3171f1=this[_0x1055ec(0x1d3)][_0x1055ec(0x205)](_0x10e62e),_0x2e7ab3=await _0x3171f1[_0x1055ec(0x1ee)](_0x53be23);await this[_0x1055ec(0x1f7)](_0x2e7ab3);const _0x2753f8=new Set(Array[_0x1055ec(0x1ea)](_0x5a9b3c[_0x1055ec(0x1ca)]({'channelId':_0x10e62e}),_0x46d630=>_0x46d630['id']));for(const _0x1bd97b of _0x2e7ab3)_0x1bd97b[_0x1055ec(0x222)]||_0x2753f8[_0x1055ec(0x1e1)](_0x1bd97b[_0x1055ec(0x1e7)]);for(const _0x249dcc of _0x2753f8)_0x5a9b3c[_0x1055ec(0x1fd)](_0x249dcc)[_0x1055ec(0x215)]({'isFromAdapter':!0x0});for(const _0x2dd655 of _0x2e7ab3){let _0x2a0e05=_0x5a9b3c[_0x1055ec(0x1fd)](_0x2dd655[_0x1055ec(0x1e7)]);const {commentThreadId:_0x289ee9,context:_0xf9f74a,attributes:_0xd7e938,resolvedBy:_0x246c8b,resolvedAt:_0x10a215,unlinkedAt:_0x44a92c,deletedAt:_0x1c5aad}=_0x2dd655;if(_0x1c5aad)continue;_0x2a0e05||(_0x2a0e05=_0x5a9b3c[_0x1055ec(0x1d4)]({'channelId':_0x10e62e,'threadId':_0x289ee9,'context':_0xf9f74a,'attributes':_0xd7e938||{},'resolvedBy':_0x246c8b,'resolvedAt':_0x10a215,'unlinkedAt':_0x44a92c,'isFromAdapter':!0x0}));const _0x2a3711=new Set(Array[_0x1055ec(0x1ea)](_0x2a0e05[_0x1055ec(0x21a)],_0x161097=>_0x161097['id']));for(const _0x213a03 of _0x2dd655[_0x1055ec(0x21a)])_0x2a3711[_0x1055ec(0x1e1)](_0x213a03[_0x1055ec(0x1e2)]);for(const _0xffd74f of _0x2a3711)_0x2a0e05[_0x1055ec(0x1f4)](_0xffd74f)[_0x1055ec(0x215)]({'isFromAdapter':!0x0});for(const _0x1a45f6 of _0x2dd655[_0x1055ec(0x21a)]){const _0x3b506c=_0x2a0e05[_0x1055ec(0x1f4)](_0x1a45f6[_0x1055ec(0x1e2)]);_0x3b506c?_0x3b506c[_0x1055ec(0x1c5)]!==_0x1a45f6[_0x1055ec(0x1c5)]&&_0x3b506c[_0x1055ec(0x20d)]({'content':_0x1a45f6[_0x1055ec(0x1c5)],'isFromAdapter':!0x0}):_0x2a0e05[_0x1055ec(0x1e6)](Object[_0x1055ec(0x1c8)](S(_0x1a45f6),{'isFromAdapter':!0x0}));}}}[_0x311b68(0x210)](_0x93e44e){const _0x37bfb3=_0x311b68;if(!this[_0x37bfb3(0x1d3)][_0x37bfb3(0x1d2)](_0x93e44e))throw new _0x394f51(_0x37bfb3(0x1de),null,{'channelId':_0x93e44e});return this[_0x37bfb3(0x1d3)][_0x37bfb3(0x205)](_0x93e44e);}async[_0x311b68(0x1f7)](_0x51dd04){const _0x4574dc=_0x311b68,_0x3b9454=this[_0x4574dc(0x1dc)][_0x4574dc(0x207)][_0x4574dc(0x205)](_0x29add3),{connection:_0x30e36d}=this[_0x4574dc(0x1dc)][_0x4574dc(0x207)][_0x4574dc(0x205)](_0x390e25),_0x316ce7=new Set();for(const {resolvedBy:_0x202c73,comments:_0x3fbb7f}of _0x51dd04){_0x202c73&&!_0x3b9454[_0x4574dc(0x1e4)](_0x202c73)&&_0x316ce7[_0x4574dc(0x201)](_0x202c73);for(const {userId:_0x4b5fc6}of _0x3fbb7f)_0x3b9454[_0x4574dc(0x1e4)](_0x4b5fc6)||_0x316ce7[_0x4574dc(0x201)](_0x4b5fc6);}if(0x0===_0x316ce7[_0x4574dc(0x1ed)])return;const _0x352440=await _0x314a74[_0x4574dc(0x21d)](_0x30e36d,Array[_0x4574dc(0x1ea)](_0x316ce7));for(const _0x5a6a90 of _0x352440)_0x3b9454[_0x4574dc(0x1e4)](_0x5a6a90['id'])||_0x3b9454[_0x4574dc(0x208)](_0x5a6a90);}}a[_0x311b68(0x227)]=_0x634c43;export default a;function _0x55dd(){const _0x3f403b=['getMany','commentUpdated','attributes','commentThreadRemoved','code','deletedAt','Permissions','reopenCommentThread','set','isPremiumPlugin','CommentsService','404','107230cGQdmT','updateCommentThread','229100JfRlGV','content','catch','authorId','assign','reconnect','getCommentThreads','CloudServicesCommentsAdapter','18YnMHfp','resolveCommentThread','cloud-services-internal-error:\x20Not\x20connected.','reopen','cloudservicescommentsadapter-disconnect-not-exist','236suzMIC','has','_services','addCommentThread','231UXEQUn','disconnect','init','userId','map','_setUpService','updateComment','context','message','cloudservicescommentsadapter-service-not-exist','commentThreadReopened','startsWith','delete','commentId','unregister','getUser','requires','addComment','commentThreadId','2880496JpbPNU','commentThreadResolved','from','109308ZLYeCS','getConnectedSessions','size','connect','permissions','addToReconnectionStack','removeCommentThread','listenTo','register','getComment','mySessionId','collaboration.channelId','_fetchMissingUsersForThreads','config','55EtwbLz','8426260JGUfxp','removeComment','commentThreadUpdated','getCommentThread','isOfficialPlugin','setPermissions','CommentsRepository','add','keys','resolvedAt','commentThreadAdded','get','pluginName','plugins','addUser','sessionAdd:','cloudservicescommentsadapter-connect-already-connected','resolve','adapter','update','createdAt','1683232sSvFUv','_getService','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','3804423vhVFdT','commentAdded','remove','off','destroy','commentRemoved','_terminateService','comments','cloud-services-internal-error:\x20Request\x20timeout.','_connectService'];_0x55dd=function(){return _0x3f403b;};return _0x55dd();}async function B(_0x326ad2){const _0x4091b8=_0x311b68;if(_0x4091b8(0x228)!==_0x326ad2[_0x4091b8(0x221)])throw _0x326ad2;}function R(_0x28ad4a){const _0x27db15=_0x311b68;if((_0x3817bb=_0x28ad4a)[_0x27db15(0x1dd)][_0x27db15(0x1e0)](_0x27db15(0x212))||_0x3817bb[_0x27db15(0x1dd)][_0x27db15(0x1e0)](_0x27db15(0x1ce))||_0x3817bb[_0x27db15(0x1dd)][_0x27db15(0x1e0)](_0x27db15(0x21b)))return new Promise(()=>{});var _0x3817bb;throw _0x28ad4a;}function S(_0x279437){const _0x1891af=_0x311b68;return{'threadId':_0x279437[_0x1891af(0x1e7)],'commentId':_0x279437[_0x1891af(0x1e2)],'content':_0x279437[_0x1891af(0x1c5)],'createdAt':_0x279437[_0x1891af(0x20e)],'authorId':_0x279437[_0x1891af(0x1d8)],'attributes':_0x279437[_0x1891af(0x21f)]||{}};}
|
|
23
|
+
function _0x46e3(){const _0x3173c2=['remove','register','code','18jSumMX','cloud-services-internal-error:\x20Request\x20timeout.','add','off','404','30cPtlNO','isOfficialPlugin','commentThreadAdded','reconnect','permissions','get','content','commentThreadResolved','_fetchMissingUsersForThreads','commentThreadRemoved','set','resolveCommentThread','update','CommentsService','comments','commentThreadReopened','resolve','commentId','_terminateService','connect','userId','setPermissions','config','cloudservicescommentsadapter-connect-already-connected','destroy','pluginName','CloudServicesCommentsAdapter','disconnect','startsWith','resolvedBy','commentThreadUpdated','723434MKkxaY','isPremiumPlugin','addComment','getConnectedSessions','_connectService','size','plugins','unregister','commentRemoved','attributes','has','getCommentThreads','removeComment','_services','updateCommentThread','getComment','getUser','76600uQZVJc','authorId','delete','adapter','_setUpService','listenTo','addCommentThread','context','cloudservicescommentsadapter-disconnect-not-exist','getMany','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','deletedAt','map','reopenCommentThread','commentAdded','reopen','1360896SyQIww','commentThreadId','addToReconnectionStack','commentUpdated','mySessionId','_getService','init','1935094xMhqgS','getCommentThread','requires','assign','cloudservicescommentsadapter-service-not-exist','removeCommentThread','496673vJAgRi','createdAt','addUser','sessionAdd:','catch','collaboration.channelId','message','cloud-services-internal-error:\x20Not\x20connected.','2887520DlXfbb','keys','updateComment','Permissions','resolvedAt','from','CommentsRepository','1115286IsmSpB'];_0x46e3=function(){return _0x3173c2;};return _0x46e3();}const _0x21ee67=_0x168e;function _0x168e(_0x2850fe,_0x3c6dd5){const _0x46e39d=_0x46e3();return _0x168e=function(_0x168ee5,_0x54de24){_0x168ee5=_0x168ee5-0x1b4;let _0x8281b=_0x46e39d[_0x168ee5];return _0x8281b;},_0x168e(_0x2850fe,_0x3c6dd5);}(function(_0x7472cd,_0x12fa95){const _0x4f77fa=_0x168e,_0x5f55a1=_0x7472cd();while(!![]){try{const _0x2756a2=parseInt(_0x4f77fa(0x1f2))/0x1+parseInt(_0x4f77fa(0x1c4))/0x2+-parseInt(_0x4f77fa(0x201))/0x3+parseInt(_0x4f77fa(0x1e5))/0x4+-parseInt(_0x4f77fa(0x1d5))/0x5*(parseInt(_0x4f77fa(0x20a))/0x6)+parseInt(_0x4f77fa(0x1ec))/0x7+parseInt(_0x4f77fa(0x1fa))/0x8*(-parseInt(_0x4f77fa(0x205))/0x9);if(_0x2756a2===_0x12fa95)break;else _0x5f55a1['push'](_0x5f55a1['shift']());}catch(_0x475a5d){_0x5f55a1['push'](_0x5f55a1['shift']());}}}(_0x46e3,0x4a6ae));import{Context as _0x5640db,ContextPlugin as _0x2250c8}from'ckeditor5/src/core.js';import{CKEditorError as _0x429c61}from'ckeditor5/src/utils.js';import{Users as _0x3d7ebf}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x171e56,User as _0x340080}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x47f9a6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3c0b4e from'../realtimecollaborativeediting/sessions.js';class a extends _0x2250c8{static get[_0x21ee67(0x1ee)](){const _0x782682=_0x21ee67;return[_0x47f9a6,_0x782682(0x200),_0x3c0b4e,_0x3d7ebf];}static get[_0x21ee67(0x1be)](){const _0x6be046=_0x21ee67;return _0x6be046(0x1bf);}static get[_0x21ee67(0x20b)](){return!0x0;}static get[_0x21ee67(0x1c5)](){return!0x0;}constructor(_0xb8d4a6){const _0x24168a=_0x21ee67;super(_0xb8d4a6),this[_0x24168a(0x1d1)]=new Map();}async[_0x21ee67(0x1eb)](){const _0x5b74ee=_0x21ee67,_0x35a13a=this[_0x5b74ee(0x1dc)],_0x192c5f=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x5b74ee(0x200));if(_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x47f9a6)[_0x5b74ee(0x1e7)](this),_0x192c5f[_0x5b74ee(0x1d8)]={'addCommentThread':async({channelId:_0x2eb1c3,threadId:_0x5c528c,comments:_0x175dc3,resolvedAt:_0x28ae85,resolvedBy:_0x49c751,context:_0x1a4056,attributes:_0x16b5e9})=>{const _0x7ca657=_0x5b74ee,_0x2bbb83=await this[_0x7ca657(0x1ea)](_0x2eb1c3)[_0x7ca657(0x1db)]({'commentThreadId':_0x5c528c,'comments':_0x175dc3[_0x7ca657(0x1e1)](_0xb6d25e=>function(_0x4d14a2,_0x884346,_0x34d73f){const _0x45306f=_0x7ca657;return{'commentThreadId':_0x34d73f,'commentId':_0x4d14a2[_0x45306f(0x1b6)],'userId':_0x4d14a2[_0x45306f(0x1d6)],'content':_0x4d14a2[_0x45306f(0x210)],'documentId':_0x884346,'createdAt':_0x4d14a2[_0x45306f(0x1f3)],'attributes':_0x4d14a2[_0x45306f(0x1cd)]||{}};}(_0xb6d25e,_0x2eb1c3,_0x5c528c)),'resolvedAt':_0x28ae85,'resolvedBy':_0x49c751,'context':_0x1a4056,'attributes':_0x16b5e9})[_0x7ca657(0x1f6)](R);return{'threadId':_0x2bbb83[_0x7ca657(0x1e6)],'comments':_0x2bbb83[_0x7ca657(0x218)]};},'getCommentThread':async({channelId:_0x2fe173,threadId:_0x51ad99})=>{const _0x60f984=_0x5b74ee,_0x34102b=await this[_0x60f984(0x1ea)](_0x2fe173)[_0x60f984(0x1ed)](_0x51ad99)[_0x60f984(0x1f6)](R);return _0x34102b[_0x60f984(0x1e0)]?null:(await this[_0x60f984(0x212)]([_0x34102b]),{'threadId':_0x34102b[_0x60f984(0x1e6)],'comments':_0x34102b[_0x60f984(0x218)][_0x60f984(0x1e1)](S),'context':_0x34102b[_0x60f984(0x1dc)],'resolvedAt':_0x34102b[_0x60f984(0x1fe)],'resolvedBy':_0x34102b[_0x60f984(0x1c2)],'attributes':_0x34102b[_0x60f984(0x1cd)]||{}});},'updateCommentThread':async({channelId:_0x39fd0f,threadId:_0x22721a,context:_0x3ea0fc,unlinkedAt:_0x1e031d,attributes:_0x116d7c})=>this[_0x5b74ee(0x1ea)](_0x39fd0f)[_0x5b74ee(0x1d2)]({'commentThreadId':_0x22721a,'context':_0x3ea0fc,'attributes':_0x116d7c,'unlinkedAt':_0x1e031d})[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'resolveCommentThread':async({channelId:_0x25e12d,threadId:_0x192cc8})=>{const _0x570c05=_0x5b74ee,_0xd5e792=await this[_0x570c05(0x1ea)](_0x25e12d)[_0x570c05(0x215)](_0x192cc8)[_0x570c05(0x1f6)](B)[_0x570c05(0x1f6)](R);return{'threadId':_0xd5e792[_0x570c05(0x1e6)],'resolvedAt':_0xd5e792[_0x570c05(0x1fe)],'resolvedBy':_0xd5e792[_0x570c05(0x1c2)]};},'reopenCommentThread':async({channelId:_0x4c03ac,threadId:_0x5eb106})=>this[_0x5b74ee(0x1ea)](_0x4c03ac)[_0x5b74ee(0x1e2)](_0x5eb106)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeCommentThread':({channelId:_0x2d81d5,threadId:_0x57bacc})=>this[_0x5b74ee(0x1ea)](_0x2d81d5)[_0x5b74ee(0x1f1)](_0x57bacc)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'addComment':({channelId:_0x48482e,threadId:_0xc64b6c,commentId:_0x3519db,content:_0xfbfa9e,attributes:_0xb04e7d})=>this[_0x5b74ee(0x1ea)](_0x48482e)[_0x5b74ee(0x1c6)](_0xc64b6c,_0x3519db,_0xfbfa9e,_0xb04e7d)[_0x5b74ee(0x1f6)](R),'updateComment':({channelId:_0x363bf7,threadId:_0x4b6633,commentId:_0x54c40b,content:_0x3dec76,attributes:_0x21c2c1})=>this[_0x5b74ee(0x1ea)](_0x363bf7)[_0x5b74ee(0x1fc)](_0x4b6633,_0x54c40b,_0x3dec76,_0x21c2c1)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeComment':({channelId:_0x561dbf,threadId:_0x25bd28,commentId:_0x35be40})=>this[_0x5b74ee(0x1ea)](_0x561dbf)[_0x5b74ee(0x1d0)](_0x25bd28,_0x35be40)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R)},_0x35a13a instanceof _0x5640db){const _0x91a61f=_0x35a13a[_0x5b74ee(0x1bb)][_0x5b74ee(0x20f)](_0x5b74ee(0x1f7)),_0x2ed30d=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x3c0b4e);await this[_0x5b74ee(0x1d9)](_0x91a61f);const _0x491bfa=await this[_0x5b74ee(0x1d1)][_0x5b74ee(0x20f)](_0x91a61f)[_0x5b74ee(0x1c7)]();this[_0x5b74ee(0x1da)](_0x2ed30d,_0x5b74ee(0x1f5)+_0x91a61f,(_0x262d7c,{session:_0x254746})=>{const _0x552f3e=_0x5b74ee;_0x254746['id']===_0x2ed30d[_0x552f3e(0x1e9)]&&(_0x262d7c[_0x552f3e(0x208)](),this[_0x552f3e(0x1dc)][_0x552f3e(0x1ca)][_0x552f3e(0x20f)](_0x552f3e(0x1fd))[_0x552f3e(0x1ba)](_0x254746[_0x552f3e(0x20e)],_0x91a61f));}),_0x2ed30d[_0x5b74ee(0x203)](_0x91a61f,_0x491bfa);}}async[_0x21ee67(0x1d9)](_0x3bfaae){const _0x57a071=_0x21ee67;if(this[_0x57a071(0x1d1)][_0x57a071(0x1ce)](_0x3bfaae))throw new _0x429c61(_0x57a071(0x1bc),null,{'channelId':_0x3bfaae});const _0x35b1b6=this[_0x57a071(0x1dc)][_0x57a071(0x1ca)][_0x57a071(0x20f)](_0x57a071(0x200)),_0x58a42e=new a[(_0x57a071(0x217))](_0x3bfaae);this[_0x57a071(0x1d1)][_0x57a071(0x214)](_0x3bfaae,_0x58a42e),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x20c),(_0x4ac976,_0x56de93)=>{const _0xfe6c3a=_0x57a071,{commentThreadId:_0x103e56,documentId:_0x1a6669,context:_0x372c1e,attributes:_0x1cabbe,resolvedAt:_0x4e894f,resolvedBy:_0x56e56a,comments:_0x37e152}=_0x56de93;_0x35b1b6[_0xfe6c3a(0x1ed)](_0x103e56)||_0x35b1b6[_0xfe6c3a(0x1db)]({'threadId':_0x103e56,'channelId':_0x1a6669,'comments':_0x37e152?_0x37e152[_0xfe6c3a(0x1e1)](S):[],'context':_0x372c1e,'attributes':_0x1cabbe,'resolvedAt':_0x4e894f,'resolvedBy':_0x56e56a,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1c3),(_0x1533f4,{commentThreadId:_0x49de52,documentId:_0x4d99d5,context:_0x4d223d,unlinkedAt:_0x1506d7,attributes:_0x40a09c})=>{const _0x433e24=_0x57a071;_0x35b1b6[_0x433e24(0x1ed)](_0x49de52)&&_0x35b1b6[_0x433e24(0x1d2)]({'threadId':_0x49de52,'channelId':_0x4d99d5,'context':_0x4d223d,'unlinkedAt':_0x1506d7,'attributes':_0x40a09c,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x211),(_0x5d80fe,{commentThreadId:_0x5c456d,resolvedBy:_0x22ab2e,resolvedAt:_0x4adddd})=>{const _0x177def=_0x57a071,_0x350556=_0x35b1b6[_0x177def(0x1ed)](_0x5c456d);_0x350556&&_0x350556[_0x177def(0x1b5)]({'resolvedBy':_0x22ab2e,'resolvedAt':_0x4adddd,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1b4),(_0x36cb8b,{commentThreadId:_0x4a955d})=>{const _0x126569=_0x57a071,_0x448acd=_0x35b1b6[_0x126569(0x1ed)](_0x4a955d);_0x448acd&&_0x448acd[_0x126569(0x1e4)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x213),(_0x304a62,{commentThreadId:_0xf6bc81})=>{const _0x1da605=_0x57a071,_0x551595=_0x35b1b6[_0x1da605(0x1ed)](_0xf6bc81);_0x551595&&_0x551595[_0x1da605(0x202)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e3),(_0x38cece,_0x2e52e6)=>{const _0x299505=_0x57a071,_0x45f71f=_0x2e52e6[_0x299505(0x1e6)],_0x512898=_0x35b1b6[_0x299505(0x1ed)](_0x45f71f);_0x512898&&_0x512898[_0x299505(0x1c6)]({...S(_0x2e52e6),'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e8),(_0x28167e,{commentThreadId:_0x1b08ae,commentId:_0x463c75,content:_0x433222,attributes:_0x3b88df})=>{const _0x206828=_0x57a071,_0x42d140=_0x35b1b6[_0x206828(0x1ed)](_0x1b08ae);if(_0x42d140){const _0x35839a=_0x42d140[_0x206828(0x1d3)](_0x463c75);_0x35839a&&_0x35839a[_0x206828(0x216)]({'content':_0x433222,'attributes':_0x3b88df,'isFromAdapter':!0x0});}}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1cc),(_0x12be3d,{commentThreadId:_0x8bf9e4,commentId:_0x286dab})=>{const _0x280cd7=_0x57a071,_0x574159=_0x35b1b6[_0x280cd7(0x1ed)](_0x8bf9e4);if(_0x574159){const _0x303725=_0x574159[_0x280cd7(0x1d3)](_0x286dab);_0x303725&&_0x303725[_0x280cd7(0x202)]({'isFromAdapter':!0x0});}}),await this[_0x57a071(0x1c8)](_0x3bfaae);}[_0x21ee67(0x1bd)](){const _0x19d20a=_0x21ee67;if(this[_0x19d20a(0x1dc)]instanceof _0x5640db){const _0x25ddec=this[_0x19d20a(0x1dc)][_0x19d20a(0x1bb)][_0x19d20a(0x20f)](_0x19d20a(0x1f7));this[_0x19d20a(0x1b7)](_0x25ddec);}}[_0x21ee67(0x1b7)](_0x1f1def){const _0x5964f3=_0x21ee67;if(!this[_0x5964f3(0x1d1)][_0x5964f3(0x1ce)](_0x1f1def))throw new _0x429c61(_0x5964f3(0x1dd),null,{'channelId':_0x1f1def});this[_0x5964f3(0x1ea)](_0x1f1def)[_0x5964f3(0x1c0)](),this[_0x5964f3(0x1d1)][_0x5964f3(0x1d7)](_0x1f1def);}async[_0x21ee67(0x20d)](){const _0xd90857=_0x21ee67;for(const _0x2810e7 of this[_0xd90857(0x1d1)][_0xd90857(0x1fb)]())await this[_0xd90857(0x1c8)](_0x2810e7);if(this[_0xd90857(0x1dc)]instanceof _0x5640db){const _0x485c8f=this[_0xd90857(0x1dc)][_0xd90857(0x1bb)][_0xd90857(0x20f)](_0xd90857(0x1f7)),_0x30fc80=this[_0xd90857(0x1dc)][_0xd90857(0x1ca)][_0xd90857(0x20f)](_0x3c0b4e);_0x30fc80[_0xd90857(0x1cb)](_0x485c8f);const _0x311496=await this[_0xd90857(0x1d1)][_0xd90857(0x20f)](_0x485c8f)[_0xd90857(0x1c7)]();_0x30fc80[_0xd90857(0x203)](_0x485c8f,_0x311496);}}async[_0x21ee67(0x1c8)](_0x333f9d){const _0x4dff06=_0x21ee67,{connection:_0x235770}=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x47f9a6),_0x4ddbf9=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x4dff06(0x200)),_0x5ac819=this[_0x4dff06(0x1d1)][_0x4dff06(0x20f)](_0x333f9d),_0xefcc53=await _0x5ac819[_0x4dff06(0x1b8)](_0x235770);await this[_0x4dff06(0x212)](_0xefcc53);const _0x46f158=new Set(Array[_0x4dff06(0x1ff)](_0x4ddbf9[_0x4dff06(0x1cf)]({'channelId':_0x333f9d}),_0x37fe64=>_0x37fe64['id']));for(const _0x1c1373 of _0xefcc53)_0x1c1373[_0x4dff06(0x1e0)]||_0x46f158[_0x4dff06(0x1d7)](_0x1c1373[_0x4dff06(0x1e6)]);for(const _0x4b3b34 of _0x46f158)_0x4ddbf9[_0x4dff06(0x1ed)](_0x4b3b34)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x13c77d of _0xefcc53){let _0x23d4c5=_0x4ddbf9[_0x4dff06(0x1ed)](_0x13c77d[_0x4dff06(0x1e6)]);const {commentThreadId:_0x1e80f5,context:_0x1a2ea1,attributes:_0x42bcce,resolvedBy:_0x83872a,resolvedAt:_0x4b9a61,unlinkedAt:_0x59762,deletedAt:_0x5bfa3c}=_0x13c77d;if(_0x5bfa3c)continue;_0x23d4c5||(_0x23d4c5=_0x4ddbf9[_0x4dff06(0x1db)]({'channelId':_0x333f9d,'threadId':_0x1e80f5,'context':_0x1a2ea1,'attributes':_0x42bcce||{},'resolvedBy':_0x83872a,'resolvedAt':_0x4b9a61,'unlinkedAt':_0x59762,'isFromAdapter':!0x0}));const _0x4ae376=new Set(Array[_0x4dff06(0x1ff)](_0x23d4c5[_0x4dff06(0x218)],_0x3edbc5=>_0x3edbc5['id']));for(const _0x20486c of _0x13c77d[_0x4dff06(0x218)])_0x4ae376[_0x4dff06(0x1d7)](_0x20486c[_0x4dff06(0x1b6)]);for(const _0xe67ac5 of _0x4ae376)_0x23d4c5[_0x4dff06(0x1d3)](_0xe67ac5)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x5e02c7 of _0x13c77d[_0x4dff06(0x218)]){const _0x72d5b6=_0x23d4c5[_0x4dff06(0x1d3)](_0x5e02c7[_0x4dff06(0x1b6)]);_0x72d5b6?_0x72d5b6[_0x4dff06(0x210)]!==_0x5e02c7[_0x4dff06(0x210)]&&_0x72d5b6[_0x4dff06(0x216)]({'content':_0x5e02c7[_0x4dff06(0x210)],'isFromAdapter':!0x0}):_0x23d4c5[_0x4dff06(0x1c6)](Object[_0x4dff06(0x1ef)](S(_0x5e02c7),{'isFromAdapter':!0x0}));}}}[_0x21ee67(0x1ea)](_0xe5b254){const _0x449a0d=_0x21ee67;if(!this[_0x449a0d(0x1d1)][_0x449a0d(0x1ce)](_0xe5b254))throw new _0x429c61(_0x449a0d(0x1f0),null,{'channelId':_0xe5b254});return this[_0x449a0d(0x1d1)][_0x449a0d(0x20f)](_0xe5b254);}async[_0x21ee67(0x212)](_0x5833c2){const _0x417db4=_0x21ee67,_0x5b38bb=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x3d7ebf),{connection:_0x3186af}=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x47f9a6),_0x51f790=new Set();for(const {resolvedBy:_0x4abd73,comments:_0x9a5d0b}of _0x5833c2){_0x4abd73&&!_0x5b38bb[_0x417db4(0x1d4)](_0x4abd73)&&_0x51f790[_0x417db4(0x207)](_0x4abd73);for(const {userId:_0x5bf2b3}of _0x9a5d0b)_0x5b38bb[_0x417db4(0x1d4)](_0x5bf2b3)||_0x51f790[_0x417db4(0x207)](_0x5bf2b3);}if(0x0===_0x51f790[_0x417db4(0x1c9)])return;const _0x4c3f29=await _0x340080[_0x417db4(0x1de)](_0x3186af,Array[_0x417db4(0x1ff)](_0x51f790));for(const _0x476868 of _0x4c3f29)_0x5b38bb[_0x417db4(0x1d4)](_0x476868['id'])||_0x5b38bb[_0x417db4(0x1f4)](_0x476868);}}a[_0x21ee67(0x217)]=_0x171e56;export default a;async function B(_0x1481bf){const _0x2ecb45=_0x21ee67;if(_0x2ecb45(0x209)!==_0x1481bf[_0x2ecb45(0x204)])throw _0x1481bf;}function R(_0x4b7424){const _0x3d77d0=_0x21ee67;if((_0x647ab=_0x4b7424)[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1df))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1f9))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x206)))return new Promise(()=>{});var _0x647ab;throw _0x4b7424;}function S(_0x20a29b){const _0x14c20b=_0x21ee67;return{'threadId':_0x20a29b[_0x14c20b(0x1e6)],'commentId':_0x20a29b[_0x14c20b(0x1b6)],'content':_0x20a29b[_0x14c20b(0x210)],'createdAt':_0x20a29b[_0x14c20b(0x1f3)],'authorId':_0x20a29b[_0x14c20b(0x1b9)],'attributes':_0x20a29b[_0x14c20b(0x1cd)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4598(){const _0x14138a=['18QXealJ','_setUpService','editor','CommentsRepository','isOfficialPlugin','collaboration.channelId','listenTo','1072554urLMko','1854064QSIlTL','requires','_terminateService','1313580mesDpi','config','plugins','data','663148bpmnde','connected','destroy','once','ready','get','isThreadsLoadingPaused','RealTimeCollaborativeComments','Comments','pluginName','switchReadOnly','init','3734685SNcAHs','585486IbHNUw','change:state','isPremiumPlugin','CommentsEditing','1866764tjRvxY'];_0x4598=function(){return _0x14138a;};return _0x4598();}const _0x1bfab5=_0x433b;(function(_0x394644,_0x34268f){const _0x36b2e6=_0x433b,_0x48f228=_0x394644();while(!![]){try{const _0x16f888=parseInt(_0x36b2e6(0x1e2))/0x1+-parseInt(_0x36b2e6(0x1ef))/0x2+-parseInt(_0x36b2e6(0x1de))/0x3+-parseInt(_0x36b2e6(0x1f3))/0x4+parseInt(_0x36b2e6(0x1ee))/0x5+-parseInt(_0x36b2e6(0x1f4))/0x6*(-parseInt(_0x36b2e6(0x1fb))/0x7)+-parseInt(_0x36b2e6(0x1fc))/0x8;if(_0x16f888===_0x34268f)break;else _0x48f228['push'](_0x48f228['shift']());}catch(_0x39da47){_0x48f228['push'](_0x48f228['shift']());}}}(_0x4598,0x6b97b));import{Plugin as _0x5c170c}from'ckeditor5/src/core.js';function _0x433b(_0x5ef0f1,_0x2caa17){const _0x4598d6=_0x4598();return _0x433b=function(_0x433bda,_0x135cbe){_0x433bda=_0x433bda-0x1dd;let _0x2aff07=_0x4598d6[_0x433bda];return _0x2aff07;},_0x433b(_0x5ef0f1,_0x2caa17);}import _0x3dedc1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x4ac658 from'./realtimecollaborativeediting.js';import _0x31bfe2 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5c170c{static get[_0x1bfab5(0x1fd)](){const _0x3ba04c=_0x1bfab5;return[_0x3ba04c(0x1ea),_0x3dedc1,_0x4ac658,_0x31bfe2];}static get[_0x1bfab5(0x1eb)](){const _0x5633c5=_0x1bfab5;return _0x5633c5(0x1e9);}static get[_0x1bfab5(0x1f8)](){return!0x0;}static get[_0x1bfab5(0x1f1)](){return!0x0;}[_0x1bfab5(0x1ed)](){const _0xe86ed2=_0x1bfab5,_0x31ec8c=this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e0)][_0xe86ed2(0x1e7)](_0x31bfe2),_0x5a91b4=this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e0)][_0xe86ed2(0x1e7)](_0xe86ed2(0x1f2)),_0xa31de3=this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e0)][_0xe86ed2(0x1e7)](_0x3dedc1);return this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e1)][_0xe86ed2(0x1e5)](_0xe86ed2(0x1e6),()=>{const _0x44bd2e=_0xe86ed2;this[_0x44bd2e(0x1fa)](_0x31ec8c,_0x44bd2e(0x1f0),(_0x5e19c2,_0x4b8f13,_0x16485b)=>{const _0x2fc153=_0x44bd2e;_0x5a91b4[_0x2fc153(0x1e8)]=_0x2fc153(0x1e3)!==_0x16485b;});}),this[_0xe86ed2(0x1fa)](_0x31ec8c,_0xe86ed2(0x1f0),(_0x33692a,_0x1cb405,_0x3050eb)=>{const _0x3c2347=_0xe86ed2;this[_0x3c2347(0x1f6)][_0x3c2347(0x1e0)][_0x3c2347(0x1e7)](_0x3c2347(0x1f7))[_0x3c2347(0x1ec)](_0x3c2347(0x1e3)!==_0x3050eb);}),_0xa31de3[_0xe86ed2(0x1f5)](this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1df)][_0xe86ed2(0x1e7)](_0xe86ed2(0x1f9)));}[_0x1bfab5(0x1e4)](){const _0x3e1174=_0x1bfab5;this[_0x3e1174(0x1f6)][_0x3e1174(0x1e0)][_0x3e1174(0x1e7)](_0x3dedc1)[_0x3e1174(0x1dd)](this[_0x3e1174(0x1f6)][_0x3e1174(0x1df)][_0x3e1174(0x1e7)](_0x3e1174(0x1f9))),super[_0x3e1174(0x1e4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x112b77=_0x1823;(function(_0x4b4f83,_0x21eeaf){const _0x18a279=_0x1823,_0x43daaf=_0x4b4f83();while(!![]){try{const _0x59c6d3=parseInt(_0x18a279(0x144))/0x1*(-parseInt(_0x18a279(0x245))/0x2)+parseInt(_0x18a279(0x17d))/0x3+parseInt(_0x18a279(0x1ab))/0x4*(parseInt(_0x18a279(0x1f1))/0x5)+-parseInt(_0x18a279(0x193))/0x6*(-parseInt(_0x18a279(0x192))/0x7)+-parseInt(_0x18a279(0x196))/0x8+parseInt(_0x18a279(0x158))/0x9+-parseInt(_0x18a279(0x1a1))/0xa*(parseInt(_0x18a279(0x1e3))/0xb);if(_0x59c6d3===_0x21eeaf)break;else _0x43daaf['push'](_0x43daaf['shift']());}catch(_0x122dd0){_0x43daaf['push'](_0x43daaf['shift']());}}}(_0x4f60,0x6c430));import{Plugin as _0x1b3aed,PendingActions as _0x139f0a}from'ckeditor5/src/core.js';import{CKEditorError as _0x48ba81,version as _0x2514b9,uid as _0x145919}from'ckeditor5/src/utils.js';import{Notification as _0x14c6cc}from'ckeditor5/src/ui.js';import{transformSets as _0x3316bb,NoOperation as _0x4422aa,InsertOperation as _0x33fa77,MarkerOperation as _0x1ecfd2,RootAttributeOperation as _0x5abc11,OperationFactory as _0x2860e0,History as _0xfba1d5}from'ckeditor5/src/engine.js';import _0x231a46 from'./websocketgateway.js';import _0x191ad7 from'./sessions.js';function _0x1823(_0x385467,_0x5a538c){const _0x4f6001=_0x4f60();return _0x1823=function(_0x182383,_0x57ab45){_0x182383=_0x182383-0x141;let _0x4f3896=_0x4f6001[_0x182383];return _0x4f3896;},_0x1823(_0x385467,_0x5a538c);}import _0x536719 from'./usermarkers.js';import{getTranslation as _0x5a83da}from'../common-translations.js';import{Compressor as _0x34293b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3c2213}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5251a4,CollaborativeEditingService as _0x1e7fcb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1b3aed{static get[_0x112b77(0x16d)](){return[_0x231a46,_0x191ad7,_0x536719,_0x139f0a,_0x3c2213,_0x14c6cc];}static get[_0x112b77(0x22d)](){const _0x4e5f68=_0x112b77;return _0x4e5f68(0x229);}static get[_0x112b77(0x1bf)](){return!0x0;}static get[_0x112b77(0x20f)](){return!0x0;}get[_0x112b77(0x1f6)](){const _0x5232b4=_0x112b77;return this[_0x5232b4(0x22e)]+this[_0x5232b4(0x1fa)];}get[_0x112b77(0x22e)](){const _0xeaceee=_0x112b77;return this[_0xeaceee(0x234)][_0xeaceee(0x14f)]-this[_0xeaceee(0x1fa)];}get[_0x112b77(0x145)](){const _0x2ea598=_0x112b77,_0x50f008=this[_0x2ea598(0x234)][_0x2ea598(0x16e)]();for(let _0x5f2e04=_0x50f008[_0x2ea598(0x155)]-0x1;_0x5f2e04>=0x0;_0x5f2e04--){const _0x46b0b0=_0x50f008[_0x5f2e04];if(!this[_0x2ea598(0x173)][_0x2ea598(0x141)](_0x46b0b0))return _0x46b0b0[_0x2ea598(0x174)]+0x1-this[_0x2ea598(0x1fa)];}return 0x0;}constructor(_0x5aa0f8){const _0x2e2cbf=_0x112b77;if(super(_0x5aa0f8),this[_0x2e2cbf(0x1fa)]=0x0,this[_0x2e2cbf(0x150)]=null,this[_0x2e2cbf(0x234)]=new _0xfba1d5(),this[_0x2e2cbf(0x219)][_0x2e2cbf(0x224)][_0x2e2cbf(0x1de)](_0x2e2cbf(0x1ec),{}),this[_0x2e2cbf(0x1e1)]=this[_0x2e2cbf(0x219)][_0x2e2cbf(0x224)][_0x2e2cbf(0x246)](_0x2e2cbf(0x17b)),!this[_0x2e2cbf(0x1e1)])throw new _0x48ba81(_0x2e2cbf(0x198),this);const _0xbf7ed9=_0x5aa0f8[_0x2e2cbf(0x224)][_0x2e2cbf(0x246)](_0x2e2cbf(0x1ba))||_0x2514b9;this[_0x2e2cbf(0x225)]=new l[(_0x2e2cbf(0x18e))](_0xbf7ed9,this[_0x2e2cbf(0x1e1)]),this[_0x2e2cbf(0x1dc)]=this[_0x2e2cbf(0x219)][_0x2e2cbf(0x1ce)][_0x2e2cbf(0x1c8)],this[_0x2e2cbf(0x14e)]=new _0x34293b(),this[_0x2e2cbf(0x1e7)]=[],this[_0x2e2cbf(0x16a)]=new WeakSet(),this[_0x2e2cbf(0x147)]=new Set(),this[_0x2e2cbf(0x160)](_0x2e2cbf(0x1db),!0x1),this[_0x2e2cbf(0x160)](_0x2e2cbf(0x1f7),!0x1),this[_0x2e2cbf(0x184)]=null,this[_0x2e2cbf(0x210)]=!0x1,this[_0x2e2cbf(0x1cc)]=null,this[_0x2e2cbf(0x1ee)]=0x12c,this[_0x2e2cbf(0x23f)]=this[_0x2e2cbf(0x1ee)],this[_0x2e2cbf(0x1f8)]=null,this[_0x2e2cbf(0x173)]=new WeakSet(),this[_0x2e2cbf(0x1d4)]=new X(this[_0x2e2cbf(0x173)]);}[_0x112b77(0x216)](){const _0x5ea981=_0x112b77,_0x2b82ad=this[_0x5ea981(0x219)],_0x11c295=_0x2b82ad[_0x5ea981(0x18a)][_0x5ea981(0x246)](_0x3c2213),_0x1b29ec=_0x2b82ad[_0x5ea981(0x18a)][_0x5ea981(0x246)](_0x231a46);this[_0x5ea981(0x161)](_0x11c295,_0x5ea981(0x1d6),(_0x20fdae,_0x10fdd4)=>{const _0x56b76e=_0x5ea981,_0x6b6c=_0x10fdd4[0x0];_0x6b6c[_0x56b76e(0x20d)]&&(_0x20fdae[_0x56b76e(0x162)]=_0x11c295[_0x56b76e(0x20c)](_0x6b6c[_0x56b76e(0x20d)]),_0x20fdae[_0x56b76e(0x1aa)]()),null===_0x6b6c[_0x56b76e(0x20d)]&&(_0x20fdae[_0x56b76e(0x162)]=null,_0x20fdae[_0x56b76e(0x1aa)]());},{'priority':_0x5ea981(0x1f9)}),this[_0x5ea981(0x161)](_0x2b82ad[_0x5ea981(0x1ce)][_0x5ea981(0x1c8)][_0x5ea981(0x1d0)],_0x5ea981(0x1f4),(_0x3f4ee6,_0x5065da)=>{const _0x4514d3=_0x5ea981;_0x5065da[_0x4514d3(0x153)]&&this[_0x4514d3(0x14b)]();}),this[_0x5ea981(0x161)](_0x2b82ad[_0x5ea981(0x1c6)][_0x5ea981(0x237)],_0x5ea981(0x21e),()=>{const _0x43ff65=_0x5ea981;this[_0x43ff65(0x14b)]();}),this[_0x5ea981(0x182)](),_0x2b82ad[_0x5ea981(0x1ce)]['on'](_0x5ea981(0x232),(_0x241999,_0x59e5e7)=>{const _0x18a9a4=_0x5ea981,_0x58ba61=_0x59e5e7[0x0];_0x58ba61[_0x18a9a4(0x239)]&&(this[_0x18a9a4(0x1f2)](_0x58ba61),this[_0x18a9a4(0x227)]()&&this[_0x18a9a4(0x1cb)]());}),this[_0x5ea981(0x179)](),this[_0x5ea981(0x19b)](_0x5ea981(0x1a2))['to'](_0x1b29ec,_0x5ea981(0x1a4),this,_0x5ea981(0x1f7),(_0x1bed5e,_0x2c6943)=>_0x5ea981(0x191)===_0x1bed5e&&!_0x2c6943),this['on'](_0x5ea981(0x1ef),()=>{const _0x527ff0=_0x5ea981;this[_0x527ff0(0x1a2)]?_0x2b82ad[_0x527ff0(0x197)](_0x527ff0(0x244)):_0x2b82ad[_0x527ff0(0x152)](_0x527ff0(0x244));}),this[_0x5ea981(0x1a2)]?_0x2b82ad[_0x5ea981(0x197)](_0x5ea981(0x244)):_0x2b82ad[_0x5ea981(0x152)](_0x5ea981(0x244)),this[_0x5ea981(0x160)](_0x5ea981(0x1d5),!0x1);}async[_0x112b77(0x163)](){const _0x11fd35=_0x112b77,_0x451923=this[_0x11fd35(0x219)][_0x11fd35(0x18a)][_0x11fd35(0x246)](_0x191ad7),_0x3c2dea=this[_0x11fd35(0x219)][_0x11fd35(0x18a)][_0x11fd35(0x246)](_0x231a46);try{this[_0x11fd35(0x1db)]=!0x0,_0x451923[_0x11fd35(0x1c2)](this[_0x11fd35(0x1e1)]);const _0x3b179c=await this[_0x11fd35(0x225)][_0x11fd35(0x163)](_0x3c2dea[_0x11fd35(0x1bc)],this[_0x11fd35(0x145)]);await this[_0x11fd35(0x241)](_0x3b179c)&&(this[_0x11fd35(0x1db)]=!0x1,this[_0x11fd35(0x1bd)]());const _0x2c765c=await this[_0x11fd35(0x225)][_0x11fd35(0x1c0)]();_0x451923[_0x11fd35(0x15e)](this[_0x11fd35(0x1e1)],_0x2c765c),this[_0x11fd35(0x1e9)](),this[_0x11fd35(0x1d5)]=!0x0;}catch(_0x49a226){if(function(_0x26a7cc){const _0x59567f=_0x11fd35;return _0x59567f(0x18d)===_0x26a7cc[_0x59567f(0x213)];}(_0x49a226)&&this[_0x11fd35(0x150)])await this[_0x11fd35(0x1e0)]();else{if(function(_0x3a53c8){const _0x8cf601=_0x11fd35;return _0x8cf601(0x1fb)===_0x3a53c8[_0x8cf601(0x213)];}(_0x49a226)){const _0x1d667c=_0x5a83da(this[_0x11fd35(0x219)][_0x11fd35(0x1ed)],_0x11fd35(0x21b));this[_0x11fd35(0x1c9)](_0x1d667c);}else{if(!(_0x49a226 instanceof J))throw _0x49a226;this[_0x11fd35(0x1c9)]();}}}}[_0x112b77(0x235)](){const _0x4a184b=_0x112b77,_0x33fde9=this[_0x4a184b(0x219)][_0x4a184b(0x18a)][_0x4a184b(0x246)](_0x231a46),_0x1c7b0c=this[_0x4a184b(0x219)][_0x4a184b(0x18a)][_0x4a184b(0x246)](_0x191ad7);this[_0x4a184b(0x219)][_0x4a184b(0x152)](_0x4a184b(0x19f)),_0x1c7b0c[_0x4a184b(0x222)][_0x4a184b(0x141)](this[_0x4a184b(0x1e1)])&&_0x1c7b0c[_0x4a184b(0x1c2)](this[_0x4a184b(0x1e1)]),_0x33fde9[_0x4a184b(0x18c)](this),this[_0x4a184b(0x1d1)](),super[_0x4a184b(0x235)]();}async[_0x112b77(0x241)](_0x420c92){const _0x385ea8=_0x112b77;if(this[_0x385ea8(0x150)]!==_0x420c92[_0x385ea8(0x150)]&&this[_0x385ea8(0x1f8)]!==_0x420c92[_0x385ea8(0x1a5)])throw new J();return this[_0x385ea8(0x150)]=_0x420c92[_0x385ea8(0x150)],this[_0x385ea8(0x22b)]([],{..._0x420c92,'wereChangesApplied':!0x1,'data':_0x420c92[_0x385ea8(0x1e6)]},_0x385ea8(0x163));}async[_0x112b77(0x17f)](_0x2d2d46,_0x35a567=!0x1){const _0xf703c9=_0x112b77,{connection:_0x21b216}=this[_0xf703c9(0x219)][_0xf703c9(0x18a)][_0xf703c9(0x246)](_0x231a46);l[_0xf703c9(0x18e)][_0xf703c9(0x1c0)](_0x21b216,this[_0xf703c9(0x1e1)])[_0xf703c9(0x20e)](_0x2c067f=>this[_0xf703c9(0x1b3)](_0x2c067f))[_0xf703c9(0x1a6)](_0x1785a4=>{const _0x7bc36a=_0xf703c9;this[_0x7bc36a(0x1df)](_0x7bc36a(0x200),_0x1785a4);}),this[_0xf703c9(0x161)](this[_0xf703c9(0x225)],_0xf703c9(0x238),this[_0xf703c9(0x183)][_0xf703c9(0x19b)](this)),this[_0xf703c9(0x161)](this[_0xf703c9(0x225)],_0xf703c9(0x19a),(_0x24080b,_0x4e79bf)=>{const _0x25f69d=_0xf703c9;this[_0x25f69d(0x1df)](_0x25f69d(0x205),_0x4e79bf);}),this[_0xf703c9(0x161)](this[_0xf703c9(0x225)],_0xf703c9(0x1f0),()=>{const _0x205c89=_0xf703c9;this[_0x205c89(0x1d5)]=!0x1;});const _0x2d7c0e=this[_0xf703c9(0x1d4)][_0xf703c9(0x1b5)](_0x2d2d46);this[_0xf703c9(0x1db)]=!0x0;const _0x3f8d7e=await this[_0xf703c9(0x225)][_0xf703c9(0x1e8)](_0x21b216,this[_0xf703c9(0x167)](_0x2d2d46),_0x2d7c0e);if(this[_0xf703c9(0x150)]=_0x3f8d7e[_0xf703c9(0x150)],_0x35a567){if(!_0x3f8d7e[_0xf703c9(0x1ff)])return void this[_0xf703c9(0x1c9)]();this[_0xf703c9(0x1db)]=!0x1,this[_0xf703c9(0x1bd)](),this[_0xf703c9(0x234)][_0xf703c9(0x15c)](),this[_0xf703c9(0x1fa)]=_0x3f8d7e[_0xf703c9(0x1a9)],this[_0xf703c9(0x234)][_0xf703c9(0x14f)]=this[_0xf703c9(0x1fa)],await this[_0xf703c9(0x22b)](_0x2d2d46,_0x3f8d7e,_0xf703c9(0x186));}else await this[_0xf703c9(0x1ac)](_0x3f8d7e,_0x2d2d46);this[_0xf703c9(0x1e9)](),this[_0xf703c9(0x1d5)]=!0x0;}[_0x112b77(0x1e9)](){const _0x51b19a=_0x112b77,_0x34ed97=this[_0x51b19a(0x219)][_0x51b19a(0x18a)][_0x51b19a(0x246)](_0x191ad7),_0x3bf050=this[_0x51b19a(0x219)][_0x51b19a(0x18a)][_0x51b19a(0x246)](_0x536719),_0x5b2f37=_0x34ed97[_0x51b19a(0x222)][_0x51b19a(0x246)](this[_0x51b19a(0x1e1)]);_0x5b2f37&&_0x5b2f37[_0x51b19a(0x155)]>0x1?_0x3bf050[_0x51b19a(0x1cf)]():this[_0x51b19a(0x161)](_0x34ed97,_0x51b19a(0x203)+this[_0x51b19a(0x1e1)],()=>{const _0x5ee478=_0x51b19a;0x2===_0x34ed97[_0x5ee478(0x222)][_0x5ee478(0x246)](this[_0x5ee478(0x1e1)])[_0x5ee478(0x155)]&&_0x3bf050[_0x5ee478(0x1cf)]();});}async[_0x112b77(0x183)](_0x3acb79,_0x51f29e,_0x3a59aa,_0x422d72){const _0x4ed1a0=_0x112b77;if(!this[_0x4ed1a0(0x1db)]&&this[_0x4ed1a0(0x1dc)][_0x4ed1a0(0x14f)]==_0x51f29e){const _0x564e96=this[_0x4ed1a0(0x1b0)](_0x3a59aa,_0x422d72);await this[_0x4ed1a0(0x151)](_0x564e96),this[_0x4ed1a0(0x188)](_0x564e96,_0x51f29e,_0x3a59aa[_0x4ed1a0(0x1a5)])||this[_0x4ed1a0(0x1df)](_0x4ed1a0(0x204));}}async[_0x112b77(0x1e0)](){const _0xa0939f=_0x112b77;this[_0xa0939f(0x1d1)]();const {locale:_0x21b3ba}=this[_0xa0939f(0x219)];let _0x3c339c;try{_0x3c339c=await this[_0xa0939f(0x225)][_0xa0939f(0x1ea)]();}catch(_0xf1ab8b){const _0x5e46ea=_0x5a83da(_0x21b3ba,_0xa0939f(0x15b));return void this[_0xa0939f(0x1c9)](_0x5e46ea);}const _0x28ac03=_0x3c339c[_0xa0939f(0x21d)]||_0x3c339c[_0xa0939f(0x194)];if(this[_0xa0939f(0x1f8)]===_0x28ac03[_0xa0939f(0x1a5)])await this[_0xa0939f(0x17f)](this[_0xa0939f(0x219)][_0xa0939f(0x1ce)][_0xa0939f(0x1c8)][_0xa0939f(0x1a3)][_0xa0939f(0x16e)](),!0x0);else{const _0x150cc4=_0x5a83da(_0x21b3ba,_0xa0939f(0x202));this[_0xa0939f(0x1c9)](_0x150cc4);}}[_0x112b77(0x1d1)](){const _0x38756f=_0x112b77;this[_0x38756f(0x225)][_0x38756f(0x240)](),this[_0x38756f(0x1e7)]=[],clearTimeout(this[_0x38756f(0x1cc)]),this[_0x38756f(0x1fe)](this[_0x38756f(0x225)]);}[_0x112b77(0x1b3)](_0xe1b147){const _0x17e118=_0x112b77,_0xd349a6=this[_0x17e118(0x219)][_0x17e118(0x18a)][_0x17e118(0x246)](_0x191ad7);this[_0x17e118(0x161)](_0xd349a6,_0x17e118(0x203)+this[_0x17e118(0x1e1)],(_0x13759c,{session:_0x1b2667})=>{const _0x4d14c7=_0x17e118;if(_0x1b2667['id']===_0xd349a6[_0x4d14c7(0x1ae)]){_0x13759c[_0x4d14c7(0x220)]();const _0x4a2188=this[_0x4d14c7(0x219)][_0x4d14c7(0x18a)][_0x4d14c7(0x141)](_0x4d14c7(0x236))&&this[_0x4d14c7(0x219)][_0x4d14c7(0x18a)][_0x4d14c7(0x246)](_0x4d14c7(0x236));let _0x1c9619=_0x1b2667[_0x4d14c7(0x1a0)];_0x4a2188&&_0x4a2188[_0x4d14c7(0x1f3)]&&(_0x1c9619=_0x1c9619[_0x4d14c7(0x207)](_0x297679=>_0x4d14c7(0x16f)!==_0x297679)),this[_0x4d14c7(0x219)][_0x4d14c7(0x18a)][_0x4d14c7(0x246)](_0x4d14c7(0x165))[_0x4d14c7(0x221)](_0x1c9619,this[_0x4d14c7(0x1e1)]);}}),_0xd349a6[_0x17e118(0x15e)](this[_0x17e118(0x1e1)],_0xe1b147);}[_0x112b77(0x182)](){const _0xd5b028=_0x112b77,_0x56034c=this[_0xd5b028(0x219)][_0xd5b028(0x1e6)][_0xd5b028(0x160)];this[_0xd5b028(0x219)][_0xd5b028(0x1e6)][_0xd5b028(0x160)]=(..._0x3eac59)=>{const _0xbbec8=_0xd5b028;if(!_0x3eac59[_0x3eac59[_0xbbec8(0x155)]-0x1][_0xbbec8(0x199)])throw new _0x48ba81(_0xbbec8(0x187),this);_0x56034c[_0xbbec8(0x1d9)](this[_0xbbec8(0x219)][_0xbbec8(0x1e6)],_0x3eac59);};}[_0x112b77(0x179)](){const _0x7bb5b=_0x112b77;this[_0x7bb5b(0x219)][_0x7bb5b(0x1e6)]['on'](_0x7bb5b(0x216),(_0x520c99,[_0x5a69e0])=>{const _0x846b02=_0x7bb5b;if(this[_0x846b02(0x1dc)][_0x846b02(0x14f)])throw new _0x48ba81(_0x846b02(0x218),this);_0x520c99[_0x846b02(0x1aa)](),this[_0x846b02(0x18f)]();const _0x4c4daf=this[_0x846b02(0x219)][_0x846b02(0x224)][_0x846b02(0x246)](_0x846b02(0x178)),_0x3c3644=this[_0x846b02(0x190)](_0x5a69e0,_0x4c4daf);0x0==_0x3c3644[_0x846b02(0x155)]&&_0x3c3644[_0x846b02(0x1a8)](new _0x4422aa(0x0)),_0x520c99[_0x846b02(0x162)]=this[_0x846b02(0x17f)](_0x3c3644)[_0x846b02(0x20e)](()=>{const _0x10148c=_0x846b02;this[_0x10148c(0x219)][_0x10148c(0x18a)][_0x10148c(0x246)](_0x231a46)[_0x10148c(0x201)](this),this[_0x10148c(0x219)][_0x10148c(0x1e6)][_0x10148c(0x1cd)](_0x10148c(0x1fc));})[_0x846b02(0x1a6)](_0x1d5aaa=>this[_0x846b02(0x1df)](_0x846b02(0x1ad),_0x1d5aaa))[_0x846b02(0x212)](()=>this[_0x846b02(0x1bd)]());},{'priority':_0x7bb5b(0x1f9)}),this[_0x7bb5b(0x219)]['on'](_0x7bb5b(0x1b9),async(_0xfc022a,[_0x3ccc4f,_0x3c4192])=>{const _0x2e2fea=_0x7bb5b;_0xfc022a[_0x2e2fea(0x1aa)]();const _0x8f1326=this[_0x2e2fea(0x219)][_0x2e2fea(0x1ce)][_0x2e2fea(0x1c8)][_0x2e2fea(0x19d)](_0x3ccc4f);if(!this[_0x2e2fea(0x147)][_0x2e2fea(0x141)](_0x3ccc4f)){const _0xf61799=_0x3c4192&&_0x3c4192[_0x2e2fea(0x1e6)]?_0x3c4192[_0x2e2fea(0x1e6)]:'',_0x50471b=_0x3c4192&&_0x3c4192[_0x2e2fea(0x14d)]?_0x3c4192[_0x2e2fea(0x14d)]:{};await this[_0x2e2fea(0x22f)](_0x3ccc4f,_0xf61799,_0x50471b);}this[_0x2e2fea(0x219)][_0x2e2fea(0x1ce)][_0x2e2fea(0x1da)]({'isUndoable':!0x1},()=>{const _0x138f1c=_0x2e2fea;_0x8f1326[_0x138f1c(0x156)]=!0x0,this[_0x138f1c(0x219)][_0x138f1c(0x1ce)][_0x138f1c(0x1c8)][_0x138f1c(0x18b)][_0x138f1c(0x1af)](_0x8f1326);});},{'priority':_0x7bb5b(0x1f9)});}async[_0x112b77(0x151)](_0x382ef8){const _0x2649c=_0x112b77,_0x212508=this[_0x2649c(0x219)][_0x2649c(0x18a)][_0x2649c(0x246)](_0x3c2213),{connection:_0x2c736e}=this[_0x2649c(0x219)][_0x2649c(0x18a)][_0x2649c(0x246)](_0x231a46),_0x421bac=new Set();for(const _0x3b6886 of _0x382ef8){const _0x261cb4=_0x3b6886[_0x2649c(0x20d)];_0x261cb4&&!_0x212508[_0x2649c(0x20c)](_0x261cb4)&&_0x421bac[_0x2649c(0x143)](_0x261cb4);}if(0x0===_0x421bac[_0x2649c(0x181)])return;const _0x4195a8=await _0x5251a4[_0x2649c(0x1e2)](_0x2c736e,Array[_0x2649c(0x223)](_0x421bac));for(const _0x43d8b3 of _0x4195a8)_0x212508[_0x2649c(0x20c)](_0x43d8b3['id'])||_0x212508[_0x2649c(0x1c3)](_0x43d8b3);}[_0x112b77(0x190)](_0x16a933,_0x2df909={}){const _0x198794=_0x112b77,_0x4c5014=this[_0x198794(0x219)][_0x198794(0x1ce)],_0x3028ad=[];let _0x56a3f5=0x0;const _0x407587=_0x198794(0x166)==typeof _0x16a933?{'main':_0x16a933}:_0x16a933;for(const _0x34afe9 of Object[_0x198794(0x23d)](_0x407587)){if(!this[_0x198794(0x1dc)][_0x198794(0x154)][_0x198794(0x141)](_0x34afe9))throw new _0x48ba81(_0x198794(0x1d3),this);const _0x2ad87d=this[_0x198794(0x219)][_0x198794(0x1e6)][_0x198794(0x17c)](_0x407587[_0x34afe9]),_0x56323e=this[_0x198794(0x1dc)][_0x198794(0x19d)](_0x34afe9),_0x3ea3c3=new _0x33fa77(_0x4c5014[_0x198794(0x211)](_0x56323e,0x0),_0x2ad87d,_0x56a3f5++);_0x3028ad[_0x198794(0x1a8)](_0x3ea3c3);for(const [_0x50e279,_0x4fbf26]of _0x2ad87d[_0x198794(0x171)]){const _0x1d679a=_0x4c5014[_0x198794(0x1b8)](_0x4c5014[_0x198794(0x17e)](_0x56323e,_0x4fbf26[_0x198794(0x157)][_0x198794(0x20b)][_0x198794(0x146)]()),_0x4c5014[_0x198794(0x17e)](_0x56323e,_0x4fbf26[_0x198794(0x1c1)][_0x198794(0x20b)][_0x198794(0x146)]())),_0x2dc2cc=new _0x1ecfd2(_0x50e279,null,_0x1d679a,_0x4c5014[_0x198794(0x171)],!0x0,_0x56a3f5++);_0x3028ad[_0x198794(0x1a8)](_0x2dc2cc);}}if(_0x2df909)for(const [_0x501446,_0x49bf50]of Object[_0x198794(0x1c4)](_0x2df909)){const _0xfbfc55=_0x4c5014[_0x198794(0x1c8)][_0x198794(0x19d)](_0x501446);if(!_0xfbfc55)throw new _0x48ba81(_0x198794(0x1dd),null);for(const [_0x18b7fd,_0x132688]of Object[_0x198794(0x1c4)](_0x49bf50))if(null!==_0x132688){const _0x546328=new _0x5abc11(_0xfbfc55,_0x18b7fd,null,_0x132688,_0x56a3f5++);_0x3028ad[_0x198794(0x1a8)](_0x546328);}}return _0x3028ad;}async[_0x112b77(0x22f)](_0x5b4cde,_0x4a830d,_0x50d71b){const _0x295a89=_0x112b77;this[_0x295a89(0x190)]({[_0x5b4cde]:_0x4a830d},{[_0x5b4cde]:_0x50d71b})[_0x295a89(0x180)]((_0x3ef024,_0xb51c3)=>{const _0x32c466=_0x295a89;_0x3ef024[_0x32c466(0x174)]=this[_0x32c466(0x1dc)][_0x32c466(0x14f)]+_0xb51c3,_0x3ef024[_0x32c466(0x1c7)]=!0x0,this[_0x32c466(0x1f2)](_0x3ef024);}),this[_0x295a89(0x1cb)](),await this[_0x295a89(0x228)]();}async[_0x112b77(0x1ac)](_0x202662,_0x232ef2){const _0x10fc84=_0x112b77;let _0x36f692;this[_0x10fc84(0x1fa)]=_0x202662[_0x10fc84(0x1a9)];const _0x7f93d5=_0x202662[_0x10fc84(0x1ff)]&&!_0x202662[_0x10fc84(0x195)],_0x1d6b5f=_0x7f93d5?0x0:_0x202662[_0x10fc84(0x1e6)][_0x10fc84(0x174)];if(_0x232ef2[_0x10fc84(0x180)](_0x4c78e5=>{const _0x4ab15b=_0x10fc84;_0x4c78e5[_0x4ab15b(0x1c7)]=!0x0,_0x4c78e5[_0x4ab15b(0x243)]=_0x202662[_0x4ab15b(0x206)],_0x4c78e5[_0x4ab15b(0x20d)]=null;}),_0x7f93d5)_0x36f692=_0x232ef2,this[_0x10fc84(0x226)](_0x36f692,_0x7f93d5);else{if(_0x202662[_0x10fc84(0x195)]){const _0x5b0131=this[_0x10fc84(0x190)](_0x202662[_0x10fc84(0x195)]);this[_0x10fc84(0x1dc)][_0x10fc84(0x1a3)][_0x10fc84(0x14f)]=-_0x5b0131[_0x10fc84(0x155)],_0x5b0131[_0x10fc84(0x180)](_0x281a96=>{const _0x451067=_0x10fc84;_0x281a96[_0x451067(0x174)]-=_0x5b0131[_0x451067(0x155)],_0x281a96[_0x451067(0x243)]=_0x202662[_0x451067(0x206)],_0x281a96[_0x451067(0x1c7)]=!0x0,_0x281a96[_0x451067(0x20d)]=null;}),this[_0x10fc84(0x226)](_0x5b0131,!0x0),this[_0x10fc84(0x234)][_0x10fc84(0x14f)]=-_0x5b0131[_0x10fc84(0x155)]+this[_0x10fc84(0x1fa)],this[_0x10fc84(0x164)](_0x5b0131);}this[_0x10fc84(0x1dc)][_0x10fc84(0x1a3)][_0x10fc84(0x14f)]=_0x1d6b5f,_0x36f692=this[_0x10fc84(0x1b0)](_0x202662[_0x10fc84(0x1e6)],_0x202662[_0x10fc84(0x217)]),await this[_0x10fc84(0x151)](_0x36f692),this[_0x10fc84(0x226)](_0x36f692,_0x7f93d5);}_0x202662[_0x10fc84(0x1a5)]&&(this[_0x10fc84(0x1d4)][_0x10fc84(0x1e5)](_0x36f692,_0x202662[_0x10fc84(0x1a5)]),this[_0x10fc84(0x1f8)]=_0x202662[_0x10fc84(0x1a5)]),this[_0x10fc84(0x234)][_0x10fc84(0x14f)]=_0x1d6b5f+this[_0x10fc84(0x1fa)],this[_0x10fc84(0x164)](_0x36f692),_0x232ef2[_0x10fc84(0x207)](_0x26e33b=>{const _0x20e6cc=_0x10fc84,_0x2e54b5=this[_0x20e6cc(0x1b1)](_0x26e33b);return _0x2e54b5&&!this[_0x20e6cc(0x147)][_0x20e6cc(0x141)](_0x2e54b5);})[_0x10fc84(0x180)]((_0x3aff4a,_0x707f72)=>{const _0x907565=_0x10fc84;_0x3aff4a[_0x907565(0x174)]=this[_0x907565(0x1dc)][_0x907565(0x14f)]+_0x707f72,this[_0x907565(0x1f2)](_0x3aff4a);}),this[_0x10fc84(0x227)]()?(this[_0x10fc84(0x23f)]=0x0,this[_0x10fc84(0x1cb)](!0x0),await this[_0x10fc84(0x228)]()):(this[_0x10fc84(0x1db)]=!0x1,this[_0x10fc84(0x1bd)]());}[_0x112b77(0x1df)](_0x498b5e,_0x45d373,_0xc30641){const _0x175388=_0x112b77;throw this[_0x175388(0x1db)]=!0x0,_0x45d373&&console[_0x175388(0x19a)](_0x45d373),_0xc30641&&this[_0x175388(0x219)][_0x175388(0x152)](_0x175388(0x148)),new _0x48ba81(_0x498b5e,this[_0x175388(0x219)]);}[_0x112b77(0x1f2)](_0x17145b){const _0x10a1fc=_0x112b77;this[_0x10a1fc(0x16a)][_0x10a1fc(0x141)](_0x17145b)||(this[_0x10a1fc(0x16a)][_0x10a1fc(0x143)](_0x17145b),this[_0x10a1fc(0x1e7)][_0x10a1fc(0x1a8)](_0x17145b),this[_0x10a1fc(0x184)]||_0x10a1fc(0x20a)==_0x17145b[_0x10a1fc(0x16b)]&&!_0x17145b[_0x10a1fc(0x208)]||this[_0x10a1fc(0x18f)]());}[_0x112b77(0x1cb)](_0x3c7d37=!0x1){const _0x37b922=_0x112b77;!_0x3c7d37&&this[_0x37b922(0x1db)]||(this[_0x37b922(0x1db)]=!0x0,clearTimeout(this[_0x37b922(0x1cc)]),this[_0x37b922(0x1cc)]=setTimeout(()=>{const _0x27484f=_0x37b922;this[_0x27484f(0x15d)]()[_0x27484f(0x20e)](_0x5d16c1=>{const _0x4a8ced=_0x27484f;_0x5d16c1&&(this[_0x4a8ced(0x1bd)](),this[_0x4a8ced(0x1db)]=!0x1);})[_0x27484f(0x1a6)](_0x2427aa=>{const _0x124cd2=_0x27484f;this[_0x124cd2(0x1bd)](),this[_0x124cd2(0x1db)]=!0x1,function(_0x3cadec){const _0x11f119=_0x124cd2;return _0x3cadec[_0x11f119(0x19c)][_0x11f119(0x17a)](_0x11f119(0x15f))||_0x3cadec[_0x11f119(0x19c)][_0x11f119(0x17a)](_0x11f119(0x14c))||_0x3cadec[_0x11f119(0x19c)][_0x11f119(0x17a)](_0x11f119(0x1eb));}(_0x2427aa)||this[_0x124cd2(0x1df)](_0x2427aa[_0x124cd2(0x19c)],_0x2427aa,!0x0);});},this[_0x37b922(0x23f)]));}[_0x112b77(0x228)](){return new Promise(_0x28ee29=>{const _0x1e1c2c=_0x1823;this['on'](_0x1e1c2c(0x21a),()=>{_0x28ee29();});});}async[_0x112b77(0x15d)](){const _0x13c531=_0x112b77,_0x1b5476=this[_0x13c531(0x219)][_0x13c531(0x18a)][_0x13c531(0x246)](_0x536719);if(this[_0x13c531(0x21f)]()&&(_0x1b5476[_0x13c531(0x1cf)](),this[_0x13c531(0x210)]=!0x1),!this[_0x13c531(0x227)]())return!0x0;const _0x62c27c=[...this[_0x13c531(0x1e7)]];for(const _0x2bd387 of _0x62c27c)_0x2bd387[_0x13c531(0x214)]=this[_0x13c531(0x1dc)][_0x13c531(0x1a3)][_0x13c531(0x242)](_0x2bd387);const _0x32472c=this[_0x13c531(0x1d4)][_0x13c531(0x1b5)](_0x62c27c),_0xc892c8=K++,_0x4feeda=this[_0x13c531(0x167)](_0x62c27c),_0x40a8b9=await this[_0x13c531(0x225)][_0x13c531(0x1fd)](_0x4feeda,_0x4feeda[_0x13c531(0x174)],_0x32472c);try{return await this[_0x13c531(0x22b)](_0x62c27c,_0x40a8b9,_0xc892c8);}catch(_0x2afbdd){return this[_0x13c531(0x1df)](_0x13c531(0x177),_0x2afbdd);}}async[_0x112b77(0x22b)](_0x1fd32a,_0x2ba9bf,_0x19e0c3){const _0x4f3957=_0x112b77;if(_0x4f3957(0x19a)in _0x2ba9bf)throw _0x2ba9bf[_0x4f3957(0x19a)];let _0x5b01b9=!0x1;if(_0x2ba9bf[_0x4f3957(0x1ff)]){_0x2ba9bf[_0x4f3957(0x1a5)]&&(this[_0x4f3957(0x1f8)]=_0x2ba9bf[_0x4f3957(0x1a5)]),this[_0x4f3957(0x1e7)]=this[_0x4f3957(0x1e7)][_0x4f3957(0x207)](_0x202ddc=>!_0x1fd32a[_0x4f3957(0x189)](_0x202ddc));for(const _0x4750e9 of _0x1fd32a)_0x4750e9[_0x4f3957(0x243)]=_0x4f3957(0x185)in _0x2ba9bf&&_0x2ba9bf[_0x4f3957(0x185)]||void 0x0;Q(_0x1fd32a,_0x2ba9bf[_0x4f3957(0x14f)]-_0x1fd32a[_0x4f3957(0x155)]),this[_0x4f3957(0x164)](_0x1fd32a);const _0x5f1ba0=_0x1fd32a[_0x4f3957(0x207)](_0x369a43=>{const _0x52abda=_0x4f3957;if(!_0x369a43[_0x52abda(0x1c7)])return!0x1;const _0x447b42=this[_0x52abda(0x1b1)](_0x369a43);return _0x447b42&&!this[_0x52abda(0x147)][_0x52abda(0x141)](_0x447b42);});Q(_0x5f1ba0,this[_0x4f3957(0x1dc)][_0x4f3957(0x14f)]),this[_0x4f3957(0x226)](_0x5f1ba0),_0x5b01b9=!0x0,this[_0x4f3957(0x23f)]=this[_0x4f3957(0x1ee)];}else{const _0x384050=this[_0x4f3957(0x1b0)](_0x2ba9bf[_0x4f3957(0x1e6)],_0x2ba9bf[_0x4f3957(0x217)])[_0x4f3957(0x207)](_0xade9ab=>_0xade9ab[_0x4f3957(0x174)]>=this[_0x4f3957(0x22e)]);_0x384050[_0x4f3957(0x180)](_0x1a19da=>this[_0x4f3957(0x19e)](_0x1a19da)),this[_0x4f3957(0x1e7)]=this[_0x4f3957(0x1e7)][_0x4f3957(0x207)](_0x353bbb=>!_0x353bbb[_0x4f3957(0x1c7)]||!this[_0x4f3957(0x147)][_0x4f3957(0x141)](this[_0x4f3957(0x1b1)](_0x353bbb))),this[_0x4f3957(0x1e7)][_0x4f3957(0x155)]&&Q(this[_0x4f3957(0x1e7)],this[_0x4f3957(0x1e7)][0x0][_0x4f3957(0x174)]),await this[_0x4f3957(0x151)](_0x384050),_0x5b01b9=this[_0x4f3957(0x188)](_0x384050,_0x2ba9bf[_0x4f3957(0x14f)],_0x2ba9bf[_0x4f3957(0x1a5)]),this[_0x4f3957(0x23f)]=Math[_0x4f3957(0x1c5)](this[_0x4f3957(0x23f)]/0x2);}return _0x5b01b9?!this[_0x4f3957(0x227)]()||(this[_0x4f3957(0x1cb)](!0x0),!0x1):this[_0x4f3957(0x1df)](_0x4f3957(0x169));}[_0x112b77(0x188)](_0x2b2673,_0x36efce,_0x4e1111){const _0x5a5880=_0x112b77;try{const _0x4ecb10={'document':this[_0x5a5880(0x1dc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x516802,operationsB:_0x2eacb7,originalOperations:_0xd2ad3f}=_0x3316bb(_0x2b2673,this[_0x5a5880(0x1e7)],_0x4ecb10);Q(_0x516802,this[_0x5a5880(0x1dc)][_0x5a5880(0x14f)]),Q(_0x2eacb7,_0x36efce);for(const _0x16faec of _0x516802){const _0x2bcd81=_0xd2ad3f[_0x5a5880(0x246)](_0x16faec);_0x16faec[_0x5a5880(0x20d)]=_0x2bcd81?_0x2bcd81[_0x5a5880(0x20d)]:null;}_0x4e1111&&(this[_0x5a5880(0x1d4)][_0x5a5880(0x1e5)](_0x2b2673,_0x4e1111),this[_0x5a5880(0x1f8)]=_0x4e1111),this[_0x5a5880(0x1e7)]=[..._0x2eacb7],this[_0x5a5880(0x226)](_0x516802),this[_0x5a5880(0x164)](_0x2b2673);}catch(_0x37aad0){return console[_0x5a5880(0x19a)](_0x37aad0),!0x1;}return!0x0;}[_0x112b77(0x226)](_0x1bee40,_0x465780=!0x1){const _0x1c0cdd=_0x112b77;this[_0x1c0cdd(0x219)][_0x1c0cdd(0x1ce)][_0x1c0cdd(0x1da)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4eee0d=>{const _0x1d62dc=_0x1c0cdd;for(const _0x5a8ba9 of _0x1bee40)this[_0x1d62dc(0x16a)][_0x1d62dc(0x143)](_0x5a8ba9),this[_0x1d62dc(0x19e)](_0x5a8ba9),_0x4eee0d[_0x1d62dc(0x1f5)][_0x1d62dc(0x1bb)](_0x5a8ba9),this[_0x1d62dc(0x219)][_0x1d62dc(0x1ce)][_0x1d62dc(0x232)](_0x5a8ba9);});}[_0x112b77(0x19e)](_0xba5304){const _0x4e2b11=_0x112b77,_0x3b3eed=this[_0x4e2b11(0x1b1)](_0xba5304);_0x3b3eed&&this[_0x4e2b11(0x147)][_0x4e2b11(0x143)](_0x3b3eed);}[_0x112b77(0x1b1)](_0xa2fcd6){const _0x28c576=_0x112b77;let _0x3a6b07,_0x1645aa;switch(_0xa2fcd6[_0x28c576(0x16b)]){case _0x28c576(0x233):_0x3a6b07=_0xa2fcd6[_0x28c576(0x1d2)][_0x28c576(0x149)];break;case _0x28c576(0x20a):if(_0x1645aa=_0xa2fcd6[_0x28c576(0x1a7)],!_0x1645aa)return null;_0x3a6b07=_0x1645aa[_0x28c576(0x149)];break;case _0x28c576(0x231):_0x3a6b07=_0xa2fcd6[_0x28c576(0x149)];break;case _0x28c576(0x1b4):_0x3a6b07=_0xa2fcd6[_0x28c576(0x1b7)];break;case _0x28c576(0x14a):_0x3a6b07=_0xa2fcd6[_0x28c576(0x22c)][_0x28c576(0x149)];break;default:return null;}return _0x3a6b07[_0x28c576(0x172)];}[_0x112b77(0x164)](_0x580567){const _0xbc865c=_0x112b77;_0x580567[_0xbc865c(0x180)](_0x56a803=>{const _0x3f661e=_0xbc865c,_0x55e723=_0x56a803[_0x3f661e(0x209)]();_0x55e723[_0x3f661e(0x20d)]=_0x56a803[_0x3f661e(0x20d)],_0x55e723[_0x3f661e(0x1c7)]=!!_0x56a803[_0x3f661e(0x1c7)],_0x55e723[_0x3f661e(0x243)]=_0x56a803[_0x3f661e(0x243)],_0x55e723[_0x3f661e(0x174)]+=this[_0x3f661e(0x1fa)],_0x56a803[_0x3f661e(0x23e)]&&this[_0x3f661e(0x173)][_0x3f661e(0x143)](_0x55e723),this[_0x3f661e(0x234)][_0x3f661e(0x1bb)](_0x55e723);});}[_0x112b77(0x1c9)](_0x2f979a){const _0x336b84=_0x112b77,_0x350529=this[_0x336b84(0x219)][_0x336b84(0x18a)][_0x336b84(0x246)](_0x336b84(0x23b)),_0x1d6c59=this[_0x336b84(0x219)][_0x336b84(0x1ed)];_0x2f979a||(_0x2f979a=_0x5a83da(_0x1d6c59,_0x336b84(0x176))),_0x350529[_0x336b84(0x1e4)](_0x2f979a,{'title':_0x5a83da(_0x1d6c59,_0x336b84(0x21c)),'namespace':_0x336b84(0x16c)}),this[_0x336b84(0x1f7)]=!0x0,clearTimeout(this[_0x336b84(0x1cc)]),this[_0x336b84(0x1e7)]=[],this[_0x336b84(0x219)][_0x336b84(0x18a)][_0x336b84(0x246)](_0x231a46)[_0x336b84(0x235)]();}[_0x112b77(0x18f)](){const _0x332d82=_0x112b77;this[_0x332d82(0x184)]||(this[_0x332d82(0x184)]=this[_0x332d82(0x219)][_0x332d82(0x18a)][_0x332d82(0x246)](_0x139f0a)[_0x332d82(0x143)](_0x5a83da(this[_0x332d82(0x219)][_0x332d82(0x1ed)],_0x332d82(0x175))));}[_0x112b77(0x1bd)](){const _0x4bf807=_0x112b77;this[_0x4bf807(0x184)]&&(this[_0x4bf807(0x219)][_0x4bf807(0x18a)][_0x4bf807(0x246)](_0x139f0a)[_0x4bf807(0x15a)](this[_0x4bf807(0x184)]),this[_0x4bf807(0x184)]=null);}[_0x112b77(0x167)](_0x3a20cc){const _0x444ce9=_0x112b77,_0x55f9f9=_0x3a20cc[_0x444ce9(0x22a)](_0x37b19b=>_0x37b19b[_0x444ce9(0x1b2)]());return this[_0x444ce9(0x14e)][_0x444ce9(0x159)](_0x55f9f9);}[_0x112b77(0x1b0)](_0x16576c,_0x2fa0e4){const _0x30deb7=_0x112b77;return this[_0x30deb7(0x14e)][_0x30deb7(0x215)](_0x16576c)[_0x30deb7(0x22a)]((_0xa900ec,_0x15ac87)=>{const _0x1fa187=_0x30deb7,_0x10d156=_0x1fa187(0x216)==_0x2fa0e4[_0x15ac87][_0x1fa187(0x16b)];if(_0x1fa187(0x170)==_0xa900ec[_0x1fa187(0x1b6)]){const _0x349e85=_0xa900ec[_0x1fa187(0x1d2)][_0x1fa187(0x149)];!this[_0x1fa187(0x1dc)][_0x1fa187(0x19d)](_0x349e85)&&(this[_0x1fa187(0x1dc)][_0x1fa187(0x23c)](_0x1fa187(0x142),_0x349e85)[_0x1fa187(0x1ca)]=!0x1);}const _0x364611=_0x2860e0[_0x1fa187(0x168)](_0xa900ec,this[_0x1fa187(0x1dc)]);return _0x364611[_0x1fa187(0x214)]=_0xa900ec[_0x1fa187(0x214)],_0x364611[_0x1fa187(0x1c7)]=_0x10d156,_0x364611[_0x1fa187(0x20d)]=_0x10d156?null:_0x2fa0e4[_0x15ac87][_0x1fa187(0x1d8)],_0x364611[_0x1fa187(0x23e)]=_0x1fa187(0x23a)===_0x2fa0e4[_0x15ac87][_0x1fa187(0x16b)],_0x364611[_0x1fa187(0x243)]=_0x2fa0e4[_0x15ac87][_0x1fa187(0x243)],_0x364611;});}[_0x112b77(0x14b)](){const _0x4fb238=_0x112b77;this[_0x4fb238(0x210)]=!0x0,this[_0x4fb238(0x21f)]()?this[_0x4fb238(0x1cb)]():this[_0x4fb238(0x210)]=!0x1;}[_0x112b77(0x21f)](){const _0x4841dc=_0x112b77,_0xcd59ee=this[_0x4841dc(0x219)][_0x4841dc(0x18a)][_0x4841dc(0x246)](_0x191ad7)[_0x4841dc(0x222)][_0x4841dc(0x246)](this[_0x4841dc(0x1e1)]);return!this[_0x4841dc(0x219)][_0x4841dc(0x230)]&&!!_0xcd59ee&&_0xcd59ee[_0x4841dc(0x155)]>0x1&&this[_0x4841dc(0x210)];}[_0x112b77(0x227)](){const _0xac4fac=_0x112b77;return this[_0xac4fac(0x1e7)][_0xac4fac(0x155)]>0x0||this[_0xac4fac(0x21f)]();}}l[_0x112b77(0x18e)]=_0x1e7fcb;function _0x4f60(){const _0x1a4179=['push','offset','stop','20aACeyZ','_handleInitialConnectionData','realtimecollaborationclient-init-connection-failed','mySessionId','_bufferRootLoad','_decompressOperations','_getAffectedRoot','toJSON','_initSessionsHandling','addRoot','getIdOfTheLastOperation','__className','affectedSelectable','createRange','loadRoot','cloudServices.bundleVersion','addOperation','connection','_clearPendingAction','_operationToId','isOfficialPlugin','getConnectedSessions','end','unregister','addUser','entries','round','editing','_isInit','document','_handleReconnectionError','_isAttached','_sendBufferedOperationsDelayed','_sendBufferedOperationsDelayId','fire','model','createUserMarkerOperations','selection','_disconnectService','position','realtimecollaborationclient-init-non-existent-root','_operationIdentifier','_isConnected','getOperationAuthor','_ignoredOperations','userId','apply','enqueueChange','_isPendingUpdate','_document','multi-root-editor-root-attributes-no-root','define','_crash','_connectAfterSessionHasBeenFlushed','_channelId','getMany','7964iDWjOT','showWarning','setIdForTheLastOperation','data','_bufferedOperations','connect','_handleSendingSelectionMarkers','getDocumentDetails','cloud-services-internal-error:\x20Request\x20timeout.','collaboration','locale','_baseBufferDelay','change:_isEditingAllowed','disconnected','493645nDaFsK','_saveOperationInBuffer','isEnabled','change:range','batch','cloudDocumentVersion','_hasSynchronizationProblem','_lastSyncedOperationId','high','_offset','409','ready','sendOperations','stopListening','wereChangesApplied','realtimecollaborationclient-init-session-connection-error','addToReconnectionStack','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sessionAdd:','realtimecollaborationclient-initservice-incorrect-server-operation','realtimecollaborationclient-initservice-internal-error','sessionCreatedAt','filter','affectsData','clone','marker','path','getUser','_authorId','then','isPremiumPlugin','_hasSelectionChanged','createPositionAt','finally','code','wasUndone','decompress','init','metadata','realtimecollaborationclient-init-document-already-initialized','editor','change:_isPendingUpdate','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Synchronization\x20issue','currentDocumentSession','change:hasDomSelection','_shouldSendSelectionUpdate','off','setPermissions','channelSessions','from','config','_service','_applyOperationsSet','_shouldSendUpdate','_waitUntilSynced','RealTimeCollaborationClient','map','_handleServerResponse','targetPosition','pluginName','_lastServerVersion','_loadRoot','isReadOnly','addRootAttribute','applyOperation','insert','serverHistory','destroy','CommentsOnly','view','operationsReceived','isDocumentOperation','cs:removeUser','Notification','createRoot','keys','_isDisconnection','_currentBufferDelay','disconnect','_handleReconnectionResponse','isUndoneOperation','createdAt','rtc-offline','327898CKKeXa','get','has','$root','add','1zQWWKe','lastSyncVersion','slice','_knownRootNames','realtimecollaborationclient-error','root','move','_refreshUserSelectionMarkers','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','attributes','_compressor','version','sessionId','_fetchMissingUsers','enableReadOnlyMode','directChange','roots','length','_isLoaded','start','6550875Uxlhdt','compress','remove','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','reset','_sendBufferedOperations','register','cloud-services-internal-error:\x20Not\x20connected.','set','listenTo','return','reconnect','_updateServerHistory','Permissions','string','_compressOperations','fromJSON','realtimecollaborationclient-handleserverresponse','_knownOperations','type','real-time-collaboration','requires','getOperations','document:write','InsertOperation','markers','rootName','_disconnectionOperations','baseVersion','PENDING_ACTION_SENDING_DATA','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-sendbufferedoperations','rootsAttributes','_setUpDataInit','startsWith','collaboration.channelId','parse','944691DerMdS','createPositionFromPath','_connectService','forEach','size','_initThrowingOnDataSet','_handleReceivedOperations','_pendingAction','lastOperationAcceptedAt','reconnection:\x20flushed\x20session','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleExternalOperations','includes','plugins','differ','removeFromReconnectionStack','404','CollaborativeEditingService','_setPendingAction','_getOperationsFromInitData','connected','24710qKPYOO','1446aRLigv','lastDocumentSession','initData','6343568ZcTksD','disableReadOnlyMode','collaboration-missing-channelid','suppressErrorInCollaboration','error','bind','message','getRoot','_addKnownRoot','rtc-destroyed','permissions','13630PxLNid','_isEditingAllowed','history','state','lastOperationId','catch','newRange'];_0x4f60=function(){return _0x1a4179;};return _0x4f60();}export default l;class J extends Error{}function Q(_0x1982e4,_0x4c9d04){const _0x21889f=_0x112b77;for(const _0x416b06 of _0x1982e4)_0x416b06[_0x21889f(0x174)]=_0x4c9d04++;}class X{constructor(_0x45932b){const _0x3e4754=_0x112b77;this[_0x3e4754(0x1d7)]=_0x45932b,this[_0x3e4754(0x1be)]=new WeakMap();}[_0x112b77(0x1b5)](_0x87ca66){const _0x2c218f=_0x112b77;let _0x5a1497=_0x87ca66[_0x2c218f(0x155)];for(;_0x5a1497--;){const _0x272183=_0x87ca66[_0x5a1497];if(!this[_0x2c218f(0x1d7)][_0x2c218f(0x141)](_0x272183)){if(!this[_0x2c218f(0x1be)][_0x2c218f(0x141)](_0x272183)){const _0x4feb89=_0x145919()[_0x2c218f(0x146)](0x1,0x12);this[_0x2c218f(0x1be)][_0x2c218f(0x160)](_0x272183,_0x4feb89);}return this[_0x2c218f(0x1be)][_0x2c218f(0x246)](_0x272183);}}}[_0x112b77(0x1e5)](_0x2859dd,_0x2ea99a){const _0x11fbff=_0x112b77;if(!_0x2ea99a)return;let _0x3f275a=_0x2859dd[_0x11fbff(0x155)];for(;_0x3f275a--;){const _0x17b5b8=_0x2859dd[_0x3f275a];this[_0x11fbff(0x1d7)][_0x11fbff(0x141)](_0x17b5b8)||this[_0x11fbff(0x1be)][_0x11fbff(0x160)](_0x17b5b8,_0x2ea99a);}}}
|
|
23
|
+
const _0x1cac3e=_0x48f4;(function(_0x1154b5,_0x4997f1){const _0x21cc48=_0x48f4,_0x237c35=_0x1154b5();while(!![]){try{const _0x3eeb7a=parseInt(_0x21cc48(0x113))/0x1*(-parseInt(_0x21cc48(0x14c))/0x2)+-parseInt(_0x21cc48(0x199))/0x3*(parseInt(_0x21cc48(0x127))/0x4)+parseInt(_0x21cc48(0x1dc))/0x5+-parseInt(_0x21cc48(0x176))/0x6*(parseInt(_0x21cc48(0x1b6))/0x7)+parseInt(_0x21cc48(0x15d))/0x8+-parseInt(_0x21cc48(0x19d))/0x9*(parseInt(_0x21cc48(0x1a9))/0xa)+parseInt(_0x21cc48(0x184))/0xb;if(_0x3eeb7a===_0x4997f1)break;else _0x237c35['push'](_0x237c35['shift']());}catch(_0x522d78){_0x237c35['push'](_0x237c35['shift']());}}}(_0x476c,0x822a1));import{Plugin as _0x580e20,PendingActions as _0x146775}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c907e,version as _0x4c9c4a,uid as _0x20d65c}from'ckeditor5/src/utils.js';import{Notification as _0x264c65}from'ckeditor5/src/ui.js';import{transformSets as _0x1f4073,NoOperation as _0x179e08,InsertOperation as _0x243b56,MarkerOperation as _0x6b055c,RootAttributeOperation as _0x11b1c2,OperationFactory as _0x4e6430,History as _0x3185e2}from'ckeditor5/src/engine.js';import _0x39dd3a from'./websocketgateway.js';import _0x248130 from'./sessions.js';import _0x568f16 from'./usermarkers.js';function _0x476c(){const _0x49dbf4=['_service','collaboration.channelId','baseVersion','apply','sessionAdd:','_crash','_authorId','roots','_clearPendingAction','2257287JCGcol','stop','currentDocumentSession','_compressor','504OMcDIy','type','marker','RealTimeCollaborationClient','404','initData','channelSessions','set','getIdOfTheLastOperation','_setPendingAction','_decompressOperations','state','184720EMVZHZ','remove','filter','isReadOnly','requires','Permissions','get','lastDocumentSession','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','Notification','realtimecollaborationclient-init-document-already-initialized','includes','7dsSIlN','CommentsOnly','_hasSynchronizationProblem','_hasSelectionChanged','clone','error','_compressOperations','off','length','realtimecollaborationclient-sendbufferedoperations','keys','startsWith','_document','_ignoredOperations','isUndoneOperation','_handleReceivedOperations','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','editor','enableReadOnlyMode','loadRoot','pluginName','serverHistory','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-non-existent-root','change:_isEditingAllowed','_baseBufferDelay','locale','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_addKnownRoot','sendOperations','affectsData','_knownOperations','_waitUntilSynced','_handleServerResponse','3566170ZxRNoY','listenTo','suppressErrorInCollaboration','change:range','_setUpDataInit','_handleReconnectionResponse','add','bind','_sendBufferedOperationsDelayed','isPremiumPlugin','has','addUser','getRoot','setIdForTheLastOperation','InsertOperation','rootsAttributes','_isLoaded','wereChangesApplied','realtimecollaborationclient-error','409','getDocumentDetails','toJSON','permissions','path','_bufferedOperations','_operationIdentifier','multi-root-editor-root-attributes-no-root','rtc-offline','_currentBufferDelay','differ','createRoot','_updateServerHistory','reconnect','_disconnectionOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','applyOperation','end','createRange','ready','_applyOperationsSet','mySessionId','_isEditingAllowed','__className','realtimecollaborationclient-initservice-incorrect-server-operation','userId','document','disableReadOnlyMode','real-time-collaboration','cs:removeUser','register','_knownRootNames','$root','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudServices.bundleVersion','addToReconnectionStack','createPositionAt','_pendingAction','getOperations','round','lastOperationAcceptedAt','77471ZXeeKD','getUser','stopListening','_handleInitialConnectionData','enqueueChange','from','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','disconnected','code','getOperationAuthor','forEach','_handleSendingSelectionMarkers','removeFromReconnectionStack','collaboration-missing-channelid','root','insert','size','isOfficialPlugin','string','4dzzasR','realtimecollaborationclient-init-connection-failed','history','collaboration','map','operationsReceived','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','position','connection','_shouldSendUpdate','push','_loadRoot','slice','_lastSyncedOperationId','connect','editing','addRootAttribute','_handleReconnectionError','_getAffectedRoot','version','rtc-destroyed','batch','isEnabled','decompress','addOperation','return','then','createPositionFromPath','catch','_connectService','realtimecollaborationclient-initservice-internal-error','_isDisconnection','unregister','fromJSON','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','26zqPIpn','_isConnected','wasUndone','_connectAfterSessionHasBeenFlushed','finally','lastSyncVersion','createdAt','selection','_refreshUserSelectionMarkers','sessionCreatedAt','markers','_disconnectService','high','getMany','_handleExternalOperations','Synchronization\x20issue','_lastServerVersion','3191560qtPjlb','_bufferRootLoad','directChange','_fetchMissingUsers','data','_offset','addRoot','_operationToId','fire','showWarning','move','view','document:write','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','init','config','_sendBufferedOperations','_isInit','offset','_isPendingUpdate','define','affectedSelectable','attributes','_initSessionsHandling','_channelId','3951282SDxyZk','start','destroy','_saveOperationInBuffer','setPermissions','newRange','isDocumentOperation','realtimecollaborationclient-init-session-connection-error','connected','entries','reset','parse','reconnection:\x20flushed\x20session','rootName','31608555PAMzky','message','_getOperationsFromInitData','sessionId','lastOperationId','change:hasDomSelection','model','_shouldSendSelectionUpdate','disconnect','getConnectedSessions','createUserMarkerOperations','_isAttached'];_0x476c=function(){return _0x49dbf4;};return _0x476c();}import{getTranslation as _0x165fb2}from'../common-translations.js';import{Compressor as _0x12e98a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x150a16}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x48f4(_0x3eb470,_0x123433){const _0x476cd5=_0x476c();return _0x48f4=function(_0x48f40c,_0x40e9b8){_0x48f40c=_0x48f40c-0x10f;let _0x56786a=_0x476cd5[_0x48f40c];return _0x56786a;},_0x48f4(_0x3eb470,_0x123433);}import{User as _0x57934e,CollaborativeEditingService as _0x40621e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x580e20{static get[_0x1cac3e(0x1ad)](){return[_0x39dd3a,_0x248130,_0x568f16,_0x146775,_0x150a16,_0x264c65];}static get[_0x1cac3e(0x1cc)](){const _0x16ca9c=_0x1cac3e;return _0x16ca9c(0x1a0);}static get[_0x1cac3e(0x125)](){return!0x0;}static get[_0x1cac3e(0x1e5)](){return!0x0;}get[_0x1cac3e(0x12d)](){const _0x328bc1=_0x1cac3e;return this[_0x328bc1(0x15c)]+this[_0x328bc1(0x162)];}get[_0x1cac3e(0x15c)](){const _0x19a7bc=_0x1cac3e;return this[_0x19a7bc(0x1cd)][_0x19a7bc(0x13b)]-this[_0x19a7bc(0x162)];}get[_0x1cac3e(0x151)](){const _0x191eb6=_0x1cac3e,_0x4cb551=this[_0x191eb6(0x1cd)][_0x191eb6(0x110)]();for(let _0x454e52=_0x4cb551[_0x191eb6(0x1be)]-0x1;_0x454e52>=0x0;_0x454e52--){const _0x50c151=_0x4cb551[_0x454e52];if(!this[_0x191eb6(0x1fd)][_0x191eb6(0x1e6)](_0x50c151))return _0x50c151[_0x191eb6(0x192)]+0x1-this[_0x191eb6(0x162)];}return 0x0;}constructor(_0x2cf844){const _0x2f77b8=_0x1cac3e;if(super(_0x2cf844),this[_0x2f77b8(0x162)]=0x0,this[_0x2f77b8(0x187)]=null,this[_0x2f77b8(0x1cd)]=new _0x3185e2(),this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x171)](_0x2f77b8(0x12a),{}),this[_0x2f77b8(0x175)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x191)),!this[_0x2f77b8(0x175)])throw new _0x5c907e(_0x2f77b8(0x121),this);const _0x10f450=_0x2cf844[_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x212))||_0x4c9c4a;this[_0x2f77b8(0x190)]=new l[(_0x2f77b8(0x1b2))](_0x10f450,this[_0x2f77b8(0x175)]),this[_0x2f77b8(0x1c2)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x18a)][_0x2f77b8(0x20a)],this[_0x2f77b8(0x19c)]=new _0x12e98a(),this[_0x2f77b8(0x1f4)]=[],this[_0x2f77b8(0x1d9)]=new WeakSet(),this[_0x2f77b8(0x20f)]=new Set(),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x170),!0x1),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x1b8),!0x1),this[_0x2f77b8(0x10f)]=null,this[_0x2f77b8(0x1b9)]=!0x1,this[_0x2f77b8(0x1d4)]=null,this[_0x2f77b8(0x1d2)]=0x12c,this[_0x2f77b8(0x1f8)]=this[_0x2f77b8(0x1d2)],this[_0x2f77b8(0x135)]=null,this[_0x2f77b8(0x1fd)]=new WeakSet(),this[_0x2f77b8(0x1f5)]=new X(this[_0x2f77b8(0x1fd)]);}[_0x1cac3e(0x16b)](){const _0x507459=_0x1cac3e,_0x245e8e=this[_0x507459(0x1c9)],_0xff18fe=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x150a16),_0x5eee2f=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x39dd3a);this[_0x507459(0x1dd)](_0xff18fe,_0x507459(0x11d),(_0x549e52,_0x42d7af)=>{const _0x5ad642=_0x507459,_0x5bead8=_0x42d7af[0x0];_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=_0xff18fe[_0x5ad642(0x114)](_0x5bead8[_0x5ad642(0x196)]),_0x549e52[_0x5ad642(0x19a)]()),null===_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=null,_0x549e52[_0x5ad642(0x19a)]());},{'priority':_0x507459(0x158)}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x18a)][_0x507459(0x20a)][_0x507459(0x153)],_0x507459(0x1df),(_0x839dce,_0x22d69a)=>{const _0x3a9556=_0x507459;_0x22d69a[_0x3a9556(0x15f)]&&this[_0x3a9556(0x154)]();}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x137)][_0x507459(0x168)],_0x507459(0x189),()=>{const _0x364d82=_0x507459;this[_0x364d82(0x154)]();}),this[_0x507459(0x1cf)](),_0x245e8e[_0x507459(0x18a)]['on'](_0x507459(0x200),(_0x54d278,_0x1a280c)=>{const _0x502a5e=_0x507459,_0x34668d=_0x1a280c[0x0];_0x34668d[_0x502a5e(0x17c)]&&(this[_0x502a5e(0x179)](_0x34668d),this[_0x502a5e(0x131)]()&&this[_0x502a5e(0x1e4)]());}),this[_0x507459(0x1e0)](),this[_0x507459(0x1e3)](_0x507459(0x206))['to'](_0x5eee2f,_0x507459(0x1a8),this,_0x507459(0x1b8),(_0x3bf650,_0x5af169)=>_0x507459(0x17e)===_0x3bf650&&!_0x5af169),this['on'](_0x507459(0x1d1),()=>{const _0x425702=_0x507459;this[_0x425702(0x206)]?_0x245e8e[_0x425702(0x20b)](_0x425702(0x1f7)):_0x245e8e[_0x425702(0x1ca)](_0x425702(0x1f7));}),this[_0x507459(0x206)]?_0x245e8e[_0x507459(0x20b)](_0x507459(0x1f7)):_0x245e8e[_0x507459(0x1ca)](_0x507459(0x1f7)),this[_0x507459(0x1a4)](_0x507459(0x14d),!0x1);}async[_0x1cac3e(0x1fc)](){const _0x193233=_0x1cac3e,_0x5bdfc7=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x248130),_0xa3003f=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x39dd3a);try{this[_0x193233(0x170)]=!0x0,_0x5bdfc7[_0x193233(0x148)](this[_0x193233(0x175)]);const _0x3e3f28=await this[_0x193233(0x190)][_0x193233(0x1fc)](_0xa3003f[_0x193233(0x130)],this[_0x193233(0x151)]);await this[_0x193233(0x1e1)](_0x3e3f28)&&(this[_0x193233(0x170)]=!0x1,this[_0x193233(0x198)]());const _0x833a58=await this[_0x193233(0x190)][_0x193233(0x18d)]();_0x5bdfc7[_0x193233(0x20e)](this[_0x193233(0x175)],_0x833a58),this[_0x193233(0x11f)](),this[_0x193233(0x14d)]=!0x0;}catch(_0x116609){if(function(_0x1ec099){const _0x4d07c3=_0x193233;return _0x4d07c3(0x1a1)===_0x1ec099[_0x4d07c3(0x11c)];}(_0x116609)&&this[_0x193233(0x187)])await this[_0x193233(0x14f)]();else{if(function(_0x2782b5){const _0x5e76e1=_0x193233;return _0x5e76e1(0x1ef)===_0x2782b5[_0x5e76e1(0x11c)];}(_0x116609)){const _0x4f3c64=_0x165fb2(this[_0x193233(0x1c9)][_0x193233(0x1d3)],_0x193233(0x14a));this[_0x193233(0x139)](_0x4f3c64);}else{if(!(_0x116609 instanceof J))throw _0x116609;this[_0x193233(0x139)]();}}}}[_0x1cac3e(0x178)](){const _0x40153e=_0x1cac3e,_0xbce6ad=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x39dd3a),_0x45a27c=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x248130);this[_0x40153e(0x1c9)][_0x40153e(0x1ca)](_0x40153e(0x13c)),_0x45a27c[_0x40153e(0x1a3)][_0x40153e(0x1e6)](this[_0x40153e(0x175)])&&_0x45a27c[_0x40153e(0x148)](this[_0x40153e(0x175)]),_0xbce6ad[_0x40153e(0x120)](this),this[_0x40153e(0x157)](),super[_0x40153e(0x178)]();}async[_0x1cac3e(0x1e1)](_0x574c0d){const _0x2e1832=_0x1cac3e;if(this[_0x2e1832(0x187)]!==_0x574c0d[_0x2e1832(0x187)]&&this[_0x2e1832(0x135)]!==_0x574c0d[_0x2e1832(0x188)])throw new J();return this[_0x2e1832(0x187)]=_0x574c0d[_0x2e1832(0x187)],this[_0x2e1832(0x1db)]([],{..._0x574c0d,'wereChangesApplied':!0x1,'data':_0x574c0d[_0x2e1832(0x161)]},_0x2e1832(0x1fc));}async[_0x1cac3e(0x145)](_0x284344,_0x55c379=!0x1){const _0x2c929d=_0x1cac3e,{connection:_0x18046d}=this[_0x2c929d(0x1c9)][_0x2c929d(0x1c6)][_0x2c929d(0x1af)](_0x39dd3a);l[_0x2c929d(0x1b2)][_0x2c929d(0x18d)](_0x18046d,this[_0x2c929d(0x175)])[_0x2c929d(0x142)](_0x444d6d=>this[_0x2c929d(0x174)](_0x444d6d))[_0x2c929d(0x144)](_0x5d2b30=>{const _0x3dbb55=_0x2c929d;this[_0x3dbb55(0x195)](_0x3dbb55(0x17d),_0x5d2b30);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x12c),this[_0x2c929d(0x1c5)][_0x2c929d(0x1e3)](this)),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x1bb),(_0x4521d7,_0x3dc9e2)=>{const _0x135e85=_0x2c929d;this[_0x135e85(0x195)](_0x135e85(0x146),_0x3dc9e2);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x11b),()=>{const _0x234f1f=_0x2c929d;this[_0x234f1f(0x14d)]=!0x1;});const _0x51d799=this[_0x2c929d(0x1f5)][_0x2c929d(0x1a5)](_0x284344);this[_0x2c929d(0x170)]=!0x0;const _0x5445f8=await this[_0x2c929d(0x190)][_0x2c929d(0x136)](_0x18046d,this[_0x2c929d(0x1bc)](_0x284344),_0x51d799);if(this[_0x2c929d(0x187)]=_0x5445f8[_0x2c929d(0x187)],_0x55c379){if(!_0x5445f8[_0x2c929d(0x1ed)])return void this[_0x2c929d(0x139)]();this[_0x2c929d(0x170)]=!0x1,this[_0x2c929d(0x198)](),this[_0x2c929d(0x1cd)][_0x2c929d(0x180)](),this[_0x2c929d(0x162)]=_0x5445f8[_0x2c929d(0x16f)],this[_0x2c929d(0x1cd)][_0x2c929d(0x13b)]=this[_0x2c929d(0x162)],await this[_0x2c929d(0x1db)](_0x284344,_0x5445f8,_0x2c929d(0x182));}else await this[_0x2c929d(0x116)](_0x5445f8,_0x284344);this[_0x2c929d(0x11f)](),this[_0x2c929d(0x14d)]=!0x0;}[_0x1cac3e(0x11f)](){const _0x4b3216=_0x1cac3e,_0x13bee2=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x248130),_0x2962e3=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x568f16),_0x592a1e=_0x13bee2[_0x4b3216(0x1a3)][_0x4b3216(0x1af)](this[_0x4b3216(0x175)]);_0x592a1e&&_0x592a1e[_0x4b3216(0x1be)]>0x1?_0x2962e3[_0x4b3216(0x18e)]():this[_0x4b3216(0x1dd)](_0x13bee2,_0x4b3216(0x194)+this[_0x4b3216(0x175)],()=>{const _0x39c5a1=_0x4b3216;0x2===_0x13bee2[_0x39c5a1(0x1a3)][_0x39c5a1(0x1af)](this[_0x39c5a1(0x175)])[_0x39c5a1(0x1be)]&&_0x2962e3[_0x39c5a1(0x18e)]();});}async[_0x1cac3e(0x1c5)](_0x308f6b,_0xf5f1a7,_0x4b2863,_0x4b6a7e){const _0x57c044=_0x1cac3e;if(!this[_0x57c044(0x170)]&&this[_0x57c044(0x1c2)][_0x57c044(0x13b)]==_0xf5f1a7){const _0x36a813=this[_0x57c044(0x1a7)](_0x4b2863,_0x4b6a7e);await this[_0x57c044(0x160)](_0x36a813),this[_0x57c044(0x15a)](_0x36a813,_0xf5f1a7,_0x4b2863[_0x57c044(0x188)])||this[_0x57c044(0x195)](_0x57c044(0x208));}}async[_0x1cac3e(0x14f)](){const _0x1d1ca7=_0x1cac3e;this[_0x1d1ca7(0x157)]();const {locale:_0x7eec1b}=this[_0x1d1ca7(0x1c9)];let _0x348c44;try{_0x348c44=await this[_0x1d1ca7(0x190)][_0x1d1ca7(0x1f0)]();}catch(_0x716ae0){const _0x1aae8b=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x1c7));return void this[_0x1d1ca7(0x139)](_0x1aae8b);}const _0x5ab889=_0x348c44[_0x1d1ca7(0x19b)]||_0x348c44[_0x1d1ca7(0x1b0)];if(this[_0x1d1ca7(0x135)]===_0x5ab889[_0x1d1ca7(0x188)])await this[_0x1d1ca7(0x145)](this[_0x1d1ca7(0x1c9)][_0x1d1ca7(0x18a)][_0x1d1ca7(0x20a)][_0x1d1ca7(0x129)][_0x1d1ca7(0x110)](),!0x0);else{const _0x1360b6=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x16a));this[_0x1d1ca7(0x139)](_0x1360b6);}}[_0x1cac3e(0x157)](){const _0x2f3a7d=_0x1cac3e;this[_0x2f3a7d(0x190)][_0x2f3a7d(0x18c)](),this[_0x2f3a7d(0x1f4)]=[],clearTimeout(this[_0x2f3a7d(0x1d4)]),this[_0x2f3a7d(0x115)](this[_0x2f3a7d(0x190)]);}[_0x1cac3e(0x174)](_0x34d8f0){const _0xd0e560=_0x1cac3e,_0x19c448=this[_0xd0e560(0x1c9)][_0xd0e560(0x1c6)][_0xd0e560(0x1af)](_0x248130);this[_0xd0e560(0x1dd)](_0x19c448,_0xd0e560(0x194)+this[_0xd0e560(0x175)],(_0x2aeaee,{session:_0x1d8696})=>{const _0x30bc2b=_0xd0e560;if(_0x1d8696['id']===_0x19c448[_0x30bc2b(0x205)]){_0x2aeaee[_0x30bc2b(0x1bd)]();const _0xd72510=this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1e6)](_0x30bc2b(0x1b7))&&this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1b7));let _0x368c7b=_0x1d8696[_0x30bc2b(0x1f2)];_0xd72510&&_0xd72510[_0x30bc2b(0x13e)]&&(_0x368c7b=_0x368c7b[_0x30bc2b(0x1ab)](_0x1a07a3=>_0x30bc2b(0x169)!==_0x1a07a3)),this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1ae))[_0x30bc2b(0x17a)](_0x368c7b,this[_0x30bc2b(0x175)]);}}),_0x19c448[_0xd0e560(0x20e)](this[_0xd0e560(0x175)],_0x34d8f0);}[_0x1cac3e(0x1cf)](){const _0x3dddde=_0x1cac3e,_0x39293a=this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)];this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)]=(..._0x402640)=>{const _0x5af054=_0x3dddde;if(!_0x402640[_0x402640[_0x5af054(0x1be)]-0x1][_0x5af054(0x1de)])throw new _0x5c907e(_0x5af054(0x1fe),this);_0x39293a[_0x5af054(0x193)](this[_0x5af054(0x1c9)][_0x5af054(0x161)],_0x402640);};}[_0x1cac3e(0x1e0)](){const _0x31318e=_0x1cac3e;this[_0x31318e(0x1c9)][_0x31318e(0x161)]['on'](_0x31318e(0x16b),(_0x21465d,[_0x7b5eb5])=>{const _0x420d0e=_0x31318e;if(this[_0x420d0e(0x1c2)][_0x420d0e(0x13b)])throw new _0x5c907e(_0x420d0e(0x1b4),this);_0x21465d[_0x420d0e(0x19a)](),this[_0x420d0e(0x1a6)]();const _0x5b7fc8=this[_0x420d0e(0x1c9)][_0x420d0e(0x16c)][_0x420d0e(0x1af)](_0x420d0e(0x1eb)),_0x474e90=this[_0x420d0e(0x186)](_0x7b5eb5,_0x5b7fc8);0x0==_0x474e90[_0x420d0e(0x1be)]&&_0x474e90[_0x420d0e(0x132)](new _0x179e08(0x0)),_0x21465d[_0x420d0e(0x141)]=this[_0x420d0e(0x145)](_0x474e90)[_0x420d0e(0x142)](()=>{const _0x547751=_0x420d0e;this[_0x547751(0x1c9)][_0x547751(0x1c6)][_0x547751(0x1af)](_0x39dd3a)[_0x547751(0x213)](this),this[_0x547751(0x1c9)][_0x547751(0x161)][_0x547751(0x165)](_0x547751(0x203));})[_0x420d0e(0x144)](_0x28dace=>this[_0x420d0e(0x195)](_0x420d0e(0x128),_0x28dace))[_0x420d0e(0x150)](()=>this[_0x420d0e(0x198)]());},{'priority':_0x31318e(0x158)}),this[_0x31318e(0x1c9)]['on'](_0x31318e(0x1cb),async(_0x3de4ea,[_0x3b2f0c,_0x112ed8])=>{const _0x45ebf5=_0x31318e;_0x3de4ea[_0x45ebf5(0x19a)]();const _0x4ebd6d=this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x20a)][_0x45ebf5(0x1e8)](_0x3b2f0c);if(!this[_0x45ebf5(0x20f)][_0x45ebf5(0x1e6)](_0x3b2f0c)){const _0x5a9473=_0x112ed8&&_0x112ed8[_0x45ebf5(0x161)]?_0x112ed8[_0x45ebf5(0x161)]:'',_0x55e1a0=_0x112ed8&&_0x112ed8[_0x45ebf5(0x173)]?_0x112ed8[_0x45ebf5(0x173)]:{};await this[_0x45ebf5(0x133)](_0x3b2f0c,_0x5a9473,_0x55e1a0);}this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x117)]({'isUndoable':!0x1},()=>{const _0x5d9c5a=_0x45ebf5;_0x4ebd6d[_0x5d9c5a(0x1ec)]=!0x0,this[_0x5d9c5a(0x1c9)][_0x5d9c5a(0x18a)][_0x5d9c5a(0x20a)][_0x5d9c5a(0x1f9)][_0x5d9c5a(0x15e)](_0x4ebd6d);});},{'priority':_0x31318e(0x158)});}async[_0x1cac3e(0x160)](_0x3c829d){const _0x54980a=_0x1cac3e,_0x111bdf=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x150a16),{connection:_0x334382}=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x39dd3a),_0x361a50=new Set();for(const _0x3892f2 of _0x3c829d){const _0x1bbd0f=_0x3892f2[_0x54980a(0x196)];_0x1bbd0f&&!_0x111bdf[_0x54980a(0x114)](_0x1bbd0f)&&_0x361a50[_0x54980a(0x1e2)](_0x1bbd0f);}if(0x0===_0x361a50[_0x54980a(0x124)])return;const _0x27414d=await _0x57934e[_0x54980a(0x159)](_0x334382,Array[_0x54980a(0x118)](_0x361a50));for(const _0x4d48a2 of _0x27414d)_0x111bdf[_0x54980a(0x114)](_0x4d48a2['id'])||_0x111bdf[_0x54980a(0x1e7)](_0x4d48a2);}[_0x1cac3e(0x186)](_0xd3b2fc,_0x58720e={}){const _0x510127=_0x1cac3e,_0x1df813=this[_0x510127(0x1c9)][_0x510127(0x18a)],_0x580e88=[];let _0x2b80dd=0x0;const _0x3383eb=_0x510127(0x126)==typeof _0xd3b2fc?{'main':_0xd3b2fc}:_0xd3b2fc;for(const _0x171b3a of Object[_0x510127(0x1c0)](_0x3383eb)){if(!this[_0x510127(0x1c2)][_0x510127(0x197)][_0x510127(0x1e6)](_0x171b3a))throw new _0x5c907e(_0x510127(0x1d0),this);const _0x2903a7=this[_0x510127(0x1c9)][_0x510127(0x161)][_0x510127(0x181)](_0x3383eb[_0x171b3a]),_0x3b744e=this[_0x510127(0x1c2)][_0x510127(0x1e8)](_0x171b3a),_0x503c8f=new _0x243b56(_0x1df813[_0x510127(0x214)](_0x3b744e,0x0),_0x2903a7,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x503c8f);for(const [_0x4f8a9a,_0x128312]of _0x2903a7[_0x510127(0x156)]){const _0x110113=_0x1df813[_0x510127(0x202)](_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x177)][_0x510127(0x1f3)][_0x510127(0x134)]()),_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x201)][_0x510127(0x1f3)][_0x510127(0x134)]())),_0x51fe41=new _0x6b055c(_0x4f8a9a,null,_0x110113,_0x1df813[_0x510127(0x156)],!0x0,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x51fe41);}}if(_0x58720e)for(const [_0x14cc0d,_0x412482]of Object[_0x510127(0x17f)](_0x58720e)){const _0x1add35=_0x1df813[_0x510127(0x20a)][_0x510127(0x1e8)](_0x14cc0d);if(!_0x1add35)throw new _0x5c907e(_0x510127(0x1f6),null);for(const [_0x42ba26,_0x3e7e0a]of Object[_0x510127(0x17f)](_0x412482))if(null!==_0x3e7e0a){const _0x521114=new _0x11b1c2(_0x1add35,_0x42ba26,null,_0x3e7e0a,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x521114);}}return _0x580e88;}async[_0x1cac3e(0x133)](_0x17327a,_0x5d00c3,_0x3a1721){const _0x28011a=_0x1cac3e;this[_0x28011a(0x186)]({[_0x17327a]:_0x5d00c3},{[_0x17327a]:_0x3a1721})[_0x28011a(0x11e)]((_0x2fdb3e,_0x19a106)=>{const _0x246758=_0x28011a;_0x2fdb3e[_0x246758(0x192)]=this[_0x246758(0x1c2)][_0x246758(0x13b)]+_0x19a106,_0x2fdb3e[_0x246758(0x16e)]=!0x0,this[_0x246758(0x179)](_0x2fdb3e);}),this[_0x28011a(0x1e4)](),await this[_0x28011a(0x1da)]();}async[_0x1cac3e(0x116)](_0x32d9d1,_0x1da7ad){const _0x37de0b=_0x1cac3e;let _0x183b4d;this[_0x37de0b(0x162)]=_0x32d9d1[_0x37de0b(0x16f)];const _0x3de5a3=_0x32d9d1[_0x37de0b(0x1ed)]&&!_0x32d9d1[_0x37de0b(0x1a2)],_0x2f6135=_0x3de5a3?0x0:_0x32d9d1[_0x37de0b(0x161)][_0x37de0b(0x192)];if(_0x1da7ad[_0x37de0b(0x11e)](_0xdda96f=>{const _0x532b84=_0x37de0b;_0xdda96f[_0x532b84(0x16e)]=!0x0,_0xdda96f[_0x532b84(0x152)]=_0x32d9d1[_0x532b84(0x155)],_0xdda96f[_0x532b84(0x196)]=null;}),_0x3de5a3)_0x183b4d=_0x1da7ad,this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);else{if(_0x32d9d1[_0x37de0b(0x1a2)]){const _0x4e5a9a=this[_0x37de0b(0x186)](_0x32d9d1[_0x37de0b(0x1a2)]);this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)],_0x4e5a9a[_0x37de0b(0x11e)](_0x3ee804=>{const _0x2b246f=_0x37de0b;_0x3ee804[_0x2b246f(0x192)]-=_0x4e5a9a[_0x2b246f(0x1be)],_0x3ee804[_0x2b246f(0x152)]=_0x32d9d1[_0x2b246f(0x155)],_0x3ee804[_0x2b246f(0x16e)]=!0x0,_0x3ee804[_0x2b246f(0x196)]=null;}),this[_0x37de0b(0x204)](_0x4e5a9a,!0x0),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)]+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x4e5a9a);}this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=_0x2f6135,_0x183b4d=this[_0x37de0b(0x1a7)](_0x32d9d1[_0x37de0b(0x161)],_0x32d9d1[_0x37de0b(0x1ce)]),await this[_0x37de0b(0x160)](_0x183b4d),this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);}_0x32d9d1[_0x37de0b(0x188)]&&(this[_0x37de0b(0x1f5)][_0x37de0b(0x1e9)](_0x183b4d,_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x135)]=_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=_0x2f6135+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x183b4d),_0x1da7ad[_0x37de0b(0x1ab)](_0x5c48c7=>{const _0x18c58c=_0x37de0b,_0x57b5c4=this[_0x18c58c(0x13a)](_0x5c48c7);return _0x57b5c4&&!this[_0x18c58c(0x20f)][_0x18c58c(0x1e6)](_0x57b5c4);})[_0x37de0b(0x11e)]((_0x36ef70,_0x96d789)=>{const _0x358116=_0x37de0b;_0x36ef70[_0x358116(0x192)]=this[_0x358116(0x1c2)][_0x358116(0x13b)]+_0x96d789,this[_0x358116(0x179)](_0x36ef70);}),this[_0x37de0b(0x131)]()?(this[_0x37de0b(0x1f8)]=0x0,this[_0x37de0b(0x1e4)](!0x0),await this[_0x37de0b(0x1da)]()):(this[_0x37de0b(0x170)]=!0x1,this[_0x37de0b(0x198)]());}[_0x1cac3e(0x195)](_0x367236,_0x54535e,_0x1beabf){const _0x454826=_0x1cac3e;throw this[_0x454826(0x170)]=!0x0,_0x54535e&&console[_0x454826(0x1bb)](_0x54535e),_0x1beabf&&this[_0x454826(0x1c9)][_0x454826(0x1ca)](_0x454826(0x1ee)),new _0x5c907e(_0x367236,this[_0x454826(0x1c9)]);}[_0x1cac3e(0x179)](_0x22d80b){const _0x5e230c=_0x1cac3e;this[_0x5e230c(0x1d9)][_0x5e230c(0x1e6)](_0x22d80b)||(this[_0x5e230c(0x1d9)][_0x5e230c(0x1e2)](_0x22d80b),this[_0x5e230c(0x1f4)][_0x5e230c(0x132)](_0x22d80b),this[_0x5e230c(0x10f)]||_0x5e230c(0x19f)==_0x22d80b[_0x5e230c(0x19e)]&&!_0x22d80b[_0x5e230c(0x1d8)]||this[_0x5e230c(0x1a6)]());}[_0x1cac3e(0x1e4)](_0x3e2c07=!0x1){const _0x4f9ce2=_0x1cac3e;!_0x3e2c07&&this[_0x4f9ce2(0x170)]||(this[_0x4f9ce2(0x170)]=!0x0,clearTimeout(this[_0x4f9ce2(0x1d4)]),this[_0x4f9ce2(0x1d4)]=setTimeout(()=>{const _0x519671=_0x4f9ce2;this[_0x519671(0x16d)]()[_0x519671(0x142)](_0xdab92=>{const _0x4dd95d=_0x519671;_0xdab92&&(this[_0x4dd95d(0x198)](),this[_0x4dd95d(0x170)]=!0x1);})[_0x519671(0x144)](_0x47b555=>{const _0x1a534e=_0x519671;this[_0x1a534e(0x198)](),this[_0x1a534e(0x170)]=!0x1,function(_0x142c75){const _0x51d217=_0x1a534e;return _0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x12e))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x119))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x11a));}(_0x47b555)||this[_0x1a534e(0x195)](_0x47b555[_0x1a534e(0x185)],_0x47b555,!0x0);});},this[_0x4f9ce2(0x1f8)]));}[_0x1cac3e(0x1da)](){return new Promise(_0x4c7450=>{const _0xad8123=_0x48f4;this['on'](_0xad8123(0x14b),()=>{_0x4c7450();});});}async[_0x1cac3e(0x16d)](){const _0x35c79e=_0x1cac3e,_0x4727a0=this[_0x35c79e(0x1c9)][_0x35c79e(0x1c6)][_0x35c79e(0x1af)](_0x568f16);if(this[_0x35c79e(0x18b)]()&&(_0x4727a0[_0x35c79e(0x18e)](),this[_0x35c79e(0x1b9)]=!0x1),!this[_0x35c79e(0x131)]())return!0x0;const _0x11ca7a=[...this[_0x35c79e(0x1f4)]];for(const _0x5702d0 of _0x11ca7a)_0x5702d0[_0x35c79e(0x14e)]=this[_0x35c79e(0x1c2)][_0x35c79e(0x129)][_0x35c79e(0x1c4)](_0x5702d0);const _0x10e617=this[_0x35c79e(0x1f5)][_0x35c79e(0x1a5)](_0x11ca7a),_0x317d02=K++,_0xb8f3d0=this[_0x35c79e(0x1bc)](_0x11ca7a),_0x25c699=await this[_0x35c79e(0x190)][_0x35c79e(0x1d7)](_0xb8f3d0,_0xb8f3d0[_0x35c79e(0x192)],_0x10e617);try{return await this[_0x35c79e(0x1db)](_0x11ca7a,_0x25c699,_0x317d02);}catch(_0x25a316){return this[_0x35c79e(0x195)](_0x35c79e(0x1bf),_0x25a316);}}async[_0x1cac3e(0x1db)](_0x2c59cc,_0x44ee04,_0x2e9db9){const _0xa5f5ed=_0x1cac3e;if(_0xa5f5ed(0x1bb)in _0x44ee04)throw _0x44ee04[_0xa5f5ed(0x1bb)];let _0x14b0e1=!0x1;if(_0x44ee04[_0xa5f5ed(0x1ed)]){_0x44ee04[_0xa5f5ed(0x188)]&&(this[_0xa5f5ed(0x135)]=_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x490414=>!_0x2c59cc[_0xa5f5ed(0x1b5)](_0x490414));for(const _0xb3eb9c of _0x2c59cc)_0xb3eb9c[_0xa5f5ed(0x152)]=_0xa5f5ed(0x112)in _0x44ee04&&_0x44ee04[_0xa5f5ed(0x112)]||void 0x0;Q(_0x2c59cc,_0x44ee04[_0xa5f5ed(0x13b)]-_0x2c59cc[_0xa5f5ed(0x1be)]),this[_0xa5f5ed(0x1fb)](_0x2c59cc);const _0xf9ac2d=_0x2c59cc[_0xa5f5ed(0x1ab)](_0x291a0=>{const _0x2487e3=_0xa5f5ed;if(!_0x291a0[_0x2487e3(0x16e)])return!0x1;const _0x3e40de=this[_0x2487e3(0x13a)](_0x291a0);return _0x3e40de&&!this[_0x2487e3(0x20f)][_0x2487e3(0x1e6)](_0x3e40de);});Q(_0xf9ac2d,this[_0xa5f5ed(0x1c2)][_0xa5f5ed(0x13b)]),this[_0xa5f5ed(0x204)](_0xf9ac2d),_0x14b0e1=!0x0,this[_0xa5f5ed(0x1f8)]=this[_0xa5f5ed(0x1d2)];}else{const _0x1c156b=this[_0xa5f5ed(0x1a7)](_0x44ee04[_0xa5f5ed(0x161)],_0x44ee04[_0xa5f5ed(0x1ce)])[_0xa5f5ed(0x1ab)](_0x4c1114=>_0x4c1114[_0xa5f5ed(0x192)]>=this[_0xa5f5ed(0x15c)]);_0x1c156b[_0xa5f5ed(0x11e)](_0x3315af=>this[_0xa5f5ed(0x1d6)](_0x3315af)),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x504367=>!_0x504367[_0xa5f5ed(0x16e)]||!this[_0xa5f5ed(0x20f)][_0xa5f5ed(0x1e6)](this[_0xa5f5ed(0x13a)](_0x504367))),this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1be)]&&Q(this[_0xa5f5ed(0x1f4)],this[_0xa5f5ed(0x1f4)][0x0][_0xa5f5ed(0x192)]),await this[_0xa5f5ed(0x160)](_0x1c156b),_0x14b0e1=this[_0xa5f5ed(0x15a)](_0x1c156b,_0x44ee04[_0xa5f5ed(0x13b)],_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f8)]=Math[_0xa5f5ed(0x111)](this[_0xa5f5ed(0x1f8)]/0x2);}return _0x14b0e1?!this[_0xa5f5ed(0x131)]()||(this[_0xa5f5ed(0x1e4)](!0x0),!0x1):this[_0xa5f5ed(0x195)](_0xa5f5ed(0x1b1));}[_0x1cac3e(0x15a)](_0x2d393f,_0x249fb8,_0x512048){const _0x1add71=_0x1cac3e;try{const _0x52ad58={'document':this[_0x1add71(0x1c2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44ee4a,operationsB:_0x39ee40,originalOperations:_0x49c6f0}=_0x1f4073(_0x2d393f,this[_0x1add71(0x1f4)],_0x52ad58);Q(_0x44ee4a,this[_0x1add71(0x1c2)][_0x1add71(0x13b)]),Q(_0x39ee40,_0x249fb8);for(const _0xab6f83 of _0x44ee4a){const _0x22ff4d=_0x49c6f0[_0x1add71(0x1af)](_0xab6f83);_0xab6f83[_0x1add71(0x196)]=_0x22ff4d?_0x22ff4d[_0x1add71(0x196)]:null;}_0x512048&&(this[_0x1add71(0x1f5)][_0x1add71(0x1e9)](_0x2d393f,_0x512048),this[_0x1add71(0x135)]=_0x512048),this[_0x1add71(0x1f4)]=[..._0x39ee40],this[_0x1add71(0x204)](_0x44ee4a),this[_0x1add71(0x1fb)](_0x2d393f);}catch(_0x1b5140){return console[_0x1add71(0x1bb)](_0x1b5140),!0x1;}return!0x0;}[_0x1cac3e(0x204)](_0x2be6cc,_0xf864f7=!0x1){const _0x1e7c68=_0x1cac3e;this[_0x1e7c68(0x1c9)][_0x1e7c68(0x18a)][_0x1e7c68(0x117)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1da494=>{const _0x2cde0d=_0x1e7c68;for(const _0xc68f26 of _0x2be6cc)this[_0x2cde0d(0x1d9)][_0x2cde0d(0x1e2)](_0xc68f26),this[_0x2cde0d(0x1d6)](_0xc68f26),_0x1da494[_0x2cde0d(0x13d)][_0x2cde0d(0x140)](_0xc68f26),this[_0x2cde0d(0x1c9)][_0x2cde0d(0x18a)][_0x2cde0d(0x200)](_0xc68f26);});}[_0x1cac3e(0x1d6)](_0x34316a){const _0x58f666=_0x1cac3e,_0x24581b=this[_0x58f666(0x13a)](_0x34316a);_0x24581b&&this[_0x58f666(0x20f)][_0x58f666(0x1e2)](_0x24581b);}[_0x1cac3e(0x13a)](_0x34940b){const _0x1d1066=_0x1cac3e;let _0x31d51c,_0x5bc1c0;switch(_0x34940b[_0x1d1066(0x19e)]){case _0x1d1066(0x123):_0x31d51c=_0x34940b[_0x1d1066(0x12f)][_0x1d1066(0x122)];break;case _0x1d1066(0x19f):if(_0x5bc1c0=_0x34940b[_0x1d1066(0x17b)],!_0x5bc1c0)return null;_0x31d51c=_0x5bc1c0[_0x1d1066(0x122)];break;case _0x1d1066(0x138):_0x31d51c=_0x34940b[_0x1d1066(0x122)];break;case _0x1d1066(0x163):_0x31d51c=_0x34940b[_0x1d1066(0x172)];break;case _0x1d1066(0x167):_0x31d51c=_0x34940b[_0x1d1066(0x1ff)][_0x1d1066(0x122)];break;default:return null;}return _0x31d51c[_0x1d1066(0x183)];}[_0x1cac3e(0x1fb)](_0x1f20df){const _0x40fc52=_0x1cac3e;_0x1f20df[_0x40fc52(0x11e)](_0x5ca0ab=>{const _0x434a41=_0x40fc52,_0x22fedd=_0x5ca0ab[_0x434a41(0x1ba)]();_0x22fedd[_0x434a41(0x196)]=_0x5ca0ab[_0x434a41(0x196)],_0x22fedd[_0x434a41(0x16e)]=!!_0x5ca0ab[_0x434a41(0x16e)],_0x22fedd[_0x434a41(0x152)]=_0x5ca0ab[_0x434a41(0x152)],_0x22fedd[_0x434a41(0x192)]+=this[_0x434a41(0x162)],_0x5ca0ab[_0x434a41(0x147)]&&this[_0x434a41(0x1fd)][_0x434a41(0x1e2)](_0x22fedd),this[_0x434a41(0x1cd)][_0x434a41(0x140)](_0x22fedd);});}[_0x1cac3e(0x139)](_0x36ef8e){const _0x2b90ae=_0x1cac3e,_0x1549f8=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x2b90ae(0x1b3)),_0x2445c6=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1d3)];_0x36ef8e||(_0x36ef8e=_0x165fb2(_0x2445c6,_0x2b90ae(0x211))),_0x1549f8[_0x2b90ae(0x166)](_0x36ef8e,{'title':_0x165fb2(_0x2445c6,_0x2b90ae(0x15b)),'namespace':_0x2b90ae(0x20c)}),this[_0x2b90ae(0x1b8)]=!0x0,clearTimeout(this[_0x2b90ae(0x1d4)]),this[_0x2b90ae(0x1f4)]=[],this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x39dd3a)[_0x2b90ae(0x178)]();}[_0x1cac3e(0x1a6)](){const _0x1f78f7=_0x1cac3e;this[_0x1f78f7(0x10f)]||(this[_0x1f78f7(0x10f)]=this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1c6)][_0x1f78f7(0x1af)](_0x146775)[_0x1f78f7(0x1e2)](_0x165fb2(this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1d3)],_0x1f78f7(0x1d5))));}[_0x1cac3e(0x198)](){const _0x43dcd4=_0x1cac3e;this[_0x43dcd4(0x10f)]&&(this[_0x43dcd4(0x1c9)][_0x43dcd4(0x1c6)][_0x43dcd4(0x1af)](_0x146775)[_0x43dcd4(0x1aa)](this[_0x43dcd4(0x10f)]),this[_0x43dcd4(0x10f)]=null);}[_0x1cac3e(0x1bc)](_0x3d8d56){const _0x39a0af=_0x1cac3e,_0x51d8ec=_0x3d8d56[_0x39a0af(0x12b)](_0x2d1ad6=>_0x2d1ad6[_0x39a0af(0x1f1)]());return this[_0x39a0af(0x19c)][_0x39a0af(0x1c8)](_0x51d8ec);}[_0x1cac3e(0x1a7)](_0x4d66f2,_0x36431d){const _0x4de4ea=_0x1cac3e;return this[_0x4de4ea(0x19c)][_0x4de4ea(0x13f)](_0x4d66f2)[_0x4de4ea(0x12b)]((_0x2f8ba2,_0x12cf01)=>{const _0x379dbd=_0x4de4ea,_0x271a16=_0x379dbd(0x16b)==_0x36431d[_0x12cf01][_0x379dbd(0x19e)];if(_0x379dbd(0x1ea)==_0x2f8ba2[_0x379dbd(0x207)]){const _0x396d45=_0x2f8ba2[_0x379dbd(0x12f)][_0x379dbd(0x122)];!this[_0x379dbd(0x1c2)][_0x379dbd(0x1e8)](_0x396d45)&&(this[_0x379dbd(0x1c2)][_0x379dbd(0x1fa)](_0x379dbd(0x210),_0x396d45)[_0x379dbd(0x18f)]=!0x1);}const _0x9a583b=_0x4e6430[_0x379dbd(0x149)](_0x2f8ba2,this[_0x379dbd(0x1c2)]);return _0x9a583b[_0x379dbd(0x14e)]=_0x2f8ba2[_0x379dbd(0x14e)],_0x9a583b[_0x379dbd(0x16e)]=_0x271a16,_0x9a583b[_0x379dbd(0x196)]=_0x271a16?null:_0x36431d[_0x12cf01][_0x379dbd(0x209)],_0x9a583b[_0x379dbd(0x147)]=_0x379dbd(0x20d)===_0x36431d[_0x12cf01][_0x379dbd(0x19e)],_0x9a583b[_0x379dbd(0x152)]=_0x36431d[_0x12cf01][_0x379dbd(0x152)],_0x9a583b;});}[_0x1cac3e(0x154)](){const _0x41d8d1=_0x1cac3e;this[_0x41d8d1(0x1b9)]=!0x0,this[_0x41d8d1(0x18b)]()?this[_0x41d8d1(0x1e4)]():this[_0x41d8d1(0x1b9)]=!0x1;}[_0x1cac3e(0x18b)](){const _0x5463a4=_0x1cac3e,_0x15d31b=this[_0x5463a4(0x1c9)][_0x5463a4(0x1c6)][_0x5463a4(0x1af)](_0x248130)[_0x5463a4(0x1a3)][_0x5463a4(0x1af)](this[_0x5463a4(0x175)]);return!this[_0x5463a4(0x1c9)][_0x5463a4(0x1ac)]&&!!_0x15d31b&&_0x15d31b[_0x5463a4(0x1be)]>0x1&&this[_0x5463a4(0x1b9)];}[_0x1cac3e(0x131)](){const _0x5bc51e=_0x1cac3e;return this[_0x5bc51e(0x1f4)][_0x5bc51e(0x1be)]>0x0||this[_0x5bc51e(0x18b)]();}}l[_0x1cac3e(0x1b2)]=_0x40621e;export default l;class J extends Error{}function Q(_0x5e57cf,_0x55acd5){const _0x118d06=_0x1cac3e;for(const _0x1f2f5f of _0x5e57cf)_0x1f2f5f[_0x118d06(0x192)]=_0x55acd5++;}class X{constructor(_0x537a82){const _0x79ffb4=_0x1cac3e;this[_0x79ffb4(0x1c3)]=_0x537a82,this[_0x79ffb4(0x164)]=new WeakMap();}[_0x1cac3e(0x1a5)](_0x2e17aa){const _0x416cde=_0x1cac3e;let _0x5741a5=_0x2e17aa[_0x416cde(0x1be)];for(;_0x5741a5--;){const _0x7410a8=_0x2e17aa[_0x5741a5];if(!this[_0x416cde(0x1c3)][_0x416cde(0x1e6)](_0x7410a8)){if(!this[_0x416cde(0x164)][_0x416cde(0x1e6)](_0x7410a8)){const _0x435dd5=_0x20d65c()[_0x416cde(0x134)](0x1,0x12);this[_0x416cde(0x164)][_0x416cde(0x1a4)](_0x7410a8,_0x435dd5);}return this[_0x416cde(0x164)][_0x416cde(0x1af)](_0x7410a8);}}}[_0x1cac3e(0x1e9)](_0x4e4359,_0x451e38){const _0x4b74d9=_0x1cac3e;if(!_0x451e38)return;let _0x1d9df7=_0x4e4359[_0x4b74d9(0x1be)];for(;_0x1d9df7--;){const _0x4dca34=_0x4e4359[_0x1d9df7];this[_0x4b74d9(0x1c3)][_0x4b74d9(0x1e6)](_0x4dca34)||this[_0x4b74d9(0x164)][_0x4b74d9(0x1a4)](_0x4dca34,_0x451e38);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52d16d=_0x685d;(function(_0x2032f0,_0x213466){const _0x21223c=_0x685d,_0x556832=_0x2032f0();while(!![]){try{const _0x371ab7=parseInt(_0x21223c(0x157))/0x1*(-parseInt(_0x21223c(0x14d))/0x2)+-parseInt(_0x21223c(0x13c))/0x3*(parseInt(_0x21223c(0x146))/0x4)+-parseInt(_0x21223c(0x12d))/0x5+-parseInt(_0x21223c(0x12b))/0x6*(parseInt(_0x21223c(0x14f))/0x7)+parseInt(_0x21223c(0x168))/0x8*(-parseInt(_0x21223c(0x152))/0x9)+-parseInt(_0x21223c(0x139))/0xa*(-parseInt(_0x21223c(0x12c))/0xb)+parseInt(_0x21223c(0x160))/0xc*(parseInt(_0x21223c(0x150))/0xd);if(_0x371ab7===_0x213466)break;else _0x556832['push'](_0x556832['shift']());}catch(_0x4e39cb){_0x556832['push'](_0x556832['shift']());}}}(_0x3ebd,0x5301a));function _0x685d(_0x34371d,_0x5c4c39){const _0x3ebdf9=_0x3ebd();return _0x685d=function(_0x685d73,_0x480bda){_0x685d73=_0x685d73-0x12a;let _0x28a8df=_0x3ebdf9[_0x685d73];return _0x28a8df;},_0x685d(_0x34371d,_0x5c4c39);}function _0x3ebd(){const _0x23d645=['7399764GcyOBO','_createUser','sessionId','isOfficialPlugin','channelSessions','requires','getUserRole','get','8IQVMYF','_handleSessionAdd','init','sessions-unregister-not-exist','6qiGPmv','11OWIJLF','2850720MWxEwL','getUserSessions','values','sessions-register-already-registered','set','getUser','channelConnectedUsers','listenTo','defineMe','clear','connection','connected','6530450YVJfNy','add','delete','129BRufbP','addUser','isPremiumPlugin','mySessionId','state','_uniqueUsersCount','register','sessionAdd:','fire','getUserBySessionId','4548sNQTzj','has','user','_handleSessionRemove','change:state','plugins','size','148JpBxzE','isMe','568855VwmojX','26xSRXWM','Sessions','2295063SukuDk','_users','role','forEach','allConnectedUsers','7987LXTxiu','pluginName','orderNumber','_registeredSessions','unregister','assign','remove','stopListening','context'];_0x3ebd=function(){return _0x23d645;};return _0x3ebd();}import{ContextPlugin as _0x228a7e}from'ckeditor5/src/core.js';import{Collection as _0x4201a2,CKEditorError as _0x5b1bbd}from'ckeditor5/src/utils.js';import _0x1df85d from'./websocketgateway.js';import{Users as _0x4a212e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x228a7e{static get[_0x52d16d(0x158)](){const _0x15d64b=_0x52d16d;return _0x15d64b(0x151);}static get[_0x52d16d(0x163)](){return!0x0;}static get[_0x52d16d(0x13e)](){return!0x0;}static get[_0x52d16d(0x165)](){return[_0x1df85d,_0x4a212e];}constructor(_0x2a8634){const _0x26ee50=_0x52d16d;super(_0x2a8634),this[_0x26ee50(0x164)]=new Map(),this[_0x26ee50(0x133)]=new Map(),this[_0x26ee50(0x156)]=new _0x4201a2(),this[_0x26ee50(0x15a)]=new Map(),this[_0x26ee50(0x141)]=0x0,this[_0x26ee50(0x153)]=this[_0x26ee50(0x15f)][_0x26ee50(0x14b)][_0x26ee50(0x167)](_0x4a212e);}[_0x52d16d(0x16a)](){const _0x54c2dc=_0x52d16d,_0x2e39e6=this[_0x54c2dc(0x15f)][_0x54c2dc(0x14b)][_0x54c2dc(0x167)](_0x1df85d);this[_0x54c2dc(0x134)](_0x2e39e6,_0x54c2dc(0x14a),(_0x3721f6,_0x159e7f,_0x597549)=>{const _0x1c00ea=_0x54c2dc;if(_0x1c00ea(0x138)!==_0x597549)this[_0x1c00ea(0x164)][_0x1c00ea(0x155)](_0x576e75=>_0x576e75[_0x1c00ea(0x136)]()),this[_0x1c00ea(0x133)][_0x1c00ea(0x155)](_0x27d2b7=>_0x27d2b7[_0x1c00ea(0x136)]()),this[_0x1c00ea(0x156)][_0x1c00ea(0x136)]();else{for(const [_0x2eb30b,_0x478a53]of this[_0x1c00ea(0x15a)])for(const _0x78610 of _0x478a53)this[_0x1c00ea(0x169)](_0x2eb30b,_0x78610);}}),this[_0x54c2dc(0x161)](_0x2e39e6[_0x54c2dc(0x137)]['me'],!0x0);}[_0x52d16d(0x142)](_0x38c74a,_0x340131){const _0x987433=_0x52d16d;if(this[_0x987433(0x15a)][_0x987433(0x147)](_0x38c74a))throw new _0x5b1bbd(_0x987433(0x130),null,{'channelId':_0x38c74a});this[_0x987433(0x15a)][_0x987433(0x131)](_0x38c74a,_0x340131),this[_0x987433(0x164)][_0x987433(0x131)](_0x38c74a,new _0x4201a2()),this[_0x987433(0x133)][_0x987433(0x131)](_0x38c74a,new _0x4201a2()),this[_0x987433(0x134)](_0x340131,_0x987433(0x13a),(_0x387cd5,_0x4c5666)=>this[_0x987433(0x169)](_0x38c74a,_0x4c5666)),this[_0x987433(0x134)](_0x340131,_0x987433(0x15d),(_0x44c053,_0x309ad2)=>this[_0x987433(0x149)](_0x38c74a,_0x309ad2));for(const _0x4224ad of _0x340131)this[_0x987433(0x169)](_0x38c74a,_0x4224ad);}[_0x52d16d(0x15b)](_0x4ce11f){const _0xcb5c02=_0x52d16d;if(!this[_0xcb5c02(0x15a)][_0xcb5c02(0x147)](_0x4ce11f))throw new _0x5b1bbd(_0xcb5c02(0x12a),null,{'channelId':_0x4ce11f});const _0x68f820=this[_0xcb5c02(0x15a)][_0xcb5c02(0x167)](_0x4ce11f);this[_0xcb5c02(0x15e)](_0x68f820);for(const _0x32ff4f of _0x68f820)_0xcb5c02(0x138)===this[_0xcb5c02(0x15f)][_0xcb5c02(0x14b)][_0xcb5c02(0x167)](_0x1df85d)[_0xcb5c02(0x140)]&&this[_0xcb5c02(0x149)](_0x4ce11f,_0x32ff4f);this[_0xcb5c02(0x15a)][_0xcb5c02(0x13b)](_0x4ce11f),this[_0xcb5c02(0x164)][_0xcb5c02(0x13b)](_0x4ce11f),this[_0xcb5c02(0x133)][_0xcb5c02(0x13b)](_0x4ce11f);}get[_0x52d16d(0x13f)](){const _0x64fe65=_0x52d16d;return this[_0x64fe65(0x15f)][_0x64fe65(0x14b)][_0x64fe65(0x167)](_0x1df85d)[_0x64fe65(0x137)][_0x64fe65(0x162)];}[_0x52d16d(0x145)](_0x5758d3){const _0x4e7f7e=_0x52d16d;for(const _0x1fed5b of this[_0x4e7f7e(0x164)][_0x4e7f7e(0x12f)]())for(const _0x59f849 of _0x1fed5b)if(_0x59f849['id']===_0x5758d3)return _0x59f849[_0x4e7f7e(0x148)];}[_0x52d16d(0x12e)](_0x48e781,_0x23418a){const _0xc6efc=_0x52d16d,_0x5b395a=_0x23418a?[this[_0xc6efc(0x164)][_0xc6efc(0x167)](_0x23418a)]:this[_0xc6efc(0x164)][_0xc6efc(0x12f)](),_0x1451b9=new Set();for(const _0x47ad0f of _0x5b395a)for(const _0x272dc5 of _0x47ad0f)_0x272dc5[_0xc6efc(0x148)]['id']===_0x48e781['id']&&_0x1451b9[_0xc6efc(0x13a)](_0x272dc5['id']);return _0x1451b9;}[_0x52d16d(0x166)](_0x3ef3db){const _0x26bfe9=_0x52d16d;for(const _0x5c9e89 of this[_0x26bfe9(0x164)][_0x26bfe9(0x12f)]())for(const _0x269d3e of _0x5c9e89)if(_0x269d3e[_0x26bfe9(0x148)]===_0x3ef3db)return _0x269d3e[_0x26bfe9(0x154)];}[_0x52d16d(0x169)](_0x4c7770,_0x2535fd){const _0x2babf2=_0x52d16d;if(_0x2babf2(0x138)!==this[_0x2babf2(0x15f)][_0x2babf2(0x14b)][_0x2babf2(0x167)](_0x1df85d)[_0x2babf2(0x140)])return;const _0x60ecb3=_0x2535fd[_0x2babf2(0x148)],_0x3eab17=this[_0x2babf2(0x153)][_0x2babf2(0x132)](_0x60ecb3['id'])||this[_0x2babf2(0x161)](_0x60ecb3),_0x575515=Object[_0x2babf2(0x15c)]({},_0x2535fd,{'user':_0x3eab17});this[_0x2babf2(0x164)][_0x2babf2(0x167)](_0x4c7770)[_0x2babf2(0x13a)](_0x575515);const _0x5934dc=this[_0x2babf2(0x133)][_0x2babf2(0x167)](_0x4c7770);_0x5934dc[_0x2babf2(0x147)](_0x3eab17['id'])||_0x5934dc[_0x2babf2(0x13a)](_0x3eab17),this[_0x2babf2(0x156)][_0x2babf2(0x147)](_0x3eab17['id'])||this[_0x2babf2(0x156)][_0x2babf2(0x13a)](_0x3eab17,_0x3eab17[_0x2babf2(0x14e)]?0x0:void 0x0),this[_0x2babf2(0x144)](_0x2babf2(0x143)+_0x4c7770,{'channelId':_0x4c7770,'session':_0x575515});}[_0x52d16d(0x149)](_0x3a8157,_0x5110af){const _0x5d1a86=_0x52d16d;if(_0x5d1a86(0x138)!==this[_0x5d1a86(0x15f)][_0x5d1a86(0x14b)][_0x5d1a86(0x167)](_0x1df85d)[_0x5d1a86(0x140)])return;const _0x542f85=this[_0x5d1a86(0x133)][_0x5d1a86(0x167)](_0x3a8157),_0x285f6d=_0x5110af[_0x5d1a86(0x148)];_0x285f6d['id']&&(this[_0x5d1a86(0x164)][_0x5d1a86(0x167)](_0x3a8157)[_0x5d1a86(0x15d)](_0x5110af['id']),_0x542f85[_0x5d1a86(0x147)](_0x285f6d['id'])&&!this[_0x5d1a86(0x12e)](_0x285f6d,_0x3a8157)[_0x5d1a86(0x14c)]&&_0x542f85[_0x5d1a86(0x15d)](_0x285f6d['id']),this[_0x5d1a86(0x156)][_0x5d1a86(0x167)](_0x285f6d['id'])&&!this[_0x5d1a86(0x12e)](_0x285f6d)[_0x5d1a86(0x14c)]&&this[_0x5d1a86(0x156)][_0x5d1a86(0x15d)](_0x285f6d['id']));}[_0x52d16d(0x161)](_0xd39e22,_0x30f3b5){const _0x58c46c=_0x52d16d,_0x4537f1=this[_0x58c46c(0x153)][_0x58c46c(0x13d)](_0xd39e22);return _0x30f3b5&&this[_0x58c46c(0x153)][_0x58c46c(0x135)](_0xd39e22['id']),_0x4537f1[_0x58c46c(0x159)]=this[_0x58c46c(0x141)]++,_0x4537f1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d15a3=_0x39f9;function _0x39f9(_0x385bc3,_0x94bcc9){const _0x51e2ce=_0x51e2();return _0x39f9=function(_0x39f907,_0x3d438d){_0x39f907=_0x39f907-0x167;let _0x532394=_0x51e2ce[_0x39f907];return _0x532394;},_0x39f9(_0x385bc3,_0x94bcc9);}function _0x51e2(){const _0xa56ee6=['ck-user__marker_hovered','861tYjrWU','</span>','markerToElement','keydown','plugins','10780398XKmNdP','startsWith','user:position:','commands','root','add','isCollapsed','color','$text','725070LRrvaF','getStart','setCustomProperty','highest','hasDomSelection','undo','hasContent','isSimilar','mapper','createUIElement','user:position','isOfficialPlugin','destroy','init','nodeAfter','model','end','markerNameToElements','user:','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','size','fromRange','getMarkerClass','selection','type','stopListening','marker','user:range:','markerRange','oldRange','47LtdnQx','570JRcoEO','set','13877010ecGqRQ','render','document','start','getAttribute','getRange','checkChild','ck-user__selection','getPositions','afterInit','conversion','change','toDomElement','parent','batch','view','userPositionMarker','detach','editing','UserMarkers','deletionPosition','markers','markerName','getSelectionClass','has','removeClass','reconvertMarker','_createdBatches','getNearestSelectionRange','isLimit','mouseleave','9508NhJYAo','user:range','applyOperation','ck-user__marker\x20','clear','addMarker','_domEmitter','name','get','for','split','newRange','update:user:range','getContainedElement','getUserBySessionId','tableCell','delete','remove','pluginName','mouseenter','isInline','updateMarker','removeMarker','change:range','getFirstRange','contenteditable','addEventListener','innerHTML','orderNumber','getCustomProperty','toRange','Escape','isObject','span','$graveyard','schema','isPremiumPlugin','14918dEVyNB','classList','requires','createRange','9798312QBFaeO','editingDowncast','enqueueChange','mySessionId','element','62657vaXyQc','listenTo','rootName','createUserMarkerOperations','markerToHighlight','editor','data-session-id'];_0x51e2=function(){return _0xa56ee6;};return _0x51e2();}(function(_0x31fa0d,_0x4045b6){const _0x228f78=_0x39f9,_0x515e6b=_0x31fa0d();while(!![]){try{const _0x3a6afb=-parseInt(_0x228f78(0x1e8))/0x1*(parseInt(_0x228f78(0x1ab))/0x2)+parseInt(_0x228f78(0x1bc))/0x3*(-parseInt(_0x228f78(0x186))/0x4)+-parseInt(_0x228f78(0x1ca))/0x5+parseInt(_0x228f78(0x1e9))/0x6*(parseInt(_0x228f78(0x1b4))/0x7)+parseInt(_0x228f78(0x1af))/0x8+parseInt(_0x228f78(0x1c1))/0x9+-parseInt(_0x228f78(0x167))/0xa;if(_0x3a6afb===_0x4045b6)break;else _0x515e6b['push'](_0x515e6b['shift']());}catch(_0x22b273){_0x515e6b['push'](_0x515e6b['shift']());}}}(_0x51e2,0xacb8d));import{Plugin as _0x2a1726}from'ckeditor5/src/core.js';import{global as _0x26d398,DomEmitterMixin as _0x323dd6}from'ckeditor5/src/utils.js';import _0x74d8cf from'./sessions.js';import{LiveRange as _0x127291}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x2a1726{constructor(){const _0x5b1c76=_0x39f9;super(...arguments),this[_0x5b1c76(0x18c)]=new(_0x323dd6())();}static get[_0x2d15a3(0x1ad)](){return[_0x74d8cf];}static get[_0x2d15a3(0x198)](){const _0x358bc5=_0x2d15a3;return _0x358bc5(0x17a);}static get[_0x2d15a3(0x1d5)](){return!0x0;}static get[_0x2d15a3(0x1aa)](){return!0x0;}[_0x2d15a3(0x1d7)](){const _0x1742fc=_0x2d15a3,_0x4b826b=this[_0x1742fc(0x1b9)],_0x3fab99=_0x4b826b[_0x1742fc(0x1c0)][_0x1742fc(0x18e)](_0x74d8cf);_0x4b826b[_0x1742fc(0x171)][_0x1742fc(0x18f)](_0x1742fc(0x1b0))[_0x1742fc(0x1be)]({'model':_0x1742fc(0x1d4),'view':(_0x2d7734,{writer:_0x4a5c8c})=>function(_0x408836,_0x371ade,_0x2dd83a,_0x7af353){const _0x5411d6=_0x1742fc,_0x36de32=_0x408836[_0x5411d6(0x17d)][_0x5411d6(0x190)](':')[0x2],_0x471af1=_0x2dd83a[_0x5411d6(0x194)](_0x36de32);if(!_0x471af1||_0x36de32===_0x2dd83a[_0x5411d6(0x1b2)])return;if(!_0x7af353[_0x5411d6(0x1d9)][_0x5411d6(0x1a9)][_0x5411d6(0x16d)](_0x408836[_0x5411d6(0x1e6)][_0x5411d6(0x16a)],_0x5411d6(0x1c9)))return;const _0x1367c0={'class':_0x5411d6(0x189)+_0x471af1[_0x5411d6(0x1c8)][_0x5411d6(0x1e0)](),'data-name':_0x471af1[_0x5411d6(0x18d)],'data-session-id':_0x36de32},_0x2d43ce=_0x7af353[_0x5411d6(0x1d9)][_0x5411d6(0x17c)][_0x5411d6(0x18e)](_0x408836[_0x5411d6(0x17d)]),_0x1b72d4=_0x2d43ce[_0x5411d6(0x1cb)](),_0x3000bc=_0x1b72d4[_0x5411d6(0x1d8)],_0x2ac043=_0x7af353[_0x5411d6(0x1d9)][_0x5411d6(0x1a9)];if(_0x3000bc&&_0x2ac043[_0x5411d6(0x1a6)](_0x3000bc)&&_0x2ac043[_0x5411d6(0x19a)](_0x3000bc)&&!_0x7af353[_0x5411d6(0x1d9)][_0x5411d6(0x17c)][_0x5411d6(0x18e)](_0x5411d6(0x1e5)+_0x36de32)[_0x5411d6(0x16c)]()[_0x5411d6(0x1c7)])return;const _0x14d782=_0x1b72d4[_0x5411d6(0x174)];return _0x7af353[_0x5411d6(0x1d9)][_0x5411d6(0x1a9)][_0x5411d6(0x184)](_0x14d782)&&!_0x7af353[_0x5411d6(0x1d9)][_0x5411d6(0x1d0)](_0x14d782)&&(_0x1367c0[_0x5411d6(0x19f)]=!0x1),function(_0x2aec35,_0x4361a1,_0x592c2b){const _0x724390=_0x5411d6,_0x2ca7b5=_0x2aec35[_0x724390(0x1d3)](_0x724390(0x1a7),_0x4361a1);return _0x2aec35[_0x724390(0x1cc)](_0x724390(0x177),!0x0,_0x2ca7b5),_0x2ca7b5[_0x724390(0x168)]=function(_0x17efe0){const _0x2701e9=_0x724390,_0x1a9e2d=this[_0x2701e9(0x173)](_0x17efe0);return _0x1a9e2d[_0x2701e9(0x1a1)]=_0x2701e9(0x1dd)+_0x592c2b[_0x2701e9(0x18d)]+_0x2701e9(0x1bd),_0x1a9e2d[_0x2701e9(0x1a0)](_0x2701e9(0x199),()=>{const _0x299c4a=_0x2701e9;_0x1a9e2d[_0x299c4a(0x1ac)][_0x299c4a(0x1c6)](_0x299c4a(0x1bb));}),_0x1a9e2d[_0x2701e9(0x1a0)](_0x2701e9(0x185),()=>{const _0x38d9a7=_0x2701e9;_0x1a9e2d[_0x38d9a7(0x1ac)][_0x38d9a7(0x197)](_0x38d9a7(0x1bb));}),_0x1a9e2d;},_0x2ca7b5[_0x724390(0x1d1)]=function(_0x28fc33){const _0x3d5960=_0x724390;return!(!this[_0x3d5960(0x1a3)](_0x3d5960(0x177))||!_0x28fc33[_0x3d5960(0x1a3)](_0x3d5960(0x177))||this[_0x3d5960(0x16b)](_0x3d5960(0x1ba))!=_0x28fc33[_0x3d5960(0x16b)](_0x3d5960(0x1ba)));},_0x2ca7b5;}(_0x371ade,_0x1367c0,_0x471af1);}(_0x2d7734,_0x4a5c8c,_0x3fab99,_0x4b826b)}),_0x4b826b[_0x1742fc(0x171)][_0x1742fc(0x18f)](_0x1742fc(0x1b0))[_0x1742fc(0x1b8)]({'model':_0x1742fc(0x187),'view':_0x26aaa3=>function(_0x20e569,_0x5a89d6){const _0x57218e=_0x1742fc,_0x479a3f=_0x20e569[_0x57218e(0x17d)][_0x57218e(0x190)](':')[0x2];if(_0x479a3f===_0x5a89d6[_0x57218e(0x1b2)])return null;const _0xff31c9=_0x5a89d6[_0x57218e(0x194)](_0x479a3f);if(!_0xff31c9)return{'id':_0x479a3f,'classes':[]};return{'id':_0x479a3f,'classes':[_0x57218e(0x16e),_0xff31c9[_0x57218e(0x1c8)][_0x57218e(0x17e)]()],'attributes':{'data-session-id':_0x479a3f},'priority':0x7d0+_0xff31c9[_0x57218e(0x1a2)]};}(_0x26aaa3,_0x3fab99)}),function(_0x25fe39){const _0x237f9f=_0x1742fc,_0x278ee0=_0x25fe39[_0x237f9f(0x1d9)],_0x483995=new Map(),_0x286304=_0x25fe39[_0x237f9f(0x1c0)][_0x237f9f(0x18e)](_0x74d8cf);_0x278ee0[_0x237f9f(0x17c)]['on'](_0x237f9f(0x192),(_0x5ae767,_0x315f7b,_0x14cea8,_0x16a04f)=>{const _0x51daea=_0x237f9f;if(!_0x16a04f&&_0x483995[_0x51daea(0x18e)](_0x315f7b[_0x51daea(0x18d)]))return _0x483995[_0x51daea(0x18e)](_0x315f7b[_0x51daea(0x18d)])[_0x51daea(0x178)](),void _0x483995[_0x51daea(0x196)](_0x315f7b[_0x51daea(0x18d)]);const _0x4eedb4=_0x315f7b[_0x51daea(0x18d)][_0x51daea(0x190)](':')[0x2];if(_0x4eedb4===_0x286304[_0x51daea(0x1b2)])return;const _0x1fff53=_0x51daea(0x1c3)+_0x4eedb4;_0x278ee0[_0x51daea(0x17c)][_0x51daea(0x17f)](_0x1fff53)&&_0x25fe39[_0x51daea(0x179)][_0x51daea(0x181)](_0x1fff53),_0x315f7b['on'](_0x51daea(0x19d),(_0xe3fa37,_0x44f4f1,_0x4e0458)=>{const _0x5152f2=_0x51daea;if(_0x5152f2(0x1a8)!=_0x44f4f1[_0x5152f2(0x1c5)][_0x5152f2(0x1b6)]&&_0x5152f2(0x1a8)==_0x315f7b[_0x5152f2(0x16c)]()[_0x5152f2(0x1c5)][_0x5152f2(0x1b6)]&&!_0x483995[_0x5152f2(0x17f)](_0x315f7b[_0x5152f2(0x18d)])){const _0x26f146=_0x278ee0[_0x5152f2(0x1a9)][_0x5152f2(0x183)](_0x4e0458[_0x5152f2(0x17b)]);if(_0x26f146){const _0x4c7c6c=_0x127291[_0x5152f2(0x1df)](_0x26f146);_0x483995[_0x5152f2(0x1ea)](_0x315f7b[_0x5152f2(0x18d)],_0x4c7c6c),_0x4c7c6c['on'](_0x5152f2(0x19d),(_0x54e720,_0x272e67,_0xecbd82)=>{const _0x200775=_0x5152f2;if(_0x200775(0x1a8)==_0x4c7c6c[_0x200775(0x1c5)][_0x200775(0x1b6)]){const _0x168ab7=_0x278ee0[_0x200775(0x1a9)][_0x200775(0x183)](_0xecbd82[_0x200775(0x17b)]);_0x168ab7?(_0x4c7c6c[_0x200775(0x16a)]=_0x168ab7[_0x200775(0x16a)],_0x4c7c6c[_0x200775(0x1da)]=_0x168ab7[_0x200775(0x1da)]):(_0x483995[_0x200775(0x196)](_0x315f7b[_0x200775(0x18d)]),_0x4c7c6c[_0x200775(0x178)]());}});}}});}),_0x278ee0[_0x237f9f(0x169)]['on'](_0x237f9f(0x172),()=>{const _0x49ef73=_0x237f9f;_0x483995[_0x49ef73(0x1de)]>0x0&&_0x278ee0[_0x49ef73(0x1b1)]({'isUndoable':!0x1},_0x234152=>{const _0x3f6d9a=_0x49ef73;for(const [_0x4687d9,_0x3303b0]of _0x483995)_0x3f6d9a(0x1a8)==_0x278ee0[_0x3f6d9a(0x17c)][_0x3f6d9a(0x18e)](_0x4687d9)[_0x3f6d9a(0x16c)]()[_0x3f6d9a(0x1c5)][_0x3f6d9a(0x1b6)]&&(re(_0x4687d9[_0x3f6d9a(0x190)](':')[0x2],_0x3303b0[_0x3f6d9a(0x1a4)](),_0x278ee0,_0x234152),_0x3303b0[_0x3f6d9a(0x178)]());_0x483995[_0x3f6d9a(0x18a)]();});});}(_0x4b826b),this[_0x1742fc(0x18c)][_0x1742fc(0x1b5)](_0x26d398[_0x1742fc(0x169)],_0x1742fc(0x1bf),(_0x1cc872,{key:_0x2063a5})=>{const _0x572d45=_0x1742fc;_0x572d45(0x1a5)===_0x2063a5&&function(_0x45b976){const _0x11ef53=_0x572d45;_0x45b976[_0x11ef53(0x179)][_0x11ef53(0x176)][_0x11ef53(0x172)](_0x320305=>{const _0x5bcc3e=_0x11ef53;for(const _0x17a4bd of _0x45b976[_0x5bcc3e(0x1d9)][_0x5bcc3e(0x17c)]){if(!_0x17a4bd[_0x5bcc3e(0x18d)][_0x5bcc3e(0x1c2)](_0x5bcc3e(0x1d4)))continue;const _0x4a3cad=_0x45b976[_0x5bcc3e(0x179)][_0x5bcc3e(0x1d2)][_0x5bcc3e(0x1db)](_0x17a4bd[_0x5bcc3e(0x18d)]);if(_0x4a3cad){for(const _0x4a8d5f of _0x4a3cad)_0x320305[_0x5bcc3e(0x180)](_0x5bcc3e(0x1bb),_0x4a8d5f);}}});}(_0x4b826b);},{'useCapture':!0x0});}[_0x2d15a3(0x170)](){const _0x55f6d7=_0x2d15a3,_0xa98deb=this[_0x55f6d7(0x1b9)],_0x537309=_0xa98deb[_0x55f6d7(0x1c4)][_0x55f6d7(0x18e)](_0x55f6d7(0x1cf));_0x537309&&_0xa98deb[_0x55f6d7(0x1d9)]['on'](_0x55f6d7(0x188),(_0x1f45a4,_0x469742)=>{const _0x2a282e=_0x55f6d7,_0x55e43f=_0x469742[0x0];if(_0x2a282e(0x1e4)!=_0x55e43f[_0x2a282e(0x1e2)]||!_0x55e43f[_0x2a282e(0x18d)][_0x2a282e(0x1c2)](_0x2a282e(0x1dc)))return;const _0x5dc24b=_0x55e43f[_0x2a282e(0x175)];_0x537309[_0x2a282e(0x182)][_0x2a282e(0x17f)](_0x5dc24b)&&(_0x55e43f[_0x2a282e(0x191)]=_0x55e43f[_0x2a282e(0x1e7)]?_0xa98deb[_0x2a282e(0x1d9)][_0x2a282e(0x1ae)](_0x55e43f[_0x2a282e(0x1e7)][_0x2a282e(0x16a)],_0x55e43f[_0x2a282e(0x1e7)][_0x2a282e(0x1da)]):null);},{'priority':_0x55f6d7(0x1cd)});}[_0x2d15a3(0x1d6)](){const _0x225546=_0x2d15a3;return this[_0x225546(0x18c)][_0x225546(0x1e3)](),super[_0x225546(0x1d6)]();}[_0x2d15a3(0x1b7)](){const _0x117eb9=_0x2d15a3,_0x56a12e=this[_0x117eb9(0x1b9)],_0x17cec0=_0x56a12e[_0x117eb9(0x1d9)][_0x117eb9(0x169)],_0x4b5249=_0x56a12e[_0x117eb9(0x1c0)][_0x117eb9(0x18e)](_0x74d8cf);_0x56a12e[_0x117eb9(0x1d9)][_0x117eb9(0x1b1)]({'isUndoable':!0x1},_0x41c180=>{const _0x8eadb5=_0x117eb9,_0x12c9da=_0x8eadb5(0x1e5)+_0x4b5249[_0x8eadb5(0x1b2)],_0x1ab4ad=_0x8eadb5(0x1c3)+_0x4b5249[_0x8eadb5(0x1b2)],_0x4ebeaf=_0x56a12e[_0x8eadb5(0x1d9)][_0x8eadb5(0x17c)][_0x8eadb5(0x17f)](_0x12c9da);_0x56a12e[_0x8eadb5(0x179)][_0x8eadb5(0x176)][_0x8eadb5(0x1ce)]?re(_0x4b5249[_0x8eadb5(0x1b2)],_0x17cec0[_0x8eadb5(0x1e1)][_0x8eadb5(0x19e)](),_0x56a12e[_0x8eadb5(0x1d9)],_0x41c180):_0x4ebeaf&&(_0x41c180[_0x8eadb5(0x19c)](_0x12c9da),_0x41c180[_0x8eadb5(0x19c)](_0x1ab4ad));});}}function re(_0x4b1971,_0x336f11,_0xcfacc7,_0x4754f4){const _0x5b83c8=_0x2d15a3,_0x2d1634=_0x5b83c8(0x1e5)+_0x4b1971,_0x1e19c3=_0x5b83c8(0x1c3)+_0x4b1971,_0x1e8c0c=_0x336f11[_0x5b83c8(0x193)]();let _0x4ef882=_0x336f11[_0x5b83c8(0x16a)];_0x1e8c0c&&_0x1e8c0c['is'](_0x5b83c8(0x1b3),_0x5b83c8(0x195))&&(_0x4ef882=function(_0x270c44,_0x3b4c67){const _0x253ead=_0x5b83c8;for(const _0x42db6f of _0x270c44[_0x253ead(0x16f)]())if(_0x3b4c67[_0x253ead(0x1a9)][_0x253ead(0x16d)](_0x42db6f,_0x253ead(0x1c9)))return _0x42db6f;}(_0x336f11,_0xcfacc7),_0x336f11=_0x4754f4[_0x5b83c8(0x1ae)](_0x4ef882));const _0x54d5e8=_0x4754f4[_0x5b83c8(0x1ae)](_0x4ef882);_0xcfacc7[_0x5b83c8(0x17c)][_0x5b83c8(0x17f)](_0x2d1634)?(_0x4754f4[_0x5b83c8(0x19b)](_0x2d1634,{'range':_0x336f11}),_0x4754f4[_0x5b83c8(0x19b)](_0x1e19c3,{'range':_0x54d5e8})):(_0x4754f4[_0x5b83c8(0x18b)](_0x2d1634,{'range':_0x336f11,'usingOperation':!0x0}),_0x4754f4[_0x5b83c8(0x18b)](_0x1e19c3,{'range':_0x54d5e8,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x4110ab=_0x2ac2;(function(_0x5c2631,_0x410a1d){const _0x3a9085=_0x2ac2,_0x520606=_0x5c2631();while(!![]){try{const _0x5da350=parseInt(_0x3a9085(0xd4))/0x1+parseInt(_0x3a9085(0x9e))/0x2+-parseInt(_0x3a9085(0xad))/0x3*(-parseInt(_0x3a9085(0x99))/0x4)+-parseInt(_0x3a9085(0xe8))/0x5+parseInt(_0x3a9085(0x8c))/0x6+-parseInt(_0x3a9085(0xdb))/0x7*(-parseInt(_0x3a9085(0xda))/0x8)+-parseInt(_0x3a9085(0xcd))/0x9;if(_0x5da350===_0x410a1d)break;else _0x520606['push'](_0x520606['shift']());}catch(_0x36933d){_0x520606['push'](_0x520606['shift']());}}}(_0x317c,0x24cdb));function _0x317c(){const _0x2cfa64=['init','UserMarkers','split','add','orderNumber','1581204gegrEW','_createdBatches','isObject','createUserMarkerOperations','_domEmitter','isPremiumPlugin','enqueueChange','mouseenter','userPositionMarker','user:','contenteditable','Escape','hasContent','3760dpWEOE','getCustomProperty','root','toDomElement','innerHTML','346550EWAchA','$text','getMarkerClass','listenTo','model','set','markerToElement','hasDomSelection','fromRange','change','markerToHighlight','mySessionId','removeMarker','stopListening','setCustomProperty','606iFIvRI','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','clear','addEventListener','getRange','get','getPositions','getStart','undo','document','mouseleave','nodeAfter','isLimit','detach','requires','editor','editingDowncast','size','user:range:','oldRange','batch','end','type','checkChild','render','element','applyOperation','getFirstRange','data-session-id','color','conversion','getUserBySessionId','7029081UtzEpd','user:position','classList','ck-user__marker\x20','isInline','isSimilar','startsWith','11940tYRffq','getNearestSelectionRange','start','user:range','highest','markers','13480yAGTqF','1239ZgFVvQ','has','keydown','change:range','markerNameToElements','getAttribute','ck-user__marker_hovered','getContainedElement','isCollapsed','removeClass','user:position:','remove','markerRange','25590ADCEci','commands','schema','isOfficialPlugin','selection','span','afterInit','update:user:range','ck-user__selection','view','createRange','rootName','destroy','markerName','delete','parent','$graveyard','name','plugins','</span>','createUIElement','toRange','newRange','deletionPosition','reconvertMarker','addMarker','getSelectionClass','tableCell','pluginName','editing','updateMarker','mapper','marker','for'];_0x317c=function(){return _0x2cfa64;};return _0x317c();}function _0x2ac2(_0xc560a1,_0x53177a){const _0x317cf6=_0x317c();return _0x2ac2=function(_0x2ac2d5,_0x5431cd){_0x2ac2d5=_0x2ac2d5-0x81;let _0x98a61=_0x317cf6[_0x2ac2d5];return _0x98a61;},_0x2ac2(_0xc560a1,_0x53177a);}import{Plugin as _0x3a490e}from'ckeditor5/src/core.js';import{global as _0x27f0f4,DomEmitterMixin as _0x5956ad}from'ckeditor5/src/utils.js';import _0x53f082 from'./sessions.js';import{LiveRange as _0x47546c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x3a490e{constructor(){const _0x3244d7=_0x2ac2;super(...arguments),this[_0x3244d7(0x90)]=new(_0x5956ad())();}static get[_0x4110ab(0xbb)](){return[_0x53f082];}static get[_0x4110ab(0x81)](){const _0x5ee0a0=_0x4110ab;return _0x5ee0a0(0x88);}static get[_0x4110ab(0xeb)](){return!0x0;}static get[_0x4110ab(0x91)](){return!0x0;}[_0x4110ab(0x87)](){const _0xe8e63=_0x4110ab,_0x399cdf=this[_0xe8e63(0xbc)],_0x978348=_0x399cdf[_0xe8e63(0xfa)][_0xe8e63(0xb2)](_0x53f082);_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa4)]({'model':_0xe8e63(0xce),'view':(_0x74db1b,{writer:_0x46c089})=>function(_0x50ca1a,_0x12e25b,_0x5738f6,_0x530069){const _0x1cf19d=_0xe8e63,_0xb0cbbe=_0x50ca1a[_0x1cf19d(0xf5)][_0x1cf19d(0x89)](':')[0x2],_0x1141cb=_0x5738f6[_0x1cf19d(0xcc)](_0xb0cbbe);if(!_0x1141cb||_0xb0cbbe===_0x5738f6[_0x1cf19d(0xa9)])return;if(!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xc4)](_0x50ca1a[_0x1cf19d(0xe7)][_0x1cf19d(0xd6)],_0x1cf19d(0x9f)))return;const _0x4f9fc8={'class':_0x1cf19d(0xd0)+_0x1141cb[_0x1cf19d(0xca)][_0x1cf19d(0xa0)](),'data-name':_0x1141cb[_0x1cf19d(0xf9)],'data-session-id':_0xb0cbbe},_0x473f26=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x50ca1a[_0x1cf19d(0xf5)]),_0x4d3c36=_0x473f26[_0x1cf19d(0xb4)](),_0x5619ab=_0x4d3c36[_0x1cf19d(0xb8)],_0x291e3c=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)];if(_0x5619ab&&_0x291e3c[_0x1cf19d(0x8e)](_0x5619ab)&&_0x291e3c[_0x1cf19d(0xd1)](_0x5619ab)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x1cf19d(0xbf)+_0xb0cbbe)[_0x1cf19d(0xb1)]()[_0x1cf19d(0xe3)])return;const _0x3b3464=_0x4d3c36[_0x1cf19d(0xf7)];return _0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xb9)](_0x3b3464)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0x98)](_0x3b3464)&&(_0x4f9fc8[_0x1cf19d(0x96)]=!0x1),function(_0x3003be,_0x3e244b,_0x2e2aa5){const _0x116be0=_0x1cf19d,_0x5881dd=_0x3003be[_0x116be0(0xfc)](_0x116be0(0xed),_0x3e244b);return _0x3003be[_0x116be0(0xac)](_0x116be0(0x94),!0x0,_0x5881dd),_0x5881dd[_0x116be0(0xc5)]=function(_0x301c8b){const _0x6aba03=_0x116be0,_0x2ef0be=this[_0x6aba03(0x9c)](_0x301c8b);return _0x2ef0be[_0x6aba03(0x9d)]=_0x6aba03(0xae)+_0x2e2aa5[_0x6aba03(0xf9)]+_0x6aba03(0xfb),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0x93),()=>{const _0x32ec9b=_0x6aba03;_0x2ef0be[_0x32ec9b(0xcf)][_0x32ec9b(0x8a)](_0x32ec9b(0xe1));}),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0xb7),()=>{const _0x3cee07=_0x6aba03;_0x2ef0be[_0x3cee07(0xcf)][_0x3cee07(0xe6)](_0x3cee07(0xe1));}),_0x2ef0be;},_0x5881dd[_0x116be0(0xd2)]=function(_0x1eef04){const _0x3e718c=_0x116be0;return!(!this[_0x3e718c(0x9a)](_0x3e718c(0x94))||!_0x1eef04[_0x3e718c(0x9a)](_0x3e718c(0x94))||this[_0x3e718c(0xe0)](_0x3e718c(0xc9))!=_0x1eef04[_0x3e718c(0xe0)](_0x3e718c(0xc9)));},_0x5881dd;}(_0x12e25b,_0x4f9fc8,_0x1141cb);}(_0x74db1b,_0x46c089,_0x978348,_0x399cdf)}),_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa8)]({'model':_0xe8e63(0xd7),'view':_0x9fe5b=>function(_0x4750ee,_0x65cba2){const _0x3212e0=_0xe8e63,_0x4a27b5=_0x4750ee[_0x3212e0(0xf5)][_0x3212e0(0x89)](':')[0x2];if(_0x4a27b5===_0x65cba2[_0x3212e0(0xa9)])return null;const _0x58a238=_0x65cba2[_0x3212e0(0xcc)](_0x4a27b5);if(!_0x58a238)return{'id':_0x4a27b5,'classes':[]};return{'id':_0x4a27b5,'classes':[_0x3212e0(0xf0),_0x58a238[_0x3212e0(0xca)][_0x3212e0(0x102)]()],'attributes':{'data-session-id':_0x4a27b5},'priority':0x7d0+_0x58a238[_0x3212e0(0x8b)]};}(_0x9fe5b,_0x978348)}),function(_0x3addf0){const _0x21d6f1=_0xe8e63,_0x48551c=_0x3addf0[_0x21d6f1(0xa2)],_0x475e3f=new Map(),_0x55f40c=_0x3addf0[_0x21d6f1(0xfa)][_0x21d6f1(0xb2)](_0x53f082);_0x48551c[_0x21d6f1(0xd9)]['on'](_0x21d6f1(0xef),(_0x53183a,_0x3099cd,_0x2e875d,_0x424756)=>{const _0x49d693=_0x21d6f1;if(!_0x424756&&_0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)]))return _0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)])[_0x49d693(0xba)](),void _0x475e3f[_0x49d693(0xf6)](_0x3099cd[_0x49d693(0xf9)]);const _0x1fc9a9=_0x3099cd[_0x49d693(0xf9)][_0x49d693(0x89)](':')[0x2];if(_0x1fc9a9===_0x55f40c[_0x49d693(0xa9)])return;const _0x5d6306=_0x49d693(0xe5)+_0x1fc9a9;_0x48551c[_0x49d693(0xd9)][_0x49d693(0xdc)](_0x5d6306)&&_0x3addf0[_0x49d693(0x82)][_0x49d693(0x100)](_0x5d6306),_0x3099cd['on'](_0x49d693(0xde),(_0x43aa6,_0x4071d5,_0x53573e)=>{const _0x18679e=_0x49d693;if(_0x18679e(0xf8)!=_0x4071d5[_0x18679e(0x9b)][_0x18679e(0xf3)]&&_0x18679e(0xf8)==_0x3099cd[_0x18679e(0xb1)]()[_0x18679e(0x9b)][_0x18679e(0xf3)]&&!_0x475e3f[_0x18679e(0xdc)](_0x3099cd[_0x18679e(0xf9)])){const _0x2e980e=_0x48551c[_0x18679e(0xea)][_0x18679e(0xd5)](_0x53573e[_0x18679e(0xff)]);if(_0x2e980e){const _0x10cfe0=_0x47546c[_0x18679e(0xa6)](_0x2e980e);_0x475e3f[_0x18679e(0xa3)](_0x3099cd[_0x18679e(0xf9)],_0x10cfe0),_0x10cfe0['on'](_0x18679e(0xde),(_0x19d7bb,_0x533d67,_0x9bca4b)=>{const _0x4182c8=_0x18679e;if(_0x4182c8(0xf8)==_0x10cfe0[_0x4182c8(0x9b)][_0x4182c8(0xf3)]){const _0x4a881f=_0x48551c[_0x4182c8(0xea)][_0x4182c8(0xd5)](_0x9bca4b[_0x4182c8(0xff)]);_0x4a881f?(_0x10cfe0[_0x4182c8(0xd6)]=_0x4a881f[_0x4182c8(0xd6)],_0x10cfe0[_0x4182c8(0xc2)]=_0x4a881f[_0x4182c8(0xc2)]):(_0x475e3f[_0x4182c8(0xf6)](_0x3099cd[_0x4182c8(0xf9)]),_0x10cfe0[_0x4182c8(0xba)]());}});}}});}),_0x48551c[_0x21d6f1(0xb6)]['on'](_0x21d6f1(0xa7),()=>{const _0x108408=_0x21d6f1;_0x475e3f[_0x108408(0xbe)]>0x0&&_0x48551c[_0x108408(0x92)]({'isUndoable':!0x1},_0x2367ae=>{const _0x80fa73=_0x108408;for(const [_0x44d100,_0xe89be9]of _0x475e3f)_0x80fa73(0xf8)==_0x48551c[_0x80fa73(0xd9)][_0x80fa73(0xb2)](_0x44d100)[_0x80fa73(0xb1)]()[_0x80fa73(0x9b)][_0x80fa73(0xf3)]&&(re(_0x44d100[_0x80fa73(0x89)](':')[0x2],_0xe89be9[_0x80fa73(0xfd)](),_0x48551c,_0x2367ae),_0xe89be9[_0x80fa73(0xba)]());_0x475e3f[_0x80fa73(0xaf)]();});});}(_0x399cdf),this[_0xe8e63(0x90)][_0xe8e63(0xa1)](_0x27f0f4[_0xe8e63(0xb6)],_0xe8e63(0xdd),(_0x3c9d3d,{key:_0x10a077})=>{const _0x8e9e1=_0xe8e63;_0x8e9e1(0x97)===_0x10a077&&function(_0x4028c8){const _0x48bbf4=_0x8e9e1;_0x4028c8[_0x48bbf4(0x82)][_0x48bbf4(0xf1)][_0x48bbf4(0xa7)](_0x354342=>{const _0x4f3ff7=_0x48bbf4;for(const _0x569a8b of _0x4028c8[_0x4f3ff7(0xa2)][_0x4f3ff7(0xd9)]){if(!_0x569a8b[_0x4f3ff7(0xf9)][_0x4f3ff7(0xd3)](_0x4f3ff7(0xce)))continue;const _0x330765=_0x4028c8[_0x4f3ff7(0x82)][_0x4f3ff7(0x84)][_0x4f3ff7(0xdf)](_0x569a8b[_0x4f3ff7(0xf9)]);if(_0x330765){for(const _0x58eb43 of _0x330765)_0x354342[_0x4f3ff7(0xe4)](_0x4f3ff7(0xe1),_0x58eb43);}}});}(_0x399cdf);},{'useCapture':!0x0});}[_0x4110ab(0xee)](){const _0x3957ff=_0x4110ab,_0x38f08a=this[_0x3957ff(0xbc)],_0x462ea5=_0x38f08a[_0x3957ff(0xe9)][_0x3957ff(0xb2)](_0x3957ff(0xb5));_0x462ea5&&_0x38f08a[_0x3957ff(0xa2)]['on'](_0x3957ff(0xc7),(_0x2b8dbf,_0x2c5c0c)=>{const _0x2307ae=_0x3957ff,_0x3ce9f8=_0x2c5c0c[0x0];if(_0x2307ae(0x85)!=_0x3ce9f8[_0x2307ae(0xc3)]||!_0x3ce9f8[_0x2307ae(0xf9)][_0x2307ae(0xd3)](_0x2307ae(0x95)))return;const _0x20b263=_0x3ce9f8[_0x2307ae(0xc1)];_0x462ea5[_0x2307ae(0x8d)][_0x2307ae(0xdc)](_0x20b263)&&(_0x3ce9f8[_0x2307ae(0xfe)]=_0x3ce9f8[_0x2307ae(0xc0)]?_0x38f08a[_0x2307ae(0xa2)][_0x2307ae(0xf2)](_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xd6)],_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xc2)]):null);},{'priority':_0x3957ff(0xd8)});}[_0x4110ab(0xf4)](){const _0x34a186=_0x4110ab;return this[_0x34a186(0x90)][_0x34a186(0xab)](),super[_0x34a186(0xf4)]();}[_0x4110ab(0x8f)](){const _0x3805a0=_0x4110ab,_0x426419=this[_0x3805a0(0xbc)],_0x48b75d=_0x426419[_0x3805a0(0xa2)][_0x3805a0(0xb6)],_0x7f5c91=_0x426419[_0x3805a0(0xfa)][_0x3805a0(0xb2)](_0x53f082);_0x426419[_0x3805a0(0xa2)][_0x3805a0(0x92)]({'isUndoable':!0x1},_0x53efd1=>{const _0x355c5d=_0x3805a0,_0x56f09d=_0x355c5d(0xbf)+_0x7f5c91[_0x355c5d(0xa9)],_0xc29f48=_0x355c5d(0xe5)+_0x7f5c91[_0x355c5d(0xa9)],_0x5adbd6=_0x426419[_0x355c5d(0xa2)][_0x355c5d(0xd9)][_0x355c5d(0xdc)](_0x56f09d);_0x426419[_0x355c5d(0x82)][_0x355c5d(0xf1)][_0x355c5d(0xa5)]?re(_0x7f5c91[_0x355c5d(0xa9)],_0x48b75d[_0x355c5d(0xec)][_0x355c5d(0xc8)](),_0x426419[_0x355c5d(0xa2)],_0x53efd1):_0x5adbd6&&(_0x53efd1[_0x355c5d(0xaa)](_0x56f09d),_0x53efd1[_0x355c5d(0xaa)](_0xc29f48));});}}function re(_0xb1e54a,_0xb4efe9,_0xd7ec68,_0x4c4de8){const _0x524824=_0x4110ab,_0x43c171=_0x524824(0xbf)+_0xb1e54a,_0x443312=_0x524824(0xe5)+_0xb1e54a,_0x49dcc1=_0xb4efe9[_0x524824(0xe2)]();let _0x26c2db=_0xb4efe9[_0x524824(0xd6)];_0x49dcc1&&_0x49dcc1['is'](_0x524824(0xc6),_0x524824(0x103))&&(_0x26c2db=function(_0x1f36f1,_0x54d5b8){const _0x5d4a34=_0x524824;for(const _0xd41a03 of _0x1f36f1[_0x5d4a34(0xb3)]())if(_0x54d5b8[_0x5d4a34(0xea)][_0x5d4a34(0xc4)](_0xd41a03,_0x5d4a34(0x9f)))return _0xd41a03;}(_0xb4efe9,_0xd7ec68),_0xb4efe9=_0x4c4de8[_0x524824(0xf2)](_0x26c2db));const _0x224f31=_0x4c4de8[_0x524824(0xf2)](_0x26c2db);_0xd7ec68[_0x524824(0xd9)][_0x524824(0xdc)](_0x43c171)?(_0x4c4de8[_0x524824(0x83)](_0x43c171,{'range':_0xb4efe9}),_0x4c4de8[_0x524824(0x83)](_0x443312,{'range':_0x224f31})):(_0x4c4de8[_0x524824(0x101)](_0x43c171,{'range':_0xb4efe9,'usingOperation':!0x0}),_0x4c4de8[_0x524824(0x101)](_0x443312,{'range':_0x224f31,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fb5a8=_0x3b43;function _0x27a5(){const _0xd54725=['WebSocketGateway','showWarning','get','then','set','limitExceeded','listenTo','949226tUBygK','_isBrowserOffline','config','websocketgateway-missing-websocket-url','create','has','cloudServices.requestTimeout','context','cloudservices-init','isOfficialPlugin','websocketgateway-missing-token','_reconnectionStack','connect','catch','cloudServices.connectionTimeout','138357vcIFmF','CONNECTED','reconnect','18697nddgRl','function','define','token','Connected\x20users\x20limit\x20exceeded','code','connected','plugins','add','from','error','22Rffvvf','removeFromReconnectionStack','4694395nlEdxC','websocketgateway-invalid-plugin-interface','pluginName','webSocketUrl','DISCONNECTED','real-time-collaboration','896lutJLk','change:me','_shouldPluginsReconnect','stopListening','disconnect','bind','isPremiumPlugin','cloudservices-reconnection-error','_reconnect','online','offline','destroy','2434848sSsCig','state','CONNECTING','6fSinjc','isInReconnectionStack','init','connection','429rLfBYu','all','websocketgateway-plugin-already-registered','16570746PVTgag','initialReconnectionInterval','addToReconnectionStack','CloudServices','delete','287150zSSrKf','constructor','_domEmitter','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.','requires'];_0x27a5=function(){return _0xd54725;};return _0x27a5();}(function(_0x32c9e1,_0x361d62){const _0x5f1c55=_0x3b43,_0x3ebe5a=_0x32c9e1();while(!![]){try{const _0x3ae43d=parseInt(_0x5f1c55(0x110))/0x1+-parseInt(_0x5f1c55(0x12d))/0x2*(parseInt(_0x5f1c55(0x11f))/0x3)+parseInt(_0x5f1c55(0x141))/0x4+parseInt(_0x5f1c55(0x12f))/0x5*(parseInt(_0x5f1c55(0xf8))/0x6)+-parseInt(_0x5f1c55(0x122))/0x7*(parseInt(_0x5f1c55(0x135))/0x8)+-parseInt(_0x5f1c55(0xff))/0x9+parseInt(_0x5f1c55(0x104))/0xa*(parseInt(_0x5f1c55(0xfc))/0xb);if(_0x3ae43d===_0x361d62)break;else _0x3ebe5a['push'](_0x3ebe5a['shift']());}catch(_0x12c100){_0x3ebe5a['push'](_0x3ebe5a['shift']());}}}(_0x27a5,0xec957));import{ContextPlugin as _0x224ffb}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x48409f,CKEditorError as _0x2aeaa2}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x53111f,WEB_SOCKET_GATEWAY_STATES as _0x2afe37}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x58e16e}from'ckeditor5/src/ui.js';class c extends _0x224ffb{static get[_0x3fb5a8(0x108)](){const _0x4c6b84=_0x3fb5a8;return[_0x4c6b84(0x102),_0x58e16e];}static get[_0x3fb5a8(0x131)](){const _0xdbed3=_0x3fb5a8;return _0xdbed3(0x109);}static get[_0x3fb5a8(0x119)](){return!0x0;}static get[_0x3fb5a8(0x13b)](){return!0x0;}constructor(_0x148bd9){const _0x4c94eb=_0x3fb5a8;super(_0x148bd9),this[_0x4c94eb(0x10d)](_0x4c94eb(0x142),_0x2afe37[_0x4c94eb(0x120)]),this[_0x4c94eb(0x10d)](_0x4c94eb(0x111),!0x1),this[_0x4c94eb(0x11b)]=new Set(),this[_0x4c94eb(0x137)]=!0x1,this[_0x4c94eb(0x106)]=Object[_0x4c94eb(0x114)](_0x48409f);}[_0x3fb5a8(0xfa)](){const _0x10f650=_0x3fb5a8,_0x332ba4=this[_0x10f650(0x117)],_0x41a563=_0x332ba4[_0x10f650(0x129)][_0x10f650(0x10b)](_0x10f650(0x102)),_0x1a1e83=_0x332ba4[_0x10f650(0x129)][_0x10f650(0x10b)](_0x58e16e);if(!_0x41a563[_0x10f650(0x125)])throw new _0x2aeaa2(_0x10f650(0x11a),this);if(!_0x41a563[_0x10f650(0x132)])throw new _0x2aeaa2(_0x10f650(0x113),this);return this[_0x10f650(0x106)][_0x10f650(0x10f)](window,_0x10f650(0x13f),()=>this[_0x10f650(0x111)]=!0x0),this[_0x10f650(0x106)][_0x10f650(0x10f)](window,_0x10f650(0x13e),()=>this[_0x10f650(0x111)]=!0x1),this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x124)](_0x10f650(0x11e),0xa),this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x124)](_0x10f650(0x116),0x14),c[_0x10f650(0x109)][_0x10f650(0x11c)](_0x41a563[_0x10f650(0x125)],_0x41a563[_0x10f650(0x132)],{'timeout':0x3e8*this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x10b)](_0x10f650(0x11e)),'requestTimeout':0x3e8*this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x10b)](_0x10f650(0x116))})[_0x10f650(0x10c)](_0xb1e343=>{const _0x45cb1e=_0x10f650;if(this[_0x45cb1e(0xfb)]=_0xb1e343,this[_0x45cb1e(0x13a)](_0x45cb1e(0x142))['to'](_0xb1e343,_0x45cb1e(0x142),this,_0x45cb1e(0x111),(_0x9a0e9c,_0x50b776)=>(_0x45cb1e(0x128)!==_0x9a0e9c&&(this[_0x45cb1e(0x137)]=!0x0),_0x50b776||_0x9a0e9c!==_0x2afe37[_0x45cb1e(0x120)]?_0x2afe37[_0x45cb1e(0x133)]:this[_0x45cb1e(0x142)]==_0x2afe37[_0x45cb1e(0x133)]&&this[_0x45cb1e(0x137)]?(this[_0x45cb1e(0x137)]=!0x1,this[_0x45cb1e(0x13d)](),_0x2afe37[_0x45cb1e(0x143)]):_0x2afe37[_0x45cb1e(0x120)])),this[_0x45cb1e(0xfb)]['on'](_0x45cb1e(0x12c),(_0x255f30,_0x59aca8)=>{const _0x4f549a=_0x45cb1e;if(_0x4f549a(0x10e)!==_0x59aca8[_0x4f549a(0x127)])throw console[_0x4f549a(0x12c)](_0x59aca8),new _0x2aeaa2(_0x4f549a(0x118),null,{'originalError':_0x59aca8});_0x1a1e83[_0x4f549a(0x10a)](_0x4f549a(0x107),{'title':_0x4f549a(0x126),'namespace':_0x4f549a(0x134)});}),!_0xb1e343['me'])return new Promise(_0x2250ca=>_0xb1e343['on'](_0x45cb1e(0x136),_0x2250ca));})[_0x10f650(0x11d)](_0x178f0a=>{const _0x22df5d=_0x10f650;throw console[_0x22df5d(0x12c)](_0x178f0a),new _0x2aeaa2(_0x22df5d(0x118),null,{'originalError':_0x178f0a});});}[_0x3fb5a8(0x101)](_0x4458ea){const _0x33ab21=_0x3fb5a8;if(_0x33ab21(0x123)!=typeof _0x4458ea[_0x33ab21(0x121)])throw new _0x2aeaa2(_0x33ab21(0x130),this);if(this[_0x33ab21(0xf9)](_0x4458ea))throw new _0x2aeaa2(_0x33ab21(0xfe),this,{'name':_0x4458ea[_0x33ab21(0x105)][_0x33ab21(0x131)]});this[_0x33ab21(0x11b)][_0x33ab21(0x12a)](_0x4458ea);}[_0x3fb5a8(0x12e)](_0x556f41){const _0x3bb99c=_0x3fb5a8;this[_0x3bb99c(0x11b)][_0x3bb99c(0x103)](_0x556f41);}[_0x3fb5a8(0xf9)](_0x4d55a4){const _0x4b4f8e=_0x3fb5a8;return this[_0x4b4f8e(0x11b)][_0x4b4f8e(0x115)](_0x4d55a4);}[_0x3fb5a8(0x13d)](){const _0x158b9d=_0x3fb5a8;return this[_0x158b9d(0xfb)][_0x158b9d(0x121)]()[_0x158b9d(0x10c)](()=>Promise[_0x158b9d(0xfd)](Array[_0x158b9d(0x12b)](this[_0x158b9d(0x11b)],_0x384d1d=>_0x384d1d[_0x158b9d(0x121)]())))[_0x158b9d(0x10c)](()=>this[_0x158b9d(0x142)]=_0x2afe37[_0x158b9d(0x120)])[_0x158b9d(0x11d)](_0x19fc5e=>{const _0x325f32=_0x158b9d;throw console[_0x325f32(0x12c)](_0x19fc5e),new _0x2aeaa2(_0x325f32(0x13c),this[_0x325f32(0x117)]);});}[_0x3fb5a8(0x140)](){const _0x5eb21d=_0x3fb5a8;this[_0x5eb21d(0xfb)]&&this[_0x5eb21d(0xfb)][_0x5eb21d(0x139)](),this[_0x5eb21d(0x142)]=_0x2afe37[_0x5eb21d(0x133)],this[_0x5eb21d(0x106)][_0x5eb21d(0x138)](),super[_0x5eb21d(0x140)]();}}function _0x3b43(_0x4a9192,_0x57a9a0){const _0x27a501=_0x27a5();return _0x3b43=function(_0x3b43fc,_0x40ca32){_0x3b43fc=_0x3b43fc-0xf8;let _0x262f5e=_0x27a501[_0x3b43fc];return _0x262f5e;},_0x3b43(_0x4a9192,_0x57a9a0);}c[_0x3fb5a8(0x109)]=_0x53111f,c[_0x3fb5a8(0x100)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x150cc6=_0x4699;(function(_0x13efd6,_0x317908){var _0x10830d=_0x4699,_0x288f96=_0x13efd6();while(!![]){try{var _0x200cb2=parseInt(_0x10830d(0x15f))/0x1*(-parseInt(_0x10830d(0x15b))/0x2)+-parseInt(_0x10830d(0x15d))/0x3*(parseInt(_0x10830d(0x154))/0x4)+-parseInt(_0x10830d(0x15c))/0x5+-parseInt(_0x10830d(0x151))/0x6+-parseInt(_0x10830d(0x156))/0x7*(-parseInt(_0x10830d(0x152))/0x8)+parseInt(_0x10830d(0x153))/0x9*(-parseInt(_0x10830d(0x158))/0xa)+parseInt(_0x10830d(0x150))/0xb;if(_0x200cb2===_0x317908)break;else _0x288f96['push'](_0x288f96['shift']());}catch(_0x55bf8b){_0x288f96['push'](_0x288f96['shift']());}}}(_0x7b38,0x7c1b8));import{Plugin as _0x5e6244}from'ckeditor5/src/core.js';import _0x55919b from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5e6244{static get[_0x150cc6(0x159)](){return[_0x55919b];}static get[_0x150cc6(0x157)](){var _0x34f2dd=_0x150cc6;return _0x34f2dd(0x15e);}static get[_0x150cc6(0x15a)](){return!0x0;}static get[_0x150cc6(0x155)](){return!0x0;}}function _0x4699(_0x19f3ff,_0x5d9b93){var _0x7b386a=_0x7b38();return _0x4699=function(_0x46990d,_0x1636ce){_0x46990d=_0x46990d-0x150;var _0x1c6f94=_0x7b386a[_0x46990d];return _0x1c6f94;},_0x4699(_0x19f3ff,_0x5d9b93);}function _0x7b38(){var _0x31a17b=['8GdpkjW','isPremiumPlugin','15547vGImWi','pluginName','4548110qCNvrr','requires','isOfficialPlugin','164248jMDaBy','1606950XISbGD','300876HhmZWn','RealTimeCollaborativeEditing','2XCzlrh','18082383esAZNM','2552100rOfpMR','1552SiEHqN','9PcdIwJ'];_0x7b38=function(){return _0x31a17b;};return _0x7b38();}
|