@ckeditor/ckeditor5-real-time-collaboration 43.3.0-alpha.0 → 43.3.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x2fcc7d=_0x1e59;(function(_0x2d741a,_0x44c760){const _0x4635ce=_0x1e59,_0x3db5dd=_0x2d741a();while(!![]){try{const _0x3051e3=parseInt(_0x4635ce(0x100))/0x1*(-parseInt(_0x4635ce(0xd9))/0x2)+-parseInt(_0x4635ce(0x10f))/0x3*(-parseInt(_0x4635ce(0xdf))/0x4)+-parseInt(_0x4635ce(0x126))/0x5+-parseInt(_0x4635ce(0xf9))/0x6*(-parseInt(_0x4635ce(0x115))/0x7)+parseInt(_0x4635ce(0xe1))/0x8*(-parseInt(_0x4635ce(0x106))/0x9)+-parseInt(_0x4635ce(0x11f))/0xa*(parseInt(_0x4635ce(0x128))/0xb)+parseInt(_0x4635ce(0x103))/0xc;if(_0x3051e3===_0x44c760)break;else _0x3db5dd['push'](_0x3db5dd['shift']());}catch(_0xea39cc){_0x3db5dd['push'](_0x3db5dd['shift']());}}}(_0x58dd,0x30723));import{Context as _0x33a863,ContextPlugin as _0x3906ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x49256e}from'ckeditor5/src/utils.js';import{Users as _0x359e1a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x43b9f8,User as _0x3b2053}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xf3cbc4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x419264 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3906ef{static get[_0x2fcc7d(0x131)](){const _0x2bb4ff=_0x2fcc7d;return[_0xf3cbc4,_0x2bb4ff(0x10e),_0x419264,_0x359e1a];}static get[_0x2fcc7d(0x123)](){const _0x3258e7=_0x2fcc7d;return _0x3258e7(0xd2);}static get[_0x2fcc7d(0xfa)](){return!0x0;}static get[_0x2fcc7d(0xf3)](){return!0x0;}constructor(_0xbf805a){const _0x3c8a46=_0x2fcc7d;super(_0xbf805a),this[_0x3c8a46(0xcf)]=new Map();}async[_0x2fcc7d(0x12d)](){const _0xa91dca=_0x2fcc7d,_0x55f3ae=this[_0xa91dca(0x110)],_0x518201=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xa91dca(0x10e));if(_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xf3cbc4)[_0xa91dca(0x125)](this),_0x518201[_0xa91dca(0x11d)]={'addCommentThread':async({channelId:_0x285a36,threadId:_0x180e18,comments:_0x53c112,resolvedAt:_0x1cf34b,resolvedBy:_0x2a4dbf,context:_0x44b73b,attributes:_0x20bd6f})=>{const _0x4f76b5=_0xa91dca,_0x3f4247=await this[_0x4f76b5(0x102)](_0x285a36)[_0x4f76b5(0x114)]({'commentThreadId':_0x180e18,'comments':_0x53c112[_0x4f76b5(0x12f)](_0x5b1e77=>function(_0x4d0854,_0xe30b9e,_0x171b74){const _0x23464d=_0x4f76b5;return{'commentThreadId':_0x171b74,'commentId':_0x4d0854[_0x23464d(0xda)],'userId':_0x4d0854[_0x23464d(0xdc)],'content':_0x4d0854[_0x23464d(0xfc)],'documentId':_0xe30b9e,'createdAt':_0x4d0854[_0x23464d(0xf2)],'attributes':_0x4d0854[_0x23464d(0x109)]||{}};}(_0x5b1e77,_0x285a36,_0x180e18)),'resolvedAt':_0x1cf34b,'resolvedBy':_0x2a4dbf,'context':_0x44b73b,'attributes':_0x20bd6f})[_0x4f76b5(0xeb)](w);return{'threadId':_0x3f4247[_0x4f76b5(0x101)],'comments':_0x3f4247[_0x4f76b5(0xd3)]};},'getCommentThread':async({channelId:_0x212397,threadId:_0x2bf50a})=>{const _0x237006=_0xa91dca,_0x4968f1=await this[_0x237006(0x102)](_0x212397)[_0x237006(0xec)](_0x2bf50a)[_0x237006(0xeb)](w);return _0x4968f1[_0x237006(0xf4)]?null:(await this[_0x237006(0xf6)]([_0x4968f1]),{'threadId':_0x4968f1[_0x237006(0x101)],'comments':_0x4968f1[_0x237006(0xd3)][_0x237006(0x12f)](b),'context':_0x4968f1[_0x237006(0x110)],'resolvedAt':_0x4968f1[_0x237006(0xf1)],'resolvedBy':_0x4968f1[_0x237006(0x121)],'attributes':_0x4968f1[_0x237006(0x109)]||{}});},'updateCommentThread':async({channelId:_0x158a57,threadId:_0x21ca6d,context:_0x4cab3f,unlinkedAt:_0x279d6e,attributes:_0x2fbb21})=>this[_0xa91dca(0x102)](_0x158a57)[_0xa91dca(0xf0)]({'commentThreadId':_0x21ca6d,'context':_0x4cab3f,'attributes':_0x2fbb21,'unlinkedAt':_0x279d6e})[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'resolveCommentThread':async({channelId:_0x3904a0,threadId:_0x116d79})=>{const _0x2d3248=_0xa91dca,_0x1d0f77=await this[_0x2d3248(0x102)](_0x3904a0)[_0x2d3248(0xd1)](_0x116d79)[_0x2d3248(0xeb)](y)[_0x2d3248(0xeb)](w);return{'threadId':_0x1d0f77[_0x2d3248(0x101)],'resolvedAt':_0x1d0f77[_0x2d3248(0xf1)],'resolvedBy':_0x1d0f77[_0x2d3248(0x121)]};},'reopenCommentThread':async({channelId:_0x56cf5e,threadId:_0x3fa5e6})=>this[_0xa91dca(0x102)](_0x56cf5e)[_0xa91dca(0x122)](_0x3fa5e6)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeCommentThread':({channelId:_0x16fb0f,threadId:_0x5c45d2})=>this[_0xa91dca(0x102)](_0x16fb0f)[_0xa91dca(0xef)](_0x5c45d2)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'addComment':({channelId:_0x13940b,threadId:_0x467a2e,commentId:_0x4092e0,content:_0x31e46f,attributes:_0xa9e4c0})=>this[_0xa91dca(0x102)](_0x13940b)[_0xa91dca(0xe7)](_0x467a2e,_0x4092e0,_0x31e46f,_0xa9e4c0)[_0xa91dca(0xeb)](w),'updateComment':({channelId:_0x3802fe,threadId:_0x5a2697,commentId:_0x269c73,content:_0x139643,attributes:_0x214192})=>this[_0xa91dca(0x102)](_0x3802fe)[_0xa91dca(0x107)](_0x5a2697,_0x269c73,_0x139643,_0x214192)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeComment':({channelId:_0x3c10a8,threadId:_0x5d5eed,commentId:_0x5d300f})=>this[_0xa91dca(0x102)](_0x3c10a8)[_0xa91dca(0x11e)](_0x5d5eed,_0x5d300f)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w)},_0x55f3ae instanceof _0x33a863){const _0x44de62=_0x55f3ae[_0xa91dca(0x120)][_0xa91dca(0xff)](_0xa91dca(0x12e)),_0x113fe8=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0x419264);await this[_0xa91dca(0x108)](_0x44de62);const _0x1eac52=await this[_0xa91dca(0xcf)][_0xa91dca(0xff)](_0x44de62)[_0xa91dca(0x116)]();this[_0xa91dca(0xd8)](_0x113fe8,_0xa91dca(0xd0)+_0x44de62,(_0x2b7f73,{session:_0x3640bd})=>{const _0x24284c=_0xa91dca;_0x3640bd['id']===_0x113fe8[_0x24284c(0x129)]&&(_0x2b7f73[_0x24284c(0xfb)](),this[_0x24284c(0x110)][_0x24284c(0x10a)][_0x24284c(0xff)](_0x24284c(0x10b))[_0x24284c(0xd4)](_0x3640bd[_0x24284c(0x119)],_0x44de62));}),_0x113fe8[_0xa91dca(0xfd)](_0x44de62,_0x1eac52);}}async[_0x2fcc7d(0x108)](_0x494023){const _0x180d87=_0x2fcc7d;if(this[_0x180d87(0xcf)][_0x180d87(0x134)](_0x494023))throw new _0x49256e(_0x180d87(0xe8),null,{'channelId':_0x494023});const _0x1bd2ce=this[_0x180d87(0x110)][_0x180d87(0x10a)][_0x180d87(0xff)](_0x180d87(0x10e)),_0x583259=new a[(_0x180d87(0xd7))](_0x494023);this[_0x180d87(0xcf)][_0x180d87(0x12b)](_0x494023,_0x583259),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x136),(_0x5573a7,_0x4db20d)=>{const _0x4622e4=_0x180d87,{commentThreadId:_0x59ddd4,documentId:_0x537ef2,context:_0x497d28,attributes:_0x52018d,resolvedAt:_0x3287c4,resolvedBy:_0x368ddf,comments:_0x920785}=_0x4db20d;_0x1bd2ce[_0x4622e4(0xec)](_0x59ddd4)||_0x1bd2ce[_0x4622e4(0x114)]({'threadId':_0x59ddd4,'channelId':_0x537ef2,'comments':_0x920785?_0x920785[_0x4622e4(0x12f)](b):[],'context':_0x497d28,'attributes':_0x52018d,'resolvedAt':_0x3287c4,'resolvedBy':_0x368ddf,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x12a),(_0x42b814,{commentThreadId:_0x506be7,documentId:_0xa1960d,context:_0x5c714c,unlinkedAt:_0x44b3d3,attributes:_0x3509d8})=>{const _0x517989=_0x180d87;_0x1bd2ce[_0x517989(0xec)](_0x506be7)&&_0x1bd2ce[_0x517989(0xf0)]({'threadId':_0x506be7,'channelId':_0xa1960d,'context':_0x5c714c,'unlinkedAt':_0x44b3d3,'attributes':_0x3509d8,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xf7),(_0x25e0e0,{commentThreadId:_0x5cdf1f,resolvedBy:_0x2994bc,resolvedAt:_0x5445a6})=>{const _0x56e136=_0x180d87,_0xae95a5=_0x1bd2ce[_0x56e136(0xec)](_0x5cdf1f);_0xae95a5&&_0xae95a5[_0x56e136(0x10c)]({'resolvedBy':_0x2994bc,'resolvedAt':_0x5445a6,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x104),(_0x37848c,{commentThreadId:_0x40d7cb})=>{const _0x5ed345=_0x180d87,_0x1051ae=_0x1bd2ce[_0x5ed345(0xec)](_0x40d7cb);_0x1051ae&&_0x1051ae[_0x5ed345(0x105)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11b),(_0x1f8cfd,{commentThreadId:_0x36186a})=>{const _0x40760b=_0x180d87,_0xa99bce=_0x1bd2ce[_0x40760b(0xec)](_0x36186a);_0xa99bce&&_0xa99bce[_0x40760b(0x135)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xd6),(_0x54831c,_0x5465e0)=>{const _0x441b00=_0x180d87,_0x45805f=_0x5465e0[_0x441b00(0x101)],_0x459573=_0x1bd2ce[_0x441b00(0xec)](_0x45805f);_0x459573&&_0x459573[_0x441b00(0xe7)]({...b(_0x5465e0),'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xe9),(_0x4e401c,{commentThreadId:_0x52aad5,commentId:_0x1064cf,content:_0x4e92ba,attributes:_0x324a0b})=>{const _0x328b29=_0x180d87,_0x5e7bf0=_0x1bd2ce[_0x328b29(0xec)](_0x52aad5);if(_0x5e7bf0){const _0x6130b=_0x5e7bf0[_0x328b29(0xf5)](_0x1064cf);_0x6130b&&_0x6130b[_0x328b29(0xe5)]({'content':_0x4e92ba,'attributes':_0x324a0b,'isFromAdapter':!0x0});}}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11a),(_0x11bf59,{commentThreadId:_0x25d45f,commentId:_0x46a5e1})=>{const _0x4c3cec=_0x180d87,_0x27478c=_0x1bd2ce[_0x4c3cec(0xec)](_0x25d45f);if(_0x27478c){const _0x4905d5=_0x27478c[_0x4c3cec(0xf5)](_0x46a5e1);_0x4905d5&&_0x4905d5[_0x4c3cec(0x135)]({'isFromAdapter':!0x0});}}),await this[_0x180d87(0xfe)](_0x494023);}[_0x2fcc7d(0xdd)](){const _0x553f0e=_0x2fcc7d;if(this[_0x553f0e(0x110)]instanceof _0x33a863){const _0x15e863=this[_0x553f0e(0x110)][_0x553f0e(0x120)][_0x553f0e(0xff)](_0x553f0e(0x12e));this[_0x553f0e(0xdb)](_0x15e863);}}[_0x2fcc7d(0xdb)](_0x4ebca0){const _0x4911b3=_0x2fcc7d;if(!this[_0x4911b3(0xcf)][_0x4911b3(0x134)](_0x4ebca0))throw new _0x49256e(_0x4911b3(0xd5),null,{'channelId':_0x4ebca0});this[_0x4911b3(0x102)](_0x4ebca0)[_0x4911b3(0x12c)](),this[_0x4911b3(0xcf)][_0x4911b3(0x10d)](_0x4ebca0);}async[_0x2fcc7d(0xe3)](){const _0x4d8f79=_0x2fcc7d;for(const _0x421969 of this[_0x4d8f79(0xcf)][_0x4d8f79(0x130)]())await this[_0x4d8f79(0xfe)](_0x421969);if(this[_0x4d8f79(0x110)]instanceof _0x33a863){const _0x29ab1a=this[_0x4d8f79(0x110)][_0x4d8f79(0x120)][_0x4d8f79(0xff)](_0x4d8f79(0x12e)),_0x79c67=this[_0x4d8f79(0x110)][_0x4d8f79(0x10a)][_0x4d8f79(0xff)](_0x419264);_0x79c67[_0x4d8f79(0x127)](_0x29ab1a);const _0x40ee6c=await this[_0x4d8f79(0xcf)][_0x4d8f79(0xff)](_0x29ab1a)[_0x4d8f79(0x116)]();_0x79c67[_0x4d8f79(0xfd)](_0x29ab1a,_0x40ee6c);}}async[_0x2fcc7d(0xfe)](_0x18ace3){const _0x5a03e7=_0x2fcc7d,{connection:_0xad85c8}=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0xf3cbc4),_0x9f0908=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0x5a03e7(0x10e)),_0x2fa5eb=this[_0x5a03e7(0xcf)][_0x5a03e7(0xff)](_0x18ace3),_0x48f417=await _0x2fa5eb[_0x5a03e7(0x111)](_0xad85c8);await this[_0x5a03e7(0xf6)](_0x48f417);const _0x41e59c=new Set(Array[_0x5a03e7(0x11c)](_0x9f0908[_0x5a03e7(0xde)]({'channelId':_0x18ace3}),_0x5dcfc6=>_0x5dcfc6['id']));for(const _0x1ef9d9 of _0x48f417)_0x1ef9d9[_0x5a03e7(0xf4)]||_0x41e59c[_0x5a03e7(0x10d)](_0x1ef9d9[_0x5a03e7(0x101)]);for(const _0x26229f of _0x41e59c)_0x9f0908[_0x5a03e7(0xec)](_0x26229f)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x576606 of _0x48f417){let _0x3217c0=_0x9f0908[_0x5a03e7(0xec)](_0x576606[_0x5a03e7(0x101)]);const {commentThreadId:_0x27be9f,context:_0x1c4bb5,attributes:_0x3f3525,resolvedBy:_0x4a5868,resolvedAt:_0x4a1845,unlinkedAt:_0x30e892,deletedAt:_0x15dc1a}=_0x576606;if(_0x15dc1a)continue;_0x3217c0||(_0x3217c0=_0x9f0908[_0x5a03e7(0x114)]({'channelId':_0x18ace3,'threadId':_0x27be9f,'context':_0x1c4bb5,'attributes':_0x3f3525||{},'resolvedBy':_0x4a5868,'resolvedAt':_0x4a1845,'unlinkedAt':_0x30e892,'isFromAdapter':!0x0}));const _0x5c8941=new Set(Array[_0x5a03e7(0x11c)](_0x3217c0[_0x5a03e7(0xd3)],_0x3c370c=>_0x3c370c['id']));for(const _0x10fa8f of _0x576606[_0x5a03e7(0xd3)])_0x5c8941[_0x5a03e7(0x10d)](_0x10fa8f[_0x5a03e7(0xda)]);for(const _0x2fc551 of _0x5c8941)_0x3217c0[_0x5a03e7(0xf5)](_0x2fc551)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x4a9dc7 of _0x576606[_0x5a03e7(0xd3)]){const _0x1b5943=_0x3217c0[_0x5a03e7(0xf5)](_0x4a9dc7[_0x5a03e7(0xda)]);_0x1b5943?_0x1b5943[_0x5a03e7(0xfc)]!==_0x4a9dc7[_0x5a03e7(0xfc)]&&_0x1b5943[_0x5a03e7(0xe5)]({'content':_0x4a9dc7[_0x5a03e7(0xfc)],'isFromAdapter':!0x0}):_0x3217c0[_0x5a03e7(0xe7)](Object[_0x5a03e7(0xea)](b(_0x4a9dc7),{'isFromAdapter':!0x0}));}}}[_0x2fcc7d(0x102)](_0x3d792a){const _0x4417b2=_0x2fcc7d;if(!this[_0x4417b2(0xcf)][_0x4417b2(0x134)](_0x3d792a))throw new _0x49256e(_0x4417b2(0xe4),null,{'channelId':_0x3d792a});return this[_0x4417b2(0xcf)][_0x4417b2(0xff)](_0x3d792a);}async[_0x2fcc7d(0xf6)](_0x59f631){const _0x556d92=_0x2fcc7d,_0x48d6c8=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0x359e1a),{connection:_0xfbb839}=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0xf3cbc4),_0x140ffa=new Set();for(const {resolvedBy:_0x49b5a3,comments:_0x57731d}of _0x59f631){_0x49b5a3&&!_0x48d6c8[_0x556d92(0x112)](_0x49b5a3)&&_0x140ffa[_0x556d92(0xe6)](_0x49b5a3);for(const {userId:_0x1a7206}of _0x57731d)_0x48d6c8[_0x556d92(0x112)](_0x1a7206)||_0x140ffa[_0x556d92(0xe6)](_0x1a7206);}if(0x0===_0x140ffa[_0x556d92(0x124)])return;const _0x32139a=await _0x3b2053[_0x556d92(0x132)](_0xfbb839,Array[_0x556d92(0x11c)](_0x140ffa));for(const _0x4c7913 of _0x32139a)_0x48d6c8[_0x556d92(0x112)](_0x4c7913['id'])||_0x48d6c8[_0x556d92(0xf8)](_0x4c7913);}}a[_0x2fcc7d(0xd7)]=_0x43b9f8;function _0x58dd(){const _0x4989b4=['55SILqVr','mySessionId','commentThreadUpdated','set','disconnect','init','collaboration.channelId','map','keys','requires','getMany','cloud-services-internal-error:\x20Request\x20timeout.','has','remove','commentThreadAdded','_services','sessionAdd:','resolveCommentThread','CloudServicesCommentsAdapter','comments','setPermissions','cloudservicescommentsadapter-disconnect-not-exist','commentAdded','CommentsService','listenTo','126038ErOTVS','commentId','_terminateService','authorId','destroy','getCommentThreads','55612POjzcs','cloud-services-internal-error:\x20Not\x20connected.','270768PWvdAi','code','reconnect','cloudservicescommentsadapter-service-not-exist','update','add','addComment','cloudservicescommentsadapter-connect-already-connected','commentUpdated','assign','catch','getCommentThread','404','startsWith','removeCommentThread','updateCommentThread','resolvedAt','createdAt','isPremiumPlugin','deletedAt','getComment','_fetchMissingUsersForThreads','commentThreadResolved','addUser','3192ICzfss','isOfficialPlugin','off','content','register','_connectService','get','1ysTEyd','commentThreadId','_getService','7743072bziSeW','commentThreadReopened','reopen','63vtJMTY','updateComment','_setUpService','attributes','plugins','Permissions','resolve','delete','CommentsRepository','69NqcVgf','context','connect','getUser','message','addCommentThread','105mCoNzf','getConnectedSessions','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','commentRemoved','commentThreadRemoved','from','adapter','removeComment','335290YkXKkN','config','resolvedBy','reopenCommentThread','pluginName','size','addToReconnectionStack','1534920oxgLVa','unregister'];_0x58dd=function(){return _0x4989b4;};return _0x58dd();}export default a;function _0x1e59(_0x408487,_0x1d00c0){const _0x58dd74=_0x58dd();return _0x1e59=function(_0x1e597c,_0x15d515){_0x1e597c=_0x1e597c-0xcf;let _0x11752f=_0x58dd74[_0x1e597c];return _0x11752f;},_0x1e59(_0x408487,_0x1d00c0);}async function y(_0x33a3cd){const _0x40b0ae=_0x2fcc7d;if(_0x40b0ae(0xed)!==_0x33a3cd[_0x40b0ae(0xe2)])throw _0x33a3cd;}function w(_0x152ab8){const _0x32a6f6=_0x2fcc7d;if((_0x30519b=_0x152ab8)[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x118))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0xe0))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x133)))return new Promise(()=>{});var _0x30519b;throw _0x152ab8;}function b(_0x1d13eb){const _0x23e601=_0x2fcc7d;return{'threadId':_0x1d13eb[_0x23e601(0x101)],'commentId':_0x1d13eb[_0x23e601(0xda)],'content':_0x1d13eb[_0x23e601(0xfc)],'createdAt':_0x1d13eb[_0x23e601(0xf2)],'authorId':_0x1d13eb[_0x23e601(0x117)],'attributes':_0x1d13eb[_0x23e601(0x109)]||{}};}
|
|
23
|
+
const _0x312122=_0x17a3;(function(_0x27d065,_0x35adfd){const _0x4dcce6=_0x17a3,_0x5b9a72=_0x27d065();while(!![]){try{const _0x26f6c7=-parseInt(_0x4dcce6(0x174))/0x1*(parseInt(_0x4dcce6(0x157))/0x2)+-parseInt(_0x4dcce6(0x179))/0x3+parseInt(_0x4dcce6(0x19b))/0x4+parseInt(_0x4dcce6(0x1b0))/0x5*(parseInt(_0x4dcce6(0x188))/0x6)+parseInt(_0x4dcce6(0x16b))/0x7+-parseInt(_0x4dcce6(0x15b))/0x8+-parseInt(_0x4dcce6(0x1a8))/0x9;if(_0x26f6c7===_0x35adfd)break;else _0x5b9a72['push'](_0x5b9a72['shift']());}catch(_0x55873e){_0x5b9a72['push'](_0x5b9a72['shift']());}}}(_0x7e00,0x9f0c6));import{Context as _0x905844,ContextPlugin as _0x305322}from'ckeditor5/src/core.js';import{CKEditorError as _0x3befc6}from'ckeditor5/src/utils.js';import{Users as _0x2c2895}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x224510,User as _0x50d11e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x445549 from'../realtimecollaborativeediting/websocketgateway.js';function _0x17a3(_0x306b83,_0x33a7a2){const _0x7e005e=_0x7e00();return _0x17a3=function(_0x17a3f5,_0x42db32){_0x17a3f5=_0x17a3f5-0x154;let _0x5dec77=_0x7e005e[_0x17a3f5];return _0x5dec77;},_0x17a3(_0x306b83,_0x33a7a2);}import _0x41b833 from'../realtimecollaborativeediting/sessions.js';class a extends _0x305322{static get[_0x312122(0x178)](){const _0x25cb1f=_0x312122;return[_0x445549,_0x25cb1f(0x196),_0x41b833,_0x2c2895];}static get[_0x312122(0x1aa)](){const _0x49a133=_0x312122;return _0x49a133(0x19d);}static get[_0x312122(0x180)](){return!0x0;}static get[_0x312122(0x18f)](){return!0x0;}constructor(_0x30013f){const _0xee3f6b=_0x312122;super(_0x30013f),this[_0xee3f6b(0x19c)]=new Map();}async[_0x312122(0x155)](){const _0x310231=_0x312122,_0x44aaa1=this[_0x310231(0x197)],_0x58563c=_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x310231(0x196));if(_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x445549)[_0x310231(0x1ad)](this),_0x58563c[_0x310231(0x172)]={'addCommentThread':async({channelId:_0x37f65f,threadId:_0x92455b,comments:_0x22c319,resolvedAt:_0x1eb4b4,resolvedBy:_0x3a7eca,context:_0x1f25af,attributes:_0x981ad7})=>{const _0x177532=_0x310231,_0x3ce691=await this[_0x177532(0x15d)](_0x37f65f)[_0x177532(0x171)]({'commentThreadId':_0x92455b,'comments':_0x22c319[_0x177532(0x182)](_0x2401b5=>function(_0x421b50,_0x4c9f4e,_0x161a10){const _0x3cbf21=_0x177532;return{'commentThreadId':_0x161a10,'commentId':_0x421b50[_0x3cbf21(0x1b1)],'userId':_0x421b50[_0x3cbf21(0x194)],'content':_0x421b50[_0x3cbf21(0x190)],'documentId':_0x4c9f4e,'createdAt':_0x421b50[_0x3cbf21(0x16e)],'attributes':_0x421b50[_0x3cbf21(0x1a6)]||{}};}(_0x2401b5,_0x37f65f,_0x92455b)),'resolvedAt':_0x1eb4b4,'resolvedBy':_0x3a7eca,'context':_0x1f25af,'attributes':_0x981ad7})[_0x177532(0x1b6)](R);return{'threadId':_0x3ce691[_0x177532(0x15e)],'comments':_0x3ce691[_0x177532(0x15a)]};},'getCommentThread':async({channelId:_0x4cced9,threadId:_0x2359da})=>{const _0x145394=_0x310231,_0x420093=await this[_0x145394(0x15d)](_0x4cced9)[_0x145394(0x1ac)](_0x2359da)[_0x145394(0x1b6)](R);return _0x420093[_0x145394(0x16f)]?null:(await this[_0x145394(0x162)]([_0x420093]),{'threadId':_0x420093[_0x145394(0x15e)],'comments':_0x420093[_0x145394(0x15a)][_0x145394(0x182)](S),'context':_0x420093[_0x145394(0x197)],'resolvedAt':_0x420093[_0x145394(0x166)],'resolvedBy':_0x420093[_0x145394(0x1ae)],'attributes':_0x420093[_0x145394(0x1a6)]||{}});},'updateCommentThread':async({channelId:_0xe20965,threadId:_0x16e4b9,context:_0x1c415d,unlinkedAt:_0x2d15f4,attributes:_0x5ef630})=>this[_0x310231(0x15d)](_0xe20965)[_0x310231(0x159)]({'commentThreadId':_0x16e4b9,'context':_0x1c415d,'attributes':_0x5ef630,'unlinkedAt':_0x2d15f4})[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'resolveCommentThread':async({channelId:_0x571067,threadId:_0x327cba})=>{const _0x4fea11=_0x310231,_0x3c6300=await this[_0x4fea11(0x15d)](_0x571067)[_0x4fea11(0x158)](_0x327cba)[_0x4fea11(0x1b6)](B)[_0x4fea11(0x1b6)](R);return{'threadId':_0x3c6300[_0x4fea11(0x15e)],'resolvedAt':_0x3c6300[_0x4fea11(0x166)],'resolvedBy':_0x3c6300[_0x4fea11(0x1ae)]};},'reopenCommentThread':async({channelId:_0x28d9b8,threadId:_0x40027c})=>this[_0x310231(0x15d)](_0x28d9b8)[_0x310231(0x16c)](_0x40027c)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'removeCommentThread':({channelId:_0x105f15,threadId:_0x17edc7})=>this[_0x310231(0x15d)](_0x105f15)[_0x310231(0x1b3)](_0x17edc7)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'addComment':({channelId:_0x82eed3,threadId:_0x33a831,commentId:_0x45176a,content:_0x5eec92,attributes:_0x20a1cf})=>this[_0x310231(0x15d)](_0x82eed3)[_0x310231(0x195)](_0x33a831,_0x45176a,_0x5eec92,_0x20a1cf)[_0x310231(0x1b6)](R),'updateComment':({channelId:_0x19ca00,threadId:_0x594c85,commentId:_0xf823bd,content:_0x340535,attributes:_0x2b65b1})=>this[_0x310231(0x15d)](_0x19ca00)[_0x310231(0x170)](_0x594c85,_0xf823bd,_0x340535,_0x2b65b1)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'removeComment':({channelId:_0x351959,threadId:_0x334cdb,commentId:_0xfc822b})=>this[_0x310231(0x15d)](_0x351959)[_0x310231(0x18d)](_0x334cdb,_0xfc822b)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R)},_0x44aaa1 instanceof _0x905844){const _0x5607fc=_0x44aaa1[_0x310231(0x16d)][_0x310231(0x17e)](_0x310231(0x1a3)),_0x40f368=_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x41b833);await this[_0x310231(0x163)](_0x5607fc);const _0x2909ba=await this[_0x310231(0x19c)][_0x310231(0x17e)](_0x5607fc)[_0x310231(0x17c)]();this[_0x310231(0x16a)](_0x40f368,_0x310231(0x18c)+_0x5607fc,(_0x2c1ebb,{session:_0x56b417})=>{const _0x3f583=_0x310231;_0x56b417['id']===_0x40f368[_0x3f583(0x1a7)]&&(_0x2c1ebb[_0x3f583(0x183)](),this[_0x3f583(0x197)][_0x3f583(0x18e)][_0x3f583(0x17e)](_0x3f583(0x19e))[_0x3f583(0x1a1)](_0x56b417[_0x3f583(0x1a2)],_0x5607fc));}),_0x40f368[_0x310231(0x176)](_0x5607fc,_0x2909ba);}}async[_0x312122(0x163)](_0x43caf8){const _0x57939c=_0x312122;if(this[_0x57939c(0x19c)][_0x57939c(0x18a)](_0x43caf8))throw new _0x3befc6(_0x57939c(0x181),null,{'channelId':_0x43caf8});const _0x1bc60b=this[_0x57939c(0x197)][_0x57939c(0x18e)][_0x57939c(0x17e)](_0x57939c(0x196)),_0x3f2155=new a[(_0x57939c(0x198))](_0x43caf8);this[_0x57939c(0x19c)][_0x57939c(0x175)](_0x43caf8,_0x3f2155),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x169),(_0x52004c,_0x55833b)=>{const _0xcb09e6=_0x57939c,{commentThreadId:_0x5baed5,documentId:_0x1e6847,context:_0x43bf34,attributes:_0x4810b8,resolvedAt:_0x33007a,resolvedBy:_0x17b96b,comments:_0x2c98ec}=_0x55833b;_0x1bc60b[_0xcb09e6(0x1ac)](_0x5baed5)||_0x1bc60b[_0xcb09e6(0x171)]({'threadId':_0x5baed5,'channelId':_0x1e6847,'comments':_0x2c98ec?_0x2c98ec[_0xcb09e6(0x182)](S):[],'context':_0x43bf34,'attributes':_0x4810b8,'resolvedAt':_0x33007a,'resolvedBy':_0x17b96b,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1b8),(_0x30df5a,{commentThreadId:_0x22a79b,documentId:_0x3c56e8,context:_0x3967e3,unlinkedAt:_0x3c7f4b,attributes:_0x9eb20e})=>{const _0x48ae87=_0x57939c;_0x1bc60b[_0x48ae87(0x1ac)](_0x22a79b)&&_0x1bc60b[_0x48ae87(0x159)]({'threadId':_0x22a79b,'channelId':_0x3c56e8,'context':_0x3967e3,'unlinkedAt':_0x3c7f4b,'attributes':_0x9eb20e,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1a5),(_0x43b306,{commentThreadId:_0x5e0023,resolvedBy:_0x23b516,resolvedAt:_0x936852})=>{const _0x53dcaa=_0x57939c,_0x13a9f7=_0x1bc60b[_0x53dcaa(0x1ac)](_0x5e0023);_0x13a9f7&&_0x13a9f7[_0x53dcaa(0x1b5)]({'resolvedBy':_0x23b516,'resolvedAt':_0x936852,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x17f),(_0x57e698,{commentThreadId:_0x19a37f})=>{const _0x3f614d=_0x57939c,_0x17c606=_0x1bc60b[_0x3f614d(0x1ac)](_0x19a37f);_0x17c606&&_0x17c606[_0x3f614d(0x1b7)]({'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x191),(_0x7a4e4f,{commentThreadId:_0x40b058})=>{const _0x403ebe=_0x57939c,_0x43415f=_0x1bc60b[_0x403ebe(0x1ac)](_0x40b058);_0x43415f&&_0x43415f[_0x403ebe(0x154)]({'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1af),(_0x5b1334,_0x28bd26)=>{const _0x172113=_0x57939c,_0x46217b=_0x28bd26[_0x172113(0x15e)],_0x2cb0f5=_0x1bc60b[_0x172113(0x1ac)](_0x46217b);_0x2cb0f5&&_0x2cb0f5[_0x172113(0x195)]({...S(_0x28bd26),'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x165),(_0x36e801,{commentThreadId:_0x1cab7a,commentId:_0x1dcae4,content:_0x5d2487,attributes:_0x55903c})=>{const _0x319e6b=_0x57939c,_0x2ea48f=_0x1bc60b[_0x319e6b(0x1ac)](_0x1cab7a);if(_0x2ea48f){const _0x2aa579=_0x2ea48f[_0x319e6b(0x184)](_0x1dcae4);_0x2aa579&&_0x2aa579[_0x319e6b(0x1a0)]({'content':_0x5d2487,'attributes':_0x55903c,'isFromAdapter':!0x0});}}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x161),(_0x423ae3,{commentThreadId:_0x47bc7e,commentId:_0x1b668e})=>{const _0x357482=_0x57939c,_0x16db8d=_0x1bc60b[_0x357482(0x1ac)](_0x47bc7e);if(_0x16db8d){const _0x1a5bd1=_0x16db8d[_0x357482(0x184)](_0x1b668e);_0x1a5bd1&&_0x1a5bd1[_0x357482(0x154)]({'isFromAdapter':!0x0});}}),await this[_0x57939c(0x18b)](_0x43caf8);}[_0x312122(0x186)](){const _0xcb83d8=_0x312122;if(this[_0xcb83d8(0x197)]instanceof _0x905844){const _0x1b45cd=this[_0xcb83d8(0x197)][_0xcb83d8(0x16d)][_0xcb83d8(0x17e)](_0xcb83d8(0x1a3));this[_0xcb83d8(0x192)](_0x1b45cd);}}[_0x312122(0x192)](_0x1a5c39){const _0x2d629c=_0x312122;if(!this[_0x2d629c(0x19c)][_0x2d629c(0x18a)](_0x1a5c39))throw new _0x3befc6(_0x2d629c(0x199),null,{'channelId':_0x1a5c39});this[_0x2d629c(0x15d)](_0x1a5c39)[_0x2d629c(0x173)](),this[_0x2d629c(0x19c)][_0x2d629c(0x1b2)](_0x1a5c39);}async[_0x312122(0x17b)](){const _0x265066=_0x312122;for(const _0x4d9f0f of this[_0x265066(0x19c)][_0x265066(0x167)]())await this[_0x265066(0x18b)](_0x4d9f0f);if(this[_0x265066(0x197)]instanceof _0x905844){const _0x4e61b7=this[_0x265066(0x197)][_0x265066(0x16d)][_0x265066(0x17e)](_0x265066(0x1a3)),_0x266313=this[_0x265066(0x197)][_0x265066(0x18e)][_0x265066(0x17e)](_0x41b833);_0x266313[_0x265066(0x189)](_0x4e61b7);const _0x1b4358=await this[_0x265066(0x19c)][_0x265066(0x17e)](_0x4e61b7)[_0x265066(0x17c)]();_0x266313[_0x265066(0x176)](_0x4e61b7,_0x1b4358);}}async[_0x312122(0x18b)](_0x3cc6b5){const _0x2ba597=_0x312122,{connection:_0x2a586b}=this[_0x2ba597(0x197)][_0x2ba597(0x18e)][_0x2ba597(0x17e)](_0x445549),_0x3cac90=this[_0x2ba597(0x197)][_0x2ba597(0x18e)][_0x2ba597(0x17e)](_0x2ba597(0x196)),_0x47c68e=this[_0x2ba597(0x19c)][_0x2ba597(0x17e)](_0x3cc6b5),_0x108de0=await _0x47c68e[_0x2ba597(0x193)](_0x2a586b);await this[_0x2ba597(0x162)](_0x108de0);const _0x350225=new Set(Array[_0x2ba597(0x164)](_0x3cac90[_0x2ba597(0x185)]({'channelId':_0x3cc6b5}),_0x4fdf8f=>_0x4fdf8f['id']));for(const _0x26bb84 of _0x108de0)_0x26bb84[_0x2ba597(0x16f)]||_0x350225[_0x2ba597(0x1b2)](_0x26bb84[_0x2ba597(0x15e)]);for(const _0x1d9c28 of _0x350225)_0x3cac90[_0x2ba597(0x1ac)](_0x1d9c28)[_0x2ba597(0x154)]({'isFromAdapter':!0x0});for(const _0x6dadf5 of _0x108de0){let _0xcbe874=_0x3cac90[_0x2ba597(0x1ac)](_0x6dadf5[_0x2ba597(0x15e)]);const {commentThreadId:_0x1f919d,context:_0x1da1ae,attributes:_0x318080,resolvedBy:_0x4bfa66,resolvedAt:_0x7a732a,unlinkedAt:_0x28daef,deletedAt:_0x30413f}=_0x6dadf5;if(_0x30413f)continue;_0xcbe874||(_0xcbe874=_0x3cac90[_0x2ba597(0x171)]({'channelId':_0x3cc6b5,'threadId':_0x1f919d,'context':_0x1da1ae,'attributes':_0x318080||{},'resolvedBy':_0x4bfa66,'resolvedAt':_0x7a732a,'unlinkedAt':_0x28daef,'isFromAdapter':!0x0}));const _0x1d749b=new Set(Array[_0x2ba597(0x164)](_0xcbe874[_0x2ba597(0x15a)],_0x4110b0=>_0x4110b0['id']));for(const _0x1a5c7d of _0x6dadf5[_0x2ba597(0x15a)])_0x1d749b[_0x2ba597(0x1b2)](_0x1a5c7d[_0x2ba597(0x1b1)]);for(const _0x22571d of _0x1d749b)_0xcbe874[_0x2ba597(0x184)](_0x22571d)[_0x2ba597(0x154)]({'isFromAdapter':!0x0});for(const _0x3c7806 of _0x6dadf5[_0x2ba597(0x15a)]){const _0x588ed2=_0xcbe874[_0x2ba597(0x184)](_0x3c7806[_0x2ba597(0x1b1)]);_0x588ed2?_0x588ed2[_0x2ba597(0x190)]!==_0x3c7806[_0x2ba597(0x190)]&&_0x588ed2[_0x2ba597(0x1a0)]({'content':_0x3c7806[_0x2ba597(0x190)],'isFromAdapter':!0x0}):_0xcbe874[_0x2ba597(0x195)](Object[_0x2ba597(0x187)](S(_0x3c7806),{'isFromAdapter':!0x0}));}}}[_0x312122(0x15d)](_0x2b4867){const _0xc5689b=_0x312122;if(!this[_0xc5689b(0x19c)][_0xc5689b(0x18a)](_0x2b4867))throw new _0x3befc6(_0xc5689b(0x15c),null,{'channelId':_0x2b4867});return this[_0xc5689b(0x19c)][_0xc5689b(0x17e)](_0x2b4867);}async[_0x312122(0x162)](_0x43d024){const _0xf2d7c7=_0x312122,_0xb16b41=this[_0xf2d7c7(0x197)][_0xf2d7c7(0x18e)][_0xf2d7c7(0x17e)](_0x2c2895),{connection:_0x2dc0a2}=this[_0xf2d7c7(0x197)][_0xf2d7c7(0x18e)][_0xf2d7c7(0x17e)](_0x445549),_0x13da3b=new Set();for(const {resolvedBy:_0x8fa891,comments:_0x440c38}of _0x43d024){_0x8fa891&&!_0xb16b41[_0xf2d7c7(0x1a9)](_0x8fa891)&&_0x13da3b[_0xf2d7c7(0x17d)](_0x8fa891);for(const {userId:_0x4acaf2}of _0x440c38)_0xb16b41[_0xf2d7c7(0x1a9)](_0x4acaf2)||_0x13da3b[_0xf2d7c7(0x17d)](_0x4acaf2);}if(0x0===_0x13da3b[_0xf2d7c7(0x1b4)])return;const _0x472e54=await _0x50d11e[_0xf2d7c7(0x15f)](_0x2dc0a2,Array[_0xf2d7c7(0x164)](_0x13da3b));for(const _0x481380 of _0x472e54)_0xb16b41[_0xf2d7c7(0x1a9)](_0x481380['id'])||_0xb16b41[_0xf2d7c7(0x1ab)](_0x481380);}}a[_0x312122(0x198)]=_0x224510;export default a;async function B(_0x5d30f0){const _0x43c438=_0x312122;if(_0x43c438(0x17a)!==_0x5d30f0[_0x43c438(0x160)])throw _0x5d30f0;}function R(_0x57c448){const _0x202f6a=_0x312122;if((_0x33701e=_0x57c448)[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x156))||_0x33701e[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x19f))||_0x33701e[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x1a4)))return new Promise(()=>{});var _0x33701e;throw _0x57c448;}function S(_0x78108c){const _0x240ff2=_0x312122;return{'threadId':_0x78108c[_0x240ff2(0x15e)],'commentId':_0x78108c[_0x240ff2(0x1b1)],'content':_0x78108c[_0x240ff2(0x190)],'createdAt':_0x78108c[_0x240ff2(0x16e)],'authorId':_0x78108c[_0x240ff2(0x19a)],'attributes':_0x78108c[_0x240ff2(0x1a6)]||{}};}function _0x7e00(){const _0x12d18a=['addToReconnectionStack','resolvedBy','commentAdded','5ifDgVe','commentId','delete','removeCommentThread','size','resolve','catch','reopen','commentThreadUpdated','remove','init','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','11736PwQwtc','resolveCommentThread','updateCommentThread','comments','5331568lrwhZC','cloudservicescommentsadapter-service-not-exist','_getService','commentThreadId','getMany','code','commentRemoved','_fetchMissingUsersForThreads','_setUpService','from','commentUpdated','resolvedAt','keys','startsWith','commentThreadAdded','listenTo','5481364jxEBfx','reopenCommentThread','config','createdAt','deletedAt','updateComment','addCommentThread','adapter','disconnect','2kvmcVy','set','register','message','requires','527082HZLQxD','404','reconnect','getConnectedSessions','add','get','commentThreadReopened','isOfficialPlugin','cloudservicescommentsadapter-connect-already-connected','map','off','getComment','getCommentThreads','destroy','assign','1188210nHiLxt','unregister','has','_connectService','sessionAdd:','removeComment','plugins','isPremiumPlugin','content','commentThreadRemoved','_terminateService','connect','authorId','addComment','CommentsRepository','context','CommentsService','cloudservicescommentsadapter-disconnect-not-exist','userId','5098324lkwjPv','_services','CloudServicesCommentsAdapter','Permissions','cloud-services-internal-error:\x20Not\x20connected.','update','setPermissions','permissions','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadResolved','attributes','mySessionId','6752970lmwKuD','getUser','pluginName','addUser','getCommentThread'];_0x7e00=function(){return _0x12d18a;};return _0x7e00();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58f943=_0x5ef9;function _0x4238(){const _0x2241c1=['plugins','editor','ready','data','54890NeWHbs','init','requires','Comments','isOfficialPlugin','7500MrhVLM','change:state','12tgRvZK','switchReadOnly','_setUpService','2252515RkEBoT','2070ywmqrf','37300zwVvsb','21dvNSlv','config','listenTo','RealTimeCollaborativeComments','pluginName','CommentsEditing','collaboration.channelId','8oJTamt','1459947ONDCtJ','isThreadsLoadingPaused','101286zuJnHD','once','_terminateService','connected','get','destroy','2806956dtNuFm','2209711CpZQPQ','CommentsRepository','isPremiumPlugin'];_0x4238=function(){return _0x2241c1;};return _0x4238();}function _0x5ef9(_0x45e7a0,_0x472b08){const _0x423860=_0x4238();return _0x5ef9=function(_0x5ef9de,_0x3a3982){_0x5ef9de=_0x5ef9de-0x80;let _0x1cacbc=_0x423860[_0x5ef9de];return _0x1cacbc;},_0x5ef9(_0x45e7a0,_0x472b08);}(function(_0xc8f840,_0x16a636){const _0x3dd3b4=_0x5ef9,_0x4cf83f=_0xc8f840();while(!![]){try{const _0x165417=parseInt(_0x3dd3b4(0x93))/0x1+-parseInt(_0x3dd3b4(0x95))/0x2*(parseInt(_0x3dd3b4(0x8b))/0x3)+parseInt(_0x3dd3b4(0x9b))/0x4+-parseInt(_0x3dd3b4(0x88))/0x5*(-parseInt(_0x3dd3b4(0x85))/0x6)+parseInt(_0x3dd3b4(0x9c))/0x7*(parseInt(_0x3dd3b4(0x92))/0x8)+-parseInt(_0x3dd3b4(0x89))/0x9*(-parseInt(_0x3dd3b4(0x8a))/0xa)+parseInt(_0x3dd3b4(0xa3))/0xb*(-parseInt(_0x3dd3b4(0x83))/0xc);if(_0x165417===_0x16a636)break;else _0x4cf83f['push'](_0x4cf83f['shift']());}catch(_0x42259b){_0x4cf83f['push'](_0x4cf83f['shift']());}}}(_0x4238,0xba486));import{Plugin as _0x1ed2b7}from'ckeditor5/src/core.js';import _0x84f5b2 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x149122 from'./realtimecollaborativeediting.js';import _0x439e4e from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x1ed2b7{static get[_0x58f943(0x80)](){const _0x39125e=_0x58f943;return[_0x39125e(0x81),_0x84f5b2,_0x149122,_0x439e4e];}static get[_0x58f943(0x8f)](){const _0x4a4cac=_0x58f943;return _0x4a4cac(0x8e);}static get[_0x58f943(0x82)](){return!0x0;}static get[_0x58f943(0x9e)](){return!0x0;}[_0x58f943(0xa4)](){const _0x11fc22=_0x58f943,_0x724659=this[_0x11fc22(0xa0)][_0x11fc22(0x9f)][_0x11fc22(0x99)](_0x439e4e),_0x45d3d2=this[_0x11fc22(0xa0)][_0x11fc22(0x9f)][_0x11fc22(0x99)](_0x11fc22(0x90)),_0x1088bc=this[_0x11fc22(0xa0)][_0x11fc22(0x9f)][_0x11fc22(0x99)](_0x84f5b2);return this[_0x11fc22(0xa0)][_0x11fc22(0xa2)][_0x11fc22(0x96)](_0x11fc22(0xa1),()=>{const _0x2d9175=_0x11fc22;this[_0x2d9175(0x8d)](_0x724659,_0x2d9175(0x84),(_0x5ea401,_0x309bce,_0x2e351a)=>{const _0x23afb2=_0x2d9175;_0x45d3d2[_0x23afb2(0x94)]=_0x23afb2(0x98)!==_0x2e351a;});}),this[_0x11fc22(0x8d)](_0x724659,_0x11fc22(0x84),(_0x43f514,_0x267751,_0x297bcf)=>{const _0x40e766=_0x11fc22;this[_0x40e766(0xa0)][_0x40e766(0x9f)][_0x40e766(0x99)](_0x40e766(0x9d))[_0x40e766(0x86)](_0x40e766(0x98)!==_0x297bcf);}),_0x1088bc[_0x11fc22(0x87)](this[_0x11fc22(0xa0)][_0x11fc22(0x8c)][_0x11fc22(0x99)](_0x11fc22(0x91)));}[_0x58f943(0x9a)](){const _0x86b113=_0x58f943;this[_0x86b113(0xa0)][_0x86b113(0x9f)][_0x86b113(0x99)](_0x84f5b2)[_0x86b113(0x97)](this[_0x86b113(0xa0)][_0x86b113(0x8c)][_0x86b113(0x99)](_0x86b113(0x91))),super[_0x86b113(0x9a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x85ad6e=_0x472c;(function(_0x1db5ae,_0x519d72){const _0x5e8dc9=_0x472c,_0x1280a8=_0x1db5ae();while(!![]){try{const _0x49aec6=parseInt(_0x5e8dc9(0x12a))/0x1+-parseInt(_0x5e8dc9(0x1c1))/0x2*(-parseInt(_0x5e8dc9(0x1a8))/0x3)+parseInt(_0x5e8dc9(0x1d3))/0x4*(parseInt(_0x5e8dc9(0x144))/0x5)+parseInt(_0x5e8dc9(0xf4))/0x6*(parseInt(_0x5e8dc9(0x18b))/0x7)+-parseInt(_0x5e8dc9(0x185))/0x8+-parseInt(_0x5e8dc9(0x1ca))/0x9*(parseInt(_0x5e8dc9(0xf2))/0xa)+-parseInt(_0x5e8dc9(0x12b))/0xb*(parseInt(_0x5e8dc9(0x16c))/0xc);if(_0x49aec6===_0x519d72)break;else _0x1280a8['push'](_0x1280a8['shift']());}catch(_0x193aba){_0x1280a8['push'](_0x1280a8['shift']());}}}(_0x3b13,0xacede));import{Plugin as _0x368501,PendingActions as _0x4c66fa}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a6985,version as _0xba8fbe,uid as _0x2e1e74}from'ckeditor5/src/utils.js';import{Notification as _0x2d6253}from'ckeditor5/src/ui.js';import{transformSets as _0x12061d,NoOperation as _0xb6f549,InsertOperation as _0x53fa7a,MarkerOperation as _0x1d1151,RootAttributeOperation as _0x47b689,OperationFactory as _0x34416f,History as _0x5d06d2}from'ckeditor5/src/engine.js';import _0x2b8920 from'./websocketgateway.js';import _0x5b289c from'./sessions.js';function _0x3b13(){const _0x57fb4d=['_isInit','_initThrowingOnDataSet','_initSessionsHandling','config','add','currentDocumentSession','pluginName','locale','view','length','_isDisconnection','__className','catch','realtimecollaborationclient-init-non-existent-root','addToReconnectionStack','mySessionId','_connectService','isReadOnly','batch','channelSessions','data','getOperations','roots','_connectAfterSessionHasBeenFlushed','createPositionAt','145232ZXiMlD','11xyEisr','_crash','reset','Synchronization\x20issue','getConnectedSessions','reconnection:\x20flushed\x20session','409','Notification','_isEditingAllowed','define','root','createRange','includes','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','history','_shouldSendSelectionUpdate','change:_isEditingAllowed','addOperation','_compressOperations','decompress','sessionAdd:','InsertOperation','offset','keys','reconnect','1470OdGFCt','CommentsOnly','plugins','stop','RealTimeCollaborationClient','404','_handleExternalOperations','getRoot','toJSON','realtimecollaborationclient-sendbufferedoperations','isOfficialPlugin','round','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','move','fromJSON','realtimecollaborationclient-initservice-incorrect-server-operation','_addKnownRoot','wereChangesApplied','selection','get','path','change:_isPendingUpdate','_fetchMissingUsers','setPermissions','insert','error','_handleInitialConnectionData','_baseBufferDelay','realtimecollaborationclient-init-session-connection-error','type','lastDocumentSession','baseVersion','string','end','getOperationAuthor','from','_setUpDataInit','createdAt','_disconnectionOperations','_ignoredOperations','2846436XJVDji','_knownOperations','high','_refreshUserSelectionMarkers','_channelId','cloudDocumentVersion','apply','filter','_handleServerResponse','_service','multi-root-editor-root-attributes-no-root','_isPendingUpdate','getDocumentDetails','lastSyncVersion','set','rootName','fire','version','_handleReceivedOperations','entries','_getOperationsFromInitData','listenTo','slice','startsWith','isEnabled','10313008gTxOAK','state','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.','_isConnected','stopListening','_handleSendingSelectionMarkers','8412117cpgYnE','directChange','disconnected','_clearPendingAction','enableReadOnlyMode','$root','attributes','_operationToId','_lastServerVersion','_loadRoot','connection','realtimecollaborationclient-initservice-internal-error','getMany','document:write','userId','isPremiumPlugin','realtimecollaborationclient-init-document-already-initialized','CollaborativeEditingService','finally','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','_knownRootNames','return','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','markers','_currentBufferDelay','initData','enqueueChange','init','58389eTGstP','targetPosition','_hasSynchronizationProblem','start','removeFromReconnectionStack','parse','createRoot','_sendBufferedOperations','code','has','unregister','suppressErrorInCollaboration','_authorId','collaboration.channelId','_compressor','permissions','affectsData','connected','newRange','sessionCreatedAt','_applyOperationsSet','change:hasDomSelection','sendOperations','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.','_lastSyncedOperationId','66KITbcU','message','map','serverHistory','_pendingAction','addRoot','lastOperationAcceptedAt','_getAffectedRoot','off','1143837qucmls','document','_isAttached','_bufferRootLoad','editing','loadRoot','_waitUntilSynced','_decompressOperations','rootsAttributes','5068ftbMKe','_sendBufferedOperationsDelayId','destroy','editor','getIdOfTheLastOperation','compress','Permissions','differ','collaboration','metadata','then','disableReadOnlyMode','addUser','operationsReceived','getUser','_sendBufferedOperationsDelayed','_handleReconnectionResponse','lastOperationId','change:range','size','clone','createPositionFromPath','setIdForTheLastOperation','realtimecollaborationclient-init-connection-failed','cs:removeUser','ready','_setPendingAction','createUserMarkerOperations','_handleReconnectionError','addRootAttribute','affectedSelectable','forEach','marker','_hasSelectionChanged','_updateServerHistory','remove','disconnect','10DQomiL','requires','6TwrdJn','cloud-services-internal-error:\x20Not\x20connected.','_saveOperationInBuffer','_document','isUndoneOperation','PENDING_ACTION_SENDING_DATA','connect','rtc-destroyed','realtimecollaborationclient-handleserverresponse','_isLoaded','isDocumentOperation','model','_offset','sessionId','_bufferedOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','wasUndone','_disconnectService','push','showWarning','cloudServices.bundleVersion','applyOperation','_shouldSendUpdate','bind','_operationIdentifier','register','rtc-offline','position'];_0x3b13=function(){return _0x57fb4d;};return _0x3b13();}import _0x172bff from'./usermarkers.js';function _0x472c(_0x5bbf7a,_0x1652f3){const _0x3b1373=_0x3b13();return _0x472c=function(_0x472ca9,_0x4110aa){_0x472ca9=_0x472ca9-0xd1;let _0x40b0fc=_0x3b1373[_0x472ca9];return _0x40b0fc;},_0x472c(_0x5bbf7a,_0x1652f3);}import{getTranslation as _0x2d96f5}from'../common-translations.js';import{Compressor as _0x2fba53}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2036db}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x385822,CollaborativeEditingService as _0x414bdb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x368501{static get[_0x85ad6e(0xf3)](){return[_0x2b8920,_0x5b289c,_0x172bff,_0x4c66fa,_0x2036db,_0x2d6253];}static get[_0x85ad6e(0x117)](){const _0x4bedb3=_0x85ad6e;return _0x4bedb3(0x148);}static get[_0x85ad6e(0x14e)](){return!0x0;}static get[_0x85ad6e(0x19a)](){return!0x0;}get[_0x85ad6e(0x171)](){const _0x115983=_0x85ad6e;return this[_0x115983(0x193)]+this[_0x115983(0x100)];}get[_0x85ad6e(0x193)](){const _0x1ea120=_0x85ad6e;return this[_0x1ea120(0x1c4)][_0x1ea120(0x17d)]-this[_0x1ea120(0x100)];}get[_0x85ad6e(0x179)](){const _0x53497e=_0x85ad6e,_0x11540a=this[_0x53497e(0x1c4)][_0x53497e(0x126)]();for(let _0x3f51da=_0x11540a[_0x53497e(0x11a)]-0x1;_0x3f51da>=0x0;_0x3f51da--){const _0x5563ee=_0x11540a[_0x3f51da];if(!this[_0x53497e(0x16a)][_0x53497e(0x1b1)](_0x5563ee))return _0x5563ee[_0x53497e(0x163)]+0x1-this[_0x53497e(0x100)];}return 0x0;}constructor(_0x55b4c7){const _0x5c13e0=_0x85ad6e;if(super(_0x55b4c7),this[_0x5c13e0(0x100)]=0x0,this[_0x5c13e0(0x101)]=null,this[_0x5c13e0(0x1c4)]=new _0x5d06d2(),this[_0x5c13e0(0x1d6)][_0x5c13e0(0x114)][_0x5c13e0(0x134)](_0x5c13e0(0xd5),{}),this[_0x5c13e0(0x170)]=this[_0x5c13e0(0x1d6)][_0x5c13e0(0x114)][_0x5c13e0(0x157)](_0x5c13e0(0x1b5)),!this[_0x5c13e0(0x170)])throw new _0x5a6985(_0x5c13e0(0x19f),this);const _0x11c258=_0x55b4c7[_0x5c13e0(0x114)][_0x5c13e0(0x157)](_0x5c13e0(0x109))||_0xba8fbe;this[_0x5c13e0(0x175)]=new l[(_0x5c13e0(0x19c))](_0x11c258,this[_0x5c13e0(0x170)]),this[_0x5c13e0(0xf7)]=this[_0x5c13e0(0x1d6)][_0x5c13e0(0xff)][_0x5c13e0(0x1cb)],this[_0x5c13e0(0x1b6)]=new _0x2fba53(),this[_0x5c13e0(0x102)]=[],this[_0x5c13e0(0x16d)]=new WeakSet(),this[_0x5c13e0(0x1a0)]=new Set(),this[_0x5c13e0(0x17a)](_0x5c13e0(0x177),!0x1),this[_0x5c13e0(0x17a)](_0x5c13e0(0x1aa),!0x1),this[_0x5c13e0(0x1c5)]=null,this[_0x5c13e0(0xee)]=!0x1,this[_0x5c13e0(0x1d4)]=null,this[_0x5c13e0(0x15f)]=0x12c,this[_0x5c13e0(0x1a4)]=this[_0x5c13e0(0x15f)],this[_0x5c13e0(0x1c0)]=null,this[_0x5c13e0(0x16a)]=new WeakSet(),this[_0x5c13e0(0x10d)]=new W(this[_0x5c13e0(0x16a)]);}[_0x85ad6e(0x1a7)](){const _0x330dd6=_0x85ad6e,_0xaadf5=this[_0x330dd6(0x1d6)],_0x736a=_0xaadf5[_0x330dd6(0x146)][_0x330dd6(0x157)](_0x2036db),_0x214ec6=_0xaadf5[_0x330dd6(0x146)][_0x330dd6(0x157)](_0x2b8920);this[_0x330dd6(0x181)](_0x736a,_0x330dd6(0x166),(_0xbc645d,_0x1871ca)=>{const _0x132290=_0x330dd6,_0x3a658b=_0x1871ca[0x0];_0x3a658b[_0x132290(0x1b4)]&&(_0xbc645d[_0x132290(0x1a1)]=_0x736a[_0x132290(0xdb)](_0x3a658b[_0x132290(0x1b4)]),_0xbc645d[_0x132290(0x147)]()),null===_0x3a658b[_0x132290(0x1b4)]&&(_0xbc645d[_0x132290(0x1a1)]=null,_0xbc645d[_0x132290(0x147)]());},{'priority':_0x330dd6(0x16e)}),this[_0x330dd6(0x181)](_0xaadf5[_0x330dd6(0xff)][_0x330dd6(0x1cb)][_0x330dd6(0x156)],_0x330dd6(0xdf),(_0x15ba23,_0x94f365)=>{const _0x2da5fe=_0x330dd6;_0x94f365[_0x2da5fe(0x18c)]&&this[_0x2da5fe(0x16f)]();}),this[_0x330dd6(0x181)](_0xaadf5[_0x330dd6(0x1ce)][_0x330dd6(0x119)],_0x330dd6(0x1bd),()=>{const _0xb7b30=_0x330dd6;this[_0xb7b30(0x16f)]();}),this[_0x330dd6(0x112)](),_0xaadf5[_0x330dd6(0xff)]['on'](_0x330dd6(0x10a),(_0x4b8876,_0x4083cb)=>{const _0x425b4e=_0x330dd6,_0x1bfd9d=_0x4083cb[0x0];_0x1bfd9d[_0x425b4e(0xfe)]&&(this[_0x425b4e(0xf6)](_0x1bfd9d),this[_0x425b4e(0x10b)]()&&this[_0x425b4e(0xdc)]());}),this[_0x330dd6(0x168)](),this[_0x330dd6(0x10c)](_0x330dd6(0x133))['to'](_0x214ec6,_0x330dd6(0x186),this,_0x330dd6(0x1aa),(_0x1be0fb,_0x1bb332)=>_0x330dd6(0x1b9)===_0x1be0fb&&!_0x1bb332),this['on'](_0x330dd6(0x13b),()=>{const _0xd8d642=_0x330dd6;this[_0xd8d642(0x133)]?_0xaadf5[_0xd8d642(0xd8)](_0xd8d642(0x10f)):_0xaadf5[_0xd8d642(0x18f)](_0xd8d642(0x10f));}),this[_0x330dd6(0x133)]?_0xaadf5[_0x330dd6(0xd8)](_0x330dd6(0x10f)):_0xaadf5[_0x330dd6(0x18f)](_0x330dd6(0x10f)),this[_0x330dd6(0x17a)](_0x330dd6(0x188),!0x1);}async[_0x85ad6e(0x143)](){const _0x44f5fb=_0x85ad6e,_0x3a7cd5=this[_0x44f5fb(0x1d6)][_0x44f5fb(0x146)][_0x44f5fb(0x157)](_0x5b289c),_0xf5754=this[_0x44f5fb(0x1d6)][_0x44f5fb(0x146)][_0x44f5fb(0x157)](_0x2b8920);try{this[_0x44f5fb(0x177)]=!0x0,_0x3a7cd5[_0x44f5fb(0x1b2)](this[_0x44f5fb(0x170)]);const _0x2b68b6=await this[_0x44f5fb(0x175)][_0x44f5fb(0x143)](_0xf5754[_0x44f5fb(0x195)],this[_0x44f5fb(0x179)]);await this[_0x44f5fb(0xdd)](_0x2b68b6)&&(this[_0x44f5fb(0x177)]=!0x1,this[_0x44f5fb(0x18e)]());const _0xf34a80=await this[_0x44f5fb(0x175)][_0x44f5fb(0x12f)]();_0x3a7cd5[_0x44f5fb(0x10e)](this[_0x44f5fb(0x170)],_0xf34a80),this[_0x44f5fb(0x18a)](),this[_0x44f5fb(0x188)]=!0x0;}catch(_0x404f25){if(function(_0x3e6714){const _0x346398=_0x44f5fb;return _0x346398(0x149)===_0x3e6714[_0x346398(0x1b0)];}(_0x404f25)&&this[_0x44f5fb(0x101)])await this[_0x44f5fb(0x128)]();else{if(function(_0x6c5923){const _0x36bac7=_0x44f5fb;return _0x36bac7(0x131)===_0x6c5923[_0x36bac7(0x1b0)];}(_0x404f25)){const _0x5ec264=_0x2d96f5(this[_0x44f5fb(0x1d6)][_0x44f5fb(0x118)],_0x44f5fb(0x150));this[_0x44f5fb(0xe9)](_0x5ec264);}else{if(!(_0x404f25 instanceof z))throw _0x404f25;this[_0x44f5fb(0xe9)]();}}}}[_0x85ad6e(0x1d5)](){const _0x28bb93=_0x85ad6e,_0x1afc33=this[_0x28bb93(0x1d6)][_0x28bb93(0x146)][_0x28bb93(0x157)](_0x2b8920),_0x56658c=this[_0x28bb93(0x1d6)][_0x28bb93(0x146)][_0x28bb93(0x157)](_0x5b289c);this[_0x28bb93(0x1d6)][_0x28bb93(0x18f)](_0x28bb93(0xfb)),_0x56658c[_0x28bb93(0x124)][_0x28bb93(0x1b1)](this[_0x28bb93(0x170)])&&_0x56658c[_0x28bb93(0x1b2)](this[_0x28bb93(0x170)]),_0x1afc33[_0x28bb93(0x1ac)](this),this[_0x28bb93(0x106)](),super[_0x28bb93(0x1d5)]();}async[_0x85ad6e(0xdd)](_0x46502f){const _0xcc717e=_0x85ad6e;if(this[_0xcc717e(0x101)]!==_0x46502f[_0xcc717e(0x101)]&&this[_0xcc717e(0x1c0)]!==_0x46502f[_0xcc717e(0xde)])throw new z();return this[_0xcc717e(0x101)]=_0x46502f[_0xcc717e(0x101)],this[_0xcc717e(0x174)]([],{..._0x46502f,'wereChangesApplied':!0x1,'data':_0x46502f[_0xcc717e(0x125)]},_0xcc717e(0x143));}async[_0x85ad6e(0x121)](_0x1abcdc,_0x435a57=!0x1){const _0x34758f=_0x85ad6e,{connection:_0x59144d}=this[_0x34758f(0x1d6)][_0x34758f(0x146)][_0x34758f(0x157)](_0x2b8920);l[_0x34758f(0x19c)][_0x34758f(0x12f)](_0x59144d,this[_0x34758f(0x170)])[_0x34758f(0xd7)](_0x49e7be=>this[_0x34758f(0x113)](_0x49e7be))[_0x34758f(0x11d)](_0x7e0279=>{const _0x17bc03=_0x34758f;this[_0x17bc03(0x12c)](_0x17bc03(0x160),_0x7e0279);}),this[_0x34758f(0x181)](this[_0x34758f(0x175)],_0x34758f(0xda),this[_0x34758f(0x17e)][_0x34758f(0x10c)](this)),this[_0x34758f(0x181)](this[_0x34758f(0x175)],_0x34758f(0x15d),(_0x56a8dc,_0x3d8825)=>{const _0x2a859f=_0x34758f;this[_0x2a859f(0x12c)](_0x2a859f(0x196),_0x3d8825);}),this[_0x34758f(0x181)](this[_0x34758f(0x175)],_0x34758f(0x18d),()=>{const _0x13eb39=_0x34758f;this[_0x13eb39(0x188)]=!0x1;});const _0x496b37=this[_0x34758f(0x10d)][_0x34758f(0xd1)](_0x1abcdc);this[_0x34758f(0x177)]=!0x0;const _0x35153f=await this[_0x34758f(0x175)][_0x34758f(0xfa)](_0x59144d,this[_0x34758f(0x13d)](_0x1abcdc),_0x496b37);if(this[_0x34758f(0x101)]=_0x35153f[_0x34758f(0x101)],_0x435a57){if(!_0x35153f[_0x34758f(0x155)])return void this[_0x34758f(0xe9)]();this[_0x34758f(0x177)]=!0x1,this[_0x34758f(0x18e)](),this[_0x34758f(0x1c4)][_0x34758f(0x12d)](),this[_0x34758f(0x100)]=_0x35153f[_0x34758f(0x141)],this[_0x34758f(0x1c4)][_0x34758f(0x17d)]=this[_0x34758f(0x100)],await this[_0x34758f(0x174)](_0x1abcdc,_0x35153f,_0x34758f(0x130));}else await this[_0x34758f(0x15e)](_0x35153f,_0x1abcdc);this[_0x34758f(0x18a)](),this[_0x34758f(0x188)]=!0x0;}[_0x85ad6e(0x18a)](){const _0x4c4f69=_0x85ad6e,_0x1bfd20=this[_0x4c4f69(0x1d6)][_0x4c4f69(0x146)][_0x4c4f69(0x157)](_0x5b289c),_0x15f12b=this[_0x4c4f69(0x1d6)][_0x4c4f69(0x146)][_0x4c4f69(0x157)](_0x172bff),_0x141611=_0x1bfd20[_0x4c4f69(0x124)][_0x4c4f69(0x157)](this[_0x4c4f69(0x170)]);_0x141611&&_0x141611[_0x4c4f69(0x11a)]>0x1?_0x15f12b[_0x4c4f69(0xe8)]():this[_0x4c4f69(0x181)](_0x1bfd20,_0x4c4f69(0x13f)+this[_0x4c4f69(0x170)],()=>{const _0x1b6b71=_0x4c4f69;0x2===_0x1bfd20[_0x1b6b71(0x124)][_0x1b6b71(0x157)](this[_0x1b6b71(0x170)])[_0x1b6b71(0x11a)]&&_0x15f12b[_0x1b6b71(0xe8)]();});}async[_0x85ad6e(0x17e)](_0x42b1f9,_0x53efd6,_0x3f26b8,_0x5ec6b5){const _0x565fba=_0x85ad6e;if(!this[_0x565fba(0x177)]&&this[_0x565fba(0xf7)][_0x565fba(0x17d)]==_0x53efd6){const _0x259dec=this[_0x565fba(0x1d1)](_0x3f26b8,_0x5ec6b5);await this[_0x565fba(0x15a)](_0x259dec),this[_0x565fba(0x14a)](_0x259dec,_0x53efd6,_0x3f26b8[_0x565fba(0xde)])||this[_0x565fba(0x12c)](_0x565fba(0x153));}}async[_0x85ad6e(0x128)](){const _0x367d2e=_0x85ad6e;this[_0x367d2e(0x106)]();const {locale:_0x2ea17d}=this[_0x367d2e(0x1d6)];let _0x8b3083;try{_0x8b3083=await this[_0x367d2e(0x175)][_0x367d2e(0x178)]();}catch(_0x1cb4b0){const _0x4d74c9=_0x2d96f5(_0x2ea17d,_0x367d2e(0x103));return void this[_0x367d2e(0xe9)](_0x4d74c9);}const _0x4c1fea=_0x8b3083[_0x367d2e(0x116)]||_0x8b3083[_0x367d2e(0x162)];if(this[_0x367d2e(0x1c0)]===_0x4c1fea[_0x367d2e(0xde)])await this[_0x367d2e(0x121)](this[_0x367d2e(0x1d6)][_0x367d2e(0xff)][_0x367d2e(0x1cb)][_0x367d2e(0x139)][_0x367d2e(0x126)](),!0x0);else{const _0x36322c=_0x2d96f5(_0x2ea17d,_0x367d2e(0x1bf));this[_0x367d2e(0xe9)](_0x36322c);}}[_0x85ad6e(0x106)](){const _0x420ab3=_0x85ad6e;this[_0x420ab3(0x175)][_0x420ab3(0xf1)](),this[_0x420ab3(0x102)]=[],clearTimeout(this[_0x420ab3(0x1d4)]),this[_0x420ab3(0x189)](this[_0x420ab3(0x175)]);}[_0x85ad6e(0x113)](_0x5d7ba6){const _0x27d2d2=_0x85ad6e,_0xa9cc16=this[_0x27d2d2(0x1d6)][_0x27d2d2(0x146)][_0x27d2d2(0x157)](_0x5b289c);this[_0x27d2d2(0x181)](_0xa9cc16,_0x27d2d2(0x13f)+this[_0x27d2d2(0x170)],(_0x568703,{session:_0x3813e9})=>{const _0x1074ea=_0x27d2d2;if(_0x3813e9['id']===_0xa9cc16[_0x1074ea(0x120)]){_0x568703[_0x1074ea(0x1c9)]();const _0x3e4b44=this[_0x1074ea(0x1d6)][_0x1074ea(0x146)][_0x1074ea(0x1b1)](_0x1074ea(0x145))&&this[_0x1074ea(0x1d6)][_0x1074ea(0x146)][_0x1074ea(0x157)](_0x1074ea(0x145));let _0xf308b9=_0x3813e9[_0x1074ea(0x1b7)];_0x3e4b44&&_0x3e4b44[_0x1074ea(0x184)]&&(_0xf308b9=_0xf308b9[_0x1074ea(0x173)](_0x2b3915=>_0x1074ea(0x198)!==_0x2b3915)),this[_0x1074ea(0x1d6)][_0x1074ea(0x146)][_0x1074ea(0x157)](_0x1074ea(0xd3))[_0x1074ea(0x15b)](_0xf308b9,this[_0x1074ea(0x170)]);}}),_0xa9cc16[_0x27d2d2(0x10e)](this[_0x27d2d2(0x170)],_0x5d7ba6);}[_0x85ad6e(0x112)](){const _0x4115ca=_0x85ad6e,_0x5fd290=this[_0x4115ca(0x1d6)][_0x4115ca(0x125)][_0x4115ca(0x17a)];this[_0x4115ca(0x1d6)][_0x4115ca(0x125)][_0x4115ca(0x17a)]=(..._0x15e5da)=>{const _0xbd9590=_0x4115ca;if(!_0x15e5da[_0x15e5da[_0xbd9590(0x11a)]-0x1][_0xbd9590(0x1b3)])throw new _0x5a6985(_0xbd9590(0x138),this);_0x5fd290[_0xbd9590(0x172)](this[_0xbd9590(0x1d6)][_0xbd9590(0x125)],_0x15e5da);};}[_0x85ad6e(0x168)](){const _0x4805c0=_0x85ad6e;this[_0x4805c0(0x1d6)][_0x4805c0(0x125)]['on'](_0x4805c0(0x1a7),(_0x328ba3,[_0x162570])=>{const _0x3177a2=_0x4805c0;if(this[_0x3177a2(0xf7)][_0x3177a2(0x17d)])throw new _0x5a6985(_0x3177a2(0x19b),this);_0x328ba3[_0x3177a2(0x147)](),this[_0x3177a2(0xe7)]();const _0xf8f492=this[_0x3177a2(0x1d6)][_0x3177a2(0x114)][_0x3177a2(0x157)](_0x3177a2(0x1d2)),_0x3caa6c=this[_0x3177a2(0x180)](_0x162570,_0xf8f492);0x0==_0x3caa6c[_0x3177a2(0x11a)]&&_0x3caa6c[_0x3177a2(0x107)](new _0xb6f549(0x0)),_0x328ba3[_0x3177a2(0x1a1)]=this[_0x3177a2(0x121)](_0x3caa6c)[_0x3177a2(0xd7)](()=>{const _0x2912a5=_0x3177a2;this[_0x2912a5(0x1d6)][_0x2912a5(0x146)][_0x2912a5(0x157)](_0x2b8920)[_0x2912a5(0x11f)](this),this[_0x2912a5(0x1d6)][_0x2912a5(0x125)][_0x2912a5(0x17c)](_0x2912a5(0xe6));})[_0x3177a2(0x11d)](_0x98b996=>this[_0x3177a2(0x12c)](_0x3177a2(0xe4),_0x98b996))[_0x3177a2(0x19d)](()=>this[_0x3177a2(0x18e)]());},{'priority':_0x4805c0(0x16e)}),this[_0x4805c0(0x1d6)]['on'](_0x4805c0(0x1cf),async(_0xe8c27,[_0x3cc266,_0x2f5fdf])=>{const _0x53e2c5=_0x4805c0;_0xe8c27[_0x53e2c5(0x147)]();const _0x55a3ca=this[_0x53e2c5(0x1d6)][_0x53e2c5(0xff)][_0x53e2c5(0x1cb)][_0x53e2c5(0x14b)](_0x3cc266);if(!this[_0x53e2c5(0x1a0)][_0x53e2c5(0x1b1)](_0x3cc266)){const _0x6e2caa=_0x2f5fdf&&_0x2f5fdf[_0x53e2c5(0x125)]?_0x2f5fdf[_0x53e2c5(0x125)]:'',_0x4f3c25=_0x2f5fdf&&_0x2f5fdf[_0x53e2c5(0x191)]?_0x2f5fdf[_0x53e2c5(0x191)]:{};await this[_0x53e2c5(0x194)](_0x3cc266,_0x6e2caa,_0x4f3c25);}this[_0x53e2c5(0x1d6)][_0x53e2c5(0xff)][_0x53e2c5(0x1a6)]({'isUndoable':!0x1},()=>{const _0xd4d18b=_0x53e2c5;_0x55a3ca[_0xd4d18b(0xfd)]=!0x0,this[_0xd4d18b(0x1d6)][_0xd4d18b(0xff)][_0xd4d18b(0x1cb)][_0xd4d18b(0xd4)][_0xd4d18b(0x1cd)](_0x55a3ca);});},{'priority':_0x4805c0(0x16e)});}async[_0x85ad6e(0x15a)](_0x209039){const _0x4b2d74=_0x85ad6e,_0x48213b=this[_0x4b2d74(0x1d6)][_0x4b2d74(0x146)][_0x4b2d74(0x157)](_0x2036db),{connection:_0x65f100}=this[_0x4b2d74(0x1d6)][_0x4b2d74(0x146)][_0x4b2d74(0x157)](_0x2b8920),_0x560d53=new Set();for(const _0x9f6847 of _0x209039){const _0x3f7d03=_0x9f6847[_0x4b2d74(0x1b4)];_0x3f7d03&&!_0x48213b[_0x4b2d74(0xdb)](_0x3f7d03)&&_0x560d53[_0x4b2d74(0x115)](_0x3f7d03);}if(0x0===_0x560d53[_0x4b2d74(0xe0)])return;const _0x4540b3=await _0x385822[_0x4b2d74(0x197)](_0x65f100,Array[_0x4b2d74(0x167)](_0x560d53));for(const _0x3b2183 of _0x4540b3)_0x48213b[_0x4b2d74(0xdb)](_0x3b2183['id'])||_0x48213b[_0x4b2d74(0xd9)](_0x3b2183);}[_0x85ad6e(0x180)](_0x13476b,_0x5c4f89={}){const _0x31e114=_0x85ad6e,_0x572f8b=this[_0x31e114(0x1d6)][_0x31e114(0xff)],_0x2186a4=[];let _0x199b3c=0x0;const _0x46f244=_0x31e114(0x164)==typeof _0x13476b?{'main':_0x13476b}:_0x13476b;for(const _0x275c96 of Object[_0x31e114(0x142)](_0x46f244)){if(!this[_0x31e114(0xf7)][_0x31e114(0x127)][_0x31e114(0x1b1)](_0x275c96))throw new _0x5a6985(_0x31e114(0x11e),this);const _0x219665=this[_0x31e114(0x1d6)][_0x31e114(0x125)][_0x31e114(0x1ad)](_0x46f244[_0x275c96]),_0x1d00b1=this[_0x31e114(0xf7)][_0x31e114(0x14b)](_0x275c96),_0x2801a0=new _0x53fa7a(_0x572f8b[_0x31e114(0x129)](_0x1d00b1,0x0),_0x219665,_0x199b3c++);_0x2186a4[_0x31e114(0x107)](_0x2801a0);for(const [_0x1b00f0,_0x401acb]of _0x219665[_0x31e114(0x1a3)]){const _0x30be9e=_0x572f8b[_0x31e114(0x136)](_0x572f8b[_0x31e114(0xe2)](_0x1d00b1,_0x401acb[_0x31e114(0x1ab)][_0x31e114(0x158)][_0x31e114(0x182)]()),_0x572f8b[_0x31e114(0xe2)](_0x1d00b1,_0x401acb[_0x31e114(0x165)][_0x31e114(0x158)][_0x31e114(0x182)]())),_0x4e5267=new _0x1d1151(_0x1b00f0,null,_0x30be9e,_0x572f8b[_0x31e114(0x1a3)],!0x0,_0x199b3c++);_0x2186a4[_0x31e114(0x107)](_0x4e5267);}}if(_0x5c4f89)for(const [_0x80d0e1,_0x366b0e]of Object[_0x31e114(0x17f)](_0x5c4f89)){const _0x39804e=_0x572f8b[_0x31e114(0x1cb)][_0x31e114(0x14b)](_0x80d0e1);if(!_0x39804e)throw new _0x5a6985(_0x31e114(0x176),null);for(const [_0x921655,_0x44e82d]of Object[_0x31e114(0x17f)](_0x366b0e))if(null!==_0x44e82d){const _0x4569bc=new _0x47b689(_0x39804e,_0x921655,null,_0x44e82d,_0x199b3c++);_0x2186a4[_0x31e114(0x107)](_0x4569bc);}}return _0x2186a4;}async[_0x85ad6e(0x194)](_0x238075,_0x5a4368,_0x3f2b83){const _0x527f81=_0x85ad6e;this[_0x527f81(0x180)]({[_0x238075]:_0x5a4368},{[_0x238075]:_0x3f2b83})[_0x527f81(0xec)]((_0x4f9fbf,_0x52d684)=>{const _0x46a7ec=_0x527f81;_0x4f9fbf[_0x46a7ec(0x163)]=this[_0x46a7ec(0xf7)][_0x46a7ec(0x17d)]+_0x52d684,_0x4f9fbf[_0x46a7ec(0x111)]=!0x0,this[_0x46a7ec(0xf6)](_0x4f9fbf);}),this[_0x527f81(0xdc)](),await this[_0x527f81(0x1d0)]();}async[_0x85ad6e(0x15e)](_0x543777,_0xff83b4){const _0x33f4aa=_0x85ad6e;let _0x1b88a9;this[_0x33f4aa(0x100)]=_0x543777[_0x33f4aa(0x141)];const _0x4492d4=_0x543777[_0x33f4aa(0x155)]&&!_0x543777[_0x33f4aa(0x1a5)],_0x4de5f8=_0x4492d4?0x0:_0x543777[_0x33f4aa(0x125)][_0x33f4aa(0x163)];if(_0xff83b4[_0x33f4aa(0xec)](_0x1ac451=>{const _0x1ee48e=_0x33f4aa;_0x1ac451[_0x1ee48e(0x111)]=!0x0,_0x1ac451[_0x1ee48e(0x169)]=_0x543777[_0x1ee48e(0x1bb)],_0x1ac451[_0x1ee48e(0x1b4)]=null;}),_0x4492d4)_0x1b88a9=_0xff83b4,this[_0x33f4aa(0x1bc)](_0x1b88a9,_0x4492d4);else{if(_0x543777[_0x33f4aa(0x1a5)]){const _0x2e9992=this[_0x33f4aa(0x180)](_0x543777[_0x33f4aa(0x1a5)]);this[_0x33f4aa(0xf7)][_0x33f4aa(0x139)][_0x33f4aa(0x17d)]=-_0x2e9992[_0x33f4aa(0x11a)],_0x2e9992[_0x33f4aa(0xec)](_0x5952f2=>{const _0x4d4f18=_0x33f4aa;_0x5952f2[_0x4d4f18(0x163)]-=_0x2e9992[_0x4d4f18(0x11a)],_0x5952f2[_0x4d4f18(0x169)]=_0x543777[_0x4d4f18(0x1bb)],_0x5952f2[_0x4d4f18(0x111)]=!0x0,_0x5952f2[_0x4d4f18(0x1b4)]=null;}),this[_0x33f4aa(0x1bc)](_0x2e9992,!0x0),this[_0x33f4aa(0x1c4)][_0x33f4aa(0x17d)]=-_0x2e9992[_0x33f4aa(0x11a)]+this[_0x33f4aa(0x100)],this[_0x33f4aa(0xef)](_0x2e9992);}this[_0x33f4aa(0xf7)][_0x33f4aa(0x139)][_0x33f4aa(0x17d)]=_0x4de5f8,_0x1b88a9=this[_0x33f4aa(0x1d1)](_0x543777[_0x33f4aa(0x125)],_0x543777[_0x33f4aa(0xd6)]),await this[_0x33f4aa(0x15a)](_0x1b88a9),this[_0x33f4aa(0x1bc)](_0x1b88a9,_0x4492d4);}_0x543777[_0x33f4aa(0xde)]&&(this[_0x33f4aa(0x10d)][_0x33f4aa(0xe3)](_0x1b88a9,_0x543777[_0x33f4aa(0xde)]),this[_0x33f4aa(0x1c0)]=_0x543777[_0x33f4aa(0xde)]),this[_0x33f4aa(0x1c4)][_0x33f4aa(0x17d)]=_0x4de5f8+this[_0x33f4aa(0x100)],this[_0x33f4aa(0xef)](_0x1b88a9),_0xff83b4[_0x33f4aa(0x173)](_0x4c3957=>{const _0xc60079=_0x33f4aa,_0x1f926c=this[_0xc60079(0x1c8)](_0x4c3957);return _0x1f926c&&!this[_0xc60079(0x1a0)][_0xc60079(0x1b1)](_0x1f926c);})[_0x33f4aa(0xec)]((_0x373202,_0xef23cc)=>{const _0x563983=_0x33f4aa;_0x373202[_0x563983(0x163)]=this[_0x563983(0xf7)][_0x563983(0x17d)]+_0xef23cc,this[_0x563983(0xf6)](_0x373202);}),this[_0x33f4aa(0x10b)]()?(this[_0x33f4aa(0x1a4)]=0x0,this[_0x33f4aa(0xdc)](!0x0),await this[_0x33f4aa(0x1d0)]()):(this[_0x33f4aa(0x177)]=!0x1,this[_0x33f4aa(0x18e)]());}[_0x85ad6e(0x12c)](_0x3c4937,_0xbe8de2){const _0x3e6013=_0x85ad6e;throw this[_0x3e6013(0x177)]=!0x0,_0xbe8de2&&console[_0x3e6013(0x15d)](_0xbe8de2),new _0x5a6985(_0x3c4937,this[_0x3e6013(0x1d6)]);}[_0x85ad6e(0xf6)](_0x5bc4fb){const _0x5b49e9=_0x85ad6e;this[_0x5b49e9(0x16d)][_0x5b49e9(0x1b1)](_0x5bc4fb)||(this[_0x5b49e9(0x16d)][_0x5b49e9(0x115)](_0x5bc4fb),this[_0x5b49e9(0x102)][_0x5b49e9(0x107)](_0x5bc4fb),this[_0x5b49e9(0x1c5)]||_0x5b49e9(0xed)==_0x5bc4fb[_0x5b49e9(0x161)]&&!_0x5bc4fb[_0x5b49e9(0x1b8)]||this[_0x5b49e9(0xe7)]());}[_0x85ad6e(0xdc)](_0x423f1f=!0x1){const _0x5455f4=_0x85ad6e;!_0x423f1f&&this[_0x5455f4(0x177)]||(this[_0x5455f4(0x177)]=!0x0,clearTimeout(this[_0x5455f4(0x1d4)]),this[_0x5455f4(0x1d4)]=setTimeout(()=>{const _0x50eecc=_0x5455f4;this[_0x50eecc(0x1af)]()[_0x50eecc(0xd7)](_0x2ca5cc=>{const _0x5166b2=_0x50eecc;_0x2ca5cc&&(this[_0x5166b2(0x18e)](),this[_0x5166b2(0x177)]=!0x1);})[_0x50eecc(0x11d)](_0x158e05=>{const _0x32dca3=_0x50eecc;if(this[_0x32dca3(0x18e)](),this[_0x32dca3(0x177)]=!0x1,!function(_0x3623cc){const _0x21bebc=_0x32dca3;return _0x3623cc[_0x21bebc(0x1c2)][_0x21bebc(0x183)](_0x21bebc(0xf5))||_0x3623cc[_0x21bebc(0x1c2)][_0x21bebc(0x183)](_0x21bebc(0x1a2))||_0x3623cc[_0x21bebc(0x1c2)][_0x21bebc(0x183)](_0x21bebc(0x19e));}(_0x158e05))throw _0x158e05;});},this[_0x5455f4(0x1a4)]));}[_0x85ad6e(0x1d0)](){return new Promise(_0xf90aee=>{const _0x27f6d8=_0x472c;this['on'](_0x27f6d8(0x159),()=>{_0xf90aee();});});}async[_0x85ad6e(0x1af)](){const _0x36088e=_0x85ad6e,_0x1b9d91=this[_0x36088e(0x1d6)][_0x36088e(0x146)][_0x36088e(0x157)](_0x172bff);if(this[_0x36088e(0x13a)]()&&(_0x1b9d91[_0x36088e(0xe8)](),this[_0x36088e(0xee)]=!0x1),!this[_0x36088e(0x10b)]())return!0x0;const _0x214589=[...this[_0x36088e(0x102)]];for(const _0x2f4d99 of _0x214589)_0x2f4d99[_0x36088e(0x105)]=this[_0x36088e(0xf7)][_0x36088e(0x139)][_0x36088e(0xf8)](_0x2f4d99);const _0x417bcf=this[_0x36088e(0x10d)][_0x36088e(0xd1)](_0x214589),_0x4be5f5=M++,_0x144a3b=this[_0x36088e(0x13d)](_0x214589),_0x1b1efd=await this[_0x36088e(0x175)][_0x36088e(0x1be)](_0x144a3b,_0x144a3b[_0x36088e(0x163)],_0x417bcf);try{return await this[_0x36088e(0x174)](_0x214589,_0x1b1efd,_0x4be5f5);}catch(_0x1c6d4f){return this[_0x36088e(0x12c)](_0x36088e(0x14d),_0x1c6d4f);}}async[_0x85ad6e(0x174)](_0x1c0589,_0x114b72,_0x1b885b){const _0x3cd599=_0x85ad6e;if(_0x3cd599(0x15d)in _0x114b72)throw _0x114b72[_0x3cd599(0x15d)];let _0x23268f=!0x1;if(_0x114b72[_0x3cd599(0x155)]){_0x114b72[_0x3cd599(0xde)]&&(this[_0x3cd599(0x1c0)]=_0x114b72[_0x3cd599(0xde)]),this[_0x3cd599(0x102)]=this[_0x3cd599(0x102)][_0x3cd599(0x173)](_0x4129b4=>!_0x1c0589[_0x3cd599(0x137)](_0x4129b4));for(const _0x8e2834 of _0x1c0589)_0x8e2834[_0x3cd599(0x169)]=_0x3cd599(0x1c7)in _0x114b72&&_0x114b72[_0x3cd599(0x1c7)]||void 0x0;V(_0x1c0589,_0x114b72[_0x3cd599(0x17d)]-_0x1c0589[_0x3cd599(0x11a)]),this[_0x3cd599(0xef)](_0x1c0589);const _0xc90a=_0x1c0589[_0x3cd599(0x173)](_0x1344ba=>{const _0x1373b6=_0x3cd599;if(!_0x1344ba[_0x1373b6(0x111)])return!0x1;const _0x42c774=this[_0x1373b6(0x1c8)](_0x1344ba);return _0x42c774&&!this[_0x1373b6(0x1a0)][_0x1373b6(0x1b1)](_0x42c774);});V(_0xc90a,this[_0x3cd599(0xf7)][_0x3cd599(0x17d)]),this[_0x3cd599(0x1bc)](_0xc90a),_0x23268f=!0x0,this[_0x3cd599(0x1a4)]=this[_0x3cd599(0x15f)];}else{const _0x20b1c2=this[_0x3cd599(0x1d1)](_0x114b72[_0x3cd599(0x125)],_0x114b72[_0x3cd599(0xd6)])[_0x3cd599(0x173)](_0x2c3916=>_0x2c3916[_0x3cd599(0x163)]>=this[_0x3cd599(0x193)]);_0x20b1c2[_0x3cd599(0xec)](_0x19161f=>this[_0x3cd599(0x154)](_0x19161f)),this[_0x3cd599(0x102)]=this[_0x3cd599(0x102)][_0x3cd599(0x173)](_0x5cdd14=>!_0x5cdd14[_0x3cd599(0x111)]||!this[_0x3cd599(0x1a0)][_0x3cd599(0x1b1)](this[_0x3cd599(0x1c8)](_0x5cdd14))),this[_0x3cd599(0x102)][_0x3cd599(0x11a)]&&V(this[_0x3cd599(0x102)],this[_0x3cd599(0x102)][0x0][_0x3cd599(0x163)]),await this[_0x3cd599(0x15a)](_0x20b1c2),_0x23268f=this[_0x3cd599(0x14a)](_0x20b1c2,_0x114b72[_0x3cd599(0x17d)],_0x114b72[_0x3cd599(0xde)]),this[_0x3cd599(0x1a4)]=Math[_0x3cd599(0x14f)](this[_0x3cd599(0x1a4)]/0x2);}return _0x23268f?!this[_0x3cd599(0x10b)]()||(this[_0x3cd599(0xdc)](!0x0),!0x1):this[_0x3cd599(0x12c)](_0x3cd599(0xfc));}[_0x85ad6e(0x14a)](_0x35e799,_0x4e5a82,_0x3249c6){const _0x3b71f3=_0x85ad6e;try{const _0x71705e={'document':this[_0x3b71f3(0xf7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4205ec,operationsB:_0x41c7a4,originalOperations:_0x566aad}=_0x12061d(_0x35e799,this[_0x3b71f3(0x102)],_0x71705e);V(_0x4205ec,this[_0x3b71f3(0xf7)][_0x3b71f3(0x17d)]),V(_0x41c7a4,_0x4e5a82);for(const _0x3dd22b of _0x4205ec){const _0x540eb7=_0x566aad[_0x3b71f3(0x157)](_0x3dd22b);_0x3dd22b[_0x3b71f3(0x1b4)]=_0x540eb7?_0x540eb7[_0x3b71f3(0x1b4)]:null;}_0x3249c6&&(this[_0x3b71f3(0x10d)][_0x3b71f3(0xe3)](_0x35e799,_0x3249c6),this[_0x3b71f3(0x1c0)]=_0x3249c6),this[_0x3b71f3(0x102)]=[..._0x41c7a4],this[_0x3b71f3(0x1bc)](_0x4205ec),this[_0x3b71f3(0xef)](_0x35e799);}catch(_0xe11196){return console[_0x3b71f3(0x15d)](_0xe11196),!0x1;}return!0x0;}[_0x85ad6e(0x1bc)](_0x17f8fb,_0x495c6f=!0x1){const _0x5cf6f1=_0x85ad6e;this[_0x5cf6f1(0x1d6)][_0x5cf6f1(0xff)][_0x5cf6f1(0x1a6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x36dc0b=>{const _0x6deba7=_0x5cf6f1;for(const _0x1d7963 of _0x17f8fb)this[_0x6deba7(0x16d)][_0x6deba7(0x115)](_0x1d7963),this[_0x6deba7(0x154)](_0x1d7963),_0x36dc0b[_0x6deba7(0x123)][_0x6deba7(0x13c)](_0x1d7963),this[_0x6deba7(0x1d6)][_0x6deba7(0xff)][_0x6deba7(0x10a)](_0x1d7963);});}[_0x85ad6e(0x154)](_0xaa65cf){const _0x1ab73b=_0x85ad6e,_0x372ca0=this[_0x1ab73b(0x1c8)](_0xaa65cf);_0x372ca0&&this[_0x1ab73b(0x1a0)][_0x1ab73b(0x115)](_0x372ca0);}[_0x85ad6e(0x1c8)](_0x325754){const _0x23ddd6=_0x85ad6e;let _0x4e1979,_0x1f49ba;switch(_0x325754[_0x23ddd6(0x161)]){case _0x23ddd6(0x15c):_0x4e1979=_0x325754[_0x23ddd6(0x110)][_0x23ddd6(0x135)];break;case _0x23ddd6(0xed):if(_0x1f49ba=_0x325754[_0x23ddd6(0x1ba)],!_0x1f49ba)return null;_0x4e1979=_0x1f49ba[_0x23ddd6(0x135)];break;case _0x23ddd6(0xea):_0x4e1979=_0x325754[_0x23ddd6(0x135)];break;case _0x23ddd6(0x1c6):_0x4e1979=_0x325754[_0x23ddd6(0xeb)];break;case _0x23ddd6(0x151):_0x4e1979=_0x325754[_0x23ddd6(0x1a9)][_0x23ddd6(0x135)];break;default:return null;}return _0x4e1979[_0x23ddd6(0x17b)];}[_0x85ad6e(0xef)](_0xaae790){const _0xf3b346=_0x85ad6e;_0xaae790[_0xf3b346(0xec)](_0x5ddaa5=>{const _0x1e694f=_0xf3b346,_0x4ac974=_0x5ddaa5[_0x1e694f(0xe1)]();_0x4ac974[_0x1e694f(0x1b4)]=_0x5ddaa5[_0x1e694f(0x1b4)],_0x4ac974[_0x1e694f(0x111)]=!!_0x5ddaa5[_0x1e694f(0x111)],_0x4ac974[_0x1e694f(0x169)]=_0x5ddaa5[_0x1e694f(0x169)],_0x4ac974[_0x1e694f(0x163)]+=this[_0x1e694f(0x100)],_0x5ddaa5[_0x1e694f(0x11b)]&&this[_0x1e694f(0x16a)][_0x1e694f(0x115)](_0x4ac974),this[_0x1e694f(0x1c4)][_0x1e694f(0x13c)](_0x4ac974);});}[_0x85ad6e(0xe9)](_0x5a4ad2){const _0x2bc4da=_0x85ad6e,_0x236689=this[_0x2bc4da(0x1d6)][_0x2bc4da(0x146)][_0x2bc4da(0x157)](_0x2bc4da(0x132)),_0x1baba2=this[_0x2bc4da(0x1d6)][_0x2bc4da(0x118)];_0x5a4ad2||(_0x5a4ad2=_0x2d96f5(_0x1baba2,_0x2bc4da(0x187))),_0x236689[_0x2bc4da(0x108)](_0x5a4ad2,{'title':_0x2d96f5(_0x1baba2,_0x2bc4da(0x12e)),'namespace':_0x2bc4da(0x104)}),this[_0x2bc4da(0x1aa)]=!0x0,clearTimeout(this[_0x2bc4da(0x1d4)]),this[_0x2bc4da(0x102)]=[],this[_0x2bc4da(0x1d6)][_0x2bc4da(0x146)][_0x2bc4da(0x157)](_0x2b8920)[_0x2bc4da(0x1d5)]();}[_0x85ad6e(0xe7)](){const _0x3a5998=_0x85ad6e;this[_0x3a5998(0x1c5)]||(this[_0x3a5998(0x1c5)]=this[_0x3a5998(0x1d6)][_0x3a5998(0x146)][_0x3a5998(0x157)](_0x4c66fa)[_0x3a5998(0x115)](_0x2d96f5(this[_0x3a5998(0x1d6)][_0x3a5998(0x118)],_0x3a5998(0xf9))));}[_0x85ad6e(0x18e)](){const _0x42c541=_0x85ad6e;this[_0x42c541(0x1c5)]&&(this[_0x42c541(0x1d6)][_0x42c541(0x146)][_0x42c541(0x157)](_0x4c66fa)[_0x42c541(0xf0)](this[_0x42c541(0x1c5)]),this[_0x42c541(0x1c5)]=null);}[_0x85ad6e(0x13d)](_0x4cc7e7){const _0x54c4a8=_0x85ad6e,_0x17311d=_0x4cc7e7[_0x54c4a8(0x1c3)](_0x53e674=>_0x53e674[_0x54c4a8(0x14c)]());return this[_0x54c4a8(0x1b6)][_0x54c4a8(0xd2)](_0x17311d);}[_0x85ad6e(0x1d1)](_0x39eb32,_0xbbb842){const _0x1032c9=_0x85ad6e;return this[_0x1032c9(0x1b6)][_0x1032c9(0x13e)](_0x39eb32)[_0x1032c9(0x1c3)]((_0xcae0e6,_0x473784)=>{const _0x2b6a8b=_0x1032c9,_0x3480e3=_0x2b6a8b(0x1a7)==_0xbbb842[_0x473784][_0x2b6a8b(0x161)];if(_0x2b6a8b(0x140)==_0xcae0e6[_0x2b6a8b(0x11c)]){const _0x477b76=_0xcae0e6[_0x2b6a8b(0x110)][_0x2b6a8b(0x135)];!this[_0x2b6a8b(0xf7)][_0x2b6a8b(0x14b)](_0x477b76)&&(this[_0x2b6a8b(0xf7)][_0x2b6a8b(0x1ae)](_0x2b6a8b(0x190),_0x477b76)[_0x2b6a8b(0x1cc)]=!0x1);}const _0x406d6d=_0x34416f[_0x2b6a8b(0x152)](_0xcae0e6,this[_0x2b6a8b(0xf7)]);return _0x406d6d[_0x2b6a8b(0x105)]=_0xcae0e6[_0x2b6a8b(0x105)],_0x406d6d[_0x2b6a8b(0x111)]=_0x3480e3,_0x406d6d[_0x2b6a8b(0x1b4)]=_0x3480e3?null:_0xbbb842[_0x473784][_0x2b6a8b(0x199)],_0x406d6d[_0x2b6a8b(0x11b)]=_0x2b6a8b(0xe5)===_0xbbb842[_0x473784][_0x2b6a8b(0x161)],_0x406d6d[_0x2b6a8b(0x169)]=_0xbbb842[_0x473784][_0x2b6a8b(0x169)],_0x406d6d;});}[_0x85ad6e(0x16f)](){const _0x421123=_0x85ad6e;this[_0x421123(0xee)]=!0x0,this[_0x421123(0x13a)]()?this[_0x421123(0xdc)]():this[_0x421123(0xee)]=!0x1;}[_0x85ad6e(0x13a)](){const _0x112eb7=_0x85ad6e,_0x34d7bd=this[_0x112eb7(0x1d6)][_0x112eb7(0x146)][_0x112eb7(0x157)](_0x5b289c)[_0x112eb7(0x124)][_0x112eb7(0x157)](this[_0x112eb7(0x170)]);return!this[_0x112eb7(0x1d6)][_0x112eb7(0x122)]&&!!_0x34d7bd&&_0x34d7bd[_0x112eb7(0x11a)]>0x1&&this[_0x112eb7(0xee)];}[_0x85ad6e(0x10b)](){const _0x1221f2=_0x85ad6e;return this[_0x1221f2(0x102)][_0x1221f2(0x11a)]>0x0||this[_0x1221f2(0x13a)]();}}l[_0x85ad6e(0x19c)]=_0x414bdb;export default l;class z extends Error{}function V(_0x4a82e2,_0x5dfb69){const _0x584a1f=_0x85ad6e;for(const _0x5db401 of _0x4a82e2)_0x5db401[_0x584a1f(0x163)]=_0x5dfb69++;}class W{constructor(_0x278cff){const _0x2e5ed4=_0x85ad6e;this[_0x2e5ed4(0x16b)]=_0x278cff,this[_0x2e5ed4(0x192)]=new WeakMap();}[_0x85ad6e(0xd1)](_0x59c905){const _0x300e68=_0x85ad6e;let _0x4925bb=_0x59c905[_0x300e68(0x11a)];for(;_0x4925bb--;){const _0x697f67=_0x59c905[_0x4925bb];if(!this[_0x300e68(0x16b)][_0x300e68(0x1b1)](_0x697f67)){if(!this[_0x300e68(0x192)][_0x300e68(0x1b1)](_0x697f67)){const _0x173de4=_0x2e1e74()[_0x300e68(0x182)](0x1,0x12);this[_0x300e68(0x192)][_0x300e68(0x17a)](_0x697f67,_0x173de4);}return this[_0x300e68(0x192)][_0x300e68(0x157)](_0x697f67);}}}[_0x85ad6e(0xe3)](_0x42cd1d,_0x9f656f){const _0xfcf534=_0x85ad6e;if(!_0x9f656f)return;let _0x546681=_0x42cd1d[_0xfcf534(0x11a)];for(;_0x546681--;){const _0x98fab3=_0x42cd1d[_0x546681];this[_0xfcf534(0x16b)][_0xfcf534(0x1b1)](_0x98fab3)||this[_0xfcf534(0x192)][_0xfcf534(0x17a)](_0x98fab3,_0x9f656f);}}}
|
|
23
|
+
const _0x2e6873=_0x36a1;(function(_0x28e48c,_0xa5ddb8){const _0x326dcc=_0x36a1,_0x27be78=_0x28e48c();while(!![]){try{const _0x672920=-parseInt(_0x326dcc(0x192))/0x1*(-parseInt(_0x326dcc(0x16f))/0x2)+parseInt(_0x326dcc(0x1c9))/0x3*(parseInt(_0x326dcc(0x16a))/0x4)+parseInt(_0x326dcc(0x23c))/0x5+parseInt(_0x326dcc(0x1cc))/0x6+-parseInt(_0x326dcc(0x1fe))/0x7+-parseInt(_0x326dcc(0x20b))/0x8+-parseInt(_0x326dcc(0x254))/0x9*(-parseInt(_0x326dcc(0x22f))/0xa);if(_0x672920===_0xa5ddb8)break;else _0x27be78['push'](_0x27be78['shift']());}catch(_0x14930e){_0x27be78['push'](_0x27be78['shift']());}}}(_0x54cf,0x8fa07));import{Plugin as _0x786d0f,PendingActions as _0x1b489a}from'ckeditor5/src/core.js';import{CKEditorError as _0x4787a2,version as _0x56134d,uid as _0x457978}from'ckeditor5/src/utils.js';import{Notification as _0x4ecdb1}from'ckeditor5/src/ui.js';import{transformSets as _0x8f13e,NoOperation as _0xfc3929,InsertOperation as _0xc48594,MarkerOperation as _0x3dd1dd,RootAttributeOperation as _0x4d5783,OperationFactory as _0x4c0a9a,History as _0x598ee3}from'ckeditor5/src/engine.js';import _0x5be8b1 from'./websocketgateway.js';import _0x505bf5 from'./sessions.js';import _0x9f4d7c from'./usermarkers.js';import{getTranslation as _0x5d61d7}from'../common-translations.js';import{Compressor as _0x4b5484}from'@ckeditor/ckeditor5-operations-compressor';function _0x36a1(_0xb82d6b,_0xf47e7f){const _0x54cf3c=_0x54cf();return _0x36a1=function(_0x36a150,_0x2605f1){_0x36a150=_0x36a150-0x154;let _0x625dc8=_0x54cf3c[_0x36a150];return _0x625dc8;},_0x36a1(_0xb82d6b,_0xf47e7f);}import{Users as _0x489e54}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x54cf(){const _0x3dde5f=['has','newRange','getIdOfTheLastOperation','register','filter','pluginName','_disconnectService','_shouldSendSelectionUpdate','decompress','remove','_sendBufferedOperationsDelayed','disableReadOnlyMode','getOperations','_addKnownRoot','$root','mySessionId','enqueueChange','message','reset','_service','differ','clone','isPremiumPlugin','createRoot','createdAt','change:hasDomSelection','realtimecollaborationclient-init-session-connection-error','isEnabled','removeFromReconnectionStack','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationIdentifier','252975uiRRPx','_decompressOperations','version','596664pKodlX','409','view','getUser','serverHistory','rootsAttributes','realtimecollaborationclient-init-document-already-initialized','permissions','entries','plugins','getRoot','toJSON','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','attributes','_connectService','unregister','rtc-destroyed','listenTo','start','_handleReceivedOperations','createUserMarkerOperations','isOfficialPlugin','connection','collaboration.channelId','config','_ignoredOperations','addRootAttribute','lastSyncVersion','addUser','selection','then','document:write','wereChangesApplied','Permissions','_compressOperations','catch','lastOperationAcceptedAt','collaboration-missing-channelid','isDocumentOperation','_applyOperationsSet','size','_updateServerHistory','rtc-offline','editor','off','initData','_baseBufferDelay','bind','_disconnectionOperations','loadRoot','4125275NQfcGX','model','_bufferedOperations','state','multi-root-editor-root-attributes-no-root','channelSessions','getOperationAuthor','_bufferRootLoad','batch','connected','cloudDocumentVersion','lastDocumentSession','locale','3189320aVVWwx','stop','keys','collaboration','_waitUntilSynced','_initSessionsHandling','_connectAfterSessionHasBeenFlushed','document','add','createPositionAt','_document','showWarning','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_hasSelectionChanged','_getOperationsFromInitData','realtimecollaborationclient-initservice-internal-error','lastOperationId','PENDING_ACTION_SENDING_DATA','map','position','_operationToId','_isEditingAllowed','sendOperations','cs:removeUser','_pendingAction','root','end','_handleServerResponse','history','cloud-services-internal-error:\x20Not\x20connected.','disconnect','cloud-services-internal-error:\x20Request\x20timeout.','_loadRoot','_lastSyncedOperationId','_isLoaded','_currentBufferDelay','2995420eDOahG','connect','from','realtimecollaborationclient-init-non-existent-root','applyOperation','suppressErrorInCollaboration','reconnect','baseVersion','path','realtimecollaborationclient-sendbufferedoperations','Synchronization\x20issue','slice','string','96885OOyLnd','operationsReceived','offset','InsertOperation','getDocumentDetails','setPermissions','define','realtimecollaborationclient-handleserverresponse','markers','addOperation','type','startsWith','isReadOnly','_setUpDataInit','_authorId','_handleReconnectionError','change:_isEditingAllowed','CommentsOnly','_isInit','_knownOperations','fire','code','userId','_handleSendingSelectionMarkers','9KKCTFP','404','destroy','change:_isPendingUpdate','_clearPendingAction','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','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.','_isAttached','_lastServerVersion','_isPendingUpdate','init','_fetchMissingUsers','sessionId','_compressor','marker','editing','_handleExternalOperations','wasUndone','__className','apply','change:range','affectsData','targetPosition','getMany','_refreshUserSelectionMarkers','finally','24EdzdUx','_sendBufferedOperationsDelayId','includes','_shouldSendUpdate','push','1303944JOKdrZ','createRange','_crash','_offset','stopListening','data','return','RealTimeCollaborationClient','sessionAdd:','_hasSynchronizationProblem','enableReadOnlyMode','fromJSON','high','directChange','realtimecollaborationclient-initservice-incorrect-server-operation','CollaborativeEditingService','realtimecollaborationclient-init-connection-failed','currentDocumentSession','_isConnected','_handleInitialConnectionData','move','addToReconnectionStack','metadata','error','_handleReconnectionResponse','insert','addRoot','sessionCreatedAt','get','setIdForTheLastOperation','Notification','compress','roots','round','_setPendingAction','1yubOoY','real-time-collaboration','reconnection:\x20flushed\x20session','length','getConnectedSessions','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.','_isDisconnection','forEach','_knownRootNames','isUndoneOperation','createPositionFromPath','set','_saveOperationInBuffer','affectedSelectable','ready','_sendBufferedOperations','_channelId','_getAffectedRoot','parse','requires','rootName','disconnected','_initThrowingOnDataSet','cloudServices.bundleVersion'];_0x54cf=function(){return _0x3dde5f;};return _0x54cf();}import{User as _0x3b0071,CollaborativeEditingService as _0x3ea548}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x786d0f{static get[_0x2e6873(0x1a5)](){return[_0x5be8b1,_0x505bf5,_0x9f4d7c,_0x1b489a,_0x489e54,_0x4ecdb1];}static get[_0x2e6873(0x1af)](){const _0x5d0cb9=_0x2e6873;return _0x5d0cb9(0x176);}static get[_0x2e6873(0x1e1)](){return!0x0;}static get[_0x2e6873(0x1c0)](){return!0x0;}get[_0x2e6873(0x208)](){const _0x43befc=_0x2e6873;return this[_0x43befc(0x158)]+this[_0x43befc(0x172)];}get[_0x2e6873(0x158)](){const _0x57bfab=_0x2e6873;return this[_0x57bfab(0x1d0)][_0x57bfab(0x1cb)]-this[_0x57bfab(0x172)];}get[_0x2e6873(0x1e7)](){const _0x35b208=_0x2e6873,_0x18b421=this[_0x35b208(0x1d0)][_0x35b208(0x1b6)]();for(let _0x48b94d=_0x18b421[_0x35b208(0x195)]-0x1;_0x48b94d>=0x0;_0x48b94d--){const _0x59d30b=_0x18b421[_0x48b94d];if(!this[_0x35b208(0x1fc)][_0x35b208(0x1aa)](_0x59d30b))return _0x59d30b[_0x35b208(0x236)]+0x1-this[_0x35b208(0x172)];}return 0x0;}constructor(_0x5bd10c){const _0x460558=_0x2e6873;if(super(_0x5bd10c),this[_0x460558(0x172)]=0x0,this[_0x460558(0x15c)]=null,this[_0x460558(0x1d0)]=new _0x598ee3(),this[_0x460558(0x1f7)][_0x460558(0x1e4)][_0x460558(0x242)](_0x460558(0x20e),{}),this[_0x460558(0x1a2)]=this[_0x460558(0x1f7)][_0x460558(0x1e4)][_0x460558(0x18b)](_0x460558(0x1e3)),!this[_0x460558(0x1a2)])throw new _0x4787a2(_0x460558(0x1f1),this);const _0x3299cb=_0x5bd10c[_0x460558(0x1e4)][_0x460558(0x18b)](_0x460558(0x1a9))||_0x56134d;this[_0x460558(0x1bd)]=new l[(_0x460558(0x17e))](_0x3299cb,this[_0x460558(0x1a2)]),this[_0x460558(0x215)]=this[_0x460558(0x1f7)][_0x460558(0x1ff)][_0x460558(0x212)],this[_0x460558(0x15d)]=new _0x4b5484(),this[_0x460558(0x200)]=[],this[_0x460558(0x24f)]=new WeakSet(),this[_0x460558(0x19a)]=new Set(),this[_0x460558(0x19d)](_0x460558(0x159),!0x1),this[_0x460558(0x19d)](_0x460558(0x178),!0x1),this[_0x460558(0x223)]=null,this[_0x460558(0x218)]=!0x1,this[_0x460558(0x16b)]=null,this[_0x460558(0x1fa)]=0x12c,this[_0x460558(0x22e)]=this[_0x460558(0x1fa)],this[_0x460558(0x22c)]=null,this[_0x460558(0x1fc)]=new WeakSet(),this[_0x460558(0x1c8)]=new it(this[_0x460558(0x1fc)]);}[_0x2e6873(0x15a)](){const _0xbc337=_0x2e6873,_0x29e775=this[_0xbc337(0x1f7)],_0x10d878=_0x29e775[_0xbc337(0x1d5)][_0xbc337(0x18b)](_0x489e54),_0x3fd7bd=_0x29e775[_0xbc337(0x1d5)][_0xbc337(0x18b)](_0x5be8b1);this[_0xbc337(0x1dd)](_0x10d878,_0xbc337(0x204),(_0x1f6c0b,_0x38b998)=>{const _0x5a66b0=_0xbc337,_0x324277=_0x38b998[0x0];_0x324277[_0x5a66b0(0x24a)]&&(_0x1f6c0b[_0x5a66b0(0x175)]=_0x10d878[_0x5a66b0(0x1cf)](_0x324277[_0x5a66b0(0x24a)]),_0x1f6c0b[_0x5a66b0(0x20c)]()),null===_0x324277[_0x5a66b0(0x24a)]&&(_0x1f6c0b[_0x5a66b0(0x175)]=null,_0x1f6c0b[_0x5a66b0(0x20c)]());},{'priority':_0xbc337(0x17b)}),this[_0xbc337(0x1dd)](_0x29e775[_0xbc337(0x1ff)][_0xbc337(0x212)][_0xbc337(0x1e9)],_0xbc337(0x164),(_0x4c3da0,_0x1e0454)=>{const _0x236189=_0xbc337;_0x1e0454[_0x236189(0x17c)]&&this[_0x236189(0x168)]();}),this[_0xbc337(0x1dd)](_0x29e775[_0xbc337(0x15f)][_0xbc337(0x1ce)],_0xbc337(0x1c3),()=>{const _0x3fd230=_0xbc337;this[_0x3fd230(0x168)]();}),this[_0xbc337(0x1a8)](),_0x29e775[_0xbc337(0x1ff)]['on'](_0xbc337(0x233),(_0x1c3af7,_0x226491)=>{const _0x4cfc8f=_0xbc337,_0x2ef7f=_0x226491[0x0];_0x2ef7f[_0x4cfc8f(0x1f2)]&&(this[_0x4cfc8f(0x19e)](_0x2ef7f),this[_0x4cfc8f(0x16d)]()&&this[_0x4cfc8f(0x1b4)]());}),this[_0xbc337(0x249)](),this[_0xbc337(0x1fb)](_0xbc337(0x220))['to'](_0x3fd7bd,_0xbc337(0x201),this,_0xbc337(0x178),(_0x4cecba,_0x39d432)=>_0xbc337(0x207)===_0x4cecba&&!_0x39d432),this['on'](_0xbc337(0x24c),()=>{const _0x1dbc15=_0xbc337;this[_0x1dbc15(0x220)]?_0x29e775[_0x1dbc15(0x1b5)](_0x1dbc15(0x1f6)):_0x29e775[_0x1dbc15(0x179)](_0x1dbc15(0x1f6));}),this[_0xbc337(0x220)]?_0x29e775[_0xbc337(0x1b5)](_0xbc337(0x1f6)):_0x29e775[_0xbc337(0x179)](_0xbc337(0x1f6)),this[_0xbc337(0x19d)](_0xbc337(0x181),!0x1);}async[_0x2e6873(0x235)](){const _0x3f2718=_0x2e6873,_0x3a40ba=this[_0x3f2718(0x1f7)][_0x3f2718(0x1d5)][_0x3f2718(0x18b)](_0x505bf5),_0x38acd=this[_0x3f2718(0x1f7)][_0x3f2718(0x1d5)][_0x3f2718(0x18b)](_0x5be8b1);try{this[_0x3f2718(0x159)]=!0x0,_0x3a40ba[_0x3f2718(0x1db)](this[_0x3f2718(0x1a2)]);const _0x19577d=await this[_0x3f2718(0x1bd)][_0x3f2718(0x235)](_0x38acd[_0x3f2718(0x1e2)],this[_0x3f2718(0x1e7)]);await this[_0x3f2718(0x187)](_0x19577d)&&(this[_0x3f2718(0x159)]=!0x1,this[_0x3f2718(0x154)]());const _0xd41c01=await this[_0x3f2718(0x1bd)][_0x3f2718(0x196)]();_0x3a40ba[_0x3f2718(0x1ad)](this[_0x3f2718(0x1a2)],_0xd41c01),this[_0x3f2718(0x253)](),this[_0x3f2718(0x181)]=!0x0;}catch(_0x35a42c){if(function(_0x144877){const _0x449a95=_0x3f2718;return _0x449a95(0x255)===_0x144877[_0x449a95(0x251)];}(_0x35a42c)&&this[_0x3f2718(0x15c)])await this[_0x3f2718(0x211)]();else{if(function(_0x487d58){const _0x2a2c57=_0x3f2718;return _0x2a2c57(0x1cd)===_0x487d58[_0x2a2c57(0x251)];}(_0x35a42c)){const _0x6dc97f=_0x5d61d7(this[_0x3f2718(0x1f7)][_0x3f2718(0x20a)],_0x3f2718(0x1c7));this[_0x3f2718(0x24b)](_0x6dc97f);}else{if(!(_0x35a42c instanceof Z))throw _0x35a42c;this[_0x3f2718(0x24b)]();}}}}[_0x2e6873(0x256)](){const _0xb3451d=_0x2e6873,_0x41b2e9=this[_0xb3451d(0x1f7)][_0xb3451d(0x1d5)][_0xb3451d(0x18b)](_0x5be8b1),_0x5e0baf=this[_0xb3451d(0x1f7)][_0xb3451d(0x1d5)][_0xb3451d(0x18b)](_0x505bf5);this[_0xb3451d(0x1f7)][_0xb3451d(0x179)](_0xb3451d(0x1dc)),_0x5e0baf[_0xb3451d(0x203)][_0xb3451d(0x1aa)](this[_0xb3451d(0x1a2)])&&_0x5e0baf[_0xb3451d(0x1db)](this[_0xb3451d(0x1a2)]),_0x41b2e9[_0xb3451d(0x1c6)](this),this[_0xb3451d(0x1b0)](),super[_0xb3451d(0x256)]();}async[_0x2e6873(0x187)](_0x193078){const _0xd36546=_0x2e6873;if(this[_0xd36546(0x15c)]!==_0x193078[_0xd36546(0x15c)]&&this[_0xd36546(0x22c)]!==_0x193078[_0xd36546(0x21b)])throw new Z();return this[_0xd36546(0x15c)]=_0x193078[_0xd36546(0x15c)],this[_0xd36546(0x226)]([],{..._0x193078,'wereChangesApplied':!0x1,'data':_0x193078[_0xd36546(0x174)]},_0xd36546(0x235));}async[_0x2e6873(0x1da)](_0x33d8b5,_0x1a895e=!0x1){const _0xc5ef0=_0x2e6873,{connection:_0x5b8571}=this[_0xc5ef0(0x1f7)][_0xc5ef0(0x1d5)][_0xc5ef0(0x18b)](_0x5be8b1);l[_0xc5ef0(0x17e)][_0xc5ef0(0x196)](_0x5b8571,this[_0xc5ef0(0x1a2)])[_0xc5ef0(0x1ea)](_0x1e69a9=>this[_0xc5ef0(0x210)](_0x1e69a9))[_0xc5ef0(0x1ef)](_0x2ed382=>{const _0x3df0ab=_0xc5ef0;this[_0x3df0ab(0x171)](_0x3df0ab(0x1c4),_0x2ed382);}),this[_0xc5ef0(0x1dd)](this[_0xc5ef0(0x1bd)],_0xc5ef0(0x23d),this[_0xc5ef0(0x1df)][_0xc5ef0(0x1fb)](this)),this[_0xc5ef0(0x1dd)](this[_0xc5ef0(0x1bd)],_0xc5ef0(0x186),(_0x4077d0,_0x10d189)=>{const _0x1f47e9=_0xc5ef0;this[_0x1f47e9(0x171)](_0x1f47e9(0x21a),_0x10d189);}),this[_0xc5ef0(0x1dd)](this[_0xc5ef0(0x1bd)],_0xc5ef0(0x1a7),()=>{const _0x41c059=_0xc5ef0;this[_0x41c059(0x181)]=!0x1;});const _0x2ecdd7=this[_0xc5ef0(0x1c8)][_0xc5ef0(0x1ac)](_0x33d8b5);this[_0xc5ef0(0x159)]=!0x0;const _0x4620a7=await this[_0xc5ef0(0x1bd)][_0xc5ef0(0x230)](_0x5b8571,this[_0xc5ef0(0x1ee)](_0x33d8b5),_0x2ecdd7);if(this[_0xc5ef0(0x15c)]=_0x4620a7[_0xc5ef0(0x15c)],_0x1a895e){if(!_0x4620a7[_0xc5ef0(0x1ec)])return void this[_0xc5ef0(0x24b)]();this[_0xc5ef0(0x159)]=!0x1,this[_0xc5ef0(0x154)](),this[_0xc5ef0(0x1d0)][_0xc5ef0(0x1bc)](),this[_0xc5ef0(0x172)]=_0x4620a7[_0xc5ef0(0x23e)],this[_0xc5ef0(0x1d0)][_0xc5ef0(0x1cb)]=this[_0xc5ef0(0x172)],await this[_0xc5ef0(0x226)](_0x33d8b5,_0x4620a7,_0xc5ef0(0x194));}else await this[_0xc5ef0(0x182)](_0x4620a7,_0x33d8b5);this[_0xc5ef0(0x253)](),this[_0xc5ef0(0x181)]=!0x0;}[_0x2e6873(0x253)](){const _0x14e819=_0x2e6873,_0x399fc3=this[_0x14e819(0x1f7)][_0x14e819(0x1d5)][_0x14e819(0x18b)](_0x505bf5),_0x483cd6=this[_0x14e819(0x1f7)][_0x14e819(0x1d5)][_0x14e819(0x18b)](_0x9f4d7c),_0x522ed3=_0x399fc3[_0x14e819(0x203)][_0x14e819(0x18b)](this[_0x14e819(0x1a2)]);_0x522ed3&&_0x522ed3[_0x14e819(0x195)]>0x1?_0x483cd6[_0x14e819(0x1e0)]():this[_0x14e819(0x1dd)](_0x399fc3,_0x14e819(0x177)+this[_0x14e819(0x1a2)],()=>{const _0x7c67ac=_0x14e819;0x2===_0x399fc3[_0x7c67ac(0x203)][_0x7c67ac(0x18b)](this[_0x7c67ac(0x1a2)])[_0x7c67ac(0x195)]&&_0x483cd6[_0x7c67ac(0x1e0)]();});}async[_0x2e6873(0x1df)](_0x450650,_0x424f03,_0x7272bc,_0x75bd57){const _0x1376db=_0x2e6873;if(!this[_0x1376db(0x159)]&&this[_0x1376db(0x215)][_0x1376db(0x1cb)]==_0x424f03){const _0x259ec3=this[_0x1376db(0x1ca)](_0x7272bc,_0x75bd57);await this[_0x1376db(0x15b)](_0x259ec3),this[_0x1376db(0x160)](_0x259ec3,_0x424f03,_0x7272bc[_0x1376db(0x21b)])||this[_0x1376db(0x171)](_0x1376db(0x17d));}}async[_0x2e6873(0x211)](){const _0x1470de=_0x2e6873;this[_0x1470de(0x1b0)]();const {locale:_0x20f19b}=this[_0x1470de(0x1f7)];let _0x2100de;try{_0x2100de=await this[_0x1470de(0x1bd)][_0x1470de(0x240)]();}catch(_0x15b89d){const _0x4ab690=_0x5d61d7(_0x20f19b,_0x1470de(0x217));return void this[_0x1470de(0x24b)](_0x4ab690);}const _0x2a514e=_0x2100de[_0x1470de(0x180)]||_0x2100de[_0x1470de(0x209)];if(this[_0x1470de(0x22c)]===_0x2a514e[_0x1470de(0x21b)])await this[_0x1470de(0x1da)](this[_0x1470de(0x1f7)][_0x1470de(0x1ff)][_0x1470de(0x212)][_0x1470de(0x227)][_0x1470de(0x1b6)](),!0x0);else{const _0x3c4717=_0x5d61d7(_0x20f19b,_0x1470de(0x156));this[_0x1470de(0x24b)](_0x3c4717);}}[_0x2e6873(0x1b0)](){const _0x769533=_0x2e6873;this[_0x769533(0x1bd)][_0x769533(0x229)](),this[_0x769533(0x200)]=[],clearTimeout(this[_0x769533(0x16b)]),this[_0x769533(0x173)](this[_0x769533(0x1bd)]);}[_0x2e6873(0x210)](_0x1456a0){const _0x359d50=_0x2e6873,_0x2cd505=this[_0x359d50(0x1f7)][_0x359d50(0x1d5)][_0x359d50(0x18b)](_0x505bf5);this[_0x359d50(0x1dd)](_0x2cd505,_0x359d50(0x177)+this[_0x359d50(0x1a2)],(_0x245a19,{session:_0x21bb77})=>{const _0x24c6e9=_0x359d50;if(_0x21bb77['id']===_0x2cd505[_0x24c6e9(0x1b9)]){_0x245a19[_0x24c6e9(0x1f8)]();const _0x834e51=this[_0x24c6e9(0x1f7)][_0x24c6e9(0x1d5)][_0x24c6e9(0x1aa)](_0x24c6e9(0x24d))&&this[_0x24c6e9(0x1f7)][_0x24c6e9(0x1d5)][_0x24c6e9(0x18b)](_0x24c6e9(0x24d));let _0x2c96a1=_0x21bb77[_0x24c6e9(0x1d3)];_0x834e51&&_0x834e51[_0x24c6e9(0x1c5)]&&(_0x2c96a1=_0x2c96a1[_0x24c6e9(0x1ae)](_0xf4ab43=>_0x24c6e9(0x1eb)!==_0xf4ab43)),this[_0x24c6e9(0x1f7)][_0x24c6e9(0x1d5)][_0x24c6e9(0x18b)](_0x24c6e9(0x1ed))[_0x24c6e9(0x241)](_0x2c96a1,this[_0x24c6e9(0x1a2)]);}}),_0x2cd505[_0x359d50(0x1ad)](this[_0x359d50(0x1a2)],_0x1456a0);}[_0x2e6873(0x1a8)](){const _0x375cb4=_0x2e6873,_0x3624ca=this[_0x375cb4(0x1f7)][_0x375cb4(0x174)][_0x375cb4(0x19d)];this[_0x375cb4(0x1f7)][_0x375cb4(0x174)][_0x375cb4(0x19d)]=(..._0x4163f9)=>{const _0x11c361=_0x375cb4;if(!_0x4163f9[_0x4163f9[_0x11c361(0x195)]-0x1][_0x11c361(0x234)])throw new _0x4787a2(_0x11c361(0x155),this);_0x3624ca[_0x11c361(0x163)](this[_0x11c361(0x1f7)][_0x11c361(0x174)],_0x4163f9);};}[_0x2e6873(0x249)](){const _0x307aae=_0x2e6873;this[_0x307aae(0x1f7)][_0x307aae(0x174)]['on'](_0x307aae(0x15a),(_0x39cc7d,[_0x471745])=>{const _0xa974b7=_0x307aae;if(this[_0xa974b7(0x215)][_0xa974b7(0x1cb)])throw new _0x4787a2(_0xa974b7(0x1d2),this);_0x39cc7d[_0xa974b7(0x20c)](),this[_0xa974b7(0x191)]();const _0x50d744=this[_0xa974b7(0x1f7)][_0xa974b7(0x1e4)][_0xa974b7(0x18b)](_0xa974b7(0x1d1)),_0x4a75a1=this[_0xa974b7(0x219)](_0x471745,_0x50d744);0x0==_0x4a75a1[_0xa974b7(0x195)]&&_0x4a75a1[_0xa974b7(0x16e)](new _0xfc3929(0x0)),_0x39cc7d[_0xa974b7(0x175)]=this[_0xa974b7(0x1da)](_0x4a75a1)[_0xa974b7(0x1ea)](()=>{const _0x289eca=_0xa974b7;this[_0x289eca(0x1f7)][_0x289eca(0x1d5)][_0x289eca(0x18b)](_0x5be8b1)[_0x289eca(0x184)](this),this[_0x289eca(0x1f7)][_0x289eca(0x174)][_0x289eca(0x250)](_0x289eca(0x1a0));})[_0xa974b7(0x1ef)](_0x23c80f=>this[_0xa974b7(0x171)](_0xa974b7(0x17f),_0x23c80f))[_0xa974b7(0x169)](()=>this[_0xa974b7(0x154)]());},{'priority':_0x307aae(0x17b)}),this[_0x307aae(0x1f7)]['on'](_0x307aae(0x1fd),async(_0x37a9c4,[_0x38441e,_0x5c8f85])=>{const _0x54d75f=_0x307aae;_0x37a9c4[_0x54d75f(0x20c)]();const _0xb45121=this[_0x54d75f(0x1f7)][_0x54d75f(0x1ff)][_0x54d75f(0x212)][_0x54d75f(0x1d6)](_0x38441e);if(!this[_0x54d75f(0x19a)][_0x54d75f(0x1aa)](_0x38441e)){const _0x5538b5=_0x5c8f85&&_0x5c8f85[_0x54d75f(0x174)]?_0x5c8f85[_0x54d75f(0x174)]:'',_0x484254=_0x5c8f85&&_0x5c8f85[_0x54d75f(0x1d9)]?_0x5c8f85[_0x54d75f(0x1d9)]:{};await this[_0x54d75f(0x22b)](_0x38441e,_0x5538b5,_0x484254);}this[_0x54d75f(0x1f7)][_0x54d75f(0x1ff)][_0x54d75f(0x1ba)]({'isUndoable':!0x1},()=>{const _0x20a6b0=_0x54d75f;_0xb45121[_0x20a6b0(0x22d)]=!0x0,this[_0x20a6b0(0x1f7)][_0x20a6b0(0x1ff)][_0x20a6b0(0x212)][_0x20a6b0(0x1be)][_0x20a6b0(0x205)](_0xb45121);});},{'priority':_0x307aae(0x17b)});}async[_0x2e6873(0x15b)](_0x50ea32){const _0x231c2e=_0x2e6873,_0x2439b3=this[_0x231c2e(0x1f7)][_0x231c2e(0x1d5)][_0x231c2e(0x18b)](_0x489e54),{connection:_0x1173fc}=this[_0x231c2e(0x1f7)][_0x231c2e(0x1d5)][_0x231c2e(0x18b)](_0x5be8b1),_0x3a0fda=new Set();for(const _0x376a4b of _0x50ea32){const _0x28e2d1=_0x376a4b[_0x231c2e(0x24a)];_0x28e2d1&&!_0x2439b3[_0x231c2e(0x1cf)](_0x28e2d1)&&_0x3a0fda[_0x231c2e(0x213)](_0x28e2d1);}if(0x0===_0x3a0fda[_0x231c2e(0x1f4)])return;const _0x4b3665=await _0x3b0071[_0x231c2e(0x167)](_0x1173fc,Array[_0x231c2e(0x231)](_0x3a0fda));for(const _0x3649d2 of _0x4b3665)_0x2439b3[_0x231c2e(0x1cf)](_0x3649d2['id'])||_0x2439b3[_0x231c2e(0x1e8)](_0x3649d2);}[_0x2e6873(0x219)](_0x3fc947,_0x2d290b={}){const _0x32ce51=_0x2e6873,_0x50b8b0=this[_0x32ce51(0x1f7)][_0x32ce51(0x1ff)],_0x14bf26=[];let _0x212ad3=0x0;const _0x51de53=_0x32ce51(0x23b)==typeof _0x3fc947?{'main':_0x3fc947}:_0x3fc947;for(const _0xcd5128 of Object[_0x32ce51(0x20d)](_0x51de53)){if(!this[_0x32ce51(0x215)][_0x32ce51(0x18f)][_0x32ce51(0x1aa)](_0xcd5128))throw new _0x4787a2(_0x32ce51(0x232),this);const _0x342eb4=this[_0x32ce51(0x1f7)][_0x32ce51(0x174)][_0x32ce51(0x1a4)](_0x51de53[_0xcd5128]),_0x613490=this[_0x32ce51(0x215)][_0x32ce51(0x1d6)](_0xcd5128),_0x2d15b8=new _0xc48594(_0x50b8b0[_0x32ce51(0x214)](_0x613490,0x0),_0x342eb4,_0x212ad3++);_0x14bf26[_0x32ce51(0x16e)](_0x2d15b8);for(const [_0x3d4f04,_0x17bc3a]of _0x342eb4[_0x32ce51(0x244)]){const _0x5e1910=_0x50b8b0[_0x32ce51(0x170)](_0x50b8b0[_0x32ce51(0x19c)](_0x613490,_0x17bc3a[_0x32ce51(0x1de)][_0x32ce51(0x237)][_0x32ce51(0x23a)]()),_0x50b8b0[_0x32ce51(0x19c)](_0x613490,_0x17bc3a[_0x32ce51(0x225)][_0x32ce51(0x237)][_0x32ce51(0x23a)]())),_0x3f0afc=new _0x3dd1dd(_0x3d4f04,null,_0x5e1910,_0x50b8b0[_0x32ce51(0x244)],!0x0,_0x212ad3++);_0x14bf26[_0x32ce51(0x16e)](_0x3f0afc);}}if(_0x2d290b)for(const [_0x2468eb,_0x2edd14]of Object[_0x32ce51(0x1d4)](_0x2d290b)){const _0x123956=_0x50b8b0[_0x32ce51(0x212)][_0x32ce51(0x1d6)](_0x2468eb);if(!_0x123956)throw new _0x4787a2(_0x32ce51(0x202),null);for(const [_0x2878e4,_0x186014]of Object[_0x32ce51(0x1d4)](_0x2edd14))if(null!==_0x186014){const _0x2241f4=new _0x4d5783(_0x123956,_0x2878e4,null,_0x186014,_0x212ad3++);_0x14bf26[_0x32ce51(0x16e)](_0x2241f4);}}return _0x14bf26;}async[_0x2e6873(0x22b)](_0xbb8297,_0x2bb4bd,_0xa2a572){const _0x491489=_0x2e6873;this[_0x491489(0x219)]({[_0xbb8297]:_0x2bb4bd},{[_0xbb8297]:_0xa2a572})[_0x491489(0x199)]((_0x5d0294,_0xd8996c)=>{const _0x396ddf=_0x491489;_0x5d0294[_0x396ddf(0x236)]=this[_0x396ddf(0x215)][_0x396ddf(0x1cb)]+_0xd8996c,_0x5d0294[_0x396ddf(0x24e)]=!0x0,this[_0x396ddf(0x19e)](_0x5d0294);}),this[_0x491489(0x1b4)](),await this[_0x491489(0x20f)]();}async[_0x2e6873(0x182)](_0xd0a411,_0x3ae6ee){const _0x245c0e=_0x2e6873;let _0x1b5151;this[_0x245c0e(0x172)]=_0xd0a411[_0x245c0e(0x23e)];const _0x5b2fcb=_0xd0a411[_0x245c0e(0x1ec)]&&!_0xd0a411[_0x245c0e(0x1f9)],_0x10cb41=_0x5b2fcb?0x0:_0xd0a411[_0x245c0e(0x174)][_0x245c0e(0x236)];if(_0x3ae6ee[_0x245c0e(0x199)](_0x422d8d=>{const _0x2762e0=_0x245c0e;_0x422d8d[_0x2762e0(0x24e)]=!0x0,_0x422d8d[_0x2762e0(0x1c2)]=_0xd0a411[_0x2762e0(0x18a)],_0x422d8d[_0x2762e0(0x24a)]=null;}),_0x5b2fcb)_0x1b5151=_0x3ae6ee,this[_0x245c0e(0x1f3)](_0x1b5151,_0x5b2fcb);else{if(_0xd0a411[_0x245c0e(0x1f9)]){const _0x32addf=this[_0x245c0e(0x219)](_0xd0a411[_0x245c0e(0x1f9)]);this[_0x245c0e(0x215)][_0x245c0e(0x227)][_0x245c0e(0x1cb)]=-_0x32addf[_0x245c0e(0x195)],_0x32addf[_0x245c0e(0x199)](_0x2b2b35=>{const _0x250239=_0x245c0e;_0x2b2b35[_0x250239(0x236)]-=_0x32addf[_0x250239(0x195)],_0x2b2b35[_0x250239(0x1c2)]=_0xd0a411[_0x250239(0x18a)],_0x2b2b35[_0x250239(0x24e)]=!0x0,_0x2b2b35[_0x250239(0x24a)]=null;}),this[_0x245c0e(0x1f3)](_0x32addf,!0x0),this[_0x245c0e(0x1d0)][_0x245c0e(0x1cb)]=-_0x32addf[_0x245c0e(0x195)]+this[_0x245c0e(0x172)],this[_0x245c0e(0x1f5)](_0x32addf);}this[_0x245c0e(0x215)][_0x245c0e(0x227)][_0x245c0e(0x1cb)]=_0x10cb41,_0x1b5151=this[_0x245c0e(0x1ca)](_0xd0a411[_0x245c0e(0x174)],_0xd0a411[_0x245c0e(0x185)]),await this[_0x245c0e(0x15b)](_0x1b5151),this[_0x245c0e(0x1f3)](_0x1b5151,_0x5b2fcb);}_0xd0a411[_0x245c0e(0x21b)]&&(this[_0x245c0e(0x1c8)][_0x245c0e(0x18c)](_0x1b5151,_0xd0a411[_0x245c0e(0x21b)]),this[_0x245c0e(0x22c)]=_0xd0a411[_0x245c0e(0x21b)]),this[_0x245c0e(0x1d0)][_0x245c0e(0x1cb)]=_0x10cb41+this[_0x245c0e(0x172)],this[_0x245c0e(0x1f5)](_0x1b5151),_0x3ae6ee[_0x245c0e(0x1ae)](_0x14584a=>{const _0x337ece=_0x245c0e,_0x1d1cc8=this[_0x337ece(0x1a3)](_0x14584a);return _0x1d1cc8&&!this[_0x337ece(0x19a)][_0x337ece(0x1aa)](_0x1d1cc8);})[_0x245c0e(0x199)]((_0x457c6a,_0x53f1c1)=>{const _0x186704=_0x245c0e;_0x457c6a[_0x186704(0x236)]=this[_0x186704(0x215)][_0x186704(0x1cb)]+_0x53f1c1,this[_0x186704(0x19e)](_0x457c6a);}),this[_0x245c0e(0x16d)]()?(this[_0x245c0e(0x22e)]=0x0,this[_0x245c0e(0x1b4)](!0x0),await this[_0x245c0e(0x20f)]()):(this[_0x245c0e(0x159)]=!0x1,this[_0x245c0e(0x154)]());}[_0x2e6873(0x171)](_0x32e1e1,_0x447551){const _0x2c4eb2=_0x2e6873;throw this[_0x2c4eb2(0x159)]=!0x0,_0x447551&&console[_0x2c4eb2(0x186)](_0x447551),new _0x4787a2(_0x32e1e1,this[_0x2c4eb2(0x1f7)]);}[_0x2e6873(0x19e)](_0x372a77){const _0x1a2527=_0x2e6873;this[_0x1a2527(0x24f)][_0x1a2527(0x1aa)](_0x372a77)||(this[_0x1a2527(0x24f)][_0x1a2527(0x213)](_0x372a77),this[_0x1a2527(0x200)][_0x1a2527(0x16e)](_0x372a77),this[_0x1a2527(0x223)]||_0x1a2527(0x15e)==_0x372a77[_0x1a2527(0x246)]&&!_0x372a77[_0x1a2527(0x165)]||this[_0x1a2527(0x191)]());}[_0x2e6873(0x1b4)](_0x45fa7b=!0x1){const _0x4008eb=_0x2e6873;!_0x45fa7b&&this[_0x4008eb(0x159)]||(this[_0x4008eb(0x159)]=!0x0,clearTimeout(this[_0x4008eb(0x16b)]),this[_0x4008eb(0x16b)]=setTimeout(()=>{const _0x54a501=_0x4008eb;this[_0x54a501(0x1a1)]()[_0x54a501(0x1ea)](_0x5249a2=>{const _0x5d7baf=_0x54a501;_0x5249a2&&(this[_0x5d7baf(0x154)](),this[_0x5d7baf(0x159)]=!0x1);})[_0x54a501(0x1ef)](_0x281a8b=>{const _0x36f84b=_0x54a501;if(this[_0x36f84b(0x154)](),this[_0x36f84b(0x159)]=!0x1,!function(_0x49108d){const _0x3bedf1=_0x36f84b;return _0x49108d[_0x3bedf1(0x1bb)][_0x3bedf1(0x247)](_0x3bedf1(0x228))||_0x49108d[_0x3bedf1(0x1bb)][_0x3bedf1(0x247)](_0x3bedf1(0x1d8))||_0x49108d[_0x3bedf1(0x1bb)][_0x3bedf1(0x247)](_0x3bedf1(0x22a));}(_0x281a8b))throw _0x281a8b;});},this[_0x4008eb(0x22e)]));}[_0x2e6873(0x20f)](){return new Promise(_0x17aebb=>{const _0x4aedb3=_0x36a1;this['on'](_0x4aedb3(0x257),()=>{_0x17aebb();});});}async[_0x2e6873(0x1a1)](){const _0x5b414c=_0x2e6873,_0x82a7c0=this[_0x5b414c(0x1f7)][_0x5b414c(0x1d5)][_0x5b414c(0x18b)](_0x9f4d7c);if(this[_0x5b414c(0x1b1)]()&&(_0x82a7c0[_0x5b414c(0x1e0)](),this[_0x5b414c(0x218)]=!0x1),!this[_0x5b414c(0x16d)]())return!0x0;const _0x297aac=[...this[_0x5b414c(0x200)]];for(const _0x6605d0 of _0x297aac)_0x6605d0[_0x5b414c(0x161)]=this[_0x5b414c(0x215)][_0x5b414c(0x227)][_0x5b414c(0x19b)](_0x6605d0);const _0x352bc6=this[_0x5b414c(0x1c8)][_0x5b414c(0x1ac)](_0x297aac),_0x10ef81=Y++,_0x44f609=this[_0x5b414c(0x1ee)](_0x297aac),_0x36442b=await this[_0x5b414c(0x1bd)][_0x5b414c(0x221)](_0x44f609,_0x44f609[_0x5b414c(0x236)],_0x352bc6);try{return await this[_0x5b414c(0x226)](_0x297aac,_0x36442b,_0x10ef81);}catch(_0x100b16){return this[_0x5b414c(0x171)](_0x5b414c(0x238),_0x100b16);}}async[_0x2e6873(0x226)](_0x22e59b,_0x5689d8,_0x2d7270){const _0x6b9fa3=_0x2e6873;if(_0x6b9fa3(0x186)in _0x5689d8)throw _0x5689d8[_0x6b9fa3(0x186)];let _0x2d28e2=!0x1;if(_0x5689d8[_0x6b9fa3(0x1ec)]){_0x5689d8[_0x6b9fa3(0x21b)]&&(this[_0x6b9fa3(0x22c)]=_0x5689d8[_0x6b9fa3(0x21b)]),this[_0x6b9fa3(0x200)]=this[_0x6b9fa3(0x200)][_0x6b9fa3(0x1ae)](_0x2f9834=>!_0x22e59b[_0x6b9fa3(0x16c)](_0x2f9834));for(const _0x55224f of _0x22e59b)_0x55224f[_0x6b9fa3(0x1c2)]=_0x6b9fa3(0x1f0)in _0x5689d8&&_0x5689d8[_0x6b9fa3(0x1f0)]||void 0x0;tt(_0x22e59b,_0x5689d8[_0x6b9fa3(0x1cb)]-_0x22e59b[_0x6b9fa3(0x195)]),this[_0x6b9fa3(0x1f5)](_0x22e59b);const _0x48207f=_0x22e59b[_0x6b9fa3(0x1ae)](_0x248465=>{const _0x592537=_0x6b9fa3;if(!_0x248465[_0x592537(0x24e)])return!0x1;const _0x229637=this[_0x592537(0x1a3)](_0x248465);return _0x229637&&!this[_0x592537(0x19a)][_0x592537(0x1aa)](_0x229637);});tt(_0x48207f,this[_0x6b9fa3(0x215)][_0x6b9fa3(0x1cb)]),this[_0x6b9fa3(0x1f3)](_0x48207f),_0x2d28e2=!0x0,this[_0x6b9fa3(0x22e)]=this[_0x6b9fa3(0x1fa)];}else{const _0xcaa42d=this[_0x6b9fa3(0x1ca)](_0x5689d8[_0x6b9fa3(0x174)],_0x5689d8[_0x6b9fa3(0x185)])[_0x6b9fa3(0x1ae)](_0x49c311=>_0x49c311[_0x6b9fa3(0x236)]>=this[_0x6b9fa3(0x158)]);_0xcaa42d[_0x6b9fa3(0x199)](_0x4faa92=>this[_0x6b9fa3(0x1b7)](_0x4faa92)),this[_0x6b9fa3(0x200)]=this[_0x6b9fa3(0x200)][_0x6b9fa3(0x1ae)](_0xc1f08f=>!_0xc1f08f[_0x6b9fa3(0x24e)]||!this[_0x6b9fa3(0x19a)][_0x6b9fa3(0x1aa)](this[_0x6b9fa3(0x1a3)](_0xc1f08f))),this[_0x6b9fa3(0x200)][_0x6b9fa3(0x195)]&&tt(this[_0x6b9fa3(0x200)],this[_0x6b9fa3(0x200)][0x0][_0x6b9fa3(0x236)]),await this[_0x6b9fa3(0x15b)](_0xcaa42d),_0x2d28e2=this[_0x6b9fa3(0x160)](_0xcaa42d,_0x5689d8[_0x6b9fa3(0x1cb)],_0x5689d8[_0x6b9fa3(0x21b)]),this[_0x6b9fa3(0x22e)]=Math[_0x6b9fa3(0x190)](this[_0x6b9fa3(0x22e)]/0x2);}return _0x2d28e2?!this[_0x6b9fa3(0x16d)]()||(this[_0x6b9fa3(0x1b4)](!0x0),!0x1):this[_0x6b9fa3(0x171)](_0x6b9fa3(0x243));}[_0x2e6873(0x160)](_0xa9c52f,_0x283c59,_0x17fcee){const _0xb0632d=_0x2e6873;try{const _0xe259b4={'document':this[_0xb0632d(0x215)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xed8263,operationsB:_0x4c2846,originalOperations:_0x5edfb6}=_0x8f13e(_0xa9c52f,this[_0xb0632d(0x200)],_0xe259b4);tt(_0xed8263,this[_0xb0632d(0x215)][_0xb0632d(0x1cb)]),tt(_0x4c2846,_0x283c59);for(const _0x13ed19 of _0xed8263){const _0xe509f6=_0x5edfb6[_0xb0632d(0x18b)](_0x13ed19);_0x13ed19[_0xb0632d(0x24a)]=_0xe509f6?_0xe509f6[_0xb0632d(0x24a)]:null;}_0x17fcee&&(this[_0xb0632d(0x1c8)][_0xb0632d(0x18c)](_0xa9c52f,_0x17fcee),this[_0xb0632d(0x22c)]=_0x17fcee),this[_0xb0632d(0x200)]=[..._0x4c2846],this[_0xb0632d(0x1f3)](_0xed8263),this[_0xb0632d(0x1f5)](_0xa9c52f);}catch(_0x3ccaf2){return console[_0xb0632d(0x186)](_0x3ccaf2),!0x1;}return!0x0;}[_0x2e6873(0x1f3)](_0x48083b,_0x1e08dc=!0x1){const _0x48209b=_0x2e6873;this[_0x48209b(0x1f7)][_0x48209b(0x1ff)][_0x48209b(0x1ba)]({'isUndoable':!0x1,'isLocal':!0x1},_0x325b48=>{const _0x436fd6=_0x48209b;for(const _0x27c872 of _0x48083b)this[_0x436fd6(0x24f)][_0x436fd6(0x213)](_0x27c872),this[_0x436fd6(0x1b7)](_0x27c872),_0x325b48[_0x436fd6(0x206)][_0x436fd6(0x245)](_0x27c872),this[_0x436fd6(0x1f7)][_0x436fd6(0x1ff)][_0x436fd6(0x233)](_0x27c872);});}[_0x2e6873(0x1b7)](_0x2862d3){const _0xf9f01=_0x2e6873,_0x27937d=this[_0xf9f01(0x1a3)](_0x2862d3);_0x27937d&&this[_0xf9f01(0x19a)][_0xf9f01(0x213)](_0x27937d);}[_0x2e6873(0x1a3)](_0x233be2){const _0x58bd8b=_0x2e6873;let _0x1c37e5,_0x10c7b5;switch(_0x233be2[_0x58bd8b(0x246)]){case _0x58bd8b(0x188):_0x1c37e5=_0x233be2[_0x58bd8b(0x21e)][_0x58bd8b(0x224)];break;case _0x58bd8b(0x15e):if(_0x10c7b5=_0x233be2[_0x58bd8b(0x1ab)],!_0x10c7b5)return null;_0x1c37e5=_0x10c7b5[_0x58bd8b(0x224)];break;case _0x58bd8b(0x1e6):_0x1c37e5=_0x233be2[_0x58bd8b(0x224)];break;case _0x58bd8b(0x189):_0x1c37e5=_0x233be2[_0x58bd8b(0x19f)];break;case _0x58bd8b(0x183):_0x1c37e5=_0x233be2[_0x58bd8b(0x166)][_0x58bd8b(0x224)];break;default:return null;}return _0x1c37e5[_0x58bd8b(0x1a6)];}[_0x2e6873(0x1f5)](_0xa1513e){const _0x1b3f7e=_0x2e6873;_0xa1513e[_0x1b3f7e(0x199)](_0x20f716=>{const _0x5a9bd8=_0x1b3f7e,_0x37b359=_0x20f716[_0x5a9bd8(0x1bf)]();_0x37b359[_0x5a9bd8(0x24a)]=_0x20f716[_0x5a9bd8(0x24a)],_0x37b359[_0x5a9bd8(0x24e)]=!!_0x20f716[_0x5a9bd8(0x24e)],_0x37b359[_0x5a9bd8(0x1c2)]=_0x20f716[_0x5a9bd8(0x1c2)],_0x37b359[_0x5a9bd8(0x236)]+=this[_0x5a9bd8(0x172)],_0x20f716[_0x5a9bd8(0x198)]&&this[_0x5a9bd8(0x1fc)][_0x5a9bd8(0x213)](_0x37b359),this[_0x5a9bd8(0x1d0)][_0x5a9bd8(0x245)](_0x37b359);});}[_0x2e6873(0x24b)](_0x3731f4){const _0x30161f=_0x2e6873,_0x5e6beb=this[_0x30161f(0x1f7)][_0x30161f(0x1d5)][_0x30161f(0x18b)](_0x30161f(0x18d)),_0x52d3c6=this[_0x30161f(0x1f7)][_0x30161f(0x20a)];_0x3731f4||(_0x3731f4=_0x5d61d7(_0x52d3c6,_0x30161f(0x197))),_0x5e6beb[_0x30161f(0x216)](_0x3731f4,{'title':_0x5d61d7(_0x52d3c6,_0x30161f(0x239)),'namespace':_0x30161f(0x193)}),this[_0x30161f(0x178)]=!0x0,clearTimeout(this[_0x30161f(0x16b)]),this[_0x30161f(0x200)]=[],this[_0x30161f(0x1f7)][_0x30161f(0x1d5)][_0x30161f(0x18b)](_0x5be8b1)[_0x30161f(0x256)]();}[_0x2e6873(0x191)](){const _0x129aa3=_0x2e6873;this[_0x129aa3(0x223)]||(this[_0x129aa3(0x223)]=this[_0x129aa3(0x1f7)][_0x129aa3(0x1d5)][_0x129aa3(0x18b)](_0x1b489a)[_0x129aa3(0x213)](_0x5d61d7(this[_0x129aa3(0x1f7)][_0x129aa3(0x20a)],_0x129aa3(0x21c))));}[_0x2e6873(0x154)](){const _0x695f7f=_0x2e6873;this[_0x695f7f(0x223)]&&(this[_0x695f7f(0x1f7)][_0x695f7f(0x1d5)][_0x695f7f(0x18b)](_0x1b489a)[_0x695f7f(0x1b3)](this[_0x695f7f(0x223)]),this[_0x695f7f(0x223)]=null);}[_0x2e6873(0x1ee)](_0x46ef7b){const _0x3b5c58=_0x2e6873,_0x4df9a8=_0x46ef7b[_0x3b5c58(0x21d)](_0x265e97=>_0x265e97[_0x3b5c58(0x1d7)]());return this[_0x3b5c58(0x15d)][_0x3b5c58(0x18e)](_0x4df9a8);}[_0x2e6873(0x1ca)](_0x577fc2,_0x3152ab){const _0x3f5080=_0x2e6873;return this[_0x3f5080(0x15d)][_0x3f5080(0x1b2)](_0x577fc2)[_0x3f5080(0x21d)]((_0x3e6509,_0x1a6eae)=>{const _0x266546=_0x3f5080,_0x51df8c=_0x266546(0x15a)==_0x3152ab[_0x1a6eae][_0x266546(0x246)];if(_0x266546(0x23f)==_0x3e6509[_0x266546(0x162)]){const _0x54e947=_0x3e6509[_0x266546(0x21e)][_0x266546(0x224)];!this[_0x266546(0x215)][_0x266546(0x1d6)](_0x54e947)&&(this[_0x266546(0x215)][_0x266546(0x1c1)](_0x266546(0x1b8),_0x54e947)[_0x266546(0x157)]=!0x1);}const _0xc92e6d=_0x4c0a9a[_0x266546(0x17a)](_0x3e6509,this[_0x266546(0x215)]);return _0xc92e6d[_0x266546(0x161)]=_0x3e6509[_0x266546(0x161)],_0xc92e6d[_0x266546(0x24e)]=_0x51df8c,_0xc92e6d[_0x266546(0x24a)]=_0x51df8c?null:_0x3152ab[_0x1a6eae][_0x266546(0x252)],_0xc92e6d[_0x266546(0x198)]=_0x266546(0x222)===_0x3152ab[_0x1a6eae][_0x266546(0x246)],_0xc92e6d[_0x266546(0x1c2)]=_0x3152ab[_0x1a6eae][_0x266546(0x1c2)],_0xc92e6d;});}[_0x2e6873(0x168)](){const _0x2877e6=_0x2e6873;this[_0x2877e6(0x218)]=!0x0,this[_0x2877e6(0x1b1)]()?this[_0x2877e6(0x1b4)]():this[_0x2877e6(0x218)]=!0x1;}[_0x2e6873(0x1b1)](){const _0x15cdd5=_0x2e6873,_0x185dbe=this[_0x15cdd5(0x1f7)][_0x15cdd5(0x1d5)][_0x15cdd5(0x18b)](_0x505bf5)[_0x15cdd5(0x203)][_0x15cdd5(0x18b)](this[_0x15cdd5(0x1a2)]);return!this[_0x15cdd5(0x1f7)][_0x15cdd5(0x248)]&&!!_0x185dbe&&_0x185dbe[_0x15cdd5(0x195)]>0x1&&this[_0x15cdd5(0x218)];}[_0x2e6873(0x16d)](){const _0x2d047a=_0x2e6873;return this[_0x2d047a(0x200)][_0x2d047a(0x195)]>0x0||this[_0x2d047a(0x1b1)]();}}l[_0x2e6873(0x17e)]=_0x3ea548;export default l;class Z extends Error{}function tt(_0x1fea79,_0x43ea93){const _0x2541ee=_0x2e6873;for(const _0x3a7a87 of _0x1fea79)_0x3a7a87[_0x2541ee(0x236)]=_0x43ea93++;}class it{constructor(_0x179cb3){const _0x46eea2=_0x2e6873;this[_0x46eea2(0x1e5)]=_0x179cb3,this[_0x46eea2(0x21f)]=new WeakMap();}[_0x2e6873(0x1ac)](_0x1e1590){const _0x17e5d9=_0x2e6873;let _0x1c0539=_0x1e1590[_0x17e5d9(0x195)];for(;_0x1c0539--;){const _0x19e210=_0x1e1590[_0x1c0539];if(!this[_0x17e5d9(0x1e5)][_0x17e5d9(0x1aa)](_0x19e210)){if(!this[_0x17e5d9(0x21f)][_0x17e5d9(0x1aa)](_0x19e210)){const _0xf37ee9=_0x457978()[_0x17e5d9(0x23a)](0x1,0x12);this[_0x17e5d9(0x21f)][_0x17e5d9(0x19d)](_0x19e210,_0xf37ee9);}return this[_0x17e5d9(0x21f)][_0x17e5d9(0x18b)](_0x19e210);}}}[_0x2e6873(0x18c)](_0x52a5db,_0x41cc5f){const _0x2f781b=_0x2e6873;if(!_0x41cc5f)return;let _0x3459af=_0x52a5db[_0x2f781b(0x195)];for(;_0x3459af--;){const _0x214117=_0x52a5db[_0x3459af];this[_0x2f781b(0x1e5)][_0x2f781b(0x1aa)](_0x214117)||this[_0x2f781b(0x21f)][_0x2f781b(0x19d)](_0x214117,_0x41cc5f);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1751d7=_0x359c;function _0x359c(_0x38a55a,_0x1418b7){const _0x27536a=_0x2753();return _0x359c=function(_0x359c13,_0x199276){_0x359c13=_0x359c13-0x195;let _0x51e114=_0x27536a[_0x359c13];return _0x51e114;},_0x359c(_0x38a55a,_0x1418b7);}(function(_0x885ca8,_0x40e481){const _0x1a75f5=_0x359c,_0x18bad2=_0x885ca8();while(!![]){try{const _0x162e11=parseInt(_0x1a75f5(0x1ba))/0x1*(-parseInt(_0x1a75f5(0x1aa))/0x2)+parseInt(_0x1a75f5(0x1ca))/0x3*(parseInt(_0x1a75f5(0x1bc))/0x4)+-parseInt(_0x1a75f5(0x1b3))/0x5+parseInt(_0x1a75f5(0x1a2))/0x6+-parseInt(_0x1a75f5(0x1cb))/0x7*(parseInt(_0x1a75f5(0x1c2))/0x8)+-parseInt(_0x1a75f5(0x1d2))/0x9*(parseInt(_0x1a75f5(0x1ae))/0xa)+parseInt(_0x1a75f5(0x1a4))/0xb*(parseInt(_0x1a75f5(0x1b6))/0xc);if(_0x162e11===_0x40e481)break;else _0x18bad2['push'](_0x18bad2['shift']());}catch(_0x5cc9b6){_0x18bad2['push'](_0x18bad2['shift']());}}}(_0x2753,0x6114e));import{ContextPlugin as _0xa7d9c0}from'ckeditor5/src/core.js';import{Collection as _0x13911d,CKEditorError as _0x14b462}from'ckeditor5/src/utils.js';import _0x3ce96c from'./websocketgateway.js';function _0x2753(){const _0x47b17d=['allConnectedUsers','_registeredSessions','1920tSMJig','_uniqueUsersCount','register','sessionAdd:','isPremiumPlugin','2179215OtmnmB','change:state','addUser','15125316VReYcM','context','fire','unregister','3DquAvM','isOfficialPlugin','206372XXEyyl','defineMe','connection','orderNumber','role','assign','328552PvKfct','clear','set','getUserSessions','getUserBySessionId','stopListening','pluginName','get','30QthoHk','28TAOrob','user','sessions-unregister-not-exist','Sessions','forEach','plugins','isMe','26154MjWbCo','_users','state','has','connected','mySessionId','init','listenTo','_createUser','getUserRole','values','requires','channelConnectedUsers','sessionId','_handleSessionAdd','delete','1543338OtdNju','_handleSessionRemove','11fcrqQW','remove','size','getUser','sessions-register-already-registered','add','318586StnaWv','channelSessions'];_0x2753=function(){return _0x47b17d;};return _0x2753();}import{Users as _0x92374d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xa7d9c0{static get[_0x1751d7(0x1c8)](){const _0x38090f=_0x1751d7;return _0x38090f(0x1ce);}static get[_0x1751d7(0x1bb)](){return!0x0;}static get[_0x1751d7(0x1b2)](){return!0x0;}static get[_0x1751d7(0x19d)](){return[_0x3ce96c,_0x92374d];}constructor(_0x46efad){const _0x1dac1d=_0x1751d7;super(_0x46efad),this[_0x1dac1d(0x1ab)]=new Map(),this[_0x1dac1d(0x19e)]=new Map(),this[_0x1dac1d(0x1ac)]=new _0x13911d(),this[_0x1dac1d(0x1ad)]=new Map(),this[_0x1dac1d(0x1af)]=0x0,this[_0x1dac1d(0x1d3)]=this[_0x1dac1d(0x1b7)][_0x1dac1d(0x1d0)][_0x1dac1d(0x1c9)](_0x92374d);}[_0x1751d7(0x198)](){const _0x2a33e1=_0x1751d7,_0x216934=this[_0x2a33e1(0x1b7)][_0x2a33e1(0x1d0)][_0x2a33e1(0x1c9)](_0x3ce96c);this[_0x2a33e1(0x199)](_0x216934,_0x2a33e1(0x1b4),(_0x2c7eae,_0x4093a3,_0x4411af)=>{const _0x1c68f8=_0x2a33e1;if(_0x1c68f8(0x196)!==_0x4411af)this[_0x1c68f8(0x1ab)][_0x1c68f8(0x1cf)](_0x2d977b=>_0x2d977b[_0x1c68f8(0x1c3)]()),this[_0x1c68f8(0x19e)][_0x1c68f8(0x1cf)](_0x56a21f=>_0x56a21f[_0x1c68f8(0x1c3)]()),this[_0x1c68f8(0x1ac)][_0x1c68f8(0x1c3)]();else{for(const [_0x1a7b8b,_0x1d2a2f]of this[_0x1c68f8(0x1ad)])for(const _0x2bc39c of _0x1d2a2f)this[_0x1c68f8(0x1a0)](_0x1a7b8b,_0x2bc39c);}}),this[_0x2a33e1(0x19a)](_0x216934[_0x2a33e1(0x1be)]['me'],!0x0);}[_0x1751d7(0x1b0)](_0x16609e,_0x40f0b8){const _0x46aa5b=_0x1751d7;if(this[_0x46aa5b(0x1ad)][_0x46aa5b(0x195)](_0x16609e))throw new _0x14b462(_0x46aa5b(0x1a8),null,{'channelId':_0x16609e});this[_0x46aa5b(0x1ad)][_0x46aa5b(0x1c4)](_0x16609e,_0x40f0b8),this[_0x46aa5b(0x1ab)][_0x46aa5b(0x1c4)](_0x16609e,new _0x13911d()),this[_0x46aa5b(0x19e)][_0x46aa5b(0x1c4)](_0x16609e,new _0x13911d()),this[_0x46aa5b(0x199)](_0x40f0b8,_0x46aa5b(0x1a9),(_0x5b55fb,_0x2a1e7d)=>this[_0x46aa5b(0x1a0)](_0x16609e,_0x2a1e7d)),this[_0x46aa5b(0x199)](_0x40f0b8,_0x46aa5b(0x1a5),(_0x3dbcb2,_0x4b4bd1)=>this[_0x46aa5b(0x1a3)](_0x16609e,_0x4b4bd1));for(const _0x4e121e of _0x40f0b8)this[_0x46aa5b(0x1a0)](_0x16609e,_0x4e121e);}[_0x1751d7(0x1b9)](_0x4e2d5c){const _0x2a805c=_0x1751d7;if(!this[_0x2a805c(0x1ad)][_0x2a805c(0x195)](_0x4e2d5c))throw new _0x14b462(_0x2a805c(0x1cd),null,{'channelId':_0x4e2d5c});const _0x1648ca=this[_0x2a805c(0x1ad)][_0x2a805c(0x1c9)](_0x4e2d5c);this[_0x2a805c(0x1c7)](_0x1648ca);for(const _0x1ad445 of _0x1648ca)_0x2a805c(0x196)===this[_0x2a805c(0x1b7)][_0x2a805c(0x1d0)][_0x2a805c(0x1c9)](_0x3ce96c)[_0x2a805c(0x1d4)]&&this[_0x2a805c(0x1a3)](_0x4e2d5c,_0x1ad445);this[_0x2a805c(0x1ad)][_0x2a805c(0x1a1)](_0x4e2d5c),this[_0x2a805c(0x1ab)][_0x2a805c(0x1a1)](_0x4e2d5c),this[_0x2a805c(0x19e)][_0x2a805c(0x1a1)](_0x4e2d5c);}get[_0x1751d7(0x197)](){const _0x49f6b4=_0x1751d7;return this[_0x49f6b4(0x1b7)][_0x49f6b4(0x1d0)][_0x49f6b4(0x1c9)](_0x3ce96c)[_0x49f6b4(0x1be)][_0x49f6b4(0x19f)];}[_0x1751d7(0x1c6)](_0x4955fb){const _0xb540cc=_0x1751d7;for(const _0x570213 of this[_0xb540cc(0x1ab)][_0xb540cc(0x19c)]())for(const _0x17b453 of _0x570213)if(_0x17b453['id']===_0x4955fb)return _0x17b453[_0xb540cc(0x1cc)];}[_0x1751d7(0x1c5)](_0x25687c,_0x51a08d){const _0x2425a4=_0x1751d7,_0x4341f5=_0x51a08d?[this[_0x2425a4(0x1ab)][_0x2425a4(0x1c9)](_0x51a08d)]:this[_0x2425a4(0x1ab)][_0x2425a4(0x19c)](),_0x546f9c=new Set();for(const _0x502272 of _0x4341f5)for(const _0x66af12 of _0x502272)_0x66af12[_0x2425a4(0x1cc)]['id']===_0x25687c['id']&&_0x546f9c[_0x2425a4(0x1a9)](_0x66af12['id']);return _0x546f9c;}[_0x1751d7(0x19b)](_0x4224a8){const _0xdafe78=_0x1751d7;for(const _0x569161 of this[_0xdafe78(0x1ab)][_0xdafe78(0x19c)]())for(const _0x39dc6b of _0x569161)if(_0x39dc6b[_0xdafe78(0x1cc)]===_0x4224a8)return _0x39dc6b[_0xdafe78(0x1c0)];}[_0x1751d7(0x1a0)](_0x4f5ea9,_0x23a324){const _0x36ac86=_0x1751d7;if(_0x36ac86(0x196)!==this[_0x36ac86(0x1b7)][_0x36ac86(0x1d0)][_0x36ac86(0x1c9)](_0x3ce96c)[_0x36ac86(0x1d4)])return;const _0x21e779=_0x23a324[_0x36ac86(0x1cc)],_0x42de64=this[_0x36ac86(0x1d3)][_0x36ac86(0x1a7)](_0x21e779['id'])||this[_0x36ac86(0x19a)](_0x21e779),_0x4e5420=Object[_0x36ac86(0x1c1)]({},_0x23a324,{'user':_0x42de64});this[_0x36ac86(0x1ab)][_0x36ac86(0x1c9)](_0x4f5ea9)[_0x36ac86(0x1a9)](_0x4e5420);const _0x2d6f32=this[_0x36ac86(0x19e)][_0x36ac86(0x1c9)](_0x4f5ea9);_0x2d6f32[_0x36ac86(0x195)](_0x42de64['id'])||_0x2d6f32[_0x36ac86(0x1a9)](_0x42de64),this[_0x36ac86(0x1ac)][_0x36ac86(0x195)](_0x42de64['id'])||this[_0x36ac86(0x1ac)][_0x36ac86(0x1a9)](_0x42de64,_0x42de64[_0x36ac86(0x1d1)]?0x0:void 0x0),this[_0x36ac86(0x1b8)](_0x36ac86(0x1b1)+_0x4f5ea9,{'channelId':_0x4f5ea9,'session':_0x4e5420});}[_0x1751d7(0x1a3)](_0x31ed77,_0x319a5c){const _0x377703=_0x1751d7;if(_0x377703(0x196)!==this[_0x377703(0x1b7)][_0x377703(0x1d0)][_0x377703(0x1c9)](_0x3ce96c)[_0x377703(0x1d4)])return;const _0x176edf=this[_0x377703(0x19e)][_0x377703(0x1c9)](_0x31ed77),_0x5e87d6=_0x319a5c[_0x377703(0x1cc)];_0x5e87d6['id']&&(this[_0x377703(0x1ab)][_0x377703(0x1c9)](_0x31ed77)[_0x377703(0x1a5)](_0x319a5c['id']),_0x176edf[_0x377703(0x195)](_0x5e87d6['id'])&&!this[_0x377703(0x1c5)](_0x5e87d6,_0x31ed77)[_0x377703(0x1a6)]&&_0x176edf[_0x377703(0x1a5)](_0x5e87d6['id']),this[_0x377703(0x1ac)][_0x377703(0x1c9)](_0x5e87d6['id'])&&!this[_0x377703(0x1c5)](_0x5e87d6)[_0x377703(0x1a6)]&&this[_0x377703(0x1ac)][_0x377703(0x1a5)](_0x5e87d6['id']));}[_0x1751d7(0x19a)](_0x42c808,_0x4b6b81){const _0x2b529a=_0x1751d7,_0x42ee6f=this[_0x2b529a(0x1d3)][_0x2b529a(0x1b5)](_0x42c808);return _0x4b6b81&&this[_0x2b529a(0x1d3)][_0x2b529a(0x1bd)](_0x42c808['id']),_0x42ee6f[_0x2b529a(0x1bf)]=this[_0x2b529a(0x1af)]++,_0x42ee6f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x123b(){const _0x75da01=['enqueueChange','model','has','checkChild','373667fQjRjD','mouseleave','schema','tableCell','keydown','</span>','ck-user__selection','stopListening','for','update:user:range','16NNMkmY','get','oldRange','document','mouseenter','editing','split','user:','getRange','880857LpdyHM','1651900QtcMps','markerToHighlight','9038gBKOyd','marker','ck-user__marker\x20','render','selection','user:position','plugins','getCustomProperty','add','48oacmuz','applyOperation','hasDomSelection','getPositions','ck-user__marker_hovered','isInline','5148EBoDYj','editor','getSelectionClass','innerHTML','markerName','$graveyard','getUserBySessionId','getFirstRange','64NfUoLR','data-session-id','destroy','<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>','getNearestSelectionRange','26421GvWGHN','user:range','createUserMarkerOperations','hasContent','createRange','contenteditable','type','span','2196AXrtRr','rootName','isLimit','reconvertMarker','root','markerRange','parent','getAttribute','clear','set','76295JZiaAJ','classList','_domEmitter','change','removeMarker','orderNumber','fromRange','name','getContainedElement','markerToElement','isOfficialPlugin','_createdBatches','isSimilar','toDomElement','view','newRange','isPremiumPlugin','editingDowncast','batch','addMarker','setCustomProperty','start','markerNameToElements','user:position:','element','createUIElement','color','change:range','init','user:range:','size','requires','detach','isCollapsed','userPositionMarker','mapper','afterInit','pluginName','Escape','delete','nodeAfter','undo','isObject','end','UserMarkers','getMarkerClass','startsWith','mySessionId','markers','updateMarker','conversion','addEventListener','deletionPosition','removeClass','getStart','listenTo','41Ejrpsv','commands','remove','$text','highest','toRange'];_0x123b=function(){return _0x75da01;};return _0x123b();}const _0x6bcf95=_0x35a7;function _0x35a7(_0x56170e,_0x49bf1a){const _0x123b2b=_0x123b();return _0x35a7=function(_0x35a710,_0x46548f){_0x35a710=_0x35a710-0xae;let _0xf11182=_0x123b2b[_0x35a710];return _0xf11182;},_0x35a7(_0x56170e,_0x49bf1a);}(function(_0x1d39c4,_0x452a03){const _0x514856=_0x35a7,_0x307883=_0x1d39c4();while(!![]){try{const _0x131d39=parseInt(_0x514856(0xe2))/0x1*(parseInt(_0x514856(0x102))/0x2)+parseInt(_0x514856(0x11e))/0x3*(parseInt(_0x514856(0x119))/0x4)+-parseInt(_0x514856(0x130))/0x5*(-parseInt(_0x514856(0x10b))/0x6)+-parseInt(_0x514856(0xec))/0x7+parseInt(_0x514856(0xf6))/0x8*(-parseInt(_0x514856(0xff))/0x9)+-parseInt(_0x514856(0x100))/0xa+-parseInt(_0x514856(0x111))/0xb*(-parseInt(_0x514856(0x126))/0xc);if(_0x131d39===_0x452a03)break;else _0x307883['push'](_0x307883['shift']());}catch(_0x5407b0){_0x307883['push'](_0x307883['shift']());}}}(_0x123b,0x1d326));import{Plugin as _0x11d522}from'ckeditor5/src/core.js';import{global as _0x5f2764,DomEmitterMixin as _0x2b22a8}from'ckeditor5/src/utils.js';import _0x53ec42 from'./sessions.js';import{LiveRange as _0x517d65}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x11d522{constructor(){const _0x350672=_0x35a7;super(...arguments),this[_0x350672(0x132)]=new(_0x2b22a8())();}static get[_0x6bcf95(0xc9)](){return[_0x53ec42];}static get[_0x6bcf95(0xcf)](){const _0xa9a6ac=_0x6bcf95;return _0xa9a6ac(0xd6);}static get[_0x6bcf95(0xb4)](){return!0x0;}static get[_0x6bcf95(0xba)](){return!0x0;}[_0x6bcf95(0xc6)](){const _0x2ec0c3=_0x6bcf95,_0x577704=this[_0x2ec0c3(0x112)],_0x50f6f8=_0x577704[_0x2ec0c3(0x108)][_0x2ec0c3(0xf7)](_0x53ec42);_0x577704[_0x2ec0c3(0xdc)][_0x2ec0c3(0xf4)](_0x2ec0c3(0xbb))[_0x2ec0c3(0xb3)]({'model':_0x2ec0c3(0x107),'view':(_0x3bd704,{writer:_0x494373})=>function(_0x3c1d3e,_0x2a4356,_0xa3025c,_0x37c7b5){const _0x4f41a7=_0x2ec0c3,_0x271f5d=_0x3c1d3e[_0x4f41a7(0x115)][_0x4f41a7(0xfc)](':')[0x2],_0x31f82c=_0xa3025c[_0x4f41a7(0x117)](_0x271f5d);if(!_0x31f82c||_0x271f5d===_0xa3025c[_0x4f41a7(0xd9)])return;if(!_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xee)][_0x4f41a7(0xeb)](_0x3c1d3e[_0x4f41a7(0x12b)][_0x4f41a7(0xbf)],_0x4f41a7(0xe5)))return;const _0x8a2434={'class':_0x4f41a7(0x104)+_0x31f82c[_0x4f41a7(0xc4)][_0x4f41a7(0xd7)](),'data-name':_0x31f82c[_0x4f41a7(0xb1)],'data-session-id':_0x271f5d},_0x186c24=_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xda)][_0x4f41a7(0xf7)](_0x3c1d3e[_0x4f41a7(0x115)]),_0x2d2bc5=_0x186c24[_0x4f41a7(0xe0)](),_0x16f7f9=_0x2d2bc5[_0x4f41a7(0xd2)],_0x5dd51f=_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xee)];if(_0x16f7f9&&_0x5dd51f[_0x4f41a7(0xd4)](_0x16f7f9)&&_0x5dd51f[_0x4f41a7(0x110)](_0x16f7f9)&&!_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xda)][_0x4f41a7(0xf7)](_0x4f41a7(0xc7)+_0x271f5d)[_0x4f41a7(0xfe)]()[_0x4f41a7(0xcb)])return;const _0x3fde68=_0x2d2bc5[_0x4f41a7(0x12c)];return _0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0xee)][_0x4f41a7(0x128)](_0x3fde68)&&!_0x37c7b5[_0x4f41a7(0xe9)][_0x4f41a7(0x121)](_0x3fde68)&&(_0x8a2434[_0x4f41a7(0x123)]=!0x1),function(_0x54b664,_0x24b6c2,_0xa6dee0){const _0x33709f=_0x4f41a7,_0x765f48=_0x54b664[_0x33709f(0xc3)](_0x33709f(0x125),_0x24b6c2);return _0x54b664[_0x33709f(0xbe)](_0x33709f(0xcc),!0x0,_0x765f48),_0x765f48[_0x33709f(0x105)]=function(_0x459749){const _0x4dca8f=_0x33709f,_0xdcd7da=this[_0x4dca8f(0xb7)](_0x459749);return _0xdcd7da[_0x4dca8f(0x114)]=_0x4dca8f(0x11c)+_0xa6dee0[_0x4dca8f(0xb1)]+_0x4dca8f(0xf1),_0xdcd7da[_0x4dca8f(0xdd)](_0x4dca8f(0xfa),()=>{const _0x239a15=_0x4dca8f;_0xdcd7da[_0x239a15(0x131)][_0x239a15(0x10a)](_0x239a15(0x10f));}),_0xdcd7da[_0x4dca8f(0xdd)](_0x4dca8f(0xed),()=>{const _0x1b038e=_0x4dca8f;_0xdcd7da[_0x1b038e(0x131)][_0x1b038e(0xe4)](_0x1b038e(0x10f));}),_0xdcd7da;},_0x765f48[_0x33709f(0xb6)]=function(_0x2f6a41){const _0x53725b=_0x33709f;return!(!this[_0x53725b(0x109)](_0x53725b(0xcc))||!_0x2f6a41[_0x53725b(0x109)](_0x53725b(0xcc))||this[_0x53725b(0x12d)](_0x53725b(0x11a))!=_0x2f6a41[_0x53725b(0x12d)](_0x53725b(0x11a)));},_0x765f48;}(_0x2a4356,_0x8a2434,_0x31f82c);}(_0x3bd704,_0x494373,_0x50f6f8,_0x577704)}),_0x577704[_0x2ec0c3(0xdc)][_0x2ec0c3(0xf4)](_0x2ec0c3(0xbb))[_0x2ec0c3(0x101)]({'model':_0x2ec0c3(0x11f),'view':_0x51d53a=>function(_0x5928cf,_0x3d88d2){const _0x473454=_0x2ec0c3,_0x35e108=_0x5928cf[_0x473454(0x115)][_0x473454(0xfc)](':')[0x2];if(_0x35e108===_0x3d88d2[_0x473454(0xd9)])return null;const _0x22e37c=_0x3d88d2[_0x473454(0x117)](_0x35e108);if(!_0x22e37c)return{'id':_0x35e108,'classes':[]};return{'id':_0x35e108,'classes':[_0x473454(0xf2),_0x22e37c[_0x473454(0xc4)][_0x473454(0x113)]()],'attributes':{'data-session-id':_0x35e108},'priority':0x7d0+_0x22e37c[_0x473454(0xaf)]};}(_0x51d53a,_0x50f6f8)}),function(_0x170400){const _0x1759cc=_0x2ec0c3,_0x5ad33a=_0x170400[_0x1759cc(0xe9)],_0x4c3022=new Map(),_0xc2d3a0=_0x170400[_0x1759cc(0x108)][_0x1759cc(0xf7)](_0x53ec42);_0x5ad33a[_0x1759cc(0xda)]['on'](_0x1759cc(0xf5),(_0x181aee,_0x4e7e2b,_0x245330,_0x33b468)=>{const _0x127de9=_0x1759cc;if(!_0x33b468&&_0x4c3022[_0x127de9(0xf7)](_0x4e7e2b[_0x127de9(0xb1)]))return _0x4c3022[_0x127de9(0xf7)](_0x4e7e2b[_0x127de9(0xb1)])[_0x127de9(0xca)](),void _0x4c3022[_0x127de9(0xd1)](_0x4e7e2b[_0x127de9(0xb1)]);const _0x5d13e0=_0x4e7e2b[_0x127de9(0xb1)][_0x127de9(0xfc)](':')[0x2];if(_0x5d13e0===_0xc2d3a0[_0x127de9(0xd9)])return;const _0x3393e9=_0x127de9(0xc1)+_0x5d13e0;_0x5ad33a[_0x127de9(0xda)][_0x127de9(0xea)](_0x3393e9)&&_0x170400[_0x127de9(0xfb)][_0x127de9(0x129)](_0x3393e9),_0x4e7e2b['on'](_0x127de9(0xc5),(_0x3e0d82,_0x29e299,_0x456a3c)=>{const _0x1b9734=_0x127de9;if(_0x1b9734(0x116)!=_0x29e299[_0x1b9734(0x12a)][_0x1b9734(0x127)]&&_0x1b9734(0x116)==_0x4e7e2b[_0x1b9734(0xfe)]()[_0x1b9734(0x12a)][_0x1b9734(0x127)]&&!_0x4c3022[_0x1b9734(0xea)](_0x4e7e2b[_0x1b9734(0xb1)])){const _0x57d9f1=_0x5ad33a[_0x1b9734(0xee)][_0x1b9734(0x11d)](_0x456a3c[_0x1b9734(0xde)]);if(_0x57d9f1){const _0x5d00a0=_0x517d65[_0x1b9734(0xb0)](_0x57d9f1);_0x4c3022[_0x1b9734(0x12f)](_0x4e7e2b[_0x1b9734(0xb1)],_0x5d00a0),_0x5d00a0['on'](_0x1b9734(0xc5),(_0x46da51,_0x46f537,_0x3c23a1)=>{const _0x366535=_0x1b9734;if(_0x366535(0x116)==_0x5d00a0[_0x366535(0x12a)][_0x366535(0x127)]){const _0x24b989=_0x5ad33a[_0x366535(0xee)][_0x366535(0x11d)](_0x3c23a1[_0x366535(0xde)]);_0x24b989?(_0x5d00a0[_0x366535(0xbf)]=_0x24b989[_0x366535(0xbf)],_0x5d00a0[_0x366535(0xd5)]=_0x24b989[_0x366535(0xd5)]):(_0x4c3022[_0x366535(0xd1)](_0x4e7e2b[_0x366535(0xb1)]),_0x5d00a0[_0x366535(0xca)]());}});}}});}),_0x5ad33a[_0x1759cc(0xf9)]['on'](_0x1759cc(0x133),()=>{const _0x11ae11=_0x1759cc;_0x4c3022[_0x11ae11(0xc8)]>0x0&&_0x5ad33a[_0x11ae11(0xe8)]({'isUndoable':!0x1},_0x48bccd=>{const _0x3274b3=_0x11ae11;for(const [_0x2fecdb,_0x353641]of _0x4c3022)_0x3274b3(0x116)==_0x5ad33a[_0x3274b3(0xda)][_0x3274b3(0xf7)](_0x2fecdb)[_0x3274b3(0xfe)]()[_0x3274b3(0x12a)][_0x3274b3(0x127)]&&(G(_0x2fecdb[_0x3274b3(0xfc)](':')[0x2],_0x353641[_0x3274b3(0xe7)](),_0x5ad33a,_0x48bccd),_0x353641[_0x3274b3(0xca)]());_0x4c3022[_0x3274b3(0x12e)]();});});}(_0x577704),this[_0x2ec0c3(0x132)][_0x2ec0c3(0xe1)](_0x5f2764[_0x2ec0c3(0xf9)],_0x2ec0c3(0xf0),(_0x3c2a9f,{key:_0x7cc92f})=>{const _0x3451c7=_0x2ec0c3;_0x3451c7(0xd0)===_0x7cc92f&&function(_0x1931a6){const _0x2b1b12=_0x3451c7;_0x1931a6[_0x2b1b12(0xfb)][_0x2b1b12(0xb8)][_0x2b1b12(0x133)](_0x47d397=>{const _0x5abd6c=_0x2b1b12;for(const _0x237732 of _0x1931a6[_0x5abd6c(0xe9)][_0x5abd6c(0xda)]){if(!_0x237732[_0x5abd6c(0xb1)][_0x5abd6c(0xd8)](_0x5abd6c(0x107)))continue;const _0x5b49bb=_0x1931a6[_0x5abd6c(0xfb)][_0x5abd6c(0xcd)][_0x5abd6c(0xc0)](_0x237732[_0x5abd6c(0xb1)]);if(_0x5b49bb){for(const _0x299f48 of _0x5b49bb)_0x47d397[_0x5abd6c(0xdf)](_0x5abd6c(0x10f),_0x299f48);}}});}(_0x577704);},{'useCapture':!0x0});}[_0x6bcf95(0xce)](){const _0x11d3bf=_0x6bcf95,_0x594f30=this[_0x11d3bf(0x112)],_0x36dc23=_0x594f30[_0x11d3bf(0xe3)][_0x11d3bf(0xf7)](_0x11d3bf(0xd3));_0x36dc23&&_0x594f30[_0x11d3bf(0xe9)]['on'](_0x11d3bf(0x10c),(_0x4e7e27,_0x46a47d)=>{const _0x309ae5=_0x11d3bf,_0x25311a=_0x46a47d[0x0];if(_0x309ae5(0x103)!=_0x25311a[_0x309ae5(0x124)]||!_0x25311a[_0x309ae5(0xb1)][_0x309ae5(0xd8)](_0x309ae5(0xfd)))return;const _0x544378=_0x25311a[_0x309ae5(0xbc)];_0x36dc23[_0x309ae5(0xb5)][_0x309ae5(0xea)](_0x544378)&&(_0x25311a[_0x309ae5(0xb9)]=_0x25311a[_0x309ae5(0xf8)]?_0x594f30[_0x309ae5(0xe9)][_0x309ae5(0x122)](_0x25311a[_0x309ae5(0xf8)][_0x309ae5(0xbf)],_0x25311a[_0x309ae5(0xf8)][_0x309ae5(0xd5)]):null);},{'priority':_0x11d3bf(0xe6)});}[_0x6bcf95(0x11b)](){const _0x4bd731=_0x6bcf95;return this[_0x4bd731(0x132)][_0x4bd731(0xf3)](),super[_0x4bd731(0x11b)]();}[_0x6bcf95(0x120)](){const _0x8f92cf=_0x6bcf95,_0x68f0e0=this[_0x8f92cf(0x112)],_0x46d3bf=_0x68f0e0[_0x8f92cf(0xe9)][_0x8f92cf(0xf9)],_0x2bafc1=_0x68f0e0[_0x8f92cf(0x108)][_0x8f92cf(0xf7)](_0x53ec42);_0x68f0e0[_0x8f92cf(0xe9)][_0x8f92cf(0xe8)]({'isUndoable':!0x1},_0xa714a1=>{const _0xebde83=_0x8f92cf,_0x15a2f9=_0xebde83(0xc7)+_0x2bafc1[_0xebde83(0xd9)],_0x4c1c64=_0xebde83(0xc1)+_0x2bafc1[_0xebde83(0xd9)],_0xd65c4b=_0x68f0e0[_0xebde83(0xe9)][_0xebde83(0xda)][_0xebde83(0xea)](_0x15a2f9);_0x68f0e0[_0xebde83(0xfb)][_0xebde83(0xb8)][_0xebde83(0x10d)]?G(_0x2bafc1[_0xebde83(0xd9)],_0x46d3bf[_0xebde83(0x106)][_0xebde83(0x118)](),_0x68f0e0[_0xebde83(0xe9)],_0xa714a1):_0xd65c4b&&(_0xa714a1[_0xebde83(0xae)](_0x15a2f9),_0xa714a1[_0xebde83(0xae)](_0x4c1c64));});}}function G(_0x5e1363,_0x447932,_0x59fc09,_0x35e2bf){const _0x160d0b=_0x6bcf95,_0x3c3e9d=_0x160d0b(0xc7)+_0x5e1363,_0x1cb368=_0x160d0b(0xc1)+_0x5e1363,_0x4de600=_0x447932[_0x160d0b(0xb2)]();let _0x4902f1=_0x447932[_0x160d0b(0xbf)];_0x4de600&&_0x4de600['is'](_0x160d0b(0xc2),_0x160d0b(0xef))&&(_0x4902f1=function(_0x19bada,_0x5e9a12){const _0x2cbe9a=_0x160d0b;for(const _0x3a470c of _0x19bada[_0x2cbe9a(0x10e)]())if(_0x5e9a12[_0x2cbe9a(0xee)][_0x2cbe9a(0xeb)](_0x3a470c,_0x2cbe9a(0xe5)))return _0x3a470c;}(_0x447932,_0x59fc09),_0x447932=_0x35e2bf[_0x160d0b(0x122)](_0x4902f1));const _0x4ee659=_0x35e2bf[_0x160d0b(0x122)](_0x4902f1);_0x59fc09[_0x160d0b(0xda)][_0x160d0b(0xea)](_0x3c3e9d)?(_0x35e2bf[_0x160d0b(0xdb)](_0x3c3e9d,{'range':_0x447932}),_0x35e2bf[_0x160d0b(0xdb)](_0x1cb368,{'range':_0x4ee659})):(_0x35e2bf[_0x160d0b(0xbd)](_0x3c3e9d,{'range':_0x447932,'usingOperation':!0x0}),_0x35e2bf[_0x160d0b(0xbd)](_0x1cb368,{'range':_0x4ee659,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5a0759=_0x1a80;(function(_0x57478a,_0x49cae8){const _0x290ef0=_0x1a80,_0x19a839=_0x57478a();while(!![]){try{const _0x52baae=parseInt(_0x290ef0(0xd4))/0x1+-parseInt(_0x290ef0(0xd1))/0x2*(-parseInt(_0x290ef0(0xff))/0x3)+-parseInt(_0x290ef0(0x11e))/0x4+parseInt(_0x290ef0(0x133))/0x5*(-parseInt(_0x290ef0(0x11f))/0x6)+-parseInt(_0x290ef0(0x145))/0x7*(parseInt(_0x290ef0(0xe3))/0x8)+-parseInt(_0x290ef0(0x119))/0x9+-parseInt(_0x290ef0(0x110))/0xa*(-parseInt(_0x290ef0(0x108))/0xb);if(_0x52baae===_0x49cae8)break;else _0x19a839['push'](_0x19a839['shift']());}catch(_0x5c3605){_0x19a839['push'](_0x19a839['shift']());}}}(_0x283a,0xb0a2a));import{Plugin as _0x48b14c}from'ckeditor5/src/core.js';import{global as _0x5671fe,DomEmitterMixin as _0x563802}from'ckeditor5/src/utils.js';import _0x2043e3 from'./sessions.js';import{LiveRange as _0x20c4ec}from'ckeditor5/src/engine.js';function _0x1a80(_0x47eacb,_0x63d4b9){const _0x283a89=_0x283a();return _0x1a80=function(_0x1a8069,_0x56da69){_0x1a8069=_0x1a8069-0xc9;let _0x145f46=_0x283a89[_0x1a8069];return _0x145f46;},_0x1a80(_0x47eacb,_0x63d4b9);}import'../../theme/usermarkers.css';export default class K extends _0x48b14c{constructor(){const _0xf94db2=_0x1a80;super(...arguments),this[_0xf94db2(0x12b)]=new(_0x563802())();}static get[_0x5a0759(0xf5)](){return[_0x2043e3];}static get[_0x5a0759(0xdc)](){const _0x2af34e=_0x5a0759;return _0x2af34e(0x101);}static get[_0x5a0759(0xf0)](){return!0x0;}static get[_0x5a0759(0xe5)](){return!0x0;}[_0x5a0759(0x125)](){const _0x5ca373=_0x5a0759,_0x3e12aa=this[_0x5ca373(0xec)],_0x20aa7a=_0x3e12aa[_0x5ca373(0x11b)][_0x5ca373(0xce)](_0x2043e3);_0x3e12aa[_0x5ca373(0x14d)][_0x5ca373(0x138)](_0x5ca373(0x12c))[_0x5ca373(0x121)]({'model':_0x5ca373(0xdb),'view':(_0x47bc68,{writer:_0x1b418c})=>function(_0x31206a,_0x2524f4,_0x21fe1c,_0x2c09d7){const _0x4b6ac9=_0x5ca373,_0x4ab31b=_0x31206a[_0x4b6ac9(0xdd)][_0x4b6ac9(0xda)](':')[0x2],_0x5bcae7=_0x21fe1c[_0x4b6ac9(0xf9)](_0x4ab31b);if(!_0x5bcae7||_0x4ab31b===_0x21fe1c[_0x4b6ac9(0x104)])return;if(!_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xe4)][_0x4b6ac9(0xee)](_0x31206a[_0x4b6ac9(0x129)][_0x4b6ac9(0x103)],_0x4b6ac9(0xdf)))return;const _0x4cd8f9={'class':_0x4b6ac9(0xe2)+_0x5bcae7[_0x4b6ac9(0xea)][_0x4b6ac9(0x140)](),'data-name':_0x5bcae7[_0x4b6ac9(0x146)],'data-session-id':_0x4ab31b},_0x16e691=_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xf8)][_0x4b6ac9(0xce)](_0x31206a[_0x4b6ac9(0xdd)]),_0x3153ae=_0x16e691[_0x4b6ac9(0xd5)](),_0xbb4c02=_0x3153ae[_0x4b6ac9(0x114)],_0x11034d=_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xe4)];if(_0xbb4c02&&_0x11034d[_0x4b6ac9(0x126)](_0xbb4c02)&&_0x11034d[_0x4b6ac9(0x143)](_0xbb4c02)&&!_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xf8)][_0x4b6ac9(0xce)](_0x4b6ac9(0x13d)+_0x4ab31b)[_0x4b6ac9(0x13f)]()[_0x4b6ac9(0xe1)])return;const _0xef164b=_0x3153ae[_0x4b6ac9(0x107)];return _0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xe4)][_0x4b6ac9(0xf3)](_0xef164b)&&!_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xd6)](_0xef164b)&&(_0x4cd8f9[_0x4b6ac9(0x113)]=!0x1),function(_0x21878c,_0x4f6658,_0x38d788){const _0x4fc4d3=_0x4b6ac9,_0x1686ac=_0x21878c[_0x4fc4d3(0x11c)](_0x4fc4d3(0x12e),_0x4f6658);return _0x21878c[_0x4fc4d3(0x10e)](_0x4fc4d3(0xde),!0x0,_0x1686ac),_0x1686ac[_0x4fc4d3(0x13a)]=function(_0x32a3f0){const _0x5af78b=_0x4fc4d3,_0x13b87e=this[_0x5af78b(0x148)](_0x32a3f0);return _0x13b87e[_0x5af78b(0xed)]=_0x5af78b(0x112)+_0x38d788[_0x5af78b(0x146)]+_0x5af78b(0xc9),_0x13b87e[_0x5af78b(0x141)](_0x5af78b(0xca),()=>{const _0x16bc7f=_0x5af78b;_0x13b87e[_0x16bc7f(0xfc)][_0x16bc7f(0x13c)](_0x16bc7f(0xf1));}),_0x13b87e[_0x5af78b(0x141)](_0x5af78b(0xfa),()=>{const _0x5e2a35=_0x5af78b;_0x13b87e[_0x5e2a35(0xfc)][_0x5e2a35(0x100)](_0x5e2a35(0xf1));}),_0x13b87e;},_0x1686ac[_0x4fc4d3(0x131)]=function(_0x5815c1){const _0x5e485f=_0x4fc4d3;return!(!this[_0x5e485f(0x12a)](_0x5e485f(0xde))||!_0x5815c1[_0x5e485f(0x12a)](_0x5e485f(0xde))||this[_0x5e485f(0xe9)](_0x5e485f(0x127))!=_0x5815c1[_0x5e485f(0xe9)](_0x5e485f(0x127)));},_0x1686ac;}(_0x2524f4,_0x4cd8f9,_0x5bcae7);}(_0x47bc68,_0x1b418c,_0x20aa7a,_0x3e12aa)}),_0x3e12aa[_0x5ca373(0x14d)][_0x5ca373(0x138)](_0x5ca373(0x12c))[_0x5ca373(0xf7)]({'model':_0x5ca373(0xd9),'view':_0x436f1b=>function(_0x3690c9,_0x5d1840){const _0x22881f=_0x5ca373,_0xb712c6=_0x3690c9[_0x22881f(0xdd)][_0x22881f(0xda)](':')[0x2];if(_0xb712c6===_0x5d1840[_0x22881f(0x104)])return null;const _0xf0a97e=_0x5d1840[_0x22881f(0xf9)](_0xb712c6);if(!_0xf0a97e)return{'id':_0xb712c6,'classes':[]};return{'id':_0xb712c6,'classes':[_0x22881f(0xcb),_0xf0a97e[_0x22881f(0xea)][_0x22881f(0xe6)]()],'attributes':{'data-session-id':_0xb712c6},'priority':0x7d0+_0xf0a97e[_0x22881f(0x14a)]};}(_0x436f1b,_0x20aa7a)}),function(_0x1afdaa){const _0x1ab1cb=_0x5ca373,_0x332b3a=_0x1afdaa[_0x1ab1cb(0xfb)],_0x41e8db=new Map(),_0x1230d9=_0x1afdaa[_0x1ab1cb(0x11b)][_0x1ab1cb(0xce)](_0x2043e3);_0x332b3a[_0x1ab1cb(0xf8)]['on'](_0x1ab1cb(0x111),(_0x4c449f,_0x16650b,_0x1024f5,_0xf2789c)=>{const _0xa35bb7=_0x1ab1cb;if(!_0xf2789c&&_0x41e8db[_0xa35bb7(0xce)](_0x16650b[_0xa35bb7(0x146)]))return _0x41e8db[_0xa35bb7(0xce)](_0x16650b[_0xa35bb7(0x146)])[_0xa35bb7(0x12f)](),void _0x41e8db[_0xa35bb7(0xcc)](_0x16650b[_0xa35bb7(0x146)]);const _0x4f2f7b=_0x16650b[_0xa35bb7(0x146)][_0xa35bb7(0xda)](':')[0x2];if(_0x4f2f7b===_0x1230d9[_0xa35bb7(0x104)])return;const _0x292768=_0xa35bb7(0x14c)+_0x4f2f7b;_0x332b3a[_0xa35bb7(0xf8)][_0xa35bb7(0x14b)](_0x292768)&&_0x1afdaa[_0xa35bb7(0x109)][_0xa35bb7(0x134)](_0x292768),_0x16650b['on'](_0xa35bb7(0xd3),(_0x183f2e,_0x1954fc,_0x276776)=>{const _0x4b394d=_0xa35bb7;if(_0x4b394d(0x13b)!=_0x1954fc[_0x4b394d(0x11a)][_0x4b394d(0x13e)]&&_0x4b394d(0x13b)==_0x16650b[_0x4b394d(0x13f)]()[_0x4b394d(0x11a)][_0x4b394d(0x13e)]&&!_0x41e8db[_0x4b394d(0x14b)](_0x16650b[_0x4b394d(0x146)])){const _0x138c5e=_0x332b3a[_0x4b394d(0xe4)][_0x4b394d(0x130)](_0x276776[_0x4b394d(0x118)]);if(_0x138c5e){const _0x4b9da9=_0x20c4ec[_0x4b394d(0x123)](_0x138c5e);_0x41e8db[_0x4b394d(0x128)](_0x16650b[_0x4b394d(0x146)],_0x4b9da9),_0x4b9da9['on'](_0x4b394d(0xd3),(_0x83faf6,_0x3cf733,_0x164c33)=>{const _0x281cb9=_0x4b394d;if(_0x281cb9(0x13b)==_0x4b9da9[_0x281cb9(0x11a)][_0x281cb9(0x13e)]){const _0x447000=_0x332b3a[_0x281cb9(0xe4)][_0x281cb9(0x130)](_0x164c33[_0x281cb9(0x118)]);_0x447000?(_0x4b9da9[_0x281cb9(0x103)]=_0x447000[_0x281cb9(0x103)],_0x4b9da9[_0x281cb9(0xfe)]=_0x447000[_0x281cb9(0xfe)]):(_0x41e8db[_0x281cb9(0xcc)](_0x16650b[_0x281cb9(0x146)]),_0x4b9da9[_0x281cb9(0x12f)]());}});}}});}),_0x332b3a[_0x1ab1cb(0xcd)]['on'](_0x1ab1cb(0x120),()=>{const _0x2ad692=_0x1ab1cb;_0x41e8db[_0x2ad692(0xef)]>0x0&&_0x332b3a[_0x2ad692(0xe7)]({'isUndoable':!0x1},_0x5dbce1=>{const _0x797d04=_0x2ad692;for(const [_0x121d32,_0x4003e1]of _0x41e8db)_0x797d04(0x13b)==_0x332b3a[_0x797d04(0xf8)][_0x797d04(0xce)](_0x121d32)[_0x797d04(0x13f)]()[_0x797d04(0x11a)][_0x797d04(0x13e)]&&(te(_0x121d32[_0x797d04(0xda)](':')[0x2],_0x4003e1[_0x797d04(0xf4)](),_0x332b3a,_0x5dbce1),_0x4003e1[_0x797d04(0x12f)]());_0x41e8db[_0x797d04(0x144)]();});});}(_0x3e12aa),this[_0x5ca373(0x12b)][_0x5ca373(0x142)](_0x5671fe[_0x5ca373(0xcd)],_0x5ca373(0x10f),(_0x30dac4,{key:_0x4a8336})=>{const _0x4d7c86=_0x5ca373;_0x4d7c86(0x149)===_0x4a8336&&function(_0x3ba0ca){const _0x14e202=_0x4d7c86;_0x3ba0ca[_0x14e202(0x109)][_0x14e202(0x117)][_0x14e202(0x120)](_0x1613c1=>{const _0x4203a4=_0x14e202;for(const _0x1d19a6 of _0x3ba0ca[_0x4203a4(0xfb)][_0x4203a4(0xf8)]){if(!_0x1d19a6[_0x4203a4(0x146)][_0x4203a4(0x116)](_0x4203a4(0xdb)))continue;const _0xd3a045=_0x3ba0ca[_0x4203a4(0x109)][_0x4203a4(0xeb)][_0x4203a4(0x10a)](_0x1d19a6[_0x4203a4(0x146)]);if(_0xd3a045){for(const _0xac8ba2 of _0xd3a045)_0x1613c1[_0x4203a4(0xe8)](_0x4203a4(0xf1),_0xac8ba2);}}});}(_0x3e12aa);},{'useCapture':!0x0});}[_0x5a0759(0x12d)](){const _0x14f725=_0x5a0759,_0x2259c2=this[_0x14f725(0xec)],_0x491cb7=_0x2259c2[_0x14f725(0xd7)][_0x14f725(0xce)](_0x14f725(0x147));_0x491cb7&&_0x2259c2[_0x14f725(0xfb)]['on'](_0x14f725(0x10b),(_0x491cab,_0x17a961)=>{const _0x4807db=_0x14f725,_0x3f1b14=_0x17a961[0x0];if(_0x4807db(0x136)!=_0x3f1b14[_0x4807db(0x106)]||!_0x3f1b14[_0x4807db(0x146)][_0x4807db(0x116)](_0x4807db(0x105)))return;const _0xf0705c=_0x3f1b14[_0x4807db(0x11d)];_0x491cb7[_0x4807db(0xd8)][_0x4807db(0x14b)](_0xf0705c)&&(_0x3f1b14[_0x4807db(0xd2)]=_0x3f1b14[_0x4807db(0x10c)]?_0x2259c2[_0x4807db(0xfb)][_0x4807db(0xcf)](_0x3f1b14[_0x4807db(0x10c)][_0x4807db(0x103)],_0x3f1b14[_0x4807db(0x10c)][_0x4807db(0xfe)]):null);},{'priority':_0x14f725(0xd0)});}[_0x5a0759(0xf2)](){const _0x1d92c4=_0x5a0759;return this[_0x1d92c4(0x12b)][_0x1d92c4(0x139)](),super[_0x1d92c4(0xf2)]();}[_0x5a0759(0x102)](){const _0x3af3e9=_0x5a0759,_0x29ee48=this[_0x3af3e9(0xec)],_0x55e7ee=_0x29ee48[_0x3af3e9(0xfb)][_0x3af3e9(0xcd)],_0x5437f6=_0x29ee48[_0x3af3e9(0x11b)][_0x3af3e9(0xce)](_0x2043e3);_0x29ee48[_0x3af3e9(0xfb)][_0x3af3e9(0xe7)]({'isUndoable':!0x1},_0x2ac58d=>{const _0x414ac6=_0x3af3e9,_0x500f04=_0x414ac6(0x13d)+_0x5437f6[_0x414ac6(0x104)],_0x46a6a3=_0x414ac6(0x14c)+_0x5437f6[_0x414ac6(0x104)],_0x1385bf=_0x29ee48[_0x414ac6(0xfb)][_0x414ac6(0xf8)][_0x414ac6(0x14b)](_0x500f04);_0x29ee48[_0x414ac6(0x109)][_0x414ac6(0x117)][_0x414ac6(0xfd)]?te(_0x5437f6[_0x414ac6(0x104)],_0x55e7ee[_0x414ac6(0x124)][_0x414ac6(0xf6)](),_0x29ee48[_0x414ac6(0xfb)],_0x2ac58d):_0x1385bf&&(_0x2ac58d[_0x414ac6(0x137)](_0x500f04),_0x2ac58d[_0x414ac6(0x137)](_0x46a6a3));});}}function te(_0x7da5b4,_0x3d0447,_0x49f9ef,_0x575479){const _0x545421=_0x5a0759,_0x12ddcc=_0x545421(0x13d)+_0x7da5b4,_0x365bd8=_0x545421(0x14c)+_0x7da5b4,_0x2f9eed=_0x3d0447[_0x545421(0x10d)]();let _0x1d3d79=_0x3d0447[_0x545421(0x103)];_0x2f9eed&&_0x2f9eed['is'](_0x545421(0xe0),_0x545421(0x135))&&(_0x1d3d79=function(_0x24abb8,_0x4f99b6){const _0x2a1f61=_0x545421;for(const _0x2d86b0 of _0x24abb8[_0x2a1f61(0x132)]())if(_0x4f99b6[_0x2a1f61(0xe4)][_0x2a1f61(0xee)](_0x2d86b0,_0x2a1f61(0xdf)))return _0x2d86b0;}(_0x3d0447,_0x49f9ef),_0x3d0447=_0x575479[_0x545421(0xcf)](_0x1d3d79));const _0x366e6a=_0x575479[_0x545421(0xcf)](_0x1d3d79);_0x49f9ef[_0x545421(0xf8)][_0x545421(0x14b)](_0x12ddcc)?(_0x575479[_0x545421(0x115)](_0x12ddcc,{'range':_0x3d0447}),_0x575479[_0x545421(0x115)](_0x365bd8,{'range':_0x366e6a})):(_0x575479[_0x545421(0x122)](_0x12ddcc,{'range':_0x3d0447,'usingOperation':!0x0}),_0x575479[_0x545421(0x122)](_0x365bd8,{'range':_0x366e6a,'usingOperation':!0x0}));}function _0x283a(){const _0x43d99=['mapper','editor','innerHTML','checkChild','size','isOfficialPlugin','ck-user__marker_hovered','destroy','isLimit','toRange','requires','getFirstRange','markerToHighlight','markers','getUserBySessionId','mouseleave','model','classList','hasDomSelection','end','78SdtDxH','remove','UserMarkers','createUserMarkerOperations','start','mySessionId','user:','type','parent','11shJsCh','editing','markerNameToElements','applyOperation','oldRange','getContainedElement','setCustomProperty','keydown','22391710cgcaAa','update:user:range','<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>','contenteditable','nodeAfter','updateMarker','startsWith','view','deletionPosition','6851421izlxnM','root','plugins','createUIElement','batch','1808276mXrWvK','6tsFyHw','change','markerToElement','addMarker','fromRange','selection','init','isObject','data-session-id','set','markerRange','getCustomProperty','_domEmitter','editingDowncast','afterInit','span','detach','getNearestSelectionRange','isSimilar','getPositions','524350WcnTxD','reconvertMarker','tableCell','marker','removeMarker','for','stopListening','render','$graveyard','add','user:range:','rootName','getRange','getMarkerClass','addEventListener','listenTo','isInline','clear','608237AMYlCe','name','undo','toDomElement','Escape','orderNumber','has','user:position:','conversion','</span>','mouseenter','ck-user__selection','delete','document','get','createRange','highest','3076qfPnNT','newRange','change:range','979021bWATAG','getStart','hasContent','commands','_createdBatches','user:range','split','user:position','pluginName','markerName','userPositionMarker','$text','element','isCollapsed','ck-user__marker\x20','112paUgCq','schema','isPremiumPlugin','getSelectionClass','enqueueChange','removeClass','getAttribute','color'];_0x283a=function(){return _0x43d99;};return _0x283a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18b9a6=_0x28f6;(function(_0xab39d8,_0x74882d){const _0x3e940a=_0x28f6,_0x4eafaa=_0xab39d8();while(!![]){try{const _0x92813a=parseInt(_0x3e940a(0x1ae))/0x1*(-parseInt(_0x3e940a(0x185))/0x2)+-parseInt(_0x3e940a(0x18f))/0x3+parseInt(_0x3e940a(0x1be))/0x4*(parseInt(_0x3e940a(0x1af))/0x5)+parseInt(_0x3e940a(0x1c4))/0x6*(parseInt(_0x3e940a(0x1bd))/0x7)+parseInt(_0x3e940a(0x187))/0x8*(-parseInt(_0x3e940a(0x1a6))/0x9)+-parseInt(_0x3e940a(0x1c5))/0xa+parseInt(_0x3e940a(0x195))/0xb;if(_0x92813a===_0x74882d)break;else _0x4eafaa['push'](_0x4eafaa['shift']());}catch(_0x44cbc5){_0x4eafaa['push'](_0x4eafaa['shift']());}}}(_0x3ddb,0x7123e));import{ContextPlugin as _0x55e3ba}from'ckeditor5/src/core.js';function _0x3ddb(){const _0x24ce2f=['webSocketUrl','listenTo','cloudServices.connectionTimeout','from','online','websocketgateway-missing-token','get','1400949MbWRfu','error','websocketgateway-missing-websocket-url','initialReconnectionInterval','pluginName','constructor','6551974HOkHUL','addToReconnectionStack','Connected\x20users\x20limit\x20exceeded','offline','WebSocketGateway','cloudServices.requestTimeout','then','destroy','DISCONNECTED','token','connect','config','_reconnect','has','_reconnectionStack','_isBrowserOffline','function','9YNpUYF','CONNECTED','define','limitExceeded','stopListening','websocketgateway-plugin-already-registered','isPremiumPlugin','removeFromReconnectionStack','1883aasOvL','3330lCMeyj','state','connected','set','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.','delete','add','_shouldPluginsReconnect','context','_domEmitter','isInReconnectionStack','catch','websocketgateway-invalid-plugin-interface','isOfficialPlugin','140QjwOtQ','4912eIxSpN','plugins','CloudServices','bind','requires','cloudservices-init','179076KXOyyG','2859790JzkXEH','connection','reconnect','change:me','code','showWarning','real-time-collaboration','CONNECTING','cloudservices-reconnection-error','create','disconnect','all','70qxWPUC','init','5824904VNcEaN'];_0x3ddb=function(){return _0x24ce2f;};return _0x3ddb();}import{DomEmitterMixin as _0x30471a,CKEditorError as _0x81eee5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5504fc,WEB_SOCKET_GATEWAY_STATES as _0x497379}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x81aa0b}from'ckeditor5/src/ui.js';class c extends _0x55e3ba{static get[_0x18b9a6(0x1c2)](){const _0x227b25=_0x18b9a6;return[_0x227b25(0x1c0),_0x81aa0b];}static get[_0x18b9a6(0x193)](){const _0x4f8dec=_0x18b9a6;return _0x4f8dec(0x199);}static get[_0x18b9a6(0x1bc)](){return!0x0;}static get[_0x18b9a6(0x1ac)](){return!0x0;}constructor(_0x500b4c){const _0x37563d=_0x18b9a6;super(_0x500b4c),this[_0x37563d(0x1b2)](_0x37563d(0x1b0),_0x497379[_0x37563d(0x1a7)]),this[_0x37563d(0x1b2)](_0x37563d(0x1a4),!0x1),this[_0x37563d(0x1a3)]=new Set(),this[_0x37563d(0x1b6)]=!0x1,this[_0x37563d(0x1b8)]=Object[_0x37563d(0x182)](_0x30471a);}[_0x18b9a6(0x186)](){const _0x1d5f3d=_0x18b9a6,_0xceaec6=this[_0x1d5f3d(0x1b7)],_0x3f00ea=_0xceaec6[_0x1d5f3d(0x1bf)][_0x1d5f3d(0x18e)](_0x1d5f3d(0x1c0)),_0x66438b=_0xceaec6[_0x1d5f3d(0x1bf)][_0x1d5f3d(0x18e)](_0x81aa0b);if(!_0x3f00ea[_0x1d5f3d(0x19e)])throw new _0x81eee5(_0x1d5f3d(0x18d),this);if(!_0x3f00ea[_0x1d5f3d(0x188)])throw new _0x81eee5(_0x1d5f3d(0x191),this);return this[_0x1d5f3d(0x1b8)][_0x1d5f3d(0x189)](window,_0x1d5f3d(0x198),()=>this[_0x1d5f3d(0x1a4)]=!0x0),this[_0x1d5f3d(0x1b8)][_0x1d5f3d(0x189)](window,_0x1d5f3d(0x18c),()=>this[_0x1d5f3d(0x1a4)]=!0x1),this[_0x1d5f3d(0x1b7)][_0x1d5f3d(0x1a0)][_0x1d5f3d(0x1a8)](_0x1d5f3d(0x18a),0xa),this[_0x1d5f3d(0x1b7)][_0x1d5f3d(0x1a0)][_0x1d5f3d(0x1a8)](_0x1d5f3d(0x19a),0x14),c[_0x1d5f3d(0x199)][_0x1d5f3d(0x19f)](_0x3f00ea[_0x1d5f3d(0x19e)],_0x3f00ea[_0x1d5f3d(0x188)],{'timeout':0x3e8*this[_0x1d5f3d(0x1b7)][_0x1d5f3d(0x1a0)][_0x1d5f3d(0x18e)](_0x1d5f3d(0x18a)),'requestTimeout':0x3e8*this[_0x1d5f3d(0x1b7)][_0x1d5f3d(0x1a0)][_0x1d5f3d(0x18e)](_0x1d5f3d(0x19a))})[_0x1d5f3d(0x19b)](_0x28ee8d=>{const _0x40d661=_0x1d5f3d;if(this[_0x40d661(0x1c6)]=_0x28ee8d,this[_0x40d661(0x1c1)](_0x40d661(0x1b0))['to'](_0x28ee8d,_0x40d661(0x1b0),this,_0x40d661(0x1a4),(_0x5127d6,_0x3e8466)=>(_0x40d661(0x1b1)!==_0x5127d6&&(this[_0x40d661(0x1b6)]=!0x0),_0x3e8466||_0x5127d6!==_0x497379[_0x40d661(0x1a7)]?_0x497379[_0x40d661(0x19d)]:this[_0x40d661(0x1b0)]==_0x497379[_0x40d661(0x19d)]&&this[_0x40d661(0x1b6)]?(this[_0x40d661(0x1b6)]=!0x1,this[_0x40d661(0x1a1)](),_0x497379[_0x40d661(0x180)]):_0x497379[_0x40d661(0x1a7)])),this[_0x40d661(0x1c6)]['on'](_0x40d661(0x190),(_0x223188,_0x2351be)=>{const _0x4c748f=_0x40d661;if(_0x4c748f(0x1a9)!==_0x2351be[_0x4c748f(0x1c9)])throw console[_0x4c748f(0x190)](_0x2351be),new _0x81eee5(_0x4c748f(0x1c3),null,{'originalError':_0x2351be});_0x66438b[_0x4c748f(0x17e)](_0x4c748f(0x1b3),{'title':_0x4c748f(0x197),'namespace':_0x4c748f(0x17f)});}),!_0x28ee8d['me'])return new Promise(_0x2a7f69=>_0x28ee8d['on'](_0x40d661(0x1c8),_0x2a7f69));})[_0x1d5f3d(0x1ba)](_0x4048a2=>{const _0x246eef=_0x1d5f3d;throw console[_0x246eef(0x190)](_0x4048a2),new _0x81eee5(_0x246eef(0x1c3),null,{'originalError':_0x4048a2});});}[_0x18b9a6(0x196)](_0x20db1c){const _0x536007=_0x18b9a6;if(_0x536007(0x1a5)!=typeof _0x20db1c[_0x536007(0x1c7)])throw new _0x81eee5(_0x536007(0x1bb),this);if(this[_0x536007(0x1b9)](_0x20db1c))throw new _0x81eee5(_0x536007(0x1ab),this,{'name':_0x20db1c[_0x536007(0x194)][_0x536007(0x193)]});this[_0x536007(0x1a3)][_0x536007(0x1b5)](_0x20db1c);}[_0x18b9a6(0x1ad)](_0x271ea9){const _0x4a929b=_0x18b9a6;this[_0x4a929b(0x1a3)][_0x4a929b(0x1b4)](_0x271ea9);}[_0x18b9a6(0x1b9)](_0x358fb0){const _0x5812d1=_0x18b9a6;return this[_0x5812d1(0x1a3)][_0x5812d1(0x1a2)](_0x358fb0);}[_0x18b9a6(0x1a1)](){const _0x21c504=_0x18b9a6;return this[_0x21c504(0x1c6)][_0x21c504(0x1c7)]()[_0x21c504(0x19b)](()=>Promise[_0x21c504(0x184)](Array[_0x21c504(0x18b)](this[_0x21c504(0x1a3)],_0x5a8caa=>_0x5a8caa[_0x21c504(0x1c7)]())))[_0x21c504(0x19b)](()=>this[_0x21c504(0x1b0)]=_0x497379[_0x21c504(0x1a7)])[_0x21c504(0x1ba)](_0x2942da=>{const _0x5ad5a7=_0x21c504;throw console[_0x5ad5a7(0x190)](_0x2942da),new _0x81eee5(_0x5ad5a7(0x181),this[_0x5ad5a7(0x1b7)]);});}[_0x18b9a6(0x19c)](){const _0x22e625=_0x18b9a6;this[_0x22e625(0x1c6)]&&this[_0x22e625(0x1c6)][_0x22e625(0x183)](),this[_0x22e625(0x1b0)]=_0x497379[_0x22e625(0x19d)],this[_0x22e625(0x1b8)][_0x22e625(0x1aa)](),super[_0x22e625(0x19c)]();}}c[_0x18b9a6(0x199)]=_0x5504fc,c[_0x18b9a6(0x192)]=0x3e8;function _0x28f6(_0x3e0bb8,_0x267798){const _0x3ddbd1=_0x3ddb();return _0x28f6=function(_0x28f68e,_0x286c6f){_0x28f68e=_0x28f68e-0x17e;let _0x1bf007=_0x3ddbd1[_0x28f68e];return _0x1bf007;},_0x28f6(_0x3e0bb8,_0x267798);}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x59ccbd=_0x2900;(function(_0x4805b6,_0x10d5d0){var _0x5c29a7=_0x2900,_0x151dc3=_0x4805b6();while(!![]){try{var _0x46e19a=-parseInt(_0x5c29a7(0x1ce))/0x1+parseInt(_0x5c29a7(0x1d2))/0x2*(-parseInt(_0x5c29a7(0x1d6))/0x3)+parseInt(_0x5c29a7(0x1c9))/0x4+parseInt(_0x5c29a7(0x1cc))/0x5*(-parseInt(_0x5c29a7(0x1cd))/0x6)+-parseInt(_0x5c29a7(0x1d3))/0x7*(-parseInt(_0x5c29a7(0x1c7))/0x8)+-parseInt(_0x5c29a7(0x1d4))/0x9*(parseInt(_0x5c29a7(0x1c8))/0xa)+parseInt(_0x5c29a7(0x1ca))/0xb;if(_0x46e19a===_0x10d5d0)break;else _0x151dc3['push'](_0x151dc3['shift']());}catch(_0x18af25){_0x151dc3['push'](_0x151dc3['shift']());}}}(_0x37cb,0xbcf05));function _0x2900(_0x363541,_0x4e51a0){var _0x37cb3b=_0x37cb();return _0x2900=function(_0x2900cd,_0x28ac26){_0x2900cd=_0x2900cd-0x1c7;var _0x2e9311=_0x37cb3b[_0x2900cd];return _0x2e9311;},_0x2900(_0x363541,_0x4e51a0);}import{Plugin as _0x31d177}from'ckeditor5/src/core.js';function _0x37cb(){var _0x5722f4=['7zqACvJ','9mIcvgf','requires','3OVZegy','10577312xDvGzo','7701630jzMeDN','3798020FTRZou','32228702TCYuPn','pluginName','5YjCGSY','5413722wzqkPG','1470805MoIUVf','RealTimeCollaborativeEditing','isPremiumPlugin','isOfficialPlugin','2568806WArdXS'];_0x37cb=function(){return _0x5722f4;};return _0x37cb();}import _0x1f589a from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x31d177{static get[_0x59ccbd(0x1d5)](){return[_0x1f589a];}static get[_0x59ccbd(0x1cb)](){var _0x2f5bd7=_0x59ccbd;return _0x2f5bd7(0x1cf);}static get[_0x59ccbd(0x1d1)](){return!0x0;}static get[_0x59ccbd(0x1d0)](){return!0x0;}}
|