@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.1 → 44.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x545d69=_0x2521;(function(_0x1e23eb,_0x3a1960){const _0x425890=_0x2521,_0x4f2f6b=_0x1e23eb();while(!![]){try{const _0x52e819=-parseInt(_0x425890(0x216))/0x1*(parseInt(_0x425890(0x21c))/0x2)+-parseInt(_0x425890(0x1fe))/0x3+parseInt(_0x425890(0x211))/0x4+-parseInt(_0x425890(0x1ee))/0x5*(-parseInt(_0x425890(0x1d7))/0x6)+-parseInt(_0x425890(0x1ed))/0x7*(parseInt(_0x425890(0x226))/0x8)+-parseInt(_0x425890(0x1ff))/0x9*(parseInt(_0x425890(0x203))/0xa)+parseInt(_0x425890(0x22f))/0xb;if(_0x52e819===_0x3a1960)break;else _0x4f2f6b['push'](_0x4f2f6b['shift']());}catch(_0xb011f1){_0x4f2f6b['push'](_0x4f2f6b['shift']());}}}(_0x41de,0xae715));import{Context as _0x2ef821,ContextPlugin as _0x1601a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x36f270}from'ckeditor5/src/utils.js';import{Users as _0x1ed59a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x41de(){const _0x11c40b=['map','has','reconnect','comments','delete','commentRemoved','connect','commentUpdated','disconnect','16DhtPlp','getComment','addToReconnectionStack','unregister','_terminateService','code','commentThreadId','commentThreadResolved','_getService','9234797xPSzKc','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','get','createdAt','mySessionId','getUser','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','catch','size','destroy','_connectService','remove','removeComment','10284JyPFwO','add','config','commentThreadUpdated','register','collaboration.channelId','cloudservicescommentsadapter-connect-already-connected','adapter','reopen','cloudservicescommentsadapter-service-not-exist','updateComment','from','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','reopenCommentThread','404','_fetchMissingUsersForThreads','update','resolvedAt','getCommentThreads','updateCommentThread','_services','916727jezmJs','2840TVKHCM','resolvedBy','attributes','Permissions','commentThreadReopened','message','commentAdded','cloudservicescommentsadapter-disconnect-not-exist','getMany','context','authorId','plugins','pluginName','off','removeCommentThread','requires','1080411eobVHX','9ehmzHJ','set','commentThreadRemoved','content','6789490syooEw','startsWith','CommentsRepository','addUser','addCommentThread','getConnectedSessions','init','commentId','keys','sessionAdd:','listenTo','setPermissions','CloudServicesCommentsAdapter','userId','5702892Btztoi','isPremiumPlugin','isOfficialPlugin','resolve','getCommentThread','3lHEbkl','CommentsService','deletedAt','assign','addComment','_setUpService','815518pxcxSQ'];_0x41de=function(){return _0x11c40b;};return _0x41de();}import{CommentsService as _0xe93b13,User as _0x3fa39d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x220617 from'../realtimecollaborativeediting/websocketgateway.js';import _0x84d379 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1601a5{static get[_0x545d69(0x1fd)](){const _0x40bf74=_0x545d69;return[_0x220617,_0x40bf74(0x205),_0x84d379,_0x1ed59a];}static get[_0x545d69(0x1fa)](){const _0x114131=_0x545d69;return _0x114131(0x20f);}static get[_0x545d69(0x213)](){return!0x0;}static get[_0x545d69(0x212)](){return!0x0;}constructor(_0x43cb5e){const _0x4ed304=_0x545d69;super(_0x43cb5e),this[_0x4ed304(0x1ec)]=new Map();}async[_0x545d69(0x209)](){const _0xd1665e=_0x545d69,_0x17b05c=this[_0xd1665e(0x1f7)],_0x173664=_0x17b05c[_0xd1665e(0x1f9)][_0xd1665e(0x232)](_0xd1665e(0x205));if(_0x17b05c[_0xd1665e(0x1f9)][_0xd1665e(0x232)](_0x220617)[_0xd1665e(0x228)](this),_0x173664[_0xd1665e(0x1de)]={'addCommentThread':async({channelId:_0x32d3ba,threadId:_0x4cff7b,comments:_0x4b6200,resolvedAt:_0xdcf86c,resolvedBy:_0x89f9a4,context:_0xe0df08,attributes:_0x16585})=>{const _0x4823a4=_0xd1665e,_0x57015c=await this[_0x4823a4(0x22e)](_0x32d3ba)[_0x4823a4(0x207)]({'commentThreadId':_0x4cff7b,'comments':_0x4b6200[_0x4823a4(0x21d)](_0x40fc98=>function(_0x4c781a,_0x51b9dd,_0x4f13e8){const _0x4a86ec=_0x4823a4;return{'commentThreadId':_0x4f13e8,'commentId':_0x4c781a[_0x4a86ec(0x20a)],'userId':_0x4c781a[_0x4a86ec(0x1f8)],'content':_0x4c781a[_0x4a86ec(0x202)],'documentId':_0x51b9dd,'createdAt':_0x4c781a[_0x4a86ec(0x233)],'attributes':_0x4c781a[_0x4a86ec(0x1f0)]||{}};}(_0x40fc98,_0x32d3ba,_0x4cff7b)),'resolvedAt':_0xdcf86c,'resolvedBy':_0x89f9a4,'context':_0xe0df08,'attributes':_0x16585})[_0x4823a4(0x238)](w);return{'threadId':_0x57015c[_0x4823a4(0x22c)],'comments':_0x57015c[_0x4823a4(0x220)]};},'getCommentThread':async({channelId:_0x243b32,threadId:_0x143b5a})=>{const _0x22cf6d=_0xd1665e,_0x55f75d=await this[_0x22cf6d(0x22e)](_0x243b32)[_0x22cf6d(0x215)](_0x143b5a)[_0x22cf6d(0x238)](w);return _0x55f75d[_0x22cf6d(0x218)]?null:(await this[_0x22cf6d(0x1e7)]([_0x55f75d]),{'threadId':_0x55f75d[_0x22cf6d(0x22c)],'comments':_0x55f75d[_0x22cf6d(0x220)][_0x22cf6d(0x21d)](b),'context':_0x55f75d[_0x22cf6d(0x1f7)],'resolvedAt':_0x55f75d[_0x22cf6d(0x1e9)],'resolvedBy':_0x55f75d[_0x22cf6d(0x1ef)],'attributes':_0x55f75d[_0x22cf6d(0x1f0)]||{}});},'updateCommentThread':async({channelId:_0x19f3a7,threadId:_0x55bf58,context:_0xa28203,unlinkedAt:_0x55e99b,attributes:_0x125043})=>this[_0xd1665e(0x22e)](_0x19f3a7)[_0xd1665e(0x1eb)]({'commentThreadId':_0x55bf58,'context':_0xa28203,'attributes':_0x125043,'unlinkedAt':_0x55e99b})[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'resolveCommentThread':async({channelId:_0x45137c,threadId:_0xfe6185})=>{const _0x3e0f5c=_0xd1665e,_0x519906=await this[_0x3e0f5c(0x22e)](_0x45137c)[_0x3e0f5c(0x1e4)](_0xfe6185)[_0x3e0f5c(0x238)](y)[_0x3e0f5c(0x238)](w);return{'threadId':_0x519906[_0x3e0f5c(0x22c)],'resolvedAt':_0x519906[_0x3e0f5c(0x1e9)],'resolvedBy':_0x519906[_0x3e0f5c(0x1ef)]};},'reopenCommentThread':async({channelId:_0x211ef5,threadId:_0xea1a4a})=>this[_0xd1665e(0x22e)](_0x211ef5)[_0xd1665e(0x1e5)](_0xea1a4a)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'removeCommentThread':({channelId:_0x158d0a,threadId:_0x1290b0})=>this[_0xd1665e(0x22e)](_0x158d0a)[_0xd1665e(0x1fc)](_0x1290b0)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'addComment':({channelId:_0x838849,threadId:_0x5af8ff,commentId:_0x48c2ea,content:_0x2a3fc2,attributes:_0x159be7})=>this[_0xd1665e(0x22e)](_0x838849)[_0xd1665e(0x21a)](_0x5af8ff,_0x48c2ea,_0x2a3fc2,_0x159be7)[_0xd1665e(0x238)](w),'updateComment':({channelId:_0x147fc7,threadId:_0x29b72c,commentId:_0x311101,content:_0x5053e1,attributes:_0x568939})=>this[_0xd1665e(0x22e)](_0x147fc7)[_0xd1665e(0x1e1)](_0x29b72c,_0x311101,_0x5053e1,_0x568939)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'removeComment':({channelId:_0xbaba1f,threadId:_0x58fe94,commentId:_0x33be5d})=>this[_0xd1665e(0x22e)](_0xbaba1f)[_0xd1665e(0x1d6)](_0x58fe94,_0x33be5d)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w)},_0x17b05c instanceof _0x2ef821){const _0x54c679=_0x17b05c[_0xd1665e(0x1d9)][_0xd1665e(0x232)](_0xd1665e(0x1dc)),_0x3ca129=_0x17b05c[_0xd1665e(0x1f9)][_0xd1665e(0x232)](_0x84d379);await this[_0xd1665e(0x21b)](_0x54c679);const _0x395af4=await this[_0xd1665e(0x1ec)][_0xd1665e(0x232)](_0x54c679)[_0xd1665e(0x208)]();this[_0xd1665e(0x20d)](_0x3ca129,_0xd1665e(0x20c)+_0x54c679,(_0x40ae19,{session:_0x58b8e3})=>{const _0x459f1a=_0xd1665e;_0x58b8e3['id']===_0x3ca129[_0x459f1a(0x234)]&&(_0x40ae19[_0x459f1a(0x1fb)](),this[_0x459f1a(0x1f7)][_0x459f1a(0x1f9)][_0x459f1a(0x232)](_0x459f1a(0x1f1))[_0x459f1a(0x20e)](_0x58b8e3[_0x459f1a(0x231)],_0x54c679));}),_0x3ca129[_0xd1665e(0x1db)](_0x54c679,_0x395af4);}}async[_0x545d69(0x21b)](_0x481257){const _0x2f0a49=_0x545d69;if(this[_0x2f0a49(0x1ec)][_0x2f0a49(0x21e)](_0x481257))throw new _0x36f270(_0x2f0a49(0x1dd),null,{'channelId':_0x481257});const _0x3cfd5c=this[_0x2f0a49(0x1f7)][_0x2f0a49(0x1f9)][_0x2f0a49(0x232)](_0x2f0a49(0x205)),_0x1c1b13=new a[(_0x2f0a49(0x217))](_0x481257);this[_0x2f0a49(0x1ec)][_0x2f0a49(0x200)](_0x481257,_0x1c1b13),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x236),(_0x4e584a,_0x195b2c)=>{const _0x371626=_0x2f0a49,{commentThreadId:_0x8104a1,documentId:_0x8d23,context:_0x106473,attributes:_0x57d5d4,resolvedAt:_0xbbb13b,resolvedBy:_0x3d481b,comments:_0x46c646}=_0x195b2c;_0x3cfd5c[_0x371626(0x215)](_0x8104a1)||_0x3cfd5c[_0x371626(0x207)]({'threadId':_0x8104a1,'channelId':_0x8d23,'comments':_0x46c646?_0x46c646[_0x371626(0x21d)](b):[],'context':_0x106473,'attributes':_0x57d5d4,'resolvedAt':_0xbbb13b,'resolvedBy':_0x3d481b,'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x1da),(_0x5b591c,{commentThreadId:_0x4ddf37,documentId:_0x86285c,context:_0x16acab,unlinkedAt:_0x596d40,attributes:_0x501e0c})=>{const _0x47e353=_0x2f0a49;_0x3cfd5c[_0x47e353(0x215)](_0x4ddf37)&&_0x3cfd5c[_0x47e353(0x1eb)]({'threadId':_0x4ddf37,'channelId':_0x86285c,'context':_0x16acab,'unlinkedAt':_0x596d40,'attributes':_0x501e0c,'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x22d),(_0x3366c9,{commentThreadId:_0x23ff97,resolvedBy:_0x42d42f,resolvedAt:_0x503908})=>{const _0x1de1c2=_0x2f0a49,_0x3f09ff=_0x3cfd5c[_0x1de1c2(0x215)](_0x23ff97);_0x3f09ff&&_0x3f09ff[_0x1de1c2(0x214)]({'resolvedBy':_0x42d42f,'resolvedAt':_0x503908,'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x1f2),(_0x456546,{commentThreadId:_0x2c2289})=>{const _0x51620d=_0x2f0a49,_0x475bda=_0x3cfd5c[_0x51620d(0x215)](_0x2c2289);_0x475bda&&_0x475bda[_0x51620d(0x1df)]({'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x201),(_0x3cfcc2,{commentThreadId:_0x1e725f})=>{const _0x37058f=_0x2f0a49,_0x5edcfc=_0x3cfd5c[_0x37058f(0x215)](_0x1e725f);_0x5edcfc&&_0x5edcfc[_0x37058f(0x23c)]({'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x1f4),(_0x210041,_0x4bf60f)=>{const _0x5e026e=_0x2f0a49,_0x4f8e28=_0x4bf60f[_0x5e026e(0x22c)],_0x1a8ef0=_0x3cfd5c[_0x5e026e(0x215)](_0x4f8e28);_0x1a8ef0&&_0x1a8ef0[_0x5e026e(0x21a)]({...b(_0x4bf60f),'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x224),(_0x2f555a,{commentThreadId:_0xe46668,commentId:_0x2848fe,content:_0x392ed0,attributes:_0x41224b})=>{const _0x61e309=_0x2f0a49,_0x1c4032=_0x3cfd5c[_0x61e309(0x215)](_0xe46668);if(_0x1c4032){const _0x44a24d=_0x1c4032[_0x61e309(0x227)](_0x2848fe);_0x44a24d&&_0x44a24d[_0x61e309(0x1e8)]({'content':_0x392ed0,'attributes':_0x41224b,'isFromAdapter':!0x0});}}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x222),(_0x28c99e,{commentThreadId:_0x2cb611,commentId:_0x775a4d})=>{const _0x2c552b=_0x2f0a49,_0x3631a1=_0x3cfd5c[_0x2c552b(0x215)](_0x2cb611);if(_0x3631a1){const _0x47a6a7=_0x3631a1[_0x2c552b(0x227)](_0x775a4d);_0x47a6a7&&_0x47a6a7[_0x2c552b(0x23c)]({'isFromAdapter':!0x0});}}),await this[_0x2f0a49(0x23b)](_0x481257);}[_0x545d69(0x23a)](){const _0x2b6679=_0x545d69;if(this[_0x2b6679(0x1f7)]instanceof _0x2ef821){const _0x1e9e57=this[_0x2b6679(0x1f7)][_0x2b6679(0x1d9)][_0x2b6679(0x232)](_0x2b6679(0x1dc));this[_0x2b6679(0x22a)](_0x1e9e57);}}[_0x545d69(0x22a)](_0x14e9db){const _0x27fbeb=_0x545d69;if(!this[_0x27fbeb(0x1ec)][_0x27fbeb(0x21e)](_0x14e9db))throw new _0x36f270(_0x27fbeb(0x1f5),null,{'channelId':_0x14e9db});this[_0x27fbeb(0x22e)](_0x14e9db)[_0x27fbeb(0x225)](),this[_0x27fbeb(0x1ec)][_0x27fbeb(0x221)](_0x14e9db);}async[_0x545d69(0x21f)](){const _0x3d6bd0=_0x545d69;for(const _0x288e67 of this[_0x3d6bd0(0x1ec)][_0x3d6bd0(0x20b)]())await this[_0x3d6bd0(0x23b)](_0x288e67);if(this[_0x3d6bd0(0x1f7)]instanceof _0x2ef821){const _0x2bf769=this[_0x3d6bd0(0x1f7)][_0x3d6bd0(0x1d9)][_0x3d6bd0(0x232)](_0x3d6bd0(0x1dc)),_0x189d14=this[_0x3d6bd0(0x1f7)][_0x3d6bd0(0x1f9)][_0x3d6bd0(0x232)](_0x84d379);_0x189d14[_0x3d6bd0(0x229)](_0x2bf769);const _0x588c53=await this[_0x3d6bd0(0x1ec)][_0x3d6bd0(0x232)](_0x2bf769)[_0x3d6bd0(0x208)]();_0x189d14[_0x3d6bd0(0x1db)](_0x2bf769,_0x588c53);}}async[_0x545d69(0x23b)](_0x5edc1e){const _0x37c92e=_0x545d69,{connection:_0x1afdac}=this[_0x37c92e(0x1f7)][_0x37c92e(0x1f9)][_0x37c92e(0x232)](_0x220617),_0x111be5=this[_0x37c92e(0x1f7)][_0x37c92e(0x1f9)][_0x37c92e(0x232)](_0x37c92e(0x205)),_0x1f2d73=this[_0x37c92e(0x1ec)][_0x37c92e(0x232)](_0x5edc1e),_0x2fe013=await _0x1f2d73[_0x37c92e(0x223)](_0x1afdac);await this[_0x37c92e(0x1e7)](_0x2fe013);const _0x27c422=new Set(Array[_0x37c92e(0x1e2)](_0x111be5[_0x37c92e(0x1ea)]({'channelId':_0x5edc1e}),_0x363fa7=>_0x363fa7['id']));for(const _0x1e7bc5 of _0x2fe013)_0x1e7bc5[_0x37c92e(0x218)]||_0x27c422[_0x37c92e(0x221)](_0x1e7bc5[_0x37c92e(0x22c)]);for(const _0x5d9cd6 of _0x27c422)_0x111be5[_0x37c92e(0x215)](_0x5d9cd6)[_0x37c92e(0x23c)]({'isFromAdapter':!0x0});for(const _0x102fe1 of _0x2fe013){let _0x2a25bd=_0x111be5[_0x37c92e(0x215)](_0x102fe1[_0x37c92e(0x22c)]);const {commentThreadId:_0x1b1b2b,context:_0x1bb76a,attributes:_0x1cceba,resolvedBy:_0x4a8e29,resolvedAt:_0x33a938,unlinkedAt:_0x2a9a35,deletedAt:_0x3ffa2a}=_0x102fe1;if(_0x3ffa2a)continue;_0x2a25bd||(_0x2a25bd=_0x111be5[_0x37c92e(0x207)]({'channelId':_0x5edc1e,'threadId':_0x1b1b2b,'context':_0x1bb76a,'attributes':_0x1cceba||{},'resolvedBy':_0x4a8e29,'resolvedAt':_0x33a938,'unlinkedAt':_0x2a9a35,'isFromAdapter':!0x0}));const _0x598ed8=new Set(Array[_0x37c92e(0x1e2)](_0x2a25bd[_0x37c92e(0x220)],_0x350c3c=>_0x350c3c['id']));for(const _0x3a8b78 of _0x102fe1[_0x37c92e(0x220)])_0x598ed8[_0x37c92e(0x221)](_0x3a8b78[_0x37c92e(0x20a)]);for(const _0x3cd543 of _0x598ed8)_0x2a25bd[_0x37c92e(0x227)](_0x3cd543)[_0x37c92e(0x23c)]({'isFromAdapter':!0x0});for(const _0x3b9af9 of _0x102fe1[_0x37c92e(0x220)]){const _0x2060f4=_0x2a25bd[_0x37c92e(0x227)](_0x3b9af9[_0x37c92e(0x20a)]);_0x2060f4?_0x2060f4[_0x37c92e(0x202)]!==_0x3b9af9[_0x37c92e(0x202)]&&_0x2060f4[_0x37c92e(0x1e8)]({'content':_0x3b9af9[_0x37c92e(0x202)],'isFromAdapter':!0x0}):_0x2a25bd[_0x37c92e(0x21a)](Object[_0x37c92e(0x219)](b(_0x3b9af9),{'isFromAdapter':!0x0}));}}}[_0x545d69(0x22e)](_0x518291){const _0x3efdf1=_0x545d69;if(!this[_0x3efdf1(0x1ec)][_0x3efdf1(0x21e)](_0x518291))throw new _0x36f270(_0x3efdf1(0x1e0),null,{'channelId':_0x518291});return this[_0x3efdf1(0x1ec)][_0x3efdf1(0x232)](_0x518291);}async[_0x545d69(0x1e7)](_0x515643){const _0x35e908=_0x545d69,_0x10451f=this[_0x35e908(0x1f7)][_0x35e908(0x1f9)][_0x35e908(0x232)](_0x1ed59a),{connection:_0x198da9}=this[_0x35e908(0x1f7)][_0x35e908(0x1f9)][_0x35e908(0x232)](_0x220617),_0x58901f=new Set();for(const {resolvedBy:_0x529077,comments:_0x3ec079}of _0x515643){_0x529077&&!_0x10451f[_0x35e908(0x235)](_0x529077)&&_0x58901f[_0x35e908(0x1d8)](_0x529077);for(const {userId:_0x118008}of _0x3ec079)_0x10451f[_0x35e908(0x235)](_0x118008)||_0x58901f[_0x35e908(0x1d8)](_0x118008);}if(0x0===_0x58901f[_0x35e908(0x239)])return;const _0x2275eb=await _0x3fa39d[_0x35e908(0x1f6)](_0x198da9,Array[_0x35e908(0x1e2)](_0x58901f));for(const _0x3fd508 of _0x2275eb)_0x10451f[_0x35e908(0x235)](_0x3fd508['id'])||_0x10451f[_0x35e908(0x206)](_0x3fd508);}}a[_0x545d69(0x217)]=_0xe93b13;export default a;async function y(_0x2cb7af){const _0x3a31ac=_0x545d69;if(_0x3a31ac(0x1e6)!==_0x2cb7af[_0x3a31ac(0x22b)])throw _0x2cb7af;}function _0x2521(_0x1a313b,_0x370581){const _0x41dea4=_0x41de();return _0x2521=function(_0x252123,_0x18872c){_0x252123=_0x252123-0x1d6;let _0x5104c4=_0x41dea4[_0x252123];return _0x5104c4;},_0x2521(_0x1a313b,_0x370581);}function w(_0x102d95){const _0x449eb8=_0x545d69;if((_0x513891=_0x102d95)[_0x449eb8(0x1f3)][_0x449eb8(0x204)](_0x449eb8(0x230))||_0x513891[_0x449eb8(0x1f3)][_0x449eb8(0x204)](_0x449eb8(0x1e3))||_0x513891[_0x449eb8(0x1f3)][_0x449eb8(0x204)](_0x449eb8(0x237)))return new Promise(()=>{});var _0x513891;throw _0x102d95;}function b(_0xe87ca3){const _0x18ffb8=_0x545d69;return{'threadId':_0xe87ca3[_0x18ffb8(0x22c)],'commentId':_0xe87ca3[_0x18ffb8(0x20a)],'content':_0xe87ca3[_0x18ffb8(0x202)],'createdAt':_0xe87ca3[_0x18ffb8(0x233)],'authorId':_0xe87ca3[_0x18ffb8(0x210)],'attributes':_0xe87ca3[_0x18ffb8(0x1f0)]||{}};}
|
|
23
|
+
const _0xc168e3=_0x14fd;(function(_0x52376d,_0x4121e0){const _0x5a2797=_0x14fd,_0x34fd54=_0x52376d();while(!![]){try{const _0x5584bb=-parseInt(_0x5a2797(0x203))/0x1*(-parseInt(_0x5a2797(0x227))/0x2)+-parseInt(_0x5a2797(0x242))/0x3*(-parseInt(_0x5a2797(0x217))/0x4)+-parseInt(_0x5a2797(0x212))/0x5+-parseInt(_0x5a2797(0x1ff))/0x6*(-parseInt(_0x5a2797(0x21f))/0x7)+-parseInt(_0x5a2797(0x20c))/0x8*(-parseInt(_0x5a2797(0x1f1))/0x9)+parseInt(_0x5a2797(0x1fb))/0xa+-parseInt(_0x5a2797(0x225))/0xb;if(_0x5584bb===_0x4121e0)break;else _0x34fd54['push'](_0x34fd54['shift']());}catch(_0x1cae55){_0x34fd54['push'](_0x34fd54['shift']());}}}(_0x2fe6,0xc0088));import{Context as _0x424585,ContextPlugin as _0x45e382}from'ckeditor5/src/core.js';import{CKEditorError as _0x8575c8}from'ckeditor5/src/utils.js';import{Users as _0x5a5767}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x119566,User as _0x316405}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x14fd(_0x3fcd55,_0x38816f){const _0x2fe64b=_0x2fe6();return _0x14fd=function(_0x14fd76,_0x2a7e5c){_0x14fd76=_0x14fd76-0x1ef;let _0x4e5d2e=_0x2fe64b[_0x14fd76];return _0x4e5d2e;},_0x14fd(_0x3fcd55,_0x38816f);}import _0x5377eb from'../realtimecollaborativeediting/websocketgateway.js';function _0x2fe6(){const _0x58af40=['catch','removeCommentThread','2253183nkHpDy','setPermissions','commentThreadId','addUser','message','getConnectedSessions','getComment','collaboration.channelId','comments','cloudservicescommentsadapter-service-not-exist','requires','plugins','resolve','map','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Request\x20timeout.','get','_getService','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','destroy','pluginName','953721tEqbqI','keys','content','remove','resolveCommentThread','init','off','reopen','commentThreadUpdated','context','11291740GfhcZG','reopenCommentThread','adapter','_connectService','270oyLVvB','from','assign','commentAdded','214iAhTDp','_setUpService','_services','updateComment','CommentsService','Permissions','has','isOfficialPlugin','attributes','104pIMSdr','commentRemoved','CloudServicesCommentsAdapter','getMany','getCommentThread','reconnect','2553175hMjSOr','code','resolvedBy','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','4ikuwsO','removeComment','listenTo','addComment','delete','addCommentThread','startsWith','404','101703kycPDW','commentUpdated','permissions','commentId','_terminateService','commentThreadAdded','39005736zgPzdk','commentThreadRemoved','8706EtUqQS','resolvedAt','userId','_fetchMissingUsersForThreads','isPremiumPlugin','disconnect','register','createdAt','unregister','authorId','set','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','deletedAt','mySessionId','add','updateCommentThread','update','getUser','addToReconnectionStack','config','size','sessionAdd:','connect','commentThreadReopened'];_0x2fe6=function(){return _0x58af40;};return _0x2fe6();}import _0xd61cf2 from'../realtimecollaborativeediting/sessions.js';class a extends _0x45e382{static get[_0xc168e3(0x24c)](){const _0x2338f8=_0xc168e3;return[_0x5377eb,_0x2338f8(0x215),_0xd61cf2,_0x5a5767];}static get[_0xc168e3(0x1f0)](){const _0x34536c=_0xc168e3;return _0x34536c(0x20e);}static get[_0xc168e3(0x20a)](){return!0x0;}static get[_0xc168e3(0x22b)](){return!0x0;}constructor(_0x225f2e){const _0x491c30=_0xc168e3;super(_0x225f2e),this[_0x491c30(0x205)]=new Map();}async[_0xc168e3(0x1f6)](){const _0x210178=_0xc168e3,_0x21ffb3=this[_0x210178(0x1fa)],_0x21cd6e=_0x21ffb3[_0x210178(0x24d)][_0x210178(0x252)](_0x210178(0x215));if(_0x21ffb3[_0x210178(0x24d)][_0x210178(0x252)](_0x5377eb)[_0x210178(0x23a)](this),_0x21cd6e[_0x210178(0x1fd)]={'addCommentThread':async({channelId:_0x596aec,threadId:_0x2ad7d0,comments:_0x3e4ceb,resolvedAt:_0x3a61d5,resolvedBy:_0x3bd5f6,context:_0x4b21bb,attributes:_0x7f573d})=>{const _0x4d02f9=_0x210178,_0x4d58b8=await this[_0x4d02f9(0x253)](_0x596aec)[_0x4d02f9(0x21c)]({'commentThreadId':_0x2ad7d0,'comments':_0x3e4ceb[_0x4d02f9(0x24f)](_0xbf467c=>function(_0x34414d,_0x35de86,_0x23d926){const _0x268d68=_0x4d02f9;return{'commentThreadId':_0x23d926,'commentId':_0x34414d[_0x268d68(0x222)],'userId':_0x34414d[_0x268d68(0x230)],'content':_0x34414d[_0x268d68(0x1f3)],'documentId':_0x35de86,'createdAt':_0x34414d[_0x268d68(0x22e)],'attributes':_0x34414d[_0x268d68(0x20b)]||{}};}(_0xbf467c,_0x596aec,_0x2ad7d0)),'resolvedAt':_0x3a61d5,'resolvedBy':_0x3bd5f6,'context':_0x4b21bb,'attributes':_0x7f573d})[_0x4d02f9(0x240)](w);return{'threadId':_0x4d58b8[_0x4d02f9(0x244)],'comments':_0x4d58b8[_0x4d02f9(0x24a)]};},'getCommentThread':async({channelId:_0x13df86,threadId:_0x207132})=>{const _0x41c74d=_0x210178,_0x5bf97a=await this[_0x41c74d(0x253)](_0x13df86)[_0x41c74d(0x210)](_0x207132)[_0x41c74d(0x240)](w);return _0x5bf97a[_0x41c74d(0x234)]?null:(await this[_0x41c74d(0x22a)]([_0x5bf97a]),{'threadId':_0x5bf97a[_0x41c74d(0x244)],'comments':_0x5bf97a[_0x41c74d(0x24a)][_0x41c74d(0x24f)](b),'context':_0x5bf97a[_0x41c74d(0x1fa)],'resolvedAt':_0x5bf97a[_0x41c74d(0x228)],'resolvedBy':_0x5bf97a[_0x41c74d(0x214)],'attributes':_0x5bf97a[_0x41c74d(0x20b)]||{}});},'updateCommentThread':async({channelId:_0x1c1a06,threadId:_0x59715b,context:_0x19a748,unlinkedAt:_0x5dd02c,attributes:_0x8dd758})=>this[_0x210178(0x253)](_0x1c1a06)[_0x210178(0x237)]({'commentThreadId':_0x59715b,'context':_0x19a748,'attributes':_0x8dd758,'unlinkedAt':_0x5dd02c})[_0x210178(0x240)](y)[_0x210178(0x240)](w),'resolveCommentThread':async({channelId:_0x40f0b5,threadId:_0x12b8cc})=>{const _0x545eb2=_0x210178,_0x1ac21e=await this[_0x545eb2(0x253)](_0x40f0b5)[_0x545eb2(0x1f5)](_0x12b8cc)[_0x545eb2(0x240)](y)[_0x545eb2(0x240)](w);return{'threadId':_0x1ac21e[_0x545eb2(0x244)],'resolvedAt':_0x1ac21e[_0x545eb2(0x228)],'resolvedBy':_0x1ac21e[_0x545eb2(0x214)]};},'reopenCommentThread':async({channelId:_0x55b3e7,threadId:_0x568476})=>this[_0x210178(0x253)](_0x55b3e7)[_0x210178(0x1fc)](_0x568476)[_0x210178(0x240)](y)[_0x210178(0x240)](w),'removeCommentThread':({channelId:_0x1f0ac3,threadId:_0x26b91b})=>this[_0x210178(0x253)](_0x1f0ac3)[_0x210178(0x241)](_0x26b91b)[_0x210178(0x240)](y)[_0x210178(0x240)](w),'addComment':({channelId:_0x1d49e1,threadId:_0x9ebb93,commentId:_0x409108,content:_0x577940,attributes:_0x2be525})=>this[_0x210178(0x253)](_0x1d49e1)[_0x210178(0x21a)](_0x9ebb93,_0x409108,_0x577940,_0x2be525)[_0x210178(0x240)](w),'updateComment':({channelId:_0xe1944f,threadId:_0x5df3c5,commentId:_0x5633af,content:_0x44808a,attributes:_0x39013b})=>this[_0x210178(0x253)](_0xe1944f)[_0x210178(0x206)](_0x5df3c5,_0x5633af,_0x44808a,_0x39013b)[_0x210178(0x240)](y)[_0x210178(0x240)](w),'removeComment':({channelId:_0x2e904d,threadId:_0x172e8e,commentId:_0x346eaf})=>this[_0x210178(0x253)](_0x2e904d)[_0x210178(0x218)](_0x172e8e,_0x346eaf)[_0x210178(0x240)](y)[_0x210178(0x240)](w)},_0x21ffb3 instanceof _0x424585){const _0x38f495=_0x21ffb3[_0x210178(0x23b)][_0x210178(0x252)](_0x210178(0x249)),_0x4bda1f=_0x21ffb3[_0x210178(0x24d)][_0x210178(0x252)](_0xd61cf2);await this[_0x210178(0x204)](_0x38f495);const _0x3d06c6=await this[_0x210178(0x205)][_0x210178(0x252)](_0x38f495)[_0x210178(0x247)]();this[_0x210178(0x219)](_0x4bda1f,_0x210178(0x23d)+_0x38f495,(_0x703d47,{session:_0x209b1e})=>{const _0x64b8f6=_0x210178;_0x209b1e['id']===_0x4bda1f[_0x64b8f6(0x235)]&&(_0x703d47[_0x64b8f6(0x1f7)](),this[_0x64b8f6(0x1fa)][_0x64b8f6(0x24d)][_0x64b8f6(0x252)](_0x64b8f6(0x208))[_0x64b8f6(0x243)](_0x209b1e[_0x64b8f6(0x221)],_0x38f495));}),_0x4bda1f[_0x210178(0x22d)](_0x38f495,_0x3d06c6);}}async[_0xc168e3(0x204)](_0x276649){const _0x4b8807=_0xc168e3;if(this[_0x4b8807(0x205)][_0x4b8807(0x209)](_0x276649))throw new _0x8575c8(_0x4b8807(0x250),null,{'channelId':_0x276649});const _0x4f3302=this[_0x4b8807(0x1fa)][_0x4b8807(0x24d)][_0x4b8807(0x252)](_0x4b8807(0x215)),_0x339676=new a[(_0x4b8807(0x207))](_0x276649);this[_0x4b8807(0x205)][_0x4b8807(0x231)](_0x276649,_0x339676),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x224),(_0xafc579,_0x27d4f7)=>{const _0x124a8c=_0x4b8807,{commentThreadId:_0x3e60a5,documentId:_0x4022c1,context:_0x5252cf,attributes:_0xa3a98b,resolvedAt:_0x53a99d,resolvedBy:_0x4115ec,comments:_0x3f20be}=_0x27d4f7;_0x4f3302[_0x124a8c(0x210)](_0x3e60a5)||_0x4f3302[_0x124a8c(0x21c)]({'threadId':_0x3e60a5,'channelId':_0x4022c1,'comments':_0x3f20be?_0x3f20be[_0x124a8c(0x24f)](b):[],'context':_0x5252cf,'attributes':_0xa3a98b,'resolvedAt':_0x53a99d,'resolvedBy':_0x4115ec,'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x1f9),(_0x377d5a,{commentThreadId:_0xe25854,documentId:_0x190a04,context:_0x2226ab,unlinkedAt:_0x1e656a,attributes:_0x5422d1})=>{const _0x4c415e=_0x4b8807;_0x4f3302[_0x4c415e(0x210)](_0xe25854)&&_0x4f3302[_0x4c415e(0x237)]({'threadId':_0xe25854,'channelId':_0x190a04,'context':_0x2226ab,'unlinkedAt':_0x1e656a,'attributes':_0x5422d1,'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x233),(_0x3fe102,{commentThreadId:_0x3df482,resolvedBy:_0x7ecb55,resolvedAt:_0x69c595})=>{const _0x25e243=_0x4b8807,_0x5e7e65=_0x4f3302[_0x25e243(0x210)](_0x3df482);_0x5e7e65&&_0x5e7e65[_0x25e243(0x24e)]({'resolvedBy':_0x7ecb55,'resolvedAt':_0x69c595,'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x23f),(_0x1b5fc4,{commentThreadId:_0x3c536b})=>{const _0x657673=_0x4b8807,_0x584394=_0x4f3302[_0x657673(0x210)](_0x3c536b);_0x584394&&_0x584394[_0x657673(0x1f8)]({'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x226),(_0x13de4d,{commentThreadId:_0x5be591})=>{const _0xb900db=_0x4b8807,_0x14fcfa=_0x4f3302[_0xb900db(0x210)](_0x5be591);_0x14fcfa&&_0x14fcfa[_0xb900db(0x1f4)]({'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x202),(_0x48b813,_0x5cf763)=>{const _0x22512f=_0x4b8807,_0x5349b1=_0x5cf763[_0x22512f(0x244)],_0x292644=_0x4f3302[_0x22512f(0x210)](_0x5349b1);_0x292644&&_0x292644[_0x22512f(0x21a)]({...b(_0x5cf763),'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x220),(_0x43bed9,{commentThreadId:_0x4c5e88,commentId:_0x2c8643,content:_0x29a67e,attributes:_0x217a6b})=>{const _0x5dd12d=_0x4b8807,_0xd6ea67=_0x4f3302[_0x5dd12d(0x210)](_0x4c5e88);if(_0xd6ea67){const _0x17ad62=_0xd6ea67[_0x5dd12d(0x248)](_0x2c8643);_0x17ad62&&_0x17ad62[_0x5dd12d(0x238)]({'content':_0x29a67e,'attributes':_0x217a6b,'isFromAdapter':!0x0});}}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x20d),(_0x7a2d0d,{commentThreadId:_0x158ec6,commentId:_0x17d407})=>{const _0x415540=_0x4b8807,_0x377055=_0x4f3302[_0x415540(0x210)](_0x158ec6);if(_0x377055){const _0x430090=_0x377055[_0x415540(0x248)](_0x17d407);_0x430090&&_0x430090[_0x415540(0x1f4)]({'isFromAdapter':!0x0});}}),await this[_0x4b8807(0x1fe)](_0x276649);}[_0xc168e3(0x1ef)](){const _0x55e73c=_0xc168e3;if(this[_0x55e73c(0x1fa)]instanceof _0x424585){const _0x36fb3b=this[_0x55e73c(0x1fa)][_0x55e73c(0x23b)][_0x55e73c(0x252)](_0x55e73c(0x249));this[_0x55e73c(0x223)](_0x36fb3b);}}[_0xc168e3(0x223)](_0x12dad4){const _0x5ec26e=_0xc168e3;if(!this[_0x5ec26e(0x205)][_0x5ec26e(0x209)](_0x12dad4))throw new _0x8575c8(_0x5ec26e(0x232),null,{'channelId':_0x12dad4});this[_0x5ec26e(0x253)](_0x12dad4)[_0x5ec26e(0x22c)](),this[_0x5ec26e(0x205)][_0x5ec26e(0x21b)](_0x12dad4);}async[_0xc168e3(0x211)](){const _0x533019=_0xc168e3;for(const _0x9d4102 of this[_0x533019(0x205)][_0x533019(0x1f2)]())await this[_0x533019(0x1fe)](_0x9d4102);if(this[_0x533019(0x1fa)]instanceof _0x424585){const _0x2df96f=this[_0x533019(0x1fa)][_0x533019(0x23b)][_0x533019(0x252)](_0x533019(0x249)),_0x1556da=this[_0x533019(0x1fa)][_0x533019(0x24d)][_0x533019(0x252)](_0xd61cf2);_0x1556da[_0x533019(0x22f)](_0x2df96f);const _0x24bfff=await this[_0x533019(0x205)][_0x533019(0x252)](_0x2df96f)[_0x533019(0x247)]();_0x1556da[_0x533019(0x22d)](_0x2df96f,_0x24bfff);}}async[_0xc168e3(0x1fe)](_0x5a914e){const _0x4ed48a=_0xc168e3,{connection:_0x520cdc}=this[_0x4ed48a(0x1fa)][_0x4ed48a(0x24d)][_0x4ed48a(0x252)](_0x5377eb),_0x5145c3=this[_0x4ed48a(0x1fa)][_0x4ed48a(0x24d)][_0x4ed48a(0x252)](_0x4ed48a(0x215)),_0x2f99b5=this[_0x4ed48a(0x205)][_0x4ed48a(0x252)](_0x5a914e),_0x1af48e=await _0x2f99b5[_0x4ed48a(0x23e)](_0x520cdc);await this[_0x4ed48a(0x22a)](_0x1af48e);const _0x3393c2=new Set(Array[_0x4ed48a(0x200)](_0x5145c3[_0x4ed48a(0x255)]({'channelId':_0x5a914e}),_0x4b8671=>_0x4b8671['id']));for(const _0x3ab42a of _0x1af48e)_0x3ab42a[_0x4ed48a(0x234)]||_0x3393c2[_0x4ed48a(0x21b)](_0x3ab42a[_0x4ed48a(0x244)]);for(const _0x49094f of _0x3393c2)_0x5145c3[_0x4ed48a(0x210)](_0x49094f)[_0x4ed48a(0x1f4)]({'isFromAdapter':!0x0});for(const _0x44b8ee of _0x1af48e){let _0x22f774=_0x5145c3[_0x4ed48a(0x210)](_0x44b8ee[_0x4ed48a(0x244)]);const {commentThreadId:_0x3f4cf5,context:_0x1fe5a3,attributes:_0x2168e3,resolvedBy:_0x3a9c72,resolvedAt:_0x1503eb,unlinkedAt:_0x153270,deletedAt:_0x1b5983}=_0x44b8ee;if(_0x1b5983)continue;_0x22f774||(_0x22f774=_0x5145c3[_0x4ed48a(0x21c)]({'channelId':_0x5a914e,'threadId':_0x3f4cf5,'context':_0x1fe5a3,'attributes':_0x2168e3||{},'resolvedBy':_0x3a9c72,'resolvedAt':_0x1503eb,'unlinkedAt':_0x153270,'isFromAdapter':!0x0}));const _0x49edf8=new Set(Array[_0x4ed48a(0x200)](_0x22f774[_0x4ed48a(0x24a)],_0x204d6b=>_0x204d6b['id']));for(const _0x17af69 of _0x44b8ee[_0x4ed48a(0x24a)])_0x49edf8[_0x4ed48a(0x21b)](_0x17af69[_0x4ed48a(0x222)]);for(const _0x3c1f47 of _0x49edf8)_0x22f774[_0x4ed48a(0x248)](_0x3c1f47)[_0x4ed48a(0x1f4)]({'isFromAdapter':!0x0});for(const _0x521686 of _0x44b8ee[_0x4ed48a(0x24a)]){const _0x240307=_0x22f774[_0x4ed48a(0x248)](_0x521686[_0x4ed48a(0x222)]);_0x240307?_0x240307[_0x4ed48a(0x1f3)]!==_0x521686[_0x4ed48a(0x1f3)]&&_0x240307[_0x4ed48a(0x238)]({'content':_0x521686[_0x4ed48a(0x1f3)],'isFromAdapter':!0x0}):_0x22f774[_0x4ed48a(0x21a)](Object[_0x4ed48a(0x201)](b(_0x521686),{'isFromAdapter':!0x0}));}}}[_0xc168e3(0x253)](_0x4aef46){const _0x448b76=_0xc168e3;if(!this[_0x448b76(0x205)][_0x448b76(0x209)](_0x4aef46))throw new _0x8575c8(_0x448b76(0x24b),null,{'channelId':_0x4aef46});return this[_0x448b76(0x205)][_0x448b76(0x252)](_0x4aef46);}async[_0xc168e3(0x22a)](_0x305189){const _0x15c207=_0xc168e3,_0x143b86=this[_0x15c207(0x1fa)][_0x15c207(0x24d)][_0x15c207(0x252)](_0x5a5767),{connection:_0x5548e6}=this[_0x15c207(0x1fa)][_0x15c207(0x24d)][_0x15c207(0x252)](_0x5377eb),_0x16317e=new Set();for(const {resolvedBy:_0xd5565b,comments:_0xac841}of _0x305189){_0xd5565b&&!_0x143b86[_0x15c207(0x239)](_0xd5565b)&&_0x16317e[_0x15c207(0x236)](_0xd5565b);for(const {userId:_0x19c000}of _0xac841)_0x143b86[_0x15c207(0x239)](_0x19c000)||_0x16317e[_0x15c207(0x236)](_0x19c000);}if(0x0===_0x16317e[_0x15c207(0x23c)])return;const _0x598f3a=await _0x316405[_0x15c207(0x20f)](_0x5548e6,Array[_0x15c207(0x200)](_0x16317e));for(const _0x28b85d of _0x598f3a)_0x143b86[_0x15c207(0x239)](_0x28b85d['id'])||_0x143b86[_0x15c207(0x245)](_0x28b85d);}}a[_0xc168e3(0x207)]=_0x119566;export default a;async function y(_0x451e9d){const _0x22f24f=_0xc168e3;if(_0x22f24f(0x21e)!==_0x451e9d[_0x22f24f(0x213)])throw _0x451e9d;}function w(_0x1e7efa){const _0x3e2c15=_0xc168e3;if((_0x9b9d30=_0x1e7efa)[_0x3e2c15(0x246)][_0x3e2c15(0x21d)](_0x3e2c15(0x254))||_0x9b9d30[_0x3e2c15(0x246)][_0x3e2c15(0x21d)](_0x3e2c15(0x216))||_0x9b9d30[_0x3e2c15(0x246)][_0x3e2c15(0x21d)](_0x3e2c15(0x251)))return new Promise(()=>{});var _0x9b9d30;throw _0x1e7efa;}function b(_0x118745){const _0x3ceee5=_0xc168e3;return{'threadId':_0x118745[_0x3ceee5(0x244)],'commentId':_0x118745[_0x3ceee5(0x222)],'content':_0x118745[_0x3ceee5(0x1f3)],'createdAt':_0x118745[_0x3ceee5(0x22e)],'authorId':_0x118745[_0x3ceee5(0x229)],'attributes':_0x118745[_0x3ceee5(0x20b)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd80f44=_0x109b;(function(_0x259723,_0xbb14ec){const _0x5efe22=_0x109b,_0x566f78=_0x259723();while(!![]){try{const _0x4319aa=parseInt(_0x5efe22(0xb9))/0x1+-parseInt(_0x5efe22(0xa4))/0x2*(parseInt(_0x5efe22(0xaf))/0x3)+-parseInt(_0x5efe22(0xb1))/0x4*(-parseInt(_0x5efe22(0xa3))/0x5)+parseInt(_0x5efe22(0xa5))/0x6*(parseInt(_0x5efe22(0xb4))/0x7)+-parseInt(_0x5efe22(0xab))/0x8+-parseInt(_0x5efe22(0xa7))/0x9+parseInt(_0x5efe22(0xaa))/0xa*(parseInt(_0x5efe22(0xb5))/0xb);if(_0x4319aa===_0xbb14ec)break;else _0x566f78['push'](_0x566f78['shift']());}catch(_0x530824){_0x566f78['push'](_0x566f78['shift']());}}}(_0x4362,0x88dd6));import{Plugin as _0x1baf7d}from'ckeditor5/src/core.js';import _0x5e485f from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x41c819 from'./realtimecollaborativeediting.js';import _0x1fe777 from'./realtimecollaborativeediting/websocketgateway.js';function _0x4362(){const _0x766c46=['change:state','1415155ejPetm','110mkcjDm','CommentsRepository','plugins','editor','26381clYsGL','RealTimeCollaborativeComments','once','listenTo','destroy','collaboration.channelId','requires','config','isPremiumPlugin','isThreadsLoadingPaused','switchReadOnly','_terminateService','isOfficialPlugin','init','9755WSMbcy','36FvtlPj','6UwOhRA','get','8824518aHPIpy','CommentsEditing','ready','2516420CxGOyC','8892272mQoMXH','Comments','data','connected','84324lBXTmW','_setUpService','848nsBiFk','pluginName'];_0x4362=function(){return _0x766c46;};return _0x4362();}function _0x109b(_0x544823,_0x5a8c6b){const _0x436249=_0x4362();return _0x109b=function(_0x109b25,_0x24f811){_0x109b25=_0x109b25-0x9d;let _0x1276d1=_0x436249[_0x109b25];return _0x1276d1;},_0x109b(_0x544823,_0x5a8c6b);}export default class m extends _0x1baf7d{static get[_0xd80f44(0xbf)](){const _0x5cebec=_0xd80f44;return[_0x5cebec(0xac),_0x5e485f,_0x41c819,_0x1fe777];}static get[_0xd80f44(0xb2)](){const _0x57aaba=_0xd80f44;return _0x57aaba(0xba);}static get[_0xd80f44(0xa1)](){return!0x0;}static get[_0xd80f44(0x9d)](){return!0x0;}[_0xd80f44(0xa2)](){const _0x16f2a2=_0xd80f44,_0x39fb0f=this[_0x16f2a2(0xb8)][_0x16f2a2(0xb7)][_0x16f2a2(0xa6)](_0x1fe777),_0x251c84=this[_0x16f2a2(0xb8)][_0x16f2a2(0xb7)][_0x16f2a2(0xa6)](_0x16f2a2(0xa8)),_0x290079=this[_0x16f2a2(0xb8)][_0x16f2a2(0xb7)][_0x16f2a2(0xa6)](_0x5e485f);return this[_0x16f2a2(0xb8)][_0x16f2a2(0xad)][_0x16f2a2(0xbb)](_0x16f2a2(0xa9),()=>{const _0x53899a=_0x16f2a2;this[_0x53899a(0xbc)](_0x39fb0f,_0x53899a(0xb3),(_0x22d482,_0x15144a,_0x25d264)=>{const _0x332d6a=_0x53899a;_0x251c84[_0x332d6a(0x9e)]=_0x332d6a(0xae)!==_0x25d264;});}),this[_0x16f2a2(0xbc)](_0x39fb0f,_0x16f2a2(0xb3),(_0x1091a2,_0x529712,_0x1b9503)=>{const _0xbe5297=_0x16f2a2;this[_0xbe5297(0xb8)][_0xbe5297(0xb7)][_0xbe5297(0xa6)](_0xbe5297(0xb6))[_0xbe5297(0x9f)](_0xbe5297(0xae)!==_0x1b9503);}),_0x290079[_0x16f2a2(0xb0)](this[_0x16f2a2(0xb8)][_0x16f2a2(0xc0)][_0x16f2a2(0xa6)](_0x16f2a2(0xbe)));}[_0xd80f44(0xbd)](){const _0x2dfed6=_0xd80f44;this[_0x2dfed6(0xb8)][_0x2dfed6(0xb7)][_0x2dfed6(0xa6)](_0x5e485f)[_0x2dfed6(0xa0)](this[_0x2dfed6(0xb8)][_0x2dfed6(0xc0)][_0x2dfed6(0xa6)](_0x2dfed6(0xbe))),super[_0x2dfed6(0xbd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49dc9b=_0x46c3;(function(_0x185a22,_0x5439a3){const _0x16ba24=_0x46c3,_0x206587=_0x185a22();while(!![]){try{const _0x4ae0d3=-parseInt(_0x16ba24(0x1b7))/0x1*(-parseInt(_0x16ba24(0x1cf))/0x2)+parseInt(_0x16ba24(0x112))/0x3+-parseInt(_0x16ba24(0x16b))/0x4*(parseInt(_0x16ba24(0x135))/0x5)+-parseInt(_0x16ba24(0x137))/0x6+parseInt(_0x16ba24(0x1e4))/0x7*(parseInt(_0x16ba24(0x1da))/0x8)+-parseInt(_0x16ba24(0x1d4))/0x9*(-parseInt(_0x16ba24(0x15b))/0xa)+parseInt(_0x16ba24(0x17f))/0xb;if(_0x4ae0d3===_0x5439a3)break;else _0x206587['push'](_0x206587['shift']());}catch(_0x3a07f2){_0x206587['push'](_0x206587['shift']());}}}(_0x5650,0xd7e24));import{Plugin as _0x548bb4,PendingActions as _0x2b97a3}from'ckeditor5/src/core.js';import{CKEditorError as _0x57d5ca,version as _0x35ac8d,uid as _0x2fee69}from'ckeditor5/src/utils.js';import{Notification as _0x53d6ab}from'ckeditor5/src/ui.js';import{transformSets as _0x5cc109,NoOperation as _0x441c4a,InsertOperation as _0x333157,MarkerOperation as _0x317dfd,RootAttributeOperation as _0x21e1a3,OperationFactory as _0x2df84a,History as _0x49db6c}from'ckeditor5/src/engine.js';import _0xb6ae99 from'./websocketgateway.js';import _0x300782 from'./sessions.js';import _0x5530eb from'./usermarkers.js';import{getTranslation as _0x23685d}from'../common-translations.js';import{Compressor as _0x32ce40}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x31afa5}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14b421,CollaborativeEditingService as _0x2c74b6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x548bb4{static get[_0x49dc9b(0x13a)](){return[_0xb6ae99,_0x300782,_0x5530eb,_0x2b97a3,_0x31afa5,_0x53d6ab];}static get[_0x49dc9b(0x13b)](){const _0x1b15a9=_0x49dc9b;return _0x1b15a9(0x158);}static get[_0x49dc9b(0x1b9)](){return!0x0;}static get[_0x49dc9b(0x1e0)](){return!0x0;}get[_0x49dc9b(0x117)](){const _0x101d0a=_0x49dc9b;return this[_0x101d0a(0x1d6)]+this[_0x101d0a(0xec)];}get[_0x49dc9b(0x1d6)](){const _0x4556b0=_0x49dc9b;return this[_0x4556b0(0x157)][_0x4556b0(0x184)]-this[_0x4556b0(0xec)];}get[_0x49dc9b(0x148)](){const _0x2112fe=_0x49dc9b,_0x4ffabe=this[_0x2112fe(0x157)][_0x2112fe(0x1b1)]();for(let _0x2b68cf=_0x4ffabe[_0x2112fe(0x154)]-0x1;_0x2b68cf>=0x0;_0x2b68cf--){const _0x57b2fb=_0x4ffabe[_0x2b68cf];if(!this[_0x2112fe(0x1a4)][_0x2112fe(0x1dd)](_0x57b2fb))return _0x57b2fb[_0x2112fe(0x1e9)]+0x1-this[_0x2112fe(0xec)];}return 0x0;}constructor(_0x568aa6){const _0x14c192=_0x49dc9b;if(super(_0x568aa6),this[_0x14c192(0xec)]=0x0,this[_0x14c192(0x19e)]=null,this[_0x14c192(0x157)]=new _0x49db6c(),this[_0x14c192(0x130)][_0x14c192(0xfa)][_0x14c192(0x113)](_0x14c192(0x10c),{}),this[_0x14c192(0x111)]=this[_0x14c192(0x130)][_0x14c192(0xfa)][_0x14c192(0x18e)](_0x14c192(0xf6)),!this[_0x14c192(0x111)])throw new _0x57d5ca(_0x14c192(0x162),this);const _0x54e1b6=_0x568aa6[_0x14c192(0xfa)][_0x14c192(0x18e)](_0x14c192(0x1bc))||_0x35ac8d;this[_0x14c192(0x129)]=new l[(_0x14c192(0x1df))](_0x54e1b6,this[_0x14c192(0x111)]),this[_0x14c192(0xed)]=this[_0x14c192(0x130)][_0x14c192(0xfb)][_0x14c192(0x1ed)],this[_0x14c192(0x1b5)]=new _0x32ce40(),this[_0x14c192(0x187)]=[],this[_0x14c192(0xff)]=new WeakSet(),this[_0x14c192(0x100)]=new Set(),this[_0x14c192(0xee)](_0x14c192(0x1b8),!0x1),this[_0x14c192(0xee)](_0x14c192(0x126),!0x1),this[_0x14c192(0x178)]=null,this[_0x14c192(0x106)]=!0x1,this[_0x14c192(0x108)]=null,this[_0x14c192(0x102)]=0x12c,this[_0x14c192(0x168)]=this[_0x14c192(0x102)],this[_0x14c192(0x115)]=null,this[_0x14c192(0x1a4)]=new WeakSet(),this[_0x14c192(0x18a)]=new W(this[_0x14c192(0x1a4)]);}[_0x49dc9b(0x13e)](){const _0x4b8aa8=_0x49dc9b,_0x199b64=this[_0x4b8aa8(0x130)],_0x492a79=_0x199b64[_0x4b8aa8(0xfc)][_0x4b8aa8(0x18e)](_0x31afa5),_0x5ab0ed=_0x199b64[_0x4b8aa8(0xfc)][_0x4b8aa8(0x18e)](_0xb6ae99);this[_0x4b8aa8(0x15e)](_0x492a79,_0x4b8aa8(0x194),(_0x25452e,_0x52925a)=>{const _0x2c17e6=_0x4b8aa8,_0x11e846=_0x52925a[0x0];_0x11e846[_0x2c17e6(0x1c0)]&&(_0x25452e[_0x2c17e6(0x11a)]=_0x492a79[_0x2c17e6(0x164)](_0x11e846[_0x2c17e6(0x1c0)]),_0x25452e[_0x2c17e6(0x151)]()),null===_0x11e846[_0x2c17e6(0x1c0)]&&(_0x25452e[_0x2c17e6(0x11a)]=null,_0x25452e[_0x2c17e6(0x151)]());},{'priority':_0x4b8aa8(0xf2)}),this[_0x4b8aa8(0x15e)](_0x199b64[_0x4b8aa8(0xfb)][_0x4b8aa8(0x1ed)][_0x4b8aa8(0x17b)],_0x4b8aa8(0x1ac),(_0x556147,_0x3a53f7)=>{const _0x13a531=_0x4b8aa8;_0x3a53f7[_0x13a531(0x186)]&&this[_0x13a531(0xf8)]();}),this[_0x4b8aa8(0x15e)](_0x199b64[_0x4b8aa8(0xf3)][_0x4b8aa8(0x10d)],_0x4b8aa8(0x1d8),()=>{const _0x2686a3=_0x4b8aa8;this[_0x2686a3(0xf8)]();}),this[_0x4b8aa8(0x124)](),_0x199b64[_0x4b8aa8(0xfb)]['on'](_0x4b8aa8(0x1a1),(_0x3ca748,_0x4f7a22)=>{const _0x59b9d8=_0x4b8aa8,_0x541c27=_0x4f7a22[0x0];_0x541c27[_0x59b9d8(0x127)]&&(this[_0x59b9d8(0x104)](_0x541c27),this[_0x59b9d8(0x174)]()&&this[_0x59b9d8(0x1a9)]());}),this[_0x4b8aa8(0x145)](),this[_0x4b8aa8(0x1bb)](_0x4b8aa8(0x110))['to'](_0x5ab0ed,_0x4b8aa8(0x1ba),this,_0x4b8aa8(0x126),(_0x35fbc1,_0x349721)=>_0x4b8aa8(0x103)===_0x35fbc1&&!_0x349721),this['on'](_0x4b8aa8(0x1de),()=>{const _0x1a3d43=_0x4b8aa8;this[_0x1a3d43(0x110)]?_0x199b64[_0x1a3d43(0x1c4)](_0x1a3d43(0x10e)):_0x199b64[_0x1a3d43(0x170)](_0x1a3d43(0x10e));}),this[_0x4b8aa8(0x110)]?_0x199b64[_0x4b8aa8(0x1c4)](_0x4b8aa8(0x10e)):_0x199b64[_0x4b8aa8(0x170)](_0x4b8aa8(0x10e)),this[_0x4b8aa8(0xee)](_0x4b8aa8(0x10a),!0x1);}async[_0x49dc9b(0x18b)](){const _0x3a9534=_0x49dc9b,_0x46e4dc=this[_0x3a9534(0x130)][_0x3a9534(0xfc)][_0x3a9534(0x18e)](_0x300782),_0x5bfaaa=this[_0x3a9534(0x130)][_0x3a9534(0xfc)][_0x3a9534(0x18e)](_0xb6ae99);try{this[_0x3a9534(0x1b8)]=!0x0,_0x46e4dc[_0x3a9534(0x181)](this[_0x3a9534(0x111)]);const _0x3da21a=await this[_0x3a9534(0x129)][_0x3a9534(0x18b)](_0x5bfaaa[_0x3a9534(0x177)],this[_0x3a9534(0x148)]);await this[_0x3a9534(0x19f)](_0x3da21a)&&(this[_0x3a9534(0x1b8)]=!0x1,this[_0x3a9534(0x155)]());const _0x44b61c=await this[_0x3a9534(0x129)][_0x3a9534(0x1d5)]();_0x46e4dc[_0x3a9534(0x188)](this[_0x3a9534(0x111)],_0x44b61c),this[_0x3a9534(0x14e)](),this[_0x3a9534(0x10a)]=!0x0;}catch(_0x32ef0b){if(function(_0x18ceff){const _0x31624d=_0x3a9534;return _0x31624d(0x1d7)===_0x18ceff[_0x31624d(0x1e8)];}(_0x32ef0b)&&this[_0x3a9534(0x19e)])await this[_0x3a9534(0x1e3)]();else{if(function(_0xfb1cba){const _0x5d3027=_0x3a9534;return _0x5d3027(0x13d)===_0xfb1cba[_0x5d3027(0x1e8)];}(_0x32ef0b)){const _0x2a1175=_0x23685d(this[_0x3a9534(0x130)][_0x3a9534(0x122)],_0x3a9534(0x1ab));this[_0x3a9534(0x1b4)](_0x2a1175);}else{if(!(_0x32ef0b instanceof z))throw _0x32ef0b;this[_0x3a9534(0x1b4)]();}}}}[_0x49dc9b(0xfe)](){const _0x2d66a4=_0x49dc9b,_0x989548=this[_0x2d66a4(0x130)][_0x2d66a4(0xfc)][_0x2d66a4(0x18e)](_0xb6ae99),_0x132c34=this[_0x2d66a4(0x130)][_0x2d66a4(0xfc)][_0x2d66a4(0x18e)](_0x300782);this[_0x2d66a4(0x130)][_0x2d66a4(0x170)](_0x2d66a4(0x160)),_0x132c34[_0x2d66a4(0x15f)][_0x2d66a4(0x1dd)](this[_0x2d66a4(0x111)])&&_0x132c34[_0x2d66a4(0x181)](this[_0x2d66a4(0x111)]),_0x989548[_0x2d66a4(0x171)](this),this[_0x2d66a4(0x1e1)](),super[_0x2d66a4(0xfe)]();}async[_0x49dc9b(0x19f)](_0xe60f3e){const _0x1b0821=_0x49dc9b;if(this[_0x1b0821(0x19e)]!==_0xe60f3e[_0x1b0821(0x19e)]&&this[_0x1b0821(0x115)]!==_0xe60f3e[_0x1b0821(0x11b)])throw new z();return this[_0x1b0821(0x19e)]=_0xe60f3e[_0x1b0821(0x19e)],this[_0x1b0821(0x1a2)]([],{..._0xe60f3e,'wereChangesApplied':!0x1,'data':_0xe60f3e[_0x1b0821(0x11e)]},_0x1b0821(0x18b));}async[_0x49dc9b(0x14b)](_0x584dd9,_0x333487=!0x1){const _0x548b27=_0x49dc9b,{connection:_0xcc8f36}=this[_0x548b27(0x130)][_0x548b27(0xfc)][_0x548b27(0x18e)](_0xb6ae99);l[_0x548b27(0x1df)][_0x548b27(0x1d5)](_0xcc8f36,this[_0x548b27(0x111)])[_0x548b27(0x12a)](_0x4665e1=>this[_0x548b27(0x17a)](_0x4665e1))[_0x548b27(0x1ad)](_0x48bd23=>{const _0x42191d=_0x548b27;this[_0x42191d(0x153)](_0x42191d(0x182),_0x48bd23);}),this[_0x548b27(0x15e)](this[_0x548b27(0x129)],_0x548b27(0x136),this[_0x548b27(0x138)][_0x548b27(0x1bb)](this)),this[_0x548b27(0x15e)](this[_0x548b27(0x129)],_0x548b27(0x19b),(_0x3645b9,_0x54cd23)=>{const _0x43176f=_0x548b27;this[_0x43176f(0x153)](_0x43176f(0xf5),_0x54cd23);}),this[_0x548b27(0x15e)](this[_0x548b27(0x129)],_0x548b27(0x109),()=>{const _0x29fa64=_0x548b27;this[_0x29fa64(0x10a)]=!0x1;});const _0x181887=this[_0x548b27(0x18a)][_0x548b27(0x152)](_0x584dd9);this[_0x548b27(0x1b8)]=!0x0;const _0x35d36e=await this[_0x548b27(0x129)][_0x548b27(0x140)](_0xcc8f36,this[_0x548b27(0x163)](_0x584dd9),_0x181887);if(this[_0x548b27(0x19e)]=_0x35d36e[_0x548b27(0x19e)],_0x333487){if(!_0x35d36e[_0x548b27(0x1a8)])return void this[_0x548b27(0x1b4)]();this[_0x548b27(0x1b8)]=!0x1,this[_0x548b27(0x155)](),this[_0x548b27(0x157)][_0x548b27(0x17e)](),this[_0x548b27(0xec)]=_0x35d36e[_0x548b27(0x12e)],this[_0x548b27(0x157)][_0x548b27(0x184)]=this[_0x548b27(0xec)],await this[_0x548b27(0x1a2)](_0x584dd9,_0x35d36e,_0x548b27(0x1bf));}else await this[_0x548b27(0x125)](_0x35d36e,_0x584dd9);this[_0x548b27(0x14e)](),this[_0x548b27(0x10a)]=!0x0;}[_0x49dc9b(0x14e)](){const _0x15860a=_0x49dc9b,_0x269f34=this[_0x15860a(0x130)][_0x15860a(0xfc)][_0x15860a(0x18e)](_0x300782),_0x40c79c=this[_0x15860a(0x130)][_0x15860a(0xfc)][_0x15860a(0x18e)](_0x5530eb),_0x2a4ae9=_0x269f34[_0x15860a(0x15f)][_0x15860a(0x18e)](this[_0x15860a(0x111)]);_0x2a4ae9&&_0x2a4ae9[_0x15860a(0x154)]>0x1?_0x40c79c[_0x15860a(0x1ce)]():this[_0x15860a(0x15e)](_0x269f34,_0x15860a(0x1db)+this[_0x15860a(0x111)],()=>{const _0x16c400=_0x15860a;0x2===_0x269f34[_0x16c400(0x15f)][_0x16c400(0x18e)](this[_0x16c400(0x111)])[_0x16c400(0x154)]&&_0x40c79c[_0x16c400(0x1ce)]();});}async[_0x49dc9b(0x138)](_0x2fd653,_0x26d0f4,_0x34e2b8,_0x3d7ed9){const _0xa74bdc=_0x49dc9b;if(!this[_0xa74bdc(0x1b8)]&&this[_0xa74bdc(0xed)][_0xa74bdc(0x184)]==_0x26d0f4){const _0x5e0978=this[_0xa74bdc(0x1d3)](_0x34e2b8,_0x3d7ed9);await this[_0xa74bdc(0x114)](_0x5e0978),this[_0xa74bdc(0x1e6)](_0x5e0978,_0x26d0f4,_0x34e2b8[_0xa74bdc(0x11b)])||this[_0xa74bdc(0x153)](_0xa74bdc(0x156));}}async[_0x49dc9b(0x1e3)](){const _0x3c7a0c=_0x49dc9b;this[_0x3c7a0c(0x1e1)]();const {locale:_0x23389d}=this[_0x3c7a0c(0x130)];let _0x1aef6f;try{_0x1aef6f=await this[_0x3c7a0c(0x129)][_0x3c7a0c(0x12f)]();}catch(_0x7a5ac0){const _0xc47ac8=_0x23685d(_0x23389d,_0x3c7a0c(0x189));return void this[_0x3c7a0c(0x1b4)](_0xc47ac8);}const _0x320093=_0x1aef6f[_0x3c7a0c(0x13f)]||_0x1aef6f[_0x3c7a0c(0x15a)];if(this[_0x3c7a0c(0x115)]===_0x320093[_0x3c7a0c(0x11b)])await this[_0x3c7a0c(0x14b)](this[_0x3c7a0c(0x130)][_0x3c7a0c(0xfb)][_0x3c7a0c(0x1ed)][_0x3c7a0c(0x1c9)][_0x3c7a0c(0x1b1)](),!0x0);else{const _0x38c4c3=_0x23685d(_0x23389d,_0x3c7a0c(0x16a));this[_0x3c7a0c(0x1b4)](_0x38c4c3);}}[_0x49dc9b(0x1e1)](){const _0x1d99f7=_0x49dc9b;this[_0x1d99f7(0x129)][_0x1d99f7(0x1c8)](),this[_0x1d99f7(0x187)]=[],clearTimeout(this[_0x1d99f7(0x108)]),this[_0x1d99f7(0x17c)](this[_0x1d99f7(0x129)]);}[_0x49dc9b(0x17a)](_0x4c94a0){const _0x1811f4=_0x49dc9b,_0x15c4a1=this[_0x1811f4(0x130)][_0x1811f4(0xfc)][_0x1811f4(0x18e)](_0x300782);this[_0x1811f4(0x15e)](_0x15c4a1,_0x1811f4(0x1db)+this[_0x1811f4(0x111)],(_0x4ce40a,{session:_0x34d8fe})=>{const _0x6bc80a=_0x1811f4;if(_0x34d8fe['id']===_0x15c4a1[_0x6bc80a(0x1d9)]){_0x4ce40a[_0x6bc80a(0x1bd)]();const _0x9b36d4=this[_0x6bc80a(0x130)][_0x6bc80a(0xfc)][_0x6bc80a(0x1dd)](_0x6bc80a(0x16e))&&this[_0x6bc80a(0x130)][_0x6bc80a(0xfc)][_0x6bc80a(0x18e)](_0x6bc80a(0x16e));let _0x5179a6=_0x34d8fe[_0x6bc80a(0x118)];_0x9b36d4&&_0x9b36d4[_0x6bc80a(0xf9)]&&(_0x5179a6=_0x5179a6[_0x6bc80a(0x1dc)](_0x2e3963=>_0x6bc80a(0x16f)!==_0x2e3963)),this[_0x6bc80a(0x130)][_0x6bc80a(0xfc)][_0x6bc80a(0x18e)](_0x6bc80a(0x15c))[_0x6bc80a(0x141)](_0x5179a6,this[_0x6bc80a(0x111)]);}}),_0x15c4a1[_0x1811f4(0x188)](this[_0x1811f4(0x111)],_0x4c94a0);}[_0x49dc9b(0x124)](){const _0x31808d=_0x49dc9b,_0x1d4379=this[_0x31808d(0x130)][_0x31808d(0x11e)][_0x31808d(0xee)];this[_0x31808d(0x130)][_0x31808d(0x11e)][_0x31808d(0xee)]=(..._0x2ba8fe)=>{const _0x28ab36=_0x31808d;if(!_0x2ba8fe[_0x2ba8fe[_0x28ab36(0x154)]-0x1][_0x28ab36(0x128)])throw new _0x57d5ca(_0x28ab36(0x183),this);_0x1d4379[_0x28ab36(0xfd)](this[_0x28ab36(0x130)][_0x28ab36(0x11e)],_0x2ba8fe);};}[_0x49dc9b(0x145)](){const _0x11e1ad=_0x49dc9b;this[_0x11e1ad(0x130)][_0x11e1ad(0x11e)]['on'](_0x11e1ad(0x13e),(_0x127e8b,[_0x3f55be])=>{const _0x3fb8c7=_0x11e1ad;if(this[_0x3fb8c7(0xed)][_0x3fb8c7(0x184)])throw new _0x57d5ca(_0x3fb8c7(0x1be),this);_0x127e8b[_0x3fb8c7(0x151)](),this[_0x3fb8c7(0x1c5)]();const _0x59e6c1=this[_0x3fb8c7(0x130)][_0x3fb8c7(0xfa)][_0x3fb8c7(0x18e)](_0x3fb8c7(0x1c3)),_0x3e2525=this[_0x3fb8c7(0x1a5)](_0x3f55be,_0x59e6c1);0x0==_0x3e2525[_0x3fb8c7(0x154)]&&_0x3e2525[_0x3fb8c7(0x165)](new _0x441c4a(0x0)),_0x127e8b[_0x3fb8c7(0x11a)]=this[_0x3fb8c7(0x14b)](_0x3e2525)[_0x3fb8c7(0x12a)](()=>{const _0x4b01c6=_0x3fb8c7;this[_0x4b01c6(0x130)][_0x4b01c6(0xfc)][_0x4b01c6(0x18e)](_0xb6ae99)[_0x4b01c6(0x185)](this),this[_0x4b01c6(0x130)][_0x4b01c6(0x11e)][_0x4b01c6(0x161)](_0x4b01c6(0x1b2));})[_0x3fb8c7(0x1ad)](_0x1cca1e=>this[_0x3fb8c7(0x153)](_0x3fb8c7(0x1c6),_0x1cca1e))[_0x3fb8c7(0x132)](()=>this[_0x3fb8c7(0x155)]());},{'priority':_0x11e1ad(0xf2)}),this[_0x11e1ad(0x130)]['on'](_0x11e1ad(0x134),async(_0x1c9d70,[_0x5ca9ce,_0x5e6da3])=>{const _0x3b323f=_0x11e1ad;_0x1c9d70[_0x3b323f(0x151)]();const _0x1c4c6b=this[_0x3b323f(0x130)][_0x3b323f(0xfb)][_0x3b323f(0x1ed)][_0x3b323f(0x1ae)](_0x5ca9ce);if(!this[_0x3b323f(0x100)][_0x3b323f(0x1dd)](_0x5ca9ce)){const _0x1889e3=_0x5e6da3&&_0x5e6da3[_0x3b323f(0x11e)]?_0x5e6da3[_0x3b323f(0x11e)]:'',_0x421cc6=_0x5e6da3&&_0x5e6da3[_0x3b323f(0x19c)]?_0x5e6da3[_0x3b323f(0x19c)]:{};await this[_0x3b323f(0x11c)](_0x5ca9ce,_0x1889e3,_0x421cc6);}this[_0x3b323f(0x130)][_0x3b323f(0xfb)][_0x3b323f(0x169)]({'isUndoable':!0x1},()=>{const _0x5c8380=_0x3b323f;_0x1c4c6b[_0x5c8380(0x1c2)]=!0x0,this[_0x5c8380(0x130)][_0x5c8380(0xfb)][_0x5c8380(0x1ed)][_0x5c8380(0x167)][_0x5c8380(0x172)](_0x1c4c6b);});},{'priority':_0x11e1ad(0xf2)});}async[_0x49dc9b(0x114)](_0x19ea00){const _0x34e05e=_0x49dc9b,_0x1db437=this[_0x34e05e(0x130)][_0x34e05e(0xfc)][_0x34e05e(0x18e)](_0x31afa5),{connection:_0x50a3ce}=this[_0x34e05e(0x130)][_0x34e05e(0xfc)][_0x34e05e(0x18e)](_0xb6ae99),_0x33c068=new Set();for(const _0x624250 of _0x19ea00){const _0xcc37a=_0x624250[_0x34e05e(0x1c0)];_0xcc37a&&!_0x1db437[_0x34e05e(0x164)](_0xcc37a)&&_0x33c068[_0x34e05e(0x14c)](_0xcc37a);}if(0x0===_0x33c068[_0x34e05e(0x173)])return;const _0x9614a=await _0x14b421[_0x34e05e(0x116)](_0x50a3ce,Array[_0x34e05e(0x1e7)](_0x33c068));for(const _0x2c01cd of _0x9614a)_0x1db437[_0x34e05e(0x164)](_0x2c01cd['id'])||_0x1db437[_0x34e05e(0x1a7)](_0x2c01cd);}[_0x49dc9b(0x1a5)](_0x3630f4,_0x761e74={}){const _0x5c59d0=_0x49dc9b,_0x3ccc21=this[_0x5c59d0(0x130)][_0x5c59d0(0xfb)],_0x1ec0dd=[];let _0x46de2b=0x0;const _0x9aaf43=_0x5c59d0(0x11d)==typeof _0x3630f4?{'main':_0x3630f4}:_0x3630f4;for(const _0xd9b461 of Object[_0x5c59d0(0x199)](_0x9aaf43)){if(!this[_0x5c59d0(0xed)][_0x5c59d0(0x18c)][_0x5c59d0(0x1dd)](_0xd9b461))throw new _0x57d5ca(_0x5c59d0(0x198),this);const _0x1f6973=this[_0x5c59d0(0x130)][_0x5c59d0(0x11e)][_0x5c59d0(0xf7)](_0x9aaf43[_0xd9b461]),_0x53ad0c=this[_0x5c59d0(0xed)][_0x5c59d0(0x1ae)](_0xd9b461),_0x489934=new _0x333157(_0x3ccc21[_0x5c59d0(0x15d)](_0x53ad0c,0x0),_0x1f6973,_0x46de2b++);_0x1ec0dd[_0x5c59d0(0x165)](_0x489934);for(const [_0x563d8d,_0x430724]of _0x1f6973[_0x5c59d0(0x150)]){const _0x595497=_0x3ccc21[_0x5c59d0(0x1ec)](_0x3ccc21[_0x5c59d0(0x1c7)](_0x53ad0c,_0x430724[_0x5c59d0(0x1a0)][_0x5c59d0(0x1b0)][_0x5c59d0(0x1ea)]()),_0x3ccc21[_0x5c59d0(0x1c7)](_0x53ad0c,_0x430724[_0x5c59d0(0x1cd)][_0x5c59d0(0x1b0)][_0x5c59d0(0x1ea)]())),_0x3c6229=new _0x317dfd(_0x563d8d,null,_0x595497,_0x3ccc21[_0x5c59d0(0x150)],!0x0,_0x46de2b++);_0x1ec0dd[_0x5c59d0(0x165)](_0x3c6229);}}if(_0x761e74)for(const [_0x43efdc,_0x62d9fb]of Object[_0x5c59d0(0x123)](_0x761e74)){const _0x315328=_0x3ccc21[_0x5c59d0(0x1ed)][_0x5c59d0(0x1ae)](_0x43efdc);if(!_0x315328)throw new _0x57d5ca(_0x5c59d0(0x12b),null);for(const [_0x2a42c5,_0x5802b1]of Object[_0x5c59d0(0x123)](_0x62d9fb))if(null!==_0x5802b1){const _0x2bfd2e=new _0x21e1a3(_0x315328,_0x2a42c5,null,_0x5802b1,_0x46de2b++);_0x1ec0dd[_0x5c59d0(0x165)](_0x2bfd2e);}}return _0x1ec0dd;}async[_0x49dc9b(0x11c)](_0x5324df,_0x1d855d,_0x2ca8ae){const _0x3cbce6=_0x49dc9b;this[_0x3cbce6(0x1a5)]({[_0x5324df]:_0x1d855d},{[_0x5324df]:_0x2ca8ae})[_0x3cbce6(0x11f)]((_0x2049d1,_0x44fddc)=>{const _0x657fc2=_0x3cbce6;_0x2049d1[_0x657fc2(0x1e9)]=this[_0x657fc2(0xed)][_0x657fc2(0x184)]+_0x44fddc,_0x2049d1[_0x657fc2(0x143)]=!0x0,this[_0x657fc2(0x104)](_0x2049d1);}),this[_0x3cbce6(0x1a9)](),await this[_0x3cbce6(0x1e5)]();}async[_0x49dc9b(0x125)](_0x2780c5,_0x34c3e6){const _0x544fbd=_0x49dc9b;let _0x6f5b17;this[_0x544fbd(0xec)]=_0x2780c5[_0x544fbd(0x12e)];const _0x34398f=_0x2780c5[_0x544fbd(0x1a8)]&&!_0x2780c5[_0x544fbd(0x1aa)],_0x2add34=_0x34398f?0x0:_0x2780c5[_0x544fbd(0x11e)][_0x544fbd(0x1e9)];if(_0x34c3e6[_0x544fbd(0x11f)](_0xfa644c=>{const _0x923bbe=_0x544fbd;_0xfa644c[_0x923bbe(0x143)]=!0x0,_0xfa644c[_0x923bbe(0x16d)]=_0x2780c5[_0x923bbe(0x149)],_0xfa644c[_0x923bbe(0x1c0)]=null;}),_0x34398f)_0x6f5b17=_0x34c3e6,this[_0x544fbd(0x175)](_0x6f5b17,_0x34398f);else{if(_0x2780c5[_0x544fbd(0x1aa)]){const _0x307c25=this[_0x544fbd(0x1a5)](_0x2780c5[_0x544fbd(0x1aa)]);this[_0x544fbd(0xed)][_0x544fbd(0x1c9)][_0x544fbd(0x184)]=-_0x307c25[_0x544fbd(0x154)],_0x307c25[_0x544fbd(0x11f)](_0x3edc90=>{const _0xfe3e52=_0x544fbd;_0x3edc90[_0xfe3e52(0x1e9)]-=_0x307c25[_0xfe3e52(0x154)],_0x3edc90[_0xfe3e52(0x16d)]=_0x2780c5[_0xfe3e52(0x149)],_0x3edc90[_0xfe3e52(0x143)]=!0x0,_0x3edc90[_0xfe3e52(0x1c0)]=null;}),this[_0x544fbd(0x175)](_0x307c25,!0x0),this[_0x544fbd(0x157)][_0x544fbd(0x184)]=-_0x307c25[_0x544fbd(0x154)]+this[_0x544fbd(0xec)],this[_0x544fbd(0x1af)](_0x307c25);}this[_0x544fbd(0xed)][_0x544fbd(0x1c9)][_0x544fbd(0x184)]=_0x2add34,_0x6f5b17=this[_0x544fbd(0x1d3)](_0x2780c5[_0x544fbd(0x11e)],_0x2780c5[_0x544fbd(0x176)]),await this[_0x544fbd(0x114)](_0x6f5b17),this[_0x544fbd(0x175)](_0x6f5b17,_0x34398f);}_0x2780c5[_0x544fbd(0x11b)]&&(this[_0x544fbd(0x18a)][_0x544fbd(0x1eb)](_0x6f5b17,_0x2780c5[_0x544fbd(0x11b)]),this[_0x544fbd(0x115)]=_0x2780c5[_0x544fbd(0x11b)]),this[_0x544fbd(0x157)][_0x544fbd(0x184)]=_0x2add34+this[_0x544fbd(0xec)],this[_0x544fbd(0x1af)](_0x6f5b17),_0x34c3e6[_0x544fbd(0x1dc)](_0x4bca40=>{const _0x46d332=_0x544fbd,_0x14efd7=this[_0x46d332(0x142)](_0x4bca40);return _0x14efd7&&!this[_0x46d332(0x100)][_0x46d332(0x1dd)](_0x14efd7);})[_0x544fbd(0x11f)]((_0x37bf35,_0x2285e7)=>{const _0x2921b0=_0x544fbd;_0x37bf35[_0x2921b0(0x1e9)]=this[_0x2921b0(0xed)][_0x2921b0(0x184)]+_0x2285e7,this[_0x2921b0(0x104)](_0x37bf35);}),this[_0x544fbd(0x174)]()?(this[_0x544fbd(0x168)]=0x0,this[_0x544fbd(0x1a9)](!0x0),await this[_0x544fbd(0x1e5)]()):(this[_0x544fbd(0x1b8)]=!0x1,this[_0x544fbd(0x155)]());}[_0x49dc9b(0x153)](_0x4197ab,_0x434105,_0xc73960){const _0x309b3b=_0x49dc9b;throw this[_0x309b3b(0x1b8)]=!0x0,_0x434105&&console[_0x309b3b(0x19b)](_0x434105),_0xc73960&&this[_0x309b3b(0x130)][_0x309b3b(0x170)](_0x309b3b(0x16c)),new _0x57d5ca(_0x4197ab,this[_0x309b3b(0x130)]);}[_0x49dc9b(0x104)](_0x16d8a1){const _0x3a1f99=_0x49dc9b;this[_0x3a1f99(0xff)][_0x3a1f99(0x1dd)](_0x16d8a1)||(this[_0x3a1f99(0xff)][_0x3a1f99(0x14c)](_0x16d8a1),this[_0x3a1f99(0x187)][_0x3a1f99(0x165)](_0x16d8a1),this[_0x3a1f99(0x178)]||_0x3a1f99(0x1b6)==_0x16d8a1[_0x3a1f99(0x1a6)]&&!_0x16d8a1[_0x3a1f99(0x1cb)]||this[_0x3a1f99(0x1c5)]());}[_0x49dc9b(0x1a9)](_0x2d4691=!0x1){const _0x3b4e3b=_0x49dc9b;!_0x2d4691&&this[_0x3b4e3b(0x1b8)]||(this[_0x3b4e3b(0x1b8)]=!0x0,clearTimeout(this[_0x3b4e3b(0x108)]),this[_0x3b4e3b(0x108)]=setTimeout(()=>{const _0x3660a0=_0x3b4e3b;this[_0x3660a0(0x197)]()[_0x3660a0(0x12a)](_0x378410=>{const _0x3124d2=_0x3660a0;_0x378410&&(this[_0x3124d2(0x155)](),this[_0x3124d2(0x1b8)]=!0x1);})[_0x3660a0(0x1ad)](_0x506220=>{const _0x3c7845=_0x3660a0;this[_0x3c7845(0x155)](),this[_0x3c7845(0x1b8)]=!0x1,function(_0x21153c){const _0x3b50c3=_0x3c7845;return _0x21153c[_0x3b50c3(0x139)][_0x3b50c3(0x19a)](_0x3b50c3(0x14a))||_0x21153c[_0x3b50c3(0x139)][_0x3b50c3(0x19a)](_0x3b50c3(0x147))||_0x21153c[_0x3b50c3(0x139)][_0x3b50c3(0x19a)](_0x3b50c3(0x159));}(_0x506220)||this[_0x3c7845(0x153)](_0x506220[_0x3c7845(0x139)],_0x506220,!0x0);});},this[_0x3b4e3b(0x168)]));}[_0x49dc9b(0x1e5)](){return new Promise(_0x49e426=>{const _0x5a1ba8=_0x46c3;this['on'](_0x5a1ba8(0x120),()=>{_0x49e426();});});}async[_0x49dc9b(0x197)](){const _0x51e05e=_0x49dc9b,_0x354875=this[_0x51e05e(0x130)][_0x51e05e(0xfc)][_0x51e05e(0x18e)](_0x5530eb);if(this[_0x51e05e(0x1ca)]()&&(_0x354875[_0x51e05e(0x1ce)](),this[_0x51e05e(0x106)]=!0x1),!this[_0x51e05e(0x174)]())return!0x0;const _0x1757f4=[...this[_0x51e05e(0x187)]];for(const _0x4e24c9 of _0x1757f4)_0x4e24c9[_0x51e05e(0x180)]=this[_0x51e05e(0xed)][_0x51e05e(0x1c9)][_0x51e05e(0x166)](_0x4e24c9);const _0x4a5192=this[_0x51e05e(0x18a)][_0x51e05e(0x152)](_0x1757f4),_0x2a0004=M++,_0x55b220=this[_0x51e05e(0x163)](_0x1757f4),_0x41ecd9=await this[_0x51e05e(0x129)][_0x51e05e(0xef)](_0x55b220,_0x55b220[_0x51e05e(0x1e9)],_0x4a5192);try{return await this[_0x51e05e(0x1a2)](_0x1757f4,_0x41ecd9,_0x2a0004);}catch(_0x6eef9e){return this[_0x51e05e(0x153)](_0x51e05e(0xea),_0x6eef9e);}}async[_0x49dc9b(0x1a2)](_0x52c4b6,_0x2dee22,_0x3508ad){const _0x56884f=_0x49dc9b;if(_0x56884f(0x19b)in _0x2dee22)throw _0x2dee22[_0x56884f(0x19b)];let _0x587b1d=!0x1;if(_0x2dee22[_0x56884f(0x1a8)]){_0x2dee22[_0x56884f(0x11b)]&&(this[_0x56884f(0x115)]=_0x2dee22[_0x56884f(0x11b)]),this[_0x56884f(0x187)]=this[_0x56884f(0x187)][_0x56884f(0x1dc)](_0x908c84=>!_0x52c4b6[_0x56884f(0x190)](_0x908c84));for(const _0x919ff2 of _0x52c4b6)_0x919ff2[_0x56884f(0x16d)]=_0x56884f(0x10f)in _0x2dee22&&_0x2dee22[_0x56884f(0x10f)]||void 0x0;V(_0x52c4b6,_0x2dee22[_0x56884f(0x184)]-_0x52c4b6[_0x56884f(0x154)]),this[_0x56884f(0x1af)](_0x52c4b6);const _0x2a955f=_0x52c4b6[_0x56884f(0x1dc)](_0x109f04=>{const _0x359760=_0x56884f;if(!_0x109f04[_0x359760(0x143)])return!0x1;const _0x4d7ca3=this[_0x359760(0x142)](_0x109f04);return _0x4d7ca3&&!this[_0x359760(0x100)][_0x359760(0x1dd)](_0x4d7ca3);});V(_0x2a955f,this[_0x56884f(0xed)][_0x56884f(0x184)]),this[_0x56884f(0x175)](_0x2a955f),_0x587b1d=!0x0,this[_0x56884f(0x168)]=this[_0x56884f(0x102)];}else{const _0x548cdf=this[_0x56884f(0x1d3)](_0x2dee22[_0x56884f(0x11e)],_0x2dee22[_0x56884f(0x176)])[_0x56884f(0x1dc)](_0x29b62b=>_0x29b62b[_0x56884f(0x1e9)]>=this[_0x56884f(0x1d6)]);_0x548cdf[_0x56884f(0x11f)](_0x25cc0c=>this[_0x56884f(0x144)](_0x25cc0c)),this[_0x56884f(0x187)]=this[_0x56884f(0x187)][_0x56884f(0x1dc)](_0x5bdc76=>!_0x5bdc76[_0x56884f(0x143)]||!this[_0x56884f(0x100)][_0x56884f(0x1dd)](this[_0x56884f(0x142)](_0x5bdc76))),this[_0x56884f(0x187)][_0x56884f(0x154)]&&V(this[_0x56884f(0x187)],this[_0x56884f(0x187)][0x0][_0x56884f(0x1e9)]),await this[_0x56884f(0x114)](_0x548cdf),_0x587b1d=this[_0x56884f(0x1e6)](_0x548cdf,_0x2dee22[_0x56884f(0x184)],_0x2dee22[_0x56884f(0x11b)]),this[_0x56884f(0x168)]=Math[_0x56884f(0x1c1)](this[_0x56884f(0x168)]/0x2);}return _0x587b1d?!this[_0x56884f(0x174)]()||(this[_0x56884f(0x1a9)](!0x0),!0x1):this[_0x56884f(0x153)](_0x56884f(0x14f));}[_0x49dc9b(0x1e6)](_0x1bfd56,_0x22bd69,_0x25ef6d){const _0x554194=_0x49dc9b;try{const _0x21732a={'document':this[_0x554194(0xed)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2f4976,operationsB:_0xaf399,originalOperations:_0x1e28dd}=_0x5cc109(_0x1bfd56,this[_0x554194(0x187)],_0x21732a);V(_0x2f4976,this[_0x554194(0xed)][_0x554194(0x184)]),V(_0xaf399,_0x22bd69);for(const _0x441076 of _0x2f4976){const _0x2d57b2=_0x1e28dd[_0x554194(0x18e)](_0x441076);_0x441076[_0x554194(0x1c0)]=_0x2d57b2?_0x2d57b2[_0x554194(0x1c0)]:null;}_0x25ef6d&&(this[_0x554194(0x18a)][_0x554194(0x1eb)](_0x1bfd56,_0x25ef6d),this[_0x554194(0x115)]=_0x25ef6d),this[_0x554194(0x187)]=[..._0xaf399],this[_0x554194(0x175)](_0x2f4976),this[_0x554194(0x1af)](_0x1bfd56);}catch(_0x3b6917){return console[_0x554194(0x19b)](_0x3b6917),!0x1;}return!0x0;}[_0x49dc9b(0x175)](_0x4f59ef,_0x4dc90c=!0x1){const _0x1f708c=_0x49dc9b;this[_0x1f708c(0x130)][_0x1f708c(0xfb)][_0x1f708c(0x169)]({'isUndoable':!0x1,'isLocal':!0x1},_0x20c502=>{const _0x20475e=_0x1f708c;for(const _0x3855f5 of _0x4f59ef)this[_0x20475e(0xff)][_0x20475e(0x14c)](_0x3855f5),this[_0x20475e(0x144)](_0x3855f5),_0x20c502[_0x20475e(0xeb)][_0x20475e(0xe9)](_0x3855f5),this[_0x20475e(0x130)][_0x20475e(0xfb)][_0x20475e(0x1a1)](_0x3855f5);});}[_0x49dc9b(0x144)](_0x15a59b){const _0x50b02b=_0x49dc9b,_0x8eea33=this[_0x50b02b(0x142)](_0x15a59b);_0x8eea33&&this[_0x50b02b(0x100)][_0x50b02b(0x14c)](_0x8eea33);}[_0x49dc9b(0x142)](_0x3f812f){const _0x181059=_0x49dc9b;let _0x370466,_0x325894;switch(_0x3f812f[_0x181059(0x1a6)]){case _0x181059(0x131):_0x370466=_0x3f812f[_0x181059(0x1b3)][_0x181059(0x193)];break;case _0x181059(0x1b6):if(_0x325894=_0x3f812f[_0x181059(0x14d)],!_0x325894)return null;_0x370466=_0x325894[_0x181059(0x193)];break;case _0x181059(0x17d):_0x370466=_0x3f812f[_0x181059(0x193)];break;case _0x181059(0x105):_0x370466=_0x3f812f[_0x181059(0x133)];break;case _0x181059(0x121):_0x370466=_0x3f812f[_0x181059(0xf4)][_0x181059(0x193)];break;default:return null;}return _0x370466[_0x181059(0x196)];}[_0x49dc9b(0x1af)](_0x16ffd7){const _0x98330f=_0x49dc9b;_0x16ffd7[_0x98330f(0x11f)](_0x25ad4e=>{const _0x30385a=_0x98330f,_0x1eab9f=_0x25ad4e[_0x30385a(0x119)]();_0x1eab9f[_0x30385a(0x1c0)]=_0x25ad4e[_0x30385a(0x1c0)],_0x1eab9f[_0x30385a(0x143)]=!!_0x25ad4e[_0x30385a(0x143)],_0x1eab9f[_0x30385a(0x16d)]=_0x25ad4e[_0x30385a(0x16d)],_0x1eab9f[_0x30385a(0x1e9)]+=this[_0x30385a(0xec)],_0x25ad4e[_0x30385a(0x192)]&&this[_0x30385a(0x1a4)][_0x30385a(0x14c)](_0x1eab9f),this[_0x30385a(0x157)][_0x30385a(0xe9)](_0x1eab9f);});}[_0x49dc9b(0x1b4)](_0x191d3a){const _0x2574a1=_0x49dc9b,_0x325049=this[_0x2574a1(0x130)][_0x2574a1(0xfc)][_0x2574a1(0x18e)](_0x2574a1(0x1ee)),_0x43bdd5=this[_0x2574a1(0x130)][_0x2574a1(0x122)];_0x191d3a||(_0x191d3a=_0x23685d(_0x43bdd5,_0x2574a1(0x12d))),_0x325049[_0x2574a1(0x1a3)](_0x191d3a,{'title':_0x23685d(_0x43bdd5,_0x2574a1(0xf1)),'namespace':_0x2574a1(0x195)}),this[_0x2574a1(0x126)]=!0x0,clearTimeout(this[_0x2574a1(0x108)]),this[_0x2574a1(0x187)]=[],this[_0x2574a1(0x130)][_0x2574a1(0xfc)][_0x2574a1(0x18e)](_0xb6ae99)[_0x2574a1(0xfe)]();}[_0x49dc9b(0x1c5)](){const _0x3bb860=_0x49dc9b;this[_0x3bb860(0x178)]||(this[_0x3bb860(0x178)]=this[_0x3bb860(0x130)][_0x3bb860(0xfc)][_0x3bb860(0x18e)](_0x2b97a3)[_0x3bb860(0x14c)](_0x23685d(this[_0x3bb860(0x130)][_0x3bb860(0x122)],_0x3bb860(0x1cc))));}[_0x49dc9b(0x155)](){const _0x57ac29=_0x49dc9b;this[_0x57ac29(0x178)]&&(this[_0x57ac29(0x130)][_0x57ac29(0xfc)][_0x57ac29(0x18e)](_0x2b97a3)[_0x57ac29(0x19d)](this[_0x57ac29(0x178)]),this[_0x57ac29(0x178)]=null);}[_0x49dc9b(0x163)](_0x5b48a9){const _0x874ba2=_0x49dc9b,_0x331b2e=_0x5b48a9[_0x874ba2(0x1d0)](_0x4a291a=>_0x4a291a[_0x874ba2(0x179)]());return this[_0x874ba2(0x1b5)][_0x874ba2(0xf0)](_0x331b2e);}[_0x49dc9b(0x1d3)](_0x14c91d,_0x588c75){const _0x388351=_0x49dc9b;return this[_0x388351(0x1b5)][_0x388351(0x101)](_0x14c91d)[_0x388351(0x1d0)]((_0x599bb4,_0x174189)=>{const _0x201fd4=_0x388351,_0x1cb3bd=_0x201fd4(0x13e)==_0x588c75[_0x174189][_0x201fd4(0x1a6)];if(_0x201fd4(0x107)==_0x599bb4[_0x201fd4(0x12c)]){const _0x376d4d=_0x599bb4[_0x201fd4(0x1b3)][_0x201fd4(0x193)];!this[_0x201fd4(0xed)][_0x201fd4(0x1ae)](_0x376d4d)&&(this[_0x201fd4(0xed)][_0x201fd4(0x1d1)](_0x201fd4(0x1d2),_0x376d4d)[_0x201fd4(0x191)]=!0x1);}const _0x362b69=_0x2df84a[_0x201fd4(0x10b)](_0x599bb4,this[_0x201fd4(0xed)]);return _0x362b69[_0x201fd4(0x180)]=_0x599bb4[_0x201fd4(0x180)],_0x362b69[_0x201fd4(0x143)]=_0x1cb3bd,_0x362b69[_0x201fd4(0x1c0)]=_0x1cb3bd?null:_0x588c75[_0x174189][_0x201fd4(0x146)],_0x362b69[_0x201fd4(0x192)]=_0x201fd4(0x18d)===_0x588c75[_0x174189][_0x201fd4(0x1a6)],_0x362b69[_0x201fd4(0x16d)]=_0x588c75[_0x174189][_0x201fd4(0x16d)],_0x362b69;});}[_0x49dc9b(0xf8)](){const _0x2ad912=_0x49dc9b;this[_0x2ad912(0x106)]=!0x0,this[_0x2ad912(0x1ca)]()?this[_0x2ad912(0x1a9)]():this[_0x2ad912(0x106)]=!0x1;}[_0x49dc9b(0x1ca)](){const _0x2ef5aa=_0x49dc9b,_0x101402=this[_0x2ef5aa(0x130)][_0x2ef5aa(0xfc)][_0x2ef5aa(0x18e)](_0x300782)[_0x2ef5aa(0x15f)][_0x2ef5aa(0x18e)](this[_0x2ef5aa(0x111)]);return!this[_0x2ef5aa(0x130)][_0x2ef5aa(0x18f)]&&!!_0x101402&&_0x101402[_0x2ef5aa(0x154)]>0x1&&this[_0x2ef5aa(0x106)];}[_0x49dc9b(0x174)](){const _0x5d434c=_0x49dc9b;return this[_0x5d434c(0x187)][_0x5d434c(0x154)]>0x0||this[_0x5d434c(0x1ca)]();}}l[_0x49dc9b(0x1df)]=_0x2c74b6;function _0x46c3(_0x5e49c2,_0x5edbc0){const _0x565066=_0x5650();return _0x46c3=function(_0x46c31f,_0x1d9f53){_0x46c31f=_0x46c31f-0xe9;let _0x1d9795=_0x565066[_0x46c31f];return _0x1d9795;},_0x46c3(_0x5e49c2,_0x5edbc0);}export default l;function _0x5650(){const _0x34d112=['compress','Synchronization\x20issue','high','editing','targetPosition','realtimecollaborationclient-initservice-internal-error','collaboration.channelId','parse','_refreshUserSelectionMarkers','isEnabled','config','model','plugins','apply','destroy','_knownOperations','_knownRootNames','decompress','_baseBufferDelay','connected','_saveOperationInBuffer','addRoot','_hasSelectionChanged','InsertOperation','_sendBufferedOperationsDelayId','disconnected','_isConnected','fromJSON','collaboration','view','rtc-offline','lastOperationAcceptedAt','_isEditingAllowed','_channelId','364212eaGFMc','define','_fetchMissingUsers','_lastSyncedOperationId','getMany','cloudDocumentVersion','permissions','clone','return','lastOperationId','_loadRoot','string','data','forEach','change:_isPendingUpdate','move','locale','entries','_initThrowingOnDataSet','_handleInitialConnectionData','_hasSynchronizationProblem','isDocumentOperation','suppressErrorInCollaboration','_service','then','multi-root-editor-root-attributes-no-root','__className','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.','offset','getDocumentDetails','editor','insert','finally','affectedSelectable','loadRoot','73005rKKCnE','operationsReceived','8612388TcCELq','_handleReceivedOperations','message','requires','pluginName','_operationToId','409','init','currentDocumentSession','connect','setPermissions','_getAffectedRoot','_isInit','_addKnownRoot','_setUpDataInit','userId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','lastSyncVersion','sessionCreatedAt','cloud-services-internal-error:\x20Not\x20connected.','_connectService','add','newRange','_handleSendingSelectionMarkers','realtimecollaborationclient-handleserverresponse','markers','stop','getIdOfTheLastOperation','_crash','length','_clearPendingAction','realtimecollaborationclient-initservice-incorrect-server-operation','serverHistory','RealTimeCollaborationClient','cloud-services-internal-error:\x20Request\x20timeout.','lastDocumentSession','8230LLkxZe','Permissions','createPositionAt','listenTo','channelSessions','rtc-destroyed','fire','collaboration-missing-channelid','_compressOperations','getUser','push','isUndoneOperation','differ','_currentBufferDelay','enqueueChange','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.','76wTMnFl','realtimecollaborationclient-error','createdAt','CommentsOnly','document:write','enableReadOnlyMode','removeFromReconnectionStack','_bufferRootLoad','size','_shouldSendUpdate','_applyOperationsSet','metadata','connection','_pendingAction','toJSON','_initSessionsHandling','selection','stopListening','addRootAttribute','reset','6884977XDGnBz','wasUndone','unregister','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','version','addToReconnectionStack','directChange','_bufferedOperations','register','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationIdentifier','reconnect','roots','cs:removeUser','get','isReadOnly','includes','_isAttached','_isDisconnection','root','getOperationAuthor','real-time-collaboration','rootName','_sendBufferedOperations','realtimecollaborationclient-init-non-existent-root','keys','startsWith','error','attributes','remove','sessionId','_handleReconnectionResponse','start','applyOperation','_handleServerResponse','showWarning','_disconnectionOperations','_getOperationsFromInitData','type','addUser','wereChangesApplied','_sendBufferedOperationsDelayed','initData','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','catch','getRoot','_updateServerHistory','path','getOperations','ready','position','_handleReconnectionError','_compressor','marker','87379xuPWwP','_isPendingUpdate','isOfficialPlugin','state','bind','cloudServices.bundleVersion','off','realtimecollaborationclient-init-document-already-initialized','reconnection:\x20flushed\x20session','_authorId','round','_isLoaded','rootsAttributes','disableReadOnlyMode','_setPendingAction','realtimecollaborationclient-init-connection-failed','createPositionFromPath','disconnect','history','_shouldSendSelectionUpdate','affectsData','PENDING_ACTION_SENDING_DATA','end','createUserMarkerOperations','28WxOUOW','map','createRoot','$root','_decompressOperations','5067blgbyn','getConnectedSessions','_lastServerVersion','404','change:hasDomSelection','mySessionId','100376rAcqkX','sessionAdd:','filter','has','change:_isEditingAllowed','CollaborativeEditingService','isPremiumPlugin','_disconnectService','_ignoredOperations','_connectAfterSessionHasBeenFlushed','91PikBvV','_waitUntilSynced','_handleExternalOperations','from','code','baseVersion','slice','setIdForTheLastOperation','createRange','document','Notification','addOperation','realtimecollaborationclient-sendbufferedoperations','batch','_offset','_document','set','sendOperations'];_0x5650=function(){return _0x34d112;};return _0x5650();}class z extends Error{}function V(_0x4cc936,_0x5a0bbd){const _0x18ab92=_0x49dc9b;for(const _0x569055 of _0x4cc936)_0x569055[_0x18ab92(0x1e9)]=_0x5a0bbd++;}class W{constructor(_0x3ef081){const _0x39189d=_0x49dc9b;this[_0x39189d(0x1e2)]=_0x3ef081,this[_0x39189d(0x13c)]=new WeakMap();}[_0x49dc9b(0x152)](_0x451bd8){const _0x51f7e7=_0x49dc9b;let _0x170f4d=_0x451bd8[_0x51f7e7(0x154)];for(;_0x170f4d--;){const _0x1deaf0=_0x451bd8[_0x170f4d];if(!this[_0x51f7e7(0x1e2)][_0x51f7e7(0x1dd)](_0x1deaf0)){if(!this[_0x51f7e7(0x13c)][_0x51f7e7(0x1dd)](_0x1deaf0)){const _0x41a545=_0x2fee69()[_0x51f7e7(0x1ea)](0x1,0x12);this[_0x51f7e7(0x13c)][_0x51f7e7(0xee)](_0x1deaf0,_0x41a545);}return this[_0x51f7e7(0x13c)][_0x51f7e7(0x18e)](_0x1deaf0);}}}[_0x49dc9b(0x1eb)](_0x390f5e,_0x363d65){const _0x14d6ef=_0x49dc9b;if(!_0x363d65)return;let _0x52bb68=_0x390f5e[_0x14d6ef(0x154)];for(;_0x52bb68--;){const _0x19015c=_0x390f5e[_0x52bb68];this[_0x14d6ef(0x1e2)][_0x14d6ef(0x1dd)](_0x19015c)||this[_0x14d6ef(0x13c)][_0x14d6ef(0xee)](_0x19015c,_0x363d65);}}}
|
|
23
|
+
const _0x2305b1=_0xbf7c;function _0x25d5(){const _0x1319c4=['realtimecollaborationclient-sendbufferedoperations','size','stopListening','targetPosition','sessionCreatedAt','10PeYFBs','_isPendingUpdate','channelSessions','move','cloud-services-internal-error:\x20Request\x20timeout.','rootsAttributes','_operationToId','_pendingAction','marker','version','_crash','realtimecollaborationclient-init-document-already-initialized','includes','_handleReconnectionError','round','createPositionFromPath','toJSON','_lastServerVersion','_sendBufferedOperationsDelayId','stop','addToReconnectionStack','isUndoneOperation','remove','batch','collaboration','PENDING_ACTION_SENDING_DATA','attributes','change:_isEditingAllowed','destroy','document:write','3kjxlTi','metadata','13808PBNIRY','_applyOperationsSet','_getOperationsFromInitData','_isEditingAllowed','_authorId','Synchronization\x20issue','history','fire','setIdForTheLastOperation','_addKnownRoot','catch','collaboration.channelId','roots','createUserMarkerOperations','realtimecollaborationclient-error','map','9phPnTH','addRootAttribute','push','_disconnectionOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','root','createPositionAt','_sendBufferedOperationsDelayed','_isAttached','isPremiumPlugin','startsWith','_ignoredOperations','connect','_bufferRootLoad','off','locale','string','realtimecollaborationclient-init-connection-failed','requires','start','showWarning','_sendBufferedOperations','keys','from','disableReadOnlyMode','compress','suppressErrorInCollaboration','register','document','isEnabled','define','getOperationAuthor','setPermissions','connected','_connectAfterSessionHasBeenFlushed','404','reset','getConnectedSessions','rtc-offline','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','isReadOnly','getIdOfTheLastOperation','isDocumentOperation','wasUndone','getDocumentDetails','_shouldSendSelectionUpdate','_handleExternalOperations','filter','getUser','affectsData','lastOperationId','add','applyOperation','plugins','_handleSendingSelectionMarkers','_hasSelectionChanged','loadRoot','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.','high','slice','_refreshUserSelectionMarkers','initData','_isConnected','isOfficialPlugin','wereChangesApplied','reconnect','sessionAdd:','_compressOperations','Notification','state','parse','editor','markers','baseVersion','403120WtsbXP','_fetchMissingUsers','realtimecollaborationclient-initservice-internal-error','cloudDocumentVersion','CollaborativeEditingService','realtimecollaborationclient-init-session-connection-error','then','_handleReceivedOperations','forEach','clone','_handleInitialConnectionData','insert','_decompressOperations','position','model','cloud-services-internal-error:\x20Not\x20connected.','real-time-collaboration','view','cloudServices.bundleVersion','987146DtkfFA','409','714920KvUuyY','_shouldSendUpdate','499724DayLdh','_initThrowingOnDataSet','apply','affectedSelectable','realtimecollaborationclient-initservice-incorrect-server-operation','_initSessionsHandling','connection','_setUpDataInit','cs:removeUser','getOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','__className','sessionId','_hasSynchronizationProblem','lastOperationAcceptedAt','_operationIdentifier','_document','change:_isPendingUpdate','getMany','_isDisconnection','RealTimeCollaborationClient','createRange','pluginName','init','decompress','lastDocumentSession','_updateServerHistory','$root','editing','unregister','_compressor','_connectService','fromJSON','listenTo','getRoot','get','_saveOperationInBuffer','_isLoaded','createdAt','message','394302weLZyB','addOperation','addRoot','rootName','_knownOperations','_waitUntilSynced','selection','error','serverHistory','187253mDdKrP','InsertOperation','_clearPendingAction','enableReadOnlyMode','userId','finally','return','realtimecollaborationclient-init-non-existent-root','ready','_bufferedOperations','_channelId','change:range','type','_baseBufferDelay','bind','set','reconnection:\x20flushed\x20session','directChange','operationsReceived','_loadRoot','mySessionId','currentDocumentSession','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.','264LoANhH','_handleReconnectionResponse','sendOperations','Permissions','entries','multi-root-editor-root-attributes-no-root','_knownRootNames','code','config','differ','data','enqueueChange','_isInit','path','_setPendingAction','removeFromReconnectionStack','CommentsOnly','permissions','realtimecollaborationclient-handleserverresponse','collaboration-missing-channelid','_handleServerResponse','disconnect','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','addUser','has','length','rtc-destroyed','_lastSyncedOperationId','lastSyncVersion','newRange','offset','_service','_currentBufferDelay','createRoot','disconnected','end','_disconnectService','1015AszqzL','change:hasDomSelection','_getAffectedRoot','_offset'];_0x25d5=function(){return _0x1319c4;};return _0x25d5();}(function(_0x57a794,_0x2b8b89){const _0x16bee1=_0xbf7c,_0x24434c=_0x57a794();while(!![]){try{const _0x30275f=parseInt(_0x16bee1(0x202))/0x1+-parseInt(_0x16bee1(0x206))/0x2+parseInt(_0x16bee1(0x29a))/0x3*(parseInt(_0x16bee1(0x1ef))/0x4)+-parseInt(_0x16bee1(0x27c))/0x5*(parseInt(_0x16bee1(0x22e))/0x6)+parseInt(_0x16bee1(0x273))/0x7*(parseInt(_0x16bee1(0x29c))/0x8)+-parseInt(_0x16bee1(0x1a5))/0x9*(parseInt(_0x16bee1(0x204))/0xa)+parseInt(_0x16bee1(0x237))/0xb*(-parseInt(_0x16bee1(0x24e))/0xc);if(_0x30275f===_0x2b8b89)break;else _0x24434c['push'](_0x24434c['shift']());}catch(_0x41baff){_0x24434c['push'](_0x24434c['shift']());}}}(_0x25d5,0x7cbb6));import{Plugin as _0xabecb6,PendingActions as _0xc08ed2}from'ckeditor5/src/core.js';function _0xbf7c(_0x544dad,_0x4bf42b){const _0x25d5e0=_0x25d5();return _0xbf7c=function(_0xbf7c4a,_0x4f0ee5){_0xbf7c4a=_0xbf7c4a-0x1a3;let _0x1be51f=_0x25d5e0[_0xbf7c4a];return _0x1be51f;},_0xbf7c(_0x544dad,_0x4bf42b);}import{CKEditorError as _0x4a2377,version as _0x38e5ab,uid as _0x315f1a}from'ckeditor5/src/utils.js';import{Notification as _0x206ad6}from'ckeditor5/src/ui.js';import{transformSets as _0x4a5e6c,NoOperation as _0x38c551,InsertOperation as _0x352790,MarkerOperation as _0x40672e,RootAttributeOperation as _0x4f6804,OperationFactory as _0x40f908,History as _0x38bbc5}from'ckeditor5/src/engine.js';import _0x5c9cfb from'./websocketgateway.js';import _0x39d71a from'./sessions.js';import _0x234cba from'./usermarkers.js';import{getTranslation as _0x1a0992}from'../common-translations.js';import{Compressor as _0x482821}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x15331e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4d36af,CollaborativeEditingService as _0x1ab2cc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0xabecb6{static get[_0x2305b1(0x1b7)](){return[_0x5c9cfb,_0x39d71a,_0x234cba,_0xc08ed2,_0x15331e,_0x206ad6];}static get[_0x2305b1(0x21c)](){const _0x6f583b=_0x2305b1;return _0x6f583b(0x21a);}static get[_0x2305b1(0x1e4)](){return!0x0;}static get[_0x2305b1(0x1ae)](){return!0x0;}get[_0x2305b1(0x1f2)](){const _0x4499c5=_0x2305b1;return this[_0x4499c5(0x28d)]+this[_0x4499c5(0x276)];}get[_0x2305b1(0x28d)](){const _0x134a86=_0x2305b1;return this[_0x134a86(0x236)][_0x134a86(0x285)]-this[_0x134a86(0x276)];}get[_0x2305b1(0x26a)](){const _0x1b057c=_0x2305b1,_0x312670=this[_0x1b057c(0x236)][_0x1b057c(0x20f)]();for(let _0x3a1868=_0x312670[_0x1b057c(0x267)]-0x1;_0x3a1868>=0x0;_0x3a1868--){const _0x4e5993=_0x312670[_0x3a1868];if(!this[_0x1b057c(0x1a8)][_0x1b057c(0x266)](_0x4e5993))return _0x4e5993[_0x1b057c(0x1ee)]+0x1-this[_0x1b057c(0x276)];}return 0x0;}constructor(_0x554a1c){const _0x1dfab9=_0x2305b1;if(super(_0x554a1c),this[_0x1dfab9(0x276)]=0x0,this[_0x1dfab9(0x212)]=null,this[_0x1dfab9(0x236)]=new _0x38bbc5(),this[_0x1dfab9(0x1ec)][_0x1dfab9(0x256)][_0x1dfab9(0x1c3)](_0x1dfab9(0x294),{}),this[_0x1dfab9(0x241)]=this[_0x1dfab9(0x1ec)][_0x1dfab9(0x256)][_0x1dfab9(0x229)](_0x1dfab9(0x2a7)),!this[_0x1dfab9(0x241)])throw new _0x4a2377(_0x1dfab9(0x261),this);const _0xe91e48=_0x554a1c[_0x1dfab9(0x256)][_0x1dfab9(0x229)](_0x1dfab9(0x201))||_0x38e5ab;this[_0x1dfab9(0x26d)]=new l[(_0x1dfab9(0x1f3))](_0xe91e48,this[_0x1dfab9(0x241)]),this[_0x1dfab9(0x216)]=this[_0x1dfab9(0x1ec)][_0x1dfab9(0x1fd)][_0x1dfab9(0x1c1)],this[_0x1dfab9(0x224)]=new _0x482821(),this[_0x1dfab9(0x240)]=[],this[_0x1dfab9(0x232)]=new WeakSet(),this[_0x1dfab9(0x254)]=new Set(),this[_0x1dfab9(0x246)](_0x1dfab9(0x27d),!0x1),this[_0x1dfab9(0x246)](_0x1dfab9(0x213),!0x1),this[_0x1dfab9(0x283)]=null,this[_0x1dfab9(0x1dc)]=!0x1,this[_0x1dfab9(0x28e)]=null,this[_0x1dfab9(0x244)]=0x12c,this[_0x1dfab9(0x26e)]=this[_0x1dfab9(0x244)],this[_0x1dfab9(0x269)]=null,this[_0x1dfab9(0x1a8)]=new WeakSet(),this[_0x1dfab9(0x215)]=new W(this[_0x1dfab9(0x1a8)]);}[_0x2305b1(0x21d)](){const _0x4c4547=_0x2305b1,_0x337e8f=this[_0x4c4547(0x1ec)],_0x418184=_0x337e8f[_0x4c4547(0x1da)][_0x4c4547(0x229)](_0x15331e),_0x37e505=_0x337e8f[_0x4c4547(0x1da)][_0x4c4547(0x229)](_0x5c9cfb);this[_0x4c4547(0x227)](_0x418184,_0x4c4547(0x1c4),(_0xb8d059,_0x129c33)=>{const _0x30bda9=_0x4c4547,_0xe10e90=_0x129c33[0x0];_0xe10e90[_0x30bda9(0x2a0)]&&(_0xb8d059[_0x30bda9(0x23d)]=_0x418184[_0x30bda9(0x1d5)](_0xe10e90[_0x30bda9(0x2a0)]),_0xb8d059[_0x30bda9(0x28f)]()),null===_0xe10e90[_0x30bda9(0x2a0)]&&(_0xb8d059[_0x30bda9(0x23d)]=null,_0xb8d059[_0x30bda9(0x28f)]());},{'priority':_0x4c4547(0x1df)}),this[_0x4c4547(0x227)](_0x337e8f[_0x4c4547(0x1fd)][_0x4c4547(0x1c1)][_0x4c4547(0x234)],_0x4c4547(0x242),(_0xbd75a4,_0x18193d)=>{const _0x9eb9f9=_0x4c4547;_0x18193d[_0x9eb9f9(0x248)]&&this[_0x9eb9f9(0x1e1)]();}),this[_0x4c4547(0x227)](_0x337e8f[_0x4c4547(0x222)][_0x4c4547(0x200)],_0x4c4547(0x274),()=>{const _0x4a23f2=_0x4c4547;this[_0x4a23f2(0x1e1)]();}),this[_0x4c4547(0x207)](),_0x337e8f[_0x4c4547(0x1fd)]['on'](_0x4c4547(0x1d9),(_0xa94811,_0x29135a)=>{const _0x3930b5=_0x4c4547,_0x33dbfe=_0x29135a[0x0];_0x33dbfe[_0x3930b5(0x1cf)]&&(this[_0x3930b5(0x22a)](_0x33dbfe),this[_0x3930b5(0x205)]()&&this[_0x3930b5(0x1ac)]());}),this[_0x4c4547(0x20d)](),this[_0x4c4547(0x245)](_0x4c4547(0x29f))['to'](_0x37e505,_0x4c4547(0x1ea),this,_0x4c4547(0x213),(_0x5a228e,_0x1232b9)=>_0x4c4547(0x1c6)===_0x5a228e&&!_0x1232b9),this['on'](_0x4c4547(0x297),()=>{const _0xd54da1=_0x4c4547;this[_0xd54da1(0x29f)]?_0x337e8f[_0xd54da1(0x1bd)](_0xd54da1(0x1cb)):_0x337e8f[_0xd54da1(0x23a)](_0xd54da1(0x1cb));}),this[_0x4c4547(0x29f)]?_0x337e8f[_0x4c4547(0x1bd)](_0x4c4547(0x1cb)):_0x337e8f[_0x4c4547(0x23a)](_0x4c4547(0x1cb)),this[_0x4c4547(0x246)](_0x4c4547(0x1e3),!0x1);}async[_0x2305b1(0x1e6)](){const _0x2a23c9=_0x2305b1,_0x2db3fc=this[_0x2a23c9(0x1ec)][_0x2a23c9(0x1da)][_0x2a23c9(0x229)](_0x39d71a),_0x4d9a4a=this[_0x2a23c9(0x1ec)][_0x2a23c9(0x1da)][_0x2a23c9(0x229)](_0x5c9cfb);try{this[_0x2a23c9(0x27d)]=!0x0,_0x2db3fc[_0x2a23c9(0x223)](this[_0x2a23c9(0x241)]);const _0xbd4263=await this[_0x2a23c9(0x26d)][_0x2a23c9(0x1e6)](_0x4d9a4a[_0x2a23c9(0x20c)],this[_0x2a23c9(0x26a)]);await this[_0x2a23c9(0x24f)](_0xbd4263)&&(this[_0x2a23c9(0x27d)]=!0x1,this[_0x2a23c9(0x239)]());const _0x13394b=await this[_0x2a23c9(0x26d)][_0x2a23c9(0x1ca)]();_0x2db3fc[_0x2a23c9(0x1c0)](this[_0x2a23c9(0x241)],_0x13394b),this[_0x2a23c9(0x1db)](),this[_0x2a23c9(0x1e3)]=!0x0;}catch(_0xa54c71){if(function(_0x451227){const _0x526884=_0x2a23c9;return _0x526884(0x1c8)===_0x451227[_0x526884(0x255)];}(_0xa54c71)&&this[_0x2a23c9(0x212)])await this[_0x2a23c9(0x1c7)]();else{if(function(_0x90dd8a){const _0x212efb=_0x2a23c9;return _0x212efb(0x203)===_0x90dd8a[_0x212efb(0x255)];}(_0xa54c71)){const _0x4adb16=_0x1a0992(this[_0x2a23c9(0x1ec)][_0x2a23c9(0x1b4)],_0x2a23c9(0x210));this[_0x2a23c9(0x289)](_0x4adb16);}else{if(!(_0xa54c71 instanceof z))throw _0xa54c71;this[_0x2a23c9(0x289)]();}}}}[_0x2305b1(0x298)](){const _0x4f5078=_0x2305b1,_0x4ee530=this[_0x4f5078(0x1ec)][_0x4f5078(0x1da)][_0x4f5078(0x229)](_0x5c9cfb),_0x25aba4=this[_0x4f5078(0x1ec)][_0x4f5078(0x1da)][_0x4f5078(0x229)](_0x39d71a);this[_0x4f5078(0x1ec)][_0x4f5078(0x23a)](_0x4f5078(0x268)),_0x25aba4[_0x4f5078(0x27e)][_0x4f5078(0x266)](this[_0x4f5078(0x241)])&&_0x25aba4[_0x4f5078(0x223)](this[_0x4f5078(0x241)]),_0x4ee530[_0x4f5078(0x25d)](this),this[_0x4f5078(0x272)](),super[_0x4f5078(0x298)]();}async[_0x2305b1(0x24f)](_0x6bbfa4){const _0x441921=_0x2305b1;if(this[_0x441921(0x212)]!==_0x6bbfa4[_0x441921(0x212)]&&this[_0x441921(0x269)]!==_0x6bbfa4[_0x441921(0x1d7)])throw new z();return this[_0x441921(0x212)]=_0x6bbfa4[_0x441921(0x212)],this[_0x441921(0x262)]([],{..._0x6bbfa4,'wereChangesApplied':!0x1,'data':_0x6bbfa4[_0x441921(0x258)]},_0x441921(0x1e6));}async[_0x2305b1(0x225)](_0x13b439,_0x9aaea4=!0x1){const _0x4ef06c=_0x2305b1,{connection:_0x29ab8f}=this[_0x4ef06c(0x1ec)][_0x4ef06c(0x1da)][_0x4ef06c(0x229)](_0x5c9cfb);l[_0x4ef06c(0x1f3)][_0x4ef06c(0x1ca)](_0x29ab8f,this[_0x4ef06c(0x241)])[_0x4ef06c(0x1f5)](_0x173ed3=>this[_0x4ef06c(0x20b)](_0x173ed3))[_0x4ef06c(0x2a6)](_0x3d912c=>{const _0x52a315=_0x4ef06c;this[_0x52a315(0x286)](_0x52a315(0x1f4),_0x3d912c);}),this[_0x4ef06c(0x227)](this[_0x4ef06c(0x26d)],_0x4ef06c(0x249),this[_0x4ef06c(0x1f6)][_0x4ef06c(0x245)](this)),this[_0x4ef06c(0x227)](this[_0x4ef06c(0x26d)],_0x4ef06c(0x235),(_0x4e056d,_0x3e5d8e)=>{const _0x307135=_0x4ef06c;this[_0x307135(0x286)](_0x307135(0x1f1),_0x3e5d8e);}),this[_0x4ef06c(0x227)](this[_0x4ef06c(0x26d)],_0x4ef06c(0x270),()=>{const _0x36fba8=_0x4ef06c;this[_0x36fba8(0x1e3)]=!0x1;});const _0xef670=this[_0x4ef06c(0x215)][_0x4ef06c(0x1ce)](_0x13b439);this[_0x4ef06c(0x27d)]=!0x0;const _0x23ff43=await this[_0x4ef06c(0x26d)][_0x4ef06c(0x1b1)](_0x29ab8f,this[_0x4ef06c(0x1e8)](_0x13b439),_0xef670);if(this[_0x4ef06c(0x212)]=_0x23ff43[_0x4ef06c(0x212)],_0x9aaea4){if(!_0x23ff43[_0x4ef06c(0x1e5)])return void this[_0x4ef06c(0x289)]();this[_0x4ef06c(0x27d)]=!0x1,this[_0x4ef06c(0x239)](),this[_0x4ef06c(0x236)][_0x4ef06c(0x1c9)](),this[_0x4ef06c(0x276)]=_0x23ff43[_0x4ef06c(0x26c)],this[_0x4ef06c(0x236)][_0x4ef06c(0x285)]=this[_0x4ef06c(0x276)],await this[_0x4ef06c(0x262)](_0x13b439,_0x23ff43,_0x4ef06c(0x247));}else await this[_0x4ef06c(0x1f9)](_0x23ff43,_0x13b439);this[_0x4ef06c(0x1db)](),this[_0x4ef06c(0x1e3)]=!0x0;}[_0x2305b1(0x1db)](){const _0x1d9ac3=_0x2305b1,_0x462685=this[_0x1d9ac3(0x1ec)][_0x1d9ac3(0x1da)][_0x1d9ac3(0x229)](_0x39d71a),_0x5e5ce0=this[_0x1d9ac3(0x1ec)][_0x1d9ac3(0x1da)][_0x1d9ac3(0x229)](_0x234cba),_0x1c73d3=_0x462685[_0x1d9ac3(0x27e)][_0x1d9ac3(0x229)](this[_0x1d9ac3(0x241)]);_0x1c73d3&&_0x1c73d3[_0x1d9ac3(0x267)]>0x1?_0x5e5ce0[_0x1d9ac3(0x2a9)]():this[_0x1d9ac3(0x227)](_0x462685,_0x1d9ac3(0x1e7)+this[_0x1d9ac3(0x241)],()=>{const _0xdb870c=_0x1d9ac3;0x2===_0x462685[_0xdb870c(0x27e)][_0xdb870c(0x229)](this[_0xdb870c(0x241)])[_0xdb870c(0x267)]&&_0x5e5ce0[_0xdb870c(0x2a9)]();});}async[_0x2305b1(0x1f6)](_0x502d2a,_0x38b524,_0x3ab12f,_0x1fa209){const _0xd04575=_0x2305b1;if(!this[_0xd04575(0x27d)]&&this[_0xd04575(0x216)][_0xd04575(0x285)]==_0x38b524){const _0x352508=this[_0xd04575(0x1fb)](_0x3ab12f,_0x1fa209);await this[_0xd04575(0x1f0)](_0x352508),this[_0xd04575(0x1d3)](_0x352508,_0x38b524,_0x3ab12f[_0xd04575(0x1d7)])||this[_0xd04575(0x286)](_0xd04575(0x20a));}}async[_0x2305b1(0x1c7)](){const _0x5d957b=_0x2305b1;this[_0x5d957b(0x272)]();const {locale:_0x29ff5a}=this[_0x5d957b(0x1ec)];let _0x24ff1c;try{_0x24ff1c=await this[_0x5d957b(0x26d)][_0x5d957b(0x1d1)]();}catch(_0x177c18){const _0x2b6164=_0x1a0992(_0x29ff5a,_0x5d957b(0x1a9));return void this[_0x5d957b(0x289)](_0x2b6164);}const _0x3fb439=_0x24ff1c[_0x5d957b(0x24c)]||_0x24ff1c[_0x5d957b(0x21f)];if(this[_0x5d957b(0x269)]===_0x3fb439[_0x5d957b(0x1d7)])await this[_0x5d957b(0x225)](this[_0x5d957b(0x1ec)][_0x5d957b(0x1fd)][_0x5d957b(0x1c1)][_0x5d957b(0x2a2)][_0x5d957b(0x20f)](),!0x0);else{const _0x28cc28=_0x1a0992(_0x29ff5a,_0x5d957b(0x24d));this[_0x5d957b(0x289)](_0x28cc28);}}[_0x2305b1(0x272)](){const _0x1dc422=_0x2305b1;this[_0x1dc422(0x26d)][_0x1dc422(0x263)](),this[_0x1dc422(0x240)]=[],clearTimeout(this[_0x1dc422(0x28e)]),this[_0x1dc422(0x279)](this[_0x1dc422(0x26d)]);}[_0x2305b1(0x20b)](_0x5fc2fd){const _0x519d49=_0x2305b1,_0x135919=this[_0x519d49(0x1ec)][_0x519d49(0x1da)][_0x519d49(0x229)](_0x39d71a);this[_0x519d49(0x227)](_0x135919,_0x519d49(0x1e7)+this[_0x519d49(0x241)],(_0x17f948,{session:_0x26016e})=>{const _0x296613=_0x519d49;if(_0x26016e['id']===_0x135919[_0x296613(0x24b)]){_0x17f948[_0x296613(0x1b3)]();const _0x40147e=this[_0x296613(0x1ec)][_0x296613(0x1da)][_0x296613(0x266)](_0x296613(0x25e))&&this[_0x296613(0x1ec)][_0x296613(0x1da)][_0x296613(0x229)](_0x296613(0x25e));let _0xebccc1=_0x26016e[_0x296613(0x25f)];_0x40147e&&_0x40147e[_0x296613(0x1c2)]&&(_0xebccc1=_0xebccc1[_0x296613(0x1d4)](_0x4c3aa6=>_0x296613(0x299)!==_0x4c3aa6)),this[_0x296613(0x1ec)][_0x296613(0x1da)][_0x296613(0x229)](_0x296613(0x251))[_0x296613(0x1c5)](_0xebccc1,this[_0x296613(0x241)]);}}),_0x135919[_0x519d49(0x1c0)](this[_0x519d49(0x241)],_0x5fc2fd);}[_0x2305b1(0x207)](){const _0x2df26e=_0x2305b1,_0x4d8c4e=this[_0x2df26e(0x1ec)][_0x2df26e(0x258)][_0x2df26e(0x246)];this[_0x2df26e(0x1ec)][_0x2df26e(0x258)][_0x2df26e(0x246)]=(..._0x2b480b)=>{const _0x363efb=_0x2df26e;if(!_0x2b480b[_0x2b480b[_0x363efb(0x267)]-0x1][_0x363efb(0x1bf)])throw new _0x4a2377(_0x363efb(0x264),this);_0x4d8c4e[_0x363efb(0x208)](this[_0x363efb(0x1ec)][_0x363efb(0x258)],_0x2b480b);};}[_0x2305b1(0x20d)](){const _0x3230b0=_0x2305b1;this[_0x3230b0(0x1ec)][_0x3230b0(0x258)]['on'](_0x3230b0(0x21d),(_0x3b4d26,[_0x37cd5a])=>{const _0x596226=_0x3230b0;if(this[_0x596226(0x216)][_0x596226(0x285)])throw new _0x4a2377(_0x596226(0x287),this);_0x3b4d26[_0x596226(0x28f)](),this[_0x596226(0x25c)]();const _0x5e15b1=this[_0x596226(0x1ec)][_0x596226(0x256)][_0x596226(0x229)](_0x596226(0x281)),_0x193c77=this[_0x596226(0x29e)](_0x37cd5a,_0x5e15b1);0x0==_0x193c77[_0x596226(0x267)]&&_0x193c77[_0x596226(0x1a7)](new _0x38c551(0x0)),_0x3b4d26[_0x596226(0x23d)]=this[_0x596226(0x225)](_0x193c77)[_0x596226(0x1f5)](()=>{const _0x5f4d9a=_0x596226;this[_0x5f4d9a(0x1ec)][_0x5f4d9a(0x1da)][_0x5f4d9a(0x229)](_0x5c9cfb)[_0x5f4d9a(0x290)](this),this[_0x5f4d9a(0x1ec)][_0x5f4d9a(0x258)][_0x5f4d9a(0x2a3)](_0x5f4d9a(0x23f));})[_0x596226(0x2a6)](_0x3223b1=>this[_0x596226(0x286)](_0x596226(0x1b6),_0x3223b1))[_0x596226(0x23c)](()=>this[_0x596226(0x239)]());},{'priority':_0x3230b0(0x1df)}),this[_0x3230b0(0x1ec)]['on'](_0x3230b0(0x1dd),async(_0x335b3b,[_0x5d1f60,_0x300875])=>{const _0x5e7782=_0x3230b0;_0x335b3b[_0x5e7782(0x28f)]();const _0x4dbdb7=this[_0x5e7782(0x1ec)][_0x5e7782(0x1fd)][_0x5e7782(0x1c1)][_0x5e7782(0x228)](_0x5d1f60);if(!this[_0x5e7782(0x254)][_0x5e7782(0x266)](_0x5d1f60)){const _0x721da5=_0x300875&&_0x300875[_0x5e7782(0x258)]?_0x300875[_0x5e7782(0x258)]:'',_0x17e954=_0x300875&&_0x300875[_0x5e7782(0x296)]?_0x300875[_0x5e7782(0x296)]:{};await this[_0x5e7782(0x24a)](_0x5d1f60,_0x721da5,_0x17e954);}this[_0x5e7782(0x1ec)][_0x5e7782(0x1fd)][_0x5e7782(0x259)]({'isUndoable':!0x1},()=>{const _0x260c39=_0x5e7782;_0x4dbdb7[_0x260c39(0x22b)]=!0x0,this[_0x260c39(0x1ec)][_0x260c39(0x1fd)][_0x260c39(0x1c1)][_0x260c39(0x257)][_0x260c39(0x1b2)](_0x4dbdb7);});},{'priority':_0x3230b0(0x1df)});}async[_0x2305b1(0x1f0)](_0x3fd3b7){const _0x34e5c3=_0x2305b1,_0x2dedd3=this[_0x34e5c3(0x1ec)][_0x34e5c3(0x1da)][_0x34e5c3(0x229)](_0x15331e),{connection:_0x249a83}=this[_0x34e5c3(0x1ec)][_0x34e5c3(0x1da)][_0x34e5c3(0x229)](_0x5c9cfb),_0x48a8c0=new Set();for(const _0x2f9257 of _0x3fd3b7){const _0x26f472=_0x2f9257[_0x34e5c3(0x2a0)];_0x26f472&&!_0x2dedd3[_0x34e5c3(0x1d5)](_0x26f472)&&_0x48a8c0[_0x34e5c3(0x1d8)](_0x26f472);}if(0x0===_0x48a8c0[_0x34e5c3(0x278)])return;const _0x387330=await _0x4d36af[_0x34e5c3(0x218)](_0x249a83,Array[_0x34e5c3(0x1bc)](_0x48a8c0));for(const _0x280897 of _0x387330)_0x2dedd3[_0x34e5c3(0x1d5)](_0x280897['id'])||_0x2dedd3[_0x34e5c3(0x265)](_0x280897);}[_0x2305b1(0x29e)](_0x516015,_0xc44f51={}){const _0x25b2fa=_0x2305b1,_0x4b18a3=this[_0x25b2fa(0x1ec)][_0x25b2fa(0x1fd)],_0x58d55e=[];let _0xcb43f0=0x0;const _0x344399=_0x25b2fa(0x1b5)==typeof _0x516015?{'main':_0x516015}:_0x516015;for(const _0x520ae5 of Object[_0x25b2fa(0x1bb)](_0x344399)){if(!this[_0x25b2fa(0x216)][_0x25b2fa(0x2a8)][_0x25b2fa(0x266)](_0x520ae5))throw new _0x4a2377(_0x25b2fa(0x23e),this);const _0x6e76fd=this[_0x25b2fa(0x1ec)][_0x25b2fa(0x258)][_0x25b2fa(0x1eb)](_0x344399[_0x520ae5]),_0x4d2756=this[_0x25b2fa(0x216)][_0x25b2fa(0x228)](_0x520ae5),_0x2c9d3e=new _0x352790(_0x4b18a3[_0x25b2fa(0x1ab)](_0x4d2756,0x0),_0x6e76fd,_0xcb43f0++);_0x58d55e[_0x25b2fa(0x1a7)](_0x2c9d3e);for(const [_0x56cf36,_0x67ef]of _0x6e76fd[_0x25b2fa(0x1ed)]){const _0x3e1c3e=_0x4b18a3[_0x25b2fa(0x21b)](_0x4b18a3[_0x25b2fa(0x28b)](_0x4d2756,_0x67ef[_0x25b2fa(0x1b8)][_0x25b2fa(0x25b)][_0x25b2fa(0x1e0)]()),_0x4b18a3[_0x25b2fa(0x28b)](_0x4d2756,_0x67ef[_0x25b2fa(0x271)][_0x25b2fa(0x25b)][_0x25b2fa(0x1e0)]())),_0x2a6ef8=new _0x40672e(_0x56cf36,null,_0x3e1c3e,_0x4b18a3[_0x25b2fa(0x1ed)],!0x0,_0xcb43f0++);_0x58d55e[_0x25b2fa(0x1a7)](_0x2a6ef8);}}if(_0xc44f51)for(const [_0x3a7fc0,_0x312bbe]of Object[_0x25b2fa(0x252)](_0xc44f51)){const _0x5d4965=_0x4b18a3[_0x25b2fa(0x1c1)][_0x25b2fa(0x228)](_0x3a7fc0);if(!_0x5d4965)throw new _0x4a2377(_0x25b2fa(0x253),null);for(const [_0x29b4f8,_0x2df550]of Object[_0x25b2fa(0x252)](_0x312bbe))if(null!==_0x2df550){const _0x4001a4=new _0x4f6804(_0x5d4965,_0x29b4f8,null,_0x2df550,_0xcb43f0++);_0x58d55e[_0x25b2fa(0x1a7)](_0x4001a4);}}return _0x58d55e;}async[_0x2305b1(0x24a)](_0x152718,_0x412539,_0x44d9f4){const _0x28ea6d=_0x2305b1;this[_0x28ea6d(0x29e)]({[_0x152718]:_0x412539},{[_0x152718]:_0x44d9f4})[_0x28ea6d(0x1f7)]((_0x147086,_0xccde09)=>{const _0x4eb877=_0x28ea6d;_0x147086[_0x4eb877(0x1ee)]=this[_0x4eb877(0x216)][_0x4eb877(0x285)]+_0xccde09,_0x147086[_0x4eb877(0x25a)]=!0x0,this[_0x4eb877(0x22a)](_0x147086);}),this[_0x28ea6d(0x1ac)](),await this[_0x28ea6d(0x233)]();}async[_0x2305b1(0x1f9)](_0x1b5108,_0xed337){const _0x154e30=_0x2305b1;let _0x287a41;this[_0x154e30(0x276)]=_0x1b5108[_0x154e30(0x26c)];const _0x5b7716=_0x1b5108[_0x154e30(0x1e5)]&&!_0x1b5108[_0x154e30(0x1e2)],_0x23cae1=_0x5b7716?0x0:_0x1b5108[_0x154e30(0x258)][_0x154e30(0x1ee)];if(_0xed337[_0x154e30(0x1f7)](_0x16c503=>{const _0x43d994=_0x154e30;_0x16c503[_0x43d994(0x25a)]=!0x0,_0x16c503[_0x43d994(0x22c)]=_0x1b5108[_0x43d994(0x27b)],_0x16c503[_0x43d994(0x2a0)]=null;}),_0x5b7716)_0x287a41=_0xed337,this[_0x154e30(0x29d)](_0x287a41,_0x5b7716);else{if(_0x1b5108[_0x154e30(0x1e2)]){const _0x4b98ad=this[_0x154e30(0x29e)](_0x1b5108[_0x154e30(0x1e2)]);this[_0x154e30(0x216)][_0x154e30(0x2a2)][_0x154e30(0x285)]=-_0x4b98ad[_0x154e30(0x267)],_0x4b98ad[_0x154e30(0x1f7)](_0x58b45f=>{const _0x5d7330=_0x154e30;_0x58b45f[_0x5d7330(0x1ee)]-=_0x4b98ad[_0x5d7330(0x267)],_0x58b45f[_0x5d7330(0x22c)]=_0x1b5108[_0x5d7330(0x27b)],_0x58b45f[_0x5d7330(0x25a)]=!0x0,_0x58b45f[_0x5d7330(0x2a0)]=null;}),this[_0x154e30(0x29d)](_0x4b98ad,!0x0),this[_0x154e30(0x236)][_0x154e30(0x285)]=-_0x4b98ad[_0x154e30(0x267)]+this[_0x154e30(0x276)],this[_0x154e30(0x220)](_0x4b98ad);}this[_0x154e30(0x216)][_0x154e30(0x2a2)][_0x154e30(0x285)]=_0x23cae1,_0x287a41=this[_0x154e30(0x1fb)](_0x1b5108[_0x154e30(0x258)],_0x1b5108[_0x154e30(0x29b)]),await this[_0x154e30(0x1f0)](_0x287a41),this[_0x154e30(0x29d)](_0x287a41,_0x5b7716);}_0x1b5108[_0x154e30(0x1d7)]&&(this[_0x154e30(0x215)][_0x154e30(0x2a4)](_0x287a41,_0x1b5108[_0x154e30(0x1d7)]),this[_0x154e30(0x269)]=_0x1b5108[_0x154e30(0x1d7)]),this[_0x154e30(0x236)][_0x154e30(0x285)]=_0x23cae1+this[_0x154e30(0x276)],this[_0x154e30(0x220)](_0x287a41),_0xed337[_0x154e30(0x1d4)](_0x163a3a=>{const _0x1b6f97=_0x154e30,_0x2255f6=this[_0x1b6f97(0x275)](_0x163a3a);return _0x2255f6&&!this[_0x1b6f97(0x254)][_0x1b6f97(0x266)](_0x2255f6);})[_0x154e30(0x1f7)]((_0x392409,_0xe7d95d)=>{const _0x1a2a97=_0x154e30;_0x392409[_0x1a2a97(0x1ee)]=this[_0x1a2a97(0x216)][_0x1a2a97(0x285)]+_0xe7d95d,this[_0x1a2a97(0x22a)](_0x392409);}),this[_0x154e30(0x205)]()?(this[_0x154e30(0x26e)]=0x0,this[_0x154e30(0x1ac)](!0x0),await this[_0x154e30(0x233)]()):(this[_0x154e30(0x27d)]=!0x1,this[_0x154e30(0x239)]());}[_0x2305b1(0x286)](_0xeeda5d,_0x318604,_0x2c840b){const _0x467a8b=_0x2305b1;throw this[_0x467a8b(0x27d)]=!0x0,_0x318604&&console[_0x467a8b(0x235)](_0x318604),_0x2c840b&&this[_0x467a8b(0x1ec)][_0x467a8b(0x23a)](_0x467a8b(0x1a3)),new _0x4a2377(_0xeeda5d,this[_0x467a8b(0x1ec)]);}[_0x2305b1(0x22a)](_0xaaf6a){const _0x291c4a=_0x2305b1;this[_0x291c4a(0x232)][_0x291c4a(0x266)](_0xaaf6a)||(this[_0x291c4a(0x232)][_0x291c4a(0x1d8)](_0xaaf6a),this[_0x291c4a(0x240)][_0x291c4a(0x1a7)](_0xaaf6a),this[_0x291c4a(0x283)]||_0x291c4a(0x284)==_0xaaf6a[_0x291c4a(0x243)]&&!_0xaaf6a[_0x291c4a(0x1d6)]||this[_0x291c4a(0x25c)]());}[_0x2305b1(0x1ac)](_0x1a03f1=!0x1){const _0x820b37=_0x2305b1;!_0x1a03f1&&this[_0x820b37(0x27d)]||(this[_0x820b37(0x27d)]=!0x0,clearTimeout(this[_0x820b37(0x28e)]),this[_0x820b37(0x28e)]=setTimeout(()=>{const _0x4b676f=_0x820b37;this[_0x4b676f(0x1ba)]()[_0x4b676f(0x1f5)](_0x36fcf1=>{const _0x2cad05=_0x4b676f;_0x36fcf1&&(this[_0x2cad05(0x239)](),this[_0x2cad05(0x27d)]=!0x1);})[_0x4b676f(0x2a6)](_0x270cb9=>{const _0x4e5efb=_0x4b676f;this[_0x4e5efb(0x239)](),this[_0x4e5efb(0x27d)]=!0x1,function(_0x51e461){const _0x29c29a=_0x4e5efb;return _0x51e461[_0x29c29a(0x22d)][_0x29c29a(0x1af)](_0x29c29a(0x1fe))||_0x51e461[_0x29c29a(0x22d)][_0x29c29a(0x1af)](_0x29c29a(0x1cc))||_0x51e461[_0x29c29a(0x22d)][_0x29c29a(0x1af)](_0x29c29a(0x280));}(_0x270cb9)||this[_0x4e5efb(0x286)](_0x270cb9[_0x4e5efb(0x22d)],_0x270cb9,!0x0);});},this[_0x820b37(0x26e)]));}[_0x2305b1(0x233)](){return new Promise(_0x4061cf=>{const _0x2cfcdf=_0xbf7c;this['on'](_0x2cfcdf(0x217),()=>{_0x4061cf();});});}async[_0x2305b1(0x1ba)](){const _0x10d158=_0x2305b1,_0x55392a=this[_0x10d158(0x1ec)][_0x10d158(0x1da)][_0x10d158(0x229)](_0x234cba);if(this[_0x10d158(0x1d2)]()&&(_0x55392a[_0x10d158(0x2a9)](),this[_0x10d158(0x1dc)]=!0x1),!this[_0x10d158(0x205)]())return!0x0;const _0x3429da=[...this[_0x10d158(0x240)]];for(const _0x91379a of _0x3429da)_0x91379a[_0x10d158(0x1d0)]=this[_0x10d158(0x216)][_0x10d158(0x2a2)][_0x10d158(0x291)](_0x91379a);const _0xe3bb0a=this[_0x10d158(0x215)][_0x10d158(0x1ce)](_0x3429da),_0xd488b3=M++,_0x1f74e0=this[_0x10d158(0x1e8)](_0x3429da),_0x4fbf82=await this[_0x10d158(0x26d)][_0x10d158(0x250)](_0x1f74e0,_0x1f74e0[_0x10d158(0x1ee)],_0xe3bb0a);try{return await this[_0x10d158(0x262)](_0x3429da,_0x4fbf82,_0xd488b3);}catch(_0x166fa5){return this[_0x10d158(0x286)](_0x10d158(0x277),_0x166fa5);}}async[_0x2305b1(0x262)](_0x5994ef,_0x14bacc,_0x213f5d){const _0x46e704=_0x2305b1;if(_0x46e704(0x235)in _0x14bacc)throw _0x14bacc[_0x46e704(0x235)];let _0x37e59c=!0x1;if(_0x14bacc[_0x46e704(0x1e5)]){_0x14bacc[_0x46e704(0x1d7)]&&(this[_0x46e704(0x269)]=_0x14bacc[_0x46e704(0x1d7)]),this[_0x46e704(0x240)]=this[_0x46e704(0x240)][_0x46e704(0x1d4)](_0x408524=>!_0x5994ef[_0x46e704(0x288)](_0x408524));for(const _0xc87fdf of _0x5994ef)_0xc87fdf[_0x46e704(0x22c)]=_0x46e704(0x214)in _0x14bacc&&_0x14bacc[_0x46e704(0x214)]||void 0x0;V(_0x5994ef,_0x14bacc[_0x46e704(0x285)]-_0x5994ef[_0x46e704(0x267)]),this[_0x46e704(0x220)](_0x5994ef);const _0x1fd221=_0x5994ef[_0x46e704(0x1d4)](_0x388b30=>{const _0x2d2712=_0x46e704;if(!_0x388b30[_0x2d2712(0x25a)])return!0x1;const _0x1ff2bc=this[_0x2d2712(0x275)](_0x388b30);return _0x1ff2bc&&!this[_0x2d2712(0x254)][_0x2d2712(0x266)](_0x1ff2bc);});V(_0x1fd221,this[_0x46e704(0x216)][_0x46e704(0x285)]),this[_0x46e704(0x29d)](_0x1fd221),_0x37e59c=!0x0,this[_0x46e704(0x26e)]=this[_0x46e704(0x244)];}else{const _0xfc7a9a=this[_0x46e704(0x1fb)](_0x14bacc[_0x46e704(0x258)],_0x14bacc[_0x46e704(0x29b)])[_0x46e704(0x1d4)](_0x9eac5f=>_0x9eac5f[_0x46e704(0x1ee)]>=this[_0x46e704(0x28d)]);_0xfc7a9a[_0x46e704(0x1f7)](_0x549931=>this[_0x46e704(0x2a5)](_0x549931)),this[_0x46e704(0x240)]=this[_0x46e704(0x240)][_0x46e704(0x1d4)](_0x2cc14=>!_0x2cc14[_0x46e704(0x25a)]||!this[_0x46e704(0x254)][_0x46e704(0x266)](this[_0x46e704(0x275)](_0x2cc14))),this[_0x46e704(0x240)][_0x46e704(0x267)]&&V(this[_0x46e704(0x240)],this[_0x46e704(0x240)][0x0][_0x46e704(0x1ee)]),await this[_0x46e704(0x1f0)](_0xfc7a9a),_0x37e59c=this[_0x46e704(0x1d3)](_0xfc7a9a,_0x14bacc[_0x46e704(0x285)],_0x14bacc[_0x46e704(0x1d7)]),this[_0x46e704(0x26e)]=Math[_0x46e704(0x28a)](this[_0x46e704(0x26e)]/0x2);}return _0x37e59c?!this[_0x46e704(0x205)]()||(this[_0x46e704(0x1ac)](!0x0),!0x1):this[_0x46e704(0x286)](_0x46e704(0x260));}[_0x2305b1(0x1d3)](_0x1eaa04,_0x451921,_0x487ba3){const _0x5a54b1=_0x2305b1;try{const _0x137529={'document':this[_0x5a54b1(0x216)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3f1094,operationsB:_0x1e1b7a,originalOperations:_0x198450}=_0x4a5e6c(_0x1eaa04,this[_0x5a54b1(0x240)],_0x137529);V(_0x3f1094,this[_0x5a54b1(0x216)][_0x5a54b1(0x285)]),V(_0x1e1b7a,_0x451921);for(const _0x2ae5ce of _0x3f1094){const _0x1537a5=_0x198450[_0x5a54b1(0x229)](_0x2ae5ce);_0x2ae5ce[_0x5a54b1(0x2a0)]=_0x1537a5?_0x1537a5[_0x5a54b1(0x2a0)]:null;}_0x487ba3&&(this[_0x5a54b1(0x215)][_0x5a54b1(0x2a4)](_0x1eaa04,_0x487ba3),this[_0x5a54b1(0x269)]=_0x487ba3),this[_0x5a54b1(0x240)]=[..._0x1e1b7a],this[_0x5a54b1(0x29d)](_0x3f1094),this[_0x5a54b1(0x220)](_0x1eaa04);}catch(_0xe2b611){return console[_0x5a54b1(0x235)](_0xe2b611),!0x1;}return!0x0;}[_0x2305b1(0x29d)](_0x5a0070,_0xfa154a=!0x1){const _0x5768b9=_0x2305b1;this[_0x5768b9(0x1ec)][_0x5768b9(0x1fd)][_0x5768b9(0x259)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2468cd=>{const _0x19156d=_0x5768b9;for(const _0x3c0969 of _0x5a0070)this[_0x19156d(0x232)][_0x19156d(0x1d8)](_0x3c0969),this[_0x19156d(0x2a5)](_0x3c0969),_0x2468cd[_0x19156d(0x293)][_0x19156d(0x22f)](_0x3c0969),this[_0x19156d(0x1ec)][_0x19156d(0x1fd)][_0x19156d(0x1d9)](_0x3c0969);});}[_0x2305b1(0x2a5)](_0x1905f5){const _0x57c71d=_0x2305b1,_0xd2c83c=this[_0x57c71d(0x275)](_0x1905f5);_0xd2c83c&&this[_0x57c71d(0x254)][_0x57c71d(0x1d8)](_0xd2c83c);}[_0x2305b1(0x275)](_0xe0c34d){const _0x218ff9=_0x2305b1;let _0x5532fe,_0x520d61;switch(_0xe0c34d[_0x218ff9(0x243)]){case _0x218ff9(0x1fa):_0x5532fe=_0xe0c34d[_0x218ff9(0x1fc)][_0x218ff9(0x1aa)];break;case _0x218ff9(0x284):if(_0x520d61=_0xe0c34d[_0x218ff9(0x26b)],!_0x520d61)return null;_0x5532fe=_0x520d61[_0x218ff9(0x1aa)];break;case _0x218ff9(0x1a6):_0x5532fe=_0xe0c34d[_0x218ff9(0x1aa)];break;case _0x218ff9(0x230):_0x5532fe=_0xe0c34d[_0x218ff9(0x209)];break;case _0x218ff9(0x27f):_0x5532fe=_0xe0c34d[_0x218ff9(0x27a)][_0x218ff9(0x1aa)];break;default:return null;}return _0x5532fe[_0x218ff9(0x231)];}[_0x2305b1(0x220)](_0x5cefce){const _0x33b5fb=_0x2305b1;_0x5cefce[_0x33b5fb(0x1f7)](_0x40b9f6=>{const _0x2e96e6=_0x33b5fb,_0x2ff02f=_0x40b9f6[_0x2e96e6(0x1f8)]();_0x2ff02f[_0x2e96e6(0x2a0)]=_0x40b9f6[_0x2e96e6(0x2a0)],_0x2ff02f[_0x2e96e6(0x25a)]=!!_0x40b9f6[_0x2e96e6(0x25a)],_0x2ff02f[_0x2e96e6(0x22c)]=_0x40b9f6[_0x2e96e6(0x22c)],_0x2ff02f[_0x2e96e6(0x1ee)]+=this[_0x2e96e6(0x276)],_0x40b9f6[_0x2e96e6(0x219)]&&this[_0x2e96e6(0x1a8)][_0x2e96e6(0x1d8)](_0x2ff02f),this[_0x2e96e6(0x236)][_0x2e96e6(0x22f)](_0x2ff02f);});}[_0x2305b1(0x289)](_0x2842c5){const _0x1de5b7=_0x2305b1,_0x39cfb4=this[_0x1de5b7(0x1ec)][_0x1de5b7(0x1da)][_0x1de5b7(0x229)](_0x1de5b7(0x1e9)),_0x525134=this[_0x1de5b7(0x1ec)][_0x1de5b7(0x1b4)];_0x2842c5||(_0x2842c5=_0x1a0992(_0x525134,_0x1de5b7(0x1de))),_0x39cfb4[_0x1de5b7(0x1b9)](_0x2842c5,{'title':_0x1a0992(_0x525134,_0x1de5b7(0x2a1)),'namespace':_0x1de5b7(0x1ff)}),this[_0x1de5b7(0x213)]=!0x0,clearTimeout(this[_0x1de5b7(0x28e)]),this[_0x1de5b7(0x240)]=[],this[_0x1de5b7(0x1ec)][_0x1de5b7(0x1da)][_0x1de5b7(0x229)](_0x5c9cfb)[_0x1de5b7(0x298)]();}[_0x2305b1(0x25c)](){const _0x2a7f6b=_0x2305b1;this[_0x2a7f6b(0x283)]||(this[_0x2a7f6b(0x283)]=this[_0x2a7f6b(0x1ec)][_0x2a7f6b(0x1da)][_0x2a7f6b(0x229)](_0xc08ed2)[_0x2a7f6b(0x1d8)](_0x1a0992(this[_0x2a7f6b(0x1ec)][_0x2a7f6b(0x1b4)],_0x2a7f6b(0x295))));}[_0x2305b1(0x239)](){const _0x293f9a=_0x2305b1;this[_0x293f9a(0x283)]&&(this[_0x293f9a(0x1ec)][_0x293f9a(0x1da)][_0x293f9a(0x229)](_0xc08ed2)[_0x293f9a(0x292)](this[_0x293f9a(0x283)]),this[_0x293f9a(0x283)]=null);}[_0x2305b1(0x1e8)](_0x1e3a1b){const _0x457c67=_0x2305b1,_0x27cc7c=_0x1e3a1b[_0x457c67(0x1a4)](_0x17e840=>_0x17e840[_0x457c67(0x28c)]());return this[_0x457c67(0x224)][_0x457c67(0x1be)](_0x27cc7c);}[_0x2305b1(0x1fb)](_0x2aa4d7,_0x933ce1){const _0x345e52=_0x2305b1;return this[_0x345e52(0x224)][_0x345e52(0x21e)](_0x2aa4d7)[_0x345e52(0x1a4)]((_0x461944,_0x2db99d)=>{const _0x25d939=_0x345e52,_0xf2a49e=_0x25d939(0x21d)==_0x933ce1[_0x2db99d][_0x25d939(0x243)];if(_0x25d939(0x238)==_0x461944[_0x25d939(0x211)]){const _0x9aa8d0=_0x461944[_0x25d939(0x1fc)][_0x25d939(0x1aa)];!this[_0x25d939(0x216)][_0x25d939(0x228)](_0x9aa8d0)&&(this[_0x25d939(0x216)][_0x25d939(0x26f)](_0x25d939(0x221),_0x9aa8d0)[_0x25d939(0x1ad)]=!0x1);}const _0x358131=_0x40f908[_0x25d939(0x226)](_0x461944,this[_0x25d939(0x216)]);return _0x358131[_0x25d939(0x1d0)]=_0x461944[_0x25d939(0x1d0)],_0x358131[_0x25d939(0x25a)]=_0xf2a49e,_0x358131[_0x25d939(0x2a0)]=_0xf2a49e?null:_0x933ce1[_0x2db99d][_0x25d939(0x23b)],_0x358131[_0x25d939(0x219)]=_0x25d939(0x20e)===_0x933ce1[_0x2db99d][_0x25d939(0x243)],_0x358131[_0x25d939(0x22c)]=_0x933ce1[_0x2db99d][_0x25d939(0x22c)],_0x358131;});}[_0x2305b1(0x1e1)](){const _0x5ce52e=_0x2305b1;this[_0x5ce52e(0x1dc)]=!0x0,this[_0x5ce52e(0x1d2)]()?this[_0x5ce52e(0x1ac)]():this[_0x5ce52e(0x1dc)]=!0x1;}[_0x2305b1(0x1d2)](){const _0x45e959=_0x2305b1,_0x413d5c=this[_0x45e959(0x1ec)][_0x45e959(0x1da)][_0x45e959(0x229)](_0x39d71a)[_0x45e959(0x27e)][_0x45e959(0x229)](this[_0x45e959(0x241)]);return!this[_0x45e959(0x1ec)][_0x45e959(0x1cd)]&&!!_0x413d5c&&_0x413d5c[_0x45e959(0x267)]>0x1&&this[_0x45e959(0x1dc)];}[_0x2305b1(0x205)](){const _0x474f99=_0x2305b1;return this[_0x474f99(0x240)][_0x474f99(0x267)]>0x0||this[_0x474f99(0x1d2)]();}}l[_0x2305b1(0x1f3)]=_0x1ab2cc;export default l;class z extends Error{}function V(_0x30b157,_0x2b9cc0){const _0x3754ca=_0x2305b1;for(const _0x56ae27 of _0x30b157)_0x56ae27[_0x3754ca(0x1ee)]=_0x2b9cc0++;}class W{constructor(_0x1974bf){const _0x560a3a=_0x2305b1;this[_0x560a3a(0x1b0)]=_0x1974bf,this[_0x560a3a(0x282)]=new WeakMap();}[_0x2305b1(0x1ce)](_0x81a8d3){const _0x1dad31=_0x2305b1;let _0x192af8=_0x81a8d3[_0x1dad31(0x267)];for(;_0x192af8--;){const _0x1caf66=_0x81a8d3[_0x192af8];if(!this[_0x1dad31(0x1b0)][_0x1dad31(0x266)](_0x1caf66)){if(!this[_0x1dad31(0x282)][_0x1dad31(0x266)](_0x1caf66)){const _0x2aa2a8=_0x315f1a()[_0x1dad31(0x1e0)](0x1,0x12);this[_0x1dad31(0x282)][_0x1dad31(0x246)](_0x1caf66,_0x2aa2a8);}return this[_0x1dad31(0x282)][_0x1dad31(0x229)](_0x1caf66);}}}[_0x2305b1(0x2a4)](_0x2f4804,_0x5a9899){const _0x597613=_0x2305b1;if(!_0x5a9899)return;let _0x12a896=_0x2f4804[_0x597613(0x267)];for(;_0x12a896--;){const _0xcf1a6e=_0x2f4804[_0x12a896];this[_0x597613(0x1b0)][_0x597613(0x266)](_0xcf1a6e)||this[_0x597613(0x282)][_0x597613(0x246)](_0xcf1a6e,_0x5a9899);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b60ac=_0x7fcc;(function(_0x1ff00b,_0x3bdedd){const _0x4c933f=_0x7fcc,_0x379d79=_0x1ff00b();while(!![]){try{const _0x4001b0=parseInt(_0x4c933f(0x17a))/0x1*(parseInt(_0x4c933f(0x184))/0x2)+parseInt(_0x4c933f(0x174))/0x3*(parseInt(_0x4c933f(0x18d))/0x4)+parseInt(_0x4c933f(0x15a))/0x5+-parseInt(_0x4c933f(0x165))/0x6*(parseInt(_0x4c933f(0x157))/0x7)+-parseInt(_0x4c933f(0x195))/0x8*(-parseInt(_0x4c933f(0x16d))/0x9)+-parseInt(_0x4c933f(0x17e))/0xa+parseInt(_0x4c933f(0x183))/0xb*(-parseInt(_0x4c933f(0x180))/0xc);if(_0x4001b0===_0x3bdedd)break;else _0x379d79['push'](_0x379d79['shift']());}catch(_0x4390b8){_0x379d79['push'](_0x379d79['shift']());}}}(_0x4353,0x912d8));function _0x4353(){const _0x4adcb9=['state','stopListening','context','3345522yoQIaz','sessionId','forEach','fire','has','channelConnectedUsers','_handleSessionRemove','get','10548kjdWsj','isOfficialPlugin','sessions-unregister-not-exist','_users','values','sessions-register-already-registered','isPremiumPlugin','6654yxvTKO','register','unregister','allConnectedUsers','connection','Sessions','3NitiXh','mySessionId','init','isMe','4027800cKNvTw','role','830940MvcNKJ','defineMe','delete','33icIrRP','12038qaswAm','remove','getUserSessions','set','plugins','requires','channelSessions','add','change:state','692vXFXYD','_createUser','user','getUser','getUserRole','pluginName','getUserBySessionId','assign','6296nlouyc','_registeredSessions','7PaWQGc','clear','connected','2193075JLOAzP','listenTo','sessionAdd:','addUser','size','_handleSessionAdd','orderNumber','_uniqueUsersCount'];_0x4353=function(){return _0x4adcb9;};return _0x4353();}import{ContextPlugin as _0x1c5edc}from'ckeditor5/src/core.js';import{Collection as _0x15f7a8,CKEditorError as _0x318e6c}from'ckeditor5/src/utils.js';import _0x111afe from'./websocketgateway.js';import{Users as _0x5df75a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x7fcc(_0x44a8dc,_0x318294){const _0x435361=_0x4353();return _0x7fcc=function(_0x7fcc1e,_0x5b2f7f){_0x7fcc1e=_0x7fcc1e-0x157;let _0x33d6ce=_0x435361[_0x7fcc1e];return _0x33d6ce;},_0x7fcc(_0x44a8dc,_0x318294);}export default class i extends _0x1c5edc{static get[_0x2b60ac(0x192)](){const _0x302d62=_0x2b60ac;return _0x302d62(0x179);}static get[_0x2b60ac(0x16e)](){return!0x0;}static get[_0x2b60ac(0x173)](){return!0x0;}static get[_0x2b60ac(0x189)](){return[_0x111afe,_0x5df75a];}constructor(_0x2c025e){const _0x9ca627=_0x2b60ac;super(_0x2c025e),this[_0x9ca627(0x18a)]=new Map(),this[_0x9ca627(0x16a)]=new Map(),this[_0x9ca627(0x177)]=new _0x15f7a8(),this[_0x9ca627(0x196)]=new Map(),this[_0x9ca627(0x161)]=0x0,this[_0x9ca627(0x170)]=this[_0x9ca627(0x164)][_0x9ca627(0x188)][_0x9ca627(0x16c)](_0x5df75a);}[_0x2b60ac(0x17c)](){const _0x271f2d=_0x2b60ac,_0x56ebe9=this[_0x271f2d(0x164)][_0x271f2d(0x188)][_0x271f2d(0x16c)](_0x111afe);this[_0x271f2d(0x15b)](_0x56ebe9,_0x271f2d(0x18c),(_0x2a04bb,_0x4c6113,_0x355aa0)=>{const _0x31f4e2=_0x271f2d;if(_0x31f4e2(0x159)!==_0x355aa0)this[_0x31f4e2(0x18a)][_0x31f4e2(0x167)](_0x355706=>_0x355706[_0x31f4e2(0x158)]()),this[_0x31f4e2(0x16a)][_0x31f4e2(0x167)](_0x5853e1=>_0x5853e1[_0x31f4e2(0x158)]()),this[_0x31f4e2(0x177)][_0x31f4e2(0x158)]();else{for(const [_0x5c7e38,_0x2c5acb]of this[_0x31f4e2(0x196)])for(const _0x114b63 of _0x2c5acb)this[_0x31f4e2(0x15f)](_0x5c7e38,_0x114b63);}}),this[_0x271f2d(0x18e)](_0x56ebe9[_0x271f2d(0x178)]['me'],!0x0);}[_0x2b60ac(0x175)](_0x4739c4,_0x51f9bd){const _0x54f588=_0x2b60ac;if(this[_0x54f588(0x196)][_0x54f588(0x169)](_0x4739c4))throw new _0x318e6c(_0x54f588(0x172),null,{'channelId':_0x4739c4});this[_0x54f588(0x196)][_0x54f588(0x187)](_0x4739c4,_0x51f9bd),this[_0x54f588(0x18a)][_0x54f588(0x187)](_0x4739c4,new _0x15f7a8()),this[_0x54f588(0x16a)][_0x54f588(0x187)](_0x4739c4,new _0x15f7a8()),this[_0x54f588(0x15b)](_0x51f9bd,_0x54f588(0x18b),(_0x1396ff,_0x365147)=>this[_0x54f588(0x15f)](_0x4739c4,_0x365147)),this[_0x54f588(0x15b)](_0x51f9bd,_0x54f588(0x185),(_0xa01ee0,_0x595c13)=>this[_0x54f588(0x16b)](_0x4739c4,_0x595c13));for(const _0x4f8234 of _0x51f9bd)this[_0x54f588(0x15f)](_0x4739c4,_0x4f8234);}[_0x2b60ac(0x176)](_0x232d3c){const _0x34e05e=_0x2b60ac;if(!this[_0x34e05e(0x196)][_0x34e05e(0x169)](_0x232d3c))throw new _0x318e6c(_0x34e05e(0x16f),null,{'channelId':_0x232d3c});const _0x4b6cb8=this[_0x34e05e(0x196)][_0x34e05e(0x16c)](_0x232d3c);this[_0x34e05e(0x163)](_0x4b6cb8);for(const _0x5d01e2 of _0x4b6cb8)_0x34e05e(0x159)===this[_0x34e05e(0x164)][_0x34e05e(0x188)][_0x34e05e(0x16c)](_0x111afe)[_0x34e05e(0x162)]&&this[_0x34e05e(0x16b)](_0x232d3c,_0x5d01e2);this[_0x34e05e(0x196)][_0x34e05e(0x182)](_0x232d3c),this[_0x34e05e(0x18a)][_0x34e05e(0x182)](_0x232d3c),this[_0x34e05e(0x16a)][_0x34e05e(0x182)](_0x232d3c);}get[_0x2b60ac(0x17b)](){const _0x54249f=_0x2b60ac;return this[_0x54249f(0x164)][_0x54249f(0x188)][_0x54249f(0x16c)](_0x111afe)[_0x54249f(0x178)][_0x54249f(0x166)];}[_0x2b60ac(0x193)](_0x455f1d){const _0x33acfd=_0x2b60ac;for(const _0x3bdb63 of this[_0x33acfd(0x18a)][_0x33acfd(0x171)]())for(const _0x5fbfee of _0x3bdb63)if(_0x5fbfee['id']===_0x455f1d)return _0x5fbfee[_0x33acfd(0x18f)];}[_0x2b60ac(0x186)](_0x3a20e0,_0x2b5c23){const _0x1e162a=_0x2b60ac,_0x109f3d=_0x2b5c23?[this[_0x1e162a(0x18a)][_0x1e162a(0x16c)](_0x2b5c23)]:this[_0x1e162a(0x18a)][_0x1e162a(0x171)](),_0x5903a6=new Set();for(const _0x8f73c6 of _0x109f3d)for(const _0x3d1687 of _0x8f73c6)_0x3d1687[_0x1e162a(0x18f)]['id']===_0x3a20e0['id']&&_0x5903a6[_0x1e162a(0x18b)](_0x3d1687['id']);return _0x5903a6;}[_0x2b60ac(0x191)](_0xef670b){const _0x16e2ba=_0x2b60ac;for(const _0x28711f of this[_0x16e2ba(0x18a)][_0x16e2ba(0x171)]())for(const _0x43d108 of _0x28711f)if(_0x43d108[_0x16e2ba(0x18f)]===_0xef670b)return _0x43d108[_0x16e2ba(0x17f)];}[_0x2b60ac(0x15f)](_0x3509c1,_0x1d541c){const _0x42eeaa=_0x2b60ac;if(_0x42eeaa(0x159)!==this[_0x42eeaa(0x164)][_0x42eeaa(0x188)][_0x42eeaa(0x16c)](_0x111afe)[_0x42eeaa(0x162)])return;const _0x175133=_0x1d541c[_0x42eeaa(0x18f)],_0x59e96c=this[_0x42eeaa(0x170)][_0x42eeaa(0x190)](_0x175133['id'])||this[_0x42eeaa(0x18e)](_0x175133),_0x1e4685=Object[_0x42eeaa(0x194)]({},_0x1d541c,{'user':_0x59e96c});this[_0x42eeaa(0x18a)][_0x42eeaa(0x16c)](_0x3509c1)[_0x42eeaa(0x18b)](_0x1e4685);const _0x1c8b97=this[_0x42eeaa(0x16a)][_0x42eeaa(0x16c)](_0x3509c1);_0x1c8b97[_0x42eeaa(0x169)](_0x59e96c['id'])||_0x1c8b97[_0x42eeaa(0x18b)](_0x59e96c),this[_0x42eeaa(0x177)][_0x42eeaa(0x169)](_0x59e96c['id'])||this[_0x42eeaa(0x177)][_0x42eeaa(0x18b)](_0x59e96c,_0x59e96c[_0x42eeaa(0x17d)]?0x0:void 0x0),this[_0x42eeaa(0x168)](_0x42eeaa(0x15c)+_0x3509c1,{'channelId':_0x3509c1,'session':_0x1e4685});}[_0x2b60ac(0x16b)](_0x1ed828,_0x56682f){const _0x49c068=_0x2b60ac;if(_0x49c068(0x159)!==this[_0x49c068(0x164)][_0x49c068(0x188)][_0x49c068(0x16c)](_0x111afe)[_0x49c068(0x162)])return;const _0xebabc9=this[_0x49c068(0x16a)][_0x49c068(0x16c)](_0x1ed828),_0x56af62=_0x56682f[_0x49c068(0x18f)];_0x56af62['id']&&(this[_0x49c068(0x18a)][_0x49c068(0x16c)](_0x1ed828)[_0x49c068(0x185)](_0x56682f['id']),_0xebabc9[_0x49c068(0x169)](_0x56af62['id'])&&!this[_0x49c068(0x186)](_0x56af62,_0x1ed828)[_0x49c068(0x15e)]&&_0xebabc9[_0x49c068(0x185)](_0x56af62['id']),this[_0x49c068(0x177)][_0x49c068(0x16c)](_0x56af62['id'])&&!this[_0x49c068(0x186)](_0x56af62)[_0x49c068(0x15e)]&&this[_0x49c068(0x177)][_0x49c068(0x185)](_0x56af62['id']));}[_0x2b60ac(0x18e)](_0x432862,_0xabc7b4){const _0x2a9ead=_0x2b60ac,_0x4e5a7b=this[_0x2a9ead(0x170)][_0x2a9ead(0x15d)](_0x432862);return _0xabc7b4&&this[_0x2a9ead(0x170)][_0x2a9ead(0x181)](_0x432862['id']),_0x4e5a7b[_0x2a9ead(0x160)]=this[_0x2a9ead(0x161)]++,_0x4e5a7b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2dc9e5=_0x3519;(function(_0x394038,_0x4bba69){const _0x30cc1b=_0x3519,_0x1778b7=_0x394038();while(!![]){try{const _0x3272a6=parseInt(_0x30cc1b(0x159))/0x1*(parseInt(_0x30cc1b(0x130))/0x2)+-parseInt(_0x30cc1b(0x184))/0x3*(parseInt(_0x30cc1b(0x1a0))/0x4)+-parseInt(_0x30cc1b(0x150))/0x5*(-parseInt(_0x30cc1b(0x157))/0x6)+-parseInt(_0x30cc1b(0x182))/0x7+-parseInt(_0x30cc1b(0x197))/0x8*(-parseInt(_0x30cc1b(0x188))/0x9)+-parseInt(_0x30cc1b(0x15b))/0xa+parseInt(_0x30cc1b(0x12d))/0xb;if(_0x3272a6===_0x4bba69)break;else _0x1778b7['push'](_0x1778b7['shift']());}catch(_0x3b173b){_0x1778b7['push'](_0x1778b7['shift']());}}}(_0x46d7,0xe0d5a));function _0x46d7(){const _0x4f497c=['fromRange','7170460RSCqAW','change','requires','636vWAGMp','user:','toDomElement','isOfficialPlugin','getCustomProperty','add','getUserBySessionId','isSimilar','getMarkerClass','markerToElement','ck-user__marker\x20','keydown','addMarker','createUIElement','$graveyard','remove','createRange','$text','_domEmitter','Escape','mouseenter','view','document','parent','nodeAfter','start','stopListening','set','mapper','span','commands','getFirstRange','175aWmXpv','markers','model','isObject','isCollapsed','isLimit','getPositions','42066XABXGS','element','4093zxCVmv','name','418240ibZBpr','editing','highest','_createdBatches','change:range','update:user:range','type','end','mouseleave','editor','editingDowncast','newRange','schema','render','split','destroy','innerHTML','getNearestSelectionRange','size','createUserMarkerOperations','orderNumber','reconvertMarker','toRange','</span>','markerRange','isPremiumPlugin','color','userPositionMarker','getRange','removeClass','get','has','contenteditable','ck-user__marker_hovered','tableCell','mySessionId','markerToHighlight','marker','delete','4988046iXrgZd','addEventListener','3oedMMO','conversion','getSelectionClass','pluginName','18vtnrtt','updateMarker','plugins','for','getStart','applyOperation','isInline','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','user:position:','root','detach','listenTo','ck-user__selection','classList','rootName','1879496qVHbtU','setCustomProperty','afterInit','hasContent','selection','init','user:range','deletionPosition','clear','3973476APHFtr','hasDomSelection','user:position','batch','getAttribute','markerNameToElements','oldRange','undo','checkChild','markerName','getContainedElement','data-session-id','startsWith','UserMarkers','enqueueChange','user:range:','removeMarker'];_0x46d7=function(){return _0x4f497c;};return _0x46d7();}function _0x3519(_0x7d63a7,_0x2af8de){const _0x46d7e0=_0x46d7();return _0x3519=function(_0x351908,_0xb540c8){_0x351908=_0x351908-0x126;let _0x364829=_0x46d7e0[_0x351908];return _0x364829;},_0x3519(_0x7d63a7,_0x2af8de);}import{Plugin as _0x29a993}from'ckeditor5/src/core.js';import{global as _0x1ab183,DomEmitterMixin as _0x3967be}from'ckeditor5/src/utils.js';import _0x44ea84 from'./sessions.js';import{LiveRange as _0x471789}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x29a993{constructor(){const _0x495c02=_0x3519;super(...arguments),this[_0x495c02(0x142)]=new(_0x3967be())();}static get[_0x2dc9e5(0x12f)](){return[_0x44ea84];}static get[_0x2dc9e5(0x187)](){const _0x313dcd=_0x2dc9e5;return _0x313dcd(0x128);}static get[_0x2dc9e5(0x133)](){return!0x0;}static get[_0x2dc9e5(0x174)](){return!0x0;}[_0x2dc9e5(0x19c)](){const _0x364457=_0x2dc9e5,_0x125f76=this[_0x364457(0x164)],_0x42e6a3=_0x125f76[_0x364457(0x18a)][_0x364457(0x179)](_0x44ea84);_0x125f76[_0x364457(0x185)][_0x364457(0x18b)](_0x364457(0x165))[_0x364457(0x139)]({'model':_0x364457(0x1a2),'view':(_0x5dc189,{writer:_0x14ab36})=>function(_0x118eca,_0x24fb48,_0x7833eb,_0x52e477){const _0x4f04d6=_0x364457,_0x5111f7=_0x118eca[_0x4f04d6(0x1a9)][_0x4f04d6(0x169)](':')[0x2],_0x141e63=_0x7833eb[_0x4f04d6(0x136)](_0x5111f7);if(!_0x141e63||_0x5111f7===_0x7833eb[_0x4f04d6(0x17e)])return;if(!_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x167)][_0x4f04d6(0x1a8)](_0x118eca[_0x4f04d6(0x173)][_0x4f04d6(0x149)],_0x4f04d6(0x141)))return;const _0x46f0b8={'class':_0x4f04d6(0x13a)+_0x141e63[_0x4f04d6(0x175)][_0x4f04d6(0x138)](),'data-name':_0x141e63[_0x4f04d6(0x15a)],'data-session-id':_0x5111f7},_0xb1a783=_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x151)][_0x4f04d6(0x179)](_0x118eca[_0x4f04d6(0x1a9)]),_0x496e1b=_0xb1a783[_0x4f04d6(0x18c)](),_0x44142d=_0x496e1b[_0x4f04d6(0x148)],_0x79caa2=_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x167)];if(_0x44142d&&_0x79caa2[_0x4f04d6(0x153)](_0x44142d)&&_0x79caa2[_0x4f04d6(0x18e)](_0x44142d)&&!_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x151)][_0x4f04d6(0x179)](_0x4f04d6(0x12a)+_0x5111f7)[_0x4f04d6(0x177)]()[_0x4f04d6(0x154)])return;const _0x425cfb=_0x496e1b[_0x4f04d6(0x147)];return _0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x167)][_0x4f04d6(0x155)](_0x425cfb)&&!_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x19a)](_0x425cfb)&&(_0x46f0b8[_0x4f04d6(0x17b)]=!0x1),function(_0x1175a7,_0x52c36d,_0x41b6f3){const _0x1b020c=_0x4f04d6,_0x1e71b3=_0x1175a7[_0x1b020c(0x13d)](_0x1b020c(0x14d),_0x52c36d);return _0x1175a7[_0x1b020c(0x198)](_0x1b020c(0x176),!0x0,_0x1e71b3),_0x1e71b3[_0x1b020c(0x168)]=function(_0x4af592){const _0xde9bfc=_0x1b020c,_0xa5d0d8=this[_0xde9bfc(0x132)](_0x4af592);return _0xa5d0d8[_0xde9bfc(0x16b)]=_0xde9bfc(0x18f)+_0x41b6f3[_0xde9bfc(0x15a)]+_0xde9bfc(0x172),_0xa5d0d8[_0xde9bfc(0x183)](_0xde9bfc(0x144),()=>{const _0x563fc7=_0xde9bfc;_0xa5d0d8[_0x563fc7(0x195)][_0x563fc7(0x135)](_0x563fc7(0x17c));}),_0xa5d0d8[_0xde9bfc(0x183)](_0xde9bfc(0x163),()=>{const _0x263c5f=_0xde9bfc;_0xa5d0d8[_0x263c5f(0x195)][_0x263c5f(0x13f)](_0x263c5f(0x17c));}),_0xa5d0d8;},_0x1e71b3[_0x1b020c(0x137)]=function(_0x16dba6){const _0x5803eb=_0x1b020c;return!(!this[_0x5803eb(0x134)](_0x5803eb(0x176))||!_0x16dba6[_0x5803eb(0x134)](_0x5803eb(0x176))||this[_0x5803eb(0x1a4)](_0x5803eb(0x126))!=_0x16dba6[_0x5803eb(0x1a4)](_0x5803eb(0x126)));},_0x1e71b3;}(_0x24fb48,_0x46f0b8,_0x141e63);}(_0x5dc189,_0x14ab36,_0x42e6a3,_0x125f76)}),_0x125f76[_0x364457(0x185)][_0x364457(0x18b)](_0x364457(0x165))[_0x364457(0x17f)]({'model':_0x364457(0x19d),'view':_0x2bb661=>function(_0x4b2f6f,_0x5f559b){const _0xd1e212=_0x364457,_0x4dfaa0=_0x4b2f6f[_0xd1e212(0x1a9)][_0xd1e212(0x169)](':')[0x2];if(_0x4dfaa0===_0x5f559b[_0xd1e212(0x17e)])return null;const _0x4ec0d8=_0x5f559b[_0xd1e212(0x136)](_0x4dfaa0);if(!_0x4ec0d8)return{'id':_0x4dfaa0,'classes':[]};return{'id':_0x4dfaa0,'classes':[_0xd1e212(0x194),_0x4ec0d8[_0xd1e212(0x175)][_0xd1e212(0x186)]()],'attributes':{'data-session-id':_0x4dfaa0},'priority':0x7d0+_0x4ec0d8[_0xd1e212(0x16f)]};}(_0x2bb661,_0x42e6a3)}),function(_0x23f008){const _0x263870=_0x364457,_0x5a04b4=_0x23f008[_0x263870(0x152)],_0x1d46b5=new Map(),_0x55ef8d=_0x23f008[_0x263870(0x18a)][_0x263870(0x179)](_0x44ea84);_0x5a04b4[_0x263870(0x151)]['on'](_0x263870(0x160),(_0x4511ab,_0x41d05b,_0x45dc53,_0xb90b05)=>{const _0x114075=_0x263870;if(!_0xb90b05&&_0x1d46b5[_0x114075(0x179)](_0x41d05b[_0x114075(0x15a)]))return _0x1d46b5[_0x114075(0x179)](_0x41d05b[_0x114075(0x15a)])[_0x114075(0x192)](),void _0x1d46b5[_0x114075(0x181)](_0x41d05b[_0x114075(0x15a)]);const _0x496c68=_0x41d05b[_0x114075(0x15a)][_0x114075(0x169)](':')[0x2];if(_0x496c68===_0x55ef8d[_0x114075(0x17e)])return;const _0x3d4aa0=_0x114075(0x190)+_0x496c68;_0x5a04b4[_0x114075(0x151)][_0x114075(0x17a)](_0x3d4aa0)&&_0x23f008[_0x114075(0x15c)][_0x114075(0x170)](_0x3d4aa0),_0x41d05b['on'](_0x114075(0x15f),(_0x2ccc65,_0x3c800f,_0x599daa)=>{const _0x59dde4=_0x114075;if(_0x59dde4(0x13e)!=_0x3c800f[_0x59dde4(0x191)][_0x59dde4(0x196)]&&_0x59dde4(0x13e)==_0x41d05b[_0x59dde4(0x177)]()[_0x59dde4(0x191)][_0x59dde4(0x196)]&&!_0x1d46b5[_0x59dde4(0x17a)](_0x41d05b[_0x59dde4(0x15a)])){const _0x51c2c6=_0x5a04b4[_0x59dde4(0x167)][_0x59dde4(0x16c)](_0x599daa[_0x59dde4(0x19e)]);if(_0x51c2c6){const _0x4fa46b=_0x471789[_0x59dde4(0x12c)](_0x51c2c6);_0x1d46b5[_0x59dde4(0x14b)](_0x41d05b[_0x59dde4(0x15a)],_0x4fa46b),_0x4fa46b['on'](_0x59dde4(0x15f),(_0x46ca76,_0x4ab48b,_0x735747)=>{const _0x465020=_0x59dde4;if(_0x465020(0x13e)==_0x4fa46b[_0x465020(0x191)][_0x465020(0x196)]){const _0x339f5e=_0x5a04b4[_0x465020(0x167)][_0x465020(0x16c)](_0x735747[_0x465020(0x19e)]);_0x339f5e?(_0x4fa46b[_0x465020(0x149)]=_0x339f5e[_0x465020(0x149)],_0x4fa46b[_0x465020(0x162)]=_0x339f5e[_0x465020(0x162)]):(_0x1d46b5[_0x465020(0x181)](_0x41d05b[_0x465020(0x15a)]),_0x4fa46b[_0x465020(0x192)]());}});}}});}),_0x5a04b4[_0x263870(0x146)]['on'](_0x263870(0x12e),()=>{const _0x46a520=_0x263870;_0x1d46b5[_0x46a520(0x16d)]>0x0&&_0x5a04b4[_0x46a520(0x129)]({'isUndoable':!0x1},_0x3419b1=>{const _0xc4d341=_0x46a520;for(const [_0x242fce,_0x4e7be5]of _0x1d46b5)_0xc4d341(0x13e)==_0x5a04b4[_0xc4d341(0x151)][_0xc4d341(0x179)](_0x242fce)[_0xc4d341(0x177)]()[_0xc4d341(0x191)][_0xc4d341(0x196)]&&(G(_0x242fce[_0xc4d341(0x169)](':')[0x2],_0x4e7be5[_0xc4d341(0x171)](),_0x5a04b4,_0x3419b1),_0x4e7be5[_0xc4d341(0x192)]());_0x1d46b5[_0xc4d341(0x19f)]();});});}(_0x125f76),this[_0x364457(0x142)][_0x364457(0x193)](_0x1ab183[_0x364457(0x146)],_0x364457(0x13b),(_0x57a4f2,{key:_0x53c84c})=>{const _0x504426=_0x364457;_0x504426(0x143)===_0x53c84c&&function(_0x56708a){const _0xc5de6a=_0x504426;_0x56708a[_0xc5de6a(0x15c)][_0xc5de6a(0x145)][_0xc5de6a(0x12e)](_0x22761d=>{const _0x1ac47c=_0xc5de6a;for(const _0x207278 of _0x56708a[_0x1ac47c(0x152)][_0x1ac47c(0x151)]){if(!_0x207278[_0x1ac47c(0x15a)][_0x1ac47c(0x127)](_0x1ac47c(0x1a2)))continue;const _0x403cd4=_0x56708a[_0x1ac47c(0x15c)][_0x1ac47c(0x14c)][_0x1ac47c(0x1a5)](_0x207278[_0x1ac47c(0x15a)]);if(_0x403cd4){for(const _0x105077 of _0x403cd4)_0x22761d[_0x1ac47c(0x178)](_0x1ac47c(0x17c),_0x105077);}}});}(_0x125f76);},{'useCapture':!0x0});}[_0x2dc9e5(0x199)](){const _0x226af6=_0x2dc9e5,_0x39eb39=this[_0x226af6(0x164)],_0x5401e4=_0x39eb39[_0x226af6(0x14e)][_0x226af6(0x179)](_0x226af6(0x1a7));_0x5401e4&&_0x39eb39[_0x226af6(0x152)]['on'](_0x226af6(0x18d),(_0x4e47df,_0x402e00)=>{const _0x5e719d=_0x226af6,_0x3cb7aa=_0x402e00[0x0];if(_0x5e719d(0x180)!=_0x3cb7aa[_0x5e719d(0x161)]||!_0x3cb7aa[_0x5e719d(0x15a)][_0x5e719d(0x127)](_0x5e719d(0x131)))return;const _0x2c97be=_0x3cb7aa[_0x5e719d(0x1a3)];_0x5401e4[_0x5e719d(0x15e)][_0x5e719d(0x17a)](_0x2c97be)&&(_0x3cb7aa[_0x5e719d(0x166)]=_0x3cb7aa[_0x5e719d(0x1a6)]?_0x39eb39[_0x5e719d(0x152)][_0x5e719d(0x140)](_0x3cb7aa[_0x5e719d(0x1a6)][_0x5e719d(0x149)],_0x3cb7aa[_0x5e719d(0x1a6)][_0x5e719d(0x162)]):null);},{'priority':_0x226af6(0x15d)});}[_0x2dc9e5(0x16a)](){const _0x47fed8=_0x2dc9e5;return this[_0x47fed8(0x142)][_0x47fed8(0x14a)](),super[_0x47fed8(0x16a)]();}[_0x2dc9e5(0x16e)](){const _0x1e4d17=_0x2dc9e5,_0x17ff97=this[_0x1e4d17(0x164)],_0x381e48=_0x17ff97[_0x1e4d17(0x152)][_0x1e4d17(0x146)],_0x41d57b=_0x17ff97[_0x1e4d17(0x18a)][_0x1e4d17(0x179)](_0x44ea84);_0x17ff97[_0x1e4d17(0x152)][_0x1e4d17(0x129)]({'isUndoable':!0x1},_0x365fa5=>{const _0x11daff=_0x1e4d17,_0x5beca1=_0x11daff(0x12a)+_0x41d57b[_0x11daff(0x17e)],_0x511080=_0x11daff(0x190)+_0x41d57b[_0x11daff(0x17e)],_0x5f107b=_0x17ff97[_0x11daff(0x152)][_0x11daff(0x151)][_0x11daff(0x17a)](_0x5beca1);_0x17ff97[_0x11daff(0x15c)][_0x11daff(0x145)][_0x11daff(0x1a1)]?G(_0x41d57b[_0x11daff(0x17e)],_0x381e48[_0x11daff(0x19b)][_0x11daff(0x14f)](),_0x17ff97[_0x11daff(0x152)],_0x365fa5):_0x5f107b&&(_0x365fa5[_0x11daff(0x12b)](_0x5beca1),_0x365fa5[_0x11daff(0x12b)](_0x511080));});}}function G(_0x4da494,_0x1ae281,_0x414ddc,_0x28ff5e){const _0x4d0921=_0x2dc9e5,_0xd05447=_0x4d0921(0x12a)+_0x4da494,_0x34816b=_0x4d0921(0x190)+_0x4da494,_0x194303=_0x1ae281[_0x4d0921(0x1aa)]();let _0x36a00c=_0x1ae281[_0x4d0921(0x149)];_0x194303&&_0x194303['is'](_0x4d0921(0x158),_0x4d0921(0x17d))&&(_0x36a00c=function(_0x516561,_0x41cabe){const _0x2be1e7=_0x4d0921;for(const _0x8e1d0e of _0x516561[_0x2be1e7(0x156)]())if(_0x41cabe[_0x2be1e7(0x167)][_0x2be1e7(0x1a8)](_0x8e1d0e,_0x2be1e7(0x141)))return _0x8e1d0e;}(_0x1ae281,_0x414ddc),_0x1ae281=_0x28ff5e[_0x4d0921(0x140)](_0x36a00c));const _0x5524cc=_0x28ff5e[_0x4d0921(0x140)](_0x36a00c);_0x414ddc[_0x4d0921(0x151)][_0x4d0921(0x17a)](_0xd05447)?(_0x28ff5e[_0x4d0921(0x189)](_0xd05447,{'range':_0x1ae281}),_0x28ff5e[_0x4d0921(0x189)](_0x34816b,{'range':_0x5524cc})):(_0x28ff5e[_0x4d0921(0x13c)](_0xd05447,{'range':_0x1ae281,'usingOperation':!0x0}),_0x28ff5e[_0x4d0921(0x13c)](_0x34816b,{'range':_0x5524cc,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x25572e=_0x3b92;(function(_0x418d5d,_0x559fa8){const _0xcd46ef=_0x3b92,_0x38f3d8=_0x418d5d();while(!![]){try{const _0x43b00f=parseInt(_0xcd46ef(0x152))/0x1+-parseInt(_0xcd46ef(0x140))/0x2+-parseInt(_0xcd46ef(0x14a))/0x3+-parseInt(_0xcd46ef(0x192))/0x4+-parseInt(_0xcd46ef(0x187))/0x5*(-parseInt(_0xcd46ef(0x144))/0x6)+-parseInt(_0xcd46ef(0x174))/0x7*(-parseInt(_0xcd46ef(0x164))/0x8)+parseInt(_0xcd46ef(0x1a5))/0x9;if(_0x43b00f===_0x559fa8)break;else _0x38f3d8['push'](_0x38f3d8['shift']());}catch(_0x203344){_0x38f3d8['push'](_0x38f3d8['shift']());}}}(_0x5d39,0x32a2a));function _0x3b92(_0x1e308d,_0x1c80f1){const _0x5d39cc=_0x5d39();return _0x3b92=function(_0x3b927c,_0x46fd61){_0x3b927c=_0x3b927c-0x138;let _0x2d0249=_0x5d39cc[_0x3b927c];return _0x2d0249;},_0x3b92(_0x1e308d,_0x1c80f1);}import{Plugin as _0x3e07f7}from'ckeditor5/src/core.js';import{global as _0x1fac7c,DomEmitterMixin as _0x120f1d}from'ckeditor5/src/utils.js';function _0x5d39(){const _0x2692f2=['plugins','20146KmoJCy','schema','startsWith','markerToElement','listenTo','user:position:','toDomElement','isInline','init','ck-user__selection','nodeAfter','mouseleave','createUserMarkerOperations','batch','<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>','user:range','_domEmitter','get','isSimilar','1038965xTvvkB','change','root','fromRange','$text','afterInit','UserMarkers','pluginName','contenteditable','split','createUIElement','1106448HzhqcZ','getPositions','markerRange','markerName','model','user:position','type','enqueueChange','isObject','oldRange','editingDowncast','change:range','end','clear','size','start','user:','detach','set','1333665vwNylg','getCustomProperty','mapper','keydown','view','span','highest','marker','destroy','$graveyard','isCollapsed','for','selection','hasContent','userPositionMarker','document','innerHTML','newRange','getContainedElement','delete','markers','ck-user__marker\x20','getRange','parent','commands','color','addMarker','editor','setCustomProperty','getSelectionClass','644258PMHsec','data-session-id','render','update:user:range','6nlnIdW','Escape','markerToHighlight','ck-user__marker_hovered','conversion','getFirstRange','775329xzvaNY','markerNameToElements','getAttribute','classList','isOfficialPlugin','getStart','updateMarker','isLimit','322956nfAEOk','toRange','_createdBatches','undo','checkChild','name','getUserBySessionId','mouseenter','requires','removeClass','getMarkerClass','addEventListener','createRange','orderNumber','add','tableCell','user:range:','hasDomSelection','1072fnkjvc','element','reconvertMarker','editing','has','rootName','</span>','removeMarker','getNearestSelectionRange','mySessionId','deletionPosition','remove','isPremiumPlugin','stopListening','applyOperation'];_0x5d39=function(){return _0x2692f2;};return _0x5d39();}import _0x137116 from'./sessions.js';import{LiveRange as _0x3105c0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x3e07f7{constructor(){const _0x41d72b=_0x3b92;super(...arguments),this[_0x41d72b(0x184)]=new(_0x120f1d())();}static get[_0x25572e(0x15a)](){return[_0x137116];}static get[_0x25572e(0x18e)](){const _0x1687ea=_0x25572e;return _0x1687ea(0x18d);}static get[_0x25572e(0x14e)](){return!0x0;}static get[_0x25572e(0x170)](){return!0x0;}[_0x25572e(0x17c)](){const _0x40b957=_0x25572e,_0x1f13ae=this[_0x40b957(0x13d)],_0x2c0f23=_0x1f13ae[_0x40b957(0x173)][_0x40b957(0x185)](_0x137116);_0x1f13ae[_0x40b957(0x148)][_0x40b957(0x1b0)](_0x40b957(0x19c))[_0x40b957(0x177)]({'model':_0x40b957(0x197),'view':(_0x593a84,{writer:_0xae48a2})=>function(_0x4acef1,_0x4d67ce,_0x39fefb,_0xe90d27){const _0xd10241=_0x40b957,_0x2ab7af=_0x4acef1[_0xd10241(0x195)][_0xd10241(0x190)](':')[0x2],_0x1ccf23=_0x39fefb[_0xd10241(0x158)](_0x2ab7af);if(!_0x1ccf23||_0x2ab7af===_0x39fefb[_0xd10241(0x16d)])return;if(!_0xe90d27[_0xd10241(0x196)][_0xd10241(0x175)][_0xd10241(0x156)](_0x4acef1[_0xd10241(0x194)][_0xd10241(0x1a1)],_0xd10241(0x18b)))return;const _0x2a10dd={'class':_0xd10241(0x1ba)+_0x1ccf23[_0xd10241(0x13b)][_0xd10241(0x15c)](),'data-name':_0x1ccf23[_0xd10241(0x157)],'data-session-id':_0x2ab7af},_0x2dbb58=_0xe90d27[_0xd10241(0x196)][_0xd10241(0x1b9)][_0xd10241(0x185)](_0x4acef1[_0xd10241(0x195)]),_0x1ffa28=_0x2dbb58[_0xd10241(0x14f)](),_0x3c3c9c=_0x1ffa28[_0xd10241(0x17e)],_0x1284d0=_0xe90d27[_0xd10241(0x196)][_0xd10241(0x175)];if(_0x3c3c9c&&_0x1284d0[_0xd10241(0x19a)](_0x3c3c9c)&&_0x1284d0[_0xd10241(0x17b)](_0x3c3c9c)&&!_0xe90d27[_0xd10241(0x196)][_0xd10241(0x1b9)][_0xd10241(0x185)](_0xd10241(0x162)+_0x2ab7af)[_0xd10241(0x138)]()[_0xd10241(0x1af)])return;const _0x1ead3a=_0x1ffa28[_0xd10241(0x139)];return _0xe90d27[_0xd10241(0x196)][_0xd10241(0x175)][_0xd10241(0x151)](_0x1ead3a)&&!_0xe90d27[_0xd10241(0x196)][_0xd10241(0x1b2)](_0x1ead3a)&&(_0x2a10dd[_0xd10241(0x18f)]=!0x1),function(_0x4dc1b0,_0xb9274f,_0x298033){const _0x5c55ca=_0xd10241,_0x4298af=_0x4dc1b0[_0x5c55ca(0x191)](_0x5c55ca(0x1aa),_0xb9274f);return _0x4dc1b0[_0x5c55ca(0x13e)](_0x5c55ca(0x1b3),!0x0,_0x4298af),_0x4298af[_0x5c55ca(0x142)]=function(_0x4f3f7d){const _0x108c21=_0x5c55ca,_0x206852=this[_0x108c21(0x17a)](_0x4f3f7d);return _0x206852[_0x108c21(0x1b5)]=_0x108c21(0x182)+_0x298033[_0x108c21(0x157)]+_0x108c21(0x16a),_0x206852[_0x108c21(0x15d)](_0x108c21(0x159),()=>{const _0x57c8eb=_0x108c21;_0x206852[_0x57c8eb(0x14d)][_0x57c8eb(0x160)](_0x57c8eb(0x147));}),_0x206852[_0x108c21(0x15d)](_0x108c21(0x17f),()=>{const _0x43550f=_0x108c21;_0x206852[_0x43550f(0x14d)][_0x43550f(0x16f)](_0x43550f(0x147));}),_0x206852;},_0x4298af[_0x5c55ca(0x186)]=function(_0x3b23d1){const _0x13e1c6=_0x5c55ca;return!(!this[_0x13e1c6(0x1a6)](_0x13e1c6(0x1b3))||!_0x3b23d1[_0x13e1c6(0x1a6)](_0x13e1c6(0x1b3))||this[_0x13e1c6(0x14c)](_0x13e1c6(0x141))!=_0x3b23d1[_0x13e1c6(0x14c)](_0x13e1c6(0x141)));},_0x4298af;}(_0x4d67ce,_0x2a10dd,_0x1ccf23);}(_0x593a84,_0xae48a2,_0x2c0f23,_0x1f13ae)}),_0x1f13ae[_0x40b957(0x148)][_0x40b957(0x1b0)](_0x40b957(0x19c))[_0x40b957(0x146)]({'model':_0x40b957(0x183),'view':_0x10a7f8=>function(_0x442877,_0x79b4a3){const _0x3ecfd3=_0x40b957,_0x4b26f3=_0x442877[_0x3ecfd3(0x195)][_0x3ecfd3(0x190)](':')[0x2];if(_0x4b26f3===_0x79b4a3[_0x3ecfd3(0x16d)])return null;const _0x5d1614=_0x79b4a3[_0x3ecfd3(0x158)](_0x4b26f3);if(!_0x5d1614)return{'id':_0x4b26f3,'classes':[]};return{'id':_0x4b26f3,'classes':[_0x3ecfd3(0x17d),_0x5d1614[_0x3ecfd3(0x13b)][_0x3ecfd3(0x13f)]()],'attributes':{'data-session-id':_0x4b26f3},'priority':0x7d0+_0x5d1614[_0x3ecfd3(0x15f)]};}(_0x10a7f8,_0x2c0f23)}),function(_0xc251aa){const _0x8c82ee=_0x40b957,_0x811bc3=_0xc251aa[_0x8c82ee(0x196)],_0x2966a3=new Map(),_0x14d244=_0xc251aa[_0x8c82ee(0x173)][_0x8c82ee(0x185)](_0x137116);_0x811bc3[_0x8c82ee(0x1b9)]['on'](_0x8c82ee(0x143),(_0x5066bf,_0xf66462,_0x3c8698,_0x21bdd1)=>{const _0x1528ed=_0x8c82ee;if(!_0x21bdd1&&_0x2966a3[_0x1528ed(0x185)](_0xf66462[_0x1528ed(0x157)]))return _0x2966a3[_0x1528ed(0x185)](_0xf66462[_0x1528ed(0x157)])[_0x1528ed(0x1a3)](),void _0x2966a3[_0x1528ed(0x1b8)](_0xf66462[_0x1528ed(0x157)]);const _0x215080=_0xf66462[_0x1528ed(0x157)][_0x1528ed(0x190)](':')[0x2];if(_0x215080===_0x14d244[_0x1528ed(0x16d)])return;const _0xb5afdb=_0x1528ed(0x179)+_0x215080;_0x811bc3[_0x1528ed(0x1b9)][_0x1528ed(0x168)](_0xb5afdb)&&_0xc251aa[_0x1528ed(0x167)][_0x1528ed(0x166)](_0xb5afdb),_0xf66462['on'](_0x1528ed(0x19d),(_0x1a1476,_0x53a460,_0x4e8aca)=>{const _0x4f9b8b=_0x1528ed;if(_0x4f9b8b(0x1ae)!=_0x53a460[_0x4f9b8b(0x189)][_0x4f9b8b(0x169)]&&_0x4f9b8b(0x1ae)==_0xf66462[_0x4f9b8b(0x138)]()[_0x4f9b8b(0x189)][_0x4f9b8b(0x169)]&&!_0x2966a3[_0x4f9b8b(0x168)](_0xf66462[_0x4f9b8b(0x157)])){const _0x280f22=_0x811bc3[_0x4f9b8b(0x175)][_0x4f9b8b(0x16c)](_0x4e8aca[_0x4f9b8b(0x16e)]);if(_0x280f22){const _0x41291e=_0x3105c0[_0x4f9b8b(0x18a)](_0x280f22);_0x2966a3[_0x4f9b8b(0x1a4)](_0xf66462[_0x4f9b8b(0x157)],_0x41291e),_0x41291e['on'](_0x4f9b8b(0x19d),(_0x1656af,_0x1aa7d0,_0x36eb9d)=>{const _0x3a985a=_0x4f9b8b;if(_0x3a985a(0x1ae)==_0x41291e[_0x3a985a(0x189)][_0x3a985a(0x169)]){const _0x205dc6=_0x811bc3[_0x3a985a(0x175)][_0x3a985a(0x16c)](_0x36eb9d[_0x3a985a(0x16e)]);_0x205dc6?(_0x41291e[_0x3a985a(0x1a1)]=_0x205dc6[_0x3a985a(0x1a1)],_0x41291e[_0x3a985a(0x19e)]=_0x205dc6[_0x3a985a(0x19e)]):(_0x2966a3[_0x3a985a(0x1b8)](_0xf66462[_0x3a985a(0x157)]),_0x41291e[_0x3a985a(0x1a3)]());}});}}});}),_0x811bc3[_0x8c82ee(0x1b4)]['on'](_0x8c82ee(0x188),()=>{const _0x5cb2c7=_0x8c82ee;_0x2966a3[_0x5cb2c7(0x1a0)]>0x0&&_0x811bc3[_0x5cb2c7(0x199)]({'isUndoable':!0x1},_0x22be1c=>{const _0x164e16=_0x5cb2c7;for(const [_0x3ef1a2,_0x4d0607]of _0x2966a3)_0x164e16(0x1ae)==_0x811bc3[_0x164e16(0x1b9)][_0x164e16(0x185)](_0x3ef1a2)[_0x164e16(0x138)]()[_0x164e16(0x189)][_0x164e16(0x169)]&&(G(_0x3ef1a2[_0x164e16(0x190)](':')[0x2],_0x4d0607[_0x164e16(0x153)](),_0x811bc3,_0x22be1c),_0x4d0607[_0x164e16(0x1a3)]());_0x2966a3[_0x164e16(0x19f)]();});});}(_0x1f13ae),this[_0x40b957(0x184)][_0x40b957(0x178)](_0x1fac7c[_0x40b957(0x1b4)],_0x40b957(0x1a8),(_0x419900,{key:_0x369529})=>{const _0x2a3090=_0x40b957;_0x2a3090(0x145)===_0x369529&&function(_0x391134){const _0x4436d9=_0x2a3090;_0x391134[_0x4436d9(0x167)][_0x4436d9(0x1a9)][_0x4436d9(0x188)](_0x2934f1=>{const _0x3c01b8=_0x4436d9;for(const _0x4a6e72 of _0x391134[_0x3c01b8(0x196)][_0x3c01b8(0x1b9)]){if(!_0x4a6e72[_0x3c01b8(0x157)][_0x3c01b8(0x176)](_0x3c01b8(0x197)))continue;const _0x1080f0=_0x391134[_0x3c01b8(0x167)][_0x3c01b8(0x1a7)][_0x3c01b8(0x14b)](_0x4a6e72[_0x3c01b8(0x157)]);if(_0x1080f0){for(const _0x21c1c2 of _0x1080f0)_0x2934f1[_0x3c01b8(0x15b)](_0x3c01b8(0x147),_0x21c1c2);}}});}(_0x1f13ae);},{'useCapture':!0x0});}[_0x25572e(0x18c)](){const _0x5c2fce=_0x25572e,_0x30581e=this[_0x5c2fce(0x13d)],_0x4f02f4=_0x30581e[_0x5c2fce(0x13a)][_0x5c2fce(0x185)](_0x5c2fce(0x155));_0x4f02f4&&_0x30581e[_0x5c2fce(0x196)]['on'](_0x5c2fce(0x172),(_0x481dbb,_0x50b641)=>{const _0x3b317c=_0x5c2fce,_0xb092e6=_0x50b641[0x0];if(_0x3b317c(0x1ac)!=_0xb092e6[_0x3b317c(0x198)]||!_0xb092e6[_0x3b317c(0x157)][_0x3b317c(0x176)](_0x3b317c(0x1a2)))return;const _0x44f08b=_0xb092e6[_0x3b317c(0x181)];_0x4f02f4[_0x3b317c(0x154)][_0x3b317c(0x168)](_0x44f08b)&&(_0xb092e6[_0x3b317c(0x1b6)]=_0xb092e6[_0x3b317c(0x19b)]?_0x30581e[_0x3b317c(0x196)][_0x3b317c(0x15e)](_0xb092e6[_0x3b317c(0x19b)][_0x3b317c(0x1a1)],_0xb092e6[_0x3b317c(0x19b)][_0x3b317c(0x19e)]):null);},{'priority':_0x5c2fce(0x1ab)});}[_0x25572e(0x1ad)](){const _0x25ec34=_0x25572e;return this[_0x25ec34(0x184)][_0x25ec34(0x171)](),super[_0x25ec34(0x1ad)]();}[_0x25572e(0x180)](){const _0x171d9f=_0x25572e,_0x618b62=this[_0x171d9f(0x13d)],_0x2b5a90=_0x618b62[_0x171d9f(0x196)][_0x171d9f(0x1b4)],_0x19dc46=_0x618b62[_0x171d9f(0x173)][_0x171d9f(0x185)](_0x137116);_0x618b62[_0x171d9f(0x196)][_0x171d9f(0x199)]({'isUndoable':!0x1},_0x2c8bed=>{const _0x4ca2f0=_0x171d9f,_0x7bbcb2=_0x4ca2f0(0x162)+_0x19dc46[_0x4ca2f0(0x16d)],_0xa47273=_0x4ca2f0(0x179)+_0x19dc46[_0x4ca2f0(0x16d)],_0x1856bb=_0x618b62[_0x4ca2f0(0x196)][_0x4ca2f0(0x1b9)][_0x4ca2f0(0x168)](_0x7bbcb2);_0x618b62[_0x4ca2f0(0x167)][_0x4ca2f0(0x1a9)][_0x4ca2f0(0x163)]?G(_0x19dc46[_0x4ca2f0(0x16d)],_0x2b5a90[_0x4ca2f0(0x1b1)][_0x4ca2f0(0x149)](),_0x618b62[_0x4ca2f0(0x196)],_0x2c8bed):_0x1856bb&&(_0x2c8bed[_0x4ca2f0(0x16b)](_0x7bbcb2),_0x2c8bed[_0x4ca2f0(0x16b)](_0xa47273));});}}function G(_0x42084e,_0x39e78a,_0x516126,_0x2a3b5f){const _0x1ee21f=_0x25572e,_0x2fd7ce=_0x1ee21f(0x162)+_0x42084e,_0x2f8ba9=_0x1ee21f(0x179)+_0x42084e,_0x1b74ed=_0x39e78a[_0x1ee21f(0x1b7)]();let _0x30d492=_0x39e78a[_0x1ee21f(0x1a1)];_0x1b74ed&&_0x1b74ed['is'](_0x1ee21f(0x165),_0x1ee21f(0x161))&&(_0x30d492=function(_0x3366ea,_0x14be6f){const _0x3e6ffa=_0x1ee21f;for(const _0xb347d8 of _0x3366ea[_0x3e6ffa(0x193)]())if(_0x14be6f[_0x3e6ffa(0x175)][_0x3e6ffa(0x156)](_0xb347d8,_0x3e6ffa(0x18b)))return _0xb347d8;}(_0x39e78a,_0x516126),_0x39e78a=_0x2a3b5f[_0x1ee21f(0x15e)](_0x30d492));const _0x485edc=_0x2a3b5f[_0x1ee21f(0x15e)](_0x30d492);_0x516126[_0x1ee21f(0x1b9)][_0x1ee21f(0x168)](_0x2fd7ce)?(_0x2a3b5f[_0x1ee21f(0x150)](_0x2fd7ce,{'range':_0x39e78a}),_0x2a3b5f[_0x1ee21f(0x150)](_0x2f8ba9,{'range':_0x485edc})):(_0x2a3b5f[_0x1ee21f(0x13c)](_0x2fd7ce,{'range':_0x39e78a,'usingOperation':!0x0}),_0x2a3b5f[_0x1ee21f(0x13c)](_0x2f8ba9,{'range':_0x485edc,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e724f=_0x4727;(function(_0x11a095,_0x277713){const _0x41eab3=_0x4727,_0x1b951e=_0x11a095();while(!![]){try{const _0x26be08=-parseInt(_0x41eab3(0x1e6))/0x1+parseInt(_0x41eab3(0x215))/0x2+-parseInt(_0x41eab3(0x209))/0x3*(parseInt(_0x41eab3(0x208))/0x4)+parseInt(_0x41eab3(0x222))/0x5+-parseInt(_0x41eab3(0x20b))/0x6*(parseInt(_0x41eab3(0x1f7))/0x7)+-parseInt(_0x41eab3(0x1e5))/0x8+parseInt(_0x41eab3(0x217))/0x9;if(_0x26be08===_0x277713)break;else _0x1b951e['push'](_0x1b951e['shift']());}catch(_0x258a64){_0x1b951e['push'](_0x1b951e['shift']());}}}(_0x8ea5,0x74f3d));import{ContextPlugin as _0x545ecf}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xd9faaa,CKEditorError as _0x17176d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x11a440,WEB_SOCKET_GATEWAY_STATES as _0x3eeb2d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4727(_0x41c02a,_0x45f942){const _0x8ea596=_0x8ea5();return _0x4727=function(_0x47276f,_0x557d0d){_0x47276f=_0x47276f-0x1df;let _0x4fc4ca=_0x8ea596[_0x47276f];return _0x4fc4ca;},_0x4727(_0x41c02a,_0x45f942);}import{Notification as _0x9b029b}from'ckeditor5/src/ui.js';class c extends _0x545ecf{static get[_0x2e724f(0x1fe)](){const _0x2e9981=_0x2e724f;return[_0x2e9981(0x20e),_0x9b029b];}static get[_0x2e724f(0x1f3)](){const _0x2f4a95=_0x2e724f;return _0x2f4a95(0x218);}static get[_0x2e724f(0x1ed)](){return!0x0;}static get[_0x2e724f(0x220)](){return!0x0;}constructor(_0x55d736){const _0x81178c=_0x2e724f;super(_0x55d736),this[_0x81178c(0x21e)](_0x81178c(0x1e7),_0x3eeb2d[_0x81178c(0x1f4)]),this[_0x81178c(0x21e)](_0x81178c(0x1fc),!0x1),this[_0x81178c(0x201)]=new Set(),this[_0x81178c(0x20a)]=!0x1,this[_0x81178c(0x1e1)]=Object[_0x81178c(0x226)](_0xd9faaa);}[_0x2e724f(0x1ec)](){const _0x1f0ed3=_0x2e724f,_0x538f8a=this[_0x1f0ed3(0x1eb)],_0x1c5de4=_0x538f8a[_0x1f0ed3(0x227)][_0x1f0ed3(0x1e4)](_0x1f0ed3(0x20e)),_0x1d9437=_0x538f8a[_0x1f0ed3(0x227)][_0x1f0ed3(0x1e4)](_0x9b029b);if(!_0x1c5de4[_0x1f0ed3(0x228)])throw new _0x17176d(_0x1f0ed3(0x202),this);if(!_0x1c5de4[_0x1f0ed3(0x210)])throw new _0x17176d(_0x1f0ed3(0x205),this);return this[_0x1f0ed3(0x1e1)][_0x1f0ed3(0x211)](window,_0x1f0ed3(0x21a),()=>this[_0x1f0ed3(0x1fc)]=!0x0),this[_0x1f0ed3(0x1e1)][_0x1f0ed3(0x211)](window,_0x1f0ed3(0x20f),()=>this[_0x1f0ed3(0x1fc)]=!0x1),this[_0x1f0ed3(0x1eb)][_0x1f0ed3(0x1ff)][_0x1f0ed3(0x207)](_0x1f0ed3(0x221),0xa),this[_0x1f0ed3(0x1eb)][_0x1f0ed3(0x1ff)][_0x1f0ed3(0x207)](_0x1f0ed3(0x1df),0x14),c[_0x1f0ed3(0x218)][_0x1f0ed3(0x21c)](_0x1c5de4[_0x1f0ed3(0x228)],_0x1c5de4[_0x1f0ed3(0x210)],{'timeout':0x3e8*this[_0x1f0ed3(0x1eb)][_0x1f0ed3(0x1ff)][_0x1f0ed3(0x1e4)](_0x1f0ed3(0x221)),'requestTimeout':0x3e8*this[_0x1f0ed3(0x1eb)][_0x1f0ed3(0x1ff)][_0x1f0ed3(0x1e4)](_0x1f0ed3(0x1df))})[_0x1f0ed3(0x1f9)](_0x2d4618=>{const _0x29b140=_0x1f0ed3;if(this[_0x29b140(0x1e0)]=_0x2d4618,this[_0x29b140(0x214)](_0x29b140(0x1e7))['to'](_0x2d4618,_0x29b140(0x1e7),this,_0x29b140(0x1fc),(_0x5e7d40,_0x589d55)=>(_0x29b140(0x223)!==_0x5e7d40&&(this[_0x29b140(0x20a)]=!0x0),_0x589d55||_0x5e7d40!==_0x3eeb2d[_0x29b140(0x1f4)]?_0x3eeb2d[_0x29b140(0x212)]:this[_0x29b140(0x1e7)]==_0x3eeb2d[_0x29b140(0x212)]&&this[_0x29b140(0x20a)]?(this[_0x29b140(0x20a)]=!0x1,this[_0x29b140(0x21f)](),_0x3eeb2d[_0x29b140(0x1f0)]):_0x3eeb2d[_0x29b140(0x1f4)])),this[_0x29b140(0x1e0)]['on'](_0x29b140(0x1f6),(_0x5092cc,_0x49a9c2)=>{const _0x5618aa=_0x29b140;if(_0x5618aa(0x1f5)!==_0x49a9c2[_0x5618aa(0x206)])throw console[_0x5618aa(0x1f6)](_0x49a9c2),new _0x17176d(_0x5618aa(0x225),null,{'originalError':_0x49a9c2});_0x1d9437[_0x5618aa(0x21d)](_0x5618aa(0x204),{'title':_0x5618aa(0x1ef),'namespace':_0x5618aa(0x20c)});}),!_0x2d4618['me'])return new Promise(_0x43b078=>_0x2d4618['on'](_0x29b140(0x1e9),_0x43b078));})[_0x1f0ed3(0x1e2)](_0x5f3cb7=>{const _0x589f36=_0x1f0ed3;throw console[_0x589f36(0x1f6)](_0x5f3cb7),new _0x17176d(_0x589f36(0x225),null,{'originalError':_0x5f3cb7});});}[_0x2e724f(0x200)](_0x2124ba){const _0x2ef9ae=_0x2e724f;if(_0x2ef9ae(0x1f1)!=typeof _0x2124ba[_0x2ef9ae(0x21b)])throw new _0x17176d(_0x2ef9ae(0x1e8),this);if(this[_0x2ef9ae(0x216)](_0x2124ba))throw new _0x17176d(_0x2ef9ae(0x1fd),this,{'name':_0x2124ba[_0x2ef9ae(0x1ea)][_0x2ef9ae(0x1f3)]});this[_0x2ef9ae(0x201)][_0x2ef9ae(0x1f2)](_0x2124ba);}[_0x2e724f(0x203)](_0x34fd75){const _0x111236=_0x2e724f;this[_0x111236(0x201)][_0x111236(0x1e3)](_0x34fd75);}[_0x2e724f(0x216)](_0x3bdb69){const _0x4107fa=_0x2e724f;return this[_0x4107fa(0x201)][_0x4107fa(0x1fb)](_0x3bdb69);}[_0x2e724f(0x21f)](){const _0x36a7f4=_0x2e724f;return this[_0x36a7f4(0x1e0)][_0x36a7f4(0x21b)]()[_0x36a7f4(0x1f9)](()=>Promise[_0x36a7f4(0x219)](Array[_0x36a7f4(0x1fa)](this[_0x36a7f4(0x201)],_0x42b387=>_0x42b387[_0x36a7f4(0x21b)]())))[_0x36a7f4(0x1f9)](()=>this[_0x36a7f4(0x1e7)]=_0x3eeb2d[_0x36a7f4(0x1f4)])[_0x36a7f4(0x1e2)](_0x7a2cd=>{const _0xb39c6d=_0x36a7f4;throw console[_0xb39c6d(0x1f6)](_0x7a2cd),new _0x17176d(_0xb39c6d(0x20d),this[_0xb39c6d(0x1eb)]);});}[_0x2e724f(0x224)](){const _0x27332c=_0x2e724f;this[_0x27332c(0x1e0)]&&this[_0x27332c(0x1e0)][_0x27332c(0x213)](),this[_0x27332c(0x1e7)]=_0x3eeb2d[_0x27332c(0x212)],this[_0x27332c(0x1e1)][_0x27332c(0x1f8)](),super[_0x27332c(0x224)]();}}c[_0x2e724f(0x218)]=_0x11a440,c[_0x2e724f(0x1ee)]=0x3e8;function _0x8ea5(){const _0x42c856=['config','addToReconnectionStack','_reconnectionStack','websocketgateway-missing-token','removeFromReconnectionStack','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.','websocketgateway-missing-websocket-url','code','define','37652KnrBuX','303gtVNLX','_shouldPluginsReconnect','4764PoqgRL','real-time-collaboration','cloudservices-reconnection-error','CloudServices','online','webSocketUrl','listenTo','DISCONNECTED','disconnect','bind','1469406yYHcjQ','isInReconnectionStack','12537090EahXfm','WebSocketGateway','all','offline','reconnect','connect','showWarning','set','_reconnect','isPremiumPlugin','cloudServices.connectionTimeout','3842880IIcKjb','connected','destroy','cloudservices-init','create','plugins','token','cloudServices.requestTimeout','connection','_domEmitter','catch','delete','get','5558488lYHARs','400930FoJqUf','state','websocketgateway-invalid-plugin-interface','change:me','constructor','context','init','isOfficialPlugin','initialReconnectionInterval','Connected\x20users\x20limit\x20exceeded','CONNECTING','function','add','pluginName','CONNECTED','limitExceeded','error','3269FAbDrI','stopListening','then','from','has','_isBrowserOffline','websocketgateway-plugin-already-registered','requires'];_0x8ea5=function(){return _0x42c856;};return _0x8ea5();}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xedce(_0x4772c2,_0x36df0b){var _0x53bcd3=_0x53bc();return _0xedce=function(_0xedced9,_0x199b71){_0xedced9=_0xedced9-0x14b;var _0x5c1779=_0x53bcd3[_0xedced9];return _0x5c1779;},_0xedce(_0x4772c2,_0x36df0b);}function _0x53bc(){var _0xfc91ee=['16neRmzs','1002636GEsysl','isPremiumPlugin','4440YqbCMi','6SyJFML','523064GbyYqR','568211rQOMBv','234dqskef','4598208Shqkhj','751615ABHLuL','1QOZreN','pluginName','30rzNjFD','requires','10923VNwxEf','RealTimeCollaborativeEditing','isOfficialPlugin','252844QPmCFu'];_0x53bc=function(){return _0xfc91ee;};return _0x53bc();}var _0x43d2d6=_0xedce;(function(_0x4d8fda,_0x52ae0b){var _0x6f900f=_0xedce,_0x15916d=_0x4d8fda();while(!![]){try{var _0x521ac5=-parseInt(_0x6f900f(0x151))/0x1*(parseInt(_0x6f900f(0x14c))/0x2)+-parseInt(_0x6f900f(0x14b))/0x3*(parseInt(_0x6f900f(0x158))/0x4)+-parseInt(_0x6f900f(0x150))/0x5*(parseInt(_0x6f900f(0x153))/0x6)+-parseInt(_0x6f900f(0x14d))/0x7*(-parseInt(_0x6f900f(0x159))/0x8)+parseInt(_0x6f900f(0x14f))/0x9+parseInt(_0x6f900f(0x15c))/0xa*(-parseInt(_0x6f900f(0x155))/0xb)+parseInt(_0x6f900f(0x15a))/0xc*(parseInt(_0x6f900f(0x14e))/0xd);if(_0x521ac5===_0x52ae0b)break;else _0x15916d['push'](_0x15916d['shift']());}catch(_0x24ceff){_0x15916d['push'](_0x15916d['shift']());}}}(_0x53bc,0x91b0f));import{Plugin as _0x26c540}from'ckeditor5/src/core.js';import _0x561ddc from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x26c540{static get[_0x43d2d6(0x154)](){return[_0x561ddc];}static get[_0x43d2d6(0x152)](){var _0x2f721=_0x43d2d6;return _0x2f721(0x156);}static get[_0x43d2d6(0x157)](){return!0x0;}static get[_0x43d2d6(0x15b)](){return!0x0;}}
|