@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.12 → 44.2.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/package.json +14 -14
- 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/realtimecollaborativecomments/cloudservicescommentsadapter.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/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x333a7a=_0x3ae3;(function(_0x3282de,_0x34f771){const _0x5510e9=_0x3ae3,_0x1a2c12=_0x3282de();while(!![]){try{const _0x513bc7=parseInt(_0x5510e9(0x167))/0x1*(parseInt(_0x5510e9(0x186))/0x2)+parseInt(_0x5510e9(0x1af))/0x3*(parseInt(_0x5510e9(0x1aa))/0x4)+-parseInt(_0x5510e9(0x15f))/0x5+parseInt(_0x5510e9(0x16a))/0x6*(parseInt(_0x5510e9(0x17d))/0x7)+parseInt(_0x5510e9(0x197))/0x8+-parseInt(_0x5510e9(0x19c))/0x9+-parseInt(_0x5510e9(0x1ad))/0xa;if(_0x513bc7===_0x34f771)break;else _0x1a2c12['push'](_0x1a2c12['shift']());}catch(_0x52fb76){_0x1a2c12['push'](_0x1a2c12['shift']());}}}(_0x563e,0x8292d));import{ContextPlugin as _0x44e636}from'ckeditor5/src/core.js';import{CKEditorError as _0x39ff0d,Collection as _0x48d9b9}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2077ad,BalloonPanelView as _0x217871,BodyCollection as _0x47d783}from'ckeditor5/src/ui.js';import{isElement as _0x50a17c}from'lodash-es';function _0x3ae3(_0xd1c4c7,_0x112c0a){const _0x563e9f=_0x563e();return _0x3ae3=function(_0x3ae3a0,_0x43318f){_0x3ae3a0=_0x3ae3a0-0x15f;let _0x166e40=_0x563e9f[_0x3ae3a0];return _0x166e40;},_0x3ae3(_0xd1c4c7,_0x112c0a);}import _0x3fcfe5 from'../realtimecollaborativeediting/sessions.js';import _0x148685 from'./view/presencelistview.js';import _0x2aeeb5 from'./view/presencedropdownlistview.js';import _0x4f95e7 from'./view/presencedropdownlistitemview.js';import _0x18195e from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x44e636{constructor(_0x3aeabf){const _0x361a71=_0x3ae3;super(_0x3aeabf),this[_0x361a71(0x1b6)]=null,this[_0x361a71(0x1a3)][_0x361a71(0x19f)][_0x361a71(0x170)](_0x361a71(0x176),D);const _0xc48853=_0x3aeabf[_0x361a71(0x19f)][_0x361a71(0x166)](_0x361a71(0x1c1));if(_0x361a71(0x188)!=typeof _0xc48853)throw new _0x39ff0d(_0x361a71(0x1ab),this);if(_0xc48853<0x1)throw new _0x39ff0d(_0x361a71(0x1ab),this);this[_0x361a71(0x1b0)]=this[_0x361a71(0x1a3)][_0x361a71(0x185)][_0x361a71(0x166)](_0x3fcfe5)[_0x361a71(0x194)],this[_0x361a71(0x18f)](_0x361a71(0x171),0x0),this[_0x361a71(0x1b3)]=new _0x48d9b9(),this[_0x361a71(0x164)]=new _0x217871(),this[_0x361a71(0x164)][_0x361a71(0x1c0)]=_0x361a71(0x1a9),this[_0x361a71(0x19d)]=this[_0x361a71(0x16d)](),this[_0x361a71(0x1a2)]=void 0x0;}static get[_0x333a7a(0x17a)](){return[_0x3fcfe5];}[_0x333a7a(0x1bf)](){const _0x5cba7b=_0x333a7a;for(const _0x532021 of this[_0x5cba7b(0x1b0)])this[_0x5cba7b(0x19e)](_0x532021);this[_0x5cba7b(0x161)](this[_0x5cba7b(0x1b0)],_0x5cba7b(0x1b1),(_0x15e948,_0x1d82cb)=>{const _0xbdf32c=_0x5cba7b;this[_0xbdf32c(0x19e)](_0x1d82cb);}),this[_0x5cba7b(0x161)](this[_0x5cba7b(0x1b0)],_0x5cba7b(0x168),(_0x4585c3,_0x159dbe)=>{const _0x2226a9=_0x5cba7b;this[_0x2226a9(0x190)](_0x159dbe);});}[_0x333a7a(0x16d)](){const _0x59ac99=_0x333a7a,_0x5f3903=this[_0x59ac99(0x1a3)],_0x1309e7=new _0x148685(this[_0x59ac99(0x1a3)][_0x59ac99(0x169)]),_0x35388e=this[_0x59ac99(0x164)];if(!_0x50a17c(_0x5f3903[_0x59ac99(0x19f)][_0x59ac99(0x166)](_0x59ac99(0x174))))throw new _0x39ff0d(_0x59ac99(0x19a),this);return _0x1309e7[_0x59ac99(0x163)][_0x59ac99(0x1b8)](_0x59ac99(0x171))['to'](this),_0x1309e7[_0x59ac99(0x1b8)](_0x59ac99(0x192))['to'](this,_0x59ac99(0x171),_0x79d4cb=>{const _0x43bbc4=_0x59ac99,{collapseAt:_0x249dfe,displayMe:_0x59dd28}=_0x5f3903[_0x43bbc4(0x19f)][_0x43bbc4(0x166)](_0x43bbc4(0x176)),_0x28af91=_0x79d4cb>=_0x249dfe;return _0x1309e7[_0x43bbc4(0x163)][_0x43bbc4(0x17f)]=!(0x1==_0x79d4cb&&_0x59dd28||_0x28af91),_0x28af91||this[_0x43bbc4(0x17e)](),_0x28af91;}),_0x1309e7[_0x59ac99(0x17c)][_0x59ac99(0x1bb)][_0x59ac99(0x18d)](this[_0x59ac99(0x1b3)])[_0x59ac99(0x1b9)](_0xb94f12=>{const _0x24da9d=_0x59ac99,_0xe514c4=_0x5f3903[_0x24da9d(0x19f)][_0x24da9d(0x166)](_0x24da9d(0x176)),_0x297315=new _0x18195e(_0x5f3903[_0x24da9d(0x169)],_0xb94f12,!!_0xe514c4[_0x24da9d(0x18a)]);return _0x297315[_0x24da9d(0x1b8)](_0x24da9d(0x182))['to'](_0x1309e7,_0x24da9d(0x192),_0x434256=>!_0x434256),_0x297315[_0x24da9d(0x1b8)](_0x24da9d(0x1a0))['to'](_0x1309e7,_0x24da9d(0x192),_0x71d3c0=>!_0x71d3c0),_0xe514c4[_0x24da9d(0x18a)]&&this[_0x24da9d(0x161)](_0x297315,_0x24da9d(0x1b2),()=>{const _0x24962b=_0x24da9d;this[_0x24962b(0x19d)][_0x24962b(0x192)]||_0xe514c4[_0x24962b(0x18a)](_0xb94f12,_0x297315[_0x24962b(0x1bc)]);}),_0x297315;}),this[_0x59ac99(0x161)](_0x1309e7[_0x59ac99(0x17c)],_0x59ac99(0x1b2),()=>{const _0x198d50=_0x59ac99;this[_0x198d50(0x1a2)]?this[_0x198d50(0x17e)]():this[_0x198d50(0x19d)][_0x198d50(0x192)]&&this[_0x198d50(0x178)]();}),_0x1309e7[_0x59ac99(0x17c)][_0x59ac99(0x181)][_0x59ac99(0x18f)](_0x59ac99(0x160),(_0x4a470a,_0x417f4b)=>{const _0x3f52ad=_0x59ac99;this[_0x3f52ad(0x19d)][_0x3f52ad(0x192)]&&(this[_0x3f52ad(0x178)](),_0x417f4b());}),_0x1309e7[_0x59ac99(0x179)](),_0x35388e[_0x59ac99(0x179)](),_0x2077ad({'emitter':_0x1309e7,'activator':()=>_0x35388e[_0x59ac99(0x195)],'contextElements':[_0x35388e[_0x59ac99(0x1bc)],_0x1309e7[_0x59ac99(0x17c)][_0x59ac99(0x1bc)]],'callback':()=>this[_0x59ac99(0x17e)]()}),_0x5f3903[_0x59ac99(0x19f)][_0x59ac99(0x166)](_0x59ac99(0x174))[_0x59ac99(0x16b)](_0x1309e7[_0x59ac99(0x1bc)]),this[_0x59ac99(0x1b6)]=new _0x47d783(this[_0x59ac99(0x1a3)][_0x59ac99(0x169)]),this[_0x59ac99(0x1b6)][_0x59ac99(0x1bd)](),this[_0x59ac99(0x1b6)][_0x59ac99(0x1b1)](this[_0x59ac99(0x164)]),_0x1309e7;}[_0x333a7a(0x19e)](_0x32675f){const _0x454ecc=_0x333a7a;if(!this[_0x454ecc(0x1a3)][_0x454ecc(0x19f)][_0x454ecc(0x166)](_0x454ecc(0x1a1))&&_0x32675f[_0x454ecc(0x183)])return;const _0x554dc2=this[_0x454ecc(0x1a3)][_0x454ecc(0x19f)][_0x454ecc(0x166)](_0x454ecc(0x1c1))-0x1;this[_0x454ecc(0x171)]++,this[_0x454ecc(0x1b3)][_0x454ecc(0x199)]==_0x554dc2&&this[_0x454ecc(0x1b3)][_0x454ecc(0x199)]>0x1&&this[_0x454ecc(0x1b3)][_0x454ecc(0x168)](0x1);const _0x5d1b8c=_0x32675f[_0x454ecc(0x183)]?0x0:this[_0x454ecc(0x1b3)][_0x454ecc(0x199)];this[_0x454ecc(0x1b3)][_0x454ecc(0x1b1)](_0x32675f,_0x5d1b8c);}[_0x333a7a(0x190)](_0xc5e07e){const _0x2769e1=_0x333a7a;if(this[_0x2769e1(0x171)]--,this[_0x2769e1(0x1b3)][_0x2769e1(0x166)](_0xc5e07e['id'])&&(this[_0x2769e1(0x1b3)][_0x2769e1(0x168)](_0xc5e07e['id']),this[_0x2769e1(0x1b3)][_0x2769e1(0x199)]<this[_0x2769e1(0x171)])){for(const _0x3131f4 of Array[_0x2769e1(0x19b)](this[_0x2769e1(0x1b0)])[_0x2769e1(0x180)]())if(!this[_0x2769e1(0x1b3)][_0x2769e1(0x166)](_0x3131f4['id']))return void this[_0x2769e1(0x1b3)][_0x2769e1(0x1b1)](_0x3131f4,Math[_0x2769e1(0x1be)](this[_0x2769e1(0x1b3)][_0x2769e1(0x199)],0x1));}}[_0x333a7a(0x178)](){const _0x4a6e78=_0x333a7a;if(this[_0x4a6e78(0x1a2)])return;const _0x4f7906=this[_0x4a6e78(0x1a3)][_0x4a6e78(0x19f)][_0x4a6e78(0x166)](_0x4a6e78(0x176));this[_0x4a6e78(0x1a2)]=new _0x2aeeb5(this[_0x4a6e78(0x1a3)][_0x4a6e78(0x169)],!!_0x4f7906[_0x4a6e78(0x18a)]),this[_0x4a6e78(0x19d)][_0x4a6e78(0x17c)][_0x4a6e78(0x172)]=!0x0;const {listWrapperView:_0x2fcd41}=this[_0x4a6e78(0x1a2)];_0x2fcd41[_0x4a6e78(0x1bb)][_0x4a6e78(0x18d)](this[_0x4a6e78(0x1b0)])[_0x4a6e78(0x1b9)](_0x31c707=>{const _0x1ba915=_0x4a6e78;if(!_0x4f7906[_0x1ba915(0x191)]&&_0x31c707[_0x1ba915(0x183)])return null;const _0x27d361=new _0x4f95e7(this[_0x1ba915(0x1a3)][_0x1ba915(0x169)],_0x31c707,!!_0x4f7906[_0x1ba915(0x18a)]);return _0x4f7906[_0x1ba915(0x18a)]&&this[_0x1ba915(0x161)](_0x27d361,_0x1ba915(0x1b2),()=>{const _0x42094e=_0x1ba915;_0x4f7906[_0x42094e(0x18a)](_0x31c707,_0x27d361[_0x42094e(0x1bc)]);}),_0x27d361;}),this[_0x4a6e78(0x164)][_0x4a6e78(0x1b5)][_0x4a6e78(0x1b1)](this[_0x4a6e78(0x1a2)]),this[_0x4a6e78(0x164)][_0x4a6e78(0x187)]({'target':this[_0x4a6e78(0x19d)][_0x4a6e78(0x17c)][_0x4a6e78(0x1bc)]}),_0x2fcd41[_0x4a6e78(0x18e)](),_0x2fcd41[_0x4a6e78(0x175)]();const _0x4b6f9b=(_0x2d660c,_0x1dc53)=>{const _0x453060=_0x4a6e78;this[_0x453060(0x17e)](),this[_0x453060(0x19d)][_0x453060(0x17c)][_0x453060(0x18e)](),_0x1dc53();};_0x2fcd41[_0x4a6e78(0x181)][_0x4a6e78(0x18f)](_0x4a6e78(0x17b),_0x4b6f9b),_0x2fcd41[_0x4a6e78(0x181)][_0x4a6e78(0x18f)](_0x4a6e78(0x18c),_0x4b6f9b),_0x2fcd41[_0x4a6e78(0x181)][_0x4a6e78(0x18f)](_0x4a6e78(0x1c2),(_0x32b2f9,_0x2babed)=>{const _0x46e284=_0x4a6e78;!function(_0x2d6883){const _0x1a3a5e=_0x3ae3,_0x595d45=['a',_0x1a3a5e(0x165),_0x1a3a5e(0x198),_0x1a3a5e(0x1a8),_0x1a3a5e(0x189),_0x1a3a5e(0x16e),_0x1a3a5e(0x1c3)][_0x1a3a5e(0x173)](_0x3f7a41=>_0x3f7a41+_0x1a3a5e(0x177))[_0x1a3a5e(0x162)](','),_0xd2d5ba=[...document[_0x1a3a5e(0x1b7)][_0x1a3a5e(0x1a7)](_0x595d45)][_0x1a3a5e(0x1a4)](_0x2de814=>_0x2de814===document[_0x1a3a5e(0x193)]||_0x2de814[_0x1a3a5e(0x1a6)]+_0x2de814[_0x1a3a5e(0x16f)]>0x0)[_0x1a3a5e(0x184)]((_0x2c67e6,_0x42b6cc)=>(_0x2c67e6[_0x1a3a5e(0x16c)]||0x0)-(_0x42b6cc[_0x1a3a5e(0x16c)]||0x0)),_0xc4f2fe=_0xd2d5ba[_0x1a3a5e(0x1a5)](_0x2d6883),_0x8c198f=_0xd2d5ba[(_0xc4f2fe+0x1)%_0xd2d5ba[_0x1a3a5e(0x199)]];_0x8c198f&&_0x8c198f[_0x1a3a5e(0x18e)]();}(this[_0x46e284(0x19d)][_0x46e284(0x1bc)]),this[_0x46e284(0x17e)](),_0x2babed();}),_0x2fcd41[_0x4a6e78(0x1ba)][_0x4a6e78(0x1b1)](this[_0x4a6e78(0x19d)][_0x4a6e78(0x1bc)]),_0x2fcd41[_0x4a6e78(0x1ba)]['on'](_0x4a6e78(0x1b4),(_0x25447d,_0x3065c9,_0x543291)=>{const _0x477e33=_0x4a6e78;_0x543291||this[_0x477e33(0x17e)]();});}[_0x333a7a(0x17e)](){const _0x4d08ab=_0x333a7a;this[_0x4d08ab(0x1a2)]&&(this[_0x4d08ab(0x19d)][_0x4d08ab(0x17c)][_0x4d08ab(0x172)]=!0x1,this[_0x4d08ab(0x164)][_0x4d08ab(0x196)](),this[_0x4d08ab(0x164)][_0x4d08ab(0x1b5)][_0x4d08ab(0x168)](this[_0x4d08ab(0x1a2)]),this[_0x4d08ab(0x1a2)][_0x4d08ab(0x1ac)](),this[_0x4d08ab(0x1a2)]=void 0x0);}[_0x333a7a(0x1ac)](){const _0x255ea2=_0x333a7a;super[_0x255ea2(0x1ac)](),this[_0x255ea2(0x19d)]&&this[_0x255ea2(0x19d)][_0x255ea2(0x18b)]&&this[_0x255ea2(0x19d)][_0x255ea2(0x1ac)](),this[_0x255ea2(0x1b6)]&&(this[_0x255ea2(0x1b6)][_0x255ea2(0x1ae)](),this[_0x255ea2(0x1b6)][_0x255ea2(0x1ac)](),this[_0x255ea2(0x1b6)]=null);}}function _0x563e(){const _0x5c97fc=['_handleUserRemove','displayMe','isCollapsed','activeElement','allConnectedUsers','isVisible','unpin','8052640AXsqSJ','input','length','presencelist-missing-container','from','9374166nouoFg','view','_handleUserAdd','config','isFocusable','presenceList.displayMe','presenceDropdownView','context','filter','indexOf','offsetWidth','querySelectorAll','select','ck\x20ck-presence-list__balloon','16EMRdxC','presencelist-collapseat-invalid-format','destroy','8832880jxePGB','detachFromDom','452766VISMXj','_allConnectedUsers','add','execute','currentDisplayedUsers','change:isFocused','content','_bodyCollection','body','bind','using','focusTracker','items','element','attachToDom','min','init','class','presenceList.collapseAt','Tab','[contenteditable]','3050650aEokaw','Enter','listenTo','join','counterView','balloonPanelView','button','get','107UrOcRg','remove','locale','1288212KquGsY','appendChild','tabIndex','_createView','[tabindex]','offsetHeight','define','usersCount','isExpanded','map','presenceList.container','checkIfScrollable','presenceList',':not([disabled]):not([tabindex=\x22-1\x22])','showDropdown','render','requires','Esc','inlineListView','21vgfJUb','hideDropdown','isHidden','reverse','keystrokes','hasTooltip','isMe','sort','plugins','15242DwTpBE','pin','number','textarea','onClick','isRendered','Shift+Tab','bindTo','focus','set'];_0x563e=function(){return _0x5c97fc;};return _0x563e();}
|
|
23
|
+
const _0x53554d=_0x5ce3;(function(_0x137137,_0x5d7b78){const _0x27f0c0=_0x5ce3,_0x4b807e=_0x137137();while(!![]){try{const _0x244df0=parseInt(_0x27f0c0(0x1fa))/0x1*(parseInt(_0x27f0c0(0x1ff))/0x2)+-parseInt(_0x27f0c0(0x1df))/0x3+-parseInt(_0x27f0c0(0x1f8))/0x4*(parseInt(_0x27f0c0(0x1dd))/0x5)+-parseInt(_0x27f0c0(0x207))/0x6*(-parseInt(_0x27f0c0(0x1e0))/0x7)+-parseInt(_0x27f0c0(0x1e4))/0x8+-parseInt(_0x27f0c0(0x1fc))/0x9*(-parseInt(_0x27f0c0(0x22d))/0xa)+parseInt(_0x27f0c0(0x1e3))/0xb*(-parseInt(_0x27f0c0(0x1eb))/0xc);if(_0x244df0===_0x5d7b78)break;else _0x4b807e['push'](_0x4b807e['shift']());}catch(_0x1000f2){_0x4b807e['push'](_0x4b807e['shift']());}}}(_0x1ee5,0xf308a));import{ContextPlugin as _0x1594fa}from'ckeditor5/src/core.js';function _0x5ce3(_0x753f1c,_0x3935bb){const _0x1ee5cc=_0x1ee5();return _0x5ce3=function(_0x5ce383,_0x6ab6b7){_0x5ce383=_0x5ce383-0x1cc;let _0x44387f=_0x1ee5cc[_0x5ce383];return _0x44387f;},_0x5ce3(_0x753f1c,_0x3935bb);}import{CKEditorError as _0x1a8337,Collection as _0x22db86}from'ckeditor5/src/utils.js';function _0x1ee5(){const _0x39ffad=['isExpanded','_handleUserAdd','balloonPanelView','appendChild','input','indexOf','view','isMe','sort','onClick','number','Enter',':not([disabled]):not([tabindex=\x22-1\x22])','displayMe','usersCount','length','pin','add','filter','Tab','class','8418320vNnqxa','unpin','155595WDXIVI','5780033mmtbXL','presenceList.container','isRendered','1023EnZgax','6610992QlGUcs','_allConnectedUsers','using','ck\x20ck-presence-list__balloon','presencelist-missing-container','querySelectorAll','focusTracker','67548yqfrAk','isVisible','allConnectedUsers','join','Shift+Tab','execute','focus','inlineListView','element','activeElement','detachFromDom','content','isFocusable','4kHveTp','init','3sfjmby','_handleUserRemove','18chGHCb','body','requires','1136014CNaKJT','min','presenceList.displayMe','hasTooltip','presenceList','locale','render','presenceDropdownView','6eeiKQC','[tabindex]','config','context','hideDropdown','set','remove','isHidden','plugins','presencelist-collapseat-invalid-format','offsetHeight','counterView','define','items','bindTo','from','Esc','currentDisplayedUsers','button','keystrokes','attachToDom','showDropdown','textarea','tabIndex','get','isCollapsed','bind','select','destroy','[contenteditable]','checkIfScrollable','offsetWidth','change:isFocused','listenTo','reverse','_createView','presenceList.collapseAt','_bodyCollection','7755630MAkYuA','map'];_0x1ee5=function(){return _0x39ffad;};return _0x1ee5();}import{clickOutsideHandler as _0x4f6628,BalloonPanelView as _0x5c6760,BodyCollection as _0x6526f4}from'ckeditor5/src/ui.js';import{isElement as _0x4e80a1}from'lodash-es';import _0x43d87e from'../realtimecollaborativeediting/sessions.js';import _0x11a001 from'./view/presencelistview.js';import _0x549de0 from'./view/presencedropdownlistview.js';import _0x1ffd1d from'./view/presencedropdownlistitemview.js';import _0x2e6712 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x1594fa{constructor(_0x2a6f86){const _0xdc2571=_0x5ce3;super(_0x2a6f86),this[_0xdc2571(0x22c)]=null,this[_0xdc2571(0x20a)][_0xdc2571(0x209)][_0xdc2571(0x213)](_0xdc2571(0x203),A);const _0x1fa01d=_0x2a6f86[_0xdc2571(0x209)][_0xdc2571(0x21f)](_0xdc2571(0x22b));if(_0xdc2571(0x1d2)!=typeof _0x1fa01d)throw new _0x1a8337(_0xdc2571(0x210),this);if(_0x1fa01d<0x1)throw new _0x1a8337(_0xdc2571(0x210),this);this[_0xdc2571(0x1e5)]=this[_0xdc2571(0x20a)][_0xdc2571(0x20f)][_0xdc2571(0x21f)](_0x43d87e)[_0xdc2571(0x1ed)],this[_0xdc2571(0x20c)](_0xdc2571(0x1d6),0x0),this[_0xdc2571(0x218)]=new _0x22db86(),this[_0xdc2571(0x231)]=new _0x5c6760(),this[_0xdc2571(0x231)][_0xdc2571(0x1dc)]=_0xdc2571(0x1e7),this[_0xdc2571(0x1ce)]=this[_0xdc2571(0x22a)](),this[_0xdc2571(0x206)]=void 0x0;}static get[_0x53554d(0x1fe)](){return[_0x43d87e];}[_0x53554d(0x1f9)](){const _0x439c94=_0x53554d;for(const _0x3bcb43 of this[_0x439c94(0x1e5)])this[_0x439c94(0x230)](_0x3bcb43);this[_0x439c94(0x228)](this[_0x439c94(0x1e5)],_0x439c94(0x1d9),(_0x4d011e,_0x1c3e95)=>{const _0x533cfb=_0x439c94;this[_0x533cfb(0x230)](_0x1c3e95);}),this[_0x439c94(0x228)](this[_0x439c94(0x1e5)],_0x439c94(0x20d),(_0x19d9e0,_0x58635a)=>{const _0x5eecac=_0x439c94;this[_0x5eecac(0x1fb)](_0x58635a);});}[_0x53554d(0x22a)](){const _0x1a3438=_0x53554d,_0x427a73=this[_0x1a3438(0x20a)],_0x228082=new _0x11a001(this[_0x1a3438(0x20a)][_0x1a3438(0x204)]),_0x4a9b0e=this[_0x1a3438(0x231)];if(!_0x4e80a1(_0x427a73[_0x1a3438(0x209)][_0x1a3438(0x21f)](_0x1a3438(0x1e1))))throw new _0x1a8337(_0x1a3438(0x1e8),this);return _0x228082[_0x1a3438(0x212)][_0x1a3438(0x221)](_0x1a3438(0x1d6))['to'](this),_0x228082[_0x1a3438(0x221)](_0x1a3438(0x220))['to'](this,_0x1a3438(0x1d6),_0x126d46=>{const _0x11a141=_0x1a3438,{collapseAt:_0x5a0e23,displayMe:_0x1f0f2d}=_0x427a73[_0x11a141(0x209)][_0x11a141(0x21f)](_0x11a141(0x203)),_0x5acd03=_0x126d46>=_0x5a0e23;return _0x228082[_0x11a141(0x212)][_0x11a141(0x20e)]=!(0x1==_0x126d46&&_0x1f0f2d||_0x5acd03),_0x5acd03||this[_0x11a141(0x20b)](),_0x5acd03;}),_0x228082[_0x1a3438(0x1f2)][_0x1a3438(0x214)][_0x1a3438(0x215)](this[_0x1a3438(0x218)])[_0x1a3438(0x1e6)](_0x4214ff=>{const _0x4f03b0=_0x1a3438,_0x26601b=_0x427a73[_0x4f03b0(0x209)][_0x4f03b0(0x21f)](_0x4f03b0(0x203)),_0x2a7f5e=new _0x2e6712(_0x427a73[_0x4f03b0(0x204)],_0x4214ff,!!_0x26601b[_0x4f03b0(0x1d1)]);return _0x2a7f5e[_0x4f03b0(0x221)](_0x4f03b0(0x202))['to'](_0x228082,_0x4f03b0(0x220),_0x4afb61=>!_0x4afb61),_0x2a7f5e[_0x4f03b0(0x221)](_0x4f03b0(0x1f7))['to'](_0x228082,_0x4f03b0(0x220),_0x131c0e=>!_0x131c0e),_0x26601b[_0x4f03b0(0x1d1)]&&this[_0x4f03b0(0x228)](_0x2a7f5e,_0x4f03b0(0x1f0),()=>{const _0x46d7a8=_0x4f03b0;this[_0x46d7a8(0x1ce)][_0x46d7a8(0x220)]||_0x26601b[_0x46d7a8(0x1d1)](_0x4214ff,_0x2a7f5e[_0x46d7a8(0x1f3)]);}),_0x2a7f5e;}),this[_0x1a3438(0x228)](_0x228082[_0x1a3438(0x1f2)],_0x1a3438(0x1f0),()=>{const _0x5c2891=_0x1a3438;this[_0x5c2891(0x206)]?this[_0x5c2891(0x20b)]():this[_0x5c2891(0x1ce)][_0x5c2891(0x220)]&&this[_0x5c2891(0x21c)]();}),_0x228082[_0x1a3438(0x1f2)][_0x1a3438(0x21a)][_0x1a3438(0x20c)](_0x1a3438(0x1d3),(_0x530b6d,_0xe3aabd)=>{const _0x52d63f=_0x1a3438;this[_0x52d63f(0x1ce)][_0x52d63f(0x220)]&&(this[_0x52d63f(0x21c)](),_0xe3aabd());}),_0x228082[_0x1a3438(0x205)](),_0x4a9b0e[_0x1a3438(0x205)](),_0x4f6628({'emitter':_0x228082,'activator':()=>_0x4a9b0e[_0x1a3438(0x1ec)],'contextElements':[_0x4a9b0e[_0x1a3438(0x1f3)],_0x228082[_0x1a3438(0x1f2)][_0x1a3438(0x1f3)]],'callback':()=>this[_0x1a3438(0x20b)]()}),_0x427a73[_0x1a3438(0x209)][_0x1a3438(0x21f)](_0x1a3438(0x1e1))[_0x1a3438(0x232)](_0x228082[_0x1a3438(0x1f3)]),this[_0x1a3438(0x22c)]=new _0x6526f4(this[_0x1a3438(0x20a)][_0x1a3438(0x204)]),this[_0x1a3438(0x22c)][_0x1a3438(0x21b)](),this[_0x1a3438(0x22c)][_0x1a3438(0x1d9)](this[_0x1a3438(0x231)]),_0x228082;}[_0x53554d(0x230)](_0x3b5692){const _0x5d0127=_0x53554d;if(!this[_0x5d0127(0x20a)][_0x5d0127(0x209)][_0x5d0127(0x21f)](_0x5d0127(0x201))&&_0x3b5692[_0x5d0127(0x1cf)])return;const _0x1a533a=this[_0x5d0127(0x20a)][_0x5d0127(0x209)][_0x5d0127(0x21f)](_0x5d0127(0x22b))-0x1;this[_0x5d0127(0x1d6)]++,this[_0x5d0127(0x218)][_0x5d0127(0x1d7)]==_0x1a533a&&this[_0x5d0127(0x218)][_0x5d0127(0x1d7)]>0x1&&this[_0x5d0127(0x218)][_0x5d0127(0x20d)](0x1);const _0x413670=_0x3b5692[_0x5d0127(0x1cf)]?0x0:this[_0x5d0127(0x218)][_0x5d0127(0x1d7)];this[_0x5d0127(0x218)][_0x5d0127(0x1d9)](_0x3b5692,_0x413670);}[_0x53554d(0x1fb)](_0x502735){const _0x41c154=_0x53554d;if(this[_0x41c154(0x1d6)]--,this[_0x41c154(0x218)][_0x41c154(0x21f)](_0x502735['id'])&&(this[_0x41c154(0x218)][_0x41c154(0x20d)](_0x502735['id']),this[_0x41c154(0x218)][_0x41c154(0x1d7)]<this[_0x41c154(0x1d6)])){for(const _0x2e9dd2 of Array[_0x41c154(0x216)](this[_0x41c154(0x1e5)])[_0x41c154(0x229)]())if(!this[_0x41c154(0x218)][_0x41c154(0x21f)](_0x2e9dd2['id']))return void this[_0x41c154(0x218)][_0x41c154(0x1d9)](_0x2e9dd2,Math[_0x41c154(0x200)](this[_0x41c154(0x218)][_0x41c154(0x1d7)],0x1));}}[_0x53554d(0x21c)](){const _0x2c82cf=_0x53554d;if(this[_0x2c82cf(0x206)])return;const _0x5cc756=this[_0x2c82cf(0x20a)][_0x2c82cf(0x209)][_0x2c82cf(0x21f)](_0x2c82cf(0x203));this[_0x2c82cf(0x206)]=new _0x549de0(this[_0x2c82cf(0x20a)][_0x2c82cf(0x204)],!!_0x5cc756[_0x2c82cf(0x1d1)]),this[_0x2c82cf(0x1ce)][_0x2c82cf(0x1f2)][_0x2c82cf(0x22f)]=!0x0;const {listWrapperView:_0x5ea757}=this[_0x2c82cf(0x206)];_0x5ea757[_0x2c82cf(0x214)][_0x2c82cf(0x215)](this[_0x2c82cf(0x1e5)])[_0x2c82cf(0x1e6)](_0x5b2673=>{const _0x41d505=_0x2c82cf;if(!_0x5cc756[_0x41d505(0x1d5)]&&_0x5b2673[_0x41d505(0x1cf)])return null;const _0x17710a=new _0x1ffd1d(this[_0x41d505(0x20a)][_0x41d505(0x204)],_0x5b2673,!!_0x5cc756[_0x41d505(0x1d1)]);return _0x5cc756[_0x41d505(0x1d1)]&&this[_0x41d505(0x228)](_0x17710a,_0x41d505(0x1f0),()=>{const _0x294c7c=_0x41d505;_0x5cc756[_0x294c7c(0x1d1)](_0x5b2673,_0x17710a[_0x294c7c(0x1f3)]);}),_0x17710a;}),this[_0x2c82cf(0x231)][_0x2c82cf(0x1f6)][_0x2c82cf(0x1d9)](this[_0x2c82cf(0x206)]),this[_0x2c82cf(0x231)][_0x2c82cf(0x1d8)]({'target':this[_0x2c82cf(0x1ce)][_0x2c82cf(0x1f2)][_0x2c82cf(0x1f3)]}),_0x5ea757[_0x2c82cf(0x1f1)](),_0x5ea757[_0x2c82cf(0x225)]();const _0x43f960=(_0x13b7fa,_0x856d0a)=>{const _0x27b1ab=_0x2c82cf;this[_0x27b1ab(0x20b)](),this[_0x27b1ab(0x1ce)][_0x27b1ab(0x1f2)][_0x27b1ab(0x1f1)](),_0x856d0a();};_0x5ea757[_0x2c82cf(0x21a)][_0x2c82cf(0x20c)](_0x2c82cf(0x217),_0x43f960),_0x5ea757[_0x2c82cf(0x21a)][_0x2c82cf(0x20c)](_0x2c82cf(0x1ef),_0x43f960),_0x5ea757[_0x2c82cf(0x21a)][_0x2c82cf(0x20c)](_0x2c82cf(0x1db),(_0x979cc2,_0x384cc1)=>{const _0x2e2438=_0x2c82cf;!function(_0x5d8db6){const _0x277f14=_0x5ce3,_0x5ae470=['a',_0x277f14(0x219),_0x277f14(0x1cc),_0x277f14(0x222),_0x277f14(0x21d),_0x277f14(0x208),_0x277f14(0x224)][_0x277f14(0x22e)](_0x1c9b0f=>_0x1c9b0f+_0x277f14(0x1d4))[_0x277f14(0x1ee)](','),_0x37fd63=[...document[_0x277f14(0x1fd)][_0x277f14(0x1e9)](_0x5ae470)][_0x277f14(0x1da)](_0x38d53e=>_0x38d53e===document[_0x277f14(0x1f4)]||_0x38d53e[_0x277f14(0x226)]+_0x38d53e[_0x277f14(0x211)]>0x0)[_0x277f14(0x1d0)]((_0x39e7f8,_0x358b26)=>(_0x39e7f8[_0x277f14(0x21e)]||0x0)-(_0x358b26[_0x277f14(0x21e)]||0x0)),_0xcf3c14=_0x37fd63[_0x277f14(0x1cd)](_0x5d8db6),_0x856505=_0x37fd63[(_0xcf3c14+0x1)%_0x37fd63[_0x277f14(0x1d7)]];_0x856505&&_0x856505[_0x277f14(0x1f1)]();}(this[_0x2e2438(0x1ce)][_0x2e2438(0x1f3)]),this[_0x2e2438(0x20b)](),_0x384cc1();}),_0x5ea757[_0x2c82cf(0x1ea)][_0x2c82cf(0x1d9)](this[_0x2c82cf(0x1ce)][_0x2c82cf(0x1f3)]),_0x5ea757[_0x2c82cf(0x1ea)]['on'](_0x2c82cf(0x227),(_0x427e8e,_0x1bb0ae,_0x3c2f51)=>{const _0x2cdcee=_0x2c82cf;_0x3c2f51||this[_0x2cdcee(0x20b)]();});}[_0x53554d(0x20b)](){const _0x222211=_0x53554d;this[_0x222211(0x206)]&&(this[_0x222211(0x1ce)][_0x222211(0x1f2)][_0x222211(0x22f)]=!0x1,this[_0x222211(0x231)][_0x222211(0x1de)](),this[_0x222211(0x231)][_0x222211(0x1f6)][_0x222211(0x20d)](this[_0x222211(0x206)]),this[_0x222211(0x206)][_0x222211(0x223)](),this[_0x222211(0x206)]=void 0x0);}[_0x53554d(0x223)](){const _0x494f32=_0x53554d;super[_0x494f32(0x223)](),this[_0x494f32(0x1ce)]&&this[_0x494f32(0x1ce)][_0x494f32(0x1e2)]&&this[_0x494f32(0x1ce)][_0x494f32(0x223)](),this[_0x494f32(0x22c)]&&(this[_0x494f32(0x22c)][_0x494f32(0x1f5)](),this[_0x494f32(0x22c)][_0x494f32(0x223)](),this[_0x494f32(0x22c)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xd4f476,_0x43e611){const _0x4c70e5=_0xc871,_0x4d832c=_0xd4f476();while(!![]){try{const _0x4a5458=-parseInt(_0x4c70e5(0xb4))/0x1*(parseInt(_0x4c70e5(0xab))/0x2)+-parseInt(_0x4c70e5(0xa8))/0x3*(-parseInt(_0x4c70e5(0xaf))/0x4)+-parseInt(_0x4c70e5(0xb0))/0x5+parseInt(_0x4c70e5(0xad))/0x6+parseInt(_0x4c70e5(0xb7))/0x7+parseInt(_0x4c70e5(0xae))/0x8+parseInt(_0x4c70e5(0xaa))/0x9;if(_0x4a5458===_0x43e611)break;else _0x4d832c['push'](_0x4d832c['shift']());}catch(_0x523b23){_0x4d832c['push'](_0x4d832c['shift']());}}}(_0x28ad,0x5bf94));function _0xc871(_0x146d79,_0x26ace6){const _0x28ada2=_0x28ad();return _0xc871=function(_0xc8711a,_0x197d41){_0xc8711a=_0xc8711a-0xa8;let _0x2626d6=_0x28ada2[_0xc8711a];return _0x2626d6;},_0xc871(_0x146d79,_0x26ace6);}import{View as _0x19d5f3}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ecfe0}from'../../common-translations.js';export default class ts extends _0x19d5f3{constructor(_0x4b34d9){const _0x81e3c7=_0xc871;super(_0x4b34d9);const _0x5ee45d=this[_0x81e3c7(0xa9)];this[_0x81e3c7(0xb2)](_0x81e3c7(0xb1),0x0),this[_0x81e3c7(0xb2)](_0x81e3c7(0xb8),!0x0),this[_0x81e3c7(0xac)]({'tag':_0x81e3c7(0xb6),'attributes':{'class':['ck',_0x81e3c7(0xb9),_0x5ee45d['if'](_0x81e3c7(0xb8),_0x81e3c7(0xb3))]},'children':[{'text':_0x5ee45d['to'](_0x81e3c7(0xb1),_0x1ccf46=>_0x5ecfe0(_0x4b34d9,_0x81e3c7(0xb5),_0x1ccf46))}]});}}function _0x28ad(){const _0x5b48f1=['638351aJFYCW','CONNECTED_USERS','div','3040793LHRHUg','isHidden','ck-presence-list__counter','15711yvUFQl','bindTemplate','2615517TRXbVL','2ymWLoA','setTemplate','1241544ZrQrvM','171912gxFjFY','148fWIlBk','660595dFHBGi','usersCount','set','ck-presence-list__counter--hidden'];_0x28ad=function(){return _0x5b48f1;};return _0x28ad();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31a60d=_0x2a9d;function _0x2a9d(_0x26fbc7,_0x5be68c){const _0x4139ed=_0x4139();return _0x2a9d=function(_0x2a9d14,_0x58be01){_0x2a9d14=_0x2a9d14-0x115;let _0x59ae3e=_0x4139ed[_0x2a9d14];return _0x59ae3e;},_0x2a9d(_0x26fbc7,_0x5be68c);}(function(_0x10741c,_0x201c9a){const _0x2a8109=_0x2a9d,_0x1e1740=_0x10741c();while(!![]){try{const _0x5ea51b=parseInt(_0x2a8109(0x119))/0x1*(-parseInt(_0x2a8109(0x12f))/0x2)+-parseInt(_0x2a8109(0x11c))/0x3*(parseInt(_0x2a8109(0x12b))/0x4)+-parseInt(_0x2a8109(0x11e))/0x5*(-parseInt(_0x2a8109(0x130))/0x6)+-parseInt(_0x2a8109(0x129))/0x7*(-parseInt(_0x2a8109(0x11a))/0x8)+-parseInt(_0x2a8109(0x127))/0x9*(parseInt(_0x2a8109(0x118))/0xa)+-parseInt(_0x2a8109(0x116))/0xb*(parseInt(_0x2a8109(0x133))/0xc)+parseInt(_0x2a8109(0x12c))/0xd*(parseInt(_0x2a8109(0x117))/0xe);if(_0x5ea51b===_0x201c9a)break;else _0x1e1740['push'](_0x1e1740['shift']());}catch(_0x269f36){_0x1e1740['push'](_0x1e1740['shift']());}}}(_0x4139,0x4b6ff));function _0x4139(){const _0x31d02c=['ck-presence-list__marker','userView','bindTemplate','getBackgroundColorClass','fire','focus','button','53793LbLPIL','color','827876RJHBYD','name','8vgUwCt','17933669wVAOUQ','element','setTemplate','353986UETUgA','423246GThSoQ','ck-user__full-name','presentation','804rqCEVY','true','execute','38093jBnNuw','14KKqyky','940MLgUBv','2pnrvuL','40yNwdim','span','876837kTXQEA','ck-presence-list__dropdown-list-item','5tVhRLp','tag'];_0x4139=function(){return _0x31d02c;};return _0x4139();}import{ListItemView as _0x2169c0}from'ckeditor5/src/ui.js';import{UserView as _0x5a04c2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x2169c0{constructor(_0x3de5cd,_0x4e9cac,_0x3a3651){const _0x4886dd=_0x2a9d;super(_0x3de5cd);const _0x16676e=this[_0x4886dd(0x122)];this[_0x4886dd(0x121)]=new _0x5a04c2(_0x3de5cd,_0x4e9cac);const _0x37f775={'tag':'li','attributes':{'class':['ck',_0x4886dd(0x11d)],'tabindex':-0x1,'role':_0x4886dd(0x132),'aria-label':_0x4e9cac[_0x4886dd(0x12a)]},'children':[this[_0x4886dd(0x121)],{'tag':_0x4886dd(0x11b),'attributes':{'class':['ck',_0x4886dd(0x131)]},'children':[{'text':_0x4e9cac[_0x4886dd(0x12a)]}]},{'tag':_0x4886dd(0x11b),'attributes':{'class':['ck',_0x4886dd(0x120),_0x4e9cac[_0x4886dd(0x128)][_0x4886dd(0x123)]()],'aria-hidden':_0x4886dd(0x134)}}]};_0x3a3651&&(_0x37f775[_0x4886dd(0x11f)]=_0x4886dd(0x126),_0x37f775['on']={'click':_0x16676e['to'](()=>this[_0x4886dd(0x124)](_0x4886dd(0x115)))}),this[_0x4886dd(0x12e)](_0x37f775);}[_0x31a60d(0x125)](){const _0x314142=_0x31a60d;this[_0x314142(0x12d)][_0x314142(0x125)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e7f15=_0x1db8;(function(_0x2310e9,_0x125af6){const _0x25382e=_0x1db8,_0x12168b=_0x2310e9();while(!![]){try{const _0x2450a4=-parseInt(_0x25382e(0x199))/0x1*(-parseInt(_0x25382e(0x189))/0x2)+parseInt(_0x25382e(0x191))/0x3*(-parseInt(_0x25382e(0x192))/0x4)+-parseInt(_0x25382e(0x1a0))/0x5+parseInt(_0x25382e(0x184))/0x6+-parseInt(_0x25382e(0x1a4))/0x7*(parseInt(_0x25382e(0x187))/0x8)+-parseInt(_0x25382e(0x195))/0x9*(-parseInt(_0x25382e(0x1a6))/0xa)+parseInt(_0x25382e(0x19a))/0xb*(parseInt(_0x25382e(0x185))/0xc);if(_0x2450a4===_0x125af6)break;else _0x12168b['push'](_0x12168b['shift']());}catch(_0x3e3196){_0x12168b['push'](_0x12168b['shift']());}}}(_0x86ff,0x1a44c));function _0x1db8(_0x8da5a5,_0xd3cb4d){const _0x86ff8e=_0x86ff();return _0x1db8=function(_0x1db88d,_0xce98f3){_0x1db88d=_0x1db88d-0x182;let _0x37e725=_0x86ff8e[_0x1db88d];return _0x37e725;},_0x1db8(_0x8da5a5,_0xd3cb4d);}import{ListView as _0x527b32,View as _0xa8f38c}from'ckeditor5/src/ui.js';function _0x86ff(){const _0x5669d0=['innerHeight','set','application','12tIffZc','168152KwvCZd','ariaLabelledBy','ck-presence-list__dropdown-list-wrapper_scrollable','207kTKErd','ck-reset','checkIfScrollable','listenTo','22242pvXfRM','11ufUzvq','_isScrollable','ck-presence-list__dropdown-list','element','ck-presence-list__dropdown-list-wrapper','setTemplate','236255edpxko','items','change','window','1358ROLPML','clientHeight','41930xNLGbu','scrollHeight','Connected\x20users\x20list\x20dropdown\x20menu','max','ck-list','resize','792906RUYLjA','1636572koQMbl','div','2648FoxHvs','listWrapperView','2RvZVBi','bindTemplate','render','ariaLabel','role'];_0x86ff=function(){return _0x5669d0;};return _0x86ff();}import{global as _0x27ed8e}from'ckeditor5/src/utils.js';import{getTranslation as _0x1c2de8}from'../../common-translations.js';export default class j extends _0xa8f38c{constructor(_0x43e68f,_0x10d11c){const _0x3bccea=_0x1db8;super(_0x43e68f),this[_0x3bccea(0x188)]=new PresenceDropdownListWrapperView(_0x43e68f,_0x10d11c),this[_0x3bccea(0x19f)]({'tag':_0x3bccea(0x186),'attributes':{'tabindex':-0x1,'role':_0x3bccea(0x190),'class':['ck',_0x3bccea(0x19c)],'aria-label':_0x1c2de8(_0x43e68f,_0x3bccea(0x1a8))},'children':[this[_0x3bccea(0x188)]]});}}export class PresenceDropdownListWrapperView extends _0x527b32{constructor(_0x2c7b51,_0xac367){const _0x5bd37=_0x1db8;super(_0x2c7b51);const _0x47f0fc=this[_0x5bd37(0x18a)];this[_0x5bd37(0x18f)](_0x5bd37(0x19b),!0x1),this[_0x5bd37(0x19f)]({'tag':_0xac367?_0x5bd37(0x186):'ul','attributes':{'class':['ck',_0x5bd37(0x196),_0x5bd37(0x182),_0x5bd37(0x19e),_0x47f0fc['if'](_0x5bd37(0x19b),_0x5bd37(0x194))],'role':_0x47f0fc['to'](_0x5bd37(0x18d)),'aria-label':_0x47f0fc['to'](_0x5bd37(0x18c)),'aria-labelledby':_0x47f0fc['to'](_0x5bd37(0x193))},'children':this[_0x5bd37(0x1a1)]}),this[_0x5bd37(0x198)](_0x27ed8e[_0x5bd37(0x1a3)],_0x5bd37(0x183),()=>this[_0x5bd37(0x197)]()),this[_0x5bd37(0x1a1)]['on'](_0x5bd37(0x1a2),()=>this[_0x5bd37(0x197)]());}[_0x4e7f15(0x18b)](){const _0x3f806a=_0x4e7f15;super[_0x3f806a(0x18b)](),this[_0x3f806a(0x197)]();}[_0x4e7f15(0x197)](){const _0x47c8c1=_0x4e7f15,_0x5e99c1=this[_0x47c8c1(0x19d)];_0x5e99c1&&(this[_0x47c8c1(0x19b)]=Math[_0x47c8c1(0x1a9)](_0x5e99c1[_0x47c8c1(0x1a7)],_0x5e99c1[_0x47c8c1(0x1a5)])>0.8*window[_0x47c8c1(0x18e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4df6(){const _0x5411c7=['button','416708coIqZY','set','setTemplate','688632AnDwdN','56mkAHoO','bindTemplate','listitem','execute','userView','div','span','ck-presence-list__list-item','color','ck-presence-list__marker','hasTooltip','1442568nDAaNg','getBackgroundColorClass','isFocusable','true','ck-presence-list__list-item__tooltip','946590bMjJxF','fire','48680kSFGij','markerView','name','2250795VhpOpn','tag','tooltipPosition','1663860Apghdd','text','template'];_0x4df6=function(){return _0x5411c7;};return _0x4df6();}(function(_0x1b9b88,_0x1653c5){const _0x58333a=_0xf8a6,_0x3d84a9=_0x1b9b88();while(!![]){try{const _0x11f74c=-parseInt(_0x58333a(0xdf))/0x1+parseInt(_0x58333a(0xe9))/0x2+-parseInt(_0x58333a(0xdd))/0x3+parseInt(_0x58333a(0xd8))/0x4+parseInt(_0x58333a(0xe2))/0x5+parseInt(_0x58333a(0xe5))/0x6+parseInt(_0x58333a(0xec))/0x7*(-parseInt(_0x58333a(0xed))/0x8);if(_0x11f74c===_0x1653c5)break;else _0x3d84a9['push'](_0x3d84a9['shift']());}catch(_0x481733){_0x3d84a9['push'](_0x3d84a9['shift']());}}}(_0x4df6,0x3b7a7));import{LabelView as _0x44410b,View as _0x3ba1d8}from'ckeditor5/src/ui.js';import{UserView as _0x1c87e0}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x3ba1d8{constructor(_0x511245,_0x289fed,_0x1f8c4c){const _0x34568e=_0xf8a6;super(_0x511245);const _0x16e63e=this[_0x34568e(0xee)];this[_0x34568e(0xea)](_0x34568e(0xda),!0x1),this[_0x34568e(0xea)](_0x34568e(0xf7),!0x0),this[_0x34568e(0xea)](_0x34568e(0xe4),''),this[_0x34568e(0xf1)]=new _0x1c87e0(_0x511245,_0x289fed),this[_0x34568e(0xe0)]=new ct(_0x511245,_0x289fed);const _0x41abc7=new _0x44410b(_0x511245);_0x41abc7[_0x34568e(0xe7)][_0x34568e(0xe3)]=_0x34568e(0xf3),_0x41abc7[_0x34568e(0xe6)]=_0x289fed[_0x34568e(0xe1)];const _0x436597={'tag':_0x34568e(0xf2),'attributes':{'class':['ck',_0x34568e(0xf4)],'role':_0x34568e(0xef),'tabindex':_0x16e63e['to'](_0x34568e(0xda),_0x45641a=>!!_0x45641a&&0x0),'aria-labelledby':_0x41abc7['id'],'data-cke-tooltip-text':this[_0x34568e(0xf1)][_0x34568e(0xe1)],'data-cke-tooltip-position':_0x16e63e['to'](_0x34568e(0xe4)),'data-cke-tooltip-disabled':_0x16e63e['to'](_0x34568e(0xf7),_0x267e5d=>!_0x267e5d),'data-cke-tooltip-class':_0x34568e(0xdc)},'children':[this[_0x34568e(0xf1)],this[_0x34568e(0xe0)],_0x41abc7]};_0x1f8c4c&&(_0x436597[_0x34568e(0xe3)]=_0x34568e(0xe8),_0x436597['on']={'click':_0x16e63e['to'](()=>this[_0x34568e(0xde)](_0x34568e(0xf0)))}),this[_0x34568e(0xeb)](_0x436597);}}function _0xf8a6(_0x5312d4,_0x47474b){const _0x4df6b7=_0x4df6();return _0xf8a6=function(_0xf8a665,_0x3a4d53){_0xf8a665=_0xf8a665-0xd8;let _0x3c122f=_0x4df6b7[_0xf8a665];return _0x3c122f;},_0xf8a6(_0x5312d4,_0x47474b);}class ct extends _0x3ba1d8{constructor(_0x40beb4,_0x38000b){const _0x17b686=_0xf8a6;super(_0x40beb4),this[_0x17b686(0xeb)]({'tag':_0x17b686(0xf3),'attributes':{'class':['ck',_0x17b686(0xf6),_0x38000b[_0x17b686(0xf5)][_0x17b686(0xd9)]()],'aria-hidden':_0x17b686(0xdb)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ea3b7=_0x80cb;(function(_0x7fce23,_0x2192c1){const _0x2f2411=_0x80cb,_0xf3b53d=_0x7fce23();while(!![]){try{const _0x4e54c=parseInt(_0x2f2411(0x97))/0x1*(parseInt(_0x2f2411(0xaa))/0x2)+parseInt(_0x2f2411(0x93))/0x3+-parseInt(_0x2f2411(0xa8))/0x4*(-parseInt(_0x2f2411(0x9d))/0x5)+parseInt(_0x2f2411(0xab))/0x6*(parseInt(_0x2f2411(0x94))/0x7)+parseInt(_0x2f2411(0x92))/0x8+-parseInt(_0x2f2411(0x99))/0x9+-parseInt(_0x2f2411(0x8c))/0xa;if(_0x4e54c===_0x2192c1)break;else _0xf3b53d['push'](_0xf3b53d['shift']());}catch(_0xf1746a){_0xf3b53d['push'](_0xf3b53d['shift']());}}}(_0x4bf4,0xec0ac));import{View as _0x442c7c}from'ckeditor5/src/ui.js';function _0x80cb(_0x43cc4e,_0x4ef9f4){const _0x4bf44e=_0x4bf4();return _0x80cb=function(_0x80cbd,_0x1350ad){_0x80cbd=_0x80cbd-0x8b;let _0x22b9c5=_0x4bf44e[_0x80cbd];return _0x22b9c5;},_0x80cb(_0x43cc4e,_0x4ef9f4);}import{KeystrokeHandler as _0x5af0d0}from'ckeditor5/src/utils.js';import{getTranslation as _0x32195e}from'../../common-translations.js';function _0x4bf4(){const _0x51fcee=['removeAttribute','element','10jzgpeH','isExpanded','hasPopup','render','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','listenTo','aria-expanded','Connected\x20users\x20list','bindTemplate','fire','1667172CztsaF','div','1266614cwWBIm','1079274VBnyvt','items','23010040oWBFgA','execute','setTemplate','setAttribute','keystrokes','change:hasPopup','11191504mafYLB','1003710bLWoHQ','7wEDmfD','set','list','3DblFgz','focus','12411558NtLgSj','ck-presence-list__list'];_0x4bf4=function(){return _0x51fcee;};return _0x4bf4();}export default class es extends _0x442c7c{constructor(_0x47dee6){const _0x2cf572=_0x80cb;super(_0x47dee6);const _0x18e1dc=this[_0x2cf572(0xa6)];this[_0x2cf572(0x8b)]=this[_0x2cf572(0xa2)](),this[_0x2cf572(0x90)]=new _0x5af0d0(),this[_0x2cf572(0x95)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2cf572(0x8e)]({'tag':_0x2cf572(0xa9),'attributes':{'aria-haspopup':_0x18e1dc['if'](_0x2cf572(0x9f)),'aria-expanded':_0x18e1dc['to'](_0x2cf572(0x9e),_0x31975f=>this[_0x2cf572(0x9f)]&&String(_0x31975f)),'aria-label':_0x18e1dc['to'](_0x2cf572(0x9f),_0x8e1fe5=>_0x32195e(_0x47dee6,_0x8e1fe5?_0x2cf572(0xa1):_0x2cf572(0xa5))),'role':_0x2cf572(0x96),'tabindex':_0x18e1dc['to'](_0x2cf572(0x9f),_0x30c6c7=>!!_0x30c6c7&&0x0),'class':['ck',_0x2cf572(0x9a)]},'children':this[_0x2cf572(0x8b)],'on':{'click':_0x18e1dc['to'](()=>this[_0x2cf572(0xa7)](_0x2cf572(0x8d)))}}),this['on'](_0x2cf572(0x91),(_0xdc0ba,_0x3f4e5d,_0x5ae0e4)=>{const _0x40b228=_0x2cf572;this[_0x40b228(0x9c)]&&(_0x5ae0e4?this[_0x40b228(0x9c)][_0x40b228(0x8f)](_0x40b228(0xa4),String(this[_0x40b228(0x9e)])):this[_0x40b228(0x9c)][_0x40b228(0x9b)](_0x40b228(0xa4)));});}[_0x5ea3b7(0x98)](){const _0x173de2=_0x5ea3b7;this[_0x173de2(0x9c)][_0x173de2(0x98)]();}[_0x5ea3b7(0xa0)](){const _0x47407c=_0x5ea3b7;super[_0x47407c(0xa0)](),this[_0x47407c(0x90)][_0x47407c(0xa3)](this[_0x47407c(0x9c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3e55(_0x3412ff,_0x4ce797){const _0x2694cf=_0x2694();return _0x3e55=function(_0x3e55c5,_0x4e4aed){_0x3e55c5=_0x3e55c5-0xad;let _0x269f42=_0x2694cf[_0x3e55c5];return _0x269f42;},_0x3e55(_0x3412ff,_0x4ce797);}(function(_0x5ddd97,_0x489502){const _0x5c3450=_0x3e55,_0x56333f=_0x5ddd97();while(!![]){try{const _0x28b44b=-parseInt(_0x5c3450(0xc5))/0x1+-parseInt(_0x5c3450(0xc8))/0x2+parseInt(_0x5c3450(0xb3))/0x3*(parseInt(_0x5c3450(0xbb))/0x4)+parseInt(_0x5c3450(0xc9))/0x5*(parseInt(_0x5c3450(0xc7))/0x6)+-parseInt(_0x5c3450(0xbf))/0x7*(-parseInt(_0x5c3450(0xba))/0x8)+parseInt(_0x5c3450(0xb1))/0x9+-parseInt(_0x5c3450(0xb4))/0xa;if(_0x28b44b===_0x489502)break;else _0x56333f['push'](_0x56333f['shift']());}catch(_0x2629f5){_0x56333f['push'](_0x56333f['shift']());}}}(_0x2694,0xd33bc));import{View as _0x37ecd6}from'ckeditor5/src/ui.js';import _0x4cf245 from'./presencecounterview.js';import _0x26d04c from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class L extends _0x37ecd6{constructor(_0x37c8bc){const _0x45e013=_0x3e55;super(_0x37c8bc);const _0x175c4c=this[_0x45e013(0xb6)];this[_0x45e013(0xbe)](_0x45e013(0xc4),!0x0),this[_0x45e013(0xc0)]=new _0x4cf245(this[_0x45e013(0xb7)]),this[_0x45e013(0xb9)]=new _0x26d04c(_0x37c8bc),this[_0x45e013(0xb9)][_0x45e013(0xaf)](_0x45e013(0xbd))['to'](this,_0x45e013(0xc4)),this[_0x45e013(0xae)](this[_0x45e013(0xb9)][_0x45e013(0xb2)],_0x45e013(0xc6),()=>{const _0x4b3114=_0x45e013;for(const _0x56b950 of this[_0x4b3114(0xb9)][_0x4b3114(0xb2)])_0x56b950[_0x4b3114(0xb5)]='s';this[_0x4b3114(0xb9)][_0x4b3114(0xb2)][_0x4b3114(0xc1)]&&(this[_0x4b3114(0xb9)][_0x4b3114(0xb2)][_0x4b3114(0xc1)][_0x4b3114(0xb5)]='se');}),this[_0x45e013(0xbc)]({'tag':_0x45e013(0xb8),'attributes':{'class':['ck',_0x45e013(0xc2),_0x45e013(0xc3),_0x45e013(0xad),_0x175c4c['if'](_0x45e013(0xc4),_0x45e013(0xb0))]},'children':[this[_0x45e013(0xc0)],this[_0x45e013(0xb9)]]});}}function _0x2694(){const _0x513d56=['inlineListView','10309496XMKAYr','1857684NOYXBY','setTemplate','hasPopup','set','7IELpLU','counterView','first','ck-presence-list','ck-reset','isCollapsed','444432fxtHnG','change','61014qroYSL','1507294LzQfuY','555EEIIEd','ck-rounded-corners','listenTo','bind','ck-presence-list--collapsed','10476666VtnYka','items','3BTnFgO','19826500jTYVOO','tooltipPosition','bindTemplate','locale','div'];_0x2694=function(){return _0x513d56;};return _0x2694();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xeb0a(_0x38aa4,_0x340b2f){const _0x1a331d=_0x1a33();return _0xeb0a=function(_0xeb0a4b,_0x32b7a1){_0xeb0a4b=_0xeb0a4b-0x6b;let _0x54c731=_0x1a331d[_0xeb0a4b];return _0x54c731;},_0xeb0a(_0x38aa4,_0x340b2f);}const _0x157489=_0xeb0a;(function(_0x11f6ca,_0x5f2f58){const _0x3e05af=_0xeb0a,_0xc93dac=_0x11f6ca();while(!![]){try{const _0x3a85c8=parseInt(_0x3e05af(0xb9))/0x1*(-parseInt(_0x3e05af(0x82))/0x2)+parseInt(_0x3e05af(0xbf))/0x3*(-parseInt(_0x3e05af(0xc3))/0x4)+-parseInt(_0x3e05af(0x9b))/0x5*(-parseInt(_0x3e05af(0xcf))/0x6)+-parseInt(_0x3e05af(0x7f))/0x7*(-parseInt(_0x3e05af(0xb1))/0x8)+parseInt(_0x3e05af(0x88))/0x9*(-parseInt(_0x3e05af(0xb0))/0xa)+-parseInt(_0x3e05af(0x7c))/0xb+parseInt(_0x3e05af(0xba))/0xc*(parseInt(_0x3e05af(0xb6))/0xd);if(_0x3a85c8===_0x5f2f58)break;else _0xc93dac['push'](_0xc93dac['shift']());}catch(_0x4be24d){_0xc93dac['push'](_0xc93dac['shift']());}}}(_0x1a33,0x84d5a));import{Context as _0x45bb07,ContextPlugin as _0x6f5ad6}from'ckeditor5/src/core.js';import{CKEditorError as _0x4bb878}from'ckeditor5/src/utils.js';import{Users as _0x200940}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4502a9,User as _0xd21ee4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x721b1a from'../realtimecollaborativeediting/websocketgateway.js';import _0x332c82 from'../realtimecollaborativeediting/sessions.js';class a extends _0x6f5ad6{static get[_0x157489(0x86)](){const _0x5e2e02=_0x157489;return[_0x721b1a,_0x5e2e02(0xcc),_0x332c82,_0x200940];}static get[_0x157489(0x70)](){const _0x360a47=_0x157489;return _0x360a47(0x90);}static get[_0x157489(0xa3)](){return!0x0;}static get[_0x157489(0x97)](){return!0x0;}constructor(_0xe4acc4){const _0x2ab5ca=_0x157489;super(_0xe4acc4),this[_0x2ab5ca(0x7a)]=new Map();}async[_0x157489(0xac)](){const _0x332e8f=_0x157489,_0x2e29d6=this[_0x332e8f(0x7e)],_0xf4f25b=_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x332e8f(0xcc));if(_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x721b1a)[_0x332e8f(0x6f)](this),_0xf4f25b[_0x332e8f(0x71)]={'addCommentThread':async({channelId:_0x175780,threadId:_0x2d7ac9,comments:_0x3834dc,resolvedAt:_0x2a623a,resolvedBy:_0x5b375e,context:_0x70653d,attributes:_0x906dde})=>{const _0x554d57=_0x332e8f,_0x1b1a2d=await this[_0x554d57(0xab)](_0x175780)[_0x554d57(0xa5)]({'commentThreadId':_0x2d7ac9,'comments':_0x3834dc[_0x554d57(0xaa)](_0x1c992f=>function(_0x402884,_0x470da8,_0x326cc5){const _0x35ee0a=_0x554d57;return{'commentThreadId':_0x326cc5,'commentId':_0x402884[_0x35ee0a(0x8c)],'userId':_0x402884[_0x35ee0a(0x7b)],'content':_0x402884[_0x35ee0a(0x89)],'documentId':_0x470da8,'createdAt':_0x402884[_0x35ee0a(0x93)],'attributes':_0x402884[_0x35ee0a(0xa7)]||{}};}(_0x1c992f,_0x175780,_0x2d7ac9)),'resolvedAt':_0x2a623a,'resolvedBy':_0x5b375e,'context':_0x70653d,'attributes':_0x906dde})[_0x554d57(0xa8)](w);return{'threadId':_0x1b1a2d[_0x554d57(0xc9)],'comments':_0x1b1a2d[_0x554d57(0xae)]};},'getCommentThread':async({channelId:_0x4193a7,threadId:_0x4171d1})=>{const _0x252f95=_0x332e8f,_0x3330ef=await this[_0x252f95(0xab)](_0x4193a7)[_0x252f95(0x91)](_0x4171d1)[_0x252f95(0xa8)](w);return _0x3330ef[_0x252f95(0x75)]?null:(await this[_0x252f95(0xa6)]([_0x3330ef]),{'threadId':_0x3330ef[_0x252f95(0xc9)],'comments':_0x3330ef[_0x252f95(0xae)][_0x252f95(0xaa)](b),'context':_0x3330ef[_0x252f95(0x7e)],'resolvedAt':_0x3330ef[_0x252f95(0xd3)],'resolvedBy':_0x3330ef[_0x252f95(0xcd)],'attributes':_0x3330ef[_0x252f95(0xa7)]||{}});},'updateCommentThread':async({channelId:_0x50bd9e,threadId:_0x1fb6ae,context:_0x552e99,unlinkedAt:_0x2f1791,attributes:_0x1082b8})=>this[_0x332e8f(0xab)](_0x50bd9e)[_0x332e8f(0xa1)]({'commentThreadId':_0x1fb6ae,'context':_0x552e99,'attributes':_0x1082b8,'unlinkedAt':_0x2f1791})[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'resolveCommentThread':async({channelId:_0x271ff4,threadId:_0x2dbdf6})=>{const _0x2a23b8=_0x332e8f,_0x1171b1=await this[_0x2a23b8(0xab)](_0x271ff4)[_0x2a23b8(0x85)](_0x2dbdf6)[_0x2a23b8(0xa8)](y)[_0x2a23b8(0xa8)](w);return{'threadId':_0x1171b1[_0x2a23b8(0xc9)],'resolvedAt':_0x1171b1[_0x2a23b8(0xd3)],'resolvedBy':_0x1171b1[_0x2a23b8(0xcd)]};},'reopenCommentThread':async({channelId:_0x3b280e,threadId:_0x1fdc34})=>this[_0x332e8f(0xab)](_0x3b280e)[_0x332e8f(0xb4)](_0x1fdc34)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'removeCommentThread':({channelId:_0x8c473b,threadId:_0x29ceff})=>this[_0x332e8f(0xab)](_0x8c473b)[_0x332e8f(0xb5)](_0x29ceff)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'addComment':({channelId:_0x11a46b,threadId:_0x5e5807,commentId:_0x2a446f,content:_0x32ad32,attributes:_0x1f4786})=>this[_0x332e8f(0xab)](_0x11a46b)[_0x332e8f(0x8e)](_0x5e5807,_0x2a446f,_0x32ad32,_0x1f4786)[_0x332e8f(0xa8)](w),'updateComment':({channelId:_0x57c977,threadId:_0x1459ed,commentId:_0x473da0,content:_0x10a073,attributes:_0x4c98bb})=>this[_0x332e8f(0xab)](_0x57c977)[_0x332e8f(0x9c)](_0x1459ed,_0x473da0,_0x10a073,_0x4c98bb)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'removeComment':({channelId:_0x46703c,threadId:_0x2c1942,commentId:_0x100526})=>this[_0x332e8f(0xab)](_0x46703c)[_0x332e8f(0x9d)](_0x2c1942,_0x100526)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w)},_0x2e29d6 instanceof _0x45bb07){const _0x3505fa=_0x2e29d6[_0x332e8f(0xad)][_0x332e8f(0xa4)](_0x332e8f(0x79)),_0x98d729=_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x332c82);await this[_0x332e8f(0xcb)](_0x3505fa);const _0x4ffa95=await this[_0x332e8f(0x7a)][_0x332e8f(0xa4)](_0x3505fa)[_0x332e8f(0xca)]();this[_0x332e8f(0x95)](_0x98d729,_0x332e8f(0x74)+_0x3505fa,(_0x29dd0b,{session:_0x1e2a7d})=>{const _0x199af6=_0x332e8f;_0x1e2a7d['id']===_0x98d729[_0x199af6(0x98)]&&(_0x29dd0b[_0x199af6(0xd0)](),this[_0x199af6(0x7e)][_0x199af6(0x78)][_0x199af6(0xa4)](_0x199af6(0xbd))[_0x199af6(0xc1)](_0x1e2a7d[_0x199af6(0xc6)],_0x3505fa));}),_0x98d729[_0x332e8f(0xc7)](_0x3505fa,_0x4ffa95);}}async[_0x157489(0xcb)](_0x59038f){const _0x4818c2=_0x157489;if(this[_0x4818c2(0x7a)][_0x4818c2(0x81)](_0x59038f))throw new _0x4bb878(_0x4818c2(0xaf),null,{'channelId':_0x59038f});const _0x17badd=this[_0x4818c2(0x7e)][_0x4818c2(0x78)][_0x4818c2(0xa4)](_0x4818c2(0xcc)),_0x283e15=new a[(_0x4818c2(0xb2))](_0x59038f);this[_0x4818c2(0x7a)][_0x4818c2(0x6d)](_0x59038f,_0x283e15),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x8b),(_0x416b40,_0x5721de)=>{const _0x247ddf=_0x4818c2,{commentThreadId:_0x644418,documentId:_0x5d4607,context:_0x4dd154,attributes:_0x3ecc0e,resolvedAt:_0x318af6,resolvedBy:_0x46dde7,comments:_0x29bfef}=_0x5721de;_0x17badd[_0x247ddf(0x91)](_0x644418)||_0x17badd[_0x247ddf(0xa5)]({'threadId':_0x644418,'channelId':_0x5d4607,'comments':_0x29bfef?_0x29bfef[_0x247ddf(0xaa)](b):[],'context':_0x4dd154,'attributes':_0x3ecc0e,'resolvedAt':_0x318af6,'resolvedBy':_0x46dde7,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0xd2),(_0x470e8c,{commentThreadId:_0x1bde5a,documentId:_0x98eb29,context:_0x11121b,unlinkedAt:_0xb38ce4,attributes:_0x83a8d})=>{const _0x3f65c9=_0x4818c2;_0x17badd[_0x3f65c9(0x91)](_0x1bde5a)&&_0x17badd[_0x3f65c9(0xa1)]({'threadId':_0x1bde5a,'channelId':_0x98eb29,'context':_0x11121b,'unlinkedAt':_0xb38ce4,'attributes':_0x83a8d,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x72),(_0x1d5cbe,{commentThreadId:_0x2dd48c,resolvedBy:_0x4d051c,resolvedAt:_0x2bc5a8})=>{const _0x19629b=_0x4818c2,_0x53c483=_0x17badd[_0x19629b(0x91)](_0x2dd48c);_0x53c483&&_0x53c483[_0x19629b(0xbe)]({'resolvedBy':_0x4d051c,'resolvedAt':_0x2bc5a8,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x87),(_0x2144e3,{commentThreadId:_0x24ca3d})=>{const _0x3e4111=_0x4818c2,_0x3b6169=_0x17badd[_0x3e4111(0x91)](_0x24ca3d);_0x3b6169&&_0x3b6169[_0x3e4111(0x9e)]({'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x8d),(_0x4cd41b,{commentThreadId:_0x349f15})=>{const _0x4b3e35=_0x4818c2,_0x2fe18a=_0x17badd[_0x4b3e35(0x91)](_0x349f15);_0x2fe18a&&_0x2fe18a[_0x4b3e35(0x9f)]({'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0xc4),(_0x350533,_0x316c5b)=>{const _0x4e703b=_0x4818c2,_0x161aa2=_0x316c5b[_0x4e703b(0xc9)],_0x245e19=_0x17badd[_0x4e703b(0x91)](_0x161aa2);_0x245e19&&_0x245e19[_0x4e703b(0x8e)]({...b(_0x316c5b),'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x83),(_0x48aa8f,{commentThreadId:_0x4ea4a3,commentId:_0x4c0b6b,content:_0x8e56c9,attributes:_0x5c7aea})=>{const _0x4931b6=_0x4818c2,_0x144352=_0x17badd[_0x4931b6(0x91)](_0x4ea4a3);if(_0x144352){const _0x13ea52=_0x144352[_0x4931b6(0xb7)](_0x4c0b6b);_0x13ea52&&_0x13ea52[_0x4931b6(0x7d)]({'content':_0x8e56c9,'attributes':_0x5c7aea,'isFromAdapter':!0x0});}}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x80),(_0x2e9a2a,{commentThreadId:_0x53dcef,commentId:_0x454cd8})=>{const _0x21b400=_0x4818c2,_0x4952fb=_0x17badd[_0x21b400(0x91)](_0x53dcef);if(_0x4952fb){const _0x1176fd=_0x4952fb[_0x21b400(0xb7)](_0x454cd8);_0x1176fd&&_0x1176fd[_0x21b400(0x9f)]({'isFromAdapter':!0x0});}}),await this[_0x4818c2(0x6c)](_0x59038f);}[_0x157489(0xa2)](){const _0x5bf2c8=_0x157489;if(this[_0x5bf2c8(0x7e)]instanceof _0x45bb07){const _0x1487f9=this[_0x5bf2c8(0x7e)][_0x5bf2c8(0xad)][_0x5bf2c8(0xa4)](_0x5bf2c8(0x79));this[_0x5bf2c8(0xa0)](_0x1487f9);}}[_0x157489(0xa0)](_0x12d14b){const _0x390cbf=_0x157489;if(!this[_0x390cbf(0x7a)][_0x390cbf(0x81)](_0x12d14b))throw new _0x4bb878(_0x390cbf(0x76),null,{'channelId':_0x12d14b});this[_0x390cbf(0xab)](_0x12d14b)[_0x390cbf(0xc2)](),this[_0x390cbf(0x7a)][_0x390cbf(0x9a)](_0x12d14b);}async[_0x157489(0xa9)](){const _0x5cd247=_0x157489;for(const _0x1db209 of this[_0x5cd247(0x7a)][_0x5cd247(0xc0)]())await this[_0x5cd247(0x6c)](_0x1db209);if(this[_0x5cd247(0x7e)]instanceof _0x45bb07){const _0x4af7c0=this[_0x5cd247(0x7e)][_0x5cd247(0xad)][_0x5cd247(0xa4)](_0x5cd247(0x79)),_0x51f235=this[_0x5cd247(0x7e)][_0x5cd247(0x78)][_0x5cd247(0xa4)](_0x332c82);_0x51f235[_0x5cd247(0x8f)](_0x4af7c0);const _0x34d898=await this[_0x5cd247(0x7a)][_0x5cd247(0xa4)](_0x4af7c0)[_0x5cd247(0xca)]();_0x51f235[_0x5cd247(0xc7)](_0x4af7c0,_0x34d898);}}async[_0x157489(0x6c)](_0x2c770b){const _0x205b7f=_0x157489,{connection:_0x7ebe0e}=this[_0x205b7f(0x7e)][_0x205b7f(0x78)][_0x205b7f(0xa4)](_0x721b1a),_0x552455=this[_0x205b7f(0x7e)][_0x205b7f(0x78)][_0x205b7f(0xa4)](_0x205b7f(0xcc)),_0xa3ef75=this[_0x205b7f(0x7a)][_0x205b7f(0xa4)](_0x2c770b),_0x5c7f39=await _0xa3ef75[_0x205b7f(0xce)](_0x7ebe0e);await this[_0x205b7f(0xa6)](_0x5c7f39);const _0x4d2551=new Set(Array[_0x205b7f(0x84)](_0x552455[_0x205b7f(0x6b)]({'channelId':_0x2c770b}),_0x399714=>_0x399714['id']));for(const _0x3348f3 of _0x5c7f39)_0x3348f3[_0x205b7f(0x75)]||_0x4d2551[_0x205b7f(0x9a)](_0x3348f3[_0x205b7f(0xc9)]);for(const _0x962b53 of _0x4d2551)_0x552455[_0x205b7f(0x91)](_0x962b53)[_0x205b7f(0x9f)]({'isFromAdapter':!0x0});for(const _0x79ee4f of _0x5c7f39){let _0x57a3bd=_0x552455[_0x205b7f(0x91)](_0x79ee4f[_0x205b7f(0xc9)]);const {commentThreadId:_0x565c68,context:_0x2b8dde,attributes:_0x36f0bf,resolvedBy:_0x381ab9,resolvedAt:_0xf9dab,unlinkedAt:_0x5784a5,deletedAt:_0x11d57e}=_0x79ee4f;if(_0x11d57e)continue;_0x57a3bd||(_0x57a3bd=_0x552455[_0x205b7f(0xa5)]({'channelId':_0x2c770b,'threadId':_0x565c68,'context':_0x2b8dde,'attributes':_0x36f0bf||{},'resolvedBy':_0x381ab9,'resolvedAt':_0xf9dab,'unlinkedAt':_0x5784a5,'isFromAdapter':!0x0}));const _0x314366=new Set(Array[_0x205b7f(0x84)](_0x57a3bd[_0x205b7f(0xae)],_0x148d0c=>_0x148d0c['id']));for(const _0x401f8b of _0x79ee4f[_0x205b7f(0xae)])_0x314366[_0x205b7f(0x9a)](_0x401f8b[_0x205b7f(0x8c)]);for(const _0x21fa18 of _0x314366)_0x57a3bd[_0x205b7f(0xb7)](_0x21fa18)[_0x205b7f(0x9f)]({'isFromAdapter':!0x0});for(const _0xed2334 of _0x79ee4f[_0x205b7f(0xae)]){const _0x39e790=_0x57a3bd[_0x205b7f(0xb7)](_0xed2334[_0x205b7f(0x8c)]);_0x39e790?_0x39e790[_0x205b7f(0x89)]!==_0xed2334[_0x205b7f(0x89)]&&_0x39e790[_0x205b7f(0x7d)]({'content':_0xed2334[_0x205b7f(0x89)],'isFromAdapter':!0x0}):_0x57a3bd[_0x205b7f(0x8e)](Object[_0x205b7f(0xb3)](b(_0xed2334),{'isFromAdapter':!0x0}));}}}[_0x157489(0xab)](_0x81fc85){const _0x13fc62=_0x157489;if(!this[_0x13fc62(0x7a)][_0x13fc62(0x81)](_0x81fc85))throw new _0x4bb878(_0x13fc62(0x73),null,{'channelId':_0x81fc85});return this[_0x13fc62(0x7a)][_0x13fc62(0xa4)](_0x81fc85);}async[_0x157489(0xa6)](_0x46ac27){const _0x4451ea=_0x157489,_0x3614a7=this[_0x4451ea(0x7e)][_0x4451ea(0x78)][_0x4451ea(0xa4)](_0x200940),{connection:_0x5b1015}=this[_0x4451ea(0x7e)][_0x4451ea(0x78)][_0x4451ea(0xa4)](_0x721b1a),_0x13b16c=new Set();for(const {resolvedBy:_0x345fba,comments:_0x2a613a}of _0x46ac27){_0x345fba&&!_0x3614a7[_0x4451ea(0x94)](_0x345fba)&&_0x13b16c[_0x4451ea(0xc8)](_0x345fba);for(const {userId:_0x20495c}of _0x2a613a)_0x3614a7[_0x4451ea(0x94)](_0x20495c)||_0x13b16c[_0x4451ea(0xc8)](_0x20495c);}if(0x0===_0x13b16c[_0x4451ea(0xc5)])return;const _0x4de734=await _0xd21ee4[_0x4451ea(0xbb)](_0x5b1015,Array[_0x4451ea(0x84)](_0x13b16c));for(const _0x32c1e0 of _0x4de734)_0x3614a7[_0x4451ea(0x94)](_0x32c1e0['id'])||_0x3614a7[_0x4451ea(0xb8)](_0x32c1e0);}}a[_0x157489(0xb2)]=_0x4502a9;function _0x1a33(){const _0x1c17ae=['_connectService','set','code','addToReconnectionStack','pluginName','adapter','commentThreadResolved','cloudservicescommentsadapter-service-not-exist','sessionAdd:','deletedAt','cloudservicescommentsadapter-disconnect-not-exist','startsWith','plugins','collaboration.channelId','_services','authorId','11345488TPFyWn','update','context','427pleOfw','commentRemoved','has','2MhiLRP','commentUpdated','from','resolveCommentThread','requires','commentThreadReopened','9LOAAGg','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadAdded','commentId','commentThreadRemoved','addComment','unregister','CloudServicesCommentsAdapter','getCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','getUser','listenTo','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','mySessionId','404','delete','7660lQCJCU','updateComment','removeComment','reopen','remove','_terminateService','updateCommentThread','destroy','isOfficialPlugin','get','addCommentThread','_fetchMissingUsersForThreads','attributes','catch','reconnect','map','_getService','init','config','comments','cloudservicescommentsadapter-connect-already-connected','5755810FmDpsE','74152gPXxCP','CommentsService','assign','reopenCommentThread','removeCommentThread','31433753BJRJrz','getComment','addUser','441619pbxOWH','12CQzEpc','getMany','message','Permissions','resolve','2610624doBtSg','keys','setPermissions','disconnect','4GHNDTQ','commentAdded','size','permissions','register','add','commentThreadId','getConnectedSessions','_setUpService','CommentsRepository','resolvedBy','connect','1878hebFdN','off','userId','commentThreadUpdated','resolvedAt','getCommentThreads'];_0x1a33=function(){return _0x1c17ae;};return _0x1a33();}export default a;async function y(_0x550b00){const _0x398fe6=_0x157489;if(_0x398fe6(0x99)!==_0x550b00[_0x398fe6(0x6e)])throw _0x550b00;}function w(_0x2507e5){const _0x3df0cc=_0x157489;if((_0x184636=_0x2507e5)[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x8a))||_0x184636[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x96))||_0x184636[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x92)))return new Promise(()=>{});var _0x184636;throw _0x2507e5;}function b(_0x466958){const _0x1bca4a=_0x157489;return{'threadId':_0x466958[_0x1bca4a(0xc9)],'commentId':_0x466958[_0x1bca4a(0x8c)],'content':_0x466958[_0x1bca4a(0x89)],'createdAt':_0x466958[_0x1bca4a(0x93)],'authorId':_0x466958[_0x1bca4a(0xd1)],'attributes':_0x466958[_0x1bca4a(0xa7)]||{}};}
|
|
23
|
+
const _0x5ea3d7=_0x13f5;(function(_0x1ce4ef,_0x81fb8e){const _0x37b0ce=_0x13f5,_0x43cfa6=_0x1ce4ef();while(!![]){try{const _0x30e38f=parseInt(_0x37b0ce(0x17e))/0x1*(parseInt(_0x37b0ce(0x199))/0x2)+parseInt(_0x37b0ce(0x183))/0x3*(parseInt(_0x37b0ce(0x1b5))/0x4)+-parseInt(_0x37b0ce(0x194))/0x5*(parseInt(_0x37b0ce(0x1a7))/0x6)+parseInt(_0x37b0ce(0x192))/0x7*(-parseInt(_0x37b0ce(0x16f))/0x8)+parseInt(_0x37b0ce(0x1c4))/0x9+-parseInt(_0x37b0ce(0x1a0))/0xa+parseInt(_0x37b0ce(0x19a))/0xb;if(_0x30e38f===_0x81fb8e)break;else _0x43cfa6['push'](_0x43cfa6['shift']());}catch(_0x460122){_0x43cfa6['push'](_0x43cfa6['shift']());}}}(_0x4e3b,0x4a5f5));import{Context as _0x17e243,ContextPlugin as _0x3df34a}from'ckeditor5/src/core.js';import{CKEditorError as _0x4aefae}from'ckeditor5/src/utils.js';import{Users as _0xbee079}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x44888a,User as _0x1159cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4e3b(){const _0x461b4b=['catch','context','commentAdded','cloudservicescommentsadapter-disconnect-not-exist','addToReconnectionStack','message','listenTo','316488VCJmrb','addComment','Permissions','createdAt','commentThreadRemoved','update','getConnectedSessions','removeComment','removeCommentThread','collaboration.channelId','add','connect','commentThreadUpdated','updateCommentThread','pluginName','3330855IMDnwG','cloud-services-internal-error:\x20Request\x20timeout.','reopen','permissions','addUser','commentId','updateComment','resolve','getComment','commentThreadResolved','cloudservicescommentsadapter-connect-already-connected','config','_terminateService','destroy','CommentsService','requires','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','24knJZfA','remove','map','isOfficialPlugin','getCommentThread','cloudservicescommentsadapter-service-not-exist','unregister','_fetchMissingUsersForThreads','authorId','startsWith','plugins','userId','getCommentThreads','commentUpdated','_services','4999KjvbTG','off','commentThreadId','resolvedBy','register','3suroBU','_setUpService','CloudServicesCommentsAdapter','adapter','commentThreadReopened','addCommentThread','commentThreadAdded','getMany','assign','404','resolvedAt','deletedAt','_getService','code','sessionAdd:','744422pEMqEU','_connectService','291185DblTie','init','CommentsRepository','content','getUser','202qxzPzW','5587923PXYext','resolveCommentThread','set','keys','mySessionId','size','2560720fVchoi','attributes','commentRemoved','from','has','setPermissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','60TWjWdI','get','reopenCommentThread','reconnect','delete','comments','disconnect'];_0x4e3b=function(){return _0x461b4b;};return _0x4e3b();}import _0x55093f from'../realtimecollaborativeediting/websocketgateway.js';import _0xeff7ea from'../realtimecollaborativeediting/sessions.js';class a extends _0x3df34a{static get[_0x5ea3d7(0x1d3)](){const _0x3655d2=_0x5ea3d7;return[_0x55093f,_0x3655d2(0x196),_0xeff7ea,_0xbee079];}static get[_0x5ea3d7(0x1c3)](){const _0x5a8018=_0x5ea3d7;return _0x5a8018(0x185);}static get[_0x5ea3d7(0x172)](){return!0x0;}static get[_0x5ea3d7(0x1d5)](){return!0x0;}constructor(_0x13a34b){const _0x2dd50c=_0x5ea3d7;super(_0x13a34b),this[_0x2dd50c(0x17d)]=new Map();}async[_0x5ea3d7(0x195)](){const _0x507fe5=_0x5ea3d7,_0x49a6db=this[_0x507fe5(0x1af)],_0x999c1b=_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0x507fe5(0x196));if(_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0x55093f)[_0x507fe5(0x1b2)](this),_0x999c1b[_0x507fe5(0x186)]={'addCommentThread':async({channelId:_0xdc1e39,threadId:_0x87fe7f,comments:_0x315c2d,resolvedAt:_0x3124c9,resolvedBy:_0x5aef39,context:_0x41f547,attributes:_0x3f0622})=>{const _0x443b03=_0x507fe5,_0x2a3516=await this[_0x443b03(0x18f)](_0xdc1e39)[_0x443b03(0x188)]({'commentThreadId':_0x87fe7f,'comments':_0x315c2d[_0x443b03(0x171)](_0x3b7ac1=>function(_0x28f632,_0x2d18e6,_0x57f91d){const _0x30a9bd=_0x443b03;return{'commentThreadId':_0x57f91d,'commentId':_0x28f632[_0x30a9bd(0x1c9)],'userId':_0x28f632[_0x30a9bd(0x177)],'content':_0x28f632[_0x30a9bd(0x197)],'documentId':_0x2d18e6,'createdAt':_0x28f632[_0x30a9bd(0x1b8)],'attributes':_0x28f632[_0x30a9bd(0x1a1)]||{}};}(_0x3b7ac1,_0xdc1e39,_0x87fe7f)),'resolvedAt':_0x3124c9,'resolvedBy':_0x5aef39,'context':_0x41f547,'attributes':_0x3f0622})[_0x443b03(0x1ae)](R);return{'threadId':_0x2a3516[_0x443b03(0x180)],'comments':_0x2a3516[_0x443b03(0x1ac)]};},'getCommentThread':async({channelId:_0x27d196,threadId:_0x15b8ae})=>{const _0x7a2c46=_0x507fe5,_0x397f43=await this[_0x7a2c46(0x18f)](_0x27d196)[_0x7a2c46(0x173)](_0x15b8ae)[_0x7a2c46(0x1ae)](R);return _0x397f43[_0x7a2c46(0x18e)]?null:(await this[_0x7a2c46(0x176)]([_0x397f43]),{'threadId':_0x397f43[_0x7a2c46(0x180)],'comments':_0x397f43[_0x7a2c46(0x1ac)][_0x7a2c46(0x171)](S),'context':_0x397f43[_0x7a2c46(0x1af)],'resolvedAt':_0x397f43[_0x7a2c46(0x18d)],'resolvedBy':_0x397f43[_0x7a2c46(0x181)],'attributes':_0x397f43[_0x7a2c46(0x1a1)]||{}});},'updateCommentThread':async({channelId:_0x21e8f7,threadId:_0x1189c3,context:_0x2f93e8,unlinkedAt:_0x32c85a,attributes:_0x230e0f})=>this[_0x507fe5(0x18f)](_0x21e8f7)[_0x507fe5(0x1c2)]({'commentThreadId':_0x1189c3,'context':_0x2f93e8,'attributes':_0x230e0f,'unlinkedAt':_0x32c85a})[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'resolveCommentThread':async({channelId:_0x68f3cc,threadId:_0x4b1e5c})=>{const _0x19d3be=_0x507fe5,_0x4883f1=await this[_0x19d3be(0x18f)](_0x68f3cc)[_0x19d3be(0x19b)](_0x4b1e5c)[_0x19d3be(0x1ae)](B)[_0x19d3be(0x1ae)](R);return{'threadId':_0x4883f1[_0x19d3be(0x180)],'resolvedAt':_0x4883f1[_0x19d3be(0x18d)],'resolvedBy':_0x4883f1[_0x19d3be(0x181)]};},'reopenCommentThread':async({channelId:_0x27ead6,threadId:_0x2561a9})=>this[_0x507fe5(0x18f)](_0x27ead6)[_0x507fe5(0x1a9)](_0x2561a9)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'removeCommentThread':({channelId:_0xe81278,threadId:_0x51d1e2})=>this[_0x507fe5(0x18f)](_0xe81278)[_0x507fe5(0x1bd)](_0x51d1e2)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'addComment':({channelId:_0x58900f,threadId:_0x39e35b,commentId:_0x5dab98,content:_0x403a55,attributes:_0x1e6598})=>this[_0x507fe5(0x18f)](_0x58900f)[_0x507fe5(0x1b6)](_0x39e35b,_0x5dab98,_0x403a55,_0x1e6598)[_0x507fe5(0x1ae)](R),'updateComment':({channelId:_0x365d02,threadId:_0x101503,commentId:_0x5d7dd0,content:_0x399216,attributes:_0x53821c})=>this[_0x507fe5(0x18f)](_0x365d02)[_0x507fe5(0x1ca)](_0x101503,_0x5d7dd0,_0x399216,_0x53821c)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'removeComment':({channelId:_0x46e45d,threadId:_0x4331a0,commentId:_0x1a2dad})=>this[_0x507fe5(0x18f)](_0x46e45d)[_0x507fe5(0x1bc)](_0x4331a0,_0x1a2dad)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R)},_0x49a6db instanceof _0x17e243){const _0x27c383=_0x49a6db[_0x507fe5(0x1cf)][_0x507fe5(0x1a8)](_0x507fe5(0x1be)),_0x51b1f7=_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0xeff7ea);await this[_0x507fe5(0x184)](_0x27c383);const _0x5cac1e=await this[_0x507fe5(0x17d)][_0x507fe5(0x1a8)](_0x27c383)[_0x507fe5(0x1bb)]();this[_0x507fe5(0x1b4)](_0x51b1f7,_0x507fe5(0x191)+_0x27c383,(_0x112e0b,{session:_0x4d3d6e})=>{const _0x376fc6=_0x507fe5;_0x4d3d6e['id']===_0x51b1f7[_0x376fc6(0x19e)]&&(_0x112e0b[_0x376fc6(0x17f)](),this[_0x376fc6(0x1af)][_0x376fc6(0x179)][_0x376fc6(0x1a8)](_0x376fc6(0x1b7))[_0x376fc6(0x1a5)](_0x4d3d6e[_0x376fc6(0x1c7)],_0x27c383));}),_0x51b1f7[_0x507fe5(0x182)](_0x27c383,_0x5cac1e);}}async[_0x5ea3d7(0x184)](_0x464fc7){const _0x1b09e6=_0x5ea3d7;if(this[_0x1b09e6(0x17d)][_0x1b09e6(0x1a4)](_0x464fc7))throw new _0x4aefae(_0x1b09e6(0x1ce),null,{'channelId':_0x464fc7});const _0x390944=this[_0x1b09e6(0x1af)][_0x1b09e6(0x179)][_0x1b09e6(0x1a8)](_0x1b09e6(0x196)),_0x586933=new a[(_0x1b09e6(0x1d2))](_0x464fc7);this[_0x1b09e6(0x17d)][_0x1b09e6(0x19c)](_0x464fc7,_0x586933),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x189),(_0x43233c,_0x1dca28)=>{const _0x2526ca=_0x1b09e6,{commentThreadId:_0x1a91cf,documentId:_0x36e84a,context:_0x4f15be,attributes:_0x1b454c,resolvedAt:_0x1d72c8,resolvedBy:_0x491a9f,comments:_0x26c153}=_0x1dca28;_0x390944[_0x2526ca(0x173)](_0x1a91cf)||_0x390944[_0x2526ca(0x188)]({'threadId':_0x1a91cf,'channelId':_0x36e84a,'comments':_0x26c153?_0x26c153[_0x2526ca(0x171)](S):[],'context':_0x4f15be,'attributes':_0x1b454c,'resolvedAt':_0x1d72c8,'resolvedBy':_0x491a9f,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1c1),(_0x1b77fe,{commentThreadId:_0x506b67,documentId:_0x4b8460,context:_0x45381c,unlinkedAt:_0x4a8fd5,attributes:_0x404c1b})=>{const _0x456e24=_0x1b09e6;_0x390944[_0x456e24(0x173)](_0x506b67)&&_0x390944[_0x456e24(0x1c2)]({'threadId':_0x506b67,'channelId':_0x4b8460,'context':_0x45381c,'unlinkedAt':_0x4a8fd5,'attributes':_0x404c1b,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1cd),(_0x3e4bfa,{commentThreadId:_0x1fa031,resolvedBy:_0x515161,resolvedAt:_0x49b39e})=>{const _0x304795=_0x1b09e6,_0x51bce7=_0x390944[_0x304795(0x173)](_0x1fa031);_0x51bce7&&_0x51bce7[_0x304795(0x1cb)]({'resolvedBy':_0x515161,'resolvedAt':_0x49b39e,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x187),(_0x1c7b17,{commentThreadId:_0x215f2d})=>{const _0x247a5a=_0x1b09e6,_0xa90cac=_0x390944[_0x247a5a(0x173)](_0x215f2d);_0xa90cac&&_0xa90cac[_0x247a5a(0x1c6)]({'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1b9),(_0x97af36,{commentThreadId:_0x5b7f09})=>{const _0x496875=_0x1b09e6,_0x4e5181=_0x390944[_0x496875(0x173)](_0x5b7f09);_0x4e5181&&_0x4e5181[_0x496875(0x170)]({'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1b0),(_0x1a94d5,_0x323204)=>{const _0x4d03b2=_0x1b09e6,_0x47e9de=_0x323204[_0x4d03b2(0x180)],_0x4c8492=_0x390944[_0x4d03b2(0x173)](_0x47e9de);_0x4c8492&&_0x4c8492[_0x4d03b2(0x1b6)]({...S(_0x323204),'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x17c),(_0x38368c,{commentThreadId:_0x16ce0e,commentId:_0x5667aa,content:_0x4df751,attributes:_0x4c594d})=>{const _0x530d05=_0x1b09e6,_0xabf4bc=_0x390944[_0x530d05(0x173)](_0x16ce0e);if(_0xabf4bc){const _0x13b2b6=_0xabf4bc[_0x530d05(0x1cc)](_0x5667aa);_0x13b2b6&&_0x13b2b6[_0x530d05(0x1ba)]({'content':_0x4df751,'attributes':_0x4c594d,'isFromAdapter':!0x0});}}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1a2),(_0x405ab1,{commentThreadId:_0x45d4a9,commentId:_0x26725e})=>{const _0x54d44a=_0x1b09e6,_0x38b53f=_0x390944[_0x54d44a(0x173)](_0x45d4a9);if(_0x38b53f){const _0x208f65=_0x38b53f[_0x54d44a(0x1cc)](_0x26725e);_0x208f65&&_0x208f65[_0x54d44a(0x170)]({'isFromAdapter':!0x0});}}),await this[_0x1b09e6(0x193)](_0x464fc7);}[_0x5ea3d7(0x1d1)](){const _0x1940e1=_0x5ea3d7;if(this[_0x1940e1(0x1af)]instanceof _0x17e243){const _0x1fa30f=this[_0x1940e1(0x1af)][_0x1940e1(0x1cf)][_0x1940e1(0x1a8)](_0x1940e1(0x1be));this[_0x1940e1(0x1d0)](_0x1fa30f);}}[_0x5ea3d7(0x1d0)](_0x209969){const _0x4caa37=_0x5ea3d7;if(!this[_0x4caa37(0x17d)][_0x4caa37(0x1a4)](_0x209969))throw new _0x4aefae(_0x4caa37(0x1b1),null,{'channelId':_0x209969});this[_0x4caa37(0x18f)](_0x209969)[_0x4caa37(0x1ad)](),this[_0x4caa37(0x17d)][_0x4caa37(0x1ab)](_0x209969);}async[_0x5ea3d7(0x1aa)](){const _0x5c4ec5=_0x5ea3d7;for(const _0x5d35f2 of this[_0x5c4ec5(0x17d)][_0x5c4ec5(0x19d)]())await this[_0x5c4ec5(0x193)](_0x5d35f2);if(this[_0x5c4ec5(0x1af)]instanceof _0x17e243){const _0x45a5c0=this[_0x5c4ec5(0x1af)][_0x5c4ec5(0x1cf)][_0x5c4ec5(0x1a8)](_0x5c4ec5(0x1be)),_0x49aae0=this[_0x5c4ec5(0x1af)][_0x5c4ec5(0x179)][_0x5c4ec5(0x1a8)](_0xeff7ea);_0x49aae0[_0x5c4ec5(0x175)](_0x45a5c0);const _0x232734=await this[_0x5c4ec5(0x17d)][_0x5c4ec5(0x1a8)](_0x45a5c0)[_0x5c4ec5(0x1bb)]();_0x49aae0[_0x5c4ec5(0x182)](_0x45a5c0,_0x232734);}}async[_0x5ea3d7(0x193)](_0x3a88c1){const _0x78942d=_0x5ea3d7,{connection:_0x3b86c0}=this[_0x78942d(0x1af)][_0x78942d(0x179)][_0x78942d(0x1a8)](_0x55093f),_0x3f750d=this[_0x78942d(0x1af)][_0x78942d(0x179)][_0x78942d(0x1a8)](_0x78942d(0x196)),_0x54e460=this[_0x78942d(0x17d)][_0x78942d(0x1a8)](_0x3a88c1),_0x34c303=await _0x54e460[_0x78942d(0x1c0)](_0x3b86c0);await this[_0x78942d(0x176)](_0x34c303);const _0x899120=new Set(Array[_0x78942d(0x1a3)](_0x3f750d[_0x78942d(0x17b)]({'channelId':_0x3a88c1}),_0x239027=>_0x239027['id']));for(const _0x253773 of _0x34c303)_0x253773[_0x78942d(0x18e)]||_0x899120[_0x78942d(0x1ab)](_0x253773[_0x78942d(0x180)]);for(const _0x3b1539 of _0x899120)_0x3f750d[_0x78942d(0x173)](_0x3b1539)[_0x78942d(0x170)]({'isFromAdapter':!0x0});for(const _0x461526 of _0x34c303){let _0x1f9518=_0x3f750d[_0x78942d(0x173)](_0x461526[_0x78942d(0x180)]);const {commentThreadId:_0x59ab8e,context:_0x1b0384,attributes:_0x229dbe,resolvedBy:_0x5aed49,resolvedAt:_0x30d8af,unlinkedAt:_0x30ee9e,deletedAt:_0x7e4c31}=_0x461526;if(_0x7e4c31)continue;_0x1f9518||(_0x1f9518=_0x3f750d[_0x78942d(0x188)]({'channelId':_0x3a88c1,'threadId':_0x59ab8e,'context':_0x1b0384,'attributes':_0x229dbe||{},'resolvedBy':_0x5aed49,'resolvedAt':_0x30d8af,'unlinkedAt':_0x30ee9e,'isFromAdapter':!0x0}));const _0x417d61=new Set(Array[_0x78942d(0x1a3)](_0x1f9518[_0x78942d(0x1ac)],_0x23d51f=>_0x23d51f['id']));for(const _0x4b733d of _0x461526[_0x78942d(0x1ac)])_0x417d61[_0x78942d(0x1ab)](_0x4b733d[_0x78942d(0x1c9)]);for(const _0x57b955 of _0x417d61)_0x1f9518[_0x78942d(0x1cc)](_0x57b955)[_0x78942d(0x170)]({'isFromAdapter':!0x0});for(const _0x25b446 of _0x461526[_0x78942d(0x1ac)]){const _0x1fc9ed=_0x1f9518[_0x78942d(0x1cc)](_0x25b446[_0x78942d(0x1c9)]);_0x1fc9ed?_0x1fc9ed[_0x78942d(0x197)]!==_0x25b446[_0x78942d(0x197)]&&_0x1fc9ed[_0x78942d(0x1ba)]({'content':_0x25b446[_0x78942d(0x197)],'isFromAdapter':!0x0}):_0x1f9518[_0x78942d(0x1b6)](Object[_0x78942d(0x18b)](S(_0x25b446),{'isFromAdapter':!0x0}));}}}[_0x5ea3d7(0x18f)](_0x550139){const _0x1dfc47=_0x5ea3d7;if(!this[_0x1dfc47(0x17d)][_0x1dfc47(0x1a4)](_0x550139))throw new _0x4aefae(_0x1dfc47(0x174),null,{'channelId':_0x550139});return this[_0x1dfc47(0x17d)][_0x1dfc47(0x1a8)](_0x550139);}async[_0x5ea3d7(0x176)](_0x38bf08){const _0x4050dd=_0x5ea3d7,_0x2c127c=this[_0x4050dd(0x1af)][_0x4050dd(0x179)][_0x4050dd(0x1a8)](_0xbee079),{connection:_0x373e6c}=this[_0x4050dd(0x1af)][_0x4050dd(0x179)][_0x4050dd(0x1a8)](_0x55093f),_0x16ffee=new Set();for(const {resolvedBy:_0x5063a7,comments:_0x57e0ba}of _0x38bf08){_0x5063a7&&!_0x2c127c[_0x4050dd(0x198)](_0x5063a7)&&_0x16ffee[_0x4050dd(0x1bf)](_0x5063a7);for(const {userId:_0x38c854}of _0x57e0ba)_0x2c127c[_0x4050dd(0x198)](_0x38c854)||_0x16ffee[_0x4050dd(0x1bf)](_0x38c854);}if(0x0===_0x16ffee[_0x4050dd(0x19f)])return;const _0x3c8cd5=await _0x1159cb[_0x4050dd(0x18a)](_0x373e6c,Array[_0x4050dd(0x1a3)](_0x16ffee));for(const _0x50287d of _0x3c8cd5)_0x2c127c[_0x4050dd(0x198)](_0x50287d['id'])||_0x2c127c[_0x4050dd(0x1c8)](_0x50287d);}}a[_0x5ea3d7(0x1d2)]=_0x44888a;function _0x13f5(_0x2db69d,_0x753d84){const _0x4e3b1e=_0x4e3b();return _0x13f5=function(_0x13f53d,_0x8ac5c5){_0x13f53d=_0x13f53d-0x16f;let _0x49bc73=_0x4e3b1e[_0x13f53d];return _0x49bc73;},_0x13f5(_0x2db69d,_0x753d84);}export default a;async function B(_0x17b7c5){const _0x2f398d=_0x5ea3d7;if(_0x2f398d(0x18c)!==_0x17b7c5[_0x2f398d(0x190)])throw _0x17b7c5;}function R(_0x1fc46f){const _0x1fe2ec=_0x5ea3d7;if((_0x4cef9e=_0x1fc46f)[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1a6))||_0x4cef9e[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1d4))||_0x4cef9e[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1c5)))return new Promise(()=>{});var _0x4cef9e;throw _0x1fc46f;}function S(_0x2836a1){const _0xa99976=_0x5ea3d7;return{'threadId':_0x2836a1[_0xa99976(0x180)],'commentId':_0x2836a1[_0xa99976(0x1c9)],'content':_0x2836a1[_0xa99976(0x197)],'createdAt':_0x2836a1[_0xa99976(0x1b8)],'authorId':_0x2836a1[_0xa99976(0x17a)],'attributes':_0x2836a1[_0xa99976(0x1a1)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32c658=_0x26fd;(function(_0x596f60,_0x26d4e8){const _0x2439e7=_0x26fd,_0x2abde8=_0x596f60();while(!![]){try{const _0x3d874e=parseInt(_0x2439e7(0x1b4))/0x1*(-parseInt(_0x2439e7(0xe7))/0x2)+-parseInt(_0x2439e7(0x155))/0x3+parseInt(_0x2439e7(0xc8))/0x4*(-parseInt(_0x2439e7(0x143))/0x5)+parseInt(_0x2439e7(0xd2))/0x6*(-parseInt(_0x2439e7(0x112))/0x7)+parseInt(_0x2439e7(0x10c))/0x8*(-parseInt(_0x2439e7(0x14c))/0x9)+-parseInt(_0x2439e7(0x117))/0xa+-parseInt(_0x2439e7(0xc5))/0xb*(-parseInt(_0x2439e7(0x1b3))/0xc);if(_0x3d874e===_0x26d4e8)break;else _0x2abde8['push'](_0x2abde8['shift']());}catch(_0x262797){_0x2abde8['push'](_0x2abde8['shift']());}}}(_0x36ed,0x6f0e5));import{Plugin as _0x119b5f,PendingActions as _0x19f290}from'ckeditor5/src/core.js';import{CKEditorError as _0xb522b5,version as _0x113c89,uid as _0x4ca5da}from'ckeditor5/src/utils.js';import{Notification as _0x4934f5}from'ckeditor5/src/ui.js';import{transformSets as _0x2d6a3c,NoOperation as _0x2f4649,InsertOperation as _0x2817d8,MarkerOperation as _0x307164,RootAttributeOperation as _0x592043,OperationFactory as _0x26f46a,History as _0x1ac4f2}from'ckeditor5/src/engine.js';import _0x4128c4 from'./websocketgateway.js';import _0x5886e0 from'./sessions.js';import _0x40141b from'./usermarkers.js';import{getTranslation as _0x2d7f16}from'../common-translations.js';import{Compressor as _0x149fba}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x433f22}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1af6df,CollaborativeEditingService as _0x5023cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x119b5f{static get[_0x32c658(0x152)](){return[_0x4128c4,_0x5886e0,_0x40141b,_0x19f290,_0x433f22,_0x4934f5];}static get[_0x32c658(0xef)](){const _0x5c9609=_0x32c658;return _0x5c9609(0x1a3);}static get[_0x32c658(0x129)](){return!0x0;}static get[_0x32c658(0x133)](){return!0x0;}get[_0x32c658(0x1b7)](){const _0x1ff4e2=_0x32c658;return this[_0x1ff4e2(0x184)]+this[_0x1ff4e2(0x14f)];}get[_0x32c658(0x184)](){const _0x39c021=_0x32c658;return this[_0x39c021(0xe1)][_0x39c021(0x179)]-this[_0x39c021(0x14f)];}get[_0x32c658(0x187)](){const _0x170ce9=_0x32c658,_0x5b5035=this[_0x170ce9(0xe1)][_0x170ce9(0x195)]();for(let _0x152daf=_0x5b5035[_0x170ce9(0x138)]-0x1;_0x152daf>=0x0;_0x152daf--){const _0x4de55d=_0x5b5035[_0x152daf];if(!this[_0x170ce9(0x196)][_0x170ce9(0x150)](_0x4de55d))return _0x4de55d[_0x170ce9(0xcb)]+0x1-this[_0x170ce9(0x14f)];}return 0x0;}constructor(_0x3b6c8f){const _0x2b41ef=_0x32c658;if(super(_0x3b6c8f),this[_0x2b41ef(0x14f)]=0x0,this[_0x2b41ef(0x145)]=null,this[_0x2b41ef(0xe1)]=new _0x1ac4f2(),this[_0x2b41ef(0x1b6)][_0x2b41ef(0x147)][_0x2b41ef(0x17c)](_0x2b41ef(0xcf),{}),this[_0x2b41ef(0x118)]=this[_0x2b41ef(0x1b6)][_0x2b41ef(0x147)][_0x2b41ef(0x1ba)](_0x2b41ef(0x1a0)),!this[_0x2b41ef(0x118)])throw new _0xb522b5(_0x2b41ef(0x14b),this);const _0x451e59=_0x3b6c8f[_0x2b41ef(0x147)][_0x2b41ef(0x1ba)](_0x2b41ef(0x19d))||_0x113c89;this[_0x2b41ef(0x100)]=new l[(_0x2b41ef(0x10e))](_0x451e59,this[_0x2b41ef(0x118)]),this[_0x2b41ef(0x11c)]=this[_0x2b41ef(0x1b6)][_0x2b41ef(0x1bb)][_0x2b41ef(0x111)],this[_0x2b41ef(0x176)]=new _0x149fba(),this[_0x2b41ef(0x14a)]=[],this[_0x2b41ef(0xce)]=new WeakSet(),this[_0x2b41ef(0xff)]=new Set(),this[_0x2b41ef(0x169)](_0x2b41ef(0x1ad),!0x1),this[_0x2b41ef(0x169)](_0x2b41ef(0x127),!0x1),this[_0x2b41ef(0xed)]=null,this[_0x2b41ef(0x10d)]=!0x1,this[_0x2b41ef(0x1ab)]=null,this[_0x2b41ef(0x13c)]=0x12c,this[_0x2b41ef(0xc4)]=this[_0x2b41ef(0x13c)],this[_0x2b41ef(0xd3)]=null,this[_0x2b41ef(0x196)]=new WeakSet(),this[_0x2b41ef(0x17b)]=new X(this[_0x2b41ef(0x196)]);}[_0x32c658(0x116)](){const _0x23a032=_0x32c658,_0x243d22=this[_0x23a032(0x1b6)],_0x30174a=_0x243d22[_0x23a032(0x1be)][_0x23a032(0x1ba)](_0x433f22),_0xa052ea=_0x243d22[_0x23a032(0x1be)][_0x23a032(0x1ba)](_0x4128c4);this[_0x23a032(0x165)](_0x30174a,_0x23a032(0x12c),(_0x4962ef,_0x542fda)=>{const _0x49ae25=_0x23a032,_0x174119=_0x542fda[0x0];_0x174119[_0x49ae25(0x193)]&&(_0x4962ef[_0x49ae25(0x15b)]=_0x30174a[_0x49ae25(0x1c0)](_0x174119[_0x49ae25(0x193)]),_0x4962ef[_0x49ae25(0x181)]()),null===_0x174119[_0x49ae25(0x193)]&&(_0x4962ef[_0x49ae25(0x15b)]=null,_0x4962ef[_0x49ae25(0x181)]());},{'priority':_0x23a032(0x189)}),this[_0x23a032(0x165)](_0x243d22[_0x23a032(0x1bb)][_0x23a032(0x111)][_0x23a032(0xf0)],_0x23a032(0x12a),(_0xd7a3aa,_0x19e97c)=>{const _0x4f8fc7=_0x23a032;_0x19e97c[_0x4f8fc7(0x13d)]&&this[_0x4f8fc7(0x157)]();}),this[_0x23a032(0x165)](_0x243d22[_0x23a032(0x1af)][_0x23a032(0x16f)],_0x23a032(0xc7),()=>{const _0x3f1404=_0x23a032;this[_0x3f1404(0x157)]();}),this[_0x23a032(0xd4)](),_0x243d22[_0x23a032(0x1bb)]['on'](_0x23a032(0xf3),(_0x207deb,_0x45dda9)=>{const _0x56d5de=_0x23a032,_0x149136=_0x45dda9[0x0];_0x149136[_0x56d5de(0x180)]&&(this[_0x56d5de(0x173)](_0x149136),this[_0x56d5de(0x1b5)]()&&this[_0x56d5de(0x151)]());}),this[_0x23a032(0x107)](),this[_0x23a032(0x128)](_0x23a032(0x17a))['to'](_0xa052ea,_0x23a032(0x16d),this,_0x23a032(0x127),(_0x3af92c,_0x4fe60a)=>_0x23a032(0x19a)===_0x3af92c&&!_0x4fe60a),this['on'](_0x23a032(0xcc),()=>{const _0x151e37=_0x23a032;this[_0x151e37(0x17a)]?_0x243d22[_0x151e37(0x16c)](_0x151e37(0xfe)):_0x243d22[_0x151e37(0x144)](_0x151e37(0xfe));}),this[_0x23a032(0x17a)]?_0x243d22[_0x23a032(0x16c)](_0x23a032(0xfe)):_0x243d22[_0x23a032(0x144)](_0x23a032(0xfe)),this[_0x23a032(0x169)](_0x23a032(0xe3),!0x1);}async[_0x32c658(0xdb)](){const _0x2e6791=_0x32c658,_0x3f953c=this[_0x2e6791(0x1b6)][_0x2e6791(0x1be)][_0x2e6791(0x1ba)](_0x5886e0),_0x3bd197=this[_0x2e6791(0x1b6)][_0x2e6791(0x1be)][_0x2e6791(0x1ba)](_0x4128c4);try{this[_0x2e6791(0x1ad)]=!0x0,_0x3f953c[_0x2e6791(0x1a9)](this[_0x2e6791(0x118)]);const _0xb8a50b=await this[_0x2e6791(0x100)][_0x2e6791(0xdb)](_0x3bd197[_0x2e6791(0x19b)],this[_0x2e6791(0x187)]);await this[_0x2e6791(0x190)](_0xb8a50b)&&(this[_0x2e6791(0x1ad)]=!0x1,this[_0x2e6791(0x12e)]());const _0xbd0441=await this[_0x2e6791(0x100)][_0x2e6791(0x11f)]();_0x3f953c[_0x2e6791(0x1c2)](this[_0x2e6791(0x118)],_0xbd0441),this[_0x2e6791(0x125)](),this[_0x2e6791(0xe3)]=!0x0;}catch(_0x4be736){if(function(_0x59ce5c){const _0x3c88dd=_0x2e6791;return _0x3c88dd(0xd5)===_0x59ce5c[_0x3c88dd(0xd6)];}(_0x4be736)&&this[_0x2e6791(0x145)])await this[_0x2e6791(0xea)]();else{if(function(_0x209ddd){const _0x5ef073=_0x2e6791;return _0x5ef073(0x13a)===_0x209ddd[_0x5ef073(0xd6)];}(_0x4be736)){const _0x4a6e97=_0x2d7f16(this[_0x2e6791(0x1b6)][_0x2e6791(0x1b0)],_0x2e6791(0x106));this[_0x2e6791(0x122)](_0x4a6e97);}else{if(!(_0x4be736 instanceof J))throw _0x4be736;this[_0x2e6791(0x122)]();}}}}[_0x32c658(0xbc)](){const _0x4f4800=_0x32c658,_0x35e235=this[_0x4f4800(0x1b6)][_0x4f4800(0x1be)][_0x4f4800(0x1ba)](_0x4128c4),_0x3173cb=this[_0x4f4800(0x1b6)][_0x4f4800(0x1be)][_0x4f4800(0x1ba)](_0x5886e0);this[_0x4f4800(0x1b6)][_0x4f4800(0x144)](_0x4f4800(0x14d)),_0x3173cb[_0x4f4800(0xd1)][_0x4f4800(0x150)](this[_0x4f4800(0x118)])&&_0x3173cb[_0x4f4800(0x1a9)](this[_0x4f4800(0x118)]),_0x35e235[_0x4f4800(0x19c)](this),this[_0x4f4800(0xc1)](),super[_0x4f4800(0xbc)]();}async[_0x32c658(0x190)](_0x1edfae){const _0x20f2eb=_0x32c658;if(this[_0x20f2eb(0x145)]!==_0x1edfae[_0x20f2eb(0x145)]&&this[_0x20f2eb(0xd3)]!==_0x1edfae[_0x20f2eb(0x148)])throw new J();return this[_0x20f2eb(0x145)]=_0x1edfae[_0x20f2eb(0x145)],this[_0x20f2eb(0x18c)]([],{..._0x1edfae,'wereChangesApplied':!0x1,'data':_0x1edfae[_0x20f2eb(0x17e)]},_0x20f2eb(0xdb));}async[_0x32c658(0xd8)](_0x2fe915,_0xd6990a=!0x1){const _0x3edf93=_0x32c658,{connection:_0x1a8fee}=this[_0x3edf93(0x1b6)][_0x3edf93(0x1be)][_0x3edf93(0x1ba)](_0x4128c4);l[_0x3edf93(0x10e)][_0x3edf93(0x11f)](_0x1a8fee,this[_0x3edf93(0x118)])[_0x3edf93(0x192)](_0x44ed82=>this[_0x3edf93(0x1b1)](_0x44ed82))[_0x3edf93(0x16e)](_0x1f83aa=>{const _0x2c7203=_0x3edf93;this[_0x2c7203(0x158)](_0x2c7203(0x18e),_0x1f83aa);}),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x115),this[_0x3edf93(0x154)][_0x3edf93(0x128)](this)),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x136),(_0x3ef38e,_0x304c62)=>{const _0x27e72f=_0x3edf93;this[_0x27e72f(0x158)](_0x27e72f(0x10f),_0x304c62);}),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x142),()=>{const _0xc39615=_0x3edf93;this[_0xc39615(0xe3)]=!0x1;});const _0x4f99da=this[_0x3edf93(0x17b)][_0x3edf93(0x183)](_0x2fe915);this[_0x3edf93(0x1ad)]=!0x0;const _0xe05e75=await this[_0x3edf93(0x100)][_0x3edf93(0xfc)](_0x1a8fee,this[_0x3edf93(0xdf)](_0x2fe915),_0x4f99da);if(this[_0x3edf93(0x145)]=_0xe05e75[_0x3edf93(0x145)],_0xd6990a){if(!_0xe05e75[_0x3edf93(0x15d)])return void this[_0x3edf93(0x122)]();this[_0x3edf93(0x1ad)]=!0x1,this[_0x3edf93(0x12e)](),this[_0x3edf93(0xe1)][_0x3edf93(0x131)](),this[_0x3edf93(0x14f)]=_0xe05e75[_0x3edf93(0x11a)],this[_0x3edf93(0xe1)][_0x3edf93(0x179)]=this[_0x3edf93(0x14f)],await this[_0x3edf93(0x18c)](_0x2fe915,_0xe05e75,_0x3edf93(0x139));}else await this[_0x3edf93(0x1a4)](_0xe05e75,_0x2fe915);this[_0x3edf93(0x125)](),this[_0x3edf93(0xe3)]=!0x0;}[_0x32c658(0x125)](){const _0xbcd3b2=_0x32c658,_0x266b6f=this[_0xbcd3b2(0x1b6)][_0xbcd3b2(0x1be)][_0xbcd3b2(0x1ba)](_0x5886e0),_0x535ef5=this[_0xbcd3b2(0x1b6)][_0xbcd3b2(0x1be)][_0xbcd3b2(0x1ba)](_0x40141b),_0x29e69b=_0x266b6f[_0xbcd3b2(0xd1)][_0xbcd3b2(0x1ba)](this[_0xbcd3b2(0x118)]);_0x29e69b&&_0x29e69b[_0xbcd3b2(0x138)]>0x1?_0x535ef5[_0xbcd3b2(0x175)]():this[_0xbcd3b2(0x165)](_0x266b6f,_0xbcd3b2(0xbe)+this[_0xbcd3b2(0x118)],()=>{const _0x5de513=_0xbcd3b2;0x2===_0x266b6f[_0x5de513(0xd1)][_0x5de513(0x1ba)](this[_0x5de513(0x118)])[_0x5de513(0x138)]&&_0x535ef5[_0x5de513(0x175)]();});}async[_0x32c658(0x154)](_0x533b6a,_0x2f25b8,_0x4d3aa3,_0x570f7c){const _0xc96d7b=_0x32c658;if(!this[_0xc96d7b(0x1ad)]&&this[_0xc96d7b(0x11c)][_0xc96d7b(0x179)]==_0x2f25b8){const _0x5e57dc=this[_0xc96d7b(0x149)](_0x4d3aa3,_0x570f7c);await this[_0xc96d7b(0x199)](_0x5e57dc),this[_0xc96d7b(0x194)](_0x5e57dc,_0x2f25b8,_0x4d3aa3[_0xc96d7b(0x148)])||this[_0xc96d7b(0x158)](_0xc96d7b(0x109));}}async[_0x32c658(0xea)](){const _0x2e54be=_0x32c658;this[_0x2e54be(0xc1)]();const {locale:_0x2bb9fd}=this[_0x2e54be(0x1b6)];let _0x42d379;try{_0x42d379=await this[_0x2e54be(0x100)][_0x2e54be(0x105)]();}catch(_0x4d46fe){const _0x474dd1=_0x2d7f16(_0x2bb9fd,_0x2e54be(0x1bf));return void this[_0x2e54be(0x122)](_0x474dd1);}const _0x52ecdf=_0x42d379[_0x2e54be(0x1a5)]||_0x42d379[_0x2e54be(0x137)];if(this[_0x2e54be(0xd3)]===_0x52ecdf[_0x2e54be(0x148)])await this[_0x2e54be(0xd8)](this[_0x2e54be(0x1b6)][_0x2e54be(0x1bb)][_0x2e54be(0x111)][_0x2e54be(0x10b)][_0x2e54be(0x195)](),!0x0);else{const _0x437ada=_0x2d7f16(_0x2bb9fd,_0x2e54be(0x174));this[_0x2e54be(0x122)](_0x437ada);}}[_0x32c658(0xc1)](){const _0x37752b=_0x32c658;this[_0x37752b(0x100)][_0x37752b(0x113)](),this[_0x37752b(0x14a)]=[],clearTimeout(this[_0x37752b(0x1ab)]),this[_0x37752b(0x185)](this[_0x37752b(0x100)]);}[_0x32c658(0x1b1)](_0x46217f){const _0x3de842=_0x32c658,_0x4e09ec=this[_0x3de842(0x1b6)][_0x3de842(0x1be)][_0x3de842(0x1ba)](_0x5886e0);this[_0x3de842(0x165)](_0x4e09ec,_0x3de842(0xbe)+this[_0x3de842(0x118)],(_0x4de298,{session:_0x49eb55})=>{const _0x40bfab=_0x3de842;if(_0x49eb55['id']===_0x4e09ec[_0x40bfab(0xd9)]){_0x4de298[_0x40bfab(0x1aa)]();const _0x38ae82=this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x150)](_0x40bfab(0xf4))&&this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x1ba)](_0x40bfab(0xf4));let _0x473bdd=_0x49eb55[_0x40bfab(0x1ae)];_0x38ae82&&_0x38ae82[_0x40bfab(0x161)]&&(_0x473bdd=_0x473bdd[_0x40bfab(0x166)](_0x522134=>_0x40bfab(0x171)!==_0x522134)),this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x1ba)](_0x40bfab(0xe0))[_0x40bfab(0xc0)](_0x473bdd,this[_0x40bfab(0x118)]);}}),_0x4e09ec[_0x3de842(0x1c2)](this[_0x3de842(0x118)],_0x46217f);}[_0x32c658(0xd4)](){const _0x10789d=_0x32c658,_0xaeef0a=this[_0x10789d(0x1b6)][_0x10789d(0x17e)][_0x10789d(0x169)];this[_0x10789d(0x1b6)][_0x10789d(0x17e)][_0x10789d(0x169)]=(..._0xde1718)=>{const _0x18c65a=_0x10789d;if(!_0xde1718[_0xde1718[_0x18c65a(0x138)]-0x1][_0x18c65a(0x141)])throw new _0xb522b5(_0x18c65a(0x18a),this);_0xaeef0a[_0x18c65a(0xe6)](this[_0x18c65a(0x1b6)][_0x18c65a(0x17e)],_0xde1718);};}[_0x32c658(0x107)](){const _0x4bbceb=_0x32c658;this[_0x4bbceb(0x1b6)][_0x4bbceb(0x17e)]['on'](_0x4bbceb(0x116),(_0x2ddb11,[_0x5c1876])=>{const _0x53a0b0=_0x4bbceb;if(this[_0x53a0b0(0x11c)][_0x53a0b0(0x179)])throw new _0xb522b5(_0x53a0b0(0x1c1),this);_0x2ddb11[_0x53a0b0(0x181)](),this[_0x53a0b0(0x15f)]();const _0xae9ef4=this[_0x53a0b0(0x1b6)][_0x53a0b0(0x147)][_0x53a0b0(0x1ba)](_0x53a0b0(0x1ac)),_0x50178b=this[_0x53a0b0(0xf9)](_0x5c1876,_0xae9ef4);0x0==_0x50178b[_0x53a0b0(0x138)]&&_0x50178b[_0x53a0b0(0x178)](new _0x2f4649(0x0)),_0x2ddb11[_0x53a0b0(0x15b)]=this[_0x53a0b0(0xd8)](_0x50178b)[_0x53a0b0(0x192)](()=>{const _0x57a9a4=_0x53a0b0;this[_0x57a9a4(0x1b6)][_0x57a9a4(0x1be)][_0x57a9a4(0x1ba)](_0x4128c4)[_0x57a9a4(0xca)](this),this[_0x57a9a4(0x1b6)][_0x57a9a4(0x17e)][_0x57a9a4(0xe4)](_0x57a9a4(0x167));})[_0x53a0b0(0x16e)](_0x1bc71b=>this[_0x53a0b0(0x158)](_0x53a0b0(0xe8),_0x1bc71b))[_0x53a0b0(0x12f)](()=>this[_0x53a0b0(0x12e)]());},{'priority':_0x4bbceb(0x189)}),this[_0x4bbceb(0x1b6)]['on'](_0x4bbceb(0x153),async(_0x39b874,[_0xd0c34,_0x242ed8])=>{const _0x891d19=_0x4bbceb;_0x39b874[_0x891d19(0x181)]();const _0x394fbf=this[_0x891d19(0x1b6)][_0x891d19(0x1bb)][_0x891d19(0x111)][_0x891d19(0x135)](_0xd0c34);if(!this[_0x891d19(0xff)][_0x891d19(0x150)](_0xd0c34)){const _0x45b256=_0x242ed8&&_0x242ed8[_0x891d19(0x17e)]?_0x242ed8[_0x891d19(0x17e)]:'',_0x2adf1f=_0x242ed8&&_0x242ed8[_0x891d19(0xc9)]?_0x242ed8[_0x891d19(0xc9)]:{};await this[_0x891d19(0x191)](_0xd0c34,_0x45b256,_0x2adf1f);}this[_0x891d19(0x1b6)][_0x891d19(0x1bb)][_0x891d19(0xcd)]({'isUndoable':!0x1},()=>{const _0x3d26e9=_0x891d19;_0x394fbf[_0x3d26e9(0x14e)]=!0x0,this[_0x3d26e9(0x1b6)][_0x3d26e9(0x1bb)][_0x3d26e9(0x111)][_0x3d26e9(0x15c)][_0x3d26e9(0x164)](_0x394fbf);});},{'priority':_0x4bbceb(0x189)});}async[_0x32c658(0x199)](_0x37e8ec){const _0x2770ca=_0x32c658,_0x5d0b34=this[_0x2770ca(0x1b6)][_0x2770ca(0x1be)][_0x2770ca(0x1ba)](_0x433f22),{connection:_0x3863e2}=this[_0x2770ca(0x1b6)][_0x2770ca(0x1be)][_0x2770ca(0x1ba)](_0x4128c4),_0x3d2e63=new Set();for(const _0x1af75d of _0x37e8ec){const _0x17051a=_0x1af75d[_0x2770ca(0x193)];_0x17051a&&!_0x5d0b34[_0x2770ca(0x1c0)](_0x17051a)&&_0x3d2e63[_0x2770ca(0x124)](_0x17051a);}if(0x0===_0x3d2e63[_0x2770ca(0x16a)])return;const _0x185748=await _0x1af6df[_0x2770ca(0x146)](_0x3863e2,Array[_0x2770ca(0xf8)](_0x3d2e63));for(const _0x382524 of _0x185748)_0x5d0b34[_0x2770ca(0x1c0)](_0x382524['id'])||_0x5d0b34[_0x2770ca(0x17f)](_0x382524);}[_0x32c658(0xf9)](_0x33bb38,_0x44bcb3={}){const _0x1bdb41=_0x32c658,_0x139bce=this[_0x1bdb41(0x1b6)][_0x1bdb41(0x1bb)],_0x35f768=[];let _0x20757a=0x0;const _0x55642a=_0x1bdb41(0x13e)==typeof _0x33bb38?{'main':_0x33bb38}:_0x33bb38;for(const _0x338720 of Object[_0x1bdb41(0x140)](_0x55642a)){if(!this[_0x1bdb41(0x11c)][_0x1bdb41(0x15e)][_0x1bdb41(0x150)](_0x338720))throw new _0xb522b5(_0x1bdb41(0x12b),this);const _0x453302=this[_0x1bdb41(0x1b6)][_0x1bdb41(0x17e)][_0x1bdb41(0xd7)](_0x55642a[_0x338720]),_0x4c7513=this[_0x1bdb41(0x11c)][_0x1bdb41(0x135)](_0x338720),_0x4dec48=new _0x2817d8(_0x139bce[_0x1bdb41(0x1a6)](_0x4c7513,0x0),_0x453302,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x4dec48);for(const [_0x4f61c4,_0x5dc02d]of _0x453302[_0x1bdb41(0x1bc)]){const _0x56cc48=_0x139bce[_0x1bdb41(0x172)](_0x139bce[_0x1bdb41(0x103)](_0x4c7513,_0x5dc02d[_0x1bdb41(0x160)][_0x1bdb41(0xfb)][_0x1bdb41(0x1a1)]()),_0x139bce[_0x1bdb41(0x103)](_0x4c7513,_0x5dc02d[_0x1bdb41(0x168)][_0x1bdb41(0xfb)][_0x1bdb41(0x1a1)]())),_0x2436c3=new _0x307164(_0x4f61c4,null,_0x56cc48,_0x139bce[_0x1bdb41(0x1bc)],!0x0,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x2436c3);}}if(_0x44bcb3)for(const [_0x39ef58,_0x52ca4d]of Object[_0x1bdb41(0x11b)](_0x44bcb3)){const _0x40c49f=_0x139bce[_0x1bdb41(0x111)][_0x1bdb41(0x135)](_0x39ef58);if(!_0x40c49f)throw new _0xb522b5(_0x1bdb41(0xe5),null);for(const [_0x2abb0b,_0x5df6b5]of Object[_0x1bdb41(0x11b)](_0x52ca4d))if(null!==_0x5df6b5){const _0x1a419d=new _0x592043(_0x40c49f,_0x2abb0b,null,_0x5df6b5,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x1a419d);}}return _0x35f768;}async[_0x32c658(0x191)](_0x50689b,_0x919a72,_0x4a95e1){const _0x3dffa8=_0x32c658;this[_0x3dffa8(0xf9)]({[_0x50689b]:_0x919a72},{[_0x50689b]:_0x4a95e1})[_0x3dffa8(0xee)]((_0x5ddf78,_0x192d92)=>{const _0x2ee5f6=_0x3dffa8;_0x5ddf78[_0x2ee5f6(0xcb)]=this[_0x2ee5f6(0x11c)][_0x2ee5f6(0x179)]+_0x192d92,_0x5ddf78[_0x2ee5f6(0x134)]=!0x0,this[_0x2ee5f6(0x173)](_0x5ddf78);}),this[_0x3dffa8(0x151)](),await this[_0x3dffa8(0x102)]();}async[_0x32c658(0x1a4)](_0x3a3787,_0x3523d0){const _0x2d5074=_0x32c658;let _0x224695;this[_0x2d5074(0x14f)]=_0x3a3787[_0x2d5074(0x11a)];const _0x2a25bb=_0x3a3787[_0x2d5074(0x15d)]&&!_0x3a3787[_0x2d5074(0x188)],_0x479642=_0x2a25bb?0x0:_0x3a3787[_0x2d5074(0x17e)][_0x2d5074(0xcb)];if(_0x3523d0[_0x2d5074(0xee)](_0x8ecb5=>{const _0x49f6f1=_0x2d5074;_0x8ecb5[_0x49f6f1(0x134)]=!0x0,_0x8ecb5[_0x49f6f1(0x177)]=_0x3a3787[_0x49f6f1(0x197)],_0x8ecb5[_0x49f6f1(0x193)]=null;}),_0x2a25bb)_0x224695=_0x3523d0,this[_0x2d5074(0x17d)](_0x224695,_0x2a25bb);else{if(_0x3a3787[_0x2d5074(0x188)]){const _0x390165=this[_0x2d5074(0xf9)](_0x3a3787[_0x2d5074(0x188)]);this[_0x2d5074(0x11c)][_0x2d5074(0x10b)][_0x2d5074(0x179)]=-_0x390165[_0x2d5074(0x138)],_0x390165[_0x2d5074(0xee)](_0x1fed77=>{const _0xfc69c2=_0x2d5074;_0x1fed77[_0xfc69c2(0xcb)]-=_0x390165[_0xfc69c2(0x138)],_0x1fed77[_0xfc69c2(0x177)]=_0x3a3787[_0xfc69c2(0x197)],_0x1fed77[_0xfc69c2(0x134)]=!0x0,_0x1fed77[_0xfc69c2(0x193)]=null;}),this[_0x2d5074(0x17d)](_0x390165,!0x0),this[_0x2d5074(0xe1)][_0x2d5074(0x179)]=-_0x390165[_0x2d5074(0x138)]+this[_0x2d5074(0x14f)],this[_0x2d5074(0xec)](_0x390165);}this[_0x2d5074(0x11c)][_0x2d5074(0x10b)][_0x2d5074(0x179)]=_0x479642,_0x224695=this[_0x2d5074(0x149)](_0x3a3787[_0x2d5074(0x17e)],_0x3a3787[_0x2d5074(0x110)]),await this[_0x2d5074(0x199)](_0x224695),this[_0x2d5074(0x17d)](_0x224695,_0x2a25bb);}_0x3a3787[_0x2d5074(0x148)]&&(this[_0x2d5074(0x17b)][_0x2d5074(0x159)](_0x224695,_0x3a3787[_0x2d5074(0x148)]),this[_0x2d5074(0xd3)]=_0x3a3787[_0x2d5074(0x148)]),this[_0x2d5074(0xe1)][_0x2d5074(0x179)]=_0x479642+this[_0x2d5074(0x14f)],this[_0x2d5074(0xec)](_0x224695),_0x3523d0[_0x2d5074(0x166)](_0x45ef2a=>{const _0x37d4aa=_0x2d5074,_0x4f68b4=this[_0x37d4aa(0x13f)](_0x45ef2a);return _0x4f68b4&&!this[_0x37d4aa(0xff)][_0x37d4aa(0x150)](_0x4f68b4);})[_0x2d5074(0xee)]((_0x4b2070,_0x1a5d9d)=>{const _0x2d920d=_0x2d5074;_0x4b2070[_0x2d920d(0xcb)]=this[_0x2d920d(0x11c)][_0x2d920d(0x179)]+_0x1a5d9d,this[_0x2d920d(0x173)](_0x4b2070);}),this[_0x2d5074(0x1b5)]()?(this[_0x2d5074(0xc4)]=0x0,this[_0x2d5074(0x151)](!0x0),await this[_0x2d5074(0x102)]()):(this[_0x2d5074(0x1ad)]=!0x1,this[_0x2d5074(0x12e)]());}[_0x32c658(0x158)](_0x3bfc3b,_0x1b15cd){const _0x1bb86d=_0x32c658,_0x5770ee=_0x1b15cd&&_0x1b15cd[_0x1bb86d(0xdd)];if(_0x5770ee&&_0x5770ee[_0x1bb86d(0x1b8)](_0x1bb86d(0xbd)))throw _0x1b15cd;const _0x2f0a05=this[_0x1bb86d(0x1b6)][_0x1bb86d(0x1be)][_0x1bb86d(0x1ba)](_0x4128c4);throw this[_0x1bb86d(0x1ad)]=!0x0,_0x2f0a05[_0x1bb86d(0x113)](),this[_0x1bb86d(0x1b6)][_0x1bb86d(0x144)](_0x1bb86d(0x119)),new _0xb522b5(_0x3bfc3b,this[_0x1bb86d(0x1b6)],_0x5770ee?{'originalError':_0x5770ee}:void 0x0);}[_0x32c658(0x173)](_0x5bcb06){const _0x2297c0=_0x32c658;this[_0x2297c0(0xce)][_0x2297c0(0x150)](_0x5bcb06)||(this[_0x2297c0(0xce)][_0x2297c0(0x124)](_0x5bcb06),this[_0x2297c0(0x14a)][_0x2297c0(0x178)](_0x5bcb06),this[_0x2297c0(0xed)]||_0x2297c0(0x130)==_0x5bcb06[_0x2297c0(0x1bd)]&&!_0x5bcb06[_0x2297c0(0xfa)]||this[_0x2297c0(0x15f)]());}[_0x32c658(0x151)](_0x5b0932=!0x1){const _0x5e0118=_0x32c658;!_0x5b0932&&this[_0x5e0118(0x1ad)]||(this[_0x5e0118(0x1ad)]=!0x0,clearTimeout(this[_0x5e0118(0x1ab)]),this[_0x5e0118(0x1ab)]=setTimeout(()=>{const _0x43fc23=_0x5e0118;this[_0x43fc23(0xe9)]()[_0x43fc23(0x192)](_0x18463f=>{const _0x227ad5=_0x43fc23;_0x18463f&&(this[_0x227ad5(0x12e)](),this[_0x227ad5(0x1ad)]=!0x1);})[_0x43fc23(0x16e)](_0x54f502=>{const _0x228350=_0x43fc23;this[_0x228350(0x12e)](),this[_0x228350(0x1ad)]=!0x1,function(_0x20a719){const _0x3d9eaa=_0x228350;return _0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x1b9))||_0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x1a2))||_0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x170));}(_0x54f502)||this[_0x228350(0x158)](_0x54f502[_0x228350(0xdd)],_0x54f502);});},this[_0x5e0118(0xc4)]));}[_0x32c658(0x102)](){return new Promise(_0x5c9639=>{const _0x27ed2a=_0x26fd;this['on'](_0x27ed2a(0xda),()=>{_0x5c9639();});});}async[_0x32c658(0xe9)](){const _0x2e230e=_0x32c658,_0x17c132=this[_0x2e230e(0x1b6)][_0x2e230e(0x1be)][_0x2e230e(0x1ba)](_0x40141b);if(this[_0x2e230e(0x16b)]()&&(_0x17c132[_0x2e230e(0x175)](),this[_0x2e230e(0x10d)]=!0x1),!this[_0x2e230e(0x1b5)]())return!0x0;const _0x3a5046=[...this[_0x2e230e(0x14a)]];for(const _0x5461dd of _0x3a5046)_0x5461dd[_0x2e230e(0x11e)]=this[_0x2e230e(0x11c)][_0x2e230e(0x10b)][_0x2e230e(0x114)](_0x5461dd);const _0x186d32=this[_0x2e230e(0x17b)][_0x2e230e(0x183)](_0x3a5046),_0x3de8cd=K++,_0x57e1ba=this[_0x2e230e(0xdf)](_0x3a5046),_0x1b1adf=await this[_0x2e230e(0x100)][_0x2e230e(0x120)](_0x57e1ba,_0x57e1ba[_0x2e230e(0xcb)],_0x186d32);try{return await this[_0x2e230e(0x18c)](_0x3a5046,_0x1b1adf,_0x3de8cd);}catch(_0x4f4442){return this[_0x2e230e(0x158)](_0x2e230e(0xc2),_0x4f4442);}}async[_0x32c658(0x18c)](_0x19f016,_0x376464,_0x14e532){const _0x31d933=_0x32c658;if(_0x31d933(0x136)in _0x376464)throw _0x376464[_0x31d933(0x136)];let _0x4f0ebf=!0x1;if(_0x376464[_0x31d933(0x15d)]){_0x376464[_0x31d933(0x148)]&&(this[_0x31d933(0xd3)]=_0x376464[_0x31d933(0x148)]),this[_0x31d933(0x14a)]=this[_0x31d933(0x14a)][_0x31d933(0x166)](_0x1b844a=>!_0x19f016[_0x31d933(0x12d)](_0x1b844a));for(const _0x4fa07c of _0x19f016)_0x4fa07c[_0x31d933(0x177)]=_0x31d933(0xfd)in _0x376464&&_0x376464[_0x31d933(0xfd)]||void 0x0;Q(_0x19f016,_0x376464[_0x31d933(0x179)]-_0x19f016[_0x31d933(0x138)]),this[_0x31d933(0xec)](_0x19f016);const _0x1a90c5=_0x19f016[_0x31d933(0x166)](_0x23609e=>{const _0x578335=_0x31d933;if(!_0x23609e[_0x578335(0x134)])return!0x1;const _0x91a461=this[_0x578335(0x13f)](_0x23609e);return _0x91a461&&!this[_0x578335(0xff)][_0x578335(0x150)](_0x91a461);});Q(_0x1a90c5,this[_0x31d933(0x11c)][_0x31d933(0x179)]),this[_0x31d933(0x17d)](_0x1a90c5),_0x4f0ebf=!0x0,this[_0x31d933(0xc4)]=this[_0x31d933(0x13c)];}else{const _0x1e2c08=this[_0x31d933(0x149)](_0x376464[_0x31d933(0x17e)],_0x376464[_0x31d933(0x110)])[_0x31d933(0x166)](_0x33c558=>_0x33c558[_0x31d933(0xcb)]>=this[_0x31d933(0x184)]);_0x1e2c08[_0x31d933(0xee)](_0x2fac8e=>this[_0x31d933(0x19e)](_0x2fac8e)),this[_0x31d933(0x14a)]=this[_0x31d933(0x14a)][_0x31d933(0x166)](_0x160ede=>!_0x160ede[_0x31d933(0x134)]||!this[_0x31d933(0xff)][_0x31d933(0x150)](this[_0x31d933(0x13f)](_0x160ede))),this[_0x31d933(0x14a)][_0x31d933(0x138)]&&Q(this[_0x31d933(0x14a)],this[_0x31d933(0x14a)][0x0][_0x31d933(0xcb)]),await this[_0x31d933(0x199)](_0x1e2c08),_0x4f0ebf=this[_0x31d933(0x194)](_0x1e2c08,_0x376464[_0x31d933(0x179)],_0x376464[_0x31d933(0x148)]),this[_0x31d933(0xc4)]=Math[_0x31d933(0x162)](this[_0x31d933(0xc4)]/0x2);}return _0x4f0ebf?!this[_0x31d933(0x1b5)]()||(this[_0x31d933(0x151)](!0x0),!0x1):this[_0x31d933(0x158)](_0x31d933(0x18d));}[_0x32c658(0x194)](_0x340d48,_0xb37eca,_0x29707b){const _0x563c8c=_0x32c658;try{const _0x27fcc1={'document':this[_0x563c8c(0x11c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x50c535,operationsB:_0x2c7879,originalOperations:_0x2897e3}=_0x2d6a3c(_0x340d48,this[_0x563c8c(0x14a)],_0x27fcc1);Q(_0x50c535,this[_0x563c8c(0x11c)][_0x563c8c(0x179)]),Q(_0x2c7879,_0xb37eca);for(const _0x341b67 of _0x50c535){const _0x23f46a=_0x2897e3[_0x563c8c(0x1ba)](_0x341b67);_0x341b67[_0x563c8c(0x193)]=_0x23f46a?_0x23f46a[_0x563c8c(0x193)]:null;}_0x29707b&&(this[_0x563c8c(0x17b)][_0x563c8c(0x159)](_0x340d48,_0x29707b),this[_0x563c8c(0xd3)]=_0x29707b),this[_0x563c8c(0x14a)]=[..._0x2c7879],this[_0x563c8c(0x17d)](_0x50c535),this[_0x563c8c(0xec)](_0x340d48);}catch(_0x17785e){return console[_0x563c8c(0x136)](_0x17785e),!0x1;}return!0x0;}[_0x32c658(0x17d)](_0x2f54b7,_0x4fb095=!0x1){const _0x19050f=_0x32c658;this[_0x19050f(0x1b6)][_0x19050f(0x1bb)][_0x19050f(0xcd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x34f7a1=>{const _0xa72e36=_0x19050f;for(const _0x1c3462 of _0x2f54b7)this[_0xa72e36(0xce)][_0xa72e36(0x124)](_0x1c3462),this[_0xa72e36(0x19e)](_0x1c3462),_0x34f7a1[_0xa72e36(0xc6)][_0xa72e36(0x15a)](_0x1c3462),this[_0xa72e36(0x1b6)][_0xa72e36(0x1bb)][_0xa72e36(0xf3)](_0x1c3462);});}[_0x32c658(0x19e)](_0x904667){const _0x4d1b63=_0x32c658,_0x5816c6=this[_0x4d1b63(0x13f)](_0x904667);_0x5816c6&&this[_0x4d1b63(0xff)][_0x4d1b63(0x124)](_0x5816c6);}[_0x32c658(0x13f)](_0x505570){const _0x479aa6=_0x32c658;let _0x5e9c18,_0x2031bf;switch(_0x505570[_0x479aa6(0x1bd)]){case _0x479aa6(0x198):_0x5e9c18=_0x505570[_0x479aa6(0xf5)][_0x479aa6(0x121)];break;case _0x479aa6(0x130):if(_0x2031bf=_0x505570[_0x479aa6(0x163)],!_0x2031bf)return null;_0x5e9c18=_0x2031bf[_0x479aa6(0x121)];break;case _0x479aa6(0xde):_0x5e9c18=_0x505570[_0x479aa6(0x121)];break;case _0x479aa6(0xf6):_0x5e9c18=_0x505570[_0x479aa6(0x104)];break;case _0x479aa6(0x186):_0x5e9c18=_0x505570[_0x479aa6(0x18b)][_0x479aa6(0x121)];break;default:return null;}return _0x5e9c18[_0x479aa6(0x18f)];}[_0x32c658(0xec)](_0x520e5a){const _0xcd8e47=_0x32c658;_0x520e5a[_0xcd8e47(0xee)](_0x4212eb=>{const _0x458ccc=_0xcd8e47,_0x45d2d0=_0x4212eb[_0x458ccc(0x10a)]();_0x45d2d0[_0x458ccc(0x193)]=_0x4212eb[_0x458ccc(0x193)],_0x45d2d0[_0x458ccc(0x134)]=!!_0x4212eb[_0x458ccc(0x134)],_0x45d2d0[_0x458ccc(0x177)]=_0x4212eb[_0x458ccc(0x177)],_0x45d2d0[_0x458ccc(0xcb)]+=this[_0x458ccc(0x14f)],_0x4212eb[_0x458ccc(0x1b2)]&&this[_0x458ccc(0x196)][_0x458ccc(0x124)](_0x45d2d0),this[_0x458ccc(0xe1)][_0x458ccc(0x15a)](_0x45d2d0);});}[_0x32c658(0x122)](_0x51546a){const _0x4769ad=_0x32c658,_0x4d9aff=this[_0x4769ad(0x1b6)][_0x4769ad(0x1be)][_0x4769ad(0x1ba)](_0x4769ad(0xbb)),_0x5149d4=this[_0x4769ad(0x1b6)][_0x4769ad(0x1b0)];_0x51546a||(_0x51546a=_0x2d7f16(_0x5149d4,_0x4769ad(0x108))),_0x4d9aff[_0x4769ad(0xeb)](_0x51546a,{'title':_0x2d7f16(_0x5149d4,_0x4769ad(0x1a7)),'namespace':_0x4769ad(0x1a8)}),this[_0x4769ad(0x127)]=!0x0,clearTimeout(this[_0x4769ad(0x1ab)]),this[_0x4769ad(0x14a)]=[],this[_0x4769ad(0x1b6)][_0x4769ad(0x1be)][_0x4769ad(0x1ba)](_0x4128c4)[_0x4769ad(0x113)]();}[_0x32c658(0x15f)](){const _0x13d789=_0x32c658;this[_0x13d789(0xed)]||(this[_0x13d789(0xed)]=this[_0x13d789(0x1b6)][_0x13d789(0x1be)][_0x13d789(0x1ba)](_0x19f290)[_0x13d789(0x124)](_0x2d7f16(this[_0x13d789(0x1b6)][_0x13d789(0x1b0)],_0x13d789(0xdc))));}[_0x32c658(0x12e)](){const _0x4f5c84=_0x32c658;this[_0x4f5c84(0xed)]&&(this[_0x4f5c84(0x1b6)][_0x4f5c84(0x1be)][_0x4f5c84(0x1ba)](_0x19f290)[_0x4f5c84(0xd0)](this[_0x4f5c84(0xed)]),this[_0x4f5c84(0xed)]=null);}[_0x32c658(0xdf)](_0x1f1c35){const _0xb073dc=_0x32c658,_0x3c696f=_0x1f1c35[_0xb073dc(0x126)](_0x4d2911=>_0x4d2911[_0xb073dc(0x11d)]());return this[_0xb073dc(0x176)][_0xb073dc(0xf7)](_0x3c696f);}[_0x32c658(0x149)](_0x15c3d7,_0x26fa91){const _0x45b59a=_0x32c658;return this[_0x45b59a(0x176)][_0x45b59a(0x156)](_0x15c3d7)[_0x45b59a(0x126)]((_0x520e85,_0x21f393)=>{const _0x814ebb=_0x45b59a,_0x185f38=_0x814ebb(0x116)==_0x26fa91[_0x21f393][_0x814ebb(0x1bd)];if(_0x814ebb(0xf1)==_0x520e85[_0x814ebb(0xc3)]){const _0x127413=_0x520e85[_0x814ebb(0xf5)][_0x814ebb(0x121)];!this[_0x814ebb(0x11c)][_0x814ebb(0x135)](_0x127413)&&(this[_0x814ebb(0x11c)][_0x814ebb(0xf2)](_0x814ebb(0x123),_0x127413)[_0x814ebb(0x13b)]=!0x1);}const _0x262870=_0x26f46a[_0x814ebb(0xbf)](_0x520e85,this[_0x814ebb(0x11c)]);return _0x262870[_0x814ebb(0x11e)]=_0x520e85[_0x814ebb(0x11e)],_0x262870[_0x814ebb(0x134)]=_0x185f38,_0x262870[_0x814ebb(0x193)]=_0x185f38?null:_0x26fa91[_0x21f393][_0x814ebb(0x101)],_0x262870[_0x814ebb(0x1b2)]=_0x814ebb(0xe2)===_0x26fa91[_0x21f393][_0x814ebb(0x1bd)],_0x262870[_0x814ebb(0x177)]=_0x26fa91[_0x21f393][_0x814ebb(0x177)],_0x262870;});}[_0x32c658(0x157)](){const _0x1e5f89=_0x32c658;this[_0x1e5f89(0x10d)]=!0x0,this[_0x1e5f89(0x16b)]()?this[_0x1e5f89(0x151)]():this[_0x1e5f89(0x10d)]=!0x1;}[_0x32c658(0x16b)](){const _0xeac20=_0x32c658,_0xae5f18=this[_0xeac20(0x1b6)][_0xeac20(0x1be)][_0xeac20(0x1ba)](_0x5886e0)[_0xeac20(0xd1)][_0xeac20(0x1ba)](this[_0xeac20(0x118)]);return!this[_0xeac20(0x1b6)][_0xeac20(0x132)]&&!!_0xae5f18&&_0xae5f18[_0xeac20(0x138)]>0x1&&this[_0xeac20(0x10d)];}[_0x32c658(0x1b5)](){const _0x386596=_0x32c658;return this[_0x386596(0x14a)][_0x386596(0x138)]>0x0||this[_0x386596(0x16b)]();}}l[_0x32c658(0x10e)]=_0x5023cb;export default l;class J extends Error{}function _0x26fd(_0x39c37f,_0x40bf9e){const _0x36eddb=_0x36ed();return _0x26fd=function(_0x26fd8a,_0x576328){_0x26fd8a=_0x26fd8a-0xbb;let _0x2f619c=_0x36eddb[_0x26fd8a];return _0x2f619c;},_0x26fd(_0x39c37f,_0x40bf9e);}function Q(_0x2bbe0d,_0x53b22b){const _0x3b2069=_0x32c658;for(const _0x5986ad of _0x2bbe0d)_0x5986ad[_0x3b2069(0xcb)]=_0x53b22b++;}class X{constructor(_0xbb541c){const _0x4d7518=_0x32c658;this[_0x4d7518(0x182)]=_0xbb541c,this[_0x4d7518(0x19f)]=new WeakMap();}[_0x32c658(0x183)](_0x3fee57){const _0x11330c=_0x32c658;let _0x54bad9=_0x3fee57[_0x11330c(0x138)];for(;_0x54bad9--;){const _0x2547f6=_0x3fee57[_0x54bad9];if(!this[_0x11330c(0x182)][_0x11330c(0x150)](_0x2547f6)){if(!this[_0x11330c(0x19f)][_0x11330c(0x150)](_0x2547f6)){const _0x25aa3d=_0x4ca5da()[_0x11330c(0x1a1)](0x1,0x12);this[_0x11330c(0x19f)][_0x11330c(0x169)](_0x2547f6,_0x25aa3d);}return this[_0x11330c(0x19f)][_0x11330c(0x1ba)](_0x2547f6);}}}[_0x32c658(0x159)](_0x1c2a18,_0x4a91fa){const _0x45b932=_0x32c658;if(!_0x4a91fa)return;let _0x33b603=_0x1c2a18[_0x45b932(0x138)];for(;_0x33b603--;){const _0x4fc829=_0x1c2a18[_0x33b603];this[_0x45b932(0x182)][_0x45b932(0x150)](_0x4fc829)||this[_0x45b932(0x19f)][_0x45b932(0x169)](_0x4fc829,_0x4a91fa);}}}function _0x36ed(){const _0x3ed6b8=['isEnabled','round','newRange','_bufferRootLoad','listenTo','filter','ready','end','set','size','_shouldSendSelectionUpdate','disableReadOnlyMode','state','catch','view','cloud-services-internal-error:\x20Request\x20timeout.','document:write','createRange','_saveOperationInBuffer','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.','createUserMarkerOperations','_compressor','createdAt','push','version','_isEditingAllowed','_operationIdentifier','define','_applyOperationsSet','data','addUser','isDocumentOperation','stop','_ignoredOperations','getIdOfTheLastOperation','_lastServerVersion','stopListening','move','lastSyncVersion','initData','high','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','_handleServerResponse','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-session-connection-error','rootName','_handleReconnectionResponse','_loadRoot','then','_authorId','_handleExternalOperations','getOperations','_disconnectionOperations','sessionCreatedAt','insert','_fetchMissingUsers','connected','connection','removeFromReconnectionStack','cloudServices.bundleVersion','_addKnownRoot','_operationToId','collaboration.channelId','slice','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','RealTimeCollaborationClient','_handleInitialConnectionData','currentDocumentSession','createPositionAt','Synchronization\x20issue','real-time-collaboration','unregister','off','_sendBufferedOperationsDelayId','rootsAttributes','_isPendingUpdate','permissions','editing','locale','_initSessionsHandling','_isDisconnection','13037592HHpaOH','91397LpLVXl','_shouldSendUpdate','editor','cloudDocumentVersion','startsWith','cloud-services-internal-error:\x20Not\x20connected.','get','model','markers','type','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getUser','realtimecollaborationclient-init-document-already-initialized','register','Notification','destroy','realtimecollaborationclient','sessionAdd:','fromJSON','setPermissions','_disconnectService','realtimecollaborationclient-sendbufferedoperations','__className','_currentBufferDelay','22HZdzFZ','batch','change:hasDomSelection','4NDeFRm','attributes','addToReconnectionStack','baseVersion','change:_isEditingAllowed','enqueueChange','_knownOperations','collaboration','remove','channelSessions','105138DRyeZQ','_lastSyncedOperationId','_initThrowingOnDataSet','404','code','parse','_connectService','mySessionId','change:_isPendingUpdate','reconnect','PENDING_ACTION_SENDING_DATA','message','addRootAttribute','_compressOperations','Permissions','serverHistory','cs:removeUser','_isConnected','fire','multi-root-editor-root-attributes-no-root','apply','12xupRnP','realtimecollaborationclient-init-connection-failed','_sendBufferedOperations','_connectAfterSessionHasBeenFlushed','showWarning','_updateServerHistory','_pendingAction','forEach','pluginName','selection','InsertOperation','createRoot','applyOperation','CommentsOnly','position','addRoot','compress','from','_getOperationsFromInitData','affectsData','path','connect','lastOperationAcceptedAt','rtc-offline','_knownRootNames','_service','userId','_waitUntilSynced','createPositionFromPath','affectedSelectable','getDocumentDetails','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_setUpDataInit','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-service-incorrect-server-operation','clone','history','18520eufAhN','_hasSelectionChanged','CollaborativeEditingService','realtimecollaborationclient-init-service-internal-error','metadata','document','217PWJWIg','disconnect','isUndoneOperation','operationsReceived','init','62510ckgSQI','_channelId','realtimecollaborationclient-error','offset','entries','_document','toJSON','wasUndone','getConnectedSessions','sendOperations','root','_handleReconnectionError','$root','add','_handleSendingSelectionMarkers','map','_hasSynchronizationProblem','bind','isOfficialPlugin','change:range','realtimecollaborationclient-init-non-existent-root','getOperationAuthor','includes','_clearPendingAction','finally','marker','reset','isReadOnly','isPremiumPlugin','_isInit','getRoot','error','lastDocumentSession','length','reconnection:\x20flushed\x20session','409','_isAttached','_baseBufferDelay','directChange','string','_getAffectedRoot','keys','suppressErrorInCollaboration','disconnected','970440QReBtj','enableReadOnlyMode','sessionId','getMany','config','lastOperationId','_decompressOperations','_bufferedOperations','collaboration-missing-channelid','27gezzQm','rtc-destroyed','_isLoaded','_offset','has','_sendBufferedOperationsDelayed','requires','loadRoot','_handleReceivedOperations','1257504nzuxYi','decompress','_refreshUserSelectionMarkers','_crash','setIdForTheLastOperation','addOperation','return','differ','wereChangesApplied','roots','_setPendingAction','start'];_0x36ed=function(){return _0x3ed6b8;};return _0x36ed();}
|
|
23
|
+
const _0x4f87d2=_0xe805;(function(_0x15dbf9,_0x54ad49){const _0x522bcd=_0xe805,_0x3ea8ff=_0x15dbf9();while(!![]){try{const _0x1c4757=parseInt(_0x522bcd(0x15e))/0x1*(parseInt(_0x522bcd(0x22f))/0x2)+-parseInt(_0x522bcd(0x24b))/0x3*(-parseInt(_0x522bcd(0x19d))/0x4)+-parseInt(_0x522bcd(0x215))/0x5*(parseInt(_0x522bcd(0x1ce))/0x6)+-parseInt(_0x522bcd(0x1a7))/0x7+-parseInt(_0x522bcd(0x1ad))/0x8+parseInt(_0x522bcd(0x24e))/0x9+parseInt(_0x522bcd(0x1d0))/0xa*(parseInt(_0x522bcd(0x17d))/0xb);if(_0x1c4757===_0x54ad49)break;else _0x3ea8ff['push'](_0x3ea8ff['shift']());}catch(_0x431310){_0x3ea8ff['push'](_0x3ea8ff['shift']());}}}(_0x4b38,0xb11bf));import{Plugin as _0x27631c,PendingActions as _0x569424}from'ckeditor5/src/core.js';function _0xe805(_0x36f1ea,_0x5f1601){const _0x4b3889=_0x4b38();return _0xe805=function(_0xe805a0,_0x2a419d){_0xe805a0=_0xe805a0-0x154;let _0x2017df=_0x4b3889[_0xe805a0];return _0x2017df;},_0xe805(_0x36f1ea,_0x5f1601);}import{CKEditorError as _0x17b352,version as _0x259b33,uid as _0x1f9b01}from'ckeditor5/src/utils.js';import{Notification as _0xc43c3b}from'ckeditor5/src/ui.js';import{transformSets as _0x2a315f,NoOperation as _0x57b048,InsertOperation as _0x2df3af,MarkerOperation as _0x45d12c,RootAttributeOperation as _0x39f196,OperationFactory as _0x37bcc9,History as _0x450c27}from'ckeditor5/src/engine.js';import _0x51883a from'./websocketgateway.js';function _0x4b38(){const _0x3b54d4=['change:_isEditingAllowed','isReadOnly','_addKnownRoot','initData','change:_isPendingUpdate','_connectAfterSessionHasBeenFlushed','_decompressOperations','collaboration','channelSessions','lastOperationId','_setPendingAction','_waitUntilSynced','__className','parse','reconnection:\x20flushed\x20session','cloudServices.bundleVersion','suppressErrorInCollaboration','affectedSelectable','_handleReconnectionError','lastSyncVersion','cloud-services-internal-error:\x20Request\x20timeout.','startsWith','rtc-destroyed','_fetchMissingUsers','root','_refreshUserSelectionMarkers','currentDocumentSession','realtimecollaborationclient-init-service-internal-error','from','unregister','end','type','editing','_loadRoot','state','$root','plugins','_clearPendingAction','slice','3315270whYvFA','_baseBufferDelay','isPremiumPlugin','addUser','connect','disableReadOnlyMode','_isLoaded','return','PENDING_ACTION_SENDING_DATA','setPermissions','_compressOperations','string','RealTimeCollaborationClient','createPositionAt','set','createUserMarkerOperations','realtimecollaborationclient-init-connection-failed','affectsData','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.','start','position','collaboration.channelId','stop','marker','selection','add','2Zelgro','409','operationsReceived','_updateServerHistory','decompress','_sendBufferedOperationsDelayed','getOperationAuthor','_setUpDataInit','lastDocumentSession','_knownOperations','markers','applyOperation','stopListening','createRoot','realtimecollaborationclient-error','model','CommentsOnly','_document','remove','change:hasDomSelection','isEnabled','_getAffectedRoot','addRootAttribute','_hasSelectionChanged','catch','editor','_operationToId','real-time-collaboration','29217AQCxZN','addOperation','connected','8099676uFJRoZ','_isPendingUpdate','collaboration-missing-channelid','addToReconnectionStack','init','move','version','realtimecollaborationclient-sendbufferedoperations','createRange','_handleExternalOperations','attributes','getOperations','cloud-services-internal-error:\x20Not\x20connected.','_handleInitialConnectionData','rootsAttributes','sessionAdd:','roots','_channelId','toJSON','change:range','404','sessionCreatedAt','connection','41546LaGVxC','directChange','_lastSyncedOperationId','_compressor','code','Synchronization\x20issue','showWarning','fire','then','includes','sendOperations','createPositionFromPath','metadata','_hasSynchronizationProblem','realtimecollaborationclient-init-session-connection-error','cloudDocumentVersion','_knownRootNames','Notification','reconnect','_currentBufferDelay','path','message','realtimecollaborationclient-init-document-already-initialized','CollaborativeEditingService','requires','document:write','has','compress','_sendBufferedOperationsDelayId','apply','view','16467eIPCvc','wasUndone','getIdOfTheLastOperation','Permissions','forEach','size','high','newRange','loadRoot','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_bufferRootLoad','_initSessionsHandling','_initThrowingOnDataSet','getRoot','locale','realtimecollaborationclient-handleserverresponse','listenTo','getUser','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastOperationAcceptedAt','batch','_handleSendingSelectionMarkers','_disconnectionOperations','_ignoredOperations','_sendBufferedOperations','_isAttached','differ','_bufferedOperations','targetPosition','error','_shouldSendSelectionUpdate','enqueueChange','4EmowgH','define','document','enableReadOnlyMode','_getOperationsFromInitData','keys','rtc-offline','isOfficialPlugin','removeFromReconnectionStack','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','4330557bfMJKm','insert','getMany','userId','permissions','_applyOperationsSet','3326184ltXkLb','off','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.','_disconnectService','_saveOperationInBuffer','sessionId','isUndoneOperation','mySessionId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','serverHistory','map','ready','disconnect','destroy','_operationIdentifier','finally','_lastServerVersion','_isInit','get','setIdForTheLastOperation','baseVersion','_handleServerResponse','InsertOperation','data','getConnectedSessions','_shouldSendUpdate','offset','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-init-non-existent-root','_service','length','_pendingAction','_crash','12EdlVHa','entries','14260BibIHU','createdAt','_authorId','clone','pluginName','register','push','_offset','bind','isDocumentOperation','addRoot','filter','round','history','cs:removeUser','_connectService','config','_handleReceivedOperations','disconnected','fromJSON','rootName','multi-root-editor-root-attributes-no-root','reset','wereChangesApplied','_isDisconnection','realtimecollaborationclient','_isEditingAllowed','_isConnected','getDocumentDetails','_handleReconnectionResponse'];_0x4b38=function(){return _0x3b54d4;};return _0x4b38();}import _0x2d2316 from'./sessions.js';import _0x24791b from'./usermarkers.js';import{getTranslation as _0xa20651}from'../common-translations.js';import{Compressor as _0x155509}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x48893d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5e8042,CollaborativeEditingService as _0x2faec3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x27631c{static get[_0x4f87d2(0x176)](){return[_0x51883a,_0x2d2316,_0x24791b,_0x569424,_0x48893d,_0xc43c3b];}static get[_0x4f87d2(0x1d4)](){const _0x2dbd70=_0x4f87d2;return _0x2dbd70(0x221);}static get[_0x4f87d2(0x1a4)](){return!0x0;}static get[_0x4f87d2(0x217)](){return!0x0;}get[_0x4f87d2(0x16d)](){const _0x59f10d=_0x4f87d2;return this[_0x59f10d(0x1bd)]+this[_0x59f10d(0x1d7)];}get[_0x4f87d2(0x1bd)](){const _0x536253=_0x4f87d2;return this[_0x536253(0x1b6)][_0x536253(0x254)]-this[_0x536253(0x1d7)];}get[_0x4f87d2(0x201)](){const _0x33f4f7=_0x4f87d2,_0xe9c2da=this[_0x33f4f7(0x1b6)][_0x33f4f7(0x259)]();for(let _0x4165af=_0xe9c2da[_0x33f4f7(0x1cb)]-0x1;_0x4165af>=0x0;_0x4165af--){const _0x260088=_0xe9c2da[_0x4165af];if(!this[_0x33f4f7(0x193)][_0x33f4f7(0x178)](_0x260088))return _0x260088[_0x33f4f7(0x1c1)]+0x1-this[_0x33f4f7(0x1d7)];}return 0x0;}constructor(_0x1756c8){const _0x4f80eb=_0x4f87d2;if(super(_0x1756c8),this[_0x4f80eb(0x1d7)]=0x0,this[_0x4f80eb(0x1b2)]=null,this[_0x4f80eb(0x1b6)]=new _0x450c27(),this[_0x4f80eb(0x248)][_0x4f80eb(0x1e0)][_0x4f80eb(0x19e)](_0x4f80eb(0x1f5),{}),this[_0x4f80eb(0x158)]=this[_0x4f80eb(0x248)][_0x4f80eb(0x1e0)][_0x4f80eb(0x1bf)](_0x4f80eb(0x22a)),!this[_0x4f80eb(0x158)])throw new _0x17b352(_0x4f80eb(0x250),this);const _0x1f0a6c=_0x1756c8[_0x4f80eb(0x1e0)][_0x4f80eb(0x1bf)](_0x4f80eb(0x1fd))||_0x259b33;this[_0x4f80eb(0x1ca)]=new l[(_0x4f80eb(0x175))](_0x1f0a6c,this[_0x4f80eb(0x158)]),this[_0x4f80eb(0x240)]=this[_0x4f80eb(0x248)][_0x4f80eb(0x23e)][_0x4f80eb(0x19f)],this[_0x4f80eb(0x161)]=new _0x155509(),this[_0x4f80eb(0x198)]=[],this[_0x4f80eb(0x238)]=new WeakSet(),this[_0x4f80eb(0x16e)]=new Set(),this[_0x4f80eb(0x223)](_0x4f80eb(0x24f),!0x1),this[_0x4f80eb(0x223)](_0x4f80eb(0x16b),!0x1),this[_0x4f80eb(0x1cc)]=null,this[_0x4f80eb(0x246)]=!0x1,this[_0x4f80eb(0x17a)]=null,this[_0x4f80eb(0x216)]=0x12c,this[_0x4f80eb(0x171)]=this[_0x4f80eb(0x216)],this[_0x4f80eb(0x160)]=null,this[_0x4f80eb(0x193)]=new WeakSet(),this[_0x4f80eb(0x1bb)]=new it(this[_0x4f80eb(0x193)]);}[_0x4f87d2(0x252)](){const _0x12e422=_0x4f87d2,_0x11286b=this[_0x12e422(0x248)],_0x4099b5=_0x11286b[_0x12e422(0x212)][_0x12e422(0x1bf)](_0x48893d),_0x350b9e=_0x11286b[_0x12e422(0x212)][_0x12e422(0x1bf)](_0x51883a);this[_0x12e422(0x18d)](_0x4099b5,_0x12e422(0x235),(_0x10385b,_0x3d20dd)=>{const _0x23b00b=_0x12e422,_0x289ada=_0x3d20dd[0x0];_0x289ada[_0x23b00b(0x1d2)]&&(_0x10385b[_0x23b00b(0x21c)]=_0x4099b5[_0x23b00b(0x18e)](_0x289ada[_0x23b00b(0x1d2)]),_0x10385b[_0x23b00b(0x22b)]()),null===_0x289ada[_0x23b00b(0x1d2)]&&(_0x10385b[_0x23b00b(0x21c)]=null,_0x10385b[_0x23b00b(0x22b)]());},{'priority':_0x12e422(0x183)}),this[_0x12e422(0x18d)](_0x11286b[_0x12e422(0x23e)][_0x12e422(0x19f)][_0x12e422(0x22d)],_0x12e422(0x15a),(_0x46e327,_0x42a88f)=>{const _0x17df17=_0x12e422;_0x42a88f[_0x17df17(0x15f)]&&this[_0x17df17(0x207)]();}),this[_0x12e422(0x18d)](_0x11286b[_0x12e422(0x20e)][_0x12e422(0x17c)],_0x12e422(0x242),()=>{const _0x210372=_0x12e422;this[_0x210372(0x207)]();}),this[_0x12e422(0x189)](),_0x11286b[_0x12e422(0x23e)]['on'](_0x12e422(0x23a),(_0x453c69,_0x2edf43)=>{const _0x5c265a=_0x12e422,_0x35955d=_0x2edf43[0x0];_0x35955d[_0x5c265a(0x1d9)]&&(this[_0x5c265a(0x1b1)](_0x35955d),this[_0x5c265a(0x1c6)]()&&this[_0x5c265a(0x234)]());}),this[_0x12e422(0x236)](),this[_0x12e422(0x1d8)](_0x12e422(0x1ea))['to'](_0x350b9e,_0x12e422(0x210),this,_0x12e422(0x16b),(_0x2735d8,_0x3f191f)=>_0x12e422(0x24d)===_0x2735d8&&!_0x3f191f),this['on'](_0x12e422(0x1ee),()=>{const _0x3feb6b=_0x12e422;this[_0x3feb6b(0x1ea)]?_0x11286b[_0x3feb6b(0x21a)](_0x3feb6b(0x1a3)):_0x11286b[_0x3feb6b(0x1a0)](_0x3feb6b(0x1a3));}),this[_0x12e422(0x1ea)]?_0x11286b[_0x12e422(0x21a)](_0x12e422(0x1a3)):_0x11286b[_0x12e422(0x1a0)](_0x12e422(0x1a3)),this[_0x12e422(0x223)](_0x12e422(0x1eb),!0x1);}async[_0x4f87d2(0x170)](){const _0x953c57=_0x4f87d2,_0x4e4973=this[_0x953c57(0x248)][_0x953c57(0x212)][_0x953c57(0x1bf)](_0x2d2316),_0x241abf=this[_0x953c57(0x248)][_0x953c57(0x212)][_0x953c57(0x1bf)](_0x51883a);try{this[_0x953c57(0x24f)]=!0x0,_0x4e4973[_0x953c57(0x20b)](this[_0x953c57(0x158)]);const _0x570ea7=await this[_0x953c57(0x1ca)][_0x953c57(0x170)](_0x241abf[_0x953c57(0x15d)],this[_0x953c57(0x201)]);await this[_0x953c57(0x1ed)](_0x570ea7)&&(this[_0x953c57(0x24f)]=!0x1,this[_0x953c57(0x213)]());const _0xcba79d=await this[_0x953c57(0x1ca)][_0x953c57(0x1c5)]();_0x4e4973[_0x953c57(0x1d5)](this[_0x953c57(0x158)],_0xcba79d),this[_0x953c57(0x192)](),this[_0x953c57(0x1eb)]=!0x0;}catch(_0x2eac80){if(function(_0x7919ec){const _0x103199=_0x953c57;return _0x103199(0x15b)===_0x7919ec[_0x103199(0x162)];}(_0x2eac80)&&this[_0x953c57(0x1b2)])await this[_0x953c57(0x1f3)]();else{if(function(_0x204dbe){const _0x168152=_0x953c57;return _0x168152(0x230)===_0x204dbe[_0x168152(0x162)];}(_0x2eac80)){const _0x1bed2c=_0xa20651(this[_0x953c57(0x248)][_0x953c57(0x18b)],_0x953c57(0x1a6));this[_0x953c57(0x200)](_0x1bed2c);}else{if(!(_0x2eac80 instanceof Z))throw _0x2eac80;this[_0x953c57(0x200)]();}}}}[_0x4f87d2(0x1ba)](){const _0x2291a5=_0x4f87d2,_0xb63440=this[_0x2291a5(0x248)][_0x2291a5(0x212)][_0x2291a5(0x1bf)](_0x51883a),_0x2ca12f=this[_0x2291a5(0x248)][_0x2291a5(0x212)][_0x2291a5(0x1bf)](_0x2d2316);this[_0x2291a5(0x248)][_0x2291a5(0x1a0)](_0x2291a5(0x204)),_0x2ca12f[_0x2291a5(0x1f6)][_0x2291a5(0x178)](this[_0x2291a5(0x158)])&&_0x2ca12f[_0x2291a5(0x20b)](this[_0x2291a5(0x158)]),_0xb63440[_0x2291a5(0x1a5)](this),this[_0x2291a5(0x1b0)](),super[_0x2291a5(0x1ba)]();}async[_0x4f87d2(0x1ed)](_0x1b1fa1){const _0x1d0808=_0x4f87d2;if(this[_0x1d0808(0x1b2)]!==_0x1b1fa1[_0x1d0808(0x1b2)]&&this[_0x1d0808(0x160)]!==_0x1b1fa1[_0x1d0808(0x1f7)])throw new Z();return this[_0x1d0808(0x1b2)]=_0x1b1fa1[_0x1d0808(0x1b2)],this[_0x1d0808(0x1c2)]([],{..._0x1b1fa1,'wereChangesApplied':!0x1,'data':_0x1b1fa1[_0x1d0808(0x1c4)]},_0x1d0808(0x170));}async[_0x4f87d2(0x1df)](_0x4cfa2b,_0x149257=!0x1){const _0x28dff9=_0x4f87d2,{connection:_0x150e5d}=this[_0x28dff9(0x248)][_0x28dff9(0x212)][_0x28dff9(0x1bf)](_0x51883a);l[_0x28dff9(0x175)][_0x28dff9(0x1c5)](_0x150e5d,this[_0x28dff9(0x158)])[_0x28dff9(0x166)](_0x5a0bb0=>this[_0x28dff9(0x188)](_0x5a0bb0))[_0x28dff9(0x247)](_0x39f9fd=>{const _0x44a99d=_0x28dff9;this[_0x44a99d(0x1cd)](_0x44a99d(0x16c),_0x39f9fd);}),this[_0x28dff9(0x18d)](this[_0x28dff9(0x1ca)],_0x28dff9(0x231),this[_0x28dff9(0x1e1)][_0x28dff9(0x1d8)](this)),this[_0x28dff9(0x18d)](this[_0x28dff9(0x1ca)],_0x28dff9(0x19a),(_0x3f7268,_0x574e80)=>{const _0x3e81d7=_0x28dff9;this[_0x3e81d7(0x1cd)](_0x3e81d7(0x209),_0x574e80);}),this[_0x28dff9(0x18d)](this[_0x28dff9(0x1ca)],_0x28dff9(0x1e2),()=>{const _0x14139e=_0x28dff9;this[_0x14139e(0x1eb)]=!0x1;});const _0x4c8fdf=this[_0x28dff9(0x1bb)][_0x28dff9(0x17f)](_0x4cfa2b);this[_0x28dff9(0x24f)]=!0x0;const _0x15d4ef=await this[_0x28dff9(0x1ca)][_0x28dff9(0x219)](_0x150e5d,this[_0x28dff9(0x21f)](_0x4cfa2b),_0x4c8fdf);if(this[_0x28dff9(0x1b2)]=_0x15d4ef[_0x28dff9(0x1b2)],_0x149257){if(!_0x15d4ef[_0x28dff9(0x1e7)])return void this[_0x28dff9(0x200)]();this[_0x28dff9(0x24f)]=!0x1,this[_0x28dff9(0x213)](),this[_0x28dff9(0x1b6)][_0x28dff9(0x1e6)](),this[_0x28dff9(0x1d7)]=_0x15d4ef[_0x28dff9(0x1c7)],this[_0x28dff9(0x1b6)][_0x28dff9(0x254)]=this[_0x28dff9(0x1d7)],await this[_0x28dff9(0x1c2)](_0x4cfa2b,_0x15d4ef,_0x28dff9(0x1fc));}else await this[_0x28dff9(0x154)](_0x15d4ef,_0x4cfa2b);this[_0x28dff9(0x192)](),this[_0x28dff9(0x1eb)]=!0x0;}[_0x4f87d2(0x192)](){const _0x422987=_0x4f87d2,_0x461ade=this[_0x422987(0x248)][_0x422987(0x212)][_0x422987(0x1bf)](_0x2d2316),_0x1b20e1=this[_0x422987(0x248)][_0x422987(0x212)][_0x422987(0x1bf)](_0x24791b),_0x275e87=_0x461ade[_0x422987(0x1f6)][_0x422987(0x1bf)](this[_0x422987(0x158)]);_0x275e87&&_0x275e87[_0x422987(0x1cb)]>0x1?_0x1b20e1[_0x422987(0x224)]():this[_0x422987(0x18d)](_0x461ade,_0x422987(0x156)+this[_0x422987(0x158)],()=>{const _0x37558d=_0x422987;0x2===_0x461ade[_0x37558d(0x1f6)][_0x37558d(0x1bf)](this[_0x37558d(0x158)])[_0x37558d(0x1cb)]&&_0x1b20e1[_0x37558d(0x224)]();});}async[_0x4f87d2(0x1e1)](_0x2bc935,_0x250d24,_0x23010f,_0x4d3a14){const _0xc99e36=_0x4f87d2;if(!this[_0xc99e36(0x24f)]&&this[_0xc99e36(0x240)][_0xc99e36(0x254)]==_0x250d24){const _0x10efcd=this[_0xc99e36(0x1f4)](_0x23010f,_0x4d3a14);await this[_0xc99e36(0x205)](_0x10efcd),this[_0xc99e36(0x257)](_0x10efcd,_0x250d24,_0x23010f[_0xc99e36(0x1f7)])||this[_0xc99e36(0x1cd)](_0xc99e36(0x1c8));}}async[_0x4f87d2(0x1f3)](){const _0x1018e4=_0x4f87d2;this[_0x1018e4(0x1b0)]();const {locale:_0x5e4354}=this[_0x1018e4(0x248)];let _0x3b3834;try{_0x3b3834=await this[_0x1018e4(0x1ca)][_0x1018e4(0x1ec)]();}catch(_0x11afcc){const _0x32ae1f=_0xa20651(_0x5e4354,_0x1018e4(0x18f));return void this[_0x1018e4(0x200)](_0x32ae1f);}const _0x88a41b=_0x3b3834[_0x1018e4(0x208)]||_0x3b3834[_0x1018e4(0x237)];if(this[_0x1018e4(0x160)]===_0x88a41b[_0x1018e4(0x1f7)])await this[_0x1018e4(0x1df)](this[_0x1018e4(0x248)][_0x1018e4(0x23e)][_0x1018e4(0x19f)][_0x1018e4(0x1dd)][_0x1018e4(0x259)](),!0x0);else{const _0x5bc5e4=_0xa20651(_0x5e4354,_0x1018e4(0x227));this[_0x1018e4(0x200)](_0x5bc5e4);}}[_0x4f87d2(0x1b0)](){const _0x808600=_0x4f87d2;this[_0x808600(0x1ca)][_0x808600(0x1b9)](),this[_0x808600(0x198)]=[],clearTimeout(this[_0x808600(0x17a)]),this[_0x808600(0x23b)](this[_0x808600(0x1ca)]);}[_0x4f87d2(0x188)](_0x6e8777){const _0xf4baab=_0x4f87d2,_0x32ee38=this[_0xf4baab(0x248)][_0xf4baab(0x212)][_0xf4baab(0x1bf)](_0x2d2316);this[_0xf4baab(0x18d)](_0x32ee38,_0xf4baab(0x156)+this[_0xf4baab(0x158)],(_0xb7e40,{session:_0x335b0b})=>{const _0x3c2494=_0xf4baab;if(_0x335b0b['id']===_0x32ee38[_0x3c2494(0x1b4)]){_0xb7e40[_0x3c2494(0x1ae)]();const _0xbe0559=this[_0x3c2494(0x248)][_0x3c2494(0x212)][_0x3c2494(0x178)](_0x3c2494(0x23f))&&this[_0x3c2494(0x248)][_0x3c2494(0x212)][_0x3c2494(0x1bf)](_0x3c2494(0x23f));let _0x5c1573=_0x335b0b[_0x3c2494(0x1ab)];_0xbe0559&&_0xbe0559[_0x3c2494(0x243)]&&(_0x5c1573=_0x5c1573[_0x3c2494(0x1db)](_0x20ce73=>_0x3c2494(0x177)!==_0x20ce73)),this[_0x3c2494(0x248)][_0x3c2494(0x212)][_0x3c2494(0x1bf)](_0x3c2494(0x180))[_0x3c2494(0x21e)](_0x5c1573,this[_0x3c2494(0x158)]);}}),_0x32ee38[_0xf4baab(0x1d5)](this[_0xf4baab(0x158)],_0x6e8777);}[_0x4f87d2(0x189)](){const _0x2def2d=_0x4f87d2,_0x4a0da0=this[_0x2def2d(0x248)][_0x2def2d(0x1c4)][_0x2def2d(0x223)];this[_0x2def2d(0x248)][_0x2def2d(0x1c4)][_0x2def2d(0x223)]=(..._0x419b46)=>{const _0x254da5=_0x2def2d;if(!_0x419b46[_0x419b46[_0x254da5(0x1cb)]-0x1][_0x254da5(0x1fe)])throw new _0x17b352(_0x254da5(0x1b5),this);_0x4a0da0[_0x254da5(0x17b)](this[_0x254da5(0x248)][_0x254da5(0x1c4)],_0x419b46);};}[_0x4f87d2(0x236)](){const _0x326b2e=_0x4f87d2;this[_0x326b2e(0x248)][_0x326b2e(0x1c4)]['on'](_0x326b2e(0x252),(_0x14e5ca,[_0x4a41cc])=>{const _0x3c6c28=_0x326b2e;if(this[_0x3c6c28(0x240)][_0x3c6c28(0x254)])throw new _0x17b352(_0x3c6c28(0x174),this);_0x14e5ca[_0x3c6c28(0x22b)](),this[_0x3c6c28(0x1f8)]();const _0x2fe529=this[_0x3c6c28(0x248)][_0x3c6c28(0x1e0)][_0x3c6c28(0x1bf)](_0x3c6c28(0x155)),_0x2bbb12=this[_0x3c6c28(0x1a1)](_0x4a41cc,_0x2fe529);0x0==_0x2bbb12[_0x3c6c28(0x1cb)]&&_0x2bbb12[_0x3c6c28(0x1d6)](new _0x57b048(0x0)),_0x14e5ca[_0x3c6c28(0x21c)]=this[_0x3c6c28(0x1df)](_0x2bbb12)[_0x3c6c28(0x166)](()=>{const _0x545062=_0x3c6c28;this[_0x545062(0x248)][_0x545062(0x212)][_0x545062(0x1bf)](_0x51883a)[_0x545062(0x251)](this),this[_0x545062(0x248)][_0x545062(0x1c4)][_0x545062(0x165)](_0x545062(0x1b8));})[_0x3c6c28(0x247)](_0x34c11d=>this[_0x3c6c28(0x1cd)](_0x3c6c28(0x225),_0x34c11d))[_0x3c6c28(0x1bc)](()=>this[_0x3c6c28(0x213)]());},{'priority':_0x326b2e(0x183)}),this[_0x326b2e(0x248)]['on'](_0x326b2e(0x185),async(_0x15a3b5,[_0x221ed1,_0x205ab8])=>{const _0x4a569a=_0x326b2e;_0x15a3b5[_0x4a569a(0x22b)]();const _0x5f08b9=this[_0x4a569a(0x248)][_0x4a569a(0x23e)][_0x4a569a(0x19f)][_0x4a569a(0x18a)](_0x221ed1);if(!this[_0x4a569a(0x16e)][_0x4a569a(0x178)](_0x221ed1)){const _0x36a68c=_0x205ab8&&_0x205ab8[_0x4a569a(0x1c4)]?_0x205ab8[_0x4a569a(0x1c4)]:'',_0xe6fc04=_0x205ab8&&_0x205ab8[_0x4a569a(0x258)]?_0x205ab8[_0x4a569a(0x258)]:{};await this[_0x4a569a(0x20f)](_0x221ed1,_0x36a68c,_0xe6fc04);}this[_0x4a569a(0x248)][_0x4a569a(0x23e)][_0x4a569a(0x19c)]({'isUndoable':!0x1},()=>{const _0x8f16a5=_0x4a569a;_0x5f08b9[_0x8f16a5(0x21b)]=!0x0,this[_0x8f16a5(0x248)][_0x8f16a5(0x23e)][_0x8f16a5(0x19f)][_0x8f16a5(0x197)][_0x8f16a5(0x187)](_0x5f08b9);});},{'priority':_0x326b2e(0x183)});}async[_0x4f87d2(0x205)](_0xbabfd1){const _0x9f44e4=_0x4f87d2,_0x4edf79=this[_0x9f44e4(0x248)][_0x9f44e4(0x212)][_0x9f44e4(0x1bf)](_0x48893d),{connection:_0x3eb3f2}=this[_0x9f44e4(0x248)][_0x9f44e4(0x212)][_0x9f44e4(0x1bf)](_0x51883a),_0xd652c8=new Set();for(const _0x469624 of _0xbabfd1){const _0x53ced5=_0x469624[_0x9f44e4(0x1d2)];_0x53ced5&&!_0x4edf79[_0x9f44e4(0x18e)](_0x53ced5)&&_0xd652c8[_0x9f44e4(0x22e)](_0x53ced5);}if(0x0===_0xd652c8[_0x9f44e4(0x182)])return;const _0x2fb166=await _0x5e8042[_0x9f44e4(0x1a9)](_0x3eb3f2,Array[_0x9f44e4(0x20a)](_0xd652c8));for(const _0x54392f of _0x2fb166)_0x4edf79[_0x9f44e4(0x18e)](_0x54392f['id'])||_0x4edf79[_0x9f44e4(0x218)](_0x54392f);}[_0x4f87d2(0x1a1)](_0x31cd2a,_0x4df477={}){const _0x37edf9=_0x4f87d2,_0x34cd02=this[_0x37edf9(0x248)][_0x37edf9(0x23e)],_0x465518=[];let _0x1c9971=0x0;const _0x3678d9=_0x37edf9(0x220)==typeof _0x31cd2a?{'main':_0x31cd2a}:_0x31cd2a;for(const _0x2b0f8c of Object[_0x37edf9(0x1a2)](_0x3678d9)){if(!this[_0x37edf9(0x240)][_0x37edf9(0x157)][_0x37edf9(0x178)](_0x2b0f8c))throw new _0x17b352(_0x37edf9(0x1c9),this);const _0x441d94=this[_0x37edf9(0x248)][_0x37edf9(0x1c4)][_0x37edf9(0x1fb)](_0x3678d9[_0x2b0f8c]),_0x56f3de=this[_0x37edf9(0x240)][_0x37edf9(0x18a)](_0x2b0f8c),_0x576ae3=new _0x2df3af(_0x34cd02[_0x37edf9(0x222)](_0x56f3de,0x0),_0x441d94,_0x1c9971++);_0x465518[_0x37edf9(0x1d6)](_0x576ae3);for(const [_0x29004e,_0x5ea2de]of _0x441d94[_0x37edf9(0x239)]){const _0x250485=_0x34cd02[_0x37edf9(0x256)](_0x34cd02[_0x37edf9(0x169)](_0x56f3de,_0x5ea2de[_0x37edf9(0x228)][_0x37edf9(0x172)][_0x37edf9(0x214)]()),_0x34cd02[_0x37edf9(0x169)](_0x56f3de,_0x5ea2de[_0x37edf9(0x20c)][_0x37edf9(0x172)][_0x37edf9(0x214)]())),_0x5341f6=new _0x45d12c(_0x29004e,null,_0x250485,_0x34cd02[_0x37edf9(0x239)],!0x0,_0x1c9971++);_0x465518[_0x37edf9(0x1d6)](_0x5341f6);}}if(_0x4df477)for(const [_0x3e6162,_0x2ffd03]of Object[_0x37edf9(0x1cf)](_0x4df477)){const _0x868677=_0x34cd02[_0x37edf9(0x19f)][_0x37edf9(0x18a)](_0x3e6162);if(!_0x868677)throw new _0x17b352(_0x37edf9(0x1e5),null);for(const [_0x3b856f,_0x135979]of Object[_0x37edf9(0x1cf)](_0x2ffd03))if(null!==_0x135979){const _0x5d3c38=new _0x39f196(_0x868677,_0x3b856f,null,_0x135979,_0x1c9971++);_0x465518[_0x37edf9(0x1d6)](_0x5d3c38);}}return _0x465518;}async[_0x4f87d2(0x20f)](_0xba939e,_0xd2293,_0x597888){const _0x3e4b95=_0x4f87d2;this[_0x3e4b95(0x1a1)]({[_0xba939e]:_0xd2293},{[_0xba939e]:_0x597888})[_0x3e4b95(0x181)]((_0x5b128b,_0x2cb201)=>{const _0x480b3c=_0x3e4b95;_0x5b128b[_0x480b3c(0x1c1)]=this[_0x480b3c(0x240)][_0x480b3c(0x254)]+_0x2cb201,_0x5b128b[_0x480b3c(0x1be)]=!0x0,this[_0x480b3c(0x1b1)](_0x5b128b);}),this[_0x3e4b95(0x234)](),await this[_0x3e4b95(0x1f9)]();}async[_0x4f87d2(0x154)](_0x48bb99,_0xd43cda){const _0x393ae0=_0x4f87d2;let _0x3e3d0a;this[_0x393ae0(0x1d7)]=_0x48bb99[_0x393ae0(0x1c7)];const _0x353a8d=_0x48bb99[_0x393ae0(0x1e7)]&&!_0x48bb99[_0x393ae0(0x1f1)],_0x1de5be=_0x353a8d?0x0:_0x48bb99[_0x393ae0(0x1c4)][_0x393ae0(0x1c1)];if(_0xd43cda[_0x393ae0(0x181)](_0x218f7a=>{const _0x3de73e=_0x393ae0;_0x218f7a[_0x3de73e(0x1be)]=!0x0,_0x218f7a[_0x3de73e(0x1d1)]=_0x48bb99[_0x3de73e(0x15c)],_0x218f7a[_0x3de73e(0x1d2)]=null;}),_0x353a8d)_0x3e3d0a=_0xd43cda,this[_0x393ae0(0x1ac)](_0x3e3d0a,_0x353a8d);else{if(_0x48bb99[_0x393ae0(0x1f1)]){const _0x3d2102=this[_0x393ae0(0x1a1)](_0x48bb99[_0x393ae0(0x1f1)]);this[_0x393ae0(0x240)][_0x393ae0(0x1dd)][_0x393ae0(0x254)]=-_0x3d2102[_0x393ae0(0x1cb)],_0x3d2102[_0x393ae0(0x181)](_0x46f1cb=>{const _0x1f9b45=_0x393ae0;_0x46f1cb[_0x1f9b45(0x1c1)]-=_0x3d2102[_0x1f9b45(0x1cb)],_0x46f1cb[_0x1f9b45(0x1d1)]=_0x48bb99[_0x1f9b45(0x15c)],_0x46f1cb[_0x1f9b45(0x1be)]=!0x0,_0x46f1cb[_0x1f9b45(0x1d2)]=null;}),this[_0x393ae0(0x1ac)](_0x3d2102,!0x0),this[_0x393ae0(0x1b6)][_0x393ae0(0x254)]=-_0x3d2102[_0x393ae0(0x1cb)]+this[_0x393ae0(0x1d7)],this[_0x393ae0(0x232)](_0x3d2102);}this[_0x393ae0(0x240)][_0x393ae0(0x1dd)][_0x393ae0(0x254)]=_0x1de5be,_0x3e3d0a=this[_0x393ae0(0x1f4)](_0x48bb99[_0x393ae0(0x1c4)],_0x48bb99[_0x393ae0(0x16a)]),await this[_0x393ae0(0x205)](_0x3e3d0a),this[_0x393ae0(0x1ac)](_0x3e3d0a,_0x353a8d);}_0x48bb99[_0x393ae0(0x1f7)]&&(this[_0x393ae0(0x1bb)][_0x393ae0(0x1c0)](_0x3e3d0a,_0x48bb99[_0x393ae0(0x1f7)]),this[_0x393ae0(0x160)]=_0x48bb99[_0x393ae0(0x1f7)]),this[_0x393ae0(0x1b6)][_0x393ae0(0x254)]=_0x1de5be+this[_0x393ae0(0x1d7)],this[_0x393ae0(0x232)](_0x3e3d0a),_0xd43cda[_0x393ae0(0x1db)](_0x35abf1=>{const _0x329576=_0x393ae0,_0x1a87fc=this[_0x329576(0x244)](_0x35abf1);return _0x1a87fc&&!this[_0x329576(0x16e)][_0x329576(0x178)](_0x1a87fc);})[_0x393ae0(0x181)]((_0x1617b7,_0x5e2193)=>{const _0x1b3823=_0x393ae0;_0x1617b7[_0x1b3823(0x1c1)]=this[_0x1b3823(0x240)][_0x1b3823(0x254)]+_0x5e2193,this[_0x1b3823(0x1b1)](_0x1617b7);}),this[_0x393ae0(0x1c6)]()?(this[_0x393ae0(0x171)]=0x0,this[_0x393ae0(0x234)](!0x0),await this[_0x393ae0(0x1f9)]()):(this[_0x393ae0(0x24f)]=!0x1,this[_0x393ae0(0x213)]());}[_0x4f87d2(0x1cd)](_0x43b40f,_0x7eb71b){const _0x56cf9a=_0x4f87d2,_0x43f995=_0x7eb71b&&_0x7eb71b[_0x56cf9a(0x173)];if(_0x43f995&&_0x43f995[_0x56cf9a(0x203)](_0x56cf9a(0x1e9)))throw _0x7eb71b;const _0x5e45c0=this[_0x56cf9a(0x248)][_0x56cf9a(0x212)][_0x56cf9a(0x1bf)](_0x51883a);throw this[_0x56cf9a(0x24f)]=!0x0,_0x5e45c0[_0x56cf9a(0x1b9)](),this[_0x56cf9a(0x248)][_0x56cf9a(0x1a0)](_0x56cf9a(0x23d)),new _0x17b352(_0x43b40f,this[_0x56cf9a(0x248)],_0x43f995?{'originalError':_0x43f995}:void 0x0);}[_0x4f87d2(0x1b1)](_0x4daf07){const _0x3d1992=_0x4f87d2;this[_0x3d1992(0x238)][_0x3d1992(0x178)](_0x4daf07)||(this[_0x3d1992(0x238)][_0x3d1992(0x22e)](_0x4daf07),this[_0x3d1992(0x198)][_0x3d1992(0x1d6)](_0x4daf07),this[_0x3d1992(0x1cc)]||_0x3d1992(0x22c)==_0x4daf07[_0x3d1992(0x20d)]&&!_0x4daf07[_0x3d1992(0x226)]||this[_0x3d1992(0x1f8)]());}[_0x4f87d2(0x234)](_0x4bbcaa=!0x1){const _0x452b1d=_0x4f87d2;!_0x4bbcaa&&this[_0x452b1d(0x24f)]||(this[_0x452b1d(0x24f)]=!0x0,clearTimeout(this[_0x452b1d(0x17a)]),this[_0x452b1d(0x17a)]=setTimeout(()=>{const _0x9ee937=_0x452b1d;this[_0x9ee937(0x195)]()[_0x9ee937(0x166)](_0x1bd928=>{const _0x416a7f=_0x9ee937;_0x1bd928&&(this[_0x416a7f(0x213)](),this[_0x416a7f(0x24f)]=!0x1);})[_0x9ee937(0x247)](_0x5fb554=>{const _0x170147=_0x9ee937;this[_0x170147(0x213)](),this[_0x170147(0x24f)]=!0x1,function(_0x49802e){const _0x55a4cb=_0x170147;return _0x49802e[_0x55a4cb(0x173)][_0x55a4cb(0x203)](_0x55a4cb(0x25a))||_0x49802e[_0x55a4cb(0x173)][_0x55a4cb(0x203)](_0x55a4cb(0x186))||_0x49802e[_0x55a4cb(0x173)][_0x55a4cb(0x203)](_0x55a4cb(0x202));}(_0x5fb554)||this[_0x170147(0x1cd)](_0x5fb554[_0x170147(0x173)],_0x5fb554);});},this[_0x452b1d(0x171)]));}[_0x4f87d2(0x1f9)](){return new Promise(_0xaaa01b=>{const _0x5ddb92=_0xe805;this['on'](_0x5ddb92(0x1f2),()=>{_0xaaa01b();});});}async[_0x4f87d2(0x195)](){const _0x2ca6e4=_0x4f87d2,_0x4010be=this[_0x2ca6e4(0x248)][_0x2ca6e4(0x212)][_0x2ca6e4(0x1bf)](_0x24791b);if(this[_0x2ca6e4(0x19b)]()&&(_0x4010be[_0x2ca6e4(0x224)](),this[_0x2ca6e4(0x246)]=!0x1),!this[_0x2ca6e4(0x1c6)]())return!0x0;const _0x377e9a=[...this[_0x2ca6e4(0x198)]];for(const _0x3e2d50 of _0x377e9a)_0x3e2d50[_0x2ca6e4(0x17e)]=this[_0x2ca6e4(0x240)][_0x2ca6e4(0x1dd)][_0x2ca6e4(0x1b3)](_0x3e2d50);const _0x4b2765=this[_0x2ca6e4(0x1bb)][_0x2ca6e4(0x17f)](_0x377e9a),_0x15c4b6=Y++,_0x359cd1=this[_0x2ca6e4(0x21f)](_0x377e9a),_0x2fa4c6=await this[_0x2ca6e4(0x1ca)][_0x2ca6e4(0x168)](_0x359cd1,_0x359cd1[_0x2ca6e4(0x1c1)],_0x4b2765);try{return await this[_0x2ca6e4(0x1c2)](_0x377e9a,_0x2fa4c6,_0x15c4b6);}catch(_0x3a4795){return this[_0x2ca6e4(0x1cd)](_0x2ca6e4(0x255),_0x3a4795);}}async[_0x4f87d2(0x1c2)](_0x35a355,_0x15d092,_0x3f4dc1){const _0x546e56=_0x4f87d2;if(_0x546e56(0x19a)in _0x15d092)throw _0x15d092[_0x546e56(0x19a)];let _0x2b1bc9=!0x1;if(_0x15d092[_0x546e56(0x1e7)]){_0x15d092[_0x546e56(0x1f7)]&&(this[_0x546e56(0x160)]=_0x15d092[_0x546e56(0x1f7)]),this[_0x546e56(0x198)]=this[_0x546e56(0x198)][_0x546e56(0x1db)](_0x52eb9d=>!_0x35a355[_0x546e56(0x167)](_0x52eb9d));for(const _0x559ac7 of _0x35a355)_0x559ac7[_0x546e56(0x1d1)]=_0x546e56(0x190)in _0x15d092&&_0x15d092[_0x546e56(0x190)]||void 0x0;tt(_0x35a355,_0x15d092[_0x546e56(0x254)]-_0x35a355[_0x546e56(0x1cb)]),this[_0x546e56(0x232)](_0x35a355);const _0x4ea106=_0x35a355[_0x546e56(0x1db)](_0x5ce955=>{const _0x5785fc=_0x546e56;if(!_0x5ce955[_0x5785fc(0x1be)])return!0x1;const _0x4334a9=this[_0x5785fc(0x244)](_0x5ce955);return _0x4334a9&&!this[_0x5785fc(0x16e)][_0x5785fc(0x178)](_0x4334a9);});tt(_0x4ea106,this[_0x546e56(0x240)][_0x546e56(0x254)]),this[_0x546e56(0x1ac)](_0x4ea106),_0x2b1bc9=!0x0,this[_0x546e56(0x171)]=this[_0x546e56(0x216)];}else{const _0x23fdf5=this[_0x546e56(0x1f4)](_0x15d092[_0x546e56(0x1c4)],_0x15d092[_0x546e56(0x16a)])[_0x546e56(0x1db)](_0x274afa=>_0x274afa[_0x546e56(0x1c1)]>=this[_0x546e56(0x1bd)]);_0x23fdf5[_0x546e56(0x181)](_0x2dd9ac=>this[_0x546e56(0x1f0)](_0x2dd9ac)),this[_0x546e56(0x198)]=this[_0x546e56(0x198)][_0x546e56(0x1db)](_0x44cf96=>!_0x44cf96[_0x546e56(0x1be)]||!this[_0x546e56(0x16e)][_0x546e56(0x178)](this[_0x546e56(0x244)](_0x44cf96))),this[_0x546e56(0x198)][_0x546e56(0x1cb)]&&tt(this[_0x546e56(0x198)],this[_0x546e56(0x198)][0x0][_0x546e56(0x1c1)]),await this[_0x546e56(0x205)](_0x23fdf5),_0x2b1bc9=this[_0x546e56(0x257)](_0x23fdf5,_0x15d092[_0x546e56(0x254)],_0x15d092[_0x546e56(0x1f7)]),this[_0x546e56(0x171)]=Math[_0x546e56(0x1dc)](this[_0x546e56(0x171)]/0x2);}return _0x2b1bc9?!this[_0x546e56(0x1c6)]()||(this[_0x546e56(0x234)](!0x0),!0x1):this[_0x546e56(0x1cd)](_0x546e56(0x18c));}[_0x4f87d2(0x257)](_0x34ff57,_0x13bbf8,_0x390a02){const _0x42ae6e=_0x4f87d2;try{const _0x3e734f={'document':this[_0x42ae6e(0x240)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x58a19e,operationsB:_0x2fb88f,originalOperations:_0x2da70c}=_0x2a315f(_0x34ff57,this[_0x42ae6e(0x198)],_0x3e734f);tt(_0x58a19e,this[_0x42ae6e(0x240)][_0x42ae6e(0x254)]),tt(_0x2fb88f,_0x13bbf8);for(const _0x1c811d of _0x58a19e){const _0x3e0303=_0x2da70c[_0x42ae6e(0x1bf)](_0x1c811d);_0x1c811d[_0x42ae6e(0x1d2)]=_0x3e0303?_0x3e0303[_0x42ae6e(0x1d2)]:null;}_0x390a02&&(this[_0x42ae6e(0x1bb)][_0x42ae6e(0x1c0)](_0x34ff57,_0x390a02),this[_0x42ae6e(0x160)]=_0x390a02),this[_0x42ae6e(0x198)]=[..._0x2fb88f],this[_0x42ae6e(0x1ac)](_0x58a19e),this[_0x42ae6e(0x232)](_0x34ff57);}catch(_0x20c0db){return console[_0x42ae6e(0x19a)](_0x20c0db),!0x1;}return!0x0;}[_0x4f87d2(0x1ac)](_0x1e329c,_0x5e9245=!0x1){const _0x567f3b=_0x4f87d2;this[_0x567f3b(0x248)][_0x567f3b(0x23e)][_0x567f3b(0x19c)]({'isUndoable':!0x1,'isLocal':!0x1},_0xc95acc=>{const _0x1fdc0f=_0x567f3b;for(const _0x2012f4 of _0x1e329c)this[_0x1fdc0f(0x238)][_0x1fdc0f(0x22e)](_0x2012f4),this[_0x1fdc0f(0x1f0)](_0x2012f4),_0xc95acc[_0x1fdc0f(0x191)][_0x1fdc0f(0x24c)](_0x2012f4),this[_0x1fdc0f(0x248)][_0x1fdc0f(0x23e)][_0x1fdc0f(0x23a)](_0x2012f4);});}[_0x4f87d2(0x1f0)](_0x111cca){const _0x273802=_0x4f87d2,_0xe964f3=this[_0x273802(0x244)](_0x111cca);_0xe964f3&&this[_0x273802(0x16e)][_0x273802(0x22e)](_0xe964f3);}[_0x4f87d2(0x244)](_0x332db0){const _0x28fbdd=_0x4f87d2;let _0xb98c78,_0x39ac6c;switch(_0x332db0[_0x28fbdd(0x20d)]){case _0x28fbdd(0x1a8):_0xb98c78=_0x332db0[_0x28fbdd(0x229)][_0x28fbdd(0x206)];break;case _0x28fbdd(0x22c):if(_0x39ac6c=_0x332db0[_0x28fbdd(0x184)],!_0x39ac6c)return null;_0xb98c78=_0x39ac6c[_0x28fbdd(0x206)];break;case _0x28fbdd(0x245):_0xb98c78=_0x332db0[_0x28fbdd(0x206)];break;case _0x28fbdd(0x1da):_0xb98c78=_0x332db0[_0x28fbdd(0x1ff)];break;case _0x28fbdd(0x253):_0xb98c78=_0x332db0[_0x28fbdd(0x199)][_0x28fbdd(0x206)];break;default:return null;}return _0xb98c78[_0x28fbdd(0x1e4)];}[_0x4f87d2(0x232)](_0x3595ff){const _0x9fc13=_0x4f87d2;_0x3595ff[_0x9fc13(0x181)](_0x814916=>{const _0x3ab6fc=_0x9fc13,_0x42a32d=_0x814916[_0x3ab6fc(0x1d3)]();_0x42a32d[_0x3ab6fc(0x1d2)]=_0x814916[_0x3ab6fc(0x1d2)],_0x42a32d[_0x3ab6fc(0x1be)]=!!_0x814916[_0x3ab6fc(0x1be)],_0x42a32d[_0x3ab6fc(0x1d1)]=_0x814916[_0x3ab6fc(0x1d1)],_0x42a32d[_0x3ab6fc(0x1c1)]+=this[_0x3ab6fc(0x1d7)],_0x814916[_0x3ab6fc(0x1e8)]&&this[_0x3ab6fc(0x193)][_0x3ab6fc(0x22e)](_0x42a32d),this[_0x3ab6fc(0x1b6)][_0x3ab6fc(0x24c)](_0x42a32d);});}[_0x4f87d2(0x200)](_0x48aad6){const _0x54048e=_0x4f87d2,_0x206b67=this[_0x54048e(0x248)][_0x54048e(0x212)][_0x54048e(0x1bf)](_0x54048e(0x16f)),_0x117361=this[_0x54048e(0x248)][_0x54048e(0x18b)];_0x48aad6||(_0x48aad6=_0xa20651(_0x117361,_0x54048e(0x1af))),_0x206b67[_0x54048e(0x164)](_0x48aad6,{'title':_0xa20651(_0x117361,_0x54048e(0x163)),'namespace':_0x54048e(0x24a)}),this[_0x54048e(0x16b)]=!0x0,clearTimeout(this[_0x54048e(0x17a)]),this[_0x54048e(0x198)]=[],this[_0x54048e(0x248)][_0x54048e(0x212)][_0x54048e(0x1bf)](_0x51883a)[_0x54048e(0x1b9)]();}[_0x4f87d2(0x1f8)](){const _0x4c7a28=_0x4f87d2;this[_0x4c7a28(0x1cc)]||(this[_0x4c7a28(0x1cc)]=this[_0x4c7a28(0x248)][_0x4c7a28(0x212)][_0x4c7a28(0x1bf)](_0x569424)[_0x4c7a28(0x22e)](_0xa20651(this[_0x4c7a28(0x248)][_0x4c7a28(0x18b)],_0x4c7a28(0x21d))));}[_0x4f87d2(0x213)](){const _0x51805b=_0x4f87d2;this[_0x51805b(0x1cc)]&&(this[_0x51805b(0x248)][_0x51805b(0x212)][_0x51805b(0x1bf)](_0x569424)[_0x51805b(0x241)](this[_0x51805b(0x1cc)]),this[_0x51805b(0x1cc)]=null);}[_0x4f87d2(0x21f)](_0x229d75){const _0xbe3dfe=_0x4f87d2,_0x45b148=_0x229d75[_0xbe3dfe(0x1b7)](_0x2ebb50=>_0x2ebb50[_0xbe3dfe(0x159)]());return this[_0xbe3dfe(0x161)][_0xbe3dfe(0x179)](_0x45b148);}[_0x4f87d2(0x1f4)](_0x476554,_0x592825){const _0x11eb12=_0x4f87d2;return this[_0x11eb12(0x161)][_0x11eb12(0x233)](_0x476554)[_0x11eb12(0x1b7)]((_0x3f34dd,_0x550e73)=>{const _0x305cac=_0x11eb12,_0x52f4a5=_0x305cac(0x252)==_0x592825[_0x550e73][_0x305cac(0x20d)];if(_0x305cac(0x1c3)==_0x3f34dd[_0x305cac(0x1fa)]){const _0x172145=_0x3f34dd[_0x305cac(0x229)][_0x305cac(0x206)];!this[_0x305cac(0x240)][_0x305cac(0x18a)](_0x172145)&&(this[_0x305cac(0x240)][_0x305cac(0x23c)](_0x305cac(0x211),_0x172145)[_0x305cac(0x196)]=!0x1);}const _0xcfd1ab=_0x37bcc9[_0x305cac(0x1e3)](_0x3f34dd,this[_0x305cac(0x240)]);return _0xcfd1ab[_0x305cac(0x17e)]=_0x3f34dd[_0x305cac(0x17e)],_0xcfd1ab[_0x305cac(0x1be)]=_0x52f4a5,_0xcfd1ab[_0x305cac(0x1d2)]=_0x52f4a5?null:_0x592825[_0x550e73][_0x305cac(0x1aa)],_0xcfd1ab[_0x305cac(0x1e8)]=_0x305cac(0x1de)===_0x592825[_0x550e73][_0x305cac(0x20d)],_0xcfd1ab[_0x305cac(0x1d1)]=_0x592825[_0x550e73][_0x305cac(0x1d1)],_0xcfd1ab;});}[_0x4f87d2(0x207)](){const _0x404b23=_0x4f87d2;this[_0x404b23(0x246)]=!0x0,this[_0x404b23(0x19b)]()?this[_0x404b23(0x234)]():this[_0x404b23(0x246)]=!0x1;}[_0x4f87d2(0x19b)](){const _0x3450a1=_0x4f87d2,_0x5c3935=this[_0x3450a1(0x248)][_0x3450a1(0x212)][_0x3450a1(0x1bf)](_0x2d2316)[_0x3450a1(0x1f6)][_0x3450a1(0x1bf)](this[_0x3450a1(0x158)]);return!this[_0x3450a1(0x248)][_0x3450a1(0x1ef)]&&!!_0x5c3935&&_0x5c3935[_0x3450a1(0x1cb)]>0x1&&this[_0x3450a1(0x246)];}[_0x4f87d2(0x1c6)](){const _0x5e0383=_0x4f87d2;return this[_0x5e0383(0x198)][_0x5e0383(0x1cb)]>0x0||this[_0x5e0383(0x19b)]();}}l[_0x4f87d2(0x175)]=_0x2faec3;export default l;class Z extends Error{}function tt(_0x4af7d9,_0xab5dc6){const _0x44d7a5=_0x4f87d2;for(const _0x5def17 of _0x4af7d9)_0x5def17[_0x44d7a5(0x1c1)]=_0xab5dc6++;}class it{constructor(_0x4c0a7b){const _0x3cb084=_0x4f87d2;this[_0x3cb084(0x194)]=_0x4c0a7b,this[_0x3cb084(0x249)]=new WeakMap();}[_0x4f87d2(0x17f)](_0x2545ef){const _0x37983f=_0x4f87d2;let _0x232cf4=_0x2545ef[_0x37983f(0x1cb)];for(;_0x232cf4--;){const _0x41b497=_0x2545ef[_0x232cf4];if(!this[_0x37983f(0x194)][_0x37983f(0x178)](_0x41b497)){if(!this[_0x37983f(0x249)][_0x37983f(0x178)](_0x41b497)){const _0x390077=_0x1f9b01()[_0x37983f(0x214)](0x1,0x12);this[_0x37983f(0x249)][_0x37983f(0x223)](_0x41b497,_0x390077);}return this[_0x37983f(0x249)][_0x37983f(0x1bf)](_0x41b497);}}}[_0x4f87d2(0x1c0)](_0x34be6c,_0x438904){const _0x22d7c0=_0x4f87d2;if(!_0x438904)return;let _0x4b3c72=_0x34be6c[_0x22d7c0(0x1cb)];for(;_0x4b3c72--;){const _0x5e3b20=_0x34be6c[_0x4b3c72];this[_0x22d7c0(0x194)][_0x22d7c0(0x178)](_0x5e3b20)||this[_0x22d7c0(0x249)][_0x22d7c0(0x223)](_0x5e3b20,_0x438904);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x348354=_0x6e35;function _0x6e35(_0x46d683,_0x391429){const _0x101b81=_0x101b();return _0x6e35=function(_0x6e35c,_0x165031){_0x6e35c=_0x6e35c-0x125;let _0x4cfc74=_0x101b81[_0x6e35c];return _0x4cfc74;},_0x6e35(_0x46d683,_0x391429);}(function(_0x2992fa,_0x75513b){const _0xd05da6=_0x6e35,_0xb1dc9e=_0x2992fa();while(!![]){try{const _0x44710a=parseInt(_0xd05da6(0x149))/0x1+-parseInt(_0xd05da6(0x142))/0x2*(-parseInt(_0xd05da6(0x159))/0x3)+parseInt(_0xd05da6(0x139))/0x4+parseInt(_0xd05da6(0x13d))/0x5+parseInt(_0xd05da6(0x14b))/0x6+parseInt(_0xd05da6(0x126))/0x7*(-parseInt(_0xd05da6(0x15a))/0x8)+-parseInt(_0xd05da6(0x141))/0x9*(parseInt(_0xd05da6(0x144))/0xa);if(_0x44710a===_0x75513b)break;else _0xb1dc9e['push'](_0xb1dc9e['shift']());}catch(_0x3c8e9a){_0xb1dc9e['push'](_0xb1dc9e['shift']());}}}(_0x101b,0x70cbe));import{ContextPlugin as _0x46ee98}from'ckeditor5/src/core.js';import{Collection as _0x573b23,CKEditorError as _0x1ba8a3}from'ckeditor5/src/utils.js';import _0x495c96 from'./websocketgateway.js';function _0x101b(){const _0x4b8e95=['9422541zYVxUT','2hvDvpS','stopListening','10CsZDmt','delete','_handleSessionRemove','change:state','sessionId','178100KJRloc','pluginName','1700310ycCmOv','forEach','remove','orderNumber','addUser','listenTo','has','register','defineMe','sessionAdd:','connection','_users','clear','values','126303jfVNxc','6584XJcUug','_uniqueUsersCount','_createUser','add','fire','context','Sessions','state','allConnectedUsers','getUserSessions','511ywnmmU','isOfficialPlugin','channelConnectedUsers','unregister','sessions-unregister-not-exist','connected','isPremiumPlugin','mySessionId','plugins','size','assign','channelSessions','get','set','_registeredSessions','init','sessions-register-already-registered','getUser','getUserBySessionId','3300616YiAbMq','_handleSessionAdd','requires','getUserRole','1201510rXqauh','isMe','user','role'];_0x101b=function(){return _0x4b8e95;};return _0x101b();}import{Users as _0x152862}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x46ee98{static get[_0x348354(0x14a)](){const _0x381ab8=_0x348354;return _0x381ab8(0x160);}static get[_0x348354(0x127)](){return!0x0;}static get[_0x348354(0x12c)](){return!0x0;}static get[_0x348354(0x13b)](){return[_0x495c96,_0x152862];}constructor(_0x3e793d){const _0x45e28e=_0x348354;super(_0x3e793d),this[_0x45e28e(0x131)]=new Map(),this[_0x45e28e(0x128)]=new Map(),this[_0x45e28e(0x162)]=new _0x573b23(),this[_0x45e28e(0x134)]=new Map(),this[_0x45e28e(0x15b)]=0x0,this[_0x45e28e(0x156)]=this[_0x45e28e(0x15f)][_0x45e28e(0x12e)][_0x45e28e(0x132)](_0x152862);}[_0x348354(0x135)](){const _0x481a66=_0x348354,_0x322b80=this[_0x481a66(0x15f)][_0x481a66(0x12e)][_0x481a66(0x132)](_0x495c96);this[_0x481a66(0x150)](_0x322b80,_0x481a66(0x147),(_0x533bdd,_0x4dcac6,_0x4d3d38)=>{const _0x462132=_0x481a66;if(_0x462132(0x12b)!==_0x4d3d38)this[_0x462132(0x131)][_0x462132(0x14c)](_0x2dc78e=>_0x2dc78e[_0x462132(0x157)]()),this[_0x462132(0x128)][_0x462132(0x14c)](_0x5ca316=>_0x5ca316[_0x462132(0x157)]()),this[_0x462132(0x162)][_0x462132(0x157)]();else{for(const [_0x4be0a9,_0x101979]of this[_0x462132(0x134)])for(const _0x4e8728 of _0x101979)this[_0x462132(0x13a)](_0x4be0a9,_0x4e8728);}}),this[_0x481a66(0x15c)](_0x322b80[_0x481a66(0x155)]['me'],!0x0);}[_0x348354(0x152)](_0x2ce86d,_0x224d84){const _0x189cb5=_0x348354;if(this[_0x189cb5(0x134)][_0x189cb5(0x151)](_0x2ce86d))throw new _0x1ba8a3(_0x189cb5(0x136),null,{'channelId':_0x2ce86d});this[_0x189cb5(0x134)][_0x189cb5(0x133)](_0x2ce86d,_0x224d84),this[_0x189cb5(0x131)][_0x189cb5(0x133)](_0x2ce86d,new _0x573b23()),this[_0x189cb5(0x128)][_0x189cb5(0x133)](_0x2ce86d,new _0x573b23()),this[_0x189cb5(0x150)](_0x224d84,_0x189cb5(0x15d),(_0x114aaa,_0xd0a60b)=>this[_0x189cb5(0x13a)](_0x2ce86d,_0xd0a60b)),this[_0x189cb5(0x150)](_0x224d84,_0x189cb5(0x14d),(_0x181dba,_0x18ef62)=>this[_0x189cb5(0x146)](_0x2ce86d,_0x18ef62));for(const _0x3e6118 of _0x224d84)this[_0x189cb5(0x13a)](_0x2ce86d,_0x3e6118);}[_0x348354(0x129)](_0x3a313e){const _0x529f80=_0x348354;if(!this[_0x529f80(0x134)][_0x529f80(0x151)](_0x3a313e))throw new _0x1ba8a3(_0x529f80(0x12a),null,{'channelId':_0x3a313e});const _0x3564c8=this[_0x529f80(0x134)][_0x529f80(0x132)](_0x3a313e);this[_0x529f80(0x143)](_0x3564c8);for(const _0x1b4e53 of _0x3564c8)_0x529f80(0x12b)===this[_0x529f80(0x15f)][_0x529f80(0x12e)][_0x529f80(0x132)](_0x495c96)[_0x529f80(0x161)]&&this[_0x529f80(0x146)](_0x3a313e,_0x1b4e53);this[_0x529f80(0x134)][_0x529f80(0x145)](_0x3a313e),this[_0x529f80(0x131)][_0x529f80(0x145)](_0x3a313e),this[_0x529f80(0x128)][_0x529f80(0x145)](_0x3a313e);}get[_0x348354(0x12d)](){const _0x4446e5=_0x348354;return this[_0x4446e5(0x15f)][_0x4446e5(0x12e)][_0x4446e5(0x132)](_0x495c96)[_0x4446e5(0x155)][_0x4446e5(0x148)];}[_0x348354(0x138)](_0xc5c86d){const _0x13c912=_0x348354;for(const _0xc2d80e of this[_0x13c912(0x131)][_0x13c912(0x158)]())for(const _0x5005be of _0xc2d80e)if(_0x5005be['id']===_0xc5c86d)return _0x5005be[_0x13c912(0x13f)];}[_0x348354(0x125)](_0x1f2dfe,_0x113106){const _0x34d419=_0x348354,_0x28f421=_0x113106?[this[_0x34d419(0x131)][_0x34d419(0x132)](_0x113106)]:this[_0x34d419(0x131)][_0x34d419(0x158)](),_0x426138=new Set();for(const _0x14bf5f of _0x28f421)for(const _0x369bfd of _0x14bf5f)_0x369bfd[_0x34d419(0x13f)]['id']===_0x1f2dfe['id']&&_0x426138[_0x34d419(0x15d)](_0x369bfd['id']);return _0x426138;}[_0x348354(0x13c)](_0x469583){const _0x35101f=_0x348354;for(const _0x21d48d of this[_0x35101f(0x131)][_0x35101f(0x158)]())for(const _0x429872 of _0x21d48d)if(_0x429872[_0x35101f(0x13f)]===_0x469583)return _0x429872[_0x35101f(0x140)];}[_0x348354(0x13a)](_0x125d09,_0x5af5f1){const _0x5bae32=_0x348354;if(_0x5bae32(0x12b)!==this[_0x5bae32(0x15f)][_0x5bae32(0x12e)][_0x5bae32(0x132)](_0x495c96)[_0x5bae32(0x161)])return;const _0x46832f=_0x5af5f1[_0x5bae32(0x13f)],_0x1b5fa7=this[_0x5bae32(0x156)][_0x5bae32(0x137)](_0x46832f['id'])||this[_0x5bae32(0x15c)](_0x46832f),_0x13ffe7=Object[_0x5bae32(0x130)]({},_0x5af5f1,{'user':_0x1b5fa7});this[_0x5bae32(0x131)][_0x5bae32(0x132)](_0x125d09)[_0x5bae32(0x15d)](_0x13ffe7);const _0x26ec26=this[_0x5bae32(0x128)][_0x5bae32(0x132)](_0x125d09);_0x26ec26[_0x5bae32(0x151)](_0x1b5fa7['id'])||_0x26ec26[_0x5bae32(0x15d)](_0x1b5fa7),this[_0x5bae32(0x162)][_0x5bae32(0x151)](_0x1b5fa7['id'])||this[_0x5bae32(0x162)][_0x5bae32(0x15d)](_0x1b5fa7,_0x1b5fa7[_0x5bae32(0x13e)]?0x0:void 0x0),this[_0x5bae32(0x15e)](_0x5bae32(0x154)+_0x125d09,{'channelId':_0x125d09,'session':_0x13ffe7});}[_0x348354(0x146)](_0x90cdad,_0x1061d2){const _0x32a5ac=_0x348354;if(_0x32a5ac(0x12b)!==this[_0x32a5ac(0x15f)][_0x32a5ac(0x12e)][_0x32a5ac(0x132)](_0x495c96)[_0x32a5ac(0x161)])return;const _0x17caf4=this[_0x32a5ac(0x128)][_0x32a5ac(0x132)](_0x90cdad),_0x5a3d86=_0x1061d2[_0x32a5ac(0x13f)];_0x5a3d86['id']&&(this[_0x32a5ac(0x131)][_0x32a5ac(0x132)](_0x90cdad)[_0x32a5ac(0x14d)](_0x1061d2['id']),_0x17caf4[_0x32a5ac(0x151)](_0x5a3d86['id'])&&!this[_0x32a5ac(0x125)](_0x5a3d86,_0x90cdad)[_0x32a5ac(0x12f)]&&_0x17caf4[_0x32a5ac(0x14d)](_0x5a3d86['id']),this[_0x32a5ac(0x162)][_0x32a5ac(0x132)](_0x5a3d86['id'])&&!this[_0x32a5ac(0x125)](_0x5a3d86)[_0x32a5ac(0x12f)]&&this[_0x32a5ac(0x162)][_0x32a5ac(0x14d)](_0x5a3d86['id']));}[_0x348354(0x15c)](_0x243f60,_0x5cd334){const _0x214872=_0x348354,_0x49c6f6=this[_0x214872(0x156)][_0x214872(0x14f)](_0x243f60);return _0x5cd334&&this[_0x214872(0x156)][_0x214872(0x153)](_0x243f60['id']),_0x49c6f6[_0x214872(0x14e)]=this[_0x214872(0x15b)]++,_0x49c6f6;}}
|