@ckeditor/ckeditor5-revision-history 35.3.0 → 35.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +7 -7
  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 _0x1071=['getWalker','consume','authors','isReady','vid_start','isRemoveSuggestion','loadRevisionData','_markMismatchedRemovedTags','change:isReadOnly','unbindElementFromMarkerName','upcast','change','then','forEach','ck-suggestion-marker','isNavigationMode','findIndex','forward','downcastDispatcher','_markMarkers','children','_getRevisionsRange','bind','markers','revision-suggestion','deletions','setAttribute','isAtEnd','_makeModelFromViewString','default','readOnlyMode','_removeUnsupportedChanges','restoreRevisionCallback','keys','offsetSize','conversion','item','pairId','index','isInline','config','high','_markInsertions','getRevisionData','_target','side','editor','ck-editor__editable__overlay','_revisions','isLimit','numberOfChanges','toViewElement','_balloon','<p></p>','observeMarkers','target','change:activeChange','addMarker:revision','isBlock','isAddSuggestion','getRevision','_markSuggestions','markerToData','document','backward','userId','string','getCustomProperty','parent','_changeIdToChange','toData','_makeModelFromTape','revisionHistory','removeMarker','isEnabled','changes','uiElement','start','createRangeIn','dataToMarker','plugins','markerToHighlight','name','toModel','selection','createPositionFromPath','editing','change:activeView','ck-suggestion-preview-marker','addMarker:revision-suggestion:insertion','_joinTapes','revision','consumable','commands','change:numberOfChanges','createRange','_initInteractions','level','splice','processor','_getViewForChange','mapper','markerName','POSITIVE_INFINITY','oldRevisionId','mousedown','_getDiff','includes','getRootNames','data-change-id','revisionHistoryLabel','split','_setDistance','has','text','activeView','forceDisabled','isBefore','set','clearForceDisabled','previousPosition','range','ck-suggestion-marker--active','pop','getItems','newRevisionId','sort','enqueueChange','diffData','collaboration.channelId','done','shift','toViewRange','slice','values','resolve','RevisionViewer','startIndex','refresh','init','next','getChild','attributes','mouseover','span','bindElementToMarker','_step','locale','from','elementEnd','_getChangeFromId','getIndex','repository','schema','vid','getAttributes','object','removeClass','dataDowncast','abs','isEqual','compare','change:isEnabled','listenTo','ck-suggestion-marker-','test','diff','end','map','filter','isSuggestion','markersEnd','_removeMissingPairs','viewItem','ck-suggestion-preview-marker-','nextSibling','execute','stopListening','catch','data','removeMarker:revision','toViewPosition','data-revision-','modelRange','_threeWayMerge','roots','maxOffset','concat','pluginName','distance','hasAttribute','revision-end','ck-suggestion-marker-split','reconvertMarker','vid_end','createRevision','useFillerType','isContent','getAttribute','currentChangeNumber','-new','get','_refreshStartEndIndex','restoreRevision','_appendChild','_makeTape','WidgetToolbarRepository','suggestion:','isCollapsed','elementToAttribute','requires','suggestion','remove','code','endIndex','revision-viewer','length','add','markersStart','_processTape','merge','isAdded','hasClass','_setConversion','_cleanUp','markerRange','insert','writer','activeChange','_update','_cleanMarkers','destroy','nodeAfter','startsWith','isRemoved','nextPosition','element','adapter','for','_findChangeIdFromDomTarget','ck-suggestion-marker-merge','_getViewObj','isIncorrect','unshift','low','createUIElement','change:isReady','highest','addClass','first','_fixObsoleteTags','attribute:vid','editingDowncast','insertions','_changeView','model','showPreviousChange','isAfter','deletion','addHighlight','delete','getRoot','clear','revision:','RevisionsRepository','element:pre','insertion','elementStart','type','setData','view','push','addMarker:revision-suggestion:deletion','parse','_removeRevisionMarkers'];(function(_0x21aedb,_0x107164){const _0x3c3e16=function(_0x13bf35){while(--_0x13bf35){_0x21aedb['push'](_0x21aedb['shift']());}};_0x3c3e16(++_0x107164);}(_0x1071,0xf1));const _0x3c3e=function(_0x21aedb,_0x107164){_0x21aedb=_0x21aedb-0x0;let _0x3c3e16=_0x1071[_0x21aedb];return _0x3c3e16;};import{Plugin as _0x14f800,Command as _0x6ed4c3}from'ckeditor5/src/core';import{ObservableMixin as _0x24627b,mix as _0x22662e,scrollViewportToShowTarget as _0x276425}from'ckeditor5/src/utils';import{ContextualBalloon as _0x263f21}from'ckeditor5/src/ui';import{DocumentFragment as _0x5e8220,Element as _0x27576b,Text as _0x471767,ViewDocumentFragment as _0x33fed3,ViewText as _0x1ae9eb,ViewElement as _0x5a2e2e,ViewContainerElement as _0x2135f5,ViewAttributeElement as _0x4f8dc2,ViewEmptyElement as _0x33a186,ViewRawElement as _0x5af131,ViewUIElement as _0x5e7b79}from'ckeditor5/src/engine';import{Users as _0x1d6897,getMarkerDomElement as _0x565d48}from'ckeditor5-collaboration/src/collaboration-core';import _0x1e0cb9 from'./ui/revisionviewer/changedetailsview';import _0x14a620 from'./revisionsrepository';import _0x3002ff from'./changeitem';import _0x4afdd7 from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x2135f5,'a':_0x4f8dc2,'e':_0x33a186,'r':_0x5af131,'u':_0x5e7b79};export default class d extends _0x14f800{static get[_0x3c3e('0xde')](){return _0x3c3e('0xaa');}static get[_0x3c3e('0xf4')](){return[_0x1d6897,_0x263f21,_0x14a620];}constructor(..._0x3692d9){super(..._0x3692d9),this[_0x3c3e('0xba')]=this[_0x3c3e('0x50')][_0x3c3e('0x72')][_0x3c3e('0xeb')](_0x3c3e('0x17')),this[_0x3c3e('0x98')](_0x3c3e('0x106'),null),this[_0x3c3e('0x98')](_0x3c3e('0x95'),null),this[_0x3c3e('0x98')](_0x3c3e('0xc8'),null),this[_0x3c3e('0x98')]('isReady',!0x1),this[_0x3c3e('0x98')](_0x3c3e('0x6c'),!0x0),this['on'](_0x3c3e('0xc4'),(_0x5dd5e0,_0x45e8aa,_0x3357f5)=>{this[_0x3c3e('0x106')]=null,this[_0x3c3e('0x95')]=null,this['editor'][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x2d')](_0x2464f1=>{for(const _0x505c2b of this[_0x3c3e('0x50')][_0x3c3e('0x78')]['view'][_0x3c3e('0x61')][_0x3c3e('0xdb')])_0x3357f5?_0x2464f1[_0x3c3e('0xbf')](_0x3c3e('0x51'),_0x505c2b):_0x2464f1[_0x3c3e('0x7')](_0x3c3e('0x51'),_0x505c2b);});}),this['bind'](_0x3c3e('0x31'))['to'](this,_0x3c3e('0x106'),_0x23445e=>null!==_0x23445e),this[_0x3c3e('0x38')](_0x3c3e('0xe9'))['to'](this,_0x3c3e('0x25'),this,'diff',this,_0x3c3e('0x106'),(_0x2714b3,_0x1a2e14,_0x8ed324)=>_0x2714b3&&_0x8ed324?_0x1a2e14[_0x3c3e('0x6d')][_0x3c3e('0xb9')](_0x8ed324):0x0),this['bind'](_0x3c3e('0x54'))['to'](this,'isReady',this,'diff',(_0x53a20d,_0x597489)=>_0x53a20d?_0x597489['changes'][_0x3c3e('0xfa')]:0x0),this[_0x3c3e('0xd')]=null,this[_0x3c3e('0x67')]=new Map(),this[_0x3c3e('0x10f')]=null,this[_0x3c3e('0x56')]=this[_0x3c3e('0x50')]['plugins'][_0x3c3e('0xeb')](_0x263f21);}[_0x3c3e('0xad')](){const _0x456463=this['editor'],_0x3ee942=new et(_0x456463,{'direction':_0x3c3e('0x62')}),_0x2a5208=new et(_0x456463,{'direction':_0x3c3e('0x33')});_0x456463['commands'][_0x3c3e('0xfb')](_0x3c3e('0xf'),_0x3ee942),_0x456463[_0x3c3e('0x7f')]['add']('showNextChange',_0x2a5208),_0x456463[_0x3c3e('0x7f')][_0x3c3e('0xfb')](_0x3c3e('0xed'),new tt(_0x456463)),this['on'](_0x3c3e('0x80'),()=>{_0x3ee942[_0x3c3e('0xac')](),_0x2a5208[_0x3c3e('0xac')]();}),this[_0x3c3e('0x101')](),this['_initInteractions'](),_0x456463['enableReadOnlyMode'](_0x3c3e('0xf9')),_0x456463[_0x3c3e('0x72')][_0x3c3e('0x93')]('WidgetToolbarRepository')&&_0x456463[_0x3c3e('0x72')]['get'](_0x3c3e('0xf0'))[_0x3c3e('0x96')]('revision-viewer');}async[_0x3c3e('0x4d')](_0x285d1c){await this[_0x3c3e('0x28')](_0x285d1c);const _0x33e69d={};for(const _0x3f2ae7 in _0x285d1c['diffData']){const _0x32f536=this[_0x3c3e('0x21')](JSON['parse'](_0x285d1c[_0x3c3e('0xa2')][_0x3f2ae7][_0x3c3e('0xc')])),_0x53c7ed=this[_0x3c3e('0x50')]['editing']['view'][_0x3c3e('0x61')],_0xafd1bf=new _0x33fed3(_0x53c7ed,_0x32f536[_0x3c3e('0xca')](_0x48efe5=>this[_0x3c3e('0x0')](_0x48efe5)));this[_0x3c3e('0x50')][_0x3c3e('0xd5')][_0x3c3e('0x85')]['useFillerType']('marked'),_0x33e69d[_0x3f2ae7]=this[_0x3c3e('0x50')][_0x3c3e('0xd5')]['processor'][_0x3c3e('0x68')](_0xafd1bf),this[_0x3c3e('0x50')][_0x3c3e('0xd5')][_0x3c3e('0x85')][_0x3c3e('0xe6')](_0x3c3e('0x3f'));}return _0x33e69d;}['_removeRevisionMarkers'](_0x57dc67){return(_0x57dc67=_0x57dc67[_0x3c3e('0xcb')](_0x2aa035=>!_0x2aa035[_0x3c3e('0x74')]||'revision-start'!==_0x2aa035[_0x3c3e('0x74')]&&_0x3c3e('0xe1')!==_0x2aa035[_0x3c3e('0x74')]))['forEach'](_0x4e9b9c=>{_0x3c3e('0x64')!=typeof _0x4e9b9c&&(_0x4e9b9c[_0x3c3e('0x36')]=this[_0x3c3e('0x21')](_0x4e9b9c['children']),_0x4e9b9c[_0x3c3e('0xb0')]=_0x4e9b9c[_0x3c3e('0xb0')][_0x3c3e('0xcb')](_0x3a61d1=>!_0x3a61d1[0x0][_0x3c3e('0x10b')](_0x3c3e('0xd8'))));}),_0x57dc67;}[_0x3c3e('0xc3')](_0x4ee51d,_0x35241d,_0x118c4f=!0x1){if(!this['isEnabled'])return;const _0xe9115e=this['diff'],_0x39824f=this['repository'],_0x11c04a=_0x3c3e('0x64')==typeof _0x4ee51d?_0x39824f[_0x3c3e('0x5e')](_0x4ee51d):_0x4ee51d,_0x11bd9c=_0x3c3e('0x64')==typeof _0x35241d?_0x39824f[_0x3c3e('0x5e')](_0x35241d):_0x35241d,_0x2779f0=_0x11c04a['id'],_0x3d3c09=_0x11bd9c?_0x11bd9c['id']:null;if(!_0x118c4f&&this['diff']&&this[_0x3c3e('0xc8')][_0x3c3e('0x9f')]===_0x2779f0&&this[_0x3c3e('0xc8')][_0x3c3e('0x8a')]===_0x3d3c09)return Promise[_0x3c3e('0xa9')]();this[_0x3c3e('0x25')]=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x4afdd7(_0x2779f0,_0x3d3c09);const _0x2e93af=this[_0x3c3e('0x37')](_0x11c04a,_0x11bd9c,!0x0)['map'](_0x571a63=>this[_0x3c3e('0x28')](_0x571a63));return _0x2e93af[_0x3c3e('0x1e')](new Promise(_0x5ee89b=>{setTimeout(_0x5ee89b,0x14);})),Promise['all'](_0x2e93af)[_0x3c3e('0x2e')](()=>{if(!this[_0x3c3e('0x6c')])return;this[_0x3c3e('0x102')]();const _0x1e1dff=this[_0x3c3e('0x8c')](_0x2779f0,_0x3d3c09);this[_0x3c3e('0xc8')]['_setData'](_0x1e1dff);for(const _0x592466 of this[_0x3c3e('0xc8')]['changes'])this[_0x3c3e('0x67')][_0x3c3e('0x98')](_0x592466['id'],_0x592466);this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xa1')]({'isUndoable':!0x1},_0x55dceb=>{for(const _0x145d82 of Object[_0x3c3e('0x43')](_0x1e1dff[_0x3c3e('0xe')])){const _0x69f36a=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x61')][_0x3c3e('0x14')](_0x145d82);_0x55dceb[_0x3c3e('0xf6')](_0x55dceb[_0x3c3e('0x70')](_0x69f36a)),_0x55dceb[_0x3c3e('0x104')](_0x1e1dff[_0x3c3e('0xe')][_0x145d82],_0x69f36a,0x0);}}),this['isReady']=!0x0;})[_0x3c3e('0xd4')](_0xfa1c1f=>{console['error'](_0xfa1c1f),this['_cleanUp'](),_0xe9115e?this[_0x3c3e('0xc8')]=_0xe9115e:this['editor'][_0x3c3e('0x1c')](_0x3c3e('0x57')),this['isReady']=!0x0;});}[_0x3c3e('0x109')](){this[_0x3c3e('0x95')]=null,this[_0x3c3e('0xd')]&&this[_0x3c3e('0xd')][_0x3c3e('0x109')]();}['addRevisionData'](_0x2755cb,_0x1ff5a6){const _0x166706=this[_0x3c3e('0xba')][_0x3c3e('0xe5')](_0x2755cb);return _0x166706['on'](_0x3c3e('0x107'),(_0x239ab9,_0x1f43df,_0x3acd55)=>_0x1ff5a6(_0x1f43df,_0x3acd55,_0x166706)),this[_0x3c3e('0xba')]['addRevision'](_0x166706),_0x166706;}['loadRevisionData'](_0x56cff0){if(!_0x56cff0||_0x56cff0[_0x3c3e('0xa2')])return Promise[_0x3c3e('0xa9')]();{const _0x4f71b3=this[_0x3c3e('0x50')][_0x3c3e('0x4a')][_0x3c3e('0xeb')](_0x3c3e('0xa3'));return this['adapter']['getRevision']({'channelId':_0x4f71b3,'revisionId':_0x56cff0['id']})[_0x3c3e('0x2e')](_0x309ccb=>{_0x56cff0[_0x3c3e('0x107')]({'diffData':_0x309ccb[_0x3c3e('0xa2')]},!0x0);});}}[_0x3c3e('0x102')](){this['activeChange']=null,this[_0x3c3e('0x108')](),this[_0x3c3e('0xd')]&&this[_0x3c3e('0xd')]['destroy'](),this[_0x3c3e('0xd')]=null,this['_changeIdToChange'][_0x3c3e('0x15')]();}[_0x3c3e('0xef')](_0x6fc0f){const _0x493de5=Array['from'](_0x6fc0f[_0x3c3e('0x39')])[_0x3c3e('0xcb')](([_0x14ccca,_0x36ec58])=>_0x14ccca[_0x3c3e('0x10b')](_0x3c3e('0x16'))&&!_0x36ec58[_0x3c3e('0xf2')]),_0x16b17f=Array['from'](this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x70')](_0x6fc0f)[_0x3c3e('0x22')]({'singleCharacters':!0x0}));if(0x0!=_0x493de5['length'])for(const _0x15bf7c of _0x16b17f){const [_0x1fa9e4,_0x48d886]=_0x493de5[0x0],[,_0x46ff05,_0x45ecd8]=_0x1fa9e4[_0x3c3e('0x91')](':');if(_0x48d886[_0x3c3e('0xc9')]['isEqual'](_0x15bf7c[_0x3c3e('0x10d')])&&_0x493de5[_0x3c3e('0xa5')](),(_0x15bf7c[_0x3c3e('0x9a')][_0x3c3e('0xc2')](_0x48d886[_0x3c3e('0x6f')])||_0x15bf7c['previousPosition']['isAfter'](_0x48d886[_0x3c3e('0x6f')]))&&(_0x3c3e('0x19')==_0x46ff05?_0x15bf7c[_0x3c3e('0xff')]={'userId':_0x45ecd8}:_0x3c3e('0x11')==_0x46ff05&&(_0x15bf7c[_0x3c3e('0x10c')]={'userId':_0x45ecd8})),0x0==_0x493de5[_0x3c3e('0xfa')])break;}return _0x16b17f;}[_0x3c3e('0xec')](_0x554ea0){const _0x180275=new Map();for(let _0x516c7a=0x0;_0x516c7a<_0x554ea0[_0x3c3e('0xfa')];_0x516c7a++)'text'===_0x554ea0[_0x516c7a][_0x3c3e('0x1b')]?(_0x554ea0[_0x516c7a]['item']['startIndex']=_0x516c7a,_0x554ea0[_0x516c7a][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x516c7a):('elementStart'===_0x554ea0[_0x516c7a]['type']?_0x554ea0[_0x516c7a]['item'][_0x3c3e('0xab')]=_0x516c7a:_0x3c3e('0xb7')===_0x554ea0[_0x516c7a][_0x3c3e('0x1b')]&&(_0x554ea0[_0x516c7a][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x516c7a),_0x180275[_0x3c3e('0x98')](_0x554ea0[_0x516c7a]['id'],_0x516c7a));for(const _0x18d657 of _0x180275[_0x3c3e('0xa8')]())_0x3c3e('0x1a')===_0x554ea0[_0x18d657][_0x3c3e('0x1b')]?_0x554ea0[_0x18d657][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x180275[_0x3c3e('0xeb')](_0x554ea0[_0x18d657]['pairId']):_0x3c3e('0xb7')===_0x554ea0[_0x18d657][_0x3c3e('0x1b')]&&(_0x554ea0[_0x18d657][_0x3c3e('0x46')][_0x3c3e('0xab')]=_0x180275[_0x3c3e('0xeb')](_0x554ea0[_0x18d657][_0x3c3e('0x47')]));}[_0x3c3e('0xfd')](_0x3fd0cb){for(let _0x53c1c0=0x0;_0x53c1c0<_0x3fd0cb[_0x3c3e('0xfa')];_0x53c1c0++){if('elementStart'===_0x3fd0cb[_0x53c1c0][_0x3c3e('0x1b')])_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xab')]=_0x53c1c0;else{if(_0x3c3e('0xb7')===_0x3fd0cb[_0x53c1c0][_0x3c3e('0x1b')]){_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x53c1c0;const _0x4e17d7=_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')]['startIndex'];_0x3fd0cb[_0x4e17d7]['pairId']=_0x3fd0cb[_0x53c1c0]['id'],_0x3fd0cb[_0x53c1c0][_0x3c3e('0x47')]=_0x3fd0cb[_0x4e17d7]['id'];}else _0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xab')]=_0x53c1c0,_0x3fd0cb[_0x53c1c0][_0x3c3e('0x46')][_0x3c3e('0xf8')]=_0x53c1c0,_0x3fd0cb[_0x53c1c0][_0x3c3e('0x47')]=null;}_0x3fd0cb[_0x53c1c0][_0x3c3e('0xfc')]||(_0x3fd0cb[_0x53c1c0][_0x3c3e('0xfc')]=[],_0x3fd0cb[_0x53c1c0][_0x3c3e('0xcd')]=[]);}}['_markInsertions'](_0x318b0f,_0x211fff){const _0x2fa02b=_0x318b0f[_0x3c3e('0xcb')](_0x15d9c8=>!_0x15d9c8[_0x3c3e('0xff')]);for(let _0x25abf7=0x0;_0x25abf7<_0x211fff[_0x3c3e('0xfa')];_0x25abf7++)_0x211fff[_0x25abf7]['isAdded']&&(_0x2fa02b[_0x25abf7][_0x3c3e('0xff')]=_0x211fff[_0x25abf7][_0x3c3e('0xff')]);}[_0x3c3e('0x3e')](_0x30074f){const _0x44bbc4=JSON[_0x3c3e('0x20')](_0x30074f),_0x55d9a9=this[_0x3c3e('0x50')]['editing'][_0x3c3e('0x1d')][_0x3c3e('0x61')],_0x11a137=new _0x33fed3(_0x55d9a9,_0x44bbc4[_0x3c3e('0xca')](_0x22e79f=>this['_getViewObj'](_0x22e79f)));return this[_0x3c3e('0x50')][_0x3c3e('0xd5')][_0x3c3e('0x75')](_0x11a137);}['_getViewObj'](_0x89d7fb){const _0x141110=this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x61')];if(_0x3c3e('0x64')==typeof _0x89d7fb)return new _0x1ae9eb(_0x141110,_0x89d7fb);{const _0x3dcee9=_0x89d7fb[_0x3c3e('0x36')]['map'](_0x279e1c=>this[_0x3c3e('0x0')](_0x279e1c));return new(Y[_0x89d7fb[(_0x3c3e('0x1b'))]]||_0x5a2e2e)(_0x141110,_0x89d7fb[_0x3c3e('0x74')],_0x89d7fb[_0x3c3e('0xb0')],_0x3dcee9);}}[_0x3c3e('0x8c')](_0x2002a2,_0x21f618=null){const _0x28c9c0=this[_0x3c3e('0xba')][_0x3c3e('0x5e')](_0x2002a2),_0x55149b=_0x21f618?this['repository']['getRevision'](_0x21f618):null,_0x2125e3=this[_0x3c3e('0x37')](_0x28c9c0,_0x55149b),_0x5c497f=_0x2125e3[_0x2125e3['length']-0x1],_0x32f781=new Map();for(const _0x44de4c of _0x2125e3){_0x44de4c[_0x3c3e('0xe')]={};for(const _0x2da321 of _0x44de4c[_0x3c3e('0x24')])_0x32f781[_0x3c3e('0x98')](_0x2da321['id'],_0x2da321);for(const _0x24464e of this[_0x3c3e('0x50')]['model'][_0x3c3e('0x61')][_0x3c3e('0x8e')]())_0x44de4c[_0x3c3e('0xa2')][_0x24464e]||(_0x44de4c[_0x3c3e('0xa2')][_0x24464e]={'insertions':'[]','deletions':'[]'}),_0x44de4c[_0x3c3e('0xe')][_0x24464e]={'insertions':this['_makeModelFromViewString'](_0x44de4c[_0x3c3e('0xa2')][_0x24464e]['insertions']),'deletions':this[_0x3c3e('0x3e')](_0x44de4c[_0x3c3e('0xa2')][_0x24464e][_0x3c3e('0x3b')])};}const _0x43587b={'model':{},'changes':[]};for(const _0x129d3c of this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x61')][_0x3c3e('0x8e')]()){let _0x43c347=null,_0x505b0c=0x0;const _0x58bc26=new Map(Array[_0x3c3e('0xb6')](_0x28c9c0[_0x3c3e('0xe')][_0x129d3c][_0x3c3e('0xc')][_0x3c3e('0x39')])['filter'](([_0x2e055c])=>!_0x2e055c['startsWith'](_0x3c3e('0x16'))));let _0x5a4df7=0x0;for(const _0x431b0b of _0x2125e3){const _0x43b912=this['_makeTape'](_0x431b0b['model'][_0x129d3c][_0x3c3e('0xc')]);_0x431b0b==_0x28c9c0?(_0x43c347=_0x43b912,_0x505b0c=_0x43c347[_0x3c3e('0xfa')],_0x43c347['forEach'](_0x972476=>{_0x972476['id']=_0x5a4df7++;}),this[_0x3c3e('0xfd')](_0x43c347)):this[_0x3c3e('0x4c')](_0x43c347,_0x43b912);const _0x19e32e=_0x43c347['filter'](_0xde48bf=>!_0xde48bf['isAdded'])['map'](_0x5e80a0=>_0x5e80a0['id']);let _0x6881=0x0;const _0x27b851=this[_0x3c3e('0xef')](_0x431b0b[_0x3c3e('0xe')][_0x129d3c][_0x3c3e('0x3b')]);_0x27b851[_0x3c3e('0x2f')](_0x2f8b52=>{_0x2f8b52[_0x3c3e('0x10c')]?_0x2f8b52['id']=_0x505b0c++:_0x2f8b52['id']=_0x19e32e[_0x6881++];}),this['_processTape'](_0x27b851),this[_0x3c3e('0x92')](_0x43c347,_0x3c3e('0xff')),this[_0x3c3e('0x92')](_0x27b851,_0x3c3e('0x10c')),_0x431b0b==_0x28c9c0&&this[_0x3c3e('0x35')](_0x43c347,_0x58bc26),_0x43c347=this[_0x3c3e('0x7c')](_0x43c347,_0x27b851),this[_0x3c3e('0xec')](_0x43c347),this['_setDistance'](_0x43c347,_0x3c3e('0x10c'));}_0x43c347=_0x43c347[_0x3c3e('0xcb')](_0x593151=>!(_0x593151[_0x3c3e('0xff')]&&_0x593151[_0x3c3e('0x10c')]));const _0x363b32=new Map(_0x5c497f[_0x3c3e('0xe')][_0x129d3c][_0x3c3e('0x3b')][_0x3c3e('0x39')]),_0x2c3837=new Set(_0x58bc26['keys']());for(const _0x39d9a3 of _0x363b32['keys']())_0x2c3837[_0x3c3e('0x13')](_0x39d9a3);this[_0x3c3e('0x5f')](_0x43c347,_0x2c3837),this[_0x3c3e('0x9')](_0x43c347),_0x43c347=this[_0x3c3e('0xce')](_0x43c347),_0x43c347=this[_0x3c3e('0x29')](_0x43c347),_0x43c347=this['_removeUnsupportedChanges'](_0x43c347);const {root:_0x24ec0e,changes:_0x295a4}=this[_0x3c3e('0x69')](_0x43c347,_0x32f781);_0x43587b[_0x3c3e('0xe')][_0x129d3c]=_0x24ec0e,_0x43587b['changes']=_0x43587b['changes']['concat'](_0x295a4);}return _0x43587b;}[_0x3c3e('0x35')](_0x476a68,_0xe51934){for(let _0x4d510f=0x0;_0x4d510f<_0x476a68[_0x3c3e('0xfa')];_0x4d510f++)for(const [_0x5c1fb9,_0xbbd59e]of _0xe51934)_0xbbd59e[_0x3c3e('0x6f')][_0x3c3e('0xc2')](_0x476a68[_0x4d510f][_0x3c3e('0x9a')])&&_0x476a68[_0x4d510f][_0x3c3e('0xfc')][_0x3c3e('0x1e')](_0x5c1fb9),_0xbbd59e[_0x3c3e('0xc9')][_0x3c3e('0xc2')](_0x476a68[_0x4d510f][_0x3c3e('0x10d')])&&_0x476a68[_0x4d510f]['markersEnd'][_0x3c3e('0x1e')](_0x5c1fb9);}['_joinTapes'](_0x55127c,_0x268030){let _0x8a1fdd=[],_0x21490f=0x0,_0x2a95bf=0x0;for(;_0x21490f<_0x55127c[_0x3c3e('0xfa')]||_0x2a95bf<_0x268030[_0x3c3e('0xfa')];){const _0x34e6ea=_0x55127c[_0x21490f]||{},_0x17aeaa=_0x268030[_0x2a95bf]||{};if(_0x34e6ea['id']==_0x17aeaa['id'])_0x21490f++,_0x2a95bf++,_0x8a1fdd['push'](_0x34e6ea);else{if(_0x17aeaa[_0x3c3e('0x10c')]&&_0x34e6ea[_0x3c3e('0xff')]){const {commonTape:_0x519df0,iEnd:_0x24b53e,jEnd:_0x4c8554}=this[_0x3c3e('0xda')](_0x55127c,_0x21490f,_0x268030,_0x2a95bf);_0x8a1fdd=_0x8a1fdd[_0x3c3e('0xdd')](_0x519df0),_0x21490f=_0x24b53e,_0x2a95bf=_0x4c8554;}else _0x17aeaa[_0x3c3e('0x10c')]?(_0x2a95bf++,_0x8a1fdd['push'](_0x17aeaa)):(_0x21490f++,_0x8a1fdd[_0x3c3e('0x1e')](_0x34e6ea));}}return _0x8a1fdd;}[_0x3c3e('0x5f')](_0x3ffe88,_0x773e91){const _0x56166e=[];for(let _0xbcd43c=0x0;_0xbcd43c<_0x3ffe88[_0x3c3e('0xfa')];_0xbcd43c++){for(let _0x116d49=0x0;_0x116d49<_0x3ffe88[_0xbcd43c][_0x3c3e('0xfc')][_0x3c3e('0xfa')];_0x116d49++){const _0x2bb8fa=_0x3ffe88[_0xbcd43c]['markersStart'][_0x116d49];if(!_0x773e91[_0x3c3e('0x93')](_0x2bb8fa))continue;const {group:_0x2abbe3,type:_0x1285a6,authorId:_0x3e513d}=_0x3fd08(_0x2bb8fa);_0x3c3e('0x3a')!=_0x2abbe3||_0x3c3e('0x19')!=_0x1285a6&&_0x3c3e('0x11')!=_0x1285a6||(_0x56166e[_0x3c3e('0x2')]({'type':_0x1285a6,'name':_0x2bb8fa,'userId':_0x3e513d}),_0x3ffe88[_0xbcd43c][_0x3c3e('0xfc')][_0x3c3e('0x84')](_0x116d49,0x1),_0x116d49--);}_0x3c7f3c(_0x3ffe88[_0xbcd43c]);for(let _0x114e81=0x0;_0x114e81<_0x3ffe88[_0xbcd43c][_0x3c3e('0xcd')][_0x3c3e('0xfa')];_0x114e81++){const _0x1e0b97=_0x3ffe88[_0xbcd43c]['markersEnd'][_0x114e81];if(!_0x773e91[_0x3c3e('0x93')](_0x1e0b97))continue;const {group:_0xb49dc2,type:_0x322d30}=_0x3fd08(_0x1e0b97);if(_0x3c3e('0x3a')!=_0xb49dc2||_0x3c3e('0x19')!=_0x322d30&&_0x3c3e('0x11')!=_0x322d30)continue;_0x3ffe88[_0xbcd43c][_0x3c3e('0xcd')]['splice'](_0x114e81,0x1),_0x114e81--;const _0x4df07b=_0x56166e[_0x3c3e('0x32')](_0x3e33f3=>_0x3e33f3[_0x3c3e('0x74')]==_0x1e0b97);_0x4df07b>-0x1&&_0x56166e[_0x3c3e('0x84')](_0x4df07b,0x1);}}function _0x3fd08(_0x43ff68){const _0x332239=_0x43ff68[_0x3c3e('0x91')](':');return{'group':_0x332239[0x0],'type':_0x332239[0x1],'subType':_0x332239[_0x3c3e('0xfa')]>=0x5?_0x332239[0x2]:null,'id':_0x332239[_0x3c3e('0xfa')]<0x5?_0x332239[0x2]:_0x332239[0x3],'authorId':_0x332239[_0x3c3e('0xfa')]<0x5?_0x332239[0x3]:_0x332239[0x4],'markerCount':0x6==_0x332239[_0x3c3e('0xfa')]?_0x332239[0x5]:null};}function _0x3c7f3c(_0x54d1fb){for(let _0x4d04f0=0x0;_0x4d04f0<_0x56166e[_0x3c3e('0xfa')];_0x4d04f0++){if(_0x54d1fb['isAdded']&&'insertion'==_0x56166e[_0x4d04f0]['type'])return _0x54d1fb['isAddSuggestion']=_0x56166e[_0x4d04f0],void delete _0x54d1fb['isAdded'];if(!_0x54d1fb['isAdded']&&!_0x54d1fb[_0x3c3e('0x10c')]&&_0x3c3e('0x11')==_0x56166e[_0x4d04f0][_0x3c3e('0x1b')])return void(_0x54d1fb[_0x3c3e('0x27')]=_0x56166e[_0x4d04f0]);}}}[_0x3c3e('0x92')](_0x2c0cd6,_0x5598a9){let _0x3c4a25=0x0,_0x10089a=!0x1;const _0x51cfde=new Map();for(const _0x12499c of _0x2c0cd6)_0x12499c[_0x5598a9]?_0x10089a&&(_0x3c4a25++,_0x10089a=!0x1):(_0x3c4a25++,_0x10089a=!0x0),_0x51cfde[_0x3c3e('0x98')](_0x12499c['id'],_0x3c4a25);for(let _0x43ed06=0x0;_0x43ed06<_0x2c0cd6[_0x3c3e('0xfa')];_0x43ed06++){if(_0x3c3e('0x10c')==_0x5598a9&&_0x2c0cd6[_0x43ed06][_0x3c3e('0xff')]||'isAdded'==_0x5598a9&&_0x2c0cd6[_0x43ed06][_0x3c3e('0x10c')])continue;if(_0x3c3e('0x94')==_0x2c0cd6[_0x43ed06][_0x3c3e('0x1b')]){_0x2c0cd6[_0x43ed06][_0x3c3e('0xdf')]=0x0;continue;}const _0x591ec8=_0x51cfde[_0x3c3e('0xeb')](_0x2c0cd6[_0x43ed06]['pairId']),_0xc8c05b=_0x51cfde[_0x3c3e('0xeb')](_0x2c0cd6[_0x43ed06]['id']);_0x2c0cd6[_0x43ed06][_0x3c3e('0xdf')]=_0x591ec8-_0xc8c05b;}}['_getRevisionsRange'](_0x15ff44,_0x272f66,_0x40cd48=!0x1){const _0x25323b=[];let _0x5d5e4b=this['repository']['getIndex'](_0x15ff44),_0x44b0ea=this[_0x3c3e('0xba')]['getIndex'](_0x272f66);for(-0x1==_0x44b0ea&&(_0x44b0ea=this[_0x3c3e('0xba')][_0x3c3e('0x52')][_0x3c3e('0xfa')],_0x40cd48=!0x1);_0x5d5e4b<_0x44b0ea;)_0x25323b[_0x3c3e('0x1e')](this[_0x3c3e('0xba')][_0x3c3e('0x5e')](_0x5d5e4b)),_0x5d5e4b++;return _0x40cd48&&_0x25323b[_0x3c3e('0x1e')](this[_0x3c3e('0xba')][_0x3c3e('0x5e')](_0x5d5e4b)),_0x25323b;}['_threeWayMerge'](_0x2080cf,_0x17a382,_0xdaff16,_0x7ebdc0){const _0x8f03de=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xbb')];let _0x21c6e4=_0x17a382;for(;_0x2080cf[_0x21c6e4]&&_0x2080cf[_0x21c6e4][_0x3c3e('0xff')];)_0x21c6e4++;let _0x57ae37=_0x7ebdc0;for(;_0xdaff16[_0x57ae37]&&_0xdaff16[_0x57ae37][_0x3c3e('0x10c')];)_0x57ae37++;_0x15c664(_0x2080cf,_0x17a382,_0x21c6e4),_0x15c664(_0xdaff16,_0x7ebdc0,_0x57ae37);const _0x39b926=_0xdaff16[_0x3c3e('0xa7')](_0x7ebdc0,_0x57ae37)[_0x3c3e('0xdd')](_0x2080cf[_0x3c3e('0xa7')](_0x17a382,_0x21c6e4));return _0x39b926[_0x3c3e('0xa0')]((_0x2fb756,_0x10ef72)=>_0x2fb756[_0x3c3e('0x4f')]!=_0x10ef72[_0x3c3e('0x4f')]?_0x2fb756['side']-_0x10ef72[_0x3c3e('0x4f')]:_0x2fb756[_0x3c3e('0x83')]!=_0x10ef72[_0x3c3e('0x83')]?_0x2fb756[_0x3c3e('0x83')]-_0x10ef72[_0x3c3e('0x83')]:_0x2fb756[_0x3c3e('0xdf')]!=_0x10ef72['distance']?_0x10ef72[_0x3c3e('0xdf')]-_0x2fb756['distance']:!!_0x2fb756[_0x3c3e('0xff')]!=!!_0x10ef72[_0x3c3e('0xff')]?-0x1==_0x2fb756[_0x3c3e('0x4f')]||0x0==_0x2fb756['side']?_0x2fb756[_0x3c3e('0xff')]?-0x1:0x1:_0x2fb756[_0x3c3e('0xff')]?0x1:-0x1:_0x2fb756[_0x3c3e('0x48')]-_0x10ef72[_0x3c3e('0x48')]),{'commonTape':_0x39b926,'iEnd':_0x21c6e4,'jEnd':_0x57ae37};function _0x15c664(_0x520bb6,_0x5ab9be,_0x3c2039){let _0x337168=-0x1,_0xe8f305=Number[_0x3c3e('0x89')],_0x5e7c61=!0x0;for(let _0x324ba4=_0x5ab9be;_0x324ba4<_0x3c2039;_0x324ba4++)if(_0x8f03de[_0x3c3e('0x49')](_0x520bb6[_0x324ba4][_0x3c3e('0x46')])||(_0x5e7c61=!0x1),_0x520bb6[_0x324ba4][_0x3c3e('0x46')][_0x3c3e('0xab')]<_0x5ab9be&&(_0x337168=_0x324ba4),_0x520bb6[_0x324ba4][_0x3c3e('0x46')][_0x3c3e('0xf8')]>=_0x3c2039){_0xe8f305=_0x324ba4;break;}_0x5e7c61&&(_0x337168=_0x3c2039-0x1);for(let _0x1c0066=_0x5ab9be;_0x1c0066<_0x3c2039;_0x1c0066++)_0x520bb6[_0x1c0066]['side']=_0x1c0066<=_0x337168?-0x1:_0x1c0066<_0xe8f305?0x0:0x1,_0x520bb6[_0x1c0066][_0x3c3e('0x48')]=_0x1c0066;let _0x58cd40=0x0;for(let _0x16c763=_0x5ab9be;_0x16c763<=_0x337168;_0x16c763++)0x0==_0x520bb6[_0x16c763][_0x3c3e('0xdf')]?_0x520bb6[_0x16c763][_0x3c3e('0x83')]=_0x58cd40:(_0x58cd40++,_0x520bb6[_0x16c763][_0x3c3e('0x83')]=_0x58cd40,_0x58cd40++);for(let _0x55041c=_0x5ab9be;_0x55041c<_0x3c2039;_0x55041c++)0x0==_0x520bb6[_0x55041c][_0x3c3e('0x4f')]&&(_0x520bb6[_0x55041c][_0x3c3e('0x83')]=_0x58cd40);_0x58cd40=0x0;for(let _0x28d002=_0x3c2039-0x1;_0x28d002>=_0xe8f305;_0x28d002--)0x0==_0x520bb6[_0x28d002][_0x3c3e('0xdf')]?_0x520bb6[_0x28d002]['level']=_0x58cd40:(_0x58cd40--,_0x520bb6[_0x28d002][_0x3c3e('0x83')]=_0x58cd40,_0x58cd40--);}}[_0x3c3e('0x9')](_0x154a2a){const _0x200291=new Map(),_0x4bef94=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xbb')];for(let _0x3cd8c7=0x1;_0x3cd8c7<_0x154a2a[_0x3c3e('0xfa')];_0x3cd8c7++){let _0x36da19,_0x126f11,_0x36a522;const _0x2cf12c=_0x154a2a[_0x3cd8c7],_0x390969=_0x154a2a[_0x3cd8c7-0x1];if(_0x3c3e('0x94')==_0x2cf12c[_0x3c3e('0x1b')])continue;if(_0x2cf12c[_0x3c3e('0x1b')]!=_0x390969['type'])continue;if(!_0x4bef94[_0x3c3e('0x5c')](_0x390969['item'])||_0x4bef94[_0x3c3e('0x53')](_0x390969[_0x3c3e('0x46')]))continue;if(!_0x4bef94['isBlock'](_0x2cf12c[_0x3c3e('0x46')])||_0x4bef94[_0x3c3e('0x53')](_0x2cf12c[_0x3c3e('0x46')]))continue;if((_0x154a2a[_0x3cd8c7]['isAdded']||_0x154a2a[_0x3cd8c7][_0x3c3e('0x5d')])&&_0x154a2a[_0x3cd8c7-0x1][_0x3c3e('0x10c')])_0x36da19=_0x154a2a[_0x3cd8c7],_0x126f11=_0x154a2a[_0x3cd8c7-0x1],_0x36a522=_0x3cd8c7-0x1;else{if(!_0x154a2a[_0x3cd8c7][_0x3c3e('0x10c')]||!_0x154a2a[_0x3cd8c7-0x1][_0x3c3e('0xff')]&&!_0x154a2a[_0x3cd8c7-0x1][_0x3c3e('0x5d')])continue;_0x36da19=_0x154a2a[_0x3cd8c7-0x1],_0x126f11=_0x154a2a[_0x3cd8c7],_0x36a522=_0x3cd8c7;}const _0x2c4a84=_0x36da19[_0x3c3e('0x83')]==_0x126f11['level'],_0x3dafb2=Math['abs'](_0x36da19[_0x3c3e('0x83')])<Math[_0x3c3e('0xc1')](_0x126f11['level'])&&0x0==_0x126f11[_0x3c3e('0xdf')];(_0x2c4a84||_0x3dafb2)&&(_0x200291[_0x3c3e('0x98')](_0x126f11['id'],_0x36da19['id']),_0x154a2a[_0x3c3e('0x84')](_0x36a522,0x1),_0x3cd8c7--,_0x36da19[_0x3c3e('0xff')]=!0x1);}for(let _0x2cd986=0x0;_0x2cd986<_0x154a2a[_0x3c3e('0xfa')];_0x2cd986++)_0x200291[_0x3c3e('0x93')](_0x154a2a[_0x2cd986]['pairId'])&&(_0x154a2a[_0x2cd986][_0x3c3e('0x47')]=_0x200291[_0x3c3e('0xeb')](_0x154a2a[_0x2cd986]['pairId']));}[_0x3c3e('0xce')](_0x35e6a5){const _0x2b735f=new Set(_0x35e6a5[_0x3c3e('0xca')](_0x5466b1=>_0x5466b1['id']));for(let _0x492c21=0x0;_0x492c21<_0x35e6a5['length'];_0x492c21++)_0x2b735f['has'](_0x35e6a5[_0x492c21][_0x3c3e('0x47')])||0x0==_0x35e6a5[_0x492c21][_0x3c3e('0xdf')]||(_0x35e6a5[_0x492c21][_0x3c3e('0x1')]=!0x0);return _0x35e6a5[_0x3c3e('0xcb')](_0x16df09=>!_0x16df09[_0x3c3e('0x1')]);}[_0x3c3e('0x29')](_0x3aa6d2){const _0x496108=new Set();for(let _0x18ed62=0x0;_0x18ed62<_0x3aa6d2[_0x3c3e('0xfa')];_0x18ed62++){if(_0x496108[_0x3c3e('0x93')](_0x3aa6d2[_0x18ed62]['id'])&&_0x3aa6d2[_0x18ed62][_0x3c3e('0x10c')]&&(_0x3aa6d2[_0x18ed62][_0x3c3e('0x1')]=!0x0),_0x3aa6d2[_0x18ed62][_0x3c3e('0x1')])continue;if(0x0==_0x3aa6d2[_0x18ed62][_0x3c3e('0xdf')])continue;if('elementStart'!=_0x3aa6d2[_0x18ed62][_0x3c3e('0x1b')])continue;if(null==_0x3aa6d2[_0x18ed62][_0x3c3e('0x47')])continue;let _0x3994a6=_0x18ed62+0x1,_0x1bbb53=0x0;for(;_0x3aa6d2[_0x3994a6]['id']!=_0x3aa6d2[_0x18ed62][_0x3c3e('0x47')];)_0x3c3e('0x1a')==_0x3aa6d2[_0x3994a6]['type']?_0x1bbb53++:'elementEnd'==_0x3aa6d2[_0x3994a6][_0x3c3e('0x1b')]&&_0x1bbb53--,_0x3994a6++;if(0x0!=_0x1bbb53){if(_0x3aa6d2[_0x18ed62][_0x3c3e('0x10c')])_0x3aa6d2[_0x18ed62][_0x3c3e('0x1')]=!0x0;else for(;_0x3994a6!=_0x18ed62;)_0x3aa6d2[_0x3994a6]['isRemoved']&&0x0!=_0x3aa6d2[_0x3994a6][_0x3c3e('0xdf')]&&(_0x3aa6d2[_0x3994a6][_0x3c3e('0x1')]=!0x0,_0x496108[_0x3c3e('0xfb')](_0x3aa6d2[_0x3994a6][_0x3c3e('0x47')])),_0x3994a6--;}}return _0x3aa6d2['filter'](_0x10e755=>!_0x10e755[_0x3c3e('0x1')]);}[_0x3c3e('0x41')](_0x72b974){const _0x22d629=this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0xbb')];for(let _0x3253f8=0x0;_0x3253f8<_0x72b974[_0x3c3e('0xfa')];_0x3253f8++){if(!(_0x72b974[_0x3253f8][_0x3c3e('0xff')]||_0x72b974[_0x3253f8][_0x3c3e('0x5d')]||_0x72b974[_0x3253f8][_0x3c3e('0x10c')]||_0x72b974[_0x3253f8][_0x3c3e('0x27')]))continue;if(0x0==_0x72b974[_0x3253f8][_0x3c3e('0xdf')])continue;const _0x417561=_0x72b974[_0x3253f8][_0x3c3e('0x46')];_0x22d629['isBlock'](_0x417561)||_0x22d629[_0x3c3e('0x53')](_0x417561)||(_0x72b974[_0x3253f8][_0x3c3e('0xff')]&&delete _0x72b974[_0x3253f8]['isAdded'],_0x72b974[_0x3253f8][_0x3c3e('0x5d')]&&delete _0x72b974[_0x3253f8][_0x3c3e('0x5d')],_0x72b974[_0x3253f8][_0x3c3e('0x27')]&&delete _0x72b974[_0x3253f8][_0x3c3e('0x27')],_0x72b974[_0x3253f8][_0x3c3e('0x10c')]&&(_0x72b974[_0x3253f8][_0x3c3e('0x1')]=!0x0));}return _0x72b974['filter'](_0x2e574b=>!_0x2e574b[_0x3c3e('0x1')]);}[_0x3c3e('0x69')](_0x4875e0,_0x2d3dff){const _0x5b6649=new _0x5e8220(),_0x29218f=[],_0xae16a4=new Map(),_0x1911c3=this['editor'][_0x3c3e('0xe')],_0x244f1b=_0x1911c3[_0x3c3e('0xbb')],_0x41a034=[_0x5b6649],_0x342bf3={},_0x366815={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5217ca=null;const _0x157cf8=[0x0];for(let _0x376603=0x0;_0x376603<_0x4875e0[_0x3c3e('0xfa')];_0x376603++){let _0x3080c9,_0x5f2a3f;if('elementStart'===_0x4875e0[_0x376603]['type']){_0x3080c9=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8);const _0x559fa9=new _0x27576b(_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0x74')],_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0xbd')]());_0x41a034[0x0][_0x3c3e('0xee')](_0x559fa9),_0x157cf8[_0x3c3e('0x1e')](0x0),_0x41a034[_0x3c3e('0x2')](_0x559fa9),_0x5f2a3f=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8),_0x5217ca=null;}else{if(_0x3c3e('0xb7')===_0x4875e0[_0x376603][_0x3c3e('0x1b')])_0x41a034['shift'](),_0x3080c9=_0x1911c3['createPositionFromPath'](_0x5b6649,_0x157cf8),_0x157cf8[_0x3c3e('0x9d')](),_0x157cf8[_0x157cf8[_0x3c3e('0xfa')]-0x1]++,_0x5f2a3f=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8),_0x5217ca=null;else{if(_0x3080c9=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8),_0x5217ca&&_0x3854cb(_0x5217ca,_0x4875e0[_0x376603][_0x3c3e('0x46')]))_0x5217ca['_data']+=_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0xd5')];else{const _0x983831=new _0x471767(_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0xd5')],_0x4875e0[_0x376603]['item']['getAttributes']());_0x41a034[0x0][_0x3c3e('0xee')](_0x983831),_0x5217ca=_0x983831;}_0x157cf8[_0x157cf8[_0x3c3e('0xfa')]-0x1]+=_0x4875e0[_0x376603][_0x3c3e('0x46')][_0x3c3e('0x44')],_0x5f2a3f=_0x1911c3[_0x3c3e('0x77')](_0x5b6649,_0x157cf8);}}for(const _0x3114f1 of _0x4875e0[_0x376603][_0x3c3e('0xfc')])_0xae16a4['set'](_0x3114f1,{'start':_0x3080c9,'end':null});_0x586194(_0x3c3e('0x27'),_0x376603,_0x3080c9,_0x5f2a3f),_0x586194('isAddSuggestion',_0x376603,_0x3080c9,_0x5f2a3f),_0x586194('isRemoved',_0x376603,_0x3080c9,_0x5f2a3f),_0x586194(_0x3c3e('0xff'),_0x376603,_0x3080c9,_0x5f2a3f);for(const _0x2451c6 of _0x4875e0[_0x376603]['markersEnd']){_0xae16a4['get'](_0x2451c6)['end']=_0x5f2a3f;}}for(const [_0x474f4d,_0x4ef580]of _0xae16a4){const _0x3b8f0d=this[_0x3c3e('0x50')]['model']['createRange'](_0x4ef580[_0x3c3e('0x6f')],_0x4ef580[_0x3c3e('0xc9')]);_0x5b6649['markers'][_0x3c3e('0x98')](_0x474f4d,_0x3b8f0d);}return _0x29218f['sort']((_0xe54e6b,_0x2538bc)=>{const _0x473968=_0x5b6649[_0x3c3e('0x39')][_0x3c3e('0xeb')]('revision:'+_0xe54e6b['id']),_0x35bbe5=_0x5b6649[_0x3c3e('0x39')][_0x3c3e('0xeb')](_0x3c3e('0x16')+_0x2538bc['id']);return _0x473968[_0x3c3e('0x6f')][_0x3c3e('0x97')](_0x35bbe5[_0x3c3e('0x6f')])?-0x1:_0x473968[_0x3c3e('0x6f')][_0x3c3e('0x10')](_0x35bbe5['start'])?0x1:_0x473968[_0x3c3e('0xc9')][_0x3c3e('0x97')](_0x35bbe5[_0x3c3e('0xc9')])?-0x1:_0x473968[_0x3c3e('0xc9')][_0x3c3e('0x10')](_0x35bbe5['end'])?0x1:_0x3c3e('0xfb')===_0xe54e6b[_0x3c3e('0x1b')]?-0x1:0x1;}),{'root':_0x5b6649,'changes':_0x29218f};function _0x586194(_0xf03c4c,_0x403837,_0x3a18a7,_0x38331e){const _0x25216d=!!_0x4875e0[_0x403837][_0xf03c4c],_0x4317f8=_0x25216d?_0x4875e0[_0x403837][_0xf03c4c][_0x3c3e('0x63')]:null,_0x2dbdd5=_0x403837===_0x4875e0[_0x3c3e('0xfa')]-0x1,_0xc8feff=_0x366815[_0xf03c4c][0x0],_0x509f6c=_0x244f1b['isObject'](_0x4875e0[_0x403837][_0x3c3e('0x46')]);!_0x342bf3[_0xf03c4c]&&_0x25216d?_0x342bf3[_0xf03c4c]={'start':_0x3a18a7,'tapeItem':_0x4875e0[_0x403837],'userId':_0x4317f8,'type':_0xf03c4c}:_0x342bf3[_0xf03c4c]&&!_0x25216d?(_0x342bf3[_0xf03c4c][_0x3c3e('0xc9')]=_0x3a18a7,_0x3fb336(_0x342bf3[_0xf03c4c]),_0x342bf3[_0xf03c4c]=null):_0x342bf3[_0xf03c4c]&&_0x25216d&&_0x342bf3[_0xf03c4c][_0x3c3e('0x63')]!==_0x4317f8&&(_0x342bf3[_0xf03c4c][_0x3c3e('0xc9')]=_0x3a18a7,_0xc8feff&&_0xc8feff[_0x3c3e('0x63')]===_0x342bf3[_0xf03c4c][_0x3c3e('0x63')]||_0x3fb336(_0x342bf3[_0xf03c4c]),_0x342bf3[_0xf03c4c]={'start':_0x3a18a7,'tapeItem':_0x4875e0[_0x403837],'userId':_0x4317f8,'type':_0xf03c4c}),_0x342bf3[_0xf03c4c]&&_0x509f6c&&(_0x3c3e('0x1a')!==_0x4875e0[_0x403837]['type']||_0xc8feff&&_0xc8feff[_0x3c3e('0x63')]===_0x4317f8||_0x366815[_0xf03c4c][_0x3c3e('0x2')]({'userId':_0x4317f8,'object':_0x4875e0[_0x403837]['item'],'change':_0x342bf3[_0xf03c4c]}),'elementEnd'===_0x4875e0[_0x403837][_0x3c3e('0x1b')]&&_0xc8feff&&_0xc8feff[_0x3c3e('0xbe')]===_0x4875e0[_0x403837]['item']&&(_0x366815[_0xf03c4c]['shift'](),_0x342bf3[_0xf03c4c]=_0xc8feff['change'])),_0x342bf3[_0xf03c4c]&&_0x2dbdd5&&(_0x342bf3[_0xf03c4c][_0x3c3e('0xc9')]=_0x38331e,_0x3fb336(_0x342bf3[_0xf03c4c]),_0x342bf3[_0xf03c4c]=null);}function _0x3fb336({start:_0x63e399,end:_0x28507d,tapeItem:_0x55d4b3,userId:_0x2f1097,type:_0x59d683}){const _0x1bab55=_0x55d4b3[_0x3c3e('0x46')],_0xa6b93d=_0x1911c3[_0x3c3e('0xbb')]['isBlock'](_0x1bab55)&&!_0x1911c3[_0x3c3e('0xbb')][_0x3c3e('0x53')](_0x1bab55),_0x29a012=_0x63e399[_0x3c3e('0x10a')]==_0x28507d[_0x3c3e('0x66')]&&_0x28507d['isAtStart'];if(_0xa6b93d&&_0x29a012)return;const _0x3867b9=_0x1911c3[_0x3c3e('0x81')](_0x63e399,_0x28507d),_0x5d780c=_0x2d3dff[_0x3c3e('0xeb')](_0x2f1097),_0x1dd38c=new _0x3002ff({'author':_0x5d780c,'type':'isAdded'==_0x59d683||_0x3c3e('0x5d')==_0x59d683?_0x3c3e('0xfb'):_0x3c3e('0xf6'),'data':{'isSuggestion':_0x3c3e('0x5d')==_0x59d683||'isRemoveSuggestion'==_0x59d683},'createdAt':new Date()});_0x29218f[_0x3c3e('0x1e')](_0x1dd38c),_0x5b6649[_0x3c3e('0x39')]['set'](_0x3c3e('0x16')+_0x1dd38c['id'],_0x3867b9);}function _0x3854cb(_0x48ad03,_0x2ea7b4){const _0x6a0e51=_0x48ad03[_0x3c3e('0xbd')](),_0x30d53b=_0x2ea7b4[_0x3c3e('0xbd')]();for(const _0x4a7207 of _0x6a0e51){if(_0x4a7207[0x1]!==_0x2ea7b4[_0x3c3e('0xe8')](_0x4a7207[0x0]))return!0x1;_0x30d53b['next']();}return _0x30d53b[_0x3c3e('0xae')]()[_0x3c3e('0xa4')];}}[_0x3c3e('0x101')](){this[_0x3c3e('0x50')]['conversion'][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0x71')]({'view':_0x3c3e('0x7d')}),this[_0x3c3e('0x50')][_0x3c3e('0x45')]['for'](_0x3c3e('0xb'))[_0x3c3e('0x73')]({'model':_0x3c3e('0x7d'),'view':_0x5b513c=>{const _0x301bc5=_0x5b513c[_0x3c3e('0x88')][_0x3c3e('0x91')](':')[0x1],_0x1c1c6f=this[_0x3c3e('0xb8')](_0x301bc5);if(!_0x1c1c6f)return null;const _0x59b22e=_0x3c3e('0xfb')==_0x1c1c6f['type']?_0x3c3e('0x19'):'deletion',_0x285eca=[_0x3c3e('0x30'),_0x3c3e('0xc6')+_0x59b22e];return _0x1c1c6f[_0x3c3e('0xd5')][_0x3c3e('0xcc')]&&_0x285eca[_0x3c3e('0x1e')](_0x3c3e('0xc6')+_0x59b22e+_0x3c3e('0xea')),this[_0x3c3e('0x106')]==_0x1c1c6f&&_0x285eca['push']('ck-suggestion-marker--active'),{'classes':_0x285eca,'attributes':{'data-change-id':_0x301bc5}};}}),this[_0x3c3e('0x50')][_0x3c3e('0x45')]['for'](_0x3c3e('0x2c'))['add'](_0x48d7b9=>{_0x48d7b9['on'](_0x3c3e('0x18'),(_0x4df203,_0x4a9520,_0x8daffa)=>{const _0x158bfb=_0x4a9520[_0x3c3e('0xcf')][_0x3c3e('0xaf')](0x0);if(!_0x158bfb||!_0x158bfb['is'](_0x3c3e('0x10e'),_0x3c3e('0xf7')))return;if(!_0x8daffa[_0x3c3e('0x7e')][_0x3c3e('0x23')](_0x158bfb,{'attributes':['vid_start',_0x3c3e('0xe4')]}))return;const _0x178976=_0x4a9520['modelRange'][_0x3c3e('0x6f')][_0x3c3e('0x10a')];_0x8daffa[_0x3c3e('0x105')]['setAttribute'](_0x3c3e('0x26'),_0x158bfb['getAttribute'](_0x3c3e('0x26')),_0x178976),_0x8daffa[_0x3c3e('0x105')][_0x3c3e('0x3c')](_0x3c3e('0xe4'),_0x158bfb[_0x3c3e('0xe8')](_0x3c3e('0xe4')),_0x178976);},{'priority':'low'});}),this[_0x3c3e('0x50')][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0xfb')](_0x38e2fe=>{_0x38e2fe['on'](_0x3c3e('0x10e'),(_0xbfe669,_0x2df512,_0x252f2d)=>{if(!_0x252f2d['consumable'][_0x3c3e('0x23')](_0x2df512['viewItem'],{'attributes':[_0x3c3e('0x26'),_0x3c3e('0xe4')]}))return;if(_0x2df512[_0x3c3e('0xd9')][_0x3c3e('0xf2')])return;const _0x1d7fa9=_0x2df512[_0x3c3e('0xd9')][_0x3c3e('0x6f')][_0x3c3e('0x10a')];_0x1d7fa9[_0x3c3e('0xe0')]('vid_start')||_0x1d7fa9[_0x3c3e('0xe0')]('vid')||(_0x252f2d[_0x3c3e('0x105')][_0x3c3e('0x3c')](_0x3c3e('0x26'),_0x2df512['viewItem'][_0x3c3e('0xe8')](_0x3c3e('0x26')),_0x1d7fa9),_0x252f2d[_0x3c3e('0x105')][_0x3c3e('0x3c')]('vid_end',_0x2df512[_0x3c3e('0xcf')][_0x3c3e('0xe8')](_0x3c3e('0xe4')),_0x1d7fa9));},{'priority':_0x3c3e('0x3')});}),this[_0x3c3e('0x50')]['conversion'][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0xf3')]({'view':{'name':_0x3c3e('0xb2'),'attributes':{'vid':!0x0}},'model':{'key':_0x3c3e('0xbc'),'value':_0x5f0008=>_0x5f0008[_0x3c3e('0xe8')](_0x3c3e('0xbc'))}}),this['editor']['model'][_0x3c3e('0xbb')]['on']('checkAttribute',(_0x1f09a7,[,_0x6363be])=>{[_0x3c3e('0x26'),_0x3c3e('0xe4'),_0x3c3e('0xbc')][_0x3c3e('0x8d')](_0x6363be)&&(_0x1f09a7['return']=!0x0,_0x1f09a7['stop']());},{'priority':_0x3c3e('0x6')}),this['editor'][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0xc0'))[_0x3c3e('0xfb')](_0x39b9d1=>{_0x39b9d1['on'](_0x3c3e('0xa'),(_0xa73466,_0x302a47,_0x3c255f)=>{if('\x20'!=_0x302a47[_0x3c3e('0x46')][_0x3c3e('0xd5')]||_0x302a47[_0x3c3e('0x46')][_0x3c3e('0x66')][_0x3c3e('0xdc')]>0x1)return;if(!_0x3c255f[_0x3c3e('0x7e')][_0x3c3e('0x23')](_0x302a47['item'],_0xa73466[_0x3c3e('0x74')]))return;const _0x564b2e=_0x3c255f['writer'],_0x304c46=_0x3c255f['mapper'][_0x3c3e('0xa6')](_0x302a47[_0x3c3e('0x9b')]);_0x564b2e['wrap'](_0x304c46,_0x564b2e['createAttributeElement'](_0x3c3e('0xb2')));});}),this[_0x3c3e('0x50')]['conversion'][_0x3c3e('0x110')]('dataDowncast')[_0x3c3e('0x60')]({'model':'revision'}),this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x34')]['on'](_0x3c3e('0x5b'),function(_0x1d1598){const _0x552298=_0x1d1598[_0x3c3e('0x72')][_0x3c3e('0xeb')](_0x3c3e('0xaa'));return(_0x50f797,_0x9468c7,_0x202f28)=>{const _0xcfa50f=_0x9468c7[_0x3c3e('0x88')][_0x3c3e('0x91')](':')[0x1],_0x4cbb4f=_0x552298['_getChangeFromId'](_0xcfa50f);if(!_0x4cbb4f)return null;const _0x583340=_0x3c3e('0xfb')==_0x4cbb4f[_0x3c3e('0x1b')]?_0x3c3e('0x91'):_0x3c3e('0xfe');if(!_0x202f28[_0x3c3e('0x7e')][_0x3c3e('0xc7')](_0x9468c7['markerRange'],_0x50f797[_0x3c3e('0x74')]))return;const _0x4c773b=_0x9468c7['markerRange'][_0x3c3e('0x22')](),_0x10bb68=_0x9468c7['markerRange']['start'],_0x26fd0e=_0x1d1598['model'][_0x3c3e('0xbb')];let _0x397238=null,_0x3bebda=null,_0x14610c=!0x1,_0x47940f=!0x1;for(const _0x3bd9c2 of _0x4c773b){const _0x311146=_0x3bd9c2['item'];_0x14610c=_0x14610c||_0x26fd0e[_0x3c3e('0xe7')](_0x311146);const _0xfb34f9=_0x202f28[_0x3c3e('0x87')][_0x3c3e('0x55')](_0x311146);if(_0xfb34f9&&_0xfb34f9[_0x3c3e('0x65')](_0x3c3e('0x12')))return;'elementEnd'==_0x3bd9c2['type']&&(_0x26fd0e[_0x3c3e('0x5c')](_0x311146)&&!_0x26fd0e[_0x3c3e('0x53')](_0x311146)&&(_0x311146[_0x3c3e('0xd1')]||_0x10bb68['isAtEnd']?_0x397238&&_0x397238[_0x3c3e('0x66')]==_0x311146||(_0x397238=_0x311146,_0x557de0(_0x3bd9c2[_0x3c3e('0x9a')]),_0x47940f=!0x0):_0x3bebda=_0x3bebda||_0x3bd9c2[_0x3c3e('0x9a')]));}function _0x557de0(_0x53d669){const _0x2fae0a=_0x202f28[_0x3c3e('0x105')][_0x3c3e('0x4')](_0x3c3e('0xb2'),{'class':'ck-suggestion-marker-'+_0x583340}),_0x1e7431=_0x202f28[_0x3c3e('0x87')]['toViewPosition'](_0x53d669);_0x4cbb4f[_0x3c3e('0xd5')][_0x3c3e('0xcc')]&&_0x202f28[_0x3c3e('0x105')][_0x3c3e('0x7')](_0x3c3e('0xc6')+_0x583340+_0x3c3e('0xea'),_0x2fae0a),_0x552298[_0x3c3e('0x106')]==_0x4cbb4f&&_0x202f28['writer']['addClass'](_0x3c3e('0x9c'),_0x2fae0a),_0x202f28['writer'][_0x3c3e('0x104')](_0x1e7431,_0x2fae0a),_0x202f28[_0x3c3e('0x87')][_0x3c3e('0xb3')](_0x2fae0a,_0x9468c7[_0x3c3e('0x88')]);}_0x14610c||_0x47940f||!_0x3bebda||_0x557de0(_0x3bebda);};}(this[_0x3c3e('0x50')]),{'priority':_0x3c3e('0x4b')}),this[_0x3c3e('0x50')]['editing']['downcastDispatcher']['on'](_0x3c3e('0xd6'),(_0x5829db,_0x1248c7,_0x2410ca)=>{const _0x4d7eee=_0x2410ca['mapper']['markerNameToElements'](_0x1248c7[_0x3c3e('0x88')]);if(_0x4d7eee)for(const _0xb36acc of _0x4d7eee)(_0xb36acc['hasClass'](_0x3c3e('0xe2'))||_0xb36acc[_0x3c3e('0x100')](_0x3c3e('0x112')))&&(_0x2410ca[_0x3c3e('0x87')][_0x3c3e('0x2b')](_0xb36acc,_0x1248c7[_0x3c3e('0x88')]),_0x2410ca[_0x3c3e('0x105')]['remove'](_0xb36acc));},{'priority':_0x3c3e('0x4b')}),this['editor'][_0x3c3e('0x78')][_0x3c3e('0x34')]['on'](_0x3c3e('0x5b'),(_0x193862,_0x1cbf01,_0x5c9036)=>{const _0x1139c6=_0x1cbf01['markerName']['split'](':')[0x1],_0x3f8773=this[_0x3c3e('0xb8')](_0x1139c6);if(!_0x3f8773)return null;const _0x391c84=_0x3c3e('0xfb')==_0x3f8773['type']?_0x3c3e('0x91'):_0x3c3e('0xfe');if(_0x5c9036[_0x3c3e('0x7e')]['test'](_0x1cbf01[_0x3c3e('0x103')],_0x193862[_0x3c3e('0x74')]))for(const _0x30513b of _0x1cbf01[_0x3c3e('0x103')][_0x3c3e('0x9e')]()){if(!_0x30513b['is'](_0x3c3e('0x10e'),'softBreak'))continue;const _0x1fe57f=_0x5c9036[_0x3c3e('0x105')]['createUIElement'](_0x3c3e('0xb2'),{'class':_0x3c3e('0xc6')+_0x391c84}),_0x77d36d=_0x5c9036[_0x3c3e('0x87')][_0x3c3e('0xd7')](this[_0x3c3e('0x50')]['model']['createPositionBefore'](_0x30513b));_0x3f8773[_0x3c3e('0xd5')][_0x3c3e('0xcc')]&&_0x5c9036[_0x3c3e('0x105')]['addClass'](_0x3c3e('0xc6')+_0x391c84+_0x3c3e('0xea'),_0x1fe57f),this[_0x3c3e('0x106')]==_0x3f8773&&_0x5c9036[_0x3c3e('0x105')][_0x3c3e('0x7')](_0x3c3e('0x9c'),_0x1fe57f),_0x5c9036[_0x3c3e('0x105')][_0x3c3e('0x104')](_0x77d36d,_0x1fe57f),_0x5c9036[_0x3c3e('0x87')]['bindElementToMarker'](_0x1fe57f,_0x1cbf01[_0x3c3e('0x88')]);}},{'priority':_0x3c3e('0x4b')}),this[_0x3c3e('0x50')][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0x2c'))['dataToMarker']({'view':'comment','model':_0x488d78=>'revision-comment:'+_0x488d78,'converterPriority':_0x3c3e('0x6')}),this[_0x3c3e('0x50')][_0x3c3e('0x45')][_0x3c3e('0x110')](_0x3c3e('0x2c'))[_0x3c3e('0x71')]({'view':_0x3c3e('0xf5'),'model':_0x1ce702=>'revision-suggestion:'+_0x1ce702,'converterPriority':_0x3c3e('0x6')}),this[_0x3c3e('0x50')]['conversion']['for'](_0x3c3e('0xc0'))['markerToData']({'model':_0x3c3e('0x3a'),'view':_0x48377d=>_0x3c3e('0xf1')+_0x48377d,'converterPriority':_0x3c3e('0x6')}),this[_0x3c3e('0x50')]['conversion']['for'](_0x3c3e('0xb'))[_0x3c3e('0x73')]({'model':_0x3c3e('0x3a'),'view':_0x171759=>{const _0x36ba4e=_0x171759[_0x3c3e('0x88')]['split'](':')[0x1];return _0x3c3e('0x19')!=_0x36ba4e&&_0x3c3e('0x11')!=_0x36ba4e?null:{'classes':[_0x3c3e('0x7a'),_0x3c3e('0xd0')+_0x36ba4e]};}}),this[_0x3c3e('0x50')][_0x3c3e('0x78')]['downcastDispatcher']['on'](_0x3c3e('0x1f'),Z(this[_0x3c3e('0x50')],_0x3c3e('0xfe')),{'priority':_0x3c3e('0x4b')}),this[_0x3c3e('0x50')][_0x3c3e('0x78')]['downcastDispatcher']['on'](_0x3c3e('0x7b'),Z(this['editor'],_0x3c3e('0x91')),{'priority':_0x3c3e('0x4b')}),this['editor'][_0x3c3e('0x78')][_0x3c3e('0x34')]['on']('removeMarker:revision-suggestion',(_0x3a5f0d,_0x420e4a,_0x4ebc30)=>{const _0x3d348c=_0x4ebc30['mapper']['markerNameToElements'](_0x420e4a[_0x3c3e('0x88')]);if(_0x3d348c)for(const _0x101761 of _0x3d348c)_0x101761['is'](_0x3c3e('0x6e'))&&(_0x4ebc30[_0x3c3e('0x87')][_0x3c3e('0x2b')](_0x101761,_0x420e4a[_0x3c3e('0x88')]),_0x4ebc30[_0x3c3e('0x105')]['remove'](_0x101761));},{'priority':_0x3c3e('0x4b')});}[_0x3c3e('0xb8')](_0x4d279a){return this['_changeIdToChange'][_0x3c3e('0xeb')](_0x4d279a);}[_0x3c3e('0x86')](_0x9c2ded){this[_0x3c3e('0xd')]&&this[_0x3c3e('0xd')][_0x3c3e('0x109')](),this[_0x3c3e('0xd')]=new _0x1e0cb9(this[_0x3c3e('0x50')][_0x3c3e('0xb5')],_0x9c2ded);const _0x560611=this['editor'][_0x3c3e('0xe')][_0x3c3e('0x39')][_0x3c3e('0xeb')]('revision:'+_0x9c2ded['id']);return this[_0x3c3e('0xd')]['_target']=()=>_0x565d48(this[_0x3c3e('0x50')]['editing'],_0x560611),this[_0x3c3e('0xd')];}[_0x3c3e('0x82')](){this[_0x3c3e('0x50')]['model'][_0x3c3e('0x61')][_0x3c3e('0x76')][_0x3c3e('0x58')](_0x3c3e('0x7d')),this['on'](_0x3c3e('0x79'),(_0x2042c0,_0x513a28,_0x1667a7,_0x2974bf)=>{_0x2974bf&&this[_0x3c3e('0x56')]['remove'](_0x2974bf),_0x1667a7&&(this['_balloon'][_0x3c3e('0xfb')]({'view':_0x1667a7,'stackId':'revisionHistoryLabel','position':{'target':_0x1667a7[_0x3c3e('0x4e')]}}),this[_0x3c3e('0x56')]['showStack'](_0x3c3e('0x90')));}),this['on'](_0x3c3e('0x5a'),(_0x207f8a,_0x4bb727,_0x1d7d61,_0x4d7807)=>{this['activeView']=_0x1d7d61?this[_0x3c3e('0x86')](_0x1d7d61):null,this[_0x3c3e('0x50')][_0x3c3e('0xe')]['change'](()=>{const _0x343355=this['editor'][_0x3c3e('0x78')];_0x4d7807&&_0x343355['reconvertMarker'](_0x3c3e('0x16')+_0x4d7807['id']),_0x1d7d61&&_0x343355[_0x3c3e('0xe3')](_0x3c3e('0x16')+_0x1d7d61['id']);});}),this['listenTo'](this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x61')],_0x3c3e('0xb1'),(_0x563cb5,_0x4b5462)=>{if(this['activeChange'])return;const _0x5d5047=this['_findChangeIdFromDomTarget'](_0x4b5462[_0x3c3e('0x59')]),_0x3a835a=this[_0x3c3e('0x67')][_0x3c3e('0xeb')](_0x5d5047);this['activeView']=_0x3a835a?this[_0x3c3e('0x86')](_0x3a835a):null;}),this[_0x3c3e('0xc5')](this[_0x3c3e('0x50')][_0x3c3e('0x78')][_0x3c3e('0x1d')][_0x3c3e('0x61')],_0x3c3e('0x8b'),(_0x32d737,_0x374d5c)=>{const _0x368430=this[_0x3c3e('0x111')](_0x374d5c[_0x3c3e('0x59')]),_0x2b6b01=this[_0x3c3e('0x67')][_0x3c3e('0xeb')](_0x368430);this[_0x3c3e('0x106')]=_0x2b6b01||null;});}['_findChangeIdFromDomTarget'](_0x2c626a){do{const _0x187d8b=_0x2c626a[_0x3c3e('0xe8')](_0x3c3e('0x8f'));if(_0x187d8b)return _0x187d8b;_0x2c626a=_0x2c626a[_0x3c3e('0x66')];}while(_0x2c626a);return null;}[_0x3c3e('0x108')](){this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x2d')](_0x2f0b68=>{for(const _0x43bf1f of this[_0x3c3e('0x50')][_0x3c3e('0xe')][_0x3c3e('0x39')])_0x2f0b68[_0x3c3e('0x6b')](_0x43bf1f);});}}function Z(_0x1754f9,_0x4e974c){return(_0x41a49f,_0x5912cd,_0x496607)=>{if(!_0x496607['consumable'][_0x3c3e('0xc7')](_0x5912cd[_0x3c3e('0x103')],_0x41a49f[_0x3c3e('0x74')]))return;const _0x24f3e7=_0x5912cd[_0x3c3e('0x103')][_0x3c3e('0x22')](),_0x22c63c=_0x5912cd['markerRange'][_0x3c3e('0x6f')],_0x17dbae=_0x1754f9[_0x3c3e('0xe')][_0x3c3e('0xbb')];let _0x679cac=null,_0x4988ac=null,_0x36d948=!0x1,_0x3eda1c=!0x1;for(const _0x53006e of _0x24f3e7){const _0x5bd0e3=_0x53006e[_0x3c3e('0x46')];_0x36d948=_0x36d948||_0x17dbae[_0x3c3e('0xe7')](_0x5bd0e3);const _0x2be648=_0x496607[_0x3c3e('0x87')]['toViewElement'](_0x5bd0e3);if(_0x2be648&&_0x2be648[_0x3c3e('0x65')](_0x3c3e('0x12')))return;_0x3c3e('0xb7')==_0x53006e[_0x3c3e('0x1b')]&&(_0x17dbae[_0x3c3e('0x5c')](_0x5bd0e3)&&!_0x17dbae[_0x3c3e('0x53')](_0x5bd0e3)&&(_0x5bd0e3[_0x3c3e('0xd1')]||_0x22c63c[_0x3c3e('0x3d')]?_0x679cac&&_0x679cac['parent']==_0x5bd0e3||(_0x679cac=_0x5bd0e3,_0xfb3a83(_0x53006e[_0x3c3e('0x9a')]),_0x3eda1c=!0x0):_0x4988ac=_0x4988ac||_0x53006e[_0x3c3e('0x9a')]));}function _0xfb3a83(_0x10c62f){const _0x217681=_0x496607['mapper'][_0x3c3e('0xd7')](_0x10c62f),_0xb6825c=_0x496607['writer'][_0x3c3e('0x4')](_0x3c3e('0xb2'),{'class':_0x3c3e('0xd0')+_0x4e974c});_0x496607[_0x3c3e('0x105')]['insert'](_0x217681,_0xb6825c),_0x496607['mapper'][_0x3c3e('0xb3')](_0xb6825c,_0x5912cd[_0x3c3e('0x88')]);}_0x36d948||_0x3eda1c||!_0x4988ac||_0xfb3a83(_0x4988ac);};}_0x22662e(d,_0x24627b);class tt extends _0x6ed4c3{constructor(_0x28d964){super(_0x28d964);const _0x346079=_0x28d964[_0x3c3e('0x72')][_0x3c3e('0xeb')](d);this['stopListening'](_0x28d964,'change:isReadOnly'),this[_0x3c3e('0x99')](_0x3c3e('0x40')),this[_0x3c3e('0xc5')](_0x346079,'change:isReady',()=>this[_0x3c3e('0xac')]()),this['listenTo'](_0x346079,_0x3c3e('0xc4'),()=>this[_0x3c3e('0xac')]());}[_0x3c3e('0xd2')](){const _0x136030=this[_0x3c3e('0x50')],_0x2e6a01=_0x136030[_0x3c3e('0x72')][_0x3c3e('0xeb')](d),_0x41a8fa=_0x2e6a01['isReady']?_0x2e6a01[_0x3c3e('0xc8')]['newRevisionId']:null;_0x136030[_0x3c3e('0x4a')][_0x3c3e('0xeb')](_0x3c3e('0x6a'))[_0x3c3e('0x42')](_0x41a8fa);}[_0x3c3e('0xac')](){const {isReady:_0x46fcfa,isEnabled:_0x2ad175}=this[_0x3c3e('0x50')][_0x3c3e('0x72')][_0x3c3e('0xeb')](d);this[_0x3c3e('0x6c')]=_0x46fcfa&&_0x2ad175;}}class et extends _0x6ed4c3{constructor(_0x2be71d,{direction:_0x4a3dde}){super(_0x2be71d);const _0x20176f=_0x2be71d['plugins'][_0x3c3e('0xeb')](d);this[_0x3c3e('0xd3')](_0x2be71d,_0x3c3e('0x2a')),this[_0x3c3e('0x99')](_0x3c3e('0x40')),this[_0x3c3e('0xb4')]=_0x3c3e('0x33')===_0x4a3dde?0x1:-0x1,this[_0x3c3e('0xc5')](_0x20176f,_0x3c3e('0x5'),()=>this[_0x3c3e('0xac')]()),this[_0x3c3e('0xc5')](_0x20176f,'change:isEnabled',()=>this[_0x3c3e('0xac')]());}[_0x3c3e('0xd2')](){const _0x2ff141=this[_0x3c3e('0x50')],_0x521b90=_0x2ff141[_0x3c3e('0x72')][_0x3c3e('0xeb')](d),{isNavigationMode:_0x347ffd,currentChangeNumber:_0x2b10cc}=_0x521b90;_0x521b90[_0x3c3e('0x106')]=_0x347ffd?_0x521b90['diff'][_0x3c3e('0x6d')]['get'](_0x2b10cc+this[_0x3c3e('0xb4')]):_0x521b90[_0x3c3e('0xc8')]['changes'][_0x3c3e('0x8')];const _0x1004df=_0x2ff141[_0x3c3e('0xe')][_0x3c3e('0x39')][_0x3c3e('0xeb')](_0x3c3e('0x16')+_0x521b90[_0x3c3e('0x106')]['id']),_0x4dcb86=_0x565d48(_0x2ff141[_0x3c3e('0x78')],_0x1004df);_0x276425({'target':_0x4dcb86,'viewportOffset':0x28});}[_0x3c3e('0xac')](){const {isNavigationMode:_0x4550a,currentChangeNumber:_0x4f5fa0,numberOfChanges:_0x4fee43,isReady:_0xbc0dfc,isEnabled:_0x3c854c}=this[_0x3c3e('0x50')][_0x3c3e('0x72')]['get'](d);this[_0x3c3e('0x6c')]=!!(_0x3c854c&&_0xbc0dfc&&_0x4fee43)&&(!_0x4550a||(0x1===this[_0x3c3e('0xb4')]?_0x4f5fa0<_0x4fee43-0x1:_0x4f5fa0>0x0));}}
