@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231009.0 → 0.0.0-nightly-20231011.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +6 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55da=['loadRevisionData','getCustomProperty','isAtStart','_changeView','mapper','attributesAfter','split','_activeViewTarget','change:activeChange','ck-suggestion-preview-marker-','highest','POSITIVE_INFINITY','isAfter','startIndex','removeMarker:revision','offsetSize','_getDiff','diff','insert','getRevision','set','getWalker','createUIElement','showPreviousChange','change','revision-suggestion','compare','_makeTape','markersStart','destroy','bindElementToMarker','object','observeMarkers','viewItem','previousPosition','getDomRoot','revision-end','showNextChange','right','getRoot','start','toViewElement','selection','forceDisabled','adapter','useFillerType','attribute:vid','_makeModelFromViewString','indexOf','removeMarker:revision-suggestion','wrap','shift','low','WidgetToolbarRepository','addMarker:revision','target','-new','ck-revision-history-root-','_appendChild','flat','userId','revision-suggestion:','rootName','nextSibling','change:isEnabled','isBlock','isRemoveSuggestion','_refreshStartEndIndex','consume','currentChangeNumber','backward','isAtEnd','pairId','_processTape','_cleanMarkers','isEqual','isRemoved','bind','isLimit','sort','downcastDispatcher','nodeAfter','_initInteractions','_setChanges','_getViewObj','isNavigationMode','revisionHistoryAttachChange','side','abs','changes','ck-suggestion-marker-','_joinTapes','addRoot','pluginName','elementEnd','change:isReady','hasClass','listenTo','_makeModelFromTape','suggestion:','_getChangeFromId','isBefore','toViewPosition','code','addRevisionData','isOnRoot','insertion','changeId','oldRevisionId','vid_start','addHighlight','endIndex','attributes','markerNameToElements','_threeWayMerge','view','_balloon','text','_setConversion','filter','getClientRects','enqueueChange','bottom','toModel','schema','end','_markInsertions','upcast','removeMarker','isObject','item','removeClass','createRevision','unbindElementFromMarkerName','has','diffData','config','revision:','conversion','findIndex','change:activeView','addMarker:revision-suggestion:deletion','commands','activeView','name','next','_markMismatchedRemovedTags','test','range','element','getAttributes','plugins','remove','string','span','keys','markerRange','from','modelRange','_removeMissingPairs','isInline','_setDistance','vid_end','activeChange','addMarker:revision-suggestion:insertion','comment','_update','children','isAttached','model','revisionHistoryLabel','splice','editor','delete','elementToAttribute','reconvertMarker','forward','_revisions','ck-suggestion-marker--active','RevisionViewer','editingDowncast','return','restoreRevisionCallback','revision-viewer','createRange','getItems','first','type','deletions','isAdded','_changeIdToChange','markerToData','isReady','processor','error','unshift','enableReadOnlyMode','element:pre','createAttributeElement','startsWith','data-revision-','revisionHistory','includes','hasAttribute','getAttribute','getIndex','markerName','toData','nextPosition','consumable','add','_step','isAddSuggestion','mapViewToDom','updatePosition','change:numberOfChanges','ck-revision-history-root-remove','elementStart','markerToHighlight','_findChangeIdFromDomTarget','forEach','distance','document','marked','get','dataDowncast','find','showStack','editing','init','level','markersEnd','vid','getRootNames','slice','locale','values','map','attachChange','writer','dataToMarker','maxOffset','data-change-id','_markMarkers','_sortAndFilterDiffChanges','_markSuggestions','_removeRevisionMarkers','ck-suggestion-marker-merge','ck-revision-history-root--active','isContent','resolve','affectsData','repository','domEvent','isEnabled','mouseover','_getViewForChange','createPositionBefore','requires','parent','pop','revision-comment:','ck-suggestion-marker-split','_getRevisionsRange','high','createPositionFromPath','concat','_data','isIncorrect','addClass','refresh','isCollapsed','push','softBreak','then','ck-revision-history-root-add','index','_cleanUp','for','data','revision','setAttribute','numberOfChanges','suggestion','toViewRange','execute','markers','merge','deletion','done','uiElement','isSuggestion','length'];(function(_0x330e14,_0x55da35){const _0x154145=function(_0x14c755){while(--_0x14c755){_0x330e14['push'](_0x330e14['shift']());}};_0x154145(++_0x55da35);}(_0x55da,0x71));const _0x1541=function(_0x330e14,_0x55da35){_0x330e14=_0x330e14-0x0;let _0x154145=_0x55da[_0x330e14];return _0x154145;};import{Plugin as _0xc50a9,Command as _0x2b67f2}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x142e83}from'ckeditor5/src/utils';import{ContextualBalloon as _0x586a0f}from'ckeditor5/src/ui';import{DocumentFragment as _0x4390f7,Element as _0x24838a,Text as _0x4109a4,ViewDocumentFragment as _0x50f55e,ViewText as _0x21a021,ViewElement as _0x3bf22,ViewContainerElement as _0x144727,ViewAttributeElement as _0x5147e8,ViewEmptyElement as _0x12029b,ViewRawElement as _0x1778ab,ViewUIElement as _0x3c5547}from'ckeditor5/src/engine';import{Users as _0x5c6c21,getMarkerDomElement as _0x10b913}from'ckeditor5-collaboration/src/collaboration-core';import _0x4e0c7a from'./ui/revisionviewer/changedetailsview';import _0x245276 from'./revisionsrepository';import _0x90d829 from'./changeitem';import{default as _0x328195}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0x1fa925}from'lodash-es';const tt={'c':_0x144727,'a':_0x5147e8,'e':_0x12029b,'r':_0x1778ab,'u':_0x3c5547};export default class d extends _0xc50a9{static get[_0x1541('0x111')](){return _0x1541('0x42');}static get[_0x1541('0x91')](){return[_0x5c6c21,_0x586a0f,_0x245276];}constructor(_0x2d2fec){super(_0x2d2fec),this[_0x1541('0x8b')]=this[_0x1541('0x3b')]['plugins'][_0x1541('0x6f')]('RevisionsRepository'),this[_0x1541('0xc8')](_0x1541('0x32'),null),this[_0x1541('0xc8')](_0x1541('0x1e'),null),this[_0x1541('0xbb')]=null,this[_0x1541('0xc8')](_0x1541('0xc5'),null),this['set']('isReady',!0x1),this[_0x1541('0xc8')](_0x1541('0x8d'),!0x0),this['on'](_0x1541('0xf4'),(_0x5cbe39,_0x30e000,_0x102837)=>{this[_0x1541('0x32')]=null,this['activeView']=null,this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x2')]['change'](_0x168e63=>{for(const _0xb5690f of this[_0x1541('0x3b')]['editing'][_0x1541('0x2')][_0x1541('0x6d')]['roots'])_0x102837?_0x168e63[_0x1541('0x12')]('ck-editor__editable__overlay',_0xb5690f):_0x168e63['addClass']('ck-editor__editable__overlay',_0xb5690f);});}),this[_0x1541('0x101')](_0x1541('0x109'))['to'](this,_0x1541('0x32'),_0x35bb24=>null!==_0x35bb24),this['bind'](_0x1541('0xf9'))['to'](this,_0x1541('0x4f'),this,'diff',this,_0x1541('0x32'),(_0x35d166,_0x3e101c,_0x30aa2b)=>_0x35d166&&_0x30aa2b?_0x3e101c[_0x1541('0x10d')]['getIndex'](_0x30aa2b):0x0),this[_0x1541('0x101')](_0x1541('0xa9'))['to'](this,_0x1541('0x4f'),this,_0x1541('0xc5'),(_0x44cc0e,_0x4a7566)=>_0x44cc0e?_0x4a7566[_0x1541('0x10d')][_0x1541('0xb3')]:0x0),this[_0x1541('0xb7')]=null,this[_0x1541('0x4d')]=new Map(),this[_0x1541('0xe0')]=null,this[_0x1541('0x3')]=this['editor'][_0x1541('0x26')]['get'](_0x586a0f);}[_0x1541('0x74')](){const _0x21ad04=this[_0x1541('0x3b')],_0x47629a=new ShowChangeCommand(_0x21ad04,{'direction':_0x1541('0xfa')}),_0x2806d6=new ShowChangeCommand(_0x21ad04,{'direction':_0x1541('0x3f')});(_0x21ad04['commands']['add'](_0x1541('0xcb'),_0x47629a),_0x21ad04[_0x1541('0x1d')][_0x1541('0x61')](_0x1541('0xd9'),_0x2806d6),_0x21ad04['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x21ad04)),this['on'](_0x1541('0x66'),()=>{_0x47629a[_0x1541('0x9d')](),_0x2806d6[_0x1541('0x9d')]();}),this[_0x1541('0x5')](),this['_initInteractions'](),_0x21ad04[_0x1541('0x53')](_0x1541('0x46')),_0x21ad04[_0x1541('0x26')][_0x1541('0x15')](_0x1541('0xe9')))&&_0x21ad04[_0x1541('0x26')][_0x1541('0x6f')]('WidgetToolbarRepository')[_0x1541('0xdf')](_0x1541('0x46'));}async['getRevisionData'](_0x394885){await this[_0x1541('0xb4')](_0x394885);const _0x5dc72b={};for(const _0x5d0ef9 in _0x394885[_0x1541('0x16')]){if(_0x394885['diffData'][_0x5d0ef9][_0x1541('0x7d')]&&!_0x394885[_0x1541('0x16')][_0x5d0ef9]['attachChange']['isAttached'])continue;const _0x38f671=this[_0x1541('0x85')](JSON['parse'](_0x394885[_0x1541('0x16')][_0x5d0ef9]['insertions'])),_0x52c754=this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x2')]['document'],_0x8ea774=new _0x50f55e(_0x52c754,_0x38f671[_0x1541('0x7c')](_0x8fe96a=>this[_0x1541('0x108')](_0x8fe96a)));this[_0x1541('0x3b')][_0x1541('0xa6')][_0x1541('0x50')][_0x1541('0xe1')](_0x1541('0x6e')),_0x5dc72b[_0x5d0ef9]=this[_0x1541('0x3b')][_0x1541('0xa6')][_0x1541('0x50')][_0x1541('0x5e')](_0x8ea774),this[_0x1541('0x3b')][_0x1541('0xa6')][_0x1541('0x50')][_0x1541('0xe1')]('default');}return _0x5dc72b;}async['getRevisionRootsAttributes'](_0x23f10f){await this[_0x1541('0xb4')](_0x23f10f);const _0x4c5939={};for(const _0x125a81 in _0x23f10f[_0x1541('0x16')])_0x23f10f[_0x1541('0x16')][_0x125a81][_0x1541('0x7d')]&&!_0x23f10f[_0x1541('0x16')][_0x125a81]['attachChange']['isAttached']||(_0x4c5939[_0x125a81]=_0x23f10f[_0x1541('0x16')][_0x125a81][_0x1541('0xb9')]||{});return _0x4c5939;}[_0x1541('0x85')](_0xccda6d){return(_0xccda6d=_0xccda6d[_0x1541('0x6')](_0x448a4e=>!_0x448a4e['name']||'revision-start'!==_0x448a4e[_0x1541('0x1f')]&&_0x1541('0xd8')!==_0x448a4e['name']))[_0x1541('0x6b')](_0x1fd9ef=>{'string'!=typeof _0x1fd9ef&&(_0x1fd9ef[_0x1541('0x36')]=this[_0x1541('0x85')](_0x1fd9ef['children']),_0x1fd9ef[_0x1541('0x124')]=_0x1fd9ef[_0x1541('0x124')][_0x1541('0x6')](_0x36ca70=>!_0x36ca70[0x0][_0x1541('0x56')](_0x1541('0x57'))));}),_0xccda6d;}async[_0x1541('0xce')](_0x47d23b,_0x23771e,_0x2d1f1c=!0x1){if(!this[_0x1541('0x8d')])return;const _0x193405=this[_0x1541('0xc5')],_0x2c17c2=this[_0x1541('0x8b')],_0x4b3121=_0x1541('0x28')==typeof _0x47d23b?_0x2c17c2[_0x1541('0xc7')](_0x47d23b):_0x47d23b,_0x2de21b=_0x1541('0x28')==typeof _0x23771e?_0x2c17c2[_0x1541('0xc7')](_0x23771e):_0x23771e,_0x3dcf68=_0x4b3121['id'],_0x5c63ba=_0x2de21b?_0x2de21b['id']:null;if(!_0x2d1f1c&&this['diff']&&this[_0x1541('0xc5')]['newRevisionId']===_0x3dcf68&&this[_0x1541('0xc5')][_0x1541('0x120')]===_0x5c63ba)return Promise[_0x1541('0x89')]();this[_0x1541('0x4f')]=!0x1,this[_0x1541('0x1e')]=null,this[_0x1541('0x32')]=null,this[_0x1541('0xc5')]=new _0x328195(_0x3dcf68,_0x5c63ba);const _0x3c7317=this[_0x1541('0x96')](_0x4b3121,_0x2de21b,!0x0)[_0x1541('0x7c')](_0x10217f=>this[_0x1541('0xb4')](_0x10217f));return _0x3c7317[_0x1541('0x9f')](new Promise(_0x4ecb10=>{setTimeout(_0x4ecb10,0x14);})),Promise['all'](_0x3c7317)['then'](()=>{if(!this[_0x1541('0x8d')])return;this[_0x1541('0xa4')]();const _0x5452ce=this[_0x1541('0xc4')](_0x3dcf68,_0x5c63ba);for(const _0x2b4fae of _0x5452ce[_0x1541('0x10d')])this[_0x1541('0x4d')][_0x1541('0xc8')](_0x2b4fae['id'],_0x2b4fae);this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0x8')]({'isUndoable':!0x1},_0x4aa5ce=>{for(const _0xc7544b of this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0x6d')][_0x1541('0x78')]())_0x4aa5ce['detachRoot'](_0xc7544b);for(const _0x2c97a1 of Object[_0x1541('0x2a')](_0x5452ce['model'])){const _0x516a5f=_0x4aa5ce[_0x1541('0x110')](_0x2c97a1);for(const _0x1bceec of Object[_0x1541('0x2a')](_0x5452ce[_0x1541('0x124')][_0x2c97a1]))_0x4aa5ce[_0x1541('0xa8')](_0x1bceec,_0x5452ce[_0x1541('0x124')][_0x2c97a1][_0x1bceec],_0x516a5f);_0x4aa5ce[_0x1541('0xc6')](_0x5452ce['model'][_0x2c97a1],_0x516a5f,0x0);}}),this[_0x1541('0xc5')][_0x1541('0x107')](this['_sortAndFilterDiffChanges'](_0x5452ce['changes'])),this['isReady']=!0x0;})['catch'](_0x5165c0=>{console[_0x1541('0x51')](_0x5165c0),this[_0x1541('0xa4')](),_0x193405&&(this[_0x1541('0xc5')]=_0x193405),this['isReady']=!0x0;});}[_0x1541('0x11c')](_0x445a81,_0x4dca22){const _0x5733da=this[_0x1541('0x8b')][_0x1541('0x13')](_0x445a81);return _0x5733da['on'](_0x1541('0x35'),(_0x5adfd6,_0x2640cd,_0x1a23be)=>_0x4dca22(_0x2640cd,_0x1a23be,_0x5733da)),this[_0x1541('0x8b')]['addRevision'](_0x5733da),_0x5733da;}[_0x1541('0xb4')](_0x2c5c1f){if(!_0x2c5c1f||_0x2c5c1f[_0x1541('0x16')])return Promise[_0x1541('0x89')]();{const _0x594159=this[_0x1541('0x3b')]['config'][_0x1541('0x6f')]('collaboration.channelId');return this[_0x1541('0xe0')]['getRevision']({'channelId':_0x594159,'revisionId':_0x2c5c1f['id']})[_0x1541('0xa1')](_0x5d429f=>{_0x2c5c1f[_0x1541('0x35')]({'diffData':_0x5d429f[_0x1541('0x16')]},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this[_0x1541('0xfe')](),this[_0x1541('0xb7')]&&this['_changeView'][_0x1541('0xd1')](),this[_0x1541('0xb7')]=null,this['_changeIdToChange']['clear'](),this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0x8')]({'isUndoable':!0x1},_0x311d8b=>{for(const _0xe37c18 of this['editor'][_0x1541('0x38')]['document'][_0x1541('0x78')]())_0x311d8b['detachRoot'](_0xe37c18);});}[_0x1541('0x83')](_0x1985be){const _0x178496=[],_0xe21987=new Map();for(const _0x348bd5 of this[_0x1541('0x3b')]['model'][_0x1541('0x6d')][_0x1541('0x78')]()){const _0x2e6058=this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x2')][_0x1541('0xd7')](_0x348bd5);if(!_0x2e6058)continue;const _0x4d1409=_0x2e6058[_0x1541('0x7')]()['item'](0x0);_0x4d1409&&(_0x178496[_0x1541('0x9f')](_0x348bd5),_0xe21987[_0x1541('0xc8')](_0x348bd5,_0x4d1409));}return _0x178496['sort']((_0xc72d9c,_0xb66cfb)=>{const _0x5c0ab3=_0xe21987[_0x1541('0x6f')](_0xc72d9c),_0xa9321c=_0xe21987['get'](_0xb66cfb);return _0x5c0ab3['y']-_0xa9321c['y']||_0x5c0ab3['x']-_0xa9321c['x'];}),(_0x1985be=_0x1985be[_0x1541('0x6')](_0x1b41aa=>_0x178496[_0x1541('0x59')](_0x1b41aa[_0x1541('0xf2')])))[_0x1541('0x103')]((_0x116391,_0x2a587f)=>_0x178496[_0x1541('0xe4')](_0x116391[_0x1541('0xf2')])-_0x178496[_0x1541('0xe4')](_0x2a587f[_0x1541('0xf2')])),_0x1985be;}['_makeTape'](_0x5170bb){const _0x5d96a0=Array[_0x1541('0x2c')](_0x5170bb[_0x1541('0xad')])[_0x1541('0x6')](([_0x57831f,_0x2781ae])=>_0x57831f[_0x1541('0x56')](_0x1541('0x18'))&&!_0x2781ae[_0x1541('0x9e')]),_0x5c2fc4=Array[_0x1541('0x2c')](this[_0x1541('0x3b')][_0x1541('0x38')]['createRangeIn'](_0x5170bb)[_0x1541('0xc9')]({'singleCharacters':!0x0}));if(0x0!=_0x5d96a0['length'])for(const _0x223f76 of _0x5c2fc4){const [_0x311945,_0x2131d4]=_0x5d96a0[0x0],[,_0x8693f6,_0x177df7]=_0x311945[_0x1541('0xba')](':');if(_0x2131d4[_0x1541('0xc')]['isEqual'](_0x223f76[_0x1541('0x5f')])&&_0x5d96a0[_0x1541('0xe7')](),(_0x223f76[_0x1541('0xd6')]['isEqual'](_0x2131d4[_0x1541('0xdc')])||_0x223f76['previousPosition'][_0x1541('0xc0')](_0x2131d4[_0x1541('0xdc')]))&&(_0x1541('0x11e')==_0x8693f6?_0x223f76[_0x1541('0x4c')]={'userId':_0x177df7}:'deletion'==_0x8693f6&&(_0x223f76[_0x1541('0x100')]={'userId':_0x177df7})),0x0==_0x5d96a0[_0x1541('0xb3')])break;}return _0x5c2fc4;}[_0x1541('0xf7')](_0x246434){const _0x55ebb7=new Map();for(let _0x1317da=0x0;_0x1317da<_0x246434[_0x1541('0xb3')];_0x1317da++)_0x1541('0x4')===_0x246434[_0x1317da]['type']?(_0x246434[_0x1317da][_0x1541('0x11')][_0x1541('0xc1')]=_0x1317da,_0x246434[_0x1317da][_0x1541('0x11')][_0x1541('0x123')]=_0x1317da):(_0x1541('0x68')===_0x246434[_0x1317da]['type']?_0x246434[_0x1317da]['item']['startIndex']=_0x1317da:_0x1541('0x112')===_0x246434[_0x1317da][_0x1541('0x4a')]&&(_0x246434[_0x1317da]['item'][_0x1541('0x123')]=_0x1317da),_0x55ebb7['set'](_0x246434[_0x1317da]['id'],_0x1317da));for(const _0x479e3b of _0x55ebb7[_0x1541('0x7b')]())'elementStart'===_0x246434[_0x479e3b][_0x1541('0x4a')]?_0x246434[_0x479e3b][_0x1541('0x11')]['endIndex']=_0x55ebb7[_0x1541('0x6f')](_0x246434[_0x479e3b][_0x1541('0xfc')]):_0x1541('0x112')===_0x246434[_0x479e3b][_0x1541('0x4a')]&&(_0x246434[_0x479e3b][_0x1541('0x11')]['startIndex']=_0x55ebb7[_0x1541('0x6f')](_0x246434[_0x479e3b][_0x1541('0xfc')]));}[_0x1541('0xfd')](_0x5a8560){for(let _0x389475=0x0;_0x389475<_0x5a8560[_0x1541('0xb3')];_0x389475++){if(_0x1541('0x68')===_0x5a8560[_0x389475]['type'])_0x5a8560[_0x389475][_0x1541('0x11')]['startIndex']=_0x389475;else{if(_0x1541('0x112')===_0x5a8560[_0x389475]['type']){_0x5a8560[_0x389475][_0x1541('0x11')][_0x1541('0x123')]=_0x389475;const _0x1b38f5=_0x5a8560[_0x389475][_0x1541('0x11')][_0x1541('0xc1')];_0x5a8560[_0x1b38f5]['pairId']=_0x5a8560[_0x389475]['id'],_0x5a8560[_0x389475][_0x1541('0xfc')]=_0x5a8560[_0x1b38f5]['id'];}else _0x5a8560[_0x389475][_0x1541('0x11')][_0x1541('0xc1')]=_0x389475,_0x5a8560[_0x389475][_0x1541('0x11')][_0x1541('0x123')]=_0x389475,_0x5a8560[_0x389475][_0x1541('0xfc')]=null;}_0x5a8560[_0x389475]['markersStart']||(_0x5a8560[_0x389475]['markersStart']=[],_0x5a8560[_0x389475][_0x1541('0x76')]=[]);}}[_0x1541('0xd')](_0x3ee86a,_0x3e89cb){const _0x2d9892=_0x3ee86a[_0x1541('0x6')](_0x461851=>!_0x461851[_0x1541('0x4c')]);for(let _0x465509=0x0;_0x465509<_0x3e89cb[_0x1541('0xb3')];_0x465509++)_0x3e89cb[_0x465509][_0x1541('0x4c')]&&(_0x2d9892[_0x465509][_0x1541('0x4c')]=_0x3e89cb[_0x465509][_0x1541('0x4c')]);}[_0x1541('0xe3')](_0x27e8c9){const _0x4a97f9=JSON['parse'](_0x27e8c9),_0x518c9d=this[_0x1541('0x3b')][_0x1541('0x73')]['view']['document'],_0x20ff63=new _0x50f55e(_0x518c9d,_0x4a97f9[_0x1541('0x7c')](_0x4ea949=>this[_0x1541('0x108')](_0x4ea949)));return this[_0x1541('0x3b')][_0x1541('0xa6')][_0x1541('0xa')](_0x20ff63);}[_0x1541('0x108')](_0x303092){const _0x7e0b0e=this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x2')][_0x1541('0x6d')];if(_0x1541('0x28')==typeof _0x303092)return new _0x21a021(_0x7e0b0e,_0x303092);{const _0x54c0f1=_0x303092[_0x1541('0x36')][_0x1541('0x7c')](_0x3d3208=>this['_getViewObj'](_0x3d3208));return new(tt[_0x303092[(_0x1541('0x4a'))]]||_0x3bf22)(_0x7e0b0e,_0x303092[_0x1541('0x1f')],_0x303092[_0x1541('0x124')],_0x54c0f1);}}['_getDiff'](_0x28526e,_0x543b9b=null){const _0x4a6b4e=this['repository'][_0x1541('0xc7')](_0x28526e),_0x5983f3=_0x543b9b?this[_0x1541('0x8b')][_0x1541('0xc7')](_0x543b9b):null,_0x25cfdf=this[_0x1541('0x96')](_0x4a6b4e,_0x5983f3),_0x6df84=_0x25cfdf[_0x25cfdf['length']-0x1],_0x5d5e26=new Map(),_0x5d6212={'model':{},'attributes':{},'changes':[]},_0x2b8781=new Set(),_0x19dbd7=new Map();for(let _0x2b7127=_0x25cfdf['length']-0x1;_0x2b7127>=0x0;_0x2b7127--){const _0x15109b=_0x25cfdf[_0x2b7127];for(const _0x4cbdd5 of Object['keys'](_0x15109b[_0x1541('0x16')]))if(_0x15109b['diffData'][_0x4cbdd5]['attachChange']){const _0x3f736a=_0x15109b[_0x1541('0x16')][_0x4cbdd5][_0x1541('0x7d')];_0x3f736a[_0x1541('0x37')]?(_0x2b8781[_0x1541('0x61')](_0x4cbdd5),_0x19dbd7['has'](_0x4cbdd5)&&_0x19dbd7[_0x1541('0x6f')](_0x4cbdd5)['userId']==_0x3f736a[_0x1541('0xf0')]?_0x19dbd7[_0x1541('0x3c')](_0x4cbdd5):_0x19dbd7['set'](_0x4cbdd5,_0x3f736a)):_0x19dbd7['has'](_0x4cbdd5)?(_0x2b8781[_0x1541('0x3c')](_0x4cbdd5),_0x19dbd7[_0x1541('0x3c')](_0x4cbdd5)):(_0x2b8781[_0x1541('0x61')](_0x4cbdd5),_0x19dbd7[_0x1541('0xc8')](_0x4cbdd5,_0x3f736a));}else _0x2b8781[_0x1541('0x61')](_0x4cbdd5);}for(const _0x1220db of _0x2b8781){const _0x5ac097=_0x19dbd7['has'](_0x1220db)&&!_0x19dbd7[_0x1541('0x6f')](_0x1220db)[_0x1541('0x37')];let _0x307335=_0x5ac097?_0x25cfdf['length']-0x1:0x0;const _0x58f364=_0x5ac097?-0x1:0x1;for(;_0x25cfdf[_0x307335];){const _0x9f8a97=_0x25cfdf[_0x307335];if(_0x9f8a97['diffData'][_0x1220db]){const _0x4b1557=_0x5ac097?_0x9f8a97[_0x1541('0x16')][_0x1220db]['attributesBefore']:_0x9f8a97['diffData'][_0x1220db][_0x1541('0xb9')];_0x5d6212[_0x1541('0x124')][_0x1220db]=_0x4b1557?_0x1fa925(_0x4b1557):{};break;}_0x307335+=_0x58f364;}}for(const _0x2e0e20 of _0x25cfdf){_0x2e0e20[_0x1541('0x38')]={};for(const _0x121832 of _0x2e0e20['authors'])_0x5d5e26[_0x1541('0xc8')](_0x121832['id'],_0x121832);for(const _0x54a4a0 of _0x2b8781){const _0x45463f=_0x2e0e20[_0x1541('0x16')][_0x54a4a0]?_0x2e0e20[_0x1541('0x16')][_0x54a4a0]['insertions']:'[]',_0x2622a7=_0x2e0e20[_0x1541('0x16')][_0x54a4a0]?_0x2e0e20[_0x1541('0x16')][_0x54a4a0]['deletions']:'[]';_0x2e0e20['model'][_0x54a4a0]={'insertions':this[_0x1541('0xe3')](_0x45463f),'deletions':this['_makeModelFromViewString'](_0x2622a7)};}}for(const _0x5f2f70 of _0x2b8781){let _0x4606f0=null,_0x26e920=0x0;const _0x5a58bd=new Map(Array['from'](_0x4a6b4e['model'][_0x5f2f70]['insertions'][_0x1541('0xad')])[_0x1541('0x6')](([_0x546fad])=>!_0x546fad[_0x1541('0x56')](_0x1541('0x18'))));let _0x278a6c=0x0;for(const _0x1292fe of _0x25cfdf){const _0x105904=this[_0x1541('0xcf')](_0x1292fe[_0x1541('0x38')][_0x5f2f70]['insertions']);_0x1292fe==_0x4a6b4e?(_0x4606f0=_0x105904,_0x26e920=_0x4606f0[_0x1541('0xb3')],_0x4606f0[_0x1541('0x6b')](_0x498dca=>{_0x498dca['id']=_0x278a6c++;}),this[_0x1541('0xfd')](_0x4606f0)):this['_markInsertions'](_0x4606f0,_0x105904);const _0xf3910a=_0x4606f0[_0x1541('0x6')](_0x16be59=>!_0x16be59[_0x1541('0x4c')])[_0x1541('0x7c')](_0x3d4e15=>_0x3d4e15['id']);let _0x4e0d59=0x0;const _0x5a3e3b=this['_makeTape'](_0x1292fe['model'][_0x5f2f70]['deletions']);_0x5a3e3b['forEach'](_0x1988fd=>{_0x1988fd[_0x1541('0x100')]?_0x1988fd['id']=_0x26e920++:_0x1988fd['id']=_0xf3910a[_0x4e0d59++];}),this['_processTape'](_0x5a3e3b),this['_setDistance'](_0x4606f0,_0x1541('0x4c')),this[_0x1541('0x30')](_0x5a3e3b,_0x1541('0x100')),_0x1292fe==_0x4a6b4e&&this[_0x1541('0x82')](_0x4606f0,_0x5a58bd),_0x4606f0=this[_0x1541('0x10f')](_0x4606f0,_0x5a3e3b),this[_0x1541('0xf7')](_0x4606f0),this[_0x1541('0x30')](_0x4606f0,_0x1541('0x100'));}_0x4606f0=_0x4606f0[_0x1541('0x6')](_0x4a564a=>!(_0x4a564a[_0x1541('0x4c')]&&_0x4a564a[_0x1541('0x100')]));const _0xdb3cea=new Map(_0x6df84[_0x1541('0x38')][_0x5f2f70][_0x1541('0x4b')][_0x1541('0xad')]),_0x142d0c=new Set(_0x5a58bd['keys']());for(const _0x53c28c of _0xdb3cea[_0x1541('0x2a')]())_0x142d0c['delete'](_0x53c28c);this[_0x1541('0x84')](_0x4606f0,_0x142d0c),this['_fixObsoleteTags'](_0x4606f0),_0x4606f0=this[_0x1541('0x2e')](_0x4606f0),_0x4606f0=this[_0x1541('0x21')](_0x4606f0),_0x4606f0=this['_removeUnsupportedChanges'](_0x4606f0);const {root:_0x90eb05,changes:_0x71b98f}=this[_0x1541('0x116')](_0x4606f0,_0x5d5e26,_0x5f2f70);_0x5d6212['model'][_0x5f2f70]=_0x90eb05;const _0x3e94ab=_0x19dbd7[_0x1541('0x6f')](_0x5f2f70);if(_0x3e94ab){const _0x3b073a=_0x5d5e26[_0x1541('0x6f')](_0x3e94ab['userId']),_0x165bdd=new _0x90d829({'author':_0x3b073a,'type':_0x3e94ab[_0x1541('0x37')]?_0x1541('0x61'):_0x1541('0x27'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5f2f70});_0x71b98f[_0x1541('0x52')](_0x165bdd),_0x5d6212[_0x1541('0x124')][_0x5f2f70][_0x1541('0x10a')]=_0x165bdd['id'];}_0x5d6212['changes']=_0x5d6212[_0x1541('0x10d')][_0x1541('0x99')](_0x71b98f);}return _0x5d6212;}['_markMarkers'](_0x4c7d02,_0x5a00c8){for(let _0x593fa8=0x0;_0x593fa8<_0x4c7d02[_0x1541('0xb3')];_0x593fa8++)for(const [_0x5a67d3,_0x5907ac]of _0x5a00c8)_0x5907ac[_0x1541('0xdc')]['isEqual'](_0x4c7d02[_0x593fa8][_0x1541('0xd6')])&&_0x4c7d02[_0x593fa8][_0x1541('0xd0')][_0x1541('0x9f')](_0x5a67d3),_0x5907ac['end'][_0x1541('0xff')](_0x4c7d02[_0x593fa8][_0x1541('0x5f')])&&_0x4c7d02[_0x593fa8][_0x1541('0x76')][_0x1541('0x9f')](_0x5a67d3);}[_0x1541('0x10f')](_0x13047c,_0x28fc2b){let _0x27ba92=[],_0x57c87e=0x0,_0x197cac=0x0;for(;_0x57c87e<_0x13047c['length']||_0x197cac<_0x28fc2b[_0x1541('0xb3')];){const _0x313e52=_0x13047c[_0x57c87e]||{},_0x117294=_0x28fc2b[_0x197cac]||{};if(_0x313e52['id']==_0x117294['id'])_0x57c87e++,_0x197cac++,_0x27ba92['push'](_0x313e52);else{if(_0x117294[_0x1541('0x100')]&&_0x313e52[_0x1541('0x4c')]){const {commonTape:_0x115112,iEnd:_0x1dfb16,jEnd:_0x584ed2}=this[_0x1541('0x1')](_0x13047c,_0x57c87e,_0x28fc2b,_0x197cac);_0x27ba92=_0x27ba92[_0x1541('0x99')](_0x115112),_0x57c87e=_0x1dfb16,_0x197cac=_0x584ed2;}else _0x117294['isRemoved']?(_0x197cac++,_0x27ba92['push'](_0x117294)):(_0x57c87e++,_0x27ba92[_0x1541('0x9f')](_0x313e52));}}return _0x27ba92;}[_0x1541('0x84')](_0x395a3c,_0x52af06){const _0x11cb7c=[];for(let _0x572a32=0x0;_0x572a32<_0x395a3c['length'];_0x572a32++){for(let _0x434f1b=0x0;_0x434f1b<_0x395a3c[_0x572a32]['markersStart']['length'];_0x434f1b++){const _0x1a3846=_0x395a3c[_0x572a32][_0x1541('0xd0')][_0x434f1b];if(!_0x52af06[_0x1541('0x15')](_0x1a3846))continue;const {group:_0x4ccb21,type:_0x14a467,authorId:_0x2e196c}=_0x4edc10(_0x1a3846);_0x1541('0xcd')!=_0x4ccb21||'insertion'!=_0x14a467&&'deletion'!=_0x14a467||(_0x11cb7c[_0x1541('0x52')]({'type':_0x14a467,'name':_0x1a3846,'userId':_0x2e196c}),_0x395a3c[_0x572a32][_0x1541('0xd0')][_0x1541('0x3a')](_0x434f1b,0x1),_0x434f1b--);}_0x3d869d(_0x395a3c[_0x572a32]);for(let _0xdda860=0x0;_0xdda860<_0x395a3c[_0x572a32][_0x1541('0x76')][_0x1541('0xb3')];_0xdda860++){const _0xdfddd3=_0x395a3c[_0x572a32][_0x1541('0x76')][_0xdda860];if(!_0x52af06[_0x1541('0x15')](_0xdfddd3))continue;const {group:_0x4f6233,type:_0x4b051a}=_0x4edc10(_0xdfddd3);if(_0x1541('0xcd')!=_0x4f6233||'insertion'!=_0x4b051a&&_0x1541('0xaf')!=_0x4b051a)continue;_0x395a3c[_0x572a32][_0x1541('0x76')][_0x1541('0x3a')](_0xdda860,0x1),_0xdda860--;const _0x136803=_0x11cb7c[_0x1541('0x1a')](_0xcb581d=>_0xcb581d[_0x1541('0x1f')]==_0xdfddd3);_0x136803>-0x1&&_0x11cb7c[_0x1541('0x3a')](_0x136803,0x1);}}function _0x4edc10(_0x337a5a){const _0x3ad80e=_0x337a5a[_0x1541('0xba')](':');return{'group':_0x3ad80e[0x0],'type':_0x3ad80e[0x1],'subType':_0x3ad80e[_0x1541('0xb3')]>=0x5?_0x3ad80e[0x2]:null,'id':_0x3ad80e['length']<0x5?_0x3ad80e[0x2]:_0x3ad80e[0x3],'authorId':_0x3ad80e['length']<0x5?_0x3ad80e[0x3]:_0x3ad80e[0x4],'markerCount':0x6==_0x3ad80e['length']?_0x3ad80e[0x5]:null};}function _0x3d869d(_0x3e8cf9){for(let _0x5369dc=0x0;_0x5369dc<_0x11cb7c[_0x1541('0xb3')];_0x5369dc++){if(_0x3e8cf9[_0x1541('0x4c')]&&_0x1541('0x11e')==_0x11cb7c[_0x5369dc][_0x1541('0x4a')])return _0x3e8cf9['isAddSuggestion']=_0x11cb7c[_0x5369dc],void delete _0x3e8cf9[_0x1541('0x4c')];if(!_0x3e8cf9['isAdded']&&!_0x3e8cf9[_0x1541('0x100')]&&_0x1541('0xaf')==_0x11cb7c[_0x5369dc][_0x1541('0x4a')])return void(_0x3e8cf9[_0x1541('0xf6')]=_0x11cb7c[_0x5369dc]);}}}['_setDistance'](_0x4492d6,_0x145b20){let _0x20287c=0x0,_0x257a51=!0x1;const _0x7a345c=new Map();for(const _0x19eb79 of _0x4492d6)_0x19eb79[_0x145b20]?_0x257a51&&(_0x20287c++,_0x257a51=!0x1):(_0x20287c++,_0x257a51=!0x0),_0x7a345c[_0x1541('0xc8')](_0x19eb79['id'],_0x20287c);for(let _0x4221b7=0x0;_0x4221b7<_0x4492d6['length'];_0x4221b7++){if(_0x1541('0x100')==_0x145b20&&_0x4492d6[_0x4221b7][_0x1541('0x4c')]||_0x1541('0x4c')==_0x145b20&&_0x4492d6[_0x4221b7]['isRemoved'])continue;if(_0x1541('0x4')==_0x4492d6[_0x4221b7]['type']){_0x4492d6[_0x4221b7][_0x1541('0x6c')]=0x0;continue;}const _0x4c83dd=_0x7a345c[_0x1541('0x6f')](_0x4492d6[_0x4221b7][_0x1541('0xfc')]),_0x4a549c=_0x7a345c[_0x1541('0x6f')](_0x4492d6[_0x4221b7]['id']);_0x4492d6[_0x4221b7][_0x1541('0x6c')]=_0x4c83dd-_0x4a549c;}}[_0x1541('0x96')](_0x2c46a9,_0x288aed,_0x4d0477=!0x1){const _0x525ee5=[];let _0x40573e=this[_0x1541('0x8b')][_0x1541('0x5c')](_0x2c46a9),_0x59ba30=this[_0x1541('0x8b')][_0x1541('0x5c')](_0x288aed);for(-0x1==_0x59ba30&&(_0x59ba30=this[_0x1541('0x8b')][_0x1541('0x40')][_0x1541('0xb3')],_0x4d0477=!0x1);_0x40573e<_0x59ba30;)_0x525ee5[_0x1541('0x9f')](this[_0x1541('0x8b')][_0x1541('0xc7')](_0x40573e)),_0x40573e++;return _0x4d0477&&_0x525ee5[_0x1541('0x9f')](this['repository'][_0x1541('0xc7')](_0x40573e)),_0x525ee5;}[_0x1541('0x1')](_0xebd0a,_0x497636,_0x451213,_0x558814){const _0x544bb7=this[_0x1541('0x3b')]['model']['schema'];let _0x233102=_0x497636;for(;_0xebd0a[_0x233102]&&_0xebd0a[_0x233102]['isAdded'];)_0x233102++;let _0x4c7128=_0x558814;for(;_0x451213[_0x4c7128]&&_0x451213[_0x4c7128]['isRemoved'];)_0x4c7128++;_0x33ac72(_0xebd0a,_0x497636,_0x233102),_0x33ac72(_0x451213,_0x558814,_0x4c7128);const _0x5b7ee8=_0x451213['slice'](_0x558814,_0x4c7128)['concat'](_0xebd0a[_0x1541('0x79')](_0x497636,_0x233102));return _0x5b7ee8[_0x1541('0x103')]((_0x51dd1f,_0x487118)=>_0x51dd1f[_0x1541('0x10b')]!=_0x487118['side']?_0x51dd1f['side']-_0x487118[_0x1541('0x10b')]:_0x51dd1f[_0x1541('0x75')]!=_0x487118[_0x1541('0x75')]?_0x51dd1f[_0x1541('0x75')]-_0x487118[_0x1541('0x75')]:_0x51dd1f['distance']!=_0x487118[_0x1541('0x6c')]?_0x487118[_0x1541('0x6c')]-_0x51dd1f[_0x1541('0x6c')]:!!_0x51dd1f[_0x1541('0x4c')]!=!!_0x487118['isAdded']?-0x1==_0x51dd1f[_0x1541('0x10b')]||0x0==_0x51dd1f[_0x1541('0x10b')]?_0x51dd1f[_0x1541('0x4c')]?-0x1:0x1:_0x51dd1f[_0x1541('0x4c')]?0x1:-0x1:_0x51dd1f[_0x1541('0xa3')]-_0x487118[_0x1541('0xa3')]),{'commonTape':_0x5b7ee8,'iEnd':_0x233102,'jEnd':_0x4c7128};function _0x33ac72(_0x361e1c,_0x2f95d3,_0x36cda1){let _0x59e9c6=-0x1,_0x52a943=Number[_0x1541('0xbf')],_0x1eb222=!0x0;for(let _0x8051f2=_0x2f95d3;_0x8051f2<_0x36cda1;_0x8051f2++)if(_0x544bb7[_0x1541('0x2f')](_0x361e1c[_0x8051f2][_0x1541('0x11')])||(_0x1eb222=!0x1),_0x361e1c[_0x8051f2][_0x1541('0x11')][_0x1541('0xc1')]<_0x2f95d3&&(_0x59e9c6=_0x8051f2),_0x361e1c[_0x8051f2]['item'][_0x1541('0x123')]>=_0x36cda1){_0x52a943=_0x8051f2;break;}_0x1eb222&&(_0x59e9c6=_0x36cda1-0x1);for(let _0x46a5ed=_0x2f95d3;_0x46a5ed<_0x36cda1;_0x46a5ed++)_0x361e1c[_0x46a5ed][_0x1541('0x10b')]=_0x46a5ed<=_0x59e9c6?-0x1:_0x46a5ed<_0x52a943?0x0:0x1,_0x361e1c[_0x46a5ed][_0x1541('0xa3')]=_0x46a5ed;let _0x12a5b8=0x0;for(let _0x89768d=_0x2f95d3;_0x89768d<=_0x59e9c6;_0x89768d++)0x0==_0x361e1c[_0x89768d]['distance']?_0x361e1c[_0x89768d][_0x1541('0x75')]=_0x12a5b8:(_0x12a5b8++,_0x361e1c[_0x89768d]['level']=_0x12a5b8,_0x12a5b8++);for(let _0x540793=_0x2f95d3;_0x540793<_0x36cda1;_0x540793++)0x0==_0x361e1c[_0x540793][_0x1541('0x10b')]&&(_0x361e1c[_0x540793][_0x1541('0x75')]=_0x12a5b8);_0x12a5b8=0x0;for(let _0x4ccb04=_0x36cda1-0x1;_0x4ccb04>=_0x52a943;_0x4ccb04--)0x0==_0x361e1c[_0x4ccb04][_0x1541('0x6c')]?_0x361e1c[_0x4ccb04][_0x1541('0x75')]=_0x12a5b8:(_0x12a5b8--,_0x361e1c[_0x4ccb04][_0x1541('0x75')]=_0x12a5b8,_0x12a5b8--);}}['_fixObsoleteTags'](_0x1076b5){const _0x1393a0=new Map(),_0x505021=this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0xb')];for(let _0x39c758=0x1;_0x39c758<_0x1076b5[_0x1541('0xb3')];_0x39c758++){let _0x3c632f,_0x3b0c65,_0x1d18a1;const _0x427be3=_0x1076b5[_0x39c758],_0x52038d=_0x1076b5[_0x39c758-0x1];if('text'==_0x427be3[_0x1541('0x4a')])continue;if(_0x427be3['type']!=_0x52038d[_0x1541('0x4a')])continue;if(!_0x505021[_0x1541('0xf5')](_0x52038d['item'])||_0x505021[_0x1541('0x102')](_0x52038d[_0x1541('0x11')]))continue;if(!_0x505021[_0x1541('0xf5')](_0x427be3[_0x1541('0x11')])||_0x505021[_0x1541('0x102')](_0x427be3[_0x1541('0x11')]))continue;if((_0x1076b5[_0x39c758][_0x1541('0x4c')]||_0x1076b5[_0x39c758][_0x1541('0x63')])&&_0x1076b5[_0x39c758-0x1]['isRemoved'])_0x3c632f=_0x1076b5[_0x39c758],_0x3b0c65=_0x1076b5[_0x39c758-0x1],_0x1d18a1=_0x39c758-0x1;else{if(!_0x1076b5[_0x39c758][_0x1541('0x100')]||!_0x1076b5[_0x39c758-0x1][_0x1541('0x4c')]&&!_0x1076b5[_0x39c758-0x1][_0x1541('0x63')])continue;_0x3c632f=_0x1076b5[_0x39c758-0x1],_0x3b0c65=_0x1076b5[_0x39c758],_0x1d18a1=_0x39c758;}const _0x574929=_0x3c632f[_0x1541('0x75')]==_0x3b0c65[_0x1541('0x75')],_0x52c008=Math['abs'](_0x3c632f[_0x1541('0x75')])<Math[_0x1541('0x10c')](_0x3b0c65[_0x1541('0x75')])&&0x0==_0x3b0c65['distance'];(_0x574929||_0x52c008)&&(_0x1393a0['set'](_0x3b0c65['id'],_0x3c632f['id']),_0x1076b5[_0x1541('0x3a')](_0x1d18a1,0x1),_0x39c758--,_0x3c632f[_0x1541('0x4c')]=!0x1);}for(let _0x181bfb=0x0;_0x181bfb<_0x1076b5[_0x1541('0xb3')];_0x181bfb++)_0x1393a0[_0x1541('0x15')](_0x1076b5[_0x181bfb][_0x1541('0xfc')])&&(_0x1076b5[_0x181bfb][_0x1541('0xfc')]=_0x1393a0['get'](_0x1076b5[_0x181bfb][_0x1541('0xfc')]));}[_0x1541('0x2e')](_0x502dd0){const _0x2f19fc=new Set(_0x502dd0[_0x1541('0x7c')](_0x22303e=>_0x22303e['id']));for(let _0x1b75b9=0x0;_0x1b75b9<_0x502dd0['length'];_0x1b75b9++)_0x2f19fc[_0x1541('0x15')](_0x502dd0[_0x1b75b9][_0x1541('0xfc')])||0x0==_0x502dd0[_0x1b75b9][_0x1541('0x6c')]||(_0x502dd0[_0x1b75b9][_0x1541('0x9b')]=!0x0);return _0x502dd0['filter'](_0x42b2c4=>!_0x42b2c4['isIncorrect']);}[_0x1541('0x21')](_0x509b53){const _0xec84dd=new Set();for(let _0x1a4112=0x0;_0x1a4112<_0x509b53[_0x1541('0xb3')];_0x1a4112++){if(_0xec84dd[_0x1541('0x15')](_0x509b53[_0x1a4112]['id'])&&_0x509b53[_0x1a4112][_0x1541('0x100')]&&(_0x509b53[_0x1a4112]['isIncorrect']=!0x0),_0x509b53[_0x1a4112][_0x1541('0x9b')])continue;if(0x0==_0x509b53[_0x1a4112]['distance'])continue;if(_0x1541('0x68')!=_0x509b53[_0x1a4112]['type'])continue;if(null==_0x509b53[_0x1a4112][_0x1541('0xfc')])continue;let _0x10c7fd=_0x1a4112+0x1,_0xad055=0x0;for(;_0x509b53[_0x10c7fd]['id']!=_0x509b53[_0x1a4112][_0x1541('0xfc')];)_0x1541('0x68')==_0x509b53[_0x10c7fd][_0x1541('0x4a')]?_0xad055++:_0x1541('0x112')==_0x509b53[_0x10c7fd][_0x1541('0x4a')]&&_0xad055--,_0x10c7fd++;if(0x0!=_0xad055){if(_0x509b53[_0x1a4112][_0x1541('0x100')])_0x509b53[_0x1a4112][_0x1541('0x9b')]=!0x0;else for(;_0x10c7fd!=_0x1a4112;)_0x509b53[_0x10c7fd][_0x1541('0x100')]&&0x0!=_0x509b53[_0x10c7fd]['distance']&&(_0x509b53[_0x10c7fd][_0x1541('0x9b')]=!0x0,_0xec84dd['add'](_0x509b53[_0x10c7fd]['pairId'])),_0x10c7fd--;}}return _0x509b53[_0x1541('0x6')](_0x5b4220=>!_0x5b4220['isIncorrect']);}['_removeUnsupportedChanges'](_0x4575aa){const _0x5c5def=this['editor'][_0x1541('0x38')]['schema'];for(let _0x108b31=0x0;_0x108b31<_0x4575aa[_0x1541('0xb3')];_0x108b31++){if(!(_0x4575aa[_0x108b31]['isAdded']||_0x4575aa[_0x108b31]['isAddSuggestion']||_0x4575aa[_0x108b31][_0x1541('0x100')]||_0x4575aa[_0x108b31]['isRemoveSuggestion']))continue;if(0x0==_0x4575aa[_0x108b31]['distance'])continue;const _0x9e7bfe=_0x4575aa[_0x108b31]['item'];_0x5c5def[_0x1541('0xf5')](_0x9e7bfe)||_0x5c5def[_0x1541('0x102')](_0x9e7bfe)||(_0x4575aa[_0x108b31][_0x1541('0x4c')]&&delete _0x4575aa[_0x108b31][_0x1541('0x4c')],_0x4575aa[_0x108b31][_0x1541('0x63')]&&delete _0x4575aa[_0x108b31]['isAddSuggestion'],_0x4575aa[_0x108b31][_0x1541('0xf6')]&&delete _0x4575aa[_0x108b31][_0x1541('0xf6')],_0x4575aa[_0x108b31][_0x1541('0x100')]&&(_0x4575aa[_0x108b31][_0x1541('0x9b')]=!0x0));}return _0x4575aa[_0x1541('0x6')](_0x4d48a5=>!_0x4d48a5['isIncorrect']);}[_0x1541('0x116')](_0x3c3f83,_0x503103,_0x5a30dd){const _0x3071ca=new _0x4390f7(),_0x234aca=[],_0x38363f=new Map(),_0x294a46=this[_0x1541('0x3b')]['model'],_0x3037bc=_0x294a46[_0x1541('0xb')],_0x6b217=[_0x3071ca],_0x22691f={},_0x355bc0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x23b5dc=null;const _0x99cf9d=[0x0];for(let _0x1a4459=0x0;_0x1a4459<_0x3c3f83[_0x1541('0xb3')];_0x1a4459++){let _0x22873b,_0x5d470f;if('elementStart'===_0x3c3f83[_0x1a4459][_0x1541('0x4a')]){_0x22873b=_0x294a46[_0x1541('0x98')](_0x3071ca,_0x99cf9d);const _0x231c79=new _0x24838a(_0x3c3f83[_0x1a4459][_0x1541('0x11')]['name'],_0x3c3f83[_0x1a4459]['item'][_0x1541('0x25')]());_0x6b217[0x0][_0x1541('0xee')](_0x231c79),_0x99cf9d['push'](0x0),_0x6b217[_0x1541('0x52')](_0x231c79),_0x5d470f=_0x294a46['createPositionFromPath'](_0x3071ca,_0x99cf9d),_0x23b5dc=null;}else{if(_0x1541('0x112')===_0x3c3f83[_0x1a4459][_0x1541('0x4a')])_0x6b217['shift'](),_0x22873b=_0x294a46['createPositionFromPath'](_0x3071ca,_0x99cf9d),_0x99cf9d[_0x1541('0x93')](),_0x99cf9d[_0x99cf9d[_0x1541('0xb3')]-0x1]++,_0x5d470f=_0x294a46[_0x1541('0x98')](_0x3071ca,_0x99cf9d),_0x23b5dc=null;else{if(_0x22873b=_0x294a46[_0x1541('0x98')](_0x3071ca,_0x99cf9d),_0x23b5dc&&_0x51ff52(_0x23b5dc,_0x3c3f83[_0x1a4459][_0x1541('0x11')]))_0x23b5dc[_0x1541('0x9a')]+=_0x3c3f83[_0x1a4459]['item'][_0x1541('0xa6')];else{const _0x434367=new _0x4109a4(_0x3c3f83[_0x1a4459][_0x1541('0x11')]['data'],_0x3c3f83[_0x1a4459][_0x1541('0x11')][_0x1541('0x25')]());_0x6b217[0x0]['_appendChild'](_0x434367),_0x23b5dc=_0x434367;}_0x99cf9d[_0x99cf9d[_0x1541('0xb3')]-0x1]+=_0x3c3f83[_0x1a4459][_0x1541('0x11')][_0x1541('0xc3')],_0x5d470f=_0x294a46[_0x1541('0x98')](_0x3071ca,_0x99cf9d);}}for(const _0x20f173 of _0x3c3f83[_0x1a4459][_0x1541('0xd0')])_0x38363f[_0x1541('0xc8')](_0x20f173,{'start':_0x22873b,'end':null});_0x31ae5f(_0x1541('0xf6'),_0x1a4459,_0x22873b,_0x5d470f),_0x31ae5f(_0x1541('0x63'),_0x1a4459,_0x22873b,_0x5d470f),_0x31ae5f(_0x1541('0x100'),_0x1a4459,_0x22873b,_0x5d470f),_0x31ae5f(_0x1541('0x4c'),_0x1a4459,_0x22873b,_0x5d470f);for(const _0x2d9ed5 of _0x3c3f83[_0x1a4459]['markersEnd']){_0x38363f[_0x1541('0x6f')](_0x2d9ed5)[_0x1541('0xc')]=_0x5d470f;}}for(const [_0x24b1dc,_0x2bbe1c]of _0x38363f){const _0x17968f=this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0x47')](_0x2bbe1c[_0x1541('0xdc')],_0x2bbe1c[_0x1541('0xc')]);_0x3071ca[_0x1541('0xad')][_0x1541('0xc8')](_0x24b1dc,_0x17968f);}return _0x234aca['sort']((_0x275b6a,_0x23f783)=>{const _0x14cac3=_0x3071ca['markers'][_0x1541('0x6f')](_0x1541('0x18')+_0x275b6a['id']),_0x3580c9=_0x3071ca[_0x1541('0xad')]['get'](_0x1541('0x18')+_0x23f783['id']);return _0x14cac3[_0x1541('0xdc')]['isBefore'](_0x3580c9[_0x1541('0xdc')])?-0x1:_0x14cac3[_0x1541('0xdc')]['isAfter'](_0x3580c9[_0x1541('0xdc')])?0x1:_0x14cac3[_0x1541('0xc')][_0x1541('0x119')](_0x3580c9[_0x1541('0xc')])?-0x1:_0x14cac3[_0x1541('0xc')][_0x1541('0xc0')](_0x3580c9[_0x1541('0xc')])?0x1:_0x1541('0x61')===_0x275b6a[_0x1541('0x4a')]?-0x1:0x1;}),{'root':_0x3071ca,'changes':_0x234aca};function _0x31ae5f(_0x477ba4,_0x40501e,_0x2b6b5a,_0x196921){const _0x429128=!!_0x3c3f83[_0x40501e][_0x477ba4],_0x19a2b1=_0x429128?_0x3c3f83[_0x40501e][_0x477ba4][_0x1541('0xf0')]:null,_0x3859f4=_0x40501e===_0x3c3f83[_0x1541('0xb3')]-0x1,_0x4f78f2=_0x355bc0[_0x477ba4][0x0],_0x140c85=_0x3037bc[_0x1541('0x10')](_0x3c3f83[_0x40501e]['item']);!_0x22691f[_0x477ba4]&&_0x429128?_0x22691f[_0x477ba4]={'start':_0x2b6b5a,'tapeItem':_0x3c3f83[_0x40501e],'userId':_0x19a2b1,'type':_0x477ba4}:_0x22691f[_0x477ba4]&&!_0x429128?(_0x22691f[_0x477ba4][_0x1541('0xc')]=_0x2b6b5a,_0x284f4a(_0x22691f[_0x477ba4]),_0x22691f[_0x477ba4]=null):_0x22691f[_0x477ba4]&&_0x429128&&_0x22691f[_0x477ba4][_0x1541('0xf0')]!==_0x19a2b1&&(_0x22691f[_0x477ba4][_0x1541('0xc')]=_0x2b6b5a,_0x4f78f2&&_0x4f78f2[_0x1541('0xf0')]===_0x22691f[_0x477ba4][_0x1541('0xf0')]||_0x284f4a(_0x22691f[_0x477ba4]),_0x22691f[_0x477ba4]={'start':_0x2b6b5a,'tapeItem':_0x3c3f83[_0x40501e],'userId':_0x19a2b1,'type':_0x477ba4}),_0x22691f[_0x477ba4]&&_0x140c85&&(_0x1541('0x68')!==_0x3c3f83[_0x40501e][_0x1541('0x4a')]||_0x4f78f2&&_0x4f78f2[_0x1541('0xf0')]===_0x19a2b1||_0x355bc0[_0x477ba4][_0x1541('0x52')]({'userId':_0x19a2b1,'object':_0x3c3f83[_0x40501e][_0x1541('0x11')],'change':_0x22691f[_0x477ba4]}),_0x1541('0x112')===_0x3c3f83[_0x40501e]['type']&&_0x4f78f2&&_0x4f78f2[_0x1541('0xd3')]===_0x3c3f83[_0x40501e][_0x1541('0x11')]&&(_0x355bc0[_0x477ba4][_0x1541('0xe7')](),_0x22691f[_0x477ba4]=_0x4f78f2['change'])),_0x22691f[_0x477ba4]&&_0x3859f4&&(_0x22691f[_0x477ba4][_0x1541('0xc')]=_0x196921,_0x284f4a(_0x22691f[_0x477ba4]),_0x22691f[_0x477ba4]=null);}function _0x284f4a({start:_0x19ec73,end:_0x3f6d8f,tapeItem:_0x4c0996,userId:_0x4c64e2,type:_0x23894d}){const _0xdee98d=_0x4c0996[_0x1541('0x11')],_0x188505=_0x294a46[_0x1541('0xb')][_0x1541('0xf5')](_0xdee98d)&&!_0x294a46[_0x1541('0xb')][_0x1541('0x102')](_0xdee98d),_0x6ae4dc=_0x19ec73['nodeAfter']==_0x3f6d8f[_0x1541('0x92')]&&_0x3f6d8f[_0x1541('0xb6')];if(_0x188505&&_0x6ae4dc)return;const _0x5656e8=_0x294a46[_0x1541('0x47')](_0x19ec73,_0x3f6d8f),_0x43bf03=_0x503103[_0x1541('0x6f')](_0x4c64e2),_0x22daff=new _0x90d829({'author':_0x43bf03,'type':_0x1541('0x4c')==_0x23894d||_0x1541('0x63')==_0x23894d?_0x1541('0x61'):_0x1541('0x27'),'data':{'isSuggestion':_0x1541('0x63')==_0x23894d||_0x1541('0xf6')==_0x23894d},'createdAt':new Date(),'rootName':_0x5a30dd});_0x234aca[_0x1541('0x9f')](_0x22daff),_0x3071ca[_0x1541('0xad')][_0x1541('0xc8')](_0x1541('0x18')+_0x22daff['id'],_0x5656e8);}function _0x51ff52(_0x1c88ca,_0x26f864){const _0x177288=_0x1c88ca[_0x1541('0x25')](),_0x5b5a4e=_0x26f864[_0x1541('0x25')]();for(const _0x166689 of _0x177288){if(_0x166689[0x1]!==_0x26f864[_0x1541('0x5b')](_0x166689[0x0]))return!0x1;_0x5b5a4e[_0x1541('0x20')]();}return _0x5b5a4e['next']()[_0x1541('0xb0')];}}[_0x1541('0x5')](){this[_0x1541('0x3b')]['conversion']['for'](_0x1541('0xe'))[_0x1541('0x7f')]({'view':_0x1541('0xa7')}),this['editor'][_0x1541('0x19')][_0x1541('0xa5')]('editingDowncast')['markerToHighlight']({'model':_0x1541('0xa7'),'view':_0x1a2b90=>{const _0x31d845=_0x1a2b90['markerName'][_0x1541('0xba')](':')[0x1],_0x5558a1=this[_0x1541('0x118')](_0x31d845);if(!_0x5558a1)return null;const _0x16a306=_0x1541('0x61')==_0x5558a1[_0x1541('0x4a')]?_0x1541('0x11e'):_0x1541('0xaf'),_0x5d816b=['ck-suggestion-marker','ck-suggestion-marker-'+_0x16a306];return _0x5558a1[_0x1541('0xa6')][_0x1541('0xb2')]&&_0x5d816b[_0x1541('0x9f')](_0x1541('0x10e')+_0x16a306+'-new'),this[_0x1541('0x32')]==_0x5558a1&&_0x5d816b['push'](_0x1541('0x41')),{'classes':_0x5d816b,'attributes':{'data-change-id':_0x31d845}};}}),this[_0x1541('0x3b')][_0x1541('0x19')][_0x1541('0xa5')](_0x1541('0xe'))['add'](_0x26c4d1=>{_0x26c4d1['on'](_0x1541('0x54'),(_0x298375,_0x13255a,_0x50fb0d)=>{const _0x139355=_0x13255a[_0x1541('0xd5')]['getChild'](0x0);if(!_0x139355||!_0x139355['is'](_0x1541('0x24'),_0x1541('0x11b')))return;if(!_0x50fb0d[_0x1541('0x60')][_0x1541('0xf8')](_0x139355,{'attributes':[_0x1541('0x121'),'vid_end']}))return;const _0x31c374=_0x13255a['modelRange'][_0x1541('0xdc')]['nodeAfter'];_0x50fb0d[_0x1541('0x7e')][_0x1541('0xa8')]('vid_start',_0x139355[_0x1541('0x5b')]('vid_start'),_0x31c374),_0x50fb0d[_0x1541('0x7e')][_0x1541('0xa8')]('vid_end',_0x139355[_0x1541('0x5b')](_0x1541('0x31')),_0x31c374);},{'priority':'low'});}),this[_0x1541('0x3b')][_0x1541('0x19')][_0x1541('0xa5')](_0x1541('0xe'))[_0x1541('0x61')](_0x2525be=>{_0x2525be['on'](_0x1541('0x24'),(_0x736b25,_0x1107bc,_0x2b4c31)=>{if(!_0x2b4c31['consumable']['consume'](_0x1107bc[_0x1541('0xd5')],{'attributes':[_0x1541('0x121'),'vid_end']}))return;if(_0x1107bc[_0x1541('0x2d')][_0x1541('0x9e')])return;const _0x55cc46=_0x1107bc['modelRange']['start'][_0x1541('0x105')];_0x55cc46['hasAttribute'](_0x1541('0x121'))||_0x55cc46[_0x1541('0x5a')](_0x1541('0x77'))||(_0x2b4c31[_0x1541('0x7e')][_0x1541('0xa8')](_0x1541('0x121'),_0x1107bc['viewItem']['getAttribute'](_0x1541('0x121')),_0x55cc46),_0x2b4c31[_0x1541('0x7e')][_0x1541('0xa8')](_0x1541('0x31'),_0x1107bc[_0x1541('0xd5')][_0x1541('0x5b')](_0x1541('0x31')),_0x55cc46));},{'priority':_0x1541('0xe8')});}),this[_0x1541('0x3b')][_0x1541('0x19')][_0x1541('0xa5')](_0x1541('0xe'))[_0x1541('0x3d')]({'view':{'name':_0x1541('0x29'),'attributes':{'vid':!0x0}},'model':{'key':_0x1541('0x77'),'value':_0x3e2805=>_0x3e2805[_0x1541('0x5b')](_0x1541('0x77'))}}),this[_0x1541('0x3b')][_0x1541('0x38')]['schema']['on']('checkAttribute',(_0x4609a5,[,_0x56f1b9])=>{[_0x1541('0x121'),_0x1541('0x31'),_0x1541('0x77')][_0x1541('0x59')](_0x56f1b9)&&(_0x4609a5[_0x1541('0x44')]=!0x0,_0x4609a5['stop']());},{'priority':_0x1541('0xbe')}),this[_0x1541('0x3b')][_0x1541('0x19')][_0x1541('0xa5')](_0x1541('0x70'))['add'](_0x556023=>{_0x556023['on'](_0x1541('0xe2'),(_0x314d79,_0x3d6947,_0x568a9e)=>{if('\x20'!=_0x3d6947['item'][_0x1541('0xa6')]||_0x3d6947[_0x1541('0x11')][_0x1541('0x92')][_0x1541('0x80')]>0x1)return;if(!_0x568a9e[_0x1541('0x60')]['consume'](_0x3d6947['item'],_0x314d79[_0x1541('0x1f')]))return;const _0x4f5709=_0x568a9e['writer'],_0x21a9d0=_0x568a9e[_0x1541('0xb8')][_0x1541('0xab')](_0x3d6947[_0x1541('0x23')]);_0x4f5709[_0x1541('0xe6')](_0x21a9d0,_0x4f5709[_0x1541('0x55')]('span'));});}),this[_0x1541('0x3b')][_0x1541('0x19')]['for'](_0x1541('0x70'))[_0x1541('0x4e')]({'model':'revision'}),this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x104')]['on'](_0x1541('0xea'),function(_0x2f4241){const _0x28403b=_0x2f4241['plugins'][_0x1541('0x6f')](_0x1541('0x42'));return(_0x42a09d,_0x2b497a,_0x42ca3f)=>{const _0x4098c8=_0x2b497a[_0x1541('0x5d')][_0x1541('0xba')](':')[0x1],_0x2ee003=_0x28403b[_0x1541('0x118')](_0x4098c8);if(!_0x2ee003)return null;const _0x34d68d=_0x1541('0x61')==_0x2ee003[_0x1541('0x4a')]?_0x1541('0xba'):_0x1541('0xae');if(!_0x42ca3f[_0x1541('0x60')]['test'](_0x2b497a['markerRange'],_0x42a09d[_0x1541('0x1f')]))return;const _0x4e8136=_0x2b497a[_0x1541('0x2b')][_0x1541('0xc9')](),_0x240fcd=_0x2b497a[_0x1541('0x2b')][_0x1541('0xdc')],_0x418487=_0x2f4241[_0x1541('0x38')]['schema'];let _0x4fc95f=null,_0x4578a4=null,_0x5b345=!0x1,_0x4a0245=!0x1;for(const _0x493082 of _0x4e8136){const _0xb60f2=_0x493082['item'];_0x5b345=_0x5b345||_0x418487[_0x1541('0x88')](_0xb60f2);const _0x5a34d1=_0x42ca3f[_0x1541('0xb8')][_0x1541('0xdd')](_0xb60f2);if(_0x5a34d1&&_0x5a34d1[_0x1541('0xb5')](_0x1541('0x122')))return;_0x1541('0x112')==_0x493082[_0x1541('0x4a')]&&(_0x418487[_0x1541('0xf5')](_0xb60f2)&&!_0x418487[_0x1541('0x102')](_0xb60f2)&&(_0xb60f2['nextSibling']||_0x240fcd[_0x1541('0xfb')]?_0x4fc95f&&_0x4fc95f[_0x1541('0x92')]==_0xb60f2||(_0x4fc95f=_0xb60f2,_0x3a89e0(_0x493082[_0x1541('0xd6')]),_0x4a0245=!0x0):_0x4578a4=_0x4578a4||_0x493082[_0x1541('0xd6')]));}function _0x3a89e0(_0x428918){const _0xb7514d=_0x42ca3f[_0x1541('0x7e')][_0x1541('0xca')]('span',{'class':_0x1541('0x10e')+_0x34d68d}),_0x53390f=_0x42ca3f[_0x1541('0xb8')][_0x1541('0x11a')](_0x428918);_0x2ee003[_0x1541('0xa6')][_0x1541('0xb2')]&&_0x42ca3f[_0x1541('0x7e')][_0x1541('0x9c')](_0x1541('0x10e')+_0x34d68d+_0x1541('0xec'),_0xb7514d),_0x28403b['activeChange']==_0x2ee003&&_0x42ca3f[_0x1541('0x7e')][_0x1541('0x9c')](_0x1541('0x41'),_0xb7514d),_0x42ca3f['writer'][_0x1541('0xc6')](_0x53390f,_0xb7514d),_0x42ca3f['mapper'][_0x1541('0xd2')](_0xb7514d,_0x2b497a[_0x1541('0x5d')]);}_0x5b345||_0x4a0245||!_0x4578a4||_0x3a89e0(_0x4578a4);};}(this['editor']),{'priority':_0x1541('0x97')}),this['editor'][_0x1541('0x73')][_0x1541('0x104')]['on'](_0x1541('0xc2'),(_0x29ee74,_0x36d205,_0x11f7c0)=>{const _0x28351d=_0x11f7c0[_0x1541('0xb8')][_0x1541('0x0')](_0x36d205[_0x1541('0x5d')]);if(_0x28351d)for(const _0x3c8cdc of _0x28351d)(_0x3c8cdc[_0x1541('0x114')](_0x1541('0x95'))||_0x3c8cdc['hasClass'](_0x1541('0x86')))&&(_0x11f7c0[_0x1541('0xb8')][_0x1541('0x14')](_0x3c8cdc,_0x36d205[_0x1541('0x5d')]),_0x11f7c0[_0x1541('0x7e')][_0x1541('0x27')](_0x3c8cdc));},{'priority':_0x1541('0x97')}),this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x104')]['on']('addMarker:revision',(_0xe26a9b,_0x3ac5d9,_0x8d2618)=>{const _0x426d4a=_0x3ac5d9['markerName'][_0x1541('0xba')](':')[0x1],_0x1c5dd5=this[_0x1541('0x118')](_0x426d4a);if(!_0x1c5dd5)return null;const _0x67b9ea=_0x1541('0x61')==_0x1c5dd5[_0x1541('0x4a')]?_0x1541('0xba'):'merge';if(_0x8d2618[_0x1541('0x60')]['test'](_0x3ac5d9[_0x1541('0x2b')],_0xe26a9b[_0x1541('0x1f')]))for(const _0x47ef9e of _0x3ac5d9[_0x1541('0x2b')][_0x1541('0x48')]()){if(!_0x47ef9e['is'](_0x1541('0x24'),_0x1541('0xa0')))continue;const _0x3c0a2b=_0x8d2618[_0x1541('0x7e')]['createUIElement'](_0x1541('0x29'),{'class':_0x1541('0x10e')+_0x67b9ea}),_0x405444=_0x8d2618[_0x1541('0xb8')][_0x1541('0x11a')](this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0x90')](_0x47ef9e));_0x1c5dd5['data'][_0x1541('0xb2')]&&_0x8d2618[_0x1541('0x7e')]['addClass']('ck-suggestion-marker-'+_0x67b9ea+_0x1541('0xec'),_0x3c0a2b),this[_0x1541('0x32')]==_0x1c5dd5&&_0x8d2618[_0x1541('0x7e')]['addClass']('ck-suggestion-marker--active',_0x3c0a2b),_0x8d2618[_0x1541('0x7e')]['insert'](_0x405444,_0x3c0a2b),_0x8d2618[_0x1541('0xb8')][_0x1541('0xd2')](_0x3c0a2b,_0x3ac5d9['markerName']);}},{'priority':_0x1541('0x97')}),this[_0x1541('0x3b')][_0x1541('0x38')]['document']['on']('change',()=>{this['editor'][_0x1541('0x73')][_0x1541('0x2')][_0x1541('0xcc')](_0x517937=>{for(const _0x23ac5c of this['editor'][_0x1541('0x38')][_0x1541('0x6d')][_0x1541('0x78')]()){const _0x5a4c66=this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0x6d')]['getRoot'](_0x23ac5c),_0x5a1f7c=this[_0x1541('0x3b')]['editing'][_0x1541('0x2')][_0x1541('0x6d')][_0x1541('0xdb')](_0x23ac5c);if(_0x5a1f7c){const _0x430048=_0x5a4c66[_0x1541('0x5b')](_0x1541('0x10a'));if(_0x517937['removeAttribute'](_0x1541('0x81'),_0x5a1f7c),_0x517937[_0x1541('0x12')](_0x1541('0xa2'),_0x5a1f7c),_0x517937[_0x1541('0x12')](_0x1541('0x67'),_0x5a1f7c),_0x517937[_0x1541('0x12')]('ck-revision-history-root--active',_0x5a1f7c),_0x430048){const _0x3089bf=this[_0x1541('0x118')](_0x430048);if(!_0x3089bf)return null;_0x517937[_0x1541('0xa8')](_0x1541('0x81'),_0x430048,_0x5a1f7c),_0x517937[_0x1541('0x9c')](_0x1541('0xed')+_0x3089bf[_0x1541('0x4a')],_0x5a1f7c),this[_0x1541('0x32')]==_0x3089bf&&_0x517937['addClass']('ck-revision-history-root--active',_0x5a1f7c);}}}});}),this[_0x1541('0x3b')]['conversion'][_0x1541('0xa5')](_0x1541('0xe'))['dataToMarker']({'view':_0x1541('0x34'),'model':_0x491c81=>_0x1541('0x94')+_0x491c81,'converterPriority':_0x1541('0xbe')}),this[_0x1541('0x3b')]['conversion']['for'](_0x1541('0xe'))['dataToMarker']({'view':_0x1541('0xaa'),'model':_0xea8a2d=>_0x1541('0xf1')+_0xea8a2d,'converterPriority':_0x1541('0xbe')}),this[_0x1541('0x3b')]['conversion'][_0x1541('0xa5')](_0x1541('0x70'))[_0x1541('0x4e')]({'model':_0x1541('0xcd'),'view':_0x2b9810=>({'name':_0x1541('0x117')+_0x2b9810,'group':'revision-suggestion'}),'converterPriority':'highest'}),this[_0x1541('0x3b')][_0x1541('0x19')][_0x1541('0xa5')](_0x1541('0x43'))[_0x1541('0x69')]({'model':_0x1541('0xcd'),'view':_0x150ab6=>{const _0x551991=_0x150ab6[_0x1541('0x5d')][_0x1541('0xba')](':')[0x1];return _0x1541('0x11e')!=_0x551991&&_0x1541('0xaf')!=_0x551991?null:{'classes':['ck-suggestion-preview-marker',_0x1541('0xbd')+_0x551991]};}}),this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x104')]['on'](_0x1541('0x1c'),et(this[_0x1541('0x3b')],'merge'),{'priority':_0x1541('0x97')}),this['editor'][_0x1541('0x73')]['downcastDispatcher']['on'](_0x1541('0x33'),et(this[_0x1541('0x3b')],_0x1541('0xba')),{'priority':_0x1541('0x97')}),this[_0x1541('0x3b')][_0x1541('0x73')][_0x1541('0x104')]['on'](_0x1541('0xe5'),(_0x3dbd88,_0x2acd58,_0x2d26fb)=>{const _0x1e90de=_0x2d26fb[_0x1541('0xb8')][_0x1541('0x0')](_0x2acd58[_0x1541('0x5d')]);if(_0x1e90de)for(const _0x4869ff of _0x1e90de)_0x4869ff['is'](_0x1541('0xb1'))&&(_0x2d26fb[_0x1541('0xb8')][_0x1541('0x14')](_0x4869ff,_0x2acd58[_0x1541('0x5d')]),_0x2d26fb[_0x1541('0x7e')][_0x1541('0x27')](_0x4869ff));},{'priority':_0x1541('0x97')});}[_0x1541('0x118')](_0x105e14){return this['_changeIdToChange'][_0x1541('0x6f')](_0x105e14);}[_0x1541('0x8f')](_0x27f49e){return this[_0x1541('0xb7')]&&this[_0x1541('0xb7')][_0x1541('0xd1')](),this[_0x1541('0xb7')]=new _0x4e0c7a(this[_0x1541('0x3b')][_0x1541('0x7a')],_0x27f49e),this[_0x1541('0xb7')];}[_0x1541('0x106')](){this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0x6d')][_0x1541('0xde')][_0x1541('0xd4')](_0x1541('0xa7')),this['on'](_0x1541('0x1b'),(_0x4e5a22,_0x3ce941,_0x7bfdc0,_0xb0d1b4)=>{_0xb0d1b4&&this[_0x1541('0x3')][_0x1541('0x27')](_0xb0d1b4),_0x7bfdc0&&(this[_0x1541('0x3')][_0x1541('0x61')]({'view':_0x7bfdc0,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x503e38=this[_0x1541('0x3b')][_0x1541('0x73')],_0x237717=this['_getChangeFromId'](_0x7bfdc0[_0x1541('0x11f')]);let _0x5463a5;if(_0x237717['data'][_0x1541('0x11d')]){const _0x12345d=_0x503e38[_0x1541('0x2')]['getDomRoot'](_0x237717[_0x1541('0xf2')]);_0x5463a5=Array[_0x1541('0x2c')](_0x12345d['getClientRects']());}else{const _0x225d51=this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0xad')][_0x1541('0x6f')](_0x1541('0x18')+_0x7bfdc0[_0x1541('0x11f')]);_0x5463a5=Array[_0x1541('0x2c')](_0x503e38[_0x1541('0xb8')][_0x1541('0x0')](_0x225d51[_0x1541('0x1f')]))[_0x1541('0x7c')](_0x175840=>_0x503e38[_0x1541('0x2')]['domConverter'][_0x1541('0x64')](_0x175840))['map'](_0x203040=>Array[_0x1541('0x2c')](_0x203040[_0x1541('0x7')]()))[_0x1541('0xef')]();}if(!this[_0x1541('0xbb')])return _0x5463a5[0x0];return _0x5463a5[_0x1541('0x71')](_0xb83fdd=>_0xb83fdd['top']-0x3<=this['_activeViewTarget']['y']&&_0xb83fdd[_0x1541('0x9')]+0x3>=this[_0x1541('0xbb')]['y']&&_0xb83fdd['left']-0x3<=this[_0x1541('0xbb')]['x']&&_0xb83fdd[_0x1541('0xda')]+0x3>=this[_0x1541('0xbb')]['x'])||_0x5463a5[0x0];}}}),this[_0x1541('0x3')][_0x1541('0x72')](_0x1541('0x39')));}),this['on'](_0x1541('0xbc'),(_0x72f325,_0x5d2b57,_0x3f105b,_0x5de37d)=>{this[_0x1541('0x1e')]=_0x3f105b?this[_0x1541('0x8f')](_0x3f105b):null,this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0xcc')](()=>{const _0x20d182=this[_0x1541('0x3b')][_0x1541('0x73')];_0x5de37d&&(_0x5de37d[_0x1541('0xa6')][_0x1541('0x11d')]?_0x20d182[_0x1541('0x2')][_0x1541('0xcc')](_0x1a53ba=>{_0x1a53ba[_0x1541('0x12')](_0x1541('0x87'),_0x20d182['view'][_0x1541('0x6d')]['getRoot'](_0x5de37d[_0x1541('0xf2')]));}):_0x20d182[_0x1541('0x3e')](_0x1541('0x18')+_0x5de37d['id'])),_0x3f105b&&(_0x3f105b[_0x1541('0xa6')][_0x1541('0x11d')]?_0x20d182[_0x1541('0x2')][_0x1541('0xcc')](_0x3c8660=>{_0x3c8660['addClass']('ck-revision-history-root--active',_0x20d182[_0x1541('0x2')]['document'][_0x1541('0xdb')](_0x3f105b[_0x1541('0xf2')]));}):_0x20d182[_0x1541('0x3e')](_0x1541('0x18')+_0x3f105b['id']));});}),this[_0x1541('0x115')](this[_0x1541('0x3b')]['editing'][_0x1541('0x2')]['document'],_0x1541('0x8e'),(_0x348d33,_0x2ecf73)=>{if(this[_0x1541('0x32')])return;const _0x4c29db=this[_0x1541('0x6a')](_0x2ecf73[_0x1541('0xeb')]),_0x162b99=this[_0x1541('0x4d')][_0x1541('0x6f')](_0x4c29db);_0x162b99?(this[_0x1541('0xbb')]={'x':_0x2ecf73['domEvent']['x'],'y':_0x2ecf73[_0x1541('0x8c')]['y']},this[_0x1541('0x1e')]=this['_getViewForChange'](_0x162b99)):(this[_0x1541('0xbb')]=null,this[_0x1541('0x1e')]=null);}),this[_0x1541('0x115')](this[_0x1541('0x3b')]['editing'][_0x1541('0x2')][_0x1541('0x6d')],'mousedown',(_0xdb7e49,_0x3a763e)=>{const _0x24a7c5=this[_0x1541('0x6a')](_0x3a763e[_0x1541('0xeb')]),_0x2f5034=this[_0x1541('0x4d')]['get'](_0x24a7c5);_0x2f5034?(this[_0x1541('0xbb')]={'x':_0x3a763e[_0x1541('0x8c')]['x'],'y':_0x3a763e[_0x1541('0x8c')]['y']},_0x2f5034===this['activeChange']?this['_balloon'][_0x1541('0x65')]():this[_0x1541('0x32')]=_0x2f5034):(this[_0x1541('0xbb')]=null,this[_0x1541('0x32')]=null);});}[_0x1541('0x6a')](_0x36b879){do{const _0xb03e6c=_0x36b879[_0x1541('0x5b')](_0x1541('0x81'));if(_0xb03e6c)return _0xb03e6c;_0x36b879=_0x36b879[_0x1541('0x92')];}while(_0x36b879);return null;}['_cleanMarkers'](){this[_0x1541('0x3b')][_0x1541('0x38')][_0x1541('0xcc')](_0x4be012=>{for(const _0x1438d5 of this[_0x1541('0x3b')]['model'][_0x1541('0xad')])_0x4be012[_0x1541('0xf')](_0x1438d5);});}}function et(_0x547893,_0x5e6f16){return(_0x1614f8,_0x4bcdb2,_0x2c47f0)=>{if(!_0x2c47f0[_0x1541('0x60')][_0x1541('0x22')](_0x4bcdb2['markerRange'],_0x1614f8['name']))return;const _0x406d1d=_0x4bcdb2['markerRange'][_0x1541('0xc9')](),_0x543fed=_0x4bcdb2['markerRange'][_0x1541('0xdc')],_0x69faea=_0x547893[_0x1541('0x38')][_0x1541('0xb')];let _0x1fac10=null,_0x195805=null,_0x327130=!0x1,_0x19e99d=!0x1;for(const _0x1ace5f of _0x406d1d){const _0x5082e0=_0x1ace5f[_0x1541('0x11')];_0x327130=_0x327130||_0x69faea[_0x1541('0x88')](_0x5082e0);const _0x1c284b=_0x2c47f0[_0x1541('0xb8')][_0x1541('0xdd')](_0x5082e0);if(_0x1c284b&&_0x1c284b[_0x1541('0xb5')](_0x1541('0x122')))return;_0x1541('0x112')==_0x1ace5f['type']&&(_0x69faea[_0x1541('0xf5')](_0x5082e0)&&!_0x69faea[_0x1541('0x102')](_0x5082e0)&&(_0x5082e0[_0x1541('0xf3')]||_0x543fed['isAtEnd']?_0x1fac10&&_0x1fac10[_0x1541('0x92')]==_0x5082e0||(_0x1fac10=_0x5082e0,_0x14f47e(_0x1ace5f[_0x1541('0xd6')]),_0x19e99d=!0x0):_0x195805=_0x195805||_0x1ace5f[_0x1541('0xd6')]));}function _0x14f47e(_0x55e41f){const _0x157e88=_0x2c47f0[_0x1541('0xb8')][_0x1541('0x11a')](_0x55e41f),_0xfd6e8e=_0x2c47f0[_0x1541('0x7e')][_0x1541('0xca')](_0x1541('0x29'),{'class':_0x1541('0xbd')+_0x5e6f16});_0x2c47f0['writer'][_0x1541('0xc6')](_0x157e88,_0xfd6e8e),_0x2c47f0['mapper'][_0x1541('0xd2')](_0xfd6e8e,_0x4bcdb2[_0x1541('0x5d')]);}_0x327130||_0x19e99d||!_0x195805||_0x14f47e(_0x195805);};}export class RestoreRevisionCommand extends _0x2b67f2{constructor(_0x4f73ff){super(_0x4f73ff);const _0x4647ad=_0x4f73ff[_0x1541('0x26')]['get'](d);this[_0x1541('0x8a')]=!0x1,this[_0x1541('0x115')](_0x4647ad,'change:isReady',()=>this['refresh']()),this[_0x1541('0x115')](_0x4647ad,_0x1541('0xf4'),()=>this[_0x1541('0x9d')]());}['execute'](){const _0x9472f2=this[_0x1541('0x3b')],_0xa6cfd6=_0x9472f2['plugins'][_0x1541('0x6f')](d),_0x26752a=_0xa6cfd6[_0x1541('0x4f')]?_0xa6cfd6[_0x1541('0xc5')]['newRevisionId']:null;_0x9472f2[_0x1541('0x17')][_0x1541('0x6f')](_0x1541('0x58'))[_0x1541('0x45')](_0x26752a);}[_0x1541('0x9d')](){const {isReady:_0x52c8b6,isEnabled:_0x143cfd}=this[_0x1541('0x3b')][_0x1541('0x26')][_0x1541('0x6f')](d);this[_0x1541('0x8d')]=_0x52c8b6&&_0x143cfd;}}export class ShowChangeCommand extends _0x2b67f2{constructor(_0x2a17bb,{direction:_0x52e5ba}){super(_0x2a17bb);const _0x43e5d7=_0x2a17bb[_0x1541('0x26')][_0x1541('0x6f')](d);this[_0x1541('0x8a')]=!0x1,this['_step']=_0x1541('0x3f')===_0x52e5ba?0x1:-0x1,this[_0x1541('0x115')](_0x43e5d7,_0x1541('0x113'),()=>this[_0x1541('0x9d')]()),this[_0x1541('0x115')](_0x43e5d7,_0x1541('0xf4'),()=>this[_0x1541('0x9d')]()),this['listenTo'](_0x43e5d7,'change:activeChange',()=>this[_0x1541('0x9d')]());}[_0x1541('0xac')](){const _0x35d91d=this[_0x1541('0x3b')],_0x6bdb21=_0x35d91d[_0x1541('0x26')][_0x1541('0x6f')](d),{isNavigationMode:_0x5b5910,currentChangeNumber:_0x30b28e}=_0x6bdb21;let _0x13821c;if(_0x6bdb21[_0x1541('0x32')]=_0x5b5910?_0x6bdb21[_0x1541('0xc5')][_0x1541('0x10d')][_0x1541('0x6f')](_0x30b28e+this[_0x1541('0x62')]):_0x6bdb21['diff']['changes'][_0x1541('0x49')],_0x6bdb21['activeChange'][_0x1541('0xa6')][_0x1541('0x11d')])_0x13821c=_0x35d91d[_0x1541('0x73')]['view'][_0x1541('0xd7')](_0x6bdb21['activeChange'][_0x1541('0xf2')]);else{const _0x594219=_0x35d91d[_0x1541('0x38')][_0x1541('0xad')][_0x1541('0x6f')]('revision:'+_0x6bdb21['activeChange']['id']);_0x13821c=_0x10b913(_0x35d91d[_0x1541('0x73')],_0x594219);}_0x142e83({'target':_0x13821c,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x19d59e,currentChangeNumber:_0x19dd97,numberOfChanges:_0x53fcf1,isReady:_0xbd14c6,isEnabled:_0x298971}=this[_0x1541('0x3b')][_0x1541('0x26')]['get'](d);this[_0x1541('0x8d')]=!!(_0x298971&&_0xbd14c6&&_0x53fcf1)&&(!_0x19d59e||(0x1===this[_0x1541('0x62')]?_0x19dd97<_0x53fcf1-0x1:_0x19dd97>0x0));}}
23
+ const _0x2ffa=['_step','_makeModelFromTape','markerToData','element:pre','revisionHistoryAttachChange','getAttributes','reconvertMarker','isContent','startIndex','left','getRevisionRootsAttributes','level','all','processor','consumable','isAtEnd','startsWith','object','isAfter','_getViewObj','previousPosition','index','mapper','_refreshStartEndIndex','data','string','setAttribute','data-revision-','markerToHighlight','test','type','revision-suggestion','has','adapter','_threeWayMerge','isAtStart','ck-revision-history-root-add','insert','_markMarkers','addRoot','locale','distance','_findChangeIdFromDomTarget','revision-comment:','isReady','pluginName','collaboration.channelId','merge','getRevision','markersStart','parent','mousedown','parse','restoreRevision','ck-suggestion-marker','activeChange','currentChangeNumber','consume','revision','activeView','pop','-new','endIndex','_joinTapes','markers','findIndex','error','hasAttribute','change:numberOfChanges','done','createRangeIn','addHighlight','isEqual','revision-start','_getDiff','enableReadOnlyMode','deletions','_setDistance','catch','slice','config','diffData','domConverter','vid','useFillerType','split','getClientRects','revisionHistory','offsetSize','editingDowncast','checkAttribute','end','_removeUnsupportedChanges','_getViewForChange','concat','changeId','toViewPosition','revision:','_getRevisionsRange','splice','restoreRevisionCallback','for','editing','vid_end','toModel','return','get','_initInteractions','isAdded','high','observeMarkers','add','dataToMarker','attributesAfter','selection','flat','showNextChange','_activeViewTarget','_cleanMarkers','getItems','getWalker','requires','change:isReady','createRange','isEnabled','compare','_update','getDomRoot','pairId','_setChanges','backward','push','toData','document','_balloon','attributes','isCollapsed','POSITIVE_INFINITY','bottom','roots','hasClass','_removeMissingPairs','marked','length','_makeModelFromViewString','loadRevisionData','getIndex','element','maxOffset','addMarker:revision','insertion','downcastDispatcher','isRemoved','_appendChild','showPreviousChange','map','addClass','keys','execute','code','init','markerRange','default','isRemoveSuggestion','low','isOnRoot','then','conversion','_markMismatchedRemovedTags','filter','includes','getRoot','suggestion:','text','resolve','children','start','forEach','viewItem','_data','item','_markSuggestions','isSuggestion','_changeIdToChange','WidgetToolbarRepository','delete','writer','elementEnd','wrap','removeClass','updatePosition','refresh','_changeView','remove','shift','insertions','_cleanUp','addMarker:revision-suggestion:deletion','destroy','revisionHistoryLabel','revision-end','ck-revision-history-root-','revision-viewer','isBefore','vid_start','change:activeChange','unshift','_sortAndFilterDiffChanges','modelRange','target','enqueueChange','changes','addRevision','deletion','isLimit','right','find','createAttributeElement','repository','createUIElement','from','ck-suggestion-marker-merge','top','createRevision','detachRoot','change','ck-suggestion-marker--active','forward','_revisions','bindElementToMarker','upcast','uiElement','markerNameToElements','_processTape','suggestion','bind','_markInsertions','ck-suggestion-preview-marker','side','markerName','plugins','ck-suggestion-preview-marker-','oldRevisionId','nextSibling','schema','affectsData','set','change:activeView','change:isEnabled','next','mapViewToDom','indexOf','numberOfChanges','_setConversion','isIncorrect','domEvent','isBlock','getCustomProperty','sort','newRevisionId','listenTo','revision-suggestion:','span','attachChange','userId','view','model','editor','toViewRange','_getChangeFromId','_fixObsoleteTags','markersEnd','rootName','ck-suggestion-marker-','getRootNames','commands','ck-editor__editable__overlay','isAddSuggestion','isAttached','name','dataDowncast','stop','getAttribute','removeMarker:revision','nextPosition','diff','highest','_removeRevisionMarkers','data-change-id','mouseover','ck-revision-history-root--active','elementStart','createPositionFromPath'];(function(_0x1f5628,_0x2ffadf){const _0x2af5d3=function(_0x3301d7){while(--_0x3301d7){_0x1f5628['push'](_0x1f5628['shift']());}};_0x2af5d3(++_0x2ffadf);}(_0x2ffa,0xe7));const _0x2af5=function(_0x1f5628,_0x2ffadf){_0x1f5628=_0x1f5628-0x0;let _0x2af5d3=_0x2ffa[_0x1f5628];return _0x2af5d3;};import{Plugin as _0x2486a4,Command as _0x3a55c2}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x5686ab}from'ckeditor5/src/utils';import{ContextualBalloon as _0x509c5a}from'ckeditor5/src/ui';import{DocumentFragment as _0x78ee8d,Element as _0x39553c,Text as _0x4662a3,ViewDocumentFragment as _0x41f13b,ViewText as _0x5d2d12,ViewElement as _0x4f8406,ViewContainerElement as _0x465596,ViewAttributeElement as _0x328460,ViewEmptyElement as _0xf0a9,ViewRawElement as _0x29c65a,ViewUIElement as _0x3c2db0}from'ckeditor5/src/engine';import{Users as _0x4475ca,getMarkerDomElement as _0x324c3d}from'ckeditor5-collaboration/src/collaboration-core';import _0x52ad46 from'./ui/revisionviewer/changedetailsview';import _0x569230 from'./revisionsrepository';import _0x35673c from'./changeitem';import{default as _0x147585}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0xda6787}from'lodash-es';const tt={'c':_0x465596,'a':_0x328460,'e':_0xf0a9,'r':_0x29c65a,'u':_0x3c2db0};export default class d extends _0x2486a4{static get[_0x2af5('0x6b')](){return'RevisionViewer';}static get[_0x2af5('0xb7')](){return[_0x4475ca,_0x509c5a,_0x569230];}constructor(_0x4b5924){super(_0x4b5924),this[_0x2af5('0x118')]=this['editor'][_0x2af5('0x9')][_0x2af5('0xa8')]('RevisionsRepository'),this[_0x2af5('0xf')](_0x2af5('0x75'),null),this[_0x2af5('0xf')](_0x2af5('0x79'),null),this['_activeViewTarget']=null,this[_0x2af5('0xf')]('diff',null),this[_0x2af5('0xf')](_0x2af5('0x6a'),!0x1),this[_0x2af5('0xf')](_0x2af5('0xba'),!0x0),this['on'](_0x2af5('0x11'),(_0x2ed70f,_0x336659,_0x1cb42f)=>{this[_0x2af5('0x75')]=null,this[_0x2af5('0x79')]=null,this[_0x2af5('0x24')][_0x2af5('0xa4')][_0x2af5('0x22')][_0x2af5('0x11f')](_0x1b364e=>{for(const _0x43074c of this[_0x2af5('0x24')][_0x2af5('0xa4')]['view'][_0x2af5('0xc3')][_0x2af5('0xc9')])_0x1cb42f?_0x1b364e[_0x2af5('0xfb')](_0x2af5('0x2d'),_0x43074c):_0x1b364e['addClass'](_0x2af5('0x2d'),_0x43074c);});}),this[_0x2af5('0x4')]('isNavigationMode')['to'](this,_0x2af5('0x75'),_0x9373af=>null!==_0x9373af),this[_0x2af5('0x4')](_0x2af5('0x76'))['to'](this,'isReady',this,_0x2af5('0x36'),this,_0x2af5('0x75'),(_0x4d1259,_0x49d0cc,_0x108588)=>_0x4d1259&&_0x108588?_0x49d0cc[_0x2af5('0x111')][_0x2af5('0xd0')](_0x108588):0x0),this['bind'](_0x2af5('0x15'))['to'](this,'isReady',this,_0x2af5('0x36'),(_0x1d6757,_0x304499)=>_0x1d6757?_0x304499['changes']['length']:0x0),this[_0x2af5('0xfe')]=null,this[_0x2af5('0xf5')]=new Map(),this['adapter']=null,this[_0x2af5('0xc4')]=this[_0x2af5('0x24')]['plugins'][_0x2af5('0xa8')](_0x509c5a);}[_0x2af5('0xde')](){const _0x9753df=this[_0x2af5('0x24')],_0x17be39=new ShowChangeCommand(_0x9753df,{'direction':_0x2af5('0xc0')}),_0x38f773=new ShowChangeCommand(_0x9753df,{'direction':'forward'});(_0x9753df[_0x2af5('0x2c')][_0x2af5('0xad')](_0x2af5('0xd8'),_0x17be39),_0x9753df[_0x2af5('0x2c')]['add'](_0x2af5('0xb2'),_0x38f773),_0x9753df[_0x2af5('0x2c')]['add'](_0x2af5('0x73'),new RestoreRevisionCommand(_0x9753df)),this['on'](_0x2af5('0x82'),()=>{_0x17be39[_0x2af5('0xfd')](),_0x38f773[_0x2af5('0xfd')]();}),this[_0x2af5('0x16')](),this[_0x2af5('0xa9')](),_0x9753df[_0x2af5('0x89')]('revision-viewer'),_0x9753df['plugins'][_0x2af5('0x5e')](_0x2af5('0xf6')))&&_0x9753df[_0x2af5('0x9')]['get']('WidgetToolbarRepository')['forceDisabled'](_0x2af5('0x108'));}async['getRevisionData'](_0x3740e0){await this['loadRevisionData'](_0x3740e0);const _0x4b5b31={};for(const _0x30a2d2 in _0x3740e0[_0x2af5('0x8f')]){if(_0x3740e0[_0x2af5('0x8f')][_0x30a2d2]['attachChange']&&!_0x3740e0['diffData'][_0x30a2d2]['attachChange']['isAttached'])continue;const _0x25c697=this['_removeRevisionMarkers'](JSON['parse'](_0x3740e0['diffData'][_0x30a2d2][_0x2af5('0x101')])),_0x29666e=this[_0x2af5('0x24')]['editing'][_0x2af5('0x22')][_0x2af5('0xc3')],_0x374ee6=new _0x41f13b(_0x29666e,_0x25c697[_0x2af5('0xd9')](_0x440434=>this[_0x2af5('0x51')](_0x440434)));this[_0x2af5('0x24')][_0x2af5('0x56')][_0x2af5('0x4b')][_0x2af5('0x92')](_0x2af5('0xcc')),_0x4b5b31[_0x30a2d2]=this[_0x2af5('0x24')][_0x2af5('0x56')]['processor'][_0x2af5('0xc2')](_0x374ee6),this[_0x2af5('0x24')][_0x2af5('0x56')][_0x2af5('0x4b')][_0x2af5('0x92')](_0x2af5('0xe0'));}return _0x4b5b31;}async[_0x2af5('0x48')](_0xa8d974){await this[_0x2af5('0xcf')](_0xa8d974);const _0x10970b={};for(const _0x183f84 in _0xa8d974['diffData'])_0xa8d974[_0x2af5('0x8f')][_0x183f84][_0x2af5('0x20')]&&!_0xa8d974[_0x2af5('0x8f')][_0x183f84][_0x2af5('0x20')][_0x2af5('0x2f')]||(_0x10970b[_0x183f84]=_0xa8d974[_0x2af5('0x8f')][_0x183f84][_0x2af5('0xaf')]||{});return _0x10970b;}[_0x2af5('0x38')](_0x435903){return(_0x435903=_0x435903['filter'](_0xdb8d27=>!_0xdb8d27[_0x2af5('0x30')]||_0x2af5('0x87')!==_0xdb8d27[_0x2af5('0x30')]&&_0x2af5('0x106')!==_0xdb8d27[_0x2af5('0x30')]))[_0x2af5('0xef')](_0x320e5f=>{'string'!=typeof _0x320e5f&&(_0x320e5f[_0x2af5('0xed')]=this[_0x2af5('0x38')](_0x320e5f[_0x2af5('0xed')]),_0x320e5f[_0x2af5('0xc5')]=_0x320e5f[_0x2af5('0xc5')][_0x2af5('0xe7')](_0x161b5c=>!_0x161b5c[0x0]['startsWith'](_0x2af5('0x59'))));}),_0x435903;}async[_0x2af5('0xbb')](_0x4fc3e7,_0x5aa4a4,_0x2e6abd=!0x1){if(!this[_0x2af5('0xba')])return;const _0x584f2e=this[_0x2af5('0x36')],_0x35c07e=this[_0x2af5('0x118')],_0x5e027c=_0x2af5('0x57')==typeof _0x4fc3e7?_0x35c07e[_0x2af5('0x6e')](_0x4fc3e7):_0x4fc3e7,_0x212456=_0x2af5('0x57')==typeof _0x5aa4a4?_0x35c07e[_0x2af5('0x6e')](_0x5aa4a4):_0x5aa4a4,_0x581c91=_0x5e027c['id'],_0x5e3cef=_0x212456?_0x212456['id']:null;if(!_0x2e6abd&&this[_0x2af5('0x36')]&&this[_0x2af5('0x36')][_0x2af5('0x1c')]===_0x581c91&&this[_0x2af5('0x36')][_0x2af5('0xb')]===_0x5e3cef)return Promise[_0x2af5('0xec')]();this['isReady']=!0x1,this[_0x2af5('0x79')]=null,this[_0x2af5('0x75')]=null,this['diff']=new _0x147585(_0x581c91,_0x5e3cef);const _0x378a83=this[_0x2af5('0xa0')](_0x5e027c,_0x212456,!0x0)['map'](_0x34ee75=>this[_0x2af5('0xcf')](_0x34ee75));return _0x378a83[_0x2af5('0xc1')](new Promise(_0x409d7d=>{setTimeout(_0x409d7d,0x14);})),Promise[_0x2af5('0x4a')](_0x378a83)[_0x2af5('0xe4')](()=>{if(!this[_0x2af5('0xba')])return;this['_cleanUp']();const _0x4989c7=this[_0x2af5('0x88')](_0x581c91,_0x5e3cef);for(const _0x3a6cac of _0x4989c7[_0x2af5('0x111')])this[_0x2af5('0xf5')][_0x2af5('0xf')](_0x3a6cac['id'],_0x3a6cac);this[_0x2af5('0x24')]['model'][_0x2af5('0x110')]({'isUndoable':!0x1},_0x38f258=>{for(const _0x3c6574 of this['editor'][_0x2af5('0x23')]['document'][_0x2af5('0x2b')]())_0x38f258[_0x2af5('0x11e')](_0x3c6574);for(const _0x4a2f96 of Object[_0x2af5('0xdb')](_0x4989c7[_0x2af5('0x23')])){const _0x3aa4c8=_0x38f258[_0x2af5('0x65')](_0x4a2f96);for(const _0x4f2e39 of Object[_0x2af5('0xdb')](_0x4989c7[_0x2af5('0xc5')][_0x4a2f96]))_0x38f258[_0x2af5('0x58')](_0x4f2e39,_0x4989c7['attributes'][_0x4a2f96][_0x4f2e39],_0x3aa4c8);_0x38f258[_0x2af5('0x63')](_0x4989c7['model'][_0x4a2f96],_0x3aa4c8,0x0);}}),this[_0x2af5('0x36')][_0x2af5('0xbf')](this[_0x2af5('0x10d')](_0x4989c7[_0x2af5('0x111')])),this[_0x2af5('0x6a')]=!0x0;})[_0x2af5('0x8c')](_0x2c62ee=>{console[_0x2af5('0x80')](_0x2c62ee),this[_0x2af5('0x102')](),_0x584f2e&&(this[_0x2af5('0x36')]=_0x584f2e),this['isReady']=!0x0;});}['addRevisionData'](_0x2a0450,_0x2ab4e8){const _0x2bea68=this[_0x2af5('0x118')][_0x2af5('0x11d')](_0x2a0450);return _0x2bea68['on'](_0x2af5('0xbc'),(_0x43b4b9,_0xdb3582,_0x3cffad)=>_0x2ab4e8(_0xdb3582,_0x3cffad,_0x2bea68)),this['repository'][_0x2af5('0x112')](_0x2bea68),_0x2bea68;}[_0x2af5('0xcf')](_0x140b61){if(!_0x140b61||_0x140b61['diffData'])return Promise[_0x2af5('0xec')]();{const _0x16b9d5=this[_0x2af5('0x24')]['config'][_0x2af5('0xa8')](_0x2af5('0x6c'));return this[_0x2af5('0x5f')][_0x2af5('0x6e')]({'channelId':_0x16b9d5,'revisionId':_0x140b61['id']})[_0x2af5('0xe4')](_0x2d3646=>{_0x140b61[_0x2af5('0xbc')]({'diffData':_0x2d3646[_0x2af5('0x8f')]},!0x0);});}}[_0x2af5('0x102')](){this['activeChange']=null,this[_0x2af5('0xb4')](),this[_0x2af5('0xfe')]&&this[_0x2af5('0xfe')]['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0x110')]({'isUndoable':!0x1},_0x354d48=>{for(const _0xf2f51c of this[_0x2af5('0x24')]['model'][_0x2af5('0xc3')][_0x2af5('0x2b')]())_0x354d48[_0x2af5('0x11e')](_0xf2f51c);});}[_0x2af5('0x10d')](_0x250bed){const _0x6dae79=[],_0x3b9935=new Map();for(const _0x178cf1 of this['editor'][_0x2af5('0x23')][_0x2af5('0xc3')]['getRootNames']()){const _0x521f84=this[_0x2af5('0x24')][_0x2af5('0xa4')]['view'][_0x2af5('0xbd')](_0x178cf1);if(!_0x521f84)continue;const _0x509cab=_0x521f84['getClientRects']()['item'](0x0);_0x509cab&&(_0x6dae79[_0x2af5('0xc1')](_0x178cf1),_0x3b9935[_0x2af5('0xf')](_0x178cf1,_0x509cab));}return _0x6dae79[_0x2af5('0x1b')]((_0x388579,_0x143020)=>{const _0x15e149=_0x3b9935[_0x2af5('0xa8')](_0x388579),_0x293795=_0x3b9935[_0x2af5('0xa8')](_0x143020);return _0x15e149['y']-_0x293795['y']||_0x15e149['x']-_0x293795['x'];}),(_0x250bed=_0x250bed[_0x2af5('0xe7')](_0x2427c4=>_0x6dae79[_0x2af5('0xe8')](_0x2427c4[_0x2af5('0x29')])))[_0x2af5('0x1b')]((_0x1129b3,_0x24b201)=>_0x6dae79[_0x2af5('0x14')](_0x1129b3['rootName'])-_0x6dae79[_0x2af5('0x14')](_0x24b201[_0x2af5('0x29')])),_0x250bed;}['_makeTape'](_0x1d4215){const _0x49bb31=Array[_0x2af5('0x11a')](_0x1d4215[_0x2af5('0x7e')])[_0x2af5('0xe7')](([_0x244331,_0x57c289])=>_0x244331[_0x2af5('0x4e')](_0x2af5('0x9f'))&&!_0x57c289[_0x2af5('0xc6')]),_0x7f8b0=Array[_0x2af5('0x11a')](this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0x84')](_0x1d4215)[_0x2af5('0xb6')]({'singleCharacters':!0x0}));if(0x0!=_0x49bb31[_0x2af5('0xcd')])for(const _0x45fea7 of _0x7f8b0){const [_0x536993,_0x28d17c]=_0x49bb31[0x0],[,_0x2e6d9a,_0x497b83]=_0x536993[_0x2af5('0x93')](':');if(_0x28d17c[_0x2af5('0x99')][_0x2af5('0x86')](_0x45fea7['nextPosition'])&&_0x49bb31[_0x2af5('0x100')](),(_0x45fea7[_0x2af5('0x52')][_0x2af5('0x86')](_0x28d17c['start'])||_0x45fea7[_0x2af5('0x52')][_0x2af5('0x50')](_0x28d17c[_0x2af5('0xee')]))&&(_0x2af5('0xd4')==_0x2e6d9a?_0x45fea7[_0x2af5('0xaa')]={'userId':_0x497b83}:'deletion'==_0x2e6d9a&&(_0x45fea7[_0x2af5('0xd6')]={'userId':_0x497b83})),0x0==_0x49bb31['length'])break;}return _0x7f8b0;}['_refreshStartEndIndex'](_0x58f18c){const _0x15471f=new Map();for(let _0x2bfe45=0x0;_0x2bfe45<_0x58f18c[_0x2af5('0xcd')];_0x2bfe45++)_0x2af5('0xeb')===_0x58f18c[_0x2bfe45][_0x2af5('0x5c')]?(_0x58f18c[_0x2bfe45][_0x2af5('0xf2')][_0x2af5('0x46')]=_0x2bfe45,_0x58f18c[_0x2bfe45][_0x2af5('0xf2')][_0x2af5('0x7c')]=_0x2bfe45):('elementStart'===_0x58f18c[_0x2bfe45][_0x2af5('0x5c')]?_0x58f18c[_0x2bfe45][_0x2af5('0xf2')][_0x2af5('0x46')]=_0x2bfe45:_0x2af5('0xf9')===_0x58f18c[_0x2bfe45][_0x2af5('0x5c')]&&(_0x58f18c[_0x2bfe45]['item'][_0x2af5('0x7c')]=_0x2bfe45),_0x15471f[_0x2af5('0xf')](_0x58f18c[_0x2bfe45]['id'],_0x2bfe45));for(const _0x150727 of _0x15471f['values']())_0x2af5('0x3c')===_0x58f18c[_0x150727][_0x2af5('0x5c')]?_0x58f18c[_0x150727][_0x2af5('0xf2')][_0x2af5('0x7c')]=_0x15471f[_0x2af5('0xa8')](_0x58f18c[_0x150727]['pairId']):_0x2af5('0xf9')===_0x58f18c[_0x150727][_0x2af5('0x5c')]&&(_0x58f18c[_0x150727][_0x2af5('0xf2')][_0x2af5('0x46')]=_0x15471f[_0x2af5('0xa8')](_0x58f18c[_0x150727][_0x2af5('0xbe')]));}[_0x2af5('0x2')](_0x2ab2e6){for(let _0x34d0cd=0x0;_0x34d0cd<_0x2ab2e6[_0x2af5('0xcd')];_0x34d0cd++){if(_0x2af5('0x3c')===_0x2ab2e6[_0x34d0cd][_0x2af5('0x5c')])_0x2ab2e6[_0x34d0cd]['item']['startIndex']=_0x34d0cd;else{if(_0x2af5('0xf9')===_0x2ab2e6[_0x34d0cd][_0x2af5('0x5c')]){_0x2ab2e6[_0x34d0cd][_0x2af5('0xf2')][_0x2af5('0x7c')]=_0x34d0cd;const _0x30dfe0=_0x2ab2e6[_0x34d0cd][_0x2af5('0xf2')]['startIndex'];_0x2ab2e6[_0x30dfe0]['pairId']=_0x2ab2e6[_0x34d0cd]['id'],_0x2ab2e6[_0x34d0cd][_0x2af5('0xbe')]=_0x2ab2e6[_0x30dfe0]['id'];}else _0x2ab2e6[_0x34d0cd]['item']['startIndex']=_0x34d0cd,_0x2ab2e6[_0x34d0cd][_0x2af5('0xf2')][_0x2af5('0x7c')]=_0x34d0cd,_0x2ab2e6[_0x34d0cd][_0x2af5('0xbe')]=null;}_0x2ab2e6[_0x34d0cd][_0x2af5('0x6f')]||(_0x2ab2e6[_0x34d0cd][_0x2af5('0x6f')]=[],_0x2ab2e6[_0x34d0cd][_0x2af5('0x28')]=[]);}}['_markInsertions'](_0x2ec565,_0x342acc){const _0x3a056a=_0x2ec565[_0x2af5('0xe7')](_0x5d7988=>!_0x5d7988[_0x2af5('0xaa')]);for(let _0x410ed6=0x0;_0x410ed6<_0x342acc['length'];_0x410ed6++)_0x342acc[_0x410ed6]['isAdded']&&(_0x3a056a[_0x410ed6][_0x2af5('0xaa')]=_0x342acc[_0x410ed6][_0x2af5('0xaa')]);}[_0x2af5('0xce')](_0x324a98){const _0xe0aa27=JSON[_0x2af5('0x72')](_0x324a98),_0x1b8827=this[_0x2af5('0x24')][_0x2af5('0xa4')][_0x2af5('0x22')][_0x2af5('0xc3')],_0x56df88=new _0x41f13b(_0x1b8827,_0xe0aa27['map'](_0x25db2f=>this[_0x2af5('0x51')](_0x25db2f)));return this['editor'][_0x2af5('0x56')][_0x2af5('0xa6')](_0x56df88);}[_0x2af5('0x51')](_0x5b0c4a){const _0x2d67e0=this[_0x2af5('0x24')][_0x2af5('0xa4')][_0x2af5('0x22')][_0x2af5('0xc3')];if(_0x2af5('0x57')==typeof _0x5b0c4a)return new _0x5d2d12(_0x2d67e0,_0x5b0c4a);{const _0x3c38d3=_0x5b0c4a[_0x2af5('0xed')]['map'](_0x51b064=>this[_0x2af5('0x51')](_0x51b064));return new(tt[_0x5b0c4a['type']]||_0x4f8406)(_0x2d67e0,_0x5b0c4a[_0x2af5('0x30')],_0x5b0c4a[_0x2af5('0xc5')],_0x3c38d3);}}[_0x2af5('0x88')](_0x5a4676,_0x2ef787=null){const _0x24abc8=this[_0x2af5('0x118')][_0x2af5('0x6e')](_0x5a4676),_0x14ef80=_0x2ef787?this['repository']['getRevision'](_0x2ef787):null,_0x18b932=this['_getRevisionsRange'](_0x24abc8,_0x14ef80),_0x3a71b7=_0x18b932[_0x18b932['length']-0x1],_0x397109=new Map(),_0x329200={'model':{},'attributes':{},'changes':[]},_0x39ca06=new Set(),_0x456eb7=new Map();for(let _0x15a9aa=_0x18b932[_0x2af5('0xcd')]-0x1;_0x15a9aa>=0x0;_0x15a9aa--){const _0x1616fb=_0x18b932[_0x15a9aa];for(const _0x2d9fe7 of Object[_0x2af5('0xdb')](_0x1616fb[_0x2af5('0x8f')]))if(_0x1616fb[_0x2af5('0x8f')][_0x2d9fe7]['attachChange']){const _0x29a0b2=_0x1616fb[_0x2af5('0x8f')][_0x2d9fe7]['attachChange'];_0x29a0b2[_0x2af5('0x2f')]?(_0x39ca06[_0x2af5('0xad')](_0x2d9fe7),_0x456eb7[_0x2af5('0x5e')](_0x2d9fe7)&&_0x456eb7['get'](_0x2d9fe7)[_0x2af5('0x21')]==_0x29a0b2['userId']?_0x456eb7[_0x2af5('0xf7')](_0x2d9fe7):_0x456eb7['set'](_0x2d9fe7,_0x29a0b2)):_0x456eb7[_0x2af5('0x5e')](_0x2d9fe7)?(_0x39ca06[_0x2af5('0xf7')](_0x2d9fe7),_0x456eb7[_0x2af5('0xf7')](_0x2d9fe7)):(_0x39ca06[_0x2af5('0xad')](_0x2d9fe7),_0x456eb7[_0x2af5('0xf')](_0x2d9fe7,_0x29a0b2));}else _0x39ca06['add'](_0x2d9fe7);}for(const _0x422105 of _0x39ca06){const _0x5e5e19=_0x456eb7[_0x2af5('0x5e')](_0x422105)&&!_0x456eb7[_0x2af5('0xa8')](_0x422105)['isAttached'];let _0x58925a=_0x5e5e19?_0x18b932['length']-0x1:0x0;const _0x5d6fd1=_0x5e5e19?-0x1:0x1;for(;_0x18b932[_0x58925a];){const _0x4bc7ef=_0x18b932[_0x58925a];if(_0x4bc7ef[_0x2af5('0x8f')][_0x422105]){const _0x2bf7a5=_0x5e5e19?_0x4bc7ef[_0x2af5('0x8f')][_0x422105]['attributesBefore']:_0x4bc7ef[_0x2af5('0x8f')][_0x422105][_0x2af5('0xaf')];_0x329200['attributes'][_0x422105]=_0x2bf7a5?_0xda6787(_0x2bf7a5):{};break;}_0x58925a+=_0x5d6fd1;}}for(const _0x3a3146 of _0x18b932){_0x3a3146[_0x2af5('0x23')]={};for(const _0x42d1ee of _0x3a3146['authors'])_0x397109[_0x2af5('0xf')](_0x42d1ee['id'],_0x42d1ee);for(const _0x56dd3f of _0x39ca06){const _0xb21128=_0x3a3146[_0x2af5('0x8f')][_0x56dd3f]?_0x3a3146['diffData'][_0x56dd3f][_0x2af5('0x101')]:'[]',_0x2940e1=_0x3a3146['diffData'][_0x56dd3f]?_0x3a3146['diffData'][_0x56dd3f][_0x2af5('0x8a')]:'[]';_0x3a3146[_0x2af5('0x23')][_0x56dd3f]={'insertions':this[_0x2af5('0xce')](_0xb21128),'deletions':this[_0x2af5('0xce')](_0x2940e1)};}}for(const _0x947d16 of _0x39ca06){let _0x4265e1=null,_0x205c15=0x0;const _0x2b8019=new Map(Array[_0x2af5('0x11a')](_0x24abc8[_0x2af5('0x23')][_0x947d16][_0x2af5('0x101')][_0x2af5('0x7e')])[_0x2af5('0xe7')](([_0x2bd00d])=>!_0x2bd00d[_0x2af5('0x4e')](_0x2af5('0x9f'))));let _0x12defa=0x0;for(const _0x49b15e of _0x18b932){const _0x36722f=this['_makeTape'](_0x49b15e[_0x2af5('0x23')][_0x947d16]['insertions']);_0x49b15e==_0x24abc8?(_0x4265e1=_0x36722f,_0x205c15=_0x4265e1[_0x2af5('0xcd')],_0x4265e1[_0x2af5('0xef')](_0x2a71e1=>{_0x2a71e1['id']=_0x12defa++;}),this[_0x2af5('0x2')](_0x4265e1)):this[_0x2af5('0x5')](_0x4265e1,_0x36722f);const _0x45a132=_0x4265e1[_0x2af5('0xe7')](_0x4ca66d=>!_0x4ca66d['isAdded'])['map'](_0x43273b=>_0x43273b['id']);let _0x418f8f=0x0;const _0x417d8b=this['_makeTape'](_0x49b15e[_0x2af5('0x23')][_0x947d16][_0x2af5('0x8a')]);_0x417d8b['forEach'](_0x3131dd=>{_0x3131dd[_0x2af5('0xd6')]?_0x3131dd['id']=_0x205c15++:_0x3131dd['id']=_0x45a132[_0x418f8f++];}),this[_0x2af5('0x2')](_0x417d8b),this[_0x2af5('0x8b')](_0x4265e1,_0x2af5('0xaa')),this[_0x2af5('0x8b')](_0x417d8b,_0x2af5('0xd6')),_0x49b15e==_0x24abc8&&this[_0x2af5('0x64')](_0x4265e1,_0x2b8019),_0x4265e1=this[_0x2af5('0x7d')](_0x4265e1,_0x417d8b),this[_0x2af5('0x55')](_0x4265e1),this[_0x2af5('0x8b')](_0x4265e1,'isRemoved');}_0x4265e1=_0x4265e1['filter'](_0x61b6a7=>!(_0x61b6a7[_0x2af5('0xaa')]&&_0x61b6a7[_0x2af5('0xd6')]));const _0x201570=new Map(_0x3a71b7['model'][_0x947d16][_0x2af5('0x8a')]['markers']),_0x125b24=new Set(_0x2b8019[_0x2af5('0xdb')]());for(const _0x207c29 of _0x201570[_0x2af5('0xdb')]())_0x125b24['delete'](_0x207c29);this[_0x2af5('0xf3')](_0x4265e1,_0x125b24),this['_fixObsoleteTags'](_0x4265e1),_0x4265e1=this[_0x2af5('0xcb')](_0x4265e1),_0x4265e1=this[_0x2af5('0xe6')](_0x4265e1),_0x4265e1=this[_0x2af5('0x9a')](_0x4265e1);const {root:_0x4f4a3d,changes:_0x28afbd}=this[_0x2af5('0x3f')](_0x4265e1,_0x397109,_0x947d16);_0x329200['model'][_0x947d16]=_0x4f4a3d;const _0xdf2bbb=_0x456eb7[_0x2af5('0xa8')](_0x947d16);if(_0xdf2bbb){const _0x32c005=_0x397109['get'](_0xdf2bbb[_0x2af5('0x21')]),_0x5c6fba=new _0x35673c({'author':_0x32c005,'type':_0xdf2bbb[_0x2af5('0x2f')]?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x947d16});_0x28afbd[_0x2af5('0x10c')](_0x5c6fba),_0x329200['attributes'][_0x947d16][_0x2af5('0x42')]=_0x5c6fba['id'];}_0x329200[_0x2af5('0x111')]=_0x329200[_0x2af5('0x111')]['concat'](_0x28afbd);}return _0x329200;}[_0x2af5('0x64')](_0x4e4590,_0x1b5678){for(let _0x2851c8=0x0;_0x2851c8<_0x4e4590[_0x2af5('0xcd')];_0x2851c8++)for(const [_0x10ed0c,_0x350364]of _0x1b5678)_0x350364[_0x2af5('0xee')][_0x2af5('0x86')](_0x4e4590[_0x2851c8]['previousPosition'])&&_0x4e4590[_0x2851c8][_0x2af5('0x6f')][_0x2af5('0xc1')](_0x10ed0c),_0x350364[_0x2af5('0x99')]['isEqual'](_0x4e4590[_0x2851c8][_0x2af5('0x35')])&&_0x4e4590[_0x2851c8][_0x2af5('0x28')][_0x2af5('0xc1')](_0x10ed0c);}['_joinTapes'](_0x225d78,_0x1e4084){let _0x56710a=[],_0x3df3dd=0x0,_0x56fec5=0x0;for(;_0x3df3dd<_0x225d78['length']||_0x56fec5<_0x1e4084[_0x2af5('0xcd')];){const _0x46d029=_0x225d78[_0x3df3dd]||{},_0x2a6541=_0x1e4084[_0x56fec5]||{};if(_0x46d029['id']==_0x2a6541['id'])_0x3df3dd++,_0x56fec5++,_0x56710a[_0x2af5('0xc1')](_0x46d029);else{if(_0x2a6541[_0x2af5('0xd6')]&&_0x46d029[_0x2af5('0xaa')]){const {commonTape:_0x2ff8f6,iEnd:_0x51a1ce,jEnd:_0x4580f0}=this[_0x2af5('0x60')](_0x225d78,_0x3df3dd,_0x1e4084,_0x56fec5);_0x56710a=_0x56710a['concat'](_0x2ff8f6),_0x3df3dd=_0x51a1ce,_0x56fec5=_0x4580f0;}else _0x2a6541[_0x2af5('0xd6')]?(_0x56fec5++,_0x56710a[_0x2af5('0xc1')](_0x2a6541)):(_0x3df3dd++,_0x56710a[_0x2af5('0xc1')](_0x46d029));}}return _0x56710a;}[_0x2af5('0xf3')](_0x4d2b69,_0x35208f){const _0x5bb478=[];for(let _0x1a7849=0x0;_0x1a7849<_0x4d2b69['length'];_0x1a7849++){for(let _0x10574b=0x0;_0x10574b<_0x4d2b69[_0x1a7849][_0x2af5('0x6f')][_0x2af5('0xcd')];_0x10574b++){const _0x4380e5=_0x4d2b69[_0x1a7849][_0x2af5('0x6f')][_0x10574b];if(!_0x35208f['has'](_0x4380e5))continue;const {group:_0x484781,type:_0x3f5fd3,authorId:_0x969350}=_0x22ebd9(_0x4380e5);_0x2af5('0x5d')!=_0x484781||_0x2af5('0xd4')!=_0x3f5fd3&&_0x2af5('0x113')!=_0x3f5fd3||(_0x5bb478[_0x2af5('0x10c')]({'type':_0x3f5fd3,'name':_0x4380e5,'userId':_0x969350}),_0x4d2b69[_0x1a7849][_0x2af5('0x6f')][_0x2af5('0xa1')](_0x10574b,0x1),_0x10574b--);}_0x2b3f01(_0x4d2b69[_0x1a7849]);for(let _0x160112=0x0;_0x160112<_0x4d2b69[_0x1a7849][_0x2af5('0x28')][_0x2af5('0xcd')];_0x160112++){const _0x56427a=_0x4d2b69[_0x1a7849][_0x2af5('0x28')][_0x160112];if(!_0x35208f['has'](_0x56427a))continue;const {group:_0x420855,type:_0x55f607}=_0x22ebd9(_0x56427a);if('revision-suggestion'!=_0x420855||'insertion'!=_0x55f607&&'deletion'!=_0x55f607)continue;_0x4d2b69[_0x1a7849][_0x2af5('0x28')]['splice'](_0x160112,0x1),_0x160112--;const _0x530b4d=_0x5bb478[_0x2af5('0x7f')](_0x38110d=>_0x38110d[_0x2af5('0x30')]==_0x56427a);_0x530b4d>-0x1&&_0x5bb478[_0x2af5('0xa1')](_0x530b4d,0x1);}}function _0x22ebd9(_0x1c8ec9){const _0x11a294=_0x1c8ec9[_0x2af5('0x93')](':');return{'group':_0x11a294[0x0],'type':_0x11a294[0x1],'subType':_0x11a294[_0x2af5('0xcd')]>=0x5?_0x11a294[0x2]:null,'id':_0x11a294[_0x2af5('0xcd')]<0x5?_0x11a294[0x2]:_0x11a294[0x3],'authorId':_0x11a294[_0x2af5('0xcd')]<0x5?_0x11a294[0x3]:_0x11a294[0x4],'markerCount':0x6==_0x11a294['length']?_0x11a294[0x5]:null};}function _0x2b3f01(_0x6c4815){for(let _0x5ac3c7=0x0;_0x5ac3c7<_0x5bb478[_0x2af5('0xcd')];_0x5ac3c7++){if(_0x6c4815[_0x2af5('0xaa')]&&_0x2af5('0xd4')==_0x5bb478[_0x5ac3c7][_0x2af5('0x5c')])return _0x6c4815[_0x2af5('0x2e')]=_0x5bb478[_0x5ac3c7],void delete _0x6c4815['isAdded'];if(!_0x6c4815[_0x2af5('0xaa')]&&!_0x6c4815[_0x2af5('0xd6')]&&_0x2af5('0x113')==_0x5bb478[_0x5ac3c7][_0x2af5('0x5c')])return void(_0x6c4815['isRemoveSuggestion']=_0x5bb478[_0x5ac3c7]);}}}[_0x2af5('0x8b')](_0x34f88b,_0x5644e6){let _0x493d79=0x0,_0x563e04=!0x1;const _0x46b5e5=new Map();for(const _0x333677 of _0x34f88b)_0x333677[_0x5644e6]?_0x563e04&&(_0x493d79++,_0x563e04=!0x1):(_0x493d79++,_0x563e04=!0x0),_0x46b5e5[_0x2af5('0xf')](_0x333677['id'],_0x493d79);for(let _0x42626e=0x0;_0x42626e<_0x34f88b['length'];_0x42626e++){if('isRemoved'==_0x5644e6&&_0x34f88b[_0x42626e][_0x2af5('0xaa')]||_0x2af5('0xaa')==_0x5644e6&&_0x34f88b[_0x42626e][_0x2af5('0xd6')])continue;if(_0x2af5('0xeb')==_0x34f88b[_0x42626e]['type']){_0x34f88b[_0x42626e][_0x2af5('0x67')]=0x0;continue;}const _0x1f9209=_0x46b5e5[_0x2af5('0xa8')](_0x34f88b[_0x42626e][_0x2af5('0xbe')]),_0x5d2ae1=_0x46b5e5[_0x2af5('0xa8')](_0x34f88b[_0x42626e]['id']);_0x34f88b[_0x42626e][_0x2af5('0x67')]=_0x1f9209-_0x5d2ae1;}}[_0x2af5('0xa0')](_0x1c2f1e,_0x203b4e,_0x3f5a20=!0x1){const _0x35ed57=[];let _0x46bfcf=this['repository'][_0x2af5('0xd0')](_0x1c2f1e),_0x4bc31a=this[_0x2af5('0x118')]['getIndex'](_0x203b4e);for(-0x1==_0x4bc31a&&(_0x4bc31a=this[_0x2af5('0x118')][_0x2af5('0x122')]['length'],_0x3f5a20=!0x1);_0x46bfcf<_0x4bc31a;)_0x35ed57[_0x2af5('0xc1')](this[_0x2af5('0x118')]['getRevision'](_0x46bfcf)),_0x46bfcf++;return _0x3f5a20&&_0x35ed57['push'](this[_0x2af5('0x118')][_0x2af5('0x6e')](_0x46bfcf)),_0x35ed57;}[_0x2af5('0x60')](_0x5980c5,_0x511e6e,_0x25baa1,_0x97dfc6){const _0x1ba746=this['editor'][_0x2af5('0x23')][_0x2af5('0xd')];let _0x25888f=_0x511e6e;for(;_0x5980c5[_0x25888f]&&_0x5980c5[_0x25888f][_0x2af5('0xaa')];)_0x25888f++;let _0x3f4ce5=_0x97dfc6;for(;_0x25baa1[_0x3f4ce5]&&_0x25baa1[_0x3f4ce5][_0x2af5('0xd6')];)_0x3f4ce5++;_0x3f5530(_0x5980c5,_0x511e6e,_0x25888f),_0x3f5530(_0x25baa1,_0x97dfc6,_0x3f4ce5);const _0x39f123=_0x25baa1[_0x2af5('0x8d')](_0x97dfc6,_0x3f4ce5)[_0x2af5('0x9c')](_0x5980c5[_0x2af5('0x8d')](_0x511e6e,_0x25888f));return _0x39f123[_0x2af5('0x1b')]((_0x95d085,_0x47a891)=>_0x95d085[_0x2af5('0x7')]!=_0x47a891[_0x2af5('0x7')]?_0x95d085[_0x2af5('0x7')]-_0x47a891['side']:_0x95d085[_0x2af5('0x49')]!=_0x47a891[_0x2af5('0x49')]?_0x95d085[_0x2af5('0x49')]-_0x47a891[_0x2af5('0x49')]:_0x95d085[_0x2af5('0x67')]!=_0x47a891[_0x2af5('0x67')]?_0x47a891[_0x2af5('0x67')]-_0x95d085[_0x2af5('0x67')]:!!_0x95d085[_0x2af5('0xaa')]!=!!_0x47a891[_0x2af5('0xaa')]?-0x1==_0x95d085[_0x2af5('0x7')]||0x0==_0x95d085[_0x2af5('0x7')]?_0x95d085[_0x2af5('0xaa')]?-0x1:0x1:_0x95d085['isAdded']?0x1:-0x1:_0x95d085[_0x2af5('0x53')]-_0x47a891[_0x2af5('0x53')]),{'commonTape':_0x39f123,'iEnd':_0x25888f,'jEnd':_0x3f4ce5};function _0x3f5530(_0x2467f7,_0x151f84,_0x146c66){let _0x1205c9=-0x1,_0x52062d=Number[_0x2af5('0xc7')],_0x33e503=!0x0;for(let _0xa7044=_0x151f84;_0xa7044<_0x146c66;_0xa7044++)if(_0x1ba746['isInline'](_0x2467f7[_0xa7044][_0x2af5('0xf2')])||(_0x33e503=!0x1),_0x2467f7[_0xa7044][_0x2af5('0xf2')][_0x2af5('0x46')]<_0x151f84&&(_0x1205c9=_0xa7044),_0x2467f7[_0xa7044]['item'][_0x2af5('0x7c')]>=_0x146c66){_0x52062d=_0xa7044;break;}_0x33e503&&(_0x1205c9=_0x146c66-0x1);for(let _0x42cb1c=_0x151f84;_0x42cb1c<_0x146c66;_0x42cb1c++)_0x2467f7[_0x42cb1c]['side']=_0x42cb1c<=_0x1205c9?-0x1:_0x42cb1c<_0x52062d?0x0:0x1,_0x2467f7[_0x42cb1c][_0x2af5('0x53')]=_0x42cb1c;let _0x348090=0x0;for(let _0x2640e5=_0x151f84;_0x2640e5<=_0x1205c9;_0x2640e5++)0x0==_0x2467f7[_0x2640e5][_0x2af5('0x67')]?_0x2467f7[_0x2640e5][_0x2af5('0x49')]=_0x348090:(_0x348090++,_0x2467f7[_0x2640e5][_0x2af5('0x49')]=_0x348090,_0x348090++);for(let _0x1d6404=_0x151f84;_0x1d6404<_0x146c66;_0x1d6404++)0x0==_0x2467f7[_0x1d6404]['side']&&(_0x2467f7[_0x1d6404][_0x2af5('0x49')]=_0x348090);_0x348090=0x0;for(let _0x29a1de=_0x146c66-0x1;_0x29a1de>=_0x52062d;_0x29a1de--)0x0==_0x2467f7[_0x29a1de][_0x2af5('0x67')]?_0x2467f7[_0x29a1de][_0x2af5('0x49')]=_0x348090:(_0x348090--,_0x2467f7[_0x29a1de][_0x2af5('0x49')]=_0x348090,_0x348090--);}}[_0x2af5('0x27')](_0x432ee2){const _0x3a392a=new Map(),_0x48cfa3=this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0xd')];for(let _0xc0f336=0x1;_0xc0f336<_0x432ee2[_0x2af5('0xcd')];_0xc0f336++){let _0x6fa57b,_0x571d6b,_0x80f980;const _0x12651b=_0x432ee2[_0xc0f336],_0x3a8e27=_0x432ee2[_0xc0f336-0x1];if('text'==_0x12651b['type'])continue;if(_0x12651b[_0x2af5('0x5c')]!=_0x3a8e27[_0x2af5('0x5c')])continue;if(!_0x48cfa3['isBlock'](_0x3a8e27[_0x2af5('0xf2')])||_0x48cfa3['isLimit'](_0x3a8e27['item']))continue;if(!_0x48cfa3[_0x2af5('0x19')](_0x12651b[_0x2af5('0xf2')])||_0x48cfa3['isLimit'](_0x12651b[_0x2af5('0xf2')]))continue;if((_0x432ee2[_0xc0f336]['isAdded']||_0x432ee2[_0xc0f336][_0x2af5('0x2e')])&&_0x432ee2[_0xc0f336-0x1][_0x2af5('0xd6')])_0x6fa57b=_0x432ee2[_0xc0f336],_0x571d6b=_0x432ee2[_0xc0f336-0x1],_0x80f980=_0xc0f336-0x1;else{if(!_0x432ee2[_0xc0f336][_0x2af5('0xd6')]||!_0x432ee2[_0xc0f336-0x1][_0x2af5('0xaa')]&&!_0x432ee2[_0xc0f336-0x1][_0x2af5('0x2e')])continue;_0x6fa57b=_0x432ee2[_0xc0f336-0x1],_0x571d6b=_0x432ee2[_0xc0f336],_0x80f980=_0xc0f336;}const _0x4c1888=_0x6fa57b[_0x2af5('0x49')]==_0x571d6b[_0x2af5('0x49')],_0x499768=Math['abs'](_0x6fa57b[_0x2af5('0x49')])<Math['abs'](_0x571d6b['level'])&&0x0==_0x571d6b[_0x2af5('0x67')];(_0x4c1888||_0x499768)&&(_0x3a392a[_0x2af5('0xf')](_0x571d6b['id'],_0x6fa57b['id']),_0x432ee2['splice'](_0x80f980,0x1),_0xc0f336--,_0x6fa57b['isAdded']=!0x1);}for(let _0x16a88e=0x0;_0x16a88e<_0x432ee2[_0x2af5('0xcd')];_0x16a88e++)_0x3a392a[_0x2af5('0x5e')](_0x432ee2[_0x16a88e][_0x2af5('0xbe')])&&(_0x432ee2[_0x16a88e][_0x2af5('0xbe')]=_0x3a392a[_0x2af5('0xa8')](_0x432ee2[_0x16a88e][_0x2af5('0xbe')]));}[_0x2af5('0xcb')](_0x299e98){const _0x2495cd=new Set(_0x299e98['map'](_0xc9998a=>_0xc9998a['id']));for(let _0x166a53=0x0;_0x166a53<_0x299e98[_0x2af5('0xcd')];_0x166a53++)_0x2495cd['has'](_0x299e98[_0x166a53][_0x2af5('0xbe')])||0x0==_0x299e98[_0x166a53][_0x2af5('0x67')]||(_0x299e98[_0x166a53][_0x2af5('0x17')]=!0x0);return _0x299e98[_0x2af5('0xe7')](_0x10eca7=>!_0x10eca7[_0x2af5('0x17')]);}['_markMismatchedRemovedTags'](_0x55344f){const _0x378ecf=new Set();for(let _0x16299c=0x0;_0x16299c<_0x55344f[_0x2af5('0xcd')];_0x16299c++){if(_0x378ecf[_0x2af5('0x5e')](_0x55344f[_0x16299c]['id'])&&_0x55344f[_0x16299c][_0x2af5('0xd6')]&&(_0x55344f[_0x16299c][_0x2af5('0x17')]=!0x0),_0x55344f[_0x16299c][_0x2af5('0x17')])continue;if(0x0==_0x55344f[_0x16299c][_0x2af5('0x67')])continue;if(_0x2af5('0x3c')!=_0x55344f[_0x16299c]['type'])continue;if(null==_0x55344f[_0x16299c][_0x2af5('0xbe')])continue;let _0x3d2a1c=_0x16299c+0x1,_0x3edb7c=0x0;for(;_0x55344f[_0x3d2a1c]['id']!=_0x55344f[_0x16299c]['pairId'];)_0x2af5('0x3c')==_0x55344f[_0x3d2a1c][_0x2af5('0x5c')]?_0x3edb7c++:_0x2af5('0xf9')==_0x55344f[_0x3d2a1c][_0x2af5('0x5c')]&&_0x3edb7c--,_0x3d2a1c++;if(0x0!=_0x3edb7c){if(_0x55344f[_0x16299c][_0x2af5('0xd6')])_0x55344f[_0x16299c][_0x2af5('0x17')]=!0x0;else for(;_0x3d2a1c!=_0x16299c;)_0x55344f[_0x3d2a1c][_0x2af5('0xd6')]&&0x0!=_0x55344f[_0x3d2a1c][_0x2af5('0x67')]&&(_0x55344f[_0x3d2a1c]['isIncorrect']=!0x0,_0x378ecf[_0x2af5('0xad')](_0x55344f[_0x3d2a1c][_0x2af5('0xbe')])),_0x3d2a1c--;}}return _0x55344f['filter'](_0x479f39=>!_0x479f39[_0x2af5('0x17')]);}[_0x2af5('0x9a')](_0x3f0f91){const _0x300500=this['editor'][_0x2af5('0x23')]['schema'];for(let _0x317fa6=0x0;_0x317fa6<_0x3f0f91['length'];_0x317fa6++){if(!(_0x3f0f91[_0x317fa6]['isAdded']||_0x3f0f91[_0x317fa6][_0x2af5('0x2e')]||_0x3f0f91[_0x317fa6]['isRemoved']||_0x3f0f91[_0x317fa6][_0x2af5('0xe1')]))continue;if(0x0==_0x3f0f91[_0x317fa6]['distance'])continue;const _0x1c2673=_0x3f0f91[_0x317fa6][_0x2af5('0xf2')];_0x300500[_0x2af5('0x19')](_0x1c2673)||_0x300500[_0x2af5('0x114')](_0x1c2673)||(_0x3f0f91[_0x317fa6][_0x2af5('0xaa')]&&delete _0x3f0f91[_0x317fa6][_0x2af5('0xaa')],_0x3f0f91[_0x317fa6]['isAddSuggestion']&&delete _0x3f0f91[_0x317fa6][_0x2af5('0x2e')],_0x3f0f91[_0x317fa6][_0x2af5('0xe1')]&&delete _0x3f0f91[_0x317fa6][_0x2af5('0xe1')],_0x3f0f91[_0x317fa6][_0x2af5('0xd6')]&&(_0x3f0f91[_0x317fa6]['isIncorrect']=!0x0));}return _0x3f0f91['filter'](_0x537d9c=>!_0x537d9c[_0x2af5('0x17')]);}[_0x2af5('0x3f')](_0x1787bd,_0x29e655,_0x4baaa6){const _0x2640f6=new _0x78ee8d(),_0x2eb3ce=[],_0x549a87=new Map(),_0x36d24e=this[_0x2af5('0x24')][_0x2af5('0x23')],_0x3dddd8=_0x36d24e[_0x2af5('0xd')],_0x428ca8=[_0x2640f6],_0x177cfd={},_0x22cd78={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3b0728=null;const _0x305d0f=[0x0];for(let _0x281f10=0x0;_0x281f10<_0x1787bd[_0x2af5('0xcd')];_0x281f10++){let _0xd4624c,_0x572eb7;if(_0x2af5('0x3c')===_0x1787bd[_0x281f10][_0x2af5('0x5c')]){_0xd4624c=_0x36d24e[_0x2af5('0x3d')](_0x2640f6,_0x305d0f);const _0x18728f=new _0x39553c(_0x1787bd[_0x281f10]['item'][_0x2af5('0x30')],_0x1787bd[_0x281f10][_0x2af5('0xf2')]['getAttributes']());_0x428ca8[0x0][_0x2af5('0xd7')](_0x18728f),_0x305d0f[_0x2af5('0xc1')](0x0),_0x428ca8['unshift'](_0x18728f),_0x572eb7=_0x36d24e['createPositionFromPath'](_0x2640f6,_0x305d0f),_0x3b0728=null;}else{if('elementEnd'===_0x1787bd[_0x281f10][_0x2af5('0x5c')])_0x428ca8['shift'](),_0xd4624c=_0x36d24e[_0x2af5('0x3d')](_0x2640f6,_0x305d0f),_0x305d0f[_0x2af5('0x7a')](),_0x305d0f[_0x305d0f[_0x2af5('0xcd')]-0x1]++,_0x572eb7=_0x36d24e[_0x2af5('0x3d')](_0x2640f6,_0x305d0f),_0x3b0728=null;else{if(_0xd4624c=_0x36d24e[_0x2af5('0x3d')](_0x2640f6,_0x305d0f),_0x3b0728&&_0x196ea2(_0x3b0728,_0x1787bd[_0x281f10]['item']))_0x3b0728[_0x2af5('0xf1')]+=_0x1787bd[_0x281f10][_0x2af5('0xf2')][_0x2af5('0x56')];else{const _0x4487d6=new _0x4662a3(_0x1787bd[_0x281f10][_0x2af5('0xf2')][_0x2af5('0x56')],_0x1787bd[_0x281f10][_0x2af5('0xf2')]['getAttributes']());_0x428ca8[0x0][_0x2af5('0xd7')](_0x4487d6),_0x3b0728=_0x4487d6;}_0x305d0f[_0x305d0f[_0x2af5('0xcd')]-0x1]+=_0x1787bd[_0x281f10][_0x2af5('0xf2')][_0x2af5('0x96')],_0x572eb7=_0x36d24e[_0x2af5('0x3d')](_0x2640f6,_0x305d0f);}}for(const _0x5d4f0d of _0x1787bd[_0x281f10][_0x2af5('0x6f')])_0x549a87[_0x2af5('0xf')](_0x5d4f0d,{'start':_0xd4624c,'end':null});_0x49a5c2('isRemoveSuggestion',_0x281f10,_0xd4624c,_0x572eb7),_0x49a5c2(_0x2af5('0x2e'),_0x281f10,_0xd4624c,_0x572eb7),_0x49a5c2(_0x2af5('0xd6'),_0x281f10,_0xd4624c,_0x572eb7),_0x49a5c2(_0x2af5('0xaa'),_0x281f10,_0xd4624c,_0x572eb7);for(const _0xd1ff15 of _0x1787bd[_0x281f10][_0x2af5('0x28')]){_0x549a87[_0x2af5('0xa8')](_0xd1ff15)[_0x2af5('0x99')]=_0x572eb7;}}for(const [_0x296c44,_0x486467]of _0x549a87){const _0x11e332=this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0xb9')](_0x486467[_0x2af5('0xee')],_0x486467[_0x2af5('0x99')]);_0x2640f6[_0x2af5('0x7e')][_0x2af5('0xf')](_0x296c44,_0x11e332);}return _0x2eb3ce[_0x2af5('0x1b')]((_0x5dce42,_0x1b38cb)=>{const _0x26c19a=_0x2640f6[_0x2af5('0x7e')][_0x2af5('0xa8')](_0x2af5('0x9f')+_0x5dce42['id']),_0x535f44=_0x2640f6['markers'][_0x2af5('0xa8')](_0x2af5('0x9f')+_0x1b38cb['id']);return _0x26c19a[_0x2af5('0xee')][_0x2af5('0x109')](_0x535f44[_0x2af5('0xee')])?-0x1:_0x26c19a['start'][_0x2af5('0x50')](_0x535f44[_0x2af5('0xee')])?0x1:_0x26c19a[_0x2af5('0x99')][_0x2af5('0x109')](_0x535f44[_0x2af5('0x99')])?-0x1:_0x26c19a[_0x2af5('0x99')][_0x2af5('0x50')](_0x535f44['end'])?0x1:_0x2af5('0xad')===_0x5dce42[_0x2af5('0x5c')]?-0x1:0x1;}),{'root':_0x2640f6,'changes':_0x2eb3ce};function _0x49a5c2(_0x415016,_0x1c09d2,_0x25c4d1,_0xac5693){const _0x384770=!!_0x1787bd[_0x1c09d2][_0x415016],_0x29a2c0=_0x384770?_0x1787bd[_0x1c09d2][_0x415016]['userId']:null,_0x175072=_0x1c09d2===_0x1787bd['length']-0x1,_0x4a8053=_0x22cd78[_0x415016][0x0],_0x3ef34c=_0x3dddd8['isObject'](_0x1787bd[_0x1c09d2][_0x2af5('0xf2')]);!_0x177cfd[_0x415016]&&_0x384770?_0x177cfd[_0x415016]={'start':_0x25c4d1,'tapeItem':_0x1787bd[_0x1c09d2],'userId':_0x29a2c0,'type':_0x415016}:_0x177cfd[_0x415016]&&!_0x384770?(_0x177cfd[_0x415016][_0x2af5('0x99')]=_0x25c4d1,_0x1aa8d7(_0x177cfd[_0x415016]),_0x177cfd[_0x415016]=null):_0x177cfd[_0x415016]&&_0x384770&&_0x177cfd[_0x415016][_0x2af5('0x21')]!==_0x29a2c0&&(_0x177cfd[_0x415016][_0x2af5('0x99')]=_0x25c4d1,_0x4a8053&&_0x4a8053[_0x2af5('0x21')]===_0x177cfd[_0x415016][_0x2af5('0x21')]||_0x1aa8d7(_0x177cfd[_0x415016]),_0x177cfd[_0x415016]={'start':_0x25c4d1,'tapeItem':_0x1787bd[_0x1c09d2],'userId':_0x29a2c0,'type':_0x415016}),_0x177cfd[_0x415016]&&_0x3ef34c&&(_0x2af5('0x3c')!==_0x1787bd[_0x1c09d2][_0x2af5('0x5c')]||_0x4a8053&&_0x4a8053[_0x2af5('0x21')]===_0x29a2c0||_0x22cd78[_0x415016][_0x2af5('0x10c')]({'userId':_0x29a2c0,'object':_0x1787bd[_0x1c09d2][_0x2af5('0xf2')],'change':_0x177cfd[_0x415016]}),_0x2af5('0xf9')===_0x1787bd[_0x1c09d2]['type']&&_0x4a8053&&_0x4a8053[_0x2af5('0x4f')]===_0x1787bd[_0x1c09d2][_0x2af5('0xf2')]&&(_0x22cd78[_0x415016][_0x2af5('0x100')](),_0x177cfd[_0x415016]=_0x4a8053[_0x2af5('0x11f')])),_0x177cfd[_0x415016]&&_0x175072&&(_0x177cfd[_0x415016][_0x2af5('0x99')]=_0xac5693,_0x1aa8d7(_0x177cfd[_0x415016]),_0x177cfd[_0x415016]=null);}function _0x1aa8d7({start:_0x23d8e0,end:_0x250e81,tapeItem:_0xd59437,userId:_0x1f8e82,type:_0x4ed8ac}){const _0x27d52e=_0xd59437['item'],_0x26bc23=_0x36d24e[_0x2af5('0xd')][_0x2af5('0x19')](_0x27d52e)&&!_0x36d24e['schema'][_0x2af5('0x114')](_0x27d52e),_0x176ab0=_0x23d8e0['nodeAfter']==_0x250e81[_0x2af5('0x70')]&&_0x250e81[_0x2af5('0x61')];if(_0x26bc23&&_0x176ab0)return;const _0x16a864=_0x36d24e[_0x2af5('0xb9')](_0x23d8e0,_0x250e81),_0x520027=_0x29e655[_0x2af5('0xa8')](_0x1f8e82),_0x123606=new _0x35673c({'author':_0x520027,'type':'isAdded'==_0x4ed8ac||_0x2af5('0x2e')==_0x4ed8ac?_0x2af5('0xad'):_0x2af5('0xff'),'data':{'isSuggestion':_0x2af5('0x2e')==_0x4ed8ac||_0x2af5('0xe1')==_0x4ed8ac},'createdAt':new Date(),'rootName':_0x4baaa6});_0x2eb3ce['push'](_0x123606),_0x2640f6['markers']['set'](_0x2af5('0x9f')+_0x123606['id'],_0x16a864);}function _0x196ea2(_0x682c92,_0x2385b8){const _0x23557d=_0x682c92[_0x2af5('0x43')](),_0xc68a5a=_0x2385b8['getAttributes']();for(const _0x355f98 of _0x23557d){if(_0x355f98[0x1]!==_0x2385b8[_0x2af5('0x33')](_0x355f98[0x0]))return!0x1;_0xc68a5a[_0x2af5('0x12')]();}return _0xc68a5a[_0x2af5('0x12')]()[_0x2af5('0x83')];}}[_0x2af5('0x16')](){this[_0x2af5('0x24')]['conversion']['for'](_0x2af5('0x124'))['dataToMarker']({'view':'revision'}),this[_0x2af5('0x24')]['conversion']['for'](_0x2af5('0x97'))[_0x2af5('0x5a')]({'model':'revision','view':_0x311440=>{const _0x20fee7=_0x311440[_0x2af5('0x8')][_0x2af5('0x93')](':')[0x1],_0xe89f44=this['_getChangeFromId'](_0x20fee7);if(!_0xe89f44)return null;const _0x5cabca='add'==_0xe89f44['type']?'insertion':_0x2af5('0x113'),_0x10f9c3=[_0x2af5('0x74'),_0x2af5('0x2a')+_0x5cabca];return _0xe89f44[_0x2af5('0x56')][_0x2af5('0xf4')]&&_0x10f9c3[_0x2af5('0xc1')](_0x2af5('0x2a')+_0x5cabca+_0x2af5('0x7b')),this[_0x2af5('0x75')]==_0xe89f44&&_0x10f9c3[_0x2af5('0xc1')](_0x2af5('0x120')),{'classes':_0x10f9c3,'attributes':{'data-change-id':_0x20fee7}};}}),this[_0x2af5('0x24')][_0x2af5('0xe5')]['for'](_0x2af5('0x124'))[_0x2af5('0xad')](_0x3b6f3e=>{_0x3b6f3e['on'](_0x2af5('0x41'),(_0x54a623,_0x1c884d,_0x81da00)=>{const _0x1d1e15=_0x1c884d[_0x2af5('0xf0')]['getChild'](0x0);if(!_0x1d1e15||!_0x1d1e15['is'](_0x2af5('0xd1'),_0x2af5('0xdd')))return;if(!_0x81da00[_0x2af5('0x4c')][_0x2af5('0x77')](_0x1d1e15,{'attributes':[_0x2af5('0x10a'),'vid_end']}))return;const _0x595f16=_0x1c884d[_0x2af5('0x10e')]['start']['nodeAfter'];_0x81da00[_0x2af5('0xf8')]['setAttribute'](_0x2af5('0x10a'),_0x1d1e15[_0x2af5('0x33')]('vid_start'),_0x595f16),_0x81da00['writer'][_0x2af5('0x58')]('vid_end',_0x1d1e15['getAttribute'](_0x2af5('0xa5')),_0x595f16);},{'priority':_0x2af5('0xe2')});}),this[_0x2af5('0x24')]['conversion'][_0x2af5('0xa3')]('upcast')[_0x2af5('0xad')](_0x24f45a=>{_0x24f45a['on']('element',(_0x41c30e,_0x5ee69a,_0xdf88fa)=>{if(!_0xdf88fa[_0x2af5('0x4c')][_0x2af5('0x77')](_0x5ee69a['viewItem'],{'attributes':[_0x2af5('0x10a'),_0x2af5('0xa5')]}))return;if(_0x5ee69a[_0x2af5('0x10e')][_0x2af5('0xc6')])return;const _0x21cdfe=_0x5ee69a['modelRange']['start']['nodeAfter'];_0x21cdfe[_0x2af5('0x81')]('vid_start')||_0x21cdfe['hasAttribute']('vid')||(_0xdf88fa['writer']['setAttribute'](_0x2af5('0x10a'),_0x5ee69a[_0x2af5('0xf0')][_0x2af5('0x33')](_0x2af5('0x10a')),_0x21cdfe),_0xdf88fa['writer'][_0x2af5('0x58')](_0x2af5('0xa5'),_0x5ee69a[_0x2af5('0xf0')][_0x2af5('0x33')](_0x2af5('0xa5')),_0x21cdfe));},{'priority':_0x2af5('0xe2')});}),this[_0x2af5('0x24')][_0x2af5('0xe5')][_0x2af5('0xa3')](_0x2af5('0x124'))['elementToAttribute']({'view':{'name':_0x2af5('0x1f'),'attributes':{'vid':!0x0}},'model':{'key':_0x2af5('0x91'),'value':_0xc002af=>_0xc002af['getAttribute']('vid')}}),this[_0x2af5('0x24')]['model'][_0x2af5('0xd')]['on'](_0x2af5('0x98'),(_0x31ae50,[,_0x6a628e])=>{[_0x2af5('0x10a'),_0x2af5('0xa5'),'vid'][_0x2af5('0xe8')](_0x6a628e)&&(_0x31ae50[_0x2af5('0xa7')]=!0x0,_0x31ae50[_0x2af5('0x32')]());},{'priority':'highest'}),this[_0x2af5('0x24')][_0x2af5('0xe5')][_0x2af5('0xa3')](_0x2af5('0x31'))[_0x2af5('0xad')](_0x55229c=>{_0x55229c['on']('attribute:vid',(_0x550181,_0x5413e4,_0x4b7810)=>{if('\x20'!=_0x5413e4['item'][_0x2af5('0x56')]||_0x5413e4['item'][_0x2af5('0x70')][_0x2af5('0xd2')]>0x1)return;if(!_0x4b7810['consumable'][_0x2af5('0x77')](_0x5413e4[_0x2af5('0xf2')],_0x550181[_0x2af5('0x30')]))return;const _0x18f41e=_0x4b7810[_0x2af5('0xf8')],_0x224bf6=_0x4b7810[_0x2af5('0x54')][_0x2af5('0x25')](_0x5413e4['range']);_0x18f41e[_0x2af5('0xfa')](_0x224bf6,_0x18f41e[_0x2af5('0x117')]('span'));});}),this[_0x2af5('0x24')]['conversion'][_0x2af5('0xa3')](_0x2af5('0x31'))[_0x2af5('0x40')]({'model':'revision'}),this[_0x2af5('0x24')]['editing'][_0x2af5('0xd5')]['on'](_0x2af5('0xd3'),function(_0x173b25){const _0x31f199=_0x173b25[_0x2af5('0x9')]['get']('RevisionViewer');return(_0x101a53,_0x5dbb07,_0x17e74f)=>{const _0x1d2ede=_0x5dbb07['markerName'][_0x2af5('0x93')](':')[0x1],_0x55f243=_0x31f199[_0x2af5('0x26')](_0x1d2ede);if(!_0x55f243)return null;const _0x2260ba='add'==_0x55f243[_0x2af5('0x5c')]?'split':_0x2af5('0x6d');if(!_0x17e74f[_0x2af5('0x4c')][_0x2af5('0x5b')](_0x5dbb07[_0x2af5('0xdf')],_0x101a53[_0x2af5('0x30')]))return;const _0x4978b3=_0x5dbb07['markerRange'][_0x2af5('0xb6')](),_0xcab211=_0x5dbb07[_0x2af5('0xdf')]['start'],_0x119354=_0x173b25[_0x2af5('0x23')][_0x2af5('0xd')];let _0xccf4d0=null,_0x540778=null,_0x77cbab=!0x1,_0x5eb80a=!0x1;for(const _0x3c577a of _0x4978b3){const _0x52828c=_0x3c577a[_0x2af5('0xf2')];_0x77cbab=_0x77cbab||_0x119354[_0x2af5('0x45')](_0x52828c);const _0x53079f=_0x17e74f['mapper']['toViewElement'](_0x52828c);if(_0x53079f&&_0x53079f[_0x2af5('0x1a')](_0x2af5('0x85')))return;_0x2af5('0xf9')==_0x3c577a[_0x2af5('0x5c')]&&(_0x119354['isBlock'](_0x52828c)&&!_0x119354[_0x2af5('0x114')](_0x52828c)&&(_0x52828c['nextSibling']||_0xcab211['isAtEnd']?_0xccf4d0&&_0xccf4d0[_0x2af5('0x70')]==_0x52828c||(_0xccf4d0=_0x52828c,_0x54005b(_0x3c577a['previousPosition']),_0x5eb80a=!0x0):_0x540778=_0x540778||_0x3c577a[_0x2af5('0x52')]));}function _0x54005b(_0x1e8e3f){const _0x356e7c=_0x17e74f['writer']['createUIElement'](_0x2af5('0x1f'),{'class':_0x2af5('0x2a')+_0x2260ba}),_0x2e06ad=_0x17e74f[_0x2af5('0x54')][_0x2af5('0x9e')](_0x1e8e3f);_0x55f243[_0x2af5('0x56')][_0x2af5('0xf4')]&&_0x17e74f[_0x2af5('0xf8')][_0x2af5('0xda')](_0x2af5('0x2a')+_0x2260ba+_0x2af5('0x7b'),_0x356e7c),_0x31f199['activeChange']==_0x55f243&&_0x17e74f['writer']['addClass'](_0x2af5('0x120'),_0x356e7c),_0x17e74f[_0x2af5('0xf8')][_0x2af5('0x63')](_0x2e06ad,_0x356e7c),_0x17e74f[_0x2af5('0x54')]['bindElementToMarker'](_0x356e7c,_0x5dbb07[_0x2af5('0x8')]);}_0x77cbab||_0x5eb80a||!_0x540778||_0x54005b(_0x540778);};}(this[_0x2af5('0x24')]),{'priority':_0x2af5('0xab')}),this[_0x2af5('0x24')][_0x2af5('0xa4')][_0x2af5('0xd5')]['on'](_0x2af5('0x34'),(_0x7dda19,_0x41e162,_0x261d91)=>{const _0x4e2d4d=_0x261d91[_0x2af5('0x54')][_0x2af5('0x1')](_0x41e162[_0x2af5('0x8')]);if(_0x4e2d4d)for(const _0x556903 of _0x4e2d4d)(_0x556903['hasClass']('ck-suggestion-marker-split')||_0x556903[_0x2af5('0xca')](_0x2af5('0x11b')))&&(_0x261d91['mapper']['unbindElementFromMarkerName'](_0x556903,_0x41e162[_0x2af5('0x8')]),_0x261d91['writer'][_0x2af5('0xff')](_0x556903));},{'priority':_0x2af5('0xab')}),this[_0x2af5('0x24')][_0x2af5('0xa4')]['downcastDispatcher']['on'](_0x2af5('0xd3'),(_0x3555e9,_0x1ac552,_0x2e998f)=>{const _0x1aeb68=_0x1ac552['markerName'][_0x2af5('0x93')](':')[0x1],_0x25c900=this[_0x2af5('0x26')](_0x1aeb68);if(!_0x25c900)return null;const _0x7fff02=_0x2af5('0xad')==_0x25c900['type']?_0x2af5('0x93'):'merge';if(_0x2e998f[_0x2af5('0x4c')][_0x2af5('0x5b')](_0x1ac552['markerRange'],_0x3555e9[_0x2af5('0x30')]))for(const _0x176a67 of _0x1ac552['markerRange'][_0x2af5('0xb5')]()){if(!_0x176a67['is'](_0x2af5('0xd1'),'softBreak'))continue;const _0x2e7edf=_0x2e998f[_0x2af5('0xf8')][_0x2af5('0x119')]('span',{'class':_0x2af5('0x2a')+_0x7fff02}),_0x52049e=_0x2e998f[_0x2af5('0x54')]['toViewPosition'](this[_0x2af5('0x24')][_0x2af5('0x23')]['createPositionBefore'](_0x176a67));_0x25c900[_0x2af5('0x56')][_0x2af5('0xf4')]&&_0x2e998f[_0x2af5('0xf8')][_0x2af5('0xda')](_0x2af5('0x2a')+_0x7fff02+_0x2af5('0x7b'),_0x2e7edf),this['activeChange']==_0x25c900&&_0x2e998f['writer'][_0x2af5('0xda')](_0x2af5('0x120'),_0x2e7edf),_0x2e998f[_0x2af5('0xf8')][_0x2af5('0x63')](_0x52049e,_0x2e7edf),_0x2e998f['mapper'][_0x2af5('0x123')](_0x2e7edf,_0x1ac552[_0x2af5('0x8')]);}},{'priority':_0x2af5('0xab')}),this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0xc3')]['on'](_0x2af5('0x11f'),()=>{this['editor']['editing'][_0x2af5('0x22')]['change'](_0x312e52=>{for(const _0x2e58b3 of this['editor'][_0x2af5('0x23')][_0x2af5('0xc3')][_0x2af5('0x2b')]()){const _0xdd1c5=this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0xc3')][_0x2af5('0xe9')](_0x2e58b3),_0x2bd4c8=this['editor'][_0x2af5('0xa4')][_0x2af5('0x22')][_0x2af5('0xc3')][_0x2af5('0xe9')](_0x2e58b3);if(_0x2bd4c8){const _0x4e01aa=_0xdd1c5[_0x2af5('0x33')](_0x2af5('0x42'));if(_0x312e52['removeAttribute']('data-change-id',_0x2bd4c8),_0x312e52['removeClass'](_0x2af5('0x62'),_0x2bd4c8),_0x312e52[_0x2af5('0xfb')]('ck-revision-history-root-remove',_0x2bd4c8),_0x312e52[_0x2af5('0xfb')](_0x2af5('0x3b'),_0x2bd4c8),_0x4e01aa){const _0x170159=this[_0x2af5('0x26')](_0x4e01aa);if(!_0x170159)return null;_0x312e52['setAttribute']('data-change-id',_0x4e01aa,_0x2bd4c8),_0x312e52[_0x2af5('0xda')](_0x2af5('0x107')+_0x170159['type'],_0x2bd4c8),this['activeChange']==_0x170159&&_0x312e52[_0x2af5('0xda')]('ck-revision-history-root--active',_0x2bd4c8);}}}});}),this[_0x2af5('0x24')][_0x2af5('0xe5')][_0x2af5('0xa3')](_0x2af5('0x124'))[_0x2af5('0xae')]({'view':'comment','model':_0x2a33f7=>_0x2af5('0x69')+_0x2a33f7,'converterPriority':_0x2af5('0x37')}),this[_0x2af5('0x24')]['conversion'][_0x2af5('0xa3')]('upcast')[_0x2af5('0xae')]({'view':_0x2af5('0x3'),'model':_0xb4f95d=>_0x2af5('0x1e')+_0xb4f95d,'converterPriority':'highest'}),this[_0x2af5('0x24')]['conversion'][_0x2af5('0xa3')](_0x2af5('0x31'))[_0x2af5('0x40')]({'model':_0x2af5('0x5d'),'view':_0x4a746c=>({'name':_0x2af5('0xea')+_0x4a746c,'group':_0x2af5('0x5d')}),'converterPriority':_0x2af5('0x37')}),this[_0x2af5('0x24')][_0x2af5('0xe5')][_0x2af5('0xa3')](_0x2af5('0x97'))[_0x2af5('0x5a')]({'model':_0x2af5('0x5d'),'view':_0x1f3ea0=>{const _0x57ffe9=_0x1f3ea0[_0x2af5('0x8')][_0x2af5('0x93')](':')[0x1];return'insertion'!=_0x57ffe9&&_0x2af5('0x113')!=_0x57ffe9?null:{'classes':[_0x2af5('0x6'),_0x2af5('0xa')+_0x57ffe9]};}}),this[_0x2af5('0x24')][_0x2af5('0xa4')][_0x2af5('0xd5')]['on'](_0x2af5('0x103'),et(this['editor'],_0x2af5('0x6d')),{'priority':_0x2af5('0xab')}),this[_0x2af5('0x24')]['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this[_0x2af5('0x24')],_0x2af5('0x93')),{'priority':'high'}),this[_0x2af5('0x24')][_0x2af5('0xa4')][_0x2af5('0xd5')]['on']('removeMarker:revision-suggestion',(_0x3fbe5e,_0x56b9d8,_0x41fcf5)=>{const _0x52b7d4=_0x41fcf5['mapper'][_0x2af5('0x1')](_0x56b9d8[_0x2af5('0x8')]);if(_0x52b7d4)for(const _0x3ae2e5 of _0x52b7d4)_0x3ae2e5['is'](_0x2af5('0x0'))&&(_0x41fcf5[_0x2af5('0x54')]['unbindElementFromMarkerName'](_0x3ae2e5,_0x56b9d8[_0x2af5('0x8')]),_0x41fcf5[_0x2af5('0xf8')]['remove'](_0x3ae2e5));},{'priority':_0x2af5('0xab')});}[_0x2af5('0x26')](_0x4f1a26){return this[_0x2af5('0xf5')]['get'](_0x4f1a26);}[_0x2af5('0x9b')](_0x5e65f8){return this[_0x2af5('0xfe')]&&this[_0x2af5('0xfe')][_0x2af5('0x104')](),this[_0x2af5('0xfe')]=new _0x52ad46(this['editor'][_0x2af5('0x66')],_0x5e65f8),this['_changeView'];}['_initInteractions'](){this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0xc3')][_0x2af5('0xb0')][_0x2af5('0xac')](_0x2af5('0x78')),this['on'](_0x2af5('0x10'),(_0x3ac4cb,_0xadf415,_0x9bace4,_0x520df5)=>{_0x520df5&&this[_0x2af5('0xc4')][_0x2af5('0xff')](_0x520df5),_0x9bace4&&(this[_0x2af5('0xc4')][_0x2af5('0xad')]({'view':_0x9bace4,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x4683b5=this[_0x2af5('0x24')][_0x2af5('0xa4')],_0x2c8099=this['_getChangeFromId'](_0x9bace4[_0x2af5('0x9d')]);let _0x3ed2a7;if(_0x2c8099[_0x2af5('0x56')][_0x2af5('0xe3')]){const _0x3a91a9=_0x4683b5[_0x2af5('0x22')][_0x2af5('0xbd')](_0x2c8099[_0x2af5('0x29')]);_0x3ed2a7=Array[_0x2af5('0x11a')](_0x3a91a9[_0x2af5('0x94')]());}else{const _0x146d67=this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0x7e')][_0x2af5('0xa8')]('revision:'+_0x9bace4[_0x2af5('0x9d')]);_0x3ed2a7=Array[_0x2af5('0x11a')](_0x4683b5['mapper'][_0x2af5('0x1')](_0x146d67[_0x2af5('0x30')]))['map'](_0x441227=>_0x4683b5[_0x2af5('0x22')][_0x2af5('0x90')][_0x2af5('0x13')](_0x441227))[_0x2af5('0xd9')](_0x302831=>Array['from'](_0x302831[_0x2af5('0x94')]()))[_0x2af5('0xb1')]();}if(!this[_0x2af5('0xb3')])return _0x3ed2a7[0x0];return _0x3ed2a7[_0x2af5('0x116')](_0x31df23=>_0x31df23[_0x2af5('0x11c')]-0x3<=this[_0x2af5('0xb3')]['y']&&_0x31df23[_0x2af5('0xc8')]+0x3>=this[_0x2af5('0xb3')]['y']&&_0x31df23[_0x2af5('0x47')]-0x3<=this[_0x2af5('0xb3')]['x']&&_0x31df23[_0x2af5('0x115')]+0x3>=this[_0x2af5('0xb3')]['x'])||_0x3ed2a7[0x0];}}}),this['_balloon']['showStack'](_0x2af5('0x105')));}),this['on'](_0x2af5('0x10b'),(_0x4a2190,_0x249f6c,_0x23cedb,_0x2162e3)=>{this[_0x2af5('0x79')]=_0x23cedb?this['_getViewForChange'](_0x23cedb):null,this[_0x2af5('0x24')][_0x2af5('0x23')][_0x2af5('0x11f')](()=>{const _0x2fec66=this[_0x2af5('0x24')][_0x2af5('0xa4')];_0x2162e3&&(_0x2162e3[_0x2af5('0x56')][_0x2af5('0xe3')]?_0x2fec66[_0x2af5('0x22')][_0x2af5('0x11f')](_0x362bfc=>{_0x362bfc['removeClass'](_0x2af5('0x3b'),_0x2fec66[_0x2af5('0x22')]['document'][_0x2af5('0xe9')](_0x2162e3[_0x2af5('0x29')]));}):_0x2fec66[_0x2af5('0x44')]('revision:'+_0x2162e3['id'])),_0x23cedb&&(_0x23cedb[_0x2af5('0x56')][_0x2af5('0xe3')]?_0x2fec66[_0x2af5('0x22')]['change'](_0x2c7618=>{_0x2c7618[_0x2af5('0xda')](_0x2af5('0x3b'),_0x2fec66[_0x2af5('0x22')][_0x2af5('0xc3')][_0x2af5('0xe9')](_0x23cedb[_0x2af5('0x29')]));}):_0x2fec66['reconvertMarker']('revision:'+_0x23cedb['id']));});}),this['listenTo'](this[_0x2af5('0x24')][_0x2af5('0xa4')][_0x2af5('0x22')][_0x2af5('0xc3')],_0x2af5('0x3a'),(_0x4cc3e6,_0x181c42)=>{if(this['activeChange'])return;const _0x6b048=this[_0x2af5('0x68')](_0x181c42[_0x2af5('0x10f')]),_0x5ce123=this[_0x2af5('0xf5')][_0x2af5('0xa8')](_0x6b048);_0x5ce123?(this[_0x2af5('0xb3')]={'x':_0x181c42[_0x2af5('0x18')]['x'],'y':_0x181c42[_0x2af5('0x18')]['y']},this[_0x2af5('0x79')]=this[_0x2af5('0x9b')](_0x5ce123)):(this[_0x2af5('0xb3')]=null,this[_0x2af5('0x79')]=null);}),this[_0x2af5('0x1d')](this[_0x2af5('0x24')][_0x2af5('0xa4')]['view'][_0x2af5('0xc3')],_0x2af5('0x71'),(_0x44377f,_0x30eb97)=>{const _0x23b3b4=this[_0x2af5('0x68')](_0x30eb97[_0x2af5('0x10f')]),_0x2e14dd=this[_0x2af5('0xf5')][_0x2af5('0xa8')](_0x23b3b4);_0x2e14dd?(this[_0x2af5('0xb3')]={'x':_0x30eb97['domEvent']['x'],'y':_0x30eb97['domEvent']['y']},_0x2e14dd===this['activeChange']?this['_balloon'][_0x2af5('0xfc')]():this[_0x2af5('0x75')]=_0x2e14dd):(this[_0x2af5('0xb3')]=null,this[_0x2af5('0x75')]=null);});}['_findChangeIdFromDomTarget'](_0x1a9475){do{const _0x5e0348=_0x1a9475[_0x2af5('0x33')](_0x2af5('0x39'));if(_0x5e0348)return _0x5e0348;_0x1a9475=_0x1a9475['parent'];}while(_0x1a9475);return null;}[_0x2af5('0xb4')](){this[_0x2af5('0x24')]['model']['change'](_0x221582=>{for(const _0x501052 of this['editor'][_0x2af5('0x23')][_0x2af5('0x7e')])_0x221582['removeMarker'](_0x501052);});}}function et(_0x2096cd,_0x4061e0){return(_0x1f25b0,_0x41918d,_0x5f252a)=>{if(!_0x5f252a['consumable'][_0x2af5('0x5b')](_0x41918d[_0x2af5('0xdf')],_0x1f25b0[_0x2af5('0x30')]))return;const _0x2b6ae3=_0x41918d[_0x2af5('0xdf')]['getWalker'](),_0x38153b=_0x41918d['markerRange'][_0x2af5('0xee')],_0x234d8c=_0x2096cd[_0x2af5('0x23')]['schema'];let _0x5ec36c=null,_0x459c94=null,_0x4b87e3=!0x1,_0x2551bd=!0x1;for(const _0x2dd9dd of _0x2b6ae3){const _0x4cd7db=_0x2dd9dd['item'];_0x4b87e3=_0x4b87e3||_0x234d8c[_0x2af5('0x45')](_0x4cd7db);const _0x2779d0=_0x5f252a[_0x2af5('0x54')]['toViewElement'](_0x4cd7db);if(_0x2779d0&&_0x2779d0[_0x2af5('0x1a')](_0x2af5('0x85')))return;'elementEnd'==_0x2dd9dd['type']&&(_0x234d8c['isBlock'](_0x4cd7db)&&!_0x234d8c['isLimit'](_0x4cd7db)&&(_0x4cd7db[_0x2af5('0xc')]||_0x38153b[_0x2af5('0x4d')]?_0x5ec36c&&_0x5ec36c[_0x2af5('0x70')]==_0x4cd7db||(_0x5ec36c=_0x4cd7db,_0x465541(_0x2dd9dd[_0x2af5('0x52')]),_0x2551bd=!0x0):_0x459c94=_0x459c94||_0x2dd9dd[_0x2af5('0x52')]));}function _0x465541(_0x5cc8b3){const _0x58c6ea=_0x5f252a[_0x2af5('0x54')][_0x2af5('0x9e')](_0x5cc8b3),_0xf66945=_0x5f252a[_0x2af5('0xf8')]['createUIElement'](_0x2af5('0x1f'),{'class':'ck-suggestion-preview-marker-'+_0x4061e0});_0x5f252a[_0x2af5('0xf8')][_0x2af5('0x63')](_0x58c6ea,_0xf66945),_0x5f252a[_0x2af5('0x54')][_0x2af5('0x123')](_0xf66945,_0x41918d[_0x2af5('0x8')]);}_0x4b87e3||_0x2551bd||!_0x459c94||_0x465541(_0x459c94);};}export class RestoreRevisionCommand extends _0x3a55c2{constructor(_0x41ff7b){super(_0x41ff7b);const _0x1d2ca1=_0x41ff7b[_0x2af5('0x9')][_0x2af5('0xa8')](d);this[_0x2af5('0xe')]=!0x1,this[_0x2af5('0x1d')](_0x1d2ca1,_0x2af5('0xb8'),()=>this['refresh']()),this[_0x2af5('0x1d')](_0x1d2ca1,_0x2af5('0x11'),()=>this['refresh']());}[_0x2af5('0xdc')](){const _0x3910bc=this[_0x2af5('0x24')],_0x518722=_0x3910bc[_0x2af5('0x9')][_0x2af5('0xa8')](d),_0x5050d6=_0x518722[_0x2af5('0x6a')]?_0x518722['diff'][_0x2af5('0x1c')]:null;_0x3910bc[_0x2af5('0x8e')][_0x2af5('0xa8')](_0x2af5('0x95'))[_0x2af5('0xa2')](_0x5050d6);}['refresh'](){const {isReady:_0x4bb46e,isEnabled:_0x31fa2e}=this[_0x2af5('0x24')][_0x2af5('0x9')]['get'](d);this['isEnabled']=_0x4bb46e&&_0x31fa2e;}}export class ShowChangeCommand extends _0x3a55c2{constructor(_0x3159cd,{direction:_0xf877ff}){super(_0x3159cd);const _0x561cb5=_0x3159cd['plugins'][_0x2af5('0xa8')](d);this[_0x2af5('0xe')]=!0x1,this[_0x2af5('0x3e')]=_0x2af5('0x121')===_0xf877ff?0x1:-0x1,this[_0x2af5('0x1d')](_0x561cb5,_0x2af5('0xb8'),()=>this['refresh']()),this[_0x2af5('0x1d')](_0x561cb5,_0x2af5('0x11'),()=>this['refresh']()),this[_0x2af5('0x1d')](_0x561cb5,_0x2af5('0x10b'),()=>this[_0x2af5('0xfd')]());}[_0x2af5('0xdc')](){const _0x360e56=this['editor'],_0x36625a=_0x360e56[_0x2af5('0x9')]['get'](d),{isNavigationMode:_0xb3d5aa,currentChangeNumber:_0x35b7c8}=_0x36625a;let _0x41ffb8;if(_0x36625a[_0x2af5('0x75')]=_0xb3d5aa?_0x36625a['diff'][_0x2af5('0x111')][_0x2af5('0xa8')](_0x35b7c8+this['_step']):_0x36625a['diff'][_0x2af5('0x111')]['first'],_0x36625a[_0x2af5('0x75')]['data'][_0x2af5('0xe3')])_0x41ffb8=_0x360e56[_0x2af5('0xa4')][_0x2af5('0x22')]['getDomRoot'](_0x36625a[_0x2af5('0x75')][_0x2af5('0x29')]);else{const _0x19cb2f=_0x360e56[_0x2af5('0x23')][_0x2af5('0x7e')]['get'](_0x2af5('0x9f')+_0x36625a[_0x2af5('0x75')]['id']);_0x41ffb8=_0x324c3d(_0x360e56[_0x2af5('0xa4')],_0x19cb2f);}_0x5686ab({'target':_0x41ffb8,'viewportOffset':0x28});}[_0x2af5('0xfd')](){const {isNavigationMode:_0x3f3989,currentChangeNumber:_0x29e66d,numberOfChanges:_0x102bd6,isReady:_0x30ca5d,isEnabled:_0x535379}=this[_0x2af5('0x24')][_0x2af5('0x9')][_0x2af5('0xa8')](d);this['isEnabled']=!!(_0x535379&&_0x30ca5d&&_0x102bd6)&&(!_0x3f3989||(0x1===this[_0x2af5('0x3e')]?_0x29e66d<_0x102bd6-0x1:_0x29e66d>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2184=['buttonView','Compare\x20against\x20selected','locale','children','class','Name\x20this\x20revision','isReady','extendTemplate','listenTo','_action','source','set','listView','isEnabled','Show\x20more\x20items','isActionsDropdownOpen','find','name','button','change:isActionsDropdownOpen','add','stopPropagation','first','bind','isVisible','panelPosition','items','bindTemplate','ck-on','function','action'];(function(_0x595473,_0x218429){const _0x1981ff=function(_0x553d38){while(--_0x553d38){_0x595473['push'](_0x595473['shift']());}};_0x1981ff(++_0x218429);}(_0x2184,0x1db));const _0x1981=function(_0x595473,_0x218429){_0x595473=_0x595473-0x0;let _0x1981ff=_0x2184[_0x595473];return _0x1981ff;};import{Collection as _0xc49d42}from'ckeditor5/src/utils';import{icons as _0x1c91df}from'ckeditor5/src/core';import{Model as _0x5e790a,addListToDropdown as _0x102008,createDropdown as _0x2df76e}from'ckeditor5/src/ui';import{getTranslation as _0x5d5537}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x283458,_0x40be32){const _0x2f53ae=_0x283458[_0x1981('0x11')],_0x376bd5=_0x283458[_0x1981('0x17')],_0x2e3a6b=_0x2df76e(_0x376bd5);_0x2e3a6b[_0x1981('0xf')]='sw';const _0xfc9c84=function(_0x9e26de,_0x429816){const _0x11c485=function(_0x2e599d,_0x1b2120){const _0x3cdc9d=_0x2e599d[_0x1981('0x17')],_0x3f9e13={'Compare\x20against\x20selected':_0x5d5537(_0x3cdc9d,_0x1981('0x16')),'Name\x20this\x20revision':_0x5d5537(_0x3cdc9d,_0x1981('0x1a')),'Restore\x20this\x20revision':_0x5d5537(_0x3cdc9d,'Restore\x20this\x20revision')};return _0x1b2120['map'](_0xcc7d3f=>{const _0x5f23dd=_0x3f9e13[_0xcc7d3f[_0x1981('0x7')]];return _0x5f23dd&&_0x5f23dd!==_0xcc7d3f[_0x1981('0x7')]&&(_0xcc7d3f[_0x1981('0x7')]=_0x5f23dd),_0xcc7d3f;});}(_0x9e26de,_0x429816),_0x1d7fa3=new _0xc49d42();for(const _0x1ec0e8 of _0x11c485){const _0x371376={'type':_0x1981('0x8'),'model':new _0x5e790a({'label':_0x1ec0e8['name'],'class':_0x1ec0e8[_0x1981('0x19')],'withText':!0x0,'_action':_0x1ec0e8[_0x1981('0x14')]})};_0x371376['model'][_0x1981('0xd')](_0x1981('0x3'))['to'](_0x9e26de,_0x1981('0x5'),_0x3ecf65=>_0x1981('0x13')!=typeof _0x1ec0e8['isEnabled']||(!_0x3ecf65||_0x1ec0e8['isEnabled'](_0x9e26de))),_0x1d7fa3[_0x1981('0xa')](_0x371376);}return _0x1d7fa3;}(_0x283458,_0x40be32);return _0x283458[_0x1981('0xd')](_0x1981('0x5'))['to'](_0x2e3a6b,'isOpen'),_0x2e3a6b[_0x1981('0x15')][_0x1981('0x1')]({'label':_0x5d5537(_0x376bd5,_0x1981('0x4')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1c91df['threeVerticalDots']}),_0x2e3a6b[_0x1981('0x1c')]({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2f53ae['if'](_0x1981('0x5'),_0x1981('0x12'))]},'on':{'click':_0x2f53ae['to'](_0x1d9f8=>_0x1d9f8[_0x1981('0xb')]())}}),_0x2e3a6b['on']('execute',_0x54c99e=>{_0x283458[_0x1981('0x1b')]&&_0x1981('0x13')==typeof _0x54c99e[_0x1981('0x0')][_0x1981('0x1e')]&&_0x54c99e[_0x1981('0x0')][_0x1981('0x1e')](_0x283458);}),_0x102008(_0x2e3a6b,_0xfc9c84),_0x2e3a6b[_0x1981('0x1d')](_0x283458,_0x1981('0x9'),(_0x3135e4,_0x4b052c,_0x3f6a86)=>{if(_0x3f6a86)for(const _0x5bc647 of _0x2e3a6b[_0x1981('0x2')][_0x1981('0x10')]){const _0x417b02=_0x5bc647[_0x1981('0x18')][_0x1981('0xc')],_0x1109a9=_0x40be32[_0x1981('0x6')](_0x11945c=>_0x11945c['action']===_0x417b02[_0x1981('0x1e')])[_0x1981('0xe')];_0x5bc647[_0x1981('0xe')]=void 0x0===_0x1109a9||_0x1109a9(_0x283458);}}),_0x2e3a6b;}
23
+ const _0x32d9=['listView','bindTemplate','Show\x20more\x20items','class','isOpen','extendTemplate','source','bind','_action','ck-on','Name\x20this\x20revision','Restore\x20this\x20revision','locale','set','isReady','name','action','items','panelPosition','isEnabled','find','Compare\x20against\x20selected','add','buttonView','ck-revision-history-sidebar__revision__actions','isActionsDropdownOpen','isVisible'];(function(_0x3671a7,_0x32d990){const _0x5e5e1a=function(_0x3cc4ea){while(--_0x3cc4ea){_0x3671a7['push'](_0x3671a7['shift']());}};_0x5e5e1a(++_0x32d990);}(_0x32d9,0x148));const _0x5e5e=function(_0x3671a7,_0x32d990){_0x3671a7=_0x3671a7-0x0;let _0x5e5e1a=_0x32d9[_0x3671a7];return _0x5e5e1a;};import{Collection as _0x355625}from'ckeditor5/src/utils';import{icons as _0x1e23b9}from'ckeditor5/src/core';import{Model as _0x25dfae,addListToDropdown as _0x54e907,createDropdown as _0x29bb8e}from'ckeditor5/src/ui';import{getTranslation as _0x2eef79}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x1fc763,_0x4eab19){const _0x37ac34=_0x1fc763[_0x5e5e('0x18')],_0x456b1e=_0x1fc763[_0x5e5e('0x8')],_0x5d2a00=_0x29bb8e(_0x456b1e);_0x5d2a00[_0x5e5e('0xe')]='sw';const _0x14c4eb=function(_0x66e963,_0xc3e4cf){const _0x253b5b=function(_0x2fb4bb,_0x556cdc){const _0x467e05=_0x2fb4bb['locale'],_0x4bb790={'Compare\x20against\x20selected':_0x2eef79(_0x467e05,_0x5e5e('0x11')),'Name\x20this\x20revision':_0x2eef79(_0x467e05,_0x5e5e('0x6')),'Restore\x20this\x20revision':_0x2eef79(_0x467e05,_0x5e5e('0x7'))};return _0x556cdc['map'](_0x3d3172=>{const _0x374762=_0x4bb790[_0x3d3172[_0x5e5e('0xb')]];return _0x374762&&_0x374762!==_0x3d3172[_0x5e5e('0xb')]&&(_0x3d3172[_0x5e5e('0xb')]=_0x374762),_0x3d3172;});}(_0x66e963,_0xc3e4cf),_0x3b3b85=new _0x355625();for(const _0x28b4d5 of _0x253b5b){const _0x12375c={'type':'button','model':new _0x25dfae({'label':_0x28b4d5[_0x5e5e('0xb')],'class':_0x28b4d5[_0x5e5e('0x1a')],'withText':!0x0,'_action':_0x28b4d5['action']})};_0x12375c['model'][_0x5e5e('0x3')](_0x5e5e('0xf'))['to'](_0x66e963,_0x5e5e('0x15'),_0x5430ab=>'function'!=typeof _0x28b4d5[_0x5e5e('0xf')]||(!_0x5430ab||_0x28b4d5[_0x5e5e('0xf')](_0x66e963))),_0x3b3b85[_0x5e5e('0x12')](_0x12375c);}return _0x3b3b85;}(_0x1fc763,_0x4eab19);return _0x1fc763['bind']('isActionsDropdownOpen')['to'](_0x5d2a00,_0x5e5e('0x0')),_0x5d2a00[_0x5e5e('0x13')][_0x5e5e('0x9')]({'label':_0x2eef79(_0x456b1e,_0x5e5e('0x19')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1e23b9['threeVerticalDots']}),_0x5d2a00[_0x5e5e('0x1')]({'attributes':{'class':[_0x5e5e('0x14'),_0x37ac34['if'](_0x5e5e('0x15'),_0x5e5e('0x5'))]},'on':{'click':_0x37ac34['to'](_0x4dbcf5=>_0x4dbcf5['stopPropagation']())}}),_0x5d2a00['on']('execute',_0x291c36=>{_0x1fc763[_0x5e5e('0xa')]&&'function'==typeof _0x291c36[_0x5e5e('0x2')][_0x5e5e('0x4')]&&_0x291c36[_0x5e5e('0x2')][_0x5e5e('0x4')](_0x1fc763);}),_0x54e907(_0x5d2a00,_0x14c4eb),_0x5d2a00['listenTo'](_0x1fc763,'change:isActionsDropdownOpen',(_0x3d541f,_0x26ffb3,_0x50206f)=>{if(_0x50206f)for(const _0x593327 of _0x5d2a00[_0x5e5e('0x17')][_0x5e5e('0xd')]){const _0x342b6e=_0x593327['children']['first'],_0x3340ef=_0x4eab19[_0x5e5e('0x10')](_0x595a63=>_0x595a63[_0x5e5e('0xc')]===_0x342b6e['_action'])['isVisible'];_0x593327[_0x5e5e('0x16')]=void 0x0===_0x3340ef||_0x3340ef(_0x1fc763);}}),_0x5d2a00;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c32=['push','ck-revision-history-sidebar__revision-author__name','Revision\x20author','span','ck-revision-history-sidebar__revision-author','name','0\x200\x2011\x2010','setTemplate','Revision\x20creator'];(function(_0x5db984,_0x3c32ee){const _0x53410c=function(_0x2af928){while(--_0x2af928){_0x5db984['push'](_0x5db984['shift']());}};_0x53410c(++_0x3c32ee);}(_0x3c32,0x1ee));const _0x5341=function(_0x5db984,_0x3c32ee){_0x5db984=_0x5db984-0x0;let _0x53410c=_0x3c32[_0x5db984];return _0x53410c;};import{View as _0x3f565a,IconView as _0x23381d}from'ckeditor5/src/ui';import{getTranslation as _0x3e2271}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x47cba8 from'../../../theme/icons/user.svg';export default class ti extends _0x3f565a{constructor(_0x2b98ec,_0xae2758,_0x30d4bd){super(_0x2b98ec);const _0x55661f=new _0x23381d();_0x55661f['set']({'content':_0x47cba8,'viewBox':_0x5341('0x7')});const _0x39da23=['ck',_0x5341('0x5')];_0x30d4bd&&_0x39da23[_0x5341('0x1')]('ck-revision-history-sidebar__revision-author_creator');const _0x34a835=[{'tag':_0x5341('0x4'),'attributes':{'class':['ck',_0x5341('0x2')],'title':_0x3e2271(_0x2b98ec,_0x30d4bd?_0x5341('0x0'):_0x5341('0x3'))},'children':[_0x55661f,_0xae2758[_0x5341('0x6')]]}];this[_0x5341('0x8')]({'tag':'li','attributes':{'class':_0x39da23},'children':_0x34a835});}}
23
+ const _0xbe2e=['ck-revision-history-sidebar__revision-author__name','setTemplate','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author_creator','Revision\x20creator','set','push','name','span'];(function(_0x120154,_0xbe2e55){const _0x320b56=function(_0xe6f0c7){while(--_0xe6f0c7){_0x120154['push'](_0x120154['shift']());}};_0x320b56(++_0xbe2e55);}(_0xbe2e,0xaf));const _0x320b=function(_0x120154,_0xbe2e55){_0x120154=_0x120154-0x0;let _0x320b56=_0xbe2e[_0x120154];return _0x320b56;};import{View as _0x2a6fdf,IconView as _0x4d20c3}from'ckeditor5/src/ui';import{getTranslation as _0x1b39fd}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0xf1ae8a from'../../../theme/icons/user.svg';export default class ti extends _0x2a6fdf{constructor(_0x578085,_0xb2f20a,_0xd5d20e){super(_0x578085);const _0xa1612d=new _0x4d20c3();_0xa1612d[_0x320b('0x1')]({'content':_0xf1ae8a,'viewBox':_0x320b('0x7')});const _0x16daf8=['ck','ck-revision-history-sidebar__revision-author'];_0xd5d20e&&_0x16daf8[_0x320b('0x2')](_0x320b('0x8'));const _0x5805fe=[{'tag':_0x320b('0x4'),'attributes':{'class':['ck',_0x320b('0x5')],'title':_0x1b39fd(_0x578085,_0xd5d20e?_0x320b('0x0'):'Revision\x20author')},'children':[_0xa1612d,_0xb2f20a[_0x320b('0x3')]]}];this[_0x320b('0x6')]({'tag':'li','attributes':{'class':_0x16daf8},'children':_0x5805fe});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2980=['ck-revision-history-sidebar__revision-name','span','set','Revision\x20name'];(function(_0x4d945f,_0x2980d1){var _0x6f1c2=function(_0x42e0b9){while(--_0x42e0b9){_0x4d945f['push'](_0x4d945f['shift']());}};_0x6f1c2(++_0x2980d1);}(_0x2980,0x1aa));var _0x6f1c=function(_0x4d945f,_0x2980d1){_0x4d945f=_0x4d945f-0x0;var _0x6f1c2=_0x2980[_0x4d945f];return _0x6f1c2;};import{LabeledFieldView as _0x593001}from'ckeditor5/src/ui';import{getTranslation as _0x41fa6f}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x593001{constructor(_0x53e46b,_0x3b8868){super(_0x53e46b,_0x3b8868),this[_0x6f1c('0x0')]({'label':_0x41fa6f(_0x53e46b,_0x6f1c('0x1'))}),this['extendTemplate']({'tag':_0x6f1c('0x3'),'attributes':{'class':[_0x6f1c('0x2')]}});}}
23
+ var _0x4bd1=['extendTemplate','ck-revision-history-sidebar__revision-name','Revision\x20name','set'];(function(_0x316af8,_0x4bd161){var _0x5f05df=function(_0xb40b53){while(--_0xb40b53){_0x316af8['push'](_0x316af8['shift']());}};_0x5f05df(++_0x4bd161);}(_0x4bd1,0x133));var _0x5f05=function(_0x316af8,_0x4bd161){_0x316af8=_0x316af8-0x0;var _0x5f05df=_0x4bd1[_0x316af8];return _0x5f05df;};import{LabeledFieldView as _0x4fecc6}from'ckeditor5/src/ui';import{getTranslation as _0x267d76}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x4fecc6{constructor(_0x3ac861,_0x2fca0f){super(_0x3ac861,_0x2fca0f),this[_0x5f05('0x0')]({'label':_0x267d76(_0x3ac861,_0x5f05('0x3'))}),this[_0x5f05('0x1')]({'tag':'span','attributes':{'class':[_0x5f05('0x2')]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc095=['listenTo','_createdAtFormatted','ck-revision-history-sidebar__actions_dropdown_open','span','ck-revision-history-sidebar__revision_selected','from','closest','authors','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','div','unshift','map','isConfirm','name','uiLanguage','isEnabled','change','_revision','element','length','fieldView','createdAt','set','revisionActionsView','ck-disabled','deselect','srcElement','fire','isSelected','.ck-thread__remove-confirm','isHighlighted','ck-revision-history-sidebar__revision__controls-wrapper','isReady','unhighlight','creator','revisionNameView','ck-revision-history-sidebar__revision-authors','filter','isActionsDropdownOpen','highlight','ck-reset','select','value','ck-revision-history-sidebar__revision__date','bind','bindTemplate','setTemplate','ck-revision-history-sidebar__revision-wrapper','ck-revision-history-sidebar__revision_highlighted'];(function(_0x44f4a3,_0xc095ce){const _0x55f499=function(_0x10ed5b){while(--_0x10ed5b){_0x44f4a3['push'](_0x44f4a3['shift']());}};_0x55f499(++_0xc095ce);}(_0xc095,0x185));const _0x55f4=function(_0x44f4a3,_0xc095ce){_0x44f4a3=_0x44f4a3-0x0;let _0x55f499=_0xc095[_0x44f4a3];return _0x55f499;};import{View as _0x16fb83,createLabeledInputText as _0x3681e9}from'ckeditor5/src/ui';import{ConfirmMixin as _0x5163ff}from'ckeditor5-collaboration/src/collaboration-core';import _0xfe269c from'./revisionnameview';import _0x22ee94 from'./revisionauthorview';import{dateToPrettyFormat as _0x25d2ad}from'./utils';import{createActionsDropdownView as _0x3c396b}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x5163ff(_0x16fb83){constructor(_0x35cb23,_0x5eba1b,_0x3378e9){super(_0x35cb23);const _0x6210a7=this[_0x55f4('0x30')],_0x4d6ee7=function(_0x3a0f62,_0x3054bd){const _0x204481=Array[_0x55f4('0x8')](_0x3054bd[_0x55f4('0xa')])[_0x55f4('0x28')](_0x187d14=>_0x187d14!=_0x3054bd[_0x55f4('0x25')]);return _0x3054bd[_0x55f4('0x25')]&&_0x204481[_0x55f4('0xd')](_0x3054bd[_0x55f4('0x25')]),_0x204481[_0x55f4('0xe')](_0x191f1b=>new _0x22ee94(_0x3a0f62,_0x191f1b,_0x191f1b==_0x3054bd[_0x55f4('0x25')]));}(_0x35cb23,_0x5eba1b);this['id']=_0x5eba1b['id'],this[_0x55f4('0x14')]=_0x5eba1b,this['bind'](_0x55f4('0x10'),_0x55f4('0x18'))['to'](_0x5eba1b),this[_0x55f4('0x2f')](_0x55f4('0x4'))['to'](this,_0x55f4('0x18'),_0x10ff9b=>_0x10ff9b?_0x25d2ad(_0x35cb23[_0x55f4('0x11')],_0x10ff9b):void 0x0),this['set'](_0x55f4('0x1f'),!0x1),this[_0x55f4('0x19')]('isHighlighted',!0x1),this[_0x55f4('0x19')](_0x55f4('0x29'),!0x1),this[_0x55f4('0x19')](_0x55f4('0x23'),!0x1),this[_0x55f4('0x19')](_0x55f4('0x12'),!0x1),this['revisionNameView']=new _0xfe269c(_0x35cb23,_0x3681e9),this[_0x55f4('0x26')][_0x55f4('0x17')]['extendTemplate']({'attributes':{'maxlength':'220'}}),this[_0x55f4('0x26')]['fieldView'][_0x55f4('0x2f')](_0x55f4('0x2d'),'placeholder')['to'](this,'name',_0x55f4('0x4')),this['revisionNameView'][_0x55f4('0x2f')](_0x55f4('0x12'))['to'](this,_0x55f4('0x1f'),this,_0x55f4('0x12'),(_0x5d3dab,_0x548e41)=>_0x5d3dab&&_0x548e41),this[_0x55f4('0x1a')]=_0x3378e9&&_0x3378e9[_0x55f4('0x16')]?_0x3c396b(this,_0x3378e9):'',this[_0x55f4('0x1a')]&&this[_0x55f4('0x1a')]['bind'](_0x55f4('0x12'))['to'](this),this[_0x55f4('0x0')]({'tag':'div','attributes':{'class':['ck',_0x55f4('0x2b'),_0x55f4('0x1'),_0x6210a7['if'](_0x55f4('0xf'),_0x55f4('0xb'))]},'children':[{'tag':_0x55f4('0xc'),'attributes':{'class':['ck',_0x55f4('0x2b'),'ck-revision-history-sidebar__revision',_0x6210a7['if'](_0x55f4('0x12'),_0x55f4('0x1b'),_0x305372=>!_0x305372),_0x6210a7['if'](_0x55f4('0x1f'),_0x55f4('0x7')),_0x6210a7['if'](_0x55f4('0x21'),_0x55f4('0x2')),_0x6210a7['if']('isActionsDropdownOpen',_0x55f4('0x5'))]},'children':[this['revisionNameView'],{'tag':_0x55f4('0x6'),'attributes':{'class':['ck',_0x55f4('0x2e')]},'children':[{'text':_0x6210a7['to'](_0x55f4('0x4'))}]},{'tag':'div','attributes':{'class':['ck',_0x55f4('0x22')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x55f4('0x27')]},'children':_0x4d6ee7}]},this[_0x55f4('0x1a')]],'on':{'click':_0x6210a7['to'](_0x44521b=>{_0x44521b[_0x55f4('0x1d')][_0x55f4('0x9')](_0x55f4('0x20'))||this[_0x55f4('0x23')]&&this[_0x55f4('0x12')]&&this['fire'](_0x55f4('0x2c'),{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1fd00e=this['revisionNameView']['fieldView'][_0x55f4('0x15')];this[_0x55f4('0x3')](_0x1fd00e,_0x55f4('0x13'),()=>{this[_0x55f4('0x1e')]('setName',{'id':this['id'],'name':_0x1fd00e[_0x55f4('0x2d')]});});}[_0x55f4('0x2c')](){this[_0x55f4('0x1f')]=!0x0;}[_0x55f4('0x1c')](){this[_0x55f4('0x1f')]=!0x1;}[_0x55f4('0x2a')](){this[_0x55f4('0x21')]=!0x0;}[_0x55f4('0x24')](){this['isHighlighted']=!0x1;}}
23
+ const _0x54ce=['isSelected','uiLanguage','div','fire','setName','listenTo','revisionNameView','fieldView','creator','change','srcElement','revisionActionsView','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','_createdAtFormatted','authors','ck-revision-history-sidebar__revision-wrapper','ck-revision-history-sidebar__revision','unshift','.ck-thread__remove-confirm','isHighlighted','filter','isConfirm','bind','map','isEnabled','ck-revision-history-sidebar__revision_highlighted','ck-revision-history-sidebar__revision__date','select','_revision','isActionsDropdownOpen','placeholder','set','unhighlight','bindTemplate','ck-revision-history-sidebar__revision__controls-wrapper','createdAt','value','ck-revision-history-sidebar__revision-authors','name','ck-disabled','isReady','closest','from','element'];(function(_0x2dcf75,_0x54ce40){const _0x47ff7e=function(_0x567b28){while(--_0x567b28){_0x2dcf75['push'](_0x2dcf75['shift']());}};_0x47ff7e(++_0x54ce40);}(_0x54ce,0x124));const _0x47ff=function(_0x2dcf75,_0x54ce40){_0x2dcf75=_0x2dcf75-0x0;let _0x47ff7e=_0x54ce[_0x2dcf75];return _0x47ff7e;};import{View as _0xac9ef,createLabeledInputText as _0x3f0f7b}from'ckeditor5/src/ui';import{ConfirmMixin as _0x4d4b71}from'ckeditor5-collaboration/src/collaboration-core';import _0x59d379 from'./revisionnameview';import _0x4e576b from'./revisionauthorview';import{dateToPrettyFormat as _0x479859}from'./utils';import{createActionsDropdownView as _0x5a04a1}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x4d4b71(_0xac9ef){constructor(_0x4abfe1,_0x434a44,_0x11864d){super(_0x4abfe1);const _0x31cb30=this[_0x47ff('0x5')],_0x39351f=function(_0x3a622a,_0x5f303c){const _0x4a4397=Array[_0x47ff('0xe')](_0x5f303c[_0x47ff('0x1e')])[_0x47ff('0x24')](_0x597001=>_0x597001!=_0x5f303c[_0x47ff('0x18')]);return _0x5f303c[_0x47ff('0x18')]&&_0x4a4397[_0x47ff('0x21')](_0x5f303c['creator']),_0x4a4397[_0x47ff('0x27')](_0x1833cf=>new _0x4e576b(_0x3a622a,_0x1833cf,_0x1833cf==_0x5f303c['creator']));}(_0x4abfe1,_0x434a44);this['id']=_0x434a44['id'],this[_0x47ff('0x0')]=_0x434a44,this['bind']('name',_0x47ff('0x7'))['to'](_0x434a44),this[_0x47ff('0x26')](_0x47ff('0x1d'))['to'](this,'createdAt',_0xa1948b=>_0xa1948b?_0x479859(_0x4abfe1[_0x47ff('0x11')],_0xa1948b):void 0x0),this[_0x47ff('0x3')](_0x47ff('0x10'),!0x1),this[_0x47ff('0x3')](_0x47ff('0x23'),!0x1),this[_0x47ff('0x3')](_0x47ff('0x1'),!0x1),this[_0x47ff('0x3')](_0x47ff('0xc'),!0x1),this['set'](_0x47ff('0x28'),!0x1),this[_0x47ff('0x16')]=new _0x59d379(_0x4abfe1,_0x3f0f7b),this[_0x47ff('0x16')][_0x47ff('0x17')]['extendTemplate']({'attributes':{'maxlength':'220'}}),this[_0x47ff('0x16')][_0x47ff('0x17')]['bind'](_0x47ff('0x8'),_0x47ff('0x2'))['to'](this,_0x47ff('0xa'),_0x47ff('0x1d')),this['revisionNameView'][_0x47ff('0x26')](_0x47ff('0x28'))['to'](this,_0x47ff('0x10'),this,_0x47ff('0x28'),(_0x3b1e56,_0x31efda)=>_0x3b1e56&&_0x31efda),this[_0x47ff('0x1b')]=_0x11864d&&_0x11864d['length']?_0x5a04a1(this,_0x11864d):'',this[_0x47ff('0x1b')]&&this[_0x47ff('0x1b')][_0x47ff('0x26')](_0x47ff('0x28'))['to'](this),this['setTemplate']({'tag':_0x47ff('0x12'),'attributes':{'class':['ck','ck-reset',_0x47ff('0x1f'),_0x31cb30['if'](_0x47ff('0x25'),_0x47ff('0x1c'))]},'children':[{'tag':_0x47ff('0x12'),'attributes':{'class':['ck','ck-reset',_0x47ff('0x20'),_0x31cb30['if']('isEnabled',_0x47ff('0xb'),_0xd36a9d=>!_0xd36a9d),_0x31cb30['if'](_0x47ff('0x10'),'ck-revision-history-sidebar__revision_selected'),_0x31cb30['if'](_0x47ff('0x23'),_0x47ff('0x29')),_0x31cb30['if'](_0x47ff('0x1'),'ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this[_0x47ff('0x16')],{'tag':'span','attributes':{'class':['ck',_0x47ff('0x2a')]},'children':[{'text':_0x31cb30['to'](_0x47ff('0x1d'))}]},{'tag':_0x47ff('0x12'),'attributes':{'class':['ck',_0x47ff('0x6')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x47ff('0x9')]},'children':_0x39351f}]},this['revisionActionsView']],'on':{'click':_0x31cb30['to'](_0x168c5d=>{_0x168c5d[_0x47ff('0x1a')][_0x47ff('0xd')](_0x47ff('0x22'))||this[_0x47ff('0xc')]&&this['isEnabled']&&this[_0x47ff('0x13')](_0x47ff('0x2b'),{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1b592b=this['revisionNameView'][_0x47ff('0x17')][_0x47ff('0xf')];this[_0x47ff('0x15')](_0x1b592b,_0x47ff('0x19'),()=>{this['fire'](_0x47ff('0x14'),{'id':this['id'],'name':_0x1b592b[_0x47ff('0x8')]});});}[_0x47ff('0x2b')](){this[_0x47ff('0x10')]=!0x0;}['deselect'](){this[_0x47ff('0x10')]=!0x1;}['highlight'](){this[_0x47ff('0x23')]=!0x0;}[_0x47ff('0x4')](){this['isHighlighted']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c95=['button','ck-revision-history-sidebar__subrevision-collapser__inner','toggle','ck-revision-history-sidebar__subrevision-collapser_collapsed','setTemplate','isVisible','ck-revision-history-sidebar__subrevision-collapser','click','ck-hidden','bindTemplate','span','set','true','_isCollapsed'];(function(_0x563a3a,_0x1c9511){const _0x47a8f2=function(_0x1683e6){while(--_0x1683e6){_0x563a3a['push'](_0x563a3a['shift']());}};_0x47a8f2(++_0x1c9511);}(_0x1c95,0x1ce));const _0x47a8=function(_0x563a3a,_0x1c9511){_0x563a3a=_0x563a3a-0x0;let _0x47a8f2=_0x1c95[_0x563a3a];return _0x47a8f2;};import{View as _0x32fc5e}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x32fc5e{constructor(_0x48e575){super(_0x48e575);const _0x489117=this[_0x47a8('0x9')];this[_0x47a8('0xb')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x47a8('0x4')]({'tag':_0x47a8('0xa'),'attributes':{'class':['ck',_0x47a8('0x6'),_0x489117['if'](_0x47a8('0x5'),_0x47a8('0x8'),_0x3f6b39=>!_0x3f6b39),_0x489117['if']('_isCollapsed',_0x47a8('0x3'))],'role':_0x47a8('0x0'),'aria-pressed':_0x489117['to'](_0x47a8('0xd'),_0x2568d0=>_0x2568d0?'false':_0x47a8('0xc'))},'children':[{'tag':'span','attributes':{'class':['ck',_0x47a8('0x1')]}}],'on':{'click':_0x489117['to'](_0x47a8('0x7'))}});}[_0x47a8('0x2')](){this['_isCollapsed']=!this[_0x47a8('0xd')];}}
23
+ const _0x5102=['toggle','button','isVisible','ck-revision-history-sidebar__subrevision-collapser_collapsed','setTemplate','click','span','_isCollapsed','true','ck-hidden','ck-revision-history-sidebar__subrevision-collapser','set','bindTemplate'];(function(_0x97acbb,_0x5102de){const _0x4ea5c7=function(_0x228810){while(--_0x228810){_0x97acbb['push'](_0x97acbb['shift']());}};_0x4ea5c7(++_0x5102de);}(_0x5102,0x8b));const _0x4ea5=function(_0x97acbb,_0x5102de){_0x97acbb=_0x97acbb-0x0;let _0x4ea5c7=_0x5102[_0x97acbb];return _0x4ea5c7;};import{View as _0xfce638}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0xfce638{constructor(_0x143340){super(_0x143340);const _0x49adb5=this[_0x4ea5('0x3')];this[_0x4ea5('0x2')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x4ea5('0x8')]({'tag':'span','attributes':{'class':['ck',_0x4ea5('0x1'),_0x49adb5['if'](_0x4ea5('0x6'),_0x4ea5('0x0'),_0x35742f=>!_0x35742f),_0x49adb5['if']('_isCollapsed',_0x4ea5('0x7'))],'role':_0x4ea5('0x5'),'aria-pressed':_0x49adb5['to'](_0x4ea5('0xb'),_0x5b0706=>_0x5b0706?'false':_0x4ea5('0xc'))},'children':[{'tag':_0x4ea5('0xa'),'attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser__inner']}}],'on':{'click':_0x49adb5['to'](_0x4ea5('0x9'))}});}[_0x4ea5('0x4')](){this[_0x4ea5('0xb')]=!this[_0x4ea5('0xb')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x326e=['select','creator','setTemplate','bind','deselect','ck-revision-history-sidebar__revision_selected','div','ck-revision-history-sidebar__revision-authors','uiLanguage','_createdAtFormatted','bindTemplate','_parentRevisionId','createdAt','fire','isSelected','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__subrevision'];(function(_0x4c7c61,_0x326e71){const _0x81be11=function(_0x183f3a){while(--_0x183f3a){_0x4c7c61['push'](_0x4c7c61['shift']());}};_0x81be11(++_0x326e71);}(_0x326e,0x1a5));const _0x81be=function(_0x4c7c61,_0x326e71){_0x4c7c61=_0x4c7c61-0x0;let _0x81be11=_0x326e[_0x4c7c61];return _0x81be11;};import{View as _0x2583dc}from'ckeditor5/src/ui';import _0x5c212e from'./revisionauthorview';import{dateToPrettyFormat as _0x5b7fb1}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x2583dc{constructor(_0x2c26b6,_0x37308b,_0x172158){super(_0x2c26b6);const _0x5c7343=this[_0x81be('0x3')];this['id']=_0x37308b['id'],this['bind']('createdAt')['to'](_0x37308b),this['set'](_0x81be('0x7'),!0x1),this[_0x81be('0xe')](_0x81be('0x2'))['to'](this,_0x81be('0x5'),_0x208c90=>_0x208c90?_0x5b7fb1(_0x2c26b6[_0x81be('0x1')],_0x208c90):void 0x0),this[_0x81be('0x4')]=_0x172158,this[_0x81be('0xd')]({'tag':_0x81be('0x11'),'attributes':{'class':['ck','ck-reset',_0x81be('0x9'),_0x81be('0xa'),_0x5c7343['if']('isSelected',_0x81be('0x10'))]},'children':[{'tag':'span','attributes':{'class':['ck',_0x81be('0x8')]},'children':[{'text':_0x5c7343['to']('_createdAtFormatted')}]},{'tag':'ul','attributes':{'class':['ck',_0x81be('0x0')]},'children':[new _0x5c212e(_0x2c26b6,_0x37308b[_0x81be('0xc')],!0x0)]}],'on':{'click':_0x5c7343['to'](this['select']['bind'](this))}});}[_0x81be('0xb')](){this[_0x81be('0x7')]=!0x0,this[_0x81be('0x6')]('select',{'parentId':this[_0x81be('0x4')]});}[_0x81be('0xf')](){this[_0x81be('0x7')]=!0x1;}}
23
+ const _0x5d4e=['setTemplate','isSelected','createdAt','bind','creator','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision','_createdAtFormatted','ck-reset','ck-revision-history-sidebar__revision_selected','span','div','deselect','_parentRevisionId','uiLanguage','select','ck-revision-history-sidebar__revision-authors'];(function(_0xe43e2b,_0x5d4eb3){const _0x1c25b3=function(_0x4288d4){while(--_0x4288d4){_0xe43e2b['push'](_0xe43e2b['shift']());}};_0x1c25b3(++_0x5d4eb3);}(_0x5d4e,0x9f));const _0x1c25=function(_0xe43e2b,_0x5d4eb3){_0xe43e2b=_0xe43e2b-0x0;let _0x1c25b3=_0x5d4e[_0xe43e2b];return _0x1c25b3;};import{View as _0x5f0797}from'ckeditor5/src/ui';import _0x9fbdc0 from'./revisionauthorview';import{dateToPrettyFormat as _0x53c13d}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x5f0797{constructor(_0x1ac583,_0x31302d,_0x1cdda0){super(_0x1ac583);const _0x4bb8f8=this['bindTemplate'];this['id']=_0x31302d['id'],this[_0x1c25('0xe')](_0x1c25('0xd'))['to'](_0x31302d),this['set'](_0x1c25('0xc'),!0x1),this[_0x1c25('0xe')](_0x1c25('0x1'))['to'](this,'createdAt',_0x5ef041=>_0x5ef041?_0x53c13d(_0x1ac583[_0x1c25('0x8')],_0x5ef041):void 0x0),this[_0x1c25('0x7')]=_0x1cdda0,this[_0x1c25('0xb')]({'tag':_0x1c25('0x5'),'attributes':{'class':['ck',_0x1c25('0x2'),_0x1c25('0x0'),'ck-revision-history-sidebar__subrevision',_0x4bb8f8['if'](_0x1c25('0xc'),_0x1c25('0x3'))]},'children':[{'tag':_0x1c25('0x4'),'attributes':{'class':['ck',_0x1c25('0x10')]},'children':[{'text':_0x4bb8f8['to'](_0x1c25('0x1'))}]},{'tag':'ul','attributes':{'class':['ck',_0x1c25('0xa')]},'children':[new _0x9fbdc0(_0x1ac583,_0x31302d[_0x1c25('0xf')],!0x0)]}],'on':{'click':_0x4bb8f8['to'](this[_0x1c25('0x9')][_0x1c25('0xe')](this))}});}[_0x1c25('0x9')](){this[_0x1c25('0xc')]=!0x0,this['fire'](_0x1c25('0x9'),{'parentId':this['_parentRevisionId']});}[_0x1c25('0x6')](){this[_0x1c25('0xc')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2fee=['numeric','long','toLocaleDateString','toLocaleTimeString'];(function(_0x32d5ea,_0x2fee33){var _0x54df88=function(_0x891e07){while(--_0x891e07){_0x32d5ea['push'](_0x32d5ea['shift']());}};_0x54df88(++_0x2fee33);}(_0x2fee,0x139));var _0x54df=function(_0x32d5ea,_0x2fee33){_0x32d5ea=_0x32d5ea-0x0;var _0x54df88=_0x2fee[_0x32d5ea];return _0x54df88;};export function dateToPrettyFormat(_0xf27c96,_0x92db07){return _0x92db07[_0x54df('0x1')](_0xf27c96,{'month':_0x54df('0x0'),'day':_0x54df('0x3')})+',\x20'+_0x92db07[_0x54df('0x2')](_0xf27c96,{'hour':'numeric','minute':_0x54df('0x3')});}
23
+ var _0x3837=['toLocaleDateString','toLocaleTimeString','numeric','long'];(function(_0x573743,_0x383724){var _0x581edb=function(_0x53917e){while(--_0x53917e){_0x573743['push'](_0x573743['shift']());}};_0x581edb(++_0x383724);}(_0x3837,0x1d2));var _0x581e=function(_0x573743,_0x383724){_0x573743=_0x573743-0x0;var _0x581edb=_0x3837[_0x573743];return _0x581edb;};export function dateToPrettyFormat(_0x4fc040,_0x10242a){return _0x10242a[_0x581e('0x2')](_0x4fc040,{'month':_0x581e('0x1'),'day':_0x581e('0x0')})+',\x20'+_0x10242a[_0x581e('0x3')](_0x4fc040,{'hour':_0x581e('0x0'),'minute':_0x581e('0x0')});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38f8=['value','revisionNameInputValue','arrowdown','delegate','reset','tab','arrowright','extendTemplate','cancelButtonView','submit','ck-responsive-form','_focusCycler','render','keystrokes','add','fieldView','input','focusTracker','trim','set','saveButtonView','stopPropagation','Save','type','focusFirst','listenTo','focus','element','arrowleft','revisionNameInputView','arrowup','220','forEach','form','cancel','Cancel','shift\x20+\x20tab','_createRevisionNameInput','_createButton','locale','_focusables','revisionName'];(function(_0x2f173b,_0x38f88f){const _0x3060f9=function(_0x276b10){while(--_0x276b10){_0x2f173b['push'](_0x2f173b['shift']());}};_0x3060f9(++_0x38f88f);}(_0x38f8,0x129));const _0x3060=function(_0x2f173b,_0x38f88f){_0x2f173b=_0x2f173b-0x0;let _0x3060f9=_0x38f8[_0x2f173b];return _0x3060f9;};import{icons as _0x4f9cbc}from'ckeditor5/src/core';import{ButtonView as _0x20f421,FocusCycler as _0x32d891,LabeledFieldView as _0xe5c541,View as _0x2fa817,ViewCollection as _0x5934df,createLabeledInputText as _0x55b4cd,injectCssTransitionDisabler as _0x44c32f,submitHandler as _0xf93fa2}from'ckeditor5/src/ui';import{FocusTracker as _0x55e30b,KeystrokeHandler as _0x4610c6}from'ckeditor5/src/utils';import{getTranslation as _0x240433}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x2fa817{constructor(_0x3d7880){super(_0x3d7880),this[_0x3060('0xe')]=new _0x55e30b(),this['keystrokes']=new _0x4610c6(),this[_0x3060('0x10')](_0x3060('0x28'),''),this[_0x3060('0x1a')]=this[_0x3060('0x22')](),this['saveButtonView']=this[_0x3060('0x23')](_0x240433(_0x3d7880,_0x3060('0x13')),_0x4f9cbc['check'],'ck-button-save'),this[_0x3060('0x11')][_0x3060('0x14')]=_0x3060('0x6'),this[_0x3060('0x5')]=this[_0x3060('0x23')](_0x240433(_0x3d7880,_0x3060('0x20')),_0x4f9cbc['cancel'],'ck-button-cancel',_0x3060('0x1f')),this[_0x3060('0x25')]=new _0x5934df(),this['_focusCycler']=new _0x32d891({'focusables':this[_0x3060('0x25')],'focusTracker':this[_0x3060('0xe')],'keystrokeHandler':this[_0x3060('0xa')],'actions':{'focusPrevious':_0x3060('0x21'),'focusNext':_0x3060('0x2')}}),this['setTemplate']({'tag':_0x3060('0x1e'),'attributes':{'class':['ck','ck-revision-history-save-revision-form',_0x3060('0x7')],'tabindex':'-1'},'children':[this[_0x3060('0x1a')],this[_0x3060('0x11')],this[_0x3060('0x5')]]}),_0x44c32f(this);}[_0x3060('0x9')](){super[_0x3060('0x9')](),_0xf93fa2({'view':this}),([this[_0x3060('0x1a')],this[_0x3060('0x11')],this['cancelButtonView']][_0x3060('0x1d')](_0x579ddb=>{this[_0x3060('0x25')][_0x3060('0xb')](_0x579ddb),this['focusTracker'][_0x3060('0xb')](_0x579ddb['element']);}),this[_0x3060('0xa')][_0x3060('0x16')](this[_0x3060('0x18')]));const _0x3dcb99=_0x47fdec=>_0x47fdec[_0x3060('0x12')]();this[_0x3060('0xa')][_0x3060('0x10')](_0x3060('0x3'),_0x3dcb99),this[_0x3060('0xa')][_0x3060('0x10')](_0x3060('0x19'),_0x3dcb99),this[_0x3060('0xa')][_0x3060('0x10')](_0x3060('0x1b'),_0x3dcb99),this[_0x3060('0xa')][_0x3060('0x10')](_0x3060('0x29'),_0x3dcb99);}[_0x3060('0x17')](){this[_0x3060('0x8')][_0x3060('0x15')]();}get[_0x3060('0x26')](){return this[_0x3060('0x1a')][_0x3060('0xc')][_0x3060('0x18')]['value']['trim']();}set[_0x3060('0x26')](_0x380950){this[_0x3060('0x1a')][_0x3060('0xc')][_0x3060('0x18')]['value']=_0x380950['trim']();}[_0x3060('0x1')](){this['revisionNameInputView'][_0x3060('0xc')]['element'][_0x3060('0x27')]='';}[_0x3060('0x22')](){const _0x1dd66b=new _0xe5c541(this[_0x3060('0x24')],_0x55b4cd),_0x491196=_0x1dd66b['fieldView'];return _0x491196[_0x3060('0x4')]({'attributes':{'maxlength':_0x3060('0x1c')}}),_0x1dd66b['label']=_0x240433(this[_0x3060('0x24')],'Name\x20of\x20the\x20revision\x20(optional)'),_0x491196['on'](_0x3060('0xd'),()=>{this[_0x3060('0x28')]=_0x491196[_0x3060('0x18')][_0x3060('0x27')][_0x3060('0xf')]();}),_0x1dd66b;}['_createButton'](_0x57f219,_0x1e99d9,_0x556351,_0x57bce7){const _0x5c597e=new _0x20f421(this['locale']);return _0x5c597e[_0x3060('0x10')]({'label':_0x57f219,'icon':_0x1e99d9,'tooltip':!0x0}),_0x5c597e[_0x3060('0x4')]({'attributes':{'class':_0x556351}}),_0x57bce7&&_0x5c597e[_0x3060('0x0')]('execute')['to'](this,_0x57bce7),_0x5c597e;}}
23
+ const _0x9182=['locale','render','stopPropagation','revisionNameInputValue','Save','saveButtonView','arrowright','_createButton','focusFirst','_focusables','Name\x20of\x20the\x20revision\x20(optional)','element','ck-responsive-form','_createRevisionNameInput','focusTracker','setTemplate','cancelButtonView','cancel','check','fieldView','revisionNameInputView','keystrokes','delegate','revisionName','trim','label','forEach','input','_focusCycler','submit','listenTo','focus','220','execute','shift\x20+\x20tab','set','reset','extendTemplate','value','ck-button-cancel','type'];(function(_0x3050c0,_0x9182d8){const _0x2f414a=function(_0x3bd5dd){while(--_0x3bd5dd){_0x3050c0['push'](_0x3050c0['shift']());}};_0x2f414a(++_0x9182d8);}(_0x9182,0x12f));const _0x2f41=function(_0x3050c0,_0x9182d8){_0x3050c0=_0x3050c0-0x0;let _0x2f414a=_0x9182[_0x3050c0];return _0x2f414a;};import{icons as _0x4ab8b6}from'ckeditor5/src/core';import{ButtonView as _0x192005,FocusCycler as _0x565af4,LabeledFieldView as _0x43c2b6,View as _0x3c128c,ViewCollection as _0x5d1d1e,createLabeledInputText as _0x4ebf8b,injectCssTransitionDisabler as _0x4017ef,submitHandler as _0x317693}from'ckeditor5/src/ui';import{FocusTracker as _0x1153a2,KeystrokeHandler as _0x3a8539}from'ckeditor5/src/utils';import{getTranslation as _0x26d1cc}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x3c128c{constructor(_0x34cd13){super(_0x34cd13),this[_0x2f41('0x27')]=new _0x1153a2(),this[_0x2f41('0x5')]=new _0x3a8539(),this['set'](_0x2f41('0x1c'),''),this[_0x2f41('0x4')]=this[_0x2f41('0x26')](),this[_0x2f41('0x1e')]=this['_createButton'](_0x26d1cc(_0x34cd13,_0x2f41('0x1d')),_0x4ab8b6[_0x2f41('0x2')],'ck-button-save'),this[_0x2f41('0x1e')][_0x2f41('0x18')]=_0x2f41('0xd'),this['cancelButtonView']=this[_0x2f41('0x20')](_0x26d1cc(_0x34cd13,'Cancel'),_0x4ab8b6[_0x2f41('0x1')],_0x2f41('0x17'),_0x2f41('0x1')),this[_0x2f41('0x22')]=new _0x5d1d1e(),this['_focusCycler']=new _0x565af4({'focusables':this[_0x2f41('0x22')],'focusTracker':this['focusTracker'],'keystrokeHandler':this[_0x2f41('0x5')],'actions':{'focusPrevious':_0x2f41('0x12'),'focusNext':'tab'}}),this[_0x2f41('0x28')]({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form',_0x2f41('0x25')],'tabindex':'-1'},'children':[this[_0x2f41('0x4')],this[_0x2f41('0x1e')],this['cancelButtonView']]}),_0x4017ef(this);}[_0x2f41('0x1a')](){super[_0x2f41('0x1a')](),_0x317693({'view':this}),([this[_0x2f41('0x4')],this[_0x2f41('0x1e')],this[_0x2f41('0x0')]][_0x2f41('0xa')](_0x132e78=>{this['_focusables']['add'](_0x132e78),this['focusTracker']['add'](_0x132e78[_0x2f41('0x24')]);}),this[_0x2f41('0x5')][_0x2f41('0xe')](this[_0x2f41('0x24')]));const _0x397a18=_0x21eeae=>_0x21eeae[_0x2f41('0x1b')]();this[_0x2f41('0x5')][_0x2f41('0x13')](_0x2f41('0x1f'),_0x397a18),this[_0x2f41('0x5')][_0x2f41('0x13')]('arrowleft',_0x397a18),this['keystrokes'][_0x2f41('0x13')]('arrowup',_0x397a18),this[_0x2f41('0x5')][_0x2f41('0x13')]('arrowdown',_0x397a18);}[_0x2f41('0xf')](){this[_0x2f41('0xc')][_0x2f41('0x21')]();}get['revisionName'](){return this[_0x2f41('0x4')][_0x2f41('0x3')][_0x2f41('0x24')][_0x2f41('0x16')][_0x2f41('0x8')]();}set[_0x2f41('0x7')](_0xa839b7){this['revisionNameInputView']['fieldView'][_0x2f41('0x24')]['value']=_0xa839b7[_0x2f41('0x8')]();}[_0x2f41('0x14')](){this[_0x2f41('0x4')]['fieldView'][_0x2f41('0x24')][_0x2f41('0x16')]='';}[_0x2f41('0x26')](){const _0x316d63=new _0x43c2b6(this['locale'],_0x4ebf8b),_0x542da4=_0x316d63[_0x2f41('0x3')];return _0x542da4[_0x2f41('0x15')]({'attributes':{'maxlength':_0x2f41('0x10')}}),_0x316d63[_0x2f41('0x9')]=_0x26d1cc(this['locale'],_0x2f41('0x23')),_0x542da4['on'](_0x2f41('0xb'),()=>{this[_0x2f41('0x1c')]=_0x542da4[_0x2f41('0x24')][_0x2f41('0x16')][_0x2f41('0x8')]();}),_0x316d63;}[_0x2f41('0x20')](_0x42c163,_0x196146,_0x513bfa,_0x1cbf73){const _0x2d3bcf=new _0x192005(this[_0x2f41('0x19')]);return _0x2d3bcf[_0x2f41('0x13')]({'label':_0x42c163,'icon':_0x196146,'tooltip':!0x0}),_0x2d3bcf['extendTemplate']({'attributes':{'class':_0x513bfa}}),_0x1cbf73&&_0x2d3bcf[_0x2f41('0x6')](_0x2f41('0x11'))['to'](this,_0x1cbf73),_0x2d3bcf;}}