@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.0 → 44.3.0-alpha.2
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 +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39b2b4=_0x3c11;(function(_0x41d0c7,_0x8ae2e8){const _0x8f2c11=_0x3c11,_0x3fb31b=_0x41d0c7();while(!![]){try{const _0x2844a4=-parseInt(_0x8f2c11(0x151))/0x1*(-parseInt(_0x8f2c11(0x140))/0x2)+parseInt(_0x8f2c11(0x190))/0x3*(parseInt(_0x8f2c11(0x17b))/0x4)+-parseInt(_0x8f2c11(0x179))/0x5*(-parseInt(_0x8f2c11(0x173))/0x6)+-parseInt(_0x8f2c11(0x192))/0x7*(parseInt(_0x8f2c11(0x177))/0x8)+-parseInt(_0x8f2c11(0x18a))/0x9+-parseInt(_0x8f2c11(0x16d))/0xa*(-parseInt(_0x8f2c11(0x162))/0xb)+-parseInt(_0x8f2c11(0x158))/0xc*(parseInt(_0x8f2c11(0x133))/0xd);if(_0x2844a4===_0x8ae2e8)break;else _0x3fb31b['push'](_0x3fb31b['shift']());}catch(_0x1ac8ff){_0x3fb31b['push'](_0x3fb31b['shift']());}}}(_0x4d49,0xbb3e3));import{Context as _0x22774f,ContextPlugin as _0x3bc0d9}from'ckeditor5/src/core.js';import{CKEditorError as _0xaac319}from'ckeditor5/src/utils.js';import{Users as _0x49af31}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xafed7a,User as _0x58d0fb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x56c330 from'../realtimecollaborativeediting/websocketgateway.js';function _0x4d49(){const _0x3ef903=['permissions','CommentsService','getMany','Permissions','cloud-services-internal-error:\x20Not\x20connected.','delete','resolve','_terminateService','isPremiumPlugin','14146iczvdX','sessionAdd:','context','collaboration.channelId','reopenCommentThread','CommentsRepository','pluginName','requires','getUser','commentAdded','_connectService','2110KHeRUo','getConnectedSessions','set','getCommentThread','config','commentThreadId','6AiuCqk','_getService','removeCommentThread','cloudservicescommentsadapter-service-not-exist','2815896Hutywj','update','4891715JeBblJ','plugins','128768zIjsQZ','listenTo','commentThreadAdded','createdAt','destroy','attributes','commentThreadResolved','assign','_setUpService','unregister','404','has','cloud-services-internal-error:\x20Request\x20timeout.','CloudServicesCommentsAdapter','commentThreadReopened','6363729hNfpqw','addCommentThread','commentThreadRemoved','mySessionId','size','catch','6XPSAuU','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','7IQXyct','getCommentThreads','resolveCommentThread','disconnect','content','cloudservicescommentsadapter-connect-already-connected','startsWith','authorId','_services','resolvedBy','788814lPwulE','userId','keys','comments','init','_fetchMissingUsersForThreads','map','code','reopen','addComment','isOfficialPlugin','adapter','commentUpdated','82igvyoz','addUser','setPermissions','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','connect','updateComment','add','updateCommentThread','message','commentId','remove','getComment','get','resolvedAt','removeComment','deletedAt','24326swcqec','from','off','commentRemoved','commentThreadUpdated','reconnect','register','96DBqukq'];_0x4d49=function(){return _0x3ef903;};return _0x4d49();}function _0x3c11(_0x38157b,_0x27023a){const _0x4d4942=_0x4d49();return _0x3c11=function(_0x3c11da,_0x210c87){_0x3c11da=_0x3c11da-0x131;let _0x186260=_0x4d4942[_0x3c11da];return _0x186260;},_0x3c11(_0x38157b,_0x27023a);}import _0x29d856 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3bc0d9{static get[_0x39b2b4(0x169)](){const _0x574bcd=_0x39b2b4;return[_0x56c330,_0x574bcd(0x167),_0x29d856,_0x49af31];}static get[_0x39b2b4(0x168)](){const _0x35c9ef=_0x39b2b4;return _0x35c9ef(0x188);}static get[_0x39b2b4(0x13d)](){return!0x0;}static get[_0x39b2b4(0x161)](){return!0x0;}constructor(_0x24c3a9){const _0x473231=_0x39b2b4;super(_0x24c3a9),this[_0x473231(0x131)]=new Map();}async[_0x39b2b4(0x137)](){const _0x505f6f=_0x39b2b4,_0x27d82d=this[_0x505f6f(0x164)],_0x57a4c6=_0x27d82d[_0x505f6f(0x17a)][_0x505f6f(0x14d)](_0x505f6f(0x167));if(_0x27d82d[_0x505f6f(0x17a)][_0x505f6f(0x14d)](_0x56c330)[_0x505f6f(0x143)](this),_0x57a4c6[_0x505f6f(0x13e)]={'addCommentThread':async({channelId:_0x5e004d,threadId:_0x1ce197,comments:_0x3e8113,resolvedAt:_0x28eb8e,resolvedBy:_0x4bff8c,context:_0x27b62b,attributes:_0x193acb})=>{const _0x1251b3=_0x505f6f,_0x4df874=await this[_0x1251b3(0x174)](_0x5e004d)[_0x1251b3(0x18b)]({'commentThreadId':_0x1ce197,'comments':_0x3e8113[_0x1251b3(0x139)](_0xc40dbc=>function(_0x1efae6,_0x1bbda6,_0x3da76d){const _0x427733=_0x1251b3;return{'commentThreadId':_0x3da76d,'commentId':_0x1efae6[_0x427733(0x14a)],'userId':_0x1efae6[_0x427733(0x199)],'content':_0x1efae6[_0x427733(0x196)],'documentId':_0x1bbda6,'createdAt':_0x1efae6[_0x427733(0x17e)],'attributes':_0x1efae6[_0x427733(0x180)]||{}};}(_0xc40dbc,_0x5e004d,_0x1ce197)),'resolvedAt':_0x28eb8e,'resolvedBy':_0x4bff8c,'context':_0x27b62b,'attributes':_0x193acb})[_0x1251b3(0x18f)](R);return{'threadId':_0x4df874[_0x1251b3(0x172)],'comments':_0x4df874[_0x1251b3(0x136)]};},'getCommentThread':async({channelId:_0xe19975,threadId:_0x100d5a})=>{const _0xf0403=_0x505f6f,_0xa89099=await this[_0xf0403(0x174)](_0xe19975)[_0xf0403(0x170)](_0x100d5a)[_0xf0403(0x18f)](R);return _0xa89099[_0xf0403(0x150)]?null:(await this[_0xf0403(0x138)]([_0xa89099]),{'threadId':_0xa89099[_0xf0403(0x172)],'comments':_0xa89099[_0xf0403(0x136)][_0xf0403(0x139)](S),'context':_0xa89099[_0xf0403(0x164)],'resolvedAt':_0xa89099[_0xf0403(0x14e)],'resolvedBy':_0xa89099[_0xf0403(0x132)],'attributes':_0xa89099[_0xf0403(0x180)]||{}});},'updateCommentThread':async({channelId:_0x3bf5e5,threadId:_0x357656,context:_0x481214,unlinkedAt:_0x229358,attributes:_0x334652})=>this[_0x505f6f(0x174)](_0x3bf5e5)[_0x505f6f(0x148)]({'commentThreadId':_0x357656,'context':_0x481214,'attributes':_0x334652,'unlinkedAt':_0x229358})[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'resolveCommentThread':async({channelId:_0x128c57,threadId:_0x6d0135})=>{const _0x20e759=_0x505f6f,_0x5e31a6=await this[_0x20e759(0x174)](_0x128c57)[_0x20e759(0x194)](_0x6d0135)[_0x20e759(0x18f)](B)[_0x20e759(0x18f)](R);return{'threadId':_0x5e31a6[_0x20e759(0x172)],'resolvedAt':_0x5e31a6[_0x20e759(0x14e)],'resolvedBy':_0x5e31a6[_0x20e759(0x132)]};},'reopenCommentThread':async({channelId:_0x3921e0,threadId:_0x1b8ba6})=>this[_0x505f6f(0x174)](_0x3921e0)[_0x505f6f(0x166)](_0x1b8ba6)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'removeCommentThread':({channelId:_0x320f64,threadId:_0x4a6867})=>this[_0x505f6f(0x174)](_0x320f64)[_0x505f6f(0x175)](_0x4a6867)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'addComment':({channelId:_0x15aac3,threadId:_0x1b4a99,commentId:_0x3cbb85,content:_0x30914f,attributes:_0x47e887})=>this[_0x505f6f(0x174)](_0x15aac3)[_0x505f6f(0x13c)](_0x1b4a99,_0x3cbb85,_0x30914f,_0x47e887)[_0x505f6f(0x18f)](R),'updateComment':({channelId:_0x1bef4a,threadId:_0x51fdb0,commentId:_0x384c99,content:_0x1e119c,attributes:_0x4f55f1})=>this[_0x505f6f(0x174)](_0x1bef4a)[_0x505f6f(0x146)](_0x51fdb0,_0x384c99,_0x1e119c,_0x4f55f1)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'removeComment':({channelId:_0x3be96f,threadId:_0x34300c,commentId:_0x70e717})=>this[_0x505f6f(0x174)](_0x3be96f)[_0x505f6f(0x14f)](_0x34300c,_0x70e717)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R)},_0x27d82d instanceof _0x22774f){const _0x4e96ad=_0x27d82d[_0x505f6f(0x171)][_0x505f6f(0x14d)](_0x505f6f(0x165)),_0x102672=_0x27d82d[_0x505f6f(0x17a)][_0x505f6f(0x14d)](_0x29d856);await this[_0x505f6f(0x183)](_0x4e96ad);const _0x318510=await this[_0x505f6f(0x131)][_0x505f6f(0x14d)](_0x4e96ad)[_0x505f6f(0x16e)]();this[_0x505f6f(0x17c)](_0x102672,_0x505f6f(0x163)+_0x4e96ad,(_0xd10b00,{session:_0x425897})=>{const _0x348585=_0x505f6f;_0x425897['id']===_0x102672[_0x348585(0x18d)]&&(_0xd10b00[_0x348585(0x153)](),this[_0x348585(0x164)][_0x348585(0x17a)][_0x348585(0x14d)](_0x348585(0x15c))[_0x348585(0x142)](_0x425897[_0x348585(0x159)],_0x4e96ad));}),_0x102672[_0x505f6f(0x157)](_0x4e96ad,_0x318510);}}async[_0x39b2b4(0x183)](_0x469692){const _0x234740=_0x39b2b4;if(this[_0x234740(0x131)][_0x234740(0x186)](_0x469692))throw new _0xaac319(_0x234740(0x197),null,{'channelId':_0x469692});const _0x226513=this[_0x234740(0x164)][_0x234740(0x17a)][_0x234740(0x14d)](_0x234740(0x167)),_0x3da9e5=new a[(_0x234740(0x15a))](_0x469692);this[_0x234740(0x131)][_0x234740(0x16f)](_0x469692,_0x3da9e5),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x17d),(_0x30d8f9,_0x56263f)=>{const _0xde3f97=_0x234740,{commentThreadId:_0x295c95,documentId:_0x42d646,context:_0x5ca550,attributes:_0x25f900,resolvedAt:_0x1ef459,resolvedBy:_0x2f3c30,comments:_0x541c56}=_0x56263f;_0x226513[_0xde3f97(0x170)](_0x295c95)||_0x226513[_0xde3f97(0x18b)]({'threadId':_0x295c95,'channelId':_0x42d646,'comments':_0x541c56?_0x541c56[_0xde3f97(0x139)](S):[],'context':_0x5ca550,'attributes':_0x25f900,'resolvedAt':_0x1ef459,'resolvedBy':_0x2f3c30,'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x155),(_0x15afdb,{commentThreadId:_0x2b388f,documentId:_0x3afe80,context:_0x472234,unlinkedAt:_0xe5b469,attributes:_0xe399a8})=>{const _0x52dc9a=_0x234740;_0x226513[_0x52dc9a(0x170)](_0x2b388f)&&_0x226513[_0x52dc9a(0x148)]({'threadId':_0x2b388f,'channelId':_0x3afe80,'context':_0x472234,'unlinkedAt':_0xe5b469,'attributes':_0xe399a8,'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x181),(_0x3fd29d,{commentThreadId:_0x39fde8,resolvedBy:_0x1da7ce,resolvedAt:_0x49b7fc})=>{const _0x2b2bd0=_0x234740,_0x241f6d=_0x226513[_0x2b2bd0(0x170)](_0x39fde8);_0x241f6d&&_0x241f6d[_0x2b2bd0(0x15f)]({'resolvedBy':_0x1da7ce,'resolvedAt':_0x49b7fc,'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x189),(_0x463dbb,{commentThreadId:_0x6a091c})=>{const _0x520c10=_0x234740,_0x17bb1f=_0x226513[_0x520c10(0x170)](_0x6a091c);_0x17bb1f&&_0x17bb1f[_0x520c10(0x13b)]({'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x18c),(_0x2f0adf,{commentThreadId:_0x5e97ee})=>{const _0x42f1d4=_0x234740,_0x23eb0b=_0x226513[_0x42f1d4(0x170)](_0x5e97ee);_0x23eb0b&&_0x23eb0b[_0x42f1d4(0x14b)]({'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x16b),(_0xc10c4e,_0x55da54)=>{const _0x1005e2=_0x234740,_0x26516a=_0x55da54[_0x1005e2(0x172)],_0x382203=_0x226513[_0x1005e2(0x170)](_0x26516a);_0x382203&&_0x382203[_0x1005e2(0x13c)]({...S(_0x55da54),'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x13f),(_0x19d107,{commentThreadId:_0x5610f7,commentId:_0x35c915,content:_0x55ae8f,attributes:_0x33f705})=>{const _0x2d2640=_0x234740,_0xcebf5a=_0x226513[_0x2d2640(0x170)](_0x5610f7);if(_0xcebf5a){const _0x6b7f30=_0xcebf5a[_0x2d2640(0x14c)](_0x35c915);_0x6b7f30&&_0x6b7f30[_0x2d2640(0x178)]({'content':_0x55ae8f,'attributes':_0x33f705,'isFromAdapter':!0x0});}}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x154),(_0x2600cd,{commentThreadId:_0x43e779,commentId:_0x2f8b9b})=>{const _0xb6a831=_0x234740,_0x4be685=_0x226513[_0xb6a831(0x170)](_0x43e779);if(_0x4be685){const _0x2699c5=_0x4be685[_0xb6a831(0x14c)](_0x2f8b9b);_0x2699c5&&_0x2699c5[_0xb6a831(0x14b)]({'isFromAdapter':!0x0});}}),await this[_0x234740(0x16c)](_0x469692);}[_0x39b2b4(0x17f)](){const _0x15917a=_0x39b2b4;if(this[_0x15917a(0x164)]instanceof _0x22774f){const _0x102d77=this[_0x15917a(0x164)][_0x15917a(0x171)][_0x15917a(0x14d)](_0x15917a(0x165));this[_0x15917a(0x160)](_0x102d77);}}[_0x39b2b4(0x160)](_0x5221da){const _0x206ac1=_0x39b2b4;if(!this[_0x206ac1(0x131)][_0x206ac1(0x186)](_0x5221da))throw new _0xaac319(_0x206ac1(0x144),null,{'channelId':_0x5221da});this[_0x206ac1(0x174)](_0x5221da)[_0x206ac1(0x195)](),this[_0x206ac1(0x131)][_0x206ac1(0x15e)](_0x5221da);}async[_0x39b2b4(0x156)](){const _0x59a18f=_0x39b2b4;for(const _0x39b1d7 of this[_0x59a18f(0x131)][_0x59a18f(0x135)]())await this[_0x59a18f(0x16c)](_0x39b1d7);if(this[_0x59a18f(0x164)]instanceof _0x22774f){const _0x582848=this[_0x59a18f(0x164)][_0x59a18f(0x171)][_0x59a18f(0x14d)](_0x59a18f(0x165)),_0x198836=this[_0x59a18f(0x164)][_0x59a18f(0x17a)][_0x59a18f(0x14d)](_0x29d856);_0x198836[_0x59a18f(0x184)](_0x582848);const _0x485e1b=await this[_0x59a18f(0x131)][_0x59a18f(0x14d)](_0x582848)[_0x59a18f(0x16e)]();_0x198836[_0x59a18f(0x157)](_0x582848,_0x485e1b);}}async[_0x39b2b4(0x16c)](_0x11bb4b){const _0x403892=_0x39b2b4,{connection:_0x376eff}=this[_0x403892(0x164)][_0x403892(0x17a)][_0x403892(0x14d)](_0x56c330),_0x2feb4d=this[_0x403892(0x164)][_0x403892(0x17a)][_0x403892(0x14d)](_0x403892(0x167)),_0x2f52b0=this[_0x403892(0x131)][_0x403892(0x14d)](_0x11bb4b),_0x3e1bed=await _0x2f52b0[_0x403892(0x145)](_0x376eff);await this[_0x403892(0x138)](_0x3e1bed);const _0xf78081=new Set(Array[_0x403892(0x152)](_0x2feb4d[_0x403892(0x193)]({'channelId':_0x11bb4b}),_0x12b3f3=>_0x12b3f3['id']));for(const _0x30a8a3 of _0x3e1bed)_0x30a8a3[_0x403892(0x150)]||_0xf78081[_0x403892(0x15e)](_0x30a8a3[_0x403892(0x172)]);for(const _0x334fa8 of _0xf78081)_0x2feb4d[_0x403892(0x170)](_0x334fa8)[_0x403892(0x14b)]({'isFromAdapter':!0x0});for(const _0x28b43f of _0x3e1bed){let _0x3974c2=_0x2feb4d[_0x403892(0x170)](_0x28b43f[_0x403892(0x172)]);const {commentThreadId:_0x50cdf0,context:_0x440ab3,attributes:_0x237a25,resolvedBy:_0x5717e6,resolvedAt:_0x53fefc,unlinkedAt:_0x5e27f1,deletedAt:_0x1eabdb}=_0x28b43f;if(_0x1eabdb)continue;_0x3974c2||(_0x3974c2=_0x2feb4d[_0x403892(0x18b)]({'channelId':_0x11bb4b,'threadId':_0x50cdf0,'context':_0x440ab3,'attributes':_0x237a25||{},'resolvedBy':_0x5717e6,'resolvedAt':_0x53fefc,'unlinkedAt':_0x5e27f1,'isFromAdapter':!0x0}));const _0x2ebf34=new Set(Array[_0x403892(0x152)](_0x3974c2[_0x403892(0x136)],_0x375b26=>_0x375b26['id']));for(const _0x1a9095 of _0x28b43f[_0x403892(0x136)])_0x2ebf34[_0x403892(0x15e)](_0x1a9095[_0x403892(0x14a)]);for(const _0x1bf65e of _0x2ebf34)_0x3974c2[_0x403892(0x14c)](_0x1bf65e)[_0x403892(0x14b)]({'isFromAdapter':!0x0});for(const _0x59e331 of _0x28b43f[_0x403892(0x136)]){const _0x321fcc=_0x3974c2[_0x403892(0x14c)](_0x59e331[_0x403892(0x14a)]);_0x321fcc?_0x321fcc[_0x403892(0x196)]!==_0x59e331[_0x403892(0x196)]&&_0x321fcc[_0x403892(0x178)]({'content':_0x59e331[_0x403892(0x196)],'isFromAdapter':!0x0}):_0x3974c2[_0x403892(0x13c)](Object[_0x403892(0x182)](S(_0x59e331),{'isFromAdapter':!0x0}));}}}[_0x39b2b4(0x174)](_0x58146e){const _0x41e99b=_0x39b2b4;if(!this[_0x41e99b(0x131)][_0x41e99b(0x186)](_0x58146e))throw new _0xaac319(_0x41e99b(0x176),null,{'channelId':_0x58146e});return this[_0x41e99b(0x131)][_0x41e99b(0x14d)](_0x58146e);}async[_0x39b2b4(0x138)](_0x5e3620){const _0x53d145=_0x39b2b4,_0x4db046=this[_0x53d145(0x164)][_0x53d145(0x17a)][_0x53d145(0x14d)](_0x49af31),{connection:_0x40fec1}=this[_0x53d145(0x164)][_0x53d145(0x17a)][_0x53d145(0x14d)](_0x56c330),_0x2d7943=new Set();for(const {resolvedBy:_0x35c4af,comments:_0x203106}of _0x5e3620){_0x35c4af&&!_0x4db046[_0x53d145(0x16a)](_0x35c4af)&&_0x2d7943[_0x53d145(0x147)](_0x35c4af);for(const {userId:_0x4f66a1}of _0x203106)_0x4db046[_0x53d145(0x16a)](_0x4f66a1)||_0x2d7943[_0x53d145(0x147)](_0x4f66a1);}if(0x0===_0x2d7943[_0x53d145(0x18e)])return;const _0x2597ec=await _0x58d0fb[_0x53d145(0x15b)](_0x40fec1,Array[_0x53d145(0x152)](_0x2d7943));for(const _0x1dfb84 of _0x2597ec)_0x4db046[_0x53d145(0x16a)](_0x1dfb84['id'])||_0x4db046[_0x53d145(0x141)](_0x1dfb84);}}a[_0x39b2b4(0x15a)]=_0xafed7a;export default a;async function B(_0x469413){const _0x3cc3ab=_0x39b2b4;if(_0x3cc3ab(0x185)!==_0x469413[_0x3cc3ab(0x13a)])throw _0x469413;}function R(_0x2baa4e){const _0xf461b4=_0x39b2b4;if((_0x19520c=_0x2baa4e)[_0xf461b4(0x149)][_0xf461b4(0x198)](_0xf461b4(0x191))||_0x19520c[_0xf461b4(0x149)][_0xf461b4(0x198)](_0xf461b4(0x15d))||_0x19520c[_0xf461b4(0x149)][_0xf461b4(0x198)](_0xf461b4(0x187)))return new Promise(()=>{});var _0x19520c;throw _0x2baa4e;}function S(_0x2c3e98){const _0x1c9de9=_0x39b2b4;return{'threadId':_0x2c3e98[_0x1c9de9(0x172)],'commentId':_0x2c3e98[_0x1c9de9(0x14a)],'content':_0x2c3e98[_0x1c9de9(0x196)],'createdAt':_0x2c3e98[_0x1c9de9(0x17e)],'authorId':_0x2c3e98[_0x1c9de9(0x134)],'attributes':_0x2c3e98[_0x1c9de9(0x180)]||{}};}
|
|
23
|
+
const _0x44912f=_0x215a;(function(_0xdd207,_0xd5c64c){const _0x2a2075=_0x215a,_0x3b8925=_0xdd207();while(!![]){try{const _0x5bdbf7=parseInt(_0x2a2075(0x1d1))/0x1*(parseInt(_0x2a2075(0x1d5))/0x2)+-parseInt(_0x2a2075(0x1fa))/0x3*(-parseInt(_0x2a2075(0x22b))/0x4)+-parseInt(_0x2a2075(0x212))/0x5+-parseInt(_0x2a2075(0x1e0))/0x6+-parseInt(_0x2a2075(0x1e9))/0x7+parseInt(_0x2a2075(0x213))/0x8*(-parseInt(_0x2a2075(0x1da))/0x9)+parseInt(_0x2a2075(0x1d6))/0xa;if(_0x5bdbf7===_0xd5c64c)break;else _0x3b8925['push'](_0x3b8925['shift']());}catch(_0x495dc6){_0x3b8925['push'](_0x3b8925['shift']());}}}(_0xd20a,0x3b6bb));function _0xd20a(){const _0x1235ec=['reopenCommentThread','comments','context','has','resolve','cloudservicescommentsadapter-service-not-exist','828115XKEtjH','632504tsZFJA','get','reconnect','listenTo','content','collaboration.channelId','size','addToReconnectionStack','resolvedBy','mySessionId','commentThreadResolved','_setUpService','userId','cloudservicescommentsadapter-disconnect-not-exist','permissions','update','updateCommentThread','CloudServicesCommentsAdapter','getMany','init','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','code','removeComment','124eKCwmD','disconnect','unregister','isOfficialPlugin','404','startsWith','setPermissions','requires','sessionAdd:','createdAt','isPremiumPlugin','removeCommentThread','1hvDawG','adapter','commentId','getCommentThreads','92826CkgRXt','7374020jvojCs','getCommentThread','updateComment','destroy','18MqCWrY','commentAdded','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','off','addUser','533988BAxHVu','assign','resolvedAt','from','catch','config','attributes','getComment','map','3192448DTDuVy','_services','set','message','commentUpdated','_fetchMissingUsersForThreads','Permissions','connect','getUser','_connectService','cloudservicescommentsadapter-connect-already-connected','delete','commentRemoved','pluginName','keys','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','31779opUsIS','add','commentThreadReopened','reopen','commentThreadId','commentThreadUpdated','addCommentThread','deletedAt','authorId','plugins','addComment','getConnectedSessions','commentThreadAdded','remove','commentThreadRemoved','_getService','CommentsService','register'];_0xd20a=function(){return _0x1235ec;};return _0xd20a();}function _0x215a(_0xe05870,_0x2257e5){const _0xd20a5c=_0xd20a();return _0x215a=function(_0x215a1c,_0x132d19){_0x215a1c=_0x215a1c-0x1cd;let _0x2a69b9=_0xd20a5c[_0x215a1c];return _0x2a69b9;},_0x215a(_0xe05870,_0x2257e5);}import{Context as _0x388369,ContextPlugin as _0x50e3e9}from'ckeditor5/src/core.js';import{CKEditorError as _0x413889}from'ckeditor5/src/utils.js';import{Users as _0x55a47b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2676a5,User as _0x257d58}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x21dce4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5a118d from'../realtimecollaborativeediting/sessions.js';class a extends _0x50e3e9{static get[_0x44912f(0x232)](){const _0x26dd67=_0x44912f;return[_0x21dce4,_0x26dd67(0x1f8),_0x5a118d,_0x55a47b];}static get[_0x44912f(0x1f6)](){const _0x5f9760=_0x44912f;return _0x5f9760(0x224);}static get[_0x44912f(0x22e)](){return!0x0;}static get[_0x44912f(0x1cf)](){return!0x0;}constructor(_0x27ec38){const _0x1b3dd7=_0x44912f;super(_0x27ec38),this[_0x1b3dd7(0x1ea)]=new Map();}async[_0x44912f(0x226)](){const _0x5c31de=_0x44912f,_0x3649d4=this[_0x5c31de(0x20e)],_0x1577bf=_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x5c31de(0x1f8));if(_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x21dce4)[_0x5c31de(0x21a)](this),_0x1577bf[_0x5c31de(0x1d2)]={'addCommentThread':async({channelId:_0x17d67f,threadId:_0x232472,comments:_0xd56206,resolvedAt:_0x3d540e,resolvedBy:_0x4cc289,context:_0x2cfd0e,attributes:_0x3b7596})=>{const _0x25c2d7=_0x5c31de,_0x1f94a4=await this[_0x25c2d7(0x209)](_0x17d67f)[_0x25c2d7(0x200)]({'commentThreadId':_0x232472,'comments':_0xd56206[_0x25c2d7(0x1e8)](_0x3bb1f3=>function(_0x52ceed,_0x21894f,_0x2e3f63){const _0x379af3=_0x25c2d7;return{'commentThreadId':_0x2e3f63,'commentId':_0x52ceed[_0x379af3(0x1d3)],'userId':_0x52ceed[_0x379af3(0x202)],'content':_0x52ceed[_0x379af3(0x217)],'documentId':_0x21894f,'createdAt':_0x52ceed[_0x379af3(0x1ce)],'attributes':_0x52ceed[_0x379af3(0x1e6)]||{}};}(_0x3bb1f3,_0x17d67f,_0x232472)),'resolvedAt':_0x3d540e,'resolvedBy':_0x4cc289,'context':_0x2cfd0e,'attributes':_0x3b7596})[_0x25c2d7(0x1e4)](R);return{'threadId':_0x1f94a4[_0x25c2d7(0x1fe)],'comments':_0x1f94a4[_0x25c2d7(0x20d)]};},'getCommentThread':async({channelId:_0x3949d3,threadId:_0x2eab28})=>{const _0xf1bbf9=_0x5c31de,_0x4a228=await this[_0xf1bbf9(0x209)](_0x3949d3)[_0xf1bbf9(0x1d7)](_0x2eab28)[_0xf1bbf9(0x1e4)](R);return _0x4a228[_0xf1bbf9(0x201)]?null:(await this[_0xf1bbf9(0x1ee)]([_0x4a228]),{'threadId':_0x4a228[_0xf1bbf9(0x1fe)],'comments':_0x4a228[_0xf1bbf9(0x20d)][_0xf1bbf9(0x1e8)](S),'context':_0x4a228[_0xf1bbf9(0x20e)],'resolvedAt':_0x4a228[_0xf1bbf9(0x1e2)],'resolvedBy':_0x4a228[_0xf1bbf9(0x21b)],'attributes':_0x4a228[_0xf1bbf9(0x1e6)]||{}});},'updateCommentThread':async({channelId:_0x1e0cb8,threadId:_0x5e679e,context:_0x4caa16,unlinkedAt:_0x155fe1,attributes:_0x5a6bca})=>this[_0x5c31de(0x209)](_0x1e0cb8)[_0x5c31de(0x223)]({'commentThreadId':_0x5e679e,'context':_0x4caa16,'attributes':_0x5a6bca,'unlinkedAt':_0x155fe1})[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'resolveCommentThread':async({channelId:_0x2b33be,threadId:_0x31732b})=>{const _0x968a17=_0x5c31de,_0x525c0a=await this[_0x968a17(0x209)](_0x2b33be)[_0x968a17(0x228)](_0x31732b)[_0x968a17(0x1e4)](B)[_0x968a17(0x1e4)](R);return{'threadId':_0x525c0a[_0x968a17(0x1fe)],'resolvedAt':_0x525c0a[_0x968a17(0x1e2)],'resolvedBy':_0x525c0a[_0x968a17(0x21b)]};},'reopenCommentThread':async({channelId:_0xbc5422,threadId:_0x3b8620})=>this[_0x5c31de(0x209)](_0xbc5422)[_0x5c31de(0x20c)](_0x3b8620)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'removeCommentThread':({channelId:_0x381d96,threadId:_0x526bec})=>this[_0x5c31de(0x209)](_0x381d96)[_0x5c31de(0x1d0)](_0x526bec)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'addComment':({channelId:_0x5efb52,threadId:_0x7fbd17,commentId:_0x25b770,content:_0x362777,attributes:_0x3e5fd9})=>this[_0x5c31de(0x209)](_0x5efb52)[_0x5c31de(0x204)](_0x7fbd17,_0x25b770,_0x362777,_0x3e5fd9)[_0x5c31de(0x1e4)](R),'updateComment':({channelId:_0x152fe2,threadId:_0x171c0f,commentId:_0x14ec74,content:_0x40372e,attributes:_0x3f4145})=>this[_0x5c31de(0x209)](_0x152fe2)[_0x5c31de(0x1d8)](_0x171c0f,_0x14ec74,_0x40372e,_0x3f4145)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'removeComment':({channelId:_0x5f370e,threadId:_0x4c926f,commentId:_0x3e840a})=>this[_0x5c31de(0x209)](_0x5f370e)[_0x5c31de(0x22a)](_0x4c926f,_0x3e840a)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R)},_0x3649d4 instanceof _0x388369){const _0x21edb2=_0x3649d4[_0x5c31de(0x1e5)][_0x5c31de(0x214)](_0x5c31de(0x218)),_0x2a3d6d=_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x5a118d);await this[_0x5c31de(0x21e)](_0x21edb2);const _0x3eecf0=await this[_0x5c31de(0x1ea)][_0x5c31de(0x214)](_0x21edb2)[_0x5c31de(0x205)]();this[_0x5c31de(0x216)](_0x2a3d6d,_0x5c31de(0x1cd)+_0x21edb2,(_0x4f1ab0,{session:_0x325dda})=>{const _0x1cf89e=_0x5c31de;_0x325dda['id']===_0x2a3d6d[_0x1cf89e(0x21c)]&&(_0x4f1ab0[_0x1cf89e(0x1de)](),this[_0x1cf89e(0x20e)][_0x1cf89e(0x203)][_0x1cf89e(0x214)](_0x1cf89e(0x1ef))[_0x1cf89e(0x231)](_0x325dda[_0x1cf89e(0x221)],_0x21edb2));}),_0x2a3d6d[_0x5c31de(0x20b)](_0x21edb2,_0x3eecf0);}}async[_0x44912f(0x21e)](_0x5f5688){const _0x58f086=_0x44912f;if(this[_0x58f086(0x1ea)][_0x58f086(0x20f)](_0x5f5688))throw new _0x413889(_0x58f086(0x1f3),null,{'channelId':_0x5f5688});const _0x5d3d12=this[_0x58f086(0x20e)][_0x58f086(0x203)][_0x58f086(0x214)](_0x58f086(0x1f8)),_0x50d91a=new a[(_0x58f086(0x20a))](_0x5f5688);this[_0x58f086(0x1ea)][_0x58f086(0x1eb)](_0x5f5688,_0x50d91a),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x206),(_0x2f17e5,_0x136308)=>{const _0x4e6934=_0x58f086,{commentThreadId:_0x11ba09,documentId:_0x5b86a4,context:_0x4e13b1,attributes:_0x3cd5fd,resolvedAt:_0x42ff69,resolvedBy:_0x24b042,comments:_0x27de07}=_0x136308;_0x5d3d12[_0x4e6934(0x1d7)](_0x11ba09)||_0x5d3d12[_0x4e6934(0x200)]({'threadId':_0x11ba09,'channelId':_0x5b86a4,'comments':_0x27de07?_0x27de07[_0x4e6934(0x1e8)](S):[],'context':_0x4e13b1,'attributes':_0x3cd5fd,'resolvedAt':_0x42ff69,'resolvedBy':_0x24b042,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1ff),(_0x58e655,{commentThreadId:_0x58a204,documentId:_0x39f26,context:_0x23fa5b,unlinkedAt:_0x488ab2,attributes:_0x255129})=>{const _0x45dc3a=_0x58f086;_0x5d3d12[_0x45dc3a(0x1d7)](_0x58a204)&&_0x5d3d12[_0x45dc3a(0x223)]({'threadId':_0x58a204,'channelId':_0x39f26,'context':_0x23fa5b,'unlinkedAt':_0x488ab2,'attributes':_0x255129,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x21d),(_0x7e03a7,{commentThreadId:_0x562b40,resolvedBy:_0x4661af,resolvedAt:_0x26b731})=>{const _0x1b5ac7=_0x58f086,_0x413b0d=_0x5d3d12[_0x1b5ac7(0x1d7)](_0x562b40);_0x413b0d&&_0x413b0d[_0x1b5ac7(0x210)]({'resolvedBy':_0x4661af,'resolvedAt':_0x26b731,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1fc),(_0x4307e9,{commentThreadId:_0x4cd2b6})=>{const _0x109a12=_0x58f086,_0x153a6f=_0x5d3d12[_0x109a12(0x1d7)](_0x4cd2b6);_0x153a6f&&_0x153a6f[_0x109a12(0x1fd)]({'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x208),(_0x21cd97,{commentThreadId:_0x4dff95})=>{const _0x500da9=_0x58f086,_0x5c4a02=_0x5d3d12[_0x500da9(0x1d7)](_0x4dff95);_0x5c4a02&&_0x5c4a02[_0x500da9(0x207)]({'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1db),(_0x270c9b,_0x85f608)=>{const _0x59a516=_0x58f086,_0x357926=_0x85f608[_0x59a516(0x1fe)],_0xb1cb40=_0x5d3d12[_0x59a516(0x1d7)](_0x357926);_0xb1cb40&&_0xb1cb40[_0x59a516(0x204)]({...S(_0x85f608),'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1ed),(_0x351bc4,{commentThreadId:_0x5c0085,commentId:_0x6852bc,content:_0x2ebc99,attributes:_0x4a9c38})=>{const _0x17cdea=_0x58f086,_0x539a3c=_0x5d3d12[_0x17cdea(0x1d7)](_0x5c0085);if(_0x539a3c){const _0x51c6d1=_0x539a3c[_0x17cdea(0x1e7)](_0x6852bc);_0x51c6d1&&_0x51c6d1[_0x17cdea(0x222)]({'content':_0x2ebc99,'attributes':_0x4a9c38,'isFromAdapter':!0x0});}}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1f5),(_0x4951df,{commentThreadId:_0x52750b,commentId:_0x2470f0})=>{const _0x1d6895=_0x58f086,_0x4690c6=_0x5d3d12[_0x1d6895(0x1d7)](_0x52750b);if(_0x4690c6){const _0x468635=_0x4690c6[_0x1d6895(0x1e7)](_0x2470f0);_0x468635&&_0x468635[_0x1d6895(0x207)]({'isFromAdapter':!0x0});}}),await this[_0x58f086(0x1f2)](_0x5f5688);}[_0x44912f(0x1d9)](){const _0x445451=_0x44912f;if(this[_0x445451(0x20e)]instanceof _0x388369){const _0x5f1f67=this[_0x445451(0x20e)][_0x445451(0x1e5)][_0x445451(0x214)](_0x445451(0x218));this[_0x445451(0x1dc)](_0x5f1f67);}}[_0x44912f(0x1dc)](_0x2cd3e3){const _0x1678dd=_0x44912f;if(!this[_0x1678dd(0x1ea)][_0x1678dd(0x20f)](_0x2cd3e3))throw new _0x413889(_0x1678dd(0x220),null,{'channelId':_0x2cd3e3});this[_0x1678dd(0x209)](_0x2cd3e3)[_0x1678dd(0x22c)](),this[_0x1678dd(0x1ea)][_0x1678dd(0x1f4)](_0x2cd3e3);}async[_0x44912f(0x215)](){const _0x5cb9bd=_0x44912f;for(const _0x92afbb of this[_0x5cb9bd(0x1ea)][_0x5cb9bd(0x1f7)]())await this[_0x5cb9bd(0x1f2)](_0x92afbb);if(this[_0x5cb9bd(0x20e)]instanceof _0x388369){const _0x4b0b62=this[_0x5cb9bd(0x20e)][_0x5cb9bd(0x1e5)][_0x5cb9bd(0x214)](_0x5cb9bd(0x218)),_0x225565=this[_0x5cb9bd(0x20e)][_0x5cb9bd(0x203)][_0x5cb9bd(0x214)](_0x5a118d);_0x225565[_0x5cb9bd(0x22d)](_0x4b0b62);const _0xc21bed=await this[_0x5cb9bd(0x1ea)][_0x5cb9bd(0x214)](_0x4b0b62)[_0x5cb9bd(0x205)]();_0x225565[_0x5cb9bd(0x20b)](_0x4b0b62,_0xc21bed);}}async[_0x44912f(0x1f2)](_0x412ca3){const _0x46a59b=_0x44912f,{connection:_0x3016e7}=this[_0x46a59b(0x20e)][_0x46a59b(0x203)][_0x46a59b(0x214)](_0x21dce4),_0x57053c=this[_0x46a59b(0x20e)][_0x46a59b(0x203)][_0x46a59b(0x214)](_0x46a59b(0x1f8)),_0x197356=this[_0x46a59b(0x1ea)][_0x46a59b(0x214)](_0x412ca3),_0x52ac33=await _0x197356[_0x46a59b(0x1f0)](_0x3016e7);await this[_0x46a59b(0x1ee)](_0x52ac33);const _0x2cfa69=new Set(Array[_0x46a59b(0x1e3)](_0x57053c[_0x46a59b(0x1d4)]({'channelId':_0x412ca3}),_0x54f7b8=>_0x54f7b8['id']));for(const _0x5b538c of _0x52ac33)_0x5b538c[_0x46a59b(0x201)]||_0x2cfa69[_0x46a59b(0x1f4)](_0x5b538c[_0x46a59b(0x1fe)]);for(const _0x5e5cc0 of _0x2cfa69)_0x57053c[_0x46a59b(0x1d7)](_0x5e5cc0)[_0x46a59b(0x207)]({'isFromAdapter':!0x0});for(const _0x4cad0d of _0x52ac33){let _0x397d3d=_0x57053c[_0x46a59b(0x1d7)](_0x4cad0d[_0x46a59b(0x1fe)]);const {commentThreadId:_0x2b2984,context:_0x18d443,attributes:_0x4daaa1,resolvedBy:_0x3ba854,resolvedAt:_0x38464d,unlinkedAt:_0x541271,deletedAt:_0x5189d2}=_0x4cad0d;if(_0x5189d2)continue;_0x397d3d||(_0x397d3d=_0x57053c[_0x46a59b(0x200)]({'channelId':_0x412ca3,'threadId':_0x2b2984,'context':_0x18d443,'attributes':_0x4daaa1||{},'resolvedBy':_0x3ba854,'resolvedAt':_0x38464d,'unlinkedAt':_0x541271,'isFromAdapter':!0x0}));const _0xe33979=new Set(Array[_0x46a59b(0x1e3)](_0x397d3d[_0x46a59b(0x20d)],_0x1f0788=>_0x1f0788['id']));for(const _0x469460 of _0x4cad0d[_0x46a59b(0x20d)])_0xe33979[_0x46a59b(0x1f4)](_0x469460[_0x46a59b(0x1d3)]);for(const _0x5e1842 of _0xe33979)_0x397d3d[_0x46a59b(0x1e7)](_0x5e1842)[_0x46a59b(0x207)]({'isFromAdapter':!0x0});for(const _0x20c473 of _0x4cad0d[_0x46a59b(0x20d)]){const _0x480e17=_0x397d3d[_0x46a59b(0x1e7)](_0x20c473[_0x46a59b(0x1d3)]);_0x480e17?_0x480e17[_0x46a59b(0x217)]!==_0x20c473[_0x46a59b(0x217)]&&_0x480e17[_0x46a59b(0x222)]({'content':_0x20c473[_0x46a59b(0x217)],'isFromAdapter':!0x0}):_0x397d3d[_0x46a59b(0x204)](Object[_0x46a59b(0x1e1)](S(_0x20c473),{'isFromAdapter':!0x0}));}}}[_0x44912f(0x209)](_0x55b805){const _0x490534=_0x44912f;if(!this[_0x490534(0x1ea)][_0x490534(0x20f)](_0x55b805))throw new _0x413889(_0x490534(0x211),null,{'channelId':_0x55b805});return this[_0x490534(0x1ea)][_0x490534(0x214)](_0x55b805);}async[_0x44912f(0x1ee)](_0x249aa6){const _0x587d60=_0x44912f,_0x4b906a=this[_0x587d60(0x20e)][_0x587d60(0x203)][_0x587d60(0x214)](_0x55a47b),{connection:_0x44538e}=this[_0x587d60(0x20e)][_0x587d60(0x203)][_0x587d60(0x214)](_0x21dce4),_0xa1c342=new Set();for(const {resolvedBy:_0x1ef6d0,comments:_0x1d98d1}of _0x249aa6){_0x1ef6d0&&!_0x4b906a[_0x587d60(0x1f1)](_0x1ef6d0)&&_0xa1c342[_0x587d60(0x1fb)](_0x1ef6d0);for(const {userId:_0x58d070}of _0x1d98d1)_0x4b906a[_0x587d60(0x1f1)](_0x58d070)||_0xa1c342[_0x587d60(0x1fb)](_0x58d070);}if(0x0===_0xa1c342[_0x587d60(0x219)])return;const _0x27289a=await _0x257d58[_0x587d60(0x225)](_0x44538e,Array[_0x587d60(0x1e3)](_0xa1c342));for(const _0x81dfc9 of _0x27289a)_0x4b906a[_0x587d60(0x1f1)](_0x81dfc9['id'])||_0x4b906a[_0x587d60(0x1df)](_0x81dfc9);}}a[_0x44912f(0x20a)]=_0x2676a5;export default a;async function B(_0x8e202){const _0x32d439=_0x44912f;if(_0x32d439(0x22f)!==_0x8e202[_0x32d439(0x229)])throw _0x8e202;}function R(_0x595cbd){const _0x4a8a7e=_0x44912f;if((_0x1e5d1f=_0x595cbd)[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x1f9))||_0x1e5d1f[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x227))||_0x1e5d1f[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x1dd)))return new Promise(()=>{});var _0x1e5d1f;throw _0x595cbd;}function S(_0x3fba78){const _0x48c358=_0x44912f;return{'threadId':_0x3fba78[_0x48c358(0x1fe)],'commentId':_0x3fba78[_0x48c358(0x1d3)],'content':_0x3fba78[_0x48c358(0x217)],'createdAt':_0x3fba78[_0x48c358(0x1ce)],'authorId':_0x3fba78[_0x48c358(0x21f)],'attributes':_0x3fba78[_0x48c358(0x1e6)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3c1a(){const _0x5cc93b=['ready','plugins','listenTo','pluginName','init','3578MPORJX','_terminateService','data','13GSStEA','440uEaqjD','requires','939RiGQUG','12glqSte','CommentsRepository','4AyQRDx','Comments','editor','3409399vpVjLV','once','get','CommentsEditing','collaboration.channelId','destroy','2088215tQPwsI','_setUpService','isThreadsLoadingPaused','22281156aziGcn','98137CWCTde','RealTimeCollaborativeComments','config','33AbBffq','67788TrcMrH','change:state','139990tqCckx','switchReadOnly','isPremiumPlugin','connected','isOfficialPlugin'];_0x3c1a=function(){return _0x5cc93b;};return _0x3c1a();}const _0x1c683b=_0x1be7;(function(_0x4b81cf,_0x3031a3){const _0x594b49=_0x1be7,_0x56d77d=_0x4b81cf();while(!![]){try{const _0x1c4575=parseInt(_0x594b49(0x9f))/0x1+parseInt(_0x594b49(0x89))/0x2*(parseInt(_0x594b49(0x8f))/0x3)+-parseInt(_0x594b49(0x92))/0x4*(-parseInt(_0x594b49(0x9b))/0x5)+parseInt(_0x594b49(0x90))/0x6*(parseInt(_0x594b49(0x95))/0x7)+parseInt(_0x594b49(0x8d))/0x8*(parseInt(_0x594b49(0xa3))/0x9)+-parseInt(_0x594b49(0x7f))/0xa*(parseInt(_0x594b49(0xa2))/0xb)+-parseInt(_0x594b49(0x9e))/0xc*(parseInt(_0x594b49(0x8c))/0xd);if(_0x1c4575===_0x3031a3)break;else _0x56d77d['push'](_0x56d77d['shift']());}catch(_0x2dd980){_0x56d77d['push'](_0x56d77d['shift']());}}}(_0x3c1a,0x8a067));import{Plugin as _0x4d6633}from'ckeditor5/src/core.js';import _0x4b2db7 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0xa6f371 from'./realtimecollaborativeediting.js';function _0x1be7(_0x43069e,_0xb07643){const _0x3c1aaa=_0x3c1a();return _0x1be7=function(_0x1be72a,_0x1094eb){_0x1be72a=_0x1be72a-0x7e;let _0x3133c5=_0x3c1aaa[_0x1be72a];return _0x3133c5;},_0x1be7(_0x43069e,_0xb07643);}import _0x2fe252 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4d6633{static get[_0x1c683b(0x8e)](){const _0xb3e270=_0x1c683b;return[_0xb3e270(0x93),_0x4b2db7,_0xa6f371,_0x2fe252];}static get[_0x1c683b(0x87)](){const _0x2f800c=_0x1c683b;return _0x2f800c(0xa0);}static get[_0x1c683b(0x83)](){return!0x0;}static get[_0x1c683b(0x81)](){return!0x0;}[_0x1c683b(0x88)](){const _0x1b3e4d=_0x1c683b,_0x4a1daf=this[_0x1b3e4d(0x94)][_0x1b3e4d(0x85)][_0x1b3e4d(0x97)](_0x2fe252),_0x123598=this[_0x1b3e4d(0x94)][_0x1b3e4d(0x85)][_0x1b3e4d(0x97)](_0x1b3e4d(0x98)),_0x571e30=this[_0x1b3e4d(0x94)][_0x1b3e4d(0x85)][_0x1b3e4d(0x97)](_0x4b2db7);return this[_0x1b3e4d(0x94)][_0x1b3e4d(0x8b)][_0x1b3e4d(0x96)](_0x1b3e4d(0x84),()=>{const _0x22796e=_0x1b3e4d;this[_0x22796e(0x86)](_0x4a1daf,_0x22796e(0x7e),(_0x2fd06c,_0x4fc26d,_0x522343)=>{const _0xdffdeb=_0x22796e;_0x123598[_0xdffdeb(0x9d)]=_0xdffdeb(0x82)!==_0x522343;});}),this[_0x1b3e4d(0x86)](_0x4a1daf,_0x1b3e4d(0x7e),(_0x5e26e6,_0x4a654c,_0x29f65e)=>{const _0x184806=_0x1b3e4d;this[_0x184806(0x94)][_0x184806(0x85)][_0x184806(0x97)](_0x184806(0x91))[_0x184806(0x80)](_0x184806(0x82)!==_0x29f65e);}),_0x571e30[_0x1b3e4d(0x9c)](this[_0x1b3e4d(0x94)][_0x1b3e4d(0xa1)][_0x1b3e4d(0x97)](_0x1b3e4d(0x99)));}[_0x1c683b(0x9a)](){const _0x244afa=_0x1c683b;this[_0x244afa(0x94)][_0x244afa(0x85)][_0x244afa(0x97)](_0x4b2db7)[_0x244afa(0x8a)](this[_0x244afa(0x94)][_0x244afa(0xa1)][_0x244afa(0x97)](_0x244afa(0x99))),super[_0x244afa(0x9a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6ea34b=_0x5b24;(function(_0x568c73,_0x4b3ca8){const _0x3f8fd2=_0x5b24,_0x373676=_0x568c73();while(!![]){try{const _0x9ba9b5=-parseInt(_0x3f8fd2(0x221))/0x1+-parseInt(_0x3f8fd2(0x264))/0x2*(parseInt(_0x3f8fd2(0x1be))/0x3)+parseInt(_0x3f8fd2(0x1a1))/0x4*(parseInt(_0x3f8fd2(0x234))/0x5)+-parseInt(_0x3f8fd2(0x1d5))/0x6*(-parseInt(_0x3f8fd2(0x22e))/0x7)+-parseInt(_0x3f8fd2(0x18f))/0x8*(-parseInt(_0x3f8fd2(0x1eb))/0x9)+parseInt(_0x3f8fd2(0x1c0))/0xa*(parseInt(_0x3f8fd2(0x1b6))/0xb)+parseInt(_0x3f8fd2(0x202))/0xc*(-parseInt(_0x3f8fd2(0x1f4))/0xd);if(_0x9ba9b5===_0x4b3ca8)break;else _0x373676['push'](_0x373676['shift']());}catch(_0x505ebf){_0x373676['push'](_0x373676['shift']());}}}(_0x20c0,0xb300b));import{Plugin as _0x1bd9cc,PendingActions as _0x441889}from'ckeditor5/src/core.js';import{CKEditorError as _0x1a25cc,version as _0x164433,uid as _0x471482}from'ckeditor5/src/utils.js';import{Notification as _0x341810}from'ckeditor5/src/ui.js';import{transformSets as _0x381f16,NoOperation as _0x7e3616,InsertOperation as _0x3d873e,MarkerOperation as _0x2a381c,RootAttributeOperation as _0x4f77ee,OperationFactory as _0x3a5ee9,History as _0x1b56fb}from'ckeditor5/src/engine.js';function _0x20c0(){const _0x2dc080=['unregister','_setPendingAction','userId','createPositionFromPath','_pendingAction','slice','realtimecollaborationclient-init-session-connection-error','_channelId','remove','reset','multi-root-editor-root-attributes-no-root','7320RWorbF','fire','serverHistory','connect','map','lastOperationId','destroy','string','Synchronization\x20issue','differ','loadRoot','start','_getAffectedRoot','connected','listenTo','editing','affectsData','push','compress','clone','realtimecollaborationclient-init-non-existent-root','affectedSelectable','_isDisconnection','getOperationAuthor','realtimecollaborationclient-error','getIdOfTheLastOperation','_isAttached','insert','disableReadOnlyMode','_handleReconnectionResponse','mySessionId','1064922cSIwFp','_fetchMissingUsers','_lastSyncedOperationId','offset','path','_sendBufferedOperationsDelayed','cloudServices.bundleVersion','_handleSendingSelectionMarkers','history','$root','startsWith','isPremiumPlugin','model','7kAsHyU','catch','isOfficialPlugin','createRoot','_knownRootNames','PENDING_ACTION_SENDING_DATA','162485twRCyU','_offset','decompress','rootName','_knownOperations','metadata','_handleExternalOperations','setIdForTheLastOperation','realtimecollaborationclient-init-service-internal-error','addOperation','collaboration-missing-channelid','_shouldSendSelectionUpdate','addRootAttribute','marker','stop','InsertOperation','_applyOperationsSet','addToReconnectionStack','_compressOperations','add','sessionCreatedAt','_bufferRootLoad','wasUndone','set','applyOperation','cs:removeUser','directChange','_isEditingAllowed','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.','data','_crash','_loadRoot','rtc-offline','channelSessions','length','_getOperationsFromInitData','CollaborativeEditingService','permissions','getMany','getRoot','rootsAttributes','change:hasDomSelection','document:write','from','lastSyncVersion','_isInit','createRange','high','802316bbVPdL','_sendBufferedOperations','createPositionAt','operationsReceived','forEach','stopListening','collaboration','CommentsOnly','requires','off','lastDocumentSession','error','code','then','_compressor','disconnected','_saveOperationInBuffer','targetPosition','editor','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.','state','return','view','register','has','pluginName','suppressErrorInCollaboration','_connectAfterSessionHasBeenFlushed','disconnect','reconnection:\x20flushed\x20session','baseVersion','change:_isPendingUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_hasSelectionChanged','_service','_handleInitialConnectionData','getOperations','getUser','_isPendingUpdate','collaboration.channelId','addUser','keys','_updateServerHistory','cloud-services-internal-error:\x20Not\x20connected.','ready','size','_shouldSendUpdate','filter','_isConnected','entries','realtimecollaborationclient-sendbufferedoperations','document','9284344AujwsU','isReadOnly','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getDocumentDetails','_initThrowingOnDataSet','currentDocumentSession','finally','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','bind','toJSON','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient','getConnectedSessions','message','_handleReceivedOperations','_lastServerVersion','get','_clearPendingAction','104HtHxnZ','showWarning','_isLoaded','_hasSynchronizationProblem','_setUpDataInit','_currentBufferDelay','__className','lastOperationAcceptedAt','batch','realtimecollaborationclient-init-service-incorrect-server-operation','real-time-collaboration','sendOperations','_handleServerResponse','_connectService','end','_initSessionsHandling','apply','sessionId','removeFromReconnectionStack','_addKnownRoot','_authorId','11BRCqYp','createdAt','change:range','locale','change:_isEditingAllowed','init','enableReadOnlyMode','selection','3BaBFlc','newRange','2858370DuERfz','version','type','_decompressOperations','_document','isDocumentOperation','_operationToId','round','markers','addRoot','config','_waitUntilSynced','_handleReconnectionError','409','_refreshUserSelectionMarkers','404','attributes','_ignoredOperations','move','cloudDocumentVersion','cloud-services-internal-error:\x20Request\x20timeout.','6251778HSMjKA','rtc-destroyed','_disconnectionOperations','reconnect','Permissions','realtimecollaborationclient-init-connection-failed','setPermissions','initData','_disconnectService','plugins','_baseBufferDelay','realtimecollaborationclient-init-document-already-initialized','_bufferedOperations','RealTimeCollaborationClient','enqueueChange','createUserMarkerOperations','fromJSON','wereChangesApplied','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationIdentifier','isUndoneOperation','connection','9BuCUSI','isEnabled','root','parse','sessionAdd:','position','includes','roots','define','24167jpNePP','_sendBufferedOperationsDelayId','Notification'];_0x20c0=function(){return _0x2dc080;};return _0x20c0();}import _0x2e1b06 from'./websocketgateway.js';import _0x429af9 from'./sessions.js';import _0x326333 from'./usermarkers.js';import{getTranslation as _0x46bc2c}from'../common-translations.js';import{Compressor as _0x22a11e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x27ec6b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1d938d,CollaborativeEditingService as _0x22dbf4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1bd9cc{static get[_0x6ea34b(0x26c)](){return[_0x2e1b06,_0x429af9,_0x326333,_0x441889,_0x27ec6b,_0x341810];}static get[_0x6ea34b(0x174)](){const _0xef226d=_0x6ea34b;return _0xef226d(0x1e2);}static get[_0x6ea34b(0x230)](){return!0x0;}static get[_0x6ea34b(0x22c)](){return!0x0;}get[_0x6ea34b(0x1d3)](){const _0x198c0d=_0x6ea34b;return this[_0x198c0d(0x19e)]+this[_0x198c0d(0x235)];}get[_0x6ea34b(0x19e)](){const _0x6c40cb=_0x6ea34b;return this[_0x6c40cb(0x204)][_0x6c40cb(0x1c1)]-this[_0x6c40cb(0x235)];}get[_0x6ea34b(0x260)](){const _0x4141ad=_0x6ea34b,_0x1b1993=this[_0x4141ad(0x204)][_0x4141ad(0x17f)]();for(let _0x542939=_0x1b1993[_0x4141ad(0x256)]-0x1;_0x542939>=0x0;_0x542939--){const _0x40dda7=_0x1b1993[_0x542939];if(!this[_0x4141ad(0x1d7)][_0x4141ad(0x173)](_0x40dda7))return _0x40dda7[_0x4141ad(0x179)]+0x1-this[_0x4141ad(0x235)];}return 0x0;}constructor(_0x35b750){const _0x158fde=_0x6ea34b;if(super(_0x35b750),this[_0x158fde(0x235)]=0x0,this[_0x158fde(0x1b2)]=null,this[_0x158fde(0x204)]=new _0x1b56fb(),this[_0x158fde(0x16d)][_0x158fde(0x1ca)][_0x158fde(0x1f3)](_0x158fde(0x26a),{}),this[_0x158fde(0x1fe)]=this[_0x158fde(0x16d)][_0x158fde(0x1ca)][_0x158fde(0x19f)](_0x158fde(0x182)),!this[_0x158fde(0x1fe)])throw new _0x1a25cc(_0x158fde(0x23e),this);const _0x5bd2b2=_0x35b750[_0x158fde(0x1ca)][_0x158fde(0x19f)](_0x158fde(0x227))||_0x164433;this[_0x158fde(0x17d)]=new l[(_0x158fde(0x258))](_0x5bd2b2,this[_0x158fde(0x1fe)]),this[_0x158fde(0x1c4)]=this[_0x158fde(0x16d)][_0x158fde(0x22d)][_0x158fde(0x18e)],this[_0x158fde(0x169)]=new _0x22a11e(),this[_0x158fde(0x1e1)]=[],this[_0x158fde(0x238)]=new WeakSet(),this[_0x158fde(0x232)]=new Set(),this[_0x158fde(0x24b)](_0x158fde(0x181),!0x1),this[_0x158fde(0x24b)](_0x158fde(0x1a4),!0x1),this[_0x158fde(0x1fb)]=null,this[_0x158fde(0x17c)]=!0x1,this[_0x158fde(0x1f5)]=null,this[_0x158fde(0x1df)]=0x12c,this[_0x158fde(0x1a6)]=this[_0x158fde(0x1df)],this[_0x158fde(0x223)]=null,this[_0x158fde(0x1d7)]=new WeakSet(),this[_0x158fde(0x1e8)]=new X(this[_0x158fde(0x1d7)]);}[_0x6ea34b(0x1bb)](){const _0x4290ae=_0x6ea34b,_0xece8cd=this[_0x4290ae(0x16d)],_0x3a6c1c=_0xece8cd[_0x4290ae(0x1de)][_0x4290ae(0x19f)](_0x27ec6b),_0x5c02b9=_0xece8cd[_0x4290ae(0x1de)][_0x4290ae(0x19f)](_0x2e1b06);this[_0x4290ae(0x210)](_0x3a6c1c,_0x4290ae(0x219),(_0x1e257a,_0x1965f5)=>{const _0x338294=_0x4290ae,_0x563253=_0x1965f5[0x0];_0x563253[_0x338294(0x1b5)]&&(_0x1e257a[_0x338294(0x170)]=_0x3a6c1c[_0x338294(0x180)](_0x563253[_0x338294(0x1b5)]),_0x1e257a[_0x338294(0x242)]()),null===_0x563253[_0x338294(0x1b5)]&&(_0x1e257a[_0x338294(0x170)]=null,_0x1e257a[_0x338294(0x242)]());},{'priority':_0x4290ae(0x263)}),this[_0x4290ae(0x210)](_0xece8cd[_0x4290ae(0x22d)][_0x4290ae(0x18e)][_0x4290ae(0x1bd)],_0x4290ae(0x1b8),(_0x413d69,_0x33ae58)=>{const _0x39f1e4=_0x4290ae;_0x33ae58[_0x39f1e4(0x24e)]&&this[_0x39f1e4(0x1ce)]();}),this[_0x4290ae(0x210)](_0xece8cd[_0x4290ae(0x211)][_0x4290ae(0x171)],_0x4290ae(0x25d),()=>{const _0x51e700=_0x4290ae;this[_0x51e700(0x1ce)]();}),this[_0x4290ae(0x193)](),_0xece8cd[_0x4290ae(0x22d)]['on'](_0x4290ae(0x24c),(_0x3b43c8,_0x3a2701)=>{const _0x10fb02=_0x4290ae,_0xb59a4d=_0x3a2701[0x0];_0xb59a4d[_0x10fb02(0x1c5)]&&(this[_0x10fb02(0x16b)](_0xb59a4d),this[_0x10fb02(0x189)]()&&this[_0x10fb02(0x226)]());}),this[_0x4290ae(0x1a5)](),this[_0x4290ae(0x197)](_0x4290ae(0x24f))['to'](_0x5c02b9,_0x4290ae(0x16f),this,_0x4290ae(0x1a4),(_0x2ae1f7,_0x333c11)=>_0x4290ae(0x20f)===_0x2ae1f7&&!_0x333c11),this['on'](_0x4290ae(0x1ba),()=>{const _0x1ed3e5=_0x4290ae;this[_0x1ed3e5(0x24f)]?_0xece8cd[_0x1ed3e5(0x21e)](_0x1ed3e5(0x254)):_0xece8cd[_0x1ed3e5(0x1bc)](_0x1ed3e5(0x254));}),this[_0x4290ae(0x24f)]?_0xece8cd[_0x4290ae(0x21e)](_0x4290ae(0x254)):_0xece8cd[_0x4290ae(0x1bc)](_0x4290ae(0x254)),this[_0x4290ae(0x24b)](_0x4290ae(0x18b),!0x1);}async[_0x6ea34b(0x1d8)](){const _0x4de0ac=_0x6ea34b,_0x4caa01=this[_0x4de0ac(0x16d)][_0x4de0ac(0x1de)][_0x4de0ac(0x19f)](_0x429af9),_0x38dc78=this[_0x4de0ac(0x16d)][_0x4de0ac(0x1de)][_0x4de0ac(0x19f)](_0x2e1b06);try{this[_0x4de0ac(0x181)]=!0x0,_0x4caa01[_0x4de0ac(0x1f7)](this[_0x4de0ac(0x1fe)]);const _0x193de1=await this[_0x4de0ac(0x17d)][_0x4de0ac(0x1d8)](_0x38dc78[_0x4de0ac(0x1ea)],this[_0x4de0ac(0x260)]);await this[_0x4de0ac(0x21f)](_0x193de1)&&(this[_0x4de0ac(0x181)]=!0x1,this[_0x4de0ac(0x1a0)]());const _0x7266bb=await this[_0x4de0ac(0x17d)][_0x4de0ac(0x19b)]();_0x4caa01[_0x4de0ac(0x172)](this[_0x4de0ac(0x1fe)],_0x7266bb),this[_0x4de0ac(0x228)](),this[_0x4de0ac(0x18b)]=!0x0;}catch(_0x429ee5){if(function(_0x3425df){const _0x5af519=_0x4de0ac;return _0x5af519(0x1cf)===_0x3425df[_0x5af519(0x167)];}(_0x429ee5)&&this[_0x4de0ac(0x1b2)])await this[_0x4de0ac(0x176)]();else{if(function(_0x13d400){const _0x8fca22=_0x4de0ac;return _0x8fca22(0x1cd)===_0x13d400[_0x8fca22(0x167)];}(_0x429ee5)){const _0x144bf5=_0x46bc2c(this[_0x4de0ac(0x16d)][_0x4de0ac(0x1b9)],_0x4de0ac(0x1e7));this[_0x4de0ac(0x1cc)](_0x144bf5);}else{if(!(_0x429ee5 instanceof J))throw _0x429ee5;this[_0x4de0ac(0x1cc)]();}}}}[_0x6ea34b(0x208)](){const _0x3b24c3=_0x6ea34b,_0x182f64=this[_0x3b24c3(0x16d)][_0x3b24c3(0x1de)][_0x3b24c3(0x19f)](_0x2e1b06),_0x4971a6=this[_0x3b24c3(0x16d)][_0x3b24c3(0x1de)][_0x3b24c3(0x19f)](_0x429af9);this[_0x3b24c3(0x16d)][_0x3b24c3(0x1bc)](_0x3b24c3(0x1d6)),_0x4971a6[_0x3b24c3(0x255)][_0x3b24c3(0x173)](this[_0x3b24c3(0x1fe)])&&_0x4971a6[_0x3b24c3(0x1f7)](this[_0x3b24c3(0x1fe)]),_0x182f64[_0x3b24c3(0x1b3)](this),this[_0x3b24c3(0x1dd)](),super[_0x3b24c3(0x208)]();}async[_0x6ea34b(0x21f)](_0x45039e){const _0x37025d=_0x6ea34b;if(this[_0x37025d(0x1b2)]!==_0x45039e[_0x37025d(0x1b2)]&&this[_0x37025d(0x223)]!==_0x45039e[_0x37025d(0x207)])throw new J();return this[_0x37025d(0x1b2)]=_0x45039e[_0x37025d(0x1b2)],this[_0x37025d(0x1ad)]([],{..._0x45039e,'wereChangesApplied':!0x1,'data':_0x45039e[_0x37025d(0x251)]},_0x37025d(0x1d8));}async[_0x6ea34b(0x1ae)](_0x40b6c0,_0x293193=!0x1){const _0x392650=_0x6ea34b,{connection:_0x257b1b}=this[_0x392650(0x16d)][_0x392650(0x1de)][_0x392650(0x19f)](_0x2e1b06);l[_0x392650(0x258)][_0x392650(0x19b)](_0x257b1b,this[_0x392650(0x1fe)])[_0x392650(0x168)](_0x5b3f46=>this[_0x392650(0x1b0)](_0x5b3f46))[_0x392650(0x22f)](_0x28a103=>{const _0x9e6222=_0x392650;this[_0x9e6222(0x252)](_0x9e6222(0x1fd),_0x28a103);}),this[_0x392650(0x210)](this[_0x392650(0x17d)],_0x392650(0x267),this[_0x392650(0x19d)][_0x392650(0x197)](this)),this[_0x392650(0x210)](this[_0x392650(0x17d)],_0x392650(0x166),(_0x3665cc,_0x3be4fb)=>{const _0x3e60e2=_0x392650;this[_0x3e60e2(0x252)](_0x3e60e2(0x23c),_0x3be4fb);}),this[_0x392650(0x210)](this[_0x392650(0x17d)],_0x392650(0x16a),()=>{const _0x1cbe3e=_0x392650;this[_0x1cbe3e(0x18b)]=!0x1;});const _0x5d5f9f=this[_0x392650(0x1e8)][_0x392650(0x21b)](_0x40b6c0);this[_0x392650(0x181)]=!0x0;const _0x52d039=await this[_0x392650(0x17d)][_0x392650(0x205)](_0x257b1b,this[_0x392650(0x246)](_0x40b6c0),_0x5d5f9f);if(this[_0x392650(0x1b2)]=_0x52d039[_0x392650(0x1b2)],_0x293193){if(!_0x52d039[_0x392650(0x1e6)])return void this[_0x392650(0x1cc)]();this[_0x392650(0x181)]=!0x1,this[_0x392650(0x1a0)](),this[_0x392650(0x204)][_0x392650(0x200)](),this[_0x392650(0x235)]=_0x52d039[_0x392650(0x224)],this[_0x392650(0x204)][_0x392650(0x1c1)]=this[_0x392650(0x235)],await this[_0x392650(0x1ad)](_0x40b6c0,_0x52d039,_0x392650(0x178));}else await this[_0x392650(0x17e)](_0x52d039,_0x40b6c0);this[_0x392650(0x228)](),this[_0x392650(0x18b)]=!0x0;}[_0x6ea34b(0x228)](){const _0x1d776e=_0x6ea34b,_0x3dffb3=this[_0x1d776e(0x16d)][_0x1d776e(0x1de)][_0x1d776e(0x19f)](_0x429af9),_0x349466=this[_0x1d776e(0x16d)][_0x1d776e(0x1de)][_0x1d776e(0x19f)](_0x326333),_0x460eef=_0x3dffb3[_0x1d776e(0x255)][_0x1d776e(0x19f)](this[_0x1d776e(0x1fe)]);_0x460eef&&_0x460eef[_0x1d776e(0x256)]>0x1?_0x349466[_0x1d776e(0x1e4)]():this[_0x1d776e(0x210)](_0x3dffb3,_0x1d776e(0x1ef)+this[_0x1d776e(0x1fe)],()=>{const _0x1df930=_0x1d776e;0x2===_0x3dffb3[_0x1df930(0x255)][_0x1df930(0x19f)](this[_0x1df930(0x1fe)])[_0x1df930(0x256)]&&_0x349466[_0x1df930(0x1e4)]();});}async[_0x6ea34b(0x19d)](_0x10e481,_0x54fecb,_0x22ab26,_0x4daa87){const _0x1f72dd=_0x6ea34b;if(!this[_0x1f72dd(0x181)]&&this[_0x1f72dd(0x1c4)][_0x1f72dd(0x1c1)]==_0x54fecb){const _0x1661bf=this[_0x1f72dd(0x1c3)](_0x22ab26,_0x4daa87);await this[_0x1f72dd(0x222)](_0x1661bf),this[_0x1f72dd(0x23a)](_0x1661bf,_0x54fecb,_0x22ab26[_0x1f72dd(0x207)])||this[_0x1f72dd(0x252)](_0x1f72dd(0x1aa));}}async[_0x6ea34b(0x176)](){const _0xc6edc6=_0x6ea34b;this[_0xc6edc6(0x1dd)]();const {locale:_0xffc6dd}=this[_0xc6edc6(0x16d)];let _0x4cd955;try{_0x4cd955=await this[_0xc6edc6(0x17d)][_0xc6edc6(0x192)]();}catch(_0xe20c41){const _0xa03cd7=_0x46bc2c(_0xffc6dd,_0xc6edc6(0x17b));return void this[_0xc6edc6(0x1cc)](_0xa03cd7);}const _0x1a16fc=_0x4cd955[_0xc6edc6(0x194)]||_0x4cd955[_0xc6edc6(0x165)];if(this[_0xc6edc6(0x223)]===_0x1a16fc[_0xc6edc6(0x207)])await this[_0xc6edc6(0x1ae)](this[_0xc6edc6(0x16d)][_0xc6edc6(0x22d)][_0xc6edc6(0x18e)][_0xc6edc6(0x229)][_0xc6edc6(0x17f)](),!0x0);else{const _0x15a0e8=_0x46bc2c(_0xffc6dd,_0xc6edc6(0x250));this[_0xc6edc6(0x1cc)](_0x15a0e8);}}[_0x6ea34b(0x1dd)](){const _0x455689=_0x6ea34b;this[_0x455689(0x17d)][_0x455689(0x177)](),this[_0x455689(0x1e1)]=[],clearTimeout(this[_0x455689(0x1f5)]),this[_0x455689(0x269)](this[_0x455689(0x17d)]);}[_0x6ea34b(0x1b0)](_0x4c7c1f){const _0x52f9b9=_0x6ea34b,_0x280edc=this[_0x52f9b9(0x16d)][_0x52f9b9(0x1de)][_0x52f9b9(0x19f)](_0x429af9);this[_0x52f9b9(0x210)](_0x280edc,_0x52f9b9(0x1ef)+this[_0x52f9b9(0x1fe)],(_0x6f95f7,{session:_0x455499})=>{const _0x3a8c1a=_0x52f9b9;if(_0x455499['id']===_0x280edc[_0x3a8c1a(0x220)]){_0x6f95f7[_0x3a8c1a(0x26d)]();const _0x27cd51=this[_0x3a8c1a(0x16d)][_0x3a8c1a(0x1de)][_0x3a8c1a(0x173)](_0x3a8c1a(0x26b))&&this[_0x3a8c1a(0x16d)][_0x3a8c1a(0x1de)][_0x3a8c1a(0x19f)](_0x3a8c1a(0x26b));let _0x1d602b=_0x455499[_0x3a8c1a(0x259)];_0x27cd51&&_0x27cd51[_0x3a8c1a(0x1ec)]&&(_0x1d602b=_0x1d602b[_0x3a8c1a(0x18a)](_0x3e5125=>_0x3a8c1a(0x25e)!==_0x3e5125)),this[_0x3a8c1a(0x16d)][_0x3a8c1a(0x1de)][_0x3a8c1a(0x19f)](_0x3a8c1a(0x1d9))[_0x3a8c1a(0x1db)](_0x1d602b,this[_0x3a8c1a(0x1fe)]);}}),_0x280edc[_0x52f9b9(0x172)](this[_0x52f9b9(0x1fe)],_0x4c7c1f);}[_0x6ea34b(0x193)](){const _0x2f64e4=_0x6ea34b,_0x2ca860=this[_0x2f64e4(0x16d)][_0x2f64e4(0x251)][_0x2f64e4(0x24b)];this[_0x2f64e4(0x16d)][_0x2f64e4(0x251)][_0x2f64e4(0x24b)]=(..._0x4ba921)=>{const _0x6f375c=_0x2f64e4;if(!_0x4ba921[_0x4ba921[_0x6f375c(0x256)]-0x1][_0x6f375c(0x175)])throw new _0x1a25cc(_0x6f375c(0x196),this);_0x2ca860[_0x6f375c(0x1b1)](this[_0x6f375c(0x16d)][_0x6f375c(0x251)],_0x4ba921);};}[_0x6ea34b(0x1a5)](){const _0x31d9ef=_0x6ea34b;this[_0x31d9ef(0x16d)][_0x31d9ef(0x251)]['on'](_0x31d9ef(0x1bb),(_0x4bc759,[_0x4db109])=>{const _0x4b2738=_0x31d9ef;if(this[_0x4b2738(0x1c4)][_0x4b2738(0x1c1)])throw new _0x1a25cc(_0x4b2738(0x1e0),this);_0x4bc759[_0x4b2738(0x242)](),this[_0x4b2738(0x1f8)]();const _0x21c55d=this[_0x4b2738(0x16d)][_0x4b2738(0x1ca)][_0x4b2738(0x19f)](_0x4b2738(0x25c)),_0x30865f=this[_0x4b2738(0x257)](_0x4db109,_0x21c55d);0x0==_0x30865f[_0x4b2738(0x256)]&&_0x30865f[_0x4b2738(0x213)](new _0x7e3616(0x0)),_0x4bc759[_0x4b2738(0x170)]=this[_0x4b2738(0x1ae)](_0x30865f)[_0x4b2738(0x168)](()=>{const _0x32b74a=_0x4b2738;this[_0x32b74a(0x16d)][_0x32b74a(0x1de)][_0x32b74a(0x19f)](_0x2e1b06)[_0x32b74a(0x245)](this),this[_0x32b74a(0x16d)][_0x32b74a(0x251)][_0x32b74a(0x203)](_0x32b74a(0x187));})[_0x4b2738(0x22f)](_0x3885cf=>this[_0x4b2738(0x252)](_0x4b2738(0x1da),_0x3885cf))[_0x4b2738(0x195)](()=>this[_0x4b2738(0x1a0)]());},{'priority':_0x31d9ef(0x263)}),this[_0x31d9ef(0x16d)]['on'](_0x31d9ef(0x20c),async(_0x305097,[_0x511646,_0x2fe20f])=>{const _0x4d8d8a=_0x31d9ef;_0x305097[_0x4d8d8a(0x242)]();const _0x5b5b08=this[_0x4d8d8a(0x16d)][_0x4d8d8a(0x22d)][_0x4d8d8a(0x18e)][_0x4d8d8a(0x25b)](_0x511646);if(!this[_0x4d8d8a(0x232)][_0x4d8d8a(0x173)](_0x511646)){const _0x340ac7=_0x2fe20f&&_0x2fe20f[_0x4d8d8a(0x251)]?_0x2fe20f[_0x4d8d8a(0x251)]:'',_0x241f17=_0x2fe20f&&_0x2fe20f[_0x4d8d8a(0x1d0)]?_0x2fe20f[_0x4d8d8a(0x1d0)]:{};await this[_0x4d8d8a(0x253)](_0x511646,_0x340ac7,_0x241f17);}this[_0x4d8d8a(0x16d)][_0x4d8d8a(0x22d)][_0x4d8d8a(0x1e3)]({'isUndoable':!0x1},()=>{const _0x3ca3ea=_0x4d8d8a;_0x5b5b08[_0x3ca3ea(0x1a3)]=!0x0,this[_0x3ca3ea(0x16d)][_0x3ca3ea(0x22d)][_0x3ca3ea(0x18e)][_0x3ca3ea(0x20b)][_0x3ca3ea(0x249)](_0x5b5b08);});},{'priority':_0x31d9ef(0x263)});}async[_0x6ea34b(0x222)](_0x2efd9e){const _0x3fdf6c=_0x6ea34b,_0x5cf05d=this[_0x3fdf6c(0x16d)][_0x3fdf6c(0x1de)][_0x3fdf6c(0x19f)](_0x27ec6b),{connection:_0x2aec41}=this[_0x3fdf6c(0x16d)][_0x3fdf6c(0x1de)][_0x3fdf6c(0x19f)](_0x2e1b06),_0x1e51a4=new Set();for(const _0x41f8dc of _0x2efd9e){const _0x412bf5=_0x41f8dc[_0x3fdf6c(0x1b5)];_0x412bf5&&!_0x5cf05d[_0x3fdf6c(0x180)](_0x412bf5)&&_0x1e51a4[_0x3fdf6c(0x247)](_0x412bf5);}if(0x0===_0x1e51a4[_0x3fdf6c(0x188)])return;const _0x1435b6=await _0x1d938d[_0x3fdf6c(0x25a)](_0x2aec41,Array[_0x3fdf6c(0x25f)](_0x1e51a4));for(const _0x122688 of _0x1435b6)_0x5cf05d[_0x3fdf6c(0x180)](_0x122688['id'])||_0x5cf05d[_0x3fdf6c(0x183)](_0x122688);}[_0x6ea34b(0x257)](_0x3786bd,_0x58b28e={}){const _0x51eacc=_0x6ea34b,_0x4bb56e=this[_0x51eacc(0x16d)][_0x51eacc(0x22d)],_0x1da79c=[];let _0x28a345=0x0;const _0x135462=_0x51eacc(0x209)==typeof _0x3786bd?{'main':_0x3786bd}:_0x3786bd;for(const _0x45e8c6 of Object[_0x51eacc(0x184)](_0x135462)){if(!this[_0x51eacc(0x1c4)][_0x51eacc(0x1f2)][_0x51eacc(0x173)](_0x45e8c6))throw new _0x1a25cc(_0x51eacc(0x216),this);const _0x10a51e=this[_0x51eacc(0x16d)][_0x51eacc(0x251)][_0x51eacc(0x1ee)](_0x135462[_0x45e8c6]),_0x108e71=this[_0x51eacc(0x1c4)][_0x51eacc(0x25b)](_0x45e8c6),_0x24974b=new _0x3d873e(_0x4bb56e[_0x51eacc(0x266)](_0x108e71,0x0),_0x10a51e,_0x28a345++);_0x1da79c[_0x51eacc(0x213)](_0x24974b);for(const [_0x5adfcc,_0x106726]of _0x10a51e[_0x51eacc(0x1c8)]){const _0x42260c=_0x4bb56e[_0x51eacc(0x262)](_0x4bb56e[_0x51eacc(0x1fa)](_0x108e71,_0x106726[_0x51eacc(0x20d)][_0x51eacc(0x225)][_0x51eacc(0x1fc)]()),_0x4bb56e[_0x51eacc(0x1fa)](_0x108e71,_0x106726[_0x51eacc(0x1af)][_0x51eacc(0x225)][_0x51eacc(0x1fc)]())),_0x453ef3=new _0x2a381c(_0x5adfcc,null,_0x42260c,_0x4bb56e[_0x51eacc(0x1c8)],!0x0,_0x28a345++);_0x1da79c[_0x51eacc(0x213)](_0x453ef3);}}if(_0x58b28e)for(const [_0x38f312,_0xa4f292]of Object[_0x51eacc(0x18c)](_0x58b28e)){const _0x3c2830=_0x4bb56e[_0x51eacc(0x18e)][_0x51eacc(0x25b)](_0x38f312);if(!_0x3c2830)throw new _0x1a25cc(_0x51eacc(0x201),null);for(const [_0x3fe1a8,_0x333d1b]of Object[_0x51eacc(0x18c)](_0xa4f292))if(null!==_0x333d1b){const _0x10874c=new _0x4f77ee(_0x3c2830,_0x3fe1a8,null,_0x333d1b,_0x28a345++);_0x1da79c[_0x51eacc(0x213)](_0x10874c);}}return _0x1da79c;}async[_0x6ea34b(0x253)](_0x4f7785,_0x1abc54,_0x3481d4){const _0x342bb8=_0x6ea34b;this[_0x342bb8(0x257)]({[_0x4f7785]:_0x1abc54},{[_0x4f7785]:_0x3481d4})[_0x342bb8(0x268)]((_0x490c3c,_0x393807)=>{const _0x1a0710=_0x342bb8;_0x490c3c[_0x1a0710(0x179)]=this[_0x1a0710(0x1c4)][_0x1a0710(0x1c1)]+_0x393807,_0x490c3c[_0x1a0710(0x261)]=!0x0,this[_0x1a0710(0x16b)](_0x490c3c);}),this[_0x342bb8(0x226)](),await this[_0x342bb8(0x1cb)]();}async[_0x6ea34b(0x17e)](_0xe06450,_0x1e546b){const _0x44b299=_0x6ea34b;let _0x5acb12;this[_0x44b299(0x235)]=_0xe06450[_0x44b299(0x224)];const _0x10f633=_0xe06450[_0x44b299(0x1e6)]&&!_0xe06450[_0x44b299(0x1dc)],_0x2b05eb=_0x10f633?0x0:_0xe06450[_0x44b299(0x251)][_0x44b299(0x179)];if(_0x1e546b[_0x44b299(0x268)](_0x39260e=>{const _0x275478=_0x44b299;_0x39260e[_0x275478(0x261)]=!0x0,_0x39260e[_0x275478(0x1b7)]=_0xe06450[_0x275478(0x248)],_0x39260e[_0x275478(0x1b5)]=null;}),_0x10f633)_0x5acb12=_0x1e546b,this[_0x44b299(0x244)](_0x5acb12,_0x10f633);else{if(_0xe06450[_0x44b299(0x1dc)]){const _0x5100a3=this[_0x44b299(0x257)](_0xe06450[_0x44b299(0x1dc)]);this[_0x44b299(0x1c4)][_0x44b299(0x229)][_0x44b299(0x1c1)]=-_0x5100a3[_0x44b299(0x256)],_0x5100a3[_0x44b299(0x268)](_0x11f955=>{const _0x5b2a99=_0x44b299;_0x11f955[_0x5b2a99(0x179)]-=_0x5100a3[_0x5b2a99(0x256)],_0x11f955[_0x5b2a99(0x1b7)]=_0xe06450[_0x5b2a99(0x248)],_0x11f955[_0x5b2a99(0x261)]=!0x0,_0x11f955[_0x5b2a99(0x1b5)]=null;}),this[_0x44b299(0x244)](_0x5100a3,!0x0),this[_0x44b299(0x204)][_0x44b299(0x1c1)]=-_0x5100a3[_0x44b299(0x256)]+this[_0x44b299(0x235)],this[_0x44b299(0x185)](_0x5100a3);}this[_0x44b299(0x1c4)][_0x44b299(0x229)][_0x44b299(0x1c1)]=_0x2b05eb,_0x5acb12=this[_0x44b299(0x1c3)](_0xe06450[_0x44b299(0x251)],_0xe06450[_0x44b299(0x239)]),await this[_0x44b299(0x222)](_0x5acb12),this[_0x44b299(0x244)](_0x5acb12,_0x10f633);}_0xe06450[_0x44b299(0x207)]&&(this[_0x44b299(0x1e8)][_0x44b299(0x23b)](_0x5acb12,_0xe06450[_0x44b299(0x207)]),this[_0x44b299(0x223)]=_0xe06450[_0x44b299(0x207)]),this[_0x44b299(0x204)][_0x44b299(0x1c1)]=_0x2b05eb+this[_0x44b299(0x235)],this[_0x44b299(0x185)](_0x5acb12),_0x1e546b[_0x44b299(0x18a)](_0x3e5c00=>{const _0x46c8d8=_0x44b299,_0x2c5ca2=this[_0x46c8d8(0x20e)](_0x3e5c00);return _0x2c5ca2&&!this[_0x46c8d8(0x232)][_0x46c8d8(0x173)](_0x2c5ca2);})[_0x44b299(0x268)]((_0x2f7f4f,_0x2786df)=>{const _0x3dbfad=_0x44b299;_0x2f7f4f[_0x3dbfad(0x179)]=this[_0x3dbfad(0x1c4)][_0x3dbfad(0x1c1)]+_0x2786df,this[_0x3dbfad(0x16b)](_0x2f7f4f);}),this[_0x44b299(0x189)]()?(this[_0x44b299(0x1a6)]=0x0,this[_0x44b299(0x226)](!0x0),await this[_0x44b299(0x1cb)]()):(this[_0x44b299(0x181)]=!0x1,this[_0x44b299(0x1a0)]());}[_0x6ea34b(0x252)](_0x20f7c4,_0x568b83){const _0x46e055=_0x6ea34b,_0xe334cd=_0x568b83&&_0x568b83[_0x46e055(0x19c)];if(_0xe334cd&&_0xe334cd[_0x46e055(0x22b)](_0x46e055(0x19a)))throw _0x568b83;const _0x4df898=this[_0x46e055(0x16d)][_0x46e055(0x1de)][_0x46e055(0x19f)](_0x2e1b06);throw this[_0x46e055(0x181)]=!0x0,_0x4df898[_0x46e055(0x177)](),this[_0x46e055(0x16d)][_0x46e055(0x1bc)](_0x46e055(0x21a)),new _0x1a25cc(_0x20f7c4,this[_0x46e055(0x16d)],_0xe334cd?{'originalError':_0xe334cd}:void 0x0);}[_0x6ea34b(0x16b)](_0x1542c6){const _0x5a8e2b=_0x6ea34b;this[_0x5a8e2b(0x238)][_0x5a8e2b(0x173)](_0x1542c6)||(this[_0x5a8e2b(0x238)][_0x5a8e2b(0x247)](_0x1542c6),this[_0x5a8e2b(0x1e1)][_0x5a8e2b(0x213)](_0x1542c6),this[_0x5a8e2b(0x1fb)]||_0x5a8e2b(0x241)==_0x1542c6[_0x5a8e2b(0x1c2)]&&!_0x1542c6[_0x5a8e2b(0x212)]||this[_0x5a8e2b(0x1f8)]());}[_0x6ea34b(0x226)](_0x2fef0f=!0x1){const _0x5f5263=_0x6ea34b;!_0x2fef0f&&this[_0x5f5263(0x181)]||(this[_0x5f5263(0x181)]=!0x0,clearTimeout(this[_0x5f5263(0x1f5)]),this[_0x5f5263(0x1f5)]=setTimeout(()=>{const _0xfc4271=_0x5f5263;this[_0xfc4271(0x265)]()[_0xfc4271(0x168)](_0x394cf9=>{const _0x33c87f=_0xfc4271;_0x394cf9&&(this[_0x33c87f(0x1a0)](),this[_0x33c87f(0x181)]=!0x1);})[_0xfc4271(0x22f)](_0x49a0bb=>{const _0x462caa=_0xfc4271;this[_0x462caa(0x1a0)](),this[_0x462caa(0x181)]=!0x1,function(_0x11152f){const _0x4cfc1e=_0x462caa;return _0x11152f[_0x4cfc1e(0x19c)][_0x4cfc1e(0x22b)](_0x4cfc1e(0x186))||_0x11152f[_0x4cfc1e(0x19c)][_0x4cfc1e(0x22b)](_0x4cfc1e(0x191))||_0x11152f[_0x4cfc1e(0x19c)][_0x4cfc1e(0x22b)](_0x4cfc1e(0x1d4));}(_0x49a0bb)||this[_0x462caa(0x252)](_0x49a0bb[_0x462caa(0x19c)],_0x49a0bb);});},this[_0x5f5263(0x1a6)]));}[_0x6ea34b(0x1cb)](){return new Promise(_0x3a2863=>{const _0x4ef722=_0x5b24;this['on'](_0x4ef722(0x17a),()=>{_0x3a2863();});});}async[_0x6ea34b(0x265)](){const _0x30cfe9=_0x6ea34b,_0x490ac5=this[_0x30cfe9(0x16d)][_0x30cfe9(0x1de)][_0x30cfe9(0x19f)](_0x326333);if(this[_0x30cfe9(0x23f)]()&&(_0x490ac5[_0x30cfe9(0x1e4)](),this[_0x30cfe9(0x17c)]=!0x1),!this[_0x30cfe9(0x189)]())return!0x0;const _0x33d146=[...this[_0x30cfe9(0x1e1)]];for(const _0x2055d9 of _0x33d146)_0x2055d9[_0x30cfe9(0x24a)]=this[_0x30cfe9(0x1c4)][_0x30cfe9(0x229)][_0x30cfe9(0x1e9)](_0x2055d9);const _0x18e471=this[_0x30cfe9(0x1e8)][_0x30cfe9(0x21b)](_0x33d146),_0x1f7ac5=K++,_0x32c0b5=this[_0x30cfe9(0x246)](_0x33d146),_0xc30f0a=await this[_0x30cfe9(0x17d)][_0x30cfe9(0x1ac)](_0x32c0b5,_0x32c0b5[_0x30cfe9(0x179)],_0x18e471);try{return await this[_0x30cfe9(0x1ad)](_0x33d146,_0xc30f0a,_0x1f7ac5);}catch(_0x47c4da){return this[_0x30cfe9(0x252)](_0x30cfe9(0x18d),_0x47c4da);}}async[_0x6ea34b(0x1ad)](_0x345910,_0x129930,_0x2617e1){const _0x5e94db=_0x6ea34b;if(_0x5e94db(0x166)in _0x129930)throw _0x129930[_0x5e94db(0x166)];let _0x26cd3f=!0x1;if(_0x129930[_0x5e94db(0x1e6)]){_0x129930[_0x5e94db(0x207)]&&(this[_0x5e94db(0x223)]=_0x129930[_0x5e94db(0x207)]),this[_0x5e94db(0x1e1)]=this[_0x5e94db(0x1e1)][_0x5e94db(0x18a)](_0x2b4cea=>!_0x345910[_0x5e94db(0x1f1)](_0x2b4cea));for(const _0xb6397d of _0x345910)_0xb6397d[_0x5e94db(0x1b7)]=_0x5e94db(0x1a8)in _0x129930&&_0x129930[_0x5e94db(0x1a8)]||void 0x0;Q(_0x345910,_0x129930[_0x5e94db(0x1c1)]-_0x345910[_0x5e94db(0x256)]),this[_0x5e94db(0x185)](_0x345910);const _0x481f99=_0x345910[_0x5e94db(0x18a)](_0x4e215d=>{const _0x2442bb=_0x5e94db;if(!_0x4e215d[_0x2442bb(0x261)])return!0x1;const _0x5ecc60=this[_0x2442bb(0x20e)](_0x4e215d);return _0x5ecc60&&!this[_0x2442bb(0x232)][_0x2442bb(0x173)](_0x5ecc60);});Q(_0x481f99,this[_0x5e94db(0x1c4)][_0x5e94db(0x1c1)]),this[_0x5e94db(0x244)](_0x481f99),_0x26cd3f=!0x0,this[_0x5e94db(0x1a6)]=this[_0x5e94db(0x1df)];}else{const _0x470904=this[_0x5e94db(0x1c3)](_0x129930[_0x5e94db(0x251)],_0x129930[_0x5e94db(0x239)])[_0x5e94db(0x18a)](_0x3a5e35=>_0x3a5e35[_0x5e94db(0x179)]>=this[_0x5e94db(0x19e)]);_0x470904[_0x5e94db(0x268)](_0x1f70d4=>this[_0x5e94db(0x1b4)](_0x1f70d4)),this[_0x5e94db(0x1e1)]=this[_0x5e94db(0x1e1)][_0x5e94db(0x18a)](_0x391c06=>!_0x391c06[_0x5e94db(0x261)]||!this[_0x5e94db(0x232)][_0x5e94db(0x173)](this[_0x5e94db(0x20e)](_0x391c06))),this[_0x5e94db(0x1e1)][_0x5e94db(0x256)]&&Q(this[_0x5e94db(0x1e1)],this[_0x5e94db(0x1e1)][0x0][_0x5e94db(0x179)]),await this[_0x5e94db(0x222)](_0x470904),_0x26cd3f=this[_0x5e94db(0x23a)](_0x470904,_0x129930[_0x5e94db(0x1c1)],_0x129930[_0x5e94db(0x207)]),this[_0x5e94db(0x1a6)]=Math[_0x5e94db(0x1c7)](this[_0x5e94db(0x1a6)]/0x2);}return _0x26cd3f?!this[_0x5e94db(0x189)]()||(this[_0x5e94db(0x226)](!0x0),!0x1):this[_0x5e94db(0x252)](_0x5e94db(0x199));}[_0x6ea34b(0x23a)](_0x461816,_0x3a2a00,_0x5d099c){const _0x2592d9=_0x6ea34b;try{const _0xe7e9e8={'document':this[_0x2592d9(0x1c4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x9163aa,operationsB:_0x4f0f5a,originalOperations:_0x494b49}=_0x381f16(_0x461816,this[_0x2592d9(0x1e1)],_0xe7e9e8);Q(_0x9163aa,this[_0x2592d9(0x1c4)][_0x2592d9(0x1c1)]),Q(_0x4f0f5a,_0x3a2a00);for(const _0x37f645 of _0x9163aa){const _0x27efb5=_0x494b49[_0x2592d9(0x19f)](_0x37f645);_0x37f645[_0x2592d9(0x1b5)]=_0x27efb5?_0x27efb5[_0x2592d9(0x1b5)]:null;}_0x5d099c&&(this[_0x2592d9(0x1e8)][_0x2592d9(0x23b)](_0x461816,_0x5d099c),this[_0x2592d9(0x223)]=_0x5d099c),this[_0x2592d9(0x1e1)]=[..._0x4f0f5a],this[_0x2592d9(0x244)](_0x9163aa),this[_0x2592d9(0x185)](_0x461816);}catch(_0x17bc0b){return console[_0x2592d9(0x166)](_0x17bc0b),!0x1;}return!0x0;}[_0x6ea34b(0x244)](_0x5835f3,_0x4706df=!0x1){const _0x388822=_0x6ea34b;this[_0x388822(0x16d)][_0x388822(0x22d)][_0x388822(0x1e3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x34a9c8=>{const _0x24133d=_0x388822;for(const _0x2faa21 of _0x5835f3)this[_0x24133d(0x238)][_0x24133d(0x247)](_0x2faa21),this[_0x24133d(0x1b4)](_0x2faa21),_0x34a9c8[_0x24133d(0x1a9)][_0x24133d(0x23d)](_0x2faa21),this[_0x24133d(0x16d)][_0x24133d(0x22d)][_0x24133d(0x24c)](_0x2faa21);});}[_0x6ea34b(0x1b4)](_0x31da47){const _0x1a7010=_0x6ea34b,_0x2fc5bd=this[_0x1a7010(0x20e)](_0x31da47);_0x2fc5bd&&this[_0x1a7010(0x232)][_0x1a7010(0x247)](_0x2fc5bd);}[_0x6ea34b(0x20e)](_0x56e160){const _0x26643e=_0x6ea34b;let _0x1f5fd4,_0x2a326b;switch(_0x56e160[_0x26643e(0x1c2)]){case _0x26643e(0x21d):_0x1f5fd4=_0x56e160[_0x26643e(0x1f0)][_0x26643e(0x1ed)];break;case _0x26643e(0x241):if(_0x2a326b=_0x56e160[_0x26643e(0x1bf)],!_0x2a326b)return null;_0x1f5fd4=_0x2a326b[_0x26643e(0x1ed)];break;case _0x26643e(0x240):_0x1f5fd4=_0x56e160[_0x26643e(0x1ed)];break;case _0x26643e(0x1c9):_0x1f5fd4=_0x56e160[_0x26643e(0x217)];break;case _0x26643e(0x1d2):_0x1f5fd4=_0x56e160[_0x26643e(0x16c)][_0x26643e(0x1ed)];break;default:return null;}return _0x1f5fd4[_0x26643e(0x237)];}[_0x6ea34b(0x185)](_0x1de309){const _0x4285a1=_0x6ea34b;_0x1de309[_0x4285a1(0x268)](_0x12462f=>{const _0x3083c9=_0x4285a1,_0x354083=_0x12462f[_0x3083c9(0x215)]();_0x354083[_0x3083c9(0x1b5)]=_0x12462f[_0x3083c9(0x1b5)],_0x354083[_0x3083c9(0x261)]=!!_0x12462f[_0x3083c9(0x261)],_0x354083[_0x3083c9(0x1b7)]=_0x12462f[_0x3083c9(0x1b7)],_0x354083[_0x3083c9(0x179)]+=this[_0x3083c9(0x235)],_0x12462f[_0x3083c9(0x218)]&&this[_0x3083c9(0x1d7)][_0x3083c9(0x247)](_0x354083),this[_0x3083c9(0x204)][_0x3083c9(0x23d)](_0x354083);});}[_0x6ea34b(0x1cc)](_0x4ff014){const _0x1b5676=_0x6ea34b,_0x176308=this[_0x1b5676(0x16d)][_0x1b5676(0x1de)][_0x1b5676(0x19f)](_0x1b5676(0x1f6)),_0x18d1e8=this[_0x1b5676(0x16d)][_0x1b5676(0x1b9)];_0x4ff014||(_0x4ff014=_0x46bc2c(_0x18d1e8,_0x1b5676(0x16e))),_0x176308[_0x1b5676(0x1a2)](_0x4ff014,{'title':_0x46bc2c(_0x18d1e8,_0x1b5676(0x20a)),'namespace':_0x1b5676(0x1ab)}),this[_0x1b5676(0x1a4)]=!0x0,clearTimeout(this[_0x1b5676(0x1f5)]),this[_0x1b5676(0x1e1)]=[],this[_0x1b5676(0x16d)][_0x1b5676(0x1de)][_0x1b5676(0x19f)](_0x2e1b06)[_0x1b5676(0x177)]();}[_0x6ea34b(0x1f8)](){const _0x11feee=_0x6ea34b;this[_0x11feee(0x1fb)]||(this[_0x11feee(0x1fb)]=this[_0x11feee(0x16d)][_0x11feee(0x1de)][_0x11feee(0x19f)](_0x441889)[_0x11feee(0x247)](_0x46bc2c(this[_0x11feee(0x16d)][_0x11feee(0x1b9)],_0x11feee(0x233))));}[_0x6ea34b(0x1a0)](){const _0x1c49ab=_0x6ea34b;this[_0x1c49ab(0x1fb)]&&(this[_0x1c49ab(0x16d)][_0x1c49ab(0x1de)][_0x1c49ab(0x19f)](_0x441889)[_0x1c49ab(0x1ff)](this[_0x1c49ab(0x1fb)]),this[_0x1c49ab(0x1fb)]=null);}[_0x6ea34b(0x246)](_0x542942){const _0x1c00b8=_0x6ea34b,_0x4c4154=_0x542942[_0x1c00b8(0x206)](_0x421e70=>_0x421e70[_0x1c00b8(0x198)]());return this[_0x1c00b8(0x169)][_0x1c00b8(0x214)](_0x4c4154);}[_0x6ea34b(0x1c3)](_0x5d954c,_0x48b3a2){const _0x2b1f9b=_0x6ea34b;return this[_0x2b1f9b(0x169)][_0x2b1f9b(0x236)](_0x5d954c)[_0x2b1f9b(0x206)]((_0xa60c9a,_0x5b05fa)=>{const _0x19a8ad=_0x2b1f9b,_0x3b035e=_0x19a8ad(0x1bb)==_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1c2)];if(_0x19a8ad(0x243)==_0xa60c9a[_0x19a8ad(0x1a7)]){const _0x4d9db6=_0xa60c9a[_0x19a8ad(0x1f0)][_0x19a8ad(0x1ed)];!this[_0x19a8ad(0x1c4)][_0x19a8ad(0x25b)](_0x4d9db6)&&(this[_0x19a8ad(0x1c4)][_0x19a8ad(0x231)](_0x19a8ad(0x22a),_0x4d9db6)[_0x19a8ad(0x21c)]=!0x1);}const _0x183bfe=_0x3a5ee9[_0x19a8ad(0x1e5)](_0xa60c9a,this[_0x19a8ad(0x1c4)]);return _0x183bfe[_0x19a8ad(0x24a)]=_0xa60c9a[_0x19a8ad(0x24a)],_0x183bfe[_0x19a8ad(0x261)]=_0x3b035e,_0x183bfe[_0x19a8ad(0x1b5)]=_0x3b035e?null:_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1f9)],_0x183bfe[_0x19a8ad(0x218)]=_0x19a8ad(0x24d)===_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1c2)],_0x183bfe[_0x19a8ad(0x1b7)]=_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1b7)],_0x183bfe;});}[_0x6ea34b(0x1ce)](){const _0x4fdc36=_0x6ea34b;this[_0x4fdc36(0x17c)]=!0x0,this[_0x4fdc36(0x23f)]()?this[_0x4fdc36(0x226)]():this[_0x4fdc36(0x17c)]=!0x1;}[_0x6ea34b(0x23f)](){const _0x1a8a26=_0x6ea34b,_0x3570e0=this[_0x1a8a26(0x16d)][_0x1a8a26(0x1de)][_0x1a8a26(0x19f)](_0x429af9)[_0x1a8a26(0x255)][_0x1a8a26(0x19f)](this[_0x1a8a26(0x1fe)]);return!this[_0x1a8a26(0x16d)][_0x1a8a26(0x190)]&&!!_0x3570e0&&_0x3570e0[_0x1a8a26(0x256)]>0x1&&this[_0x1a8a26(0x17c)];}[_0x6ea34b(0x189)](){const _0x1f4b94=_0x6ea34b;return this[_0x1f4b94(0x1e1)][_0x1f4b94(0x256)]>0x0||this[_0x1f4b94(0x23f)]();}}function _0x5b24(_0x54d04c,_0xf62cab){const _0x20c09e=_0x20c0();return _0x5b24=function(_0x5b2467,_0x1b9011){_0x5b2467=_0x5b2467-0x165;let _0xc96bdf=_0x20c09e[_0x5b2467];return _0xc96bdf;},_0x5b24(_0x54d04c,_0xf62cab);}l[_0x6ea34b(0x258)]=_0x22dbf4;export default l;class J extends Error{}function Q(_0x4c9c3f,_0x2a8a50){const _0x1f85ff=_0x6ea34b;for(const _0x2b591b of _0x4c9c3f)_0x2b591b[_0x1f85ff(0x179)]=_0x2a8a50++;}class X{constructor(_0x24e981){const _0x291fa1=_0x6ea34b;this[_0x291fa1(0x1d1)]=_0x24e981,this[_0x291fa1(0x1c6)]=new WeakMap();}[_0x6ea34b(0x21b)](_0x387436){const _0xc809e6=_0x6ea34b;let _0x24463e=_0x387436[_0xc809e6(0x256)];for(;_0x24463e--;){const _0xc3d563=_0x387436[_0x24463e];if(!this[_0xc809e6(0x1d1)][_0xc809e6(0x173)](_0xc3d563)){if(!this[_0xc809e6(0x1c6)][_0xc809e6(0x173)](_0xc3d563)){const _0x44ebe0=_0x471482()[_0xc809e6(0x1fc)](0x1,0x12);this[_0xc809e6(0x1c6)][_0xc809e6(0x24b)](_0xc3d563,_0x44ebe0);}return this[_0xc809e6(0x1c6)][_0xc809e6(0x19f)](_0xc3d563);}}}[_0x6ea34b(0x23b)](_0x4943b8,_0x2e4b4b){const _0x167b18=_0x6ea34b;if(!_0x2e4b4b)return;let _0x47e3ea=_0x4943b8[_0x167b18(0x256)];for(;_0x47e3ea--;){const _0x2cbf55=_0x4943b8[_0x47e3ea];this[_0x167b18(0x1d1)][_0x167b18(0x173)](_0x2cbf55)||this[_0x167b18(0x1c6)][_0x167b18(0x24b)](_0x2cbf55,_0x2e4b4b);}}}
|
|
23
|
+
const _0x2a26a5=_0x305b;(function(_0x7f02e1,_0x43793e){const _0x3cb100=_0x305b,_0x1a883f=_0x7f02e1();while(!![]){try{const _0x1c4b40=parseInt(_0x3cb100(0xcb))/0x1+-parseInt(_0x3cb100(0x19b))/0x2*(parseInt(_0x3cb100(0xaa))/0x3)+-parseInt(_0x3cb100(0x12d))/0x4*(-parseInt(_0x3cb100(0x167))/0x5)+-parseInt(_0x3cb100(0x17f))/0x6+-parseInt(_0x3cb100(0x12f))/0x7*(parseInt(_0x3cb100(0x133))/0x8)+-parseInt(_0x3cb100(0x148))/0x9+parseInt(_0x3cb100(0x152))/0xa;if(_0x1c4b40===_0x43793e)break;else _0x1a883f['push'](_0x1a883f['shift']());}catch(_0x3bdf0c){_0x1a883f['push'](_0x1a883f['shift']());}}}(_0x4cef,0x89645));function _0x4cef(){const _0x392ea2=['keys','_fetchMissingUsers','createUserMarkerOperations','_handleReconnectionError','disableReadOnlyMode','state','entries','ready','_isPendingUpdate','createRange','path','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','mySessionId','addRootAttribute','_crash','_hasSynchronizationProblem','6otZNkq','isReadOnly','getMany','reconnection:\x20flushed\x20session','map','data','markers','channelSessions','getUser','lastDocumentSession','unregister','$root','_handleServerResponse','_bufferedOperations','removeFromReconnectionStack','catch','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_offset','isEnabled','pluginName','_sendBufferedOperations','_isEditingAllowed','sendOperations','disconnected','wasUndone','Synchronization\x20issue','document','includes','_service','version','off','initData','getRoot','342153XhRELl','end','__className','push','_decompressOperations','differ','add','_initThrowingOnDataSet','clone','setIdForTheLastOperation','selection','filter','set','rootsAttributes','change:_isPendingUpdate','Notification','roots','wereChangesApplied','cloudDocumentVersion','addRoot','isPremiumPlugin','_shouldSendUpdate','realtimecollaborationclient-init-session-connection-error','_bufferRootLoad','insert','currentDocumentSession','_operationIdentifier','_baseBufferDelay','rtc-offline','disconnect','CollaborativeEditingService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','cloud-services-internal-error:\x20Not\x20connected.','remove','_currentBufferDelay','destroy','cloudServices.bundleVersion','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','connection','isUndoneOperation','_waitUntilSynced','InsertOperation','_clearPendingAction','length','RealTimeCollaborationClient','_isDisconnection','batch','error','_authorId','_sendBufferedOperationsDelayed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','showWarning','decompress','getIdOfTheLastOperation','_handleReceivedOperations','register','_isInit','from','sessionId','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.','round','_initSessionsHandling','loadRoot','createPositionAt','_connectService','fire','_handleSendingSelectionMarkers','toJSON','plugins','change:range','_disconnectionOperations','_ignoredOperations','_compressOperations','return','_shouldSendSelectionUpdate','lastOperationAcceptedAt','operationsReceived','requires','newRange','view','size','string','reset','fromJSON','_knownOperations','_applyOperationsSet','config','_compressor','baseVersion','startsWith','directChange','compress','createPositionFromPath','model','116uJuYuj','start','104503EYVRIf','has','404','_handleInitialConnectionData','448xTgoBS','init','addToReconnectionStack','define','Permissions','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-handleserverresponse','attributes','stopListening','addOperation','userId','root','history','_hasSelectionChanged','code','createRoot','editing','realtimecollaborationclient-error','_operationToId','sessionAdd:','serverHistory','7395930ZRjRhd','locale','rootName','_sendBufferedOperationsDelayId','_addKnownRoot','_isLoaded','suppressErrorInCollaboration','rtc-destroyed','_disconnectService','createdAt','36221870DhIqUn','high','_updateServerHistory','message','reconnect','_lastSyncedOperationId','collaboration.channelId','offset','_isConnected','getDocumentDetails','editor','addUser','_getOperationsFromInitData','permissions','multi-root-editor-root-attributes-no-root','cs:removeUser','CommentsOnly','targetPosition','apply','applyOperation','sessionCreatedAt','42045PFASKD','realtimecollaborationclient-init-connection-failed','_isAttached','enableReadOnlyMode','bind','_document','realtimecollaborationclient-init-service-incorrect-server-operation','change:hasDomSelection','_handleExternalOperations','_pendingAction','_connectAfterSessionHasBeenFlushed','_loadRoot','forEach','_saveOperationInBuffer','409','type','getOperations','_setUpDataInit','affectsData','_getAffectedRoot','isOfficialPlugin','parse','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-service-internal-error','6047760MXNBdu','getOperationAuthor','lastSyncVersion','_knownRootNames','lastOperationId','connected','realtimecollaborationclient-sendbufferedoperations','setPermissions','PENDING_ACTION_SENDING_DATA','affectedSelectable','connect','enqueueChange','_channelId','listenTo','getConnectedSessions','finally','get','real-time-collaboration','stop','isDocumentOperation','_lastServerVersion','position','move','_handleReconnectionResponse','document:write','metadata','realtimecollaborationclient','marker','979690aWyaJK','slice','_setPendingAction','collaboration','_refreshUserSelectionMarkers'];_0x4cef=function(){return _0x392ea2;};return _0x4cef();}function _0x305b(_0x792a93,_0x9bcce3){const _0x4cef8f=_0x4cef();return _0x305b=function(_0x305b7f,_0x58060a){_0x305b7f=_0x305b7f-0x9a;let _0x2b1ab7=_0x4cef8f[_0x305b7f];return _0x2b1ab7;},_0x305b(_0x792a93,_0x9bcce3);}import{Plugin as _0xbea8ee,PendingActions as _0xe8d8cc}from'ckeditor5/src/core.js';import{CKEditorError as _0x413a0a,version as _0x4de8a9,uid as _0x5cb80c}from'ckeditor5/src/utils.js';import{Notification as _0x4059e8}from'ckeditor5/src/ui.js';import{transformSets as _0x17f89a,NoOperation as _0x1b2699,InsertOperation as _0x47829d,MarkerOperation as _0x3356d3,RootAttributeOperation as _0x3a4561,OperationFactory as _0x322065,History as _0x18e798}from'ckeditor5/src/engine.js';import _0x1e87a2 from'./websocketgateway.js';import _0xa885ba from'./sessions.js';import _0x4b407c from'./usermarkers.js';import{getTranslation as _0x4cb707}from'../common-translations.js';import{Compressor as _0x219b79}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x251494}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x55a5ab,CollaborativeEditingService as _0xee7362}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0xbea8ee{static get[_0x2a26a5(0x11c)](){return[_0x1e87a2,_0xa885ba,_0x4b407c,_0xe8d8cc,_0x251494,_0x4059e8];}static get[_0x2a26a5(0xbd)](){const _0x1dbc0d=_0x2a26a5;return _0x1dbc0d(0xf9);}static get[_0x2a26a5(0x17b)](){return!0x0;}static get[_0x2a26a5(0xdf)](){return!0x0;}get[_0x2a26a5(0xdd)](){const _0x2dd212=_0x2a26a5;return this[_0x2dd212(0x193)]+this[_0x2dd212(0xbb)];}get[_0x2a26a5(0x193)](){const _0x45da1a=_0x2a26a5;return this[_0x45da1a(0x147)][_0x45da1a(0xc7)]-this[_0x45da1a(0xbb)];}get[_0x2a26a5(0x181)](){const _0x1d5eb2=_0x2a26a5,_0x14ddb5=this[_0x1d5eb2(0x147)][_0x1d5eb2(0x177)]();for(let _0x19aaeb=_0x14ddb5[_0x1d5eb2(0xf8)]-0x1;_0x19aaeb>=0x0;_0x19aaeb--){const _0x585718=_0x14ddb5[_0x19aaeb];if(!this[_0x1d5eb2(0x115)][_0x1d5eb2(0x130)](_0x585718))return _0x585718[_0x1d5eb2(0x127)]+0x1-this[_0x1d5eb2(0xbb)];}return 0x0;}constructor(_0xbec1e6){const _0x108ab2=_0x2a26a5;if(super(_0xbec1e6),this[_0x108ab2(0xbb)]=0x0,this[_0x108ab2(0x109)]=null,this[_0x108ab2(0x147)]=new _0x18e798(),this[_0x108ab2(0x15c)][_0x108ab2(0x125)][_0x108ab2(0x136)](_0x108ab2(0x19e),{}),this[_0x108ab2(0x18b)]=this[_0x108ab2(0x15c)][_0x108ab2(0x125)][_0x108ab2(0x18f)](_0x108ab2(0x158)),!this[_0x108ab2(0x18b)])throw new _0x413a0a(_0x108ab2(0xf2),this);const _0x230c80=_0xbec1e6[_0x108ab2(0x125)][_0x108ab2(0x18f)](_0x108ab2(0xf0))||_0x4de8a9;this[_0x108ab2(0xc6)]=new l[(_0x108ab2(0xe9))](_0x230c80,this[_0x108ab2(0x18b)]),this[_0x108ab2(0x16c)]=this[_0x108ab2(0x15c)][_0x108ab2(0x12c)][_0x108ab2(0xc4)],this[_0x108ab2(0x126)]=new _0x219b79(),this[_0x108ab2(0xb7)]=[],this[_0x108ab2(0x123)]=new WeakSet(),this[_0x108ab2(0x182)]=new Set(),this[_0x108ab2(0xd7)](_0x108ab2(0xa2),!0x1),this[_0x108ab2(0xd7)](_0x108ab2(0xa9),!0x1),this[_0x108ab2(0x170)]=null,this[_0x108ab2(0x140)]=!0x1,this[_0x108ab2(0x14b)]=null,this[_0x108ab2(0xe6)]=0x12c,this[_0x108ab2(0xee)]=this[_0x108ab2(0xe6)],this[_0x108ab2(0x157)]=null,this[_0x108ab2(0x115)]=new WeakSet(),this[_0x108ab2(0xe5)]=new X(this[_0x108ab2(0x115)]);}[_0x2a26a5(0x134)](){const _0x3f5e3b=_0x2a26a5,_0x14e774=this[_0x3f5e3b(0x15c)],_0x4f37ac=_0x14e774[_0x3f5e3b(0x113)][_0x3f5e3b(0x18f)](_0x251494),_0x443942=_0x14e774[_0x3f5e3b(0x113)][_0x3f5e3b(0x18f)](_0x1e87a2);this[_0x3f5e3b(0x18c)](_0x4f37ac,_0x3f5e3b(0x180),(_0x549813,_0x1cb5a2)=>{const _0x5c6a95=_0x3f5e3b,_0x43e4fd=_0x1cb5a2[0x0];_0x43e4fd[_0x5c6a95(0xfd)]&&(_0x549813[_0x5c6a95(0x118)]=_0x4f37ac[_0x5c6a95(0xb2)](_0x43e4fd[_0x5c6a95(0xfd)]),_0x549813[_0x5c6a95(0x191)]()),null===_0x43e4fd[_0x5c6a95(0xfd)]&&(_0x549813[_0x5c6a95(0x118)]=null,_0x549813[_0x5c6a95(0x191)]());},{'priority':_0x3f5e3b(0x153)}),this[_0x3f5e3b(0x18c)](_0x14e774[_0x3f5e3b(0x12c)][_0x3f5e3b(0xc4)][_0x3f5e3b(0xd5)],_0x3f5e3b(0x114),(_0x4de595,_0x242eb3)=>{const _0x57c1e5=_0x3f5e3b;_0x242eb3[_0x57c1e5(0x129)]&&this[_0x57c1e5(0x19f)]();}),this[_0x3f5e3b(0x18c)](_0x14e774[_0x3f5e3b(0x143)][_0x3f5e3b(0x11e)],_0x3f5e3b(0x16e),()=>{const _0x47a3fb=_0x3f5e3b;this[_0x47a3fb(0x19f)]();}),this[_0x3f5e3b(0xd2)](),_0x14e774[_0x3f5e3b(0x12c)]['on'](_0x3f5e3b(0x165),(_0x3e4626,_0x41f0db)=>{const _0x875c8d=_0x3f5e3b,_0x2bd09d=_0x41f0db[0x0];_0x2bd09d[_0x875c8d(0x192)]&&(this[_0x875c8d(0x174)](_0x2bd09d),this[_0x875c8d(0xe0)]()&&this[_0x875c8d(0xfe)]());}),this[_0x3f5e3b(0x178)](),this[_0x3f5e3b(0x16b)](_0x3f5e3b(0xbf))['to'](_0x443942,_0x3f5e3b(0x9f),this,_0x3f5e3b(0xa9),(_0x1438e2,_0x560423)=>_0x3f5e3b(0x184)===_0x1438e2&&!_0x560423),this['on'](_0x3f5e3b(0x101),()=>{const _0x5e6bef=_0x3f5e3b;this[_0x5e6bef(0xbf)]?_0x14e774[_0x5e6bef(0x9e)](_0x5e6bef(0xe7)):_0x14e774[_0x5e6bef(0x16a)](_0x5e6bef(0xe7));}),this[_0x3f5e3b(0xbf)]?_0x14e774[_0x3f5e3b(0x9e)](_0x3f5e3b(0xe7)):_0x14e774[_0x3f5e3b(0x16a)](_0x3f5e3b(0xe7)),this[_0x3f5e3b(0xd7)](_0x3f5e3b(0x15a),!0x1);}async[_0x2a26a5(0x156)](){const _0x4e3115=_0x2a26a5,_0x128995=this[_0x4e3115(0x15c)][_0x4e3115(0x113)][_0x4e3115(0x18f)](_0xa885ba),_0x34b5a9=this[_0x4e3115(0x15c)][_0x4e3115(0x113)][_0x4e3115(0x18f)](_0x1e87a2);try{this[_0x4e3115(0xa2)]=!0x0,_0x128995[_0x4e3115(0xb4)](this[_0x4e3115(0x18b)]);const _0x1bbf26=await this[_0x4e3115(0xc6)][_0x4e3115(0x156)](_0x34b5a9[_0x4e3115(0xf3)],this[_0x4e3115(0x181)]);await this[_0x4e3115(0x196)](_0x1bbf26)&&(this[_0x4e3115(0xa2)]=!0x1,this[_0x4e3115(0xf7)]());const _0x320a7b=await this[_0x4e3115(0xc6)][_0x4e3115(0x18d)]();_0x128995[_0x4e3115(0x106)](this[_0x4e3115(0x18b)],_0x320a7b),this[_0x4e3115(0x111)](),this[_0x4e3115(0x15a)]=!0x0;}catch(_0x18caf8){if(function(_0x20c7cc){const _0x197e6e=_0x4e3115;return _0x197e6e(0x131)===_0x20c7cc[_0x197e6e(0x141)];}(_0x18caf8)&&this[_0x4e3115(0x109)])await this[_0x4e3115(0x171)]();else{if(function(_0x3937d7){const _0x4fa87b=_0x4e3115;return _0x4fa87b(0x175)===_0x3937d7[_0x4fa87b(0x141)];}(_0x18caf8)){const _0x262fb8=_0x4cb707(this[_0x4e3115(0x15c)][_0x4e3115(0x149)],_0x4e3115(0xea));this[_0x4e3115(0x9d)](_0x262fb8);}else{if(!(_0x18caf8 instanceof J))throw _0x18caf8;this[_0x4e3115(0x9d)]();}}}}[_0x2a26a5(0xef)](){const _0x4dce68=_0x2a26a5,_0x785549=this[_0x4dce68(0x15c)][_0x4dce68(0x113)][_0x4dce68(0x18f)](_0x1e87a2),_0x2adda8=this[_0x4dce68(0x15c)][_0x4dce68(0x113)][_0x4dce68(0x18f)](_0xa885ba);this[_0x4dce68(0x15c)][_0x4dce68(0x16a)](_0x4dce68(0x14f)),_0x2adda8[_0x4dce68(0xb1)][_0x4dce68(0x130)](this[_0x4dce68(0x18b)])&&_0x2adda8[_0x4dce68(0xb4)](this[_0x4dce68(0x18b)]),_0x785549[_0x4dce68(0xb8)](this),this[_0x4dce68(0x150)](),super[_0x4dce68(0xef)]();}async[_0x2a26a5(0x196)](_0x12dd86){const _0x26f2e5=_0x2a26a5;if(this[_0x26f2e5(0x109)]!==_0x12dd86[_0x26f2e5(0x109)]&&this[_0x26f2e5(0x157)]!==_0x12dd86[_0x26f2e5(0x183)])throw new J();return this[_0x26f2e5(0x109)]=_0x12dd86[_0x26f2e5(0x109)],this[_0x26f2e5(0xb6)]([],{..._0x12dd86,'wereChangesApplied':!0x1,'data':_0x12dd86[_0x26f2e5(0xaf)]},_0x26f2e5(0x156));}async[_0x2a26a5(0x10f)](_0x1a815a,_0x469909=!0x1){const _0x1e0ae2=_0x2a26a5,{connection:_0x1a59df}=this[_0x1e0ae2(0x15c)][_0x1e0ae2(0x113)][_0x1e0ae2(0x18f)](_0x1e87a2);l[_0x1e0ae2(0xe9)][_0x1e0ae2(0x18d)](_0x1a59df,this[_0x1e0ae2(0x18b)])[_0x1e0ae2(0xeb)](_0x2ea8e5=>this[_0x1e0ae2(0x10c)](_0x2ea8e5))[_0x1e0ae2(0xb9)](_0x5017eb=>{const _0x31357a=_0x1e0ae2;this[_0x31357a(0xa8)](_0x31357a(0xe1),_0x5017eb);}),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0x11b),this[_0x1e0ae2(0x105)][_0x1e0ae2(0x16b)](this)),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0xfc),(_0x15abc2,_0x17dc9b)=>{const _0x39fce8=_0x1e0ae2;this[_0x39fce8(0xa8)](_0x39fce8(0x17e),_0x17dc9b);}),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0xc1),()=>{const _0x4b3d1e=_0x1e0ae2;this[_0x4b3d1e(0x15a)]=!0x1;});const _0x7f9d4=this[_0x1e0ae2(0xe5)][_0x1e0ae2(0x104)](_0x1a815a);this[_0x1e0ae2(0xa2)]=!0x0;const _0x3cc8d2=await this[_0x1e0ae2(0xc6)][_0x1e0ae2(0x189)](_0x1a59df,this[_0x1e0ae2(0x117)](_0x1a815a),_0x7f9d4);if(this[_0x1e0ae2(0x109)]=_0x3cc8d2[_0x1e0ae2(0x109)],_0x469909){if(!_0x3cc8d2[_0x1e0ae2(0xdc)])return void this[_0x1e0ae2(0x9d)]();this[_0x1e0ae2(0xa2)]=!0x1,this[_0x1e0ae2(0xf7)](),this[_0x1e0ae2(0x147)][_0x1e0ae2(0x121)](),this[_0x1e0ae2(0xbb)]=_0x3cc8d2[_0x1e0ae2(0x159)],this[_0x1e0ae2(0x147)][_0x1e0ae2(0xc7)]=this[_0x1e0ae2(0xbb)],await this[_0x1e0ae2(0xb6)](_0x1a815a,_0x3cc8d2,_0x1e0ae2(0xad));}else await this[_0x1e0ae2(0x132)](_0x3cc8d2,_0x1a815a);this[_0x1e0ae2(0x111)](),this[_0x1e0ae2(0x15a)]=!0x0;}[_0x2a26a5(0x111)](){const _0x11d1ae=_0x2a26a5,_0xeed7de=this[_0x11d1ae(0x15c)][_0x11d1ae(0x113)][_0x11d1ae(0x18f)](_0xa885ba),_0x4a0ec6=this[_0x11d1ae(0x15c)][_0x11d1ae(0x113)][_0x11d1ae(0x18f)](_0x4b407c),_0x54a97d=_0xeed7de[_0x11d1ae(0xb1)][_0x11d1ae(0x18f)](this[_0x11d1ae(0x18b)]);_0x54a97d&&_0x54a97d[_0x11d1ae(0xf8)]>0x1?_0x4a0ec6[_0x11d1ae(0x9c)]():this[_0x11d1ae(0x18c)](_0xeed7de,_0x11d1ae(0x146)+this[_0x11d1ae(0x18b)],()=>{const _0x454de4=_0x11d1ae;0x2===_0xeed7de[_0x454de4(0xb1)][_0x454de4(0x18f)](this[_0x454de4(0x18b)])[_0x454de4(0xf8)]&&_0x4a0ec6[_0x454de4(0x9c)]();});}async[_0x2a26a5(0x105)](_0x2754fa,_0x100a05,_0x42e004,_0x30db4b){const _0x43f9b2=_0x2a26a5;if(!this[_0x43f9b2(0xa2)]&&this[_0x43f9b2(0x16c)][_0x43f9b2(0xc7)]==_0x100a05){const _0x31d4dd=this[_0x43f9b2(0xcf)](_0x42e004,_0x30db4b);await this[_0x43f9b2(0x9b)](_0x31d4dd),this[_0x43f9b2(0x16f)](_0x31d4dd,_0x100a05,_0x42e004[_0x43f9b2(0x183)])||this[_0x43f9b2(0xa8)](_0x43f9b2(0x16d));}}async[_0x2a26a5(0x171)](){const _0x711485=_0x2a26a5;this[_0x711485(0x150)]();const {locale:_0x3a7acc}=this[_0x711485(0x15c)];let _0x1606e4;try{_0x1606e4=await this[_0x711485(0xc6)][_0x711485(0x15b)]();}catch(_0x44dc3e){const _0x4f7dad=_0x4cb707(_0x3a7acc,_0x711485(0xff));return void this[_0x711485(0x9d)](_0x4f7dad);}const _0x542803=_0x1606e4[_0x711485(0xe4)]||_0x1606e4[_0x711485(0xb3)];if(this[_0x711485(0x157)]===_0x542803[_0x711485(0x183)])await this[_0x711485(0x10f)](this[_0x711485(0x15c)][_0x711485(0x12c)][_0x711485(0xc4)][_0x711485(0x13f)][_0x711485(0x177)](),!0x0);else{const _0x4516b2=_0x4cb707(_0x3a7acc,_0x711485(0x10a));this[_0x711485(0x9d)](_0x4516b2);}}[_0x2a26a5(0x150)](){const _0x102ef5=_0x2a26a5;this[_0x102ef5(0xc6)][_0x102ef5(0xe8)](),this[_0x102ef5(0xb7)]=[],clearTimeout(this[_0x102ef5(0x14b)]),this[_0x102ef5(0x13b)](this[_0x102ef5(0xc6)]);}[_0x2a26a5(0x10c)](_0x229b37){const _0x211d13=_0x2a26a5,_0x92a025=this[_0x211d13(0x15c)][_0x211d13(0x113)][_0x211d13(0x18f)](_0xa885ba);this[_0x211d13(0x18c)](_0x92a025,_0x211d13(0x146)+this[_0x211d13(0x18b)],(_0x1925e3,{session:_0x101829})=>{const _0x19e35c=_0x211d13;if(_0x101829['id']===_0x92a025[_0x19e35c(0xa6)]){_0x1925e3[_0x19e35c(0xc8)]();const _0xf975c3=this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x130)](_0x19e35c(0x162))&&this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x18f)](_0x19e35c(0x162));let _0x4969e3=_0x101829[_0x19e35c(0x15f)];_0xf975c3&&_0xf975c3[_0x19e35c(0xbc)]&&(_0x4969e3=_0x4969e3[_0x19e35c(0xd6)](_0x702f7a=>_0x19e35c(0x197)!==_0x702f7a)),this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x18f)](_0x19e35c(0x137))[_0x19e35c(0x186)](_0x4969e3,this[_0x19e35c(0x18b)]);}}),_0x92a025[_0x211d13(0x106)](this[_0x211d13(0x18b)],_0x229b37);}[_0x2a26a5(0xd2)](){const _0x3ad90a=_0x2a26a5,_0x5bc71e=this[_0x3ad90a(0x15c)][_0x3ad90a(0xaf)][_0x3ad90a(0xd7)];this[_0x3ad90a(0x15c)][_0x3ad90a(0xaf)][_0x3ad90a(0xd7)]=(..._0x17ef92)=>{const _0x769201=_0x3ad90a;if(!_0x17ef92[_0x17ef92[_0x769201(0xf8)]-0x1][_0x769201(0x14e)])throw new _0x413a0a(_0x769201(0xa5),this);_0x5bc71e[_0x769201(0x164)](this[_0x769201(0x15c)][_0x769201(0xaf)],_0x17ef92);};}[_0x2a26a5(0x178)](){const _0x151655=_0x2a26a5;this[_0x151655(0x15c)][_0x151655(0xaf)]['on'](_0x151655(0x134),(_0x4d4136,[_0x5cd262])=>{const _0x5d6723=_0x151655;if(this[_0x5d6723(0x16c)][_0x5d6723(0xc7)])throw new _0x413a0a(_0x5d6723(0x100),this);_0x4d4136[_0x5d6723(0x191)](),this[_0x5d6723(0x19d)]();const _0x5a9c52=this[_0x5d6723(0x15c)][_0x5d6723(0x125)][_0x5d6723(0x18f)](_0x5d6723(0xd8)),_0x529ddc=this[_0x5d6723(0x15e)](_0x5cd262,_0x5a9c52);0x0==_0x529ddc[_0x5d6723(0xf8)]&&_0x529ddc[_0x5d6723(0xce)](new _0x1b2699(0x0)),_0x4d4136[_0x5d6723(0x118)]=this[_0x5d6723(0x10f)](_0x529ddc)[_0x5d6723(0xeb)](()=>{const _0x5654e6=_0x5d6723;this[_0x5654e6(0x15c)][_0x5654e6(0x113)][_0x5654e6(0x18f)](_0x1e87a2)[_0x5654e6(0x135)](this),this[_0x5654e6(0x15c)][_0x5654e6(0xaf)][_0x5654e6(0x110)](_0x5654e6(0xa1));})[_0x5d6723(0xb9)](_0x4611e9=>this[_0x5d6723(0xa8)](_0x5d6723(0x168),_0x4611e9))[_0x5d6723(0x18e)](()=>this[_0x5d6723(0xf7)]());},{'priority':_0x151655(0x153)}),this[_0x151655(0x15c)]['on'](_0x151655(0x10d),async(_0x552d6f,[_0x814ccb,_0x441ccc])=>{const _0x170e06=_0x151655;_0x552d6f[_0x170e06(0x191)]();const _0x133d8a=this[_0x170e06(0x15c)][_0x170e06(0x12c)][_0x170e06(0xc4)][_0x170e06(0xca)](_0x814ccb);if(!this[_0x170e06(0x182)][_0x170e06(0x130)](_0x814ccb)){const _0x5ef175=_0x441ccc&&_0x441ccc[_0x170e06(0xaf)]?_0x441ccc[_0x170e06(0xaf)]:'',_0xb22854=_0x441ccc&&_0x441ccc[_0x170e06(0x13a)]?_0x441ccc[_0x170e06(0x13a)]:{};await this[_0x170e06(0x172)](_0x814ccb,_0x5ef175,_0xb22854);}this[_0x170e06(0x15c)][_0x170e06(0x12c)][_0x170e06(0x18a)]({'isUndoable':!0x1},()=>{const _0x3693a1=_0x170e06;_0x133d8a[_0x3693a1(0x14d)]=!0x0,this[_0x3693a1(0x15c)][_0x3693a1(0x12c)][_0x3693a1(0xc4)][_0x3693a1(0xd0)][_0x3693a1(0xe2)](_0x133d8a);});},{'priority':_0x151655(0x153)});}async[_0x2a26a5(0x9b)](_0x100d7c){const _0xa5c222=_0x2a26a5,_0xff03ae=this[_0xa5c222(0x15c)][_0xa5c222(0x113)][_0xa5c222(0x18f)](_0x251494),{connection:_0x57ed6c}=this[_0xa5c222(0x15c)][_0xa5c222(0x113)][_0xa5c222(0x18f)](_0x1e87a2),_0x1b2312=new Set();for(const _0x5a4664 of _0x100d7c){const _0x346ea9=_0x5a4664[_0xa5c222(0xfd)];_0x346ea9&&!_0xff03ae[_0xa5c222(0xb2)](_0x346ea9)&&_0x1b2312[_0xa5c222(0xd1)](_0x346ea9);}if(0x0===_0x1b2312[_0xa5c222(0x11f)])return;const _0x375717=await _0x55a5ab[_0xa5c222(0xac)](_0x57ed6c,Array[_0xa5c222(0x108)](_0x1b2312));for(const _0x177843 of _0x375717)_0xff03ae[_0xa5c222(0xb2)](_0x177843['id'])||_0xff03ae[_0xa5c222(0x15d)](_0x177843);}[_0x2a26a5(0x15e)](_0x3e34bd,_0x284080={}){const _0x16b4ab=_0x2a26a5,_0x3db30b=this[_0x16b4ab(0x15c)][_0x16b4ab(0x12c)],_0x1f13d9=[];let _0x56349c=0x0;const _0x161fa5=_0x16b4ab(0x120)==typeof _0x3e34bd?{'main':_0x3e34bd}:_0x3e34bd;for(const _0x1eea22 of Object[_0x16b4ab(0x9a)](_0x161fa5)){if(!this[_0x16b4ab(0x16c)][_0x16b4ab(0xdb)][_0x16b4ab(0x130)](_0x1eea22))throw new _0x413a0a(_0x16b4ab(0x17d),this);const _0x53e516=this[_0x16b4ab(0x15c)][_0x16b4ab(0xaf)][_0x16b4ab(0x17c)](_0x161fa5[_0x1eea22]),_0x507765=this[_0x16b4ab(0x16c)][_0x16b4ab(0xca)](_0x1eea22),_0x1958f1=new _0x47829d(_0x3db30b[_0x16b4ab(0x10e)](_0x507765,0x0),_0x53e516,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0x1958f1);for(const [_0x4d654a,_0x22ce3c]of _0x53e516[_0x16b4ab(0xb0)]){const _0x16e363=_0x3db30b[_0x16b4ab(0xa3)](_0x3db30b[_0x16b4ab(0x12b)](_0x507765,_0x22ce3c[_0x16b4ab(0x12e)][_0x16b4ab(0xa4)][_0x16b4ab(0x19c)]()),_0x3db30b[_0x16b4ab(0x12b)](_0x507765,_0x22ce3c[_0x16b4ab(0xcc)][_0x16b4ab(0xa4)][_0x16b4ab(0x19c)]())),_0xe15640=new _0x3356d3(_0x4d654a,null,_0x16e363,_0x3db30b[_0x16b4ab(0xb0)],!0x0,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0xe15640);}}if(_0x284080)for(const [_0xf16dcb,_0x491f2f]of Object[_0x16b4ab(0xa0)](_0x284080)){const _0x52e03f=_0x3db30b[_0x16b4ab(0xc4)][_0x16b4ab(0xca)](_0xf16dcb);if(!_0x52e03f)throw new _0x413a0a(_0x16b4ab(0x160),null);for(const [_0x48e148,_0x1d7258]of Object[_0x16b4ab(0xa0)](_0x491f2f))if(null!==_0x1d7258){const _0x1e8c6d=new _0x3a4561(_0x52e03f,_0x48e148,null,_0x1d7258,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0x1e8c6d);}}return _0x1f13d9;}async[_0x2a26a5(0x172)](_0x459396,_0xed8a47,_0x54b685){const _0x3f8937=_0x2a26a5;this[_0x3f8937(0x15e)]({[_0x459396]:_0xed8a47},{[_0x459396]:_0x54b685})[_0x3f8937(0x173)]((_0x115c54,_0xcf42be)=>{const _0x987a0e=_0x3f8937;_0x115c54[_0x987a0e(0x127)]=this[_0x987a0e(0x16c)][_0x987a0e(0xc7)]+_0xcf42be,_0x115c54[_0x987a0e(0x107)]=!0x0,this[_0x987a0e(0x174)](_0x115c54);}),this[_0x3f8937(0xfe)](),await this[_0x3f8937(0xf5)]();}async[_0x2a26a5(0x132)](_0x32a433,_0x5df103){const _0x3abb23=_0x2a26a5;let _0x3a5d1b;this[_0x3abb23(0xbb)]=_0x32a433[_0x3abb23(0x159)];const _0x18cbce=_0x32a433[_0x3abb23(0xdc)]&&!_0x32a433[_0x3abb23(0xc9)],_0x38f838=_0x18cbce?0x0:_0x32a433[_0x3abb23(0xaf)][_0x3abb23(0x127)];if(_0x5df103[_0x3abb23(0x173)](_0x19d01f=>{const _0x410c20=_0x3abb23;_0x19d01f[_0x410c20(0x107)]=!0x0,_0x19d01f[_0x410c20(0x151)]=_0x32a433[_0x410c20(0x166)],_0x19d01f[_0x410c20(0xfd)]=null;}),_0x18cbce)_0x3a5d1b=_0x5df103,this[_0x3abb23(0x124)](_0x3a5d1b,_0x18cbce);else{if(_0x32a433[_0x3abb23(0xc9)]){const _0x14c2a3=this[_0x3abb23(0x15e)](_0x32a433[_0x3abb23(0xc9)]);this[_0x3abb23(0x16c)][_0x3abb23(0x13f)][_0x3abb23(0xc7)]=-_0x14c2a3[_0x3abb23(0xf8)],_0x14c2a3[_0x3abb23(0x173)](_0x25c585=>{const _0x84c09c=_0x3abb23;_0x25c585[_0x84c09c(0x127)]-=_0x14c2a3[_0x84c09c(0xf8)],_0x25c585[_0x84c09c(0x151)]=_0x32a433[_0x84c09c(0x166)],_0x25c585[_0x84c09c(0x107)]=!0x0,_0x25c585[_0x84c09c(0xfd)]=null;}),this[_0x3abb23(0x124)](_0x14c2a3,!0x0),this[_0x3abb23(0x147)][_0x3abb23(0xc7)]=-_0x14c2a3[_0x3abb23(0xf8)]+this[_0x3abb23(0xbb)],this[_0x3abb23(0x154)](_0x14c2a3);}this[_0x3abb23(0x16c)][_0x3abb23(0x13f)][_0x3abb23(0xc7)]=_0x38f838,_0x3a5d1b=this[_0x3abb23(0xcf)](_0x32a433[_0x3abb23(0xaf)],_0x32a433[_0x3abb23(0x198)]),await this[_0x3abb23(0x9b)](_0x3a5d1b),this[_0x3abb23(0x124)](_0x3a5d1b,_0x18cbce);}_0x32a433[_0x3abb23(0x183)]&&(this[_0x3abb23(0xe5)][_0x3abb23(0xd4)](_0x3a5d1b,_0x32a433[_0x3abb23(0x183)]),this[_0x3abb23(0x157)]=_0x32a433[_0x3abb23(0x183)]),this[_0x3abb23(0x147)][_0x3abb23(0xc7)]=_0x38f838+this[_0x3abb23(0xbb)],this[_0x3abb23(0x154)](_0x3a5d1b),_0x5df103[_0x3abb23(0xd6)](_0x22d60c=>{const _0x1eab81=_0x3abb23,_0x1245d4=this[_0x1eab81(0x17a)](_0x22d60c);return _0x1245d4&&!this[_0x1eab81(0x182)][_0x1eab81(0x130)](_0x1245d4);})[_0x3abb23(0x173)]((_0x2b0bb2,_0x4f6dc7)=>{const _0x4e0e43=_0x3abb23;_0x2b0bb2[_0x4e0e43(0x127)]=this[_0x4e0e43(0x16c)][_0x4e0e43(0xc7)]+_0x4f6dc7,this[_0x4e0e43(0x174)](_0x2b0bb2);}),this[_0x3abb23(0xe0)]()?(this[_0x3abb23(0xee)]=0x0,this[_0x3abb23(0xfe)](!0x0),await this[_0x3abb23(0xf5)]()):(this[_0x3abb23(0xa2)]=!0x1,this[_0x3abb23(0xf7)]());}[_0x2a26a5(0xa8)](_0x1f81a0,_0x9bfcde){const _0x3b2d09=_0x2a26a5,_0x2be450=_0x9bfcde&&_0x9bfcde[_0x3b2d09(0x155)];if(_0x2be450&&_0x2be450[_0x3b2d09(0x128)](_0x3b2d09(0x199)))throw _0x9bfcde;const _0x353251=this[_0x3b2d09(0x15c)][_0x3b2d09(0x113)][_0x3b2d09(0x18f)](_0x1e87a2);throw this[_0x3b2d09(0xa2)]=!0x0,_0x353251[_0x3b2d09(0xe8)](),this[_0x3b2d09(0x15c)][_0x3b2d09(0x16a)](_0x3b2d09(0x144)),new _0x413a0a(_0x1f81a0,this[_0x3b2d09(0x15c)],_0x2be450?{'originalError':_0x2be450}:void 0x0);}[_0x2a26a5(0x174)](_0x1618e0){const _0x32153c=_0x2a26a5;this[_0x32153c(0x123)][_0x32153c(0x130)](_0x1618e0)||(this[_0x32153c(0x123)][_0x32153c(0xd1)](_0x1618e0),this[_0x32153c(0xb7)][_0x32153c(0xce)](_0x1618e0),this[_0x32153c(0x170)]||_0x32153c(0x19a)==_0x1618e0[_0x32153c(0x176)]&&!_0x1618e0[_0x32153c(0x179)]||this[_0x32153c(0x19d)]());}[_0x2a26a5(0xfe)](_0x2a835d=!0x1){const _0x1d951c=_0x2a26a5;!_0x2a835d&&this[_0x1d951c(0xa2)]||(this[_0x1d951c(0xa2)]=!0x0,clearTimeout(this[_0x1d951c(0x14b)]),this[_0x1d951c(0x14b)]=setTimeout(()=>{const _0x3d0d8a=_0x1d951c;this[_0x3d0d8a(0xbe)]()[_0x3d0d8a(0xeb)](_0x3dc68d=>{const _0x2e0c29=_0x3d0d8a;_0x3dc68d&&(this[_0x2e0c29(0xf7)](),this[_0x2e0c29(0xa2)]=!0x1);})[_0x3d0d8a(0xb9)](_0x336259=>{const _0x3af520=_0x3d0d8a;this[_0x3af520(0xf7)](),this[_0x3af520(0xa2)]=!0x1,function(_0xcb7c34){const _0x150816=_0x3af520;return _0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xec))||_0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xba))||_0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xf1));}(_0x336259)||this[_0x3af520(0xa8)](_0x336259[_0x3af520(0x155)],_0x336259);});},this[_0x1d951c(0xee)]));}[_0x2a26a5(0xf5)](){return new Promise(_0x16d3bf=>{const _0x4876c9=_0x305b;this['on'](_0x4876c9(0xd9),()=>{_0x16d3bf();});});}async[_0x2a26a5(0xbe)](){const _0x590899=_0x2a26a5,_0x199a99=this[_0x590899(0x15c)][_0x590899(0x113)][_0x590899(0x18f)](_0x4b407c);if(this[_0x590899(0x119)]()&&(_0x199a99[_0x590899(0x9c)](),this[_0x590899(0x140)]=!0x1),!this[_0x590899(0xe0)]())return!0x0;const _0x152843=[...this[_0x590899(0xb7)]];for(const _0x3424a8 of _0x152843)_0x3424a8[_0x590899(0xc2)]=this[_0x590899(0x16c)][_0x590899(0x13f)][_0x590899(0xf4)](_0x3424a8);const _0x26bced=this[_0x590899(0xe5)][_0x590899(0x104)](_0x152843),_0x51ed6d=K++,_0x11ec09=this[_0x590899(0x117)](_0x152843),_0x2b19ec=await this[_0x590899(0xc6)][_0x590899(0xc0)](_0x11ec09,_0x11ec09[_0x590899(0x127)],_0x26bced);try{return await this[_0x590899(0xb6)](_0x152843,_0x2b19ec,_0x51ed6d);}catch(_0x1dd7c7){return this[_0x590899(0xa8)](_0x590899(0x185),_0x1dd7c7);}}async[_0x2a26a5(0xb6)](_0x4e01eb,_0x569e7e,_0x43c0c1){const _0xcc899f=_0x2a26a5;if(_0xcc899f(0xfc)in _0x569e7e)throw _0x569e7e[_0xcc899f(0xfc)];let _0x50fc9e=!0x1;if(_0x569e7e[_0xcc899f(0xdc)]){_0x569e7e[_0xcc899f(0x183)]&&(this[_0xcc899f(0x157)]=_0x569e7e[_0xcc899f(0x183)]),this[_0xcc899f(0xb7)]=this[_0xcc899f(0xb7)][_0xcc899f(0xd6)](_0x132eef=>!_0x4e01eb[_0xcc899f(0xc5)](_0x132eef));for(const _0x265310 of _0x4e01eb)_0x265310[_0xcc899f(0x151)]=_0xcc899f(0x11a)in _0x569e7e&&_0x569e7e[_0xcc899f(0x11a)]||void 0x0;Q(_0x4e01eb,_0x569e7e[_0xcc899f(0xc7)]-_0x4e01eb[_0xcc899f(0xf8)]),this[_0xcc899f(0x154)](_0x4e01eb);const _0x1d5968=_0x4e01eb[_0xcc899f(0xd6)](_0x16bc58=>{const _0x38fcca=_0xcc899f;if(!_0x16bc58[_0x38fcca(0x107)])return!0x1;const _0x1c102d=this[_0x38fcca(0x17a)](_0x16bc58);return _0x1c102d&&!this[_0x38fcca(0x182)][_0x38fcca(0x130)](_0x1c102d);});Q(_0x1d5968,this[_0xcc899f(0x16c)][_0xcc899f(0xc7)]),this[_0xcc899f(0x124)](_0x1d5968),_0x50fc9e=!0x0,this[_0xcc899f(0xee)]=this[_0xcc899f(0xe6)];}else{const _0x18142f=this[_0xcc899f(0xcf)](_0x569e7e[_0xcc899f(0xaf)],_0x569e7e[_0xcc899f(0x198)])[_0xcc899f(0xd6)](_0x7b1299=>_0x7b1299[_0xcc899f(0x127)]>=this[_0xcc899f(0x193)]);_0x18142f[_0xcc899f(0x173)](_0x1748af=>this[_0xcc899f(0x14c)](_0x1748af)),this[_0xcc899f(0xb7)]=this[_0xcc899f(0xb7)][_0xcc899f(0xd6)](_0x293fd4=>!_0x293fd4[_0xcc899f(0x107)]||!this[_0xcc899f(0x182)][_0xcc899f(0x130)](this[_0xcc899f(0x17a)](_0x293fd4))),this[_0xcc899f(0xb7)][_0xcc899f(0xf8)]&&Q(this[_0xcc899f(0xb7)],this[_0xcc899f(0xb7)][0x0][_0xcc899f(0x127)]),await this[_0xcc899f(0x9b)](_0x18142f),_0x50fc9e=this[_0xcc899f(0x16f)](_0x18142f,_0x569e7e[_0xcc899f(0xc7)],_0x569e7e[_0xcc899f(0x183)]),this[_0xcc899f(0xee)]=Math[_0xcc899f(0x10b)](this[_0xcc899f(0xee)]/0x2);}return _0x50fc9e?!this[_0xcc899f(0xe0)]()||(this[_0xcc899f(0xfe)](!0x0),!0x1):this[_0xcc899f(0xa8)](_0xcc899f(0x139));}[_0x2a26a5(0x16f)](_0x18b374,_0x216134,_0x5cba91){const _0x87284d=_0x2a26a5;try{const _0x271cf2={'document':this[_0x87284d(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5620f8,operationsB:_0x32b0de,originalOperations:_0x4ecec6}=_0x17f89a(_0x18b374,this[_0x87284d(0xb7)],_0x271cf2);Q(_0x5620f8,this[_0x87284d(0x16c)][_0x87284d(0xc7)]),Q(_0x32b0de,_0x216134);for(const _0x41e400 of _0x5620f8){const _0x462c34=_0x4ecec6[_0x87284d(0x18f)](_0x41e400);_0x41e400[_0x87284d(0xfd)]=_0x462c34?_0x462c34[_0x87284d(0xfd)]:null;}_0x5cba91&&(this[_0x87284d(0xe5)][_0x87284d(0xd4)](_0x18b374,_0x5cba91),this[_0x87284d(0x157)]=_0x5cba91),this[_0x87284d(0xb7)]=[..._0x32b0de],this[_0x87284d(0x124)](_0x5620f8),this[_0x87284d(0x154)](_0x18b374);}catch(_0x1eade0){return console[_0x87284d(0xfc)](_0x1eade0),!0x1;}return!0x0;}[_0x2a26a5(0x124)](_0x238372,_0x2e9ad8=!0x1){const _0x2be1d5=_0x2a26a5;this[_0x2be1d5(0x15c)][_0x2be1d5(0x12c)][_0x2be1d5(0x18a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1fe744=>{const _0x3c7120=_0x2be1d5;for(const _0x4c07f6 of _0x238372)this[_0x3c7120(0x123)][_0x3c7120(0xd1)](_0x4c07f6),this[_0x3c7120(0x14c)](_0x4c07f6),_0x1fe744[_0x3c7120(0xfb)][_0x3c7120(0x13c)](_0x4c07f6),this[_0x3c7120(0x15c)][_0x3c7120(0x12c)][_0x3c7120(0x165)](_0x4c07f6);});}[_0x2a26a5(0x14c)](_0x45f6fb){const _0x566054=_0x2a26a5,_0x4ba06f=this[_0x566054(0x17a)](_0x45f6fb);_0x4ba06f&&this[_0x566054(0x182)][_0x566054(0xd1)](_0x4ba06f);}[_0x2a26a5(0x17a)](_0x5426d0){const _0x14840b=_0x2a26a5;let _0x234aab,_0x2dbb59;switch(_0x5426d0[_0x14840b(0x176)]){case _0x14840b(0xe3):_0x234aab=_0x5426d0[_0x14840b(0x194)][_0x14840b(0x13e)];break;case _0x14840b(0x19a):if(_0x2dbb59=_0x5426d0[_0x14840b(0x11d)],!_0x2dbb59)return null;_0x234aab=_0x2dbb59[_0x14840b(0x13e)];break;case _0x14840b(0xa7):_0x234aab=_0x5426d0[_0x14840b(0x13e)];break;case _0x14840b(0xde):_0x234aab=_0x5426d0[_0x14840b(0x188)];break;case _0x14840b(0x195):_0x234aab=_0x5426d0[_0x14840b(0x163)][_0x14840b(0x13e)];break;default:return null;}return _0x234aab[_0x14840b(0x14a)];}[_0x2a26a5(0x154)](_0x3c0820){const _0x533f15=_0x2a26a5;_0x3c0820[_0x533f15(0x173)](_0x54bf52=>{const _0x3157d8=_0x533f15,_0x1e6bfa=_0x54bf52[_0x3157d8(0xd3)]();_0x1e6bfa[_0x3157d8(0xfd)]=_0x54bf52[_0x3157d8(0xfd)],_0x1e6bfa[_0x3157d8(0x107)]=!!_0x54bf52[_0x3157d8(0x107)],_0x1e6bfa[_0x3157d8(0x151)]=_0x54bf52[_0x3157d8(0x151)],_0x1e6bfa[_0x3157d8(0x127)]+=this[_0x3157d8(0xbb)],_0x54bf52[_0x3157d8(0xfa)]&&this[_0x3157d8(0x115)][_0x3157d8(0xd1)](_0x1e6bfa),this[_0x3157d8(0x147)][_0x3157d8(0x13c)](_0x1e6bfa);});}[_0x2a26a5(0x9d)](_0x4b74d3){const _0x107d92=_0x2a26a5,_0xb82db5=this[_0x107d92(0x15c)][_0x107d92(0x113)][_0x107d92(0x18f)](_0x107d92(0xda)),_0x16e51f=this[_0x107d92(0x15c)][_0x107d92(0x149)];_0x4b74d3||(_0x4b74d3=_0x4cb707(_0x16e51f,_0x107d92(0x138))),_0xb82db5[_0x107d92(0x102)](_0x4b74d3,{'title':_0x4cb707(_0x16e51f,_0x107d92(0xc3)),'namespace':_0x107d92(0x190)}),this[_0x107d92(0xa9)]=!0x0,clearTimeout(this[_0x107d92(0x14b)]),this[_0x107d92(0xb7)]=[],this[_0x107d92(0x15c)][_0x107d92(0x113)][_0x107d92(0x18f)](_0x1e87a2)[_0x107d92(0xe8)]();}[_0x2a26a5(0x19d)](){const _0x284f70=_0x2a26a5;this[_0x284f70(0x170)]||(this[_0x284f70(0x170)]=this[_0x284f70(0x15c)][_0x284f70(0x113)][_0x284f70(0x18f)](_0xe8d8cc)[_0x284f70(0xd1)](_0x4cb707(this[_0x284f70(0x15c)][_0x284f70(0x149)],_0x284f70(0x187))));}[_0x2a26a5(0xf7)](){const _0x34eabe=_0x2a26a5;this[_0x34eabe(0x170)]&&(this[_0x34eabe(0x15c)][_0x34eabe(0x113)][_0x34eabe(0x18f)](_0xe8d8cc)[_0x34eabe(0xed)](this[_0x34eabe(0x170)]),this[_0x34eabe(0x170)]=null);}[_0x2a26a5(0x117)](_0x48e0b6){const _0x30c8e6=_0x2a26a5,_0x53964b=_0x48e0b6[_0x30c8e6(0xae)](_0x45e0f4=>_0x45e0f4[_0x30c8e6(0x112)]());return this[_0x30c8e6(0x126)][_0x30c8e6(0x12a)](_0x53964b);}[_0x2a26a5(0xcf)](_0x1ead6d,_0x32fdf8){const _0x462b9d=_0x2a26a5;return this[_0x462b9d(0x126)][_0x462b9d(0x103)](_0x1ead6d)[_0x462b9d(0xae)]((_0x5cf7c5,_0x3bcc64)=>{const _0x53605f=_0x462b9d,_0xcf9a02=_0x53605f(0x134)==_0x32fdf8[_0x3bcc64][_0x53605f(0x176)];if(_0x53605f(0xf6)==_0x5cf7c5[_0x53605f(0xcd)]){const _0x383ed5=_0x5cf7c5[_0x53605f(0x194)][_0x53605f(0x13e)];!this[_0x53605f(0x16c)][_0x53605f(0xca)](_0x383ed5)&&(this[_0x53605f(0x16c)][_0x53605f(0x142)](_0x53605f(0xb5),_0x383ed5)[_0x53605f(0x169)]=!0x1);}const _0x30c66c=_0x322065[_0x53605f(0x122)](_0x5cf7c5,this[_0x53605f(0x16c)]);return _0x30c66c[_0x53605f(0xc2)]=_0x5cf7c5[_0x53605f(0xc2)],_0x30c66c[_0x53605f(0x107)]=_0xcf9a02,_0x30c66c[_0x53605f(0xfd)]=_0xcf9a02?null:_0x32fdf8[_0x3bcc64][_0x53605f(0x13d)],_0x30c66c[_0x53605f(0xfa)]=_0x53605f(0x161)===_0x32fdf8[_0x3bcc64][_0x53605f(0x176)],_0x30c66c[_0x53605f(0x151)]=_0x32fdf8[_0x3bcc64][_0x53605f(0x151)],_0x30c66c;});}[_0x2a26a5(0x19f)](){const _0x239547=_0x2a26a5;this[_0x239547(0x140)]=!0x0,this[_0x239547(0x119)]()?this[_0x239547(0xfe)]():this[_0x239547(0x140)]=!0x1;}[_0x2a26a5(0x119)](){const _0x5b7c86=_0x2a26a5,_0xfec4ae=this[_0x5b7c86(0x15c)][_0x5b7c86(0x113)][_0x5b7c86(0x18f)](_0xa885ba)[_0x5b7c86(0xb1)][_0x5b7c86(0x18f)](this[_0x5b7c86(0x18b)]);return!this[_0x5b7c86(0x15c)][_0x5b7c86(0xab)]&&!!_0xfec4ae&&_0xfec4ae[_0x5b7c86(0xf8)]>0x1&&this[_0x5b7c86(0x140)];}[_0x2a26a5(0xe0)](){const _0x57fc04=_0x2a26a5;return this[_0x57fc04(0xb7)][_0x57fc04(0xf8)]>0x0||this[_0x57fc04(0x119)]();}}l[_0x2a26a5(0xe9)]=_0xee7362;export default l;class J extends Error{}function Q(_0x5c68d7,_0x4d4885){const _0x5740eb=_0x2a26a5;for(const _0x1f6662 of _0x5c68d7)_0x1f6662[_0x5740eb(0x127)]=_0x4d4885++;}class X{constructor(_0x1fa3e6){const _0xcadfaf=_0x2a26a5;this[_0xcadfaf(0x116)]=_0x1fa3e6,this[_0xcadfaf(0x145)]=new WeakMap();}[_0x2a26a5(0x104)](_0x133168){const _0x3b5847=_0x2a26a5;let _0x44c8d0=_0x133168[_0x3b5847(0xf8)];for(;_0x44c8d0--;){const _0x33f8ca=_0x133168[_0x44c8d0];if(!this[_0x3b5847(0x116)][_0x3b5847(0x130)](_0x33f8ca)){if(!this[_0x3b5847(0x145)][_0x3b5847(0x130)](_0x33f8ca)){const _0x194748=_0x5cb80c()[_0x3b5847(0x19c)](0x1,0x12);this[_0x3b5847(0x145)][_0x3b5847(0xd7)](_0x33f8ca,_0x194748);}return this[_0x3b5847(0x145)][_0x3b5847(0x18f)](_0x33f8ca);}}}[_0x2a26a5(0xd4)](_0x84b9ba,_0x4a0e58){const _0x3e389c=_0x2a26a5;if(!_0x4a0e58)return;let _0x48be0f=_0x84b9ba[_0x3e389c(0xf8)];for(;_0x48be0f--;){const _0x3241f6=_0x84b9ba[_0x48be0f];this[_0x3e389c(0x116)][_0x3e389c(0x130)](_0x3241f6)||this[_0x3e389c(0x145)][_0x3e389c(0xd7)](_0x3241f6,_0x4a0e58);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x20f327=_0x253c;(function(_0x29ecf8,_0x37a1be){const _0x2f8683=_0x253c,_0x561e8a=_0x29ecf8();while(!![]){try{const _0x44dfc2=-parseInt(_0x2f8683(0x130))/0x1*(parseInt(_0x2f8683(0x131))/0x2)+-parseInt(_0x2f8683(0x15b))/0x3+parseInt(_0x2f8683(0x14e))/0x4*(parseInt(_0x2f8683(0x15e))/0x5)+parseInt(_0x2f8683(0x13e))/0x6+-parseInt(_0x2f8683(0x144))/0x7+-parseInt(_0x2f8683(0x15a))/0x8*(-parseInt(_0x2f8683(0x145))/0x9)+parseInt(_0x2f8683(0x129))/0xa;if(_0x44dfc2===_0x37a1be)break;else _0x561e8a['push'](_0x561e8a['shift']());}catch(_0x46cb6f){_0x561e8a['push'](_0x561e8a['shift']());}}}(_0xa0b7,0x5ce0e));function _0x253c(_0x145886,_0x92097){const _0xa0b7ff=_0xa0b7();return _0x253c=function(_0x253c59,_0x605e36){_0x253c59=_0x253c59-0x128;let _0x13ff84=_0xa0b7ff[_0x253c59];return _0x13ff84;},_0x253c(_0x145886,_0x92097);}import{ContextPlugin as _0x2083a1}from'ckeditor5/src/core.js';function _0xa0b7(){const _0x4ab635=['_createUser','remove','63929HLbXIl','14uxWMIv','change:state','connection','channelConnectedUsers','listenTo','connected','context','state','_registeredSessions','user','getUserSessions','sessionAdd:','pluginName','2498544vlEQGU','get','delete','sessionId','unregister','forEach','3377115MHLnKt','18uSolxn','defineMe','getUserBySessionId','_uniqueUsersCount','isOfficialPlugin','_handleSessionRemove','channelSessions','clear','getUserRole','1068652iOwzYI','register','set','_handleSessionAdd','sessions-register-already-registered','orderNumber','size','isPremiumPlugin','init','stopListening','has','role','2084456YMKDTi','1069800NrRcrO','allConnectedUsers','add','10iqmQUQ','assign','requires','isMe','mySessionId','plugins','values','addUser','sessions-unregister-not-exist','1951140Pcsyou','fire','getUser','_users','Sessions'];_0xa0b7=function(){return _0x4ab635;};return _0xa0b7();}import{Collection as _0x4723cb,CKEditorError as _0x118696}from'ckeditor5/src/utils.js';import _0x18b316 from'./websocketgateway.js';import{Users as _0x5541d5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x2083a1{static get[_0x20f327(0x13d)](){const _0x5116e5=_0x20f327;return _0x5116e5(0x12d);}static get[_0x20f327(0x149)](){return!0x0;}static get[_0x20f327(0x155)](){return!0x0;}static get[_0x20f327(0x160)](){return[_0x18b316,_0x5541d5];}constructor(_0x550c26){const _0x3df099=_0x20f327;super(_0x550c26),this[_0x3df099(0x14b)]=new Map(),this[_0x3df099(0x134)]=new Map(),this[_0x3df099(0x15c)]=new _0x4723cb(),this[_0x3df099(0x139)]=new Map(),this[_0x3df099(0x148)]=0x0,this[_0x3df099(0x12c)]=this[_0x3df099(0x137)][_0x3df099(0x163)][_0x3df099(0x13f)](_0x5541d5);}[_0x20f327(0x156)](){const _0x35ea6c=_0x20f327,_0x1a8458=this[_0x35ea6c(0x137)][_0x35ea6c(0x163)][_0x35ea6c(0x13f)](_0x18b316);this[_0x35ea6c(0x135)](_0x1a8458,_0x35ea6c(0x132),(_0xee170f,_0x4bef6b,_0x3e13bb)=>{const _0x44315b=_0x35ea6c;if(_0x44315b(0x136)!==_0x3e13bb)this[_0x44315b(0x14b)][_0x44315b(0x143)](_0x573771=>_0x573771[_0x44315b(0x14c)]()),this[_0x44315b(0x134)][_0x44315b(0x143)](_0x42fc00=>_0x42fc00[_0x44315b(0x14c)]()),this[_0x44315b(0x15c)][_0x44315b(0x14c)]();else{for(const [_0x5e8028,_0x19adf8]of this[_0x44315b(0x139)])for(const _0x2044b0 of _0x19adf8)this[_0x44315b(0x151)](_0x5e8028,_0x2044b0);}}),this[_0x35ea6c(0x12e)](_0x1a8458[_0x35ea6c(0x133)]['me'],!0x0);}[_0x20f327(0x14f)](_0x57f7e8,_0x3de9fc){const _0x5b001a=_0x20f327;if(this[_0x5b001a(0x139)][_0x5b001a(0x158)](_0x57f7e8))throw new _0x118696(_0x5b001a(0x152),null,{'channelId':_0x57f7e8});this[_0x5b001a(0x139)][_0x5b001a(0x150)](_0x57f7e8,_0x3de9fc),this[_0x5b001a(0x14b)][_0x5b001a(0x150)](_0x57f7e8,new _0x4723cb()),this[_0x5b001a(0x134)][_0x5b001a(0x150)](_0x57f7e8,new _0x4723cb()),this[_0x5b001a(0x135)](_0x3de9fc,_0x5b001a(0x15d),(_0x420bec,_0x235b61)=>this[_0x5b001a(0x151)](_0x57f7e8,_0x235b61)),this[_0x5b001a(0x135)](_0x3de9fc,_0x5b001a(0x12f),(_0x375250,_0x5f0308)=>this[_0x5b001a(0x14a)](_0x57f7e8,_0x5f0308));for(const _0x502080 of _0x3de9fc)this[_0x5b001a(0x151)](_0x57f7e8,_0x502080);}[_0x20f327(0x142)](_0x213a44){const _0x4c44ab=_0x20f327;if(!this[_0x4c44ab(0x139)][_0x4c44ab(0x158)](_0x213a44))throw new _0x118696(_0x4c44ab(0x128),null,{'channelId':_0x213a44});const _0x36fc67=this[_0x4c44ab(0x139)][_0x4c44ab(0x13f)](_0x213a44);this[_0x4c44ab(0x157)](_0x36fc67);for(const _0x20ad48 of _0x36fc67)_0x4c44ab(0x136)===this[_0x4c44ab(0x137)][_0x4c44ab(0x163)][_0x4c44ab(0x13f)](_0x18b316)[_0x4c44ab(0x138)]&&this[_0x4c44ab(0x14a)](_0x213a44,_0x20ad48);this[_0x4c44ab(0x139)][_0x4c44ab(0x140)](_0x213a44),this[_0x4c44ab(0x14b)][_0x4c44ab(0x140)](_0x213a44),this[_0x4c44ab(0x134)][_0x4c44ab(0x140)](_0x213a44);}get[_0x20f327(0x162)](){const _0x5d500e=_0x20f327;return this[_0x5d500e(0x137)][_0x5d500e(0x163)][_0x5d500e(0x13f)](_0x18b316)[_0x5d500e(0x133)][_0x5d500e(0x141)];}[_0x20f327(0x147)](_0x500c23){const _0x36fae1=_0x20f327;for(const _0x42b0ba of this[_0x36fae1(0x14b)][_0x36fae1(0x164)]())for(const _0x1213be of _0x42b0ba)if(_0x1213be['id']===_0x500c23)return _0x1213be[_0x36fae1(0x13a)];}[_0x20f327(0x13b)](_0x45721c,_0x4c335b){const _0x14008f=_0x20f327,_0x12e0d6=_0x4c335b?[this[_0x14008f(0x14b)][_0x14008f(0x13f)](_0x4c335b)]:this[_0x14008f(0x14b)][_0x14008f(0x164)](),_0xa8652d=new Set();for(const _0x186771 of _0x12e0d6)for(const _0x120cd2 of _0x186771)_0x120cd2[_0x14008f(0x13a)]['id']===_0x45721c['id']&&_0xa8652d[_0x14008f(0x15d)](_0x120cd2['id']);return _0xa8652d;}[_0x20f327(0x14d)](_0x1de15a){const _0x3b03c1=_0x20f327;for(const _0x5ccd13 of this[_0x3b03c1(0x14b)][_0x3b03c1(0x164)]())for(const _0x494596 of _0x5ccd13)if(_0x494596[_0x3b03c1(0x13a)]===_0x1de15a)return _0x494596[_0x3b03c1(0x159)];}[_0x20f327(0x151)](_0x3d57f4,_0x59782a){const _0x1648bb=_0x20f327;if(_0x1648bb(0x136)!==this[_0x1648bb(0x137)][_0x1648bb(0x163)][_0x1648bb(0x13f)](_0x18b316)[_0x1648bb(0x138)])return;const _0x321005=_0x59782a[_0x1648bb(0x13a)],_0x3b0d77=this[_0x1648bb(0x12c)][_0x1648bb(0x12b)](_0x321005['id'])||this[_0x1648bb(0x12e)](_0x321005),_0x474bae=Object[_0x1648bb(0x15f)]({},_0x59782a,{'user':_0x3b0d77});this[_0x1648bb(0x14b)][_0x1648bb(0x13f)](_0x3d57f4)[_0x1648bb(0x15d)](_0x474bae);const _0x47415a=this[_0x1648bb(0x134)][_0x1648bb(0x13f)](_0x3d57f4);_0x47415a[_0x1648bb(0x158)](_0x3b0d77['id'])||_0x47415a[_0x1648bb(0x15d)](_0x3b0d77),this[_0x1648bb(0x15c)][_0x1648bb(0x158)](_0x3b0d77['id'])||this[_0x1648bb(0x15c)][_0x1648bb(0x15d)](_0x3b0d77,_0x3b0d77[_0x1648bb(0x161)]?0x0:void 0x0),this[_0x1648bb(0x12a)](_0x1648bb(0x13c)+_0x3d57f4,{'channelId':_0x3d57f4,'session':_0x474bae});}[_0x20f327(0x14a)](_0x313fc4,_0x3da8e4){const _0x2bb92c=_0x20f327;if(_0x2bb92c(0x136)!==this[_0x2bb92c(0x137)][_0x2bb92c(0x163)][_0x2bb92c(0x13f)](_0x18b316)[_0x2bb92c(0x138)])return;const _0x3a5621=this[_0x2bb92c(0x134)][_0x2bb92c(0x13f)](_0x313fc4),_0x93c066=_0x3da8e4[_0x2bb92c(0x13a)];_0x93c066['id']&&(this[_0x2bb92c(0x14b)][_0x2bb92c(0x13f)](_0x313fc4)[_0x2bb92c(0x12f)](_0x3da8e4['id']),_0x3a5621[_0x2bb92c(0x158)](_0x93c066['id'])&&!this[_0x2bb92c(0x13b)](_0x93c066,_0x313fc4)[_0x2bb92c(0x154)]&&_0x3a5621[_0x2bb92c(0x12f)](_0x93c066['id']),this[_0x2bb92c(0x15c)][_0x2bb92c(0x13f)](_0x93c066['id'])&&!this[_0x2bb92c(0x13b)](_0x93c066)[_0x2bb92c(0x154)]&&this[_0x2bb92c(0x15c)][_0x2bb92c(0x12f)](_0x93c066['id']));}[_0x20f327(0x12e)](_0x1c85ed,_0x33b629){const _0x266d52=_0x20f327,_0x2639e8=this[_0x266d52(0x12c)][_0x266d52(0x165)](_0x1c85ed);return _0x33b629&&this[_0x266d52(0x12c)][_0x266d52(0x146)](_0x1c85ed['id']),_0x2639e8[_0x266d52(0x153)]=this[_0x266d52(0x148)]++,_0x2639e8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5af3(){const _0x455d4b=['user:range','ck-user__selection','reconvertMarker','remove','3hkEJop','startsWith','markerToElement','root','userPositionMarker','mouseleave','deletionPosition','markers','batch','editing','enqueueChange','false','document','removeMarker','105772DCaucc','conversion','user:position','applyOperation','isLimit','addEventListener','mouseenter','createElement','oldRange','hasContent','has','markerToHighlight','plugins','ck-user__marker-tooltip','4570FqGGIb','isPremiumPlugin','change','type','nodeAfter','getStart','1540035efszgz','keydown','isObject','getCustomProperty','446052bLIGGC','end','getAttribute','markerRange','commands','destroy','addMarker','pluginName','start','update:user:range','mySessionId','getNearestSelectionRange','textContent','isCollapsed','innerHTML','$graveyard','orderNumber','model','outerHTML','render','editingDowncast','for','afterInit','split','getUserBySessionId','set','editor','isDocumentOperation','1276MzJNQV','createRange','span','classList','getMarkerClass','selection','346760eYUZEo','markerName','2485mCdABp','markerNameToElements','init','isOfficialPlugin','$text','requires','change:range','user:position:','data-session-id','_createdBatches','name','isInline','_domEmitter','checkChild','createUserMarkerOperations','element','stopListening','2981XkzrbH','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','hasDomSelection','add','setCustomProperty','updateMarker','rootName','setAttribute','isSimilar','listenTo','clear','fromRange','ck-user__marker\x20','undo','contenteditable','parent','newRange','delete','getPositions','color','removeClass','getRange','view','getContainedElement','mapper','ck-user__marker_hovered','marker','detach','user:range:','tableCell','schema','toDomElement','size','spellcheck','highest','user:','createUIElement','UserMarkers','getFirstRange','toRange','89815wCNSdX','getSelectionClass','get','Escape','28UvlTtf'];_0x5af3=function(){return _0x455d4b;};return _0x5af3();}function _0x175a(_0x17bb87,_0x3fab20){const _0x5af39a=_0x5af3();return _0x175a=function(_0x175afd,_0x1bc9cd){_0x175afd=_0x175afd-0x116;let _0x5eb81e=_0x5af39a[_0x175afd];return _0x5eb81e;},_0x175a(_0x17bb87,_0x3fab20);}const _0x1d2972=_0x175a;(function(_0x2208d4,_0x317504){const _0x310b55=_0x175a,_0x281fcf=_0x2208d4();while(!![]){try{const _0x286f9e=parseInt(_0x310b55(0x160))/0x1+parseInt(_0x310b55(0x177))/0x2*(parseInt(_0x310b55(0x169))/0x3)+-parseInt(_0x310b55(0x11f))/0x4*(-parseInt(_0x310b55(0x127))/0x5)+-parseInt(_0x310b55(0x18f))/0x6+-parseInt(_0x310b55(0x164))/0x7*(-parseInt(_0x310b55(0x125))/0x8)+-parseInt(_0x310b55(0x18b))/0x9+-parseInt(_0x310b55(0x185))/0xa*(parseInt(_0x310b55(0x138))/0xb);if(_0x286f9e===_0x317504)break;else _0x281fcf['push'](_0x281fcf['shift']());}catch(_0x52fe9a){_0x281fcf['push'](_0x281fcf['shift']());}}}(_0x5af3,0x19b68));import{Plugin as _0x1692d3}from'ckeditor5/src/core.js';import{global as _0x16024e,DomEmitterMixin as _0x486352}from'ckeditor5/src/utils.js';import _0xe08b2c from'./sessions.js';import{LiveRange as _0x1570b5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1692d3{constructor(){const _0x320f02=_0x175a;super(...arguments),this[_0x320f02(0x133)]=new(_0x486352())();}static get[_0x1d2972(0x12c)](){return[_0xe08b2c];}static get[_0x1d2972(0x196)](){const _0x236ad6=_0x1d2972;return _0x236ad6(0x15d);}static get[_0x1d2972(0x12a)](){return!0x0;}static get[_0x1d2972(0x186)](){return!0x0;}[_0x1d2972(0x129)](){const _0x1c43ab=_0x1d2972,_0x2e9ded=this[_0x1c43ab(0x11d)],_0x2fa0ea=_0x2e9ded[_0x1c43ab(0x183)][_0x1c43ab(0x162)](_0xe08b2c);_0x2e9ded[_0x1c43ab(0x178)][_0x1c43ab(0x118)](_0x1c43ab(0x117))[_0x1c43ab(0x16b)]({'model':_0x1c43ab(0x179),'view':(_0x572ee1,{writer:_0x4bb734})=>function(_0x178290,_0x23eb93,_0x28083c,_0x1da830){const _0x5ba7a3=_0x1c43ab,_0x487c99=_0x178290[_0x5ba7a3(0x126)][_0x5ba7a3(0x11a)](':')[0x2],_0x3ac2ea=_0x28083c[_0x5ba7a3(0x11b)](_0x487c99);if(!_0x3ac2ea||_0x487c99===_0x28083c[_0x5ba7a3(0x199)])return;if(!_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x156)][_0x5ba7a3(0x134)](_0x178290[_0x5ba7a3(0x192)][_0x5ba7a3(0x197)],_0x5ba7a3(0x12b)))return;const _0x3a26d5={'class':_0x5ba7a3(0x144)+_0x3ac2ea[_0x5ba7a3(0x14b)][_0x5ba7a3(0x123)](),'data-name':_0x3ac2ea[_0x5ba7a3(0x131)],'data-session-id':_0x487c99},_0x47694c=_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x170)][_0x5ba7a3(0x162)](_0x178290[_0x5ba7a3(0x126)]),_0x1b42eb=_0x47694c[_0x5ba7a3(0x18a)](),_0x3a0942=_0x1b42eb[_0x5ba7a3(0x189)],_0x3ef9a=_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x156)];if(_0x3a0942&&_0x3ef9a[_0x5ba7a3(0x18d)](_0x3a0942)&&_0x3ef9a[_0x5ba7a3(0x132)](_0x3a0942)&&!_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x170)][_0x5ba7a3(0x162)](_0x5ba7a3(0x154)+_0x487c99)[_0x5ba7a3(0x14d)]()[_0x5ba7a3(0x19c)])return;const _0x38da59=_0x1b42eb[_0x5ba7a3(0x147)];return _0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x156)][_0x5ba7a3(0x17b)](_0x38da59)&&!_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x180)](_0x38da59)&&(_0x3a26d5[_0x5ba7a3(0x146)]=!0x1),function(_0x360b34,_0x2fc0bd,_0x1e83d1){const _0x282935=_0x5ba7a3,_0x1d2b99=_0x360b34[_0x282935(0x15c)](_0x282935(0x121),_0x2fc0bd);return _0x360b34[_0x282935(0x13c)](_0x282935(0x16d),!0x0,_0x1d2b99),_0x1d2b99[_0x282935(0x116)]=function(_0x1f8b17){const _0x702df2=_0x282935,_0x281781=this[_0x702df2(0x157)](_0x1f8b17),_0x3202b1=document[_0x702df2(0x17e)](_0x702df2(0x121));return _0x3202b1[_0x702df2(0x122)][_0x702df2(0x13b)](_0x702df2(0x184)),_0x3202b1[_0x702df2(0x13f)](_0x702df2(0x146),_0x702df2(0x174)),_0x3202b1[_0x702df2(0x13f)](_0x702df2(0x159),_0x702df2(0x174)),_0x3202b1[_0x702df2(0x19b)]=_0x1e83d1[_0x702df2(0x131)],_0x281781[_0x702df2(0x19d)]=_0x702df2(0x139)+_0x3202b1[_0x702df2(0x1a1)]+'',_0x281781[_0x702df2(0x17c)](_0x702df2(0x17d),()=>{const _0x452078=_0x702df2;_0x281781[_0x452078(0x122)][_0x452078(0x13b)](_0x452078(0x151));}),_0x281781[_0x702df2(0x17c)](_0x702df2(0x16e),()=>{const _0x3b73f2=_0x702df2;_0x281781[_0x3b73f2(0x122)][_0x3b73f2(0x168)](_0x3b73f2(0x151));}),_0x281781;},_0x1d2b99[_0x282935(0x140)]=function(_0x16c3b0){const _0x5ed780=_0x282935;return!(!this[_0x5ed780(0x18e)](_0x5ed780(0x16d))||!_0x16c3b0[_0x5ed780(0x18e)](_0x5ed780(0x16d))||this[_0x5ed780(0x191)](_0x5ed780(0x12f))!=_0x16c3b0[_0x5ed780(0x191)](_0x5ed780(0x12f)));},_0x1d2b99;}(_0x23eb93,_0x3a26d5,_0x3ac2ea);}(_0x572ee1,_0x4bb734,_0x2fa0ea,_0x2e9ded)}),_0x2e9ded[_0x1c43ab(0x178)][_0x1c43ab(0x118)](_0x1c43ab(0x117))[_0x1c43ab(0x182)]({'model':_0x1c43ab(0x165),'view':_0x2edd6b=>function(_0x685dc6,_0x1c3faf){const _0x44870b=_0x1c43ab,_0x1d5273=_0x685dc6[_0x44870b(0x126)][_0x44870b(0x11a)](':')[0x2];if(_0x1d5273===_0x1c3faf[_0x44870b(0x199)])return null;const _0x5d2c0b=_0x1c3faf[_0x44870b(0x11b)](_0x1d5273);if(!_0x5d2c0b)return{'id':_0x1d5273,'classes':[]};return{'id':_0x1d5273,'classes':[_0x44870b(0x166),_0x5d2c0b[_0x44870b(0x14b)][_0x44870b(0x161)]()],'attributes':{'data-session-id':_0x1d5273},'priority':0x7d0+_0x5d2c0b[_0x44870b(0x19f)]};}(_0x2edd6b,_0x2fa0ea)}),function(_0x4aa964){const _0x8d108e=_0x1c43ab,_0x23ec73=_0x4aa964[_0x8d108e(0x1a0)],_0x537168=new Map(),_0x242cef=_0x4aa964[_0x8d108e(0x183)][_0x8d108e(0x162)](_0xe08b2c);_0x23ec73[_0x8d108e(0x170)]['on'](_0x8d108e(0x198),(_0xcc041b,_0x3742d3,_0x335cbc,_0x2bc9ae)=>{const _0x1cce4b=_0x8d108e;if(!_0x2bc9ae&&_0x537168[_0x1cce4b(0x162)](_0x3742d3[_0x1cce4b(0x131)]))return _0x537168[_0x1cce4b(0x162)](_0x3742d3[_0x1cce4b(0x131)])[_0x1cce4b(0x153)](),void _0x537168[_0x1cce4b(0x149)](_0x3742d3[_0x1cce4b(0x131)]);const _0x1ab8f1=_0x3742d3[_0x1cce4b(0x131)][_0x1cce4b(0x11a)](':')[0x2];if(_0x1ab8f1===_0x242cef[_0x1cce4b(0x199)])return;const _0x1da808=_0x1cce4b(0x12e)+_0x1ab8f1;_0x23ec73[_0x1cce4b(0x170)][_0x1cce4b(0x181)](_0x1da808)&&_0x4aa964[_0x1cce4b(0x172)][_0x1cce4b(0x167)](_0x1da808),_0x3742d3['on'](_0x1cce4b(0x12d),(_0x143fd4,_0x49daf3,_0x983882)=>{const _0x3108b9=_0x1cce4b;if(_0x3108b9(0x19e)!=_0x49daf3[_0x3108b9(0x16c)][_0x3108b9(0x13e)]&&_0x3108b9(0x19e)==_0x3742d3[_0x3108b9(0x14d)]()[_0x3108b9(0x16c)][_0x3108b9(0x13e)]&&!_0x537168[_0x3108b9(0x181)](_0x3742d3[_0x3108b9(0x131)])){const _0x22d911=_0x23ec73[_0x3108b9(0x156)][_0x3108b9(0x19a)](_0x983882[_0x3108b9(0x16f)]);if(_0x22d911){const _0x4d8c8e=_0x1570b5[_0x3108b9(0x143)](_0x22d911);_0x537168[_0x3108b9(0x11c)](_0x3742d3[_0x3108b9(0x131)],_0x4d8c8e),_0x4d8c8e['on'](_0x3108b9(0x12d),(_0x3326a8,_0x544435,_0x50bab1)=>{const _0x1e6201=_0x3108b9;if(_0x1e6201(0x19e)==_0x4d8c8e[_0x1e6201(0x16c)][_0x1e6201(0x13e)]){const _0x1916cd=_0x23ec73[_0x1e6201(0x156)][_0x1e6201(0x19a)](_0x50bab1[_0x1e6201(0x16f)]);_0x1916cd?(_0x4d8c8e[_0x1e6201(0x197)]=_0x1916cd[_0x1e6201(0x197)],_0x4d8c8e[_0x1e6201(0x190)]=_0x1916cd[_0x1e6201(0x190)]):(_0x537168[_0x1e6201(0x149)](_0x3742d3[_0x1e6201(0x131)]),_0x4d8c8e[_0x1e6201(0x153)]());}});}}});}),_0x23ec73[_0x8d108e(0x175)]['on'](_0x8d108e(0x187),()=>{const _0x38bc05=_0x8d108e;_0x537168[_0x38bc05(0x158)]>0x0&&_0x23ec73[_0x38bc05(0x173)]({'isUndoable':!0x1},_0x2f95b6=>{const _0x3cdfc2=_0x38bc05;for(const [_0xd0996b,_0x57e134]of _0x537168)_0x3cdfc2(0x19e)==_0x23ec73[_0x3cdfc2(0x170)][_0x3cdfc2(0x162)](_0xd0996b)[_0x3cdfc2(0x14d)]()[_0x3cdfc2(0x16c)][_0x3cdfc2(0x13e)]&&(re(_0xd0996b[_0x3cdfc2(0x11a)](':')[0x2],_0x57e134[_0x3cdfc2(0x15f)](),_0x23ec73,_0x2f95b6),_0x57e134[_0x3cdfc2(0x153)]());_0x537168[_0x3cdfc2(0x142)]();});});}(_0x2e9ded),this[_0x1c43ab(0x133)][_0x1c43ab(0x141)](_0x16024e[_0x1c43ab(0x175)],_0x1c43ab(0x18c),(_0x436ca5,{key:_0xa489aa})=>{const _0x13be58=_0x1c43ab;_0x13be58(0x163)===_0xa489aa&&function(_0x26ef8f){const _0x41cef7=_0x13be58;_0x26ef8f[_0x41cef7(0x172)][_0x41cef7(0x14e)][_0x41cef7(0x187)](_0x5a7b1e=>{const _0x363016=_0x41cef7;for(const _0x5b7c0d of _0x26ef8f[_0x363016(0x1a0)][_0x363016(0x170)]){if(!_0x5b7c0d[_0x363016(0x131)][_0x363016(0x16a)](_0x363016(0x179)))continue;const _0x554e06=_0x26ef8f[_0x363016(0x172)][_0x363016(0x150)][_0x363016(0x128)](_0x5b7c0d[_0x363016(0x131)]);if(_0x554e06){for(const _0x46cc11 of _0x554e06)_0x5a7b1e[_0x363016(0x14c)](_0x363016(0x151),_0x46cc11);}}});}(_0x2e9ded);},{'useCapture':!0x0});}[_0x1d2972(0x119)](){const _0x3d9dc9=_0x1d2972,_0x109464=this[_0x3d9dc9(0x11d)],_0x3b1ebe=_0x109464[_0x3d9dc9(0x193)][_0x3d9dc9(0x162)](_0x3d9dc9(0x145));_0x3b1ebe&&_0x109464[_0x3d9dc9(0x1a0)]['on'](_0x3d9dc9(0x17a),(_0xaf1e15,_0x4a9dc8)=>{const _0x332854=_0x3d9dc9,_0x22701c=_0x4a9dc8[0x0];if(!_0x22701c[_0x332854(0x11e)])return;if(_0x332854(0x152)!=_0x22701c[_0x332854(0x188)]||!_0x22701c[_0x332854(0x131)][_0x332854(0x16a)](_0x332854(0x15b)))return;const _0x16674f=_0x22701c[_0x332854(0x171)];_0x3b1ebe[_0x332854(0x130)][_0x332854(0x181)](_0x16674f)&&(_0x22701c[_0x332854(0x148)]=_0x22701c[_0x332854(0x17f)]?_0x109464[_0x332854(0x1a0)][_0x332854(0x120)](_0x22701c[_0x332854(0x17f)][_0x332854(0x197)],_0x22701c[_0x332854(0x17f)][_0x332854(0x190)]):null);},{'priority':_0x3d9dc9(0x15a)});}[_0x1d2972(0x194)](){const _0x53730f=_0x1d2972;return this[_0x53730f(0x133)][_0x53730f(0x137)](),super[_0x53730f(0x194)]();}[_0x1d2972(0x135)](){const _0x244d17=_0x1d2972,_0x319ac9=this[_0x244d17(0x11d)],_0x5d2f9b=_0x319ac9[_0x244d17(0x1a0)][_0x244d17(0x175)],_0xc8f51d=_0x319ac9[_0x244d17(0x183)][_0x244d17(0x162)](_0xe08b2c);_0x319ac9[_0x244d17(0x1a0)][_0x244d17(0x173)]({'isUndoable':!0x1},_0x3d645d=>{const _0x58a68a=_0x244d17,_0x581660=_0x58a68a(0x154)+_0xc8f51d[_0x58a68a(0x199)],_0x6da522=_0x58a68a(0x12e)+_0xc8f51d[_0x58a68a(0x199)],_0x19619b=_0x319ac9[_0x58a68a(0x1a0)][_0x58a68a(0x170)][_0x58a68a(0x181)](_0x581660);_0x319ac9[_0x58a68a(0x172)][_0x58a68a(0x14e)][_0x58a68a(0x13a)]?re(_0xc8f51d[_0x58a68a(0x199)],_0x5d2f9b[_0x58a68a(0x124)][_0x58a68a(0x15e)](),_0x319ac9[_0x58a68a(0x1a0)],_0x3d645d):_0x19619b&&(_0x3d645d[_0x58a68a(0x176)](_0x581660),_0x3d645d[_0x58a68a(0x176)](_0x6da522));});}}function re(_0x8f282c,_0x2f7f6a,_0x1c951e,_0x3cb0bc){const _0x2d219b=_0x1d2972,_0x47dfc3=_0x2d219b(0x154)+_0x8f282c,_0x555dfe=_0x2d219b(0x12e)+_0x8f282c,_0x5ae84d=_0x2f7f6a[_0x2d219b(0x14f)]();let _0x299be9=_0x2f7f6a[_0x2d219b(0x197)];_0x5ae84d&&_0x5ae84d['is'](_0x2d219b(0x136),_0x2d219b(0x155))&&(_0x299be9=function(_0x483d95,_0x3952e4){const _0x1f15d2=_0x2d219b;for(const _0x411c01 of _0x483d95[_0x1f15d2(0x14a)]())if(_0x3952e4[_0x1f15d2(0x156)][_0x1f15d2(0x134)](_0x411c01,_0x1f15d2(0x12b)))return _0x411c01;}(_0x2f7f6a,_0x1c951e),_0x2f7f6a=_0x3cb0bc[_0x2d219b(0x120)](_0x299be9));const _0x1046c4=_0x3cb0bc[_0x2d219b(0x120)](_0x299be9);_0x1c951e[_0x2d219b(0x170)][_0x2d219b(0x181)](_0x47dfc3)?(_0x3cb0bc[_0x2d219b(0x13d)](_0x47dfc3,{'range':_0x2f7f6a}),_0x3cb0bc[_0x2d219b(0x13d)](_0x555dfe,{'range':_0x1046c4})):(_0x3cb0bc[_0x2d219b(0x195)](_0x47dfc3,{'range':_0x2f7f6a,'usingOperation':!0x0}),_0x3cb0bc[_0x2d219b(0x195)](_0x555dfe,{'range':_0x1046c4,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x2b8048=_0x3ed5;function _0x3ed5(_0x1534da,_0xa2fc3c){const _0x5f2e02=_0x5f2e();return _0x3ed5=function(_0x3ed58e,_0x4252fb){_0x3ed58e=_0x3ed58e-0x125;let _0x597bd1=_0x5f2e02[_0x3ed58e];return _0x597bd1;},_0x3ed5(_0x1534da,_0xa2fc3c);}function _0x5f2e(){const _0x1287bd=['hasContent','orderNumber','change:range','getAttribute','4474540UaUvDS','get','ck-user__marker\x20','keydown','user:','startsWith','element','stopListening','fromRange','12616CncgEg','requires','end','remove','view','render','removeClass','ck-user__marker-tooltip','applyOperation','oldRange','createUIElement','change','getFirstRange','type','classList','has','set','false','root','schema','ck-user__selection','isSimilar','user:range:','getUserBySessionId','innerHTML','plugins','update:user:range','nodeAfter','destroy','mouseleave','deletionPosition','markerName','isCollapsed','delete','getSelectionClass','editor','clear','isDocumentOperation','isInline','createRange','getRange','batch','setAttribute','5340240xzYvDA','enqueueChange','11918ohbpss','mouseenter','isOfficialPlugin','getContainedElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerNameToElements','$graveyard','getNearestSelectionRange','reconvertMarker','start','detach','getPositions','markers','markerRange','user:position:','user:position','pluginName','3858ZTxRPj','getCustomProperty','mapper','parent','contenteditable','_domEmitter','name','toRange','toDomElement','listenTo','markerToElement','highest','Escape','mySessionId','document','data-session-id','removeMarker','for','UserMarkers','conversion','339KWsXKW','newRange','user:range','tableCell','$text','getStart','undo','size','textContent','init','selection','rootName','getMarkerClass','createUserMarkerOperations','ck-user__marker_hovered','isLimit','span','addMarker','5172525kHoXNV','addEventListener','split','marker','updateMarker','editingDowncast','isPremiumPlugin','add','outerHTML','88232ubYdRE','createElement','commands','1565LlmKdd','_createdBatches','editing','markerToHighlight','spellcheck','model','setCustomProperty','hasDomSelection','color','userPositionMarker','afterInit','isObject','checkChild'];_0x5f2e=function(){return _0x1287bd;};return _0x5f2e();}(function(_0x253120,_0x43f30f){const _0x436d94=_0x3ed5,_0x704587=_0x253120();while(!![]){try{const _0x51547b=-parseInt(_0x436d94(0x14c))/0x1+-parseInt(_0x436d94(0x18c))/0x2+-parseInt(_0x436d94(0x171))/0x3*(parseInt(_0x436d94(0x1a9))/0x4)+parseInt(_0x436d94(0x18f))/0x5*(parseInt(_0x436d94(0x15d))/0x6)+parseInt(_0x436d94(0x1a0))/0x7+parseInt(_0x436d94(0x14a))/0x8+-parseInt(_0x436d94(0x183))/0x9;if(_0x51547b===_0x43f30f)break;else _0x704587['push'](_0x704587['shift']());}catch(_0x3cbd35){_0x704587['push'](_0x704587['shift']());}}}(_0x5f2e,0x7f290));import{Plugin as _0x4ae042}from'ckeditor5/src/core.js';import{global as _0x57abd1,DomEmitterMixin as _0x141f61}from'ckeditor5/src/utils.js';import _0x402f6e from'./sessions.js';import{LiveRange as _0x547f72}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x4ae042{constructor(){const _0x532f7a=_0x3ed5;super(...arguments),this[_0x532f7a(0x162)]=new(_0x141f61())();}static get[_0x2b8048(0x1aa)](){return[_0x402f6e];}static get[_0x2b8048(0x15c)](){const _0x5d5f02=_0x2b8048;return _0x5d5f02(0x16f);}static get[_0x2b8048(0x14e)](){return!0x0;}static get[_0x2b8048(0x189)](){return!0x0;}[_0x2b8048(0x17a)](){const _0x46ed43=_0x2b8048,_0x4df158=this[_0x46ed43(0x142)],_0x7c60ce=_0x4df158[_0x46ed43(0x138)][_0x46ed43(0x1a1)](_0x402f6e);_0x4df158[_0x46ed43(0x170)][_0x46ed43(0x16e)](_0x46ed43(0x188))[_0x46ed43(0x167)]({'model':_0x46ed43(0x15b),'view':(_0x3fcc9c,{writer:_0x51d498})=>function(_0x591584,_0x370cea,_0xc81caa,_0x2eb98b){const _0x131974=_0x46ed43,_0x4bba87=_0x591584[_0x131974(0x13e)][_0x131974(0x185)](':')[0x2],_0x980e22=_0xc81caa[_0x131974(0x136)](_0x4bba87);if(!_0x980e22||_0x4bba87===_0xc81caa[_0x131974(0x16a)])return;if(!_0x2eb98b[_0x131974(0x194)][_0x131974(0x132)][_0x131974(0x19b)](_0x591584[_0x131974(0x159)][_0x131974(0x155)],_0x131974(0x175)))return;const _0x34a495={'class':_0x131974(0x1a2)+_0x980e22[_0x131974(0x197)][_0x131974(0x17d)](),'data-name':_0x980e22[_0x131974(0x163)],'data-session-id':_0x4bba87},_0x4e6cfb=_0x2eb98b[_0x131974(0x194)][_0x131974(0x158)][_0x131974(0x1a1)](_0x591584[_0x131974(0x13e)]),_0x431b21=_0x4e6cfb[_0x131974(0x176)](),_0x22b174=_0x431b21[_0x131974(0x13a)],_0x24fe42=_0x2eb98b[_0x131974(0x194)][_0x131974(0x132)];if(_0x22b174&&_0x24fe42[_0x131974(0x19a)](_0x22b174)&&_0x24fe42[_0x131974(0x145)](_0x22b174)&&!_0x2eb98b[_0x131974(0x194)][_0x131974(0x158)][_0x131974(0x1a1)](_0x131974(0x135)+_0x4bba87)[_0x131974(0x147)]()[_0x131974(0x13f)])return;const _0x2acf07=_0x431b21[_0x131974(0x160)];return _0x2eb98b[_0x131974(0x194)][_0x131974(0x132)][_0x131974(0x180)](_0x2acf07)&&!_0x2eb98b[_0x131974(0x194)][_0x131974(0x19c)](_0x2acf07)&&(_0x34a495[_0x131974(0x161)]=!0x1),function(_0x259282,_0x42265b,_0x2a6076){const _0x4eba40=_0x131974,_0x374123=_0x259282[_0x4eba40(0x129)](_0x4eba40(0x181),_0x42265b);return _0x259282[_0x4eba40(0x195)](_0x4eba40(0x198),!0x0,_0x374123),_0x374123[_0x4eba40(0x1ae)]=function(_0x9446ef){const _0x13f944=_0x4eba40,_0x3a9033=this[_0x13f944(0x165)](_0x9446ef),_0x4406ab=document[_0x13f944(0x18d)](_0x13f944(0x181));return _0x4406ab[_0x13f944(0x12d)][_0x13f944(0x18a)](_0x13f944(0x126)),_0x4406ab[_0x13f944(0x149)](_0x13f944(0x161),_0x13f944(0x130)),_0x4406ab[_0x13f944(0x149)](_0x13f944(0x193),_0x13f944(0x130)),_0x4406ab[_0x13f944(0x179)]=_0x2a6076[_0x13f944(0x163)],_0x3a9033[_0x13f944(0x137)]=_0x13f944(0x150)+_0x4406ab[_0x13f944(0x18b)]+'',_0x3a9033[_0x13f944(0x184)](_0x13f944(0x14d),()=>{const _0xf41f02=_0x13f944;_0x3a9033[_0xf41f02(0x12d)][_0xf41f02(0x18a)](_0xf41f02(0x17f));}),_0x3a9033[_0x13f944(0x184)](_0x13f944(0x13c),()=>{const _0x1414dc=_0x13f944;_0x3a9033[_0x1414dc(0x12d)][_0x1414dc(0x1ac)](_0x1414dc(0x17f));}),_0x3a9033;},_0x374123[_0x4eba40(0x134)]=function(_0x2a092b){const _0x2e5e9e=_0x4eba40;return!(!this[_0x2e5e9e(0x15e)](_0x2e5e9e(0x198))||!_0x2a092b[_0x2e5e9e(0x15e)](_0x2e5e9e(0x198))||this[_0x2e5e9e(0x19f)](_0x2e5e9e(0x16c))!=_0x2a092b[_0x2e5e9e(0x19f)](_0x2e5e9e(0x16c)));},_0x374123;}(_0x370cea,_0x34a495,_0x980e22);}(_0x3fcc9c,_0x51d498,_0x7c60ce,_0x4df158)}),_0x4df158[_0x46ed43(0x170)][_0x46ed43(0x16e)](_0x46ed43(0x188))[_0x46ed43(0x192)]({'model':_0x46ed43(0x173),'view':_0x3958ed=>function(_0x5123ce,_0x4a103c){const _0x11703c=_0x46ed43,_0x53b818=_0x5123ce[_0x11703c(0x13e)][_0x11703c(0x185)](':')[0x2];if(_0x53b818===_0x4a103c[_0x11703c(0x16a)])return null;const _0x2f2ee1=_0x4a103c[_0x11703c(0x136)](_0x53b818);if(!_0x2f2ee1)return{'id':_0x53b818,'classes':[]};return{'id':_0x53b818,'classes':[_0x11703c(0x133),_0x2f2ee1[_0x11703c(0x197)][_0x11703c(0x141)]()],'attributes':{'data-session-id':_0x53b818},'priority':0x7d0+_0x2f2ee1[_0x11703c(0x19d)]};}(_0x3958ed,_0x7c60ce)}),function(_0x2ecd7a){const _0x9fdfe8=_0x46ed43,_0x4a27fc=_0x2ecd7a[_0x9fdfe8(0x194)],_0x5ca31c=new Map(),_0x40f1fa=_0x2ecd7a[_0x9fdfe8(0x138)][_0x9fdfe8(0x1a1)](_0x402f6e);_0x4a27fc[_0x9fdfe8(0x158)]['on'](_0x9fdfe8(0x139),(_0x538830,_0x211c91,_0x487caa,_0x11397c)=>{const _0x2bffee=_0x9fdfe8;if(!_0x11397c&&_0x5ca31c[_0x2bffee(0x1a1)](_0x211c91[_0x2bffee(0x163)]))return _0x5ca31c[_0x2bffee(0x1a1)](_0x211c91[_0x2bffee(0x163)])[_0x2bffee(0x156)](),void _0x5ca31c[_0x2bffee(0x140)](_0x211c91[_0x2bffee(0x163)]);const _0x58e0a9=_0x211c91[_0x2bffee(0x163)][_0x2bffee(0x185)](':')[0x2];if(_0x58e0a9===_0x40f1fa[_0x2bffee(0x16a)])return;const _0x30c0b0=_0x2bffee(0x15a)+_0x58e0a9;_0x4a27fc[_0x2bffee(0x158)][_0x2bffee(0x12e)](_0x30c0b0)&&_0x2ecd7a[_0x2bffee(0x191)][_0x2bffee(0x154)](_0x30c0b0),_0x211c91['on'](_0x2bffee(0x19e),(_0x23afc7,_0x7acff0,_0x213463)=>{const _0x15a7aa=_0x2bffee;if(_0x15a7aa(0x152)!=_0x7acff0[_0x15a7aa(0x131)][_0x15a7aa(0x17c)]&&_0x15a7aa(0x152)==_0x211c91[_0x15a7aa(0x147)]()[_0x15a7aa(0x131)][_0x15a7aa(0x17c)]&&!_0x5ca31c[_0x15a7aa(0x12e)](_0x211c91[_0x15a7aa(0x163)])){const _0x963ee9=_0x4a27fc[_0x15a7aa(0x132)][_0x15a7aa(0x153)](_0x213463[_0x15a7aa(0x13d)]);if(_0x963ee9){const _0x31beaf=_0x547f72[_0x15a7aa(0x1a8)](_0x963ee9);_0x5ca31c[_0x15a7aa(0x12f)](_0x211c91[_0x15a7aa(0x163)],_0x31beaf),_0x31beaf['on'](_0x15a7aa(0x19e),(_0x1966ca,_0xe69c2a,_0x2b08bc)=>{const _0x481a44=_0x15a7aa;if(_0x481a44(0x152)==_0x31beaf[_0x481a44(0x131)][_0x481a44(0x17c)]){const _0x25e972=_0x4a27fc[_0x481a44(0x132)][_0x481a44(0x153)](_0x2b08bc[_0x481a44(0x13d)]);_0x25e972?(_0x31beaf[_0x481a44(0x155)]=_0x25e972[_0x481a44(0x155)],_0x31beaf[_0x481a44(0x1ab)]=_0x25e972[_0x481a44(0x1ab)]):(_0x5ca31c[_0x481a44(0x140)](_0x211c91[_0x481a44(0x163)]),_0x31beaf[_0x481a44(0x156)]());}});}}});}),_0x4a27fc[_0x9fdfe8(0x16b)]['on'](_0x9fdfe8(0x12a),()=>{const _0x3017b5=_0x9fdfe8;_0x5ca31c[_0x3017b5(0x178)]>0x0&&_0x4a27fc[_0x3017b5(0x14b)]({'isUndoable':!0x1},_0x446c8c=>{const _0x10375f=_0x3017b5;for(const [_0x44bae3,_0x2a3c76]of _0x5ca31c)_0x10375f(0x152)==_0x4a27fc[_0x10375f(0x158)][_0x10375f(0x1a1)](_0x44bae3)[_0x10375f(0x147)]()[_0x10375f(0x131)][_0x10375f(0x17c)]&&(re(_0x44bae3[_0x10375f(0x185)](':')[0x2],_0x2a3c76[_0x10375f(0x164)](),_0x4a27fc,_0x446c8c),_0x2a3c76[_0x10375f(0x156)]());_0x5ca31c[_0x10375f(0x143)]();});});}(_0x4df158),this[_0x46ed43(0x162)][_0x46ed43(0x166)](_0x57abd1[_0x46ed43(0x16b)],_0x46ed43(0x1a3),(_0x428b58,{key:_0x42f89c})=>{const _0x59d999=_0x46ed43;_0x59d999(0x169)===_0x42f89c&&function(_0x3b90f9){const _0x408817=_0x59d999;_0x3b90f9[_0x408817(0x191)][_0x408817(0x1ad)][_0x408817(0x12a)](_0x7c1ead=>{const _0x3979d2=_0x408817;for(const _0x4d8da8 of _0x3b90f9[_0x3979d2(0x194)][_0x3979d2(0x158)]){if(!_0x4d8da8[_0x3979d2(0x163)][_0x3979d2(0x1a5)](_0x3979d2(0x15b)))continue;const _0x5aec65=_0x3b90f9[_0x3979d2(0x191)][_0x3979d2(0x15f)][_0x3979d2(0x151)](_0x4d8da8[_0x3979d2(0x163)]);if(_0x5aec65){for(const _0x250af7 of _0x5aec65)_0x7c1ead[_0x3979d2(0x125)](_0x3979d2(0x17f),_0x250af7);}}});}(_0x4df158);},{'useCapture':!0x0});}[_0x2b8048(0x199)](){const _0x42ae53=_0x2b8048,_0x35f606=this[_0x42ae53(0x142)],_0x399584=_0x35f606[_0x42ae53(0x18e)][_0x42ae53(0x1a1)](_0x42ae53(0x177));_0x399584&&_0x35f606[_0x42ae53(0x194)]['on'](_0x42ae53(0x127),(_0x4e94d3,_0x41dcc2)=>{const _0x23f5fc=_0x42ae53,_0x230598=_0x41dcc2[0x0];if(!_0x230598[_0x23f5fc(0x144)])return;if(_0x23f5fc(0x186)!=_0x230598[_0x23f5fc(0x12c)]||!_0x230598[_0x23f5fc(0x163)][_0x23f5fc(0x1a5)](_0x23f5fc(0x1a4)))return;const _0x3b859b=_0x230598[_0x23f5fc(0x148)];_0x399584[_0x23f5fc(0x190)][_0x23f5fc(0x12e)](_0x3b859b)&&(_0x230598[_0x23f5fc(0x172)]=_0x230598[_0x23f5fc(0x128)]?_0x35f606[_0x23f5fc(0x194)][_0x23f5fc(0x146)](_0x230598[_0x23f5fc(0x128)][_0x23f5fc(0x155)],_0x230598[_0x23f5fc(0x128)][_0x23f5fc(0x1ab)]):null);},{'priority':_0x42ae53(0x168)});}[_0x2b8048(0x13b)](){const _0x39a8ba=_0x2b8048;return this[_0x39a8ba(0x162)][_0x39a8ba(0x1a7)](),super[_0x39a8ba(0x13b)]();}[_0x2b8048(0x17e)](){const _0x46e30c=_0x2b8048,_0x1599f3=this[_0x46e30c(0x142)],_0x5aa4ca=_0x1599f3[_0x46e30c(0x194)][_0x46e30c(0x16b)],_0x556a93=_0x1599f3[_0x46e30c(0x138)][_0x46e30c(0x1a1)](_0x402f6e);_0x1599f3[_0x46e30c(0x194)][_0x46e30c(0x14b)]({'isUndoable':!0x1},_0x4dc6a6=>{const _0x289031=_0x46e30c,_0x54108b=_0x289031(0x135)+_0x556a93[_0x289031(0x16a)],_0x4406a3=_0x289031(0x15a)+_0x556a93[_0x289031(0x16a)],_0x7eb750=_0x1599f3[_0x289031(0x194)][_0x289031(0x158)][_0x289031(0x12e)](_0x54108b);_0x1599f3[_0x289031(0x191)][_0x289031(0x1ad)][_0x289031(0x196)]?re(_0x556a93[_0x289031(0x16a)],_0x5aa4ca[_0x289031(0x17b)][_0x289031(0x12b)](),_0x1599f3[_0x289031(0x194)],_0x4dc6a6):_0x7eb750&&(_0x4dc6a6[_0x289031(0x16d)](_0x54108b),_0x4dc6a6[_0x289031(0x16d)](_0x4406a3));});}}function re(_0x4237ca,_0xfbad82,_0x4d7840,_0x4f4fcd){const _0x4bcb91=_0x2b8048,_0x45190a=_0x4bcb91(0x135)+_0x4237ca,_0x4af8f5=_0x4bcb91(0x15a)+_0x4237ca,_0x592755=_0xfbad82[_0x4bcb91(0x14f)]();let _0x3ee5e9=_0xfbad82[_0x4bcb91(0x155)];_0x592755&&_0x592755['is'](_0x4bcb91(0x1a6),_0x4bcb91(0x174))&&(_0x3ee5e9=function(_0x376c77,_0x997d10){const _0x5f23c3=_0x4bcb91;for(const _0x488214 of _0x376c77[_0x5f23c3(0x157)]())if(_0x997d10[_0x5f23c3(0x132)][_0x5f23c3(0x19b)](_0x488214,_0x5f23c3(0x175)))return _0x488214;}(_0xfbad82,_0x4d7840),_0xfbad82=_0x4f4fcd[_0x4bcb91(0x146)](_0x3ee5e9));const _0x35eb78=_0x4f4fcd[_0x4bcb91(0x146)](_0x3ee5e9);_0x4d7840[_0x4bcb91(0x158)][_0x4bcb91(0x12e)](_0x45190a)?(_0x4f4fcd[_0x4bcb91(0x187)](_0x45190a,{'range':_0xfbad82}),_0x4f4fcd[_0x4bcb91(0x187)](_0x4af8f5,{'range':_0x35eb78})):(_0x4f4fcd[_0x4bcb91(0x182)](_0x45190a,{'range':_0xfbad82,'usingOperation':!0x0}),_0x4f4fcd[_0x4bcb91(0x182)](_0x4af8f5,{'range':_0x35eb78,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x297eeb=_0x10c2;(function(_0x4bfe5b,_0x275eff){const _0x1ca90d=_0x10c2,_0x2722e3=_0x4bfe5b();while(!![]){try{const _0x3c98bf=parseInt(_0x1ca90d(0x18a))/0x1+-parseInt(_0x1ca90d(0x1ab))/0x2*(-parseInt(_0x1ca90d(0x1b0))/0x3)+-parseInt(_0x1ca90d(0x183))/0x4+-parseInt(_0x1ca90d(0x1af))/0x5*(parseInt(_0x1ca90d(0x17d))/0x6)+-parseInt(_0x1ca90d(0x195))/0x7+-parseInt(_0x1ca90d(0x196))/0x8*(parseInt(_0x1ca90d(0x1ac))/0x9)+parseInt(_0x1ca90d(0x19f))/0xa;if(_0x3c98bf===_0x275eff)break;else _0x2722e3['push'](_0x2722e3['shift']());}catch(_0x5b3b89){_0x2722e3['push'](_0x2722e3['shift']());}}}(_0x319d,0x7e612));import{ContextPlugin as _0x3b225e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xb27387,CKEditorError as _0x415d85}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x145498,WEB_SOCKET_GATEWAY_STATES as _0x1142f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x319d(){const _0x14cfdf=['_isBrowserOffline','CONNECTING','real-time-collaboration','state','17721190NNDujB','add','_reconnect','requires','_domEmitter','all','websocketgateway-missing-websocket-url','plugins','websocketgateway-invalid-plugin-interface','initialReconnectionInterval','connect','WebSocketGateway','2TAUazJ','16983dfRlda','pluginName','token','6505DFjFsR','2500314OYQtUT','then','websocketgateway-plugin-already-registered','_shouldPluginsReconnect','cloudservices-init','_reconnectionStack','isInReconnectionStack','error','limitExceeded','webSocketUrl','removeFromReconnectionStack','config','constructor','listenTo','online','delete','isPremiumPlugin','destroy','websocketgateway-missing-token','init','bind','has','connection','catch','2034SMWgao','set','cloudServices.requestTimeout','change:me','define','addToReconnectionStack','4043300onRpZU','showWarning','reconnect','Connected\x20users\x20limit\x20exceeded','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.','function','CONNECTED','403180bsTrMT','code','from','context','create','CloudServices','disconnect','connected','DISCONNECTED','cloudServices.connectionTimeout','offline','1555064YIULik','3464gRWDwA','get','stopListening','isOfficialPlugin','cloudservices-reconnection-error'];_0x319d=function(){return _0x14cfdf;};return _0x319d();}function _0x10c2(_0x473558,_0x2f7b4c){const _0x319d5c=_0x319d();return _0x10c2=function(_0x10c27a,_0xa33ff1){_0x10c27a=_0x10c27a-0x17a;let _0x5d3ce9=_0x319d5c[_0x10c27a];return _0x5d3ce9;},_0x10c2(_0x473558,_0x2f7b4c);}import{Notification as _0x5f99b5}from'ckeditor5/src/ui.js';class c extends _0x3b225e{static get[_0x297eeb(0x1a2)](){const _0x5eb6f5=_0x297eeb;return[_0x5eb6f5(0x18f),_0x5f99b5];}static get[_0x297eeb(0x1ad)](){const _0xc489d5=_0x297eeb;return _0xc489d5(0x1aa);}static get[_0x297eeb(0x199)](){return!0x0;}static get[_0x297eeb(0x1c0)](){return!0x0;}constructor(_0x271a8f){const _0x4d1e20=_0x297eeb;super(_0x271a8f),this[_0x4d1e20(0x17e)](_0x4d1e20(0x19e),_0x1142f1[_0x4d1e20(0x189)]),this[_0x4d1e20(0x17e)](_0x4d1e20(0x19b),!0x1),this[_0x4d1e20(0x1b5)]=new Set(),this[_0x4d1e20(0x1b3)]=!0x1,this[_0x4d1e20(0x1a3)]=Object[_0x4d1e20(0x18e)](_0xb27387);}[_0x297eeb(0x1c3)](){const _0x4f121b=_0x297eeb,_0x30a7ba=this[_0x4f121b(0x18d)],_0xaa78e1=_0x30a7ba[_0x4f121b(0x1a6)][_0x4f121b(0x197)](_0x4f121b(0x18f)),_0xc1b591=_0x30a7ba[_0x4f121b(0x1a6)][_0x4f121b(0x197)](_0x5f99b5);if(!_0xaa78e1[_0x4f121b(0x1ae)])throw new _0x415d85(_0x4f121b(0x1c2),this);if(!_0xaa78e1[_0x4f121b(0x1b9)])throw new _0x415d85(_0x4f121b(0x1a5),this);return this[_0x4f121b(0x1a3)][_0x4f121b(0x1bd)](window,_0x4f121b(0x194),()=>this[_0x4f121b(0x19b)]=!0x0),this[_0x4f121b(0x1a3)][_0x4f121b(0x1bd)](window,_0x4f121b(0x1be),()=>this[_0x4f121b(0x19b)]=!0x1),this[_0x4f121b(0x18d)][_0x4f121b(0x1bb)][_0x4f121b(0x181)](_0x4f121b(0x193),0xa),this[_0x4f121b(0x18d)][_0x4f121b(0x1bb)][_0x4f121b(0x181)](_0x4f121b(0x17f),0x14),c[_0x4f121b(0x1aa)][_0x4f121b(0x1a9)](_0xaa78e1[_0x4f121b(0x1ae)],_0xaa78e1[_0x4f121b(0x1b9)],{'timeout':0x3e8*this[_0x4f121b(0x18d)][_0x4f121b(0x1bb)][_0x4f121b(0x197)](_0x4f121b(0x193)),'requestTimeout':0x3e8*this[_0x4f121b(0x18d)][_0x4f121b(0x1bb)][_0x4f121b(0x197)](_0x4f121b(0x17f))})[_0x4f121b(0x1b1)](_0x15df8a=>{const _0x2df8ea=_0x4f121b;if(this[_0x2df8ea(0x17b)]=_0x15df8a,this[_0x2df8ea(0x1c4)](_0x2df8ea(0x19e))['to'](_0x15df8a,_0x2df8ea(0x19e),this,_0x2df8ea(0x19b),(_0x3a088b,_0x2cac51)=>(_0x2df8ea(0x191)!==_0x3a088b&&(this[_0x2df8ea(0x1b3)]=!0x0),_0x2cac51||_0x3a088b!==_0x1142f1[_0x2df8ea(0x189)]?_0x1142f1[_0x2df8ea(0x192)]:this[_0x2df8ea(0x19e)]==_0x1142f1[_0x2df8ea(0x192)]&&this[_0x2df8ea(0x1b3)]?(this[_0x2df8ea(0x1b3)]=!0x1,this[_0x2df8ea(0x1a1)](),_0x1142f1[_0x2df8ea(0x19c)]):_0x1142f1[_0x2df8ea(0x189)])),this[_0x2df8ea(0x17b)]['on'](_0x2df8ea(0x1b7),(_0x24c53c,_0x22d622)=>{const _0x1a1318=_0x2df8ea;if(_0x1a1318(0x1b8)!==_0x22d622[_0x1a1318(0x18b)])throw console[_0x1a1318(0x1b7)](_0x22d622),new _0x415d85(_0x1a1318(0x1b4),null,{'originalError':_0x22d622});_0xc1b591[_0x1a1318(0x184)](_0x1a1318(0x187),{'title':_0x1a1318(0x186),'namespace':_0x1a1318(0x19d)});}),!_0x15df8a['me'])return new Promise(_0x245e53=>_0x15df8a['on'](_0x2df8ea(0x180),_0x245e53));})[_0x4f121b(0x17c)](_0x4bb7f2=>{const _0x350896=_0x4f121b;throw console[_0x350896(0x1b7)](_0x4bb7f2),new _0x415d85(_0x350896(0x1b4),null,{'originalError':_0x4bb7f2});});}[_0x297eeb(0x182)](_0x1d6a07){const _0x390631=_0x297eeb;if(_0x390631(0x188)!=typeof _0x1d6a07[_0x390631(0x185)])throw new _0x415d85(_0x390631(0x1a7),this);if(this[_0x390631(0x1b6)](_0x1d6a07))throw new _0x415d85(_0x390631(0x1b2),this,{'name':_0x1d6a07[_0x390631(0x1bc)][_0x390631(0x1ad)]});this[_0x390631(0x1b5)][_0x390631(0x1a0)](_0x1d6a07);}[_0x297eeb(0x1ba)](_0x3a029e){const _0x31985c=_0x297eeb;this[_0x31985c(0x1b5)][_0x31985c(0x1bf)](_0x3a029e);}[_0x297eeb(0x1b6)](_0x845d08){const _0x17a2bc=_0x297eeb;return this[_0x17a2bc(0x1b5)][_0x17a2bc(0x17a)](_0x845d08);}[_0x297eeb(0x1a1)](){const _0x3527ca=_0x297eeb;return this[_0x3527ca(0x17b)][_0x3527ca(0x185)]()[_0x3527ca(0x1b1)](()=>Promise[_0x3527ca(0x1a4)](Array[_0x3527ca(0x18c)](this[_0x3527ca(0x1b5)],_0x4eb8c5=>_0x4eb8c5[_0x3527ca(0x185)]())))[_0x3527ca(0x1b1)](()=>this[_0x3527ca(0x19e)]=_0x1142f1[_0x3527ca(0x189)])[_0x3527ca(0x17c)](_0x1f8855=>{const _0x3d821f=_0x3527ca;throw console[_0x3d821f(0x1b7)](_0x1f8855),new _0x415d85(_0x3d821f(0x19a),this[_0x3d821f(0x18d)]);});}[_0x297eeb(0x190)](){const _0x466309=_0x297eeb;this[_0x466309(0x17b)]&&this[_0x466309(0x17b)][_0x466309(0x190)](),this[_0x466309(0x19e)]=_0x1142f1[_0x466309(0x192)],this[_0x466309(0x1a3)][_0x466309(0x198)]();}[_0x297eeb(0x1c1)](){const _0x181553=_0x297eeb;this[_0x181553(0x190)](),super[_0x181553(0x1c1)]();}}c[_0x297eeb(0x1aa)]=_0x145498,c[_0x297eeb(0x1a8)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2483(_0x5eb444,_0x1a2373){var _0x49de24=_0x49de();return _0x2483=function(_0x24839b,_0x404527){_0x24839b=_0x24839b-0x179;var _0x1b1544=_0x49de24[_0x24839b];return _0x1b1544;},_0x2483(_0x5eb444,_0x1a2373);}var _0x349d6d=_0x2483;(function(_0x187d0a,_0x6f6be4){var _0x403529=_0x2483,_0x35746e=_0x187d0a();while(!![]){try{var _0x48b27e=parseInt(_0x403529(0x182))/0x1+-parseInt(_0x403529(0x17b))/0x2*(parseInt(_0x403529(0x17d))/0x3)+parseInt(_0x403529(0x17f))/0x4+-parseInt(_0x403529(0x188))/0x5+parseInt(_0x403529(0x183))/0x6*(-parseInt(_0x403529(0x186))/0x7)+parseInt(_0x403529(0x187))/0x8*(parseInt(_0x403529(0x184))/0x9)+parseInt(_0x403529(0x180))/0xa*(parseInt(_0x403529(0x185))/0xb);if(_0x48b27e===_0x6f6be4)break;else _0x35746e['push'](_0x35746e['shift']());}catch(_0x1d7f3f){_0x35746e['push'](_0x35746e['shift']());}}}(_0x49de,0x93eb6));import{Plugin as _0x277b60}from'ckeditor5/src/core.js';import _0x3653b9 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x277b60{static get[_0x349d6d(0x179)](){return[_0x3653b9];}static get[_0x349d6d(0x181)](){var _0x47ff00=_0x349d6d;return _0x47ff00(0x17c);}static get[_0x349d6d(0x17a)](){return!0x0;}static get[_0x349d6d(0x17e)](){return!0x0;}}function _0x49de(){var _0x488a4c=['7rkyKkG','24UDsgoR','4680725rQnUJQ','requires','isOfficialPlugin','16WUoopW','RealTimeCollaborativeEditing','437796TJfyzj','isPremiumPlugin','4432152tlPCgr','150oiuABo','pluginName','1006193tCCFpH','668286UWYJSf','1751967AAoJgq','89936IluCym'];_0x49de=function(){return _0x488a4c;};return _0x49de();}
|