@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.9 → 44.2.1-alpha.0
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 _0x4673bc=_0x2a0e;function _0x4685(){const _0x5ed255=['comments','commentThreadReopened','reconnect','attributes','commentUpdated','256941FvKwvM','1992263qaVTZp','resolve','Permissions','size','userId','connect','isOfficialPlugin','commentThreadRemoved','destroy','catch','addToReconnectionStack','getCommentThreads','updateCommentThread','sessionAdd:','543510vhebTF','set','resolvedAt','cloud-services-internal-error:\x20Not\x20connected.','getCommentThread','reopenCommentThread','init','commentRemoved','unregister','commentThreadAdded','185420VCmTkm','commentThreadResolved','_services','config','mySessionId','permissions','updateComment','createdAt','commentThreadId','cloudservicescommentsadapter-connect-already-connected','cloudservicescommentsadapter-service-not-exist','authorId','listenTo','removeCommentThread','message','404','has','disconnect','keys','map','update','adapter','context','add','_connectService','get','_fetchMissingUsersForThreads','resolvedBy','assign','addComment','content','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','getConnectedSessions','8ezXNtB','pluginName','from','_setUpService','requires','addUser','commentAdded','deletedAt','541822UauMjx','setPermissions','startsWith','code','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','plugins','reopen','removeComment','_terminateService','resolveCommentThread','commentId','getUser','off','collaboration.channelId','remove','commentThreadUpdated','CommentsService','231188ZaKIKm','_getService','getMany','register','addCommentThread','isPremiumPlugin','CloudServicesCommentsAdapter','1225392TGQWvR','delete','getComment'];_0x4685=function(){return _0x5ed255;};return _0x4685();}(function(_0x494a7e,_0xb7d705){const _0x5ee66f=_0x2a0e,_0x4b3009=_0x494a7e();while(!![]){try{const _0x240f7d=parseInt(_0x5ee66f(0x147))/0x1+parseInt(_0x5ee66f(0x10e))/0x2+parseInt(_0x5ee66f(0x12e))/0x3+-parseInt(_0x5ee66f(0x11f))/0x4+-parseInt(_0x5ee66f(0x13d))/0x5+parseInt(_0x5ee66f(0x126))/0x6+parseInt(_0x5ee66f(0x12f))/0x7*(-parseInt(_0x5ee66f(0x16a))/0x8);if(_0x240f7d===_0xb7d705)break;else _0x4b3009['push'](_0x4b3009['shift']());}catch(_0x213341){_0x4b3009['push'](_0x4b3009['shift']());}}}(_0x4685,0x480be));import{Context as _0x4fe04b,ContextPlugin as _0x522f55}from'ckeditor5/src/core.js';import{CKEditorError as _0x243a29}from'ckeditor5/src/utils.js';import{Users as _0x2d76fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2096e4,User as _0x3dcbcf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x105da8 from'../realtimecollaborativeediting/websocketgateway.js';import _0x4c1b65 from'../realtimecollaborativeediting/sessions.js';class a extends _0x522f55{static get[_0x4673bc(0x10a)](){const _0x4906b6=_0x4673bc;return[_0x105da8,_0x4906b6(0x168),_0x4c1b65,_0x2d76fd];}static get[_0x4673bc(0x16b)](){const _0xae0de5=_0x4673bc;return _0xae0de5(0x125);}static get[_0x4673bc(0x135)](){return!0x0;}static get[_0x4673bc(0x124)](){return!0x0;}constructor(_0x1f2577){const _0x198a11=_0x4673bc;super(_0x1f2577),this[_0x198a11(0x149)]=new Map();}async[_0x4673bc(0x143)](){const _0x5d1856=_0x4673bc,_0x44ea97=this[_0x5d1856(0x15d)],_0x28fd2c=_0x44ea97[_0x5d1856(0x113)][_0x5d1856(0x160)](_0x5d1856(0x168));if(_0x44ea97[_0x5d1856(0x113)][_0x5d1856(0x160)](_0x105da8)[_0x5d1856(0x139)](this),_0x28fd2c[_0x5d1856(0x15c)]={'addCommentThread':async({channelId:_0x1fd964,threadId:_0x31337b,comments:_0x54469d,resolvedAt:_0x41d78f,resolvedBy:_0x538001,context:_0x1c902c,attributes:_0x1b161d})=>{const _0x35d071=_0x5d1856,_0x3ea554=await this[_0x35d071(0x120)](_0x1fd964)[_0x35d071(0x123)]({'commentThreadId':_0x31337b,'comments':_0x54469d[_0x35d071(0x15a)](_0xc89135=>function(_0x1ffd04,_0x361aa5,_0x3930f5){const _0x254073=_0x35d071;return{'commentThreadId':_0x3930f5,'commentId':_0x1ffd04[_0x254073(0x118)],'userId':_0x1ffd04[_0x254073(0x152)],'content':_0x1ffd04[_0x254073(0x165)],'documentId':_0x361aa5,'createdAt':_0x1ffd04[_0x254073(0x14e)],'attributes':_0x1ffd04[_0x254073(0x12c)]||{}};}(_0xc89135,_0x1fd964,_0x31337b)),'resolvedAt':_0x41d78f,'resolvedBy':_0x538001,'context':_0x1c902c,'attributes':_0x1b161d})[_0x35d071(0x138)](R);return{'threadId':_0x3ea554[_0x35d071(0x14f)],'comments':_0x3ea554[_0x35d071(0x129)]};},'getCommentThread':async({channelId:_0x3f3e0c,threadId:_0x4cc0a9})=>{const _0x1faccb=_0x5d1856,_0x4ac605=await this[_0x1faccb(0x120)](_0x3f3e0c)[_0x1faccb(0x141)](_0x4cc0a9)[_0x1faccb(0x138)](R);return _0x4ac605[_0x1faccb(0x10d)]?null:(await this[_0x1faccb(0x161)]([_0x4ac605]),{'threadId':_0x4ac605[_0x1faccb(0x14f)],'comments':_0x4ac605[_0x1faccb(0x129)][_0x1faccb(0x15a)](S),'context':_0x4ac605[_0x1faccb(0x15d)],'resolvedAt':_0x4ac605[_0x1faccb(0x13f)],'resolvedBy':_0x4ac605[_0x1faccb(0x162)],'attributes':_0x4ac605[_0x1faccb(0x12c)]||{}});},'updateCommentThread':async({channelId:_0x203e9e,threadId:_0x26c504,context:_0x24e79d,unlinkedAt:_0x1b693f,attributes:_0x3f3141})=>this[_0x5d1856(0x120)](_0x203e9e)[_0x5d1856(0x13b)]({'commentThreadId':_0x26c504,'context':_0x24e79d,'attributes':_0x3f3141,'unlinkedAt':_0x1b693f})[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'resolveCommentThread':async({channelId:_0x30a199,threadId:_0x54620f})=>{const _0x556f63=_0x5d1856,_0x463a8e=await this[_0x556f63(0x120)](_0x30a199)[_0x556f63(0x117)](_0x54620f)[_0x556f63(0x138)](B)[_0x556f63(0x138)](R);return{'threadId':_0x463a8e[_0x556f63(0x14f)],'resolvedAt':_0x463a8e[_0x556f63(0x13f)],'resolvedBy':_0x463a8e[_0x556f63(0x162)]};},'reopenCommentThread':async({channelId:_0x480f73,threadId:_0x181f50})=>this[_0x5d1856(0x120)](_0x480f73)[_0x5d1856(0x142)](_0x181f50)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'removeCommentThread':({channelId:_0x297cf1,threadId:_0x1992ab})=>this[_0x5d1856(0x120)](_0x297cf1)[_0x5d1856(0x154)](_0x1992ab)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'addComment':({channelId:_0x5ab794,threadId:_0x733d8e,commentId:_0x358b56,content:_0x4e170a,attributes:_0x39ac46})=>this[_0x5d1856(0x120)](_0x5ab794)[_0x5d1856(0x164)](_0x733d8e,_0x358b56,_0x4e170a,_0x39ac46)[_0x5d1856(0x138)](R),'updateComment':({channelId:_0x2dca68,threadId:_0xa30cd,commentId:_0x531995,content:_0x368a19,attributes:_0x2b20b4})=>this[_0x5d1856(0x120)](_0x2dca68)[_0x5d1856(0x14d)](_0xa30cd,_0x531995,_0x368a19,_0x2b20b4)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'removeComment':({channelId:_0x5b791e,threadId:_0xb9a27f,commentId:_0x5e7fc6})=>this[_0x5d1856(0x120)](_0x5b791e)[_0x5d1856(0x115)](_0xb9a27f,_0x5e7fc6)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R)},_0x44ea97 instanceof _0x4fe04b){const _0x11d603=_0x44ea97[_0x5d1856(0x14a)][_0x5d1856(0x160)](_0x5d1856(0x11b)),_0x27590c=_0x44ea97[_0x5d1856(0x113)][_0x5d1856(0x160)](_0x4c1b65);await this[_0x5d1856(0x109)](_0x11d603);const _0x391c7e=await this[_0x5d1856(0x149)][_0x5d1856(0x160)](_0x11d603)[_0x5d1856(0x169)]();this[_0x5d1856(0x153)](_0x27590c,_0x5d1856(0x13c)+_0x11d603,(_0x74bcd1,{session:_0x4e919d})=>{const _0x149b22=_0x5d1856;_0x4e919d['id']===_0x27590c[_0x149b22(0x14b)]&&(_0x74bcd1[_0x149b22(0x11a)](),this[_0x149b22(0x15d)][_0x149b22(0x113)][_0x149b22(0x160)](_0x149b22(0x131))[_0x149b22(0x10f)](_0x4e919d[_0x149b22(0x14c)],_0x11d603));}),_0x27590c[_0x5d1856(0x122)](_0x11d603,_0x391c7e);}}async[_0x4673bc(0x109)](_0x2501dd){const _0x3e78b5=_0x4673bc;if(this[_0x3e78b5(0x149)][_0x3e78b5(0x157)](_0x2501dd))throw new _0x243a29(_0x3e78b5(0x150),null,{'channelId':_0x2501dd});const _0x143c69=this[_0x3e78b5(0x15d)][_0x3e78b5(0x113)][_0x3e78b5(0x160)](_0x3e78b5(0x168)),_0x229212=new a[(_0x3e78b5(0x11e))](_0x2501dd);this[_0x3e78b5(0x149)][_0x3e78b5(0x13e)](_0x2501dd,_0x229212),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x146),(_0x4965be,_0x66632e)=>{const _0x5a7dca=_0x3e78b5,{commentThreadId:_0x3c8cc3,documentId:_0xe43835,context:_0x80a3f0,attributes:_0x399873,resolvedAt:_0x27b338,resolvedBy:_0x38fda0,comments:_0x3f8ebd}=_0x66632e;_0x143c69[_0x5a7dca(0x141)](_0x3c8cc3)||_0x143c69[_0x5a7dca(0x123)]({'threadId':_0x3c8cc3,'channelId':_0xe43835,'comments':_0x3f8ebd?_0x3f8ebd[_0x5a7dca(0x15a)](S):[],'context':_0x80a3f0,'attributes':_0x399873,'resolvedAt':_0x27b338,'resolvedBy':_0x38fda0,'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x11d),(_0x1c6521,{commentThreadId:_0x376d7c,documentId:_0x4552da,context:_0x354317,unlinkedAt:_0x36f976,attributes:_0xb6cf99})=>{const _0x3e35e=_0x3e78b5;_0x143c69[_0x3e35e(0x141)](_0x376d7c)&&_0x143c69[_0x3e35e(0x13b)]({'threadId':_0x376d7c,'channelId':_0x4552da,'context':_0x354317,'unlinkedAt':_0x36f976,'attributes':_0xb6cf99,'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x148),(_0x28fe21,{commentThreadId:_0x68480d,resolvedBy:_0x23794e,resolvedAt:_0x3d329a})=>{const _0xccb3a6=_0x3e78b5,_0x4db058=_0x143c69[_0xccb3a6(0x141)](_0x68480d);_0x4db058&&_0x4db058[_0xccb3a6(0x130)]({'resolvedBy':_0x23794e,'resolvedAt':_0x3d329a,'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x12a),(_0x11ad94,{commentThreadId:_0x4d3010})=>{const _0x149415=_0x3e78b5,_0x1ce2c4=_0x143c69[_0x149415(0x141)](_0x4d3010);_0x1ce2c4&&_0x1ce2c4[_0x149415(0x114)]({'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x136),(_0x5574a2,{commentThreadId:_0x274693})=>{const _0x75f2d3=_0x3e78b5,_0x3efd10=_0x143c69[_0x75f2d3(0x141)](_0x274693);_0x3efd10&&_0x3efd10[_0x75f2d3(0x11c)]({'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x10c),(_0x24a0c2,_0x5a6193)=>{const _0x102182=_0x3e78b5,_0xb30b67=_0x5a6193[_0x102182(0x14f)],_0x496f37=_0x143c69[_0x102182(0x141)](_0xb30b67);_0x496f37&&_0x496f37[_0x102182(0x164)]({...S(_0x5a6193),'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x12d),(_0x14b4ac,{commentThreadId:_0x2c91bb,commentId:_0x5caab9,content:_0x1aaef8,attributes:_0x681270})=>{const _0x5ebbd0=_0x3e78b5,_0x247ad4=_0x143c69[_0x5ebbd0(0x141)](_0x2c91bb);if(_0x247ad4){const _0x2cc862=_0x247ad4[_0x5ebbd0(0x128)](_0x5caab9);_0x2cc862&&_0x2cc862[_0x5ebbd0(0x15b)]({'content':_0x1aaef8,'attributes':_0x681270,'isFromAdapter':!0x0});}}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x144),(_0x486c5e,{commentThreadId:_0x45a538,commentId:_0x2064b4})=>{const _0x5c287d=_0x3e78b5,_0x1924ac=_0x143c69[_0x5c287d(0x141)](_0x45a538);if(_0x1924ac){const _0x31cacd=_0x1924ac[_0x5c287d(0x128)](_0x2064b4);_0x31cacd&&_0x31cacd[_0x5c287d(0x11c)]({'isFromAdapter':!0x0});}}),await this[_0x3e78b5(0x15f)](_0x2501dd);}[_0x4673bc(0x137)](){const _0x211615=_0x4673bc;if(this[_0x211615(0x15d)]instanceof _0x4fe04b){const _0x359c54=this[_0x211615(0x15d)][_0x211615(0x14a)][_0x211615(0x160)](_0x211615(0x11b));this[_0x211615(0x116)](_0x359c54);}}[_0x4673bc(0x116)](_0xb843e0){const _0x333113=_0x4673bc;if(!this[_0x333113(0x149)][_0x333113(0x157)](_0xb843e0))throw new _0x243a29(_0x333113(0x167),null,{'channelId':_0xb843e0});this[_0x333113(0x120)](_0xb843e0)[_0x333113(0x158)](),this[_0x333113(0x149)][_0x333113(0x127)](_0xb843e0);}async[_0x4673bc(0x12b)](){const _0x3ec273=_0x4673bc;for(const _0x287935 of this[_0x3ec273(0x149)][_0x3ec273(0x159)]())await this[_0x3ec273(0x15f)](_0x287935);if(this[_0x3ec273(0x15d)]instanceof _0x4fe04b){const _0x2847e5=this[_0x3ec273(0x15d)][_0x3ec273(0x14a)][_0x3ec273(0x160)](_0x3ec273(0x11b)),_0x245b88=this[_0x3ec273(0x15d)][_0x3ec273(0x113)][_0x3ec273(0x160)](_0x4c1b65);_0x245b88[_0x3ec273(0x145)](_0x2847e5);const _0x343fdb=await this[_0x3ec273(0x149)][_0x3ec273(0x160)](_0x2847e5)[_0x3ec273(0x169)]();_0x245b88[_0x3ec273(0x122)](_0x2847e5,_0x343fdb);}}async[_0x4673bc(0x15f)](_0x2a78f8){const _0x2fe57c=_0x4673bc,{connection:_0x40a17c}=this[_0x2fe57c(0x15d)][_0x2fe57c(0x113)][_0x2fe57c(0x160)](_0x105da8),_0x5aebe5=this[_0x2fe57c(0x15d)][_0x2fe57c(0x113)][_0x2fe57c(0x160)](_0x2fe57c(0x168)),_0x4b14b1=this[_0x2fe57c(0x149)][_0x2fe57c(0x160)](_0x2a78f8),_0x5caa9d=await _0x4b14b1[_0x2fe57c(0x134)](_0x40a17c);await this[_0x2fe57c(0x161)](_0x5caa9d);const _0xc2461c=new Set(Array[_0x2fe57c(0x108)](_0x5aebe5[_0x2fe57c(0x13a)]({'channelId':_0x2a78f8}),_0x586aaf=>_0x586aaf['id']));for(const _0x2ce551 of _0x5caa9d)_0x2ce551[_0x2fe57c(0x10d)]||_0xc2461c[_0x2fe57c(0x127)](_0x2ce551[_0x2fe57c(0x14f)]);for(const _0x3e4adb of _0xc2461c)_0x5aebe5[_0x2fe57c(0x141)](_0x3e4adb)[_0x2fe57c(0x11c)]({'isFromAdapter':!0x0});for(const _0x701ffd of _0x5caa9d){let _0x2516d3=_0x5aebe5[_0x2fe57c(0x141)](_0x701ffd[_0x2fe57c(0x14f)]);const {commentThreadId:_0x4a7d36,context:_0x402201,attributes:_0x297dc0,resolvedBy:_0x5319f6,resolvedAt:_0x688a5e,unlinkedAt:_0x3fa07a,deletedAt:_0x4e7979}=_0x701ffd;if(_0x4e7979)continue;_0x2516d3||(_0x2516d3=_0x5aebe5[_0x2fe57c(0x123)]({'channelId':_0x2a78f8,'threadId':_0x4a7d36,'context':_0x402201,'attributes':_0x297dc0||{},'resolvedBy':_0x5319f6,'resolvedAt':_0x688a5e,'unlinkedAt':_0x3fa07a,'isFromAdapter':!0x0}));const _0xed0af=new Set(Array[_0x2fe57c(0x108)](_0x2516d3[_0x2fe57c(0x129)],_0x13c45f=>_0x13c45f['id']));for(const _0x109b2b of _0x701ffd[_0x2fe57c(0x129)])_0xed0af[_0x2fe57c(0x127)](_0x109b2b[_0x2fe57c(0x118)]);for(const _0x24b03b of _0xed0af)_0x2516d3[_0x2fe57c(0x128)](_0x24b03b)[_0x2fe57c(0x11c)]({'isFromAdapter':!0x0});for(const _0x23ad41 of _0x701ffd[_0x2fe57c(0x129)]){const _0xef2aab=_0x2516d3[_0x2fe57c(0x128)](_0x23ad41[_0x2fe57c(0x118)]);_0xef2aab?_0xef2aab[_0x2fe57c(0x165)]!==_0x23ad41[_0x2fe57c(0x165)]&&_0xef2aab[_0x2fe57c(0x15b)]({'content':_0x23ad41[_0x2fe57c(0x165)],'isFromAdapter':!0x0}):_0x2516d3[_0x2fe57c(0x164)](Object[_0x2fe57c(0x163)](S(_0x23ad41),{'isFromAdapter':!0x0}));}}}[_0x4673bc(0x120)](_0x34c378){const _0x48b6e9=_0x4673bc;if(!this[_0x48b6e9(0x149)][_0x48b6e9(0x157)](_0x34c378))throw new _0x243a29(_0x48b6e9(0x151),null,{'channelId':_0x34c378});return this[_0x48b6e9(0x149)][_0x48b6e9(0x160)](_0x34c378);}async[_0x4673bc(0x161)](_0x5cef7c){const _0x2c42c0=_0x4673bc,_0x3a3198=this[_0x2c42c0(0x15d)][_0x2c42c0(0x113)][_0x2c42c0(0x160)](_0x2d76fd),{connection:_0x486b76}=this[_0x2c42c0(0x15d)][_0x2c42c0(0x113)][_0x2c42c0(0x160)](_0x105da8),_0x53fa5f=new Set();for(const {resolvedBy:_0x1ebbd1,comments:_0x28b7b5}of _0x5cef7c){_0x1ebbd1&&!_0x3a3198[_0x2c42c0(0x119)](_0x1ebbd1)&&_0x53fa5f[_0x2c42c0(0x15e)](_0x1ebbd1);for(const {userId:_0x5c2b0d}of _0x28b7b5)_0x3a3198[_0x2c42c0(0x119)](_0x5c2b0d)||_0x53fa5f[_0x2c42c0(0x15e)](_0x5c2b0d);}if(0x0===_0x53fa5f[_0x2c42c0(0x132)])return;const _0x427dc3=await _0x3dcbcf[_0x2c42c0(0x121)](_0x486b76,Array[_0x2c42c0(0x108)](_0x53fa5f));for(const _0x24fa0b of _0x427dc3)_0x3a3198[_0x2c42c0(0x119)](_0x24fa0b['id'])||_0x3a3198[_0x2c42c0(0x10b)](_0x24fa0b);}}a[_0x4673bc(0x11e)]=_0x2096e4;export default a;async function B(_0x4bbd70){const _0x47512e=_0x4673bc;if(_0x47512e(0x156)!==_0x4bbd70[_0x47512e(0x111)])throw _0x4bbd70;}function R(_0x36ba03){const _0x4f4005=_0x4673bc;if((_0x28fbbd=_0x36ba03)[_0x4f4005(0x155)][_0x4f4005(0x110)](_0x4f4005(0x112))||_0x28fbbd[_0x4f4005(0x155)][_0x4f4005(0x110)](_0x4f4005(0x140))||_0x28fbbd[_0x4f4005(0x155)][_0x4f4005(0x110)](_0x4f4005(0x166)))return new Promise(()=>{});var _0x28fbbd;throw _0x36ba03;}function _0x2a0e(_0x677bd5,_0x1a5dd8){const _0x468599=_0x4685();return _0x2a0e=function(_0x2a0e8d,_0x3667df){_0x2a0e8d=_0x2a0e8d-0x108;let _0x1fc2d2=_0x468599[_0x2a0e8d];return _0x1fc2d2;},_0x2a0e(_0x677bd5,_0x1a5dd8);}function S(_0x38c2f9){const _0xe097a7=_0x4673bc;return{'threadId':_0x38c2f9[_0xe097a7(0x14f)],'commentId':_0x38c2f9[_0xe097a7(0x118)],'content':_0x38c2f9[_0xe097a7(0x165)],'createdAt':_0x38c2f9[_0xe097a7(0x14e)],'authorId':_0x38c2f9[_0xe097a7(0x133)],'attributes':_0x38c2f9[_0xe097a7(0x12c)]||{}};}
|
|
23
|
+
const _0x4f8acf=_0x50b9;(function(_0x4d6e53,_0x1d1a91){const _0x1c2083=_0x50b9,_0x5e0246=_0x4d6e53();while(!![]){try{const _0xe8e61c=-parseInt(_0x1c2083(0xbc))/0x1*(-parseInt(_0x1c2083(0xb5))/0x2)+-parseInt(_0x1c2083(0xa6))/0x3*(-parseInt(_0x1c2083(0xdf))/0x4)+-parseInt(_0x1c2083(0xe2))/0x5+-parseInt(_0x1c2083(0x9b))/0x6+-parseInt(_0x1c2083(0xbd))/0x7*(parseInt(_0x1c2083(0xb2))/0x8)+-parseInt(_0x1c2083(0xb0))/0x9+-parseInt(_0x1c2083(0x96))/0xa*(-parseInt(_0x1c2083(0xbf))/0xb);if(_0xe8e61c===_0x1d1a91)break;else _0x5e0246['push'](_0x5e0246['shift']());}catch(_0x272721){_0x5e0246['push'](_0x5e0246['shift']());}}}(_0x49e1,0x75b43));import{Context as _0x1ded79,ContextPlugin as _0x19543c}from'ckeditor5/src/core.js';import{CKEditorError as _0x1920be}from'ckeditor5/src/utils.js';import{Users as _0x5d4ca7}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x151514,User as _0x5b69b2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4f5296 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2c5c83 from'../realtimecollaborativeediting/sessions.js';class a extends _0x19543c{static get[_0x4f8acf(0xc6)](){const _0x532074=_0x4f8acf;return[_0x4f5296,_0x532074(0xa0),_0x2c5c83,_0x5d4ca7];}static get[_0x4f8acf(0x9e)](){const _0x544b1e=_0x4f8acf;return _0x544b1e(0x9a);}static get[_0x4f8acf(0xc5)](){return!0x0;}static get[_0x4f8acf(0x8d)](){return!0x0;}constructor(_0x2c8705){const _0x63884d=_0x4f8acf;super(_0x2c8705),this[_0x63884d(0xe0)]=new Map();}async[_0x4f8acf(0xa4)](){const _0xb67ede=_0x4f8acf,_0x40ed98=this[_0xb67ede(0xe4)],_0x318069=_0x40ed98[_0xb67ede(0xd2)][_0xb67ede(0xd4)](_0xb67ede(0xa0));if(_0x40ed98[_0xb67ede(0xd2)][_0xb67ede(0xd4)](_0x4f5296)[_0xb67ede(0xd6)](this),_0x318069[_0xb67ede(0x92)]={'addCommentThread':async({channelId:_0x52d6b4,threadId:_0x29a152,comments:_0x3b3cbc,resolvedAt:_0x22c9a9,resolvedBy:_0x1a8aa5,context:_0x385321,attributes:_0x4136c2})=>{const _0x151e2b=_0xb67ede,_0x6e46e0=await this[_0x151e2b(0xb9)](_0x52d6b4)[_0x151e2b(0xa1)]({'commentThreadId':_0x29a152,'comments':_0x3b3cbc[_0x151e2b(0x8c)](_0x204bf6=>function(_0x3f683e,_0x39b364,_0x41128f){const _0x1a0b41=_0x151e2b;return{'commentThreadId':_0x41128f,'commentId':_0x3f683e[_0x1a0b41(0xb6)],'userId':_0x3f683e[_0x1a0b41(0xa2)],'content':_0x3f683e[_0x1a0b41(0xde)],'documentId':_0x39b364,'createdAt':_0x3f683e[_0x1a0b41(0xc1)],'attributes':_0x3f683e[_0x1a0b41(0xa8)]||{}};}(_0x204bf6,_0x52d6b4,_0x29a152)),'resolvedAt':_0x22c9a9,'resolvedBy':_0x1a8aa5,'context':_0x385321,'attributes':_0x4136c2})[_0x151e2b(0xc0)](w);return{'threadId':_0x6e46e0[_0x151e2b(0xeb)],'comments':_0x6e46e0[_0x151e2b(0xcf)]};},'getCommentThread':async({channelId:_0x478432,threadId:_0x5010a})=>{const _0x528690=_0xb67ede,_0x507dbd=await this[_0x528690(0xb9)](_0x478432)[_0x528690(0xdc)](_0x5010a)[_0x528690(0xc0)](w);return _0x507dbd[_0x528690(0xe7)]?null:(await this[_0x528690(0xef)]([_0x507dbd]),{'threadId':_0x507dbd[_0x528690(0xeb)],'comments':_0x507dbd[_0x528690(0xcf)][_0x528690(0x8c)](b),'context':_0x507dbd[_0x528690(0xe4)],'resolvedAt':_0x507dbd[_0x528690(0x91)],'resolvedBy':_0x507dbd[_0x528690(0xbe)],'attributes':_0x507dbd[_0x528690(0xa8)]||{}});},'updateCommentThread':async({channelId:_0x364d95,threadId:_0xd5c77a,context:_0x57567a,unlinkedAt:_0x5e367a,attributes:_0xb87546})=>this[_0xb67ede(0xb9)](_0x364d95)[_0xb67ede(0xb8)]({'commentThreadId':_0xd5c77a,'context':_0x57567a,'attributes':_0xb87546,'unlinkedAt':_0x5e367a})[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'resolveCommentThread':async({channelId:_0x5cb2d6,threadId:_0x26d9ad})=>{const _0x27aa54=_0xb67ede,_0x27011e=await this[_0x27aa54(0xb9)](_0x5cb2d6)[_0x27aa54(0xed)](_0x26d9ad)[_0x27aa54(0xc0)](y)[_0x27aa54(0xc0)](w);return{'threadId':_0x27011e[_0x27aa54(0xeb)],'resolvedAt':_0x27011e[_0x27aa54(0x91)],'resolvedBy':_0x27011e[_0x27aa54(0xbe)]};},'reopenCommentThread':async({channelId:_0x32ae1e,threadId:_0x51ac09})=>this[_0xb67ede(0xb9)](_0x32ae1e)[_0xb67ede(0x95)](_0x51ac09)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'removeCommentThread':({channelId:_0x378e51,threadId:_0x4dbb45})=>this[_0xb67ede(0xb9)](_0x378e51)[_0xb67ede(0xe8)](_0x4dbb45)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'addComment':({channelId:_0x2ef181,threadId:_0x2a368a,commentId:_0x4a1825,content:_0x3f9270,attributes:_0x2a8036})=>this[_0xb67ede(0xb9)](_0x2ef181)[_0xb67ede(0xa7)](_0x2a368a,_0x4a1825,_0x3f9270,_0x2a8036)[_0xb67ede(0xc0)](w),'updateComment':({channelId:_0x531aff,threadId:_0x25e239,commentId:_0xafaf52,content:_0x3665db,attributes:_0x172d48})=>this[_0xb67ede(0xb9)](_0x531aff)[_0xb67ede(0x98)](_0x25e239,_0xafaf52,_0x3665db,_0x172d48)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'removeComment':({channelId:_0x439096,threadId:_0x30e30a,commentId:_0x1c3050})=>this[_0xb67ede(0xb9)](_0x439096)[_0xb67ede(0xc9)](_0x30e30a,_0x1c3050)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w)},_0x40ed98 instanceof _0x1ded79){const _0x1bc081=_0x40ed98[_0xb67ede(0xdb)][_0xb67ede(0xd4)](_0xb67ede(0xba)),_0x32616c=_0x40ed98[_0xb67ede(0xd2)][_0xb67ede(0xd4)](_0x2c5c83);await this[_0xb67ede(0xb1)](_0x1bc081);const _0x24176d=await this[_0xb67ede(0xe0)][_0xb67ede(0xd4)](_0x1bc081)[_0xb67ede(0xa5)]();this[_0xb67ede(0xda)](_0x32616c,_0xb67ede(0xe6)+_0x1bc081,(_0x7eca76,{session:_0x252d79})=>{const _0x847a34=_0xb67ede;_0x252d79['id']===_0x32616c[_0x847a34(0x9d)]&&(_0x7eca76[_0x847a34(0xcd)](),this[_0x847a34(0xe4)][_0x847a34(0xd2)][_0x847a34(0xd4)](_0x847a34(0xb7))[_0x847a34(0xd3)](_0x252d79[_0x847a34(0xea)],_0x1bc081));}),_0x32616c[_0xb67ede(0xd1)](_0x1bc081,_0x24176d);}}async[_0x4f8acf(0xb1)](_0x566e98){const _0x1de483=_0x4f8acf;if(this[_0x1de483(0xe0)][_0x1de483(0xd9)](_0x566e98))throw new _0x1920be(_0x1de483(0xc4),null,{'channelId':_0x566e98});const _0x444cb5=this[_0x1de483(0xe4)][_0x1de483(0xd2)][_0x1de483(0xd4)](_0x1de483(0xa0)),_0x58b059=new a[(_0x1de483(0xc7))](_0x566e98);this[_0x1de483(0xe0)][_0x1de483(0xab)](_0x566e98,_0x58b059),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xca),(_0xd1e5a6,_0x166d64)=>{const _0x49dbfc=_0x1de483,{commentThreadId:_0x10e9c3,documentId:_0x991101,context:_0x4a8aa8,attributes:_0x38c786,resolvedAt:_0x37a698,resolvedBy:_0x4dab3c,comments:_0x185f1b}=_0x166d64;_0x444cb5[_0x49dbfc(0xdc)](_0x10e9c3)||_0x444cb5[_0x49dbfc(0xa1)]({'threadId':_0x10e9c3,'channelId':_0x991101,'comments':_0x185f1b?_0x185f1b[_0x49dbfc(0x8c)](b):[],'context':_0x4a8aa8,'attributes':_0x38c786,'resolvedAt':_0x37a698,'resolvedBy':_0x4dab3c,'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0x9f),(_0xd93c25,{commentThreadId:_0x3f27cf,documentId:_0x2ddf97,context:_0x18f365,unlinkedAt:_0x5a2715,attributes:_0x54b129})=>{const _0x1102be=_0x1de483;_0x444cb5[_0x1102be(0xdc)](_0x3f27cf)&&_0x444cb5[_0x1102be(0xb8)]({'threadId':_0x3f27cf,'channelId':_0x2ddf97,'context':_0x18f365,'unlinkedAt':_0x5a2715,'attributes':_0x54b129,'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xac),(_0x310188,{commentThreadId:_0x49314f,resolvedBy:_0xb721b6,resolvedAt:_0x1fe618})=>{const _0x9d0a6b=_0x1de483,_0x36e56e=_0x444cb5[_0x9d0a6b(0xdc)](_0x49314f);_0x36e56e&&_0x36e56e[_0x9d0a6b(0xe9)]({'resolvedBy':_0xb721b6,'resolvedAt':_0x1fe618,'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xe1),(_0x1c8bab,{commentThreadId:_0x1fa484})=>{const _0x5864c6=_0x1de483,_0x19e4d0=_0x444cb5[_0x5864c6(0xdc)](_0x1fa484);_0x19e4d0&&_0x19e4d0[_0x5864c6(0xb3)]({'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0x8e),(_0xb80b1a,{commentThreadId:_0x509224})=>{const _0x25b63b=_0x1de483,_0x3ede23=_0x444cb5[_0x25b63b(0xdc)](_0x509224);_0x3ede23&&_0x3ede23[_0x25b63b(0xce)]({'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0x93),(_0x104790,_0x4bdbea)=>{const _0x15aa5b=_0x1de483,_0x171bc7=_0x4bdbea[_0x15aa5b(0xeb)],_0x37d852=_0x444cb5[_0x15aa5b(0xdc)](_0x171bc7);_0x37d852&&_0x37d852[_0x15aa5b(0xa7)]({...b(_0x4bdbea),'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xe3),(_0x2839a8,{commentThreadId:_0x197eb0,commentId:_0xc02bb4,content:_0x2abfcf,attributes:_0xb22cbc})=>{const _0x3f9c91=_0x1de483,_0x126c74=_0x444cb5[_0x3f9c91(0xdc)](_0x197eb0);if(_0x126c74){const _0x2d36df=_0x126c74[_0x3f9c91(0x94)](_0xc02bb4);_0x2d36df&&_0x2d36df[_0x3f9c91(0x9c)]({'content':_0x2abfcf,'attributes':_0xb22cbc,'isFromAdapter':!0x0});}}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xbb),(_0x535e2c,{commentThreadId:_0x32008d,commentId:_0x5ceb17})=>{const _0x32decf=_0x1de483,_0x13f0c5=_0x444cb5[_0x32decf(0xdc)](_0x32008d);if(_0x13f0c5){const _0x290eaf=_0x13f0c5[_0x32decf(0x94)](_0x5ceb17);_0x290eaf&&_0x290eaf[_0x32decf(0xce)]({'isFromAdapter':!0x0});}}),await this[_0x1de483(0xa3)](_0x566e98);}[_0x4f8acf(0x97)](){const _0x4a4848=_0x4f8acf;if(this[_0x4a4848(0xe4)]instanceof _0x1ded79){const _0x27fd=this[_0x4a4848(0xe4)][_0x4a4848(0xdb)][_0x4a4848(0xd4)](_0x4a4848(0xba));this[_0x4a4848(0xc8)](_0x27fd);}}[_0x4f8acf(0xc8)](_0x29b0b0){const _0x1e3a4e=_0x4f8acf;if(!this[_0x1e3a4e(0xe0)][_0x1e3a4e(0xd9)](_0x29b0b0))throw new _0x1920be(_0x1e3a4e(0x99),null,{'channelId':_0x29b0b0});this[_0x1e3a4e(0xb9)](_0x29b0b0)[_0x1e3a4e(0xf0)](),this[_0x1e3a4e(0xe0)][_0x1e3a4e(0x8f)](_0x29b0b0);}async[_0x4f8acf(0xc3)](){const _0x5a2381=_0x4f8acf;for(const _0x5b7654 of this[_0x5a2381(0xe0)][_0x5a2381(0xd8)]())await this[_0x5a2381(0xa3)](_0x5b7654);if(this[_0x5a2381(0xe4)]instanceof _0x1ded79){const _0x58fd7e=this[_0x5a2381(0xe4)][_0x5a2381(0xdb)][_0x5a2381(0xd4)](_0x5a2381(0xba)),_0x46ef6e=this[_0x5a2381(0xe4)][_0x5a2381(0xd2)][_0x5a2381(0xd4)](_0x2c5c83);_0x46ef6e[_0x5a2381(0xdd)](_0x58fd7e);const _0x51e117=await this[_0x5a2381(0xe0)][_0x5a2381(0xd4)](_0x58fd7e)[_0x5a2381(0xa5)]();_0x46ef6e[_0x5a2381(0xd1)](_0x58fd7e,_0x51e117);}}async[_0x4f8acf(0xa3)](_0x1d354f){const _0x345b28=_0x4f8acf,{connection:_0x125a24}=this[_0x345b28(0xe4)][_0x345b28(0xd2)][_0x345b28(0xd4)](_0x4f5296),_0x234058=this[_0x345b28(0xe4)][_0x345b28(0xd2)][_0x345b28(0xd4)](_0x345b28(0xa0)),_0x1e6249=this[_0x345b28(0xe0)][_0x345b28(0xd4)](_0x1d354f),_0x44724a=await _0x1e6249[_0x345b28(0xad)](_0x125a24);await this[_0x345b28(0xef)](_0x44724a);const _0x5f3f39=new Set(Array[_0x345b28(0xaf)](_0x234058[_0x345b28(0x90)]({'channelId':_0x1d354f}),_0x328448=>_0x328448['id']));for(const _0x27df53 of _0x44724a)_0x27df53[_0x345b28(0xe7)]||_0x5f3f39[_0x345b28(0x8f)](_0x27df53[_0x345b28(0xeb)]);for(const _0x306a1a of _0x5f3f39)_0x234058[_0x345b28(0xdc)](_0x306a1a)[_0x345b28(0xce)]({'isFromAdapter':!0x0});for(const _0x35c7f3 of _0x44724a){let _0x3efd61=_0x234058[_0x345b28(0xdc)](_0x35c7f3[_0x345b28(0xeb)]);const {commentThreadId:_0x118fe2,context:_0x332ba2,attributes:_0x1409e1,resolvedBy:_0x252dbb,resolvedAt:_0x36029d,unlinkedAt:_0x2a06d2,deletedAt:_0x58333e}=_0x35c7f3;if(_0x58333e)continue;_0x3efd61||(_0x3efd61=_0x234058[_0x345b28(0xa1)]({'channelId':_0x1d354f,'threadId':_0x118fe2,'context':_0x332ba2,'attributes':_0x1409e1||{},'resolvedBy':_0x252dbb,'resolvedAt':_0x36029d,'unlinkedAt':_0x2a06d2,'isFromAdapter':!0x0}));const _0x463214=new Set(Array[_0x345b28(0xaf)](_0x3efd61[_0x345b28(0xcf)],_0x31eae7=>_0x31eae7['id']));for(const _0x61b561 of _0x35c7f3[_0x345b28(0xcf)])_0x463214[_0x345b28(0x8f)](_0x61b561[_0x345b28(0xb6)]);for(const _0x3a2840 of _0x463214)_0x3efd61[_0x345b28(0x94)](_0x3a2840)[_0x345b28(0xce)]({'isFromAdapter':!0x0});for(const _0x6ec5dd of _0x35c7f3[_0x345b28(0xcf)]){const _0x3495f4=_0x3efd61[_0x345b28(0x94)](_0x6ec5dd[_0x345b28(0xb6)]);_0x3495f4?_0x3495f4[_0x345b28(0xde)]!==_0x6ec5dd[_0x345b28(0xde)]&&_0x3495f4[_0x345b28(0x9c)]({'content':_0x6ec5dd[_0x345b28(0xde)],'isFromAdapter':!0x0}):_0x3efd61[_0x345b28(0xa7)](Object[_0x345b28(0xf1)](b(_0x6ec5dd),{'isFromAdapter':!0x0}));}}}[_0x4f8acf(0xb9)](_0x403177){const _0x4da693=_0x4f8acf;if(!this[_0x4da693(0xe0)][_0x4da693(0xd9)](_0x403177))throw new _0x1920be(_0x4da693(0xcb),null,{'channelId':_0x403177});return this[_0x4da693(0xe0)][_0x4da693(0xd4)](_0x403177);}async[_0x4f8acf(0xef)](_0x366a12){const _0x557eed=_0x4f8acf,_0x493658=this[_0x557eed(0xe4)][_0x557eed(0xd2)][_0x557eed(0xd4)](_0x5d4ca7),{connection:_0x2f3f79}=this[_0x557eed(0xe4)][_0x557eed(0xd2)][_0x557eed(0xd4)](_0x4f5296),_0x32e73a=new Set();for(const {resolvedBy:_0x1c6cd4,comments:_0x178a53}of _0x366a12){_0x1c6cd4&&!_0x493658[_0x557eed(0xc2)](_0x1c6cd4)&&_0x32e73a[_0x557eed(0xaa)](_0x1c6cd4);for(const {userId:_0xf13c41}of _0x178a53)_0x493658[_0x557eed(0xc2)](_0xf13c41)||_0x32e73a[_0x557eed(0xaa)](_0xf13c41);}if(0x0===_0x32e73a[_0x557eed(0xf2)])return;const _0x4d3dec=await _0x5b69b2[_0x557eed(0xcc)](_0x2f3f79,Array[_0x557eed(0xaf)](_0x32e73a));for(const _0x33dc30 of _0x4d3dec)_0x493658[_0x557eed(0xc2)](_0x33dc30['id'])||_0x493658[_0x557eed(0xd7)](_0x33dc30);}}a[_0x4f8acf(0xc7)]=_0x151514;export default a;async function y(_0x4c44ac){const _0x455e3d=_0x4f8acf;if(_0x455e3d(0xd5)!==_0x4c44ac[_0x455e3d(0xd0)])throw _0x4c44ac;}function _0x50b9(_0x3206e9,_0x9f455){const _0x49e1de=_0x49e1();return _0x50b9=function(_0x50b925,_0x19be9c){_0x50b925=_0x50b925-0x8c;let _0x360b45=_0x49e1de[_0x50b925];return _0x360b45;},_0x50b9(_0x3206e9,_0x9f455);}function w(_0x4a5cbc){const _0xc9efd4=_0x4f8acf;if((_0x1af2c8=_0x4a5cbc)[_0xc9efd4(0xa9)][_0xc9efd4(0xb4)](_0xc9efd4(0xee))||_0x1af2c8[_0xc9efd4(0xa9)][_0xc9efd4(0xb4)](_0xc9efd4(0xec))||_0x1af2c8[_0xc9efd4(0xa9)][_0xc9efd4(0xb4)](_0xc9efd4(0xae)))return new Promise(()=>{});var _0x1af2c8;throw _0x4a5cbc;}function _0x49e1(){const _0x86d126=['cloudservicescommentsadapter-service-not-exist','getMany','off','remove','comments','code','register','plugins','setPermissions','get','404','addToReconnectionStack','addUser','keys','has','listenTo','config','getCommentThread','unregister','content','3868PeMxpq','_services','commentThreadReopened','4595880diHWWP','commentUpdated','context','userId','sessionAdd:','deletedAt','removeCommentThread','resolve','permissions','commentThreadId','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_fetchMissingUsersForThreads','disconnect','assign','size','map','isPremiumPlugin','commentThreadRemoved','delete','getCommentThreads','resolvedAt','adapter','commentAdded','getComment','reopenCommentThread','70DGtfgb','destroy','updateComment','cloudservicescommentsadapter-disconnect-not-exist','CloudServicesCommentsAdapter','972276tVUBsy','update','mySessionId','pluginName','commentThreadUpdated','CommentsRepository','addCommentThread','authorId','_connectService','init','getConnectedSessions','1629huiZhF','addComment','attributes','message','add','set','commentThreadResolved','connect','cloud-services-internal-error:\x20Request\x20timeout.','from','6817707ZjWSQj','_setUpService','84232rtTmEw','reopen','startsWith','374RbBJQj','commentId','Permissions','updateCommentThread','_getService','collaboration.channelId','commentRemoved','2907fWRndJ','77HVDiRM','resolvedBy','2149697fpxWBs','catch','createdAt','getUser','reconnect','cloudservicescommentsadapter-connect-already-connected','isOfficialPlugin','requires','CommentsService','_terminateService','removeComment','commentThreadAdded'];_0x49e1=function(){return _0x86d126;};return _0x49e1();}function b(_0x4b7404){const _0x4129ce=_0x4f8acf;return{'threadId':_0x4b7404[_0x4129ce(0xeb)],'commentId':_0x4b7404[_0x4129ce(0xb6)],'content':_0x4b7404[_0x4129ce(0xde)],'createdAt':_0x4b7404[_0x4129ce(0xc1)],'authorId':_0x4b7404[_0x4129ce(0xe5)],'attributes':_0x4b7404[_0x4129ce(0xa8)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4edb(){const _0x1675f5=['editor','1341zmRkrs','connected','5793300RZlKRe','once','change:state','7212HbUgjO','plugins','947wTromc','isOfficialPlugin','destroy','CommentsEditing','34950520NmtVEI','ready','listenTo','data','RealTimeCollaborativeComments','847iTMdcr','config','4991110UlIrXp','isPremiumPlugin','isThreadsLoadingPaused','_terminateService','17472nFGYhJ','Comments','switchReadOnly','30333mzTFbf','get','requires','224kzukpE','10CIBYkM','_setUpService','pluginName','CommentsRepository','init','collaboration.channelId'];_0x4edb=function(){return _0x1675f5;};return _0x4edb();}function _0x4642(_0x2d2e57,_0x32aa5a){const _0x4edbab=_0x4edb();return _0x4642=function(_0x464284,_0x335d31){_0x464284=_0x464284-0xb1;let _0x159d46=_0x4edbab[_0x464284];return _0x159d46;},_0x4642(_0x2d2e57,_0x32aa5a);}const _0x4c52f0=_0x4642;(function(_0x39352f,_0x2e484d){const _0x3462a7=_0x4642,_0x4c8f46=_0x39352f();while(!![]){try{const _0x530bce=parseInt(_0x3462a7(0xcc))/0x1*(-parseInt(_0x3462a7(0xbe))/0x2)+-parseInt(_0x3462a7(0xba))/0x3*(parseInt(_0x3462a7(0xbd))/0x4)+-parseInt(_0x3462a7(0xb3))/0x5+parseInt(_0x3462a7(0xca))/0x6*(parseInt(_0x3462a7(0xb1))/0x7)+-parseInt(_0x3462a7(0xb7))/0x8*(parseInt(_0x3462a7(0xc5))/0x9)+-parseInt(_0x3462a7(0xc7))/0xa+parseInt(_0x3462a7(0xd0))/0xb;if(_0x530bce===_0x2e484d)break;else _0x4c8f46['push'](_0x4c8f46['shift']());}catch(_0x4d71ac){_0x4c8f46['push'](_0x4c8f46['shift']());}}}(_0x4edb,0xcf3cb));import{Plugin as _0x5eac94}from'ckeditor5/src/core.js';import _0xb9faaf from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x17eec2 from'./realtimecollaborativeediting.js';import _0x294fb9 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5eac94{static get[_0x4c52f0(0xbc)](){const _0x58271a=_0x4c52f0;return[_0x58271a(0xb8),_0xb9faaf,_0x17eec2,_0x294fb9];}static get[_0x4c52f0(0xc0)](){const _0x50e224=_0x4c52f0;return _0x50e224(0xd4);}static get[_0x4c52f0(0xcd)](){return!0x0;}static get[_0x4c52f0(0xb4)](){return!0x0;}[_0x4c52f0(0xc2)](){const _0xfe4418=_0x4c52f0,_0x43c827=this[_0xfe4418(0xc4)][_0xfe4418(0xcb)][_0xfe4418(0xbb)](_0x294fb9),_0x3e5eb9=this[_0xfe4418(0xc4)][_0xfe4418(0xcb)][_0xfe4418(0xbb)](_0xfe4418(0xcf)),_0x543e8a=this[_0xfe4418(0xc4)][_0xfe4418(0xcb)][_0xfe4418(0xbb)](_0xb9faaf);return this[_0xfe4418(0xc4)][_0xfe4418(0xd3)][_0xfe4418(0xc8)](_0xfe4418(0xd1),()=>{const _0x586957=_0xfe4418;this[_0x586957(0xd2)](_0x43c827,_0x586957(0xc9),(_0x1e69a2,_0x22c68a,_0x5e1d75)=>{const _0x43b121=_0x586957;_0x3e5eb9[_0x43b121(0xb5)]=_0x43b121(0xc6)!==_0x5e1d75;});}),this[_0xfe4418(0xd2)](_0x43c827,_0xfe4418(0xc9),(_0xa59d3e,_0x585112,_0xc3d99e)=>{const _0x26f31d=_0xfe4418;this[_0x26f31d(0xc4)][_0x26f31d(0xcb)][_0x26f31d(0xbb)](_0x26f31d(0xc1))[_0x26f31d(0xb9)](_0x26f31d(0xc6)!==_0xc3d99e);}),_0x543e8a[_0xfe4418(0xbf)](this[_0xfe4418(0xc4)][_0xfe4418(0xb2)][_0xfe4418(0xbb)](_0xfe4418(0xc3)));}[_0x4c52f0(0xce)](){const _0x4af8af=_0x4c52f0;this[_0x4af8af(0xc4)][_0x4af8af(0xcb)][_0x4af8af(0xbb)](_0xb9faaf)[_0x4af8af(0xb6)](this[_0x4af8af(0xc4)][_0x4af8af(0xb2)][_0x4af8af(0xbb)](_0x4af8af(0xc3))),super[_0x4af8af(0xce)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2601e3=_0x398b;(function(_0x119f1a,_0x14d9c6){const _0x55858c=_0x398b,_0x5e5ecb=_0x119f1a();while(!![]){try{const _0x2afc1a=-parseInt(_0x55858c(0xe3))/0x1*(-parseInt(_0x55858c(0x154))/0x2)+-parseInt(_0x55858c(0x1a7))/0x3+parseInt(_0x55858c(0xdf))/0x4*(-parseInt(_0x55858c(0x16c))/0x5)+-parseInt(_0x55858c(0x18a))/0x6*(-parseInt(_0x55858c(0x168))/0x7)+-parseInt(_0x55858c(0x148))/0x8*(-parseInt(_0x55858c(0x160))/0x9)+-parseInt(_0x55858c(0x18d))/0xa*(parseInt(_0x55858c(0xcf))/0xb)+parseInt(_0x55858c(0xeb))/0xc;if(_0x2afc1a===_0x14d9c6)break;else _0x5e5ecb['push'](_0x5e5ecb['shift']());}catch(_0x2b7eab){_0x5e5ecb['push'](_0x5e5ecb['shift']());}}}(_0x4a9f,0x63f56));import{Plugin as _0x1454fc,PendingActions as _0x588f52}from'ckeditor5/src/core.js';import{CKEditorError as _0x36a032,version as _0xb459a2,uid as _0x33b4c8}from'ckeditor5/src/utils.js';import{Notification as _0x4eb093}from'ckeditor5/src/ui.js';import{transformSets as _0x8173d0,NoOperation as _0x345fae,InsertOperation as _0x584682,MarkerOperation as _0x392b88,RootAttributeOperation as _0x481be6,OperationFactory as _0x4c0143,History as _0x514ca9}from'ckeditor5/src/engine.js';import _0x404b09 from'./websocketgateway.js';import _0x2f15eb from'./sessions.js';import _0x566b5a from'./usermarkers.js';import{getTranslation as _0x4fc151}from'../common-translations.js';function _0x4a9f(){const _0x417928=['addToReconnectionStack','_hasSelectionChanged','_handleSendingSelectionMarkers','_handleInitialConnectionData','getUser','Permissions','2072609drGRkV','_shouldSendUpdate','connected','batch','20ZUBwof','end','_lastServerVersion','_bufferRootLoad','targetPosition','getOperationAuthor','_lastSyncedOperationId','lastOperationAcceptedAt','entries','high','rtc-destroyed','permissions','_updateServerHistory','getOperations','init','insert','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.','isUndoneOperation','realtimecollaborationclient-init-service-internal-error','_currentBufferDelay','_knownRootNames','roots','applyOperation','_handleReconnectionError','sessionId','multi-root-editor-root-attributes-no-root','loadRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_crash','$root','6xeQQNQ','realtimecollaborationclient-handleserverresponse','affectedSelectable','4403540gzZxcv','bind','requires','lastOperationId','cloud-services-internal-error:\x20Request\x20timeout.','ready','operationsReceived','editor','_operationIdentifier','directChange','collaboration','addOperation','register','unregister','getIdOfTheLastOperation','locale','_compressOperations','add','model','_document','_connectService','createdAt','rtc-offline','change:hasDomSelection','_baseBufferDelay','set','786285RfylKR','size','createRoot','catch','_pendingAction','cloudServices.bundleVersion','lastSyncVersion','createPositionFromPath','includes','apply','collaboration-missing-channelid','disableReadOnlyMode','realtimecollaborationclient-sendbufferedoperations','Synchronization\x20issue','setPermissions','stopListening','reconnection:\x20flushed\x20session','getMany','plugins','destroy','config','showWarning','history','_operationToId','length','selection','offset','start','rootName','round','isReadOnly','realtimecollaborationclient-init-document-already-initialized','_handleReceivedOperations','_fetchMissingUsers','define','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.','cloudDocumentVersion','cs:removeUser','message','isOfficialPlugin','currentDocumentSession','return','_isPendingUpdate','type','push','view','_disconnectService','_channelId','11mWYgsR','__className','createRange','metadata','CollaborativeEditingService','RealTimeCollaborationClient','change:_isPendingUpdate','sendOperations','_handleExternalOperations','error','reset','move','marker','connection','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-init-session-connection-error','470564GVACAf','pluginName','real-time-collaboration','baseVersion','5WMeXoI','_isInit','userId','_hasSynchronizationProblem','finally','enqueueChange','rootsAttributes','addUser','7479372MUihUp','forEach','listenTo','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isPremiumPlugin','_compressor','createUserMarkerOperations','_initThrowingOnDataSet','reconnect','_applyOperationsSet','filter','_knownOperations','_sendBufferedOperationsDelayed','_ignoredOperations','_loadRoot','root','newRange','cloud-services-internal-error:\x20Not\x20connected.','isDocumentOperation','mySessionId','affectsData','version','differ','fire','_setUpDataInit','_isConnected','_clearPendingAction','keys','PENDING_ACTION_SENDING_DATA','_service','editing','document','path','addRoot','_sendBufferedOperations','markers','realtimecollaborationclient','InsertOperation','_connectAfterSessionHasBeenFlushed','compress','from','CommentsOnly','getConnectedSessions','lastDocumentSession','_disconnectionOperations','collaboration.channelId','_isLoaded','startsWith','removeFromReconnectionStack','_isEditingAllowed','map','string','_refreshUserSelectionMarkers','attributes','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createPositionAt','_saveOperationInBuffer','position','decompress','clone','_isDisconnection','_offset','code','_waitUntilSynced','state','_initSessionsHandling','_bufferedOperations','_setPendingAction','remove','enableReadOnlyMode','data','_authorId','fromJSON','document:write','_getAffectedRoot','channelSessions','_handleReconnectionResponse','stop','_sendBufferedOperationsDelayId','addRootAttribute','wasUndone','_getOperationsFromInitData','409','slice','404','suppressErrorInCollaboration','toJSON','_shouldSendSelectionUpdate','connect','_isAttached','sessionAdd:','setIdForTheLastOperation','85984KXreRt','_handleServerResponse','getRoot','Notification','isEnabled','realtimecollaborationclient-init-connection-failed','get','parse','getDocumentDetails','wereChangesApplied','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','initData','28774DAJVOV','has','realtimecollaborationclient-init-non-existent-root','_addKnownRoot','disconnected','off','sessionCreatedAt','_decompressOperations','change:_isEditingAllowed','disconnect','change:range','then','495fVyFQU','realtimecollaborationclient-error'];_0x4a9f=function(){return _0x417928;};return _0x4a9f();}import{Compressor as _0x2c62ae}from'@ckeditor/ckeditor5-operations-compressor';function _0x398b(_0x7fbe31,_0x35686d){const _0x4a9f82=_0x4a9f();return _0x398b=function(_0x398b8b,_0x2e4a27){_0x398b8b=_0x398b8b-0xc2;let _0xa1348b=_0x4a9f82[_0x398b8b];return _0xa1348b;},_0x398b(_0x7fbe31,_0x35686d);}import{Users as _0x33039e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4ec876,CollaborativeEditingService as _0x1cf5dc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1454fc{static get[_0x2601e3(0x18f)](){return[_0x404b09,_0x2f15eb,_0x566b5a,_0x588f52,_0x33039e,_0x4eb093];}static get[_0x2601e3(0xe0)](){const _0x4cf3db=_0x2601e3;return _0x4cf3db(0xd4);}static get[_0x2601e3(0xc6)](){return!0x0;}static get[_0x2601e3(0xef)](){return!0x0;}get[_0x2601e3(0xc3)](){const _0x2d98e8=_0x2601e3;return this[_0x2d98e8(0x16e)]+this[_0x2d98e8(0x129)];}get[_0x2601e3(0x16e)](){const _0x383aea=_0x2601e3;return this[_0x383aea(0x121)][_0x383aea(0x100)]-this[_0x383aea(0x129)];}get[_0x2601e3(0x1ad)](){const _0x29efd7=_0x2601e3,_0x5e0c02=this[_0x29efd7(0x121)][_0x29efd7(0x179)]();for(let _0x16019f=_0x5e0c02[_0x29efd7(0x1bf)]-0x1;_0x16019f>=0x0;_0x16019f--){const _0x35c4f5=_0x5e0c02[_0x16019f];if(!this[_0x29efd7(0x117)][_0x29efd7(0x155)](_0x35c4f5))return _0x35c4f5[_0x29efd7(0xe2)]+0x1-this[_0x29efd7(0x129)];}return 0x0;}constructor(_0x497517){const _0x13dc27=_0x2601e3;if(super(_0x497517),this[_0x13dc27(0x129)]=0x0,this[_0x13dc27(0x184)]=null,this[_0x13dc27(0x121)]=new _0x514ca9(),this[_0x13dc27(0x194)][_0x13dc27(0x1bb)][_0x13dc27(0x1c9)](_0x13dc27(0x197),{}),this[_0x13dc27(0xce)]=this[_0x13dc27(0x194)][_0x13dc27(0x1bb)][_0x13dc27(0x14e)](_0x13dc27(0x118)),!this[_0x13dc27(0xce)])throw new _0x36a032(_0x13dc27(0x1b1),this);const _0x46cc59=_0x497517[_0x13dc27(0x1bb)][_0x13dc27(0x14e)](_0x13dc27(0x1ac))||_0xb459a2;this[_0x13dc27(0x108)]=new l[(_0x13dc27(0xd3))](_0x46cc59,this[_0x13dc27(0xce)]),this[_0x13dc27(0x1a0)]=this[_0x13dc27(0x194)][_0x13dc27(0x19f)][_0x13dc27(0x10a)],this[_0x13dc27(0xf0)]=new _0x2c62ae(),this[_0x13dc27(0x12e)]=[],this[_0x13dc27(0xf6)]=new WeakSet(),this[_0x13dc27(0x180)]=new Set(),this[_0x13dc27(0x1a6)](_0x13dc27(0xc9),!0x1),this[_0x13dc27(0x1a6)](_0x13dc27(0xe6),!0x1),this[_0x13dc27(0x1ab)]=null,this[_0x13dc27(0x163)]=!0x1,this[_0x13dc27(0x13a)]=null,this[_0x13dc27(0x1a5)]=0x12c,this[_0x13dc27(0x17f)]=this[_0x13dc27(0x1a5)],this[_0x13dc27(0x172)]=null,this[_0x13dc27(0x117)]=new WeakSet(),this[_0x13dc27(0x195)]=new X(this[_0x13dc27(0x117)]);}[_0x2601e3(0x17a)](){const _0x36d7dd=_0x2601e3,_0xbab4f3=this[_0x36d7dd(0x194)],_0x4fccdb=_0xbab4f3[_0x36d7dd(0x1b9)][_0x36d7dd(0x14e)](_0x33039e),_0x57710b=_0xbab4f3[_0x36d7dd(0x1b9)][_0x36d7dd(0x14e)](_0x404b09);this[_0x36d7dd(0xed)](_0x4fccdb,_0x36d7dd(0x171),(_0x5458e6,_0x182407)=>{const _0x462a83=_0x36d7dd,_0x3d96e9=_0x182407[0x0];_0x3d96e9[_0x462a83(0x133)]&&(_0x5458e6[_0x462a83(0xc8)]=_0x4fccdb[_0x462a83(0x166)](_0x3d96e9[_0x462a83(0x133)]),_0x5458e6[_0x462a83(0x139)]()),null===_0x3d96e9[_0x462a83(0x133)]&&(_0x5458e6[_0x462a83(0xc8)]=null,_0x5458e6[_0x462a83(0x139)]());},{'priority':_0x36d7dd(0x175)}),this[_0x36d7dd(0xed)](_0xbab4f3[_0x36d7dd(0x19f)][_0x36d7dd(0x10a)][_0x36d7dd(0x1c0)],_0x36d7dd(0x15e),(_0x417627,_0x1dabef)=>{const _0x42d7bb=_0x36d7dd;_0x1dabef[_0x42d7bb(0x196)]&&this[_0x42d7bb(0x11f)]();}),this[_0x36d7dd(0xed)](_0xbab4f3[_0x36d7dd(0x109)][_0x36d7dd(0xcc)],_0x36d7dd(0x1a4),()=>{const _0x1eade2=_0x36d7dd;this[_0x1eade2(0x11f)]();}),this[_0x36d7dd(0xf2)](),_0xbab4f3[_0x36d7dd(0x19f)]['on'](_0x36d7dd(0x182),(_0x4ac985,_0x8705a4)=>{const _0x258662=_0x36d7dd,_0x4cc1e8=_0x8705a4[0x0];_0x4cc1e8[_0x258662(0xfd)]&&(this[_0x258662(0x124)](_0x4cc1e8),this[_0x258662(0x169)]()&&this[_0x258662(0xf7)]());}),this[_0x36d7dd(0x103)](),this[_0x36d7dd(0x18e)](_0x36d7dd(0x11c))['to'](_0x57710b,_0x36d7dd(0x12c),this,_0x36d7dd(0xe6),(_0x1dd921,_0x2072a4)=>_0x36d7dd(0x16a)===_0x1dd921&&!_0x2072a4),this['on'](_0x36d7dd(0x15c),()=>{const _0x5333ae=_0x36d7dd;this[_0x5333ae(0x11c)]?_0xbab4f3[_0x5333ae(0x1b2)](_0x5333ae(0x1a3)):_0xbab4f3[_0x5333ae(0x131)](_0x5333ae(0x1a3));}),this[_0x36d7dd(0x11c)]?_0xbab4f3[_0x36d7dd(0x1b2)](_0x36d7dd(0x1a3)):_0xbab4f3[_0x36d7dd(0x131)](_0x36d7dd(0x1a3)),this[_0x36d7dd(0x1a6)](_0x36d7dd(0x104),!0x1);}async[_0x2601e3(0xf3)](){const _0x4734d1=_0x2601e3,_0x3266f9=this[_0x4734d1(0x194)][_0x4734d1(0x1b9)][_0x4734d1(0x14e)](_0x2f15eb),_0x2334ae=this[_0x4734d1(0x194)][_0x4734d1(0x1b9)][_0x4734d1(0x14e)](_0x404b09);try{this[_0x4734d1(0xc9)]=!0x0,_0x3266f9[_0x4734d1(0x19a)](this[_0x4734d1(0xce)]);const _0x3e274c=await this[_0x4734d1(0x108)][_0x4734d1(0xf3)](_0x2334ae[_0x4734d1(0xdc)],this[_0x4734d1(0x1ad)]);await this[_0x4734d1(0x138)](_0x3e274c)&&(this[_0x4734d1(0xc9)]=!0x1,this[_0x4734d1(0x105)]());const _0x53b312=await this[_0x4734d1(0x108)][_0x4734d1(0x115)]();_0x3266f9[_0x4734d1(0x199)](this[_0x4734d1(0xce)],_0x53b312),this[_0x4734d1(0x164)](),this[_0x4734d1(0x104)]=!0x0;}catch(_0x2775d6){if(function(_0x575c52){const _0x26c7af=_0x4734d1;return _0x26c7af(0x140)===_0x575c52[_0x26c7af(0x12a)];}(_0x2775d6)&&this[_0x4734d1(0x184)])await this[_0x4734d1(0x111)]();else{if(function(_0x454384){const _0x20c4b6=_0x4734d1;return _0x20c4b6(0x13e)===_0x454384[_0x20c4b6(0x12a)];}(_0x2775d6)){const _0x44f37e=_0x4fc151(this[_0x4734d1(0x194)][_0x4734d1(0x19c)],_0x4734d1(0xee));this[_0x4734d1(0x183)](_0x44f37e);}else{if(!(_0x2775d6 instanceof J))throw _0x2775d6;this[_0x4734d1(0x183)]();}}}}[_0x2601e3(0x1ba)](){const _0x56f641=_0x2601e3,_0x93475b=this[_0x56f641(0x194)][_0x56f641(0x1b9)][_0x56f641(0x14e)](_0x404b09),_0x3a943a=this[_0x56f641(0x194)][_0x56f641(0x1b9)][_0x56f641(0x14e)](_0x2f15eb);this[_0x56f641(0x194)][_0x56f641(0x131)](_0x56f641(0x176)),_0x3a943a[_0x56f641(0x137)][_0x56f641(0x155)](this[_0x56f641(0xce)])&&_0x3a943a[_0x56f641(0x19a)](this[_0x56f641(0xce)]),_0x93475b[_0x56f641(0x11b)](this),this[_0x56f641(0xcd)](),super[_0x56f641(0x1ba)]();}async[_0x2601e3(0x138)](_0x2b183d){const _0x13c823=_0x2601e3;if(this[_0x13c823(0x184)]!==_0x2b183d[_0x13c823(0x184)]&&this[_0x13c823(0x172)]!==_0x2b183d[_0x13c823(0x190)])throw new J();return this[_0x13c823(0x184)]=_0x2b183d[_0x13c823(0x184)],this[_0x13c823(0x149)]([],{..._0x2b183d,'wereChangesApplied':!0x1,'data':_0x2b183d[_0x13c823(0x132)]},_0x13c823(0xf3));}async[_0x2601e3(0x1a1)](_0x457924,_0x216760=!0x1){const _0x1aedb3=_0x2601e3,{connection:_0x1f65a1}=this[_0x1aedb3(0x194)][_0x1aedb3(0x1b9)][_0x1aedb3(0x14e)](_0x404b09);l[_0x1aedb3(0xd3)][_0x1aedb3(0x115)](_0x1f65a1,this[_0x1aedb3(0xce)])[_0x1aedb3(0x15f)](_0x2e2f52=>this[_0x1aedb3(0x12d)](_0x2e2f52))[_0x1aedb3(0x1aa)](_0x501cba=>{const _0x2321e7=_0x1aedb3;this[_0x2321e7(0x188)](_0x2321e7(0xde),_0x501cba);}),this[_0x1aedb3(0xed)](this[_0x1aedb3(0x108)],_0x1aedb3(0x193),this[_0x1aedb3(0x1c7)][_0x1aedb3(0x18e)](this)),this[_0x1aedb3(0xed)](this[_0x1aedb3(0x108)],_0x1aedb3(0xd8),(_0x15baf2,_0x43dc19)=>{const _0x24c6f8=_0x1aedb3;this[_0x24c6f8(0x188)](_0x24c6f8(0x17e),_0x43dc19);}),this[_0x1aedb3(0xed)](this[_0x1aedb3(0x108)],_0x1aedb3(0x158),()=>{const _0x47a29c=_0x1aedb3;this[_0x47a29c(0x104)]=!0x1;});const _0x7c9015=this[_0x1aedb3(0x195)][_0x1aedb3(0x19b)](_0x457924);this[_0x1aedb3(0xc9)]=!0x0;const _0x5d9267=await this[_0x1aedb3(0x108)][_0x1aedb3(0x144)](_0x1f65a1,this[_0x1aedb3(0x19d)](_0x457924),_0x7c9015);if(this[_0x1aedb3(0x184)]=_0x5d9267[_0x1aedb3(0x184)],_0x216760){if(!_0x5d9267[_0x1aedb3(0x151)])return void this[_0x1aedb3(0x183)]();this[_0x1aedb3(0xc9)]=!0x1,this[_0x1aedb3(0x105)](),this[_0x1aedb3(0x121)][_0x1aedb3(0xd9)](),this[_0x1aedb3(0x129)]=_0x5d9267[_0x1aedb3(0x1c1)],this[_0x1aedb3(0x121)][_0x1aedb3(0x100)]=this[_0x1aedb3(0x129)],await this[_0x1aedb3(0x149)](_0x457924,_0x5d9267,_0x1aedb3(0x1b7));}else await this[_0x1aedb3(0x165)](_0x5d9267,_0x457924);this[_0x1aedb3(0x164)](),this[_0x1aedb3(0x104)]=!0x0;}[_0x2601e3(0x164)](){const _0xe18cd8=_0x2601e3,_0x13334a=this[_0xe18cd8(0x194)][_0xe18cd8(0x1b9)][_0xe18cd8(0x14e)](_0x2f15eb),_0x4eb9aa=this[_0xe18cd8(0x194)][_0xe18cd8(0x1b9)][_0xe18cd8(0x14e)](_0x566b5a),_0xc32891=_0x13334a[_0xe18cd8(0x137)][_0xe18cd8(0x14e)](this[_0xe18cd8(0xce)]);_0xc32891&&_0xc32891[_0xe18cd8(0x1bf)]>0x1?_0x4eb9aa[_0xe18cd8(0xf1)]():this[_0xe18cd8(0xed)](_0x13334a,_0xe18cd8(0x146)+this[_0xe18cd8(0xce)],()=>{const _0x23f775=_0xe18cd8;0x2===_0x13334a[_0x23f775(0x137)][_0x23f775(0x14e)](this[_0x23f775(0xce)])[_0x23f775(0x1bf)]&&_0x4eb9aa[_0x23f775(0xf1)]();});}async[_0x2601e3(0x1c7)](_0x3abe04,_0xa4b6a2,_0x1ec557,_0x5144e0){const _0x477ecc=_0x2601e3;if(!this[_0x477ecc(0xc9)]&&this[_0x477ecc(0x1a0)][_0x477ecc(0x100)]==_0xa4b6a2){const _0x575da2=this[_0x477ecc(0x15b)](_0x1ec557,_0x5144e0);await this[_0x477ecc(0x1c8)](_0x575da2),this[_0x477ecc(0xd7)](_0x575da2,_0xa4b6a2,_0x1ec557[_0x477ecc(0x190)])||this[_0x477ecc(0x188)](_0x477ecc(0xdd));}}async[_0x2601e3(0x111)](){const _0x1bf8ad=_0x2601e3;this[_0x1bf8ad(0xcd)]();const {locale:_0xee8a0c}=this[_0x1bf8ad(0x194)];let _0x473659;try{_0x473659=await this[_0x1bf8ad(0x108)][_0x1bf8ad(0x150)]();}catch(_0x5c1e04){const _0x3b7f23=_0x4fc151(_0xee8a0c,_0x1bf8ad(0x152));return void this[_0x1bf8ad(0x183)](_0x3b7f23);}const _0x593ab1=_0x473659[_0x1bf8ad(0xc7)]||_0x473659[_0x1bf8ad(0x116)];if(this[_0x1bf8ad(0x172)]===_0x593ab1[_0x1bf8ad(0x190)])await this[_0x1bf8ad(0x1a1)](this[_0x1bf8ad(0x194)][_0x1bf8ad(0x19f)][_0x1bf8ad(0x10a)][_0x1bf8ad(0x1bd)][_0x1bf8ad(0x179)](),!0x0);else{const _0x3df614=_0x4fc151(_0xee8a0c,_0x1bf8ad(0xc2));this[_0x1bf8ad(0x183)](_0x3df614);}}[_0x2601e3(0xcd)](){const _0x242edc=_0x2601e3;this[_0x242edc(0x108)][_0x242edc(0x15d)](),this[_0x242edc(0x12e)]=[],clearTimeout(this[_0x242edc(0x13a)]),this[_0x242edc(0x1b6)](this[_0x242edc(0x108)]);}[_0x2601e3(0x12d)](_0x5ed64a){const _0x527bc8=_0x2601e3,_0x2bd976=this[_0x527bc8(0x194)][_0x527bc8(0x1b9)][_0x527bc8(0x14e)](_0x2f15eb);this[_0x527bc8(0xed)](_0x2bd976,_0x527bc8(0x146)+this[_0x527bc8(0xce)],(_0x43a02b,{session:_0x431c1d})=>{const _0x2307b0=_0x527bc8;if(_0x431c1d['id']===_0x2bd976[_0x2307b0(0xfe)]){_0x43a02b[_0x2307b0(0x159)]();const _0x24eade=this[_0x2307b0(0x194)][_0x2307b0(0x1b9)][_0x2307b0(0x155)](_0x2307b0(0x114))&&this[_0x2307b0(0x194)][_0x2307b0(0x1b9)][_0x2307b0(0x14e)](_0x2307b0(0x114));let _0x47a142=_0x431c1d[_0x2307b0(0x177)];_0x24eade&&_0x24eade[_0x2307b0(0x14c)]&&(_0x47a142=_0x47a142[_0x2307b0(0xf5)](_0x1d07bf=>_0x2307b0(0x135)!==_0x1d07bf)),this[_0x2307b0(0x194)][_0x2307b0(0x1b9)][_0x2307b0(0x14e)](_0x2307b0(0x167))[_0x2307b0(0x1b5)](_0x47a142,this[_0x2307b0(0xce)]);}}),_0x2bd976[_0x527bc8(0x199)](this[_0x527bc8(0xce)],_0x5ed64a);}[_0x2601e3(0xf2)](){const _0x77abe2=_0x2601e3,_0x309ccd=this[_0x77abe2(0x194)][_0x77abe2(0x132)][_0x77abe2(0x1a6)];this[_0x77abe2(0x194)][_0x77abe2(0x132)][_0x77abe2(0x1a6)]=(..._0x6ed8c2)=>{const _0x12ef3f=_0x77abe2;if(!_0x6ed8c2[_0x6ed8c2[_0x12ef3f(0x1bf)]-0x1][_0x12ef3f(0x141)])throw new _0x36a032(_0x12ef3f(0x187),this);_0x309ccd[_0x12ef3f(0x1b0)](this[_0x12ef3f(0x194)][_0x12ef3f(0x132)],_0x6ed8c2);};}[_0x2601e3(0x103)](){const _0xe6ce07=_0x2601e3;this[_0xe6ce07(0x194)][_0xe6ce07(0x132)]['on'](_0xe6ce07(0x17a),(_0x22a0ba,[_0x8894dc])=>{const _0x19873a=_0xe6ce07;if(this[_0x19873a(0x1a0)][_0x19873a(0x100)])throw new _0x36a032(_0x19873a(0x1c6),this);_0x22a0ba[_0x19873a(0x139)](),this[_0x19873a(0x12f)]();const _0x1429fe=this[_0x19873a(0x194)][_0x19873a(0x1bb)][_0x19873a(0x14e)](_0x19873a(0xe9)),_0x52b38c=this[_0x19873a(0x13d)](_0x8894dc,_0x1429fe);0x0==_0x52b38c[_0x19873a(0x1bf)]&&_0x52b38c[_0x19873a(0xcb)](new _0x345fae(0x0)),_0x22a0ba[_0x19873a(0xc8)]=this[_0x19873a(0x1a1)](_0x52b38c)[_0x19873a(0x15f)](()=>{const _0x3ea458=_0x19873a;this[_0x3ea458(0x194)][_0x3ea458(0x1b9)][_0x3ea458(0x14e)](_0x404b09)[_0x3ea458(0x162)](this),this[_0x3ea458(0x194)][_0x3ea458(0x132)][_0x3ea458(0x102)](_0x3ea458(0x192));})[_0x19873a(0x1aa)](_0x281b4e=>this[_0x19873a(0x188)](_0x19873a(0x14d),_0x281b4e))[_0x19873a(0xe7)](()=>this[_0x19873a(0x105)]());},{'priority':_0xe6ce07(0x175)}),this[_0xe6ce07(0x194)]['on'](_0xe6ce07(0x186),async(_0x44b253,[_0x22ea1c,_0x206788])=>{const _0x58a735=_0xe6ce07;_0x44b253[_0x58a735(0x139)]();const _0x3292b9=this[_0x58a735(0x194)][_0x58a735(0x19f)][_0x58a735(0x10a)][_0x58a735(0x14a)](_0x22ea1c);if(!this[_0x58a735(0x180)][_0x58a735(0x155)](_0x22ea1c)){const _0x53650a=_0x206788&&_0x206788[_0x58a735(0x132)]?_0x206788[_0x58a735(0x132)]:'',_0x50540a=_0x206788&&_0x206788[_0x58a735(0x120)]?_0x206788[_0x58a735(0x120)]:{};await this[_0x58a735(0xf9)](_0x22ea1c,_0x53650a,_0x50540a);}this[_0x58a735(0x194)][_0x58a735(0x19f)][_0x58a735(0xe8)]({'isUndoable':!0x1},()=>{const _0x39ad3e=_0x58a735;_0x3292b9[_0x39ad3e(0x119)]=!0x0,this[_0x39ad3e(0x194)][_0x39ad3e(0x19f)][_0x39ad3e(0x10a)][_0x39ad3e(0x101)][_0x39ad3e(0x16f)](_0x3292b9);});},{'priority':_0xe6ce07(0x175)});}async[_0x2601e3(0x1c8)](_0x45aedf){const _0x432a22=_0x2601e3,_0x29e52f=this[_0x432a22(0x194)][_0x432a22(0x1b9)][_0x432a22(0x14e)](_0x33039e),{connection:_0x287e5a}=this[_0x432a22(0x194)][_0x432a22(0x1b9)][_0x432a22(0x14e)](_0x404b09),_0x1d3a2c=new Set();for(const _0x3fffaf of _0x45aedf){const _0x590dc0=_0x3fffaf[_0x432a22(0x133)];_0x590dc0&&!_0x29e52f[_0x432a22(0x166)](_0x590dc0)&&_0x1d3a2c[_0x432a22(0x19e)](_0x590dc0);}if(0x0===_0x1d3a2c[_0x432a22(0x1a8)])return;const _0x506c73=await _0x4ec876[_0x432a22(0x1b8)](_0x287e5a,Array[_0x432a22(0x113)](_0x1d3a2c));for(const _0x32b2a9 of _0x506c73)_0x29e52f[_0x432a22(0x166)](_0x32b2a9['id'])||_0x29e52f[_0x432a22(0xea)](_0x32b2a9);}[_0x2601e3(0x13d)](_0x1e55e1,_0x17403a={}){const _0x568cbb=_0x2601e3,_0x262f0e=this[_0x568cbb(0x194)][_0x568cbb(0x19f)],_0x24273d=[];let _0x310cb2=0x0;const _0x231edc=_0x568cbb(0x11e)==typeof _0x1e55e1?{'main':_0x1e55e1}:_0x1e55e1;for(const _0x45a272 of Object[_0x568cbb(0x106)](_0x231edc)){if(!this[_0x568cbb(0x1a0)][_0x568cbb(0x181)][_0x568cbb(0x155)](_0x45a272))throw new _0x36a032(_0x568cbb(0x156),this);const _0x160f61=this[_0x568cbb(0x194)][_0x568cbb(0x132)][_0x568cbb(0x14f)](_0x231edc[_0x45a272]),_0x3d0a8c=this[_0x568cbb(0x1a0)][_0x568cbb(0x14a)](_0x45a272),_0x9dd21b=new _0x584682(_0x262f0e[_0x568cbb(0x123)](_0x3d0a8c,0x0),_0x160f61,_0x310cb2++);_0x24273d[_0x568cbb(0xcb)](_0x9dd21b);for(const [_0x655b24,_0x1707c7]of _0x160f61[_0x568cbb(0x10e)]){const _0x3f5fd2=_0x262f0e[_0x568cbb(0xd1)](_0x262f0e[_0x568cbb(0x1ae)](_0x3d0a8c,_0x1707c7[_0x568cbb(0x1c2)][_0x568cbb(0x10b)][_0x568cbb(0x13f)]()),_0x262f0e[_0x568cbb(0x1ae)](_0x3d0a8c,_0x1707c7[_0x568cbb(0x16d)][_0x568cbb(0x10b)][_0x568cbb(0x13f)]())),_0x56efbb=new _0x392b88(_0x655b24,null,_0x3f5fd2,_0x262f0e[_0x568cbb(0x10e)],!0x0,_0x310cb2++);_0x24273d[_0x568cbb(0xcb)](_0x56efbb);}}if(_0x17403a)for(const [_0x25ef08,_0xdd66f7]of Object[_0x568cbb(0x174)](_0x17403a)){const _0x5ad87b=_0x262f0e[_0x568cbb(0x10a)][_0x568cbb(0x14a)](_0x25ef08);if(!_0x5ad87b)throw new _0x36a032(_0x568cbb(0x185),null);for(const [_0x14c9b9,_0x4bc22a]of Object[_0x568cbb(0x174)](_0xdd66f7))if(null!==_0x4bc22a){const _0x3b0d3d=new _0x481be6(_0x5ad87b,_0x14c9b9,null,_0x4bc22a,_0x310cb2++);_0x24273d[_0x568cbb(0xcb)](_0x3b0d3d);}}return _0x24273d;}async[_0x2601e3(0xf9)](_0x1fb5c1,_0x1a93db,_0x2281e4){const _0x5e006b=_0x2601e3;this[_0x5e006b(0x13d)]({[_0x1fb5c1]:_0x1a93db},{[_0x1fb5c1]:_0x2281e4})[_0x5e006b(0xec)]((_0x4e6c17,_0x2d542e)=>{const _0xfec386=_0x5e006b;_0x4e6c17[_0xfec386(0xe2)]=this[_0xfec386(0x1a0)][_0xfec386(0x100)]+_0x2d542e,_0x4e6c17[_0xfec386(0xe4)]=!0x0,this[_0xfec386(0x124)](_0x4e6c17);}),this[_0x5e006b(0xf7)](),await this[_0x5e006b(0x12b)]();}async[_0x2601e3(0x165)](_0x885c1c,_0x53cb66){const _0x20740c=_0x2601e3;let _0xd26f9c;this[_0x20740c(0x129)]=_0x885c1c[_0x20740c(0x1c1)];const _0x59e92c=_0x885c1c[_0x20740c(0x151)]&&!_0x885c1c[_0x20740c(0x153)],_0x4937f0=_0x59e92c?0x0:_0x885c1c[_0x20740c(0x132)][_0x20740c(0xe2)];if(_0x53cb66[_0x20740c(0xec)](_0x1c01ab=>{const _0x382dc9=_0x20740c;_0x1c01ab[_0x382dc9(0xe4)]=!0x0,_0x1c01ab[_0x382dc9(0x1a2)]=_0x885c1c[_0x382dc9(0x15a)],_0x1c01ab[_0x382dc9(0x133)]=null;}),_0x59e92c)_0xd26f9c=_0x53cb66,this[_0x20740c(0xf4)](_0xd26f9c,_0x59e92c);else{if(_0x885c1c[_0x20740c(0x153)]){const _0x55e56b=this[_0x20740c(0x13d)](_0x885c1c[_0x20740c(0x153)]);this[_0x20740c(0x1a0)][_0x20740c(0x1bd)][_0x20740c(0x100)]=-_0x55e56b[_0x20740c(0x1bf)],_0x55e56b[_0x20740c(0xec)](_0x5861c7=>{const _0x249138=_0x20740c;_0x5861c7[_0x249138(0xe2)]-=_0x55e56b[_0x249138(0x1bf)],_0x5861c7[_0x249138(0x1a2)]=_0x885c1c[_0x249138(0x15a)],_0x5861c7[_0x249138(0xe4)]=!0x0,_0x5861c7[_0x249138(0x133)]=null;}),this[_0x20740c(0xf4)](_0x55e56b,!0x0),this[_0x20740c(0x121)][_0x20740c(0x100)]=-_0x55e56b[_0x20740c(0x1bf)]+this[_0x20740c(0x129)],this[_0x20740c(0x178)](_0x55e56b);}this[_0x20740c(0x1a0)][_0x20740c(0x1bd)][_0x20740c(0x100)]=_0x4937f0,_0xd26f9c=this[_0x20740c(0x15b)](_0x885c1c[_0x20740c(0x132)],_0x885c1c[_0x20740c(0xd2)]),await this[_0x20740c(0x1c8)](_0xd26f9c),this[_0x20740c(0xf4)](_0xd26f9c,_0x59e92c);}_0x885c1c[_0x20740c(0x190)]&&(this[_0x20740c(0x195)][_0x20740c(0x147)](_0xd26f9c,_0x885c1c[_0x20740c(0x190)]),this[_0x20740c(0x172)]=_0x885c1c[_0x20740c(0x190)]),this[_0x20740c(0x121)][_0x20740c(0x100)]=_0x4937f0+this[_0x20740c(0x129)],this[_0x20740c(0x178)](_0xd26f9c),_0x53cb66[_0x20740c(0xf5)](_0x1f0ae4=>{const _0x26ee2c=_0x20740c,_0x41b54e=this[_0x26ee2c(0x136)](_0x1f0ae4);return _0x41b54e&&!this[_0x26ee2c(0x180)][_0x26ee2c(0x155)](_0x41b54e);})[_0x20740c(0xec)]((_0x5b620a,_0x3cb1ed)=>{const _0x2843fc=_0x20740c;_0x5b620a[_0x2843fc(0xe2)]=this[_0x2843fc(0x1a0)][_0x2843fc(0x100)]+_0x3cb1ed,this[_0x2843fc(0x124)](_0x5b620a);}),this[_0x20740c(0x169)]()?(this[_0x20740c(0x17f)]=0x0,this[_0x20740c(0xf7)](!0x0),await this[_0x20740c(0x12b)]()):(this[_0x20740c(0xc9)]=!0x1,this[_0x20740c(0x105)]());}[_0x2601e3(0x188)](_0x3f3701,_0xf19127){const _0x379d42=_0x2601e3,_0x161d5b=_0xf19127&&_0xf19127[_0x379d42(0xc5)];if(_0x161d5b&&_0x161d5b[_0x379d42(0x11a)](_0x379d42(0x10f)))throw _0xf19127;const _0x210acf=this[_0x379d42(0x194)][_0x379d42(0x1b9)][_0x379d42(0x14e)](_0x404b09);throw this[_0x379d42(0xc9)]=!0x0,_0x210acf[_0x379d42(0x15d)](),this[_0x379d42(0x194)][_0x379d42(0x131)](_0x379d42(0x161)),new _0x36a032(_0x3f3701,this[_0x379d42(0x194)],_0x161d5b?{'originalError':_0x161d5b}:void 0x0);}[_0x2601e3(0x124)](_0x417176){const _0x561605=_0x2601e3;this[_0x561605(0xf6)][_0x561605(0x155)](_0x417176)||(this[_0x561605(0xf6)][_0x561605(0x19e)](_0x417176),this[_0x561605(0x12e)][_0x561605(0xcb)](_0x417176),this[_0x561605(0x1ab)]||_0x561605(0xdb)==_0x417176[_0x561605(0xca)]&&!_0x417176[_0x561605(0xff)]||this[_0x561605(0x12f)]());}[_0x2601e3(0xf7)](_0x28cbd2=!0x1){const _0x4a63a0=_0x2601e3;!_0x28cbd2&&this[_0x4a63a0(0xc9)]||(this[_0x4a63a0(0xc9)]=!0x0,clearTimeout(this[_0x4a63a0(0x13a)]),this[_0x4a63a0(0x13a)]=setTimeout(()=>{const _0x2e052f=_0x4a63a0;this[_0x2e052f(0x10d)]()[_0x2e052f(0x15f)](_0x47b3f3=>{const _0x4ff5b5=_0x2e052f;_0x47b3f3&&(this[_0x4ff5b5(0x105)](),this[_0x4ff5b5(0xc9)]=!0x1);})[_0x2e052f(0x1aa)](_0x1c284a=>{const _0x16b1f1=_0x2e052f;this[_0x16b1f1(0x105)](),this[_0x16b1f1(0xc9)]=!0x1,function(_0x5eaeef){const _0x43a11d=_0x16b1f1;return _0x5eaeef[_0x43a11d(0xc5)][_0x43a11d(0x11a)](_0x43a11d(0xfc))||_0x5eaeef[_0x43a11d(0xc5)][_0x43a11d(0x11a)](_0x43a11d(0x122))||_0x5eaeef[_0x43a11d(0xc5)][_0x43a11d(0x11a)](_0x43a11d(0x191));}(_0x1c284a)||this[_0x16b1f1(0x188)](_0x1c284a[_0x16b1f1(0xc5)],_0x1c284a);});},this[_0x4a63a0(0x17f)]));}[_0x2601e3(0x12b)](){return new Promise(_0x54a8e3=>{const _0x5ed25f=_0x398b;this['on'](_0x5ed25f(0xd5),()=>{_0x54a8e3();});});}async[_0x2601e3(0x10d)](){const _0x35271e=_0x2601e3,_0xf2d39c=this[_0x35271e(0x194)][_0x35271e(0x1b9)][_0x35271e(0x14e)](_0x566b5a);if(this[_0x35271e(0x143)]()&&(_0xf2d39c[_0x35271e(0xf1)](),this[_0x35271e(0x163)]=!0x1),!this[_0x35271e(0x169)]())return!0x0;const _0x4a5d89=[...this[_0x35271e(0x12e)]];for(const _0x456e03 of _0x4a5d89)_0x456e03[_0x35271e(0x13c)]=this[_0x35271e(0x1a0)][_0x35271e(0x1bd)][_0x35271e(0x17d)](_0x456e03);const _0x2088fc=this[_0x35271e(0x195)][_0x35271e(0x19b)](_0x4a5d89),_0x6421f9=K++,_0x47172c=this[_0x35271e(0x19d)](_0x4a5d89),_0x555102=await this[_0x35271e(0x108)][_0x35271e(0xd6)](_0x47172c,_0x47172c[_0x35271e(0xe2)],_0x2088fc);try{return await this[_0x35271e(0x149)](_0x4a5d89,_0x555102,_0x6421f9);}catch(_0x4305f1){return this[_0x35271e(0x188)](_0x35271e(0x1b3),_0x4305f1);}}async[_0x2601e3(0x149)](_0x31ff1e,_0x1192eb,_0x211ef1){const _0x21df28=_0x2601e3;if(_0x21df28(0xd8)in _0x1192eb)throw _0x1192eb[_0x21df28(0xd8)];let _0x26a2c0=!0x1;if(_0x1192eb[_0x21df28(0x151)]){_0x1192eb[_0x21df28(0x190)]&&(this[_0x21df28(0x172)]=_0x1192eb[_0x21df28(0x190)]),this[_0x21df28(0x12e)]=this[_0x21df28(0x12e)][_0x21df28(0xf5)](_0xa485de=>!_0x31ff1e[_0x21df28(0x1af)](_0xa485de));for(const _0x2be89a of _0x31ff1e)_0x2be89a[_0x21df28(0x1a2)]=_0x21df28(0x173)in _0x1192eb&&_0x1192eb[_0x21df28(0x173)]||void 0x0;Q(_0x31ff1e,_0x1192eb[_0x21df28(0x100)]-_0x31ff1e[_0x21df28(0x1bf)]),this[_0x21df28(0x178)](_0x31ff1e);const _0x219240=_0x31ff1e[_0x21df28(0xf5)](_0x5cc761=>{const _0x3ac540=_0x21df28;if(!_0x5cc761[_0x3ac540(0xe4)])return!0x1;const _0x177bbb=this[_0x3ac540(0x136)](_0x5cc761);return _0x177bbb&&!this[_0x3ac540(0x180)][_0x3ac540(0x155)](_0x177bbb);});Q(_0x219240,this[_0x21df28(0x1a0)][_0x21df28(0x100)]),this[_0x21df28(0xf4)](_0x219240),_0x26a2c0=!0x0,this[_0x21df28(0x17f)]=this[_0x21df28(0x1a5)];}else{const _0x90f17d=this[_0x21df28(0x15b)](_0x1192eb[_0x21df28(0x132)],_0x1192eb[_0x21df28(0xd2)])[_0x21df28(0xf5)](_0x39eb9f=>_0x39eb9f[_0x21df28(0xe2)]>=this[_0x21df28(0x16e)]);_0x90f17d[_0x21df28(0xec)](_0x4d8106=>this[_0x21df28(0x157)](_0x4d8106)),this[_0x21df28(0x12e)]=this[_0x21df28(0x12e)][_0x21df28(0xf5)](_0x24478d=>!_0x24478d[_0x21df28(0xe4)]||!this[_0x21df28(0x180)][_0x21df28(0x155)](this[_0x21df28(0x136)](_0x24478d))),this[_0x21df28(0x12e)][_0x21df28(0x1bf)]&&Q(this[_0x21df28(0x12e)],this[_0x21df28(0x12e)][0x0][_0x21df28(0xe2)]),await this[_0x21df28(0x1c8)](_0x90f17d),_0x26a2c0=this[_0x21df28(0xd7)](_0x90f17d,_0x1192eb[_0x21df28(0x100)],_0x1192eb[_0x21df28(0x190)]),this[_0x21df28(0x17f)]=Math[_0x21df28(0x1c4)](this[_0x21df28(0x17f)]/0x2);}return _0x26a2c0?!this[_0x21df28(0x169)]()||(this[_0x21df28(0xf7)](!0x0),!0x1):this[_0x21df28(0x188)](_0x21df28(0x18b));}[_0x2601e3(0xd7)](_0xb5dc8c,_0x43b5c9,_0x3d8c7e){const _0x2aefac=_0x2601e3;try{const _0x58f2e7={'document':this[_0x2aefac(0x1a0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x50f67f,operationsB:_0x407b86,originalOperations:_0x30ce0f}=_0x8173d0(_0xb5dc8c,this[_0x2aefac(0x12e)],_0x58f2e7);Q(_0x50f67f,this[_0x2aefac(0x1a0)][_0x2aefac(0x100)]),Q(_0x407b86,_0x43b5c9);for(const _0x249981 of _0x50f67f){const _0x4cdfd8=_0x30ce0f[_0x2aefac(0x14e)](_0x249981);_0x249981[_0x2aefac(0x133)]=_0x4cdfd8?_0x4cdfd8[_0x2aefac(0x133)]:null;}_0x3d8c7e&&(this[_0x2aefac(0x195)][_0x2aefac(0x147)](_0xb5dc8c,_0x3d8c7e),this[_0x2aefac(0x172)]=_0x3d8c7e),this[_0x2aefac(0x12e)]=[..._0x407b86],this[_0x2aefac(0xf4)](_0x50f67f),this[_0x2aefac(0x178)](_0xb5dc8c);}catch(_0x4ca9ff){return console[_0x2aefac(0xd8)](_0x4ca9ff),!0x1;}return!0x0;}[_0x2601e3(0xf4)](_0x37c268,_0x25ed22=!0x1){const _0xccfefb=_0x2601e3;this[_0xccfefb(0x194)][_0xccfefb(0x19f)][_0xccfefb(0xe8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x32b28f=>{const _0x3c2838=_0xccfefb;for(const _0x494f3f of _0x37c268)this[_0x3c2838(0xf6)][_0x3c2838(0x19e)](_0x494f3f),this[_0x3c2838(0x157)](_0x494f3f),_0x32b28f[_0x3c2838(0x16b)][_0x3c2838(0x198)](_0x494f3f),this[_0x3c2838(0x194)][_0x3c2838(0x19f)][_0x3c2838(0x182)](_0x494f3f);});}[_0x2601e3(0x157)](_0x1700c3){const _0xd21204=_0x2601e3,_0x2b7242=this[_0xd21204(0x136)](_0x1700c3);_0x2b7242&&this[_0xd21204(0x180)][_0xd21204(0x19e)](_0x2b7242);}[_0x2601e3(0x136)](_0xee0c24){const _0x11199a=_0x2601e3;let _0x2aa86d,_0xcdc6ba;switch(_0xee0c24[_0x11199a(0xca)]){case _0x11199a(0x17b):_0x2aa86d=_0xee0c24[_0x11199a(0x125)][_0x11199a(0xfa)];break;case _0x11199a(0xdb):if(_0xcdc6ba=_0xee0c24[_0x11199a(0xfb)],!_0xcdc6ba)return null;_0x2aa86d=_0xcdc6ba[_0x11199a(0xfa)];break;case _0x11199a(0x13b):_0x2aa86d=_0xee0c24[_0x11199a(0xfa)];break;case _0x11199a(0x10c):_0x2aa86d=_0xee0c24[_0x11199a(0x18c)];break;case _0x11199a(0xda):_0x2aa86d=_0xee0c24[_0x11199a(0x170)][_0x11199a(0xfa)];break;default:return null;}return _0x2aa86d[_0x11199a(0x1c3)];}[_0x2601e3(0x178)](_0x9dc8a8){const _0x24122c=_0x2601e3;_0x9dc8a8[_0x24122c(0xec)](_0x249ec3=>{const _0x2d25b1=_0x24122c,_0x8b0493=_0x249ec3[_0x2d25b1(0x127)]();_0x8b0493[_0x2d25b1(0x133)]=_0x249ec3[_0x2d25b1(0x133)],_0x8b0493[_0x2d25b1(0xe4)]=!!_0x249ec3[_0x2d25b1(0xe4)],_0x8b0493[_0x2d25b1(0x1a2)]=_0x249ec3[_0x2d25b1(0x1a2)],_0x8b0493[_0x2d25b1(0xe2)]+=this[_0x2d25b1(0x129)],_0x249ec3[_0x2d25b1(0x128)]&&this[_0x2d25b1(0x117)][_0x2d25b1(0x19e)](_0x8b0493),this[_0x2d25b1(0x121)][_0x2d25b1(0x198)](_0x8b0493);});}[_0x2601e3(0x183)](_0x371e6c){const _0x50322a=_0x2601e3,_0x3f61cf=this[_0x50322a(0x194)][_0x50322a(0x1b9)][_0x50322a(0x14e)](_0x50322a(0x14b)),_0x298016=this[_0x50322a(0x194)][_0x50322a(0x19c)];_0x371e6c||(_0x371e6c=_0x4fc151(_0x298016,_0x50322a(0x17c))),_0x3f61cf[_0x50322a(0x1bc)](_0x371e6c,{'title':_0x4fc151(_0x298016,_0x50322a(0x1b4)),'namespace':_0x50322a(0xe1)}),this[_0x50322a(0xe6)]=!0x0,clearTimeout(this[_0x50322a(0x13a)]),this[_0x50322a(0x12e)]=[],this[_0x50322a(0x194)][_0x50322a(0x1b9)][_0x50322a(0x14e)](_0x404b09)[_0x50322a(0x15d)]();}[_0x2601e3(0x12f)](){const _0x6e59dd=_0x2601e3;this[_0x6e59dd(0x1ab)]||(this[_0x6e59dd(0x1ab)]=this[_0x6e59dd(0x194)][_0x6e59dd(0x1b9)][_0x6e59dd(0x14e)](_0x588f52)[_0x6e59dd(0x19e)](_0x4fc151(this[_0x6e59dd(0x194)][_0x6e59dd(0x19c)],_0x6e59dd(0x107))));}[_0x2601e3(0x105)](){const _0x138d77=_0x2601e3;this[_0x138d77(0x1ab)]&&(this[_0x138d77(0x194)][_0x138d77(0x1b9)][_0x138d77(0x14e)](_0x588f52)[_0x138d77(0x130)](this[_0x138d77(0x1ab)]),this[_0x138d77(0x1ab)]=null);}[_0x2601e3(0x19d)](_0x2595ed){const _0x2ca1b3=_0x2601e3,_0x5565b1=_0x2595ed[_0x2ca1b3(0x11d)](_0x4e064f=>_0x4e064f[_0x2ca1b3(0x142)]());return this[_0x2ca1b3(0xf0)][_0x2ca1b3(0x112)](_0x5565b1);}[_0x2601e3(0x15b)](_0x33d311,_0x593552){const _0x571b33=_0x2601e3;return this[_0x571b33(0xf0)][_0x571b33(0x126)](_0x33d311)[_0x571b33(0x11d)]((_0x5520dd,_0x1838b2)=>{const _0x1bd92e=_0x571b33,_0x1161b4=_0x1bd92e(0x17a)==_0x593552[_0x1838b2][_0x1bd92e(0xca)];if(_0x1bd92e(0x110)==_0x5520dd[_0x1bd92e(0xd0)]){const _0x6d72bf=_0x5520dd[_0x1bd92e(0x125)][_0x1bd92e(0xfa)];!this[_0x1bd92e(0x1a0)][_0x1bd92e(0x14a)](_0x6d72bf)&&(this[_0x1bd92e(0x1a0)][_0x1bd92e(0x1a9)](_0x1bd92e(0x189),_0x6d72bf)[_0x1bd92e(0x145)]=!0x1);}const _0xcfc77c=_0x4c0143[_0x1bd92e(0x134)](_0x5520dd,this[_0x1bd92e(0x1a0)]);return _0xcfc77c[_0x1bd92e(0x13c)]=_0x5520dd[_0x1bd92e(0x13c)],_0xcfc77c[_0x1bd92e(0xe4)]=_0x1161b4,_0xcfc77c[_0x1bd92e(0x133)]=_0x1161b4?null:_0x593552[_0x1838b2][_0x1bd92e(0xe5)],_0xcfc77c[_0x1bd92e(0x128)]=_0x1bd92e(0xc4)===_0x593552[_0x1838b2][_0x1bd92e(0xca)],_0xcfc77c[_0x1bd92e(0x1a2)]=_0x593552[_0x1838b2][_0x1bd92e(0x1a2)],_0xcfc77c;});}[_0x2601e3(0x11f)](){const _0x1afa46=_0x2601e3;this[_0x1afa46(0x163)]=!0x0,this[_0x1afa46(0x143)]()?this[_0x1afa46(0xf7)]():this[_0x1afa46(0x163)]=!0x1;}[_0x2601e3(0x143)](){const _0x575382=_0x2601e3,_0x480ab0=this[_0x575382(0x194)][_0x575382(0x1b9)][_0x575382(0x14e)](_0x2f15eb)[_0x575382(0x137)][_0x575382(0x14e)](this[_0x575382(0xce)]);return!this[_0x575382(0x194)][_0x575382(0x1c5)]&&!!_0x480ab0&&_0x480ab0[_0x575382(0x1bf)]>0x1&&this[_0x575382(0x163)];}[_0x2601e3(0x169)](){const _0x3970cf=_0x2601e3;return this[_0x3970cf(0x12e)][_0x3970cf(0x1bf)]>0x0||this[_0x3970cf(0x143)]();}}l[_0x2601e3(0xd3)]=_0x1cf5dc;export default l;class J extends Error{}function Q(_0x5b83cf,_0x28de82){const _0x19a73f=_0x2601e3;for(const _0x388c9e of _0x5b83cf)_0x388c9e[_0x19a73f(0xe2)]=_0x28de82++;}class X{constructor(_0x2cbd62){const _0xc473c4=_0x2601e3;this[_0xc473c4(0xf8)]=_0x2cbd62,this[_0xc473c4(0x1be)]=new WeakMap();}[_0x2601e3(0x19b)](_0x5af519){const _0x5d3d05=_0x2601e3;let _0x2ee500=_0x5af519[_0x5d3d05(0x1bf)];for(;_0x2ee500--;){const _0x2dc4a8=_0x5af519[_0x2ee500];if(!this[_0x5d3d05(0xf8)][_0x5d3d05(0x155)](_0x2dc4a8)){if(!this[_0x5d3d05(0x1be)][_0x5d3d05(0x155)](_0x2dc4a8)){const _0x33f702=_0x33b4c8()[_0x5d3d05(0x13f)](0x1,0x12);this[_0x5d3d05(0x1be)][_0x5d3d05(0x1a6)](_0x2dc4a8,_0x33f702);}return this[_0x5d3d05(0x1be)][_0x5d3d05(0x14e)](_0x2dc4a8);}}}[_0x2601e3(0x147)](_0x1d5004,_0x413c72){const _0x22a0dd=_0x2601e3;if(!_0x413c72)return;let _0x584b0f=_0x1d5004[_0x22a0dd(0x1bf)];for(;_0x584b0f--;){const _0x5bdc73=_0x1d5004[_0x584b0f];this[_0x22a0dd(0xf8)][_0x22a0dd(0x155)](_0x5bdc73)||this[_0x22a0dd(0x1be)][_0x22a0dd(0x1a6)](_0x5bdc73,_0x413c72);}}}
|
|
23
|
+
const _0x28930f=_0x5375;(function(_0x1fe475,_0x209d2d){const _0x20ecb3=_0x5375,_0x3a07ee=_0x1fe475();while(!![]){try{const _0x31c5ac=-parseInt(_0x20ecb3(0x11f))/0x1+-parseInt(_0x20ecb3(0x100))/0x2+parseInt(_0x20ecb3(0x194))/0x3*(-parseInt(_0x20ecb3(0x177))/0x4)+parseInt(_0x20ecb3(0x172))/0x5*(-parseInt(_0x20ecb3(0xb2))/0x6)+-parseInt(_0x20ecb3(0x198))/0x7+-parseInt(_0x20ecb3(0xbf))/0x8+-parseInt(_0x20ecb3(0xfe))/0x9*(-parseInt(_0x20ecb3(0xca))/0xa);if(_0x31c5ac===_0x209d2d)break;else _0x3a07ee['push'](_0x3a07ee['shift']());}catch(_0x1e5103){_0x3a07ee['push'](_0x3a07ee['shift']());}}}(_0x2601,0xaef2a));function _0x2601(){const _0x47489c=['toJSON','model','createPositionAt','change:_isEditingAllowed','_sendBufferedOperations','disconnected','realtimecollaborationclient-handleserverresponse','stopListening','change:_isPendingUpdate','start','enqueueChange','_service','addOperation','getOperations','_isEditingAllowed','register','attributes','10hFvCgF','unregister','document','_isAttached','_getOperationsFromInitData','42820pwQztg','marker','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','listenTo','PENDING_ACTION_SENDING_DATA','round','addToReconnectionStack','404','_handleInitialConnectionData','lastSyncVersion','includes','_lastSyncedOperationId','getMany','disconnect','finally','decompress','mySessionId','realtimecollaborationclient-init-connection-failed','setIdForTheLastOperation','_crash','startsWith','_refreshUserSelectionMarkers','_handleExternalOperations','realtimecollaborationclient-sendbufferedoperations','entries','_decompressOperations','change:hasDomSelection','has','affectedSelectable','375Jyyute','end','set','parse','3487981GRtlNp','length','from','_lastServerVersion','history','size','applyOperation','_disconnectService','_knownRootNames','_fetchMissingUsers','multi-root-editor-root-attributes-no-root','real-time-collaboration','collaboration.channelId','getConnectedSessions','enableReadOnlyMode','editor','roots','realtimecollaborationclient-error','reconnect','_compressor','_handleSendingSelectionMarkers','string','filter','addRootAttribute','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Notification','directChange','code','change:range','createdAt','cs:removeUser','_ignoredOperations','4260858wgHeiS','realtimecollaborationclient-init-non-existent-root','disableReadOnlyMode','isDocumentOperation','newRange','rootName','map','_isInit','remove','InsertOperation','sessionAdd:','_isConnected','channelSessions','8937968WALMrx','_sendBufferedOperationsDelayId','_handleReceivedOperations','sessionId','RealTimeCollaborationClient','rtc-destroyed','_isPendingUpdate','get','_authorId','editing','lastDocumentSession','30170330FMQAkK','baseVersion','_clearPendingAction','409','document:write','then','position','targetPosition','connect','realtimecollaborationclient-init-document-already-initialized','_loadRoot','keys','view','isOfficialPlugin','wereChangesApplied','cloudDocumentVersion','isUndoneOperation','stop','realtimecollaborationclient-init-service-incorrect-server-operation','_hasSelectionChanged','differ','metadata','requires','getDocumentDetails','Synchronization\x20issue','reconnection:\x20flushed\x20session','getUser','affectsData','data','createRoot','_isDisconnection','batch','lastOperationId','sendOperations','markers','getRoot','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','currentDocumentSession','_compressOperations','_updateServerHistory','compress','_handleServerResponse','_waitUntilSynced','_connectService','cloud-services-internal-error:\x20Not\x20connected.','_disconnectionOperations','_pendingAction','_applyOperationsSet','type','addRoot','high','insert','18XlkRvL','isPremiumPlugin','791626cpdHeA','realtimecollaborationclient-init-session-connection-error','_shouldSendSelectionUpdate','createRange','path','realtimecollaborationclient','_handleReconnectionError','lastOperationAcceptedAt','_initThrowingOnDataSet','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.','fire','loadRoot','connection','addUser','move','isEnabled','_operationToId','_offset','cloudServices.bundleVersion','config','version','reset','_knownOperations','offset','error','sessionCreatedAt','realtimecollaborationclient-init-service-internal-error','_channelId','Permissions','createPositionFromPath','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.','547727iBMkHV','serverHistory','_hasSynchronizationProblem','initData','_document','init','pluginName','push','message','CommentsOnly','ready','CollaborativeEditingService','cloud-services-internal-error:\x20Request\x20timeout.','define','createUserMarkerOperations','clone','operationsReceived','_shouldSendUpdate','slice','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','bind','_saveOperationInBuffer','off','root','collaboration-missing-channelid','_sendBufferedOperationsDelayed','_addKnownRoot','_setUpDataInit','state','_initSessionsHandling','rtc-offline','locale','fromJSON','showWarning','_handleReconnectionResponse','_baseBufferDelay','forEach','getIdOfTheLastOperation','_setPendingAction','wasUndone','_operationIdentifier','catch','rootsAttributes','return','plugins','collaboration','_bufferedOperations','apply','_isLoaded','_connectAfterSessionHasBeenFlushed','getOperationAuthor','connected','_bufferRootLoad','$root','permissions','_currentBufferDelay','removeFromReconnectionStack','userId','__className','setPermissions','suppressErrorInCollaboration','destroy','_getAffectedRoot','add','isReadOnly','selection'];_0x2601=function(){return _0x47489c;};return _0x2601();}import{Plugin as _0x440971,PendingActions as _0x1889d8}from'ckeditor5/src/core.js';import{CKEditorError as _0x28d7b9,version as _0xbb45cc,uid as _0x15cf44}from'ckeditor5/src/utils.js';import{Notification as _0x2a4eee}from'ckeditor5/src/ui.js';import{transformSets as _0x32410e,NoOperation as _0x181f44,InsertOperation as _0x2eb4c8,MarkerOperation as _0x1cb31c,RootAttributeOperation as _0x564079,OperationFactory as _0xbac866,History as _0x2645cd}from'ckeditor5/src/engine.js';function _0x5375(_0x516a2b,_0x3a5f8a){const _0x260142=_0x2601();return _0x5375=function(_0x5375e3,_0x2b89d8){_0x5375e3=_0x5375e3-0xa8;let _0x293ea2=_0x260142[_0x5375e3];return _0x293ea2;},_0x5375(_0x516a2b,_0x3a5f8a);}import _0x4e2ce0 from'./websocketgateway.js';import _0x15bef4 from'./sessions.js';import _0x42be84 from'./usermarkers.js';import{getTranslation as _0x3569ad}from'../common-translations.js';import{Compressor as _0xbbe6d3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x28762c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x421814,CollaborativeEditingService as _0x16bfc7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x440971{static get[_0x28930f(0xe0)](){return[_0x4e2ce0,_0x15bef4,_0x42be84,_0x1889d8,_0x28762c,_0x2a4eee];}static get[_0x28930f(0x125)](){const _0x1f66a6=_0x28930f;return _0x1f66a6(0xc3);}static get[_0x28930f(0xd7)](){return!0x0;}static get[_0x28930f(0xff)](){return!0x0;}get[_0x28930f(0xd9)](){const _0x685347=_0x28930f;return this[_0x685347(0x19b)]+this[_0x685347(0x111)];}get[_0x28930f(0x19b)](){const _0x598de4=_0x28930f;return this[_0x598de4(0x120)][_0x598de4(0x114)]-this[_0x598de4(0x111)];}get[_0x28930f(0x180)](){const _0x258a68=_0x28930f,_0x4857a6=this[_0x258a68(0x120)][_0x258a68(0x16e)]();for(let _0x5a8336=_0x4857a6[_0x258a68(0x199)]-0x1;_0x5a8336>=0x0;_0x5a8336--){const _0x427695=_0x4857a6[_0x5a8336];if(!this[_0x258a68(0xf7)][_0x258a68(0x192)](_0x427695))return _0x427695[_0x258a68(0xcb)]+0x1-this[_0x258a68(0x111)];}return 0x0;}constructor(_0xecd85c){const _0x5202a8=_0x28930f;if(super(_0xecd85c),this[_0x5202a8(0x111)]=0x0,this[_0x5202a8(0xc2)]=null,this[_0x5202a8(0x120)]=new _0x2645cd(),this[_0x5202a8(0x1a7)][_0x5202a8(0x113)][_0x5202a8(0x12c)](_0x5202a8(0x14c),{}),this[_0x5202a8(0x11b)]=this[_0x5202a8(0x1a7)][_0x5202a8(0x113)][_0x5202a8(0xc6)](_0x5202a8(0x1a4)),!this[_0x5202a8(0x11b)])throw new _0x28d7b9(_0x5202a8(0x137),this);const _0x1fabfe=_0xecd85c[_0x5202a8(0x113)][_0x5202a8(0xc6)](_0x5202a8(0x112))||_0xbb45cc;this[_0x5202a8(0x16c)]=new l[(_0x5202a8(0x12a))](_0x1fabfe,this[_0x5202a8(0x11b)]),this[_0x5202a8(0x123)]=this[_0x5202a8(0x1a7)][_0x5202a8(0x162)][_0x5202a8(0x174)],this[_0x5202a8(0x1ab)]=new _0xbbe6d3(),this[_0x5202a8(0x14d)]=[],this[_0x5202a8(0x116)]=new WeakSet(),this[_0x5202a8(0x1a0)]=new Set(),this[_0x5202a8(0x196)](_0x5202a8(0xc5),!0x1),this[_0x5202a8(0x196)](_0x5202a8(0x121),!0x1),this[_0x5202a8(0xf8)]=null,this[_0x5202a8(0xdd)]=!0x1,this[_0x5202a8(0xc0)]=null,this[_0x5202a8(0x142)]=0x12c,this[_0x5202a8(0x156)]=this[_0x5202a8(0x142)],this[_0x5202a8(0x182)]=null,this[_0x5202a8(0xf7)]=new WeakSet(),this[_0x5202a8(0x147)]=new X(this[_0x5202a8(0xf7)]);}[_0x28930f(0x124)](){const _0x340fb3=_0x28930f,_0x2d2a53=this[_0x340fb3(0x1a7)],_0x41c755=_0x2d2a53[_0x340fb3(0x14b)][_0x340fb3(0xc6)](_0x28762c),_0x21dce3=_0x2d2a53[_0x340fb3(0x14b)][_0x340fb3(0xc6)](_0x4e2ce0);this[_0x340fb3(0x17a)](_0x41c755,_0x340fb3(0x151),(_0xaa2df,_0x54f028)=>{const _0x439019=_0x340fb3,_0x3fb702=_0x54f028[0x0];_0x3fb702[_0x439019(0xc7)]&&(_0xaa2df[_0x439019(0x14a)]=_0x41c755[_0x439019(0xe4)](_0x3fb702[_0x439019(0xc7)]),_0xaa2df[_0x439019(0xdb)]()),null===_0x3fb702[_0x439019(0xc7)]&&(_0xaa2df[_0x439019(0x14a)]=null,_0xaa2df[_0x439019(0xdb)]());},{'priority':_0x340fb3(0xfc)}),this[_0x340fb3(0x17a)](_0x2d2a53[_0x340fb3(0x162)][_0x340fb3(0x174)][_0x340fb3(0x160)],_0x340fb3(0xae),(_0x3ab400,_0x2d6fb1)=>{const _0x3a364e=_0x340fb3;_0x2d6fb1[_0x3a364e(0xac)]&&this[_0x3a364e(0x18c)]();}),this[_0x340fb3(0x17a)](_0x2d2a53[_0x340fb3(0xc8)][_0x340fb3(0xd6)],_0x340fb3(0x191),()=>{const _0x16db62=_0x340fb3;this[_0x16db62(0x18c)]();}),this[_0x340fb3(0x108)](),_0x2d2a53[_0x340fb3(0x162)]['on'](_0x340fb3(0x19e),(_0x564e76,_0x57f283)=>{const _0x26127d=_0x340fb3,_0x44c7d0=_0x57f283[0x0];_0x44c7d0[_0x26127d(0xb5)]&&(this[_0x26127d(0x134)](_0x44c7d0),this[_0x26127d(0x130)]()&&this[_0x26127d(0x138)]());}),this[_0x340fb3(0x13a)](),this[_0x340fb3(0x133)](_0x340fb3(0x16f))['to'](_0x21dce3,_0x340fb3(0x13b),this,_0x340fb3(0x121),(_0xefbf32,_0x1c71bc)=>_0x340fb3(0x152)===_0xefbf32&&!_0x1c71bc),this['on'](_0x340fb3(0x164),()=>{const _0x90d7cf=_0x340fb3;this[_0x90d7cf(0x16f)]?_0x2d2a53[_0x90d7cf(0xb4)](_0x90d7cf(0x13d)):_0x2d2a53[_0x90d7cf(0x1a6)](_0x90d7cf(0x13d));}),this[_0x340fb3(0x16f)]?_0x2d2a53[_0x340fb3(0xb4)](_0x340fb3(0x13d)):_0x2d2a53[_0x340fb3(0x1a6)](_0x340fb3(0x13d)),this[_0x340fb3(0x196)](_0x340fb3(0xbd),!0x1);}async[_0x28930f(0x1aa)](){const _0x4d4dbd=_0x28930f,_0x1b190b=this[_0x4d4dbd(0x1a7)][_0x4d4dbd(0x14b)][_0x4d4dbd(0xc6)](_0x15bef4),_0x146080=this[_0x4d4dbd(0x1a7)][_0x4d4dbd(0x14b)][_0x4d4dbd(0xc6)](_0x4e2ce0);try{this[_0x4d4dbd(0xc5)]=!0x0,_0x1b190b[_0x4d4dbd(0x173)](this[_0x4d4dbd(0x11b)]);const _0x586178=await this[_0x4d4dbd(0x16c)][_0x4d4dbd(0x1aa)](_0x146080[_0x4d4dbd(0x10c)],this[_0x4d4dbd(0x180)]);await this[_0x4d4dbd(0x141)](_0x586178)&&(this[_0x4d4dbd(0xc5)]=!0x1,this[_0x4d4dbd(0xcc)]());const _0x2103e8=await this[_0x4d4dbd(0x16c)][_0x4d4dbd(0x1a5)]();_0x1b190b[_0x4d4dbd(0x170)](this[_0x4d4dbd(0x11b)],_0x2103e8),this[_0x4d4dbd(0x1ac)](),this[_0x4d4dbd(0xbd)]=!0x0;}catch(_0x297b84){if(function(_0xe41fd6){const _0x3b7422=_0x4d4dbd;return _0x3b7422(0x17e)===_0xe41fd6[_0x3b7422(0xad)];}(_0x297b84)&&this[_0x4d4dbd(0xc2)])await this[_0x4d4dbd(0x150)]();else{if(function(_0x2f78ba){const _0x68edc0=_0x4d4dbd;return _0x68edc0(0xcd)===_0x2f78ba[_0x68edc0(0xad)];}(_0x297b84)){const _0xf03dbf=_0x3569ad(this[_0x4d4dbd(0x1a7)][_0x4d4dbd(0x13e)],_0x4d4dbd(0xaa));this[_0x4d4dbd(0x106)](_0xf03dbf);}else{if(!(_0x297b84 instanceof J))throw _0x297b84;this[_0x4d4dbd(0x106)]();}}}}[_0x28930f(0x15c)](){const _0x4ba047=_0x28930f,_0x2a79eb=this[_0x4ba047(0x1a7)][_0x4ba047(0x14b)][_0x4ba047(0xc6)](_0x4e2ce0),_0x6c8a81=this[_0x4ba047(0x1a7)][_0x4ba047(0x14b)][_0x4ba047(0xc6)](_0x15bef4);this[_0x4ba047(0x1a7)][_0x4ba047(0x1a6)](_0x4ba047(0xc4)),_0x6c8a81[_0x4ba047(0xbe)][_0x4ba047(0x192)](this[_0x4ba047(0x11b)])&&_0x6c8a81[_0x4ba047(0x173)](this[_0x4ba047(0x11b)]),_0x2a79eb[_0x4ba047(0x157)](this),this[_0x4ba047(0x19f)](),super[_0x4ba047(0x15c)]();}async[_0x28930f(0x141)](_0x4ef66d){const _0x20fbb3=_0x28930f;if(this[_0x20fbb3(0xc2)]!==_0x4ef66d[_0x20fbb3(0xc2)]&&this[_0x20fbb3(0x182)]!==_0x4ef66d[_0x20fbb3(0xea)])throw new J();return this[_0x20fbb3(0xc2)]=_0x4ef66d[_0x20fbb3(0xc2)],this[_0x20fbb3(0xf3)]([],{..._0x4ef66d,'wereChangesApplied':!0x1,'data':_0x4ef66d[_0x20fbb3(0xe6)]},_0x20fbb3(0x1aa));}async[_0x28930f(0xf5)](_0x273643,_0x1a3505=!0x1){const _0x5b5ecc=_0x28930f,{connection:_0x1c62c6}=this[_0x5b5ecc(0x1a7)][_0x5b5ecc(0x14b)][_0x5b5ecc(0xc6)](_0x4e2ce0);l[_0x5b5ecc(0x12a)][_0x5b5ecc(0x1a5)](_0x1c62c6,this[_0x5b5ecc(0x11b)])[_0x5b5ecc(0xcf)](_0x51afae=>this[_0x5b5ecc(0x13c)](_0x51afae))[_0x5b5ecc(0x148)](_0x256303=>{const _0x2ad2a0=_0x5b5ecc;this[_0x2ad2a0(0x18a)](_0x2ad2a0(0x101),_0x256303);}),this[_0x5b5ecc(0x17a)](this[_0x5b5ecc(0x16c)],_0x5b5ecc(0x12f),this[_0x5b5ecc(0xc1)][_0x5b5ecc(0x133)](this)),this[_0x5b5ecc(0x17a)](this[_0x5b5ecc(0x16c)],_0x5b5ecc(0x118),(_0x2888be,_0x30c175)=>{const _0x3c825b=_0x5b5ecc;this[_0x3c825b(0x18a)](_0x3c825b(0x11a),_0x30c175);}),this[_0x5b5ecc(0x17a)](this[_0x5b5ecc(0x16c)],_0x5b5ecc(0x166),()=>{const _0x453508=_0x5b5ecc;this[_0x453508(0xbd)]=!0x1;});const _0x5c2743=this[_0x5b5ecc(0x147)][_0x5b5ecc(0x144)](_0x273643);this[_0x5b5ecc(0xc5)]=!0x0;const _0x2e155a=await this[_0x5b5ecc(0x16c)][_0x5b5ecc(0xd2)](_0x1c62c6,this[_0x5b5ecc(0xf0)](_0x273643),_0x5c2743);if(this[_0x5b5ecc(0xc2)]=_0x2e155a[_0x5b5ecc(0xc2)],_0x1a3505){if(!_0x2e155a[_0x5b5ecc(0xd8)])return void this[_0x5b5ecc(0x106)]();this[_0x5b5ecc(0xc5)]=!0x1,this[_0x5b5ecc(0xcc)](),this[_0x5b5ecc(0x120)][_0x5b5ecc(0x115)](),this[_0x5b5ecc(0x111)]=_0x2e155a[_0x5b5ecc(0x117)],this[_0x5b5ecc(0x120)][_0x5b5ecc(0x114)]=this[_0x5b5ecc(0x111)],await this[_0x5b5ecc(0xf3)](_0x273643,_0x2e155a,_0x5b5ecc(0xe3));}else await this[_0x5b5ecc(0x17f)](_0x2e155a,_0x273643);this[_0x5b5ecc(0x1ac)](),this[_0x5b5ecc(0xbd)]=!0x0;}[_0x28930f(0x1ac)](){const _0x34a086=_0x28930f,_0x32c9d3=this[_0x34a086(0x1a7)][_0x34a086(0x14b)][_0x34a086(0xc6)](_0x15bef4),_0x5e528b=this[_0x34a086(0x1a7)][_0x34a086(0x14b)][_0x34a086(0xc6)](_0x42be84),_0x791e5c=_0x32c9d3[_0x34a086(0xbe)][_0x34a086(0xc6)](this[_0x34a086(0x11b)]);_0x791e5c&&_0x791e5c[_0x34a086(0x199)]>0x1?_0x5e528b[_0x34a086(0x12d)]():this[_0x34a086(0x17a)](_0x32c9d3,_0x34a086(0xbc)+this[_0x34a086(0x11b)],()=>{const _0x33a60f=_0x34a086;0x2===_0x32c9d3[_0x33a60f(0xbe)][_0x33a60f(0xc6)](this[_0x33a60f(0x11b)])[_0x33a60f(0x199)]&&_0x5e528b[_0x33a60f(0x12d)]();});}async[_0x28930f(0xc1)](_0x5c97c7,_0x21929b,_0x431754,_0x21b4f4){const _0x3e0305=_0x28930f;if(!this[_0x3e0305(0xc5)]&&this[_0x3e0305(0x123)][_0x3e0305(0x114)]==_0x21929b){const _0xb90166=this[_0x3e0305(0x190)](_0x431754,_0x21b4f4);await this[_0x3e0305(0x1a1)](_0xb90166),this[_0x3e0305(0x18d)](_0xb90166,_0x21929b,_0x431754[_0x3e0305(0xea)])||this[_0x3e0305(0x18a)](_0x3e0305(0xdc));}}async[_0x28930f(0x150)](){const _0x3599d0=_0x28930f;this[_0x3599d0(0x19f)]();const {locale:_0x2799cc}=this[_0x3599d0(0x1a7)];let _0x1a9e88;try{_0x1a9e88=await this[_0x3599d0(0x16c)][_0x3599d0(0xe1)]();}catch(_0x5040af){const _0x436bda=_0x3569ad(_0x2799cc,_0x3599d0(0x179));return void this[_0x3599d0(0x106)](_0x436bda);}const _0x2f295a=_0x1a9e88[_0x3599d0(0xef)]||_0x1a9e88[_0x3599d0(0xc9)];if(this[_0x3599d0(0x182)]===_0x2f295a[_0x3599d0(0xea)])await this[_0x3599d0(0xf5)](this[_0x3599d0(0x1a7)][_0x3599d0(0x162)][_0x3599d0(0x174)][_0x3599d0(0x19c)][_0x3599d0(0x16e)](),!0x0);else{const _0x49f4c1=_0x3569ad(_0x2799cc,_0x3599d0(0x109));this[_0x3599d0(0x106)](_0x49f4c1);}}[_0x28930f(0x19f)](){const _0x3356e9=_0x28930f;this[_0x3356e9(0x16c)][_0x3356e9(0x184)](),this[_0x3356e9(0x14d)]=[],clearTimeout(this[_0x3356e9(0xc0)]),this[_0x3356e9(0x168)](this[_0x3356e9(0x16c)]);}[_0x28930f(0x13c)](_0x27768e){const _0x28363f=_0x28930f,_0xef6d19=this[_0x28363f(0x1a7)][_0x28363f(0x14b)][_0x28363f(0xc6)](_0x15bef4);this[_0x28363f(0x17a)](_0xef6d19,_0x28363f(0xbc)+this[_0x28363f(0x11b)],(_0x119b0f,{session:_0x27430d})=>{const _0x18eacc=_0x28363f;if(_0x27430d['id']===_0xef6d19[_0x18eacc(0x187)]){_0x119b0f[_0x18eacc(0x135)]();const _0x3455a1=this[_0x18eacc(0x1a7)][_0x18eacc(0x14b)][_0x18eacc(0x192)](_0x18eacc(0x128))&&this[_0x18eacc(0x1a7)][_0x18eacc(0x14b)][_0x18eacc(0xc6)](_0x18eacc(0x128));let _0x22d19a=_0x27430d[_0x18eacc(0x155)];_0x3455a1&&_0x3455a1[_0x18eacc(0x10f)]&&(_0x22d19a=_0x22d19a[_0x18eacc(0xa8)](_0x58b216=>_0x18eacc(0xce)!==_0x58b216)),this[_0x18eacc(0x1a7)][_0x18eacc(0x14b)][_0x18eacc(0xc6)](_0x18eacc(0x11c))[_0x18eacc(0x15a)](_0x22d19a,this[_0x18eacc(0x11b)]);}}),_0xef6d19[_0x28363f(0x170)](this[_0x28363f(0x11b)],_0x27768e);}[_0x28930f(0x108)](){const _0x4ac698=_0x28930f,_0x21e69c=this[_0x4ac698(0x1a7)][_0x4ac698(0xe6)][_0x4ac698(0x196)];this[_0x4ac698(0x1a7)][_0x4ac698(0xe6)][_0x4ac698(0x196)]=(..._0x2e9cb5)=>{const _0x242e19=_0x4ac698;if(!_0x2e9cb5[_0x2e9cb5[_0x242e19(0x199)]-0x1][_0x242e19(0x15b)])throw new _0x28d7b9(_0x242e19(0x132),this);_0x21e69c[_0x242e19(0x14e)](this[_0x242e19(0x1a7)][_0x242e19(0xe6)],_0x2e9cb5);};}[_0x28930f(0x13a)](){const _0x1c86d4=_0x28930f;this[_0x1c86d4(0x1a7)][_0x1c86d4(0xe6)]['on'](_0x1c86d4(0x124),(_0x3af638,[_0x2e6e84])=>{const _0x13290b=_0x1c86d4;if(this[_0x13290b(0x123)][_0x13290b(0x114)])throw new _0x28d7b9(_0x13290b(0xd3),this);_0x3af638[_0x13290b(0xdb)](),this[_0x13290b(0x145)]();const _0xaa913a=this[_0x13290b(0x1a7)][_0x13290b(0x113)][_0x13290b(0xc6)](_0x13290b(0x149)),_0x3e586b=this[_0x13290b(0x176)](_0x2e6e84,_0xaa913a);0x0==_0x3e586b[_0x13290b(0x199)]&&_0x3e586b[_0x13290b(0x126)](new _0x181f44(0x0)),_0x3af638[_0x13290b(0x14a)]=this[_0x13290b(0xf5)](_0x3e586b)[_0x13290b(0xcf)](()=>{const _0x6845ca=_0x13290b;this[_0x6845ca(0x1a7)][_0x6845ca(0x14b)][_0x6845ca(0xc6)](_0x4e2ce0)[_0x6845ca(0x17d)](this),this[_0x6845ca(0x1a7)][_0x6845ca(0xe6)][_0x6845ca(0x10a)](_0x6845ca(0x129));})[_0x13290b(0x148)](_0x14d312=>this[_0x13290b(0x18a)](_0x13290b(0x188),_0x14d312))[_0x13290b(0x185)](()=>this[_0x13290b(0xcc)]());},{'priority':_0x1c86d4(0xfc)}),this[_0x1c86d4(0x1a7)]['on'](_0x1c86d4(0x10b),async(_0x39be05,[_0xc984ee,_0x370e6b])=>{const _0x22a001=_0x1c86d4;_0x39be05[_0x22a001(0xdb)]();const _0x25761c=this[_0x22a001(0x1a7)][_0x22a001(0x162)][_0x22a001(0x174)][_0x22a001(0xed)](_0xc984ee);if(!this[_0x22a001(0x1a0)][_0x22a001(0x192)](_0xc984ee)){const _0x508b1c=_0x370e6b&&_0x370e6b[_0x22a001(0xe6)]?_0x370e6b[_0x22a001(0xe6)]:'',_0xc53f9=_0x370e6b&&_0x370e6b[_0x22a001(0x171)]?_0x370e6b[_0x22a001(0x171)]:{};await this[_0x22a001(0xd4)](_0xc984ee,_0x508b1c,_0xc53f9);}this[_0x22a001(0x1a7)][_0x22a001(0x162)][_0x22a001(0x16b)]({'isUndoable':!0x1},()=>{const _0x594422=_0x22a001;_0x25761c[_0x594422(0x14f)]=!0x0,this[_0x594422(0x1a7)][_0x594422(0x162)][_0x594422(0x174)][_0x594422(0xde)][_0x594422(0x153)](_0x25761c);});},{'priority':_0x1c86d4(0xfc)});}async[_0x28930f(0x1a1)](_0x4a6dfd){const _0x1758db=_0x28930f,_0x36366c=this[_0x1758db(0x1a7)][_0x1758db(0x14b)][_0x1758db(0xc6)](_0x28762c),{connection:_0x313cfe}=this[_0x1758db(0x1a7)][_0x1758db(0x14b)][_0x1758db(0xc6)](_0x4e2ce0),_0x59ebc0=new Set();for(const _0x365f68 of _0x4a6dfd){const _0x94e543=_0x365f68[_0x1758db(0xc7)];_0x94e543&&!_0x36366c[_0x1758db(0xe4)](_0x94e543)&&_0x59ebc0[_0x1758db(0x15e)](_0x94e543);}if(0x0===_0x59ebc0[_0x1758db(0x19d)])return;const _0xf093cf=await _0x421814[_0x1758db(0x183)](_0x313cfe,Array[_0x1758db(0x19a)](_0x59ebc0));for(const _0x2f1da1 of _0xf093cf)_0x36366c[_0x1758db(0xe4)](_0x2f1da1['id'])||_0x36366c[_0x1758db(0x10d)](_0x2f1da1);}[_0x28930f(0x176)](_0x164361,_0x9a4e19={}){const _0x5ee0d5=_0x28930f,_0x1c7b0c=this[_0x5ee0d5(0x1a7)][_0x5ee0d5(0x162)],_0x35caf9=[];let _0x4589fe=0x0;const _0x365a82=_0x5ee0d5(0x1ad)==typeof _0x164361?{'main':_0x164361}:_0x164361;for(const _0x304b8b of Object[_0x5ee0d5(0xd5)](_0x365a82)){if(!this[_0x5ee0d5(0x123)][_0x5ee0d5(0x1a8)][_0x5ee0d5(0x192)](_0x304b8b))throw new _0x28d7b9(_0x5ee0d5(0xb3),this);const _0xfafe15=this[_0x5ee0d5(0x1a7)][_0x5ee0d5(0xe6)][_0x5ee0d5(0x197)](_0x365a82[_0x304b8b]),_0x52de73=this[_0x5ee0d5(0x123)][_0x5ee0d5(0xed)](_0x304b8b),_0x51e7f5=new _0x2eb4c8(_0x1c7b0c[_0x5ee0d5(0x163)](_0x52de73,0x0),_0xfafe15,_0x4589fe++);_0x35caf9[_0x5ee0d5(0x126)](_0x51e7f5);for(const [_0x5a5aaa,_0x402428]of _0xfafe15[_0x5ee0d5(0xec)]){const _0x227e13=_0x1c7b0c[_0x5ee0d5(0x103)](_0x1c7b0c[_0x5ee0d5(0x11d)](_0x52de73,_0x402428[_0x5ee0d5(0x16a)][_0x5ee0d5(0x104)][_0x5ee0d5(0x131)]()),_0x1c7b0c[_0x5ee0d5(0x11d)](_0x52de73,_0x402428[_0x5ee0d5(0x195)][_0x5ee0d5(0x104)][_0x5ee0d5(0x131)]())),_0xb989e0=new _0x1cb31c(_0x5a5aaa,null,_0x227e13,_0x1c7b0c[_0x5ee0d5(0xec)],!0x0,_0x4589fe++);_0x35caf9[_0x5ee0d5(0x126)](_0xb989e0);}}if(_0x9a4e19)for(const [_0x32a1af,_0x33eeee]of Object[_0x5ee0d5(0x18f)](_0x9a4e19)){const _0x56add6=_0x1c7b0c[_0x5ee0d5(0x174)][_0x5ee0d5(0xed)](_0x32a1af);if(!_0x56add6)throw new _0x28d7b9(_0x5ee0d5(0x1a2),null);for(const [_0xfb923b,_0x245d35]of Object[_0x5ee0d5(0x18f)](_0x33eeee))if(null!==_0x245d35){const _0x394c1b=new _0x564079(_0x56add6,_0xfb923b,null,_0x245d35,_0x4589fe++);_0x35caf9[_0x5ee0d5(0x126)](_0x394c1b);}}return _0x35caf9;}async[_0x28930f(0xd4)](_0x14e065,_0x562659,_0xd84b50){const _0x49f179=_0x28930f;this[_0x49f179(0x176)]({[_0x14e065]:_0x562659},{[_0x14e065]:_0xd84b50})[_0x49f179(0x143)]((_0x410838,_0x2dae18)=>{const _0x6bde85=_0x49f179;_0x410838[_0x6bde85(0xcb)]=this[_0x6bde85(0x123)][_0x6bde85(0x114)]+_0x2dae18,_0x410838[_0x6bde85(0xb9)]=!0x0,this[_0x6bde85(0x134)](_0x410838);}),this[_0x49f179(0x138)](),await this[_0x49f179(0xf4)]();}async[_0x28930f(0x17f)](_0x1bd169,_0x279217){const _0xab0f5b=_0x28930f;let _0x37dbca;this[_0xab0f5b(0x111)]=_0x1bd169[_0xab0f5b(0x117)];const _0x511722=_0x1bd169[_0xab0f5b(0xd8)]&&!_0x1bd169[_0xab0f5b(0x122)],_0x40b13b=_0x511722?0x0:_0x1bd169[_0xab0f5b(0xe6)][_0xab0f5b(0xcb)];if(_0x279217[_0xab0f5b(0x143)](_0x3d6ce4=>{const _0x94c66e=_0xab0f5b;_0x3d6ce4[_0x94c66e(0xb9)]=!0x0,_0x3d6ce4[_0x94c66e(0xaf)]=_0x1bd169[_0x94c66e(0x119)],_0x3d6ce4[_0x94c66e(0xc7)]=null;}),_0x511722)_0x37dbca=_0x279217,this[_0xab0f5b(0xf9)](_0x37dbca,_0x511722);else{if(_0x1bd169[_0xab0f5b(0x122)]){const _0x2e7025=this[_0xab0f5b(0x176)](_0x1bd169[_0xab0f5b(0x122)]);this[_0xab0f5b(0x123)][_0xab0f5b(0x19c)][_0xab0f5b(0x114)]=-_0x2e7025[_0xab0f5b(0x199)],_0x2e7025[_0xab0f5b(0x143)](_0x5f43b8=>{const _0x575325=_0xab0f5b;_0x5f43b8[_0x575325(0xcb)]-=_0x2e7025[_0x575325(0x199)],_0x5f43b8[_0x575325(0xaf)]=_0x1bd169[_0x575325(0x119)],_0x5f43b8[_0x575325(0xb9)]=!0x0,_0x5f43b8[_0x575325(0xc7)]=null;}),this[_0xab0f5b(0xf9)](_0x2e7025,!0x0),this[_0xab0f5b(0x120)][_0xab0f5b(0x114)]=-_0x2e7025[_0xab0f5b(0x199)]+this[_0xab0f5b(0x111)],this[_0xab0f5b(0xf1)](_0x2e7025);}this[_0xab0f5b(0x123)][_0xab0f5b(0x19c)][_0xab0f5b(0x114)]=_0x40b13b,_0x37dbca=this[_0xab0f5b(0x190)](_0x1bd169[_0xab0f5b(0xe6)],_0x1bd169[_0xab0f5b(0xdf)]),await this[_0xab0f5b(0x1a1)](_0x37dbca),this[_0xab0f5b(0xf9)](_0x37dbca,_0x511722);}_0x1bd169[_0xab0f5b(0xea)]&&(this[_0xab0f5b(0x147)][_0xab0f5b(0x189)](_0x37dbca,_0x1bd169[_0xab0f5b(0xea)]),this[_0xab0f5b(0x182)]=_0x1bd169[_0xab0f5b(0xea)]),this[_0xab0f5b(0x120)][_0xab0f5b(0x114)]=_0x40b13b+this[_0xab0f5b(0x111)],this[_0xab0f5b(0xf1)](_0x37dbca),_0x279217[_0xab0f5b(0xa8)](_0xb67ecf=>{const _0x4c200a=_0xab0f5b,_0x3b85ce=this[_0x4c200a(0x15d)](_0xb67ecf);return _0x3b85ce&&!this[_0x4c200a(0x1a0)][_0x4c200a(0x192)](_0x3b85ce);})[_0xab0f5b(0x143)]((_0x40a867,_0x490fed)=>{const _0x35ffcc=_0xab0f5b;_0x40a867[_0x35ffcc(0xcb)]=this[_0x35ffcc(0x123)][_0x35ffcc(0x114)]+_0x490fed,this[_0x35ffcc(0x134)](_0x40a867);}),this[_0xab0f5b(0x130)]()?(this[_0xab0f5b(0x156)]=0x0,this[_0xab0f5b(0x138)](!0x0),await this[_0xab0f5b(0xf4)]()):(this[_0xab0f5b(0xc5)]=!0x1,this[_0xab0f5b(0xcc)]());}[_0x28930f(0x18a)](_0x2551e1,_0x2a03ed){const _0x97d91f=_0x28930f,_0x169454=_0x2a03ed&&_0x2a03ed[_0x97d91f(0x127)];if(_0x169454&&_0x169454[_0x97d91f(0x18b)](_0x97d91f(0x105)))throw _0x2a03ed;const _0x470971=this[_0x97d91f(0x1a7)][_0x97d91f(0x14b)][_0x97d91f(0xc6)](_0x4e2ce0);throw this[_0x97d91f(0xc5)]=!0x0,_0x470971[_0x97d91f(0x184)](),this[_0x97d91f(0x1a7)][_0x97d91f(0x1a6)](_0x97d91f(0x1a9)),new _0x28d7b9(_0x2551e1,this[_0x97d91f(0x1a7)],_0x169454?{'originalError':_0x169454}:void 0x0);}[_0x28930f(0x134)](_0x180564){const _0x38c989=_0x28930f;this[_0x38c989(0x116)][_0x38c989(0x192)](_0x180564)||(this[_0x38c989(0x116)][_0x38c989(0x15e)](_0x180564),this[_0x38c989(0x14d)][_0x38c989(0x126)](_0x180564),this[_0x38c989(0xf8)]||_0x38c989(0x178)==_0x180564[_0x38c989(0xfa)]&&!_0x180564[_0x38c989(0xe5)]||this[_0x38c989(0x145)]());}[_0x28930f(0x138)](_0x566097=!0x1){const _0x349583=_0x28930f;!_0x566097&&this[_0x349583(0xc5)]||(this[_0x349583(0xc5)]=!0x0,clearTimeout(this[_0x349583(0xc0)]),this[_0x349583(0xc0)]=setTimeout(()=>{const _0x5e75a6=_0x349583;this[_0x5e75a6(0x165)]()[_0x5e75a6(0xcf)](_0x500815=>{const _0x1b33e8=_0x5e75a6;_0x500815&&(this[_0x1b33e8(0xcc)](),this[_0x1b33e8(0xc5)]=!0x1);})[_0x5e75a6(0x148)](_0x47b2ef=>{const _0x399ac8=_0x5e75a6;this[_0x399ac8(0xcc)](),this[_0x399ac8(0xc5)]=!0x1,function(_0x4dd74c){const _0x5f1425=_0x399ac8;return _0x4dd74c[_0x5f1425(0x127)][_0x5f1425(0x18b)](_0x5f1425(0xf6))||_0x4dd74c[_0x5f1425(0x127)][_0x5f1425(0x18b)](_0x5f1425(0xee))||_0x4dd74c[_0x5f1425(0x127)][_0x5f1425(0x18b)](_0x5f1425(0x12b));}(_0x47b2ef)||this[_0x399ac8(0x18a)](_0x47b2ef[_0x399ac8(0x127)],_0x47b2ef);});},this[_0x349583(0x156)]));}[_0x28930f(0xf4)](){return new Promise(_0x15aebe=>{const _0x286574=_0x5375;this['on'](_0x286574(0x169),()=>{_0x15aebe();});});}async[_0x28930f(0x165)](){const _0x1964d9=_0x28930f,_0x5b8d23=this[_0x1964d9(0x1a7)][_0x1964d9(0x14b)][_0x1964d9(0xc6)](_0x42be84);if(this[_0x1964d9(0x102)]()&&(_0x5b8d23[_0x1964d9(0x12d)](),this[_0x1964d9(0xdd)]=!0x1),!this[_0x1964d9(0x130)]())return!0x0;const _0x34c1f1=[...this[_0x1964d9(0x14d)]];for(const _0x2324be of _0x34c1f1)_0x2324be[_0x1964d9(0x146)]=this[_0x1964d9(0x123)][_0x1964d9(0x19c)][_0x1964d9(0xda)](_0x2324be);const _0x210959=this[_0x1964d9(0x147)][_0x1964d9(0x144)](_0x34c1f1),_0x5b196f=K++,_0x261fe0=this[_0x1964d9(0xf0)](_0x34c1f1),_0xdeffcb=await this[_0x1964d9(0x16c)][_0x1964d9(0xeb)](_0x261fe0,_0x261fe0[_0x1964d9(0xcb)],_0x210959);try{return await this[_0x1964d9(0xf3)](_0x34c1f1,_0xdeffcb,_0x5b196f);}catch(_0x4309db){return this[_0x1964d9(0x18a)](_0x1964d9(0x18e),_0x4309db);}}async[_0x28930f(0xf3)](_0x30bd9f,_0x4aa628,_0x58fbbe){const _0x51ea98=_0x28930f;if(_0x51ea98(0x118)in _0x4aa628)throw _0x4aa628[_0x51ea98(0x118)];let _0x3c554b=!0x1;if(_0x4aa628[_0x51ea98(0xd8)]){_0x4aa628[_0x51ea98(0xea)]&&(this[_0x51ea98(0x182)]=_0x4aa628[_0x51ea98(0xea)]),this[_0x51ea98(0x14d)]=this[_0x51ea98(0x14d)][_0x51ea98(0xa8)](_0x324e28=>!_0x30bd9f[_0x51ea98(0x181)](_0x324e28));for(const _0x543974 of _0x30bd9f)_0x543974[_0x51ea98(0xaf)]=_0x51ea98(0x107)in _0x4aa628&&_0x4aa628[_0x51ea98(0x107)]||void 0x0;Q(_0x30bd9f,_0x4aa628[_0x51ea98(0x114)]-_0x30bd9f[_0x51ea98(0x199)]),this[_0x51ea98(0xf1)](_0x30bd9f);const _0x22d6c2=_0x30bd9f[_0x51ea98(0xa8)](_0x458cf1=>{const _0x2adc33=_0x51ea98;if(!_0x458cf1[_0x2adc33(0xb9)])return!0x1;const _0x25e132=this[_0x2adc33(0x15d)](_0x458cf1);return _0x25e132&&!this[_0x2adc33(0x1a0)][_0x2adc33(0x192)](_0x25e132);});Q(_0x22d6c2,this[_0x51ea98(0x123)][_0x51ea98(0x114)]),this[_0x51ea98(0xf9)](_0x22d6c2),_0x3c554b=!0x0,this[_0x51ea98(0x156)]=this[_0x51ea98(0x142)];}else{const _0x106526=this[_0x51ea98(0x190)](_0x4aa628[_0x51ea98(0xe6)],_0x4aa628[_0x51ea98(0xdf)])[_0x51ea98(0xa8)](_0x8cbb25=>_0x8cbb25[_0x51ea98(0xcb)]>=this[_0x51ea98(0x19b)]);_0x106526[_0x51ea98(0x143)](_0xc4c483=>this[_0x51ea98(0x139)](_0xc4c483)),this[_0x51ea98(0x14d)]=this[_0x51ea98(0x14d)][_0x51ea98(0xa8)](_0x28c912=>!_0x28c912[_0x51ea98(0xb9)]||!this[_0x51ea98(0x1a0)][_0x51ea98(0x192)](this[_0x51ea98(0x15d)](_0x28c912))),this[_0x51ea98(0x14d)][_0x51ea98(0x199)]&&Q(this[_0x51ea98(0x14d)],this[_0x51ea98(0x14d)][0x0][_0x51ea98(0xcb)]),await this[_0x51ea98(0x1a1)](_0x106526),_0x3c554b=this[_0x51ea98(0x18d)](_0x106526,_0x4aa628[_0x51ea98(0x114)],_0x4aa628[_0x51ea98(0xea)]),this[_0x51ea98(0x156)]=Math[_0x51ea98(0x17c)](this[_0x51ea98(0x156)]/0x2);}return _0x3c554b?!this[_0x51ea98(0x130)]()||(this[_0x51ea98(0x138)](!0x0),!0x1):this[_0x51ea98(0x18a)](_0x51ea98(0x167));}[_0x28930f(0x18d)](_0x2eb7df,_0x29ed00,_0xe230bd){const _0x8e03e9=_0x28930f;try{const _0x531045={'document':this[_0x8e03e9(0x123)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x29f5ac,operationsB:_0x2bacec,originalOperations:_0x5e7b31}=_0x32410e(_0x2eb7df,this[_0x8e03e9(0x14d)],_0x531045);Q(_0x29f5ac,this[_0x8e03e9(0x123)][_0x8e03e9(0x114)]),Q(_0x2bacec,_0x29ed00);for(const _0x142c2c of _0x29f5ac){const _0x480806=_0x5e7b31[_0x8e03e9(0xc6)](_0x142c2c);_0x142c2c[_0x8e03e9(0xc7)]=_0x480806?_0x480806[_0x8e03e9(0xc7)]:null;}_0xe230bd&&(this[_0x8e03e9(0x147)][_0x8e03e9(0x189)](_0x2eb7df,_0xe230bd),this[_0x8e03e9(0x182)]=_0xe230bd),this[_0x8e03e9(0x14d)]=[..._0x2bacec],this[_0x8e03e9(0xf9)](_0x29f5ac),this[_0x8e03e9(0xf1)](_0x2eb7df);}catch(_0x520abb){return console[_0x8e03e9(0x118)](_0x520abb),!0x1;}return!0x0;}[_0x28930f(0xf9)](_0x214970,_0x3700e9=!0x1){const _0x24b72d=_0x28930f;this[_0x24b72d(0x1a7)][_0x24b72d(0x162)][_0x24b72d(0x16b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28c4d0=>{const _0x2004b9=_0x24b72d;for(const _0x376548 of _0x214970)this[_0x2004b9(0x116)][_0x2004b9(0x15e)](_0x376548),this[_0x2004b9(0x139)](_0x376548),_0x28c4d0[_0x2004b9(0xe9)][_0x2004b9(0x16d)](_0x376548),this[_0x2004b9(0x1a7)][_0x2004b9(0x162)][_0x2004b9(0x19e)](_0x376548);});}[_0x28930f(0x139)](_0x24878c){const _0x2798c5=_0x28930f,_0x322516=this[_0x2798c5(0x15d)](_0x24878c);_0x322516&&this[_0x2798c5(0x1a0)][_0x2798c5(0x15e)](_0x322516);}[_0x28930f(0x15d)](_0x1afe9d){const _0x43fccb=_0x28930f;let _0x4a9ff8,_0x44a53f;switch(_0x1afe9d[_0x43fccb(0xfa)]){case _0x43fccb(0xfd):_0x4a9ff8=_0x1afe9d[_0x43fccb(0xd0)][_0x43fccb(0x136)];break;case _0x43fccb(0x178):if(_0x44a53f=_0x1afe9d[_0x43fccb(0xb6)],!_0x44a53f)return null;_0x4a9ff8=_0x44a53f[_0x43fccb(0x136)];break;case _0x43fccb(0xa9):_0x4a9ff8=_0x1afe9d[_0x43fccb(0x136)];break;case _0x43fccb(0xfb):_0x4a9ff8=_0x1afe9d[_0x43fccb(0x193)];break;case _0x43fccb(0x10e):_0x4a9ff8=_0x1afe9d[_0x43fccb(0xd1)][_0x43fccb(0x136)];break;default:return null;}return _0x4a9ff8[_0x43fccb(0xb7)];}[_0x28930f(0xf1)](_0x5bb521){const _0x47f014=_0x28930f;_0x5bb521[_0x47f014(0x143)](_0x4a9e1d=>{const _0x1edfcc=_0x47f014,_0x4d5fc0=_0x4a9e1d[_0x1edfcc(0x12e)]();_0x4d5fc0[_0x1edfcc(0xc7)]=_0x4a9e1d[_0x1edfcc(0xc7)],_0x4d5fc0[_0x1edfcc(0xb9)]=!!_0x4a9e1d[_0x1edfcc(0xb9)],_0x4d5fc0[_0x1edfcc(0xaf)]=_0x4a9e1d[_0x1edfcc(0xaf)],_0x4d5fc0[_0x1edfcc(0xcb)]+=this[_0x1edfcc(0x111)],_0x4a9e1d[_0x1edfcc(0xe8)]&&this[_0x1edfcc(0xf7)][_0x1edfcc(0x15e)](_0x4d5fc0),this[_0x1edfcc(0x120)][_0x1edfcc(0x16d)](_0x4d5fc0);});}[_0x28930f(0x106)](_0x3b044c){const _0x4eed92=_0x28930f,_0x27b97a=this[_0x4eed92(0x1a7)][_0x4eed92(0x14b)][_0x4eed92(0xc6)](_0x4eed92(0xab)),_0x468805=this[_0x4eed92(0x1a7)][_0x4eed92(0x13e)];_0x3b044c||(_0x3b044c=_0x3569ad(_0x468805,_0x4eed92(0x11e))),_0x27b97a[_0x4eed92(0x140)](_0x3b044c,{'title':_0x3569ad(_0x468805,_0x4eed92(0xe2)),'namespace':_0x4eed92(0x1a3)}),this[_0x4eed92(0x121)]=!0x0,clearTimeout(this[_0x4eed92(0xc0)]),this[_0x4eed92(0x14d)]=[],this[_0x4eed92(0x1a7)][_0x4eed92(0x14b)][_0x4eed92(0xc6)](_0x4e2ce0)[_0x4eed92(0x184)]();}[_0x28930f(0x145)](){const _0x424fa8=_0x28930f;this[_0x424fa8(0xf8)]||(this[_0x424fa8(0xf8)]=this[_0x424fa8(0x1a7)][_0x424fa8(0x14b)][_0x424fa8(0xc6)](_0x1889d8)[_0x424fa8(0x15e)](_0x3569ad(this[_0x424fa8(0x1a7)][_0x424fa8(0x13e)],_0x424fa8(0x17b))));}[_0x28930f(0xcc)](){const _0xff16b9=_0x28930f;this[_0xff16b9(0xf8)]&&(this[_0xff16b9(0x1a7)][_0xff16b9(0x14b)][_0xff16b9(0xc6)](_0x1889d8)[_0xff16b9(0xba)](this[_0xff16b9(0xf8)]),this[_0xff16b9(0xf8)]=null);}[_0x28930f(0xf0)](_0x1f3ae8){const _0x21c345=_0x28930f,_0x241062=_0x1f3ae8[_0x21c345(0xb8)](_0x361e45=>_0x361e45[_0x21c345(0x161)]());return this[_0x21c345(0x1ab)][_0x21c345(0xf2)](_0x241062);}[_0x28930f(0x190)](_0x439ee8,_0x5ad654){const _0x2136bc=_0x28930f;return this[_0x2136bc(0x1ab)][_0x2136bc(0x186)](_0x439ee8)[_0x2136bc(0xb8)]((_0xa540ee,_0x4d77d3)=>{const _0x16d53a=_0x2136bc,_0x2ee947=_0x16d53a(0x124)==_0x5ad654[_0x4d77d3][_0x16d53a(0xfa)];if(_0x16d53a(0xbb)==_0xa540ee[_0x16d53a(0x159)]){const _0x42e320=_0xa540ee[_0x16d53a(0xd0)][_0x16d53a(0x136)];!this[_0x16d53a(0x123)][_0x16d53a(0xed)](_0x42e320)&&(this[_0x16d53a(0x123)][_0x16d53a(0xe7)](_0x16d53a(0x154),_0x42e320)[_0x16d53a(0x175)]=!0x1);}const _0x3b8efd=_0xbac866[_0x16d53a(0x13f)](_0xa540ee,this[_0x16d53a(0x123)]);return _0x3b8efd[_0x16d53a(0x146)]=_0xa540ee[_0x16d53a(0x146)],_0x3b8efd[_0x16d53a(0xb9)]=_0x2ee947,_0x3b8efd[_0x16d53a(0xc7)]=_0x2ee947?null:_0x5ad654[_0x4d77d3][_0x16d53a(0x158)],_0x3b8efd[_0x16d53a(0xe8)]=_0x16d53a(0xb0)===_0x5ad654[_0x4d77d3][_0x16d53a(0xfa)],_0x3b8efd[_0x16d53a(0xaf)]=_0x5ad654[_0x4d77d3][_0x16d53a(0xaf)],_0x3b8efd;});}[_0x28930f(0x18c)](){const _0x4a5d25=_0x28930f;this[_0x4a5d25(0xdd)]=!0x0,this[_0x4a5d25(0x102)]()?this[_0x4a5d25(0x138)]():this[_0x4a5d25(0xdd)]=!0x1;}[_0x28930f(0x102)](){const _0x283f6b=_0x28930f,_0xfe2d25=this[_0x283f6b(0x1a7)][_0x283f6b(0x14b)][_0x283f6b(0xc6)](_0x15bef4)[_0x283f6b(0xbe)][_0x283f6b(0xc6)](this[_0x283f6b(0x11b)]);return!this[_0x283f6b(0x1a7)][_0x283f6b(0x15f)]&&!!_0xfe2d25&&_0xfe2d25[_0x283f6b(0x199)]>0x1&&this[_0x283f6b(0xdd)];}[_0x28930f(0x130)](){const _0x40fc36=_0x28930f;return this[_0x40fc36(0x14d)][_0x40fc36(0x199)]>0x0||this[_0x40fc36(0x102)]();}}l[_0x28930f(0x12a)]=_0x16bfc7;export default l;class J extends Error{}function Q(_0x47de49,_0x404a76){const _0x2127fb=_0x28930f;for(const _0x1f0589 of _0x47de49)_0x1f0589[_0x2127fb(0xcb)]=_0x404a76++;}class X{constructor(_0x3d15f0){const _0x375649=_0x28930f;this[_0x375649(0xb1)]=_0x3d15f0,this[_0x375649(0x110)]=new WeakMap();}[_0x28930f(0x144)](_0x1d4bc2){const _0x766d24=_0x28930f;let _0x4ce648=_0x1d4bc2[_0x766d24(0x199)];for(;_0x4ce648--;){const _0x20655b=_0x1d4bc2[_0x4ce648];if(!this[_0x766d24(0xb1)][_0x766d24(0x192)](_0x20655b)){if(!this[_0x766d24(0x110)][_0x766d24(0x192)](_0x20655b)){const _0x55b7a3=_0x15cf44()[_0x766d24(0x131)](0x1,0x12);this[_0x766d24(0x110)][_0x766d24(0x196)](_0x20655b,_0x55b7a3);}return this[_0x766d24(0x110)][_0x766d24(0xc6)](_0x20655b);}}}[_0x28930f(0x189)](_0x4af686,_0x4a54e8){const _0x54fd7c=_0x28930f;if(!_0x4a54e8)return;let _0x140257=_0x4af686[_0x54fd7c(0x199)];for(;_0x140257--;){const _0x50915b=_0x4af686[_0x140257];this[_0x54fd7c(0xb1)][_0x54fd7c(0x192)](_0x50915b)||this[_0x54fd7c(0x110)][_0x54fd7c(0x196)](_0x50915b,_0x4a54e8);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x445bbc=_0x1628;(function(_0x2a5d5b,_0x31c66f){const _0x446273=_0x1628,_0xa242ce=_0x2a5d5b();while(!![]){try{const _0x53e1eb=-parseInt(_0x446273(0x1a4))/0x1+parseInt(_0x446273(0x182))/0x2+-parseInt(_0x446273(0x19c))/0x3+parseInt(_0x446273(0x189))/0x4+-parseInt(_0x446273(0x184))/0x5*(-parseInt(_0x446273(0x1b8))/0x6)+-parseInt(_0x446273(0x1a6))/0x7+parseInt(_0x446273(0x181))/0x8*(parseInt(_0x446273(0x183))/0x9);if(_0x53e1eb===_0x31c66f)break;else _0xa242ce['push'](_0xa242ce['shift']());}catch(_0x5d3479){_0xa242ce['push'](_0xa242ce['shift']());}}}(_0x145a,0x2e17f));import{ContextPlugin as _0x5f7b5c}from'ckeditor5/src/core.js';function _0x1628(_0x53af42,_0x1ef9a4){const _0x145acd=_0x145a();return _0x1628=function(_0x162825,_0x2ee824){_0x162825=_0x162825-0x17d;let _0x336441=_0x145acd[_0x162825];return _0x336441;},_0x1628(_0x53af42,_0x1ef9a4);}import{Collection as _0x52e101,CKEditorError as _0x2171d2}from'ckeditor5/src/utils.js';import _0x424606 from'./websocketgateway.js';import{Users as _0x58b872}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x5f7b5c{static get[_0x445bbc(0x1a2)](){const _0xf7e77c=_0x445bbc;return _0xf7e77c(0x192);}static get[_0x445bbc(0x18c)](){return!0x0;}static get[_0x445bbc(0x180)](){return!0x0;}static get[_0x445bbc(0x18f)](){return[_0x424606,_0x58b872];}constructor(_0x238691){const _0x3ff55e=_0x445bbc;super(_0x238691),this[_0x3ff55e(0x1b7)]=new Map(),this[_0x3ff55e(0x1b3)]=new Map(),this[_0x3ff55e(0x17e)]=new _0x52e101(),this[_0x3ff55e(0x190)]=new Map(),this[_0x3ff55e(0x199)]=0x0,this[_0x3ff55e(0x1b6)]=this[_0x3ff55e(0x1ae)][_0x3ff55e(0x17d)][_0x3ff55e(0x1a5)](_0x58b872);}[_0x445bbc(0x18b)](){const _0x2b0c42=_0x445bbc,_0x362480=this[_0x2b0c42(0x1ae)][_0x2b0c42(0x17d)][_0x2b0c42(0x1a5)](_0x424606);this[_0x2b0c42(0x187)](_0x362480,_0x2b0c42(0x195),(_0x413811,_0x1d7a6f,_0x31edc3)=>{const _0x3140c0=_0x2b0c42;if(_0x3140c0(0x1a3)!==_0x31edc3)this[_0x3140c0(0x1b7)][_0x3140c0(0x186)](_0x45cb41=>_0x45cb41[_0x3140c0(0x1a8)]()),this[_0x3140c0(0x1b3)][_0x3140c0(0x186)](_0x34e797=>_0x34e797[_0x3140c0(0x1a8)]()),this[_0x3140c0(0x17e)][_0x3140c0(0x1a8)]();else{for(const [_0x44ac7e,_0x266653]of this[_0x3140c0(0x190)])for(const _0xd843a4 of _0x266653)this[_0x3140c0(0x1aa)](_0x44ac7e,_0xd843a4);}}),this[_0x2b0c42(0x193)](_0x362480[_0x2b0c42(0x1a1)]['me'],!0x0);}[_0x445bbc(0x1b9)](_0x5d4044,_0x48b596){const _0x1402f7=_0x445bbc;if(this[_0x1402f7(0x190)][_0x1402f7(0x196)](_0x5d4044))throw new _0x2171d2(_0x1402f7(0x1b1),null,{'channelId':_0x5d4044});this[_0x1402f7(0x190)][_0x1402f7(0x1ac)](_0x5d4044,_0x48b596),this[_0x1402f7(0x1b7)][_0x1402f7(0x1ac)](_0x5d4044,new _0x52e101()),this[_0x1402f7(0x1b3)][_0x1402f7(0x1ac)](_0x5d4044,new _0x52e101()),this[_0x1402f7(0x187)](_0x48b596,_0x1402f7(0x19e),(_0x51604e,_0x5162dc)=>this[_0x1402f7(0x1aa)](_0x5d4044,_0x5162dc)),this[_0x1402f7(0x187)](_0x48b596,_0x1402f7(0x1ab),(_0x518ce3,_0x3cbf7b)=>this[_0x1402f7(0x17f)](_0x5d4044,_0x3cbf7b));for(const _0x3152fa of _0x48b596)this[_0x1402f7(0x1aa)](_0x5d4044,_0x3152fa);}[_0x445bbc(0x1b4)](_0x189178){const _0xd66b8b=_0x445bbc;if(!this[_0xd66b8b(0x190)][_0xd66b8b(0x196)](_0x189178))throw new _0x2171d2(_0xd66b8b(0x1a0),null,{'channelId':_0x189178});const _0x1ddddc=this[_0xd66b8b(0x190)][_0xd66b8b(0x1a5)](_0x189178);this[_0xd66b8b(0x1b2)](_0x1ddddc);for(const _0x8f2a62 of _0x1ddddc)_0xd66b8b(0x1a3)===this[_0xd66b8b(0x1ae)][_0xd66b8b(0x17d)][_0xd66b8b(0x1a5)](_0x424606)[_0xd66b8b(0x185)]&&this[_0xd66b8b(0x17f)](_0x189178,_0x8f2a62);this[_0xd66b8b(0x190)][_0xd66b8b(0x18a)](_0x189178),this[_0xd66b8b(0x1b7)][_0xd66b8b(0x18a)](_0x189178),this[_0xd66b8b(0x1b3)][_0xd66b8b(0x18a)](_0x189178);}get[_0x445bbc(0x1ad)](){const _0x3dcf3d=_0x445bbc;return this[_0x3dcf3d(0x1ae)][_0x3dcf3d(0x17d)][_0x3dcf3d(0x1a5)](_0x424606)[_0x3dcf3d(0x1a1)][_0x3dcf3d(0x19f)];}[_0x445bbc(0x191)](_0x2f9734){const _0x4291fb=_0x445bbc;for(const _0x1e2e4d of this[_0x4291fb(0x1b7)][_0x4291fb(0x188)]())for(const _0x583d9e of _0x1e2e4d)if(_0x583d9e['id']===_0x2f9734)return _0x583d9e[_0x4291fb(0x1a9)];}[_0x445bbc(0x19d)](_0x35cc6b,_0x1ac98d){const _0x2300a2=_0x445bbc,_0x29fd0b=_0x1ac98d?[this[_0x2300a2(0x1b7)][_0x2300a2(0x1a5)](_0x1ac98d)]:this[_0x2300a2(0x1b7)][_0x2300a2(0x188)](),_0x24df61=new Set();for(const _0x35e722 of _0x29fd0b)for(const _0x390f1f of _0x35e722)_0x390f1f[_0x2300a2(0x1a9)]['id']===_0x35cc6b['id']&&_0x24df61[_0x2300a2(0x19e)](_0x390f1f['id']);return _0x24df61;}[_0x445bbc(0x18e)](_0x58ff68){const _0x5062b2=_0x445bbc;for(const _0x33e2d3 of this[_0x5062b2(0x1b7)][_0x5062b2(0x188)]())for(const _0xd060cf of _0x33e2d3)if(_0xd060cf[_0x5062b2(0x1a9)]===_0x58ff68)return _0xd060cf[_0x5062b2(0x1af)];}[_0x445bbc(0x1aa)](_0xdfb8a5,_0x5396d2){const _0x24bf1d=_0x445bbc;if(_0x24bf1d(0x1a3)!==this[_0x24bf1d(0x1ae)][_0x24bf1d(0x17d)][_0x24bf1d(0x1a5)](_0x424606)[_0x24bf1d(0x185)])return;const _0x18ce66=_0x5396d2[_0x24bf1d(0x1a9)],_0x479b24=this[_0x24bf1d(0x1b6)][_0x24bf1d(0x19a)](_0x18ce66['id'])||this[_0x24bf1d(0x193)](_0x18ce66),_0x5e7509=Object[_0x24bf1d(0x19b)]({},_0x5396d2,{'user':_0x479b24});this[_0x24bf1d(0x1b7)][_0x24bf1d(0x1a5)](_0xdfb8a5)[_0x24bf1d(0x19e)](_0x5e7509);const _0x93a702=this[_0x24bf1d(0x1b3)][_0x24bf1d(0x1a5)](_0xdfb8a5);_0x93a702[_0x24bf1d(0x196)](_0x479b24['id'])||_0x93a702[_0x24bf1d(0x19e)](_0x479b24),this[_0x24bf1d(0x17e)][_0x24bf1d(0x196)](_0x479b24['id'])||this[_0x24bf1d(0x17e)][_0x24bf1d(0x19e)](_0x479b24,_0x479b24[_0x24bf1d(0x1a7)]?0x0:void 0x0),this[_0x24bf1d(0x197)](_0x24bf1d(0x1b5)+_0xdfb8a5,{'channelId':_0xdfb8a5,'session':_0x5e7509});}[_0x445bbc(0x17f)](_0x547fe9,_0x2d6c9f){const _0x10796f=_0x445bbc;if(_0x10796f(0x1a3)!==this[_0x10796f(0x1ae)][_0x10796f(0x17d)][_0x10796f(0x1a5)](_0x424606)[_0x10796f(0x185)])return;const _0x10326f=this[_0x10796f(0x1b3)][_0x10796f(0x1a5)](_0x547fe9),_0x159c39=_0x2d6c9f[_0x10796f(0x1a9)];_0x159c39['id']&&(this[_0x10796f(0x1b7)][_0x10796f(0x1a5)](_0x547fe9)[_0x10796f(0x1ab)](_0x2d6c9f['id']),_0x10326f[_0x10796f(0x196)](_0x159c39['id'])&&!this[_0x10796f(0x19d)](_0x159c39,_0x547fe9)[_0x10796f(0x18d)]&&_0x10326f[_0x10796f(0x1ab)](_0x159c39['id']),this[_0x10796f(0x17e)][_0x10796f(0x1a5)](_0x159c39['id'])&&!this[_0x10796f(0x19d)](_0x159c39)[_0x10796f(0x18d)]&&this[_0x10796f(0x17e)][_0x10796f(0x1ab)](_0x159c39['id']));}[_0x445bbc(0x193)](_0x5ccbdb,_0x3ec593){const _0x4f8e45=_0x445bbc,_0x57fdad=this[_0x4f8e45(0x1b6)][_0x4f8e45(0x194)](_0x5ccbdb);return _0x3ec593&&this[_0x4f8e45(0x1b6)][_0x4f8e45(0x1b0)](_0x5ccbdb['id']),_0x57fdad[_0x4f8e45(0x198)]=this[_0x4f8e45(0x199)]++,_0x57fdad;}}function _0x145a(){const _0x21212e=['Sessions','_createUser','addUser','change:state','has','fire','orderNumber','_uniqueUsersCount','getUser','assign','759948NLPSeV','getUserSessions','add','sessionId','sessions-unregister-not-exist','connection','pluginName','connected','299794nAsgXR','get','399546yxXKZh','isMe','clear','user','_handleSessionAdd','remove','set','mySessionId','context','role','defineMe','sessions-register-already-registered','stopListening','channelConnectedUsers','unregister','sessionAdd:','_users','channelSessions','48jpCiPq','register','plugins','allConnectedUsers','_handleSessionRemove','isPremiumPlugin','55472IqMUbU','607978TtUwmT','360YKwvnT','127235xSZKKm','state','forEach','listenTo','values','56248RPxNDd','delete','init','isOfficialPlugin','size','getUserRole','requires','_registeredSessions','getUserBySessionId'];_0x145a=function(){return _0x21212e;};return _0x145a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbedc6e=_0x5b3d;function _0x5848(){const _0x46b7d2=['model','markerRange','markerNameToElements','set','requires','updateMarker','getUserBySessionId','390OCZAfP','marker','parent','Escape','split','classList','editingDowncast','33fSIWpH','undo','isDocumentOperation','createUIElement','update:user:range','getStart','5683347NcvynS','change','init','conversion','user:position:','rootName','editing','change:range','batch','toDomElement','editor','13562060wNfpgq','user:range:','mapper','mySessionId','pluginName','user:position','enqueueChange','deletionPosition','getCustomProperty','1070896cbTlXp','_createdBatches','ck-user__selection','name','span','markerToHighlight','commands','58835borAYd','hasContent','startsWith','144NrsoVg','reconvertMarker','delete','getAttribute','userPositionMarker','markerName','mouseenter','schema','getFirstRange','isSimilar','</span>','getSelectionClass','hasDomSelection','innerHTML','isCollapsed','tableCell','document','add','getNearestSelectionRange','clear','view','contenteditable','selection','applyOperation','destroy','type','plugins','oldRange','detach','removeMarker','getPositions','end','root','size','ck-user__marker\x20','145510XOYrPQ','ck-user__marker_hovered','_domEmitter','addEventListener','markerToElement','16rkBTUf','for','isInline','markers','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','394440QykNpR','checkChild','4273557JyZjZD','isLimit','createUserMarkerOperations','color','nodeAfter','removeClass','keydown','start','listenTo','remove','UserMarkers','get','highest','isOfficialPlugin','stopListening','user:','getRange','data-session-id','newRange','setCustomProperty','mouseleave','fromRange','orderNumber','$graveyard','getMarkerClass','afterInit','createRange','has','addMarker','isObject','toRange','user:range','$text','isPremiumPlugin','element','render','getContainedElement'];_0x5848=function(){return _0x46b7d2;};return _0x5848();}(function(_0xac41fa,_0x753096){const _0x345ccb=_0x5b3d,_0x1b3533=_0xac41fa();while(!![]){try{const _0x10c472=parseInt(_0x345ccb(0x103))/0x1+parseInt(_0x345ccb(0x152))/0x2+-parseInt(_0x345ccb(0x105))/0x3+-parseInt(_0x345ccb(0x15c))/0x4*(parseInt(_0x345ccb(0xf9))/0x5)+parseInt(_0x345ccb(0x131))/0x6*(-parseInt(_0x345ccb(0x159))/0x7)+-parseInt(_0x345ccb(0xfe))/0x8*(parseInt(_0x345ccb(0x13e))/0x9)+-parseInt(_0x345ccb(0x149))/0xa*(-parseInt(_0x345ccb(0x138))/0xb);if(_0x10c472===_0x753096)break;else _0x1b3533['push'](_0x1b3533['shift']());}catch(_0x455625){_0x1b3533['push'](_0x1b3533['shift']());}}}(_0x5848,0xaf0e0));import{Plugin as _0x33eba1}from'ckeditor5/src/core.js';import{global as _0x334f35,DomEmitterMixin as _0x40ba38}from'ckeditor5/src/utils.js';import _0x3dc13d from'./sessions.js';function _0x5b3d(_0x375773,_0x376d99){const _0x584806=_0x5848();return _0x5b3d=function(_0x5b3df6,_0x47012c){_0x5b3df6=_0x5b3df6-0xea;let _0x5e7d2a=_0x584806[_0x5b3df6];return _0x5e7d2a;},_0x5b3d(_0x375773,_0x376d99);}import{LiveRange as _0x4d5a22}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x33eba1{constructor(){const _0x590a86=_0x5b3d;super(...arguments),this[_0x590a86(0xfb)]=new(_0x40ba38())();}static get[_0xbedc6e(0x12e)](){return[_0x3dc13d];}static get[_0xbedc6e(0x14d)](){const _0x20d635=_0xbedc6e;return _0x20d635(0x10f);}static get[_0xbedc6e(0x112)](){return!0x0;}static get[_0xbedc6e(0x126)](){return!0x0;}[_0xbedc6e(0x140)](){const _0x327101=_0xbedc6e,_0x1614a9=this[_0x327101(0x148)],_0x117267=_0x1614a9[_0x327101(0xf0)][_0x327101(0x110)](_0x3dc13d);_0x1614a9[_0x327101(0x141)][_0x327101(0xff)](_0x327101(0x137))[_0x327101(0xfd)]({'model':_0x327101(0x14e),'view':(_0x4ea125,{writer:_0x58bc76})=>function(_0xf1ba3c,_0x32f13c,_0x421b46,_0x108128){const _0x545d0f=_0x327101,_0x3f6884=_0xf1ba3c[_0x545d0f(0x161)][_0x545d0f(0x135)](':')[0x2],_0x50dce6=_0x421b46[_0x545d0f(0x130)](_0x3f6884);if(!_0x50dce6||_0x3f6884===_0x421b46[_0x545d0f(0x14c)])return;if(!_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x163)][_0x545d0f(0x104)](_0xf1ba3c[_0x545d0f(0x12b)][_0x545d0f(0x10c)],_0x545d0f(0x125)))return;const _0xb9e144={'class':_0x545d0f(0xf8)+_0x50dce6[_0x545d0f(0x108)][_0x545d0f(0x11d)](),'data-name':_0x50dce6[_0x545d0f(0x155)],'data-session-id':_0x3f6884},_0x5da4b6=_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x101)][_0x545d0f(0x110)](_0xf1ba3c[_0x545d0f(0x161)]),_0x4bdc63=_0x5da4b6[_0x545d0f(0x13d)](),_0x4c3e3d=_0x4bdc63[_0x545d0f(0x109)],_0x4223b0=_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x163)];if(_0x4c3e3d&&_0x4223b0[_0x545d0f(0x122)](_0x4c3e3d)&&_0x4223b0[_0x545d0f(0x100)](_0x4c3e3d)&&!_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x101)][_0x545d0f(0x110)](_0x545d0f(0x14a)+_0x3f6884)[_0x545d0f(0x115)]()[_0x545d0f(0x16a)])return;const _0x53e96e=_0x4bdc63[_0x545d0f(0x133)];return _0x108128[_0x545d0f(0x12a)][_0x545d0f(0x163)][_0x545d0f(0x106)](_0x53e96e)&&!_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x15a)](_0x53e96e)&&(_0xb9e144[_0x545d0f(0xeb)]=!0x1),function(_0x29bdfa,_0x41d604,_0x305132){const _0x4da344=_0x545d0f,_0xbdf02a=_0x29bdfa[_0x4da344(0x13b)](_0x4da344(0x156),_0x41d604);return _0x29bdfa[_0x4da344(0x118)](_0x4da344(0x160),!0x0,_0xbdf02a),_0xbdf02a[_0x4da344(0x128)]=function(_0x29f887){const _0x111eff=_0x4da344,_0x1987bc=this[_0x111eff(0x147)](_0x29f887);return _0x1987bc[_0x111eff(0x169)]=_0x111eff(0x102)+_0x305132[_0x111eff(0x155)]+_0x111eff(0x166),_0x1987bc[_0x111eff(0xfc)](_0x111eff(0x162),()=>{const _0x58bd57=_0x111eff;_0x1987bc[_0x58bd57(0x136)][_0x58bd57(0x16d)](_0x58bd57(0xfa));}),_0x1987bc[_0x111eff(0xfc)](_0x111eff(0x119),()=>{const _0x37c9f0=_0x111eff;_0x1987bc[_0x37c9f0(0x136)][_0x37c9f0(0x10e)](_0x37c9f0(0xfa));}),_0x1987bc;},_0xbdf02a[_0x4da344(0x165)]=function(_0x3d01ee){const _0x39633a=_0x4da344;return!(!this[_0x39633a(0x151)](_0x39633a(0x160))||!_0x3d01ee[_0x39633a(0x151)](_0x39633a(0x160))||this[_0x39633a(0x15f)](_0x39633a(0x116))!=_0x3d01ee[_0x39633a(0x15f)](_0x39633a(0x116)));},_0xbdf02a;}(_0x32f13c,_0xb9e144,_0x50dce6);}(_0x4ea125,_0x58bc76,_0x117267,_0x1614a9)}),_0x1614a9[_0x327101(0x141)][_0x327101(0xff)](_0x327101(0x137))[_0x327101(0x157)]({'model':_0x327101(0x124),'view':_0x1a1dda=>function(_0x1bcfe9,_0x10819a){const _0x47ef91=_0x327101,_0x167022=_0x1bcfe9[_0x47ef91(0x161)][_0x47ef91(0x135)](':')[0x2];if(_0x167022===_0x10819a[_0x47ef91(0x14c)])return null;const _0x503010=_0x10819a[_0x47ef91(0x130)](_0x167022);if(!_0x503010)return{'id':_0x167022,'classes':[]};return{'id':_0x167022,'classes':[_0x47ef91(0x154),_0x503010[_0x47ef91(0x108)][_0x47ef91(0x167)]()],'attributes':{'data-session-id':_0x167022},'priority':0x7d0+_0x503010[_0x47ef91(0x11b)]};}(_0x1a1dda,_0x117267)}),function(_0x3abffe){const _0x2bf14f=_0x327101,_0x728e1e=_0x3abffe[_0x2bf14f(0x12a)],_0x69c81e=new Map(),_0x17cf9d=_0x3abffe[_0x2bf14f(0xf0)][_0x2bf14f(0x110)](_0x3dc13d);_0x728e1e[_0x2bf14f(0x101)]['on'](_0x2bf14f(0x13c),(_0x5250d4,_0x29759a,_0x74a120,_0x4358f8)=>{const _0x22b6c3=_0x2bf14f;if(!_0x4358f8&&_0x69c81e[_0x22b6c3(0x110)](_0x29759a[_0x22b6c3(0x155)]))return _0x69c81e[_0x22b6c3(0x110)](_0x29759a[_0x22b6c3(0x155)])[_0x22b6c3(0xf2)](),void _0x69c81e[_0x22b6c3(0x15e)](_0x29759a[_0x22b6c3(0x155)]);const _0x348f55=_0x29759a[_0x22b6c3(0x155)][_0x22b6c3(0x135)](':')[0x2];if(_0x348f55===_0x17cf9d[_0x22b6c3(0x14c)])return;const _0x3bb07e=_0x22b6c3(0x142)+_0x348f55;_0x728e1e[_0x22b6c3(0x101)][_0x22b6c3(0x120)](_0x3bb07e)&&_0x3abffe[_0x22b6c3(0x144)][_0x22b6c3(0x15d)](_0x3bb07e),_0x29759a['on'](_0x22b6c3(0x145),(_0x5a76a0,_0x57c608,_0x2a8f30)=>{const _0x2ff4c1=_0x22b6c3;if(_0x2ff4c1(0x11c)!=_0x57c608[_0x2ff4c1(0xf6)][_0x2ff4c1(0x143)]&&_0x2ff4c1(0x11c)==_0x29759a[_0x2ff4c1(0x115)]()[_0x2ff4c1(0xf6)][_0x2ff4c1(0x143)]&&!_0x69c81e[_0x2ff4c1(0x120)](_0x29759a[_0x2ff4c1(0x155)])){const _0x4dbb32=_0x728e1e[_0x2ff4c1(0x163)][_0x2ff4c1(0x16e)](_0x2a8f30[_0x2ff4c1(0x150)]);if(_0x4dbb32){const _0x37e2e7=_0x4d5a22[_0x2ff4c1(0x11a)](_0x4dbb32);_0x69c81e[_0x2ff4c1(0x12d)](_0x29759a[_0x2ff4c1(0x155)],_0x37e2e7),_0x37e2e7['on'](_0x2ff4c1(0x145),(_0x4edd6b,_0x4edaf0,_0x3f419f)=>{const _0x2a59e6=_0x2ff4c1;if(_0x2a59e6(0x11c)==_0x37e2e7[_0x2a59e6(0xf6)][_0x2a59e6(0x143)]){const _0x3ecd2d=_0x728e1e[_0x2a59e6(0x163)][_0x2a59e6(0x16e)](_0x3f419f[_0x2a59e6(0x150)]);_0x3ecd2d?(_0x37e2e7[_0x2a59e6(0x10c)]=_0x3ecd2d[_0x2a59e6(0x10c)],_0x37e2e7[_0x2a59e6(0xf5)]=_0x3ecd2d[_0x2a59e6(0xf5)]):(_0x69c81e[_0x2a59e6(0x15e)](_0x29759a[_0x2a59e6(0x155)]),_0x37e2e7[_0x2a59e6(0xf2)]());}});}}});}),_0x728e1e[_0x2bf14f(0x16c)]['on'](_0x2bf14f(0x13f),()=>{const _0x3affb4=_0x2bf14f;_0x69c81e[_0x3affb4(0xf7)]>0x0&&_0x728e1e[_0x3affb4(0x14f)]({'isUndoable':!0x1},_0x25d795=>{const _0x57e8a5=_0x3affb4;for(const [_0xca9b7c,_0x13c38d]of _0x69c81e)_0x57e8a5(0x11c)==_0x728e1e[_0x57e8a5(0x101)][_0x57e8a5(0x110)](_0xca9b7c)[_0x57e8a5(0x115)]()[_0x57e8a5(0xf6)][_0x57e8a5(0x143)]&&(re(_0xca9b7c[_0x57e8a5(0x135)](':')[0x2],_0x13c38d[_0x57e8a5(0x123)](),_0x728e1e,_0x25d795),_0x13c38d[_0x57e8a5(0xf2)]());_0x69c81e[_0x57e8a5(0x16f)]();});});}(_0x1614a9),this[_0x327101(0xfb)][_0x327101(0x10d)](_0x334f35[_0x327101(0x16c)],_0x327101(0x10b),(_0x557185,{key:_0x4a028d})=>{const _0x223166=_0x327101;_0x223166(0x134)===_0x4a028d&&function(_0x52cc6d){const _0x98ef2f=_0x223166;_0x52cc6d[_0x98ef2f(0x144)][_0x98ef2f(0xea)][_0x98ef2f(0x13f)](_0x1e895e=>{const _0x15b008=_0x98ef2f;for(const _0x3a1394 of _0x52cc6d[_0x15b008(0x12a)][_0x15b008(0x101)]){if(!_0x3a1394[_0x15b008(0x155)][_0x15b008(0x15b)](_0x15b008(0x14e)))continue;const _0x428326=_0x52cc6d[_0x15b008(0x144)][_0x15b008(0x14b)][_0x15b008(0x12c)](_0x3a1394[_0x15b008(0x155)]);if(_0x428326){for(const _0x4f6dd8 of _0x428326)_0x1e895e[_0x15b008(0x10a)](_0x15b008(0xfa),_0x4f6dd8);}}});}(_0x1614a9);},{'useCapture':!0x0});}[_0xbedc6e(0x11e)](){const _0x558358=_0xbedc6e,_0x582a06=this[_0x558358(0x148)],_0x2ef8b2=_0x582a06[_0x558358(0x158)][_0x558358(0x110)](_0x558358(0x139));_0x2ef8b2&&_0x582a06[_0x558358(0x12a)]['on'](_0x558358(0xed),(_0x52301e,_0x1b2af9)=>{const _0x554aad=_0x558358,_0x4c20f9=_0x1b2af9[0x0];if(!_0x4c20f9[_0x554aad(0x13a)])return;if(_0x554aad(0x132)!=_0x4c20f9[_0x554aad(0xef)]||!_0x4c20f9[_0x554aad(0x155)][_0x554aad(0x15b)](_0x554aad(0x114)))return;const _0x46bbdf=_0x4c20f9[_0x554aad(0x146)];_0x2ef8b2[_0x554aad(0x153)][_0x554aad(0x120)](_0x46bbdf)&&(_0x4c20f9[_0x554aad(0x117)]=_0x4c20f9[_0x554aad(0xf1)]?_0x582a06[_0x554aad(0x12a)][_0x554aad(0x11f)](_0x4c20f9[_0x554aad(0xf1)][_0x554aad(0x10c)],_0x4c20f9[_0x554aad(0xf1)][_0x554aad(0xf5)]):null);},{'priority':_0x558358(0x111)});}[_0xbedc6e(0xee)](){const _0x416c78=_0xbedc6e;return this[_0x416c78(0xfb)][_0x416c78(0x113)](),super[_0x416c78(0xee)]();}[_0xbedc6e(0x107)](){const _0x4c718c=_0xbedc6e,_0x404772=this[_0x4c718c(0x148)],_0x4ca789=_0x404772[_0x4c718c(0x12a)][_0x4c718c(0x16c)],_0x10c9ff=_0x404772[_0x4c718c(0xf0)][_0x4c718c(0x110)](_0x3dc13d);_0x404772[_0x4c718c(0x12a)][_0x4c718c(0x14f)]({'isUndoable':!0x1},_0x30c252=>{const _0x2cf3cf=_0x4c718c,_0x57afa7=_0x2cf3cf(0x14a)+_0x10c9ff[_0x2cf3cf(0x14c)],_0x362dc4=_0x2cf3cf(0x142)+_0x10c9ff[_0x2cf3cf(0x14c)],_0x25531e=_0x404772[_0x2cf3cf(0x12a)][_0x2cf3cf(0x101)][_0x2cf3cf(0x120)](_0x57afa7);_0x404772[_0x2cf3cf(0x144)][_0x2cf3cf(0xea)][_0x2cf3cf(0x168)]?re(_0x10c9ff[_0x2cf3cf(0x14c)],_0x4ca789[_0x2cf3cf(0xec)][_0x2cf3cf(0x164)](),_0x404772[_0x2cf3cf(0x12a)],_0x30c252):_0x25531e&&(_0x30c252[_0x2cf3cf(0xf3)](_0x57afa7),_0x30c252[_0x2cf3cf(0xf3)](_0x362dc4));});}}function re(_0x2fe4eb,_0x5bb232,_0x47ace8,_0x3124c0){const _0x50e9d9=_0xbedc6e,_0x2a8166=_0x50e9d9(0x14a)+_0x2fe4eb,_0x20c529=_0x50e9d9(0x142)+_0x2fe4eb,_0x28328f=_0x5bb232[_0x50e9d9(0x129)]();let _0x2cf933=_0x5bb232[_0x50e9d9(0x10c)];_0x28328f&&_0x28328f['is'](_0x50e9d9(0x127),_0x50e9d9(0x16b))&&(_0x2cf933=function(_0x78b576,_0x461600){const _0x2f53d6=_0x50e9d9;for(const _0x243e9e of _0x78b576[_0x2f53d6(0xf4)]())if(_0x461600[_0x2f53d6(0x163)][_0x2f53d6(0x104)](_0x243e9e,_0x2f53d6(0x125)))return _0x243e9e;}(_0x5bb232,_0x47ace8),_0x5bb232=_0x3124c0[_0x50e9d9(0x11f)](_0x2cf933));const _0x3e3f0e=_0x3124c0[_0x50e9d9(0x11f)](_0x2cf933);_0x47ace8[_0x50e9d9(0x101)][_0x50e9d9(0x120)](_0x2a8166)?(_0x3124c0[_0x50e9d9(0x12f)](_0x2a8166,{'range':_0x5bb232}),_0x3124c0[_0x50e9d9(0x12f)](_0x20c529,{'range':_0x3e3f0e})):(_0x3124c0[_0x50e9d9(0x121)](_0x2a8166,{'range':_0x5bb232,'usingOperation':!0x0}),_0x3124c0[_0x50e9d9(0x121)](_0x20c529,{'range':_0x3e3f0e,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x504360=_0x5578;(function(_0x31d15c,_0x45a3ef){const _0x576d6d=_0x5578,_0x41856b=_0x31d15c();while(!![]){try{const _0x4e63cb=parseInt(_0x576d6d(0x191))/0x1+-parseInt(_0x576d6d(0x18e))/0x2*(parseInt(_0x576d6d(0x187))/0x3)+parseInt(_0x576d6d(0x140))/0x4*(-parseInt(_0x576d6d(0x1a7))/0x5)+parseInt(_0x576d6d(0x1a8))/0x6*(-parseInt(_0x576d6d(0x172))/0x7)+-parseInt(_0x576d6d(0x15f))/0x8+parseInt(_0x576d6d(0x15e))/0x9*(-parseInt(_0x576d6d(0x1a2))/0xa)+parseInt(_0x576d6d(0x14a))/0xb*(parseInt(_0x576d6d(0x135))/0xc);if(_0x4e63cb===_0x45a3ef)break;else _0x41856b['push'](_0x41856b['shift']());}catch(_0x1af7be){_0x41856b['push'](_0x41856b['shift']());}}}(_0x56c4,0x7baae));function _0x5578(_0x561866,_0xf62014){const _0x56c49e=_0x56c4();return _0x5578=function(_0x5578a2,_0x48e7bd){_0x5578a2=_0x5578a2-0x130;let _0x5427ff=_0x56c49e[_0x5578a2];return _0x5427ff;},_0x5578(_0x561866,_0xf62014);}import{Plugin as _0x216af1}from'ckeditor5/src/core.js';import{global as _0x3743ba,DomEmitterMixin as _0x2e874d}from'ckeditor5/src/utils.js';import _0x564742 from'./sessions.js';import{LiveRange as _0xe33042}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x56c4(){const _0x30485b=['spellcheck','setAttribute','1867330gmwNnR','6svTeSu','data-session-id','detach','user:range','editor','userPositionMarker','createElement','end','element','markers','markerNameToElements','getStart','isOfficialPlugin','destroy','Escape','get','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','$text','startsWith','innerHTML','color','_createdBatches','afterInit','getRange','pluginName','108972nObnxx','mouseleave','stopListening','toDomElement','user:','markerName','contenteditable','user:position:','textContent','reconvertMarker','user:range:','4bUtwjf','removeMarker','classList','ck-user__marker\x20','isObject','mapper','selection','createRange','hasDomSelection','init','4213zyTZAz','fromRange','change','nodeAfter','createUserMarkerOperations','requires','editingDowncast','markerToHighlight','delete','rootName','set','markerToElement','getContainedElement','isCollapsed','size','getPositions','toRange','clear','marker','applyOperation','27cQOiKp','5460576YOhhbq','mouseenter','commands','orderNumber','view','editing','highest','listenTo','undo','getAttribute','isDocumentOperation','isLimit','plugins','getUserBySessionId','getMarkerClass','removeClass','update:user:range','batch','getFirstRange','3839318SXgpxW','parent','type','isInline','addMarker','render','getSelectionClass','model','isSimilar','checkChild','add','has','_domEmitter','newRange','ck-user__marker_hovered','outerHTML','false','split','keydown','tableCell','updateMarker','33ZqqERt','getCustomProperty','document','setCustomProperty','hasContent','span','name','164626bovDFL','addEventListener','getNearestSelectionRange','228321eADWQZ','UserMarkers','markerRange','conversion','isPremiumPlugin','enqueueChange','for','remove','mySessionId','deletionPosition','createUIElement','ck-user__selection','oldRange','change:range','root','user:position','start','2299490EeiFVc','schema','$graveyard'];_0x56c4=function(){return _0x30485b;};return _0x56c4();}export default class H extends _0x216af1{constructor(){const _0x5236ca=_0x5578;super(...arguments),this[_0x5236ca(0x17e)]=new(_0x2e874d())();}static get[_0x504360(0x14f)](){return[_0x564742];}static get[_0x504360(0x134)](){const _0x5c4524=_0x504360;return _0x5c4524(0x192);}static get[_0x504360(0x1b4)](){return!0x0;}static get[_0x504360(0x195)](){return!0x0;}[_0x504360(0x149)](){const _0x354334=_0x504360,_0xfd1b20=this[_0x354334(0x1ac)],_0x324cc7=_0xfd1b20[_0x354334(0x16b)][_0x354334(0x1b7)](_0x564742);_0xfd1b20[_0x354334(0x194)][_0x354334(0x197)](_0x354334(0x150))[_0x354334(0x155)]({'model':_0x354334(0x1a0),'view':(_0x408474,{writer:_0x36bddc})=>function(_0x1b5567,_0x4ab1b7,_0x4f7d97,_0xda1719){const _0x38b343=_0x354334,_0xcf767c=_0x1b5567[_0x38b343(0x13a)][_0x38b343(0x183)](':')[0x2],_0x2807ab=_0x4f7d97[_0x38b343(0x16c)](_0xcf767c);if(!_0x2807ab||_0xcf767c===_0x4f7d97[_0x38b343(0x199)])return;if(!_0xda1719[_0x38b343(0x179)][_0x38b343(0x1a3)][_0x38b343(0x17b)](_0x1b5567[_0x38b343(0x193)][_0x38b343(0x1a1)],_0x38b343(0x1ba)))return;const _0x9bd20c={'class':_0x38b343(0x143)+_0x2807ab[_0x38b343(0x130)][_0x38b343(0x16d)](),'data-name':_0x2807ab[_0x38b343(0x18d)],'data-session-id':_0xcf767c},_0x2c99ad=_0xda1719[_0x38b343(0x179)][_0x38b343(0x1b1)][_0x38b343(0x1b7)](_0x1b5567[_0x38b343(0x13a)]),_0x3fe479=_0x2c99ad[_0x38b343(0x1b3)](),_0x35d669=_0x3fe479[_0x38b343(0x14d)],_0x45be48=_0xda1719[_0x38b343(0x179)][_0x38b343(0x1a3)];if(_0x35d669&&_0x45be48[_0x38b343(0x144)](_0x35d669)&&_0x45be48[_0x38b343(0x175)](_0x35d669)&&!_0xda1719[_0x38b343(0x179)][_0x38b343(0x1b1)][_0x38b343(0x1b7)](_0x38b343(0x13f)+_0xcf767c)[_0x38b343(0x133)]()[_0x38b343(0x157)])return;const _0x465753=_0x3fe479[_0x38b343(0x173)];return _0xda1719[_0x38b343(0x179)][_0x38b343(0x1a3)][_0x38b343(0x16a)](_0x465753)&&!_0xda1719[_0x38b343(0x179)][_0x38b343(0x18b)](_0x465753)&&(_0x9bd20c[_0x38b343(0x13b)]=!0x1),function(_0x12a86d,_0x435ce4,_0x151043){const _0x17db62=_0x38b343,_0x57f630=_0x12a86d[_0x17db62(0x19b)](_0x17db62(0x18c),_0x435ce4);return _0x12a86d[_0x17db62(0x18a)](_0x17db62(0x1ad),!0x0,_0x57f630),_0x57f630[_0x17db62(0x177)]=function(_0x1bd50b){const _0x51a068=_0x17db62,_0x2cc291=this[_0x51a068(0x138)](_0x1bd50b),_0x14cded=document[_0x51a068(0x1ae)](_0x51a068(0x18c));return _0x14cded[_0x51a068(0x142)][_0x51a068(0x17c)](_0x51a068(0x1b9)),_0x14cded[_0x51a068(0x1a6)](_0x51a068(0x13b),_0x51a068(0x182)),_0x14cded[_0x51a068(0x1a6)](_0x51a068(0x1a5),_0x51a068(0x182)),_0x14cded[_0x51a068(0x13d)]=_0x151043[_0x51a068(0x18d)],_0x2cc291[_0x51a068(0x1bc)]=_0x51a068(0x1b8)+_0x14cded[_0x51a068(0x181)]+'',_0x2cc291[_0x51a068(0x18f)](_0x51a068(0x160),()=>{const _0x5bc15b=_0x51a068;_0x2cc291[_0x5bc15b(0x142)][_0x5bc15b(0x17c)](_0x5bc15b(0x180));}),_0x2cc291[_0x51a068(0x18f)](_0x51a068(0x136),()=>{const _0x1d42fe=_0x51a068;_0x2cc291[_0x1d42fe(0x142)][_0x1d42fe(0x198)](_0x1d42fe(0x180));}),_0x2cc291;},_0x57f630[_0x17db62(0x17a)]=function(_0x877474){const _0x322955=_0x17db62;return!(!this[_0x322955(0x188)](_0x322955(0x1ad))||!_0x877474[_0x322955(0x188)](_0x322955(0x1ad))||this[_0x322955(0x168)](_0x322955(0x1a9))!=_0x877474[_0x322955(0x168)](_0x322955(0x1a9)));},_0x57f630;}(_0x4ab1b7,_0x9bd20c,_0x2807ab);}(_0x408474,_0x36bddc,_0x324cc7,_0xfd1b20)}),_0xfd1b20[_0x354334(0x194)][_0x354334(0x197)](_0x354334(0x150))[_0x354334(0x151)]({'model':_0x354334(0x1ab),'view':_0x451d91=>function(_0x44015b,_0x28e4e2){const _0x3fc734=_0x354334,_0x193350=_0x44015b[_0x3fc734(0x13a)][_0x3fc734(0x183)](':')[0x2];if(_0x193350===_0x28e4e2[_0x3fc734(0x199)])return null;const _0x4d043a=_0x28e4e2[_0x3fc734(0x16c)](_0x193350);if(!_0x4d043a)return{'id':_0x193350,'classes':[]};return{'id':_0x193350,'classes':[_0x3fc734(0x19c),_0x4d043a[_0x3fc734(0x130)][_0x3fc734(0x178)]()],'attributes':{'data-session-id':_0x193350},'priority':0x7d0+_0x4d043a[_0x3fc734(0x162)]};}(_0x451d91,_0x324cc7)}),function(_0x4f0e24){const _0x4c92ac=_0x354334,_0x318b76=_0x4f0e24[_0x4c92ac(0x179)],_0x5ef209=new Map(),_0x3aab80=_0x4f0e24[_0x4c92ac(0x16b)][_0x4c92ac(0x1b7)](_0x564742);_0x318b76[_0x4c92ac(0x1b1)]['on'](_0x4c92ac(0x16f),(_0x2c31dd,_0x5a258a,_0x42c7fa,_0x2a57f0)=>{const _0xbf901c=_0x4c92ac;if(!_0x2a57f0&&_0x5ef209[_0xbf901c(0x1b7)](_0x5a258a[_0xbf901c(0x18d)]))return _0x5ef209[_0xbf901c(0x1b7)](_0x5a258a[_0xbf901c(0x18d)])[_0xbf901c(0x1aa)](),void _0x5ef209[_0xbf901c(0x152)](_0x5a258a[_0xbf901c(0x18d)]);const _0x2dbfb4=_0x5a258a[_0xbf901c(0x18d)][_0xbf901c(0x183)](':')[0x2];if(_0x2dbfb4===_0x3aab80[_0xbf901c(0x199)])return;const _0x3c163a=_0xbf901c(0x13c)+_0x2dbfb4;_0x318b76[_0xbf901c(0x1b1)][_0xbf901c(0x17d)](_0x3c163a)&&_0x4f0e24[_0xbf901c(0x164)][_0xbf901c(0x13e)](_0x3c163a),_0x5a258a['on'](_0xbf901c(0x19e),(_0x52b78c,_0x2ae975,_0x380e53)=>{const _0x314f55=_0xbf901c;if(_0x314f55(0x1a4)!=_0x2ae975[_0x314f55(0x19f)][_0x314f55(0x153)]&&_0x314f55(0x1a4)==_0x5a258a[_0x314f55(0x133)]()[_0x314f55(0x19f)][_0x314f55(0x153)]&&!_0x5ef209[_0x314f55(0x17d)](_0x5a258a[_0x314f55(0x18d)])){const _0x5c2594=_0x318b76[_0x314f55(0x1a3)][_0x314f55(0x190)](_0x380e53[_0x314f55(0x19a)]);if(_0x5c2594){const _0x8a3029=_0xe33042[_0x314f55(0x14b)](_0x5c2594);_0x5ef209[_0x314f55(0x154)](_0x5a258a[_0x314f55(0x18d)],_0x8a3029),_0x8a3029['on'](_0x314f55(0x19e),(_0x169371,_0x1a9802,_0x52b33d)=>{const _0x2b2865=_0x314f55;if(_0x2b2865(0x1a4)==_0x8a3029[_0x2b2865(0x19f)][_0x2b2865(0x153)]){const _0x5e0658=_0x318b76[_0x2b2865(0x1a3)][_0x2b2865(0x190)](_0x52b33d[_0x2b2865(0x19a)]);_0x5e0658?(_0x8a3029[_0x2b2865(0x1a1)]=_0x5e0658[_0x2b2865(0x1a1)],_0x8a3029[_0x2b2865(0x1af)]=_0x5e0658[_0x2b2865(0x1af)]):(_0x5ef209[_0x2b2865(0x152)](_0x5a258a[_0x2b2865(0x18d)]),_0x8a3029[_0x2b2865(0x1aa)]());}});}}});}),_0x318b76[_0x4c92ac(0x189)]['on'](_0x4c92ac(0x14c),()=>{const _0x5da878=_0x4c92ac;_0x5ef209[_0x5da878(0x158)]>0x0&&_0x318b76[_0x5da878(0x196)]({'isUndoable':!0x1},_0x27b301=>{const _0x26f407=_0x5da878;for(const [_0x1b2ebb,_0x5ec0f2]of _0x5ef209)_0x26f407(0x1a4)==_0x318b76[_0x26f407(0x1b1)][_0x26f407(0x1b7)](_0x1b2ebb)[_0x26f407(0x133)]()[_0x26f407(0x19f)][_0x26f407(0x153)]&&(re(_0x1b2ebb[_0x26f407(0x183)](':')[0x2],_0x5ec0f2[_0x26f407(0x15a)](),_0x318b76,_0x27b301),_0x5ec0f2[_0x26f407(0x1aa)]());_0x5ef209[_0x26f407(0x15b)]();});});}(_0xfd1b20),this[_0x354334(0x17e)][_0x354334(0x166)](_0x3743ba[_0x354334(0x189)],_0x354334(0x184),(_0x10d0ec,{key:_0x4a454e})=>{const _0x49c430=_0x354334;_0x49c430(0x1b6)===_0x4a454e&&function(_0x282dc0){const _0x124389=_0x49c430;_0x282dc0[_0x124389(0x164)][_0x124389(0x163)][_0x124389(0x14c)](_0xa3d64c=>{const _0x5f1edf=_0x124389;for(const _0x23ec69 of _0x282dc0[_0x5f1edf(0x179)][_0x5f1edf(0x1b1)]){if(!_0x23ec69[_0x5f1edf(0x18d)][_0x5f1edf(0x1bb)](_0x5f1edf(0x1a0)))continue;const _0x3c1f0e=_0x282dc0[_0x5f1edf(0x164)][_0x5f1edf(0x145)][_0x5f1edf(0x1b2)](_0x23ec69[_0x5f1edf(0x18d)]);if(_0x3c1f0e){for(const _0x3347cb of _0x3c1f0e)_0xa3d64c[_0x5f1edf(0x16e)](_0x5f1edf(0x180),_0x3347cb);}}});}(_0xfd1b20);},{'useCapture':!0x0});}[_0x504360(0x132)](){const _0x406584=_0x504360,_0x386ab5=this[_0x406584(0x1ac)],_0x3967b3=_0x386ab5[_0x406584(0x161)][_0x406584(0x1b7)](_0x406584(0x167));_0x3967b3&&_0x386ab5[_0x406584(0x179)]['on'](_0x406584(0x15d),(_0x6f6139,_0x3ae1ff)=>{const _0x1b95fa=_0x406584,_0x43435d=_0x3ae1ff[0x0];if(!_0x43435d[_0x1b95fa(0x169)])return;if(_0x1b95fa(0x15c)!=_0x43435d[_0x1b95fa(0x174)]||!_0x43435d[_0x1b95fa(0x18d)][_0x1b95fa(0x1bb)](_0x1b95fa(0x139)))return;const _0x3dbfca=_0x43435d[_0x1b95fa(0x170)];_0x3967b3[_0x1b95fa(0x131)][_0x1b95fa(0x17d)](_0x3dbfca)&&(_0x43435d[_0x1b95fa(0x17f)]=_0x43435d[_0x1b95fa(0x19d)]?_0x386ab5[_0x1b95fa(0x179)][_0x1b95fa(0x147)](_0x43435d[_0x1b95fa(0x19d)][_0x1b95fa(0x1a1)],_0x43435d[_0x1b95fa(0x19d)][_0x1b95fa(0x1af)]):null);},{'priority':_0x406584(0x165)});}[_0x504360(0x1b5)](){const _0x5c80ed=_0x504360;return this[_0x5c80ed(0x17e)][_0x5c80ed(0x137)](),super[_0x5c80ed(0x1b5)]();}[_0x504360(0x14e)](){const _0x3ccf3f=_0x504360,_0x5eb1a6=this[_0x3ccf3f(0x1ac)],_0xff2a30=_0x5eb1a6[_0x3ccf3f(0x179)][_0x3ccf3f(0x189)],_0x5e675a=_0x5eb1a6[_0x3ccf3f(0x16b)][_0x3ccf3f(0x1b7)](_0x564742);_0x5eb1a6[_0x3ccf3f(0x179)][_0x3ccf3f(0x196)]({'isUndoable':!0x1},_0x3f2dfd=>{const _0x2a83b3=_0x3ccf3f,_0x22ddb1=_0x2a83b3(0x13f)+_0x5e675a[_0x2a83b3(0x199)],_0x1dcd2f=_0x2a83b3(0x13c)+_0x5e675a[_0x2a83b3(0x199)],_0x4eb13e=_0x5eb1a6[_0x2a83b3(0x179)][_0x2a83b3(0x1b1)][_0x2a83b3(0x17d)](_0x22ddb1);_0x5eb1a6[_0x2a83b3(0x164)][_0x2a83b3(0x163)][_0x2a83b3(0x148)]?re(_0x5e675a[_0x2a83b3(0x199)],_0xff2a30[_0x2a83b3(0x146)][_0x2a83b3(0x171)](),_0x5eb1a6[_0x2a83b3(0x179)],_0x3f2dfd):_0x4eb13e&&(_0x3f2dfd[_0x2a83b3(0x141)](_0x22ddb1),_0x3f2dfd[_0x2a83b3(0x141)](_0x1dcd2f));});}}function re(_0x12f9ad,_0x2e09e7,_0x4ea286,_0x3ea04a){const _0x414ee9=_0x504360,_0x5b8a8a=_0x414ee9(0x13f)+_0x12f9ad,_0x19714f=_0x414ee9(0x13c)+_0x12f9ad,_0x310ddb=_0x2e09e7[_0x414ee9(0x156)]();let _0x1df1ca=_0x2e09e7[_0x414ee9(0x1a1)];_0x310ddb&&_0x310ddb['is'](_0x414ee9(0x1b0),_0x414ee9(0x185))&&(_0x1df1ca=function(_0x8a5be5,_0x18395c){const _0x2e3880=_0x414ee9;for(const _0x3d41f0 of _0x8a5be5[_0x2e3880(0x159)]())if(_0x18395c[_0x2e3880(0x1a3)][_0x2e3880(0x17b)](_0x3d41f0,_0x2e3880(0x1ba)))return _0x3d41f0;}(_0x2e09e7,_0x4ea286),_0x2e09e7=_0x3ea04a[_0x414ee9(0x147)](_0x1df1ca));const _0x13c032=_0x3ea04a[_0x414ee9(0x147)](_0x1df1ca);_0x4ea286[_0x414ee9(0x1b1)][_0x414ee9(0x17d)](_0x5b8a8a)?(_0x3ea04a[_0x414ee9(0x186)](_0x5b8a8a,{'range':_0x2e09e7}),_0x3ea04a[_0x414ee9(0x186)](_0x19714f,{'range':_0x13c032})):(_0x3ea04a[_0x414ee9(0x176)](_0x5b8a8a,{'range':_0x2e09e7,'usingOperation':!0x0}),_0x3ea04a[_0x414ee9(0x176)](_0x19714f,{'range':_0x13c032,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55aaaf=_0x1e9f;(function(_0x56f6d4,_0x4ad028){const _0x1045f6=_0x1e9f,_0x50d362=_0x56f6d4();while(!![]){try{const _0x4b6fa2=parseInt(_0x1045f6(0x173))/0x1*(-parseInt(_0x1045f6(0x18b))/0x2)+-parseInt(_0x1045f6(0x177))/0x3*(-parseInt(_0x1045f6(0x18c))/0x4)+parseInt(_0x1045f6(0x150))/0x5*(-parseInt(_0x1045f6(0x179))/0x6)+-parseInt(_0x1045f6(0x142))/0x7*(parseInt(_0x1045f6(0x172))/0x8)+-parseInt(_0x1045f6(0x17a))/0x9*(-parseInt(_0x1045f6(0x14e))/0xa)+-parseInt(_0x1045f6(0x149))/0xb+parseInt(_0x1045f6(0x170))/0xc*(-parseInt(_0x1045f6(0x15a))/0xd);if(_0x4b6fa2===_0x4ad028)break;else _0x50d362['push'](_0x50d362['shift']());}catch(_0x2f2937){_0x50d362['push'](_0x50d362['shift']());}}}(_0x5c4d,0x22653));import{ContextPlugin as _0x1a8e54}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x41c92d,CKEditorError as _0x30e58e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x16338f,WEB_SOCKET_GATEWAY_STATES as _0x1f4f40}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5c4d(){const _0x474d90=['removeFromReconnectionStack','initialReconnectionInterval','config','connect','pluginName','connected','66516dEyVXZ','websocketgateway-invalid-plugin-interface','8tixdMl','50234sSBzBP','function','bind','cloudServices.connectionTimeout','9PyhzWH','reconnect','191934guSnrD','381546bwJhGL','addToReconnectionStack','delete','showWarning','webSocketUrl','set','online','init','has','token','error','Connected\x20users\x20limit\x20exceeded','stopListening','real-time-collaboration','add','isPremiumPlugin','cloudservices-reconnection-error','2rJDAZg','293404DkWkHS','code','WebSocketGateway','cloudservices-init','484141bNedro','all','DISCONNECTED','listenTo','_shouldPluginsReconnect','plugins','requires','421707dWFTWA','isOfficialPlugin','constructor','define','change:me','30QWytQu','get','5YhXezM','catch','context','isInReconnectionStack','limitExceeded','connection','state','disconnect','offline','_isBrowserOffline','39VqKQaD','cloudServices.requestTimeout','from','destroy','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.','create','CONNECTED','CloudServices','_reconnect','_domEmitter','websocketgateway-missing-websocket-url','CONNECTING','websocketgateway-plugin-already-registered','_reconnectionStack','websocketgateway-missing-token','then'];_0x5c4d=function(){return _0x474d90;};return _0x5c4d();}import{Notification as _0x5459dc}from'ckeditor5/src/ui.js';function _0x1e9f(_0x46cb2f,_0x343d04){const _0x5c4d28=_0x5c4d();return _0x1e9f=function(_0x1e9f01,_0x545cf0){_0x1e9f01=_0x1e9f01-0x141;let _0x1d6204=_0x5c4d28[_0x1e9f01];return _0x1d6204;},_0x1e9f(_0x46cb2f,_0x343d04);}class c extends _0x1a8e54{static get[_0x55aaaf(0x148)](){const _0x12dc57=_0x55aaaf;return[_0x12dc57(0x161),_0x5459dc];}static get[_0x55aaaf(0x16e)](){const _0x10d10f=_0x55aaaf;return _0x10d10f(0x18e);}static get[_0x55aaaf(0x14a)](){return!0x0;}static get[_0x55aaaf(0x189)](){return!0x0;}constructor(_0x4616f9){const _0x9db4f5=_0x55aaaf;super(_0x4616f9),this[_0x9db4f5(0x17f)](_0x9db4f5(0x156),_0x1f4f40[_0x9db4f5(0x160)]),this[_0x9db4f5(0x17f)](_0x9db4f5(0x159),!0x1),this[_0x9db4f5(0x167)]=new Set(),this[_0x9db4f5(0x146)]=!0x1,this[_0x9db4f5(0x163)]=Object[_0x9db4f5(0x15f)](_0x41c92d);}[_0x55aaaf(0x181)](){const _0x580543=_0x55aaaf,_0x2aeab2=this[_0x580543(0x152)],_0x58496c=_0x2aeab2[_0x580543(0x147)][_0x580543(0x14f)](_0x580543(0x161)),_0x1e4814=_0x2aeab2[_0x580543(0x147)][_0x580543(0x14f)](_0x5459dc);if(!_0x58496c[_0x580543(0x183)])throw new _0x30e58e(_0x580543(0x168),this);if(!_0x58496c[_0x580543(0x17e)])throw new _0x30e58e(_0x580543(0x164),this);return this[_0x580543(0x163)][_0x580543(0x145)](window,_0x580543(0x158),()=>this[_0x580543(0x159)]=!0x0),this[_0x580543(0x163)][_0x580543(0x145)](window,_0x580543(0x180),()=>this[_0x580543(0x159)]=!0x1),this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14c)](_0x580543(0x176),0xa),this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14c)](_0x580543(0x15b),0x14),c[_0x580543(0x18e)][_0x580543(0x16d)](_0x58496c[_0x580543(0x183)],_0x58496c[_0x580543(0x17e)],{'timeout':0x3e8*this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14f)](_0x580543(0x176)),'requestTimeout':0x3e8*this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14f)](_0x580543(0x15b))})[_0x580543(0x169)](_0x359f86=>{const _0x5a2f95=_0x580543;if(this[_0x5a2f95(0x155)]=_0x359f86,this[_0x5a2f95(0x175)](_0x5a2f95(0x156))['to'](_0x359f86,_0x5a2f95(0x156),this,_0x5a2f95(0x159),(_0x26ea06,_0x50615f)=>(_0x5a2f95(0x16f)!==_0x26ea06&&(this[_0x5a2f95(0x146)]=!0x0),_0x50615f||_0x26ea06!==_0x1f4f40[_0x5a2f95(0x160)]?_0x1f4f40[_0x5a2f95(0x144)]:this[_0x5a2f95(0x156)]==_0x1f4f40[_0x5a2f95(0x144)]&&this[_0x5a2f95(0x146)]?(this[_0x5a2f95(0x146)]=!0x1,this[_0x5a2f95(0x162)](),_0x1f4f40[_0x5a2f95(0x165)]):_0x1f4f40[_0x5a2f95(0x160)])),this[_0x5a2f95(0x155)]['on'](_0x5a2f95(0x184),(_0x1ef1da,_0x13ecfc)=>{const _0x2c80eb=_0x5a2f95;if(_0x2c80eb(0x154)!==_0x13ecfc[_0x2c80eb(0x18d)])throw console[_0x2c80eb(0x184)](_0x13ecfc),new _0x30e58e(_0x2c80eb(0x141),null,{'originalError':_0x13ecfc});_0x1e4814[_0x2c80eb(0x17d)](_0x2c80eb(0x15e),{'title':_0x2c80eb(0x185),'namespace':_0x2c80eb(0x187)});}),!_0x359f86['me'])return new Promise(_0x11ab98=>_0x359f86['on'](_0x5a2f95(0x14d),_0x11ab98));})[_0x580543(0x151)](_0x54a812=>{const _0x1d59de=_0x580543;throw console[_0x1d59de(0x184)](_0x54a812),new _0x30e58e(_0x1d59de(0x141),null,{'originalError':_0x54a812});});}[_0x55aaaf(0x17b)](_0x563fe9){const _0x46a30e=_0x55aaaf;if(_0x46a30e(0x174)!=typeof _0x563fe9[_0x46a30e(0x178)])throw new _0x30e58e(_0x46a30e(0x171),this);if(this[_0x46a30e(0x153)](_0x563fe9))throw new _0x30e58e(_0x46a30e(0x166),this,{'name':_0x563fe9[_0x46a30e(0x14b)][_0x46a30e(0x16e)]});this[_0x46a30e(0x167)][_0x46a30e(0x188)](_0x563fe9);}[_0x55aaaf(0x16a)](_0x502a12){const _0x1827a8=_0x55aaaf;this[_0x1827a8(0x167)][_0x1827a8(0x17c)](_0x502a12);}[_0x55aaaf(0x153)](_0x400157){const _0x2cc34d=_0x55aaaf;return this[_0x2cc34d(0x167)][_0x2cc34d(0x182)](_0x400157);}[_0x55aaaf(0x162)](){const _0x48dcc3=_0x55aaaf;return this[_0x48dcc3(0x155)][_0x48dcc3(0x178)]()[_0x48dcc3(0x169)](()=>Promise[_0x48dcc3(0x143)](Array[_0x48dcc3(0x15c)](this[_0x48dcc3(0x167)],_0x3fb6a1=>_0x3fb6a1[_0x48dcc3(0x178)]())))[_0x48dcc3(0x169)](()=>this[_0x48dcc3(0x156)]=_0x1f4f40[_0x48dcc3(0x160)])[_0x48dcc3(0x151)](_0x1be69a=>{const _0x21d6fa=_0x48dcc3;throw console[_0x21d6fa(0x184)](_0x1be69a),new _0x30e58e(_0x21d6fa(0x18a),this[_0x21d6fa(0x152)]);});}[_0x55aaaf(0x157)](){const _0x38ee5f=_0x55aaaf;this[_0x38ee5f(0x155)]&&this[_0x38ee5f(0x155)][_0x38ee5f(0x157)](),this[_0x38ee5f(0x156)]=_0x1f4f40[_0x38ee5f(0x144)],this[_0x38ee5f(0x163)][_0x38ee5f(0x186)]();}[_0x55aaaf(0x15d)](){const _0x3d5c84=_0x55aaaf;this[_0x3d5c84(0x157)](),super[_0x3d5c84(0x15d)]();}}c[_0x55aaaf(0x18e)]=_0x16338f,c[_0x55aaaf(0x16b)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x133e91=_0x55f4;function _0x55f4(_0x46c482,_0x193302){var _0x563103=_0x5631();return _0x55f4=function(_0x55f462,_0x3aaf9f){_0x55f462=_0x55f462-0x194;var _0x30a51c=_0x563103[_0x55f462];return _0x30a51c;},_0x55f4(_0x46c482,_0x193302);}(function(_0x31fa5f,_0x3825f1){var _0x3ab0ec=_0x55f4,_0x54723d=_0x31fa5f();while(!![]){try{var _0x282e9c=-parseInt(_0x3ab0ec(0x1a3))/0x1*(parseInt(_0x3ab0ec(0x19d))/0x2)+parseInt(_0x3ab0ec(0x1a2))/0x3+parseInt(_0x3ab0ec(0x19c))/0x4*(-parseInt(_0x3ab0ec(0x197))/0x5)+parseInt(_0x3ab0ec(0x1a0))/0x6*(-parseInt(_0x3ab0ec(0x19f))/0x7)+-parseInt(_0x3ab0ec(0x19e))/0x8+parseInt(_0x3ab0ec(0x1a1))/0x9+parseInt(_0x3ab0ec(0x194))/0xa*(parseInt(_0x3ab0ec(0x196))/0xb);if(_0x282e9c===_0x3825f1)break;else _0x54723d['push'](_0x54723d['shift']());}catch(_0x11a2e3){_0x54723d['push'](_0x54723d['shift']());}}}(_0x5631,0x1f158));import{Plugin as _0x5bad33}from'ckeditor5/src/core.js';import _0x2a70c1 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5bad33{static get[_0x133e91(0x199)](){return[_0x2a70c1];}static get[_0x133e91(0x19b)](){var _0xb95fb0=_0x133e91;return _0xb95fb0(0x19a);}static get[_0x133e91(0x198)](){return!0x0;}static get[_0x133e91(0x195)](){return!0x0;}}function _0x5631(){var _0x45acf1=['1270792EUqaoA','214991ThkgCW','24nZHZIQ','1604898btYkYa','568434YjHZzP','371msNuEt','4244330BkDxhc','isPremiumPlugin','11mZlXsT','29245IqUTMG','isOfficialPlugin','requires','RealTimeCollaborativeEditing','pluginName','172MRWkLG','710thKMpN'];_0x5631=function(){return _0x45acf1;};return _0x5631();}
|