@ckeditor/ckeditor5-real-time-collaboration 44.1.0-alpha.0 → 44.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/package.json +9 -9
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4d6e(_0x4d755d,_0x297223){const _0x39772c=_0x3977();return _0x4d6e=function(_0x4d6e46,_0x4f9248){_0x4d6e46=_0x4d6e46-0xf3;let _0x3f3507=_0x39772c[_0x4d6e46];return _0x3f3507;},_0x4d6e(_0x4d755d,_0x297223);}(function(_0x5bda48,_0x598f0f){const _0x56af45=_0x4d6e,_0x2aa85e=_0x5bda48();while(!![]){try{const _0x122c3b=-parseInt(_0x56af45(0xf8))/0x1+-parseInt(_0x56af45(0x105))/0x2*(-parseInt(_0x56af45(0xf6))/0x3)+parseInt(_0x56af45(0x101))/0x4+parseInt(_0x56af45(0xfc))/0x5+parseInt(_0x56af45(0xf4))/0x6+parseInt(_0x56af45(0x104))/0x7*(parseInt(_0x56af45(0x103))/0x8)+parseInt(_0x56af45(0xf9))/0x9*(-parseInt(_0x56af45(0x100))/0xa);if(_0x122c3b===_0x598f0f)break;else _0x2aa85e['push'](_0x2aa85e['shift']());}catch(_0x23e612){_0x2aa85e['push'](_0x2aa85e['shift']());}}}(_0x3977,0x5ab31));import{View as _0x337d77}from'ckeditor5/src/ui.js';function _0x3977(){const _0x266b56=['253780KPPQit','1514328BjqfNm','isHidden','5484424aMztCI','7OEvYju','4XudUBh','setTemplate','3330024wxPyuZ','div','656457bDBJUx','bindTemplate','310706lzrmYp','540shwQdL','CONNECTED_USERS','usersCount','740570kYVwmg','ck-presence-list__counter','ck-presence-list__counter--hidden','set'];_0x3977=function(){return _0x266b56;};return _0x3977();}import{getTranslation as _0x5dd173}from'../../common-translations.js';export default class ts extends _0x337d77{constructor(_0x26884f){const _0xe7bf54=_0x4d6e;super(_0x26884f);const _0x4edb12=this[_0xe7bf54(0xf7)];this[_0xe7bf54(0xff)](_0xe7bf54(0xfb),0x0),this[_0xe7bf54(0xff)](_0xe7bf54(0x102),!0x0),this[_0xe7bf54(0xf3)]({'tag':_0xe7bf54(0xf5),'attributes':{'class':['ck',_0xe7bf54(0xfd),_0x4edb12['if'](_0xe7bf54(0x102),_0xe7bf54(0xfe))]},'children':[{'text':_0x4edb12['to'](_0xe7bf54(0xfb),_0x22d8bc=>_0x5dd173(_0x26884f,_0xe7bf54(0xfa),_0x22d8bc))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fdb40=_0x4cbd;(function(_0x462304,_0x1cde60){const _0x36c18e=_0x4cbd,_0xa385e8=_0x462304();while(!![]){try{const _0x5e70a6=-parseInt(_0x36c18e(0x1be))/0x1*(parseInt(_0x36c18e(0x1c3))/0x2)+parseInt(_0x36c18e(0x1d1))/0x3+parseInt(_0x36c18e(0x1c4))/0x4+-parseInt(_0x36c18e(0x1c8))/0x5+parseInt(_0x36c18e(0x1bd))/0x6+-parseInt(_0x36c18e(0x1cf))/0x7*(parseInt(_0x36c18e(0x1c5))/0x8)+-parseInt(_0x36c18e(0x1c0))/0x9*(-parseInt(_0x36c18e(0x1ce))/0xa);if(_0x5e70a6===_0x1cde60)break;else _0xa385e8['push'](_0xa385e8['shift']());}catch(_0xdb0d56){_0xa385e8['push'](_0xa385e8['shift']());}}}(_0x3fcd,0xa38c2));import{ListItemView as _0x288150}from'ckeditor5/src/ui.js';import{UserView as _0xee29c4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4cbd(_0x30788a,_0x5309d4){const _0x3fcd40=_0x3fcd();return _0x4cbd=function(_0x4cbd90,_0x11a7d3){_0x4cbd90=_0x4cbd90-0x1bb;let _0x548466=_0x3fcd40[_0x4cbd90];return _0x548466;},_0x4cbd(_0x30788a,_0x5309d4);}export default class k extends _0x288150{constructor(_0x4da04d,_0x4e26e9,_0x4f36f4){const _0x57c4cb=_0x4cbd;super(_0x4da04d);const _0x3ee979=this[_0x57c4cb(0x1d5)];this[_0x57c4cb(0x1cb)]=new _0xee29c4(_0x4da04d,_0x4e26e9);const _0x5cab77={'tag':'li','attributes':{'class':['ck',_0x57c4cb(0x1c1)],'tabindex':-0x1,'role':_0x57c4cb(0x1bf),'aria-label':_0x4e26e9[_0x57c4cb(0x1c2)]},'children':[this[_0x57c4cb(0x1cb)],{'tag':_0x57c4cb(0x1ca),'attributes':{'class':['ck',_0x57c4cb(0x1bc)]},'children':[{'text':_0x4e26e9[_0x57c4cb(0x1c2)]}]},{'tag':_0x57c4cb(0x1ca),'attributes':{'class':['ck',_0x57c4cb(0x1cd),_0x4e26e9[_0x57c4cb(0x1bb)][_0x57c4cb(0x1d2)]()],'aria-hidden':_0x57c4cb(0x1d0)}}]};_0x4f36f4&&(_0x5cab77[_0x57c4cb(0x1c6)]=_0x57c4cb(0x1d6),_0x5cab77['on']={'click':_0x3ee979['to'](()=>this[_0x57c4cb(0x1c7)](_0x57c4cb(0x1cc)))}),this[_0x57c4cb(0x1d4)](_0x5cab77);}[_0x1fdb40(0x1c9)](){const _0x31c570=_0x1fdb40;this[_0x31c570(0x1d3)][_0x31c570(0x1c9)]();}}function _0x3fcd(){const _0x509a35=['true','2305323zBYnDM','getBackgroundColorClass','element','setTemplate','bindTemplate','button','color','ck-user__full-name','4552476pRPTTM','293ECRgbc','presentation','261wyyVDA','ck-presence-list__dropdown-list-item','name','6304jiePWz','4671696MEMEmr','8696ifsMHR','tag','fire','4864535kJmydK','focus','span','userView','execute','ck-presence-list__marker','300810dVcotn','6447IclpqW'];_0x3fcd=function(){return _0x509a35;};return _0x3fcd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc59aff=_0x205e;(function(_0xbe980f,_0x38c4a0){const _0x2a841d=_0x205e,_0x758138=_0xbe980f();while(!![]){try{const _0x38a0e5=parseInt(_0x2a841d(0x88))/0x1*(parseInt(_0x2a841d(0x82))/0x2)+parseInt(_0x2a841d(0xa4))/0x3*(-parseInt(_0x2a841d(0x83))/0x4)+parseInt(_0x2a841d(0x8b))/0x5+-parseInt(_0x2a841d(0x93))/0x6+parseInt(_0x2a841d(0x8c))/0x7+parseInt(_0x2a841d(0x9f))/0x8*(-parseInt(_0x2a841d(0x99))/0x9)+parseInt(_0x2a841d(0xa0))/0xa;if(_0x38a0e5===_0x38c4a0)break;else _0x758138['push'](_0x758138['shift']());}catch(_0x2120c0){_0x758138['push'](_0x758138['shift']());}}}(_0xc87c,0x7659c));import{ListView as _0x33282e,View as _0x5d0ac0}from'ckeditor5/src/ui.js';import{global as _0x5c3ada}from'ckeditor5/src/utils.js';function _0x205e(_0xf69634,_0x191617){const _0xc87c48=_0xc87c();return _0x205e=function(_0x205e2d,_0x30eaeb){_0x205e2d=_0x205e2d-0x7f;let _0x1e564f=_0xc87c48[_0x205e2d];return _0x1e564f;},_0x205e(_0xf69634,_0x191617);}function _0xc87c(){const _0x44ffb7=['_isScrollable','bindTemplate','ck-presence-list__dropdown-list','189564vyEEhm','ariaLabelledBy','div','items','2SIpmEJ','20rSiZwE','listenTo','scrollHeight','set','ck-list','470906wiJrGq','clientHeight','ck-presence-list__dropdown-list-wrapper','2352315ToyUVV','6781677ecmwSk','window','element','ck-reset','ariaLabel','Connected\x20users\x20list\x20dropdown\x20menu','render','2362836KiNcne','change','max','setTemplate','resize','application','640179zQXjWQ','checkIfScrollable','ck-presence-list__dropdown-list-wrapper_scrollable','listWrapperView','innerHeight','role','88yENbjL','667710DSantp'];_0xc87c=function(){return _0x44ffb7;};return _0xc87c();}import{getTranslation as _0x1549ea}from'../../common-translations.js';export default class j extends _0x5d0ac0{constructor(_0x177084,_0x209669){const _0x4ae9d0=_0x205e;super(_0x177084),this[_0x4ae9d0(0x9c)]=new PresenceDropdownListWrapperView(_0x177084,_0x209669),this[_0x4ae9d0(0x96)]({'tag':_0x4ae9d0(0x80),'attributes':{'tabindex':-0x1,'role':_0x4ae9d0(0x98),'class':['ck',_0x4ae9d0(0xa3)],'aria-label':_0x1549ea(_0x177084,_0x4ae9d0(0x91))},'children':[this[_0x4ae9d0(0x9c)]]});}}export class PresenceDropdownListWrapperView extends _0x33282e{constructor(_0x119b40,_0x51c234){const _0xbc9988=_0x205e;super(_0x119b40);const _0x5dc4e5=this[_0xbc9988(0xa2)];this[_0xbc9988(0x86)](_0xbc9988(0xa1),!0x1),this[_0xbc9988(0x96)]({'tag':_0x51c234?_0xbc9988(0x80):'ul','attributes':{'class':['ck',_0xbc9988(0x8f),_0xbc9988(0x87),_0xbc9988(0x8a),_0x5dc4e5['if'](_0xbc9988(0xa1),_0xbc9988(0x9b))],'role':_0x5dc4e5['to'](_0xbc9988(0x9e)),'aria-label':_0x5dc4e5['to'](_0xbc9988(0x90)),'aria-labelledby':_0x5dc4e5['to'](_0xbc9988(0x7f))},'children':this[_0xbc9988(0x81)]}),this[_0xbc9988(0x84)](_0x5c3ada[_0xbc9988(0x8d)],_0xbc9988(0x97),()=>this[_0xbc9988(0x9a)]()),this[_0xbc9988(0x81)]['on'](_0xbc9988(0x94),()=>this[_0xbc9988(0x9a)]());}[_0xc59aff(0x92)](){const _0x57d55d=_0xc59aff;super[_0x57d55d(0x92)](),this[_0x57d55d(0x9a)]();}[_0xc59aff(0x9a)](){const _0xefbe5f=_0xc59aff,_0x45a69a=this[_0xefbe5f(0x8e)];_0x45a69a&&(this[_0xefbe5f(0xa1)]=Math[_0xefbe5f(0x95)](_0x45a69a[_0xefbe5f(0x85)],_0x45a69a[_0xefbe5f(0x89)])>0.8*window[_0xefbe5f(0x9d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2dc6(_0xd01bd3,_0x3b557a){const _0x508d0d=_0x508d();return _0x2dc6=function(_0x2dc602,_0x4b9f2a){_0x2dc602=_0x2dc602-0x1b4;let _0x4d8407=_0x508d0d[_0x2dc602];return _0x4d8407;},_0x2dc6(_0xd01bd3,_0x3b557a);}(function(_0x14a305,_0x3e283e){const _0x187c5e=_0x2dc6,_0x2cae18=_0x14a305();while(!![]){try{const _0x25f3ea=-parseInt(_0x187c5e(0x1c2))/0x1*(-parseInt(_0x187c5e(0x1c0))/0x2)+parseInt(_0x187c5e(0x1c9))/0x3*(parseInt(_0x187c5e(0x1d2))/0x4)+parseInt(_0x187c5e(0x1bc))/0x5+parseInt(_0x187c5e(0x1b8))/0x6+-parseInt(_0x187c5e(0x1d0))/0x7+-parseInt(_0x187c5e(0x1ce))/0x8*(-parseInt(_0x187c5e(0x1b6))/0x9)+-parseInt(_0x187c5e(0x1ca))/0xa*(parseInt(_0x187c5e(0x1c1))/0xb);if(_0x25f3ea===_0x3e283e)break;else _0x2cae18['push'](_0x2cae18['shift']());}catch(_0x13b567){_0x2cae18['push'](_0x2cae18['shift']());}}}(_0x508d,0x95a3a));function _0x508d(){const _0x3dd7a9=['263ycWJhi','bindTemplate','name','getBackgroundColorClass','isFocusable','template','text','3441ysTPSy','110RMxsXK','true','ck-presence-list__list-item__tooltip','ck-presence-list__list-item','4112QQJhaH','div','2277114wRIzkq','ck-presence-list__marker','3928vxqjIR','color','execute','listitem','userView','tooltipPosition','setTemplate','19827pFlKBR','markerView','2015094uYgofw','fire','button','span','2703680suCJNp','hasTooltip','tag','set','5686BuuoTq','2944766EfhKDm'];_0x508d=function(){return _0x3dd7a9;};return _0x508d();}import{LabelView as _0x449edc,View as _0x8d43dd}from'ckeditor5/src/ui.js';import{UserView as _0x436369}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x8d43dd{constructor(_0x19fcf7,_0x1b2377,_0x2882db){const _0x261983=_0x2dc6;super(_0x19fcf7);const _0x276d46=this[_0x261983(0x1c3)];this[_0x261983(0x1bf)](_0x261983(0x1c6),!0x1),this[_0x261983(0x1bf)](_0x261983(0x1bd),!0x0),this[_0x261983(0x1bf)](_0x261983(0x1b4),''),this[_0x261983(0x1d6)]=new _0x436369(_0x19fcf7,_0x1b2377),this[_0x261983(0x1b7)]=new at(_0x19fcf7,_0x1b2377);const _0x2ba1d2=new _0x449edc(_0x19fcf7);_0x2ba1d2[_0x261983(0x1c7)][_0x261983(0x1be)]=_0x261983(0x1bb),_0x2ba1d2[_0x261983(0x1c8)]=_0x1b2377[_0x261983(0x1c4)];const _0x360d1a={'tag':_0x261983(0x1cf),'attributes':{'class':['ck',_0x261983(0x1cd)],'role':_0x261983(0x1d5),'tabindex':_0x276d46['to'](_0x261983(0x1c6),_0x31f99e=>!!_0x31f99e&&0x0),'aria-labelledby':_0x2ba1d2['id'],'data-cke-tooltip-text':this[_0x261983(0x1d6)][_0x261983(0x1c4)],'data-cke-tooltip-position':_0x276d46['to'](_0x261983(0x1b4)),'data-cke-tooltip-disabled':_0x276d46['to'](_0x261983(0x1bd),_0x5e1f49=>!_0x5e1f49),'data-cke-tooltip-class':_0x261983(0x1cc)},'children':[this[_0x261983(0x1d6)],this[_0x261983(0x1b7)],_0x2ba1d2]};_0x2882db&&(_0x360d1a[_0x261983(0x1be)]=_0x261983(0x1ba),_0x360d1a['on']={'click':_0x276d46['to'](()=>this[_0x261983(0x1b9)](_0x261983(0x1d4)))}),this[_0x261983(0x1b5)](_0x360d1a);}}class at extends _0x8d43dd{constructor(_0x115c1e,_0x505ff2){const _0x95b904=_0x2dc6;super(_0x115c1e),this[_0x95b904(0x1b5)]({'tag':_0x95b904(0x1bb),'attributes':{'class':['ck',_0x95b904(0x1d1),_0x505ff2[_0x95b904(0x1d3)][_0x95b904(0x1c5)]()],'aria-hidden':_0x95b904(0x1cb)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x43b9(_0xc70787,_0x4a7803){const _0x553042=_0x5530();return _0x43b9=function(_0x43b9f9,_0x4fb714){_0x43b9f9=_0x43b9f9-0x186;let _0x3d0da9=_0x553042[_0x43b9f9];return _0x3d0da9;},_0x43b9(_0xc70787,_0x4a7803);}const _0x507eab=_0x43b9;(function(_0x3eff94,_0x3a2ec6){const _0x3bbc38=_0x43b9,_0x2c976c=_0x3eff94();while(!![]){try{const _0x570a37=-parseInt(_0x3bbc38(0x189))/0x1+-parseInt(_0x3bbc38(0x198))/0x2+parseInt(_0x3bbc38(0x194))/0x3+-parseInt(_0x3bbc38(0x195))/0x4+parseInt(_0x3bbc38(0x193))/0x5*(-parseInt(_0x3bbc38(0x186))/0x6)+-parseInt(_0x3bbc38(0x1a1))/0x7+parseInt(_0x3bbc38(0x1a3))/0x8*(parseInt(_0x3bbc38(0x190))/0x9);if(_0x570a37===_0x3a2ec6)break;else _0x2c976c['push'](_0x2c976c['shift']());}catch(_0x2f3c15){_0x2c976c['push'](_0x2c976c['shift']());}}}(_0x5530,0x55587));function _0x5530(){const _0x5db53f=['791518iOYAVZ','listenTo','527536PhiYtN','element','render','12GJMBjB','keystrokes','aria-expanded','128785tGEeVk','setAttribute','items','Connected\x20users\x20list','fire','change:hasPopup','hasPopup','207sfPKpR','focus','bindTemplate','784145asbmbB','1641984xHVeao','2748380gTUttQ','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','set','943614cwjzzh','ck-presence-list__list','list','div','execute','removeAttribute','isExpanded','setTemplate','createCollection'];_0x5530=function(){return _0x5db53f;};return _0x5530();}import{View as _0x1f8614}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x488501}from'ckeditor5/src/utils.js';import{getTranslation as _0x1f8306}from'../../common-translations.js';export default class es extends _0x1f8614{constructor(_0x460983){const _0x352170=_0x43b9;super(_0x460983);const _0x15e177=this[_0x352170(0x192)];this[_0x352170(0x18b)]=this[_0x352170(0x1a0)](),this[_0x352170(0x187)]=new _0x488501(),this[_0x352170(0x197)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x352170(0x19f)]({'tag':_0x352170(0x19b),'attributes':{'aria-haspopup':_0x15e177['if'](_0x352170(0x18f)),'aria-expanded':_0x15e177['to'](_0x352170(0x19e),_0xcd3ced=>this[_0x352170(0x18f)]&&String(_0xcd3ced)),'aria-label':_0x15e177['to'](_0x352170(0x18f),_0x104822=>_0x1f8306(_0x460983,_0x104822?_0x352170(0x196):_0x352170(0x18c))),'role':_0x352170(0x19a),'tabindex':_0x15e177['to'](_0x352170(0x18f),_0x2bfd6e=>!!_0x2bfd6e&&0x0),'class':['ck',_0x352170(0x199)]},'children':this[_0x352170(0x18b)],'on':{'click':_0x15e177['to'](()=>this[_0x352170(0x18d)](_0x352170(0x19c)))}}),this['on'](_0x352170(0x18e),(_0x31ff2c,_0x12c96b,_0x312510)=>{const _0x4b80d4=_0x352170;this[_0x4b80d4(0x1a4)]&&(_0x312510?this[_0x4b80d4(0x1a4)][_0x4b80d4(0x18a)](_0x4b80d4(0x188),String(this[_0x4b80d4(0x19e)])):this[_0x4b80d4(0x1a4)][_0x4b80d4(0x19d)](_0x4b80d4(0x188)));});}[_0x507eab(0x191)](){const _0x2bfcac=_0x507eab;this[_0x2bfcac(0x1a4)][_0x2bfcac(0x191)]();}[_0x507eab(0x1a5)](){const _0x4cc474=_0x507eab;super[_0x4cc474(0x1a5)](),this[_0x4cc474(0x187)][_0x4cc474(0x1a2)](this[_0x4cc474(0x1a4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e72fe=_0x26e6;(function(_0x2fcc20,_0x344a41){const _0x1398d1=_0x26e6,_0x32e4ca=_0x2fcc20();while(!![]){try{const _0xcf010=parseInt(_0x1398d1(0x155))/0x1+-parseInt(_0x1398d1(0x121))/0x2+-parseInt(_0x1398d1(0xbb))/0x3+-parseInt(_0x1398d1(0xa9))/0x4+parseInt(_0x1398d1(0x14f))/0x5*(parseInt(_0x1398d1(0xe0))/0x6)+parseInt(_0x1398d1(0x166))/0x7+parseInt(_0x1398d1(0x12a))/0x8;if(_0xcf010===_0x344a41)break;else _0x32e4ca['push'](_0x32e4ca['shift']());}catch(_0x21b525){_0x32e4ca['push'](_0x32e4ca['shift']());}}}(_0x4740,0x6112a));import{Plugin as _0x41fbb0,PendingActions as _0x57d992}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cff2f,version as _0x3c57fb,uid as _0x6c6e1b}from'ckeditor5/src/utils.js';import{Notification as _0x22b9bb}from'ckeditor5/src/ui.js';import{transformSets as _0x1e43ac,NoOperation as _0x42e927,InsertOperation as _0x3be235,MarkerOperation as _0x1604c6,RootAttributeOperation as _0x2935f9,OperationFactory as _0x59b229,History as _0x5bb5f3}from'ckeditor5/src/engine.js';function _0x26e6(_0x591d5e,_0x3800a9){const _0x47404a=_0x4740();return _0x26e6=function(_0x26e615,_0x4a34be){_0x26e615=_0x26e615-0x9e;let _0xac12=_0x47404a[_0x26e615];return _0xac12;},_0x26e6(_0x591d5e,_0x3800a9);}import _0x2c912a from'./websocketgateway.js';import _0xaf806b from'./sessions.js';import _0x554d87 from'./usermarkers.js';import{getTranslation as _0x37ef97}from'../common-translations.js';import{Compressor as _0x19753e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xae426c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x48ad65,CollaborativeEditingService as _0x495554}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;class l extends _0x41fbb0{static get[_0x1e72fe(0xa3)](){return[_0x2c912a,_0xaf806b,_0x554d87,_0x57d992,_0xae426c,_0x22b9bb];}static get[_0x1e72fe(0x138)](){const _0x522302=_0x1e72fe;return _0x522302(0x115);}static get[_0x1e72fe(0xbf)](){return!0x0;}static get[_0x1e72fe(0x14a)](){return!0x0;}get[_0x1e72fe(0xad)](){const _0x19d363=_0x1e72fe;return this[_0x19d363(0xb0)]+this[_0x19d363(0xf8)];}get[_0x1e72fe(0xb0)](){const _0x437e24=_0x1e72fe;return this[_0x437e24(0xfd)][_0x437e24(0x18f)]-this[_0x437e24(0xf8)];}get[_0x1e72fe(0x129)](){const _0xe90d80=_0x1e72fe,_0x65fb51=this[_0xe90d80(0xfd)][_0xe90d80(0x15e)]();for(let _0x4842b7=_0x65fb51[_0xe90d80(0x127)]-0x1;_0x4842b7>=0x0;_0x4842b7--){const _0x1202b2=_0x65fb51[_0x4842b7];if(!this[_0xe90d80(0xd1)][_0xe90d80(0x10a)](_0x1202b2))return _0x1202b2[_0xe90d80(0xe2)]+0x1-this[_0xe90d80(0xf8)];}return 0x0;}constructor(_0x1ef095){const _0x2e7218=_0x1e72fe;if(super(_0x1ef095),this[_0x2e7218(0xf8)]=0x0,this[_0x2e7218(0xed)]=null,this[_0x2e7218(0xfd)]=new _0x5bb5f3(),this[_0x2e7218(0x197)][_0x2e7218(0xe9)][_0x2e7218(0x19e)](_0x2e7218(0x13d),{}),this[_0x2e7218(0x103)]=this[_0x2e7218(0x197)][_0x2e7218(0xe9)][_0x2e7218(0x130)](_0x2e7218(0x161)),!this[_0x2e7218(0x103)])throw new _0x1cff2f(_0x2e7218(0xcc),this);const _0x2daf43=_0x1ef095[_0x2e7218(0xe9)][_0x2e7218(0x130)](_0x2e7218(0xc1))||_0x3c57fb;this[_0x2e7218(0x160)]=new l[(_0x2e7218(0x196))](_0x2daf43,this[_0x2e7218(0x103)]),this[_0x2e7218(0x172)]=this[_0x2e7218(0x197)][_0x2e7218(0x198)][_0x2e7218(0xd8)],this[_0x2e7218(0x187)]=new _0x19753e(),this[_0x2e7218(0x199)]=[],this[_0x2e7218(0x178)]=new WeakSet(),this[_0x2e7218(0xdb)]=new Set(),this[_0x2e7218(0xa7)](_0x2e7218(0x165),!0x1),this[_0x2e7218(0xa7)](_0x2e7218(0xa0),!0x1),this[_0x2e7218(0xd5)]=null,this[_0x2e7218(0x15f)]=!0x1,this[_0x2e7218(0x114)]=null,this[_0x2e7218(0xb5)]=0x12c,this[_0x2e7218(0x12f)]=this[_0x2e7218(0xb5)],this[_0x2e7218(0xbd)]=null,this[_0x2e7218(0xd1)]=new WeakSet(),this[_0x2e7218(0x104)]=new st(this[_0x2e7218(0xd1)]);}[_0x1e72fe(0xbc)](){const _0x1e47bc=_0x1e72fe,_0x4bc836=this[_0x1e47bc(0x197)],_0x17ecfb=_0x4bc836[_0x1e47bc(0x148)][_0x1e47bc(0x130)](_0xae426c),_0x5071a9=_0x4bc836[_0x1e47bc(0x148)][_0x1e47bc(0x130)](_0x2c912a);this[_0x1e47bc(0x106)](_0x17ecfb,_0x1e47bc(0x183),(_0x3aa902,_0x4cd3ca)=>{const _0xda50a5=_0x1e47bc,_0x3c2785=_0x4cd3ca[0x0];_0x3c2785[_0xda50a5(0x17d)]&&(_0x3aa902[_0xda50a5(0xe8)]=_0x17ecfb[_0xda50a5(0xba)](_0x3c2785[_0xda50a5(0x17d)]),_0x3aa902[_0xda50a5(0xb1)]()),null===_0x3c2785[_0xda50a5(0x17d)]&&(_0x3aa902[_0xda50a5(0xe8)]=null,_0x3aa902[_0xda50a5(0xb1)]());},{'priority':_0x1e47bc(0x158)}),this[_0x1e47bc(0x106)](_0x4bc836[_0x1e47bc(0x198)][_0x1e47bc(0xd8)][_0x1e47bc(0xe7)],_0x1e47bc(0x17f),(_0x33a98c,_0x5d7fb9)=>{const _0x21cb0e=_0x1e47bc;_0x5d7fb9[_0x21cb0e(0xef)]&&this[_0x21cb0e(0x11e)]();}),this[_0x1e47bc(0x106)](_0x4bc836[_0x1e47bc(0x144)][_0x1e47bc(0x193)],_0x1e47bc(0xb6),()=>{const _0x369ac2=_0x1e47bc;this[_0x369ac2(0x11e)]();}),this[_0x1e47bc(0xdc)](),_0x4bc836[_0x1e47bc(0x198)]['on'](_0x1e47bc(0x162),(_0x611d9b,_0x34acb0)=>{const _0x4e044a=_0x1e47bc,_0x17d6dd=_0x34acb0[0x0];_0x17d6dd[_0x4e044a(0x118)]&&(this[_0x4e044a(0x151)](_0x17d6dd),this[_0x4e044a(0xdd)]()&&this[_0x4e044a(0xcf)]());}),this[_0x1e47bc(0xf9)](),this[_0x1e47bc(0xea)](_0x1e47bc(0xcd))['to'](_0x5071a9,_0x1e47bc(0xa6),this,_0x1e47bc(0xa0),(_0x3906f6,_0x228be4)=>_0x1e47bc(0x110)===_0x3906f6&&!_0x228be4),this['on'](_0x1e47bc(0x102),()=>{const _0x3ab410=_0x1e47bc;this[_0x3ab410(0xcd)]?_0x4bc836[_0x3ab410(0x136)](_0x3ab410(0xe6)):_0x4bc836[_0x3ab410(0x134)](_0x3ab410(0xe6));}),this[_0x1e47bc(0xcd)]?_0x4bc836[_0x1e47bc(0x136)](_0x1e47bc(0xe6)):_0x4bc836[_0x1e47bc(0x134)](_0x1e47bc(0xe6)),this[_0x1e47bc(0xa7)](_0x1e47bc(0xf3),!0x1);}async[_0x1e72fe(0x128)](){const _0x52a5c6=_0x1e72fe,_0x54602e=this[_0x52a5c6(0x197)][_0x52a5c6(0x148)][_0x52a5c6(0x130)](_0xaf806b),_0x32c4fd=this[_0x52a5c6(0x197)][_0x52a5c6(0x148)][_0x52a5c6(0x130)](_0x2c912a);try{this[_0x52a5c6(0x165)]=!0x0,_0x54602e[_0x52a5c6(0x10f)](this[_0x52a5c6(0x103)]);const _0x7ec015=await this[_0x52a5c6(0x160)][_0x52a5c6(0x128)](_0x32c4fd[_0x52a5c6(0x17c)],this[_0x52a5c6(0x129)]);await this[_0x52a5c6(0xe1)](_0x7ec015)&&(this[_0x52a5c6(0x165)]=!0x1,this[_0x52a5c6(0xfe)]());const _0x1c885b=await this[_0x52a5c6(0x160)][_0x52a5c6(0x14b)]();_0x54602e[_0x52a5c6(0x156)](this[_0x52a5c6(0x103)],_0x1c885b),this[_0x52a5c6(0x185)](),this[_0x52a5c6(0xf3)]=!0x0;}catch(_0x282285){if(function(_0x10c42c){const _0x1f687c=_0x52a5c6;return _0x1f687c(0x11a)===_0x10c42c[_0x1f687c(0x157)];}(_0x282285)&&this[_0x52a5c6(0xed)])await this[_0x52a5c6(0xaf)]();else{if(function(_0x1d5383){const _0x411271=_0x52a5c6;return _0x411271(0xa4)===_0x1d5383[_0x411271(0x157)];}(_0x282285)){const _0x47d919=_0x37ef97(this[_0x52a5c6(0x197)][_0x52a5c6(0xb8)],_0x52a5c6(0x105));this[_0x52a5c6(0x9f)](_0x47d919);}else{if(!(_0x282285 instanceof tt))throw _0x282285;this[_0x52a5c6(0x9f)]();}}}}[_0x1e72fe(0x195)](){const _0x55552c=_0x1e72fe,_0x27f553=this[_0x55552c(0x197)][_0x55552c(0x148)][_0x55552c(0x130)](_0x2c912a),_0x2b44c6=this[_0x55552c(0x197)][_0x55552c(0x148)][_0x55552c(0x130)](_0xaf806b);this[_0x55552c(0x197)][_0x55552c(0x134)](_0x55552c(0x143)),_0x2b44c6[_0x55552c(0x168)][_0x55552c(0x10a)](this[_0x55552c(0x103)])&&_0x2b44c6[_0x55552c(0x10f)](this[_0x55552c(0x103)]),_0x27f553[_0x55552c(0x142)](this),this[_0x55552c(0x145)](),super[_0x55552c(0x195)]();}async[_0x1e72fe(0xe1)](_0x155e12){const _0x5a5ff8=_0x1e72fe;if(this[_0x5a5ff8(0xed)]!==_0x155e12[_0x5a5ff8(0xed)]&&this[_0x5a5ff8(0xbd)]!==_0x155e12[_0x5a5ff8(0x12c)])throw new tt();return this[_0x5a5ff8(0xed)]=_0x155e12[_0x5a5ff8(0xed)],this[_0x5a5ff8(0x111)]([],{..._0x155e12,'wereChangesApplied':!0x1,'data':_0x155e12[_0x5a5ff8(0xf6)]},_0x5a5ff8(0x128));}async[_0x1e72fe(0x18a)](_0x501bef,_0x36d98a=!0x1){const _0x5cd204=_0x1e72fe,{connection:_0x3c7149}=this[_0x5cd204(0x197)][_0x5cd204(0x148)][_0x5cd204(0x130)](_0x2c912a);l[_0x5cd204(0x196)][_0x5cd204(0x14b)](_0x3c7149,this[_0x5cd204(0x103)])[_0x5cd204(0x17b)](_0x1db3e9=>this[_0x5cd204(0x119)](_0x1db3e9))[_0x5cd204(0xaa)](_0x1390a2=>{const _0x393548=_0x5cd204;this[_0x393548(0xc2)](_0x393548(0x175),_0x1390a2);}),this[_0x5cd204(0x106)](this[_0x5cd204(0x160)],_0x5cd204(0xdf),this[_0x5cd204(0x131)][_0x5cd204(0xea)](this)),this[_0x5cd204(0x106)](this[_0x5cd204(0x160)],_0x5cd204(0x16b),(_0x1f4ae5,_0x684a1d)=>{const _0x352155=_0x5cd204;this[_0x352155(0xc2)](_0x352155(0x180),_0x684a1d);}),this[_0x5cd204(0x106)](this[_0x5cd204(0x160)],_0x5cd204(0xf4),()=>{const _0x558626=_0x5cd204;this[_0x558626(0xf3)]=!0x1;});const _0x31a69f=this[_0x5cd204(0x104)][_0x5cd204(0x11c)](_0x501bef);this[_0x5cd204(0x165)]=!0x0;const _0x2fd8df=await this[_0x5cd204(0x160)][_0x5cd204(0x17a)](_0x3c7149,this[_0x5cd204(0x123)](_0x501bef),_0x31a69f);if(this[_0x5cd204(0xed)]=_0x2fd8df[_0x5cd204(0xed)],_0x36d98a){if(!_0x2fd8df[_0x5cd204(0x109)])return void this[_0x5cd204(0x9f)]();this[_0x5cd204(0x165)]=!0x1,this[_0x5cd204(0xfe)](),this[_0x5cd204(0xfd)][_0x5cd204(0x17e)](),this[_0x5cd204(0xf8)]=_0x2fd8df[_0x5cd204(0xe5)],this[_0x5cd204(0xfd)][_0x5cd204(0x18f)]=this[_0x5cd204(0xf8)],await this[_0x5cd204(0x111)](_0x501bef,_0x2fd8df,_0x5cd204(0x147));}else await this[_0x5cd204(0xf2)](_0x2fd8df,_0x501bef);this[_0x5cd204(0x185)](),this[_0x5cd204(0xf3)]=!0x0;}[_0x1e72fe(0x185)](){const _0x30e499=_0x1e72fe,_0x1460fe=this[_0x30e499(0x197)][_0x30e499(0x148)][_0x30e499(0x130)](_0xaf806b),_0x4921aa=this[_0x30e499(0x197)][_0x30e499(0x148)][_0x30e499(0x130)](_0x554d87),_0x2bfa1b=_0x1460fe[_0x30e499(0x168)][_0x30e499(0x130)](this[_0x30e499(0x103)]);_0x2bfa1b&&_0x2bfa1b[_0x30e499(0x127)]>0x1?_0x4921aa[_0x30e499(0x174)]():this[_0x30e499(0x106)](_0x1460fe,_0x30e499(0x12b)+this[_0x30e499(0x103)],()=>{const _0x4910cc=_0x30e499;0x2===_0x1460fe[_0x4910cc(0x168)][_0x4910cc(0x130)](this[_0x4910cc(0x103)])[_0x4910cc(0x127)]&&_0x4921aa[_0x4910cc(0x174)]();});}async[_0x1e72fe(0x131)](_0x1368ad,_0x28737f,_0x3f063a,_0x297cfb){const _0x33eb07=_0x1e72fe;if(!this[_0x33eb07(0x165)]&&this[_0x33eb07(0x172)][_0x33eb07(0x18f)]==_0x28737f){const _0x5d8b29=this[_0x33eb07(0x12d)](_0x3f063a,_0x297cfb);await this[_0x33eb07(0x15b)](_0x5d8b29),this[_0x33eb07(0x186)](_0x5d8b29,_0x28737f,_0x3f063a[_0x33eb07(0x12c)])||this[_0x33eb07(0xc2)](_0x33eb07(0x14d));}}async[_0x1e72fe(0xaf)](){const _0x2fcaac=_0x1e72fe;this[_0x2fcaac(0x145)]();const {locale:_0x4e59fb}=this[_0x2fcaac(0x197)];let _0x2d871a;try{_0x2d871a=await this[_0x2fcaac(0x160)][_0x2fcaac(0xc8)]();}catch(_0x40acc1){const _0x3f539e=_0x37ef97(_0x4e59fb,_0x2fcaac(0xb7));return void this[_0x2fcaac(0x9f)](_0x3f539e);}const _0x5973e4=_0x2d871a[_0x2fcaac(0xc4)]||_0x2d871a[_0x2fcaac(0x15d)];if(this[_0x2fcaac(0xbd)]===_0x5973e4[_0x2fcaac(0x12c)])await this[_0x2fcaac(0x18a)](this[_0x2fcaac(0x197)][_0x2fcaac(0x198)][_0x2fcaac(0xd8)][_0x2fcaac(0x149)][_0x2fcaac(0x15e)](),!0x0);else{const _0x21b9b7=_0x37ef97(_0x4e59fb,_0x2fcaac(0x170));this[_0x2fcaac(0x9f)](_0x21b9b7);}}[_0x1e72fe(0x145)](){const _0x4dee31=_0x1e72fe;this[_0x4dee31(0x160)][_0x4dee31(0x11b)](),this[_0x4dee31(0x199)]=[],clearTimeout(this[_0x4dee31(0x114)]),this[_0x4dee31(0x19b)](this[_0x4dee31(0x160)]);}[_0x1e72fe(0x119)](_0x11ade8){const _0x259dae=_0x1e72fe,_0x134d74=this[_0x259dae(0x197)][_0x259dae(0x148)][_0x259dae(0x130)](_0xaf806b);this[_0x259dae(0x106)](_0x134d74,_0x259dae(0x12b)+this[_0x259dae(0x103)],(_0x1be254,{session:_0x2efb34})=>{const _0x18de43=_0x259dae;if(_0x2efb34['id']===_0x134d74[_0x18de43(0x11d)]){_0x1be254[_0x18de43(0x120)]();const _0x5e3617=this[_0x18de43(0x197)][_0x18de43(0x148)][_0x18de43(0x10a)](_0x18de43(0x153))&&this[_0x18de43(0x197)][_0x18de43(0x148)][_0x18de43(0x130)](_0x18de43(0x153));let _0x3c95ca=_0x2efb34[_0x18de43(0x164)];_0x5e3617&&_0x5e3617[_0x18de43(0x188)]&&(_0x3c95ca=_0x3c95ca[_0x18de43(0xc5)](_0xe7ac6=>_0x18de43(0xd4)!==_0xe7ac6)),this[_0x18de43(0x197)][_0x18de43(0x148)][_0x18de43(0x130)](_0x18de43(0x10d))[_0x18de43(0x16e)](_0x3c95ca,this[_0x18de43(0x103)]);}}),_0x134d74[_0x259dae(0x156)](this[_0x259dae(0x103)],_0x11ade8);}[_0x1e72fe(0xdc)](){const _0xbcad12=_0x1e72fe,_0x4bc29e=this[_0xbcad12(0x197)][_0xbcad12(0xf6)][_0xbcad12(0xa7)];this[_0xbcad12(0x197)][_0xbcad12(0xf6)][_0xbcad12(0xa7)]=(..._0x54da03)=>{const _0x5e54aa=_0xbcad12;if(!_0x54da03[_0x54da03[_0x5e54aa(0x127)]-0x1][_0x5e54aa(0x169)])throw new _0x1cff2f(_0x5e54aa(0x9e),this);_0x4bc29e[_0x5e54aa(0xec)](this[_0x5e54aa(0x197)][_0x5e54aa(0xf6)],_0x54da03);};}[_0x1e72fe(0xf9)](){const _0x1331fa=_0x1e72fe;this[_0x1331fa(0x197)][_0x1331fa(0xf6)]['on'](_0x1331fa(0xbc),(_0x6dd9c8,[_0x35b8eb])=>{const _0xd527fe=_0x1331fa;if(this[_0xd527fe(0x172)][_0xd527fe(0x18f)])throw new _0x1cff2f(_0xd527fe(0x16f),this);_0x6dd9c8[_0xd527fe(0xb1)](),this[_0xd527fe(0x14e)]();const _0x3f5515=this[_0xd527fe(0x197)][_0xd527fe(0xe9)][_0xd527fe(0x130)](_0xd527fe(0xb4)),_0x4cb8e0=this[_0xd527fe(0xa5)](_0x35b8eb,_0x3f5515);0x0==_0x4cb8e0[_0xd527fe(0x127)]&&_0x4cb8e0[_0xd527fe(0xca)](new _0x42e927(0x0)),_0x6dd9c8[_0xd527fe(0xe8)]=this[_0xd527fe(0x18a)](_0x4cb8e0)[_0xd527fe(0x17b)](()=>{const _0xa14c07=_0xd527fe;this[_0xa14c07(0x197)][_0xa14c07(0x148)][_0xa14c07(0x130)](_0x2c912a)[_0xa14c07(0x191)](this),this[_0xa14c07(0x197)][_0xa14c07(0xf6)][_0xa14c07(0x100)](_0xa14c07(0xbe));})[_0xd527fe(0xaa)](_0x1d00be=>this[_0xd527fe(0xc2)](_0xd527fe(0x190),_0x1d00be))[_0xd527fe(0x146)](()=>this[_0xd527fe(0xfe)]());},{'priority':_0x1331fa(0x158)}),this[_0x1331fa(0x197)]['on'](_0x1331fa(0x101),async(_0x1b66b6,[_0x5b1068,_0x265efc])=>{const _0x5ffb6a=_0x1331fa;_0x1b66b6[_0x5ffb6a(0xb1)]();const _0x524966=this[_0x5ffb6a(0x197)][_0x5ffb6a(0x198)][_0x5ffb6a(0xd8)][_0x5ffb6a(0xf0)](_0x5b1068);if(!this[_0x5ffb6a(0xdb)][_0x5ffb6a(0x10a)](_0x5b1068)){const _0x3d51f5=_0x265efc&&_0x265efc[_0x5ffb6a(0xf6)]?_0x265efc[_0x5ffb6a(0xf6)]:'',_0x5d7b0f=_0x265efc&&_0x265efc[_0x5ffb6a(0x113)]?_0x265efc[_0x5ffb6a(0x113)]:{};await this[_0x5ffb6a(0x137)](_0x5b1068,_0x3d51f5,_0x5d7b0f);}this[_0x5ffb6a(0x197)][_0x5ffb6a(0x198)][_0x5ffb6a(0xeb)]({'isUndoable':!0x1},()=>{const _0x4a6d1f=_0x5ffb6a;_0x524966[_0x4a6d1f(0x10e)]=!0x0,this[_0x4a6d1f(0x197)][_0x4a6d1f(0x198)][_0x4a6d1f(0xd8)][_0x4a6d1f(0x15a)][_0x4a6d1f(0x13c)](_0x524966);});},{'priority':_0x1331fa(0x158)});}async[_0x1e72fe(0x15b)](_0x1a25be){const _0x54342e=_0x1e72fe,_0x5eff50=this[_0x54342e(0x197)][_0x54342e(0x148)][_0x54342e(0x130)](_0xae426c),{connection:_0x1e6101}=this[_0x54342e(0x197)][_0x54342e(0x148)][_0x54342e(0x130)](_0x2c912a),_0x7e3cfd=new Set();for(const _0x3a9fd1 of _0x1a25be){const _0x127571=_0x3a9fd1[_0x54342e(0x17d)];_0x127571&&!_0x5eff50[_0x54342e(0xba)](_0x127571)&&_0x7e3cfd[_0x54342e(0x107)](_0x127571);}if(0x0===_0x7e3cfd[_0x54342e(0x13e)])return;const _0x4b13c3=await _0x48ad65[_0x54342e(0x124)](_0x1e6101,Array[_0x54342e(0x14c)](_0x7e3cfd));for(const _0x35924d of _0x4b13c3)_0x5eff50[_0x54342e(0xba)](_0x35924d['id'])||_0x5eff50[_0x54342e(0x13a)](_0x35924d);}[_0x1e72fe(0xa5)](_0xe4f6b0,_0x3fa9d0={}){const _0x4e3bd0=_0x1e72fe,_0x2932d3=this[_0x4e3bd0(0x197)][_0x4e3bd0(0x198)],_0x7b4667=[];let _0xf5882a=0x0;const _0x4a514d=_0x4e3bd0(0x154)==typeof _0xe4f6b0?{'main':_0xe4f6b0}:_0xe4f6b0;for(const _0x10c7ef of Object[_0x4e3bd0(0xf5)](_0x4a514d)){if(!this[_0x4e3bd0(0x172)][_0x4e3bd0(0xf1)][_0x4e3bd0(0x10a)](_0x10c7ef))throw new _0x1cff2f(_0x4e3bd0(0xcb),this);const _0x1c9998=this[_0x4e3bd0(0x197)][_0x4e3bd0(0xf6)][_0x4e3bd0(0x16d)](_0x4a514d[_0x10c7ef]),_0xe5f985=this[_0x4e3bd0(0x172)][_0x4e3bd0(0xf0)](_0x10c7ef),_0x3499b6=new _0x3be235(_0x2932d3[_0x4e3bd0(0x150)](_0xe5f985,0x0),_0x1c9998,_0xf5882a++);_0x7b4667[_0x4e3bd0(0xca)](_0x3499b6);for(const [_0x15773c,_0x4cc1f2]of _0x1c9998[_0x4e3bd0(0xc9)]){const _0x80fa48=_0x2932d3[_0x4e3bd0(0xd9)](_0x2932d3[_0x4e3bd0(0x10c)](_0xe5f985,_0x4cc1f2[_0x4e3bd0(0x192)][_0x4e3bd0(0xc0)][_0x4e3bd0(0x163)]()),_0x2932d3[_0x4e3bd0(0x10c)](_0xe5f985,_0x4cc1f2[_0x4e3bd0(0x12e)][_0x4e3bd0(0xc0)][_0x4e3bd0(0x163)]())),_0x6f6b2b=new _0x1604c6(_0x15773c,null,_0x80fa48,_0x2932d3[_0x4e3bd0(0xc9)],!0x0,_0xf5882a++);_0x7b4667[_0x4e3bd0(0xca)](_0x6f6b2b);}}if(_0x3fa9d0)for(const [_0x33e389,_0x289583]of Object[_0x4e3bd0(0xb3)](_0x3fa9d0)){const _0x47e4c6=_0x2932d3[_0x4e3bd0(0xd8)][_0x4e3bd0(0xf0)](_0x33e389);if(!_0x47e4c6)throw new _0x1cff2f(_0x4e3bd0(0x189),null);for(const [_0x3e1cc8,_0x250bc7]of Object[_0x4e3bd0(0xb3)](_0x289583))if(null!==_0x250bc7){const _0xed9321=new _0x2935f9(_0x47e4c6,_0x3e1cc8,null,_0x250bc7,_0xf5882a++);_0x7b4667[_0x4e3bd0(0xca)](_0xed9321);}}return _0x7b4667;}async[_0x1e72fe(0x137)](_0x35b263,_0x4929c1,_0x510356){const _0x5887be=_0x1e72fe;this[_0x5887be(0xa5)]({[_0x35b263]:_0x4929c1},{[_0x35b263]:_0x510356})[_0x5887be(0x13f)]((_0x578a34,_0x5839c3)=>{const _0x39eff7=_0x5887be;_0x578a34[_0x39eff7(0xe2)]=this[_0x39eff7(0x172)][_0x39eff7(0x18f)]+_0x5839c3,_0x578a34[_0x39eff7(0xce)]=!0x0,this[_0x39eff7(0x151)](_0x578a34);}),this[_0x5887be(0xcf)](),await this[_0x5887be(0xfc)]();}async[_0x1e72fe(0xf2)](_0x8e9cde,_0x403b8c){const _0x16a477=_0x1e72fe;let _0x120439;this[_0x16a477(0xf8)]=_0x8e9cde[_0x16a477(0xe5)];const _0x42870c=_0x8e9cde[_0x16a477(0x109)]&&!_0x8e9cde[_0x16a477(0xae)],_0x3d55d6=_0x42870c?0x0:_0x8e9cde[_0x16a477(0xf6)][_0x16a477(0xe2)];if(_0x403b8c[_0x16a477(0x13f)](_0x271985=>{const _0x22bf6b=_0x16a477;_0x271985[_0x22bf6b(0xce)]=!0x0,_0x271985[_0x22bf6b(0x11f)]=_0x8e9cde[_0x22bf6b(0xfb)],_0x271985[_0x22bf6b(0x17d)]=null;}),_0x42870c)_0x120439=_0x403b8c,this[_0x16a477(0x184)](_0x120439,_0x42870c);else{if(_0x8e9cde[_0x16a477(0xae)]){const _0x38c3ff=this[_0x16a477(0xa5)](_0x8e9cde[_0x16a477(0xae)]);this[_0x16a477(0x172)][_0x16a477(0x149)][_0x16a477(0x18f)]=-_0x38c3ff[_0x16a477(0x127)],_0x38c3ff[_0x16a477(0x13f)](_0x31a930=>{const _0x4ccbc9=_0x16a477;_0x31a930[_0x4ccbc9(0xe2)]-=_0x38c3ff[_0x4ccbc9(0x127)],_0x31a930[_0x4ccbc9(0x11f)]=_0x8e9cde[_0x4ccbc9(0xfb)],_0x31a930[_0x4ccbc9(0xce)]=!0x0,_0x31a930[_0x4ccbc9(0x17d)]=null;}),this[_0x16a477(0x184)](_0x38c3ff,!0x0),this[_0x16a477(0xfd)][_0x16a477(0x18f)]=-_0x38c3ff[_0x16a477(0x127)]+this[_0x16a477(0xf8)],this[_0x16a477(0x18c)](_0x38c3ff);}this[_0x16a477(0x172)][_0x16a477(0x149)][_0x16a477(0x18f)]=_0x3d55d6,_0x120439=this[_0x16a477(0x12d)](_0x8e9cde[_0x16a477(0xf6)],_0x8e9cde[_0x16a477(0x171)]),await this[_0x16a477(0x15b)](_0x120439),this[_0x16a477(0x184)](_0x120439,_0x42870c);}_0x8e9cde[_0x16a477(0x12c)]&&(this[_0x16a477(0x104)][_0x16a477(0xb2)](_0x120439,_0x8e9cde[_0x16a477(0x12c)]),this[_0x16a477(0xbd)]=_0x8e9cde[_0x16a477(0x12c)]),this[_0x16a477(0xfd)][_0x16a477(0x18f)]=_0x3d55d6+this[_0x16a477(0xf8)],this[_0x16a477(0x18c)](_0x120439),_0x403b8c[_0x16a477(0xc5)](_0x243717=>{const _0x1b5eba=_0x16a477,_0x38c890=this[_0x1b5eba(0xd7)](_0x243717);return _0x38c890&&!this[_0x1b5eba(0xdb)][_0x1b5eba(0x10a)](_0x38c890);})[_0x16a477(0x13f)]((_0xfd1b54,_0x34cbbd)=>{const _0x5b051b=_0x16a477;_0xfd1b54[_0x5b051b(0xe2)]=this[_0x5b051b(0x172)][_0x5b051b(0x18f)]+_0x34cbbd,this[_0x5b051b(0x151)](_0xfd1b54);}),this[_0x16a477(0xdd)]()?(this[_0x16a477(0x12f)]=0x0,this[_0x16a477(0xcf)](!0x0),await this[_0x16a477(0xfc)]()):(this[_0x16a477(0x165)]=!0x1,this[_0x16a477(0xfe)]());}[_0x1e72fe(0xc2)](_0x31eed3,_0xcbd6c7,_0x2638fb){const _0x25cdd9=_0x1e72fe;throw this[_0x25cdd9(0x165)]=!0x0,_0xcbd6c7&&console[_0x25cdd9(0x16b)](_0xcbd6c7),_0x2638fb&&this[_0x25cdd9(0x197)][_0x25cdd9(0x134)](_0x25cdd9(0x179)),new _0x1cff2f(_0x31eed3,this[_0x25cdd9(0x197)]);}[_0x1e72fe(0x151)](_0x324639){const _0x145f57=_0x1e72fe;this[_0x145f57(0x178)][_0x145f57(0x10a)](_0x324639)||(this[_0x145f57(0x178)][_0x145f57(0x107)](_0x324639),this[_0x145f57(0x199)][_0x145f57(0xca)](_0x324639),this[_0x145f57(0xd5)]||_0x145f57(0x18d)==_0x324639[_0x145f57(0xab)]&&!_0x324639[_0x145f57(0x194)]||this[_0x145f57(0x14e)]());}[_0x1e72fe(0xcf)](_0x3f1c22=!0x1){const _0x443a83=_0x1e72fe;!_0x3f1c22&&this[_0x443a83(0x165)]||(this[_0x443a83(0x165)]=!0x0,clearTimeout(this[_0x443a83(0x114)]),this[_0x443a83(0x114)]=setTimeout(()=>{const _0x208104=_0x443a83;this[_0x208104(0x122)]()[_0x208104(0x17b)](_0x1c8b76=>{const _0x516991=_0x208104;_0x1c8b76&&(this[_0x516991(0xfe)](),this[_0x516991(0x165)]=!0x1);})[_0x208104(0xaa)](_0x3e5758=>{const _0x53ed0f=_0x208104;this[_0x53ed0f(0xfe)](),this[_0x53ed0f(0x165)]=!0x1,function(_0x3cdac9){const _0x2527b6=_0x53ed0f;return _0x3cdac9[_0x2527b6(0x19d)][_0x2527b6(0x159)](_0x2527b6(0x16a))||_0x3cdac9[_0x2527b6(0x19d)][_0x2527b6(0x159)](_0x2527b6(0xfa))||_0x3cdac9[_0x2527b6(0x19d)][_0x2527b6(0x159)](_0x2527b6(0x141));}(_0x3e5758)||this[_0x53ed0f(0xc2)](_0x3e5758[_0x53ed0f(0x19d)],_0x3e5758,!0x0);});},this[_0x443a83(0x12f)]));}[_0x1e72fe(0xfc)](){return new Promise(_0x5f5340=>{const _0x38beab=_0x26e6;this['on'](_0x38beab(0xf7),()=>{_0x5f5340();});});}async[_0x1e72fe(0x122)](){const _0x299be0=_0x1e72fe,_0x14145e=this[_0x299be0(0x197)][_0x299be0(0x148)][_0x299be0(0x130)](_0x554d87);if(this[_0x299be0(0xda)]()&&(_0x14145e[_0x299be0(0x174)](),this[_0x299be0(0x15f)]=!0x1),!this[_0x299be0(0xdd)]())return!0x0;const _0x3d2133=[...this[_0x299be0(0x199)]];for(const _0x195a7b of _0x3d2133)_0x195a7b[_0x299be0(0xc6)]=this[_0x299be0(0x172)][_0x299be0(0x149)][_0x299be0(0x140)](_0x195a7b);const _0x3dcdbf=this[_0x299be0(0x104)][_0x299be0(0x11c)](_0x3d2133),_0x254de5=Z++,_0x5537ed=this[_0x299be0(0x123)](_0x3d2133),_0x71973=await this[_0x299be0(0x160)][_0x299be0(0x116)](_0x5537ed,_0x5537ed[_0x299be0(0xe2)],_0x3dcdbf);try{return await this[_0x299be0(0x111)](_0x3d2133,_0x71973,_0x254de5);}catch(_0x2b97e9){return this[_0x299be0(0xc2)](_0x299be0(0xc3),_0x2b97e9);}}async[_0x1e72fe(0x111)](_0x42a1eb,_0x29b1d3,_0x1f5068){const _0x25cfba=_0x1e72fe;if(_0x25cfba(0x16b)in _0x29b1d3)throw _0x29b1d3[_0x25cfba(0x16b)];let _0x28e336=!0x1;if(_0x29b1d3[_0x25cfba(0x109)]){_0x29b1d3[_0x25cfba(0x12c)]&&(this[_0x25cfba(0xbd)]=_0x29b1d3[_0x25cfba(0x12c)]),this[_0x25cfba(0x199)]=this[_0x25cfba(0x199)][_0x25cfba(0xc5)](_0x1fdc97=>!_0x42a1eb[_0x25cfba(0xe3)](_0x1fdc97));for(const _0x3b2f9b of _0x42a1eb)_0x3b2f9b[_0x25cfba(0x11f)]=_0x25cfba(0xe4)in _0x29b1d3&&_0x29b1d3[_0x25cfba(0xe4)]||void 0x0;it(_0x42a1eb,_0x29b1d3[_0x25cfba(0x18f)]-_0x42a1eb[_0x25cfba(0x127)]),this[_0x25cfba(0x18c)](_0x42a1eb);const _0x1dd209=_0x42a1eb[_0x25cfba(0xc5)](_0x30b1e2=>{const _0x1e761c=_0x25cfba;if(!_0x30b1e2[_0x1e761c(0xce)])return!0x1;const _0x1d5d46=this[_0x1e761c(0xd7)](_0x30b1e2);return _0x1d5d46&&!this[_0x1e761c(0xdb)][_0x1e761c(0x10a)](_0x1d5d46);});it(_0x1dd209,this[_0x25cfba(0x172)][_0x25cfba(0x18f)]),this[_0x25cfba(0x184)](_0x1dd209),_0x28e336=!0x0,this[_0x25cfba(0x12f)]=this[_0x25cfba(0xb5)];}else{const _0x59842e=this[_0x25cfba(0x12d)](_0x29b1d3[_0x25cfba(0xf6)],_0x29b1d3[_0x25cfba(0x171)])[_0x25cfba(0xc5)](_0x52e382=>_0x52e382[_0x25cfba(0xe2)]>=this[_0x25cfba(0xb0)]);_0x59842e[_0x25cfba(0x13f)](_0x187d1f=>this[_0x25cfba(0xee)](_0x187d1f)),this[_0x25cfba(0x199)]=this[_0x25cfba(0x199)][_0x25cfba(0xc5)](_0x5e3875=>!_0x5e3875[_0x25cfba(0xce)]||!this[_0x25cfba(0xdb)][_0x25cfba(0x10a)](this[_0x25cfba(0xd7)](_0x5e3875))),this[_0x25cfba(0x199)][_0x25cfba(0x127)]&&it(this[_0x25cfba(0x199)],this[_0x25cfba(0x199)][0x0][_0x25cfba(0xe2)]),await this[_0x25cfba(0x15b)](_0x59842e),_0x28e336=this[_0x25cfba(0x186)](_0x59842e,_0x29b1d3[_0x25cfba(0x18f)],_0x29b1d3[_0x25cfba(0x12c)]),this[_0x25cfba(0x12f)]=Math[_0x25cfba(0xd0)](this[_0x25cfba(0x12f)]/0x2);}return _0x28e336?!this[_0x25cfba(0xdd)]()||(this[_0x25cfba(0xcf)](!0x0),!0x1):this[_0x25cfba(0xc2)](_0x25cfba(0x19a));}[_0x1e72fe(0x186)](_0x20a3b6,_0x1833c5,_0x9dfcad){const _0x4a8ee6=_0x1e72fe;try{const _0x19ccef={'document':this[_0x4a8ee6(0x172)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5d9fd9,operationsB:_0x27e858,originalOperations:_0x27972e}=_0x1e43ac(_0x20a3b6,this[_0x4a8ee6(0x199)],_0x19ccef);it(_0x5d9fd9,this[_0x4a8ee6(0x172)][_0x4a8ee6(0x18f)]),it(_0x27e858,_0x1833c5);for(const _0xf7cf8a of _0x5d9fd9){const _0x217df3=_0x27972e[_0x4a8ee6(0x130)](_0xf7cf8a);_0xf7cf8a[_0x4a8ee6(0x17d)]=_0x217df3?_0x217df3[_0x4a8ee6(0x17d)]:null;}_0x9dfcad&&(this[_0x4a8ee6(0x104)][_0x4a8ee6(0xb2)](_0x20a3b6,_0x9dfcad),this[_0x4a8ee6(0xbd)]=_0x9dfcad),this[_0x4a8ee6(0x199)]=[..._0x27e858],this[_0x4a8ee6(0x184)](_0x5d9fd9),this[_0x4a8ee6(0x18c)](_0x20a3b6);}catch(_0x21b7bb){return console[_0x4a8ee6(0x16b)](_0x21b7bb),!0x1;}return!0x0;}[_0x1e72fe(0x184)](_0x4664d2,_0xe7fe69=!0x1){const _0x17e474=_0x1e72fe;this[_0x17e474(0x197)][_0x17e474(0x198)][_0x17e474(0xeb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2ba93c=>{const _0x5cc0a5=_0x17e474;for(const _0x252f03 of _0x4664d2)this[_0x5cc0a5(0x178)][_0x5cc0a5(0x107)](_0x252f03),this[_0x5cc0a5(0xee)](_0x252f03),_0x2ba93c[_0x5cc0a5(0xd6)][_0x5cc0a5(0xde)](_0x252f03),this[_0x5cc0a5(0x197)][_0x5cc0a5(0x198)][_0x5cc0a5(0x162)](_0x252f03);});}[_0x1e72fe(0xee)](_0x4a593f){const _0x56630a=_0x1e72fe,_0x592fce=this[_0x56630a(0xd7)](_0x4a593f);_0x592fce&&this[_0x56630a(0xdb)][_0x56630a(0x107)](_0x592fce);}[_0x1e72fe(0xd7)](_0x4f3a57){const _0x1a3146=_0x1e72fe;let _0x131384,_0x4f9ab9;switch(_0x4f3a57[_0x1a3146(0xab)]){case _0x1a3146(0x125):_0x131384=_0x4f3a57[_0x1a3146(0x117)][_0x1a3146(0x15c)];break;case _0x1a3146(0x18d):if(_0x4f9ab9=_0x4f3a57[_0x1a3146(0x19c)],!_0x4f9ab9)return null;_0x131384=_0x4f9ab9[_0x1a3146(0x15c)];break;case _0x1a3146(0xac):_0x131384=_0x4f3a57[_0x1a3146(0x15c)];break;case _0x1a3146(0x18e):_0x131384=_0x4f3a57[_0x1a3146(0xb9)];break;case _0x1a3146(0x152):_0x131384=_0x4f3a57[_0x1a3146(0x176)][_0x1a3146(0x15c)];break;default:return null;}return _0x131384[_0x1a3146(0x108)];}[_0x1e72fe(0x18c)](_0x561f83){const _0xe5448d=_0x1e72fe;_0x561f83[_0xe5448d(0x13f)](_0x55368f=>{const _0x1afdea=_0xe5448d,_0x4f1307=_0x55368f[_0x1afdea(0x182)]();_0x4f1307[_0x1afdea(0x17d)]=_0x55368f[_0x1afdea(0x17d)],_0x4f1307[_0x1afdea(0xce)]=!!_0x55368f[_0x1afdea(0xce)],_0x4f1307[_0x1afdea(0x11f)]=_0x55368f[_0x1afdea(0x11f)],_0x4f1307[_0x1afdea(0xe2)]+=this[_0x1afdea(0xf8)],_0x55368f[_0x1afdea(0xa1)]&&this[_0x1afdea(0xd1)][_0x1afdea(0x107)](_0x4f1307),this[_0x1afdea(0xfd)][_0x1afdea(0xde)](_0x4f1307);});}[_0x1e72fe(0x9f)](_0x3c5869){const _0x4b7b3b=_0x1e72fe,_0x422ce1=this[_0x4b7b3b(0x197)][_0x4b7b3b(0x148)][_0x4b7b3b(0x130)](_0x4b7b3b(0x167)),_0x2f787a=this[_0x4b7b3b(0x197)][_0x4b7b3b(0xb8)];_0x3c5869||(_0x3c5869=_0x37ef97(_0x2f787a,_0x4b7b3b(0x126))),_0x422ce1[_0x4b7b3b(0x1a0)](_0x3c5869,{'title':_0x37ef97(_0x2f787a,_0x4b7b3b(0xa8)),'namespace':_0x4b7b3b(0xff)}),this[_0x4b7b3b(0xa0)]=!0x0,clearTimeout(this[_0x4b7b3b(0x114)]),this[_0x4b7b3b(0x199)]=[],this[_0x4b7b3b(0x197)][_0x4b7b3b(0x148)][_0x4b7b3b(0x130)](_0x2c912a)[_0x4b7b3b(0x195)]();}[_0x1e72fe(0x14e)](){const _0x5c24e2=_0x1e72fe;this[_0x5c24e2(0xd5)]||(this[_0x5c24e2(0xd5)]=this[_0x5c24e2(0x197)][_0x5c24e2(0x148)][_0x5c24e2(0x130)](_0x57d992)[_0x5c24e2(0x107)](_0x37ef97(this[_0x5c24e2(0x197)][_0x5c24e2(0xb8)],_0x5c24e2(0xc7))));}[_0x1e72fe(0xfe)](){const _0x390979=_0x1e72fe;this[_0x390979(0xd5)]&&(this[_0x390979(0x197)][_0x390979(0x148)][_0x390979(0x130)](_0x57d992)[_0x390979(0x181)](this[_0x390979(0xd5)]),this[_0x390979(0xd5)]=null);}[_0x1e72fe(0x123)](_0x4391c3){const _0x4b3110=_0x1e72fe,_0x1c4b2d=_0x4391c3[_0x4b3110(0x135)](_0x25cd96=>_0x25cd96[_0x4b3110(0x173)]());return this[_0x4b3110(0x187)][_0x4b3110(0x132)](_0x1c4b2d);}[_0x1e72fe(0x12d)](_0x2a5a49,_0x80bd9e){const _0xd6036f=_0x1e72fe;return this[_0xd6036f(0x187)][_0xd6036f(0x13b)](_0x2a5a49)[_0xd6036f(0x135)]((_0x15939e,_0x5ab273)=>{const _0x1bad84=_0xd6036f,_0x73518f=_0x1bad84(0xbc)==_0x80bd9e[_0x5ab273][_0x1bad84(0xab)];if(_0x1bad84(0xa2)==_0x15939e[_0x1bad84(0x133)]){const _0x3e7c45=_0x15939e[_0x1bad84(0x117)][_0x1bad84(0x15c)];!this[_0x1bad84(0x172)][_0x1bad84(0xf0)](_0x3e7c45)&&(this[_0x1bad84(0x172)][_0x1bad84(0x10b)](_0x1bad84(0x19f),_0x3e7c45)[_0x1bad84(0x177)]=!0x1);}const _0x58b531=_0x59b229[_0x1bad84(0xd2)](_0x15939e,this[_0x1bad84(0x172)]);return _0x58b531[_0x1bad84(0xc6)]=_0x15939e[_0x1bad84(0xc6)],_0x58b531[_0x1bad84(0xce)]=_0x73518f,_0x58b531[_0x1bad84(0x17d)]=_0x73518f?null:_0x80bd9e[_0x5ab273][_0x1bad84(0x112)],_0x58b531[_0x1bad84(0xa1)]=_0x1bad84(0x18b)===_0x80bd9e[_0x5ab273][_0x1bad84(0xab)],_0x58b531[_0x1bad84(0x11f)]=_0x80bd9e[_0x5ab273][_0x1bad84(0x11f)],_0x58b531;});}[_0x1e72fe(0x11e)](){const _0x591eb6=_0x1e72fe;this[_0x591eb6(0x15f)]=!0x0,this[_0x591eb6(0xda)]()?this[_0x591eb6(0xcf)]():this[_0x591eb6(0x15f)]=!0x1;}[_0x1e72fe(0xda)](){const _0x11c8f0=_0x1e72fe,_0x5a0d6d=this[_0x11c8f0(0x197)][_0x11c8f0(0x148)][_0x11c8f0(0x130)](_0xaf806b)[_0x11c8f0(0x168)][_0x11c8f0(0x130)](this[_0x11c8f0(0x103)]);return!this[_0x11c8f0(0x197)][_0x11c8f0(0x139)]&&!!_0x5a0d6d&&_0x5a0d6d[_0x11c8f0(0x127)]>0x1&&this[_0x11c8f0(0x15f)];}[_0x1e72fe(0xdd)](){const _0x125a34=_0x1e72fe;return this[_0x125a34(0x199)][_0x125a34(0x127)]>0x0||this[_0x125a34(0xda)]();}}l[_0x1e72fe(0x196)]=_0x495554;function _0x4740(){const _0x14e975=['includes','lastOperationAcceptedAt','offset','rtc-offline','selection','return','config','bind','enqueueChange','apply','sessionId','_addKnownRoot','directChange','getRoot','roots','_handleInitialConnectionData','_isConnected','disconnected','keys','data','change:_isPendingUpdate','_offset','_setUpDataInit','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionCreatedAt','_waitUntilSynced','serverHistory','_clearPendingAction','real-time-collaboration','fire','loadRoot','change:_isEditingAllowed','_channelId','_operationIdentifier','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','listenTo','add','rootName','wereChangesApplied','has','createRoot','createPositionFromPath','Permissions','_isLoaded','unregister','connected','_handleServerResponse','userId','attributes','_sendBufferedOperationsDelayId','RealTimeCollaborationClient','sendOperations','position','isDocumentOperation','_initSessionsHandling','404','disconnect','getIdOfTheLastOperation','mySessionId','_refreshUserSelectionMarkers','createdAt','off','1175534EMAJJy','_sendBufferedOperations','_compressOperations','getMany','insert','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.','length','reconnect','lastSyncVersion','5395920QTmzkm','sessionAdd:','lastOperationId','_decompressOperations','end','_currentBufferDelay','get','_handleReceivedOperations','compress','__className','enableReadOnlyMode','map','disableReadOnlyMode','_loadRoot','pluginName','isReadOnly','addUser','decompress','_bufferRootLoad','collaboration','size','forEach','isUndoneOperation','cloud-services-internal-error:\x20Request\x20timeout.','removeFromReconnectionStack','rtc-destroyed','editing','_disconnectService','finally','reconnection:\x20flushed\x20session','plugins','history','isPremiumPlugin','getConnectedSessions','from','realtimecollaborationclient-initservice-incorrect-server-operation','_setPendingAction','85ouevaN','createPositionAt','_saveOperationInBuffer','move','CommentsOnly','string','544219czoEIW','register','code','high','startsWith','differ','_fetchMissingUsers','root','lastDocumentSession','getOperations','_hasSelectionChanged','_service','collaboration.channelId','applyOperation','slice','permissions','_isPendingUpdate','2653742obbquo','Notification','channelSessions','suppressErrorInCollaboration','cloud-services-internal-error:\x20Not\x20connected.','error','_ignoredOperations','parse','setPermissions','realtimecollaborationclient-init-document-already-initialized','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.','metadata','_document','toJSON','createUserMarkerOperations','realtimecollaborationclient-init-session-connection-error','targetPosition','_isAttached','_knownOperations','realtimecollaborationclient-error','connect','then','connection','_authorId','reset','change:range','realtimecollaborationclient-initservice-internal-error','remove','clone','getOperationAuthor','_applyOperationsSet','_handleSendingSelectionMarkers','_handleExternalOperations','_compressor','isEnabled','multi-root-editor-root-attributes-no-root','_connectService','cs:removeUser','_updateServerHistory','marker','addRoot','version','realtimecollaborationclient-init-connection-failed','addToReconnectionStack','start','view','affectsData','destroy','CollaborativeEditingService','editor','model','_bufferedOperations','realtimecollaborationclient-handleserverresponse','stopListening','newRange','message','define','$root','showWarning','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleReconnectionError','_hasSynchronizationProblem','_isDisconnection','InsertOperation','requires','409','_getOperationsFromInitData','state','set','Synchronization\x20issue','1572896KoIxlO','catch','type','addRootAttribute','cloudDocumentVersion','initData','_connectAfterSessionHasBeenFlushed','_lastServerVersion','stop','setIdForTheLastOperation','entries','rootsAttributes','_baseBufferDelay','change:hasDomSelection','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','locale','affectedSelectable','getUser','1394541RByboo','init','_lastSyncedOperationId','ready','isOfficialPlugin','path','cloudServices.bundleVersion','_crash','realtimecollaborationclient-sendbufferedoperations','currentDocumentSession','filter','wasUndone','PENDING_ACTION_SENDING_DATA','getDocumentDetails','markers','push','realtimecollaborationclient-init-non-existent-root','collaboration-missing-channelid','_isEditingAllowed','_isInit','_sendBufferedOperationsDelayed','round','_disconnectionOperations','fromJSON','_operationToId','document:write','_pendingAction','batch','_getAffectedRoot','document','createRange','_shouldSendSelectionUpdate','_knownRootNames','_initThrowingOnDataSet','_shouldSendUpdate','addOperation','operationsReceived','86694QUCWjA','_handleReconnectionResponse','baseVersion'];_0x4740=function(){return _0x14e975;};return _0x4740();}export default l;class tt extends Error{}function it(_0x38f001,_0x13244e){const _0x27a187=_0x1e72fe;for(const _0x58fd7e of _0x38f001)_0x58fd7e[_0x27a187(0xe2)]=_0x13244e++;}class st{constructor(_0x3e8ab3){const _0x493290=_0x1e72fe;this[_0x493290(0x16c)]=_0x3e8ab3,this[_0x493290(0xd3)]=new WeakMap();}[_0x1e72fe(0x11c)](_0x15f849){const _0x32f2e2=_0x1e72fe;let _0x2d261e=_0x15f849[_0x32f2e2(0x127)];for(;_0x2d261e--;){const _0x22c4b5=_0x15f849[_0x2d261e];if(!this[_0x32f2e2(0x16c)][_0x32f2e2(0x10a)](_0x22c4b5)){if(!this[_0x32f2e2(0xd3)][_0x32f2e2(0x10a)](_0x22c4b5)){const _0x5ce919=_0x6c6e1b()[_0x32f2e2(0x163)](0x1,0x12);this[_0x32f2e2(0xd3)][_0x32f2e2(0xa7)](_0x22c4b5,_0x5ce919);}return this[_0x32f2e2(0xd3)][_0x32f2e2(0x130)](_0x22c4b5);}}}[_0x1e72fe(0xb2)](_0x54b18a,_0x176adf){const _0x22c334=_0x1e72fe;if(!_0x176adf)return;let _0x502c5a=_0x54b18a[_0x22c334(0x127)];for(;_0x502c5a--;){const _0x4ed99f=_0x54b18a[_0x502c5a];this[_0x22c334(0x16c)][_0x22c334(0x10a)](_0x4ed99f)||this[_0x22c334(0xd3)][_0x22c334(0xa7)](_0x4ed99f,_0x176adf);}}}
|
|
23
|
+
const _0x1eae1f=_0x14f2;(function(_0x462856,_0x353cbb){const _0x56697b=_0x14f2,_0x1cf22c=_0x462856();while(!![]){try{const _0x202e78=-parseInt(_0x56697b(0x28e))/0x1*(-parseInt(_0x56697b(0x26b))/0x2)+parseInt(_0x56697b(0x2b1))/0x3+-parseInt(_0x56697b(0x1e9))/0x4*(-parseInt(_0x56697b(0x278))/0x5)+parseInt(_0x56697b(0x288))/0x6*(parseInt(_0x56697b(0x26d))/0x7)+-parseInt(_0x56697b(0x22f))/0x8+-parseInt(_0x56697b(0x272))/0x9*(parseInt(_0x56697b(0x204))/0xa)+-parseInt(_0x56697b(0x269))/0xb*(-parseInt(_0x56697b(0x1f5))/0xc);if(_0x202e78===_0x353cbb)break;else _0x1cf22c['push'](_0x1cf22c['shift']());}catch(_0x4916e0){_0x1cf22c['push'](_0x1cf22c['shift']());}}}(_0x2a94,0x431bd));import{Plugin as _0x4bb662,PendingActions as _0x2eec60}from'ckeditor5/src/core.js';import{CKEditorError as _0x9b2916,version as _0x260140,uid as _0x58d6ab}from'ckeditor5/src/utils.js';import{Notification as _0x4146cd}from'ckeditor5/src/ui.js';import{transformSets as _0x528d24,NoOperation as _0x326c77,InsertOperation as _0x1eb0c9,MarkerOperation as _0x28403f,RootAttributeOperation as _0x4b1a5b,OperationFactory as _0x2e3c12,History as _0x1a0ce3}from'ckeditor5/src/engine.js';import _0x352c37 from'./websocketgateway.js';import _0x2a23c8 from'./sessions.js';import _0x70279c from'./usermarkers.js';import{getTranslation as _0x4c8fcf}from'../common-translations.js';import{Compressor as _0x16bb18}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x44ad1a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x14f2(_0x3c8c53,_0x22b254){const _0x2a94f7=_0x2a94();return _0x14f2=function(_0x14f299,_0x9c613a){_0x14f299=_0x14f299-0x1dc;let _0x525309=_0x2a94f7[_0x14f299];return _0x525309;},_0x14f2(_0x3c8c53,_0x22b254);}import{User as _0x56717f,CollaborativeEditingService as _0x1ff895}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4bb662{static get[_0x1eae1f(0x290)](){return[_0x352c37,_0x2a23c8,_0x70279c,_0x2eec60,_0x44ad1a,_0x4146cd];}static get[_0x1eae1f(0x267)](){const _0x1f2d59=_0x1eae1f;return _0x1f2d59(0x240);}static get[_0x1eae1f(0x2ca)](){return!0x0;}static get[_0x1eae1f(0x212)](){return!0x0;}get[_0x1eae1f(0x208)](){const _0x2b8551=_0x1eae1f;return this[_0x2b8551(0x21a)]+this[_0x2b8551(0x2a3)];}get[_0x1eae1f(0x21a)](){const _0x486e7f=_0x1eae1f;return this[_0x486e7f(0x29f)][_0x486e7f(0x291)]-this[_0x486e7f(0x2a3)];}get[_0x1eae1f(0x1de)](){const _0x12e709=_0x1eae1f,_0x430394=this[_0x12e709(0x29f)][_0x12e709(0x28d)]();for(let _0xd422e0=_0x430394[_0x12e709(0x2a0)]-0x1;_0xd422e0>=0x0;_0xd422e0--){const _0x1adc9=_0x430394[_0xd422e0];if(!this[_0x12e709(0x1dc)][_0x12e709(0x298)](_0x1adc9))return _0x1adc9[_0x12e709(0x2da)]+0x1-this[_0x12e709(0x2a3)];}return 0x0;}constructor(_0x126639){const _0x110166=_0x1eae1f;if(super(_0x126639),this[_0x110166(0x2a3)]=0x0,this[_0x110166(0x246)]=null,this[_0x110166(0x29f)]=new _0x1a0ce3(),this[_0x110166(0x1dd)][_0x110166(0x26e)][_0x110166(0x2e2)](_0x110166(0x2be),{}),this[_0x110166(0x1e2)]=this[_0x110166(0x1dd)][_0x110166(0x26e)][_0x110166(0x23a)](_0x110166(0x275)),!this[_0x110166(0x1e2)])throw new _0x9b2916(_0x110166(0x2e1),this);const _0x2d8962=_0x126639[_0x110166(0x26e)][_0x110166(0x23a)](_0x110166(0x2cb))||_0x260140;this[_0x110166(0x29a)]=new l[(_0x110166(0x234))](_0x2d8962,this[_0x110166(0x1e2)]),this[_0x110166(0x227)]=this[_0x110166(0x1dd)][_0x110166(0x209)][_0x110166(0x2ab)],this[_0x110166(0x22a)]=new _0x16bb18(),this[_0x110166(0x23c)]=[],this[_0x110166(0x2d2)]=new WeakSet(),this[_0x110166(0x202)]=new Set(),this[_0x110166(0x2d8)](_0x110166(0x263),!0x1),this[_0x110166(0x2d8)](_0x110166(0x24c),!0x1),this[_0x110166(0x1e1)]=null,this[_0x110166(0x21c)]=!0x1,this[_0x110166(0x2c4)]=null,this[_0x110166(0x22e)]=0x12c,this[_0x110166(0x2b9)]=this[_0x110166(0x22e)],this[_0x110166(0x20e)]=null,this[_0x110166(0x1dc)]=new WeakSet(),this[_0x110166(0x245)]=new X(this[_0x110166(0x1dc)]);}[_0x1eae1f(0x292)](){const _0x8c41e5=_0x1eae1f,_0x284cd9=this[_0x8c41e5(0x1dd)],_0x4cd9b0=_0x284cd9[_0x8c41e5(0x230)][_0x8c41e5(0x23a)](_0x44ad1a),_0x2876e8=_0x284cd9[_0x8c41e5(0x230)][_0x8c41e5(0x23a)](_0x352c37);this[_0x8c41e5(0x22c)](_0x4cd9b0,_0x8c41e5(0x2a4),(_0x1824ab,_0xa33b41)=>{const _0x1a7fe2=_0x8c41e5,_0x41e839=_0xa33b41[0x0];_0x41e839[_0x1a7fe2(0x20c)]&&(_0x1824ab[_0x1a7fe2(0x231)]=_0x4cd9b0[_0x1a7fe2(0x28a)](_0x41e839[_0x1a7fe2(0x20c)]),_0x1824ab[_0x1a7fe2(0x211)]()),null===_0x41e839[_0x1a7fe2(0x20c)]&&(_0x1824ab[_0x1a7fe2(0x231)]=null,_0x1824ab[_0x1a7fe2(0x211)]());},{'priority':_0x8c41e5(0x29b)}),this[_0x8c41e5(0x22c)](_0x284cd9[_0x8c41e5(0x209)][_0x8c41e5(0x2ab)][_0x8c41e5(0x2a6)],_0x8c41e5(0x26c),(_0x11ca8d,_0x5199c7)=>{const _0x435a77=_0x8c41e5;_0x5199c7[_0x435a77(0x2a2)]&&this[_0x435a77(0x244)]();}),this[_0x8c41e5(0x22c)](_0x284cd9[_0x8c41e5(0x21e)][_0x8c41e5(0x251)],_0x8c41e5(0x235),()=>{const _0x53c27b=_0x8c41e5;this[_0x53c27b(0x244)]();}),this[_0x8c41e5(0x254)](),_0x284cd9[_0x8c41e5(0x209)]['on'](_0x8c41e5(0x2a8),(_0xf32a13,_0x5f0594)=>{const _0x553a65=_0x8c41e5,_0x50b74e=_0x5f0594[0x0];_0x50b74e[_0x553a65(0x20b)]&&(this[_0x553a65(0x232)](_0x50b74e),this[_0x553a65(0x271)]()&&this[_0x553a65(0x2ae)]());}),this[_0x8c41e5(0x2c2)](),this[_0x8c41e5(0x1ea)](_0x8c41e5(0x1f4))['to'](_0x2876e8,_0x8c41e5(0x1f0),this,_0x8c41e5(0x24c),(_0x2c1ab3,_0x515d49)=>_0x8c41e5(0x213)===_0x2c1ab3&&!_0x515d49),this['on'](_0x8c41e5(0x233),()=>{const _0x1610fe=_0x8c41e5;this[_0x1610fe(0x1f4)]?_0x284cd9[_0x1610fe(0x24e)](_0x1610fe(0x20f)):_0x284cd9[_0x1610fe(0x2bd)](_0x1610fe(0x20f));}),this[_0x8c41e5(0x1f4)]?_0x284cd9[_0x8c41e5(0x24e)](_0x8c41e5(0x20f)):_0x284cd9[_0x8c41e5(0x2bd)](_0x8c41e5(0x20f)),this[_0x8c41e5(0x2d8)](_0x8c41e5(0x2df),!0x1);}async[_0x1eae1f(0x2bb)](){const _0x470831=_0x1eae1f,_0x2b60fc=this[_0x470831(0x1dd)][_0x470831(0x230)][_0x470831(0x23a)](_0x2a23c8),_0x56ede8=this[_0x470831(0x1dd)][_0x470831(0x230)][_0x470831(0x23a)](_0x352c37);try{this[_0x470831(0x263)]=!0x0,_0x2b60fc[_0x470831(0x1df)](this[_0x470831(0x1e2)]);const _0x207650=await this[_0x470831(0x29a)][_0x470831(0x2bb)](_0x56ede8[_0x470831(0x243)],this[_0x470831(0x1de)]);await this[_0x470831(0x255)](_0x207650)&&(this[_0x470831(0x263)]=!0x1,this[_0x470831(0x1f8)]());const _0x16cbd3=await this[_0x470831(0x29a)][_0x470831(0x2d6)]();_0x2b60fc[_0x470831(0x215)](this[_0x470831(0x1e2)],_0x16cbd3),this[_0x470831(0x29d)](),this[_0x470831(0x2df)]=!0x0;}catch(_0x1b91a4){if(function(_0x28113c){const _0x2a72c0=_0x470831;return _0x2a72c0(0x2d5)===_0x28113c[_0x2a72c0(0x25d)];}(_0x1b91a4)&&this[_0x470831(0x246)])await this[_0x470831(0x1eb)]();else{if(function(_0x4d1cd1){const _0x3a876c=_0x470831;return _0x3a876c(0x277)===_0x4d1cd1[_0x3a876c(0x25d)];}(_0x1b91a4)){const _0xd672d0=_0x4c8fcf(this[_0x470831(0x1dd)][_0x470831(0x2cc)],_0x470831(0x221));this[_0x470831(0x1f6)](_0xd672d0);}else{if(!(_0x1b91a4 instanceof J))throw _0x1b91a4;this[_0x470831(0x1f6)]();}}}}[_0x1eae1f(0x252)](){const _0x2eb328=_0x1eae1f,_0x5cd85d=this[_0x2eb328(0x1dd)][_0x2eb328(0x230)][_0x2eb328(0x23a)](_0x352c37),_0x51a9ad=this[_0x2eb328(0x1dd)][_0x2eb328(0x230)][_0x2eb328(0x23a)](_0x2a23c8);this[_0x2eb328(0x1dd)][_0x2eb328(0x2bd)](_0x2eb328(0x280)),_0x51a9ad[_0x2eb328(0x201)][_0x2eb328(0x298)](this[_0x2eb328(0x1e2)])&&_0x51a9ad[_0x2eb328(0x1df)](this[_0x2eb328(0x1e2)]),_0x5cd85d[_0x2eb328(0x1fa)](this),this[_0x2eb328(0x1fd)](),super[_0x2eb328(0x252)]();}async[_0x1eae1f(0x255)](_0x541330){const _0x116cf5=_0x1eae1f;if(this[_0x116cf5(0x246)]!==_0x541330[_0x116cf5(0x246)]&&this[_0x116cf5(0x20e)]!==_0x541330[_0x116cf5(0x1e4)])throw new J();return this[_0x116cf5(0x246)]=_0x541330[_0x116cf5(0x246)],this[_0x116cf5(0x237)]([],{..._0x541330,'wereChangesApplied':!0x1,'data':_0x541330[_0x116cf5(0x2b4)]},_0x116cf5(0x2bb));}async[_0x1eae1f(0x1ff)](_0x1c7d48,_0xd8c9ec=!0x1){const _0x5cc69=_0x1eae1f,{connection:_0x5bc27e}=this[_0x5cc69(0x1dd)][_0x5cc69(0x230)][_0x5cc69(0x23a)](_0x352c37);l[_0x5cc69(0x234)][_0x5cc69(0x2d6)](_0x5bc27e,this[_0x5cc69(0x1e2)])[_0x5cc69(0x205)](_0x32938e=>this[_0x5cc69(0x2c6)](_0x32938e))[_0x5cc69(0x242)](_0x85f73d=>{const _0x5d8166=_0x5cc69;this[_0x5d8166(0x24d)](_0x5d8166(0x1e6),_0x85f73d);}),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x2b6),this[_0x5cc69(0x25e)][_0x5cc69(0x1ea)](this)),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x1e7),(_0x5e3794,_0x159fbb)=>{const _0xe11109=_0x5cc69;this[_0xe11109(0x24d)](_0xe11109(0x2c7),_0x159fbb);}),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x1f3),()=>{const _0xac51e3=_0x5cc69;this[_0xac51e3(0x2df)]=!0x1;});const _0x35e606=this[_0x5cc69(0x245)][_0x5cc69(0x276)](_0x1c7d48);this[_0x5cc69(0x263)]=!0x0;const _0x55d4b4=await this[_0x5cc69(0x29a)][_0x5cc69(0x1ef)](_0x5bc27e,this[_0x5cc69(0x258)](_0x1c7d48),_0x35e606);if(this[_0x5cc69(0x246)]=_0x55d4b4[_0x5cc69(0x246)],_0xd8c9ec){if(!_0x55d4b4[_0x5cc69(0x2bf)])return void this[_0x5cc69(0x1f6)]();this[_0x5cc69(0x263)]=!0x1,this[_0x5cc69(0x1f8)](),this[_0x5cc69(0x29f)][_0x5cc69(0x217)](),this[_0x5cc69(0x2a3)]=_0x55d4b4[_0x5cc69(0x210)],this[_0x5cc69(0x29f)][_0x5cc69(0x291)]=this[_0x5cc69(0x2a3)],await this[_0x5cc69(0x237)](_0x1c7d48,_0x55d4b4,_0x5cc69(0x28f));}else await this[_0x5cc69(0x27e)](_0x55d4b4,_0x1c7d48);this[_0x5cc69(0x29d)](),this[_0x5cc69(0x2df)]=!0x0;}[_0x1eae1f(0x29d)](){const _0x38bea1=_0x1eae1f,_0x2b3461=this[_0x38bea1(0x1dd)][_0x38bea1(0x230)][_0x38bea1(0x23a)](_0x2a23c8),_0x316426=this[_0x38bea1(0x1dd)][_0x38bea1(0x230)][_0x38bea1(0x23a)](_0x70279c),_0x25bbb4=_0x2b3461[_0x38bea1(0x201)][_0x38bea1(0x23a)](this[_0x38bea1(0x1e2)]);_0x25bbb4&&_0x25bbb4[_0x38bea1(0x2a0)]>0x1?_0x316426[_0x38bea1(0x2d7)]():this[_0x38bea1(0x22c)](_0x2b3461,_0x38bea1(0x1fc)+this[_0x38bea1(0x1e2)],()=>{const _0x5b00cc=_0x38bea1;0x2===_0x2b3461[_0x5b00cc(0x201)][_0x5b00cc(0x23a)](this[_0x5b00cc(0x1e2)])[_0x5b00cc(0x2a0)]&&_0x316426[_0x5b00cc(0x2d7)]();});}async[_0x1eae1f(0x25e)](_0x1c11d2,_0x4fc12a,_0x4c5115,_0x1f8d48){const _0x3b2b56=_0x1eae1f;if(!this[_0x3b2b56(0x263)]&&this[_0x3b2b56(0x227)][_0x3b2b56(0x291)]==_0x4fc12a){const _0x158acb=this[_0x3b2b56(0x261)](_0x4c5115,_0x1f8d48);await this[_0x3b2b56(0x203)](_0x158acb),this[_0x3b2b56(0x247)](_0x158acb,_0x4fc12a,_0x4c5115[_0x3b2b56(0x1e4)])||this[_0x3b2b56(0x24d)](_0x3b2b56(0x228));}}async[_0x1eae1f(0x1eb)](){const _0x890aff=_0x1eae1f;this[_0x890aff(0x1fd)]();const {locale:_0x579982}=this[_0x890aff(0x1dd)];let _0x476c1a;try{_0x476c1a=await this[_0x890aff(0x29a)][_0x890aff(0x2db)]();}catch(_0x29dc66){const _0x2fb8d2=_0x4c8fcf(_0x579982,_0x890aff(0x2b8));return void this[_0x890aff(0x1f6)](_0x2fb8d2);}const _0x1da4f5=_0x476c1a[_0x890aff(0x285)]||_0x476c1a[_0x890aff(0x2dc)];if(this[_0x890aff(0x20e)]===_0x1da4f5[_0x890aff(0x1e4)])await this[_0x890aff(0x1ff)](this[_0x890aff(0x1dd)][_0x890aff(0x209)][_0x890aff(0x2ab)][_0x890aff(0x1f1)][_0x890aff(0x28d)](),!0x0);else{const _0x5d7172=_0x4c8fcf(_0x579982,_0x890aff(0x262));this[_0x890aff(0x1f6)](_0x5d7172);}}[_0x1eae1f(0x1fd)](){const _0x10fd03=_0x1eae1f;this[_0x10fd03(0x29a)][_0x10fd03(0x23f)](),this[_0x10fd03(0x23c)]=[],clearTimeout(this[_0x10fd03(0x2c4)]),this[_0x10fd03(0x2d1)](this[_0x10fd03(0x29a)]);}[_0x1eae1f(0x2c6)](_0x281478){const _0x313518=_0x1eae1f,_0x35ca25=this[_0x313518(0x1dd)][_0x313518(0x230)][_0x313518(0x23a)](_0x2a23c8);this[_0x313518(0x22c)](_0x35ca25,_0x313518(0x1fc)+this[_0x313518(0x1e2)],(_0x571c20,{session:_0x5f58d4})=>{const _0x227cae=_0x313518;if(_0x5f58d4['id']===_0x35ca25[_0x227cae(0x296)]){_0x571c20[_0x227cae(0x1e5)]();const _0x4b2e10=this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x298)](_0x227cae(0x259))&&this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x23a)](_0x227cae(0x259));let _0x8d8897=_0x5f58d4[_0x227cae(0x224)];_0x4b2e10&&_0x4b2e10[_0x227cae(0x2ad)]&&(_0x8d8897=_0x8d8897[_0x227cae(0x1f9)](_0x33ad8c=>_0x227cae(0x23e)!==_0x33ad8c)),this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x23a)](_0x227cae(0x289))[_0x227cae(0x21d)](_0x8d8897,this[_0x227cae(0x1e2)]);}}),_0x35ca25[_0x313518(0x215)](this[_0x313518(0x1e2)],_0x281478);}[_0x1eae1f(0x254)](){const _0x49f2d6=_0x1eae1f,_0x28a7c7=this[_0x49f2d6(0x1dd)][_0x49f2d6(0x2b4)][_0x49f2d6(0x2d8)];this[_0x49f2d6(0x1dd)][_0x49f2d6(0x2b4)][_0x49f2d6(0x2d8)]=(..._0x2b3d9c)=>{const _0x573030=_0x49f2d6;if(!_0x2b3d9c[_0x2b3d9c[_0x573030(0x2a0)]-0x1][_0x573030(0x1ec)])throw new _0x9b2916(_0x573030(0x260),this);_0x28a7c7[_0x573030(0x236)](this[_0x573030(0x1dd)][_0x573030(0x2b4)],_0x2b3d9c);};}[_0x1eae1f(0x2c2)](){const _0xa6b9b0=_0x1eae1f;this[_0xa6b9b0(0x1dd)][_0xa6b9b0(0x2b4)]['on'](_0xa6b9b0(0x292),(_0x2614a9,[_0x271adc])=>{const _0x51326b=_0xa6b9b0;if(this[_0x51326b(0x227)][_0x51326b(0x291)])throw new _0x9b2916(_0x51326b(0x299),this);_0x2614a9[_0x51326b(0x211)](),this[_0x51326b(0x25c)]();const _0x1a48fb=this[_0x51326b(0x1dd)][_0x51326b(0x26e)][_0x51326b(0x23a)](_0x51326b(0x268)),_0x4b331f=this[_0x51326b(0x256)](_0x271adc,_0x1a48fb);0x0==_0x4b331f[_0x51326b(0x2a0)]&&_0x4b331f[_0x51326b(0x29e)](new _0x326c77(0x0)),_0x2614a9[_0x51326b(0x231)]=this[_0x51326b(0x1ff)](_0x4b331f)[_0x51326b(0x205)](()=>{const _0x201276=_0x51326b;this[_0x201276(0x1dd)][_0x201276(0x230)][_0x201276(0x23a)](_0x352c37)[_0x201276(0x21b)](this),this[_0x201276(0x1dd)][_0x201276(0x2b4)][_0x201276(0x2b5)](_0x201276(0x279));})[_0x51326b(0x242)](_0x138d71=>this[_0x51326b(0x24d)](_0x51326b(0x2cd),_0x138d71))[_0x51326b(0x2de)](()=>this[_0x51326b(0x1f8)]());},{'priority':_0xa6b9b0(0x29b)}),this[_0xa6b9b0(0x1dd)]['on'](_0xa6b9b0(0x2b7),async(_0x39ac22,[_0x2f9135,_0x3f7138])=>{const _0x4b8c90=_0xa6b9b0;_0x39ac22[_0x4b8c90(0x211)]();const _0x32a4ae=this[_0x4b8c90(0x1dd)][_0x4b8c90(0x209)][_0x4b8c90(0x2ab)][_0x4b8c90(0x1f7)](_0x2f9135);if(!this[_0x4b8c90(0x202)][_0x4b8c90(0x298)](_0x2f9135)){const _0x2c0f39=_0x3f7138&&_0x3f7138[_0x4b8c90(0x2b4)]?_0x3f7138[_0x4b8c90(0x2b4)]:'',_0x2961db=_0x3f7138&&_0x3f7138[_0x4b8c90(0x2d4)]?_0x3f7138[_0x4b8c90(0x2d4)]:{};await this[_0x4b8c90(0x2c1)](_0x2f9135,_0x2c0f39,_0x2961db);}this[_0x4b8c90(0x1dd)][_0x4b8c90(0x209)][_0x4b8c90(0x206)]({'isUndoable':!0x1},()=>{const _0x1dd450=_0x4b8c90;_0x32a4ae[_0x1dd450(0x27d)]=!0x0,this[_0x1dd450(0x1dd)][_0x1dd450(0x209)][_0x1dd450(0x2ab)][_0x1dd450(0x26f)][_0x1dd450(0x25a)](_0x32a4ae);});},{'priority':_0xa6b9b0(0x29b)});}async[_0x1eae1f(0x203)](_0x4d7c33){const _0x5b7def=_0x1eae1f,_0x71ba55=this[_0x5b7def(0x1dd)][_0x5b7def(0x230)][_0x5b7def(0x23a)](_0x44ad1a),{connection:_0x429860}=this[_0x5b7def(0x1dd)][_0x5b7def(0x230)][_0x5b7def(0x23a)](_0x352c37),_0x37ff37=new Set();for(const _0x3112fe of _0x4d7c33){const _0x49474d=_0x3112fe[_0x5b7def(0x20c)];_0x49474d&&!_0x71ba55[_0x5b7def(0x28a)](_0x49474d)&&_0x37ff37[_0x5b7def(0x1fe)](_0x49474d);}if(0x0===_0x37ff37[_0x5b7def(0x238)])return;const _0x67a6ff=await _0x56717f[_0x5b7def(0x266)](_0x429860,Array[_0x5b7def(0x249)](_0x37ff37));for(const _0x23f20e of _0x67a6ff)_0x71ba55[_0x5b7def(0x28a)](_0x23f20e['id'])||_0x71ba55[_0x5b7def(0x27f)](_0x23f20e);}[_0x1eae1f(0x256)](_0x1e7eb7,_0x5bb0b4={}){const _0x6e8dc0=_0x1eae1f,_0x4b2208=this[_0x6e8dc0(0x1dd)][_0x6e8dc0(0x209)],_0x27b765=[];let _0x12c0ce=0x0;const _0x40b010=_0x6e8dc0(0x2a9)==typeof _0x1e7eb7?{'main':_0x1e7eb7}:_0x1e7eb7;for(const _0x41cf76 of Object[_0x6e8dc0(0x2b3)](_0x40b010)){if(!this[_0x6e8dc0(0x227)][_0x6e8dc0(0x239)][_0x6e8dc0(0x298)](_0x41cf76))throw new _0x9b2916(_0x6e8dc0(0x2dd),this);const _0x4abb04=this[_0x6e8dc0(0x1dd)][_0x6e8dc0(0x2b4)][_0x6e8dc0(0x2aa)](_0x40b010[_0x41cf76]),_0x4f4aec=this[_0x6e8dc0(0x227)][_0x6e8dc0(0x1f7)](_0x41cf76),_0x258c61=new _0x1eb0c9(_0x4b2208[_0x6e8dc0(0x222)](_0x4f4aec,0x0),_0x4abb04,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x258c61);for(const [_0xa90a68,_0x2707c5]of _0x4abb04[_0x6e8dc0(0x2bc)]){const _0x70b081=_0x4b2208[_0x6e8dc0(0x200)](_0x4b2208[_0x6e8dc0(0x229)](_0x4f4aec,_0x2707c5[_0x6e8dc0(0x283)][_0x6e8dc0(0x27a)][_0x6e8dc0(0x207)]()),_0x4b2208[_0x6e8dc0(0x229)](_0x4f4aec,_0x2707c5[_0x6e8dc0(0x226)][_0x6e8dc0(0x27a)][_0x6e8dc0(0x207)]())),_0x1998cb=new _0x28403f(_0xa90a68,null,_0x70b081,_0x4b2208[_0x6e8dc0(0x2bc)],!0x0,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x1998cb);}}if(_0x5bb0b4)for(const [_0x15c07d,_0x56c11d]of Object[_0x6e8dc0(0x250)](_0x5bb0b4)){const _0xe0ff30=_0x4b2208[_0x6e8dc0(0x2ab)][_0x6e8dc0(0x1f7)](_0x15c07d);if(!_0xe0ff30)throw new _0x9b2916(_0x6e8dc0(0x274),null);for(const [_0x297cae,_0x249717]of Object[_0x6e8dc0(0x250)](_0x56c11d))if(null!==_0x249717){const _0x33443c=new _0x4b1a5b(_0xe0ff30,_0x297cae,null,_0x249717,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x33443c);}}return _0x27b765;}async[_0x1eae1f(0x2c1)](_0x2d402a,_0x4d5997,_0x2a61cd){const _0x14000f=_0x1eae1f;this[_0x14000f(0x256)]({[_0x2d402a]:_0x4d5997},{[_0x2d402a]:_0x2a61cd})[_0x14000f(0x218)]((_0x400431,_0x2de3c8)=>{const _0x570997=_0x14000f;_0x400431[_0x570997(0x2da)]=this[_0x570997(0x227)][_0x570997(0x291)]+_0x2de3c8,_0x400431[_0x570997(0x27c)]=!0x0,this[_0x570997(0x232)](_0x400431);}),this[_0x14000f(0x2ae)](),await this[_0x14000f(0x286)]();}async[_0x1eae1f(0x27e)](_0x174657,_0x6e5663){const _0x51ca33=_0x1eae1f;let _0x43f5c3;this[_0x51ca33(0x2a3)]=_0x174657[_0x51ca33(0x210)];const _0x3f3221=_0x174657[_0x51ca33(0x2bf)]&&!_0x174657[_0x51ca33(0x281)],_0x275983=_0x3f3221?0x0:_0x174657[_0x51ca33(0x2b4)][_0x51ca33(0x2da)];if(_0x6e5663[_0x51ca33(0x218)](_0x581699=>{const _0x37a845=_0x51ca33;_0x581699[_0x37a845(0x27c)]=!0x0,_0x581699[_0x37a845(0x2cf)]=_0x174657[_0x37a845(0x24f)],_0x581699[_0x37a845(0x20c)]=null;}),_0x3f3221)_0x43f5c3=_0x6e5663,this[_0x51ca33(0x29c)](_0x43f5c3,_0x3f3221);else{if(_0x174657[_0x51ca33(0x281)]){const _0x5dcb7e=this[_0x51ca33(0x256)](_0x174657[_0x51ca33(0x281)]);this[_0x51ca33(0x227)][_0x51ca33(0x1f1)][_0x51ca33(0x291)]=-_0x5dcb7e[_0x51ca33(0x2a0)],_0x5dcb7e[_0x51ca33(0x218)](_0x3f8b47=>{const _0x5b8c0d=_0x51ca33;_0x3f8b47[_0x5b8c0d(0x2da)]-=_0x5dcb7e[_0x5b8c0d(0x2a0)],_0x3f8b47[_0x5b8c0d(0x2cf)]=_0x174657[_0x5b8c0d(0x24f)],_0x3f8b47[_0x5b8c0d(0x27c)]=!0x0,_0x3f8b47[_0x5b8c0d(0x20c)]=null;}),this[_0x51ca33(0x29c)](_0x5dcb7e,!0x0),this[_0x51ca33(0x29f)][_0x51ca33(0x291)]=-_0x5dcb7e[_0x51ca33(0x2a0)]+this[_0x51ca33(0x2a3)],this[_0x51ca33(0x2c0)](_0x5dcb7e);}this[_0x51ca33(0x227)][_0x51ca33(0x1f1)][_0x51ca33(0x291)]=_0x275983,_0x43f5c3=this[_0x51ca33(0x261)](_0x174657[_0x51ca33(0x2b4)],_0x174657[_0x51ca33(0x2a5)]),await this[_0x51ca33(0x203)](_0x43f5c3),this[_0x51ca33(0x29c)](_0x43f5c3,_0x3f3221);}_0x174657[_0x51ca33(0x1e4)]&&(this[_0x51ca33(0x245)][_0x51ca33(0x253)](_0x43f5c3,_0x174657[_0x51ca33(0x1e4)]),this[_0x51ca33(0x20e)]=_0x174657[_0x51ca33(0x1e4)]),this[_0x51ca33(0x29f)][_0x51ca33(0x291)]=_0x275983+this[_0x51ca33(0x2a3)],this[_0x51ca33(0x2c0)](_0x43f5c3),_0x6e5663[_0x51ca33(0x1f9)](_0x3d85bd=>{const _0x499eec=_0x51ca33,_0x114ac2=this[_0x499eec(0x23d)](_0x3d85bd);return _0x114ac2&&!this[_0x499eec(0x202)][_0x499eec(0x298)](_0x114ac2);})[_0x51ca33(0x218)]((_0x1d7439,_0x21d23d)=>{const _0x443f10=_0x51ca33;_0x1d7439[_0x443f10(0x2da)]=this[_0x443f10(0x227)][_0x443f10(0x291)]+_0x21d23d,this[_0x443f10(0x232)](_0x1d7439);}),this[_0x51ca33(0x271)]()?(this[_0x51ca33(0x2b9)]=0x0,this[_0x51ca33(0x2ae)](!0x0),await this[_0x51ca33(0x286)]()):(this[_0x51ca33(0x263)]=!0x1,this[_0x51ca33(0x1f8)]());}[_0x1eae1f(0x24d)](_0x2ade92,_0x592b83,_0xff1048){const _0x2b26b1=_0x1eae1f;throw this[_0x2b26b1(0x263)]=!0x0,_0x592b83&&console[_0x2b26b1(0x1e7)](_0x592b83),_0xff1048&&this[_0x2b26b1(0x1dd)][_0x2b26b1(0x2bd)](_0x2b26b1(0x23b)),new _0x9b2916(_0x2ade92,this[_0x2b26b1(0x1dd)]);}[_0x1eae1f(0x232)](_0xca6ce8){const _0x1e5124=_0x1eae1f;this[_0x1e5124(0x2d2)][_0x1e5124(0x298)](_0xca6ce8)||(this[_0x1e5124(0x2d2)][_0x1e5124(0x1fe)](_0xca6ce8),this[_0x1e5124(0x23c)][_0x1e5124(0x29e)](_0xca6ce8),this[_0x1e5124(0x1e1)]||_0x1e5124(0x216)==_0xca6ce8[_0x1e5124(0x1e3)]&&!_0xca6ce8[_0x1e5124(0x24b)]||this[_0x1e5124(0x25c)]());}[_0x1eae1f(0x2ae)](_0x8f4013=!0x1){const _0x13127c=_0x1eae1f;!_0x8f4013&&this[_0x13127c(0x263)]||(this[_0x13127c(0x263)]=!0x0,clearTimeout(this[_0x13127c(0x2c4)]),this[_0x13127c(0x2c4)]=setTimeout(()=>{const _0x266f0=_0x13127c;this[_0x266f0(0x2ba)]()[_0x266f0(0x205)](_0x266e21=>{const _0x2fed60=_0x266f0;_0x266e21&&(this[_0x2fed60(0x1f8)](),this[_0x2fed60(0x263)]=!0x1);})[_0x266f0(0x242)](_0x199b27=>{const _0x3684af=_0x266f0;this[_0x3684af(0x1f8)](),this[_0x3684af(0x263)]=!0x1,function(_0x4f83a0){const _0x52ae17=_0x3684af;return _0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x248))||_0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x270))||_0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x2e0));}(_0x199b27)||this[_0x3684af(0x24d)](_0x199b27[_0x3684af(0x28c)],_0x199b27,!0x0);});},this[_0x13127c(0x2b9)]));}[_0x1eae1f(0x286)](){return new Promise(_0x262be2=>{const _0x26d60d=_0x14f2;this['on'](_0x26d60d(0x1f2),()=>{_0x262be2();});});}async[_0x1eae1f(0x2ba)](){const _0x5e41ce=_0x1eae1f,_0x5aeda5=this[_0x5e41ce(0x1dd)][_0x5e41ce(0x230)][_0x5e41ce(0x23a)](_0x70279c);if(this[_0x5e41ce(0x1fb)]()&&(_0x5aeda5[_0x5e41ce(0x2d7)](),this[_0x5e41ce(0x21c)]=!0x1),!this[_0x5e41ce(0x271)]())return!0x0;const _0x15a90f=[...this[_0x5e41ce(0x23c)]];for(const _0x1944bd of _0x15a90f)_0x1944bd[_0x5e41ce(0x2d9)]=this[_0x5e41ce(0x227)][_0x5e41ce(0x1f1)][_0x5e41ce(0x297)](_0x1944bd);const _0x58da0e=this[_0x5e41ce(0x245)][_0x5e41ce(0x276)](_0x15a90f),_0xd94025=K++,_0x26c425=this[_0x5e41ce(0x258)](_0x15a90f),_0x3785ff=await this[_0x5e41ce(0x29a)][_0x5e41ce(0x20a)](_0x26c425,_0x26c425[_0x5e41ce(0x2da)],_0x58da0e);try{return await this[_0x5e41ce(0x237)](_0x15a90f,_0x3785ff,_0xd94025);}catch(_0x4c12ab){return this[_0x5e41ce(0x24d)](_0x5e41ce(0x223),_0x4c12ab);}}async[_0x1eae1f(0x237)](_0x2a3118,_0x6e3d4b,_0x13ad0b){const _0xdcbba=_0x1eae1f;if(_0xdcbba(0x1e7)in _0x6e3d4b)throw _0x6e3d4b[_0xdcbba(0x1e7)];let _0x41a252=!0x1;if(_0x6e3d4b[_0xdcbba(0x2bf)]){_0x6e3d4b[_0xdcbba(0x1e4)]&&(this[_0xdcbba(0x20e)]=_0x6e3d4b[_0xdcbba(0x1e4)]),this[_0xdcbba(0x23c)]=this[_0xdcbba(0x23c)][_0xdcbba(0x1f9)](_0x53ff29=>!_0x2a3118[_0xdcbba(0x265)](_0x53ff29));for(const _0x17c85e of _0x2a3118)_0x17c85e[_0xdcbba(0x2cf)]=_0xdcbba(0x225)in _0x6e3d4b&&_0x6e3d4b[_0xdcbba(0x225)]||void 0x0;Q(_0x2a3118,_0x6e3d4b[_0xdcbba(0x291)]-_0x2a3118[_0xdcbba(0x2a0)]),this[_0xdcbba(0x2c0)](_0x2a3118);const _0x3388b2=_0x2a3118[_0xdcbba(0x1f9)](_0x1fb111=>{const _0x4b133b=_0xdcbba;if(!_0x1fb111[_0x4b133b(0x27c)])return!0x1;const _0x157026=this[_0x4b133b(0x23d)](_0x1fb111);return _0x157026&&!this[_0x4b133b(0x202)][_0x4b133b(0x298)](_0x157026);});Q(_0x3388b2,this[_0xdcbba(0x227)][_0xdcbba(0x291)]),this[_0xdcbba(0x29c)](_0x3388b2),_0x41a252=!0x0,this[_0xdcbba(0x2b9)]=this[_0xdcbba(0x22e)];}else{const _0x3eccc3=this[_0xdcbba(0x261)](_0x6e3d4b[_0xdcbba(0x2b4)],_0x6e3d4b[_0xdcbba(0x2a5)])[_0xdcbba(0x1f9)](_0xda6bbb=>_0xda6bbb[_0xdcbba(0x2da)]>=this[_0xdcbba(0x21a)]);_0x3eccc3[_0xdcbba(0x218)](_0x5720b8=>this[_0xdcbba(0x1ee)](_0x5720b8)),this[_0xdcbba(0x23c)]=this[_0xdcbba(0x23c)][_0xdcbba(0x1f9)](_0x85d13b=>!_0x85d13b[_0xdcbba(0x27c)]||!this[_0xdcbba(0x202)][_0xdcbba(0x298)](this[_0xdcbba(0x23d)](_0x85d13b))),this[_0xdcbba(0x23c)][_0xdcbba(0x2a0)]&&Q(this[_0xdcbba(0x23c)],this[_0xdcbba(0x23c)][0x0][_0xdcbba(0x2da)]),await this[_0xdcbba(0x203)](_0x3eccc3),_0x41a252=this[_0xdcbba(0x247)](_0x3eccc3,_0x6e3d4b[_0xdcbba(0x291)],_0x6e3d4b[_0xdcbba(0x1e4)]),this[_0xdcbba(0x2b9)]=Math[_0xdcbba(0x1e0)](this[_0xdcbba(0x2b9)]/0x2);}return _0x41a252?!this[_0xdcbba(0x271)]()||(this[_0xdcbba(0x2ae)](!0x0),!0x1):this[_0xdcbba(0x24d)](_0xdcbba(0x2b0));}[_0x1eae1f(0x247)](_0x3a1fce,_0x379a98,_0x5e3353){const _0x153aa2=_0x1eae1f;try{const _0x1f8559={'document':this[_0x153aa2(0x227)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x43e759,operationsB:_0x395cf5,originalOperations:_0xb7db12}=_0x528d24(_0x3a1fce,this[_0x153aa2(0x23c)],_0x1f8559);Q(_0x43e759,this[_0x153aa2(0x227)][_0x153aa2(0x291)]),Q(_0x395cf5,_0x379a98);for(const _0x1f88ad of _0x43e759){const _0xc62949=_0xb7db12[_0x153aa2(0x23a)](_0x1f88ad);_0x1f88ad[_0x153aa2(0x20c)]=_0xc62949?_0xc62949[_0x153aa2(0x20c)]:null;}_0x5e3353&&(this[_0x153aa2(0x245)][_0x153aa2(0x253)](_0x3a1fce,_0x5e3353),this[_0x153aa2(0x20e)]=_0x5e3353),this[_0x153aa2(0x23c)]=[..._0x395cf5],this[_0x153aa2(0x29c)](_0x43e759),this[_0x153aa2(0x2c0)](_0x3a1fce);}catch(_0x3f00c2){return console[_0x153aa2(0x1e7)](_0x3f00c2),!0x1;}return!0x0;}[_0x1eae1f(0x29c)](_0x20e462,_0x41f947=!0x1){const _0x14f2b0=_0x1eae1f;this[_0x14f2b0(0x1dd)][_0x14f2b0(0x209)][_0x14f2b0(0x206)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4cd498=>{const _0x38f599=_0x14f2b0;for(const _0x4d4d99 of _0x20e462)this[_0x38f599(0x2d2)][_0x38f599(0x1fe)](_0x4d4d99),this[_0x38f599(0x1ee)](_0x4d4d99),_0x4cd498[_0x38f599(0x21f)][_0x38f599(0x2ac)](_0x4d4d99),this[_0x38f599(0x1dd)][_0x38f599(0x209)][_0x38f599(0x2a8)](_0x4d4d99);});}[_0x1eae1f(0x1ee)](_0x26b07c){const _0x3b2e9d=_0x1eae1f,_0x5d0c39=this[_0x3b2e9d(0x23d)](_0x26b07c);_0x5d0c39&&this[_0x3b2e9d(0x202)][_0x3b2e9d(0x1fe)](_0x5d0c39);}[_0x1eae1f(0x23d)](_0xb49694){const _0x2e0b56=_0x1eae1f;let _0x3733ca,_0x52ecac;switch(_0xb49694[_0x2e0b56(0x1e3)]){case _0x2e0b56(0x2b2):_0x3733ca=_0xb49694[_0x2e0b56(0x22d)][_0x2e0b56(0x293)];break;case _0x2e0b56(0x216):if(_0x52ecac=_0xb49694[_0x2e0b56(0x1e8)],!_0x52ecac)return null;_0x3733ca=_0x52ecac[_0x2e0b56(0x293)];break;case _0x2e0b56(0x25f):_0x3733ca=_0xb49694[_0x2e0b56(0x293)];break;case _0x2e0b56(0x284):_0x3733ca=_0xb49694[_0x2e0b56(0x1ed)];break;case _0x2e0b56(0x24a):_0x3733ca=_0xb49694[_0x2e0b56(0x2af)][_0x2e0b56(0x293)];break;default:return null;}return _0x3733ca[_0x2e0b56(0x22b)];}[_0x1eae1f(0x2c0)](_0x3410b1){const _0x21b8cf=_0x1eae1f;_0x3410b1[_0x21b8cf(0x218)](_0x4e6550=>{const _0x2b7d0c=_0x21b8cf,_0x37f671=_0x4e6550[_0x2b7d0c(0x220)]();_0x37f671[_0x2b7d0c(0x20c)]=_0x4e6550[_0x2b7d0c(0x20c)],_0x37f671[_0x2b7d0c(0x27c)]=!!_0x4e6550[_0x2b7d0c(0x27c)],_0x37f671[_0x2b7d0c(0x2cf)]=_0x4e6550[_0x2b7d0c(0x2cf)],_0x37f671[_0x2b7d0c(0x2da)]+=this[_0x2b7d0c(0x2a3)],_0x4e6550[_0x2b7d0c(0x257)]&&this[_0x2b7d0c(0x1dc)][_0x2b7d0c(0x1fe)](_0x37f671),this[_0x2b7d0c(0x29f)][_0x2b7d0c(0x2ac)](_0x37f671);});}[_0x1eae1f(0x1f6)](_0x42f897){const _0x59e768=_0x1eae1f,_0x285590=this[_0x59e768(0x1dd)][_0x59e768(0x230)][_0x59e768(0x23a)](_0x59e768(0x2a1)),_0x27b6a5=this[_0x59e768(0x1dd)][_0x59e768(0x2cc)];_0x42f897||(_0x42f897=_0x4c8fcf(_0x27b6a5,_0x59e768(0x287))),_0x285590[_0x59e768(0x295)](_0x42f897,{'title':_0x4c8fcf(_0x27b6a5,_0x59e768(0x264)),'namespace':_0x59e768(0x282)}),this[_0x59e768(0x24c)]=!0x0,clearTimeout(this[_0x59e768(0x2c4)]),this[_0x59e768(0x23c)]=[],this[_0x59e768(0x1dd)][_0x59e768(0x230)][_0x59e768(0x23a)](_0x352c37)[_0x59e768(0x252)]();}[_0x1eae1f(0x25c)](){const _0xdeffa9=_0x1eae1f;this[_0xdeffa9(0x1e1)]||(this[_0xdeffa9(0x1e1)]=this[_0xdeffa9(0x1dd)][_0xdeffa9(0x230)][_0xdeffa9(0x23a)](_0x2eec60)[_0xdeffa9(0x1fe)](_0x4c8fcf(this[_0xdeffa9(0x1dd)][_0xdeffa9(0x2cc)],_0xdeffa9(0x2c5))));}[_0x1eae1f(0x1f8)](){const _0x208b87=_0x1eae1f;this[_0x208b87(0x1e1)]&&(this[_0x208b87(0x1dd)][_0x208b87(0x230)][_0x208b87(0x23a)](_0x2eec60)[_0x208b87(0x2d0)](this[_0x208b87(0x1e1)]),this[_0x208b87(0x1e1)]=null);}[_0x1eae1f(0x258)](_0x1da932){const _0x2a31bc=_0x1eae1f,_0x532280=_0x1da932[_0x2a31bc(0x2a7)](_0x5a2998=>_0x5a2998[_0x2a31bc(0x2c9)]());return this[_0x2a31bc(0x22a)][_0x2a31bc(0x20d)](_0x532280);}[_0x1eae1f(0x261)](_0xec1dab,_0x384841){const _0x17bfe7=_0x1eae1f;return this[_0x17bfe7(0x22a)][_0x17bfe7(0x273)](_0xec1dab)[_0x17bfe7(0x2a7)]((_0x1db18b,_0x5626fd)=>{const _0x50bae5=_0x17bfe7,_0x8e5666=_0x50bae5(0x292)==_0x384841[_0x5626fd][_0x50bae5(0x1e3)];if(_0x50bae5(0x28b)==_0x1db18b[_0x50bae5(0x26a)]){const _0x47b23f=_0x1db18b[_0x50bae5(0x22d)][_0x50bae5(0x293)];!this[_0x50bae5(0x227)][_0x50bae5(0x1f7)](_0x47b23f)&&(this[_0x50bae5(0x227)][_0x50bae5(0x214)](_0x50bae5(0x25b),_0x47b23f)[_0x50bae5(0x241)]=!0x1);}const _0x6116d1=_0x2e3c12[_0x50bae5(0x2ce)](_0x1db18b,this[_0x50bae5(0x227)]);return _0x6116d1[_0x50bae5(0x2d9)]=_0x1db18b[_0x50bae5(0x2d9)],_0x6116d1[_0x50bae5(0x27c)]=_0x8e5666,_0x6116d1[_0x50bae5(0x20c)]=_0x8e5666?null:_0x384841[_0x5626fd][_0x50bae5(0x2d3)],_0x6116d1[_0x50bae5(0x257)]=_0x50bae5(0x2c8)===_0x384841[_0x5626fd][_0x50bae5(0x1e3)],_0x6116d1[_0x50bae5(0x2cf)]=_0x384841[_0x5626fd][_0x50bae5(0x2cf)],_0x6116d1;});}[_0x1eae1f(0x244)](){const _0x357fe1=_0x1eae1f;this[_0x357fe1(0x21c)]=!0x0,this[_0x357fe1(0x1fb)]()?this[_0x357fe1(0x2ae)]():this[_0x357fe1(0x21c)]=!0x1;}[_0x1eae1f(0x1fb)](){const _0x476358=_0x1eae1f,_0xbd6cef=this[_0x476358(0x1dd)][_0x476358(0x230)][_0x476358(0x23a)](_0x2a23c8)[_0x476358(0x201)][_0x476358(0x23a)](this[_0x476358(0x1e2)]);return!this[_0x476358(0x1dd)][_0x476358(0x27b)]&&!!_0xbd6cef&&_0xbd6cef[_0x476358(0x2a0)]>0x1&&this[_0x476358(0x21c)];}[_0x1eae1f(0x271)](){const _0x37502c=_0x1eae1f;return this[_0x37502c(0x23c)][_0x37502c(0x2a0)]>0x0||this[_0x37502c(0x1fb)]();}}l[_0x1eae1f(0x234)]=_0x1ff895;export default l;class J extends Error{}function Q(_0x3bd952,_0x1d836c){const _0x2692f3=_0x1eae1f;for(const _0x11e153 of _0x3bd952)_0x11e153[_0x2692f3(0x2da)]=_0x1d836c++;}function _0x2a94(){const _0x5b7f87=['_applyOperationsSet','_handleSendingSelectionMarkers','push','serverHistory','length','Notification','directChange','_offset','getOperationAuthor','metadata','selection','map','applyOperation','string','parse','document','addOperation','isEnabled','_sendBufferedOperationsDelayed','targetPosition','realtimecollaborationclient-handleserverresponse','1372743zJUpQD','insert','keys','data','fire','operationsReceived','loadRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_currentBufferDelay','_sendBufferedOperations','reconnect','markers','enableReadOnlyMode','collaboration','wereChangesApplied','_updateServerHistory','_loadRoot','_setUpDataInit','startsWith','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_initSessionsHandling','realtimecollaborationclient-initservice-internal-error','cs:removeUser','toJSON','isOfficialPlugin','cloudServices.bundleVersion','locale','realtimecollaborationclient-init-connection-failed','fromJSON','createdAt','remove','stopListening','_knownOperations','userId','attributes','404','getConnectedSessions','createUserMarkerOperations','set','wasUndone','baseVersion','getDocumentDetails','lastDocumentSession','realtimecollaborationclient-init-non-existent-root','finally','_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','define','_disconnectionOperations','editor','lastSyncVersion','unregister','round','_pendingAction','_channelId','type','lastOperationId','off','realtimecollaborationclient-init-session-connection-error','error','newRange','53796ttLsCd','bind','_connectAfterSessionHasBeenFlushed','suppressErrorInCollaboration','affectedSelectable','_addKnownRoot','connect','state','history','change:_isPendingUpdate','disconnected','_isEditingAllowed','12LiVuCN','_handleReconnectionError','getRoot','_clearPendingAction','filter','removeFromReconnectionStack','_shouldSendSelectionUpdate','sessionAdd:','_disconnectService','add','_connectService','createRange','channelSessions','_knownRootNames','_fetchMissingUsers','5455130rggAuz','then','enqueueChange','slice','cloudDocumentVersion','model','sendOperations','isDocumentOperation','_authorId','compress','_lastSyncedOperationId','rtc-offline','offset','stop','isPremiumPlugin','connected','createRoot','register','marker','reset','forEach','_ignoredOperations','_lastServerVersion','addToReconnectionStack','_hasSelectionChanged','setPermissions','editing','batch','clone','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionAt','realtimecollaborationclient-sendbufferedoperations','permissions','lastOperationAcceptedAt','end','_document','realtimecollaborationclient-initservice-incorrect-server-operation','createPositionFromPath','_compressor','rootName','listenTo','position','_baseBufferDelay','3593344qNuhZa','plugins','return','_saveOperationInBuffer','change:_isEditingAllowed','CollaborativeEditingService','change:hasDomSelection','apply','_handleServerResponse','size','roots','get','realtimecollaborationclient-error','_bufferedOperations','_getAffectedRoot','document:write','disconnect','RealTimeCollaborationClient','_isAttached','catch','connection','_refreshUserSelectionMarkers','_operationIdentifier','sessionId','_handleExternalOperations','cloud-services-internal-error:\x20Not\x20connected.','from','move','affectsData','_hasSynchronizationProblem','_crash','disableReadOnlyMode','sessionCreatedAt','entries','view','destroy','setIdForTheLastOperation','_initThrowingOnDataSet','_handleReconnectionResponse','_getOperationsFromInitData','_isDisconnection','_compressOperations','CommentsOnly','_bufferRootLoad','$root','_setPendingAction','code','_handleReceivedOperations','addRootAttribute','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_decompressOperations','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.','_isPendingUpdate','Synchronization\x20issue','includes','getMany','pluginName','rootsAttributes','643445HTUJBS','__className','1025054PUTFVp','change:range','2219Akraxw','config','differ','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendUpdate','9DWaRLz','decompress','multi-root-editor-root-attributes-no-root','collaboration.channelId','getIdOfTheLastOperation','409','60HayxIU','ready','path','isReadOnly','_isInit','_isLoaded','_handleInitialConnectionData','addUser','rtc-destroyed','initData','real-time-collaboration','start','addRoot','currentDocumentSession','_waitUntilSynced','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.','1506suEEOk','Permissions','getUser','InsertOperation','message','getOperations','1FGRxah','reconnection:\x20flushed\x20session','requires','version','init','root','_operationToId','showWarning','mySessionId','isUndoneOperation','has','realtimecollaborationclient-init-document-already-initialized','_service','high'];_0x2a94=function(){return _0x5b7f87;};return _0x2a94();}class X{constructor(_0x1b1c8d){const _0x1a7a77=_0x1eae1f;this[_0x1a7a77(0x219)]=_0x1b1c8d,this[_0x1a7a77(0x294)]=new WeakMap();}[_0x1eae1f(0x276)](_0x5e57e6){const _0xe65961=_0x1eae1f;let _0x559109=_0x5e57e6[_0xe65961(0x2a0)];for(;_0x559109--;){const _0xb68324=_0x5e57e6[_0x559109];if(!this[_0xe65961(0x219)][_0xe65961(0x298)](_0xb68324)){if(!this[_0xe65961(0x294)][_0xe65961(0x298)](_0xb68324)){const _0x31aa60=_0x58d6ab()[_0xe65961(0x207)](0x1,0x12);this[_0xe65961(0x294)][_0xe65961(0x2d8)](_0xb68324,_0x31aa60);}return this[_0xe65961(0x294)][_0xe65961(0x23a)](_0xb68324);}}}[_0x1eae1f(0x253)](_0x3ecf3a,_0x2c4e3e){const _0x2de8d3=_0x1eae1f;if(!_0x2c4e3e)return;let _0xb13fd3=_0x3ecf3a[_0x2de8d3(0x2a0)];for(;_0xb13fd3--;){const _0xd13a29=_0x3ecf3a[_0xb13fd3];this[_0x2de8d3(0x219)][_0x2de8d3(0x298)](_0xd13a29)||this[_0x2de8d3(0x294)][_0x2de8d3(0x2d8)](_0xd13a29,_0x2c4e3e);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24cf14=_0x250b;(function(_0xc42a7c,_0x537ce8){const _0x142353=_0x250b,_0x4bd254=_0xc42a7c();while(!![]){try{const _0x5564b8=parseInt(_0x142353(0x118))/0x1+-parseInt(_0x142353(0x15c))/0x2+parseInt(_0x142353(0x112))/0x3*(-parseInt(_0x142353(0x12b))/0x4)+parseInt(_0x142353(0x16f))/0x5*(parseInt(_0x142353(0x10a))/0x6)+parseInt(_0x142353(0x180))/0x7+parseInt(_0x142353(0x14d))/0x8*(parseInt(_0x142353(0xff))/0x9)+-parseInt(_0x142353(0x104))/0xa;if(_0x5564b8===_0x537ce8)break;else _0x4bd254['push'](_0x4bd254['shift']());}catch(_0x1697d2){_0x4bd254['push'](_0x4bd254['shift']());}}}(_0x31dc,0x424c4));import{Plugin as _0x4e5f38}from'ckeditor5/src/core.js';import{global as _0x184173,DomEmitterMixin as _0x38e069}from'ckeditor5/src/utils.js';function _0x31dc(){const _0x12a87d=['markers','333437bURtDC','getUserBySessionId','highest','user:position','requires','$graveyard','user:','element','set','mouseenter','render','markerName','reconvertMarker','toDomElement','mySessionId','contenteditable','startsWith','init','end','84HloCzC','start','mouseleave','hasContent','isLimit','destroy','afterInit','isPremiumPlugin','size','hasDomSelection','userPositionMarker','editingDowncast','markerRange','ck-user__marker_hovered','type','editing','isInline','editor','delete','getAttribute','oldRange','getMarkerClass','commands','getContainedElement','Escape','$text','getRange','</span>','span','applyOperation','marker','undo','toRange','enqueueChange','8168jIKXPw','remove','parent','_createdBatches','change:range','clear','split','createUserMarkerOperations','updateMarker','removeClass','createRange','getStart','getPositions','ck-user__selection','newRange','61912oiQudG','color','isSimilar','removeMarker','user:range:','isCollapsed','listenTo','selection','user:range','nodeAfter','change','batch','user:position:','detach','markerToHighlight','data-session-id','setCustomProperty','innerHTML','tableCell','5BMssAp','view','UserMarkers','document','addEventListener','for','markerNameToElements','markerToElement','deletionPosition','conversion','isOfficialPlugin','getCustomProperty','_domEmitter','getSelectionClass','addMarker','checkChild','getFirstRange','2676996XvyotE','isObject','model','3978YsGWdr','fromRange','get','plugins','add','6932010zrzXwB','schema','pluginName','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','orderNumber','getNearestSelectionRange','1702698fNHeTT','rootName','createUIElement','keydown','stopListening','update:user:range','root','classList','65031uzCYbB','name','ck-user__marker\x20','mapper','has'];_0x31dc=function(){return _0x12a87d;};return _0x31dc();}import _0x46ebe8 from'./sessions.js';function _0x250b(_0x267288,_0x45ef8d){const _0x31dc5b=_0x31dc();return _0x250b=function(_0x250b92,_0x36f682){_0x250b92=_0x250b92-0xfe;let _0x10ca76=_0x31dc5b[_0x250b92];return _0x10ca76;},_0x250b(_0x267288,_0x45ef8d);}import{LiveRange as _0x32c366}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class J extends _0x4e5f38{constructor(){const _0x321575=_0x250b;super(...arguments),this[_0x321575(0x17b)]=new(_0x38e069())();}static get[_0x24cf14(0x11c)](){return[_0x46ebe8];}static get[_0x24cf14(0x106)](){const _0x53ef7a=_0x24cf14;return _0x53ef7a(0x171);}static get[_0x24cf14(0x179)](){return!0x0;}static get[_0x24cf14(0x132)](){return!0x0;}[_0x24cf14(0x129)](){const _0xae8cc5=_0x24cf14,_0x9006c0=this[_0xae8cc5(0x13c)],_0x4e8ec6=_0x9006c0[_0xae8cc5(0x102)][_0xae8cc5(0x101)](_0x46ebe8);_0x9006c0[_0xae8cc5(0x178)][_0xae8cc5(0x174)](_0xae8cc5(0x136))[_0xae8cc5(0x176)]({'model':_0xae8cc5(0x11b),'view':(_0x5e96af,{writer:_0x42e3df})=>function(_0xada7f6,_0x49f649,_0x37359a,_0x19c242){const _0x3f2f8b=_0xae8cc5,_0x2e9dad=_0xada7f6[_0x3f2f8b(0x123)][_0x3f2f8b(0x153)](':')[0x2],_0x11702c=_0x37359a[_0x3f2f8b(0x119)](_0x2e9dad);if(!_0x11702c||_0x2e9dad===_0x37359a[_0x3f2f8b(0x126)])return;if(!_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x105)][_0x3f2f8b(0x17e)](_0xada7f6[_0x3f2f8b(0x137)][_0x3f2f8b(0x12c)],_0x3f2f8b(0x144)))return;const _0x45d739={'class':_0x3f2f8b(0x114)+_0x11702c[_0x3f2f8b(0x15d)][_0x3f2f8b(0x140)](),'data-name':_0x11702c[_0x3f2f8b(0x113)],'data-session-id':_0x2e9dad},_0x399a9c=_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x117)][_0x3f2f8b(0x101)](_0xada7f6[_0x3f2f8b(0x123)]),_0x538e04=_0x399a9c[_0x3f2f8b(0x158)](),_0x5c3608=_0x538e04[_0x3f2f8b(0x165)],_0x2e0ea3=_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x105)];if(_0x5c3608&&_0x2e0ea3[_0x3f2f8b(0x181)](_0x5c3608)&&_0x2e0ea3[_0x3f2f8b(0x13b)](_0x5c3608)&&!_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x117)][_0x3f2f8b(0x101)](_0x3f2f8b(0x160)+_0x2e9dad)[_0x3f2f8b(0x145)]()[_0x3f2f8b(0x161)])return;const _0x1bab18=_0x538e04[_0x3f2f8b(0x14f)];return _0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x105)][_0x3f2f8b(0x12f)](_0x1bab18)&&!_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x12e)](_0x1bab18)&&(_0x45d739[_0x3f2f8b(0x127)]=!0x1),function(_0x5f2d3b,_0x28a8e7,_0x39f2fb){const _0x5b6c4d=_0x3f2f8b,_0x23a5f7=_0x5f2d3b[_0x5b6c4d(0x10c)](_0x5b6c4d(0x147),_0x28a8e7);return _0x5f2d3b[_0x5b6c4d(0x16c)](_0x5b6c4d(0x135),!0x0,_0x23a5f7),_0x23a5f7[_0x5b6c4d(0x122)]=function(_0x45f0c4){const _0x16fad1=_0x5b6c4d,_0x4f8cd4=this[_0x16fad1(0x125)](_0x45f0c4);return _0x4f8cd4[_0x16fad1(0x16d)]=_0x16fad1(0x107)+_0x39f2fb[_0x16fad1(0x113)]+_0x16fad1(0x146),_0x4f8cd4[_0x16fad1(0x173)](_0x16fad1(0x121),()=>{const _0x38f827=_0x16fad1;_0x4f8cd4[_0x38f827(0x111)][_0x38f827(0x103)](_0x38f827(0x138));}),_0x4f8cd4[_0x16fad1(0x173)](_0x16fad1(0x12d),()=>{const _0x4228c0=_0x16fad1;_0x4f8cd4[_0x4228c0(0x111)][_0x4228c0(0x14e)](_0x4228c0(0x138));}),_0x4f8cd4;},_0x23a5f7[_0x5b6c4d(0x15e)]=function(_0x530d1c){const _0x176ec2=_0x5b6c4d;return!(!this[_0x176ec2(0x17a)](_0x176ec2(0x135))||!_0x530d1c[_0x176ec2(0x17a)](_0x176ec2(0x135))||this[_0x176ec2(0x13e)](_0x176ec2(0x16b))!=_0x530d1c[_0x176ec2(0x13e)](_0x176ec2(0x16b)));},_0x23a5f7;}(_0x49f649,_0x45d739,_0x11702c);}(_0x5e96af,_0x42e3df,_0x4e8ec6,_0x9006c0)}),_0x9006c0[_0xae8cc5(0x178)][_0xae8cc5(0x174)](_0xae8cc5(0x136))[_0xae8cc5(0x16a)]({'model':_0xae8cc5(0x164),'view':_0x317ee=>function(_0x51f03a,_0x3a2fbd){const _0x10a9cb=_0xae8cc5,_0x2f5389=_0x51f03a[_0x10a9cb(0x123)][_0x10a9cb(0x153)](':')[0x2];if(_0x2f5389===_0x3a2fbd[_0x10a9cb(0x126)])return null;const _0x2a6c05=_0x3a2fbd[_0x10a9cb(0x119)](_0x2f5389);if(!_0x2a6c05)return{'id':_0x2f5389,'classes':[]};return{'id':_0x2f5389,'classes':[_0x10a9cb(0x15a),_0x2a6c05[_0x10a9cb(0x15d)][_0x10a9cb(0x17c)]()],'attributes':{'data-session-id':_0x2f5389},'priority':0x7d0+_0x2a6c05[_0x10a9cb(0x108)]};}(_0x317ee,_0x4e8ec6)}),function(_0x3ea787){const _0x22fd05=_0xae8cc5,_0x329de6=_0x3ea787[_0x22fd05(0xfe)],_0x1b0768=new Map(),_0x1c07fd=_0x3ea787[_0x22fd05(0x102)][_0x22fd05(0x101)](_0x46ebe8);_0x329de6[_0x22fd05(0x117)]['on'](_0x22fd05(0x10f),(_0x5d89b2,_0x373e80,_0x8efde7,_0xd93685)=>{const _0x4f28ff=_0x22fd05;if(!_0xd93685&&_0x1b0768[_0x4f28ff(0x101)](_0x373e80[_0x4f28ff(0x113)]))return _0x1b0768[_0x4f28ff(0x101)](_0x373e80[_0x4f28ff(0x113)])[_0x4f28ff(0x169)](),void _0x1b0768[_0x4f28ff(0x13d)](_0x373e80[_0x4f28ff(0x113)]);const _0x1d156b=_0x373e80[_0x4f28ff(0x113)][_0x4f28ff(0x153)](':')[0x2];if(_0x1d156b===_0x1c07fd[_0x4f28ff(0x126)])return;const _0x3aab6e=_0x4f28ff(0x168)+_0x1d156b;_0x329de6[_0x4f28ff(0x117)][_0x4f28ff(0x116)](_0x3aab6e)&&_0x3ea787[_0x4f28ff(0x13a)][_0x4f28ff(0x124)](_0x3aab6e),_0x373e80['on'](_0x4f28ff(0x151),(_0x37e4f2,_0x5d6f1c,_0x1c0ab2)=>{const _0x361362=_0x4f28ff;if(_0x361362(0x11d)!=_0x5d6f1c[_0x361362(0x110)][_0x361362(0x10b)]&&_0x361362(0x11d)==_0x373e80[_0x361362(0x145)]()[_0x361362(0x110)][_0x361362(0x10b)]&&!_0x1b0768[_0x361362(0x116)](_0x373e80[_0x361362(0x113)])){const _0x3e6ad5=_0x329de6[_0x361362(0x105)][_0x361362(0x109)](_0x1c0ab2[_0x361362(0x177)]);if(_0x3e6ad5){const _0xf9ee5b=_0x32c366[_0x361362(0x100)](_0x3e6ad5);_0x1b0768[_0x361362(0x120)](_0x373e80[_0x361362(0x113)],_0xf9ee5b),_0xf9ee5b['on'](_0x361362(0x151),(_0x5254fe,_0x2b34f6,_0x16a039)=>{const _0x455055=_0x361362;if(_0x455055(0x11d)==_0xf9ee5b[_0x455055(0x110)][_0x455055(0x10b)]){const _0x2ff58e=_0x329de6[_0x455055(0x105)][_0x455055(0x109)](_0x16a039[_0x455055(0x177)]);_0x2ff58e?(_0xf9ee5b[_0x455055(0x12c)]=_0x2ff58e[_0x455055(0x12c)],_0xf9ee5b[_0x455055(0x12a)]=_0x2ff58e[_0x455055(0x12a)]):(_0x1b0768[_0x455055(0x13d)](_0x373e80[_0x455055(0x113)]),_0xf9ee5b[_0x455055(0x169)]());}});}}});}),_0x329de6[_0x22fd05(0x172)]['on'](_0x22fd05(0x166),()=>{const _0x4aa39c=_0x22fd05;_0x1b0768[_0x4aa39c(0x133)]>0x0&&_0x329de6[_0x4aa39c(0x14c)]({'isUndoable':!0x1},_0xadc9c7=>{const _0x3817df=_0x4aa39c;for(const [_0x4ebecd,_0x419513]of _0x1b0768)_0x3817df(0x11d)==_0x329de6[_0x3817df(0x117)][_0x3817df(0x101)](_0x4ebecd)[_0x3817df(0x145)]()[_0x3817df(0x110)][_0x3817df(0x10b)]&&(te(_0x4ebecd[_0x3817df(0x153)](':')[0x2],_0x419513[_0x3817df(0x14b)](),_0x329de6,_0xadc9c7),_0x419513[_0x3817df(0x169)]());_0x1b0768[_0x3817df(0x152)]();});});}(_0x9006c0),this[_0xae8cc5(0x17b)][_0xae8cc5(0x162)](_0x184173[_0xae8cc5(0x172)],_0xae8cc5(0x10d),(_0x53d7a0,{key:_0x18e5df})=>{const _0x2c2aa9=_0xae8cc5;_0x2c2aa9(0x143)===_0x18e5df&&function(_0x6d562){const _0xfd56b1=_0x2c2aa9;_0x6d562[_0xfd56b1(0x13a)][_0xfd56b1(0x170)][_0xfd56b1(0x166)](_0x3b8758=>{const _0x43eba3=_0xfd56b1;for(const _0x2cf54d of _0x6d562[_0x43eba3(0xfe)][_0x43eba3(0x117)]){if(!_0x2cf54d[_0x43eba3(0x113)][_0x43eba3(0x128)](_0x43eba3(0x11b)))continue;const _0xcdc2a1=_0x6d562[_0x43eba3(0x13a)][_0x43eba3(0x115)][_0x43eba3(0x175)](_0x2cf54d[_0x43eba3(0x113)]);if(_0xcdc2a1){for(const _0x27417c of _0xcdc2a1)_0x3b8758[_0x43eba3(0x156)](_0x43eba3(0x138),_0x27417c);}}});}(_0x9006c0);},{'useCapture':!0x0});}[_0x24cf14(0x131)](){const _0x11428f=_0x24cf14,_0x3ed8f0=this[_0x11428f(0x13c)],_0x5144b9=_0x3ed8f0[_0x11428f(0x141)][_0x11428f(0x101)](_0x11428f(0x14a));_0x5144b9&&_0x3ed8f0[_0x11428f(0xfe)]['on'](_0x11428f(0x148),(_0x88dd25,_0x530758)=>{const _0x1d36ca=_0x11428f,_0x4395f4=_0x530758[0x0];if(_0x1d36ca(0x149)!=_0x4395f4[_0x1d36ca(0x139)]||!_0x4395f4[_0x1d36ca(0x113)][_0x1d36ca(0x128)](_0x1d36ca(0x11e)))return;const _0x15718a=_0x4395f4[_0x1d36ca(0x167)];_0x5144b9[_0x1d36ca(0x150)][_0x1d36ca(0x116)](_0x15718a)&&(_0x4395f4[_0x1d36ca(0x15b)]=_0x4395f4[_0x1d36ca(0x13f)]?_0x3ed8f0[_0x1d36ca(0xfe)][_0x1d36ca(0x157)](_0x4395f4[_0x1d36ca(0x13f)][_0x1d36ca(0x12c)],_0x4395f4[_0x1d36ca(0x13f)][_0x1d36ca(0x12a)]):null);},{'priority':_0x11428f(0x11a)});}[_0x24cf14(0x130)](){const _0x418b3e=_0x24cf14;return this[_0x418b3e(0x17b)][_0x418b3e(0x10e)](),super[_0x418b3e(0x130)]();}[_0x24cf14(0x154)](){const _0x591e36=_0x24cf14,_0x5d414e=this[_0x591e36(0x13c)],_0x4b7bc7=_0x5d414e[_0x591e36(0xfe)][_0x591e36(0x172)],_0x24d2aa=_0x5d414e[_0x591e36(0x102)][_0x591e36(0x101)](_0x46ebe8);_0x5d414e[_0x591e36(0xfe)][_0x591e36(0x14c)]({'isUndoable':!0x1},_0x299496=>{const _0x49d885=_0x591e36,_0x2dcaac=_0x49d885(0x160)+_0x24d2aa[_0x49d885(0x126)],_0x272a60=_0x49d885(0x168)+_0x24d2aa[_0x49d885(0x126)],_0x248ad8=_0x5d414e[_0x49d885(0xfe)][_0x49d885(0x117)][_0x49d885(0x116)](_0x2dcaac);_0x5d414e[_0x49d885(0x13a)][_0x49d885(0x170)][_0x49d885(0x134)]?te(_0x24d2aa[_0x49d885(0x126)],_0x4b7bc7[_0x49d885(0x163)][_0x49d885(0x17f)](),_0x5d414e[_0x49d885(0xfe)],_0x299496):_0x248ad8&&(_0x299496[_0x49d885(0x15f)](_0x2dcaac),_0x299496[_0x49d885(0x15f)](_0x272a60));});}}function te(_0x13945f,_0x18062e,_0x44c731,_0x40da9e){const _0x7578bf=_0x24cf14,_0x1c94d0=_0x7578bf(0x160)+_0x13945f,_0x372828=_0x7578bf(0x168)+_0x13945f,_0x28c537=_0x18062e[_0x7578bf(0x142)]();let _0x1d24a9=_0x18062e[_0x7578bf(0x12c)];_0x28c537&&_0x28c537['is'](_0x7578bf(0x11f),_0x7578bf(0x16e))&&(_0x1d24a9=function(_0x4dc99d,_0x447047){const _0x260490=_0x7578bf;for(const _0x2057bb of _0x4dc99d[_0x260490(0x159)]())if(_0x447047[_0x260490(0x105)][_0x260490(0x17e)](_0x2057bb,_0x260490(0x144)))return _0x2057bb;}(_0x18062e,_0x44c731),_0x18062e=_0x40da9e[_0x7578bf(0x157)](_0x1d24a9));const _0x4977a4=_0x40da9e[_0x7578bf(0x157)](_0x1d24a9);_0x44c731[_0x7578bf(0x117)][_0x7578bf(0x116)](_0x1c94d0)?(_0x40da9e[_0x7578bf(0x155)](_0x1c94d0,{'range':_0x18062e}),_0x40da9e[_0x7578bf(0x155)](_0x372828,{'range':_0x4977a4})):(_0x40da9e[_0x7578bf(0x17d)](_0x1c94d0,{'range':_0x18062e,'usingOperation':!0x0}),_0x40da9e[_0x7578bf(0x17d)](_0x372828,{'range':_0x4977a4,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x152671=_0x5cab;(function(_0x8676b0,_0xf30d44){const _0x2c1253=_0x5cab,_0x4026b7=_0x8676b0();while(!![]){try{const _0xa5d760=-parseInt(_0x2c1253(0x177))/0x1*(parseInt(_0x2c1253(0x180))/0x2)+-parseInt(_0x2c1253(0x160))/0x3*(-parseInt(_0x2c1253(0x154))/0x4)+parseInt(_0x2c1253(0x15b))/0x5+-parseInt(_0x2c1253(0x1a5))/0x6*(-parseInt(_0x2c1253(0x15e))/0x7)+-parseInt(_0x2c1253(0x1ad))/0x8+parseInt(_0x2c1253(0x164))/0x9+-parseInt(_0x2c1253(0x16e))/0xa*(parseInt(_0x2c1253(0x141))/0xb);if(_0xa5d760===_0xf30d44)break;else _0x4026b7['push'](_0x4026b7['shift']());}catch(_0x599e3e){_0x4026b7['push'](_0x4026b7['shift']());}}}(_0x5d05,0x675c6));import{Plugin as _0x1224ab}from'ckeditor5/src/core.js';import{global as _0x3d48c3,DomEmitterMixin as _0x294048}from'ckeditor5/src/utils.js';import _0x2696f7 from'./sessions.js';function _0x5d05(){const _0x3d9016=['ck-user__marker_hovered','markerToHighlight','80pVmyaB','_createdBatches','fromRange','getUserBySessionId','render','view','selection','mySessionId','detach','5CUSqkl','commands','Escape','innerHTML','addEventListener','get','getMarkerClass','pluginName','createRange','10484EjTvin','_domEmitter','oldRange','model','conversion','set','mouseleave','markerRange','toDomElement','remove','</span>','markerName','element','isOfficialPlugin','change:range','checkChild','isInline','requires','classList','enqueueChange','getFirstRange','applyOperation','marker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','start','for','hasDomSelection','delete','getCustomProperty','user:range:','getStart','isObject','afterInit','markers','UserMarkers','orderNumber','end','6dsBsIp','parent','update:user:range','change','user:range','markerToElement','setCustomProperty','ck-user__marker\x20','1636376wadRLe','ck-user__selection','getPositions','createUserMarkerOperations','createUIElement','clear','schema','color','removeClass','contenteditable','isPremiumPlugin','mapper','user:','editingDowncast','addMarker','userPositionMarker','init','markerNameToElements','reconvertMarker','getContainedElement','editor','user:position:','document','getNearestSelectionRange','tableCell','639584PMtHPL','getSelectionClass','startsWith','isSimilar','listenTo','keydown','highest','stopListening','batch','isCollapsed','hasContent','user:position','mouseenter','destroy','getAttribute','isLimit','data-session-id','deletionPosition','getRange','9392HAGWOA','$graveyard','type','root','editing','rootName','size','2268265umdTzW','$text','split','1804096gJTtVe','span','474jpbykL','updateMarker','has','name','332190eYxPeN','newRange','undo','nodeAfter','add','removeMarker','toRange','plugins'];_0x5d05=function(){return _0x3d9016;};return _0x5d05();}import{LiveRange as _0x54e66f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5cab(_0x4d9870,_0x163102){const _0x5d05fc=_0x5d05();return _0x5cab=function(_0x5cab8e,_0xebca62){_0x5cab8e=_0x5cab8e-0x138;let _0x30d174=_0x5d05fc[_0x5cab8e];return _0x30d174;},_0x5cab(_0x4d9870,_0x163102);}export default class H extends _0x1224ab{constructor(){const _0x2baeae=_0x5cab;super(...arguments),this[_0x2baeae(0x181)]=new(_0x294048())();}static get[_0x152671(0x191)](){return[_0x2696f7];}static get[_0x152671(0x17e)](){const _0x26d71a=_0x152671;return _0x26d71a(0x1a2);}static get[_0x152671(0x18d)](){return!0x0;}static get[_0x152671(0x1b7)](){return!0x0;}[_0x152671(0x138)](){const _0x2a59b8=_0x152671,_0x416e83=this[_0x2a59b8(0x13c)],_0x1868b5=_0x416e83[_0x2a59b8(0x16b)][_0x2a59b8(0x17c)](_0x2696f7);_0x416e83[_0x2a59b8(0x184)][_0x2a59b8(0x199)](_0x2a59b8(0x1ba))[_0x2a59b8(0x1aa)]({'model':_0x2a59b8(0x14c),'view':(_0x20fddc,{writer:_0x41d9d2})=>function(_0x2430db,_0x559505,_0x5ad2ec,_0x48aa12){const _0x4e0036=_0x2a59b8,_0x39aa2a=_0x2430db[_0x4e0036(0x18b)][_0x4e0036(0x15d)](':')[0x2],_0x70e968=_0x5ad2ec[_0x4e0036(0x171)](_0x39aa2a);if(!_0x70e968||_0x39aa2a===_0x5ad2ec[_0x4e0036(0x175)])return;if(!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)][_0x4e0036(0x18f)](_0x2430db[_0x4e0036(0x187)][_0x4e0036(0x198)],_0x4e0036(0x15c)))return;const _0x4f6063={'class':_0x4e0036(0x1ac)+_0x70e968[_0x4e0036(0x1b4)][_0x4e0036(0x17d)](),'data-name':_0x70e968[_0x4e0036(0x163)],'data-session-id':_0x39aa2a},_0x12e765=_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1a1)][_0x4e0036(0x17c)](_0x2430db[_0x4e0036(0x18b)]),_0x3af663=_0x12e765[_0x4e0036(0x19e)](),_0x2bd4ca=_0x3af663[_0x4e0036(0x167)],_0x3318ad=_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)];if(_0x2bd4ca&&_0x3318ad[_0x4e0036(0x19f)](_0x2bd4ca)&&_0x3318ad[_0x4e0036(0x190)](_0x2bd4ca)&&!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1a1)][_0x4e0036(0x17c)](_0x4e0036(0x19d)+_0x39aa2a)[_0x4e0036(0x153)]()[_0x4e0036(0x14a)])return;const _0x5067e0=_0x3af663[_0x4e0036(0x1a6)];return _0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)][_0x4e0036(0x150)](_0x5067e0)&&!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x14b)](_0x5067e0)&&(_0x4f6063[_0x4e0036(0x1b6)]=!0x1),function(_0x1f60e4,_0x2138ee,_0x140f7b){const _0x53ccc7=_0x4e0036,_0x1dbfea=_0x1f60e4[_0x53ccc7(0x1b1)](_0x53ccc7(0x15f),_0x2138ee);return _0x1f60e4[_0x53ccc7(0x1ab)](_0x53ccc7(0x1bc),!0x0,_0x1dbfea),_0x1dbfea[_0x53ccc7(0x172)]=function(_0x2ec701){const _0x28e37a=_0x53ccc7,_0x31ab9d=this[_0x28e37a(0x188)](_0x2ec701);return _0x31ab9d[_0x28e37a(0x17a)]=_0x28e37a(0x197)+_0x140f7b[_0x28e37a(0x163)]+_0x28e37a(0x18a),_0x31ab9d[_0x28e37a(0x17b)](_0x28e37a(0x14d),()=>{const _0x53022b=_0x28e37a;_0x31ab9d[_0x53022b(0x192)][_0x53022b(0x168)](_0x53022b(0x16c));}),_0x31ab9d[_0x28e37a(0x17b)](_0x28e37a(0x186),()=>{const _0x552bca=_0x28e37a;_0x31ab9d[_0x552bca(0x192)][_0x552bca(0x189)](_0x552bca(0x16c));}),_0x31ab9d;},_0x1dbfea[_0x53ccc7(0x144)]=function(_0x2e8605){const _0x1a1a5e=_0x53ccc7;return!(!this[_0x1a1a5e(0x19c)](_0x1a1a5e(0x1bc))||!_0x2e8605[_0x1a1a5e(0x19c)](_0x1a1a5e(0x1bc))||this[_0x1a1a5e(0x14f)](_0x1a1a5e(0x151))!=_0x2e8605[_0x1a1a5e(0x14f)](_0x1a1a5e(0x151)));},_0x1dbfea;}(_0x559505,_0x4f6063,_0x70e968);}(_0x20fddc,_0x41d9d2,_0x1868b5,_0x416e83)}),_0x416e83[_0x2a59b8(0x184)][_0x2a59b8(0x199)](_0x2a59b8(0x1ba))[_0x2a59b8(0x16d)]({'model':_0x2a59b8(0x1a9),'view':_0x1566b4=>function(_0x1801a5,_0x45a8a9){const _0x1e0be4=_0x2a59b8,_0x5585a2=_0x1801a5[_0x1e0be4(0x18b)][_0x1e0be4(0x15d)](':')[0x2];if(_0x5585a2===_0x45a8a9[_0x1e0be4(0x175)])return null;const _0x51e97e=_0x45a8a9[_0x1e0be4(0x171)](_0x5585a2);if(!_0x51e97e)return{'id':_0x5585a2,'classes':[]};return{'id':_0x5585a2,'classes':[_0x1e0be4(0x1ae),_0x51e97e[_0x1e0be4(0x1b4)][_0x1e0be4(0x142)]()],'attributes':{'data-session-id':_0x5585a2},'priority':0x7d0+_0x51e97e[_0x1e0be4(0x1a3)]};}(_0x1566b4,_0x1868b5)}),function(_0x120a02){const _0x5eaaab=_0x2a59b8,_0x2dea2e=_0x120a02[_0x5eaaab(0x183)],_0x35d0c2=new Map(),_0x51bffe=_0x120a02[_0x5eaaab(0x16b)][_0x5eaaab(0x17c)](_0x2696f7);_0x2dea2e[_0x5eaaab(0x1a1)]['on'](_0x5eaaab(0x1a7),(_0x299d96,_0x211a94,_0x19bd37,_0x493ffe)=>{const _0x321572=_0x5eaaab;if(!_0x493ffe&&_0x35d0c2[_0x321572(0x17c)](_0x211a94[_0x321572(0x163)]))return _0x35d0c2[_0x321572(0x17c)](_0x211a94[_0x321572(0x163)])[_0x321572(0x176)](),void _0x35d0c2[_0x321572(0x19b)](_0x211a94[_0x321572(0x163)]);const _0x317664=_0x211a94[_0x321572(0x163)][_0x321572(0x15d)](':')[0x2];if(_0x317664===_0x51bffe[_0x321572(0x175)])return;const _0x5f3183=_0x321572(0x13d)+_0x317664;_0x2dea2e[_0x321572(0x1a1)][_0x321572(0x162)](_0x5f3183)&&_0x120a02[_0x321572(0x158)][_0x321572(0x13a)](_0x5f3183),_0x211a94['on'](_0x321572(0x18e),(_0x24aaf8,_0x489f7a,_0x39c7ce)=>{const _0x1bc402=_0x321572;if(_0x1bc402(0x155)!=_0x489f7a[_0x1bc402(0x157)][_0x1bc402(0x159)]&&_0x1bc402(0x155)==_0x211a94[_0x1bc402(0x153)]()[_0x1bc402(0x157)][_0x1bc402(0x159)]&&!_0x35d0c2[_0x1bc402(0x162)](_0x211a94[_0x1bc402(0x163)])){const _0x169dcf=_0x2dea2e[_0x1bc402(0x1b3)][_0x1bc402(0x13f)](_0x39c7ce[_0x1bc402(0x152)]);if(_0x169dcf){const _0x403042=_0x54e66f[_0x1bc402(0x170)](_0x169dcf);_0x35d0c2[_0x1bc402(0x185)](_0x211a94[_0x1bc402(0x163)],_0x403042),_0x403042['on'](_0x1bc402(0x18e),(_0x38e758,_0x258db5,_0x7421da)=>{const _0x543cf8=_0x1bc402;if(_0x543cf8(0x155)==_0x403042[_0x543cf8(0x157)][_0x543cf8(0x159)]){const _0x405410=_0x2dea2e[_0x543cf8(0x1b3)][_0x543cf8(0x13f)](_0x7421da[_0x543cf8(0x152)]);_0x405410?(_0x403042[_0x543cf8(0x198)]=_0x405410[_0x543cf8(0x198)],_0x403042[_0x543cf8(0x1a4)]=_0x405410[_0x543cf8(0x1a4)]):(_0x35d0c2[_0x543cf8(0x19b)](_0x211a94[_0x543cf8(0x163)]),_0x403042[_0x543cf8(0x176)]());}});}}});}),_0x2dea2e[_0x5eaaab(0x13e)]['on'](_0x5eaaab(0x1a8),()=>{const _0x5133b9=_0x5eaaab;_0x35d0c2[_0x5133b9(0x15a)]>0x0&&_0x2dea2e[_0x5133b9(0x193)]({'isUndoable':!0x1},_0x47e24f=>{const _0x1f8530=_0x5133b9;for(const [_0x51a907,_0x5388d3]of _0x35d0c2)_0x1f8530(0x155)==_0x2dea2e[_0x1f8530(0x1a1)][_0x1f8530(0x17c)](_0x51a907)[_0x1f8530(0x153)]()[_0x1f8530(0x157)][_0x1f8530(0x159)]&&(re(_0x51a907[_0x1f8530(0x15d)](':')[0x2],_0x5388d3[_0x1f8530(0x16a)](),_0x2dea2e,_0x47e24f),_0x5388d3[_0x1f8530(0x176)]());_0x35d0c2[_0x1f8530(0x1b2)]();});});}(_0x416e83),this[_0x2a59b8(0x181)][_0x2a59b8(0x145)](_0x3d48c3[_0x2a59b8(0x13e)],_0x2a59b8(0x146),(_0x30897f,{key:_0x5b3d37})=>{const _0x54d1e9=_0x2a59b8;_0x54d1e9(0x179)===_0x5b3d37&&function(_0x2126d8){const _0x4899fc=_0x54d1e9;_0x2126d8[_0x4899fc(0x158)][_0x4899fc(0x173)][_0x4899fc(0x1a8)](_0x4c4d9a=>{const _0x3b94a2=_0x4899fc;for(const _0x1c0f63 of _0x2126d8[_0x3b94a2(0x183)][_0x3b94a2(0x1a1)]){if(!_0x1c0f63[_0x3b94a2(0x163)][_0x3b94a2(0x143)](_0x3b94a2(0x14c)))continue;const _0xc0fa00=_0x2126d8[_0x3b94a2(0x158)][_0x3b94a2(0x1b8)][_0x3b94a2(0x139)](_0x1c0f63[_0x3b94a2(0x163)]);if(_0xc0fa00){for(const _0xcc4c40 of _0xc0fa00)_0x4c4d9a[_0x3b94a2(0x1b5)](_0x3b94a2(0x16c),_0xcc4c40);}}});}(_0x416e83);},{'useCapture':!0x0});}[_0x152671(0x1a0)](){const _0x4898e7=_0x152671,_0x236cdc=this[_0x4898e7(0x13c)],_0x2589b9=_0x236cdc[_0x4898e7(0x178)][_0x4898e7(0x17c)](_0x4898e7(0x166));_0x2589b9&&_0x236cdc[_0x4898e7(0x183)]['on'](_0x4898e7(0x195),(_0x51c41b,_0x34241f)=>{const _0x1bcc7d=_0x4898e7,_0x1d21a4=_0x34241f[0x0];if(_0x1bcc7d(0x196)!=_0x1d21a4[_0x1bcc7d(0x156)]||!_0x1d21a4[_0x1bcc7d(0x163)][_0x1bcc7d(0x143)](_0x1bcc7d(0x1b9)))return;const _0x1b63de=_0x1d21a4[_0x1bcc7d(0x149)];_0x2589b9[_0x1bcc7d(0x16f)][_0x1bcc7d(0x162)](_0x1b63de)&&(_0x1d21a4[_0x1bcc7d(0x165)]=_0x1d21a4[_0x1bcc7d(0x182)]?_0x236cdc[_0x1bcc7d(0x183)][_0x1bcc7d(0x17f)](_0x1d21a4[_0x1bcc7d(0x182)][_0x1bcc7d(0x198)],_0x1d21a4[_0x1bcc7d(0x182)][_0x1bcc7d(0x1a4)]):null);},{'priority':_0x4898e7(0x147)});}[_0x152671(0x14e)](){const _0x3cb1c7=_0x152671;return this[_0x3cb1c7(0x181)][_0x3cb1c7(0x148)](),super[_0x3cb1c7(0x14e)]();}[_0x152671(0x1b0)](){const _0x45bdb4=_0x152671,_0x1ad40f=this[_0x45bdb4(0x13c)],_0x43c8af=_0x1ad40f[_0x45bdb4(0x183)][_0x45bdb4(0x13e)],_0x2eb788=_0x1ad40f[_0x45bdb4(0x16b)][_0x45bdb4(0x17c)](_0x2696f7);_0x1ad40f[_0x45bdb4(0x183)][_0x45bdb4(0x193)]({'isUndoable':!0x1},_0x357352=>{const _0x4e86b8=_0x45bdb4,_0x48db1b=_0x4e86b8(0x19d)+_0x2eb788[_0x4e86b8(0x175)],_0x42ab1a=_0x4e86b8(0x13d)+_0x2eb788[_0x4e86b8(0x175)],_0x1a0bb3=_0x1ad40f[_0x4e86b8(0x183)][_0x4e86b8(0x1a1)][_0x4e86b8(0x162)](_0x48db1b);_0x1ad40f[_0x4e86b8(0x158)][_0x4e86b8(0x173)][_0x4e86b8(0x19a)]?re(_0x2eb788[_0x4e86b8(0x175)],_0x43c8af[_0x4e86b8(0x174)][_0x4e86b8(0x194)](),_0x1ad40f[_0x4e86b8(0x183)],_0x357352):_0x1a0bb3&&(_0x357352[_0x4e86b8(0x169)](_0x48db1b),_0x357352[_0x4e86b8(0x169)](_0x42ab1a));});}}function re(_0xd45b1d,_0x4c87bb,_0x10fb1b,_0x32a300){const _0x5c5dfb=_0x152671,_0x4c8ab2=_0x5c5dfb(0x19d)+_0xd45b1d,_0x1347c1=_0x5c5dfb(0x13d)+_0xd45b1d,_0x29aa4c=_0x4c87bb[_0x5c5dfb(0x13b)]();let _0x1f1bb0=_0x4c87bb[_0x5c5dfb(0x198)];_0x29aa4c&&_0x29aa4c['is'](_0x5c5dfb(0x18c),_0x5c5dfb(0x140))&&(_0x1f1bb0=function(_0xd4d6db,_0x3cacba){const _0x377052=_0x5c5dfb;for(const _0x47cce7 of _0xd4d6db[_0x377052(0x1af)]())if(_0x3cacba[_0x377052(0x1b3)][_0x377052(0x18f)](_0x47cce7,_0x377052(0x15c)))return _0x47cce7;}(_0x4c87bb,_0x10fb1b),_0x4c87bb=_0x32a300[_0x5c5dfb(0x17f)](_0x1f1bb0));const _0x116340=_0x32a300[_0x5c5dfb(0x17f)](_0x1f1bb0);_0x10fb1b[_0x5c5dfb(0x1a1)][_0x5c5dfb(0x162)](_0x4c8ab2)?(_0x32a300[_0x5c5dfb(0x161)](_0x4c8ab2,{'range':_0x4c87bb}),_0x32a300[_0x5c5dfb(0x161)](_0x1347c1,{'range':_0x116340})):(_0x32a300[_0x5c5dfb(0x1bb)](_0x4c8ab2,{'range':_0x4c87bb,'usingOperation':!0x0}),_0x32a300[_0x5c5dfb(0x1bb)](_0x1347c1,{'range':_0x116340,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x339c(){const _0x89d9c5=['removeFromReconnectionStack','connection','create','state','_reconnectionStack','config','49755sLjgpx','isInReconnectionStack','code','CloudServices','cloudservices-reconnection-error','3349158NHMzaj','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','limitExceeded','add','online','context','token','offline','all','stopListening','_isBrowserOffline','disconnect','websocketgateway-missing-websocket-url','showWarning','cloudServices.requestTimeout','init','get','30316668aaqlgV','set','has','pluginName','connected','WebSocketGateway','then','_shouldPluginsReconnect','2530WIPOoo','change:me','164sroCKt','17710YpsrHt','4529588oivtor','plugins','DISCONNECTED','listenTo','CONNECTED','initialReconnectionInterval','isOfficialPlugin','5kWkWpk','websocketgateway-plugin-already-registered','6812hDtIYK','CONNECTING','webSocketUrl','bind','Connected\x20users\x20limit\x20exceeded','addToReconnectionStack','from','40KjeQys','_domEmitter','673749dZQUxL','real-time-collaboration','destroy','delete','error','172TzYAZF','constructor','catch','reconnect','isPremiumPlugin','cloudServices.connectionTimeout','requires','cloudservices-init','websocketgateway-invalid-plugin-interface','websocketgateway-missing-token','_reconnect','function','connect','define'];_0x339c=function(){return _0x89d9c5;};return _0x339c();}const _0x1bfab8=_0x26c3;(function(_0x31d058,_0x134b3a){const _0x43c562=_0x26c3,_0x4f15f4=_0x31d058();while(!![]){try{const _0x58bbd9=-parseInt(_0x43c562(0x165))/0x1*(parseInt(_0x43c562(0x173))/0x2)+parseInt(_0x43c562(0x13a))/0x3*(-parseInt(_0x43c562(0x15a))/0x4)+parseInt(_0x43c562(0x163))/0x5*(parseInt(_0x43c562(0x13f))/0x6)+-parseInt(_0x43c562(0x15c))/0x7+-parseInt(_0x43c562(0x16c))/0x8*(parseInt(_0x43c562(0x16e))/0x9)+-parseInt(_0x43c562(0x15b))/0xa*(parseInt(_0x43c562(0x158))/0xb)+parseInt(_0x43c562(0x150))/0xc;if(_0x58bbd9===_0x134b3a)break;else _0x4f15f4['push'](_0x4f15f4['shift']());}catch(_0x115439){_0x4f15f4['push'](_0x4f15f4['shift']());}}}(_0x339c,0x5f39e));import{ContextPlugin as _0x4cad8e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x41e9cc,CKEditorError as _0x158868}from'ckeditor5/src/utils.js';function _0x26c3(_0x14907d,_0x3bb1c9){const _0x339ccb=_0x339c();return _0x26c3=function(_0x26c36e,_0x34ca67){_0x26c36e=_0x26c36e-0x138;let _0x595fad=_0x339ccb[_0x26c36e];return _0x595fad;},_0x26c3(_0x14907d,_0x3bb1c9);}import{WebSocketGateway as _0x21d1b0,WEB_SOCKET_GATEWAY_STATES as _0x57463a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4cb753}from'ckeditor5/src/ui.js';class c extends _0x4cad8e{static get[_0x1bfab8(0x179)](){const _0x3e8b4d=_0x1bfab8;return[_0x3e8b4d(0x13d),_0x4cb753];}static get[_0x1bfab8(0x153)](){const _0x28ee28=_0x1bfab8;return _0x28ee28(0x155);}static get[_0x1bfab8(0x162)](){return!0x0;}static get[_0x1bfab8(0x177)](){return!0x0;}constructor(_0x425f3a){const _0x54c038=_0x1bfab8;super(_0x425f3a),this[_0x54c038(0x151)](_0x54c038(0x184),_0x57463a[_0x54c038(0x160)]),this[_0x54c038(0x151)](_0x54c038(0x149),!0x1),this[_0x54c038(0x138)]=new Set(),this[_0x54c038(0x157)]=!0x1,this[_0x54c038(0x16d)]=Object[_0x54c038(0x183)](_0x41e9cc);}[_0x1bfab8(0x14e)](){const _0x335a32=_0x1bfab8,_0x6f06a6=this[_0x335a32(0x144)],_0x45d2b7=_0x6f06a6[_0x335a32(0x15d)][_0x335a32(0x14f)](_0x335a32(0x13d)),_0x236b77=_0x6f06a6[_0x335a32(0x15d)][_0x335a32(0x14f)](_0x4cb753);if(!_0x45d2b7[_0x335a32(0x145)])throw new _0x158868(_0x335a32(0x17c),this);if(!_0x45d2b7[_0x335a32(0x167)])throw new _0x158868(_0x335a32(0x14b),this);return this[_0x335a32(0x16d)][_0x335a32(0x15f)](window,_0x335a32(0x146),()=>this[_0x335a32(0x149)]=!0x0),this[_0x335a32(0x16d)][_0x335a32(0x15f)](window,_0x335a32(0x143),()=>this[_0x335a32(0x149)]=!0x1),this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x180)](_0x335a32(0x178),0xa),this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x180)](_0x335a32(0x14d),0x14),c[_0x335a32(0x155)][_0x335a32(0x17f)](_0x45d2b7[_0x335a32(0x145)],_0x45d2b7[_0x335a32(0x167)],{'timeout':0x3e8*this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x14f)](_0x335a32(0x178)),'requestTimeout':0x3e8*this[_0x335a32(0x144)][_0x335a32(0x139)][_0x335a32(0x14f)](_0x335a32(0x14d))})[_0x335a32(0x156)](_0x1ea3a1=>{const _0x5ba178=_0x335a32;if(this[_0x5ba178(0x182)]=_0x1ea3a1,this[_0x5ba178(0x168)](_0x5ba178(0x184))['to'](_0x1ea3a1,_0x5ba178(0x184),this,_0x5ba178(0x149),(_0xd13f30,_0x31d56c)=>(_0x5ba178(0x154)!==_0xd13f30&&(this[_0x5ba178(0x157)]=!0x0),_0x31d56c||_0xd13f30!==_0x57463a[_0x5ba178(0x160)]?_0x57463a[_0x5ba178(0x15e)]:this[_0x5ba178(0x184)]==_0x57463a[_0x5ba178(0x15e)]&&this[_0x5ba178(0x157)]?(this[_0x5ba178(0x157)]=!0x1,this[_0x5ba178(0x17d)](),_0x57463a[_0x5ba178(0x166)]):_0x57463a[_0x5ba178(0x160)])),this[_0x5ba178(0x182)]['on'](_0x5ba178(0x172),(_0x154be1,_0x569f88)=>{const _0x54967e=_0x5ba178;if(_0x54967e(0x141)!==_0x569f88[_0x54967e(0x13c)])throw console[_0x54967e(0x172)](_0x569f88),new _0x158868(_0x54967e(0x17a),null,{'originalError':_0x569f88});_0x236b77[_0x54967e(0x14c)](_0x54967e(0x140),{'title':_0x54967e(0x169),'namespace':_0x54967e(0x16f)});}),!_0x1ea3a1['me'])return new Promise(_0x22b978=>_0x1ea3a1['on'](_0x5ba178(0x159),_0x22b978));})[_0x335a32(0x175)](_0x51a376=>{const _0x34229e=_0x335a32;throw console[_0x34229e(0x172)](_0x51a376),new _0x158868(_0x34229e(0x17a),null,{'originalError':_0x51a376});});}[_0x1bfab8(0x16a)](_0x27a5de){const _0x383556=_0x1bfab8;if(_0x383556(0x17e)!=typeof _0x27a5de[_0x383556(0x176)])throw new _0x158868(_0x383556(0x17b),this);if(this[_0x383556(0x13b)](_0x27a5de))throw new _0x158868(_0x383556(0x164),this,{'name':_0x27a5de[_0x383556(0x174)][_0x383556(0x153)]});this[_0x383556(0x138)][_0x383556(0x142)](_0x27a5de);}[_0x1bfab8(0x181)](_0x1185f1){const _0x56ca3d=_0x1bfab8;this[_0x56ca3d(0x138)][_0x56ca3d(0x171)](_0x1185f1);}[_0x1bfab8(0x13b)](_0x478256){const _0x5734bb=_0x1bfab8;return this[_0x5734bb(0x138)][_0x5734bb(0x152)](_0x478256);}[_0x1bfab8(0x17d)](){const _0x369b84=_0x1bfab8;return this[_0x369b84(0x182)][_0x369b84(0x176)]()[_0x369b84(0x156)](()=>Promise[_0x369b84(0x147)](Array[_0x369b84(0x16b)](this[_0x369b84(0x138)],_0x30c945=>_0x30c945[_0x369b84(0x176)]())))[_0x369b84(0x156)](()=>this[_0x369b84(0x184)]=_0x57463a[_0x369b84(0x160)])[_0x369b84(0x175)](_0x82e802=>{const _0x9b3a01=_0x369b84;throw console[_0x9b3a01(0x172)](_0x82e802),new _0x158868(_0x9b3a01(0x13e),this[_0x9b3a01(0x144)]);});}[_0x1bfab8(0x170)](){const _0x3c7a0e=_0x1bfab8;this[_0x3c7a0e(0x182)]&&this[_0x3c7a0e(0x182)][_0x3c7a0e(0x14a)](),this[_0x3c7a0e(0x184)]=_0x57463a[_0x3c7a0e(0x15e)],this[_0x3c7a0e(0x16d)][_0x3c7a0e(0x148)](),super[_0x3c7a0e(0x170)]();}}c[_0x1bfab8(0x155)]=_0x21d1b0,c[_0x1bfab8(0x161)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5955da=_0x2991;(function(_0x59df50,_0x89af6c){const _0x43801e=_0x2991,_0x3f06ae=_0x59df50();while(!![]){try{const _0x11ad29=parseInt(_0x43801e(0xf1))/0x1+-parseInt(_0x43801e(0xd5))/0x2+-parseInt(_0x43801e(0xd9))/0x3*(parseInt(_0x43801e(0xe3))/0x4)+-parseInt(_0x43801e(0xf9))/0x5*(-parseInt(_0x43801e(0x9e))/0x6)+-parseInt(_0x43801e(0xd4))/0x7+-parseInt(_0x43801e(0xc5))/0x8*(parseInt(_0x43801e(0x9a))/0x9)+parseInt(_0x43801e(0xdc))/0xa*(parseInt(_0x43801e(0xc1))/0xb);if(_0x11ad29===_0x89af6c)break;else _0x3f06ae['push'](_0x3f06ae['shift']());}catch(_0x8f7486){_0x3f06ae['push'](_0x3f06ae['shift']());}}}(_0x32c2,0x6ce99));import{Plugin as _0x2f3f99}from'ckeditor5/src/core.js';import{version as _0x5416a3}from'ckeditor5/src/utils.js';import{Users as _0x599075}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3c6a9c from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x2d839b from'../realtimecollaborativeediting/websocketgateway.js';import _0x33f6b8 from'../realtimecollaborativeediting/sessions.js';function _0x2991(_0x309667,_0x570626){const _0x32c29b=_0x32c2();return _0x2991=function(_0x2991be,_0x24d0d2){_0x2991be=_0x2991be-0x88;let _0x442c48=_0x32c29b[_0x2991be];return _0x442c48;},_0x2991(_0x309667,_0x570626);}import{EditorService as _0x5ce2f9,RevisionHistoryService as _0xacd7f4,User as _0x31ab95,WEB_SOCKET_GATEWAY_STATES as _0x380b7b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x2f3f99{static get[_0x5955da(0xb2)](){const _0x1b11d3=_0x5955da;return[_0x2d839b,_0x3c6a9c,_0x1b11d3(0xa5),_0x33f6b8,_0x599075];}static get[_0x5955da(0xc7)](){const _0x777ff0=_0x5955da;return _0x777ff0(0xe1);}static get[_0x5955da(0xeb)](){return!0x0;}static get[_0x5955da(0xe4)](){return!0x0;}constructor(_0x1341de){const _0x6a6320=_0x5955da;super(_0x1341de);const _0x2a6f7c=this[_0x6a6320(0x8b)][_0x6a6320(0xf7)][_0x6a6320(0xca)](_0x6a6320(0xaa));this[_0x6a6320(0xc6)]=null,this[_0x6a6320(0xee)]=this[_0x6a6320(0x8b)][_0x6a6320(0xa0)][_0x6a6320(0xca)](_0x6a6320(0xa5)),this[_0x6a6320(0xf8)]=new u[(_0x6a6320(0xd0))](_0x2a6f7c);}async[_0x5955da(0xbc)](){const _0x484596=_0x5955da,_0x57ebae=this[_0x484596(0x8b)][_0x484596(0xa0)][_0x484596(0xca)](_0x3c6a9c),_0x480e56=_0x57ebae[_0x484596(0xef)],_0x5c0620=this[_0x484596(0x8b)][_0x484596(0xa0)][_0x484596(0xca)](_0x2d839b);this[_0x484596(0xee)][_0x484596(0xb9)]({'history':_0x480e56,'getLatestVersion':()=>this[_0x484596(0xec)](),'getCurrentRevisionId':()=>_0x57ebae[_0x484596(0x94)]});const _0x2509c1=this[_0x484596(0x8b)][_0x484596(0xf7)][_0x484596(0xca)](_0x484596(0xd6))||_0x5416a3,_0x7e882b=await _0x5ce2f9[_0x484596(0x9c)](_0x5c0620[_0x484596(0xe5)],_0x2509c1);this[_0x484596(0xee)][_0x484596(0xd8)]={'getRevision':async({revisionId:_0x3c6396})=>(await this[_0x484596(0x8d)](),await this[_0x484596(0xf8)][_0x484596(0x8e)](_0x3c6396)),'updateRevisions':async _0x239b68=>{const _0xdea7fb=_0x484596;await this[_0xdea7fb(0x8d)]();const _0x4e4939=this[_0xdea7fb(0xee)][_0xdea7fb(0xdb)];if(_0x7e882b&&0x1===_0x239b68[_0xdea7fb(0x99)]&&_0x239b68[0x0]['id']===_0x4e4939['id'])return _0x239b68;for(const _0x8fc34d of _0x239b68)_0x8fc34d['id']===_0x4e4939['id']&&(_0x8fc34d[_0xdea7fb(0xa8)]=_0x8fc34d[_0xdea7fb(0xba)]===_0x8fc34d[_0xdea7fb(0xed)]);return this[_0xdea7fb(0xf8)][_0xdea7fb(0x88)](_0x239b68,this[_0xdea7fb(0xc6)])[_0xdea7fb(0xcb)](_0x5277ca=>(this[_0xdea7fb(0xc6)]=_0x5277ca,_0x239b68))[_0xdea7fb(0xa7)](_0x12efd0=>{const _0x653f24=_0xdea7fb;if(U(_0x12efd0)||_0x653f24(0xda)===_0x12efd0[_0x653f24(0xc0)]&&void 0x0!==_0x12efd0[_0x653f24(0x8f)][_0x653f24(0xa3)]){for(const _0x38da16 of _0x239b68){!this[_0x653f24(0xee)][_0x653f24(0xdd)][_0x653f24(0x8e)](_0x38da16['id'])||this[_0x653f24(0xee)][_0x653f24(0x96)](_0x38da16['id'],_0x38da16,!0x1);}if(U(_0x12efd0))throw _0x12efd0;return _0x239b68;}throw _0x12efd0;});}},this[_0x484596(0xdf)](this[_0x484596(0xf8)],_0x484596(0xbe),(_0x5eef66,{revisionsData:_0x5ce377,requestId:_0x39acc2})=>{const _0x234c17=_0x484596;Math[_0x234c17(0xe8)](..._0x5ce377[_0x234c17(0xb1)](_0x2fbd78=>_0x2fbd78[_0x234c17(0xed)]))>this[_0x234c17(0xae)]()-0x1?this[_0x234c17(0xec)]()[_0x234c17(0xcb)](()=>{const _0x56f429=_0x234c17;this[_0x56f429(0xf2)](_0x5ce377,_0x39acc2);}):this[_0x234c17(0xf2)](_0x5ce377,_0x39acc2);});const {revisions:_0x4862c3,requestId:_0x28202b}=await this[_0x484596(0xf8)][_0x484596(0x92)](_0x5c0620[_0x484596(0xe5)]);_0x5c0620[_0x484596(0xf5)](this),this[_0x484596(0xc6)]=_0x28202b,await this[_0x484596(0x89)](_0x4862c3);for(const _0x49d8b1 of _0x4862c3)this[_0x484596(0xee)][_0x484596(0xfa)](_0x49d8b1);this[_0x484596(0xdf)](_0x57ebae,_0x484596(0xb6),(_0x44a76e,_0x5709a7,_0x4e919d)=>{const _0x440826=_0x484596;_0x4e919d&&(this[_0x440826(0x8c)]=_0x57ebae[_0x440826(0xb7)],_0x44a76e[_0x440826(0x93)]());}),this[_0x484596(0xee)][_0x484596(0xc9)](_0x484596(0xf3))['to'](_0x5c0620,_0x484596(0xbb),_0x5dd02f=>_0x5dd02f===_0x380b7b[_0x484596(0xa9)]);}async[_0x5955da(0xc8)](){const _0x37c3a8=_0x5955da,_0x24784c=this[_0x37c3a8(0x8b)][_0x37c3a8(0xa0)][_0x37c3a8(0xca)](_0x2d839b),_0x151d6e=this[_0x37c3a8(0x8b)][_0x37c3a8(0xa0)][_0x37c3a8(0xca)](_0x3c6a9c),_0x1f1fdf=async()=>{const _0x578ca3=_0x37c3a8,_0x540778=this[_0x578ca3(0xee)][_0x578ca3(0xdb)],_0x33e56f=_0x540778['id'],_0x1c1347=_0x33e56f!==_0x151d6e[_0x578ca3(0x94)];if(_0x1c1347){const _0x531831=_0x151d6e[_0x578ca3(0xb7)]-this[_0x578ca3(0x8c)],_0x53f043=this[_0x578ca3(0xae)]();this[_0x578ca3(0xee)][_0x578ca3(0xd7)][_0x578ca3(0xfb)]();if(_0x540778[_0x578ca3(0xed)]+_0x531831!==_0x53f043){const _0x4e68fd=_0x540778[_0x578ca3(0xba)]+_0x531831,_0x8eef5f=this[_0x578ca3(0x8b)][_0x578ca3(0xa0)][_0x578ca3(0xca)](_0x599075),_0x55412d=this[_0x578ca3(0xee)][_0x578ca3(0xf4)]({'revision':_0x540778,'from':_0x4e68fd,'to':_0x53f043});_0x55412d['id']=_0x540778['id'];const _0x538ba0=_0x55412d[_0x578ca3(0xd2)][_0x578ca3(0xb1)](_0x4a3a1e=>_0x8eef5f[_0x578ca3(0xb4)](_0x4a3a1e));_0x540778[_0x578ca3(0xce)]({..._0x55412d,'authors':_0x538ba0},!0x0),this[_0x578ca3(0xee)][_0x578ca3(0x96)](_0x540778['id'],_0x55412d,!0x0);}this[_0x578ca3(0xee)][_0x578ca3(0x8a)]=_0x53f043,(_0x540778[_0x578ca3(0xed)]===_0x540778[_0x578ca3(0xba)]&&!this[_0x578ca3(0xee)][_0x578ca3(0xab)][_0x578ca3(0xf6)](_0x33e56f)&&this[_0x578ca3(0xee)][_0x578ca3(0xdd)][_0x578ca3(0xe7)][_0x578ca3(0xb0)](_0x33e56f),this[_0x578ca3(0xee)][_0x578ca3(0xc2)](_0x53f043));}const {revisions:_0x528383,requestId:_0xa19dd5}=await this[_0x578ca3(0xf8)][_0x578ca3(0xc8)](_0x24784c[_0x578ca3(0xe5)],this[_0x578ca3(0xc6)]);_0x1c1347&&_0x528383[_0x578ca3(0x99)]>0x0?_0x151d6e[_0x578ca3(0xe6)]():(await this[_0x578ca3(0x89)](_0x528383),this[_0x578ca3(0xf2)](_0x528383,_0xa19dd5),this[_0x578ca3(0xee)][_0x578ca3(0xb8)]());};return _0x151d6e[_0x37c3a8(0xb5)]?_0x1f1fdf():new Promise((_0x27396d,_0x6b6c8b)=>{const _0x5c29a0=_0x37c3a8;_0x151d6e[_0x5c29a0(0xa2)](_0x5c29a0(0xb6),()=>{const _0x4dc895=_0x5c29a0;_0x1f1fdf()[_0x4dc895(0xcb)](_0x27396d)[_0x4dc895(0xa7)](_0x6b6c8b);});});}[_0x5955da(0xc3)](){const _0x5568ab=_0x5955da;super[_0x5568ab(0xc3)]();}async[_0x5955da(0x8d)](){const _0xa4eae6=_0x5955da;this[_0xa4eae6(0xf8)][_0xa4eae6(0xde)]||await new Promise(_0x529cfb=>{const _0xe30e45=_0xa4eae6;this[_0xe30e45(0xdf)](this[_0xe30e45(0xf8)],_0xe30e45(0xd3),_0x2a3f0f=>{const _0x256544=_0xe30e45;_0x2a3f0f[_0x256544(0x93)](),_0x529cfb();});});}[_0x5955da(0xae)](){const _0x30116d=_0x5955da,_0xc52084=this[_0x30116d(0x8b)][_0x30116d(0xa0)][_0x30116d(0xca)](_0x3c6a9c)[_0x30116d(0xef)][_0x30116d(0xa1)]()[_0x30116d(0x97)]();for(const _0xa3a3a7 of _0xc52084)if(_0x30116d(0x91)!==_0xa3a3a7[_0x30116d(0xe2)]||_0xa3a3a7[_0x30116d(0xe0)])return _0xa3a3a7[_0x30116d(0xb3)]+0x1;}[_0x5955da(0xec)](){const _0x1f603f=_0x5955da,_0x2f5fad=this[_0x1f603f(0x8b)][_0x1f603f(0xa0)][_0x1f603f(0xca)](_0x3c6a9c);return new Promise(_0x23fbca=>{const _0x71b98f=_0x1f603f;_0x2f5fad[_0x71b98f(0xa6)]?_0x2f5fad[_0x71b98f(0xa2)](_0x71b98f(0xad),()=>{const _0xb2bc79=_0x71b98f;_0x23fbca(this[_0xb2bc79(0xae)]());}):_0x23fbca(this[_0x71b98f(0xae)]());});}[_0x5955da(0xf2)](_0x48450d,_0x3eb3ef){const _0xc2699c=_0x5955da,_0x3a1387=this[_0xc2699c(0xee)][_0xc2699c(0xdd)];this[_0xc2699c(0xc6)]=_0x3eb3ef;for(const _0x5c8bb6 of _0x48450d){const _0x598d27=_0x3a1387[_0xc2699c(0x8e)](_0x5c8bb6['id']);if(_0x598d27){if((_0x5c8bb6[_0xc2699c(0xba)]||_0x5c8bb6[_0xc2699c(0xed)])&&(_0x5c8bb6[_0xc2699c(0x9f)]=null),_0x598d27===this[_0xc2699c(0xee)][_0xc2699c(0xdb)]){const _0x249ba2=Math[_0xc2699c(0xe8)](_0x598d27[_0xc2699c(0xed)],_0x5c8bb6[_0xc2699c(0xed)]),_0x2559f0=Math[_0xc2699c(0xe8)](_0x598d27[_0xc2699c(0xba)],_0x5c8bb6[_0xc2699c(0xba)]);let _0xd9718e;_0x598d27[_0xc2699c(0xed)]===_0x5c8bb6[_0xc2699c(0xed)]&&_0x598d27[_0xc2699c(0xba)]===_0x5c8bb6[_0xc2699c(0xba)]?(_0xd9718e=!0x0,this[_0xc2699c(0xcd)](_0x5c8bb6)):_0x5c8bb6[_0xc2699c(0xed)]===_0x249ba2&&_0x5c8bb6[_0xc2699c(0xba)]===_0x2559f0?_0xd9718e=!0x1:(_0x598d27[_0xc2699c(0xed)]===_0x249ba2&&_0x598d27[_0xc2699c(0xba)]===_0x2559f0||this[_0xc2699c(0xa4)]({'revision':_0x598d27,'from':_0x2559f0,'to':_0x249ba2}),_0xd9718e=!0x0),_0xd9718e&&(delete _0x5c8bb6[_0xc2699c(0xba)],delete _0x5c8bb6[_0xc2699c(0xed)],delete _0x5c8bb6[_0xc2699c(0x9f)],delete _0x5c8bb6[_0xc2699c(0x90)],delete _0x5c8bb6[_0xc2699c(0xd2)]);}this[_0xc2699c(0xee)][_0xc2699c(0xea)](_0x5c8bb6),this[_0xc2699c(0xcd)](_0x5c8bb6);}else this[_0xc2699c(0xee)][_0xc2699c(0xfa)](_0x5c8bb6);}const _0x3636af=_0x3a1387[_0xc2699c(0x9b)]();_0x3636af[_0xc2699c(0x97)]();for(let _0x553074=0x0;_0x553074<_0x3636af[_0xc2699c(0x99)]-0x1;_0x553074++){const _0x2cfa09=_0x3636af[_0x553074],_0x2828a2=_0x3636af[_0x553074+0x1];if(_0x2cfa09[_0xc2699c(0xba)]<_0x2828a2[_0xc2699c(0xed)]){const _0x1b5906=_0x2828a2[_0xc2699c(0xed)],_0x17a81f=Math[_0xc2699c(0xe8)](_0x1b5906,_0x2cfa09[_0xc2699c(0xed)]);this[_0xc2699c(0xa4)]({'revision':_0x2cfa09,'from':_0x1b5906,'to':_0x17a81f});}}}[_0x5955da(0xa4)]({revision:_0x1442d3,from:_0x5f202f,to:_0x5e9fb7}={}){const _0x4f36a2=_0x5955da,_0x5f5265=this[_0x4f36a2(0x8b)][_0x4f36a2(0xa0)][_0x4f36a2(0xca)](_0x599075),_0x1e0de7=this[_0x4f36a2(0xee)][_0x4f36a2(0xf4)]({'revision':_0x1442d3,'from':_0x5f202f,'to':_0x5e9fb7});_0x1e0de7[_0x4f36a2(0xcf)]=_0x1e0de7[_0x4f36a2(0xd2)][_0x4f36a2(0xb1)](_0x5eb58d=>_0x5f5265[_0x4f36a2(0xb4)](_0x5eb58d)),_0x1442d3[_0x4f36a2(0xce)](_0x1e0de7);}[_0x5955da(0xcd)](_0x3905fc){const _0x215031=_0x5955da,_0x485365={};_0x485365['id']=_0x3905fc['id'];for(const _0x329a4e of Object[_0x215031(0xac)](_0x3905fc))'id'!==_0x329a4e&&(_0x485365[_0x329a4e]=void 0x0);this[_0x215031(0xee)][_0x215031(0x96)](_0x485365['id'],_0x485365,!0x0);}async[_0x5955da(0x89)](_0x3a9fd3){const _0x54577e=_0x5955da,_0x28022d=this[_0x54577e(0x8b)][_0x54577e(0xa0)][_0x54577e(0xca)](_0x599075),{connection:_0x5f1a7e}=this[_0x54577e(0x8b)][_0x54577e(0xa0)][_0x54577e(0xca)](_0x2d839b),_0x57d1ef=new Set();for(const _0x4358c4 of _0x3a9fd3){for(const _0x3b53cc of _0x4358c4[_0x54577e(0xd2)])_0x4a3379(_0x3b53cc);_0x4358c4[_0x54577e(0xe9)]&&_0x4a3379(_0x4358c4[_0x54577e(0xe9)]);}if(0x0===_0x57d1ef[_0x54577e(0xc4)])return;const _0x54fef6=await _0x31ab95[_0x54577e(0xd1)](_0x5f1a7e,Array[_0x54577e(0xbd)](_0x57d1ef));for(const _0x3d53d7 of _0x54fef6)_0x28022d[_0x54577e(0xb4)](_0x3d53d7['id'])||_0x28022d[_0x54577e(0xf0)](_0x3d53d7);function _0x4a3379(_0x1b0b54){const _0x85af08=_0x54577e;_0x28022d[_0x85af08(0xb4)](_0x1b0b54)||_0x57d1ef[_0x85af08(0x9d)](_0x1b0b54);}}}function _0x32c2(){const _0x6c0832=['change:_isConnected','_offset','sendBufferedUpdates','setSource','fromVersion','state','init','from','revisionsUpdated','startsWith','code','2234859UrRZIu','_createCurrentRevision','destroy','size','136jWkLPv','_lastRequestId','pluginName','reconnect','bind','get','then','message','_preventResendingRevisionData','_update','authors','RevisionHistoryService','getMany','authorsIds','connected','3033653Eajyme','1012278MbfQof','cloudServices.bundleVersion','_revisionDataBuilder','adapter','182307qfKJvF','400','currentRevision','60KIOQGx','repository','isConnected','listenTo','affectsData','CloudServicesRevisionHistoryAdapter','type','4VYKFLf','isPremiumPlugin','connection','_handleReconnectionError','_revisions','max','creatorId','setRevisionData','isOfficialPlugin','_getLatestVersion','toVersion','_revisionTracker','serverHistory','addUser','848604QyzbSu','_handleRevisionsUpdate','isEnabled','buildRevisionData','addToReconnectionStack','has','config','_revisionHistoryService','635770ADPily','addRevisionData','reInit','updateRevisions','_fetchMissingUsers','_startingVersion','editor','_oldOffset','_waitForServiceReady','getRevision','data','createdAt','marker','connect','off','sessionId','cloud-services-internal-error:\x20Not\x20connected.','_bufferUpdate','reverse','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','length','463518usLXlS','getRevisions','isBundleUploaded','add','12JdgkxP','diffData','plugins','getOperations','once','wrongRequestId','_fixRevision','RevisionTracker','_isPendingUpdate','catch','isEmptyCurrent','CONNECTED','collaboration.channelId','_bufferedUpdates','keys','change:_isPendingUpdate','_getLatestVersionFromServerOperations','cloud-services-internal-error:\x20Request\x20timeout.','remove','map','requires','baseVersion','getUser','_isConnected'];_0x32c2=function(){return _0x6c0832;};return _0x32c2();}u[_0x5955da(0xd0)]=_0xacd7f4;export default u;function U(_0x2dcf56){const _0x3a5416=_0x5955da;return _0x2dcf56[_0x3a5416(0xcc)][_0x3a5416(0xbf)](_0x3a5416(0x98))||_0x2dcf56[_0x3a5416(0xcc)][_0x3a5416(0xbf)](_0x3a5416(0x95))||_0x2dcf56[_0x3a5416(0xcc)][_0x3a5416(0xbf)](_0x3a5416(0xaf));}
|
|
23
|
+
const _0x3c2b44=_0x4ffc;(function(_0xe16fc5,_0x1c0e0d){const _0x37316b=_0x4ffc,_0x1123fb=_0xe16fc5();while(!![]){try{const _0x16be38=-parseInt(_0x37316b(0x1f0))/0x1*(-parseInt(_0x37316b(0x1e5))/0x2)+-parseInt(_0x37316b(0x1c9))/0x3*(parseInt(_0x37316b(0x1be))/0x4)+-parseInt(_0x37316b(0x216))/0x5*(-parseInt(_0x37316b(0x1fd))/0x6)+parseInt(_0x37316b(0x1f9))/0x7*(-parseInt(_0x37316b(0x1bd))/0x8)+-parseInt(_0x37316b(0x1f7))/0x9*(-parseInt(_0x37316b(0x1e6))/0xa)+-parseInt(_0x37316b(0x1cd))/0xb*(-parseInt(_0x37316b(0x223))/0xc)+-parseInt(_0x37316b(0x1cc))/0xd;if(_0x16be38===_0x1c0e0d)break;else _0x1123fb['push'](_0x1123fb['shift']());}catch(_0x14028c){_0x1123fb['push'](_0x1123fb['shift']());}}}(_0x4c09,0x2e071));import{Plugin as _0x3c9c36}from'ckeditor5/src/core.js';import{version as _0x2fab3a}from'ckeditor5/src/utils.js';import{Users as _0x4c6591}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x344952 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x364385 from'../realtimecollaborativeediting/websocketgateway.js';import _0x22da3d from'../realtimecollaborativeediting/sessions.js';function _0x4ffc(_0x49f57a,_0x590715){const _0x4c094e=_0x4c09();return _0x4ffc=function(_0x4ffc31,_0x5c8a9c){_0x4ffc31=_0x4ffc31-0x1b5;let _0x1d6936=_0x4c094e[_0x4ffc31];return _0x1d6936;},_0x4ffc(_0x49f57a,_0x590715);}function _0x4c09(){const _0x2e48d0=['883950aErWtM','wrongRequestId','currentRevision','5544539BFQicw','149743icNCHV','_preventResendingRevisionData','getRevisions','config','keys','remove','init','getUser','connected','sendBufferedUpdates','_getLatestVersionFromServerOperations','_revisionTracker','CONNECTED','_fetchMissingUsers','diffData','max','creatorId','connection','isConnected','editor','authorsIds','state','pluginName','_createCurrentRevision','22alSsQw','2568620VVstsg','_oldOffset','once','_isConnected','baseVersion','length','getOperations','_offset','repository','message','33043fVMhsk','reverse','plugins','_bufferedUpdates','type','updateRevisions','_waitForServiceReady','9VLstaO','_handleReconnectionError','598402TQtUIm','isEmptyCurrent','RevisionHistoryService','toVersion','541830wVwdvs','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','map','getMany','get','add','_revisionHistoryService','affectsData','cloud-services-internal-error:\x20Not\x20connected.','reconnect','_lastRequestId','addUser','bind','isBundleUploaded','size','authors','_fixRevision','fromVersion','startsWith','change:_isPendingUpdate','adapter','has','_bufferUpdate','addToReconnectionStack','CloudServicesRevisionHistoryAdapter','20mQOjaR','_update','isPremiumPlugin','then','setRevisionData','collaboration.channelId','catch','_handleRevisionsUpdate','revisionsUpdated','400','isEnabled','sessionId','RevisionTracker','12rJNZVg','isOfficialPlugin','_revisions','_startingVersion','_revisionDataBuilder','setSource','_getLatestVersion','marker','cloudServices.bundleVersion','createdAt','addRevisionData','buildRevisionData','getRevision','connect','data','cloud-services-internal-error:\x20Request\x20timeout.','8bKDoyL','4soFEEH','serverHistory','_isPendingUpdate','from','listenTo','off','destroy','code','change:_isConnected','requires','reInit'];_0x4c09=function(){return _0x2e48d0;};return _0x4c09();}import{EditorService as _0x1c41a4,RevisionHistoryService as _0x52907,User as _0x166a5e,WEB_SOCKET_GATEWAY_STATES as _0x375dfe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x3c9c36{static get[_0x3c2b44(0x1c7)](){const _0x20c46e=_0x3c2b44;return[_0x364385,_0x344952,_0x20c46e(0x222),_0x22da3d,_0x4c6591];}static get[_0x3c2b44(0x1e3)](){const _0x39ffa2=_0x3c2b44;return _0x39ffa2(0x215);}static get[_0x3c2b44(0x224)](){return!0x0;}static get[_0x3c2b44(0x218)](){return!0x0;}constructor(_0x1baaba){const _0x3ba01b=_0x3c2b44;super(_0x1baaba);const _0x3082d7=this[_0x3ba01b(0x1e0)][_0x3ba01b(0x1d0)][_0x3ba01b(0x201)](_0x3ba01b(0x21b));this[_0x3ba01b(0x207)]=null,this[_0x3ba01b(0x1d8)]=this[_0x3ba01b(0x1e0)][_0x3ba01b(0x1f2)][_0x3ba01b(0x201)](_0x3ba01b(0x222)),this[_0x3ba01b(0x203)]=new u[(_0x3ba01b(0x1fb))](_0x3082d7);}async[_0x3c2b44(0x1d3)](){const _0x5b10ab=_0x3c2b44,_0x3b2c97=this[_0x5b10ab(0x1e0)][_0x5b10ab(0x1f2)][_0x5b10ab(0x201)](_0x344952),_0x21fefc=_0x3b2c97[_0x5b10ab(0x1bf)],_0x496910=this[_0x5b10ab(0x1e0)][_0x5b10ab(0x1f2)][_0x5b10ab(0x201)](_0x364385);this[_0x5b10ab(0x1d8)][_0x5b10ab(0x228)]({'history':_0x21fefc,'getLatestVersion':()=>this[_0x5b10ab(0x229)](),'getCurrentRevisionId':()=>_0x3b2c97[_0x5b10ab(0x221)]});const _0x27eeec=this[_0x5b10ab(0x1e0)][_0x5b10ab(0x1d0)][_0x5b10ab(0x201)](_0x5b10ab(0x1b5))||_0x2fab3a,_0x30fbdd=await _0x1c41a4[_0x5b10ab(0x20a)](_0x496910[_0x5b10ab(0x1de)],_0x27eeec);this[_0x5b10ab(0x1d8)][_0x5b10ab(0x211)]={'getRevision':async({revisionId:_0x3e50ce})=>(await this[_0x5b10ab(0x1f6)](),await this[_0x5b10ab(0x203)][_0x5b10ab(0x1b9)](_0x3e50ce)),'updateRevisions':async _0x12a7bc=>{const _0x1627dd=_0x5b10ab;await this[_0x1627dd(0x1f6)]();const _0x1ec9f6=this[_0x1627dd(0x1d8)][_0x1627dd(0x1cb)];if(_0x30fbdd&&0x1===_0x12a7bc[_0x1627dd(0x1eb)]&&_0x12a7bc[0x0]['id']===_0x1ec9f6['id'])return _0x12a7bc;for(const _0x1cda11 of _0x12a7bc)_0x1cda11['id']===_0x1ec9f6['id']&&(_0x1cda11[_0x1627dd(0x1fa)]=_0x1cda11[_0x1627dd(0x20e)]===_0x1cda11[_0x1627dd(0x1fc)]);return this[_0x1627dd(0x203)][_0x1627dd(0x1f5)](_0x12a7bc,this[_0x1627dd(0x207)])[_0x1627dd(0x219)](_0x54245e=>(this[_0x1627dd(0x207)]=_0x54245e,_0x12a7bc))[_0x1627dd(0x21c)](_0x3da33a=>{const _0x402773=_0x1627dd;if(st(_0x3da33a)||_0x402773(0x21f)===_0x3da33a[_0x402773(0x1c5)]&&void 0x0!==_0x3da33a[_0x402773(0x1bb)][_0x402773(0x1ca)]){for(const _0x16d4e0 of _0x12a7bc){!this[_0x402773(0x1d8)][_0x402773(0x1ee)][_0x402773(0x1b9)](_0x16d4e0['id'])||this[_0x402773(0x1d8)][_0x402773(0x213)](_0x16d4e0['id'],_0x16d4e0,!0x1);}if(st(_0x3da33a))throw _0x3da33a;return _0x12a7bc;}throw _0x3da33a;});}},this[_0x5b10ab(0x1c2)](this[_0x5b10ab(0x203)],_0x5b10ab(0x21e),(_0x1bc9d1,{revisionsData:_0x881ffb,requestId:_0x15d592})=>{const _0xf47eff=_0x5b10ab;Math[_0xf47eff(0x1dc)](..._0x881ffb[_0xf47eff(0x1ff)](_0x24fd76=>_0x24fd76[_0xf47eff(0x1fc)]))>this[_0xf47eff(0x1d7)]()-0x1?this[_0xf47eff(0x229)]()[_0xf47eff(0x219)](()=>{const _0x4c469c=_0xf47eff;this[_0x4c469c(0x21d)](_0x881ffb,_0x15d592);}):this[_0xf47eff(0x21d)](_0x881ffb,_0x15d592);});const {revisions:_0x72b6a1,requestId:_0x144d6d}=await this[_0x5b10ab(0x203)][_0x5b10ab(0x1ba)](_0x496910[_0x5b10ab(0x1de)]);_0x496910[_0x5b10ab(0x214)](this),this[_0x5b10ab(0x207)]=_0x144d6d,await this[_0x5b10ab(0x1da)](_0x72b6a1);for(const _0x476a8a of _0x72b6a1)this[_0x5b10ab(0x1d8)][_0x5b10ab(0x1b7)](_0x476a8a);this[_0x5b10ab(0x1c2)](_0x3b2c97,_0x5b10ab(0x1c6),(_0x148e1e,_0x196bcb,_0x254142)=>{const _0x5c078e=_0x5b10ab;_0x254142&&(this[_0x5c078e(0x1e7)]=_0x3b2c97[_0x5c078e(0x1ed)],_0x148e1e[_0x5c078e(0x1c3)]());}),this[_0x5b10ab(0x1d8)][_0x5b10ab(0x209)](_0x5b10ab(0x220))['to'](_0x496910,_0x5b10ab(0x1e2),_0x5a7c4c=>_0x5a7c4c===_0x375dfe[_0x5b10ab(0x1d9)]);}async[_0x3c2b44(0x206)](){const _0x2eabe2=_0x3c2b44,_0x332a18=this[_0x2eabe2(0x1e0)][_0x2eabe2(0x1f2)][_0x2eabe2(0x201)](_0x364385),_0x20f962=this[_0x2eabe2(0x1e0)][_0x2eabe2(0x1f2)][_0x2eabe2(0x201)](_0x344952),_0x4a1089=async()=>{const _0x26907d=_0x2eabe2,_0x2364e7=this[_0x26907d(0x1d8)][_0x26907d(0x1cb)],_0x45ebe2=_0x2364e7['id'],_0x4816ee=_0x45ebe2!==_0x20f962[_0x26907d(0x221)];if(_0x4816ee){const _0x543076=_0x20f962[_0x26907d(0x1ed)]-this[_0x26907d(0x1e7)],_0x2f32f5=this[_0x26907d(0x1d7)]();this[_0x26907d(0x1d8)][_0x26907d(0x227)][_0x26907d(0x1c8)]();if(_0x2364e7[_0x26907d(0x1fc)]+_0x543076!==_0x2f32f5){const _0x469b7e=_0x2364e7[_0x26907d(0x20e)]+_0x543076,_0x46f366=this[_0x26907d(0x1e0)][_0x26907d(0x1f2)][_0x26907d(0x201)](_0x4c6591),_0x29365a=this[_0x26907d(0x1d8)][_0x26907d(0x1b8)]({'revision':_0x2364e7,'from':_0x469b7e,'to':_0x2f32f5});_0x29365a['id']=_0x2364e7['id'];const _0x493e14=_0x29365a[_0x26907d(0x1e1)][_0x26907d(0x1ff)](_0x156323=>_0x46f366[_0x26907d(0x1d4)](_0x156323));_0x2364e7[_0x26907d(0x217)]({..._0x29365a,'authors':_0x493e14},!0x0),this[_0x26907d(0x1d8)][_0x26907d(0x213)](_0x2364e7['id'],_0x29365a,!0x0);}this[_0x26907d(0x1d8)][_0x26907d(0x226)]=_0x2f32f5,(_0x2364e7[_0x26907d(0x1fc)]===_0x2364e7[_0x26907d(0x20e)]&&!this[_0x26907d(0x1d8)][_0x26907d(0x1f3)][_0x26907d(0x212)](_0x45ebe2)&&this[_0x26907d(0x1d8)][_0x26907d(0x1ee)][_0x26907d(0x225)][_0x26907d(0x1d2)](_0x45ebe2),this[_0x26907d(0x1d8)][_0x26907d(0x1e4)](_0x2f32f5));}const {revisions:_0x3ca89b,requestId:_0x3e784b}=await this[_0x26907d(0x203)][_0x26907d(0x206)](_0x332a18[_0x26907d(0x1de)],this[_0x26907d(0x207)]);_0x4816ee&&_0x3ca89b[_0x26907d(0x1eb)]>0x0?_0x20f962[_0x26907d(0x1f8)]():(await this[_0x26907d(0x1da)](_0x3ca89b),this[_0x26907d(0x21d)](_0x3ca89b,_0x3e784b),this[_0x26907d(0x1d8)][_0x26907d(0x1d6)]());};return _0x20f962[_0x2eabe2(0x1e9)]?_0x4a1089():new Promise((_0x3688cc,_0x442abb)=>{const _0x2a99e4=_0x2eabe2;_0x20f962[_0x2a99e4(0x1e8)](_0x2a99e4(0x1c6),()=>{const _0x3c97dc=_0x2a99e4;_0x4a1089()[_0x3c97dc(0x219)](_0x3688cc)[_0x3c97dc(0x21c)](_0x442abb);});});}[_0x3c2b44(0x1c4)](){const _0x2f5b22=_0x3c2b44;super[_0x2f5b22(0x1c4)]();}async[_0x3c2b44(0x1f6)](){const _0x275d92=_0x3c2b44;this[_0x275d92(0x203)][_0x275d92(0x1df)]||await new Promise(_0x370a80=>{const _0x292b0f=_0x275d92;this[_0x292b0f(0x1c2)](this[_0x292b0f(0x203)],_0x292b0f(0x1d5),_0x1e778=>{const _0x2c58ac=_0x292b0f;_0x1e778[_0x2c58ac(0x1c3)](),_0x370a80();});});}[_0x3c2b44(0x1d7)](){const _0x580a12=_0x3c2b44,_0x56541a=this[_0x580a12(0x1e0)][_0x580a12(0x1f2)][_0x580a12(0x201)](_0x344952)[_0x580a12(0x1bf)][_0x580a12(0x1ec)]()[_0x580a12(0x1f1)]();for(const _0x5da5c3 of _0x56541a)if(_0x580a12(0x22a)!==_0x5da5c3[_0x580a12(0x1f4)]||_0x5da5c3[_0x580a12(0x204)])return _0x5da5c3[_0x580a12(0x1ea)]+0x1;}[_0x3c2b44(0x229)](){const _0x35541a=_0x3c2b44,_0x24c619=this[_0x35541a(0x1e0)][_0x35541a(0x1f2)][_0x35541a(0x201)](_0x344952);return new Promise(_0xecdfad=>{const _0x465465=_0x35541a;_0x24c619[_0x465465(0x1c0)]?_0x24c619[_0x465465(0x1e8)](_0x465465(0x210),()=>{const _0x4c4df7=_0x465465;_0xecdfad(this[_0x4c4df7(0x1d7)]());}):_0xecdfad(this[_0x465465(0x1d7)]());});}[_0x3c2b44(0x21d)](_0x12dc92,_0x38c2ec){const _0x2004a0=_0x3c2b44,_0x746415=this[_0x2004a0(0x1d8)][_0x2004a0(0x1ee)];this[_0x2004a0(0x207)]=_0x38c2ec;for(const _0x32d272 of _0x12dc92){const _0x33b999=_0x746415[_0x2004a0(0x1b9)](_0x32d272['id']);if(_0x33b999){if((_0x32d272[_0x2004a0(0x20e)]||_0x32d272[_0x2004a0(0x1fc)])&&(_0x32d272[_0x2004a0(0x1db)]=null),_0x33b999===this[_0x2004a0(0x1d8)][_0x2004a0(0x1cb)]){const _0x31527e=Math[_0x2004a0(0x1dc)](_0x33b999[_0x2004a0(0x1fc)],_0x32d272[_0x2004a0(0x1fc)]),_0x46d415=Math[_0x2004a0(0x1dc)](_0x33b999[_0x2004a0(0x20e)],_0x32d272[_0x2004a0(0x20e)]);let _0x4ff0bb;_0x33b999[_0x2004a0(0x1fc)]===_0x32d272[_0x2004a0(0x1fc)]&&_0x33b999[_0x2004a0(0x20e)]===_0x32d272[_0x2004a0(0x20e)]?(_0x4ff0bb=!0x0,this[_0x2004a0(0x1ce)](_0x32d272)):_0x32d272[_0x2004a0(0x1fc)]===_0x31527e&&_0x32d272[_0x2004a0(0x20e)]===_0x46d415?_0x4ff0bb=!0x1:(_0x33b999[_0x2004a0(0x1fc)]===_0x31527e&&_0x33b999[_0x2004a0(0x20e)]===_0x46d415||this[_0x2004a0(0x20d)]({'revision':_0x33b999,'from':_0x46d415,'to':_0x31527e}),_0x4ff0bb=!0x0),_0x4ff0bb&&(delete _0x32d272[_0x2004a0(0x20e)],delete _0x32d272[_0x2004a0(0x1fc)],delete _0x32d272[_0x2004a0(0x1db)],delete _0x32d272[_0x2004a0(0x1b6)],delete _0x32d272[_0x2004a0(0x1e1)]);}this[_0x2004a0(0x1d8)][_0x2004a0(0x21a)](_0x32d272),this[_0x2004a0(0x1ce)](_0x32d272);}else this[_0x2004a0(0x1d8)][_0x2004a0(0x1b7)](_0x32d272);}const _0x7c0c45=_0x746415[_0x2004a0(0x1cf)]();_0x7c0c45[_0x2004a0(0x1f1)]();for(let _0x1dd0eb=0x0;_0x1dd0eb<_0x7c0c45[_0x2004a0(0x1eb)]-0x1;_0x1dd0eb++){const _0x1349a2=_0x7c0c45[_0x1dd0eb],_0x534bf2=_0x7c0c45[_0x1dd0eb+0x1];if(_0x1349a2[_0x2004a0(0x20e)]<_0x534bf2[_0x2004a0(0x1fc)]){const _0x513f46=_0x534bf2[_0x2004a0(0x1fc)],_0x17fc83=Math[_0x2004a0(0x1dc)](_0x513f46,_0x1349a2[_0x2004a0(0x1fc)]);this[_0x2004a0(0x20d)]({'revision':_0x1349a2,'from':_0x513f46,'to':_0x17fc83});}}}[_0x3c2b44(0x20d)]({revision:_0x5e4118,from:_0x5ebce9,to:_0x2faab1}={}){const _0xdf2efc=_0x3c2b44,_0x351334=this[_0xdf2efc(0x1e0)][_0xdf2efc(0x1f2)][_0xdf2efc(0x201)](_0x4c6591),_0x3b15bc=this[_0xdf2efc(0x1d8)][_0xdf2efc(0x1b8)]({'revision':_0x5e4118,'from':_0x5ebce9,'to':_0x2faab1});_0x3b15bc[_0xdf2efc(0x20c)]=_0x3b15bc[_0xdf2efc(0x1e1)][_0xdf2efc(0x1ff)](_0x1e7c68=>_0x351334[_0xdf2efc(0x1d4)](_0x1e7c68)),_0x5e4118[_0xdf2efc(0x217)](_0x3b15bc);}[_0x3c2b44(0x1ce)](_0x5c7f96){const _0x4f9ad5=_0x3c2b44,_0x3764ac={};_0x3764ac['id']=_0x5c7f96['id'];for(const _0x189ab5 of Object[_0x4f9ad5(0x1d1)](_0x5c7f96))'id'!==_0x189ab5&&(_0x3764ac[_0x189ab5]=void 0x0);this[_0x4f9ad5(0x1d8)][_0x4f9ad5(0x213)](_0x3764ac['id'],_0x3764ac,!0x0);}async[_0x3c2b44(0x1da)](_0x4c4bb4){const _0x5dc029=_0x3c2b44,_0x50bd51=this[_0x5dc029(0x1e0)][_0x5dc029(0x1f2)][_0x5dc029(0x201)](_0x4c6591),{connection:_0x41cb3f}=this[_0x5dc029(0x1e0)][_0x5dc029(0x1f2)][_0x5dc029(0x201)](_0x364385),_0x36f9df=new Set();for(const _0x23aaab of _0x4c4bb4){for(const _0x245363 of _0x23aaab[_0x5dc029(0x1e1)])_0x3cad60(_0x245363);_0x23aaab[_0x5dc029(0x1dd)]&&_0x3cad60(_0x23aaab[_0x5dc029(0x1dd)]);}if(0x0===_0x36f9df[_0x5dc029(0x20b)])return;const _0x2edfd1=await _0x166a5e[_0x5dc029(0x200)](_0x41cb3f,Array[_0x5dc029(0x1c1)](_0x36f9df));for(const _0x27213d of _0x2edfd1)_0x50bd51[_0x5dc029(0x1d4)](_0x27213d['id'])||_0x50bd51[_0x5dc029(0x208)](_0x27213d);function _0x3cad60(_0x48ffe9){const _0x1974f5=_0x5dc029;_0x50bd51[_0x1974f5(0x1d4)](_0x48ffe9)||_0x36f9df[_0x1974f5(0x202)](_0x48ffe9);}}}u[_0x3c2b44(0x1fb)]=_0x52907;export default u;function st(_0x58a78c){const _0x30fba0=_0x3c2b44;return _0x58a78c[_0x30fba0(0x1ef)][_0x30fba0(0x20f)](_0x30fba0(0x1fe))||_0x58a78c[_0x30fba0(0x1ef)][_0x30fba0(0x20f)](_0x30fba0(0x205))||_0x58a78c[_0x30fba0(0x1ef)][_0x30fba0(0x20f)](_0x30fba0(0x1bc));}
|