@ckeditor/ckeditor5-real-time-collaboration 43.3.0-alpha.10 → 43.3.0-alpha.12
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 _0x312122=_0x17a3;(function(_0x27d065,_0x35adfd){const _0x4dcce6=_0x17a3,_0x5b9a72=_0x27d065();while(!![]){try{const _0x26f6c7=-parseInt(_0x4dcce6(0x174))/0x1*(parseInt(_0x4dcce6(0x157))/0x2)+-parseInt(_0x4dcce6(0x179))/0x3+parseInt(_0x4dcce6(0x19b))/0x4+parseInt(_0x4dcce6(0x1b0))/0x5*(parseInt(_0x4dcce6(0x188))/0x6)+parseInt(_0x4dcce6(0x16b))/0x7+-parseInt(_0x4dcce6(0x15b))/0x8+-parseInt(_0x4dcce6(0x1a8))/0x9;if(_0x26f6c7===_0x35adfd)break;else _0x5b9a72['push'](_0x5b9a72['shift']());}catch(_0x55873e){_0x5b9a72['push'](_0x5b9a72['shift']());}}}(_0x7e00,0x9f0c6));import{Context as _0x905844,ContextPlugin as _0x305322}from'ckeditor5/src/core.js';import{CKEditorError as _0x3befc6}from'ckeditor5/src/utils.js';import{Users as _0x2c2895}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x224510,User as _0x50d11e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x445549 from'../realtimecollaborativeediting/websocketgateway.js';function _0x17a3(_0x306b83,_0x33a7a2){const _0x7e005e=_0x7e00();return _0x17a3=function(_0x17a3f5,_0x42db32){_0x17a3f5=_0x17a3f5-0x154;let _0x5dec77=_0x7e005e[_0x17a3f5];return _0x5dec77;},_0x17a3(_0x306b83,_0x33a7a2);}import _0x41b833 from'../realtimecollaborativeediting/sessions.js';class a extends _0x305322{static get[_0x312122(0x178)](){const _0x25cb1f=_0x312122;return[_0x445549,_0x25cb1f(0x196),_0x41b833,_0x2c2895];}static get[_0x312122(0x1aa)](){const _0x49a133=_0x312122;return _0x49a133(0x19d);}static get[_0x312122(0x180)](){return!0x0;}static get[_0x312122(0x18f)](){return!0x0;}constructor(_0x30013f){const _0xee3f6b=_0x312122;super(_0x30013f),this[_0xee3f6b(0x19c)]=new Map();}async[_0x312122(0x155)](){const _0x310231=_0x312122,_0x44aaa1=this[_0x310231(0x197)],_0x58563c=_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x310231(0x196));if(_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x445549)[_0x310231(0x1ad)](this),_0x58563c[_0x310231(0x172)]={'addCommentThread':async({channelId:_0x37f65f,threadId:_0x92455b,comments:_0x22c319,resolvedAt:_0x1eb4b4,resolvedBy:_0x3a7eca,context:_0x1f25af,attributes:_0x981ad7})=>{const _0x177532=_0x310231,_0x3ce691=await this[_0x177532(0x15d)](_0x37f65f)[_0x177532(0x171)]({'commentThreadId':_0x92455b,'comments':_0x22c319[_0x177532(0x182)](_0x2401b5=>function(_0x421b50,_0x4c9f4e,_0x161a10){const _0x3cbf21=_0x177532;return{'commentThreadId':_0x161a10,'commentId':_0x421b50[_0x3cbf21(0x1b1)],'userId':_0x421b50[_0x3cbf21(0x194)],'content':_0x421b50[_0x3cbf21(0x190)],'documentId':_0x4c9f4e,'createdAt':_0x421b50[_0x3cbf21(0x16e)],'attributes':_0x421b50[_0x3cbf21(0x1a6)]||{}};}(_0x2401b5,_0x37f65f,_0x92455b)),'resolvedAt':_0x1eb4b4,'resolvedBy':_0x3a7eca,'context':_0x1f25af,'attributes':_0x981ad7})[_0x177532(0x1b6)](R);return{'threadId':_0x3ce691[_0x177532(0x15e)],'comments':_0x3ce691[_0x177532(0x15a)]};},'getCommentThread':async({channelId:_0x4cced9,threadId:_0x2359da})=>{const _0x145394=_0x310231,_0x420093=await this[_0x145394(0x15d)](_0x4cced9)[_0x145394(0x1ac)](_0x2359da)[_0x145394(0x1b6)](R);return _0x420093[_0x145394(0x16f)]?null:(await this[_0x145394(0x162)]([_0x420093]),{'threadId':_0x420093[_0x145394(0x15e)],'comments':_0x420093[_0x145394(0x15a)][_0x145394(0x182)](S),'context':_0x420093[_0x145394(0x197)],'resolvedAt':_0x420093[_0x145394(0x166)],'resolvedBy':_0x420093[_0x145394(0x1ae)],'attributes':_0x420093[_0x145394(0x1a6)]||{}});},'updateCommentThread':async({channelId:_0xe20965,threadId:_0x16e4b9,context:_0x1c415d,unlinkedAt:_0x2d15f4,attributes:_0x5ef630})=>this[_0x310231(0x15d)](_0xe20965)[_0x310231(0x159)]({'commentThreadId':_0x16e4b9,'context':_0x1c415d,'attributes':_0x5ef630,'unlinkedAt':_0x2d15f4})[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'resolveCommentThread':async({channelId:_0x571067,threadId:_0x327cba})=>{const _0x4fea11=_0x310231,_0x3c6300=await this[_0x4fea11(0x15d)](_0x571067)[_0x4fea11(0x158)](_0x327cba)[_0x4fea11(0x1b6)](B)[_0x4fea11(0x1b6)](R);return{'threadId':_0x3c6300[_0x4fea11(0x15e)],'resolvedAt':_0x3c6300[_0x4fea11(0x166)],'resolvedBy':_0x3c6300[_0x4fea11(0x1ae)]};},'reopenCommentThread':async({channelId:_0x28d9b8,threadId:_0x40027c})=>this[_0x310231(0x15d)](_0x28d9b8)[_0x310231(0x16c)](_0x40027c)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'removeCommentThread':({channelId:_0x105f15,threadId:_0x17edc7})=>this[_0x310231(0x15d)](_0x105f15)[_0x310231(0x1b3)](_0x17edc7)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'addComment':({channelId:_0x82eed3,threadId:_0x33a831,commentId:_0x45176a,content:_0x5eec92,attributes:_0x20a1cf})=>this[_0x310231(0x15d)](_0x82eed3)[_0x310231(0x195)](_0x33a831,_0x45176a,_0x5eec92,_0x20a1cf)[_0x310231(0x1b6)](R),'updateComment':({channelId:_0x19ca00,threadId:_0x594c85,commentId:_0xf823bd,content:_0x340535,attributes:_0x2b65b1})=>this[_0x310231(0x15d)](_0x19ca00)[_0x310231(0x170)](_0x594c85,_0xf823bd,_0x340535,_0x2b65b1)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'removeComment':({channelId:_0x351959,threadId:_0x334cdb,commentId:_0xfc822b})=>this[_0x310231(0x15d)](_0x351959)[_0x310231(0x18d)](_0x334cdb,_0xfc822b)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R)},_0x44aaa1 instanceof _0x905844){const _0x5607fc=_0x44aaa1[_0x310231(0x16d)][_0x310231(0x17e)](_0x310231(0x1a3)),_0x40f368=_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x41b833);await this[_0x310231(0x163)](_0x5607fc);const _0x2909ba=await this[_0x310231(0x19c)][_0x310231(0x17e)](_0x5607fc)[_0x310231(0x17c)]();this[_0x310231(0x16a)](_0x40f368,_0x310231(0x18c)+_0x5607fc,(_0x2c1ebb,{session:_0x56b417})=>{const _0x3f583=_0x310231;_0x56b417['id']===_0x40f368[_0x3f583(0x1a7)]&&(_0x2c1ebb[_0x3f583(0x183)](),this[_0x3f583(0x197)][_0x3f583(0x18e)][_0x3f583(0x17e)](_0x3f583(0x19e))[_0x3f583(0x1a1)](_0x56b417[_0x3f583(0x1a2)],_0x5607fc));}),_0x40f368[_0x310231(0x176)](_0x5607fc,_0x2909ba);}}async[_0x312122(0x163)](_0x43caf8){const _0x57939c=_0x312122;if(this[_0x57939c(0x19c)][_0x57939c(0x18a)](_0x43caf8))throw new _0x3befc6(_0x57939c(0x181),null,{'channelId':_0x43caf8});const _0x1bc60b=this[_0x57939c(0x197)][_0x57939c(0x18e)][_0x57939c(0x17e)](_0x57939c(0x196)),_0x3f2155=new a[(_0x57939c(0x198))](_0x43caf8);this[_0x57939c(0x19c)][_0x57939c(0x175)](_0x43caf8,_0x3f2155),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x169),(_0x52004c,_0x55833b)=>{const _0xcb09e6=_0x57939c,{commentThreadId:_0x5baed5,documentId:_0x1e6847,context:_0x43bf34,attributes:_0x4810b8,resolvedAt:_0x33007a,resolvedBy:_0x17b96b,comments:_0x2c98ec}=_0x55833b;_0x1bc60b[_0xcb09e6(0x1ac)](_0x5baed5)||_0x1bc60b[_0xcb09e6(0x171)]({'threadId':_0x5baed5,'channelId':_0x1e6847,'comments':_0x2c98ec?_0x2c98ec[_0xcb09e6(0x182)](S):[],'context':_0x43bf34,'attributes':_0x4810b8,'resolvedAt':_0x33007a,'resolvedBy':_0x17b96b,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1b8),(_0x30df5a,{commentThreadId:_0x22a79b,documentId:_0x3c56e8,context:_0x3967e3,unlinkedAt:_0x3c7f4b,attributes:_0x9eb20e})=>{const _0x48ae87=_0x57939c;_0x1bc60b[_0x48ae87(0x1ac)](_0x22a79b)&&_0x1bc60b[_0x48ae87(0x159)]({'threadId':_0x22a79b,'channelId':_0x3c56e8,'context':_0x3967e3,'unlinkedAt':_0x3c7f4b,'attributes':_0x9eb20e,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1a5),(_0x43b306,{commentThreadId:_0x5e0023,resolvedBy:_0x23b516,resolvedAt:_0x936852})=>{const _0x53dcaa=_0x57939c,_0x13a9f7=_0x1bc60b[_0x53dcaa(0x1ac)](_0x5e0023);_0x13a9f7&&_0x13a9f7[_0x53dcaa(0x1b5)]({'resolvedBy':_0x23b516,'resolvedAt':_0x936852,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x17f),(_0x57e698,{commentThreadId:_0x19a37f})=>{const _0x3f614d=_0x57939c,_0x17c606=_0x1bc60b[_0x3f614d(0x1ac)](_0x19a37f);_0x17c606&&_0x17c606[_0x3f614d(0x1b7)]({'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x191),(_0x7a4e4f,{commentThreadId:_0x40b058})=>{const _0x403ebe=_0x57939c,_0x43415f=_0x1bc60b[_0x403ebe(0x1ac)](_0x40b058);_0x43415f&&_0x43415f[_0x403ebe(0x154)]({'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1af),(_0x5b1334,_0x28bd26)=>{const _0x172113=_0x57939c,_0x46217b=_0x28bd26[_0x172113(0x15e)],_0x2cb0f5=_0x1bc60b[_0x172113(0x1ac)](_0x46217b);_0x2cb0f5&&_0x2cb0f5[_0x172113(0x195)]({...S(_0x28bd26),'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x165),(_0x36e801,{commentThreadId:_0x1cab7a,commentId:_0x1dcae4,content:_0x5d2487,attributes:_0x55903c})=>{const _0x319e6b=_0x57939c,_0x2ea48f=_0x1bc60b[_0x319e6b(0x1ac)](_0x1cab7a);if(_0x2ea48f){const _0x2aa579=_0x2ea48f[_0x319e6b(0x184)](_0x1dcae4);_0x2aa579&&_0x2aa579[_0x319e6b(0x1a0)]({'content':_0x5d2487,'attributes':_0x55903c,'isFromAdapter':!0x0});}}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x161),(_0x423ae3,{commentThreadId:_0x47bc7e,commentId:_0x1b668e})=>{const _0x357482=_0x57939c,_0x16db8d=_0x1bc60b[_0x357482(0x1ac)](_0x47bc7e);if(_0x16db8d){const _0x1a5bd1=_0x16db8d[_0x357482(0x184)](_0x1b668e);_0x1a5bd1&&_0x1a5bd1[_0x357482(0x154)]({'isFromAdapter':!0x0});}}),await this[_0x57939c(0x18b)](_0x43caf8);}[_0x312122(0x186)](){const _0xcb83d8=_0x312122;if(this[_0xcb83d8(0x197)]instanceof _0x905844){const _0x1b45cd=this[_0xcb83d8(0x197)][_0xcb83d8(0x16d)][_0xcb83d8(0x17e)](_0xcb83d8(0x1a3));this[_0xcb83d8(0x192)](_0x1b45cd);}}[_0x312122(0x192)](_0x1a5c39){const _0x2d629c=_0x312122;if(!this[_0x2d629c(0x19c)][_0x2d629c(0x18a)](_0x1a5c39))throw new _0x3befc6(_0x2d629c(0x199),null,{'channelId':_0x1a5c39});this[_0x2d629c(0x15d)](_0x1a5c39)[_0x2d629c(0x173)](),this[_0x2d629c(0x19c)][_0x2d629c(0x1b2)](_0x1a5c39);}async[_0x312122(0x17b)](){const _0x265066=_0x312122;for(const _0x4d9f0f of this[_0x265066(0x19c)][_0x265066(0x167)]())await this[_0x265066(0x18b)](_0x4d9f0f);if(this[_0x265066(0x197)]instanceof _0x905844){const _0x4e61b7=this[_0x265066(0x197)][_0x265066(0x16d)][_0x265066(0x17e)](_0x265066(0x1a3)),_0x266313=this[_0x265066(0x197)][_0x265066(0x18e)][_0x265066(0x17e)](_0x41b833);_0x266313[_0x265066(0x189)](_0x4e61b7);const _0x1b4358=await this[_0x265066(0x19c)][_0x265066(0x17e)](_0x4e61b7)[_0x265066(0x17c)]();_0x266313[_0x265066(0x176)](_0x4e61b7,_0x1b4358);}}async[_0x312122(0x18b)](_0x3cc6b5){const _0x2ba597=_0x312122,{connection:_0x2a586b}=this[_0x2ba597(0x197)][_0x2ba597(0x18e)][_0x2ba597(0x17e)](_0x445549),_0x3cac90=this[_0x2ba597(0x197)][_0x2ba597(0x18e)][_0x2ba597(0x17e)](_0x2ba597(0x196)),_0x47c68e=this[_0x2ba597(0x19c)][_0x2ba597(0x17e)](_0x3cc6b5),_0x108de0=await _0x47c68e[_0x2ba597(0x193)](_0x2a586b);await this[_0x2ba597(0x162)](_0x108de0);const _0x350225=new Set(Array[_0x2ba597(0x164)](_0x3cac90[_0x2ba597(0x185)]({'channelId':_0x3cc6b5}),_0x4fdf8f=>_0x4fdf8f['id']));for(const _0x26bb84 of _0x108de0)_0x26bb84[_0x2ba597(0x16f)]||_0x350225[_0x2ba597(0x1b2)](_0x26bb84[_0x2ba597(0x15e)]);for(const _0x1d9c28 of _0x350225)_0x3cac90[_0x2ba597(0x1ac)](_0x1d9c28)[_0x2ba597(0x154)]({'isFromAdapter':!0x0});for(const _0x6dadf5 of _0x108de0){let _0xcbe874=_0x3cac90[_0x2ba597(0x1ac)](_0x6dadf5[_0x2ba597(0x15e)]);const {commentThreadId:_0x1f919d,context:_0x1da1ae,attributes:_0x318080,resolvedBy:_0x4bfa66,resolvedAt:_0x7a732a,unlinkedAt:_0x28daef,deletedAt:_0x30413f}=_0x6dadf5;if(_0x30413f)continue;_0xcbe874||(_0xcbe874=_0x3cac90[_0x2ba597(0x171)]({'channelId':_0x3cc6b5,'threadId':_0x1f919d,'context':_0x1da1ae,'attributes':_0x318080||{},'resolvedBy':_0x4bfa66,'resolvedAt':_0x7a732a,'unlinkedAt':_0x28daef,'isFromAdapter':!0x0}));const _0x1d749b=new Set(Array[_0x2ba597(0x164)](_0xcbe874[_0x2ba597(0x15a)],_0x4110b0=>_0x4110b0['id']));for(const _0x1a5c7d of _0x6dadf5[_0x2ba597(0x15a)])_0x1d749b[_0x2ba597(0x1b2)](_0x1a5c7d[_0x2ba597(0x1b1)]);for(const _0x22571d of _0x1d749b)_0xcbe874[_0x2ba597(0x184)](_0x22571d)[_0x2ba597(0x154)]({'isFromAdapter':!0x0});for(const _0x3c7806 of _0x6dadf5[_0x2ba597(0x15a)]){const _0x588ed2=_0xcbe874[_0x2ba597(0x184)](_0x3c7806[_0x2ba597(0x1b1)]);_0x588ed2?_0x588ed2[_0x2ba597(0x190)]!==_0x3c7806[_0x2ba597(0x190)]&&_0x588ed2[_0x2ba597(0x1a0)]({'content':_0x3c7806[_0x2ba597(0x190)],'isFromAdapter':!0x0}):_0xcbe874[_0x2ba597(0x195)](Object[_0x2ba597(0x187)](S(_0x3c7806),{'isFromAdapter':!0x0}));}}}[_0x312122(0x15d)](_0x2b4867){const _0xc5689b=_0x312122;if(!this[_0xc5689b(0x19c)][_0xc5689b(0x18a)](_0x2b4867))throw new _0x3befc6(_0xc5689b(0x15c),null,{'channelId':_0x2b4867});return this[_0xc5689b(0x19c)][_0xc5689b(0x17e)](_0x2b4867);}async[_0x312122(0x162)](_0x43d024){const _0xf2d7c7=_0x312122,_0xb16b41=this[_0xf2d7c7(0x197)][_0xf2d7c7(0x18e)][_0xf2d7c7(0x17e)](_0x2c2895),{connection:_0x2dc0a2}=this[_0xf2d7c7(0x197)][_0xf2d7c7(0x18e)][_0xf2d7c7(0x17e)](_0x445549),_0x13da3b=new Set();for(const {resolvedBy:_0x8fa891,comments:_0x440c38}of _0x43d024){_0x8fa891&&!_0xb16b41[_0xf2d7c7(0x1a9)](_0x8fa891)&&_0x13da3b[_0xf2d7c7(0x17d)](_0x8fa891);for(const {userId:_0x4acaf2}of _0x440c38)_0xb16b41[_0xf2d7c7(0x1a9)](_0x4acaf2)||_0x13da3b[_0xf2d7c7(0x17d)](_0x4acaf2);}if(0x0===_0x13da3b[_0xf2d7c7(0x1b4)])return;const _0x472e54=await _0x50d11e[_0xf2d7c7(0x15f)](_0x2dc0a2,Array[_0xf2d7c7(0x164)](_0x13da3b));for(const _0x481380 of _0x472e54)_0xb16b41[_0xf2d7c7(0x1a9)](_0x481380['id'])||_0xb16b41[_0xf2d7c7(0x1ab)](_0x481380);}}a[_0x312122(0x198)]=_0x224510;export default a;async function B(_0x5d30f0){const _0x43c438=_0x312122;if(_0x43c438(0x17a)!==_0x5d30f0[_0x43c438(0x160)])throw _0x5d30f0;}function R(_0x57c448){const _0x202f6a=_0x312122;if((_0x33701e=_0x57c448)[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x156))||_0x33701e[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x19f))||_0x33701e[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x1a4)))return new Promise(()=>{});var _0x33701e;throw _0x57c448;}function S(_0x78108c){const _0x240ff2=_0x312122;return{'threadId':_0x78108c[_0x240ff2(0x15e)],'commentId':_0x78108c[_0x240ff2(0x1b1)],'content':_0x78108c[_0x240ff2(0x190)],'createdAt':_0x78108c[_0x240ff2(0x16e)],'authorId':_0x78108c[_0x240ff2(0x19a)],'attributes':_0x78108c[_0x240ff2(0x1a6)]||{}};}function _0x7e00(){const _0x12d18a=['addToReconnectionStack','resolvedBy','commentAdded','5ifDgVe','commentId','delete','removeCommentThread','size','resolve','catch','reopen','commentThreadUpdated','remove','init','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','11736PwQwtc','resolveCommentThread','updateCommentThread','comments','5331568lrwhZC','cloudservicescommentsadapter-service-not-exist','_getService','commentThreadId','getMany','code','commentRemoved','_fetchMissingUsersForThreads','_setUpService','from','commentUpdated','resolvedAt','keys','startsWith','commentThreadAdded','listenTo','5481364jxEBfx','reopenCommentThread','config','createdAt','deletedAt','updateComment','addCommentThread','adapter','disconnect','2kvmcVy','set','register','message','requires','527082HZLQxD','404','reconnect','getConnectedSessions','add','get','commentThreadReopened','isOfficialPlugin','cloudservicescommentsadapter-connect-already-connected','map','off','getComment','getCommentThreads','destroy','assign','1188210nHiLxt','unregister','has','_connectService','sessionAdd:','removeComment','plugins','isPremiumPlugin','content','commentThreadRemoved','_terminateService','connect','authorId','addComment','CommentsRepository','context','CommentsService','cloudservicescommentsadapter-disconnect-not-exist','userId','5098324lkwjPv','_services','CloudServicesCommentsAdapter','Permissions','cloud-services-internal-error:\x20Not\x20connected.','update','setPermissions','permissions','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadResolved','attributes','mySessionId','6752970lmwKuD','getUser','pluginName','addUser','getCommentThread'];_0x7e00=function(){return _0x12d18a;};return _0x7e00();}
|
|
23
|
+
const _0x11f451=_0x30d0;(function(_0x3aee27,_0x37d005){const _0x514c3e=_0x30d0,_0x497640=_0x3aee27();while(!![]){try{const _0x283781=parseInt(_0x514c3e(0x1cb))/0x1*(-parseInt(_0x514c3e(0x1d2))/0x2)+parseInt(_0x514c3e(0x1b4))/0x3+-parseInt(_0x514c3e(0x1d9))/0x4*(-parseInt(_0x514c3e(0x1b2))/0x5)+-parseInt(_0x514c3e(0x178))/0x6*(parseInt(_0x514c3e(0x1ca))/0x7)+parseInt(_0x514c3e(0x1ab))/0x8+-parseInt(_0x514c3e(0x180))/0x9*(parseInt(_0x514c3e(0x1aa))/0xa)+parseInt(_0x514c3e(0x193))/0xb;if(_0x283781===_0x37d005)break;else _0x497640['push'](_0x497640['shift']());}catch(_0x1c0d47){_0x497640['push'](_0x497640['shift']());}}}(_0x28de,0xe6721));import{Context as _0x340b39,ContextPlugin as _0xf9d760}from'ckeditor5/src/core.js';import{CKEditorError as _0x50e048}from'ckeditor5/src/utils.js';import{Users as _0x3b947e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x28de(){const _0xc01b4a=['plugins','getCommentThreads','remove','resolveCommentThread','map','isOfficialPlugin','removeCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getComment','connect','assign','commentUpdated','_services','code','19544778HyEDzs','getConnectedSessions','has','cloud-services-internal-error:\x20Not\x20connected.','get','getMany','unregister','add','Permissions','commentAdded','pluginName','adapter','config','404','_setUpService','reopenCommentThread','CommentsRepository','deletedAt','comments','set','collaboration.channelId','init','off','10410FHwDzS','3606336JtEAll','userId','cloudservicescommentsadapter-service-not-exist','resolve','size','cloudservicescommentsadapter-connect-already-connected','commentRemoved','5275afKBEw','permissions','1232691LnKZUc','addToReconnectionStack','mySessionId','resolvedAt','commentThreadUpdated','addUser','CommentsService','context','_terminateService','createdAt','sessionAdd:','addCommentThread','message','getCommentThread','keys','CloudServicesCommentsAdapter','authorId','catch','disconnect','from','startsWith','updateComment','14wTLBPY','895729hQAwxB','destroy','delete','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','_getService','resolvedBy','2VnIfwa','commentThreadId','cloud-services-internal-error:\x20Request\x20timeout.','removeComment','_fetchMissingUsersForThreads','commentThreadRemoved','attributes','2936pNwqxM','addComment','reconnect','getUser','content','register','4160652AYUcCm','commentThreadReopened','_connectService','isPremiumPlugin','reopen','commentThreadAdded','requires','setPermissions','1611aQKuqf','update','listenTo','commentId','updateCommentThread'];_0x28de=function(){return _0xc01b4a;};return _0x28de();}import{CommentsService as _0x35e020,User as _0x5591ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3ab68b from'../realtimecollaborativeediting/websocketgateway.js';function _0x30d0(_0x138d14,_0x5a31a3){const _0x28dee6=_0x28de();return _0x30d0=function(_0x30d048,_0x288506){_0x30d048=_0x30d048-0x176;let _0x1d138c=_0x28dee6[_0x30d048];return _0x1d138c;},_0x30d0(_0x138d14,_0x5a31a3);}import _0x2699e6 from'../realtimecollaborativeediting/sessions.js';class a extends _0xf9d760{static get[_0x11f451(0x17e)](){const _0xb7fd08=_0x11f451;return[_0x3ab68b,_0xb7fd08(0x1a3),_0x2699e6,_0x3b947e];}static get[_0x11f451(0x19d)](){const _0x5889e0=_0x11f451;return _0x5889e0(0x1c3);}static get[_0x11f451(0x18a)](){return!0x0;}static get[_0x11f451(0x17b)](){return!0x0;}constructor(_0xd15f9e){const _0xc6e72f=_0x11f451;super(_0xd15f9e),this[_0xc6e72f(0x191)]=new Map();}async[_0x11f451(0x1a8)](){const _0x1f653f=_0x11f451,_0xba9063=this[_0x1f653f(0x1bb)],_0x50914d=_0xba9063[_0x1f653f(0x185)][_0x1f653f(0x197)](_0x1f653f(0x1a3));if(_0xba9063[_0x1f653f(0x185)][_0x1f653f(0x197)](_0x3ab68b)[_0x1f653f(0x1b5)](this),_0x50914d[_0x1f653f(0x19e)]={'addCommentThread':async({channelId:_0x31de5f,threadId:_0x5645d3,comments:_0x3359ef,resolvedAt:_0x80f7a7,resolvedBy:_0x8a9a43,context:_0x3aff2c,attributes:_0x581c46})=>{const _0xe62a90=_0x1f653f,_0x3954e0=await this[_0xe62a90(0x1d0)](_0x31de5f)[_0xe62a90(0x1bf)]({'commentThreadId':_0x5645d3,'comments':_0x3359ef[_0xe62a90(0x189)](_0x4c8ed8=>function(_0x579ce2,_0x4d885c,_0x4b8cfd){const _0x4cdea5=_0xe62a90;return{'commentThreadId':_0x4b8cfd,'commentId':_0x579ce2[_0x4cdea5(0x183)],'userId':_0x579ce2[_0x4cdea5(0x1c4)],'content':_0x579ce2[_0x4cdea5(0x176)],'documentId':_0x4d885c,'createdAt':_0x579ce2[_0x4cdea5(0x1bd)],'attributes':_0x579ce2[_0x4cdea5(0x1d8)]||{}};}(_0x4c8ed8,_0x31de5f,_0x5645d3)),'resolvedAt':_0x80f7a7,'resolvedBy':_0x8a9a43,'context':_0x3aff2c,'attributes':_0x581c46})[_0xe62a90(0x1c5)](w);return{'threadId':_0x3954e0[_0xe62a90(0x1d3)],'comments':_0x3954e0[_0xe62a90(0x1a5)]};},'getCommentThread':async({channelId:_0x345a12,threadId:_0x13e99d})=>{const _0x4c69e4=_0x1f653f,_0x4bd460=await this[_0x4c69e4(0x1d0)](_0x345a12)[_0x4c69e4(0x1c1)](_0x13e99d)[_0x4c69e4(0x1c5)](w);return _0x4bd460[_0x4c69e4(0x1a4)]?null:(await this[_0x4c69e4(0x1d6)]([_0x4bd460]),{'threadId':_0x4bd460[_0x4c69e4(0x1d3)],'comments':_0x4bd460[_0x4c69e4(0x1a5)][_0x4c69e4(0x189)](b),'context':_0x4bd460[_0x4c69e4(0x1bb)],'resolvedAt':_0x4bd460[_0x4c69e4(0x1b7)],'resolvedBy':_0x4bd460[_0x4c69e4(0x1d1)],'attributes':_0x4bd460[_0x4c69e4(0x1d8)]||{}});},'updateCommentThread':async({channelId:_0x5ead92,threadId:_0x1643f3,context:_0x25f54d,unlinkedAt:_0x361e08,attributes:_0x39a644})=>this[_0x1f653f(0x1d0)](_0x5ead92)[_0x1f653f(0x184)]({'commentThreadId':_0x1643f3,'context':_0x25f54d,'attributes':_0x39a644,'unlinkedAt':_0x361e08})[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'resolveCommentThread':async({channelId:_0x3479ee,threadId:_0x84470b})=>{const _0x180e1f=_0x1f653f,_0x382226=await this[_0x180e1f(0x1d0)](_0x3479ee)[_0x180e1f(0x188)](_0x84470b)[_0x180e1f(0x1c5)](y)[_0x180e1f(0x1c5)](w);return{'threadId':_0x382226[_0x180e1f(0x1d3)],'resolvedAt':_0x382226[_0x180e1f(0x1b7)],'resolvedBy':_0x382226[_0x180e1f(0x1d1)]};},'reopenCommentThread':async({channelId:_0xff6f52,threadId:_0x523a59})=>this[_0x1f653f(0x1d0)](_0xff6f52)[_0x1f653f(0x1a2)](_0x523a59)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'removeCommentThread':({channelId:_0x21264f,threadId:_0x408bb6})=>this[_0x1f653f(0x1d0)](_0x21264f)[_0x1f653f(0x18b)](_0x408bb6)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'addComment':({channelId:_0x1e773e,threadId:_0x294480,commentId:_0x236a6b,content:_0x3ba550,attributes:_0x259cda})=>this[_0x1f653f(0x1d0)](_0x1e773e)[_0x1f653f(0x1da)](_0x294480,_0x236a6b,_0x3ba550,_0x259cda)[_0x1f653f(0x1c5)](w),'updateComment':({channelId:_0x4166b7,threadId:_0x32425c,commentId:_0x51dfde,content:_0xea8548,attributes:_0x482e67})=>this[_0x1f653f(0x1d0)](_0x4166b7)[_0x1f653f(0x1c9)](_0x32425c,_0x51dfde,_0xea8548,_0x482e67)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'removeComment':({channelId:_0x342bce,threadId:_0x26b97b,commentId:_0x5017ab})=>this[_0x1f653f(0x1d0)](_0x342bce)[_0x1f653f(0x1d5)](_0x26b97b,_0x5017ab)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w)},_0xba9063 instanceof _0x340b39){const _0x5925a5=_0xba9063[_0x1f653f(0x19f)][_0x1f653f(0x197)](_0x1f653f(0x1a7)),_0x2df141=_0xba9063[_0x1f653f(0x185)][_0x1f653f(0x197)](_0x2699e6);await this[_0x1f653f(0x1a1)](_0x5925a5);const _0x246598=await this[_0x1f653f(0x191)][_0x1f653f(0x197)](_0x5925a5)[_0x1f653f(0x194)]();this[_0x1f653f(0x182)](_0x2df141,_0x1f653f(0x1be)+_0x5925a5,(_0x202ea2,{session:_0x4f7488})=>{const _0x49d2ab=_0x1f653f;_0x4f7488['id']===_0x2df141[_0x49d2ab(0x1b6)]&&(_0x202ea2[_0x49d2ab(0x1a9)](),this[_0x49d2ab(0x1bb)][_0x49d2ab(0x185)][_0x49d2ab(0x197)](_0x49d2ab(0x19b))[_0x49d2ab(0x17f)](_0x4f7488[_0x49d2ab(0x1b3)],_0x5925a5));}),_0x2df141[_0x1f653f(0x177)](_0x5925a5,_0x246598);}}async[_0x11f451(0x1a1)](_0x58a0f1){const _0x207f51=_0x11f451;if(this[_0x207f51(0x191)][_0x207f51(0x195)](_0x58a0f1))throw new _0x50e048(_0x207f51(0x1b0),null,{'channelId':_0x58a0f1});const _0x32ae41=this[_0x207f51(0x1bb)][_0x207f51(0x185)][_0x207f51(0x197)](_0x207f51(0x1a3)),_0x46eea3=new a[(_0x207f51(0x1ba))](_0x58a0f1);this[_0x207f51(0x191)][_0x207f51(0x1a6)](_0x58a0f1,_0x46eea3),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x17d),(_0x2edb1d,_0x4ae1cf)=>{const _0x106e9a=_0x207f51,{commentThreadId:_0x6de3b9,documentId:_0x8ba5f8,context:_0x4b57cd,attributes:_0x2fff46,resolvedAt:_0x11c1cb,resolvedBy:_0x3df898,comments:_0x91cfec}=_0x4ae1cf;_0x32ae41[_0x106e9a(0x1c1)](_0x6de3b9)||_0x32ae41[_0x106e9a(0x1bf)]({'threadId':_0x6de3b9,'channelId':_0x8ba5f8,'comments':_0x91cfec?_0x91cfec[_0x106e9a(0x189)](b):[],'context':_0x4b57cd,'attributes':_0x2fff46,'resolvedAt':_0x11c1cb,'resolvedBy':_0x3df898,'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1b8),(_0x1dbc5c,{commentThreadId:_0x20d35b,documentId:_0x4f048c,context:_0x3dee5a,unlinkedAt:_0x5f54f2,attributes:_0x4bfaf6})=>{const _0x414863=_0x207f51;_0x32ae41[_0x414863(0x1c1)](_0x20d35b)&&_0x32ae41[_0x414863(0x184)]({'threadId':_0x20d35b,'channelId':_0x4f048c,'context':_0x3dee5a,'unlinkedAt':_0x5f54f2,'attributes':_0x4bfaf6,'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1cf),(_0x31c8cb,{commentThreadId:_0x57198f,resolvedBy:_0x32f9fa,resolvedAt:_0x2eb1f6})=>{const _0x13e842=_0x207f51,_0x254dbd=_0x32ae41[_0x13e842(0x1c1)](_0x57198f);_0x254dbd&&_0x254dbd[_0x13e842(0x1ae)]({'resolvedBy':_0x32f9fa,'resolvedAt':_0x2eb1f6,'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x179),(_0x44eb21,{commentThreadId:_0x56f9f4})=>{const _0x2faf56=_0x207f51,_0x5de4ff=_0x32ae41[_0x2faf56(0x1c1)](_0x56f9f4);_0x5de4ff&&_0x5de4ff[_0x2faf56(0x17c)]({'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1d7),(_0x2653cc,{commentThreadId:_0x3dbfc4})=>{const _0x11b3f9=_0x207f51,_0x488a1c=_0x32ae41[_0x11b3f9(0x1c1)](_0x3dbfc4);_0x488a1c&&_0x488a1c[_0x11b3f9(0x187)]({'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x19c),(_0x425746,_0x73071d)=>{const _0x2de7a7=_0x207f51,_0x587736=_0x73071d[_0x2de7a7(0x1d3)],_0x43a0d3=_0x32ae41[_0x2de7a7(0x1c1)](_0x587736);_0x43a0d3&&_0x43a0d3[_0x2de7a7(0x1da)]({...b(_0x73071d),'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x190),(_0x585491,{commentThreadId:_0x1ca1bf,commentId:_0x1c2c70,content:_0x57b8a5,attributes:_0x2de6df})=>{const _0x43748b=_0x207f51,_0x520cea=_0x32ae41[_0x43748b(0x1c1)](_0x1ca1bf);if(_0x520cea){const _0x1ef748=_0x520cea[_0x43748b(0x18d)](_0x1c2c70);_0x1ef748&&_0x1ef748[_0x43748b(0x181)]({'content':_0x57b8a5,'attributes':_0x2de6df,'isFromAdapter':!0x0});}}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1b1),(_0x3580e0,{commentThreadId:_0x390e45,commentId:_0x50e444})=>{const _0x538bd1=_0x207f51,_0xfbea60=_0x32ae41[_0x538bd1(0x1c1)](_0x390e45);if(_0xfbea60){const _0x4766a6=_0xfbea60[_0x538bd1(0x18d)](_0x50e444);_0x4766a6&&_0x4766a6[_0x538bd1(0x187)]({'isFromAdapter':!0x0});}}),await this[_0x207f51(0x17a)](_0x58a0f1);}[_0x11f451(0x1cc)](){const _0x4b068a=_0x11f451;if(this[_0x4b068a(0x1bb)]instanceof _0x340b39){const _0x4fa50b=this[_0x4b068a(0x1bb)][_0x4b068a(0x19f)][_0x4b068a(0x197)](_0x4b068a(0x1a7));this[_0x4b068a(0x1bc)](_0x4fa50b);}}[_0x11f451(0x1bc)](_0x461687){const _0x6dd47f=_0x11f451;if(!this[_0x6dd47f(0x191)][_0x6dd47f(0x195)](_0x461687))throw new _0x50e048(_0x6dd47f(0x1ce),null,{'channelId':_0x461687});this[_0x6dd47f(0x1d0)](_0x461687)[_0x6dd47f(0x1c6)](),this[_0x6dd47f(0x191)][_0x6dd47f(0x1cd)](_0x461687);}async[_0x11f451(0x1db)](){const _0x4b452e=_0x11f451;for(const _0x2bb554 of this[_0x4b452e(0x191)][_0x4b452e(0x1c2)]())await this[_0x4b452e(0x17a)](_0x2bb554);if(this[_0x4b452e(0x1bb)]instanceof _0x340b39){const _0x37d55a=this[_0x4b452e(0x1bb)][_0x4b452e(0x19f)][_0x4b452e(0x197)](_0x4b452e(0x1a7)),_0x309c0=this[_0x4b452e(0x1bb)][_0x4b452e(0x185)][_0x4b452e(0x197)](_0x2699e6);_0x309c0[_0x4b452e(0x199)](_0x37d55a);const _0x33b156=await this[_0x4b452e(0x191)][_0x4b452e(0x197)](_0x37d55a)[_0x4b452e(0x194)]();_0x309c0[_0x4b452e(0x177)](_0x37d55a,_0x33b156);}}async[_0x11f451(0x17a)](_0x60ef7d){const _0x1d2290=_0x11f451,{connection:_0x1b1d38}=this[_0x1d2290(0x1bb)][_0x1d2290(0x185)][_0x1d2290(0x197)](_0x3ab68b),_0x52baca=this[_0x1d2290(0x1bb)][_0x1d2290(0x185)][_0x1d2290(0x197)](_0x1d2290(0x1a3)),_0x302cff=this[_0x1d2290(0x191)][_0x1d2290(0x197)](_0x60ef7d),_0x11904f=await _0x302cff[_0x1d2290(0x18e)](_0x1b1d38);await this[_0x1d2290(0x1d6)](_0x11904f);const _0x5cb18a=new Set(Array[_0x1d2290(0x1c7)](_0x52baca[_0x1d2290(0x186)]({'channelId':_0x60ef7d}),_0xd55d0d=>_0xd55d0d['id']));for(const _0x6377e7 of _0x11904f)_0x6377e7[_0x1d2290(0x1a4)]||_0x5cb18a[_0x1d2290(0x1cd)](_0x6377e7[_0x1d2290(0x1d3)]);for(const _0x67524c of _0x5cb18a)_0x52baca[_0x1d2290(0x1c1)](_0x67524c)[_0x1d2290(0x187)]({'isFromAdapter':!0x0});for(const _0x300439 of _0x11904f){let _0x1beaa2=_0x52baca[_0x1d2290(0x1c1)](_0x300439[_0x1d2290(0x1d3)]);const {commentThreadId:_0x4f7688,context:_0xf6909c,attributes:_0x3ff305,resolvedBy:_0x2dbe27,resolvedAt:_0xdf1aa1,unlinkedAt:_0x4a21a6,deletedAt:_0x5dac33}=_0x300439;if(_0x5dac33)continue;_0x1beaa2||(_0x1beaa2=_0x52baca[_0x1d2290(0x1bf)]({'channelId':_0x60ef7d,'threadId':_0x4f7688,'context':_0xf6909c,'attributes':_0x3ff305||{},'resolvedBy':_0x2dbe27,'resolvedAt':_0xdf1aa1,'unlinkedAt':_0x4a21a6,'isFromAdapter':!0x0}));const _0x4cb347=new Set(Array[_0x1d2290(0x1c7)](_0x1beaa2[_0x1d2290(0x1a5)],_0x2b1eee=>_0x2b1eee['id']));for(const _0x59b1d5 of _0x300439[_0x1d2290(0x1a5)])_0x4cb347[_0x1d2290(0x1cd)](_0x59b1d5[_0x1d2290(0x183)]);for(const _0x68fe74 of _0x4cb347)_0x1beaa2[_0x1d2290(0x18d)](_0x68fe74)[_0x1d2290(0x187)]({'isFromAdapter':!0x0});for(const _0x1e26b6 of _0x300439[_0x1d2290(0x1a5)]){const _0x13cd16=_0x1beaa2[_0x1d2290(0x18d)](_0x1e26b6[_0x1d2290(0x183)]);_0x13cd16?_0x13cd16[_0x1d2290(0x176)]!==_0x1e26b6[_0x1d2290(0x176)]&&_0x13cd16[_0x1d2290(0x181)]({'content':_0x1e26b6[_0x1d2290(0x176)],'isFromAdapter':!0x0}):_0x1beaa2[_0x1d2290(0x1da)](Object[_0x1d2290(0x18f)](b(_0x1e26b6),{'isFromAdapter':!0x0}));}}}[_0x11f451(0x1d0)](_0x13e31b){const _0x3aaa1d=_0x11f451;if(!this[_0x3aaa1d(0x191)][_0x3aaa1d(0x195)](_0x13e31b))throw new _0x50e048(_0x3aaa1d(0x1ad),null,{'channelId':_0x13e31b});return this[_0x3aaa1d(0x191)][_0x3aaa1d(0x197)](_0x13e31b);}async[_0x11f451(0x1d6)](_0x4fdb6b){const _0x354ffa=_0x11f451,_0x5d36b0=this[_0x354ffa(0x1bb)][_0x354ffa(0x185)][_0x354ffa(0x197)](_0x3b947e),{connection:_0x120154}=this[_0x354ffa(0x1bb)][_0x354ffa(0x185)][_0x354ffa(0x197)](_0x3ab68b),_0x3aa79b=new Set();for(const {resolvedBy:_0x41c852,comments:_0x58c381}of _0x4fdb6b){_0x41c852&&!_0x5d36b0[_0x354ffa(0x1dc)](_0x41c852)&&_0x3aa79b[_0x354ffa(0x19a)](_0x41c852);for(const {userId:_0x43aa23}of _0x58c381)_0x5d36b0[_0x354ffa(0x1dc)](_0x43aa23)||_0x3aa79b[_0x354ffa(0x19a)](_0x43aa23);}if(0x0===_0x3aa79b[_0x354ffa(0x1af)])return;const _0x3cc1de=await _0x5591ab[_0x354ffa(0x198)](_0x120154,Array[_0x354ffa(0x1c7)](_0x3aa79b));for(const _0x2276fe of _0x3cc1de)_0x5d36b0[_0x354ffa(0x1dc)](_0x2276fe['id'])||_0x5d36b0[_0x354ffa(0x1b9)](_0x2276fe);}}a[_0x11f451(0x1ba)]=_0x35e020;export default a;async function y(_0x1516eb){const _0x593dbe=_0x11f451;if(_0x593dbe(0x1a0)!==_0x1516eb[_0x593dbe(0x192)])throw _0x1516eb;}function w(_0x5e9c13){const _0x4d973c=_0x11f451;if((_0x282821=_0x5e9c13)[_0x4d973c(0x1c0)][_0x4d973c(0x1c8)](_0x4d973c(0x18c))||_0x282821[_0x4d973c(0x1c0)][_0x4d973c(0x1c8)](_0x4d973c(0x196))||_0x282821[_0x4d973c(0x1c0)][_0x4d973c(0x1c8)](_0x4d973c(0x1d4)))return new Promise(()=>{});var _0x282821;throw _0x5e9c13;}function b(_0x287cdc){const _0x28b354=_0x11f451;return{'threadId':_0x287cdc[_0x28b354(0x1d3)],'commentId':_0x287cdc[_0x28b354(0x183)],'content':_0x287cdc[_0x28b354(0x176)],'createdAt':_0x287cdc[_0x28b354(0x1bd)],'authorId':_0x287cdc[_0x28b354(0x1ac)],'attributes':_0x287cdc[_0x28b354(0x1d8)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x250099=_0x28df;(function(_0x234882,_0x42d51a){const _0x5d9be9=_0x28df,_0x10340a=_0x234882();while(!![]){try{const _0x4a0689=parseInt(_0x5d9be9(0x9f))/0x1+-parseInt(_0x5d9be9(0x8b))/0x2*(parseInt(_0x5d9be9(0x97))/0x3)+-parseInt(_0x5d9be9(0x9d))/0x4*(-parseInt(_0x5d9be9(0xa2))/0x5)+-parseInt(_0x5d9be9(0x94))/0x6*(parseInt(_0x5d9be9(0x8c))/0x7)+parseInt(_0x5d9be9(0xaa))/0x8*(parseInt(_0x5d9be9(0x86))/0x9)+-parseInt(_0x5d9be9(0x89))/0xa+-parseInt(_0x5d9be9(0xa0))/0xb*(-parseInt(_0x5d9be9(0xa3))/0xc);if(_0x4a0689===_0x42d51a)break;else _0x10340a['push'](_0x10340a['shift']());}catch(_0x5486c8){_0x10340a['push'](_0x10340a['shift']());}}}(_0x53b0,0xad142));function _0x28df(_0x1ba847,_0xb2b432){const _0x53b0c9=_0x53b0();return _0x28df=function(_0x28df4f,_0x59fb63){_0x28df4f=_0x28df4f-0x86;let _0x4a1edf=_0x53b0c9[_0x28df4f];return _0x4a1edf;},_0x28df(_0x1ba847,_0xb2b432);}import{Plugin as _0x56a9a3}from'ckeditor5/src/core.js';function _0x53b0(){const _0x2f5b97=['once','pluginName','7977650EBDygd','change:state','16eHDPqh','3787SGDyrW','collaboration.channelId','ready','listenTo','_setUpService','isPremiumPlugin','switchReadOnly','isOfficialPlugin','8886KYcoib','requires','_terminateService','386556TULkdE','isThreadsLoadingPaused','destroy','editor','config','plugins','1592192pxDNcI','Comments','274978jJtfip','77DtKUlf','CommentsEditing','5PedFSM','2456364znBKKs','RealTimeCollaborativeComments','CommentsRepository','data','get','connected','init','9862616stYhit','9vuDPde'];_0x53b0=function(){return _0x2f5b97;};return _0x53b0();}import _0xc8caee from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x20a8b9 from'./realtimecollaborativeediting.js';import _0xabbb90 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x56a9a3{static get[_0x250099(0x95)](){const _0xccf148=_0x250099;return[_0xccf148(0x9e),_0xc8caee,_0x20a8b9,_0xabbb90];}static get[_0x250099(0x88)](){const _0xfa0ee8=_0x250099;return _0xfa0ee8(0xa4);}static get[_0x250099(0x93)](){return!0x0;}static get[_0x250099(0x91)](){return!0x0;}[_0x250099(0xa9)](){const _0x1e7a9f=_0x250099,_0x5d66d5=this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9c)][_0x1e7a9f(0xa7)](_0xabbb90),_0x38f154=this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9c)][_0x1e7a9f(0xa7)](_0x1e7a9f(0xa1)),_0x498f80=this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9c)][_0x1e7a9f(0xa7)](_0xc8caee);return this[_0x1e7a9f(0x9a)][_0x1e7a9f(0xa6)][_0x1e7a9f(0x87)](_0x1e7a9f(0x8e),()=>{const _0x3d8db0=_0x1e7a9f;this[_0x3d8db0(0x8f)](_0x5d66d5,_0x3d8db0(0x8a),(_0x2caa3a,_0x599fb3,_0xb8de06)=>{const _0x1fc290=_0x3d8db0;_0x38f154[_0x1fc290(0x98)]=_0x1fc290(0xa8)!==_0xb8de06;});}),this[_0x1e7a9f(0x8f)](_0x5d66d5,_0x1e7a9f(0x8a),(_0x56543d,_0x516ef6,_0x2d7550)=>{const _0x4f9f40=_0x1e7a9f;this[_0x4f9f40(0x9a)][_0x4f9f40(0x9c)][_0x4f9f40(0xa7)](_0x4f9f40(0xa5))[_0x4f9f40(0x92)](_0x4f9f40(0xa8)!==_0x2d7550);}),_0x498f80[_0x1e7a9f(0x90)](this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9b)][_0x1e7a9f(0xa7)](_0x1e7a9f(0x8d)));}[_0x250099(0x99)](){const _0x90ce38=_0x250099;this[_0x90ce38(0x9a)][_0x90ce38(0x9c)][_0x90ce38(0xa7)](_0xc8caee)[_0x90ce38(0x96)](this[_0x90ce38(0x9a)][_0x90ce38(0x9b)][_0x90ce38(0xa7)](_0x90ce38(0x8d))),super[_0x90ce38(0x99)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2e6873=_0x36a1;(function(_0x28e48c,_0xa5ddb8){const _0x326dcc=_0x36a1,_0x27be78=_0x28e48c();while(!![]){try{const _0x672920=-parseInt(_0x326dcc(0x192))/0x1*(-parseInt(_0x326dcc(0x16f))/0x2)+parseInt(_0x326dcc(0x1c9))/0x3*(parseInt(_0x326dcc(0x16a))/0x4)+parseInt(_0x326dcc(0x23c))/0x5+parseInt(_0x326dcc(0x1cc))/0x6+-parseInt(_0x326dcc(0x1fe))/0x7+-parseInt(_0x326dcc(0x20b))/0x8+-parseInt(_0x326dcc(0x254))/0x9*(-parseInt(_0x326dcc(0x22f))/0xa);if(_0x672920===_0xa5ddb8)break;else _0x27be78['push'](_0x27be78['shift']());}catch(_0x14930e){_0x27be78['push'](_0x27be78['shift']());}}}(_0x54cf,0x8fa07));import{Plugin as _0x786d0f,PendingActions as _0x1b489a}from'ckeditor5/src/core.js';import{CKEditorError as _0x4787a2,version as _0x56134d,uid as _0x457978}from'ckeditor5/src/utils.js';import{Notification as _0x4ecdb1}from'ckeditor5/src/ui.js';import{transformSets as _0x8f13e,NoOperation as _0xfc3929,InsertOperation as _0xc48594,MarkerOperation as _0x3dd1dd,RootAttributeOperation as _0x4d5783,OperationFactory as _0x4c0a9a,History as _0x598ee3}from'ckeditor5/src/engine.js';import _0x5be8b1 from'./websocketgateway.js';import _0x505bf5 from'./sessions.js';import _0x9f4d7c from'./usermarkers.js';import{getTranslation as _0x5d61d7}from'../common-translations.js';import{Compressor as _0x4b5484}from'@ckeditor/ckeditor5-operations-compressor';function _0x36a1(_0xb82d6b,_0xf47e7f){const _0x54cf3c=_0x54cf();return _0x36a1=function(_0x36a150,_0x2605f1){_0x36a150=_0x36a150-0x154;let _0x625dc8=_0x54cf3c[_0x36a150];return _0x625dc8;},_0x36a1(_0xb82d6b,_0xf47e7f);}import{Users as _0x489e54}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x54cf(){const _0x3dde5f=['has','newRange','getIdOfTheLastOperation','register','filter','pluginName','_disconnectService','_shouldSendSelectionUpdate','decompress','remove','_sendBufferedOperationsDelayed','disableReadOnlyMode','getOperations','_addKnownRoot','$root','mySessionId','enqueueChange','message','reset','_service','differ','clone','isPremiumPlugin','createRoot','createdAt','change:hasDomSelection','realtimecollaborationclient-init-session-connection-error','isEnabled','removeFromReconnectionStack','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationIdentifier','252975uiRRPx','_decompressOperations','version','596664pKodlX','409','view','getUser','serverHistory','rootsAttributes','realtimecollaborationclient-init-document-already-initialized','permissions','entries','plugins','getRoot','toJSON','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','attributes','_connectService','unregister','rtc-destroyed','listenTo','start','_handleReceivedOperations','createUserMarkerOperations','isOfficialPlugin','connection','collaboration.channelId','config','_ignoredOperations','addRootAttribute','lastSyncVersion','addUser','selection','then','document:write','wereChangesApplied','Permissions','_compressOperations','catch','lastOperationAcceptedAt','collaboration-missing-channelid','isDocumentOperation','_applyOperationsSet','size','_updateServerHistory','rtc-offline','editor','off','initData','_baseBufferDelay','bind','_disconnectionOperations','loadRoot','4125275NQfcGX','model','_bufferedOperations','state','multi-root-editor-root-attributes-no-root','channelSessions','getOperationAuthor','_bufferRootLoad','batch','connected','cloudDocumentVersion','lastDocumentSession','locale','3189320aVVWwx','stop','keys','collaboration','_waitUntilSynced','_initSessionsHandling','_connectAfterSessionHasBeenFlushed','document','add','createPositionAt','_document','showWarning','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_hasSelectionChanged','_getOperationsFromInitData','realtimecollaborationclient-initservice-internal-error','lastOperationId','PENDING_ACTION_SENDING_DATA','map','position','_operationToId','_isEditingAllowed','sendOperations','cs:removeUser','_pendingAction','root','end','_handleServerResponse','history','cloud-services-internal-error:\x20Not\x20connected.','disconnect','cloud-services-internal-error:\x20Request\x20timeout.','_loadRoot','_lastSyncedOperationId','_isLoaded','_currentBufferDelay','2995420eDOahG','connect','from','realtimecollaborationclient-init-non-existent-root','applyOperation','suppressErrorInCollaboration','reconnect','baseVersion','path','realtimecollaborationclient-sendbufferedoperations','Synchronization\x20issue','slice','string','96885OOyLnd','operationsReceived','offset','InsertOperation','getDocumentDetails','setPermissions','define','realtimecollaborationclient-handleserverresponse','markers','addOperation','type','startsWith','isReadOnly','_setUpDataInit','_authorId','_handleReconnectionError','change:_isEditingAllowed','CommentsOnly','_isInit','_knownOperations','fire','code','userId','_handleSendingSelectionMarkers','9KKCTFP','404','destroy','change:_isPendingUpdate','_clearPendingAction','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','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.','_isAttached','_lastServerVersion','_isPendingUpdate','init','_fetchMissingUsers','sessionId','_compressor','marker','editing','_handleExternalOperations','wasUndone','__className','apply','change:range','affectsData','targetPosition','getMany','_refreshUserSelectionMarkers','finally','24EdzdUx','_sendBufferedOperationsDelayId','includes','_shouldSendUpdate','push','1303944JOKdrZ','createRange','_crash','_offset','stopListening','data','return','RealTimeCollaborationClient','sessionAdd:','_hasSynchronizationProblem','enableReadOnlyMode','fromJSON','high','directChange','realtimecollaborationclient-initservice-incorrect-server-operation','CollaborativeEditingService','realtimecollaborationclient-init-connection-failed','currentDocumentSession','_isConnected','_handleInitialConnectionData','move','addToReconnectionStack','metadata','error','_handleReconnectionResponse','insert','addRoot','sessionCreatedAt','get','setIdForTheLastOperation','Notification','compress','roots','round','_setPendingAction','1yubOoY','real-time-collaboration','reconnection:\x20flushed\x20session','length','getConnectedSessions','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.','_isDisconnection','forEach','_knownRootNames','isUndoneOperation','createPositionFromPath','set','_saveOperationInBuffer','affectedSelectable','ready','_sendBufferedOperations','_channelId','_getAffectedRoot','parse','requires','rootName','disconnected','_initThrowingOnDataSet','cloudServices.bundleVersion'];_0x54cf=function(){return _0x3dde5f;};return _0x54cf();}import{User as _0x3b0071,CollaborativeEditingService as _0x3ea548}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x786d0f{static get[_0x2e6873(0x1a5)](){return[_0x5be8b1,_0x505bf5,_0x9f4d7c,_0x1b489a,_0x489e54,_0x4ecdb1];}static get[_0x2e6873(0x1af)](){const _0x5d0cb9=_0x2e6873;return _0x5d0cb9(0x176);}static get[_0x2e6873(0x1e1)](){return!0x0;}static get[_0x2e6873(0x1c0)](){return!0x0;}get[_0x2e6873(0x208)](){const _0x43befc=_0x2e6873;return this[_0x43befc(0x158)]+this[_0x43befc(0x172)];}get[_0x2e6873(0x158)](){const _0x57bfab=_0x2e6873;return this[_0x57bfab(0x1d0)][_0x57bfab(0x1cb)]-this[_0x57bfab(0x172)];}get[_0x2e6873(0x1e7)](){const _0x35b208=_0x2e6873,_0x18b421=this[_0x35b208(0x1d0)][_0x35b208(0x1b6)]();for(let _0x48b94d=_0x18b421[_0x35b208(0x195)]-0x1;_0x48b94d>=0x0;_0x48b94d--){const _0x59d30b=_0x18b421[_0x48b94d];if(!this[_0x35b208(0x1fc)][_0x35b208(0x1aa)](_0x59d30b))return _0x59d30b[_0x35b208(0x236)]+0x1-this[_0x35b208(0x172)];}return 0x0;}constructor(_0x5bd10c){const _0x460558=_0x2e6873;if(super(_0x5bd10c),this[_0x460558(0x172)]=0x0,this[_0x460558(0x15c)]=null,this[_0x460558(0x1d0)]=new _0x598ee3(),this[_0x460558(0x1f7)][_0x460558(0x1e4)][_0x460558(0x242)](_0x460558(0x20e),{}),this[_0x460558(0x1a2)]=this[_0x460558(0x1f7)][_0x460558(0x1e4)][_0x460558(0x18b)](_0x460558(0x1e3)),!this[_0x460558(0x1a2)])throw new _0x4787a2(_0x460558(0x1f1),this);const _0x3299cb=_0x5bd10c[_0x460558(0x1e4)][_0x460558(0x18b)](_0x460558(0x1a9))||_0x56134d;this[_0x460558(0x1bd)]=new l[(_0x460558(0x17e))](_0x3299cb,this[_0x460558(0x1a2)]),this[_0x460558(0x215)]=this[_0x460558(0x1f7)][_0x460558(0x1ff)][_0x460558(0x212)],this[_0x460558(0x15d)]=new _0x4b5484(),this[_0x460558(0x200)]=[],this[_0x460558(0x24f)]=new WeakSet(),this[_0x460558(0x19a)]=new Set(),this[_0x460558(0x19d)](_0x460558(0x159),!0x1),this[_0x460558(0x19d)](_0x460558(0x178),!0x1),this[_0x460558(0x223)]=null,this[_0x460558(0x218)]=!0x1,this[_0x460558(0x16b)]=null,this[_0x460558(0x1fa)]=0x12c,this[_0x460558(0x22e)]=this[_0x460558(0x1fa)],this[_0x460558(0x22c)]=null,this[_0x460558(0x1fc)]=new WeakSet(),this[_0x460558(0x1c8)]=new it(this[_0x460558(0x1fc)]);}[_0x2e6873(0x15a)](){const _0xbc337=_0x2e6873,_0x29e775=this[_0xbc337(0x1f7)],_0x10d878=_0x29e775[_0xbc337(0x1d5)][_0xbc337(0x18b)](_0x489e54),_0x3fd7bd=_0x29e775[_0xbc337(0x1d5)][_0xbc337(0x18b)](_0x5be8b1);this[_0xbc337(0x1dd)](_0x10d878,_0xbc337(0x204),(_0x1f6c0b,_0x38b998)=>{const _0x5a66b0=_0xbc337,_0x324277=_0x38b998[0x0];_0x324277[_0x5a66b0(0x24a)]&&(_0x1f6c0b[_0x5a66b0(0x175)]=_0x10d878[_0x5a66b0(0x1cf)](_0x324277[_0x5a66b0(0x24a)]),_0x1f6c0b[_0x5a66b0(0x20c)]()),null===_0x324277[_0x5a66b0(0x24a)]&&(_0x1f6c0b[_0x5a66b0(0x175)]=null,_0x1f6c0b[_0x5a66b0(0x20c)]());},{'priority':_0xbc337(0x17b)}),this[_0xbc337(0x1dd)](_0x29e775[_0xbc337(0x1ff)][_0xbc337(0x212)][_0xbc337(0x1e9)],_0xbc337(0x164),(_0x4c3da0,_0x1e0454)=>{const _0x236189=_0xbc337;_0x1e0454[_0x236189(0x17c)]&&this[_0x236189(0x168)]();}),this[_0xbc337(0x1dd)](_0x29e775[_0xbc337(0x15f)][_0xbc337(0x1ce)],_0xbc337(0x1c3),()=>{const _0x3fd230=_0xbc337;this[_0x3fd230(0x168)]();}),this[_0xbc337(0x1a8)](),_0x29e775[_0xbc337(0x1ff)]['on'](_0xbc337(0x233),(_0x1c3af7,_0x226491)=>{const _0x4cfc8f=_0xbc337,_0x2ef7f=_0x226491[0x0];_0x2ef7f[_0x4cfc8f(0x1f2)]&&(this[_0x4cfc8f(0x19e)](_0x2ef7f),this[_0x4cfc8f(0x16d)]()&&this[_0x4cfc8f(0x1b4)]());}),this[_0xbc337(0x249)](),this[_0xbc337(0x1fb)](_0xbc337(0x220))['to'](_0x3fd7bd,_0xbc337(0x201),this,_0xbc337(0x178),(_0x4cecba,_0x39d432)=>_0xbc337(0x207)===_0x4cecba&&!_0x39d432),this['on'](_0xbc337(0x24c),()=>{const _0x1dbc15=_0xbc337;this[_0x1dbc15(0x220)]?_0x29e775[_0x1dbc15(0x1b5)](_0x1dbc15(0x1f6)):_0x29e775[_0x1dbc15(0x179)](_0x1dbc15(0x1f6));}),this[_0xbc337(0x220)]?_0x29e775[_0xbc337(0x1b5)](_0xbc337(0x1f6)):_0x29e775[_0xbc337(0x179)](_0xbc337(0x1f6)),this[_0xbc337(0x19d)](_0xbc337(0x181),!0x1);}async[_0x2e6873(0x235)](){const _0x3f2718=_0x2e6873,_0x3a40ba=this[_0x3f2718(0x1f7)][_0x3f2718(0x1d5)][_0x3f2718(0x18b)](_0x505bf5),_0x38acd=this[_0x3f2718(0x1f7)][_0x3f2718(0x1d5)][_0x3f2718(0x18b)](_0x5be8b1);try{this[_0x3f2718(0x159)]=!0x0,_0x3a40ba[_0x3f2718(0x1db)](this[_0x3f2718(0x1a2)]);const _0x19577d=await this[_0x3f2718(0x1bd)][_0x3f2718(0x235)](_0x38acd[_0x3f2718(0x1e2)],this[_0x3f2718(0x1e7)]);await this[_0x3f2718(0x187)](_0x19577d)&&(this[_0x3f2718(0x159)]=!0x1,this[_0x3f2718(0x154)]());const _0xd41c01=await this[_0x3f2718(0x1bd)][_0x3f2718(0x196)]();_0x3a40ba[_0x3f2718(0x1ad)](this[_0x3f2718(0x1a2)],_0xd41c01),this[_0x3f2718(0x253)](),this[_0x3f2718(0x181)]=!0x0;}catch(_0x35a42c){if(function(_0x144877){const _0x449a95=_0x3f2718;return _0x449a95(0x255)===_0x144877[_0x449a95(0x251)];}(_0x35a42c)&&this[_0x3f2718(0x15c)])await this[_0x3f2718(0x211)]();else{if(function(_0x487d58){const _0x2a2c57=_0x3f2718;return _0x2a2c57(0x1cd)===_0x487d58[_0x2a2c57(0x251)];}(_0x35a42c)){const _0x6dc97f=_0x5d61d7(this[_0x3f2718(0x1f7)][_0x3f2718(0x20a)],_0x3f2718(0x1c7));this[_0x3f2718(0x24b)](_0x6dc97f);}else{if(!(_0x35a42c instanceof Z))throw _0x35a42c;this[_0x3f2718(0x24b)]();}}}}[_0x2e6873(0x256)](){const _0xb3451d=_0x2e6873,_0x41b2e9=this[_0xb3451d(0x1f7)][_0xb3451d(0x1d5)][_0xb3451d(0x18b)](_0x5be8b1),_0x5e0baf=this[_0xb3451d(0x1f7)][_0xb3451d(0x1d5)][_0xb3451d(0x18b)](_0x505bf5);this[_0xb3451d(0x1f7)][_0xb3451d(0x179)](_0xb3451d(0x1dc)),_0x5e0baf[_0xb3451d(0x203)][_0xb3451d(0x1aa)](this[_0xb3451d(0x1a2)])&&_0x5e0baf[_0xb3451d(0x1db)](this[_0xb3451d(0x1a2)]),_0x41b2e9[_0xb3451d(0x1c6)](this),this[_0xb3451d(0x1b0)](),super[_0xb3451d(0x256)]();}async[_0x2e6873(0x187)](_0x193078){const _0xd36546=_0x2e6873;if(this[_0xd36546(0x15c)]!==_0x193078[_0xd36546(0x15c)]&&this[_0xd36546(0x22c)]!==_0x193078[_0xd36546(0x21b)])throw new Z();return this[_0xd36546(0x15c)]=_0x193078[_0xd36546(0x15c)],this[_0xd36546(0x226)]([],{..._0x193078,'wereChangesApplied':!0x1,'data':_0x193078[_0xd36546(0x174)]},_0xd36546(0x235));}async[_0x2e6873(0x1da)](_0x33d8b5,_0x1a895e=!0x1){const _0xc5ef0=_0x2e6873,{connection:_0x5b8571}=this[_0xc5ef0(0x1f7)][_0xc5ef0(0x1d5)][_0xc5ef0(0x18b)](_0x5be8b1);l[_0xc5ef0(0x17e)][_0xc5ef0(0x196)](_0x5b8571,this[_0xc5ef0(0x1a2)])[_0xc5ef0(0x1ea)](_0x1e69a9=>this[_0xc5ef0(0x210)](_0x1e69a9))[_0xc5ef0(0x1ef)](_0x2ed382=>{const _0x3df0ab=_0xc5ef0;this[_0x3df0ab(0x171)](_0x3df0ab(0x1c4),_0x2ed382);}),this[_0xc5ef0(0x1dd)](this[_0xc5ef0(0x1bd)],_0xc5ef0(0x23d),this[_0xc5ef0(0x1df)][_0xc5ef0(0x1fb)](this)),this[_0xc5ef0(0x1dd)](this[_0xc5ef0(0x1bd)],_0xc5ef0(0x186),(_0x4077d0,_0x10d189)=>{const _0x1f47e9=_0xc5ef0;this[_0x1f47e9(0x171)](_0x1f47e9(0x21a),_0x10d189);}),this[_0xc5ef0(0x1dd)](this[_0xc5ef0(0x1bd)],_0xc5ef0(0x1a7),()=>{const _0x41c059=_0xc5ef0;this[_0x41c059(0x181)]=!0x1;});const _0x2ecdd7=this[_0xc5ef0(0x1c8)][_0xc5ef0(0x1ac)](_0x33d8b5);this[_0xc5ef0(0x159)]=!0x0;const _0x4620a7=await this[_0xc5ef0(0x1bd)][_0xc5ef0(0x230)](_0x5b8571,this[_0xc5ef0(0x1ee)](_0x33d8b5),_0x2ecdd7);if(this[_0xc5ef0(0x15c)]=_0x4620a7[_0xc5ef0(0x15c)],_0x1a895e){if(!_0x4620a7[_0xc5ef0(0x1ec)])return void this[_0xc5ef0(0x24b)]();this[_0xc5ef0(0x159)]=!0x1,this[_0xc5ef0(0x154)](),this[_0xc5ef0(0x1d0)][_0xc5ef0(0x1bc)](),this[_0xc5ef0(0x172)]=_0x4620a7[_0xc5ef0(0x23e)],this[_0xc5ef0(0x1d0)][_0xc5ef0(0x1cb)]=this[_0xc5ef0(0x172)],await this[_0xc5ef0(0x226)](_0x33d8b5,_0x4620a7,_0xc5ef0(0x194));}else await this[_0xc5ef0(0x182)](_0x4620a7,_0x33d8b5);this[_0xc5ef0(0x253)](),this[_0xc5ef0(0x181)]=!0x0;}[_0x2e6873(0x253)](){const _0x14e819=_0x2e6873,_0x399fc3=this[_0x14e819(0x1f7)][_0x14e819(0x1d5)][_0x14e819(0x18b)](_0x505bf5),_0x483cd6=this[_0x14e819(0x1f7)][_0x14e819(0x1d5)][_0x14e819(0x18b)](_0x9f4d7c),_0x522ed3=_0x399fc3[_0x14e819(0x203)][_0x14e819(0x18b)](this[_0x14e819(0x1a2)]);_0x522ed3&&_0x522ed3[_0x14e819(0x195)]>0x1?_0x483cd6[_0x14e819(0x1e0)]():this[_0x14e819(0x1dd)](_0x399fc3,_0x14e819(0x177)+this[_0x14e819(0x1a2)],()=>{const _0x7c67ac=_0x14e819;0x2===_0x399fc3[_0x7c67ac(0x203)][_0x7c67ac(0x18b)](this[_0x7c67ac(0x1a2)])[_0x7c67ac(0x195)]&&_0x483cd6[_0x7c67ac(0x1e0)]();});}async[_0x2e6873(0x1df)](_0x450650,_0x424f03,_0x7272bc,_0x75bd57){const _0x1376db=_0x2e6873;if(!this[_0x1376db(0x159)]&&this[_0x1376db(0x215)][_0x1376db(0x1cb)]==_0x424f03){const _0x259ec3=this[_0x1376db(0x1ca)](_0x7272bc,_0x75bd57);await this[_0x1376db(0x15b)](_0x259ec3),this[_0x1376db(0x160)](_0x259ec3,_0x424f03,_0x7272bc[_0x1376db(0x21b)])||this[_0x1376db(0x171)](_0x1376db(0x17d));}}async[_0x2e6873(0x211)](){const _0x1470de=_0x2e6873;this[_0x1470de(0x1b0)]();const {locale:_0x20f19b}=this[_0x1470de(0x1f7)];let _0x2100de;try{_0x2100de=await this[_0x1470de(0x1bd)][_0x1470de(0x240)]();}catch(_0x15b89d){const _0x4ab690=_0x5d61d7(_0x20f19b,_0x1470de(0x217));return void this[_0x1470de(0x24b)](_0x4ab690);}const _0x2a514e=_0x2100de[_0x1470de(0x180)]||_0x2100de[_0x1470de(0x209)];if(this[_0x1470de(0x22c)]===_0x2a514e[_0x1470de(0x21b)])await this[_0x1470de(0x1da)](this[_0x1470de(0x1f7)][_0x1470de(0x1ff)][_0x1470de(0x212)][_0x1470de(0x227)][_0x1470de(0x1b6)](),!0x0);else{const _0x3c4717=_0x5d61d7(_0x20f19b,_0x1470de(0x156));this[_0x1470de(0x24b)](_0x3c4717);}}[_0x2e6873(0x1b0)](){const _0x769533=_0x2e6873;this[_0x769533(0x1bd)][_0x769533(0x229)](),this[_0x769533(0x200)]=[],clearTimeout(this[_0x769533(0x16b)]),this[_0x769533(0x173)](this[_0x769533(0x1bd)]);}[_0x2e6873(0x210)](_0x1456a0){const _0x359d50=_0x2e6873,_0x2cd505=this[_0x359d50(0x1f7)][_0x359d50(0x1d5)][_0x359d50(0x18b)](_0x505bf5);this[_0x359d50(0x1dd)](_0x2cd505,_0x359d50(0x177)+this[_0x359d50(0x1a2)],(_0x245a19,{session:_0x21bb77})=>{const _0x24c6e9=_0x359d50;if(_0x21bb77['id']===_0x2cd505[_0x24c6e9(0x1b9)]){_0x245a19[_0x24c6e9(0x1f8)]();const _0x834e51=this[_0x24c6e9(0x1f7)][_0x24c6e9(0x1d5)][_0x24c6e9(0x1aa)](_0x24c6e9(0x24d))&&this[_0x24c6e9(0x1f7)][_0x24c6e9(0x1d5)][_0x24c6e9(0x18b)](_0x24c6e9(0x24d));let _0x2c96a1=_0x21bb77[_0x24c6e9(0x1d3)];_0x834e51&&_0x834e51[_0x24c6e9(0x1c5)]&&(_0x2c96a1=_0x2c96a1[_0x24c6e9(0x1ae)](_0xf4ab43=>_0x24c6e9(0x1eb)!==_0xf4ab43)),this[_0x24c6e9(0x1f7)][_0x24c6e9(0x1d5)][_0x24c6e9(0x18b)](_0x24c6e9(0x1ed))[_0x24c6e9(0x241)](_0x2c96a1,this[_0x24c6e9(0x1a2)]);}}),_0x2cd505[_0x359d50(0x1ad)](this[_0x359d50(0x1a2)],_0x1456a0);}[_0x2e6873(0x1a8)](){const _0x375cb4=_0x2e6873,_0x3624ca=this[_0x375cb4(0x1f7)][_0x375cb4(0x174)][_0x375cb4(0x19d)];this[_0x375cb4(0x1f7)][_0x375cb4(0x174)][_0x375cb4(0x19d)]=(..._0x4163f9)=>{const _0x11c361=_0x375cb4;if(!_0x4163f9[_0x4163f9[_0x11c361(0x195)]-0x1][_0x11c361(0x234)])throw new _0x4787a2(_0x11c361(0x155),this);_0x3624ca[_0x11c361(0x163)](this[_0x11c361(0x1f7)][_0x11c361(0x174)],_0x4163f9);};}[_0x2e6873(0x249)](){const _0x307aae=_0x2e6873;this[_0x307aae(0x1f7)][_0x307aae(0x174)]['on'](_0x307aae(0x15a),(_0x39cc7d,[_0x471745])=>{const _0xa974b7=_0x307aae;if(this[_0xa974b7(0x215)][_0xa974b7(0x1cb)])throw new _0x4787a2(_0xa974b7(0x1d2),this);_0x39cc7d[_0xa974b7(0x20c)](),this[_0xa974b7(0x191)]();const _0x50d744=this[_0xa974b7(0x1f7)][_0xa974b7(0x1e4)][_0xa974b7(0x18b)](_0xa974b7(0x1d1)),_0x4a75a1=this[_0xa974b7(0x219)](_0x471745,_0x50d744);0x0==_0x4a75a1[_0xa974b7(0x195)]&&_0x4a75a1[_0xa974b7(0x16e)](new _0xfc3929(0x0)),_0x39cc7d[_0xa974b7(0x175)]=this[_0xa974b7(0x1da)](_0x4a75a1)[_0xa974b7(0x1ea)](()=>{const _0x289eca=_0xa974b7;this[_0x289eca(0x1f7)][_0x289eca(0x1d5)][_0x289eca(0x18b)](_0x5be8b1)[_0x289eca(0x184)](this),this[_0x289eca(0x1f7)][_0x289eca(0x174)][_0x289eca(0x250)](_0x289eca(0x1a0));})[_0xa974b7(0x1ef)](_0x23c80f=>this[_0xa974b7(0x171)](_0xa974b7(0x17f),_0x23c80f))[_0xa974b7(0x169)](()=>this[_0xa974b7(0x154)]());},{'priority':_0x307aae(0x17b)}),this[_0x307aae(0x1f7)]['on'](_0x307aae(0x1fd),async(_0x37a9c4,[_0x38441e,_0x5c8f85])=>{const _0x54d75f=_0x307aae;_0x37a9c4[_0x54d75f(0x20c)]();const _0xb45121=this[_0x54d75f(0x1f7)][_0x54d75f(0x1ff)][_0x54d75f(0x212)][_0x54d75f(0x1d6)](_0x38441e);if(!this[_0x54d75f(0x19a)][_0x54d75f(0x1aa)](_0x38441e)){const _0x5538b5=_0x5c8f85&&_0x5c8f85[_0x54d75f(0x174)]?_0x5c8f85[_0x54d75f(0x174)]:'',_0x484254=_0x5c8f85&&_0x5c8f85[_0x54d75f(0x1d9)]?_0x5c8f85[_0x54d75f(0x1d9)]:{};await this[_0x54d75f(0x22b)](_0x38441e,_0x5538b5,_0x484254);}this[_0x54d75f(0x1f7)][_0x54d75f(0x1ff)][_0x54d75f(0x1ba)]({'isUndoable':!0x1},()=>{const _0x20a6b0=_0x54d75f;_0xb45121[_0x20a6b0(0x22d)]=!0x0,this[_0x20a6b0(0x1f7)][_0x20a6b0(0x1ff)][_0x20a6b0(0x212)][_0x20a6b0(0x1be)][_0x20a6b0(0x205)](_0xb45121);});},{'priority':_0x307aae(0x17b)});}async[_0x2e6873(0x15b)](_0x50ea32){const _0x231c2e=_0x2e6873,_0x2439b3=this[_0x231c2e(0x1f7)][_0x231c2e(0x1d5)][_0x231c2e(0x18b)](_0x489e54),{connection:_0x1173fc}=this[_0x231c2e(0x1f7)][_0x231c2e(0x1d5)][_0x231c2e(0x18b)](_0x5be8b1),_0x3a0fda=new Set();for(const _0x376a4b of _0x50ea32){const _0x28e2d1=_0x376a4b[_0x231c2e(0x24a)];_0x28e2d1&&!_0x2439b3[_0x231c2e(0x1cf)](_0x28e2d1)&&_0x3a0fda[_0x231c2e(0x213)](_0x28e2d1);}if(0x0===_0x3a0fda[_0x231c2e(0x1f4)])return;const _0x4b3665=await _0x3b0071[_0x231c2e(0x167)](_0x1173fc,Array[_0x231c2e(0x231)](_0x3a0fda));for(const _0x3649d2 of _0x4b3665)_0x2439b3[_0x231c2e(0x1cf)](_0x3649d2['id'])||_0x2439b3[_0x231c2e(0x1e8)](_0x3649d2);}[_0x2e6873(0x219)](_0x3fc947,_0x2d290b={}){const _0x32ce51=_0x2e6873,_0x50b8b0=this[_0x32ce51(0x1f7)][_0x32ce51(0x1ff)],_0x14bf26=[];let _0x212ad3=0x0;const _0x51de53=_0x32ce51(0x23b)==typeof _0x3fc947?{'main':_0x3fc947}:_0x3fc947;for(const _0xcd5128 of Object[_0x32ce51(0x20d)](_0x51de53)){if(!this[_0x32ce51(0x215)][_0x32ce51(0x18f)][_0x32ce51(0x1aa)](_0xcd5128))throw new _0x4787a2(_0x32ce51(0x232),this);const _0x342eb4=this[_0x32ce51(0x1f7)][_0x32ce51(0x174)][_0x32ce51(0x1a4)](_0x51de53[_0xcd5128]),_0x613490=this[_0x32ce51(0x215)][_0x32ce51(0x1d6)](_0xcd5128),_0x2d15b8=new _0xc48594(_0x50b8b0[_0x32ce51(0x214)](_0x613490,0x0),_0x342eb4,_0x212ad3++);_0x14bf26[_0x32ce51(0x16e)](_0x2d15b8);for(const [_0x3d4f04,_0x17bc3a]of _0x342eb4[_0x32ce51(0x244)]){const _0x5e1910=_0x50b8b0[_0x32ce51(0x170)](_0x50b8b0[_0x32ce51(0x19c)](_0x613490,_0x17bc3a[_0x32ce51(0x1de)][_0x32ce51(0x237)][_0x32ce51(0x23a)]()),_0x50b8b0[_0x32ce51(0x19c)](_0x613490,_0x17bc3a[_0x32ce51(0x225)][_0x32ce51(0x237)][_0x32ce51(0x23a)]())),_0x3f0afc=new _0x3dd1dd(_0x3d4f04,null,_0x5e1910,_0x50b8b0[_0x32ce51(0x244)],!0x0,_0x212ad3++);_0x14bf26[_0x32ce51(0x16e)](_0x3f0afc);}}if(_0x2d290b)for(const [_0x2468eb,_0x2edd14]of Object[_0x32ce51(0x1d4)](_0x2d290b)){const _0x123956=_0x50b8b0[_0x32ce51(0x212)][_0x32ce51(0x1d6)](_0x2468eb);if(!_0x123956)throw new _0x4787a2(_0x32ce51(0x202),null);for(const [_0x2878e4,_0x186014]of Object[_0x32ce51(0x1d4)](_0x2edd14))if(null!==_0x186014){const _0x2241f4=new _0x4d5783(_0x123956,_0x2878e4,null,_0x186014,_0x212ad3++);_0x14bf26[_0x32ce51(0x16e)](_0x2241f4);}}return _0x14bf26;}async[_0x2e6873(0x22b)](_0xbb8297,_0x2bb4bd,_0xa2a572){const _0x491489=_0x2e6873;this[_0x491489(0x219)]({[_0xbb8297]:_0x2bb4bd},{[_0xbb8297]:_0xa2a572})[_0x491489(0x199)]((_0x5d0294,_0xd8996c)=>{const _0x396ddf=_0x491489;_0x5d0294[_0x396ddf(0x236)]=this[_0x396ddf(0x215)][_0x396ddf(0x1cb)]+_0xd8996c,_0x5d0294[_0x396ddf(0x24e)]=!0x0,this[_0x396ddf(0x19e)](_0x5d0294);}),this[_0x491489(0x1b4)](),await this[_0x491489(0x20f)]();}async[_0x2e6873(0x182)](_0xd0a411,_0x3ae6ee){const _0x245c0e=_0x2e6873;let _0x1b5151;this[_0x245c0e(0x172)]=_0xd0a411[_0x245c0e(0x23e)];const _0x5b2fcb=_0xd0a411[_0x245c0e(0x1ec)]&&!_0xd0a411[_0x245c0e(0x1f9)],_0x10cb41=_0x5b2fcb?0x0:_0xd0a411[_0x245c0e(0x174)][_0x245c0e(0x236)];if(_0x3ae6ee[_0x245c0e(0x199)](_0x422d8d=>{const _0x2762e0=_0x245c0e;_0x422d8d[_0x2762e0(0x24e)]=!0x0,_0x422d8d[_0x2762e0(0x1c2)]=_0xd0a411[_0x2762e0(0x18a)],_0x422d8d[_0x2762e0(0x24a)]=null;}),_0x5b2fcb)_0x1b5151=_0x3ae6ee,this[_0x245c0e(0x1f3)](_0x1b5151,_0x5b2fcb);else{if(_0xd0a411[_0x245c0e(0x1f9)]){const _0x32addf=this[_0x245c0e(0x219)](_0xd0a411[_0x245c0e(0x1f9)]);this[_0x245c0e(0x215)][_0x245c0e(0x227)][_0x245c0e(0x1cb)]=-_0x32addf[_0x245c0e(0x195)],_0x32addf[_0x245c0e(0x199)](_0x2b2b35=>{const _0x250239=_0x245c0e;_0x2b2b35[_0x250239(0x236)]-=_0x32addf[_0x250239(0x195)],_0x2b2b35[_0x250239(0x1c2)]=_0xd0a411[_0x250239(0x18a)],_0x2b2b35[_0x250239(0x24e)]=!0x0,_0x2b2b35[_0x250239(0x24a)]=null;}),this[_0x245c0e(0x1f3)](_0x32addf,!0x0),this[_0x245c0e(0x1d0)][_0x245c0e(0x1cb)]=-_0x32addf[_0x245c0e(0x195)]+this[_0x245c0e(0x172)],this[_0x245c0e(0x1f5)](_0x32addf);}this[_0x245c0e(0x215)][_0x245c0e(0x227)][_0x245c0e(0x1cb)]=_0x10cb41,_0x1b5151=this[_0x245c0e(0x1ca)](_0xd0a411[_0x245c0e(0x174)],_0xd0a411[_0x245c0e(0x185)]),await this[_0x245c0e(0x15b)](_0x1b5151),this[_0x245c0e(0x1f3)](_0x1b5151,_0x5b2fcb);}_0xd0a411[_0x245c0e(0x21b)]&&(this[_0x245c0e(0x1c8)][_0x245c0e(0x18c)](_0x1b5151,_0xd0a411[_0x245c0e(0x21b)]),this[_0x245c0e(0x22c)]=_0xd0a411[_0x245c0e(0x21b)]),this[_0x245c0e(0x1d0)][_0x245c0e(0x1cb)]=_0x10cb41+this[_0x245c0e(0x172)],this[_0x245c0e(0x1f5)](_0x1b5151),_0x3ae6ee[_0x245c0e(0x1ae)](_0x14584a=>{const _0x337ece=_0x245c0e,_0x1d1cc8=this[_0x337ece(0x1a3)](_0x14584a);return _0x1d1cc8&&!this[_0x337ece(0x19a)][_0x337ece(0x1aa)](_0x1d1cc8);})[_0x245c0e(0x199)]((_0x457c6a,_0x53f1c1)=>{const _0x186704=_0x245c0e;_0x457c6a[_0x186704(0x236)]=this[_0x186704(0x215)][_0x186704(0x1cb)]+_0x53f1c1,this[_0x186704(0x19e)](_0x457c6a);}),this[_0x245c0e(0x16d)]()?(this[_0x245c0e(0x22e)]=0x0,this[_0x245c0e(0x1b4)](!0x0),await this[_0x245c0e(0x20f)]()):(this[_0x245c0e(0x159)]=!0x1,this[_0x245c0e(0x154)]());}[_0x2e6873(0x171)](_0x32e1e1,_0x447551){const _0x2c4eb2=_0x2e6873;throw this[_0x2c4eb2(0x159)]=!0x0,_0x447551&&console[_0x2c4eb2(0x186)](_0x447551),new _0x4787a2(_0x32e1e1,this[_0x2c4eb2(0x1f7)]);}[_0x2e6873(0x19e)](_0x372a77){const _0x1a2527=_0x2e6873;this[_0x1a2527(0x24f)][_0x1a2527(0x1aa)](_0x372a77)||(this[_0x1a2527(0x24f)][_0x1a2527(0x213)](_0x372a77),this[_0x1a2527(0x200)][_0x1a2527(0x16e)](_0x372a77),this[_0x1a2527(0x223)]||_0x1a2527(0x15e)==_0x372a77[_0x1a2527(0x246)]&&!_0x372a77[_0x1a2527(0x165)]||this[_0x1a2527(0x191)]());}[_0x2e6873(0x1b4)](_0x45fa7b=!0x1){const _0x4008eb=_0x2e6873;!_0x45fa7b&&this[_0x4008eb(0x159)]||(this[_0x4008eb(0x159)]=!0x0,clearTimeout(this[_0x4008eb(0x16b)]),this[_0x4008eb(0x16b)]=setTimeout(()=>{const _0x54a501=_0x4008eb;this[_0x54a501(0x1a1)]()[_0x54a501(0x1ea)](_0x5249a2=>{const _0x5d7baf=_0x54a501;_0x5249a2&&(this[_0x5d7baf(0x154)](),this[_0x5d7baf(0x159)]=!0x1);})[_0x54a501(0x1ef)](_0x281a8b=>{const _0x36f84b=_0x54a501;if(this[_0x36f84b(0x154)](),this[_0x36f84b(0x159)]=!0x1,!function(_0x49108d){const _0x3bedf1=_0x36f84b;return _0x49108d[_0x3bedf1(0x1bb)][_0x3bedf1(0x247)](_0x3bedf1(0x228))||_0x49108d[_0x3bedf1(0x1bb)][_0x3bedf1(0x247)](_0x3bedf1(0x1d8))||_0x49108d[_0x3bedf1(0x1bb)][_0x3bedf1(0x247)](_0x3bedf1(0x22a));}(_0x281a8b))throw _0x281a8b;});},this[_0x4008eb(0x22e)]));}[_0x2e6873(0x20f)](){return new Promise(_0x17aebb=>{const _0x4aedb3=_0x36a1;this['on'](_0x4aedb3(0x257),()=>{_0x17aebb();});});}async[_0x2e6873(0x1a1)](){const _0x5b414c=_0x2e6873,_0x82a7c0=this[_0x5b414c(0x1f7)][_0x5b414c(0x1d5)][_0x5b414c(0x18b)](_0x9f4d7c);if(this[_0x5b414c(0x1b1)]()&&(_0x82a7c0[_0x5b414c(0x1e0)](),this[_0x5b414c(0x218)]=!0x1),!this[_0x5b414c(0x16d)]())return!0x0;const _0x297aac=[...this[_0x5b414c(0x200)]];for(const _0x6605d0 of _0x297aac)_0x6605d0[_0x5b414c(0x161)]=this[_0x5b414c(0x215)][_0x5b414c(0x227)][_0x5b414c(0x19b)](_0x6605d0);const _0x352bc6=this[_0x5b414c(0x1c8)][_0x5b414c(0x1ac)](_0x297aac),_0x10ef81=Y++,_0x44f609=this[_0x5b414c(0x1ee)](_0x297aac),_0x36442b=await this[_0x5b414c(0x1bd)][_0x5b414c(0x221)](_0x44f609,_0x44f609[_0x5b414c(0x236)],_0x352bc6);try{return await this[_0x5b414c(0x226)](_0x297aac,_0x36442b,_0x10ef81);}catch(_0x100b16){return this[_0x5b414c(0x171)](_0x5b414c(0x238),_0x100b16);}}async[_0x2e6873(0x226)](_0x22e59b,_0x5689d8,_0x2d7270){const _0x6b9fa3=_0x2e6873;if(_0x6b9fa3(0x186)in _0x5689d8)throw _0x5689d8[_0x6b9fa3(0x186)];let _0x2d28e2=!0x1;if(_0x5689d8[_0x6b9fa3(0x1ec)]){_0x5689d8[_0x6b9fa3(0x21b)]&&(this[_0x6b9fa3(0x22c)]=_0x5689d8[_0x6b9fa3(0x21b)]),this[_0x6b9fa3(0x200)]=this[_0x6b9fa3(0x200)][_0x6b9fa3(0x1ae)](_0x2f9834=>!_0x22e59b[_0x6b9fa3(0x16c)](_0x2f9834));for(const _0x55224f of _0x22e59b)_0x55224f[_0x6b9fa3(0x1c2)]=_0x6b9fa3(0x1f0)in _0x5689d8&&_0x5689d8[_0x6b9fa3(0x1f0)]||void 0x0;tt(_0x22e59b,_0x5689d8[_0x6b9fa3(0x1cb)]-_0x22e59b[_0x6b9fa3(0x195)]),this[_0x6b9fa3(0x1f5)](_0x22e59b);const _0x48207f=_0x22e59b[_0x6b9fa3(0x1ae)](_0x248465=>{const _0x592537=_0x6b9fa3;if(!_0x248465[_0x592537(0x24e)])return!0x1;const _0x229637=this[_0x592537(0x1a3)](_0x248465);return _0x229637&&!this[_0x592537(0x19a)][_0x592537(0x1aa)](_0x229637);});tt(_0x48207f,this[_0x6b9fa3(0x215)][_0x6b9fa3(0x1cb)]),this[_0x6b9fa3(0x1f3)](_0x48207f),_0x2d28e2=!0x0,this[_0x6b9fa3(0x22e)]=this[_0x6b9fa3(0x1fa)];}else{const _0xcaa42d=this[_0x6b9fa3(0x1ca)](_0x5689d8[_0x6b9fa3(0x174)],_0x5689d8[_0x6b9fa3(0x185)])[_0x6b9fa3(0x1ae)](_0x49c311=>_0x49c311[_0x6b9fa3(0x236)]>=this[_0x6b9fa3(0x158)]);_0xcaa42d[_0x6b9fa3(0x199)](_0x4faa92=>this[_0x6b9fa3(0x1b7)](_0x4faa92)),this[_0x6b9fa3(0x200)]=this[_0x6b9fa3(0x200)][_0x6b9fa3(0x1ae)](_0xc1f08f=>!_0xc1f08f[_0x6b9fa3(0x24e)]||!this[_0x6b9fa3(0x19a)][_0x6b9fa3(0x1aa)](this[_0x6b9fa3(0x1a3)](_0xc1f08f))),this[_0x6b9fa3(0x200)][_0x6b9fa3(0x195)]&&tt(this[_0x6b9fa3(0x200)],this[_0x6b9fa3(0x200)][0x0][_0x6b9fa3(0x236)]),await this[_0x6b9fa3(0x15b)](_0xcaa42d),_0x2d28e2=this[_0x6b9fa3(0x160)](_0xcaa42d,_0x5689d8[_0x6b9fa3(0x1cb)],_0x5689d8[_0x6b9fa3(0x21b)]),this[_0x6b9fa3(0x22e)]=Math[_0x6b9fa3(0x190)](this[_0x6b9fa3(0x22e)]/0x2);}return _0x2d28e2?!this[_0x6b9fa3(0x16d)]()||(this[_0x6b9fa3(0x1b4)](!0x0),!0x1):this[_0x6b9fa3(0x171)](_0x6b9fa3(0x243));}[_0x2e6873(0x160)](_0xa9c52f,_0x283c59,_0x17fcee){const _0xb0632d=_0x2e6873;try{const _0xe259b4={'document':this[_0xb0632d(0x215)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xed8263,operationsB:_0x4c2846,originalOperations:_0x5edfb6}=_0x8f13e(_0xa9c52f,this[_0xb0632d(0x200)],_0xe259b4);tt(_0xed8263,this[_0xb0632d(0x215)][_0xb0632d(0x1cb)]),tt(_0x4c2846,_0x283c59);for(const _0x13ed19 of _0xed8263){const _0xe509f6=_0x5edfb6[_0xb0632d(0x18b)](_0x13ed19);_0x13ed19[_0xb0632d(0x24a)]=_0xe509f6?_0xe509f6[_0xb0632d(0x24a)]:null;}_0x17fcee&&(this[_0xb0632d(0x1c8)][_0xb0632d(0x18c)](_0xa9c52f,_0x17fcee),this[_0xb0632d(0x22c)]=_0x17fcee),this[_0xb0632d(0x200)]=[..._0x4c2846],this[_0xb0632d(0x1f3)](_0xed8263),this[_0xb0632d(0x1f5)](_0xa9c52f);}catch(_0x3ccaf2){return console[_0xb0632d(0x186)](_0x3ccaf2),!0x1;}return!0x0;}[_0x2e6873(0x1f3)](_0x48083b,_0x1e08dc=!0x1){const _0x48209b=_0x2e6873;this[_0x48209b(0x1f7)][_0x48209b(0x1ff)][_0x48209b(0x1ba)]({'isUndoable':!0x1,'isLocal':!0x1},_0x325b48=>{const _0x436fd6=_0x48209b;for(const _0x27c872 of _0x48083b)this[_0x436fd6(0x24f)][_0x436fd6(0x213)](_0x27c872),this[_0x436fd6(0x1b7)](_0x27c872),_0x325b48[_0x436fd6(0x206)][_0x436fd6(0x245)](_0x27c872),this[_0x436fd6(0x1f7)][_0x436fd6(0x1ff)][_0x436fd6(0x233)](_0x27c872);});}[_0x2e6873(0x1b7)](_0x2862d3){const _0xf9f01=_0x2e6873,_0x27937d=this[_0xf9f01(0x1a3)](_0x2862d3);_0x27937d&&this[_0xf9f01(0x19a)][_0xf9f01(0x213)](_0x27937d);}[_0x2e6873(0x1a3)](_0x233be2){const _0x58bd8b=_0x2e6873;let _0x1c37e5,_0x10c7b5;switch(_0x233be2[_0x58bd8b(0x246)]){case _0x58bd8b(0x188):_0x1c37e5=_0x233be2[_0x58bd8b(0x21e)][_0x58bd8b(0x224)];break;case _0x58bd8b(0x15e):if(_0x10c7b5=_0x233be2[_0x58bd8b(0x1ab)],!_0x10c7b5)return null;_0x1c37e5=_0x10c7b5[_0x58bd8b(0x224)];break;case _0x58bd8b(0x1e6):_0x1c37e5=_0x233be2[_0x58bd8b(0x224)];break;case _0x58bd8b(0x189):_0x1c37e5=_0x233be2[_0x58bd8b(0x19f)];break;case _0x58bd8b(0x183):_0x1c37e5=_0x233be2[_0x58bd8b(0x166)][_0x58bd8b(0x224)];break;default:return null;}return _0x1c37e5[_0x58bd8b(0x1a6)];}[_0x2e6873(0x1f5)](_0xa1513e){const _0x1b3f7e=_0x2e6873;_0xa1513e[_0x1b3f7e(0x199)](_0x20f716=>{const _0x5a9bd8=_0x1b3f7e,_0x37b359=_0x20f716[_0x5a9bd8(0x1bf)]();_0x37b359[_0x5a9bd8(0x24a)]=_0x20f716[_0x5a9bd8(0x24a)],_0x37b359[_0x5a9bd8(0x24e)]=!!_0x20f716[_0x5a9bd8(0x24e)],_0x37b359[_0x5a9bd8(0x1c2)]=_0x20f716[_0x5a9bd8(0x1c2)],_0x37b359[_0x5a9bd8(0x236)]+=this[_0x5a9bd8(0x172)],_0x20f716[_0x5a9bd8(0x198)]&&this[_0x5a9bd8(0x1fc)][_0x5a9bd8(0x213)](_0x37b359),this[_0x5a9bd8(0x1d0)][_0x5a9bd8(0x245)](_0x37b359);});}[_0x2e6873(0x24b)](_0x3731f4){const _0x30161f=_0x2e6873,_0x5e6beb=this[_0x30161f(0x1f7)][_0x30161f(0x1d5)][_0x30161f(0x18b)](_0x30161f(0x18d)),_0x52d3c6=this[_0x30161f(0x1f7)][_0x30161f(0x20a)];_0x3731f4||(_0x3731f4=_0x5d61d7(_0x52d3c6,_0x30161f(0x197))),_0x5e6beb[_0x30161f(0x216)](_0x3731f4,{'title':_0x5d61d7(_0x52d3c6,_0x30161f(0x239)),'namespace':_0x30161f(0x193)}),this[_0x30161f(0x178)]=!0x0,clearTimeout(this[_0x30161f(0x16b)]),this[_0x30161f(0x200)]=[],this[_0x30161f(0x1f7)][_0x30161f(0x1d5)][_0x30161f(0x18b)](_0x5be8b1)[_0x30161f(0x256)]();}[_0x2e6873(0x191)](){const _0x129aa3=_0x2e6873;this[_0x129aa3(0x223)]||(this[_0x129aa3(0x223)]=this[_0x129aa3(0x1f7)][_0x129aa3(0x1d5)][_0x129aa3(0x18b)](_0x1b489a)[_0x129aa3(0x213)](_0x5d61d7(this[_0x129aa3(0x1f7)][_0x129aa3(0x20a)],_0x129aa3(0x21c))));}[_0x2e6873(0x154)](){const _0x695f7f=_0x2e6873;this[_0x695f7f(0x223)]&&(this[_0x695f7f(0x1f7)][_0x695f7f(0x1d5)][_0x695f7f(0x18b)](_0x1b489a)[_0x695f7f(0x1b3)](this[_0x695f7f(0x223)]),this[_0x695f7f(0x223)]=null);}[_0x2e6873(0x1ee)](_0x46ef7b){const _0x3b5c58=_0x2e6873,_0x4df9a8=_0x46ef7b[_0x3b5c58(0x21d)](_0x265e97=>_0x265e97[_0x3b5c58(0x1d7)]());return this[_0x3b5c58(0x15d)][_0x3b5c58(0x18e)](_0x4df9a8);}[_0x2e6873(0x1ca)](_0x577fc2,_0x3152ab){const _0x3f5080=_0x2e6873;return this[_0x3f5080(0x15d)][_0x3f5080(0x1b2)](_0x577fc2)[_0x3f5080(0x21d)]((_0x3e6509,_0x1a6eae)=>{const _0x266546=_0x3f5080,_0x51df8c=_0x266546(0x15a)==_0x3152ab[_0x1a6eae][_0x266546(0x246)];if(_0x266546(0x23f)==_0x3e6509[_0x266546(0x162)]){const _0x54e947=_0x3e6509[_0x266546(0x21e)][_0x266546(0x224)];!this[_0x266546(0x215)][_0x266546(0x1d6)](_0x54e947)&&(this[_0x266546(0x215)][_0x266546(0x1c1)](_0x266546(0x1b8),_0x54e947)[_0x266546(0x157)]=!0x1);}const _0xc92e6d=_0x4c0a9a[_0x266546(0x17a)](_0x3e6509,this[_0x266546(0x215)]);return _0xc92e6d[_0x266546(0x161)]=_0x3e6509[_0x266546(0x161)],_0xc92e6d[_0x266546(0x24e)]=_0x51df8c,_0xc92e6d[_0x266546(0x24a)]=_0x51df8c?null:_0x3152ab[_0x1a6eae][_0x266546(0x252)],_0xc92e6d[_0x266546(0x198)]=_0x266546(0x222)===_0x3152ab[_0x1a6eae][_0x266546(0x246)],_0xc92e6d[_0x266546(0x1c2)]=_0x3152ab[_0x1a6eae][_0x266546(0x1c2)],_0xc92e6d;});}[_0x2e6873(0x168)](){const _0x2877e6=_0x2e6873;this[_0x2877e6(0x218)]=!0x0,this[_0x2877e6(0x1b1)]()?this[_0x2877e6(0x1b4)]():this[_0x2877e6(0x218)]=!0x1;}[_0x2e6873(0x1b1)](){const _0x15cdd5=_0x2e6873,_0x185dbe=this[_0x15cdd5(0x1f7)][_0x15cdd5(0x1d5)][_0x15cdd5(0x18b)](_0x505bf5)[_0x15cdd5(0x203)][_0x15cdd5(0x18b)](this[_0x15cdd5(0x1a2)]);return!this[_0x15cdd5(0x1f7)][_0x15cdd5(0x248)]&&!!_0x185dbe&&_0x185dbe[_0x15cdd5(0x195)]>0x1&&this[_0x15cdd5(0x218)];}[_0x2e6873(0x16d)](){const _0x2d047a=_0x2e6873;return this[_0x2d047a(0x200)][_0x2d047a(0x195)]>0x0||this[_0x2d047a(0x1b1)]();}}l[_0x2e6873(0x17e)]=_0x3ea548;export default l;class Z extends Error{}function tt(_0x1fea79,_0x43ea93){const _0x2541ee=_0x2e6873;for(const _0x3a7a87 of _0x1fea79)_0x3a7a87[_0x2541ee(0x236)]=_0x43ea93++;}class it{constructor(_0x179cb3){const _0x46eea2=_0x2e6873;this[_0x46eea2(0x1e5)]=_0x179cb3,this[_0x46eea2(0x21f)]=new WeakMap();}[_0x2e6873(0x1ac)](_0x1e1590){const _0x17e5d9=_0x2e6873;let _0x1c0539=_0x1e1590[_0x17e5d9(0x195)];for(;_0x1c0539--;){const _0x19e210=_0x1e1590[_0x1c0539];if(!this[_0x17e5d9(0x1e5)][_0x17e5d9(0x1aa)](_0x19e210)){if(!this[_0x17e5d9(0x21f)][_0x17e5d9(0x1aa)](_0x19e210)){const _0xf37ee9=_0x457978()[_0x17e5d9(0x23a)](0x1,0x12);this[_0x17e5d9(0x21f)][_0x17e5d9(0x19d)](_0x19e210,_0xf37ee9);}return this[_0x17e5d9(0x21f)][_0x17e5d9(0x18b)](_0x19e210);}}}[_0x2e6873(0x18c)](_0x52a5db,_0x41cc5f){const _0x2f781b=_0x2e6873;if(!_0x41cc5f)return;let _0x3459af=_0x52a5db[_0x2f781b(0x195)];for(;_0x3459af--;){const _0x214117=_0x52a5db[_0x3459af];this[_0x2f781b(0x1e5)][_0x2f781b(0x1aa)](_0x214117)||this[_0x2f781b(0x21f)][_0x2f781b(0x19d)](_0x214117,_0x41cc5f);}}}
|
|
23
|
+
const _0x156978=_0x71ed;(function(_0x571852,_0x401a3e){const _0x12d47a=_0x71ed,_0x304250=_0x571852();while(!![]){try{const _0x321a43=-parseInt(_0x12d47a(0x21c))/0x1+parseInt(_0x12d47a(0x231))/0x2+parseInt(_0x12d47a(0x1ec))/0x3+-parseInt(_0x12d47a(0x244))/0x4*(-parseInt(_0x12d47a(0x274))/0x5)+parseInt(_0x12d47a(0x1b4))/0x6*(parseInt(_0x12d47a(0x271))/0x7)+-parseInt(_0x12d47a(0x1a7))/0x8+parseInt(_0x12d47a(0x1ee))/0x9*(parseInt(_0x12d47a(0x256))/0xa);if(_0x321a43===_0x401a3e)break;else _0x304250['push'](_0x304250['shift']());}catch(_0x178a5a){_0x304250['push'](_0x304250['shift']());}}}(_0x13bf,0x5a960));import{Plugin as _0x2e69e7,PendingActions as _0x4d58ec}from'ckeditor5/src/core.js';import{CKEditorError as _0x39acff,version as _0x5ab13e,uid as _0x49117e}from'ckeditor5/src/utils.js';import{Notification as _0x128ece}from'ckeditor5/src/ui.js';import{transformSets as _0x21941f,NoOperation as _0xe56ff6,InsertOperation as _0x18402c,MarkerOperation as _0x237ef8,RootAttributeOperation as _0x51f432,OperationFactory as _0x1c2267,History as _0x2190ec}from'ckeditor5/src/engine.js';import _0x553c77 from'./websocketgateway.js';import _0x2ec14d from'./sessions.js';import _0x53ae2d from'./usermarkers.js';function _0x13bf(){const _0x2858e0=['rootName','lastDocumentSession','_clearPendingAction','cloudDocumentVersion','_connectAfterSessionHasBeenFlushed','_loadRoot','high','clone','isEnabled','from','differ','addToReconnectionStack','toJSON','Notification','disableReadOnlyMode','_compressor','locale','directChange','realtimecollaborationclient-init-document-already-initialized','_operationToId','_crash','_isPendingUpdate','_knownRootNames','register','getRoot','removeFromReconnectionStack','_operationIdentifier','return','$root','_applyOperationsSet','getUser','_compressOperations','forEach','cloud-services-internal-error:\x20Request\x20timeout.','Permissions','1233996ULgDNv','channelSessions','72keAlbe','_hasSelectionChanged','connection','_service','plugins','_lastSyncedOperationId','collaboration.channelId','initData','CollaborativeEditingService','_isLoaded','editor','_initSessionsHandling','operationsReceived','code','filter','disconnect','sessionId','startsWith','_disconnectService','_initThrowingOnDataSet','_isEditingAllowed','lastSyncVersion','isUndoneOperation','insert','view','reset','slice','fromJSON','realtimecollaborationclient-initservice-internal-error','_saveOperationInBuffer','404','realtimecollaborationclient-handleserverresponse','lastOperationId','_fetchMissingUsers','enqueueChange','sessionCreatedAt','unregister','_currentBufferDelay','data','_handleExternalOperations','addUser','pluginName','realtimecollaborationclient-sendbufferedoperations','_setPendingAction','listenTo','document','380058EAzNyJ','roots','_channelId','change:hasDomSelection','requires','fire','409','stop','_shouldSendSelectionUpdate','size','sessionAdd:','position','message','_isInit','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cs:removeUser','_authorId','reconnect','_connectService','history','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.','210830JBxzsW','realtimecollaborationclient-init-connection-failed','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.','currentDocumentSession','rtc-offline','baseVersion','init','push','_decompressOperations','_isAttached','wereChangesApplied','setPermissions','_handleReceivedOperations','remove','RealTimeCollaborationClient','apply','mySessionId','set','batch','511588WUuKYv','map','_setUpDataInit','sendOperations','markers','createRoot','suppressErrorInCollaboration','permissions','destroy','createPositionAt','connect','change:_isEditingAllowed','_getAffectedRoot','has','isOfficialPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-non-existent-root','_baseBufferDelay','11190oLuyAs','createPositionFromPath','offset','isDocumentOperation','__className','_handleSendingSelectionMarkers','then','targetPosition','_getOperationsFromInitData','newRange','_hasSynchronizationProblem','getConnectedSessions','config','collaboration','catch','real-time-collaboration','affectedSelectable','showWarning','_isConnected','isPremiumPlugin','_updateServerHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','define','_ignoredOperations','parse','_handleServerResponse','addRootAttribute','7RosPKC','path','_isDisconnection','10tQBGdQ','rtc-destroyed','PENDING_ACTION_SENDING_DATA','marker','InsertOperation','_waitUntilSynced','round','realtimecollaborationclient-init-session-connection-error','createRange','entries','change:_isPendingUpdate','selection','_refreshUserSelectionMarkers','get','keys','cloudServices.bundleVersion','getDocumentDetails','_sendBufferedOperationsDelayed','add','_lastServerVersion','finally','attributes','setIdForTheLastOperation','stopListening','end','decompress','ready','getIdOfTheLastOperation','addOperation','addRoot','includes','move','_handleReconnectionResponse','collaboration-missing-channelid','createUserMarkerOperations','cloud-services-internal-error:\x20Not\x20connected.','document:write','error','wasUndone','serverHistory','Synchronization\x20issue','string','root','connected','rootsAttributes','_offset','userId','bind','reconnection:\x20flushed\x20session','_handleReconnectionError','_bufferRootLoad','realtimecollaborationclient-initservice-incorrect-server-operation','_pendingAction','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','state','2361008kfFwRp','lastOperationAcceptedAt','disconnected','_handleInitialConnectionData','_sendBufferedOperationsDelayId','version','editing','getOperations','getOperationAuthor','_disconnectionOperations','loadRoot','model','_shouldSendUpdate','1588386MlLGDd','affectsData','multi-root-editor-root-attributes-no-root','isReadOnly','createdAt','start','getMany','_sendBufferedOperations','_addKnownRoot','off','_knownOperations','_bufferedOperations','enableReadOnlyMode','metadata','length','type','applyOperation','compress','_document','change:range','CommentsOnly'];_0x13bf=function(){return _0x2858e0;};return _0x13bf();}import{getTranslation as _0x23d5d8}from'../common-translations.js';import{Compressor as _0x58d3b2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1f61e1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x51bce5,CollaborativeEditingService as _0x1e6576}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x2e69e7{static get[_0x156978(0x220)](){return[_0x553c77,_0x2ec14d,_0x53ae2d,_0x4d58ec,_0x1f61e1,_0x128ece];}static get[_0x156978(0x217)](){const _0x16d90d=_0x156978;return _0x16d90d(0x23f);}static get[_0x156978(0x252)](){return!0x0;}static get[_0x156978(0x269)](){return!0x0;}get[_0x156978(0x1cc)](){const _0x4e725d=_0x156978;return this[_0x4e725d(0x287)]+this[_0x4e725d(0x19d)];}get[_0x156978(0x287)](){const _0x54a07a=_0x156978;return this[_0x54a07a(0x29b)][_0x54a07a(0x1ac)]-this[_0x54a07a(0x19d)];}get[_0x156978(0x203)](){const _0xd2815a=_0x156978,_0x2a42e2=this[_0xd2815a(0x29b)][_0xd2815a(0x1ae)]();for(let _0x48c119=_0x2a42e2[_0xd2815a(0x1c2)]-0x1;_0x48c119>=0x0;_0x48c119--){const _0x41d375=_0x2a42e2[_0x48c119];if(!this[_0xd2815a(0x1b0)][_0xd2815a(0x251)](_0x41d375))return _0x41d375[_0xd2815a(0x236)]+0x1-this[_0xd2815a(0x19d)];}return 0x0;}constructor(_0xfd3885){const _0x1cb5ef=_0x156978;if(super(_0xfd3885),this[_0x1cb5ef(0x19d)]=0x0,this[_0x1cb5ef(0x1fe)]=null,this[_0x1cb5ef(0x29b)]=new _0x2190ec(),this[_0x1cb5ef(0x1f8)][_0x1cb5ef(0x262)][_0x1cb5ef(0x26c)](_0x1cb5ef(0x263),{}),this[_0x1cb5ef(0x21e)]=this[_0x1cb5ef(0x1f8)][_0x1cb5ef(0x262)][_0x1cb5ef(0x281)](_0x1cb5ef(0x1f4)),!this[_0x1cb5ef(0x21e)])throw new _0x39acff(_0x1cb5ef(0x295),this);const _0x5c93c=_0xfd3885[_0x1cb5ef(0x262)][_0x1cb5ef(0x281)](_0x1cb5ef(0x283))||_0x5ab13e;this[_0x1cb5ef(0x1f1)]=new l[(_0x1cb5ef(0x1f6))](_0x5c93c,this[_0x1cb5ef(0x21e)]),this[_0x1cb5ef(0x1c6)]=this[_0x1cb5ef(0x1f8)][_0x1cb5ef(0x1b2)][_0x1cb5ef(0x21b)],this[_0x1cb5ef(0x1d8)]=new _0x58d3b2(),this[_0x1cb5ef(0x1bf)]=[],this[_0x1cb5ef(0x1be)]=new WeakSet(),this[_0x1cb5ef(0x1df)]=new Set(),this[_0x1cb5ef(0x242)](_0x1cb5ef(0x1de),!0x1),this[_0x1cb5ef(0x242)](_0x1cb5ef(0x260),!0x1),this[_0x1cb5ef(0x1a4)]=null,this[_0x1cb5ef(0x1ef)]=!0x1,this[_0x1cb5ef(0x1ab)]=null,this[_0x1cb5ef(0x255)]=0x12c,this[_0x1cb5ef(0x213)]=this[_0x1cb5ef(0x255)],this[_0x1cb5ef(0x1f3)]=null,this[_0x1cb5ef(0x1b0)]=new WeakSet(),this[_0x1cb5ef(0x1e3)]=new X(this[_0x1cb5ef(0x1b0)]);}[_0x156978(0x237)](){const _0x232969=_0x156978,_0x3385a3=this[_0x232969(0x1f8)],_0x110abd=_0x3385a3[_0x232969(0x1f2)][_0x232969(0x281)](_0x1f61e1),_0x21dcc6=_0x3385a3[_0x232969(0x1f2)][_0x232969(0x281)](_0x553c77);this[_0x232969(0x21a)](_0x110abd,_0x232969(0x1af),(_0x518e66,_0x118e21)=>{const _0x231eab=_0x232969,_0x42232a=_0x118e21[0x0];_0x42232a[_0x231eab(0x22c)]&&(_0x518e66[_0x231eab(0x1e4)]=_0x110abd[_0x231eab(0x1e7)](_0x42232a[_0x231eab(0x22c)]),_0x518e66[_0x231eab(0x223)]()),null===_0x42232a[_0x231eab(0x22c)]&&(_0x518e66[_0x231eab(0x1e4)]=null,_0x518e66[_0x231eab(0x223)]());},{'priority':_0x232969(0x1cf)}),this[_0x232969(0x21a)](_0x3385a3[_0x232969(0x1b2)][_0x232969(0x21b)][_0x232969(0x27f)],_0x232969(0x1c7),(_0x46c3b4,_0x442bad)=>{const _0x2484a8=_0x232969;_0x442bad[_0x2484a8(0x1da)]&&this[_0x2484a8(0x280)]();}),this[_0x232969(0x21a)](_0x3385a3[_0x232969(0x1ad)][_0x232969(0x206)],_0x232969(0x21f),()=>{const _0x490f5d=_0x232969;this[_0x490f5d(0x280)]();}),this[_0x232969(0x201)](),_0x3385a3[_0x232969(0x1b2)]['on'](_0x232969(0x1c4),(_0x232413,_0x170d77)=>{const _0x4ac3d5=_0x232969,_0xa830a1=_0x170d77[0x0];_0xa830a1[_0x4ac3d5(0x259)]&&(this[_0x4ac3d5(0x20b)](_0xa830a1),this[_0x4ac3d5(0x1b3)]()&&this[_0x4ac3d5(0x285)]());}),this[_0x232969(0x246)](),this[_0x232969(0x19f)](_0x232969(0x202))['to'](_0x21dcc6,_0x232969(0x1a6),this,_0x232969(0x260),(_0x59054c,_0x506531)=>_0x232969(0x29f)===_0x59054c&&!_0x506531),this['on'](_0x232969(0x24f),()=>{const _0x328cd8=_0x232969;this[_0x328cd8(0x202)]?_0x3385a3[_0x328cd8(0x1d7)](_0x328cd8(0x235)):_0x3385a3[_0x328cd8(0x1c0)](_0x328cd8(0x235));}),this[_0x232969(0x202)]?_0x3385a3[_0x232969(0x1d7)](_0x232969(0x235)):_0x3385a3[_0x232969(0x1c0)](_0x232969(0x235)),this[_0x232969(0x242)](_0x232969(0x268),!0x1);}async[_0x156978(0x22d)](){const _0x37834b=_0x156978,_0x206cfb=this[_0x37834b(0x1f8)][_0x37834b(0x1f2)][_0x37834b(0x281)](_0x2ec14d),_0x1c1355=this[_0x37834b(0x1f8)][_0x37834b(0x1f2)][_0x37834b(0x281)](_0x553c77);try{this[_0x37834b(0x1de)]=!0x0,_0x206cfb[_0x37834b(0x212)](this[_0x37834b(0x21e)]);const _0x11049d=await this[_0x37834b(0x1f1)][_0x37834b(0x22d)](_0x1c1355[_0x37834b(0x1f0)],this[_0x37834b(0x203)]);await this[_0x37834b(0x294)](_0x11049d)&&(this[_0x37834b(0x1de)]=!0x1,this[_0x37834b(0x1cb)]());const _0x10acc1=await this[_0x37834b(0x1f1)][_0x37834b(0x261)]();_0x206cfb[_0x37834b(0x1e0)](this[_0x37834b(0x21e)],_0x10acc1),this[_0x37834b(0x25b)](),this[_0x37834b(0x268)]=!0x0;}catch(_0x49e64c){if(function(_0x4bed3b){const _0x21d08f=_0x37834b;return _0x21d08f(0x20c)===_0x4bed3b[_0x21d08f(0x1fb)];}(_0x49e64c)&&this[_0x37834b(0x1fe)])await this[_0x37834b(0x1cd)]();else{if(function(_0x2943b1){const _0x4735ba=_0x37834b;return _0x4735ba(0x222)===_0x2943b1[_0x4735ba(0x1fb)];}(_0x49e64c)){const _0x4004a6=_0x23d5d8(this[_0x37834b(0x1f8)][_0x37834b(0x1d9)],_0x37834b(0x22a));this[_0x37834b(0x1a1)](_0x4004a6);}else{if(!(_0x49e64c instanceof J))throw _0x49e64c;this[_0x37834b(0x1a1)]();}}}}[_0x156978(0x24c)](){const _0x2dbabd=_0x156978,_0x64d9cf=this[_0x2dbabd(0x1f8)][_0x2dbabd(0x1f2)][_0x2dbabd(0x281)](_0x553c77),_0x595689=this[_0x2dbabd(0x1f8)][_0x2dbabd(0x1f2)][_0x2dbabd(0x281)](_0x2ec14d);this[_0x2dbabd(0x1f8)][_0x2dbabd(0x1c0)](_0x2dbabd(0x275)),_0x595689[_0x2dbabd(0x1ed)][_0x2dbabd(0x251)](this[_0x2dbabd(0x21e)])&&_0x595689[_0x2dbabd(0x212)](this[_0x2dbabd(0x21e)]),_0x64d9cf[_0x2dbabd(0x1e2)](this),this[_0x2dbabd(0x200)](),super[_0x2dbabd(0x24c)]();}async[_0x156978(0x294)](_0x577656){const _0x4e6f30=_0x156978;if(this[_0x4e6f30(0x1fe)]!==_0x577656[_0x4e6f30(0x1fe)]&&this[_0x4e6f30(0x1f3)]!==_0x577656[_0x4e6f30(0x20e)])throw new J();return this[_0x4e6f30(0x1fe)]=_0x577656[_0x4e6f30(0x1fe)],this[_0x4e6f30(0x26f)]([],{..._0x577656,'wereChangesApplied':!0x1,'data':_0x577656[_0x4e6f30(0x214)]},_0x4e6f30(0x22d));}async[_0x156978(0x22e)](_0x4bbb27,_0x1c90b2=!0x1){const _0x26e39a=_0x156978,{connection:_0xed46e2}=this[_0x26e39a(0x1f8)][_0x26e39a(0x1f2)][_0x26e39a(0x281)](_0x553c77);l[_0x26e39a(0x1f6)][_0x26e39a(0x261)](_0xed46e2,this[_0x26e39a(0x21e)])[_0x26e39a(0x25c)](_0x249dc7=>this[_0x26e39a(0x1f9)](_0x249dc7))[_0x26e39a(0x264)](_0x48c1c3=>{const _0x42decc=_0x26e39a;this[_0x42decc(0x1dd)](_0x42decc(0x27b),_0x48c1c3);}),this[_0x26e39a(0x21a)](this[_0x26e39a(0x1f1)],_0x26e39a(0x1fa),this[_0x26e39a(0x23d)][_0x26e39a(0x19f)](this)),this[_0x26e39a(0x21a)](this[_0x26e39a(0x1f1)],_0x26e39a(0x299),(_0x46f95f,_0x36aa68)=>{const _0x19c078=_0x26e39a;this[_0x19c078(0x1dd)](_0x19c078(0x20a),_0x36aa68);}),this[_0x26e39a(0x21a)](this[_0x26e39a(0x1f1)],_0x26e39a(0x1a9),()=>{const _0x5f0be0=_0x26e39a;this[_0x5f0be0(0x268)]=!0x1;});const _0x3e11f8=this[_0x26e39a(0x1e3)][_0x26e39a(0x28f)](_0x4bbb27);this[_0x26e39a(0x1de)]=!0x0;const _0x9494ab=await this[_0x26e39a(0x1f1)][_0x26e39a(0x24e)](_0xed46e2,this[_0x26e39a(0x1e8)](_0x4bbb27),_0x3e11f8);if(this[_0x26e39a(0x1fe)]=_0x9494ab[_0x26e39a(0x1fe)],_0x1c90b2){if(!_0x9494ab[_0x26e39a(0x23b)])return void this[_0x26e39a(0x1a1)]();this[_0x26e39a(0x1de)]=!0x1,this[_0x26e39a(0x1cb)](),this[_0x26e39a(0x29b)][_0x26e39a(0x207)](),this[_0x26e39a(0x19d)]=_0x9494ab[_0x26e39a(0x258)],this[_0x26e39a(0x29b)][_0x26e39a(0x1ac)]=this[_0x26e39a(0x19d)],await this[_0x26e39a(0x26f)](_0x4bbb27,_0x9494ab,_0x26e39a(0x1a0));}else await this[_0x26e39a(0x1aa)](_0x9494ab,_0x4bbb27);this[_0x26e39a(0x25b)](),this[_0x26e39a(0x268)]=!0x0;}[_0x156978(0x25b)](){const _0x3c7616=_0x156978,_0xa80eb6=this[_0x3c7616(0x1f8)][_0x3c7616(0x1f2)][_0x3c7616(0x281)](_0x2ec14d),_0x1ae476=this[_0x3c7616(0x1f8)][_0x3c7616(0x1f2)][_0x3c7616(0x281)](_0x53ae2d),_0x4ad3ba=_0xa80eb6[_0x3c7616(0x1ed)][_0x3c7616(0x281)](this[_0x3c7616(0x21e)]);_0x4ad3ba&&_0x4ad3ba[_0x3c7616(0x1c2)]>0x1?_0x1ae476[_0x3c7616(0x296)]():this[_0x3c7616(0x21a)](_0xa80eb6,_0x3c7616(0x226)+this[_0x3c7616(0x21e)],()=>{const _0x6ee290=_0x3c7616;0x2===_0xa80eb6[_0x6ee290(0x1ed)][_0x6ee290(0x281)](this[_0x6ee290(0x21e)])[_0x6ee290(0x1c2)]&&_0x1ae476[_0x6ee290(0x296)]();});}async[_0x156978(0x23d)](_0x2a5852,_0x524aab,_0x3fddcf,_0xc793a){const _0x339727=_0x156978;if(!this[_0x339727(0x1de)]&&this[_0x339727(0x1c6)][_0x339727(0x1ac)]==_0x524aab){const _0x31e4c6=this[_0x339727(0x239)](_0x3fddcf,_0xc793a);await this[_0x339727(0x20f)](_0x31e4c6),this[_0x339727(0x215)](_0x31e4c6,_0x524aab,_0x3fddcf[_0x339727(0x20e)])||this[_0x339727(0x1dd)](_0x339727(0x1a3));}}async[_0x156978(0x1cd)](){const _0x3cbc7c=_0x156978;this[_0x3cbc7c(0x200)]();const {locale:_0x4b2b10}=this[_0x3cbc7c(0x1f8)];let _0x538d1;try{_0x538d1=await this[_0x3cbc7c(0x1f1)][_0x3cbc7c(0x284)]();}catch(_0x3853e5){const _0x306891=_0x23d5d8(_0x4b2b10,_0x3cbc7c(0x1a5));return void this[_0x3cbc7c(0x1a1)](_0x306891);}const _0x3a915d=_0x538d1[_0x3cbc7c(0x234)]||_0x538d1[_0x3cbc7c(0x1ca)];if(this[_0x3cbc7c(0x1f3)]===_0x3a915d[_0x3cbc7c(0x20e)])await this[_0x3cbc7c(0x22e)](this[_0x3cbc7c(0x1f8)][_0x3cbc7c(0x1b2)][_0x3cbc7c(0x21b)][_0x3cbc7c(0x22f)][_0x3cbc7c(0x1ae)](),!0x0);else{const _0x52ae8f=_0x23d5d8(_0x4b2b10,_0x3cbc7c(0x233));this[_0x3cbc7c(0x1a1)](_0x52ae8f);}}[_0x156978(0x200)](){const _0x3a2d1a=_0x156978;this[_0x3a2d1a(0x1f1)][_0x3a2d1a(0x1fd)](),this[_0x3a2d1a(0x1bf)]=[],clearTimeout(this[_0x3a2d1a(0x1ab)]),this[_0x3a2d1a(0x28b)](this[_0x3a2d1a(0x1f1)]);}[_0x156978(0x1f9)](_0x4191ea){const _0x50d8e4=_0x156978,_0x53b161=this[_0x50d8e4(0x1f8)][_0x50d8e4(0x1f2)][_0x50d8e4(0x281)](_0x2ec14d);this[_0x50d8e4(0x21a)](_0x53b161,_0x50d8e4(0x226)+this[_0x50d8e4(0x21e)],(_0xddf295,{session:_0xbedf83})=>{const _0x557458=_0x50d8e4;if(_0xbedf83['id']===_0x53b161[_0x557458(0x241)]){_0xddf295[_0x557458(0x1bd)]();const _0x1d04b3=this[_0x557458(0x1f8)][_0x557458(0x1f2)][_0x557458(0x251)](_0x557458(0x1c8))&&this[_0x557458(0x1f8)][_0x557458(0x1f2)][_0x557458(0x281)](_0x557458(0x1c8));let _0x2ccaf3=_0xbedf83[_0x557458(0x24b)];_0x1d04b3&&_0x1d04b3[_0x557458(0x1d1)]&&(_0x2ccaf3=_0x2ccaf3[_0x557458(0x1fc)](_0x902e8=>_0x557458(0x298)!==_0x902e8)),this[_0x557458(0x1f8)][_0x557458(0x1f2)][_0x557458(0x281)](_0x557458(0x1eb))[_0x557458(0x23c)](_0x2ccaf3,this[_0x557458(0x21e)]);}}),_0x53b161[_0x50d8e4(0x1e0)](this[_0x50d8e4(0x21e)],_0x4191ea);}[_0x156978(0x201)](){const _0x384c6f=_0x156978,_0x587c9d=this[_0x384c6f(0x1f8)][_0x384c6f(0x214)][_0x384c6f(0x242)];this[_0x384c6f(0x1f8)][_0x384c6f(0x214)][_0x384c6f(0x242)]=(..._0x3764a3)=>{const _0x24844d=_0x384c6f;if(!_0x3764a3[_0x3764a3[_0x24844d(0x1c2)]-0x1][_0x24844d(0x24a)])throw new _0x39acff(_0x24844d(0x253),this);_0x587c9d[_0x24844d(0x240)](this[_0x24844d(0x1f8)][_0x24844d(0x214)],_0x3764a3);};}[_0x156978(0x246)](){const _0x31dbf1=_0x156978;this[_0x31dbf1(0x1f8)][_0x31dbf1(0x214)]['on'](_0x31dbf1(0x237),(_0x2069ba,[_0x5183ad])=>{const _0x49b551=_0x31dbf1;if(this[_0x49b551(0x1c6)][_0x49b551(0x1ac)])throw new _0x39acff(_0x49b551(0x1db),this);_0x2069ba[_0x49b551(0x223)](),this[_0x49b551(0x219)]();const _0x41c848=this[_0x49b551(0x1f8)][_0x49b551(0x262)][_0x49b551(0x281)](_0x49b551(0x2a0)),_0x411813=this[_0x49b551(0x25e)](_0x5183ad,_0x41c848);0x0==_0x411813[_0x49b551(0x1c2)]&&_0x411813[_0x49b551(0x238)](new _0xe56ff6(0x0)),_0x2069ba[_0x49b551(0x1e4)]=this[_0x49b551(0x22e)](_0x411813)[_0x49b551(0x25c)](()=>{const _0x33e174=_0x49b551;this[_0x33e174(0x1f8)][_0x33e174(0x1f2)][_0x33e174(0x281)](_0x553c77)[_0x33e174(0x1d4)](this),this[_0x33e174(0x1f8)][_0x33e174(0x214)][_0x33e174(0x221)](_0x33e174(0x28e));})[_0x49b551(0x264)](_0x3cd4fe=>this[_0x49b551(0x1dd)](_0x49b551(0x232),_0x3cd4fe))[_0x49b551(0x288)](()=>this[_0x49b551(0x1cb)]());},{'priority':_0x31dbf1(0x1cf)}),this[_0x31dbf1(0x1f8)]['on'](_0x31dbf1(0x1b1),async(_0x3d6bff,[_0x1487ce,_0x40d502])=>{const _0x37055c=_0x31dbf1;_0x3d6bff[_0x37055c(0x223)]();const _0x37111b=this[_0x37055c(0x1f8)][_0x37055c(0x1b2)][_0x37055c(0x21b)][_0x37055c(0x1e1)](_0x1487ce);if(!this[_0x37055c(0x1df)][_0x37055c(0x251)](_0x1487ce)){const _0x6af196=_0x40d502&&_0x40d502[_0x37055c(0x214)]?_0x40d502[_0x37055c(0x214)]:'',_0x57e620=_0x40d502&&_0x40d502[_0x37055c(0x289)]?_0x40d502[_0x37055c(0x289)]:{};await this[_0x37055c(0x1ce)](_0x1487ce,_0x6af196,_0x57e620);}this[_0x37055c(0x1f8)][_0x37055c(0x1b2)][_0x37055c(0x210)]({'isUndoable':!0x1},()=>{const _0xd9ee55=_0x37055c;_0x37111b[_0xd9ee55(0x1f7)]=!0x0,this[_0xd9ee55(0x1f8)][_0xd9ee55(0x1b2)][_0xd9ee55(0x21b)][_0xd9ee55(0x1d3)][_0xd9ee55(0x1a2)](_0x37111b);});},{'priority':_0x31dbf1(0x1cf)});}async[_0x156978(0x20f)](_0x59fa7c){const _0x531650=_0x156978,_0x3ef06a=this[_0x531650(0x1f8)][_0x531650(0x1f2)][_0x531650(0x281)](_0x1f61e1),{connection:_0x5c7a48}=this[_0x531650(0x1f8)][_0x531650(0x1f2)][_0x531650(0x281)](_0x553c77),_0x343d5c=new Set();for(const _0x175274 of _0x59fa7c){const _0x309697=_0x175274[_0x531650(0x22c)];_0x309697&&!_0x3ef06a[_0x531650(0x1e7)](_0x309697)&&_0x343d5c[_0x531650(0x286)](_0x309697);}if(0x0===_0x343d5c[_0x531650(0x225)])return;const _0x298876=await _0x51bce5[_0x531650(0x1ba)](_0x5c7a48,Array[_0x531650(0x1d2)](_0x343d5c));for(const _0x24169d of _0x298876)_0x3ef06a[_0x531650(0x1e7)](_0x24169d['id'])||_0x3ef06a[_0x531650(0x216)](_0x24169d);}[_0x156978(0x25e)](_0x11a069,_0xcb7fb3={}){const _0x1d6af0=_0x156978,_0x3f983d=this[_0x1d6af0(0x1f8)][_0x1d6af0(0x1b2)],_0x47b179=[];let _0x2d17f9=0x0;const _0x1b9613=_0x1d6af0(0x29d)==typeof _0x11a069?{'main':_0x11a069}:_0x11a069;for(const _0x21640c of Object[_0x1d6af0(0x282)](_0x1b9613)){if(!this[_0x1d6af0(0x1c6)][_0x1d6af0(0x21d)][_0x1d6af0(0x251)](_0x21640c))throw new _0x39acff(_0x1d6af0(0x254),this);const _0x33bd32=this[_0x1d6af0(0x1f8)][_0x1d6af0(0x214)][_0x1d6af0(0x26e)](_0x1b9613[_0x21640c]),_0x1234b7=this[_0x1d6af0(0x1c6)][_0x1d6af0(0x1e1)](_0x21640c),_0x12a425=new _0x18402c(_0x3f983d[_0x1d6af0(0x24d)](_0x1234b7,0x0),_0x33bd32,_0x2d17f9++);_0x47b179[_0x1d6af0(0x238)](_0x12a425);for(const [_0x212b28,_0x3e5023]of _0x33bd32[_0x1d6af0(0x248)]){const _0x3ac656=_0x3f983d[_0x1d6af0(0x27c)](_0x3f983d[_0x1d6af0(0x257)](_0x1234b7,_0x3e5023[_0x1d6af0(0x1b9)][_0x1d6af0(0x272)][_0x1d6af0(0x208)]()),_0x3f983d[_0x1d6af0(0x257)](_0x1234b7,_0x3e5023[_0x1d6af0(0x28c)][_0x1d6af0(0x272)][_0x1d6af0(0x208)]())),_0x25d226=new _0x237ef8(_0x212b28,null,_0x3ac656,_0x3f983d[_0x1d6af0(0x248)],!0x0,_0x2d17f9++);_0x47b179[_0x1d6af0(0x238)](_0x25d226);}}if(_0xcb7fb3)for(const [_0x46a52d,_0x3517a6]of Object[_0x1d6af0(0x27d)](_0xcb7fb3)){const _0x1298b4=_0x3f983d[_0x1d6af0(0x21b)][_0x1d6af0(0x1e1)](_0x46a52d);if(!_0x1298b4)throw new _0x39acff(_0x1d6af0(0x1b6),null);for(const [_0x40fff1,_0x313723]of Object[_0x1d6af0(0x27d)](_0x3517a6))if(null!==_0x313723){const _0x3314d3=new _0x51f432(_0x1298b4,_0x40fff1,null,_0x313723,_0x2d17f9++);_0x47b179[_0x1d6af0(0x238)](_0x3314d3);}}return _0x47b179;}async[_0x156978(0x1ce)](_0x562a74,_0x2f1b69,_0x2771ae){const _0xe36881=_0x156978;this[_0xe36881(0x25e)]({[_0x562a74]:_0x2f1b69},{[_0x562a74]:_0x2771ae})[_0xe36881(0x1e9)]((_0x173ffb,_0x16e895)=>{const _0x2d38d7=_0xe36881;_0x173ffb[_0x2d38d7(0x236)]=this[_0x2d38d7(0x1c6)][_0x2d38d7(0x1ac)]+_0x16e895,_0x173ffb[_0x2d38d7(0x229)]=!0x0,this[_0x2d38d7(0x20b)](_0x173ffb);}),this[_0xe36881(0x285)](),await this[_0xe36881(0x279)]();}async[_0x156978(0x1aa)](_0x1f3174,_0x235d65){const _0x355b33=_0x156978;let _0x46fdb9;this[_0x355b33(0x19d)]=_0x1f3174[_0x355b33(0x258)];const _0x3d10eb=_0x1f3174[_0x355b33(0x23b)]&&!_0x1f3174[_0x355b33(0x1f5)],_0x22caed=_0x3d10eb?0x0:_0x1f3174[_0x355b33(0x214)][_0x355b33(0x236)];if(_0x235d65[_0x355b33(0x1e9)](_0x16fa2f=>{const _0x27a0ec=_0x355b33;_0x16fa2f[_0x27a0ec(0x229)]=!0x0,_0x16fa2f[_0x27a0ec(0x1b8)]=_0x1f3174[_0x27a0ec(0x211)],_0x16fa2f[_0x27a0ec(0x22c)]=null;}),_0x3d10eb)_0x46fdb9=_0x235d65,this[_0x355b33(0x1e6)](_0x46fdb9,_0x3d10eb);else{if(_0x1f3174[_0x355b33(0x1f5)]){const _0x317b92=this[_0x355b33(0x25e)](_0x1f3174[_0x355b33(0x1f5)]);this[_0x355b33(0x1c6)][_0x355b33(0x22f)][_0x355b33(0x1ac)]=-_0x317b92[_0x355b33(0x1c2)],_0x317b92[_0x355b33(0x1e9)](_0x223d22=>{const _0x71181f=_0x355b33;_0x223d22[_0x71181f(0x236)]-=_0x317b92[_0x71181f(0x1c2)],_0x223d22[_0x71181f(0x1b8)]=_0x1f3174[_0x71181f(0x211)],_0x223d22[_0x71181f(0x229)]=!0x0,_0x223d22[_0x71181f(0x22c)]=null;}),this[_0x355b33(0x1e6)](_0x317b92,!0x0),this[_0x355b33(0x29b)][_0x355b33(0x1ac)]=-_0x317b92[_0x355b33(0x1c2)]+this[_0x355b33(0x19d)],this[_0x355b33(0x26a)](_0x317b92);}this[_0x355b33(0x1c6)][_0x355b33(0x22f)][_0x355b33(0x1ac)]=_0x22caed,_0x46fdb9=this[_0x355b33(0x239)](_0x1f3174[_0x355b33(0x214)],_0x1f3174[_0x355b33(0x1c1)]),await this[_0x355b33(0x20f)](_0x46fdb9),this[_0x355b33(0x1e6)](_0x46fdb9,_0x3d10eb);}_0x1f3174[_0x355b33(0x20e)]&&(this[_0x355b33(0x1e3)][_0x355b33(0x28a)](_0x46fdb9,_0x1f3174[_0x355b33(0x20e)]),this[_0x355b33(0x1f3)]=_0x1f3174[_0x355b33(0x20e)]),this[_0x355b33(0x29b)][_0x355b33(0x1ac)]=_0x22caed+this[_0x355b33(0x19d)],this[_0x355b33(0x26a)](_0x46fdb9),_0x235d65[_0x355b33(0x1fc)](_0x24d3c8=>{const _0xd2f263=_0x355b33,_0x48423b=this[_0xd2f263(0x250)](_0x24d3c8);return _0x48423b&&!this[_0xd2f263(0x1df)][_0xd2f263(0x251)](_0x48423b);})[_0x355b33(0x1e9)]((_0x544c93,_0x31b711)=>{const _0x4cc525=_0x355b33;_0x544c93[_0x4cc525(0x236)]=this[_0x4cc525(0x1c6)][_0x4cc525(0x1ac)]+_0x31b711,this[_0x4cc525(0x20b)](_0x544c93);}),this[_0x355b33(0x1b3)]()?(this[_0x355b33(0x213)]=0x0,this[_0x355b33(0x285)](!0x0),await this[_0x355b33(0x279)]()):(this[_0x355b33(0x1de)]=!0x1,this[_0x355b33(0x1cb)]());}[_0x156978(0x1dd)](_0x12e848,_0x55e3e5){const _0x535b53=_0x156978;throw this[_0x535b53(0x1de)]=!0x0,_0x55e3e5&&console[_0x535b53(0x299)](_0x55e3e5),new _0x39acff(_0x12e848,this[_0x535b53(0x1f8)]);}[_0x156978(0x20b)](_0x527d6b){const _0x4e914f=_0x156978;this[_0x4e914f(0x1be)][_0x4e914f(0x251)](_0x527d6b)||(this[_0x4e914f(0x1be)][_0x4e914f(0x286)](_0x527d6b),this[_0x4e914f(0x1bf)][_0x4e914f(0x238)](_0x527d6b),this[_0x4e914f(0x1a4)]||_0x4e914f(0x277)==_0x527d6b[_0x4e914f(0x1c3)]&&!_0x527d6b[_0x4e914f(0x1b5)]||this[_0x4e914f(0x219)]());}[_0x156978(0x285)](_0x14acda=!0x1){const _0x5bb633=_0x156978;!_0x14acda&&this[_0x5bb633(0x1de)]||(this[_0x5bb633(0x1de)]=!0x0,clearTimeout(this[_0x5bb633(0x1ab)]),this[_0x5bb633(0x1ab)]=setTimeout(()=>{const _0x9b1238=_0x5bb633;this[_0x9b1238(0x1bb)]()[_0x9b1238(0x25c)](_0xe99cd3=>{const _0x584c4b=_0x9b1238;_0xe99cd3&&(this[_0x584c4b(0x1cb)](),this[_0x584c4b(0x1de)]=!0x1);})[_0x9b1238(0x264)](_0x4dd252=>{const _0x52926d=_0x9b1238;if(this[_0x52926d(0x1cb)](),this[_0x52926d(0x1de)]=!0x1,!function(_0x3e2922){const _0x6c8e4e=_0x52926d;return _0x3e2922[_0x6c8e4e(0x228)][_0x6c8e4e(0x1ff)](_0x6c8e4e(0x297))||_0x3e2922[_0x6c8e4e(0x228)][_0x6c8e4e(0x1ff)](_0x6c8e4e(0x26b))||_0x3e2922[_0x6c8e4e(0x228)][_0x6c8e4e(0x1ff)](_0x6c8e4e(0x1ea));}(_0x4dd252))throw _0x4dd252;});},this[_0x5bb633(0x213)]));}[_0x156978(0x279)](){return new Promise(_0x485e2e=>{const _0x1950b2=_0x71ed;this['on'](_0x1950b2(0x27e),()=>{_0x485e2e();});});}async[_0x156978(0x1bb)](){const _0x19758f=_0x156978,_0x2869ed=this[_0x19758f(0x1f8)][_0x19758f(0x1f2)][_0x19758f(0x281)](_0x53ae2d);if(this[_0x19758f(0x224)]()&&(_0x2869ed[_0x19758f(0x296)](),this[_0x19758f(0x1ef)]=!0x1),!this[_0x19758f(0x1b3)]())return!0x0;const _0x2fa25a=[...this[_0x19758f(0x1bf)]];for(const _0x558c3f of _0x2fa25a)_0x558c3f[_0x19758f(0x29a)]=this[_0x19758f(0x1c6)][_0x19758f(0x22f)][_0x19758f(0x204)](_0x558c3f);const _0x29a70f=this[_0x19758f(0x1e3)][_0x19758f(0x28f)](_0x2fa25a),_0x266679=K++,_0x31fd4e=this[_0x19758f(0x1e8)](_0x2fa25a),_0x795f57=await this[_0x19758f(0x1f1)][_0x19758f(0x247)](_0x31fd4e,_0x31fd4e[_0x19758f(0x236)],_0x29a70f);try{return await this[_0x19758f(0x26f)](_0x2fa25a,_0x795f57,_0x266679);}catch(_0x441cbb){return this[_0x19758f(0x1dd)](_0x19758f(0x218),_0x441cbb);}}async[_0x156978(0x26f)](_0x57998a,_0x51c6c5,_0x43c846){const _0x691275=_0x156978;if(_0x691275(0x299)in _0x51c6c5)throw _0x51c6c5[_0x691275(0x299)];let _0x16f6f7=!0x1;if(_0x51c6c5[_0x691275(0x23b)]){_0x51c6c5[_0x691275(0x20e)]&&(this[_0x691275(0x1f3)]=_0x51c6c5[_0x691275(0x20e)]),this[_0x691275(0x1bf)]=this[_0x691275(0x1bf)][_0x691275(0x1fc)](_0x5de508=>!_0x57998a[_0x691275(0x292)](_0x5de508));for(const _0x3ef05c of _0x57998a)_0x3ef05c[_0x691275(0x1b8)]=_0x691275(0x1a8)in _0x51c6c5&&_0x51c6c5[_0x691275(0x1a8)]||void 0x0;Q(_0x57998a,_0x51c6c5[_0x691275(0x1ac)]-_0x57998a[_0x691275(0x1c2)]),this[_0x691275(0x26a)](_0x57998a);const _0x3b0f5f=_0x57998a[_0x691275(0x1fc)](_0x503022=>{const _0x2050af=_0x691275;if(!_0x503022[_0x2050af(0x229)])return!0x1;const _0x58488e=this[_0x2050af(0x250)](_0x503022);return _0x58488e&&!this[_0x2050af(0x1df)][_0x2050af(0x251)](_0x58488e);});Q(_0x3b0f5f,this[_0x691275(0x1c6)][_0x691275(0x1ac)]),this[_0x691275(0x1e6)](_0x3b0f5f),_0x16f6f7=!0x0,this[_0x691275(0x213)]=this[_0x691275(0x255)];}else{const _0x2ebd34=this[_0x691275(0x239)](_0x51c6c5[_0x691275(0x214)],_0x51c6c5[_0x691275(0x1c1)])[_0x691275(0x1fc)](_0x41875e=>_0x41875e[_0x691275(0x236)]>=this[_0x691275(0x287)]);_0x2ebd34[_0x691275(0x1e9)](_0xef545d=>this[_0x691275(0x1bc)](_0xef545d)),this[_0x691275(0x1bf)]=this[_0x691275(0x1bf)][_0x691275(0x1fc)](_0x27be30=>!_0x27be30[_0x691275(0x229)]||!this[_0x691275(0x1df)][_0x691275(0x251)](this[_0x691275(0x250)](_0x27be30))),this[_0x691275(0x1bf)][_0x691275(0x1c2)]&&Q(this[_0x691275(0x1bf)],this[_0x691275(0x1bf)][0x0][_0x691275(0x236)]),await this[_0x691275(0x20f)](_0x2ebd34),_0x16f6f7=this[_0x691275(0x215)](_0x2ebd34,_0x51c6c5[_0x691275(0x1ac)],_0x51c6c5[_0x691275(0x20e)]),this[_0x691275(0x213)]=Math[_0x691275(0x27a)](this[_0x691275(0x213)]/0x2);}return _0x16f6f7?!this[_0x691275(0x1b3)]()||(this[_0x691275(0x285)](!0x0),!0x1):this[_0x691275(0x1dd)](_0x691275(0x20d));}[_0x156978(0x215)](_0x147a50,_0x17ad85,_0x2b4a14){const _0x289b82=_0x156978;try{const _0x2b0f0d={'document':this[_0x289b82(0x1c6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4305b7,operationsB:_0x284466,originalOperations:_0x11c6bc}=_0x21941f(_0x147a50,this[_0x289b82(0x1bf)],_0x2b0f0d);Q(_0x4305b7,this[_0x289b82(0x1c6)][_0x289b82(0x1ac)]),Q(_0x284466,_0x17ad85);for(const _0x22a0d3 of _0x4305b7){const _0x4aa260=_0x11c6bc[_0x289b82(0x281)](_0x22a0d3);_0x22a0d3[_0x289b82(0x22c)]=_0x4aa260?_0x4aa260[_0x289b82(0x22c)]:null;}_0x2b4a14&&(this[_0x289b82(0x1e3)][_0x289b82(0x28a)](_0x147a50,_0x2b4a14),this[_0x289b82(0x1f3)]=_0x2b4a14),this[_0x289b82(0x1bf)]=[..._0x284466],this[_0x289b82(0x1e6)](_0x4305b7),this[_0x289b82(0x26a)](_0x147a50);}catch(_0x3aed14){return console[_0x289b82(0x299)](_0x3aed14),!0x1;}return!0x0;}[_0x156978(0x1e6)](_0x320cfb,_0x34162d=!0x1){const _0x1fdc34=_0x156978;this[_0x1fdc34(0x1f8)][_0x1fdc34(0x1b2)][_0x1fdc34(0x210)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1e0270=>{const _0x2a855c=_0x1fdc34;for(const _0xaa022b of _0x320cfb)this[_0x2a855c(0x1be)][_0x2a855c(0x286)](_0xaa022b),this[_0x2a855c(0x1bc)](_0xaa022b),_0x1e0270[_0x2a855c(0x243)][_0x2a855c(0x290)](_0xaa022b),this[_0x2a855c(0x1f8)][_0x2a855c(0x1b2)][_0x2a855c(0x1c4)](_0xaa022b);});}[_0x156978(0x1bc)](_0x370974){const _0x54a549=_0x156978,_0x33d09d=this[_0x54a549(0x250)](_0x370974);_0x33d09d&&this[_0x54a549(0x1df)][_0x54a549(0x286)](_0x33d09d);}[_0x156978(0x250)](_0x55b81a){const _0x3f9c93=_0x156978;let _0x57def1,_0xaff32a;switch(_0x55b81a[_0x3f9c93(0x1c3)]){case _0x3f9c93(0x205):_0x57def1=_0x55b81a[_0x3f9c93(0x227)][_0x3f9c93(0x29e)];break;case _0x3f9c93(0x277):if(_0xaff32a=_0x55b81a[_0x3f9c93(0x25f)],!_0xaff32a)return null;_0x57def1=_0xaff32a[_0x3f9c93(0x29e)];break;case _0x3f9c93(0x270):_0x57def1=_0x55b81a[_0x3f9c93(0x29e)];break;case _0x3f9c93(0x291):_0x57def1=_0x55b81a[_0x3f9c93(0x266)];break;case _0x3f9c93(0x293):_0x57def1=_0x55b81a[_0x3f9c93(0x25d)][_0x3f9c93(0x29e)];break;default:return null;}return _0x57def1[_0x3f9c93(0x1c9)];}[_0x156978(0x26a)](_0x9e0b00){const _0x547679=_0x156978;_0x9e0b00[_0x547679(0x1e9)](_0x28313d=>{const _0x3e018b=_0x547679,_0x15cc4a=_0x28313d[_0x3e018b(0x1d0)]();_0x15cc4a[_0x3e018b(0x22c)]=_0x28313d[_0x3e018b(0x22c)],_0x15cc4a[_0x3e018b(0x229)]=!!_0x28313d[_0x3e018b(0x229)],_0x15cc4a[_0x3e018b(0x1b8)]=_0x28313d[_0x3e018b(0x1b8)],_0x15cc4a[_0x3e018b(0x236)]+=this[_0x3e018b(0x19d)],_0x28313d[_0x3e018b(0x273)]&&this[_0x3e018b(0x1b0)][_0x3e018b(0x286)](_0x15cc4a),this[_0x3e018b(0x29b)][_0x3e018b(0x290)](_0x15cc4a);});}[_0x156978(0x1a1)](_0x40a82e){const _0x14ec23=_0x156978,_0x4a3c8b=this[_0x14ec23(0x1f8)][_0x14ec23(0x1f2)][_0x14ec23(0x281)](_0x14ec23(0x1d6)),_0x3d8ba7=this[_0x14ec23(0x1f8)][_0x14ec23(0x1d9)];_0x40a82e||(_0x40a82e=_0x23d5d8(_0x3d8ba7,_0x14ec23(0x230))),_0x4a3c8b[_0x14ec23(0x267)](_0x40a82e,{'title':_0x23d5d8(_0x3d8ba7,_0x14ec23(0x29c)),'namespace':_0x14ec23(0x265)}),this[_0x14ec23(0x260)]=!0x0,clearTimeout(this[_0x14ec23(0x1ab)]),this[_0x14ec23(0x1bf)]=[],this[_0x14ec23(0x1f8)][_0x14ec23(0x1f2)][_0x14ec23(0x281)](_0x553c77)[_0x14ec23(0x24c)]();}[_0x156978(0x219)](){const _0x21bff1=_0x156978;this[_0x21bff1(0x1a4)]||(this[_0x21bff1(0x1a4)]=this[_0x21bff1(0x1f8)][_0x21bff1(0x1f2)][_0x21bff1(0x281)](_0x4d58ec)[_0x21bff1(0x286)](_0x23d5d8(this[_0x21bff1(0x1f8)][_0x21bff1(0x1d9)],_0x21bff1(0x276))));}[_0x156978(0x1cb)](){const _0x4251e5=_0x156978;this[_0x4251e5(0x1a4)]&&(this[_0x4251e5(0x1f8)][_0x4251e5(0x1f2)][_0x4251e5(0x281)](_0x4d58ec)[_0x4251e5(0x23e)](this[_0x4251e5(0x1a4)]),this[_0x4251e5(0x1a4)]=null);}[_0x156978(0x1e8)](_0xf18ed1){const _0x592662=_0x156978,_0x2a4d22=_0xf18ed1[_0x592662(0x245)](_0xeccc6e=>_0xeccc6e[_0x592662(0x1d5)]());return this[_0x592662(0x1d8)][_0x592662(0x1c5)](_0x2a4d22);}[_0x156978(0x239)](_0x1266e4,_0x4e2f2d){const _0x441003=_0x156978;return this[_0x441003(0x1d8)][_0x441003(0x28d)](_0x1266e4)[_0x441003(0x245)]((_0x2a0a63,_0x503c9e)=>{const _0x259cea=_0x441003,_0x3f03b7=_0x259cea(0x237)==_0x4e2f2d[_0x503c9e][_0x259cea(0x1c3)];if(_0x259cea(0x278)==_0x2a0a63[_0x259cea(0x25a)]){const _0x274cca=_0x2a0a63[_0x259cea(0x227)][_0x259cea(0x29e)];!this[_0x259cea(0x1c6)][_0x259cea(0x1e1)](_0x274cca)&&(this[_0x259cea(0x1c6)][_0x259cea(0x249)](_0x259cea(0x1e5),_0x274cca)[_0x259cea(0x23a)]=!0x1);}const _0x602380=_0x1c2267[_0x259cea(0x209)](_0x2a0a63,this[_0x259cea(0x1c6)]);return _0x602380[_0x259cea(0x29a)]=_0x2a0a63[_0x259cea(0x29a)],_0x602380[_0x259cea(0x229)]=_0x3f03b7,_0x602380[_0x259cea(0x22c)]=_0x3f03b7?null:_0x4e2f2d[_0x503c9e][_0x259cea(0x19e)],_0x602380[_0x259cea(0x273)]=_0x259cea(0x22b)===_0x4e2f2d[_0x503c9e][_0x259cea(0x1c3)],_0x602380[_0x259cea(0x1b8)]=_0x4e2f2d[_0x503c9e][_0x259cea(0x1b8)],_0x602380;});}[_0x156978(0x280)](){const _0x243efe=_0x156978;this[_0x243efe(0x1ef)]=!0x0,this[_0x243efe(0x224)]()?this[_0x243efe(0x285)]():this[_0x243efe(0x1ef)]=!0x1;}[_0x156978(0x224)](){const _0x5e7c68=_0x156978,_0x1ef727=this[_0x5e7c68(0x1f8)][_0x5e7c68(0x1f2)][_0x5e7c68(0x281)](_0x2ec14d)[_0x5e7c68(0x1ed)][_0x5e7c68(0x281)](this[_0x5e7c68(0x21e)]);return!this[_0x5e7c68(0x1f8)][_0x5e7c68(0x1b7)]&&!!_0x1ef727&&_0x1ef727[_0x5e7c68(0x1c2)]>0x1&&this[_0x5e7c68(0x1ef)];}[_0x156978(0x1b3)](){const _0x1d4ba1=_0x156978;return this[_0x1d4ba1(0x1bf)][_0x1d4ba1(0x1c2)]>0x0||this[_0x1d4ba1(0x224)]();}}l[_0x156978(0x1f6)]=_0x1e6576;function _0x71ed(_0x33005a,_0x5ed7c4){const _0x13bfbc=_0x13bf();return _0x71ed=function(_0x71edff,_0x152b65){_0x71edff=_0x71edff-0x19d;let _0x524dbc=_0x13bfbc[_0x71edff];return _0x524dbc;},_0x71ed(_0x33005a,_0x5ed7c4);}export default l;class J extends Error{}function Q(_0x15d1a4,_0x2886cc){const _0x174f83=_0x156978;for(const _0x2be583 of _0x15d1a4)_0x2be583[_0x174f83(0x236)]=_0x2886cc++;}class X{constructor(_0x1ee1ea){const _0x1affd8=_0x156978;this[_0x1affd8(0x26d)]=_0x1ee1ea,this[_0x1affd8(0x1dc)]=new WeakMap();}[_0x156978(0x28f)](_0x4bed35){const _0x419e12=_0x156978;let _0xf1abae=_0x4bed35[_0x419e12(0x1c2)];for(;_0xf1abae--;){const _0x1dca39=_0x4bed35[_0xf1abae];if(!this[_0x419e12(0x26d)][_0x419e12(0x251)](_0x1dca39)){if(!this[_0x419e12(0x1dc)][_0x419e12(0x251)](_0x1dca39)){const _0x295877=_0x49117e()[_0x419e12(0x208)](0x1,0x12);this[_0x419e12(0x1dc)][_0x419e12(0x242)](_0x1dca39,_0x295877);}return this[_0x419e12(0x1dc)][_0x419e12(0x281)](_0x1dca39);}}}[_0x156978(0x28a)](_0x530397,_0x46007d){const _0xe0f0d8=_0x156978;if(!_0x46007d)return;let _0x57b65a=_0x530397[_0xe0f0d8(0x1c2)];for(;_0x57b65a--;){const _0x4003f1=_0x530397[_0x57b65a];this[_0xe0f0d8(0x26d)][_0xe0f0d8(0x251)](_0x4003f1)||this[_0xe0f0d8(0x1dc)][_0xe0f0d8(0x242)](_0x4003f1,_0x46007d);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22bf53=_0x24d9;function _0x3941(){const _0xc4a2e1=['channelSessions','addUser','defineMe','init','sessions-unregister-not-exist','100614mDAbqU','isOfficialPlugin','requires','unregister','sessionAdd:','delete','plugins','131640vClCVP','stopListening','change:state','listenTo','remove','sessionId','connected','71142vacluE','role','size','45NRzLWv','pluginName','orderNumber','set','sessions-register-already-registered','_users','_uniqueUsersCount','has','_handleSessionRemove','user','add','register','state','assign','allConnectedUsers','96184bJlMAO','52FKNDOc','720765LOGona','fire','connection','clear','_handleSessionAdd','147MtqgeQ','_createUser','getUserRole','isPremiumPlugin','3924613VNVJdD','mySessionId','values','context','channelConnectedUsers','516872aslvTC','get','Sessions','getUserSessions','_registeredSessions','isMe','10GrOffr','forEach','getUser','getUserBySessionId'];_0x3941=function(){return _0xc4a2e1;};return _0x3941();}(function(_0x2c4a07,_0x1c1937){const _0x10bb76=_0x24d9,_0x1162bc=_0x2c4a07();while(!![]){try{const _0x53a76c=-parseInt(_0x10bb76(0x137))/0x1+parseInt(_0x10bb76(0x159))/0x2+-parseInt(_0x10bb76(0x14b))/0x3+-parseInt(_0x10bb76(0x14a))/0x4*(-parseInt(_0x10bb76(0x130))/0x5)+-parseInt(_0x10bb76(0x129))/0x6*(parseInt(_0x10bb76(0x150))/0x7)+parseInt(_0x10bb76(0x149))/0x8*(-parseInt(_0x10bb76(0x13a))/0x9)+-parseInt(_0x10bb76(0x120))/0xa*(-parseInt(_0x10bb76(0x154))/0xb);if(_0x53a76c===_0x1c1937)break;else _0x1162bc['push'](_0x1162bc['shift']());}catch(_0x269f9f){_0x1162bc['push'](_0x1162bc['shift']());}}}(_0x3941,0x3915e));import{ContextPlugin as _0x9fcea9}from'ckeditor5/src/core.js';function _0x24d9(_0x3ae30c,_0x54ccf0){const _0x394160=_0x3941();return _0x24d9=function(_0x24d9da,_0x3dd7b0){_0x24d9da=_0x24d9da-0x11c;let _0x130074=_0x394160[_0x24d9da];return _0x130074;},_0x24d9(_0x3ae30c,_0x54ccf0);}import{Collection as _0x407876,CKEditorError as _0x954f09}from'ckeditor5/src/utils.js';import _0x5d656c from'./websocketgateway.js';import{Users as _0x57ea3e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x9fcea9{static get[_0x22bf53(0x13b)](){const _0x1bd8d9=_0x22bf53;return _0x1bd8d9(0x11c);}static get[_0x22bf53(0x12a)](){return!0x0;}static get[_0x22bf53(0x153)](){return!0x0;}static get[_0x22bf53(0x12b)](){return[_0x5d656c,_0x57ea3e];}constructor(_0x487d11){const _0x96517c=_0x22bf53;super(_0x487d11),this[_0x96517c(0x124)]=new Map(),this[_0x96517c(0x158)]=new Map(),this[_0x96517c(0x148)]=new _0x407876(),this[_0x96517c(0x11e)]=new Map(),this[_0x96517c(0x140)]=0x0,this[_0x96517c(0x13f)]=this[_0x96517c(0x157)][_0x96517c(0x12f)][_0x96517c(0x15a)](_0x57ea3e);}[_0x22bf53(0x127)](){const _0xecdc9e=_0x22bf53,_0x143a86=this[_0xecdc9e(0x157)][_0xecdc9e(0x12f)][_0xecdc9e(0x15a)](_0x5d656c);this[_0xecdc9e(0x133)](_0x143a86,_0xecdc9e(0x132),(_0x29c371,_0x55fe60,_0x1f8a0f)=>{const _0x3ee7a2=_0xecdc9e;if(_0x3ee7a2(0x136)!==_0x1f8a0f)this[_0x3ee7a2(0x124)][_0x3ee7a2(0x121)](_0x19b2ca=>_0x19b2ca[_0x3ee7a2(0x14e)]()),this[_0x3ee7a2(0x158)][_0x3ee7a2(0x121)](_0x360fc2=>_0x360fc2[_0x3ee7a2(0x14e)]()),this[_0x3ee7a2(0x148)][_0x3ee7a2(0x14e)]();else{for(const [_0x1619f8,_0x3ca503]of this[_0x3ee7a2(0x11e)])for(const _0x56e072 of _0x3ca503)this[_0x3ee7a2(0x14f)](_0x1619f8,_0x56e072);}}),this[_0xecdc9e(0x151)](_0x143a86[_0xecdc9e(0x14d)]['me'],!0x0);}[_0x22bf53(0x145)](_0x259ae0,_0x2a5a69){const _0x41695d=_0x22bf53;if(this[_0x41695d(0x11e)][_0x41695d(0x141)](_0x259ae0))throw new _0x954f09(_0x41695d(0x13e),null,{'channelId':_0x259ae0});this[_0x41695d(0x11e)][_0x41695d(0x13d)](_0x259ae0,_0x2a5a69),this[_0x41695d(0x124)][_0x41695d(0x13d)](_0x259ae0,new _0x407876()),this[_0x41695d(0x158)][_0x41695d(0x13d)](_0x259ae0,new _0x407876()),this[_0x41695d(0x133)](_0x2a5a69,_0x41695d(0x144),(_0xefc650,_0x4b722d)=>this[_0x41695d(0x14f)](_0x259ae0,_0x4b722d)),this[_0x41695d(0x133)](_0x2a5a69,_0x41695d(0x134),(_0x10ac24,_0x35f1f3)=>this[_0x41695d(0x142)](_0x259ae0,_0x35f1f3));for(const _0x118b1c of _0x2a5a69)this[_0x41695d(0x14f)](_0x259ae0,_0x118b1c);}[_0x22bf53(0x12c)](_0x22c22b){const _0x30da52=_0x22bf53;if(!this[_0x30da52(0x11e)][_0x30da52(0x141)](_0x22c22b))throw new _0x954f09(_0x30da52(0x128),null,{'channelId':_0x22c22b});const _0x4c7e74=this[_0x30da52(0x11e)][_0x30da52(0x15a)](_0x22c22b);this[_0x30da52(0x131)](_0x4c7e74);for(const _0x478972 of _0x4c7e74)_0x30da52(0x136)===this[_0x30da52(0x157)][_0x30da52(0x12f)][_0x30da52(0x15a)](_0x5d656c)[_0x30da52(0x146)]&&this[_0x30da52(0x142)](_0x22c22b,_0x478972);this[_0x30da52(0x11e)][_0x30da52(0x12e)](_0x22c22b),this[_0x30da52(0x124)][_0x30da52(0x12e)](_0x22c22b),this[_0x30da52(0x158)][_0x30da52(0x12e)](_0x22c22b);}get[_0x22bf53(0x155)](){const _0x125532=_0x22bf53;return this[_0x125532(0x157)][_0x125532(0x12f)][_0x125532(0x15a)](_0x5d656c)[_0x125532(0x14d)][_0x125532(0x135)];}[_0x22bf53(0x123)](_0x3d8c0c){const _0x496e23=_0x22bf53;for(const _0x2688c3 of this[_0x496e23(0x124)][_0x496e23(0x156)]())for(const _0x2ed29e of _0x2688c3)if(_0x2ed29e['id']===_0x3d8c0c)return _0x2ed29e[_0x496e23(0x143)];}[_0x22bf53(0x11d)](_0x28e63e,_0x102382){const _0xa7b695=_0x22bf53,_0x4ae7e9=_0x102382?[this[_0xa7b695(0x124)][_0xa7b695(0x15a)](_0x102382)]:this[_0xa7b695(0x124)][_0xa7b695(0x156)](),_0x528298=new Set();for(const _0x3a7804 of _0x4ae7e9)for(const _0x5b667b of _0x3a7804)_0x5b667b[_0xa7b695(0x143)]['id']===_0x28e63e['id']&&_0x528298[_0xa7b695(0x144)](_0x5b667b['id']);return _0x528298;}[_0x22bf53(0x152)](_0x588eba){const _0x3ba772=_0x22bf53;for(const _0x526d9b of this[_0x3ba772(0x124)][_0x3ba772(0x156)]())for(const _0x3eb58b of _0x526d9b)if(_0x3eb58b[_0x3ba772(0x143)]===_0x588eba)return _0x3eb58b[_0x3ba772(0x138)];}[_0x22bf53(0x14f)](_0x565d0f,_0x599515){const _0x277f06=_0x22bf53;if(_0x277f06(0x136)!==this[_0x277f06(0x157)][_0x277f06(0x12f)][_0x277f06(0x15a)](_0x5d656c)[_0x277f06(0x146)])return;const _0x55de35=_0x599515[_0x277f06(0x143)],_0x1bb343=this[_0x277f06(0x13f)][_0x277f06(0x122)](_0x55de35['id'])||this[_0x277f06(0x151)](_0x55de35),_0x1d4176=Object[_0x277f06(0x147)]({},_0x599515,{'user':_0x1bb343});this[_0x277f06(0x124)][_0x277f06(0x15a)](_0x565d0f)[_0x277f06(0x144)](_0x1d4176);const _0x1336dd=this[_0x277f06(0x158)][_0x277f06(0x15a)](_0x565d0f);_0x1336dd[_0x277f06(0x141)](_0x1bb343['id'])||_0x1336dd[_0x277f06(0x144)](_0x1bb343),this[_0x277f06(0x148)][_0x277f06(0x141)](_0x1bb343['id'])||this[_0x277f06(0x148)][_0x277f06(0x144)](_0x1bb343,_0x1bb343[_0x277f06(0x11f)]?0x0:void 0x0),this[_0x277f06(0x14c)](_0x277f06(0x12d)+_0x565d0f,{'channelId':_0x565d0f,'session':_0x1d4176});}[_0x22bf53(0x142)](_0x6ef349,_0x547a10){const _0x86df4e=_0x22bf53;if(_0x86df4e(0x136)!==this[_0x86df4e(0x157)][_0x86df4e(0x12f)][_0x86df4e(0x15a)](_0x5d656c)[_0x86df4e(0x146)])return;const _0x5d35cd=this[_0x86df4e(0x158)][_0x86df4e(0x15a)](_0x6ef349),_0x5d3519=_0x547a10[_0x86df4e(0x143)];_0x5d3519['id']&&(this[_0x86df4e(0x124)][_0x86df4e(0x15a)](_0x6ef349)[_0x86df4e(0x134)](_0x547a10['id']),_0x5d35cd[_0x86df4e(0x141)](_0x5d3519['id'])&&!this[_0x86df4e(0x11d)](_0x5d3519,_0x6ef349)[_0x86df4e(0x139)]&&_0x5d35cd[_0x86df4e(0x134)](_0x5d3519['id']),this[_0x86df4e(0x148)][_0x86df4e(0x15a)](_0x5d3519['id'])&&!this[_0x86df4e(0x11d)](_0x5d3519)[_0x86df4e(0x139)]&&this[_0x86df4e(0x148)][_0x86df4e(0x134)](_0x5d3519['id']));}[_0x22bf53(0x151)](_0x27887a,_0x341e31){const _0x501b39=_0x22bf53,_0xadedb3=this[_0x501b39(0x13f)][_0x501b39(0x125)](_0x27887a);return _0x341e31&&this[_0x501b39(0x13f)][_0x501b39(0x126)](_0x27887a['id']),_0xadedb3[_0x501b39(0x13c)]=this[_0x501b39(0x140)]++,_0xadedb3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5a0759=_0x1a80;(function(_0x57478a,_0x49cae8){const _0x290ef0=_0x1a80,_0x19a839=_0x57478a();while(!![]){try{const _0x52baae=parseInt(_0x290ef0(0xd4))/0x1+-parseInt(_0x290ef0(0xd1))/0x2*(-parseInt(_0x290ef0(0xff))/0x3)+-parseInt(_0x290ef0(0x11e))/0x4+parseInt(_0x290ef0(0x133))/0x5*(-parseInt(_0x290ef0(0x11f))/0x6)+-parseInt(_0x290ef0(0x145))/0x7*(parseInt(_0x290ef0(0xe3))/0x8)+-parseInt(_0x290ef0(0x119))/0x9+-parseInt(_0x290ef0(0x110))/0xa*(-parseInt(_0x290ef0(0x108))/0xb);if(_0x52baae===_0x49cae8)break;else _0x19a839['push'](_0x19a839['shift']());}catch(_0x5c3605){_0x19a839['push'](_0x19a839['shift']());}}}(_0x283a,0xb0a2a));import{Plugin as _0x48b14c}from'ckeditor5/src/core.js';import{global as _0x5671fe,DomEmitterMixin as _0x563802}from'ckeditor5/src/utils.js';import _0x2043e3 from'./sessions.js';import{LiveRange as _0x20c4ec}from'ckeditor5/src/engine.js';function _0x1a80(_0x47eacb,_0x63d4b9){const _0x283a89=_0x283a();return _0x1a80=function(_0x1a8069,_0x56da69){_0x1a8069=_0x1a8069-0xc9;let _0x145f46=_0x283a89[_0x1a8069];return _0x145f46;},_0x1a80(_0x47eacb,_0x63d4b9);}import'../../theme/usermarkers.css';export default class K extends _0x48b14c{constructor(){const _0xf94db2=_0x1a80;super(...arguments),this[_0xf94db2(0x12b)]=new(_0x563802())();}static get[_0x5a0759(0xf5)](){return[_0x2043e3];}static get[_0x5a0759(0xdc)](){const _0x2af34e=_0x5a0759;return _0x2af34e(0x101);}static get[_0x5a0759(0xf0)](){return!0x0;}static get[_0x5a0759(0xe5)](){return!0x0;}[_0x5a0759(0x125)](){const _0x5ca373=_0x5a0759,_0x3e12aa=this[_0x5ca373(0xec)],_0x20aa7a=_0x3e12aa[_0x5ca373(0x11b)][_0x5ca373(0xce)](_0x2043e3);_0x3e12aa[_0x5ca373(0x14d)][_0x5ca373(0x138)](_0x5ca373(0x12c))[_0x5ca373(0x121)]({'model':_0x5ca373(0xdb),'view':(_0x47bc68,{writer:_0x1b418c})=>function(_0x31206a,_0x2524f4,_0x21fe1c,_0x2c09d7){const _0x4b6ac9=_0x5ca373,_0x4ab31b=_0x31206a[_0x4b6ac9(0xdd)][_0x4b6ac9(0xda)](':')[0x2],_0x5bcae7=_0x21fe1c[_0x4b6ac9(0xf9)](_0x4ab31b);if(!_0x5bcae7||_0x4ab31b===_0x21fe1c[_0x4b6ac9(0x104)])return;if(!_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xe4)][_0x4b6ac9(0xee)](_0x31206a[_0x4b6ac9(0x129)][_0x4b6ac9(0x103)],_0x4b6ac9(0xdf)))return;const _0x4cd8f9={'class':_0x4b6ac9(0xe2)+_0x5bcae7[_0x4b6ac9(0xea)][_0x4b6ac9(0x140)](),'data-name':_0x5bcae7[_0x4b6ac9(0x146)],'data-session-id':_0x4ab31b},_0x16e691=_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xf8)][_0x4b6ac9(0xce)](_0x31206a[_0x4b6ac9(0xdd)]),_0x3153ae=_0x16e691[_0x4b6ac9(0xd5)](),_0xbb4c02=_0x3153ae[_0x4b6ac9(0x114)],_0x11034d=_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xe4)];if(_0xbb4c02&&_0x11034d[_0x4b6ac9(0x126)](_0xbb4c02)&&_0x11034d[_0x4b6ac9(0x143)](_0xbb4c02)&&!_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xf8)][_0x4b6ac9(0xce)](_0x4b6ac9(0x13d)+_0x4ab31b)[_0x4b6ac9(0x13f)]()[_0x4b6ac9(0xe1)])return;const _0xef164b=_0x3153ae[_0x4b6ac9(0x107)];return _0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xe4)][_0x4b6ac9(0xf3)](_0xef164b)&&!_0x2c09d7[_0x4b6ac9(0xfb)][_0x4b6ac9(0xd6)](_0xef164b)&&(_0x4cd8f9[_0x4b6ac9(0x113)]=!0x1),function(_0x21878c,_0x4f6658,_0x38d788){const _0x4fc4d3=_0x4b6ac9,_0x1686ac=_0x21878c[_0x4fc4d3(0x11c)](_0x4fc4d3(0x12e),_0x4f6658);return _0x21878c[_0x4fc4d3(0x10e)](_0x4fc4d3(0xde),!0x0,_0x1686ac),_0x1686ac[_0x4fc4d3(0x13a)]=function(_0x32a3f0){const _0x5af78b=_0x4fc4d3,_0x13b87e=this[_0x5af78b(0x148)](_0x32a3f0);return _0x13b87e[_0x5af78b(0xed)]=_0x5af78b(0x112)+_0x38d788[_0x5af78b(0x146)]+_0x5af78b(0xc9),_0x13b87e[_0x5af78b(0x141)](_0x5af78b(0xca),()=>{const _0x16bc7f=_0x5af78b;_0x13b87e[_0x16bc7f(0xfc)][_0x16bc7f(0x13c)](_0x16bc7f(0xf1));}),_0x13b87e[_0x5af78b(0x141)](_0x5af78b(0xfa),()=>{const _0x5e2a35=_0x5af78b;_0x13b87e[_0x5e2a35(0xfc)][_0x5e2a35(0x100)](_0x5e2a35(0xf1));}),_0x13b87e;},_0x1686ac[_0x4fc4d3(0x131)]=function(_0x5815c1){const _0x5e485f=_0x4fc4d3;return!(!this[_0x5e485f(0x12a)](_0x5e485f(0xde))||!_0x5815c1[_0x5e485f(0x12a)](_0x5e485f(0xde))||this[_0x5e485f(0xe9)](_0x5e485f(0x127))!=_0x5815c1[_0x5e485f(0xe9)](_0x5e485f(0x127)));},_0x1686ac;}(_0x2524f4,_0x4cd8f9,_0x5bcae7);}(_0x47bc68,_0x1b418c,_0x20aa7a,_0x3e12aa)}),_0x3e12aa[_0x5ca373(0x14d)][_0x5ca373(0x138)](_0x5ca373(0x12c))[_0x5ca373(0xf7)]({'model':_0x5ca373(0xd9),'view':_0x436f1b=>function(_0x3690c9,_0x5d1840){const _0x22881f=_0x5ca373,_0xb712c6=_0x3690c9[_0x22881f(0xdd)][_0x22881f(0xda)](':')[0x2];if(_0xb712c6===_0x5d1840[_0x22881f(0x104)])return null;const _0xf0a97e=_0x5d1840[_0x22881f(0xf9)](_0xb712c6);if(!_0xf0a97e)return{'id':_0xb712c6,'classes':[]};return{'id':_0xb712c6,'classes':[_0x22881f(0xcb),_0xf0a97e[_0x22881f(0xea)][_0x22881f(0xe6)]()],'attributes':{'data-session-id':_0xb712c6},'priority':0x7d0+_0xf0a97e[_0x22881f(0x14a)]};}(_0x436f1b,_0x20aa7a)}),function(_0x1afdaa){const _0x1ab1cb=_0x5ca373,_0x332b3a=_0x1afdaa[_0x1ab1cb(0xfb)],_0x41e8db=new Map(),_0x1230d9=_0x1afdaa[_0x1ab1cb(0x11b)][_0x1ab1cb(0xce)](_0x2043e3);_0x332b3a[_0x1ab1cb(0xf8)]['on'](_0x1ab1cb(0x111),(_0x4c449f,_0x16650b,_0x1024f5,_0xf2789c)=>{const _0xa35bb7=_0x1ab1cb;if(!_0xf2789c&&_0x41e8db[_0xa35bb7(0xce)](_0x16650b[_0xa35bb7(0x146)]))return _0x41e8db[_0xa35bb7(0xce)](_0x16650b[_0xa35bb7(0x146)])[_0xa35bb7(0x12f)](),void _0x41e8db[_0xa35bb7(0xcc)](_0x16650b[_0xa35bb7(0x146)]);const _0x4f2f7b=_0x16650b[_0xa35bb7(0x146)][_0xa35bb7(0xda)](':')[0x2];if(_0x4f2f7b===_0x1230d9[_0xa35bb7(0x104)])return;const _0x292768=_0xa35bb7(0x14c)+_0x4f2f7b;_0x332b3a[_0xa35bb7(0xf8)][_0xa35bb7(0x14b)](_0x292768)&&_0x1afdaa[_0xa35bb7(0x109)][_0xa35bb7(0x134)](_0x292768),_0x16650b['on'](_0xa35bb7(0xd3),(_0x183f2e,_0x1954fc,_0x276776)=>{const _0x4b394d=_0xa35bb7;if(_0x4b394d(0x13b)!=_0x1954fc[_0x4b394d(0x11a)][_0x4b394d(0x13e)]&&_0x4b394d(0x13b)==_0x16650b[_0x4b394d(0x13f)]()[_0x4b394d(0x11a)][_0x4b394d(0x13e)]&&!_0x41e8db[_0x4b394d(0x14b)](_0x16650b[_0x4b394d(0x146)])){const _0x138c5e=_0x332b3a[_0x4b394d(0xe4)][_0x4b394d(0x130)](_0x276776[_0x4b394d(0x118)]);if(_0x138c5e){const _0x4b9da9=_0x20c4ec[_0x4b394d(0x123)](_0x138c5e);_0x41e8db[_0x4b394d(0x128)](_0x16650b[_0x4b394d(0x146)],_0x4b9da9),_0x4b9da9['on'](_0x4b394d(0xd3),(_0x83faf6,_0x3cf733,_0x164c33)=>{const _0x281cb9=_0x4b394d;if(_0x281cb9(0x13b)==_0x4b9da9[_0x281cb9(0x11a)][_0x281cb9(0x13e)]){const _0x447000=_0x332b3a[_0x281cb9(0xe4)][_0x281cb9(0x130)](_0x164c33[_0x281cb9(0x118)]);_0x447000?(_0x4b9da9[_0x281cb9(0x103)]=_0x447000[_0x281cb9(0x103)],_0x4b9da9[_0x281cb9(0xfe)]=_0x447000[_0x281cb9(0xfe)]):(_0x41e8db[_0x281cb9(0xcc)](_0x16650b[_0x281cb9(0x146)]),_0x4b9da9[_0x281cb9(0x12f)]());}});}}});}),_0x332b3a[_0x1ab1cb(0xcd)]['on'](_0x1ab1cb(0x120),()=>{const _0x2ad692=_0x1ab1cb;_0x41e8db[_0x2ad692(0xef)]>0x0&&_0x332b3a[_0x2ad692(0xe7)]({'isUndoable':!0x1},_0x5dbce1=>{const _0x797d04=_0x2ad692;for(const [_0x121d32,_0x4003e1]of _0x41e8db)_0x797d04(0x13b)==_0x332b3a[_0x797d04(0xf8)][_0x797d04(0xce)](_0x121d32)[_0x797d04(0x13f)]()[_0x797d04(0x11a)][_0x797d04(0x13e)]&&(te(_0x121d32[_0x797d04(0xda)](':')[0x2],_0x4003e1[_0x797d04(0xf4)](),_0x332b3a,_0x5dbce1),_0x4003e1[_0x797d04(0x12f)]());_0x41e8db[_0x797d04(0x144)]();});});}(_0x3e12aa),this[_0x5ca373(0x12b)][_0x5ca373(0x142)](_0x5671fe[_0x5ca373(0xcd)],_0x5ca373(0x10f),(_0x30dac4,{key:_0x4a8336})=>{const _0x4d7c86=_0x5ca373;_0x4d7c86(0x149)===_0x4a8336&&function(_0x3ba0ca){const _0x14e202=_0x4d7c86;_0x3ba0ca[_0x14e202(0x109)][_0x14e202(0x117)][_0x14e202(0x120)](_0x1613c1=>{const _0x4203a4=_0x14e202;for(const _0x1d19a6 of _0x3ba0ca[_0x4203a4(0xfb)][_0x4203a4(0xf8)]){if(!_0x1d19a6[_0x4203a4(0x146)][_0x4203a4(0x116)](_0x4203a4(0xdb)))continue;const _0xd3a045=_0x3ba0ca[_0x4203a4(0x109)][_0x4203a4(0xeb)][_0x4203a4(0x10a)](_0x1d19a6[_0x4203a4(0x146)]);if(_0xd3a045){for(const _0xac8ba2 of _0xd3a045)_0x1613c1[_0x4203a4(0xe8)](_0x4203a4(0xf1),_0xac8ba2);}}});}(_0x3e12aa);},{'useCapture':!0x0});}[_0x5a0759(0x12d)](){const _0x14f725=_0x5a0759,_0x2259c2=this[_0x14f725(0xec)],_0x491cb7=_0x2259c2[_0x14f725(0xd7)][_0x14f725(0xce)](_0x14f725(0x147));_0x491cb7&&_0x2259c2[_0x14f725(0xfb)]['on'](_0x14f725(0x10b),(_0x491cab,_0x17a961)=>{const _0x4807db=_0x14f725,_0x3f1b14=_0x17a961[0x0];if(_0x4807db(0x136)!=_0x3f1b14[_0x4807db(0x106)]||!_0x3f1b14[_0x4807db(0x146)][_0x4807db(0x116)](_0x4807db(0x105)))return;const _0xf0705c=_0x3f1b14[_0x4807db(0x11d)];_0x491cb7[_0x4807db(0xd8)][_0x4807db(0x14b)](_0xf0705c)&&(_0x3f1b14[_0x4807db(0xd2)]=_0x3f1b14[_0x4807db(0x10c)]?_0x2259c2[_0x4807db(0xfb)][_0x4807db(0xcf)](_0x3f1b14[_0x4807db(0x10c)][_0x4807db(0x103)],_0x3f1b14[_0x4807db(0x10c)][_0x4807db(0xfe)]):null);},{'priority':_0x14f725(0xd0)});}[_0x5a0759(0xf2)](){const _0x1d92c4=_0x5a0759;return this[_0x1d92c4(0x12b)][_0x1d92c4(0x139)](),super[_0x1d92c4(0xf2)]();}[_0x5a0759(0x102)](){const _0x3af3e9=_0x5a0759,_0x29ee48=this[_0x3af3e9(0xec)],_0x55e7ee=_0x29ee48[_0x3af3e9(0xfb)][_0x3af3e9(0xcd)],_0x5437f6=_0x29ee48[_0x3af3e9(0x11b)][_0x3af3e9(0xce)](_0x2043e3);_0x29ee48[_0x3af3e9(0xfb)][_0x3af3e9(0xe7)]({'isUndoable':!0x1},_0x2ac58d=>{const _0x414ac6=_0x3af3e9,_0x500f04=_0x414ac6(0x13d)+_0x5437f6[_0x414ac6(0x104)],_0x46a6a3=_0x414ac6(0x14c)+_0x5437f6[_0x414ac6(0x104)],_0x1385bf=_0x29ee48[_0x414ac6(0xfb)][_0x414ac6(0xf8)][_0x414ac6(0x14b)](_0x500f04);_0x29ee48[_0x414ac6(0x109)][_0x414ac6(0x117)][_0x414ac6(0xfd)]?te(_0x5437f6[_0x414ac6(0x104)],_0x55e7ee[_0x414ac6(0x124)][_0x414ac6(0xf6)](),_0x29ee48[_0x414ac6(0xfb)],_0x2ac58d):_0x1385bf&&(_0x2ac58d[_0x414ac6(0x137)](_0x500f04),_0x2ac58d[_0x414ac6(0x137)](_0x46a6a3));});}}function te(_0x7da5b4,_0x3d0447,_0x49f9ef,_0x575479){const _0x545421=_0x5a0759,_0x12ddcc=_0x545421(0x13d)+_0x7da5b4,_0x365bd8=_0x545421(0x14c)+_0x7da5b4,_0x2f9eed=_0x3d0447[_0x545421(0x10d)]();let _0x1d3d79=_0x3d0447[_0x545421(0x103)];_0x2f9eed&&_0x2f9eed['is'](_0x545421(0xe0),_0x545421(0x135))&&(_0x1d3d79=function(_0x24abb8,_0x4f99b6){const _0x2a1f61=_0x545421;for(const _0x2d86b0 of _0x24abb8[_0x2a1f61(0x132)]())if(_0x4f99b6[_0x2a1f61(0xe4)][_0x2a1f61(0xee)](_0x2d86b0,_0x2a1f61(0xdf)))return _0x2d86b0;}(_0x3d0447,_0x49f9ef),_0x3d0447=_0x575479[_0x545421(0xcf)](_0x1d3d79));const _0x366e6a=_0x575479[_0x545421(0xcf)](_0x1d3d79);_0x49f9ef[_0x545421(0xf8)][_0x545421(0x14b)](_0x12ddcc)?(_0x575479[_0x545421(0x115)](_0x12ddcc,{'range':_0x3d0447}),_0x575479[_0x545421(0x115)](_0x365bd8,{'range':_0x366e6a})):(_0x575479[_0x545421(0x122)](_0x12ddcc,{'range':_0x3d0447,'usingOperation':!0x0}),_0x575479[_0x545421(0x122)](_0x365bd8,{'range':_0x366e6a,'usingOperation':!0x0}));}function _0x283a(){const _0x43d99=['mapper','editor','innerHTML','checkChild','size','isOfficialPlugin','ck-user__marker_hovered','destroy','isLimit','toRange','requires','getFirstRange','markerToHighlight','markers','getUserBySessionId','mouseleave','model','classList','hasDomSelection','end','78SdtDxH','remove','UserMarkers','createUserMarkerOperations','start','mySessionId','user:','type','parent','11shJsCh','editing','markerNameToElements','applyOperation','oldRange','getContainedElement','setCustomProperty','keydown','22391710cgcaAa','update:user:range','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','contenteditable','nodeAfter','updateMarker','startsWith','view','deletionPosition','6851421izlxnM','root','plugins','createUIElement','batch','1808276mXrWvK','6tsFyHw','change','markerToElement','addMarker','fromRange','selection','init','isObject','data-session-id','set','markerRange','getCustomProperty','_domEmitter','editingDowncast','afterInit','span','detach','getNearestSelectionRange','isSimilar','getPositions','524350WcnTxD','reconvertMarker','tableCell','marker','removeMarker','for','stopListening','render','$graveyard','add','user:range:','rootName','getRange','getMarkerClass','addEventListener','listenTo','isInline','clear','608237AMYlCe','name','undo','toDomElement','Escape','orderNumber','has','user:position:','conversion','</span>','mouseenter','ck-user__selection','delete','document','get','createRange','highest','3076qfPnNT','newRange','change:range','979021bWATAG','getStart','hasContent','commands','_createdBatches','user:range','split','user:position','pluginName','markerName','userPositionMarker','$text','element','isCollapsed','ck-user__marker\x20','112paUgCq','schema','isPremiumPlugin','getSelectionClass','enqueueChange','removeClass','getAttribute','color'];_0x283a=function(){return _0x43d99;};return _0x283a();}
|
|
23
|
+
const _0x3f9b11=_0x2afb;(function(_0x4c6f0d,_0x273a3c){const _0x3d7b50=_0x2afb,_0x46eb52=_0x4c6f0d();while(!![]){try{const _0x5154b6=parseInt(_0x3d7b50(0x196))/0x1*(-parseInt(_0x3d7b50(0x159))/0x2)+parseInt(_0x3d7b50(0x16a))/0x3*(parseInt(_0x3d7b50(0x1a9))/0x4)+parseInt(_0x3d7b50(0x144))/0x5*(parseInt(_0x3d7b50(0x17e))/0x6)+-parseInt(_0x3d7b50(0x162))/0x7*(parseInt(_0x3d7b50(0x156))/0x8)+parseInt(_0x3d7b50(0x185))/0x9+parseInt(_0x3d7b50(0x1a7))/0xa+parseInt(_0x3d7b50(0x14e))/0xb*(-parseInt(_0x3d7b50(0x188))/0xc);if(_0x5154b6===_0x273a3c)break;else _0x46eb52['push'](_0x46eb52['shift']());}catch(_0x2b94e4){_0x46eb52['push'](_0x46eb52['shift']());}}}(_0x4c74,0x8ac50));import{Plugin as _0x7e665f}from'ckeditor5/src/core.js';import{global as _0x3a402b,DomEmitterMixin as _0x3a64ae}from'ckeditor5/src/utils.js';import _0x1d3ca9 from'./sessions.js';function _0x2afb(_0x257c19,_0x599782){const _0x4c74db=_0x4c74();return _0x2afb=function(_0x2afb5b,_0x3f87a3){_0x2afb5b=_0x2afb5b-0x128;let _0xc8f5ea=_0x4c74db[_0x2afb5b];return _0xc8f5ea;},_0x2afb(_0x257c19,_0x599782);}import{LiveRange as _0x29e0d8}from'ckeditor5/src/engine.js';function _0x4c74(){const _0xc38a60=['root','getMarkerClass','remove','markerRange','userPositionMarker','ck-user__marker_hovered','schema','getPositions','UserMarkers','parent','isObject','rootName','isSimilar','726195SatDPK','markerNameToElements','update:user:range','addEventListener','get','createUserMarkerOperations','name','hasContent','selection','removeMarker','33NzQPEW','getAttribute','getSelectionClass','document','reconvertMarker','undo','toRange','isOfficialPlugin','1001608hZXJeC','applyOperation','afterInit','46csokOn','stopListening','toDomElement','user:position','render','delete','mySessionId','markerToHighlight','createRange','35ufqxyw','classList','addMarker','setCustomProperty','getStart','orderNumber','size','$text','3ilrHfU','clear','init','span','getContainedElement','markers','</span>','split','oldRange','type','pluginName','_createdBatches','getUserBySessionId','mouseleave','getRange','start','updateMarker','highest','mapper','markerName','42qIhwcW','deletionPosition','newRange','user:range:','_domEmitter','nodeAfter','startsWith','200808bvpUMU','color','contenteditable','1662636geeJdi','for','view','isLimit','data-session-id','user:position:','getCustomProperty','isCollapsed','keydown','Escape','$graveyard','change:range','ck-user__selection','innerHTML','37286tGHOpb','enqueueChange','listenTo','editor','fromRange','checkChild','destroy','requires','batch','marker','ck-user__marker\x20','user:range','add','removeClass','getNearestSelectionRange','plugins','getFirstRange','5815840gQJqXI','conversion','3388292eSOdKN','user:','element','commands','editingDowncast','detach','hasDomSelection','isInline','change','<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>','set','tableCell','createUIElement','editing','end','mouseenter','model','markerToElement','has','isPremiumPlugin'];_0x4c74=function(){return _0xc38a60;};return _0x4c74();}import'../../theme/usermarkers.css';export default class H extends _0x7e665f{constructor(){const _0x451175=_0x2afb;super(...arguments),this[_0x451175(0x182)]=new(_0x3a64ae())();}static get[_0x3f9b11(0x19d)](){return[_0x1d3ca9];}static get[_0x3f9b11(0x174)](){const _0x43d1fd=_0x3f9b11;return _0x43d1fd(0x13f);}static get[_0x3f9b11(0x155)](){return!0x0;}static get[_0x3f9b11(0x136)](){return!0x0;}[_0x3f9b11(0x16c)](){const _0x33f53f=_0x3f9b11,_0x1bfa3f=this[_0x33f53f(0x199)],_0xa8ec34=_0x1bfa3f[_0x33f53f(0x1a5)][_0x33f53f(0x148)](_0x1d3ca9);_0x1bfa3f[_0x33f53f(0x1a8)][_0x33f53f(0x189)](_0x33f53f(0x1ad))[_0x33f53f(0x134)]({'model':_0x33f53f(0x15c),'view':(_0x141305,{writer:_0x30d46b})=>function(_0x1a1dd4,_0x5a7ed9,_0x37c38c,_0x30f576){const _0xd4bdb=_0x33f53f,_0x93f059=_0x1a1dd4[_0xd4bdb(0x17d)][_0xd4bdb(0x171)](':')[0x2],_0x4dff08=_0x37c38c[_0xd4bdb(0x176)](_0x93f059);if(!_0x4dff08||_0x93f059===_0x37c38c[_0xd4bdb(0x15f)])return;if(!_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x13d)][_0xd4bdb(0x19b)](_0x1a1dd4[_0xd4bdb(0x13a)][_0xd4bdb(0x179)],_0xd4bdb(0x169)))return;const _0x33ed65={'class':_0xd4bdb(0x1a0)+_0x4dff08[_0xd4bdb(0x186)][_0xd4bdb(0x138)](),'data-name':_0x4dff08[_0xd4bdb(0x14a)],'data-session-id':_0x93f059},_0x3dfcf8=_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x16f)][_0xd4bdb(0x148)](_0x1a1dd4[_0xd4bdb(0x17d)]),_0x2a14fb=_0x3dfcf8[_0xd4bdb(0x166)](),_0x4e22b7=_0x2a14fb[_0xd4bdb(0x183)],_0x13bc31=_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x13d)];if(_0x4e22b7&&_0x13bc31[_0xd4bdb(0x141)](_0x4e22b7)&&_0x13bc31[_0xd4bdb(0x12a)](_0x4e22b7)&&!_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x16f)][_0xd4bdb(0x148)](_0xd4bdb(0x181)+_0x93f059)[_0xd4bdb(0x178)]()[_0xd4bdb(0x18f)])return;const _0x2cfe2e=_0x2a14fb[_0xd4bdb(0x140)];return _0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x13d)][_0xd4bdb(0x18b)](_0x2cfe2e)&&!_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x14b)](_0x2cfe2e)&&(_0x33ed65[_0xd4bdb(0x187)]=!0x1),function(_0x220168,_0x17b842,_0x4a2c5d){const _0x3c0735=_0xd4bdb,_0x1b6ff7=_0x220168[_0x3c0735(0x12f)](_0x3c0735(0x16d),_0x17b842);return _0x220168[_0x3c0735(0x165)](_0x3c0735(0x13b),!0x0,_0x1b6ff7),_0x1b6ff7[_0x3c0735(0x15d)]=function(_0x5cff17){const _0xc44121=_0x3c0735,_0x183d84=this[_0xc44121(0x15b)](_0x5cff17);return _0x183d84[_0xc44121(0x195)]=_0xc44121(0x12c)+_0x4a2c5d[_0xc44121(0x14a)]+_0xc44121(0x170),_0x183d84[_0xc44121(0x147)](_0xc44121(0x132),()=>{const _0x3467cf=_0xc44121;_0x183d84[_0x3467cf(0x163)][_0x3467cf(0x1a2)](_0x3467cf(0x13c));}),_0x183d84[_0xc44121(0x147)](_0xc44121(0x177),()=>{const _0xb6bfce=_0xc44121;_0x183d84[_0xb6bfce(0x163)][_0xb6bfce(0x139)](_0xb6bfce(0x13c));}),_0x183d84;},_0x1b6ff7[_0x3c0735(0x143)]=function(_0x5d3725){const _0x14a282=_0x3c0735;return!(!this[_0x14a282(0x18e)](_0x14a282(0x13b))||!_0x5d3725[_0x14a282(0x18e)](_0x14a282(0x13b))||this[_0x14a282(0x14f)](_0x14a282(0x18c))!=_0x5d3725[_0x14a282(0x14f)](_0x14a282(0x18c)));},_0x1b6ff7;}(_0x5a7ed9,_0x33ed65,_0x4dff08);}(_0x141305,_0x30d46b,_0xa8ec34,_0x1bfa3f)}),_0x1bfa3f[_0x33f53f(0x1a8)][_0x33f53f(0x189)](_0x33f53f(0x1ad))[_0x33f53f(0x160)]({'model':_0x33f53f(0x1a1),'view':_0x7615fc=>function(_0x5caf1d,_0xe70779){const _0xfdebad=_0x33f53f,_0x40edae=_0x5caf1d[_0xfdebad(0x17d)][_0xfdebad(0x171)](':')[0x2];if(_0x40edae===_0xe70779[_0xfdebad(0x15f)])return null;const _0x7f7b80=_0xe70779[_0xfdebad(0x176)](_0x40edae);if(!_0x7f7b80)return{'id':_0x40edae,'classes':[]};return{'id':_0x40edae,'classes':[_0xfdebad(0x194),_0x7f7b80[_0xfdebad(0x186)][_0xfdebad(0x150)]()],'attributes':{'data-session-id':_0x40edae},'priority':0x7d0+_0x7f7b80[_0xfdebad(0x167)]};}(_0x7615fc,_0xa8ec34)}),function(_0x10c34b){const _0x425a5b=_0x33f53f,_0x1f3007=_0x10c34b[_0x425a5b(0x133)],_0x580e6b=new Map(),_0x294c95=_0x10c34b[_0x425a5b(0x1a5)][_0x425a5b(0x148)](_0x1d3ca9);_0x1f3007[_0x425a5b(0x16f)]['on'](_0x425a5b(0x146),(_0x12a44f,_0x5d7712,_0x45156a,_0x188a9e)=>{const _0x85c097=_0x425a5b;if(!_0x188a9e&&_0x580e6b[_0x85c097(0x148)](_0x5d7712[_0x85c097(0x14a)]))return _0x580e6b[_0x85c097(0x148)](_0x5d7712[_0x85c097(0x14a)])[_0x85c097(0x128)](),void _0x580e6b[_0x85c097(0x15e)](_0x5d7712[_0x85c097(0x14a)]);const _0x2f4b61=_0x5d7712[_0x85c097(0x14a)][_0x85c097(0x171)](':')[0x2];if(_0x2f4b61===_0x294c95[_0x85c097(0x15f)])return;const _0x2f9cd8=_0x85c097(0x18d)+_0x2f4b61;_0x1f3007[_0x85c097(0x16f)][_0x85c097(0x135)](_0x2f9cd8)&&_0x10c34b[_0x85c097(0x130)][_0x85c097(0x152)](_0x2f9cd8),_0x5d7712['on'](_0x85c097(0x193),(_0x997c9d,_0x515bb4,_0x17af79)=>{const _0x275ba1=_0x85c097;if(_0x275ba1(0x192)!=_0x515bb4[_0x275ba1(0x137)][_0x275ba1(0x142)]&&_0x275ba1(0x192)==_0x5d7712[_0x275ba1(0x178)]()[_0x275ba1(0x137)][_0x275ba1(0x142)]&&!_0x580e6b[_0x275ba1(0x135)](_0x5d7712[_0x275ba1(0x14a)])){const _0x54269f=_0x1f3007[_0x275ba1(0x13d)][_0x275ba1(0x1a4)](_0x17af79[_0x275ba1(0x17f)]);if(_0x54269f){const _0x12072d=_0x29e0d8[_0x275ba1(0x19a)](_0x54269f);_0x580e6b[_0x275ba1(0x12d)](_0x5d7712[_0x275ba1(0x14a)],_0x12072d),_0x12072d['on'](_0x275ba1(0x193),(_0x8379ae,_0x3b2d1c,_0x5a8248)=>{const _0x1455d5=_0x275ba1;if(_0x1455d5(0x192)==_0x12072d[_0x1455d5(0x137)][_0x1455d5(0x142)]){const _0x2b1ca5=_0x1f3007[_0x1455d5(0x13d)][_0x1455d5(0x1a4)](_0x5a8248[_0x1455d5(0x17f)]);_0x2b1ca5?(_0x12072d[_0x1455d5(0x179)]=_0x2b1ca5[_0x1455d5(0x179)],_0x12072d[_0x1455d5(0x131)]=_0x2b1ca5[_0x1455d5(0x131)]):(_0x580e6b[_0x1455d5(0x15e)](_0x5d7712[_0x1455d5(0x14a)]),_0x12072d[_0x1455d5(0x128)]());}});}}});}),_0x1f3007[_0x425a5b(0x151)]['on'](_0x425a5b(0x12b),()=>{const _0x18e4c8=_0x425a5b;_0x580e6b[_0x18e4c8(0x168)]>0x0&&_0x1f3007[_0x18e4c8(0x197)]({'isUndoable':!0x1},_0x2c52b1=>{const _0x37ee7c=_0x18e4c8;for(const [_0x325f2f,_0x503818]of _0x580e6b)_0x37ee7c(0x192)==_0x1f3007[_0x37ee7c(0x16f)][_0x37ee7c(0x148)](_0x325f2f)[_0x37ee7c(0x178)]()[_0x37ee7c(0x137)][_0x37ee7c(0x142)]&&(re(_0x325f2f[_0x37ee7c(0x171)](':')[0x2],_0x503818[_0x37ee7c(0x154)](),_0x1f3007,_0x2c52b1),_0x503818[_0x37ee7c(0x128)]());_0x580e6b[_0x37ee7c(0x16b)]();});});}(_0x1bfa3f),this[_0x33f53f(0x182)][_0x33f53f(0x198)](_0x3a402b[_0x33f53f(0x151)],_0x33f53f(0x190),(_0x33b8ae,{key:_0x242e15})=>{const _0x269096=_0x33f53f;_0x269096(0x191)===_0x242e15&&function(_0x1063cc){const _0x40080f=_0x269096;_0x1063cc[_0x40080f(0x130)][_0x40080f(0x18a)][_0x40080f(0x12b)](_0x5cccea=>{const _0x85c7d0=_0x40080f;for(const _0x499101 of _0x1063cc[_0x85c7d0(0x133)][_0x85c7d0(0x16f)]){if(!_0x499101[_0x85c7d0(0x14a)][_0x85c7d0(0x184)](_0x85c7d0(0x15c)))continue;const _0x1a990b=_0x1063cc[_0x85c7d0(0x130)][_0x85c7d0(0x17c)][_0x85c7d0(0x145)](_0x499101[_0x85c7d0(0x14a)]);if(_0x1a990b){for(const _0x553395 of _0x1a990b)_0x5cccea[_0x85c7d0(0x1a3)](_0x85c7d0(0x13c),_0x553395);}}});}(_0x1bfa3f);},{'useCapture':!0x0});}[_0x3f9b11(0x158)](){const _0x22a244=_0x3f9b11,_0x50a186=this[_0x22a244(0x199)],_0x3aa60f=_0x50a186[_0x22a244(0x1ac)][_0x22a244(0x148)](_0x22a244(0x153));_0x3aa60f&&_0x50a186[_0x22a244(0x133)]['on'](_0x22a244(0x157),(_0x204af0,_0x2737e1)=>{const _0xc6fb7f=_0x22a244,_0x43ac92=_0x2737e1[0x0];if(_0xc6fb7f(0x19f)!=_0x43ac92[_0xc6fb7f(0x173)]||!_0x43ac92[_0xc6fb7f(0x14a)][_0xc6fb7f(0x184)](_0xc6fb7f(0x1aa)))return;const _0x4b9859=_0x43ac92[_0xc6fb7f(0x19e)];_0x3aa60f[_0xc6fb7f(0x175)][_0xc6fb7f(0x135)](_0x4b9859)&&(_0x43ac92[_0xc6fb7f(0x180)]=_0x43ac92[_0xc6fb7f(0x172)]?_0x50a186[_0xc6fb7f(0x133)][_0xc6fb7f(0x161)](_0x43ac92[_0xc6fb7f(0x172)][_0xc6fb7f(0x179)],_0x43ac92[_0xc6fb7f(0x172)][_0xc6fb7f(0x131)]):null);},{'priority':_0x22a244(0x17b)});}[_0x3f9b11(0x19c)](){const _0x53f641=_0x3f9b11;return this[_0x53f641(0x182)][_0x53f641(0x15a)](),super[_0x53f641(0x19c)]();}[_0x3f9b11(0x149)](){const _0x25234b=_0x3f9b11,_0x443368=this[_0x25234b(0x199)],_0x416aa7=_0x443368[_0x25234b(0x133)][_0x25234b(0x151)],_0x1c3b65=_0x443368[_0x25234b(0x1a5)][_0x25234b(0x148)](_0x1d3ca9);_0x443368[_0x25234b(0x133)][_0x25234b(0x197)]({'isUndoable':!0x1},_0x3f5585=>{const _0x1f112f=_0x25234b,_0x31a6ae=_0x1f112f(0x181)+_0x1c3b65[_0x1f112f(0x15f)],_0x3203ad=_0x1f112f(0x18d)+_0x1c3b65[_0x1f112f(0x15f)],_0x57697e=_0x443368[_0x1f112f(0x133)][_0x1f112f(0x16f)][_0x1f112f(0x135)](_0x31a6ae);_0x443368[_0x1f112f(0x130)][_0x1f112f(0x18a)][_0x1f112f(0x129)]?re(_0x1c3b65[_0x1f112f(0x15f)],_0x416aa7[_0x1f112f(0x14c)][_0x1f112f(0x1a6)](),_0x443368[_0x1f112f(0x133)],_0x3f5585):_0x57697e&&(_0x3f5585[_0x1f112f(0x14d)](_0x31a6ae),_0x3f5585[_0x1f112f(0x14d)](_0x3203ad));});}}function re(_0x1f4b9b,_0x2f9b14,_0x5bd1fc,_0xa216c0){const _0x24d0c9=_0x3f9b11,_0x1d1084=_0x24d0c9(0x181)+_0x1f4b9b,_0x174dac=_0x24d0c9(0x18d)+_0x1f4b9b,_0x6c7eb6=_0x2f9b14[_0x24d0c9(0x16e)]();let _0x5af73b=_0x2f9b14[_0x24d0c9(0x179)];_0x6c7eb6&&_0x6c7eb6['is'](_0x24d0c9(0x1ab),_0x24d0c9(0x12e))&&(_0x5af73b=function(_0x2c607f,_0x375752){const _0x435aa5=_0x24d0c9;for(const _0x3a874a of _0x2c607f[_0x435aa5(0x13e)]())if(_0x375752[_0x435aa5(0x13d)][_0x435aa5(0x19b)](_0x3a874a,_0x435aa5(0x169)))return _0x3a874a;}(_0x2f9b14,_0x5bd1fc),_0x2f9b14=_0xa216c0[_0x24d0c9(0x161)](_0x5af73b));const _0x5ab258=_0xa216c0[_0x24d0c9(0x161)](_0x5af73b);_0x5bd1fc[_0x24d0c9(0x16f)][_0x24d0c9(0x135)](_0x1d1084)?(_0xa216c0[_0x24d0c9(0x17a)](_0x1d1084,{'range':_0x2f9b14}),_0xa216c0[_0x24d0c9(0x17a)](_0x174dac,{'range':_0x5ab258})):(_0xa216c0[_0x24d0c9(0x164)](_0x1d1084,{'range':_0x2f9b14,'usingOperation':!0x0}),_0xa216c0[_0x24d0c9(0x164)](_0x174dac,{'range':_0x5ab258,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x395889=_0x3868;function _0x1c92(){const _0x4e5b24=['_shouldPluginsReconnect','1356421cXpvcL','context','webSocketUrl','catch','add','DISCONNECTED','isInReconnectionStack','16RNJQNp','CONNECTED','showWarning','WebSocketGateway','plugins','constructor','set','154wqITsH','Connected\x20users\x20limit\x20exceeded','CONNECTING','_domEmitter','165295GbUUiq','reconnect','destroy','delete','error','init','2449935jwebGX','websocketgateway-missing-websocket-url','isOfficialPlugin','requires','bind','76278SAyuZe','1vKThpw','connection','create','24NETQBA','config','_isBrowserOffline','cloudservices-init','get','pluginName','limitExceeded','cloudServices.requestTimeout','websocketgateway-invalid-plugin-interface','token','define','_reconnect','all','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.','addToReconnectionStack','initialReconnectionInterval','function','cloudServices.connectionTimeout','disconnect','websocketgateway-missing-token','575422nLekYT','_reconnectionStack','online','listenTo','then','connected','state','change:me','removeFromReconnectionStack','websocketgateway-plugin-already-registered','CloudServices','has','3391410lzRBJr','2716281RSDPRu','28jLEzaG','stopListening','real-time-collaboration','offline','code','from','isPremiumPlugin','connect','cloudservices-reconnection-error'];_0x1c92=function(){return _0x4e5b24;};return _0x1c92();}function _0x3868(_0x45aa9f,_0x47cdac){const _0x1c922c=_0x1c92();return _0x3868=function(_0x3868ec,_0x48c6aa){_0x3868ec=_0x3868ec-0x13e;let _0x2dfe23=_0x1c922c[_0x3868ec];return _0x2dfe23;},_0x3868(_0x45aa9f,_0x47cdac);}(function(_0x3aab78,_0x2f360d){const _0x11075f=_0x3868,_0x578e3c=_0x3aab78();while(!![]){try{const _0xa43246=-parseInt(_0x11075f(0x171))/0x1*(parseInt(_0x11075f(0x188))/0x2)+parseInt(_0x11075f(0x16b))/0x3+-parseInt(_0x11075f(0x149))/0x4*(parseInt(_0x11075f(0x165))/0x5)+-parseInt(_0x11075f(0x170))/0x6*(-parseInt(_0x11075f(0x161))/0x7)+-parseInt(_0x11075f(0x15a))/0x8*(-parseInt(_0x11075f(0x148))/0x9)+-parseInt(_0x11075f(0x147))/0xa+parseInt(_0x11075f(0x153))/0xb*(-parseInt(_0x11075f(0x174))/0xc);if(_0xa43246===_0x2f360d)break;else _0x578e3c['push'](_0x578e3c['shift']());}catch(_0x316626){_0x578e3c['push'](_0x578e3c['shift']());}}}(_0x1c92,0x91476));import{ContextPlugin as _0x7dc437}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2c4f10,CKEditorError as _0xbe4abd}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xf00afa,WEB_SOCKET_GATEWAY_STATES as _0x3fa29e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x6b412c}from'ckeditor5/src/ui.js';class c extends _0x7dc437{static get[_0x395889(0x16e)](){const _0x2ee848=_0x395889;return[_0x2ee848(0x145),_0x6b412c];}static get[_0x395889(0x179)](){const _0x1300f4=_0x395889;return _0x1300f4(0x15d);}static get[_0x395889(0x16d)](){return!0x0;}static get[_0x395889(0x14f)](){return!0x0;}constructor(_0x24323f){const _0x4cda66=_0x395889;super(_0x24323f),this[_0x4cda66(0x160)](_0x4cda66(0x141),_0x3fa29e[_0x4cda66(0x15b)]),this[_0x4cda66(0x160)](_0x4cda66(0x176),!0x1),this[_0x4cda66(0x189)]=new Set(),this[_0x4cda66(0x152)]=!0x1,this[_0x4cda66(0x164)]=Object[_0x4cda66(0x173)](_0x2c4f10);}[_0x395889(0x16a)](){const _0x21493f=_0x395889,_0x3931cb=this[_0x21493f(0x154)],_0x15ddab=_0x3931cb[_0x21493f(0x15e)][_0x21493f(0x178)](_0x21493f(0x145)),_0x54a719=_0x3931cb[_0x21493f(0x15e)][_0x21493f(0x178)](_0x6b412c);if(!_0x15ddab[_0x21493f(0x17d)])throw new _0xbe4abd(_0x21493f(0x187),this);if(!_0x15ddab[_0x21493f(0x155)])throw new _0xbe4abd(_0x21493f(0x16c),this);return this[_0x21493f(0x164)][_0x21493f(0x13e)](window,_0x21493f(0x14c),()=>this[_0x21493f(0x176)]=!0x0),this[_0x21493f(0x164)][_0x21493f(0x13e)](window,_0x21493f(0x18a),()=>this[_0x21493f(0x176)]=!0x1),this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x17e)](_0x21493f(0x185),0xa),this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x17e)](_0x21493f(0x17b),0x14),c[_0x21493f(0x15d)][_0x21493f(0x150)](_0x15ddab[_0x21493f(0x17d)],_0x15ddab[_0x21493f(0x155)],{'timeout':0x3e8*this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x178)](_0x21493f(0x185)),'requestTimeout':0x3e8*this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x178)](_0x21493f(0x17b))})[_0x21493f(0x13f)](_0x541bc6=>{const _0x25e2be=_0x21493f;if(this[_0x25e2be(0x172)]=_0x541bc6,this[_0x25e2be(0x16f)](_0x25e2be(0x141))['to'](_0x541bc6,_0x25e2be(0x141),this,_0x25e2be(0x176),(_0x4abf3c,_0x4d6dfe)=>(_0x25e2be(0x140)!==_0x4abf3c&&(this[_0x25e2be(0x152)]=!0x0),_0x4d6dfe||_0x4abf3c!==_0x3fa29e[_0x25e2be(0x15b)]?_0x3fa29e[_0x25e2be(0x158)]:this[_0x25e2be(0x141)]==_0x3fa29e[_0x25e2be(0x158)]&&this[_0x25e2be(0x152)]?(this[_0x25e2be(0x152)]=!0x1,this[_0x25e2be(0x17f)](),_0x3fa29e[_0x25e2be(0x163)]):_0x3fa29e[_0x25e2be(0x15b)])),this[_0x25e2be(0x172)]['on'](_0x25e2be(0x169),(_0x3758ed,_0x2cdeaf)=>{const _0x556169=_0x25e2be;if(_0x556169(0x17a)!==_0x2cdeaf[_0x556169(0x14d)])throw console[_0x556169(0x169)](_0x2cdeaf),new _0xbe4abd(_0x556169(0x177),null,{'originalError':_0x2cdeaf});_0x54a719[_0x556169(0x15c)](_0x556169(0x181),{'title':_0x556169(0x162),'namespace':_0x556169(0x14b)});}),!_0x541bc6['me'])return new Promise(_0x251f40=>_0x541bc6['on'](_0x25e2be(0x142),_0x251f40));})[_0x21493f(0x156)](_0x31c56e=>{const _0x3ab694=_0x21493f;throw console[_0x3ab694(0x169)](_0x31c56e),new _0xbe4abd(_0x3ab694(0x177),null,{'originalError':_0x31c56e});});}[_0x395889(0x182)](_0x4080c9){const _0x194e83=_0x395889;if(_0x194e83(0x184)!=typeof _0x4080c9[_0x194e83(0x166)])throw new _0xbe4abd(_0x194e83(0x17c),this);if(this[_0x194e83(0x159)](_0x4080c9))throw new _0xbe4abd(_0x194e83(0x144),this,{'name':_0x4080c9[_0x194e83(0x15f)][_0x194e83(0x179)]});this[_0x194e83(0x189)][_0x194e83(0x157)](_0x4080c9);}[_0x395889(0x143)](_0x43e126){const _0x1349c8=_0x395889;this[_0x1349c8(0x189)][_0x1349c8(0x168)](_0x43e126);}[_0x395889(0x159)](_0x49730b){const _0x9a810f=_0x395889;return this[_0x9a810f(0x189)][_0x9a810f(0x146)](_0x49730b);}[_0x395889(0x17f)](){const _0x2bd980=_0x395889;return this[_0x2bd980(0x172)][_0x2bd980(0x166)]()[_0x2bd980(0x13f)](()=>Promise[_0x2bd980(0x180)](Array[_0x2bd980(0x14e)](this[_0x2bd980(0x189)],_0xbd8d4=>_0xbd8d4[_0x2bd980(0x166)]())))[_0x2bd980(0x13f)](()=>this[_0x2bd980(0x141)]=_0x3fa29e[_0x2bd980(0x15b)])[_0x2bd980(0x156)](_0x394a29=>{const _0x9b82d9=_0x2bd980;throw console[_0x9b82d9(0x169)](_0x394a29),new _0xbe4abd(_0x9b82d9(0x151),this[_0x9b82d9(0x154)]);});}[_0x395889(0x167)](){const _0x446a69=_0x395889;this[_0x446a69(0x172)]&&this[_0x446a69(0x172)][_0x446a69(0x186)](),this[_0x446a69(0x141)]=_0x3fa29e[_0x446a69(0x158)],this[_0x446a69(0x164)][_0x446a69(0x14a)](),super[_0x446a69(0x167)]();}}c[_0x395889(0x15d)]=_0xf00afa,c[_0x395889(0x183)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4b0590=_0x1918;(function(_0x3e5aa2,_0x20579e){var _0x296d88=_0x1918,_0x42da3f=_0x3e5aa2();while(!![]){try{var _0x310ced=-parseInt(_0x296d88(0x186))/0x1*(parseInt(_0x296d88(0x185))/0x2)+parseInt(_0x296d88(0x17b))/0x3+-parseInt(_0x296d88(0x181))/0x4+parseInt(_0x296d88(0x17d))/0x5*(parseInt(_0x296d88(0x188))/0x6)+-parseInt(_0x296d88(0x17c))/0x7*(parseInt(_0x296d88(0x17a))/0x8)+parseInt(_0x296d88(0x183))/0x9+parseInt(_0x296d88(0x187))/0xa;if(_0x310ced===_0x20579e)break;else _0x42da3f['push'](_0x42da3f['shift']());}catch(_0x561d51){_0x42da3f['push'](_0x42da3f['shift']());}}}(_0x2cde,0x21116));function _0x1918(_0x127239,_0x22618f){var _0x2cde27=_0x2cde();return _0x1918=function(_0x191853,_0x2ed3b6){_0x191853=_0x191853-0x17a;var _0x2e2c5b=_0x2cde27[_0x191853];return _0x2e2c5b;},_0x1918(_0x127239,_0x22618f);}import{Plugin as _0x1e3711}from'ckeditor5/src/core.js';import _0x1f3fa4 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x1e3711{static get[_0x4b0590(0x180)](){return[_0x1f3fa4];}static get[_0x4b0590(0x182)](){var _0x276cf6=_0x4b0590;return _0x276cf6(0x17e);}static get[_0x4b0590(0x184)](){return!0x0;}static get[_0x4b0590(0x17f)](){return!0x0;}}function _0x2cde(){var _0x56b8ce=['pluginName','1228077Jvdrqv','isOfficialPlugin','404188ReeSZY','1uRNIVm','216720QJPzuN','1287462vLFqpq','1859632qmAWMc','702768KLdvut','7GjrNyS','5orCabL','RealTimeCollaborativeEditing','isPremiumPlugin','requires','147856rqhGUR'];_0x2cde=function(){return _0x56b8ce;};return _0x2cde();}
|