@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.3 → 44.3.0-alpha.4

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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3fbb(){const _0x573a97=['9hyWRnd','525004FpUIxp','1819308qGbtzr','bindTemplate','92858ZGQikv','116360SmyTPs','26qtKfvO','2331aVlGyX','ck-presence-list__counter','CONNECTED_USERS','isHidden','60290JUdtEp','div','6cIsOWA','282JIumHd','11ivDPJh','usersCount','setTemplate','ck-presence-list__counter--hidden','set','5lhjqDp','1006956nCsOht'];_0x3fbb=function(){return _0x573a97;};return _0x3fbb();}(function(_0x5d5219,_0x594487){const _0x24c871=_0x179a,_0x46a0f6=_0x5d5219();while(!![]){try{const _0x3f43cb=-parseInt(_0x24c871(0x1cf))/0x1*(parseInt(_0x24c871(0x1c2))/0x2)+parseInt(_0x24c871(0x1ca))/0x3+parseInt(_0x24c871(0x1cc))/0x4*(-parseInt(_0x24c871(0x1c9))/0x5)+-parseInt(_0x24c871(0x1c3))/0x6*(-parseInt(_0x24c871(0x1d2))/0x7)+-parseInt(_0x24c871(0x1d0))/0x8*(parseInt(_0x24c871(0x1cb))/0x9)+parseInt(_0x24c871(0x1c0))/0xa*(-parseInt(_0x24c871(0x1c4))/0xb)+-parseInt(_0x24c871(0x1cd))/0xc*(-parseInt(_0x24c871(0x1d1))/0xd);if(_0x3f43cb===_0x594487)break;else _0x46a0f6['push'](_0x46a0f6['shift']());}catch(_0x143c3a){_0x46a0f6['push'](_0x46a0f6['shift']());}}}(_0x3fbb,0x36b7a));import{View as _0x7af475}from'ckeditor5/src/ui.js';import{getTranslation as _0x463948}from'../../common-translations.js';function _0x179a(_0x38a318,_0x3d59dc){const _0x3fbb56=_0x3fbb();return _0x179a=function(_0x179a2c,_0x200515){_0x179a2c=_0x179a2c-0x1c0;let _0x3ac8c0=_0x3fbb56[_0x179a2c];return _0x3ac8c0;},_0x179a(_0x38a318,_0x3d59dc);}export default class ts extends _0x7af475{constructor(_0x20632d){const _0x4b91de=_0x179a;super(_0x20632d);const _0x53ea63=this[_0x4b91de(0x1ce)];this[_0x4b91de(0x1c8)](_0x4b91de(0x1c5),0x0),this[_0x4b91de(0x1c8)](_0x4b91de(0x1d5),!0x0),this[_0x4b91de(0x1c6)]({'tag':_0x4b91de(0x1c1),'attributes':{'class':['ck',_0x4b91de(0x1d3),_0x53ea63['if'](_0x4b91de(0x1d5),_0x4b91de(0x1c7))]},'children':[{'text':_0x53ea63['to'](_0x4b91de(0x1c5),_0x50a188=>_0x463948(_0x20632d,_0x4b91de(0x1d4),_0x50a188))}]});}}
23
+ (function(_0x3eb6b4,_0xd8b7df){const _0x37bb86=_0x41b2,_0x30c417=_0x3eb6b4();while(!![]){try{const _0x356cf0=parseInt(_0x37bb86(0x15b))/0x1+parseInt(_0x37bb86(0x15c))/0x2+-parseInt(_0x37bb86(0x157))/0x3*(parseInt(_0x37bb86(0x14f))/0x4)+-parseInt(_0x37bb86(0x162))/0x5*(parseInt(_0x37bb86(0x150))/0x6)+-parseInt(_0x37bb86(0x155))/0x7*(parseInt(_0x37bb86(0x158))/0x8)+parseInt(_0x37bb86(0x15d))/0x9*(parseInt(_0x37bb86(0x156))/0xa)+parseInt(_0x37bb86(0x153))/0xb*(parseInt(_0x37bb86(0x15e))/0xc);if(_0x356cf0===_0xd8b7df)break;else _0x30c417['push'](_0x30c417['shift']());}catch(_0x37187e){_0x30c417['push'](_0x30c417['shift']());}}}(_0x1321,0x5a8db));function _0x41b2(_0x5533c1,_0x130177){const _0x1321a0=_0x1321();return _0x41b2=function(_0x41b218,_0x4044d3){_0x41b218=_0x41b218-0x14f;let _0x1a9fd8=_0x1321a0[_0x41b218];return _0x1a9fd8;},_0x41b2(_0x5533c1,_0x130177);}import{View as _0x1b3145}from'ckeditor5/src/ui.js';import{getTranslation as _0x453744}from'../../common-translations.js';export default class ts extends _0x1b3145{constructor(_0x414536){const _0x25a966=_0x41b2;super(_0x414536);const _0x1ad8c2=this[_0x25a966(0x15f)];this[_0x25a966(0x15a)](_0x25a966(0x151),0x0),this[_0x25a966(0x15a)](_0x25a966(0x154),!0x0),this[_0x25a966(0x161)]({'tag':_0x25a966(0x160),'attributes':{'class':['ck',_0x25a966(0x152),_0x1ad8c2['if'](_0x25a966(0x154),_0x25a966(0x163))]},'children':[{'text':_0x1ad8c2['to'](_0x25a966(0x151),_0x215d2e=>_0x453744(_0x414536,_0x25a966(0x159),_0x215d2e))}]});}}function _0x1321(){const _0x1269e2=['12BVfIjp','bindTemplate','div','setTemplate','2655495IzUxny','ck-presence-list__counter--hidden','2104UFjoJT','6mylPiU','usersCount','ck-presence-list__counter','2776642GOpZQC','isHidden','63OrkbNW','2959860ddKHJS','3129WRYWqq','67680enGBcN','CONNECTED_USERS','set','233641UqRJUE','897458AtVRRz','18EedhcE'];_0x1321=function(){return _0x1269e2;};return _0x1321();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34f3c7=_0x4291;function _0x4291(_0x342b91,_0x4cf748){const _0x830901=_0x8309();return _0x4291=function(_0x42916d,_0x311c3a){_0x42916d=_0x42916d-0xea;let _0x4fbe7b=_0x830901[_0x42916d];return _0x4fbe7b;},_0x4291(_0x342b91,_0x4cf748);}(function(_0x489f8b,_0x452a50){const _0x538f57=_0x4291,_0x19110f=_0x489f8b();while(!![]){try{const _0x2d2d66=parseInt(_0x538f57(0xeb))/0x1*(parseInt(_0x538f57(0x103))/0x2)+parseInt(_0x538f57(0xf5))/0x3+-parseInt(_0x538f57(0xea))/0x4*(-parseInt(_0x538f57(0x101))/0x5)+parseInt(_0x538f57(0xfa))/0x6+parseInt(_0x538f57(0x102))/0x7+parseInt(_0x538f57(0xf0))/0x8*(parseInt(_0x538f57(0xed))/0x9)+-parseInt(_0x538f57(0xef))/0xa*(parseInt(_0x538f57(0xfe))/0xb);if(_0x2d2d66===_0x452a50)break;else _0x19110f['push'](_0x19110f['shift']());}catch(_0x6f2d26){_0x19110f['push'](_0x19110f['shift']());}}}(_0x8309,0x38b3d));import{ListItemView as _0x499758}from'ckeditor5/src/ui.js';function _0x8309(){const _0xdf030=['focus','947156bnIfnu','227869JZrqyI','name','18gZLWIV','execute','140xaffFy','388952GtsOUb','fire','setTemplate','button','color','367743himmEf','presentation','true','ck-presence-list__dropdown-list-item','bindTemplate','1698486bezStq','userView','getBackgroundColorClass','ck-presence-list__marker','1023044XnMDxn','element','tag','5xZcoqv','2372174ZphlSE','4AiNMQU','ck-user__full-name','span'];_0x8309=function(){return _0xdf030;};return _0x8309();}import{UserView as _0x6b8a3f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x499758{constructor(_0x2ba9bb,_0x2d70da,_0x34857a){const _0x3ce22b=_0x4291;super(_0x2ba9bb);const _0x4cc24b=this[_0x3ce22b(0xf9)];this[_0x3ce22b(0xfb)]=new _0x6b8a3f(_0x2ba9bb,_0x2d70da);const _0x5526ae={'tag':'li','attributes':{'class':['ck',_0x3ce22b(0xf8)],'tabindex':-0x1,'role':_0x3ce22b(0xf6),'aria-label':_0x2d70da[_0x3ce22b(0xec)]},'children':[this[_0x3ce22b(0xfb)],{'tag':_0x3ce22b(0x105),'attributes':{'class':['ck',_0x3ce22b(0x104)]},'children':[{'text':_0x2d70da[_0x3ce22b(0xec)]}]},{'tag':_0x3ce22b(0x105),'attributes':{'class':['ck',_0x3ce22b(0xfd),_0x2d70da[_0x3ce22b(0xf4)][_0x3ce22b(0xfc)]()],'aria-hidden':_0x3ce22b(0xf7)}}]};_0x34857a&&(_0x5526ae[_0x3ce22b(0x100)]=_0x3ce22b(0xf3),_0x5526ae['on']={'click':_0x4cc24b['to'](()=>this[_0x3ce22b(0xf1)](_0x3ce22b(0xee)))}),this[_0x3ce22b(0xf2)](_0x5526ae);}[_0x34f3c7(0x106)](){const _0x2ed2a0=_0x34f3c7;this[_0x2ed2a0(0xff)][_0x2ed2a0(0x106)]();}}
23
+ const _0x11fa9f=_0x4511;(function(_0x494afb,_0x5283f0){const _0xed1e5a=_0x4511,_0x30a7b5=_0x494afb();while(!![]){try{const _0x4af18d=parseInt(_0xed1e5a(0x141))/0x1*(-parseInt(_0xed1e5a(0x152))/0x2)+-parseInt(_0xed1e5a(0x14f))/0x3*(parseInt(_0xed1e5a(0x153))/0x4)+parseInt(_0xed1e5a(0x14c))/0x5+-parseInt(_0xed1e5a(0x13b))/0x6+parseInt(_0xed1e5a(0x14e))/0x7+-parseInt(_0xed1e5a(0x148))/0x8+parseInt(_0xed1e5a(0x140))/0x9*(parseInt(_0xed1e5a(0x13e))/0xa);if(_0x4af18d===_0x5283f0)break;else _0x30a7b5['push'](_0x30a7b5['shift']());}catch(_0x1e223b){_0x30a7b5['push'](_0x30a7b5['shift']());}}}(_0x4ef6,0x65eee));import{ListItemView as _0x361bca}from'ckeditor5/src/ui.js';function _0x4511(_0x5b6511,_0x1ff108){const _0x4ef65b=_0x4ef6();return _0x4511=function(_0x4511d7,_0x5d85ed){_0x4511d7=_0x4511d7-0x139;let _0x2ffacc=_0x4ef65b[_0x4511d7];return _0x2ffacc;},_0x4511(_0x5b6511,_0x1ff108);}import{UserView as _0x3311b2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4ef6(){const _0x45703a=['ck-presence-list__marker','10SAGALK','presentation','6182244sbyfuq','12eMjjBP','ck-presence-list__dropdown-list-item','getBackgroundColorClass','color','tag','bindTemplate','span','2654024lQdLpj','button','ck-user__full-name','true','1402710pHGooK','userView','875637BNwAPJ','9PfaiEO','element','focus','37654zZTWnd','90524VwzMOI','execute','name','fire','296766VKxRQV','setTemplate'];_0x4ef6=function(){return _0x45703a;};return _0x4ef6();}export default class k extends _0x361bca{constructor(_0x57d432,_0x5aa435,_0x5075b3){const _0x261b2e=_0x4511;super(_0x57d432);const _0x4b4657=this[_0x261b2e(0x146)];this[_0x261b2e(0x14d)]=new _0x3311b2(_0x57d432,_0x5aa435);const _0x31daff={'tag':'li','attributes':{'class':['ck',_0x261b2e(0x142)],'tabindex':-0x1,'role':_0x261b2e(0x13f),'aria-label':_0x5aa435[_0x261b2e(0x139)]},'children':[this[_0x261b2e(0x14d)],{'tag':_0x261b2e(0x147),'attributes':{'class':['ck',_0x261b2e(0x14a)]},'children':[{'text':_0x5aa435[_0x261b2e(0x139)]}]},{'tag':_0x261b2e(0x147),'attributes':{'class':['ck',_0x261b2e(0x13d),_0x5aa435[_0x261b2e(0x144)][_0x261b2e(0x143)]()],'aria-hidden':_0x261b2e(0x14b)}}]};_0x5075b3&&(_0x31daff[_0x261b2e(0x145)]=_0x261b2e(0x149),_0x31daff['on']={'click':_0x4b4657['to'](()=>this[_0x261b2e(0x13a)](_0x261b2e(0x154)))}),this[_0x261b2e(0x13c)](_0x31daff);}[_0x11fa9f(0x151)](){const _0x54418f=_0x11fa9f;this[_0x54418f(0x150)][_0x54418f(0x151)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cc5e3=_0x59f3;(function(_0x10849d,_0x3c431f){const _0x49d681=_0x59f3,_0xc2dc23=_0x10849d();while(!![]){try{const _0x35fe89=parseInt(_0x49d681(0xff))/0x1+-parseInt(_0x49d681(0x107))/0x2*(-parseInt(_0x49d681(0x104))/0x3)+-parseInt(_0x49d681(0x10d))/0x4*(parseInt(_0x49d681(0xf8))/0x5)+parseInt(_0x49d681(0xea))/0x6*(parseInt(_0x49d681(0x105))/0x7)+parseInt(_0x49d681(0xee))/0x8+parseInt(_0x49d681(0x10b))/0x9+-parseInt(_0x49d681(0xfb))/0xa*(parseInt(_0x49d681(0x102))/0xb);if(_0x35fe89===_0x3c431f)break;else _0xc2dc23['push'](_0xc2dc23['shift']());}catch(_0xa5ed03){_0xc2dc23['push'](_0xc2dc23['shift']());}}}(_0x3a6c,0xe748e));import{ListView as _0x7bd3a2,View as _0x1e36d3}from'ckeditor5/src/ui.js';import{global as _0x2641ef}from'ckeditor5/src/utils.js';import{getTranslation as _0x1521a9}from'../../common-translations.js';export default class j extends _0x1e36d3{constructor(_0x4cacde,_0x50da6a){const _0x60077b=_0x59f3;super(_0x4cacde),this[_0x60077b(0x100)]=new PresenceDropdownListWrapperView(_0x4cacde,_0x50da6a),this[_0x60077b(0xf1)]({'tag':_0x60077b(0x109),'attributes':{'tabindex':-0x1,'role':_0x60077b(0xf7),'class':['ck',_0x60077b(0x103)],'aria-label':_0x1521a9(_0x4cacde,_0x60077b(0x101))},'children':[this[_0x60077b(0x100)]]});}}function _0x3a6c(){const _0x34b5bf=['11319372zFaDzB','render','775364qPdEOr','set','max','listenTo','26586JpixjE','checkIfScrollable','clientHeight','ariaLabelledBy','4486704fFhsPn','window','ck-list','setTemplate','scrollHeight','role','bindTemplate','ck-presence-list__dropdown-list-wrapper','ck-presence-list__dropdown-list-wrapper_scrollable','application','40qJfwvl','items','resize','24250730oxJxaX','ck-reset','element','innerHeight','475059ZvDvqM','listWrapperView','Connected\x20users\x20list\x20dropdown\x20menu','11VgSRDb','ck-presence-list__dropdown-list','141kHtXiM','1939VgjHcZ','ariaLabel','59666qWFmos','change','div','_isScrollable'];_0x3a6c=function(){return _0x34b5bf;};return _0x3a6c();}function _0x59f3(_0x818192,_0x19560b){const _0x3a6c59=_0x3a6c();return _0x59f3=function(_0x59f382,_0x55ba2d){_0x59f382=_0x59f382-0xea;let _0x5dbeb6=_0x3a6c59[_0x59f382];return _0x5dbeb6;},_0x59f3(_0x818192,_0x19560b);}export class PresenceDropdownListWrapperView extends _0x7bd3a2{constructor(_0x467df5,_0x2316a2){const _0x2bab53=_0x59f3;super(_0x467df5);const _0x2238d9=this[_0x2bab53(0xf4)];this[_0x2bab53(0x10e)](_0x2bab53(0x10a),!0x1),this[_0x2bab53(0xf1)]({'tag':_0x2316a2?_0x2bab53(0x109):'ul','attributes':{'class':['ck',_0x2bab53(0xfc),_0x2bab53(0xf0),_0x2bab53(0xf5),_0x2238d9['if'](_0x2bab53(0x10a),_0x2bab53(0xf6))],'role':_0x2238d9['to'](_0x2bab53(0xf3)),'aria-label':_0x2238d9['to'](_0x2bab53(0x106)),'aria-labelledby':_0x2238d9['to'](_0x2bab53(0xed))},'children':this[_0x2bab53(0xf9)]}),this[_0x2bab53(0x110)](_0x2641ef[_0x2bab53(0xef)],_0x2bab53(0xfa),()=>this[_0x2bab53(0xeb)]()),this[_0x2bab53(0xf9)]['on'](_0x2bab53(0x108),()=>this[_0x2bab53(0xeb)]());}[_0x1cc5e3(0x10c)](){const _0x12d8a3=_0x1cc5e3;super[_0x12d8a3(0x10c)](),this[_0x12d8a3(0xeb)]();}[_0x1cc5e3(0xeb)](){const _0x5799bb=_0x1cc5e3,_0x39b310=this[_0x5799bb(0xfd)];_0x39b310&&(this[_0x5799bb(0x10a)]=Math[_0x5799bb(0x10f)](_0x39b310[_0x5799bb(0xf2)],_0x39b310[_0x5799bb(0xec)])>0.8*window[_0x5799bb(0xfe)]);}}
23
+ function _0x3bf2(_0x12c83e,_0x420a86){const _0x406077=_0x4060();return _0x3bf2=function(_0x3bf2c9,_0x18306c){_0x3bf2c9=_0x3bf2c9-0x90;let _0x500896=_0x406077[_0x3bf2c9];return _0x500896;},_0x3bf2(_0x12c83e,_0x420a86);}const _0xb63e12=_0x3bf2;(function(_0x2e370e,_0x16cc1d){const _0x365558=_0x3bf2,_0x4b7865=_0x2e370e();while(!![]){try{const _0x479976=-parseInt(_0x365558(0xa3))/0x1*(parseInt(_0x365558(0x9d))/0x2)+parseInt(_0x365558(0xa0))/0x3*(parseInt(_0x365558(0xab))/0x4)+-parseInt(_0x365558(0xa5))/0x5*(-parseInt(_0x365558(0xb3))/0x6)+parseInt(_0x365558(0xa8))/0x7+parseInt(_0x365558(0x99))/0x8*(parseInt(_0x365558(0xb1))/0x9)+parseInt(_0x365558(0xb6))/0xa+-parseInt(_0x365558(0xa9))/0xb*(parseInt(_0x365558(0xac))/0xc);if(_0x479976===_0x16cc1d)break;else _0x4b7865['push'](_0x4b7865['shift']());}catch(_0x5a9227){_0x4b7865['push'](_0x4b7865['shift']());}}}(_0x4060,0xd1295));import{ListView as _0x10fdc5,View as _0x417dce}from'ckeditor5/src/ui.js';import{global as _0x112926}from'ckeditor5/src/utils.js';function _0x4060(){const _0x4efc7e=['ck-presence-list__dropdown-list-wrapper','div','listenTo','2eRUrIW','window','max','6oalAYs','ariaLabel','innerHeight','806659zGRBtp','bindTemplate','4264070PPNFpS','_isScrollable','items','4591468azjody','5095651WTYrVK','clientHeight','1349356gxcYiU','84pyCrPp','ck-reset','checkIfScrollable','render','listWrapperView','882mtJApH','role','6AxBkXB','ck-list','ariaLabelledBy','12780370DOYhiY','ck-presence-list__dropdown-list-wrapper_scrollable','Connected\x20users\x20list\x20dropdown\x20menu','setTemplate','scrollHeight','change','resize','ck-presence-list__dropdown-list','set','application','element','117928llqvAb'];_0x4060=function(){return _0x4efc7e;};return _0x4060();}import{getTranslation as _0x20c48a}from'../../common-translations.js';export default class j extends _0x417dce{constructor(_0x4e79a8,_0x2f5c6f){const _0x323d76=_0x3bf2;super(_0x4e79a8),this[_0x323d76(0xb0)]=new PresenceDropdownListWrapperView(_0x4e79a8,_0x2f5c6f),this[_0x323d76(0x91)]({'tag':_0x323d76(0x9b),'attributes':{'tabindex':-0x1,'role':_0x323d76(0x97),'class':['ck',_0x323d76(0x95)],'aria-label':_0x20c48a(_0x4e79a8,_0x323d76(0x90))},'children':[this[_0x323d76(0xb0)]]});}}export class PresenceDropdownListWrapperView extends _0x10fdc5{constructor(_0x54fe3c,_0x9b0eae){const _0xad9237=_0x3bf2;super(_0x54fe3c);const _0x29f6fd=this[_0xad9237(0xa4)];this[_0xad9237(0x96)](_0xad9237(0xa6),!0x1),this[_0xad9237(0x91)]({'tag':_0x9b0eae?_0xad9237(0x9b):'ul','attributes':{'class':['ck',_0xad9237(0xad),_0xad9237(0xb4),_0xad9237(0x9a),_0x29f6fd['if'](_0xad9237(0xa6),_0xad9237(0xb7))],'role':_0x29f6fd['to'](_0xad9237(0xb2)),'aria-label':_0x29f6fd['to'](_0xad9237(0xa1)),'aria-labelledby':_0x29f6fd['to'](_0xad9237(0xb5))},'children':this[_0xad9237(0xa7)]}),this[_0xad9237(0x9c)](_0x112926[_0xad9237(0x9e)],_0xad9237(0x94),()=>this[_0xad9237(0xae)]()),this[_0xad9237(0xa7)]['on'](_0xad9237(0x93),()=>this[_0xad9237(0xae)]());}[_0xb63e12(0xaf)](){const _0x5da0fc=_0xb63e12;super[_0x5da0fc(0xaf)](),this[_0x5da0fc(0xae)]();}[_0xb63e12(0xae)](){const _0x1305b2=_0xb63e12,_0x409602=this[_0x1305b2(0x98)];_0x409602&&(this[_0x1305b2(0xa6)]=Math[_0x1305b2(0x9f)](_0x409602[_0x1305b2(0x92)],_0x409602[_0x1305b2(0xaa)])>0.8*window[_0x1305b2(0xa2)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x10471b,_0x13be04){const _0x221916=_0x5d62,_0x98a7e=_0x10471b();while(!![]){try{const _0x377b2f=parseInt(_0x221916(0x139))/0x1*(-parseInt(_0x221916(0x145))/0x2)+-parseInt(_0x221916(0x13b))/0x3*(-parseInt(_0x221916(0x13f))/0x4)+parseInt(_0x221916(0x12c))/0x5*(parseInt(_0x221916(0x13e))/0x6)+parseInt(_0x221916(0x12e))/0x7+-parseInt(_0x221916(0x12b))/0x8*(parseInt(_0x221916(0x137))/0x9)+parseInt(_0x221916(0x131))/0xa+parseInt(_0x221916(0x140))/0xb;if(_0x377b2f===_0x13be04)break;else _0x98a7e['push'](_0x98a7e['shift']());}catch(_0x374b93){_0x98a7e['push'](_0x98a7e['shift']());}}}(_0x40cf,0xe1304));function _0x40cf(){const _0x127b0f=['span','hasTooltip','102558ZoKYYB','12xDXRPx','8991037SxfnmH','markerView','tag','tooltipPosition','true','1284314ycPovR','fire','set','ck-presence-list__list-item__tooltip','button','color','listitem','template','text','949288mUewQw','230VcGDjY','div','3919832OAQRXL','getBackgroundColorClass','ck-presence-list__list-item','2825310IrRQRh','name','isFocusable','bindTemplate','execute','setTemplate','27SGYpiE','userView','2azziKB','ck-presence-list__marker','116517RSNEnn'];_0x40cf=function(){return _0x127b0f;};return _0x40cf();}import{LabelView as _0x3c5b0a,View as _0x1dd55a}from'ckeditor5/src/ui.js';import{UserView as _0x3eb030}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x1dd55a{constructor(_0x331542,_0x39c534,_0x3164f4){const _0x3a48ad=_0x5d62;super(_0x331542);const _0x4ea2d9=this[_0x3a48ad(0x134)];this[_0x3a48ad(0x147)](_0x3a48ad(0x133),!0x1),this[_0x3a48ad(0x147)](_0x3a48ad(0x13d),!0x0),this[_0x3a48ad(0x147)](_0x3a48ad(0x143),''),this[_0x3a48ad(0x138)]=new _0x3eb030(_0x331542,_0x39c534),this[_0x3a48ad(0x141)]=new at(_0x331542,_0x39c534);const _0x20c54c=new _0x3c5b0a(_0x331542);_0x20c54c[_0x3a48ad(0x129)][_0x3a48ad(0x142)]=_0x3a48ad(0x13c),_0x20c54c[_0x3a48ad(0x12a)]=_0x39c534[_0x3a48ad(0x132)];const _0x38da81={'tag':_0x3a48ad(0x12d),'attributes':{'class':['ck',_0x3a48ad(0x130)],'role':_0x3a48ad(0x128),'tabindex':_0x4ea2d9['to'](_0x3a48ad(0x133),_0x53a02b=>!!_0x53a02b&&0x0),'aria-labelledby':_0x20c54c['id'],'data-cke-tooltip-text':this[_0x3a48ad(0x138)][_0x3a48ad(0x132)],'data-cke-tooltip-position':_0x4ea2d9['to'](_0x3a48ad(0x143)),'data-cke-tooltip-disabled':_0x4ea2d9['to'](_0x3a48ad(0x13d),_0x6add74=>!_0x6add74),'data-cke-tooltip-class':_0x3a48ad(0x148)},'children':[this[_0x3a48ad(0x138)],this[_0x3a48ad(0x141)],_0x20c54c]};_0x3164f4&&(_0x38da81[_0x3a48ad(0x142)]=_0x3a48ad(0x126),_0x38da81['on']={'click':_0x4ea2d9['to'](()=>this[_0x3a48ad(0x146)](_0x3a48ad(0x135)))}),this[_0x3a48ad(0x136)](_0x38da81);}}function _0x5d62(_0x1634a6,_0x3112b6){const _0x40cf4b=_0x40cf();return _0x5d62=function(_0x5d62de,_0x2edb72){_0x5d62de=_0x5d62de-0x126;let _0x416bdb=_0x40cf4b[_0x5d62de];return _0x416bdb;},_0x5d62(_0x1634a6,_0x3112b6);}class at extends _0x1dd55a{constructor(_0x3066ed,_0x5a9a52){const _0x4bf02c=_0x5d62;super(_0x3066ed),this[_0x4bf02c(0x136)]({'tag':_0x4bf02c(0x13c),'attributes':{'class':['ck',_0x4bf02c(0x13a),_0x5a9a52[_0x4bf02c(0x127)][_0x4bf02c(0x12f)]()],'aria-hidden':_0x4bf02c(0x144)}});}}
23
+ (function(_0x4c2ab1,_0xac721d){const _0xc54f07=_0x1114,_0x5ad5dd=_0x4c2ab1();while(!![]){try{const _0x33285e=-parseInt(_0xc54f07(0xf3))/0x1*(parseInt(_0xc54f07(0xff))/0x2)+-parseInt(_0xc54f07(0x109))/0x3*(parseInt(_0xc54f07(0x108))/0x4)+parseInt(_0xc54f07(0x104))/0x5*(parseInt(_0xc54f07(0x113))/0x6)+parseInt(_0xc54f07(0xf1))/0x7*(-parseInt(_0xc54f07(0xf7))/0x8)+parseInt(_0xc54f07(0x103))/0x9*(-parseInt(_0xc54f07(0x112))/0xa)+parseInt(_0xc54f07(0x101))/0xb*(parseInt(_0xc54f07(0xf9))/0xc)+parseInt(_0xc54f07(0xfa))/0xd;if(_0x33285e===_0xac721d)break;else _0x5ad5dd['push'](_0x5ad5dd['shift']());}catch(_0x17907e){_0x5ad5dd['push'](_0x5ad5dd['shift']());}}}(_0x2e39,0xab839));function _0x1114(_0x65c679,_0x1e146e){const _0x2e39bb=_0x2e39();return _0x1114=function(_0x111403,_0x2837d7){_0x111403=_0x111403-0xf0;let _0x488c95=_0x2e39bb[_0x111403];return _0x488c95;},_0x1114(_0x65c679,_0x1e146e);}import{LabelView as _0x73d017,View as _0x7e98e7}from'ckeditor5/src/ui.js';import{UserView as _0x3581d7}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x7e98e7{constructor(_0x1cf58d,_0x26e517,_0x3bea20){const _0x4e6ae3=_0x1114;super(_0x1cf58d);const _0x86c651=this[_0x4e6ae3(0xf2)];this[_0x4e6ae3(0xf5)](_0x4e6ae3(0x105),!0x1),this[_0x4e6ae3(0xf5)](_0x4e6ae3(0x102),!0x0),this[_0x4e6ae3(0xf5)](_0x4e6ae3(0x10a),''),this[_0x4e6ae3(0x114)]=new _0x3581d7(_0x1cf58d,_0x26e517),this[_0x4e6ae3(0x10b)]=new dt(_0x1cf58d,_0x26e517);const _0x43b2d8=new _0x73d017(_0x1cf58d);_0x43b2d8[_0x4e6ae3(0xf4)][_0x4e6ae3(0x10f)]=_0x4e6ae3(0x106),_0x43b2d8[_0x4e6ae3(0x100)]=_0x26e517[_0x4e6ae3(0x10c)];const _0x3cf204={'tag':_0x4e6ae3(0xfc),'attributes':{'class':['ck',_0x4e6ae3(0xfe)],'role':_0x4e6ae3(0x111),'tabindex':_0x86c651['to'](_0x4e6ae3(0x105),_0x23ab50=>!!_0x23ab50&&0x0),'aria-labelledby':_0x43b2d8['id'],'data-cke-tooltip-text':this[_0x4e6ae3(0x114)][_0x4e6ae3(0x10c)],'data-cke-tooltip-position':_0x86c651['to'](_0x4e6ae3(0x10a)),'data-cke-tooltip-disabled':_0x86c651['to'](_0x4e6ae3(0x102),_0xeebb67=>!_0xeebb67),'data-cke-tooltip-class':_0x4e6ae3(0xf8)},'children':[this[_0x4e6ae3(0x114)],this[_0x4e6ae3(0x10b)],_0x43b2d8]};_0x3bea20&&(_0x3cf204[_0x4e6ae3(0x10f)]=_0x4e6ae3(0x110),_0x3cf204['on']={'click':_0x86c651['to'](()=>this[_0x4e6ae3(0x10d)](_0x4e6ae3(0xf6)))}),this[_0x4e6ae3(0xfd)](_0x3cf204);}}function _0x2e39(){const _0x192a9a=['ck-presence-list__list-item','1271282lwURtC','text','33FlfvZz','hasTooltip','684rwAnQh','55415icnvLb','isFocusable','span','ck-presence-list__marker','1013540AAWEUE','3XRkqBP','tooltipPosition','markerView','name','fire','true','tag','button','listitem','47620weJIQP','660jpeXqz','userView','getBackgroundColorClass','2569wYvyVM','bindTemplate','2fiVNzq','template','set','execute','19528AHFsgf','ck-presence-list__list-item__tooltip','2819436OYhqih','20292454VfMskc','color','div','setTemplate'];_0x2e39=function(){return _0x192a9a;};return _0x2e39();}class dt extends _0x7e98e7{constructor(_0x136112,_0x42bd5c){const _0x55b336=_0x1114;super(_0x136112),this[_0x55b336(0xfd)]({'tag':_0x55b336(0x106),'attributes':{'class':['ck',_0x55b336(0x107),_0x42bd5c[_0x55b336(0xfb)][_0x55b336(0xf0)]()],'aria-hidden':_0x55b336(0x10e)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf64b(){const _0x487aaf=['644520kHkYAI','set','7faQuKP','3udqcJS','keystrokes','fire','removeAttribute','ck-presence-list__list','2hwdbkg','46195QQVJqs','bindTemplate','isExpanded','aria-expanded','items','render','Connected\x20users\x20list','change:hasPopup','710955kvGkMq','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','1412775FVseok','element','listenTo','div','list','2142008DDiRZP','696088IJhWik','setAttribute','103230VZRAAA','execute','focus','setTemplate','hasPopup'];_0xf64b=function(){return _0x487aaf;};return _0xf64b();}const _0x586158=_0x1a76;(function(_0x30c21c,_0x2b03e6){const _0x141db0=_0x1a76,_0x4935b1=_0x30c21c();while(!![]){try{const _0xf0b488=parseInt(_0x141db0(0x159))/0x1*(-parseInt(_0x141db0(0x158))/0x2)+parseInt(_0x141db0(0x153))/0x3*(parseInt(_0x141db0(0x149))/0x4)+-parseInt(_0x141db0(0x140))/0x5+-parseInt(_0x141db0(0x14b))/0x6+-parseInt(_0x141db0(0x152))/0x7*(-parseInt(_0x141db0(0x148))/0x8)+-parseInt(_0x141db0(0x143))/0x9+parseInt(_0x141db0(0x150))/0xa;if(_0xf0b488===_0x2b03e6)break;else _0x4935b1['push'](_0x4935b1['shift']());}catch(_0x369bb1){_0x4935b1['push'](_0x4935b1['shift']());}}}(_0xf64b,0x2312b));import{View as _0x3c4b9e}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x436a77}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b8622}from'../../common-translations.js';function _0x1a76(_0x345f3a,_0x117b12){const _0xf64b71=_0xf64b();return _0x1a76=function(_0x1a76d3,_0x5f2dca){_0x1a76d3=_0x1a76d3-0x13e;let _0x5290bf=_0xf64b71[_0x1a76d3];return _0x5290bf;},_0x1a76(_0x345f3a,_0x117b12);}export default class es extends _0x3c4b9e{constructor(_0x14ba61){const _0xa5b88b=_0x1a76;super(_0x14ba61);const _0x200212=this[_0xa5b88b(0x15a)];this[_0xa5b88b(0x15d)]=this[_0xa5b88b(0x142)](),this[_0xa5b88b(0x154)]=new _0x436a77(),this[_0xa5b88b(0x151)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xa5b88b(0x14e)]({'tag':_0xa5b88b(0x146),'attributes':{'aria-haspopup':_0x200212['if'](_0xa5b88b(0x14f)),'aria-expanded':_0x200212['to'](_0xa5b88b(0x15b),_0x525fef=>this[_0xa5b88b(0x14f)]&&String(_0x525fef)),'aria-label':_0x200212['to'](_0xa5b88b(0x14f),_0x15196a=>_0x1b8622(_0x14ba61,_0x15196a?_0xa5b88b(0x141):_0xa5b88b(0x13e))),'role':_0xa5b88b(0x147),'tabindex':_0x200212['to'](_0xa5b88b(0x14f),_0xdb733=>!!_0xdb733&&0x0),'class':['ck',_0xa5b88b(0x157)]},'children':this[_0xa5b88b(0x15d)],'on':{'click':_0x200212['to'](()=>this[_0xa5b88b(0x155)](_0xa5b88b(0x14c)))}}),this['on'](_0xa5b88b(0x13f),(_0x2827cb,_0x39b9e6,_0x3d7f64)=>{const _0x1ff201=_0xa5b88b;this[_0x1ff201(0x144)]&&(_0x3d7f64?this[_0x1ff201(0x144)][_0x1ff201(0x14a)](_0x1ff201(0x15c),String(this[_0x1ff201(0x15b)])):this[_0x1ff201(0x144)][_0x1ff201(0x156)](_0x1ff201(0x15c)));});}[_0x586158(0x14d)](){const _0x1f60b7=_0x586158;this[_0x1f60b7(0x144)][_0x1f60b7(0x14d)]();}[_0x586158(0x15e)](){const _0x30475c=_0x586158;super[_0x30475c(0x15e)](),this[_0x30475c(0x154)][_0x30475c(0x145)](this[_0x30475c(0x144)]);}}
23
+ const _0x94ddb5=_0x2903;(function(_0x97672c,_0x2b42ca){const _0x4d7b4d=_0x2903,_0x51dd82=_0x97672c();while(!![]){try{const _0x3d4a66=-parseInt(_0x4d7b4d(0x178))/0x1+-parseInt(_0x4d7b4d(0x185))/0x2+-parseInt(_0x4d7b4d(0x18a))/0x3*(parseInt(_0x4d7b4d(0x183))/0x4)+parseInt(_0x4d7b4d(0x191))/0x5+-parseInt(_0x4d7b4d(0x18b))/0x6+-parseInt(_0x4d7b4d(0x195))/0x7+parseInt(_0x4d7b4d(0x18c))/0x8;if(_0x3d4a66===_0x2b42ca)break;else _0x51dd82['push'](_0x51dd82['shift']());}catch(_0xc9877b){_0x51dd82['push'](_0x51dd82['shift']());}}}(_0xb6ce,0x664bb));function _0xb6ce(){const _0x1b5470=['render','setTemplate','3373560AgunbX','div','setAttribute','isExpanded','1045562ZsVqhj','aria-expanded','605481AcUKGD','bindTemplate','keystrokes','createCollection','list','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','removeAttribute','change:hasPopup','items','ck-presence-list__list','8vHOzSb','set','728222cObctl','focus','listenTo','Connected\x20users\x20list','execute','316059FNYWRJ','2044260YPEikq','11317320pCmpAj','element','hasPopup'];_0xb6ce=function(){return _0x1b5470;};return _0xb6ce();}import{View as _0x28fa85}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x23fa34}from'ckeditor5/src/utils.js';import{getTranslation as _0x3666d0}from'../../common-translations.js';function _0x2903(_0x2fe3a4,_0x453c16){const _0xb6ce35=_0xb6ce();return _0x2903=function(_0x290336,_0x21fbe4){_0x290336=_0x290336-0x177;let _0x163d8d=_0xb6ce35[_0x290336];return _0x163d8d;},_0x2903(_0x2fe3a4,_0x453c16);}export default class es extends _0x28fa85{constructor(_0x1dd530){const _0x505751=_0x2903;super(_0x1dd530);const _0x14cdb5=this[_0x505751(0x179)];this[_0x505751(0x181)]=this[_0x505751(0x17b)](),this[_0x505751(0x17a)]=new _0x23fa34(),this[_0x505751(0x184)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x505751(0x190)]({'tag':_0x505751(0x192),'attributes':{'aria-haspopup':_0x14cdb5['if'](_0x505751(0x18e)),'aria-expanded':_0x14cdb5['to'](_0x505751(0x194),_0x14ba96=>this[_0x505751(0x18e)]&&String(_0x14ba96)),'aria-label':_0x14cdb5['to'](_0x505751(0x18e),_0x1413e9=>_0x3666d0(_0x1dd530,_0x1413e9?_0x505751(0x17e):_0x505751(0x188))),'role':_0x505751(0x17c),'tabindex':_0x14cdb5['to'](_0x505751(0x18e),_0x425af6=>!!_0x425af6&&0x0),'class':['ck',_0x505751(0x182)]},'children':this[_0x505751(0x181)],'on':{'click':_0x14cdb5['to'](()=>this[_0x505751(0x17d)](_0x505751(0x189)))}}),this['on'](_0x505751(0x180),(_0x13d37f,_0x4de679,_0x501155)=>{const _0x318e44=_0x505751;this[_0x318e44(0x18d)]&&(_0x501155?this[_0x318e44(0x18d)][_0x318e44(0x193)](_0x318e44(0x177),String(this[_0x318e44(0x194)])):this[_0x318e44(0x18d)][_0x318e44(0x17f)](_0x318e44(0x177)));});}[_0x94ddb5(0x186)](){const _0x567634=_0x94ddb5;this[_0x567634(0x18d)][_0x567634(0x186)]();}[_0x94ddb5(0x18f)](){const _0x1c959d=_0x94ddb5;super[_0x1c959d(0x18f)](),this[_0x1c959d(0x17a)][_0x1c959d(0x187)](this[_0x1c959d(0x18d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xdea2(_0x3135cb,_0x4d1414){const _0x26c92c=_0x26c9();return _0xdea2=function(_0xdea2ea,_0x13a5dc){_0xdea2ea=_0xdea2ea-0x17e;let _0xc5e2fa=_0x26c92c[_0xdea2ea];return _0xc5e2fa;},_0xdea2(_0x3135cb,_0x4d1414);}const _0x592c2b=_0xdea2;(function(_0x40884c,_0x564cef){const _0x25867f=_0xdea2,_0x2df7c9=_0x40884c();while(!![]){try{const _0x3d6d18=parseInt(_0x25867f(0x194))/0x1*(-parseInt(_0x25867f(0x1c7))/0x2)+parseInt(_0x25867f(0x1a7))/0x3+parseInt(_0x25867f(0x1df))/0x4*(-parseInt(_0x25867f(0x1d6))/0x5)+-parseInt(_0x25867f(0x1ae))/0x6+parseInt(_0x25867f(0x1c1))/0x7*(parseInt(_0x25867f(0x196))/0x8)+parseInt(_0x25867f(0x18b))/0x9+parseInt(_0x25867f(0x193))/0xa*(parseInt(_0x25867f(0x17f))/0xb);if(_0x3d6d18===_0x564cef)break;else _0x2df7c9['push'](_0x2df7c9['shift']());}catch(_0x2167c9){_0x2df7c9['push'](_0x2df7c9['shift']());}}}(_0x26c9,0x2c95b));import{Context as _0x100af8,ContextPlugin as _0x38a87a}from'ckeditor5/src/core.js';import{CKEditorError as _0x49da2a}from'ckeditor5/src/utils.js';import{Users as _0x48d332}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x16f68f,User as _0x272fdc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x50527d from'../realtimecollaborativeediting/websocketgateway.js';import _0x1c81a5 from'../realtimecollaborativeediting/sessions.js';class a extends _0x38a87a{static get[_0x592c2b(0x19b)](){const _0x275c01=_0x592c2b;return[_0x50527d,_0x275c01(0x1b3),_0x1c81a5,_0x48d332];}static get[_0x592c2b(0x199)](){const _0x1cbc69=_0x592c2b;return _0x1cbc69(0x180);}static get[_0x592c2b(0x1d3)](){return!0x0;}static get[_0x592c2b(0x184)](){return!0x0;}constructor(_0x5ef481){const _0x165dea=_0x592c2b;super(_0x5ef481),this[_0x165dea(0x1bc)]=new Map();}async[_0x592c2b(0x188)](){const _0x103192=_0x592c2b,_0x20664e=this[_0x103192(0x1c4)],_0x21fe9a=_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x103192(0x1b3));if(_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x50527d)[_0x103192(0x1d0)](this),_0x21fe9a[_0x103192(0x1cd)]={'addCommentThread':async({channelId:_0x103c76,threadId:_0x5765ad,comments:_0x29eb63,resolvedAt:_0x1b5474,resolvedBy:_0xefabc2,context:_0x313786,attributes:_0x6f2465})=>{const _0x40a50c=_0x103192,_0x2f399b=await this[_0x40a50c(0x1d4)](_0x103c76)[_0x40a50c(0x1de)]({'commentThreadId':_0x5765ad,'comments':_0x29eb63[_0x40a50c(0x1ce)](_0xbf5266=>function(_0x164113,_0x6a99bb,_0x334cab){const _0x10d85f=_0x40a50c;return{'commentThreadId':_0x334cab,'commentId':_0x164113[_0x10d85f(0x1ac)],'userId':_0x164113[_0x10d85f(0x192)],'content':_0x164113[_0x10d85f(0x1e2)],'documentId':_0x6a99bb,'createdAt':_0x164113[_0x10d85f(0x1bf)],'attributes':_0x164113[_0x10d85f(0x1ba)]||{}};}(_0xbf5266,_0x103c76,_0x5765ad)),'resolvedAt':_0x1b5474,'resolvedBy':_0xefabc2,'context':_0x313786,'attributes':_0x6f2465})[_0x40a50c(0x182)](R);return{'threadId':_0x2f399b[_0x40a50c(0x1b1)],'comments':_0x2f399b[_0x40a50c(0x19e)]};},'getCommentThread':async({channelId:_0x574071,threadId:_0x5e68df})=>{const _0xc3ad72=_0x103192,_0x2c9f21=await this[_0xc3ad72(0x1d4)](_0x574071)[_0xc3ad72(0x1ca)](_0x5e68df)[_0xc3ad72(0x182)](R);return _0x2c9f21[_0xc3ad72(0x1da)]?null:(await this[_0xc3ad72(0x1d1)]([_0x2c9f21]),{'threadId':_0x2c9f21[_0xc3ad72(0x1b1)],'comments':_0x2c9f21[_0xc3ad72(0x19e)][_0xc3ad72(0x1ce)](S),'context':_0x2c9f21[_0xc3ad72(0x1c4)],'resolvedAt':_0x2c9f21[_0xc3ad72(0x1a8)],'resolvedBy':_0x2c9f21[_0xc3ad72(0x1d8)],'attributes':_0x2c9f21[_0xc3ad72(0x1ba)]||{}});},'updateCommentThread':async({channelId:_0x335de3,threadId:_0x38355c,context:_0x1415bf,unlinkedAt:_0x1b5bc6,attributes:_0x70a346})=>this[_0x103192(0x1d4)](_0x335de3)[_0x103192(0x18f)]({'commentThreadId':_0x38355c,'context':_0x1415bf,'attributes':_0x70a346,'unlinkedAt':_0x1b5bc6})[_0x103192(0x182)](B)[_0x103192(0x182)](R),'resolveCommentThread':async({channelId:_0x2eb579,threadId:_0x3c1099})=>{const _0x12378d=_0x103192,_0x32d587=await this[_0x12378d(0x1d4)](_0x2eb579)[_0x12378d(0x19f)](_0x3c1099)[_0x12378d(0x182)](B)[_0x12378d(0x182)](R);return{'threadId':_0x32d587[_0x12378d(0x1b1)],'resolvedAt':_0x32d587[_0x12378d(0x1a8)],'resolvedBy':_0x32d587[_0x12378d(0x1d8)]};},'reopenCommentThread':async({channelId:_0x5b90f2,threadId:_0xa56cf5})=>this[_0x103192(0x1d4)](_0x5b90f2)[_0x103192(0x1cc)](_0xa56cf5)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'removeCommentThread':({channelId:_0x54a062,threadId:_0xc35110})=>this[_0x103192(0x1d4)](_0x54a062)[_0x103192(0x1d9)](_0xc35110)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'addComment':({channelId:_0x2eb713,threadId:_0x25f217,commentId:_0x41ff7e,content:_0x16c714,attributes:_0x4e6821})=>this[_0x103192(0x1d4)](_0x2eb713)[_0x103192(0x186)](_0x25f217,_0x41ff7e,_0x16c714,_0x4e6821)[_0x103192(0x182)](R),'updateComment':({channelId:_0x364b9d,threadId:_0xf21f01,commentId:_0x4554b3,content:_0x580970,attributes:_0x171702})=>this[_0x103192(0x1d4)](_0x364b9d)[_0x103192(0x1dd)](_0xf21f01,_0x4554b3,_0x580970,_0x171702)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'removeComment':({channelId:_0x3987cd,threadId:_0x968ddf,commentId:_0x5f5807})=>this[_0x103192(0x1d4)](_0x3987cd)[_0x103192(0x1d2)](_0x968ddf,_0x5f5807)[_0x103192(0x182)](B)[_0x103192(0x182)](R)},_0x20664e instanceof _0x100af8){const _0x2da110=_0x20664e[_0x103192(0x1b2)][_0x103192(0x1c8)](_0x103192(0x190)),_0x310063=_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x1c81a5);await this[_0x103192(0x198)](_0x2da110);const _0x256bec=await this[_0x103192(0x1bc)][_0x103192(0x1c8)](_0x2da110)[_0x103192(0x1c5)]();this[_0x103192(0x1a5)](_0x310063,_0x103192(0x18c)+_0x2da110,(_0x1a2695,{session:_0x16e8aa})=>{const _0x1bee7a=_0x103192;_0x16e8aa['id']===_0x310063[_0x1bee7a(0x18e)]&&(_0x1a2695[_0x1bee7a(0x1b0)](),this[_0x1bee7a(0x1c4)][_0x1bee7a(0x197)][_0x1bee7a(0x1c8)](_0x1bee7a(0x1b6))[_0x1bee7a(0x181)](_0x16e8aa[_0x1bee7a(0x1e3)],_0x2da110));}),_0x310063[_0x103192(0x1be)](_0x2da110,_0x256bec);}}async[_0x592c2b(0x198)](_0x2949ff){const _0x4e2efe=_0x592c2b;if(this[_0x4e2efe(0x1bc)][_0x4e2efe(0x1d7)](_0x2949ff))throw new _0x49da2a(_0x4e2efe(0x1af),null,{'channelId':_0x2949ff});const _0x6e4eef=this[_0x4e2efe(0x1c4)][_0x4e2efe(0x197)][_0x4e2efe(0x1c8)](_0x4e2efe(0x1b3)),_0x603b7c=new a[(_0x4e2efe(0x1db))](_0x2949ff);this[_0x4e2efe(0x1bc)][_0x4e2efe(0x189)](_0x2949ff,_0x603b7c),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x187),(_0x13dbf1,_0xb0114b)=>{const _0x19848e=_0x4e2efe,{commentThreadId:_0x5d4559,documentId:_0xbb1707,context:_0x1d5374,attributes:_0x35553e,resolvedAt:_0x19e3da,resolvedBy:_0x51e39d,comments:_0x309e25}=_0xb0114b;_0x6e4eef[_0x19848e(0x1ca)](_0x5d4559)||_0x6e4eef[_0x19848e(0x1de)]({'threadId':_0x5d4559,'channelId':_0xbb1707,'comments':_0x309e25?_0x309e25[_0x19848e(0x1ce)](S):[],'context':_0x1d5374,'attributes':_0x35553e,'resolvedAt':_0x19e3da,'resolvedBy':_0x51e39d,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a6),(_0x55d999,{commentThreadId:_0x565637,documentId:_0x23d65c,context:_0x50781b,unlinkedAt:_0x2a5000,attributes:_0x3dd4d5})=>{const _0xcee435=_0x4e2efe;_0x6e4eef[_0xcee435(0x1ca)](_0x565637)&&_0x6e4eef[_0xcee435(0x18f)]({'threadId':_0x565637,'channelId':_0x23d65c,'context':_0x50781b,'unlinkedAt':_0x2a5000,'attributes':_0x3dd4d5,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a3),(_0x4491c4,{commentThreadId:_0xee2ab1,resolvedBy:_0x27d9d3,resolvedAt:_0x102823})=>{const _0x10a022=_0x4e2efe,_0xf082b5=_0x6e4eef[_0x10a022(0x1ca)](_0xee2ab1);_0xf082b5&&_0xf082b5[_0x10a022(0x1bd)]({'resolvedBy':_0x27d9d3,'resolvedAt':_0x102823,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x18a),(_0x40badf,{commentThreadId:_0x274668})=>{const _0x305e9c=_0x4e2efe,_0x84f2a9=_0x6e4eef[_0x305e9c(0x1ca)](_0x274668);_0x84f2a9&&_0x84f2a9[_0x305e9c(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1b4),(_0x1f4447,{commentThreadId:_0x288f44})=>{const _0x4b5ac5=_0x4e2efe,_0x43873d=_0x6e4eef[_0x4b5ac5(0x1ca)](_0x288f44);_0x43873d&&_0x43873d[_0x4b5ac5(0x19d)]({'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1b8),(_0x55b753,_0x476119)=>{const _0x2ea4df=_0x4e2efe,_0x4b6635=_0x476119[_0x2ea4df(0x1b1)],_0x474228=_0x6e4eef[_0x2ea4df(0x1ca)](_0x4b6635);_0x474228&&_0x474228[_0x2ea4df(0x186)]({...S(_0x476119),'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1cb),(_0x89a6c1,{commentThreadId:_0x1dd4c6,commentId:_0x31d65e,content:_0x32357f,attributes:_0x2d0654})=>{const _0x153dc8=_0x4e2efe,_0x22a7f9=_0x6e4eef[_0x153dc8(0x1ca)](_0x1dd4c6);if(_0x22a7f9){const _0x365601=_0x22a7f9[_0x153dc8(0x1b7)](_0x31d65e);_0x365601&&_0x365601[_0x153dc8(0x1e1)]({'content':_0x32357f,'attributes':_0x2d0654,'isFromAdapter':!0x0});}}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a9),(_0x1d4c4d,{commentThreadId:_0x43aad6,commentId:_0x2afe87})=>{const _0x4ddcd1=_0x4e2efe,_0x3fd68e=_0x6e4eef[_0x4ddcd1(0x1ca)](_0x43aad6);if(_0x3fd68e){const _0xf6e71a=_0x3fd68e[_0x4ddcd1(0x1b7)](_0x2afe87);_0xf6e71a&&_0xf6e71a[_0x4ddcd1(0x19d)]({'isFromAdapter':!0x0});}}),await this[_0x4e2efe(0x1d5)](_0x2949ff);}[_0x592c2b(0x1a4)](){const _0x2830ea=_0x592c2b;if(this[_0x2830ea(0x1c4)]instanceof _0x100af8){const _0x63906d=this[_0x2830ea(0x1c4)][_0x2830ea(0x1b2)][_0x2830ea(0x1c8)](_0x2830ea(0x190));this[_0x2830ea(0x17e)](_0x63906d);}}[_0x592c2b(0x17e)](_0xda422e){const _0x2c80c4=_0x592c2b;if(!this[_0x2c80c4(0x1bc)][_0x2c80c4(0x1d7)](_0xda422e))throw new _0x49da2a(_0x2c80c4(0x1ad),null,{'channelId':_0xda422e});this[_0x2c80c4(0x1d4)](_0xda422e)[_0x2c80c4(0x1c0)](),this[_0x2c80c4(0x1bc)][_0x2c80c4(0x191)](_0xda422e);}async[_0x592c2b(0x185)](){const _0x2f5b89=_0x592c2b;for(const _0x2edc66 of this[_0x2f5b89(0x1bc)][_0x2f5b89(0x1e0)]())await this[_0x2f5b89(0x1d5)](_0x2edc66);if(this[_0x2f5b89(0x1c4)]instanceof _0x100af8){const _0xed9e6b=this[_0x2f5b89(0x1c4)][_0x2f5b89(0x1b2)][_0x2f5b89(0x1c8)](_0x2f5b89(0x190)),_0x257c9c=this[_0x2f5b89(0x1c4)][_0x2f5b89(0x197)][_0x2f5b89(0x1c8)](_0x1c81a5);_0x257c9c[_0x2f5b89(0x18d)](_0xed9e6b);const _0xc68759=await this[_0x2f5b89(0x1bc)][_0x2f5b89(0x1c8)](_0xed9e6b)[_0x2f5b89(0x1c5)]();_0x257c9c[_0x2f5b89(0x1be)](_0xed9e6b,_0xc68759);}}async[_0x592c2b(0x1d5)](_0x47f441){const _0x58b1a6=_0x592c2b,{connection:_0x4f4e5e}=this[_0x58b1a6(0x1c4)][_0x58b1a6(0x197)][_0x58b1a6(0x1c8)](_0x50527d),_0x46770a=this[_0x58b1a6(0x1c4)][_0x58b1a6(0x197)][_0x58b1a6(0x1c8)](_0x58b1a6(0x1b3)),_0x388650=this[_0x58b1a6(0x1bc)][_0x58b1a6(0x1c8)](_0x47f441),_0x461697=await _0x388650[_0x58b1a6(0x1dc)](_0x4f4e5e);await this[_0x58b1a6(0x1d1)](_0x461697);const _0x2976c1=new Set(Array[_0x58b1a6(0x1a0)](_0x46770a[_0x58b1a6(0x1cf)]({'channelId':_0x47f441}),_0x47e13d=>_0x47e13d['id']));for(const _0x2c9270 of _0x461697)_0x2c9270[_0x58b1a6(0x1da)]||_0x2976c1[_0x58b1a6(0x191)](_0x2c9270[_0x58b1a6(0x1b1)]);for(const _0x17b3c4 of _0x2976c1)_0x46770a[_0x58b1a6(0x1ca)](_0x17b3c4)[_0x58b1a6(0x19d)]({'isFromAdapter':!0x0});for(const _0x4f442a of _0x461697){let _0x197977=_0x46770a[_0x58b1a6(0x1ca)](_0x4f442a[_0x58b1a6(0x1b1)]);const {commentThreadId:_0x2da9fc,context:_0x3f3e7f,attributes:_0x3bcf9a,resolvedBy:_0x1d57d5,resolvedAt:_0x5bc3db,unlinkedAt:_0x524c84,deletedAt:_0x5d79d8}=_0x4f442a;if(_0x5d79d8)continue;_0x197977||(_0x197977=_0x46770a[_0x58b1a6(0x1de)]({'channelId':_0x47f441,'threadId':_0x2da9fc,'context':_0x3f3e7f,'attributes':_0x3bcf9a||{},'resolvedBy':_0x1d57d5,'resolvedAt':_0x5bc3db,'unlinkedAt':_0x524c84,'isFromAdapter':!0x0}));const _0x2d10b5=new Set(Array[_0x58b1a6(0x1a0)](_0x197977[_0x58b1a6(0x19e)],_0x16f316=>_0x16f316['id']));for(const _0x49a6e3 of _0x4f442a[_0x58b1a6(0x19e)])_0x2d10b5[_0x58b1a6(0x191)](_0x49a6e3[_0x58b1a6(0x1ac)]);for(const _0x144cc2 of _0x2d10b5)_0x197977[_0x58b1a6(0x1b7)](_0x144cc2)[_0x58b1a6(0x19d)]({'isFromAdapter':!0x0});for(const _0x208143 of _0x4f442a[_0x58b1a6(0x19e)]){const _0x1b947d=_0x197977[_0x58b1a6(0x1b7)](_0x208143[_0x58b1a6(0x1ac)]);_0x1b947d?_0x1b947d[_0x58b1a6(0x1e2)]!==_0x208143[_0x58b1a6(0x1e2)]&&_0x1b947d[_0x58b1a6(0x1e1)]({'content':_0x208143[_0x58b1a6(0x1e2)],'isFromAdapter':!0x0}):_0x197977[_0x58b1a6(0x186)](Object[_0x58b1a6(0x183)](S(_0x208143),{'isFromAdapter':!0x0}));}}}[_0x592c2b(0x1d4)](_0x2d0cc2){const _0x179392=_0x592c2b;if(!this[_0x179392(0x1bc)][_0x179392(0x1d7)](_0x2d0cc2))throw new _0x49da2a(_0x179392(0x1b9),null,{'channelId':_0x2d0cc2});return this[_0x179392(0x1bc)][_0x179392(0x1c8)](_0x2d0cc2);}async[_0x592c2b(0x1d1)](_0x5df1f3){const _0x2be466=_0x592c2b,_0x2cddb0=this[_0x2be466(0x1c4)][_0x2be466(0x197)][_0x2be466(0x1c8)](_0x48d332),{connection:_0x119e96}=this[_0x2be466(0x1c4)][_0x2be466(0x197)][_0x2be466(0x1c8)](_0x50527d),_0x59a64a=new Set();for(const {resolvedBy:_0x4da34c,comments:_0x4bf652}of _0x5df1f3){_0x4da34c&&!_0x2cddb0[_0x2be466(0x1b5)](_0x4da34c)&&_0x59a64a[_0x2be466(0x1a2)](_0x4da34c);for(const {userId:_0x3d5727}of _0x4bf652)_0x2cddb0[_0x2be466(0x1b5)](_0x3d5727)||_0x59a64a[_0x2be466(0x1a2)](_0x3d5727);}if(0x0===_0x59a64a[_0x2be466(0x1c9)])return;const _0x26c6e1=await _0x272fdc[_0x2be466(0x19a)](_0x119e96,Array[_0x2be466(0x1a0)](_0x59a64a));for(const _0x92632c of _0x26c6e1)_0x2cddb0[_0x2be466(0x1b5)](_0x92632c['id'])||_0x2cddb0[_0x2be466(0x1e4)](_0x92632c);}}a[_0x592c2b(0x1db)]=_0x16f68f;function _0x26c9(){const _0x4e3127=['userId','commentId','cloudservicescommentsadapter-disconnect-not-exist','874902isNrWn','cloudservicescommentsadapter-connect-already-connected','off','commentThreadId','config','CommentsRepository','commentThreadRemoved','getUser','Permissions','getComment','commentAdded','cloudservicescommentsadapter-service-not-exist','attributes','404','_services','resolve','register','createdAt','disconnect','7xgSfTv','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','context','getConnectedSessions','code','4wAzLWb','get','size','getCommentThread','commentUpdated','reopenCommentThread','adapter','map','getCommentThreads','addToReconnectionStack','_fetchMissingUsersForThreads','removeComment','isOfficialPlugin','_getService','_connectService','207885gUjTID','has','resolvedBy','removeCommentThread','deletedAt','CommentsService','connect','updateComment','addCommentThread','12nELrNe','keys','update','content','permissions','addUser','_terminateService','693WhbHgc','CloudServicesCommentsAdapter','setPermissions','catch','assign','isPremiumPlugin','reconnect','addComment','commentThreadAdded','init','set','commentThreadReopened','809865bMlmyR','sessionAdd:','unregister','mySessionId','updateCommentThread','collaboration.channelId','delete','authorId','36070TUCmFb','51704hCfOJr','startsWith','260872rhOywQ','plugins','_setUpService','pluginName','getMany','requires','message','remove','comments','resolveCommentThread','from','cloud-services-internal-error:\x20Not\x20connected.','add','commentThreadResolved','destroy','listenTo','commentThreadUpdated','620220BlcHwD','resolvedAt','commentRemoved','reopen'];_0x26c9=function(){return _0x4e3127;};return _0x26c9();}export default a;async function B(_0x563351){const _0x30175b=_0x592c2b;if(_0x30175b(0x1bb)!==_0x563351[_0x30175b(0x1c6)])throw _0x563351;}function R(_0x32a958){const _0x3b8e89=_0x592c2b;if((_0x20057d=_0x32a958)[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1c3))||_0x20057d[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1a1))||_0x20057d[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1c2)))return new Promise(()=>{});var _0x20057d;throw _0x32a958;}function S(_0x4e2277){const _0x1cac12=_0x592c2b;return{'threadId':_0x4e2277[_0x1cac12(0x1b1)],'commentId':_0x4e2277[_0x1cac12(0x1ac)],'content':_0x4e2277[_0x1cac12(0x1e2)],'createdAt':_0x4e2277[_0x1cac12(0x1bf)],'authorId':_0x4e2277[_0x1cac12(0x1ab)],'attributes':_0x4e2277[_0x1cac12(0x1ba)]||{}};}
23
+ const _0x54dee8=_0x2923;(function(_0x165ebd,_0x3e0b7d){const _0x4ad7fd=_0x2923,_0x42400f=_0x165ebd();while(!![]){try{const _0x48af64=parseInt(_0x4ad7fd(0x1de))/0x1+parseInt(_0x4ad7fd(0x1c1))/0x2*(parseInt(_0x4ad7fd(0x18e))/0x3)+-parseInt(_0x4ad7fd(0x19c))/0x4*(-parseInt(_0x4ad7fd(0x1c2))/0x5)+parseInt(_0x4ad7fd(0x1c6))/0x6+-parseInt(_0x4ad7fd(0x1a6))/0x7*(parseInt(_0x4ad7fd(0x1c8))/0x8)+-parseInt(_0x4ad7fd(0x1e7))/0x9*(-parseInt(_0x4ad7fd(0x191))/0xa)+parseInt(_0x4ad7fd(0x1a0))/0xb*(-parseInt(_0x4ad7fd(0x1d5))/0xc);if(_0x48af64===_0x3e0b7d)break;else _0x42400f['push'](_0x42400f['shift']());}catch(_0x85a944){_0x42400f['push'](_0x42400f['shift']());}}}(_0x464e,0x8a62e));import{Context as _0x497b0a,ContextPlugin as _0x3fd597}from'ckeditor5/src/core.js';import{CKEditorError as _0x25847a}from'ckeditor5/src/utils.js';import{Users as _0x30f796}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29f820,User as _0x5eeb4a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x464e(){const _0x23d79e=['CloudServicesCommentsAdapter','deletedAt','destroy','6wqtvLi','reopenCommentThread','setPermissions','925140irxkSN','code','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','keys','commentThreadAdded','off','resolve','addComment','isOfficialPlugin','getUser','catch','4460204ObDlqa','commentThreadResolved','removeCommentThread','sessionAdd:','542443MOcDJz','commentThreadId','getCommentThread','update','message','_services','1162ZTdCBl','cloudservicescommentsadapter-service-not-exist','_terminateService','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','Permissions','permissions','getConnectedSessions','commentId','commentUpdated','addToReconnectionStack','delete','commentRemoved','set','commentThreadUpdated','addUser','addCommentThread','context','commentThreadReopened','_connectService','resolvedBy','_setUpService','get','updateComment','disconnect','_fetchMissingUsersForThreads','commentAdded','569952RhZzZp','5sWSDyj','404','getComment','getCommentThreads','1961634mVpxeB','add','24456OhproW','createdAt','getMany','reopen','startsWith','reconnect','from','connect','resolveCommentThread','userId','isPremiumPlugin','register','remove','600bbUIaj','updateCommentThread','collaboration.channelId','requires','init','map','mySessionId','assign','content','1065430riwHio','resolvedAt','unregister','has','CommentsService','commentThreadRemoved','authorId','removeComment','comments','45JOwCVd','config','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','cloudservicescommentsadapter-connect-already-connected','plugins','cloud-services-internal-error:\x20Not\x20connected.','_getService','adapter','size','attributes','listenTo'];_0x464e=function(){return _0x23d79e;};return _0x464e();}import _0x132b8c from'../realtimecollaborativeediting/websocketgateway.js';import _0x5efab9 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3fd597{static get[_0x54dee8(0x1d8)](){const _0x4c19b0=_0x54dee8;return[_0x132b8c,_0x4c19b0(0x1aa),_0x5efab9,_0x30f796];}static get[_0x54dee8(0x1ea)](){const _0xfa027f=_0x54dee8;return _0xfa027f(0x18b);}static get[_0x54dee8(0x199)](){return!0x0;}static get[_0x54dee8(0x1d2)](){return!0x0;}constructor(_0x36a015){const _0x4c9314=_0x54dee8;super(_0x36a015),this[_0x4c9314(0x1a5)]=new Map();}async[_0x54dee8(0x1d9)](){const _0x2e1425=_0x54dee8,_0x1925f7=this[_0x2e1425(0x1b7)],_0x1a6c4a=_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x2e1425(0x1aa));if(_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x132b8c)[_0x2e1425(0x1b0)](this),_0x1a6c4a[_0x2e1425(0x1ef)]={'addCommentThread':async({channelId:_0x239b77,threadId:_0x1ddfb2,comments:_0x31f34e,resolvedAt:_0xde7aa8,resolvedBy:_0x5f5031,context:_0x26526d,attributes:_0x35b2df})=>{const _0x4c2de6=_0x2e1425,_0x2fe41c=await this[_0x4c2de6(0x1ee)](_0x239b77)[_0x4c2de6(0x1b6)]({'commentThreadId':_0x1ddfb2,'comments':_0x31f34e[_0x4c2de6(0x1da)](_0x404380=>function(_0x2277b0,_0x44f3ba,_0x5cea5d){const _0x340464=_0x4c2de6;return{'commentThreadId':_0x5cea5d,'commentId':_0x2277b0[_0x340464(0x1ae)],'userId':_0x2277b0[_0x340464(0x1e4)],'content':_0x2277b0[_0x340464(0x1dd)],'documentId':_0x44f3ba,'createdAt':_0x2277b0[_0x340464(0x1c9)],'attributes':_0x2277b0[_0x340464(0x189)]||{}};}(_0x404380,_0x239b77,_0x1ddfb2)),'resolvedAt':_0xde7aa8,'resolvedBy':_0x5f5031,'context':_0x26526d,'attributes':_0x35b2df})[_0x4c2de6(0x19b)](ot);return{'threadId':_0x2fe41c[_0x4c2de6(0x1a1)],'comments':_0x2fe41c[_0x4c2de6(0x1e6)]};},'getCommentThread':async({channelId:_0x21cb29,threadId:_0x501281})=>{const _0x2f1136=_0x2e1425,_0x570e4d=await this[_0x2f1136(0x1ee)](_0x21cb29)[_0x2f1136(0x1a2)](_0x501281)[_0x2f1136(0x19b)](ot);return _0x570e4d[_0x2f1136(0x18c)]?null:(await this[_0x2f1136(0x1bf)]([_0x570e4d]),{'threadId':_0x570e4d[_0x2f1136(0x1a1)],'comments':_0x570e4d[_0x2f1136(0x1e6)][_0x2f1136(0x1da)](nt),'context':_0x570e4d[_0x2f1136(0x1b7)],'resolvedAt':_0x570e4d[_0x2f1136(0x1df)],'resolvedBy':_0x570e4d[_0x2f1136(0x1ba)],'attributes':_0x570e4d[_0x2f1136(0x189)]||{}});},'updateCommentThread':async({channelId:_0x368fdd,threadId:_0x1adad8,context:_0x106193,unlinkedAt:_0x219df1,attributes:_0xd1cc03})=>this[_0x2e1425(0x1ee)](_0x368fdd)[_0x2e1425(0x1d6)]({'commentThreadId':_0x1adad8,'context':_0x106193,'attributes':_0xd1cc03,'unlinkedAt':_0x219df1})[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'resolveCommentThread':async({channelId:_0x4dc703,threadId:_0x42e3c3})=>{const _0x10154e=_0x2e1425,_0x3971ca=await this[_0x10154e(0x1ee)](_0x4dc703)[_0x10154e(0x1d0)](_0x42e3c3)[_0x10154e(0x19b)](et)[_0x10154e(0x19b)](ot);return{'threadId':_0x3971ca[_0x10154e(0x1a1)],'resolvedAt':_0x3971ca[_0x10154e(0x1df)],'resolvedBy':_0x3971ca[_0x10154e(0x1ba)]};},'reopenCommentThread':async({channelId:_0x3a0f62,threadId:_0x2d948c})=>this[_0x2e1425(0x1ee)](_0x3a0f62)[_0x2e1425(0x18f)](_0x2d948c)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'removeCommentThread':({channelId:_0x2116eb,threadId:_0x1466df})=>this[_0x2e1425(0x1ee)](_0x2116eb)[_0x2e1425(0x19e)](_0x1466df)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'addComment':({channelId:_0x4f6624,threadId:_0x4722d7,commentId:_0x4974ac,content:_0x2f23d6,attributes:_0x5a5c39})=>this[_0x2e1425(0x1ee)](_0x4f6624)[_0x2e1425(0x198)](_0x4722d7,_0x4974ac,_0x2f23d6,_0x5a5c39)[_0x2e1425(0x19b)](ot),'updateComment':({channelId:_0x4dee8f,threadId:_0x18b01d,commentId:_0x988b7c,content:_0x4f49bd,attributes:_0x4abf08})=>this[_0x2e1425(0x1ee)](_0x4dee8f)[_0x2e1425(0x1bd)](_0x18b01d,_0x988b7c,_0x4f49bd,_0x4abf08)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'removeComment':({channelId:_0x413628,threadId:_0x45e5e1,commentId:_0x2377dd})=>this[_0x2e1425(0x1ee)](_0x413628)[_0x2e1425(0x1e5)](_0x45e5e1,_0x2377dd)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot)},_0x1925f7 instanceof _0x497b0a){const _0x164295=_0x1925f7[_0x2e1425(0x1e8)][_0x2e1425(0x1bc)](_0x2e1425(0x1d7)),_0x389211=_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x5efab9);await this[_0x2e1425(0x1bb)](_0x164295);const _0x3d1526=await this[_0x2e1425(0x1a5)][_0x2e1425(0x1bc)](_0x164295)[_0x2e1425(0x1ad)]();this[_0x2e1425(0x18a)](_0x389211,_0x2e1425(0x19f)+_0x164295,(_0x218a9e,{session:_0x1e12b9})=>{const _0x1f417f=_0x2e1425;_0x1e12b9['id']===_0x389211[_0x1f417f(0x1db)]&&(_0x218a9e[_0x1f417f(0x196)](),this[_0x1f417f(0x1b7)][_0x1f417f(0x1ec)][_0x1f417f(0x1bc)](_0x1f417f(0x1ab))[_0x1f417f(0x190)](_0x1e12b9[_0x1f417f(0x1ac)],_0x164295));}),_0x389211[_0x2e1425(0x1d3)](_0x164295,_0x3d1526);}}async[_0x54dee8(0x1bb)](_0x33f3e4){const _0xfa6ae0=_0x54dee8;if(this[_0xfa6ae0(0x1a5)][_0xfa6ae0(0x1e1)](_0x33f3e4))throw new _0x25847a(_0xfa6ae0(0x1eb),null,{'channelId':_0x33f3e4});const _0x8bf5f3=this[_0xfa6ae0(0x1b7)][_0xfa6ae0(0x1ec)][_0xfa6ae0(0x1bc)](_0xfa6ae0(0x1aa)),_0x371391=new a[(_0xfa6ae0(0x1e2))](_0x33f3e4);this[_0xfa6ae0(0x1a5)][_0xfa6ae0(0x1b3)](_0x33f3e4,_0x371391),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x195),(_0x1101f4,_0x49649f)=>{const _0x18b326=_0xfa6ae0,{commentThreadId:_0x1b33ea,documentId:_0x205fe1,context:_0x48ebb3,attributes:_0x17c087,resolvedAt:_0x159d1c,resolvedBy:_0x44396c,comments:_0x30c012}=_0x49649f;_0x8bf5f3[_0x18b326(0x1a2)](_0x1b33ea)||_0x8bf5f3[_0x18b326(0x1b6)]({'threadId':_0x1b33ea,'channelId':_0x205fe1,'comments':_0x30c012?_0x30c012[_0x18b326(0x1da)](nt):[],'context':_0x48ebb3,'attributes':_0x17c087,'resolvedAt':_0x159d1c,'resolvedBy':_0x44396c,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b4),(_0x21971e,{commentThreadId:_0x445281,documentId:_0x472d89,context:_0x27d4c4,unlinkedAt:_0x36e856,attributes:_0x1a0f3c})=>{const _0x3aa187=_0xfa6ae0;_0x8bf5f3[_0x3aa187(0x1a2)](_0x445281)&&_0x8bf5f3[_0x3aa187(0x1d6)]({'threadId':_0x445281,'channelId':_0x472d89,'context':_0x27d4c4,'unlinkedAt':_0x36e856,'attributes':_0x1a0f3c,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x19d),(_0x1bc91f,{commentThreadId:_0x1f0c0f,resolvedBy:_0x34339a,resolvedAt:_0x544a0f})=>{const _0x1fb4a9=_0xfa6ae0,_0x13ad70=_0x8bf5f3[_0x1fb4a9(0x1a2)](_0x1f0c0f);_0x13ad70&&_0x13ad70[_0x1fb4a9(0x197)]({'resolvedBy':_0x34339a,'resolvedAt':_0x544a0f,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b8),(_0x590ff6,{commentThreadId:_0x2a4d6e})=>{const _0x28e606=_0xfa6ae0,_0x5226f4=_0x8bf5f3[_0x28e606(0x1a2)](_0x2a4d6e);_0x5226f4&&_0x5226f4[_0x28e606(0x1cb)]({'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1e3),(_0x5308a8,{commentThreadId:_0x45f78c})=>{const _0x14df13=_0xfa6ae0,_0x1aaf14=_0x8bf5f3[_0x14df13(0x1a2)](_0x45f78c);_0x1aaf14&&_0x1aaf14[_0x14df13(0x1d4)]({'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1c0),(_0x394c2f,_0x2884ee)=>{const _0x46f4f3=_0xfa6ae0,_0x304b23=_0x2884ee[_0x46f4f3(0x1a1)],_0x387ead=_0x8bf5f3[_0x46f4f3(0x1a2)](_0x304b23);_0x387ead&&_0x387ead[_0x46f4f3(0x198)]({...nt(_0x2884ee),'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1af),(_0x1cc1fe,{commentThreadId:_0x89a074,commentId:_0x4cb10a,content:_0x278c5d,attributes:_0x2b13aa})=>{const _0x5aec5b=_0xfa6ae0,_0x182a39=_0x8bf5f3[_0x5aec5b(0x1a2)](_0x89a074);if(_0x182a39){const _0x27bd73=_0x182a39[_0x5aec5b(0x1c4)](_0x4cb10a);_0x27bd73&&_0x27bd73[_0x5aec5b(0x1a3)]({'content':_0x278c5d,'attributes':_0x2b13aa,'isFromAdapter':!0x0});}}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b2),(_0x4c3094,{commentThreadId:_0x8fd9ce,commentId:_0x5d91eb})=>{const _0x57731e=_0xfa6ae0,_0x24e8f3=_0x8bf5f3[_0x57731e(0x1a2)](_0x8fd9ce);if(_0x24e8f3){const _0x4a7ea9=_0x24e8f3[_0x57731e(0x1c4)](_0x5d91eb);_0x4a7ea9&&_0x4a7ea9[_0x57731e(0x1d4)]({'isFromAdapter':!0x0});}}),await this[_0xfa6ae0(0x1b9)](_0x33f3e4);}[_0x54dee8(0x18d)](){const _0x58da63=_0x54dee8;if(this[_0x58da63(0x1b7)]instanceof _0x497b0a){const _0x6b08b1=this[_0x58da63(0x1b7)][_0x58da63(0x1e8)][_0x58da63(0x1bc)](_0x58da63(0x1d7));this[_0x58da63(0x1a8)](_0x6b08b1);}}[_0x54dee8(0x1a8)](_0x358115){const _0x3ee40c=_0x54dee8;if(!this[_0x3ee40c(0x1a5)][_0x3ee40c(0x1e1)](_0x358115))throw new _0x25847a(_0x3ee40c(0x1a9),null,{'channelId':_0x358115});this[_0x3ee40c(0x1ee)](_0x358115)[_0x3ee40c(0x1be)](),this[_0x3ee40c(0x1a5)][_0x3ee40c(0x1b1)](_0x358115);}async[_0x54dee8(0x1cd)](){const _0x5a33db=_0x54dee8;for(const _0x43c920 of this[_0x5a33db(0x1a5)][_0x5a33db(0x194)]())await this[_0x5a33db(0x1b9)](_0x43c920);if(this[_0x5a33db(0x1b7)]instanceof _0x497b0a){const _0x58f260=this[_0x5a33db(0x1b7)][_0x5a33db(0x1e8)][_0x5a33db(0x1bc)](_0x5a33db(0x1d7)),_0x259f05=this[_0x5a33db(0x1b7)][_0x5a33db(0x1ec)][_0x5a33db(0x1bc)](_0x5efab9);_0x259f05[_0x5a33db(0x1e0)](_0x58f260);const _0x23861f=await this[_0x5a33db(0x1a5)][_0x5a33db(0x1bc)](_0x58f260)[_0x5a33db(0x1ad)]();_0x259f05[_0x5a33db(0x1d3)](_0x58f260,_0x23861f);}}async[_0x54dee8(0x1b9)](_0x2d2674){const _0x1d4445=_0x54dee8,{connection:_0x12f056}=this[_0x1d4445(0x1b7)][_0x1d4445(0x1ec)][_0x1d4445(0x1bc)](_0x132b8c),_0x4b67b9=this[_0x1d4445(0x1b7)][_0x1d4445(0x1ec)][_0x1d4445(0x1bc)](_0x1d4445(0x1aa)),_0x161033=this[_0x1d4445(0x1a5)][_0x1d4445(0x1bc)](_0x2d2674),_0x506f3d=await _0x161033[_0x1d4445(0x1cf)](_0x12f056);await this[_0x1d4445(0x1bf)](_0x506f3d);const _0x506816=new Set(Array[_0x1d4445(0x1ce)](_0x4b67b9[_0x1d4445(0x1c5)]({'channelId':_0x2d2674}),_0x1ea4c8=>_0x1ea4c8['id']));for(const _0x57e6df of _0x506f3d)_0x57e6df[_0x1d4445(0x18c)]||_0x506816[_0x1d4445(0x1b1)](_0x57e6df[_0x1d4445(0x1a1)]);for(const _0x2631c8 of _0x506816)_0x4b67b9[_0x1d4445(0x1a2)](_0x2631c8)[_0x1d4445(0x1d4)]({'isFromAdapter':!0x0});for(const _0x5a4c8e of _0x506f3d){let _0x54bff0=_0x4b67b9[_0x1d4445(0x1a2)](_0x5a4c8e[_0x1d4445(0x1a1)]);const {commentThreadId:_0x877ca5,context:_0x25937a,attributes:_0x2230d9,resolvedBy:_0xa25bc2,resolvedAt:_0x5ec0e9,unlinkedAt:_0x35069b,deletedAt:_0x368ee0}=_0x5a4c8e;if(_0x368ee0)continue;_0x54bff0||(_0x54bff0=_0x4b67b9[_0x1d4445(0x1b6)]({'channelId':_0x2d2674,'threadId':_0x877ca5,'context':_0x25937a,'attributes':_0x2230d9||{},'resolvedBy':_0xa25bc2,'resolvedAt':_0x5ec0e9,'unlinkedAt':_0x35069b,'isFromAdapter':!0x0}));const _0x58c4eb=new Set(Array[_0x1d4445(0x1ce)](_0x54bff0[_0x1d4445(0x1e6)],_0x48d5ff=>_0x48d5ff['id']));for(const _0x48c0b4 of _0x5a4c8e[_0x1d4445(0x1e6)])_0x58c4eb[_0x1d4445(0x1b1)](_0x48c0b4[_0x1d4445(0x1ae)]);for(const _0x3f9e16 of _0x58c4eb)_0x54bff0[_0x1d4445(0x1c4)](_0x3f9e16)[_0x1d4445(0x1d4)]({'isFromAdapter':!0x0});for(const _0x831dde of _0x5a4c8e[_0x1d4445(0x1e6)]){const _0x2821ee=_0x54bff0[_0x1d4445(0x1c4)](_0x831dde[_0x1d4445(0x1ae)]);_0x2821ee?_0x2821ee[_0x1d4445(0x1dd)]!==_0x831dde[_0x1d4445(0x1dd)]&&_0x2821ee[_0x1d4445(0x1a3)]({'content':_0x831dde[_0x1d4445(0x1dd)],'isFromAdapter':!0x0}):_0x54bff0[_0x1d4445(0x198)](Object[_0x1d4445(0x1dc)](nt(_0x831dde),{'isFromAdapter':!0x0}));}}}[_0x54dee8(0x1ee)](_0x3ba094){const _0x59a1a9=_0x54dee8;if(!this[_0x59a1a9(0x1a5)][_0x59a1a9(0x1e1)](_0x3ba094))throw new _0x25847a(_0x59a1a9(0x1a7),null,{'channelId':_0x3ba094});return this[_0x59a1a9(0x1a5)][_0x59a1a9(0x1bc)](_0x3ba094);}async[_0x54dee8(0x1bf)](_0x5e38dc){const _0x300da2=_0x54dee8,_0x353cd9=this[_0x300da2(0x1b7)][_0x300da2(0x1ec)][_0x300da2(0x1bc)](_0x30f796),{connection:_0x3e4c73}=this[_0x300da2(0x1b7)][_0x300da2(0x1ec)][_0x300da2(0x1bc)](_0x132b8c),_0x108c3a=new Set();for(const {resolvedBy:_0xccc81b,comments:_0x42e5b0}of _0x5e38dc){_0xccc81b&&!_0x353cd9[_0x300da2(0x19a)](_0xccc81b)&&_0x108c3a[_0x300da2(0x1c7)](_0xccc81b);for(const {userId:_0x13ab3e}of _0x42e5b0)_0x353cd9[_0x300da2(0x19a)](_0x13ab3e)||_0x108c3a[_0x300da2(0x1c7)](_0x13ab3e);}if(0x0===_0x108c3a[_0x300da2(0x188)])return;const _0x4ca8ad=await _0x5eeb4a[_0x300da2(0x1ca)](_0x3e4c73,Array[_0x300da2(0x1ce)](_0x108c3a));for(const _0x5af612 of _0x4ca8ad)_0x353cd9[_0x300da2(0x19a)](_0x5af612['id'])||_0x353cd9[_0x300da2(0x1b5)](_0x5af612);}}a[_0x54dee8(0x1e2)]=_0x29f820;export default a;function _0x2923(_0x239d75,_0x20b051){const _0x464e40=_0x464e();return _0x2923=function(_0x292323,_0x7c1379){_0x292323=_0x292323-0x188;let _0x21e253=_0x464e40[_0x292323];return _0x21e253;},_0x2923(_0x239d75,_0x20b051);}async function et(_0x5115c6){const _0x221897=_0x54dee8;if(_0x221897(0x1c3)!==_0x5115c6[_0x221897(0x192)])throw _0x5115c6;}function ot(_0x110a21){const _0x9f2440=_0x54dee8;if((_0x4df515=_0x110a21)[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x193))||_0x4df515[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x1ed))||_0x4df515[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x1e9)))return new Promise(()=>{});var _0x4df515;throw _0x110a21;}function nt(_0x455604){const _0x20c509=_0x54dee8;return{'threadId':_0x455604[_0x20c509(0x1a1)],'commentId':_0x455604[_0x20c509(0x1ae)],'content':_0x455604[_0x20c509(0x1dd)],'createdAt':_0x455604[_0x20c509(0x1c9)],'authorId':_0x455604[_0x20c509(0x1d1)],'attributes':_0x455604[_0x20c509(0x189)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x291f8c=_0x5539;(function(_0x21f0ac,_0x477ba5){const _0x164943=_0x5539,_0x3686d3=_0x21f0ac();while(!![]){try{const _0x98c9a0=parseInt(_0x164943(0x18c))/0x1*(-parseInt(_0x164943(0x10e))/0x2)+parseInt(_0x164943(0x19e))/0x3+parseInt(_0x164943(0xe3))/0x4*(-parseInt(_0x164943(0xcf))/0x5)+parseInt(_0x164943(0x151))/0x6*(-parseInt(_0x164943(0x192))/0x7)+-parseInt(_0x164943(0xd1))/0x8+parseInt(_0x164943(0x1be))/0x9+parseInt(_0x164943(0x18d))/0xa;if(_0x98c9a0===_0x477ba5)break;else _0x3686d3['push'](_0x3686d3['shift']());}catch(_0x4b36d4){_0x3686d3['push'](_0x3686d3['shift']());}}}(_0x41a1,0xa6e74));import{Plugin as _0x3fec6f,PendingActions as _0x5ea4fa}from'ckeditor5/src/core.js';import{CKEditorError as _0x29c926,version as _0x153d64,uid as _0x225b75}from'ckeditor5/src/utils.js';function _0x5539(_0x3e55bd,_0x1f7951){const _0x41a1cc=_0x41a1();return _0x5539=function(_0x553975,_0x29e46d){_0x553975=_0x553975-0xc1;let _0x539163=_0x41a1cc[_0x553975];return _0x539163;},_0x5539(_0x3e55bd,_0x1f7951);}import{Notification as _0x57b113}from'ckeditor5/src/ui.js';import{transformSets as _0x79e66e,NoOperation as _0x30979b,InsertOperation as _0xcc76f,MarkerOperation as _0x911d8c,RootAttributeOperation as _0x6200fb,OperationFactory as _0x216516,History as _0x43035c}from'ckeditor5/src/engine.js';import _0x452966 from'./websocketgateway.js';import _0x51922d from'./sessions.js';import _0x38e319 from'./usermarkers.js';import{getTranslation as _0xfd2789}from'../common-translations.js';import{Compressor as _0x1578c1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xae4b56}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5db5c8,CollaborativeEditingService as _0x1c2738}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x3fec6f{static get[_0x291f8c(0x1b1)](){return[_0x452966,_0x51922d,_0x38e319,_0x5ea4fa,_0xae4b56,_0x57b113];}static get[_0x291f8c(0x1b8)](){const _0x36f440=_0x291f8c;return _0x36f440(0xde);}static get[_0x291f8c(0x172)](){return!0x0;}static get[_0x291f8c(0xc9)](){return!0x0;}get[_0x291f8c(0x12e)](){const _0x2dae91=_0x291f8c;return this[_0x2dae91(0x181)]+this[_0x2dae91(0x197)];}get[_0x291f8c(0x181)](){const _0x3e085a=_0x291f8c;return this[_0x3e085a(0x167)][_0x3e085a(0x177)]-this[_0x3e085a(0x197)];}get[_0x291f8c(0x1b9)](){const _0x1018de=_0x291f8c,_0x19b0fc=this[_0x1018de(0x167)][_0x1018de(0x1a0)]();for(let _0x3cf8f7=_0x19b0fc[_0x1018de(0x15c)]-0x1;_0x3cf8f7>=0x0;_0x3cf8f7--){const _0x3b82ee=_0x19b0fc[_0x3cf8f7];if(!this[_0x1018de(0x1c5)][_0x1018de(0x1ba)](_0x3b82ee))return _0x3b82ee[_0x1018de(0xc6)]+0x1-this[_0x1018de(0x197)];}return 0x0;}constructor(_0x36e18e){const _0x48be40=_0x291f8c;if(super(_0x36e18e),this[_0x48be40(0x197)]=0x0,this[_0x48be40(0xf1)]=null,this[_0x48be40(0x167)]=new _0x43035c(),this[_0x48be40(0x13a)][_0x48be40(0x18a)][_0x48be40(0x159)](_0x48be40(0x19d),{}),this[_0x48be40(0x14c)]=this[_0x48be40(0x13a)][_0x48be40(0x18a)][_0x48be40(0x176)](_0x48be40(0x1c6)),!this[_0x48be40(0x14c)])throw new _0x29c926(_0x48be40(0x17c),this);const _0x163825=_0x36e18e[_0x48be40(0x18a)][_0x48be40(0x176)](_0x48be40(0x16d))||_0x153d64;this[_0x48be40(0xcd)]=new l[(_0x48be40(0x12a))](_0x163825,this[_0x48be40(0x14c)]),this[_0x48be40(0xe7)]=this[_0x48be40(0x13a)][_0x48be40(0x183)][_0x48be40(0xc2)],this[_0x48be40(0x158)]=new _0x1578c1(),this[_0x48be40(0xd7)]=[],this[_0x48be40(0x18e)]=new WeakSet(),this[_0x48be40(0x121)]=new Set(),this[_0x48be40(0x170)](_0x48be40(0x12d),!0x1),this[_0x48be40(0x170)](_0x48be40(0x132),!0x1),this[_0x48be40(0x117)]=null,this[_0x48be40(0xf5)]=!0x1,this[_0x48be40(0x198)]=null,this[_0x48be40(0x135)]=0x12c,this[_0x48be40(0x16a)]=this[_0x48be40(0x135)],this[_0x48be40(0xdd)]=null,this[_0x48be40(0x1c5)]=new WeakSet(),this[_0x48be40(0x102)]=new X(this[_0x48be40(0x1c5)]);}[_0x291f8c(0x105)](){const _0x4d6842=_0x291f8c,_0x21618c=this[_0x4d6842(0x13a)],_0x11dc27=_0x21618c[_0x4d6842(0xd4)][_0x4d6842(0x176)](_0xae4b56),_0x3985e9=_0x21618c[_0x4d6842(0xd4)][_0x4d6842(0x176)](_0x452966);this[_0x4d6842(0xd5)](_0x11dc27,_0x4d6842(0x139),(_0x17a6c6,_0x579674)=>{const _0x550ce7=_0x4d6842,_0x583473=_0x579674[0x0];_0x583473[_0x550ce7(0x155)]&&(_0x17a6c6[_0x550ce7(0x15e)]=_0x11dc27[_0x550ce7(0x163)](_0x583473[_0x550ce7(0x155)]),_0x17a6c6[_0x550ce7(0x14e)]()),null===_0x583473[_0x550ce7(0x155)]&&(_0x17a6c6[_0x550ce7(0x15e)]=null,_0x17a6c6[_0x550ce7(0x14e)]());},{'priority':_0x4d6842(0x1af)}),this[_0x4d6842(0xd5)](_0x21618c[_0x4d6842(0x183)][_0x4d6842(0xc2)][_0x4d6842(0x19b)],_0x4d6842(0x1c1),(_0x14362b,_0x116abc)=>{const _0x59a658=_0x4d6842;_0x116abc[_0x59a658(0x15f)]&&this[_0x59a658(0x14f)]();}),this[_0x4d6842(0xd5)](_0x21618c[_0x4d6842(0x17a)][_0x4d6842(0xe4)],_0x4d6842(0x1a3),()=>{const _0x1472ef=_0x4d6842;this[_0x1472ef(0x14f)]();}),this[_0x4d6842(0x145)](),_0x21618c[_0x4d6842(0x183)]['on'](_0x4d6842(0x191),(_0x3a8417,_0x7f8464)=>{const _0x5a6db5=_0x4d6842,_0x9ac666=_0x7f8464[0x0];_0x9ac666[_0x5a6db5(0x1a6)]&&(this[_0x5a6db5(0xec)](_0x9ac666),this[_0x5a6db5(0x161)]()&&this[_0x5a6db5(0x12f)]());}),this[_0x4d6842(0x130)](),this[_0x4d6842(0xf9)](_0x4d6842(0x186))['to'](_0x3985e9,_0x4d6842(0x11f),this,_0x4d6842(0x132),(_0x392127,_0x5e3e73)=>_0x4d6842(0x1ab)===_0x392127&&!_0x5e3e73),this['on'](_0x4d6842(0x126),()=>{const _0x1ce949=_0x4d6842;this[_0x1ce949(0x186)]?_0x21618c[_0x1ce949(0x11e)](_0x1ce949(0x108)):_0x21618c[_0x1ce949(0x109)](_0x1ce949(0x108));}),this[_0x4d6842(0x186)]?_0x21618c[_0x4d6842(0x11e)](_0x4d6842(0x108)):_0x21618c[_0x4d6842(0x109)](_0x4d6842(0x108)),this[_0x4d6842(0x170)](_0x4d6842(0x1b4),!0x1);}async[_0x291f8c(0xe8)](){const _0x44147d=_0x291f8c,_0x565914=this[_0x44147d(0x13a)][_0x44147d(0xd4)][_0x44147d(0x176)](_0x51922d),_0x3ff6cd=this[_0x44147d(0x13a)][_0x44147d(0xd4)][_0x44147d(0x176)](_0x452966);try{this[_0x44147d(0x12d)]=!0x0,_0x565914[_0x44147d(0xe6)](this[_0x44147d(0x14c)]);const _0x5926b1=await this[_0x44147d(0xcd)][_0x44147d(0xe8)](_0x3ff6cd[_0x44147d(0x165)],this[_0x44147d(0x1b9)]);await this[_0x44147d(0x162)](_0x5926b1)&&(this[_0x44147d(0x12d)]=!0x1,this[_0x44147d(0x13e)]());const _0x258f50=await this[_0x44147d(0xcd)][_0x44147d(0x16c)]();_0x565914[_0x44147d(0x15a)](this[_0x44147d(0x14c)],_0x258f50),this[_0x44147d(0xe1)](),this[_0x44147d(0x1b4)]=!0x0;}catch(_0xd766c1){if(function(_0x341b90){const _0x117099=_0x44147d;return _0x117099(0xc5)===_0x341b90[_0x117099(0x143)];}(_0xd766c1)&&this[_0x44147d(0xf1)])await this[_0x44147d(0xe5)]();else{if(function(_0x2acb15){const _0x4415cc=_0x44147d;return _0x4415cc(0x133)===_0x2acb15[_0x4415cc(0x143)];}(_0xd766c1)){const _0x1e701e=_0xfd2789(this[_0x44147d(0x13a)][_0x44147d(0xfd)],_0x44147d(0x144));this[_0x44147d(0xf0)](_0x1e701e);}else{if(!(_0xd766c1 instanceof J))throw _0xd766c1;this[_0x44147d(0xf0)]();}}}}[_0x291f8c(0x17e)](){const _0x579028=_0x291f8c,_0x2f9f2f=this[_0x579028(0x13a)][_0x579028(0xd4)][_0x579028(0x176)](_0x452966),_0x4e9fd7=this[_0x579028(0x13a)][_0x579028(0xd4)][_0x579028(0x176)](_0x51922d);this[_0x579028(0x13a)][_0x579028(0x109)](_0x579028(0x10c)),_0x4e9fd7[_0x579028(0x1c4)][_0x579028(0x1ba)](this[_0x579028(0x14c)])&&_0x4e9fd7[_0x579028(0xe6)](this[_0x579028(0x14c)]),_0x2f9f2f[_0x579028(0x10f)](this),this[_0x579028(0x17b)](),super[_0x579028(0x17e)]();}async[_0x291f8c(0x162)](_0xdc83f4){const _0x1eb140=_0x291f8c;if(this[_0x1eb140(0xf1)]!==_0xdc83f4[_0x1eb140(0xf1)]&&this[_0x1eb140(0xdd)]!==_0xdc83f4[_0x1eb140(0xcc)])throw new J();return this[_0x1eb140(0xf1)]=_0xdc83f4[_0x1eb140(0xf1)],this[_0x1eb140(0x19f)]([],{..._0xdc83f4,'wereChangesApplied':!0x1,'data':_0xdc83f4[_0x1eb140(0x178)]},_0x1eb140(0xe8));}async[_0x291f8c(0x142)](_0x11b8cd,_0x5470b5=!0x1){const _0x47bd2d=_0x291f8c,{connection:_0x4bf196}=this[_0x47bd2d(0x13a)][_0x47bd2d(0xd4)][_0x47bd2d(0x176)](_0x452966);l[_0x47bd2d(0x12a)][_0x47bd2d(0x16c)](_0x4bf196,this[_0x47bd2d(0x14c)])[_0x47bd2d(0x150)](_0x2b6122=>this[_0x47bd2d(0x168)](_0x2b6122))[_0x47bd2d(0x190)](_0x2c48c1=>{const _0x4cb94a=_0x47bd2d;this[_0x4cb94a(0xfb)](_0x4cb94a(0x1b5),_0x2c48c1);}),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x182),this[_0x47bd2d(0x129)][_0x47bd2d(0xf9)](this)),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x152),(_0x31dc5f,_0x423410)=>{const _0x1c6bb9=_0x47bd2d;this[_0x1c6bb9(0xfb)](_0x1c6bb9(0x16b),_0x423410);}),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x128),()=>{const _0xf79316=_0x47bd2d;this[_0xf79316(0x1b4)]=!0x1;});const _0x23c8ff=this[_0x47bd2d(0x102)][_0x47bd2d(0x171)](_0x11b8cd);this[_0x47bd2d(0x12d)]=!0x0;const _0x89b198=await this[_0x47bd2d(0xcd)][_0x47bd2d(0x137)](_0x4bf196,this[_0x47bd2d(0xe2)](_0x11b8cd),_0x23c8ff);if(this[_0x47bd2d(0xf1)]=_0x89b198[_0x47bd2d(0xf1)],_0x5470b5){if(!_0x89b198[_0x47bd2d(0x173)])return void this[_0x47bd2d(0xf0)]();this[_0x47bd2d(0x12d)]=!0x1,this[_0x47bd2d(0x13e)](),this[_0x47bd2d(0x167)][_0x47bd2d(0x1b7)](),this[_0x47bd2d(0x197)]=_0x89b198[_0x47bd2d(0xef)],this[_0x47bd2d(0x167)][_0x47bd2d(0x177)]=this[_0x47bd2d(0x197)],await this[_0x47bd2d(0x19f)](_0x11b8cd,_0x89b198,_0x47bd2d(0xdb));}else await this[_0x47bd2d(0x19a)](_0x89b198,_0x11b8cd);this[_0x47bd2d(0xe1)](),this[_0x47bd2d(0x1b4)]=!0x0;}[_0x291f8c(0xe1)](){const _0x48bfbc=_0x291f8c,_0x5007bc=this[_0x48bfbc(0x13a)][_0x48bfbc(0xd4)][_0x48bfbc(0x176)](_0x51922d),_0x349d90=this[_0x48bfbc(0x13a)][_0x48bfbc(0xd4)][_0x48bfbc(0x176)](_0x38e319),_0x51a5ac=_0x5007bc[_0x48bfbc(0x1c4)][_0x48bfbc(0x176)](this[_0x48bfbc(0x14c)]);_0x51a5ac&&_0x51a5ac[_0x48bfbc(0x15c)]>0x1?_0x349d90[_0x48bfbc(0x131)]():this[_0x48bfbc(0xd5)](_0x5007bc,_0x48bfbc(0x1ae)+this[_0x48bfbc(0x14c)],()=>{const _0x1a3ebc=_0x48bfbc;0x2===_0x5007bc[_0x1a3ebc(0x1c4)][_0x1a3ebc(0x176)](this[_0x1a3ebc(0x14c)])[_0x1a3ebc(0x15c)]&&_0x349d90[_0x1a3ebc(0x131)]();});}async[_0x291f8c(0x129)](_0x2434f6,_0x2b9901,_0x5a05b5,_0x1bb6ee){const _0x3b6bac=_0x291f8c;if(!this[_0x3b6bac(0x12d)]&&this[_0x3b6bac(0xe7)][_0x3b6bac(0x177)]==_0x2b9901){const _0x1528a5=this[_0x3b6bac(0x1a4)](_0x5a05b5,_0x1bb6ee);await this[_0x3b6bac(0x116)](_0x1528a5),this[_0x3b6bac(0xff)](_0x1528a5,_0x2b9901,_0x5a05b5[_0x3b6bac(0xcc)])||this[_0x3b6bac(0xfb)](_0x3b6bac(0xfc));}}async[_0x291f8c(0xe5)](){const _0x52d08a=_0x291f8c;this[_0x52d08a(0x17b)]();const {locale:_0x4d0044}=this[_0x52d08a(0x13a)];let _0x209601;try{_0x209601=await this[_0x52d08a(0xcd)][_0x52d08a(0x13f)]();}catch(_0xeda205){const _0x446094=_0xfd2789(_0x4d0044,_0x52d08a(0x164));return void this[_0x52d08a(0xf0)](_0x446094);}const _0xb068a9=_0x209601[_0x52d08a(0x13d)]||_0x209601[_0x52d08a(0xfe)];if(this[_0x52d08a(0xdd)]===_0xb068a9[_0x52d08a(0xcc)])await this[_0x52d08a(0x142)](this[_0x52d08a(0x13a)][_0x52d08a(0x183)][_0x52d08a(0xc2)][_0x52d08a(0xd3)][_0x52d08a(0x1a0)](),!0x0);else{const _0x4c2161=_0xfd2789(_0x4d0044,_0x52d08a(0xc4));this[_0x52d08a(0xf0)](_0x4c2161);}}[_0x291f8c(0x17b)](){const _0x494f08=_0x291f8c;this[_0x494f08(0xcd)][_0x494f08(0x1bf)](),this[_0x494f08(0xd7)]=[],clearTimeout(this[_0x494f08(0x198)]),this[_0x494f08(0x18f)](this[_0x494f08(0xcd)]);}[_0x291f8c(0x168)](_0x41e629){const _0x56804d=_0x291f8c,_0x4085f9=this[_0x56804d(0x13a)][_0x56804d(0xd4)][_0x56804d(0x176)](_0x51922d);this[_0x56804d(0xd5)](_0x4085f9,_0x56804d(0x1ae)+this[_0x56804d(0x14c)],(_0x285613,{session:_0x1cbde9})=>{const _0x11c205=_0x56804d;if(_0x1cbde9['id']===_0x4085f9[_0x11c205(0x169)]){_0x285613[_0x11c205(0x106)]();const _0xf437af=this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x1ba)](_0x11c205(0x140))&&this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x176)](_0x11c205(0x140));let _0x14419f=_0x1cbde9[_0x11c205(0x1a1)];_0xf437af&&_0xf437af[_0x11c205(0x19c)]&&(_0x14419f=_0x14419f[_0x11c205(0x146)](_0x5b41ba=>_0x11c205(0xd0)!==_0x5b41ba)),this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x176)](_0x11c205(0xd8))[_0x11c205(0x160)](_0x14419f,this[_0x11c205(0x14c)]);}}),_0x4085f9[_0x56804d(0x15a)](this[_0x56804d(0x14c)],_0x41e629);}[_0x291f8c(0x145)](){const _0x20d859=_0x291f8c,_0x3092a7=this[_0x20d859(0x13a)][_0x20d859(0x178)][_0x20d859(0x170)];this[_0x20d859(0x13a)][_0x20d859(0x178)][_0x20d859(0x170)]=(..._0x290e18)=>{const _0xfff904=_0x20d859;if(!_0x290e18[_0x290e18[_0xfff904(0x15c)]-0x1][_0xfff904(0x157)])throw new _0x29c926(_0xfff904(0x124),this);_0x3092a7[_0xfff904(0x18b)](this[_0xfff904(0x13a)][_0xfff904(0x178)],_0x290e18);};}[_0x291f8c(0x130)](){const _0x335b40=_0x291f8c;this[_0x335b40(0x13a)][_0x335b40(0x178)]['on'](_0x335b40(0x105),(_0x33859d,[_0x1aef77])=>{const _0xf460bc=_0x335b40;if(this[_0xf460bc(0xe7)][_0xf460bc(0x177)])throw new _0x29c926(_0xf460bc(0xeb),this);_0x33859d[_0xf460bc(0x14e)](),this[_0xf460bc(0x11d)]();const _0x3da549=this[_0xf460bc(0x13a)][_0xf460bc(0x18a)][_0xf460bc(0x176)](_0xf460bc(0x11c)),_0x482a54=this[_0xf460bc(0xc3)](_0x1aef77,_0x3da549);0x0==_0x482a54[_0xf460bc(0x15c)]&&_0x482a54[_0xf460bc(0x147)](new _0x30979b(0x0)),_0x33859d[_0xf460bc(0x15e)]=this[_0xf460bc(0x142)](_0x482a54)[_0xf460bc(0x150)](()=>{const _0x41027a=_0xf460bc;this[_0x41027a(0x13a)][_0x41027a(0xd4)][_0x41027a(0x176)](_0x452966)[_0x41027a(0xdc)](this),this[_0x41027a(0x13a)][_0x41027a(0x178)][_0x41027a(0x17f)](_0x41027a(0xce));})[_0xf460bc(0x190)](_0x50bcd1=>this[_0xf460bc(0xfb)](_0xf460bc(0x1a2),_0x50bcd1))[_0xf460bc(0x107)](()=>this[_0xf460bc(0x13e)]());},{'priority':_0x335b40(0x1af)}),this[_0x335b40(0x13a)]['on'](_0x335b40(0x1c3),async(_0x3e9a45,[_0xe2bc4b,_0x250dfb])=>{const _0x3e2cca=_0x335b40;_0x3e9a45[_0x3e2cca(0x14e)]();const _0x7e57c0=this[_0x3e2cca(0x13a)][_0x3e2cca(0x183)][_0x3e2cca(0xc2)][_0x3e2cca(0x15b)](_0xe2bc4b);if(!this[_0x3e2cca(0x121)][_0x3e2cca(0x1ba)](_0xe2bc4b)){const _0x3a342b=_0x250dfb&&_0x250dfb[_0x3e2cca(0x178)]?_0x250dfb[_0x3e2cca(0x178)]:'',_0x71f7a6=_0x250dfb&&_0x250dfb[_0x3e2cca(0xc8)]?_0x250dfb[_0x3e2cca(0xc8)]:{};await this[_0x3e2cca(0x1ad)](_0xe2bc4b,_0x3a342b,_0x71f7a6);}this[_0x3e2cca(0x13a)][_0x3e2cca(0x183)][_0x3e2cca(0xe0)]({'isUndoable':!0x1},()=>{const _0x2e0cac=_0x3e2cca;_0x7e57c0[_0x2e0cac(0x1b0)]=!0x0,this[_0x2e0cac(0x13a)][_0x2e0cac(0x183)][_0x2e0cac(0xc2)][_0x2e0cac(0x115)][_0x2e0cac(0x120)](_0x7e57c0);});},{'priority':_0x335b40(0x1af)});}async[_0x291f8c(0x116)](_0x5c6f4b){const _0x337bed=_0x291f8c,_0x1bf317=this[_0x337bed(0x13a)][_0x337bed(0xd4)][_0x337bed(0x176)](_0xae4b56),{connection:_0x5639b0}=this[_0x337bed(0x13a)][_0x337bed(0xd4)][_0x337bed(0x176)](_0x452966),_0x201638=new Set();for(const _0x48c2be of _0x5c6f4b){const _0x36e201=_0x48c2be[_0x337bed(0x155)];_0x36e201&&!_0x1bf317[_0x337bed(0x163)](_0x36e201)&&_0x201638[_0x337bed(0x136)](_0x36e201);}if(0x0===_0x201638[_0x337bed(0x114)])return;const _0x3f84f5=await _0x5db5c8[_0x337bed(0x127)](_0x5639b0,Array[_0x337bed(0x104)](_0x201638));for(const _0x191dce of _0x3f84f5)_0x1bf317[_0x337bed(0x163)](_0x191dce['id'])||_0x1bf317[_0x337bed(0x1a5)](_0x191dce);}[_0x291f8c(0xc3)](_0x45c88c,_0x7a2046={}){const _0x304727=_0x291f8c,_0x221dd1=this[_0x304727(0x13a)][_0x304727(0x183)],_0xb45533=[];let _0x34571f=0x0;const _0x5911f3=_0x304727(0x11a)==typeof _0x45c88c?{'main':_0x45c88c}:_0x45c88c;for(const _0x57fb51 of Object[_0x304727(0x1c0)](_0x5911f3)){if(!this[_0x304727(0xe7)][_0x304727(0xc7)][_0x304727(0x1ba)](_0x57fb51))throw new _0x29c926(_0x304727(0x113),this);const _0x172087=this[_0x304727(0x13a)][_0x304727(0x178)][_0x304727(0x1bb)](_0x5911f3[_0x57fb51]),_0x12ff29=this[_0x304727(0xe7)][_0x304727(0x15b)](_0x57fb51),_0x5bc925=new _0xcc76f(_0x221dd1[_0x304727(0xda)](_0x12ff29,0x0),_0x172087,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x5bc925);for(const [_0xd77b7c,_0x496f6c]of _0x172087[_0x304727(0x16e)]){const _0x40c004=_0x221dd1[_0x304727(0x100)](_0x221dd1[_0x304727(0x103)](_0x12ff29,_0x496f6c[_0x304727(0x1a9)][_0x304727(0xea)][_0x304727(0x17d)]()),_0x221dd1[_0x304727(0x103)](_0x12ff29,_0x496f6c[_0x304727(0x195)][_0x304727(0xea)][_0x304727(0x17d)]())),_0x2eab10=new _0x911d8c(_0xd77b7c,null,_0x40c004,_0x221dd1[_0x304727(0x16e)],!0x0,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x2eab10);}}if(_0x7a2046)for(const [_0x37738e,_0x39347e]of Object[_0x304727(0xdf)](_0x7a2046)){const _0x5d674f=_0x221dd1[_0x304727(0xc2)][_0x304727(0x15b)](_0x37738e);if(!_0x5d674f)throw new _0x29c926(_0x304727(0x188),null);for(const [_0x32a881,_0x20754f]of Object[_0x304727(0xdf)](_0x39347e))if(null!==_0x20754f){const _0x293001=new _0x6200fb(_0x5d674f,_0x32a881,null,_0x20754f,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x293001);}}return _0xb45533;}async[_0x291f8c(0x1ad)](_0x5e5ae3,_0x2cea94,_0x19424a){const _0x4f5e59=_0x291f8c;this[_0x4f5e59(0xc3)]({[_0x5e5ae3]:_0x2cea94},{[_0x5e5ae3]:_0x19424a})[_0x4f5e59(0x12c)]((_0x10b9d9,_0x3ab334)=>{const _0x21742f=_0x4f5e59;_0x10b9d9[_0x21742f(0xc6)]=this[_0x21742f(0xe7)][_0x21742f(0x177)]+_0x3ab334,_0x10b9d9[_0x21742f(0xca)]=!0x0,this[_0x21742f(0xec)](_0x10b9d9);}),this[_0x4f5e59(0x12f)](),await this[_0x4f5e59(0x1aa)]();}async[_0x291f8c(0x19a)](_0xb05355,_0x29bc7d){const _0x532190=_0x291f8c;let _0x1caa97;this[_0x532190(0x197)]=_0xb05355[_0x532190(0xef)];const _0x445b2d=_0xb05355[_0x532190(0x173)]&&!_0xb05355[_0x532190(0x16f)],_0x22468c=_0x445b2d?0x0:_0xb05355[_0x532190(0x178)][_0x532190(0xc6)];if(_0x29bc7d[_0x532190(0x12c)](_0x255b4a=>{const _0x401649=_0x532190;_0x255b4a[_0x401649(0xca)]=!0x0,_0x255b4a[_0x401649(0xcb)]=_0xb05355[_0x401649(0x10d)],_0x255b4a[_0x401649(0x155)]=null;}),_0x445b2d)_0x1caa97=_0x29bc7d,this[_0x532190(0xf7)](_0x1caa97,_0x445b2d);else{if(_0xb05355[_0x532190(0x16f)]){const _0x446ae5=this[_0x532190(0xc3)](_0xb05355[_0x532190(0x16f)]);this[_0x532190(0xe7)][_0x532190(0xd3)][_0x532190(0x177)]=-_0x446ae5[_0x532190(0x15c)],_0x446ae5[_0x532190(0x12c)](_0x1b590a=>{const _0x154a6d=_0x532190;_0x1b590a[_0x154a6d(0xc6)]-=_0x446ae5[_0x154a6d(0x15c)],_0x1b590a[_0x154a6d(0xcb)]=_0xb05355[_0x154a6d(0x10d)],_0x1b590a[_0x154a6d(0xca)]=!0x0,_0x1b590a[_0x154a6d(0x155)]=null;}),this[_0x532190(0xf7)](_0x446ae5,!0x0),this[_0x532190(0x167)][_0x532190(0x177)]=-_0x446ae5[_0x532190(0x15c)]+this[_0x532190(0x197)],this[_0x532190(0xf6)](_0x446ae5);}this[_0x532190(0xe7)][_0x532190(0xd3)][_0x532190(0x177)]=_0x22468c,_0x1caa97=this[_0x532190(0x1a4)](_0xb05355[_0x532190(0x178)],_0xb05355[_0x532190(0x1bd)]),await this[_0x532190(0x116)](_0x1caa97),this[_0x532190(0xf7)](_0x1caa97,_0x445b2d);}_0xb05355[_0x532190(0xcc)]&&(this[_0x532190(0x102)][_0x532190(0xc1)](_0x1caa97,_0xb05355[_0x532190(0xcc)]),this[_0x532190(0xdd)]=_0xb05355[_0x532190(0xcc)]),this[_0x532190(0x167)][_0x532190(0x177)]=_0x22468c+this[_0x532190(0x197)],this[_0x532190(0xf6)](_0x1caa97),_0x29bc7d[_0x532190(0x146)](_0x41e9ec=>{const _0x592adb=_0x532190,_0x293066=this[_0x592adb(0x119)](_0x41e9ec);return _0x293066&&!this[_0x592adb(0x121)][_0x592adb(0x1ba)](_0x293066);})[_0x532190(0x12c)]((_0x255bde,_0x306860)=>{const _0x348a16=_0x532190;_0x255bde[_0x348a16(0xc6)]=this[_0x348a16(0xe7)][_0x348a16(0x177)]+_0x306860,this[_0x348a16(0xec)](_0x255bde);}),this[_0x532190(0x161)]()?(this[_0x532190(0x16a)]=0x0,this[_0x532190(0x12f)](!0x0),await this[_0x532190(0x1aa)]()):(this[_0x532190(0x12d)]=!0x1,this[_0x532190(0x13e)]());}[_0x291f8c(0xfb)](_0x21b2df,_0x4adb30){const _0x20e7eb=_0x291f8c,_0x2d72fe=_0x4adb30&&_0x4adb30[_0x20e7eb(0x149)];if(_0x2d72fe&&_0x2d72fe[_0x20e7eb(0x111)](_0x20e7eb(0x134)))throw _0x4adb30;const _0x2b961e=this[_0x20e7eb(0x13a)][_0x20e7eb(0xd4)][_0x20e7eb(0x176)](_0x452966);throw this[_0x20e7eb(0x12d)]=!0x0,_0x2b961e[_0x20e7eb(0x1bf)](),this[_0x20e7eb(0x13a)][_0x20e7eb(0x109)](_0x20e7eb(0x138)),new _0x29c926(_0x21b2df,this[_0x20e7eb(0x13a)],_0x2d72fe?{'originalError':_0x2d72fe}:void 0x0);}[_0x291f8c(0xec)](_0x82def0){const _0x405b15=_0x291f8c;this[_0x405b15(0x18e)][_0x405b15(0x1ba)](_0x82def0)||(this[_0x405b15(0x18e)][_0x405b15(0x136)](_0x82def0),this[_0x405b15(0xd7)][_0x405b15(0x147)](_0x82def0),this[_0x405b15(0x117)]||_0x405b15(0x10a)==_0x82def0[_0x405b15(0x1a8)]&&!_0x82def0[_0x405b15(0x154)]||this[_0x405b15(0x11d)]());}[_0x291f8c(0x12f)](_0x299a7b=!0x1){const _0x32e1f5=_0x291f8c;!_0x299a7b&&this[_0x32e1f5(0x12d)]||(this[_0x32e1f5(0x12d)]=!0x0,clearTimeout(this[_0x32e1f5(0x198)]),this[_0x32e1f5(0x198)]=setTimeout(()=>{const _0x4f2ac6=_0x32e1f5;this[_0x4f2ac6(0xd9)]()[_0x4f2ac6(0x150)](_0x701b66=>{const _0x1d5b88=_0x4f2ac6;_0x701b66&&(this[_0x1d5b88(0x13e)](),this[_0x1d5b88(0x12d)]=!0x1);})[_0x4f2ac6(0x190)](_0x20b1c1=>{const _0x31ccc8=_0x4f2ac6;this[_0x31ccc8(0x13e)](),this[_0x31ccc8(0x12d)]=!0x1,function(_0x3d916f){const _0x4858ef=_0x31ccc8;return _0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0xed))||_0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0xd6))||_0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0x123));}(_0x20b1c1)||this[_0x31ccc8(0xfb)](_0x20b1c1[_0x31ccc8(0x149)],_0x20b1c1);});},this[_0x32e1f5(0x16a)]));}[_0x291f8c(0x1aa)](){return new Promise(_0x88a9bd=>{const _0x44eb1f=_0x5539;this['on'](_0x44eb1f(0xee),()=>{_0x88a9bd();});});}async[_0x291f8c(0xd9)](){const _0x496d59=_0x291f8c,_0x387f4e=this[_0x496d59(0x13a)][_0x496d59(0xd4)][_0x496d59(0x176)](_0x38e319);if(this[_0x496d59(0x174)]()&&(_0x387f4e[_0x496d59(0x131)](),this[_0x496d59(0xf5)]=!0x1),!this[_0x496d59(0x161)]())return!0x0;const _0x40f8a8=[...this[_0x496d59(0xd7)]];for(const _0x5143ef of _0x40f8a8)_0x5143ef[_0x496d59(0x1b2)]=this[_0x496d59(0xe7)][_0x496d59(0xd3)][_0x496d59(0x199)](_0x5143ef);const _0x28e79e=this[_0x496d59(0x102)][_0x496d59(0x171)](_0x40f8a8),_0x430c9d=K++,_0x192181=this[_0x496d59(0xe2)](_0x40f8a8),_0x1addd7=await this[_0x496d59(0xcd)][_0x496d59(0xd2)](_0x192181,_0x192181[_0x496d59(0xc6)],_0x28e79e);try{return await this[_0x496d59(0x19f)](_0x40f8a8,_0x1addd7,_0x430c9d);}catch(_0x32bcf5){return this[_0x496d59(0xfb)](_0x496d59(0x13c),_0x32bcf5);}}async[_0x291f8c(0x19f)](_0x32eb7f,_0x5dda43,_0x3f75e2){const _0x2db1d1=_0x291f8c;if(_0x2db1d1(0x152)in _0x5dda43)throw _0x5dda43[_0x2db1d1(0x152)];let _0x37fd73=!0x1;if(_0x5dda43[_0x2db1d1(0x173)]){_0x5dda43[_0x2db1d1(0xcc)]&&(this[_0x2db1d1(0xdd)]=_0x5dda43[_0x2db1d1(0xcc)]),this[_0x2db1d1(0xd7)]=this[_0x2db1d1(0xd7)][_0x2db1d1(0x146)](_0x2fb26e=>!_0x32eb7f[_0x2db1d1(0x14b)](_0x2fb26e));for(const _0x2a215b of _0x32eb7f)_0x2a215b[_0x2db1d1(0xcb)]=_0x2db1d1(0x175)in _0x5dda43&&_0x5dda43[_0x2db1d1(0x175)]||void 0x0;Q(_0x32eb7f,_0x5dda43[_0x2db1d1(0x177)]-_0x32eb7f[_0x2db1d1(0x15c)]),this[_0x2db1d1(0xf6)](_0x32eb7f);const _0x395646=_0x32eb7f[_0x2db1d1(0x146)](_0x1730e7=>{const _0x128330=_0x2db1d1;if(!_0x1730e7[_0x128330(0xca)])return!0x1;const _0x490d8d=this[_0x128330(0x119)](_0x1730e7);return _0x490d8d&&!this[_0x128330(0x121)][_0x128330(0x1ba)](_0x490d8d);});Q(_0x395646,this[_0x2db1d1(0xe7)][_0x2db1d1(0x177)]),this[_0x2db1d1(0xf7)](_0x395646),_0x37fd73=!0x0,this[_0x2db1d1(0x16a)]=this[_0x2db1d1(0x135)];}else{const _0x1e5b3d=this[_0x2db1d1(0x1a4)](_0x5dda43[_0x2db1d1(0x178)],_0x5dda43[_0x2db1d1(0x1bd)])[_0x2db1d1(0x146)](_0x2ab276=>_0x2ab276[_0x2db1d1(0xc6)]>=this[_0x2db1d1(0x181)]);_0x1e5b3d[_0x2db1d1(0x12c)](_0x51ab8c=>this[_0x2db1d1(0x1c2)](_0x51ab8c)),this[_0x2db1d1(0xd7)]=this[_0x2db1d1(0xd7)][_0x2db1d1(0x146)](_0x5cd484=>!_0x5cd484[_0x2db1d1(0xca)]||!this[_0x2db1d1(0x121)][_0x2db1d1(0x1ba)](this[_0x2db1d1(0x119)](_0x5cd484))),this[_0x2db1d1(0xd7)][_0x2db1d1(0x15c)]&&Q(this[_0x2db1d1(0xd7)],this[_0x2db1d1(0xd7)][0x0][_0x2db1d1(0xc6)]),await this[_0x2db1d1(0x116)](_0x1e5b3d),_0x37fd73=this[_0x2db1d1(0xff)](_0x1e5b3d,_0x5dda43[_0x2db1d1(0x177)],_0x5dda43[_0x2db1d1(0xcc)]),this[_0x2db1d1(0x16a)]=Math[_0x2db1d1(0x153)](this[_0x2db1d1(0x16a)]/0x2);}return _0x37fd73?!this[_0x2db1d1(0x161)]()||(this[_0x2db1d1(0x12f)](!0x0),!0x1):this[_0x2db1d1(0xfb)](_0x2db1d1(0xf3));}[_0x291f8c(0xff)](_0x29fd70,_0x2fd8db,_0x3c7940){const _0x1d9b35=_0x291f8c;try{const _0x478edf={'document':this[_0x1d9b35(0xe7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd1159e,operationsB:_0x4b052f,originalOperations:_0x180568}=_0x79e66e(_0x29fd70,this[_0x1d9b35(0xd7)],_0x478edf);Q(_0xd1159e,this[_0x1d9b35(0xe7)][_0x1d9b35(0x177)]),Q(_0x4b052f,_0x2fd8db);for(const _0x54b260 of _0xd1159e){const _0xf6cc17=_0x180568[_0x1d9b35(0x176)](_0x54b260);_0x54b260[_0x1d9b35(0x155)]=_0xf6cc17?_0xf6cc17[_0x1d9b35(0x155)]:null;}_0x3c7940&&(this[_0x1d9b35(0x102)][_0x1d9b35(0xc1)](_0x29fd70,_0x3c7940),this[_0x1d9b35(0xdd)]=_0x3c7940),this[_0x1d9b35(0xd7)]=[..._0x4b052f],this[_0x1d9b35(0xf7)](_0xd1159e),this[_0x1d9b35(0xf6)](_0x29fd70);}catch(_0x3bf93d){return console[_0x1d9b35(0x152)](_0x3bf93d),!0x1;}return!0x0;}[_0x291f8c(0xf7)](_0x24eb4e,_0x46a124=!0x1){const _0x3aa8d3=_0x291f8c;this[_0x3aa8d3(0x13a)][_0x3aa8d3(0x183)][_0x3aa8d3(0xe0)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3c99d0=>{const _0x2387b5=_0x3aa8d3;for(const _0x46780e of _0x24eb4e)this[_0x2387b5(0x18e)][_0x2387b5(0x136)](_0x46780e),this[_0x2387b5(0x1c2)](_0x46780e),_0x3c99d0[_0x2387b5(0x194)][_0x2387b5(0x122)](_0x46780e),this[_0x2387b5(0x13a)][_0x2387b5(0x183)][_0x2387b5(0x191)](_0x46780e);});}[_0x291f8c(0x1c2)](_0x2f69aa){const _0x4d31e9=_0x291f8c,_0x4fa642=this[_0x4d31e9(0x119)](_0x2f69aa);_0x4fa642&&this[_0x4d31e9(0x121)][_0x4d31e9(0x136)](_0x4fa642);}[_0x291f8c(0x119)](_0xa61158){const _0xce3df7=_0x291f8c;let _0xbc3108,_0xed2c23;switch(_0xa61158[_0xce3df7(0x1a8)]){case _0xce3df7(0x196):_0xbc3108=_0xa61158[_0xce3df7(0x185)][_0xce3df7(0x1bc)];break;case _0xce3df7(0x10a):if(_0xed2c23=_0xa61158[_0xce3df7(0x110)],!_0xed2c23)return null;_0xbc3108=_0xed2c23[_0xce3df7(0x1bc)];break;case _0xce3df7(0x1a7):_0xbc3108=_0xa61158[_0xce3df7(0x1bc)];break;case _0xce3df7(0xf4):_0xbc3108=_0xa61158[_0xce3df7(0x187)];break;case _0xce3df7(0x189):_0xbc3108=_0xa61158[_0xce3df7(0x180)][_0xce3df7(0x1bc)];break;default:return null;}return _0xbc3108[_0xce3df7(0x11b)];}[_0x291f8c(0xf6)](_0xec89af){const _0x5f440c=_0x291f8c;_0xec89af[_0x5f440c(0x12c)](_0x46f670=>{const _0x443867=_0x5f440c,_0x141b34=_0x46f670[_0x443867(0x12b)]();_0x141b34[_0x443867(0x155)]=_0x46f670[_0x443867(0x155)],_0x141b34[_0x443867(0xca)]=!!_0x46f670[_0x443867(0xca)],_0x141b34[_0x443867(0xcb)]=_0x46f670[_0x443867(0xcb)],_0x141b34[_0x443867(0xc6)]+=this[_0x443867(0x197)],_0x46f670[_0x443867(0x184)]&&this[_0x443867(0x1c5)][_0x443867(0x136)](_0x141b34),this[_0x443867(0x167)][_0x443867(0x122)](_0x141b34);});}[_0x291f8c(0xf0)](_0x56f1e3){const _0x15fd05=_0x291f8c,_0x100c8d=this[_0x15fd05(0x13a)][_0x15fd05(0xd4)][_0x15fd05(0x176)](_0x15fd05(0x156)),_0x14f4f1=this[_0x15fd05(0x13a)][_0x15fd05(0xfd)];_0x56f1e3||(_0x56f1e3=_0xfd2789(_0x14f4f1,_0x15fd05(0x10b))),_0x100c8d[_0x15fd05(0x14a)](_0x56f1e3,{'title':_0xfd2789(_0x14f4f1,_0x15fd05(0x179)),'namespace':_0x15fd05(0x125)}),this[_0x15fd05(0x132)]=!0x0,clearTimeout(this[_0x15fd05(0x198)]),this[_0x15fd05(0xd7)]=[],this[_0x15fd05(0x13a)][_0x15fd05(0xd4)][_0x15fd05(0x176)](_0x452966)[_0x15fd05(0x1bf)]();}[_0x291f8c(0x11d)](){const _0x53ff24=_0x291f8c;this[_0x53ff24(0x117)]||(this[_0x53ff24(0x117)]=this[_0x53ff24(0x13a)][_0x53ff24(0xd4)][_0x53ff24(0x176)](_0x5ea4fa)[_0x53ff24(0x136)](_0xfd2789(this[_0x53ff24(0x13a)][_0x53ff24(0xfd)],_0x53ff24(0x13b))));}[_0x291f8c(0x13e)](){const _0x519f4c=_0x291f8c;this[_0x519f4c(0x117)]&&(this[_0x519f4c(0x13a)][_0x519f4c(0xd4)][_0x519f4c(0x176)](_0x5ea4fa)[_0x519f4c(0x101)](this[_0x519f4c(0x117)]),this[_0x519f4c(0x117)]=null);}[_0x291f8c(0xe2)](_0x2012e9){const _0x5a9a3c=_0x291f8c,_0x4c3a32=_0x2012e9[_0x5a9a3c(0xf2)](_0x2bf4db=>_0x2bf4db[_0x5a9a3c(0x118)]());return this[_0x5a9a3c(0x158)][_0x5a9a3c(0x166)](_0x4c3a32);}[_0x291f8c(0x1a4)](_0x424f61,_0x5731d5){const _0x5e29cc=_0x291f8c;return this[_0x5e29cc(0x158)][_0x5e29cc(0x141)](_0x424f61)[_0x5e29cc(0xf2)]((_0x18fdaf,_0x491b0c)=>{const _0x371f23=_0x5e29cc,_0x5589e4=_0x371f23(0x105)==_0x5731d5[_0x491b0c][_0x371f23(0x1a8)];if(_0x371f23(0x148)==_0x18fdaf[_0x371f23(0x1b3)]){const _0x30ff20=_0x18fdaf[_0x371f23(0x185)][_0x371f23(0x1bc)];!this[_0x371f23(0xe7)][_0x371f23(0x15b)](_0x30ff20)&&(this[_0x371f23(0xe7)][_0x371f23(0x193)](_0x371f23(0x1b6),_0x30ff20)[_0x371f23(0xe9)]=!0x1);}const _0x4fdb48=_0x216516[_0x371f23(0xf8)](_0x18fdaf,this[_0x371f23(0xe7)]);return _0x4fdb48[_0x371f23(0x1b2)]=_0x18fdaf[_0x371f23(0x1b2)],_0x4fdb48[_0x371f23(0xca)]=_0x5589e4,_0x4fdb48[_0x371f23(0x155)]=_0x5589e4?null:_0x5731d5[_0x491b0c][_0x371f23(0x1ac)],_0x4fdb48[_0x371f23(0x184)]=_0x371f23(0x15d)===_0x5731d5[_0x491b0c][_0x371f23(0x1a8)],_0x4fdb48[_0x371f23(0xcb)]=_0x5731d5[_0x491b0c][_0x371f23(0xcb)],_0x4fdb48;});}[_0x291f8c(0x14f)](){const _0x1c0329=_0x291f8c;this[_0x1c0329(0xf5)]=!0x0,this[_0x1c0329(0x174)]()?this[_0x1c0329(0x12f)]():this[_0x1c0329(0xf5)]=!0x1;}[_0x291f8c(0x174)](){const _0x2a4688=_0x291f8c,_0x18f45f=this[_0x2a4688(0x13a)][_0x2a4688(0xd4)][_0x2a4688(0x176)](_0x51922d)[_0x2a4688(0x1c4)][_0x2a4688(0x176)](this[_0x2a4688(0x14c)]);return!this[_0x2a4688(0x13a)][_0x2a4688(0xfa)]&&!!_0x18f45f&&_0x18f45f[_0x2a4688(0x15c)]>0x1&&this[_0x2a4688(0xf5)];}[_0x291f8c(0x161)](){const _0x5888a2=_0x291f8c;return this[_0x5888a2(0xd7)][_0x5888a2(0x15c)]>0x0||this[_0x5888a2(0x174)]();}}l[_0x291f8c(0x12a)]=_0x1c2738;export default l;class J extends Error{}function Q(_0x2cc4a6,_0x541f6d){const _0x6d8ebe=_0x291f8c;for(const _0x57dc26 of _0x2cc4a6)_0x57dc26[_0x6d8ebe(0xc6)]=_0x541f6d++;}function _0x41a1(){const _0x1f5504=['message','showWarning','includes','_channelId','_operationToId','stop','_refreshUserSelectionMarkers','then','40578HNImfL','error','round','affectsData','_authorId','Notification','suppressErrorInCollaboration','_compressor','define','register','getRoot','length','cs:removeUser','return','directChange','setPermissions','_shouldSendUpdate','_handleReconnectionResponse','getUser','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connection','compress','serverHistory','_initSessionsHandling','mySessionId','_currentBufferDelay','realtimecollaborationclient-init-service-internal-error','getConnectedSessions','cloudServices.bundleVersion','markers','initData','set','getIdOfTheLastOperation','isOfficialPlugin','wereChangesApplied','_shouldSendSelectionUpdate','lastOperationAcceptedAt','get','version','data','Synchronization\x20issue','editing','_disconnectService','collaboration-missing-channelid','slice','destroy','fire','targetPosition','_lastServerVersion','operationsReceived','model','_isDisconnection','position','_isEditingAllowed','affectedSelectable','multi-root-editor-root-attributes-no-root','move','config','apply','45722rqDglv','15151560xXfNXb','_knownOperations','stopListening','catch','applyOperation','406iOzzqN','createRoot','batch','end','insert','_offset','_sendBufferedOperationsDelayId','isUndoneOperation','_handleInitialConnectionData','selection','isEnabled','collaboration','1453773uUOxma','_handleServerResponse','getOperations','permissions','realtimecollaborationclient-init-connection-failed','change:hasDomSelection','_decompressOperations','addUser','isDocumentOperation','addRootAttribute','type','start','_waitUntilSynced','connected','userId','_loadRoot','sessionAdd:','high','_isLoaded','requires','wasUndone','__className','_isConnected','realtimecollaborationclient-init-session-connection-error','$root','reset','pluginName','lastSyncVersion','has','parse','root','metadata','4368033ysuIcF','disconnect','keys','change:range','_addKnownRoot','loadRoot','channelSessions','_disconnectionOperations','collaboration.channelId','setIdForTheLastOperation','document','_getOperationsFromInitData','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','404','baseVersion','roots','attributes','isPremiumPlugin','_isInit','createdAt','lastOperationId','_service','ready','3335eAsGym','document:write','10144728YqTpQB','sendOperations','history','plugins','listenTo','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_bufferedOperations','Permissions','_sendBufferedOperations','createPositionAt','reconnection:\x20flushed\x20session','addToReconnectionStack','_lastSyncedOperationId','RealTimeCollaborationClient','entries','enqueueChange','_handleSendingSelectionMarkers','_compressOperations','572CTEdVj','view','_connectAfterSessionHasBeenFlushed','unregister','_document','reconnect','_isAttached','path','realtimecollaborationclient-init-document-already-initialized','_saveOperationInBuffer','cloud-services-internal-error:\x20Not\x20connected.','change:_isPendingUpdate','offset','_handleReconnectionError','sessionId','map','realtimecollaborationclient-handleserverresponse','addRoot','_hasSelectionChanged','_updateServerHistory','_applyOperationsSet','fromJSON','bind','isReadOnly','_crash','realtimecollaborationclient-init-service-incorrect-server-operation','locale','lastDocumentSession','_handleExternalOperations','createRange','remove','_operationIdentifier','createPositionFromPath','from','init','off','finally','rtc-offline','enableReadOnlyMode','marker','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.','rtc-destroyed','sessionCreatedAt','2KObyAU','removeFromReconnectionStack','newRange','startsWith','_ignoredOperations','realtimecollaborationclient-init-non-existent-root','size','differ','_fetchMissingUsers','_pendingAction','toJSON','_getAffectedRoot','string','rootName','rootsAttributes','_setPendingAction','disableReadOnlyMode','state','_bufferRootLoad','_knownRootNames','addOperation','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','real-time-collaboration','change:_isEditingAllowed','getMany','disconnected','_handleReceivedOperations','CollaborativeEditingService','clone','forEach','_isPendingUpdate','cloudDocumentVersion','_sendBufferedOperationsDelayed','_setUpDataInit','createUserMarkerOperations','_hasSynchronizationProblem','409','realtimecollaborationclient','_baseBufferDelay','add','connect','realtimecollaborationclient-error','getOperationAuthor','editor','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-sendbufferedoperations','currentDocumentSession','_clearPendingAction','getDocumentDetails','CommentsOnly','decompress','_connectService','code','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initThrowingOnDataSet','filter','push','InsertOperation'];_0x41a1=function(){return _0x1f5504;};return _0x41a1();}class X{constructor(_0x13f854){const _0x760111=_0x291f8c;this[_0x760111(0x112)]=_0x13f854,this[_0x760111(0x14d)]=new WeakMap();}[_0x291f8c(0x171)](_0x2e03dc){const _0x320dce=_0x291f8c;let _0xfc93b=_0x2e03dc[_0x320dce(0x15c)];for(;_0xfc93b--;){const _0x303e03=_0x2e03dc[_0xfc93b];if(!this[_0x320dce(0x112)][_0x320dce(0x1ba)](_0x303e03)){if(!this[_0x320dce(0x14d)][_0x320dce(0x1ba)](_0x303e03)){const _0x30d507=_0x225b75()[_0x320dce(0x17d)](0x1,0x12);this[_0x320dce(0x14d)][_0x320dce(0x170)](_0x303e03,_0x30d507);}return this[_0x320dce(0x14d)][_0x320dce(0x176)](_0x303e03);}}}[_0x291f8c(0xc1)](_0x4b7b26,_0x2d9677){const _0x49a3ff=_0x291f8c;if(!_0x2d9677)return;let _0x3b19f9=_0x4b7b26[_0x49a3ff(0x15c)];for(;_0x3b19f9--;){const _0xa5b3cd=_0x4b7b26[_0x3b19f9];this[_0x49a3ff(0x112)][_0x49a3ff(0x1ba)](_0xa5b3cd)||this[_0x49a3ff(0x14d)][_0x49a3ff(0x170)](_0xa5b3cd,_0x2d9677);}}}
23
+ const _0x25edc1=_0x4d7c;function _0x4d7c(_0x5053b7,_0x19c0de){const _0x2acaa8=_0x2aca();return _0x4d7c=function(_0x4d7c99,_0x2eb90c){_0x4d7c99=_0x4d7c99-0x1b8;let _0x5ab8d6=_0x2acaa8[_0x4d7c99];return _0x5ab8d6;},_0x4d7c(_0x5053b7,_0x19c0de);}(function(_0x361d39,_0x226da4){const _0x5d45b0=_0x4d7c,_0x5860ad=_0x361d39();while(!![]){try{const _0x5847a4=-parseInt(_0x5d45b0(0x27f))/0x1+parseInt(_0x5d45b0(0x1d9))/0x2+parseInt(_0x5d45b0(0x29a))/0x3*(-parseInt(_0x5d45b0(0x229))/0x4)+-parseInt(_0x5d45b0(0x226))/0x5*(-parseInt(_0x5d45b0(0x2ac))/0x6)+parseInt(_0x5d45b0(0x1d7))/0x7*(-parseInt(_0x5d45b0(0x2af))/0x8)+-parseInt(_0x5d45b0(0x278))/0x9+-parseInt(_0x5d45b0(0x1df))/0xa*(-parseInt(_0x5d45b0(0x212))/0xb);if(_0x5847a4===_0x226da4)break;else _0x5860ad['push'](_0x5860ad['shift']());}catch(_0x2cc8f5){_0x5860ad['push'](_0x5860ad['shift']());}}}(_0x2aca,0xd58a6));import{Plugin as _0x4a13f4,PendingActions as _0x1d6655}from'ckeditor5/src/core.js';import{CKEditorError as _0x5af213,version as _0x205efd,uid as _0x23932a}from'ckeditor5/src/utils.js';import{Notification as _0x554211}from'ckeditor5/src/ui.js';import{transformSets as _0x268478,NoOperation as _0x4703cf,InsertOperation as _0x3e7a44,MarkerOperation as _0x217b0f,RootAttributeOperation as _0x4a837d,OperationFactory as _0x1ea7b6,History as _0x322849}from'ckeditor5/src/engine.js';import _0x14bdb3 from'./websocketgateway.js';import _0x22b84c from'./sessions.js';import _0x1d73c3 from'./usermarkers.js';import{getTranslation as _0x1ed547}from'../common-translations.js';import{Compressor as _0x22fd47}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3dccb6}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1cf8ac,CollaborativeEditingService as _0x37337b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x4a13f4{static get[_0x25edc1(0x25c)](){return[_0x14bdb3,_0x22b84c,_0x1d73c3,_0x1d6655,_0x3dccb6,_0x554211];}static get[_0x25edc1(0x261)](){const _0xf7ef=_0x25edc1;return _0xf7ef(0x27a);}static get[_0x25edc1(0x24a)](){return!0x0;}static get[_0x25edc1(0x27d)](){return!0x0;}get[_0x25edc1(0x289)](){const _0x2300bb=_0x25edc1;return this[_0x2300bb(0x26a)]+this[_0x2300bb(0x1e7)];}get[_0x25edc1(0x26a)](){const _0x4aea61=_0x25edc1;return this[_0x4aea61(0x23f)][_0x4aea61(0x28b)]-this[_0x4aea61(0x1e7)];}get[_0x25edc1(0x21f)](){const _0x365ad9=_0x25edc1,_0x358b78=this[_0x365ad9(0x23f)][_0x365ad9(0x2a3)]();for(let _0xc7777b=_0x358b78[_0x365ad9(0x284)]-0x1;_0xc7777b>=0x0;_0xc7777b--){const _0x1e816e=_0x358b78[_0xc7777b];if(!this[_0x365ad9(0x29d)][_0x365ad9(0x2a8)](_0x1e816e))return _0x1e816e[_0x365ad9(0x234)]+0x1-this[_0x365ad9(0x1e7)];}return 0x0;}constructor(_0x41d1ec){const _0x9eac06=_0x25edc1;if(super(_0x41d1ec),this[_0x9eac06(0x1e7)]=0x0,this[_0x9eac06(0x1b8)]=null,this[_0x9eac06(0x23f)]=new _0x322849(),this[_0x9eac06(0x233)][_0x9eac06(0x225)][_0x9eac06(0x201)](_0x9eac06(0x20c),{}),this[_0x9eac06(0x236)]=this[_0x9eac06(0x233)][_0x9eac06(0x225)][_0x9eac06(0x1f8)](_0x9eac06(0x27e)),!this[_0x9eac06(0x236)])throw new _0x5af213(_0x9eac06(0x247),this);const _0x163be6=_0x41d1ec[_0x9eac06(0x225)][_0x9eac06(0x1f8)](_0x9eac06(0x1c1))||_0x205efd;this[_0x9eac06(0x232)]=new l[(_0x9eac06(0x218))](_0x163be6,this[_0x9eac06(0x236)]),this[_0x9eac06(0x294)]=this[_0x9eac06(0x233)][_0x9eac06(0x2b7)][_0x9eac06(0x26f)],this[_0x9eac06(0x26b)]=new _0x22fd47(),this[_0x9eac06(0x1ec)]=[],this[_0x9eac06(0x266)]=new WeakSet(),this[_0x9eac06(0x20d)]=new Set(),this[_0x9eac06(0x2b2)](_0x9eac06(0x280),!0x1),this[_0x9eac06(0x2b2)](_0x9eac06(0x27b),!0x1),this[_0x9eac06(0x2ae)]=null,this[_0x9eac06(0x213)]=!0x1,this[_0x9eac06(0x1f0)]=null,this[_0x9eac06(0x1d1)]=0x12c,this[_0x9eac06(0x277)]=this[_0x9eac06(0x1d1)],this[_0x9eac06(0x254)]=null,this[_0x9eac06(0x29d)]=new WeakSet(),this[_0x9eac06(0x2bd)]=new G(this[_0x9eac06(0x29d)]);}[_0x25edc1(0x235)](){const _0x5394fe=_0x25edc1,_0x151bb1=this[_0x5394fe(0x233)],_0x538fe9=_0x151bb1[_0x5394fe(0x290)][_0x5394fe(0x1f8)](_0x3dccb6),_0x5dc5a3=_0x151bb1[_0x5394fe(0x290)][_0x5394fe(0x1f8)](_0x14bdb3);this[_0x5394fe(0x257)](_0x538fe9,_0x5394fe(0x2aa),(_0x4ca5e4,_0x16fa82)=>{const _0x5a920a=_0x5394fe,_0xef7e9c=_0x16fa82[0x0];_0xef7e9c[_0x5a920a(0x223)]&&(_0x4ca5e4[_0x5a920a(0x24d)]=_0x538fe9[_0x5a920a(0x291)](_0xef7e9c[_0x5a920a(0x223)]),_0x4ca5e4[_0x5a920a(0x274)]()),null===_0xef7e9c[_0x5a920a(0x223)]&&(_0x4ca5e4[_0x5a920a(0x24d)]=null,_0x4ca5e4[_0x5a920a(0x274)]());},{'priority':_0x5394fe(0x242)}),this[_0x5394fe(0x257)](_0x151bb1[_0x5394fe(0x2b7)][_0x5394fe(0x26f)][_0x5394fe(0x221)],_0x5394fe(0x1bb),(_0x22c132,_0x4a6173)=>{const _0x127b83=_0x5394fe;_0x4a6173[_0x127b83(0x26e)]&&this[_0x127b83(0x1e4)]();}),this[_0x5394fe(0x257)](_0x151bb1[_0x5394fe(0x2b1)][_0x5394fe(0x1da)],_0x5394fe(0x22c),()=>{const _0xadba14=_0x5394fe;this[_0xadba14(0x1e4)]();}),this[_0x5394fe(0x239)](),_0x151bb1[_0x5394fe(0x2b7)]['on'](_0x5394fe(0x285),(_0x26c211,_0x45b8ed)=>{const _0x9e09b0=_0x5394fe,_0x1151bc=_0x45b8ed[0x0];_0x1151bc[_0x9e09b0(0x29e)]&&(this[_0x9e09b0(0x214)](_0x1151bc),this[_0x9e09b0(0x1ca)]()&&this[_0x9e09b0(0x2b5)]());}),this[_0x5394fe(0x2bb)](),this[_0x5394fe(0x293)](_0x5394fe(0x209))['to'](_0x5dc5a3,_0x5394fe(0x2bc),this,_0x5394fe(0x27b),(_0xcf97a1,_0x521339)=>_0x5394fe(0x1d6)===_0xcf97a1&&!_0x521339),this['on'](_0x5394fe(0x1dd),()=>{const _0x3a9d5f=_0x5394fe;this[_0x3a9d5f(0x209)]?_0x151bb1[_0x3a9d5f(0x1f4)](_0x3a9d5f(0x276)):_0x151bb1[_0x3a9d5f(0x28c)](_0x3a9d5f(0x276));}),this[_0x5394fe(0x209)]?_0x151bb1[_0x5394fe(0x1f4)](_0x5394fe(0x276)):_0x151bb1[_0x5394fe(0x28c)](_0x5394fe(0x276)),this[_0x5394fe(0x2b2)](_0x5394fe(0x1f7),!0x1);}async[_0x25edc1(0x1d8)](){const _0x420695=_0x25edc1,_0x2d51b8=this[_0x420695(0x233)][_0x420695(0x290)][_0x420695(0x1f8)](_0x22b84c),_0xa70878=this[_0x420695(0x233)][_0x420695(0x290)][_0x420695(0x1f8)](_0x14bdb3);try{this[_0x420695(0x280)]=!0x0,_0x2d51b8[_0x420695(0x241)](this[_0x420695(0x236)]);const _0x1da77e=await this[_0x420695(0x232)][_0x420695(0x1d8)](_0xa70878[_0x420695(0x24e)],this[_0x420695(0x21f)]);await this[_0x420695(0x2a4)](_0x1da77e)&&(this[_0x420695(0x280)]=!0x1,this[_0x420695(0x1ee)]());const _0xa748fa=await this[_0x420695(0x232)][_0x420695(0x231)]();_0x2d51b8[_0x420695(0x21e)](this[_0x420695(0x236)],_0xa748fa),this[_0x420695(0x1c4)](),this[_0x420695(0x1f7)]=!0x0;}catch(_0x3ced74){if(function(_0x1c49f0){const _0x21e274=_0x420695;return _0x21e274(0x1ba)===_0x1c49f0[_0x21e274(0x1dc)];}(_0x3ced74)&&this[_0x420695(0x1b8)])await this[_0x420695(0x22f)]();else{if(function(_0x583bf6){const _0x19d66d=_0x420695;return _0x19d66d(0x204)===_0x583bf6[_0x19d66d(0x1dc)];}(_0x3ced74)){const _0x25641d=_0x1ed547(this[_0x420695(0x233)][_0x420695(0x24b)],_0x420695(0x269));this[_0x420695(0x295)](_0x25641d);}else{if(!(_0x3ced74 instanceof H))throw _0x3ced74;this[_0x420695(0x295)]();}}}}[_0x25edc1(0x237)](){const _0x54104a=_0x25edc1,_0x59ce72=this[_0x54104a(0x233)][_0x54104a(0x290)][_0x54104a(0x1f8)](_0x14bdb3),_0x562ff0=this[_0x54104a(0x233)][_0x54104a(0x290)][_0x54104a(0x1f8)](_0x22b84c);this[_0x54104a(0x233)][_0x54104a(0x28c)](_0x54104a(0x25e)),_0x562ff0[_0x54104a(0x1bd)][_0x54104a(0x2a8)](this[_0x54104a(0x236)])&&_0x562ff0[_0x54104a(0x241)](this[_0x54104a(0x236)]),_0x59ce72[_0x54104a(0x255)](this),this[_0x54104a(0x1db)](),super[_0x54104a(0x237)]();}async[_0x25edc1(0x2a4)](_0x20d1d1){const _0x3245a9=_0x25edc1;if(this[_0x3245a9(0x1b8)]!==_0x20d1d1[_0x3245a9(0x1b8)]&&this[_0x3245a9(0x254)]!==_0x20d1d1[_0x3245a9(0x2b9)])throw new H();return this[_0x3245a9(0x1b8)]=_0x20d1d1[_0x3245a9(0x1b8)],this[_0x3245a9(0x1be)]([],{..._0x20d1d1,'wereChangesApplied':!0x1,'data':_0x20d1d1[_0x3245a9(0x1c8)]},_0x3245a9(0x1d8));}async[_0x25edc1(0x26d)](_0x373249,_0x2843c7=!0x1){const _0x4eac1b=_0x25edc1,{connection:_0x41bb58}=this[_0x4eac1b(0x233)][_0x4eac1b(0x290)][_0x4eac1b(0x1f8)](_0x14bdb3);l[_0x4eac1b(0x218)][_0x4eac1b(0x231)](_0x41bb58,this[_0x4eac1b(0x236)])[_0x4eac1b(0x23c)](_0x585d82=>this[_0x4eac1b(0x1fa)](_0x585d82))[_0x4eac1b(0x1c0)](_0x44e705=>{const _0x25012c=_0x4eac1b;this[_0x25012c(0x283)](_0x25012c(0x296),_0x44e705);}),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x1d5),this[_0x4eac1b(0x23d)][_0x4eac1b(0x293)](this)),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x260),(_0x1a367c,_0x115b69)=>{const _0x5bb662=_0x4eac1b;this[_0x5bb662(0x283)](_0x5bb662(0x25d),_0x115b69);}),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x279),()=>{const _0x3a9eb3=_0x4eac1b;this[_0x3a9eb3(0x1f7)]=!0x1;});const _0x1002fe=this[_0x4eac1b(0x2bd)][_0x4eac1b(0x262)](_0x373249);this[_0x4eac1b(0x280)]=!0x0;const _0x2f3503=await this[_0x4eac1b(0x232)][_0x4eac1b(0x1fe)](_0x41bb58,this[_0x4eac1b(0x264)](_0x373249),_0x1002fe);if(this[_0x4eac1b(0x1b8)]=_0x2f3503[_0x4eac1b(0x1b8)],_0x2843c7){if(!_0x2f3503[_0x4eac1b(0x249)])return void this[_0x4eac1b(0x295)]();this[_0x4eac1b(0x280)]=!0x1,this[_0x4eac1b(0x1ee)](),this[_0x4eac1b(0x23f)][_0x4eac1b(0x263)](),this[_0x4eac1b(0x1e7)]=_0x2f3503[_0x4eac1b(0x203)],this[_0x4eac1b(0x23f)][_0x4eac1b(0x28b)]=this[_0x4eac1b(0x1e7)],await this[_0x4eac1b(0x1be)](_0x373249,_0x2f3503,_0x4eac1b(0x272));}else await this[_0x4eac1b(0x1c3)](_0x2f3503,_0x373249);this[_0x4eac1b(0x1c4)](),this[_0x4eac1b(0x1f7)]=!0x0;}[_0x25edc1(0x1c4)](){const _0x3d6586=_0x25edc1,_0x34bae9=this[_0x3d6586(0x233)][_0x3d6586(0x290)][_0x3d6586(0x1f8)](_0x22b84c),_0x123338=this[_0x3d6586(0x233)][_0x3d6586(0x290)][_0x3d6586(0x1f8)](_0x1d73c3),_0x2f35e9=_0x34bae9[_0x3d6586(0x1bd)][_0x3d6586(0x1f8)](this[_0x3d6586(0x236)]);_0x2f35e9&&_0x2f35e9[_0x3d6586(0x284)]>0x1?_0x123338[_0x3d6586(0x1de)]():this[_0x3d6586(0x257)](_0x34bae9,_0x3d6586(0x222)+this[_0x3d6586(0x236)],()=>{const _0x238919=_0x3d6586;0x2===_0x34bae9[_0x238919(0x1bd)][_0x238919(0x1f8)](this[_0x238919(0x236)])[_0x238919(0x284)]&&_0x123338[_0x238919(0x1de)]();});}async[_0x25edc1(0x23d)](_0x1f1733,_0x13e543,_0x712cc1,_0x5144d2){const _0x4b7d84=_0x25edc1;if(!this[_0x4b7d84(0x280)]&&this[_0x4b7d84(0x294)][_0x4b7d84(0x28b)]==_0x13e543){const _0x93625d=this[_0x4b7d84(0x1cd)](_0x712cc1,_0x5144d2);await this[_0x4b7d84(0x21a)](_0x93625d),this[_0x4b7d84(0x2ba)](_0x93625d,_0x13e543,_0x712cc1[_0x4b7d84(0x2b9)])||this[_0x4b7d84(0x283)](_0x4b7d84(0x205));}}async[_0x25edc1(0x22f)](){const _0x6fb37a=_0x25edc1;this[_0x6fb37a(0x1db)]();const {locale:_0xd9d53d}=this[_0x6fb37a(0x233)];let _0x452fb2;try{_0x452fb2=await this[_0x6fb37a(0x232)][_0x6fb37a(0x1c7)]();}catch(_0x428ce2){const _0x36d204=_0x1ed547(_0xd9d53d,_0x6fb37a(0x1c5));return void this[_0x6fb37a(0x295)](_0x36d204);}const _0x4e5cac=_0x452fb2[_0x6fb37a(0x1e0)]||_0x452fb2[_0x6fb37a(0x243)];if(this[_0x6fb37a(0x254)]===_0x4e5cac[_0x6fb37a(0x2b9)])await this[_0x6fb37a(0x26d)](this[_0x6fb37a(0x233)][_0x6fb37a(0x2b7)][_0x6fb37a(0x26f)][_0x6fb37a(0x2a7)][_0x6fb37a(0x2a3)](),!0x0);else{const _0x2225f7=_0x1ed547(_0xd9d53d,_0x6fb37a(0x246));this[_0x6fb37a(0x295)](_0x2225f7);}}[_0x25edc1(0x1db)](){const _0x299a94=_0x25edc1;this[_0x299a94(0x232)][_0x299a94(0x1e8)](),this[_0x299a94(0x1ec)]=[],clearTimeout(this[_0x299a94(0x1f0)]),this[_0x299a94(0x2a6)](this[_0x299a94(0x232)]);}[_0x25edc1(0x1fa)](_0x2ed6ce){const _0x293fc1=_0x25edc1,_0xcb5554=this[_0x293fc1(0x233)][_0x293fc1(0x290)][_0x293fc1(0x1f8)](_0x22b84c);this[_0x293fc1(0x257)](_0xcb5554,_0x293fc1(0x222)+this[_0x293fc1(0x236)],(_0x39cf38,{session:_0x5a8da4})=>{const _0x496149=_0x293fc1;if(_0x5a8da4['id']===_0xcb5554[_0x496149(0x21c)]){_0x39cf38[_0x496149(0x244)]();const _0x5866f8=this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x2a8)](_0x496149(0x2b6))&&this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x1f8)](_0x496149(0x2b6));let _0x411371=_0x5a8da4[_0x496149(0x28f)];_0x5866f8&&_0x5866f8[_0x496149(0x1e2)]&&(_0x411371=_0x411371[_0x496149(0x28d)](_0x589eb3=>_0x496149(0x24f)!==_0x589eb3)),this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x1f8)](_0x496149(0x211))[_0x496149(0x2a1)](_0x411371,this[_0x496149(0x236)]);}}),_0xcb5554[_0x293fc1(0x21e)](this[_0x293fc1(0x236)],_0x2ed6ce);}[_0x25edc1(0x239)](){const _0x3c8f4a=_0x25edc1,_0x265669=this[_0x3c8f4a(0x233)][_0x3c8f4a(0x1c8)][_0x3c8f4a(0x2b2)];this[_0x3c8f4a(0x233)][_0x3c8f4a(0x1c8)][_0x3c8f4a(0x2b2)]=(..._0x41deb6)=>{const _0xbbfa6=_0x3c8f4a;if(!_0x41deb6[_0x41deb6[_0xbbfa6(0x284)]-0x1][_0xbbfa6(0x1ed)])throw new _0x5af213(_0xbbfa6(0x258),this);_0x265669[_0xbbfa6(0x282)](this[_0xbbfa6(0x233)][_0xbbfa6(0x1c8)],_0x41deb6);};}[_0x25edc1(0x2bb)](){const _0xee6141=_0x25edc1;this[_0xee6141(0x233)][_0xee6141(0x1c8)]['on'](_0xee6141(0x235),(_0x4eaf14,[_0x3cb387])=>{const _0x29bacb=_0xee6141;if(this[_0x29bacb(0x294)][_0x29bacb(0x28b)])throw new _0x5af213(_0x29bacb(0x216),this);_0x4eaf14[_0x29bacb(0x274)](),this[_0x29bacb(0x298)]();const _0x17a64a=this[_0x29bacb(0x233)][_0x29bacb(0x225)][_0x29bacb(0x1f8)](_0x29bacb(0x2b3)),_0xbe81ad=this[_0x29bacb(0x207)](_0x3cb387,_0x17a64a);0x0==_0xbe81ad[_0x29bacb(0x284)]&&_0xbe81ad[_0x29bacb(0x253)](new _0x4703cf(0x0)),_0x4eaf14[_0x29bacb(0x24d)]=this[_0x29bacb(0x26d)](_0xbe81ad)[_0x29bacb(0x23c)](()=>{const _0x1f6d1b=_0x29bacb;this[_0x1f6d1b(0x233)][_0x1f6d1b(0x290)][_0x1f6d1b(0x1f8)](_0x14bdb3)[_0x1f6d1b(0x22d)](this),this[_0x1f6d1b(0x233)][_0x1f6d1b(0x1c8)][_0x1f6d1b(0x297)](_0x1f6d1b(0x240));})[_0x29bacb(0x1c0)](_0x11da4e=>this[_0x29bacb(0x283)](_0x29bacb(0x1f9),_0x11da4e))[_0x29bacb(0x1f3)](()=>this[_0x29bacb(0x1ee)]());},{'priority':_0xee6141(0x242)}),this[_0xee6141(0x233)]['on'](_0xee6141(0x23b),async(_0xb5691,[_0x3c18fa,_0x5e7502])=>{const _0x310387=_0xee6141;_0xb5691[_0x310387(0x274)]();const _0x1ee061=this[_0x310387(0x233)][_0x310387(0x2b7)][_0x310387(0x26f)][_0x310387(0x220)](_0x3c18fa);if(!this[_0x310387(0x20d)][_0x310387(0x2a8)](_0x3c18fa)){const _0x18411e=_0x5e7502&&_0x5e7502[_0x310387(0x1c8)]?_0x5e7502[_0x310387(0x1c8)]:'',_0x4b4e0a=_0x5e7502&&_0x5e7502[_0x310387(0x20b)]?_0x5e7502[_0x310387(0x20b)]:{};await this[_0x310387(0x268)](_0x3c18fa,_0x18411e,_0x4b4e0a);}this[_0x310387(0x233)][_0x310387(0x2b7)][_0x310387(0x1bf)]({'isUndoable':!0x1},()=>{const _0x2e569f=_0x310387;_0x1ee061[_0x2e569f(0x1f1)]=!0x0,this[_0x2e569f(0x233)][_0x2e569f(0x2b7)][_0x2e569f(0x26f)][_0x2e569f(0x219)][_0x2e569f(0x286)](_0x1ee061);});},{'priority':_0xee6141(0x242)});}async[_0x25edc1(0x21a)](_0x3baedb){const _0x7d47=_0x25edc1,_0x1e010d=this[_0x7d47(0x233)][_0x7d47(0x290)][_0x7d47(0x1f8)](_0x3dccb6),{connection:_0xc48f79}=this[_0x7d47(0x233)][_0x7d47(0x290)][_0x7d47(0x1f8)](_0x14bdb3),_0x437fcb=new Set();for(const _0x27e8df of _0x3baedb){const _0x42da8f=_0x27e8df[_0x7d47(0x223)];_0x42da8f&&!_0x1e010d[_0x7d47(0x291)](_0x42da8f)&&_0x437fcb[_0x7d47(0x1ea)](_0x42da8f);}if(0x0===_0x437fcb[_0x7d47(0x23e)])return;const _0xc67c36=await _0x1cf8ac[_0x7d47(0x26c)](_0xc48f79,Array[_0x7d47(0x267)](_0x437fcb));for(const _0x59a4d8 of _0xc67c36)_0x1e010d[_0x7d47(0x291)](_0x59a4d8['id'])||_0x1e010d[_0x7d47(0x2a2)](_0x59a4d8);}[_0x25edc1(0x207)](_0x26555d,_0x508805={}){const _0x35ecb7=_0x25edc1,_0x4159a3=this[_0x35ecb7(0x233)][_0x35ecb7(0x2b7)],_0x1e09e6=[];let _0x28184a=0x0;const _0x1a809c=_0x35ecb7(0x29b)==typeof _0x26555d?{'main':_0x26555d}:_0x26555d;for(const _0x5f19c1 of Object[_0x35ecb7(0x25b)](_0x1a809c)){if(!this[_0x35ecb7(0x294)][_0x35ecb7(0x28a)][_0x35ecb7(0x2a8)](_0x5f19c1))throw new _0x5af213(_0x35ecb7(0x299),this);const _0x1680f4=this[_0x35ecb7(0x233)][_0x35ecb7(0x1c8)][_0x35ecb7(0x251)](_0x1a809c[_0x5f19c1]),_0x72a3d8=this[_0x35ecb7(0x294)][_0x35ecb7(0x220)](_0x5f19c1),_0xe9fc8c=new _0x3e7a44(_0x4159a3[_0x35ecb7(0x22a)](_0x72a3d8,0x0),_0x1680f4,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0xe9fc8c);for(const [_0x4b3828,_0x226534]of _0x1680f4[_0x35ecb7(0x1b9)]){const _0x55f2f1=_0x4159a3[_0x35ecb7(0x1e9)](_0x4159a3[_0x35ecb7(0x1e3)](_0x72a3d8,_0x226534[_0x35ecb7(0x1d0)][_0x35ecb7(0x252)][_0x35ecb7(0x1ce)]()),_0x4159a3[_0x35ecb7(0x1e3)](_0x72a3d8,_0x226534[_0x35ecb7(0x1e6)][_0x35ecb7(0x252)][_0x35ecb7(0x1ce)]())),_0x303ca8=new _0x217b0f(_0x4b3828,null,_0x55f2f1,_0x4159a3[_0x35ecb7(0x1b9)],!0x0,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0x303ca8);}}if(_0x508805)for(const [_0x399cac,_0xb8d336]of Object[_0x35ecb7(0x25f)](_0x508805)){const _0x3195a4=_0x4159a3[_0x35ecb7(0x26f)][_0x35ecb7(0x220)](_0x399cac);if(!_0x3195a4)throw new _0x5af213(_0x35ecb7(0x22e),null);for(const [_0x1912f8,_0x3267ba]of Object[_0x35ecb7(0x25f)](_0xb8d336))if(null!==_0x3267ba){const _0x44aefb=new _0x4a837d(_0x3195a4,_0x1912f8,null,_0x3267ba,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0x44aefb);}}return _0x1e09e6;}async[_0x25edc1(0x268)](_0x4f4688,_0x101804,_0x484141){const _0x26e3dc=_0x25edc1;this[_0x26e3dc(0x207)]({[_0x4f4688]:_0x101804},{[_0x4f4688]:_0x484141})[_0x26e3dc(0x288)]((_0x212497,_0x422127)=>{const _0x2258c6=_0x26e3dc;_0x212497[_0x2258c6(0x234)]=this[_0x2258c6(0x294)][_0x2258c6(0x28b)]+_0x422127,_0x212497[_0x2258c6(0x208)]=!0x0,this[_0x2258c6(0x214)](_0x212497);}),this[_0x26e3dc(0x2b5)](),await this[_0x26e3dc(0x28e)]();}async[_0x25edc1(0x1c3)](_0x4cb825,_0x2762da){const _0x1678ec=_0x25edc1;let _0x5a5263;this[_0x1678ec(0x1e7)]=_0x4cb825[_0x1678ec(0x203)];const _0x10ead2=_0x4cb825[_0x1678ec(0x249)]&&!_0x4cb825[_0x1678ec(0x20e)],_0x133f31=_0x10ead2?0x0:_0x4cb825[_0x1678ec(0x1c8)][_0x1678ec(0x234)];if(_0x2762da[_0x1678ec(0x288)](_0x441e71=>{const _0xcef707=_0x1678ec;_0x441e71[_0xcef707(0x208)]=!0x0,_0x441e71[_0xcef707(0x230)]=_0x4cb825[_0xcef707(0x265)],_0x441e71[_0xcef707(0x223)]=null;}),_0x10ead2)_0x5a5263=_0x2762da,this[_0x1678ec(0x287)](_0x5a5263,_0x10ead2);else{if(_0x4cb825[_0x1678ec(0x20e)]){const _0x5725e0=this[_0x1678ec(0x207)](_0x4cb825[_0x1678ec(0x20e)]);this[_0x1678ec(0x294)][_0x1678ec(0x2a7)][_0x1678ec(0x28b)]=-_0x5725e0[_0x1678ec(0x284)],_0x5725e0[_0x1678ec(0x288)](_0x1a5449=>{const _0x390b3f=_0x1678ec;_0x1a5449[_0x390b3f(0x234)]-=_0x5725e0[_0x390b3f(0x284)],_0x1a5449[_0x390b3f(0x230)]=_0x4cb825[_0x390b3f(0x265)],_0x1a5449[_0x390b3f(0x208)]=!0x0,_0x1a5449[_0x390b3f(0x223)]=null;}),this[_0x1678ec(0x287)](_0x5725e0,!0x0),this[_0x1678ec(0x23f)][_0x1678ec(0x28b)]=-_0x5725e0[_0x1678ec(0x284)]+this[_0x1678ec(0x1e7)],this[_0x1678ec(0x20f)](_0x5725e0);}this[_0x1678ec(0x294)][_0x1678ec(0x2a7)][_0x1678ec(0x28b)]=_0x133f31,_0x5a5263=this[_0x1678ec(0x1cd)](_0x4cb825[_0x1678ec(0x1c8)],_0x4cb825[_0x1678ec(0x1ff)]),await this[_0x1678ec(0x21a)](_0x5a5263),this[_0x1678ec(0x287)](_0x5a5263,_0x10ead2);}_0x4cb825[_0x1678ec(0x2b9)]&&(this[_0x1678ec(0x2bd)][_0x1678ec(0x281)](_0x5a5263,_0x4cb825[_0x1678ec(0x2b9)]),this[_0x1678ec(0x254)]=_0x4cb825[_0x1678ec(0x2b9)]),this[_0x1678ec(0x23f)][_0x1678ec(0x28b)]=_0x133f31+this[_0x1678ec(0x1e7)],this[_0x1678ec(0x20f)](_0x5a5263),_0x2762da[_0x1678ec(0x28d)](_0x5170af=>{const _0x414deb=_0x1678ec,_0x4ee501=this[_0x414deb(0x1d2)](_0x5170af);return _0x4ee501&&!this[_0x414deb(0x20d)][_0x414deb(0x2a8)](_0x4ee501);})[_0x1678ec(0x288)]((_0x1fe242,_0xdac940)=>{const _0x4061b2=_0x1678ec;_0x1fe242[_0x4061b2(0x234)]=this[_0x4061b2(0x294)][_0x4061b2(0x28b)]+_0xdac940,this[_0x4061b2(0x214)](_0x1fe242);}),this[_0x1678ec(0x1ca)]()?(this[_0x1678ec(0x277)]=0x0,this[_0x1678ec(0x2b5)](!0x0),await this[_0x1678ec(0x28e)]()):(this[_0x1678ec(0x280)]=!0x1,this[_0x1678ec(0x1ee)]());}[_0x25edc1(0x283)](_0x5a7232,_0x2783b0){const _0xd4aa5f=_0x25edc1,_0x431925=_0x2783b0&&_0x2783b0[_0xd4aa5f(0x24c)];if(_0x431925&&_0x431925[_0xd4aa5f(0x21b)](_0xd4aa5f(0x273)))throw _0x2783b0;const _0xa4e643=this[_0xd4aa5f(0x233)][_0xd4aa5f(0x290)][_0xd4aa5f(0x1f8)](_0x14bdb3);throw this[_0xd4aa5f(0x280)]=!0x0,_0xa4e643[_0xd4aa5f(0x1e8)](),this[_0xd4aa5f(0x233)][_0xd4aa5f(0x28c)](_0xd4aa5f(0x1cb)),new _0x5af213(_0x5a7232,this[_0xd4aa5f(0x233)],_0x431925?{'originalError':_0x431925}:void 0x0);}[_0x25edc1(0x214)](_0x1352db){const _0x2af228=_0x25edc1;this[_0x2af228(0x266)][_0x2af228(0x2a8)](_0x1352db)||(this[_0x2af228(0x266)][_0x2af228(0x1ea)](_0x1352db),this[_0x2af228(0x1ec)][_0x2af228(0x253)](_0x1352db),this[_0x2af228(0x2ae)]||_0x2af228(0x202)==_0x1352db[_0x2af228(0x1ef)]&&!_0x1352db[_0x2af228(0x27c)]||this[_0x2af228(0x298)]());}[_0x25edc1(0x2b5)](_0x2dd127=!0x1){const _0x26cc2d=_0x25edc1;!_0x2dd127&&this[_0x26cc2d(0x280)]||(this[_0x26cc2d(0x280)]=!0x0,clearTimeout(this[_0x26cc2d(0x1f0)]),this[_0x26cc2d(0x1f0)]=setTimeout(()=>{const _0x3a4703=_0x26cc2d;this[_0x3a4703(0x248)]()[_0x3a4703(0x23c)](_0x8ae256=>{const _0x15107d=_0x3a4703;_0x8ae256&&(this[_0x15107d(0x1ee)](),this[_0x15107d(0x280)]=!0x1);})[_0x3a4703(0x1c0)](_0x3a755d=>{const _0x111ee2=_0x3a4703;this[_0x111ee2(0x1ee)](),this[_0x111ee2(0x280)]=!0x1,function(_0x32113f){const _0x4ce4be=_0x111ee2;return _0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x1d4))||_0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x2a0))||_0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x2a9));}(_0x3a755d)||this[_0x111ee2(0x283)](_0x3a755d[_0x111ee2(0x24c)],_0x3a755d);});},this[_0x26cc2d(0x277)]));}[_0x25edc1(0x28e)](){return new Promise(_0x5463db=>{const _0x51db00=_0x4d7c;this['on'](_0x51db00(0x2be),()=>{_0x5463db();});});}async[_0x25edc1(0x248)](){const _0x2de747=_0x25edc1,_0x52303c=this[_0x2de747(0x233)][_0x2de747(0x290)][_0x2de747(0x1f8)](_0x1d73c3);if(this[_0x2de747(0x1cc)]()&&(_0x52303c[_0x2de747(0x1de)](),this[_0x2de747(0x213)]=!0x1),!this[_0x2de747(0x1ca)]())return!0x0;const _0x2ed4cc=[...this[_0x2de747(0x1ec)]];for(const _0x515aca of _0x2ed4cc)_0x515aca[_0x2de747(0x29f)]=this[_0x2de747(0x294)][_0x2de747(0x2a7)][_0x2de747(0x270)](_0x515aca);const _0x579885=this[_0x2de747(0x2bd)][_0x2de747(0x262)](_0x2ed4cc),_0x2b7290=F++,_0x2e5cfb=this[_0x2de747(0x264)](_0x2ed4cc),_0x453601=await this[_0x2de747(0x232)][_0x2de747(0x206)](_0x2e5cfb,_0x2e5cfb[_0x2de747(0x234)],_0x579885);try{return await this[_0x2de747(0x1be)](_0x2ed4cc,_0x453601,_0x2b7290);}catch(_0x193dca){return this[_0x2de747(0x283)](_0x2de747(0x245),_0x193dca);}}async[_0x25edc1(0x1be)](_0x227e72,_0x52a625,_0x342318){const _0x4d1332=_0x25edc1;if(_0x4d1332(0x260)in _0x52a625)throw _0x52a625[_0x4d1332(0x260)];let _0x5d5068=!0x1;if(_0x52a625[_0x4d1332(0x249)]){_0x52a625[_0x4d1332(0x2b9)]&&(this[_0x4d1332(0x254)]=_0x52a625[_0x4d1332(0x2b9)]),this[_0x4d1332(0x1ec)]=this[_0x4d1332(0x1ec)][_0x4d1332(0x28d)](_0x2f860c=>!_0x227e72[_0x4d1332(0x2ab)](_0x2f860c));for(const _0x469c89 of _0x227e72)_0x469c89[_0x4d1332(0x230)]=_0x4d1332(0x1e5)in _0x52a625&&_0x52a625[_0x4d1332(0x1e5)]||void 0x0;q(_0x227e72,_0x52a625[_0x4d1332(0x28b)]-_0x227e72[_0x4d1332(0x284)]),this[_0x4d1332(0x20f)](_0x227e72);const _0xf225fa=_0x227e72[_0x4d1332(0x28d)](_0x143a40=>{const _0x389aff=_0x4d1332;if(!_0x143a40[_0x389aff(0x208)])return!0x1;const _0x2b5509=this[_0x389aff(0x1d2)](_0x143a40);return _0x2b5509&&!this[_0x389aff(0x20d)][_0x389aff(0x2a8)](_0x2b5509);});q(_0xf225fa,this[_0x4d1332(0x294)][_0x4d1332(0x28b)]),this[_0x4d1332(0x287)](_0xf225fa),_0x5d5068=!0x0,this[_0x4d1332(0x277)]=this[_0x4d1332(0x1d1)];}else{const _0x34230a=this[_0x4d1332(0x1cd)](_0x52a625[_0x4d1332(0x1c8)],_0x52a625[_0x4d1332(0x1ff)])[_0x4d1332(0x28d)](_0x10dcc1=>_0x10dcc1[_0x4d1332(0x234)]>=this[_0x4d1332(0x26a)]);_0x34230a[_0x4d1332(0x288)](_0x43c69c=>this[_0x4d1332(0x275)](_0x43c69c)),this[_0x4d1332(0x1ec)]=this[_0x4d1332(0x1ec)][_0x4d1332(0x28d)](_0x37c3e9=>!_0x37c3e9[_0x4d1332(0x208)]||!this[_0x4d1332(0x20d)][_0x4d1332(0x2a8)](this[_0x4d1332(0x1d2)](_0x37c3e9))),this[_0x4d1332(0x1ec)][_0x4d1332(0x284)]&&q(this[_0x4d1332(0x1ec)],this[_0x4d1332(0x1ec)][0x0][_0x4d1332(0x234)]),await this[_0x4d1332(0x21a)](_0x34230a),_0x5d5068=this[_0x4d1332(0x2ba)](_0x34230a,_0x52a625[_0x4d1332(0x28b)],_0x52a625[_0x4d1332(0x2b9)]),this[_0x4d1332(0x277)]=Math[_0x4d1332(0x215)](this[_0x4d1332(0x277)]/0x2);}return _0x5d5068?!this[_0x4d1332(0x1ca)]()||(this[_0x4d1332(0x2b5)](!0x0),!0x1):this[_0x4d1332(0x283)](_0x4d1332(0x217));}[_0x25edc1(0x2ba)](_0x1c3428,_0x2aab3d,_0x450ef5){const _0x304ade=_0x25edc1;try{const _0x37476e={'document':this[_0x304ade(0x294)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4f5010,operationsB:_0x1993fa,originalOperations:_0x52de7b}=_0x268478(_0x1c3428,this[_0x304ade(0x1ec)],_0x37476e);q(_0x4f5010,this[_0x304ade(0x294)][_0x304ade(0x28b)]),q(_0x1993fa,_0x2aab3d);for(const _0x5575ad of _0x4f5010){const _0x25bcb0=_0x52de7b[_0x304ade(0x1f8)](_0x5575ad);_0x5575ad[_0x304ade(0x223)]=_0x25bcb0?_0x25bcb0[_0x304ade(0x223)]:null;}_0x450ef5&&(this[_0x304ade(0x2bd)][_0x304ade(0x281)](_0x1c3428,_0x450ef5),this[_0x304ade(0x254)]=_0x450ef5),this[_0x304ade(0x1ec)]=[..._0x1993fa],this[_0x304ade(0x287)](_0x4f5010),this[_0x304ade(0x20f)](_0x1c3428);}catch(_0x30f357){return console[_0x304ade(0x260)](_0x30f357),!0x1;}return!0x0;}[_0x25edc1(0x287)](_0x3c2748,_0x27f622=!0x1){const _0x2ca73c=_0x25edc1;this[_0x2ca73c(0x233)][_0x2ca73c(0x2b7)][_0x2ca73c(0x1bf)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1612a1=>{const _0x1c9d9b=_0x2ca73c;for(const _0x7b1ddc of _0x3c2748)this[_0x1c9d9b(0x266)][_0x1c9d9b(0x1ea)](_0x7b1ddc),this[_0x1c9d9b(0x275)](_0x7b1ddc),_0x1612a1[_0x1c9d9b(0x1fd)][_0x1c9d9b(0x224)](_0x7b1ddc),this[_0x1c9d9b(0x233)][_0x1c9d9b(0x2b7)][_0x1c9d9b(0x285)](_0x7b1ddc);});}[_0x25edc1(0x275)](_0x19e102){const _0x192f46=_0x25edc1,_0x5b5ebc=this[_0x192f46(0x1d2)](_0x19e102);_0x5b5ebc&&this[_0x192f46(0x20d)][_0x192f46(0x1ea)](_0x5b5ebc);}[_0x25edc1(0x1d2)](_0x533eac){const _0x57e5ce=_0x25edc1;let _0x4144d7,_0x3415b0;switch(_0x533eac[_0x57e5ce(0x1ef)]){case _0x57e5ce(0x227):_0x4144d7=_0x533eac[_0x57e5ce(0x25a)][_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x202):if(_0x3415b0=_0x533eac[_0x57e5ce(0x200)],!_0x3415b0)return null;_0x4144d7=_0x3415b0[_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x1c9):_0x4144d7=_0x533eac[_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x228):_0x4144d7=_0x533eac[_0x57e5ce(0x259)];break;case _0x57e5ce(0x1f6):_0x4144d7=_0x533eac[_0x57e5ce(0x22b)][_0x57e5ce(0x2b4)];break;default:return null;}return _0x4144d7[_0x57e5ce(0x2a5)];}[_0x25edc1(0x20f)](_0x399bd5){const _0x537076=_0x25edc1;_0x399bd5[_0x537076(0x288)](_0x161223=>{const _0x3c79cd=_0x537076,_0x4fa2c9=_0x161223[_0x3c79cd(0x1d3)]();_0x4fa2c9[_0x3c79cd(0x223)]=_0x161223[_0x3c79cd(0x223)],_0x4fa2c9[_0x3c79cd(0x208)]=!!_0x161223[_0x3c79cd(0x208)],_0x4fa2c9[_0x3c79cd(0x230)]=_0x161223[_0x3c79cd(0x230)],_0x4fa2c9[_0x3c79cd(0x234)]+=this[_0x3c79cd(0x1e7)],_0x161223[_0x3c79cd(0x1fb)]&&this[_0x3c79cd(0x29d)][_0x3c79cd(0x1ea)](_0x4fa2c9),this[_0x3c79cd(0x23f)][_0x3c79cd(0x224)](_0x4fa2c9);});}[_0x25edc1(0x295)](_0xd8a481){const _0x227d26=_0x25edc1,_0x152507=this[_0x227d26(0x233)][_0x227d26(0x290)][_0x227d26(0x1f8)](_0x227d26(0x256)),_0x38545e=this[_0x227d26(0x233)][_0x227d26(0x24b)];_0xd8a481||(_0xd8a481=_0x1ed547(_0x38545e,_0x227d26(0x1c2))),_0x152507[_0x227d26(0x29c)](_0xd8a481,{'title':_0x1ed547(_0x38545e,_0x227d26(0x1c6)),'namespace':_0x227d26(0x271)}),this[_0x227d26(0x27b)]=!0x0,clearTimeout(this[_0x227d26(0x1f0)]),this[_0x227d26(0x1ec)]=[],this[_0x227d26(0x233)][_0x227d26(0x290)][_0x227d26(0x1f8)](_0x14bdb3)[_0x227d26(0x1e8)]();}[_0x25edc1(0x298)](){const _0x13b760=_0x25edc1;this[_0x13b760(0x2ae)]||(this[_0x13b760(0x2ae)]=this[_0x13b760(0x233)][_0x13b760(0x290)][_0x13b760(0x1f8)](_0x1d6655)[_0x13b760(0x1ea)](_0x1ed547(this[_0x13b760(0x233)][_0x13b760(0x24b)],_0x13b760(0x20a))));}[_0x25edc1(0x1ee)](){const _0x14c0c4=_0x25edc1;this[_0x14c0c4(0x2ae)]&&(this[_0x14c0c4(0x233)][_0x14c0c4(0x290)][_0x14c0c4(0x1f8)](_0x1d6655)[_0x14c0c4(0x1e1)](this[_0x14c0c4(0x2ae)]),this[_0x14c0c4(0x2ae)]=null);}[_0x25edc1(0x264)](_0x3c905b){const _0x90ace8=_0x25edc1,_0x202592=_0x3c905b[_0x90ace8(0x1fc)](_0x5d43af=>_0x5d43af[_0x90ace8(0x2b0)]());return this[_0x90ace8(0x26b)][_0x90ace8(0x1bc)](_0x202592);}[_0x25edc1(0x1cd)](_0x4550a2,_0x1ad491){const _0x13941c=_0x25edc1;return this[_0x13941c(0x26b)][_0x13941c(0x292)](_0x4550a2)[_0x13941c(0x1fc)]((_0x2b34f2,_0x544299)=>{const _0x11b3d9=_0x13941c,_0x1a671d=_0x11b3d9(0x235)==_0x1ad491[_0x544299][_0x11b3d9(0x1ef)];if(_0x11b3d9(0x1cf)==_0x2b34f2[_0x11b3d9(0x238)]){const _0x3b3de9=_0x2b34f2[_0x11b3d9(0x25a)][_0x11b3d9(0x2b4)];!this[_0x11b3d9(0x294)][_0x11b3d9(0x220)](_0x3b3de9)&&(this[_0x11b3d9(0x294)][_0x11b3d9(0x2b8)](_0x11b3d9(0x21d),_0x3b3de9)[_0x11b3d9(0x250)]=!0x1);}const _0xb62257=_0x1ea7b6[_0x11b3d9(0x2ad)](_0x2b34f2,this[_0x11b3d9(0x294)]);return _0xb62257[_0x11b3d9(0x29f)]=_0x2b34f2[_0x11b3d9(0x29f)],_0xb62257[_0x11b3d9(0x208)]=_0x1a671d,_0xb62257[_0x11b3d9(0x223)]=_0x1a671d?null:_0x1ad491[_0x544299][_0x11b3d9(0x1f2)],_0xb62257[_0x11b3d9(0x1fb)]=_0x11b3d9(0x23a)===_0x1ad491[_0x544299][_0x11b3d9(0x1ef)],_0xb62257[_0x11b3d9(0x230)]=_0x1ad491[_0x544299][_0x11b3d9(0x230)],_0xb62257;});}[_0x25edc1(0x1e4)](){const _0x3101be=_0x25edc1;this[_0x3101be(0x213)]=!0x0,this[_0x3101be(0x1cc)]()?this[_0x3101be(0x2b5)]():this[_0x3101be(0x213)]=!0x1;}[_0x25edc1(0x1cc)](){const _0xc434de=_0x25edc1,_0x5d725c=this[_0xc434de(0x233)][_0xc434de(0x290)][_0xc434de(0x1f8)](_0x22b84c)[_0xc434de(0x1bd)][_0xc434de(0x1f8)](this[_0xc434de(0x236)]);return!this[_0xc434de(0x233)][_0xc434de(0x1eb)]&&!!_0x5d725c&&_0x5d725c[_0xc434de(0x284)]>0x1&&this[_0xc434de(0x213)];}[_0x25edc1(0x1ca)](){const _0x536ba2=_0x25edc1;return this[_0x536ba2(0x1ec)][_0x536ba2(0x284)]>0x0||this[_0x536ba2(0x1cc)]();}}l[_0x25edc1(0x218)]=_0x37337b;export default l;class H extends Error{}function q(_0xf033bb,_0x1f139e){const _0x2cc0f2=_0x25edc1;for(const _0x39fd7d of _0xf033bb)_0x39fd7d[_0x2cc0f2(0x234)]=_0x1f139e++;}class G{constructor(_0x17ade8){const _0x5dbae3=_0x25edc1;this[_0x5dbae3(0x1f5)]=_0x17ade8,this[_0x5dbae3(0x210)]=new WeakMap();}[_0x25edc1(0x262)](_0x105cb2){const _0x3313df=_0x25edc1;let _0x54eef1=_0x105cb2[_0x3313df(0x284)];for(;_0x54eef1--;){const _0x167493=_0x105cb2[_0x54eef1];if(!this[_0x3313df(0x1f5)][_0x3313df(0x2a8)](_0x167493)){if(!this[_0x3313df(0x210)][_0x3313df(0x2a8)](_0x167493)){const _0x57bf0f=_0x23932a()[_0x3313df(0x1ce)](0x1,0x12);this[_0x3313df(0x210)][_0x3313df(0x2b2)](_0x167493,_0x57bf0f);}return this[_0x3313df(0x210)][_0x3313df(0x1f8)](_0x167493);}}}[_0x25edc1(0x281)](_0x6677a3,_0x4290d6){const _0xe32389=_0x25edc1;if(!_0x4290d6)return;let _0x1fce67=_0x6677a3[_0xe32389(0x284)];for(;_0x1fce67--;){const _0x55da45=_0x6677a3[_0x1fce67];this[_0xe32389(0x1f5)][_0xe32389(0x2a8)](_0x55da45)||this[_0xe32389(0x210)][_0xe32389(0x2b2)](_0x55da45,_0x4290d6);}}}function _0x2aca(){const _0x2b8323=['position','keys','requires','realtimecollaborationclient-init-service-internal-error','rtc-destroyed','entries','error','pluginName','getIdOfTheLastOperation','reset','_compressOperations','sessionCreatedAt','_knownOperations','from','_loadRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastServerVersion','_compressor','getMany','_connectService','directChange','document','isUndoneOperation','real-time-collaboration','reconnection:\x20flushed\x20session','realtimecollaborationclient','stop','_addKnownRoot','rtc-offline','_currentBufferDelay','1560024lPKZZC','disconnected','RealTimeCollaborationClient','_hasSynchronizationProblem','affectsData','isPremiumPlugin','collaboration.channelId','732506EqzmNx','_isPendingUpdate','setIdForTheLastOperation','apply','_crash','length','applyOperation','_bufferRootLoad','_applyOperationsSet','forEach','cloudDocumentVersion','roots','version','enableReadOnlyMode','filter','_waitUntilSynced','permissions','plugins','getUser','decompress','bind','_document','_handleReconnectionError','realtimecollaborationclient-init-session-connection-error','fire','_setPendingAction','realtimecollaborationclient-init-non-existent-root','1284OCiECh','string','showWarning','_disconnectionOperations','isDocumentOperation','wasUndone','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','setPermissions','addUser','getOperations','_handleReconnectionResponse','rootName','stopListening','history','has','cloud-services-internal-error:\x20Request\x20timeout.','getOperationAuthor','includes','60510KQwVCa','fromJSON','_pendingAction','40JVUpMs','toJSON','editing','set','rootsAttributes','root','_sendBufferedOperationsDelayed','CommentsOnly','model','createRoot','lastOperationId','_handleExternalOperations','_setUpDataInit','state','_operationIdentifier','change:_isPendingUpdate','sessionId','markers','404','change:range','compress','channelSessions','_handleServerResponse','enqueueChange','catch','cloudServices.bundleVersion','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.','_handleInitialConnectionData','_handleSendingSelectionMarkers','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Synchronization\x20issue','getDocumentDetails','data','addRootAttribute','_shouldSendUpdate','realtimecollaborationclient-error','_shouldSendSelectionUpdate','_decompressOperations','slice','InsertOperation','start','_baseBufferDelay','_getAffectedRoot','clone','cloud-services-internal-error:\x20Not\x20connected.','operationsReceived','connected','1142414oWbPNA','reconnect','2954124mQZAJp','view','_disconnectService','code','change:_isEditingAllowed','createUserMarkerOperations','470VTlkyq','currentDocumentSession','remove','isEnabled','createPositionFromPath','_refreshUserSelectionMarkers','lastOperationAcceptedAt','end','_offset','disconnect','createRange','add','isReadOnly','_bufferedOperations','suppressErrorInCollaboration','_clearPendingAction','type','_sendBufferedOperationsDelayId','_isLoaded','userId','finally','disableReadOnlyMode','_ignoredOperations','move','_isConnected','get','realtimecollaborationclient-init-connection-failed','_initSessionsHandling','_isDisconnection','map','batch','connect','metadata','newRange','define','marker','offset','409','realtimecollaborationclient-init-service-incorrect-server-operation','sendOperations','_getOperationsFromInitData','_isInit','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','attributes','collaboration','_knownRootNames','initData','_updateServerHistory','_operationToId','Permissions','406483iooyHt','_hasSelectionChanged','_saveOperationInBuffer','round','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','differ','_fetchMissingUsers','startsWith','mySessionId','$root','register','lastSyncVersion','getRoot','selection','sessionAdd:','_authorId','addOperation','config','485mpMEai','insert','addRoot','14912JBhGgc','createPositionAt','targetPosition','change:hasDomSelection','addToReconnectionStack','multi-root-editor-root-attributes-no-root','_connectAfterSessionHasBeenFlushed','createdAt','getConnectedSessions','_service','editor','baseVersion','init','_channelId','destroy','__className','_initThrowingOnDataSet','cs:removeUser','loadRoot','then','_handleReceivedOperations','size','serverHistory','ready','unregister','high','lastDocumentSession','off','realtimecollaborationclient-sendbufferedoperations','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.','collaboration-missing-channelid','_sendBufferedOperations','wereChangesApplied','isOfficialPlugin','locale','message','return','connection','document:write','_isAttached','parse','path','push','_lastSyncedOperationId','removeFromReconnectionStack','Notification','listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','affectedSelectable'];_0x2aca=function(){return _0x2b8323;};return _0x2aca();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x52ef(){const _0x3874f3=['pluginName','isMe','_registeredSessions','2133943fOXCSK','size','_handleSessionRemove','766812dFXdoe','8JxCAvn','1878520ZwHkKX','4802274oAzWOc','forEach','sessionAdd:','unregister','allConnectedUsers','has','state','_users','set','add','stopListening','connected','fire','isOfficialPlugin','clear','addUser','init','connection','24124793JaObTg','listenTo','role','getUserBySessionId','channelConnectedUsers','sessions-register-already-registered','getUserRole','user','isPremiumPlugin','mySessionId','46678CDDIfG','plugins','context','5mIAsxO','_createUser','defineMe','12aTSHDn','sessions-unregister-not-exist','get','channelSessions','change:state','requires','_uniqueUsersCount','sessionId','values','1270852PkJkAw','register','orderNumber','getUserSessions','delete','Sessions','assign','remove','_handleSessionAdd','147CRCzmx','getUser'];_0x52ef=function(){return _0x3874f3;};return _0x52ef();}const _0x13e4c2=_0x3cec;function _0x3cec(_0x188b41,_0x35eeb8){const _0x52ef76=_0x52ef();return _0x3cec=function(_0x3cec30,_0x439e86){_0x3cec30=_0x3cec30-0x1f0;let _0x1750bc=_0x52ef76[_0x3cec30];return _0x1750bc;},_0x3cec(_0x188b41,_0x35eeb8);}(function(_0x10c356,_0x5203db){const _0x3e7270=_0x3cec,_0x431945=_0x10c356();while(!![]){try{const _0x42ded7=-parseInt(_0x3e7270(0x223))/0x1+-parseInt(_0x3e7270(0x214))/0x2*(parseInt(_0x3e7270(0x22c))/0x3)+parseInt(_0x3e7270(0x1f5))/0x4*(-parseInt(_0x3e7270(0x217))/0x5)+parseInt(_0x3e7270(0x21a))/0x6*(parseInt(_0x3e7270(0x1f2))/0x7)+-parseInt(_0x3e7270(0x1f6))/0x8*(-parseInt(_0x3e7270(0x1f8))/0x9)+parseInt(_0x3e7270(0x1f7))/0xa+parseInt(_0x3e7270(0x20a))/0xb;if(_0x42ded7===_0x5203db)break;else _0x431945['push'](_0x431945['shift']());}catch(_0x3ae150){_0x431945['push'](_0x431945['shift']());}}}(_0x52ef,0xe0275));import{ContextPlugin as _0xe72a64}from'ckeditor5/src/core.js';import{Collection as _0x1d6417,CKEditorError as _0x59f46a}from'ckeditor5/src/utils.js';import _0xeeb000 from'./websocketgateway.js';import{Users as _0x3bf897}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xe72a64{static get[_0x13e4c2(0x22e)](){const _0x3fa192=_0x13e4c2;return _0x3fa192(0x228);}static get[_0x13e4c2(0x205)](){return!0x0;}static get[_0x13e4c2(0x212)](){return!0x0;}static get[_0x13e4c2(0x21f)](){return[_0xeeb000,_0x3bf897];}constructor(_0x18ef36){const _0x1e3c9c=_0x13e4c2;super(_0x18ef36),this[_0x1e3c9c(0x21d)]=new Map(),this[_0x1e3c9c(0x20e)]=new Map(),this[_0x1e3c9c(0x1fc)]=new _0x1d6417(),this[_0x1e3c9c(0x1f1)]=new Map(),this[_0x1e3c9c(0x220)]=0x0,this[_0x1e3c9c(0x1ff)]=this[_0x1e3c9c(0x216)][_0x1e3c9c(0x215)][_0x1e3c9c(0x21c)](_0x3bf897);}[_0x13e4c2(0x208)](){const _0x2d158e=_0x13e4c2,_0x31d696=this[_0x2d158e(0x216)][_0x2d158e(0x215)][_0x2d158e(0x21c)](_0xeeb000);this[_0x2d158e(0x20b)](_0x31d696,_0x2d158e(0x21e),(_0x2dfdfb,_0x32802d,_0x16db0b)=>{const _0x2508cc=_0x2d158e;if(_0x2508cc(0x203)!==_0x16db0b)this[_0x2508cc(0x21d)][_0x2508cc(0x1f9)](_0x511b68=>_0x511b68[_0x2508cc(0x206)]()),this[_0x2508cc(0x20e)][_0x2508cc(0x1f9)](_0x920053=>_0x920053[_0x2508cc(0x206)]()),this[_0x2508cc(0x1fc)][_0x2508cc(0x206)]();else{for(const [_0x5a5afd,_0x45f6be]of this[_0x2508cc(0x1f1)])for(const _0x5015a3 of _0x45f6be)this[_0x2508cc(0x22b)](_0x5a5afd,_0x5015a3);}}),this[_0x2d158e(0x218)](_0x31d696[_0x2d158e(0x209)]['me'],!0x0);}[_0x13e4c2(0x224)](_0x1f0057,_0x3b1e8e){const _0x1c2820=_0x13e4c2;if(this[_0x1c2820(0x1f1)][_0x1c2820(0x1fd)](_0x1f0057))throw new _0x59f46a(_0x1c2820(0x20f),null,{'channelId':_0x1f0057});this[_0x1c2820(0x1f1)][_0x1c2820(0x200)](_0x1f0057,_0x3b1e8e),this[_0x1c2820(0x21d)][_0x1c2820(0x200)](_0x1f0057,new _0x1d6417()),this[_0x1c2820(0x20e)][_0x1c2820(0x200)](_0x1f0057,new _0x1d6417()),this[_0x1c2820(0x20b)](_0x3b1e8e,_0x1c2820(0x201),(_0x40eeaa,_0x21b929)=>this[_0x1c2820(0x22b)](_0x1f0057,_0x21b929)),this[_0x1c2820(0x20b)](_0x3b1e8e,_0x1c2820(0x22a),(_0x34e562,_0x4aff4a)=>this[_0x1c2820(0x1f4)](_0x1f0057,_0x4aff4a));for(const _0x29dea8 of _0x3b1e8e)this[_0x1c2820(0x22b)](_0x1f0057,_0x29dea8);}[_0x13e4c2(0x1fb)](_0x3acdc0){const _0x79e738=_0x13e4c2;if(!this[_0x79e738(0x1f1)][_0x79e738(0x1fd)](_0x3acdc0))throw new _0x59f46a(_0x79e738(0x21b),null,{'channelId':_0x3acdc0});const _0x2b75cd=this[_0x79e738(0x1f1)][_0x79e738(0x21c)](_0x3acdc0);this[_0x79e738(0x202)](_0x2b75cd);for(const _0x2cdc5d of _0x2b75cd)_0x79e738(0x203)===this[_0x79e738(0x216)][_0x79e738(0x215)][_0x79e738(0x21c)](_0xeeb000)[_0x79e738(0x1fe)]&&this[_0x79e738(0x1f4)](_0x3acdc0,_0x2cdc5d);this[_0x79e738(0x1f1)][_0x79e738(0x227)](_0x3acdc0),this[_0x79e738(0x21d)][_0x79e738(0x227)](_0x3acdc0),this[_0x79e738(0x20e)][_0x79e738(0x227)](_0x3acdc0);}get[_0x13e4c2(0x213)](){const _0x3d3c51=_0x13e4c2;return this[_0x3d3c51(0x216)][_0x3d3c51(0x215)][_0x3d3c51(0x21c)](_0xeeb000)[_0x3d3c51(0x209)][_0x3d3c51(0x221)];}[_0x13e4c2(0x20d)](_0x341382){const _0x2d5a04=_0x13e4c2;for(const _0x52b6ea of this[_0x2d5a04(0x21d)][_0x2d5a04(0x222)]())for(const _0x5f12d4 of _0x52b6ea)if(_0x5f12d4['id']===_0x341382)return _0x5f12d4[_0x2d5a04(0x211)];}[_0x13e4c2(0x226)](_0x2c9fe4,_0x1448a3){const _0x7ab9ea=_0x13e4c2,_0x4d03d1=_0x1448a3?[this[_0x7ab9ea(0x21d)][_0x7ab9ea(0x21c)](_0x1448a3)]:this[_0x7ab9ea(0x21d)][_0x7ab9ea(0x222)](),_0xbdc7d5=new Set();for(const _0x3cedef of _0x4d03d1)for(const _0x3fd7aa of _0x3cedef)_0x3fd7aa[_0x7ab9ea(0x211)]['id']===_0x2c9fe4['id']&&_0xbdc7d5[_0x7ab9ea(0x201)](_0x3fd7aa['id']);return _0xbdc7d5;}[_0x13e4c2(0x210)](_0xb06f71){const _0x85a925=_0x13e4c2;for(const _0x45a5ba of this[_0x85a925(0x21d)][_0x85a925(0x222)]())for(const _0x5c142b of _0x45a5ba)if(_0x5c142b[_0x85a925(0x211)]===_0xb06f71)return _0x5c142b[_0x85a925(0x20c)];}[_0x13e4c2(0x22b)](_0x59b161,_0x471a8c){const _0x3dc511=_0x13e4c2;if(_0x3dc511(0x203)!==this[_0x3dc511(0x216)][_0x3dc511(0x215)][_0x3dc511(0x21c)](_0xeeb000)[_0x3dc511(0x1fe)])return;const _0x9dcc08=_0x471a8c[_0x3dc511(0x211)],_0x13ab04=this[_0x3dc511(0x1ff)][_0x3dc511(0x22d)](_0x9dcc08['id'])||this[_0x3dc511(0x218)](_0x9dcc08),_0x215bf4=Object[_0x3dc511(0x229)]({},_0x471a8c,{'user':_0x13ab04});this[_0x3dc511(0x21d)][_0x3dc511(0x21c)](_0x59b161)[_0x3dc511(0x201)](_0x215bf4);const _0x2bf963=this[_0x3dc511(0x20e)][_0x3dc511(0x21c)](_0x59b161);_0x2bf963[_0x3dc511(0x1fd)](_0x13ab04['id'])||_0x2bf963[_0x3dc511(0x201)](_0x13ab04),this[_0x3dc511(0x1fc)][_0x3dc511(0x1fd)](_0x13ab04['id'])||this[_0x3dc511(0x1fc)][_0x3dc511(0x201)](_0x13ab04,_0x13ab04[_0x3dc511(0x1f0)]?0x0:void 0x0),this[_0x3dc511(0x204)](_0x3dc511(0x1fa)+_0x59b161,{'channelId':_0x59b161,'session':_0x215bf4});}[_0x13e4c2(0x1f4)](_0xaf9da4,_0x37c61a){const _0x54de5d=_0x13e4c2;if(_0x54de5d(0x203)!==this[_0x54de5d(0x216)][_0x54de5d(0x215)][_0x54de5d(0x21c)](_0xeeb000)[_0x54de5d(0x1fe)])return;const _0x5d5b9f=this[_0x54de5d(0x20e)][_0x54de5d(0x21c)](_0xaf9da4),_0x57eb66=_0x37c61a[_0x54de5d(0x211)];_0x57eb66['id']&&(this[_0x54de5d(0x21d)][_0x54de5d(0x21c)](_0xaf9da4)[_0x54de5d(0x22a)](_0x37c61a['id']),_0x5d5b9f[_0x54de5d(0x1fd)](_0x57eb66['id'])&&!this[_0x54de5d(0x226)](_0x57eb66,_0xaf9da4)[_0x54de5d(0x1f3)]&&_0x5d5b9f[_0x54de5d(0x22a)](_0x57eb66['id']),this[_0x54de5d(0x1fc)][_0x54de5d(0x21c)](_0x57eb66['id'])&&!this[_0x54de5d(0x226)](_0x57eb66)[_0x54de5d(0x1f3)]&&this[_0x54de5d(0x1fc)][_0x54de5d(0x22a)](_0x57eb66['id']));}[_0x13e4c2(0x218)](_0x31c7e0,_0x36e4a6){const _0x2b890f=_0x13e4c2,_0x11da91=this[_0x2b890f(0x1ff)][_0x2b890f(0x207)](_0x31c7e0);return _0x36e4a6&&this[_0x2b890f(0x1ff)][_0x2b890f(0x219)](_0x31c7e0['id']),_0x11da91[_0x2b890f(0x225)]=this[_0x2b890f(0x220)]++,_0x11da91;}}
23
+ const _0x9e0373=_0x3aa0;(function(_0x224ba9,_0x40a5c3){const _0x559aa2=_0x3aa0,_0x40fb3d=_0x224ba9();while(!![]){try{const _0x4c1fa1=-parseInt(_0x559aa2(0x167))/0x1+-parseInt(_0x559aa2(0x170))/0x2*(parseInt(_0x559aa2(0x16f))/0x3)+parseInt(_0x559aa2(0x17b))/0x4*(-parseInt(_0x559aa2(0x190))/0x5)+parseInt(_0x559aa2(0x17e))/0x6*(parseInt(_0x559aa2(0x17d))/0x7)+-parseInt(_0x559aa2(0x17f))/0x8*(parseInt(_0x559aa2(0x195))/0x9)+parseInt(_0x559aa2(0x19f))/0xa*(-parseInt(_0x559aa2(0x171))/0xb)+parseInt(_0x559aa2(0x19c))/0xc*(parseInt(_0x559aa2(0x168))/0xd);if(_0x4c1fa1===_0x40a5c3)break;else _0x40fb3d['push'](_0x40fb3d['shift']());}catch(_0x3bcabc){_0x40fb3d['push'](_0x40fb3d['shift']());}}}(_0x3541,0x73b64));import{ContextPlugin as _0x4cb7f7}from'ckeditor5/src/core.js';function _0x3aa0(_0x43dec7,_0xfff95d){const _0x3541fe=_0x3541();return _0x3aa0=function(_0x3aa04c,_0x240df3){_0x3aa04c=_0x3aa04c-0x163;let _0x4f2aee=_0x3541fe[_0x3aa04c];return _0x4f2aee;},_0x3aa0(_0x43dec7,_0xfff95d);}import{Collection as _0x15124a,CKEditorError as _0x52be30}from'ckeditor5/src/utils.js';import _0x4c4a7f from'./websocketgateway.js';import{Users as _0x39bf6c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x4cb7f7{static get[_0x9e0373(0x172)](){const _0x2eec3d=_0x9e0373;return _0x2eec3d(0x182);}static get[_0x9e0373(0x198)](){return!0x0;}static get[_0x9e0373(0x189)](){return!0x0;}static get[_0x9e0373(0x180)](){return[_0x4c4a7f,_0x39bf6c];}constructor(_0xb43d94){const _0x18a520=_0x9e0373;super(_0xb43d94),this[_0x18a520(0x18d)]=new Map(),this[_0x18a520(0x1a0)]=new Map(),this[_0x18a520(0x193)]=new _0x15124a(),this[_0x18a520(0x191)]=new Map(),this[_0x18a520(0x178)]=0x0,this[_0x18a520(0x1a3)]=this[_0x18a520(0x183)][_0x18a520(0x18c)][_0x18a520(0x18f)](_0x39bf6c);}[_0x9e0373(0x164)](){const _0x4d961e=_0x9e0373,_0x48cc63=this[_0x4d961e(0x183)][_0x4d961e(0x18c)][_0x4d961e(0x18f)](_0x4c4a7f);this[_0x4d961e(0x18e)](_0x48cc63,_0x4d961e(0x17a),(_0x5d9d39,_0x1b2a28,_0x3707c2)=>{const _0x5de88b=_0x4d961e;if(_0x5de88b(0x19d)!==_0x3707c2)this[_0x5de88b(0x18d)][_0x5de88b(0x184)](_0x3bd415=>_0x3bd415[_0x5de88b(0x196)]()),this[_0x5de88b(0x1a0)][_0x5de88b(0x184)](_0x34d1b4=>_0x34d1b4[_0x5de88b(0x196)]()),this[_0x5de88b(0x193)][_0x5de88b(0x196)]();else{for(const [_0x2cbcad,_0x5a0185]of this[_0x5de88b(0x191)])for(const _0x58bae2 of _0x5a0185)this[_0x5de88b(0x19a)](_0x2cbcad,_0x58bae2);}}),this[_0x4d961e(0x165)](_0x48cc63[_0x4d961e(0x18b)]['me'],!0x0);}[_0x9e0373(0x173)](_0x151fe6,_0x17644f){const _0x253572=_0x9e0373;if(this[_0x253572(0x191)][_0x253572(0x163)](_0x151fe6))throw new _0x52be30(_0x253572(0x16d),null,{'channelId':_0x151fe6});this[_0x253572(0x191)][_0x253572(0x19b)](_0x151fe6,_0x17644f),this[_0x253572(0x18d)][_0x253572(0x19b)](_0x151fe6,new _0x15124a()),this[_0x253572(0x1a0)][_0x253572(0x19b)](_0x151fe6,new _0x15124a()),this[_0x253572(0x18e)](_0x17644f,_0x253572(0x16b),(_0x3abfde,_0x3fc813)=>this[_0x253572(0x19a)](_0x151fe6,_0x3fc813)),this[_0x253572(0x18e)](_0x17644f,_0x253572(0x1a1),(_0x21116e,_0x3dddbb)=>this[_0x253572(0x179)](_0x151fe6,_0x3dddbb));for(const _0x593ea9 of _0x17644f)this[_0x253572(0x19a)](_0x151fe6,_0x593ea9);}[_0x9e0373(0x169)](_0x4738f1){const _0x663255=_0x9e0373;if(!this[_0x663255(0x191)][_0x663255(0x163)](_0x4738f1))throw new _0x52be30(_0x663255(0x19e),null,{'channelId':_0x4738f1});const _0x2593b7=this[_0x663255(0x191)][_0x663255(0x18f)](_0x4738f1);this[_0x663255(0x188)](_0x2593b7);for(const _0x58885d of _0x2593b7)_0x663255(0x19d)===this[_0x663255(0x183)][_0x663255(0x18c)][_0x663255(0x18f)](_0x4c4a7f)[_0x663255(0x16a)]&&this[_0x663255(0x179)](_0x4738f1,_0x58885d);this[_0x663255(0x191)][_0x663255(0x174)](_0x4738f1),this[_0x663255(0x18d)][_0x663255(0x174)](_0x4738f1),this[_0x663255(0x1a0)][_0x663255(0x174)](_0x4738f1);}get[_0x9e0373(0x197)](){const _0x337a8f=_0x9e0373;return this[_0x337a8f(0x183)][_0x337a8f(0x18c)][_0x337a8f(0x18f)](_0x4c4a7f)[_0x337a8f(0x18b)][_0x337a8f(0x16c)];}[_0x9e0373(0x181)](_0x204d57){const _0x4af216=_0x9e0373;for(const _0x3090f8 of this[_0x4af216(0x18d)][_0x4af216(0x185)]())for(const _0x3c0ff3 of _0x3090f8)if(_0x3c0ff3['id']===_0x204d57)return _0x3c0ff3[_0x4af216(0x1a2)];}[_0x9e0373(0x194)](_0x3408c9,_0x27c4b5){const _0x300366=_0x9e0373,_0x8d9287=_0x27c4b5?[this[_0x300366(0x18d)][_0x300366(0x18f)](_0x27c4b5)]:this[_0x300366(0x18d)][_0x300366(0x185)](),_0x5e3a7c=new Set();for(const _0x388e30 of _0x8d9287)for(const _0x1dc52d of _0x388e30)_0x1dc52d[_0x300366(0x1a2)]['id']===_0x3408c9['id']&&_0x5e3a7c[_0x300366(0x16b)](_0x1dc52d['id']);return _0x5e3a7c;}[_0x9e0373(0x16e)](_0x6d4e50){const _0x22a909=_0x9e0373;for(const _0x16aa84 of this[_0x22a909(0x18d)][_0x22a909(0x185)]())for(const _0x393261 of _0x16aa84)if(_0x393261[_0x22a909(0x1a2)]===_0x6d4e50)return _0x393261[_0x22a909(0x186)];}[_0x9e0373(0x19a)](_0x64b7e3,_0xc64ebb){const _0x1768a3=_0x9e0373;if(_0x1768a3(0x19d)!==this[_0x1768a3(0x183)][_0x1768a3(0x18c)][_0x1768a3(0x18f)](_0x4c4a7f)[_0x1768a3(0x16a)])return;const _0x5d0baf=_0xc64ebb[_0x1768a3(0x1a2)],_0x76b86e=this[_0x1768a3(0x1a3)][_0x1768a3(0x17c)](_0x5d0baf['id'])||this[_0x1768a3(0x165)](_0x5d0baf),_0xd2509=Object[_0x1768a3(0x199)]({},_0xc64ebb,{'user':_0x76b86e});this[_0x1768a3(0x18d)][_0x1768a3(0x18f)](_0x64b7e3)[_0x1768a3(0x16b)](_0xd2509);const _0x283216=this[_0x1768a3(0x1a0)][_0x1768a3(0x18f)](_0x64b7e3);_0x283216[_0x1768a3(0x163)](_0x76b86e['id'])||_0x283216[_0x1768a3(0x16b)](_0x76b86e),this[_0x1768a3(0x193)][_0x1768a3(0x163)](_0x76b86e['id'])||this[_0x1768a3(0x193)][_0x1768a3(0x16b)](_0x76b86e,_0x76b86e[_0x1768a3(0x187)]?0x0:void 0x0),this[_0x1768a3(0x166)](_0x1768a3(0x177)+_0x64b7e3,{'channelId':_0x64b7e3,'session':_0xd2509});}[_0x9e0373(0x179)](_0x56989d,_0x464c67){const _0x50f08f=_0x9e0373;if(_0x50f08f(0x19d)!==this[_0x50f08f(0x183)][_0x50f08f(0x18c)][_0x50f08f(0x18f)](_0x4c4a7f)[_0x50f08f(0x16a)])return;const _0xea677=this[_0x50f08f(0x1a0)][_0x50f08f(0x18f)](_0x56989d),_0x5a1495=_0x464c67[_0x50f08f(0x1a2)];_0x5a1495['id']&&(this[_0x50f08f(0x18d)][_0x50f08f(0x18f)](_0x56989d)[_0x50f08f(0x1a1)](_0x464c67['id']),_0xea677[_0x50f08f(0x163)](_0x5a1495['id'])&&!this[_0x50f08f(0x194)](_0x5a1495,_0x56989d)[_0x50f08f(0x192)]&&_0xea677[_0x50f08f(0x1a1)](_0x5a1495['id']),this[_0x50f08f(0x193)][_0x50f08f(0x18f)](_0x5a1495['id'])&&!this[_0x50f08f(0x194)](_0x5a1495)[_0x50f08f(0x192)]&&this[_0x50f08f(0x193)][_0x50f08f(0x1a1)](_0x5a1495['id']));}[_0x9e0373(0x165)](_0x8250cb,_0x16d2cb){const _0x4ad813=_0x9e0373,_0x6df6ec=this[_0x4ad813(0x1a3)][_0x4ad813(0x176)](_0x8250cb);return _0x16d2cb&&this[_0x4ad813(0x1a3)][_0x4ad813(0x175)](_0x8250cb['id']),_0x6df6ec[_0x4ad813(0x18a)]=this[_0x4ad813(0x178)]++,_0x6df6ec;}}function _0x3541(){const _0xc05290=['stopListening','isPremiumPlugin','orderNumber','connection','plugins','channelSessions','listenTo','get','98585lIjFVT','_registeredSessions','size','allConnectedUsers','getUserSessions','63711ewcXbs','clear','mySessionId','isOfficialPlugin','assign','_handleSessionAdd','set','11569032KvsmDv','connected','sessions-unregister-not-exist','410vQlwQC','channelConnectedUsers','remove','user','_users','has','init','_createUser','fire','144459IZnNka','39SaiSTT','unregister','state','add','sessionId','sessions-register-already-registered','getUserRole','3lbbLsy','1746086wbllqu','7623MQUCRb','pluginName','register','delete','defineMe','addUser','sessionAdd:','_uniqueUsersCount','_handleSessionRemove','change:state','148TSxQdF','getUser','7322GoKbHK','1104OgGfJA','944PiitFq','requires','getUserBySessionId','Sessions','context','forEach','values','role','isMe'];_0x3541=function(){return _0xc05290;};return _0x3541();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x404abb=_0x237f;function _0x237f(_0x46a40f,_0x300867){const _0x3bdf3d=_0x3bdf();return _0x237f=function(_0x237f22,_0x46999d){_0x237f22=_0x237f22-0x70;let _0x2cbfb6=_0x3bdf3d[_0x237f22];return _0x2cbfb6;},_0x237f(_0x46a40f,_0x300867);}(function(_0x30aa65,_0x42431c){const _0x125831=_0x237f,_0x5d1636=_0x30aa65();while(!![]){try{const _0x2ef728=parseInt(_0x125831(0xef))/0x1+parseInt(_0x125831(0x8b))/0x2+parseInt(_0x125831(0x88))/0x3*(parseInt(_0x125831(0xcc))/0x4)+parseInt(_0x125831(0xc3))/0x5+parseInt(_0x125831(0x8e))/0x6+parseInt(_0x125831(0xc5))/0x7*(-parseInt(_0x125831(0xd9))/0x8)+-parseInt(_0x125831(0x8c))/0x9;if(_0x2ef728===_0x42431c)break;else _0x5d1636['push'](_0x5d1636['shift']());}catch(_0x398259){_0x5d1636['push'](_0x5d1636['shift']());}}}(_0x3bdf,0x397e7));import{Plugin as _0x1e7478}from'ckeditor5/src/core.js';import{global as _0x520b9d,DomEmitterMixin as _0x179441}from'ckeditor5/src/utils.js';import _0x1719e7 from'./sessions.js';import{LiveRange as _0x2d3654}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1e7478{constructor(){const _0x408d2e=_0x237f;super(...arguments),this[_0x408d2e(0xda)]=new(_0x179441())();}static get[_0x404abb(0xd4)](){return[_0x1719e7];}static get[_0x404abb(0x96)](){const _0x3585b3=_0x404abb;return _0x3585b3(0xb8);}static get[_0x404abb(0xd2)](){return!0x0;}static get[_0x404abb(0x73)](){return!0x0;}[_0x404abb(0xdb)](){const _0x274b4f=_0x404abb,_0xa9db3=this[_0x274b4f(0xa8)],_0x128920=_0xa9db3[_0x274b4f(0xf9)][_0x274b4f(0x98)](_0x1719e7);_0xa9db3[_0x274b4f(0xe6)][_0x274b4f(0x7c)](_0x274b4f(0xb9))[_0x274b4f(0xa5)]({'model':_0x274b4f(0xed),'view':(_0x8ec6ba,{writer:_0xd10be3})=>function(_0x1a043b,_0x25eb44,_0x2a74af,_0x350c97){const _0x411f6c=_0x274b4f,_0x5a35be=_0x1a043b[_0x411f6c(0xea)][_0x411f6c(0xa2)](':')[0x2],_0x36a452=_0x2a74af[_0x411f6c(0xbc)](_0x5a35be);if(!_0x36a452||_0x5a35be===_0x2a74af[_0x411f6c(0xe0)])return;if(!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)][_0x411f6c(0xa4)](_0x1a043b[_0x411f6c(0xcf)][_0x411f6c(0xca)],_0x411f6c(0xb3)))return;const _0x3ef8d3={'class':_0x411f6c(0x86)+_0x36a452[_0x411f6c(0xbd)][_0x411f6c(0xb6)](),'data-name':_0x36a452[_0x411f6c(0xe4)],'data-session-id':_0x5a35be},_0x4f4b9d=_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xcd)][_0x411f6c(0x98)](_0x1a043b[_0x411f6c(0xea)]),_0xbafea5=_0x4f4b9d[_0x411f6c(0xc4)](),_0x19889f=_0xbafea5[_0x411f6c(0xf0)],_0x4a536e=_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)];if(_0x19889f&&_0x4a536e[_0x411f6c(0x9d)](_0x19889f)&&_0x4a536e[_0x411f6c(0x93)](_0x19889f)&&!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xcd)][_0x411f6c(0x98)](_0x411f6c(0xe8)+_0x5a35be)[_0x411f6c(0x94)]()[_0x411f6c(0xf2)])return;const _0x3f4890=_0xbafea5[_0x411f6c(0xa0)];return _0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)][_0x411f6c(0x85)](_0x3f4890)&&!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xbb)](_0x3f4890)&&(_0x3ef8d3[_0x411f6c(0x92)]=!0x1),function(_0x519718,_0x142174,_0x30a61d){const _0xafd61c=_0x411f6c,_0x35c736=_0x519718[_0xafd61c(0x9c)](_0xafd61c(0xe1),_0x142174);return _0x519718[_0xafd61c(0xcb)](_0xafd61c(0x8d),!0x0,_0x35c736),_0x35c736[_0xafd61c(0xb1)]=function(_0x275c08){const _0x3f3da4=_0xafd61c,_0x239795=this[_0x3f3da4(0xa7)](_0x275c08),_0x15f988=document[_0x3f3da4(0xd7)](_0x3f3da4(0xe1));return _0x15f988[_0x3f3da4(0xc1)][_0x3f3da4(0xac)](_0x3f3da4(0x82)),_0x15f988[_0x3f3da4(0xf8)](_0x3f3da4(0x92),_0x3f3da4(0xaa)),_0x15f988[_0x3f3da4(0xf8)](_0x3f3da4(0x7d),_0x3f3da4(0xaa)),_0x15f988[_0x3f3da4(0x9e)]=_0x30a61d[_0x3f3da4(0xe4)],_0x239795[_0x3f3da4(0x77)]=_0x3f3da4(0x83)+_0x15f988[_0x3f3da4(0x9a)]+'⁠',_0x239795[_0x3f3da4(0xba)](_0x3f3da4(0x76),()=>{const _0x80d80b=_0x3f3da4;_0x239795[_0x80d80b(0xc1)][_0x80d80b(0xac)](_0x80d80b(0x80));}),_0x239795[_0x3f3da4(0xba)](_0x3f3da4(0x90),()=>{const _0x18dd82=_0x3f3da4;_0x239795[_0x18dd82(0xc1)][_0x18dd82(0xc9)](_0x18dd82(0x80));}),_0x239795;},_0x35c736[_0xafd61c(0xe3)]=function(_0x54d75a){const _0x2397c6=_0xafd61c;return!(!this[_0x2397c6(0x7e)](_0x2397c6(0x8d))||!_0x54d75a[_0x2397c6(0x7e)](_0x2397c6(0x8d))||this[_0x2397c6(0xd1)](_0x2397c6(0xd5))!=_0x54d75a[_0x2397c6(0xd1)](_0x2397c6(0xd5)));},_0x35c736;}(_0x25eb44,_0x3ef8d3,_0x36a452);}(_0x8ec6ba,_0xd10be3,_0x128920,_0xa9db3)}),_0xa9db3[_0x274b4f(0xe6)][_0x274b4f(0x7c)](_0x274b4f(0xb9))[_0x274b4f(0x97)]({'model':_0x274b4f(0x7b),'view':_0x4bdd2a=>function(_0x349f8a,_0x4a8b78){const _0x56c38e=_0x274b4f,_0x267fe5=_0x349f8a[_0x56c38e(0xea)][_0x56c38e(0xa2)](':')[0x2];if(_0x267fe5===_0x4a8b78[_0x56c38e(0xe0)])return null;const _0x592dea=_0x4a8b78[_0x56c38e(0xbc)](_0x267fe5);if(!_0x592dea)return{'id':_0x267fe5,'classes':[]};return{'id':_0x267fe5,'classes':[_0x56c38e(0xb2),_0x592dea[_0x56c38e(0xbd)][_0x56c38e(0xf1)]()],'attributes':{'data-session-id':_0x267fe5},'priority':0x7d0+_0x592dea[_0x56c38e(0x75)]};}(_0x4bdd2a,_0x128920)}),function(_0xa9404d){const _0x10f4f0=_0x274b4f,_0x1624a2=_0xa9404d[_0x10f4f0(0xce)],_0x319596=new Map(),_0x56cefb=_0xa9404d[_0x10f4f0(0xf9)][_0x10f4f0(0x98)](_0x1719e7);_0x1624a2[_0x10f4f0(0xcd)]['on'](_0x10f4f0(0xe5),(_0x55a850,_0x5c4aa1,_0x32ee40,_0x54afbc)=>{const _0x14b17d=_0x10f4f0;if(!_0x54afbc&&_0x319596[_0x14b17d(0x98)](_0x5c4aa1[_0x14b17d(0xe4)]))return _0x319596[_0x14b17d(0x98)](_0x5c4aa1[_0x14b17d(0xe4)])[_0x14b17d(0xc2)](),void _0x319596[_0x14b17d(0xee)](_0x5c4aa1[_0x14b17d(0xe4)]);const _0x32e10c=_0x5c4aa1[_0x14b17d(0xe4)][_0x14b17d(0xa2)](':')[0x2];if(_0x32e10c===_0x56cefb[_0x14b17d(0xe0)])return;const _0x3e2870=_0x14b17d(0xe9)+_0x32e10c;_0x1624a2[_0x14b17d(0xcd)][_0x14b17d(0xdf)](_0x3e2870)&&_0xa9404d[_0x14b17d(0x89)][_0x14b17d(0x84)](_0x3e2870),_0x5c4aa1['on'](_0x14b17d(0xc6),(_0x326a09,_0x230311,_0x114873)=>{const _0x3fcba0=_0x14b17d;if(_0x3fcba0(0x9b)!=_0x230311[_0x3fcba0(0xa1)][_0x3fcba0(0x7f)]&&_0x3fcba0(0x9b)==_0x5c4aa1[_0x3fcba0(0x94)]()[_0x3fcba0(0xa1)][_0x3fcba0(0x7f)]&&!_0x319596[_0x3fcba0(0xdf)](_0x5c4aa1[_0x3fcba0(0xe4)])){const _0x3c46f2=_0x1624a2[_0x3fcba0(0xb5)][_0x3fcba0(0x7a)](_0x114873[_0x3fcba0(0xdc)]);if(_0x3c46f2){const _0x98adcd=_0x2d3654[_0x3fcba0(0xde)](_0x3c46f2);_0x319596[_0x3fcba0(0xb4)](_0x5c4aa1[_0x3fcba0(0xe4)],_0x98adcd),_0x98adcd['on'](_0x3fcba0(0xc6),(_0x345100,_0x2a47dd,_0x1eabff)=>{const _0x4a0506=_0x3fcba0;if(_0x4a0506(0x9b)==_0x98adcd[_0x4a0506(0xa1)][_0x4a0506(0x7f)]){const _0x45e4bf=_0x1624a2[_0x4a0506(0xb5)][_0x4a0506(0x7a)](_0x1eabff[_0x4a0506(0xdc)]);_0x45e4bf?(_0x98adcd[_0x4a0506(0xca)]=_0x45e4bf[_0x4a0506(0xca)],_0x98adcd[_0x4a0506(0xec)]=_0x45e4bf[_0x4a0506(0xec)]):(_0x319596[_0x4a0506(0xee)](_0x5c4aa1[_0x4a0506(0xe4)]),_0x98adcd[_0x4a0506(0xc2)]());}});}}});}),_0x1624a2[_0x10f4f0(0xab)]['on'](_0x10f4f0(0x74),()=>{const _0x4dfb3b=_0x10f4f0;_0x319596[_0x4dfb3b(0xf5)]>0x0&&_0x1624a2[_0x4dfb3b(0xb0)]({'isUndoable':!0x1},_0x42e052=>{const _0x754f30=_0x4dfb3b;for(const [_0x317c92,_0x397f85]of _0x319596)_0x754f30(0x9b)==_0x1624a2[_0x754f30(0xcd)][_0x754f30(0x98)](_0x317c92)[_0x754f30(0x94)]()[_0x754f30(0xa1)][_0x754f30(0x7f)]&&(re(_0x317c92[_0x754f30(0xa2)](':')[0x2],_0x397f85[_0x754f30(0xc7)](),_0x1624a2,_0x42e052),_0x397f85[_0x754f30(0xc2)]());_0x319596[_0x754f30(0x70)]();});});}(_0xa9db3),this[_0x274b4f(0xda)][_0x274b4f(0x91)](_0x520b9d[_0x274b4f(0xab)],_0x274b4f(0x9f),(_0x598b5a,{key:_0x5b3576})=>{const _0x44c523=_0x274b4f;_0x44c523(0xd3)===_0x5b3576&&function(_0x3b9680){const _0x560f71=_0x44c523;_0x3b9680[_0x560f71(0x89)][_0x560f71(0xc8)][_0x560f71(0x74)](_0x36ce21=>{const _0x31b235=_0x560f71;for(const _0x362c2c of _0x3b9680[_0x31b235(0xce)][_0x31b235(0xcd)]){if(!_0x362c2c[_0x31b235(0xe4)][_0x31b235(0x8f)](_0x31b235(0xed)))continue;const _0x448f64=_0x3b9680[_0x31b235(0x89)][_0x31b235(0x87)][_0x31b235(0xa9)](_0x362c2c[_0x31b235(0xe4)]);if(_0x448f64){for(const _0x44c78a of _0x448f64)_0x36ce21[_0x31b235(0xdd)](_0x31b235(0x80),_0x44c78a);}}});}(_0xa9db3);},{'useCapture':!0x0});}[_0x404abb(0xa3)](){const _0x2a32a1=_0x404abb,_0x86abcb=this[_0x2a32a1(0xa8)],_0x5e4e93=_0x86abcb[_0x2a32a1(0xaf)][_0x2a32a1(0x98)](_0x2a32a1(0x78));_0x5e4e93&&_0x86abcb[_0x2a32a1(0xce)]['on'](_0x2a32a1(0xf3),(_0x31f334,_0x20022e)=>{const _0x1aec84=_0x2a32a1,_0x4780a9=_0x20022e[0x0];if(!_0x4780a9[_0x1aec84(0x79)])return;if(_0x1aec84(0xd0)!=_0x4780a9[_0x1aec84(0xe2)]||!_0x4780a9[_0x1aec84(0xe4)][_0x1aec84(0x8f)](_0x1aec84(0xc0)))return;const _0x6c530a=_0x4780a9[_0x1aec84(0x99)];_0x5e4e93[_0x1aec84(0x8a)][_0x1aec84(0xdf)](_0x6c530a)&&(_0x4780a9[_0x1aec84(0xf4)]=_0x4780a9[_0x1aec84(0x72)]?_0x86abcb[_0x1aec84(0xce)][_0x1aec84(0xad)](_0x4780a9[_0x1aec84(0x72)][_0x1aec84(0xca)],_0x4780a9[_0x1aec84(0x72)][_0x1aec84(0xec)]):null);},{'priority':_0x2a32a1(0xae)});}[_0x404abb(0xd6)](){const _0x4bd941=_0x404abb;return this[_0x4bd941(0xda)][_0x4bd941(0x95)](),super[_0x4bd941(0xd6)]();}[_0x404abb(0xbe)](){const _0x59ddd0=_0x404abb,_0x49ddb6=this[_0x59ddd0(0xa8)],_0x57759a=_0x49ddb6[_0x59ddd0(0xce)][_0x59ddd0(0xab)],_0x32303e=_0x49ddb6[_0x59ddd0(0xf9)][_0x59ddd0(0x98)](_0x1719e7);_0x49ddb6[_0x59ddd0(0xce)][_0x59ddd0(0xb0)]({'isUndoable':!0x1},_0x41c6ac=>{const _0x48558b=_0x59ddd0,_0x682d2e=_0x48558b(0xe8)+_0x32303e[_0x48558b(0xe0)],_0x154438=_0x48558b(0xe9)+_0x32303e[_0x48558b(0xe0)],_0x12748e=_0x49ddb6[_0x48558b(0xce)][_0x48558b(0xcd)][_0x48558b(0xdf)](_0x682d2e);_0x49ddb6[_0x48558b(0x89)][_0x48558b(0xc8)][_0x48558b(0xb7)]?re(_0x32303e[_0x48558b(0xe0)],_0x57759a[_0x48558b(0x71)][_0x48558b(0xf6)](),_0x49ddb6[_0x48558b(0xce)],_0x41c6ac):_0x12748e&&(_0x41c6ac[_0x48558b(0xeb)](_0x682d2e),_0x41c6ac[_0x48558b(0xeb)](_0x154438));});}}function _0x3bdf(){const _0x35dbfb=['user:','classList','detach','462470EZwyEC','getStart','32039MeNPzB','change:range','toRange','view','remove','start','setCustomProperty','1525132TVhevj','markers','model','markerRange','marker','getAttribute','isOfficialPlugin','Escape','requires','data-session-id','destroy','createElement','tableCell','448iKcaNl','_domEmitter','init','deletionPosition','removeClass','fromRange','has','mySessionId','span','type','isSimilar','name','update:user:range','conversion','getPositions','user:range:','user:position:','markerName','removeMarker','end','user:position','delete','129096hJRuHt','nodeAfter','getSelectionClass','isCollapsed','applyOperation','newRange','size','getFirstRange','addMarker','setAttribute','plugins','clear','selection','oldRange','isPremiumPlugin','change','orderNumber','mouseenter','innerHTML','undo','isDocumentOperation','getNearestSelectionRange','user:range','for','spellcheck','getCustomProperty','rootName','ck-user__marker_hovered','element','ck-user__marker-tooltip','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','reconvertMarker','isLimit','ck-user__marker\x20','mapper','3qqGcBo','editing','_createdBatches','275926eZIESO','2919861qyvlVz','userPositionMarker','452400hTUeWd','startsWith','mouseleave','listenTo','contenteditable','isInline','getRange','stopListening','pluginName','markerToHighlight','get','batch','outerHTML','$graveyard','createUIElement','isObject','textContent','keydown','parent','root','split','afterInit','checkChild','markerToElement','updateMarker','toDomElement','editor','markerNameToElements','false','document','add','createRange','highest','commands','enqueueChange','render','ck-user__selection','$text','set','schema','getMarkerClass','hasDomSelection','UserMarkers','editingDowncast','addEventListener','hasContent','getUserBySessionId','color','createUserMarkerOperations','getContainedElement'];_0x3bdf=function(){return _0x35dbfb;};return _0x3bdf();}function re(_0x3adeb0,_0x305771,_0x517b4b,_0x162d09){const _0x4b7371=_0x404abb,_0xb891df=_0x4b7371(0xe8)+_0x3adeb0,_0x42782a=_0x4b7371(0xe9)+_0x3adeb0,_0x5c82bc=_0x305771[_0x4b7371(0xbf)]();let _0x316614=_0x305771[_0x4b7371(0xca)];_0x5c82bc&&_0x5c82bc['is'](_0x4b7371(0x81),_0x4b7371(0xd8))&&(_0x316614=function(_0x1d4b7d,_0x152a90){const _0x3df4fc=_0x4b7371;for(const _0x470361 of _0x1d4b7d[_0x3df4fc(0xe7)]())if(_0x152a90[_0x3df4fc(0xb5)][_0x3df4fc(0xa4)](_0x470361,_0x3df4fc(0xb3)))return _0x470361;}(_0x305771,_0x517b4b),_0x305771=_0x162d09[_0x4b7371(0xad)](_0x316614));const _0x1d1d12=_0x162d09[_0x4b7371(0xad)](_0x316614);_0x517b4b[_0x4b7371(0xcd)][_0x4b7371(0xdf)](_0xb891df)?(_0x162d09[_0x4b7371(0xa6)](_0xb891df,{'range':_0x305771}),_0x162d09[_0x4b7371(0xa6)](_0x42782a,{'range':_0x1d1d12})):(_0x162d09[_0x4b7371(0xf7)](_0xb891df,{'range':_0x305771,'usingOperation':!0x0}),_0x162d09[_0x4b7371(0xf7)](_0x42782a,{'range':_0x1d1d12,'usingOperation':!0x0}));}
23
+ const _0x42db04=_0x3058;function _0x3058(_0x2752cc,_0x5b4a2b){const _0x4578c3=_0x4578();return _0x3058=function(_0x305806,_0x4b86ad){_0x305806=_0x305806-0x16e;let _0x33a428=_0x4578c3[_0x305806];return _0x33a428;},_0x3058(_0x2752cc,_0x5b4a2b);}function _0x4578(){const _0x5a7cd1=['color','getContainedElement','schema','5039730rBmckH','527315PwGVRt','keydown','commands','change','has','markerName','markerRange','batch','toRange','add','$text','orderNumber','21991qDwheP','userPositionMarker','for','updateMarker','9238672MlpUcc','afterInit','ck-user__marker\x20','marker','markers','setCustomProperty','checkChild','668859sfjZzx','spellcheck','52DrThVF','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_domEmitter','user:','user:range','root','conversion','6ntBuBM','getRange','end','textContent','tableCell','mySessionId','oldRange','createUIElement','ck-user__marker_hovered','isOfficialPlugin','editingDowncast','createUserMarkerOperations','reconvertMarker','editing','data-session-id','hasDomSelection','toDomElement','setAttribute','isObject','startsWith','removeClass','change:range','parent','getCustomProperty','deletionPosition','isCollapsed','addMarker','getUserBySessionId','remove','isSimilar','view','isPremiumPlugin','28gjiDfN','contenteditable','ck-user__selection','mouseleave','UserMarkers','applyOperation','user:position:','getNearestSelectionRange','newRange','editor','rootName','hasContent','createElement','element','size','pluginName','stopListening','selection','isInline','getStart','set','nodeAfter','ck-user__marker-tooltip','getPositions','highest','listenTo','user:range:','fromRange','mouseenter','getFirstRange','addEventListener','span','render','detach','split','start','type','enqueueChange','get','createRange','Escape','_createdBatches','innerHTML','model','update:user:range','removeMarker','classList','document','user:position','isLimit','$graveyard','init','clear','isDocumentOperation','delete','markerToElement','mapper','requires','false','outerHTML','11251152uPBeFa','getSelectionClass','markerNameToElements','getMarkerClass','plugins','undo','672049JzYcNL','markerToHighlight','destroy','name','getAttribute'];_0x4578=function(){return _0x5a7cd1;};return _0x4578();}(function(_0x343bc9,_0x1324bc){const _0x33d10c=_0x3058,_0x5eeb4a=_0x343bc9();while(!![]){try{const _0x32e7f3=parseInt(_0x33d10c(0x1d7))/0x1*(-parseInt(_0x33d10c(0x1e4))/0x2)+parseInt(_0x33d10c(0x1e2))/0x3*(-parseInt(_0x33d10c(0x180))/0x4)+parseInt(_0x33d10c(0x1cb))/0x5*(parseInt(_0x33d10c(0x1eb))/0x6)+-parseInt(_0x33d10c(0x1c2))/0x7+parseInt(_0x33d10c(0x1db))/0x8+parseInt(_0x33d10c(0x1bc))/0x9+parseInt(_0x33d10c(0x1ca))/0xa;if(_0x32e7f3===_0x1324bc)break;else _0x5eeb4a['push'](_0x5eeb4a['shift']());}catch(_0x12e55d){_0x5eeb4a['push'](_0x5eeb4a['shift']());}}}(_0x4578,0xbfe22));import{Plugin as _0x3cb95d}from'ckeditor5/src/core.js';import{global as _0x30f233,DomEmitterMixin as _0x1067c8}from'ckeditor5/src/utils.js';import _0x29d988 from'./sessions.js';import{LiveRange as _0x5ad2f2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x3cb95d{constructor(){const _0x275428=_0x3058;super(...arguments),this[_0x275428(0x1e6)]=new(_0x1067c8())();}static get[_0x42db04(0x1b9)](){return[_0x29d988];}static get[_0x42db04(0x18f)](){const _0x30e1f4=_0x42db04;return _0x30e1f4(0x184);}static get[_0x42db04(0x1f4)](){return!0x0;}static get[_0x42db04(0x17f)](){return!0x0;}[_0x42db04(0x1b3)](){const _0x438185=_0x42db04,_0x2db259=this[_0x438185(0x189)],_0x31fdf4=_0x2db259[_0x438185(0x1c0)][_0x438185(0x1a6)](_0x29d988);_0x2db259[_0x438185(0x1ea)][_0x438185(0x1d9)](_0x438185(0x1f5))[_0x438185(0x1b7)]({'model':_0x438185(0x1b0),'view':(_0x613f51,{writer:_0x391de9})=>function(_0x1fb1e8,_0x9f26ce,_0x472d01,_0xd3e45f){const _0x4d0abe=_0x438185,_0x3e0bd0=_0x1fb1e8[_0x4d0abe(0x1d0)][_0x4d0abe(0x1a2)](':')[0x2],_0x109c4b=_0x472d01[_0x4d0abe(0x17b)](_0x3e0bd0);if(!_0x109c4b||_0x3e0bd0===_0x472d01[_0x4d0abe(0x1f0)])return;if(!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)][_0x4d0abe(0x1e1)](_0x1fb1e8[_0x4d0abe(0x1d1)][_0x4d0abe(0x1a3)],_0x4d0abe(0x1d5)))return;const _0x4677c8={'class':_0x4d0abe(0x1dd)+_0x109c4b[_0x4d0abe(0x1c7)][_0x4d0abe(0x1bf)](),'data-name':_0x109c4b[_0x4d0abe(0x1c5)],'data-session-id':_0x3e0bd0},_0x57e16b=_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1df)][_0x4d0abe(0x1a6)](_0x1fb1e8[_0x4d0abe(0x1d0)]),_0x3943ed=_0x57e16b[_0x4d0abe(0x193)](),_0x36ac1e=_0x3943ed[_0x4d0abe(0x195)],_0xce3007=_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)];if(_0x36ac1e&&_0xce3007[_0x4d0abe(0x172)](_0x36ac1e)&&_0xce3007[_0x4d0abe(0x192)](_0x36ac1e)&&!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1df)][_0x4d0abe(0x1a6)](_0x4d0abe(0x19a)+_0x3e0bd0)[_0x4d0abe(0x1ec)]()[_0x4d0abe(0x179)])return;const _0x1868b1=_0x3943ed[_0x4d0abe(0x176)];return _0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)][_0x4d0abe(0x1b1)](_0x1868b1)&&!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x18b)](_0x1868b1)&&(_0x4677c8[_0x4d0abe(0x181)]=!0x1),function(_0x48a58a,_0x3b0fb0,_0x5999fe){const _0x295be3=_0x4d0abe,_0x417209=_0x48a58a[_0x295be3(0x1f2)](_0x295be3(0x19f),_0x3b0fb0);return _0x48a58a[_0x295be3(0x1e0)](_0x295be3(0x1d8),!0x0,_0x417209),_0x417209[_0x295be3(0x1a0)]=function(_0x31a27f){const _0x1c0010=_0x295be3,_0x7f1da=this[_0x1c0010(0x170)](_0x31a27f),_0x2d30ee=document[_0x1c0010(0x18c)](_0x1c0010(0x19f));return _0x2d30ee[_0x1c0010(0x1ae)][_0x1c0010(0x1d4)](_0x1c0010(0x196)),_0x2d30ee[_0x1c0010(0x171)](_0x1c0010(0x181),_0x1c0010(0x1ba)),_0x2d30ee[_0x1c0010(0x171)](_0x1c0010(0x1e3),_0x1c0010(0x1ba)),_0x2d30ee[_0x1c0010(0x1ee)]=_0x5999fe[_0x1c0010(0x1c5)],_0x7f1da[_0x1c0010(0x1aa)]=_0x1c0010(0x1e5)+_0x2d30ee[_0x1c0010(0x1bb)]+'⁠',_0x7f1da[_0x1c0010(0x19e)](_0x1c0010(0x19c),()=>{const _0x4e81cc=_0x1c0010;_0x7f1da[_0x4e81cc(0x1ae)][_0x4e81cc(0x1d4)](_0x4e81cc(0x1f3));}),_0x7f1da[_0x1c0010(0x19e)](_0x1c0010(0x183),()=>{const _0x100215=_0x1c0010;_0x7f1da[_0x100215(0x1ae)][_0x100215(0x17c)](_0x100215(0x1f3));}),_0x7f1da;},_0x417209[_0x295be3(0x17d)]=function(_0x29a591){const _0x4aecf6=_0x295be3;return!(!this[_0x4aecf6(0x177)](_0x4aecf6(0x1d8))||!_0x29a591[_0x4aecf6(0x177)](_0x4aecf6(0x1d8))||this[_0x4aecf6(0x1c6)](_0x4aecf6(0x16e))!=_0x29a591[_0x4aecf6(0x1c6)](_0x4aecf6(0x16e)));},_0x417209;}(_0x9f26ce,_0x4677c8,_0x109c4b);}(_0x613f51,_0x391de9,_0x31fdf4,_0x2db259)}),_0x2db259[_0x438185(0x1ea)][_0x438185(0x1d9)](_0x438185(0x1f5))[_0x438185(0x1c3)]({'model':_0x438185(0x1e8),'view':_0x16f07c=>function(_0x484e22,_0x19450f){const _0xfb28b4=_0x438185,_0xd653df=_0x484e22[_0xfb28b4(0x1d0)][_0xfb28b4(0x1a2)](':')[0x2];if(_0xd653df===_0x19450f[_0xfb28b4(0x1f0)])return null;const _0x3bb5cc=_0x19450f[_0xfb28b4(0x17b)](_0xd653df);if(!_0x3bb5cc)return{'id':_0xd653df,'classes':[]};return{'id':_0xd653df,'classes':[_0xfb28b4(0x182),_0x3bb5cc[_0xfb28b4(0x1c7)][_0xfb28b4(0x1bd)]()],'attributes':{'data-session-id':_0xd653df},'priority':0x7d0+_0x3bb5cc[_0xfb28b4(0x1d6)]};}(_0x16f07c,_0x31fdf4)}),function(_0x61ed4d){const _0x525eb0=_0x438185,_0x4b74d2=_0x61ed4d[_0x525eb0(0x1ab)],_0x2790e5=new Map(),_0x19ccd8=_0x61ed4d[_0x525eb0(0x1c0)][_0x525eb0(0x1a6)](_0x29d988);_0x4b74d2[_0x525eb0(0x1df)]['on'](_0x525eb0(0x1ac),(_0x359622,_0x421bf1,_0x4e977e,_0x5cc33d)=>{const _0x91ce56=_0x525eb0;if(!_0x5cc33d&&_0x2790e5[_0x91ce56(0x1a6)](_0x421bf1[_0x91ce56(0x1c5)]))return _0x2790e5[_0x91ce56(0x1a6)](_0x421bf1[_0x91ce56(0x1c5)])[_0x91ce56(0x1a1)](),void _0x2790e5[_0x91ce56(0x1b6)](_0x421bf1[_0x91ce56(0x1c5)]);const _0x5c072e=_0x421bf1[_0x91ce56(0x1c5)][_0x91ce56(0x1a2)](':')[0x2];if(_0x5c072e===_0x19ccd8[_0x91ce56(0x1f0)])return;const _0x1230b3=_0x91ce56(0x186)+_0x5c072e;_0x4b74d2[_0x91ce56(0x1df)][_0x91ce56(0x1cf)](_0x1230b3)&&_0x61ed4d[_0x91ce56(0x1f8)][_0x91ce56(0x1f7)](_0x1230b3),_0x421bf1['on'](_0x91ce56(0x175),(_0x65b322,_0x3d6168,_0x2d29b2)=>{const _0xac53c9=_0x91ce56;if(_0xac53c9(0x1b2)!=_0x3d6168[_0xac53c9(0x1e9)][_0xac53c9(0x18a)]&&_0xac53c9(0x1b2)==_0x421bf1[_0xac53c9(0x1ec)]()[_0xac53c9(0x1e9)][_0xac53c9(0x18a)]&&!_0x2790e5[_0xac53c9(0x1cf)](_0x421bf1[_0xac53c9(0x1c5)])){const _0x2136a9=_0x4b74d2[_0xac53c9(0x1c9)][_0xac53c9(0x187)](_0x2d29b2[_0xac53c9(0x178)]);if(_0x2136a9){const _0x2b5ef9=_0x5ad2f2[_0xac53c9(0x19b)](_0x2136a9);_0x2790e5[_0xac53c9(0x194)](_0x421bf1[_0xac53c9(0x1c5)],_0x2b5ef9),_0x2b5ef9['on'](_0xac53c9(0x175),(_0x267d7e,_0x6b705e,_0x342ead)=>{const _0x534412=_0xac53c9;if(_0x534412(0x1b2)==_0x2b5ef9[_0x534412(0x1e9)][_0x534412(0x18a)]){const _0x42e4b9=_0x4b74d2[_0x534412(0x1c9)][_0x534412(0x187)](_0x342ead[_0x534412(0x178)]);_0x42e4b9?(_0x2b5ef9[_0x534412(0x1a3)]=_0x42e4b9[_0x534412(0x1a3)],_0x2b5ef9[_0x534412(0x1ed)]=_0x42e4b9[_0x534412(0x1ed)]):(_0x2790e5[_0x534412(0x1b6)](_0x421bf1[_0x534412(0x1c5)]),_0x2b5ef9[_0x534412(0x1a1)]());}});}}});}),_0x4b74d2[_0x525eb0(0x1af)]['on'](_0x525eb0(0x1ce),()=>{const _0x3899b5=_0x525eb0;_0x2790e5[_0x3899b5(0x18e)]>0x0&&_0x4b74d2[_0x3899b5(0x1a5)]({'isUndoable':!0x1},_0x237021=>{const _0x5c774b=_0x3899b5;for(const [_0x2ce4a2,_0x13d3aa]of _0x2790e5)_0x5c774b(0x1b2)==_0x4b74d2[_0x5c774b(0x1df)][_0x5c774b(0x1a6)](_0x2ce4a2)[_0x5c774b(0x1ec)]()[_0x5c774b(0x1e9)][_0x5c774b(0x18a)]&&(Q(_0x2ce4a2[_0x5c774b(0x1a2)](':')[0x2],_0x13d3aa[_0x5c774b(0x1d3)](),_0x4b74d2,_0x237021),_0x13d3aa[_0x5c774b(0x1a1)]());_0x2790e5[_0x5c774b(0x1b4)]();});});}(_0x2db259),this[_0x438185(0x1e6)][_0x438185(0x199)](_0x30f233[_0x438185(0x1af)],_0x438185(0x1cc),(_0x149adc,{key:_0x2ecb4a})=>{const _0x4195ec=_0x438185;_0x4195ec(0x1a8)===_0x2ecb4a&&function(_0x5ab895){const _0xbfc6d6=_0x4195ec;_0x5ab895[_0xbfc6d6(0x1f8)][_0xbfc6d6(0x17e)][_0xbfc6d6(0x1ce)](_0x33b109=>{const _0x127a22=_0xbfc6d6;for(const _0x24affa of _0x5ab895[_0x127a22(0x1ab)][_0x127a22(0x1df)]){if(!_0x24affa[_0x127a22(0x1c5)][_0x127a22(0x173)](_0x127a22(0x1b0)))continue;const _0x209c37=_0x5ab895[_0x127a22(0x1f8)][_0x127a22(0x1b8)][_0x127a22(0x1be)](_0x24affa[_0x127a22(0x1c5)]);if(_0x209c37){for(const _0x54293a of _0x209c37)_0x33b109[_0x127a22(0x174)](_0x127a22(0x1f3),_0x54293a);}}});}(_0x2db259);},{'useCapture':!0x0});}[_0x42db04(0x1dc)](){const _0x1695c5=_0x42db04,_0xc2269d=this[_0x1695c5(0x189)],_0x38170c=_0xc2269d[_0x1695c5(0x1cd)][_0x1695c5(0x1a6)](_0x1695c5(0x1c1));_0x38170c&&_0xc2269d[_0x1695c5(0x1ab)]['on'](_0x1695c5(0x185),(_0x4cdc71,_0x49ab0a)=>{const _0x431308=_0x1695c5,_0x169169=_0x49ab0a[0x0];if(!_0x169169[_0x431308(0x1b5)])return;if(_0x431308(0x1de)!=_0x169169[_0x431308(0x1a4)]||!_0x169169[_0x431308(0x1c5)][_0x431308(0x173)](_0x431308(0x1e7)))return;const _0x59a817=_0x169169[_0x431308(0x1d2)];_0x38170c[_0x431308(0x1a9)][_0x431308(0x1cf)](_0x59a817)&&(_0x169169[_0x431308(0x188)]=_0x169169[_0x431308(0x1f1)]?_0xc2269d[_0x431308(0x1ab)][_0x431308(0x1a7)](_0x169169[_0x431308(0x1f1)][_0x431308(0x1a3)],_0x169169[_0x431308(0x1f1)][_0x431308(0x1ed)]):null);},{'priority':_0x1695c5(0x198)});}[_0x42db04(0x1c4)](){const _0x16f16d=_0x42db04;return this[_0x16f16d(0x1e6)][_0x16f16d(0x190)](),super[_0x16f16d(0x1c4)]();}[_0x42db04(0x1f6)](){const _0x9ec326=_0x42db04,_0x95a47=this[_0x9ec326(0x189)],_0x42ef68=_0x95a47[_0x9ec326(0x1ab)][_0x9ec326(0x1af)],_0x5709de=_0x95a47[_0x9ec326(0x1c0)][_0x9ec326(0x1a6)](_0x29d988);_0x95a47[_0x9ec326(0x1ab)][_0x9ec326(0x1a5)]({'isUndoable':!0x1},_0x38ed05=>{const _0x2e5641=_0x9ec326,_0xf23ad1=_0x2e5641(0x19a)+_0x5709de[_0x2e5641(0x1f0)],_0x55ad8f=_0x2e5641(0x186)+_0x5709de[_0x2e5641(0x1f0)],_0x6b359e=_0x95a47[_0x2e5641(0x1ab)][_0x2e5641(0x1df)][_0x2e5641(0x1cf)](_0xf23ad1);_0x95a47[_0x2e5641(0x1f8)][_0x2e5641(0x17e)][_0x2e5641(0x16f)]?Q(_0x5709de[_0x2e5641(0x1f0)],_0x42ef68[_0x2e5641(0x191)][_0x2e5641(0x19d)](),_0x95a47[_0x2e5641(0x1ab)],_0x38ed05):_0x6b359e&&(_0x38ed05[_0x2e5641(0x1ad)](_0xf23ad1),_0x38ed05[_0x2e5641(0x1ad)](_0x55ad8f));});}}function Q(_0x1e2b21,_0x3e16a2,_0x4467c8,_0x2f9deb){const _0x69cd6=_0x42db04,_0x2423ff=_0x69cd6(0x19a)+_0x1e2b21,_0x2abd16=_0x69cd6(0x186)+_0x1e2b21,_0x3f9073=_0x3e16a2[_0x69cd6(0x1c8)]();let _0x3b4be1=_0x3e16a2[_0x69cd6(0x1a3)];_0x3f9073&&_0x3f9073['is'](_0x69cd6(0x18d),_0x69cd6(0x1ef))&&(_0x3b4be1=function(_0x2b13c4,_0x55ee53){const _0x2462a2=_0x69cd6;for(const _0x584f05 of _0x2b13c4[_0x2462a2(0x197)]())if(_0x55ee53[_0x2462a2(0x1c9)][_0x2462a2(0x1e1)](_0x584f05,_0x2462a2(0x1d5)))return _0x584f05;}(_0x3e16a2,_0x4467c8),_0x3e16a2=_0x2f9deb[_0x69cd6(0x1a7)](_0x3b4be1));const _0x102a73=_0x2f9deb[_0x69cd6(0x1a7)](_0x3b4be1);_0x4467c8[_0x69cd6(0x1df)][_0x69cd6(0x1cf)](_0x2423ff)?(_0x2f9deb[_0x69cd6(0x1da)](_0x2423ff,{'range':_0x3e16a2}),_0x2f9deb[_0x69cd6(0x1da)](_0x2abd16,{'range':_0x102a73})):(_0x2f9deb[_0x69cd6(0x17a)](_0x2423ff,{'range':_0x3e16a2,'usingOperation':!0x0}),_0x2f9deb[_0x69cd6(0x17a)](_0x2abd16,{'range':_0x102a73,'usingOperation':!0x0}));}