@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.11 → 44.2.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x240925=_0x321b;(function(_0x4652b7,_0x1cc76c){const _0x5b8fa1=_0x321b,_0x3d2bdb=_0x4652b7();while(!![]){try{const _0x447010=parseInt(_0x5b8fa1(0x21f))/0x1+-parseInt(_0x5b8fa1(0x1ff))/0x2*(-parseInt(_0x5b8fa1(0x1f0))/0x3)+-parseInt(_0x5b8fa1(0x22f))/0x4*(parseInt(_0x5b8fa1(0x1e1))/0x5)+-parseInt(_0x5b8fa1(0x1d3))/0x6*(-parseInt(_0x5b8fa1(0x226))/0x7)+parseInt(_0x5b8fa1(0x20f))/0x8*(-parseInt(_0x5b8fa1(0x22a))/0x9)+-parseInt(_0x5b8fa1(0x1fe))/0xa+-parseInt(_0x5b8fa1(0x209))/0xb;if(_0x447010===_0x1cc76c)break;else _0x3d2bdb['push'](_0x3d2bdb['shift']());}catch(_0x2c8d1b){_0x3d2bdb['push'](_0x3d2bdb['shift']());}}}(_0x1e71,0x3189d));import{Context as _0x5c43a2,ContextPlugin as _0x4c4d3f}from'ckeditor5/src/core.js';import{CKEditorError as _0x574583}from'ckeditor5/src/utils.js';import{Users as _0x192a1b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1e71(){const _0x574a18=['addToReconnectionStack','104UWOEdB','connect','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','attributes','resolveCommentThread','commentThreadId','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','commentThreadRemoved','reconnect','sessionAdd:','assign','off','addUser','402000EHPpcz','size','commentAdded','unregister','content','removeCommentThread','updateComment','81977LDNKpy','commentThreadResolved','getCommentThread','404','21294RnDHax','adapter','keys','delete','isOfficialPlugin','1027228nGGSob','_setUpService','comments','update','get','requires','updateCommentThread','_getService','resolve','add','permissions','174YZEaPD','commentRemoved','map','commentThreadReopened','startsWith','_connectService','commentUpdated','commentThreadAdded','context','reopenCommentThread','_services','listenTo','destroy','resolvedAt','5XryPSr','cloudservicescommentsadapter-disconnect-not-exist','set','commentThreadUpdated','commentId','addComment','removeComment','getConnectedSessions','disconnect','_terminateService','CloudServicesCommentsAdapter','collaboration.channelId','authorId','code','getUser','87tITLek','message','plugins','config','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-service-not-exist','CommentsService','addCommentThread','resolvedBy','pluginName','getMany','_fetchMissingUsersForThreads','userId','745250rNzNEu','23060gGjGdX','CommentsRepository','Permissions','register','getComment','deletedAt','mySessionId','cloudservicescommentsadapter-connect-already-connected','reopen','remove','5620890GFpGLw','has','init','setPermissions','from'];_0x1e71=function(){return _0x574a18;};return _0x1e71();}import{CommentsService as _0x4979b8,User as _0x5ec5e3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x37046a from'../realtimecollaborativeediting/websocketgateway.js';import _0x3d23ff from'../realtimecollaborativeediting/sessions.js';class a extends _0x4c4d3f{static get[_0x240925(0x234)](){const _0x21ea2c=_0x240925;return[_0x37046a,_0x21ea2c(0x200),_0x3d23ff,_0x192a1b];}static get[_0x240925(0x1fa)](){const _0x307bb1=_0x240925;return _0x307bb1(0x1eb);}static get[_0x240925(0x22e)](){return!0x0;}static get[_0x240925(0x218)](){return!0x0;}constructor(_0x3b0e83){const _0x1e04cd=_0x240925;super(_0x3b0e83),this[_0x1e04cd(0x1dd)]=new Map();}async[_0x240925(0x20b)](){const _0x59a0da=_0x240925,_0xfc6204=this[_0x59a0da(0x1db)],_0x4de5d2=_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x59a0da(0x200));if(_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x37046a)[_0x59a0da(0x20e)](this),_0x4de5d2[_0x59a0da(0x22b)]={'addCommentThread':async({channelId:_0x4e025a,threadId:_0x32ca98,comments:_0x1920d7,resolvedAt:_0xa08935,resolvedBy:_0x3e14b1,context:_0x5626fe,attributes:_0x390a44})=>{const _0x5930b1=_0x59a0da,_0x3ac32a=await this[_0x5930b1(0x236)](_0x4e025a)[_0x5930b1(0x1f8)]({'commentThreadId':_0x32ca98,'comments':_0x1920d7[_0x5930b1(0x1d5)](_0x246030=>function(_0x3834ef,_0x18be28,_0x99545f){const _0x37ae61=_0x5930b1;return{'commentThreadId':_0x99545f,'commentId':_0x3834ef[_0x37ae61(0x1e5)],'userId':_0x3834ef[_0x37ae61(0x1ed)],'content':_0x3834ef[_0x37ae61(0x223)],'documentId':_0x18be28,'createdAt':_0x3834ef[_0x37ae61(0x1f4)],'attributes':_0x3834ef[_0x37ae61(0x214)]||{}};}(_0x246030,_0x4e025a,_0x32ca98)),'resolvedAt':_0xa08935,'resolvedBy':_0x3e14b1,'context':_0x5626fe,'attributes':_0x390a44})[_0x5930b1(0x211)](R);return{'threadId':_0x3ac32a[_0x5930b1(0x216)],'comments':_0x3ac32a[_0x5930b1(0x231)]};},'getCommentThread':async({channelId:_0x3b6719,threadId:_0x73d0f8})=>{const _0xd70e76=_0x59a0da,_0x90b9cc=await this[_0xd70e76(0x236)](_0x3b6719)[_0xd70e76(0x228)](_0x73d0f8)[_0xd70e76(0x211)](R);return _0x90b9cc[_0xd70e76(0x204)]?null:(await this[_0xd70e76(0x1fc)]([_0x90b9cc]),{'threadId':_0x90b9cc[_0xd70e76(0x216)],'comments':_0x90b9cc[_0xd70e76(0x231)][_0xd70e76(0x1d5)](S),'context':_0x90b9cc[_0xd70e76(0x1db)],'resolvedAt':_0x90b9cc[_0xd70e76(0x1e0)],'resolvedBy':_0x90b9cc[_0xd70e76(0x1f9)],'attributes':_0x90b9cc[_0xd70e76(0x214)]||{}});},'updateCommentThread':async({channelId:_0x4546ba,threadId:_0x3297ea,context:_0x102e64,unlinkedAt:_0x4b9299,attributes:_0x49d3e5})=>this[_0x59a0da(0x236)](_0x4546ba)[_0x59a0da(0x235)]({'commentThreadId':_0x3297ea,'context':_0x102e64,'attributes':_0x49d3e5,'unlinkedAt':_0x4b9299})[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'resolveCommentThread':async({channelId:_0x1f5170,threadId:_0xe435eb})=>{const _0x172d02=_0x59a0da,_0x1ae960=await this[_0x172d02(0x236)](_0x1f5170)[_0x172d02(0x215)](_0xe435eb)[_0x172d02(0x211)](B)[_0x172d02(0x211)](R);return{'threadId':_0x1ae960[_0x172d02(0x216)],'resolvedAt':_0x1ae960[_0x172d02(0x1e0)],'resolvedBy':_0x1ae960[_0x172d02(0x1f9)]};},'reopenCommentThread':async({channelId:_0x552387,threadId:_0x375151})=>this[_0x59a0da(0x236)](_0x552387)[_0x59a0da(0x1dc)](_0x375151)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'removeCommentThread':({channelId:_0x31c2ef,threadId:_0x3be2e7})=>this[_0x59a0da(0x236)](_0x31c2ef)[_0x59a0da(0x224)](_0x3be2e7)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'addComment':({channelId:_0x47474b,threadId:_0x41078c,commentId:_0x1570d6,content:_0x427c10,attributes:_0x218227})=>this[_0x59a0da(0x236)](_0x47474b)[_0x59a0da(0x1e6)](_0x41078c,_0x1570d6,_0x427c10,_0x218227)[_0x59a0da(0x211)](R),'updateComment':({channelId:_0x274e74,threadId:_0x565313,commentId:_0x3a13a1,content:_0x1fb58e,attributes:_0x4ea4bd})=>this[_0x59a0da(0x236)](_0x274e74)[_0x59a0da(0x225)](_0x565313,_0x3a13a1,_0x1fb58e,_0x4ea4bd)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'removeComment':({channelId:_0x9404ea,threadId:_0x4f97be,commentId:_0x7c8f70})=>this[_0x59a0da(0x236)](_0x9404ea)[_0x59a0da(0x1e7)](_0x4f97be,_0x7c8f70)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R)},_0xfc6204 instanceof _0x5c43a2){const _0x4f3400=_0xfc6204[_0x59a0da(0x1f3)][_0x59a0da(0x233)](_0x59a0da(0x1ec)),_0x5b8c55=_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x3d23ff);await this[_0x59a0da(0x230)](_0x4f3400);const _0x4e0e38=await this[_0x59a0da(0x1dd)][_0x59a0da(0x233)](_0x4f3400)[_0x59a0da(0x1e8)]();this[_0x59a0da(0x1de)](_0x5b8c55,_0x59a0da(0x21b)+_0x4f3400,(_0x2c10c9,{session:_0x1a9f32})=>{const _0x472e96=_0x59a0da;_0x1a9f32['id']===_0x5b8c55[_0x472e96(0x205)]&&(_0x2c10c9[_0x472e96(0x21d)](),this[_0x472e96(0x1db)][_0x472e96(0x1f2)][_0x472e96(0x233)](_0x472e96(0x201))[_0x472e96(0x20c)](_0x1a9f32[_0x472e96(0x1d2)],_0x4f3400));}),_0x5b8c55[_0x59a0da(0x202)](_0x4f3400,_0x4e0e38);}}async[_0x240925(0x230)](_0x4d123){const _0x231807=_0x240925;if(this[_0x231807(0x1dd)][_0x231807(0x20a)](_0x4d123))throw new _0x574583(_0x231807(0x206),null,{'channelId':_0x4d123});const _0x15ba20=this[_0x231807(0x1db)][_0x231807(0x1f2)][_0x231807(0x233)](_0x231807(0x200)),_0x402a01=new a[(_0x231807(0x1f7))](_0x4d123);this[_0x231807(0x1dd)][_0x231807(0x1e3)](_0x4d123,_0x402a01),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1da),(_0xbc1123,_0x5b5ddd)=>{const _0x458e13=_0x231807,{commentThreadId:_0x27589c,documentId:_0x2a8ef2,context:_0x233b8c,attributes:_0x2f8733,resolvedAt:_0x392f84,resolvedBy:_0x5dd35d,comments:_0x3fb10f}=_0x5b5ddd;_0x15ba20[_0x458e13(0x228)](_0x27589c)||_0x15ba20[_0x458e13(0x1f8)]({'threadId':_0x27589c,'channelId':_0x2a8ef2,'comments':_0x3fb10f?_0x3fb10f[_0x458e13(0x1d5)](S):[],'context':_0x233b8c,'attributes':_0x2f8733,'resolvedAt':_0x392f84,'resolvedBy':_0x5dd35d,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1e4),(_0x5f1bf4,{commentThreadId:_0x14fae5,documentId:_0x51e209,context:_0x4a6d20,unlinkedAt:_0x2bdd65,attributes:_0x29c111})=>{const _0x21ed62=_0x231807;_0x15ba20[_0x21ed62(0x228)](_0x14fae5)&&_0x15ba20[_0x21ed62(0x235)]({'threadId':_0x14fae5,'channelId':_0x51e209,'context':_0x4a6d20,'unlinkedAt':_0x2bdd65,'attributes':_0x29c111,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x227),(_0x4dc36c,{commentThreadId:_0x3cc9a6,resolvedBy:_0x5ccb12,resolvedAt:_0x556e92})=>{const _0x537e1e=_0x231807,_0x1c01bc=_0x15ba20[_0x537e1e(0x228)](_0x3cc9a6);_0x1c01bc&&_0x1c01bc[_0x537e1e(0x1d0)]({'resolvedBy':_0x5ccb12,'resolvedAt':_0x556e92,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d6),(_0x3acc71,{commentThreadId:_0x1c3b89})=>{const _0x3dc90d=_0x231807,_0xfac864=_0x15ba20[_0x3dc90d(0x228)](_0x1c3b89);_0xfac864&&_0xfac864[_0x3dc90d(0x207)]({'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x219),(_0x535f7a,{commentThreadId:_0x3a4837})=>{const _0x47d8cd=_0x231807,_0x346e1b=_0x15ba20[_0x47d8cd(0x228)](_0x3a4837);_0x346e1b&&_0x346e1b[_0x47d8cd(0x208)]({'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x221),(_0x7b3c24,_0x55d16c)=>{const _0x138305=_0x231807,_0x27eb8b=_0x55d16c[_0x138305(0x216)],_0x2fe958=_0x15ba20[_0x138305(0x228)](_0x27eb8b);_0x2fe958&&_0x2fe958[_0x138305(0x1e6)]({...S(_0x55d16c),'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d9),(_0x3823eb,{commentThreadId:_0x4c5652,commentId:_0x5596a8,content:_0x511a29,attributes:_0x65ae31})=>{const _0x36bce1=_0x231807,_0x4ed3e2=_0x15ba20[_0x36bce1(0x228)](_0x4c5652);if(_0x4ed3e2){const _0x82daf5=_0x4ed3e2[_0x36bce1(0x203)](_0x5596a8);_0x82daf5&&_0x82daf5[_0x36bce1(0x232)]({'content':_0x511a29,'attributes':_0x65ae31,'isFromAdapter':!0x0});}}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d4),(_0x41aedd,{commentThreadId:_0x268267,commentId:_0x56eec4})=>{const _0x559e1c=_0x231807,_0x24e446=_0x15ba20[_0x559e1c(0x228)](_0x268267);if(_0x24e446){const _0x42a0e5=_0x24e446[_0x559e1c(0x203)](_0x56eec4);_0x42a0e5&&_0x42a0e5[_0x559e1c(0x208)]({'isFromAdapter':!0x0});}}),await this[_0x231807(0x1d8)](_0x4d123);}[_0x240925(0x1df)](){const _0x17ad22=_0x240925;if(this[_0x17ad22(0x1db)]instanceof _0x5c43a2){const _0x4f6f26=this[_0x17ad22(0x1db)][_0x17ad22(0x1f3)][_0x17ad22(0x233)](_0x17ad22(0x1ec));this[_0x17ad22(0x1ea)](_0x4f6f26);}}[_0x240925(0x1ea)](_0x5b8e05){const _0x1679c5=_0x240925;if(!this[_0x1679c5(0x1dd)][_0x1679c5(0x20a)](_0x5b8e05))throw new _0x574583(_0x1679c5(0x1e2),null,{'channelId':_0x5b8e05});this[_0x1679c5(0x236)](_0x5b8e05)[_0x1679c5(0x1e9)](),this[_0x1679c5(0x1dd)][_0x1679c5(0x22d)](_0x5b8e05);}async[_0x240925(0x21a)](){const _0x19ddd6=_0x240925;for(const _0xd818e9 of this[_0x19ddd6(0x1dd)][_0x19ddd6(0x22c)]())await this[_0x19ddd6(0x1d8)](_0xd818e9);if(this[_0x19ddd6(0x1db)]instanceof _0x5c43a2){const _0xeec6fd=this[_0x19ddd6(0x1db)][_0x19ddd6(0x1f3)][_0x19ddd6(0x233)](_0x19ddd6(0x1ec)),_0x8360a1=this[_0x19ddd6(0x1db)][_0x19ddd6(0x1f2)][_0x19ddd6(0x233)](_0x3d23ff);_0x8360a1[_0x19ddd6(0x222)](_0xeec6fd);const _0x2a43c9=await this[_0x19ddd6(0x1dd)][_0x19ddd6(0x233)](_0xeec6fd)[_0x19ddd6(0x1e8)]();_0x8360a1[_0x19ddd6(0x202)](_0xeec6fd,_0x2a43c9);}}async[_0x240925(0x1d8)](_0x2a4d0f){const _0xc79792=_0x240925,{connection:_0x172378}=this[_0xc79792(0x1db)][_0xc79792(0x1f2)][_0xc79792(0x233)](_0x37046a),_0x445603=this[_0xc79792(0x1db)][_0xc79792(0x1f2)][_0xc79792(0x233)](_0xc79792(0x200)),_0x395c4b=this[_0xc79792(0x1dd)][_0xc79792(0x233)](_0x2a4d0f),_0x4230e3=await _0x395c4b[_0xc79792(0x210)](_0x172378);await this[_0xc79792(0x1fc)](_0x4230e3);const _0x39b629=new Set(Array[_0xc79792(0x20d)](_0x445603[_0xc79792(0x213)]({'channelId':_0x2a4d0f}),_0xbecc39=>_0xbecc39['id']));for(const _0x246b8b of _0x4230e3)_0x246b8b[_0xc79792(0x204)]||_0x39b629[_0xc79792(0x22d)](_0x246b8b[_0xc79792(0x216)]);for(const _0x4de50d of _0x39b629)_0x445603[_0xc79792(0x228)](_0x4de50d)[_0xc79792(0x208)]({'isFromAdapter':!0x0});for(const _0x202c31 of _0x4230e3){let _0x40b47b=_0x445603[_0xc79792(0x228)](_0x202c31[_0xc79792(0x216)]);const {commentThreadId:_0xdff7f9,context:_0x3ea230,attributes:_0x477729,resolvedBy:_0x297726,resolvedAt:_0x1d9ba7,unlinkedAt:_0x4f4c65,deletedAt:_0x40510b}=_0x202c31;if(_0x40510b)continue;_0x40b47b||(_0x40b47b=_0x445603[_0xc79792(0x1f8)]({'channelId':_0x2a4d0f,'threadId':_0xdff7f9,'context':_0x3ea230,'attributes':_0x477729||{},'resolvedBy':_0x297726,'resolvedAt':_0x1d9ba7,'unlinkedAt':_0x4f4c65,'isFromAdapter':!0x0}));const _0x45e8e7=new Set(Array[_0xc79792(0x20d)](_0x40b47b[_0xc79792(0x231)],_0x166e2c=>_0x166e2c['id']));for(const _0x58931e of _0x202c31[_0xc79792(0x231)])_0x45e8e7[_0xc79792(0x22d)](_0x58931e[_0xc79792(0x1e5)]);for(const _0x5e26cc of _0x45e8e7)_0x40b47b[_0xc79792(0x203)](_0x5e26cc)[_0xc79792(0x208)]({'isFromAdapter':!0x0});for(const _0x17b7b7 of _0x202c31[_0xc79792(0x231)]){const _0x4f6784=_0x40b47b[_0xc79792(0x203)](_0x17b7b7[_0xc79792(0x1e5)]);_0x4f6784?_0x4f6784[_0xc79792(0x223)]!==_0x17b7b7[_0xc79792(0x223)]&&_0x4f6784[_0xc79792(0x232)]({'content':_0x17b7b7[_0xc79792(0x223)],'isFromAdapter':!0x0}):_0x40b47b[_0xc79792(0x1e6)](Object[_0xc79792(0x21c)](S(_0x17b7b7),{'isFromAdapter':!0x0}));}}}[_0x240925(0x236)](_0x156b63){const _0x3e460e=_0x240925;if(!this[_0x3e460e(0x1dd)][_0x3e460e(0x20a)](_0x156b63))throw new _0x574583(_0x3e460e(0x1f6),null,{'channelId':_0x156b63});return this[_0x3e460e(0x1dd)][_0x3e460e(0x233)](_0x156b63);}async[_0x240925(0x1fc)](_0x2230c9){const _0x3c838b=_0x240925,_0x207fa0=this[_0x3c838b(0x1db)][_0x3c838b(0x1f2)][_0x3c838b(0x233)](_0x192a1b),{connection:_0x44e9b3}=this[_0x3c838b(0x1db)][_0x3c838b(0x1f2)][_0x3c838b(0x233)](_0x37046a),_0x5b3962=new Set();for(const {resolvedBy:_0x1a43cf,comments:_0x531275}of _0x2230c9){_0x1a43cf&&!_0x207fa0[_0x3c838b(0x1ef)](_0x1a43cf)&&_0x5b3962[_0x3c838b(0x1d1)](_0x1a43cf);for(const {userId:_0x530787}of _0x531275)_0x207fa0[_0x3c838b(0x1ef)](_0x530787)||_0x5b3962[_0x3c838b(0x1d1)](_0x530787);}if(0x0===_0x5b3962[_0x3c838b(0x220)])return;const _0x251f29=await _0x5ec5e3[_0x3c838b(0x1fb)](_0x44e9b3,Array[_0x3c838b(0x20d)](_0x5b3962));for(const _0x1ea47c of _0x251f29)_0x207fa0[_0x3c838b(0x1ef)](_0x1ea47c['id'])||_0x207fa0[_0x3c838b(0x21e)](_0x1ea47c);}}a[_0x240925(0x1f7)]=_0x4979b8;function _0x321b(_0x36b37a,_0x1cdd43){const _0x1e71dd=_0x1e71();return _0x321b=function(_0x321b10,_0x458a7d){_0x321b10=_0x321b10-0x1d0;let _0x255dd0=_0x1e71dd[_0x321b10];return _0x255dd0;},_0x321b(_0x36b37a,_0x1cdd43);}export default a;async function B(_0x14cee4){const _0x3302a2=_0x240925;if(_0x3302a2(0x229)!==_0x14cee4[_0x3302a2(0x1ee)])throw _0x14cee4;}function R(_0x342f44){const _0x56d3a3=_0x240925;if((_0x7a49a3=_0x342f44)[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x212))||_0x7a49a3[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x217))||_0x7a49a3[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x1f5)))return new Promise(()=>{});var _0x7a49a3;throw _0x342f44;}function S(_0x1097f4){const _0x38c4a1=_0x240925;return{'threadId':_0x1097f4[_0x38c4a1(0x216)],'commentId':_0x1097f4[_0x38c4a1(0x1e5)],'content':_0x1097f4[_0x38c4a1(0x223)],'createdAt':_0x1097f4[_0x38c4a1(0x1f4)],'authorId':_0x1097f4[_0x38c4a1(0x1fd)],'attributes':_0x1097f4[_0x38c4a1(0x214)]||{}};}
|
|
23
|
+
const _0x5ea3d7=_0x13f5;(function(_0x1ce4ef,_0x81fb8e){const _0x37b0ce=_0x13f5,_0x43cfa6=_0x1ce4ef();while(!![]){try{const _0x30e38f=parseInt(_0x37b0ce(0x17e))/0x1*(parseInt(_0x37b0ce(0x199))/0x2)+parseInt(_0x37b0ce(0x183))/0x3*(parseInt(_0x37b0ce(0x1b5))/0x4)+-parseInt(_0x37b0ce(0x194))/0x5*(parseInt(_0x37b0ce(0x1a7))/0x6)+parseInt(_0x37b0ce(0x192))/0x7*(-parseInt(_0x37b0ce(0x16f))/0x8)+parseInt(_0x37b0ce(0x1c4))/0x9+-parseInt(_0x37b0ce(0x1a0))/0xa+parseInt(_0x37b0ce(0x19a))/0xb;if(_0x30e38f===_0x81fb8e)break;else _0x43cfa6['push'](_0x43cfa6['shift']());}catch(_0x460122){_0x43cfa6['push'](_0x43cfa6['shift']());}}}(_0x4e3b,0x4a5f5));import{Context as _0x17e243,ContextPlugin as _0x3df34a}from'ckeditor5/src/core.js';import{CKEditorError as _0x4aefae}from'ckeditor5/src/utils.js';import{Users as _0xbee079}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x44888a,User as _0x1159cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4e3b(){const _0x461b4b=['catch','context','commentAdded','cloudservicescommentsadapter-disconnect-not-exist','addToReconnectionStack','message','listenTo','316488VCJmrb','addComment','Permissions','createdAt','commentThreadRemoved','update','getConnectedSessions','removeComment','removeCommentThread','collaboration.channelId','add','connect','commentThreadUpdated','updateCommentThread','pluginName','3330855IMDnwG','cloud-services-internal-error:\x20Request\x20timeout.','reopen','permissions','addUser','commentId','updateComment','resolve','getComment','commentThreadResolved','cloudservicescommentsadapter-connect-already-connected','config','_terminateService','destroy','CommentsService','requires','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','24knJZfA','remove','map','isOfficialPlugin','getCommentThread','cloudservicescommentsadapter-service-not-exist','unregister','_fetchMissingUsersForThreads','authorId','startsWith','plugins','userId','getCommentThreads','commentUpdated','_services','4999KjvbTG','off','commentThreadId','resolvedBy','register','3suroBU','_setUpService','CloudServicesCommentsAdapter','adapter','commentThreadReopened','addCommentThread','commentThreadAdded','getMany','assign','404','resolvedAt','deletedAt','_getService','code','sessionAdd:','744422pEMqEU','_connectService','291185DblTie','init','CommentsRepository','content','getUser','202qxzPzW','5587923PXYext','resolveCommentThread','set','keys','mySessionId','size','2560720fVchoi','attributes','commentRemoved','from','has','setPermissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','60TWjWdI','get','reopenCommentThread','reconnect','delete','comments','disconnect'];_0x4e3b=function(){return _0x461b4b;};return _0x4e3b();}import _0x55093f from'../realtimecollaborativeediting/websocketgateway.js';import _0xeff7ea from'../realtimecollaborativeediting/sessions.js';class a extends _0x3df34a{static get[_0x5ea3d7(0x1d3)](){const _0x3655d2=_0x5ea3d7;return[_0x55093f,_0x3655d2(0x196),_0xeff7ea,_0xbee079];}static get[_0x5ea3d7(0x1c3)](){const _0x5a8018=_0x5ea3d7;return _0x5a8018(0x185);}static get[_0x5ea3d7(0x172)](){return!0x0;}static get[_0x5ea3d7(0x1d5)](){return!0x0;}constructor(_0x13a34b){const _0x2dd50c=_0x5ea3d7;super(_0x13a34b),this[_0x2dd50c(0x17d)]=new Map();}async[_0x5ea3d7(0x195)](){const _0x507fe5=_0x5ea3d7,_0x49a6db=this[_0x507fe5(0x1af)],_0x999c1b=_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0x507fe5(0x196));if(_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0x55093f)[_0x507fe5(0x1b2)](this),_0x999c1b[_0x507fe5(0x186)]={'addCommentThread':async({channelId:_0xdc1e39,threadId:_0x87fe7f,comments:_0x315c2d,resolvedAt:_0x3124c9,resolvedBy:_0x5aef39,context:_0x41f547,attributes:_0x3f0622})=>{const _0x443b03=_0x507fe5,_0x2a3516=await this[_0x443b03(0x18f)](_0xdc1e39)[_0x443b03(0x188)]({'commentThreadId':_0x87fe7f,'comments':_0x315c2d[_0x443b03(0x171)](_0x3b7ac1=>function(_0x28f632,_0x2d18e6,_0x57f91d){const _0x30a9bd=_0x443b03;return{'commentThreadId':_0x57f91d,'commentId':_0x28f632[_0x30a9bd(0x1c9)],'userId':_0x28f632[_0x30a9bd(0x177)],'content':_0x28f632[_0x30a9bd(0x197)],'documentId':_0x2d18e6,'createdAt':_0x28f632[_0x30a9bd(0x1b8)],'attributes':_0x28f632[_0x30a9bd(0x1a1)]||{}};}(_0x3b7ac1,_0xdc1e39,_0x87fe7f)),'resolvedAt':_0x3124c9,'resolvedBy':_0x5aef39,'context':_0x41f547,'attributes':_0x3f0622})[_0x443b03(0x1ae)](R);return{'threadId':_0x2a3516[_0x443b03(0x180)],'comments':_0x2a3516[_0x443b03(0x1ac)]};},'getCommentThread':async({channelId:_0x27d196,threadId:_0x15b8ae})=>{const _0x7a2c46=_0x507fe5,_0x397f43=await this[_0x7a2c46(0x18f)](_0x27d196)[_0x7a2c46(0x173)](_0x15b8ae)[_0x7a2c46(0x1ae)](R);return _0x397f43[_0x7a2c46(0x18e)]?null:(await this[_0x7a2c46(0x176)]([_0x397f43]),{'threadId':_0x397f43[_0x7a2c46(0x180)],'comments':_0x397f43[_0x7a2c46(0x1ac)][_0x7a2c46(0x171)](S),'context':_0x397f43[_0x7a2c46(0x1af)],'resolvedAt':_0x397f43[_0x7a2c46(0x18d)],'resolvedBy':_0x397f43[_0x7a2c46(0x181)],'attributes':_0x397f43[_0x7a2c46(0x1a1)]||{}});},'updateCommentThread':async({channelId:_0x21e8f7,threadId:_0x1189c3,context:_0x2f93e8,unlinkedAt:_0x32c85a,attributes:_0x230e0f})=>this[_0x507fe5(0x18f)](_0x21e8f7)[_0x507fe5(0x1c2)]({'commentThreadId':_0x1189c3,'context':_0x2f93e8,'attributes':_0x230e0f,'unlinkedAt':_0x32c85a})[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'resolveCommentThread':async({channelId:_0x68f3cc,threadId:_0x4b1e5c})=>{const _0x19d3be=_0x507fe5,_0x4883f1=await this[_0x19d3be(0x18f)](_0x68f3cc)[_0x19d3be(0x19b)](_0x4b1e5c)[_0x19d3be(0x1ae)](B)[_0x19d3be(0x1ae)](R);return{'threadId':_0x4883f1[_0x19d3be(0x180)],'resolvedAt':_0x4883f1[_0x19d3be(0x18d)],'resolvedBy':_0x4883f1[_0x19d3be(0x181)]};},'reopenCommentThread':async({channelId:_0x27ead6,threadId:_0x2561a9})=>this[_0x507fe5(0x18f)](_0x27ead6)[_0x507fe5(0x1a9)](_0x2561a9)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'removeCommentThread':({channelId:_0xe81278,threadId:_0x51d1e2})=>this[_0x507fe5(0x18f)](_0xe81278)[_0x507fe5(0x1bd)](_0x51d1e2)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'addComment':({channelId:_0x58900f,threadId:_0x39e35b,commentId:_0x5dab98,content:_0x403a55,attributes:_0x1e6598})=>this[_0x507fe5(0x18f)](_0x58900f)[_0x507fe5(0x1b6)](_0x39e35b,_0x5dab98,_0x403a55,_0x1e6598)[_0x507fe5(0x1ae)](R),'updateComment':({channelId:_0x365d02,threadId:_0x101503,commentId:_0x5d7dd0,content:_0x399216,attributes:_0x53821c})=>this[_0x507fe5(0x18f)](_0x365d02)[_0x507fe5(0x1ca)](_0x101503,_0x5d7dd0,_0x399216,_0x53821c)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'removeComment':({channelId:_0x46e45d,threadId:_0x4331a0,commentId:_0x1a2dad})=>this[_0x507fe5(0x18f)](_0x46e45d)[_0x507fe5(0x1bc)](_0x4331a0,_0x1a2dad)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R)},_0x49a6db instanceof _0x17e243){const _0x27c383=_0x49a6db[_0x507fe5(0x1cf)][_0x507fe5(0x1a8)](_0x507fe5(0x1be)),_0x51b1f7=_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0xeff7ea);await this[_0x507fe5(0x184)](_0x27c383);const _0x5cac1e=await this[_0x507fe5(0x17d)][_0x507fe5(0x1a8)](_0x27c383)[_0x507fe5(0x1bb)]();this[_0x507fe5(0x1b4)](_0x51b1f7,_0x507fe5(0x191)+_0x27c383,(_0x112e0b,{session:_0x4d3d6e})=>{const _0x376fc6=_0x507fe5;_0x4d3d6e['id']===_0x51b1f7[_0x376fc6(0x19e)]&&(_0x112e0b[_0x376fc6(0x17f)](),this[_0x376fc6(0x1af)][_0x376fc6(0x179)][_0x376fc6(0x1a8)](_0x376fc6(0x1b7))[_0x376fc6(0x1a5)](_0x4d3d6e[_0x376fc6(0x1c7)],_0x27c383));}),_0x51b1f7[_0x507fe5(0x182)](_0x27c383,_0x5cac1e);}}async[_0x5ea3d7(0x184)](_0x464fc7){const _0x1b09e6=_0x5ea3d7;if(this[_0x1b09e6(0x17d)][_0x1b09e6(0x1a4)](_0x464fc7))throw new _0x4aefae(_0x1b09e6(0x1ce),null,{'channelId':_0x464fc7});const _0x390944=this[_0x1b09e6(0x1af)][_0x1b09e6(0x179)][_0x1b09e6(0x1a8)](_0x1b09e6(0x196)),_0x586933=new a[(_0x1b09e6(0x1d2))](_0x464fc7);this[_0x1b09e6(0x17d)][_0x1b09e6(0x19c)](_0x464fc7,_0x586933),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x189),(_0x43233c,_0x1dca28)=>{const _0x2526ca=_0x1b09e6,{commentThreadId:_0x1a91cf,documentId:_0x36e84a,context:_0x4f15be,attributes:_0x1b454c,resolvedAt:_0x1d72c8,resolvedBy:_0x491a9f,comments:_0x26c153}=_0x1dca28;_0x390944[_0x2526ca(0x173)](_0x1a91cf)||_0x390944[_0x2526ca(0x188)]({'threadId':_0x1a91cf,'channelId':_0x36e84a,'comments':_0x26c153?_0x26c153[_0x2526ca(0x171)](S):[],'context':_0x4f15be,'attributes':_0x1b454c,'resolvedAt':_0x1d72c8,'resolvedBy':_0x491a9f,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1c1),(_0x1b77fe,{commentThreadId:_0x506b67,documentId:_0x4b8460,context:_0x45381c,unlinkedAt:_0x4a8fd5,attributes:_0x404c1b})=>{const _0x456e24=_0x1b09e6;_0x390944[_0x456e24(0x173)](_0x506b67)&&_0x390944[_0x456e24(0x1c2)]({'threadId':_0x506b67,'channelId':_0x4b8460,'context':_0x45381c,'unlinkedAt':_0x4a8fd5,'attributes':_0x404c1b,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1cd),(_0x3e4bfa,{commentThreadId:_0x1fa031,resolvedBy:_0x515161,resolvedAt:_0x49b39e})=>{const _0x304795=_0x1b09e6,_0x51bce7=_0x390944[_0x304795(0x173)](_0x1fa031);_0x51bce7&&_0x51bce7[_0x304795(0x1cb)]({'resolvedBy':_0x515161,'resolvedAt':_0x49b39e,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x187),(_0x1c7b17,{commentThreadId:_0x215f2d})=>{const _0x247a5a=_0x1b09e6,_0xa90cac=_0x390944[_0x247a5a(0x173)](_0x215f2d);_0xa90cac&&_0xa90cac[_0x247a5a(0x1c6)]({'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1b9),(_0x97af36,{commentThreadId:_0x5b7f09})=>{const _0x496875=_0x1b09e6,_0x4e5181=_0x390944[_0x496875(0x173)](_0x5b7f09);_0x4e5181&&_0x4e5181[_0x496875(0x170)]({'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1b0),(_0x1a94d5,_0x323204)=>{const _0x4d03b2=_0x1b09e6,_0x47e9de=_0x323204[_0x4d03b2(0x180)],_0x4c8492=_0x390944[_0x4d03b2(0x173)](_0x47e9de);_0x4c8492&&_0x4c8492[_0x4d03b2(0x1b6)]({...S(_0x323204),'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x17c),(_0x38368c,{commentThreadId:_0x16ce0e,commentId:_0x5667aa,content:_0x4df751,attributes:_0x4c594d})=>{const _0x530d05=_0x1b09e6,_0xabf4bc=_0x390944[_0x530d05(0x173)](_0x16ce0e);if(_0xabf4bc){const _0x13b2b6=_0xabf4bc[_0x530d05(0x1cc)](_0x5667aa);_0x13b2b6&&_0x13b2b6[_0x530d05(0x1ba)]({'content':_0x4df751,'attributes':_0x4c594d,'isFromAdapter':!0x0});}}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1a2),(_0x405ab1,{commentThreadId:_0x45d4a9,commentId:_0x26725e})=>{const _0x54d44a=_0x1b09e6,_0x38b53f=_0x390944[_0x54d44a(0x173)](_0x45d4a9);if(_0x38b53f){const _0x208f65=_0x38b53f[_0x54d44a(0x1cc)](_0x26725e);_0x208f65&&_0x208f65[_0x54d44a(0x170)]({'isFromAdapter':!0x0});}}),await this[_0x1b09e6(0x193)](_0x464fc7);}[_0x5ea3d7(0x1d1)](){const _0x1940e1=_0x5ea3d7;if(this[_0x1940e1(0x1af)]instanceof _0x17e243){const _0x1fa30f=this[_0x1940e1(0x1af)][_0x1940e1(0x1cf)][_0x1940e1(0x1a8)](_0x1940e1(0x1be));this[_0x1940e1(0x1d0)](_0x1fa30f);}}[_0x5ea3d7(0x1d0)](_0x209969){const _0x4caa37=_0x5ea3d7;if(!this[_0x4caa37(0x17d)][_0x4caa37(0x1a4)](_0x209969))throw new _0x4aefae(_0x4caa37(0x1b1),null,{'channelId':_0x209969});this[_0x4caa37(0x18f)](_0x209969)[_0x4caa37(0x1ad)](),this[_0x4caa37(0x17d)][_0x4caa37(0x1ab)](_0x209969);}async[_0x5ea3d7(0x1aa)](){const _0x5c4ec5=_0x5ea3d7;for(const _0x5d35f2 of this[_0x5c4ec5(0x17d)][_0x5c4ec5(0x19d)]())await this[_0x5c4ec5(0x193)](_0x5d35f2);if(this[_0x5c4ec5(0x1af)]instanceof _0x17e243){const _0x45a5c0=this[_0x5c4ec5(0x1af)][_0x5c4ec5(0x1cf)][_0x5c4ec5(0x1a8)](_0x5c4ec5(0x1be)),_0x49aae0=this[_0x5c4ec5(0x1af)][_0x5c4ec5(0x179)][_0x5c4ec5(0x1a8)](_0xeff7ea);_0x49aae0[_0x5c4ec5(0x175)](_0x45a5c0);const _0x232734=await this[_0x5c4ec5(0x17d)][_0x5c4ec5(0x1a8)](_0x45a5c0)[_0x5c4ec5(0x1bb)]();_0x49aae0[_0x5c4ec5(0x182)](_0x45a5c0,_0x232734);}}async[_0x5ea3d7(0x193)](_0x3a88c1){const _0x78942d=_0x5ea3d7,{connection:_0x3b86c0}=this[_0x78942d(0x1af)][_0x78942d(0x179)][_0x78942d(0x1a8)](_0x55093f),_0x3f750d=this[_0x78942d(0x1af)][_0x78942d(0x179)][_0x78942d(0x1a8)](_0x78942d(0x196)),_0x54e460=this[_0x78942d(0x17d)][_0x78942d(0x1a8)](_0x3a88c1),_0x34c303=await _0x54e460[_0x78942d(0x1c0)](_0x3b86c0);await this[_0x78942d(0x176)](_0x34c303);const _0x899120=new Set(Array[_0x78942d(0x1a3)](_0x3f750d[_0x78942d(0x17b)]({'channelId':_0x3a88c1}),_0x239027=>_0x239027['id']));for(const _0x253773 of _0x34c303)_0x253773[_0x78942d(0x18e)]||_0x899120[_0x78942d(0x1ab)](_0x253773[_0x78942d(0x180)]);for(const _0x3b1539 of _0x899120)_0x3f750d[_0x78942d(0x173)](_0x3b1539)[_0x78942d(0x170)]({'isFromAdapter':!0x0});for(const _0x461526 of _0x34c303){let _0x1f9518=_0x3f750d[_0x78942d(0x173)](_0x461526[_0x78942d(0x180)]);const {commentThreadId:_0x59ab8e,context:_0x1b0384,attributes:_0x229dbe,resolvedBy:_0x5aed49,resolvedAt:_0x30d8af,unlinkedAt:_0x30ee9e,deletedAt:_0x7e4c31}=_0x461526;if(_0x7e4c31)continue;_0x1f9518||(_0x1f9518=_0x3f750d[_0x78942d(0x188)]({'channelId':_0x3a88c1,'threadId':_0x59ab8e,'context':_0x1b0384,'attributes':_0x229dbe||{},'resolvedBy':_0x5aed49,'resolvedAt':_0x30d8af,'unlinkedAt':_0x30ee9e,'isFromAdapter':!0x0}));const _0x417d61=new Set(Array[_0x78942d(0x1a3)](_0x1f9518[_0x78942d(0x1ac)],_0x23d51f=>_0x23d51f['id']));for(const _0x4b733d of _0x461526[_0x78942d(0x1ac)])_0x417d61[_0x78942d(0x1ab)](_0x4b733d[_0x78942d(0x1c9)]);for(const _0x57b955 of _0x417d61)_0x1f9518[_0x78942d(0x1cc)](_0x57b955)[_0x78942d(0x170)]({'isFromAdapter':!0x0});for(const _0x25b446 of _0x461526[_0x78942d(0x1ac)]){const _0x1fc9ed=_0x1f9518[_0x78942d(0x1cc)](_0x25b446[_0x78942d(0x1c9)]);_0x1fc9ed?_0x1fc9ed[_0x78942d(0x197)]!==_0x25b446[_0x78942d(0x197)]&&_0x1fc9ed[_0x78942d(0x1ba)]({'content':_0x25b446[_0x78942d(0x197)],'isFromAdapter':!0x0}):_0x1f9518[_0x78942d(0x1b6)](Object[_0x78942d(0x18b)](S(_0x25b446),{'isFromAdapter':!0x0}));}}}[_0x5ea3d7(0x18f)](_0x550139){const _0x1dfc47=_0x5ea3d7;if(!this[_0x1dfc47(0x17d)][_0x1dfc47(0x1a4)](_0x550139))throw new _0x4aefae(_0x1dfc47(0x174),null,{'channelId':_0x550139});return this[_0x1dfc47(0x17d)][_0x1dfc47(0x1a8)](_0x550139);}async[_0x5ea3d7(0x176)](_0x38bf08){const _0x4050dd=_0x5ea3d7,_0x2c127c=this[_0x4050dd(0x1af)][_0x4050dd(0x179)][_0x4050dd(0x1a8)](_0xbee079),{connection:_0x373e6c}=this[_0x4050dd(0x1af)][_0x4050dd(0x179)][_0x4050dd(0x1a8)](_0x55093f),_0x16ffee=new Set();for(const {resolvedBy:_0x5063a7,comments:_0x57e0ba}of _0x38bf08){_0x5063a7&&!_0x2c127c[_0x4050dd(0x198)](_0x5063a7)&&_0x16ffee[_0x4050dd(0x1bf)](_0x5063a7);for(const {userId:_0x38c854}of _0x57e0ba)_0x2c127c[_0x4050dd(0x198)](_0x38c854)||_0x16ffee[_0x4050dd(0x1bf)](_0x38c854);}if(0x0===_0x16ffee[_0x4050dd(0x19f)])return;const _0x3c8cd5=await _0x1159cb[_0x4050dd(0x18a)](_0x373e6c,Array[_0x4050dd(0x1a3)](_0x16ffee));for(const _0x50287d of _0x3c8cd5)_0x2c127c[_0x4050dd(0x198)](_0x50287d['id'])||_0x2c127c[_0x4050dd(0x1c8)](_0x50287d);}}a[_0x5ea3d7(0x1d2)]=_0x44888a;function _0x13f5(_0x2db69d,_0x753d84){const _0x4e3b1e=_0x4e3b();return _0x13f5=function(_0x13f53d,_0x8ac5c5){_0x13f53d=_0x13f53d-0x16f;let _0x49bc73=_0x4e3b1e[_0x13f53d];return _0x49bc73;},_0x13f5(_0x2db69d,_0x753d84);}export default a;async function B(_0x17b7c5){const _0x2f398d=_0x5ea3d7;if(_0x2f398d(0x18c)!==_0x17b7c5[_0x2f398d(0x190)])throw _0x17b7c5;}function R(_0x1fc46f){const _0x1fe2ec=_0x5ea3d7;if((_0x4cef9e=_0x1fc46f)[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1a6))||_0x4cef9e[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1d4))||_0x4cef9e[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1c5)))return new Promise(()=>{});var _0x4cef9e;throw _0x1fc46f;}function S(_0x2836a1){const _0xa99976=_0x5ea3d7;return{'threadId':_0x2836a1[_0xa99976(0x180)],'commentId':_0x2836a1[_0xa99976(0x1c9)],'content':_0x2836a1[_0xa99976(0x197)],'createdAt':_0x2836a1[_0xa99976(0x1b8)],'authorId':_0x2836a1[_0xa99976(0x17a)],'attributes':_0x2836a1[_0xa99976(0x1a1)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5957(){const _0xe84173=['connected','78MWHrcG','13939740FqNwpR','config','64mVuxzU','3132780FHVbgt','CommentsRepository','11cpBtcj','880947HouXbB','data','pluginName','ready','editor','isOfficialPlugin','22520136MPmXsR','RealTimeCollaborativeComments','2804488RkFWcq','collaboration.channelId','464527cfLaIz','plugins','_terminateService','Comments','once','10iBRKTo','4rzsrpW','isPremiumPlugin','change:state','_setUpService','listenTo','switchReadOnly','requires','CommentsEditing','destroy','923834oNKINF','get','isThreadsLoadingPaused','init'];_0x5957=function(){return _0xe84173;};return _0x5957();}const _0x31b8a1=_0x53ba;(function(_0x94ab3c,_0x3c2a54){const _0x3adc87=_0x53ba,_0x145d35=_0x94ab3c();while(!![]){try{const _0x7fcfb8=-parseInt(_0x3adc87(0x18e))/0x1*(-parseInt(_0x3adc87(0x1aa))/0x2)+parseInt(_0x3adc87(0x197))/0x3+parseInt(_0x3adc87(0x1a2))/0x4*(parseInt(_0x3adc87(0x1a9))/0x5)+-parseInt(_0x3adc87(0x193))/0x6*(parseInt(_0x3adc87(0x1a4))/0x7)+parseInt(_0x3adc87(0x196))/0x8*(parseInt(_0x3adc87(0x19a))/0x9)+-parseInt(_0x3adc87(0x194))/0xa+-parseInt(_0x3adc87(0x199))/0xb*(parseInt(_0x3adc87(0x1a0))/0xc);if(_0x7fcfb8===_0x3c2a54)break;else _0x145d35['push'](_0x145d35['shift']());}catch(_0x4a8dfe){_0x145d35['push'](_0x145d35['shift']());}}}(_0x5957,0xe6713));import{Plugin as _0x5f0eee}from'ckeditor5/src/core.js';function _0x53ba(_0x53cf5b,_0x28ab0a){const _0x5957e1=_0x5957();return _0x53ba=function(_0x53ba55,_0x47007e){_0x53ba55=_0x53ba55-0x189;let _0x1f2736=_0x5957e1[_0x53ba55];return _0x1f2736;},_0x53ba(_0x53cf5b,_0x28ab0a);}import _0x11d4a8 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x80d296 from'./realtimecollaborativeediting.js';import _0x50d890 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5f0eee{static get[_0x31b8a1(0x18b)](){const _0x14243a=_0x31b8a1;return[_0x14243a(0x1a7),_0x11d4a8,_0x80d296,_0x50d890];}static get[_0x31b8a1(0x19c)](){const _0x4782a1=_0x31b8a1;return _0x4782a1(0x1a1);}static get[_0x31b8a1(0x19f)](){return!0x0;}static get[_0x31b8a1(0x1ab)](){return!0x0;}[_0x31b8a1(0x191)](){const _0x36a1bd=_0x31b8a1,_0x2ff7d4=this[_0x36a1bd(0x19e)][_0x36a1bd(0x1a5)][_0x36a1bd(0x18f)](_0x50d890),_0x394e08=this[_0x36a1bd(0x19e)][_0x36a1bd(0x1a5)][_0x36a1bd(0x18f)](_0x36a1bd(0x18c)),_0x5ba36b=this[_0x36a1bd(0x19e)][_0x36a1bd(0x1a5)][_0x36a1bd(0x18f)](_0x11d4a8);return this[_0x36a1bd(0x19e)][_0x36a1bd(0x19b)][_0x36a1bd(0x1a8)](_0x36a1bd(0x19d),()=>{const _0x41576b=_0x36a1bd;this[_0x41576b(0x189)](_0x2ff7d4,_0x41576b(0x1ac),(_0x5b6e5d,_0x34596f,_0x4a5f6d)=>{const _0x23d059=_0x41576b;_0x394e08[_0x23d059(0x190)]=_0x23d059(0x192)!==_0x4a5f6d;});}),this[_0x36a1bd(0x189)](_0x2ff7d4,_0x36a1bd(0x1ac),(_0x20df75,_0xefd2e8,_0x31eacd)=>{const _0x1cb933=_0x36a1bd;this[_0x1cb933(0x19e)][_0x1cb933(0x1a5)][_0x1cb933(0x18f)](_0x1cb933(0x198))[_0x1cb933(0x18a)](_0x1cb933(0x192)!==_0x31eacd);}),_0x5ba36b[_0x36a1bd(0x1ad)](this[_0x36a1bd(0x19e)][_0x36a1bd(0x195)][_0x36a1bd(0x18f)](_0x36a1bd(0x1a3)));}[_0x31b8a1(0x18d)](){const _0x48fa2d=_0x31b8a1;this[_0x48fa2d(0x19e)][_0x48fa2d(0x1a5)][_0x48fa2d(0x18f)](_0x11d4a8)[_0x48fa2d(0x1a6)](this[_0x48fa2d(0x19e)][_0x48fa2d(0x195)][_0x48fa2d(0x18f)](_0x48fa2d(0x1a3))),super[_0x48fa2d(0x18d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d35bf=_0x304e;(function(_0xea4be7,_0x586c33){const _0x15be0d=_0x304e,_0x33462e=_0xea4be7();while(!![]){try{const _0x2866de=parseInt(_0x15be0d(0x23a))/0x1+parseInt(_0x15be0d(0x28b))/0x2+parseInt(_0x15be0d(0x232))/0x3*(-parseInt(_0x15be0d(0x267))/0x4)+-parseInt(_0x15be0d(0x218))/0x5+-parseInt(_0x15be0d(0x245))/0x6*(parseInt(_0x15be0d(0x24f))/0x7)+-parseInt(_0x15be0d(0x2ab))/0x8+parseInt(_0x15be0d(0x276))/0x9;if(_0x2866de===_0x586c33)break;else _0x33462e['push'](_0x33462e['shift']());}catch(_0x546aef){_0x33462e['push'](_0x33462e['shift']());}}}(_0x3bcd,0xf1834));import{Plugin as _0x29ea41,PendingActions as _0x109940}from'ckeditor5/src/core.js';import{CKEditorError as _0x41198c,version as _0x891554,uid as _0x12f772}from'ckeditor5/src/utils.js';import{Notification as _0x22f8fb}from'ckeditor5/src/ui.js';import{transformSets as _0x537314,NoOperation as _0x113cac,InsertOperation as _0x51cf24,MarkerOperation as _0x29a48c,RootAttributeOperation as _0x535837,OperationFactory as _0x4ff852,History as _0x72b1ab}from'ckeditor5/src/engine.js';function _0x304e(_0x3daef4,_0x2663d5){const _0x3bcd16=_0x3bcd();return _0x304e=function(_0x304e24,_0x255388){_0x304e24=_0x304e24-0x1ab;let _0x2cb878=_0x3bcd16[_0x304e24];return _0x2cb878;},_0x304e(_0x3daef4,_0x2663d5);}import _0x545b57 from'./websocketgateway.js';import _0x5a52f5 from'./sessions.js';import _0x4fd09b from'./usermarkers.js';import{getTranslation as _0xe2cf1}from'../common-translations.js';import{Compressor as _0x4a6654}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x242592}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14b0de,CollaborativeEditingService as _0x20da33}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3bcd(){const _0x1309e5=['CollaborativeEditingService','11540KhiAAZ','getDocumentDetails','_document','_initSessionsHandling','change:_isPendingUpdate','error','realtimecollaborationclient-init-service-internal-error','cloud-services-internal-error:\x20Not\x20connected.','apply','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_updateServerHistory','_getOperationsFromInitData','forEach','_sendBufferedOperations','disconnect','16213662SceNAa','realtimecollaborationclient-handleserverresponse','slice','getConnectedSessions','change:_isEditingAllowed','has','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.','createRange','selection','_getAffectedRoot','createUserMarkerOperations','enqueueChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','position','marker','_handleReceivedOperations','addOperation','setPermissions','404','markers','includes','3936598kdogEo','collaboration-missing-channelid','_setUpDataInit','fire','high','sessionAdd:','lastDocumentSession','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.','connected','_shouldSendSelectionUpdate','_saveOperationInBuffer','InsertOperation','_baseBufferDelay','cloudServices.bundleVersion','history','type','cs:removeUser','change:hasDomSelection','_handleSendingSelectionMarkers','serverHistory','_isConnected','model','sendOperations','_isLoaded','clone','keys','realtimecollaborationclient-init-service-incorrect-server-operation','state','createRoot','attributes','realtimecollaborationclient-init-non-existent-root','round','9943048OwECWP','sessionCreatedAt','_authorId','_compressor','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-error','fromJSON','addRootAttribute','then','real-time-collaboration','register','directChange','connect','isEnabled','_connectService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','CommentsOnly','stop','_crash','code','bind','collaboration','enableReadOnlyMode','_clearPendingAction','_compressOperations','roots','_handleReconnectionResponse','wereChangesApplied','batch','editor','remove','_handleExternalOperations','_handleServerResponse','disableReadOnlyMode','createPositionFromPath','$root','_ignoredOperations','addRoot','wasUndone','_offset','rootName','operationsReceived','locale','_bufferedOperations','_setPendingAction','_lastSyncedOperationId','change:range','parse','_decompressOperations','plugins','_lastServerVersion','mySessionId','path','ready','decompress','move','unregister','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getIdOfTheLastOperation','requires','length','realtimecollaborationclient-sendbufferedoperations','_hasSynchronizationProblem','initData','isUndoneOperation','_operationToId','setIdForTheLastOperation','_service','addToReconnectionStack','targetPosition','_sendBufferedOperationsDelayId','startsWith','rtc-destroyed','getUser','document','sessionId','_hasSelectionChanged','suppressErrorInCollaboration','_loadRoot','showWarning','return','message','collaboration.channelId','getOperationAuthor','reset','toJSON','lastSyncVersion','lastOperationId','reconnection:\x20flushed\x20session','catch','size','_handleReconnectionError','cloudDocumentVersion','offset','getOperations','disconnected','get','data','realtimecollaborationclient-init-document-already-initialized','_isDisconnection','_isInit','addUser','baseVersion','PENDING_ACTION_SENDING_DATA','createPositionAt','lastOperationAcceptedAt','rootsAttributes','off','_addKnownRoot','insert','isReadOnly','channelSessions','2856610eqdJCq','_fetchMissingUsers','pluginName','rtc-offline','_handleInitialConnectionData','string','userId','removeFromReconnectionStack','realtimecollaborationclient-init-connection-failed','editing','Synchronization\x20issue','newRange','409','getRoot','map','_refreshUserSelectionMarkers','from','_isEditingAllowed','realtimecollaborationclient-init-session-connection-error','_channelId','_initThrowingOnDataSet','add','_isPendingUpdate','Notification','Permissions','start','1497UHqcIV','end','_applyOperationsSet','metadata','init','_operationIdentifier','affectedSelectable','loadRoot','1928104uWEVZd','listenTo','applyOperation','getMany','filter','_shouldSendUpdate','_isAttached','version','root','realtimecollaborationclient','push','9582CgSNgM','_bufferRootLoad','differ','define','document:write','_disconnectService','permissions','affectsData','_disconnectionOperations','createdAt','6377EVZkDA','__className','destroy','isDocumentOperation','_knownRootNames','RealTimeCollaborationClient','view','isPremiumPlugin','currentDocumentSession','multi-root-editor-root-attributes-no-root','finally','_waitUntilSynced','reconnect','entries','compress','_sendBufferedOperationsDelayed','isOfficialPlugin','set','connection','_currentBufferDelay','_knownOperations','cloud-services-internal-error:\x20Request\x20timeout.','_pendingAction'];_0x3bcd=function(){return _0x1309e5;};return _0x3bcd();}let K=0x1;class l extends _0x29ea41{static get[_0x3d35bf(0x1e3)](){return[_0x545b57,_0x5a52f5,_0x4fd09b,_0x109940,_0x242592,_0x22f8fb];}static get[_0x3d35bf(0x21a)](){const _0x5e6bcc=_0x3d35bf;return _0x5e6bcc(0x254);}static get[_0x3d35bf(0x25f)](){return!0x0;}static get[_0x3d35bf(0x256)](){return!0x0;}get[_0x3d35bf(0x204)](){const _0x20ec89=_0x3d35bf;return this[_0x20ec89(0x1d9)]+this[_0x20ec89(0x1ce)];}get[_0x3d35bf(0x1d9)](){const _0x569bb9=_0x3d35bf;return this[_0x569bb9(0x29e)][_0x569bb9(0x241)]-this[_0x569bb9(0x1ce)];}get[_0x3d35bf(0x1fe)](){const _0x4a42a1=_0x3d35bf,_0x334714=this[_0x4a42a1(0x29e)][_0x4a42a1(0x206)]();for(let _0xfb0139=_0x334714[_0x4a42a1(0x1e4)]-0x1;_0xfb0139>=0x0;_0xfb0139--){const _0x56cfc9=_0x334714[_0xfb0139];if(!this[_0x4a42a1(0x24d)][_0x4a42a1(0x27b)](_0x56cfc9))return _0x56cfc9[_0x4a42a1(0x20e)]+0x1-this[_0x4a42a1(0x1ce)];}return 0x0;}constructor(_0x4205a2){const _0x4295e3=_0x3d35bf;if(super(_0x4205a2),this[_0x4295e3(0x1ce)]=0x0,this[_0x4295e3(0x1f3)]=null,this[_0x4295e3(0x29e)]=new _0x72b1ab(),this[_0x4295e3(0x1c4)][_0x4295e3(0x1e0)][_0x4295e3(0x248)](_0x4295e3(0x1bc),{}),this[_0x4295e3(0x22b)]=this[_0x4295e3(0x1c4)][_0x4295e3(0x1e0)][_0x4295e3(0x208)](_0x4295e3(0x1fa)),!this[_0x4295e3(0x22b)])throw new _0x41198c(_0x4295e3(0x28c),this);const _0x45276b=_0x4205a2[_0x4295e3(0x1e0)][_0x4295e3(0x208)](_0x4295e3(0x298))||_0x891554;this[_0x4295e3(0x1eb)]=new l[(_0x4295e3(0x266))](_0x45276b,this[_0x4295e3(0x22b)]),this[_0x4295e3(0x269)]=this[_0x4295e3(0x1c4)][_0x4295e3(0x2a0)][_0x4295e3(0x1f2)],this[_0x4295e3(0x2ae)]=new _0x4a6654(),this[_0x4295e3(0x1d2)]=[],this[_0x4295e3(0x263)]=new WeakSet(),this[_0x4295e3(0x253)]=new Set(),this[_0x4295e3(0x260)](_0x4295e3(0x22e),!0x1),this[_0x4295e3(0x260)](_0x4295e3(0x1e6),!0x1),this[_0x4295e3(0x265)]=null,this[_0x4295e3(0x1f4)]=!0x1,this[_0x4295e3(0x1ee)]=null,this[_0x4295e3(0x297)]=0x12c,this[_0x4295e3(0x262)]=this[_0x4295e3(0x297)],this[_0x4295e3(0x1d4)]=null,this[_0x4295e3(0x24d)]=new WeakSet(),this[_0x4295e3(0x237)]=new X(this[_0x4295e3(0x24d)]);}[_0x3d35bf(0x236)](){const _0x3fd5da=_0x3d35bf,_0x4615dd=this[_0x3fd5da(0x1c4)],_0x55ee26=_0x4615dd[_0x3fd5da(0x1d8)][_0x3fd5da(0x208)](_0x242592),_0x31ebd1=_0x4615dd[_0x3fd5da(0x1d8)][_0x3fd5da(0x208)](_0x545b57);this[_0x3fd5da(0x23b)](_0x55ee26,_0x3fd5da(0x1fb),(_0x733728,_0x4b9304)=>{const _0x16699f=_0x3fd5da,_0x38ae3d=_0x4b9304[0x0];_0x38ae3d[_0x16699f(0x2ad)]&&(_0x733728[_0x16699f(0x1f8)]=_0x55ee26[_0x16699f(0x1f1)](_0x38ae3d[_0x16699f(0x2ad)]),_0x733728[_0x16699f(0x1b8)]()),null===_0x38ae3d[_0x16699f(0x2ad)]&&(_0x733728[_0x16699f(0x1f8)]=null,_0x733728[_0x16699f(0x1b8)]());},{'priority':_0x3fd5da(0x28f)}),this[_0x3fd5da(0x23b)](_0x4615dd[_0x3fd5da(0x2a0)][_0x3fd5da(0x1f2)][_0x3fd5da(0x27e)],_0x3fd5da(0x1d5),(_0x46eec2,_0x1f24bf)=>{const _0x3b3990=_0x3fd5da;_0x1f24bf[_0x3b3990(0x1b1)]&&this[_0x3b3990(0x227)]();}),this[_0x3fd5da(0x23b)](_0x4615dd[_0x3fd5da(0x221)][_0x3fd5da(0x255)],_0x3fd5da(0x29c),()=>{const _0x1ef254=_0x3fd5da;this[_0x1ef254(0x227)]();}),this[_0x3fd5da(0x22c)](),_0x4615dd[_0x3fd5da(0x2a0)]['on'](_0x3fd5da(0x23c),(_0x500d46,_0x3804c7)=>{const _0x52696f=_0x3fd5da,_0x334521=_0x3804c7[0x0];_0x334521[_0x52696f(0x252)]&&(this[_0x52696f(0x295)](_0x334521),this[_0x52696f(0x23f)]()&&this[_0x52696f(0x25e)]());}),this[_0x3fd5da(0x28d)](),this[_0x3fd5da(0x1bb)](_0x3fd5da(0x229))['to'](_0x31ebd1,_0x3fd5da(0x2a6),this,_0x3fd5da(0x1e6),(_0x2c0884,_0x2302cc)=>_0x3fd5da(0x293)===_0x2c0884&&!_0x2302cc),this['on'](_0x3fd5da(0x27a),()=>{const _0x3b65c3=_0x3fd5da;this[_0x3b65c3(0x229)]?_0x4615dd[_0x3b65c3(0x1c8)](_0x3b65c3(0x21b)):_0x4615dd[_0x3b65c3(0x1bd)](_0x3b65c3(0x21b));}),this[_0x3fd5da(0x229)]?_0x4615dd[_0x3fd5da(0x1c8)](_0x3fd5da(0x21b)):_0x4615dd[_0x3fd5da(0x1bd)](_0x3fd5da(0x21b)),this[_0x3fd5da(0x260)](_0x3fd5da(0x29f),!0x1);}async[_0x3d35bf(0x25b)](){const _0x493be8=_0x3d35bf,_0x4b13af=this[_0x493be8(0x1c4)][_0x493be8(0x1d8)][_0x493be8(0x208)](_0x5a52f5),_0x23a0a8=this[_0x493be8(0x1c4)][_0x493be8(0x1d8)][_0x493be8(0x208)](_0x545b57);try{this[_0x493be8(0x22e)]=!0x0,_0x4b13af[_0x493be8(0x1df)](this[_0x493be8(0x22b)]);const _0x14e187=await this[_0x493be8(0x1eb)][_0x493be8(0x25b)](_0x23a0a8[_0x493be8(0x261)],this[_0x493be8(0x1fe)]);await this[_0x493be8(0x1c1)](_0x14e187)&&(this[_0x493be8(0x22e)]=!0x1,this[_0x493be8(0x1be)]());const _0x555f8b=await this[_0x493be8(0x1eb)][_0x493be8(0x279)]();_0x4b13af[_0x493be8(0x1b0)](this[_0x493be8(0x22b)],_0x555f8b),this[_0x493be8(0x29d)](),this[_0x493be8(0x29f)]=!0x0;}catch(_0x2f5648){if(function(_0x191b70){const _0x3f9656=_0x493be8;return _0x3f9656(0x288)===_0x191b70[_0x3f9656(0x1ba)];}(_0x2f5648)&&this[_0x493be8(0x1f3)])await this[_0x493be8(0x2af)]();else{if(function(_0x3c6e6d){const _0x4c1dc3=_0x493be8;return _0x4c1dc3(0x224)===_0x3c6e6d[_0x4c1dc3(0x1ba)];}(_0x2f5648)){const _0x3e9532=_0xe2cf1(this[_0x493be8(0x1c4)][_0x493be8(0x1d1)],_0x493be8(0x1b5));this[_0x493be8(0x203)](_0x3e9532);}else{if(!(_0x2f5648 instanceof J))throw _0x2f5648;this[_0x493be8(0x203)]();}}}}[_0x3d35bf(0x251)](){const _0x23b4a9=_0x3d35bf,_0x2005e5=this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1d8)][_0x23b4a9(0x208)](_0x545b57),_0x5e4c38=this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1d8)][_0x23b4a9(0x208)](_0x5a52f5);this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1bd)](_0x23b4a9(0x1f0)),_0x5e4c38[_0x23b4a9(0x217)][_0x23b4a9(0x27b)](this[_0x23b4a9(0x22b)])&&_0x5e4c38[_0x23b4a9(0x1df)](this[_0x23b4a9(0x22b)]),_0x2005e5[_0x23b4a9(0x21f)](this),this[_0x23b4a9(0x24a)](),super[_0x23b4a9(0x251)]();}async[_0x3d35bf(0x1c1)](_0x28c970){const _0x3e1a38=_0x3d35bf;if(this[_0x3e1a38(0x1f3)]!==_0x28c970[_0x3e1a38(0x1f3)]&&this[_0x3e1a38(0x1d4)]!==_0x28c970[_0x3e1a38(0x1ff)])throw new J();return this[_0x3e1a38(0x1f3)]=_0x28c970[_0x3e1a38(0x1f3)],this[_0x3e1a38(0x1c7)]([],{..._0x28c970,'wereChangesApplied':!0x1,'data':_0x28c970[_0x3e1a38(0x209)]},_0x3e1a38(0x25b));}async[_0x3d35bf(0x1b4)](_0x328db5,_0x202afd=!0x1){const _0x529201=_0x3d35bf,{connection:_0x45eb42}=this[_0x529201(0x1c4)][_0x529201(0x1d8)][_0x529201(0x208)](_0x545b57);l[_0x529201(0x266)][_0x529201(0x279)](_0x45eb42,this[_0x529201(0x22b)])[_0x529201(0x1ae)](_0x198066=>this[_0x529201(0x26a)](_0x198066))[_0x529201(0x201)](_0x4739ca=>{const _0x58f02f=_0x529201;this[_0x58f02f(0x1b9)](_0x58f02f(0x22a),_0x4739ca);}),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x1d0),this[_0x529201(0x285)][_0x529201(0x1bb)](this)),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x26c),(_0x59ec05,_0x3a3656)=>{const _0x4e77de=_0x529201;this[_0x4e77de(0x1b9)](_0x4e77de(0x26d),_0x3a3656);}),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x207),()=>{const _0x182af0=_0x529201;this[_0x182af0(0x29f)]=!0x1;});const _0x2325d2=this[_0x529201(0x237)][_0x529201(0x1e2)](_0x328db5);this[_0x529201(0x22e)]=!0x0;const _0x78a4d5=await this[_0x529201(0x1eb)][_0x529201(0x1b2)](_0x45eb42,this[_0x529201(0x1bf)](_0x328db5),_0x2325d2);if(this[_0x529201(0x1f3)]=_0x78a4d5[_0x529201(0x1f3)],_0x202afd){if(!_0x78a4d5[_0x529201(0x1c2)])return void this[_0x529201(0x203)]();this[_0x529201(0x22e)]=!0x1,this[_0x529201(0x1be)](),this[_0x529201(0x29e)][_0x529201(0x1fc)](),this[_0x529201(0x1ce)]=_0x78a4d5[_0x529201(0x205)],this[_0x529201(0x29e)][_0x529201(0x241)]=this[_0x529201(0x1ce)],await this[_0x529201(0x1c7)](_0x328db5,_0x78a4d5,_0x529201(0x200));}else await this[_0x529201(0x21c)](_0x78a4d5,_0x328db5);this[_0x529201(0x29d)](),this[_0x529201(0x29f)]=!0x0;}[_0x3d35bf(0x29d)](){const _0x513b7a=_0x3d35bf,_0x53c7f1=this[_0x513b7a(0x1c4)][_0x513b7a(0x1d8)][_0x513b7a(0x208)](_0x5a52f5),_0x1a70d3=this[_0x513b7a(0x1c4)][_0x513b7a(0x1d8)][_0x513b7a(0x208)](_0x4fd09b),_0x36ba92=_0x53c7f1[_0x513b7a(0x217)][_0x513b7a(0x208)](this[_0x513b7a(0x22b)]);_0x36ba92&&_0x36ba92[_0x513b7a(0x1e4)]>0x1?_0x1a70d3[_0x513b7a(0x280)]():this[_0x513b7a(0x23b)](_0x53c7f1,_0x513b7a(0x290)+this[_0x513b7a(0x22b)],()=>{const _0x543517=_0x513b7a;0x2===_0x53c7f1[_0x543517(0x217)][_0x543517(0x208)](this[_0x543517(0x22b)])[_0x543517(0x1e4)]&&_0x1a70d3[_0x543517(0x280)]();});}async[_0x3d35bf(0x285)](_0xb2f08,_0x1915ee,_0x1f9214,_0x4ef887){const _0x1c42d7=_0x3d35bf;if(!this[_0x1c42d7(0x22e)]&&this[_0x1c42d7(0x269)][_0x1c42d7(0x241)]==_0x1915ee){const _0xfdf7ee=this[_0x1c42d7(0x1d7)](_0x1f9214,_0x4ef887);await this[_0x1c42d7(0x219)](_0xfdf7ee),this[_0x1c42d7(0x1c6)](_0xfdf7ee,_0x1915ee,_0x1f9214[_0x1c42d7(0x1ff)])||this[_0x1c42d7(0x1b9)](_0x1c42d7(0x2a5));}}async[_0x3d35bf(0x2af)](){const _0x3c4154=_0x3d35bf;this[_0x3c4154(0x24a)]();const {locale:_0x12bbbf}=this[_0x3c4154(0x1c4)];let _0x5b7da0;try{_0x5b7da0=await this[_0x3c4154(0x1eb)][_0x3c4154(0x268)]();}catch(_0x437aed){const _0x22b129=_0xe2cf1(_0x12bbbf,_0x3c4154(0x270));return void this[_0x3c4154(0x203)](_0x22b129);}const _0x3e2878=_0x5b7da0[_0x3c4154(0x257)]||_0x5b7da0[_0x3c4154(0x291)];if(this[_0x3c4154(0x1d4)]===_0x3e2878[_0x3c4154(0x1ff)])await this[_0x3c4154(0x1b4)](this[_0x3c4154(0x1c4)][_0x3c4154(0x2a0)][_0x3c4154(0x1f2)][_0x3c4154(0x299)][_0x3c4154(0x206)](),!0x0);else{const _0x15e9b3=_0xe2cf1(_0x12bbbf,_0x3c4154(0x292));this[_0x3c4154(0x203)](_0x15e9b3);}}[_0x3d35bf(0x24a)](){const _0x9e9632=_0x3d35bf;this[_0x9e9632(0x1eb)][_0x9e9632(0x275)](),this[_0x9e9632(0x1d2)]=[],clearTimeout(this[_0x9e9632(0x1ee)]),this[_0x9e9632(0x1b6)](this[_0x9e9632(0x1eb)]);}[_0x3d35bf(0x26a)](_0x4ec6d3){const _0x5debe7=_0x3d35bf,_0x40be24=this[_0x5debe7(0x1c4)][_0x5debe7(0x1d8)][_0x5debe7(0x208)](_0x5a52f5);this[_0x5debe7(0x23b)](_0x40be24,_0x5debe7(0x290)+this[_0x5debe7(0x22b)],(_0x1416b8,{session:_0x5bfac5})=>{const _0x2b83d0=_0x5debe7;if(_0x5bfac5['id']===_0x40be24[_0x2b83d0(0x1da)]){_0x1416b8[_0x2b83d0(0x213)]();const _0x4a1eb1=this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x27b)](_0x2b83d0(0x1b7))&&this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x208)](_0x2b83d0(0x1b7));let _0x357441=_0x5bfac5[_0x2b83d0(0x24b)];_0x4a1eb1&&_0x4a1eb1[_0x2b83d0(0x1b3)]&&(_0x357441=_0x357441[_0x2b83d0(0x23e)](_0x415cac=>_0x2b83d0(0x249)!==_0x415cac)),this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x208)](_0x2b83d0(0x230))[_0x2b83d0(0x287)](_0x357441,this[_0x2b83d0(0x22b)]);}}),_0x40be24[_0x5debe7(0x1b0)](this[_0x5debe7(0x22b)],_0x4ec6d3);}[_0x3d35bf(0x22c)](){const _0x2cfaeb=_0x3d35bf,_0x1f7db4=this[_0x2cfaeb(0x1c4)][_0x2cfaeb(0x209)][_0x2cfaeb(0x260)];this[_0x2cfaeb(0x1c4)][_0x2cfaeb(0x209)][_0x2cfaeb(0x260)]=(..._0x1a4b0b)=>{const _0x3d726a=_0x2cfaeb;if(!_0x1a4b0b[_0x1a4b0b[_0x3d726a(0x1e4)]-0x1][_0x3d726a(0x1f5)])throw new _0x41198c(_0x3d726a(0x1e1),this);_0x1f7db4[_0x3d726a(0x26f)](this[_0x3d726a(0x1c4)][_0x3d726a(0x209)],_0x1a4b0b);};}[_0x3d35bf(0x28d)](){const _0x2b5e40=_0x3d35bf;this[_0x2b5e40(0x1c4)][_0x2b5e40(0x209)]['on'](_0x2b5e40(0x236),(_0x5235b0,[_0x5214f3])=>{const _0x1a100a=_0x2b5e40;if(this[_0x1a100a(0x269)][_0x1a100a(0x241)])throw new _0x41198c(_0x1a100a(0x20a),this);_0x5235b0[_0x1a100a(0x1b8)](),this[_0x1a100a(0x1d3)]();const _0x4dfbf6=this[_0x1a100a(0x1c4)][_0x1a100a(0x1e0)][_0x1a100a(0x208)](_0x1a100a(0x212)),_0x3227f4=this[_0x1a100a(0x272)](_0x5214f3,_0x4dfbf6);0x0==_0x3227f4[_0x1a100a(0x1e4)]&&_0x3227f4[_0x1a100a(0x244)](new _0x113cac(0x0)),_0x5235b0[_0x1a100a(0x1f8)]=this[_0x1a100a(0x1b4)](_0x3227f4)[_0x1a100a(0x1ae)](()=>{const _0x4f61c9=_0x1a100a;this[_0x4f61c9(0x1c4)][_0x4f61c9(0x1d8)][_0x4f61c9(0x208)](_0x545b57)[_0x4f61c9(0x1ec)](this),this[_0x4f61c9(0x1c4)][_0x4f61c9(0x209)][_0x4f61c9(0x28e)](_0x4f61c9(0x1dc));})[_0x1a100a(0x201)](_0x4cd42c=>this[_0x1a100a(0x1b9)](_0x1a100a(0x220),_0x4cd42c))[_0x1a100a(0x259)](()=>this[_0x1a100a(0x1be)]());},{'priority':_0x2b5e40(0x28f)}),this[_0x2b5e40(0x1c4)]['on'](_0x2b5e40(0x239),async(_0x548952,[_0x219580,_0x26fe07])=>{const _0x3099b3=_0x2b5e40;_0x548952[_0x3099b3(0x1b8)]();const _0x2ba1ea=this[_0x3099b3(0x1c4)][_0x3099b3(0x2a0)][_0x3099b3(0x1f2)][_0x3099b3(0x225)](_0x219580);if(!this[_0x3099b3(0x253)][_0x3099b3(0x27b)](_0x219580)){const _0x555249=_0x26fe07&&_0x26fe07[_0x3099b3(0x209)]?_0x26fe07[_0x3099b3(0x209)]:'',_0x14b935=_0x26fe07&&_0x26fe07[_0x3099b3(0x2a8)]?_0x26fe07[_0x3099b3(0x2a8)]:{};await this[_0x3099b3(0x1f6)](_0x219580,_0x555249,_0x14b935);}this[_0x3099b3(0x1c4)][_0x3099b3(0x2a0)][_0x3099b3(0x281)]({'isUndoable':!0x1},()=>{const _0x1233de=_0x3099b3;_0x2ba1ea[_0x1233de(0x2a2)]=!0x0,this[_0x1233de(0x1c4)][_0x1233de(0x2a0)][_0x1233de(0x1f2)][_0x1233de(0x247)][_0x1233de(0x246)](_0x2ba1ea);});},{'priority':_0x2b5e40(0x28f)});}async[_0x3d35bf(0x219)](_0x498bd9){const _0x587a72=_0x3d35bf,_0xdcb568=this[_0x587a72(0x1c4)][_0x587a72(0x1d8)][_0x587a72(0x208)](_0x242592),{connection:_0xd37dce}=this[_0x587a72(0x1c4)][_0x587a72(0x1d8)][_0x587a72(0x208)](_0x545b57),_0x59e3a4=new Set();for(const _0x10c902 of _0x498bd9){const _0x5ac5d7=_0x10c902[_0x587a72(0x2ad)];_0x5ac5d7&&!_0xdcb568[_0x587a72(0x1f1)](_0x5ac5d7)&&_0x59e3a4[_0x587a72(0x22d)](_0x5ac5d7);}if(0x0===_0x59e3a4[_0x587a72(0x202)])return;const _0x5239ea=await _0x14b0de[_0x587a72(0x23d)](_0xd37dce,Array[_0x587a72(0x228)](_0x59e3a4));for(const _0x2542ec of _0x5239ea)_0xdcb568[_0x587a72(0x1f1)](_0x2542ec['id'])||_0xdcb568[_0x587a72(0x20d)](_0x2542ec);}[_0x3d35bf(0x272)](_0x4bce1e,_0x4d3155={}){const _0x13f7cc=_0x3d35bf,_0x47ffc0=this[_0x13f7cc(0x1c4)][_0x13f7cc(0x2a0)],_0x283f4b=[];let _0x379ae6=0x0;const _0xb8035c=_0x13f7cc(0x21d)==typeof _0x4bce1e?{'main':_0x4bce1e}:_0x4bce1e;for(const _0x471a0d of Object[_0x13f7cc(0x2a4)](_0xb8035c)){if(!this[_0x13f7cc(0x269)][_0x13f7cc(0x1c0)][_0x13f7cc(0x27b)](_0x471a0d))throw new _0x41198c(_0x13f7cc(0x2a9),this);const _0x1b2509=this[_0x13f7cc(0x1c4)][_0x13f7cc(0x209)][_0x13f7cc(0x1d6)](_0xb8035c[_0x471a0d]),_0x262a7a=this[_0x13f7cc(0x269)][_0x13f7cc(0x225)](_0x471a0d),_0x2101e8=new _0x51cf24(_0x47ffc0[_0x13f7cc(0x210)](_0x262a7a,0x0),_0x1b2509,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0x2101e8);for(const [_0x29be3a,_0x6cc6e9]of _0x1b2509[_0x13f7cc(0x289)]){const _0x17154e=_0x47ffc0[_0x13f7cc(0x27d)](_0x47ffc0[_0x13f7cc(0x1c9)](_0x262a7a,_0x6cc6e9[_0x13f7cc(0x231)][_0x13f7cc(0x1db)][_0x13f7cc(0x278)]()),_0x47ffc0[_0x13f7cc(0x1c9)](_0x262a7a,_0x6cc6e9[_0x13f7cc(0x233)][_0x13f7cc(0x1db)][_0x13f7cc(0x278)]())),_0xed498a=new _0x29a48c(_0x29be3a,null,_0x17154e,_0x47ffc0[_0x13f7cc(0x289)],!0x0,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0xed498a);}}if(_0x4d3155)for(const [_0xda5bcc,_0x5d9535]of Object[_0x13f7cc(0x25c)](_0x4d3155)){const _0x24ac1d=_0x47ffc0[_0x13f7cc(0x1f2)][_0x13f7cc(0x225)](_0xda5bcc);if(!_0x24ac1d)throw new _0x41198c(_0x13f7cc(0x258),null);for(const [_0x28ec72,_0x119e7f]of Object[_0x13f7cc(0x25c)](_0x5d9535))if(null!==_0x119e7f){const _0x42ccc3=new _0x535837(_0x24ac1d,_0x28ec72,null,_0x119e7f,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0x42ccc3);}}return _0x283f4b;}async[_0x3d35bf(0x1f6)](_0x2c2a68,_0xb8989d,_0x40213c){const _0x52ed41=_0x3d35bf;this[_0x52ed41(0x272)]({[_0x2c2a68]:_0xb8989d},{[_0x2c2a68]:_0x40213c})[_0x52ed41(0x273)]((_0x6727a2,_0x381861)=>{const _0x1e76ca=_0x52ed41;_0x6727a2[_0x1e76ca(0x20e)]=this[_0x1e76ca(0x269)][_0x1e76ca(0x241)]+_0x381861,_0x6727a2[_0x1e76ca(0x20c)]=!0x0,this[_0x1e76ca(0x295)](_0x6727a2);}),this[_0x52ed41(0x25e)](),await this[_0x52ed41(0x25a)]();}async[_0x3d35bf(0x21c)](_0x2234fd,_0x37edca){const _0x33f251=_0x3d35bf;let _0x2c5343;this[_0x33f251(0x1ce)]=_0x2234fd[_0x33f251(0x205)];const _0x290caa=_0x2234fd[_0x33f251(0x1c2)]&&!_0x2234fd[_0x33f251(0x1e7)],_0x5e5489=_0x290caa?0x0:_0x2234fd[_0x33f251(0x209)][_0x33f251(0x20e)];if(_0x37edca[_0x33f251(0x273)](_0x2ee65e=>{const _0x267f41=_0x33f251;_0x2ee65e[_0x267f41(0x20c)]=!0x0,_0x2ee65e[_0x267f41(0x24e)]=_0x2234fd[_0x267f41(0x2ac)],_0x2ee65e[_0x267f41(0x2ad)]=null;}),_0x290caa)_0x2c5343=_0x37edca,this[_0x33f251(0x234)](_0x2c5343,_0x290caa);else{if(_0x2234fd[_0x33f251(0x1e7)]){const _0x3a5254=this[_0x33f251(0x272)](_0x2234fd[_0x33f251(0x1e7)]);this[_0x33f251(0x269)][_0x33f251(0x299)][_0x33f251(0x241)]=-_0x3a5254[_0x33f251(0x1e4)],_0x3a5254[_0x33f251(0x273)](_0x37a43b=>{const _0x22e6cb=_0x33f251;_0x37a43b[_0x22e6cb(0x20e)]-=_0x3a5254[_0x22e6cb(0x1e4)],_0x37a43b[_0x22e6cb(0x24e)]=_0x2234fd[_0x22e6cb(0x2ac)],_0x37a43b[_0x22e6cb(0x20c)]=!0x0,_0x37a43b[_0x22e6cb(0x2ad)]=null;}),this[_0x33f251(0x234)](_0x3a5254,!0x0),this[_0x33f251(0x29e)][_0x33f251(0x241)]=-_0x3a5254[_0x33f251(0x1e4)]+this[_0x33f251(0x1ce)],this[_0x33f251(0x271)](_0x3a5254);}this[_0x33f251(0x269)][_0x33f251(0x299)][_0x33f251(0x241)]=_0x5e5489,_0x2c5343=this[_0x33f251(0x1d7)](_0x2234fd[_0x33f251(0x209)],_0x2234fd[_0x33f251(0x235)]),await this[_0x33f251(0x219)](_0x2c5343),this[_0x33f251(0x234)](_0x2c5343,_0x290caa);}_0x2234fd[_0x33f251(0x1ff)]&&(this[_0x33f251(0x237)][_0x33f251(0x1ea)](_0x2c5343,_0x2234fd[_0x33f251(0x1ff)]),this[_0x33f251(0x1d4)]=_0x2234fd[_0x33f251(0x1ff)]),this[_0x33f251(0x29e)][_0x33f251(0x241)]=_0x5e5489+this[_0x33f251(0x1ce)],this[_0x33f251(0x271)](_0x2c5343),_0x37edca[_0x33f251(0x23e)](_0x3c207c=>{const _0x416ba6=_0x33f251,_0x4e4f08=this[_0x416ba6(0x27f)](_0x3c207c);return _0x4e4f08&&!this[_0x416ba6(0x253)][_0x416ba6(0x27b)](_0x4e4f08);})[_0x33f251(0x273)]((_0x19a5f7,_0xd891fa)=>{const _0xa8647a=_0x33f251;_0x19a5f7[_0xa8647a(0x20e)]=this[_0xa8647a(0x269)][_0xa8647a(0x241)]+_0xd891fa,this[_0xa8647a(0x295)](_0x19a5f7);}),this[_0x33f251(0x23f)]()?(this[_0x33f251(0x262)]=0x0,this[_0x33f251(0x25e)](!0x0),await this[_0x33f251(0x25a)]()):(this[_0x33f251(0x22e)]=!0x1,this[_0x33f251(0x1be)]());}[_0x3d35bf(0x1b9)](_0xab3ca,_0x20ca57){const _0x165db3=_0x3d35bf,_0x260d8c=_0x20ca57&&_0x20ca57[_0x165db3(0x1f9)];if(_0x260d8c&&_0x260d8c[_0x165db3(0x1ef)](_0x165db3(0x243)))throw _0x20ca57;const _0x54b519=this[_0x165db3(0x1c4)][_0x165db3(0x1d8)][_0x165db3(0x208)](_0x545b57);throw this[_0x165db3(0x22e)]=!0x0,_0x54b519[_0x165db3(0x275)](),this[_0x165db3(0x1c4)][_0x165db3(0x1bd)](_0x165db3(0x1ab)),new _0x41198c(_0xab3ca,this[_0x165db3(0x1c4)],_0x260d8c?{'originalError':_0x260d8c}:void 0x0);}[_0x3d35bf(0x295)](_0x566c89){const _0x44b218=_0x3d35bf;this[_0x44b218(0x263)][_0x44b218(0x27b)](_0x566c89)||(this[_0x44b218(0x263)][_0x44b218(0x22d)](_0x566c89),this[_0x44b218(0x1d2)][_0x44b218(0x244)](_0x566c89),this[_0x44b218(0x265)]||_0x44b218(0x284)==_0x566c89[_0x44b218(0x29a)]&&!_0x566c89[_0x44b218(0x24c)]||this[_0x44b218(0x1d3)]());}[_0x3d35bf(0x25e)](_0x5e5bee=!0x1){const _0x5a71cb=_0x3d35bf;!_0x5e5bee&&this[_0x5a71cb(0x22e)]||(this[_0x5a71cb(0x22e)]=!0x0,clearTimeout(this[_0x5a71cb(0x1ee)]),this[_0x5a71cb(0x1ee)]=setTimeout(()=>{const _0x470351=_0x5a71cb;this[_0x470351(0x274)]()[_0x470351(0x1ae)](_0x2e8b2d=>{const _0x3597ed=_0x470351;_0x2e8b2d&&(this[_0x3597ed(0x1be)](),this[_0x3597ed(0x22e)]=!0x1);})[_0x470351(0x201)](_0x41aed0=>{const _0x16785d=_0x470351;this[_0x16785d(0x1be)](),this[_0x16785d(0x22e)]=!0x1,function(_0x5e5620){const _0x273427=_0x16785d;return _0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x26e))||_0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x282))||_0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x264));}(_0x41aed0)||this[_0x16785d(0x1b9)](_0x41aed0[_0x16785d(0x1f9)],_0x41aed0);});},this[_0x5a71cb(0x262)]));}[_0x3d35bf(0x25a)](){return new Promise(_0x257e32=>{const _0x51ca19=_0x304e;this['on'](_0x51ca19(0x26b),()=>{_0x257e32();});});}async[_0x3d35bf(0x274)](){const _0x5cc12f=_0x3d35bf,_0x333f9f=this[_0x5cc12f(0x1c4)][_0x5cc12f(0x1d8)][_0x5cc12f(0x208)](_0x4fd09b);if(this[_0x5cc12f(0x294)]()&&(_0x333f9f[_0x5cc12f(0x280)](),this[_0x5cc12f(0x1f4)]=!0x1),!this[_0x5cc12f(0x23f)]())return!0x0;const _0x474a81=[...this[_0x5cc12f(0x1d2)]];for(const _0x2d946a of _0x474a81)_0x2d946a[_0x5cc12f(0x1cd)]=this[_0x5cc12f(0x269)][_0x5cc12f(0x299)][_0x5cc12f(0x1e8)](_0x2d946a);const _0x4bc3fb=this[_0x5cc12f(0x237)][_0x5cc12f(0x1e2)](_0x474a81),_0x3c01e3=K++,_0xebc6d6=this[_0x5cc12f(0x1bf)](_0x474a81),_0x12b5e4=await this[_0x5cc12f(0x1eb)][_0x5cc12f(0x2a1)](_0xebc6d6,_0xebc6d6[_0x5cc12f(0x20e)],_0x4bc3fb);try{return await this[_0x5cc12f(0x1c7)](_0x474a81,_0x12b5e4,_0x3c01e3);}catch(_0x12f942){return this[_0x5cc12f(0x1b9)](_0x5cc12f(0x1e5),_0x12f942);}}async[_0x3d35bf(0x1c7)](_0x654127,_0x35390e,_0x510c2d){const _0x334119=_0x3d35bf;if(_0x334119(0x26c)in _0x35390e)throw _0x35390e[_0x334119(0x26c)];let _0x346241=!0x1;if(_0x35390e[_0x334119(0x1c2)]){_0x35390e[_0x334119(0x1ff)]&&(this[_0x334119(0x1d4)]=_0x35390e[_0x334119(0x1ff)]),this[_0x334119(0x1d2)]=this[_0x334119(0x1d2)][_0x334119(0x23e)](_0x1fa43c=>!_0x654127[_0x334119(0x28a)](_0x1fa43c));for(const _0x1204f5 of _0x654127)_0x1204f5[_0x334119(0x24e)]=_0x334119(0x211)in _0x35390e&&_0x35390e[_0x334119(0x211)]||void 0x0;Q(_0x654127,_0x35390e[_0x334119(0x241)]-_0x654127[_0x334119(0x1e4)]),this[_0x334119(0x271)](_0x654127);const _0x800a13=_0x654127[_0x334119(0x23e)](_0x247088=>{const _0xb65cbb=_0x334119;if(!_0x247088[_0xb65cbb(0x20c)])return!0x1;const _0x1d537c=this[_0xb65cbb(0x27f)](_0x247088);return _0x1d537c&&!this[_0xb65cbb(0x253)][_0xb65cbb(0x27b)](_0x1d537c);});Q(_0x800a13,this[_0x334119(0x269)][_0x334119(0x241)]),this[_0x334119(0x234)](_0x800a13),_0x346241=!0x0,this[_0x334119(0x262)]=this[_0x334119(0x297)];}else{const _0x1927e0=this[_0x334119(0x1d7)](_0x35390e[_0x334119(0x209)],_0x35390e[_0x334119(0x235)])[_0x334119(0x23e)](_0x18abe1=>_0x18abe1[_0x334119(0x20e)]>=this[_0x334119(0x1d9)]);_0x1927e0[_0x334119(0x273)](_0xdc3b13=>this[_0x334119(0x214)](_0xdc3b13)),this[_0x334119(0x1d2)]=this[_0x334119(0x1d2)][_0x334119(0x23e)](_0x3b73ff=>!_0x3b73ff[_0x334119(0x20c)]||!this[_0x334119(0x253)][_0x334119(0x27b)](this[_0x334119(0x27f)](_0x3b73ff))),this[_0x334119(0x1d2)][_0x334119(0x1e4)]&&Q(this[_0x334119(0x1d2)],this[_0x334119(0x1d2)][0x0][_0x334119(0x20e)]),await this[_0x334119(0x219)](_0x1927e0),_0x346241=this[_0x334119(0x1c6)](_0x1927e0,_0x35390e[_0x334119(0x241)],_0x35390e[_0x334119(0x1ff)]),this[_0x334119(0x262)]=Math[_0x334119(0x2aa)](this[_0x334119(0x262)]/0x2);}return _0x346241?!this[_0x334119(0x23f)]()||(this[_0x334119(0x25e)](!0x0),!0x1):this[_0x334119(0x1b9)](_0x334119(0x277));}[_0x3d35bf(0x1c6)](_0xaf2f5b,_0xb22009,_0x39f952){const _0x1d3b6b=_0x3d35bf;try{const _0x152827={'document':this[_0x1d3b6b(0x269)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x20f1d5,operationsB:_0x5e5274,originalOperations:_0x4db8a4}=_0x537314(_0xaf2f5b,this[_0x1d3b6b(0x1d2)],_0x152827);Q(_0x20f1d5,this[_0x1d3b6b(0x269)][_0x1d3b6b(0x241)]),Q(_0x5e5274,_0xb22009);for(const _0x148f86 of _0x20f1d5){const _0x2df959=_0x4db8a4[_0x1d3b6b(0x208)](_0x148f86);_0x148f86[_0x1d3b6b(0x2ad)]=_0x2df959?_0x2df959[_0x1d3b6b(0x2ad)]:null;}_0x39f952&&(this[_0x1d3b6b(0x237)][_0x1d3b6b(0x1ea)](_0xaf2f5b,_0x39f952),this[_0x1d3b6b(0x1d4)]=_0x39f952),this[_0x1d3b6b(0x1d2)]=[..._0x5e5274],this[_0x1d3b6b(0x234)](_0x20f1d5),this[_0x1d3b6b(0x271)](_0xaf2f5b);}catch(_0x1d6676){return console[_0x1d3b6b(0x26c)](_0x1d6676),!0x1;}return!0x0;}[_0x3d35bf(0x234)](_0x2518de,_0x1b557c=!0x1){const _0x2b4f54=_0x3d35bf;this[_0x2b4f54(0x1c4)][_0x2b4f54(0x2a0)][_0x2b4f54(0x281)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d3e69=>{const _0x10ca15=_0x2b4f54;for(const _0x3ab287 of _0x2518de)this[_0x10ca15(0x263)][_0x10ca15(0x22d)](_0x3ab287),this[_0x10ca15(0x214)](_0x3ab287),_0x1d3e69[_0x10ca15(0x1c3)][_0x10ca15(0x286)](_0x3ab287),this[_0x10ca15(0x1c4)][_0x10ca15(0x2a0)][_0x10ca15(0x23c)](_0x3ab287);});}[_0x3d35bf(0x214)](_0x4ab5d9){const _0x4d5521=_0x3d35bf,_0x24f7f0=this[_0x4d5521(0x27f)](_0x4ab5d9);_0x24f7f0&&this[_0x4d5521(0x253)][_0x4d5521(0x22d)](_0x24f7f0);}[_0x3d35bf(0x27f)](_0x3a7988){const _0x549796=_0x3d35bf;let _0x2ad455,_0x1402f0;switch(_0x3a7988[_0x549796(0x29a)]){case _0x549796(0x215):_0x2ad455=_0x3a7988[_0x549796(0x283)][_0x549796(0x242)];break;case _0x549796(0x284):if(_0x1402f0=_0x3a7988[_0x549796(0x223)],!_0x1402f0)return null;_0x2ad455=_0x1402f0[_0x549796(0x242)];break;case _0x549796(0x1ad):_0x2ad455=_0x3a7988[_0x549796(0x242)];break;case _0x549796(0x1cc):_0x2ad455=_0x3a7988[_0x549796(0x238)];break;case _0x549796(0x1de):_0x2ad455=_0x3a7988[_0x549796(0x1ed)][_0x549796(0x242)];break;default:return null;}return _0x2ad455[_0x549796(0x1cf)];}[_0x3d35bf(0x271)](_0x129c9f){const _0x4320fe=_0x3d35bf;_0x129c9f[_0x4320fe(0x273)](_0xf51bbc=>{const _0x2e5d02=_0x4320fe,_0x3bea83=_0xf51bbc[_0x2e5d02(0x2a3)]();_0x3bea83[_0x2e5d02(0x2ad)]=_0xf51bbc[_0x2e5d02(0x2ad)],_0x3bea83[_0x2e5d02(0x20c)]=!!_0xf51bbc[_0x2e5d02(0x20c)],_0x3bea83[_0x2e5d02(0x24e)]=_0xf51bbc[_0x2e5d02(0x24e)],_0x3bea83[_0x2e5d02(0x20e)]+=this[_0x2e5d02(0x1ce)],_0xf51bbc[_0x2e5d02(0x20b)]&&this[_0x2e5d02(0x24d)][_0x2e5d02(0x22d)](_0x3bea83),this[_0x2e5d02(0x29e)][_0x2e5d02(0x286)](_0x3bea83);});}[_0x3d35bf(0x203)](_0x38e37c){const _0xa5fb6d=_0x3d35bf,_0x465118=this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d8)][_0xa5fb6d(0x208)](_0xa5fb6d(0x22f)),_0x44bf1e=this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d1)];_0x38e37c||(_0x38e37c=_0xe2cf1(_0x44bf1e,_0xa5fb6d(0x27c))),_0x465118[_0xa5fb6d(0x1f7)](_0x38e37c,{'title':_0xe2cf1(_0x44bf1e,_0xa5fb6d(0x222)),'namespace':_0xa5fb6d(0x1af)}),this[_0xa5fb6d(0x1e6)]=!0x0,clearTimeout(this[_0xa5fb6d(0x1ee)]),this[_0xa5fb6d(0x1d2)]=[],this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d8)][_0xa5fb6d(0x208)](_0x545b57)[_0xa5fb6d(0x275)]();}[_0x3d35bf(0x1d3)](){const _0x3c4fa1=_0x3d35bf;this[_0x3c4fa1(0x265)]||(this[_0x3c4fa1(0x265)]=this[_0x3c4fa1(0x1c4)][_0x3c4fa1(0x1d8)][_0x3c4fa1(0x208)](_0x109940)[_0x3c4fa1(0x22d)](_0xe2cf1(this[_0x3c4fa1(0x1c4)][_0x3c4fa1(0x1d1)],_0x3c4fa1(0x20f))));}[_0x3d35bf(0x1be)](){const _0x565205=_0x3d35bf;this[_0x565205(0x265)]&&(this[_0x565205(0x1c4)][_0x565205(0x1d8)][_0x565205(0x208)](_0x109940)[_0x565205(0x1c5)](this[_0x565205(0x265)]),this[_0x565205(0x265)]=null);}[_0x3d35bf(0x1bf)](_0x9c9e25){const _0x28857f=_0x3d35bf,_0x5008a2=_0x9c9e25[_0x28857f(0x226)](_0x2defa8=>_0x2defa8[_0x28857f(0x1fd)]());return this[_0x28857f(0x2ae)][_0x28857f(0x25d)](_0x5008a2);}[_0x3d35bf(0x1d7)](_0x3fde77,_0x6409fa){const _0x3061e4=_0x3d35bf;return this[_0x3061e4(0x2ae)][_0x3061e4(0x1dd)](_0x3fde77)[_0x3061e4(0x226)]((_0x1d52c5,_0x254966)=>{const _0xc934dc=_0x3061e4,_0x137579=_0xc934dc(0x236)==_0x6409fa[_0x254966][_0xc934dc(0x29a)];if(_0xc934dc(0x296)==_0x1d52c5[_0xc934dc(0x250)]){const _0x129bb8=_0x1d52c5[_0xc934dc(0x283)][_0xc934dc(0x242)];!this[_0xc934dc(0x269)][_0xc934dc(0x225)](_0x129bb8)&&(this[_0xc934dc(0x269)][_0xc934dc(0x2a7)](_0xc934dc(0x1ca),_0x129bb8)[_0xc934dc(0x240)]=!0x1);}const _0x5d94aa=_0x4ff852[_0xc934dc(0x1ac)](_0x1d52c5,this[_0xc934dc(0x269)]);return _0x5d94aa[_0xc934dc(0x1cd)]=_0x1d52c5[_0xc934dc(0x1cd)],_0x5d94aa[_0xc934dc(0x20c)]=_0x137579,_0x5d94aa[_0xc934dc(0x2ad)]=_0x137579?null:_0x6409fa[_0x254966][_0xc934dc(0x21e)],_0x5d94aa[_0xc934dc(0x20b)]=_0xc934dc(0x29b)===_0x6409fa[_0x254966][_0xc934dc(0x29a)],_0x5d94aa[_0xc934dc(0x24e)]=_0x6409fa[_0x254966][_0xc934dc(0x24e)],_0x5d94aa;});}[_0x3d35bf(0x227)](){const _0x4fcbca=_0x3d35bf;this[_0x4fcbca(0x1f4)]=!0x0,this[_0x4fcbca(0x294)]()?this[_0x4fcbca(0x25e)]():this[_0x4fcbca(0x1f4)]=!0x1;}[_0x3d35bf(0x294)](){const _0x29ef0e=_0x3d35bf,_0x4197dc=this[_0x29ef0e(0x1c4)][_0x29ef0e(0x1d8)][_0x29ef0e(0x208)](_0x5a52f5)[_0x29ef0e(0x217)][_0x29ef0e(0x208)](this[_0x29ef0e(0x22b)]);return!this[_0x29ef0e(0x1c4)][_0x29ef0e(0x216)]&&!!_0x4197dc&&_0x4197dc[_0x29ef0e(0x1e4)]>0x1&&this[_0x29ef0e(0x1f4)];}[_0x3d35bf(0x23f)](){const _0x1f2648=_0x3d35bf;return this[_0x1f2648(0x1d2)][_0x1f2648(0x1e4)]>0x0||this[_0x1f2648(0x294)]();}}l[_0x3d35bf(0x266)]=_0x20da33;export default l;class J extends Error{}function Q(_0x1e19b9,_0x4e2e9d){const _0x314d86=_0x3d35bf;for(const _0x32997b of _0x1e19b9)_0x32997b[_0x314d86(0x20e)]=_0x4e2e9d++;}class X{constructor(_0x2a9722){const _0x1ee845=_0x3d35bf;this[_0x1ee845(0x1cb)]=_0x2a9722,this[_0x1ee845(0x1e9)]=new WeakMap();}[_0x3d35bf(0x1e2)](_0x2716b8){const _0xce74d6=_0x3d35bf;let _0x1dc565=_0x2716b8[_0xce74d6(0x1e4)];for(;_0x1dc565--;){const _0x45c727=_0x2716b8[_0x1dc565];if(!this[_0xce74d6(0x1cb)][_0xce74d6(0x27b)](_0x45c727)){if(!this[_0xce74d6(0x1e9)][_0xce74d6(0x27b)](_0x45c727)){const _0x2af338=_0x12f772()[_0xce74d6(0x278)](0x1,0x12);this[_0xce74d6(0x1e9)][_0xce74d6(0x260)](_0x45c727,_0x2af338);}return this[_0xce74d6(0x1e9)][_0xce74d6(0x208)](_0x45c727);}}}[_0x3d35bf(0x1ea)](_0xadcfc5,_0xd4ceec){const _0x556c9a=_0x3d35bf;if(!_0xd4ceec)return;let _0x420261=_0xadcfc5[_0x556c9a(0x1e4)];for(;_0x420261--;){const _0x10d936=_0xadcfc5[_0x420261];this[_0x556c9a(0x1cb)][_0x556c9a(0x27b)](_0x10d936)||this[_0x556c9a(0x1e9)][_0x556c9a(0x260)](_0x10d936,_0xd4ceec);}}}
|
|
23
|
+
const _0x3eb630=_0x4344;(function(_0x413f8d,_0x2d5df9){const _0x1927ed=_0x4344,_0xc979cf=_0x413f8d();while(!![]){try{const _0x269e33=-parseInt(_0x1927ed(0x14a))/0x1*(parseInt(_0x1927ed(0x10d))/0x2)+parseInt(_0x1927ed(0x200))/0x3+-parseInt(_0x1927ed(0x1f0))/0x4*(-parseInt(_0x1927ed(0x1aa))/0x5)+parseInt(_0x1927ed(0x11d))/0x6*(parseInt(_0x1927ed(0x1b3))/0x7)+parseInt(_0x1927ed(0x193))/0x8*(-parseInt(_0x1927ed(0x150))/0x9)+parseInt(_0x1927ed(0x1a7))/0xa*(-parseInt(_0x1927ed(0x1e8))/0xb)+-parseInt(_0x1927ed(0x10b))/0xc*(-parseInt(_0x1927ed(0x136))/0xd);if(_0x269e33===_0x2d5df9)break;else _0xc979cf['push'](_0xc979cf['shift']());}catch(_0x1b4386){_0xc979cf['push'](_0xc979cf['shift']());}}}(_0x1f28,0x87d0b));import{Plugin as _0x437e27,PendingActions as _0x5dfb4d}from'ckeditor5/src/core.js';import{CKEditorError as _0x434af5,version as _0xf29b3d,uid as _0x5293bf}from'ckeditor5/src/utils.js';import{Notification as _0x47b99a}from'ckeditor5/src/ui.js';import{transformSets as _0x33c7f5,NoOperation as _0x34f3de,InsertOperation as _0x2e2ad2,MarkerOperation as _0x214fb7,RootAttributeOperation as _0xc5bada,OperationFactory as _0x4d34d0,History as _0x1acf40}from'ckeditor5/src/engine.js';import _0x257d19 from'./websocketgateway.js';function _0x4344(_0x47e98b,_0x3728b7){const _0x1f2808=_0x1f28();return _0x4344=function(_0x434415,_0x57d730){_0x434415=_0x434415-0x109;let _0x39ca5c=_0x1f2808[_0x434415];return _0x39ca5c;},_0x4344(_0x47e98b,_0x3728b7);}import _0xa4f279 from'./sessions.js';import _0x94c737 from'./usermarkers.js';import{getTranslation as _0x1b1b51}from'../common-translations.js';import{Compressor as _0x4cbc46}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x41416e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5500a2,CollaborativeEditingService as _0x348209}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x437e27{static get[_0x3eb630(0x11f)](){return[_0x257d19,_0xa4f279,_0x94c737,_0x5dfb4d,_0x41416e,_0x47b99a];}static get[_0x3eb630(0x1d6)](){const _0x3da288=_0x3eb630;return _0x3da288(0x1b5);}static get[_0x3eb630(0x1d0)](){return!0x0;}static get[_0x3eb630(0x1a6)](){return!0x0;}get[_0x3eb630(0x190)](){const _0x15b5e0=_0x3eb630;return this[_0x15b5e0(0x1ee)]+this[_0x15b5e0(0x1c4)];}get[_0x3eb630(0x1ee)](){const _0x23b6f8=_0x3eb630;return this[_0x23b6f8(0x138)][_0x23b6f8(0x1f1)]-this[_0x23b6f8(0x1c4)];}get[_0x3eb630(0x172)](){const _0x102c91=_0x3eb630,_0x347932=this[_0x102c91(0x138)][_0x102c91(0x12c)]();for(let _0x3ecb0e=_0x347932[_0x102c91(0x144)]-0x1;_0x3ecb0e>=0x0;_0x3ecb0e--){const _0x2fb419=_0x347932[_0x3ecb0e];if(!this[_0x102c91(0x111)][_0x102c91(0x1ce)](_0x2fb419))return _0x2fb419[_0x102c91(0x158)]+0x1-this[_0x102c91(0x1c4)];}return 0x0;}constructor(_0x25fed9){const _0x1d6721=_0x3eb630;if(super(_0x25fed9),this[_0x1d6721(0x1c4)]=0x0,this[_0x1d6721(0x15b)]=null,this[_0x1d6721(0x138)]=new _0x1acf40(),this[_0x1d6721(0x1c5)][_0x1d6721(0x133)][_0x1d6721(0x1f7)](_0x1d6721(0x19c),{}),this[_0x1d6721(0x166)]=this[_0x1d6721(0x1c5)][_0x1d6721(0x133)][_0x1d6721(0x175)](_0x1d6721(0x12f)),!this[_0x1d6721(0x166)])throw new _0x434af5(_0x1d6721(0x1ae),this);const _0x38de94=_0x25fed9[_0x1d6721(0x133)][_0x1d6721(0x175)](_0x1d6721(0x1fd))||_0xf29b3d;this[_0x1d6721(0x1c9)]=new l[(_0x1d6721(0x171))](_0x38de94,this[_0x1d6721(0x166)]),this[_0x1d6721(0x1fc)]=this[_0x1d6721(0x1c5)][_0x1d6721(0x185)][_0x1d6721(0x13e)],this[_0x1d6721(0x135)]=new _0x4cbc46(),this[_0x1d6721(0x125)]=[],this[_0x1d6721(0x195)]=new WeakSet(),this[_0x1d6721(0x1c6)]=new Set(),this[_0x1d6721(0x1da)](_0x1d6721(0x10c),!0x1),this[_0x1d6721(0x1da)](_0x1d6721(0x15c),!0x1),this[_0x1d6721(0x155)]=null,this[_0x1d6721(0x167)]=!0x1,this[_0x1d6721(0x1f4)]=null,this[_0x1d6721(0x1c1)]=0x12c,this[_0x1d6721(0x11b)]=this[_0x1d6721(0x1c1)],this[_0x1d6721(0x112)]=null,this[_0x1d6721(0x111)]=new WeakSet(),this[_0x1d6721(0x13f)]=new X(this[_0x1d6721(0x111)]);}[_0x3eb630(0x123)](){const _0x1e2128=_0x3eb630,_0x2d0717=this[_0x1e2128(0x1c5)],_0x3a2f98=_0x2d0717[_0x1e2128(0x194)][_0x1e2128(0x175)](_0x41416e),_0x8e6adf=_0x2d0717[_0x1e2128(0x194)][_0x1e2128(0x175)](_0x257d19);this[_0x1e2128(0x13d)](_0x3a2f98,_0x1e2128(0x12a),(_0x82cdbc,_0x1cea3e)=>{const _0xb6b00=_0x1e2128,_0x62ed99=_0x1cea3e[0x0];_0x62ed99[_0xb6b00(0x121)]&&(_0x82cdbc[_0xb6b00(0x11a)]=_0x3a2f98[_0xb6b00(0x1dc)](_0x62ed99[_0xb6b00(0x121)]),_0x82cdbc[_0xb6b00(0x165)]()),null===_0x62ed99[_0xb6b00(0x121)]&&(_0x82cdbc[_0xb6b00(0x11a)]=null,_0x82cdbc[_0xb6b00(0x165)]());},{'priority':_0x1e2128(0x173)}),this[_0x1e2128(0x13d)](_0x2d0717[_0x1e2128(0x185)][_0x1e2128(0x13e)][_0x1e2128(0x142)],_0x1e2128(0x1c8),(_0x10b71a,_0x47823e)=>{const _0x814e1b=_0x1e2128;_0x47823e[_0x814e1b(0x161)]&&this[_0x814e1b(0x1fe)]();}),this[_0x1e2128(0x13d)](_0x2d0717[_0x1e2128(0x18f)][_0x1e2128(0x1db)],_0x1e2128(0x189),()=>{const _0x3396bb=_0x1e2128;this[_0x3396bb(0x1fe)]();}),this[_0x1e2128(0x20a)](),_0x2d0717[_0x1e2128(0x185)]['on'](_0x1e2128(0x20b),(_0x21f3c1,_0x3ff0b8)=>{const _0x416811=_0x1e2128,_0x1a52b9=_0x3ff0b8[0x0];_0x1a52b9[_0x416811(0x211)]&&(this[_0x416811(0x177)](_0x1a52b9),this[_0x416811(0x1b4)]()&&this[_0x416811(0x1b8)]());}),this[_0x1e2128(0x1a0)](),this[_0x1e2128(0x16a)](_0x1e2128(0x180))['to'](_0x8e6adf,_0x1e2128(0x109),this,_0x1e2128(0x15c),(_0x6572ff,_0x106e54)=>_0x1e2128(0x209)===_0x6572ff&&!_0x106e54),this['on'](_0x1e2128(0x176),()=>{const _0x53e5de=_0x1e2128;this[_0x53e5de(0x180)]?_0x2d0717[_0x53e5de(0x1e4)](_0x53e5de(0x202)):_0x2d0717[_0x53e5de(0x199)](_0x53e5de(0x202));}),this[_0x1e2128(0x180)]?_0x2d0717[_0x1e2128(0x1e4)](_0x1e2128(0x202)):_0x2d0717[_0x1e2128(0x199)](_0x1e2128(0x202)),this[_0x1e2128(0x1da)](_0x1e2128(0x1a4),!0x1);}async[_0x3eb630(0x12d)](){const _0x4a2f6e=_0x3eb630,_0xbd571b=this[_0x4a2f6e(0x1c5)][_0x4a2f6e(0x194)][_0x4a2f6e(0x175)](_0xa4f279),_0x1296c7=this[_0x4a2f6e(0x1c5)][_0x4a2f6e(0x194)][_0x4a2f6e(0x175)](_0x257d19);try{this[_0x4a2f6e(0x10c)]=!0x0,_0xbd571b[_0x4a2f6e(0x149)](this[_0x4a2f6e(0x166)]);const _0x27072e=await this[_0x4a2f6e(0x1c9)][_0x4a2f6e(0x12d)](_0x1296c7[_0x4a2f6e(0x14e)],this[_0x4a2f6e(0x172)]);await this[_0x4a2f6e(0x163)](_0x27072e)&&(this[_0x4a2f6e(0x10c)]=!0x1,this[_0x4a2f6e(0x168)]());const _0x28ec9=await this[_0x4a2f6e(0x1c9)][_0x4a2f6e(0x17b)]();_0xbd571b[_0x4a2f6e(0x1a5)](this[_0x4a2f6e(0x166)],_0x28ec9),this[_0x4a2f6e(0x1ed)](),this[_0x4a2f6e(0x1a4)]=!0x0;}catch(_0x4aff1b){if(function(_0x504b40){const _0x4ec605=_0x4a2f6e;return _0x4ec605(0x18d)===_0x504b40[_0x4ec605(0x147)];}(_0x4aff1b)&&this[_0x4a2f6e(0x15b)])await this[_0x4a2f6e(0x19f)]();else{if(function(_0x199e02){const _0xecfad=_0x4a2f6e;return _0xecfad(0x1b9)===_0x199e02[_0xecfad(0x147)];}(_0x4aff1b)){const _0x14c34d=_0x1b1b51(this[_0x4a2f6e(0x1c5)][_0x4a2f6e(0x1ec)],_0x4a2f6e(0x1a3));this[_0x4a2f6e(0x1d9)](_0x14c34d);}else{if(!(_0x4aff1b instanceof J))throw _0x4aff1b;this[_0x4a2f6e(0x1d9)]();}}}}[_0x3eb630(0x141)](){const _0x5e0e66=_0x3eb630,_0x52630d=this[_0x5e0e66(0x1c5)][_0x5e0e66(0x194)][_0x5e0e66(0x175)](_0x257d19),_0x315614=this[_0x5e0e66(0x1c5)][_0x5e0e66(0x194)][_0x5e0e66(0x175)](_0xa4f279);this[_0x5e0e66(0x1c5)][_0x5e0e66(0x199)](_0x5e0e66(0x17e)),_0x315614[_0x5e0e66(0x153)][_0x5e0e66(0x1ce)](this[_0x5e0e66(0x166)])&&_0x315614[_0x5e0e66(0x149)](this[_0x5e0e66(0x166)]),_0x52630d[_0x5e0e66(0x1f3)](this),this[_0x5e0e66(0x1e3)](),super[_0x5e0e66(0x141)]();}async[_0x3eb630(0x163)](_0x5cbb28){const _0x10fd5e=_0x3eb630;if(this[_0x10fd5e(0x15b)]!==_0x5cbb28[_0x10fd5e(0x15b)]&&this[_0x10fd5e(0x112)]!==_0x5cbb28[_0x10fd5e(0x140)])throw new J();return this[_0x10fd5e(0x15b)]=_0x5cbb28[_0x10fd5e(0x15b)],this[_0x10fd5e(0x15f)]([],{..._0x5cbb28,'wereChangesApplied':!0x1,'data':_0x5cbb28[_0x10fd5e(0x126)]},_0x10fd5e(0x12d));}async[_0x3eb630(0x192)](_0x20195e,_0x1eb3b7=!0x1){const _0x208d95=_0x3eb630,{connection:_0x44eba2}=this[_0x208d95(0x1c5)][_0x208d95(0x194)][_0x208d95(0x175)](_0x257d19);l[_0x208d95(0x171)][_0x208d95(0x17b)](_0x44eba2,this[_0x208d95(0x166)])[_0x208d95(0x115)](_0x501ef9=>this[_0x208d95(0x181)](_0x501ef9))[_0x208d95(0x13a)](_0x1b276a=>{const _0x225120=_0x208d95;this[_0x225120(0x131)](_0x225120(0x178),_0x1b276a);}),this[_0x208d95(0x13d)](this[_0x208d95(0x1c9)],_0x208d95(0x124),this[_0x208d95(0x1f2)][_0x208d95(0x16a)](this)),this[_0x208d95(0x13d)](this[_0x208d95(0x1c9)],_0x208d95(0x207),(_0x118af1,_0x5f26b5)=>{const _0x3f0e17=_0x208d95;this[_0x3f0e17(0x131)](_0x3f0e17(0x187),_0x5f26b5);}),this[_0x208d95(0x13d)](this[_0x208d95(0x1c9)],_0x208d95(0x10f),()=>{const _0x2c1aa4=_0x208d95;this[_0x2c1aa4(0x1a4)]=!0x1;});const _0x2664c4=this[_0x208d95(0x13f)][_0x208d95(0x15a)](_0x20195e);this[_0x208d95(0x10c)]=!0x0;const _0x301423=await this[_0x208d95(0x1c9)][_0x208d95(0x151)](_0x44eba2,this[_0x208d95(0x198)](_0x20195e),_0x2664c4);if(this[_0x208d95(0x15b)]=_0x301423[_0x208d95(0x15b)],_0x1eb3b7){if(!_0x301423[_0x208d95(0x1c2)])return void this[_0x208d95(0x1d9)]();this[_0x208d95(0x10c)]=!0x1,this[_0x208d95(0x168)](),this[_0x208d95(0x138)][_0x208d95(0x1ca)](),this[_0x208d95(0x1c4)]=_0x301423[_0x208d95(0x12b)],this[_0x208d95(0x138)][_0x208d95(0x1f1)]=this[_0x208d95(0x1c4)],await this[_0x208d95(0x15f)](_0x20195e,_0x301423,_0x208d95(0x16b));}else await this[_0x208d95(0x191)](_0x301423,_0x20195e);this[_0x208d95(0x1ed)](),this[_0x208d95(0x1a4)]=!0x0;}[_0x3eb630(0x1ed)](){const _0x43aa59=_0x3eb630,_0x2b0bb3=this[_0x43aa59(0x1c5)][_0x43aa59(0x194)][_0x43aa59(0x175)](_0xa4f279),_0xa6379=this[_0x43aa59(0x1c5)][_0x43aa59(0x194)][_0x43aa59(0x175)](_0x94c737),_0x33224b=_0x2b0bb3[_0x43aa59(0x153)][_0x43aa59(0x175)](this[_0x43aa59(0x166)]);_0x33224b&&_0x33224b[_0x43aa59(0x144)]>0x1?_0xa6379[_0x43aa59(0x10a)]():this[_0x43aa59(0x13d)](_0x2b0bb3,_0x43aa59(0x14c)+this[_0x43aa59(0x166)],()=>{const _0x2b981f=_0x43aa59;0x2===_0x2b0bb3[_0x2b981f(0x153)][_0x2b981f(0x175)](this[_0x2b981f(0x166)])[_0x2b981f(0x144)]&&_0xa6379[_0x2b981f(0x10a)]();});}async[_0x3eb630(0x1f2)](_0x4e97fa,_0x326f1b,_0x1a4365,_0x5edf0e){const _0x5e79e8=_0x3eb630;if(!this[_0x5e79e8(0x10c)]&&this[_0x5e79e8(0x1fc)][_0x5e79e8(0x1f1)]==_0x326f1b){const _0x54a96b=this[_0x5e79e8(0x1d8)](_0x1a4365,_0x5edf0e);await this[_0x5e79e8(0x174)](_0x54a96b),this[_0x5e79e8(0x1e2)](_0x54a96b,_0x326f1b,_0x1a4365[_0x5e79e8(0x140)])||this[_0x5e79e8(0x131)](_0x5e79e8(0x146));}}async[_0x3eb630(0x19f)](){const _0xb4fe93=_0x3eb630;this[_0xb4fe93(0x1e3)]();const {locale:_0x20a1cf}=this[_0xb4fe93(0x1c5)];let _0x5de346;try{_0x5de346=await this[_0xb4fe93(0x1c9)][_0xb4fe93(0x120)]();}catch(_0x378948){const _0x5155d6=_0x1b1b51(_0x20a1cf,_0xb4fe93(0x188));return void this[_0xb4fe93(0x1d9)](_0x5155d6);}const _0x17313d=_0x5de346[_0xb4fe93(0x113)]||_0x5de346[_0xb4fe93(0x1e1)];if(this[_0xb4fe93(0x112)]===_0x17313d[_0xb4fe93(0x140)])await this[_0xb4fe93(0x192)](this[_0xb4fe93(0x1c5)][_0xb4fe93(0x185)][_0xb4fe93(0x13e)][_0xb4fe93(0x20e)][_0xb4fe93(0x12c)](),!0x0);else{const _0xd712f6=_0x1b1b51(_0x20a1cf,_0xb4fe93(0x139));this[_0xb4fe93(0x1d9)](_0xd712f6);}}[_0x3eb630(0x1e3)](){const _0x39ed81=_0x3eb630;this[_0x39ed81(0x1c9)][_0x39ed81(0x204)](),this[_0x39ed81(0x125)]=[],clearTimeout(this[_0x39ed81(0x1f4)]),this[_0x39ed81(0x20d)](this[_0x39ed81(0x1c9)]);}[_0x3eb630(0x181)](_0x3ddb7f){const _0x8341ac=_0x3eb630,_0x3757f2=this[_0x8341ac(0x1c5)][_0x8341ac(0x194)][_0x8341ac(0x175)](_0xa4f279);this[_0x8341ac(0x13d)](_0x3757f2,_0x8341ac(0x14c)+this[_0x8341ac(0x166)],(_0x6f98d9,{session:_0xc0c258})=>{const _0x19b7eb=_0x8341ac;if(_0xc0c258['id']===_0x3757f2[_0x19b7eb(0x1a1)]){_0x6f98d9[_0x19b7eb(0x129)]();const _0x426241=this[_0x19b7eb(0x1c5)][_0x19b7eb(0x194)][_0x19b7eb(0x1ce)](_0x19b7eb(0x152))&&this[_0x19b7eb(0x1c5)][_0x19b7eb(0x194)][_0x19b7eb(0x175)](_0x19b7eb(0x152));let _0x121183=_0xc0c258[_0x19b7eb(0x1b7)];_0x426241&&_0x426241[_0x19b7eb(0x1bb)]&&(_0x121183=_0x121183[_0x19b7eb(0x128)](_0x5009ae=>_0x19b7eb(0x1c3)!==_0x5009ae)),this[_0x19b7eb(0x1c5)][_0x19b7eb(0x194)][_0x19b7eb(0x175)](_0x19b7eb(0x1d4))[_0x19b7eb(0x201)](_0x121183,this[_0x19b7eb(0x166)]);}}),_0x3757f2[_0x8341ac(0x1a5)](this[_0x8341ac(0x166)],_0x3ddb7f);}[_0x3eb630(0x20a)](){const _0x433ca8=_0x3eb630,_0x9bcbf5=this[_0x433ca8(0x1c5)][_0x433ca8(0x126)][_0x433ca8(0x1da)];this[_0x433ca8(0x1c5)][_0x433ca8(0x126)][_0x433ca8(0x1da)]=(..._0x53a41d)=>{const _0x1301c7=_0x433ca8;if(!_0x53a41d[_0x53a41d[_0x1301c7(0x144)]-0x1][_0x1301c7(0x137)])throw new _0x434af5(_0x1301c7(0x1df),this);_0x9bcbf5[_0x1301c7(0x1d5)](this[_0x1301c7(0x1c5)][_0x1301c7(0x126)],_0x53a41d);};}[_0x3eb630(0x1a0)](){const _0xfd3713=_0x3eb630;this[_0xfd3713(0x1c5)][_0xfd3713(0x126)]['on'](_0xfd3713(0x123),(_0x354f15,[_0x829f53])=>{const _0x1e505f=_0xfd3713;if(this[_0x1e505f(0x1fc)][_0x1e505f(0x1f1)])throw new _0x434af5(_0x1e505f(0x1e7),this);_0x354f15[_0x1e505f(0x165)](),this[_0x1e505f(0x11e)]();const _0x43cf18=this[_0x1e505f(0x1c5)][_0x1e505f(0x133)][_0x1e505f(0x175)](_0x1e505f(0x17d)),_0x3cc106=this[_0x1e505f(0x1fb)](_0x829f53,_0x43cf18);0x0==_0x3cc106[_0x1e505f(0x144)]&&_0x3cc106[_0x1e505f(0x15d)](new _0x34f3de(0x0)),_0x354f15[_0x1e505f(0x11a)]=this[_0x1e505f(0x192)](_0x3cc106)[_0x1e505f(0x115)](()=>{const _0x4a9323=_0x1e505f;this[_0x4a9323(0x1c5)][_0x4a9323(0x194)][_0x4a9323(0x175)](_0x257d19)[_0x4a9323(0x1b2)](this),this[_0x4a9323(0x1c5)][_0x4a9323(0x126)][_0x4a9323(0x184)](_0x4a9323(0x159));})[_0x1e505f(0x13a)](_0x20940e=>this[_0x1e505f(0x131)](_0x1e505f(0x186),_0x20940e))[_0x1e505f(0x1bc)](()=>this[_0x1e505f(0x168)]());},{'priority':_0xfd3713(0x173)}),this[_0xfd3713(0x1c5)]['on'](_0xfd3713(0x12e),async(_0x474bbf,[_0x24f41b,_0x4af505])=>{const _0x5f9029=_0xfd3713;_0x474bbf[_0x5f9029(0x165)]();const _0x3f4782=this[_0x5f9029(0x1c5)][_0x5f9029(0x185)][_0x5f9029(0x13e)][_0x5f9029(0x170)](_0x24f41b);if(!this[_0x5f9029(0x1c6)][_0x5f9029(0x1ce)](_0x24f41b)){const _0x13131b=_0x4af505&&_0x4af505[_0x5f9029(0x126)]?_0x4af505[_0x5f9029(0x126)]:'',_0x591603=_0x4af505&&_0x4af505[_0x5f9029(0x11c)]?_0x4af505[_0x5f9029(0x11c)]:{};await this[_0x5f9029(0x13b)](_0x24f41b,_0x13131b,_0x591603);}this[_0x5f9029(0x1c5)][_0x5f9029(0x185)][_0x5f9029(0x157)]({'isUndoable':!0x1},()=>{const _0x2429b2=_0x5f9029;_0x3f4782[_0x2429b2(0x1e6)]=!0x0,this[_0x2429b2(0x1c5)][_0x2429b2(0x185)][_0x2429b2(0x13e)][_0x2429b2(0x19e)][_0x2429b2(0x1a8)](_0x3f4782);});},{'priority':_0xfd3713(0x173)});}async[_0x3eb630(0x174)](_0x29c47d){const _0xed53c5=_0x3eb630,_0x53986d=this[_0xed53c5(0x1c5)][_0xed53c5(0x194)][_0xed53c5(0x175)](_0x41416e),{connection:_0x3dfa07}=this[_0xed53c5(0x1c5)][_0xed53c5(0x194)][_0xed53c5(0x175)](_0x257d19),_0x131158=new Set();for(const _0xab9bb7 of _0x29c47d){const _0x4d9f88=_0xab9bb7[_0xed53c5(0x121)];_0x4d9f88&&!_0x53986d[_0xed53c5(0x1dc)](_0x4d9f88)&&_0x131158[_0xed53c5(0x1f6)](_0x4d9f88);}if(0x0===_0x131158[_0xed53c5(0x1af)])return;const _0x5b01af=await _0x5500a2[_0xed53c5(0x18b)](_0x3dfa07,Array[_0xed53c5(0x210)](_0x131158));for(const _0x3a43d3 of _0x5b01af)_0x53986d[_0xed53c5(0x1dc)](_0x3a43d3['id'])||_0x53986d[_0xed53c5(0x1be)](_0x3a43d3);}[_0x3eb630(0x1fb)](_0x582e50,_0x2284ce={}){const _0x5305f1=_0x3eb630,_0x28254c=this[_0x5305f1(0x1c5)][_0x5305f1(0x185)],_0xb03230=[];let _0x1555ed=0x0;const _0x3930a1=_0x5305f1(0x1d2)==typeof _0x582e50?{'main':_0x582e50}:_0x582e50;for(const _0x38ddf8 of Object[_0x5305f1(0x20f)](_0x3930a1)){if(!this[_0x5305f1(0x1fc)][_0x5305f1(0x1f5)][_0x5305f1(0x1ce)](_0x38ddf8))throw new _0x434af5(_0x5305f1(0x164),this);const _0x244ce0=this[_0x5305f1(0x1c5)][_0x5305f1(0x126)][_0x5305f1(0x16d)](_0x3930a1[_0x38ddf8]),_0x4612da=this[_0x5305f1(0x1fc)][_0x5305f1(0x170)](_0x38ddf8),_0x59d6d1=new _0x2e2ad2(_0x28254c[_0x5305f1(0x14d)](_0x4612da,0x0),_0x244ce0,_0x1555ed++);_0xb03230[_0x5305f1(0x15d)](_0x59d6d1);for(const [_0x3ae0b3,_0x4d68ae]of _0x244ce0[_0x5305f1(0x1bd)]){const _0x148986=_0x28254c[_0x5305f1(0x117)](_0x28254c[_0x5305f1(0x10e)](_0x4612da,_0x4d68ae[_0x5305f1(0x1cb)][_0x5305f1(0x14f)][_0x5305f1(0x1b0)]()),_0x28254c[_0x5305f1(0x10e)](_0x4612da,_0x4d68ae[_0x5305f1(0x169)][_0x5305f1(0x14f)][_0x5305f1(0x1b0)]())),_0x3a46e8=new _0x214fb7(_0x3ae0b3,null,_0x148986,_0x28254c[_0x5305f1(0x1bd)],!0x0,_0x1555ed++);_0xb03230[_0x5305f1(0x15d)](_0x3a46e8);}}if(_0x2284ce)for(const [_0x447507,_0x31428a]of Object[_0x5305f1(0x110)](_0x2284ce)){const _0x2ad4f5=_0x28254c[_0x5305f1(0x13e)][_0x5305f1(0x170)](_0x447507);if(!_0x2ad4f5)throw new _0x434af5(_0x5305f1(0x1cc),null);for(const [_0x22c7c8,_0x368657]of Object[_0x5305f1(0x110)](_0x31428a))if(null!==_0x368657){const _0x518ac3=new _0xc5bada(_0x2ad4f5,_0x22c7c8,null,_0x368657,_0x1555ed++);_0xb03230[_0x5305f1(0x15d)](_0x518ac3);}}return _0xb03230;}async[_0x3eb630(0x13b)](_0xb63566,_0x576203,_0x2fb90c){const _0x20ad5e=_0x3eb630;this[_0x20ad5e(0x1fb)]({[_0xb63566]:_0x576203},{[_0xb63566]:_0x2fb90c})[_0x20ad5e(0x1c7)]((_0x330713,_0x5adec6)=>{const _0x44b1e1=_0x20ad5e;_0x330713[_0x44b1e1(0x158)]=this[_0x44b1e1(0x1fc)][_0x44b1e1(0x1f1)]+_0x5adec6,_0x330713[_0x44b1e1(0x18a)]=!0x0,this[_0x44b1e1(0x177)](_0x330713);}),this[_0x20ad5e(0x1b8)](),await this[_0x20ad5e(0x160)]();}async[_0x3eb630(0x191)](_0x43f608,_0x2846f8){const _0x25efd5=_0x3eb630;let _0x3c6bc6;this[_0x25efd5(0x1c4)]=_0x43f608[_0x25efd5(0x12b)];const _0x3e8329=_0x43f608[_0x25efd5(0x1c2)]&&!_0x43f608[_0x25efd5(0x197)],_0x101abf=_0x3e8329?0x0:_0x43f608[_0x25efd5(0x126)][_0x25efd5(0x158)];if(_0x2846f8[_0x25efd5(0x1c7)](_0x4376b8=>{const _0x2faad2=_0x25efd5;_0x4376b8[_0x2faad2(0x18a)]=!0x0,_0x4376b8[_0x2faad2(0x19b)]=_0x43f608[_0x2faad2(0x1eb)],_0x4376b8[_0x2faad2(0x121)]=null;}),_0x3e8329)_0x3c6bc6=_0x2846f8,this[_0x25efd5(0x1e9)](_0x3c6bc6,_0x3e8329);else{if(_0x43f608[_0x25efd5(0x197)]){const _0x1ffae0=this[_0x25efd5(0x1fb)](_0x43f608[_0x25efd5(0x197)]);this[_0x25efd5(0x1fc)][_0x25efd5(0x20e)][_0x25efd5(0x1f1)]=-_0x1ffae0[_0x25efd5(0x144)],_0x1ffae0[_0x25efd5(0x1c7)](_0x2143bb=>{const _0x591a18=_0x25efd5;_0x2143bb[_0x591a18(0x158)]-=_0x1ffae0[_0x591a18(0x144)],_0x2143bb[_0x591a18(0x19b)]=_0x43f608[_0x591a18(0x1eb)],_0x2143bb[_0x591a18(0x18a)]=!0x0,_0x2143bb[_0x591a18(0x121)]=null;}),this[_0x25efd5(0x1e9)](_0x1ffae0,!0x0),this[_0x25efd5(0x138)][_0x25efd5(0x1f1)]=-_0x1ffae0[_0x25efd5(0x144)]+this[_0x25efd5(0x1c4)],this[_0x25efd5(0x17c)](_0x1ffae0);}this[_0x25efd5(0x1fc)][_0x25efd5(0x20e)][_0x25efd5(0x1f1)]=_0x101abf,_0x3c6bc6=this[_0x25efd5(0x1d8)](_0x43f608[_0x25efd5(0x126)],_0x43f608[_0x25efd5(0x1fa)]),await this[_0x25efd5(0x174)](_0x3c6bc6),this[_0x25efd5(0x1e9)](_0x3c6bc6,_0x3e8329);}_0x43f608[_0x25efd5(0x140)]&&(this[_0x25efd5(0x13f)][_0x25efd5(0x114)](_0x3c6bc6,_0x43f608[_0x25efd5(0x140)]),this[_0x25efd5(0x112)]=_0x43f608[_0x25efd5(0x140)]),this[_0x25efd5(0x138)][_0x25efd5(0x1f1)]=_0x101abf+this[_0x25efd5(0x1c4)],this[_0x25efd5(0x17c)](_0x3c6bc6),_0x2846f8[_0x25efd5(0x128)](_0x271848=>{const _0xdb1c0c=_0x25efd5,_0x340382=this[_0xdb1c0c(0x1f9)](_0x271848);return _0x340382&&!this[_0xdb1c0c(0x1c6)][_0xdb1c0c(0x1ce)](_0x340382);})[_0x25efd5(0x1c7)]((_0x504070,_0x2d4f3d)=>{const _0x326a48=_0x25efd5;_0x504070[_0x326a48(0x158)]=this[_0x326a48(0x1fc)][_0x326a48(0x1f1)]+_0x2d4f3d,this[_0x326a48(0x177)](_0x504070);}),this[_0x25efd5(0x1b4)]()?(this[_0x25efd5(0x11b)]=0x0,this[_0x25efd5(0x1b8)](!0x0),await this[_0x25efd5(0x160)]()):(this[_0x25efd5(0x10c)]=!0x1,this[_0x25efd5(0x168)]());}[_0x3eb630(0x131)](_0x17a3b2,_0x572e7d){const _0x1d3b32=_0x3eb630,_0x19ebe2=_0x572e7d&&_0x572e7d[_0x1d3b32(0x16f)];if(_0x19ebe2&&_0x19ebe2[_0x1d3b32(0x15e)](_0x1d3b32(0x156)))throw _0x572e7d;const _0x5d8c08=this[_0x1d3b32(0x1c5)][_0x1d3b32(0x194)][_0x1d3b32(0x175)](_0x257d19);throw this[_0x1d3b32(0x10c)]=!0x0,_0x5d8c08[_0x1d3b32(0x204)](),this[_0x1d3b32(0x1c5)][_0x1d3b32(0x199)](_0x1d3b32(0x162)),new _0x434af5(_0x17a3b2,this[_0x1d3b32(0x1c5)],_0x19ebe2?{'originalError':_0x19ebe2}:void 0x0);}[_0x3eb630(0x177)](_0x133150){const _0x83fb5f=_0x3eb630;this[_0x83fb5f(0x195)][_0x83fb5f(0x1ce)](_0x133150)||(this[_0x83fb5f(0x195)][_0x83fb5f(0x1f6)](_0x133150),this[_0x83fb5f(0x125)][_0x83fb5f(0x15d)](_0x133150),this[_0x83fb5f(0x155)]||_0x83fb5f(0x116)==_0x133150[_0x83fb5f(0x1ff)]&&!_0x133150[_0x83fb5f(0x14b)]||this[_0x83fb5f(0x11e)]());}[_0x3eb630(0x1b8)](_0x26644f=!0x1){const _0x31d8ad=_0x3eb630;!_0x26644f&&this[_0x31d8ad(0x10c)]||(this[_0x31d8ad(0x10c)]=!0x0,clearTimeout(this[_0x31d8ad(0x1f4)]),this[_0x31d8ad(0x1f4)]=setTimeout(()=>{const _0x1d202d=_0x31d8ad;this[_0x1d202d(0x1de)]()[_0x1d202d(0x115)](_0x30e110=>{const _0x53d6cb=_0x1d202d;_0x30e110&&(this[_0x53d6cb(0x168)](),this[_0x53d6cb(0x10c)]=!0x1);})[_0x1d202d(0x13a)](_0x2e500f=>{const _0x4534d7=_0x1d202d;this[_0x4534d7(0x168)](),this[_0x4534d7(0x10c)]=!0x1,function(_0x531e18){const _0x40aa15=_0x4534d7;return _0x531e18[_0x40aa15(0x16f)][_0x40aa15(0x15e)](_0x40aa15(0x145))||_0x531e18[_0x40aa15(0x16f)][_0x40aa15(0x15e)](_0x40aa15(0x1dd))||_0x531e18[_0x40aa15(0x16f)][_0x40aa15(0x15e)](_0x40aa15(0x1a2));}(_0x2e500f)||this[_0x4534d7(0x131)](_0x2e500f[_0x4534d7(0x16f)],_0x2e500f);});},this[_0x31d8ad(0x11b)]));}[_0x3eb630(0x160)](){return new Promise(_0x31aaf7=>{const _0x3f5fa3=_0x4344;this['on'](_0x3f5fa3(0x1f8),()=>{_0x31aaf7();});});}async[_0x3eb630(0x1de)](){const _0x36f173=_0x3eb630,_0x48a893=this[_0x36f173(0x1c5)][_0x36f173(0x194)][_0x36f173(0x175)](_0x94c737);if(this[_0x36f173(0x20c)]()&&(_0x48a893[_0x36f173(0x10a)](),this[_0x36f173(0x167)]=!0x1),!this[_0x36f173(0x1b4)]())return!0x0;const _0x29e585=[...this[_0x36f173(0x125)]];for(const _0x10f5e5 of _0x29e585)_0x10f5e5[_0x36f173(0x148)]=this[_0x36f173(0x1fc)][_0x36f173(0x20e)][_0x36f173(0x1ab)](_0x10f5e5);const _0x2b7394=this[_0x36f173(0x13f)][_0x36f173(0x15a)](_0x29e585),_0x47246e=K++,_0x5ad83e=this[_0x36f173(0x198)](_0x29e585),_0x11fd1b=await this[_0x36f173(0x1c9)][_0x36f173(0x1cf)](_0x5ad83e,_0x5ad83e[_0x36f173(0x158)],_0x2b7394);try{return await this[_0x36f173(0x15f)](_0x29e585,_0x11fd1b,_0x47246e);}catch(_0x382d23){return this[_0x36f173(0x131)](_0x36f173(0x1d1),_0x382d23);}}async[_0x3eb630(0x15f)](_0x276c05,_0x398975,_0x247602){const _0x359b58=_0x3eb630;if(_0x359b58(0x207)in _0x398975)throw _0x398975[_0x359b58(0x207)];let _0x2283b4=!0x1;if(_0x398975[_0x359b58(0x1c2)]){_0x398975[_0x359b58(0x140)]&&(this[_0x359b58(0x112)]=_0x398975[_0x359b58(0x140)]),this[_0x359b58(0x125)]=this[_0x359b58(0x125)][_0x359b58(0x128)](_0x5be67d=>!_0x276c05[_0x359b58(0x206)](_0x5be67d));for(const _0x37804c of _0x276c05)_0x37804c[_0x359b58(0x19b)]=_0x359b58(0x130)in _0x398975&&_0x398975[_0x359b58(0x130)]||void 0x0;Q(_0x276c05,_0x398975[_0x359b58(0x1f1)]-_0x276c05[_0x359b58(0x144)]),this[_0x359b58(0x17c)](_0x276c05);const _0x5dd5de=_0x276c05[_0x359b58(0x128)](_0x2bf9be=>{const _0x4d67cc=_0x359b58;if(!_0x2bf9be[_0x4d67cc(0x18a)])return!0x1;const _0x51fec4=this[_0x4d67cc(0x1f9)](_0x2bf9be);return _0x51fec4&&!this[_0x4d67cc(0x1c6)][_0x4d67cc(0x1ce)](_0x51fec4);});Q(_0x5dd5de,this[_0x359b58(0x1fc)][_0x359b58(0x1f1)]),this[_0x359b58(0x1e9)](_0x5dd5de),_0x2283b4=!0x0,this[_0x359b58(0x11b)]=this[_0x359b58(0x1c1)];}else{const _0x2ccf13=this[_0x359b58(0x1d8)](_0x398975[_0x359b58(0x126)],_0x398975[_0x359b58(0x1fa)])[_0x359b58(0x128)](_0x20f33b=>_0x20f33b[_0x359b58(0x158)]>=this[_0x359b58(0x1ee)]);_0x2ccf13[_0x359b58(0x1c7)](_0x391589=>this[_0x359b58(0x1ad)](_0x391589)),this[_0x359b58(0x125)]=this[_0x359b58(0x125)][_0x359b58(0x128)](_0x417a4d=>!_0x417a4d[_0x359b58(0x18a)]||!this[_0x359b58(0x1c6)][_0x359b58(0x1ce)](this[_0x359b58(0x1f9)](_0x417a4d))),this[_0x359b58(0x125)][_0x359b58(0x144)]&&Q(this[_0x359b58(0x125)],this[_0x359b58(0x125)][0x0][_0x359b58(0x158)]),await this[_0x359b58(0x174)](_0x2ccf13),_0x2283b4=this[_0x359b58(0x1e2)](_0x2ccf13,_0x398975[_0x359b58(0x1f1)],_0x398975[_0x359b58(0x140)]),this[_0x359b58(0x11b)]=Math[_0x359b58(0x182)](this[_0x359b58(0x11b)]/0x2);}return _0x2283b4?!this[_0x359b58(0x1b4)]()||(this[_0x359b58(0x1b8)](!0x0),!0x1):this[_0x359b58(0x131)](_0x359b58(0x19d));}[_0x3eb630(0x1e2)](_0x5cd002,_0x3a5c2e,_0x503f46){const _0x508fa7=_0x3eb630;try{const _0x48f6c7={'document':this[_0x508fa7(0x1fc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44386f,operationsB:_0x44e6d3,originalOperations:_0x37e336}=_0x33c7f5(_0x5cd002,this[_0x508fa7(0x125)],_0x48f6c7);Q(_0x44386f,this[_0x508fa7(0x1fc)][_0x508fa7(0x1f1)]),Q(_0x44e6d3,_0x3a5c2e);for(const _0x508c65 of _0x44386f){const _0x2ae092=_0x37e336[_0x508fa7(0x175)](_0x508c65);_0x508c65[_0x508fa7(0x121)]=_0x2ae092?_0x2ae092[_0x508fa7(0x121)]:null;}_0x503f46&&(this[_0x508fa7(0x13f)][_0x508fa7(0x114)](_0x5cd002,_0x503f46),this[_0x508fa7(0x112)]=_0x503f46),this[_0x508fa7(0x125)]=[..._0x44e6d3],this[_0x508fa7(0x1e9)](_0x44386f),this[_0x508fa7(0x17c)](_0x5cd002);}catch(_0x1cc67d){return console[_0x508fa7(0x207)](_0x1cc67d),!0x1;}return!0x0;}[_0x3eb630(0x1e9)](_0x19d4c7,_0x59d73=!0x1){const _0xe2774a=_0x3eb630;this[_0xe2774a(0x1c5)][_0xe2774a(0x185)][_0xe2774a(0x157)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3658dd=>{const _0x55dda9=_0xe2774a;for(const _0x1ddcaf of _0x19d4c7)this[_0x55dda9(0x195)][_0x55dda9(0x1f6)](_0x1ddcaf),this[_0x55dda9(0x1ad)](_0x1ddcaf),_0x3658dd[_0x55dda9(0x1ea)][_0x55dda9(0x19a)](_0x1ddcaf),this[_0x55dda9(0x1c5)][_0x55dda9(0x185)][_0x55dda9(0x20b)](_0x1ddcaf);});}[_0x3eb630(0x1ad)](_0x45c5fd){const _0x5ec5a4=_0x3eb630,_0x24f719=this[_0x5ec5a4(0x1f9)](_0x45c5fd);_0x24f719&&this[_0x5ec5a4(0x1c6)][_0x5ec5a4(0x1f6)](_0x24f719);}[_0x3eb630(0x1f9)](_0x4289da){const _0x31db15=_0x3eb630;let _0x4690bf,_0x13ab16;switch(_0x4289da[_0x31db15(0x1ff)]){case _0x31db15(0x127):_0x4690bf=_0x4289da[_0x31db15(0x18e)][_0x31db15(0x16c)];break;case _0x31db15(0x116):if(_0x13ab16=_0x4289da[_0x31db15(0x122)],!_0x13ab16)return null;_0x4690bf=_0x13ab16[_0x31db15(0x16c)];break;case _0x31db15(0x1ac):_0x4690bf=_0x4289da[_0x31db15(0x16c)];break;case _0x31db15(0x17f):_0x4690bf=_0x4289da[_0x31db15(0x179)];break;case _0x31db15(0x1d7):_0x4690bf=_0x4289da[_0x31db15(0x132)][_0x31db15(0x16c)];break;default:return null;}return _0x4690bf[_0x31db15(0x183)];}[_0x3eb630(0x17c)](_0x4921eb){const _0x3e1981=_0x3eb630;_0x4921eb[_0x3e1981(0x1c7)](_0x4c4160=>{const _0x222d49=_0x3e1981,_0xdbe304=_0x4c4160[_0x222d49(0x134)]();_0xdbe304[_0x222d49(0x121)]=_0x4c4160[_0x222d49(0x121)],_0xdbe304[_0x222d49(0x18a)]=!!_0x4c4160[_0x222d49(0x18a)],_0xdbe304[_0x222d49(0x19b)]=_0x4c4160[_0x222d49(0x19b)],_0xdbe304[_0x222d49(0x158)]+=this[_0x222d49(0x1c4)],_0x4c4160[_0x222d49(0x1e5)]&&this[_0x222d49(0x111)][_0x222d49(0x1f6)](_0xdbe304),this[_0x222d49(0x138)][_0x222d49(0x19a)](_0xdbe304);});}[_0x3eb630(0x1d9)](_0x48ecc6){const _0x60a529=_0x3eb630,_0x3010e0=this[_0x60a529(0x1c5)][_0x60a529(0x194)][_0x60a529(0x175)](_0x60a529(0x13c)),_0x456cc9=this[_0x60a529(0x1c5)][_0x60a529(0x1ec)];_0x48ecc6||(_0x48ecc6=_0x1b1b51(_0x456cc9,_0x60a529(0x1ba))),_0x3010e0[_0x60a529(0x17a)](_0x48ecc6,{'title':_0x1b1b51(_0x456cc9,_0x60a529(0x16e)),'namespace':_0x60a529(0x118)}),this[_0x60a529(0x15c)]=!0x0,clearTimeout(this[_0x60a529(0x1f4)]),this[_0x60a529(0x125)]=[],this[_0x60a529(0x1c5)][_0x60a529(0x194)][_0x60a529(0x175)](_0x257d19)[_0x60a529(0x204)]();}[_0x3eb630(0x11e)](){const _0x2dcd11=_0x3eb630;this[_0x2dcd11(0x155)]||(this[_0x2dcd11(0x155)]=this[_0x2dcd11(0x1c5)][_0x2dcd11(0x194)][_0x2dcd11(0x175)](_0x5dfb4d)[_0x2dcd11(0x1f6)](_0x1b1b51(this[_0x2dcd11(0x1c5)][_0x2dcd11(0x1ec)],_0x2dcd11(0x1e0))));}[_0x3eb630(0x168)](){const _0x22c82b=_0x3eb630;this[_0x22c82b(0x155)]&&(this[_0x22c82b(0x1c5)][_0x22c82b(0x194)][_0x22c82b(0x175)](_0x5dfb4d)[_0x22c82b(0x196)](this[_0x22c82b(0x155)]),this[_0x22c82b(0x155)]=null);}[_0x3eb630(0x198)](_0x1aa92e){const _0x1ecbf3=_0x3eb630,_0x39ce2a=_0x1aa92e[_0x1ecbf3(0x1a9)](_0x5717e7=>_0x5717e7[_0x1ecbf3(0x208)]());return this[_0x1ecbf3(0x135)][_0x1ecbf3(0x1cd)](_0x39ce2a);}[_0x3eb630(0x1d8)](_0xaf4a61,_0x55a2ec){const _0x43146f=_0x3eb630;return this[_0x43146f(0x135)][_0x43146f(0x205)](_0xaf4a61)[_0x43146f(0x1a9)]((_0x52c8d1,_0x3f85cb)=>{const _0x69b111=_0x43146f,_0x2babfe=_0x69b111(0x123)==_0x55a2ec[_0x3f85cb][_0x69b111(0x1ff)];if(_0x69b111(0x154)==_0x52c8d1[_0x69b111(0x143)]){const _0x2da672=_0x52c8d1[_0x69b111(0x18e)][_0x69b111(0x16c)];!this[_0x69b111(0x1fc)][_0x69b111(0x170)](_0x2da672)&&(this[_0x69b111(0x1fc)][_0x69b111(0x18c)](_0x69b111(0x1bf),_0x2da672)[_0x69b111(0x1c0)]=!0x1);}const _0x22f6bd=_0x4d34d0[_0x69b111(0x203)](_0x52c8d1,this[_0x69b111(0x1fc)]);return _0x22f6bd[_0x69b111(0x148)]=_0x52c8d1[_0x69b111(0x148)],_0x22f6bd[_0x69b111(0x18a)]=_0x2babfe,_0x22f6bd[_0x69b111(0x121)]=_0x2babfe?null:_0x55a2ec[_0x3f85cb][_0x69b111(0x119)],_0x22f6bd[_0x69b111(0x1e5)]=_0x69b111(0x1d3)===_0x55a2ec[_0x3f85cb][_0x69b111(0x1ff)],_0x22f6bd[_0x69b111(0x19b)]=_0x55a2ec[_0x3f85cb][_0x69b111(0x19b)],_0x22f6bd;});}[_0x3eb630(0x1fe)](){const _0x27e4aa=_0x3eb630;this[_0x27e4aa(0x167)]=!0x0,this[_0x27e4aa(0x20c)]()?this[_0x27e4aa(0x1b8)]():this[_0x27e4aa(0x167)]=!0x1;}[_0x3eb630(0x20c)](){const _0x179526=_0x3eb630,_0x34bf92=this[_0x179526(0x1c5)][_0x179526(0x194)][_0x179526(0x175)](_0xa4f279)[_0x179526(0x153)][_0x179526(0x175)](this[_0x179526(0x166)]);return!this[_0x179526(0x1c5)][_0x179526(0x1b6)]&&!!_0x34bf92&&_0x34bf92[_0x179526(0x144)]>0x1&&this[_0x179526(0x167)];}[_0x3eb630(0x1b4)](){const _0x34f40e=_0x3eb630;return this[_0x34f40e(0x125)][_0x34f40e(0x144)]>0x0||this[_0x34f40e(0x20c)]();}}l[_0x3eb630(0x171)]=_0x348209;export default l;class J extends Error{}function Q(_0x319b58,_0x564a03){const _0x56bb8d=_0x3eb630;for(const _0x427489 of _0x319b58)_0x427489[_0x56bb8d(0x158)]=_0x564a03++;}function _0x1f28(){const _0x25d028=['off','getOperationAuthor','offset','getOperations','reconnect','loadRoot','collaboration.channelId','lastOperationAcceptedAt','_crash','targetPosition','config','clone','_compressor','13eMSIMX','suppressErrorInCollaboration','serverHistory','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.','catch','_loadRoot','Notification','listenTo','document','_operationIdentifier','lastOperationId','destroy','selection','__className','length','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-service-incorrect-server-operation','code','wasUndone','unregister','1UjZzKp','affectsData','sessionAdd:','createPositionAt','connection','path','486117hcHSVt','connect','CommentsOnly','channelSessions','InsertOperation','_pendingAction','realtimecollaborationclient','enqueueChange','baseVersion','ready','getIdOfTheLastOperation','sessionId','_hasSynchronizationProblem','push','startsWith','_handleServerResponse','_waitUntilSynced','directChange','realtimecollaborationclient-error','_handleReconnectionResponse','realtimecollaborationclient-init-non-existent-root','stop','_channelId','_hasSelectionChanged','_clearPendingAction','end','bind','reconnection:\x20flushed\x20session','root','parse','Synchronization\x20issue','message','getRoot','CollaborativeEditingService','lastSyncVersion','high','_fetchMissingUsers','get','change:_isEditingAllowed','_saveOperationInBuffer','realtimecollaborationclient-init-session-connection-error','affectedSelectable','showWarning','getConnectedSessions','_updateServerHistory','rootsAttributes','rtc-destroyed','addRoot','_isEditingAllowed','_initSessionsHandling','round','rootName','fire','model','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-service-internal-error','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:hasDomSelection','_isInit','getMany','createRoot','404','position','editing','cloudDocumentVersion','_handleInitialConnectionData','_connectService','104ZKTMKS','plugins','_knownOperations','remove','initData','_compressOperations','enableReadOnlyMode','addOperation','createdAt','collaboration','realtimecollaborationclient-handleserverresponse','differ','_connectAfterSessionHasBeenFlushed','_setUpDataInit','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isConnected','register','isPremiumPlugin','39880XlqRKh','_bufferRootLoad','map','224735REaIpS','isUndoneOperation','addRootAttribute','_addKnownRoot','collaboration-missing-channelid','size','slice','_operationToId','addToReconnectionStack','283703ERnkLe','_shouldSendUpdate','RealTimeCollaborationClient','isReadOnly','permissions','_sendBufferedOperationsDelayed','409','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.','isEnabled','finally','markers','addUser','$root','_isAttached','_baseBufferDelay','wereChangesApplied','document:write','_offset','editor','_knownRootNames','forEach','change:range','_service','reset','start','multi-root-editor-root-attributes-no-root','compress','has','sendOperations','isOfficialPlugin','realtimecollaborationclient-sendbufferedoperations','string','cs:removeUser','Permissions','apply','pluginName','move','_decompressOperations','_handleReconnectionError','set','view','getUser','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_sendBufferedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','PENDING_ACTION_SENDING_DATA','lastDocumentSession','_handleExternalOperations','_disconnectService','disableReadOnlyMode','_isDisconnection','_isLoaded','realtimecollaborationclient-init-document-already-initialized','1771plWHQS','_applyOperationsSet','batch','sessionCreatedAt','locale','_handleSendingSelectionMarkers','_lastServerVersion','_ignoredOperations','88hRbcNY','version','_handleReceivedOperations','removeFromReconnectionStack','_sendBufferedOperationsDelayId','roots','add','define','change:_isPendingUpdate','_getAffectedRoot','metadata','_getOperationsFromInitData','_document','cloudServices.bundleVersion','_refreshUserSelectionMarkers','type','1947708lGbjlI','setPermissions','rtc-offline','fromJSON','disconnect','decompress','includes','error','toJSON','connected','_initThrowingOnDataSet','applyOperation','_shouldSendSelectionUpdate','stopListening','history','keys','from','isDocumentOperation','state','createUserMarkerOperations','5531388Nwwckm','_isPendingUpdate','1693894PGMuEh','createPositionFromPath','disconnected','entries','_disconnectionOperations','_lastSyncedOperationId','currentDocumentSession','setIdForTheLastOperation','then','marker','createRange','real-time-collaboration','userId','return','_currentBufferDelay','attributes','96PDfisL','_setPendingAction','requires','getDocumentDetails','_authorId','newRange','init','operationsReceived','_bufferedOperations','data','insert','filter'];_0x1f28=function(){return _0x25d028;};return _0x1f28();}class X{constructor(_0x12edd9){const _0x4dcf29=_0x3eb630;this[_0x4dcf29(0x1ef)]=_0x12edd9,this[_0x4dcf29(0x1b1)]=new WeakMap();}[_0x3eb630(0x15a)](_0x5ecfb7){const _0x303565=_0x3eb630;let _0x2cc55a=_0x5ecfb7[_0x303565(0x144)];for(;_0x2cc55a--;){const _0x4c27f8=_0x5ecfb7[_0x2cc55a];if(!this[_0x303565(0x1ef)][_0x303565(0x1ce)](_0x4c27f8)){if(!this[_0x303565(0x1b1)][_0x303565(0x1ce)](_0x4c27f8)){const _0x1f8896=_0x5293bf()[_0x303565(0x1b0)](0x1,0x12);this[_0x303565(0x1b1)][_0x303565(0x1da)](_0x4c27f8,_0x1f8896);}return this[_0x303565(0x1b1)][_0x303565(0x175)](_0x4c27f8);}}}[_0x3eb630(0x114)](_0x5f2e60,_0x3d9d42){const _0x40a08a=_0x3eb630;if(!_0x3d9d42)return;let _0xc41d6d=_0x5f2e60[_0x40a08a(0x144)];for(;_0xc41d6d--;){const _0x50fcfd=_0x5f2e60[_0xc41d6d];this[_0x40a08a(0x1ef)][_0x40a08a(0x1ce)](_0x50fcfd)||this[_0x40a08a(0x1b1)][_0x40a08a(0x1da)](_0x50fcfd,_0x3d9d42);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x348354=_0x6e35;function _0x6e35(_0x46d683,_0x391429){const _0x101b81=_0x101b();return _0x6e35=function(_0x6e35c,_0x165031){_0x6e35c=_0x6e35c-0x125;let _0x4cfc74=_0x101b81[_0x6e35c];return _0x4cfc74;},_0x6e35(_0x46d683,_0x391429);}(function(_0x2992fa,_0x75513b){const _0xd05da6=_0x6e35,_0xb1dc9e=_0x2992fa();while(!![]){try{const _0x44710a=parseInt(_0xd05da6(0x149))/0x1+-parseInt(_0xd05da6(0x142))/0x2*(-parseInt(_0xd05da6(0x159))/0x3)+parseInt(_0xd05da6(0x139))/0x4+parseInt(_0xd05da6(0x13d))/0x5+parseInt(_0xd05da6(0x14b))/0x6+parseInt(_0xd05da6(0x126))/0x7*(-parseInt(_0xd05da6(0x15a))/0x8)+-parseInt(_0xd05da6(0x141))/0x9*(parseInt(_0xd05da6(0x144))/0xa);if(_0x44710a===_0x75513b)break;else _0xb1dc9e['push'](_0xb1dc9e['shift']());}catch(_0x3c8e9a){_0xb1dc9e['push'](_0xb1dc9e['shift']());}}}(_0x101b,0x70cbe));import{ContextPlugin as _0x46ee98}from'ckeditor5/src/core.js';import{Collection as _0x573b23,CKEditorError as _0x1ba8a3}from'ckeditor5/src/utils.js';import _0x495c96 from'./websocketgateway.js';function _0x101b(){const _0x4b8e95=['9422541zYVxUT','2hvDvpS','stopListening','10CsZDmt','delete','_handleSessionRemove','change:state','sessionId','178100KJRloc','pluginName','1700310ycCmOv','forEach','remove','orderNumber','addUser','listenTo','has','register','defineMe','sessionAdd:','connection','_users','clear','values','126303jfVNxc','6584XJcUug','_uniqueUsersCount','_createUser','add','fire','context','Sessions','state','allConnectedUsers','getUserSessions','511ywnmmU','isOfficialPlugin','channelConnectedUsers','unregister','sessions-unregister-not-exist','connected','isPremiumPlugin','mySessionId','plugins','size','assign','channelSessions','get','set','_registeredSessions','init','sessions-register-already-registered','getUser','getUserBySessionId','3300616YiAbMq','_handleSessionAdd','requires','getUserRole','1201510rXqauh','isMe','user','role'];_0x101b=function(){return _0x4b8e95;};return _0x101b();}import{Users as _0x152862}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x46ee98{static get[_0x348354(0x14a)](){const _0x381ab8=_0x348354;return _0x381ab8(0x160);}static get[_0x348354(0x127)](){return!0x0;}static get[_0x348354(0x12c)](){return!0x0;}static get[_0x348354(0x13b)](){return[_0x495c96,_0x152862];}constructor(_0x3e793d){const _0x45e28e=_0x348354;super(_0x3e793d),this[_0x45e28e(0x131)]=new Map(),this[_0x45e28e(0x128)]=new Map(),this[_0x45e28e(0x162)]=new _0x573b23(),this[_0x45e28e(0x134)]=new Map(),this[_0x45e28e(0x15b)]=0x0,this[_0x45e28e(0x156)]=this[_0x45e28e(0x15f)][_0x45e28e(0x12e)][_0x45e28e(0x132)](_0x152862);}[_0x348354(0x135)](){const _0x481a66=_0x348354,_0x322b80=this[_0x481a66(0x15f)][_0x481a66(0x12e)][_0x481a66(0x132)](_0x495c96);this[_0x481a66(0x150)](_0x322b80,_0x481a66(0x147),(_0x533bdd,_0x4dcac6,_0x4d3d38)=>{const _0x462132=_0x481a66;if(_0x462132(0x12b)!==_0x4d3d38)this[_0x462132(0x131)][_0x462132(0x14c)](_0x2dc78e=>_0x2dc78e[_0x462132(0x157)]()),this[_0x462132(0x128)][_0x462132(0x14c)](_0x5ca316=>_0x5ca316[_0x462132(0x157)]()),this[_0x462132(0x162)][_0x462132(0x157)]();else{for(const [_0x4be0a9,_0x101979]of this[_0x462132(0x134)])for(const _0x4e8728 of _0x101979)this[_0x462132(0x13a)](_0x4be0a9,_0x4e8728);}}),this[_0x481a66(0x15c)](_0x322b80[_0x481a66(0x155)]['me'],!0x0);}[_0x348354(0x152)](_0x2ce86d,_0x224d84){const _0x189cb5=_0x348354;if(this[_0x189cb5(0x134)][_0x189cb5(0x151)](_0x2ce86d))throw new _0x1ba8a3(_0x189cb5(0x136),null,{'channelId':_0x2ce86d});this[_0x189cb5(0x134)][_0x189cb5(0x133)](_0x2ce86d,_0x224d84),this[_0x189cb5(0x131)][_0x189cb5(0x133)](_0x2ce86d,new _0x573b23()),this[_0x189cb5(0x128)][_0x189cb5(0x133)](_0x2ce86d,new _0x573b23()),this[_0x189cb5(0x150)](_0x224d84,_0x189cb5(0x15d),(_0x114aaa,_0xd0a60b)=>this[_0x189cb5(0x13a)](_0x2ce86d,_0xd0a60b)),this[_0x189cb5(0x150)](_0x224d84,_0x189cb5(0x14d),(_0x181dba,_0x18ef62)=>this[_0x189cb5(0x146)](_0x2ce86d,_0x18ef62));for(const _0x3e6118 of _0x224d84)this[_0x189cb5(0x13a)](_0x2ce86d,_0x3e6118);}[_0x348354(0x129)](_0x3a313e){const _0x529f80=_0x348354;if(!this[_0x529f80(0x134)][_0x529f80(0x151)](_0x3a313e))throw new _0x1ba8a3(_0x529f80(0x12a),null,{'channelId':_0x3a313e});const _0x3564c8=this[_0x529f80(0x134)][_0x529f80(0x132)](_0x3a313e);this[_0x529f80(0x143)](_0x3564c8);for(const _0x1b4e53 of _0x3564c8)_0x529f80(0x12b)===this[_0x529f80(0x15f)][_0x529f80(0x12e)][_0x529f80(0x132)](_0x495c96)[_0x529f80(0x161)]&&this[_0x529f80(0x146)](_0x3a313e,_0x1b4e53);this[_0x529f80(0x134)][_0x529f80(0x145)](_0x3a313e),this[_0x529f80(0x131)][_0x529f80(0x145)](_0x3a313e),this[_0x529f80(0x128)][_0x529f80(0x145)](_0x3a313e);}get[_0x348354(0x12d)](){const _0x4446e5=_0x348354;return this[_0x4446e5(0x15f)][_0x4446e5(0x12e)][_0x4446e5(0x132)](_0x495c96)[_0x4446e5(0x155)][_0x4446e5(0x148)];}[_0x348354(0x138)](_0xc5c86d){const _0x13c912=_0x348354;for(const _0xc2d80e of this[_0x13c912(0x131)][_0x13c912(0x158)]())for(const _0x5005be of _0xc2d80e)if(_0x5005be['id']===_0xc5c86d)return _0x5005be[_0x13c912(0x13f)];}[_0x348354(0x125)](_0x1f2dfe,_0x113106){const _0x34d419=_0x348354,_0x28f421=_0x113106?[this[_0x34d419(0x131)][_0x34d419(0x132)](_0x113106)]:this[_0x34d419(0x131)][_0x34d419(0x158)](),_0x426138=new Set();for(const _0x14bf5f of _0x28f421)for(const _0x369bfd of _0x14bf5f)_0x369bfd[_0x34d419(0x13f)]['id']===_0x1f2dfe['id']&&_0x426138[_0x34d419(0x15d)](_0x369bfd['id']);return _0x426138;}[_0x348354(0x13c)](_0x469583){const _0x35101f=_0x348354;for(const _0x21d48d of this[_0x35101f(0x131)][_0x35101f(0x158)]())for(const _0x429872 of _0x21d48d)if(_0x429872[_0x35101f(0x13f)]===_0x469583)return _0x429872[_0x35101f(0x140)];}[_0x348354(0x13a)](_0x125d09,_0x5af5f1){const _0x5bae32=_0x348354;if(_0x5bae32(0x12b)!==this[_0x5bae32(0x15f)][_0x5bae32(0x12e)][_0x5bae32(0x132)](_0x495c96)[_0x5bae32(0x161)])return;const _0x46832f=_0x5af5f1[_0x5bae32(0x13f)],_0x1b5fa7=this[_0x5bae32(0x156)][_0x5bae32(0x137)](_0x46832f['id'])||this[_0x5bae32(0x15c)](_0x46832f),_0x13ffe7=Object[_0x5bae32(0x130)]({},_0x5af5f1,{'user':_0x1b5fa7});this[_0x5bae32(0x131)][_0x5bae32(0x132)](_0x125d09)[_0x5bae32(0x15d)](_0x13ffe7);const _0x26ec26=this[_0x5bae32(0x128)][_0x5bae32(0x132)](_0x125d09);_0x26ec26[_0x5bae32(0x151)](_0x1b5fa7['id'])||_0x26ec26[_0x5bae32(0x15d)](_0x1b5fa7),this[_0x5bae32(0x162)][_0x5bae32(0x151)](_0x1b5fa7['id'])||this[_0x5bae32(0x162)][_0x5bae32(0x15d)](_0x1b5fa7,_0x1b5fa7[_0x5bae32(0x13e)]?0x0:void 0x0),this[_0x5bae32(0x15e)](_0x5bae32(0x154)+_0x125d09,{'channelId':_0x125d09,'session':_0x13ffe7});}[_0x348354(0x146)](_0x90cdad,_0x1061d2){const _0x32a5ac=_0x348354;if(_0x32a5ac(0x12b)!==this[_0x32a5ac(0x15f)][_0x32a5ac(0x12e)][_0x32a5ac(0x132)](_0x495c96)[_0x32a5ac(0x161)])return;const _0x17caf4=this[_0x32a5ac(0x128)][_0x32a5ac(0x132)](_0x90cdad),_0x5a3d86=_0x1061d2[_0x32a5ac(0x13f)];_0x5a3d86['id']&&(this[_0x32a5ac(0x131)][_0x32a5ac(0x132)](_0x90cdad)[_0x32a5ac(0x14d)](_0x1061d2['id']),_0x17caf4[_0x32a5ac(0x151)](_0x5a3d86['id'])&&!this[_0x32a5ac(0x125)](_0x5a3d86,_0x90cdad)[_0x32a5ac(0x12f)]&&_0x17caf4[_0x32a5ac(0x14d)](_0x5a3d86['id']),this[_0x32a5ac(0x162)][_0x32a5ac(0x132)](_0x5a3d86['id'])&&!this[_0x32a5ac(0x125)](_0x5a3d86)[_0x32a5ac(0x12f)]&&this[_0x32a5ac(0x162)][_0x32a5ac(0x14d)](_0x5a3d86['id']));}[_0x348354(0x15c)](_0x243f60,_0x5cd334){const _0x214872=_0x348354,_0x49c6f6=this[_0x214872(0x156)][_0x214872(0x14f)](_0x243f60);return _0x5cd334&&this[_0x214872(0x156)][_0x214872(0x153)](_0x243f60['id']),_0x49c6f6[_0x214872(0x14e)]=this[_0x214872(0x15b)]++,_0x49c6f6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4fe718=_0x3554;function _0x3554(_0xf6e0b4,_0x5a9eae){const _0xa69ff2=_0xa69f();return _0x3554=function(_0x35545e,_0x2d8873){_0x35545e=_0x35545e-0x1ca;let _0x1a8827=_0xa69ff2[_0x35545e];return _0x1a8827;},_0x3554(_0xf6e0b4,_0x5a9eae);}(function(_0x543179,_0x575fb8){const _0x334778=_0x3554,_0x6aecdb=_0x543179();while(!![]){try{const _0x14ce92=parseInt(_0x334778(0x245))/0x1*(parseInt(_0x334778(0x233))/0x2)+parseInt(_0x334778(0x234))/0x3+parseInt(_0x334778(0x1e5))/0x4*(parseInt(_0x334778(0x201))/0x5)+-parseInt(_0x334778(0x217))/0x6+parseInt(_0x334778(0x20c))/0x7+-parseInt(_0x334778(0x23c))/0x8*(parseInt(_0x334778(0x1cf))/0x9)+-parseInt(_0x334778(0x1ef))/0xa*(parseInt(_0x334778(0x1f1))/0xb);if(_0x14ce92===_0x575fb8)break;else _0x6aecdb['push'](_0x6aecdb['shift']());}catch(_0x5bd3a6){_0x6aecdb['push'](_0x6aecdb['shift']());}}}(_0xa69f,0xbe782));import{Plugin as _0x4e0ae9}from'ckeditor5/src/core.js';function _0xa69f(){const _0xf2e7e3=['undo','selection','isCollapsed','innerHTML','1450356tHdmOp','markers','mapper','for','editingDowncast','mouseleave','isLimit','user:position:','delete','startsWith','applyOperation','remove','_domEmitter','removeMarker','getSelectionClass','contenteditable','name','getAttribute','keydown','size','</span>','getFirstRange','user:range:','classList','set','element','stopListening','getRange','2RndzzP','948318sraavT','ck-user__marker\x20','rootName','Escape','addEventListener','hasDomSelection','_createdBatches','clear','2000wkxfVg','highest','pluginName','enqueueChange','updateMarker','model','toDomElement','getContainedElement','markerToHighlight','679226KAhjsj','render','has','end','UserMarkers','document','deletionPosition','getPositions','markerToElement','data-session-id','view','tableCell','user:range','getCustomProperty','span','commands','44640mWbIct','<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>','add','checkChild','isDocumentOperation','markerRange','mouseenter','change','getMarkerClass','marker','createUserMarkerOperations','toRange','parent','oldRange','hasContent','schema','user:','createRange','type','setCustomProperty','getNearestSelectionRange','isSimilar','1208qjnbJJ','update:user:range','listenTo','removeClass','change:range','orderNumber','mySessionId','batch','detach','isPremiumPlugin','3437710qnedim','addMarker','11QwFoXi','reconvertMarker','destroy','ck-user__marker_hovered','root','getUserBySessionId','markerNameToElements','requires','editing','ck-user__selection','fromRange','userPositionMarker','editor','newRange','$text','init','5440ojXEDb','start','get','isOfficialPlugin','createUIElement','plugins','$graveyard','color','isObject','conversion','nodeAfter','8972257yuXpPZ','afterInit','split','user:position','markerName','isInline','getStart'];_0xa69f=function(){return _0xf2e7e3;};return _0xa69f();}import{global as _0x3fdd6e,DomEmitterMixin as _0x4a0a59}from'ckeditor5/src/utils.js';import _0x22f6bf from'./sessions.js';import{LiveRange as _0x15559e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x4e0ae9{constructor(){const _0x266a8b=_0x3554;super(...arguments),this[_0x266a8b(0x223)]=new(_0x4a0a59())();}static get[_0x4fe718(0x1f8)](){return[_0x22f6bf];}static get[_0x4fe718(0x23e)](){const _0x56a741=_0x4fe718;return _0x56a741(0x249);}static get[_0x4fe718(0x204)](){return!0x0;}static get[_0x4fe718(0x1ee)](){return!0x0;}[_0x4fe718(0x200)](){const _0x13f564=_0x4fe718,_0x487bd3=this[_0x13f564(0x1fd)],_0x2bf775=_0x487bd3[_0x13f564(0x206)][_0x13f564(0x203)](_0x22f6bf);_0x487bd3[_0x13f564(0x20a)][_0x13f564(0x21a)](_0x13f564(0x21b))[_0x13f564(0x24d)]({'model':_0x13f564(0x20f),'view':(_0x171838,{writer:_0x568bf3})=>function(_0x3d142c,_0x573d18,_0x55a20d,_0x57402e){const _0x235dbc=_0x13f564,_0x1bfe6a=_0x3d142c[_0x235dbc(0x210)][_0x235dbc(0x20e)](':')[0x2],_0x2d6eb4=_0x55a20d[_0x235dbc(0x1f6)](_0x1bfe6a);if(!_0x2d6eb4||_0x1bfe6a===_0x55a20d[_0x235dbc(0x1eb)])return;if(!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)][_0x235dbc(0x1d2)](_0x3d142c[_0x235dbc(0x1d4)][_0x235dbc(0x202)],_0x235dbc(0x1ff)))return;const _0x15c13b={'class':_0x235dbc(0x235)+_0x2d6eb4[_0x235dbc(0x208)][_0x235dbc(0x1d7)](),'data-name':_0x2d6eb4[_0x235dbc(0x227)],'data-session-id':_0x1bfe6a},_0xffd53c=_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x218)][_0x235dbc(0x203)](_0x3d142c[_0x235dbc(0x210)]),_0x3f5f85=_0xffd53c[_0x235dbc(0x212)](),_0x16cdb7=_0x3f5f85[_0x235dbc(0x20b)],_0x5e1ec4=_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)];if(_0x16cdb7&&_0x5e1ec4[_0x235dbc(0x209)](_0x16cdb7)&&_0x5e1ec4[_0x235dbc(0x211)](_0x16cdb7)&&!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x218)][_0x235dbc(0x203)](_0x235dbc(0x22d)+_0x1bfe6a)[_0x235dbc(0x232)]()[_0x235dbc(0x215)])return;const _0x1aec82=_0x3f5f85[_0x235dbc(0x1db)];return _0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)][_0x235dbc(0x21d)](_0x1aec82)&&!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1dd)](_0x1aec82)&&(_0x15c13b[_0x235dbc(0x226)]=!0x1),function(_0x1e2178,_0xeb6dcf,_0x48151c){const _0x24db62=_0x235dbc,_0x502c59=_0x1e2178[_0x24db62(0x205)](_0x24db62(0x1cd),_0xeb6dcf);return _0x1e2178[_0x24db62(0x1e2)](_0x24db62(0x1fc),!0x0,_0x502c59),_0x502c59[_0x24db62(0x246)]=function(_0x386e72){const _0x2a01eb=_0x24db62,_0x210de3=this[_0x2a01eb(0x242)](_0x386e72);return _0x210de3[_0x2a01eb(0x216)]=_0x2a01eb(0x1d0)+_0x48151c[_0x2a01eb(0x227)]+_0x2a01eb(0x22b),_0x210de3[_0x2a01eb(0x238)](_0x2a01eb(0x1d5),()=>{const _0xda30f0=_0x2a01eb;_0x210de3[_0xda30f0(0x22e)][_0xda30f0(0x1d1)](_0xda30f0(0x1f4));}),_0x210de3[_0x2a01eb(0x238)](_0x2a01eb(0x21c),()=>{const _0x12a3fa=_0x2a01eb;_0x210de3[_0x12a3fa(0x22e)][_0x12a3fa(0x222)](_0x12a3fa(0x1f4));}),_0x210de3;},_0x502c59[_0x24db62(0x1e4)]=function(_0x3f17cd){const _0x172c3c=_0x24db62;return!(!this[_0x172c3c(0x1cc)](_0x172c3c(0x1fc))||!_0x3f17cd[_0x172c3c(0x1cc)](_0x172c3c(0x1fc))||this[_0x172c3c(0x228)](_0x172c3c(0x24e))!=_0x3f17cd[_0x172c3c(0x228)](_0x172c3c(0x24e)));},_0x502c59;}(_0x573d18,_0x15c13b,_0x2d6eb4);}(_0x171838,_0x568bf3,_0x2bf775,_0x487bd3)}),_0x487bd3[_0x13f564(0x20a)][_0x13f564(0x21a)](_0x13f564(0x21b))[_0x13f564(0x244)]({'model':_0x13f564(0x1cb),'view':_0x4acf03=>function(_0x534e33,_0x40af0a){const _0x347a40=_0x13f564,_0x3f9aaa=_0x534e33[_0x347a40(0x210)][_0x347a40(0x20e)](':')[0x2];if(_0x3f9aaa===_0x40af0a[_0x347a40(0x1eb)])return null;const _0x57e51d=_0x40af0a[_0x347a40(0x1f6)](_0x3f9aaa);if(!_0x57e51d)return{'id':_0x3f9aaa,'classes':[]};return{'id':_0x3f9aaa,'classes':[_0x347a40(0x1fa),_0x57e51d[_0x347a40(0x208)][_0x347a40(0x225)]()],'attributes':{'data-session-id':_0x3f9aaa},'priority':0x7d0+_0x57e51d[_0x347a40(0x1ea)]};}(_0x4acf03,_0x2bf775)}),function(_0x1b31d0){const _0x1aef43=_0x13f564,_0xe6f71=_0x1b31d0[_0x1aef43(0x241)],_0x4478b6=new Map(),_0x352609=_0x1b31d0[_0x1aef43(0x206)][_0x1aef43(0x203)](_0x22f6bf);_0xe6f71[_0x1aef43(0x218)]['on'](_0x1aef43(0x1e6),(_0x42bebd,_0x161128,_0x552c22,_0xf6dd4f)=>{const _0x23b473=_0x1aef43;if(!_0xf6dd4f&&_0x4478b6[_0x23b473(0x203)](_0x161128[_0x23b473(0x227)]))return _0x4478b6[_0x23b473(0x203)](_0x161128[_0x23b473(0x227)])[_0x23b473(0x1ed)](),void _0x4478b6[_0x23b473(0x21f)](_0x161128[_0x23b473(0x227)]);const _0x7bc343=_0x161128[_0x23b473(0x227)][_0x23b473(0x20e)](':')[0x2];if(_0x7bc343===_0x352609[_0x23b473(0x1eb)])return;const _0x5e9717=_0x23b473(0x21e)+_0x7bc343;_0xe6f71[_0x23b473(0x218)][_0x23b473(0x247)](_0x5e9717)&&_0x1b31d0[_0x23b473(0x1f9)][_0x23b473(0x1f2)](_0x5e9717),_0x161128['on'](_0x23b473(0x1e9),(_0x4d7174,_0x32d1ef,_0x59efe4)=>{const _0x252536=_0x23b473;if(_0x252536(0x207)!=_0x32d1ef[_0x252536(0x1f5)][_0x252536(0x236)]&&_0x252536(0x207)==_0x161128[_0x252536(0x232)]()[_0x252536(0x1f5)][_0x252536(0x236)]&&!_0x4478b6[_0x252536(0x247)](_0x161128[_0x252536(0x227)])){const _0x3c6d59=_0xe6f71[_0x252536(0x1de)][_0x252536(0x1e3)](_0x59efe4[_0x252536(0x24b)]);if(_0x3c6d59){const _0x1d1ec4=_0x15559e[_0x252536(0x1fb)](_0x3c6d59);_0x4478b6[_0x252536(0x22f)](_0x161128[_0x252536(0x227)],_0x1d1ec4),_0x1d1ec4['on'](_0x252536(0x1e9),(_0x5dccbd,_0x2b21c7,_0x2b75f9)=>{const _0x23b176=_0x252536;if(_0x23b176(0x207)==_0x1d1ec4[_0x23b176(0x1f5)][_0x23b176(0x236)]){const _0x23df1a=_0xe6f71[_0x23b176(0x1de)][_0x23b176(0x1e3)](_0x2b75f9[_0x23b176(0x24b)]);_0x23df1a?(_0x1d1ec4[_0x23b176(0x202)]=_0x23df1a[_0x23b176(0x202)],_0x1d1ec4[_0x23b176(0x248)]=_0x23df1a[_0x23b176(0x248)]):(_0x4478b6[_0x23b176(0x21f)](_0x161128[_0x23b176(0x227)]),_0x1d1ec4[_0x23b176(0x1ed)]());}});}}});}),_0xe6f71[_0x1aef43(0x24a)]['on'](_0x1aef43(0x1d6),()=>{const _0x37999a=_0x1aef43;_0x4478b6[_0x37999a(0x22a)]>0x0&&_0xe6f71[_0x37999a(0x23f)]({'isUndoable':!0x1},_0x12a76d=>{const _0x180b05=_0x37999a;for(const [_0x3c3555,_0x5d4fd4]of _0x4478b6)_0x180b05(0x207)==_0xe6f71[_0x180b05(0x218)][_0x180b05(0x203)](_0x3c3555)[_0x180b05(0x232)]()[_0x180b05(0x1f5)][_0x180b05(0x236)]&&(re(_0x3c3555[_0x180b05(0x20e)](':')[0x2],_0x5d4fd4[_0x180b05(0x1da)](),_0xe6f71,_0x12a76d),_0x5d4fd4[_0x180b05(0x1ed)]());_0x4478b6[_0x180b05(0x23b)]();});});}(_0x487bd3),this[_0x13f564(0x223)][_0x13f564(0x1e7)](_0x3fdd6e[_0x13f564(0x24a)],_0x13f564(0x229),(_0x5cecdb,{key:_0x289e2f})=>{const _0x38c21e=_0x13f564;_0x38c21e(0x237)===_0x289e2f&&function(_0x378d81){const _0x3763f3=_0x38c21e;_0x378d81[_0x3763f3(0x1f9)][_0x3763f3(0x24f)][_0x3763f3(0x1d6)](_0x9adcfd=>{const _0x5c6bb6=_0x3763f3;for(const _0x5c0156 of _0x378d81[_0x5c6bb6(0x241)][_0x5c6bb6(0x218)]){if(!_0x5c0156[_0x5c6bb6(0x227)][_0x5c6bb6(0x220)](_0x5c6bb6(0x20f)))continue;const _0x2ba57f=_0x378d81[_0x5c6bb6(0x1f9)][_0x5c6bb6(0x219)][_0x5c6bb6(0x1f7)](_0x5c0156[_0x5c6bb6(0x227)]);if(_0x2ba57f){for(const _0x362a65 of _0x2ba57f)_0x9adcfd[_0x5c6bb6(0x1e8)](_0x5c6bb6(0x1f4),_0x362a65);}}});}(_0x487bd3);},{'useCapture':!0x0});}[_0x4fe718(0x20d)](){const _0x24ce04=_0x4fe718,_0x18931e=this[_0x24ce04(0x1fd)],_0xd9c9d2=_0x18931e[_0x24ce04(0x1ce)][_0x24ce04(0x203)](_0x24ce04(0x213));_0xd9c9d2&&_0x18931e[_0x24ce04(0x241)]['on'](_0x24ce04(0x221),(_0x409489,_0x5a8cc6)=>{const _0x5e4d4c=_0x24ce04,_0x30539d=_0x5a8cc6[0x0];if(!_0x30539d[_0x5e4d4c(0x1d3)])return;if(_0x5e4d4c(0x1d8)!=_0x30539d[_0x5e4d4c(0x1e1)]||!_0x30539d[_0x5e4d4c(0x227)][_0x5e4d4c(0x220)](_0x5e4d4c(0x1df)))return;const _0x5708ba=_0x30539d[_0x5e4d4c(0x1ec)];_0xd9c9d2[_0x5e4d4c(0x23a)][_0x5e4d4c(0x247)](_0x5708ba)&&(_0x30539d[_0x5e4d4c(0x1fe)]=_0x30539d[_0x5e4d4c(0x1dc)]?_0x18931e[_0x5e4d4c(0x241)][_0x5e4d4c(0x1e0)](_0x30539d[_0x5e4d4c(0x1dc)][_0x5e4d4c(0x202)],_0x30539d[_0x5e4d4c(0x1dc)][_0x5e4d4c(0x248)]):null);},{'priority':_0x24ce04(0x23d)});}[_0x4fe718(0x1f3)](){const _0x4b5b88=_0x4fe718;return this[_0x4b5b88(0x223)][_0x4b5b88(0x231)](),super[_0x4b5b88(0x1f3)]();}[_0x4fe718(0x1d9)](){const _0xec5aef=_0x4fe718,_0x23cdf=this[_0xec5aef(0x1fd)],_0x151788=_0x23cdf[_0xec5aef(0x241)][_0xec5aef(0x24a)],_0x228e95=_0x23cdf[_0xec5aef(0x206)][_0xec5aef(0x203)](_0x22f6bf);_0x23cdf[_0xec5aef(0x241)][_0xec5aef(0x23f)]({'isUndoable':!0x1},_0x77fd8a=>{const _0x2b4f48=_0xec5aef,_0x5e70d1=_0x2b4f48(0x22d)+_0x228e95[_0x2b4f48(0x1eb)],_0x35d633=_0x2b4f48(0x21e)+_0x228e95[_0x2b4f48(0x1eb)],_0x3de200=_0x23cdf[_0x2b4f48(0x241)][_0x2b4f48(0x218)][_0x2b4f48(0x247)](_0x5e70d1);_0x23cdf[_0x2b4f48(0x1f9)][_0x2b4f48(0x24f)][_0x2b4f48(0x239)]?re(_0x228e95[_0x2b4f48(0x1eb)],_0x151788[_0x2b4f48(0x214)][_0x2b4f48(0x22c)](),_0x23cdf[_0x2b4f48(0x241)],_0x77fd8a):_0x3de200&&(_0x77fd8a[_0x2b4f48(0x224)](_0x5e70d1),_0x77fd8a[_0x2b4f48(0x224)](_0x35d633));});}}function re(_0x1f4acf,_0xc5a43e,_0x1322e5,_0x377358){const _0x56a0eb=_0x4fe718,_0x4e48c4=_0x56a0eb(0x22d)+_0x1f4acf,_0x48234c=_0x56a0eb(0x21e)+_0x1f4acf,_0xbe9978=_0xc5a43e[_0x56a0eb(0x243)]();let _0x1dad77=_0xc5a43e[_0x56a0eb(0x202)];_0xbe9978&&_0xbe9978['is'](_0x56a0eb(0x230),_0x56a0eb(0x1ca))&&(_0x1dad77=function(_0x21c5a0,_0x3e3706){const _0x1fc4ad=_0x56a0eb;for(const _0xf0209 of _0x21c5a0[_0x1fc4ad(0x24c)]())if(_0x3e3706[_0x1fc4ad(0x1de)][_0x1fc4ad(0x1d2)](_0xf0209,_0x1fc4ad(0x1ff)))return _0xf0209;}(_0xc5a43e,_0x1322e5),_0xc5a43e=_0x377358[_0x56a0eb(0x1e0)](_0x1dad77));const _0x58af5a=_0x377358[_0x56a0eb(0x1e0)](_0x1dad77);_0x1322e5[_0x56a0eb(0x218)][_0x56a0eb(0x247)](_0x4e48c4)?(_0x377358[_0x56a0eb(0x240)](_0x4e48c4,{'range':_0xc5a43e}),_0x377358[_0x56a0eb(0x240)](_0x48234c,{'range':_0x58af5a})):(_0x377358[_0x56a0eb(0x1f0)](_0x4e48c4,{'range':_0xc5a43e,'usingOperation':!0x0}),_0x377358[_0x56a0eb(0x1f0)](_0x48234c,{'range':_0x58af5a,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x469163=_0x24f6;(function(_0x5c99c8,_0x2eab14){const _0x4f2ed4=_0x24f6,_0x36b00f=_0x5c99c8();while(!![]){try{const _0x383b51=-parseInt(_0x4f2ed4(0x10d))/0x1+-parseInt(_0x4f2ed4(0x143))/0x2*(parseInt(_0x4f2ed4(0x15a))/0x3)+parseInt(_0x4f2ed4(0x159))/0x4+-parseInt(_0x4f2ed4(0x12f))/0x5*(parseInt(_0x4f2ed4(0x132))/0x6)+-parseInt(_0x4f2ed4(0xfe))/0x7*(-parseInt(_0x4f2ed4(0x12a))/0x8)+-parseInt(_0x4f2ed4(0x166))/0x9+-parseInt(_0x4f2ed4(0xe5))/0xa*(-parseInt(_0x4f2ed4(0x14e))/0xb);if(_0x383b51===_0x2eab14)break;else _0x36b00f['push'](_0x36b00f['shift']());}catch(_0x5372f7){_0x36b00f['push'](_0x36b00f['shift']());}}}(_0x1e5f,0xd837a));import{Plugin as _0x540af4}from'ckeditor5/src/core.js';import{global as _0x5e7fba,DomEmitterMixin as _0x5a7c36}from'ckeditor5/src/utils.js';import _0x6def50 from'./sessions.js';function _0x24f6(_0x27efee,_0x5755e8){const _0x1e5f35=_0x1e5f();return _0x24f6=function(_0x24f694,_0x55cdf4){_0x24f694=_0x24f694-0xe5;let _0x29b43e=_0x1e5f35[_0x24f694];return _0x29b43e;},_0x24f6(_0x27efee,_0x5755e8);}import{LiveRange as _0x2ecfec}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x540af4{constructor(){const _0x2f107c=_0x24f6;super(...arguments),this[_0x2f107c(0xf6)]=new(_0x5a7c36())();}static get[_0x469163(0x146)](){return[_0x6def50];}static get[_0x469163(0xf7)](){const _0x30b586=_0x469163;return _0x30b586(0x164);}static get[_0x469163(0x13d)](){return!0x0;}static get[_0x469163(0x135)](){return!0x0;}[_0x469163(0x11a)](){const _0x3f921e=_0x469163,_0x5304c1=this[_0x3f921e(0x15e)],_0x3e385c=_0x5304c1[_0x3f921e(0x149)][_0x3f921e(0x158)](_0x6def50);_0x5304c1[_0x3f921e(0xef)][_0x3f921e(0x101)](_0x3f921e(0x12c))[_0x3f921e(0x114)]({'model':_0x3f921e(0x15d),'view':(_0x18f127,{writer:_0x527037})=>function(_0x2c2f24,_0x4b78a4,_0x27d499,_0x1e99d5){const _0x50cbb0=_0x3f921e,_0x1fbd02=_0x2c2f24[_0x50cbb0(0x147)][_0x50cbb0(0x13a)](':')[0x2],_0x2f1ade=_0x27d499[_0x50cbb0(0x10e)](_0x1fbd02);if(!_0x2f1ade||_0x1fbd02===_0x27d499[_0x50cbb0(0x110)])return;if(!_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xfa)][_0x50cbb0(0x137)](_0x2c2f24[_0x50cbb0(0x153)][_0x50cbb0(0x119)],_0x50cbb0(0xf4)))return;const _0x54cc80={'class':_0x50cbb0(0x11c)+_0x2f1ade[_0x50cbb0(0x10b)][_0x50cbb0(0x163)](),'data-name':_0x2f1ade[_0x50cbb0(0x13e)],'data-session-id':_0x1fbd02},_0x2611a2=_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0x129)][_0x50cbb0(0x158)](_0x2c2f24[_0x50cbb0(0x147)]),_0x5cc0b7=_0x2611a2[_0x50cbb0(0x144)](),_0x176812=_0x5cc0b7[_0x50cbb0(0xea)],_0x4bab00=_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xfa)];if(_0x176812&&_0x4bab00[_0x50cbb0(0x117)](_0x176812)&&_0x4bab00[_0x50cbb0(0x12b)](_0x176812)&&!_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0x129)][_0x50cbb0(0x158)](_0x50cbb0(0x13f)+_0x1fbd02)[_0x50cbb0(0xf3)]()[_0x50cbb0(0x126)])return;const _0x176404=_0x5cc0b7[_0x50cbb0(0x125)];return _0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xfa)][_0x50cbb0(0x112)](_0x176404)&&!_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xed)](_0x176404)&&(_0x54cc80[_0x50cbb0(0x13c)]=!0x1),function(_0x5817fd,_0x146829,_0x26924a){const _0x304fa9=_0x50cbb0,_0x400cb9=_0x5817fd[_0x304fa9(0x131)](_0x304fa9(0x108),_0x146829);return _0x5817fd[_0x304fa9(0x106)](_0x304fa9(0x104),!0x0,_0x400cb9),_0x400cb9[_0x304fa9(0x128)]=function(_0x3ca558){const _0x32ffa1=_0x304fa9,_0x30d06d=this[_0x32ffa1(0xf9)](_0x3ca558);return _0x30d06d[_0x32ffa1(0x115)]=_0x32ffa1(0x107)+_0x26924a[_0x32ffa1(0x13e)]+_0x32ffa1(0x138),_0x30d06d[_0x32ffa1(0xf5)](_0x32ffa1(0x134),()=>{const _0x4a8c0c=_0x32ffa1;_0x30d06d[_0x4a8c0c(0xfc)][_0x4a8c0c(0xf0)](_0x4a8c0c(0x145));}),_0x30d06d[_0x32ffa1(0xf5)](_0x32ffa1(0x14f),()=>{const _0x342ecc=_0x32ffa1;_0x30d06d[_0x342ecc(0xfc)][_0x342ecc(0x139)](_0x342ecc(0x145));}),_0x30d06d;},_0x400cb9[_0x304fa9(0x14a)]=function(_0x296947){const _0x3cce23=_0x304fa9;return!(!this[_0x3cce23(0x136)](_0x3cce23(0x104))||!_0x296947[_0x3cce23(0x136)](_0x3cce23(0x104))||this[_0x3cce23(0x133)](_0x3cce23(0x118))!=_0x296947[_0x3cce23(0x133)](_0x3cce23(0x118)));},_0x400cb9;}(_0x4b78a4,_0x54cc80,_0x2f1ade);}(_0x18f127,_0x527037,_0x3e385c,_0x5304c1)}),_0x5304c1[_0x3f921e(0xef)][_0x3f921e(0x101)](_0x3f921e(0x12c))[_0x3f921e(0x109)]({'model':_0x3f921e(0x121),'view':_0x4e870c=>function(_0x28840c,_0x4df2d8){const _0x999a15=_0x3f921e,_0x4c6843=_0x28840c[_0x999a15(0x147)][_0x999a15(0x13a)](':')[0x2];if(_0x4c6843===_0x4df2d8[_0x999a15(0x110)])return null;const _0x2870bc=_0x4df2d8[_0x999a15(0x10e)](_0x4c6843);if(!_0x2870bc)return{'id':_0x4c6843,'classes':[]};return{'id':_0x4c6843,'classes':[_0x999a15(0x14b),_0x2870bc[_0x999a15(0x10b)][_0x999a15(0x103)]()],'attributes':{'data-session-id':_0x4c6843},'priority':0x7d0+_0x2870bc[_0x999a15(0x160)]};}(_0x4e870c,_0x3e385c)}),function(_0x14213c){const _0x2d8345=_0x3f921e,_0x35bae3=_0x14213c[_0x2d8345(0x122)],_0x2c014b=new Map(),_0x1c0edd=_0x14213c[_0x2d8345(0x149)][_0x2d8345(0x158)](_0x6def50);_0x35bae3[_0x2d8345(0x129)]['on'](_0x2d8345(0x162),(_0x3f6293,_0x462aeb,_0x11c628,_0x166bd4)=>{const _0x41a286=_0x2d8345;if(!_0x166bd4&&_0x2c014b[_0x41a286(0x158)](_0x462aeb[_0x41a286(0x13e)]))return _0x2c014b[_0x41a286(0x158)](_0x462aeb[_0x41a286(0x13e)])[_0x41a286(0xf8)](),void _0x2c014b[_0x41a286(0x155)](_0x462aeb[_0x41a286(0x13e)]);const _0x39bce2=_0x462aeb[_0x41a286(0x13e)][_0x41a286(0x13a)](':')[0x2];if(_0x39bce2===_0x1c0edd[_0x41a286(0x110)])return;const _0x5b6fe2=_0x41a286(0x113)+_0x39bce2;_0x35bae3[_0x41a286(0x129)][_0x41a286(0x10a)](_0x5b6fe2)&&_0x14213c[_0x41a286(0x11d)][_0x41a286(0x14d)](_0x5b6fe2),_0x462aeb['on'](_0x41a286(0x165),(_0x56d41f,_0x16a130,_0x5a0d61)=>{const _0x19472e=_0x41a286;if(_0x19472e(0x14c)!=_0x16a130[_0x19472e(0x124)][_0x19472e(0x111)]&&_0x19472e(0x14c)==_0x462aeb[_0x19472e(0xf3)]()[_0x19472e(0x124)][_0x19472e(0x111)]&&!_0x2c014b[_0x19472e(0x10a)](_0x462aeb[_0x19472e(0x13e)])){const _0x353382=_0x35bae3[_0x19472e(0xfa)][_0x19472e(0x12e)](_0x5a0d61[_0x19472e(0x10c)]);if(_0x353382){const _0x4f57f7=_0x2ecfec[_0x19472e(0x141)](_0x353382);_0x2c014b[_0x19472e(0x142)](_0x462aeb[_0x19472e(0x13e)],_0x4f57f7),_0x4f57f7['on'](_0x19472e(0x165),(_0x56ec79,_0x38e8ba,_0x35063a)=>{const _0x1f1ba0=_0x19472e;if(_0x1f1ba0(0x14c)==_0x4f57f7[_0x1f1ba0(0x124)][_0x1f1ba0(0x111)]){const _0x424dc9=_0x35bae3[_0x1f1ba0(0xfa)][_0x1f1ba0(0x12e)](_0x35063a[_0x1f1ba0(0x10c)]);_0x424dc9?(_0x4f57f7[_0x1f1ba0(0x119)]=_0x424dc9[_0x1f1ba0(0x119)],_0x4f57f7[_0x1f1ba0(0x15c)]=_0x424dc9[_0x1f1ba0(0x15c)]):(_0x2c014b[_0x1f1ba0(0x155)](_0x462aeb[_0x1f1ba0(0x13e)]),_0x4f57f7[_0x1f1ba0(0xf8)]());}});}}});}),_0x35bae3[_0x2d8345(0x168)]['on'](_0x2d8345(0x150),()=>{const _0x203074=_0x2d8345;_0x2c014b[_0x203074(0xfb)]>0x0&&_0x35bae3[_0x203074(0x13b)]({'isUndoable':!0x1},_0x887d22=>{const _0x1fcd62=_0x203074;for(const [_0x4a73a7,_0xcffee2]of _0x2c014b)_0x1fcd62(0x14c)==_0x35bae3[_0x1fcd62(0x129)][_0x1fcd62(0x158)](_0x4a73a7)[_0x1fcd62(0xf3)]()[_0x1fcd62(0x124)][_0x1fcd62(0x111)]&&(re(_0x4a73a7[_0x1fcd62(0x13a)](':')[0x2],_0xcffee2[_0x1fcd62(0x12d)](),_0x35bae3,_0x887d22),_0xcffee2[_0x1fcd62(0xf8)]());_0x2c014b[_0x1fcd62(0x140)]();});});}(_0x5304c1),this[_0x3f921e(0xf6)][_0x3f921e(0x100)](_0x5e7fba[_0x3f921e(0x168)],_0x3f921e(0xe9),(_0x4f1c12,{key:_0x5557ac})=>{const _0x311900=_0x3f921e;_0x311900(0xf1)===_0x5557ac&&function(_0x467663){const _0x435d42=_0x311900;_0x467663[_0x435d42(0x11d)][_0x435d42(0xeb)][_0x435d42(0x150)](_0x546c24=>{const _0xd53a37=_0x435d42;for(const _0x5ef3e3 of _0x467663[_0xd53a37(0x122)][_0xd53a37(0x129)]){if(!_0x5ef3e3[_0xd53a37(0x13e)][_0xd53a37(0x154)](_0xd53a37(0x15d)))continue;const _0x18cf6f=_0x467663[_0xd53a37(0x11d)][_0xd53a37(0x152)][_0xd53a37(0xe8)](_0x5ef3e3[_0xd53a37(0x13e)]);if(_0x18cf6f){for(const _0x4e6aac of _0x18cf6f)_0x546c24[_0xd53a37(0xe6)](_0xd53a37(0x145),_0x4e6aac);}}});}(_0x5304c1);},{'useCapture':!0x0});}[_0x469163(0x161)](){const _0x8f9a23=_0x469163,_0x365931=this[_0x8f9a23(0x15e)],_0x1a9449=_0x365931[_0x8f9a23(0x15f)][_0x8f9a23(0x158)](_0x8f9a23(0x105));_0x1a9449&&_0x365931[_0x8f9a23(0x122)]['on'](_0x8f9a23(0x11b),(_0x52aeb1,_0x686fca)=>{const _0x1bb3db=_0x8f9a23,_0x5a739b=_0x686fca[0x0];if(!_0x5a739b[_0x1bb3db(0x127)])return;if(_0x1bb3db(0x16a)!=_0x5a739b[_0x1bb3db(0x123)]||!_0x5a739b[_0x1bb3db(0x13e)][_0x1bb3db(0x154)](_0x1bb3db(0x148)))return;const _0x3dab17=_0x5a739b[_0x1bb3db(0xff)];_0x1a9449[_0x1bb3db(0x167)][_0x1bb3db(0x10a)](_0x3dab17)&&(_0x5a739b[_0x1bb3db(0xe7)]=_0x5a739b[_0x1bb3db(0x102)]?_0x365931[_0x1bb3db(0x122)][_0x1bb3db(0x116)](_0x5a739b[_0x1bb3db(0x102)][_0x1bb3db(0x119)],_0x5a739b[_0x1bb3db(0x102)][_0x1bb3db(0x15c)]):null);},{'priority':_0x8f9a23(0xf2)});}[_0x469163(0x11f)](){const _0x2d1338=_0x469163;return this[_0x2d1338(0xf6)][_0x2d1338(0x10f)](),super[_0x2d1338(0x11f)]();}[_0x469163(0x130)](){const _0x38042e=_0x469163,_0x553888=this[_0x38042e(0x15e)],_0x502c0b=_0x553888[_0x38042e(0x122)][_0x38042e(0x168)],_0x26a587=_0x553888[_0x38042e(0x149)][_0x38042e(0x158)](_0x6def50);_0x553888[_0x38042e(0x122)][_0x38042e(0x13b)]({'isUndoable':!0x1},_0x2acae0=>{const _0x1244c8=_0x38042e,_0x111c2e=_0x1244c8(0x13f)+_0x26a587[_0x1244c8(0x110)],_0x22be25=_0x1244c8(0x113)+_0x26a587[_0x1244c8(0x110)],_0x54c3f5=_0x553888[_0x1244c8(0x122)][_0x1244c8(0x129)][_0x1244c8(0x10a)](_0x111c2e);_0x553888[_0x1244c8(0x11d)][_0x1244c8(0xeb)][_0x1244c8(0xec)]?re(_0x26a587[_0x1244c8(0x110)],_0x502c0b[_0x1244c8(0x169)][_0x1244c8(0x157)](),_0x553888[_0x1244c8(0x122)],_0x2acae0):_0x54c3f5&&(_0x2acae0[_0x1244c8(0x156)](_0x111c2e),_0x2acae0[_0x1244c8(0x156)](_0x22be25));});}}function _0x1e5f(){const _0x3d2d7a=['removeClass','newRange','markerNameToElements','keydown','nodeAfter','view','hasDomSelection','hasContent','element','conversion','add','Escape','highest','getRange','$text','addEventListener','_domEmitter','pluginName','detach','toDomElement','schema','size','classList','addMarker','6378239ocoEpa','batch','listenTo','for','oldRange','getSelectionClass','userPositionMarker','undo','setCustomProperty','<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>','span','markerToHighlight','has','color','deletionPosition','1400315exLTMV','getUserBySessionId','stopListening','mySessionId','rootName','isLimit','user:position:','markerToElement','innerHTML','createRange','isObject','data-session-id','start','init','applyOperation','ck-user__marker\x20','editing','updateMarker','destroy','getContainedElement','user:range','model','type','root','parent','isCollapsed','isDocumentOperation','render','markers','8BpSGmh','isInline','editingDowncast','toRange','getNearestSelectionRange','3393155LmVzSw','createUserMarkerOperations','createUIElement','6NamBrB','getAttribute','mouseenter','isPremiumPlugin','getCustomProperty','checkChild','</span>','remove','split','enqueueChange','contenteditable','isOfficialPlugin','name','user:range:','clear','fromRange','set','2RweXjg','getStart','ck-user__marker_hovered','requires','markerName','user:','plugins','isSimilar','ck-user__selection','$graveyard','reconvertMarker','11UyBpki','mouseleave','change','tableCell','mapper','markerRange','startsWith','delete','removeMarker','getFirstRange','get','5688760iKQbKP','3773478ePDXeG','getPositions','end','user:position','editor','commands','orderNumber','afterInit','update:user:range','getMarkerClass','UserMarkers','change:range','3046212EVLeod','_createdBatches','document','selection','marker','22274990LsrXZM'];_0x1e5f=function(){return _0x3d2d7a;};return _0x1e5f();}function re(_0x2c98f5,_0x3b3df6,_0xe428c8,_0x2801e7){const _0x1a66f9=_0x469163,_0x19087b=_0x1a66f9(0x13f)+_0x2c98f5,_0x3097e2=_0x1a66f9(0x113)+_0x2c98f5,_0x21ec26=_0x3b3df6[_0x1a66f9(0x120)]();let _0x59ef86=_0x3b3df6[_0x1a66f9(0x119)];_0x21ec26&&_0x21ec26['is'](_0x1a66f9(0xee),_0x1a66f9(0x151))&&(_0x59ef86=function(_0x331003,_0x55d67d){const _0x21f74b=_0x1a66f9;for(const _0xb8a9f8 of _0x331003[_0x21f74b(0x15b)]())if(_0x55d67d[_0x21f74b(0xfa)][_0x21f74b(0x137)](_0xb8a9f8,_0x21f74b(0xf4)))return _0xb8a9f8;}(_0x3b3df6,_0xe428c8),_0x3b3df6=_0x2801e7[_0x1a66f9(0x116)](_0x59ef86));const _0x4e7b63=_0x2801e7[_0x1a66f9(0x116)](_0x59ef86);_0xe428c8[_0x1a66f9(0x129)][_0x1a66f9(0x10a)](_0x19087b)?(_0x2801e7[_0x1a66f9(0x11e)](_0x19087b,{'range':_0x3b3df6}),_0x2801e7[_0x1a66f9(0x11e)](_0x3097e2,{'range':_0x4e7b63})):(_0x2801e7[_0x1a66f9(0xfd)](_0x19087b,{'range':_0x3b3df6,'usingOperation':!0x0}),_0x2801e7[_0x1a66f9(0xfd)](_0x3097e2,{'range':_0x4e7b63,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5844f9=_0x12f4;(function(_0x4b3143,_0x109213){const _0x23e8be=_0x12f4,_0x485e8f=_0x4b3143();while(!![]){try{const _0x25f645=parseInt(_0x23e8be(0x1eb))/0x1+-parseInt(_0x23e8be(0x1e8))/0x2*(-parseInt(_0x23e8be(0x1e0))/0x3)+-parseInt(_0x23e8be(0x200))/0x4*(parseInt(_0x23e8be(0x20f))/0x5)+-parseInt(_0x23e8be(0x21c))/0x6*(parseInt(_0x23e8be(0x21e))/0x7)+parseInt(_0x23e8be(0x206))/0x8*(parseInt(_0x23e8be(0x1e7))/0x9)+parseInt(_0x23e8be(0x202))/0xa*(-parseInt(_0x23e8be(0x1df))/0xb)+parseInt(_0x23e8be(0x21b))/0xc*(parseInt(_0x23e8be(0x1f2))/0xd);if(_0x25f645===_0x109213)break;else _0x485e8f['push'](_0x485e8f['shift']());}catch(_0x2478d2){_0x485e8f['push'](_0x485e8f['shift']());}}}(_0xb4df,0x459f9));import{ContextPlugin as _0x2d82cf}from'ckeditor5/src/core.js';function _0xb4df(){const _0x14f184=['12eOTjen','destroy','isOfficialPlugin','initialReconnectionInterval','websocketgateway-plugin-already-registered','DISCONNECTED','_domEmitter','9rZFvqk','103492UNmUjV','real-time-collaboration','state','74875gPtRnT','limitExceeded','isInReconnectionStack','token','_shouldPluginsReconnect','requires','disconnect','1653184VYdITO','cloudservices-reconnection-error','cloudservices-init','context','config','stopListening','pluginName','isPremiumPlugin','connect','constructor','all','_isBrowserOffline','function','from','1530120ZvWHUn','Connected\x20users\x20limit\x20exceeded','1080KGqhps','define','set','_reconnect','2460656dojCYH','add','listenTo','init','showWarning','websocketgateway-missing-token','CONNECTING','then','webSocketUrl','5YqMHEW','addToReconnectionStack','get','delete','has','CONNECTED','reconnect','removeFromReconnectionStack','CloudServices','websocketgateway-invalid-plugin-interface','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.','error','48LjUrQN','6MvsPDi','online','2374778QwqzVf','create','connection','_reconnectionStack','websocketgateway-missing-websocket-url','plugins','cloudServices.connectionTimeout','WebSocketGateway','catch','cloudServices.requestTimeout','bind','offline','change:me','connected','code','9284WIicNM'];_0xb4df=function(){return _0x14f184;};return _0xb4df();}import{DomEmitterMixin as _0x689433,CKEditorError as _0x4c07b9}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x13394d,WEB_SOCKET_GATEWAY_STATES as _0x536143}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x12f4(_0x1ce969,_0x244741){const _0xb4df94=_0xb4df();return _0x12f4=function(_0x12f477,_0x22304d){_0x12f477=_0x12f477-0x1de;let _0x283404=_0xb4df94[_0x12f477];return _0x283404;},_0x12f4(_0x1ce969,_0x244741);}import{Notification as _0x1caa18}from'ckeditor5/src/ui.js';class c extends _0x2d82cf{static get[_0x5844f9(0x1f0)](){const _0x1125ea=_0x5844f9;return[_0x1125ea(0x217),_0x1caa18];}static get[_0x5844f9(0x1f8)](){const _0x4351fa=_0x5844f9;return _0x4351fa(0x225);}static get[_0x5844f9(0x1e2)](){return!0x0;}static get[_0x5844f9(0x1f9)](){return!0x0;}constructor(_0x34f16a){const _0x1a6ec3=_0x5844f9;super(_0x34f16a),this[_0x1a6ec3(0x204)](_0x1a6ec3(0x1ea),_0x536143[_0x1a6ec3(0x214)]),this[_0x1a6ec3(0x204)](_0x1a6ec3(0x1fd),!0x1),this[_0x1a6ec3(0x221)]=new Set(),this[_0x1a6ec3(0x1ef)]=!0x1,this[_0x1a6ec3(0x1e6)]=Object[_0x1a6ec3(0x21f)](_0x689433);}[_0x5844f9(0x209)](){const _0x584ed9=_0x5844f9,_0x3bd2ca=this[_0x584ed9(0x1f5)],_0x190b10=_0x3bd2ca[_0x584ed9(0x223)][_0x584ed9(0x211)](_0x584ed9(0x217)),_0x4b8a99=_0x3bd2ca[_0x584ed9(0x223)][_0x584ed9(0x211)](_0x1caa18);if(!_0x190b10[_0x584ed9(0x1ee)])throw new _0x4c07b9(_0x584ed9(0x20b),this);if(!_0x190b10[_0x584ed9(0x20e)])throw new _0x4c07b9(_0x584ed9(0x222),this);return this[_0x584ed9(0x1e6)][_0x584ed9(0x208)](window,_0x584ed9(0x229),()=>this[_0x584ed9(0x1fd)]=!0x0),this[_0x584ed9(0x1e6)][_0x584ed9(0x208)](window,_0x584ed9(0x21d),()=>this[_0x584ed9(0x1fd)]=!0x1),this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x203)](_0x584ed9(0x224),0xa),this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x203)](_0x584ed9(0x227),0x14),c[_0x584ed9(0x225)][_0x584ed9(0x1fa)](_0x190b10[_0x584ed9(0x1ee)],_0x190b10[_0x584ed9(0x20e)],{'timeout':0x3e8*this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x211)](_0x584ed9(0x224)),'requestTimeout':0x3e8*this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x211)](_0x584ed9(0x227))})[_0x584ed9(0x20d)](_0x43ec92=>{const _0x2a8ff9=_0x584ed9;if(this[_0x2a8ff9(0x220)]=_0x43ec92,this[_0x2a8ff9(0x228)](_0x2a8ff9(0x1ea))['to'](_0x43ec92,_0x2a8ff9(0x1ea),this,_0x2a8ff9(0x1fd),(_0x563bac,_0x436069)=>(_0x2a8ff9(0x22b)!==_0x563bac&&(this[_0x2a8ff9(0x1ef)]=!0x0),_0x436069||_0x563bac!==_0x536143[_0x2a8ff9(0x214)]?_0x536143[_0x2a8ff9(0x1e5)]:this[_0x2a8ff9(0x1ea)]==_0x536143[_0x2a8ff9(0x1e5)]&&this[_0x2a8ff9(0x1ef)]?(this[_0x2a8ff9(0x1ef)]=!0x1,this[_0x2a8ff9(0x205)](),_0x536143[_0x2a8ff9(0x20c)]):_0x536143[_0x2a8ff9(0x214)])),this[_0x2a8ff9(0x220)]['on'](_0x2a8ff9(0x21a),(_0x3a16ae,_0x131170)=>{const _0x3db32e=_0x2a8ff9;if(_0x3db32e(0x1ec)!==_0x131170[_0x3db32e(0x1de)])throw console[_0x3db32e(0x21a)](_0x131170),new _0x4c07b9(_0x3db32e(0x1f4),null,{'originalError':_0x131170});_0x4b8a99[_0x3db32e(0x20a)](_0x3db32e(0x219),{'title':_0x3db32e(0x201),'namespace':_0x3db32e(0x1e9)});}),!_0x43ec92['me'])return new Promise(_0x52b685=>_0x43ec92['on'](_0x2a8ff9(0x22a),_0x52b685));})[_0x584ed9(0x226)](_0x4550d1=>{const _0x2d9551=_0x584ed9;throw console[_0x2d9551(0x21a)](_0x4550d1),new _0x4c07b9(_0x2d9551(0x1f4),null,{'originalError':_0x4550d1});});}[_0x5844f9(0x210)](_0x48abd3){const _0x5d3576=_0x5844f9;if(_0x5d3576(0x1fe)!=typeof _0x48abd3[_0x5d3576(0x215)])throw new _0x4c07b9(_0x5d3576(0x218),this);if(this[_0x5d3576(0x1ed)](_0x48abd3))throw new _0x4c07b9(_0x5d3576(0x1e4),this,{'name':_0x48abd3[_0x5d3576(0x1fb)][_0x5d3576(0x1f8)]});this[_0x5d3576(0x221)][_0x5d3576(0x207)](_0x48abd3);}[_0x5844f9(0x216)](_0x2900c1){const _0x5ccdb5=_0x5844f9;this[_0x5ccdb5(0x221)][_0x5ccdb5(0x212)](_0x2900c1);}[_0x5844f9(0x1ed)](_0x45aff7){const _0x36caf8=_0x5844f9;return this[_0x36caf8(0x221)][_0x36caf8(0x213)](_0x45aff7);}[_0x5844f9(0x205)](){const _0x2dc01e=_0x5844f9;return this[_0x2dc01e(0x220)][_0x2dc01e(0x215)]()[_0x2dc01e(0x20d)](()=>Promise[_0x2dc01e(0x1fc)](Array[_0x2dc01e(0x1ff)](this[_0x2dc01e(0x221)],_0x5175b5=>_0x5175b5[_0x2dc01e(0x215)]())))[_0x2dc01e(0x20d)](()=>this[_0x2dc01e(0x1ea)]=_0x536143[_0x2dc01e(0x214)])[_0x2dc01e(0x226)](_0x5eba58=>{const _0xc17e0=_0x2dc01e;throw console[_0xc17e0(0x21a)](_0x5eba58),new _0x4c07b9(_0xc17e0(0x1f3),this[_0xc17e0(0x1f5)]);});}[_0x5844f9(0x1f1)](){const _0x5493db=_0x5844f9;this[_0x5493db(0x220)]&&this[_0x5493db(0x220)][_0x5493db(0x1f1)](),this[_0x5493db(0x1ea)]=_0x536143[_0x5493db(0x1e5)],this[_0x5493db(0x1e6)][_0x5493db(0x1f7)]();}[_0x5844f9(0x1e1)](){const _0x31455b=_0x5844f9;this[_0x31455b(0x1f1)](),super[_0x31455b(0x1e1)]();}}c[_0x5844f9(0x225)]=_0x13394d,c[_0x5844f9(0x1e3)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x52c0(_0x54bdbb,_0x59d888){var _0x57ca7f=_0x57ca();return _0x52c0=function(_0x52c0ee,_0x2d4bd0){_0x52c0ee=_0x52c0ee-0x1e1;var _0x260b47=_0x57ca7f[_0x52c0ee];return _0x260b47;},_0x52c0(_0x54bdbb,_0x59d888);}var _0x5a7d49=_0x52c0;(function(_0x3ef368,_0x51ea13){var _0x453faa=_0x52c0,_0x269e91=_0x3ef368();while(!![]){try{var _0x5032b5=-parseInt(_0x453faa(0x1e4))/0x1*(-parseInt(_0x453faa(0x1e5))/0x2)+-parseInt(_0x453faa(0x1ec))/0x3*(parseInt(_0x453faa(0x1ee))/0x4)+parseInt(_0x453faa(0x1e8))/0x5+-parseInt(_0x453faa(0x1ef))/0x6+parseInt(_0x453faa(0x1e6))/0x7+parseInt(_0x453faa(0x1e9))/0x8*(parseInt(_0x453faa(0x1ed))/0x9)+-parseInt(_0x453faa(0x1ea))/0xa;if(_0x5032b5===_0x51ea13)break;else _0x269e91['push'](_0x269e91['shift']());}catch(_0x4bfd5a){_0x269e91['push'](_0x269e91['shift']());}}}(_0x57ca,0x32153));import{Plugin as _0x3dfefe}from'ckeditor5/src/core.js';import _0x5c9545 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x3dfefe{static get[_0x5a7d49(0x1eb)](){return[_0x5c9545];}static get[_0x5a7d49(0x1e1)](){var _0x55f36c=_0x5a7d49;return _0x55f36c(0x1e7);}static get[_0x5a7d49(0x1e3)](){return!0x0;}static get[_0x5a7d49(0x1e2)](){return!0x0;}}function _0x57ca(){var _0x2a5555=['isPremiumPlugin','isOfficialPlugin','1tOepth','333466yIeLPg','2471350iYszVA','RealTimeCollaborativeEditing','49285EPtKyK','231576MsScOY','1080990hhKeKD','requires','61275YarrUO','72iXjJBr','40TNnUFl','1462368qaMGDn','pluginName'];_0x57ca=function(){return _0x2a5555;};return _0x57ca();}
|