@ckeditor/ckeditor5-real-time-collaboration 44.1.0-alpha.4 → 44.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +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
|
-
function _0x3f1f(_0x31fc6d,_0x10ba47){const _0x1e96a8=_0x1e96();return _0x3f1f=function(_0x3f1f7e,_0x4f5636){_0x3f1f7e=_0x3f1f7e-0x121;let _0x2ccb6f=_0x1e96a8[_0x3f1f7e];return _0x2ccb6f;},_0x3f1f(_0x31fc6d,_0x10ba47);}const _0x5ba088=_0x3f1f;(function(_0x50f88e,_0x3c79d5){const _0x486e52=_0x3f1f,_0x14a762=_0x50f88e();while(!![]){try{const _0x239761=parseInt(_0x486e52(0x164))/0x1+parseInt(_0x486e52(0x150))/0x2+parseInt(_0x486e52(0x136))/0x3+-parseInt(_0x486e52(0x153))/0x4*(parseInt(_0x486e52(0x128))/0x5)+-parseInt(_0x486e52(0x179))/0x6*(parseInt(_0x486e52(0x185))/0x7)+-parseInt(_0x486e52(0x14a))/0x8+parseInt(_0x486e52(0x167))/0x9;if(_0x239761===_0x3c79d5)break;else _0x14a762['push'](_0x14a762['shift']());}catch(_0xb8ddb0){_0x14a762['push'](_0x14a762['shift']());}}}(_0x1e96,0x980d7));import{Context as _0x46fbc0,ContextPlugin as _0x9477f1}from'ckeditor5/src/core.js';import{CKEditorError as _0xd7cc0e}from'ckeditor5/src/utils.js';import{Users as _0x33a4d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5823a0,User as _0x4b3cba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38f704 from'../realtimecollaborativeediting/websocketgateway.js';import _0x588b32 from'../realtimecollaborativeediting/sessions.js';class a extends _0x9477f1{static get[_0x5ba088(0x135)](){const _0x450eeb=_0x5ba088;return[_0x38f704,_0x450eeb(0x174),_0x588b32,_0x33a4d8];}static get[_0x5ba088(0x137)](){const _0x412bbf=_0x5ba088;return _0x412bbf(0x17c);}static get[_0x5ba088(0x176)](){return!0x0;}static get[_0x5ba088(0x15d)](){return!0x0;}constructor(_0x56f6f7){const _0x509147=_0x5ba088;super(_0x56f6f7),this[_0x509147(0x177)]=new Map();}async[_0x5ba088(0x16d)](){const _0x195f6d=_0x5ba088,_0x5b4a95=this[_0x195f6d(0x172)],_0x2847bd=_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x195f6d(0x174));if(_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x38f704)[_0x195f6d(0x14f)](this),_0x2847bd[_0x195f6d(0x13c)]={'addCommentThread':async({channelId:_0x2daf9a,threadId:_0x5659bc,comments:_0x4019a6,resolvedAt:_0x96aae,resolvedBy:_0x246732,context:_0xb05ffe,attributes:_0x413a8c})=>{const _0x26a847=_0x195f6d,_0x559b8d=await this[_0x26a847(0x13d)](_0x2daf9a)[_0x26a847(0x158)]({'commentThreadId':_0x5659bc,'comments':_0x4019a6[_0x26a847(0x121)](_0x3907ee=>function(_0x2099db,_0x323842,_0x45929a){const _0x4d9fd2=_0x26a847;return{'commentThreadId':_0x45929a,'commentId':_0x2099db[_0x4d9fd2(0x143)],'userId':_0x2099db[_0x4d9fd2(0x142)],'content':_0x2099db[_0x4d9fd2(0x141)],'documentId':_0x323842,'createdAt':_0x2099db[_0x4d9fd2(0x161)],'attributes':_0x2099db[_0x4d9fd2(0x17b)]||{}};}(_0x3907ee,_0x2daf9a,_0x5659bc)),'resolvedAt':_0x96aae,'resolvedBy':_0x246732,'context':_0xb05ffe,'attributes':_0x413a8c})[_0x26a847(0x14b)](w);return{'threadId':_0x559b8d[_0x26a847(0x139)],'comments':_0x559b8d[_0x26a847(0x12e)]};},'getCommentThread':async({channelId:_0x23249e,threadId:_0x5d2ce9})=>{const _0x46b57a=_0x195f6d,_0xaca0c5=await this[_0x46b57a(0x13d)](_0x23249e)[_0x46b57a(0x122)](_0x5d2ce9)[_0x46b57a(0x14b)](w);return _0xaca0c5[_0x46b57a(0x123)]?null:(await this[_0x46b57a(0x17e)]([_0xaca0c5]),{'threadId':_0xaca0c5[_0x46b57a(0x139)],'comments':_0xaca0c5[_0x46b57a(0x12e)][_0x46b57a(0x121)](b),'context':_0xaca0c5[_0x46b57a(0x172)],'resolvedAt':_0xaca0c5[_0x46b57a(0x152)],'resolvedBy':_0xaca0c5[_0x46b57a(0x17a)],'attributes':_0xaca0c5[_0x46b57a(0x17b)]||{}});},'updateCommentThread':async({channelId:_0x648a15,threadId:_0x55a13e,context:_0x3763d0,unlinkedAt:_0x3b0046,attributes:_0x14cc6b})=>this[_0x195f6d(0x13d)](_0x648a15)[_0x195f6d(0x13a)]({'commentThreadId':_0x55a13e,'context':_0x3763d0,'attributes':_0x14cc6b,'unlinkedAt':_0x3b0046})[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'resolveCommentThread':async({channelId:_0x520bb4,threadId:_0x247e7f})=>{const _0x58d3fa=_0x195f6d,_0x4e4c76=await this[_0x58d3fa(0x13d)](_0x520bb4)[_0x58d3fa(0x16a)](_0x247e7f)[_0x58d3fa(0x14b)](y)[_0x58d3fa(0x14b)](w);return{'threadId':_0x4e4c76[_0x58d3fa(0x139)],'resolvedAt':_0x4e4c76[_0x58d3fa(0x152)],'resolvedBy':_0x4e4c76[_0x58d3fa(0x17a)]};},'reopenCommentThread':async({channelId:_0x2aee1a,threadId:_0x43476e})=>this[_0x195f6d(0x13d)](_0x2aee1a)[_0x195f6d(0x12c)](_0x43476e)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'removeCommentThread':({channelId:_0x154eb9,threadId:_0x5e53f6})=>this[_0x195f6d(0x13d)](_0x154eb9)[_0x195f6d(0x134)](_0x5e53f6)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'addComment':({channelId:_0x164ba1,threadId:_0x1e0d74,commentId:_0x51dcb6,content:_0x39e1da,attributes:_0x2d1800})=>this[_0x195f6d(0x13d)](_0x164ba1)[_0x195f6d(0x14c)](_0x1e0d74,_0x51dcb6,_0x39e1da,_0x2d1800)[_0x195f6d(0x14b)](w),'updateComment':({channelId:_0x126194,threadId:_0x231a36,commentId:_0x504f11,content:_0x76384a,attributes:_0x384a25})=>this[_0x195f6d(0x13d)](_0x126194)[_0x195f6d(0x170)](_0x231a36,_0x504f11,_0x76384a,_0x384a25)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'removeComment':({channelId:_0x44f80e,threadId:_0x3a5ba4,commentId:_0x4e3be9})=>this[_0x195f6d(0x13d)](_0x44f80e)[_0x195f6d(0x133)](_0x3a5ba4,_0x4e3be9)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w)},_0x5b4a95 instanceof _0x46fbc0){const _0x168e42=_0x5b4a95[_0x195f6d(0x12b)][_0x195f6d(0x166)](_0x195f6d(0x165)),_0x5d1bfc=_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x588b32);await this[_0x195f6d(0x14e)](_0x168e42);const _0x174204=await this[_0x195f6d(0x177)][_0x195f6d(0x166)](_0x168e42)[_0x195f6d(0x169)]();this[_0x195f6d(0x168)](_0x5d1bfc,_0x195f6d(0x124)+_0x168e42,(_0x348b6c,{session:_0x1c73d0})=>{const _0x69ac97=_0x195f6d;_0x1c73d0['id']===_0x5d1bfc[_0x69ac97(0x146)]&&(_0x348b6c[_0x69ac97(0x15e)](),this[_0x69ac97(0x172)][_0x69ac97(0x132)][_0x69ac97(0x166)](_0x69ac97(0x160))[_0x69ac97(0x12a)](_0x1c73d0[_0x69ac97(0x125)],_0x168e42));}),_0x5d1bfc[_0x195f6d(0x148)](_0x168e42,_0x174204);}}async[_0x5ba088(0x14e)](_0x4293ee){const _0x14139b=_0x5ba088;if(this[_0x14139b(0x177)][_0x14139b(0x127)](_0x4293ee))throw new _0xd7cc0e(_0x14139b(0x14d),null,{'channelId':_0x4293ee});const _0xc855e5=this[_0x14139b(0x172)][_0x14139b(0x132)][_0x14139b(0x166)](_0x14139b(0x174)),_0xc2fa4a=new a[(_0x14139b(0x184))](_0x4293ee);this[_0x14139b(0x177)][_0x14139b(0x15f)](_0x4293ee,_0xc2fa4a),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x173),(_0x274512,_0x3826f1)=>{const _0x48ab1c=_0x14139b,{commentThreadId:_0x1d1380,documentId:_0x5688f8,context:_0x3c7b6b,attributes:_0x4d57aa,resolvedAt:_0x26d9f0,resolvedBy:_0x275902,comments:_0x26620c}=_0x3826f1;_0xc855e5[_0x48ab1c(0x122)](_0x1d1380)||_0xc855e5[_0x48ab1c(0x158)]({'threadId':_0x1d1380,'channelId':_0x5688f8,'comments':_0x26620c?_0x26620c[_0x48ab1c(0x121)](b):[],'context':_0x3c7b6b,'attributes':_0x4d57aa,'resolvedAt':_0x26d9f0,'resolvedBy':_0x275902,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x154),(_0xbbf39b,{commentThreadId:_0x104713,documentId:_0x584a7a,context:_0x3d263f,unlinkedAt:_0x2a4811,attributes:_0x555d44})=>{const _0x239876=_0x14139b;_0xc855e5[_0x239876(0x122)](_0x104713)&&_0xc855e5[_0x239876(0x13a)]({'threadId':_0x104713,'channelId':_0x584a7a,'context':_0x3d263f,'unlinkedAt':_0x2a4811,'attributes':_0x555d44,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x151),(_0x4d0034,{commentThreadId:_0x540350,resolvedBy:_0xfc37d3,resolvedAt:_0x12c213})=>{const _0x13fee3=_0x14139b,_0x1612bf=_0xc855e5[_0x13fee3(0x122)](_0x540350);_0x1612bf&&_0x1612bf[_0x13fee3(0x157)]({'resolvedBy':_0xfc37d3,'resolvedAt':_0x12c213,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x130),(_0x18b201,{commentThreadId:_0x24323b})=>{const _0x5e2f32=_0x14139b,_0x102dc1=_0xc855e5[_0x5e2f32(0x122)](_0x24323b);_0x102dc1&&_0x102dc1[_0x5e2f32(0x175)]({'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x131),(_0x55815e,{commentThreadId:_0x3710cc})=>{const _0x34c231=_0x14139b,_0x4ba821=_0xc855e5[_0x34c231(0x122)](_0x3710cc);_0x4ba821&&_0x4ba821[_0x34c231(0x15b)]({'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x138),(_0x5e13a7,_0x170273)=>{const _0x4278f=_0x14139b,_0x268e45=_0x170273[_0x4278f(0x139)],_0x4a8160=_0xc855e5[_0x4278f(0x122)](_0x268e45);_0x4a8160&&_0x4a8160[_0x4278f(0x14c)]({...b(_0x170273),'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x15c),(_0x4fe954,{commentThreadId:_0x3efbb6,commentId:_0x54f711,content:_0x3b3bc5,attributes:_0x3f775e})=>{const _0x5506df=_0x14139b,_0x991082=_0xc855e5[_0x5506df(0x122)](_0x3efbb6);if(_0x991082){const _0xe8d6e5=_0x991082[_0x5506df(0x181)](_0x54f711);_0xe8d6e5&&_0xe8d6e5[_0x5506df(0x126)]({'content':_0x3b3bc5,'attributes':_0x3f775e,'isFromAdapter':!0x0});}}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x17d),(_0x5e6c2e,{commentThreadId:_0x5e153d,commentId:_0x367cef})=>{const _0x2dde8d=_0x14139b,_0xbf280a=_0xc855e5[_0x2dde8d(0x122)](_0x5e153d);if(_0xbf280a){const _0x4c810a=_0xbf280a[_0x2dde8d(0x181)](_0x367cef);_0x4c810a&&_0x4c810a[_0x2dde8d(0x15b)]({'isFromAdapter':!0x0});}}),await this[_0x14139b(0x15a)](_0x4293ee);}[_0x5ba088(0x162)](){const _0x1f3a21=_0x5ba088;if(this[_0x1f3a21(0x172)]instanceof _0x46fbc0){const _0x23b886=this[_0x1f3a21(0x172)][_0x1f3a21(0x12b)][_0x1f3a21(0x166)](_0x1f3a21(0x165));this[_0x1f3a21(0x147)](_0x23b886);}}[_0x5ba088(0x147)](_0x51cc72){const _0x71f717=_0x5ba088;if(!this[_0x71f717(0x177)][_0x71f717(0x127)](_0x51cc72))throw new _0xd7cc0e(_0x71f717(0x149),null,{'channelId':_0x51cc72});this[_0x71f717(0x13d)](_0x51cc72)[_0x71f717(0x171)](),this[_0x71f717(0x177)][_0x71f717(0x16e)](_0x51cc72);}async[_0x5ba088(0x145)](){const _0x2facbc=_0x5ba088;for(const _0x5662fb of this[_0x2facbc(0x177)][_0x2facbc(0x156)]())await this[_0x2facbc(0x15a)](_0x5662fb);if(this[_0x2facbc(0x172)]instanceof _0x46fbc0){const _0x21e0e2=this[_0x2facbc(0x172)][_0x2facbc(0x12b)][_0x2facbc(0x166)](_0x2facbc(0x165)),_0x3a95b1=this[_0x2facbc(0x172)][_0x2facbc(0x132)][_0x2facbc(0x166)](_0x588b32);_0x3a95b1[_0x2facbc(0x13e)](_0x21e0e2);const _0x47633b=await this[_0x2facbc(0x177)][_0x2facbc(0x166)](_0x21e0e2)[_0x2facbc(0x169)]();_0x3a95b1[_0x2facbc(0x148)](_0x21e0e2,_0x47633b);}}async[_0x5ba088(0x15a)](_0x2d8923){const _0x439469=_0x5ba088,{connection:_0x354bce}=this[_0x439469(0x172)][_0x439469(0x132)][_0x439469(0x166)](_0x38f704),_0x220ad=this[_0x439469(0x172)][_0x439469(0x132)][_0x439469(0x166)](_0x439469(0x174)),_0x7d40db=this[_0x439469(0x177)][_0x439469(0x166)](_0x2d8923),_0x34b416=await _0x7d40db[_0x439469(0x12d)](_0x354bce);await this[_0x439469(0x17e)](_0x34b416);const _0x58245b=new Set(Array[_0x439469(0x13f)](_0x220ad[_0x439469(0x16f)]({'channelId':_0x2d8923}),_0xa14dc2=>_0xa14dc2['id']));for(const _0xde170 of _0x34b416)_0xde170[_0x439469(0x123)]||_0x58245b[_0x439469(0x16e)](_0xde170[_0x439469(0x139)]);for(const _0x16202f of _0x58245b)_0x220ad[_0x439469(0x122)](_0x16202f)[_0x439469(0x15b)]({'isFromAdapter':!0x0});for(const _0x29355b of _0x34b416){let _0x513966=_0x220ad[_0x439469(0x122)](_0x29355b[_0x439469(0x139)]);const {commentThreadId:_0x13b36c,context:_0x2f1bc1,attributes:_0x4cc63b,resolvedBy:_0x21bd7f,resolvedAt:_0xa4780d,unlinkedAt:_0x1e947a,deletedAt:_0xe2d8f6}=_0x29355b;if(_0xe2d8f6)continue;_0x513966||(_0x513966=_0x220ad[_0x439469(0x158)]({'channelId':_0x2d8923,'threadId':_0x13b36c,'context':_0x2f1bc1,'attributes':_0x4cc63b||{},'resolvedBy':_0x21bd7f,'resolvedAt':_0xa4780d,'unlinkedAt':_0x1e947a,'isFromAdapter':!0x0}));const _0x3a5b9b=new Set(Array[_0x439469(0x13f)](_0x513966[_0x439469(0x12e)],_0xf44cf2=>_0xf44cf2['id']));for(const _0x24e688 of _0x29355b[_0x439469(0x12e)])_0x3a5b9b[_0x439469(0x16e)](_0x24e688[_0x439469(0x143)]);for(const _0x26ce0a of _0x3a5b9b)_0x513966[_0x439469(0x181)](_0x26ce0a)[_0x439469(0x15b)]({'isFromAdapter':!0x0});for(const _0x1666e8 of _0x29355b[_0x439469(0x12e)]){const _0x3a1f16=_0x513966[_0x439469(0x181)](_0x1666e8[_0x439469(0x143)]);_0x3a1f16?_0x3a1f16[_0x439469(0x141)]!==_0x1666e8[_0x439469(0x141)]&&_0x3a1f16[_0x439469(0x126)]({'content':_0x1666e8[_0x439469(0x141)],'isFromAdapter':!0x0}):_0x513966[_0x439469(0x14c)](Object[_0x439469(0x140)](b(_0x1666e8),{'isFromAdapter':!0x0}));}}}[_0x5ba088(0x13d)](_0x56d54f){const _0x7d0ac=_0x5ba088;if(!this[_0x7d0ac(0x177)][_0x7d0ac(0x127)](_0x56d54f))throw new _0xd7cc0e(_0x7d0ac(0x163),null,{'channelId':_0x56d54f});return this[_0x7d0ac(0x177)][_0x7d0ac(0x166)](_0x56d54f);}async[_0x5ba088(0x17e)](_0x3d4244){const _0x1641b9=_0x5ba088,_0x28fbe3=this[_0x1641b9(0x172)][_0x1641b9(0x132)][_0x1641b9(0x166)](_0x33a4d8),{connection:_0x18738a}=this[_0x1641b9(0x172)][_0x1641b9(0x132)][_0x1641b9(0x166)](_0x38f704),_0x1a7303=new Set();for(const {resolvedBy:_0x1a875a,comments:_0x11021d}of _0x3d4244){_0x1a875a&&!_0x28fbe3[_0x1641b9(0x12f)](_0x1a875a)&&_0x1a7303[_0x1641b9(0x155)](_0x1a875a);for(const {userId:_0x54e00a}of _0x11021d)_0x28fbe3[_0x1641b9(0x12f)](_0x54e00a)||_0x1a7303[_0x1641b9(0x155)](_0x54e00a);}if(0x0===_0x1a7303[_0x1641b9(0x16c)])return;const _0x48460d=await _0x4b3cba[_0x1641b9(0x13b)](_0x18738a,Array[_0x1641b9(0x13f)](_0x1a7303));for(const _0x528ecf of _0x48460d)_0x28fbe3[_0x1641b9(0x12f)](_0x528ecf['id'])||_0x28fbe3[_0x1641b9(0x180)](_0x528ecf);}}a[_0x5ba088(0x184)]=_0x5823a0;export default a;async function y(_0x500045){const _0x545f80=_0x5ba088;if(_0x545f80(0x183)!==_0x500045[_0x545f80(0x16b)])throw _0x500045;}function _0x1e96(){const _0x38483b=['addToReconnectionStack','700940LfGiGS','commentThreadResolved','resolvedAt','88LWrUYT','commentThreadUpdated','add','keys','resolve','addCommentThread','message','_connectService','remove','commentUpdated','isPremiumPlugin','off','set','Permissions','createdAt','destroy','cloudservicescommentsadapter-service-not-exist','286877dmpULs','collaboration.channelId','get','13535172srWKCs','listenTo','getConnectedSessions','resolveCommentThread','code','size','init','delete','getCommentThreads','updateComment','disconnect','context','commentThreadAdded','CommentsRepository','reopen','isOfficialPlugin','_services','startsWith','1374024laASEZ','resolvedBy','attributes','CloudServicesCommentsAdapter','commentRemoved','_fetchMissingUsersForThreads','userId','addUser','getComment','cloud-services-internal-error:\x20Request\x20timeout.','404','CommentsService','14vUDoPk','map','getCommentThread','deletedAt','sessionAdd:','permissions','update','has','257170sxznug','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','config','reopenCommentThread','connect','comments','getUser','commentThreadReopened','commentThreadRemoved','plugins','removeComment','removeCommentThread','requires','2718072HnyzHo','pluginName','commentAdded','commentThreadId','updateCommentThread','getMany','adapter','_getService','unregister','from','assign','content','authorId','commentId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','mySessionId','_terminateService','register','cloudservicescommentsadapter-disconnect-not-exist','6679328ZJFDOB','catch','addComment','cloudservicescommentsadapter-connect-already-connected','_setUpService'];_0x1e96=function(){return _0x38483b;};return _0x1e96();}function w(_0x624581){const _0x1b9e9e=_0x5ba088;if((_0x5bbe65=_0x624581)[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x144))||_0x5bbe65[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x129))||_0x5bbe65[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x182)))return new Promise(()=>{});var _0x5bbe65;throw _0x624581;}function b(_0x389faf){const _0x497be7=_0x5ba088;return{'threadId':_0x389faf[_0x497be7(0x139)],'commentId':_0x389faf[_0x497be7(0x143)],'content':_0x389faf[_0x497be7(0x141)],'createdAt':_0x389faf[_0x497be7(0x161)],'authorId':_0x389faf[_0x497be7(0x17f)],'attributes':_0x389faf[_0x497be7(0x17b)]||{}};}
|
|
23
|
+
const _0x50f678=_0x253d;(function(_0x111649,_0xc0648d){const _0x1b4c46=_0x253d,_0x574daf=_0x111649();while(!![]){try{const _0x1ef5b5=parseInt(_0x1b4c46(0x163))/0x1+-parseInt(_0x1b4c46(0x188))/0x2*(-parseInt(_0x1b4c46(0x164))/0x3)+-parseInt(_0x1b4c46(0x137))/0x4*(-parseInt(_0x1b4c46(0x180))/0x5)+-parseInt(_0x1b4c46(0x185))/0x6+-parseInt(_0x1b4c46(0x16a))/0x7*(-parseInt(_0x1b4c46(0x15d))/0x8)+-parseInt(_0x1b4c46(0x143))/0x9+parseInt(_0x1b4c46(0x191))/0xa*(-parseInt(_0x1b4c46(0x170))/0xb);if(_0x1ef5b5===_0xc0648d)break;else _0x574daf['push'](_0x574daf['shift']());}catch(_0x57a9fd){_0x574daf['push'](_0x574daf['shift']());}}}(_0x5272,0x8adc9));import{Context as _0x1a1983,ContextPlugin as _0x26995b}from'ckeditor5/src/core.js';import{CKEditorError as _0x26e60c}from'ckeditor5/src/utils.js';import{Users as _0xe14985}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3fd1fe,User as _0xbc4784}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5272(){const _0xa6a88a=['commentUpdated','adapter','reconnect','isPremiumPlugin','update','_fetchMissingUsersForThreads','_setUpService','attributes','commentThreadAdded','addToReconnectionStack','commentThreadRemoved','updateCommentThread','comments','userId','3624JdPDNY','requires','addUser','resolvedAt','getConnectedSessions','code','814031EVeXAs','1067610GBMcrC','sessionAdd:','pluginName','reopen','init','_connectService','12649wepwfq','permissions','CommentsRepository','commentAdded','set','_services','1122LvcIua','_terminateService','config','cloudservicescommentsadapter-service-not-exist','connect','commentThreadResolved','keys','assign','delete','register','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','listenTo','remove','CommentsService','reopenCommentThread','get','25yzUieQ','Permissions','message','cloudservicescommentsadapter-connect-already-connected','removeCommentThread','5399808oiSLvW','commentId','from','2ftwfhv','commentThreadReopened','cloud-services-internal-error:\x20Not\x20connected.','authorId','map','context','destroy','getUser','createdAt','26590GThmbd','commentThreadUpdated','addCommentThread','removeComment','plugins','size','resolve','catch','has','getComment','getMany','commentRemoved','off','545924kfBTmW','isOfficialPlugin','resolvedBy','addComment','collaboration.channelId','deletedAt','add','getCommentThreads','cloudservicescommentsadapter-disconnect-not-exist','content','_getService','commentThreadId','8378226EREwkT','startsWith','CloudServicesCommentsAdapter','mySessionId','404','setPermissions','resolveCommentThread','updateComment','getCommentThread','unregister','disconnect','cloud-services-internal-error:\x20Request\x20timeout.'];_0x5272=function(){return _0xa6a88a;};return _0x5272();}import _0x567e85 from'../realtimecollaborativeediting/websocketgateway.js';import _0x453973 from'../realtimecollaborativeediting/sessions.js';class a extends _0x26995b{static get[_0x50f678(0x15e)](){const _0x535fb9=_0x50f678;return[_0x567e85,_0x535fb9(0x16c),_0x453973,_0xe14985];}static get[_0x50f678(0x166)](){const _0x4cc142=_0x50f678;return _0x4cc142(0x145);}static get[_0x50f678(0x138)](){return!0x0;}static get[_0x50f678(0x152)](){return!0x0;}constructor(_0x143979){const _0x2e1f09=_0x50f678;super(_0x143979),this[_0x2e1f09(0x16f)]=new Map();}async[_0x50f678(0x168)](){const _0x116171=_0x50f678,_0x37e369=this[_0x116171(0x18d)],_0x450732=_0x37e369[_0x116171(0x195)][_0x116171(0x17f)](_0x116171(0x16c));if(_0x37e369[_0x116171(0x195)][_0x116171(0x17f)](_0x567e85)[_0x116171(0x158)](this),_0x450732[_0x116171(0x150)]={'addCommentThread':async({channelId:_0x144258,threadId:_0x5e9ac7,comments:_0x43fdf2,resolvedAt:_0x3418bd,resolvedBy:_0x3fd61e,context:_0x176b7f,attributes:_0x374a77})=>{const _0x142084=_0x116171,_0x20fcc2=await this[_0x142084(0x141)](_0x144258)[_0x142084(0x193)]({'commentThreadId':_0x5e9ac7,'comments':_0x43fdf2[_0x142084(0x18c)](_0x22debf=>function(_0x18bc20,_0x4357bf,_0x2c76d2){const _0x26abca=_0x142084;return{'commentThreadId':_0x2c76d2,'commentId':_0x18bc20[_0x26abca(0x186)],'userId':_0x18bc20[_0x26abca(0x18b)],'content':_0x18bc20[_0x26abca(0x140)],'documentId':_0x4357bf,'createdAt':_0x18bc20[_0x26abca(0x190)],'attributes':_0x18bc20[_0x26abca(0x156)]||{}};}(_0x22debf,_0x144258,_0x5e9ac7)),'resolvedAt':_0x3418bd,'resolvedBy':_0x3fd61e,'context':_0x176b7f,'attributes':_0x374a77})[_0x142084(0x131)](nt);return{'threadId':_0x20fcc2[_0x142084(0x142)],'comments':_0x20fcc2[_0x142084(0x15b)]};},'getCommentThread':async({channelId:_0x4b65f0,threadId:_0x49db34})=>{const _0xab5d3b=_0x116171,_0x32820a=await this[_0xab5d3b(0x141)](_0x4b65f0)[_0xab5d3b(0x14b)](_0x49db34)[_0xab5d3b(0x131)](nt);return _0x32820a[_0xab5d3b(0x13c)]?null:(await this[_0xab5d3b(0x154)]([_0x32820a]),{'threadId':_0x32820a[_0xab5d3b(0x142)],'comments':_0x32820a[_0xab5d3b(0x15b)][_0xab5d3b(0x18c)](st),'context':_0x32820a[_0xab5d3b(0x18d)],'resolvedAt':_0x32820a[_0xab5d3b(0x160)],'resolvedBy':_0x32820a[_0xab5d3b(0x139)],'attributes':_0x32820a[_0xab5d3b(0x156)]||{}});},'updateCommentThread':async({channelId:_0x33ecd6,threadId:_0x521098,context:_0x237942,unlinkedAt:_0x2395ba,attributes:_0x329deb})=>this[_0x116171(0x141)](_0x33ecd6)[_0x116171(0x15a)]({'commentThreadId':_0x521098,'context':_0x237942,'attributes':_0x329deb,'unlinkedAt':_0x2395ba})[_0x116171(0x131)](ot)[_0x116171(0x131)](nt),'resolveCommentThread':async({channelId:_0x1ca803,threadId:_0x4cf48f})=>{const _0x5f9b56=_0x116171,_0x10a334=await this[_0x5f9b56(0x141)](_0x1ca803)[_0x5f9b56(0x149)](_0x4cf48f)[_0x5f9b56(0x131)](ot)[_0x5f9b56(0x131)](nt);return{'threadId':_0x10a334[_0x5f9b56(0x142)],'resolvedAt':_0x10a334[_0x5f9b56(0x160)],'resolvedBy':_0x10a334[_0x5f9b56(0x139)]};},'reopenCommentThread':async({channelId:_0x30b947,threadId:_0x313299})=>this[_0x116171(0x141)](_0x30b947)[_0x116171(0x17e)](_0x313299)[_0x116171(0x131)](ot)[_0x116171(0x131)](nt),'removeCommentThread':({channelId:_0x3b8f63,threadId:_0x43f8bd})=>this[_0x116171(0x141)](_0x3b8f63)[_0x116171(0x184)](_0x43f8bd)[_0x116171(0x131)](ot)[_0x116171(0x131)](nt),'addComment':({channelId:_0x18f967,threadId:_0x4962e6,commentId:_0x2fcacc,content:_0x39686f,attributes:_0x4e0856})=>this[_0x116171(0x141)](_0x18f967)[_0x116171(0x13a)](_0x4962e6,_0x2fcacc,_0x39686f,_0x4e0856)[_0x116171(0x131)](nt),'updateComment':({channelId:_0x414e0b,threadId:_0x3d8bfd,commentId:_0x2e4dcf,content:_0x4bbe0b,attributes:_0x598d72})=>this[_0x116171(0x141)](_0x414e0b)[_0x116171(0x14a)](_0x3d8bfd,_0x2e4dcf,_0x4bbe0b,_0x598d72)[_0x116171(0x131)](ot)[_0x116171(0x131)](nt),'removeComment':({channelId:_0x33e6a8,threadId:_0x39887f,commentId:_0x1dd862})=>this[_0x116171(0x141)](_0x33e6a8)[_0x116171(0x194)](_0x39887f,_0x1dd862)[_0x116171(0x131)](ot)[_0x116171(0x131)](nt)},_0x37e369 instanceof _0x1a1983){const _0xccd8e1=_0x37e369[_0x116171(0x172)][_0x116171(0x17f)](_0x116171(0x13b)),_0x481a79=_0x37e369[_0x116171(0x195)][_0x116171(0x17f)](_0x453973);await this[_0x116171(0x155)](_0xccd8e1);const _0x4be7de=await this[_0x116171(0x16f)][_0x116171(0x17f)](_0xccd8e1)[_0x116171(0x161)]();this[_0x116171(0x17b)](_0x481a79,_0x116171(0x165)+_0xccd8e1,(_0x6a5c4,{session:_0x451390})=>{const _0xd58089=_0x116171;_0x451390['id']===_0x481a79[_0xd58089(0x146)]&&(_0x6a5c4[_0xd58089(0x136)](),this[_0xd58089(0x18d)][_0xd58089(0x195)][_0xd58089(0x17f)](_0xd58089(0x181))[_0xd58089(0x148)](_0x451390[_0xd58089(0x16b)],_0xccd8e1));}),_0x481a79[_0x116171(0x179)](_0xccd8e1,_0x4be7de);}}async[_0x50f678(0x155)](_0x2741e1){const _0xe2ea4b=_0x50f678;if(this[_0xe2ea4b(0x16f)][_0xe2ea4b(0x132)](_0x2741e1))throw new _0x26e60c(_0xe2ea4b(0x183),null,{'channelId':_0x2741e1});const _0x5c4c8d=this[_0xe2ea4b(0x18d)][_0xe2ea4b(0x195)][_0xe2ea4b(0x17f)](_0xe2ea4b(0x16c)),_0x53889b=new a[(_0xe2ea4b(0x17d))](_0x2741e1);this[_0xe2ea4b(0x16f)][_0xe2ea4b(0x16e)](_0x2741e1,_0x53889b),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x157),(_0x36802f,_0x194133)=>{const _0x12f596=_0xe2ea4b,{commentThreadId:_0x893e21,documentId:_0xbb32ca,context:_0xebbdec,attributes:_0x375265,resolvedAt:_0x58c359,resolvedBy:_0x29420d,comments:_0x2a1d46}=_0x194133;_0x5c4c8d[_0x12f596(0x14b)](_0x893e21)||_0x5c4c8d[_0x12f596(0x193)]({'threadId':_0x893e21,'channelId':_0xbb32ca,'comments':_0x2a1d46?_0x2a1d46[_0x12f596(0x18c)](st):[],'context':_0xebbdec,'attributes':_0x375265,'resolvedAt':_0x58c359,'resolvedBy':_0x29420d,'isFromAdapter':!0x0});}),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x192),(_0x43f13f,{commentThreadId:_0x1ffdfc,documentId:_0x16ea42,context:_0x1533da,unlinkedAt:_0x2679cc,attributes:_0x3c1e06})=>{const _0x1fb048=_0xe2ea4b;_0x5c4c8d[_0x1fb048(0x14b)](_0x1ffdfc)&&_0x5c4c8d[_0x1fb048(0x15a)]({'threadId':_0x1ffdfc,'channelId':_0x16ea42,'context':_0x1533da,'unlinkedAt':_0x2679cc,'attributes':_0x3c1e06,'isFromAdapter':!0x0});}),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x175),(_0x38005d,{commentThreadId:_0xb34cb4,resolvedBy:_0x26e6c7,resolvedAt:_0x385930})=>{const _0x5e87cb=_0xe2ea4b,_0x3df202=_0x5c4c8d[_0x5e87cb(0x14b)](_0xb34cb4);_0x3df202&&_0x3df202[_0x5e87cb(0x130)]({'resolvedBy':_0x26e6c7,'resolvedAt':_0x385930,'isFromAdapter':!0x0});}),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x189),(_0x3078e9,{commentThreadId:_0x3f9d84})=>{const _0x3838d5=_0xe2ea4b,_0x97cd5a=_0x5c4c8d[_0x3838d5(0x14b)](_0x3f9d84);_0x97cd5a&&_0x97cd5a[_0x3838d5(0x167)]({'isFromAdapter':!0x0});}),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x159),(_0x1e9992,{commentThreadId:_0x502de0})=>{const _0x454a12=_0xe2ea4b,_0x2c526a=_0x5c4c8d[_0x454a12(0x14b)](_0x502de0);_0x2c526a&&_0x2c526a[_0x454a12(0x17c)]({'isFromAdapter':!0x0});}),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x16d),(_0x55e7f2,_0x4d918d)=>{const _0x236041=_0xe2ea4b,_0xc33237=_0x4d918d[_0x236041(0x142)],_0xf98ba6=_0x5c4c8d[_0x236041(0x14b)](_0xc33237);_0xf98ba6&&_0xf98ba6[_0x236041(0x13a)]({...st(_0x4d918d),'isFromAdapter':!0x0});}),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x14f),(_0x2006cb,{commentThreadId:_0x45c3af,commentId:_0x16b3df,content:_0x56379e,attributes:_0x43ee35})=>{const _0x1c3a0b=_0xe2ea4b,_0x388ea9=_0x5c4c8d[_0x1c3a0b(0x14b)](_0x45c3af);if(_0x388ea9){const _0x2b8b03=_0x388ea9[_0x1c3a0b(0x133)](_0x16b3df);_0x2b8b03&&_0x2b8b03[_0x1c3a0b(0x153)]({'content':_0x56379e,'attributes':_0x43ee35,'isFromAdapter':!0x0});}}),this[_0xe2ea4b(0x17b)](_0x53889b,_0xe2ea4b(0x135),(_0x8719a2,{commentThreadId:_0x3a8ec5,commentId:_0x4d7a2b})=>{const _0x51a03a=_0xe2ea4b,_0x37dc67=_0x5c4c8d[_0x51a03a(0x14b)](_0x3a8ec5);if(_0x37dc67){const _0x554ba7=_0x37dc67[_0x51a03a(0x133)](_0x4d7a2b);_0x554ba7&&_0x554ba7[_0x51a03a(0x17c)]({'isFromAdapter':!0x0});}}),await this[_0xe2ea4b(0x169)](_0x2741e1);}[_0x50f678(0x18e)](){const _0x53a232=_0x50f678;if(this[_0x53a232(0x18d)]instanceof _0x1a1983){const _0x49d647=this[_0x53a232(0x18d)][_0x53a232(0x172)][_0x53a232(0x17f)](_0x53a232(0x13b));this[_0x53a232(0x171)](_0x49d647);}}[_0x50f678(0x171)](_0x3278a1){const _0x4cb02a=_0x50f678;if(!this[_0x4cb02a(0x16f)][_0x4cb02a(0x132)](_0x3278a1))throw new _0x26e60c(_0x4cb02a(0x13f),null,{'channelId':_0x3278a1});this[_0x4cb02a(0x141)](_0x3278a1)[_0x4cb02a(0x14d)](),this[_0x4cb02a(0x16f)][_0x4cb02a(0x178)](_0x3278a1);}async[_0x50f678(0x151)](){const _0x33800c=_0x50f678;for(const _0x50344c of this[_0x33800c(0x16f)][_0x33800c(0x176)]())await this[_0x33800c(0x169)](_0x50344c);if(this[_0x33800c(0x18d)]instanceof _0x1a1983){const _0x389631=this[_0x33800c(0x18d)][_0x33800c(0x172)][_0x33800c(0x17f)](_0x33800c(0x13b)),_0x17e586=this[_0x33800c(0x18d)][_0x33800c(0x195)][_0x33800c(0x17f)](_0x453973);_0x17e586[_0x33800c(0x14c)](_0x389631);const _0x284e32=await this[_0x33800c(0x16f)][_0x33800c(0x17f)](_0x389631)[_0x33800c(0x161)]();_0x17e586[_0x33800c(0x179)](_0x389631,_0x284e32);}}async[_0x50f678(0x169)](_0x3718e5){const _0xb0f9b2=_0x50f678,{connection:_0x4b95dc}=this[_0xb0f9b2(0x18d)][_0xb0f9b2(0x195)][_0xb0f9b2(0x17f)](_0x567e85),_0x108e44=this[_0xb0f9b2(0x18d)][_0xb0f9b2(0x195)][_0xb0f9b2(0x17f)](_0xb0f9b2(0x16c)),_0x3e1690=this[_0xb0f9b2(0x16f)][_0xb0f9b2(0x17f)](_0x3718e5),_0x4c56be=await _0x3e1690[_0xb0f9b2(0x174)](_0x4b95dc);await this[_0xb0f9b2(0x154)](_0x4c56be);const _0x223a7b=new Set(Array[_0xb0f9b2(0x187)](_0x108e44[_0xb0f9b2(0x13e)]({'channelId':_0x3718e5}),_0x1ab14a=>_0x1ab14a['id']));for(const _0x204e91 of _0x4c56be)_0x204e91[_0xb0f9b2(0x13c)]||_0x223a7b[_0xb0f9b2(0x178)](_0x204e91[_0xb0f9b2(0x142)]);for(const _0x1de2f4 of _0x223a7b)_0x108e44[_0xb0f9b2(0x14b)](_0x1de2f4)[_0xb0f9b2(0x17c)]({'isFromAdapter':!0x0});for(const _0x146502 of _0x4c56be){let _0x45cd15=_0x108e44[_0xb0f9b2(0x14b)](_0x146502[_0xb0f9b2(0x142)]);const {commentThreadId:_0x1d8eb2,context:_0x3bfdde,attributes:_0x299866,resolvedBy:_0x46b8dd,resolvedAt:_0x5752e9,unlinkedAt:_0x4626f6,deletedAt:_0x27bfe6}=_0x146502;if(_0x27bfe6)continue;_0x45cd15||(_0x45cd15=_0x108e44[_0xb0f9b2(0x193)]({'channelId':_0x3718e5,'threadId':_0x1d8eb2,'context':_0x3bfdde,'attributes':_0x299866||{},'resolvedBy':_0x46b8dd,'resolvedAt':_0x5752e9,'unlinkedAt':_0x4626f6,'isFromAdapter':!0x0}));const _0x1d4929=new Set(Array[_0xb0f9b2(0x187)](_0x45cd15[_0xb0f9b2(0x15b)],_0x490a18=>_0x490a18['id']));for(const _0x3f9151 of _0x146502[_0xb0f9b2(0x15b)])_0x1d4929[_0xb0f9b2(0x178)](_0x3f9151[_0xb0f9b2(0x186)]);for(const _0x168d2c of _0x1d4929)_0x45cd15[_0xb0f9b2(0x133)](_0x168d2c)[_0xb0f9b2(0x17c)]({'isFromAdapter':!0x0});for(const _0x127dc7 of _0x146502[_0xb0f9b2(0x15b)]){const _0x351994=_0x45cd15[_0xb0f9b2(0x133)](_0x127dc7[_0xb0f9b2(0x186)]);_0x351994?_0x351994[_0xb0f9b2(0x140)]!==_0x127dc7[_0xb0f9b2(0x140)]&&_0x351994[_0xb0f9b2(0x153)]({'content':_0x127dc7[_0xb0f9b2(0x140)],'isFromAdapter':!0x0}):_0x45cd15[_0xb0f9b2(0x13a)](Object[_0xb0f9b2(0x177)](st(_0x127dc7),{'isFromAdapter':!0x0}));}}}[_0x50f678(0x141)](_0x4fac10){const _0x2856c7=_0x50f678;if(!this[_0x2856c7(0x16f)][_0x2856c7(0x132)](_0x4fac10))throw new _0x26e60c(_0x2856c7(0x173),null,{'channelId':_0x4fac10});return this[_0x2856c7(0x16f)][_0x2856c7(0x17f)](_0x4fac10);}async[_0x50f678(0x154)](_0x40a260){const _0x21d896=_0x50f678,_0x4954bd=this[_0x21d896(0x18d)][_0x21d896(0x195)][_0x21d896(0x17f)](_0xe14985),{connection:_0x5afd7c}=this[_0x21d896(0x18d)][_0x21d896(0x195)][_0x21d896(0x17f)](_0x567e85),_0x48431c=new Set();for(const {resolvedBy:_0x555763,comments:_0x57ba1a}of _0x40a260){_0x555763&&!_0x4954bd[_0x21d896(0x18f)](_0x555763)&&_0x48431c[_0x21d896(0x13d)](_0x555763);for(const {userId:_0x26bc3e}of _0x57ba1a)_0x4954bd[_0x21d896(0x18f)](_0x26bc3e)||_0x48431c[_0x21d896(0x13d)](_0x26bc3e);}if(0x0===_0x48431c[_0x21d896(0x196)])return;const _0x1a70ca=await _0xbc4784[_0x21d896(0x134)](_0x5afd7c,Array[_0x21d896(0x187)](_0x48431c));for(const _0x7e4aaf of _0x1a70ca)_0x4954bd[_0x21d896(0x18f)](_0x7e4aaf['id'])||_0x4954bd[_0x21d896(0x15f)](_0x7e4aaf);}}function _0x253d(_0x24f8db,_0x267bc3){const _0x527227=_0x5272();return _0x253d=function(_0x253d3f,_0x353ad7){_0x253d3f=_0x253d3f-0x130;let _0x4406d8=_0x527227[_0x253d3f];return _0x4406d8;},_0x253d(_0x24f8db,_0x267bc3);}a[_0x50f678(0x17d)]=_0x3fd1fe;export default a;async function ot(_0x3a461a){const _0x26c177=_0x50f678;if(_0x26c177(0x147)!==_0x3a461a[_0x26c177(0x162)])throw _0x3a461a;}function nt(_0x1389e1){const _0x12a298=_0x50f678;if((_0x45e78d=_0x1389e1)[_0x12a298(0x182)][_0x12a298(0x144)](_0x12a298(0x17a))||_0x45e78d[_0x12a298(0x182)][_0x12a298(0x144)](_0x12a298(0x18a))||_0x45e78d[_0x12a298(0x182)][_0x12a298(0x144)](_0x12a298(0x14e)))return new Promise(()=>{});var _0x45e78d;throw _0x1389e1;}function st(_0x3c22a7){const _0x59958c=_0x50f678;return{'threadId':_0x3c22a7[_0x59958c(0x142)],'commentId':_0x3c22a7[_0x59958c(0x186)],'content':_0x3c22a7[_0x59958c(0x140)],'createdAt':_0x3c22a7[_0x59958c(0x190)],'authorId':_0x3c22a7[_0x59958c(0x15c)],'attributes':_0x3c22a7[_0x59958c(0x156)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a6475=_0x2206;(function(_0x5996ae,_0x55bf8f){const _0x2f211a=_0x2206,_0x37a39d=_0x5996ae();while(!![]){try{const _0x5cd01f=parseInt(_0x2f211a(0x136))/0x1+-parseInt(_0x2f211a(0x149))/0x2*(parseInt(_0x2f211a(0x138))/0x3)+-parseInt(_0x2f211a(0x132))/0x4*(parseInt(_0x2f211a(0x139))/0x5)+parseInt(_0x2f211a(0x13b))/0x6+parseInt(_0x2f211a(0x12c))/0x7+parseInt(_0x2f211a(0x143))/0x8+-parseInt(_0x2f211a(0x145))/0x9;if(_0x5cd01f===_0x55bf8f)break;else _0x37a39d['push'](_0x37a39d['shift']());}catch(_0x3fd889){_0x37a39d['push'](_0x37a39d['shift']());}}}(_0x1bbd,0xb417f));import{Plugin as _0x56f0af}from'ckeditor5/src/core.js';import _0x6714c1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x53d18b from'./realtimecollaborativeediting.js';function _0x1bbd(){const _0x9af5db=['listenTo','CommentsRepository','plugins','get','7531056EYwvQS','editor','2441196hXqQeG','change:state','requires','isPremiumPlugin','14CgKhPd','CommentsEditing','connected','_setUpService','data','3199315saHSBn','ready','init','destroy','once','pluginName','1628uwCwZD','_terminateService','isThreadsLoadingPaused','collaboration.channelId','823672GVAPvN','config','561309jmniRh','11595tITBJQ','Comments','6242172EZJqVp','isOfficialPlugin','RealTimeCollaborativeComments','switchReadOnly'];_0x1bbd=function(){return _0x9af5db;};return _0x1bbd();}import _0x312db1 from'./realtimecollaborativeediting/websocketgateway.js';function _0x2206(_0x3168dc,_0x1a34ff){const _0x1bbdbf=_0x1bbd();return _0x2206=function(_0x220660,_0x3a181d){_0x220660=_0x220660-0x128;let _0x43f060=_0x1bbdbf[_0x220660];return _0x43f060;},_0x2206(_0x3168dc,_0x1a34ff);}export default class m extends _0x56f0af{static get[_0x1a6475(0x147)](){const _0x8e4877=_0x1a6475;return[_0x8e4877(0x13a),_0x6714c1,_0x53d18b,_0x312db1];}static get[_0x1a6475(0x131)](){const _0x114bde=_0x1a6475;return _0x114bde(0x13d);}static get[_0x1a6475(0x13c)](){return!0x0;}static get[_0x1a6475(0x148)](){return!0x0;}[_0x1a6475(0x12e)](){const _0xcee33e=_0x1a6475,_0x38f95f=this[_0xcee33e(0x144)][_0xcee33e(0x141)][_0xcee33e(0x142)](_0x312db1),_0x255387=this[_0xcee33e(0x144)][_0xcee33e(0x141)][_0xcee33e(0x142)](_0xcee33e(0x128)),_0x5a7527=this[_0xcee33e(0x144)][_0xcee33e(0x141)][_0xcee33e(0x142)](_0x6714c1);return this[_0xcee33e(0x144)][_0xcee33e(0x12b)][_0xcee33e(0x130)](_0xcee33e(0x12d),()=>{const _0x11283c=_0xcee33e;this[_0x11283c(0x13f)](_0x38f95f,_0x11283c(0x146),(_0x53cdea,_0xd259d0,_0x20d805)=>{const _0x5336bf=_0x11283c;_0x255387[_0x5336bf(0x134)]=_0x5336bf(0x129)!==_0x20d805;});}),this[_0xcee33e(0x13f)](_0x38f95f,_0xcee33e(0x146),(_0x74447d,_0x457446,_0x556aaf)=>{const _0x475ac1=_0xcee33e;this[_0x475ac1(0x144)][_0x475ac1(0x141)][_0x475ac1(0x142)](_0x475ac1(0x140))[_0x475ac1(0x13e)](_0x475ac1(0x129)!==_0x556aaf);}),_0x5a7527[_0xcee33e(0x12a)](this[_0xcee33e(0x144)][_0xcee33e(0x137)][_0xcee33e(0x142)](_0xcee33e(0x135)));}[_0x1a6475(0x12f)](){const _0x32ede5=_0x1a6475;this[_0x32ede5(0x144)][_0x32ede5(0x141)][_0x32ede5(0x142)](_0x6714c1)[_0x32ede5(0x133)](this[_0x32ede5(0x144)][_0x32ede5(0x137)][_0x32ede5(0x142)](_0x32ede5(0x135))),super[_0x32ede5(0x12f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x17be9e=_0x47c3;(function(_0x4a5656,_0x4099ea){const _0x5900df=_0x47c3,_0x34c90a=_0x4a5656();while(!![]){try{const _0x229e0d=parseInt(_0x5900df(0x21d))/0x1*(-parseInt(_0x5900df(0x1e4))/0x2)+parseInt(_0x5900df(0x163))/0x3+parseInt(_0x5900df(0x1d0))/0x4*(parseInt(_0x5900df(0x17e))/0x5)+parseInt(_0x5900df(0x1be))/0x6+-parseInt(_0x5900df(0x24e))/0x7+parseInt(_0x5900df(0x202))/0x8*(-parseInt(_0x5900df(0x1a6))/0x9)+parseInt(_0x5900df(0x211))/0xa*(parseInt(_0x5900df(0x233))/0xb);if(_0x229e0d===_0x4099ea)break;else _0x34c90a['push'](_0x34c90a['shift']());}catch(_0x4c7ed4){_0x34c90a['push'](_0x34c90a['shift']());}}}(_0x345d,0x8b910));import{Plugin as _0x283be8,PendingActions as _0x49e571}from'ckeditor5/src/core.js';import{CKEditorError as _0x37d164,version as _0xe4e05a,uid as _0x416b29}from'ckeditor5/src/utils.js';function _0x345d(){const _0x5b6324=['reconnect','change:_isPendingUpdate','_initThrowingOnDataSet','directChange','isPremiumPlugin','unregister','listenTo','realtimecollaborationclient-init-session-connection-error','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-error','error','cloud-services-internal-error:\x20Not\x20connected.','5393531pRbXBg','catch','currentDocumentSession','path','addRootAttribute','setPermissions','length','filter','ready','forEach','realtimecollaborationclient-sendbufferedoperations','_pendingAction','affectsData','cloud-services-internal-error:\x20Request\x20timeout.','version','_baseBufferDelay','sessionAdd:','createPositionAt','_handleInitialConnectionData','_lastSyncedOperationId','CommentsOnly','keys','Notification','mySessionId','attributes','markers','getOperations','7741097LapuZA','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','showWarning','_lastServerVersion','_clearPendingAction','InsertOperation','multi-root-editor-root-attributes-no-root','_isConnected','lastSyncVersion','_compressor','slice','_isInit','change:range','_hasSynchronizationProblem','startsWith','_loadRoot','userId','_applyOperationsSet','Permissions','_updateServerHistory','lastOperationId','roots','createPositionFromPath','define','addOperation','_initSessionsHandling','_currentBufferDelay','3095541DqCeAO','high','getRoot','add','addToReconnectionStack','editing','_sendBufferedOperationsDelayId','history','_isAttached','_isDisconnection','wasUndone','selection','requires','cs:removeUser','_compressOperations','getMany','realtimecollaborationclient-init-document-already-initialized','_hasSelectionChanged','metadata','_shouldSendUpdate','removeFromReconnectionStack','type','isOfficialPlugin','_setUpDataInit','collaboration.channelId','enqueueChange','realtimecollaborationclient-initservice-internal-error','5NcpzlH','_operationToId','initData','batch','newRange','_sendBufferedOperations','RealTimeCollaborationClient','operationsReceived','_getAffectedRoot','isEnabled','_handleReconnectionError','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isPendingUpdate','from','clone','off','_isEditingAllowed','getConnectedSessions','_knownRootNames','_waitUntilSynced','_document','_addKnownRoot','change:_isEditingAllowed','then','_handleSendingSelectionMarkers','_handleReconnectionResponse','cloudDocumentVersion','init','connect','start','baseVersion','pluginName','model','wereChangesApplied','suppressErrorInCollaboration','push','data','_isLoaded','editor','loadRoot','162KdKRvi','_disconnectionOperations','isReadOnly','_channelId','collaboration-missing-channelid','channelSessions','getIdOfTheLastOperation','_handleExternalOperations','plugins','_setPendingAction','enableReadOnlyMode','getUser','decompress','affectedSelectable','offset','has','collaboration','set','code','_sendBufferedOperationsDelayed','409','_bufferRootLoad','createdAt','apply','4932606DreAyc','_handleReceivedOperations','getOperationAuthor','_bufferedOperations','createRoot','toJSON','realtimecollaborationclient-handleserverresponse','config','size','get','document:write','fire','_saveOperationInBuffer','root','$root','realtimecollaborationclient-initservice-incorrect-server-operation','includes','remove','1016012zHTHwg','position','finally','message','register','lastDocumentSession','disableReadOnlyMode','_operationIdentifier','bind','_fetchMissingUsers','connection','targetPosition','_connectAfterSessionHasBeenFlushed','real-time-collaboration','_knownOperations','_getOperationsFromInitData','connected','string','getDocumentDetails','realtimecollaborationclient-init-non-existent-root','11752QOLddP','applyOperation','_authorId','compress','return','reset','CollaborativeEditingService','isDocumentOperation','cloudServices.bundleVersion','disconnect','addUser','lastOperationAcceptedAt','move','insert','_ignoredOperations','differ','realtimecollaborationclient-init-connection-failed','__className','entries','addRoot','disconnected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','locale','state','destroy','fromJSON','_shouldSendSelectionUpdate','_handleServerResponse','rootsAttributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','444328oIfBrx','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.','404','Synchronization\x20issue','_decompressOperations','_connectService','serverHistory','view','rtc-offline','setIdForTheLastOperation','map','marker','end','_refreshUserSelectionMarkers','change:hasDomSelection','20AQQTOO','rtc-destroyed','sendOperations','createUserMarkerOperations','permissions','stopListening','_service','round','_disconnectService','_crash','reconnection:\x20flushed\x20session','_offset','70LOACGX','rootName','isUndoneOperation','sessionId','createRange','stop','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.','document','parse','sessionCreatedAt'];_0x345d=function(){return _0x5b6324;};return _0x345d();}import{Notification as _0x5d28cd}from'ckeditor5/src/ui.js';import{transformSets as _0x40e279,NoOperation as _0x58984e,InsertOperation as _0x48d407,MarkerOperation as _0x5de32b,RootAttributeOperation as _0x4bc690,OperationFactory as _0x4131a3,History as _0x24d329}from'ckeditor5/src/engine.js';import _0x5add02 from'./websocketgateway.js';import _0x4d155e from'./sessions.js';import _0x9c9056 from'./usermarkers.js';import{getTranslation as _0x523e8d}from'../common-translations.js';import{Compressor as _0x542698}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x375cb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x53befc,CollaborativeEditingService as _0x56ff6c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x283be8{static get[_0x17be9e(0x16f)](){return[_0x5add02,_0x4d155e,_0x9c9056,_0x49e571,_0x375cb9,_0x5d28cd];}static get[_0x17be9e(0x19d)](){const _0x44ae9d=_0x17be9e;return _0x44ae9d(0x184);}static get[_0x17be9e(0x179)](){return!0x0;}static get[_0x17be9e(0x22b)](){return!0x0;}get[_0x17be9e(0x198)](){const _0x7bccaa=_0x17be9e;return this[_0x7bccaa(0x251)]+this[_0x7bccaa(0x21c)];}get[_0x17be9e(0x251)](){const _0x2382ec=_0x17be9e;return this[_0x2382ec(0x208)][_0x2382ec(0x241)]-this[_0x2382ec(0x21c)];}get[_0x17be9e(0x256)](){const _0x3d1df4=_0x17be9e,_0x426c36=this[_0x3d1df4(0x208)][_0x3d1df4(0x24d)]();for(let _0x1c55c9=_0x426c36[_0x3d1df4(0x239)]-0x1;_0x1c55c9>=0x0;_0x1c55c9--){const _0x182679=_0x426c36[_0x1c55c9];if(!this[_0x3d1df4(0x1a7)][_0x3d1df4(0x1b5)](_0x182679))return _0x182679[_0x3d1df4(0x19c)]+0x1-this[_0x3d1df4(0x21c)];}return 0x0;}constructor(_0x35aa14){const _0x4073a8=_0x17be9e;if(super(_0x35aa14),this[_0x4073a8(0x21c)]=0x0,this[_0x4073a8(0x220)]=null,this[_0x4073a8(0x208)]=new _0x24d329(),this[_0x4073a8(0x1a4)][_0x4073a8(0x1c5)][_0x4073a8(0x265)](_0x4073a8(0x1b6),{}),this[_0x4073a8(0x1a9)]=this[_0x4073a8(0x1a4)][_0x4073a8(0x1c5)][_0x4073a8(0x1c7)](_0x4073a8(0x17b)),!this[_0x4073a8(0x1a9)])throw new _0x37d164(_0x4073a8(0x1aa),this);const _0x55b459=_0x35aa14[_0x4073a8(0x1c5)][_0x4073a8(0x1c7)](_0x4073a8(0x1ec))||_0xe4e05a;this[_0x4073a8(0x217)]=new l[(_0x4073a8(0x1ea))](_0x55b459,this[_0x4073a8(0x1a9)]),this[_0x4073a8(0x192)]=this[_0x4073a8(0x1a4)][_0x4073a8(0x19e)][_0x4073a8(0x224)],this[_0x4073a8(0x257)]=new _0x542698(),this[_0x4073a8(0x1c1)]=[],this[_0x4073a8(0x1de)]=new WeakSet(),this[_0x4073a8(0x190)]=new Set(),this[_0x4073a8(0x1b7)](_0x4073a8(0x18a),!0x1),this[_0x4073a8(0x1b7)](_0x4073a8(0x25b),!0x1),this[_0x4073a8(0x23e)]=null,this[_0x4073a8(0x174)]=!0x1,this[_0x4073a8(0x169)]=null,this[_0x4073a8(0x242)]=0x12c,this[_0x4073a8(0x162)]=this[_0x4073a8(0x242)],this[_0x4073a8(0x246)]=null,this[_0x4073a8(0x1a7)]=new WeakSet(),this[_0x4073a8(0x1d7)]=new W(this[_0x4073a8(0x1a7)]);}[_0x17be9e(0x199)](){const _0x4f75ae=_0x17be9e,_0x473ce5=this[_0x4f75ae(0x1a4)],_0x21c683=_0x473ce5[_0x4f75ae(0x1ae)][_0x4f75ae(0x1c7)](_0x375cb9),_0x27c4c7=_0x473ce5[_0x4f75ae(0x1ae)][_0x4f75ae(0x1c7)](_0x5add02);this[_0x4f75ae(0x22d)](_0x21c683,_0x4f75ae(0x1c0),(_0x24a730,_0x37a22d)=>{const _0x2e8a01=_0x4f75ae,_0x53bfd1=_0x37a22d[0x0];_0x53bfd1[_0x2e8a01(0x1e6)]&&(_0x24a730[_0x2e8a01(0x1e8)]=_0x21c683[_0x2e8a01(0x1b1)](_0x53bfd1[_0x2e8a01(0x1e6)]),_0x24a730[_0x2e8a01(0x222)]()),null===_0x53bfd1[_0x2e8a01(0x1e6)]&&(_0x24a730[_0x2e8a01(0x1e8)]=null,_0x24a730[_0x2e8a01(0x222)]());},{'priority':_0x4f75ae(0x164)}),this[_0x4f75ae(0x22d)](_0x473ce5[_0x4f75ae(0x19e)][_0x4f75ae(0x224)][_0x4f75ae(0x16e)],_0x4f75ae(0x25a),(_0x56e556,_0x284a0b)=>{const _0x36cd86=_0x4f75ae;_0x284a0b[_0x36cd86(0x22a)]&&this[_0x36cd86(0x20f)]();}),this[_0x4f75ae(0x22d)](_0x473ce5[_0x4f75ae(0x168)][_0x4f75ae(0x209)],_0x4f75ae(0x210),()=>{const _0x1d4a32=_0x4f75ae;this[_0x1d4a32(0x20f)]();}),this[_0x4f75ae(0x229)](),_0x473ce5[_0x4f75ae(0x19e)]['on'](_0x4f75ae(0x1e5),(_0x227579,_0x18c37e)=>{const _0x550c92=_0x4f75ae,_0x53f7f0=_0x18c37e[0x0];_0x53f7f0[_0x550c92(0x1eb)]&&(this[_0x550c92(0x1ca)](_0x53f7f0),this[_0x550c92(0x176)]()&&this[_0x550c92(0x1b9)]());}),this[_0x4f75ae(0x17a)](),this[_0x4f75ae(0x1d8)](_0x4f75ae(0x18e))['to'](_0x27c4c7,_0x4f75ae(0x1fb),this,_0x4f75ae(0x25b),(_0x1f28ef,_0x48ad70)=>_0x4f75ae(0x1e0)===_0x1f28ef&&!_0x48ad70),this['on'](_0x4f75ae(0x194),()=>{const _0x5e632c=_0x4f75ae;this[_0x5e632c(0x18e)]?_0x473ce5[_0x5e632c(0x1d6)](_0x5e632c(0x20a)):_0x473ce5[_0x5e632c(0x1b0)](_0x5e632c(0x20a));}),this[_0x4f75ae(0x18e)]?_0x473ce5[_0x4f75ae(0x1d6)](_0x4f75ae(0x20a)):_0x473ce5[_0x4f75ae(0x1b0)](_0x4f75ae(0x20a)),this[_0x4f75ae(0x1b7)](_0x4f75ae(0x255),!0x1);}async[_0x17be9e(0x227)](){const _0x2b6d13=_0x17be9e,_0x4f7ae7=this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1ae)][_0x2b6d13(0x1c7)](_0x4d155e),_0x12f62c=this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1ae)][_0x2b6d13(0x1c7)](_0x5add02);try{this[_0x2b6d13(0x18a)]=!0x0,_0x4f7ae7[_0x2b6d13(0x22c)](this[_0x2b6d13(0x1a9)]);const _0x3d37c3=await this[_0x2b6d13(0x217)][_0x2b6d13(0x227)](_0x12f62c[_0x2b6d13(0x1da)],this[_0x2b6d13(0x256)]);await this[_0x2b6d13(0x197)](_0x3d37c3)&&(this[_0x2b6d13(0x18a)]=!0x1,this[_0x2b6d13(0x252)]());const _0xea13ef=await this[_0x2b6d13(0x217)][_0x2b6d13(0x18f)]();_0x4f7ae7[_0x2b6d13(0x1d4)](this[_0x2b6d13(0x1a9)],_0xea13ef),this[_0x2b6d13(0x196)](),this[_0x2b6d13(0x255)]=!0x0;}catch(_0x5c9b79){if(function(_0x4dc32e){const _0x408a85=_0x2b6d13;return _0x408a85(0x204)===_0x4dc32e[_0x408a85(0x1b8)];}(_0x5c9b79)&&this[_0x2b6d13(0x220)])await this[_0x2b6d13(0x1dc)]();else{if(function(_0x28c9fd){const _0xd7536e=_0x2b6d13;return _0xd7536e(0x1ba)===_0x28c9fd[_0xd7536e(0x1b8)];}(_0x5c9b79)){const _0xb4fb48=_0x523e8d(this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1fa)],_0x2b6d13(0x201));this[_0x2b6d13(0x188)](_0xb4fb48);}else{if(!(_0x5c9b79 instanceof z))throw _0x5c9b79;this[_0x2b6d13(0x188)]();}}}}[_0x17be9e(0x1fc)](){const _0xefbfa3=_0x17be9e,_0x2f0a0d=this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1ae)][_0xefbfa3(0x1c7)](_0x5add02),_0x338972=this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1ae)][_0xefbfa3(0x1c7)](_0x4d155e);this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1b0)](_0xefbfa3(0x212)),_0x338972[_0xefbfa3(0x1ab)][_0xefbfa3(0x1b5)](this[_0xefbfa3(0x1a9)])&&_0x338972[_0xefbfa3(0x22c)](this[_0xefbfa3(0x1a9)]),_0x2f0a0d[_0xefbfa3(0x177)](this),this[_0xefbfa3(0x219)](),super[_0xefbfa3(0x1fc)]();}async[_0x17be9e(0x197)](_0x58e236){const _0x15cca2=_0x17be9e;if(this[_0x15cca2(0x220)]!==_0x58e236[_0x15cca2(0x220)]&&this[_0x15cca2(0x246)]!==_0x58e236[_0x15cca2(0x262)])throw new z();return this[_0x15cca2(0x220)]=_0x58e236[_0x15cca2(0x220)],this[_0x15cca2(0x1ff)]([],{..._0x58e236,'wereChangesApplied':!0x1,'data':_0x58e236[_0x15cca2(0x1a2)]},_0x15cca2(0x227));}async[_0x17be9e(0x207)](_0x44b4f9,_0x5a630a=!0x1){const _0x54c53e=_0x17be9e,{connection:_0x2672a1}=this[_0x54c53e(0x1a4)][_0x54c53e(0x1ae)][_0x54c53e(0x1c7)](_0x5add02);l[_0x54c53e(0x1ea)][_0x54c53e(0x18f)](_0x2672a1,this[_0x54c53e(0x1a9)])[_0x54c53e(0x195)](_0x1e113b=>this[_0x54c53e(0x161)](_0x1e113b))[_0x54c53e(0x234)](_0x1b193c=>{const _0x42cc8c=_0x54c53e;this[_0x42cc8c(0x21a)](_0x42cc8c(0x22e),_0x1b193c);}),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x185),this[_0x54c53e(0x1bf)][_0x54c53e(0x1d8)](this)),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x231),(_0x4833b8,_0x229ebb)=>{const _0x4276de=_0x54c53e;this[_0x4276de(0x21a)](_0x4276de(0x17d),_0x229ebb);}),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x1f8),()=>{const _0x5299b8=_0x54c53e;this[_0x5299b8(0x255)]=!0x1;});const _0x451a1f=this[_0x54c53e(0x1d7)][_0x54c53e(0x1ac)](_0x44b4f9);this[_0x54c53e(0x18a)]=!0x0;const _0x136184=await this[_0x54c53e(0x217)][_0x54c53e(0x19a)](_0x2672a1,this[_0x54c53e(0x171)](_0x44b4f9),_0x451a1f);if(this[_0x54c53e(0x220)]=_0x136184[_0x54c53e(0x220)],_0x5a630a){if(!_0x136184[_0x54c53e(0x19f)])return void this[_0x54c53e(0x188)]();this[_0x54c53e(0x18a)]=!0x1,this[_0x54c53e(0x252)](),this[_0x54c53e(0x208)][_0x54c53e(0x1e9)](),this[_0x54c53e(0x21c)]=_0x136184[_0x54c53e(0x1b4)],this[_0x54c53e(0x208)][_0x54c53e(0x241)]=this[_0x54c53e(0x21c)],await this[_0x54c53e(0x1ff)](_0x44b4f9,_0x136184,_0x54c53e(0x21b));}else await this[_0x54c53e(0x245)](_0x136184,_0x44b4f9);this[_0x54c53e(0x196)](),this[_0x54c53e(0x255)]=!0x0;}[_0x17be9e(0x196)](){const _0x329af0=_0x17be9e,_0x28b007=this[_0x329af0(0x1a4)][_0x329af0(0x1ae)][_0x329af0(0x1c7)](_0x4d155e),_0x1b9397=this[_0x329af0(0x1a4)][_0x329af0(0x1ae)][_0x329af0(0x1c7)](_0x9c9056),_0x3b7d51=_0x28b007[_0x329af0(0x1ab)][_0x329af0(0x1c7)](this[_0x329af0(0x1a9)]);_0x3b7d51&&_0x3b7d51[_0x329af0(0x239)]>0x1?_0x1b9397[_0x329af0(0x214)]():this[_0x329af0(0x22d)](_0x28b007,_0x329af0(0x243)+this[_0x329af0(0x1a9)],()=>{const _0x435720=_0x329af0;0x2===_0x28b007[_0x435720(0x1ab)][_0x435720(0x1c7)](this[_0x435720(0x1a9)])[_0x435720(0x239)]&&_0x1b9397[_0x435720(0x214)]();});}async[_0x17be9e(0x1bf)](_0x517d14,_0x3a363e,_0x4265f9,_0x2b9506){const _0x3f62b1=_0x17be9e;if(!this[_0x3f62b1(0x18a)]&&this[_0x3f62b1(0x192)][_0x3f62b1(0x241)]==_0x3a363e){const _0x2abc3f=this[_0x3f62b1(0x206)](_0x4265f9,_0x2b9506);await this[_0x3f62b1(0x1d9)](_0x2abc3f),this[_0x3f62b1(0x1ad)](_0x2abc3f,_0x3a363e,_0x4265f9[_0x3f62b1(0x262)])||this[_0x3f62b1(0x21a)](_0x3f62b1(0x1cd));}}async[_0x17be9e(0x1dc)](){const _0x1bf0c2=_0x17be9e;this[_0x1bf0c2(0x219)]();const {locale:_0x41d987}=this[_0x1bf0c2(0x1a4)];let _0x470702;try{_0x470702=await this[_0x1bf0c2(0x217)][_0x1bf0c2(0x1e2)]();}catch(_0x31a011){const _0x240e90=_0x523e8d(_0x41d987,_0x1bf0c2(0x189));return void this[_0x1bf0c2(0x188)](_0x240e90);}const _0x5bf745=_0x470702[_0x1bf0c2(0x235)]||_0x470702[_0x1bf0c2(0x1d5)];if(this[_0x1bf0c2(0x246)]===_0x5bf745[_0x1bf0c2(0x262)])await this[_0x1bf0c2(0x207)](this[_0x1bf0c2(0x1a4)][_0x1bf0c2(0x19e)][_0x1bf0c2(0x224)][_0x1bf0c2(0x16a)][_0x1bf0c2(0x24d)](),!0x0);else{const _0x3828ce=_0x523e8d(_0x41d987,_0x1bf0c2(0x203));this[_0x1bf0c2(0x188)](_0x3828ce);}}[_0x17be9e(0x219)](){const _0x5329aa=_0x17be9e;this[_0x5329aa(0x217)][_0x5329aa(0x1ed)](),this[_0x5329aa(0x1c1)]=[],clearTimeout(this[_0x5329aa(0x169)]),this[_0x5329aa(0x216)](this[_0x5329aa(0x217)]);}[_0x17be9e(0x161)](_0x5f7541){const _0xda527f=_0x17be9e,_0xc57c84=this[_0xda527f(0x1a4)][_0xda527f(0x1ae)][_0xda527f(0x1c7)](_0x4d155e);this[_0xda527f(0x22d)](_0xc57c84,_0xda527f(0x243)+this[_0xda527f(0x1a9)],(_0x5bf337,{session:_0x35fcbe})=>{const _0x1c2912=_0xda527f;if(_0x35fcbe['id']===_0xc57c84[_0x1c2912(0x24a)]){_0x5bf337[_0x1c2912(0x18d)]();const _0x525b27=this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1b5)](_0x1c2912(0x247))&&this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1c7)](_0x1c2912(0x247));let _0x3f4cc0=_0x35fcbe[_0x1c2912(0x215)];_0x525b27&&_0x525b27[_0x1c2912(0x187)]&&(_0x3f4cc0=_0x3f4cc0[_0x1c2912(0x23a)](_0xafbefb=>_0x1c2912(0x1c8)!==_0xafbefb)),this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1c7)](_0x1c2912(0x260))[_0x1c2912(0x238)](_0x3f4cc0,this[_0x1c2912(0x1a9)]);}}),_0xc57c84[_0xda527f(0x1d4)](this[_0xda527f(0x1a9)],_0x5f7541);}[_0x17be9e(0x229)](){const _0x19fe69=_0x17be9e,_0x201191=this[_0x19fe69(0x1a4)][_0x19fe69(0x1a2)][_0x19fe69(0x1b7)];this[_0x19fe69(0x1a4)][_0x19fe69(0x1a2)][_0x19fe69(0x1b7)]=(..._0xc69c7)=>{const _0x1e4e3b=_0x19fe69;if(!_0xc69c7[_0xc69c7[_0x1e4e3b(0x239)]-0x1][_0x1e4e3b(0x1a0)])throw new _0x37d164(_0x1e4e3b(0x24f),this);_0x201191[_0x1e4e3b(0x1bd)](this[_0x1e4e3b(0x1a4)][_0x1e4e3b(0x1a2)],_0xc69c7);};}[_0x17be9e(0x17a)](){const _0x3bd2fd=_0x17be9e;this[_0x3bd2fd(0x1a4)][_0x3bd2fd(0x1a2)]['on'](_0x3bd2fd(0x199),(_0x4d4d5c,[_0xb8b346])=>{const _0x57077e=_0x3bd2fd;if(this[_0x57077e(0x192)][_0x57077e(0x241)])throw new _0x37d164(_0x57077e(0x173),this);_0x4d4d5c[_0x57077e(0x222)](),this[_0x57077e(0x1af)]();const _0x58377d=this[_0x57077e(0x1a4)][_0x57077e(0x1c5)][_0x57077e(0x1c7)](_0x57077e(0x200)),_0x3190d1=this[_0x57077e(0x1df)](_0xb8b346,_0x58377d);0x0==_0x3190d1[_0x57077e(0x239)]&&_0x3190d1[_0x57077e(0x1a1)](new _0x58984e(0x0)),_0x4d4d5c[_0x57077e(0x1e8)]=this[_0x57077e(0x207)](_0x3190d1)[_0x57077e(0x195)](()=>{const _0x451eab=_0x57077e;this[_0x451eab(0x1a4)][_0x451eab(0x1ae)][_0x451eab(0x1c7)](_0x5add02)[_0x451eab(0x167)](this),this[_0x451eab(0x1a4)][_0x451eab(0x1a2)][_0x451eab(0x1c9)](_0x451eab(0x23b));})[_0x57077e(0x234)](_0x4fef49=>this[_0x57077e(0x21a)](_0x57077e(0x1f4),_0x4fef49))[_0x57077e(0x1d2)](()=>this[_0x57077e(0x252)]());},{'priority':_0x3bd2fd(0x164)}),this[_0x3bd2fd(0x1a4)]['on'](_0x3bd2fd(0x1a5),async(_0x5e8911,[_0xec9436,_0x38ad59])=>{const _0x592eb2=_0x3bd2fd;_0x5e8911[_0x592eb2(0x222)]();const _0x369cf9=this[_0x592eb2(0x1a4)][_0x592eb2(0x19e)][_0x592eb2(0x224)][_0x592eb2(0x165)](_0xec9436);if(!this[_0x592eb2(0x190)][_0x592eb2(0x1b5)](_0xec9436)){const _0xcfb84d=_0x38ad59&&_0x38ad59[_0x592eb2(0x1a2)]?_0x38ad59[_0x592eb2(0x1a2)]:'',_0x154479=_0x38ad59&&_0x38ad59[_0x592eb2(0x24b)]?_0x38ad59[_0x592eb2(0x24b)]:{};await this[_0x592eb2(0x25d)](_0xec9436,_0xcfb84d,_0x154479);}this[_0x592eb2(0x1a4)][_0x592eb2(0x19e)][_0x592eb2(0x17c)]({'isUndoable':!0x1},()=>{const _0x2b4e94=_0x592eb2;_0x369cf9[_0x2b4e94(0x1a3)]=!0x0,this[_0x2b4e94(0x1a4)][_0x2b4e94(0x19e)][_0x2b4e94(0x224)][_0x2b4e94(0x1f3)][_0x2b4e94(0x1bb)](_0x369cf9);});},{'priority':_0x3bd2fd(0x164)});}async[_0x17be9e(0x1d9)](_0x58664e){const _0x1f7de7=_0x17be9e,_0xdf6c14=this[_0x1f7de7(0x1a4)][_0x1f7de7(0x1ae)][_0x1f7de7(0x1c7)](_0x375cb9),{connection:_0x187d0}=this[_0x1f7de7(0x1a4)][_0x1f7de7(0x1ae)][_0x1f7de7(0x1c7)](_0x5add02),_0x4ec531=new Set();for(const _0x12bdfc of _0x58664e){const _0x27df55=_0x12bdfc[_0x1f7de7(0x1e6)];_0x27df55&&!_0xdf6c14[_0x1f7de7(0x1b1)](_0x27df55)&&_0x4ec531[_0x1f7de7(0x166)](_0x27df55);}if(0x0===_0x4ec531[_0x1f7de7(0x1c6)])return;const _0x5fafc8=await _0x53befc[_0x1f7de7(0x172)](_0x187d0,Array[_0x1f7de7(0x18b)](_0x4ec531));for(const _0x46cf09 of _0x5fafc8)_0xdf6c14[_0x1f7de7(0x1b1)](_0x46cf09['id'])||_0xdf6c14[_0x1f7de7(0x1ee)](_0x46cf09);}[_0x17be9e(0x1df)](_0x48e2f0,_0x30ba94={}){const _0x156495=_0x17be9e,_0x3e0cad=this[_0x156495(0x1a4)][_0x156495(0x19e)],_0x5b7dba=[];let _0x1e1f31=0x0;const _0x57a2e7=_0x156495(0x1e1)==typeof _0x48e2f0?{'main':_0x48e2f0}:_0x48e2f0;for(const _0x2e4304 of Object[_0x156495(0x248)](_0x57a2e7)){if(!this[_0x156495(0x192)][_0x156495(0x263)][_0x156495(0x1b5)](_0x2e4304))throw new _0x37d164(_0x156495(0x1e3),this);const _0x97b093=this[_0x156495(0x1a4)][_0x156495(0x1a2)][_0x156495(0x225)](_0x57a2e7[_0x2e4304]),_0x3e104c=this[_0x156495(0x192)][_0x156495(0x165)](_0x2e4304),_0x20f4ca=new _0x48d407(_0x3e0cad[_0x156495(0x244)](_0x3e104c,0x0),_0x97b093,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x20f4ca);for(const [_0x8057be,_0xfc4825]of _0x97b093[_0x156495(0x24c)]){const _0x39e9fc=_0x3e0cad[_0x156495(0x221)](_0x3e0cad[_0x156495(0x264)](_0x3e104c,_0xfc4825[_0x156495(0x19b)][_0x156495(0x236)][_0x156495(0x258)]()),_0x3e0cad[_0x156495(0x264)](_0x3e104c,_0xfc4825[_0x156495(0x20e)][_0x156495(0x236)][_0x156495(0x258)]())),_0x13d3e7=new _0x5de32b(_0x8057be,null,_0x39e9fc,_0x3e0cad[_0x156495(0x24c)],!0x0,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x13d3e7);}}if(_0x30ba94)for(const [_0x46fcfd,_0x4bedf8]of Object[_0x156495(0x1f6)](_0x30ba94)){const _0x37d0c5=_0x3e0cad[_0x156495(0x224)][_0x156495(0x165)](_0x46fcfd);if(!_0x37d0c5)throw new _0x37d164(_0x156495(0x254),null);for(const [_0x1de0f5,_0x4257ff]of Object[_0x156495(0x1f6)](_0x4bedf8))if(null!==_0x4257ff){const _0x5185d3=new _0x4bc690(_0x37d0c5,_0x1de0f5,null,_0x4257ff,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x5185d3);}}return _0x5b7dba;}async[_0x17be9e(0x25d)](_0x24ceeb,_0x215067,_0x522982){const _0x3b1849=_0x17be9e;this[_0x3b1849(0x1df)]({[_0x24ceeb]:_0x215067},{[_0x24ceeb]:_0x522982})[_0x3b1849(0x23c)]((_0x2d2bde,_0x305572)=>{const _0x57ed2a=_0x3b1849;_0x2d2bde[_0x57ed2a(0x19c)]=this[_0x57ed2a(0x192)][_0x57ed2a(0x241)]+_0x305572,_0x2d2bde[_0x57ed2a(0x259)]=!0x0,this[_0x57ed2a(0x1ca)](_0x2d2bde);}),this[_0x3b1849(0x1b9)](),await this[_0x3b1849(0x191)]();}async[_0x17be9e(0x245)](_0x6359b8,_0x24641a){const _0x2fbd56=_0x17be9e;let _0x16c4c1;this[_0x2fbd56(0x21c)]=_0x6359b8[_0x2fbd56(0x1b4)];const _0x3504c5=_0x6359b8[_0x2fbd56(0x19f)]&&!_0x6359b8[_0x2fbd56(0x180)],_0x18f869=_0x3504c5?0x0:_0x6359b8[_0x2fbd56(0x1a2)][_0x2fbd56(0x19c)];if(_0x24641a[_0x2fbd56(0x23c)](_0x4837e0=>{const _0x36437b=_0x2fbd56;_0x4837e0[_0x36437b(0x259)]=!0x0,_0x4837e0[_0x36437b(0x1bc)]=_0x6359b8[_0x36437b(0x226)],_0x4837e0[_0x36437b(0x1e6)]=null;}),_0x3504c5)_0x16c4c1=_0x24641a,this[_0x2fbd56(0x25f)](_0x16c4c1,_0x3504c5);else{if(_0x6359b8[_0x2fbd56(0x180)]){const _0x47e5d2=this[_0x2fbd56(0x1df)](_0x6359b8[_0x2fbd56(0x180)]);this[_0x2fbd56(0x192)][_0x2fbd56(0x16a)][_0x2fbd56(0x241)]=-_0x47e5d2[_0x2fbd56(0x239)],_0x47e5d2[_0x2fbd56(0x23c)](_0x426011=>{const _0x49a326=_0x2fbd56;_0x426011[_0x49a326(0x19c)]-=_0x47e5d2[_0x49a326(0x239)],_0x426011[_0x49a326(0x1bc)]=_0x6359b8[_0x49a326(0x226)],_0x426011[_0x49a326(0x259)]=!0x0,_0x426011[_0x49a326(0x1e6)]=null;}),this[_0x2fbd56(0x25f)](_0x47e5d2,!0x0),this[_0x2fbd56(0x208)][_0x2fbd56(0x241)]=-_0x47e5d2[_0x2fbd56(0x239)]+this[_0x2fbd56(0x21c)],this[_0x2fbd56(0x261)](_0x47e5d2);}this[_0x2fbd56(0x192)][_0x2fbd56(0x16a)][_0x2fbd56(0x241)]=_0x18f869,_0x16c4c1=this[_0x2fbd56(0x206)](_0x6359b8[_0x2fbd56(0x1a2)],_0x6359b8[_0x2fbd56(0x175)]),await this[_0x2fbd56(0x1d9)](_0x16c4c1),this[_0x2fbd56(0x25f)](_0x16c4c1,_0x3504c5);}_0x6359b8[_0x2fbd56(0x262)]&&(this[_0x2fbd56(0x1d7)][_0x2fbd56(0x20b)](_0x16c4c1,_0x6359b8[_0x2fbd56(0x262)]),this[_0x2fbd56(0x246)]=_0x6359b8[_0x2fbd56(0x262)]),this[_0x2fbd56(0x208)][_0x2fbd56(0x241)]=_0x18f869+this[_0x2fbd56(0x21c)],this[_0x2fbd56(0x261)](_0x16c4c1),_0x24641a[_0x2fbd56(0x23a)](_0x536c65=>{const _0x128b9e=_0x2fbd56,_0x22d2bc=this[_0x128b9e(0x186)](_0x536c65);return _0x22d2bc&&!this[_0x128b9e(0x190)][_0x128b9e(0x1b5)](_0x22d2bc);})[_0x2fbd56(0x23c)]((_0x2c4b9b,_0x2cc055)=>{const _0x130973=_0x2fbd56;_0x2c4b9b[_0x130973(0x19c)]=this[_0x130973(0x192)][_0x130973(0x241)]+_0x2cc055,this[_0x130973(0x1ca)](_0x2c4b9b);}),this[_0x2fbd56(0x176)]()?(this[_0x2fbd56(0x162)]=0x0,this[_0x2fbd56(0x1b9)](!0x0),await this[_0x2fbd56(0x191)]()):(this[_0x2fbd56(0x18a)]=!0x1,this[_0x2fbd56(0x252)]());}[_0x17be9e(0x21a)](_0x53c0e6,_0x2158b4,_0x5b5ede){const _0x778257=_0x17be9e;throw this[_0x778257(0x18a)]=!0x0,_0x2158b4&&console[_0x778257(0x231)](_0x2158b4),_0x5b5ede&&this[_0x778257(0x1a4)][_0x778257(0x1b0)](_0x778257(0x230)),new _0x37d164(_0x53c0e6,this[_0x778257(0x1a4)]);}[_0x17be9e(0x1ca)](_0x1e2329){const _0xe524ec=_0x17be9e;this[_0xe524ec(0x1de)][_0xe524ec(0x1b5)](_0x1e2329)||(this[_0xe524ec(0x1de)][_0xe524ec(0x166)](_0x1e2329),this[_0xe524ec(0x1c1)][_0xe524ec(0x1a1)](_0x1e2329),this[_0xe524ec(0x23e)]||_0xe524ec(0x20d)==_0x1e2329[_0xe524ec(0x178)]&&!_0x1e2329[_0xe524ec(0x23f)]||this[_0xe524ec(0x1af)]());}[_0x17be9e(0x1b9)](_0x3d2427=!0x1){const _0x15e5f3=_0x17be9e;!_0x3d2427&&this[_0x15e5f3(0x18a)]||(this[_0x15e5f3(0x18a)]=!0x0,clearTimeout(this[_0x15e5f3(0x169)]),this[_0x15e5f3(0x169)]=setTimeout(()=>{const _0x2f4d2f=_0x15e5f3;this[_0x2f4d2f(0x183)]()[_0x2f4d2f(0x195)](_0x4b9204=>{const _0x5740ad=_0x2f4d2f;_0x4b9204&&(this[_0x5740ad(0x252)](),this[_0x5740ad(0x18a)]=!0x1);})[_0x2f4d2f(0x234)](_0x180b45=>{const _0x1facd5=_0x2f4d2f;this[_0x1facd5(0x252)](),this[_0x1facd5(0x18a)]=!0x1,function(_0x2a80d4){const _0x1e6cdc=_0x1facd5;return _0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x232))||_0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x1f9))||_0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x240));}(_0x180b45)||this[_0x1facd5(0x21a)](_0x180b45[_0x1facd5(0x1d3)],_0x180b45,!0x0);});},this[_0x15e5f3(0x162)]));}[_0x17be9e(0x191)](){return new Promise(_0x425e3d=>{const _0x31c5e2=_0x47c3;this['on'](_0x31c5e2(0x228),()=>{_0x425e3d();});});}async[_0x17be9e(0x183)](){const _0x4346e9=_0x17be9e,_0x65edf0=this[_0x4346e9(0x1a4)][_0x4346e9(0x1ae)][_0x4346e9(0x1c7)](_0x9c9056);if(this[_0x4346e9(0x1fe)]()&&(_0x65edf0[_0x4346e9(0x214)](),this[_0x4346e9(0x174)]=!0x1),!this[_0x4346e9(0x176)]())return!0x0;const _0x174f2d=[...this[_0x4346e9(0x1c1)]];for(const _0x5a343a of _0x174f2d)_0x5a343a[_0x4346e9(0x16d)]=this[_0x4346e9(0x192)][_0x4346e9(0x16a)][_0x4346e9(0x21f)](_0x5a343a);const _0x2cc9d5=this[_0x4346e9(0x1d7)][_0x4346e9(0x1ac)](_0x174f2d),_0x5550c4=M++,_0x4c110c=this[_0x4346e9(0x171)](_0x174f2d),_0x57c489=await this[_0x4346e9(0x217)][_0x4346e9(0x213)](_0x4c110c,_0x4c110c[_0x4346e9(0x19c)],_0x2cc9d5);try{return await this[_0x4346e9(0x1ff)](_0x174f2d,_0x57c489,_0x5550c4);}catch(_0x22efec){return this[_0x4346e9(0x21a)](_0x4346e9(0x23d),_0x22efec);}}async[_0x17be9e(0x1ff)](_0x128475,_0x23fd7c,_0xaee269){const _0x290c59=_0x17be9e;if(_0x290c59(0x231)in _0x23fd7c)throw _0x23fd7c[_0x290c59(0x231)];let _0x194ab9=!0x1;if(_0x23fd7c[_0x290c59(0x19f)]){_0x23fd7c[_0x290c59(0x262)]&&(this[_0x290c59(0x246)]=_0x23fd7c[_0x290c59(0x262)]),this[_0x290c59(0x1c1)]=this[_0x290c59(0x1c1)][_0x290c59(0x23a)](_0x362e33=>!_0x128475[_0x290c59(0x1ce)](_0x362e33));for(const _0x32f8e1 of _0x128475)_0x32f8e1[_0x290c59(0x1bc)]=_0x290c59(0x1ef)in _0x23fd7c&&_0x23fd7c[_0x290c59(0x1ef)]||void 0x0;V(_0x128475,_0x23fd7c[_0x290c59(0x241)]-_0x128475[_0x290c59(0x239)]),this[_0x290c59(0x261)](_0x128475);const _0x2e55c0=_0x128475[_0x290c59(0x23a)](_0x2f5b92=>{const _0x55dfdc=_0x290c59;if(!_0x2f5b92[_0x55dfdc(0x259)])return!0x1;const _0x253708=this[_0x55dfdc(0x186)](_0x2f5b92);return _0x253708&&!this[_0x55dfdc(0x190)][_0x55dfdc(0x1b5)](_0x253708);});V(_0x2e55c0,this[_0x290c59(0x192)][_0x290c59(0x241)]),this[_0x290c59(0x25f)](_0x2e55c0),_0x194ab9=!0x0,this[_0x290c59(0x162)]=this[_0x290c59(0x242)];}else{const _0x34af39=this[_0x290c59(0x206)](_0x23fd7c[_0x290c59(0x1a2)],_0x23fd7c[_0x290c59(0x175)])[_0x290c59(0x23a)](_0x23d485=>_0x23d485[_0x290c59(0x19c)]>=this[_0x290c59(0x251)]);_0x34af39[_0x290c59(0x23c)](_0x339747=>this[_0x290c59(0x193)](_0x339747)),this[_0x290c59(0x1c1)]=this[_0x290c59(0x1c1)][_0x290c59(0x23a)](_0x7eb6b2=>!_0x7eb6b2[_0x290c59(0x259)]||!this[_0x290c59(0x190)][_0x290c59(0x1b5)](this[_0x290c59(0x186)](_0x7eb6b2))),this[_0x290c59(0x1c1)][_0x290c59(0x239)]&&V(this[_0x290c59(0x1c1)],this[_0x290c59(0x1c1)][0x0][_0x290c59(0x19c)]),await this[_0x290c59(0x1d9)](_0x34af39),_0x194ab9=this[_0x290c59(0x1ad)](_0x34af39,_0x23fd7c[_0x290c59(0x241)],_0x23fd7c[_0x290c59(0x262)]),this[_0x290c59(0x162)]=Math[_0x290c59(0x218)](this[_0x290c59(0x162)]/0x2);}return _0x194ab9?!this[_0x290c59(0x176)]()||(this[_0x290c59(0x1b9)](!0x0),!0x1):this[_0x290c59(0x21a)](_0x290c59(0x1c4));}[_0x17be9e(0x1ad)](_0x1821b6,_0x116316,_0x335039){const _0x5ad89f=_0x17be9e;try{const _0x68c8ea={'document':this[_0x5ad89f(0x192)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x119fce,operationsB:_0x519145,originalOperations:_0xbb0ea8}=_0x40e279(_0x1821b6,this[_0x5ad89f(0x1c1)],_0x68c8ea);V(_0x119fce,this[_0x5ad89f(0x192)][_0x5ad89f(0x241)]),V(_0x519145,_0x116316);for(const _0x34dae3 of _0x119fce){const _0x1d7740=_0xbb0ea8[_0x5ad89f(0x1c7)](_0x34dae3);_0x34dae3[_0x5ad89f(0x1e6)]=_0x1d7740?_0x1d7740[_0x5ad89f(0x1e6)]:null;}_0x335039&&(this[_0x5ad89f(0x1d7)][_0x5ad89f(0x20b)](_0x1821b6,_0x335039),this[_0x5ad89f(0x246)]=_0x335039),this[_0x5ad89f(0x1c1)]=[..._0x519145],this[_0x5ad89f(0x25f)](_0x119fce),this[_0x5ad89f(0x261)](_0x1821b6);}catch(_0x206c19){return console[_0x5ad89f(0x231)](_0x206c19),!0x1;}return!0x0;}[_0x17be9e(0x25f)](_0x57e37e,_0x38f836=!0x1){const _0x837798=_0x17be9e;this[_0x837798(0x1a4)][_0x837798(0x19e)][_0x837798(0x17c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x147227=>{const _0x192004=_0x837798;for(const _0x2df38c of _0x57e37e)this[_0x192004(0x1de)][_0x192004(0x166)](_0x2df38c),this[_0x192004(0x193)](_0x2df38c),_0x147227[_0x192004(0x181)][_0x192004(0x266)](_0x2df38c),this[_0x192004(0x1a4)][_0x192004(0x19e)][_0x192004(0x1e5)](_0x2df38c);});}[_0x17be9e(0x193)](_0x1b1a41){const _0x258e37=_0x17be9e,_0x5ce768=this[_0x258e37(0x186)](_0x1b1a41);_0x5ce768&&this[_0x258e37(0x190)][_0x258e37(0x166)](_0x5ce768);}[_0x17be9e(0x186)](_0x5230ed){const _0x2f7c0b=_0x17be9e;let _0x3d4734,_0x57f997;switch(_0x5230ed[_0x2f7c0b(0x178)]){case _0x2f7c0b(0x1f1):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1d1)][_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x20d):if(_0x57f997=_0x5230ed[_0x2f7c0b(0x182)],!_0x57f997)return null;_0x3d4734=_0x57f997[_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x237):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x1f7):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1b3)];break;case _0x2f7c0b(0x1f0):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1db)][_0x2f7c0b(0x1cb)];break;default:return null;}return _0x3d4734[_0x2f7c0b(0x21e)];}[_0x17be9e(0x261)](_0x3b1a7e){const _0x5c98fc=_0x17be9e;_0x3b1a7e[_0x5c98fc(0x23c)](_0x552e7b=>{const _0x4cebc7=_0x5c98fc,_0x40f09d=_0x552e7b[_0x4cebc7(0x18c)]();_0x40f09d[_0x4cebc7(0x1e6)]=_0x552e7b[_0x4cebc7(0x1e6)],_0x40f09d[_0x4cebc7(0x259)]=!!_0x552e7b[_0x4cebc7(0x259)],_0x40f09d[_0x4cebc7(0x1bc)]=_0x552e7b[_0x4cebc7(0x1bc)],_0x40f09d[_0x4cebc7(0x19c)]+=this[_0x4cebc7(0x21c)],_0x552e7b[_0x4cebc7(0x16c)]&&this[_0x4cebc7(0x1a7)][_0x4cebc7(0x166)](_0x40f09d),this[_0x4cebc7(0x208)][_0x4cebc7(0x266)](_0x40f09d);});}[_0x17be9e(0x188)](_0x2d8b59){const _0x316514=_0x17be9e,_0xc25416=this[_0x316514(0x1a4)][_0x316514(0x1ae)][_0x316514(0x1c7)](_0x316514(0x249)),_0x14dfa9=this[_0x316514(0x1a4)][_0x316514(0x1fa)];_0x2d8b59||(_0x2d8b59=_0x523e8d(_0x14dfa9,_0x316514(0x223))),_0xc25416[_0x316514(0x250)](_0x2d8b59,{'title':_0x523e8d(_0x14dfa9,_0x316514(0x205)),'namespace':_0x316514(0x1dd)}),this[_0x316514(0x25b)]=!0x0,clearTimeout(this[_0x316514(0x169)]),this[_0x316514(0x1c1)]=[],this[_0x316514(0x1a4)][_0x316514(0x1ae)][_0x316514(0x1c7)](_0x5add02)[_0x316514(0x1fc)]();}[_0x17be9e(0x1af)](){const _0x396064=_0x17be9e;this[_0x396064(0x23e)]||(this[_0x396064(0x23e)]=this[_0x396064(0x1a4)][_0x396064(0x1ae)][_0x396064(0x1c7)](_0x49e571)[_0x396064(0x166)](_0x523e8d(this[_0x396064(0x1a4)][_0x396064(0x1fa)],_0x396064(0x22f))));}[_0x17be9e(0x252)](){const _0x2f9296=_0x17be9e;this[_0x2f9296(0x23e)]&&(this[_0x2f9296(0x1a4)][_0x2f9296(0x1ae)][_0x2f9296(0x1c7)](_0x49e571)[_0x2f9296(0x1cf)](this[_0x2f9296(0x23e)]),this[_0x2f9296(0x23e)]=null);}[_0x17be9e(0x171)](_0x4b37da){const _0x36adfd=_0x17be9e,_0x4fe38d=_0x4b37da[_0x36adfd(0x20c)](_0x5d5c13=>_0x5d5c13[_0x36adfd(0x1c3)]());return this[_0x36adfd(0x257)][_0x36adfd(0x1e7)](_0x4fe38d);}[_0x17be9e(0x206)](_0x27131a,_0x4f2859){const _0xef39f9=_0x17be9e;return this[_0xef39f9(0x257)][_0xef39f9(0x1b2)](_0x27131a)[_0xef39f9(0x20c)]((_0x31f1ef,_0x54808c)=>{const _0xae302f=_0xef39f9,_0x5ec88d=_0xae302f(0x199)==_0x4f2859[_0x54808c][_0xae302f(0x178)];if(_0xae302f(0x253)==_0x31f1ef[_0xae302f(0x1f5)]){const _0x25d235=_0x31f1ef[_0xae302f(0x1d1)][_0xae302f(0x1cb)];!this[_0xae302f(0x192)][_0xae302f(0x165)](_0x25d235)&&(this[_0xae302f(0x192)][_0xae302f(0x1c2)](_0xae302f(0x1cc),_0x25d235)[_0xae302f(0x16b)]=!0x1);}const _0x1624d4=_0x4131a3[_0xae302f(0x1fd)](_0x31f1ef,this[_0xae302f(0x192)]);return _0x1624d4[_0xae302f(0x16d)]=_0x31f1ef[_0xae302f(0x16d)],_0x1624d4[_0xae302f(0x259)]=_0x5ec88d,_0x1624d4[_0xae302f(0x1e6)]=_0x5ec88d?null:_0x4f2859[_0x54808c][_0xae302f(0x25e)],_0x1624d4[_0xae302f(0x16c)]=_0xae302f(0x170)===_0x4f2859[_0x54808c][_0xae302f(0x178)],_0x1624d4[_0xae302f(0x1bc)]=_0x4f2859[_0x54808c][_0xae302f(0x1bc)],_0x1624d4;});}[_0x17be9e(0x20f)](){const _0x51fd28=_0x17be9e;this[_0x51fd28(0x174)]=!0x0,this[_0x51fd28(0x1fe)]()?this[_0x51fd28(0x1b9)]():this[_0x51fd28(0x174)]=!0x1;}[_0x17be9e(0x1fe)](){const _0x1d12e8=_0x17be9e,_0x2101d2=this[_0x1d12e8(0x1a4)][_0x1d12e8(0x1ae)][_0x1d12e8(0x1c7)](_0x4d155e)[_0x1d12e8(0x1ab)][_0x1d12e8(0x1c7)](this[_0x1d12e8(0x1a9)]);return!this[_0x1d12e8(0x1a4)][_0x1d12e8(0x1a8)]&&!!_0x2101d2&&_0x2101d2[_0x1d12e8(0x239)]>0x1&&this[_0x1d12e8(0x174)];}[_0x17be9e(0x176)](){const _0x329d76=_0x17be9e;return this[_0x329d76(0x1c1)][_0x329d76(0x239)]>0x0||this[_0x329d76(0x1fe)]();}}l[_0x17be9e(0x1ea)]=_0x56ff6c;function _0x47c3(_0xccee4d,_0x5607c1){const _0x345da1=_0x345d();return _0x47c3=function(_0x47c34c,_0x2cbb69){_0x47c34c=_0x47c34c-0x161;let _0x14f362=_0x345da1[_0x47c34c];return _0x14f362;},_0x47c3(_0xccee4d,_0x5607c1);}export default l;class z extends Error{}function V(_0xdad613,_0x602bef){const _0x46071f=_0x17be9e;for(const _0x513c87 of _0xdad613)_0x513c87[_0x46071f(0x19c)]=_0x602bef++;}class W{constructor(_0x25d33f){const _0x3c74da=_0x17be9e;this[_0x3c74da(0x1f2)]=_0x25d33f,this[_0x3c74da(0x17f)]=new WeakMap();}[_0x17be9e(0x1ac)](_0x1570ba){const _0x2ef6b6=_0x17be9e;let _0x395971=_0x1570ba[_0x2ef6b6(0x239)];for(;_0x395971--;){const _0x37f6e4=_0x1570ba[_0x395971];if(!this[_0x2ef6b6(0x1f2)][_0x2ef6b6(0x1b5)](_0x37f6e4)){if(!this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1b5)](_0x37f6e4)){const _0x18ed79=_0x416b29()[_0x2ef6b6(0x258)](0x1,0x12);this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1b7)](_0x37f6e4,_0x18ed79);}return this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1c7)](_0x37f6e4);}}}[_0x17be9e(0x20b)](_0x1d08f0,_0x60c6d3){const _0x33eebf=_0x17be9e;if(!_0x60c6d3)return;let _0x5d67c1=_0x1d08f0[_0x33eebf(0x239)];for(;_0x5d67c1--;){const _0xa5ed53=_0x1d08f0[_0x5d67c1];this[_0x33eebf(0x1f2)][_0x33eebf(0x1b5)](_0xa5ed53)||this[_0x33eebf(0x17f)][_0x33eebf(0x1b7)](_0xa5ed53,_0x60c6d3);}}}
|
|
23
|
+
const _0x19966c=_0x33f2;(function(_0x186b56,_0x2b5905){const _0x47c9c7=_0x33f2,_0x2913b7=_0x186b56();while(!![]){try{const _0x198790=parseInt(_0x47c9c7(0xa9))/0x1*(-parseInt(_0x47c9c7(0x95))/0x2)+parseInt(_0x47c9c7(0x7e))/0x3*(parseInt(_0x47c9c7(0xfe))/0x4)+-parseInt(_0x47c9c7(0x13b))/0x5*(-parseInt(_0x47c9c7(0x170))/0x6)+-parseInt(_0x47c9c7(0xeb))/0x7*(-parseInt(_0x47c9c7(0x174))/0x8)+-parseInt(_0x47c9c7(0x125))/0x9+-parseInt(_0x47c9c7(0x8c))/0xa*(-parseInt(_0x47c9c7(0x84))/0xb)+parseInt(_0x47c9c7(0x155))/0xc*(-parseInt(_0x47c9c7(0x165))/0xd);if(_0x198790===_0x2b5905)break;else _0x2913b7['push'](_0x2913b7['shift']());}catch(_0x36a7be){_0x2913b7['push'](_0x2913b7['shift']());}}}(_0xdc25,0x1c1c3));import{Plugin as _0x349503,PendingActions as _0x46f84f}from'ckeditor5/src/core.js';import{CKEditorError as _0xfede9f,version as _0x87949d,uid as _0x588989}from'ckeditor5/src/utils.js';import{Notification as _0x3c7e54}from'ckeditor5/src/ui.js';import{transformSets as _0x261eec,NoOperation as _0x52d554,InsertOperation as _0x5e1520,MarkerOperation as _0x25e891,RootAttributeOperation as _0x167739,OperationFactory as _0x1cccee,History as _0x34257f}from'ckeditor5/src/engine.js';import _0x5e144f from'./websocketgateway.js';import _0x3c229c from'./sessions.js';import _0x11942c from'./usermarkers.js';import{getTranslation as _0x5bed32}from'../common-translations.js';import{Compressor as _0x34070}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2bffcd}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xdc25(){const _0x5cfdd3=['createUserMarkerOperations','compress','showWarning','_isPendingUpdate','realtimecollaborationclient-init-non-existent-root','move','realtimecollaborationclient-init-session-connection-error','rootName','createdAt','string','removeFromReconnectionStack','_knownRootNames','start','_isInit','_handleReceivedOperations','wereChangesApplied','initData','_hasSelectionChanged','rtc-offline','130stbEBB','createRoot','__className','_initThrowingOnDataSet','code','_handleInitialConnectionData','real-time-collaboration','_bufferedOperations','push','_baseBufferDelay','operationsReceived','roots','_clearPendingAction','marker','_isEditingAllowed','batch','add','realtimecollaborationclient-initservice-incorrect-server-operation','requires','view','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.','_currentBufferDelay','enableReadOnlyMode','sessionId','fire','9300IydyLU','_shouldSendUpdate','finally','entries','unregister','_handleSendingSelectionMarkers','register','_knownOperations','lastOperationId','_isAttached','CollaborativeEditingService','wasUndone','rootsAttributes','define','_channelId','history','3809vBZCCf','_refreshUserSelectionMarkers','_ignoredOperations','isOfficialPlugin','userId','apply','directChange','_operationToId','getConnectedSessions','init','_sendBufferedOperationsDelayId','44160HNLoEd','_setUpDataInit','realtimecollaborationclient-error','connect','22528aXnPkP','_handleExternalOperations','loadRoot','_offset','_authorId','isPremiumPlugin','affectedSelectable','_sendBufferedOperationsDelayed','from','forEach','lastDocumentSession','return','multi-root-editor-root-attributes-no-root','_fetchMissingUsers','collaboration-missing-channelid','change:_isEditingAllowed','sessionAdd:','_saveOperationInBuffer','417XvzNxR','editor','decompress','markers','serverHistory','setIdForTheLastOperation','11oeAlBk','Synchronization\x20issue','error','permissions','locale','ready','metadata','stop','2001830uavbWS','data','offset','realtimecollaborationclient-init-document-already-initialized','isUndoneOperation','selection','editing','newRange','_lastServerVersion','50354TxsCBR','_document','_handleReconnectionError','realtimecollaborationclient-handleserverresponse','destroy','end','bind','Notification','insert','cloudServices.bundleVersion','clone','differ','disableReadOnlyMode','map','catch','isReadOnly','position','config','getUser','version','6WXepdL','_disconnectService','listenTo','_disconnectionOperations','createPositionFromPath','change:hasDomSelection','sendOperations','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.','plugins','disconnect','addRootAttribute','_pendingAction','isEnabled','getIdOfTheLastOperation','currentDocumentSession','setPermissions','reconnect','off','_applyOperationsSet','createPositionAt','set','_setPendingAction','_getOperationsFromInitData','_service','lastOperationAcceptedAt','reconnection:\x20flushed\x20session','rtc-destroyed','model','stopListening','_compressor','has','RealTimeCollaborationClient','_sendBufferedOperations','get','length','sessionCreatedAt','cs:removeUser','_isLoaded','_decompressOperations','reset','round','change:_isPendingUpdate','cloudDocumentVersion','filter','_crash','Permissions','cloud-services-internal-error:\x20Request\x20timeout.','path','includes','connection','_connectAfterSessionHasBeenFlushed','_waitUntilSynced','document','keys','addUser','slice','collaboration','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','collaboration.channelId','size','affectsData','_bufferRootLoad','_isConnected','_addKnownRoot','InsertOperation','409','245kdSZNI','_connectService','suppressErrorInCollaboration','connected','_lastSyncedOperationId','_handleServerResponse','_updateServerHistory','_isDisconnection','parse','message','createRange','_loadRoot','realtimecollaborationclient-initservice-internal-error','startsWith','mySessionId','toJSON','fromJSON','addRoot','lastSyncVersion','3000CRfvHw','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','high','then','$root','getMany','attributes','_getAffectedRoot','enqueueChange','applyOperation','baseVersion','remove','PENDING_ACTION_SENDING_DATA','CommentsOnly','state','cloud-services-internal-error:\x20Not\x20connected.','isDocumentOperation','addToReconnectionStack','disconnected','getDocumentDetails','getOperationAuthor','realtimecollaborationclient-sendbufferedoperations','_handleReconnectionResponse','type','change:range','404','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initSessionsHandling','_hasSynchronizationProblem','targetPosition','getRoot','_shouldSendSelectionUpdate','pluginName','_operationIdentifier','addOperation','getOperations','channelSessions','_compressOperations','909693CKwRyq','document:write','root'];_0xdc25=function(){return _0x5cfdd3;};return _0xdc25();}import{User as _0x30c41f,CollaborativeEditingService as _0xb3bc4a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let $=0x1;class l extends _0x349503{static get[_0x19966c(0x14d)](){return[_0x5e144f,_0x3c229c,_0x11942c,_0x46f84f,_0x2bffcd,_0x3c7e54];}static get[_0x19966c(0x11f)](){const _0x56220f=_0x19966c;return _0x56220f(0xc8);}static get[_0x19966c(0x168)](){return!0x0;}static get[_0x19966c(0x71)](){return!0x0;}get[_0x19966c(0xd3)](){const _0x4c22a5=_0x19966c;return this[_0x4c22a5(0x94)]+this[_0x4c22a5(0x6f)];}get[_0x19966c(0x94)](){const _0x1f7b8f=_0x19966c;return this[_0x1f7b8f(0x82)][_0x1f7b8f(0xa8)]-this[_0x1f7b8f(0x6f)];}get[_0x19966c(0xfd)](){const _0x32818e=_0x19966c,_0x233250=this[_0x32818e(0x82)][_0x32818e(0x122)]();for(let _0x3c063e=_0x233250[_0x32818e(0xcb)]-0x1;_0x3c063e>=0x0;_0x3c063e--){const _0x367331=_0x233250[_0x3c063e];if(!this[_0x32818e(0xac)][_0x32818e(0xc7)](_0x367331))return _0x367331[_0x32818e(0x109)]+0x1-this[_0x32818e(0x6f)];}return 0x0;}constructor(_0x3f62fb){const _0x48d545=_0x19966c;if(super(_0x3f62fb),this[_0x48d545(0x6f)]=0x0,this[_0x48d545(0x153)]=null,this[_0x48d545(0x82)]=new _0x34257f(),this[_0x48d545(0x7f)][_0x48d545(0xa6)][_0x48d545(0x162)](_0x48d545(0xe1),{}),this[_0x48d545(0x163)]=this[_0x48d545(0x7f)][_0x48d545(0xa6)][_0x48d545(0xca)](_0x48d545(0xe3)),!this[_0x48d545(0x163)])throw new _0xfede9f(_0x48d545(0x7a),this);const _0x331c7a=_0x3f62fb[_0x48d545(0xa6)][_0x48d545(0xca)](_0x48d545(0x9e))||_0x87949d;this[_0x48d545(0xc0)]=new l[(_0x48d545(0x15f))](_0x331c7a,this[_0x48d545(0x163)]),this[_0x48d545(0x96)]=this[_0x48d545(0x7f)][_0x48d545(0xc4)][_0x48d545(0xdd)],this[_0x48d545(0xc6)]=new _0x34070(),this[_0x48d545(0x142)]=[],this[_0x48d545(0x15c)]=new WeakSet(),this[_0x48d545(0x133)]=new Set(),this[_0x48d545(0xbd)](_0x48d545(0x12b),!0x1),this[_0x48d545(0xbd)](_0x48d545(0x11b),!0x1),this[_0x48d545(0xb4)]=null,this[_0x48d545(0x139)]=!0x1,this[_0x48d545(0x16f)]=null,this[_0x48d545(0x144)]=0x12c,this[_0x48d545(0x151)]=this[_0x48d545(0x144)],this[_0x48d545(0xef)]=null,this[_0x48d545(0xac)]=new WeakSet(),this[_0x48d545(0x120)]=new Q(this[_0x48d545(0xac)]);}[_0x19966c(0x16e)](){const _0xf760da=_0x19966c,_0x513848=this[_0xf760da(0x7f)],_0x4c7695=_0x513848[_0xf760da(0xb1)][_0xf760da(0xca)](_0x2bffcd),_0x482f16=_0x513848[_0xf760da(0xb1)][_0xf760da(0xca)](_0x5e144f);this[_0xf760da(0xab)](_0x4c7695,_0xf760da(0x113),(_0x506703,_0x2a1e84)=>{const _0x480a28=_0xf760da,_0x4c0e74=_0x2a1e84[0x0];_0x4c0e74[_0x480a28(0x70)]&&(_0x506703[_0x480a28(0x77)]=_0x4c7695[_0x480a28(0xa7)](_0x4c0e74[_0x480a28(0x70)]),_0x506703[_0x480a28(0x8b)]()),null===_0x4c0e74[_0x480a28(0x70)]&&(_0x506703[_0x480a28(0x77)]=null,_0x506703[_0x480a28(0x8b)]());},{'priority':_0xf760da(0x101)}),this[_0xf760da(0xab)](_0x513848[_0xf760da(0xc4)][_0xf760da(0xdd)][_0xf760da(0x91)],_0xf760da(0x117),(_0x41f08a,_0x553e78)=>{const _0x8065aa=_0xf760da;_0x553e78[_0x8065aa(0x16b)]&&this[_0x8065aa(0x166)]();}),this[_0xf760da(0xab)](_0x513848[_0xf760da(0x92)][_0xf760da(0x14e)],_0xf760da(0xae),()=>{const _0x7e8b99=_0xf760da;this[_0x7e8b99(0x166)]();}),this[_0xf760da(0x13e)](),_0x513848[_0xf760da(0xc4)]['on'](_0xf760da(0x108),(_0x363bde,_0x262913)=>{const _0x5401db=_0xf760da,_0x5d1f40=_0x262913[0x0];_0x5d1f40[_0x5401db(0x10f)]&&(this[_0x5401db(0x7d)](_0x5d1f40),this[_0x5401db(0x156)]()&&this[_0x5401db(0x73)]());}),this[_0xf760da(0x171)](),this[_0xf760da(0x9b)](_0xf760da(0x149))['to'](_0x482f16,_0xf760da(0x10d),this,_0xf760da(0x11b),(_0x5cdcbf,_0x3b83d1)=>_0xf760da(0xee)===_0x5cdcbf&&!_0x3b83d1),this['on'](_0xf760da(0x7b),()=>{const _0x2f5613=_0xf760da;this[_0x2f5613(0x149)]?_0x513848[_0x2f5613(0xa1)](_0x2f5613(0x13a)):_0x513848[_0x2f5613(0x152)](_0x2f5613(0x13a));}),this[_0xf760da(0x149)]?_0x513848[_0xf760da(0xa1)](_0xf760da(0x13a)):_0x513848[_0xf760da(0x152)](_0xf760da(0x13a)),this[_0xf760da(0xbd)](_0xf760da(0xe7),!0x1);}async[_0x19966c(0xb9)](){const _0x23f60d=_0x19966c,_0x40f9c2=this[_0x23f60d(0x7f)][_0x23f60d(0xb1)][_0x23f60d(0xca)](_0x3c229c),_0x3fd704=this[_0x23f60d(0x7f)][_0x23f60d(0xb1)][_0x23f60d(0xca)](_0x5e144f);try{this[_0x23f60d(0x12b)]=!0x0,_0x40f9c2[_0x23f60d(0x159)](this[_0x23f60d(0x163)]);const _0x1ea12a=await this[_0x23f60d(0xc0)][_0x23f60d(0xb9)](_0x3fd704[_0x23f60d(0xda)],this[_0x23f60d(0xfd)]);await this[_0x23f60d(0x115)](_0x1ea12a)&&(this[_0x23f60d(0x12b)]=!0x1,this[_0x23f60d(0x147)]());const _0x80bd0=await this[_0x23f60d(0xc0)][_0x23f60d(0x16d)]();_0x40f9c2[_0x23f60d(0x15b)](this[_0x23f60d(0x163)],_0x80bd0),this[_0x23f60d(0x15a)](),this[_0x23f60d(0xe7)]=!0x0;}catch(_0x2c69da){if(function(_0x1bc7ae){const _0x5866e2=_0x23f60d;return _0x5866e2(0x118)===_0x1bc7ae[_0x5866e2(0x13f)];}(_0x2c69da)&&this[_0x23f60d(0x153)])await this[_0x23f60d(0xdb)]();else{if(function(_0x1fe049){const _0x981880=_0x23f60d;return _0x981880(0xea)===_0x1fe049[_0x981880(0x13f)];}(_0x2c69da)){const _0x5a133f=_0x5bed32(this[_0x23f60d(0x7f)][_0x23f60d(0x88)],_0x23f60d(0x119));this[_0x23f60d(0x97)](_0x5a133f);}else{if(!(_0x2c69da instanceof K))throw _0x2c69da;this[_0x23f60d(0x97)]();}}}}[_0x19966c(0x99)](){const _0x396615=_0x19966c,_0x3bb0c9=this[_0x396615(0x7f)][_0x396615(0xb1)][_0x396615(0xca)](_0x5e144f),_0x55c8e4=this[_0x396615(0x7f)][_0x396615(0xb1)][_0x396615(0xca)](_0x3c229c);this[_0x396615(0x7f)][_0x396615(0x152)](_0x396615(0xc3)),_0x55c8e4[_0x396615(0x123)][_0x396615(0xc7)](this[_0x396615(0x163)])&&_0x55c8e4[_0x396615(0x159)](this[_0x396615(0x163)]),_0x3bb0c9[_0x396615(0x132)](this),this[_0x396615(0xaa)](),super[_0x396615(0x99)]();}async[_0x19966c(0x115)](_0x37fcc4){const _0x541c90=_0x19966c;if(this[_0x541c90(0x153)]!==_0x37fcc4[_0x541c90(0x153)]&&this[_0x541c90(0xef)]!==_0x37fcc4[_0x541c90(0x15d)])throw new K();return this[_0x541c90(0x153)]=_0x37fcc4[_0x541c90(0x153)],this[_0x541c90(0xf0)]([],{..._0x37fcc4,'wereChangesApplied':!0x1,'data':_0x37fcc4[_0x541c90(0x8d)]},_0x541c90(0xb9));}async[_0x19966c(0xec)](_0x545a8d,_0xd0e9f8=!0x1){const _0xa03430=_0x19966c,{connection:_0x38d949}=this[_0xa03430(0x7f)][_0xa03430(0xb1)][_0xa03430(0xca)](_0x5e144f);l[_0xa03430(0x15f)][_0xa03430(0x16d)](_0x38d949,this[_0xa03430(0x163)])[_0xa03430(0x102)](_0x12e60c=>this[_0xa03430(0x11a)](_0x12e60c))[_0xa03430(0xa3)](_0x5d4e41=>{const _0x29b481=_0xa03430;this[_0x29b481(0xd5)](_0x29b481(0x12e),_0x5d4e41);}),this[_0xa03430(0xab)](this[_0xa03430(0xc0)],_0xa03430(0x145),this[_0xa03430(0x136)][_0xa03430(0x9b)](this)),this[_0xa03430(0xab)](this[_0xa03430(0xc0)],_0xa03430(0x86),(_0x1c9370,_0x443cea)=>{const _0x33443=_0xa03430;this[_0x33443(0xd5)](_0x33443(0xf7),_0x443cea);}),this[_0xa03430(0xab)](this[_0xa03430(0xc0)],_0xa03430(0x111),()=>{const _0x2c2629=_0xa03430;this[_0x2c2629(0xe7)]=!0x1;});const _0x405899=this[_0xa03430(0x120)][_0xa03430(0xb6)](_0x545a8d);this[_0xa03430(0x12b)]=!0x0;const _0x23c8e7=await this[_0xa03430(0xc0)][_0xa03430(0x173)](_0x38d949,this[_0xa03430(0x124)](_0x545a8d),_0x405899);if(this[_0xa03430(0x153)]=_0x23c8e7[_0xa03430(0x153)],_0xd0e9f8){if(!_0x23c8e7[_0xa03430(0x137)])return void this[_0xa03430(0x97)]();this[_0xa03430(0x12b)]=!0x1,this[_0xa03430(0x147)](),this[_0xa03430(0x82)][_0xa03430(0xd0)](),this[_0xa03430(0x6f)]=_0x23c8e7[_0xa03430(0x8e)],this[_0xa03430(0x82)][_0xa03430(0xa8)]=this[_0xa03430(0x6f)],await this[_0xa03430(0xf0)](_0x545a8d,_0x23c8e7,_0xa03430(0xc2));}else await this[_0xa03430(0x140)](_0x23c8e7,_0x545a8d);this[_0xa03430(0x15a)](),this[_0xa03430(0xe7)]=!0x0;}[_0x19966c(0x15a)](){const _0x85e5a0=_0x19966c,_0x196256=this[_0x85e5a0(0x7f)][_0x85e5a0(0xb1)][_0x85e5a0(0xca)](_0x3c229c),_0x2081ca=this[_0x85e5a0(0x7f)][_0x85e5a0(0xb1)][_0x85e5a0(0xca)](_0x11942c),_0x55af21=_0x196256[_0x85e5a0(0x123)][_0x85e5a0(0xca)](this[_0x85e5a0(0x163)]);_0x55af21&&_0x55af21[_0x85e5a0(0xcb)]>0x1?_0x2081ca[_0x85e5a0(0x128)]():this[_0x85e5a0(0xab)](_0x196256,_0x85e5a0(0x7c)+this[_0x85e5a0(0x163)],()=>{const _0xfd354d=_0x85e5a0;0x2===_0x196256[_0xfd354d(0x123)][_0xfd354d(0xca)](this[_0xfd354d(0x163)])[_0xfd354d(0xcb)]&&_0x2081ca[_0xfd354d(0x128)]();});}async[_0x19966c(0x136)](_0x398a66,_0x3ada7d,_0x3ff13a,_0x288b83){const _0x310c3c=_0x19966c;if(!this[_0x310c3c(0x12b)]&&this[_0x310c3c(0x96)][_0x310c3c(0xa8)]==_0x3ada7d){const _0x21512=this[_0x310c3c(0xcf)](_0x3ff13a,_0x288b83);await this[_0x310c3c(0x79)](_0x21512),this[_0x310c3c(0x175)](_0x21512,_0x3ada7d,_0x3ff13a[_0x310c3c(0x15d)])||this[_0x310c3c(0xd5)](_0x310c3c(0x14c));}}async[_0x19966c(0xdb)](){const _0x17be8c=_0x19966c;this[_0x17be8c(0xaa)]();const {locale:_0x304594}=this[_0x17be8c(0x7f)];let _0x31aec8;try{_0x31aec8=await this[_0x17be8c(0xc0)][_0x17be8c(0x112)]();}catch(_0x47eff6){const _0x165798=_0x5bed32(_0x304594,_0x17be8c(0xff));return void this[_0x17be8c(0x97)](_0x165798);}const _0x1a095d=_0x31aec8[_0x17be8c(0xb7)]||_0x31aec8[_0x17be8c(0x76)];if(this[_0x17be8c(0xef)]===_0x1a095d[_0x17be8c(0x15d)])await this[_0x17be8c(0xec)](this[_0x17be8c(0x7f)][_0x17be8c(0xc4)][_0x17be8c(0xdd)][_0x17be8c(0x164)][_0x17be8c(0x122)](),!0x0);else{const _0x49b2b9=_0x5bed32(_0x304594,_0x17be8c(0x150));this[_0x17be8c(0x97)](_0x49b2b9);}}[_0x19966c(0xaa)](){const _0x130e3a=_0x19966c;this[_0x130e3a(0xc0)][_0x130e3a(0xb2)](),this[_0x130e3a(0x142)]=[],clearTimeout(this[_0x130e3a(0x16f)]),this[_0x130e3a(0xc5)](this[_0x130e3a(0xc0)]);}[_0x19966c(0x11a)](_0x594fe7){const _0x187030=_0x19966c,_0x65115d=this[_0x187030(0x7f)][_0x187030(0xb1)][_0x187030(0xca)](_0x3c229c);this[_0x187030(0xab)](_0x65115d,_0x187030(0x7c)+this[_0x187030(0x163)],(_0x1451f9,{session:_0x13cf28})=>{const _0xf4a6c9=_0x187030;if(_0x13cf28['id']===_0x65115d[_0xf4a6c9(0xf9)]){_0x1451f9[_0xf4a6c9(0xba)]();const _0x541492=this[_0xf4a6c9(0x7f)][_0xf4a6c9(0xb1)][_0xf4a6c9(0xc7)](_0xf4a6c9(0x10c))&&this[_0xf4a6c9(0x7f)][_0xf4a6c9(0xb1)][_0xf4a6c9(0xca)](_0xf4a6c9(0x10c));let _0x1215ba=_0x13cf28[_0xf4a6c9(0x87)];_0x541492&&_0x541492[_0xf4a6c9(0xb5)]&&(_0x1215ba=_0x1215ba[_0xf4a6c9(0xd4)](_0x48e479=>_0xf4a6c9(0x126)!==_0x48e479)),this[_0xf4a6c9(0x7f)][_0xf4a6c9(0xb1)][_0xf4a6c9(0xca)](_0xf4a6c9(0xd6))[_0xf4a6c9(0xb8)](_0x1215ba,this[_0xf4a6c9(0x163)]);}}),_0x65115d[_0x187030(0x15b)](this[_0x187030(0x163)],_0x594fe7);}[_0x19966c(0x13e)](){const _0xe3687d=_0x19966c,_0x2d2950=this[_0xe3687d(0x7f)][_0xe3687d(0x8d)][_0xe3687d(0xbd)];this[_0xe3687d(0x7f)][_0xe3687d(0x8d)][_0xe3687d(0xbd)]=(..._0x52d777)=>{const _0x3b795d=_0xe3687d;if(!_0x52d777[_0x52d777[_0x3b795d(0xcb)]-0x1][_0x3b795d(0xed)])throw new _0xfede9f(_0x3b795d(0xe2),this);_0x2d2950[_0x3b795d(0x16a)](this[_0x3b795d(0x7f)][_0x3b795d(0x8d)],_0x52d777);};}[_0x19966c(0x171)](){const _0x910e4=_0x19966c;this[_0x910e4(0x7f)][_0x910e4(0x8d)]['on'](_0x910e4(0x16e),(_0x2a5de6,[_0x43711c])=>{const _0x172d04=_0x910e4;if(this[_0x172d04(0x96)][_0x172d04(0xa8)])throw new _0xfede9f(_0x172d04(0x8f),this);_0x2a5de6[_0x172d04(0x8b)](),this[_0x172d04(0xbe)]();const _0x22615a=this[_0x172d04(0x7f)][_0x172d04(0xa6)][_0x172d04(0xca)](_0x172d04(0x161)),_0xa9ba8=this[_0x172d04(0xbf)](_0x43711c,_0x22615a);0x0==_0xa9ba8[_0x172d04(0xcb)]&&_0xa9ba8[_0x172d04(0x143)](new _0x52d554(0x0)),_0x2a5de6[_0x172d04(0x77)]=this[_0x172d04(0xec)](_0xa9ba8)[_0x172d04(0x102)](()=>{const _0x56fe6d=_0x172d04;this[_0x56fe6d(0x7f)][_0x56fe6d(0xb1)][_0x56fe6d(0xca)](_0x5e144f)[_0x56fe6d(0x110)](this),this[_0x56fe6d(0x7f)][_0x56fe6d(0x8d)][_0x56fe6d(0x154)](_0x56fe6d(0x89));})[_0x172d04(0xa3)](_0x58e6e3=>this[_0x172d04(0xd5)](_0x172d04(0x14f),_0x58e6e3))[_0x172d04(0x157)](()=>this[_0x172d04(0x147)]());},{'priority':_0x910e4(0x101)}),this[_0x910e4(0x7f)]['on'](_0x910e4(0x176),async(_0x4614f2,[_0x758b4,_0x25a95b])=>{const _0x327d1e=_0x910e4;_0x4614f2[_0x327d1e(0x8b)]();const _0x12c828=this[_0x327d1e(0x7f)][_0x327d1e(0xc4)][_0x327d1e(0xdd)][_0x327d1e(0x11d)](_0x758b4);if(!this[_0x327d1e(0x133)][_0x327d1e(0xc7)](_0x758b4)){const _0xc2f9a1=_0x25a95b&&_0x25a95b[_0x327d1e(0x8d)]?_0x25a95b[_0x327d1e(0x8d)]:'',_0x3aacc4=_0x25a95b&&_0x25a95b[_0x327d1e(0x105)]?_0x25a95b[_0x327d1e(0x105)]:{};await this[_0x327d1e(0xf6)](_0x758b4,_0xc2f9a1,_0x3aacc4);}this[_0x327d1e(0x7f)][_0x327d1e(0xc4)][_0x327d1e(0x107)]({'isUndoable':!0x1},()=>{const _0x30a061=_0x327d1e;_0x12c828[_0x30a061(0xce)]=!0x0,this[_0x30a061(0x7f)][_0x30a061(0xc4)][_0x30a061(0xdd)][_0x30a061(0xa0)][_0x30a061(0xe6)](_0x12c828);});},{'priority':_0x910e4(0x101)});}async[_0x19966c(0x79)](_0x434482){const _0x211ee7=_0x19966c,_0x1b8764=this[_0x211ee7(0x7f)][_0x211ee7(0xb1)][_0x211ee7(0xca)](_0x2bffcd),{connection:_0x1bf1ce}=this[_0x211ee7(0x7f)][_0x211ee7(0xb1)][_0x211ee7(0xca)](_0x5e144f),_0x1cbacc=new Set();for(const _0x42010f of _0x434482){const _0x5b154b=_0x42010f[_0x211ee7(0x70)];_0x5b154b&&!_0x1b8764[_0x211ee7(0xa7)](_0x5b154b)&&_0x1cbacc[_0x211ee7(0x14b)](_0x5b154b);}if(0x0===_0x1cbacc[_0x211ee7(0xe4)])return;const _0x2745c7=await _0x30c41f[_0x211ee7(0x104)](_0x1bf1ce,Array[_0x211ee7(0x74)](_0x1cbacc));for(const _0x350568 of _0x2745c7)_0x1b8764[_0x211ee7(0xa7)](_0x350568['id'])||_0x1b8764[_0x211ee7(0xdf)](_0x350568);}[_0x19966c(0xbf)](_0x348543,_0x5f19bd={}){const _0x41cb25=_0x19966c,_0x53cabf=this[_0x41cb25(0x7f)][_0x41cb25(0xc4)],_0x2936b7=[];let _0xf2cec=0x0;const _0x4f6061=_0x41cb25(0x131)==typeof _0x348543?{'main':_0x348543}:_0x348543;for(const _0x23387c of Object[_0x41cb25(0xde)](_0x4f6061)){if(!this[_0x41cb25(0x96)][_0x41cb25(0x146)][_0x41cb25(0xc7)](_0x23387c))throw new _0xfede9f(_0x41cb25(0x12c),this);const _0x2e42b6=this[_0x41cb25(0x7f)][_0x41cb25(0x8d)][_0x41cb25(0xf3)](_0x4f6061[_0x23387c]),_0x42dbb4=this[_0x41cb25(0x96)][_0x41cb25(0x11d)](_0x23387c),_0x343e1c=new _0x5e1520(_0x53cabf[_0x41cb25(0xbc)](_0x42dbb4,0x0),_0x2e42b6,_0xf2cec++);_0x2936b7[_0x41cb25(0x143)](_0x343e1c);for(const [_0x5da34f,_0x523f53]of _0x2e42b6[_0x41cb25(0x81)]){const _0x4aeab4=_0x53cabf[_0x41cb25(0xf5)](_0x53cabf[_0x41cb25(0xad)](_0x42dbb4,_0x523f53[_0x41cb25(0x134)][_0x41cb25(0xd8)][_0x41cb25(0xe0)]()),_0x53cabf[_0x41cb25(0xad)](_0x42dbb4,_0x523f53[_0x41cb25(0x9a)][_0x41cb25(0xd8)][_0x41cb25(0xe0)]())),_0x45a6df=new _0x25e891(_0x5da34f,null,_0x4aeab4,_0x53cabf[_0x41cb25(0x81)],!0x0,_0xf2cec++);_0x2936b7[_0x41cb25(0x143)](_0x45a6df);}}if(_0x5f19bd)for(const [_0x3993fa,_0xe2f04f]of Object[_0x41cb25(0x158)](_0x5f19bd)){const _0x5d79ed=_0x53cabf[_0x41cb25(0xdd)][_0x41cb25(0x11d)](_0x3993fa);if(!_0x5d79ed)throw new _0xfede9f(_0x41cb25(0x78),null);for(const [_0x38de7c,_0x400042]of Object[_0x41cb25(0x158)](_0xe2f04f))if(null!==_0x400042){const _0x550a5c=new _0x167739(_0x5d79ed,_0x38de7c,null,_0x400042,_0xf2cec++);_0x2936b7[_0x41cb25(0x143)](_0x550a5c);}}return _0x2936b7;}async[_0x19966c(0xf6)](_0x12ff29,_0x3e7803,_0x41d992){const _0x213830=_0x19966c;this[_0x213830(0xbf)]({[_0x12ff29]:_0x3e7803},{[_0x12ff29]:_0x41d992})[_0x213830(0x75)]((_0x2338b8,_0x5a59b8)=>{const _0x502dd7=_0x213830;_0x2338b8[_0x502dd7(0x109)]=this[_0x502dd7(0x96)][_0x502dd7(0xa8)]+_0x5a59b8,_0x2338b8[_0x502dd7(0x135)]=!0x0,this[_0x502dd7(0x7d)](_0x2338b8);}),this[_0x213830(0x73)](),await this[_0x213830(0xdc)]();}async[_0x19966c(0x140)](_0x5e005f,_0x3713f9){const _0x4de047=_0x19966c;let _0x395f81;this[_0x4de047(0x6f)]=_0x5e005f[_0x4de047(0x8e)];const _0x4470d8=_0x5e005f[_0x4de047(0x137)]&&!_0x5e005f[_0x4de047(0x138)],_0x14be75=_0x4470d8?0x0:_0x5e005f[_0x4de047(0x8d)][_0x4de047(0x109)];if(_0x3713f9[_0x4de047(0x75)](_0x2f6d0f=>{const _0x4c27a8=_0x4de047;_0x2f6d0f[_0x4c27a8(0x135)]=!0x0,_0x2f6d0f[_0x4c27a8(0x130)]=_0x5e005f[_0x4c27a8(0xcc)],_0x2f6d0f[_0x4c27a8(0x70)]=null;}),_0x4470d8)_0x395f81=_0x3713f9,this[_0x4de047(0xbb)](_0x395f81,_0x4470d8);else{if(_0x5e005f[_0x4de047(0x138)]){const _0x57d26c=this[_0x4de047(0xbf)](_0x5e005f[_0x4de047(0x138)]);this[_0x4de047(0x96)][_0x4de047(0x164)][_0x4de047(0xa8)]=-_0x57d26c[_0x4de047(0xcb)],_0x57d26c[_0x4de047(0x75)](_0xb23b10=>{const _0x292f95=_0x4de047;_0xb23b10[_0x292f95(0x109)]-=_0x57d26c[_0x292f95(0xcb)],_0xb23b10[_0x292f95(0x130)]=_0x5e005f[_0x292f95(0xcc)],_0xb23b10[_0x292f95(0x135)]=!0x0,_0xb23b10[_0x292f95(0x70)]=null;}),this[_0x4de047(0xbb)](_0x57d26c,!0x0),this[_0x4de047(0x82)][_0x4de047(0xa8)]=-_0x57d26c[_0x4de047(0xcb)]+this[_0x4de047(0x6f)],this[_0x4de047(0xf1)](_0x57d26c);}this[_0x4de047(0x96)][_0x4de047(0x164)][_0x4de047(0xa8)]=_0x14be75,_0x395f81=this[_0x4de047(0xcf)](_0x5e005f[_0x4de047(0x8d)],_0x5e005f[_0x4de047(0x8a)]),await this[_0x4de047(0x79)](_0x395f81),this[_0x4de047(0xbb)](_0x395f81,_0x4470d8);}_0x5e005f[_0x4de047(0x15d)]&&(this[_0x4de047(0x120)][_0x4de047(0x83)](_0x395f81,_0x5e005f[_0x4de047(0x15d)]),this[_0x4de047(0xef)]=_0x5e005f[_0x4de047(0x15d)]),this[_0x4de047(0x82)][_0x4de047(0xa8)]=_0x14be75+this[_0x4de047(0x6f)],this[_0x4de047(0xf1)](_0x395f81),_0x3713f9[_0x4de047(0xd4)](_0x2b3eb6=>{const _0x222be7=_0x4de047,_0x36c7f2=this[_0x222be7(0x106)](_0x2b3eb6);return _0x36c7f2&&!this[_0x222be7(0x133)][_0x222be7(0xc7)](_0x36c7f2);})[_0x4de047(0x75)]((_0xae7ae9,_0x4e1c13)=>{const _0x24d435=_0x4de047;_0xae7ae9[_0x24d435(0x109)]=this[_0x24d435(0x96)][_0x24d435(0xa8)]+_0x4e1c13,this[_0x24d435(0x7d)](_0xae7ae9);}),this[_0x4de047(0x156)]()?(this[_0x4de047(0x151)]=0x0,this[_0x4de047(0x73)](!0x0),await this[_0x4de047(0xdc)]()):(this[_0x4de047(0x12b)]=!0x1,this[_0x4de047(0x147)]());}[_0x19966c(0xd5)](_0x3b5d47,_0xa788e9,_0x43a57e){const _0x2bb632=_0x19966c;throw this[_0x2bb632(0x12b)]=!0x0,_0xa788e9&&console[_0x2bb632(0x86)](_0xa788e9),_0x43a57e&&this[_0x2bb632(0x7f)][_0x2bb632(0x152)](_0x2bb632(0x172)),new _0xfede9f(_0x3b5d47,this[_0x2bb632(0x7f)]);}[_0x19966c(0x7d)](_0x1aa959){const _0x24a141=_0x19966c;this[_0x24a141(0x15c)][_0x24a141(0xc7)](_0x1aa959)||(this[_0x24a141(0x15c)][_0x24a141(0x14b)](_0x1aa959),this[_0x24a141(0x142)][_0x24a141(0x143)](_0x1aa959),this[_0x24a141(0xb4)]||_0x24a141(0x148)==_0x1aa959[_0x24a141(0x116)]&&!_0x1aa959[_0x24a141(0xe5)]||this[_0x24a141(0xbe)]());}[_0x19966c(0x73)](_0x4caaae=!0x1){const _0x489797=_0x19966c;!_0x4caaae&&this[_0x489797(0x12b)]||(this[_0x489797(0x12b)]=!0x0,clearTimeout(this[_0x489797(0x16f)]),this[_0x489797(0x16f)]=setTimeout(()=>{const _0xf43a9e=_0x489797;this[_0xf43a9e(0xc9)]()[_0xf43a9e(0x102)](_0x1c6afd=>{const _0x3beee3=_0xf43a9e;_0x1c6afd&&(this[_0x3beee3(0x147)](),this[_0x3beee3(0x12b)]=!0x1);})[_0xf43a9e(0xa3)](_0x33383c=>{const _0x4fa3fd=_0xf43a9e;this[_0x4fa3fd(0x147)](),this[_0x4fa3fd(0x12b)]=!0x1,function(_0x48fd87){const _0x392c02=_0x4fa3fd;return _0x48fd87[_0x392c02(0xf4)][_0x392c02(0xf8)](_0x392c02(0x10e))||_0x48fd87[_0x392c02(0xf4)][_0x392c02(0xf8)](_0x392c02(0x100))||_0x48fd87[_0x392c02(0xf4)][_0x392c02(0xf8)](_0x392c02(0xd7));}(_0x33383c)||this[_0x4fa3fd(0xd5)](_0x33383c[_0x4fa3fd(0xf4)],_0x33383c,!0x0);});},this[_0x489797(0x151)]));}[_0x19966c(0xdc)](){return new Promise(_0x93337c=>{const _0x4429d6=_0x33f2;this['on'](_0x4429d6(0xd2),()=>{_0x93337c();});});}async[_0x19966c(0xc9)](){const _0x4429f5=_0x19966c,_0x174410=this[_0x4429f5(0x7f)][_0x4429f5(0xb1)][_0x4429f5(0xca)](_0x11942c);if(this[_0x4429f5(0x11e)]()&&(_0x174410[_0x4429f5(0x128)](),this[_0x4429f5(0x139)]=!0x1),!this[_0x4429f5(0x156)]())return!0x0;const _0x2e4129=[...this[_0x4429f5(0x142)]];for(const _0x28e4 of _0x2e4129)_0x28e4[_0x4429f5(0x160)]=this[_0x4429f5(0x96)][_0x4429f5(0x164)][_0x4429f5(0x90)](_0x28e4);const _0x31766e=this[_0x4429f5(0x120)][_0x4429f5(0xb6)](_0x2e4129),_0x2b3cf4=$++,_0x525c7d=this[_0x4429f5(0x124)](_0x2e4129),_0x3aae8b=await this[_0x4429f5(0xc0)][_0x4429f5(0xaf)](_0x525c7d,_0x525c7d[_0x4429f5(0x109)],_0x31766e);try{return await this[_0x4429f5(0xf0)](_0x2e4129,_0x3aae8b,_0x2b3cf4);}catch(_0x52cb39){return this[_0x4429f5(0xd5)](_0x4429f5(0x114),_0x52cb39);}}async[_0x19966c(0xf0)](_0x2a4545,_0x41458f,_0x12ce29){const _0x2f0187=_0x19966c;if(_0x2f0187(0x86)in _0x41458f)throw _0x41458f[_0x2f0187(0x86)];let _0x3c975f=!0x1;if(_0x41458f[_0x2f0187(0x137)]){_0x41458f[_0x2f0187(0x15d)]&&(this[_0x2f0187(0xef)]=_0x41458f[_0x2f0187(0x15d)]),this[_0x2f0187(0x142)]=this[_0x2f0187(0x142)][_0x2f0187(0xd4)](_0x2962d8=>!_0x2a4545[_0x2f0187(0xd9)](_0x2962d8));for(const _0x5ea848 of _0x2a4545)_0x5ea848[_0x2f0187(0x130)]=_0x2f0187(0xc1)in _0x41458f&&_0x41458f[_0x2f0187(0xc1)]||void 0x0;J(_0x2a4545,_0x41458f[_0x2f0187(0xa8)]-_0x2a4545[_0x2f0187(0xcb)]),this[_0x2f0187(0xf1)](_0x2a4545);const _0x70adcf=_0x2a4545[_0x2f0187(0xd4)](_0x58c315=>{const _0x8e00f9=_0x2f0187;if(!_0x58c315[_0x8e00f9(0x135)])return!0x1;const _0x113239=this[_0x8e00f9(0x106)](_0x58c315);return _0x113239&&!this[_0x8e00f9(0x133)][_0x8e00f9(0xc7)](_0x113239);});J(_0x70adcf,this[_0x2f0187(0x96)][_0x2f0187(0xa8)]),this[_0x2f0187(0xbb)](_0x70adcf),_0x3c975f=!0x0,this[_0x2f0187(0x151)]=this[_0x2f0187(0x144)];}else{const _0x4dceb4=this[_0x2f0187(0xcf)](_0x41458f[_0x2f0187(0x8d)],_0x41458f[_0x2f0187(0x8a)])[_0x2f0187(0xd4)](_0x3def9c=>_0x3def9c[_0x2f0187(0x109)]>=this[_0x2f0187(0x94)]);_0x4dceb4[_0x2f0187(0x75)](_0x24bf32=>this[_0x2f0187(0xe8)](_0x24bf32)),this[_0x2f0187(0x142)]=this[_0x2f0187(0x142)][_0x2f0187(0xd4)](_0x27cdcb=>!_0x27cdcb[_0x2f0187(0x135)]||!this[_0x2f0187(0x133)][_0x2f0187(0xc7)](this[_0x2f0187(0x106)](_0x27cdcb))),this[_0x2f0187(0x142)][_0x2f0187(0xcb)]&&J(this[_0x2f0187(0x142)],this[_0x2f0187(0x142)][0x0][_0x2f0187(0x109)]),await this[_0x2f0187(0x79)](_0x4dceb4),_0x3c975f=this[_0x2f0187(0x175)](_0x4dceb4,_0x41458f[_0x2f0187(0xa8)],_0x41458f[_0x2f0187(0x15d)]),this[_0x2f0187(0x151)]=Math[_0x2f0187(0xd1)](this[_0x2f0187(0x151)]/0x2);}return _0x3c975f?!this[_0x2f0187(0x156)]()||(this[_0x2f0187(0x73)](!0x0),!0x1):this[_0x2f0187(0xd5)](_0x2f0187(0x98));}[_0x19966c(0x175)](_0x25dc59,_0x541c11,_0xd2fdde){const _0x1ee7ff=_0x19966c;try{const _0x8e835={'document':this[_0x1ee7ff(0x96)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2c2a88,operationsB:_0x33a9db,originalOperations:_0x362e4c}=_0x261eec(_0x25dc59,this[_0x1ee7ff(0x142)],_0x8e835);J(_0x2c2a88,this[_0x1ee7ff(0x96)][_0x1ee7ff(0xa8)]),J(_0x33a9db,_0x541c11);for(const _0x1ab07d of _0x2c2a88){const _0x275d37=_0x362e4c[_0x1ee7ff(0xca)](_0x1ab07d);_0x1ab07d[_0x1ee7ff(0x70)]=_0x275d37?_0x275d37[_0x1ee7ff(0x70)]:null;}_0xd2fdde&&(this[_0x1ee7ff(0x120)][_0x1ee7ff(0x83)](_0x25dc59,_0xd2fdde),this[_0x1ee7ff(0xef)]=_0xd2fdde),this[_0x1ee7ff(0x142)]=[..._0x33a9db],this[_0x1ee7ff(0xbb)](_0x2c2a88),this[_0x1ee7ff(0xf1)](_0x25dc59);}catch(_0x45ef4e){return console[_0x1ee7ff(0x86)](_0x45ef4e),!0x1;}return!0x0;}[_0x19966c(0xbb)](_0x7d71fd,_0x2cf157=!0x1){const _0x35376a=_0x19966c;this[_0x35376a(0x7f)][_0x35376a(0xc4)][_0x35376a(0x107)]({'isUndoable':!0x1,'isLocal':!0x1},_0x34d042=>{const _0x5cce0e=_0x35376a;for(const _0x2b81a7 of _0x7d71fd)this[_0x5cce0e(0x15c)][_0x5cce0e(0x14b)](_0x2b81a7),this[_0x5cce0e(0xe8)](_0x2b81a7),_0x34d042[_0x5cce0e(0x14a)][_0x5cce0e(0x121)](_0x2b81a7),this[_0x5cce0e(0x7f)][_0x5cce0e(0xc4)][_0x5cce0e(0x108)](_0x2b81a7);});}[_0x19966c(0xe8)](_0x5c9f6e){const _0x86a9af=_0x19966c,_0x299024=this[_0x86a9af(0x106)](_0x5c9f6e);_0x299024&&this[_0x86a9af(0x133)][_0x86a9af(0x14b)](_0x299024);}[_0x19966c(0x106)](_0x100a75){const _0x6035b=_0x19966c;let _0x34b389,_0x5764;switch(_0x100a75[_0x6035b(0x116)]){case _0x6035b(0x9d):_0x34b389=_0x100a75[_0x6035b(0xa5)][_0x6035b(0x127)];break;case _0x6035b(0x148):if(_0x5764=_0x100a75[_0x6035b(0x93)],!_0x5764)return null;_0x34b389=_0x5764[_0x6035b(0x127)];break;case _0x6035b(0xb3):_0x34b389=_0x100a75[_0x6035b(0x127)];break;case _0x6035b(0xfc):_0x34b389=_0x100a75[_0x6035b(0x72)];break;case _0x6035b(0x12d):_0x34b389=_0x100a75[_0x6035b(0x11c)][_0x6035b(0x127)];break;default:return null;}return _0x34b389[_0x6035b(0x12f)];}[_0x19966c(0xf1)](_0x248adb){const _0x453d38=_0x19966c;_0x248adb[_0x453d38(0x75)](_0x2608b5=>{const _0x532a03=_0x453d38,_0x1e822d=_0x2608b5[_0x532a03(0x9f)]();_0x1e822d[_0x532a03(0x70)]=_0x2608b5[_0x532a03(0x70)],_0x1e822d[_0x532a03(0x135)]=!!_0x2608b5[_0x532a03(0x135)],_0x1e822d[_0x532a03(0x130)]=_0x2608b5[_0x532a03(0x130)],_0x1e822d[_0x532a03(0x109)]+=this[_0x532a03(0x6f)],_0x2608b5[_0x532a03(0xf2)]&&this[_0x532a03(0xac)][_0x532a03(0x14b)](_0x1e822d),this[_0x532a03(0x82)][_0x532a03(0x121)](_0x1e822d);});}[_0x19966c(0x97)](_0x521185){const _0x17e0f5=_0x19966c,_0x540873=this[_0x17e0f5(0x7f)][_0x17e0f5(0xb1)][_0x17e0f5(0xca)](_0x17e0f5(0x9c)),_0x3fc74e=this[_0x17e0f5(0x7f)][_0x17e0f5(0x88)];_0x521185||(_0x521185=_0x5bed32(_0x3fc74e,_0x17e0f5(0xb0))),_0x540873[_0x17e0f5(0x12a)](_0x521185,{'title':_0x5bed32(_0x3fc74e,_0x17e0f5(0x85)),'namespace':_0x17e0f5(0x141)}),this[_0x17e0f5(0x11b)]=!0x0,clearTimeout(this[_0x17e0f5(0x16f)]),this[_0x17e0f5(0x142)]=[],this[_0x17e0f5(0x7f)][_0x17e0f5(0xb1)][_0x17e0f5(0xca)](_0x5e144f)[_0x17e0f5(0x99)]();}[_0x19966c(0xbe)](){const _0x5a8906=_0x19966c;this[_0x5a8906(0xb4)]||(this[_0x5a8906(0xb4)]=this[_0x5a8906(0x7f)][_0x5a8906(0xb1)][_0x5a8906(0xca)](_0x46f84f)[_0x5a8906(0x14b)](_0x5bed32(this[_0x5a8906(0x7f)][_0x5a8906(0x88)],_0x5a8906(0x10b))));}[_0x19966c(0x147)](){const _0x1da788=_0x19966c;this[_0x1da788(0xb4)]&&(this[_0x1da788(0x7f)][_0x1da788(0xb1)][_0x1da788(0xca)](_0x46f84f)[_0x1da788(0x10a)](this[_0x1da788(0xb4)]),this[_0x1da788(0xb4)]=null);}[_0x19966c(0x124)](_0x41996d){const _0x48c853=_0x19966c,_0x426f5a=_0x41996d[_0x48c853(0xa2)](_0xf5718e=>_0xf5718e[_0x48c853(0xfa)]());return this[_0x48c853(0xc6)][_0x48c853(0x129)](_0x426f5a);}[_0x19966c(0xcf)](_0x16e18f,_0x4b6327){const _0x41e397=_0x19966c;return this[_0x41e397(0xc6)][_0x41e397(0x80)](_0x16e18f)[_0x41e397(0xa2)]((_0x56c71a,_0x2dd826)=>{const _0x32709e=_0x41e397,_0x123ead=_0x32709e(0x16e)==_0x4b6327[_0x2dd826][_0x32709e(0x116)];if(_0x32709e(0xe9)==_0x56c71a[_0x32709e(0x13d)]){const _0x2fd429=_0x56c71a[_0x32709e(0xa5)][_0x32709e(0x127)];!this[_0x32709e(0x96)][_0x32709e(0x11d)](_0x2fd429)&&(this[_0x32709e(0x96)][_0x32709e(0x13c)](_0x32709e(0x103),_0x2fd429)[_0x32709e(0x15e)]=!0x1);}const _0x26994f=_0x1cccee[_0x32709e(0xfb)](_0x56c71a,this[_0x32709e(0x96)]);return _0x26994f[_0x32709e(0x160)]=_0x56c71a[_0x32709e(0x160)],_0x26994f[_0x32709e(0x135)]=_0x123ead,_0x26994f[_0x32709e(0x70)]=_0x123ead?null:_0x4b6327[_0x2dd826][_0x32709e(0x169)],_0x26994f[_0x32709e(0xf2)]=_0x32709e(0xcd)===_0x4b6327[_0x2dd826][_0x32709e(0x116)],_0x26994f[_0x32709e(0x130)]=_0x4b6327[_0x2dd826][_0x32709e(0x130)],_0x26994f;});}[_0x19966c(0x166)](){const _0x5651e8=_0x19966c;this[_0x5651e8(0x139)]=!0x0,this[_0x5651e8(0x11e)]()?this[_0x5651e8(0x73)]():this[_0x5651e8(0x139)]=!0x1;}[_0x19966c(0x11e)](){const _0x55a0f1=_0x19966c,_0x3f4948=this[_0x55a0f1(0x7f)][_0x55a0f1(0xb1)][_0x55a0f1(0xca)](_0x3c229c)[_0x55a0f1(0x123)][_0x55a0f1(0xca)](this[_0x55a0f1(0x163)]);return!this[_0x55a0f1(0x7f)][_0x55a0f1(0xa4)]&&!!_0x3f4948&&_0x3f4948[_0x55a0f1(0xcb)]>0x1&&this[_0x55a0f1(0x139)];}[_0x19966c(0x156)](){const _0x3f04d9=_0x19966c;return this[_0x3f04d9(0x142)][_0x3f04d9(0xcb)]>0x0||this[_0x3f04d9(0x11e)]();}}l[_0x19966c(0x15f)]=_0xb3bc4a;export default l;function _0x33f2(_0x133521,_0x5d987e){const _0xdc25fc=_0xdc25();return _0x33f2=function(_0x33f213,_0x17f4f9){_0x33f213=_0x33f213-0x6f;let _0x13e5fd=_0xdc25fc[_0x33f213];return _0x13e5fd;},_0x33f2(_0x133521,_0x5d987e);}class K extends Error{}function J(_0xf2e802,_0x5ce977){const _0x47e9ee=_0x19966c;for(const _0x10f7dc of _0xf2e802)_0x10f7dc[_0x47e9ee(0x109)]=_0x5ce977++;}class Q{constructor(_0x1ac45f){const _0x170a48=_0x19966c;this[_0x170a48(0x167)]=_0x1ac45f,this[_0x170a48(0x16c)]=new WeakMap();}[_0x19966c(0xb6)](_0x3de721){const _0x2da175=_0x19966c;let _0x4f783f=_0x3de721[_0x2da175(0xcb)];for(;_0x4f783f--;){const _0xb9d04f=_0x3de721[_0x4f783f];if(!this[_0x2da175(0x167)][_0x2da175(0xc7)](_0xb9d04f)){if(!this[_0x2da175(0x16c)][_0x2da175(0xc7)](_0xb9d04f)){const _0x2593fb=_0x588989()[_0x2da175(0xe0)](0x1,0x12);this[_0x2da175(0x16c)][_0x2da175(0xbd)](_0xb9d04f,_0x2593fb);}return this[_0x2da175(0x16c)][_0x2da175(0xca)](_0xb9d04f);}}}[_0x19966c(0x83)](_0x47a874,_0x42501b){const _0x3cac7e=_0x19966c;if(!_0x42501b)return;let _0x155a46=_0x47a874[_0x3cac7e(0xcb)];for(;_0x155a46--;){const _0x1d176f=_0x47a874[_0x155a46];this[_0x3cac7e(0x167)][_0x3cac7e(0xc7)](_0x1d176f)||this[_0x3cac7e(0x16c)][_0x3cac7e(0xbd)](_0x1d176f,_0x42501b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xb69fb9=_0x5118;(function(_0x14ae61,_0xb84df3){const _0x19058b=_0x5118,_0x1470fc=_0x14ae61();while(!![]){try{const _0x216220=-parseInt(_0x19058b(0x9f))/0x1+parseInt(_0x19058b(0xa4))/0x2+parseInt(_0x19058b(0x90))/0x3*(parseInt(_0x19058b(0xc1))/0x4)+-parseInt(_0x19058b(0xaf))/0x5*(-parseInt(_0x19058b(0xa0))/0x6)+-parseInt(_0x19058b(0xb2))/0x7*(parseInt(_0x19058b(0xc2))/0x8)+-parseInt(_0x19058b(0x8c))/0x9*(-parseInt(_0x19058b(0xa1))/0xa)+-parseInt(_0x19058b(0xbd))/0xb*(-parseInt(_0x19058b(0x87))/0xc);if(_0x216220===_0xb84df3)break;else _0x1470fc['push'](_0x1470fc['shift']());}catch(_0x528b22){_0x1470fc['push'](_0x1470fc['shift']());}}}(_0x40e7,0xa3c01));import{ContextPlugin as _0x99479c}from'ckeditor5/src/core.js';import{Collection as _0x14b19a,CKEditorError as _0x3ddf94}from'ckeditor5/src/utils.js';import _0x35bb45 from'./websocketgateway.js';import{Users as _0x3669b4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5118(_0x92ea75,_0x377dec){const _0x40e7cd=_0x40e7();return _0x5118=function(_0x511853,_0x341a51){_0x511853=_0x511853-0x87;let _0x81d1d4=_0x40e7cd[_0x511853];return _0x81d1d4;},_0x5118(_0x92ea75,_0x377dec);}export default class i extends _0x99479c{static get[_0xb69fb9(0x96)](){const _0x4a1dd3=_0xb69fb9;return _0x4a1dd3(0xb1);}static get[_0xb69fb9(0x9e)](){return!0x0;}static get[_0xb69fb9(0xb0)](){return!0x0;}static get[_0xb69fb9(0xb6)](){return[_0x35bb45,_0x3669b4];}constructor(_0x433d67){const _0x49fe0b=_0xb69fb9;super(_0x433d67),this[_0x49fe0b(0xac)]=new Map(),this[_0x49fe0b(0xb7)]=new Map(),this[_0x49fe0b(0x98)]=new _0x14b19a(),this[_0x49fe0b(0x8b)]=new Map(),this[_0x49fe0b(0xb3)]=0x0,this[_0x49fe0b(0x8d)]=this[_0x49fe0b(0xa7)][_0x49fe0b(0xae)][_0x49fe0b(0xb8)](_0x3669b4);}[_0xb69fb9(0x99)](){const _0x533ea2=_0xb69fb9,_0x56c6f8=this[_0x533ea2(0xa7)][_0x533ea2(0xae)][_0x533ea2(0xb8)](_0x35bb45);this[_0x533ea2(0x8e)](_0x56c6f8,_0x533ea2(0xaa),(_0x9c25e7,_0x3eec1f,_0x33f12b)=>{const _0x3fbc7b=_0x533ea2;if(_0x3fbc7b(0xc5)!==_0x33f12b)this[_0x3fbc7b(0xac)][_0x3fbc7b(0xa5)](_0x22e8cd=>_0x22e8cd[_0x3fbc7b(0x9b)]()),this[_0x3fbc7b(0xb7)][_0x3fbc7b(0xa5)](_0x5095bd=>_0x5095bd[_0x3fbc7b(0x9b)]()),this[_0x3fbc7b(0x98)][_0x3fbc7b(0x9b)]();else{for(const [_0x3e74ef,_0x29e603]of this[_0x3fbc7b(0x8b)])for(const _0x2be068 of _0x29e603)this[_0x3fbc7b(0xbf)](_0x3e74ef,_0x2be068);}}),this[_0x533ea2(0xb9)](_0x56c6f8[_0x533ea2(0xc3)]['me'],!0x0);}[_0xb69fb9(0xc6)](_0x3d0b40,_0x3483a2){const _0x27fb25=_0xb69fb9;if(this[_0x27fb25(0x8b)][_0x27fb25(0xbe)](_0x3d0b40))throw new _0x3ddf94(_0x27fb25(0x8a),null,{'channelId':_0x3d0b40});this[_0x27fb25(0x8b)][_0x27fb25(0x9a)](_0x3d0b40,_0x3483a2),this[_0x27fb25(0xac)][_0x27fb25(0x9a)](_0x3d0b40,new _0x14b19a()),this[_0x27fb25(0xb7)][_0x27fb25(0x9a)](_0x3d0b40,new _0x14b19a()),this[_0x27fb25(0x8e)](_0x3483a2,_0x27fb25(0xc4),(_0x1c7ab7,_0x46bfec)=>this[_0x27fb25(0xbf)](_0x3d0b40,_0x46bfec)),this[_0x27fb25(0x8e)](_0x3483a2,_0x27fb25(0x9d),(_0x3e5a22,_0x6664bc)=>this[_0x27fb25(0x95)](_0x3d0b40,_0x6664bc));for(const _0x45731f of _0x3483a2)this[_0x27fb25(0xbf)](_0x3d0b40,_0x45731f);}[_0xb69fb9(0xab)](_0x439521){const _0xe1ecf2=_0xb69fb9;if(!this[_0xe1ecf2(0x8b)][_0xe1ecf2(0xbe)](_0x439521))throw new _0x3ddf94(_0xe1ecf2(0x93),null,{'channelId':_0x439521});const _0xb6e646=this[_0xe1ecf2(0x8b)][_0xe1ecf2(0xb8)](_0x439521);this[_0xe1ecf2(0x91)](_0xb6e646);for(const _0x119c2c of _0xb6e646)_0xe1ecf2(0xc5)===this[_0xe1ecf2(0xa7)][_0xe1ecf2(0xae)][_0xe1ecf2(0xb8)](_0x35bb45)[_0xe1ecf2(0x92)]&&this[_0xe1ecf2(0x95)](_0x439521,_0x119c2c);this[_0xe1ecf2(0x8b)][_0xe1ecf2(0x88)](_0x439521),this[_0xe1ecf2(0xac)][_0xe1ecf2(0x88)](_0x439521),this[_0xe1ecf2(0xb7)][_0xe1ecf2(0x88)](_0x439521);}get[_0xb69fb9(0x89)](){const _0x2715d2=_0xb69fb9;return this[_0x2715d2(0xa7)][_0x2715d2(0xae)][_0x2715d2(0xb8)](_0x35bb45)[_0x2715d2(0xc3)][_0x2715d2(0xa3)];}[_0xb69fb9(0x97)](_0xef831b){const _0xbb492=_0xb69fb9;for(const _0x560ca0 of this[_0xbb492(0xac)][_0xbb492(0xba)]())for(const _0x398abb of _0x560ca0)if(_0x398abb['id']===_0xef831b)return _0x398abb[_0xbb492(0xa9)];}[_0xb69fb9(0xad)](_0x4424a1,_0x3ab51b){const _0x172aa4=_0xb69fb9,_0xaf9ddc=_0x3ab51b?[this[_0x172aa4(0xac)][_0x172aa4(0xb8)](_0x3ab51b)]:this[_0x172aa4(0xac)][_0x172aa4(0xba)](),_0x20916d=new Set();for(const _0x2b9632 of _0xaf9ddc)for(const _0x7db7a0 of _0x2b9632)_0x7db7a0[_0x172aa4(0xa9)]['id']===_0x4424a1['id']&&_0x20916d[_0x172aa4(0xc4)](_0x7db7a0['id']);return _0x20916d;}[_0xb69fb9(0x94)](_0x28cb17){const _0x3315ef=_0xb69fb9;for(const _0x49d250 of this[_0x3315ef(0xac)][_0x3315ef(0xba)]())for(const _0x6350b1 of _0x49d250)if(_0x6350b1[_0x3315ef(0xa9)]===_0x28cb17)return _0x6350b1[_0x3315ef(0x8f)];}[_0xb69fb9(0xbf)](_0x38c4f7,_0x18746c){const _0x273abd=_0xb69fb9;if(_0x273abd(0xc5)!==this[_0x273abd(0xa7)][_0x273abd(0xae)][_0x273abd(0xb8)](_0x35bb45)[_0x273abd(0x92)])return;const _0x2e0d58=_0x18746c[_0x273abd(0xa9)],_0x118a2a=this[_0x273abd(0x8d)][_0x273abd(0xbc)](_0x2e0d58['id'])||this[_0x273abd(0xb9)](_0x2e0d58),_0x4e40e3=Object[_0x273abd(0x9c)]({},_0x18746c,{'user':_0x118a2a});this[_0x273abd(0xac)][_0x273abd(0xb8)](_0x38c4f7)[_0x273abd(0xc4)](_0x4e40e3);const _0x2ef028=this[_0x273abd(0xb7)][_0x273abd(0xb8)](_0x38c4f7);_0x2ef028[_0x273abd(0xbe)](_0x118a2a['id'])||_0x2ef028[_0x273abd(0xc4)](_0x118a2a),this[_0x273abd(0x98)][_0x273abd(0xbe)](_0x118a2a['id'])||this[_0x273abd(0x98)][_0x273abd(0xc4)](_0x118a2a,_0x118a2a[_0x273abd(0xa6)]?0x0:void 0x0),this[_0x273abd(0xb4)](_0x273abd(0xc0)+_0x38c4f7,{'channelId':_0x38c4f7,'session':_0x4e40e3});}[_0xb69fb9(0x95)](_0xabb76e,_0x2f411e){const _0x244b0f=_0xb69fb9;if(_0x244b0f(0xc5)!==this[_0x244b0f(0xa7)][_0x244b0f(0xae)][_0x244b0f(0xb8)](_0x35bb45)[_0x244b0f(0x92)])return;const _0x4c4bac=this[_0x244b0f(0xb7)][_0x244b0f(0xb8)](_0xabb76e),_0x8cccd7=_0x2f411e[_0x244b0f(0xa9)];_0x8cccd7['id']&&(this[_0x244b0f(0xac)][_0x244b0f(0xb8)](_0xabb76e)[_0x244b0f(0x9d)](_0x2f411e['id']),_0x4c4bac[_0x244b0f(0xbe)](_0x8cccd7['id'])&&!this[_0x244b0f(0xad)](_0x8cccd7,_0xabb76e)[_0x244b0f(0xa2)]&&_0x4c4bac[_0x244b0f(0x9d)](_0x8cccd7['id']),this[_0x244b0f(0x98)][_0x244b0f(0xb8)](_0x8cccd7['id'])&&!this[_0x244b0f(0xad)](_0x8cccd7)[_0x244b0f(0xa2)]&&this[_0x244b0f(0x98)][_0x244b0f(0x9d)](_0x8cccd7['id']));}[_0xb69fb9(0xb9)](_0x6ece52,_0x229b61){const _0x3f8cd3=_0xb69fb9,_0x10948a=this[_0x3f8cd3(0x8d)][_0x3f8cd3(0xa8)](_0x6ece52);return _0x229b61&&this[_0x3f8cd3(0x8d)][_0x3f8cd3(0xb5)](_0x6ece52['id']),_0x10948a[_0x3f8cd3(0xbb)]=this[_0x3f8cd3(0xb3)]++,_0x10948a;}}function _0x40e7(){const _0x46d708=['sessionAdd:','4qjRfbe','8DMhhzd','connection','add','connected','register','12WduLTq','delete','mySessionId','sessions-register-already-registered','_registeredSessions','9909153nkANkt','_users','listenTo','role','1859955iFVYZZ','stopListening','state','sessions-unregister-not-exist','getUserRole','_handleSessionRemove','pluginName','getUserBySessionId','allConnectedUsers','init','set','clear','assign','remove','isOfficialPlugin','1190008WkQzwZ','6ECtxpj','10odUvoz','size','sessionId','1483182sCLIMl','forEach','isMe','context','addUser','user','change:state','unregister','channelSessions','getUserSessions','plugins','1441115meBGmo','isPremiumPlugin','Sessions','8589028HjGBpG','_uniqueUsersCount','fire','defineMe','requires','channelConnectedUsers','get','_createUser','values','orderNumber','getUser','3706087hyjyTI','has','_handleSessionAdd'];_0x40e7=function(){return _0x46d708;};return _0x40e7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5022ec=_0x1d82;(function(_0x3ca63f,_0x93bcc){const _0x3c9474=_0x1d82,_0x406eca=_0x3ca63f();while(!![]){try{const _0x44eb23=-parseInt(_0x3c9474(0x1ce))/0x1+-parseInt(_0x3c9474(0x1df))/0x2+parseInt(_0x3c9474(0x1d1))/0x3*(parseInt(_0x3c9474(0x1e7))/0x4)+-parseInt(_0x3c9474(0x1b8))/0x5+-parseInt(_0x3c9474(0x194))/0x6*(-parseInt(_0x3c9474(0x17f))/0x7)+-parseInt(_0x3c9474(0x175))/0x8+parseInt(_0x3c9474(0x1b5))/0x9;if(_0x44eb23===_0x93bcc)break;else _0x406eca['push'](_0x406eca['shift']());}catch(_0x50a3ee){_0x406eca['push'](_0x406eca['shift']());}}}(_0x53af,0x9c9d1));import{Plugin as _0x5d7b51}from'ckeditor5/src/core.js';import{global as _0x282e66,DomEmitterMixin as _0x36e0c2}from'ckeditor5/src/utils.js';import _0x1f528c from'./sessions.js';import{LiveRange as _0x26ea3a}from'ckeditor5/src/engine.js';function _0x1d82(_0x530848,_0x39f68c){const _0x53aff9=_0x53af();return _0x1d82=function(_0x1d82b5,_0x52a3ca){_0x1d82b5=_0x1d82b5-0x169;let _0x3ac237=_0x53aff9[_0x1d82b5];return _0x3ac237;},_0x1d82(_0x530848,_0x39f68c);}function _0x53af(){const _0x2bd5f6=['_createdBatches','user:position','1500758BUgXBk','conversion','mySessionId','removeClass','getUserBySessionId','innerHTML','getCustomProperty','mapper','4112720oUmgKM','getStart','remove','undo','createUIElement','listenTo','applyOperation','mouseenter','user:range','get','schema','markerToHighlight','contenteditable','markerNameToElements','getContainedElement','getAttribute','color','5826800uCEwKY','clear','isOfficialPlugin','marker','editing','setCustomProperty','getFirstRange','enqueueChange','ck-user__marker\x20','isInline','7dWnDuO','updateMarker','newRange','orderNumber','update:user:range','highest','model','isSimilar','view','nodeAfter','user:','getNearestSelectionRange','editingDowncast','requires','isCollapsed','createUserMarkerOperations','ck-user__marker_hovered','keydown','start','_domEmitter','span','5562540DEnCPQ','set','toRange','change:range','isPremiumPlugin','editor','fromRange','getSelectionClass','addEventListener','markerName','root','getMarkerClass','end','UserMarkers','checkChild','oldRange','document','has','name','addMarker','</span>','markerToElement','markers','selection','getRange','data-session-id','init','isLimit','Escape','rootName','afterInit','size','userPositionMarker','17944110mFAxUf','hasDomSelection','toDomElement','4258765lMjqDh','$text','render','isObject','commands','delete','startsWith','split','tableCell','ck-user__selection','createRange','deletionPosition','markerRange','detach','parent','change','type','pluginName','batch','$graveyard','element','destroy','977089hkJIVN','mouseleave','plugins','3DPSuBf','for','classList','stopListening','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','user:position:','hasContent','reconvertMarker','add','removeMarker','getPositions','user:range:'];_0x53af=function(){return _0x2bd5f6;};return _0x53af();}import'../../theme/usermarkers.css';export default class N extends _0x5d7b51{constructor(){const _0x853ad4=_0x1d82;super(...arguments),this[_0x853ad4(0x192)]=new(_0x36e0c2())();}static get[_0x5022ec(0x18c)](){return[_0x1f528c];}static get[_0x5022ec(0x1c9)](){const _0x117a1f=_0x5022ec;return _0x117a1f(0x1a1);}static get[_0x5022ec(0x177)](){return!0x0;}static get[_0x5022ec(0x198)](){return!0x0;}[_0x5022ec(0x1ae)](){const _0x31e6ff=_0x5022ec,_0xbaadde=this[_0x31e6ff(0x199)],_0x10d138=_0xbaadde[_0x31e6ff(0x1d0)][_0x31e6ff(0x16d)](_0x1f528c);_0xbaadde[_0x31e6ff(0x1e0)][_0x31e6ff(0x1d2)](_0x31e6ff(0x18b))[_0x31e6ff(0x1a9)]({'model':_0x31e6ff(0x1de),'view':(_0x403379,{writer:_0x3a09be})=>function(_0x211ff5,_0x4844c9,_0x4829dc,_0x28e860){const _0x1a18a8=_0x31e6ff,_0x40cc1b=_0x211ff5[_0x1a18a8(0x19d)][_0x1a18a8(0x1bf)](':')[0x2],_0x2c2c53=_0x4829dc[_0x1a18a8(0x1e3)](_0x40cc1b);if(!_0x2c2c53||_0x40cc1b===_0x4829dc[_0x1a18a8(0x1e1)])return;if(!_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x16e)][_0x1a18a8(0x1a2)](_0x211ff5[_0x1a18a8(0x1c4)][_0x1a18a8(0x191)],_0x1a18a8(0x1b9)))return;const _0x15a761={'class':_0x1a18a8(0x17d)+_0x2c2c53[_0x1a18a8(0x174)][_0x1a18a8(0x19f)](),'data-name':_0x2c2c53[_0x1a18a8(0x1a6)],'data-session-id':_0x40cc1b},_0x56f893=_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x1aa)][_0x1a18a8(0x16d)](_0x211ff5[_0x1a18a8(0x19d)]),_0x3884bc=_0x56f893[_0x1a18a8(0x1e8)](),_0x38641f=_0x3884bc[_0x1a18a8(0x188)],_0x5e3e25=_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x16e)];if(_0x38641f&&_0x5e3e25[_0x1a18a8(0x1bb)](_0x38641f)&&_0x5e3e25[_0x1a18a8(0x17e)](_0x38641f)&&!_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x1aa)][_0x1a18a8(0x16d)](_0x1a18a8(0x1dc)+_0x40cc1b)[_0x1a18a8(0x1ac)]()[_0x1a18a8(0x18d)])return;const _0x1c231e=_0x3884bc[_0x1a18a8(0x1c6)];return _0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x16e)][_0x1a18a8(0x1af)](_0x1c231e)&&!_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x1d7)](_0x1c231e)&&(_0x15a761[_0x1a18a8(0x170)]=!0x1),function(_0x8d0738,_0x35a89e,_0x54f685){const _0x4804ee=_0x1a18a8,_0x32d58b=_0x8d0738[_0x4804ee(0x1eb)](_0x4804ee(0x193),_0x35a89e);return _0x8d0738[_0x4804ee(0x17a)](_0x4804ee(0x1b4),!0x0,_0x32d58b),_0x32d58b[_0x4804ee(0x1ba)]=function(_0x522c46){const _0x2fbcba=_0x4804ee,_0x4ad9f1=this[_0x2fbcba(0x1b7)](_0x522c46);return _0x4ad9f1[_0x2fbcba(0x1e4)]=_0x2fbcba(0x1d5)+_0x54f685[_0x2fbcba(0x1a6)]+_0x2fbcba(0x1a8),_0x4ad9f1[_0x2fbcba(0x19c)](_0x2fbcba(0x16b),()=>{const _0x4b8f6c=_0x2fbcba;_0x4ad9f1[_0x4b8f6c(0x1d3)][_0x4b8f6c(0x1d9)](_0x4b8f6c(0x18f));}),_0x4ad9f1[_0x2fbcba(0x19c)](_0x2fbcba(0x1cf),()=>{const _0x38b494=_0x2fbcba;_0x4ad9f1[_0x38b494(0x1d3)][_0x38b494(0x1e9)](_0x38b494(0x18f));}),_0x4ad9f1;},_0x32d58b[_0x4804ee(0x186)]=function(_0x29d4ef){const _0x358d77=_0x4804ee;return!(!this[_0x358d77(0x1e5)](_0x358d77(0x1b4))||!_0x29d4ef[_0x358d77(0x1e5)](_0x358d77(0x1b4))||this[_0x358d77(0x173)](_0x358d77(0x1ad))!=_0x29d4ef[_0x358d77(0x173)](_0x358d77(0x1ad)));},_0x32d58b;}(_0x4844c9,_0x15a761,_0x2c2c53);}(_0x403379,_0x3a09be,_0x10d138,_0xbaadde)}),_0xbaadde[_0x31e6ff(0x1e0)][_0x31e6ff(0x1d2)](_0x31e6ff(0x18b))[_0x31e6ff(0x16f)]({'model':_0x31e6ff(0x16c),'view':_0x1aee39=>function(_0x2a9be9,_0x3e7c99){const _0x43b7ff=_0x31e6ff,_0x376659=_0x2a9be9[_0x43b7ff(0x19d)][_0x43b7ff(0x1bf)](':')[0x2];if(_0x376659===_0x3e7c99[_0x43b7ff(0x1e1)])return null;const _0xe0ea28=_0x3e7c99[_0x43b7ff(0x1e3)](_0x376659);if(!_0xe0ea28)return{'id':_0x376659,'classes':[]};return{'id':_0x376659,'classes':[_0x43b7ff(0x1c1),_0xe0ea28[_0x43b7ff(0x174)][_0x43b7ff(0x19b)]()],'attributes':{'data-session-id':_0x376659},'priority':0x7d0+_0xe0ea28[_0x43b7ff(0x182)]};}(_0x1aee39,_0x10d138)}),function(_0x3578c5){const _0x218e16=_0x31e6ff,_0x380211=_0x3578c5[_0x218e16(0x185)],_0x2389b2=new Map(),_0x5506d4=_0x3578c5[_0x218e16(0x1d0)][_0x218e16(0x16d)](_0x1f528c);_0x380211[_0x218e16(0x1aa)]['on'](_0x218e16(0x183),(_0xe06540,_0x102c84,_0x4d985b,_0xb37bfa)=>{const _0x25c832=_0x218e16;if(!_0xb37bfa&&_0x2389b2[_0x25c832(0x16d)](_0x102c84[_0x25c832(0x1a6)]))return _0x2389b2[_0x25c832(0x16d)](_0x102c84[_0x25c832(0x1a6)])[_0x25c832(0x1c5)](),void _0x2389b2[_0x25c832(0x1bd)](_0x102c84[_0x25c832(0x1a6)]);const _0x45701f=_0x102c84[_0x25c832(0x1a6)][_0x25c832(0x1bf)](':')[0x2];if(_0x45701f===_0x5506d4[_0x25c832(0x1e1)])return;const _0x468e4a=_0x25c832(0x1d6)+_0x45701f;_0x380211[_0x25c832(0x1aa)][_0x25c832(0x1a5)](_0x468e4a)&&_0x3578c5[_0x25c832(0x179)][_0x25c832(0x1d8)](_0x468e4a),_0x102c84['on'](_0x25c832(0x197),(_0x14bfd8,_0x503b5e,_0x94ef05)=>{const _0x52c2f0=_0x25c832;if(_0x52c2f0(0x1cb)!=_0x503b5e[_0x52c2f0(0x19e)][_0x52c2f0(0x1b1)]&&_0x52c2f0(0x1cb)==_0x102c84[_0x52c2f0(0x1ac)]()[_0x52c2f0(0x19e)][_0x52c2f0(0x1b1)]&&!_0x2389b2[_0x52c2f0(0x1a5)](_0x102c84[_0x52c2f0(0x1a6)])){const _0x56ad1a=_0x380211[_0x52c2f0(0x16e)][_0x52c2f0(0x18a)](_0x94ef05[_0x52c2f0(0x1c3)]);if(_0x56ad1a){const _0x451005=_0x26ea3a[_0x52c2f0(0x19a)](_0x56ad1a);_0x2389b2[_0x52c2f0(0x195)](_0x102c84[_0x52c2f0(0x1a6)],_0x451005),_0x451005['on'](_0x52c2f0(0x197),(_0x3db591,_0x9f89a,_0x316204)=>{const _0x33e9e0=_0x52c2f0;if(_0x33e9e0(0x1cb)==_0x451005[_0x33e9e0(0x19e)][_0x33e9e0(0x1b1)]){const _0x28f310=_0x380211[_0x33e9e0(0x16e)][_0x33e9e0(0x18a)](_0x316204[_0x33e9e0(0x1c3)]);_0x28f310?(_0x451005[_0x33e9e0(0x191)]=_0x28f310[_0x33e9e0(0x191)],_0x451005[_0x33e9e0(0x1a0)]=_0x28f310[_0x33e9e0(0x1a0)]):(_0x2389b2[_0x33e9e0(0x1bd)](_0x102c84[_0x33e9e0(0x1a6)]),_0x451005[_0x33e9e0(0x1c5)]());}});}}});}),_0x380211[_0x218e16(0x1a4)]['on'](_0x218e16(0x1c7),()=>{const _0x53ccfa=_0x218e16;_0x2389b2[_0x53ccfa(0x1b3)]>0x0&&_0x380211[_0x53ccfa(0x17c)]({'isUndoable':!0x1},_0x12a37e=>{const _0x1f03cc=_0x53ccfa;for(const [_0x4d73dc,_0x467c73]of _0x2389b2)_0x1f03cc(0x1cb)==_0x380211[_0x1f03cc(0x1aa)][_0x1f03cc(0x16d)](_0x4d73dc)[_0x1f03cc(0x1ac)]()[_0x1f03cc(0x19e)][_0x1f03cc(0x1b1)]&&(G(_0x4d73dc[_0x1f03cc(0x1bf)](':')[0x2],_0x467c73[_0x1f03cc(0x196)](),_0x380211,_0x12a37e),_0x467c73[_0x1f03cc(0x1c5)]());_0x2389b2[_0x1f03cc(0x176)]();});});}(_0xbaadde),this[_0x31e6ff(0x192)][_0x31e6ff(0x169)](_0x282e66[_0x31e6ff(0x1a4)],_0x31e6ff(0x190),(_0x5c56b7,{key:_0x523f17})=>{const _0x515a85=_0x31e6ff;_0x515a85(0x1b0)===_0x523f17&&function(_0x3a465e){const _0x2ddab7=_0x515a85;_0x3a465e[_0x2ddab7(0x179)][_0x2ddab7(0x187)][_0x2ddab7(0x1c7)](_0x4bee00=>{const _0x549c43=_0x2ddab7;for(const _0x352b96 of _0x3a465e[_0x549c43(0x185)][_0x549c43(0x1aa)]){if(!_0x352b96[_0x549c43(0x1a6)][_0x549c43(0x1be)](_0x549c43(0x1de)))continue;const _0x253fbd=_0x3a465e[_0x549c43(0x179)][_0x549c43(0x1e6)][_0x549c43(0x171)](_0x352b96[_0x549c43(0x1a6)]);if(_0x253fbd){for(const _0x183a15 of _0x253fbd)_0x4bee00[_0x549c43(0x1e2)](_0x549c43(0x18f),_0x183a15);}}});}(_0xbaadde);},{'useCapture':!0x0});}[_0x5022ec(0x1b2)](){const _0x41a7bc=_0x5022ec,_0x367c28=this[_0x41a7bc(0x199)],_0x3bf233=_0x367c28[_0x41a7bc(0x1bc)][_0x41a7bc(0x16d)](_0x41a7bc(0x1ea));_0x3bf233&&_0x367c28[_0x41a7bc(0x185)]['on'](_0x41a7bc(0x16a),(_0x1a4f43,_0xb8c21e)=>{const _0xc6bd39=_0x41a7bc,_0x5636ca=_0xb8c21e[0x0];if(_0xc6bd39(0x178)!=_0x5636ca[_0xc6bd39(0x1c8)]||!_0x5636ca[_0xc6bd39(0x1a6)][_0xc6bd39(0x1be)](_0xc6bd39(0x189)))return;const _0x30ca6c=_0x5636ca[_0xc6bd39(0x1ca)];_0x3bf233[_0xc6bd39(0x1dd)][_0xc6bd39(0x1a5)](_0x30ca6c)&&(_0x5636ca[_0xc6bd39(0x181)]=_0x5636ca[_0xc6bd39(0x1a3)]?_0x367c28[_0xc6bd39(0x185)][_0xc6bd39(0x1c2)](_0x5636ca[_0xc6bd39(0x1a3)][_0xc6bd39(0x191)],_0x5636ca[_0xc6bd39(0x1a3)][_0xc6bd39(0x1a0)]):null);},{'priority':_0x41a7bc(0x184)});}[_0x5022ec(0x1cd)](){const _0x2a52e1=_0x5022ec;return this[_0x2a52e1(0x192)][_0x2a52e1(0x1d4)](),super[_0x2a52e1(0x1cd)]();}[_0x5022ec(0x18e)](){const _0xa082e8=_0x5022ec,_0x5cd521=this[_0xa082e8(0x199)],_0x4b7d9c=_0x5cd521[_0xa082e8(0x185)][_0xa082e8(0x1a4)],_0xc81df6=_0x5cd521[_0xa082e8(0x1d0)][_0xa082e8(0x16d)](_0x1f528c);_0x5cd521[_0xa082e8(0x185)][_0xa082e8(0x17c)]({'isUndoable':!0x1},_0x524e1f=>{const _0x25220c=_0xa082e8,_0x4cade8=_0x25220c(0x1dc)+_0xc81df6[_0x25220c(0x1e1)],_0xac7e18=_0x25220c(0x1d6)+_0xc81df6[_0x25220c(0x1e1)],_0x494b23=_0x5cd521[_0x25220c(0x185)][_0x25220c(0x1aa)][_0x25220c(0x1a5)](_0x4cade8);_0x5cd521[_0x25220c(0x179)][_0x25220c(0x187)][_0x25220c(0x1b6)]?G(_0xc81df6[_0x25220c(0x1e1)],_0x4b7d9c[_0x25220c(0x1ab)][_0x25220c(0x17b)](),_0x5cd521[_0x25220c(0x185)],_0x524e1f):_0x494b23&&(_0x524e1f[_0x25220c(0x1da)](_0x4cade8),_0x524e1f[_0x25220c(0x1da)](_0xac7e18));});}}function G(_0x353f9b,_0x53ff17,_0x2c2839,_0x218e08){const _0x165ef3=_0x5022ec,_0x202538=_0x165ef3(0x1dc)+_0x353f9b,_0x2a9dda=_0x165ef3(0x1d6)+_0x353f9b,_0x1548fc=_0x53ff17[_0x165ef3(0x172)]();let _0x16260c=_0x53ff17[_0x165ef3(0x191)];_0x1548fc&&_0x1548fc['is'](_0x165ef3(0x1cc),_0x165ef3(0x1c0))&&(_0x16260c=function(_0x30e8b2,_0xab9017){const _0x1a64fc=_0x165ef3;for(const _0x1092b5 of _0x30e8b2[_0x1a64fc(0x1db)]())if(_0xab9017[_0x1a64fc(0x16e)][_0x1a64fc(0x1a2)](_0x1092b5,_0x1a64fc(0x1b9)))return _0x1092b5;}(_0x53ff17,_0x2c2839),_0x53ff17=_0x218e08[_0x165ef3(0x1c2)](_0x16260c));const _0xf9bcc2=_0x218e08[_0x165ef3(0x1c2)](_0x16260c);_0x2c2839[_0x165ef3(0x1aa)][_0x165ef3(0x1a5)](_0x202538)?(_0x218e08[_0x165ef3(0x180)](_0x202538,{'range':_0x53ff17}),_0x218e08[_0x165ef3(0x180)](_0x2a9dda,{'range':_0xf9bcc2})):(_0x218e08[_0x165ef3(0x1a7)](_0x202538,{'range':_0x53ff17,'usingOperation':!0x0}),_0x218e08[_0x165ef3(0x1a7)](_0x2a9dda,{'range':_0xf9bcc2,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xbbe457=_0x1982;function _0x1982(_0xffc972,_0x3d5e0a){const _0xfdd2a6=_0xfdd2();return _0x1982=function(_0x198202,_0x4849a8){_0x198202=_0x198202-0x102;let _0x11c199=_0xfdd2a6[_0x198202];return _0x11c199;},_0x1982(_0xffc972,_0x3d5e0a);}(function(_0x20a09f,_0x22af1e){const _0x393df5=_0x1982,_0x3d010c=_0x20a09f();while(!![]){try{const _0x165a0f=-parseInt(_0x393df5(0x165))/0x1*(-parseInt(_0x393df5(0x118))/0x2)+-parseInt(_0x393df5(0x103))/0x3*(-parseInt(_0x393df5(0x12f))/0x4)+-parseInt(_0x393df5(0x10d))/0x5+-parseInt(_0x393df5(0x106))/0x6*(parseInt(_0x393df5(0x170))/0x7)+parseInt(_0x393df5(0x10e))/0x8+parseInt(_0x393df5(0x182))/0x9*(parseInt(_0x393df5(0x16b))/0xa)+parseInt(_0x393df5(0x16d))/0xb*(-parseInt(_0x393df5(0x11a))/0xc);if(_0x165a0f===_0x22af1e)break;else _0x3d010c['push'](_0x3d010c['shift']());}catch(_0x303a7b){_0x3d010c['push'](_0x3d010c['shift']());}}}(_0xfdd2,0x26dcc));import{Plugin as _0x48f9ef}from'ckeditor5/src/core.js';function _0xfdd2(){const _0x21b97b=['requires','getNearestSelectionRange','isSimilar','getFirstRange','marker','user:position','tableCell','mouseleave','delete','selection','change','nodeAfter','name','isInline','batch','conversion','hasDomSelection','setCustomProperty','rootName','getSelectionClass','editor','ck-user__marker_hovered','addMarker','update:user:range','markerRange','hasContent','reconvertMarker','isOfficialPlugin','isObject','span','getAttribute','color','newRange','innerHTML','markerNameToElements','user:position:','user:range','isPremiumPlugin','plugins','add','change:range','toRange','type','getMarkerClass','getCustomProperty','root','Escape','createRange','userPositionMarker','1EdSEjb','markerName','split','checkChild','removeMarker','clear','10Pbkikd','user:','11XVfTji','_createdBatches','parent','211127VbfORl','end','getStart','getPositions','updateMarker','undo','mouseenter','applyOperation','ck-user__marker\x20','element','enqueueChange','getContainedElement','get','set','mySessionId','view','markerToElement','stopListening','870003zHjqLn','getUserBySessionId','afterInit','oldRange','createUIElement','user:range:','has','27SReGUX','<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>','pluginName','6KbMCjG','model','ck-user__selection','_domEmitter','editingDowncast','markerToHighlight','fromRange','714095wFyNuA','402552PRfACZ','start','remove','createUserMarkerOperations','</span>','classList','toDomElement','destroy','commands','document','499186MbRzlz','listenTo','1911456UJrqwD','contenteditable','isCollapsed','editing','keydown','init','detach','orderNumber','startsWith','deletionPosition','schema','getRange','isLimit','removeClass','markers','mapper','for','data-session-id','$graveyard','highest','render','42164fUztet','UserMarkers','size','$text','addEventListener'];_0xfdd2=function(){return _0x21b97b;};return _0xfdd2();}import{global as _0x391bf5,DomEmitterMixin as _0x50484f}from'ckeditor5/src/utils.js';import _0x2f7180 from'./sessions.js';import{LiveRange as _0xeba141}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class W extends _0x48f9ef{constructor(){const _0x480a8f=_0x1982;super(...arguments),this[_0x480a8f(0x109)]=new(_0x50484f())();}static get[_0xbbe457(0x134)](){return[_0x2f7180];}static get[_0xbbe457(0x105)](){const _0x15d087=_0xbbe457;return _0x15d087(0x130);}static get[_0xbbe457(0x14f)](){return!0x0;}static get[_0xbbe457(0x159)](){return!0x0;}[_0xbbe457(0x11f)](){const _0x5eefbc=_0xbbe457,_0x2078fd=this[_0x5eefbc(0x148)],_0xf8be7e=_0x2078fd[_0x5eefbc(0x15a)][_0x5eefbc(0x17c)](_0x2f7180);_0x2078fd[_0x5eefbc(0x143)][_0x5eefbc(0x12a)](_0x5eefbc(0x10a))[_0x5eefbc(0x180)]({'model':_0x5eefbc(0x139),'view':(_0x486537,{writer:_0x1ddeab})=>function(_0x226b77,_0x77a40f,_0x127c3a,_0x242b76){const _0x4c79ed=_0x5eefbc,_0x38e155=_0x226b77[_0x4c79ed(0x166)][_0x4c79ed(0x167)](':')[0x2],_0x3b4507=_0x127c3a[_0x4c79ed(0x183)](_0x38e155);if(!_0x3b4507||_0x38e155===_0x127c3a[_0x4c79ed(0x17e)])return;if(!_0x242b76[_0x4c79ed(0x107)][_0x4c79ed(0x124)][_0x4c79ed(0x168)](_0x226b77[_0x4c79ed(0x14c)][_0x4c79ed(0x10f)],_0x4c79ed(0x132)))return;const _0x1b6fbc={'class':_0x4c79ed(0x178)+_0x3b4507[_0x4c79ed(0x153)][_0x4c79ed(0x15f)](),'data-name':_0x3b4507[_0x4c79ed(0x140)],'data-session-id':_0x38e155},_0x3a88f3=_0x242b76[_0x4c79ed(0x107)][_0x4c79ed(0x128)][_0x4c79ed(0x17c)](_0x226b77[_0x4c79ed(0x166)]),_0x4c863e=_0x3a88f3[_0x4c79ed(0x172)](),_0x3fb52d=_0x4c863e[_0x4c79ed(0x13f)],_0x1f32e1=_0x242b76[_0x4c79ed(0x107)][_0x4c79ed(0x124)];if(_0x3fb52d&&_0x1f32e1[_0x4c79ed(0x150)](_0x3fb52d)&&_0x1f32e1[_0x4c79ed(0x141)](_0x3fb52d)&&!_0x242b76[_0x4c79ed(0x107)][_0x4c79ed(0x128)][_0x4c79ed(0x17c)](_0x4c79ed(0x187)+_0x38e155)[_0x4c79ed(0x125)]()[_0x4c79ed(0x11c)])return;const _0x3e773f=_0x4c863e[_0x4c79ed(0x16f)];return _0x242b76[_0x4c79ed(0x107)][_0x4c79ed(0x124)][_0x4c79ed(0x126)](_0x3e773f)&&!_0x242b76[_0x4c79ed(0x107)][_0x4c79ed(0x14d)](_0x3e773f)&&(_0x1b6fbc[_0x4c79ed(0x11b)]=!0x1),function(_0x2d8bd2,_0x4d2edb,_0x2229c2){const _0x53900c=_0x4c79ed,_0x25af00=_0x2d8bd2[_0x53900c(0x186)](_0x53900c(0x151),_0x4d2edb);return _0x2d8bd2[_0x53900c(0x145)](_0x53900c(0x164),!0x0,_0x25af00),_0x25af00[_0x53900c(0x12e)]=function(_0x5be3b7){const _0x6651de=_0x53900c,_0x1cadb5=this[_0x6651de(0x114)](_0x5be3b7);return _0x1cadb5[_0x6651de(0x155)]=_0x6651de(0x104)+_0x2229c2[_0x6651de(0x140)]+_0x6651de(0x112),_0x1cadb5[_0x6651de(0x133)](_0x6651de(0x176),()=>{const _0x4645b9=_0x6651de;_0x1cadb5[_0x4645b9(0x113)][_0x4645b9(0x15b)](_0x4645b9(0x149));}),_0x1cadb5[_0x6651de(0x133)](_0x6651de(0x13b),()=>{const _0x463e91=_0x6651de;_0x1cadb5[_0x463e91(0x113)][_0x463e91(0x110)](_0x463e91(0x149));}),_0x1cadb5;},_0x25af00[_0x53900c(0x136)]=function(_0x316580){const _0xd76c45=_0x53900c;return!(!this[_0xd76c45(0x160)](_0xd76c45(0x164))||!_0x316580[_0xd76c45(0x160)](_0xd76c45(0x164))||this[_0xd76c45(0x152)](_0xd76c45(0x12b))!=_0x316580[_0xd76c45(0x152)](_0xd76c45(0x12b)));},_0x25af00;}(_0x77a40f,_0x1b6fbc,_0x3b4507);}(_0x486537,_0x1ddeab,_0xf8be7e,_0x2078fd)}),_0x2078fd[_0x5eefbc(0x143)][_0x5eefbc(0x12a)](_0x5eefbc(0x10a))[_0x5eefbc(0x10b)]({'model':_0x5eefbc(0x158),'view':_0x42c9ef=>function(_0x1d83c1,_0x520cfa){const _0xe7fdcb=_0x5eefbc,_0x4b845a=_0x1d83c1[_0xe7fdcb(0x166)][_0xe7fdcb(0x167)](':')[0x2];if(_0x4b845a===_0x520cfa[_0xe7fdcb(0x17e)])return null;const _0x155036=_0x520cfa[_0xe7fdcb(0x183)](_0x4b845a);if(!_0x155036)return{'id':_0x4b845a,'classes':[]};return{'id':_0x4b845a,'classes':[_0xe7fdcb(0x108),_0x155036[_0xe7fdcb(0x153)][_0xe7fdcb(0x147)]()],'attributes':{'data-session-id':_0x4b845a},'priority':0x7d0+_0x155036[_0xe7fdcb(0x121)]};}(_0x42c9ef,_0xf8be7e)}),function(_0x2e7f48){const _0xff3122=_0x5eefbc,_0x219a8d=_0x2e7f48[_0xff3122(0x107)],_0x3766bc=new Map(),_0x1189b8=_0x2e7f48[_0xff3122(0x15a)][_0xff3122(0x17c)](_0x2f7180);_0x219a8d[_0xff3122(0x128)]['on'](_0xff3122(0x14b),(_0x131984,_0x38a88a,_0x5870cf,_0x144f77)=>{const _0x4f6c0f=_0xff3122;if(!_0x144f77&&_0x3766bc[_0x4f6c0f(0x17c)](_0x38a88a[_0x4f6c0f(0x140)]))return _0x3766bc[_0x4f6c0f(0x17c)](_0x38a88a[_0x4f6c0f(0x140)])[_0x4f6c0f(0x120)](),void _0x3766bc[_0x4f6c0f(0x13c)](_0x38a88a[_0x4f6c0f(0x140)]);const _0x4edbd3=_0x38a88a[_0x4f6c0f(0x140)][_0x4f6c0f(0x167)](':')[0x2];if(_0x4edbd3===_0x1189b8[_0x4f6c0f(0x17e)])return;const _0x443a18=_0x4f6c0f(0x157)+_0x4edbd3;_0x219a8d[_0x4f6c0f(0x128)][_0x4f6c0f(0x102)](_0x443a18)&&_0x2e7f48[_0x4f6c0f(0x11d)][_0x4f6c0f(0x14e)](_0x443a18),_0x38a88a['on'](_0x4f6c0f(0x15c),(_0x22126f,_0x78f79b,_0x11a438)=>{const _0x544962=_0x4f6c0f;if(_0x544962(0x12c)!=_0x78f79b[_0x544962(0x161)][_0x544962(0x146)]&&_0x544962(0x12c)==_0x38a88a[_0x544962(0x125)]()[_0x544962(0x161)][_0x544962(0x146)]&&!_0x3766bc[_0x544962(0x102)](_0x38a88a[_0x544962(0x140)])){const _0x2f3348=_0x219a8d[_0x544962(0x124)][_0x544962(0x135)](_0x11a438[_0x544962(0x123)]);if(_0x2f3348){const _0x979b0c=_0xeba141[_0x544962(0x10c)](_0x2f3348);_0x3766bc[_0x544962(0x17d)](_0x38a88a[_0x544962(0x140)],_0x979b0c),_0x979b0c['on'](_0x544962(0x15c),(_0x16adc1,_0x52206,_0x483a0c)=>{const _0x21348e=_0x544962;if(_0x21348e(0x12c)==_0x979b0c[_0x21348e(0x161)][_0x21348e(0x146)]){const _0x121888=_0x219a8d[_0x21348e(0x124)][_0x21348e(0x135)](_0x483a0c[_0x21348e(0x123)]);_0x121888?(_0x979b0c[_0x21348e(0x10f)]=_0x121888[_0x21348e(0x10f)],_0x979b0c[_0x21348e(0x171)]=_0x121888[_0x21348e(0x171)]):(_0x3766bc[_0x21348e(0x13c)](_0x38a88a[_0x21348e(0x140)]),_0x979b0c[_0x21348e(0x120)]());}});}}});}),_0x219a8d[_0xff3122(0x117)]['on'](_0xff3122(0x13e),()=>{const _0x3a63db=_0xff3122;_0x3766bc[_0x3a63db(0x131)]>0x0&&_0x219a8d[_0x3a63db(0x17a)]({'isUndoable':!0x1},_0x4de1d3=>{const _0x1139d0=_0x3a63db;for(const [_0x361ae7,_0x5dadde]of _0x3766bc)_0x1139d0(0x12c)==_0x219a8d[_0x1139d0(0x128)][_0x1139d0(0x17c)](_0x361ae7)[_0x1139d0(0x125)]()[_0x1139d0(0x161)][_0x1139d0(0x146)]&&(ee(_0x361ae7[_0x1139d0(0x167)](':')[0x2],_0x5dadde[_0x1139d0(0x15d)](),_0x219a8d,_0x4de1d3),_0x5dadde[_0x1139d0(0x120)]());_0x3766bc[_0x1139d0(0x16a)]();});});}(_0x2078fd),this[_0x5eefbc(0x109)][_0x5eefbc(0x119)](_0x391bf5[_0x5eefbc(0x117)],_0x5eefbc(0x11e),(_0x1e6f84,{key:_0x2d21f7})=>{const _0x43374d=_0x5eefbc;_0x43374d(0x162)===_0x2d21f7&&function(_0x53b53f){const _0x3cda27=_0x43374d;_0x53b53f[_0x3cda27(0x11d)][_0x3cda27(0x17f)][_0x3cda27(0x13e)](_0x15c340=>{const _0x1793c6=_0x3cda27;for(const _0x3ceaf6 of _0x53b53f[_0x1793c6(0x107)][_0x1793c6(0x128)]){if(!_0x3ceaf6[_0x1793c6(0x140)][_0x1793c6(0x122)](_0x1793c6(0x139)))continue;const _0x5a61a8=_0x53b53f[_0x1793c6(0x11d)][_0x1793c6(0x129)][_0x1793c6(0x156)](_0x3ceaf6[_0x1793c6(0x140)]);if(_0x5a61a8){for(const _0x292251 of _0x5a61a8)_0x15c340[_0x1793c6(0x127)](_0x1793c6(0x149),_0x292251);}}});}(_0x2078fd);},{'useCapture':!0x0});}[_0xbbe457(0x184)](){const _0x433ff9=_0xbbe457,_0x8bc3e=this[_0x433ff9(0x148)],_0x2ed679=_0x8bc3e[_0x433ff9(0x116)][_0x433ff9(0x17c)](_0x433ff9(0x175));_0x2ed679&&_0x8bc3e[_0x433ff9(0x107)]['on'](_0x433ff9(0x177),(_0x28a8b9,_0x599af3)=>{const _0x8e3c6a=_0x433ff9,_0x219c4b=_0x599af3[0x0];if(_0x8e3c6a(0x138)!=_0x219c4b[_0x8e3c6a(0x15e)]||!_0x219c4b[_0x8e3c6a(0x140)][_0x8e3c6a(0x122)](_0x8e3c6a(0x16c)))return;const _0x589407=_0x219c4b[_0x8e3c6a(0x142)];_0x2ed679[_0x8e3c6a(0x16e)][_0x8e3c6a(0x102)](_0x589407)&&(_0x219c4b[_0x8e3c6a(0x154)]=_0x219c4b[_0x8e3c6a(0x185)]?_0x8bc3e[_0x8e3c6a(0x107)][_0x8e3c6a(0x163)](_0x219c4b[_0x8e3c6a(0x185)][_0x8e3c6a(0x10f)],_0x219c4b[_0x8e3c6a(0x185)][_0x8e3c6a(0x171)]):null);},{'priority':_0x433ff9(0x12d)});}[_0xbbe457(0x115)](){const _0x5adaa4=_0xbbe457;return this[_0x5adaa4(0x109)][_0x5adaa4(0x181)](),super[_0x5adaa4(0x115)]();}[_0xbbe457(0x111)](){const _0x487963=_0xbbe457,_0x56795e=this[_0x487963(0x148)],_0x261b50=_0x56795e[_0x487963(0x107)][_0x487963(0x117)],_0x1aaa94=_0x56795e[_0x487963(0x15a)][_0x487963(0x17c)](_0x2f7180);_0x56795e[_0x487963(0x107)][_0x487963(0x17a)]({'isUndoable':!0x1},_0x3466bc=>{const _0x25ae7b=_0x487963,_0x26b2ad=_0x25ae7b(0x187)+_0x1aaa94[_0x25ae7b(0x17e)],_0x44950f=_0x25ae7b(0x157)+_0x1aaa94[_0x25ae7b(0x17e)],_0x298794=_0x56795e[_0x25ae7b(0x107)][_0x25ae7b(0x128)][_0x25ae7b(0x102)](_0x26b2ad);_0x56795e[_0x25ae7b(0x11d)][_0x25ae7b(0x17f)][_0x25ae7b(0x144)]?ee(_0x1aaa94[_0x25ae7b(0x17e)],_0x261b50[_0x25ae7b(0x13d)][_0x25ae7b(0x137)](),_0x56795e[_0x25ae7b(0x107)],_0x3466bc):_0x298794&&(_0x3466bc[_0x25ae7b(0x169)](_0x26b2ad),_0x3466bc[_0x25ae7b(0x169)](_0x44950f));});}}function ee(_0x56132f,_0x1eff17,_0x3ba1b4,_0x22dbe9){const _0x28ddad=_0xbbe457,_0x2083f8=_0x28ddad(0x187)+_0x56132f,_0x45938d=_0x28ddad(0x157)+_0x56132f,_0x1c1542=_0x1eff17[_0x28ddad(0x17b)]();let _0x49e9f4=_0x1eff17[_0x28ddad(0x10f)];_0x1c1542&&_0x1c1542['is'](_0x28ddad(0x179),_0x28ddad(0x13a))&&(_0x49e9f4=function(_0x5ac8fd,_0x23a193){const _0x33dfba=_0x28ddad;for(const _0x5c9a75 of _0x5ac8fd[_0x33dfba(0x173)]())if(_0x23a193[_0x33dfba(0x124)][_0x33dfba(0x168)](_0x5c9a75,_0x33dfba(0x132)))return _0x5c9a75;}(_0x1eff17,_0x3ba1b4),_0x1eff17=_0x22dbe9[_0x28ddad(0x163)](_0x49e9f4));const _0x4aa809=_0x22dbe9[_0x28ddad(0x163)](_0x49e9f4);_0x3ba1b4[_0x28ddad(0x128)][_0x28ddad(0x102)](_0x2083f8)?(_0x22dbe9[_0x28ddad(0x174)](_0x2083f8,{'range':_0x1eff17}),_0x22dbe9[_0x28ddad(0x174)](_0x45938d,{'range':_0x4aa809})):(_0x22dbe9[_0x28ddad(0x14a)](_0x2083f8,{'range':_0x1eff17,'usingOperation':!0x0}),_0x22dbe9[_0x28ddad(0x14a)](_0x45938d,{'range':_0x4aa809,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x26099d=_0x11c3;(function(_0x342b7a,_0x1b1bc4){const _0x44c82b=_0x11c3,_0xf7e7f5=_0x342b7a();while(!![]){try{const _0x282a1f=parseInt(_0x44c82b(0xac))/0x1+parseInt(_0x44c82b(0xd0))/0x2+-parseInt(_0x44c82b(0xe5))/0x3*(parseInt(_0x44c82b(0xd3))/0x4)+parseInt(_0x44c82b(0xdb))/0x5*(parseInt(_0x44c82b(0xf1))/0x6)+-parseInt(_0x44c82b(0xc3))/0x7+parseInt(_0x44c82b(0xe0))/0x8*(parseInt(_0x44c82b(0xc2))/0x9)+parseInt(_0x44c82b(0xd8))/0xa*(-parseInt(_0x44c82b(0xb0))/0xb);if(_0x282a1f===_0x1b1bc4)break;else _0xf7e7f5['push'](_0xf7e7f5['shift']());}catch(_0xd81979){_0xf7e7f5['push'](_0xf7e7f5['shift']());}}}(_0x139a,0xba034));function _0x139a(){const _0x1aae67=['disconnect','removeFromReconnectionStack','CONNECTING','reconnect','websocketgateway-missing-websocket-url','_reconnectionStack','initialReconnectionInterval','online','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.','set','init','delete','error','_isBrowserOffline','destroy','CONNECTED','9274059wmNwcM','4417371kwssGy','Connected\x20users\x20limit\x20exceeded','cloudservices-init','get','cloudservices-reconnection-error','webSocketUrl','websocketgateway-plugin-already-registered','cloudServices.requestTimeout','connected','constructor','_reconnect','all','pluginName','1156034JIUPVt','isPremiumPlugin','cloudServices.connectionTimeout','4745012UCakBa','from','connect','DISCONNECTED','_shouldPluginsReconnect','10bXDJRj','listenTo','catch','1174315Gddwok','stopListening','websocketgateway-invalid-plugin-interface','isInReconnectionStack','context','8YorXat','isOfficialPlugin','showWarning','define','requires','3mLkenr','change:me','add','code','token','then','config','state','has','offline','websocketgateway-missing-token','plugins','12FfNbco','limitExceeded','connection','create','_domEmitter','real-time-collaboration','addToReconnectionStack','1433559IFyVxg','bind','WebSocketGateway','function','10257929aLlNEF','CloudServices'];_0x139a=function(){return _0x1aae67;};return _0x139a();}import{ContextPlugin as _0x53b023}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4ef015,CKEditorError as _0x5cc4a5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5aa804,WEB_SOCKET_GATEWAY_STATES as _0x2e49bd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1f189e}from'ckeditor5/src/ui.js';function _0x11c3(_0x1c9185,_0x49e33b){const _0x139a73=_0x139a();return _0x11c3=function(_0x11c3ed,_0x35c3f6){_0x11c3ed=_0x11c3ed-0xa8;let _0x2141c5=_0x139a73[_0x11c3ed];return _0x2141c5;},_0x11c3(_0x1c9185,_0x49e33b);}class c extends _0x53b023{static get[_0x26099d(0xe4)](){const _0x72d785=_0x26099d;return[_0x72d785(0xb1),_0x1f189e];}static get[_0x26099d(0xcf)](){const _0x3ebe84=_0x26099d;return _0x3ebe84(0xae);}static get[_0x26099d(0xe1)](){return!0x0;}static get[_0x26099d(0xd1)](){return!0x0;}constructor(_0x38024d){const _0x23378c=_0x26099d;super(_0x38024d),this[_0x23378c(0xbb)](_0x23378c(0xec),_0x2e49bd[_0x23378c(0xc1)]),this[_0x23378c(0xbb)](_0x23378c(0xbf),!0x1),this[_0x23378c(0xb7)]=new Set(),this[_0x23378c(0xd7)]=!0x1,this[_0x23378c(0xa9)]=Object[_0x23378c(0xa8)](_0x4ef015);}[_0x26099d(0xbc)](){const _0x5a9597=_0x26099d,_0x70a50=this[_0x5a9597(0xdf)],_0xbeaf0c=_0x70a50[_0x5a9597(0xf0)][_0x5a9597(0xc6)](_0x5a9597(0xb1)),_0x33634c=_0x70a50[_0x5a9597(0xf0)][_0x5a9597(0xc6)](_0x1f189e);if(!_0xbeaf0c[_0x5a9597(0xe9)])throw new _0x5cc4a5(_0x5a9597(0xef),this);if(!_0xbeaf0c[_0x5a9597(0xc8)])throw new _0x5cc4a5(_0x5a9597(0xb6),this);return this[_0x5a9597(0xa9)][_0x5a9597(0xd9)](window,_0x5a9597(0xee),()=>this[_0x5a9597(0xbf)]=!0x0),this[_0x5a9597(0xa9)][_0x5a9597(0xd9)](window,_0x5a9597(0xb9),()=>this[_0x5a9597(0xbf)]=!0x1),this[_0x5a9597(0xdf)][_0x5a9597(0xeb)][_0x5a9597(0xe3)](_0x5a9597(0xd2),0xa),this[_0x5a9597(0xdf)][_0x5a9597(0xeb)][_0x5a9597(0xe3)](_0x5a9597(0xca),0x14),c[_0x5a9597(0xae)][_0x5a9597(0xd5)](_0xbeaf0c[_0x5a9597(0xe9)],_0xbeaf0c[_0x5a9597(0xc8)],{'timeout':0x3e8*this[_0x5a9597(0xdf)][_0x5a9597(0xeb)][_0x5a9597(0xc6)](_0x5a9597(0xd2)),'requestTimeout':0x3e8*this[_0x5a9597(0xdf)][_0x5a9597(0xeb)][_0x5a9597(0xc6)](_0x5a9597(0xca))})[_0x5a9597(0xea)](_0x3fa562=>{const _0x552c0f=_0x5a9597;if(this[_0x552c0f(0xf3)]=_0x3fa562,this[_0x552c0f(0xad)](_0x552c0f(0xec))['to'](_0x3fa562,_0x552c0f(0xec),this,_0x552c0f(0xbf),(_0x208f25,_0x4a1c2c)=>(_0x552c0f(0xcb)!==_0x208f25&&(this[_0x552c0f(0xd7)]=!0x0),_0x4a1c2c||_0x208f25!==_0x2e49bd[_0x552c0f(0xc1)]?_0x2e49bd[_0x552c0f(0xd6)]:this[_0x552c0f(0xec)]==_0x2e49bd[_0x552c0f(0xd6)]&&this[_0x552c0f(0xd7)]?(this[_0x552c0f(0xd7)]=!0x1,this[_0x552c0f(0xcd)](),_0x2e49bd[_0x552c0f(0xb4)]):_0x2e49bd[_0x552c0f(0xc1)])),this[_0x552c0f(0xf3)]['on'](_0x552c0f(0xbe),(_0x33836f,_0x46c107)=>{const _0x4fb374=_0x552c0f;if(_0x4fb374(0xf2)!==_0x46c107[_0x4fb374(0xe8)])throw console[_0x4fb374(0xbe)](_0x46c107),new _0x5cc4a5(_0x4fb374(0xc5),null,{'originalError':_0x46c107});_0x33634c[_0x4fb374(0xe2)](_0x4fb374(0xba),{'title':_0x4fb374(0xc4),'namespace':_0x4fb374(0xaa)});}),!_0x3fa562['me'])return new Promise(_0xac6ac9=>_0x3fa562['on'](_0x552c0f(0xe6),_0xac6ac9));})[_0x5a9597(0xda)](_0x29e626=>{const _0x2f6a30=_0x5a9597;throw console[_0x2f6a30(0xbe)](_0x29e626),new _0x5cc4a5(_0x2f6a30(0xc5),null,{'originalError':_0x29e626});});}[_0x26099d(0xab)](_0x55e485){const _0x2bd90e=_0x26099d;if(_0x2bd90e(0xaf)!=typeof _0x55e485[_0x2bd90e(0xb5)])throw new _0x5cc4a5(_0x2bd90e(0xdd),this);if(this[_0x2bd90e(0xde)](_0x55e485))throw new _0x5cc4a5(_0x2bd90e(0xc9),this,{'name':_0x55e485[_0x2bd90e(0xcc)][_0x2bd90e(0xcf)]});this[_0x2bd90e(0xb7)][_0x2bd90e(0xe7)](_0x55e485);}[_0x26099d(0xb3)](_0x275448){const _0x3b788a=_0x26099d;this[_0x3b788a(0xb7)][_0x3b788a(0xbd)](_0x275448);}[_0x26099d(0xde)](_0x305484){const _0x35b5be=_0x26099d;return this[_0x35b5be(0xb7)][_0x35b5be(0xed)](_0x305484);}[_0x26099d(0xcd)](){const _0x3763c3=_0x26099d;return this[_0x3763c3(0xf3)][_0x3763c3(0xb5)]()[_0x3763c3(0xea)](()=>Promise[_0x3763c3(0xce)](Array[_0x3763c3(0xd4)](this[_0x3763c3(0xb7)],_0x30d1d6=>_0x30d1d6[_0x3763c3(0xb5)]())))[_0x3763c3(0xea)](()=>this[_0x3763c3(0xec)]=_0x2e49bd[_0x3763c3(0xc1)])[_0x3763c3(0xda)](_0x18e6bc=>{const _0x1c772c=_0x3763c3;throw console[_0x1c772c(0xbe)](_0x18e6bc),new _0x5cc4a5(_0x1c772c(0xc7),this[_0x1c772c(0xdf)]);});}[_0x26099d(0xc0)](){const _0x14a3b1=_0x26099d;this[_0x14a3b1(0xf3)]&&this[_0x14a3b1(0xf3)][_0x14a3b1(0xb2)](),this[_0x14a3b1(0xec)]=_0x2e49bd[_0x14a3b1(0xd6)],this[_0x14a3b1(0xa9)][_0x14a3b1(0xdc)](),super[_0x14a3b1(0xc0)]();}}c[_0x26099d(0xae)]=_0x5aa804,c[_0x26099d(0xb8)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x41c147=_0x24f5;(function(_0x151e1f,_0x57f059){var _0x22b964=_0x24f5,_0x30716d=_0x151e1f();while(!![]){try{var _0x2a8099=-parseInt(_0x22b964(0xf6))/0x1*(parseInt(_0x22b964(0xf0))/0x2)+-parseInt(_0x22b964(0xfc))/0x3+-parseInt(_0x22b964(0xf1))/0x4*(parseInt(_0x22b964(0xff))/0x5)+parseInt(_0x22b964(0xf8))/0x6+-parseInt(_0x22b964(0xf4))/0x7*(-parseInt(_0x22b964(0xfe))/0x8)+parseInt(_0x22b964(0xf2))/0x9+parseInt(_0x22b964(0xf5))/0xa*(-parseInt(_0x22b964(0xf9))/0xb);if(_0x2a8099===_0x57f059)break;else _0x30716d['push'](_0x30716d['shift']());}catch(_0x457ff7){_0x30716d['push'](_0x30716d['shift']());}}}(_0x3d79,0x882d0));function _0x24f5(_0x25a9e5,_0x2ae361){var _0x3d79c7=_0x3d79();return _0x24f5=function(_0x24f526,_0x5b4204){_0x24f526=_0x24f526-0xf0;var _0x1dc065=_0x3d79c7[_0x24f526];return _0x1dc065;},_0x24f5(_0x25a9e5,_0x2ae361);}import{Plugin as _0x2575e1}from'ckeditor5/src/core.js';import _0x1cd826 from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3d79(){var _0x38d9b6=['isOfficialPlugin','1009911HAoIYk','pluginName','8crSaHU','5dyrodF','2CYorVE','964596GwznLG','1188972xtRUSg','isPremiumPlugin','7781648xKGugQ','50BZmIdw','601329atNwKv','RealTimeCollaborativeEditing','3102684qogTVs','52789xEbfQE','requires'];_0x3d79=function(){return _0x38d9b6;};return _0x3d79();}export default class n extends _0x2575e1{static get[_0x41c147(0xfa)](){return[_0x1cd826];}static get[_0x41c147(0xfd)](){var _0x2990c5=_0x41c147;return _0x2990c5(0xf7);}static get[_0x41c147(0xfb)](){return!0x0;}static get[_0x41c147(0xf3)](){return!0x0;}}
|