23
+ const _0x2610=['revisionHistoryLabel','change:activeChange','suggestion','currentChangeNumber','editingDowncast','isAtEnd','getRevision','revision','getRoot','markersStart','forward','vid_end','end','isContent','change:isReadOnly','removeMarker:revision','toData','element','change:isEnabled','plugins','_setDistance','deletion','isRemoved','ck-suggestion-marker--active','markers','deletions','_changeView','getItems','_setConversion','<p></p>','data-revision-','push','distance','editor','index','getAttributes','markerToHighlight','createAttributeElement','pairId','processor','addRevisionData','nextSibling','parse','getWalker','execute','refresh','from','adapter','elementToAttribute','get','_setData','elementStart','_revisions','hasClass','forEach','numberOfChanges','nodeAfter','backward','activeChange','ck-suggestion-preview-marker','addClass','toViewElement','low','consume','merge','pluginName','toViewRange','isEqual','enqueueChange','markerToData','newRevisionId','target','getRevisionData','wrap','side','getIndex','all','mouseover','view','ck-editor__editable__overlay','includes','mousedown','object','suggestion:','_getViewForChange','addMarker:revision','_removeRevisionMarkers','test','remove','-new','isSuggestion','ck-suggestion-preview-marker-','item','createRevision','showStack','_makeModelFromViewString','isIncorrect','length','_cleanUp','isLimit','roots','loadRevisionData','abs','showNextChange','_markSuggestions','downcastDispatcher','addMarker:revision-suggestion:insertion','next','vid_start','_balloon','_joinTapes','stopListening','_update','change:numberOfChanges','_getRevisionsRange','add','data','enableReadOnlyMode','insertion','endIndex','softBreak','start','repository','type','createUIElement','set','diff','string','revision-viewer','revision:','POSITIVE_INFINITY','createRangeIn','viewItem','revisionHistory','shift','conversion','data-change-id','isRemoveSuggestion','getRootNames','consumable','markerName','isAddSuggestion','markersEnd','_initInteractions','done','_makeTape','getAttribute','listenTo','span','has','maxOffset','activeView','unshift','pop','_removeMissingPairs','diffData','_makeModelFromTape','attributes','previousPosition','code','editing','dataToMarker','filter','split','_processTape','destroy','high','authors','comment','RevisionViewer','_appendChild','_markMismatchedRemovedTags','revision-end','parent','createPositionFromPath','changes','toModel','observeMarkers','_data','addHighlight','commands','checkAttribute','readOnlyMode','elementEnd','removeMarker:revision-suggestion','isAfter','change:activeView','toViewPosition','isAdded','startsWith','stop','modelRange','level','markerRange','_getChangeFromId','dataDowncast','model','range','mapper','revision-suggestion','for','getCustomProperty','nextPosition','oldRevisionId','map','document','_cleanMarkers','delete','removeClass','uiElement','_removeUnsupportedChanges','useFillerType','collaboration.channelId','clearForceDisabled','then','highest','vid','_getViewObj','_getDiff','_changeIdToChange','compare','concat','isCollapsed','insert','ck-suggestion-marker-','config','restoreRevisionCallback','isReady','isBlock','userId','WidgetToolbarRepository','isNavigationMode','clear','change:isReady','hasAttribute','init','createRange','isEnabled','resolve','setAttribute','_step','_refreshStartEndIndex','children','_threeWayMerge','_target','splice','keys','showPreviousChange','_markMarkers','upcast','writer','reconvertMarker','bind','RevisionsRepository','change','schema','startIndex','text','ck-suggestion-marker-merge','revision-suggestion:','_markInsertions','insertions','_findChangeIdFromDomTarget','name'];(function(_0x31d8e1,_0x26107a){const _0x524bab=function(_0x5a8a2e){while(--_0x5a8a2e){_0x31d8e1['push'](_0x31d8e1['shift']());}};_0x524bab(++_0x26107a);}(_0x2610,0x135));const _0x524b=function(_0x31d8e1,_0x26107a){_0x31d8e1=_0x31d8e1-0x0;let _0x524bab=_0x2610[_0x31d8e1];return _0x524bab;};import{Plugin as _0x229f8,Command as _0x4709cd}from'ckeditor5/src/core';import{ObservableMixin as _0x41e455,mix as _0xdcc6b,scrollViewportToShowTarget as _0xce6de3}from'ckeditor5/src/utils';import{ContextualBalloon as _0x267e0f}from'ckeditor5/src/ui';import{DocumentFragment as _0x39d827,Element as _0xa0cd73,Text as _0x5ee507,ViewDocumentFragment as _0x1d31c1,ViewText as _0xf1449d,ViewElement as _0x4320d4,ViewContainerElement as _0x4f6aaa,ViewAttributeElement as _0x51f0b4,ViewEmptyElement as _0x447f01,ViewRawElement as _0x365df8,ViewUIElement as _0x2ebab8}from'ckeditor5/src/engine';import{Users as _0x22e1e5,getMarkerDomElement as _0x357e15}from'ckeditor5-collaboration/src/collaboration-core';import _0x5e30ed from'./ui/revisionviewer/changedetailsview';import _0x51bcfc from'./revisionsrepository';import _0x17521b from'./changeitem';import _0x570a28 from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x4f6aaa,'a':_0x51f0b4,'e':_0x447f01,'r':_0x365df8,'u':_0x2ebab8};export default class d extends _0x229f8{static get[_0x524b('0x14')](){return _0x524b('0x7c');}static get['requires'](){return[_0x22e1e5,_0x267e0f,_0x51bcfc];}constructor(..._0x3852ca){super(..._0x3852ca),this[_0x524b('0x4d')]=this[_0x524b('0xfc')]['plugins'][_0x524b('0x4')](_0x524b('0xd0')),this['set'](_0x524b('0xd'),null),this[_0x524b('0x50')](_0x524b('0x6a'),null),this[_0x524b('0x50')](_0x524b('0x51'),null),this[_0x524b('0x50')]('isReady',!0x1),this[_0x524b('0x50')]('isEnabled',!0x0),this['on'](_0x524b('0xed'),(_0x5acd8b,_0x32bcf9,_0x5e22ac)=>{this['activeChange']=null,this['activeView']=null,this['editor'][_0x524b('0x73')][_0x524b('0x21')][_0x524b('0xd1')](_0x33db62=>{for(const _0x5c0817 of this['editor']['editing'][_0x524b('0x21')][_0x524b('0xa0')][_0x524b('0x37')])_0x5e22ac?_0x33db62[_0x524b('0xa3')](_0x524b('0x22'),_0x5c0817):_0x33db62[_0x524b('0xf')]('ck-editor__editable__overlay',_0x5c0817);});}),this[_0x524b('0xcf')](_0x524b('0xba'))['to'](this,_0x524b('0xd'),_0x52ea10=>null!==_0x52ea10),this[_0x524b('0xcf')](_0x524b('0xde'))['to'](this,_0x524b('0xb6'),this,_0x524b('0x51'),this,_0x524b('0xd'),(_0x4f170a,_0x7cc9c0,_0x47a10f)=>_0x4f170a&&_0x47a10f?_0x7cc9c0[_0x524b('0x82')][_0x524b('0x1e')](_0x47a10f):0x0),this['bind'](_0x524b('0xa'))['to'](this,'isReady',this,_0x524b('0x51'),(_0x46934f,_0x3781b7)=>_0x46934f?_0x3781b7[_0x524b('0x82')][_0x524b('0x34')]:0x0),this[_0x524b('0xf5')]=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this[_0x524b('0xfc')][_0x524b('0xee')][_0x524b('0x4')](_0x267e0f);}[_0x524b('0xbe')](){const _0x2e5042=this[_0x524b('0xfc')],_0x18f3b6=new et(_0x2e5042,{'direction':_0x524b('0xc')}),_0x761370=new et(_0x2e5042,{'direction':_0x524b('0xe5')});_0x2e5042['commands'][_0x524b('0x46')](_0x524b('0xca'),_0x18f3b6),_0x2e5042[_0x524b('0x87')][_0x524b('0x46')](_0x524b('0x3a'),_0x761370),_0x2e5042[_0x524b('0x87')]['add']('restoreRevision',new tt(_0x2e5042)),this['on'](_0x524b('0x44'),()=>{_0x18f3b6['refresh'](),_0x761370[_0x524b('0x0')]();}),this[_0x524b('0xf7')](),this[_0x524b('0x62')](),_0x2e5042[_0x524b('0x48')](_0x524b('0x53')),_0x2e5042[_0x524b('0xee')][_0x524b('0x68')]('WidgetToolbarRepository')&&_0x2e5042[_0x524b('0xee')]['get'](_0x524b('0xb9'))['forceDisabled'](_0x524b('0x53'));}async[_0x524b('0x1b')](_0x4eaedb){await this[_0x524b('0x38')](_0x4eaedb);const _0x11156d={};for(const _0x2056ef in _0x4eaedb['diffData']){const _0x192121=this[_0x524b('0x29')](JSON[_0x524b('0x105')](_0x4eaedb[_0x524b('0x6e')][_0x2056ef][_0x524b('0xd8')])),_0x37359a=this[_0x524b('0xfc')][_0x524b('0x73')][_0x524b('0x21')][_0x524b('0xa0')],_0x1c161b=new _0x1d31c1(_0x37359a,_0x192121[_0x524b('0x9f')](_0x461435=>this[_0x524b('0xac')](_0x461435)));this[_0x524b('0xfc')][_0x524b('0x47')]['processor'][_0x524b('0xa6')]('marked'),_0x11156d[_0x2056ef]=this[_0x524b('0xfc')][_0x524b('0x47')][_0x524b('0x102')][_0x524b('0xeb')](_0x1c161b),this[_0x524b('0xfc')]['data'][_0x524b('0x102')][_0x524b('0xa6')]('default');}return _0x11156d;}[_0x524b('0x29')](_0x364eea){return(_0x364eea=_0x364eea[_0x524b('0x75')](_0x4fbfe2=>!_0x4fbfe2[_0x524b('0xda')]||'revision-start'!==_0x4fbfe2['name']&&_0x524b('0x7f')!==_0x4fbfe2[_0x524b('0xda')]))['forEach'](_0x59bdc2=>{_0x524b('0x52')!=typeof _0x59bdc2&&(_0x59bdc2['children']=this[_0x524b('0x29')](_0x59bdc2[_0x524b('0xc5')]),_0x59bdc2['attributes']=_0x59bdc2[_0x524b('0x70')][_0x524b('0x75')](_0x220e12=>!_0x220e12[0x0][_0x524b('0x90')](_0x524b('0xf9'))));}),_0x364eea;}[_0x524b('0xaf')](_0x478064,_0x42909a,_0x518e68=!0x1){if(!this[_0x524b('0xc0')])return;const _0x43c67b=this[_0x524b('0x51')],_0x36ed41=this[_0x524b('0x4d')],_0x7bf641=_0x524b('0x52')==typeof _0x478064?_0x36ed41[_0x524b('0xe1')](_0x478064):_0x478064,_0x56ffea=_0x524b('0x52')==typeof _0x42909a?_0x36ed41['getRevision'](_0x42909a):_0x42909a,_0x29df07=_0x7bf641['id'],_0x1fc1ce=_0x56ffea?_0x56ffea['id']:null;if(!_0x518e68&&this[_0x524b('0x51')]&&this['diff'][_0x524b('0x19')]===_0x29df07&&this[_0x524b('0x51')][_0x524b('0x9e')]===_0x1fc1ce)return Promise['resolve']();this[_0x524b('0xb6')]=!0x1,this[_0x524b('0x6a')]=null,this[_0x524b('0xd')]=null,this[_0x524b('0x51')]=new _0x570a28(_0x29df07,_0x1fc1ce);const _0x5a3e04=this[_0x524b('0x45')](_0x7bf641,_0x56ffea,!0x0)['map'](_0x123242=>this[_0x524b('0x38')](_0x123242));return _0x5a3e04['push'](new Promise(_0xa1ad79=>{setTimeout(_0xa1ad79,0x14);})),Promise[_0x524b('0x1f')](_0x5a3e04)[_0x524b('0xa9')](()=>{if(!this[_0x524b('0xc0')])return;this[_0x524b('0x35')]();const _0x215c46=this[_0x524b('0xad')](_0x29df07,_0x1fc1ce);this[_0x524b('0x51')][_0x524b('0x5')](_0x215c46);for(const _0x639f3e of this[_0x524b('0x51')][_0x524b('0x82')])this[_0x524b('0xae')][_0x524b('0x50')](_0x639f3e['id'],_0x639f3e);this[_0x524b('0xfc')][_0x524b('0x97')][_0x524b('0x17')]({'isUndoable':!0x1},_0x449bb6=>{for(const _0x2f6fc2 of Object[_0x524b('0xc9')](_0x215c46['model'])){const _0x47fe27=this[_0x524b('0xfc')][_0x524b('0x97')]['document'][_0x524b('0xe3')](_0x2f6fc2);_0x449bb6[_0x524b('0x2b')](_0x449bb6['createRangeIn'](_0x47fe27)),_0x449bb6[_0x524b('0xb2')](_0x215c46[_0x524b('0x97')][_0x2f6fc2],_0x47fe27,0x0);}}),this[_0x524b('0xb6')]=!0x0;})['catch'](_0x150e60=>{console['error'](_0x150e60),this['_cleanUp'](),_0x43c67b?this[_0x524b('0x51')]=_0x43c67b:this[_0x524b('0xfc')]['setData'](_0x524b('0xf8')),this[_0x524b('0xb6')]=!0x0;});}['destroy'](){this['activeView']=null,this[_0x524b('0xf5')]&&this[_0x524b('0xf5')][_0x524b('0x78')]();}[_0x524b('0x103')](_0x191774,_0x48a0d1){const _0xd9608a=this[_0x524b('0x4d')][_0x524b('0x30')](_0x191774);return _0xd9608a['on'](_0x524b('0x43'),(_0x53f36f,_0x52b6f0,_0x5155f4)=>_0x48a0d1(_0x52b6f0,_0x5155f4,_0xd9608a)),this[_0x524b('0x4d')]['addRevision'](_0xd9608a),_0xd9608a;}['loadRevisionData'](_0x499989){if(!_0x499989||_0x499989[_0x524b('0x6e')])return Promise[_0x524b('0xc1')]();{const _0x279321=this[_0x524b('0xfc')][_0x524b('0xb4')][_0x524b('0x4')](_0x524b('0xa7'));return this[_0x524b('0x2')][_0x524b('0xe1')]({'channelId':_0x279321,'revisionId':_0x499989['id']})[_0x524b('0xa9')](_0x215d74=>{_0x499989[_0x524b('0x43')]({'diffData':_0x215d74[_0x524b('0x6e')]},!0x0);});}}[_0x524b('0x35')](){this[_0x524b('0xd')]=null,this[_0x524b('0xa1')](),this[_0x524b('0xf5')]&&this[_0x524b('0xf5')]['destroy'](),this['_changeView']=null,this[_0x524b('0xae')][_0x524b('0xbb')]();}[_0x524b('0x64')](_0x201dbb){const _0x2f9492=Array[_0x524b('0x1')](_0x201dbb[_0x524b('0xf3')])[_0x524b('0x75')](([_0x35513a,_0x2364dd])=>_0x35513a['startsWith'](_0x524b('0x54'))&&!_0x2364dd[_0x524b('0xb1')]),_0x33c4d7=Array[_0x524b('0x1')](this[_0x524b('0xfc')][_0x524b('0x97')][_0x524b('0x56')](_0x201dbb)[_0x524b('0x106')]({'singleCharacters':!0x0}));if(0x0!=_0x2f9492[_0x524b('0x34')])for(const _0x3e48df of _0x33c4d7){const [_0x257b91,_0x1a2f78]=_0x2f9492[0x0],[,_0x155931,_0x31a8df]=_0x257b91[_0x524b('0x76')](':');if(_0x1a2f78[_0x524b('0xe7')][_0x524b('0x16')](_0x3e48df[_0x524b('0x9d')])&&_0x2f9492[_0x524b('0x59')](),(_0x3e48df[_0x524b('0x71')][_0x524b('0x16')](_0x1a2f78[_0x524b('0x4c')])||_0x3e48df[_0x524b('0x71')][_0x524b('0x8c')](_0x1a2f78[_0x524b('0x4c')]))&&(_0x524b('0x49')==_0x155931?_0x3e48df['isAdded']={'userId':_0x31a8df}:_0x524b('0xf0')==_0x155931&&(_0x3e48df[_0x524b('0xf1')]={'userId':_0x31a8df})),0x0==_0x2f9492[_0x524b('0x34')])break;}return _0x33c4d7;}[_0x524b('0xc4')](_0x276d7c){const _0x47f245=new Map();for(let _0x474cea=0x0;_0x474cea<_0x276d7c[_0x524b('0x34')];_0x474cea++)'text'===_0x276d7c[_0x474cea][_0x524b('0x4e')]?(_0x276d7c[_0x474cea]['item'][_0x524b('0xd3')]=_0x474cea,_0x276d7c[_0x474cea][_0x524b('0x2f')][_0x524b('0x4a')]=_0x474cea):(_0x524b('0x6')===_0x276d7c[_0x474cea]['type']?_0x276d7c[_0x474cea][_0x524b('0x2f')][_0x524b('0xd3')]=_0x474cea:_0x524b('0x8a')===_0x276d7c[_0x474cea][_0x524b('0x4e')]&&(_0x276d7c[_0x474cea]['item'][_0x524b('0x4a')]=_0x474cea),_0x47f245[_0x524b('0x50')](_0x276d7c[_0x474cea]['id'],_0x474cea));for(const _0xd4ea51 of _0x47f245['values']())_0x524b('0x6')===_0x276d7c[_0xd4ea51][_0x524b('0x4e')]?_0x276d7c[_0xd4ea51]['item'][_0x524b('0x4a')]=_0x47f245[_0x524b('0x4')](_0x276d7c[_0xd4ea51][_0x524b('0x101')]):_0x524b('0x8a')===_0x276d7c[_0xd4ea51][_0x524b('0x4e')]&&(_0x276d7c[_0xd4ea51]['item'][_0x524b('0xd3')]=_0x47f245[_0x524b('0x4')](_0x276d7c[_0xd4ea51][_0x524b('0x101')]));}[_0x524b('0x77')](_0x42a7ab){for(let _0x158187=0x0;_0x158187<_0x42a7ab[_0x524b('0x34')];_0x158187++){if(_0x524b('0x6')===_0x42a7ab[_0x158187][_0x524b('0x4e')])_0x42a7ab[_0x158187]['item'][_0x524b('0xd3')]=_0x158187;else{if(_0x524b('0x8a')===_0x42a7ab[_0x158187][_0x524b('0x4e')]){_0x42a7ab[_0x158187][_0x524b('0x2f')][_0x524b('0x4a')]=_0x158187;const _0xa12523=_0x42a7ab[_0x158187][_0x524b('0x2f')]['startIndex'];_0x42a7ab[_0xa12523][_0x524b('0x101')]=_0x42a7ab[_0x158187]['id'],_0x42a7ab[_0x158187][_0x524b('0x101')]=_0x42a7ab[_0xa12523]['id'];}else _0x42a7ab[_0x158187][_0x524b('0x2f')][_0x524b('0xd3')]=_0x158187,_0x42a7ab[_0x158187][_0x524b('0x2f')][_0x524b('0x4a')]=_0x158187,_0x42a7ab[_0x158187][_0x524b('0x101')]=null;}_0x42a7ab[_0x158187][_0x524b('0xe4')]||(_0x42a7ab[_0x158187]['markersStart']=[],_0x42a7ab[_0x158187][_0x524b('0x61')]=[]);}}[_0x524b('0xd7')](_0x510ff8,_0x32238b){const _0x4f8851=_0x510ff8[_0x524b('0x75')](_0x4663a5=>!_0x4663a5[_0x524b('0x8f')]);for(let _0x3eb299=0x0;_0x3eb299<_0x32238b[_0x524b('0x34')];_0x3eb299++)_0x32238b[_0x3eb299][_0x524b('0x8f')]&&(_0x4f8851[_0x3eb299][_0x524b('0x8f')]=_0x32238b[_0x3eb299][_0x524b('0x8f')]);}[_0x524b('0x32')](_0x4804ea){const _0x2d2914=JSON['parse'](_0x4804ea),_0x588925=this['editor'][_0x524b('0x73')][_0x524b('0x21')][_0x524b('0xa0')],_0x3a5d40=new _0x1d31c1(_0x588925,_0x2d2914['map'](_0x2b8f08=>this['_getViewObj'](_0x2b8f08)));return this[_0x524b('0xfc')][_0x524b('0x47')][_0x524b('0x83')](_0x3a5d40);}['_getViewObj'](_0x53b16e){const _0x439486=this[_0x524b('0xfc')][_0x524b('0x73')][_0x524b('0x21')][_0x524b('0xa0')];if(_0x524b('0x52')==typeof _0x53b16e)return new _0xf1449d(_0x439486,_0x53b16e);{const _0x18c14d=_0x53b16e['children']['map'](_0x1b7aea=>this[_0x524b('0xac')](_0x1b7aea));return new(Y[_0x53b16e[(_0x524b('0x4e'))]]||_0x4320d4)(_0x439486,_0x53b16e['name'],_0x53b16e[_0x524b('0x70')],_0x18c14d);}}[_0x524b('0xad')](_0x3d472d,_0x2da3b4=null){const _0x71347c=this[_0x524b('0x4d')][_0x524b('0xe1')](_0x3d472d),_0x143b5a=_0x2da3b4?this['repository'][_0x524b('0xe1')](_0x2da3b4):null,_0xa91797=this['_getRevisionsRange'](_0x71347c,_0x143b5a),_0x2bf803=_0xa91797[_0xa91797['length']-0x1],_0x59ae28=new Map();for(const _0x4eb7cc of _0xa91797){_0x4eb7cc[_0x524b('0x97')]={};for(const _0x57579b of _0x4eb7cc[_0x524b('0x7a')])_0x59ae28[_0x524b('0x50')](_0x57579b['id'],_0x57579b);for(const _0x1cd57e of this[_0x524b('0xfc')][_0x524b('0x97')]['document']['getRootNames']())_0x4eb7cc[_0x524b('0x6e')][_0x1cd57e]||(_0x4eb7cc[_0x524b('0x6e')][_0x1cd57e]={'insertions':'[]','deletions':'[]'}),_0x4eb7cc[_0x524b('0x97')][_0x1cd57e]={'insertions':this[_0x524b('0x32')](_0x4eb7cc[_0x524b('0x6e')][_0x1cd57e][_0x524b('0xd8')]),'deletions':this[_0x524b('0x32')](_0x4eb7cc[_0x524b('0x6e')][_0x1cd57e][_0x524b('0xf4')])};}const _0x390be1={'model':{},'changes':[]};for(const _0x1f3c06 of this[_0x524b('0xfc')]['model'][_0x524b('0xa0')][_0x524b('0x5d')]()){let _0x573457=null,_0x582d60=0x0;const _0x1c50ef=new Map(Array[_0x524b('0x1')](_0x71347c[_0x524b('0x97')][_0x1f3c06]['insertions'][_0x524b('0xf3')])[_0x524b('0x75')](([_0x1cb601])=>!_0x1cb601[_0x524b('0x90')](_0x524b('0x54'))));let _0xf558c2=0x0;for(const _0x534dd5 of _0xa91797){const _0x5f2c03=this['_makeTape'](_0x534dd5[_0x524b('0x97')][_0x1f3c06][_0x524b('0xd8')]);_0x534dd5==_0x71347c?(_0x573457=_0x5f2c03,_0x582d60=_0x573457[_0x524b('0x34')],_0x573457[_0x524b('0x9')](_0x5a3bcc=>{_0x5a3bcc['id']=_0xf558c2++;}),this[_0x524b('0x77')](_0x573457)):this['_markInsertions'](_0x573457,_0x5f2c03);const _0x365a2d=_0x573457['filter'](_0x5dc210=>!_0x5dc210['isAdded'])['map'](_0x11ad60=>_0x11ad60['id']);let _0x18f817=0x0;const _0x28f608=this[_0x524b('0x64')](_0x534dd5[_0x524b('0x97')][_0x1f3c06][_0x524b('0xf4')]);_0x28f608['forEach'](_0x82e0f3=>{_0x82e0f3[_0x524b('0xf1')]?_0x82e0f3['id']=_0x582d60++:_0x82e0f3['id']=_0x365a2d[_0x18f817++];}),this[_0x524b('0x77')](_0x28f608),this['_setDistance'](_0x573457,_0x524b('0x8f')),this['_setDistance'](_0x28f608,_0x524b('0xf1')),_0x534dd5==_0x71347c&&this[_0x524b('0xcb')](_0x573457,_0x1c50ef),_0x573457=this[_0x524b('0x41')](_0x573457,_0x28f608),this['_refreshStartEndIndex'](_0x573457),this[_0x524b('0xef')](_0x573457,_0x524b('0xf1'));}_0x573457=_0x573457[_0x524b('0x75')](_0x4054c6=>!(_0x4054c6[_0x524b('0x8f')]&&_0x4054c6[_0x524b('0xf1')]));const _0x27eaaa=new Map(_0x2bf803['model'][_0x1f3c06]['deletions'][_0x524b('0xf3')]),_0x43d0eb=new Set(_0x1c50ef[_0x524b('0xc9')]());for(const _0x27b123 of _0x27eaaa[_0x524b('0xc9')]())_0x43d0eb[_0x524b('0xa2')](_0x27b123);this[_0x524b('0x3b')](_0x573457,_0x43d0eb),this['_fixObsoleteTags'](_0x573457),_0x573457=this[_0x524b('0x6d')](_0x573457),_0x573457=this[_0x524b('0x7e')](_0x573457),_0x573457=this[_0x524b('0xa5')](_0x573457);const {root:_0x3fef8e,changes:_0x17ffe8}=this[_0x524b('0x6f')](_0x573457,_0x59ae28);_0x390be1['model'][_0x1f3c06]=_0x3fef8e,_0x390be1[_0x524b('0x82')]=_0x390be1['changes']['concat'](_0x17ffe8);}return _0x390be1;}[_0x524b('0xcb')](_0x2ed317,_0x4243aa){for(let _0x1db100=0x0;_0x1db100<_0x2ed317['length'];_0x1db100++)for(const [_0x3f84df,_0x18558e]of _0x4243aa)_0x18558e[_0x524b('0x4c')][_0x524b('0x16')](_0x2ed317[_0x1db100][_0x524b('0x71')])&&_0x2ed317[_0x1db100]['markersStart'][_0x524b('0xfa')](_0x3f84df),_0x18558e[_0x524b('0xe7')][_0x524b('0x16')](_0x2ed317[_0x1db100][_0x524b('0x9d')])&&_0x2ed317[_0x1db100][_0x524b('0x61')][_0x524b('0xfa')](_0x3f84df);}[_0x524b('0x41')](_0x56dc89,_0x1442e9){let _0x51fe5f=[],_0x13a720=0x0,_0x3b9cb9=0x0;for(;_0x13a720<_0x56dc89[_0x524b('0x34')]||_0x3b9cb9<_0x1442e9[_0x524b('0x34')];){const _0x3b8c6e=_0x56dc89[_0x13a720]||{},_0x3cb0e7=_0x1442e9[_0x3b9cb9]||{};if(_0x3b8c6e['id']==_0x3cb0e7['id'])_0x13a720++,_0x3b9cb9++,_0x51fe5f[_0x524b('0xfa')](_0x3b8c6e);else{if(_0x3cb0e7[_0x524b('0xf1')]&&_0x3b8c6e[_0x524b('0x8f')]){const {commonTape:_0x8436a5,iEnd:_0xf440d9,jEnd:_0xdfe38d}=this[_0x524b('0xc6')](_0x56dc89,_0x13a720,_0x1442e9,_0x3b9cb9);_0x51fe5f=_0x51fe5f[_0x524b('0xb0')](_0x8436a5),_0x13a720=_0xf440d9,_0x3b9cb9=_0xdfe38d;}else _0x3cb0e7['isRemoved']?(_0x3b9cb9++,_0x51fe5f[_0x524b('0xfa')](_0x3cb0e7)):(_0x13a720++,_0x51fe5f[_0x524b('0xfa')](_0x3b8c6e));}}return _0x51fe5f;}[_0x524b('0x3b')](_0x19421a,_0x488f23){const _0xd11a58=[];for(let _0x2f9f56=0x0;_0x2f9f56<_0x19421a['length'];_0x2f9f56++){for(let _0xc175a4=0x0;_0xc175a4<_0x19421a[_0x2f9f56][_0x524b('0xe4')][_0x524b('0x34')];_0xc175a4++){const _0x399ea6=_0x19421a[_0x2f9f56][_0x524b('0xe4')][_0xc175a4];if(!_0x488f23['has'](_0x399ea6))continue;const {group:_0x4f0287,type:_0x172a51,authorId:_0x2f2416}=_0x316cdf(_0x399ea6);_0x524b('0x9a')!=_0x4f0287||_0x524b('0x49')!=_0x172a51&&_0x524b('0xf0')!=_0x172a51||(_0xd11a58[_0x524b('0x6b')]({'type':_0x172a51,'name':_0x399ea6,'userId':_0x2f2416}),_0x19421a[_0x2f9f56]['markersStart'][_0x524b('0xc8')](_0xc175a4,0x1),_0xc175a4--);}_0x1be9a1(_0x19421a[_0x2f9f56]);for(let _0x5531ea=0x0;_0x5531ea<_0x19421a[_0x2f9f56][_0x524b('0x61')][_0x524b('0x34')];_0x5531ea++){const _0x4cb717=_0x19421a[_0x2f9f56][_0x524b('0x61')][_0x5531ea];if(!_0x488f23[_0x524b('0x68')](_0x4cb717))continue;const {group:_0x349dd3,type:_0x51644d}=_0x316cdf(_0x4cb717);if(_0x524b('0x9a')!=_0x349dd3||_0x524b('0x49')!=_0x51644d&&_0x524b('0xf0')!=_0x51644d)continue;_0x19421a[_0x2f9f56]['markersEnd'][_0x524b('0xc8')](_0x5531ea,0x1),_0x5531ea--;const _0x39647e=_0xd11a58['findIndex'](_0x47ccae=>_0x47ccae[_0x524b('0xda')]==_0x4cb717);_0x39647e>-0x1&&_0xd11a58[_0x524b('0xc8')](_0x39647e,0x1);}}function _0x316cdf(_0xd6f560){const _0x575f40=_0xd6f560[_0x524b('0x76')](':');return{'group':_0x575f40[0x0],'type':_0x575f40[0x1],'subType':_0x575f40['length']>=0x5?_0x575f40[0x2]:null,'id':_0x575f40[_0x524b('0x34')]<0x5?_0x575f40[0x2]:_0x575f40[0x3],'authorId':_0x575f40['length']<0x5?_0x575f40[0x3]:_0x575f40[0x4],'markerCount':0x6==_0x575f40[_0x524b('0x34')]?_0x575f40[0x5]:null};}function _0x1be9a1(_0x2a2830){for(let _0x5e653b=0x0;_0x5e653b<_0xd11a58['length'];_0x5e653b++){if(_0x2a2830['isAdded']&&_0x524b('0x49')==_0xd11a58[_0x5e653b][_0x524b('0x4e')])return _0x2a2830[_0x524b('0x60')]=_0xd11a58[_0x5e653b],void delete _0x2a2830[_0x524b('0x8f')];if(!_0x2a2830[_0x524b('0x8f')]&&!_0x2a2830[_0x524b('0xf1')]&&_0x524b('0xf0')==_0xd11a58[_0x5e653b][_0x524b('0x4e')])return void(_0x2a2830[_0x524b('0x5c')]=_0xd11a58[_0x5e653b]);}}}[_0x524b('0xef')](_0x4e8f19,_0x13a24b){let _0x14c2ac=0x0,_0x2ec047=!0x1;const _0x2a3f47=new Map();for(const _0x99f6d8 of _0x4e8f19)_0x99f6d8[_0x13a24b]?_0x2ec047&&(_0x14c2ac++,_0x2ec047=!0x1):(_0x14c2ac++,_0x2ec047=!0x0),_0x2a3f47[_0x524b('0x50')](_0x99f6d8['id'],_0x14c2ac);for(let _0x2dcbb5=0x0;_0x2dcbb5<_0x4e8f19[_0x524b('0x34')];_0x2dcbb5++){if(_0x524b('0xf1')==_0x13a24b&&_0x4e8f19[_0x2dcbb5][_0x524b('0x8f')]||'isAdded'==_0x13a24b&&_0x4e8f19[_0x2dcbb5][_0x524b('0xf1')])continue;if('text'==_0x4e8f19[_0x2dcbb5]['type']){_0x4e8f19[_0x2dcbb5][_0x524b('0xfb')]=0x0;continue;}const _0x3da0eb=_0x2a3f47[_0x524b('0x4')](_0x4e8f19[_0x2dcbb5][_0x524b('0x101')]),_0x47645d=_0x2a3f47[_0x524b('0x4')](_0x4e8f19[_0x2dcbb5]['id']);_0x4e8f19[_0x2dcbb5][_0x524b('0xfb')]=_0x3da0eb-_0x47645d;}}['_getRevisionsRange'](_0x3b3e7c,_0x25ec25,_0x3527ed=!0x1){const _0x2f55fd=[];let _0x3ab190=this[_0x524b('0x4d')]['getIndex'](_0x3b3e7c),_0x367d26=this[_0x524b('0x4d')]['getIndex'](_0x25ec25);for(-0x1==_0x367d26&&(_0x367d26=this[_0x524b('0x4d')][_0x524b('0x7')]['length'],_0x3527ed=!0x1);_0x3ab190<_0x367d26;)_0x2f55fd[_0x524b('0xfa')](this[_0x524b('0x4d')][_0x524b('0xe1')](_0x3ab190)),_0x3ab190++;return _0x3527ed&&_0x2f55fd[_0x524b('0xfa')](this[_0x524b('0x4d')]['getRevision'](_0x3ab190)),_0x2f55fd;}[_0x524b('0xc6')](_0x301b25,_0x30f59f,_0x3dd991,_0x96662c){const _0x1caa44=this['editor']['model'][_0x524b('0xd2')];let _0x4977b8=_0x30f59f;for(;_0x301b25[_0x4977b8]&&_0x301b25[_0x4977b8][_0x524b('0x8f')];)_0x4977b8++;let _0x5db4f0=_0x96662c;for(;_0x3dd991[_0x5db4f0]&&_0x3dd991[_0x5db4f0][_0x524b('0xf1')];)_0x5db4f0++;_0x14de4a(_0x301b25,_0x30f59f,_0x4977b8),_0x14de4a(_0x3dd991,_0x96662c,_0x5db4f0);const _0x4e4bc1=_0x3dd991['slice'](_0x96662c,_0x5db4f0)[_0x524b('0xb0')](_0x301b25['slice'](_0x30f59f,_0x4977b8));return _0x4e4bc1['sort']((_0x532d84,_0x24d942)=>_0x532d84[_0x524b('0x1d')]!=_0x24d942['side']?_0x532d84[_0x524b('0x1d')]-_0x24d942[_0x524b('0x1d')]:_0x532d84[_0x524b('0x93')]!=_0x24d942[_0x524b('0x93')]?_0x532d84[_0x524b('0x93')]-_0x24d942['level']:_0x532d84[_0x524b('0xfb')]!=_0x24d942[_0x524b('0xfb')]?_0x24d942[_0x524b('0xfb')]-_0x532d84['distance']:!!_0x532d84[_0x524b('0x8f')]!=!!_0x24d942['isAdded']?-0x1==_0x532d84[_0x524b('0x1d')]||0x0==_0x532d84[_0x524b('0x1d')]?_0x532d84[_0x524b('0x8f')]?-0x1:0x1:_0x532d84['isAdded']?0x1:-0x1:_0x532d84[_0x524b('0xfd')]-_0x24d942[_0x524b('0xfd')]),{'commonTape':_0x4e4bc1,'iEnd':_0x4977b8,'jEnd':_0x5db4f0};function _0x14de4a(_0x15b6a9,_0x26a556,_0x5d8ff7){let _0x27606e=-0x1,_0x44d658=Number[_0x524b('0x55')],_0x4321d6=!0x0;for(let _0x5be675=_0x26a556;_0x5be675<_0x5d8ff7;_0x5be675++)if(_0x1caa44['isInline'](_0x15b6a9[_0x5be675][_0x524b('0x2f')])||(_0x4321d6=!0x1),_0x15b6a9[_0x5be675][_0x524b('0x2f')][_0x524b('0xd3')]<_0x26a556&&(_0x27606e=_0x5be675),_0x15b6a9[_0x5be675][_0x524b('0x2f')][_0x524b('0x4a')]>=_0x5d8ff7){_0x44d658=_0x5be675;break;}_0x4321d6&&(_0x27606e=_0x5d8ff7-0x1);for(let _0x1badb2=_0x26a556;_0x1badb2<_0x5d8ff7;_0x1badb2++)_0x15b6a9[_0x1badb2][_0x524b('0x1d')]=_0x1badb2<=_0x27606e?-0x1:_0x1badb2<_0x44d658?0x0:0x1,_0x15b6a9[_0x1badb2][_0x524b('0xfd')]=_0x1badb2;let _0x1a6db7=0x0;for(let _0xac64a0=_0x26a556;_0xac64a0<=_0x27606e;_0xac64a0++)0x0==_0x15b6a9[_0xac64a0]['distance']?_0x15b6a9[_0xac64a0][_0x524b('0x93')]=_0x1a6db7:(_0x1a6db7++,_0x15b6a9[_0xac64a0][_0x524b('0x93')]=_0x1a6db7,_0x1a6db7++);for(let _0x28ab87=_0x26a556;_0x28ab87<_0x5d8ff7;_0x28ab87++)0x0==_0x15b6a9[_0x28ab87][_0x524b('0x1d')]&&(_0x15b6a9[_0x28ab87][_0x524b('0x93')]=_0x1a6db7);_0x1a6db7=0x0;for(let _0x9714a6=_0x5d8ff7-0x1;_0x9714a6>=_0x44d658;_0x9714a6--)0x0==_0x15b6a9[_0x9714a6][_0x524b('0xfb')]?_0x15b6a9[_0x9714a6][_0x524b('0x93')]=_0x1a6db7:(_0x1a6db7--,_0x15b6a9[_0x9714a6]['level']=_0x1a6db7,_0x1a6db7--);}}['_fixObsoleteTags'](_0x1e3f2e){const _0x1ff9a5=new Map(),_0x1e9c84=this[_0x524b('0xfc')]['model'][_0x524b('0xd2')];for(let _0x4bc3e7=0x1;_0x4bc3e7<_0x1e3f2e[_0x524b('0x34')];_0x4bc3e7++){let _0x447c3d,_0x4a8451,_0x491e8c;const _0x2d8370=_0x1e3f2e[_0x4bc3e7],_0x3b363f=_0x1e3f2e[_0x4bc3e7-0x1];if(_0x524b('0xd4')==_0x2d8370[_0x524b('0x4e')])continue;if(_0x2d8370[_0x524b('0x4e')]!=_0x3b363f[_0x524b('0x4e')])continue;if(!_0x1e9c84[_0x524b('0xb7')](_0x3b363f['item'])||_0x1e9c84[_0x524b('0x36')](_0x3b363f[_0x524b('0x2f')]))continue;if(!_0x1e9c84[_0x524b('0xb7')](_0x2d8370[_0x524b('0x2f')])||_0x1e9c84[_0x524b('0x36')](_0x2d8370[_0x524b('0x2f')]))continue;if((_0x1e3f2e[_0x4bc3e7]['isAdded']||_0x1e3f2e[_0x4bc3e7]['isAddSuggestion'])&&_0x1e3f2e[_0x4bc3e7-0x1][_0x524b('0xf1')])_0x447c3d=_0x1e3f2e[_0x4bc3e7],_0x4a8451=_0x1e3f2e[_0x4bc3e7-0x1],_0x491e8c=_0x4bc3e7-0x1;else{if(!_0x1e3f2e[_0x4bc3e7][_0x524b('0xf1')]||!_0x1e3f2e[_0x4bc3e7-0x1][_0x524b('0x8f')]&&!_0x1e3f2e[_0x4bc3e7-0x1][_0x524b('0x60')])continue;_0x447c3d=_0x1e3f2e[_0x4bc3e7-0x1],_0x4a8451=_0x1e3f2e[_0x4bc3e7],_0x491e8c=_0x4bc3e7;}const _0x12ce2e=_0x447c3d[_0x524b('0x93')]==_0x4a8451[_0x524b('0x93')],_0x2e4dac=Math[_0x524b('0x39')](_0x447c3d[_0x524b('0x93')])<Math['abs'](_0x4a8451[_0x524b('0x93')])&&0x0==_0x4a8451[_0x524b('0xfb')];(_0x12ce2e||_0x2e4dac)&&(_0x1ff9a5['set'](_0x4a8451['id'],_0x447c3d['id']),_0x1e3f2e[_0x524b('0xc8')](_0x491e8c,0x1),_0x4bc3e7--,_0x447c3d[_0x524b('0x8f')]=!0x1);}for(let _0x4f4a84=0x0;_0x4f4a84<_0x1e3f2e[_0x524b('0x34')];_0x4f4a84++)_0x1ff9a5['has'](_0x1e3f2e[_0x4f4a84]['pairId'])&&(_0x1e3f2e[_0x4f4a84]['pairId']=_0x1ff9a5['get'](_0x1e3f2e[_0x4f4a84][_0x524b('0x101')]));}[_0x524b('0x6d')](_0x37343a){const _0x52ec6c=new Set(_0x37343a[_0x524b('0x9f')](_0x20e0d6=>_0x20e0d6['id']));for(let _0x18b5e4=0x0;_0x18b5e4<_0x37343a[_0x524b('0x34')];_0x18b5e4++)_0x52ec6c[_0x524b('0x68')](_0x37343a[_0x18b5e4][_0x524b('0x101')])||0x0==_0x37343a[_0x18b5e4][_0x524b('0xfb')]||(_0x37343a[_0x18b5e4][_0x524b('0x33')]=!0x0);return _0x37343a[_0x524b('0x75')](_0x5be712=>!_0x5be712[_0x524b('0x33')]);}[_0x524b('0x7e')](_0x3939e9){const _0x278906=new Set();for(let _0x29f739=0x0;_0x29f739<_0x3939e9[_0x524b('0x34')];_0x29f739++){if(_0x278906[_0x524b('0x68')](_0x3939e9[_0x29f739]['id'])&&_0x3939e9[_0x29f739][_0x524b('0xf1')]&&(_0x3939e9[_0x29f739][_0x524b('0x33')]=!0x0),_0x3939e9[_0x29f739][_0x524b('0x33')])continue;if(0x0==_0x3939e9[_0x29f739][_0x524b('0xfb')])continue;if('elementStart'!=_0x3939e9[_0x29f739][_0x524b('0x4e')])continue;if(null==_0x3939e9[_0x29f739][_0x524b('0x101')])continue;let _0x445723=_0x29f739+0x1,_0x50f0aa=0x0;for(;_0x3939e9[_0x445723]['id']!=_0x3939e9[_0x29f739][_0x524b('0x101')];)_0x524b('0x6')==_0x3939e9[_0x445723][_0x524b('0x4e')]?_0x50f0aa++:_0x524b('0x8a')==_0x3939e9[_0x445723][_0x524b('0x4e')]&&_0x50f0aa--,_0x445723++;if(0x0!=_0x50f0aa){if(_0x3939e9[_0x29f739][_0x524b('0xf1')])_0x3939e9[_0x29f739]['isIncorrect']=!0x0;else for(;_0x445723!=_0x29f739;)_0x3939e9[_0x445723][_0x524b('0xf1')]&&0x0!=_0x3939e9[_0x445723][_0x524b('0xfb')]&&(_0x3939e9[_0x445723][_0x524b('0x33')]=!0x0,_0x278906[_0x524b('0x46')](_0x3939e9[_0x445723]['pairId'])),_0x445723--;}}return _0x3939e9['filter'](_0x44e965=>!_0x44e965[_0x524b('0x33')]);}[_0x524b('0xa5')](_0x40fa06){const _0x4dfde3=this[_0x524b('0xfc')][_0x524b('0x97')][_0x524b('0xd2')];for(let _0x13daa3=0x0;_0x13daa3<_0x40fa06[_0x524b('0x34')];_0x13daa3++){if(!(_0x40fa06[_0x13daa3]['isAdded']||_0x40fa06[_0x13daa3][_0x524b('0x60')]||_0x40fa06[_0x13daa3][_0x524b('0xf1')]||_0x40fa06[_0x13daa3]['isRemoveSuggestion']))continue;if(0x0==_0x40fa06[_0x13daa3]['distance'])continue;const _0x3c94ca=_0x40fa06[_0x13daa3][_0x524b('0x2f')];_0x4dfde3[_0x524b('0xb7')](_0x3c94ca)||_0x4dfde3[_0x524b('0x36')](_0x3c94ca)||(_0x40fa06[_0x13daa3][_0x524b('0x8f')]&&delete _0x40fa06[_0x13daa3][_0x524b('0x8f')],_0x40fa06[_0x13daa3][_0x524b('0x60')]&&delete _0x40fa06[_0x13daa3][_0x524b('0x60')],_0x40fa06[_0x13daa3][_0x524b('0x5c')]&&delete _0x40fa06[_0x13daa3][_0x524b('0x5c')],_0x40fa06[_0x13daa3][_0x524b('0xf1')]&&(_0x40fa06[_0x13daa3]['isIncorrect']=!0x0));}return _0x40fa06[_0x524b('0x75')](_0x55551a=>!_0x55551a[_0x524b('0x33')]);}[_0x524b('0x6f')](_0x1b8bf1,_0x431639){const _0x52259b=new _0x39d827(),_0x2e2ed2=[],_0x47286c=new Map(),_0xb036a4=this[_0x524b('0xfc')][_0x524b('0x97')],_0x18541d=_0xb036a4[_0x524b('0xd2')],_0xae1271=[_0x52259b],_0x346768={},_0x2f58d8={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3a536c=null;const _0x3bf15e=[0x0];for(let _0x537d67=0x0;_0x537d67<_0x1b8bf1[_0x524b('0x34')];_0x537d67++){let _0x2a9b33,_0x307808;if(_0x524b('0x6')===_0x1b8bf1[_0x537d67]['type']){_0x2a9b33=_0xb036a4[_0x524b('0x81')](_0x52259b,_0x3bf15e);const _0x1bc070=new _0xa0cd73(_0x1b8bf1[_0x537d67][_0x524b('0x2f')][_0x524b('0xda')],_0x1b8bf1[_0x537d67][_0x524b('0x2f')][_0x524b('0xfe')]());_0xae1271[0x0][_0x524b('0x7d')](_0x1bc070),_0x3bf15e[_0x524b('0xfa')](0x0),_0xae1271[_0x524b('0x6b')](_0x1bc070),_0x307808=_0xb036a4[_0x524b('0x81')](_0x52259b,_0x3bf15e),_0x3a536c=null;}else{if('elementEnd'===_0x1b8bf1[_0x537d67][_0x524b('0x4e')])_0xae1271[_0x524b('0x59')](),_0x2a9b33=_0xb036a4[_0x524b('0x81')](_0x52259b,_0x3bf15e),_0x3bf15e[_0x524b('0x6c')](),_0x3bf15e[_0x3bf15e['length']-0x1]++,_0x307808=_0xb036a4[_0x524b('0x81')](_0x52259b,_0x3bf15e),_0x3a536c=null;else{if(_0x2a9b33=_0xb036a4[_0x524b('0x81')](_0x52259b,_0x3bf15e),_0x3a536c&&_0x107646(_0x3a536c,_0x1b8bf1[_0x537d67][_0x524b('0x2f')]))_0x3a536c[_0x524b('0x85')]+=_0x1b8bf1[_0x537d67][_0x524b('0x2f')][_0x524b('0x47')];else{const _0x5bfdd2=new _0x5ee507(_0x1b8bf1[_0x537d67][_0x524b('0x2f')][_0x524b('0x47')],_0x1b8bf1[_0x537d67]['item'][_0x524b('0xfe')]());_0xae1271[0x0][_0x524b('0x7d')](_0x5bfdd2),_0x3a536c=_0x5bfdd2;}_0x3bf15e[_0x3bf15e['length']-0x1]+=_0x1b8bf1[_0x537d67][_0x524b('0x2f')]['offsetSize'],_0x307808=_0xb036a4[_0x524b('0x81')](_0x52259b,_0x3bf15e);}}for(const _0x217ce9 of _0x1b8bf1[_0x537d67][_0x524b('0xe4')])_0x47286c[_0x524b('0x50')](_0x217ce9,{'start':_0x2a9b33,'end':null});_0x13a9bd(_0x524b('0x5c'),_0x537d67,_0x2a9b33,_0x307808),_0x13a9bd(_0x524b('0x60'),_0x537d67,_0x2a9b33,_0x307808),_0x13a9bd(_0x524b('0xf1'),_0x537d67,_0x2a9b33,_0x307808),_0x13a9bd(_0x524b('0x8f'),_0x537d67,_0x2a9b33,_0x307808);for(const _0x3c6baf of _0x1b8bf1[_0x537d67][_0x524b('0x61')]){_0x47286c['get'](_0x3c6baf)['end']=_0x307808;}}for(const [_0x1fa0d1,_0x3e2169]of _0x47286c){const _0x29247a=this[_0x524b('0xfc')][_0x524b('0x97')]['createRange'](_0x3e2169['start'],_0x3e2169[_0x524b('0xe7')]);_0x52259b[_0x524b('0xf3')][_0x524b('0x50')](_0x1fa0d1,_0x29247a);}return _0x2e2ed2['sort']((_0x1a8758,_0x13d937)=>{const _0x390da9=_0x52259b[_0x524b('0xf3')][_0x524b('0x4')](_0x524b('0x54')+_0x1a8758['id']),_0x53cdb0=_0x52259b['markers']['get'](_0x524b('0x54')+_0x13d937['id']);return _0x390da9[_0x524b('0x4c')]['isBefore'](_0x53cdb0[_0x524b('0x4c')])?-0x1:_0x390da9['start']['isAfter'](_0x53cdb0[_0x524b('0x4c')])?0x1:_0x390da9[_0x524b('0xe7')]['isBefore'](_0x53cdb0['end'])?-0x1:_0x390da9[_0x524b('0xe7')][_0x524b('0x8c')](_0x53cdb0['end'])?0x1:'add'===_0x1a8758[_0x524b('0x4e')]?-0x1:0x1;}),{'root':_0x52259b,'changes':_0x2e2ed2};function _0x13a9bd(_0x1c4f40,_0x1ca185,_0x9bc821,_0x41efb3){const _0x49cb07=!!_0x1b8bf1[_0x1ca185][_0x1c4f40],_0x940a69=_0x49cb07?_0x1b8bf1[_0x1ca185][_0x1c4f40][_0x524b('0xb8')]:null,_0xde8e45=_0x1ca185===_0x1b8bf1[_0x524b('0x34')]-0x1,_0x41de93=_0x2f58d8[_0x1c4f40][0x0],_0x4714dc=_0x18541d['isObject'](_0x1b8bf1[_0x1ca185][_0x524b('0x2f')]);!_0x346768[_0x1c4f40]&&_0x49cb07?_0x346768[_0x1c4f40]={'start':_0x9bc821,'tapeItem':_0x1b8bf1[_0x1ca185],'userId':_0x940a69,'type':_0x1c4f40}:_0x346768[_0x1c4f40]&&!_0x49cb07?(_0x346768[_0x1c4f40]['end']=_0x9bc821,_0x6beb3b(_0x346768[_0x1c4f40]),_0x346768[_0x1c4f40]=null):_0x346768[_0x1c4f40]&&_0x49cb07&&_0x346768[_0x1c4f40][_0x524b('0xb8')]!==_0x940a69&&(_0x346768[_0x1c4f40][_0x524b('0xe7')]=_0x9bc821,_0x41de93&&_0x41de93['userId']===_0x346768[_0x1c4f40][_0x524b('0xb8')]||_0x6beb3b(_0x346768[_0x1c4f40]),_0x346768[_0x1c4f40]={'start':_0x9bc821,'tapeItem':_0x1b8bf1[_0x1ca185],'userId':_0x940a69,'type':_0x1c4f40}),_0x346768[_0x1c4f40]&&_0x4714dc&&(_0x524b('0x6')!==_0x1b8bf1[_0x1ca185][_0x524b('0x4e')]||_0x41de93&&_0x41de93[_0x524b('0xb8')]===_0x940a69||_0x2f58d8[_0x1c4f40][_0x524b('0x6b')]({'userId':_0x940a69,'object':_0x1b8bf1[_0x1ca185][_0x524b('0x2f')],'change':_0x346768[_0x1c4f40]}),_0x524b('0x8a')===_0x1b8bf1[_0x1ca185][_0x524b('0x4e')]&&_0x41de93&&_0x41de93[_0x524b('0x25')]===_0x1b8bf1[_0x1ca185][_0x524b('0x2f')]&&(_0x2f58d8[_0x1c4f40][_0x524b('0x59')](),_0x346768[_0x1c4f40]=_0x41de93['change'])),_0x346768[_0x1c4f40]&&_0xde8e45&&(_0x346768[_0x1c4f40]['end']=_0x41efb3,_0x6beb3b(_0x346768[_0x1c4f40]),_0x346768[_0x1c4f40]=null);}function _0x6beb3b({start:_0x339a11,end:_0x464bc8,tapeItem:_0x285bd1,userId:_0x50b62b,type:_0x1af128}){const _0x2840e5=_0x285bd1[_0x524b('0x2f')],_0x3eee5c=_0xb036a4['schema'][_0x524b('0xb7')](_0x2840e5)&&!_0xb036a4[_0x524b('0xd2')]['isLimit'](_0x2840e5),_0x846932=_0x339a11[_0x524b('0xb')]==_0x464bc8[_0x524b('0x80')]&&_0x464bc8['isAtStart'];if(_0x3eee5c&&_0x846932)return;const _0x2d9922=_0xb036a4[_0x524b('0xbf')](_0x339a11,_0x464bc8),_0xb7a0c0=_0x431639[_0x524b('0x4')](_0x50b62b),_0x200317=new _0x17521b({'author':_0xb7a0c0,'type':_0x524b('0x8f')==_0x1af128||_0x524b('0x60')==_0x1af128?'add':'remove','data':{'isSuggestion':_0x524b('0x60')==_0x1af128||'isRemoveSuggestion'==_0x1af128},'createdAt':new Date()});_0x2e2ed2[_0x524b('0xfa')](_0x200317),_0x52259b[_0x524b('0xf3')]['set']('revision:'+_0x200317['id'],_0x2d9922);}function _0x107646(_0x5d37af,_0x2996ca){const _0x38a880=_0x5d37af['getAttributes'](),_0x56583e=_0x2996ca[_0x524b('0xfe')]();for(const _0x375461 of _0x38a880){if(_0x375461[0x1]!==_0x2996ca[_0x524b('0x65')](_0x375461[0x0]))return!0x1;_0x56583e[_0x524b('0x3e')]();}return _0x56583e['next']()[_0x524b('0x63')];}}[_0x524b('0xf7')](){this[_0x524b('0xfc')][_0x524b('0x5a')][_0x524b('0x9b')](_0x524b('0xcc'))[_0x524b('0x74')]({'view':_0x524b('0xe2')}),this[_0x524b('0xfc')]['conversion']['for'](_0x524b('0xdf'))[_0x524b('0xff')]({'model':_0x524b('0xe2'),'view':_0x4926eb=>{const _0x25f29a=_0x4926eb[_0x524b('0x5f')][_0x524b('0x76')](':')[0x1],_0x32f547=this[_0x524b('0x95')](_0x25f29a);if(!_0x32f547)return null;const _0x30fa6b=_0x524b('0x46')==_0x32f547[_0x524b('0x4e')]?_0x524b('0x49'):_0x524b('0xf0'),_0x3cec53=['ck-suggestion-marker','ck-suggestion-marker-'+_0x30fa6b];return _0x32f547[_0x524b('0x47')][_0x524b('0x2d')]&&_0x3cec53[_0x524b('0xfa')]('ck-suggestion-marker-'+_0x30fa6b+_0x524b('0x2c')),this[_0x524b('0xd')]==_0x32f547&&_0x3cec53[_0x524b('0xfa')](_0x524b('0xf2')),{'classes':_0x3cec53,'attributes':{'data-change-id':_0x25f29a}};}}),this[_0x524b('0xfc')]['conversion'][_0x524b('0x9b')](_0x524b('0xcc'))['add'](_0x2a527f=>{_0x2a527f['on']('element:pre',(_0x3c7d71,_0x187ffc,_0x332efa)=>{const _0x467a99=_0x187ffc[_0x524b('0x57')]['getChild'](0x0);if(!_0x467a99||!_0x467a99['is'](_0x524b('0xec'),_0x524b('0x72')))return;if(!_0x332efa[_0x524b('0x5e')][_0x524b('0x12')](_0x467a99,{'attributes':[_0x524b('0x3f'),_0x524b('0xe6')]}))return;const _0x1e4e1e=_0x187ffc[_0x524b('0x92')][_0x524b('0x4c')][_0x524b('0xb')];_0x332efa[_0x524b('0xcd')][_0x524b('0xc2')](_0x524b('0x3f'),_0x467a99[_0x524b('0x65')](_0x524b('0x3f')),_0x1e4e1e),_0x332efa[_0x524b('0xcd')][_0x524b('0xc2')](_0x524b('0xe6'),_0x467a99[_0x524b('0x65')](_0x524b('0xe6')),_0x1e4e1e);},{'priority':_0x524b('0x11')});}),this[_0x524b('0xfc')]['conversion'][_0x524b('0x9b')](_0x524b('0xcc'))[_0x524b('0x46')](_0x155021=>{_0x155021['on'](_0x524b('0xec'),(_0x5b8b03,_0x36bd6e,_0x1bef76)=>{if(!_0x1bef76['consumable'][_0x524b('0x12')](_0x36bd6e[_0x524b('0x57')],{'attributes':[_0x524b('0x3f'),_0x524b('0xe6')]}))return;if(_0x36bd6e['modelRange'][_0x524b('0xb1')])return;const _0x2e41b5=_0x36bd6e[_0x524b('0x92')][_0x524b('0x4c')][_0x524b('0xb')];_0x2e41b5[_0x524b('0xbd')](_0x524b('0x3f'))||_0x2e41b5[_0x524b('0xbd')](_0x524b('0xab'))||(_0x1bef76['writer'][_0x524b('0xc2')](_0x524b('0x3f'),_0x36bd6e[_0x524b('0x57')][_0x524b('0x65')](_0x524b('0x3f')),_0x2e41b5),_0x1bef76[_0x524b('0xcd')][_0x524b('0xc2')](_0x524b('0xe6'),_0x36bd6e[_0x524b('0x57')][_0x524b('0x65')](_0x524b('0xe6')),_0x2e41b5));},{'priority':_0x524b('0x11')});}),this[_0x524b('0xfc')][_0x524b('0x5a')][_0x524b('0x9b')](_0x524b('0xcc'))[_0x524b('0x3')]({'view':{'name':_0x524b('0x67'),'attributes':{'vid':!0x0}},'model':{'key':_0x524b('0xab'),'value':_0x35c502=>_0x35c502['getAttribute'](_0x524b('0xab'))}}),this['editor'][_0x524b('0x97')][_0x524b('0xd2')]['on'](_0x524b('0x88'),(_0x9db8f,[,_0x52a08d])=>{['vid_start','vid_end',_0x524b('0xab')][_0x524b('0x23')](_0x52a08d)&&(_0x9db8f['return']=!0x0,_0x9db8f[_0x524b('0x91')]());},{'priority':_0x524b('0xaa')}),this[_0x524b('0xfc')][_0x524b('0x5a')]['for'](_0x524b('0x96'))[_0x524b('0x46')](_0x349125=>{_0x349125['on']('attribute:vid',(_0x419c5b,_0x5bf877,_0x24f7ff)=>{if('\x20'!=_0x5bf877[_0x524b('0x2f')][_0x524b('0x47')]||_0x5bf877['item'][_0x524b('0x80')][_0x524b('0x69')]>0x1)return;if(!_0x24f7ff[_0x524b('0x5e')][_0x524b('0x12')](_0x5bf877[_0x524b('0x2f')],_0x419c5b[_0x524b('0xda')]))return;const _0x5bdcaf=_0x24f7ff[_0x524b('0xcd')],_0x2d0b20=_0x24f7ff[_0x524b('0x99')][_0x524b('0x15')](_0x5bf877[_0x524b('0x98')]);_0x5bdcaf[_0x524b('0x1c')](_0x2d0b20,_0x5bdcaf[_0x524b('0x100')](_0x524b('0x67')));});}),this[_0x524b('0xfc')][_0x524b('0x5a')][_0x524b('0x9b')](_0x524b('0x96'))[_0x524b('0x18')]({'model':'revision'}),this[_0x524b('0xfc')][_0x524b('0x73')][_0x524b('0x3c')]['on']('addMarker:revision',function(_0x466590){const _0xe4fe4f=_0x466590[_0x524b('0xee')][_0x524b('0x4')]('RevisionViewer');return(_0xbe6ca5,_0x1f8b8d,_0x34a4eb)=>{const _0x48bd82=_0x1f8b8d[_0x524b('0x5f')][_0x524b('0x76')](':')[0x1],_0x4d56b2=_0xe4fe4f['_getChangeFromId'](_0x48bd82);if(!_0x4d56b2)return null;const _0x519ce6=_0x524b('0x46')==_0x4d56b2[_0x524b('0x4e')]?_0x524b('0x76'):'merge';if(!_0x34a4eb[_0x524b('0x5e')][_0x524b('0x2a')](_0x1f8b8d['markerRange'],_0xbe6ca5['name']))return;const _0x4d566f=_0x1f8b8d[_0x524b('0x94')][_0x524b('0x106')](),_0x50a4be=_0x1f8b8d['markerRange'][_0x524b('0x4c')],_0x192636=_0x466590[_0x524b('0x97')]['schema'];let _0x180cd7=null,_0x41bd64=null,_0x4fbd18=!0x1,_0x59af42=!0x1;for(const _0x4140be of _0x4d566f){const _0x10e356=_0x4140be['item'];_0x4fbd18=_0x4fbd18||_0x192636[_0x524b('0xe8')](_0x10e356);const _0x59096d=_0x34a4eb['mapper'][_0x524b('0x10')](_0x10e356);if(_0x59096d&&_0x59096d[_0x524b('0x9c')](_0x524b('0x86')))return;'elementEnd'==_0x4140be['type']&&(_0x192636[_0x524b('0xb7')](_0x10e356)&&!_0x192636[_0x524b('0x36')](_0x10e356)&&(_0x10e356[_0x524b('0x104')]||_0x50a4be[_0x524b('0xe0')]?_0x180cd7&&_0x180cd7[_0x524b('0x80')]==_0x10e356||(_0x180cd7=_0x10e356,_0x5ada36(_0x4140be[_0x524b('0x71')]),_0x59af42=!0x0):_0x41bd64=_0x41bd64||_0x4140be[_0x524b('0x71')]));}function _0x5ada36(_0x29c896){const _0x3a8df1=_0x34a4eb[_0x524b('0xcd')][_0x524b('0x4f')]('span',{'class':_0x524b('0xb3')+_0x519ce6}),_0x25b617=_0x34a4eb[_0x524b('0x99')][_0x524b('0x8e')](_0x29c896);_0x4d56b2['data'][_0x524b('0x2d')]&&_0x34a4eb[_0x524b('0xcd')]['addClass']('ck-suggestion-marker-'+_0x519ce6+_0x524b('0x2c'),_0x3a8df1),_0xe4fe4f[_0x524b('0xd')]==_0x4d56b2&&_0x34a4eb['writer'][_0x524b('0xf')]('ck-suggestion-marker--active',_0x3a8df1),_0x34a4eb['writer']['insert'](_0x25b617,_0x3a8df1),_0x34a4eb[_0x524b('0x99')]['bindElementToMarker'](_0x3a8df1,_0x1f8b8d[_0x524b('0x5f')]);}_0x4fbd18||_0x59af42||!_0x41bd64||_0x5ada36(_0x41bd64);};}(this[_0x524b('0xfc')]),{'priority':'high'}),this[_0x524b('0xfc')][_0x524b('0x73')][_0x524b('0x3c')]['on'](_0x524b('0xea'),(_0x3b9bac,_0x414ed1,_0x3d125a)=>{const _0x40129b=_0x3d125a[_0x524b('0x99')]['markerNameToElements'](_0x414ed1['markerName']);if(_0x40129b)for(const _0x2b9aa6 of _0x40129b)(_0x2b9aa6[_0x524b('0x8')]('ck-suggestion-marker-split')||_0x2b9aa6['hasClass'](_0x524b('0xd5')))&&(_0x3d125a[_0x524b('0x99')]['unbindElementFromMarkerName'](_0x2b9aa6,_0x414ed1[_0x524b('0x5f')]),_0x3d125a[_0x524b('0xcd')][_0x524b('0x2b')](_0x2b9aa6));},{'priority':_0x524b('0x79')}),this[_0x524b('0xfc')]['editing'][_0x524b('0x3c')]['on'](_0x524b('0x28'),(_0x5acf0f,_0x34dc55,_0x3edb35)=>{const _0x23b75a=_0x34dc55['markerName'][_0x524b('0x76')](':')[0x1],_0x12a878=this[_0x524b('0x95')](_0x23b75a);if(!_0x12a878)return null;const _0x1d9713='add'==_0x12a878[_0x524b('0x4e')]?_0x524b('0x76'):_0x524b('0x13');if(_0x3edb35[_0x524b('0x5e')][_0x524b('0x2a')](_0x34dc55[_0x524b('0x94')],_0x5acf0f['name']))for(const _0x27f254 of _0x34dc55[_0x524b('0x94')][_0x524b('0xf6')]()){if(!_0x27f254['is']('element',_0x524b('0x4b')))continue;const _0x20056d=_0x3edb35[_0x524b('0xcd')][_0x524b('0x4f')]('span',{'class':_0x524b('0xb3')+_0x1d9713}),_0x2dc71d=_0x3edb35['mapper'][_0x524b('0x8e')](this['editor'][_0x524b('0x97')]['createPositionBefore'](_0x27f254));_0x12a878[_0x524b('0x47')][_0x524b('0x2d')]&&_0x3edb35[_0x524b('0xcd')]['addClass']('ck-suggestion-marker-'+_0x1d9713+_0x524b('0x2c'),_0x20056d),this[_0x524b('0xd')]==_0x12a878&&_0x3edb35[_0x524b('0xcd')][_0x524b('0xf')](_0x524b('0xf2'),_0x20056d),_0x3edb35[_0x524b('0xcd')]['insert'](_0x2dc71d,_0x20056d),_0x3edb35['mapper']['bindElementToMarker'](_0x20056d,_0x34dc55[_0x524b('0x5f')]);}},{'priority':_0x524b('0x79')}),this[_0x524b('0xfc')]['conversion'][_0x524b('0x9b')](_0x524b('0xcc'))[_0x524b('0x74')]({'view':_0x524b('0x7b'),'model':_0x3804c4=>'revision-comment:'+_0x3804c4,'converterPriority':'highest'}),this['editor']['conversion'][_0x524b('0x9b')](_0x524b('0xcc'))['dataToMarker']({'view':_0x524b('0xdd'),'model':_0x13faa0=>_0x524b('0xd6')+_0x13faa0,'converterPriority':_0x524b('0xaa')}),this[_0x524b('0xfc')][_0x524b('0x5a')][_0x524b('0x9b')](_0x524b('0x96'))['markerToData']({'model':'revision-suggestion','view':_0x425e21=>_0x524b('0x26')+_0x425e21,'converterPriority':_0x524b('0xaa')}),this[_0x524b('0xfc')][_0x524b('0x5a')][_0x524b('0x9b')](_0x524b('0xdf'))[_0x524b('0xff')]({'model':'revision-suggestion','view':_0x217794=>{const _0x13b4e4=_0x217794[_0x524b('0x5f')][_0x524b('0x76')](':')[0x1];return'insertion'!=_0x13b4e4&&_0x524b('0xf0')!=_0x13b4e4?null:{'classes':[_0x524b('0xe'),'ck-suggestion-preview-marker-'+_0x13b4e4]};}}),this['editor'][_0x524b('0x73')]['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',Z(this[_0x524b('0xfc')],_0x524b('0x13')),{'priority':_0x524b('0x79')}),this[_0x524b('0xfc')][_0x524b('0x73')][_0x524b('0x3c')]['on'](_0x524b('0x3d'),Z(this[_0x524b('0xfc')],_0x524b('0x76')),{'priority':_0x524b('0x79')}),this[_0x524b('0xfc')]['editing'][_0x524b('0x3c')]['on'](_0x524b('0x8b'),(_0x4cc1bd,_0x922277,_0x4052a7)=>{const _0x37d313=_0x4052a7[_0x524b('0x99')]['markerNameToElements'](_0x922277[_0x524b('0x5f')]);if(_0x37d313)for(const _0x25260e of _0x37d313)_0x25260e['is'](_0x524b('0xa4'))&&(_0x4052a7[_0x524b('0x99')]['unbindElementFromMarkerName'](_0x25260e,_0x922277[_0x524b('0x5f')]),_0x4052a7[_0x524b('0xcd')][_0x524b('0x2b')](_0x25260e));},{'priority':_0x524b('0x79')});}[_0x524b('0x95')](_0x323c0e){return this['_changeIdToChange'][_0x524b('0x4')](_0x323c0e);}[_0x524b('0x27')](_0x24205){this[_0x524b('0xf5')]&&this['_changeView']['destroy'](),this[_0x524b('0xf5')]=new _0x5e30ed(this[_0x524b('0xfc')]['locale'],_0x24205);const _0x172a55=this['editor']['model'][_0x524b('0xf3')][_0x524b('0x4')](_0x524b('0x54')+_0x24205['id']);return this['_changeView'][_0x524b('0xc7')]=()=>_0x357e15(this[_0x524b('0xfc')][_0x524b('0x73')],_0x172a55),this[_0x524b('0xf5')];}[_0x524b('0x62')](){this[_0x524b('0xfc')][_0x524b('0x97')][_0x524b('0xa0')]['selection'][_0x524b('0x84')](_0x524b('0xe2')),this['on'](_0x524b('0x8d'),(_0x3ffb5b,_0x526e25,_0x3fc6dc,_0x1421c5)=>{_0x1421c5&&this[_0x524b('0x40')][_0x524b('0x2b')](_0x1421c5),_0x3fc6dc&&(this[_0x524b('0x40')][_0x524b('0x46')]({'view':_0x3fc6dc,'stackId':_0x524b('0xdb'),'position':{'target':_0x3fc6dc['_target']}}),this[_0x524b('0x40')][_0x524b('0x31')](_0x524b('0xdb')));}),this['on'](_0x524b('0xdc'),(_0x3b970a,_0xf70efe,_0x16fa26,_0x253527)=>{this[_0x524b('0x6a')]=_0x16fa26?this[_0x524b('0x27')](_0x16fa26):null,this['editor'][_0x524b('0x97')][_0x524b('0xd1')](()=>{const _0x536fb7=this[_0x524b('0xfc')][_0x524b('0x73')];_0x253527&&_0x536fb7[_0x524b('0xce')](_0x524b('0x54')+_0x253527['id']),_0x16fa26&&_0x536fb7[_0x524b('0xce')]('revision:'+_0x16fa26['id']);});}),this[_0x524b('0x66')](this[_0x524b('0xfc')][_0x524b('0x73')][_0x524b('0x21')][_0x524b('0xa0')],_0x524b('0x20'),(_0x50cfbe,_0x33eeab)=>{if(this[_0x524b('0xd')])return;const _0x35e746=this[_0x524b('0xd9')](_0x33eeab['target']),_0x85a2d6=this['_changeIdToChange'][_0x524b('0x4')](_0x35e746);this[_0x524b('0x6a')]=_0x85a2d6?this[_0x524b('0x27')](_0x85a2d6):null;}),this[_0x524b('0x66')](this['editor']['editing'][_0x524b('0x21')][_0x524b('0xa0')],_0x524b('0x24'),(_0x584976,_0x3d29cb)=>{const _0x427cea=this['_findChangeIdFromDomTarget'](_0x3d29cb[_0x524b('0x1a')]),_0x246e20=this[_0x524b('0xae')][_0x524b('0x4')](_0x427cea);this[_0x524b('0xd')]=_0x246e20||null;});}[_0x524b('0xd9')](_0x4fc7e2){do{const _0xc6a33c=_0x4fc7e2[_0x524b('0x65')](_0x524b('0x5b'));if(_0xc6a33c)return _0xc6a33c;_0x4fc7e2=_0x4fc7e2[_0x524b('0x80')];}while(_0x4fc7e2);return null;}[_0x524b('0xa1')](){this[_0x524b('0xfc')][_0x524b('0x97')][_0x524b('0xd1')](_0xb5e2f1=>{for(const _0x135786 of this[_0x524b('0xfc')][_0x524b('0x97')][_0x524b('0xf3')])_0xb5e2f1['removeMarker'](_0x135786);});}}function Z(_0x1b66c8,_0x39fd91){return(_0x3a5624,_0x422665,_0x240ff8)=>{if(!_0x240ff8[_0x524b('0x5e')][_0x524b('0x2a')](_0x422665[_0x524b('0x94')],_0x3a5624[_0x524b('0xda')]))return;const _0x3922d7=_0x422665[_0x524b('0x94')][_0x524b('0x106')](),_0x504a7b=_0x422665['markerRange'][_0x524b('0x4c')],_0x4b2d61=_0x1b66c8[_0x524b('0x97')]['schema'];let _0x344622=null,_0x16d62b=null,_0x4350b1=!0x1,_0x32a160=!0x1;for(const _0x5446de of _0x3922d7){const _0x4a45b3=_0x5446de[_0x524b('0x2f')];_0x4350b1=_0x4350b1||_0x4b2d61[_0x524b('0xe8')](_0x4a45b3);const _0x1495cc=_0x240ff8[_0x524b('0x99')][_0x524b('0x10')](_0x4a45b3);if(_0x1495cc&&_0x1495cc['getCustomProperty'](_0x524b('0x86')))return;_0x524b('0x8a')==_0x5446de[_0x524b('0x4e')]&&(_0x4b2d61[_0x524b('0xb7')](_0x4a45b3)&&!_0x4b2d61[_0x524b('0x36')](_0x4a45b3)&&(_0x4a45b3[_0x524b('0x104')]||_0x504a7b[_0x524b('0xe0')]?_0x344622&&_0x344622[_0x524b('0x80')]==_0x4a45b3||(_0x344622=_0x4a45b3,_0x3f17c5(_0x5446de[_0x524b('0x71')]),_0x32a160=!0x0):_0x16d62b=_0x16d62b||_0x5446de[_0x524b('0x71')]));}function _0x3f17c5(_0x1bf2ed){const _0xe9bbef=_0x240ff8[_0x524b('0x99')][_0x524b('0x8e')](_0x1bf2ed),_0xb08918=_0x240ff8[_0x524b('0xcd')][_0x524b('0x4f')](_0x524b('0x67'),{'class':_0x524b('0x2e')+_0x39fd91});_0x240ff8[_0x524b('0xcd')]['insert'](_0xe9bbef,_0xb08918),_0x240ff8[_0x524b('0x99')]['bindElementToMarker'](_0xb08918,_0x422665['markerName']);}_0x4350b1||_0x32a160||!_0x16d62b||_0x3f17c5(_0x16d62b);};}_0xdcc6b(d,_0x41e455);class tt extends _0x4709cd{constructor(_0x1c7b8a){super(_0x1c7b8a);const _0x38bd2e=_0x1c7b8a[_0x524b('0xee')][_0x524b('0x4')](d);this[_0x524b('0x42')](_0x1c7b8a,_0x524b('0xe9')),this[_0x524b('0xa8')](_0x524b('0x89')),this[_0x524b('0x66')](_0x38bd2e,_0x524b('0xbc'),()=>this[_0x524b('0x0')]()),this[_0x524b('0x66')](_0x38bd2e,_0x524b('0xed'),()=>this[_0x524b('0x0')]());}['execute'](){const _0x235739=this[_0x524b('0xfc')],_0x5e9e1f=_0x235739[_0x524b('0xee')][_0x524b('0x4')](d),_0x3ff4b3=_0x5e9e1f[_0x524b('0xb6')]?_0x5e9e1f[_0x524b('0x51')][_0x524b('0x19')]:null;_0x235739['config']['get'](_0x524b('0x58'))[_0x524b('0xb5')](_0x3ff4b3);}[_0x524b('0x0')](){const {isReady:_0xfd3145,isEnabled:_0x43d424}=this[_0x524b('0xfc')][_0x524b('0xee')][_0x524b('0x4')](d);this['isEnabled']=_0xfd3145&&_0x43d424;}}class et extends _0x4709cd{constructor(_0x31c7e8,{direction:_0x3aaa9d}){super(_0x31c7e8);const _0x44ce64=_0x31c7e8[_0x524b('0xee')]['get'](d);this[_0x524b('0x42')](_0x31c7e8,'change:isReadOnly'),this['clearForceDisabled']('readOnlyMode'),this['_step']=_0x524b('0xe5')===_0x3aaa9d?0x1:-0x1,this[_0x524b('0x66')](_0x44ce64,_0x524b('0xbc'),()=>this[_0x524b('0x0')]()),this['listenTo'](_0x44ce64,_0x524b('0xed'),()=>this['refresh']());}[_0x524b('0x107')](){const _0x5d0b76=this[_0x524b('0xfc')],_0x1969ad=_0x5d0b76[_0x524b('0xee')]['get'](d),{isNavigationMode:_0x2e6701,currentChangeNumber:_0x1aa421}=_0x1969ad;_0x1969ad[_0x524b('0xd')]=_0x2e6701?_0x1969ad[_0x524b('0x51')][_0x524b('0x82')][_0x524b('0x4')](_0x1aa421+this['_step']):_0x1969ad['diff'][_0x524b('0x82')]['first'];const _0x56a9b5=_0x5d0b76[_0x524b('0x97')][_0x524b('0xf3')][_0x524b('0x4')](_0x524b('0x54')+_0x1969ad['activeChange']['id']),_0x3313a0=_0x357e15(_0x5d0b76[_0x524b('0x73')],_0x56a9b5);_0xce6de3({'target':_0x3313a0,'viewportOffset':0x28});}[_0x524b('0x0')](){const {isNavigationMode:_0x13163a,currentChangeNumber:_0x178e23,numberOfChanges:_0x377f0c,isReady:_0x5ab825,isEnabled:_0x17dcfe}=this[_0x524b('0xfc')][_0x524b('0xee')][_0x524b('0x4')](d);this[_0x524b('0xc0')]=!!(_0x17dcfe&&_0x5ab825&&_0x377f0c)&&(!_0x13163a||(0x1===this[_0x524b('0xc3')]?_0x178e23<_0x377f0c-0x1:_0x178e23>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57cd=['button','isOpen','extendTemplate','stopPropagation','action','locale','class','ck-revision-history-sidebar__revision__actions','children','ck-on','Restore\x20this\x20revision','panelPosition','Show\x20more\x20items','isEnabled','items','Compare\x20against\x20selected','isVisible','name','listView','source','function','first','Name\x20this\x20revision','bindTemplate','isActionsDropdownOpen','model','_action','set','add'];(function(_0x423d31,_0x57cd30){const _0x15f6b2=function(_0x4e1c1d){while(--_0x4e1c1d){_0x423d31['push'](_0x423d31['shift']());}};_0x15f6b2(++_0x57cd30);}(_0x57cd,0x17a));const _0x15f6=function(_0x423d31,_0x57cd30){_0x423d31=_0x423d31-0x0;let _0x15f6b2=_0x57cd[_0x423d31];return _0x15f6b2;};import{Collection as _0x2c7499}from'ckeditor5/src/utils';import{Model as _0x2d0d2a,addListToDropdown as _0x444a3c,createDropdown as _0x1e4b48}from'ckeditor5/src/ui';import{getTranslation as _0xd3585a}from'../../utils/common-translations';import _0x41576e from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x31d07d,_0x30b150){const _0x345e36=_0x31d07d[_0x15f6('0x16')],_0x542de4=_0x31d07d[_0x15f6('0x4')],_0x124a1b=_0x1e4b48(_0x542de4);_0x124a1b[_0x15f6('0xa')]='sw';const _0x147812=function(_0x5f5106,_0x5b7667){const _0x3e2eea=function(_0x1bd1f4,_0x5d5be7){const _0x300dc3=_0x1bd1f4[_0x15f6('0x4')],_0x5c3b09={'Compare\x20against\x20selected':_0xd3585a(_0x300dc3,_0x15f6('0xe')),'Name\x20this\x20revision':_0xd3585a(_0x300dc3,_0x15f6('0x15')),'Restore\x20this\x20revision':_0xd3585a(_0x300dc3,_0x15f6('0x9'))};return _0x5d5be7['map'](_0x5024d7=>{const _0x5649d=_0x5c3b09[_0x5024d7[_0x15f6('0x10')]];return _0x5649d&&_0x5649d!==_0x5024d7[_0x15f6('0x10')]&&(_0x5024d7['name']=_0x5649d),_0x5024d7;});}(_0x5f5106,_0x5b7667),_0x2475ea=new _0x2c7499();for(const _0x4b4ea0 of _0x3e2eea){const _0x478348={'type':_0x15f6('0x1c'),'model':new _0x2d0d2a({'label':_0x4b4ea0[_0x15f6('0x10')],'class':_0x4b4ea0[_0x15f6('0x5')],'withText':!0x0,'_action':_0x4b4ea0['action']})};_0x478348[_0x15f6('0x18')]['bind'](_0x15f6('0xc'))['to'](_0x5f5106,_0x15f6('0x17'),_0x43ed75=>_0x15f6('0x13')!=typeof _0x4b4ea0[_0x15f6('0xc')]||(!_0x43ed75||_0x4b4ea0[_0x15f6('0xc')](_0x5f5106))),_0x2475ea[_0x15f6('0x1b')](_0x478348);}return _0x2475ea;}(_0x31d07d,_0x30b150);return _0x31d07d['bind'](_0x15f6('0x17'))['to'](_0x124a1b,_0x15f6('0x0')),_0x124a1b['buttonView'][_0x15f6('0x1a')]({'label':_0xd3585a(_0x542de4,_0x15f6('0xb')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x41576e}),_0x124a1b[_0x15f6('0x1')]({'attributes':{'class':[_0x15f6('0x6'),_0x345e36['if']('isActionsDropdownOpen',_0x15f6('0x8'))]},'on':{'click':_0x345e36['to'](_0x1dc9cd=>_0x1dc9cd[_0x15f6('0x2')]())}}),_0x124a1b['on']('execute',_0x56c8b5=>{_0x31d07d['isReady']&&'function'==typeof _0x56c8b5['source'][_0x15f6('0x19')]&&_0x56c8b5[_0x15f6('0x12')]['_action'](_0x31d07d);}),_0x444a3c(_0x124a1b,_0x147812),_0x124a1b['listenTo'](_0x31d07d,'change:isActionsDropdownOpen',(_0x2aaca4,_0x353cf0,_0x100edd)=>{if(_0x100edd)for(const _0xf88412 of _0x124a1b[_0x15f6('0x11')][_0x15f6('0xd')]){const _0x5e6c00=_0xf88412[_0x15f6('0x7')][_0x15f6('0x14')],_0xd7d27a=_0x30b150['find'](_0x559484=>_0x559484[_0x15f6('0x3')]===_0x5e6c00['_action'])[_0x15f6('0xf')];_0xf88412['isVisible']=void 0x0===_0xd7d27a||_0xd7d27a(_0x31d07d);}}),_0x124a1b;}
23
+ const _0x280a=['change:isActionsDropdownOpen','source','Show\x20more\x20items','children','bind','class','name','ck-on','locale','function','extendTemplate','buttonView','execute','set','isReady','find','isActionsDropdownOpen','map','_action','isVisible','first','action','Name\x20this\x20revision','bindTemplate','listenTo','add','ck-revision-history-sidebar__revision__actions','panelPosition','isOpen','isEnabled','Compare\x20against\x20selected'];(function(_0x5d59d9,_0x280ae4){const _0x3e993f=function(_0x2fcac0){while(--_0x2fcac0){_0x5d59d9['push'](_0x5d59d9['shift']());}};_0x3e993f(++_0x280ae4);}(_0x280a,0x1ec));const _0x3e99=function(_0x5d59d9,_0x280ae4){_0x5d59d9=_0x5d59d9-0x0;let _0x3e993f=_0x280a[_0x5d59d9];return _0x3e993f;};import{Collection as _0x218c8d}from'ckeditor5/src/utils';import{Model as _0x64c827,addListToDropdown as _0x1459b6,createDropdown as _0x171d1c}from'ckeditor5/src/ui';import{getTranslation as _0x1fd60e}from'../../utils/common-translations';import _0x1c9734 from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x4672e4,_0x2267e0){const _0x17ce89=_0x4672e4[_0x3e99('0x1b')],_0x1ae259=_0x4672e4[_0x3e99('0xc')],_0x45e729=_0x171d1c(_0x1ae259);_0x45e729[_0x3e99('0x0')]='sw';const _0x15f100=function(_0x45406b,_0x3dfd1a){const _0x27177d=function(_0x2f20d2,_0x424118){const _0x5a23ce=_0x2f20d2['locale'],_0x37204e={'Compare\x20against\x20selected':_0x1fd60e(_0x5a23ce,_0x3e99('0x3')),'Name\x20this\x20revision':_0x1fd60e(_0x5a23ce,_0x3e99('0x1a')),'Restore\x20this\x20revision':_0x1fd60e(_0x5a23ce,'Restore\x20this\x20revision')};return _0x424118[_0x3e99('0x15')](_0x2166e3=>{const _0x415525=_0x37204e[_0x2166e3[_0x3e99('0xa')]];return _0x415525&&_0x415525!==_0x2166e3[_0x3e99('0xa')]&&(_0x2166e3[_0x3e99('0xa')]=_0x415525),_0x2166e3;});}(_0x45406b,_0x3dfd1a),_0x15b042=new _0x218c8d();for(const _0xe40ffe of _0x27177d){const _0x594c53={'type':'button','model':new _0x64c827({'label':_0xe40ffe[_0x3e99('0xa')],'class':_0xe40ffe[_0x3e99('0x9')],'withText':!0x0,'_action':_0xe40ffe[_0x3e99('0x19')]})};_0x594c53['model'][_0x3e99('0x8')](_0x3e99('0x2'))['to'](_0x45406b,_0x3e99('0x14'),_0x313422=>'function'!=typeof _0xe40ffe[_0x3e99('0x2')]||(!_0x313422||_0xe40ffe[_0x3e99('0x2')](_0x45406b))),_0x15b042[_0x3e99('0x1d')](_0x594c53);}return _0x15b042;}(_0x4672e4,_0x2267e0);return _0x4672e4['bind'](_0x3e99('0x14'))['to'](_0x45e729,_0x3e99('0x1')),_0x45e729[_0x3e99('0xf')][_0x3e99('0x11')]({'label':_0x1fd60e(_0x1ae259,_0x3e99('0x6')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1c9734}),_0x45e729[_0x3e99('0xe')]({'attributes':{'class':[_0x3e99('0x1e'),_0x17ce89['if']('isActionsDropdownOpen',_0x3e99('0xb'))]},'on':{'click':_0x17ce89['to'](_0x32c636=>_0x32c636['stopPropagation']())}}),_0x45e729['on'](_0x3e99('0x10'),_0x418270=>{_0x4672e4[_0x3e99('0x12')]&&_0x3e99('0xd')==typeof _0x418270[_0x3e99('0x5')]['_action']&&_0x418270[_0x3e99('0x5')][_0x3e99('0x16')](_0x4672e4);}),_0x1459b6(_0x45e729,_0x15f100),_0x45e729[_0x3e99('0x1c')](_0x4672e4,_0x3e99('0x4'),(_0x4a6d10,_0x2e76de,_0x5793d5)=>{if(_0x5793d5)for(const _0x54f3d7 of _0x45e729['listView']['items']){const _0x4a40bc=_0x54f3d7[_0x3e99('0x7')][_0x3e99('0x18')],_0x10b438=_0x2267e0[_0x3e99('0x13')](_0x520c36=>_0x520c36[_0x3e99('0x19')]===_0x4a40bc[_0x3e99('0x16')])[_0x3e99('0x17')];_0x54f3d7[_0x3e99('0x17')]=void 0x0===_0x10b438||_0x10b438(_0x4672e4);}}),_0x45e729;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6cb2=['span','setTemplate','ck-revision-history-sidebar__revision-author_creator','set','ck-revision-history-sidebar__revision-author','name','push','0\x200\x2011\x2010','Revision\x20creator','Revision\x20author','ck-revision-history-sidebar__revision-author__name'];(function(_0x331559,_0x6cb28b){const _0xda43c6=function(_0x2832d5){while(--_0x2832d5){_0x331559['push'](_0x331559['shift']());}};_0xda43c6(++_0x6cb28b);}(_0x6cb2,0x13a));const _0xda43=function(_0x331559,_0x6cb28b){_0x331559=_0x331559-0x0;let _0xda43c6=_0x6cb2[_0x331559];return _0xda43c6;};import{View as _0xc09ecc,IconView as _0x44bc61}from'ckeditor5/src/ui';import{getTranslation as _0x367409}from'../../utils/common-translations';import _0x3d6502 from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0xc09ecc{constructor(_0xb10712,_0x516847,_0x58f3c9){super(_0xb10712);const _0x51f56b=new _0x44bc61(_0xb10712);_0x51f56b[_0xda43('0x8')]({'content':_0x3d6502,'viewBox':_0xda43('0x1')});const _0x259ae4=['ck',_0xda43('0x9')];_0x58f3c9&&_0x259ae4[_0xda43('0x0')](_0xda43('0x7'));const _0x3f1f4e=[{'tag':_0xda43('0x5'),'attributes':{'class':['ck',_0xda43('0x4')],'title':_0x367409(_0xb10712,_0x58f3c9?_0xda43('0x2'):_0xda43('0x3'))},'children':[_0x51f56b,_0x516847[_0xda43('0xa')]]}];this[_0xda43('0x6')]({'tag':'li','attributes':{'class':_0x259ae4},'children':_0x3f1f4e});}}
23
+ const _0x466d=['0\x200\x2011\x2010','Revision\x20author','push','Revision\x20creator','span','ck-revision-history-sidebar__revision-author_creator','ck-revision-history-sidebar__revision-author','set','setTemplate'];(function(_0x207056,_0x466df2){const _0x231451=function(_0xb31150){while(--_0xb31150){_0x207056['push'](_0x207056['shift']());}};_0x231451(++_0x466df2);}(_0x466d,0xec));const _0x2314=function(_0x207056,_0x466df2){_0x207056=_0x207056-0x0;let _0x231451=_0x466d[_0x207056];return _0x231451;};import{View as _0x4305ec,IconView as _0x54168a}from'ckeditor5/src/ui';import{getTranslation as _0x2a5e4b}from'../../utils/common-translations';import _0x5cd4ac from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0x4305ec{constructor(_0xe11948,_0x299d04,_0x4ed4f3){super(_0xe11948);const _0xe92351=new _0x54168a(_0xe11948);_0xe92351[_0x2314('0x5')]({'content':_0x5cd4ac,'viewBox':_0x2314('0x7')});const _0x1b823a=['ck',_0x2314('0x4')];_0x4ed4f3&&_0x1b823a[_0x2314('0x0')](_0x2314('0x3'));const _0x34aec6=[{'tag':_0x2314('0x2'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x2a5e4b(_0xe11948,_0x4ed4f3?_0x2314('0x1'):_0x2314('0x8'))},'children':[_0xe92351,_0x299d04['name']]}];this[_0x2314('0x6')]({'tag':'li','attributes':{'class':_0x1b823a},'children':_0x34aec6});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x30c8=['extendTemplate','ck-revision-history-sidebar__revision-name','span','Revision\x20name','set'];(function(_0x3396e8,_0x30c8e8){var _0x1c5a57=function(_0x2580ca){while(--_0x2580ca){_0x3396e8['push'](_0x3396e8['shift']());}};_0x1c5a57(++_0x30c8e8);}(_0x30c8,0x13c));var _0x1c5a=function(_0x3396e8,_0x30c8e8){_0x3396e8=_0x3396e8-0x0;var _0x1c5a57=_0x30c8[_0x3396e8];return _0x1c5a57;};import{LabeledFieldView as _0x52292f}from'ckeditor5/src/ui';import{getTranslation as _0x199838}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x52292f{constructor(_0x4f6fd8,..._0x5d757b){super(_0x4f6fd8,..._0x5d757b),this[_0x1c5a('0x3')]({'label':_0x199838(_0x4f6fd8,_0x1c5a('0x2'))}),this[_0x1c5a('0x4')]({'tag':_0x1c5a('0x1'),'attributes':{'class':[_0x1c5a('0x0')]}});}}
23
+ var _0x20ec=['extendTemplate','set','Revision\x20name','ck-revision-history-sidebar__revision-name','span'];(function(_0x28c754,_0x20ec73){var _0x15307f=function(_0x5ef457){while(--_0x5ef457){_0x28c754['push'](_0x28c754['shift']());}};_0x15307f(++_0x20ec73);}(_0x20ec,0x10f));var _0x1530=function(_0x28c754,_0x20ec73){_0x28c754=_0x28c754-0x0;var _0x15307f=_0x20ec[_0x28c754];return _0x15307f;};import{LabeledFieldView as _0x1d325d}from'ckeditor5/src/ui';import{getTranslation as _0x222ae9}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x1d325d{constructor(_0x584776,..._0x598ebb){super(_0x584776,..._0x598ebb),this[_0x1530('0x0')]({'label':_0x222ae9(_0x584776,_0x1530('0x1'))}),this[_0x1530('0x4')]({'tag':_0x1530('0x3'),'attributes':{'class':[_0x1530('0x2')]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x376b=['setTemplate','placeholder','select','srcElement','authors','createdAt','revisionActionsView','listenTo','isConfirm','fire','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','closest','element','div','ck-revision-history-sidebar__revision__date','unshift','revisionNameView','from','isSelected','map','fieldView','isHighlighted','_createdAtFormatted','isReady','span','ck-revision-history-sidebar__revision-authors','render','setName','extendTemplate','ck-revision-history-sidebar__revision__controls-wrapper','value','creator','ck-disabled','_revision','220','bindTemplate','bind','name','.ck-thread__remove-confirm','uiLanguage','set','ck-revision-history-sidebar__revision_selected','change','isEnabled'];(function(_0x35f621,_0x376b61){const _0x392867=function(_0x4c7d49){while(--_0x4c7d49){_0x35f621['push'](_0x35f621['shift']());}};_0x392867(++_0x376b61);}(_0x376b,0x146));const _0x3928=function(_0x35f621,_0x376b61){_0x35f621=_0x35f621-0x0;let _0x392867=_0x376b[_0x35f621];return _0x392867;};import{View as _0x259cf3,createLabeledInputText as _0x3c1769}from'ckeditor5/src/ui';import{mix as _0x81e4a0}from'ckeditor5/src/utils';import{ConfirmMixin as _0x158149}from'ckeditor5-collaboration/src/collaboration-core';import _0x5b281a from'./revisionnameview';import _0x298090 from'./revisionauthorview';import{dateToPrettyFormat as _0x2462d3}from'./utils';import{createActionsDropdownView as _0x552ba2}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x259cf3{constructor(_0xbb8e28,_0x27a2e3,_0x25ebf2){super(_0xbb8e28);const _0x176232=this[_0x3928('0x11')],_0x4d04cd=function(_0x127f37,_0x5a0dbb){const _0x3d7bf6=Array[_0x3928('0x2b')](_0x5a0dbb[_0x3928('0x1e')])['filter'](_0x437397=>_0x437397!=_0x5a0dbb['creator']);return _0x5a0dbb[_0x3928('0xd')]&&_0x3d7bf6[_0x3928('0x29')](_0x5a0dbb[_0x3928('0xd')]),_0x3d7bf6[_0x3928('0x1')](_0x1e1b11=>new _0x298090(_0x127f37,_0x1e1b11,_0x1e1b11==_0x5a0dbb[_0x3928('0xd')]));}(_0xbb8e28,_0x27a2e3);this[_0x3928('0xf')]=_0x27a2e3,this['id']=_0x27a2e3['id'],this[_0x3928('0x12')](_0x3928('0x13'),_0x3928('0x1f'))['to'](_0x27a2e3),this[_0x3928('0x16')]('isSelected',!0x1),this[_0x3928('0x16')]('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this[_0x3928('0x16')](_0x3928('0x5'),!0x1),this[_0x3928('0x12')](_0x3928('0x4'))['to'](this,_0x3928('0x1f'),_0x4904a5=>_0x4904a5?_0x2462d3(_0xbb8e28[_0x3928('0x15')],_0x4904a5):null),this[_0x3928('0x16')](_0x3928('0x19'),!0x1),this[_0x3928('0x2a')]=new _0x5b281a(_0xbb8e28,_0x3c1769),this['revisionNameView'][_0x3928('0x2')][_0x3928('0xa')]({'attributes':{'maxlength':_0x3928('0x10')}}),this['revisionNameView'][_0x3928('0x2')][_0x3928('0x12')](_0x3928('0xc'),_0x3928('0x1b'))['to'](this,'name','_createdAtFormatted'),this[_0x3928('0x2a')][_0x3928('0x12')](_0x3928('0x19'))['to'](this,'isSelected',this,_0x3928('0x19'),(_0x379a9a,_0x3485f9)=>_0x379a9a&&_0x3485f9),this[_0x3928('0x20')]=_0x25ebf2&&_0x25ebf2['length']?_0x552ba2(this,_0x25ebf2):'',this[_0x3928('0x20')]['bind'](_0x3928('0x19'))['to'](this),this[_0x3928('0x1a')]({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x176232['if'](_0x3928('0x22'),_0x3928('0x24'))]},'children':[{'tag':_0x3928('0x27'),'attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x176232['if'](_0x3928('0x19'),_0x3928('0xe'),_0x27818a=>!_0x27818a),_0x176232['if'](_0x3928('0x0'),_0x3928('0x17')),_0x176232['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x176232['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this[_0x3928('0x2a')],{'tag':_0x3928('0x6'),'attributes':{'class':['ck',_0x3928('0x28')]},'children':[{'text':_0x176232['to'](_0x3928('0x4'))}]},{'tag':_0x3928('0x27'),'attributes':{'class':['ck',_0x3928('0xb')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x3928('0x7')]},'children':_0x4d04cd}]},this[_0x3928('0x20')]],'on':{'click':_0x176232['to'](_0x662db7=>{_0x662db7[_0x3928('0x1d')][_0x3928('0x25')](_0x3928('0x14'))||this[_0x3928('0x5')]&&this[_0x3928('0x19')]&&this[_0x3928('0x23')](_0x3928('0x1c'),{'id':this['id']});})}}]});}[_0x3928('0x8')](){super['render']();const _0x1b6378=this[_0x3928('0x2a')]['fieldView'][_0x3928('0x26')];this[_0x3928('0x21')](_0x1b6378,_0x3928('0x18'),()=>{this[_0x3928('0x23')](_0x3928('0x9'),{'id':this['id'],'name':_0x1b6378[_0x3928('0xc')]});});}[_0x3928('0x1c')](){this['isSelected']=!0x0;}['deselect'](){this[_0x3928('0x0')]=!0x1;}['highlight'](){this[_0x3928('0x3')]=!0x0;}['unhighlight'](){this[_0x3928('0x3')]=!0x1;}}_0x81e4a0(ci,_0x158149);
23
+ const _0x282b=['isHighlighted','ck-reset','_revision','value','uiLanguage','change','listenTo','ck-revision-history-sidebar__actions_dropdown_open','unhighlight','ck-disabled','extendTemplate','isSelected','ck-revision-history-sidebar__revision','.ck-thread__remove-confirm','fire','from','creator','filter','name','div','element','ck-revision-history-sidebar__revision_selected','setTemplate','ck-revision-history-sidebar__revision__date','select','length','highlight','placeholder','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','closest','fieldView','srcElement','bind','render','revisionActionsView','setName','authors','_createdAtFormatted','isConfirm','220','ck-revision-history-sidebar__revision-wrapper','isActionsDropdownOpen','isReady','ck-revision-history-sidebar__revision__controls-wrapper','set','isEnabled','revisionNameView','ck-revision-history-sidebar__revision_highlighted'];(function(_0x305775,_0x282b19){const _0x75f602=function(_0x1fc6ce){while(--_0x1fc6ce){_0x305775['push'](_0x305775['shift']());}};_0x75f602(++_0x282b19);}(_0x282b,0x12f));const _0x75f6=function(_0x305775,_0x282b19){_0x305775=_0x305775-0x0;let _0x75f602=_0x282b[_0x305775];return _0x75f602;};import{View as _0x433eec,createLabeledInputText as _0x4aaefe}from'ckeditor5/src/ui';import{mix as _0x123bff}from'ckeditor5/src/utils';import{ConfirmMixin as _0x19b2aa}from'ckeditor5-collaboration/src/collaboration-core';import _0x4a5fc3 from'./revisionnameview';import _0x59616a from'./revisionauthorview';import{dateToPrettyFormat as _0x1aa6fc}from'./utils';import{createActionsDropdownView as _0x41d19c}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x433eec{constructor(_0x20fa3f,_0x3bffab,_0x51ad29){super(_0x20fa3f);const _0x33b690=this['bindTemplate'],_0x3a67ac=function(_0x15a11f,_0x20f091){const _0x43932c=Array[_0x75f6('0x0')](_0x20f091[_0x75f6('0x15')])[_0x75f6('0x2')](_0x1b7eb4=>_0x1b7eb4!=_0x20f091[_0x75f6('0x1')]);return _0x20f091[_0x75f6('0x1')]&&_0x43932c['unshift'](_0x20f091[_0x75f6('0x1')]),_0x43932c['map'](_0x34a79f=>new _0x59616a(_0x15a11f,_0x34a79f,_0x34a79f==_0x20f091[_0x75f6('0x1')]));}(_0x20fa3f,_0x3bffab);this[_0x75f6('0x23')]=_0x3bffab,this['id']=_0x3bffab['id'],this[_0x75f6('0x11')]('name','createdAt')['to'](_0x3bffab),this[_0x75f6('0x1d')](_0x75f6('0x2c'),!0x1),this[_0x75f6('0x1d')](_0x75f6('0x21'),!0x1),this[_0x75f6('0x1d')](_0x75f6('0x1a'),!0x1),this[_0x75f6('0x1d')](_0x75f6('0x1b'),!0x1),this[_0x75f6('0x11')]('_createdAtFormatted')['to'](this,'createdAt',_0x72c9e1=>_0x72c9e1?_0x1aa6fc(_0x20fa3f[_0x75f6('0x25')],_0x72c9e1):null),this[_0x75f6('0x1d')](_0x75f6('0x1e'),!0x1),this['revisionNameView']=new _0x4a5fc3(_0x20fa3f,_0x4aaefe),this[_0x75f6('0x1f')][_0x75f6('0xf')][_0x75f6('0x2b')]({'attributes':{'maxlength':_0x75f6('0x18')}}),this['revisionNameView']['fieldView'][_0x75f6('0x11')](_0x75f6('0x24'),_0x75f6('0xc'))['to'](this,_0x75f6('0x3'),_0x75f6('0x16')),this[_0x75f6('0x1f')][_0x75f6('0x11')](_0x75f6('0x1e'))['to'](this,_0x75f6('0x2c'),this,'isEnabled',(_0x5d62a1,_0x32633b)=>_0x5d62a1&&_0x32633b),this[_0x75f6('0x13')]=_0x51ad29&&_0x51ad29[_0x75f6('0xa')]?_0x41d19c(this,_0x51ad29):'',this['revisionActionsView']['bind'](_0x75f6('0x1e'))['to'](this),this[_0x75f6('0x7')]({'tag':_0x75f6('0x4'),'attributes':{'class':['ck',_0x75f6('0x22'),_0x75f6('0x19'),_0x33b690['if'](_0x75f6('0x17'),_0x75f6('0xd'))]},'children':[{'tag':_0x75f6('0x4'),'attributes':{'class':['ck',_0x75f6('0x22'),_0x75f6('0x2d'),_0x33b690['if'](_0x75f6('0x1e'),_0x75f6('0x2a'),_0x5dafd5=>!_0x5dafd5),_0x33b690['if'](_0x75f6('0x2c'),_0x75f6('0x6')),_0x33b690['if']('isHighlighted',_0x75f6('0x20')),_0x33b690['if']('isActionsDropdownOpen',_0x75f6('0x28'))]},'children':[this[_0x75f6('0x1f')],{'tag':'span','attributes':{'class':['ck',_0x75f6('0x8')]},'children':[{'text':_0x33b690['to'](_0x75f6('0x16'))}]},{'tag':'div','attributes':{'class':['ck',_0x75f6('0x1c')]},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x3a67ac}]},this[_0x75f6('0x13')]],'on':{'click':_0x33b690['to'](_0x2616b8=>{_0x2616b8[_0x75f6('0x10')][_0x75f6('0xe')](_0x75f6('0x2e'))||this['isReady']&&this['isEnabled']&&this[_0x75f6('0x2f')](_0x75f6('0x9'),{'id':this['id']});})}}]});}[_0x75f6('0x12')](){super[_0x75f6('0x12')]();const _0x396eae=this[_0x75f6('0x1f')][_0x75f6('0xf')][_0x75f6('0x5')];this[_0x75f6('0x27')](_0x396eae,_0x75f6('0x26'),()=>{this['fire'](_0x75f6('0x14'),{'id':this['id'],'name':_0x396eae[_0x75f6('0x24')]});});}[_0x75f6('0x9')](){this[_0x75f6('0x2c')]=!0x0;}['deselect'](){this[_0x75f6('0x2c')]=!0x1;}[_0x75f6('0xb')](){this['isHighlighted']=!0x0;}[_0x75f6('0x29')](){this[_0x75f6('0x21')]=!0x1;}}_0x123bff(ci,_0x19b2aa);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ba4=['false','isVisible','bindTemplate','click','ck-revision-history-sidebar__subrevision-collapser','span','ck-hidden','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser__inner','button','set','toggle'];(function(_0x4bf687,_0x3ba40b){const _0x59f930=function(_0x25ad6b){while(--_0x25ad6b){_0x4bf687['push'](_0x4bf687['shift']());}};_0x59f930(++_0x3ba40b);}(_0x3ba4,0x1a3));const _0x59f9=function(_0x4bf687,_0x3ba40b){_0x4bf687=_0x4bf687-0x0;let _0x59f930=_0x3ba4[_0x4bf687];return _0x59f930;};import{View as _0x1b1f6c}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x1b1f6c{constructor(_0x20facf){super(_0x20facf);const _0x501822=this[_0x59f9('0xc')];this[_0x59f9('0x8')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this['setTemplate']({'tag':_0x59f9('0x2'),'attributes':{'class':['ck',_0x59f9('0x1'),_0x501822['if'](_0x59f9('0xb'),_0x59f9('0x3'),_0x23c917=>!_0x23c917),_0x501822['if'](_0x59f9('0x4'),_0x59f9('0x5'))],'role':_0x59f9('0x7'),'aria-pressed':_0x501822['to'](_0x59f9('0x4'),_0x26963a=>_0x26963a?_0x59f9('0xa'):'true')},'children':[{'tag':'span','attributes':{'class':['ck',_0x59f9('0x6')]}}],'on':{'click':_0x501822['to'](_0x59f9('0x0'))}});}[_0x59f9('0x9')](){this['_isCollapsed']=!this[_0x59f9('0x4')];}}
23
+ const _0x49f1=['toggle','_isCollapsed','true','span','ck-revision-history-sidebar__subrevision-collapser','ck-revision-history-sidebar__subrevision-collapser_collapsed','false','isVisible','set','ck-revision-history-sidebar__subrevision-collapser__inner','bindTemplate','ck-hidden','setTemplate'];(function(_0x4a12a7,_0x49f11d){const _0x38e6ea=function(_0x419f2f){while(--_0x419f2f){_0x4a12a7['push'](_0x4a12a7['shift']());}};_0x38e6ea(++_0x49f11d);}(_0x49f1,0x19b));const _0x38e6=function(_0x4a12a7,_0x49f11d){_0x4a12a7=_0x4a12a7-0x0;let _0x38e6ea=_0x49f1[_0x4a12a7];return _0x38e6ea;};import{View as _0x471f17}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x471f17{constructor(_0x230fb9){super(_0x230fb9);const _0x424d36=this[_0x38e6('0x2')];this[_0x38e6('0x0')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x38e6('0x4')]({'tag':'span','attributes':{'class':['ck',_0x38e6('0x9'),_0x424d36['if'](_0x38e6('0xc'),_0x38e6('0x3'),_0x51407a=>!_0x51407a),_0x424d36['if']('_isCollapsed',_0x38e6('0xa'))],'role':'button','aria-pressed':_0x424d36['to'](_0x38e6('0x6'),_0x482abf=>_0x482abf?_0x38e6('0xb'):_0x38e6('0x7'))},'children':[{'tag':_0x38e6('0x8'),'attributes':{'class':['ck',_0x38e6('0x1')]}}],'on':{'click':_0x424d36['to']('click')}});}[_0x38e6('0x5')](){this[_0x38e6('0x6')]=!this[_0x38e6('0x6')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34e1=['ck-revision-history-sidebar__revision-authors','bindTemplate','select','fire','ck-reset','isSelected','uiLanguage','div','ck-revision-history-sidebar__revision__date','_parentRevisionId','bind','set','ck-revision-history-sidebar__revision_selected','createdAt','span','_createdAtFormatted','setTemplate'];(function(_0x5005d9,_0x34e16a){const _0x5928c0=function(_0x261871){while(--_0x261871){_0x5005d9['push'](_0x5005d9['shift']());}};_0x5928c0(++_0x34e16a);}(_0x34e1,0x1b4));const _0x5928=function(_0x5005d9,_0x34e16a){_0x5005d9=_0x5005d9-0x0;let _0x5928c0=_0x34e1[_0x5005d9];return _0x5928c0;};import{View as _0x4e18d4}from'ckeditor5/src/ui';import _0x1707ce from'./revisionauthorview';import{dateToPrettyFormat as _0x3fbe74}from'./utils';import'../../../theme/revision/subrevision.css';export default class dt extends _0x4e18d4{constructor(_0x1ac143,_0x2a8a44,_0x3231fc){super(_0x1ac143);const _0x434e4c=this[_0x5928('0x7')];this['id']=_0x2a8a44['id'],this[_0x5928('0x10')](_0x5928('0x2'))['to'](_0x2a8a44),this[_0x5928('0x0')](_0x5928('0xb'),!0x1),this['bind'](_0x5928('0x4'))['to'](this,_0x5928('0x2'),_0x1a4637=>_0x1a4637?_0x3fbe74(_0x1ac143[_0x5928('0xc')],_0x1a4637):null),this[_0x5928('0xf')]=_0x3231fc,this[_0x5928('0x5')]({'tag':_0x5928('0xd'),'attributes':{'class':['ck',_0x5928('0xa'),'ck-revision-history-sidebar__revision','ck-revision-history-sidebar__subrevision',_0x434e4c['if'](_0x5928('0xb'),_0x5928('0x1'))]},'children':[{'tag':_0x5928('0x3'),'attributes':{'class':['ck',_0x5928('0xe')]},'children':[{'text':_0x434e4c['to'](_0x5928('0x4'))}]},{'tag':'ul','attributes':{'class':['ck',_0x5928('0x6')]},'children':[new _0x1707ce(_0x1ac143,_0x2a8a44['author'],!0x0)]}],'on':{'click':_0x434e4c['to'](this[_0x5928('0x8')][_0x5928('0x10')](this))}});}[_0x5928('0x8')](){this[_0x5928('0xb')]=!0x0,this[_0x5928('0x9')]('select',{'parentId':this['_parentRevisionId']});}['deselect'](){this[_0x5928('0xb')]=!0x1;}}
23
+ const _0x5916=['div','ck-revision-history-sidebar__subrevision','isSelected','deselect','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision_selected','bind','select','ck-revision-history-sidebar__revision','createdAt','setTemplate','span','ck-reset','set','_parentRevisionId','author','_createdAtFormatted'];(function(_0x4fb7e1,_0x59167f){const _0xebe9ca=function(_0x3447ab){while(--_0x3447ab){_0x4fb7e1['push'](_0x4fb7e1['shift']());}};_0xebe9ca(++_0x59167f);}(_0x5916,0x1b3));const _0xebe9=function(_0x4fb7e1,_0x59167f){_0x4fb7e1=_0x4fb7e1-0x0;let _0xebe9ca=_0x5916[_0x4fb7e1];return _0xebe9ca;};import{View as _0x3d1399}from'ckeditor5/src/ui';import _0x45fa6a from'./revisionauthorview';import{dateToPrettyFormat as _0x14f764}from'./utils';import'../../../theme/revision/subrevision.css';export default class dt extends _0x3d1399{constructor(_0x11804f,_0x16ef63,_0x441bef){super(_0x11804f);const _0x357456=this['bindTemplate'];this['id']=_0x16ef63['id'],this['bind'](_0xebe9('0x7'))['to'](_0x16ef63),this[_0xebe9('0xb')](_0xebe9('0x11'),!0x1),this[_0xebe9('0x4')](_0xebe9('0xe'))['to'](this,_0xebe9('0x7'),_0x1a548e=>_0x1a548e?_0x14f764(_0x11804f['uiLanguage'],_0x1a548e):null),this[_0xebe9('0xc')]=_0x441bef,this[_0xebe9('0x8')]({'tag':_0xebe9('0xf'),'attributes':{'class':['ck',_0xebe9('0xa'),_0xebe9('0x6'),_0xebe9('0x10'),_0x357456['if'](_0xebe9('0x11'),_0xebe9('0x3'))]},'children':[{'tag':_0xebe9('0x9'),'attributes':{'class':['ck',_0xebe9('0x2')]},'children':[{'text':_0x357456['to']('_createdAtFormatted')}]},{'tag':'ul','attributes':{'class':['ck',_0xebe9('0x1')]},'children':[new _0x45fa6a(_0x11804f,_0x16ef63[_0xebe9('0xd')],!0x0)]}],'on':{'click':_0x357456['to'](this[_0xebe9('0x5')][_0xebe9('0x4')](this))}});}['select'](){this['isSelected']=!0x0,this['fire'](_0xebe9('0x5'),{'parentId':this[_0xebe9('0xc')]});}[_0xebe9('0x0')](){this[_0xebe9('0x11')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3049=['numeric','toLocaleTimeString'];(function(_0x478eda,_0x304958){var _0x39f27a=function(_0x2e5de2){while(--_0x2e5de2){_0x478eda['push'](_0x478eda['shift']());}};_0x39f27a(++_0x304958);}(_0x3049,0x76));var _0x39f2=function(_0x478eda,_0x304958){_0x478eda=_0x478eda-0x0;var _0x39f27a=_0x3049[_0x478eda];return _0x39f27a;};export function dateToPrettyFormat(_0x1a1894,_0x1056a8){return _0x1056a8['toLocaleDateString'](_0x1a1894,{'month':'long','day':_0x39f2('0x0')})+',\x20'+_0x1056a8[_0x39f2('0x1')](_0x1a1894,{'hour':'numeric','minute':'numeric'});}
23
+ var _0x3436=['numeric'];(function(_0x1756c9,_0x3436e6){var _0x4d12e7=function(_0x4b85fd){while(--_0x4b85fd){_0x1756c9['push'](_0x1756c9['shift']());}};_0x4d12e7(++_0x3436e6);}(_0x3436,0xc6));var _0x4d12=function(_0x1756c9,_0x3436e6){_0x1756c9=_0x1756c9-0x0;var _0x4d12e7=_0x3436[_0x1756c9];return _0x4d12e7;};export function dateToPrettyFormat(_0x4f9f3c,_0x46a533){return _0x46a533['toLocaleDateString'](_0x4f9f3c,{'month':'long','day':'numeric'})+',\x20'+_0x46a533['toLocaleTimeString'](_0x4f9f3c,{'hour':_0x4d12('0x0'),'minute':_0x4d12('0x0')});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fd0=['Name\x20of\x20the\x20revision\x20(optional)','shift\x20+\x20tab','ck-revision-history-save-revision-form','extendTemplate','ck-responsive-form','forEach','cancelButtonView','_focusables','keystrokes','_createRevisionNameInput','add','selectstart','listenTo','ck-button-cancel','arrowright','_focusCycler','type','element','value','arrowdown','revisionName','focusTracker','Save','set','stopPropagation','form','reset','arrowup','revisionNameInputView','setTemplate','input','revisionNameInputValue','delegate','220','_createButton','fieldView','locale','focus','trim','cancel','saveButtonView'];(function(_0x118866,_0x1fd075){const _0x32689e=function(_0xbc2a83){while(--_0xbc2a83){_0x118866['push'](_0x118866['shift']());}};_0x32689e(++_0x1fd075);}(_0x1fd0,0xad));const _0x3268=function(_0x118866,_0x1fd075){_0x118866=_0x118866-0x0;let _0x32689e=_0x1fd0[_0x118866];return _0x32689e;};import{ButtonView as _0x38b644,FocusCycler as _0x5e0a93,LabeledFieldView as _0x17a8ed,View as _0x4c7ee3,ViewCollection as _0x3023f3,createLabeledInputText as _0x1c11f8,injectCssTransitionDisabler as _0x498b15,submitHandler as _0x4d68c7}from'ckeditor5/src/ui';import{FocusTracker as _0x25ab90,KeystrokeHandler as _0x407036}from'ckeditor5/src/utils';import{getTranslation as _0x643187}from'../../utils/common-translations';import _0x194997 from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x363aa0 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class gt extends _0x4c7ee3{constructor(_0x2c86f0){super(_0x2c86f0),this[_0x3268('0xc')]=new _0x25ab90(),this[_0x3268('0x28')]=new _0x407036(),this[_0x3268('0xe')]('revisionNameInputValue',''),this[_0x3268('0x13')]=this[_0x3268('0x0')](),this[_0x3268('0x1f')]=this[_0x3268('0x19')](_0x643187(_0x2c86f0,_0x3268('0xd')),_0x194997,'ck-button-save'),this[_0x3268('0x1f')][_0x3268('0x7')]='submit',this['cancelButtonView']=this[_0x3268('0x19')](_0x643187(_0x2c86f0,'Cancel'),_0x363aa0,_0x3268('0x4'),_0x3268('0x1e')),this[_0x3268('0x27')]=new _0x3023f3(),this[_0x3268('0x6')]=new _0x5e0a93({'focusables':this[_0x3268('0x27')],'focusTracker':this[_0x3268('0xc')],'keystrokeHandler':this[_0x3268('0x28')],'actions':{'focusPrevious':_0x3268('0x21'),'focusNext':'tab'}}),this[_0x3268('0x14')]({'tag':_0x3268('0x10'),'attributes':{'class':['ck',_0x3268('0x22'),_0x3268('0x24')],'tabindex':'-1'},'children':[this['revisionNameInputView'],this[_0x3268('0x1f')],this[_0x3268('0x26')]]}),_0x498b15(this);}['render'](){super['render'](),_0x4d68c7({'view':this}),([this['revisionNameInputView'],this[_0x3268('0x1f')],this[_0x3268('0x26')]][_0x3268('0x25')](_0x321681=>{this[_0x3268('0x27')][_0x3268('0x1')](_0x321681),this[_0x3268('0xc')][_0x3268('0x1')](_0x321681[_0x3268('0x8')]);}),this[_0x3268('0x28')][_0x3268('0x3')](this[_0x3268('0x8')]));const _0x2722d1=_0x2a330e=>_0x2a330e[_0x3268('0xf')]();this[_0x3268('0x28')]['set'](_0x3268('0x5'),_0x2722d1),this[_0x3268('0x28')][_0x3268('0xe')]('arrowleft',_0x2722d1),this[_0x3268('0x28')][_0x3268('0xe')](_0x3268('0x12'),_0x2722d1),this[_0x3268('0x28')][_0x3268('0xe')](_0x3268('0xa'),_0x2722d1),this[_0x3268('0x3')](this[_0x3268('0x13')][_0x3268('0x8')],_0x3268('0x2'),(_0x47f8cf,_0x3d592c)=>{_0x3d592c['stopPropagation']();},{'priority':'high'});}[_0x3268('0x1c')](){this[_0x3268('0x6')]['focusFirst']();}get[_0x3268('0xb')](){return this[_0x3268('0x13')][_0x3268('0x1a')][_0x3268('0x8')][_0x3268('0x9')][_0x3268('0x1d')]();}set[_0x3268('0xb')](_0x54839c){this[_0x3268('0x13')][_0x3268('0x1a')][_0x3268('0x8')][_0x3268('0x9')]=_0x54839c[_0x3268('0x1d')]();}[_0x3268('0x11')](){this[_0x3268('0x13')][_0x3268('0x1a')]['element'][_0x3268('0x9')]='';}[_0x3268('0x0')](){const _0x12f8a5=new _0x17a8ed(this['locale'],_0x1c11f8),_0x3e7107=_0x12f8a5[_0x3268('0x1a')];return _0x3e7107[_0x3268('0x23')]({'attributes':{'maxlength':_0x3268('0x18')}}),_0x12f8a5['label']=_0x643187(this[_0x3268('0x1b')],_0x3268('0x20')),_0x3e7107['on'](_0x3268('0x15'),()=>{this[_0x3268('0x16')]=_0x3e7107['element']['value'][_0x3268('0x1d')]();}),_0x12f8a5;}[_0x3268('0x19')](_0x419d6a,_0x55dd8f,_0x29fdc6,_0x29bac1){const _0x4a78b2=new _0x38b644(this['locale']);return _0x4a78b2['set']({'label':_0x419d6a,'icon':_0x55dd8f,'tooltip':!0x0}),_0x4a78b2[_0x3268('0x23')]({'attributes':{'class':_0x29fdc6}}),_0x29bac1&&_0x4a78b2[_0x3268('0x17')]('execute')['to'](this,_0x29bac1),_0x4a78b2;}}
23
+ const _0x49eb=['arrowup','render','focusTracker','cancelButtonView','_createButton','_focusables','execute','submit','add','revisionNameInputValue','element','focusFirst','value','input','selectstart','locale','extendTemplate','ck-button-save','Save','arrowright','form','revisionNameInputView','set','trim','keystrokes','fieldView','220','saveButtonView','label','ck-revision-history-save-revision-form','setTemplate','Name\x20of\x20the\x20revision\x20(optional)','_focusCycler','ck-button-cancel','delegate','forEach','revisionName','type','ck-responsive-form','high','shift\x20+\x20tab','cancel','listenTo'];(function(_0x3be912,_0x49ebb6){const _0xf87123=function(_0x55b015){while(--_0x55b015){_0x3be912['push'](_0x3be912['shift']());}};_0xf87123(++_0x49ebb6);}(_0x49eb,0x15f));const _0xf871=function(_0x3be912,_0x49ebb6){_0x3be912=_0x3be912-0x0;let _0xf87123=_0x49eb[_0x3be912];return _0xf87123;};import{ButtonView as _0x448034,FocusCycler as _0x373833,LabeledFieldView as _0xa498c4,View as _0x38f84a,ViewCollection as _0x3e163d,createLabeledInputText as _0x591946,injectCssTransitionDisabler as _0x47ce00,submitHandler as _0x922eb2}from'ckeditor5/src/ui';import{FocusTracker as _0x183e72,KeystrokeHandler as _0x13bdf2}from'ckeditor5/src/utils';import{getTranslation as _0x5d3736}from'../../utils/common-translations';import _0x4ec74c from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x2924f7 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class gt extends _0x38f84a{constructor(_0xd91f31){super(_0xd91f31),this['focusTracker']=new _0x183e72(),this[_0xf871('0x11')]=new _0x13bdf2(),this['set'](_0xf871('0x2'),''),this[_0xf871('0xe')]=this['_createRevisionNameInput'](),this[_0xf871('0x14')]=this[_0xf871('0x28')](_0x5d3736(_0xd91f31,_0xf871('0xb')),_0x4ec74c,_0xf871('0xa')),this[_0xf871('0x14')][_0xf871('0x1e')]=_0xf871('0x0'),this['cancelButtonView']=this['_createButton'](_0x5d3736(_0xd91f31,'Cancel'),_0x2924f7,_0xf871('0x1a'),_0xf871('0x22')),this['_focusables']=new _0x3e163d(),this['_focusCycler']=new _0x373833({'focusables':this[_0xf871('0x29')],'focusTracker':this[_0xf871('0x26')],'keystrokeHandler':this[_0xf871('0x11')],'actions':{'focusPrevious':_0xf871('0x21'),'focusNext':'tab'}}),this[_0xf871('0x17')]({'tag':_0xf871('0xd'),'attributes':{'class':['ck',_0xf871('0x16'),_0xf871('0x1f')],'tabindex':'-1'},'children':[this[_0xf871('0xe')],this[_0xf871('0x14')],this[_0xf871('0x27')]]}),_0x47ce00(this);}[_0xf871('0x25')](){super[_0xf871('0x25')](),_0x922eb2({'view':this}),([this[_0xf871('0xe')],this[_0xf871('0x14')],this[_0xf871('0x27')]][_0xf871('0x1c')](_0x81280a=>{this[_0xf871('0x29')][_0xf871('0x1')](_0x81280a),this[_0xf871('0x26')][_0xf871('0x1')](_0x81280a['element']);}),this[_0xf871('0x11')][_0xf871('0x23')](this[_0xf871('0x3')]));const _0x23c028=_0x2e1a9a=>_0x2e1a9a['stopPropagation']();this[_0xf871('0x11')]['set'](_0xf871('0xc'),_0x23c028),this[_0xf871('0x11')][_0xf871('0xf')]('arrowleft',_0x23c028),this[_0xf871('0x11')][_0xf871('0xf')](_0xf871('0x24'),_0x23c028),this[_0xf871('0x11')]['set']('arrowdown',_0x23c028),this['listenTo'](this[_0xf871('0xe')]['element'],_0xf871('0x7'),(_0x4cc773,_0x347acc)=>{_0x347acc['stopPropagation']();},{'priority':_0xf871('0x20')});}['focus'](){this[_0xf871('0x19')][_0xf871('0x4')]();}get[_0xf871('0x1d')](){return this[_0xf871('0xe')][_0xf871('0x12')]['element'][_0xf871('0x5')][_0xf871('0x10')]();}set[_0xf871('0x1d')](_0x48a02d){this['revisionNameInputView'][_0xf871('0x12')][_0xf871('0x3')]['value']=_0x48a02d[_0xf871('0x10')]();}['reset'](){this[_0xf871('0xe')][_0xf871('0x12')][_0xf871('0x3')][_0xf871('0x5')]='';}['_createRevisionNameInput'](){const _0x397a41=new _0xa498c4(this[_0xf871('0x8')],_0x591946),_0x7798c6=_0x397a41['fieldView'];return _0x7798c6[_0xf871('0x9')]({'attributes':{'maxlength':_0xf871('0x13')}}),_0x397a41[_0xf871('0x15')]=_0x5d3736(this[_0xf871('0x8')],_0xf871('0x18')),_0x7798c6['on'](_0xf871('0x6'),()=>{this[_0xf871('0x2')]=_0x7798c6[_0xf871('0x3')]['value'][_0xf871('0x10')]();}),_0x397a41;}[_0xf871('0x28')](_0x4b5163,_0xda8fb1,_0x145642,_0x19c4d5){const _0x41d208=new _0x448034(this['locale']);return _0x41d208['set']({'label':_0x4b5163,'icon':_0xda8fb1,'tooltip':!0x0}),_0x41d208[_0xf871('0x9')]({'attributes':{'class':_0x145642}}),_0x19c4d5&&_0x41d208[_0xf871('0x1b')](_0xf871('0x2a'))['to'](this,_0x19c4d5),_0x41d208;}}