@ckeditor/ckeditor5-real-time-collaboration 43.3.0 → 43.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x1e9cee=_0x550e;function _0x50df(){const _0x244f50=['_fetchMissingUsersForThreads','CloudServicesCommentsAdapter','resolvedBy','180963madaYS','getMany','isPremiumPlugin','update','resolvedAt','setPermissions','connect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentUpdated','Permissions','47523dnRYfZ','commentThreadAdded','size','addToReconnectionStack','_services','assign','permissions','cloud-services-internal-error:\x20Not\x20connected.','commentThreadId','addCommentThread','isOfficialPlugin','commentAdded','getCommentThread','context','reopen','commentRemoved','updateComment','map','mySessionId','code','reopenCommentThread','3226788zlWvsd','4lkunux','resolve','addComment','from','404','commentThreadReopened','commentThreadResolved','removeComment','getCommentThreads','reconnect','CommentsRepository','getConnectedSessions','sessionAdd:','232AJbIXq','attributes','2983CUKnJZ','register','message','get','authorId','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','content','_connectService','plugins','getUser','off','1567865NqObqj','keys','453939ZelNGU','_setUpService','adapter','disconnect','removeCommentThread','add','delete','commentThreadRemoved','cloudservicescommentsadapter-service-not-exist','config','set','getComment','catch','_terminateService','resolveCommentThread','remove','listenTo','commentId','pluginName','cloudservicescommentsadapter-disconnect-not-exist','commentThreadUpdated','startsWith','requires','has','init','addUser','330510gKoclo','userId','unregister','destroy','collaboration.channelId','cloudservicescommentsadapter-connect-already-connected','_getService','comments','CommentsService','130CTabXB','deletedAt','updateCommentThread'];_0x50df=function(){return _0x244f50;};return _0x50df();}(function(_0x41ec3e,_0x194e15){const _0x5333be=_0x550e,_0x429be4=_0x41ec3e();while(!![]){try{const _0x4793dc=parseInt(_0x5333be(0xde))/0x1+-parseInt(_0x5333be(0x106))/0x2+parseInt(_0x5333be(0xec))/0x3+parseInt(_0x5333be(0x135))/0x4*(-parseInt(_0x5333be(0xea))/0x5)+parseInt(_0x5333be(0x134))/0x6+-parseInt(_0x5333be(0x11f))/0x7*(parseInt(_0x5333be(0xdc))/0x8)+parseInt(_0x5333be(0x115))/0x9*(parseInt(_0x5333be(0x10f))/0xa);if(_0x4793dc===_0x194e15)break;else _0x429be4['push'](_0x429be4['shift']());}catch(_0x7e960b){_0x429be4['push'](_0x429be4['shift']());}}}(_0x50df,0x43d10));function _0x550e(_0x50c524,_0x8afa39){const _0x50df0c=_0x50df();return _0x550e=function(_0x550ef7,_0x33c0f0){_0x550ef7=_0x550ef7-0xd6;let _0x457d9e=_0x50df0c[_0x550ef7];return _0x457d9e;},_0x550e(_0x50c524,_0x8afa39);}import{Context as _0x26ea1,ContextPlugin as _0x27b638}from'ckeditor5/src/core.js';import{CKEditorError as _0x5b4129}from'ckeditor5/src/utils.js';import{Users as _0x4dfdfd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x15e35d,User as _0x4a4473}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x15c38c from'../realtimecollaborativeediting/websocketgateway.js';import _0x461e25 from'../realtimecollaborativeediting/sessions.js';class a extends _0x27b638{static get[_0x1e9cee(0x102)](){const _0x210eb6=_0x1e9cee;return[_0x15c38c,_0x210eb6(0xd9),_0x461e25,_0x4dfdfd];}static get[_0x1e9cee(0xfe)](){const _0x1457b5=_0x1e9cee;return _0x1457b5(0x113);}static get[_0x1e9cee(0x129)](){return!0x0;}static get[_0x1e9cee(0x117)](){return!0x0;}constructor(_0x24ef52){const _0x4fac33=_0x1e9cee;super(_0x24ef52),this[_0x4fac33(0x123)]=new Map();}async[_0x1e9cee(0x104)](){const _0x2bf6e2=_0x1e9cee,_0x43d1a0=this[_0x2bf6e2(0x12c)],_0x54e5ba=_0x43d1a0[_0x2bf6e2(0xe7)][_0x2bf6e2(0xe1)](_0x2bf6e2(0xd9));if(_0x43d1a0[_0x2bf6e2(0xe7)][_0x2bf6e2(0xe1)](_0x15c38c)[_0x2bf6e2(0x122)](this),_0x54e5ba[_0x2bf6e2(0xee)]={'addCommentThread':async({channelId:_0x56c071,threadId:_0x4d7316,comments:_0x56be9b,resolvedAt:_0x4eda07,resolvedBy:_0x2de7f5,context:_0x5a14eb,attributes:_0x2d824b})=>{const _0x5f5253=_0x2bf6e2,_0x19561=await this[_0x5f5253(0x10c)](_0x56c071)[_0x5f5253(0x128)]({'commentThreadId':_0x4d7316,'comments':_0x56be9b[_0x5f5253(0x130)](_0x17b789=>function(_0x41d75e,_0x40e005,_0x20eb64){const _0x4ea72e=_0x5f5253;return{'commentThreadId':_0x20eb64,'commentId':_0x41d75e[_0x4ea72e(0xfd)],'userId':_0x41d75e[_0x4ea72e(0xe2)],'content':_0x41d75e[_0x4ea72e(0xe5)],'documentId':_0x40e005,'createdAt':_0x41d75e[_0x4ea72e(0xe3)],'attributes':_0x41d75e[_0x4ea72e(0xdd)]||{}};}(_0x17b789,_0x56c071,_0x4d7316)),'resolvedAt':_0x4eda07,'resolvedBy':_0x2de7f5,'context':_0x5a14eb,'attributes':_0x2d824b})[_0x5f5253(0xf8)](R);return{'threadId':_0x19561[_0x5f5253(0x127)],'comments':_0x19561[_0x5f5253(0x10d)]};},'getCommentThread':async({channelId:_0x248f92,threadId:_0x4f812e})=>{const _0x285574=_0x2bf6e2,_0x280284=await this[_0x285574(0x10c)](_0x248f92)[_0x285574(0x12b)](_0x4f812e)[_0x285574(0xf8)](R);return _0x280284[_0x285574(0x110)]?null:(await this[_0x285574(0x112)]([_0x280284]),{'threadId':_0x280284[_0x285574(0x127)],'comments':_0x280284[_0x285574(0x10d)][_0x285574(0x130)](S),'context':_0x280284[_0x285574(0x12c)],'resolvedAt':_0x280284[_0x285574(0x119)],'resolvedBy':_0x280284[_0x285574(0x114)],'attributes':_0x280284[_0x285574(0xdd)]||{}});},'updateCommentThread':async({channelId:_0x425560,threadId:_0x488285,context:_0x4e70ba,unlinkedAt:_0x4ac1da,attributes:_0x182652})=>this[_0x2bf6e2(0x10c)](_0x425560)[_0x2bf6e2(0x111)]({'commentThreadId':_0x488285,'context':_0x4e70ba,'attributes':_0x182652,'unlinkedAt':_0x4ac1da})[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'resolveCommentThread':async({channelId:_0x507554,threadId:_0x46cafa})=>{const _0x398827=_0x2bf6e2,_0x450cda=await this[_0x398827(0x10c)](_0x507554)[_0x398827(0xfa)](_0x46cafa)[_0x398827(0xf8)](B)[_0x398827(0xf8)](R);return{'threadId':_0x450cda[_0x398827(0x127)],'resolvedAt':_0x450cda[_0x398827(0x119)],'resolvedBy':_0x450cda[_0x398827(0x114)]};},'reopenCommentThread':async({channelId:_0x3cb999,threadId:_0x1d90e8})=>this[_0x2bf6e2(0x10c)](_0x3cb999)[_0x2bf6e2(0x133)](_0x1d90e8)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'removeCommentThread':({channelId:_0x2cdc0a,threadId:_0x1134e4})=>this[_0x2bf6e2(0x10c)](_0x2cdc0a)[_0x2bf6e2(0xf0)](_0x1134e4)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'addComment':({channelId:_0x578508,threadId:_0x30f368,commentId:_0x119c36,content:_0x757006,attributes:_0x5e63af})=>this[_0x2bf6e2(0x10c)](_0x578508)[_0x2bf6e2(0x137)](_0x30f368,_0x119c36,_0x757006,_0x5e63af)[_0x2bf6e2(0xf8)](R),'updateComment':({channelId:_0x3d88a7,threadId:_0x22c67b,commentId:_0x31e06f,content:_0x3ba70f,attributes:_0x10af69})=>this[_0x2bf6e2(0x10c)](_0x3d88a7)[_0x2bf6e2(0x12f)](_0x22c67b,_0x31e06f,_0x3ba70f,_0x10af69)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'removeComment':({channelId:_0xe0fec1,threadId:_0x4f22b4,commentId:_0x1581bf})=>this[_0x2bf6e2(0x10c)](_0xe0fec1)[_0x2bf6e2(0xd6)](_0x4f22b4,_0x1581bf)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R)},_0x43d1a0 instanceof _0x26ea1){const _0x2db835=_0x43d1a0[_0x2bf6e2(0xf5)][_0x2bf6e2(0xe1)](_0x2bf6e2(0x10a)),_0x1494f7=_0x43d1a0[_0x2bf6e2(0xe7)][_0x2bf6e2(0xe1)](_0x461e25);await this[_0x2bf6e2(0xed)](_0x2db835);const _0x5576e3=await this[_0x2bf6e2(0x123)][_0x2bf6e2(0xe1)](_0x2db835)[_0x2bf6e2(0xda)]();this[_0x2bf6e2(0xfc)](_0x1494f7,_0x2bf6e2(0xdb)+_0x2db835,(_0x23bec3,{session:_0x32225c})=>{const _0x3ae6cc=_0x2bf6e2;_0x32225c['id']===_0x1494f7[_0x3ae6cc(0x131)]&&(_0x23bec3[_0x3ae6cc(0xe9)](),this[_0x3ae6cc(0x12c)][_0x3ae6cc(0xe7)][_0x3ae6cc(0xe1)](_0x3ae6cc(0x11e))[_0x3ae6cc(0x11a)](_0x32225c[_0x3ae6cc(0x125)],_0x2db835));}),_0x1494f7[_0x2bf6e2(0xdf)](_0x2db835,_0x5576e3);}}async[_0x1e9cee(0xed)](_0x595840){const _0x14d0d4=_0x1e9cee;if(this[_0x14d0d4(0x123)][_0x14d0d4(0x103)](_0x595840))throw new _0x5b4129(_0x14d0d4(0x10b),null,{'channelId':_0x595840});const _0x5256bb=this[_0x14d0d4(0x12c)][_0x14d0d4(0xe7)][_0x14d0d4(0xe1)](_0x14d0d4(0xd9)),_0x44b91c=new a[(_0x14d0d4(0x10e))](_0x595840);this[_0x14d0d4(0x123)][_0x14d0d4(0xf6)](_0x595840,_0x44b91c),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x120),(_0x199770,_0x429933)=>{const _0x40cd0d=_0x14d0d4,{commentThreadId:_0x1a0a47,documentId:_0x10b330,context:_0x16ec9c,attributes:_0x8d4c23,resolvedAt:_0x245899,resolvedBy:_0xaa7d35,comments:_0x459386}=_0x429933;_0x5256bb[_0x40cd0d(0x12b)](_0x1a0a47)||_0x5256bb[_0x40cd0d(0x128)]({'threadId':_0x1a0a47,'channelId':_0x10b330,'comments':_0x459386?_0x459386[_0x40cd0d(0x130)](S):[],'context':_0x16ec9c,'attributes':_0x8d4c23,'resolvedAt':_0x245899,'resolvedBy':_0xaa7d35,'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x100),(_0x3a6717,{commentThreadId:_0x56905,documentId:_0x250f1b,context:_0x2ac7ee,unlinkedAt:_0x18786f,attributes:_0x13accf})=>{const _0x35428b=_0x14d0d4;_0x5256bb[_0x35428b(0x12b)](_0x56905)&&_0x5256bb[_0x35428b(0x111)]({'threadId':_0x56905,'channelId':_0x250f1b,'context':_0x2ac7ee,'unlinkedAt':_0x18786f,'attributes':_0x13accf,'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x13b),(_0x561c55,{commentThreadId:_0x41002b,resolvedBy:_0x31f459,resolvedAt:_0x4996d8})=>{const _0x4b5f81=_0x14d0d4,_0x4c15c0=_0x5256bb[_0x4b5f81(0x12b)](_0x41002b);_0x4c15c0&&_0x4c15c0[_0x4b5f81(0x136)]({'resolvedBy':_0x31f459,'resolvedAt':_0x4996d8,'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x13a),(_0x786289,{commentThreadId:_0xa9c4fe})=>{const _0x14189c=_0x14d0d4,_0x7e2dfe=_0x5256bb[_0x14189c(0x12b)](_0xa9c4fe);_0x7e2dfe&&_0x7e2dfe[_0x14189c(0x12d)]({'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0xf3),(_0x33c4b9,{commentThreadId:_0x22f112})=>{const _0x44faf8=_0x14d0d4,_0x1b4f0e=_0x5256bb[_0x44faf8(0x12b)](_0x22f112);_0x1b4f0e&&_0x1b4f0e[_0x44faf8(0xfb)]({'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x12a),(_0x1d6726,_0x9799fa)=>{const _0x384aa4=_0x14d0d4,_0x49d78d=_0x9799fa[_0x384aa4(0x127)],_0xfb0723=_0x5256bb[_0x384aa4(0x12b)](_0x49d78d);_0xfb0723&&_0xfb0723[_0x384aa4(0x137)]({...S(_0x9799fa),'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x11d),(_0x23da99,{commentThreadId:_0x550525,commentId:_0x17119e,content:_0x2a1de2,attributes:_0x466bd8})=>{const _0x18c2d8=_0x14d0d4,_0xdc1c4a=_0x5256bb[_0x18c2d8(0x12b)](_0x550525);if(_0xdc1c4a){const _0xd4f6df=_0xdc1c4a[_0x18c2d8(0xf7)](_0x17119e);_0xd4f6df&&_0xd4f6df[_0x18c2d8(0x118)]({'content':_0x2a1de2,'attributes':_0x466bd8,'isFromAdapter':!0x0});}}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x12e),(_0x3fc44a,{commentThreadId:_0x5a6313,commentId:_0x274de7})=>{const _0xfe3b16=_0x14d0d4,_0x4034ad=_0x5256bb[_0xfe3b16(0x12b)](_0x5a6313);if(_0x4034ad){const _0x2491a5=_0x4034ad[_0xfe3b16(0xf7)](_0x274de7);_0x2491a5&&_0x2491a5[_0xfe3b16(0xfb)]({'isFromAdapter':!0x0});}}),await this[_0x14d0d4(0xe6)](_0x595840);}[_0x1e9cee(0x109)](){const _0x2b2ece=_0x1e9cee;if(this[_0x2b2ece(0x12c)]instanceof _0x26ea1){const _0xa5a1f0=this[_0x2b2ece(0x12c)][_0x2b2ece(0xf5)][_0x2b2ece(0xe1)](_0x2b2ece(0x10a));this[_0x2b2ece(0xf9)](_0xa5a1f0);}}[_0x1e9cee(0xf9)](_0x279cda){const _0x567a36=_0x1e9cee;if(!this[_0x567a36(0x123)][_0x567a36(0x103)](_0x279cda))throw new _0x5b4129(_0x567a36(0xff),null,{'channelId':_0x279cda});this[_0x567a36(0x10c)](_0x279cda)[_0x567a36(0xef)](),this[_0x567a36(0x123)][_0x567a36(0xf2)](_0x279cda);}async[_0x1e9cee(0xd8)](){const _0x29701b=_0x1e9cee;for(const _0x303cd8 of this[_0x29701b(0x123)][_0x29701b(0xeb)]())await this[_0x29701b(0xe6)](_0x303cd8);if(this[_0x29701b(0x12c)]instanceof _0x26ea1){const _0x3406b3=this[_0x29701b(0x12c)][_0x29701b(0xf5)][_0x29701b(0xe1)](_0x29701b(0x10a)),_0x56b73d=this[_0x29701b(0x12c)][_0x29701b(0xe7)][_0x29701b(0xe1)](_0x461e25);_0x56b73d[_0x29701b(0x108)](_0x3406b3);const _0x4f6149=await this[_0x29701b(0x123)][_0x29701b(0xe1)](_0x3406b3)[_0x29701b(0xda)]();_0x56b73d[_0x29701b(0xdf)](_0x3406b3,_0x4f6149);}}async[_0x1e9cee(0xe6)](_0x88a983){const _0x5129bd=_0x1e9cee,{connection:_0x3256dd}=this[_0x5129bd(0x12c)][_0x5129bd(0xe7)][_0x5129bd(0xe1)](_0x15c38c),_0x4cd139=this[_0x5129bd(0x12c)][_0x5129bd(0xe7)][_0x5129bd(0xe1)](_0x5129bd(0xd9)),_0x1dc40a=this[_0x5129bd(0x123)][_0x5129bd(0xe1)](_0x88a983),_0x1c9e95=await _0x1dc40a[_0x5129bd(0x11b)](_0x3256dd);await this[_0x5129bd(0x112)](_0x1c9e95);const _0x3555e4=new Set(Array[_0x5129bd(0x138)](_0x4cd139[_0x5129bd(0xd7)]({'channelId':_0x88a983}),_0xd8cbf5=>_0xd8cbf5['id']));for(const _0x5ef02d of _0x1c9e95)_0x5ef02d[_0x5129bd(0x110)]||_0x3555e4[_0x5129bd(0xf2)](_0x5ef02d[_0x5129bd(0x127)]);for(const _0x4d0940 of _0x3555e4)_0x4cd139[_0x5129bd(0x12b)](_0x4d0940)[_0x5129bd(0xfb)]({'isFromAdapter':!0x0});for(const _0x116eea of _0x1c9e95){let _0x2852bd=_0x4cd139[_0x5129bd(0x12b)](_0x116eea[_0x5129bd(0x127)]);const {commentThreadId:_0x5d501a,context:_0x1d0d35,attributes:_0x1896c3,resolvedBy:_0x1175a7,resolvedAt:_0x1011cd,unlinkedAt:_0x4da13d,deletedAt:_0x583159}=_0x116eea;if(_0x583159)continue;_0x2852bd||(_0x2852bd=_0x4cd139[_0x5129bd(0x128)]({'channelId':_0x88a983,'threadId':_0x5d501a,'context':_0x1d0d35,'attributes':_0x1896c3||{},'resolvedBy':_0x1175a7,'resolvedAt':_0x1011cd,'unlinkedAt':_0x4da13d,'isFromAdapter':!0x0}));const _0x53b8b7=new Set(Array[_0x5129bd(0x138)](_0x2852bd[_0x5129bd(0x10d)],_0x3e644a=>_0x3e644a['id']));for(const _0x239416 of _0x116eea[_0x5129bd(0x10d)])_0x53b8b7[_0x5129bd(0xf2)](_0x239416[_0x5129bd(0xfd)]);for(const _0x460f2c of _0x53b8b7)_0x2852bd[_0x5129bd(0xf7)](_0x460f2c)[_0x5129bd(0xfb)]({'isFromAdapter':!0x0});for(const _0x2ecf3f of _0x116eea[_0x5129bd(0x10d)]){const _0xed6bce=_0x2852bd[_0x5129bd(0xf7)](_0x2ecf3f[_0x5129bd(0xfd)]);_0xed6bce?_0xed6bce[_0x5129bd(0xe5)]!==_0x2ecf3f[_0x5129bd(0xe5)]&&_0xed6bce[_0x5129bd(0x118)]({'content':_0x2ecf3f[_0x5129bd(0xe5)],'isFromAdapter':!0x0}):_0x2852bd[_0x5129bd(0x137)](Object[_0x5129bd(0x124)](S(_0x2ecf3f),{'isFromAdapter':!0x0}));}}}[_0x1e9cee(0x10c)](_0x15d653){const _0x26110e=_0x1e9cee;if(!this[_0x26110e(0x123)][_0x26110e(0x103)](_0x15d653))throw new _0x5b4129(_0x26110e(0xf4),null,{'channelId':_0x15d653});return this[_0x26110e(0x123)][_0x26110e(0xe1)](_0x15d653);}async[_0x1e9cee(0x112)](_0x19a134){const _0x437730=_0x1e9cee,_0x457ace=this[_0x437730(0x12c)][_0x437730(0xe7)][_0x437730(0xe1)](_0x4dfdfd),{connection:_0x15126b}=this[_0x437730(0x12c)][_0x437730(0xe7)][_0x437730(0xe1)](_0x15c38c),_0x2735d4=new Set();for(const {resolvedBy:_0x59ce2c,comments:_0x372d9d}of _0x19a134){_0x59ce2c&&!_0x457ace[_0x437730(0xe8)](_0x59ce2c)&&_0x2735d4[_0x437730(0xf1)](_0x59ce2c);for(const {userId:_0x5e5498}of _0x372d9d)_0x457ace[_0x437730(0xe8)](_0x5e5498)||_0x2735d4[_0x437730(0xf1)](_0x5e5498);}if(0x0===_0x2735d4[_0x437730(0x121)])return;const _0x1f153d=await _0x4a4473[_0x437730(0x116)](_0x15126b,Array[_0x437730(0x138)](_0x2735d4));for(const _0x170411 of _0x1f153d)_0x457ace[_0x437730(0xe8)](_0x170411['id'])||_0x457ace[_0x437730(0x105)](_0x170411);}}a[_0x1e9cee(0x10e)]=_0x15e35d;export default a;async function B(_0x529c13){const _0x385596=_0x1e9cee;if(_0x385596(0x139)!==_0x529c13[_0x385596(0x132)])throw _0x529c13;}function R(_0x14b34f){const _0x2ecb55=_0x1e9cee;if((_0x3f5987=_0x14b34f)[_0x2ecb55(0xe0)][_0x2ecb55(0x101)](_0x2ecb55(0x11c))||_0x3f5987[_0x2ecb55(0xe0)][_0x2ecb55(0x101)](_0x2ecb55(0x126))||_0x3f5987[_0x2ecb55(0xe0)][_0x2ecb55(0x101)](_0x2ecb55(0xe4)))return new Promise(()=>{});var _0x3f5987;throw _0x14b34f;}function S(_0x4382e6){const _0x241e97=_0x1e9cee;return{'threadId':_0x4382e6[_0x241e97(0x127)],'commentId':_0x4382e6[_0x241e97(0xfd)],'content':_0x4382e6[_0x241e97(0xe5)],'createdAt':_0x4382e6[_0x241e97(0xe3)],'authorId':_0x4382e6[_0x241e97(0x107)],'attributes':_0x4382e6[_0x241e97(0xdd)]||{}};}
|
|
23
|
+
const _0x21c3c3=_0x4b97;function _0x4b97(_0x541d19,_0x3f5f8a){const _0x36f3bb=_0x36f3();return _0x4b97=function(_0x4b9783,_0x44995b){_0x4b9783=_0x4b9783-0x79;let _0x4b198f=_0x36f3bb[_0x4b9783];return _0x4b198f;},_0x4b97(_0x541d19,_0x3f5f8a);}(function(_0x24ef9c,_0x14b309){const _0x158cf9=_0x4b97,_0x14eb03=_0x24ef9c();while(!![]){try{const _0x10a61f=-parseInt(_0x158cf9(0xd6))/0x1+parseInt(_0x158cf9(0x85))/0x2+-parseInt(_0x158cf9(0xce))/0x3+-parseInt(_0x158cf9(0x8e))/0x4+-parseInt(_0x158cf9(0xb3))/0x5+parseInt(_0x158cf9(0x7e))/0x6*(parseInt(_0x158cf9(0xd1))/0x7)+parseInt(_0x158cf9(0xd2))/0x8*(parseInt(_0x158cf9(0xc9))/0x9);if(_0x10a61f===_0x14b309)break;else _0x14eb03['push'](_0x14eb03['shift']());}catch(_0x34401f){_0x14eb03['push'](_0x14eb03['shift']());}}}(_0x36f3,0x80bd9));import{Context as _0x247b5b,ContextPlugin as _0x52fa90}from'ckeditor5/src/core.js';import{CKEditorError as _0xec2327}from'ckeditor5/src/utils.js';import{Users as _0x50d769}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x36f3(){const _0x45f66c=['from','commentAdded','getMany','userId','startsWith','CommentsRepository','getConnectedSessions','resolvedAt','config','disconnect','getCommentThreads','removeComment','message','off','listenTo','pluginName','_setUpService','_terminateService','Permissions','_services','updateCommentThread','3357Hyeioo','getUser','removeCommentThread','reconnect','resolveCommentThread','2365734ocwPNy','404','commentThreadUpdated','495376SLfydg','53536zjFPQi','mySessionId','adapter','destroy','251433XNbgbP','reopen','getComment','context','plugins','setPermissions','sessionAdd:','commentRemoved','updateComment','reopenCommentThread','commentUpdated','resolve','connect','36pyHVlm','catch','isPremiumPlugin','register','deletedAt','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','278452rrRuGr','init','get','add','has','size','CommentsService','comments','isOfficialPlugin','1782700kfWszz','code','permissions','authorId','content','_fetchMissingUsersForThreads','set','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','addUser','requires','map','attributes','commentThreadResolved','unregister','commentThreadReopened','CloudServicesCommentsAdapter','commentThreadRemoved','update','createdAt','commentId','addToReconnectionStack','resolvedBy','commentThreadAdded','getCommentThread','addComment','cloud-services-internal-error:\x20Not\x20connected.','keys','cloudservicescommentsadapter-connect-already-connected','_getService','_connectService','assign','commentThreadId','cloudservicescommentsadapter-disconnect-not-exist','remove','delete','addCommentThread','cloudservicescommentsadapter-service-not-exist','5234715rNNIIA'];_0x36f3=function(){return _0x45f66c;};return _0x36f3();}import{CommentsService as _0x79609d,User as _0x374df6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x22468c from'../realtimecollaborativeediting/websocketgateway.js';import _0x39228c from'../realtimecollaborativeediting/sessions.js';class a extends _0x52fa90{static get[_0x21c3c3(0x97)](){const _0x77715d=_0x21c3c3;return[_0x22468c,_0x77715d(0xb9),_0x39228c,_0x50d769];}static get[_0x21c3c3(0xc3)](){const _0x3a4c70=_0x21c3c3;return _0x3a4c70(0x9d);}static get[_0x21c3c3(0x8d)](){return!0x0;}static get[_0x21c3c3(0x80)](){return!0x0;}constructor(_0x2fb2fc){const _0x92e8b9=_0x21c3c3;super(_0x2fb2fc),this[_0x92e8b9(0xc7)]=new Map();}async[_0x21c3c3(0x86)](){const _0x2d2ae7=_0x21c3c3,_0x2746b4=this[_0x2d2ae7(0xd9)],_0xd30534=_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x2d2ae7(0xb9));if(_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x22468c)[_0x2d2ae7(0xa2)](this),_0xd30534[_0x2d2ae7(0xd4)]={'addCommentThread':async({channelId:_0x43292a,threadId:_0x46d5b7,comments:_0x1f63d7,resolvedAt:_0x4fdc81,resolvedBy:_0x1bdf33,context:_0x4f2a88,attributes:_0x589413})=>{const _0x10105b=_0x2d2ae7,_0xa88b07=await this[_0x10105b(0xaa)](_0x43292a)[_0x10105b(0xb1)]({'commentThreadId':_0x46d5b7,'comments':_0x1f63d7[_0x10105b(0x98)](_0x9591fc=>function(_0x3d8687,_0x264ccd,_0x5b9fa7){const _0x41c174=_0x10105b;return{'commentThreadId':_0x5b9fa7,'commentId':_0x3d8687[_0x41c174(0xa1)],'userId':_0x3d8687[_0x41c174(0x91)],'content':_0x3d8687[_0x41c174(0x92)],'documentId':_0x264ccd,'createdAt':_0x3d8687[_0x41c174(0xa0)],'attributes':_0x3d8687[_0x41c174(0x99)]||{}};}(_0x9591fc,_0x43292a,_0x46d5b7)),'resolvedAt':_0x4fdc81,'resolvedBy':_0x1bdf33,'context':_0x4f2a88,'attributes':_0x589413})[_0x10105b(0x7f)](ot);return{'threadId':_0xa88b07[_0x10105b(0xad)],'comments':_0xa88b07[_0x10105b(0x8c)]};},'getCommentThread':async({channelId:_0x2450c4,threadId:_0x412d8a})=>{const _0x5e67c5=_0x2d2ae7,_0x1ad601=await this[_0x5e67c5(0xaa)](_0x2450c4)[_0x5e67c5(0xa5)](_0x412d8a)[_0x5e67c5(0x7f)](ot);return _0x1ad601[_0x5e67c5(0x82)]?null:(await this[_0x5e67c5(0x93)]([_0x1ad601]),{'threadId':_0x1ad601[_0x5e67c5(0xad)],'comments':_0x1ad601[_0x5e67c5(0x8c)][_0x5e67c5(0x98)](nt),'context':_0x1ad601[_0x5e67c5(0xd9)],'resolvedAt':_0x1ad601[_0x5e67c5(0xbb)],'resolvedBy':_0x1ad601[_0x5e67c5(0xa3)],'attributes':_0x1ad601[_0x5e67c5(0x99)]||{}});},'updateCommentThread':async({channelId:_0x45821b,threadId:_0x545ca9,context:_0xe27c38,unlinkedAt:_0x5529e1,attributes:_0x227a13})=>this[_0x2d2ae7(0xaa)](_0x45821b)[_0x2d2ae7(0xc8)]({'commentThreadId':_0x545ca9,'context':_0xe27c38,'attributes':_0x227a13,'unlinkedAt':_0x5529e1})[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'resolveCommentThread':async({channelId:_0x1416c1,threadId:_0x15b09e})=>{const _0x1e2430=_0x2d2ae7,_0x527f90=await this[_0x1e2430(0xaa)](_0x1416c1)[_0x1e2430(0xcd)](_0x15b09e)[_0x1e2430(0x7f)](et)[_0x1e2430(0x7f)](ot);return{'threadId':_0x527f90[_0x1e2430(0xad)],'resolvedAt':_0x527f90[_0x1e2430(0xbb)],'resolvedBy':_0x527f90[_0x1e2430(0xa3)]};},'reopenCommentThread':async({channelId:_0x113aa4,threadId:_0x4954bb})=>this[_0x2d2ae7(0xaa)](_0x113aa4)[_0x2d2ae7(0x7a)](_0x4954bb)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'removeCommentThread':({channelId:_0x4be103,threadId:_0x11b75b})=>this[_0x2d2ae7(0xaa)](_0x4be103)[_0x2d2ae7(0xcb)](_0x11b75b)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'addComment':({channelId:_0x29a04f,threadId:_0x8c3977,commentId:_0x54e7cf,content:_0x332818,attributes:_0x19aa13})=>this[_0x2d2ae7(0xaa)](_0x29a04f)[_0x2d2ae7(0xa6)](_0x8c3977,_0x54e7cf,_0x332818,_0x19aa13)[_0x2d2ae7(0x7f)](ot),'updateComment':({channelId:_0x24db21,threadId:_0x3aa685,commentId:_0x486d4e,content:_0x27bae7,attributes:_0x42cec6})=>this[_0x2d2ae7(0xaa)](_0x24db21)[_0x2d2ae7(0x79)](_0x3aa685,_0x486d4e,_0x27bae7,_0x42cec6)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'removeComment':({channelId:_0x25e2cb,threadId:_0x4e024f,commentId:_0x54b61d})=>this[_0x2d2ae7(0xaa)](_0x25e2cb)[_0x2d2ae7(0xbf)](_0x4e024f,_0x54b61d)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot)},_0x2746b4 instanceof _0x247b5b){const _0x24a713=_0x2746b4[_0x2d2ae7(0xbc)][_0x2d2ae7(0x87)](_0x2d2ae7(0x84)),_0x2437b3=_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x39228c);await this[_0x2d2ae7(0xc4)](_0x24a713);const _0x546039=await this[_0x2d2ae7(0xc7)][_0x2d2ae7(0x87)](_0x24a713)[_0x2d2ae7(0xba)]();this[_0x2d2ae7(0xc2)](_0x2437b3,_0x2d2ae7(0xdc)+_0x24a713,(_0x367ec3,{session:_0x3ef54f})=>{const _0x11a171=_0x2d2ae7;_0x3ef54f['id']===_0x2437b3[_0x11a171(0xd3)]&&(_0x367ec3[_0x11a171(0xc1)](),this[_0x11a171(0xd9)][_0x11a171(0xda)][_0x11a171(0x87)](_0x11a171(0xc6))[_0x11a171(0xdb)](_0x3ef54f[_0x11a171(0x90)],_0x24a713));}),_0x2437b3[_0x2d2ae7(0x81)](_0x24a713,_0x546039);}}async[_0x21c3c3(0xc4)](_0xc8dc0f){const _0x3a6d73=_0x21c3c3;if(this[_0x3a6d73(0xc7)][_0x3a6d73(0x89)](_0xc8dc0f))throw new _0xec2327(_0x3a6d73(0xa9),null,{'channelId':_0xc8dc0f});const _0x552e61=this[_0x3a6d73(0xd9)][_0x3a6d73(0xda)][_0x3a6d73(0x87)](_0x3a6d73(0xb9)),_0x15160f=new a[(_0x3a6d73(0x8b))](_0xc8dc0f);this[_0x3a6d73(0xc7)][_0x3a6d73(0x94)](_0xc8dc0f,_0x15160f),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xa4),(_0x377c39,_0x5a4017)=>{const _0x199728=_0x3a6d73,{commentThreadId:_0x1449b8,documentId:_0x39abb0,context:_0xe6019b,attributes:_0x6e764d,resolvedAt:_0x2b988e,resolvedBy:_0x5bee26,comments:_0x3b0ce6}=_0x5a4017;_0x552e61[_0x199728(0xa5)](_0x1449b8)||_0x552e61[_0x199728(0xb1)]({'threadId':_0x1449b8,'channelId':_0x39abb0,'comments':_0x3b0ce6?_0x3b0ce6[_0x199728(0x98)](nt):[],'context':_0xe6019b,'attributes':_0x6e764d,'resolvedAt':_0x2b988e,'resolvedBy':_0x5bee26,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xd0),(_0x102dac,{commentThreadId:_0x10658e,documentId:_0x251cd0,context:_0x486343,unlinkedAt:_0x2b56ab,attributes:_0x5670c8})=>{const _0x11e114=_0x3a6d73;_0x552e61[_0x11e114(0xa5)](_0x10658e)&&_0x552e61[_0x11e114(0xc8)]({'threadId':_0x10658e,'channelId':_0x251cd0,'context':_0x486343,'unlinkedAt':_0x2b56ab,'attributes':_0x5670c8,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9a),(_0x121977,{commentThreadId:_0x2811c4,resolvedBy:_0x253b06,resolvedAt:_0x4284ec})=>{const _0x288401=_0x3a6d73,_0x45d44b=_0x552e61[_0x288401(0xa5)](_0x2811c4);_0x45d44b&&_0x45d44b[_0x288401(0x7c)]({'resolvedBy':_0x253b06,'resolvedAt':_0x4284ec,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9c),(_0x77e77,{commentThreadId:_0x30cf46})=>{const _0x3b644e=_0x3a6d73,_0x474664=_0x552e61[_0x3b644e(0xa5)](_0x30cf46);_0x474664&&_0x474664[_0x3b644e(0xd7)]({'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9e),(_0x2f57a2,{commentThreadId:_0x175a0e})=>{const _0x23841c=_0x3a6d73,_0x38a684=_0x552e61[_0x23841c(0xa5)](_0x175a0e);_0x38a684&&_0x38a684[_0x23841c(0xaf)]({'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xb5),(_0x5a4e61,_0x173b47)=>{const _0x585b52=_0x3a6d73,_0x443fca=_0x173b47[_0x585b52(0xad)],_0x12453a=_0x552e61[_0x585b52(0xa5)](_0x443fca);_0x12453a&&_0x12453a[_0x585b52(0xa6)]({...nt(_0x173b47),'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x7b),(_0x2fefb1,{commentThreadId:_0x1335d6,commentId:_0x2ffa71,content:_0x345186,attributes:_0x1bc274})=>{const _0x10f09a=_0x3a6d73,_0x5714b2=_0x552e61[_0x10f09a(0xa5)](_0x1335d6);if(_0x5714b2){const _0x24426e=_0x5714b2[_0x10f09a(0xd8)](_0x2ffa71);_0x24426e&&_0x24426e[_0x10f09a(0x9f)]({'content':_0x345186,'attributes':_0x1bc274,'isFromAdapter':!0x0});}}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xdd),(_0x519a09,{commentThreadId:_0x2427c4,commentId:_0x32d08f})=>{const _0x3d6f3d=_0x3a6d73,_0x425888=_0x552e61[_0x3d6f3d(0xa5)](_0x2427c4);if(_0x425888){const _0x513f41=_0x425888[_0x3d6f3d(0xd8)](_0x32d08f);_0x513f41&&_0x513f41[_0x3d6f3d(0xaf)]({'isFromAdapter':!0x0});}}),await this[_0x3a6d73(0xab)](_0xc8dc0f);}[_0x21c3c3(0xd5)](){const _0x280996=_0x21c3c3;if(this[_0x280996(0xd9)]instanceof _0x247b5b){const _0x356a80=this[_0x280996(0xd9)][_0x280996(0xbc)][_0x280996(0x87)](_0x280996(0x84));this[_0x280996(0xc5)](_0x356a80);}}[_0x21c3c3(0xc5)](_0x377967){const _0x1b5112=_0x21c3c3;if(!this[_0x1b5112(0xc7)][_0x1b5112(0x89)](_0x377967))throw new _0xec2327(_0x1b5112(0xae),null,{'channelId':_0x377967});this[_0x1b5112(0xaa)](_0x377967)[_0x1b5112(0xbd)](),this[_0x1b5112(0xc7)][_0x1b5112(0xb0)](_0x377967);}async[_0x21c3c3(0xcc)](){const _0x35881d=_0x21c3c3;for(const _0x3395c1 of this[_0x35881d(0xc7)][_0x35881d(0xa8)]())await this[_0x35881d(0xab)](_0x3395c1);if(this[_0x35881d(0xd9)]instanceof _0x247b5b){const _0x5f534f=this[_0x35881d(0xd9)][_0x35881d(0xbc)][_0x35881d(0x87)](_0x35881d(0x84)),_0x1a337e=this[_0x35881d(0xd9)][_0x35881d(0xda)][_0x35881d(0x87)](_0x39228c);_0x1a337e[_0x35881d(0x9b)](_0x5f534f);const _0x1f0b2c=await this[_0x35881d(0xc7)][_0x35881d(0x87)](_0x5f534f)[_0x35881d(0xba)]();_0x1a337e[_0x35881d(0x81)](_0x5f534f,_0x1f0b2c);}}async[_0x21c3c3(0xab)](_0x4c1254){const _0x5d2a0d=_0x21c3c3,{connection:_0x14e6a7}=this[_0x5d2a0d(0xd9)][_0x5d2a0d(0xda)][_0x5d2a0d(0x87)](_0x22468c),_0x111c33=this[_0x5d2a0d(0xd9)][_0x5d2a0d(0xda)][_0x5d2a0d(0x87)](_0x5d2a0d(0xb9)),_0x2c3af0=this[_0x5d2a0d(0xc7)][_0x5d2a0d(0x87)](_0x4c1254),_0x183c02=await _0x2c3af0[_0x5d2a0d(0x7d)](_0x14e6a7);await this[_0x5d2a0d(0x93)](_0x183c02);const _0x37cfc2=new Set(Array[_0x5d2a0d(0xb4)](_0x111c33[_0x5d2a0d(0xbe)]({'channelId':_0x4c1254}),_0x3c84cb=>_0x3c84cb['id']));for(const _0xb10a2e of _0x183c02)_0xb10a2e[_0x5d2a0d(0x82)]||_0x37cfc2[_0x5d2a0d(0xb0)](_0xb10a2e[_0x5d2a0d(0xad)]);for(const _0xba6727 of _0x37cfc2)_0x111c33[_0x5d2a0d(0xa5)](_0xba6727)[_0x5d2a0d(0xaf)]({'isFromAdapter':!0x0});for(const _0x1a092e of _0x183c02){let _0x23fd07=_0x111c33[_0x5d2a0d(0xa5)](_0x1a092e[_0x5d2a0d(0xad)]);const {commentThreadId:_0x3e57c4,context:_0x137479,attributes:_0x51014d,resolvedBy:_0x2f5f83,resolvedAt:_0x2fa560,unlinkedAt:_0x50017e,deletedAt:_0x14cefb}=_0x1a092e;if(_0x14cefb)continue;_0x23fd07||(_0x23fd07=_0x111c33[_0x5d2a0d(0xb1)]({'channelId':_0x4c1254,'threadId':_0x3e57c4,'context':_0x137479,'attributes':_0x51014d||{},'resolvedBy':_0x2f5f83,'resolvedAt':_0x2fa560,'unlinkedAt':_0x50017e,'isFromAdapter':!0x0}));const _0x3fd58a=new Set(Array[_0x5d2a0d(0xb4)](_0x23fd07[_0x5d2a0d(0x8c)],_0x3c0503=>_0x3c0503['id']));for(const _0x3e424e of _0x1a092e[_0x5d2a0d(0x8c)])_0x3fd58a[_0x5d2a0d(0xb0)](_0x3e424e[_0x5d2a0d(0xa1)]);for(const _0x26ce71 of _0x3fd58a)_0x23fd07[_0x5d2a0d(0xd8)](_0x26ce71)[_0x5d2a0d(0xaf)]({'isFromAdapter':!0x0});for(const _0x17a981 of _0x1a092e[_0x5d2a0d(0x8c)]){const _0x583c1b=_0x23fd07[_0x5d2a0d(0xd8)](_0x17a981[_0x5d2a0d(0xa1)]);_0x583c1b?_0x583c1b[_0x5d2a0d(0x92)]!==_0x17a981[_0x5d2a0d(0x92)]&&_0x583c1b[_0x5d2a0d(0x9f)]({'content':_0x17a981[_0x5d2a0d(0x92)],'isFromAdapter':!0x0}):_0x23fd07[_0x5d2a0d(0xa6)](Object[_0x5d2a0d(0xac)](nt(_0x17a981),{'isFromAdapter':!0x0}));}}}[_0x21c3c3(0xaa)](_0x1fe40e){const _0x37a4a9=_0x21c3c3;if(!this[_0x37a4a9(0xc7)][_0x37a4a9(0x89)](_0x1fe40e))throw new _0xec2327(_0x37a4a9(0xb2),null,{'channelId':_0x1fe40e});return this[_0x37a4a9(0xc7)][_0x37a4a9(0x87)](_0x1fe40e);}async[_0x21c3c3(0x93)](_0x864545){const _0x317df8=_0x21c3c3,_0x513088=this[_0x317df8(0xd9)][_0x317df8(0xda)][_0x317df8(0x87)](_0x50d769),{connection:_0x29778f}=this[_0x317df8(0xd9)][_0x317df8(0xda)][_0x317df8(0x87)](_0x22468c),_0x2ce215=new Set();for(const {resolvedBy:_0x4fc81f,comments:_0x264291}of _0x864545){_0x4fc81f&&!_0x513088[_0x317df8(0xca)](_0x4fc81f)&&_0x2ce215[_0x317df8(0x88)](_0x4fc81f);for(const {userId:_0x1a588a}of _0x264291)_0x513088[_0x317df8(0xca)](_0x1a588a)||_0x2ce215[_0x317df8(0x88)](_0x1a588a);}if(0x0===_0x2ce215[_0x317df8(0x8a)])return;const _0x142b2d=await _0x374df6[_0x317df8(0xb6)](_0x29778f,Array[_0x317df8(0xb4)](_0x2ce215));for(const _0x268e15 of _0x142b2d)_0x513088[_0x317df8(0xca)](_0x268e15['id'])||_0x513088[_0x317df8(0x96)](_0x268e15);}}a[_0x21c3c3(0x8b)]=_0x79609d;export default a;async function et(_0x4e07fa){const _0x5f427d=_0x21c3c3;if(_0x5f427d(0xcf)!==_0x4e07fa[_0x5f427d(0x8f)])throw _0x4e07fa;}function ot(_0x2ebcd4){const _0x2d66fd=_0x21c3c3;if((_0x1488f3=_0x2ebcd4)[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0x95))||_0x1488f3[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0xa7))||_0x1488f3[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0x83)))return new Promise(()=>{});var _0x1488f3;throw _0x2ebcd4;}function nt(_0x42e613){const _0x132836=_0x21c3c3;return{'threadId':_0x42e613[_0x132836(0xad)],'commentId':_0x42e613[_0x132836(0xa1)],'content':_0x42e613[_0x132836(0x92)],'createdAt':_0x42e613[_0x132836(0xa0)],'authorId':_0x42e613[_0x132836(0xb7)],'attributes':_0x42e613[_0x132836(0x99)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x35b6b2=_0x5004;(function(_0x5a6d44,_0x12b15b){const _0x372538=_0x5004,_0x5187d6=_0x5a6d44();while(!![]){try{const _0x3d5af2=parseInt(_0x372538(0xf6))/0x1*(-parseInt(_0x372538(0xd7))/0x2)+-parseInt(_0x372538(0xe8))/0x3+parseInt(_0x372538(0xe1))/0x4*(parseInt(_0x372538(0xd8))/0x5)+-parseInt(_0x372538(0xf1))/0x6+-parseInt(_0x372538(0xde))/0x7*(-parseInt(_0x372538(0xf7))/0x8)+-parseInt(_0x372538(0xf8))/0x9*(parseInt(_0x372538(0xed))/0xa)+parseInt(_0x372538(0xee))/0xb*(parseInt(_0x372538(0xd9))/0xc);if(_0x3d5af2===_0x12b15b)break;else _0x5187d6['push'](_0x5187d6['shift']());}catch(_0x1a51d9){_0x5187d6['push'](_0x5187d6['shift']());}}}(_0x5c14,0x58faa));import{Plugin as _0x477bd8}from'ckeditor5/src/core.js';import _0x46a4d4 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5004(_0x1b1fb1,_0xcf50d2){const _0x5c1480=_0x5c14();return _0x5004=function(_0x50049d,_0x18ec0a){_0x50049d=_0x50049d-0xd6;let _0x268911=_0x5c1480[_0x50049d];return _0x268911;},_0x5004(_0x1b1fb1,_0xcf50d2);}import _0x1b3ae6 from'./realtimecollaborativeediting.js';import _0x4cea78 from'./realtimecollaborativeediting/websocketgateway.js';function _0x5c14(){const _0x53455c=['536987rflbBJ','editor','RealTimeCollaborativeComments','2674602fKcROZ','_setUpService','listenTo','data','Comments','510329YQdSjM','62432RVRILj','9LPluRk','isThreadsLoadingPaused','requires','_terminateService','2TwrhYh','3295mGFNhu','492IqUanZ','connected','isOfficialPlugin','once','destroy','14feZTVf','get','isPremiumPlugin','1028MRCJTj','config','CommentsEditing','collaboration.channelId','switchReadOnly','plugins','pluginName','711309lUGttQ','init','change:state','CommentsRepository','ready','6288110YJATxg'];_0x5c14=function(){return _0x53455c;};return _0x5c14();}export default class m extends _0x477bd8{static get[_0x35b6b2(0xfa)](){const _0x398f5=_0x35b6b2;return[_0x398f5(0xf5),_0x46a4d4,_0x1b3ae6,_0x4cea78];}static get[_0x35b6b2(0xe7)](){const _0xff2cfe=_0x35b6b2;return _0xff2cfe(0xf0);}static get[_0x35b6b2(0xdb)](){return!0x0;}static get[_0x35b6b2(0xe0)](){return!0x0;}[_0x35b6b2(0xe9)](){const _0xe27d3=_0x35b6b2,_0x184b9a=this[_0xe27d3(0xef)][_0xe27d3(0xe6)][_0xe27d3(0xdf)](_0x4cea78),_0xbf7e67=this[_0xe27d3(0xef)][_0xe27d3(0xe6)][_0xe27d3(0xdf)](_0xe27d3(0xe3)),_0x1780de=this[_0xe27d3(0xef)][_0xe27d3(0xe6)][_0xe27d3(0xdf)](_0x46a4d4);return this[_0xe27d3(0xef)][_0xe27d3(0xf4)][_0xe27d3(0xdc)](_0xe27d3(0xec),()=>{const _0x48d43d=_0xe27d3;this[_0x48d43d(0xf3)](_0x184b9a,_0x48d43d(0xea),(_0x1493f0,_0x30a517,_0x133eaf)=>{const _0x17fa7a=_0x48d43d;_0xbf7e67[_0x17fa7a(0xf9)]=_0x17fa7a(0xda)!==_0x133eaf;});}),this[_0xe27d3(0xf3)](_0x184b9a,_0xe27d3(0xea),(_0x413b5c,_0x51ffab,_0x5cf437)=>{const _0x21b794=_0xe27d3;this[_0x21b794(0xef)][_0x21b794(0xe6)][_0x21b794(0xdf)](_0x21b794(0xeb))[_0x21b794(0xe5)](_0x21b794(0xda)!==_0x5cf437);}),_0x1780de[_0xe27d3(0xf2)](this[_0xe27d3(0xef)][_0xe27d3(0xe2)][_0xe27d3(0xdf)](_0xe27d3(0xe4)));}[_0x35b6b2(0xdd)](){const _0x21eb4a=_0x35b6b2;this[_0x21eb4a(0xef)][_0x21eb4a(0xe6)][_0x21eb4a(0xdf)](_0x46a4d4)[_0x21eb4a(0xd6)](this[_0x21eb4a(0xef)][_0x21eb4a(0xe2)][_0x21eb4a(0xdf)](_0x21eb4a(0xe4))),super[_0x21eb4a(0xdd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4097d3=_0x3389;(function(_0x91d4a8,_0x2cf91b){const _0x390974=_0x3389,_0x45aa30=_0x91d4a8();while(!![]){try{const _0x1af461=-parseInt(_0x390974(0x204))/0x1+parseInt(_0x390974(0x18d))/0x2+parseInt(_0x390974(0x134))/0x3+-parseInt(_0x390974(0x1e6))/0x4+-parseInt(_0x390974(0x1ef))/0x5+parseInt(_0x390974(0x149))/0x6*(-parseInt(_0x390974(0x14a))/0x7)+parseInt(_0x390974(0x164))/0x8;if(_0x1af461===_0x2cf91b)break;else _0x45aa30['push'](_0x45aa30['shift']());}catch(_0xa0bf29){_0x45aa30['push'](_0x45aa30['shift']());}}}(_0x413a,0x2f7ae));import{Plugin as _0x9499f2,PendingActions as _0xc7e2db}from'ckeditor5/src/core.js';import{CKEditorError as _0x1869a5,version as _0x5a7acf,uid as _0x434fef}from'ckeditor5/src/utils.js';import{Notification as _0x6f78ea}from'ckeditor5/src/ui.js';import{transformSets as _0x4364f0,NoOperation as _0x6ebd8,InsertOperation as _0x2b95c0,MarkerOperation as _0x3384cc,RootAttributeOperation as _0x158c7a,OperationFactory as _0x49d2d1,History as _0x1232dc}from'ckeditor5/src/engine.js';import _0x5b1049 from'./websocketgateway.js';function _0x413a(){const _0x2286a3=['_addKnownRoot','apply','currentDocumentSession','catch','high','rtc-destroyed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','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.','affectedSelectable','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','_waitUntilSynced','setIdForTheLastOperation','multi-root-editor-root-attributes-no-root','directChange','_currentBufferDelay','initData','entries','differ','showWarning','startsWith','cloudDocumentVersion','register','_applyOperationsSet','409','_isConnected','plugins','isOfficialPlugin','rootsAttributes','59379HGyazh','newRange','createdAt','suppressErrorInCollaboration','slice','realtimecollaborationclient-initservice-incorrect-server-operation','_handleSendingSelectionMarkers','isEnabled','sessionAdd:','connection','then','view','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-sendbufferedoperations','$root','_getOperationsFromInitData','userId','locale','type','_loadRoot','has','69246zRzrPx','49MzmsBx','cloudServices.bundleVersion','pluginName','disconnect','position','_saveOperationInBuffer','isUndoneOperation','_fetchMissingUsers','size','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','removeFromReconnectionStack','_operationIdentifier','getRoot','remove','wereChangesApplied','operationsReceived','lastOperationAcceptedAt','Synchronization\x20issue','createPositionFromPath','loadRoot','bind','sessionCreatedAt','version','_decompressOperations','_initSessionsHandling','PENDING_ACTION_SENDING_DATA','7907992Bonokd','applyOperation','stopListening','_hasSynchronizationProblem','history','_operationToId','init','isDocumentOperation','realtimecollaborationclient-init-non-existent-root','_lastServerVersion','createRoot','document','_ignoredOperations','change:hasDomSelection','editor','permissions','_baseBufferDelay','ready','_handleReconnectionError','_knownOperations','sendOperations','__className','_document','string','off','push','getConnectedSessions','end','_shouldSendSelectionUpdate','code','error','metadata','Permissions','createUserMarkerOperations','fromJSON','_isDisconnection','compress','getMany','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_clearPendingAction','32528MRtPxN','isPremiumPlugin','lastOperationId','addUser','_updateServerHistory','CollaborativeEditingService','get','path','change:_isEditingAllowed','addOperation','_connectAfterSessionHasBeenFlushed','collaboration.channelId','stop','InsertOperation','enableReadOnlyMode','connected','serverHistory','includes','lastSyncVersion','model','move','unregister','CommentsOnly','disconnected','change:range','_setUpDataInit','document:write','sessionId','_isPendingUpdate','reconnect','marker','reset','finally','requires','root','RealTimeCollaborationClient','set','_isInit','_isEditingAllowed','getOperations','reconnection:\x20flushed\x20session','_bufferedOperations','_handleServerResponse','_sendBufferedOperationsDelayId','insert','_offset','getIdOfTheLastOperation','_shouldSendUpdate','channelSessions','selection','parse','change:_isPendingUpdate','define','wasUndone','realtimecollaborationclient-init-connection-failed','editing','keys','lastDocumentSession','collaboration-missing-channelid','_initThrowingOnDataSet','offset','_sendBufferedOperationsDelayed','filter','connect','addRoot','realtimecollaborationclient-handleserverresponse','_disconnectionOperations','realtimecollaborationclient-init-session-connection-error','getUser','from','rootName','targetPosition','attributes','baseVersion','clone','enqueueChange','_pendingAction','createPositionAt','_compressOperations','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.','collaboration','rtc-offline','_bufferRootLoad','_knownRootNames','_refreshUserSelectionMarkers','_handleReconnectionResponse','return','batch','getOperationAuthor','923368BcJQcY','state','_service','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','add','_handleReceivedOperations','404','config','_compressor','1433850sxOxdy','length','roots','_sendBufferedOperations','toJSON','_getAffectedRoot','markers','Notification','createRange','data','affectsData','_handleInitialConnectionData','realtimecollaborationclient-initservice-internal-error','addToReconnectionStack','_disconnectService','_authorId','cloud-services-internal-error:\x20Request\x20timeout.','_handleExternalOperations','isReadOnly','_lastSyncedOperationId','_setPendingAction','231679HDTYDD','_crash','decompress','_hasSelectionChanged','map','getDocumentDetails','start','destroy','round','_isLoaded','message','cs:removeUser','forEach','mySessionId','addRootAttribute','real-time-collaboration','listenTo','_isAttached','_connectService','_channelId','setPermissions'];_0x413a=function(){return _0x2286a3;};return _0x413a();}import _0x442fab from'./sessions.js';import _0xdd7a1d from'./usermarkers.js';function _0x3389(_0x1b1701,_0x40adce){const _0x413adc=_0x413a();return _0x3389=function(_0x3389f8,_0x1c9030){_0x3389f8=_0x3389f8-0x111;let _0x22359b=_0x413adc[_0x3389f8];return _0x22359b;},_0x3389(_0x1b1701,_0x40adce);}import{getTranslation as _0x319e51}from'../common-translations.js';import{Compressor as _0xac7311}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3357b0}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x432c62,CollaborativeEditingService as _0x2e8aaa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x9499f2{static get[_0x4097d3(0x1ae)](){return[_0x5b1049,_0x442fab,_0xdd7a1d,_0xc7e2db,_0x3357b0,_0x6f78ea];}static get[_0x4097d3(0x14c)](){const _0x1684e2=_0x4097d3;return _0x1684e2(0x1b0);}static get[_0x4097d3(0x132)](){return!0x0;}static get[_0x4097d3(0x18e)](){return!0x0;}get[_0x4097d3(0x12c)](){const _0x3bb27d=_0x4097d3;return this[_0x3bb27d(0x16d)]+this[_0x3bb27d(0x1ba)];}get[_0x4097d3(0x16d)](){const _0x335a46=_0x4097d3;return this[_0x335a46(0x19d)][_0x335a46(0x160)]-this[_0x335a46(0x1ba)];}get[_0x4097d3(0x19f)](){const _0x46d4a7=_0x4097d3,_0x151a17=this[_0x46d4a7(0x19d)][_0x46d4a7(0x1b4)]();for(let _0x567dc8=_0x151a17[_0x46d4a7(0x1f0)]-0x1;_0x567dc8>=0x0;_0x567dc8--){const _0x57d62d=_0x151a17[_0x567dc8];if(!this[_0x46d4a7(0x1cf)][_0x46d4a7(0x148)](_0x57d62d))return _0x57d62d[_0x46d4a7(0x1d6)]+0x1-this[_0x46d4a7(0x1ba)];}return 0x0;}constructor(_0x4195a){const _0x5f29ae=_0x4097d3;if(super(_0x4195a),this[_0x5f29ae(0x1ba)]=0x0,this[_0x5f29ae(0x1a8)]=null,this[_0x5f29ae(0x19d)]=new _0x1232dc(),this[_0x5f29ae(0x172)][_0x5f29ae(0x1ed)][_0x5f29ae(0x1c1)](_0x5f29ae(0x1dd),{}),this[_0x5f29ae(0x115)]=this[_0x5f29ae(0x172)][_0x5f29ae(0x1ed)][_0x5f29ae(0x193)](_0x5f29ae(0x198)),!this[_0x5f29ae(0x115)])throw new _0x1869a5(_0x5f29ae(0x1c7),this);const _0xf190e=_0x4195a[_0x5f29ae(0x1ed)][_0x5f29ae(0x193)](_0x5f29ae(0x14b))||_0x5a7acf;this[_0x5f29ae(0x1e8)]=new l[(_0x5f29ae(0x192))](_0xf190e,this[_0x5f29ae(0x115)]),this[_0x5f29ae(0x17a)]=this[_0x5f29ae(0x172)][_0x5f29ae(0x1a0)][_0x5f29ae(0x16f)],this[_0x5f29ae(0x1ee)]=new _0xac7311(),this[_0x5f29ae(0x1b6)]=[],this[_0x5f29ae(0x177)]=new WeakSet(),this[_0x5f29ae(0x1e0)]=new Set(),this[_0x5f29ae(0x1b1)](_0x5f29ae(0x1a9),!0x1),this[_0x5f29ae(0x1b1)](_0x5f29ae(0x167),!0x1),this[_0x5f29ae(0x1d9)]=null,this[_0x5f29ae(0x207)]=!0x1,this[_0x5f29ae(0x1b8)]=null,this[_0x5f29ae(0x174)]=0x12c,this[_0x5f29ae(0x126)]=this[_0x5f29ae(0x174)],this[_0x5f29ae(0x202)]=null,this[_0x5f29ae(0x1cf)]=new WeakSet(),this[_0x5f29ae(0x155)]=new it(this[_0x5f29ae(0x1cf)]);}[_0x4097d3(0x16a)](){const _0x3d2a19=_0x4097d3,_0x5814a7=this[_0x3d2a19(0x172)],_0xeb6e43=_0x5814a7[_0x3d2a19(0x131)][_0x3d2a19(0x193)](_0x3357b0),_0x34c715=_0x5814a7[_0x3d2a19(0x131)][_0x3d2a19(0x193)](_0x5b1049);this[_0x3d2a19(0x112)](_0xeb6e43,_0x3d2a19(0x1e5),(_0x1b37f5,_0x47766f)=>{const _0x31ab96=_0x3d2a19,_0x2434c4=_0x47766f[0x0];_0x2434c4[_0x31ab96(0x1fe)]&&(_0x1b37f5[_0x31ab96(0x1e3)]=_0xeb6e43[_0x31ab96(0x1d1)](_0x2434c4[_0x31ab96(0x1fe)]),_0x1b37f5[_0x31ab96(0x199)]()),null===_0x2434c4[_0x31ab96(0x1fe)]&&(_0x1b37f5[_0x31ab96(0x1e3)]=null,_0x1b37f5[_0x31ab96(0x199)]());},{'priority':_0x3d2a19(0x11b)}),this[_0x3d2a19(0x112)](_0x5814a7[_0x3d2a19(0x1a0)][_0x3d2a19(0x16f)][_0x3d2a19(0x1be)],_0x3d2a19(0x1a5),(_0x403b22,_0x29dcbf)=>{const _0xb5585c=_0x3d2a19;_0x29dcbf[_0xb5585c(0x125)]&&this[_0xb5585c(0x1e1)]();}),this[_0x3d2a19(0x112)](_0x5814a7[_0x3d2a19(0x1c4)][_0x3d2a19(0x13f)],_0x3d2a19(0x171),()=>{const _0x3257a8=_0x3d2a19;this[_0x3257a8(0x1e1)]();}),this[_0x3d2a19(0x1c8)](),_0x5814a7[_0x3d2a19(0x1a0)]['on'](_0x3d2a19(0x165),(_0x596864,_0x25c0e7)=>{const _0x20d898=_0x3d2a19,_0x11a5d5=_0x25c0e7[0x0];_0x11a5d5[_0x20d898(0x16b)]&&(this[_0x20d898(0x14f)](_0x11a5d5),this[_0x20d898(0x1bc)]()&&this[_0x20d898(0x1ca)]());}),this[_0x3d2a19(0x1a6)](),this[_0x3d2a19(0x15e)](_0x3d2a19(0x1b3))['to'](_0x34c715,_0x3d2a19(0x1e7),this,_0x3d2a19(0x167),(_0x44a13e,_0x2fe935)=>_0x3d2a19(0x19c)===_0x44a13e&&!_0x2fe935),this['on'](_0x3d2a19(0x195),()=>{const _0x5cde3a=_0x3d2a19;this[_0x5cde3a(0x1b3)]?_0x5814a7[_0x5cde3a(0x120)](_0x5cde3a(0x1de)):_0x5814a7[_0x5cde3a(0x19b)](_0x5cde3a(0x1de));}),this[_0x3d2a19(0x1b3)]?_0x5814a7[_0x3d2a19(0x120)](_0x3d2a19(0x1de)):_0x5814a7[_0x3d2a19(0x19b)](_0x3d2a19(0x1de)),this[_0x3d2a19(0x1b1)](_0x3d2a19(0x130),!0x1);}async[_0x4097d3(0x1aa)](){const _0x5b3ebb=_0x4097d3,_0x1feddc=this[_0x5b3ebb(0x172)][_0x5b3ebb(0x131)][_0x5b3ebb(0x193)](_0x442fab),_0x33c4fe=this[_0x5b3ebb(0x172)][_0x5b3ebb(0x131)][_0x5b3ebb(0x193)](_0x5b1049);try{this[_0x5b3ebb(0x1a9)]=!0x0,_0x1feddc[_0x5b3ebb(0x1a2)](this[_0x5b3ebb(0x115)]);const _0x192462=await this[_0x5b3ebb(0x1e8)][_0x5b3ebb(0x1aa)](_0x33c4fe[_0x5b3ebb(0x13d)],this[_0x5b3ebb(0x19f)]);await this[_0x5b3ebb(0x1e2)](_0x192462)&&(this[_0x5b3ebb(0x1a9)]=!0x1,this[_0x5b3ebb(0x18c)]());const _0x44a3fa=await this[_0x5b3ebb(0x1e8)][_0x5b3ebb(0x17e)]();_0x1feddc[_0x5b3ebb(0x12d)](this[_0x5b3ebb(0x115)],_0x44a3fa),this[_0x5b3ebb(0x13a)](),this[_0x5b3ebb(0x130)]=!0x0;}catch(_0xd2a817){if(function(_0x28def4){const _0x3717bd=_0x5b3ebb;return _0x3717bd(0x1ec)===_0x28def4[_0x3717bd(0x181)];}(_0xd2a817)&&this[_0x5b3ebb(0x1a8)])await this[_0x5b3ebb(0x197)]();else{if(function(_0xcd9ab){const _0x324fc2=_0x5b3ebb;return _0x324fc2(0x12f)===_0xcd9ab[_0x324fc2(0x181)];}(_0xd2a817)){const _0x108d59=_0x319e51(this[_0x5b3ebb(0x172)][_0x5b3ebb(0x145)],_0x5b3ebb(0x18b));this[_0x5b3ebb(0x176)](_0x108d59);}else{if(!(_0xd2a817 instanceof Z))throw _0xd2a817;this[_0x5b3ebb(0x176)]();}}}}[_0x4097d3(0x20b)](){const _0x2dedd4=_0x4097d3,_0x4bd755=this[_0x2dedd4(0x172)][_0x2dedd4(0x131)][_0x2dedd4(0x193)](_0x5b1049),_0x4c63d9=this[_0x2dedd4(0x172)][_0x2dedd4(0x131)][_0x2dedd4(0x193)](_0x442fab);this[_0x2dedd4(0x172)][_0x2dedd4(0x19b)](_0x2dedd4(0x11c)),_0x4c63d9[_0x2dedd4(0x1bd)][_0x2dedd4(0x148)](this[_0x2dedd4(0x115)])&&_0x4c63d9[_0x2dedd4(0x1a2)](this[_0x2dedd4(0x115)]),_0x4bd755[_0x2dedd4(0x154)](this),this[_0x2dedd4(0x1fd)](),super[_0x2dedd4(0x20b)]();}async[_0x4097d3(0x1e2)](_0x277148){const _0x3179cd=_0x4097d3;if(this[_0x3179cd(0x1a8)]!==_0x277148[_0x3179cd(0x1a8)]&&this[_0x3179cd(0x202)]!==_0x277148[_0x3179cd(0x18f)])throw new Z();return this[_0x3179cd(0x1a8)]=_0x277148[_0x3179cd(0x1a8)],this[_0x3179cd(0x1b7)]([],{..._0x277148,'wereChangesApplied':!0x1,'data':_0x277148[_0x3179cd(0x1f8)]},_0x3179cd(0x1aa));}async[_0x4097d3(0x114)](_0x3ff231,_0x2a462f=!0x1){const _0x5da7cf=_0x4097d3,{connection:_0x3418f0}=this[_0x5da7cf(0x172)][_0x5da7cf(0x131)][_0x5da7cf(0x193)](_0x5b1049);l[_0x5da7cf(0x192)][_0x5da7cf(0x17e)](_0x3418f0,this[_0x5da7cf(0x115)])[_0x5da7cf(0x13e)](_0x1209a4=>this[_0x5da7cf(0x162)](_0x1209a4))[_0x5da7cf(0x11a)](_0x4414d1=>{const _0xf87a3c=_0x5da7cf;this[_0xf87a3c(0x205)](_0xf87a3c(0x1d0),_0x4414d1);}),this[_0x5da7cf(0x112)](this[_0x5da7cf(0x1e8)],_0x5da7cf(0x159),this[_0x5da7cf(0x1eb)][_0x5da7cf(0x15e)](this)),this[_0x5da7cf(0x112)](this[_0x5da7cf(0x1e8)],_0x5da7cf(0x182),(_0x5bb3ae,_0x593d0c)=>{const _0x9f73f=_0x5da7cf;this[_0x9f73f(0x205)](_0x9f73f(0x1fb),_0x593d0c);}),this[_0x5da7cf(0x112)](this[_0x5da7cf(0x1e8)],_0x5da7cf(0x1a4),()=>{const _0xc7839f=_0x5da7cf;this[_0xc7839f(0x130)]=!0x1;});const _0x5db49e=this[_0x5da7cf(0x155)][_0x5da7cf(0x1bb)](_0x3ff231);this[_0x5da7cf(0x1a9)]=!0x0;const _0x14e68d=await this[_0x5da7cf(0x1e8)][_0x5da7cf(0x1cc)](_0x3418f0,this[_0x5da7cf(0x1db)](_0x3ff231),_0x5db49e);if(this[_0x5da7cf(0x1a8)]=_0x14e68d[_0x5da7cf(0x1a8)],_0x2a462f){if(!_0x14e68d[_0x5da7cf(0x158)])return void this[_0x5da7cf(0x176)]();this[_0x5da7cf(0x1a9)]=!0x1,this[_0x5da7cf(0x18c)](),this[_0x5da7cf(0x19d)][_0x5da7cf(0x1ac)](),this[_0x5da7cf(0x1ba)]=_0x14e68d[_0x5da7cf(0x1c9)],this[_0x5da7cf(0x19d)][_0x5da7cf(0x160)]=this[_0x5da7cf(0x1ba)],await this[_0x5da7cf(0x1b7)](_0x3ff231,_0x14e68d,_0x5da7cf(0x1b5));}else await this[_0x5da7cf(0x1fa)](_0x14e68d,_0x3ff231);this[_0x5da7cf(0x13a)](),this[_0x5da7cf(0x130)]=!0x0;}[_0x4097d3(0x13a)](){const _0x2e780f=_0x4097d3,_0x58163a=this[_0x2e780f(0x172)][_0x2e780f(0x131)][_0x2e780f(0x193)](_0x442fab),_0x3531b5=this[_0x2e780f(0x172)][_0x2e780f(0x131)][_0x2e780f(0x193)](_0xdd7a1d),_0x254b41=_0x58163a[_0x2e780f(0x1bd)][_0x2e780f(0x193)](this[_0x2e780f(0x115)]);_0x254b41&&_0x254b41[_0x2e780f(0x1f0)]>0x1?_0x3531b5[_0x2e780f(0x185)]():this[_0x2e780f(0x112)](_0x58163a,_0x2e780f(0x13c)+this[_0x2e780f(0x115)],()=>{const _0x5b8da9=_0x2e780f;0x2===_0x58163a[_0x5b8da9(0x1bd)][_0x5b8da9(0x193)](this[_0x5b8da9(0x115)])[_0x5b8da9(0x1f0)]&&_0x3531b5[_0x5b8da9(0x185)]();});}async[_0x4097d3(0x1eb)](_0x577303,_0x4bc532,_0x376bd1,_0x3e6591){const _0x458027=_0x4097d3;if(!this[_0x458027(0x1a9)]&&this[_0x458027(0x17a)][_0x458027(0x160)]==_0x4bc532){const _0x403457=this[_0x458027(0x161)](_0x376bd1,_0x3e6591);await this[_0x458027(0x151)](_0x403457),this[_0x458027(0x200)](_0x403457,_0x4bc532,_0x376bd1[_0x458027(0x18f)])||this[_0x458027(0x205)](_0x458027(0x139));}}async[_0x4097d3(0x197)](){const _0x5d0cb2=_0x4097d3;this[_0x5d0cb2(0x1fd)]();const {locale:_0x56327e}=this[_0x5d0cb2(0x172)];let _0x21bfc6;try{_0x21bfc6=await this[_0x5d0cb2(0x1e8)][_0x5d0cb2(0x209)]();}catch(_0x53eab6){const _0x51169a=_0x319e51(_0x56327e,_0x5d0cb2(0x1e9));return void this[_0x5d0cb2(0x176)](_0x51169a);}const _0x304aae=_0x21bfc6[_0x5d0cb2(0x119)]||_0x21bfc6[_0x5d0cb2(0x1c6)];if(this[_0x5d0cb2(0x202)]===_0x304aae[_0x5d0cb2(0x18f)])await this[_0x5d0cb2(0x114)](this[_0x5d0cb2(0x172)][_0x5d0cb2(0x1a0)][_0x5d0cb2(0x16f)][_0x5d0cb2(0x168)][_0x5d0cb2(0x1b4)](),!0x0);else{const _0x18942b=_0x319e51(_0x56327e,_0x5d0cb2(0x1dc));this[_0x5d0cb2(0x176)](_0x18942b);}}[_0x4097d3(0x1fd)](){const _0x3ddcaf=_0x4097d3;this[_0x3ddcaf(0x1e8)][_0x3ddcaf(0x14d)](),this[_0x3ddcaf(0x1b6)]=[],clearTimeout(this[_0x3ddcaf(0x1b8)]),this[_0x3ddcaf(0x166)](this[_0x3ddcaf(0x1e8)]);}[_0x4097d3(0x162)](_0x436446){const _0x4d1f1c=_0x4097d3,_0x4cdc48=this[_0x4d1f1c(0x172)][_0x4d1f1c(0x131)][_0x4d1f1c(0x193)](_0x442fab);this[_0x4d1f1c(0x112)](_0x4cdc48,_0x4d1f1c(0x13c)+this[_0x4d1f1c(0x115)],(_0xe999b0,{session:_0x2c5056})=>{const _0x3d6b14=_0x4d1f1c;if(_0x2c5056['id']===_0x4cdc48[_0x3d6b14(0x211)]){_0xe999b0[_0x3d6b14(0x17c)]();const _0x3d91ea=this[_0x3d6b14(0x172)][_0x3d6b14(0x131)][_0x3d6b14(0x148)](_0x3d6b14(0x1a3))&&this[_0x3d6b14(0x172)][_0x3d6b14(0x131)][_0x3d6b14(0x193)](_0x3d6b14(0x1a3));let _0x5c1543=_0x2c5056[_0x3d6b14(0x173)];_0x3d91ea&&_0x3d91ea[_0x3d6b14(0x13b)]&&(_0x5c1543=_0x5c1543[_0x3d6b14(0x1cb)](_0x44cab1=>_0x3d6b14(0x1a7)!==_0x44cab1)),this[_0x3d6b14(0x172)][_0x3d6b14(0x131)][_0x3d6b14(0x193)](_0x3d6b14(0x184))[_0x3d6b14(0x116)](_0x5c1543,this[_0x3d6b14(0x115)]);}}),_0x4cdc48[_0x4d1f1c(0x12d)](this[_0x4d1f1c(0x115)],_0x436446);}[_0x4097d3(0x1c8)](){const _0x58ab81=_0x4097d3,_0x301c70=this[_0x58ab81(0x172)][_0x58ab81(0x1f8)][_0x58ab81(0x1b1)];this[_0x58ab81(0x172)][_0x58ab81(0x1f8)][_0x58ab81(0x1b1)]=(..._0x43cdaf)=>{const _0x14aae3=_0x58ab81;if(!_0x43cdaf[_0x43cdaf[_0x14aae3(0x1f0)]-0x1][_0x14aae3(0x137)])throw new _0x1869a5(_0x14aae3(0x11d),this);_0x301c70[_0x14aae3(0x118)](this[_0x14aae3(0x172)][_0x14aae3(0x1f8)],_0x43cdaf);};}[_0x4097d3(0x1a6)](){const _0x53d9b6=_0x4097d3;this[_0x53d9b6(0x172)][_0x53d9b6(0x1f8)]['on'](_0x53d9b6(0x16a),(_0x5a757c,[_0x381829])=>{const _0x5117de=_0x53d9b6;if(this[_0x5117de(0x17a)][_0x5117de(0x160)])throw new _0x1869a5(_0x5117de(0x121),this);_0x5a757c[_0x5117de(0x199)](),this[_0x5117de(0x203)]();const _0x6fcff9=this[_0x5117de(0x172)][_0x5117de(0x1ed)][_0x5117de(0x193)](_0x5117de(0x133)),_0x1bd4a0=this[_0x5117de(0x143)](_0x381829,_0x6fcff9);0x0==_0x1bd4a0[_0x5117de(0x1f0)]&&_0x1bd4a0[_0x5117de(0x17d)](new _0x6ebd8(0x0)),_0x5a757c[_0x5117de(0x1e3)]=this[_0x5117de(0x114)](_0x1bd4a0)[_0x5117de(0x13e)](()=>{const _0x1fb9d1=_0x5117de;this[_0x1fb9d1(0x172)][_0x1fb9d1(0x131)][_0x1fb9d1(0x193)](_0x5b1049)[_0x1fb9d1(0x1fc)](this),this[_0x1fb9d1(0x172)][_0x1fb9d1(0x1f8)][_0x1fb9d1(0x18a)](_0x1fb9d1(0x175));})[_0x5117de(0x11a)](_0x1721c9=>this[_0x5117de(0x205)](_0x5117de(0x1c3),_0x1721c9))[_0x5117de(0x1ad)](()=>this[_0x5117de(0x18c)]());},{'priority':_0x53d9b6(0x11b)}),this[_0x53d9b6(0x172)]['on'](_0x53d9b6(0x15d),async(_0x35f7eb,[_0x16cbfb,_0x4a39c6])=>{const _0x2f356a=_0x53d9b6;_0x35f7eb[_0x2f356a(0x199)]();const _0x230cb2=this[_0x2f356a(0x172)][_0x2f356a(0x1a0)][_0x2f356a(0x16f)][_0x2f356a(0x156)](_0x16cbfb);if(!this[_0x2f356a(0x1e0)][_0x2f356a(0x148)](_0x16cbfb)){const _0x1c3f62=_0x4a39c6&&_0x4a39c6[_0x2f356a(0x1f8)]?_0x4a39c6[_0x2f356a(0x1f8)]:'',_0x4e7dc2=_0x4a39c6&&_0x4a39c6[_0x2f356a(0x1d5)]?_0x4a39c6[_0x2f356a(0x1d5)]:{};await this[_0x2f356a(0x147)](_0x16cbfb,_0x1c3f62,_0x4e7dc2);}this[_0x2f356a(0x172)][_0x2f356a(0x1a0)][_0x2f356a(0x1d8)]({'isUndoable':!0x1},()=>{const _0x1cd9d4=_0x2f356a;_0x230cb2[_0x1cd9d4(0x20d)]=!0x0,this[_0x1cd9d4(0x172)][_0x1cd9d4(0x1a0)][_0x1cd9d4(0x16f)][_0x1cd9d4(0x129)][_0x1cd9d4(0x1df)](_0x230cb2);});},{'priority':_0x53d9b6(0x11b)});}async[_0x4097d3(0x151)](_0x24e985){const _0x31f693=_0x4097d3,_0xd9b408=this[_0x31f693(0x172)][_0x31f693(0x131)][_0x31f693(0x193)](_0x3357b0),{connection:_0x34f726}=this[_0x31f693(0x172)][_0x31f693(0x131)][_0x31f693(0x193)](_0x5b1049),_0x4dd43d=new Set();for(const _0x3fc977 of _0x24e985){const _0x4a13f9=_0x3fc977[_0x31f693(0x1fe)];_0x4a13f9&&!_0xd9b408[_0x31f693(0x1d1)](_0x4a13f9)&&_0x4dd43d[_0x31f693(0x1ea)](_0x4a13f9);}if(0x0===_0x4dd43d[_0x31f693(0x152)])return;const _0x4d0c91=await _0x432c62[_0x31f693(0x189)](_0x34f726,Array[_0x31f693(0x1d2)](_0x4dd43d));for(const _0x2575df of _0x4d0c91)_0xd9b408[_0x31f693(0x1d1)](_0x2575df['id'])||_0xd9b408[_0x31f693(0x190)](_0x2575df);}[_0x4097d3(0x143)](_0x1d61f4,_0x5b9369={}){const _0x4d62d6=_0x4097d3,_0x1b9f7b=this[_0x4d62d6(0x172)][_0x4d62d6(0x1a0)],_0x27bd3b=[];let _0x4ff6b9=0x0;const _0x10c3e5=_0x4d62d6(0x17b)==typeof _0x1d61f4?{'main':_0x1d61f4}:_0x1d61f4;for(const _0x462489 of Object[_0x4d62d6(0x1c5)](_0x10c3e5)){if(!this[_0x4d62d6(0x17a)][_0x4d62d6(0x1f1)][_0x4d62d6(0x148)](_0x462489))throw new _0x1869a5(_0x4d62d6(0x16c),this);const _0x2ad93d=this[_0x4d62d6(0x172)][_0x4d62d6(0x1f8)][_0x4d62d6(0x1bf)](_0x10c3e5[_0x462489]),_0x4b8322=this[_0x4d62d6(0x17a)][_0x4d62d6(0x156)](_0x462489),_0xc0e03e=new _0x2b95c0(_0x1b9f7b[_0x4d62d6(0x1da)](_0x4b8322,0x0),_0x2ad93d,_0x4ff6b9++);_0x27bd3b[_0x4d62d6(0x17d)](_0xc0e03e);for(const [_0x56aaae,_0x31ce80]of _0x2ad93d[_0x4d62d6(0x1f5)]){const _0x543d45=_0x1b9f7b[_0x4d62d6(0x1f7)](_0x1b9f7b[_0x4d62d6(0x15c)](_0x4b8322,_0x31ce80[_0x4d62d6(0x20a)][_0x4d62d6(0x194)][_0x4d62d6(0x138)]()),_0x1b9f7b[_0x4d62d6(0x15c)](_0x4b8322,_0x31ce80[_0x4d62d6(0x17f)][_0x4d62d6(0x194)][_0x4d62d6(0x138)]())),_0x1c4a21=new _0x3384cc(_0x56aaae,null,_0x543d45,_0x1b9f7b[_0x4d62d6(0x1f5)],!0x0,_0x4ff6b9++);_0x27bd3b[_0x4d62d6(0x17d)](_0x1c4a21);}}if(_0x5b9369)for(const [_0x45abd7,_0x33437b]of Object[_0x4d62d6(0x128)](_0x5b9369)){const _0xce25f=_0x1b9f7b[_0x4d62d6(0x16f)][_0x4d62d6(0x156)](_0x45abd7);if(!_0xce25f)throw new _0x1869a5(_0x4d62d6(0x124),null);for(const [_0x4373ef,_0x2d4372]of Object[_0x4d62d6(0x128)](_0x33437b))if(null!==_0x2d4372){const _0x1ed282=new _0x158c7a(_0xce25f,_0x4373ef,null,_0x2d4372,_0x4ff6b9++);_0x27bd3b[_0x4d62d6(0x17d)](_0x1ed282);}}return _0x27bd3b;}async[_0x4097d3(0x147)](_0x4dc664,_0x1d2355,_0x308b79){const _0xf0c6ec=_0x4097d3;this[_0xf0c6ec(0x143)]({[_0x4dc664]:_0x1d2355},{[_0x4dc664]:_0x308b79})[_0xf0c6ec(0x210)]((_0x5383f1,_0x5db392)=>{const _0x345963=_0xf0c6ec;_0x5383f1[_0x345963(0x1d6)]=this[_0x345963(0x17a)][_0x345963(0x160)]+_0x5db392,_0x5383f1[_0x345963(0x1b2)]=!0x0,this[_0x345963(0x14f)](_0x5383f1);}),this[_0xf0c6ec(0x1ca)](),await this[_0xf0c6ec(0x122)]();}async[_0x4097d3(0x1fa)](_0x4bdb06,_0xff0da2){const _0x4facbd=_0x4097d3;let _0x288aa6;this[_0x4facbd(0x1ba)]=_0x4bdb06[_0x4facbd(0x1c9)];const _0x3b2448=_0x4bdb06[_0x4facbd(0x158)]&&!_0x4bdb06[_0x4facbd(0x127)],_0x51e6a5=_0x3b2448?0x0:_0x4bdb06[_0x4facbd(0x1f8)][_0x4facbd(0x1d6)];if(_0xff0da2[_0x4facbd(0x210)](_0x5f3bd8=>{const _0x5f3e9f=_0x4facbd;_0x5f3bd8[_0x5f3e9f(0x1b2)]=!0x0,_0x5f3bd8[_0x5f3e9f(0x136)]=_0x4bdb06[_0x5f3e9f(0x15f)],_0x5f3bd8[_0x5f3e9f(0x1fe)]=null;}),_0x3b2448)_0x288aa6=_0xff0da2,this[_0x4facbd(0x12e)](_0x288aa6,_0x3b2448);else{if(_0x4bdb06[_0x4facbd(0x127)]){const _0x36a9d9=this[_0x4facbd(0x143)](_0x4bdb06[_0x4facbd(0x127)]);this[_0x4facbd(0x17a)][_0x4facbd(0x168)][_0x4facbd(0x160)]=-_0x36a9d9[_0x4facbd(0x1f0)],_0x36a9d9[_0x4facbd(0x210)](_0xa625a6=>{const _0x31e68a=_0x4facbd;_0xa625a6[_0x31e68a(0x1d6)]-=_0x36a9d9[_0x31e68a(0x1f0)],_0xa625a6[_0x31e68a(0x136)]=_0x4bdb06[_0x31e68a(0x15f)],_0xa625a6[_0x31e68a(0x1b2)]=!0x0,_0xa625a6[_0x31e68a(0x1fe)]=null;}),this[_0x4facbd(0x12e)](_0x36a9d9,!0x0),this[_0x4facbd(0x19d)][_0x4facbd(0x160)]=-_0x36a9d9[_0x4facbd(0x1f0)]+this[_0x4facbd(0x1ba)],this[_0x4facbd(0x191)](_0x36a9d9);}this[_0x4facbd(0x17a)][_0x4facbd(0x168)][_0x4facbd(0x160)]=_0x51e6a5,_0x288aa6=this[_0x4facbd(0x161)](_0x4bdb06[_0x4facbd(0x1f8)],_0x4bdb06[_0x4facbd(0x183)]),await this[_0x4facbd(0x151)](_0x288aa6),this[_0x4facbd(0x12e)](_0x288aa6,_0x3b2448);}_0x4bdb06[_0x4facbd(0x18f)]&&(this[_0x4facbd(0x155)][_0x4facbd(0x123)](_0x288aa6,_0x4bdb06[_0x4facbd(0x18f)]),this[_0x4facbd(0x202)]=_0x4bdb06[_0x4facbd(0x18f)]),this[_0x4facbd(0x19d)][_0x4facbd(0x160)]=_0x51e6a5+this[_0x4facbd(0x1ba)],this[_0x4facbd(0x191)](_0x288aa6),_0xff0da2[_0x4facbd(0x1cb)](_0x4f66e2=>{const _0x49103d=_0x4facbd,_0x25801f=this[_0x49103d(0x1f4)](_0x4f66e2);return _0x25801f&&!this[_0x49103d(0x1e0)][_0x49103d(0x148)](_0x25801f);})[_0x4facbd(0x210)]((_0x4bc0b4,_0x16d1c4)=>{const _0x3c9714=_0x4facbd;_0x4bc0b4[_0x3c9714(0x1d6)]=this[_0x3c9714(0x17a)][_0x3c9714(0x160)]+_0x16d1c4,this[_0x3c9714(0x14f)](_0x4bc0b4);}),this[_0x4facbd(0x1bc)]()?(this[_0x4facbd(0x126)]=0x0,this[_0x4facbd(0x1ca)](!0x0),await this[_0x4facbd(0x122)]()):(this[_0x4facbd(0x1a9)]=!0x1,this[_0x4facbd(0x18c)]());}[_0x4097d3(0x205)](_0x3a1688,_0xc8d46f){const _0x214aa0=_0x4097d3;throw this[_0x214aa0(0x1a9)]=!0x0,_0xc8d46f&&console[_0x214aa0(0x182)](_0xc8d46f),new _0x1869a5(_0x3a1688,this[_0x214aa0(0x172)]);}[_0x4097d3(0x14f)](_0x1bd420){const _0x38cef2=_0x4097d3;this[_0x38cef2(0x177)][_0x38cef2(0x148)](_0x1bd420)||(this[_0x38cef2(0x177)][_0x38cef2(0x1ea)](_0x1bd420),this[_0x38cef2(0x1b6)][_0x38cef2(0x17d)](_0x1bd420),this[_0x38cef2(0x1d9)]||_0x38cef2(0x1ab)==_0x1bd420[_0x38cef2(0x146)]&&!_0x1bd420[_0x38cef2(0x1f9)]||this[_0x38cef2(0x203)]());}[_0x4097d3(0x1ca)](_0x2ad972=!0x1){const _0x3bfed0=_0x4097d3;!_0x2ad972&&this[_0x3bfed0(0x1a9)]||(this[_0x3bfed0(0x1a9)]=!0x0,clearTimeout(this[_0x3bfed0(0x1b8)]),this[_0x3bfed0(0x1b8)]=setTimeout(()=>{const _0x542a1a=_0x3bfed0;this[_0x542a1a(0x1f2)]()[_0x542a1a(0x13e)](_0x512c38=>{const _0x120c75=_0x542a1a;_0x512c38&&(this[_0x120c75(0x18c)](),this[_0x120c75(0x1a9)]=!0x1);})[_0x542a1a(0x11a)](_0x14d8bb=>{const _0x50d723=_0x542a1a;if(this[_0x50d723(0x18c)](),this[_0x50d723(0x1a9)]=!0x1,!function(_0x476f3e){const _0x210a6d=_0x50d723;return _0x476f3e[_0x210a6d(0x20e)][_0x210a6d(0x12b)](_0x210a6d(0x140))||_0x476f3e[_0x210a6d(0x20e)][_0x210a6d(0x12b)](_0x210a6d(0x153))||_0x476f3e[_0x210a6d(0x20e)][_0x210a6d(0x12b)](_0x210a6d(0x1ff));}(_0x14d8bb))throw _0x14d8bb;});},this[_0x3bfed0(0x126)]));}[_0x4097d3(0x122)](){return new Promise(_0x32cbb4=>{const _0x5f0409=_0x3389;this['on'](_0x5f0409(0x1c0),()=>{_0x32cbb4();});});}async[_0x4097d3(0x1f2)](){const _0x53ca6d=_0x4097d3,_0x1ba832=this[_0x53ca6d(0x172)][_0x53ca6d(0x131)][_0x53ca6d(0x193)](_0xdd7a1d);if(this[_0x53ca6d(0x180)]()&&(_0x1ba832[_0x53ca6d(0x185)](),this[_0x53ca6d(0x207)]=!0x1),!this[_0x53ca6d(0x1bc)]())return!0x0;const _0x59e321=[...this[_0x53ca6d(0x1b6)]];for(const _0x1e4497 of _0x59e321)_0x1e4497[_0x53ca6d(0x1c2)]=this[_0x53ca6d(0x17a)][_0x53ca6d(0x168)][_0x53ca6d(0x150)](_0x1e4497);const _0x5e556f=this[_0x53ca6d(0x155)][_0x53ca6d(0x1bb)](_0x59e321),_0x141b42=Y++,_0x49a19d=this[_0x53ca6d(0x1db)](_0x59e321),_0xc915d6=await this[_0x53ca6d(0x1e8)][_0x53ca6d(0x178)](_0x49a19d,_0x49a19d[_0x53ca6d(0x1d6)],_0x5e556f);try{return await this[_0x53ca6d(0x1b7)](_0x59e321,_0xc915d6,_0x141b42);}catch(_0xe4b3f7){return this[_0x53ca6d(0x205)](_0x53ca6d(0x141),_0xe4b3f7);}}async[_0x4097d3(0x1b7)](_0x612550,_0x55325e,_0x31fa17){const _0x3607f2=_0x4097d3;if(_0x3607f2(0x182)in _0x55325e)throw _0x55325e[_0x3607f2(0x182)];let _0x38f759=!0x1;if(_0x55325e[_0x3607f2(0x158)]){_0x55325e[_0x3607f2(0x18f)]&&(this[_0x3607f2(0x202)]=_0x55325e[_0x3607f2(0x18f)]),this[_0x3607f2(0x1b6)]=this[_0x3607f2(0x1b6)][_0x3607f2(0x1cb)](_0x360890=>!_0x612550[_0x3607f2(0x19e)](_0x360890));for(const _0x44516f of _0x612550)_0x44516f[_0x3607f2(0x136)]=_0x3607f2(0x15a)in _0x55325e&&_0x55325e[_0x3607f2(0x15a)]||void 0x0;tt(_0x612550,_0x55325e[_0x3607f2(0x160)]-_0x612550[_0x3607f2(0x1f0)]),this[_0x3607f2(0x191)](_0x612550);const _0x3123c9=_0x612550[_0x3607f2(0x1cb)](_0x1cdb63=>{const _0x4e75dd=_0x3607f2;if(!_0x1cdb63[_0x4e75dd(0x1b2)])return!0x1;const _0x4def01=this[_0x4e75dd(0x1f4)](_0x1cdb63);return _0x4def01&&!this[_0x4e75dd(0x1e0)][_0x4e75dd(0x148)](_0x4def01);});tt(_0x3123c9,this[_0x3607f2(0x17a)][_0x3607f2(0x160)]),this[_0x3607f2(0x12e)](_0x3123c9),_0x38f759=!0x0,this[_0x3607f2(0x126)]=this[_0x3607f2(0x174)];}else{const _0x5c11c9=this[_0x3607f2(0x161)](_0x55325e[_0x3607f2(0x1f8)],_0x55325e[_0x3607f2(0x183)])[_0x3607f2(0x1cb)](_0x242b9b=>_0x242b9b[_0x3607f2(0x1d6)]>=this[_0x3607f2(0x16d)]);_0x5c11c9[_0x3607f2(0x210)](_0xb5fe59=>this[_0x3607f2(0x117)](_0xb5fe59)),this[_0x3607f2(0x1b6)]=this[_0x3607f2(0x1b6)][_0x3607f2(0x1cb)](_0x1c44d3=>!_0x1c44d3[_0x3607f2(0x1b2)]||!this[_0x3607f2(0x1e0)][_0x3607f2(0x148)](this[_0x3607f2(0x1f4)](_0x1c44d3))),this[_0x3607f2(0x1b6)][_0x3607f2(0x1f0)]&&tt(this[_0x3607f2(0x1b6)],this[_0x3607f2(0x1b6)][0x0][_0x3607f2(0x1d6)]),await this[_0x3607f2(0x151)](_0x5c11c9),_0x38f759=this[_0x3607f2(0x200)](_0x5c11c9,_0x55325e[_0x3607f2(0x160)],_0x55325e[_0x3607f2(0x18f)]),this[_0x3607f2(0x126)]=Math[_0x3607f2(0x20c)](this[_0x3607f2(0x126)]/0x2);}return _0x38f759?!this[_0x3607f2(0x1bc)]()||(this[_0x3607f2(0x1ca)](!0x0),!0x1):this[_0x3607f2(0x205)](_0x3607f2(0x1ce));}[_0x4097d3(0x200)](_0x55baa7,_0x5b24c7,_0x2ba11d){const _0x2ef68a=_0x4097d3;try{const _0x23ced6={'document':this[_0x2ef68a(0x17a)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3232a1,operationsB:_0x437aa7,originalOperations:_0x39893b}=_0x4364f0(_0x55baa7,this[_0x2ef68a(0x1b6)],_0x23ced6);tt(_0x3232a1,this[_0x2ef68a(0x17a)][_0x2ef68a(0x160)]),tt(_0x437aa7,_0x5b24c7);for(const _0x2e9a41 of _0x3232a1){const _0x439912=_0x39893b[_0x2ef68a(0x193)](_0x2e9a41);_0x2e9a41[_0x2ef68a(0x1fe)]=_0x439912?_0x439912[_0x2ef68a(0x1fe)]:null;}_0x2ba11d&&(this[_0x2ef68a(0x155)][_0x2ef68a(0x123)](_0x55baa7,_0x2ba11d),this[_0x2ef68a(0x202)]=_0x2ba11d),this[_0x2ef68a(0x1b6)]=[..._0x437aa7],this[_0x2ef68a(0x12e)](_0x3232a1),this[_0x2ef68a(0x191)](_0x55baa7);}catch(_0x39a501){return console[_0x2ef68a(0x182)](_0x39a501),!0x1;}return!0x0;}[_0x4097d3(0x12e)](_0x1bfcfd,_0x498970=!0x1){const _0x4233e9=_0x4097d3;this[_0x4233e9(0x172)][_0x4233e9(0x1a0)][_0x4233e9(0x1d8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55c27b=>{const _0x33399e=_0x4233e9;for(const _0x451cdc of _0x1bfcfd)this[_0x33399e(0x177)][_0x33399e(0x1ea)](_0x451cdc),this[_0x33399e(0x117)](_0x451cdc),_0x55c27b[_0x33399e(0x1e4)][_0x33399e(0x196)](_0x451cdc),this[_0x33399e(0x172)][_0x33399e(0x1a0)][_0x33399e(0x165)](_0x451cdc);});}[_0x4097d3(0x117)](_0x19a5df){const _0xa84cad=_0x4097d3,_0x1e6910=this[_0xa84cad(0x1f4)](_0x19a5df);_0x1e6910&&this[_0xa84cad(0x1e0)][_0xa84cad(0x1ea)](_0x1e6910);}[_0x4097d3(0x1f4)](_0x32c3d0){const _0x3dde59=_0x4097d3;let _0x2b170d,_0x255259;switch(_0x32c3d0[_0x3dde59(0x146)]){case _0x3dde59(0x1b9):_0x2b170d=_0x32c3d0[_0x3dde59(0x14e)][_0x3dde59(0x1af)];break;case _0x3dde59(0x1ab):if(_0x255259=_0x32c3d0[_0x3dde59(0x135)],!_0x255259)return null;_0x2b170d=_0x255259[_0x3dde59(0x1af)];break;case _0x3dde59(0x212):_0x2b170d=_0x32c3d0[_0x3dde59(0x1af)];break;case _0x3dde59(0x1cd):_0x2b170d=_0x32c3d0[_0x3dde59(0x11f)];break;case _0x3dde59(0x1a1):_0x2b170d=_0x32c3d0[_0x3dde59(0x1d4)][_0x3dde59(0x1af)];break;default:return null;}return _0x2b170d[_0x3dde59(0x1d3)];}[_0x4097d3(0x191)](_0x231d70){const _0x17624a=_0x4097d3;_0x231d70[_0x17624a(0x210)](_0x2d620b=>{const _0x10d7e6=_0x17624a,_0x307856=_0x2d620b[_0x10d7e6(0x1d7)]();_0x307856[_0x10d7e6(0x1fe)]=_0x2d620b[_0x10d7e6(0x1fe)],_0x307856[_0x10d7e6(0x1b2)]=!!_0x2d620b[_0x10d7e6(0x1b2)],_0x307856[_0x10d7e6(0x136)]=_0x2d620b[_0x10d7e6(0x136)],_0x307856[_0x10d7e6(0x1d6)]+=this[_0x10d7e6(0x1ba)],_0x2d620b[_0x10d7e6(0x187)]&&this[_0x10d7e6(0x1cf)][_0x10d7e6(0x1ea)](_0x307856),this[_0x10d7e6(0x19d)][_0x10d7e6(0x196)](_0x307856);});}[_0x4097d3(0x176)](_0x554e39){const _0x4bbd3f=_0x4097d3,_0x41c04f=this[_0x4bbd3f(0x172)][_0x4bbd3f(0x131)][_0x4bbd3f(0x193)](_0x4bbd3f(0x1f6)),_0x4d9818=this[_0x4bbd3f(0x172)][_0x4bbd3f(0x145)];_0x554e39||(_0x554e39=_0x319e51(_0x4d9818,_0x4bbd3f(0x11e))),_0x41c04f[_0x4bbd3f(0x12a)](_0x554e39,{'title':_0x319e51(_0x4d9818,_0x4bbd3f(0x15b)),'namespace':_0x4bbd3f(0x111)}),this[_0x4bbd3f(0x167)]=!0x0,clearTimeout(this[_0x4bbd3f(0x1b8)]),this[_0x4bbd3f(0x1b6)]=[],this[_0x4bbd3f(0x172)][_0x4bbd3f(0x131)][_0x4bbd3f(0x193)](_0x5b1049)[_0x4bbd3f(0x20b)]();}[_0x4097d3(0x203)](){const _0x30522a=_0x4097d3;this[_0x30522a(0x1d9)]||(this[_0x30522a(0x1d9)]=this[_0x30522a(0x172)][_0x30522a(0x131)][_0x30522a(0x193)](_0xc7e2db)[_0x30522a(0x1ea)](_0x319e51(this[_0x30522a(0x172)][_0x30522a(0x145)],_0x30522a(0x163))));}[_0x4097d3(0x18c)](){const _0x4e62c7=_0x4097d3;this[_0x4e62c7(0x1d9)]&&(this[_0x4e62c7(0x172)][_0x4e62c7(0x131)][_0x4e62c7(0x193)](_0xc7e2db)[_0x4e62c7(0x157)](this[_0x4e62c7(0x1d9)]),this[_0x4e62c7(0x1d9)]=null);}[_0x4097d3(0x1db)](_0x26fb10){const _0x10bbea=_0x4097d3,_0x4ea5bd=_0x26fb10[_0x10bbea(0x208)](_0xb7c48a=>_0xb7c48a[_0x10bbea(0x1f3)]());return this[_0x10bbea(0x1ee)][_0x10bbea(0x188)](_0x4ea5bd);}[_0x4097d3(0x161)](_0x395746,_0x5c529f){const _0xacce24=_0x4097d3;return this[_0xacce24(0x1ee)][_0xacce24(0x206)](_0x395746)[_0xacce24(0x208)]((_0x593cc6,_0x5b67ee)=>{const _0x30bb71=_0xacce24,_0x24b9df=_0x30bb71(0x16a)==_0x5c529f[_0x5b67ee][_0x30bb71(0x146)];if(_0x30bb71(0x19a)==_0x593cc6[_0x30bb71(0x179)]){const _0x54ea38=_0x593cc6[_0x30bb71(0x14e)][_0x30bb71(0x1af)];!this[_0x30bb71(0x17a)][_0x30bb71(0x156)](_0x54ea38)&&(this[_0x30bb71(0x17a)][_0x30bb71(0x16e)](_0x30bb71(0x142),_0x54ea38)[_0x30bb71(0x113)]=!0x1);}const _0x3c0968=_0x49d2d1[_0x30bb71(0x186)](_0x593cc6,this[_0x30bb71(0x17a)]);return _0x3c0968[_0x30bb71(0x1c2)]=_0x593cc6[_0x30bb71(0x1c2)],_0x3c0968[_0x30bb71(0x1b2)]=_0x24b9df,_0x3c0968[_0x30bb71(0x1fe)]=_0x24b9df?null:_0x5c529f[_0x5b67ee][_0x30bb71(0x144)],_0x3c0968[_0x30bb71(0x187)]=_0x30bb71(0x20f)===_0x5c529f[_0x5b67ee][_0x30bb71(0x146)],_0x3c0968[_0x30bb71(0x136)]=_0x5c529f[_0x5b67ee][_0x30bb71(0x136)],_0x3c0968;});}[_0x4097d3(0x1e1)](){const _0x406854=_0x4097d3;this[_0x406854(0x207)]=!0x0,this[_0x406854(0x180)]()?this[_0x406854(0x1ca)]():this[_0x406854(0x207)]=!0x1;}[_0x4097d3(0x180)](){const _0x41e1ac=_0x4097d3,_0x140721=this[_0x41e1ac(0x172)][_0x41e1ac(0x131)][_0x41e1ac(0x193)](_0x442fab)[_0x41e1ac(0x1bd)][_0x41e1ac(0x193)](this[_0x41e1ac(0x115)]);return!this[_0x41e1ac(0x172)][_0x41e1ac(0x201)]&&!!_0x140721&&_0x140721[_0x41e1ac(0x1f0)]>0x1&&this[_0x41e1ac(0x207)];}[_0x4097d3(0x1bc)](){const _0x6ba255=_0x4097d3;return this[_0x6ba255(0x1b6)][_0x6ba255(0x1f0)]>0x0||this[_0x6ba255(0x180)]();}}l[_0x4097d3(0x192)]=_0x2e8aaa;export default l;class Z extends Error{}function tt(_0x1539a2,_0x3717a3){const _0x3c716d=_0x4097d3;for(const _0x9dca0d of _0x1539a2)_0x9dca0d[_0x3c716d(0x1d6)]=_0x3717a3++;}class it{constructor(_0x1a1b85){const _0x3e05d1=_0x4097d3;this[_0x3e05d1(0x170)]=_0x1a1b85,this[_0x3e05d1(0x169)]=new WeakMap();}[_0x4097d3(0x1bb)](_0x370a4b){const _0x378621=_0x4097d3;let _0x5bf624=_0x370a4b[_0x378621(0x1f0)];for(;_0x5bf624--;){const _0x55c772=_0x370a4b[_0x5bf624];if(!this[_0x378621(0x170)][_0x378621(0x148)](_0x55c772)){if(!this[_0x378621(0x169)][_0x378621(0x148)](_0x55c772)){const _0x39027a=_0x434fef()[_0x378621(0x138)](0x1,0x12);this[_0x378621(0x169)][_0x378621(0x1b1)](_0x55c772,_0x39027a);}return this[_0x378621(0x169)][_0x378621(0x193)](_0x55c772);}}}[_0x4097d3(0x123)](_0x24a884,_0x2d4bfb){const _0x109051=_0x4097d3;if(!_0x2d4bfb)return;let _0x500020=_0x24a884[_0x109051(0x1f0)];for(;_0x500020--;){const _0x3de211=_0x24a884[_0x500020];this[_0x109051(0x170)][_0x109051(0x148)](_0x3de211)||this[_0x109051(0x169)][_0x109051(0x1b1)](_0x3de211,_0x2d4bfb);}}}
|
|
23
|
+
const _0x29e759=_0x44b1;(function(_0x25a18e,_0x1ae65c){const _0x1a606f=_0x44b1,_0x44f75b=_0x25a18e();while(!![]){try{const _0x2dd06b=parseInt(_0x1a606f(0x17d))/0x1*(parseInt(_0x1a606f(0x208))/0x2)+-parseInt(_0x1a606f(0x1f1))/0x3+-parseInt(_0x1a606f(0x23d))/0x4+-parseInt(_0x1a606f(0x1c9))/0x5+-parseInt(_0x1a606f(0x1f9))/0x6+-parseInt(_0x1a606f(0x175))/0x7*(parseInt(_0x1a606f(0x23a))/0x8)+-parseInt(_0x1a606f(0x201))/0x9*(-parseInt(_0x1a606f(0x236))/0xa);if(_0x2dd06b===_0x1ae65c)break;else _0x44f75b['push'](_0x44f75b['shift']());}catch(_0x3b47ed){_0x44f75b['push'](_0x44f75b['shift']());}}}(_0x8416,0x33e37));import{Plugin as _0x255e56,PendingActions as _0xb106ea}from'ckeditor5/src/core.js';function _0x44b1(_0x463bf6,_0x518d6e){const _0x8416e0=_0x8416();return _0x44b1=function(_0x44b1cc,_0x2c19fd){_0x44b1cc=_0x44b1cc-0x141;let _0x53c633=_0x8416e0[_0x44b1cc];return _0x53c633;},_0x44b1(_0x463bf6,_0x518d6e);}import{CKEditorError as _0x863be0,version as _0x3ebfc5,uid as _0x3ab699}from'ckeditor5/src/utils.js';import{Notification as _0x1369aa}from'ckeditor5/src/ui.js';import{transformSets as _0x499335,NoOperation as _0x3c62e9,InsertOperation as _0x24d7f2,MarkerOperation as _0x3c4fba,RootAttributeOperation as _0x5b8da9,OperationFactory as _0x1d4d83,History as _0x463704}from'ckeditor5/src/engine.js';import _0x2c2c8f from'./websocketgateway.js';import _0x2ea552 from'./sessions.js';import _0x5b5253 from'./usermarkers.js';import{getTranslation as _0x48f94a}from'../common-translations.js';import{Compressor as _0x44ec9d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x32dfb3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8416(){const _0x2180f2=['Synchronization\x20issue','apply','round','1dIbUOe','getIdOfTheLastOperation','_handleSendingSelectionMarkers','realtimecollaborationclient-sendbufferedoperations','cloudDocumentVersion','stopListening','reset','_handleReconnectionError','initData','init','connect','document:write','isEnabled','createPositionFromPath','cs:removeUser','real-time-collaboration','Notification','_knownRootNames','roots','document','addToReconnectionStack','markers','409','decompress','_addKnownRoot','cloud-services-internal-error:\x20Not\x20connected.','root','Permissions','serverHistory','permissions','createdAt','_clearPendingAction','connected','size','version','affectedSelectable','getOperationAuthor','rootsAttributes','lastOperationId','pluginName','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.','view','_updateServerHistory','enableReadOnlyMode','CommentsOnly','cloudServices.bundleVersion','collaboration.channelId','_isLoaded','_crash','404','sessionCreatedAt','getDocumentDetails','reconnect','_isPendingUpdate','currentDocumentSession','operationsReceived','enqueueChange','state','_refreshUserSelectionMarkers','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isDisconnection','catch','ready','isDocumentOperation','from','add','end','type','define','_offset','createRoot','_getAffectedRoot','requires','register','newRange','realtimecollaborationclient-init-non-existent-root','1576725OMhVuc','attributes','_handleInitialConnectionData','_setUpDataInit','isReadOnly','cloud-services-internal-error:\x20Request\x20timeout.','$root','change:hasDomSelection','_getOperationsFromInitData','removeFromReconnectionStack','entries','_setPendingAction','_connectAfterSessionHasBeenFlushed','_connectService','_lastServerVersion','RealTimeCollaborationClient','compress','_loadRoot','connection','_initThrowingOnDataSet','get','applyOperation','sessionAdd:','plugins','getMany','fire','_hasSelectionChanged','push','rtc-destroyed','_saveOperationInBuffer','map','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','string','_document','locale','_service','return','addUser','_hasSynchronizationProblem','lastOperationAcceptedAt','756495GxpxKB','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.','batch','_bufferRootLoad','data','collaboration-missing-channelid','position','__className','2045580ehxDhl','realtimecollaborationclient-initservice-internal-error','baseVersion','message','model','createUserMarkerOperations','_lastSyncedOperationId','_handleExternalOperations','13612302RQPghL','_compressOperations','reconnection:\x20flushed\x20session','_operationToId','disconnected','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_compressor','201166vTgTNY','addOperation','userId','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-initservice-incorrect-server-operation','slice','_pendingAction','CollaborativeEditingService','editing','_operationIdentifier','history','setIdForTheLastOperation','setPermissions','length','PENDING_ACTION_SENDING_DATA','fromJSON','addRoot','rtc-offline','_sendBufferedOperations','bind','getOperations','toJSON','_sendBufferedOperationsDelayed','getConnectedSessions','isOfficialPlugin','path','_initSessionsHandling','move','clone','change:_isPendingUpdate','createPositionAt','InsertOperation','has','suppressErrorInCollaboration','createRange','_handleReceivedOperations','mySessionId','_currentBufferDelay','startsWith','disableReadOnlyMode','_fetchMissingUsers','_waitUntilSynced','_disconnectService','_decompressOperations','unregister','lastDocumentSession','10WrASYF','stop','getRoot','_isEditingAllowed','133976eZXRVH','_knownOperations','sessionId','1298464QajRrN','isUndoneOperation','keys','isPremiumPlugin','directChange','_sendBufferedOperationsDelayId','parse','loadRoot','getUser','insert','editor','addRootAttribute','_shouldSendUpdate','wasUndone','realtimecollaborationclient-init-document-already-initialized','then','destroy','error','start','high','_applyOperationsSet','change:_isEditingAllowed','off','_isAttached','_handleServerResponse','multi-root-editor-root-attributes-no-root','differ','channelSessions','rootName','change:range','_authorId','_isConnected','lastSyncVersion','realtimecollaborationclient-handleserverresponse','targetPosition','_ignoredOperations','finally','forEach','filter','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sendOperations','_baseBufferDelay','offset','_shouldSendSelectionUpdate','code','marker','realtimecollaborationclient-init-session-connection-error','config','_disconnectionOperations','set','_bufferedOperations','remove','listenTo','disconnect','collaboration','metadata','selection','showWarning','wereChangesApplied','_handleReconnectionResponse','70HfflWQ','affectsData','_channelId','_isInit','includes'];_0x8416=function(){return _0x2180f2;};return _0x8416();}import{User as _0x314d9e,CollaborativeEditingService as _0x18e670}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x255e56{static get[_0x29e759(0x1c5)](){return[_0x2c2c8f,_0x2ea552,_0x5b5253,_0xb106ea,_0x32dfb3,_0x1369aa];}static get[_0x29e759(0x1a4)](){const _0x17f86b=_0x29e759;return _0x17f86b(0x1d8);}static get[_0x29e759(0x220)](){return!0x0;}static get[_0x29e759(0x240)](){return!0x0;}get[_0x29e759(0x181)](){const _0x5eb0f2=_0x29e759;return this[_0x5eb0f2(0x1d7)]+this[_0x5eb0f2(0x1c2)];}get[_0x29e759(0x1d7)](){const _0x6dd598=_0x29e759;return this[_0x6dd598(0x199)][_0x6dd598(0x19f)]-this[_0x6dd598(0x1c2)];}get[_0x29e759(0x159)](){const _0x55a5e7=_0x29e759,_0x2c35d4=this[_0x55a5e7(0x199)][_0x55a5e7(0x21c)]();for(let _0x2909a3=_0x2c35d4[_0x55a5e7(0x215)]-0x1;_0x2909a3>=0x0;_0x2909a3--){const _0x329a23=_0x2c35d4[_0x2909a3];if(!this[_0x55a5e7(0x169)][_0x55a5e7(0x228)](_0x329a23))return _0x329a23[_0x55a5e7(0x1fb)]+0x1-this[_0x55a5e7(0x1c2)];}return 0x0;}constructor(_0x1d5374){const _0x1653ca=_0x29e759;if(super(_0x1d5374),this[_0x1653ca(0x1c2)]=0x0,this[_0x1653ca(0x23c)]=null,this[_0x1653ca(0x199)]=new _0x463704(),this[_0x1653ca(0x143)][_0x1653ca(0x168)][_0x1653ca(0x1c1)](_0x1653ca(0x16f),{}),this[_0x1653ca(0x177)]=this[_0x1653ca(0x143)][_0x1653ca(0x168)][_0x1653ca(0x1dd)](_0x1653ca(0x1ab)),!this[_0x1653ca(0x177)])throw new _0x863be0(_0x1653ca(0x1f6),this);const _0x38d5db=_0x1d5374[_0x1653ca(0x168)][_0x1653ca(0x1dd)](_0x1653ca(0x1aa))||_0x3ebfc5;this[_0x1653ca(0x1ec)]=new l[(_0x1653ca(0x20f))](_0x38d5db,this[_0x1653ca(0x177)]),this[_0x1653ca(0x1ea)]=this[_0x1653ca(0x143)][_0x1653ca(0x1fd)][_0x1653ca(0x190)],this[_0x1653ca(0x207)]=new _0x44ec9d(),this[_0x1653ca(0x16b)]=[],this[_0x1653ca(0x23b)]=new WeakSet(),this[_0x1653ca(0x18e)]=new Set(),this[_0x1653ca(0x16a)](_0x1653ca(0x1b2),!0x1),this[_0x1653ca(0x16a)](_0x1653ca(0x1ef),!0x1),this[_0x1653ca(0x20e)]=null,this[_0x1653ca(0x1e3)]=!0x1,this[_0x1653ca(0x242)]=null,this[_0x1653ca(0x162)]=0x12c,this[_0x1653ca(0x22d)]=this[_0x1653ca(0x162)],this[_0x1653ca(0x1ff)]=null,this[_0x1653ca(0x169)]=new WeakSet(),this[_0x1653ca(0x211)]=new G(this[_0x1653ca(0x169)]);}[_0x29e759(0x186)](){const _0xa061ef=_0x29e759,_0xdc8d8c=this[_0xa061ef(0x143)],_0x424d02=_0xdc8d8c[_0xa061ef(0x1e0)][_0xa061ef(0x1dd)](_0x32dfb3),_0x4d9cfe=_0xdc8d8c[_0xa061ef(0x1e0)][_0xa061ef(0x1dd)](_0x2c2c8f);this[_0xa061ef(0x16d)](_0x424d02,_0xa061ef(0x1a1),(_0x555dc0,_0x30e3b3)=>{const _0x5942c9=_0xa061ef,_0x2d0346=_0x30e3b3[0x0];_0x2d0346[_0x5942c9(0x157)]&&(_0x555dc0[_0x5942c9(0x1ed)]=_0x424d02[_0x5942c9(0x141)](_0x2d0346[_0x5942c9(0x157)]),_0x555dc0[_0x5942c9(0x237)]()),null===_0x2d0346[_0x5942c9(0x157)]&&(_0x555dc0[_0x5942c9(0x1ed)]=null,_0x555dc0[_0x5942c9(0x237)]());},{'priority':_0xa061ef(0x14c)}),this[_0xa061ef(0x16d)](_0xdc8d8c[_0xa061ef(0x1fd)][_0xa061ef(0x190)][_0xa061ef(0x171)],_0xa061ef(0x156),(_0x330986,_0x1053e8)=>{const _0x46d072=_0xa061ef;_0x1053e8[_0x46d072(0x241)]&&this[_0x46d072(0x1b7)]();}),this[_0xa061ef(0x16d)](_0xdc8d8c[_0xa061ef(0x210)][_0xa061ef(0x1a6)],_0xa061ef(0x1d0),()=>{const _0x47c084=_0xa061ef;this[_0x47c084(0x1b7)]();}),this[_0xa061ef(0x1dc)](),_0xdc8d8c[_0xa061ef(0x1fd)]['on'](_0xa061ef(0x1de),(_0x58c31c,_0x4411cf)=>{const _0x193072=_0xa061ef,_0x473a76=_0x4411cf[0x0];_0x473a76[_0x193072(0x1bc)]&&(this[_0x193072(0x1e6)](_0x473a76),this[_0x193072(0x145)]()&&this[_0x193072(0x21e)]());}),this[_0xa061ef(0x1cc)](),this[_0xa061ef(0x21b)](_0xa061ef(0x239))['to'](_0x4d9cfe,_0xa061ef(0x1b6),this,_0xa061ef(0x1ef),(_0x61edf4,_0x2d6f42)=>_0xa061ef(0x19d)===_0x61edf4&&!_0x2d6f42),this['on'](_0xa061ef(0x14e),()=>{const _0x1ee4a1=_0xa061ef;this[_0x1ee4a1(0x239)]?_0xdc8d8c[_0x1ee4a1(0x22f)](_0x1ee4a1(0x219)):_0xdc8d8c[_0x1ee4a1(0x1a8)](_0x1ee4a1(0x219));}),this[_0xa061ef(0x239)]?_0xdc8d8c[_0xa061ef(0x22f)](_0xa061ef(0x219)):_0xdc8d8c[_0xa061ef(0x1a8)](_0xa061ef(0x219)),this[_0xa061ef(0x16a)](_0xa061ef(0x158),!0x1);}async[_0x29e759(0x1b1)](){const _0x2646bd=_0x29e759,_0x3efccb=this[_0x2646bd(0x143)][_0x2646bd(0x1e0)][_0x2646bd(0x1dd)](_0x2ea552),_0x361d15=this[_0x2646bd(0x143)][_0x2646bd(0x1e0)][_0x2646bd(0x1dd)](_0x2c2c8f);try{this[_0x2646bd(0x1b2)]=!0x0,_0x3efccb[_0x2646bd(0x234)](this[_0x2646bd(0x177)]);const _0x469e23=await this[_0x2646bd(0x1ec)][_0x2646bd(0x1b1)](_0x361d15[_0x2646bd(0x1db)],this[_0x2646bd(0x159)]);await this[_0x2646bd(0x174)](_0x469e23)&&(this[_0x2646bd(0x1b2)]=!0x1,this[_0x2646bd(0x19c)]());const _0x5bf1a0=await this[_0x2646bd(0x1ec)][_0x2646bd(0x21f)]();_0x3efccb[_0x2646bd(0x1c6)](this[_0x2646bd(0x177)],_0x5bf1a0),this[_0x2646bd(0x17f)](),this[_0x2646bd(0x158)]=!0x0;}catch(_0x2d25f3){if(function(_0x53cfdd){const _0xd07d90=_0x2646bd;return _0xd07d90(0x1ae)===_0x53cfdd[_0xd07d90(0x165)];}(_0x2d25f3)&&this[_0x2646bd(0x23c)])await this[_0x2646bd(0x1d5)]();else{if(function(_0x1b74a5){const _0x429ef4=_0x2646bd;return _0x429ef4(0x193)===_0x1b74a5[_0x429ef4(0x165)];}(_0x2d25f3)){const _0x3a25ed=_0x48f94a(this[_0x2646bd(0x143)][_0x2646bd(0x1eb)],_0x2646bd(0x160));this[_0x2646bd(0x184)](_0x3a25ed);}else{if(!(_0x2d25f3 instanceof H))throw _0x2d25f3;this[_0x2646bd(0x184)]();}}}}[_0x29e759(0x149)](){const _0x51e633=_0x29e759,_0x495271=this[_0x51e633(0x143)][_0x51e633(0x1e0)][_0x51e633(0x1dd)](_0x2c2c8f),_0x3b9080=this[_0x51e633(0x143)][_0x51e633(0x1e0)][_0x51e633(0x1dd)](_0x2ea552);this[_0x51e633(0x143)][_0x51e633(0x1a8)](_0x51e633(0x1e5)),_0x3b9080[_0x51e633(0x154)][_0x51e633(0x228)](this[_0x51e633(0x177)])&&_0x3b9080[_0x51e633(0x234)](this[_0x51e633(0x177)]),_0x495271[_0x51e633(0x1d2)](this),this[_0x51e633(0x232)](),super[_0x51e633(0x149)]();}async[_0x29e759(0x174)](_0x1ea955){const _0x5d156a=_0x29e759;if(this[_0x5d156a(0x23c)]!==_0x1ea955[_0x5d156a(0x23c)]&&this[_0x5d156a(0x1ff)]!==_0x1ea955[_0x5d156a(0x1a3)])throw new H();return this[_0x5d156a(0x23c)]=_0x1ea955[_0x5d156a(0x23c)],this[_0x5d156a(0x151)]([],{..._0x1ea955,'wereChangesApplied':!0x1,'data':_0x1ea955[_0x5d156a(0x1f5)]},_0x5d156a(0x1b1));}async[_0x29e759(0x1d6)](_0x562f32,_0x5726c3=!0x1){const _0x1668f4=_0x29e759,{connection:_0x1e60ed}=this[_0x1668f4(0x143)][_0x1668f4(0x1e0)][_0x1668f4(0x1dd)](_0x2c2c8f);l[_0x1668f4(0x20f)][_0x1668f4(0x21f)](_0x1e60ed,this[_0x1668f4(0x177)])[_0x1668f4(0x148)](_0x4db12b=>this[_0x1668f4(0x222)](_0x4db12b))[_0x1668f4(0x1ba)](_0x208dc9=>{const _0x19ad42=_0x1668f4;this[_0x19ad42(0x1ad)](_0x19ad42(0x167),_0x208dc9);}),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x1b4),this[_0x1668f4(0x22b)][_0x1668f4(0x21b)](this)),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x14a),(_0x3a4fcb,_0x9ec4f3)=>{const _0x18054f=_0x1668f4;this[_0x18054f(0x1ad)](_0x18054f(0x1fa),_0x9ec4f3);}),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x205),()=>{const _0x49e5a8=_0x1668f4;this[_0x49e5a8(0x158)]=!0x1;});const _0x1e6af6=this[_0x1668f4(0x211)][_0x1668f4(0x17e)](_0x562f32);this[_0x1668f4(0x1b2)]=!0x0;const _0x471f1a=await this[_0x1668f4(0x1ec)][_0x1668f4(0x187)](_0x1e60ed,this[_0x1668f4(0x202)](_0x562f32),_0x1e6af6);if(this[_0x1668f4(0x23c)]=_0x471f1a[_0x1668f4(0x23c)],_0x5726c3){if(!_0x471f1a[_0x1668f4(0x173)])return void this[_0x1668f4(0x184)]();this[_0x1668f4(0x1b2)]=!0x1,this[_0x1668f4(0x19c)](),this[_0x1668f4(0x199)][_0x1668f4(0x183)](),this[_0x1668f4(0x1c2)]=_0x471f1a[_0x1668f4(0x163)],this[_0x1668f4(0x199)][_0x1668f4(0x19f)]=this[_0x1668f4(0x1c2)],await this[_0x1668f4(0x151)](_0x562f32,_0x471f1a,_0x1668f4(0x203));}else await this[_0x1668f4(0x1cb)](_0x471f1a,_0x562f32);this[_0x1668f4(0x17f)](),this[_0x1668f4(0x158)]=!0x0;}[_0x29e759(0x17f)](){const _0x718fd=_0x29e759,_0x112a1e=this[_0x718fd(0x143)][_0x718fd(0x1e0)][_0x718fd(0x1dd)](_0x2ea552),_0x1af25c=this[_0x718fd(0x143)][_0x718fd(0x1e0)][_0x718fd(0x1dd)](_0x5b5253),_0x5bb78f=_0x112a1e[_0x718fd(0x154)][_0x718fd(0x1dd)](this[_0x718fd(0x177)]);_0x5bb78f&&_0x5bb78f[_0x718fd(0x215)]>0x1?_0x1af25c[_0x718fd(0x1fe)]():this[_0x718fd(0x16d)](_0x112a1e,_0x718fd(0x1df)+this[_0x718fd(0x177)],()=>{const _0x294859=_0x718fd;0x2===_0x112a1e[_0x294859(0x154)][_0x294859(0x1dd)](this[_0x294859(0x177)])[_0x294859(0x215)]&&_0x1af25c[_0x294859(0x1fe)]();});}async[_0x29e759(0x22b)](_0x172023,_0x31259f,_0x22d008,_0x42a5a7){const _0x2b16a9=_0x29e759;if(!this[_0x2b16a9(0x1b2)]&&this[_0x2b16a9(0x1ea)][_0x2b16a9(0x19f)]==_0x31259f){const _0x4d31a8=this[_0x2b16a9(0x233)](_0x22d008,_0x42a5a7);await this[_0x2b16a9(0x230)](_0x4d31a8),this[_0x2b16a9(0x200)](_0x4d31a8,_0x31259f,_0x22d008[_0x2b16a9(0x1a3)])||this[_0x2b16a9(0x1ad)](_0x2b16a9(0x20c));}}async[_0x29e759(0x1d5)](){const _0x4507f7=_0x29e759;this[_0x4507f7(0x232)]();const {locale:_0x5873b9}=this[_0x4507f7(0x143)];let _0x36879c;try{_0x36879c=await this[_0x4507f7(0x1ec)][_0x4507f7(0x1b0)]();}catch(_0x2f1c51){const _0x1a03b5=_0x48f94a(_0x5873b9,_0x4507f7(0x1b8));return void this[_0x4507f7(0x184)](_0x1a03b5);}const _0x23428f=_0x36879c[_0x4507f7(0x1b3)]||_0x36879c[_0x4507f7(0x235)];if(this[_0x4507f7(0x1ff)]===_0x23428f[_0x4507f7(0x1a3)])await this[_0x4507f7(0x1d6)](this[_0x4507f7(0x143)][_0x4507f7(0x1fd)][_0x4507f7(0x190)][_0x4507f7(0x212)][_0x4507f7(0x21c)](),!0x0);else{const _0x4948f=_0x48f94a(_0x5873b9,_0x4507f7(0x1f2));this[_0x4507f7(0x184)](_0x4948f);}}[_0x29e759(0x232)](){const _0x164444=_0x29e759;this[_0x164444(0x1ec)][_0x164444(0x16e)](),this[_0x164444(0x16b)]=[],clearTimeout(this[_0x164444(0x242)]),this[_0x164444(0x182)](this[_0x164444(0x1ec)]);}[_0x29e759(0x222)](_0x5794ab){const _0x469aa0=_0x29e759,_0x1da3f8=this[_0x469aa0(0x143)][_0x469aa0(0x1e0)][_0x469aa0(0x1dd)](_0x2ea552);this[_0x469aa0(0x16d)](_0x1da3f8,_0x469aa0(0x1df)+this[_0x469aa0(0x177)],(_0x343ef1,{session:_0xcf4fd5})=>{const _0x16e412=_0x469aa0;if(_0xcf4fd5['id']===_0x1da3f8[_0x16e412(0x22c)]){_0x343ef1[_0x16e412(0x14f)]();const _0x2d5940=this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x228)](_0x16e412(0x1a9))&&this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x1dd)](_0x16e412(0x1a9));let _0x24d7fd=_0xcf4fd5[_0x16e412(0x19a)];_0x2d5940&&_0x2d5940[_0x16e412(0x189)]&&(_0x24d7fd=_0x24d7fd[_0x16e412(0x15f)](_0x24f44a=>_0x16e412(0x188)!==_0x24f44a)),this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x1dd)](_0x16e412(0x198))[_0x16e412(0x214)](_0x24d7fd,this[_0x16e412(0x177)]);}}),_0x1da3f8[_0x469aa0(0x1c6)](this[_0x469aa0(0x177)],_0x5794ab);}[_0x29e759(0x1dc)](){const _0x386e91=_0x29e759,_0x1163ce=this[_0x386e91(0x143)][_0x386e91(0x1f5)][_0x386e91(0x16a)];this[_0x386e91(0x143)][_0x386e91(0x1f5)][_0x386e91(0x16a)]=(..._0x164f25)=>{const _0x50499f=_0x386e91;if(!_0x164f25[_0x164f25[_0x50499f(0x215)]-0x1][_0x50499f(0x229)])throw new _0x863be0(_0x50499f(0x206),this);_0x1163ce[_0x50499f(0x17b)](this[_0x50499f(0x143)][_0x50499f(0x1f5)],_0x164f25);};}[_0x29e759(0x1cc)](){const _0x3e8c44=_0x29e759;this[_0x3e8c44(0x143)][_0x3e8c44(0x1f5)]['on'](_0x3e8c44(0x186),(_0x2d99aa,[_0x4b4011])=>{const _0x5647c1=_0x3e8c44;if(this[_0x5647c1(0x1ea)][_0x5647c1(0x19f)])throw new _0x863be0(_0x5647c1(0x147),this);_0x2d99aa[_0x5647c1(0x237)](),this[_0x5647c1(0x1d4)]();const _0x13b602=this[_0x5647c1(0x143)][_0x5647c1(0x168)][_0x5647c1(0x1dd)](_0x5647c1(0x1a2)),_0x556637=this[_0x5647c1(0x1d1)](_0x4b4011,_0x13b602);0x0==_0x556637[_0x5647c1(0x215)]&&_0x556637[_0x5647c1(0x1e4)](new _0x3c62e9(0x0)),_0x2d99aa[_0x5647c1(0x1ed)]=this[_0x5647c1(0x1d6)](_0x556637)[_0x5647c1(0x148)](()=>{const _0x38bddd=_0x5647c1;this[_0x38bddd(0x143)][_0x38bddd(0x1e0)][_0x38bddd(0x1dd)](_0x2c2c8f)[_0x38bddd(0x191)](this),this[_0x38bddd(0x143)][_0x38bddd(0x1f5)][_0x38bddd(0x1e2)](_0x38bddd(0x1bb));})[_0x5647c1(0x1ba)](_0x455ce3=>this[_0x5647c1(0x1ad)](_0x5647c1(0x20b),_0x455ce3))[_0x5647c1(0x15d)](()=>this[_0x5647c1(0x19c)]());},{'priority':_0x3e8c44(0x14c)}),this[_0x3e8c44(0x143)]['on'](_0x3e8c44(0x244),async(_0x14ba58,[_0x4f0ac3,_0x29f7e3])=>{const _0x9525b5=_0x3e8c44;_0x14ba58[_0x9525b5(0x237)]();const _0x54c8e2=this[_0x9525b5(0x143)][_0x9525b5(0x1fd)][_0x9525b5(0x190)][_0x9525b5(0x238)](_0x4f0ac3);if(!this[_0x9525b5(0x18e)][_0x9525b5(0x228)](_0x4f0ac3)){const _0x1650a0=_0x29f7e3&&_0x29f7e3[_0x9525b5(0x1f5)]?_0x29f7e3[_0x9525b5(0x1f5)]:'',_0x250779=_0x29f7e3&&_0x29f7e3[_0x9525b5(0x1ca)]?_0x29f7e3[_0x9525b5(0x1ca)]:{};await this[_0x9525b5(0x1da)](_0x4f0ac3,_0x1650a0,_0x250779);}this[_0x9525b5(0x143)][_0x9525b5(0x1fd)][_0x9525b5(0x1b5)]({'isUndoable':!0x1},()=>{const _0xb88074=_0x9525b5;_0x54c8e2[_0xb88074(0x1ac)]=!0x0,this[_0xb88074(0x143)][_0xb88074(0x1fd)][_0xb88074(0x190)][_0xb88074(0x153)][_0xb88074(0x1f4)](_0x54c8e2);});},{'priority':_0x3e8c44(0x14c)});}async[_0x29e759(0x230)](_0x27ca43){const _0x4845bd=_0x29e759,_0xaae61c=this[_0x4845bd(0x143)][_0x4845bd(0x1e0)][_0x4845bd(0x1dd)](_0x32dfb3),{connection:_0xea9638}=this[_0x4845bd(0x143)][_0x4845bd(0x1e0)][_0x4845bd(0x1dd)](_0x2c2c8f),_0x550eef=new Set();for(const _0x3b4ade of _0x27ca43){const _0x336b1f=_0x3b4ade[_0x4845bd(0x157)];_0x336b1f&&!_0xaae61c[_0x4845bd(0x141)](_0x336b1f)&&_0x550eef[_0x4845bd(0x1be)](_0x336b1f);}if(0x0===_0x550eef[_0x4845bd(0x19e)])return;const _0x188bc6=await _0x314d9e[_0x4845bd(0x1e1)](_0xea9638,Array[_0x4845bd(0x1bd)](_0x550eef));for(const _0x33c80c of _0x188bc6)_0xaae61c[_0x4845bd(0x141)](_0x33c80c['id'])||_0xaae61c[_0x4845bd(0x1ee)](_0x33c80c);}[_0x29e759(0x1d1)](_0x1cd3a3,_0x541216={}){const _0x47a070=_0x29e759,_0x3f0c6d=this[_0x47a070(0x143)][_0x47a070(0x1fd)],_0x4e2e98=[];let _0x22b99a=0x0;const _0x4585e7=_0x47a070(0x1e9)==typeof _0x1cd3a3?{'main':_0x1cd3a3}:_0x1cd3a3;for(const _0x24b5c5 of Object[_0x47a070(0x23f)](_0x4585e7)){if(!this[_0x47a070(0x1ea)][_0x47a070(0x18f)][_0x47a070(0x228)](_0x24b5c5))throw new _0x863be0(_0x47a070(0x1c8),this);const _0x4dd37f=this[_0x47a070(0x143)][_0x47a070(0x1f5)][_0x47a070(0x243)](_0x4585e7[_0x24b5c5]),_0x22b557=this[_0x47a070(0x1ea)][_0x47a070(0x238)](_0x24b5c5),_0x3473af=new _0x24d7f2(_0x3f0c6d[_0x47a070(0x226)](_0x22b557,0x0),_0x4dd37f,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x3473af);for(const [_0x2d2407,_0x2dca4f]of _0x4dd37f[_0x47a070(0x192)]){const _0x1d4f5e=_0x3f0c6d[_0x47a070(0x22a)](_0x3f0c6d[_0x47a070(0x18a)](_0x22b557,_0x2dca4f[_0x47a070(0x14b)][_0x47a070(0x221)][_0x47a070(0x20d)]()),_0x3f0c6d[_0x47a070(0x18a)](_0x22b557,_0x2dca4f[_0x47a070(0x1bf)][_0x47a070(0x221)][_0x47a070(0x20d)]())),_0x12e768=new _0x3c4fba(_0x2d2407,null,_0x1d4f5e,_0x3f0c6d[_0x47a070(0x192)],!0x0,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x12e768);}}if(_0x541216)for(const [_0x132ffa,_0x5a1b5d]of Object[_0x47a070(0x1d3)](_0x541216)){const _0x26b982=_0x3f0c6d[_0x47a070(0x190)][_0x47a070(0x238)](_0x132ffa);if(!_0x26b982)throw new _0x863be0(_0x47a070(0x152),null);for(const [_0x5d6bb3,_0x21e57b]of Object[_0x47a070(0x1d3)](_0x5a1b5d))if(null!==_0x21e57b){const _0x15964a=new _0x5b8da9(_0x26b982,_0x5d6bb3,null,_0x21e57b,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x15964a);}}return _0x4e2e98;}async[_0x29e759(0x1da)](_0x314d6b,_0x3bd182,_0x1657cd){const _0xbea194=_0x29e759;this[_0xbea194(0x1d1)]({[_0x314d6b]:_0x3bd182},{[_0x314d6b]:_0x1657cd})[_0xbea194(0x15e)]((_0x19bd26,_0x16ca88)=>{const _0xebb340=_0xbea194;_0x19bd26[_0xebb340(0x1fb)]=this[_0xebb340(0x1ea)][_0xebb340(0x19f)]+_0x16ca88,_0x19bd26[_0xebb340(0x178)]=!0x0,this[_0xebb340(0x1e6)](_0x19bd26);}),this[_0xbea194(0x21e)](),await this[_0xbea194(0x231)]();}async[_0x29e759(0x1cb)](_0x275836,_0x59a10e){const _0x48621b=_0x29e759;let _0x1c020f;this[_0x48621b(0x1c2)]=_0x275836[_0x48621b(0x163)];const _0x4e944d=_0x275836[_0x48621b(0x173)]&&!_0x275836[_0x48621b(0x185)],_0x3f1a6f=_0x4e944d?0x0:_0x275836[_0x48621b(0x1f5)][_0x48621b(0x1fb)];if(_0x59a10e[_0x48621b(0x15e)](_0x3ce322=>{const _0x16e87d=_0x48621b;_0x3ce322[_0x16e87d(0x178)]=!0x0,_0x3ce322[_0x16e87d(0x19b)]=_0x275836[_0x16e87d(0x1af)],_0x3ce322[_0x16e87d(0x157)]=null;}),_0x4e944d)_0x1c020f=_0x59a10e,this[_0x48621b(0x14d)](_0x1c020f,_0x4e944d);else{if(_0x275836[_0x48621b(0x185)]){const _0x3ed140=this[_0x48621b(0x1d1)](_0x275836[_0x48621b(0x185)]);this[_0x48621b(0x1ea)][_0x48621b(0x212)][_0x48621b(0x19f)]=-_0x3ed140[_0x48621b(0x215)],_0x3ed140[_0x48621b(0x15e)](_0x4f14be=>{const _0x490086=_0x48621b;_0x4f14be[_0x490086(0x1fb)]-=_0x3ed140[_0x490086(0x215)],_0x4f14be[_0x490086(0x19b)]=_0x275836[_0x490086(0x1af)],_0x4f14be[_0x490086(0x178)]=!0x0,_0x4f14be[_0x490086(0x157)]=null;}),this[_0x48621b(0x14d)](_0x3ed140,!0x0),this[_0x48621b(0x199)][_0x48621b(0x19f)]=-_0x3ed140[_0x48621b(0x215)]+this[_0x48621b(0x1c2)],this[_0x48621b(0x1a7)](_0x3ed140);}this[_0x48621b(0x1ea)][_0x48621b(0x212)][_0x48621b(0x19f)]=_0x3f1a6f,_0x1c020f=this[_0x48621b(0x233)](_0x275836[_0x48621b(0x1f5)],_0x275836[_0x48621b(0x170)]),await this[_0x48621b(0x230)](_0x1c020f),this[_0x48621b(0x14d)](_0x1c020f,_0x4e944d);}_0x275836[_0x48621b(0x1a3)]&&(this[_0x48621b(0x211)][_0x48621b(0x213)](_0x1c020f,_0x275836[_0x48621b(0x1a3)]),this[_0x48621b(0x1ff)]=_0x275836[_0x48621b(0x1a3)]),this[_0x48621b(0x199)][_0x48621b(0x19f)]=_0x3f1a6f+this[_0x48621b(0x1c2)],this[_0x48621b(0x1a7)](_0x1c020f),_0x59a10e[_0x48621b(0x15f)](_0x4ebae6=>{const _0x4ac6e5=_0x48621b,_0x57c796=this[_0x4ac6e5(0x1c4)](_0x4ebae6);return _0x57c796&&!this[_0x4ac6e5(0x18e)][_0x4ac6e5(0x228)](_0x57c796);})[_0x48621b(0x15e)]((_0x4d94c8,_0x4ba028)=>{const _0x2a3957=_0x48621b;_0x4d94c8[_0x2a3957(0x1fb)]=this[_0x2a3957(0x1ea)][_0x2a3957(0x19f)]+_0x4ba028,this[_0x2a3957(0x1e6)](_0x4d94c8);}),this[_0x48621b(0x145)]()?(this[_0x48621b(0x22d)]=0x0,this[_0x48621b(0x21e)](!0x0),await this[_0x48621b(0x231)]()):(this[_0x48621b(0x1b2)]=!0x1,this[_0x48621b(0x19c)]());}[_0x29e759(0x1ad)](_0x558e56,_0x469af9){const _0x39f716=_0x29e759;throw this[_0x39f716(0x1b2)]=!0x0,_0x469af9&&console[_0x39f716(0x14a)](_0x469af9),new _0x863be0(_0x558e56,this[_0x39f716(0x143)]);}[_0x29e759(0x1e6)](_0xdb6a8e){const _0x115db1=_0x29e759;this[_0x115db1(0x23b)][_0x115db1(0x228)](_0xdb6a8e)||(this[_0x115db1(0x23b)][_0x115db1(0x1be)](_0xdb6a8e),this[_0x115db1(0x16b)][_0x115db1(0x1e4)](_0xdb6a8e),this[_0x115db1(0x20e)]||_0x115db1(0x166)==_0xdb6a8e[_0x115db1(0x1c0)]&&!_0xdb6a8e[_0x115db1(0x176)]||this[_0x115db1(0x1d4)]());}[_0x29e759(0x21e)](_0xca1a49=!0x1){const _0x7a44be=_0x29e759;!_0xca1a49&&this[_0x7a44be(0x1b2)]||(this[_0x7a44be(0x1b2)]=!0x0,clearTimeout(this[_0x7a44be(0x242)]),this[_0x7a44be(0x242)]=setTimeout(()=>{const _0x3de9e0=_0x7a44be;this[_0x3de9e0(0x21a)]()[_0x3de9e0(0x148)](_0x5dfbd4=>{const _0x459e8f=_0x3de9e0;_0x5dfbd4&&(this[_0x459e8f(0x19c)](),this[_0x459e8f(0x1b2)]=!0x1);})[_0x3de9e0(0x1ba)](_0x2ac405=>{const _0x3ba610=_0x3de9e0;if(this[_0x3ba610(0x19c)](),this[_0x3ba610(0x1b2)]=!0x1,!function(_0x371134){const _0x3ada56=_0x3ba610;return _0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x196))||_0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x1e8))||_0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x1ce));}(_0x2ac405))throw _0x2ac405;});},this[_0x7a44be(0x22d)]));}[_0x29e759(0x231)](){return new Promise(_0x20cab6=>{const _0x520775=_0x44b1;this['on'](_0x520775(0x225),()=>{_0x20cab6();});});}async[_0x29e759(0x21a)](){const _0x1e567c=_0x29e759,_0x5f4852=this[_0x1e567c(0x143)][_0x1e567c(0x1e0)][_0x1e567c(0x1dd)](_0x5b5253);if(this[_0x1e567c(0x164)]()&&(_0x5f4852[_0x1e567c(0x1fe)](),this[_0x1e567c(0x1e3)]=!0x1),!this[_0x1e567c(0x145)]())return!0x0;const _0x3b16eb=[...this[_0x1e567c(0x16b)]];for(const _0xe12b85 of _0x3b16eb)_0xe12b85[_0x1e567c(0x146)]=this[_0x1e567c(0x1ea)][_0x1e567c(0x212)][_0x1e567c(0x23e)](_0xe12b85);const _0x38c5e7=this[_0x1e567c(0x211)][_0x1e567c(0x17e)](_0x3b16eb),_0x33ccb8=F++,_0x4f9226=this[_0x1e567c(0x202)](_0x3b16eb),_0xc20494=await this[_0x1e567c(0x1ec)][_0x1e567c(0x161)](_0x4f9226,_0x4f9226[_0x1e567c(0x1fb)],_0x38c5e7);try{return await this[_0x1e567c(0x151)](_0x3b16eb,_0xc20494,_0x33ccb8);}catch(_0x29dda7){return this[_0x1e567c(0x1ad)](_0x1e567c(0x180),_0x29dda7);}}async[_0x29e759(0x151)](_0x39e66b,_0x370e5a,_0x1227ad){const _0x4622c3=_0x29e759;if(_0x4622c3(0x14a)in _0x370e5a)throw _0x370e5a[_0x4622c3(0x14a)];let _0xffd9d9=!0x1;if(_0x370e5a[_0x4622c3(0x173)]){_0x370e5a[_0x4622c3(0x1a3)]&&(this[_0x4622c3(0x1ff)]=_0x370e5a[_0x4622c3(0x1a3)]),this[_0x4622c3(0x16b)]=this[_0x4622c3(0x16b)][_0x4622c3(0x15f)](_0x3da59e=>!_0x39e66b[_0x4622c3(0x179)](_0x3da59e));for(const _0x3f5d34 of _0x39e66b)_0x3f5d34[_0x4622c3(0x19b)]=_0x4622c3(0x1f0)in _0x370e5a&&_0x370e5a[_0x4622c3(0x1f0)]||void 0x0;q(_0x39e66b,_0x370e5a[_0x4622c3(0x19f)]-_0x39e66b[_0x4622c3(0x215)]),this[_0x4622c3(0x1a7)](_0x39e66b);const _0x61df2d=_0x39e66b[_0x4622c3(0x15f)](_0x589069=>{const _0x5cb281=_0x4622c3;if(!_0x589069[_0x5cb281(0x178)])return!0x1;const _0x10fc21=this[_0x5cb281(0x1c4)](_0x589069);return _0x10fc21&&!this[_0x5cb281(0x18e)][_0x5cb281(0x228)](_0x10fc21);});q(_0x61df2d,this[_0x4622c3(0x1ea)][_0x4622c3(0x19f)]),this[_0x4622c3(0x14d)](_0x61df2d),_0xffd9d9=!0x0,this[_0x4622c3(0x22d)]=this[_0x4622c3(0x162)];}else{const _0x2d6f83=this[_0x4622c3(0x233)](_0x370e5a[_0x4622c3(0x1f5)],_0x370e5a[_0x4622c3(0x170)])[_0x4622c3(0x15f)](_0x278951=>_0x278951[_0x4622c3(0x1fb)]>=this[_0x4622c3(0x1d7)]);_0x2d6f83[_0x4622c3(0x15e)](_0x5c2428=>this[_0x4622c3(0x195)](_0x5c2428)),this[_0x4622c3(0x16b)]=this[_0x4622c3(0x16b)][_0x4622c3(0x15f)](_0x5231b7=>!_0x5231b7[_0x4622c3(0x178)]||!this[_0x4622c3(0x18e)][_0x4622c3(0x228)](this[_0x4622c3(0x1c4)](_0x5231b7))),this[_0x4622c3(0x16b)][_0x4622c3(0x215)]&&q(this[_0x4622c3(0x16b)],this[_0x4622c3(0x16b)][0x0][_0x4622c3(0x1fb)]),await this[_0x4622c3(0x230)](_0x2d6f83),_0xffd9d9=this[_0x4622c3(0x200)](_0x2d6f83,_0x370e5a[_0x4622c3(0x19f)],_0x370e5a[_0x4622c3(0x1a3)]),this[_0x4622c3(0x22d)]=Math[_0x4622c3(0x17c)](this[_0x4622c3(0x22d)]/0x2);}return _0xffd9d9?!this[_0x4622c3(0x145)]()||(this[_0x4622c3(0x21e)](!0x0),!0x1):this[_0x4622c3(0x1ad)](_0x4622c3(0x15a));}[_0x29e759(0x200)](_0x2dc5ef,_0x56930a,_0x344082){const _0x1b49f4=_0x29e759;try{const _0x39abd1={'document':this[_0x1b49f4(0x1ea)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4ee1b0,operationsB:_0xd666e,originalOperations:_0x18f7ab}=_0x499335(_0x2dc5ef,this[_0x1b49f4(0x16b)],_0x39abd1);q(_0x4ee1b0,this[_0x1b49f4(0x1ea)][_0x1b49f4(0x19f)]),q(_0xd666e,_0x56930a);for(const _0x268451 of _0x4ee1b0){const _0x3e55e5=_0x18f7ab[_0x1b49f4(0x1dd)](_0x268451);_0x268451[_0x1b49f4(0x157)]=_0x3e55e5?_0x3e55e5[_0x1b49f4(0x157)]:null;}_0x344082&&(this[_0x1b49f4(0x211)][_0x1b49f4(0x213)](_0x2dc5ef,_0x344082),this[_0x1b49f4(0x1ff)]=_0x344082),this[_0x1b49f4(0x16b)]=[..._0xd666e],this[_0x1b49f4(0x14d)](_0x4ee1b0),this[_0x1b49f4(0x1a7)](_0x2dc5ef);}catch(_0x2e0242){return console[_0x1b49f4(0x14a)](_0x2e0242),!0x1;}return!0x0;}[_0x29e759(0x14d)](_0x52c9af,_0x5813c0=!0x1){const _0x145f58=_0x29e759;this[_0x145f58(0x143)][_0x145f58(0x1fd)][_0x145f58(0x1b5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x21d97a=>{const _0x2f8d6c=_0x145f58;for(const _0x5e943f of _0x52c9af)this[_0x2f8d6c(0x23b)][_0x2f8d6c(0x1be)](_0x5e943f),this[_0x2f8d6c(0x195)](_0x5e943f),_0x21d97a[_0x2f8d6c(0x1f3)][_0x2f8d6c(0x209)](_0x5e943f),this[_0x2f8d6c(0x143)][_0x2f8d6c(0x1fd)][_0x2f8d6c(0x1de)](_0x5e943f);});}[_0x29e759(0x195)](_0x188935){const _0xa21a99=_0x29e759,_0x39e86f=this[_0xa21a99(0x1c4)](_0x188935);_0x39e86f&&this[_0xa21a99(0x18e)][_0xa21a99(0x1be)](_0x39e86f);}[_0x29e759(0x1c4)](_0x4e395c){const _0x40fd3e=_0x29e759;let _0x46ecb5,_0x49b58b;switch(_0x4e395c[_0x40fd3e(0x1c0)]){case _0x40fd3e(0x142):_0x46ecb5=_0x4e395c[_0x40fd3e(0x1f7)][_0x40fd3e(0x197)];break;case _0x40fd3e(0x166):if(_0x49b58b=_0x4e395c[_0x40fd3e(0x1c7)],!_0x49b58b)return null;_0x46ecb5=_0x49b58b[_0x40fd3e(0x197)];break;case _0x40fd3e(0x144):_0x46ecb5=_0x4e395c[_0x40fd3e(0x197)];break;case _0x40fd3e(0x218):_0x46ecb5=_0x4e395c[_0x40fd3e(0x1a0)];break;case _0x40fd3e(0x223):_0x46ecb5=_0x4e395c[_0x40fd3e(0x15b)][_0x40fd3e(0x197)];break;default:return null;}return _0x46ecb5[_0x40fd3e(0x155)];}[_0x29e759(0x1a7)](_0x18b3e6){const _0xe2ba4f=_0x29e759;_0x18b3e6[_0xe2ba4f(0x15e)](_0x4ecc1b=>{const _0x1d5073=_0xe2ba4f,_0xdac1c2=_0x4ecc1b[_0x1d5073(0x224)]();_0xdac1c2[_0x1d5073(0x157)]=_0x4ecc1b[_0x1d5073(0x157)],_0xdac1c2[_0x1d5073(0x178)]=!!_0x4ecc1b[_0x1d5073(0x178)],_0xdac1c2[_0x1d5073(0x19b)]=_0x4ecc1b[_0x1d5073(0x19b)],_0xdac1c2[_0x1d5073(0x1fb)]+=this[_0x1d5073(0x1c2)],_0x4ecc1b[_0x1d5073(0x1b9)]&&this[_0x1d5073(0x169)][_0x1d5073(0x1be)](_0xdac1c2),this[_0x1d5073(0x199)][_0x1d5073(0x209)](_0xdac1c2);});}[_0x29e759(0x184)](_0x55db8b){const _0xa27b8a=_0x29e759,_0x36dbd6=this[_0xa27b8a(0x143)][_0xa27b8a(0x1e0)][_0xa27b8a(0x1dd)](_0xa27b8a(0x18d)),_0x1c72d5=this[_0xa27b8a(0x143)][_0xa27b8a(0x1eb)];_0x55db8b||(_0x55db8b=_0x48f94a(_0x1c72d5,_0xa27b8a(0x1a5))),_0x36dbd6[_0xa27b8a(0x172)](_0x55db8b,{'title':_0x48f94a(_0x1c72d5,_0xa27b8a(0x17a)),'namespace':_0xa27b8a(0x18c)}),this[_0xa27b8a(0x1ef)]=!0x0,clearTimeout(this[_0xa27b8a(0x242)]),this[_0xa27b8a(0x16b)]=[],this[_0xa27b8a(0x143)][_0xa27b8a(0x1e0)][_0xa27b8a(0x1dd)](_0x2c2c8f)[_0xa27b8a(0x149)]();}[_0x29e759(0x1d4)](){const _0x45be21=_0x29e759;this[_0x45be21(0x20e)]||(this[_0x45be21(0x20e)]=this[_0x45be21(0x143)][_0x45be21(0x1e0)][_0x45be21(0x1dd)](_0xb106ea)[_0x45be21(0x1be)](_0x48f94a(this[_0x45be21(0x143)][_0x45be21(0x1eb)],_0x45be21(0x216))));}[_0x29e759(0x19c)](){const _0x14635d=_0x29e759;this[_0x14635d(0x20e)]&&(this[_0x14635d(0x143)][_0x14635d(0x1e0)][_0x14635d(0x1dd)](_0xb106ea)[_0x14635d(0x16c)](this[_0x14635d(0x20e)]),this[_0x14635d(0x20e)]=null);}[_0x29e759(0x202)](_0x2eedbf){const _0x1076d6=_0x29e759,_0x1f4471=_0x2eedbf[_0x1076d6(0x1e7)](_0x2a1039=>_0x2a1039[_0x1076d6(0x21d)]());return this[_0x1076d6(0x207)][_0x1076d6(0x1d9)](_0x1f4471);}[_0x29e759(0x233)](_0x415692,_0xa62862){const _0x1dd8f5=_0x29e759;return this[_0x1dd8f5(0x207)][_0x1dd8f5(0x194)](_0x415692)[_0x1dd8f5(0x1e7)]((_0x46bc2d,_0x3bdb67)=>{const _0x1ea2bf=_0x1dd8f5,_0x2adc25=_0x1ea2bf(0x186)==_0xa62862[_0x3bdb67][_0x1ea2bf(0x1c0)];if(_0x1ea2bf(0x227)==_0x46bc2d[_0x1ea2bf(0x1f8)]){const _0x40eeeb=_0x46bc2d[_0x1ea2bf(0x1f7)][_0x1ea2bf(0x197)];!this[_0x1ea2bf(0x1ea)][_0x1ea2bf(0x238)](_0x40eeeb)&&(this[_0x1ea2bf(0x1ea)][_0x1ea2bf(0x1c3)](_0x1ea2bf(0x1cf),_0x40eeeb)[_0x1ea2bf(0x150)]=!0x1);}const _0x4ba1b1=_0x1d4d83[_0x1ea2bf(0x217)](_0x46bc2d,this[_0x1ea2bf(0x1ea)]);return _0x4ba1b1[_0x1ea2bf(0x146)]=_0x46bc2d[_0x1ea2bf(0x146)],_0x4ba1b1[_0x1ea2bf(0x178)]=_0x2adc25,_0x4ba1b1[_0x1ea2bf(0x157)]=_0x2adc25?null:_0xa62862[_0x3bdb67][_0x1ea2bf(0x20a)],_0x4ba1b1[_0x1ea2bf(0x1b9)]=_0x1ea2bf(0x18b)===_0xa62862[_0x3bdb67][_0x1ea2bf(0x1c0)],_0x4ba1b1[_0x1ea2bf(0x19b)]=_0xa62862[_0x3bdb67][_0x1ea2bf(0x19b)],_0x4ba1b1;});}[_0x29e759(0x1b7)](){const _0x1bf480=_0x29e759;this[_0x1bf480(0x1e3)]=!0x0,this[_0x1bf480(0x164)]()?this[_0x1bf480(0x21e)]():this[_0x1bf480(0x1e3)]=!0x1;}[_0x29e759(0x164)](){const _0x4ebd12=_0x29e759,_0x4703b7=this[_0x4ebd12(0x143)][_0x4ebd12(0x1e0)][_0x4ebd12(0x1dd)](_0x2ea552)[_0x4ebd12(0x154)][_0x4ebd12(0x1dd)](this[_0x4ebd12(0x177)]);return!this[_0x4ebd12(0x143)][_0x4ebd12(0x1cd)]&&!!_0x4703b7&&_0x4703b7[_0x4ebd12(0x215)]>0x1&&this[_0x4ebd12(0x1e3)];}[_0x29e759(0x145)](){const _0x26a21c=_0x29e759;return this[_0x26a21c(0x16b)][_0x26a21c(0x215)]>0x0||this[_0x26a21c(0x164)]();}}l[_0x29e759(0x20f)]=_0x18e670;export default l;class H extends Error{}function q(_0x59c68a,_0x59ef5a){const _0x51979b=_0x29e759;for(const _0x144f4c of _0x59c68a)_0x144f4c[_0x51979b(0x1fb)]=_0x59ef5a++;}class G{constructor(_0x2438d0){const _0x5ae163=_0x29e759;this[_0x5ae163(0x15c)]=_0x2438d0,this[_0x5ae163(0x204)]=new WeakMap();}[_0x29e759(0x17e)](_0x43a876){const _0x8a8eaa=_0x29e759;let _0x551139=_0x43a876[_0x8a8eaa(0x215)];for(;_0x551139--;){const _0x2a8486=_0x43a876[_0x551139];if(!this[_0x8a8eaa(0x15c)][_0x8a8eaa(0x228)](_0x2a8486)){if(!this[_0x8a8eaa(0x204)][_0x8a8eaa(0x228)](_0x2a8486)){const _0x9cbdf8=_0x3ab699()[_0x8a8eaa(0x20d)](0x1,0x12);this[_0x8a8eaa(0x204)][_0x8a8eaa(0x16a)](_0x2a8486,_0x9cbdf8);}return this[_0x8a8eaa(0x204)][_0x8a8eaa(0x1dd)](_0x2a8486);}}}[_0x29e759(0x213)](_0x3968b2,_0x23d36c){const _0x4428ef=_0x29e759;if(!_0x23d36c)return;let _0x57d913=_0x3968b2[_0x4428ef(0x215)];for(;_0x57d913--;){const _0x5b46ae=_0x3968b2[_0x57d913];this[_0x4428ef(0x15c)][_0x4428ef(0x228)](_0x5b46ae)||this[_0x4428ef(0x204)][_0x4428ef(0x16a)](_0x5b46ae,_0x23d36c);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3a2e(){const _0x2d5cb0=['107IlTseL','sessions-register-already-registered','6776820eEWnxr','remove','change:state','fire','_handleSessionAdd','defineMe','forEach','Sessions','has','user','pluginName','add','context','isPremiumPlugin','clear','4157616CmDsFg','listenTo','orderNumber','allConnectedUsers','sessionId','requires','assign','channelSessions','sessionAdd:','connected','delete','6394zRTNMh','get','5510538CeECVk','connection','isMe','3600401BdhFOH','isOfficialPlugin','getUserBySessionId','_users','2957436NrgDgm','register','_uniqueUsersCount','state','getUser','channelConnectedUsers','_registeredSessions','values','_handleSessionRemove','unregister','set','addUser','mySessionId','plugins','_createUser','8661104vTOAuz','size','stopListening','role','getUserRole','init','getUserSessions','sessions-unregister-not-exist'];_0x3a2e=function(){return _0x2d5cb0;};return _0x3a2e();}const _0x102b61=_0x263e;(function(_0xb0869b,_0x14bcd0){const _0x3cd27c=_0x263e,_0xbc3783=_0xb0869b();while(!![]){try{const _0x2bc6a2=parseInt(_0x3cd27c(0x179))/0x1*(-parseInt(_0x3cd27c(0x159))/0x2)+parseInt(_0x3cd27c(0x162))/0x3+-parseInt(_0x3cd27c(0x14e))/0x4+-parseInt(_0x3cd27c(0x17b))/0x5+parseInt(_0x3cd27c(0x15b))/0x6+parseInt(_0x3cd27c(0x15e))/0x7+parseInt(_0x3cd27c(0x171))/0x8;if(_0x2bc6a2===_0x14bcd0)break;else _0xbc3783['push'](_0xbc3783['shift']());}catch(_0x455f11){_0xbc3783['push'](_0xbc3783['shift']());}}}(_0x3a2e,0xba9d1));import{ContextPlugin as _0xb0535f}from'ckeditor5/src/core.js';import{Collection as _0x4a72c7,CKEditorError as _0x32a39a}from'ckeditor5/src/utils.js';import _0x964da9 from'./websocketgateway.js';function _0x263e(_0x2896f8,_0x345c60){const _0x3a2e29=_0x3a2e();return _0x263e=function(_0x263ed8,_0x3dd54c){_0x263ed8=_0x263ed8-0x14d;let _0x36fd59=_0x3a2e29[_0x263ed8];return _0x36fd59;},_0x263e(_0x2896f8,_0x345c60);}import{Users as _0x415def}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xb0535f{static get[_0x102b61(0x185)](){const _0x15b5c0=_0x102b61;return _0x15b5c0(0x182);}static get[_0x102b61(0x15f)](){return!0x0;}static get[_0x102b61(0x188)](){return!0x0;}static get[_0x102b61(0x153)](){return[_0x964da9,_0x415def];}constructor(_0x2e1b13){const _0x3e65ec=_0x102b61;super(_0x2e1b13),this[_0x3e65ec(0x155)]=new Map(),this[_0x3e65ec(0x167)]=new Map(),this[_0x3e65ec(0x151)]=new _0x4a72c7(),this[_0x3e65ec(0x168)]=new Map(),this[_0x3e65ec(0x164)]=0x0,this[_0x3e65ec(0x161)]=this[_0x3e65ec(0x187)][_0x3e65ec(0x16f)][_0x3e65ec(0x15a)](_0x415def);}[_0x102b61(0x176)](){const _0x15bf4c=_0x102b61,_0x363fd3=this[_0x15bf4c(0x187)][_0x15bf4c(0x16f)][_0x15bf4c(0x15a)](_0x964da9);this[_0x15bf4c(0x14f)](_0x363fd3,_0x15bf4c(0x17d),(_0x1e5652,_0x2b8eb8,_0x57e155)=>{const _0x4a266c=_0x15bf4c;if(_0x4a266c(0x157)!==_0x57e155)this[_0x4a266c(0x155)][_0x4a266c(0x181)](_0x4dd0cc=>_0x4dd0cc[_0x4a266c(0x14d)]()),this[_0x4a266c(0x167)][_0x4a266c(0x181)](_0x4c7829=>_0x4c7829[_0x4a266c(0x14d)]()),this[_0x4a266c(0x151)][_0x4a266c(0x14d)]();else{for(const [_0x11c082,_0x2d0921]of this[_0x4a266c(0x168)])for(const _0x3c582f of _0x2d0921)this[_0x4a266c(0x17f)](_0x11c082,_0x3c582f);}}),this[_0x15bf4c(0x170)](_0x363fd3[_0x15bf4c(0x15c)]['me'],!0x0);}[_0x102b61(0x163)](_0x2faec3,_0x13d787){const _0x5a4efa=_0x102b61;if(this[_0x5a4efa(0x168)][_0x5a4efa(0x183)](_0x2faec3))throw new _0x32a39a(_0x5a4efa(0x17a),null,{'channelId':_0x2faec3});this[_0x5a4efa(0x168)][_0x5a4efa(0x16c)](_0x2faec3,_0x13d787),this[_0x5a4efa(0x155)][_0x5a4efa(0x16c)](_0x2faec3,new _0x4a72c7()),this[_0x5a4efa(0x167)][_0x5a4efa(0x16c)](_0x2faec3,new _0x4a72c7()),this[_0x5a4efa(0x14f)](_0x13d787,_0x5a4efa(0x186),(_0x12fe67,_0x1fdf3f)=>this[_0x5a4efa(0x17f)](_0x2faec3,_0x1fdf3f)),this[_0x5a4efa(0x14f)](_0x13d787,_0x5a4efa(0x17c),(_0x4a7357,_0x40fd5f)=>this[_0x5a4efa(0x16a)](_0x2faec3,_0x40fd5f));for(const _0x47a873 of _0x13d787)this[_0x5a4efa(0x17f)](_0x2faec3,_0x47a873);}[_0x102b61(0x16b)](_0x5829f8){const _0x5986e9=_0x102b61;if(!this[_0x5986e9(0x168)][_0x5986e9(0x183)](_0x5829f8))throw new _0x32a39a(_0x5986e9(0x178),null,{'channelId':_0x5829f8});const _0x490f3a=this[_0x5986e9(0x168)][_0x5986e9(0x15a)](_0x5829f8);this[_0x5986e9(0x173)](_0x490f3a);for(const _0x25adbd of _0x490f3a)_0x5986e9(0x157)===this[_0x5986e9(0x187)][_0x5986e9(0x16f)][_0x5986e9(0x15a)](_0x964da9)[_0x5986e9(0x165)]&&this[_0x5986e9(0x16a)](_0x5829f8,_0x25adbd);this[_0x5986e9(0x168)][_0x5986e9(0x158)](_0x5829f8),this[_0x5986e9(0x155)][_0x5986e9(0x158)](_0x5829f8),this[_0x5986e9(0x167)][_0x5986e9(0x158)](_0x5829f8);}get[_0x102b61(0x16e)](){const _0x560872=_0x102b61;return this[_0x560872(0x187)][_0x560872(0x16f)][_0x560872(0x15a)](_0x964da9)[_0x560872(0x15c)][_0x560872(0x152)];}[_0x102b61(0x160)](_0x1751f8){const _0x15d696=_0x102b61;for(const _0x47bfe5 of this[_0x15d696(0x155)][_0x15d696(0x169)]())for(const _0x1b82a3 of _0x47bfe5)if(_0x1b82a3['id']===_0x1751f8)return _0x1b82a3[_0x15d696(0x184)];}[_0x102b61(0x177)](_0x24454f,_0x47211b){const _0x4313c8=_0x102b61,_0x554180=_0x47211b?[this[_0x4313c8(0x155)][_0x4313c8(0x15a)](_0x47211b)]:this[_0x4313c8(0x155)][_0x4313c8(0x169)](),_0x481a08=new Set();for(const _0x5f0b2f of _0x554180)for(const _0x4072b0 of _0x5f0b2f)_0x4072b0[_0x4313c8(0x184)]['id']===_0x24454f['id']&&_0x481a08[_0x4313c8(0x186)](_0x4072b0['id']);return _0x481a08;}[_0x102b61(0x175)](_0x32712c){const _0x3291aa=_0x102b61;for(const _0x3276cd of this[_0x3291aa(0x155)][_0x3291aa(0x169)]())for(const _0x4726bc of _0x3276cd)if(_0x4726bc[_0x3291aa(0x184)]===_0x32712c)return _0x4726bc[_0x3291aa(0x174)];}[_0x102b61(0x17f)](_0x5c9c89,_0x41e781){const _0x54fa6e=_0x102b61;if(_0x54fa6e(0x157)!==this[_0x54fa6e(0x187)][_0x54fa6e(0x16f)][_0x54fa6e(0x15a)](_0x964da9)[_0x54fa6e(0x165)])return;const _0x1655c7=_0x41e781[_0x54fa6e(0x184)],_0x2f89e2=this[_0x54fa6e(0x161)][_0x54fa6e(0x166)](_0x1655c7['id'])||this[_0x54fa6e(0x170)](_0x1655c7),_0x207127=Object[_0x54fa6e(0x154)]({},_0x41e781,{'user':_0x2f89e2});this[_0x54fa6e(0x155)][_0x54fa6e(0x15a)](_0x5c9c89)[_0x54fa6e(0x186)](_0x207127);const _0x3c8dd9=this[_0x54fa6e(0x167)][_0x54fa6e(0x15a)](_0x5c9c89);_0x3c8dd9[_0x54fa6e(0x183)](_0x2f89e2['id'])||_0x3c8dd9[_0x54fa6e(0x186)](_0x2f89e2),this[_0x54fa6e(0x151)][_0x54fa6e(0x183)](_0x2f89e2['id'])||this[_0x54fa6e(0x151)][_0x54fa6e(0x186)](_0x2f89e2,_0x2f89e2[_0x54fa6e(0x15d)]?0x0:void 0x0),this[_0x54fa6e(0x17e)](_0x54fa6e(0x156)+_0x5c9c89,{'channelId':_0x5c9c89,'session':_0x207127});}[_0x102b61(0x16a)](_0x571f34,_0x1faf22){const _0x486e16=_0x102b61;if(_0x486e16(0x157)!==this[_0x486e16(0x187)][_0x486e16(0x16f)][_0x486e16(0x15a)](_0x964da9)[_0x486e16(0x165)])return;const _0x20d3e3=this[_0x486e16(0x167)][_0x486e16(0x15a)](_0x571f34),_0x55ff47=_0x1faf22[_0x486e16(0x184)];_0x55ff47['id']&&(this[_0x486e16(0x155)][_0x486e16(0x15a)](_0x571f34)[_0x486e16(0x17c)](_0x1faf22['id']),_0x20d3e3[_0x486e16(0x183)](_0x55ff47['id'])&&!this[_0x486e16(0x177)](_0x55ff47,_0x571f34)[_0x486e16(0x172)]&&_0x20d3e3[_0x486e16(0x17c)](_0x55ff47['id']),this[_0x486e16(0x151)][_0x486e16(0x15a)](_0x55ff47['id'])&&!this[_0x486e16(0x177)](_0x55ff47)[_0x486e16(0x172)]&&this[_0x486e16(0x151)][_0x486e16(0x17c)](_0x55ff47['id']));}[_0x102b61(0x170)](_0x5d0635,_0x18c577){const _0x3f27a8=_0x102b61,_0x2e8c33=this[_0x3f27a8(0x161)][_0x3f27a8(0x16d)](_0x5d0635);return _0x18c577&&this[_0x3f27a8(0x161)][_0x3f27a8(0x180)](_0x5d0635['id']),_0x2e8c33[_0x3f27a8(0x150)]=this[_0x3f27a8(0x164)]++,_0x2e8c33;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xad70ae=_0xd177;(function(_0x2dfeea,_0x483c84){const _0x2fb9b6=_0xd177,_0x4e8eca=_0x2dfeea();while(!![]){try{const _0xc7a7eb=-parseInt(_0x2fb9b6(0x211))/0x1*(-parseInt(_0x2fb9b6(0x204))/0x2)+parseInt(_0x2fb9b6(0x1b0))/0x3*(-parseInt(_0x2fb9b6(0x1a6))/0x4)+-parseInt(_0x2fb9b6(0x201))/0x5+parseInt(_0x2fb9b6(0x1ba))/0x6*(-parseInt(_0x2fb9b6(0x1be))/0x7)+-parseInt(_0x2fb9b6(0x1ac))/0x8+-parseInt(_0x2fb9b6(0x20c))/0x9*(parseInt(_0x2fb9b6(0x1d6))/0xa)+parseInt(_0x2fb9b6(0x20b))/0xb;if(_0xc7a7eb===_0x483c84)break;else _0x4e8eca['push'](_0x4e8eca['shift']());}catch(_0x1cf566){_0x4e8eca['push'](_0x4e8eca['shift']());}}}(_0x2142,0x1faec));import{Plugin as _0x1ddea0}from'ckeditor5/src/core.js';import{global as _0xc8a9fe,DomEmitterMixin as _0x394a54}from'ckeditor5/src/utils.js';import _0x1655d6 from'./sessions.js';import{LiveRange as _0x374944}from'ckeditor5/src/engine.js';function _0x2142(){const _0x57d341=['editingDowncast','model','editing','<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>','listenTo','nodeAfter','user:','newRange','size','schema','getSelectionClass','user:position:','commands','UserMarkers','_domEmitter','clear','data-session-id','contenteditable','change:range','fromRange','getRange','applyOperation','reconvertMarker','ck-user__marker\x20','userPositionMarker','updateMarker','destroy','start','markerNameToElements','startsWith','createUserMarkerOperations','afterInit','ck-user__selection','set','getUserBySessionId','detach','for','render','isObject','isLimit','isSimilar','390005pKkUbZ','getNearestSelectionRange','addEventListener','642uQVvdB','view','split','markerToHighlight','undo','update:user:range','selection','5765793UTuPJz','55206ZtcCDg','element','batch','color','span','487QqRmRD','getCustomProperty','markerToElement','user:range:','getAttribute','innerHTML','Escape','user:range','mySessionId','isCollapsed','stopListening','rootName','getMarkerClass','highest','change','type','getContainedElement','mouseenter','mouseleave','ck-user__marker_hovered','keydown','document','setCustomProperty','classList','createRange','getPositions','21572PbYrCU','markerName','checkChild','toDomElement','parent','markers','1532112zkHIoZ','oldRange','init','hasContent','30FrjRlW','marker','remove','root','enqueueChange','end','$graveyard','</span>','removeClass','addMarker','37182YtTVun','tableCell','isPremiumPlugin','add','35yQypLQ','createUIElement','removeMarker','editor','hasDomSelection','plugins','requires','_createdBatches','isOfficialPlugin','toRange','has','isInline','getFirstRange','get','deletionPosition','getStart','$text','delete','conversion','markerRange','mapper','pluginName','orderNumber','user:position','320JDElLx','name'];_0x2142=function(){return _0x57d341;};return _0x2142();}function _0xd177(_0x393a07,_0x27ada4){const _0x21428b=_0x2142();return _0xd177=function(_0xd17782,_0x49ec3f){_0xd17782=_0xd17782-0x199;let _0x31545e=_0x21428b[_0xd17782];return _0x31545e;},_0xd177(_0x393a07,_0x27ada4);}import'../../theme/usermarkers.css';export default class K extends _0x1ddea0{constructor(){const _0x5688da=_0xd177;super(...arguments),this[_0x5688da(0x1e6)]=new(_0x394a54())();}static get[_0xad70ae(0x1c4)](){return[_0x1655d6];}static get[_0xad70ae(0x1d3)](){const _0x354c6a=_0xad70ae;return _0x354c6a(0x1e5);}static get[_0xad70ae(0x1c6)](){return!0x0;}static get[_0xad70ae(0x1bc)](){return!0x0;}[_0xad70ae(0x1ae)](){const _0x5c435e=_0xad70ae,_0x232a59=this[_0x5c435e(0x1c1)],_0x367884=_0x232a59[_0x5c435e(0x1c3)][_0x5c435e(0x1cb)](_0x1655d6);_0x232a59[_0x5c435e(0x1d0)][_0x5c435e(0x1fc)](_0x5c435e(0x1d8))[_0x5c435e(0x213)]({'model':_0x5c435e(0x1d5),'view':(_0x16f88b,{writer:_0x11549b})=>function(_0x5f0c32,_0x2495ed,_0x1466a8,_0x5b9a30){const _0x2e5b09=_0x5c435e,_0x5eab73=_0x5f0c32[_0x2e5b09(0x1a7)][_0x2e5b09(0x206)](':')[0x2],_0x47ad91=_0x1466a8[_0x2e5b09(0x1fa)](_0x5eab73);if(!_0x47ad91||_0x5eab73===_0x1466a8[_0x2e5b09(0x219)])return;if(!_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1e1)][_0x2e5b09(0x1a8)](_0x5f0c32[_0x2e5b09(0x1d1)][_0x2e5b09(0x1f3)],_0x2e5b09(0x1ce)))return;const _0xc97046={'class':_0x2e5b09(0x1ef)+_0x47ad91[_0x2e5b09(0x20f)][_0x2e5b09(0x21d)](),'data-name':_0x47ad91[_0x2e5b09(0x1d7)],'data-session-id':_0x5eab73},_0x1c6c6a=_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1ab)][_0x2e5b09(0x1cb)](_0x5f0c32[_0x2e5b09(0x1a7)]),_0x4a519a=_0x1c6c6a[_0x2e5b09(0x1cd)](),_0x366112=_0x4a519a[_0x2e5b09(0x1dd)],_0x503ccf=_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1e1)];if(_0x366112&&_0x503ccf[_0x2e5b09(0x1fe)](_0x366112)&&_0x503ccf[_0x2e5b09(0x1c9)](_0x366112)&&!_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1ab)][_0x2e5b09(0x1cb)](_0x2e5b09(0x214)+_0x5eab73)[_0x2e5b09(0x1ec)]()[_0x2e5b09(0x21a)])return;const _0x9e5bb7=_0x4a519a[_0x2e5b09(0x1aa)];return _0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1e1)][_0x2e5b09(0x1ff)](_0x9e5bb7)&&!_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1af)](_0x9e5bb7)&&(_0xc97046[_0x2e5b09(0x1e9)]=!0x1),function(_0x5c748b,_0x311d75,_0x3435e0){const _0x349052=_0x2e5b09,_0x7986b4=_0x5c748b[_0x349052(0x1bf)](_0x349052(0x210),_0x311d75);return _0x5c748b[_0x349052(0x1a2)](_0x349052(0x1f0),!0x0,_0x7986b4),_0x7986b4[_0x349052(0x1fd)]=function(_0x2dff2f){const _0x5ebda1=_0x349052,_0x4eae6f=this[_0x5ebda1(0x1a9)](_0x2dff2f);return _0x4eae6f[_0x5ebda1(0x216)]=_0x5ebda1(0x1db)+_0x3435e0[_0x5ebda1(0x1d7)]+_0x5ebda1(0x1b7),_0x4eae6f[_0x5ebda1(0x203)](_0x5ebda1(0x19d),()=>{const _0x48e925=_0x5ebda1;_0x4eae6f[_0x48e925(0x1a3)][_0x48e925(0x1bd)](_0x48e925(0x19f));}),_0x4eae6f[_0x5ebda1(0x203)](_0x5ebda1(0x19e),()=>{const _0x1c2d6f=_0x5ebda1;_0x4eae6f[_0x1c2d6f(0x1a3)][_0x1c2d6f(0x1b2)](_0x1c2d6f(0x19f));}),_0x4eae6f;},_0x7986b4[_0x349052(0x200)]=function(_0x3898cd){const _0x475c8a=_0x349052;return!(!this[_0x475c8a(0x212)](_0x475c8a(0x1f0))||!_0x3898cd[_0x475c8a(0x212)](_0x475c8a(0x1f0))||this[_0x475c8a(0x215)](_0x475c8a(0x1e8))!=_0x3898cd[_0x475c8a(0x215)](_0x475c8a(0x1e8)));},_0x7986b4;}(_0x2495ed,_0xc97046,_0x47ad91);}(_0x16f88b,_0x11549b,_0x367884,_0x232a59)}),_0x232a59[_0x5c435e(0x1d0)][_0x5c435e(0x1fc)](_0x5c435e(0x1d8))[_0x5c435e(0x207)]({'model':_0x5c435e(0x218),'view':_0x531011=>function(_0x3789d0,_0x2fca0a){const _0x5588cf=_0x5c435e,_0xd74933=_0x3789d0[_0x5588cf(0x1a7)][_0x5588cf(0x206)](':')[0x2];if(_0xd74933===_0x2fca0a[_0x5588cf(0x219)])return null;const _0x46f770=_0x2fca0a[_0x5588cf(0x1fa)](_0xd74933);if(!_0x46f770)return{'id':_0xd74933,'classes':[]};return{'id':_0xd74933,'classes':[_0x5588cf(0x1f8),_0x46f770[_0x5588cf(0x20f)][_0x5588cf(0x1e2)]()],'attributes':{'data-session-id':_0xd74933},'priority':0x7d0+_0x46f770[_0x5588cf(0x1d4)]};}(_0x531011,_0x367884)}),function(_0x22d77){const _0x32bac9=_0x5c435e,_0x2fedbe=_0x22d77[_0x32bac9(0x1d9)],_0x44dcd9=new Map(),_0x4b5bc8=_0x22d77[_0x32bac9(0x1c3)][_0x32bac9(0x1cb)](_0x1655d6);_0x2fedbe[_0x32bac9(0x1ab)]['on'](_0x32bac9(0x209),(_0x41294b,_0x389273,_0x4c4f5c,_0x3007e6)=>{const _0x1377fc=_0x32bac9;if(!_0x3007e6&&_0x44dcd9[_0x1377fc(0x1cb)](_0x389273[_0x1377fc(0x1d7)]))return _0x44dcd9[_0x1377fc(0x1cb)](_0x389273[_0x1377fc(0x1d7)])[_0x1377fc(0x1fb)](),void _0x44dcd9[_0x1377fc(0x1cf)](_0x389273[_0x1377fc(0x1d7)]);const _0x8df4b9=_0x389273[_0x1377fc(0x1d7)][_0x1377fc(0x206)](':')[0x2];if(_0x8df4b9===_0x4b5bc8[_0x1377fc(0x219)])return;const _0x1f78ee=_0x1377fc(0x1e3)+_0x8df4b9;_0x2fedbe[_0x1377fc(0x1ab)][_0x1377fc(0x1c8)](_0x1f78ee)&&_0x22d77[_0x1377fc(0x1da)][_0x1377fc(0x1ee)](_0x1f78ee),_0x389273['on'](_0x1377fc(0x1ea),(_0x201ded,_0x41a320,_0x38fa96)=>{const _0x604fc=_0x1377fc;if(_0x604fc(0x1b6)!=_0x41a320[_0x604fc(0x1b3)][_0x604fc(0x21c)]&&_0x604fc(0x1b6)==_0x389273[_0x604fc(0x1ec)]()[_0x604fc(0x1b3)][_0x604fc(0x21c)]&&!_0x44dcd9[_0x604fc(0x1c8)](_0x389273[_0x604fc(0x1d7)])){const _0x429a0f=_0x2fedbe[_0x604fc(0x1e1)][_0x604fc(0x202)](_0x38fa96[_0x604fc(0x1cc)]);if(_0x429a0f){const _0xe528a7=_0x374944[_0x604fc(0x1eb)](_0x429a0f);_0x44dcd9[_0x604fc(0x1f9)](_0x389273[_0x604fc(0x1d7)],_0xe528a7),_0xe528a7['on'](_0x604fc(0x1ea),(_0x2c64f9,_0x24977b,_0x22af28)=>{const _0x14c260=_0x604fc;if(_0x14c260(0x1b6)==_0xe528a7[_0x14c260(0x1b3)][_0x14c260(0x21c)]){const _0x1d6b6a=_0x2fedbe[_0x14c260(0x1e1)][_0x14c260(0x202)](_0x22af28[_0x14c260(0x1cc)]);_0x1d6b6a?(_0xe528a7[_0x14c260(0x1f3)]=_0x1d6b6a[_0x14c260(0x1f3)],_0xe528a7[_0x14c260(0x1b5)]=_0x1d6b6a[_0x14c260(0x1b5)]):(_0x44dcd9[_0x14c260(0x1cf)](_0x389273[_0x14c260(0x1d7)]),_0xe528a7[_0x14c260(0x1fb)]());}});}}});}),_0x2fedbe[_0x32bac9(0x1a1)]['on'](_0x32bac9(0x19a),()=>{const _0x2c4e5e=_0x32bac9;_0x44dcd9[_0x2c4e5e(0x1e0)]>0x0&&_0x2fedbe[_0x2c4e5e(0x1b4)]({'isUndoable':!0x1},_0x4039f0=>{const _0x3ca298=_0x2c4e5e;for(const [_0x35f975,_0x1b935b]of _0x44dcd9)_0x3ca298(0x1b6)==_0x2fedbe[_0x3ca298(0x1ab)][_0x3ca298(0x1cb)](_0x35f975)[_0x3ca298(0x1ec)]()[_0x3ca298(0x1b3)][_0x3ca298(0x21c)]&&(te(_0x35f975[_0x3ca298(0x206)](':')[0x2],_0x1b935b[_0x3ca298(0x1c7)](),_0x2fedbe,_0x4039f0),_0x1b935b[_0x3ca298(0x1fb)]());_0x44dcd9[_0x3ca298(0x1e7)]();});});}(_0x232a59),this[_0x5c435e(0x1e6)][_0x5c435e(0x1dc)](_0xc8a9fe[_0x5c435e(0x1a1)],_0x5c435e(0x1a0),(_0x10d5e2,{key:_0x14b2ef})=>{const _0xdefc30=_0x5c435e;_0xdefc30(0x217)===_0x14b2ef&&function(_0x46b4b7){const _0x5b7546=_0xdefc30;_0x46b4b7[_0x5b7546(0x1da)][_0x5b7546(0x205)][_0x5b7546(0x19a)](_0x530dd3=>{const _0xbaf1a1=_0x5b7546;for(const _0x1e0b3d of _0x46b4b7[_0xbaf1a1(0x1d9)][_0xbaf1a1(0x1ab)]){if(!_0x1e0b3d[_0xbaf1a1(0x1d7)][_0xbaf1a1(0x1f5)](_0xbaf1a1(0x1d5)))continue;const _0x2668d6=_0x46b4b7[_0xbaf1a1(0x1da)][_0xbaf1a1(0x1d2)][_0xbaf1a1(0x1f4)](_0x1e0b3d[_0xbaf1a1(0x1d7)]);if(_0x2668d6){for(const _0x38aae0 of _0x2668d6)_0x530dd3[_0xbaf1a1(0x1b8)](_0xbaf1a1(0x19f),_0x38aae0);}}});}(_0x232a59);},{'useCapture':!0x0});}[_0xad70ae(0x1f7)](){const _0x4818a2=_0xad70ae,_0x1d9815=this[_0x4818a2(0x1c1)],_0x1bcefb=_0x1d9815[_0x4818a2(0x1e4)][_0x4818a2(0x1cb)](_0x4818a2(0x208));_0x1bcefb&&_0x1d9815[_0x4818a2(0x1d9)]['on'](_0x4818a2(0x1ed),(_0x1dde62,_0x3e7700)=>{const _0x51513c=_0x4818a2,_0x45a6ed=_0x3e7700[0x0];if(_0x51513c(0x1b1)!=_0x45a6ed[_0x51513c(0x19b)]||!_0x45a6ed[_0x51513c(0x1d7)][_0x51513c(0x1f5)](_0x51513c(0x1de)))return;const _0x55db5d=_0x45a6ed[_0x51513c(0x20e)];_0x1bcefb[_0x51513c(0x1c5)][_0x51513c(0x1c8)](_0x55db5d)&&(_0x45a6ed[_0x51513c(0x1df)]=_0x45a6ed[_0x51513c(0x1ad)]?_0x1d9815[_0x51513c(0x1d9)][_0x51513c(0x1a4)](_0x45a6ed[_0x51513c(0x1ad)][_0x51513c(0x1f3)],_0x45a6ed[_0x51513c(0x1ad)][_0x51513c(0x1b5)]):null);},{'priority':_0x4818a2(0x199)});}[_0xad70ae(0x1f2)](){const _0x42574c=_0xad70ae;return this[_0x42574c(0x1e6)][_0x42574c(0x21b)](),super[_0x42574c(0x1f2)]();}[_0xad70ae(0x1f6)](){const _0x1d86c5=_0xad70ae,_0x3a16f0=this[_0x1d86c5(0x1c1)],_0x955e93=_0x3a16f0[_0x1d86c5(0x1d9)][_0x1d86c5(0x1a1)],_0x4c03df=_0x3a16f0[_0x1d86c5(0x1c3)][_0x1d86c5(0x1cb)](_0x1655d6);_0x3a16f0[_0x1d86c5(0x1d9)][_0x1d86c5(0x1b4)]({'isUndoable':!0x1},_0xbf7e52=>{const _0x105faa=_0x1d86c5,_0x29a46b=_0x105faa(0x214)+_0x4c03df[_0x105faa(0x219)],_0x277a29=_0x105faa(0x1e3)+_0x4c03df[_0x105faa(0x219)],_0x2fb2ff=_0x3a16f0[_0x105faa(0x1d9)][_0x105faa(0x1ab)][_0x105faa(0x1c8)](_0x29a46b);_0x3a16f0[_0x105faa(0x1da)][_0x105faa(0x205)][_0x105faa(0x1c2)]?te(_0x4c03df[_0x105faa(0x219)],_0x955e93[_0x105faa(0x20a)][_0x105faa(0x1ca)](),_0x3a16f0[_0x105faa(0x1d9)],_0xbf7e52):_0x2fb2ff&&(_0xbf7e52[_0x105faa(0x1c0)](_0x29a46b),_0xbf7e52[_0x105faa(0x1c0)](_0x277a29));});}}function te(_0x34769d,_0x95ff76,_0x4eb1d0,_0x56ba50){const _0x347034=_0xad70ae,_0x4e3028=_0x347034(0x214)+_0x34769d,_0x4499cf=_0x347034(0x1e3)+_0x34769d,_0x150713=_0x95ff76[_0x347034(0x19c)]();let _0xe2be53=_0x95ff76[_0x347034(0x1f3)];_0x150713&&_0x150713['is'](_0x347034(0x20d),_0x347034(0x1bb))&&(_0xe2be53=function(_0x9b3f01,_0x19d7a0){const _0xe73df9=_0x347034;for(const _0x2bc861 of _0x9b3f01[_0xe73df9(0x1a5)]())if(_0x19d7a0[_0xe73df9(0x1e1)][_0xe73df9(0x1a8)](_0x2bc861,_0xe73df9(0x1ce)))return _0x2bc861;}(_0x95ff76,_0x4eb1d0),_0x95ff76=_0x56ba50[_0x347034(0x1a4)](_0xe2be53));const _0x46d209=_0x56ba50[_0x347034(0x1a4)](_0xe2be53);_0x4eb1d0[_0x347034(0x1ab)][_0x347034(0x1c8)](_0x4e3028)?(_0x56ba50[_0x347034(0x1f1)](_0x4e3028,{'range':_0x95ff76}),_0x56ba50[_0x347034(0x1f1)](_0x4499cf,{'range':_0x46d209})):(_0x56ba50[_0x347034(0x1b9)](_0x4e3028,{'range':_0x95ff76,'usingOperation':!0x0}),_0x56ba50[_0x347034(0x1b9)](_0x4499cf,{'range':_0x46d209,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5a616e=_0x5ef2;(function(_0x2a15df,_0x2eaa3e){const _0x5a89a9=_0x5ef2,_0x36afbf=_0x2a15df();while(!![]){try{const _0x25a4f5=-parseInt(_0x5a89a9(0x137))/0x1+-parseInt(_0x5a89a9(0x14a))/0x2*(-parseInt(_0x5a89a9(0x152))/0x3)+-parseInt(_0x5a89a9(0x1a6))/0x4+-parseInt(_0x5a89a9(0x16a))/0x5+-parseInt(_0x5a89a9(0x13e))/0x6*(parseInt(_0x5a89a9(0x1b4))/0x7)+parseInt(_0x5a89a9(0x174))/0x8*(-parseInt(_0x5a89a9(0x151))/0x9)+parseInt(_0x5a89a9(0x150))/0xa;if(_0x25a4f5===_0x2eaa3e)break;else _0x36afbf['push'](_0x36afbf['shift']());}catch(_0x3fed5c){_0x36afbf['push'](_0x36afbf['shift']());}}}(_0x4ae3,0x57889));import{Plugin as _0xce0148}from'ckeditor5/src/core.js';import{global as _0x26690b,DomEmitterMixin as _0x2fc66f}from'ckeditor5/src/utils.js';import _0x2d6012 from'./sessions.js';import{LiveRange as _0x255de2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5ef2(_0x64d2bc,_0x2a9df7){const _0x4ae34b=_0x4ae3();return _0x5ef2=function(_0x5ef253,_0x243dfe){_0x5ef253=_0x5ef253-0x136;let _0x1db6bf=_0x4ae34b[_0x5ef253];return _0x1db6bf;},_0x5ef2(_0x64d2bc,_0x2a9df7);}export default class E extends _0xce0148{constructor(){const _0x4cbf09=_0x5ef2;super(...arguments),this[_0x4cbf09(0x158)]=new(_0x2fc66f())();}static get[_0x5a616e(0x1af)](){return[_0x2d6012];}static get[_0x5a616e(0x144)](){const _0x2aa91a=_0x5a616e;return _0x2aa91a(0x18d);}static get[_0x5a616e(0x194)](){return!0x0;}static get[_0x5a616e(0x190)](){return!0x0;}[_0x5a616e(0x162)](){const _0x45757d=_0x5a616e,_0x4b9b27=this[_0x45757d(0x1b0)],_0x2d7a2f=_0x4b9b27[_0x45757d(0x15a)][_0x45757d(0x1aa)](_0x2d6012);_0x4b9b27[_0x45757d(0x18a)][_0x45757d(0x14f)](_0x45757d(0x1b2))[_0x45757d(0x143)]({'model':_0x45757d(0x165),'view':(_0x356397,{writer:_0xdecb9e})=>function(_0x37231e,_0x2b6f8b,_0x1348ce,_0xc3ca61){const _0x4b8027=_0x45757d,_0x450097=_0x37231e[_0x4b8027(0x173)][_0x4b8027(0x1ab)](':')[0x2],_0x106787=_0x1348ce[_0x4b8027(0x145)](_0x450097);if(!_0x106787||_0x450097===_0x1348ce[_0x4b8027(0x13b)])return;if(!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)][_0x4b8027(0x153)](_0x37231e[_0x4b8027(0x19a)][_0x4b8027(0x19f)],_0x4b8027(0x191)))return;const _0x44c9e9={'class':_0x4b8027(0x170)+_0x106787[_0x4b8027(0x164)][_0x4b8027(0x15f)](),'data-name':_0x106787[_0x4b8027(0x1a5)],'data-session-id':_0x450097},_0xb3e587=_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x16c)][_0x4b8027(0x1aa)](_0x37231e[_0x4b8027(0x173)]),_0x797778=_0xb3e587[_0x4b8027(0x1b8)](),_0x4f4f56=_0x797778[_0x4b8027(0x159)],_0x3a914d=_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)];if(_0x4f4f56&&_0x3a914d[_0x4b8027(0x17e)](_0x4f4f56)&&_0x3a914d[_0x4b8027(0x17a)](_0x4f4f56)&&!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x16c)][_0x4b8027(0x1aa)](_0x4b8027(0x16d)+_0x450097)[_0x4b8027(0x146)]()[_0x4b8027(0x147)])return;const _0x25183f=_0x797778[_0x4b8027(0x1ad)];return _0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)][_0x4b8027(0x185)](_0x25183f)&&!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x181)](_0x25183f)&&(_0x44c9e9[_0x4b8027(0x182)]=!0x1),function(_0x5c6dc4,_0x4f3b55,_0x130c8f){const _0x5ddab4=_0x4b8027,_0x1753aa=_0x5c6dc4[_0x5ddab4(0x18c)](_0x5ddab4(0x1b5),_0x4f3b55);return _0x5c6dc4[_0x5ddab4(0x188)](_0x5ddab4(0x140),!0x0,_0x1753aa),_0x1753aa[_0x5ddab4(0x13f)]=function(_0x3adf5d){const _0x4834b2=_0x5ddab4,_0x5bde3c=this[_0x4834b2(0x13d)](_0x3adf5d);return _0x5bde3c[_0x4834b2(0x1a1)]=_0x4834b2(0x17b)+_0x130c8f[_0x4834b2(0x1a5)]+_0x4834b2(0x14b),_0x5bde3c[_0x4834b2(0x186)](_0x4834b2(0x196),()=>{const _0x1a64ef=_0x4834b2;_0x5bde3c[_0x1a64ef(0x142)][_0x1a64ef(0x154)](_0x1a64ef(0x175));}),_0x5bde3c[_0x4834b2(0x186)](_0x4834b2(0x1a4),()=>{const _0x30fa1a=_0x4834b2;_0x5bde3c[_0x30fa1a(0x142)][_0x30fa1a(0x19c)](_0x30fa1a(0x175));}),_0x5bde3c;},_0x1753aa[_0x5ddab4(0x148)]=function(_0x1b0a8d){const _0x43178c=_0x5ddab4;return!(!this[_0x43178c(0x168)](_0x43178c(0x140))||!_0x1b0a8d[_0x43178c(0x168)](_0x43178c(0x140))||this[_0x43178c(0x157)](_0x43178c(0x177))!=_0x1b0a8d[_0x43178c(0x157)](_0x43178c(0x177)));},_0x1753aa;}(_0x2b6f8b,_0x44c9e9,_0x106787);}(_0x356397,_0xdecb9e,_0x2d7a2f,_0x4b9b27)}),_0x4b9b27[_0x45757d(0x18a)][_0x45757d(0x14f)](_0x45757d(0x1b2))[_0x45757d(0x141)]({'model':_0x45757d(0x15b),'view':_0x1828f4=>function(_0x24977d,_0x3d00e6){const _0x50b231=_0x45757d,_0x288cfa=_0x24977d[_0x50b231(0x173)][_0x50b231(0x1ab)](':')[0x2];if(_0x288cfa===_0x3d00e6[_0x50b231(0x13b)])return null;const _0x46457b=_0x3d00e6[_0x50b231(0x145)](_0x288cfa);if(!_0x46457b)return{'id':_0x288cfa,'classes':[]};return{'id':_0x288cfa,'classes':[_0x50b231(0x199),_0x46457b[_0x50b231(0x164)][_0x50b231(0x166)]()],'attributes':{'data-session-id':_0x288cfa},'priority':0x7d0+_0x46457b[_0x50b231(0x18f)]};}(_0x1828f4,_0x2d7a2f)}),function(_0x13fe85){const _0x429634=_0x45757d,_0xd0ee03=_0x13fe85[_0x429634(0x189)],_0x2e2c99=new Map(),_0x49cf0e=_0x13fe85[_0x429634(0x15a)][_0x429634(0x1aa)](_0x2d6012);_0xd0ee03[_0x429634(0x16c)]['on'](_0x429634(0x19d),(_0x1c4e6b,_0x3420d1,_0x19386e,_0x17bff9)=>{const _0xc22da7=_0x429634;if(!_0x17bff9&&_0x2e2c99[_0xc22da7(0x1aa)](_0x3420d1[_0xc22da7(0x1a5)]))return _0x2e2c99[_0xc22da7(0x1aa)](_0x3420d1[_0xc22da7(0x1a5)])[_0xc22da7(0x193)](),void _0x2e2c99[_0xc22da7(0x160)](_0x3420d1[_0xc22da7(0x1a5)]);const _0x285a38=_0x3420d1[_0xc22da7(0x1a5)][_0xc22da7(0x1ab)](':')[0x2];if(_0x285a38===_0x49cf0e[_0xc22da7(0x13b)])return;const _0x18f3d5=_0xc22da7(0x1ae)+_0x285a38;_0xd0ee03[_0xc22da7(0x16c)][_0xc22da7(0x1ac)](_0x18f3d5)&&_0x13fe85[_0xc22da7(0x15c)][_0xc22da7(0x14e)](_0x18f3d5),_0x3420d1['on'](_0xc22da7(0x149),(_0x5ebcb1,_0x94e652,_0x107477)=>{const _0x441d7b=_0xc22da7;if(_0x441d7b(0x180)!=_0x94e652[_0x441d7b(0x13c)][_0x441d7b(0x15d)]&&_0x441d7b(0x180)==_0x3420d1[_0x441d7b(0x146)]()[_0x441d7b(0x13c)][_0x441d7b(0x15d)]&&!_0x2e2c99[_0x441d7b(0x1ac)](_0x3420d1[_0x441d7b(0x1a5)])){const _0x2f24dd=_0xd0ee03[_0x441d7b(0x1a7)][_0x441d7b(0x1a9)](_0x107477[_0x441d7b(0x136)]);if(_0x2f24dd){const _0x1e5351=_0x255de2[_0x441d7b(0x19b)](_0x2f24dd);_0x2e2c99[_0x441d7b(0x1b6)](_0x3420d1[_0x441d7b(0x1a5)],_0x1e5351),_0x1e5351['on'](_0x441d7b(0x149),(_0x507a22,_0x331cb0,_0x48e568)=>{const _0x25a190=_0x441d7b;if(_0x25a190(0x180)==_0x1e5351[_0x25a190(0x13c)][_0x25a190(0x15d)]){const _0x11df88=_0xd0ee03[_0x25a190(0x1a7)][_0x25a190(0x1a9)](_0x48e568[_0x25a190(0x136)]);_0x11df88?(_0x1e5351[_0x25a190(0x19f)]=_0x11df88[_0x25a190(0x19f)],_0x1e5351[_0x25a190(0x1b1)]=_0x11df88[_0x25a190(0x1b1)]):(_0x2e2c99[_0x25a190(0x160)](_0x3420d1[_0x25a190(0x1a5)]),_0x1e5351[_0x25a190(0x193)]());}});}}});}),_0xd0ee03[_0x429634(0x18b)]['on'](_0x429634(0x172),()=>{const _0x35974f=_0x429634;_0x2e2c99[_0x35974f(0x192)]>0x0&&_0xd0ee03[_0x35974f(0x1a0)]({'isUndoable':!0x1},_0x18cad7=>{const _0x3207eb=_0x35974f;for(const [_0x5f2e90,_0x3f91df]of _0x2e2c99)_0x3207eb(0x180)==_0xd0ee03[_0x3207eb(0x16c)][_0x3207eb(0x1aa)](_0x5f2e90)[_0x3207eb(0x146)]()[_0x3207eb(0x13c)][_0x3207eb(0x15d)]&&(Q(_0x5f2e90[_0x3207eb(0x1ab)](':')[0x2],_0x3f91df[_0x3207eb(0x198)](),_0xd0ee03,_0x18cad7),_0x3f91df[_0x3207eb(0x193)]());_0x2e2c99[_0x3207eb(0x17c)]();});});}(_0x4b9b27),this[_0x45757d(0x158)][_0x45757d(0x187)](_0x26690b[_0x45757d(0x18b)],_0x45757d(0x1a3),(_0x2d9859,{key:_0x495089})=>{const _0x5750ae=_0x45757d;_0x5750ae(0x167)===_0x495089&&function(_0x529fe2){const _0x1aa03d=_0x5750ae;_0x529fe2[_0x1aa03d(0x15c)][_0x1aa03d(0x17f)][_0x1aa03d(0x172)](_0x5d211f=>{const _0x44aaca=_0x1aa03d;for(const _0x476f58 of _0x529fe2[_0x44aaca(0x189)][_0x44aaca(0x16c)]){if(!_0x476f58[_0x44aaca(0x1a5)][_0x44aaca(0x19e)](_0x44aaca(0x165)))continue;const _0x4f7ec6=_0x529fe2[_0x44aaca(0x15c)][_0x44aaca(0x1b9)][_0x44aaca(0x155)](_0x476f58[_0x44aaca(0x1a5)]);if(_0x4f7ec6){for(const _0x24b5c9 of _0x4f7ec6)_0x5d211f[_0x44aaca(0x17d)](_0x44aaca(0x175),_0x24b5c9);}}});}(_0x4b9b27);},{'useCapture':!0x0});}[_0x5a616e(0x178)](){const _0x583b6e=_0x5a616e,_0x2dd98d=this[_0x583b6e(0x1b0)],_0x2dc547=_0x2dd98d[_0x583b6e(0x169)][_0x583b6e(0x1aa)](_0x583b6e(0x176));_0x2dc547&&_0x2dd98d[_0x583b6e(0x189)]['on'](_0x583b6e(0x13a),(_0x4287f4,_0x5e6652)=>{const _0x52bbd9=_0x583b6e,_0x358132=_0x5e6652[0x0];if(_0x52bbd9(0x1b3)!=_0x358132[_0x52bbd9(0x1b7)]||!_0x358132[_0x52bbd9(0x1a5)][_0x52bbd9(0x19e)](_0x52bbd9(0x1a8)))return;const _0x317616=_0x358132[_0x52bbd9(0x197)];_0x2dc547[_0x52bbd9(0x15e)][_0x52bbd9(0x1ac)](_0x317616)&&(_0x358132[_0x52bbd9(0x195)]=_0x358132[_0x52bbd9(0x179)]?_0x2dd98d[_0x52bbd9(0x189)][_0x52bbd9(0x184)](_0x358132[_0x52bbd9(0x179)][_0x52bbd9(0x19f)],_0x358132[_0x52bbd9(0x179)][_0x52bbd9(0x1b1)]):null);},{'priority':_0x583b6e(0x16b)});}[_0x5a616e(0x18e)](){const _0x5d755a=_0x5a616e;return this[_0x5d755a(0x158)][_0x5d755a(0x16f)](),super[_0x5d755a(0x18e)]();}[_0x5a616e(0x139)](){const _0x209ea6=_0x5a616e,_0x3f96ea=this[_0x209ea6(0x1b0)],_0x4e4a64=_0x3f96ea[_0x209ea6(0x189)][_0x209ea6(0x18b)],_0x43ea80=_0x3f96ea[_0x209ea6(0x15a)][_0x209ea6(0x1aa)](_0x2d6012);_0x3f96ea[_0x209ea6(0x189)][_0x209ea6(0x1a0)]({'isUndoable':!0x1},_0x537614=>{const _0xc57081=_0x209ea6,_0x2bad05=_0xc57081(0x16d)+_0x43ea80[_0xc57081(0x13b)],_0x4ca16e=_0xc57081(0x1ae)+_0x43ea80[_0xc57081(0x13b)],_0x107e10=_0x3f96ea[_0xc57081(0x189)][_0xc57081(0x16c)][_0xc57081(0x1ac)](_0x2bad05);_0x3f96ea[_0xc57081(0x15c)][_0xc57081(0x17f)][_0xc57081(0x163)]?Q(_0x43ea80[_0xc57081(0x13b)],_0x4e4a64[_0xc57081(0x156)][_0xc57081(0x171)](),_0x3f96ea[_0xc57081(0x189)],_0x537614):_0x107e10&&(_0x537614[_0xc57081(0x1a2)](_0x2bad05),_0x537614[_0xc57081(0x1a2)](_0x4ca16e));});}}function _0x4ae3(){const _0x17e0d8=['editing','rootName','_createdBatches','getMarkerClass','delete','getPositions','init','hasDomSelection','color','user:position','getSelectionClass','Escape','getCustomProperty','commands','2160590EUUmFh','highest','markers','user:range:','addMarker','stopListening','ck-user__marker\x20','getFirstRange','change','markerName','500776BGoHvx','ck-user__marker_hovered','undo','data-session-id','afterInit','oldRange','isInline','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','clear','removeClass','isObject','view','$graveyard','hasContent','contenteditable','getContainedElement','createRange','isLimit','addEventListener','listenTo','setCustomProperty','model','conversion','document','createUIElement','UserMarkers','destroy','orderNumber','isPremiumPlugin','$text','size','detach','isOfficialPlugin','newRange','mouseenter','batch','toRange','ck-user__selection','markerRange','fromRange','remove','update:user:range','startsWith','start','enqueueChange','innerHTML','removeMarker','keydown','mouseleave','name','678540QYdMvq','schema','user:','getNearestSelectionRange','get','split','has','parent','user:position:','requires','editor','end','editingDowncast','marker','427bhNQlu','span','set','type','getStart','mapper','deletionPosition','4690FwFWiK','updateMarker','createUserMarkerOperations','applyOperation','mySessionId','root','toDomElement','29424VHODkV','render','userPositionMarker','markerToHighlight','classList','markerToElement','pluginName','getUserBySessionId','getRange','isCollapsed','isSimilar','change:range','862YcjYgj','</span>','tableCell','element','reconvertMarker','for','12581460AOGaWi','81aWpzCy','3963gTJAFa','checkChild','add','markerNameToElements','selection','getAttribute','_domEmitter','nodeAfter','plugins','user:range'];_0x4ae3=function(){return _0x17e0d8;};return _0x4ae3();}function Q(_0x426cfe,_0x1d3057,_0x31b5fa,_0x244496){const _0x48d471=_0x5a616e,_0x43cbce=_0x48d471(0x16d)+_0x426cfe,_0x11bf47=_0x48d471(0x1ae)+_0x426cfe,_0xb4d13a=_0x1d3057[_0x48d471(0x183)]();let _0x24ee2f=_0x1d3057[_0x48d471(0x19f)];_0xb4d13a&&_0xb4d13a['is'](_0x48d471(0x14d),_0x48d471(0x14c))&&(_0x24ee2f=function(_0x33edee,_0x5830f6){const _0x477618=_0x48d471;for(const _0x3d49cd of _0x33edee[_0x477618(0x161)]())if(_0x5830f6[_0x477618(0x1a7)][_0x477618(0x153)](_0x3d49cd,_0x477618(0x191)))return _0x3d49cd;}(_0x1d3057,_0x31b5fa),_0x1d3057=_0x244496[_0x48d471(0x184)](_0x24ee2f));const _0x4261f9=_0x244496[_0x48d471(0x184)](_0x24ee2f);_0x31b5fa[_0x48d471(0x16c)][_0x48d471(0x1ac)](_0x43cbce)?(_0x244496[_0x48d471(0x138)](_0x43cbce,{'range':_0x1d3057}),_0x244496[_0x48d471(0x138)](_0x11bf47,{'range':_0x4261f9})):(_0x244496[_0x48d471(0x16e)](_0x43cbce,{'range':_0x1d3057,'usingOperation':!0x0}),_0x244496[_0x48d471(0x16e)](_0x11bf47,{'range':_0x4261f9,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10776e=_0x2bcf;(function(_0x2dfe6a,_0xa8434a){const _0x57cb0b=_0x2bcf,_0x1e1a98=_0x2dfe6a();while(!![]){try{const _0x3df26d=-parseInt(_0x57cb0b(0x1f0))/0x1*(parseInt(_0x57cb0b(0x216))/0x2)+parseInt(_0x57cb0b(0x206))/0x3+-parseInt(_0x57cb0b(0x211))/0x4+parseInt(_0x57cb0b(0x1f7))/0x5*(parseInt(_0x57cb0b(0x212))/0x6)+-parseInt(_0x57cb0b(0x1e8))/0x7*(parseInt(_0x57cb0b(0x1eb))/0x8)+-parseInt(_0x57cb0b(0x200))/0x9+-parseInt(_0x57cb0b(0x218))/0xa*(-parseInt(_0x57cb0b(0x1d2))/0xb);if(_0x3df26d===_0xa8434a)break;else _0x1e1a98['push'](_0x1e1a98['shift']());}catch(_0xeedf51){_0x1e1a98['push'](_0x1e1a98['shift']());}}}(_0x2ecc,0xb7337));import{ContextPlugin as _0xa554ee}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x295950,CKEditorError as _0x4b9ad3}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1da529,WEB_SOCKET_GATEWAY_STATES as _0x553c28}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x49792a}from'ckeditor5/src/ui.js';class c extends _0xa554ee{static get[_0x10776e(0x219)](){const _0x252faf=_0x10776e;return[_0x252faf(0x202),_0x49792a];}static get[_0x10776e(0x1fc)](){const _0x26ffa9=_0x10776e;return _0x26ffa9(0x1e6);}static get[_0x10776e(0x1f2)](){return!0x0;}static get[_0x10776e(0x20f)](){return!0x0;}constructor(_0x9500ad){const _0x5db48b=_0x10776e;super(_0x9500ad),this[_0x5db48b(0x1d8)](_0x5db48b(0x201),_0x553c28[_0x5db48b(0x208)]),this[_0x5db48b(0x1d8)](_0x5db48b(0x1f1),!0x1),this[_0x5db48b(0x1fe)]=new Set(),this[_0x5db48b(0x213)]=!0x1,this[_0x5db48b(0x1de)]=Object[_0x5db48b(0x20c)](_0x295950);}[_0x10776e(0x210)](){const _0x469f58=_0x10776e,_0x742991=this[_0x469f58(0x21b)],_0x1a0e78=_0x742991[_0x469f58(0x1f3)][_0x469f58(0x1e2)](_0x469f58(0x202)),_0x5e8f4f=_0x742991[_0x469f58(0x1f3)][_0x469f58(0x1e2)](_0x49792a);if(!_0x1a0e78[_0x469f58(0x205)])throw new _0x4b9ad3(_0x469f58(0x207),this);if(!_0x1a0e78[_0x469f58(0x21a)])throw new _0x4b9ad3(_0x469f58(0x204),this);return this[_0x469f58(0x1de)][_0x469f58(0x1fb)](window,_0x469f58(0x1ed),()=>this[_0x469f58(0x1f1)]=!0x0),this[_0x469f58(0x1de)][_0x469f58(0x1fb)](window,_0x469f58(0x1e7),()=>this[_0x469f58(0x1f1)]=!0x1),this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e1)](_0x469f58(0x20b),0xa),this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e1)](_0x469f58(0x214),0x14),c[_0x469f58(0x1e6)][_0x469f58(0x1ee)](_0x1a0e78[_0x469f58(0x205)],_0x1a0e78[_0x469f58(0x21a)],{'timeout':0x3e8*this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e2)](_0x469f58(0x20b)),'requestTimeout':0x3e8*this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e2)](_0x469f58(0x214))})[_0x469f58(0x21c)](_0x6acbef=>{const _0x29301c=_0x469f58;if(this[_0x29301c(0x1dd)]=_0x6acbef,this[_0x29301c(0x1e3)](_0x29301c(0x201))['to'](_0x6acbef,_0x29301c(0x201),this,_0x29301c(0x1f1),(_0x531c30,_0xa75a35)=>(_0x29301c(0x1f5)!==_0x531c30&&(this[_0x29301c(0x213)]=!0x0),_0xa75a35||_0x531c30!==_0x553c28[_0x29301c(0x208)]?_0x553c28[_0x29301c(0x1e9)]:this[_0x29301c(0x201)]==_0x553c28[_0x29301c(0x1e9)]&&this[_0x29301c(0x213)]?(this[_0x29301c(0x213)]=!0x1,this[_0x29301c(0x1ef)](),_0x553c28[_0x29301c(0x1fd)]):_0x553c28[_0x29301c(0x208)])),this[_0x29301c(0x1dd)]['on'](_0x29301c(0x1d3),(_0x14441f,_0x256401)=>{const _0x10a5fd=_0x29301c;if(_0x10a5fd(0x215)!==_0x256401[_0x10a5fd(0x1f9)])throw console[_0x10a5fd(0x1d3)](_0x256401),new _0x4b9ad3(_0x10a5fd(0x217),null,{'originalError':_0x256401});_0x5e8f4f[_0x10a5fd(0x209)](_0x10a5fd(0x1dc),{'title':_0x10a5fd(0x21d),'namespace':_0x10a5fd(0x1e5)});}),!_0x6acbef['me'])return new Promise(_0x4f0a41=>_0x6acbef['on'](_0x29301c(0x20d),_0x4f0a41));})[_0x469f58(0x1ff)](_0x576f29=>{const _0x2c5c7c=_0x469f58;throw console[_0x2c5c7c(0x1d3)](_0x576f29),new _0x4b9ad3(_0x2c5c7c(0x217),null,{'originalError':_0x576f29});});}[_0x10776e(0x1db)](_0x1f168a){const _0x3575bf=_0x10776e;if(_0x3575bf(0x1f6)!=typeof _0x1f168a[_0x3575bf(0x1e0)])throw new _0x4b9ad3(_0x3575bf(0x1df),this);if(this[_0x3575bf(0x1da)](_0x1f168a))throw new _0x4b9ad3(_0x3575bf(0x1d4),this,{'name':_0x1f168a[_0x3575bf(0x1d7)][_0x3575bf(0x1fc)]});this[_0x3575bf(0x1fe)][_0x3575bf(0x1d6)](_0x1f168a);}[_0x10776e(0x20a)](_0x329074){const _0x5b14b7=_0x10776e;this[_0x5b14b7(0x1fe)][_0x5b14b7(0x203)](_0x329074);}[_0x10776e(0x1da)](_0x2957cb){const _0x2f025b=_0x10776e;return this[_0x2f025b(0x1fe)][_0x2f025b(0x1fa)](_0x2957cb);}[_0x10776e(0x1ef)](){const _0x4345d3=_0x10776e;return this[_0x4345d3(0x1dd)][_0x4345d3(0x1e0)]()[_0x4345d3(0x21c)](()=>Promise[_0x4345d3(0x1ea)](Array[_0x4345d3(0x1e4)](this[_0x4345d3(0x1fe)],_0x4fb607=>_0x4fb607[_0x4345d3(0x1e0)]())))[_0x4345d3(0x21c)](()=>this[_0x4345d3(0x201)]=_0x553c28[_0x4345d3(0x208)])[_0x4345d3(0x1ff)](_0x5da479=>{const _0x1cce57=_0x4345d3;throw console[_0x1cce57(0x1d3)](_0x5da479),new _0x4b9ad3(_0x1cce57(0x1d5),this[_0x1cce57(0x21b)]);});}[_0x10776e(0x1f4)](){const _0x389d9e=_0x10776e;this[_0x389d9e(0x1dd)]&&this[_0x389d9e(0x1dd)][_0x389d9e(0x1f8)](),this[_0x389d9e(0x201)]=_0x553c28[_0x389d9e(0x1e9)],this[_0x389d9e(0x1de)][_0x389d9e(0x1d9)](),super[_0x389d9e(0x1f4)]();}}function _0x2bcf(_0x9d7d9d,_0xa9893){const _0x2ecc6c=_0x2ecc();return _0x2bcf=function(_0x2bcf98,_0xa59dc1){_0x2bcf98=_0x2bcf98-0x1d2;let _0x77e0fc=_0x2ecc6c[_0x2bcf98];return _0x77e0fc;},_0x2bcf(_0x9d7d9d,_0xa9893);}c[_0x10776e(0x1e6)]=_0x1da529,c[_0x10776e(0x1ec)]=0x3e8;export default c;function _0x2ecc(){const _0x39f477=['catch','11743875FXEMgi','state','CloudServices','delete','websocketgateway-missing-websocket-url','token','1535778IDMQYE','websocketgateway-missing-token','CONNECTED','showWarning','removeFromReconnectionStack','cloudServices.connectionTimeout','create','change:me','config','isPremiumPlugin','init','4412896PHFYDM','214620IPBnNH','_shouldPluginsReconnect','cloudServices.requestTimeout','limitExceeded','2ZrFXeE','cloudservices-init','20gKoSyy','requires','webSocketUrl','context','then','Connected\x20users\x20limit\x20exceeded','16097026CQoLif','error','websocketgateway-plugin-already-registered','cloudservices-reconnection-error','add','constructor','set','stopListening','isInReconnectionStack','addToReconnectionStack','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.','connection','_domEmitter','websocketgateway-invalid-plugin-interface','reconnect','define','get','bind','from','real-time-collaboration','WebSocketGateway','online','4137aoYytK','DISCONNECTED','all','568oaOBUR','initialReconnectionInterval','offline','connect','_reconnect','560137jLdOAh','_isBrowserOffline','isOfficialPlugin','plugins','destroy','connected','function','45VettcZ','disconnect','code','has','listenTo','pluginName','CONNECTING','_reconnectionStack'];_0x2ecc=function(){return _0x39f477;};return _0x2ecc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0xbb8b7d=_0x2183;(function(_0x325373,_0x1fe139){var _0x2610dc=_0x2183,_0x26c5ec=_0x325373();while(!![]){try{var _0x3b73eb=-parseInt(_0x2610dc(0xc8))/0x1*(-parseInt(_0x2610dc(0xc0))/0x2)+-parseInt(_0x2610dc(0xcc))/0x3*(-parseInt(_0x2610dc(0xc7))/0x4)+parseInt(_0x2610dc(0xcb))/0x5*(parseInt(_0x2610dc(0xcd))/0x6)+parseInt(_0x2610dc(0xc6))/0x7*(parseInt(_0x2610dc(0xd0))/0x8)+-parseInt(_0x2610dc(0xc3))/0x9*(parseInt(_0x2610dc(0xc5))/0xa)+parseInt(_0x2610dc(0xca))/0xb+-parseInt(_0x2610dc(0xc4))/0xc;if(_0x3b73eb===_0x1fe139)break;else _0x26c5ec['push'](_0x26c5ec['shift']());}catch(_0x18f11c){_0x26c5ec['push'](_0x26c5ec['shift']());}}}(_0x58e5,0xd9322));function _0x2183(_0x5d037c,_0x1c2543){var _0x58e530=_0x58e5();return _0x2183=function(_0x218343,_0x803fe9){_0x218343=_0x218343-0xc0;var _0x268776=_0x58e530[_0x218343];return _0x268776;},_0x2183(_0x5d037c,_0x1c2543);}import{Plugin as _0x3801e0}from'ckeditor5/src/core.js';function _0x58e5(){var _0x5991f9=['45PXzmdO','110301HhGVZx','7086IUoMPI','isOfficialPlugin','isPremiumPlugin','8tCoQQc','64306OQKYQc','requires','pluginName','243bwhRyu','4471908UiimCy','640810MLlSQU','2558458fJqMZM','92JdaudY','47NekQwP','RealTimeCollaborativeEditing','2854775xiJnVp'];_0x58e5=function(){return _0x5991f9;};return _0x58e5();}import _0x5881ff from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x3801e0{static get[_0xbb8b7d(0xc1)](){return[_0x5881ff];}static get[_0xbb8b7d(0xc2)](){var _0xafd33b=_0xbb8b7d;return _0xafd33b(0xc9);}static get[_0xbb8b7d(0xce)](){return!0x0;}static get[_0xbb8b7d(0xcf)](){return!0x0;}}
|