@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.16 → 44.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5bcd38=_0x40c8;function _0x40c8(_0x4b6249,_0x2919c7){const _0x425f2f=_0x425f();return _0x40c8=function(_0x40c8ed,_0x7a374e){_0x40c8ed=_0x40c8ed-0xaf;let _0x40edf2=_0x425f2f[_0x40c8ed];return _0x40edf2;},_0x40c8(_0x4b6249,_0x2919c7);}(function(_0x2d9c03,_0x42f1d9){const _0x162ad1=_0x40c8,_0x1b7740=_0x2d9c03();while(!![]){try{const _0x5a4830=-parseInt(_0x162ad1(0xf0))/0x1*(parseInt(_0x162ad1(0xbb))/0x2)+-parseInt(_0x162ad1(0xcb))/0x3*(-parseInt(_0x162ad1(0xb5))/0x4)+parseInt(_0x162ad1(0x111))/0x5*(-parseInt(_0x162ad1(0xe7))/0x6)+-parseInt(_0x162ad1(0xdf))/0x7*(parseInt(_0x162ad1(0xc0))/0x8)+parseInt(_0x162ad1(0x109))/0x9*(-parseInt(_0x162ad1(0x101))/0xa)+-parseInt(_0x162ad1(0xb4))/0xb+parseInt(_0x162ad1(0xf8))/0xc*(parseInt(_0x162ad1(0xd4))/0xd);if(_0x5a4830===_0x42f1d9)break;else _0x1b7740['push'](_0x1b7740['shift']());}catch(_0xc9e596){_0x1b7740['push'](_0x1b7740['shift']());}}}(_0x425f,0xe4c44));import{Context as _0x27ddbe,ContextPlugin as _0x16a7b0}from'ckeditor5/src/core.js';import{CKEditorError as _0xf35265}from'ckeditor5/src/utils.js';import{Users as _0x49f7bc}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4d10d7,User as _0x49d1d3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3ff68c from'../realtimecollaborativeediting/websocketgateway.js';import _0xec6a46 from'../realtimecollaborativeediting/sessions.js';function _0x425f(){const _0x49b6a5=['addComment','requires','catch','deletedAt','143YyHKdR','cloudservicescommentsadapter-service-not-exist','resolvedAt','setPermissions','plugins','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','map','Permissions','off','config','3073cdLMoC','comments','message','CloudServicesCommentsAdapter','code','resolveCommentThread','sessionAdd:','assign','678VGAxgI','createdAt','removeComment','updateCommentThread','attributes','commentId','getMany','adapter','from','41aQsSjM','getCommentThread','commentThreadUpdated','_terminateService','delete','context','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reopen','6409524wmIott','userId','remove','cloud-services-internal-error:\x20Not\x20connected.','destroy','pluginName','commentThreadReopened','unregister','permissions','10XPeOat','collaboration.channelId','authorId','commentAdded','addToReconnectionStack','getConnectedSessions','addCommentThread','commentRemoved','15094413ojQqgZ','disconnect','mySessionId','_fetchMissingUsersForThreads','has','commentThreadId','resolvedBy','CommentsRepository','79585XkWdHp','commentThreadAdded','getUser','size','CommentsService','startsWith','init','addUser','404','connect','isPremiumPlugin','keys','988306HDkoWg','4kUHrEC','register','resolve','commentThreadResolved','add','isOfficialPlugin','37130OypWgC','commentThreadRemoved','listenTo','reconnect','commentUpdated','32152SulYFk','get','cloud-services-internal-error:\x20Request\x20timeout.','reopenCommentThread','update','updateComment','cloudservicescommentsadapter-connect-already-connected','_connectService','_setUpService','content','getCommentThreads','3458283gkfHAr','getComment','_services','set','_getService'];_0x425f=function(){return _0x49b6a5;};return _0x425f();}class a extends _0x16a7b0{static get[_0x5bcd38(0xd1)](){const _0x512b76=_0x5bcd38;return[_0x3ff68c,_0x512b76(0x110),_0xec6a46,_0x49f7bc];}static get[_0x5bcd38(0xfd)](){const _0x1dbffc=_0x5bcd38;return _0x1dbffc(0xe2);}static get[_0x5bcd38(0xba)](){return!0x0;}static get[_0x5bcd38(0xb2)](){return!0x0;}constructor(_0xda07c8){const _0x159814=_0x5bcd38;super(_0xda07c8),this[_0x159814(0xcd)]=new Map();}async[_0x5bcd38(0x117)](){const _0x75d2a0=_0x5bcd38,_0x2473b0=this[_0x75d2a0(0xf5)],_0x199e7f=_0x2473b0[_0x75d2a0(0xd8)][_0x75d2a0(0xc1)](_0x75d2a0(0x110));if(_0x2473b0[_0x75d2a0(0xd8)][_0x75d2a0(0xc1)](_0x3ff68c)[_0x75d2a0(0x105)](this),_0x199e7f[_0x75d2a0(0xee)]={'addCommentThread':async({channelId:_0x3fa892,threadId:_0x174c05,comments:_0x574a60,resolvedAt:_0x18906c,resolvedBy:_0x428830,context:_0x32d692,attributes:_0x533a71})=>{const _0x10095b=_0x75d2a0,_0x571e16=await this[_0x10095b(0xcf)](_0x3fa892)[_0x10095b(0x107)]({'commentThreadId':_0x174c05,'comments':_0x574a60[_0x10095b(0xdb)](_0x1d281c=>function(_0x1d1da0,_0x5d94ba,_0x23dc43){const _0x48b70c=_0x10095b;return{'commentThreadId':_0x23dc43,'commentId':_0x1d1da0[_0x48b70c(0xec)],'userId':_0x1d1da0[_0x48b70c(0x103)],'content':_0x1d1da0[_0x48b70c(0xc9)],'documentId':_0x5d94ba,'createdAt':_0x1d1da0[_0x48b70c(0xe8)],'attributes':_0x1d1da0[_0x48b70c(0xeb)]||{}};}(_0x1d281c,_0x3fa892,_0x174c05)),'resolvedAt':_0x18906c,'resolvedBy':_0x428830,'context':_0x32d692,'attributes':_0x533a71})[_0x10095b(0xd2)](R);return{'threadId':_0x571e16[_0x10095b(0x10e)],'comments':_0x571e16[_0x10095b(0xe0)]};},'getCommentThread':async({channelId:_0x4aa065,threadId:_0x13b75e})=>{const _0x25608d=_0x75d2a0,_0x551fcb=await this[_0x25608d(0xcf)](_0x4aa065)[_0x25608d(0xf1)](_0x13b75e)[_0x25608d(0xd2)](R);return _0x551fcb[_0x25608d(0xd3)]?null:(await this[_0x25608d(0x10c)]([_0x551fcb]),{'threadId':_0x551fcb[_0x25608d(0x10e)],'comments':_0x551fcb[_0x25608d(0xe0)][_0x25608d(0xdb)](S),'context':_0x551fcb[_0x25608d(0xf5)],'resolvedAt':_0x551fcb[_0x25608d(0xd6)],'resolvedBy':_0x551fcb[_0x25608d(0x10f)],'attributes':_0x551fcb[_0x25608d(0xeb)]||{}});},'updateCommentThread':async({channelId:_0x29dd3c,threadId:_0x371b26,context:_0x11dcbd,unlinkedAt:_0x462673,attributes:_0x43abcf})=>this[_0x75d2a0(0xcf)](_0x29dd3c)[_0x75d2a0(0xea)]({'commentThreadId':_0x371b26,'context':_0x11dcbd,'attributes':_0x43abcf,'unlinkedAt':_0x462673})[_0x75d2a0(0xd2)](B)[_0x75d2a0(0xd2)](R),'resolveCommentThread':async({channelId:_0x4e10ff,threadId:_0x270677})=>{const _0x272559=_0x75d2a0,_0x45b66c=await this[_0x272559(0xcf)](_0x4e10ff)[_0x272559(0xe4)](_0x270677)[_0x272559(0xd2)](B)[_0x272559(0xd2)](R);return{'threadId':_0x45b66c[_0x272559(0x10e)],'resolvedAt':_0x45b66c[_0x272559(0xd6)],'resolvedBy':_0x45b66c[_0x272559(0x10f)]};},'reopenCommentThread':async({channelId:_0x3b5e2d,threadId:_0x30fadd})=>this[_0x75d2a0(0xcf)](_0x3b5e2d)[_0x75d2a0(0xc3)](_0x30fadd)[_0x75d2a0(0xd2)](B)[_0x75d2a0(0xd2)](R),'removeCommentThread':({channelId:_0x36a593,threadId:_0x3484dd})=>this[_0x75d2a0(0xcf)](_0x36a593)[_0x75d2a0(0xd9)](_0x3484dd)[_0x75d2a0(0xd2)](B)[_0x75d2a0(0xd2)](R),'addComment':({channelId:_0x449a32,threadId:_0xac75fc,commentId:_0x274056,content:_0x1e06ae,attributes:_0xea0633})=>this[_0x75d2a0(0xcf)](_0x449a32)[_0x75d2a0(0xd0)](_0xac75fc,_0x274056,_0x1e06ae,_0xea0633)[_0x75d2a0(0xd2)](R),'updateComment':({channelId:_0x25af0e,threadId:_0x1e9f2c,commentId:_0x12db77,content:_0x26bd18,attributes:_0xf16df6})=>this[_0x75d2a0(0xcf)](_0x25af0e)[_0x75d2a0(0xc5)](_0x1e9f2c,_0x12db77,_0x26bd18,_0xf16df6)[_0x75d2a0(0xd2)](B)[_0x75d2a0(0xd2)](R),'removeComment':({channelId:_0x473ab9,threadId:_0x4b69e6,commentId:_0x39f5c1})=>this[_0x75d2a0(0xcf)](_0x473ab9)[_0x75d2a0(0xe9)](_0x4b69e6,_0x39f5c1)[_0x75d2a0(0xd2)](B)[_0x75d2a0(0xd2)](R)},_0x2473b0 instanceof _0x27ddbe){const _0x5276d9=_0x2473b0[_0x75d2a0(0xde)][_0x75d2a0(0xc1)](_0x75d2a0(0x102)),_0xe7d864=_0x2473b0[_0x75d2a0(0xd8)][_0x75d2a0(0xc1)](_0xec6a46);await this[_0x75d2a0(0xc8)](_0x5276d9);const _0x452ba8=await this[_0x75d2a0(0xcd)][_0x75d2a0(0xc1)](_0x5276d9)[_0x75d2a0(0x106)]();this[_0x75d2a0(0xbd)](_0xe7d864,_0x75d2a0(0xe5)+_0x5276d9,(_0x1944ee,{session:_0x197274})=>{const _0x1a9387=_0x75d2a0;_0x197274['id']===_0xe7d864[_0x1a9387(0x10b)]&&(_0x1944ee[_0x1a9387(0xdd)](),this[_0x1a9387(0xf5)][_0x1a9387(0xd8)][_0x1a9387(0xc1)](_0x1a9387(0xdc))[_0x1a9387(0xd7)](_0x197274[_0x1a9387(0x100)],_0x5276d9));}),_0xe7d864[_0x75d2a0(0xb6)](_0x5276d9,_0x452ba8);}}async[_0x5bcd38(0xc8)](_0x363285){const _0x52fb6c=_0x5bcd38;if(this[_0x52fb6c(0xcd)][_0x52fb6c(0x10d)](_0x363285))throw new _0xf35265(_0x52fb6c(0xc6),null,{'channelId':_0x363285});const _0x57974b=this[_0x52fb6c(0xf5)][_0x52fb6c(0xd8)][_0x52fb6c(0xc1)](_0x52fb6c(0x110)),_0x212647=new a[(_0x52fb6c(0x115))](_0x363285);this[_0x52fb6c(0xcd)][_0x52fb6c(0xce)](_0x363285,_0x212647),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0x112),(_0x500193,_0x335b3f)=>{const _0x5bd676=_0x52fb6c,{commentThreadId:_0x9b05e7,documentId:_0x4fb2e5,context:_0x4a0fef,attributes:_0x47d323,resolvedAt:_0x256b65,resolvedBy:_0x5cc464,comments:_0x324e26}=_0x335b3f;_0x57974b[_0x5bd676(0xf1)](_0x9b05e7)||_0x57974b[_0x5bd676(0x107)]({'threadId':_0x9b05e7,'channelId':_0x4fb2e5,'comments':_0x324e26?_0x324e26[_0x5bd676(0xdb)](S):[],'context':_0x4a0fef,'attributes':_0x47d323,'resolvedAt':_0x256b65,'resolvedBy':_0x5cc464,'isFromAdapter':!0x0});}),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0xf2),(_0x5b6f30,{commentThreadId:_0x1a9367,documentId:_0x3a0087,context:_0x160754,unlinkedAt:_0x1780eb,attributes:_0x1242f1})=>{const _0x3d684d=_0x52fb6c;_0x57974b[_0x3d684d(0xf1)](_0x1a9367)&&_0x57974b[_0x3d684d(0xea)]({'threadId':_0x1a9367,'channelId':_0x3a0087,'context':_0x160754,'unlinkedAt':_0x1780eb,'attributes':_0x1242f1,'isFromAdapter':!0x0});}),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0xb8),(_0x2fb2c8,{commentThreadId:_0x164f7f,resolvedBy:_0x530c74,resolvedAt:_0x234a6a})=>{const _0x190ac7=_0x52fb6c,_0x431fd9=_0x57974b[_0x190ac7(0xf1)](_0x164f7f);_0x431fd9&&_0x431fd9[_0x190ac7(0xb7)]({'resolvedBy':_0x530c74,'resolvedAt':_0x234a6a,'isFromAdapter':!0x0});}),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0xfe),(_0x4381c4,{commentThreadId:_0x409cbe})=>{const _0x4c0451=_0x52fb6c,_0xfff469=_0x57974b[_0x4c0451(0xf1)](_0x409cbe);_0xfff469&&_0xfff469[_0x4c0451(0xf7)]({'isFromAdapter':!0x0});}),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0xbc),(_0x4ff55b,{commentThreadId:_0x13b12c})=>{const _0x2c3170=_0x52fb6c,_0x48e44b=_0x57974b[_0x2c3170(0xf1)](_0x13b12c);_0x48e44b&&_0x48e44b[_0x2c3170(0xfa)]({'isFromAdapter':!0x0});}),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0x104),(_0x2db341,_0x208c65)=>{const _0x18f795=_0x52fb6c,_0x11a828=_0x208c65[_0x18f795(0x10e)],_0x319fa7=_0x57974b[_0x18f795(0xf1)](_0x11a828);_0x319fa7&&_0x319fa7[_0x18f795(0xd0)]({...S(_0x208c65),'isFromAdapter':!0x0});}),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0xbf),(_0x2b34d0,{commentThreadId:_0x1c246a,commentId:_0x211150,content:_0x3c414d,attributes:_0x20ddc3})=>{const _0x4e0560=_0x52fb6c,_0x2cd7ef=_0x57974b[_0x4e0560(0xf1)](_0x1c246a);if(_0x2cd7ef){const _0x47a24a=_0x2cd7ef[_0x4e0560(0xcc)](_0x211150);_0x47a24a&&_0x47a24a[_0x4e0560(0xc4)]({'content':_0x3c414d,'attributes':_0x20ddc3,'isFromAdapter':!0x0});}}),this[_0x52fb6c(0xbd)](_0x212647,_0x52fb6c(0x108),(_0x31ce40,{commentThreadId:_0x54c64e,commentId:_0x35f5bb})=>{const _0x290dbd=_0x52fb6c,_0x46b56f=_0x57974b[_0x290dbd(0xf1)](_0x54c64e);if(_0x46b56f){const _0x46459e=_0x46b56f[_0x290dbd(0xcc)](_0x35f5bb);_0x46459e&&_0x46459e[_0x290dbd(0xfa)]({'isFromAdapter':!0x0});}}),await this[_0x52fb6c(0xc7)](_0x363285);}[_0x5bcd38(0xfc)](){const _0x51e981=_0x5bcd38;if(this[_0x51e981(0xf5)]instanceof _0x27ddbe){const _0x13e675=this[_0x51e981(0xf5)][_0x51e981(0xde)][_0x51e981(0xc1)](_0x51e981(0x102));this[_0x51e981(0xf3)](_0x13e675);}}[_0x5bcd38(0xf3)](_0x4ad8fc){const _0x4919d4=_0x5bcd38;if(!this[_0x4919d4(0xcd)][_0x4919d4(0x10d)](_0x4ad8fc))throw new _0xf35265(_0x4919d4(0xda),null,{'channelId':_0x4ad8fc});this[_0x4919d4(0xcf)](_0x4ad8fc)[_0x4919d4(0x10a)](),this[_0x4919d4(0xcd)][_0x4919d4(0xf4)](_0x4ad8fc);}async[_0x5bcd38(0xbe)](){const _0x4e0c3b=_0x5bcd38;for(const _0x253e2e of this[_0x4e0c3b(0xcd)][_0x4e0c3b(0xb3)]())await this[_0x4e0c3b(0xc7)](_0x253e2e);if(this[_0x4e0c3b(0xf5)]instanceof _0x27ddbe){const _0x4e8050=this[_0x4e0c3b(0xf5)][_0x4e0c3b(0xde)][_0x4e0c3b(0xc1)](_0x4e0c3b(0x102)),_0x187009=this[_0x4e0c3b(0xf5)][_0x4e0c3b(0xd8)][_0x4e0c3b(0xc1)](_0xec6a46);_0x187009[_0x4e0c3b(0xff)](_0x4e8050);const _0x414f3e=await this[_0x4e0c3b(0xcd)][_0x4e0c3b(0xc1)](_0x4e8050)[_0x4e0c3b(0x106)]();_0x187009[_0x4e0c3b(0xb6)](_0x4e8050,_0x414f3e);}}async[_0x5bcd38(0xc7)](_0x16a324){const _0x92955b=_0x5bcd38,{connection:_0x5af234}=this[_0x92955b(0xf5)][_0x92955b(0xd8)][_0x92955b(0xc1)](_0x3ff68c),_0x15d568=this[_0x92955b(0xf5)][_0x92955b(0xd8)][_0x92955b(0xc1)](_0x92955b(0x110)),_0x1634a8=this[_0x92955b(0xcd)][_0x92955b(0xc1)](_0x16a324),_0x4163ea=await _0x1634a8[_0x92955b(0xb1)](_0x5af234);await this[_0x92955b(0x10c)](_0x4163ea);const _0x42b0aa=new Set(Array[_0x92955b(0xef)](_0x15d568[_0x92955b(0xca)]({'channelId':_0x16a324}),_0x47ac57=>_0x47ac57['id']));for(const _0x21823d of _0x4163ea)_0x21823d[_0x92955b(0xd3)]||_0x42b0aa[_0x92955b(0xf4)](_0x21823d[_0x92955b(0x10e)]);for(const _0x3b2205 of _0x42b0aa)_0x15d568[_0x92955b(0xf1)](_0x3b2205)[_0x92955b(0xfa)]({'isFromAdapter':!0x0});for(const _0x28a49c of _0x4163ea){let _0x50f550=_0x15d568[_0x92955b(0xf1)](_0x28a49c[_0x92955b(0x10e)]);const {commentThreadId:_0x156cd9,context:_0x117612,attributes:_0x2acf5b,resolvedBy:_0x4ee542,resolvedAt:_0x4740ac,unlinkedAt:_0x1c13ed,deletedAt:_0x348e7d}=_0x28a49c;if(_0x348e7d)continue;_0x50f550||(_0x50f550=_0x15d568[_0x92955b(0x107)]({'channelId':_0x16a324,'threadId':_0x156cd9,'context':_0x117612,'attributes':_0x2acf5b||{},'resolvedBy':_0x4ee542,'resolvedAt':_0x4740ac,'unlinkedAt':_0x1c13ed,'isFromAdapter':!0x0}));const _0x110987=new Set(Array[_0x92955b(0xef)](_0x50f550[_0x92955b(0xe0)],_0x44f924=>_0x44f924['id']));for(const _0x223ca7 of _0x28a49c[_0x92955b(0xe0)])_0x110987[_0x92955b(0xf4)](_0x223ca7[_0x92955b(0xec)]);for(const _0x8074bf of _0x110987)_0x50f550[_0x92955b(0xcc)](_0x8074bf)[_0x92955b(0xfa)]({'isFromAdapter':!0x0});for(const _0x26cfaf of _0x28a49c[_0x92955b(0xe0)]){const _0x215133=_0x50f550[_0x92955b(0xcc)](_0x26cfaf[_0x92955b(0xec)]);_0x215133?_0x215133[_0x92955b(0xc9)]!==_0x26cfaf[_0x92955b(0xc9)]&&_0x215133[_0x92955b(0xc4)]({'content':_0x26cfaf[_0x92955b(0xc9)],'isFromAdapter':!0x0}):_0x50f550[_0x92955b(0xd0)](Object[_0x92955b(0xe6)](S(_0x26cfaf),{'isFromAdapter':!0x0}));}}}[_0x5bcd38(0xcf)](_0x4c544e){const _0x1523ed=_0x5bcd38;if(!this[_0x1523ed(0xcd)][_0x1523ed(0x10d)](_0x4c544e))throw new _0xf35265(_0x1523ed(0xd5),null,{'channelId':_0x4c544e});return this[_0x1523ed(0xcd)][_0x1523ed(0xc1)](_0x4c544e);}async[_0x5bcd38(0x10c)](_0x1f57fb){const _0x22820b=_0x5bcd38,_0x494593=this[_0x22820b(0xf5)][_0x22820b(0xd8)][_0x22820b(0xc1)](_0x49f7bc),{connection:_0x386c5a}=this[_0x22820b(0xf5)][_0x22820b(0xd8)][_0x22820b(0xc1)](_0x3ff68c),_0x1521a8=new Set();for(const {resolvedBy:_0x5ea21d,comments:_0x2f2933}of _0x1f57fb){_0x5ea21d&&!_0x494593[_0x22820b(0x113)](_0x5ea21d)&&_0x1521a8[_0x22820b(0xb9)](_0x5ea21d);for(const {userId:_0x3cbcfb}of _0x2f2933)_0x494593[_0x22820b(0x113)](_0x3cbcfb)||_0x1521a8[_0x22820b(0xb9)](_0x3cbcfb);}if(0x0===_0x1521a8[_0x22820b(0x114)])return;const _0x5aa278=await _0x49d1d3[_0x22820b(0xed)](_0x386c5a,Array[_0x22820b(0xef)](_0x1521a8));for(const _0x57d3d0 of _0x5aa278)_0x494593[_0x22820b(0x113)](_0x57d3d0['id'])||_0x494593[_0x22820b(0xaf)](_0x57d3d0);}}a[_0x5bcd38(0x115)]=_0x4d10d7;export default a;async function B(_0x42f0cc){const _0x4cda66=_0x5bcd38;if(_0x4cda66(0xb0)!==_0x42f0cc[_0x4cda66(0xe3)])throw _0x42f0cc;}function R(_0x52d288){const _0xfecb6b=_0x5bcd38;if((_0x4c0bd4=_0x52d288)[_0xfecb6b(0xe1)][_0xfecb6b(0x116)](_0xfecb6b(0xf6))||_0x4c0bd4[_0xfecb6b(0xe1)][_0xfecb6b(0x116)](_0xfecb6b(0xfb))||_0x4c0bd4[_0xfecb6b(0xe1)][_0xfecb6b(0x116)](_0xfecb6b(0xc2)))return new Promise(()=>{});var _0x4c0bd4;throw _0x52d288;}function S(_0x2b6686){const _0x450fdb=_0x5bcd38;return{'threadId':_0x2b6686[_0x450fdb(0x10e)],'commentId':_0x2b6686[_0x450fdb(0xec)],'content':_0x2b6686[_0x450fdb(0xc9)],'createdAt':_0x2b6686[_0x450fdb(0xe8)],'authorId':_0x2b6686[_0x450fdb(0xf9)],'attributes':_0x2b6686[_0x450fdb(0xeb)]||{}};}
|
|
23
|
+
const _0x4d6ed5=_0x20bf;function _0x20bf(_0x2c09c0,_0x2c2676){const _0x544c31=_0x544c();return _0x20bf=function(_0x20bf3d,_0x2f00d9){_0x20bf3d=_0x20bf3d-0xf4;let _0x249a12=_0x544c31[_0x20bf3d];return _0x249a12;},_0x20bf(_0x2c09c0,_0x2c2676);}(function(_0x105856,_0x54139a){const _0x2c3136=_0x20bf,_0x22c706=_0x105856();while(!![]){try{const _0x3de420=-parseInt(_0x2c3136(0x116))/0x1*(-parseInt(_0x2c3136(0x13c))/0x2)+parseInt(_0x2c3136(0x103))/0x3+parseInt(_0x2c3136(0x12f))/0x4*(-parseInt(_0x2c3136(0x108))/0x5)+parseInt(_0x2c3136(0x122))/0x6+parseInt(_0x2c3136(0xfc))/0x7+parseInt(_0x2c3136(0xff))/0x8+-parseInt(_0x2c3136(0x109))/0x9*(parseInt(_0x2c3136(0x154))/0xa);if(_0x3de420===_0x54139a)break;else _0x22c706['push'](_0x22c706['shift']());}catch(_0x4f1633){_0x22c706['push'](_0x22c706['shift']());}}}(_0x544c,0x57c69));import{Context as _0x365a16,ContextPlugin as _0x53394c}from'ckeditor5/src/core.js';import{CKEditorError as _0x20ace5}from'ckeditor5/src/utils.js';import{Users as _0x44879c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x51a8c4,User as _0x5a6219}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x544c(){const _0x461d78=['350049DyfTWb','permissions','catch','createdAt','connect','155lkgQLn','11637666JsuSgW','isOfficialPlugin','map','removeComment','config','addUser','resolvedAt','CommentsService','plugins','reconnect','attributes','commentThreadAdded','_connectService','678899CEypwW','remove','code','_services','deletedAt','pluginName','cloud-services-internal-error:\x20Not\x20connected.','commentThreadUpdated','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','startsWith','2476692iRVDsz','disconnect','get','Permissions','addComment','setPermissions','requires','resolveCommentThread','_terminateService','resolvedBy','keys','commentThreadReopened','commentThreadResolved','66564JWsmzT','from','add','off','commentRemoved','getCommentThread','commentId','getConnectedSessions','resolve','cloudservicescommentsadapter-connect-already-connected','content','commentUpdated','init','2bawxlZ','getUser','_fetchMissingUsersForThreads','_setUpService','cloud-services-internal-error:\x20Request\x20timeout.','authorId','CommentsRepository','message','reopenCommentThread','update','mySessionId','destroy','assign','getCommentThreads','commentAdded','adapter','_getService','cloudservicescommentsadapter-service-not-exist','CloudServicesCommentsAdapter','unregister','commentThreadId','set','comments','sessionAdd:','10wkcxhR','has','collaboration.channelId','getMany','removeCommentThread','isPremiumPlugin','addCommentThread','commentThreadRemoved','404','context','listenTo','register','userId','reopen','4328065Kxjzqm','updateComment','size','2734520hbwbUA','delete','updateCommentThread','getComment'];_0x544c=function(){return _0x461d78;};return _0x544c();}import _0x5e83a1 from'../realtimecollaborativeediting/websocketgateway.js';import _0xbe83af from'../realtimecollaborativeediting/sessions.js';class a extends _0x53394c{static get[_0x4d6ed5(0x128)](){const _0x4894db=_0x4d6ed5;return[_0x5e83a1,_0x4894db(0x142),_0xbe83af,_0x44879c];}static get[_0x4d6ed5(0x11b)](){const _0x42c6f8=_0x4d6ed5;return _0x42c6f8(0x14e);}static get[_0x4d6ed5(0x10a)](){return!0x0;}static get[_0x4d6ed5(0x159)](){return!0x0;}constructor(_0x395f61){const _0x3d8aed=_0x4d6ed5;super(_0x395f61),this[_0x3d8aed(0x119)]=new Map();}async[_0x4d6ed5(0x13b)](){const _0x472fc0=_0x4d6ed5,_0xe554d6=this[_0x472fc0(0xf7)],_0x4090cf=_0xe554d6[_0x472fc0(0x111)][_0x472fc0(0x124)](_0x472fc0(0x142));if(_0xe554d6[_0x472fc0(0x111)][_0x472fc0(0x124)](_0x5e83a1)[_0x472fc0(0x120)](this),_0x4090cf[_0x472fc0(0x14b)]={'addCommentThread':async({channelId:_0x35cea6,threadId:_0x1398cf,comments:_0x5e8152,resolvedAt:_0x1bc005,resolvedBy:_0x5b4ccb,context:_0x4b8732,attributes:_0x56bbe4})=>{const _0x298f85=_0x472fc0,_0x39457f=await this[_0x298f85(0x14c)](_0x35cea6)[_0x298f85(0xf4)]({'commentThreadId':_0x1398cf,'comments':_0x5e8152[_0x298f85(0x10b)](_0x3e652f=>function(_0x46824d,_0x51d2f8,_0x25c3bf){const _0x2c27b6=_0x298f85;return{'commentThreadId':_0x25c3bf,'commentId':_0x46824d[_0x2c27b6(0x135)],'userId':_0x46824d[_0x2c27b6(0x141)],'content':_0x46824d[_0x2c27b6(0x139)],'documentId':_0x51d2f8,'createdAt':_0x46824d[_0x2c27b6(0x106)],'attributes':_0x46824d[_0x2c27b6(0x113)]||{}};}(_0x3e652f,_0x35cea6,_0x1398cf)),'resolvedAt':_0x1bc005,'resolvedBy':_0x5b4ccb,'context':_0x4b8732,'attributes':_0x56bbe4})[_0x298f85(0x105)](R);return{'threadId':_0x39457f[_0x298f85(0x150)],'comments':_0x39457f[_0x298f85(0x152)]};},'getCommentThread':async({channelId:_0xa57da5,threadId:_0x124f7d})=>{const _0x31e11b=_0x472fc0,_0x2f54c5=await this[_0x31e11b(0x14c)](_0xa57da5)[_0x31e11b(0x134)](_0x124f7d)[_0x31e11b(0x105)](R);return _0x2f54c5[_0x31e11b(0x11a)]?null:(await this[_0x31e11b(0x13e)]([_0x2f54c5]),{'threadId':_0x2f54c5[_0x31e11b(0x150)],'comments':_0x2f54c5[_0x31e11b(0x152)][_0x31e11b(0x10b)](S),'context':_0x2f54c5[_0x31e11b(0xf7)],'resolvedAt':_0x2f54c5[_0x31e11b(0x10f)],'resolvedBy':_0x2f54c5[_0x31e11b(0x12b)],'attributes':_0x2f54c5[_0x31e11b(0x113)]||{}});},'updateCommentThread':async({channelId:_0x1a721b,threadId:_0x137774,context:_0x2d3aad,unlinkedAt:_0x40c398,attributes:_0x242262})=>this[_0x472fc0(0x14c)](_0x1a721b)[_0x472fc0(0x101)]({'commentThreadId':_0x137774,'context':_0x2d3aad,'attributes':_0x242262,'unlinkedAt':_0x40c398})[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'resolveCommentThread':async({channelId:_0x59b4dd,threadId:_0x1684bf})=>{const _0x54d046=_0x472fc0,_0x308ccf=await this[_0x54d046(0x14c)](_0x59b4dd)[_0x54d046(0x129)](_0x1684bf)[_0x54d046(0x105)](B)[_0x54d046(0x105)](R);return{'threadId':_0x308ccf[_0x54d046(0x150)],'resolvedAt':_0x308ccf[_0x54d046(0x10f)],'resolvedBy':_0x308ccf[_0x54d046(0x12b)]};},'reopenCommentThread':async({channelId:_0x2022b6,threadId:_0x4f323d})=>this[_0x472fc0(0x14c)](_0x2022b6)[_0x472fc0(0x144)](_0x4f323d)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'removeCommentThread':({channelId:_0x41e3e9,threadId:_0x338b7a})=>this[_0x472fc0(0x14c)](_0x41e3e9)[_0x472fc0(0x158)](_0x338b7a)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'addComment':({channelId:_0x1fd5ee,threadId:_0x3d8980,commentId:_0x574f71,content:_0x1d1f47,attributes:_0x5eb77b})=>this[_0x472fc0(0x14c)](_0x1fd5ee)[_0x472fc0(0x126)](_0x3d8980,_0x574f71,_0x1d1f47,_0x5eb77b)[_0x472fc0(0x105)](R),'updateComment':({channelId:_0x55c880,threadId:_0x1ad276,commentId:_0x5143f,content:_0xa8ed5e,attributes:_0x4ee56d})=>this[_0x472fc0(0x14c)](_0x55c880)[_0x472fc0(0xfd)](_0x1ad276,_0x5143f,_0xa8ed5e,_0x4ee56d)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'removeComment':({channelId:_0x17116c,threadId:_0x501f04,commentId:_0x4cdfd3})=>this[_0x472fc0(0x14c)](_0x17116c)[_0x472fc0(0x10c)](_0x501f04,_0x4cdfd3)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R)},_0xe554d6 instanceof _0x365a16){const _0x407e5d=_0xe554d6[_0x472fc0(0x10d)][_0x472fc0(0x124)](_0x472fc0(0x156)),_0x1e1ed9=_0xe554d6[_0x472fc0(0x111)][_0x472fc0(0x124)](_0xbe83af);await this[_0x472fc0(0x13f)](_0x407e5d);const _0x24b018=await this[_0x472fc0(0x119)][_0x472fc0(0x124)](_0x407e5d)[_0x472fc0(0x136)]();this[_0x472fc0(0xf8)](_0x1e1ed9,_0x472fc0(0x153)+_0x407e5d,(_0x3accdc,{session:_0x54c5fc})=>{const _0x2a5afd=_0x472fc0;_0x54c5fc['id']===_0x1e1ed9[_0x2a5afd(0x146)]&&(_0x3accdc[_0x2a5afd(0x132)](),this[_0x2a5afd(0xf7)][_0x2a5afd(0x111)][_0x2a5afd(0x124)](_0x2a5afd(0x125))[_0x2a5afd(0x127)](_0x54c5fc[_0x2a5afd(0x104)],_0x407e5d));}),_0x1e1ed9[_0x472fc0(0xf9)](_0x407e5d,_0x24b018);}}async[_0x4d6ed5(0x13f)](_0x37cd28){const _0xd3934b=_0x4d6ed5;if(this[_0xd3934b(0x119)][_0xd3934b(0x155)](_0x37cd28))throw new _0x20ace5(_0xd3934b(0x138),null,{'channelId':_0x37cd28});const _0x274597=this[_0xd3934b(0xf7)][_0xd3934b(0x111)][_0xd3934b(0x124)](_0xd3934b(0x142)),_0x18dde6=new a[(_0xd3934b(0x110))](_0x37cd28);this[_0xd3934b(0x119)][_0xd3934b(0x151)](_0x37cd28,_0x18dde6),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x114),(_0x52e449,_0x23317d)=>{const _0x5eed60=_0xd3934b,{commentThreadId:_0x3ee6e3,documentId:_0x4071e2,context:_0x5ccd59,attributes:_0x40d286,resolvedAt:_0x2bd199,resolvedBy:_0x2ff0c4,comments:_0x2e280b}=_0x23317d;_0x274597[_0x5eed60(0x134)](_0x3ee6e3)||_0x274597[_0x5eed60(0xf4)]({'threadId':_0x3ee6e3,'channelId':_0x4071e2,'comments':_0x2e280b?_0x2e280b[_0x5eed60(0x10b)](S):[],'context':_0x5ccd59,'attributes':_0x40d286,'resolvedAt':_0x2bd199,'resolvedBy':_0x2ff0c4,'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x11d),(_0x3853bd,{commentThreadId:_0x57766f,documentId:_0x552a89,context:_0x475e14,unlinkedAt:_0x422253,attributes:_0x3e376f})=>{const _0x4ed2c5=_0xd3934b;_0x274597[_0x4ed2c5(0x134)](_0x57766f)&&_0x274597[_0x4ed2c5(0x101)]({'threadId':_0x57766f,'channelId':_0x552a89,'context':_0x475e14,'unlinkedAt':_0x422253,'attributes':_0x3e376f,'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x12e),(_0x446271,{commentThreadId:_0x48efb6,resolvedBy:_0x3fe9df,resolvedAt:_0x3363ae})=>{const _0xda489f=_0xd3934b,_0x2ff375=_0x274597[_0xda489f(0x134)](_0x48efb6);_0x2ff375&&_0x2ff375[_0xda489f(0x137)]({'resolvedBy':_0x3fe9df,'resolvedAt':_0x3363ae,'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x12d),(_0x7279da,{commentThreadId:_0x688f1a})=>{const _0x2a4642=_0xd3934b,_0x59aa81=_0x274597[_0x2a4642(0x134)](_0x688f1a);_0x59aa81&&_0x59aa81[_0x2a4642(0xfb)]({'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0xf5),(_0x236b41,{commentThreadId:_0x1e5cb9})=>{const _0x1cc2a9=_0xd3934b,_0x49ed21=_0x274597[_0x1cc2a9(0x134)](_0x1e5cb9);_0x49ed21&&_0x49ed21[_0x1cc2a9(0x117)]({'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x14a),(_0x23458d,_0x596fac)=>{const _0x359a97=_0xd3934b,_0x146e6e=_0x596fac[_0x359a97(0x150)],_0xf920f3=_0x274597[_0x359a97(0x134)](_0x146e6e);_0xf920f3&&_0xf920f3[_0x359a97(0x126)]({...S(_0x596fac),'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x13a),(_0x126000,{commentThreadId:_0x246c36,commentId:_0x348078,content:_0x48dc59,attributes:_0xc2b5c2})=>{const _0x148c42=_0xd3934b,_0x4c69c3=_0x274597[_0x148c42(0x134)](_0x246c36);if(_0x4c69c3){const _0x3a6327=_0x4c69c3[_0x148c42(0x102)](_0x348078);_0x3a6327&&_0x3a6327[_0x148c42(0x145)]({'content':_0x48dc59,'attributes':_0xc2b5c2,'isFromAdapter':!0x0});}}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x133),(_0x310742,{commentThreadId:_0xeca536,commentId:_0x42b5d4})=>{const _0x386270=_0xd3934b,_0x4d4e83=_0x274597[_0x386270(0x134)](_0xeca536);if(_0x4d4e83){const _0x595c78=_0x4d4e83[_0x386270(0x102)](_0x42b5d4);_0x595c78&&_0x595c78[_0x386270(0x117)]({'isFromAdapter':!0x0});}}),await this[_0xd3934b(0x115)](_0x37cd28);}[_0x4d6ed5(0x147)](){const _0x53f2ca=_0x4d6ed5;if(this[_0x53f2ca(0xf7)]instanceof _0x365a16){const _0xf3119a=this[_0x53f2ca(0xf7)][_0x53f2ca(0x10d)][_0x53f2ca(0x124)](_0x53f2ca(0x156));this[_0x53f2ca(0x12a)](_0xf3119a);}}[_0x4d6ed5(0x12a)](_0x5541d8){const _0x1a3c65=_0x4d6ed5;if(!this[_0x1a3c65(0x119)][_0x1a3c65(0x155)](_0x5541d8))throw new _0x20ace5(_0x1a3c65(0x11e),null,{'channelId':_0x5541d8});this[_0x1a3c65(0x14c)](_0x5541d8)[_0x1a3c65(0x123)](),this[_0x1a3c65(0x119)][_0x1a3c65(0x100)](_0x5541d8);}async[_0x4d6ed5(0x112)](){const _0xf48d8e=_0x4d6ed5;for(const _0x255636 of this[_0xf48d8e(0x119)][_0xf48d8e(0x12c)]())await this[_0xf48d8e(0x115)](_0x255636);if(this[_0xf48d8e(0xf7)]instanceof _0x365a16){const _0x3bb0a8=this[_0xf48d8e(0xf7)][_0xf48d8e(0x10d)][_0xf48d8e(0x124)](_0xf48d8e(0x156)),_0x2983dc=this[_0xf48d8e(0xf7)][_0xf48d8e(0x111)][_0xf48d8e(0x124)](_0xbe83af);_0x2983dc[_0xf48d8e(0x14f)](_0x3bb0a8);const _0x42b85b=await this[_0xf48d8e(0x119)][_0xf48d8e(0x124)](_0x3bb0a8)[_0xf48d8e(0x136)]();_0x2983dc[_0xf48d8e(0xf9)](_0x3bb0a8,_0x42b85b);}}async[_0x4d6ed5(0x115)](_0xe21981){const _0x40c25e=_0x4d6ed5,{connection:_0x3ed9c3}=this[_0x40c25e(0xf7)][_0x40c25e(0x111)][_0x40c25e(0x124)](_0x5e83a1),_0x25d7d4=this[_0x40c25e(0xf7)][_0x40c25e(0x111)][_0x40c25e(0x124)](_0x40c25e(0x142)),_0x2ce6c2=this[_0x40c25e(0x119)][_0x40c25e(0x124)](_0xe21981),_0x437455=await _0x2ce6c2[_0x40c25e(0x107)](_0x3ed9c3);await this[_0x40c25e(0x13e)](_0x437455);const _0x1f94a5=new Set(Array[_0x40c25e(0x130)](_0x25d7d4[_0x40c25e(0x149)]({'channelId':_0xe21981}),_0x4e1765=>_0x4e1765['id']));for(const _0x274131 of _0x437455)_0x274131[_0x40c25e(0x11a)]||_0x1f94a5[_0x40c25e(0x100)](_0x274131[_0x40c25e(0x150)]);for(const _0x9c5e44 of _0x1f94a5)_0x25d7d4[_0x40c25e(0x134)](_0x9c5e44)[_0x40c25e(0x117)]({'isFromAdapter':!0x0});for(const _0x4a4d82 of _0x437455){let _0x3e7ed0=_0x25d7d4[_0x40c25e(0x134)](_0x4a4d82[_0x40c25e(0x150)]);const {commentThreadId:_0x47c9a0,context:_0x4bcb0f,attributes:_0x1ed526,resolvedBy:_0x11ba5c,resolvedAt:_0x418c75,unlinkedAt:_0x116750,deletedAt:_0x4e051a}=_0x4a4d82;if(_0x4e051a)continue;_0x3e7ed0||(_0x3e7ed0=_0x25d7d4[_0x40c25e(0xf4)]({'channelId':_0xe21981,'threadId':_0x47c9a0,'context':_0x4bcb0f,'attributes':_0x1ed526||{},'resolvedBy':_0x11ba5c,'resolvedAt':_0x418c75,'unlinkedAt':_0x116750,'isFromAdapter':!0x0}));const _0x146ba1=new Set(Array[_0x40c25e(0x130)](_0x3e7ed0[_0x40c25e(0x152)],_0xf36d08=>_0xf36d08['id']));for(const _0x3a74f7 of _0x4a4d82[_0x40c25e(0x152)])_0x146ba1[_0x40c25e(0x100)](_0x3a74f7[_0x40c25e(0x135)]);for(const _0x103409 of _0x146ba1)_0x3e7ed0[_0x40c25e(0x102)](_0x103409)[_0x40c25e(0x117)]({'isFromAdapter':!0x0});for(const _0x3f6cd7 of _0x4a4d82[_0x40c25e(0x152)]){const _0x23a9ca=_0x3e7ed0[_0x40c25e(0x102)](_0x3f6cd7[_0x40c25e(0x135)]);_0x23a9ca?_0x23a9ca[_0x40c25e(0x139)]!==_0x3f6cd7[_0x40c25e(0x139)]&&_0x23a9ca[_0x40c25e(0x145)]({'content':_0x3f6cd7[_0x40c25e(0x139)],'isFromAdapter':!0x0}):_0x3e7ed0[_0x40c25e(0x126)](Object[_0x40c25e(0x148)](S(_0x3f6cd7),{'isFromAdapter':!0x0}));}}}[_0x4d6ed5(0x14c)](_0x468a87){const _0x22a208=_0x4d6ed5;if(!this[_0x22a208(0x119)][_0x22a208(0x155)](_0x468a87))throw new _0x20ace5(_0x22a208(0x14d),null,{'channelId':_0x468a87});return this[_0x22a208(0x119)][_0x22a208(0x124)](_0x468a87);}async[_0x4d6ed5(0x13e)](_0x12d8d5){const _0x2c4838=_0x4d6ed5,_0xd1444f=this[_0x2c4838(0xf7)][_0x2c4838(0x111)][_0x2c4838(0x124)](_0x44879c),{connection:_0x2dcbbb}=this[_0x2c4838(0xf7)][_0x2c4838(0x111)][_0x2c4838(0x124)](_0x5e83a1),_0x5080bd=new Set();for(const {resolvedBy:_0x3b1f9e,comments:_0x99b9ea}of _0x12d8d5){_0x3b1f9e&&!_0xd1444f[_0x2c4838(0x13d)](_0x3b1f9e)&&_0x5080bd[_0x2c4838(0x131)](_0x3b1f9e);for(const {userId:_0x3550dc}of _0x99b9ea)_0xd1444f[_0x2c4838(0x13d)](_0x3550dc)||_0x5080bd[_0x2c4838(0x131)](_0x3550dc);}if(0x0===_0x5080bd[_0x2c4838(0xfe)])return;const _0x9828eb=await _0x5a6219[_0x2c4838(0x157)](_0x2dcbbb,Array[_0x2c4838(0x130)](_0x5080bd));for(const _0x2e8abb of _0x9828eb)_0xd1444f[_0x2c4838(0x13d)](_0x2e8abb['id'])||_0xd1444f[_0x2c4838(0x10e)](_0x2e8abb);}}a[_0x4d6ed5(0x110)]=_0x51a8c4;export default a;async function B(_0x519383){const _0x5ae462=_0x4d6ed5;if(_0x5ae462(0xf6)!==_0x519383[_0x5ae462(0x118)])throw _0x519383;}function R(_0x1f8902){const _0x2ede84=_0x4d6ed5;if((_0x2ff326=_0x1f8902)[_0x2ede84(0x143)][_0x2ede84(0x121)](_0x2ede84(0x11f))||_0x2ff326[_0x2ede84(0x143)][_0x2ede84(0x121)](_0x2ede84(0x11c))||_0x2ff326[_0x2ede84(0x143)][_0x2ede84(0x121)](_0x2ede84(0x140)))return new Promise(()=>{});var _0x2ff326;throw _0x1f8902;}function S(_0x364a24){const _0x172105=_0x4d6ed5;return{'threadId':_0x364a24[_0x172105(0x150)],'commentId':_0x364a24[_0x172105(0x135)],'content':_0x364a24[_0x172105(0x139)],'createdAt':_0x364a24[_0x172105(0x106)],'authorId':_0x364a24[_0x172105(0xfa)],'attributes':_0x364a24[_0x172105(0x113)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x36fe(){const _0x2a10eb=['requires','953690uutvEp','CommentsEditing','140808aOBZjn','change:state','CommentsRepository','_setUpService','switchReadOnly','listenTo','pluginName','collaboration.channelId','RealTimeCollaborativeComments','_terminateService','data','destroy','isThreadsLoadingPaused','4Kfbflv','9BQPRld','4658748JVduuc','7058tBRlkj','60ShTsoH','Comments','isPremiumPlugin','init','get','plugins','17abcLZp','437679TEzteF','editor','506526qZxttO','isOfficialPlugin','connected','config','14sHktfi','ready','once','20420ITobNK'];_0x36fe=function(){return _0x2a10eb;};return _0x36fe();}const _0x367db2=_0x47c0;(function(_0x675aae,_0x50bb01){const _0x51753f=_0x47c0,_0x3be5e8=_0x675aae();while(!![]){try{const _0x51e1ab=parseInt(_0x51753f(0x12b))/0x1*(-parseInt(_0x51753f(0x124))/0x2)+parseInt(_0x51753f(0x12e))/0x3*(-parseInt(_0x51753f(0x121))/0x4)+parseInt(_0x51753f(0x135))/0x5*(parseInt(_0x51753f(0x125))/0x6)+parseInt(_0x51753f(0x132))/0x7*(-parseInt(_0x51753f(0x139))/0x8)+-parseInt(_0x51753f(0x122))/0x9*(parseInt(_0x51753f(0x137))/0xa)+parseInt(_0x51753f(0x12c))/0xb+parseInt(_0x51753f(0x123))/0xc;if(_0x51e1ab===_0x50bb01)break;else _0x3be5e8['push'](_0x3be5e8['shift']());}catch(_0x1ad02a){_0x3be5e8['push'](_0x3be5e8['shift']());}}}(_0x36fe,0x1ab8c));import{Plugin as _0x3ea0c9}from'ckeditor5/src/core.js';import _0xcadb8b from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x47c0(_0x56d4a2,_0x20bf8e){const _0x36feab=_0x36fe();return _0x47c0=function(_0x47c046,_0x591afe){_0x47c046=_0x47c046-0x119;let _0x5ae5bf=_0x36feab[_0x47c046];return _0x5ae5bf;},_0x47c0(_0x56d4a2,_0x20bf8e);}import _0x90e225 from'./realtimecollaborativeediting.js';import _0x41d1d8 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3ea0c9{static get[_0x367db2(0x136)](){const _0xfe7f00=_0x367db2;return[_0xfe7f00(0x126),_0xcadb8b,_0x90e225,_0x41d1d8];}static get[_0x367db2(0x11a)](){const _0x5e7ffb=_0x367db2;return _0x5e7ffb(0x11c);}static get[_0x367db2(0x12f)](){return!0x0;}static get[_0x367db2(0x127)](){return!0x0;}[_0x367db2(0x128)](){const _0x4fc25b=_0x367db2,_0x3cfd87=this[_0x4fc25b(0x12d)][_0x4fc25b(0x12a)][_0x4fc25b(0x129)](_0x41d1d8),_0x4ae776=this[_0x4fc25b(0x12d)][_0x4fc25b(0x12a)][_0x4fc25b(0x129)](_0x4fc25b(0x138)),_0xccf165=this[_0x4fc25b(0x12d)][_0x4fc25b(0x12a)][_0x4fc25b(0x129)](_0xcadb8b);return this[_0x4fc25b(0x12d)][_0x4fc25b(0x11e)][_0x4fc25b(0x134)](_0x4fc25b(0x133),()=>{const _0x48411d=_0x4fc25b;this[_0x48411d(0x119)](_0x3cfd87,_0x48411d(0x13a),(_0xe745c4,_0x3f8855,_0xae04f9)=>{const _0x4d3b5d=_0x48411d;_0x4ae776[_0x4d3b5d(0x120)]=_0x4d3b5d(0x130)!==_0xae04f9;});}),this[_0x4fc25b(0x119)](_0x3cfd87,_0x4fc25b(0x13a),(_0x557f17,_0x326e3c,_0x4c2902)=>{const _0x45937e=_0x4fc25b;this[_0x45937e(0x12d)][_0x45937e(0x12a)][_0x45937e(0x129)](_0x45937e(0x13b))[_0x45937e(0x13d)](_0x45937e(0x130)!==_0x4c2902);}),_0xccf165[_0x4fc25b(0x13c)](this[_0x4fc25b(0x12d)][_0x4fc25b(0x131)][_0x4fc25b(0x129)](_0x4fc25b(0x11b)));}[_0x367db2(0x11f)](){const _0x4e56e9=_0x367db2;this[_0x4e56e9(0x12d)][_0x4e56e9(0x12a)][_0x4e56e9(0x129)](_0xcadb8b)[_0x4e56e9(0x11d)](this[_0x4e56e9(0x12d)][_0x4e56e9(0x131)][_0x4e56e9(0x129)](_0x4e56e9(0x11b))),super[_0x4e56e9(0x11f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2664b1=_0x2cb3;(function(_0x43524a,_0x1b2d46){const _0x54404b=_0x2cb3,_0x4b4d8c=_0x43524a();while(!![]){try{const _0x430948=parseInt(_0x54404b(0x1fa))/0x1*(parseInt(_0x54404b(0x153))/0x2)+-parseInt(_0x54404b(0x1f4))/0x3+parseInt(_0x54404b(0x17c))/0x4+parseInt(_0x54404b(0x151))/0x5+-parseInt(_0x54404b(0x147))/0x6*(-parseInt(_0x54404b(0x233))/0x7)+-parseInt(_0x54404b(0x230))/0x8*(parseInt(_0x54404b(0x1c9))/0x9)+parseInt(_0x54404b(0x1ae))/0xa;if(_0x430948===_0x1b2d46)break;else _0x4b4d8c['push'](_0x4b4d8c['shift']());}catch(_0x229322){_0x4b4d8c['push'](_0x4b4d8c['shift']());}}}(_0x2081,0x99ab4));import{Plugin as _0xa11391,PendingActions as _0x5688e7}from'ckeditor5/src/core.js';import{CKEditorError as _0x46bfbb,version as _0x3cda87,uid as _0x252e24}from'ckeditor5/src/utils.js';import{Notification as _0x20e6aa}from'ckeditor5/src/ui.js';import{transformSets as _0x1cc309,NoOperation as _0x590a12,InsertOperation as _0x391b54,MarkerOperation as _0xdf317b,RootAttributeOperation as _0x54ecd3,OperationFactory as _0x46f8ba,History as _0x5471e7}from'ckeditor5/src/engine.js';import _0x249190 from'./websocketgateway.js';import _0x418b9f from'./sessions.js';import _0x3922eb from'./usermarkers.js';import{getTranslation as _0x3b5c4c}from'../common-translations.js';import{Compressor as _0x4529fb}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5668e1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x559810,CollaborativeEditingService as _0x32e961}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;function _0x2cb3(_0x1d5e56,_0x7f32e8){const _0x2081d4=_0x2081();return _0x2cb3=function(_0x2cb3aa,_0xeac9b5){_0x2cb3aa=_0x2cb3aa-0x132;let _0xf7726d=_0x2081d4[_0x2cb3aa];return _0xf7726d;},_0x2cb3(_0x1d5e56,_0x7f32e8);}class l extends _0xa11391{static get[_0x2664b1(0x215)](){return[_0x249190,_0x418b9f,_0x3922eb,_0x5688e7,_0x5668e1,_0x20e6aa];}static get[_0x2664b1(0x1f9)](){const _0x32f4f6=_0x2664b1;return _0x32f4f6(0x186);}static get[_0x2664b1(0x200)](){return!0x0;}static get[_0x2664b1(0x1fd)](){return!0x0;}get[_0x2664b1(0x203)](){const _0x953cec=_0x2664b1;return this[_0x953cec(0x195)]+this[_0x953cec(0x1b9)];}get[_0x2664b1(0x195)](){const _0x313664=_0x2664b1;return this[_0x313664(0x16d)][_0x313664(0x177)]-this[_0x313664(0x1b9)];}get[_0x2664b1(0x1c1)](){const _0x48f6fb=_0x2664b1,_0x230c0f=this[_0x48f6fb(0x16d)][_0x48f6fb(0x1bb)]();for(let _0x45ffac=_0x230c0f[_0x48f6fb(0x1a5)]-0x1;_0x45ffac>=0x0;_0x45ffac--){const _0x1798ec=_0x230c0f[_0x45ffac];if(!this[_0x48f6fb(0x219)][_0x48f6fb(0x189)](_0x1798ec))return _0x1798ec[_0x48f6fb(0x1d4)]+0x1-this[_0x48f6fb(0x1b9)];}return 0x0;}constructor(_0x669eb1){const _0x45fd3a=_0x2664b1;if(super(_0x669eb1),this[_0x45fd3a(0x1b9)]=0x0,this[_0x45fd3a(0x20f)]=null,this[_0x45fd3a(0x16d)]=new _0x5471e7(),this[_0x45fd3a(0x225)][_0x45fd3a(0x173)][_0x45fd3a(0x191)](_0x45fd3a(0x1d7),{}),this[_0x45fd3a(0x1e2)]=this[_0x45fd3a(0x225)][_0x45fd3a(0x173)][_0x45fd3a(0x1e6)](_0x45fd3a(0x216)),!this[_0x45fd3a(0x1e2)])throw new _0x46bfbb(_0x45fd3a(0x17e),this);const _0x35fe9b=_0x669eb1[_0x45fd3a(0x173)][_0x45fd3a(0x1e6)](_0x45fd3a(0x1a7))||_0x3cda87;this[_0x45fd3a(0x1d9)]=new l[(_0x45fd3a(0x227))](_0x35fe9b,this[_0x45fd3a(0x1e2)]),this[_0x45fd3a(0x192)]=this[_0x45fd3a(0x225)][_0x45fd3a(0x152)][_0x45fd3a(0x1ba)],this[_0x45fd3a(0x1fc)]=new _0x4529fb(),this[_0x45fd3a(0x1c4)]=[],this[_0x45fd3a(0x19b)]=new WeakSet(),this[_0x45fd3a(0x149)]=new Set(),this[_0x45fd3a(0x1b5)](_0x45fd3a(0x1af),!0x1),this[_0x45fd3a(0x1b5)](_0x45fd3a(0x1b0),!0x1),this[_0x45fd3a(0x1bd)]=null,this[_0x45fd3a(0x132)]=!0x1,this[_0x45fd3a(0x1fe)]=null,this[_0x45fd3a(0x18a)]=0x12c,this[_0x45fd3a(0x13b)]=this[_0x45fd3a(0x18a)],this[_0x45fd3a(0x207)]=null,this[_0x45fd3a(0x219)]=new WeakSet(),this[_0x45fd3a(0x1de)]=new X(this[_0x45fd3a(0x219)]);}[_0x2664b1(0x19f)](){const _0x207b02=_0x2664b1,_0x22f057=this[_0x207b02(0x225)],_0x42a44a=_0x22f057[_0x207b02(0x1a9)][_0x207b02(0x1e6)](_0x5668e1),_0x53a5c2=_0x22f057[_0x207b02(0x1a9)][_0x207b02(0x1e6)](_0x249190);this[_0x207b02(0x166)](_0x42a44a,_0x207b02(0x1a8),(_0x3d993e,_0x301544)=>{const _0x2fa558=_0x207b02,_0x49b748=_0x301544[0x0];_0x49b748[_0x2fa558(0x1aa)]&&(_0x3d993e[_0x2fa558(0x1b3)]=_0x42a44a[_0x2fa558(0x1f3)](_0x49b748[_0x2fa558(0x1aa)]),_0x3d993e[_0x2fa558(0x1be)]()),null===_0x49b748[_0x2fa558(0x1aa)]&&(_0x3d993e[_0x2fa558(0x1b3)]=null,_0x3d993e[_0x2fa558(0x1be)]());},{'priority':_0x207b02(0x212)}),this[_0x207b02(0x166)](_0x22f057[_0x207b02(0x152)][_0x207b02(0x1ba)][_0x207b02(0x18d)],_0x207b02(0x1f7),(_0x25d4d1,_0x2d8bb0)=>{const _0x52b23f=_0x207b02;_0x2d8bb0[_0x52b23f(0x21c)]&&this[_0x52b23f(0x217)]();}),this[_0x207b02(0x166)](_0x22f057[_0x207b02(0x165)][_0x207b02(0x190)],_0x207b02(0x1bc),()=>{const _0x152434=_0x207b02;this[_0x152434(0x217)]();}),this[_0x207b02(0x1b4)](),_0x22f057[_0x207b02(0x152)]['on'](_0x207b02(0x145),(_0x299201,_0x13e1ac)=>{const _0x2208fc=_0x207b02,_0x1aafe8=_0x13e1ac[0x0];_0x1aafe8[_0x2208fc(0x1d6)]&&(this[_0x2208fc(0x13a)](_0x1aafe8),this[_0x2208fc(0x16c)]()&&this[_0x2208fc(0x21e)]());}),this[_0x207b02(0x139)](),this[_0x207b02(0x14b)](_0x207b02(0x237))['to'](_0x53a5c2,_0x207b02(0x22e),this,_0x207b02(0x1b0),(_0x4c6e5d,_0x2b29ac)=>_0x207b02(0x141)===_0x4c6e5d&&!_0x2b29ac),this['on'](_0x207b02(0x13f),()=>{const _0x5e68f7=_0x207b02;this[_0x5e68f7(0x237)]?_0x22f057[_0x5e68f7(0x1b2)](_0x5e68f7(0x182)):_0x22f057[_0x5e68f7(0x1f2)](_0x5e68f7(0x182));}),this[_0x207b02(0x237)]?_0x22f057[_0x207b02(0x1b2)](_0x207b02(0x182)):_0x22f057[_0x207b02(0x1f2)](_0x207b02(0x182)),this[_0x207b02(0x1b5)](_0x207b02(0x1d8),!0x1);}async[_0x2664b1(0x1bf)](){const _0x5b1853=_0x2664b1,_0x14673e=this[_0x5b1853(0x225)][_0x5b1853(0x1a9)][_0x5b1853(0x1e6)](_0x418b9f),_0x5b396e=this[_0x5b1853(0x225)][_0x5b1853(0x1a9)][_0x5b1853(0x1e6)](_0x249190);try{this[_0x5b1853(0x1af)]=!0x0,_0x14673e[_0x5b1853(0x1a2)](this[_0x5b1853(0x1e2)]);const _0x3658ae=await this[_0x5b1853(0x1d9)][_0x5b1853(0x1bf)](_0x5b396e[_0x5b1853(0x146)],this[_0x5b1853(0x1c1)]);await this[_0x5b1853(0x1d5)](_0x3658ae)&&(this[_0x5b1853(0x1af)]=!0x1,this[_0x5b1853(0x16e)]());const _0x5e82f5=await this[_0x5b1853(0x1d9)][_0x5b1853(0x157)]();_0x14673e[_0x5b1853(0x1f6)](this[_0x5b1853(0x1e2)],_0x5e82f5),this[_0x5b1853(0x14e)](),this[_0x5b1853(0x1d8)]=!0x0;}catch(_0x4f57c8){if(function(_0x30f351){const _0x5b328b=_0x5b1853;return _0x5b328b(0x1f1)===_0x30f351[_0x5b328b(0x1cb)];}(_0x4f57c8)&&this[_0x5b1853(0x20f)])await this[_0x5b1853(0x170)]();else{if(function(_0x2ad46e){const _0x1da983=_0x5b1853;return _0x1da983(0x234)===_0x2ad46e[_0x1da983(0x1cb)];}(_0x4f57c8)){const _0x1e3933=_0x3b5c4c(this[_0x5b1853(0x225)][_0x5b1853(0x148)],_0x5b1853(0x133));this[_0x5b1853(0x218)](_0x1e3933);}else{if(!(_0x4f57c8 instanceof J))throw _0x4f57c8;this[_0x5b1853(0x218)]();}}}}[_0x2664b1(0x1dd)](){const _0x5c8be2=_0x2664b1,_0x56a77f=this[_0x5c8be2(0x225)][_0x5c8be2(0x1a9)][_0x5c8be2(0x1e6)](_0x249190),_0x16b768=this[_0x5c8be2(0x225)][_0x5c8be2(0x1a9)][_0x5c8be2(0x1e6)](_0x418b9f);this[_0x5c8be2(0x225)][_0x5c8be2(0x1f2)](_0x5c8be2(0x206)),_0x16b768[_0x5c8be2(0x223)][_0x5c8be2(0x189)](this[_0x5c8be2(0x1e2)])&&_0x16b768[_0x5c8be2(0x1a2)](this[_0x5c8be2(0x1e2)]),_0x56a77f[_0x5c8be2(0x21a)](this),this[_0x5c8be2(0x1cc)](),super[_0x5c8be2(0x1dd)]();}async[_0x2664b1(0x1d5)](_0x557128){const _0x10fca5=_0x2664b1;if(this[_0x10fca5(0x20f)]!==_0x557128[_0x10fca5(0x20f)]&&this[_0x10fca5(0x207)]!==_0x557128[_0x10fca5(0x16b)])throw new J();return this[_0x10fca5(0x20f)]=_0x557128[_0x10fca5(0x20f)],this[_0x10fca5(0x19d)]([],{..._0x557128,'wereChangesApplied':!0x1,'data':_0x557128[_0x10fca5(0x18e)]},_0x10fca5(0x1bf));}async[_0x2664b1(0x184)](_0x327387,_0x580bf7=!0x1){const _0x4abea5=_0x2664b1,{connection:_0x59af72}=this[_0x4abea5(0x225)][_0x4abea5(0x1a9)][_0x4abea5(0x1e6)](_0x249190);l[_0x4abea5(0x227)][_0x4abea5(0x157)](_0x59af72,this[_0x4abea5(0x1e2)])[_0x4abea5(0x22d)](_0xfb2edc=>this[_0x4abea5(0x15d)](_0xfb2edc))[_0x4abea5(0x194)](_0x3d9fb6=>{const _0x323716=_0x4abea5;this[_0x323716(0x15c)](_0x323716(0x1b8),_0x3d9fb6);}),this[_0x4abea5(0x166)](this[_0x4abea5(0x1d9)],_0x4abea5(0x21d),this[_0x4abea5(0x1b1)][_0x4abea5(0x14b)](this)),this[_0x4abea5(0x166)](this[_0x4abea5(0x1d9)],_0x4abea5(0x20c),(_0x5d3582,_0x4b2593)=>{const _0x4b5832=_0x4abea5;this[_0x4b5832(0x15c)](_0x4b5832(0x16f),_0x4b2593);}),this[_0x4abea5(0x166)](this[_0x4abea5(0x1d9)],_0x4abea5(0x156),()=>{const _0x583843=_0x4abea5;this[_0x583843(0x1d8)]=!0x1;});const _0x3ae6ad=this[_0x4abea5(0x1de)][_0x4abea5(0x178)](_0x327387);this[_0x4abea5(0x1af)]=!0x0;const _0x3d12a7=await this[_0x4abea5(0x1d9)][_0x4abea5(0x202)](_0x59af72,this[_0x4abea5(0x1e0)](_0x327387),_0x3ae6ad);if(this[_0x4abea5(0x20f)]=_0x3d12a7[_0x4abea5(0x20f)],_0x580bf7){if(!_0x3d12a7[_0x4abea5(0x1c8)])return void this[_0x4abea5(0x218)]();this[_0x4abea5(0x1af)]=!0x1,this[_0x4abea5(0x16e)](),this[_0x4abea5(0x16d)][_0x4abea5(0x1e7)](),this[_0x4abea5(0x1b9)]=_0x3d12a7[_0x4abea5(0x1ea)],this[_0x4abea5(0x16d)][_0x4abea5(0x177)]=this[_0x4abea5(0x1b9)],await this[_0x4abea5(0x19d)](_0x327387,_0x3d12a7,_0x4abea5(0x22b));}else await this[_0x4abea5(0x164)](_0x3d12a7,_0x327387);this[_0x4abea5(0x14e)](),this[_0x4abea5(0x1d8)]=!0x0;}[_0x2664b1(0x14e)](){const _0x16f665=_0x2664b1,_0x4e3682=this[_0x16f665(0x225)][_0x16f665(0x1a9)][_0x16f665(0x1e6)](_0x418b9f),_0xc50edf=this[_0x16f665(0x225)][_0x16f665(0x1a9)][_0x16f665(0x1e6)](_0x3922eb),_0x359cf9=_0x4e3682[_0x16f665(0x223)][_0x16f665(0x1e6)](this[_0x16f665(0x1e2)]);_0x359cf9&&_0x359cf9[_0x16f665(0x1a5)]>0x1?_0xc50edf[_0x16f665(0x21b)]():this[_0x16f665(0x166)](_0x4e3682,_0x16f665(0x1e5)+this[_0x16f665(0x1e2)],()=>{const _0x3e10ca=_0x16f665;0x2===_0x4e3682[_0x3e10ca(0x223)][_0x3e10ca(0x1e6)](this[_0x3e10ca(0x1e2)])[_0x3e10ca(0x1a5)]&&_0xc50edf[_0x3e10ca(0x21b)]();});}async[_0x2664b1(0x1b1)](_0x19a814,_0x4571ab,_0x5c92d5,_0x12ed05){const _0x13ca9f=_0x2664b1;if(!this[_0x13ca9f(0x1af)]&&this[_0x13ca9f(0x192)][_0x13ca9f(0x177)]==_0x4571ab){const _0x2e1476=this[_0x13ca9f(0x1a4)](_0x5c92d5,_0x12ed05);await this[_0x13ca9f(0x169)](_0x2e1476),this[_0x13ca9f(0x1ec)](_0x2e1476,_0x4571ab,_0x5c92d5[_0x13ca9f(0x16b)])||this[_0x13ca9f(0x15c)](_0x13ca9f(0x1a0));}}async[_0x2664b1(0x170)](){const _0x3eca51=_0x2664b1;this[_0x3eca51(0x1cc)]();const {locale:_0x5e510d}=this[_0x3eca51(0x225)];let _0x2e8ca2;try{_0x2e8ca2=await this[_0x3eca51(0x1d9)][_0x3eca51(0x1c0)]();}catch(_0x52e3f9){const _0x452987=_0x3b5c4c(_0x5e510d,_0x3eca51(0x15f));return void this[_0x3eca51(0x218)](_0x452987);}const _0x2cb41b=_0x2e8ca2[_0x3eca51(0x179)]||_0x2e8ca2[_0x3eca51(0x17a)];if(this[_0x3eca51(0x207)]===_0x2cb41b[_0x3eca51(0x16b)])await this[_0x3eca51(0x184)](this[_0x3eca51(0x225)][_0x3eca51(0x152)][_0x3eca51(0x1ba)][_0x3eca51(0x1d2)][_0x3eca51(0x1bb)](),!0x0);else{const _0x3edeb5=_0x3b5c4c(_0x5e510d,_0x3eca51(0x14d));this[_0x3eca51(0x218)](_0x3edeb5);}}[_0x2664b1(0x1cc)](){const _0x7d0c1=_0x2664b1;this[_0x7d0c1(0x1d9)][_0x7d0c1(0x1e9)](),this[_0x7d0c1(0x1c4)]=[],clearTimeout(this[_0x7d0c1(0x1fe)]),this[_0x7d0c1(0x154)](this[_0x7d0c1(0x1d9)]);}[_0x2664b1(0x15d)](_0x2a86c9){const _0x15edc7=_0x2664b1,_0x4b0d86=this[_0x15edc7(0x225)][_0x15edc7(0x1a9)][_0x15edc7(0x1e6)](_0x418b9f);this[_0x15edc7(0x166)](_0x4b0d86,_0x15edc7(0x1e5)+this[_0x15edc7(0x1e2)],(_0x44d438,{session:_0x59e57d})=>{const _0x57be56=_0x15edc7;if(_0x59e57d['id']===_0x4b0d86[_0x57be56(0x14f)]){_0x44d438[_0x57be56(0x20e)]();const _0x18355f=this[_0x57be56(0x225)][_0x57be56(0x1a9)][_0x57be56(0x189)](_0x57be56(0x135))&&this[_0x57be56(0x225)][_0x57be56(0x1a9)][_0x57be56(0x1e6)](_0x57be56(0x135));let _0x5ac7a5=_0x59e57d[_0x57be56(0x19e)];_0x18355f&&_0x18355f[_0x57be56(0x140)]&&(_0x5ac7a5=_0x5ac7a5[_0x57be56(0x209)](_0x5a5721=>_0x57be56(0x16a)!==_0x5a5721)),this[_0x57be56(0x225)][_0x57be56(0x1a9)][_0x57be56(0x1e6)](_0x57be56(0x158))[_0x57be56(0x22f)](_0x5ac7a5,this[_0x57be56(0x1e2)]);}}),_0x4b0d86[_0x15edc7(0x1f6)](this[_0x15edc7(0x1e2)],_0x2a86c9);}[_0x2664b1(0x1b4)](){const _0x37c276=_0x2664b1,_0x661289=this[_0x37c276(0x225)][_0x37c276(0x18e)][_0x37c276(0x1b5)];this[_0x37c276(0x225)][_0x37c276(0x18e)][_0x37c276(0x1b5)]=(..._0x2cdbf2)=>{const _0x1848dc=_0x37c276;if(!_0x2cdbf2[_0x2cdbf2[_0x1848dc(0x1a5)]-0x1][_0x1848dc(0x228)])throw new _0x46bfbb(_0x1848dc(0x20b),this);_0x661289[_0x1848dc(0x19c)](this[_0x1848dc(0x225)][_0x1848dc(0x18e)],_0x2cdbf2);};}[_0x2664b1(0x139)](){const _0x3fa52e=_0x2664b1;this[_0x3fa52e(0x225)][_0x3fa52e(0x18e)]['on'](_0x3fa52e(0x19f),(_0x52c9be,[_0x2807ee])=>{const _0x5836dc=_0x3fa52e;if(this[_0x5836dc(0x192)][_0x5836dc(0x177)])throw new _0x46bfbb(_0x5836dc(0x1f8),this);_0x52c9be[_0x5836dc(0x1be)](),this[_0x5836dc(0x204)]();const _0x4ed246=this[_0x5836dc(0x225)][_0x5836dc(0x173)][_0x5836dc(0x1e6)](_0x5836dc(0x1c5)),_0x7deaf9=this[_0x5836dc(0x15e)](_0x2807ee,_0x4ed246);0x0==_0x7deaf9[_0x5836dc(0x1a5)]&&_0x7deaf9[_0x5836dc(0x1ca)](new _0x590a12(0x0)),_0x52c9be[_0x5836dc(0x1b3)]=this[_0x5836dc(0x184)](_0x7deaf9)[_0x5836dc(0x22d)](()=>{const _0xbb34ce=_0x5836dc;this[_0xbb34ce(0x225)][_0xbb34ce(0x1a9)][_0xbb34ce(0x1e6)](_0x249190)[_0xbb34ce(0x224)](this),this[_0xbb34ce(0x225)][_0xbb34ce(0x18e)][_0xbb34ce(0x163)](_0xbb34ce(0x210));})[_0x5836dc(0x194)](_0x4f2ab1=>this[_0x5836dc(0x15c)](_0x5836dc(0x1df),_0x4f2ab1))[_0x5836dc(0x1a1)](()=>this[_0x5836dc(0x16e)]());},{'priority':_0x3fa52e(0x212)}),this[_0x3fa52e(0x225)]['on'](_0x3fa52e(0x13e),async(_0x2eb0d2,[_0x3c9f54,_0x200bd2])=>{const _0x54e5a7=_0x3fa52e;_0x2eb0d2[_0x54e5a7(0x1be)]();const _0x5675d1=this[_0x54e5a7(0x225)][_0x54e5a7(0x152)][_0x54e5a7(0x1ba)][_0x54e5a7(0x1ce)](_0x3c9f54);if(!this[_0x54e5a7(0x149)][_0x54e5a7(0x189)](_0x3c9f54)){const _0x368547=_0x200bd2&&_0x200bd2[_0x54e5a7(0x18e)]?_0x200bd2[_0x54e5a7(0x18e)]:'',_0x30b65d=_0x200bd2&&_0x200bd2[_0x54e5a7(0x134)]?_0x200bd2[_0x54e5a7(0x134)]:{};await this[_0x54e5a7(0x1dc)](_0x3c9f54,_0x368547,_0x30b65d);}this[_0x54e5a7(0x225)][_0x54e5a7(0x152)][_0x54e5a7(0x20a)]({'isUndoable':!0x1},()=>{const _0xa4ae2b=_0x54e5a7;_0x5675d1[_0xa4ae2b(0x1ad)]=!0x0,this[_0xa4ae2b(0x225)][_0xa4ae2b(0x152)][_0xa4ae2b(0x1ba)][_0xa4ae2b(0x231)][_0xa4ae2b(0x1ab)](_0x5675d1);});},{'priority':_0x3fa52e(0x212)});}async[_0x2664b1(0x169)](_0x17f483){const _0x231309=_0x2664b1,_0x2ce928=this[_0x231309(0x225)][_0x231309(0x1a9)][_0x231309(0x1e6)](_0x5668e1),{connection:_0x5334a5}=this[_0x231309(0x225)][_0x231309(0x1a9)][_0x231309(0x1e6)](_0x249190),_0x485238=new Set();for(const _0x654892 of _0x17f483){const _0x38d7b8=_0x654892[_0x231309(0x1aa)];_0x38d7b8&&!_0x2ce928[_0x231309(0x1f3)](_0x38d7b8)&&_0x485238[_0x231309(0x18b)](_0x38d7b8);}if(0x0===_0x485238[_0x231309(0x138)])return;const _0x13e169=await _0x559810[_0x231309(0x1ed)](_0x5334a5,Array[_0x231309(0x187)](_0x485238));for(const _0x374cd9 of _0x13e169)_0x2ce928[_0x231309(0x1f3)](_0x374cd9['id'])||_0x2ce928[_0x231309(0x1f0)](_0x374cd9);}[_0x2664b1(0x15e)](_0x10eef5,_0x726aa9={}){const _0xa272e5=_0x2664b1,_0x2aef4c=this[_0xa272e5(0x225)][_0xa272e5(0x152)],_0x4b13c9=[];let _0x3e08a1=0x0;const _0x29f091=_0xa272e5(0x15a)==typeof _0x10eef5?{'main':_0x10eef5}:_0x10eef5;for(const _0x490ff8 of Object[_0xa272e5(0x136)](_0x29f091)){if(!this[_0xa272e5(0x192)][_0xa272e5(0x174)][_0xa272e5(0x189)](_0x490ff8))throw new _0x46bfbb(_0xa272e5(0x1e4),this);const _0x7026ba=this[_0xa272e5(0x225)][_0xa272e5(0x18e)][_0xa272e5(0x1c6)](_0x29f091[_0x490ff8]),_0xbb1087=this[_0xa272e5(0x192)][_0xa272e5(0x1ce)](_0x490ff8),_0x3cdc44=new _0x391b54(_0x2aef4c[_0xa272e5(0x201)](_0xbb1087,0x0),_0x7026ba,_0x3e08a1++);_0x4b13c9[_0xa272e5(0x1ca)](_0x3cdc44);for(const [_0x20cc4a,_0x3a5380]of _0x7026ba[_0xa272e5(0x232)]){const _0x273b14=_0x2aef4c[_0xa272e5(0x1ee)](_0x2aef4c[_0xa272e5(0x18f)](_0xbb1087,_0x3a5380[_0xa272e5(0x188)][_0xa272e5(0x1a6)][_0xa272e5(0x205)]()),_0x2aef4c[_0xa272e5(0x18f)](_0xbb1087,_0x3a5380[_0xa272e5(0x172)][_0xa272e5(0x1a6)][_0xa272e5(0x205)]())),_0x4f4f23=new _0xdf317b(_0x20cc4a,null,_0x273b14,_0x2aef4c[_0xa272e5(0x232)],!0x0,_0x3e08a1++);_0x4b13c9[_0xa272e5(0x1ca)](_0x4f4f23);}}if(_0x726aa9)for(const [_0x380906,_0x5af142]of Object[_0xa272e5(0x22a)](_0x726aa9)){const _0x34ffc1=_0x2aef4c[_0xa272e5(0x1ba)][_0xa272e5(0x1ce)](_0x380906);if(!_0x34ffc1)throw new _0x46bfbb(_0xa272e5(0x1b7),null);for(const [_0x50b23a,_0x868b62]of Object[_0xa272e5(0x22a)](_0x5af142))if(null!==_0x868b62){const _0x8072ef=new _0x54ecd3(_0x34ffc1,_0x50b23a,null,_0x868b62,_0x3e08a1++);_0x4b13c9[_0xa272e5(0x1ca)](_0x8072ef);}}return _0x4b13c9;}async[_0x2664b1(0x1dc)](_0x4906c9,_0x2b037c,_0xd922c4){const _0x2fb3e4=_0x2664b1;this[_0x2fb3e4(0x15e)]({[_0x4906c9]:_0x2b037c},{[_0x4906c9]:_0xd922c4})[_0x2fb3e4(0x1eb)]((_0x5c59e3,_0x222438)=>{const _0x1a9dee=_0x2fb3e4;_0x5c59e3[_0x1a9dee(0x1d4)]=this[_0x1a9dee(0x192)][_0x1a9dee(0x177)]+_0x222438,_0x5c59e3[_0x1a9dee(0x1c7)]=!0x0,this[_0x1a9dee(0x13a)](_0x5c59e3);}),this[_0x2fb3e4(0x21e)](),await this[_0x2fb3e4(0x21f)]();}async[_0x2664b1(0x164)](_0xaa554c,_0x4c26c3){const _0x4f2fe1=_0x2664b1;let _0x197bda;this[_0x4f2fe1(0x1b9)]=_0xaa554c[_0x4f2fe1(0x1ea)];const _0x3865c1=_0xaa554c[_0x4f2fe1(0x1c8)]&&!_0xaa554c[_0x4f2fe1(0x176)],_0x11dcf1=_0x3865c1?0x0:_0xaa554c[_0x4f2fe1(0x18e)][_0x4f2fe1(0x1d4)];if(_0x4c26c3[_0x4f2fe1(0x1eb)](_0x21bdf=>{const _0x3bc980=_0x4f2fe1;_0x21bdf[_0x3bc980(0x1c7)]=!0x0,_0x21bdf[_0x3bc980(0x220)]=_0xaa554c[_0x3bc980(0x1e1)],_0x21bdf[_0x3bc980(0x1aa)]=null;}),_0x3865c1)_0x197bda=_0x4c26c3,this[_0x4f2fe1(0x1d1)](_0x197bda,_0x3865c1);else{if(_0xaa554c[_0x4f2fe1(0x176)]){const _0x27ca84=this[_0x4f2fe1(0x15e)](_0xaa554c[_0x4f2fe1(0x176)]);this[_0x4f2fe1(0x192)][_0x4f2fe1(0x1d2)][_0x4f2fe1(0x177)]=-_0x27ca84[_0x4f2fe1(0x1a5)],_0x27ca84[_0x4f2fe1(0x1eb)](_0x15c380=>{const _0xbbfba7=_0x4f2fe1;_0x15c380[_0xbbfba7(0x1d4)]-=_0x27ca84[_0xbbfba7(0x1a5)],_0x15c380[_0xbbfba7(0x220)]=_0xaa554c[_0xbbfba7(0x1e1)],_0x15c380[_0xbbfba7(0x1c7)]=!0x0,_0x15c380[_0xbbfba7(0x1aa)]=null;}),this[_0x4f2fe1(0x1d1)](_0x27ca84,!0x0),this[_0x4f2fe1(0x16d)][_0x4f2fe1(0x177)]=-_0x27ca84[_0x4f2fe1(0x1a5)]+this[_0x4f2fe1(0x1b9)],this[_0x4f2fe1(0x18c)](_0x27ca84);}this[_0x4f2fe1(0x192)][_0x4f2fe1(0x1d2)][_0x4f2fe1(0x177)]=_0x11dcf1,_0x197bda=this[_0x4f2fe1(0x1a4)](_0xaa554c[_0x4f2fe1(0x18e)],_0xaa554c[_0x4f2fe1(0x221)]),await this[_0x4f2fe1(0x169)](_0x197bda),this[_0x4f2fe1(0x1d1)](_0x197bda,_0x3865c1);}_0xaa554c[_0x4f2fe1(0x16b)]&&(this[_0x4f2fe1(0x1de)][_0x4f2fe1(0x14c)](_0x197bda,_0xaa554c[_0x4f2fe1(0x16b)]),this[_0x4f2fe1(0x207)]=_0xaa554c[_0x4f2fe1(0x16b)]),this[_0x4f2fe1(0x16d)][_0x4f2fe1(0x177)]=_0x11dcf1+this[_0x4f2fe1(0x1b9)],this[_0x4f2fe1(0x18c)](_0x197bda),_0x4c26c3[_0x4f2fe1(0x209)](_0x152df2=>{const _0x21a4be=_0x4f2fe1,_0x5d79f2=this[_0x21a4be(0x17d)](_0x152df2);return _0x5d79f2&&!this[_0x21a4be(0x149)][_0x21a4be(0x189)](_0x5d79f2);})[_0x4f2fe1(0x1eb)]((_0x263ff4,_0x3ade81)=>{const _0x23e8dc=_0x4f2fe1;_0x263ff4[_0x23e8dc(0x1d4)]=this[_0x23e8dc(0x192)][_0x23e8dc(0x177)]+_0x3ade81,this[_0x23e8dc(0x13a)](_0x263ff4);}),this[_0x4f2fe1(0x16c)]()?(this[_0x4f2fe1(0x13b)]=0x0,this[_0x4f2fe1(0x21e)](!0x0),await this[_0x4f2fe1(0x21f)]()):(this[_0x4f2fe1(0x1af)]=!0x1,this[_0x4f2fe1(0x16e)]());}[_0x2664b1(0x15c)](_0x22b175,_0x50ffb3){const _0x35b72b=_0x2664b1,_0x520b10=_0x50ffb3&&_0x50ffb3[_0x35b72b(0x1cf)];if(_0x520b10&&_0x520b10[_0x35b72b(0x196)](_0x35b72b(0x137)))throw _0x50ffb3;const _0x588ad4=this[_0x35b72b(0x225)][_0x35b72b(0x1a9)][_0x35b72b(0x1e6)](_0x249190);throw this[_0x35b72b(0x1af)]=!0x0,_0x588ad4[_0x35b72b(0x1e9)](),this[_0x35b72b(0x225)][_0x35b72b(0x1f2)](_0x35b72b(0x222)),new _0x46bfbb(_0x22b175,this[_0x35b72b(0x225)],_0x520b10?{'originalError':_0x520b10}:void 0x0);}[_0x2664b1(0x13a)](_0x22d4fa){const _0x235528=_0x2664b1;this[_0x235528(0x19b)][_0x235528(0x189)](_0x22d4fa)||(this[_0x235528(0x19b)][_0x235528(0x18b)](_0x22d4fa),this[_0x235528(0x1c4)][_0x235528(0x1ca)](_0x22d4fa),this[_0x235528(0x1bd)]||_0x235528(0x13d)==_0x22d4fa[_0x235528(0x1e8)]&&!_0x22d4fa[_0x235528(0x171)]||this[_0x235528(0x204)]());}[_0x2664b1(0x21e)](_0x29c9db=!0x1){const _0x3e2a32=_0x2664b1;!_0x29c9db&&this[_0x3e2a32(0x1af)]||(this[_0x3e2a32(0x1af)]=!0x0,clearTimeout(this[_0x3e2a32(0x1fe)]),this[_0x3e2a32(0x1fe)]=setTimeout(()=>{const _0x51112d=_0x3e2a32;this[_0x51112d(0x175)]()[_0x51112d(0x22d)](_0x37c1c1=>{const _0x4c4352=_0x51112d;_0x37c1c1&&(this[_0x4c4352(0x16e)](),this[_0x4c4352(0x1af)]=!0x1);})[_0x51112d(0x194)](_0x2567fb=>{const _0x4150d1=_0x51112d;this[_0x4150d1(0x16e)](),this[_0x4150d1(0x1af)]=!0x1,function(_0x100d19){const _0x1290b5=_0x4150d1;return _0x100d19[_0x1290b5(0x1cf)][_0x1290b5(0x196)](_0x1290b5(0x142))||_0x100d19[_0x1290b5(0x1cf)][_0x1290b5(0x196)](_0x1290b5(0x1c2))||_0x100d19[_0x1290b5(0x1cf)][_0x1290b5(0x196)](_0x1290b5(0x1ef));}(_0x2567fb)||this[_0x4150d1(0x15c)](_0x2567fb[_0x4150d1(0x1cf)],_0x2567fb);});},this[_0x3e2a32(0x13b)]));}[_0x2664b1(0x21f)](){return new Promise(_0x11fc74=>{const _0x16f78f=_0x2cb3;this['on'](_0x16f78f(0x15b),()=>{_0x11fc74();});});}async[_0x2664b1(0x175)](){const _0x1f81ee=_0x2664b1,_0x3e27a8=this[_0x1f81ee(0x225)][_0x1f81ee(0x1a9)][_0x1f81ee(0x1e6)](_0x3922eb);if(this[_0x1f81ee(0x1f5)]()&&(_0x3e27a8[_0x1f81ee(0x21b)](),this[_0x1f81ee(0x132)]=!0x1),!this[_0x1f81ee(0x16c)]())return!0x0;const _0x3481f0=[...this[_0x1f81ee(0x1c4)]];for(const _0x3c6b27 of _0x3481f0)_0x3c6b27[_0x1f81ee(0x1b6)]=this[_0x1f81ee(0x192)][_0x1f81ee(0x1d2)][_0x1f81ee(0x226)](_0x3c6b27);const _0x5662e8=this[_0x1f81ee(0x1de)][_0x1f81ee(0x178)](_0x3481f0),_0x170d04=K++,_0x4ed2f4=this[_0x1f81ee(0x1e0)](_0x3481f0),_0x1a01ae=await this[_0x1f81ee(0x1d9)][_0x1f81ee(0x236)](_0x4ed2f4,_0x4ed2f4[_0x1f81ee(0x1d4)],_0x5662e8);try{return await this[_0x1f81ee(0x19d)](_0x3481f0,_0x1a01ae,_0x170d04);}catch(_0xe51e59){return this[_0x1f81ee(0x15c)](_0x1f81ee(0x235),_0xe51e59);}}async[_0x2664b1(0x19d)](_0x340e4c,_0x390a58,_0x59accc){const _0xa58393=_0x2664b1;if(_0xa58393(0x20c)in _0x390a58)throw _0x390a58[_0xa58393(0x20c)];let _0xd84b58=!0x1;if(_0x390a58[_0xa58393(0x1c8)]){_0x390a58[_0xa58393(0x16b)]&&(this[_0xa58393(0x207)]=_0x390a58[_0xa58393(0x16b)]),this[_0xa58393(0x1c4)]=this[_0xa58393(0x1c4)][_0xa58393(0x209)](_0x115162=>!_0x340e4c[_0xa58393(0x208)](_0x115162));for(const _0x4c0366 of _0x340e4c)_0x4c0366[_0xa58393(0x220)]=_0xa58393(0x150)in _0x390a58&&_0x390a58[_0xa58393(0x150)]||void 0x0;Q(_0x340e4c,_0x390a58[_0xa58393(0x177)]-_0x340e4c[_0xa58393(0x1a5)]),this[_0xa58393(0x18c)](_0x340e4c);const _0x3e291a=_0x340e4c[_0xa58393(0x209)](_0x54ea84=>{const _0x48e24b=_0xa58393;if(!_0x54ea84[_0x48e24b(0x1c7)])return!0x1;const _0x2d8943=this[_0x48e24b(0x17d)](_0x54ea84);return _0x2d8943&&!this[_0x48e24b(0x149)][_0x48e24b(0x189)](_0x2d8943);});Q(_0x3e291a,this[_0xa58393(0x192)][_0xa58393(0x177)]),this[_0xa58393(0x1d1)](_0x3e291a),_0xd84b58=!0x0,this[_0xa58393(0x13b)]=this[_0xa58393(0x18a)];}else{const _0x4a09b7=this[_0xa58393(0x1a4)](_0x390a58[_0xa58393(0x18e)],_0x390a58[_0xa58393(0x221)])[_0xa58393(0x209)](_0x5cdb7f=>_0x5cdb7f[_0xa58393(0x1d4)]>=this[_0xa58393(0x195)]);_0x4a09b7[_0xa58393(0x1eb)](_0x2e7199=>this[_0xa58393(0x213)](_0x2e7199)),this[_0xa58393(0x1c4)]=this[_0xa58393(0x1c4)][_0xa58393(0x209)](_0x520b13=>!_0x520b13[_0xa58393(0x1c7)]||!this[_0xa58393(0x149)][_0xa58393(0x189)](this[_0xa58393(0x17d)](_0x520b13))),this[_0xa58393(0x1c4)][_0xa58393(0x1a5)]&&Q(this[_0xa58393(0x1c4)],this[_0xa58393(0x1c4)][0x0][_0xa58393(0x1d4)]),await this[_0xa58393(0x169)](_0x4a09b7),_0xd84b58=this[_0xa58393(0x1ec)](_0x4a09b7,_0x390a58[_0xa58393(0x177)],_0x390a58[_0xa58393(0x16b)]),this[_0xa58393(0x13b)]=Math[_0xa58393(0x22c)](this[_0xa58393(0x13b)]/0x2);}return _0xd84b58?!this[_0xa58393(0x16c)]()||(this[_0xa58393(0x21e)](!0x0),!0x1):this[_0xa58393(0x15c)](_0xa58393(0x167));}[_0x2664b1(0x1ec)](_0x3b0961,_0x303aaa,_0x2f17e7){const _0x39d725=_0x2664b1;try{const _0xc2bc5f={'document':this[_0x39d725(0x192)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x220d36,operationsB:_0x482404,originalOperations:_0x42371e}=_0x1cc309(_0x3b0961,this[_0x39d725(0x1c4)],_0xc2bc5f);Q(_0x220d36,this[_0x39d725(0x192)][_0x39d725(0x177)]),Q(_0x482404,_0x303aaa);for(const _0x16c68a of _0x220d36){const _0x1333f6=_0x42371e[_0x39d725(0x1e6)](_0x16c68a);_0x16c68a[_0x39d725(0x1aa)]=_0x1333f6?_0x1333f6[_0x39d725(0x1aa)]:null;}_0x2f17e7&&(this[_0x39d725(0x1de)][_0x39d725(0x14c)](_0x3b0961,_0x2f17e7),this[_0x39d725(0x207)]=_0x2f17e7),this[_0x39d725(0x1c4)]=[..._0x482404],this[_0x39d725(0x1d1)](_0x220d36),this[_0x39d725(0x18c)](_0x3b0961);}catch(_0x4793ef){return console[_0x39d725(0x20c)](_0x4793ef),!0x1;}return!0x0;}[_0x2664b1(0x1d1)](_0x30290a,_0xea2319=!0x1){const _0x36bcf7=_0x2664b1;this[_0x36bcf7(0x225)][_0x36bcf7(0x152)][_0x36bcf7(0x20a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2ac152=>{const _0x212fba=_0x36bcf7;for(const _0x468330 of _0x30290a)this[_0x212fba(0x19b)][_0x212fba(0x18b)](_0x468330),this[_0x212fba(0x213)](_0x468330),_0x2ac152[_0x212fba(0x180)][_0x212fba(0x197)](_0x468330),this[_0x212fba(0x225)][_0x212fba(0x152)][_0x212fba(0x145)](_0x468330);});}[_0x2664b1(0x213)](_0x4fb813){const _0x5362a0=_0x2664b1,_0x5a282c=this[_0x5362a0(0x17d)](_0x4fb813);_0x5a282c&&this[_0x5362a0(0x149)][_0x5362a0(0x18b)](_0x5a282c);}[_0x2664b1(0x17d)](_0x3590e2){const _0x4490a2=_0x2664b1;let _0x288c92,_0x318f2e;switch(_0x3590e2[_0x4490a2(0x1e8)]){case _0x4490a2(0x1d3):_0x288c92=_0x3590e2[_0x4490a2(0x1cd)][_0x4490a2(0x1da)];break;case _0x4490a2(0x13d):if(_0x318f2e=_0x3590e2[_0x4490a2(0x183)],!_0x318f2e)return null;_0x288c92=_0x318f2e[_0x4490a2(0x1da)];break;case _0x4490a2(0x198):_0x288c92=_0x3590e2[_0x4490a2(0x1da)];break;case _0x4490a2(0x214):_0x288c92=_0x3590e2[_0x4490a2(0x20d)];break;case _0x4490a2(0x17b):_0x288c92=_0x3590e2[_0x4490a2(0x160)][_0x4490a2(0x1da)];break;default:return null;}return _0x288c92[_0x4490a2(0x162)];}[_0x2664b1(0x18c)](_0x35a903){const _0x1d3549=_0x2664b1;_0x35a903[_0x1d3549(0x1eb)](_0x356bce=>{const _0x2f03f9=_0x1d3549,_0x3f016f=_0x356bce[_0x2f03f9(0x168)]();_0x3f016f[_0x2f03f9(0x1aa)]=_0x356bce[_0x2f03f9(0x1aa)],_0x3f016f[_0x2f03f9(0x1c7)]=!!_0x356bce[_0x2f03f9(0x1c7)],_0x3f016f[_0x2f03f9(0x220)]=_0x356bce[_0x2f03f9(0x220)],_0x3f016f[_0x2f03f9(0x1d4)]+=this[_0x2f03f9(0x1b9)],_0x356bce[_0x2f03f9(0x211)]&&this[_0x2f03f9(0x219)][_0x2f03f9(0x18b)](_0x3f016f),this[_0x2f03f9(0x16d)][_0x2f03f9(0x197)](_0x3f016f);});}[_0x2664b1(0x218)](_0x5db252){const _0x1b6390=_0x2664b1,_0xb148f8=this[_0x1b6390(0x225)][_0x1b6390(0x1a9)][_0x1b6390(0x1e6)](_0x1b6390(0x1ac)),_0x4cab59=this[_0x1b6390(0x225)][_0x1b6390(0x148)];_0x5db252||(_0x5db252=_0x3b5c4c(_0x4cab59,_0x1b6390(0x185))),_0xb148f8[_0x1b6390(0x1ff)](_0x5db252,{'title':_0x3b5c4c(_0x4cab59,_0x1b6390(0x159)),'namespace':_0x1b6390(0x1c3)}),this[_0x1b6390(0x1b0)]=!0x0,clearTimeout(this[_0x1b6390(0x1fe)]),this[_0x1b6390(0x1c4)]=[],this[_0x1b6390(0x225)][_0x1b6390(0x1a9)][_0x1b6390(0x1e6)](_0x249190)[_0x1b6390(0x1e9)]();}[_0x2664b1(0x204)](){const _0x4e7834=_0x2664b1;this[_0x4e7834(0x1bd)]||(this[_0x4e7834(0x1bd)]=this[_0x4e7834(0x225)][_0x4e7834(0x1a9)][_0x4e7834(0x1e6)](_0x5688e7)[_0x4e7834(0x18b)](_0x3b5c4c(this[_0x4e7834(0x225)][_0x4e7834(0x148)],_0x4e7834(0x144))));}[_0x2664b1(0x16e)](){const _0x2b887c=_0x2664b1;this[_0x2b887c(0x1bd)]&&(this[_0x2b887c(0x225)][_0x2b887c(0x1a9)][_0x2b887c(0x1e6)](_0x5688e7)[_0x2b887c(0x1db)](this[_0x2b887c(0x1bd)]),this[_0x2b887c(0x1bd)]=null);}[_0x2664b1(0x1e0)](_0x55f68e){const _0x4269c6=_0x2664b1,_0xb2be9=_0x55f68e[_0x4269c6(0x155)](_0xe71e09=>_0xe71e09[_0x4269c6(0x143)]());return this[_0x4269c6(0x1fc)][_0x4269c6(0x1d0)](_0xb2be9);}[_0x2664b1(0x1a4)](_0x47856a,_0x590d33){const _0x7e05a5=_0x2664b1;return this[_0x7e05a5(0x1fc)][_0x7e05a5(0x193)](_0x47856a)[_0x7e05a5(0x155)]((_0x55eba9,_0x37b9bb)=>{const _0x534e3e=_0x7e05a5,_0x13cd2c=_0x534e3e(0x19f)==_0x590d33[_0x37b9bb][_0x534e3e(0x1e8)];if(_0x534e3e(0x13c)==_0x55eba9[_0x534e3e(0x1a3)]){const _0x339e62=_0x55eba9[_0x534e3e(0x1cd)][_0x534e3e(0x1da)];!this[_0x534e3e(0x192)][_0x534e3e(0x1ce)](_0x339e62)&&(this[_0x534e3e(0x192)][_0x534e3e(0x19a)](_0x534e3e(0x161),_0x339e62)[_0x534e3e(0x229)]=!0x1);}const _0x13e4d5=_0x46f8ba[_0x534e3e(0x1e3)](_0x55eba9,this[_0x534e3e(0x192)]);return _0x13e4d5[_0x534e3e(0x1b6)]=_0x55eba9[_0x534e3e(0x1b6)],_0x13e4d5[_0x534e3e(0x1c7)]=_0x13cd2c,_0x13e4d5[_0x534e3e(0x1aa)]=_0x13cd2c?null:_0x590d33[_0x37b9bb][_0x534e3e(0x1fb)],_0x13e4d5[_0x534e3e(0x211)]=_0x534e3e(0x17f)===_0x590d33[_0x37b9bb][_0x534e3e(0x1e8)],_0x13e4d5[_0x534e3e(0x220)]=_0x590d33[_0x37b9bb][_0x534e3e(0x220)],_0x13e4d5;});}[_0x2664b1(0x217)](){const _0x4d16de=_0x2664b1;this[_0x4d16de(0x132)]=!0x0,this[_0x4d16de(0x1f5)]()?this[_0x4d16de(0x21e)]():this[_0x4d16de(0x132)]=!0x1;}[_0x2664b1(0x1f5)](){const _0x5e4e52=_0x2664b1,_0x517fbe=this[_0x5e4e52(0x225)][_0x5e4e52(0x1a9)][_0x5e4e52(0x1e6)](_0x418b9f)[_0x5e4e52(0x223)][_0x5e4e52(0x1e6)](this[_0x5e4e52(0x1e2)]);return!this[_0x5e4e52(0x225)][_0x5e4e52(0x14a)]&&!!_0x517fbe&&_0x517fbe[_0x5e4e52(0x1a5)]>0x1&&this[_0x5e4e52(0x132)];}[_0x2664b1(0x16c)](){const _0xd6a510=_0x2664b1;return this[_0xd6a510(0x1c4)][_0xd6a510(0x1a5)]>0x0||this[_0xd6a510(0x1f5)]();}}l[_0x2664b1(0x227)]=_0x32e961;export default l;class J extends Error{}function Q(_0x4dffdd,_0x3dcf7f){const _0x5ef662=_0x2664b1;for(const _0x253701 of _0x4dffdd)_0x253701[_0x5ef662(0x1d4)]=_0x3dcf7f++;}function _0x2081(){const _0x555c18=['finally','unregister','__className','_decompressOperations','length','path','cloudServices.bundleVersion','getOperationAuthor','plugins','_authorId','_bufferRootLoad','Notification','_isLoaded','744130rOJKnp','_isPendingUpdate','_hasSynchronizationProblem','_handleReceivedOperations','disableReadOnlyMode','return','_initThrowingOnDataSet','set','wasUndone','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-init-session-connection-error','_offset','document','getOperations','change:hasDomSelection','_pendingAction','stop','reconnect','getDocumentDetails','lastSyncVersion','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','real-time-collaboration','_bufferedOperations','rootsAttributes','parse','_isInit','wereChangesApplied','1593XlVaoH','push','code','_disconnectService','position','getRoot','message','compress','_applyOperationsSet','history','insert','baseVersion','_handleReconnectionResponse','isDocumentOperation','collaboration','_isConnected','_service','root','remove','_loadRoot','destroy','_operationIdentifier','realtimecollaborationclient-init-connection-failed','_compressOperations','sessionCreatedAt','_channelId','fromJSON','realtimecollaborationclient-init-non-existent-root','sessionAdd:','get','reset','type','disconnect','offset','forEach','_handleExternalOperations','getMany','createRange','cloud-services-internal-error:\x20Request\x20timeout.','addUser','404','enableReadOnlyMode','getUser','3463929bkRsHs','_shouldSendSelectionUpdate','register','change:range','realtimecollaborationclient-init-document-already-initialized','pluginName','983749JBYYYG','userId','_compressor','isPremiumPlugin','_sendBufferedOperationsDelayId','showWarning','isOfficialPlugin','createPositionAt','connect','cloudDocumentVersion','_setPendingAction','slice','rtc-destroyed','_lastSyncedOperationId','includes','filter','enqueueChange','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','error','affectedSelectable','off','sessionId','ready','_isDisconnection','high','_addKnownRoot','addRoot','requires','collaboration.channelId','_refreshUserSelectionMarkers','_handleReconnectionError','_disconnectionOperations','removeFromReconnectionStack','createUserMarkerOperations','directChange','operationsReceived','_sendBufferedOperationsDelayed','_waitUntilSynced','createdAt','metadata','realtimecollaborationclient-error','channelSessions','addToReconnectionStack','editor','isUndoneOperation','CollaborativeEditingService','suppressErrorInCollaboration','_isAttached','entries','reconnection:\x20flushed\x20session','round','then','state','setPermissions','42728heuERS','differ','markers','93107jxOnPq','409','realtimecollaborationclient-sendbufferedoperations','sendOperations','_isEditingAllowed','_hasSelectionChanged','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','attributes','CommentsOnly','keys','realtimecollaborationclient','size','_setUpDataInit','_saveOperationInBuffer','_currentBufferDelay','InsertOperation','marker','loadRoot','change:_isEditingAllowed','isEnabled','connected','cloud-services-internal-error:\x20Not\x20connected.','toJSON','PENDING_ACTION_SENDING_DATA','applyOperation','connection','180gikINi','locale','_knownRootNames','isReadOnly','bind','setIdForTheLastOperation','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.','_handleSendingSelectionMarkers','mySessionId','lastOperationAcceptedAt','2052645HUZBGz','model','2QAsVAq','stopListening','map','disconnected','getConnectedSessions','Permissions','Synchronization\x20issue','string','change:_isPendingUpdate','_crash','_initSessionsHandling','_getOperationsFromInitData','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','targetPosition','$root','rootName','fire','_handleInitialConnectionData','editing','listenTo','realtimecollaborationclient-handleserverresponse','clone','_fetchMissingUsers','document:write','lastOperationId','_shouldSendUpdate','serverHistory','_clearPendingAction','realtimecollaborationclient-init-service-internal-error','_connectAfterSessionHasBeenFlushed','affectsData','end','config','roots','_sendBufferedOperations','initData','version','getIdOfTheLastOperation','currentDocumentSession','lastDocumentSession','move','3446828duSVQL','_getAffectedRoot','collaboration-missing-channelid','cs:removeUser','batch','_operationToId','rtc-offline','newRange','_connectService','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','RealTimeCollaborationClient','from','start','has','_baseBufferDelay','add','_updateServerHistory','selection','data','createPositionFromPath','view','define','_document','decompress','catch','_lastServerVersion','startsWith','addOperation','addRootAttribute','_ignoredOperations','createRoot','_knownOperations','apply','_handleServerResponse','permissions','init','realtimecollaborationclient-init-service-incorrect-server-operation'];_0x2081=function(){return _0x555c18;};return _0x2081();}class X{constructor(_0x19e4c0){const _0x149067=_0x2664b1;this[_0x149067(0x199)]=_0x19e4c0,this[_0x149067(0x181)]=new WeakMap();}[_0x2664b1(0x178)](_0xc92e34){const _0x23da9f=_0x2664b1;let _0x245495=_0xc92e34[_0x23da9f(0x1a5)];for(;_0x245495--;){const _0x20e23c=_0xc92e34[_0x245495];if(!this[_0x23da9f(0x199)][_0x23da9f(0x189)](_0x20e23c)){if(!this[_0x23da9f(0x181)][_0x23da9f(0x189)](_0x20e23c)){const _0x550dde=_0x252e24()[_0x23da9f(0x205)](0x1,0x12);this[_0x23da9f(0x181)][_0x23da9f(0x1b5)](_0x20e23c,_0x550dde);}return this[_0x23da9f(0x181)][_0x23da9f(0x1e6)](_0x20e23c);}}}[_0x2664b1(0x14c)](_0x53b307,_0x87a9eb){const _0x41cf32=_0x2664b1;if(!_0x87a9eb)return;let _0x2c1918=_0x53b307[_0x41cf32(0x1a5)];for(;_0x2c1918--;){const _0x3529d7=_0x53b307[_0x2c1918];this[_0x41cf32(0x199)][_0x41cf32(0x189)](_0x3529d7)||this[_0x41cf32(0x181)][_0x41cf32(0x1b5)](_0x3529d7,_0x87a9eb);}}}
|
|
23
|
+
const _0x1162c0=_0x417b;function _0x5a4c(){const _0x16983e=['sendOperations','position','realtimecollaborationclient-sendbufferedoperations','operationsReceived','slice','parse','real-time-collaboration','pluginName','getOperations','affectsData','disconnected','change:hasDomSelection','_fetchMissingUsers','isDocumentOperation','realtimecollaborationclient','change:_isEditingAllowed','collaboration-missing-channelid','model','sessionCreatedAt','_baseBufferDelay','marker','_isPendingUpdate','toJSON','stopListening','404','selection','_compressor','_pendingAction','_isLoaded','getUser','then','length','string','reset','collaboration.channelId','isEnabled','entries','_getOperationsFromInitData','connect','createRange','_saveOperationInBuffer','_lastServerVersion','off','unregister','1059040iGVkaa','currentDocumentSession','_knownOperations','rootsAttributes','removeFromReconnectionStack','change:range','_bufferedOperations','view','suppressErrorInCollaboration','135650nbyOSw','mySessionId','_applyOperationsSet','config','catch','push','__className','rtc-offline','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_sendBufferedOperationsDelayId','roots','setIdForTheLastOperation','_isEditingAllowed','lastDocumentSession','decompress','cloudDocumentVersion','addRootAttribute','realtimecollaborationclient-error','getDocumentDetails','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.','_initSessionsHandling','createdAt','_sendBufferedOperations','_crash','CollaborativeEditingService','version','includes','_service','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.','return','cloud-services-internal-error:\x20Not\x20connected.','data','metadata','1102152qZXgSr','createUserMarkerOperations','_handleExternalOperations','document','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','remove','permissions','_handleReceivedOperations','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_updateServerHistory','_loadRoot','_lastSyncedOperationId','high','filter','_currentBufferDelay','startsWith','from','_isConnected','409','markers','_setUpDataInit','_setPendingAction','_bufferRootLoad','get','$root','requires','getConnectedSessions','Permissions','map','_document','forEach','_hasSelectionChanged','offset','_getAffectedRoot','rtc-destroyed','_operationToId','realtimecollaborationclient-handleserverresponse','finally','history','_isInit','add','connected','change:_isPendingUpdate','realtimecollaborationclient-init-session-connection-error','sessionAdd:','getIdOfTheLastOperation','_authorId','_connectAfterSessionHasBeenFlushed','collaboration','destroy','CommentsOnly','isReadOnly','move','_sendBufferedOperationsDelayed','_isDisconnection','realtimecollaborationclient-init-service-incorrect-server-operation','type','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','_compressOperations','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-connection-failed','_disconnectService','disconnect','listenTo','getRoot','_handleInitialConnectionData','lastOperationAcceptedAt','clone','userId','_operationIdentifier','enqueueChange','_addKnownRoot','_disconnectionOperations','_initThrowingOnDataSet','enableReadOnlyMode','document:write','directChange','_shouldSendSelectionUpdate','connection','error','2093142jhfzrh','stop','_waitUntilSynced','207242wVcHwa','lastSyncVersion','serverHistory','keys','_clearPendingAction','channelSessions','batch','editor','cs:removeUser','affectedSelectable','set','state','multi-root-editor-root-attributes-no-root','_handleReconnectionResponse','fire','_offset','getOperationAuthor','disableReadOnlyMode','isPremiumPlugin','loadRoot','isUndoneOperation','start','initData','path','_decompressOperations','_knownRootNames','define','compress','insert','realtimecollaborationclient-init-document-already-initialized','has','_refreshUserSelectionMarkers','_connectService','Notification','ready','end','getMany','Synchronization\x20issue','_handleSendingSelectionMarkers','_handleServerResponse','reconnect','341807aAlmAE','setPermissions','plugins','_isAttached','targetPosition','newRange','wereChangesApplied','addOperation','realtimecollaborationclient-init-service-internal-error','rootName','16tpEprV','reconnection:\x20flushed\x20session','createPositionFromPath','differ','createRoot','root','sessionId','_ignoredOperations','apply','addUser','applyOperation','init','message','_shouldSendUpdate','179110faUhCB','_channelId','InsertOperation','baseVersion','code','locale','size','cloudServices.bundleVersion','attributes','fromJSON','_handleReconnectionError','register','addRoot','lastOperationId','bind','showWarning','wasUndone','isOfficialPlugin','editing','_hasSynchronizationProblem','RealTimeCollaborationClient','PENDING_ACTION_SENDING_DATA','round','createPositionAt'];_0x5a4c=function(){return _0x16983e;};return _0x5a4c();}(function(_0x45cd17,_0x2238d5){const _0x8a3a4=_0x417b,_0x558da6=_0x45cd17();while(!![]){try{const _0x563307=parseInt(_0x8a3a4(0x1db))/0x1+parseInt(_0x8a3a4(0x1f3))/0x2+-parseInt(_0x8a3a4(0x15d))/0x3+-parseInt(_0x8a3a4(0x1e5))/0x4*(parseInt(_0x8a3a4(0x13c))/0x5)+parseInt(_0x8a3a4(0x1af))/0x6+parseInt(_0x8a3a4(0x1b2))/0x7+-parseInt(_0x8a3a4(0x237))/0x8;if(_0x563307===_0x2238d5)break;else _0x558da6['push'](_0x558da6['shift']());}catch(_0x47e1d2){_0x558da6['push'](_0x558da6['shift']());}}}(_0x5a4c,0x31345));function _0x417b(_0x4ae25b,_0x599f34){const _0x5a4c7e=_0x5a4c();return _0x417b=function(_0x417b69,_0x176db9){_0x417b69=_0x417b69-0x13a;let _0x5e94ae=_0x5a4c7e[_0x417b69];return _0x5e94ae;},_0x417b(_0x4ae25b,_0x599f34);}import{Plugin as _0x50f10a,PendingActions as _0xa965ac}from'ckeditor5/src/core.js';import{CKEditorError as _0xdb1491,version as _0x44fa55,uid as _0x8d031e}from'ckeditor5/src/utils.js';import{Notification as _0x228569}from'ckeditor5/src/ui.js';import{transformSets as _0x41e9b1,NoOperation as _0x3dd7c2,InsertOperation as _0x14e9c3,MarkerOperation as _0x22ad7d,RootAttributeOperation as _0x45dcc8,OperationFactory as _0x4e7032,History as _0x59eac6}from'ckeditor5/src/engine.js';import _0x5a69d0 from'./websocketgateway.js';import _0x230e93 from'./sessions.js';import _0x50d726 from'./usermarkers.js';import{getTranslation as _0x2e6343}from'../common-translations.js';import{Compressor as _0x494310}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x255e6f}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xa6696c,CollaborativeEditingService as _0x516f9d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x50f10a{static get[_0x1162c0(0x177)](){return[_0x5a69d0,_0x230e93,_0x50d726,_0xa965ac,_0x255e6f,_0x228569];}static get[_0x1162c0(0x212)](){const _0x16c701=_0x1162c0;return _0x16c701(0x207);}static get[_0x1162c0(0x204)](){return!0x0;}static get[_0x1162c0(0x1c4)](){return!0x0;}get[_0x1162c0(0x14b)](){const _0x4859e4=_0x1162c0;return this[_0x4859e4(0x234)]+this[_0x4859e4(0x1c1)];}get[_0x1162c0(0x234)](){const _0xfed2f2=_0x1162c0;return this[_0xfed2f2(0x1b4)][_0xfed2f2(0x155)]-this[_0xfed2f2(0x1c1)];}get[_0x1162c0(0x1b3)](){const _0x22d0bc=_0x1162c0,_0x190c3b=this[_0x22d0bc(0x1b4)][_0x22d0bc(0x213)]();for(let _0xc0c79a=_0x190c3b[_0x22d0bc(0x22a)]-0x1;_0xc0c79a>=0x0;_0xc0c79a--){const _0x35b5da=_0x190c3b[_0xc0c79a];if(!this[_0x22d0bc(0x1a7)][_0x22d0bc(0x1d0)](_0x35b5da))return _0x35b5da[_0x22d0bc(0x1f6)]+0x1-this[_0x22d0bc(0x1c1)];}return 0x0;}constructor(_0x2392b3){const _0x4e4464=_0x1162c0;if(super(_0x2392b3),this[_0x4e4464(0x1c1)]=0x0,this[_0x4e4464(0x1eb)]=null,this[_0x4e4464(0x1b4)]=new _0x59eac6(),this[_0x4e4464(0x1b9)][_0x4e4464(0x13f)][_0x4e4464(0x1cc)](_0x4e4464(0x18e),{}),this[_0x4e4464(0x1f4)]=this[_0x4e4464(0x1b9)][_0x4e4464(0x13f)][_0x4e4464(0x175)](_0x4e4464(0x22d)),!this[_0x4e4464(0x1f4)])throw new _0xdb1491(_0x4e4464(0x21b),this);const _0xd23ac2=_0x2392b3[_0x4e4464(0x13f)][_0x4e4464(0x175)](_0x4e4464(0x1fa))||_0x44fa55;this[_0x4e4464(0x157)]=new l[(_0x4e4464(0x154))](_0xd23ac2,this[_0x4e4464(0x1f4)]),this[_0x4e4464(0x17b)]=this[_0x4e4464(0x1b9)][_0x4e4464(0x21c)][_0x4e4464(0x160)],this[_0x4e4464(0x225)]=new _0x494310(),this[_0x4e4464(0x23d)]=[],this[_0x4e4464(0x239)]=new WeakSet(),this[_0x4e4464(0x1cb)]=new Set(),this[_0x4e4464(0x1bc)](_0x4e4464(0x220),!0x1),this[_0x4e4464(0x1bc)](_0x4e4464(0x206),!0x1),this[_0x4e4464(0x226)]=null,this[_0x4e4464(0x17d)]=!0x1,this[_0x4e4464(0x145)]=null,this[_0x4e4464(0x21e)]=0x12c,this[_0x4e4464(0x16c)]=this[_0x4e4464(0x21e)],this[_0x4e4464(0x169)]=null,this[_0x4e4464(0x1a7)]=new WeakSet(),this[_0x4e4464(0x1a4)]=new X(this[_0x4e4464(0x1a7)]);}[_0x1162c0(0x1f0)](){const _0x2f0835=_0x1162c0,_0x399342=this[_0x2f0835(0x1b9)],_0x43d777=_0x399342[_0x2f0835(0x1dd)][_0x2f0835(0x175)](_0x255e6f),_0x25c8c8=_0x399342[_0x2f0835(0x1dd)][_0x2f0835(0x175)](_0x5a69d0);this[_0x2f0835(0x19e)](_0x43d777,_0x2f0835(0x1c2),(_0x368111,_0x247494)=>{const _0x1ba6a5=_0x2f0835,_0x14ecd4=_0x247494[0x0];_0x14ecd4[_0x1ba6a5(0x18c)]&&(_0x368111[_0x1ba6a5(0x159)]=_0x43d777[_0x1ba6a5(0x228)](_0x14ecd4[_0x1ba6a5(0x18c)]),_0x368111[_0x1ba6a5(0x1b0)]()),null===_0x14ecd4[_0x1ba6a5(0x18c)]&&(_0x368111[_0x1ba6a5(0x159)]=null,_0x368111[_0x1ba6a5(0x1b0)]());},{'priority':_0x2f0835(0x16a)}),this[_0x2f0835(0x19e)](_0x399342[_0x2f0835(0x21c)][_0x2f0835(0x160)][_0x2f0835(0x224)],_0x2f0835(0x23c),(_0x39d0da,_0x2bddaa)=>{const _0x282e5c=_0x2f0835;_0x2bddaa[_0x282e5c(0x1ab)]&&this[_0x282e5c(0x1d1)]();}),this[_0x2f0835(0x19e)](_0x399342[_0x2f0835(0x205)][_0x2f0835(0x13a)],_0x2f0835(0x216),()=>{const _0x53c42c=_0x2f0835;this[_0x53c42c(0x1d1)]();}),this[_0x2f0835(0x1a8)](),_0x399342[_0x2f0835(0x21c)]['on'](_0x2f0835(0x1ef),(_0x3f652d,_0x396a59)=>{const _0xf30080=_0x2f0835,_0x3527a9=_0x396a59[0x0];_0x3527a9[_0xf30080(0x218)]&&(this[_0xf30080(0x233)](_0x3527a9),this[_0xf30080(0x1f2)]()&&this[_0xf30080(0x193)]());}),this[_0x2f0835(0x172)](),this[_0x2f0835(0x201)](_0x2f0835(0x148))['to'](_0x25c8c8,_0x2f0835(0x1bd),this,_0x2f0835(0x206),(_0x374d9f,_0x490908)=>_0x2f0835(0x187)===_0x374d9f&&!_0x490908),this['on'](_0x2f0835(0x21a),()=>{const _0x46c42c=_0x2f0835;this[_0x46c42c(0x148)]?_0x399342[_0x46c42c(0x1c3)](_0x46c42c(0x143)):_0x399342[_0x46c42c(0x1a9)](_0x46c42c(0x143));}),this[_0x2f0835(0x148)]?_0x399342[_0x2f0835(0x1c3)](_0x2f0835(0x143)):_0x399342[_0x2f0835(0x1a9)](_0x2f0835(0x143)),this[_0x2f0835(0x1bc)](_0x2f0835(0x16f),!0x1);}async[_0x1162c0(0x1da)](){const _0x36c6aa=_0x1162c0,_0x55cb67=this[_0x36c6aa(0x1b9)][_0x36c6aa(0x1dd)][_0x36c6aa(0x175)](_0x230e93),_0x46eef5=this[_0x36c6aa(0x1b9)][_0x36c6aa(0x1dd)][_0x36c6aa(0x175)](_0x5a69d0);try{this[_0x36c6aa(0x220)]=!0x0,_0x55cb67[_0x36c6aa(0x236)](this[_0x36c6aa(0x1f4)]);const _0xec8e85=await this[_0x36c6aa(0x157)][_0x36c6aa(0x1da)](_0x46eef5[_0x36c6aa(0x1ad)],this[_0x36c6aa(0x1b3)]);await this[_0x36c6aa(0x1bf)](_0xec8e85)&&(this[_0x36c6aa(0x220)]=!0x1,this[_0x36c6aa(0x1b6)]());const _0x40a66e=await this[_0x36c6aa(0x157)][_0x36c6aa(0x178)]();_0x55cb67[_0x36c6aa(0x1fe)](this[_0x36c6aa(0x1f4)],_0x40a66e),this[_0x36c6aa(0x1d8)](),this[_0x36c6aa(0x16f)]=!0x0;}catch(_0xac5bb1){if(function(_0x3b3ce0){const _0x19826a=_0x36c6aa;return _0x19826a(0x223)===_0x3b3ce0[_0x19826a(0x1f7)];}(_0xac5bb1)&&this[_0x36c6aa(0x1eb)])await this[_0x36c6aa(0x18d)]();else{if(function(_0x3bb952){const _0x332b2d=_0x36c6aa;return _0x332b2d(0x170)===_0x3bb952[_0x332b2d(0x1f7)];}(_0xac5bb1)){const _0x567a5a=_0x2e6343(this[_0x36c6aa(0x1b9)][_0x36c6aa(0x1f8)],_0x36c6aa(0x161));this[_0x36c6aa(0x1fd)](_0x567a5a);}else{if(!(_0xac5bb1 instanceof J))throw _0xac5bb1;this[_0x36c6aa(0x1fd)]();}}}}[_0x1162c0(0x18f)](){const _0x467531=_0x1162c0,_0x4d1c59=this[_0x467531(0x1b9)][_0x467531(0x1dd)][_0x467531(0x175)](_0x5a69d0),_0x1fdf6a=this[_0x467531(0x1b9)][_0x467531(0x1dd)][_0x467531(0x175)](_0x230e93);this[_0x467531(0x1b9)][_0x467531(0x1a9)](_0x467531(0x180)),_0x1fdf6a[_0x467531(0x1b7)][_0x467531(0x1d0)](this[_0x467531(0x1f4)])&&_0x1fdf6a[_0x467531(0x236)](this[_0x467531(0x1f4)]),_0x4d1c59[_0x467531(0x23b)](this),this[_0x467531(0x19c)](),super[_0x467531(0x18f)]();}async[_0x1162c0(0x1bf)](_0x5b1736){const _0x20676a=_0x1162c0;if(this[_0x20676a(0x1eb)]!==_0x5b1736[_0x20676a(0x1eb)]&&this[_0x20676a(0x169)]!==_0x5b1736[_0x20676a(0x200)])throw new J();return this[_0x20676a(0x1eb)]=_0x5b1736[_0x20676a(0x1eb)],this[_0x20676a(0x1d9)]([],{..._0x5b1736,'wereChangesApplied':!0x1,'data':_0x5b1736[_0x20676a(0x15b)]},_0x20676a(0x1da));}async[_0x1162c0(0x1d2)](_0x4254b3,_0x49e963=!0x1){const _0x4109ec=_0x1162c0,{connection:_0x4a182c}=this[_0x4109ec(0x1b9)][_0x4109ec(0x1dd)][_0x4109ec(0x175)](_0x5a69d0);l[_0x4109ec(0x154)][_0x4109ec(0x178)](_0x4a182c,this[_0x4109ec(0x1f4)])[_0x4109ec(0x229)](_0x540807=>this[_0x4109ec(0x150)](_0x540807))[_0x4109ec(0x140)](_0x2f8551=>{const _0x4a9085=_0x4109ec;this[_0x4a9085(0x153)](_0x4a9085(0x189),_0x2f8551);}),this[_0x4109ec(0x19e)](this[_0x4109ec(0x157)],_0x4109ec(0x20e),this[_0x4109ec(0x164)][_0x4109ec(0x201)](this)),this[_0x4109ec(0x19e)](this[_0x4109ec(0x157)],_0x4109ec(0x1ae),(_0x5c3d16,_0x2eeac5)=>{const _0x5e5c5d=_0x4109ec;this[_0x5e5c5d(0x153)](_0x5e5c5d(0x1e3),_0x2eeac5);}),this[_0x4109ec(0x19e)](this[_0x4109ec(0x157)],_0x4109ec(0x215),()=>{const _0x2314cd=_0x4109ec;this[_0x2314cd(0x16f)]=!0x1;});const _0x185f5a=this[_0x4109ec(0x1a4)][_0x4109ec(0x18b)](_0x4254b3);this[_0x4109ec(0x220)]=!0x0;const _0x47a902=await this[_0x4109ec(0x157)][_0x4109ec(0x231)](_0x4a182c,this[_0x4109ec(0x199)](_0x4254b3),_0x185f5a);if(this[_0x4109ec(0x1eb)]=_0x47a902[_0x4109ec(0x1eb)],_0x49e963){if(!_0x47a902[_0x4109ec(0x1e1)])return void this[_0x4109ec(0x1fd)]();this[_0x4109ec(0x220)]=!0x1,this[_0x4109ec(0x1b6)](),this[_0x4109ec(0x1b4)][_0x4109ec(0x22c)](),this[_0x4109ec(0x1c1)]=_0x47a902[_0x4109ec(0x17e)],this[_0x4109ec(0x1b4)][_0x4109ec(0x155)]=this[_0x4109ec(0x1c1)],await this[_0x4109ec(0x1d9)](_0x4254b3,_0x47a902,_0x4109ec(0x1e6));}else await this[_0x4109ec(0x1a0)](_0x47a902,_0x4254b3);this[_0x4109ec(0x1d8)](),this[_0x4109ec(0x16f)]=!0x0;}[_0x1162c0(0x1d8)](){const _0x4c4d63=_0x1162c0,_0x4c09d9=this[_0x4c4d63(0x1b9)][_0x4c4d63(0x1dd)][_0x4c4d63(0x175)](_0x230e93),_0x36c057=this[_0x4c4d63(0x1b9)][_0x4c4d63(0x1dd)][_0x4c4d63(0x175)](_0x50d726),_0x4d6517=_0x4c09d9[_0x4c4d63(0x1b7)][_0x4c4d63(0x175)](this[_0x4c4d63(0x1f4)]);_0x4d6517&&_0x4d6517[_0x4c4d63(0x22a)]>0x1?_0x36c057[_0x4c4d63(0x15e)]():this[_0x4c4d63(0x19e)](_0x4c09d9,_0x4c4d63(0x18a)+this[_0x4c4d63(0x1f4)],()=>{const _0xb5677d=_0x4c4d63;0x2===_0x4c09d9[_0xb5677d(0x1b7)][_0xb5677d(0x175)](this[_0xb5677d(0x1f4)])[_0xb5677d(0x22a)]&&_0x36c057[_0xb5677d(0x15e)]();});}async[_0x1162c0(0x164)](_0x152419,_0x485ffa,_0x3f4e19,_0x468dcb){const _0x6102b9=_0x1162c0;if(!this[_0x6102b9(0x220)]&&this[_0x6102b9(0x17b)][_0x6102b9(0x155)]==_0x485ffa){const _0x225359=this[_0x6102b9(0x1ca)](_0x3f4e19,_0x468dcb);await this[_0x6102b9(0x217)](_0x225359),this[_0x6102b9(0x15f)](_0x225359,_0x485ffa,_0x3f4e19[_0x6102b9(0x200)])||this[_0x6102b9(0x153)](_0x6102b9(0x195));}}async[_0x1162c0(0x18d)](){const _0x5d127a=_0x1162c0;this[_0x5d127a(0x19c)]();const {locale:_0x493c7a}=this[_0x5d127a(0x1b9)];let _0xab97be;try{_0xab97be=await this[_0x5d127a(0x157)][_0x5d127a(0x14e)]();}catch(_0x36dff0){const _0x210224=_0x2e6343(_0x493c7a,_0x5d127a(0x144));return void this[_0x5d127a(0x1fd)](_0x210224);}const _0x47088a=_0xab97be[_0x5d127a(0x238)]||_0xab97be[_0x5d127a(0x149)];if(this[_0x5d127a(0x169)]===_0x47088a[_0x5d127a(0x200)])await this[_0x5d127a(0x1d2)](this[_0x5d127a(0x1b9)][_0x5d127a(0x21c)][_0x5d127a(0x160)][_0x5d127a(0x184)][_0x5d127a(0x213)](),!0x0);else{const _0x47b35c=_0x2e6343(_0x493c7a,_0x5d127a(0x14f));this[_0x5d127a(0x1fd)](_0x47b35c);}}[_0x1162c0(0x19c)](){const _0x3e1147=_0x1162c0;this[_0x3e1147(0x157)][_0x3e1147(0x19d)](),this[_0x3e1147(0x23d)]=[],clearTimeout(this[_0x3e1147(0x145)]),this[_0x3e1147(0x222)](this[_0x3e1147(0x157)]);}[_0x1162c0(0x150)](_0x191483){const _0x222171=_0x1162c0,_0x5920fa=this[_0x222171(0x1b9)][_0x222171(0x1dd)][_0x222171(0x175)](_0x230e93);this[_0x222171(0x19e)](_0x5920fa,_0x222171(0x18a)+this[_0x222171(0x1f4)],(_0x5d7861,{session:_0x26ff48})=>{const _0xc0ef30=_0x222171;if(_0x26ff48['id']===_0x5920fa[_0xc0ef30(0x13d)]){_0x5d7861[_0xc0ef30(0x235)]();const _0x4278bd=this[_0xc0ef30(0x1b9)][_0xc0ef30(0x1dd)][_0xc0ef30(0x1d0)](_0xc0ef30(0x190))&&this[_0xc0ef30(0x1b9)][_0xc0ef30(0x1dd)][_0xc0ef30(0x175)](_0xc0ef30(0x190));let _0x1b20f3=_0x26ff48[_0xc0ef30(0x163)];_0x4278bd&&_0x4278bd[_0xc0ef30(0x22e)]&&(_0x1b20f3=_0x1b20f3[_0xc0ef30(0x16b)](_0x3538dc=>_0xc0ef30(0x1aa)!==_0x3538dc)),this[_0xc0ef30(0x1b9)][_0xc0ef30(0x1dd)][_0xc0ef30(0x175)](_0xc0ef30(0x179))[_0xc0ef30(0x1dc)](_0x1b20f3,this[_0xc0ef30(0x1f4)]);}}),_0x5920fa[_0x222171(0x1fe)](this[_0x222171(0x1f4)],_0x191483);}[_0x1162c0(0x1a8)](){const _0x55da55=_0x1162c0,_0x1c6d00=this[_0x55da55(0x1b9)][_0x55da55(0x15b)][_0x55da55(0x1bc)];this[_0x55da55(0x1b9)][_0x55da55(0x15b)][_0x55da55(0x1bc)]=(..._0x27aa96)=>{const _0x54ffd1=_0x55da55;if(!_0x27aa96[_0x27aa96[_0x54ffd1(0x22a)]-0x1][_0x54ffd1(0x13b)])throw new _0xdb1491(_0x54ffd1(0x166),this);_0x1c6d00[_0x54ffd1(0x1ed)](this[_0x54ffd1(0x1b9)][_0x54ffd1(0x15b)],_0x27aa96);};}[_0x1162c0(0x172)](){const _0x3e6f88=_0x1162c0;this[_0x3e6f88(0x1b9)][_0x3e6f88(0x15b)]['on'](_0x3e6f88(0x1f0),(_0x958147,[_0x3507de])=>{const _0x24849e=_0x3e6f88;if(this[_0x24849e(0x17b)][_0x24849e(0x155)])throw new _0xdb1491(_0x24849e(0x1cf),this);_0x958147[_0x24849e(0x1b0)](),this[_0x24849e(0x173)]();const _0x544267=this[_0x24849e(0x1b9)][_0x24849e(0x13f)][_0x24849e(0x175)](_0x24849e(0x23a)),_0x40c915=this[_0x24849e(0x230)](_0x3507de,_0x544267);0x0==_0x40c915[_0x24849e(0x22a)]&&_0x40c915[_0x24849e(0x141)](new _0x3dd7c2(0x0)),_0x958147[_0x24849e(0x159)]=this[_0x24849e(0x1d2)](_0x40c915)[_0x24849e(0x229)](()=>{const _0x3677e0=_0x24849e;this[_0x3677e0(0x1b9)][_0x3677e0(0x1dd)][_0x3677e0(0x175)](_0x5a69d0)[_0x3677e0(0x198)](this),this[_0x3677e0(0x1b9)][_0x3677e0(0x15b)][_0x3677e0(0x1c0)](_0x3677e0(0x1d4));})[_0x24849e(0x140)](_0x3f8169=>this[_0x24849e(0x153)](_0x24849e(0x19b),_0x3f8169))[_0x24849e(0x183)](()=>this[_0x24849e(0x1b6)]());},{'priority':_0x3e6f88(0x16a)}),this[_0x3e6f88(0x1b9)]['on'](_0x3e6f88(0x1c5),async(_0x27393f,[_0x4d8177,_0x15d198])=>{const _0x1436a5=_0x3e6f88;_0x27393f[_0x1436a5(0x1b0)]();const _0x14dd4b=this[_0x1436a5(0x1b9)][_0x1436a5(0x21c)][_0x1436a5(0x160)][_0x1436a5(0x19f)](_0x4d8177);if(!this[_0x1436a5(0x1cb)][_0x1436a5(0x1d0)](_0x4d8177)){const _0xab92b5=_0x15d198&&_0x15d198[_0x1436a5(0x15b)]?_0x15d198[_0x1436a5(0x15b)]:'',_0x1ab5d6=_0x15d198&&_0x15d198[_0x1436a5(0x1fb)]?_0x15d198[_0x1436a5(0x1fb)]:{};await this[_0x1436a5(0x168)](_0x4d8177,_0xab92b5,_0x1ab5d6);}this[_0x1436a5(0x1b9)][_0x1436a5(0x21c)][_0x1436a5(0x1a5)]({'isUndoable':!0x1},()=>{const _0x4dbd3b=_0x1436a5;_0x14dd4b[_0x4dbd3b(0x227)]=!0x0,this[_0x4dbd3b(0x1b9)][_0x4dbd3b(0x21c)][_0x4dbd3b(0x160)][_0x4dbd3b(0x1e8)][_0x4dbd3b(0x174)](_0x14dd4b);});},{'priority':_0x3e6f88(0x16a)});}async[_0x1162c0(0x217)](_0x39918c){const _0x538c32=_0x1162c0,_0x1e429e=this[_0x538c32(0x1b9)][_0x538c32(0x1dd)][_0x538c32(0x175)](_0x255e6f),{connection:_0x29e9ba}=this[_0x538c32(0x1b9)][_0x538c32(0x1dd)][_0x538c32(0x175)](_0x5a69d0),_0x14c737=new Set();for(const _0x454ba8 of _0x39918c){const _0x263018=_0x454ba8[_0x538c32(0x18c)];_0x263018&&!_0x1e429e[_0x538c32(0x228)](_0x263018)&&_0x14c737[_0x538c32(0x186)](_0x263018);}if(0x0===_0x14c737[_0x538c32(0x1f9)])return;const _0x1f7209=await _0xa6696c[_0x538c32(0x1d6)](_0x29e9ba,Array[_0x538c32(0x16e)](_0x14c737));for(const _0x51cca4 of _0x1f7209)_0x1e429e[_0x538c32(0x228)](_0x51cca4['id'])||_0x1e429e[_0x538c32(0x1ee)](_0x51cca4);}[_0x1162c0(0x230)](_0x1669dc,_0x54f1dc={}){const _0x38db4f=_0x1162c0,_0x2ecd17=this[_0x38db4f(0x1b9)][_0x38db4f(0x21c)],_0x442f90=[];let _0x19f089=0x0;const _0x2624e5=_0x38db4f(0x22b)==typeof _0x1669dc?{'main':_0x1669dc}:_0x1669dc;for(const _0x7ac87d of Object[_0x38db4f(0x1b5)](_0x2624e5)){if(!this[_0x38db4f(0x17b)][_0x38db4f(0x146)][_0x38db4f(0x1d0)](_0x7ac87d))throw new _0xdb1491(_0x38db4f(0x165),this);const _0x389db8=this[_0x38db4f(0x1b9)][_0x38db4f(0x15b)][_0x38db4f(0x210)](_0x2624e5[_0x7ac87d]),_0x5e3e9b=this[_0x38db4f(0x17b)][_0x38db4f(0x19f)](_0x7ac87d),_0x8b4ceb=new _0x14e9c3(_0x2ecd17[_0x38db4f(0x20a)](_0x5e3e9b,0x0),_0x389db8,_0x19f089++);_0x442f90[_0x38db4f(0x141)](_0x8b4ceb);for(const [_0x47aa40,_0x276552]of _0x389db8[_0x38db4f(0x171)]){const _0x20fb19=_0x2ecd17[_0x38db4f(0x232)](_0x2ecd17[_0x38db4f(0x1e7)](_0x5e3e9b,_0x276552[_0x38db4f(0x1c7)][_0x38db4f(0x1c9)][_0x38db4f(0x20f)]()),_0x2ecd17[_0x38db4f(0x1e7)](_0x5e3e9b,_0x276552[_0x38db4f(0x1d5)][_0x38db4f(0x1c9)][_0x38db4f(0x20f)]())),_0x307a4d=new _0x22ad7d(_0x47aa40,null,_0x20fb19,_0x2ecd17[_0x38db4f(0x171)],!0x0,_0x19f089++);_0x442f90[_0x38db4f(0x141)](_0x307a4d);}}if(_0x54f1dc)for(const [_0x919b59,_0x236226]of Object[_0x38db4f(0x22f)](_0x54f1dc)){const _0xb4b5a7=_0x2ecd17[_0x38db4f(0x160)][_0x38db4f(0x19f)](_0x919b59);if(!_0xb4b5a7)throw new _0xdb1491(_0x38db4f(0x1be),null);for(const [_0x10570d,_0x28a1ed]of Object[_0x38db4f(0x22f)](_0x236226))if(null!==_0x28a1ed){const _0x5ed41a=new _0x45dcc8(_0xb4b5a7,_0x10570d,null,_0x28a1ed,_0x19f089++);_0x442f90[_0x38db4f(0x141)](_0x5ed41a);}}return _0x442f90;}async[_0x1162c0(0x168)](_0x487b8f,_0x34e24f,_0x6c0013){const _0x1e7e1a=_0x1162c0;this[_0x1e7e1a(0x230)]({[_0x487b8f]:_0x34e24f},{[_0x487b8f]:_0x6c0013})[_0x1e7e1a(0x17c)]((_0x8556d3,_0x1f467f)=>{const _0x5237f3=_0x1e7e1a;_0x8556d3[_0x5237f3(0x1f6)]=this[_0x5237f3(0x17b)][_0x5237f3(0x155)]+_0x1f467f,_0x8556d3[_0x5237f3(0x185)]=!0x0,this[_0x5237f3(0x233)](_0x8556d3);}),this[_0x1e7e1a(0x193)](),await this[_0x1e7e1a(0x1b1)]();}async[_0x1162c0(0x1a0)](_0x3eb6ac,_0x194e90){const _0x5bb79d=_0x1162c0;let _0x10da90;this[_0x5bb79d(0x1c1)]=_0x3eb6ac[_0x5bb79d(0x17e)];const _0xbe5fdb=_0x3eb6ac[_0x5bb79d(0x1e1)]&&!_0x3eb6ac[_0x5bb79d(0x1c8)],_0x2ca9c1=_0xbe5fdb?0x0:_0x3eb6ac[_0x5bb79d(0x15b)][_0x5bb79d(0x1f6)];if(_0x194e90[_0x5bb79d(0x17c)](_0x19ed03=>{const _0xea9c5e=_0x5bb79d;_0x19ed03[_0xea9c5e(0x185)]=!0x0,_0x19ed03[_0xea9c5e(0x151)]=_0x3eb6ac[_0xea9c5e(0x21d)],_0x19ed03[_0xea9c5e(0x18c)]=null;}),_0xbe5fdb)_0x10da90=_0x194e90,this[_0x5bb79d(0x13e)](_0x10da90,_0xbe5fdb);else{if(_0x3eb6ac[_0x5bb79d(0x1c8)]){const _0x5942bf=this[_0x5bb79d(0x230)](_0x3eb6ac[_0x5bb79d(0x1c8)]);this[_0x5bb79d(0x17b)][_0x5bb79d(0x184)][_0x5bb79d(0x155)]=-_0x5942bf[_0x5bb79d(0x22a)],_0x5942bf[_0x5bb79d(0x17c)](_0x403f8c=>{const _0x40c03c=_0x5bb79d;_0x403f8c[_0x40c03c(0x1f6)]-=_0x5942bf[_0x40c03c(0x22a)],_0x403f8c[_0x40c03c(0x151)]=_0x3eb6ac[_0x40c03c(0x21d)],_0x403f8c[_0x40c03c(0x185)]=!0x0,_0x403f8c[_0x40c03c(0x18c)]=null;}),this[_0x5bb79d(0x13e)](_0x5942bf,!0x0),this[_0x5bb79d(0x1b4)][_0x5bb79d(0x155)]=-_0x5942bf[_0x5bb79d(0x22a)]+this[_0x5bb79d(0x1c1)],this[_0x5bb79d(0x167)](_0x5942bf);}this[_0x5bb79d(0x17b)][_0x5bb79d(0x184)][_0x5bb79d(0x155)]=_0x2ca9c1,_0x10da90=this[_0x5bb79d(0x1ca)](_0x3eb6ac[_0x5bb79d(0x15b)],_0x3eb6ac[_0x5bb79d(0x15c)]),await this[_0x5bb79d(0x217)](_0x10da90),this[_0x5bb79d(0x13e)](_0x10da90,_0xbe5fdb);}_0x3eb6ac[_0x5bb79d(0x200)]&&(this[_0x5bb79d(0x1a4)][_0x5bb79d(0x147)](_0x10da90,_0x3eb6ac[_0x5bb79d(0x200)]),this[_0x5bb79d(0x169)]=_0x3eb6ac[_0x5bb79d(0x200)]),this[_0x5bb79d(0x1b4)][_0x5bb79d(0x155)]=_0x2ca9c1+this[_0x5bb79d(0x1c1)],this[_0x5bb79d(0x167)](_0x10da90),_0x194e90[_0x5bb79d(0x16b)](_0x5d76f5=>{const _0x25cc18=_0x5bb79d,_0x268239=this[_0x25cc18(0x17f)](_0x5d76f5);return _0x268239&&!this[_0x25cc18(0x1cb)][_0x25cc18(0x1d0)](_0x268239);})[_0x5bb79d(0x17c)]((_0xe2ffe8,_0x18241a)=>{const _0x3d6bea=_0x5bb79d;_0xe2ffe8[_0x3d6bea(0x1f6)]=this[_0x3d6bea(0x17b)][_0x3d6bea(0x155)]+_0x18241a,this[_0x3d6bea(0x233)](_0xe2ffe8);}),this[_0x5bb79d(0x1f2)]()?(this[_0x5bb79d(0x16c)]=0x0,this[_0x5bb79d(0x193)](!0x0),await this[_0x5bb79d(0x1b1)]()):(this[_0x5bb79d(0x220)]=!0x1,this[_0x5bb79d(0x1b6)]());}[_0x1162c0(0x153)](_0x41e116,_0x372b2e){const _0x5bc810=_0x1162c0,_0x56425a=_0x372b2e&&_0x372b2e[_0x5bc810(0x1f1)];if(_0x56425a&&_0x56425a[_0x5bc810(0x16d)](_0x5bc810(0x219)))throw _0x372b2e;const _0x4038fb=this[_0x5bc810(0x1b9)][_0x5bc810(0x1dd)][_0x5bc810(0x175)](_0x5a69d0);throw this[_0x5bc810(0x220)]=!0x0,_0x4038fb[_0x5bc810(0x19d)](),this[_0x5bc810(0x1b9)][_0x5bc810(0x1a9)](_0x5bc810(0x14d)),new _0xdb1491(_0x41e116,this[_0x5bc810(0x1b9)],_0x56425a?{'originalError':_0x56425a}:void 0x0);}[_0x1162c0(0x233)](_0x545f18){const _0x40a2b9=_0x1162c0;this[_0x40a2b9(0x239)][_0x40a2b9(0x1d0)](_0x545f18)||(this[_0x40a2b9(0x239)][_0x40a2b9(0x186)](_0x545f18),this[_0x40a2b9(0x23d)][_0x40a2b9(0x141)](_0x545f18),this[_0x40a2b9(0x226)]||_0x40a2b9(0x21f)==_0x545f18[_0x40a2b9(0x196)]&&!_0x545f18[_0x40a2b9(0x214)]||this[_0x40a2b9(0x173)]());}[_0x1162c0(0x193)](_0x256183=!0x1){const _0x4f3d11=_0x1162c0;!_0x256183&&this[_0x4f3d11(0x220)]||(this[_0x4f3d11(0x220)]=!0x0,clearTimeout(this[_0x4f3d11(0x145)]),this[_0x4f3d11(0x145)]=setTimeout(()=>{const _0x2f1704=_0x4f3d11;this[_0x2f1704(0x152)]()[_0x2f1704(0x229)](_0x3314de=>{const _0x10a73c=_0x2f1704;_0x3314de&&(this[_0x10a73c(0x1b6)](),this[_0x10a73c(0x220)]=!0x1);})[_0x2f1704(0x140)](_0x11fc61=>{const _0x9d07ab=_0x2f1704;this[_0x9d07ab(0x1b6)](),this[_0x9d07ab(0x220)]=!0x1,function(_0x13d54f){const _0x3fb433=_0x9d07ab;return _0x13d54f[_0x3fb433(0x1f1)][_0x3fb433(0x16d)](_0x3fb433(0x15a))||_0x13d54f[_0x3fb433(0x1f1)][_0x3fb433(0x16d)](_0x3fb433(0x197))||_0x13d54f[_0x3fb433(0x1f1)][_0x3fb433(0x16d)](_0x3fb433(0x19a));}(_0x11fc61)||this[_0x9d07ab(0x153)](_0x11fc61[_0x9d07ab(0x1f1)],_0x11fc61);});},this[_0x4f3d11(0x16c)]));}[_0x1162c0(0x1b1)](){return new Promise(_0x18cbf1=>{const _0x1f8abb=_0x417b;this['on'](_0x1f8abb(0x188),()=>{_0x18cbf1();});});}async[_0x1162c0(0x152)](){const _0x3f2c70=_0x1162c0,_0x279cb6=this[_0x3f2c70(0x1b9)][_0x3f2c70(0x1dd)][_0x3f2c70(0x175)](_0x50d726);if(this[_0x3f2c70(0x1ac)]()&&(_0x279cb6[_0x3f2c70(0x15e)](),this[_0x3f2c70(0x17d)]=!0x1),!this[_0x3f2c70(0x1f2)]())return!0x0;const _0x22728e=[...this[_0x3f2c70(0x23d)]];for(const _0x4d1d6d of _0x22728e)_0x4d1d6d[_0x3f2c70(0x203)]=this[_0x3f2c70(0x17b)][_0x3f2c70(0x184)][_0x3f2c70(0x1c6)](_0x4d1d6d);const _0x42513c=this[_0x3f2c70(0x1a4)][_0x3f2c70(0x18b)](_0x22728e),_0x16ade9=K++,_0x244a98=this[_0x3f2c70(0x199)](_0x22728e),_0x27d29c=await this[_0x3f2c70(0x157)][_0x3f2c70(0x20b)](_0x244a98,_0x244a98[_0x3f2c70(0x1f6)],_0x42513c);try{return await this[_0x3f2c70(0x1d9)](_0x22728e,_0x27d29c,_0x16ade9);}catch(_0x33f011){return this[_0x3f2c70(0x153)](_0x3f2c70(0x20d),_0x33f011);}}async[_0x1162c0(0x1d9)](_0x19a66a,_0x2ba365,_0x14197d){const _0x429e0b=_0x1162c0;if(_0x429e0b(0x1ae)in _0x2ba365)throw _0x2ba365[_0x429e0b(0x1ae)];let _0x5c6972=!0x1;if(_0x2ba365[_0x429e0b(0x1e1)]){_0x2ba365[_0x429e0b(0x200)]&&(this[_0x429e0b(0x169)]=_0x2ba365[_0x429e0b(0x200)]),this[_0x429e0b(0x23d)]=this[_0x429e0b(0x23d)][_0x429e0b(0x16b)](_0xa7cde1=>!_0x19a66a[_0x429e0b(0x156)](_0xa7cde1));for(const _0x22c8e2 of _0x19a66a)_0x22c8e2[_0x429e0b(0x151)]=_0x429e0b(0x1a1)in _0x2ba365&&_0x2ba365[_0x429e0b(0x1a1)]||void 0x0;Q(_0x19a66a,_0x2ba365[_0x429e0b(0x155)]-_0x19a66a[_0x429e0b(0x22a)]),this[_0x429e0b(0x167)](_0x19a66a);const _0x2ba435=_0x19a66a[_0x429e0b(0x16b)](_0x403b54=>{const _0x3a9b84=_0x429e0b;if(!_0x403b54[_0x3a9b84(0x185)])return!0x1;const _0x4ff7ab=this[_0x3a9b84(0x17f)](_0x403b54);return _0x4ff7ab&&!this[_0x3a9b84(0x1cb)][_0x3a9b84(0x1d0)](_0x4ff7ab);});Q(_0x2ba435,this[_0x429e0b(0x17b)][_0x429e0b(0x155)]),this[_0x429e0b(0x13e)](_0x2ba435),_0x5c6972=!0x0,this[_0x429e0b(0x16c)]=this[_0x429e0b(0x21e)];}else{const _0x5a0859=this[_0x429e0b(0x1ca)](_0x2ba365[_0x429e0b(0x15b)],_0x2ba365[_0x429e0b(0x15c)])[_0x429e0b(0x16b)](_0x40ba7e=>_0x40ba7e[_0x429e0b(0x1f6)]>=this[_0x429e0b(0x234)]);_0x5a0859[_0x429e0b(0x17c)](_0x10b215=>this[_0x429e0b(0x1a6)](_0x10b215)),this[_0x429e0b(0x23d)]=this[_0x429e0b(0x23d)][_0x429e0b(0x16b)](_0x4159b8=>!_0x4159b8[_0x429e0b(0x185)]||!this[_0x429e0b(0x1cb)][_0x429e0b(0x1d0)](this[_0x429e0b(0x17f)](_0x4159b8))),this[_0x429e0b(0x23d)][_0x429e0b(0x22a)]&&Q(this[_0x429e0b(0x23d)],this[_0x429e0b(0x23d)][0x0][_0x429e0b(0x1f6)]),await this[_0x429e0b(0x217)](_0x5a0859),_0x5c6972=this[_0x429e0b(0x15f)](_0x5a0859,_0x2ba365[_0x429e0b(0x155)],_0x2ba365[_0x429e0b(0x200)]),this[_0x429e0b(0x16c)]=Math[_0x429e0b(0x209)](this[_0x429e0b(0x16c)]/0x2);}return _0x5c6972?!this[_0x429e0b(0x1f2)]()||(this[_0x429e0b(0x193)](!0x0),!0x1):this[_0x429e0b(0x153)](_0x429e0b(0x182));}[_0x1162c0(0x15f)](_0x4e28ab,_0x33672c,_0x599fa5){const _0x116990=_0x1162c0;try{const _0x52c659={'document':this[_0x116990(0x17b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x57b31b,operationsB:_0x5bf9b8,originalOperations:_0x408fea}=_0x41e9b1(_0x4e28ab,this[_0x116990(0x23d)],_0x52c659);Q(_0x57b31b,this[_0x116990(0x17b)][_0x116990(0x155)]),Q(_0x5bf9b8,_0x33672c);for(const _0x36d71a of _0x57b31b){const _0x458430=_0x408fea[_0x116990(0x175)](_0x36d71a);_0x36d71a[_0x116990(0x18c)]=_0x458430?_0x458430[_0x116990(0x18c)]:null;}_0x599fa5&&(this[_0x116990(0x1a4)][_0x116990(0x147)](_0x4e28ab,_0x599fa5),this[_0x116990(0x169)]=_0x599fa5),this[_0x116990(0x23d)]=[..._0x5bf9b8],this[_0x116990(0x13e)](_0x57b31b),this[_0x116990(0x167)](_0x4e28ab);}catch(_0x156e07){return console[_0x116990(0x1ae)](_0x156e07),!0x1;}return!0x0;}[_0x1162c0(0x13e)](_0x44adfd,_0xeffaa6=!0x1){const _0x17cefc=_0x1162c0;this[_0x17cefc(0x1b9)][_0x17cefc(0x21c)][_0x17cefc(0x1a5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x688b47=>{const _0xdd77f5=_0x17cefc;for(const _0x749e24 of _0x44adfd)this[_0xdd77f5(0x239)][_0xdd77f5(0x186)](_0x749e24),this[_0xdd77f5(0x1a6)](_0x749e24),_0x688b47[_0xdd77f5(0x1b8)][_0xdd77f5(0x1e2)](_0x749e24),this[_0xdd77f5(0x1b9)][_0xdd77f5(0x21c)][_0xdd77f5(0x1ef)](_0x749e24);});}[_0x1162c0(0x1a6)](_0x304a1c){const _0x4d9a1f=_0x1162c0,_0x35404d=this[_0x4d9a1f(0x17f)](_0x304a1c);_0x35404d&&this[_0x4d9a1f(0x1cb)][_0x4d9a1f(0x186)](_0x35404d);}[_0x1162c0(0x17f)](_0x5e5870){const _0x23c579=_0x1162c0;let _0x23ce52,_0x266829;switch(_0x5e5870[_0x23c579(0x196)]){case _0x23c579(0x1ce):_0x23ce52=_0x5e5870[_0x23c579(0x20c)][_0x23c579(0x1ea)];break;case _0x23c579(0x21f):if(_0x266829=_0x5e5870[_0x23c579(0x1e0)],!_0x266829)return null;_0x23ce52=_0x266829[_0x23c579(0x1ea)];break;case _0x23c579(0x14c):_0x23ce52=_0x5e5870[_0x23c579(0x1ea)];break;case _0x23c579(0x1ff):_0x23ce52=_0x5e5870[_0x23c579(0x1bb)];break;case _0x23c579(0x192):_0x23ce52=_0x5e5870[_0x23c579(0x1df)][_0x23c579(0x1ea)];break;default:return null;}return _0x23ce52[_0x23c579(0x1e4)];}[_0x1162c0(0x167)](_0x33322b){const _0x3a9aeb=_0x1162c0;_0x33322b[_0x3a9aeb(0x17c)](_0xc7da00=>{const _0xa24102=_0x3a9aeb,_0x5b2ce9=_0xc7da00[_0xa24102(0x1a2)]();_0x5b2ce9[_0xa24102(0x18c)]=_0xc7da00[_0xa24102(0x18c)],_0x5b2ce9[_0xa24102(0x185)]=!!_0xc7da00[_0xa24102(0x185)],_0x5b2ce9[_0xa24102(0x151)]=_0xc7da00[_0xa24102(0x151)],_0x5b2ce9[_0xa24102(0x1f6)]+=this[_0xa24102(0x1c1)],_0xc7da00[_0xa24102(0x194)]&&this[_0xa24102(0x1a7)][_0xa24102(0x186)](_0x5b2ce9),this[_0xa24102(0x1b4)][_0xa24102(0x1e2)](_0x5b2ce9);});}[_0x1162c0(0x1fd)](_0x1973a2){const _0x4a335d=_0x1162c0,_0x42521a=this[_0x4a335d(0x1b9)][_0x4a335d(0x1dd)][_0x4a335d(0x175)](_0x4a335d(0x1d3)),_0x1ce585=this[_0x4a335d(0x1b9)][_0x4a335d(0x1f8)];_0x1973a2||(_0x1973a2=_0x2e6343(_0x1ce585,_0x4a335d(0x158))),_0x42521a[_0x4a335d(0x202)](_0x1973a2,{'title':_0x2e6343(_0x1ce585,_0x4a335d(0x1d7)),'namespace':_0x4a335d(0x211)}),this[_0x4a335d(0x206)]=!0x0,clearTimeout(this[_0x4a335d(0x145)]),this[_0x4a335d(0x23d)]=[],this[_0x4a335d(0x1b9)][_0x4a335d(0x1dd)][_0x4a335d(0x175)](_0x5a69d0)[_0x4a335d(0x19d)]();}[_0x1162c0(0x173)](){const _0x3704e6=_0x1162c0;this[_0x3704e6(0x226)]||(this[_0x3704e6(0x226)]=this[_0x3704e6(0x1b9)][_0x3704e6(0x1dd)][_0x3704e6(0x175)](_0xa965ac)[_0x3704e6(0x186)](_0x2e6343(this[_0x3704e6(0x1b9)][_0x3704e6(0x1f8)],_0x3704e6(0x208))));}[_0x1162c0(0x1b6)](){const _0x73962b=_0x1162c0;this[_0x73962b(0x226)]&&(this[_0x73962b(0x1b9)][_0x73962b(0x1dd)][_0x73962b(0x175)](_0xa965ac)[_0x73962b(0x162)](this[_0x73962b(0x226)]),this[_0x73962b(0x226)]=null);}[_0x1162c0(0x199)](_0x2605de){const _0x3f8ad1=_0x1162c0,_0x9edd2b=_0x2605de[_0x3f8ad1(0x17a)](_0x2a6858=>_0x2a6858[_0x3f8ad1(0x221)]());return this[_0x3f8ad1(0x225)][_0x3f8ad1(0x1cd)](_0x9edd2b);}[_0x1162c0(0x1ca)](_0x3a389c,_0x4e334b){const _0x303347=_0x1162c0;return this[_0x303347(0x225)][_0x303347(0x14a)](_0x3a389c)[_0x303347(0x17a)]((_0x359406,_0x24fcf4)=>{const _0x443560=_0x303347,_0x3cc12b=_0x443560(0x1f0)==_0x4e334b[_0x24fcf4][_0x443560(0x196)];if(_0x443560(0x1f5)==_0x359406[_0x443560(0x142)]){const _0xbe754b=_0x359406[_0x443560(0x20c)][_0x443560(0x1ea)];!this[_0x443560(0x17b)][_0x443560(0x19f)](_0xbe754b)&&(this[_0x443560(0x17b)][_0x443560(0x1e9)](_0x443560(0x176),_0xbe754b)[_0x443560(0x1de)]=!0x1);}const _0x3dfdb6=_0x4e7032[_0x443560(0x1fc)](_0x359406,this[_0x443560(0x17b)]);return _0x3dfdb6[_0x443560(0x203)]=_0x359406[_0x443560(0x203)],_0x3dfdb6[_0x443560(0x185)]=_0x3cc12b,_0x3dfdb6[_0x443560(0x18c)]=_0x3cc12b?null:_0x4e334b[_0x24fcf4][_0x443560(0x1a3)],_0x3dfdb6[_0x443560(0x194)]=_0x443560(0x1ba)===_0x4e334b[_0x24fcf4][_0x443560(0x196)],_0x3dfdb6[_0x443560(0x151)]=_0x4e334b[_0x24fcf4][_0x443560(0x151)],_0x3dfdb6;});}[_0x1162c0(0x1d1)](){const _0x28fa8c=_0x1162c0;this[_0x28fa8c(0x17d)]=!0x0,this[_0x28fa8c(0x1ac)]()?this[_0x28fa8c(0x193)]():this[_0x28fa8c(0x17d)]=!0x1;}[_0x1162c0(0x1ac)](){const _0xc5dc90=_0x1162c0,_0x29fa03=this[_0xc5dc90(0x1b9)][_0xc5dc90(0x1dd)][_0xc5dc90(0x175)](_0x230e93)[_0xc5dc90(0x1b7)][_0xc5dc90(0x175)](this[_0xc5dc90(0x1f4)]);return!this[_0xc5dc90(0x1b9)][_0xc5dc90(0x191)]&&!!_0x29fa03&&_0x29fa03[_0xc5dc90(0x22a)]>0x1&&this[_0xc5dc90(0x17d)];}[_0x1162c0(0x1f2)](){const _0x14f445=_0x1162c0;return this[_0x14f445(0x23d)][_0x14f445(0x22a)]>0x0||this[_0x14f445(0x1ac)]();}}l[_0x1162c0(0x154)]=_0x516f9d;export default l;class J extends Error{}function Q(_0x1ee364,_0x3dc26c){const _0x13506b=_0x1162c0;for(const _0x1428cf of _0x1ee364)_0x1428cf[_0x13506b(0x1f6)]=_0x3dc26c++;}class X{constructor(_0x24f3d7){const _0x550742=_0x1162c0;this[_0x550742(0x1ec)]=_0x24f3d7,this[_0x550742(0x181)]=new WeakMap();}[_0x1162c0(0x18b)](_0xf50848){const _0x2f5b71=_0x1162c0;let _0x366aea=_0xf50848[_0x2f5b71(0x22a)];for(;_0x366aea--;){const _0x2a4672=_0xf50848[_0x366aea];if(!this[_0x2f5b71(0x1ec)][_0x2f5b71(0x1d0)](_0x2a4672)){if(!this[_0x2f5b71(0x181)][_0x2f5b71(0x1d0)](_0x2a4672)){const _0x550a1e=_0x8d031e()[_0x2f5b71(0x20f)](0x1,0x12);this[_0x2f5b71(0x181)][_0x2f5b71(0x1bc)](_0x2a4672,_0x550a1e);}return this[_0x2f5b71(0x181)][_0x2f5b71(0x175)](_0x2a4672);}}}[_0x1162c0(0x147)](_0x441d44,_0x3a7de3){const _0x49b9d6=_0x1162c0;if(!_0x3a7de3)return;let _0x4a355f=_0x441d44[_0x49b9d6(0x22a)];for(;_0x4a355f--;){const _0x475caf=_0x441d44[_0x4a355f];this[_0x49b9d6(0x1ec)][_0x49b9d6(0x1d0)](_0x475caf)||this[_0x49b9d6(0x181)][_0x49b9d6(0x1bc)](_0x475caf,_0x3a7de3);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d09bf=_0xa931;(function(_0x1b34d1,_0x40fdb6){const _0x36726c=_0xa931,_0x166787=_0x1b34d1();while(!![]){try{const _0x108a63=parseInt(_0x36726c(0xcc))/0x1+-parseInt(_0x36726c(0x9d))/0x2*(parseInt(_0x36726c(0xca))/0x3)+parseInt(_0x36726c(0xbb))/0x4*(parseInt(_0x36726c(0xa2))/0x5)+parseInt(_0x36726c(0xcd))/0x6+-parseInt(_0x36726c(0xa4))/0x7+-parseInt(_0x36726c(0xb9))/0x8*(parseInt(_0x36726c(0xbd))/0x9)+parseInt(_0x36726c(0xac))/0xa;if(_0x108a63===_0x40fdb6)break;else _0x166787['push'](_0x166787['shift']());}catch(_0x47b410){_0x166787['push'](_0x166787['shift']());}}}(_0x16e9,0x5f57e));function _0xa931(_0x5550aa,_0x383e8b){const _0x16e97a=_0x16e9();return _0xa931=function(_0xa9316,_0x4ccea0){_0xa9316=_0xa9316-0x97;let _0x5129bb=_0x16e97a[_0xa9316];return _0x5129bb;},_0xa931(_0x5550aa,_0x383e8b);}import{ContextPlugin as _0x5adae7}from'ckeditor5/src/core.js';import{Collection as _0x5410c8,CKEditorError as _0x233dc0}from'ckeditor5/src/utils.js';function _0x16e9(){const _0x45c9a0=['register','connection','set','listenTo','getUser','requires','clear','_handleSessionAdd','getUserRole','get','8LpOilE','channelSessions','780xdeeeU','sessions-unregister-not-exist','6529761VtNQlw','orderNumber','pluginName','_registeredSessions','delete','context','allConnectedUsers','sessionAdd:','getUserBySessionId','isPremiumPlugin','Sessions','state','_handleSessionRemove','133335vjBFyi','add','506567dBfESD','305442ysmTIC','getUserSessions','plugins','fire','values','mySessionId','addUser','remove','role','assign','forEach','change:state','sessions-register-already-registered','sessionId','34oOqgEG','connected','defineMe','has','user','13645ZlQOJH','stopListening','4855074avernj','_users','_createUser','size','_uniqueUsersCount','unregister','isOfficialPlugin','init','14755730inYUIB','channelConnectedUsers','isMe'];_0x16e9=function(){return _0x45c9a0;};return _0x16e9();}import _0x267b11 from'./websocketgateway.js';import{Users as _0x999793}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x5adae7{static get[_0x3d09bf(0xbf)](){const _0x56dfdd=_0x3d09bf;return _0x56dfdd(0xc7);}static get[_0x3d09bf(0xaa)](){return!0x0;}static get[_0x3d09bf(0xc6)](){return!0x0;}static get[_0x3d09bf(0xb4)](){return[_0x267b11,_0x999793];}constructor(_0x131bc4){const _0x37dc46=_0x3d09bf;super(_0x131bc4),this[_0x37dc46(0xba)]=new Map(),this[_0x37dc46(0xad)]=new Map(),this[_0x37dc46(0xc3)]=new _0x5410c8(),this[_0x37dc46(0xc0)]=new Map(),this[_0x37dc46(0xa8)]=0x0,this[_0x37dc46(0xa5)]=this[_0x37dc46(0xc2)][_0x37dc46(0xcf)][_0x37dc46(0xb8)](_0x999793);}[_0x3d09bf(0xab)](){const _0x197997=_0x3d09bf,_0x4214aa=this[_0x197997(0xc2)][_0x197997(0xcf)][_0x197997(0xb8)](_0x267b11);this[_0x197997(0xb2)](_0x4214aa,_0x197997(0x9a),(_0x326d36,_0x2f3e82,_0x494fff)=>{const _0x48c9b6=_0x197997;if(_0x48c9b6(0x9e)!==_0x494fff)this[_0x48c9b6(0xba)][_0x48c9b6(0x99)](_0x945742=>_0x945742[_0x48c9b6(0xb5)]()),this[_0x48c9b6(0xad)][_0x48c9b6(0x99)](_0x586a9d=>_0x586a9d[_0x48c9b6(0xb5)]()),this[_0x48c9b6(0xc3)][_0x48c9b6(0xb5)]();else{for(const [_0x29e4f7,_0x3ae876]of this[_0x48c9b6(0xc0)])for(const _0x55b02a of _0x3ae876)this[_0x48c9b6(0xb6)](_0x29e4f7,_0x55b02a);}}),this[_0x197997(0xa6)](_0x4214aa[_0x197997(0xb0)]['me'],!0x0);}[_0x3d09bf(0xaf)](_0x28ae28,_0x831846){const _0x4db0f0=_0x3d09bf;if(this[_0x4db0f0(0xc0)][_0x4db0f0(0xa0)](_0x28ae28))throw new _0x233dc0(_0x4db0f0(0x9b),null,{'channelId':_0x28ae28});this[_0x4db0f0(0xc0)][_0x4db0f0(0xb1)](_0x28ae28,_0x831846),this[_0x4db0f0(0xba)][_0x4db0f0(0xb1)](_0x28ae28,new _0x5410c8()),this[_0x4db0f0(0xad)][_0x4db0f0(0xb1)](_0x28ae28,new _0x5410c8()),this[_0x4db0f0(0xb2)](_0x831846,_0x4db0f0(0xcb),(_0x4d4201,_0x2be3f8)=>this[_0x4db0f0(0xb6)](_0x28ae28,_0x2be3f8)),this[_0x4db0f0(0xb2)](_0x831846,_0x4db0f0(0xd4),(_0x51d7b4,_0x1dfe43)=>this[_0x4db0f0(0xc9)](_0x28ae28,_0x1dfe43));for(const _0x238d98 of _0x831846)this[_0x4db0f0(0xb6)](_0x28ae28,_0x238d98);}[_0x3d09bf(0xa9)](_0x548ca6){const _0x25167e=_0x3d09bf;if(!this[_0x25167e(0xc0)][_0x25167e(0xa0)](_0x548ca6))throw new _0x233dc0(_0x25167e(0xbc),null,{'channelId':_0x548ca6});const _0x58ff59=this[_0x25167e(0xc0)][_0x25167e(0xb8)](_0x548ca6);this[_0x25167e(0xa3)](_0x58ff59);for(const _0x59b5fc of _0x58ff59)_0x25167e(0x9e)===this[_0x25167e(0xc2)][_0x25167e(0xcf)][_0x25167e(0xb8)](_0x267b11)[_0x25167e(0xc8)]&&this[_0x25167e(0xc9)](_0x548ca6,_0x59b5fc);this[_0x25167e(0xc0)][_0x25167e(0xc1)](_0x548ca6),this[_0x25167e(0xba)][_0x25167e(0xc1)](_0x548ca6),this[_0x25167e(0xad)][_0x25167e(0xc1)](_0x548ca6);}get[_0x3d09bf(0xd2)](){const _0xa239e5=_0x3d09bf;return this[_0xa239e5(0xc2)][_0xa239e5(0xcf)][_0xa239e5(0xb8)](_0x267b11)[_0xa239e5(0xb0)][_0xa239e5(0x9c)];}[_0x3d09bf(0xc5)](_0x1d6735){const _0x40be4a=_0x3d09bf;for(const _0x5cef46 of this[_0x40be4a(0xba)][_0x40be4a(0xd1)]())for(const _0x565f78 of _0x5cef46)if(_0x565f78['id']===_0x1d6735)return _0x565f78[_0x40be4a(0xa1)];}[_0x3d09bf(0xce)](_0x4b5f58,_0x2f83b8){const _0x346740=_0x3d09bf,_0x295894=_0x2f83b8?[this[_0x346740(0xba)][_0x346740(0xb8)](_0x2f83b8)]:this[_0x346740(0xba)][_0x346740(0xd1)](),_0x298ef4=new Set();for(const _0x4018be of _0x295894)for(const _0x2170ac of _0x4018be)_0x2170ac[_0x346740(0xa1)]['id']===_0x4b5f58['id']&&_0x298ef4[_0x346740(0xcb)](_0x2170ac['id']);return _0x298ef4;}[_0x3d09bf(0xb7)](_0x38ea2d){const _0x26d618=_0x3d09bf;for(const _0x5bda3c of this[_0x26d618(0xba)][_0x26d618(0xd1)]())for(const _0xef9ef0 of _0x5bda3c)if(_0xef9ef0[_0x26d618(0xa1)]===_0x38ea2d)return _0xef9ef0[_0x26d618(0x97)];}[_0x3d09bf(0xb6)](_0x189446,_0x3a6a4d){const _0x341e70=_0x3d09bf;if(_0x341e70(0x9e)!==this[_0x341e70(0xc2)][_0x341e70(0xcf)][_0x341e70(0xb8)](_0x267b11)[_0x341e70(0xc8)])return;const _0x4b7237=_0x3a6a4d[_0x341e70(0xa1)],_0x5cbae7=this[_0x341e70(0xa5)][_0x341e70(0xb3)](_0x4b7237['id'])||this[_0x341e70(0xa6)](_0x4b7237),_0x2784ec=Object[_0x341e70(0x98)]({},_0x3a6a4d,{'user':_0x5cbae7});this[_0x341e70(0xba)][_0x341e70(0xb8)](_0x189446)[_0x341e70(0xcb)](_0x2784ec);const _0x593125=this[_0x341e70(0xad)][_0x341e70(0xb8)](_0x189446);_0x593125[_0x341e70(0xa0)](_0x5cbae7['id'])||_0x593125[_0x341e70(0xcb)](_0x5cbae7),this[_0x341e70(0xc3)][_0x341e70(0xa0)](_0x5cbae7['id'])||this[_0x341e70(0xc3)][_0x341e70(0xcb)](_0x5cbae7,_0x5cbae7[_0x341e70(0xae)]?0x0:void 0x0),this[_0x341e70(0xd0)](_0x341e70(0xc4)+_0x189446,{'channelId':_0x189446,'session':_0x2784ec});}[_0x3d09bf(0xc9)](_0x2bead0,_0x5f15b0){const _0x4b324d=_0x3d09bf;if(_0x4b324d(0x9e)!==this[_0x4b324d(0xc2)][_0x4b324d(0xcf)][_0x4b324d(0xb8)](_0x267b11)[_0x4b324d(0xc8)])return;const _0x4f3c3b=this[_0x4b324d(0xad)][_0x4b324d(0xb8)](_0x2bead0),_0x4def97=_0x5f15b0[_0x4b324d(0xa1)];_0x4def97['id']&&(this[_0x4b324d(0xba)][_0x4b324d(0xb8)](_0x2bead0)[_0x4b324d(0xd4)](_0x5f15b0['id']),_0x4f3c3b[_0x4b324d(0xa0)](_0x4def97['id'])&&!this[_0x4b324d(0xce)](_0x4def97,_0x2bead0)[_0x4b324d(0xa7)]&&_0x4f3c3b[_0x4b324d(0xd4)](_0x4def97['id']),this[_0x4b324d(0xc3)][_0x4b324d(0xb8)](_0x4def97['id'])&&!this[_0x4b324d(0xce)](_0x4def97)[_0x4b324d(0xa7)]&&this[_0x4b324d(0xc3)][_0x4b324d(0xd4)](_0x4def97['id']));}[_0x3d09bf(0xa6)](_0x2423f0,_0x445e1d){const _0x1711e4=_0x3d09bf,_0x5c1845=this[_0x1711e4(0xa5)][_0x1711e4(0xd3)](_0x2423f0);return _0x445e1d&&this[_0x1711e4(0xa5)][_0x1711e4(0x9f)](_0x2423f0['id']),_0x5c1845[_0x1711e4(0xbe)]=this[_0x1711e4(0xa8)]++,_0x5c1845;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3eed(_0x16835a,_0x1d9ae9){const _0x41a222=_0x41a2();return _0x3eed=function(_0x3eed68,_0x4d77b9){_0x3eed68=_0x3eed68-0x120;let _0x106799=_0x41a222[_0x3eed68];return _0x106799;},_0x3eed(_0x16835a,_0x1d9ae9);}const _0x20f1b7=_0x3eed;(function(_0x52f2c3,_0x3566a8){const _0x326196=_0x3eed,_0x3e3306=_0x52f2c3();while(!![]){try{const _0x27ceb2=parseInt(_0x326196(0x18d))/0x1*(-parseInt(_0x326196(0x19a))/0x2)+-parseInt(_0x326196(0x14f))/0x3+parseInt(_0x326196(0x1a0))/0x4+-parseInt(_0x326196(0x145))/0x5*(parseInt(_0x326196(0x18e))/0x6)+parseInt(_0x326196(0x148))/0x7+-parseInt(_0x326196(0x122))/0x8+parseInt(_0x326196(0x187))/0x9*(parseInt(_0x326196(0x180))/0xa);if(_0x27ceb2===_0x3566a8)break;else _0x3e3306['push'](_0x3e3306['shift']());}catch(_0x3a574b){_0x3e3306['push'](_0x3e3306['shift']());}}}(_0x41a2,0x797b1));import{Plugin as _0x1ae8ec}from'ckeditor5/src/core.js';import{global as _0x209759,DomEmitterMixin as _0x2c1be2}from'ckeditor5/src/utils.js';import _0x5cf443 from'./sessions.js';import{LiveRange as _0x2a14f4}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1ae8ec{constructor(){const _0x3b57b2=_0x3eed;super(...arguments),this[_0x3b57b2(0x16e)]=new(_0x2c1be2())();}static get[_0x20f1b7(0x169)](){return[_0x5cf443];}static get[_0x20f1b7(0x128)](){const _0x4a9067=_0x20f1b7;return _0x4a9067(0x139);}static get[_0x20f1b7(0x193)](){return!0x0;}static get[_0x20f1b7(0x175)](){return!0x0;}[_0x20f1b7(0x172)](){const _0x40871f=_0x20f1b7,_0x2e0e0a=this[_0x40871f(0x147)],_0x41294d=_0x2e0e0a[_0x40871f(0x123)][_0x40871f(0x134)](_0x5cf443);_0x2e0e0a[_0x40871f(0x127)][_0x40871f(0x18b)](_0x40871f(0x132))[_0x40871f(0x12b)]({'model':_0x40871f(0x19d),'view':(_0x1cb277,{writer:_0x1b970a})=>function(_0x3c91e3,_0x475cd3,_0x465bc6,_0x339015){const _0x4f3a64=_0x40871f,_0x54609b=_0x3c91e3[_0x4f3a64(0x14a)][_0x4f3a64(0x129)](':')[0x2],_0x3da644=_0x465bc6[_0x4f3a64(0x13f)](_0x54609b);if(!_0x3da644||_0x54609b===_0x465bc6[_0x4f3a64(0x156)])return;if(!_0x339015[_0x4f3a64(0x189)][_0x4f3a64(0x12a)][_0x4f3a64(0x16f)](_0x3c91e3[_0x4f3a64(0x174)][_0x4f3a64(0x151)],_0x4f3a64(0x130)))return;const _0x3c7d30={'class':_0x4f3a64(0x16a)+_0x3da644[_0x4f3a64(0x152)][_0x4f3a64(0x18a)](),'data-name':_0x3da644[_0x4f3a64(0x173)],'data-session-id':_0x54609b},_0xa1798c=_0x339015[_0x4f3a64(0x189)][_0x4f3a64(0x13e)][_0x4f3a64(0x134)](_0x3c91e3[_0x4f3a64(0x14a)]),_0xb31b44=_0xa1798c[_0x4f3a64(0x19f)](),_0x4a1348=_0xb31b44[_0x4f3a64(0x138)],_0x284a76=_0x339015[_0x4f3a64(0x189)][_0x4f3a64(0x12a)];if(_0x4a1348&&_0x284a76[_0x4f3a64(0x121)](_0x4a1348)&&_0x284a76[_0x4f3a64(0x15c)](_0x4a1348)&&!_0x339015[_0x4f3a64(0x189)][_0x4f3a64(0x13e)][_0x4f3a64(0x134)](_0x4f3a64(0x198)+_0x54609b)[_0x4f3a64(0x162)]()[_0x4f3a64(0x19e)])return;const _0x25db5b=_0xb31b44[_0x4f3a64(0x17c)];return _0x339015[_0x4f3a64(0x189)][_0x4f3a64(0x12a)][_0x4f3a64(0x16c)](_0x25db5b)&&!_0x339015[_0x4f3a64(0x189)][_0x4f3a64(0x181)](_0x25db5b)&&(_0x3c7d30[_0x4f3a64(0x183)]=!0x1),function(_0x3c8761,_0x4b0954,_0x3dbfac){const _0x259ad5=_0x4f3a64,_0x2888fe=_0x3c8761[_0x259ad5(0x15d)](_0x259ad5(0x13d),_0x4b0954);return _0x3c8761[_0x259ad5(0x154)](_0x259ad5(0x167),!0x0,_0x2888fe),_0x2888fe[_0x259ad5(0x1a3)]=function(_0x4e293f){const _0x5c6f74=_0x259ad5,_0x293e0c=this[_0x5c6f74(0x133)](_0x4e293f);return _0x293e0c[_0x5c6f74(0x13c)]=_0x5c6f74(0x131)+_0x3dbfac[_0x5c6f74(0x173)]+_0x5c6f74(0x178),_0x293e0c[_0x5c6f74(0x17a)](_0x5c6f74(0x157),()=>{const _0x7c59ae=_0x5c6f74;_0x293e0c[_0x7c59ae(0x135)][_0x7c59ae(0x182)](_0x7c59ae(0x188));}),_0x293e0c[_0x5c6f74(0x17a)](_0x5c6f74(0x1a4),()=>{const _0x31e76e=_0x5c6f74;_0x293e0c[_0x31e76e(0x135)][_0x31e76e(0x170)](_0x31e76e(0x188));}),_0x293e0c;},_0x2888fe[_0x259ad5(0x184)]=function(_0xc95d32){const _0x2394fc=_0x259ad5;return!(!this[_0x2394fc(0x120)](_0x2394fc(0x167))||!_0xc95d32[_0x2394fc(0x120)](_0x2394fc(0x167))||this[_0x2394fc(0x14b)](_0x2394fc(0x159))!=_0xc95d32[_0x2394fc(0x14b)](_0x2394fc(0x159)));},_0x2888fe;}(_0x475cd3,_0x3c7d30,_0x3da644);}(_0x1cb277,_0x1b970a,_0x41294d,_0x2e0e0a)}),_0x2e0e0a[_0x40871f(0x127)][_0x40871f(0x18b)](_0x40871f(0x132))[_0x40871f(0x17e)]({'model':_0x40871f(0x171),'view':_0x3602b4=>function(_0x46d19f,_0x2bfe1a){const _0x36da08=_0x40871f,_0x28ea54=_0x46d19f[_0x36da08(0x14a)][_0x36da08(0x129)](':')[0x2];if(_0x28ea54===_0x2bfe1a[_0x36da08(0x156)])return null;const _0x552565=_0x2bfe1a[_0x36da08(0x13f)](_0x28ea54);if(!_0x552565)return{'id':_0x28ea54,'classes':[]};return{'id':_0x28ea54,'classes':[_0x36da08(0x144),_0x552565[_0x36da08(0x152)][_0x36da08(0x19c)]()],'attributes':{'data-session-id':_0x28ea54},'priority':0x7d0+_0x552565[_0x36da08(0x179)]};}(_0x3602b4,_0x41294d)}),function(_0x13f02e){const _0x2007da=_0x40871f,_0x44e518=_0x13f02e[_0x2007da(0x189)],_0x5d4f21=new Map(),_0x34ff03=_0x13f02e[_0x2007da(0x123)][_0x2007da(0x134)](_0x5cf443);_0x44e518[_0x2007da(0x13e)]['on'](_0x2007da(0x191),(_0x5d0362,_0x11f188,_0x5eb4e9,_0x56b751)=>{const _0xe3043d=_0x2007da;if(!_0x56b751&&_0x5d4f21[_0xe3043d(0x134)](_0x11f188[_0xe3043d(0x173)]))return _0x5d4f21[_0xe3043d(0x134)](_0x11f188[_0xe3043d(0x173)])[_0xe3043d(0x142)](),void _0x5d4f21[_0xe3043d(0x168)](_0x11f188[_0xe3043d(0x173)]);const _0x570df8=_0x11f188[_0xe3043d(0x173)][_0xe3043d(0x129)](':')[0x2];if(_0x570df8===_0x34ff03[_0xe3043d(0x156)])return;const _0xe91674=_0xe3043d(0x14e)+_0x570df8;_0x44e518[_0xe3043d(0x13e)][_0xe3043d(0x1a1)](_0xe91674)&&_0x13f02e[_0xe3043d(0x176)][_0xe3043d(0x17d)](_0xe91674),_0x11f188['on'](_0xe3043d(0x186),(_0x506fbe,_0x3992cc,_0xcb7360)=>{const _0x25f856=_0xe3043d;if(_0x25f856(0x146)!=_0x3992cc[_0x25f856(0x199)][_0x25f856(0x190)]&&_0x25f856(0x146)==_0x11f188[_0x25f856(0x162)]()[_0x25f856(0x199)][_0x25f856(0x190)]&&!_0x5d4f21[_0x25f856(0x1a1)](_0x11f188[_0x25f856(0x173)])){const _0x5446a1=_0x44e518[_0x25f856(0x12a)][_0x25f856(0x185)](_0xcb7360[_0x25f856(0x1a2)]);if(_0x5446a1){const _0x50e563=_0x2a14f4[_0x25f856(0x18f)](_0x5446a1);_0x5d4f21[_0x25f856(0x13b)](_0x11f188[_0x25f856(0x173)],_0x50e563),_0x50e563['on'](_0x25f856(0x186),(_0x47ce49,_0x502c9c,_0x1387d5)=>{const _0x1659d3=_0x25f856;if(_0x1659d3(0x146)==_0x50e563[_0x1659d3(0x199)][_0x1659d3(0x190)]){const _0x205e3f=_0x44e518[_0x1659d3(0x12a)][_0x1659d3(0x185)](_0x1387d5[_0x1659d3(0x1a2)]);_0x205e3f?(_0x50e563[_0x1659d3(0x151)]=_0x205e3f[_0x1659d3(0x151)],_0x50e563[_0x1659d3(0x141)]=_0x205e3f[_0x1659d3(0x141)]):(_0x5d4f21[_0x1659d3(0x168)](_0x11f188[_0x1659d3(0x173)]),_0x50e563[_0x1659d3(0x142)]());}});}}});}),_0x44e518[_0x2007da(0x12e)]['on'](_0x2007da(0x15b),()=>{const _0x5f5b0d=_0x2007da;_0x5d4f21[_0x5f5b0d(0x143)]>0x0&&_0x44e518[_0x5f5b0d(0x150)]({'isUndoable':!0x1},_0x413f88=>{const _0x331031=_0x5f5b0d;for(const [_0x4fdb60,_0x33dc73]of _0x5d4f21)_0x331031(0x146)==_0x44e518[_0x331031(0x13e)][_0x331031(0x134)](_0x4fdb60)[_0x331031(0x162)]()[_0x331031(0x199)][_0x331031(0x190)]&&(re(_0x4fdb60[_0x331031(0x129)](':')[0x2],_0x33dc73[_0x331031(0x125)](),_0x44e518,_0x413f88),_0x33dc73[_0x331031(0x142)]());_0x5d4f21[_0x331031(0x12c)]();});});}(_0x2e0e0a),this[_0x40871f(0x16e)][_0x40871f(0x12d)](_0x209759[_0x40871f(0x12e)],_0x40871f(0x196),(_0x2b3869,{key:_0xc24dae})=>{const _0x33873e=_0x40871f;_0x33873e(0x164)===_0xc24dae&&function(_0x37085d){const _0x1abaf9=_0x33873e;_0x37085d[_0x1abaf9(0x176)][_0x1abaf9(0x126)][_0x1abaf9(0x15b)](_0x5ad55c=>{const _0x57ffc1=_0x1abaf9;for(const _0x11e43b of _0x37085d[_0x57ffc1(0x189)][_0x57ffc1(0x13e)]){if(!_0x11e43b[_0x57ffc1(0x173)][_0x57ffc1(0x15e)](_0x57ffc1(0x19d)))continue;const _0x18104e=_0x37085d[_0x57ffc1(0x176)][_0x57ffc1(0x18c)][_0x57ffc1(0x13a)](_0x11e43b[_0x57ffc1(0x173)]);if(_0x18104e){for(const _0x48d35e of _0x18104e)_0x5ad55c[_0x57ffc1(0x15f)](_0x57ffc1(0x188),_0x48d35e);}}});}(_0x2e0e0a);},{'useCapture':!0x0});}[_0x20f1b7(0x165)](){const _0x5c55e9=_0x20f1b7,_0x2d15d2=this[_0x5c55e9(0x147)],_0x4761d2=_0x2d15d2[_0x5c55e9(0x140)][_0x5c55e9(0x134)](_0x5c55e9(0x16d));_0x4761d2&&_0x2d15d2[_0x5c55e9(0x189)]['on'](_0x5c55e9(0x19b),(_0x52b1b6,_0xa3e266)=>{const _0x59f5e6=_0x5c55e9,_0x44e9a9=_0xa3e266[0x0];if(!_0x44e9a9[_0x59f5e6(0x17f)])return;if(_0x59f5e6(0x192)!=_0x44e9a9[_0x59f5e6(0x14d)]||!_0x44e9a9[_0x59f5e6(0x173)][_0x59f5e6(0x15e)](_0x59f5e6(0x12f)))return;const _0x3382f2=_0x44e9a9[_0x59f5e6(0x17b)];_0x4761d2[_0x59f5e6(0x197)][_0x59f5e6(0x1a1)](_0x3382f2)&&(_0x44e9a9[_0x59f5e6(0x149)]=_0x44e9a9[_0x59f5e6(0x124)]?_0x2d15d2[_0x59f5e6(0x189)][_0x59f5e6(0x137)](_0x44e9a9[_0x59f5e6(0x124)][_0x59f5e6(0x151)],_0x44e9a9[_0x59f5e6(0x124)][_0x59f5e6(0x141)]):null);},{'priority':_0x5c55e9(0x166)});}[_0x20f1b7(0x16b)](){const _0x58c833=_0x20f1b7;return this[_0x58c833(0x16e)][_0x58c833(0x155)](),super[_0x58c833(0x16b)]();}[_0x20f1b7(0x160)](){const _0x349ef0=_0x20f1b7,_0x2e3dfe=this[_0x349ef0(0x147)],_0x478597=_0x2e3dfe[_0x349ef0(0x189)][_0x349ef0(0x12e)],_0x358678=_0x2e3dfe[_0x349ef0(0x123)][_0x349ef0(0x134)](_0x5cf443);_0x2e3dfe[_0x349ef0(0x189)][_0x349ef0(0x150)]({'isUndoable':!0x1},_0x2b61a0=>{const _0x5446a5=_0x349ef0,_0x14e86f=_0x5446a5(0x198)+_0x358678[_0x5446a5(0x156)],_0x7bd1d0=_0x5446a5(0x14e)+_0x358678[_0x5446a5(0x156)],_0x4596e8=_0x2e3dfe[_0x5446a5(0x189)][_0x5446a5(0x13e)][_0x5446a5(0x1a1)](_0x14e86f);_0x2e3dfe[_0x5446a5(0x176)][_0x5446a5(0x126)][_0x5446a5(0x177)]?re(_0x358678[_0x5446a5(0x156)],_0x478597[_0x5446a5(0x136)][_0x5446a5(0x14c)](),_0x2e3dfe[_0x5446a5(0x189)],_0x2b61a0):_0x4596e8&&(_0x2b61a0[_0x5446a5(0x194)](_0x14e86f),_0x2b61a0[_0x5446a5(0x194)](_0x7bd1d0));});}}function re(_0x36c5a4,_0x321f9f,_0x282f0a,_0x1c1f89){const _0x4f1f73=_0x20f1b7,_0x360b39=_0x4f1f73(0x198)+_0x36c5a4,_0x158615=_0x4f1f73(0x14e)+_0x36c5a4,_0x5beab1=_0x321f9f[_0x4f1f73(0x158)]();let _0x42a8c5=_0x321f9f[_0x4f1f73(0x151)];_0x5beab1&&_0x5beab1['is'](_0x4f1f73(0x15a),_0x4f1f73(0x163))&&(_0x42a8c5=function(_0x287bbe,_0x23cfee){const _0x3027f4=_0x4f1f73;for(const _0x2aba6d of _0x287bbe[_0x3027f4(0x195)]())if(_0x23cfee[_0x3027f4(0x12a)][_0x3027f4(0x16f)](_0x2aba6d,_0x3027f4(0x130)))return _0x2aba6d;}(_0x321f9f,_0x282f0a),_0x321f9f=_0x1c1f89[_0x4f1f73(0x137)](_0x42a8c5));const _0x324431=_0x1c1f89[_0x4f1f73(0x137)](_0x42a8c5);_0x282f0a[_0x4f1f73(0x13e)][_0x4f1f73(0x1a1)](_0x360b39)?(_0x1c1f89[_0x4f1f73(0x153)](_0x360b39,{'range':_0x321f9f}),_0x1c1f89[_0x4f1f73(0x153)](_0x158615,{'range':_0x324431})):(_0x1c1f89[_0x4f1f73(0x161)](_0x360b39,{'range':_0x321f9f,'usingOperation':!0x0}),_0x1c1f89[_0x4f1f73(0x161)](_0x158615,{'range':_0x324431,'usingOperation':!0x0}));}function _0x41a2(){const _0x3fadd3=['mySessionId','mouseenter','getContainedElement','data-session-id','element','change','isInline','createUIElement','startsWith','removeClass','createUserMarkerOperations','addMarker','getRange','tableCell','Escape','afterInit','highest','userPositionMarker','delete','requires','ck-user__marker\x20','destroy','isLimit','undo','_domEmitter','checkChild','remove','user:range','init','name','markerRange','isPremiumPlugin','editing','hasDomSelection','</span>','orderNumber','addEventListener','batch','parent','reconvertMarker','markerToHighlight','isDocumentOperation','5030yBIizn','hasContent','add','contenteditable','isSimilar','getNearestSelectionRange','change:range','43155zmeasc','ck-user__marker_hovered','model','getMarkerClass','for','mapper','863749wMUKgR','188742qwHoZv','fromRange','rootName','update:user:range','marker','isOfficialPlugin','removeMarker','getPositions','keydown','_createdBatches','user:range:','root','2YAGoSy','applyOperation','getSelectionClass','user:position','isCollapsed','getStart','2180220QSvoRc','has','deletionPosition','render','mouseleave','getCustomProperty','isObject','5229464nUAFzx','plugins','oldRange','toRange','view','conversion','pluginName','split','schema','markerToElement','clear','listenTo','document','user:','$text','<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>','editingDowncast','toDomElement','get','classList','selection','createRange','nodeAfter','UserMarkers','markerNameToElements','set','innerHTML','span','markers','getUserBySessionId','commands','end','detach','size','ck-user__selection','55RKbpkL','$graveyard','editor','348425TosQTR','newRange','markerName','getAttribute','getFirstRange','type','user:position:','1937013QogtiI','enqueueChange','start','color','updateMarker','setCustomProperty','stopListening'];_0x41a2=function(){return _0x3fadd3;};return _0x41a2();}
|
|
23
|
+
const _0x2db848=_0x2a11;(function(_0x3f9b80,_0x56c4f1){const _0x1cb9fc=_0x2a11,_0x54fe5a=_0x3f9b80();while(!![]){try{const _0x18f216=-parseInt(_0x1cb9fc(0x1ca))/0x1+-parseInt(_0x1cb9fc(0x205))/0x2+-parseInt(_0x1cb9fc(0x1b2))/0x3+parseInt(_0x1cb9fc(0x1c1))/0x4+parseInt(_0x1cb9fc(0x19b))/0x5+parseInt(_0x1cb9fc(0x1d4))/0x6+parseInt(_0x1cb9fc(0x1c5))/0x7*(-parseInt(_0x1cb9fc(0x1a8))/0x8);if(_0x18f216===_0x56c4f1)break;else _0x54fe5a['push'](_0x54fe5a['shift']());}catch(_0xa3b0f4){_0x54fe5a['push'](_0x54fe5a['shift']());}}}(_0x405e,0x1fd78));import{Plugin as _0x45ac9c}from'ckeditor5/src/core.js';import{global as _0x1cb58f,DomEmitterMixin as _0x47a457}from'ckeditor5/src/utils.js';import _0x31e26d from'./sessions.js';function _0x405e(){const _0x5608d7=['delete','addEventListener','getNearestSelectionRange','user:range','_createdBatches','element','keydown','update:user:range','isPremiumPlugin','change:range','commands','startsWith','addMarker','isObject','stopListening','markerRange','getFirstRange','orderNumber','plugins','getPositions','rootName','isDocumentOperation','userPositionMarker','createUserMarkerOperations','getRange','createUIElement','getCustomProperty','getSelectionClass','mouseleave','removeClass','change','markerName','user:','init','208976ICnVIA','user:position:','reconvertMarker','type','mySessionId','start','updateMarker','getAttribute','fromRange','</span>','markerNameToElements','conversion','afterInit','pluginName','marker','for','setCustomProperty','render','isOfficialPlugin','remove','get','getStart','markerToElement','UserMarkers','getContainedElement','120720LEZrZr','_domEmitter','data-session-id','nodeAfter','toRange','schema','parent','getUserBySessionId','markers','deletionPosition','getMarkerClass','editingDowncast','toDomElement','8XORGoJ','destroy','markerToHighlight','span','document','clear','isSimilar','view','editor','user:position','593838kecTmn','enqueueChange','size','color','split','add','$text','user:range:','highest','listenTo','innerHTML','set','classList','tableCell','isCollapsed','886212EWJReu','requires','name','ck-user__marker_hovered','236943rBcDYa','Escape','hasContent','batch','undo','4174uTRzHn','editing','ck-user__selection','end','isInline','has','root','createRange','applyOperation','mouseenter','1351104WhjyEi','checkChild','selection','newRange','isLimit','ck-user__marker\x20','$graveyard','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','contenteditable','detach','removeMarker','oldRange','hasDomSelection','mapper','model'];_0x405e=function(){return _0x5608d7;};return _0x405e();}import{LiveRange as _0x466b4c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x45ac9c{constructor(){const _0x253e00=_0x2a11;super(...arguments),this[_0x253e00(0x19c)]=new(_0x47a457())();}static get[_0x2db848(0x1c2)](){return[_0x31e26d];}static get[_0x2db848(0x212)](){const _0x536634=_0x2db848;return _0x536634(0x199);}static get[_0x2db848(0x217)](){return!0x0;}static get[_0x2db848(0x1eb)](){return!0x0;}[_0x2db848(0x204)](){const _0x4de385=_0x2db848,_0x4051c1=this[_0x4de385(0x1b0)],_0x41d161=_0x4051c1[_0x4de385(0x1f5)][_0x4de385(0x219)](_0x31e26d);_0x4051c1[_0x4de385(0x210)][_0x4de385(0x214)](_0x4de385(0x1a6))[_0x4de385(0x21b)]({'model':_0x4de385(0x1b1),'view':(_0x145459,{writer:_0x33e0bb})=>function(_0x391757,_0x4cdc71,_0x16ba37,_0xa3be56){const _0x2811ce=_0x4de385,_0x5c17bb=_0x391757[_0x2811ce(0x202)][_0x2811ce(0x1b6)](':')[0x2],_0x37bb77=_0x16ba37[_0x2811ce(0x1a2)](_0x5c17bb);if(!_0x37bb77||_0x5c17bb===_0x16ba37[_0x2811ce(0x209)])return;if(!_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a0)][_0x2811ce(0x1d5)](_0x391757[_0x2811ce(0x1f2)][_0x2811ce(0x20a)],_0x2811ce(0x1b8)))return;const _0x270046={'class':_0x2811ce(0x1d9)+_0x37bb77[_0x2811ce(0x1b5)][_0x2811ce(0x1a5)](),'data-name':_0x37bb77[_0x2811ce(0x1c3)],'data-session-id':_0x5c17bb},_0x2a30f7=_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a3)][_0x2811ce(0x219)](_0x391757[_0x2811ce(0x202)]),_0x2c9908=_0x2a30f7[_0x2811ce(0x21a)](),_0x2c2ec2=_0x2c9908[_0x2811ce(0x19e)],_0x2168be=_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a0)];if(_0x2c2ec2&&_0x2168be[_0x2811ce(0x1f0)](_0x2c2ec2)&&_0x2168be[_0x2811ce(0x1ce)](_0x2c2ec2)&&!_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a3)][_0x2811ce(0x219)](_0x2811ce(0x1b9)+_0x5c17bb)[_0x2811ce(0x1fb)]()[_0x2811ce(0x1c0)])return;const _0x5ed59c=_0x2c9908[_0x2811ce(0x1a1)];return _0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a0)][_0x2811ce(0x1d8)](_0x5ed59c)&&!_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1c7)](_0x5ed59c)&&(_0x270046[_0x2811ce(0x1dc)]=!0x1),function(_0x76770e,_0x3a9acb,_0x542ac0){const _0x2daf1f=_0x2811ce,_0x4a3054=_0x76770e[_0x2daf1f(0x1fc)](_0x2daf1f(0x1ab),_0x3a9acb);return _0x76770e[_0x2daf1f(0x215)](_0x2daf1f(0x1f9),!0x0,_0x4a3054),_0x4a3054[_0x2daf1f(0x216)]=function(_0xf37c2e){const _0x5a5fef=_0x2daf1f,_0x5a5158=this[_0x5a5fef(0x1a7)](_0xf37c2e);return _0x5a5158[_0x5a5fef(0x1bc)]=_0x5a5fef(0x1db)+_0x542ac0[_0x5a5fef(0x1c3)]+_0x5a5fef(0x20e),_0x5a5158[_0x5a5fef(0x1e4)](_0x5a5fef(0x1d3),()=>{const _0x1c8aee=_0x5a5fef;_0x5a5158[_0x1c8aee(0x1be)][_0x1c8aee(0x1b7)](_0x1c8aee(0x1c4));}),_0x5a5158[_0x5a5fef(0x1e4)](_0x5a5fef(0x1ff),()=>{const _0x331030=_0x5a5fef;_0x5a5158[_0x331030(0x1be)][_0x331030(0x218)](_0x331030(0x1c4));}),_0x5a5158;},_0x4a3054[_0x2daf1f(0x1ae)]=function(_0x26e785){const _0x246e9a=_0x2daf1f;return!(!this[_0x246e9a(0x1fd)](_0x246e9a(0x1f9))||!_0x26e785[_0x246e9a(0x1fd)](_0x246e9a(0x1f9))||this[_0x246e9a(0x20c)](_0x246e9a(0x19d))!=_0x26e785[_0x246e9a(0x20c)](_0x246e9a(0x19d)));},_0x4a3054;}(_0x4cdc71,_0x270046,_0x37bb77);}(_0x145459,_0x33e0bb,_0x41d161,_0x4051c1)}),_0x4051c1[_0x4de385(0x210)][_0x4de385(0x214)](_0x4de385(0x1a6))[_0x4de385(0x1aa)]({'model':_0x4de385(0x1e6),'view':_0x6a9fd=>function(_0x42d274,_0x2a51c8){const _0xf34f7=_0x4de385,_0x19eaae=_0x42d274[_0xf34f7(0x202)][_0xf34f7(0x1b6)](':')[0x2];if(_0x19eaae===_0x2a51c8[_0xf34f7(0x209)])return null;const _0x37b953=_0x2a51c8[_0xf34f7(0x1a2)](_0x19eaae);if(!_0x37b953)return{'id':_0x19eaae,'classes':[]};return{'id':_0x19eaae,'classes':[_0xf34f7(0x1cc),_0x37b953[_0xf34f7(0x1b5)][_0xf34f7(0x1fe)]()],'attributes':{'data-session-id':_0x19eaae},'priority':0x7d0+_0x37b953[_0xf34f7(0x1f4)]};}(_0x6a9fd,_0x41d161)}),function(_0x35a673){const _0x5d3413=_0x4de385,_0x4f2f59=_0x35a673[_0x5d3413(0x1e2)],_0x1aebf8=new Map(),_0x34b031=_0x35a673[_0x5d3413(0x1f5)][_0x5d3413(0x219)](_0x31e26d);_0x4f2f59[_0x5d3413(0x1a3)]['on'](_0x5d3413(0x1ea),(_0x251a48,_0x19358d,_0x33aba6,_0x3aef29)=>{const _0x318631=_0x5d3413;if(!_0x3aef29&&_0x1aebf8[_0x318631(0x219)](_0x19358d[_0x318631(0x1c3)]))return _0x1aebf8[_0x318631(0x219)](_0x19358d[_0x318631(0x1c3)])[_0x318631(0x1dd)](),void _0x1aebf8[_0x318631(0x1e3)](_0x19358d[_0x318631(0x1c3)]);const _0x532ec7=_0x19358d[_0x318631(0x1c3)][_0x318631(0x1b6)](':')[0x2];if(_0x532ec7===_0x34b031[_0x318631(0x209)])return;const _0x32f2d8=_0x318631(0x206)+_0x532ec7;_0x4f2f59[_0x318631(0x1a3)][_0x318631(0x1cf)](_0x32f2d8)&&_0x35a673[_0x318631(0x1cb)][_0x318631(0x207)](_0x32f2d8),_0x19358d['on'](_0x318631(0x1ec),(_0x56a2fb,_0x3602f1,_0x380c42)=>{const _0x4cea58=_0x318631;if(_0x4cea58(0x1da)!=_0x3602f1[_0x4cea58(0x1d0)][_0x4cea58(0x1f7)]&&_0x4cea58(0x1da)==_0x19358d[_0x4cea58(0x1fb)]()[_0x4cea58(0x1d0)][_0x4cea58(0x1f7)]&&!_0x1aebf8[_0x4cea58(0x1cf)](_0x19358d[_0x4cea58(0x1c3)])){const _0x131fad=_0x4f2f59[_0x4cea58(0x1a0)][_0x4cea58(0x1e5)](_0x380c42[_0x4cea58(0x1a4)]);if(_0x131fad){const _0x25278=_0x466b4c[_0x4cea58(0x20d)](_0x131fad);_0x1aebf8[_0x4cea58(0x1bd)](_0x19358d[_0x4cea58(0x1c3)],_0x25278),_0x25278['on'](_0x4cea58(0x1ec),(_0x2e7616,_0x241971,_0x1b6b9c)=>{const _0x448d69=_0x4cea58;if(_0x448d69(0x1da)==_0x25278[_0x448d69(0x1d0)][_0x448d69(0x1f7)]){const _0xa8c1df=_0x4f2f59[_0x448d69(0x1a0)][_0x448d69(0x1e5)](_0x1b6b9c[_0x448d69(0x1a4)]);_0xa8c1df?(_0x25278[_0x448d69(0x20a)]=_0xa8c1df[_0x448d69(0x20a)],_0x25278[_0x448d69(0x1cd)]=_0xa8c1df[_0x448d69(0x1cd)]):(_0x1aebf8[_0x448d69(0x1e3)](_0x19358d[_0x448d69(0x1c3)]),_0x25278[_0x448d69(0x1dd)]());}});}}});}),_0x4f2f59[_0x5d3413(0x1ac)]['on'](_0x5d3413(0x201),()=>{const _0x25331c=_0x5d3413;_0x1aebf8[_0x25331c(0x1b4)]>0x0&&_0x4f2f59[_0x25331c(0x1b3)]({'isUndoable':!0x1},_0x269152=>{const _0x4bfaf1=_0x25331c;for(const [_0x5f4677,_0x35064f]of _0x1aebf8)_0x4bfaf1(0x1da)==_0x4f2f59[_0x4bfaf1(0x1a3)][_0x4bfaf1(0x219)](_0x5f4677)[_0x4bfaf1(0x1fb)]()[_0x4bfaf1(0x1d0)][_0x4bfaf1(0x1f7)]&&(re(_0x5f4677[_0x4bfaf1(0x1b6)](':')[0x2],_0x35064f[_0x4bfaf1(0x19f)](),_0x4f2f59,_0x269152),_0x35064f[_0x4bfaf1(0x1dd)]());_0x1aebf8[_0x4bfaf1(0x1ad)]();});});}(_0x4051c1),this[_0x4de385(0x19c)][_0x4de385(0x1bb)](_0x1cb58f[_0x4de385(0x1ac)],_0x4de385(0x1e9),(_0x4cd5ff,{key:_0x1252b8})=>{const _0x19ce74=_0x4de385;_0x19ce74(0x1c6)===_0x1252b8&&function(_0x45f003){const _0x58bc5f=_0x19ce74;_0x45f003[_0x58bc5f(0x1cb)][_0x58bc5f(0x1af)][_0x58bc5f(0x201)](_0x44dc7d=>{const _0x12ba99=_0x58bc5f;for(const _0x4c1f1f of _0x45f003[_0x12ba99(0x1e2)][_0x12ba99(0x1a3)]){if(!_0x4c1f1f[_0x12ba99(0x1c3)][_0x12ba99(0x1ee)](_0x12ba99(0x1b1)))continue;const _0xe61712=_0x45f003[_0x12ba99(0x1cb)][_0x12ba99(0x1e1)][_0x12ba99(0x20f)](_0x4c1f1f[_0x12ba99(0x1c3)]);if(_0xe61712){for(const _0x30c5df of _0xe61712)_0x44dc7d[_0x12ba99(0x200)](_0x12ba99(0x1c4),_0x30c5df);}}});}(_0x4051c1);},{'useCapture':!0x0});}[_0x2db848(0x211)](){const _0x576514=_0x2db848,_0x3b923a=this[_0x576514(0x1b0)],_0x340ff4=_0x3b923a[_0x576514(0x1ed)][_0x576514(0x219)](_0x576514(0x1c9));_0x340ff4&&_0x3b923a[_0x576514(0x1e2)]['on'](_0x576514(0x1d2),(_0x39a0e9,_0x8addca)=>{const _0x1e67bd=_0x576514,_0x255d5d=_0x8addca[0x0];if(!_0x255d5d[_0x1e67bd(0x1f8)])return;if(_0x1e67bd(0x213)!=_0x255d5d[_0x1e67bd(0x208)]||!_0x255d5d[_0x1e67bd(0x1c3)][_0x1e67bd(0x1ee)](_0x1e67bd(0x203)))return;const _0x145c92=_0x255d5d[_0x1e67bd(0x1c8)];_0x340ff4[_0x1e67bd(0x1e7)][_0x1e67bd(0x1cf)](_0x145c92)&&(_0x255d5d[_0x1e67bd(0x1d7)]=_0x255d5d[_0x1e67bd(0x1df)]?_0x3b923a[_0x1e67bd(0x1e2)][_0x1e67bd(0x1d1)](_0x255d5d[_0x1e67bd(0x1df)][_0x1e67bd(0x20a)],_0x255d5d[_0x1e67bd(0x1df)][_0x1e67bd(0x1cd)]):null);},{'priority':_0x576514(0x1ba)});}[_0x2db848(0x1a9)](){const _0x41a5c8=_0x2db848;return this[_0x41a5c8(0x19c)][_0x41a5c8(0x1f1)](),super[_0x41a5c8(0x1a9)]();}[_0x2db848(0x1fa)](){const _0x60ab16=_0x2db848,_0x17b99b=this[_0x60ab16(0x1b0)],_0xb4d821=_0x17b99b[_0x60ab16(0x1e2)][_0x60ab16(0x1ac)],_0x5f59ed=_0x17b99b[_0x60ab16(0x1f5)][_0x60ab16(0x219)](_0x31e26d);_0x17b99b[_0x60ab16(0x1e2)][_0x60ab16(0x1b3)]({'isUndoable':!0x1},_0x2fb95=>{const _0x1e6787=_0x60ab16,_0x17571e=_0x1e6787(0x1b9)+_0x5f59ed[_0x1e6787(0x209)],_0x3a3d7e=_0x1e6787(0x206)+_0x5f59ed[_0x1e6787(0x209)],_0x1d5a36=_0x17b99b[_0x1e6787(0x1e2)][_0x1e6787(0x1a3)][_0x1e6787(0x1cf)](_0x17571e);_0x17b99b[_0x1e6787(0x1cb)][_0x1e6787(0x1af)][_0x1e6787(0x1e0)]?re(_0x5f59ed[_0x1e6787(0x209)],_0xb4d821[_0x1e6787(0x1d6)][_0x1e6787(0x1f3)](),_0x17b99b[_0x1e6787(0x1e2)],_0x2fb95):_0x1d5a36&&(_0x2fb95[_0x1e6787(0x1de)](_0x17571e),_0x2fb95[_0x1e6787(0x1de)](_0x3a3d7e));});}}function _0x2a11(_0x1abf46,_0x1b1361){const _0x405eb1=_0x405e();return _0x2a11=function(_0x2a11c9,_0x2be3da){_0x2a11c9=_0x2a11c9-0x199;let _0x4ad269=_0x405eb1[_0x2a11c9];return _0x4ad269;},_0x2a11(_0x1abf46,_0x1b1361);}function re(_0x3fad55,_0xf5c842,_0x437c25,_0x532dfa){const _0x2a2586=_0x2db848,_0x471f61=_0x2a2586(0x1b9)+_0x3fad55,_0x58e8fe=_0x2a2586(0x206)+_0x3fad55,_0x876247=_0xf5c842[_0x2a2586(0x19a)]();let _0x219b6b=_0xf5c842[_0x2a2586(0x20a)];_0x876247&&_0x876247['is'](_0x2a2586(0x1e8),_0x2a2586(0x1bf))&&(_0x219b6b=function(_0x2c7c27,_0x26675b){const _0x24c0d1=_0x2a2586;for(const _0x438e03 of _0x2c7c27[_0x24c0d1(0x1f6)]())if(_0x26675b[_0x24c0d1(0x1a0)][_0x24c0d1(0x1d5)](_0x438e03,_0x24c0d1(0x1b8)))return _0x438e03;}(_0xf5c842,_0x437c25),_0xf5c842=_0x532dfa[_0x2a2586(0x1d1)](_0x219b6b));const _0x2573ec=_0x532dfa[_0x2a2586(0x1d1)](_0x219b6b);_0x437c25[_0x2a2586(0x1a3)][_0x2a2586(0x1cf)](_0x471f61)?(_0x532dfa[_0x2a2586(0x20b)](_0x471f61,{'range':_0xf5c842}),_0x532dfa[_0x2a2586(0x20b)](_0x58e8fe,{'range':_0x2573ec})):(_0x532dfa[_0x2a2586(0x1ef)](_0x471f61,{'range':_0xf5c842,'usingOperation':!0x0}),_0x532dfa[_0x2a2586(0x1ef)](_0x58e8fe,{'range':_0x2573ec,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4b0e6a=_0x4b4e;(function(_0x55573d,_0x3d931d){const _0xa8a4ae=_0x4b4e,_0x12d741=_0x55573d();while(!![]){try{const _0x2a1ed0=parseInt(_0xa8a4ae(0xa3))/0x1*(-parseInt(_0xa8a4ae(0x90))/0x2)+parseInt(_0xa8a4ae(0x89))/0x3*(parseInt(_0xa8a4ae(0xa8))/0x4)+-parseInt(_0xa8a4ae(0xa0))/0x5*(-parseInt(_0xa8a4ae(0x9a))/0x6)+-parseInt(_0xa8a4ae(0x73))/0x7+parseInt(_0xa8a4ae(0xa1))/0x8*(parseInt(_0xa8a4ae(0x94))/0x9)+-parseInt(_0xa8a4ae(0xa9))/0xa+parseInt(_0xa8a4ae(0x9c))/0xb;if(_0x2a1ed0===_0x3d931d)break;else _0x12d741['push'](_0x12d741['shift']());}catch(_0x48adc1){_0x12d741['push'](_0x12d741['shift']());}}}(_0x46bf,0x5893f));import{ContextPlugin as _0x46e333}from'ckeditor5/src/core.js';function _0x4b4e(_0x16ae51,_0x54128a){const _0x46bf61=_0x46bf();return _0x4b4e=function(_0x4b4e12,_0x2f96c8){_0x4b4e12=_0x4b4e12-0x6e;let _0x4fd5d1=_0x46bf61[_0x4b4e12];return _0x4fd5d1;},_0x4b4e(_0x16ae51,_0x54128a);}import{DomEmitterMixin as _0x14a33e,CKEditorError as _0x45107d}from'ckeditor5/src/utils.js';function _0x46bf(){const _0x5a1c29=['stopListening','cloudservices-init','token','8tKAYwa','4539710ZodDPT','websocketgateway-missing-websocket-url','isPremiumPlugin','delete','add','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.','offline','listenTo','has','pluginName','context','Connected\x20users\x20limit\x20exceeded','create','_domEmitter','websocketgateway-invalid-plugin-interface','function','_shouldPluginsReconnect','config','connect','DISCONNECTED','isOfficialPlugin','websocketgateway-plugin-already-registered','3884692WiJFnc','_isBrowserOffline','connected','_reconnectionStack','limitExceeded','cloudservices-reconnection-error','disconnect','showWarning','plugins','WebSocketGateway','initialReconnectionInterval','CloudServices','destroy','CONNECTED','requires','bind','define','from','set','catch','change:me','reconnect','271725ItSduQ','real-time-collaboration','init','code','get','online','state','98386MUoBlK','cloudServices.connectionTimeout','_reconnect','CONNECTING','27prunmU','removeFromReconnectionStack','then','isInReconnectionStack','websocketgateway-missing-token','all','6pYVLPf','addToReconnectionStack','11316063XGjThm','error','constructor','webSocketUrl','285880RBGdns','1590968RfaHzf','connection','10TzNPlK','cloudServices.requestTimeout'];_0x46bf=function(){return _0x5a1c29;};return _0x46bf();}import{WebSocketGateway as _0x398a85,WEB_SOCKET_GATEWAY_STATES as _0x20295c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4831e0}from'ckeditor5/src/ui.js';class c extends _0x46e333{static get[_0x4b0e6a(0x81)](){const _0x1f28b9=_0x4b0e6a;return[_0x1f28b9(0x7e),_0x4831e0];}static get[_0x4b0e6a(0xb2)](){const _0xa1ec0e=_0x4b0e6a;return _0xa1ec0e(0x7c);}static get[_0x4b0e6a(0x71)](){return!0x0;}static get[_0x4b0e6a(0xab)](){return!0x0;}constructor(_0x39d575){const _0x392d46=_0x4b0e6a;super(_0x39d575),this[_0x392d46(0x85)](_0x392d46(0x8f),_0x20295c[_0x392d46(0x80)]),this[_0x392d46(0x85)](_0x392d46(0x74),!0x1),this[_0x392d46(0x76)]=new Set(),this[_0x392d46(0xb9)]=!0x1,this[_0x392d46(0xb6)]=Object[_0x392d46(0xb5)](_0x14a33e);}[_0x4b0e6a(0x8b)](){const _0x50f4d5=_0x4b0e6a,_0x1c0c2e=this[_0x50f4d5(0xb3)],_0x34112a=_0x1c0c2e[_0x50f4d5(0x7b)][_0x50f4d5(0x8d)](_0x50f4d5(0x7e)),_0x520864=_0x1c0c2e[_0x50f4d5(0x7b)][_0x50f4d5(0x8d)](_0x4831e0);if(!_0x34112a[_0x50f4d5(0xa7)])throw new _0x45107d(_0x50f4d5(0x98),this);if(!_0x34112a[_0x50f4d5(0x9f)])throw new _0x45107d(_0x50f4d5(0xaa),this);return this[_0x50f4d5(0xb6)][_0x50f4d5(0xb0)](window,_0x50f4d5(0xaf),()=>this[_0x50f4d5(0x74)]=!0x0),this[_0x50f4d5(0xb6)][_0x50f4d5(0xb0)](window,_0x50f4d5(0x8e),()=>this[_0x50f4d5(0x74)]=!0x1),this[_0x50f4d5(0xb3)][_0x50f4d5(0x6e)][_0x50f4d5(0x83)](_0x50f4d5(0x91),0xa),this[_0x50f4d5(0xb3)][_0x50f4d5(0x6e)][_0x50f4d5(0x83)](_0x50f4d5(0xa4),0x14),c[_0x50f4d5(0x7c)][_0x50f4d5(0x6f)](_0x34112a[_0x50f4d5(0xa7)],_0x34112a[_0x50f4d5(0x9f)],{'timeout':0x3e8*this[_0x50f4d5(0xb3)][_0x50f4d5(0x6e)][_0x50f4d5(0x8d)](_0x50f4d5(0x91)),'requestTimeout':0x3e8*this[_0x50f4d5(0xb3)][_0x50f4d5(0x6e)][_0x50f4d5(0x8d)](_0x50f4d5(0xa4))})[_0x50f4d5(0x96)](_0x31c827=>{const _0xadf11c=_0x50f4d5;if(this[_0xadf11c(0xa2)]=_0x31c827,this[_0xadf11c(0x82)](_0xadf11c(0x8f))['to'](_0x31c827,_0xadf11c(0x8f),this,_0xadf11c(0x74),(_0x318525,_0xc97a18)=>(_0xadf11c(0x75)!==_0x318525&&(this[_0xadf11c(0xb9)]=!0x0),_0xc97a18||_0x318525!==_0x20295c[_0xadf11c(0x80)]?_0x20295c[_0xadf11c(0x70)]:this[_0xadf11c(0x8f)]==_0x20295c[_0xadf11c(0x70)]&&this[_0xadf11c(0xb9)]?(this[_0xadf11c(0xb9)]=!0x1,this[_0xadf11c(0x92)](),_0x20295c[_0xadf11c(0x93)]):_0x20295c[_0xadf11c(0x80)])),this[_0xadf11c(0xa2)]['on'](_0xadf11c(0x9d),(_0x598706,_0x3659bd)=>{const _0x476972=_0xadf11c;if(_0x476972(0x77)!==_0x3659bd[_0x476972(0x8c)])throw console[_0x476972(0x9d)](_0x3659bd),new _0x45107d(_0x476972(0xa6),null,{'originalError':_0x3659bd});_0x520864[_0x476972(0x7a)](_0x476972(0xae),{'title':_0x476972(0xb4),'namespace':_0x476972(0x8a)});}),!_0x31c827['me'])return new Promise(_0x588dc4=>_0x31c827['on'](_0xadf11c(0x87),_0x588dc4));})[_0x50f4d5(0x86)](_0x20cdf4=>{const _0x2f5649=_0x50f4d5;throw console[_0x2f5649(0x9d)](_0x20cdf4),new _0x45107d(_0x2f5649(0xa6),null,{'originalError':_0x20cdf4});});}[_0x4b0e6a(0x9b)](_0x5bd6fa){const _0x18decc=_0x4b0e6a;if(_0x18decc(0xb8)!=typeof _0x5bd6fa[_0x18decc(0x88)])throw new _0x45107d(_0x18decc(0xb7),this);if(this[_0x18decc(0x97)](_0x5bd6fa))throw new _0x45107d(_0x18decc(0x72),this,{'name':_0x5bd6fa[_0x18decc(0x9e)][_0x18decc(0xb2)]});this[_0x18decc(0x76)][_0x18decc(0xad)](_0x5bd6fa);}[_0x4b0e6a(0x95)](_0x8d484a){const _0xde1ba1=_0x4b0e6a;this[_0xde1ba1(0x76)][_0xde1ba1(0xac)](_0x8d484a);}[_0x4b0e6a(0x97)](_0x2d8845){const _0x337b37=_0x4b0e6a;return this[_0x337b37(0x76)][_0x337b37(0xb1)](_0x2d8845);}[_0x4b0e6a(0x92)](){const _0x5614e3=_0x4b0e6a;return this[_0x5614e3(0xa2)][_0x5614e3(0x88)]()[_0x5614e3(0x96)](()=>Promise[_0x5614e3(0x99)](Array[_0x5614e3(0x84)](this[_0x5614e3(0x76)],_0xfaba27=>_0xfaba27[_0x5614e3(0x88)]())))[_0x5614e3(0x96)](()=>this[_0x5614e3(0x8f)]=_0x20295c[_0x5614e3(0x80)])[_0x5614e3(0x86)](_0x456acf=>{const _0xd0b4d6=_0x5614e3;throw console[_0xd0b4d6(0x9d)](_0x456acf),new _0x45107d(_0xd0b4d6(0x78),this[_0xd0b4d6(0xb3)]);});}[_0x4b0e6a(0x79)](){const _0x3e0726=_0x4b0e6a;this[_0x3e0726(0xa2)]&&this[_0x3e0726(0xa2)][_0x3e0726(0x79)](),this[_0x3e0726(0x8f)]=_0x20295c[_0x3e0726(0x70)],this[_0x3e0726(0xb6)][_0x3e0726(0xa5)]();}[_0x4b0e6a(0x7f)](){const _0x2bc262=_0x4b0e6a;this[_0x2bc262(0x79)](),super[_0x2bc262(0x7f)]();}}c[_0x4b0e6a(0x7c)]=_0x398a85,c[_0x4b0e6a(0x7d)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3ec8(_0x1f29de,_0x1185cd){var _0x581ff7=_0x581f();return _0x3ec8=function(_0x3ec843,_0x3188ad){_0x3ec843=_0x3ec843-0x115;var _0x440941=_0x581ff7[_0x3ec843];return _0x440941;},_0x3ec8(_0x1f29de,_0x1185cd);}var _0x37742a=_0x3ec8;(function(_0x3e505d,_0x5ab6b5){var _0x16c1db=_0x3ec8,_0x182135=_0x3e505d();while(!![]){try{var _0x242f92=parseInt(_0x16c1db(0x125))/0x1*(-parseInt(_0x16c1db(0x118))/0x2)+parseInt(_0x16c1db(0x11e))/0x3+-parseInt(_0x16c1db(0x122))/0x4*(parseInt(_0x16c1db(0x11f))/0x5)+-parseInt(_0x16c1db(0x11c))/0x6+parseInt(_0x16c1db(0x120))/0x7*(-parseInt(_0x16c1db(0x119))/0x8)+-parseInt(_0x16c1db(0x11b))/0x9*(-parseInt(_0x16c1db(0x116))/0xa)+-parseInt(_0x16c1db(0x123))/0xb*(-parseInt(_0x16c1db(0x121))/0xc);if(_0x242f92===_0x5ab6b5)break;else _0x182135['push'](_0x182135['shift']());}catch(_0x40462e){_0x182135['push'](_0x182135['shift']());}}}(_0x581f,0x7fe7e));function _0x581f(){var _0x75d314=['isOfficialPlugin','9LtzIwy','isPremiumPlugin','38140TztwUA','requires','142590YHoueS','8QAkWaO','RealTimeCollaborativeEditing','810mOpTbM','3511848mEwnXO','pluginName','990009vCbReC','3078595TPdnro','2209151tFlTfd','8035656hlGCin','4nxemJV','33nJoyVC'];_0x581f=function(){return _0x75d314;};return _0x581f();}import{Plugin as _0x2b3640}from'ckeditor5/src/core.js';import _0x300a54 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x2b3640{static get[_0x37742a(0x117)](){return[_0x300a54];}static get[_0x37742a(0x11d)](){var _0x542970=_0x37742a;return _0x542970(0x11a);}static get[_0x37742a(0x124)](){return!0x0;}static get[_0x37742a(0x115)](){return!0x0;}}
|