@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231102.0 → 0.0.0-nightly-20231104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/LICENSE.md +3 -3
  2. package/build/revision-history.js +1 -1
  3. package/package.json +6 -6
  4. package/src/changeitem.js +1 -1
  5. package/src/editor/revisionviewereditor.js +1 -1
  6. package/src/editor/revisionviewereditorui.js +1 -1
  7. package/src/editor/revisionviewereditoruiview.js +1 -1
  8. package/src/revision.js +1 -1
  9. package/src/revisiondiff.js +1 -1
  10. package/src/revisionhistory.js +1 -1
  11. package/src/revisionsrepository.js +1 -1
  12. package/src/revisiontracker.js +1 -1
  13. package/src/revisionviewer.js +1 -1
  14. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  15. package/src/ui/revision/revisionauthorview.js +1 -1
  16. package/src/ui/revision/revisionnameview.js +1 -1
  17. package/src/ui/revision/revisionview.js +1 -1
  18. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  19. package/src/ui/revision/subrevisionview.js +1 -1
  20. package/src/ui/revision/utils.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  22. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  26. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  27. package/src/ui/revisionssidebar/utils.js +1 -1
  28. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  29. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  31. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  32. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49ed=['removeMarker','WidgetToolbarRepository','_cleanUp','diff','_setConversion','parent','revision-start','getWalker','unshift','createPositionBefore','_findChangeIdFromDomTarget','isLimit','-new','ck-suggestion-preview-marker-','changes','changeId','span','_removeUnsupportedChanges','view','shift','bindElementToMarker','isAtStart','loadRevisionData','toViewRange','isAtEnd','forEach','viewItem','useFillerType','collaboration.channelId','_markMismatchedRemovedTags','ck-revision-history-root--active','vid','end','isAttached','_cleanMarkers','setAttribute','splice','dataDowncast','addMarker:revision-suggestion:insertion','roots','set','addMarker:revision','revisionHistory','addRevision','addHighlight','catch','revision:','then','_makeModelFromTape','attributesAfter','default','children','locale','isOnRoot','upcast','getRevision','processor','change:activeView','nextSibling','isRemoveSuggestion','isReady','flat','wrap','revision-comment:','deletions','rootName','change','softBreak','distance','selection','isAdded','attachChange','schema','config','_changeIdToChange','detachRoot','endIndex','revision-suggestion','_removeMissingPairs','_getRevisionsRange','model','removeAttribute','backward','plugins','enqueueChange','editing','_markMarkers','ck-suggestion-marker','findIndex','showNextChange','_step','activeChange','createRevision','markersStart','removeMarker:revision','revisionHistoryAttachChange','error','marked','next','high','domEvent','_appendChild','_joinTapes','markerToHighlight','test','ck-revision-history-root-','level','delete','indexOf','showStack','numberOfChanges','bottom','resolve','_setChanges','ck-editor__editable__overlay','conversion','editingDowncast','insertions','createPositionFromPath','markerRange','low','addRoot','restoreRevision','_markInsertions','includes','oldRevisionId','isIncorrect','_removeRevisionMarkers','elementToAttribute','elementStart','pluginName','_getDiff','ck-suggestion-marker-split','string','from','markerName','ck-suggestion-marker--active','mapper','repository','element','init','document','isEnabled','modelRange','maxOffset','element:pre','RevisionViewer','suggestion:','isNavigationMode','change:isReady','_refreshStartEndIndex','uiElement','sort','editor','data-revision-','elementEnd','highest','listenTo','insertion','concat','ck-suggestion-marker-merge','getDomRoot','filter','newRevisionId','length','commands','isEqual','parse','ck-suggestion-preview-marker','vid_start','getRootNames','getAttribute','affectsData','right','isSuggestion','item','markerToData','showPreviousChange','_threeWayMerge','merge','isBefore','_activeViewTarget','execute','consume','remove','nextPosition','_update','createUIElement','range','attribute:vid','markersEnd','_getViewObj','_getChangeFromId','downcastDispatcher','_sortAndFilterDiffChanges','name','checkAttribute','left','get','reconvertMarker','start','data','_makeTape','getRoot','addClass','object','change:numberOfChanges','vid_end','startsWith','_markSuggestions','toModel','pairId','markers','ck-revision-history-root-add','adapter','ck-revision-history-root-remove','getClientRects','ck-suggestion-marker-','refresh','observeMarkers','removeMarker:revision-suggestion','_getViewForChange','has','_data','toViewPosition','_processTape','hasClass','forceDisabled','keys','bind','RevisionsRepository','type','map','isBlock','for','_initInteractions','getAttributes','dataToMarker','getIndex','hasAttribute','enableReadOnlyMode','target','isAddSuggestion','nodeAfter','createRangeIn','createRange','insert','_balloon','isCollapsed','startIndex','toViewElement','change:isEnabled','split','userId','toData','getCustomProperty','slice','text','getChild','activeView','side','code','isRemoved','offsetSize','destroy','add','previousPosition','addMarker:revision-suggestion:deletion','markerNameToElements','currentChangeNumber','_setDistance','diffData','revision-end','revision-viewer','top','compare','clear','revision','getRevisionRootsAttributes','_changeView','restoreRevisionCallback','_fixObsoleteTags','unbindElementFromMarkerName','abs','removeClass','_revisions','deletion','isAfter','index','isObject','attributes','revisionHistoryLabel','consumable','writer','data-change-id','push','revision-suggestion:'];(function(_0x189262,_0x49ed23){const _0xf120c6=function(_0x4017f1){while(--_0x4017f1){_0x189262['push'](_0x189262['shift']());}};_0xf120c6(++_0x49ed23);}(_0x49ed,0x6a));const _0xf120=function(_0x189262,_0x49ed23){_0x189262=_0x189262-0x0;let _0xf120c6=_0x49ed[_0x189262];return _0xf120c6;};import{Plugin as _0x2f68aa,Command as _0x3c975e}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x3ffbc9}from'ckeditor5/src/utils';import{ContextualBalloon as _0x42c6be}from'ckeditor5/src/ui';import{DocumentFragment as _0x53359b,Element as _0x5d140e,Text as _0x57d44f,ViewDocumentFragment as _0x1df723,ViewText as _0x55826c,ViewElement as _0xc740e4,ViewContainerElement as _0x186255,ViewAttributeElement as _0x5f2ed2,ViewEmptyElement as _0x349638,ViewRawElement as _0x479f5d,ViewUIElement as _0x413bb0}from'ckeditor5/src/engine';import{Users as _0xe464f2,getMarkerDomElement as _0x511d68}from'ckeditor5-collaboration/src/collaboration-core';import _0x2b76d4 from'./ui/revisionviewer/changedetailsview';import _0x2db0e2 from'./revisionsrepository';import _0x2ea2e6 from'./changeitem';import{default as _0x578411}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0x473e16}from'lodash-es';const tt={'c':_0x186255,'a':_0x5f2ed2,'e':_0x349638,'r':_0x479f5d,'u':_0x413bb0};export default class d extends _0x2f68aa{static get[_0xf120('0x18')](){return _0xf120('0x28');}static get['requires'](){return[_0xe464f2,_0x42c6be,_0x2db0e2];}constructor(_0x3d142e){super(_0x3d142e),this[_0xf120('0x20')]=this['editor'][_0xf120('0x112')][_0xf120('0x5c')](_0xf120('0x7c')),this[_0xf120('0xe7')](_0xf120('0x11a'),null),this[_0xf120('0xe7')](_0xf120('0x99'),null),this[_0xf120('0x4b')]=null,this[_0xf120('0xe7')]('diff',null),this[_0xf120('0xe7')](_0xf120('0xfb'),!0x1),this['set'](_0xf120('0x24'),!0x0),this['on'](_0xf120('0x91'),(_0x1d5c12,_0x26215d,_0x3a3f64)=>{this[_0xf120('0x11a')]=null,this[_0xf120('0x99')]=null,this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0xd1')][_0xf120('0x101')](_0x3bacc4=>{for(const _0x4f532a of this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0xd1')]['document'][_0xf120('0xe6')])_0x3a3f64?_0x3bacc4[_0xf120('0xb2')](_0xf120('0x8'),_0x4f532a):_0x3bacc4[_0xf120('0x62')](_0xf120('0x8'),_0x4f532a);});}),this[_0xf120('0x7b')](_0xf120('0x2a'))['to'](this,_0xf120('0x11a'),_0x5b4a5e=>null!==_0x5b4a5e),this[_0xf120('0x7b')](_0xf120('0xa3'))['to'](this,'isReady',this,_0xf120('0xc2'),this,'activeChange',(_0x420e8a,_0x1b4a78,_0x1d5248)=>_0x420e8a&&_0x1d5248?_0x1b4a78[_0xf120('0xcd')][_0xf120('0x84')](_0x1d5248):0x0),this[_0xf120('0x7b')](_0xf120('0x4'))['to'](this,'isReady',this,_0xf120('0xc2'),(_0x23240b,_0x4683e5)=>_0x23240b?_0x4683e5[_0xf120('0xcd')]['length']:0x0),this[_0xf120('0xad')]=null,this[_0xf120('0x109')]=new Map(),this[_0xf120('0x6c')]=null,this[_0xf120('0x8d')]=this[_0xf120('0x2f')][_0xf120('0x112')]['get'](_0x42c6be);}[_0xf120('0x22')](){const _0x330243=this[_0xf120('0x2f')],_0x15d202=new ShowChangeCommand(_0x330243,{'direction':_0xf120('0x111')}),_0x321e69=new ShowChangeCommand(_0x330243,{'direction':'forward'});(_0x330243[_0xf120('0x3b')]['add'](_0xf120('0x47'),_0x15d202),_0x330243[_0xf120('0x3b')][_0xf120('0x9f')](_0xf120('0x118'),_0x321e69),_0x330243[_0xf120('0x3b')][_0xf120('0x9f')](_0xf120('0x10'),new RestoreRevisionCommand(_0x330243)),this['on'](_0xf120('0x64'),()=>{_0x15d202[_0xf120('0x70')](),_0x321e69['refresh']();}),this[_0xf120('0xc3')](),this[_0xf120('0x81')](),_0x330243[_0xf120('0x86')]('revision-viewer'),_0x330243['plugins']['has'](_0xf120('0xc0')))&&_0x330243[_0xf120('0x112')][_0xf120('0x5c')](_0xf120('0xc0'))[_0xf120('0x79')](_0xf120('0xa7'));}async['getRevisionData'](_0x22ff42){await this[_0xf120('0xd5')](_0x22ff42);const _0x182103={};for(const _0x1fc975 in _0x22ff42[_0xf120('0xa5')]){if(_0x22ff42['diffData'][_0x1fc975][_0xf120('0x106')]&&!_0x22ff42[_0xf120('0xa5')][_0x1fc975][_0xf120('0x106')][_0xf120('0xe0')])continue;const _0x8b3b2c=this[_0xf120('0x15')](JSON[_0xf120('0x3d')](_0x22ff42['diffData'][_0x1fc975]['insertions'])),_0x2e91aa=this[_0xf120('0x2f')][_0xf120('0x114')]['view']['document'],_0x3dae12=new _0x1df723(_0x2e91aa,_0x8b3b2c[_0xf120('0x7e')](_0x23b4e4=>this[_0xf120('0x55')](_0x23b4e4)));this[_0xf120('0x2f')][_0xf120('0x5f')][_0xf120('0xf7')]['useFillerType'](_0xf120('0x120')),_0x182103[_0x1fc975]=this[_0xf120('0x2f')]['data'][_0xf120('0xf7')][_0xf120('0x94')](_0x3dae12),this[_0xf120('0x2f')][_0xf120('0x5f')][_0xf120('0xf7')][_0xf120('0xda')](_0xf120('0xf1'));}return _0x182103;}async[_0xf120('0xac')](_0x3668e0){await this[_0xf120('0xd5')](_0x3668e0);const _0xfe4e3d={};for(const _0x7e7e3 in _0x3668e0[_0xf120('0xa5')])_0x3668e0[_0xf120('0xa5')][_0x7e7e3][_0xf120('0x106')]&&!_0x3668e0['diffData'][_0x7e7e3][_0xf120('0x106')][_0xf120('0xe0')]||(_0xfe4e3d[_0x7e7e3]=_0x3668e0['diffData'][_0x7e7e3][_0xf120('0xf0')]||{});return _0xfe4e3d;}[_0xf120('0x15')](_0x1b1b4c){return(_0x1b1b4c=_0x1b1b4c[_0xf120('0x38')](_0x3ebe2a=>!_0x3ebe2a[_0xf120('0x59')]||_0xf120('0xc5')!==_0x3ebe2a[_0xf120('0x59')]&&_0xf120('0xa6')!==_0x3ebe2a[_0xf120('0x59')]))[_0xf120('0xd8')](_0x48a71a=>{'string'!=typeof _0x48a71a&&(_0x48a71a[_0xf120('0xf2')]=this['_removeRevisionMarkers'](_0x48a71a['children']),_0x48a71a['attributes']=_0x48a71a[_0xf120('0xb8')][_0xf120('0x38')](_0x30f1da=>!_0x30f1da[0x0]['startsWith'](_0xf120('0x30'))));}),_0x1b1b4c;}async[_0xf120('0xa9')](_0xf29883,_0x1cb1aa,_0x239a7e=!0x1){if(!this[_0xf120('0x24')])return;const _0x38fe0e=this[_0xf120('0xc2')],_0x5c9ace=this[_0xf120('0x20')],_0x5f1b31=_0xf120('0x1b')==typeof _0xf29883?_0x5c9ace[_0xf120('0xf6')](_0xf29883):_0xf29883,_0x1667c2=_0xf120('0x1b')==typeof _0x1cb1aa?_0x5c9ace[_0xf120('0xf6')](_0x1cb1aa):_0x1cb1aa,_0x3be5cb=_0x5f1b31['id'],_0x3258d3=_0x1667c2?_0x1667c2['id']:null;if(!_0x239a7e&&this[_0xf120('0xc2')]&&this['diff'][_0xf120('0x39')]===_0x3be5cb&&this[_0xf120('0xc2')][_0xf120('0x13')]===_0x3258d3)return Promise[_0xf120('0x6')]();this[_0xf120('0xfb')]=!0x1,this['activeView']=null,this['activeChange']=null,this[_0xf120('0xc2')]=new _0x578411(_0x3be5cb,_0x3258d3);const _0xa417fd=this[_0xf120('0x10e')](_0x5f1b31,_0x1667c2,!0x0)['map'](_0x3a98ce=>this[_0xf120('0xd5')](_0x3a98ce));return _0xa417fd[_0xf120('0xbd')](new Promise(_0x3ef857=>{setTimeout(_0x3ef857,0x14);})),Promise['all'](_0xa417fd)[_0xf120('0xee')](()=>{if(!this[_0xf120('0x24')])return;this['_cleanUp']();const _0x1f9522=this[_0xf120('0x19')](_0x3be5cb,_0x3258d3);for(const _0x2c067d of _0x1f9522['changes'])this[_0xf120('0x109')][_0xf120('0xe7')](_0x2c067d['id'],_0x2c067d);this[_0xf120('0x2f')]['model'][_0xf120('0x113')]({'isUndoable':!0x1},_0x5b2f99=>{for(const _0x3a5852 of this['editor']['model'][_0xf120('0x23')][_0xf120('0x40')]())_0x5b2f99['detachRoot'](_0x3a5852);for(const _0x1d9386 of Object[_0xf120('0x7a')](_0x1f9522[_0xf120('0x10f')])){const _0x2487ec=_0x5b2f99[_0xf120('0xf')](_0x1d9386);for(const _0xa7cd57 of Object[_0xf120('0x7a')](_0x1f9522[_0xf120('0xb8')][_0x1d9386]))_0x5b2f99[_0xf120('0xe2')](_0xa7cd57,_0x1f9522['attributes'][_0x1d9386][_0xa7cd57],_0x2487ec);_0x5b2f99[_0xf120('0x8c')](_0x1f9522[_0xf120('0x10f')][_0x1d9386],_0x2487ec,0x0);}}),this[_0xf120('0xc2')][_0xf120('0x7')](this[_0xf120('0x58')](_0x1f9522[_0xf120('0xcd')])),this[_0xf120('0xfb')]=!0x0;})[_0xf120('0xec')](_0x4532eb=>{console[_0xf120('0x11f')](_0x4532eb),this['_cleanUp'](),_0x38fe0e&&(this[_0xf120('0xc2')]=_0x38fe0e),this[_0xf120('0xfb')]=!0x0;});}['addRevisionData'](_0x245bf2,_0x5c6886){const _0x1eef60=this[_0xf120('0x20')][_0xf120('0x11b')](_0x245bf2);return _0x1eef60['on']('_update',(_0x19031c,_0x5596c1,_0x514058)=>_0x5c6886(_0x5596c1,_0x514058,_0x1eef60)),this[_0xf120('0x20')][_0xf120('0xea')](_0x1eef60),_0x1eef60;}[_0xf120('0xd5')](_0x46ae18){if(!_0x46ae18||_0x46ae18[_0xf120('0xa5')])return Promise[_0xf120('0x6')]();{const _0x52932a=this['editor'][_0xf120('0x108')][_0xf120('0x5c')](_0xf120('0xdb'));return this[_0xf120('0x6c')]['getRevision']({'channelId':_0x52932a,'revisionId':_0x46ae18['id']})[_0xf120('0xee')](_0x367868=>{_0x46ae18[_0xf120('0x50')]({'diffData':_0x367868[_0xf120('0xa5')]},!0x0);});}}[_0xf120('0xc1')](){this['activeChange']=null,this['_cleanMarkers'](),this[_0xf120('0xad')]&&this[_0xf120('0xad')]['destroy'](),this[_0xf120('0xad')]=null,this[_0xf120('0x109')][_0xf120('0xaa')](),this[_0xf120('0x2f')][_0xf120('0x10f')]['enqueueChange']({'isUndoable':!0x1},_0x260717=>{for(const _0x385b6f of this[_0xf120('0x2f')][_0xf120('0x10f')][_0xf120('0x23')][_0xf120('0x40')]())_0x260717[_0xf120('0x10a')](_0x385b6f);});}[_0xf120('0x58')](_0x13bb78){const _0x1132ca=[],_0x184fcf=new Map();for(const _0x563098 of this[_0xf120('0x2f')][_0xf120('0x10f')][_0xf120('0x23')]['getRootNames']()){const _0x58c444=this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0xd1')][_0xf120('0x37')](_0x563098);if(!_0x58c444)continue;const _0x1bd72f=_0x58c444['getClientRects']()['item'](0x0);_0x1bd72f&&(_0x1132ca[_0xf120('0xbd')](_0x563098),_0x184fcf['set'](_0x563098,_0x1bd72f));}return _0x1132ca[_0xf120('0x2e')]((_0x17ba38,_0x576562)=>{const _0x483401=_0x184fcf[_0xf120('0x5c')](_0x17ba38),_0x389e84=_0x184fcf[_0xf120('0x5c')](_0x576562);return _0x483401['y']-_0x389e84['y']||_0x483401['x']-_0x389e84['x'];}),(_0x13bb78=_0x13bb78['filter'](_0x1b2936=>_0x1132ca[_0xf120('0x12')](_0x1b2936[_0xf120('0x100')])))[_0xf120('0x2e')]((_0x432f4b,_0x43e128)=>_0x1132ca[_0xf120('0x2')](_0x432f4b[_0xf120('0x100')])-_0x1132ca[_0xf120('0x2')](_0x43e128[_0xf120('0x100')])),_0x13bb78;}[_0xf120('0x60')](_0x2eb8a9){const _0x38da59=Array[_0xf120('0x1c')](_0x2eb8a9[_0xf120('0x6a')])[_0xf120('0x38')](([_0xb96de4,_0x2b8701])=>_0xb96de4[_0xf120('0x66')](_0xf120('0xed'))&&!_0x2b8701[_0xf120('0x8e')]),_0x44bbbc=Array[_0xf120('0x1c')](this['editor'][_0xf120('0x10f')][_0xf120('0x8a')](_0x2eb8a9)[_0xf120('0xc6')]({'singleCharacters':!0x0}));if(0x0!=_0x38da59[_0xf120('0x3a')])for(const _0x11fa00 of _0x44bbbc){const [_0x44dde9,_0x5ed598]=_0x38da59[0x0],[,_0x48c922,_0x4b6125]=_0x44dde9[_0xf120('0x92')](':');if(_0x5ed598[_0xf120('0xdf')][_0xf120('0x3c')](_0x11fa00[_0xf120('0x4f')])&&_0x38da59['shift'](),(_0x11fa00[_0xf120('0xa0')][_0xf120('0x3c')](_0x5ed598[_0xf120('0x5e')])||_0x11fa00['previousPosition'][_0xf120('0xb5')](_0x5ed598[_0xf120('0x5e')]))&&('insertion'==_0x48c922?_0x11fa00[_0xf120('0x105')]={'userId':_0x4b6125}:_0xf120('0xb4')==_0x48c922&&(_0x11fa00['isRemoved']={'userId':_0x4b6125})),0x0==_0x38da59[_0xf120('0x3a')])break;}return _0x44bbbc;}['_refreshStartEndIndex'](_0x569ffe){const _0x2881f6=new Map();for(let _0x47e8ac=0x0;_0x47e8ac<_0x569ffe[_0xf120('0x3a')];_0x47e8ac++)_0xf120('0x97')===_0x569ffe[_0x47e8ac][_0xf120('0x7d')]?(_0x569ffe[_0x47e8ac]['item'][_0xf120('0x8f')]=_0x47e8ac,_0x569ffe[_0x47e8ac][_0xf120('0x45')][_0xf120('0x10b')]=_0x47e8ac):(_0xf120('0x17')===_0x569ffe[_0x47e8ac][_0xf120('0x7d')]?_0x569ffe[_0x47e8ac][_0xf120('0x45')][_0xf120('0x8f')]=_0x47e8ac:_0xf120('0x31')===_0x569ffe[_0x47e8ac][_0xf120('0x7d')]&&(_0x569ffe[_0x47e8ac]['item'][_0xf120('0x10b')]=_0x47e8ac),_0x2881f6['set'](_0x569ffe[_0x47e8ac]['id'],_0x47e8ac));for(const _0x568c32 of _0x2881f6['values']())_0xf120('0x17')===_0x569ffe[_0x568c32][_0xf120('0x7d')]?_0x569ffe[_0x568c32][_0xf120('0x45')]['endIndex']=_0x2881f6[_0xf120('0x5c')](_0x569ffe[_0x568c32][_0xf120('0x69')]):_0xf120('0x31')===_0x569ffe[_0x568c32][_0xf120('0x7d')]&&(_0x569ffe[_0x568c32][_0xf120('0x45')]['startIndex']=_0x2881f6[_0xf120('0x5c')](_0x569ffe[_0x568c32]['pairId']));}[_0xf120('0x77')](_0x26a90a){for(let _0x54a890=0x0;_0x54a890<_0x26a90a['length'];_0x54a890++){if(_0xf120('0x17')===_0x26a90a[_0x54a890][_0xf120('0x7d')])_0x26a90a[_0x54a890][_0xf120('0x45')][_0xf120('0x8f')]=_0x54a890;else{if('elementEnd'===_0x26a90a[_0x54a890]['type']){_0x26a90a[_0x54a890][_0xf120('0x45')][_0xf120('0x10b')]=_0x54a890;const _0x411781=_0x26a90a[_0x54a890][_0xf120('0x45')][_0xf120('0x8f')];_0x26a90a[_0x411781]['pairId']=_0x26a90a[_0x54a890]['id'],_0x26a90a[_0x54a890]['pairId']=_0x26a90a[_0x411781]['id'];}else _0x26a90a[_0x54a890][_0xf120('0x45')]['startIndex']=_0x54a890,_0x26a90a[_0x54a890]['item'][_0xf120('0x10b')]=_0x54a890,_0x26a90a[_0x54a890][_0xf120('0x69')]=null;}_0x26a90a[_0x54a890]['markersStart']||(_0x26a90a[_0x54a890][_0xf120('0x11c')]=[],_0x26a90a[_0x54a890][_0xf120('0x54')]=[]);}}[_0xf120('0x11')](_0x581302,_0x362f5c){const _0x41e368=_0x581302[_0xf120('0x38')](_0x5f3293=>!_0x5f3293[_0xf120('0x105')]);for(let _0x1857e8=0x0;_0x1857e8<_0x362f5c[_0xf120('0x3a')];_0x1857e8++)_0x362f5c[_0x1857e8]['isAdded']&&(_0x41e368[_0x1857e8][_0xf120('0x105')]=_0x362f5c[_0x1857e8][_0xf120('0x105')]);}['_makeModelFromViewString'](_0x3f89e9){const _0x54d3a1=JSON[_0xf120('0x3d')](_0x3f89e9),_0x3da477=this['editor'][_0xf120('0x114')][_0xf120('0xd1')][_0xf120('0x23')],_0x2f4573=new _0x1df723(_0x3da477,_0x54d3a1[_0xf120('0x7e')](_0x30bba4=>this[_0xf120('0x55')](_0x30bba4)));return this[_0xf120('0x2f')][_0xf120('0x5f')][_0xf120('0x68')](_0x2f4573);}['_getViewObj'](_0x2e5637){const _0x23aa56=this[_0xf120('0x2f')][_0xf120('0x114')]['view'][_0xf120('0x23')];if(_0xf120('0x1b')==typeof _0x2e5637)return new _0x55826c(_0x23aa56,_0x2e5637);{const _0x36511e=_0x2e5637[_0xf120('0xf2')][_0xf120('0x7e')](_0x1275b9=>this['_getViewObj'](_0x1275b9));return new(tt[_0x2e5637[(_0xf120('0x7d'))]]||_0xc740e4)(_0x23aa56,_0x2e5637[_0xf120('0x59')],_0x2e5637[_0xf120('0xb8')],_0x36511e);}}[_0xf120('0x19')](_0x327084,_0x2f24f1=null){const _0x16d781=this[_0xf120('0x20')]['getRevision'](_0x327084),_0x35bb62=_0x2f24f1?this[_0xf120('0x20')][_0xf120('0xf6')](_0x2f24f1):null,_0x4c5e36=this[_0xf120('0x10e')](_0x16d781,_0x35bb62),_0xce3238=_0x4c5e36[_0x4c5e36[_0xf120('0x3a')]-0x1],_0x4072c6=new Map(),_0x3e72d9={'model':{},'attributes':{},'changes':[]},_0x35c39f=new Set(),_0x430fb2=new Map();for(let _0x288d31=_0x4c5e36['length']-0x1;_0x288d31>=0x0;_0x288d31--){const _0x35adf9=_0x4c5e36[_0x288d31];for(const _0x27ec34 of Object[_0xf120('0x7a')](_0x35adf9[_0xf120('0xa5')]))if(_0x35adf9[_0xf120('0xa5')][_0x27ec34][_0xf120('0x106')]){const _0x1d2e39=_0x35adf9[_0xf120('0xa5')][_0x27ec34]['attachChange'];_0x1d2e39['isAttached']?(_0x35c39f[_0xf120('0x9f')](_0x27ec34),_0x430fb2[_0xf120('0x74')](_0x27ec34)&&_0x430fb2[_0xf120('0x5c')](_0x27ec34)[_0xf120('0x93')]==_0x1d2e39[_0xf120('0x93')]?_0x430fb2[_0xf120('0x1')](_0x27ec34):_0x430fb2[_0xf120('0xe7')](_0x27ec34,_0x1d2e39)):_0x430fb2[_0xf120('0x74')](_0x27ec34)?(_0x35c39f['delete'](_0x27ec34),_0x430fb2[_0xf120('0x1')](_0x27ec34)):(_0x35c39f[_0xf120('0x9f')](_0x27ec34),_0x430fb2[_0xf120('0xe7')](_0x27ec34,_0x1d2e39));}else _0x35c39f[_0xf120('0x9f')](_0x27ec34);}for(const _0x39ae1f of _0x35c39f){const _0x41f711=_0x430fb2['has'](_0x39ae1f)&&!_0x430fb2[_0xf120('0x5c')](_0x39ae1f)['isAttached'];let _0x45de3b=_0x41f711?_0x4c5e36[_0xf120('0x3a')]-0x1:0x0;const _0x2a2489=_0x41f711?-0x1:0x1;for(;_0x4c5e36[_0x45de3b];){const _0x271b18=_0x4c5e36[_0x45de3b];if(_0x271b18[_0xf120('0xa5')][_0x39ae1f]){const _0x17604b=_0x41f711?_0x271b18[_0xf120('0xa5')][_0x39ae1f]['attributesBefore']:_0x271b18[_0xf120('0xa5')][_0x39ae1f][_0xf120('0xf0')];_0x3e72d9[_0xf120('0xb8')][_0x39ae1f]=_0x17604b?_0x473e16(_0x17604b):{};break;}_0x45de3b+=_0x2a2489;}}for(const _0x321941 of _0x4c5e36){_0x321941[_0xf120('0x10f')]={};for(const _0x4b1afd of _0x321941['authors'])_0x4072c6['set'](_0x4b1afd['id'],_0x4b1afd);for(const _0x2fb298 of _0x35c39f){const _0x1d5643=_0x321941[_0xf120('0xa5')][_0x2fb298]?_0x321941[_0xf120('0xa5')][_0x2fb298][_0xf120('0xb')]:'[]',_0x4ef0d0=_0x321941[_0xf120('0xa5')][_0x2fb298]?_0x321941[_0xf120('0xa5')][_0x2fb298][_0xf120('0xff')]:'[]';_0x321941[_0xf120('0x10f')][_0x2fb298]={'insertions':this['_makeModelFromViewString'](_0x1d5643),'deletions':this['_makeModelFromViewString'](_0x4ef0d0)};}}for(const _0x3a84e1 of _0x35c39f){let _0x4dbebc=null,_0x2f817d=0x0;const _0x5a8ddb=new Map(Array[_0xf120('0x1c')](_0x16d781['model'][_0x3a84e1][_0xf120('0xb')]['markers'])['filter'](([_0x318e81])=>!_0x318e81[_0xf120('0x66')](_0xf120('0xed'))));let _0x54fd79=0x0;for(const _0x5991da of _0x4c5e36){const _0x30c045=this[_0xf120('0x60')](_0x5991da['model'][_0x3a84e1][_0xf120('0xb')]);_0x5991da==_0x16d781?(_0x4dbebc=_0x30c045,_0x2f817d=_0x4dbebc[_0xf120('0x3a')],_0x4dbebc[_0xf120('0xd8')](_0x44b4f5=>{_0x44b4f5['id']=_0x54fd79++;}),this['_processTape'](_0x4dbebc)):this[_0xf120('0x11')](_0x4dbebc,_0x30c045);const _0x4db565=_0x4dbebc[_0xf120('0x38')](_0x1cd6b5=>!_0x1cd6b5[_0xf120('0x105')])[_0xf120('0x7e')](_0x517a87=>_0x517a87['id']);let _0x41d80a=0x0;const _0x54ed0c=this[_0xf120('0x60')](_0x5991da[_0xf120('0x10f')][_0x3a84e1][_0xf120('0xff')]);_0x54ed0c[_0xf120('0xd8')](_0x2e27fa=>{_0x2e27fa[_0xf120('0x9c')]?_0x2e27fa['id']=_0x2f817d++:_0x2e27fa['id']=_0x4db565[_0x41d80a++];}),this[_0xf120('0x77')](_0x54ed0c),this[_0xf120('0xa4')](_0x4dbebc,_0xf120('0x105')),this[_0xf120('0xa4')](_0x54ed0c,'isRemoved'),_0x5991da==_0x16d781&&this[_0xf120('0x115')](_0x4dbebc,_0x5a8ddb),_0x4dbebc=this[_0xf120('0x125')](_0x4dbebc,_0x54ed0c),this[_0xf120('0x2c')](_0x4dbebc),this['_setDistance'](_0x4dbebc,_0xf120('0x9c'));}_0x4dbebc=_0x4dbebc['filter'](_0x55f57d=>!(_0x55f57d[_0xf120('0x105')]&&_0x55f57d[_0xf120('0x9c')]));const _0x18333f=new Map(_0xce3238['model'][_0x3a84e1]['deletions'][_0xf120('0x6a')]),_0x4d5dfc=new Set(_0x5a8ddb[_0xf120('0x7a')]());for(const _0x45b21 of _0x18333f['keys']())_0x4d5dfc[_0xf120('0x1')](_0x45b21);this[_0xf120('0x67')](_0x4dbebc,_0x4d5dfc),this[_0xf120('0xaf')](_0x4dbebc),_0x4dbebc=this[_0xf120('0x10d')](_0x4dbebc),_0x4dbebc=this[_0xf120('0xdc')](_0x4dbebc),_0x4dbebc=this[_0xf120('0xd0')](_0x4dbebc);const {root:_0x4faa34,changes:_0x5684c7}=this['_makeModelFromTape'](_0x4dbebc,_0x4072c6,_0x3a84e1);_0x3e72d9['model'][_0x3a84e1]=_0x4faa34;const _0xeebc6f=_0x430fb2['get'](_0x3a84e1);if(_0xeebc6f){const _0x559623=_0x4072c6['get'](_0xeebc6f['userId']),_0x1f6ff4=new _0x2ea2e6({'author':_0x559623,'type':_0xeebc6f[_0xf120('0xe0')]?_0xf120('0x9f'):_0xf120('0x4e'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3a84e1});_0x5684c7[_0xf120('0xc7')](_0x1f6ff4),_0x3e72d9['attributes'][_0x3a84e1][_0xf120('0x11e')]=_0x1f6ff4['id'];}_0x3e72d9['changes']=_0x3e72d9[_0xf120('0xcd')]['concat'](_0x5684c7);}return _0x3e72d9;}['_markMarkers'](_0x24b14c,_0x9b023a){for(let _0x120eeb=0x0;_0x120eeb<_0x24b14c[_0xf120('0x3a')];_0x120eeb++)for(const [_0x43aa39,_0x38726a]of _0x9b023a)_0x38726a[_0xf120('0x5e')]['isEqual'](_0x24b14c[_0x120eeb]['previousPosition'])&&_0x24b14c[_0x120eeb]['markersStart'][_0xf120('0xbd')](_0x43aa39),_0x38726a[_0xf120('0xdf')]['isEqual'](_0x24b14c[_0x120eeb][_0xf120('0x4f')])&&_0x24b14c[_0x120eeb][_0xf120('0x54')][_0xf120('0xbd')](_0x43aa39);}[_0xf120('0x125')](_0xa044fb,_0x50236e){let _0xe41d78=[],_0x23e7c0=0x0,_0x2acc91=0x0;for(;_0x23e7c0<_0xa044fb['length']||_0x2acc91<_0x50236e[_0xf120('0x3a')];){const _0x5ab46e=_0xa044fb[_0x23e7c0]||{},_0x1f4c24=_0x50236e[_0x2acc91]||{};if(_0x5ab46e['id']==_0x1f4c24['id'])_0x23e7c0++,_0x2acc91++,_0xe41d78[_0xf120('0xbd')](_0x5ab46e);else{if(_0x1f4c24[_0xf120('0x9c')]&&_0x5ab46e['isAdded']){const {commonTape:_0x2a2a11,iEnd:_0x329bf5,jEnd:_0x16c283}=this[_0xf120('0x48')](_0xa044fb,_0x23e7c0,_0x50236e,_0x2acc91);_0xe41d78=_0xe41d78[_0xf120('0x35')](_0x2a2a11),_0x23e7c0=_0x329bf5,_0x2acc91=_0x16c283;}else _0x1f4c24[_0xf120('0x9c')]?(_0x2acc91++,_0xe41d78[_0xf120('0xbd')](_0x1f4c24)):(_0x23e7c0++,_0xe41d78[_0xf120('0xbd')](_0x5ab46e));}}return _0xe41d78;}['_markSuggestions'](_0x1b561c,_0x5b4a26){const _0x3520f0=[];for(let _0x438984=0x0;_0x438984<_0x1b561c[_0xf120('0x3a')];_0x438984++){for(let _0x391f90=0x0;_0x391f90<_0x1b561c[_0x438984][_0xf120('0x11c')]['length'];_0x391f90++){const _0x367650=_0x1b561c[_0x438984][_0xf120('0x11c')][_0x391f90];if(!_0x5b4a26['has'](_0x367650))continue;const {group:_0x46e220,type:_0xda20a3,authorId:_0x3b5572}=_0x16a8de(_0x367650);'revision-suggestion'!=_0x46e220||_0xf120('0x34')!=_0xda20a3&&'deletion'!=_0xda20a3||(_0x3520f0[_0xf120('0xc7')]({'type':_0xda20a3,'name':_0x367650,'userId':_0x3b5572}),_0x1b561c[_0x438984][_0xf120('0x11c')][_0xf120('0xe3')](_0x391f90,0x1),_0x391f90--);}_0x54b474(_0x1b561c[_0x438984]);for(let _0x2270da=0x0;_0x2270da<_0x1b561c[_0x438984][_0xf120('0x54')][_0xf120('0x3a')];_0x2270da++){const _0x5ddb6e=_0x1b561c[_0x438984][_0xf120('0x54')][_0x2270da];if(!_0x5b4a26['has'](_0x5ddb6e))continue;const {group:_0x1f83a4,type:_0x340f04}=_0x16a8de(_0x5ddb6e);if(_0xf120('0x10c')!=_0x1f83a4||_0xf120('0x34')!=_0x340f04&&_0xf120('0xb4')!=_0x340f04)continue;_0x1b561c[_0x438984][_0xf120('0x54')]['splice'](_0x2270da,0x1),_0x2270da--;const _0x2c3906=_0x3520f0[_0xf120('0x117')](_0x9dcdb=>_0x9dcdb['name']==_0x5ddb6e);_0x2c3906>-0x1&&_0x3520f0[_0xf120('0xe3')](_0x2c3906,0x1);}}function _0x16a8de(_0x5c69a5){const _0x3a2b14=_0x5c69a5['split'](':');return{'group':_0x3a2b14[0x0],'type':_0x3a2b14[0x1],'subType':_0x3a2b14[_0xf120('0x3a')]>=0x5?_0x3a2b14[0x2]:null,'id':_0x3a2b14[_0xf120('0x3a')]<0x5?_0x3a2b14[0x2]:_0x3a2b14[0x3],'authorId':_0x3a2b14[_0xf120('0x3a')]<0x5?_0x3a2b14[0x3]:_0x3a2b14[0x4],'markerCount':0x6==_0x3a2b14['length']?_0x3a2b14[0x5]:null};}function _0x54b474(_0x1f6f4c){for(let _0x179d2c=0x0;_0x179d2c<_0x3520f0[_0xf120('0x3a')];_0x179d2c++){if(_0x1f6f4c['isAdded']&&'insertion'==_0x3520f0[_0x179d2c]['type'])return _0x1f6f4c[_0xf120('0x88')]=_0x3520f0[_0x179d2c],void delete _0x1f6f4c[_0xf120('0x105')];if(!_0x1f6f4c[_0xf120('0x105')]&&!_0x1f6f4c[_0xf120('0x9c')]&&'deletion'==_0x3520f0[_0x179d2c][_0xf120('0x7d')])return void(_0x1f6f4c[_0xf120('0xfa')]=_0x3520f0[_0x179d2c]);}}}['_setDistance'](_0x23f435,_0x55322c){let _0x11544c=0x0,_0x27aac1=!0x1;const _0x420145=new Map();for(const _0x2d6f88 of _0x23f435)_0x2d6f88[_0x55322c]?_0x27aac1&&(_0x11544c++,_0x27aac1=!0x1):(_0x11544c++,_0x27aac1=!0x0),_0x420145['set'](_0x2d6f88['id'],_0x11544c);for(let _0x1157c0=0x0;_0x1157c0<_0x23f435[_0xf120('0x3a')];_0x1157c0++){if('isRemoved'==_0x55322c&&_0x23f435[_0x1157c0][_0xf120('0x105')]||_0xf120('0x105')==_0x55322c&&_0x23f435[_0x1157c0][_0xf120('0x9c')])continue;if(_0xf120('0x97')==_0x23f435[_0x1157c0][_0xf120('0x7d')]){_0x23f435[_0x1157c0][_0xf120('0x103')]=0x0;continue;}const _0x182952=_0x420145['get'](_0x23f435[_0x1157c0][_0xf120('0x69')]),_0x4cbb53=_0x420145['get'](_0x23f435[_0x1157c0]['id']);_0x23f435[_0x1157c0][_0xf120('0x103')]=_0x182952-_0x4cbb53;}}[_0xf120('0x10e')](_0x45d29d,_0x277fdc,_0x93fedd=!0x1){const _0x3af90a=[];let _0x37cf38=this[_0xf120('0x20')][_0xf120('0x84')](_0x45d29d),_0x169524=this[_0xf120('0x20')]['getIndex'](_0x277fdc);for(-0x1==_0x169524&&(_0x169524=this['repository'][_0xf120('0xb3')][_0xf120('0x3a')],_0x93fedd=!0x1);_0x37cf38<_0x169524;)_0x3af90a[_0xf120('0xbd')](this[_0xf120('0x20')][_0xf120('0xf6')](_0x37cf38)),_0x37cf38++;return _0x93fedd&&_0x3af90a[_0xf120('0xbd')](this[_0xf120('0x20')][_0xf120('0xf6')](_0x37cf38)),_0x3af90a;}[_0xf120('0x48')](_0x162159,_0x1cca80,_0x1d44fa,_0x339eef){const _0x1596d8=this[_0xf120('0x2f')]['model'][_0xf120('0x107')];let _0x57514e=_0x1cca80;for(;_0x162159[_0x57514e]&&_0x162159[_0x57514e][_0xf120('0x105')];)_0x57514e++;let _0x5cc2cd=_0x339eef;for(;_0x1d44fa[_0x5cc2cd]&&_0x1d44fa[_0x5cc2cd][_0xf120('0x9c')];)_0x5cc2cd++;_0x4dfb5e(_0x162159,_0x1cca80,_0x57514e),_0x4dfb5e(_0x1d44fa,_0x339eef,_0x5cc2cd);const _0x43dc5e=_0x1d44fa[_0xf120('0x96')](_0x339eef,_0x5cc2cd)['concat'](_0x162159[_0xf120('0x96')](_0x1cca80,_0x57514e));return _0x43dc5e[_0xf120('0x2e')]((_0xd56c14,_0x96d353)=>_0xd56c14[_0xf120('0x9a')]!=_0x96d353[_0xf120('0x9a')]?_0xd56c14[_0xf120('0x9a')]-_0x96d353[_0xf120('0x9a')]:_0xd56c14[_0xf120('0x0')]!=_0x96d353[_0xf120('0x0')]?_0xd56c14['level']-_0x96d353[_0xf120('0x0')]:_0xd56c14[_0xf120('0x103')]!=_0x96d353[_0xf120('0x103')]?_0x96d353[_0xf120('0x103')]-_0xd56c14[_0xf120('0x103')]:!!_0xd56c14[_0xf120('0x105')]!=!!_0x96d353[_0xf120('0x105')]?-0x1==_0xd56c14['side']||0x0==_0xd56c14['side']?_0xd56c14[_0xf120('0x105')]?-0x1:0x1:_0xd56c14[_0xf120('0x105')]?0x1:-0x1:_0xd56c14[_0xf120('0xb6')]-_0x96d353['index']),{'commonTape':_0x43dc5e,'iEnd':_0x57514e,'jEnd':_0x5cc2cd};function _0x4dfb5e(_0xa4fac7,_0x1c1987,_0x359fdc){let _0x5796a5=-0x1,_0x132eec=Number['POSITIVE_INFINITY'],_0x364ac9=!0x0;for(let _0x3f6cde=_0x1c1987;_0x3f6cde<_0x359fdc;_0x3f6cde++)if(_0x1596d8['isInline'](_0xa4fac7[_0x3f6cde][_0xf120('0x45')])||(_0x364ac9=!0x1),_0xa4fac7[_0x3f6cde][_0xf120('0x45')][_0xf120('0x8f')]<_0x1c1987&&(_0x5796a5=_0x3f6cde),_0xa4fac7[_0x3f6cde][_0xf120('0x45')][_0xf120('0x10b')]>=_0x359fdc){_0x132eec=_0x3f6cde;break;}_0x364ac9&&(_0x5796a5=_0x359fdc-0x1);for(let _0x5f48ac=_0x1c1987;_0x5f48ac<_0x359fdc;_0x5f48ac++)_0xa4fac7[_0x5f48ac][_0xf120('0x9a')]=_0x5f48ac<=_0x5796a5?-0x1:_0x5f48ac<_0x132eec?0x0:0x1,_0xa4fac7[_0x5f48ac][_0xf120('0xb6')]=_0x5f48ac;let _0x1ad37d=0x0;for(let _0x1468d9=_0x1c1987;_0x1468d9<=_0x5796a5;_0x1468d9++)0x0==_0xa4fac7[_0x1468d9]['distance']?_0xa4fac7[_0x1468d9][_0xf120('0x0')]=_0x1ad37d:(_0x1ad37d++,_0xa4fac7[_0x1468d9]['level']=_0x1ad37d,_0x1ad37d++);for(let _0xdb40b7=_0x1c1987;_0xdb40b7<_0x359fdc;_0xdb40b7++)0x0==_0xa4fac7[_0xdb40b7][_0xf120('0x9a')]&&(_0xa4fac7[_0xdb40b7][_0xf120('0x0')]=_0x1ad37d);_0x1ad37d=0x0;for(let _0x5b1101=_0x359fdc-0x1;_0x5b1101>=_0x132eec;_0x5b1101--)0x0==_0xa4fac7[_0x5b1101][_0xf120('0x103')]?_0xa4fac7[_0x5b1101][_0xf120('0x0')]=_0x1ad37d:(_0x1ad37d--,_0xa4fac7[_0x5b1101][_0xf120('0x0')]=_0x1ad37d,_0x1ad37d--);}}[_0xf120('0xaf')](_0x28aced){const _0x2b15c3=new Map(),_0x2ae338=this[_0xf120('0x2f')][_0xf120('0x10f')][_0xf120('0x107')];for(let _0x56e082=0x1;_0x56e082<_0x28aced['length'];_0x56e082++){let _0x998a99,_0x11e867,_0x24b283;const _0x492a9f=_0x28aced[_0x56e082],_0x2c0009=_0x28aced[_0x56e082-0x1];if(_0xf120('0x97')==_0x492a9f[_0xf120('0x7d')])continue;if(_0x492a9f['type']!=_0x2c0009['type'])continue;if(!_0x2ae338['isBlock'](_0x2c0009['item'])||_0x2ae338[_0xf120('0xca')](_0x2c0009[_0xf120('0x45')]))continue;if(!_0x2ae338['isBlock'](_0x492a9f[_0xf120('0x45')])||_0x2ae338[_0xf120('0xca')](_0x492a9f[_0xf120('0x45')]))continue;if((_0x28aced[_0x56e082][_0xf120('0x105')]||_0x28aced[_0x56e082]['isAddSuggestion'])&&_0x28aced[_0x56e082-0x1]['isRemoved'])_0x998a99=_0x28aced[_0x56e082],_0x11e867=_0x28aced[_0x56e082-0x1],_0x24b283=_0x56e082-0x1;else{if(!_0x28aced[_0x56e082]['isRemoved']||!_0x28aced[_0x56e082-0x1]['isAdded']&&!_0x28aced[_0x56e082-0x1]['isAddSuggestion'])continue;_0x998a99=_0x28aced[_0x56e082-0x1],_0x11e867=_0x28aced[_0x56e082],_0x24b283=_0x56e082;}const _0x224ad5=_0x998a99['level']==_0x11e867[_0xf120('0x0')],_0x4ac079=Math[_0xf120('0xb1')](_0x998a99[_0xf120('0x0')])<Math[_0xf120('0xb1')](_0x11e867['level'])&&0x0==_0x11e867[_0xf120('0x103')];(_0x224ad5||_0x4ac079)&&(_0x2b15c3['set'](_0x11e867['id'],_0x998a99['id']),_0x28aced[_0xf120('0xe3')](_0x24b283,0x1),_0x56e082--,_0x998a99['isAdded']=!0x1);}for(let _0x2664d9=0x0;_0x2664d9<_0x28aced['length'];_0x2664d9++)_0x2b15c3['has'](_0x28aced[_0x2664d9][_0xf120('0x69')])&&(_0x28aced[_0x2664d9][_0xf120('0x69')]=_0x2b15c3['get'](_0x28aced[_0x2664d9]['pairId']));}[_0xf120('0x10d')](_0xe1a7a4){const _0x19159d=new Set(_0xe1a7a4[_0xf120('0x7e')](_0x4bff23=>_0x4bff23['id']));for(let _0x143fa7=0x0;_0x143fa7<_0xe1a7a4[_0xf120('0x3a')];_0x143fa7++)_0x19159d[_0xf120('0x74')](_0xe1a7a4[_0x143fa7][_0xf120('0x69')])||0x0==_0xe1a7a4[_0x143fa7][_0xf120('0x103')]||(_0xe1a7a4[_0x143fa7][_0xf120('0x14')]=!0x0);return _0xe1a7a4[_0xf120('0x38')](_0x12edc5=>!_0x12edc5[_0xf120('0x14')]);}[_0xf120('0xdc')](_0x276934){const _0x255f77=new Set();for(let _0x59ed1a=0x0;_0x59ed1a<_0x276934['length'];_0x59ed1a++){if(_0x255f77[_0xf120('0x74')](_0x276934[_0x59ed1a]['id'])&&_0x276934[_0x59ed1a][_0xf120('0x9c')]&&(_0x276934[_0x59ed1a]['isIncorrect']=!0x0),_0x276934[_0x59ed1a][_0xf120('0x14')])continue;if(0x0==_0x276934[_0x59ed1a][_0xf120('0x103')])continue;if(_0xf120('0x17')!=_0x276934[_0x59ed1a][_0xf120('0x7d')])continue;if(null==_0x276934[_0x59ed1a]['pairId'])continue;let _0x3fc64c=_0x59ed1a+0x1,_0xaa6f64=0x0;for(;_0x276934[_0x3fc64c]['id']!=_0x276934[_0x59ed1a]['pairId'];)_0xf120('0x17')==_0x276934[_0x3fc64c][_0xf120('0x7d')]?_0xaa6f64++:_0xf120('0x31')==_0x276934[_0x3fc64c][_0xf120('0x7d')]&&_0xaa6f64--,_0x3fc64c++;if(0x0!=_0xaa6f64){if(_0x276934[_0x59ed1a][_0xf120('0x9c')])_0x276934[_0x59ed1a][_0xf120('0x14')]=!0x0;else for(;_0x3fc64c!=_0x59ed1a;)_0x276934[_0x3fc64c][_0xf120('0x9c')]&&0x0!=_0x276934[_0x3fc64c][_0xf120('0x103')]&&(_0x276934[_0x3fc64c]['isIncorrect']=!0x0,_0x255f77['add'](_0x276934[_0x3fc64c][_0xf120('0x69')])),_0x3fc64c--;}}return _0x276934[_0xf120('0x38')](_0xa188ec=>!_0xa188ec['isIncorrect']);}[_0xf120('0xd0')](_0x3df70d){const _0x2a513b=this[_0xf120('0x2f')][_0xf120('0x10f')]['schema'];for(let _0x1450b4=0x0;_0x1450b4<_0x3df70d[_0xf120('0x3a')];_0x1450b4++){if(!(_0x3df70d[_0x1450b4][_0xf120('0x105')]||_0x3df70d[_0x1450b4]['isAddSuggestion']||_0x3df70d[_0x1450b4][_0xf120('0x9c')]||_0x3df70d[_0x1450b4][_0xf120('0xfa')]))continue;if(0x0==_0x3df70d[_0x1450b4][_0xf120('0x103')])continue;const _0x10691b=_0x3df70d[_0x1450b4]['item'];_0x2a513b[_0xf120('0x7f')](_0x10691b)||_0x2a513b[_0xf120('0xca')](_0x10691b)||(_0x3df70d[_0x1450b4][_0xf120('0x105')]&&delete _0x3df70d[_0x1450b4][_0xf120('0x105')],_0x3df70d[_0x1450b4][_0xf120('0x88')]&&delete _0x3df70d[_0x1450b4][_0xf120('0x88')],_0x3df70d[_0x1450b4][_0xf120('0xfa')]&&delete _0x3df70d[_0x1450b4][_0xf120('0xfa')],_0x3df70d[_0x1450b4][_0xf120('0x9c')]&&(_0x3df70d[_0x1450b4]['isIncorrect']=!0x0));}return _0x3df70d[_0xf120('0x38')](_0x49c8ab=>!_0x49c8ab[_0xf120('0x14')]);}[_0xf120('0xef')](_0x1236a4,_0x485ea6,_0x5e57db){const _0x4741cd=new _0x53359b(),_0x435c16=[],_0x10ef43=new Map(),_0x256313=this[_0xf120('0x2f')]['model'],_0x1d46f7=_0x256313['schema'],_0x19d28b=[_0x4741cd],_0x413c9a={},_0x57d0cd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4ce793=null;const _0x4b2dda=[0x0];for(let _0x5b81ed=0x0;_0x5b81ed<_0x1236a4[_0xf120('0x3a')];_0x5b81ed++){let _0x9b353,_0x73ce7e;if(_0xf120('0x17')===_0x1236a4[_0x5b81ed]['type']){_0x9b353=_0x256313[_0xf120('0xc')](_0x4741cd,_0x4b2dda);const _0x1b2129=new _0x5d140e(_0x1236a4[_0x5b81ed][_0xf120('0x45')][_0xf120('0x59')],_0x1236a4[_0x5b81ed]['item'][_0xf120('0x82')]());_0x19d28b[0x0][_0xf120('0x124')](_0x1b2129),_0x4b2dda[_0xf120('0xbd')](0x0),_0x19d28b['unshift'](_0x1b2129),_0x73ce7e=_0x256313[_0xf120('0xc')](_0x4741cd,_0x4b2dda),_0x4ce793=null;}else{if('elementEnd'===_0x1236a4[_0x5b81ed][_0xf120('0x7d')])_0x19d28b[_0xf120('0xd2')](),_0x9b353=_0x256313[_0xf120('0xc')](_0x4741cd,_0x4b2dda),_0x4b2dda['pop'](),_0x4b2dda[_0x4b2dda[_0xf120('0x3a')]-0x1]++,_0x73ce7e=_0x256313[_0xf120('0xc')](_0x4741cd,_0x4b2dda),_0x4ce793=null;else{if(_0x9b353=_0x256313[_0xf120('0xc')](_0x4741cd,_0x4b2dda),_0x4ce793&&_0x1bd1d8(_0x4ce793,_0x1236a4[_0x5b81ed][_0xf120('0x45')]))_0x4ce793[_0xf120('0x75')]+=_0x1236a4[_0x5b81ed]['item'][_0xf120('0x5f')];else{const _0xbc1251=new _0x57d44f(_0x1236a4[_0x5b81ed][_0xf120('0x45')][_0xf120('0x5f')],_0x1236a4[_0x5b81ed][_0xf120('0x45')][_0xf120('0x82')]());_0x19d28b[0x0][_0xf120('0x124')](_0xbc1251),_0x4ce793=_0xbc1251;}_0x4b2dda[_0x4b2dda[_0xf120('0x3a')]-0x1]+=_0x1236a4[_0x5b81ed]['item'][_0xf120('0x9d')],_0x73ce7e=_0x256313[_0xf120('0xc')](_0x4741cd,_0x4b2dda);}}for(const _0x183fad of _0x1236a4[_0x5b81ed][_0xf120('0x11c')])_0x10ef43[_0xf120('0xe7')](_0x183fad,{'start':_0x9b353,'end':null});_0x26d661('isRemoveSuggestion',_0x5b81ed,_0x9b353,_0x73ce7e),_0x26d661(_0xf120('0x88'),_0x5b81ed,_0x9b353,_0x73ce7e),_0x26d661(_0xf120('0x9c'),_0x5b81ed,_0x9b353,_0x73ce7e),_0x26d661(_0xf120('0x105'),_0x5b81ed,_0x9b353,_0x73ce7e);for(const _0xb7aeed of _0x1236a4[_0x5b81ed][_0xf120('0x54')]){_0x10ef43['get'](_0xb7aeed)[_0xf120('0xdf')]=_0x73ce7e;}}for(const [_0x184123,_0x1589c2]of _0x10ef43){const _0x324c69=this['editor'][_0xf120('0x10f')][_0xf120('0x8b')](_0x1589c2[_0xf120('0x5e')],_0x1589c2[_0xf120('0xdf')]);_0x4741cd[_0xf120('0x6a')][_0xf120('0xe7')](_0x184123,_0x324c69);}return _0x435c16[_0xf120('0x2e')]((_0x1be874,_0x2aa234)=>{const _0x425ad9=_0x4741cd[_0xf120('0x6a')][_0xf120('0x5c')]('revision:'+_0x1be874['id']),_0x1903a1=_0x4741cd[_0xf120('0x6a')]['get']('revision:'+_0x2aa234['id']);return _0x425ad9[_0xf120('0x5e')][_0xf120('0x4a')](_0x1903a1[_0xf120('0x5e')])?-0x1:_0x425ad9[_0xf120('0x5e')][_0xf120('0xb5')](_0x1903a1[_0xf120('0x5e')])?0x1:_0x425ad9[_0xf120('0xdf')][_0xf120('0x4a')](_0x1903a1[_0xf120('0xdf')])?-0x1:_0x425ad9[_0xf120('0xdf')][_0xf120('0xb5')](_0x1903a1[_0xf120('0xdf')])?0x1:_0xf120('0x9f')===_0x1be874[_0xf120('0x7d')]?-0x1:0x1;}),{'root':_0x4741cd,'changes':_0x435c16};function _0x26d661(_0x1ded27,_0x291777,_0x11bc85,_0x5c83c6){const _0x184c4f=!!_0x1236a4[_0x291777][_0x1ded27],_0x1d051f=_0x184c4f?_0x1236a4[_0x291777][_0x1ded27][_0xf120('0x93')]:null,_0x3bbb18=_0x291777===_0x1236a4[_0xf120('0x3a')]-0x1,_0x4dacf9=_0x57d0cd[_0x1ded27][0x0],_0x45f264=_0x1d46f7[_0xf120('0xb7')](_0x1236a4[_0x291777]['item']);!_0x413c9a[_0x1ded27]&&_0x184c4f?_0x413c9a[_0x1ded27]={'start':_0x11bc85,'tapeItem':_0x1236a4[_0x291777],'userId':_0x1d051f,'type':_0x1ded27}:_0x413c9a[_0x1ded27]&&!_0x184c4f?(_0x413c9a[_0x1ded27][_0xf120('0xdf')]=_0x11bc85,_0x1b13d0(_0x413c9a[_0x1ded27]),_0x413c9a[_0x1ded27]=null):_0x413c9a[_0x1ded27]&&_0x184c4f&&_0x413c9a[_0x1ded27][_0xf120('0x93')]!==_0x1d051f&&(_0x413c9a[_0x1ded27]['end']=_0x11bc85,_0x4dacf9&&_0x4dacf9[_0xf120('0x93')]===_0x413c9a[_0x1ded27][_0xf120('0x93')]||_0x1b13d0(_0x413c9a[_0x1ded27]),_0x413c9a[_0x1ded27]={'start':_0x11bc85,'tapeItem':_0x1236a4[_0x291777],'userId':_0x1d051f,'type':_0x1ded27}),_0x413c9a[_0x1ded27]&&_0x45f264&&(_0xf120('0x17')!==_0x1236a4[_0x291777][_0xf120('0x7d')]||_0x4dacf9&&_0x4dacf9[_0xf120('0x93')]===_0x1d051f||_0x57d0cd[_0x1ded27][_0xf120('0xc7')]({'userId':_0x1d051f,'object':_0x1236a4[_0x291777][_0xf120('0x45')],'change':_0x413c9a[_0x1ded27]}),_0xf120('0x31')===_0x1236a4[_0x291777][_0xf120('0x7d')]&&_0x4dacf9&&_0x4dacf9[_0xf120('0x63')]===_0x1236a4[_0x291777][_0xf120('0x45')]&&(_0x57d0cd[_0x1ded27]['shift'](),_0x413c9a[_0x1ded27]=_0x4dacf9[_0xf120('0x101')])),_0x413c9a[_0x1ded27]&&_0x3bbb18&&(_0x413c9a[_0x1ded27][_0xf120('0xdf')]=_0x5c83c6,_0x1b13d0(_0x413c9a[_0x1ded27]),_0x413c9a[_0x1ded27]=null);}function _0x1b13d0({start:_0x2dff45,end:_0x6a5cd3,tapeItem:_0x350f05,userId:_0x364cd1,type:_0x43478a}){const _0xa9b04c=_0x350f05[_0xf120('0x45')],_0x3090bd=_0x256313[_0xf120('0x107')][_0xf120('0x7f')](_0xa9b04c)&&!_0x256313['schema'][_0xf120('0xca')](_0xa9b04c),_0x4c6716=_0x2dff45[_0xf120('0x89')]==_0x6a5cd3['parent']&&_0x6a5cd3[_0xf120('0xd4')];if(_0x3090bd&&_0x4c6716)return;const _0x6e54e2=_0x256313[_0xf120('0x8b')](_0x2dff45,_0x6a5cd3),_0x25b0e0=_0x485ea6[_0xf120('0x5c')](_0x364cd1),_0x5a5db6=new _0x2ea2e6({'author':_0x25b0e0,'type':_0xf120('0x105')==_0x43478a||_0xf120('0x88')==_0x43478a?_0xf120('0x9f'):_0xf120('0x4e'),'data':{'isSuggestion':_0xf120('0x88')==_0x43478a||_0xf120('0xfa')==_0x43478a},'createdAt':new Date(),'rootName':_0x5e57db});_0x435c16['push'](_0x5a5db6),_0x4741cd[_0xf120('0x6a')][_0xf120('0xe7')](_0xf120('0xed')+_0x5a5db6['id'],_0x6e54e2);}function _0x1bd1d8(_0x373aeb,_0x145633){const _0x246712=_0x373aeb['getAttributes'](),_0x5a9eec=_0x145633['getAttributes']();for(const _0x4043fe of _0x246712){if(_0x4043fe[0x1]!==_0x145633[_0xf120('0x41')](_0x4043fe[0x0]))return!0x1;_0x5a9eec[_0xf120('0x121')]();}return _0x5a9eec['next']()['done'];}}[_0xf120('0xc3')](){this[_0xf120('0x2f')][_0xf120('0x9')][_0xf120('0x80')](_0xf120('0xf5'))[_0xf120('0x83')]({'view':_0xf120('0xab')}),this[_0xf120('0x2f')][_0xf120('0x9')]['for']('editingDowncast')[_0xf120('0x126')]({'model':'revision','view':_0x3205cd=>{const _0x1bc55b=_0x3205cd[_0xf120('0x1d')][_0xf120('0x92')](':')[0x1],_0x3e53e0=this[_0xf120('0x56')](_0x1bc55b);if(!_0x3e53e0)return null;const _0x5141b4=_0xf120('0x9f')==_0x3e53e0[_0xf120('0x7d')]?'insertion':_0xf120('0xb4'),_0xed043=[_0xf120('0x116'),_0xf120('0x6f')+_0x5141b4];return _0x3e53e0[_0xf120('0x5f')][_0xf120('0x44')]&&_0xed043[_0xf120('0xbd')]('ck-suggestion-marker-'+_0x5141b4+_0xf120('0xcb')),this[_0xf120('0x11a')]==_0x3e53e0&&_0xed043[_0xf120('0xbd')](_0xf120('0x1e')),{'classes':_0xed043,'attributes':{'data-change-id':_0x1bc55b}};}}),this['editor']['conversion'][_0xf120('0x80')](_0xf120('0xf5'))[_0xf120('0x9f')](_0x31464a=>{_0x31464a['on'](_0xf120('0x27'),(_0x5e1817,_0x5738ee,_0x4784e7)=>{const _0x502f21=_0x5738ee['viewItem'][_0xf120('0x98')](0x0);if(!_0x502f21||!_0x502f21['is'](_0xf120('0x21'),_0xf120('0x9b')))return;if(!_0x4784e7['consumable']['consume'](_0x502f21,{'attributes':[_0xf120('0x3f'),_0xf120('0x65')]}))return;const _0x1834a7=_0x5738ee['modelRange'][_0xf120('0x5e')][_0xf120('0x89')];_0x4784e7['writer'][_0xf120('0xe2')](_0xf120('0x3f'),_0x502f21[_0xf120('0x41')](_0xf120('0x3f')),_0x1834a7),_0x4784e7[_0xf120('0xbb')][_0xf120('0xe2')](_0xf120('0x65'),_0x502f21[_0xf120('0x41')](_0xf120('0x65')),_0x1834a7);},{'priority':_0xf120('0xe')});}),this[_0xf120('0x2f')][_0xf120('0x9')][_0xf120('0x80')](_0xf120('0xf5'))[_0xf120('0x9f')](_0x302c3a=>{_0x302c3a['on']('element',(_0x51b384,_0x331d17,_0x1f318e)=>{if(!_0x1f318e[_0xf120('0xba')][_0xf120('0x4d')](_0x331d17[_0xf120('0xd9')],{'attributes':['vid_start','vid_end']}))return;if(_0x331d17['modelRange'][_0xf120('0x8e')])return;const _0x182d81=_0x331d17[_0xf120('0x25')][_0xf120('0x5e')][_0xf120('0x89')];_0x182d81[_0xf120('0x85')](_0xf120('0x3f'))||_0x182d81['hasAttribute']('vid')||(_0x1f318e[_0xf120('0xbb')][_0xf120('0xe2')]('vid_start',_0x331d17['viewItem']['getAttribute'](_0xf120('0x3f')),_0x182d81),_0x1f318e[_0xf120('0xbb')]['setAttribute']('vid_end',_0x331d17[_0xf120('0xd9')]['getAttribute'](_0xf120('0x65')),_0x182d81));},{'priority':'low'});}),this[_0xf120('0x2f')][_0xf120('0x9')]['for'](_0xf120('0xf5'))[_0xf120('0x16')]({'view':{'name':_0xf120('0xcf'),'attributes':{'vid':!0x0}},'model':{'key':_0xf120('0xde'),'value':_0x157f4a=>_0x157f4a[_0xf120('0x41')](_0xf120('0xde'))}}),this['editor'][_0xf120('0x10f')][_0xf120('0x107')]['on'](_0xf120('0x5a'),(_0x5beb19,[,_0x54096d])=>{[_0xf120('0x3f'),_0xf120('0x65'),_0xf120('0xde')][_0xf120('0x12')](_0x54096d)&&(_0x5beb19['return']=!0x0,_0x5beb19['stop']());},{'priority':_0xf120('0x32')}),this[_0xf120('0x2f')]['conversion']['for'](_0xf120('0xe4'))[_0xf120('0x9f')](_0x1ad68f=>{_0x1ad68f['on'](_0xf120('0x53'),(_0x39a18f,_0x713d29,_0x4919a0)=>{if('\x20'!=_0x713d29[_0xf120('0x45')][_0xf120('0x5f')]||_0x713d29['item']['parent'][_0xf120('0x26')]>0x1)return;if(!_0x4919a0[_0xf120('0xba')]['consume'](_0x713d29['item'],_0x39a18f[_0xf120('0x59')]))return;const _0x453dba=_0x4919a0['writer'],_0x5e141b=_0x4919a0[_0xf120('0x1f')][_0xf120('0xd6')](_0x713d29[_0xf120('0x52')]);_0x453dba[_0xf120('0xfd')](_0x5e141b,_0x453dba['createAttributeElement'](_0xf120('0xcf')));});}),this[_0xf120('0x2f')][_0xf120('0x9')]['for'](_0xf120('0xe4'))[_0xf120('0x46')]({'model':_0xf120('0xab')}),this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0x57')]['on'](_0xf120('0xe8'),function(_0xe16678){const _0x3dfe0f=_0xe16678[_0xf120('0x112')]['get']('RevisionViewer');return(_0x6eeb69,_0x8dcb8e,_0x1fb245)=>{const _0x2d9715=_0x8dcb8e['markerName'][_0xf120('0x92')](':')[0x1],_0x1177d1=_0x3dfe0f['_getChangeFromId'](_0x2d9715);if(!_0x1177d1)return null;const _0x414aa7=_0xf120('0x9f')==_0x1177d1[_0xf120('0x7d')]?_0xf120('0x92'):_0xf120('0x49');if(!_0x1fb245[_0xf120('0xba')][_0xf120('0x127')](_0x8dcb8e[_0xf120('0xd')],_0x6eeb69[_0xf120('0x59')]))return;const _0x55435c=_0x8dcb8e['markerRange'][_0xf120('0xc6')](),_0x5705b8=_0x8dcb8e[_0xf120('0xd')]['start'],_0x467878=_0xe16678['model'][_0xf120('0x107')];let _0x555fd6=null,_0x571873=null,_0x31d353=!0x1,_0x329d35=!0x1;for(const _0x5a2d1d of _0x55435c){const _0x21ad8f=_0x5a2d1d['item'];_0x31d353=_0x31d353||_0x467878['isContent'](_0x21ad8f);const _0x51e2e0=_0x1fb245['mapper'][_0xf120('0x90')](_0x21ad8f);if(_0x51e2e0&&_0x51e2e0[_0xf120('0x95')](_0xf120('0xeb')))return;_0xf120('0x31')==_0x5a2d1d[_0xf120('0x7d')]&&(_0x467878[_0xf120('0x7f')](_0x21ad8f)&&!_0x467878[_0xf120('0xca')](_0x21ad8f)&&(_0x21ad8f[_0xf120('0xf9')]||_0x5705b8[_0xf120('0xd7')]?_0x555fd6&&_0x555fd6['parent']==_0x21ad8f||(_0x555fd6=_0x21ad8f,_0x2ae88e(_0x5a2d1d[_0xf120('0xa0')]),_0x329d35=!0x0):_0x571873=_0x571873||_0x5a2d1d[_0xf120('0xa0')]));}function _0x2ae88e(_0x2b06e5){const _0x35e4ca=_0x1fb245['writer'][_0xf120('0x51')]('span',{'class':_0xf120('0x6f')+_0x414aa7}),_0x2ed5ae=_0x1fb245[_0xf120('0x1f')][_0xf120('0x76')](_0x2b06e5);_0x1177d1[_0xf120('0x5f')][_0xf120('0x44')]&&_0x1fb245[_0xf120('0xbb')][_0xf120('0x62')](_0xf120('0x6f')+_0x414aa7+'-new',_0x35e4ca),_0x3dfe0f[_0xf120('0x11a')]==_0x1177d1&&_0x1fb245[_0xf120('0xbb')][_0xf120('0x62')](_0xf120('0x1e'),_0x35e4ca),_0x1fb245[_0xf120('0xbb')][_0xf120('0x8c')](_0x2ed5ae,_0x35e4ca),_0x1fb245[_0xf120('0x1f')]['bindElementToMarker'](_0x35e4ca,_0x8dcb8e[_0xf120('0x1d')]);}_0x31d353||_0x329d35||!_0x571873||_0x2ae88e(_0x571873);};}(this[_0xf120('0x2f')]),{'priority':_0xf120('0x122')}),this[_0xf120('0x2f')]['editing']['downcastDispatcher']['on'](_0xf120('0x11d'),(_0xfa1583,_0xe50333,_0x582b46)=>{const _0xc4705b=_0x582b46[_0xf120('0x1f')]['markerNameToElements'](_0xe50333[_0xf120('0x1d')]);if(_0xc4705b)for(const _0x34befc of _0xc4705b)(_0x34befc[_0xf120('0x78')](_0xf120('0x1a'))||_0x34befc[_0xf120('0x78')](_0xf120('0x36')))&&(_0x582b46[_0xf120('0x1f')][_0xf120('0xb0')](_0x34befc,_0xe50333[_0xf120('0x1d')]),_0x582b46[_0xf120('0xbb')]['remove'](_0x34befc));},{'priority':_0xf120('0x122')}),this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0x57')]['on'](_0xf120('0xe8'),(_0x9cc2e5,_0x6aa416,_0x548c80)=>{const _0x516aa4=_0x6aa416['markerName'][_0xf120('0x92')](':')[0x1],_0x3ca814=this[_0xf120('0x56')](_0x516aa4);if(!_0x3ca814)return null;const _0x505060=_0xf120('0x9f')==_0x3ca814['type']?_0xf120('0x92'):'merge';if(_0x548c80['consumable']['test'](_0x6aa416['markerRange'],_0x9cc2e5[_0xf120('0x59')]))for(const _0x2e598f of _0x6aa416[_0xf120('0xd')]['getItems']()){if(!_0x2e598f['is']('element',_0xf120('0x102')))continue;const _0x415379=_0x548c80[_0xf120('0xbb')][_0xf120('0x51')](_0xf120('0xcf'),{'class':'ck-suggestion-marker-'+_0x505060}),_0x50cdee=_0x548c80[_0xf120('0x1f')]['toViewPosition'](this[_0xf120('0x2f')][_0xf120('0x10f')][_0xf120('0xc8')](_0x2e598f));_0x3ca814[_0xf120('0x5f')][_0xf120('0x44')]&&_0x548c80[_0xf120('0xbb')][_0xf120('0x62')](_0xf120('0x6f')+_0x505060+_0xf120('0xcb'),_0x415379),this[_0xf120('0x11a')]==_0x3ca814&&_0x548c80[_0xf120('0xbb')]['addClass'](_0xf120('0x1e'),_0x415379),_0x548c80['writer'][_0xf120('0x8c')](_0x50cdee,_0x415379),_0x548c80['mapper'][_0xf120('0xd3')](_0x415379,_0x6aa416[_0xf120('0x1d')]);}},{'priority':'high'}),this['editor'][_0xf120('0x10f')][_0xf120('0x23')]['on'](_0xf120('0x101'),()=>{this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0xd1')][_0xf120('0x101')](_0x15a074=>{for(const _0x4e6505 of this[_0xf120('0x2f')][_0xf120('0x10f')][_0xf120('0x23')]['getRootNames']()){const _0x3f2a77=this['editor'][_0xf120('0x10f')][_0xf120('0x23')]['getRoot'](_0x4e6505),_0x443ad8=this[_0xf120('0x2f')][_0xf120('0x114')]['view'][_0xf120('0x23')][_0xf120('0x61')](_0x4e6505);if(_0x443ad8){const _0x25f7d9=_0x3f2a77[_0xf120('0x41')](_0xf120('0x11e'));if(_0x15a074[_0xf120('0x110')](_0xf120('0xbc'),_0x443ad8),_0x15a074[_0xf120('0xb2')](_0xf120('0x6b'),_0x443ad8),_0x15a074[_0xf120('0xb2')](_0xf120('0x6d'),_0x443ad8),_0x15a074[_0xf120('0xb2')](_0xf120('0xdd'),_0x443ad8),_0x25f7d9){const _0x1b61f6=this[_0xf120('0x56')](_0x25f7d9);if(!_0x1b61f6)return null;_0x15a074[_0xf120('0xe2')]('data-change-id',_0x25f7d9,_0x443ad8),_0x15a074[_0xf120('0x62')](_0xf120('0x128')+_0x1b61f6[_0xf120('0x7d')],_0x443ad8),this[_0xf120('0x11a')]==_0x1b61f6&&_0x15a074['addClass']('ck-revision-history-root--active',_0x443ad8);}}}});}),this[_0xf120('0x2f')][_0xf120('0x9')]['for']('upcast')[_0xf120('0x83')]({'view':'comment','model':_0x49244c=>_0xf120('0xfe')+_0x49244c,'converterPriority':_0xf120('0x32')}),this[_0xf120('0x2f')][_0xf120('0x9')][_0xf120('0x80')](_0xf120('0xf5'))[_0xf120('0x83')]({'view':'suggestion','model':_0x38b5ac=>_0xf120('0xbe')+_0x38b5ac,'converterPriority':_0xf120('0x32')}),this[_0xf120('0x2f')][_0xf120('0x9')][_0xf120('0x80')](_0xf120('0xe4'))[_0xf120('0x46')]({'model':_0xf120('0x10c'),'view':_0x1b24c2=>({'name':_0xf120('0x29')+_0x1b24c2,'group':_0xf120('0x10c')}),'converterPriority':_0xf120('0x32')}),this[_0xf120('0x2f')]['conversion'][_0xf120('0x80')](_0xf120('0xa'))[_0xf120('0x126')]({'model':_0xf120('0x10c'),'view':_0x24f9ed=>{const _0xf74639=_0x24f9ed['markerName'][_0xf120('0x92')](':')[0x1];return'insertion'!=_0xf74639&&_0xf120('0xb4')!=_0xf74639?null:{'classes':[_0xf120('0x3e'),_0xf120('0xcc')+_0xf74639]};}}),this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0x57')]['on'](_0xf120('0xa1'),et(this['editor'],'merge'),{'priority':_0xf120('0x122')}),this[_0xf120('0x2f')]['editing'][_0xf120('0x57')]['on'](_0xf120('0xe5'),et(this['editor'],'split'),{'priority':_0xf120('0x122')}),this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0x57')]['on'](_0xf120('0x72'),(_0x335f0d,_0x12a57f,_0x43db05)=>{const _0x1f80b9=_0x43db05[_0xf120('0x1f')][_0xf120('0xa2')](_0x12a57f[_0xf120('0x1d')]);if(_0x1f80b9)for(const _0x1bb0a3 of _0x1f80b9)_0x1bb0a3['is'](_0xf120('0x2d'))&&(_0x43db05['mapper'][_0xf120('0xb0')](_0x1bb0a3,_0x12a57f[_0xf120('0x1d')]),_0x43db05[_0xf120('0xbb')]['remove'](_0x1bb0a3));},{'priority':_0xf120('0x122')});}['_getChangeFromId'](_0x32be86){return this[_0xf120('0x109')][_0xf120('0x5c')](_0x32be86);}[_0xf120('0x73')](_0x25a71c){return this[_0xf120('0xad')]&&this['_changeView'][_0xf120('0x9e')](),this[_0xf120('0xad')]=new _0x2b76d4(this['editor'][_0xf120('0xf3')],_0x25a71c),this[_0xf120('0xad')];}[_0xf120('0x81')](){this[_0xf120('0x2f')][_0xf120('0x10f')][_0xf120('0x23')][_0xf120('0x104')][_0xf120('0x71')]('revision'),this['on'](_0xf120('0xf8'),(_0x44a45f,_0x2a68df,_0x480f55,_0x44c4e8)=>{_0x44c4e8&&this[_0xf120('0x8d')][_0xf120('0x4e')](_0x44c4e8),_0x480f55&&(this[_0xf120('0x8d')]['add']({'view':_0x480f55,'stackId':_0xf120('0xb9'),'position':{'target':()=>{const _0x37dd4f=this['editor'][_0xf120('0x114')],_0x402067=this[_0xf120('0x56')](_0x480f55[_0xf120('0xce')]);let _0x1156ad;if(_0x402067[_0xf120('0x5f')][_0xf120('0xf4')]){const _0x489f38=_0x37dd4f[_0xf120('0xd1')]['getDomRoot'](_0x402067[_0xf120('0x100')]);_0x1156ad=Array['from'](_0x489f38[_0xf120('0x6e')]());}else{const _0x124ece=this[_0xf120('0x2f')][_0xf120('0x10f')]['markers'][_0xf120('0x5c')](_0xf120('0xed')+_0x480f55[_0xf120('0xce')]);_0x1156ad=Array[_0xf120('0x1c')](_0x37dd4f['mapper']['markerNameToElements'](_0x124ece[_0xf120('0x59')]))[_0xf120('0x7e')](_0x34ff3d=>_0x37dd4f[_0xf120('0xd1')]['domConverter']['mapViewToDom'](_0x34ff3d))['map'](_0x3b4b55=>Array[_0xf120('0x1c')](_0x3b4b55[_0xf120('0x6e')]()))[_0xf120('0xfc')]();}if(!this['_activeViewTarget'])return _0x1156ad[0x0];return _0x1156ad['find'](_0x3b692d=>_0x3b692d[_0xf120('0xa8')]-0x3<=this['_activeViewTarget']['y']&&_0x3b692d[_0xf120('0x5')]+0x3>=this[_0xf120('0x4b')]['y']&&_0x3b692d[_0xf120('0x5b')]-0x3<=this[_0xf120('0x4b')]['x']&&_0x3b692d[_0xf120('0x43')]+0x3>=this[_0xf120('0x4b')]['x'])||_0x1156ad[0x0];}}}),this[_0xf120('0x8d')][_0xf120('0x3')](_0xf120('0xb9')));}),this['on']('change:activeChange',(_0x124053,_0x2e1786,_0x178671,_0x6d99e8)=>{this[_0xf120('0x99')]=_0x178671?this[_0xf120('0x73')](_0x178671):null,this['editor'][_0xf120('0x10f')][_0xf120('0x101')](()=>{const _0x236267=this[_0xf120('0x2f')][_0xf120('0x114')];_0x6d99e8&&(_0x6d99e8[_0xf120('0x5f')][_0xf120('0xf4')]?_0x236267[_0xf120('0xd1')][_0xf120('0x101')](_0x2ab19c=>{_0x2ab19c[_0xf120('0xb2')]('ck-revision-history-root--active',_0x236267[_0xf120('0xd1')]['document'][_0xf120('0x61')](_0x6d99e8[_0xf120('0x100')]));}):_0x236267[_0xf120('0x5d')]('revision:'+_0x6d99e8['id'])),_0x178671&&(_0x178671['data'][_0xf120('0xf4')]?_0x236267[_0xf120('0xd1')][_0xf120('0x101')](_0xa5460f=>{_0xa5460f[_0xf120('0x62')]('ck-revision-history-root--active',_0x236267[_0xf120('0xd1')][_0xf120('0x23')][_0xf120('0x61')](_0x178671[_0xf120('0x100')]));}):_0x236267[_0xf120('0x5d')](_0xf120('0xed')+_0x178671['id']));});}),this[_0xf120('0x33')](this['editor']['editing'][_0xf120('0xd1')][_0xf120('0x23')],'mouseover',(_0x3bd1d3,_0x34263b)=>{if(this[_0xf120('0x11a')])return;const _0x5ca4f6=this[_0xf120('0xc9')](_0x34263b[_0xf120('0x87')]),_0x9f16c3=this[_0xf120('0x109')]['get'](_0x5ca4f6);_0x9f16c3?(this[_0xf120('0x4b')]={'x':_0x34263b[_0xf120('0x123')]['x'],'y':_0x34263b[_0xf120('0x123')]['y']},this[_0xf120('0x99')]=this[_0xf120('0x73')](_0x9f16c3)):(this['_activeViewTarget']=null,this[_0xf120('0x99')]=null);}),this[_0xf120('0x33')](this[_0xf120('0x2f')][_0xf120('0x114')][_0xf120('0xd1')][_0xf120('0x23')],'mousedown',(_0x339b82,_0x3148da)=>{const _0x177895=this[_0xf120('0xc9')](_0x3148da[_0xf120('0x87')]),_0x4319c0=this[_0xf120('0x109')][_0xf120('0x5c')](_0x177895);_0x4319c0?(this[_0xf120('0x4b')]={'x':_0x3148da[_0xf120('0x123')]['x'],'y':_0x3148da[_0xf120('0x123')]['y']},_0x4319c0===this['activeChange']?this['_balloon']['updatePosition']():this[_0xf120('0x11a')]=_0x4319c0):(this[_0xf120('0x4b')]=null,this[_0xf120('0x11a')]=null);});}[_0xf120('0xc9')](_0x222eff){do{const _0x40323d=_0x222eff[_0xf120('0x41')](_0xf120('0xbc'));if(_0x40323d)return _0x40323d;_0x222eff=_0x222eff[_0xf120('0xc4')];}while(_0x222eff);return null;}[_0xf120('0xe1')](){this[_0xf120('0x2f')]['model'][_0xf120('0x101')](_0x485dad=>{for(const _0x1d83ae of this['editor'][_0xf120('0x10f')]['markers'])_0x485dad[_0xf120('0xbf')](_0x1d83ae);});}}function et(_0x3703ed,_0x20f753){return(_0x49695b,_0x27325c,_0x51509e)=>{if(!_0x51509e['consumable']['test'](_0x27325c[_0xf120('0xd')],_0x49695b['name']))return;const _0x307b49=_0x27325c['markerRange'][_0xf120('0xc6')](),_0x24bd83=_0x27325c['markerRange'][_0xf120('0x5e')],_0x548159=_0x3703ed[_0xf120('0x10f')][_0xf120('0x107')];let _0x1b6fcb=null,_0x7b53c9=null,_0x97db64=!0x1,_0x1b1a26=!0x1;for(const _0x149680 of _0x307b49){const _0x21ae50=_0x149680[_0xf120('0x45')];_0x97db64=_0x97db64||_0x548159['isContent'](_0x21ae50);const _0x5d2c60=_0x51509e[_0xf120('0x1f')][_0xf120('0x90')](_0x21ae50);if(_0x5d2c60&&_0x5d2c60[_0xf120('0x95')]('addHighlight'))return;_0xf120('0x31')==_0x149680[_0xf120('0x7d')]&&(_0x548159[_0xf120('0x7f')](_0x21ae50)&&!_0x548159['isLimit'](_0x21ae50)&&(_0x21ae50[_0xf120('0xf9')]||_0x24bd83['isAtEnd']?_0x1b6fcb&&_0x1b6fcb[_0xf120('0xc4')]==_0x21ae50||(_0x1b6fcb=_0x21ae50,_0x2215e0(_0x149680['previousPosition']),_0x1b1a26=!0x0):_0x7b53c9=_0x7b53c9||_0x149680[_0xf120('0xa0')]));}function _0x2215e0(_0x1dbcd6){const _0x162cdc=_0x51509e[_0xf120('0x1f')][_0xf120('0x76')](_0x1dbcd6),_0x3c8e40=_0x51509e[_0xf120('0xbb')][_0xf120('0x51')](_0xf120('0xcf'),{'class':_0xf120('0xcc')+_0x20f753});_0x51509e['writer'][_0xf120('0x8c')](_0x162cdc,_0x3c8e40),_0x51509e[_0xf120('0x1f')][_0xf120('0xd3')](_0x3c8e40,_0x27325c['markerName']);}_0x97db64||_0x1b1a26||!_0x7b53c9||_0x2215e0(_0x7b53c9);};}export class RestoreRevisionCommand extends _0x3c975e{constructor(_0x3795d6){super(_0x3795d6);const _0x58b6c5=_0x3795d6[_0xf120('0x112')][_0xf120('0x5c')](d);this[_0xf120('0x42')]=!0x1,this['listenTo'](_0x58b6c5,_0xf120('0x2b'),()=>this[_0xf120('0x70')]()),this['listenTo'](_0x58b6c5,_0xf120('0x91'),()=>this['refresh']());}[_0xf120('0x4c')](){const _0x1069a9=this[_0xf120('0x2f')],_0x295b15=_0x1069a9[_0xf120('0x112')]['get'](d),_0x2a296d=_0x295b15[_0xf120('0xfb')]?_0x295b15[_0xf120('0xc2')][_0xf120('0x39')]:null;_0x1069a9[_0xf120('0x108')][_0xf120('0x5c')](_0xf120('0xe9'))[_0xf120('0xae')](_0x2a296d);}[_0xf120('0x70')](){const {isReady:_0x4d024e,isEnabled:_0x53f696}=this[_0xf120('0x2f')][_0xf120('0x112')][_0xf120('0x5c')](d);this[_0xf120('0x24')]=_0x4d024e&&_0x53f696;}}export class ShowChangeCommand extends _0x3c975e{constructor(_0x37e10b,{direction:_0x48d705}){super(_0x37e10b);const _0x4445cc=_0x37e10b[_0xf120('0x112')][_0xf120('0x5c')](d);this[_0xf120('0x42')]=!0x1,this['_step']='forward'===_0x48d705?0x1:-0x1,this[_0xf120('0x33')](_0x4445cc,'change:isReady',()=>this[_0xf120('0x70')]()),this[_0xf120('0x33')](_0x4445cc,_0xf120('0x91'),()=>this[_0xf120('0x70')]()),this[_0xf120('0x33')](_0x4445cc,'change:activeChange',()=>this[_0xf120('0x70')]());}[_0xf120('0x4c')](){const _0x263d81=this[_0xf120('0x2f')],_0x41a292=_0x263d81['plugins'][_0xf120('0x5c')](d),{isNavigationMode:_0x57bbb7,currentChangeNumber:_0x1dd39a}=_0x41a292;let _0x2e416c;if(_0x41a292[_0xf120('0x11a')]=_0x57bbb7?_0x41a292[_0xf120('0xc2')][_0xf120('0xcd')]['get'](_0x1dd39a+this[_0xf120('0x119')]):_0x41a292[_0xf120('0xc2')][_0xf120('0xcd')]['first'],_0x41a292[_0xf120('0x11a')][_0xf120('0x5f')][_0xf120('0xf4')])_0x2e416c=_0x263d81[_0xf120('0x114')][_0xf120('0xd1')][_0xf120('0x37')](_0x41a292[_0xf120('0x11a')][_0xf120('0x100')]);else{const _0x2c94ff=_0x263d81[_0xf120('0x10f')][_0xf120('0x6a')][_0xf120('0x5c')](_0xf120('0xed')+_0x41a292[_0xf120('0x11a')]['id']);_0x2e416c=_0x511d68(_0x263d81[_0xf120('0x114')],_0x2c94ff);}_0x3ffbc9({'target':_0x2e416c,'viewportOffset':0x28});}[_0xf120('0x70')](){const {isNavigationMode:_0x1ea3c8,currentChangeNumber:_0x46ddd2,numberOfChanges:_0x262a9d,isReady:_0x520caa,isEnabled:_0x48d07f}=this[_0xf120('0x2f')][_0xf120('0x112')]['get'](d);this[_0xf120('0x24')]=!!(_0x48d07f&&_0x520caa&&_0x262a9d)&&(!_0x1ea3c8||(0x1===this[_0xf120('0x119')]?_0x46ddd2<_0x262a9d-0x1:_0x46ddd2>0x0));}}
23
+ const _0x433d=['children','listenTo','RevisionViewer','isNavigationMode','nextPosition','removeAttribute','toViewElement','findIndex','suggestion:','_changeIdToChange','showNextChange','removeClass','_setChanges','diffData','_markInsertions','isSuggestion','isInline','_balloon','WidgetToolbarRepository','currentChangeNumber','dataToMarker','activeChange','_makeTape','addClass','editing','init','suggestion','first','isBlock','attributes','resolve','startsWith','split','push','_fixObsoleteTags','_getViewForChange','_getChangeFromId','RevisionsRepository','elementEnd','ck-suggestion-marker--active','_getDiff','locale','ck-revision-history-root-','requires','_activeViewTarget','getDomRoot','merge','domEvent','plugins','insert','concat','upcast','_makeModelFromViewString','revision-suggestion','commands','editor','element:pre','nodeAfter','target','add','downcastDispatcher','left','mapper','isBefore','data','shift','createUIElement','_findChangeIdFromDomTarget','revision:','modelRange','changes','elementToAttribute','getAttribute','markerNameToElements','_setDistance','_appendChild','ck-suggestion-marker-merge','repository','isRemoveSuggestion','diff','revision-end','clear','markersStart','_initInteractions','range','revision-viewer','schema','isOnRoot','text','type','change:activeView','unbindElementFromMarkerName','pop','highest','_makeModelFromTape','showStack','getIndex','getAttributes','isAtStart','isEqual','isAtEnd','activeView','markerRange','index','_threeWayMerge','level','forEach','side','getChild','for','oldRevisionId','_data','getRevision','mousedown','change','markerName','config','ck-editor__editable__overlay','bind','authors','set','refresh','_markMarkers','getRoot','_markMismatchedRemovedTags','indexOf','getRootNames','slice','parent','_getViewObj','addRoot','addHighlight','createRange','reconvertMarker','_sortAndFilterDiffChanges','isAfter','start','isObject','checkAttribute','error','_cleanMarkers','forward','splice','model','endIndex','_getRevisionsRange','ck-suggestion-marker-','_update','ck-suggestion-marker','getRevisionRootsAttributes','change:activeChange','code','markers','destroy','view','getItems','removeMarker:revision','addMarker:revision-suggestion:insertion','vid_start','restoreRevisionCallback','restoreRevision','isReady','viewItem','distance','deletions','_markSuggestions','getRevisionData','roots','newRevisionId','revisionHistoryLabel','revision-start','_joinTapes','_step','abs','createPositionBefore','execute','element','maxOffset','selection','observeMarkers','changeId','hasClass','loadRevisionData','nextSibling','-new','map','deletion','POSITIVE_INFINITY','offsetSize','hasAttribute','done','_cleanUp','unshift','insertions','rootName','revisionHistory','insertion','attachChange','get','markersEnd','_removeUnsupportedChanges','catch','isAttached','adapter','userId','_setConversion','removeMarker:revision-suggestion','default','revisionHistoryAttachChange','ck-revision-history-root-remove','compare','isLimit','revision','change:isReady','item','previousPosition','data-change-id','detachRoot','_processTape','showPreviousChange','collaboration.channelId','markerToHighlight','parse','writer','remove','createPositionFromPath','change:isEnabled','useFillerType','keys','addMarker:revision','softBreak','toViewPosition','isAdded','isAddSuggestion','ck-revision-history-root--active','markerToData','processor','span','filter','bindElementToMarker','then','domConverter','enqueueChange','isIncorrect','find','ck-revision-history-root-add','test','affectsData','_refreshStartEndIndex','revision-comment:','_removeMissingPairs','vid_end','name','_removeRevisionMarkers','bottom','_revisions','vid','high','document','length','has','wrap','getWalker','mapViewToDom','addRevisionData','sort','string','consumable','top','isRemoved','pluginName','from','setAttribute','startIndex','conversion','consume','delete','dataDowncast','isEnabled','isCollapsed','pairId','_changeView','attribute:vid','toData','data-revision-','end','ck-suggestion-preview-marker','low','elementStart','includes','updatePosition','backward','attributesAfter'];(function(_0x4218a2,_0x433d0e){const _0x13560e=function(_0x13d0ad){while(--_0x13d0ad){_0x4218a2['push'](_0x4218a2['shift']());}};_0x13560e(++_0x433d0e);}(_0x433d,0x179));const _0x1356=function(_0x4218a2,_0x433d0e){_0x4218a2=_0x4218a2-0x0;let _0x13560e=_0x433d[_0x4218a2];return _0x13560e;};import{Plugin as _0x1510fd,Command as _0x2142de}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x415310}from'ckeditor5/src/utils';import{ContextualBalloon as _0xa73b69}from'ckeditor5/src/ui';import{DocumentFragment as _0x5965bc,Element as _0x44f9e5,Text as _0x1a81de,ViewDocumentFragment as _0x525421,ViewText as _0x4bb1f1,ViewElement as _0x2f7af2,ViewContainerElement as _0x5a664e,ViewAttributeElement as _0x4c464a,ViewEmptyElement as _0x312e40,ViewRawElement as _0x58d3c1,ViewUIElement as _0x124c77}from'ckeditor5/src/engine';import{Users as _0x4cf1a5,getMarkerDomElement as _0x4f8cde}from'ckeditor5-collaboration/src/collaboration-core';import _0x11c73b from'./ui/revisionviewer/changedetailsview';import _0x42eb58 from'./revisionsrepository';import _0x341b4f from'./changeitem';import{default as _0x1770a1}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0x5d4713}from'lodash-es';const tt={'c':_0x5a664e,'a':_0x4c464a,'e':_0x312e40,'r':_0x58d3c1,'u':_0x124c77};export default class d extends _0x1510fd{static get[_0x1356('0xba')](){return _0x1356('0xd3');}static get[_0x1356('0xfc')](){return[_0x4cf1a5,_0xa73b69,_0x42eb58];}constructor(_0x10f409){super(_0x10f409),this[_0x1356('0x11e')]=this[_0x1356('0x108')]['plugins'][_0x1356('0x72')](_0x1356('0xf6')),this[_0x1356('0x24')](_0x1356('0xe6'),null),this[_0x1356('0x24')](_0x1356('0x11'),null),this['_activeViewTarget']=null,this['set'](_0x1356('0x120'),null),this[_0x1356('0x24')](_0x1356('0x4d'),!0x1),this[_0x1356('0x24')]('isEnabled',!0x0),this['on'](_0x1356('0x8e'),(_0x25e692,_0x189aa7,_0x5aa300)=>{this[_0x1356('0xe6')]=null,this[_0x1356('0x11')]=null,this['editor'][_0x1356('0xe9')]['view'][_0x1356('0x1e')](_0x4ca945=>{for(const _0x2bbadb of this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0xae')][_0x1356('0x53')])_0x5aa300?_0x4ca945[_0x1356('0xdc')](_0x1356('0x21'),_0x2bbadb):_0x4ca945[_0x1356('0xe8')](_0x1356('0x21'),_0x2bbadb);});}),this[_0x1356('0x22')](_0x1356('0xd4'))['to'](this,_0x1356('0xe6'),_0x514bff=>null!==_0x514bff),this[_0x1356('0x22')](_0x1356('0xe4'))['to'](this,'isReady',this,_0x1356('0x120'),this,_0x1356('0xe6'),(_0x363086,_0x2674c5,_0x1d5f10)=>_0x363086&&_0x1d5f10?_0x2674c5['changes']['getIndex'](_0x1d5f10):0x0),this[_0x1356('0x22')]('numberOfChanges')['to'](this,_0x1356('0x4d'),this,'diff',(_0xaf8f77,_0x5e1865)=>_0xaf8f77?_0x5e1865[_0x1356('0x117')][_0x1356('0xaf')]:0x0),this['_changeView']=null,this[_0x1356('0xda')]=new Map(),this[_0x1356('0x77')]=null,this[_0x1356('0xe2')]=this[_0x1356('0x108')][_0x1356('0x101')][_0x1356('0x72')](_0xa73b69);}[_0x1356('0xea')](){const _0x1a3ffb=this[_0x1356('0x108')],_0x244958=new ShowChangeCommand(_0x1a3ffb,{'direction':_0x1356('0xcf')}),_0x5d6a80=new ShowChangeCommand(_0x1a3ffb,{'direction':_0x1356('0x39')});(_0x1a3ffb['commands'][_0x1356('0x10c')](_0x1356('0x87'),_0x244958),_0x1a3ffb['commands'][_0x1356('0x10c')](_0x1356('0xdb'),_0x5d6a80),_0x1a3ffb[_0x1356('0x107')]['add'](_0x1356('0x4c'),new RestoreRevisionCommand(_0x1a3ffb)),this['on']('change:numberOfChanges',()=>{_0x244958[_0x1356('0x25')](),_0x5d6a80[_0x1356('0x25')]();}),this[_0x1356('0x79')](),this[_0x1356('0x124')](),_0x1a3ffb['enableReadOnlyMode'](_0x1356('0x1')),_0x1a3ffb[_0x1356('0x101')][_0x1356('0xb0')](_0x1356('0xe3')))&&_0x1a3ffb[_0x1356('0x101')][_0x1356('0x72')]('WidgetToolbarRepository')['forceDisabled'](_0x1356('0x1'));}async[_0x1356('0x52')](_0x248458){await this[_0x1356('0x62')](_0x248458);const _0x2a4056={};for(const _0x552db6 in _0x248458['diffData']){if(_0x248458[_0x1356('0xde')][_0x552db6][_0x1356('0x71')]&&!_0x248458[_0x1356('0xde')][_0x552db6][_0x1356('0x71')]['isAttached'])continue;const _0xfdc3e7=this['_removeRevisionMarkers'](JSON[_0x1356('0x8a')](_0x248458[_0x1356('0xde')][_0x552db6][_0x1356('0x6d')])),_0x2a450f=this[_0x1356('0x108')][_0x1356('0xe9')]['view']['document'],_0x51a298=new _0x525421(_0x2a450f,_0xfdc3e7[_0x1356('0x65')](_0x32e94a=>this[_0x1356('0x2d')](_0x32e94a)));this['editor'][_0x1356('0x111')][_0x1356('0x98')][_0x1356('0x8f')]('marked'),_0x2a4056[_0x552db6]=this[_0x1356('0x108')][_0x1356('0x111')]['processor'][_0x1356('0xc7')](_0x51a298),this[_0x1356('0x108')][_0x1356('0x111')][_0x1356('0x98')]['useFillerType'](_0x1356('0x7b'));}return _0x2a4056;}async[_0x1356('0x41')](_0x2b9856){await this[_0x1356('0x62')](_0x2b9856);const _0xb9a84b={};for(const _0x34da7c in _0x2b9856[_0x1356('0xde')])_0x2b9856['diffData'][_0x34da7c][_0x1356('0x71')]&&!_0x2b9856[_0x1356('0xde')][_0x34da7c][_0x1356('0x71')][_0x1356('0x76')]||(_0xb9a84b[_0x34da7c]=_0x2b9856['diffData'][_0x34da7c][_0x1356('0xd0')]||{});return _0xb9a84b;}[_0x1356('0xa9')](_0x17461e){return(_0x17461e=_0x17461e[_0x1356('0x9a')](_0x58838c=>!_0x58838c[_0x1356('0xa8')]||_0x1356('0x56')!==_0x58838c[_0x1356('0xa8')]&&_0x1356('0x121')!==_0x58838c[_0x1356('0xa8')]))[_0x1356('0x16')](_0x49b0b9=>{_0x1356('0xb6')!=typeof _0x49b0b9&&(_0x49b0b9[_0x1356('0xd1')]=this[_0x1356('0xa9')](_0x49b0b9[_0x1356('0xd1')]),_0x49b0b9[_0x1356('0xee')]=_0x49b0b9[_0x1356('0xee')][_0x1356('0x9a')](_0xde0b6a=>!_0xde0b6a[0x0]['startsWith'](_0x1356('0xc8'))));}),_0x17461e;}async[_0x1356('0x7e')](_0x21cee7,_0x5ee617,_0x413f87=!0x1){if(!this[_0x1356('0xc2')])return;const _0x591eb9=this[_0x1356('0x120')],_0x611d59=this[_0x1356('0x11e')],_0x640317=_0x1356('0xb6')==typeof _0x21cee7?_0x611d59[_0x1356('0x1c')](_0x21cee7):_0x21cee7,_0x563f90='string'==typeof _0x5ee617?_0x611d59['getRevision'](_0x5ee617):_0x5ee617,_0x3a4130=_0x640317['id'],_0x4de707=_0x563f90?_0x563f90['id']:null;if(!_0x413f87&&this['diff']&&this[_0x1356('0x120')][_0x1356('0x54')]===_0x3a4130&&this[_0x1356('0x120')][_0x1356('0x1a')]===_0x4de707)return Promise[_0x1356('0xef')]();this[_0x1356('0x4d')]=!0x1,this[_0x1356('0x11')]=null,this[_0x1356('0xe6')]=null,this['diff']=new _0x1770a1(_0x3a4130,_0x4de707);const _0x939dc2=this[_0x1356('0x3d')](_0x640317,_0x563f90,!0x0)['map'](_0xe09d50=>this[_0x1356('0x62')](_0xe09d50));return _0x939dc2[_0x1356('0xf2')](new Promise(_0x523087=>{setTimeout(_0x523087,0x14);})),Promise['all'](_0x939dc2)[_0x1356('0x9c')](()=>{if(!this[_0x1356('0xc2')])return;this[_0x1356('0x6b')]();const _0x19b56a=this[_0x1356('0xf9')](_0x3a4130,_0x4de707);for(const _0x4c5983 of _0x19b56a[_0x1356('0x117')])this['_changeIdToChange'][_0x1356('0x24')](_0x4c5983['id'],_0x4c5983);this['editor'][_0x1356('0x3b')][_0x1356('0x9e')]({'isUndoable':!0x1},_0x239ccc=>{for(const _0x2dfc59 of this['editor'][_0x1356('0x3b')][_0x1356('0xae')][_0x1356('0x2a')]())_0x239ccc[_0x1356('0x85')](_0x2dfc59);for(const _0x3aed53 of Object[_0x1356('0x90')](_0x19b56a[_0x1356('0x3b')])){const _0xf78691=_0x239ccc[_0x1356('0x2e')](_0x3aed53);for(const _0x4b40ee of Object[_0x1356('0x90')](_0x19b56a[_0x1356('0xee')][_0x3aed53]))_0x239ccc[_0x1356('0xbc')](_0x4b40ee,_0x19b56a[_0x1356('0xee')][_0x3aed53][_0x4b40ee],_0xf78691);_0x239ccc[_0x1356('0x102')](_0x19b56a[_0x1356('0x3b')][_0x3aed53],_0xf78691,0x0);}}),this['diff'][_0x1356('0xdd')](this[_0x1356('0x32')](_0x19b56a[_0x1356('0x117')])),this[_0x1356('0x4d')]=!0x0;})[_0x1356('0x75')](_0x903955=>{console[_0x1356('0x37')](_0x903955),this[_0x1356('0x6b')](),_0x591eb9&&(this['diff']=_0x591eb9),this['isReady']=!0x0;});}[_0x1356('0xb4')](_0xd7ba8,_0x3a130b){const _0x5f39a8=this[_0x1356('0x11e')]['createRevision'](_0xd7ba8);return _0x5f39a8['on']('_update',(_0x495e8b,_0x5417fc,_0x15b4de)=>_0x3a130b(_0x5417fc,_0x15b4de,_0x5f39a8)),this[_0x1356('0x11e')]['addRevision'](_0x5f39a8),_0x5f39a8;}[_0x1356('0x62')](_0x1fb722){if(!_0x1fb722||_0x1fb722[_0x1356('0xde')])return Promise[_0x1356('0xef')]();{const _0x12323f=this[_0x1356('0x108')][_0x1356('0x20')][_0x1356('0x72')](_0x1356('0x88'));return this['adapter'][_0x1356('0x1c')]({'channelId':_0x12323f,'revisionId':_0x1fb722['id']})[_0x1356('0x9c')](_0x566ba8=>{_0x1fb722[_0x1356('0x3f')]({'diffData':_0x566ba8[_0x1356('0xde')]},!0x0);});}}[_0x1356('0x6b')](){this[_0x1356('0xe6')]=null,this[_0x1356('0x38')](),this[_0x1356('0xc5')]&&this[_0x1356('0xc5')]['destroy'](),this[_0x1356('0xc5')]=null,this['_changeIdToChange'][_0x1356('0x122')](),this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0x9e')]({'isUndoable':!0x1},_0x30a7b6=>{for(const _0x50950f of this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0xae')][_0x1356('0x2a')]())_0x30a7b6['detachRoot'](_0x50950f);});}['_sortAndFilterDiffChanges'](_0x22e5ac){const _0x340bc1=[],_0x5f1db1=new Map();for(const _0x254a2c of this[_0x1356('0x108')]['model']['document'][_0x1356('0x2a')]()){const _0x13e13a=this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0xfe')](_0x254a2c);if(!_0x13e13a)continue;const _0x1fdb20=_0x13e13a['getClientRects']()[_0x1356('0x82')](0x0);_0x1fdb20&&(_0x340bc1[_0x1356('0xf2')](_0x254a2c),_0x5f1db1[_0x1356('0x24')](_0x254a2c,_0x1fdb20));}return _0x340bc1['sort']((_0x312c68,_0x4018b1)=>{const _0x41ba8c=_0x5f1db1[_0x1356('0x72')](_0x312c68),_0x1ae70c=_0x5f1db1[_0x1356('0x72')](_0x4018b1);return _0x41ba8c['y']-_0x1ae70c['y']||_0x41ba8c['x']-_0x1ae70c['x'];}),(_0x22e5ac=_0x22e5ac[_0x1356('0x9a')](_0x132aa9=>_0x340bc1[_0x1356('0xcd')](_0x132aa9[_0x1356('0x6e')])))[_0x1356('0xb5')]((_0x576e99,_0x50450c)=>_0x340bc1['indexOf'](_0x576e99[_0x1356('0x6e')])-_0x340bc1[_0x1356('0x29')](_0x50450c[_0x1356('0x6e')])),_0x22e5ac;}[_0x1356('0xe7')](_0x136bb2){const _0x29566a=Array[_0x1356('0xbb')](_0x136bb2[_0x1356('0x44')])['filter'](([_0x585b57,_0x222f7e])=>_0x585b57[_0x1356('0xf0')](_0x1356('0x115'))&&!_0x222f7e[_0x1356('0xc3')]),_0x350c16=Array[_0x1356('0xbb')](this[_0x1356('0x108')][_0x1356('0x3b')]['createRangeIn'](_0x136bb2)[_0x1356('0xb2')]({'singleCharacters':!0x0}));if(0x0!=_0x29566a[_0x1356('0xaf')])for(const _0x94d1de of _0x350c16){const [_0x26fcda,_0x4477c6]=_0x29566a[0x0],[,_0x5b24a,_0x3b61aa]=_0x26fcda[_0x1356('0xf1')](':');if(_0x4477c6['end'][_0x1356('0xf')](_0x94d1de[_0x1356('0xd5')])&&_0x29566a[_0x1356('0x112')](),(_0x94d1de[_0x1356('0x83')][_0x1356('0xf')](_0x4477c6['start'])||_0x94d1de[_0x1356('0x83')][_0x1356('0x33')](_0x4477c6['start']))&&(_0x1356('0x70')==_0x5b24a?_0x94d1de[_0x1356('0x94')]={'userId':_0x3b61aa}:_0x1356('0x66')==_0x5b24a&&(_0x94d1de['isRemoved']={'userId':_0x3b61aa})),0x0==_0x29566a[_0x1356('0xaf')])break;}return _0x350c16;}[_0x1356('0xa4')](_0x345c0a){const _0x14a1e6=new Map();for(let _0x344abb=0x0;_0x344abb<_0x345c0a[_0x1356('0xaf')];_0x344abb++)_0x1356('0x4')===_0x345c0a[_0x344abb]['type']?(_0x345c0a[_0x344abb][_0x1356('0x82')][_0x1356('0xbd')]=_0x344abb,_0x345c0a[_0x344abb][_0x1356('0x82')]['endIndex']=_0x344abb):('elementStart'===_0x345c0a[_0x344abb][_0x1356('0x5')]?_0x345c0a[_0x344abb]['item'][_0x1356('0xbd')]=_0x344abb:_0x1356('0xf7')===_0x345c0a[_0x344abb]['type']&&(_0x345c0a[_0x344abb][_0x1356('0x82')][_0x1356('0x3c')]=_0x344abb),_0x14a1e6['set'](_0x345c0a[_0x344abb]['id'],_0x344abb));for(const _0xeaf7ed of _0x14a1e6['values']())_0x1356('0xcc')===_0x345c0a[_0xeaf7ed][_0x1356('0x5')]?_0x345c0a[_0xeaf7ed][_0x1356('0x82')][_0x1356('0x3c')]=_0x14a1e6[_0x1356('0x72')](_0x345c0a[_0xeaf7ed][_0x1356('0xc4')]):'elementEnd'===_0x345c0a[_0xeaf7ed][_0x1356('0x5')]&&(_0x345c0a[_0xeaf7ed][_0x1356('0x82')][_0x1356('0xbd')]=_0x14a1e6[_0x1356('0x72')](_0x345c0a[_0xeaf7ed][_0x1356('0xc4')]));}[_0x1356('0x86')](_0x19e670){for(let _0x46282c=0x0;_0x46282c<_0x19e670[_0x1356('0xaf')];_0x46282c++){if(_0x1356('0xcc')===_0x19e670[_0x46282c][_0x1356('0x5')])_0x19e670[_0x46282c][_0x1356('0x82')][_0x1356('0xbd')]=_0x46282c;else{if(_0x1356('0xf7')===_0x19e670[_0x46282c][_0x1356('0x5')]){_0x19e670[_0x46282c]['item'][_0x1356('0x3c')]=_0x46282c;const _0xc1b05e=_0x19e670[_0x46282c][_0x1356('0x82')][_0x1356('0xbd')];_0x19e670[_0xc1b05e][_0x1356('0xc4')]=_0x19e670[_0x46282c]['id'],_0x19e670[_0x46282c][_0x1356('0xc4')]=_0x19e670[_0xc1b05e]['id'];}else _0x19e670[_0x46282c][_0x1356('0x82')][_0x1356('0xbd')]=_0x46282c,_0x19e670[_0x46282c]['item'][_0x1356('0x3c')]=_0x46282c,_0x19e670[_0x46282c][_0x1356('0xc4')]=null;}_0x19e670[_0x46282c]['markersStart']||(_0x19e670[_0x46282c][_0x1356('0x123')]=[],_0x19e670[_0x46282c]['markersEnd']=[]);}}['_markInsertions'](_0x49cffb,_0x4ccfbf){const _0x37b4b6=_0x49cffb[_0x1356('0x9a')](_0xeb86eb=>!_0xeb86eb[_0x1356('0x94')]);for(let _0x2b8d54=0x0;_0x2b8d54<_0x4ccfbf[_0x1356('0xaf')];_0x2b8d54++)_0x4ccfbf[_0x2b8d54]['isAdded']&&(_0x37b4b6[_0x2b8d54][_0x1356('0x94')]=_0x4ccfbf[_0x2b8d54][_0x1356('0x94')]);}['_makeModelFromViewString'](_0x9459c){const _0x5016a4=JSON['parse'](_0x9459c),_0x589605=this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x46')]['document'],_0x1ed4da=new _0x525421(_0x589605,_0x5016a4['map'](_0x2bf89b=>this[_0x1356('0x2d')](_0x2bf89b)));return this[_0x1356('0x108')][_0x1356('0x111')]['toModel'](_0x1ed4da);}['_getViewObj'](_0x5a2ab9){const _0x1e2288=this['editor'][_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0xae')];if(_0x1356('0xb6')==typeof _0x5a2ab9)return new _0x4bb1f1(_0x1e2288,_0x5a2ab9);{const _0x59fead=_0x5a2ab9[_0x1356('0xd1')][_0x1356('0x65')](_0x4d80e6=>this['_getViewObj'](_0x4d80e6));return new(tt[_0x5a2ab9[(_0x1356('0x5'))]]||_0x2f7af2)(_0x1e2288,_0x5a2ab9[_0x1356('0xa8')],_0x5a2ab9['attributes'],_0x59fead);}}[_0x1356('0xf9')](_0x18ff1b,_0xd445e=null){const _0x2da600=this[_0x1356('0x11e')][_0x1356('0x1c')](_0x18ff1b),_0x1f487d=_0xd445e?this['repository'][_0x1356('0x1c')](_0xd445e):null,_0x322089=this[_0x1356('0x3d')](_0x2da600,_0x1f487d),_0x1dd8b1=_0x322089[_0x322089[_0x1356('0xaf')]-0x1],_0x47e5ec=new Map(),_0x417982={'model':{},'attributes':{},'changes':[]},_0x4af11e=new Set(),_0x243b52=new Map();for(let _0x1adbea=_0x322089[_0x1356('0xaf')]-0x1;_0x1adbea>=0x0;_0x1adbea--){const _0x286999=_0x322089[_0x1adbea];for(const _0x4fc994 of Object['keys'](_0x286999['diffData']))if(_0x286999['diffData'][_0x4fc994]['attachChange']){const _0x272893=_0x286999['diffData'][_0x4fc994][_0x1356('0x71')];_0x272893[_0x1356('0x76')]?(_0x4af11e[_0x1356('0x10c')](_0x4fc994),_0x243b52[_0x1356('0xb0')](_0x4fc994)&&_0x243b52[_0x1356('0x72')](_0x4fc994)['userId']==_0x272893[_0x1356('0x78')]?_0x243b52[_0x1356('0xc0')](_0x4fc994):_0x243b52[_0x1356('0x24')](_0x4fc994,_0x272893)):_0x243b52[_0x1356('0xb0')](_0x4fc994)?(_0x4af11e[_0x1356('0xc0')](_0x4fc994),_0x243b52[_0x1356('0xc0')](_0x4fc994)):(_0x4af11e[_0x1356('0x10c')](_0x4fc994),_0x243b52[_0x1356('0x24')](_0x4fc994,_0x272893));}else _0x4af11e[_0x1356('0x10c')](_0x4fc994);}for(const _0x5005ac of _0x4af11e){const _0x15fff1=_0x243b52[_0x1356('0xb0')](_0x5005ac)&&!_0x243b52[_0x1356('0x72')](_0x5005ac)['isAttached'];let _0x28568b=_0x15fff1?_0x322089[_0x1356('0xaf')]-0x1:0x0;const _0x524d18=_0x15fff1?-0x1:0x1;for(;_0x322089[_0x28568b];){const _0x579f23=_0x322089[_0x28568b];if(_0x579f23['diffData'][_0x5005ac]){const _0x2d7f79=_0x15fff1?_0x579f23[_0x1356('0xde')][_0x5005ac]['attributesBefore']:_0x579f23[_0x1356('0xde')][_0x5005ac]['attributesAfter'];_0x417982['attributes'][_0x5005ac]=_0x2d7f79?_0x5d4713(_0x2d7f79):{};break;}_0x28568b+=_0x524d18;}}for(const _0x299ad8 of _0x322089){_0x299ad8[_0x1356('0x3b')]={};for(const _0x4d30bd of _0x299ad8[_0x1356('0x23')])_0x47e5ec[_0x1356('0x24')](_0x4d30bd['id'],_0x4d30bd);for(const _0xc92d53 of _0x4af11e){const _0x2cc636=_0x299ad8['diffData'][_0xc92d53]?_0x299ad8[_0x1356('0xde')][_0xc92d53][_0x1356('0x6d')]:'[]',_0x4070af=_0x299ad8[_0x1356('0xde')][_0xc92d53]?_0x299ad8[_0x1356('0xde')][_0xc92d53]['deletions']:'[]';_0x299ad8[_0x1356('0x3b')][_0xc92d53]={'insertions':this[_0x1356('0x105')](_0x2cc636),'deletions':this['_makeModelFromViewString'](_0x4070af)};}}for(const _0x289776 of _0x4af11e){let _0x509db2=null,_0x395ce8=0x0;const _0xe140b9=new Map(Array[_0x1356('0xbb')](_0x2da600['model'][_0x289776][_0x1356('0x6d')][_0x1356('0x44')])['filter'](([_0x24e999])=>!_0x24e999['startsWith'](_0x1356('0x115'))));let _0x2714e8=0x0;for(const _0x185873 of _0x322089){const _0x2f690b=this[_0x1356('0xe7')](_0x185873[_0x1356('0x3b')][_0x289776][_0x1356('0x6d')]);_0x185873==_0x2da600?(_0x509db2=_0x2f690b,_0x395ce8=_0x509db2['length'],_0x509db2['forEach'](_0x16a7f4=>{_0x16a7f4['id']=_0x2714e8++;}),this[_0x1356('0x86')](_0x509db2)):this[_0x1356('0xdf')](_0x509db2,_0x2f690b);const _0x143688=_0x509db2['filter'](_0x1bb6fa=>!_0x1bb6fa['isAdded'])['map'](_0x37e8f1=>_0x37e8f1['id']);let _0x5d0028=0x0;const _0x2ba334=this[_0x1356('0xe7')](_0x185873['model'][_0x289776][_0x1356('0x50')]);_0x2ba334[_0x1356('0x16')](_0x13d093=>{_0x13d093[_0x1356('0xb9')]?_0x13d093['id']=_0x395ce8++:_0x13d093['id']=_0x143688[_0x5d0028++];}),this[_0x1356('0x86')](_0x2ba334),this[_0x1356('0x11b')](_0x509db2,_0x1356('0x94')),this[_0x1356('0x11b')](_0x2ba334,_0x1356('0xb9')),_0x185873==_0x2da600&&this[_0x1356('0x26')](_0x509db2,_0xe140b9),_0x509db2=this[_0x1356('0x57')](_0x509db2,_0x2ba334),this['_refreshStartEndIndex'](_0x509db2),this[_0x1356('0x11b')](_0x509db2,'isRemoved');}_0x509db2=_0x509db2['filter'](_0x340f33=>!(_0x340f33['isAdded']&&_0x340f33[_0x1356('0xb9')]));const _0x1aae85=new Map(_0x1dd8b1[_0x1356('0x3b')][_0x289776][_0x1356('0x50')][_0x1356('0x44')]),_0x35c4e7=new Set(_0xe140b9[_0x1356('0x90')]());for(const _0x486bbf of _0x1aae85[_0x1356('0x90')]())_0x35c4e7['delete'](_0x486bbf);this[_0x1356('0x51')](_0x509db2,_0x35c4e7),this[_0x1356('0xf3')](_0x509db2),_0x509db2=this[_0x1356('0xa6')](_0x509db2),_0x509db2=this[_0x1356('0x28')](_0x509db2),_0x509db2=this[_0x1356('0x74')](_0x509db2);const {root:_0xcc135b,changes:_0x244c60}=this['_makeModelFromTape'](_0x509db2,_0x47e5ec,_0x289776);_0x417982[_0x1356('0x3b')][_0x289776]=_0xcc135b;const _0x2b7915=_0x243b52[_0x1356('0x72')](_0x289776);if(_0x2b7915){const _0x4ae081=_0x47e5ec[_0x1356('0x72')](_0x2b7915['userId']),_0x5f0c19=new _0x341b4f({'author':_0x4ae081,'type':_0x2b7915[_0x1356('0x76')]?_0x1356('0x10c'):_0x1356('0x8c'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x289776});_0x244c60['unshift'](_0x5f0c19),_0x417982['attributes'][_0x289776][_0x1356('0x7c')]=_0x5f0c19['id'];}_0x417982['changes']=_0x417982['changes'][_0x1356('0x103')](_0x244c60);}return _0x417982;}[_0x1356('0x26')](_0x4455a1,_0x4fab23){for(let _0x4e4d5e=0x0;_0x4e4d5e<_0x4455a1[_0x1356('0xaf')];_0x4e4d5e++)for(const [_0x4c87ae,_0x585d63]of _0x4fab23)_0x585d63[_0x1356('0x34')][_0x1356('0xf')](_0x4455a1[_0x4e4d5e][_0x1356('0x83')])&&_0x4455a1[_0x4e4d5e][_0x1356('0x123')][_0x1356('0xf2')](_0x4c87ae),_0x585d63[_0x1356('0xc9')]['isEqual'](_0x4455a1[_0x4e4d5e]['nextPosition'])&&_0x4455a1[_0x4e4d5e][_0x1356('0x73')][_0x1356('0xf2')](_0x4c87ae);}['_joinTapes'](_0x292a74,_0x14a524){let _0x483c04=[],_0x509338=0x0,_0x3b3361=0x0;for(;_0x509338<_0x292a74[_0x1356('0xaf')]||_0x3b3361<_0x14a524[_0x1356('0xaf')];){const _0x126e68=_0x292a74[_0x509338]||{},_0x25c853=_0x14a524[_0x3b3361]||{};if(_0x126e68['id']==_0x25c853['id'])_0x509338++,_0x3b3361++,_0x483c04[_0x1356('0xf2')](_0x126e68);else{if(_0x25c853[_0x1356('0xb9')]&&_0x126e68[_0x1356('0x94')]){const {commonTape:_0x12b7e9,iEnd:_0x550616,jEnd:_0x2683a7}=this['_threeWayMerge'](_0x292a74,_0x509338,_0x14a524,_0x3b3361);_0x483c04=_0x483c04[_0x1356('0x103')](_0x12b7e9),_0x509338=_0x550616,_0x3b3361=_0x2683a7;}else _0x25c853['isRemoved']?(_0x3b3361++,_0x483c04[_0x1356('0xf2')](_0x25c853)):(_0x509338++,_0x483c04[_0x1356('0xf2')](_0x126e68));}}return _0x483c04;}[_0x1356('0x51')](_0x230111,_0x180f08){const _0x2272f1=[];for(let _0x435d58=0x0;_0x435d58<_0x230111['length'];_0x435d58++){for(let _0x322f8b=0x0;_0x322f8b<_0x230111[_0x435d58][_0x1356('0x123')][_0x1356('0xaf')];_0x322f8b++){const _0x5ac06d=_0x230111[_0x435d58][_0x1356('0x123')][_0x322f8b];if(!_0x180f08[_0x1356('0xb0')](_0x5ac06d))continue;const {group:_0x171793,type:_0x372d64,authorId:_0x1dfbd6}=_0x3b6a02(_0x5ac06d);'revision-suggestion'!=_0x171793||_0x1356('0x70')!=_0x372d64&&_0x1356('0x66')!=_0x372d64||(_0x2272f1['unshift']({'type':_0x372d64,'name':_0x5ac06d,'userId':_0x1dfbd6}),_0x230111[_0x435d58][_0x1356('0x123')][_0x1356('0x3a')](_0x322f8b,0x1),_0x322f8b--);}_0x1ac0c4(_0x230111[_0x435d58]);for(let _0x10ae77=0x0;_0x10ae77<_0x230111[_0x435d58][_0x1356('0x73')][_0x1356('0xaf')];_0x10ae77++){const _0x2e74a0=_0x230111[_0x435d58][_0x1356('0x73')][_0x10ae77];if(!_0x180f08[_0x1356('0xb0')](_0x2e74a0))continue;const {group:_0x2c3189,type:_0xd49c02}=_0x3b6a02(_0x2e74a0);if(_0x1356('0x106')!=_0x2c3189||'insertion'!=_0xd49c02&&_0x1356('0x66')!=_0xd49c02)continue;_0x230111[_0x435d58][_0x1356('0x73')][_0x1356('0x3a')](_0x10ae77,0x1),_0x10ae77--;const _0xedd624=_0x2272f1[_0x1356('0xd8')](_0x2aeaf4=>_0x2aeaf4[_0x1356('0xa8')]==_0x2e74a0);_0xedd624>-0x1&&_0x2272f1[_0x1356('0x3a')](_0xedd624,0x1);}}function _0x3b6a02(_0x2bc3fc){const _0x1b71f5=_0x2bc3fc[_0x1356('0xf1')](':');return{'group':_0x1b71f5[0x0],'type':_0x1b71f5[0x1],'subType':_0x1b71f5[_0x1356('0xaf')]>=0x5?_0x1b71f5[0x2]:null,'id':_0x1b71f5[_0x1356('0xaf')]<0x5?_0x1b71f5[0x2]:_0x1b71f5[0x3],'authorId':_0x1b71f5['length']<0x5?_0x1b71f5[0x3]:_0x1b71f5[0x4],'markerCount':0x6==_0x1b71f5[_0x1356('0xaf')]?_0x1b71f5[0x5]:null};}function _0x1ac0c4(_0x2bef0d){for(let _0x347b0f=0x0;_0x347b0f<_0x2272f1[_0x1356('0xaf')];_0x347b0f++){if(_0x2bef0d[_0x1356('0x94')]&&_0x1356('0x70')==_0x2272f1[_0x347b0f][_0x1356('0x5')])return _0x2bef0d['isAddSuggestion']=_0x2272f1[_0x347b0f],void delete _0x2bef0d[_0x1356('0x94')];if(!_0x2bef0d[_0x1356('0x94')]&&!_0x2bef0d[_0x1356('0xb9')]&&_0x1356('0x66')==_0x2272f1[_0x347b0f][_0x1356('0x5')])return void(_0x2bef0d[_0x1356('0x11f')]=_0x2272f1[_0x347b0f]);}}}['_setDistance'](_0x50768f,_0x4f9373){let _0x315ab7=0x0,_0x3022b5=!0x1;const _0x1257c3=new Map();for(const _0xf74cb2 of _0x50768f)_0xf74cb2[_0x4f9373]?_0x3022b5&&(_0x315ab7++,_0x3022b5=!0x1):(_0x315ab7++,_0x3022b5=!0x0),_0x1257c3[_0x1356('0x24')](_0xf74cb2['id'],_0x315ab7);for(let _0x4c5b5d=0x0;_0x4c5b5d<_0x50768f['length'];_0x4c5b5d++){if(_0x1356('0xb9')==_0x4f9373&&_0x50768f[_0x4c5b5d][_0x1356('0x94')]||_0x1356('0x94')==_0x4f9373&&_0x50768f[_0x4c5b5d][_0x1356('0xb9')])continue;if(_0x1356('0x4')==_0x50768f[_0x4c5b5d][_0x1356('0x5')]){_0x50768f[_0x4c5b5d][_0x1356('0x4f')]=0x0;continue;}const _0xbf1480=_0x1257c3['get'](_0x50768f[_0x4c5b5d][_0x1356('0xc4')]),_0x566956=_0x1257c3[_0x1356('0x72')](_0x50768f[_0x4c5b5d]['id']);_0x50768f[_0x4c5b5d][_0x1356('0x4f')]=_0xbf1480-_0x566956;}}[_0x1356('0x3d')](_0x48b691,_0x5e0718,_0x230773=!0x1){const _0x51503d=[];let _0x56c7bb=this[_0x1356('0x11e')][_0x1356('0xc')](_0x48b691),_0x3e83cf=this[_0x1356('0x11e')]['getIndex'](_0x5e0718);for(-0x1==_0x3e83cf&&(_0x3e83cf=this['repository'][_0x1356('0xab')]['length'],_0x230773=!0x1);_0x56c7bb<_0x3e83cf;)_0x51503d[_0x1356('0xf2')](this[_0x1356('0x11e')]['getRevision'](_0x56c7bb)),_0x56c7bb++;return _0x230773&&_0x51503d[_0x1356('0xf2')](this[_0x1356('0x11e')][_0x1356('0x1c')](_0x56c7bb)),_0x51503d;}[_0x1356('0x14')](_0x265a86,_0x26622b,_0x37abbf,_0x26b49a){const _0x269556=this[_0x1356('0x108')]['model'][_0x1356('0x2')];let _0x3bd651=_0x26622b;for(;_0x265a86[_0x3bd651]&&_0x265a86[_0x3bd651]['isAdded'];)_0x3bd651++;let _0x3363d7=_0x26b49a;for(;_0x37abbf[_0x3363d7]&&_0x37abbf[_0x3363d7][_0x1356('0xb9')];)_0x3363d7++;_0x3e2c30(_0x265a86,_0x26622b,_0x3bd651),_0x3e2c30(_0x37abbf,_0x26b49a,_0x3363d7);const _0x376e13=_0x37abbf['slice'](_0x26b49a,_0x3363d7)[_0x1356('0x103')](_0x265a86[_0x1356('0x2b')](_0x26622b,_0x3bd651));return _0x376e13[_0x1356('0xb5')]((_0x2ccb08,_0x48ce64)=>_0x2ccb08[_0x1356('0x17')]!=_0x48ce64['side']?_0x2ccb08[_0x1356('0x17')]-_0x48ce64['side']:_0x2ccb08[_0x1356('0x15')]!=_0x48ce64[_0x1356('0x15')]?_0x2ccb08[_0x1356('0x15')]-_0x48ce64[_0x1356('0x15')]:_0x2ccb08[_0x1356('0x4f')]!=_0x48ce64['distance']?_0x48ce64[_0x1356('0x4f')]-_0x2ccb08['distance']:!!_0x2ccb08['isAdded']!=!!_0x48ce64[_0x1356('0x94')]?-0x1==_0x2ccb08[_0x1356('0x17')]||0x0==_0x2ccb08[_0x1356('0x17')]?_0x2ccb08[_0x1356('0x94')]?-0x1:0x1:_0x2ccb08[_0x1356('0x94')]?0x1:-0x1:_0x2ccb08[_0x1356('0x13')]-_0x48ce64[_0x1356('0x13')]),{'commonTape':_0x376e13,'iEnd':_0x3bd651,'jEnd':_0x3363d7};function _0x3e2c30(_0x1b13a8,_0x5a48d2,_0x5b1c8d){let _0x57eb6d=-0x1,_0x39bdcb=Number[_0x1356('0x67')],_0x235db2=!0x0;for(let _0x3381e7=_0x5a48d2;_0x3381e7<_0x5b1c8d;_0x3381e7++)if(_0x269556[_0x1356('0xe1')](_0x1b13a8[_0x3381e7][_0x1356('0x82')])||(_0x235db2=!0x1),_0x1b13a8[_0x3381e7]['item'][_0x1356('0xbd')]<_0x5a48d2&&(_0x57eb6d=_0x3381e7),_0x1b13a8[_0x3381e7][_0x1356('0x82')]['endIndex']>=_0x5b1c8d){_0x39bdcb=_0x3381e7;break;}_0x235db2&&(_0x57eb6d=_0x5b1c8d-0x1);for(let _0x2aefd4=_0x5a48d2;_0x2aefd4<_0x5b1c8d;_0x2aefd4++)_0x1b13a8[_0x2aefd4][_0x1356('0x17')]=_0x2aefd4<=_0x57eb6d?-0x1:_0x2aefd4<_0x39bdcb?0x0:0x1,_0x1b13a8[_0x2aefd4]['index']=_0x2aefd4;let _0x572d85=0x0;for(let _0x22043b=_0x5a48d2;_0x22043b<=_0x57eb6d;_0x22043b++)0x0==_0x1b13a8[_0x22043b][_0x1356('0x4f')]?_0x1b13a8[_0x22043b]['level']=_0x572d85:(_0x572d85++,_0x1b13a8[_0x22043b]['level']=_0x572d85,_0x572d85++);for(let _0xc47708=_0x5a48d2;_0xc47708<_0x5b1c8d;_0xc47708++)0x0==_0x1b13a8[_0xc47708][_0x1356('0x17')]&&(_0x1b13a8[_0xc47708]['level']=_0x572d85);_0x572d85=0x0;for(let _0x5f2d1e=_0x5b1c8d-0x1;_0x5f2d1e>=_0x39bdcb;_0x5f2d1e--)0x0==_0x1b13a8[_0x5f2d1e]['distance']?_0x1b13a8[_0x5f2d1e][_0x1356('0x15')]=_0x572d85:(_0x572d85--,_0x1b13a8[_0x5f2d1e][_0x1356('0x15')]=_0x572d85,_0x572d85--);}}[_0x1356('0xf3')](_0x220351){const _0x6536c5=new Map(),_0x3bf076=this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0x2')];for(let _0x117b00=0x1;_0x117b00<_0x220351[_0x1356('0xaf')];_0x117b00++){let _0x50879d,_0x1e0367,_0x5abe14;const _0x19aa5e=_0x220351[_0x117b00],_0x44773f=_0x220351[_0x117b00-0x1];if(_0x1356('0x4')==_0x19aa5e[_0x1356('0x5')])continue;if(_0x19aa5e['type']!=_0x44773f['type'])continue;if(!_0x3bf076['isBlock'](_0x44773f['item'])||_0x3bf076[_0x1356('0x7f')](_0x44773f[_0x1356('0x82')]))continue;if(!_0x3bf076[_0x1356('0xed')](_0x19aa5e[_0x1356('0x82')])||_0x3bf076[_0x1356('0x7f')](_0x19aa5e[_0x1356('0x82')]))continue;if((_0x220351[_0x117b00][_0x1356('0x94')]||_0x220351[_0x117b00]['isAddSuggestion'])&&_0x220351[_0x117b00-0x1][_0x1356('0xb9')])_0x50879d=_0x220351[_0x117b00],_0x1e0367=_0x220351[_0x117b00-0x1],_0x5abe14=_0x117b00-0x1;else{if(!_0x220351[_0x117b00]['isRemoved']||!_0x220351[_0x117b00-0x1]['isAdded']&&!_0x220351[_0x117b00-0x1][_0x1356('0x95')])continue;_0x50879d=_0x220351[_0x117b00-0x1],_0x1e0367=_0x220351[_0x117b00],_0x5abe14=_0x117b00;}const _0x45e288=_0x50879d[_0x1356('0x15')]==_0x1e0367['level'],_0x276f30=Math['abs'](_0x50879d[_0x1356('0x15')])<Math[_0x1356('0x59')](_0x1e0367[_0x1356('0x15')])&&0x0==_0x1e0367[_0x1356('0x4f')];(_0x45e288||_0x276f30)&&(_0x6536c5['set'](_0x1e0367['id'],_0x50879d['id']),_0x220351[_0x1356('0x3a')](_0x5abe14,0x1),_0x117b00--,_0x50879d[_0x1356('0x94')]=!0x1);}for(let _0x8f0a06=0x0;_0x8f0a06<_0x220351[_0x1356('0xaf')];_0x8f0a06++)_0x6536c5['has'](_0x220351[_0x8f0a06][_0x1356('0xc4')])&&(_0x220351[_0x8f0a06]['pairId']=_0x6536c5[_0x1356('0x72')](_0x220351[_0x8f0a06][_0x1356('0xc4')]));}[_0x1356('0xa6')](_0x4f39e8){const _0x5182e8=new Set(_0x4f39e8[_0x1356('0x65')](_0x58b7d6=>_0x58b7d6['id']));for(let _0x1a6a97=0x0;_0x1a6a97<_0x4f39e8['length'];_0x1a6a97++)_0x5182e8['has'](_0x4f39e8[_0x1a6a97]['pairId'])||0x0==_0x4f39e8[_0x1a6a97][_0x1356('0x4f')]||(_0x4f39e8[_0x1a6a97]['isIncorrect']=!0x0);return _0x4f39e8['filter'](_0x10a463=>!_0x10a463[_0x1356('0x9f')]);}[_0x1356('0x28')](_0x4ed539){const _0x3324bb=new Set();for(let _0x4ea9ca=0x0;_0x4ea9ca<_0x4ed539['length'];_0x4ea9ca++){if(_0x3324bb[_0x1356('0xb0')](_0x4ed539[_0x4ea9ca]['id'])&&_0x4ed539[_0x4ea9ca][_0x1356('0xb9')]&&(_0x4ed539[_0x4ea9ca][_0x1356('0x9f')]=!0x0),_0x4ed539[_0x4ea9ca][_0x1356('0x9f')])continue;if(0x0==_0x4ed539[_0x4ea9ca]['distance'])continue;if(_0x1356('0xcc')!=_0x4ed539[_0x4ea9ca][_0x1356('0x5')])continue;if(null==_0x4ed539[_0x4ea9ca][_0x1356('0xc4')])continue;let _0x4114c0=_0x4ea9ca+0x1,_0x3756d9=0x0;for(;_0x4ed539[_0x4114c0]['id']!=_0x4ed539[_0x4ea9ca][_0x1356('0xc4')];)_0x1356('0xcc')==_0x4ed539[_0x4114c0][_0x1356('0x5')]?_0x3756d9++:_0x1356('0xf7')==_0x4ed539[_0x4114c0][_0x1356('0x5')]&&_0x3756d9--,_0x4114c0++;if(0x0!=_0x3756d9){if(_0x4ed539[_0x4ea9ca][_0x1356('0xb9')])_0x4ed539[_0x4ea9ca]['isIncorrect']=!0x0;else for(;_0x4114c0!=_0x4ea9ca;)_0x4ed539[_0x4114c0][_0x1356('0xb9')]&&0x0!=_0x4ed539[_0x4114c0][_0x1356('0x4f')]&&(_0x4ed539[_0x4114c0][_0x1356('0x9f')]=!0x0,_0x3324bb['add'](_0x4ed539[_0x4114c0][_0x1356('0xc4')])),_0x4114c0--;}}return _0x4ed539[_0x1356('0x9a')](_0x2fe780=>!_0x2fe780[_0x1356('0x9f')]);}['_removeUnsupportedChanges'](_0x2d7ed0){const _0x11fad5=this[_0x1356('0x108')]['model']['schema'];for(let _0x47648b=0x0;_0x47648b<_0x2d7ed0[_0x1356('0xaf')];_0x47648b++){if(!(_0x2d7ed0[_0x47648b][_0x1356('0x94')]||_0x2d7ed0[_0x47648b][_0x1356('0x95')]||_0x2d7ed0[_0x47648b][_0x1356('0xb9')]||_0x2d7ed0[_0x47648b][_0x1356('0x11f')]))continue;if(0x0==_0x2d7ed0[_0x47648b][_0x1356('0x4f')])continue;const _0x592a22=_0x2d7ed0[_0x47648b][_0x1356('0x82')];_0x11fad5['isBlock'](_0x592a22)||_0x11fad5['isLimit'](_0x592a22)||(_0x2d7ed0[_0x47648b][_0x1356('0x94')]&&delete _0x2d7ed0[_0x47648b][_0x1356('0x94')],_0x2d7ed0[_0x47648b][_0x1356('0x95')]&&delete _0x2d7ed0[_0x47648b][_0x1356('0x95')],_0x2d7ed0[_0x47648b][_0x1356('0x11f')]&&delete _0x2d7ed0[_0x47648b]['isRemoveSuggestion'],_0x2d7ed0[_0x47648b][_0x1356('0xb9')]&&(_0x2d7ed0[_0x47648b]['isIncorrect']=!0x0));}return _0x2d7ed0[_0x1356('0x9a')](_0x18e52e=>!_0x18e52e[_0x1356('0x9f')]);}[_0x1356('0xa')](_0x4c1383,_0x505683,_0x203cf7){const _0x5c9ee5=new _0x5965bc(),_0x465091=[],_0x3b48c4=new Map(),_0x578106=this[_0x1356('0x108')][_0x1356('0x3b')],_0x532e36=_0x578106[_0x1356('0x2')],_0x1ff7a0=[_0x5c9ee5],_0xb9c862={},_0x57fbd5={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1385a2=null;const _0x5e35a5=[0x0];for(let _0x5b6f38=0x0;_0x5b6f38<_0x4c1383['length'];_0x5b6f38++){let _0x45362b,_0x12e471;if(_0x1356('0xcc')===_0x4c1383[_0x5b6f38]['type']){_0x45362b=_0x578106['createPositionFromPath'](_0x5c9ee5,_0x5e35a5);const _0x151286=new _0x44f9e5(_0x4c1383[_0x5b6f38][_0x1356('0x82')][_0x1356('0xa8')],_0x4c1383[_0x5b6f38][_0x1356('0x82')][_0x1356('0xd')]());_0x1ff7a0[0x0][_0x1356('0x11c')](_0x151286),_0x5e35a5[_0x1356('0xf2')](0x0),_0x1ff7a0[_0x1356('0x6c')](_0x151286),_0x12e471=_0x578106[_0x1356('0x8d')](_0x5c9ee5,_0x5e35a5),_0x1385a2=null;}else{if(_0x1356('0xf7')===_0x4c1383[_0x5b6f38][_0x1356('0x5')])_0x1ff7a0[_0x1356('0x112')](),_0x45362b=_0x578106[_0x1356('0x8d')](_0x5c9ee5,_0x5e35a5),_0x5e35a5[_0x1356('0x8')](),_0x5e35a5[_0x5e35a5['length']-0x1]++,_0x12e471=_0x578106[_0x1356('0x8d')](_0x5c9ee5,_0x5e35a5),_0x1385a2=null;else{if(_0x45362b=_0x578106[_0x1356('0x8d')](_0x5c9ee5,_0x5e35a5),_0x1385a2&&_0x361652(_0x1385a2,_0x4c1383[_0x5b6f38][_0x1356('0x82')]))_0x1385a2[_0x1356('0x1b')]+=_0x4c1383[_0x5b6f38]['item'][_0x1356('0x111')];else{const _0x140a1f=new _0x1a81de(_0x4c1383[_0x5b6f38][_0x1356('0x82')][_0x1356('0x111')],_0x4c1383[_0x5b6f38]['item']['getAttributes']());_0x1ff7a0[0x0]['_appendChild'](_0x140a1f),_0x1385a2=_0x140a1f;}_0x5e35a5[_0x5e35a5['length']-0x1]+=_0x4c1383[_0x5b6f38][_0x1356('0x82')][_0x1356('0x68')],_0x12e471=_0x578106['createPositionFromPath'](_0x5c9ee5,_0x5e35a5);}}for(const _0x9d17c2 of _0x4c1383[_0x5b6f38]['markersStart'])_0x3b48c4[_0x1356('0x24')](_0x9d17c2,{'start':_0x45362b,'end':null});_0x22a81b(_0x1356('0x11f'),_0x5b6f38,_0x45362b,_0x12e471),_0x22a81b(_0x1356('0x95'),_0x5b6f38,_0x45362b,_0x12e471),_0x22a81b(_0x1356('0xb9'),_0x5b6f38,_0x45362b,_0x12e471),_0x22a81b('isAdded',_0x5b6f38,_0x45362b,_0x12e471);for(const _0x4cbf3b of _0x4c1383[_0x5b6f38][_0x1356('0x73')]){_0x3b48c4[_0x1356('0x72')](_0x4cbf3b)[_0x1356('0xc9')]=_0x12e471;}}for(const [_0x161707,_0x968484]of _0x3b48c4){const _0x49db64=this['editor'][_0x1356('0x3b')][_0x1356('0x30')](_0x968484[_0x1356('0x34')],_0x968484[_0x1356('0xc9')]);_0x5c9ee5[_0x1356('0x44')][_0x1356('0x24')](_0x161707,_0x49db64);}return _0x465091[_0x1356('0xb5')]((_0x97bb0e,_0x36586e)=>{const _0x9eb7cc=_0x5c9ee5[_0x1356('0x44')][_0x1356('0x72')](_0x1356('0x115')+_0x97bb0e['id']),_0xb6dc37=_0x5c9ee5[_0x1356('0x44')][_0x1356('0x72')](_0x1356('0x115')+_0x36586e['id']);return _0x9eb7cc[_0x1356('0x34')][_0x1356('0x110')](_0xb6dc37[_0x1356('0x34')])?-0x1:_0x9eb7cc[_0x1356('0x34')][_0x1356('0x33')](_0xb6dc37[_0x1356('0x34')])?0x1:_0x9eb7cc['end'][_0x1356('0x110')](_0xb6dc37[_0x1356('0xc9')])?-0x1:_0x9eb7cc['end']['isAfter'](_0xb6dc37[_0x1356('0xc9')])?0x1:_0x1356('0x10c')===_0x97bb0e[_0x1356('0x5')]?-0x1:0x1;}),{'root':_0x5c9ee5,'changes':_0x465091};function _0x22a81b(_0x933bbb,_0x5741b7,_0x23b0e1,_0x228ea6){const _0xb8a3ff=!!_0x4c1383[_0x5741b7][_0x933bbb],_0x79435b=_0xb8a3ff?_0x4c1383[_0x5741b7][_0x933bbb][_0x1356('0x78')]:null,_0x1e53f8=_0x5741b7===_0x4c1383[_0x1356('0xaf')]-0x1,_0x3cb0c6=_0x57fbd5[_0x933bbb][0x0],_0x425b56=_0x532e36[_0x1356('0x35')](_0x4c1383[_0x5741b7][_0x1356('0x82')]);!_0xb9c862[_0x933bbb]&&_0xb8a3ff?_0xb9c862[_0x933bbb]={'start':_0x23b0e1,'tapeItem':_0x4c1383[_0x5741b7],'userId':_0x79435b,'type':_0x933bbb}:_0xb9c862[_0x933bbb]&&!_0xb8a3ff?(_0xb9c862[_0x933bbb][_0x1356('0xc9')]=_0x23b0e1,_0x982b85(_0xb9c862[_0x933bbb]),_0xb9c862[_0x933bbb]=null):_0xb9c862[_0x933bbb]&&_0xb8a3ff&&_0xb9c862[_0x933bbb][_0x1356('0x78')]!==_0x79435b&&(_0xb9c862[_0x933bbb][_0x1356('0xc9')]=_0x23b0e1,_0x3cb0c6&&_0x3cb0c6[_0x1356('0x78')]===_0xb9c862[_0x933bbb][_0x1356('0x78')]||_0x982b85(_0xb9c862[_0x933bbb]),_0xb9c862[_0x933bbb]={'start':_0x23b0e1,'tapeItem':_0x4c1383[_0x5741b7],'userId':_0x79435b,'type':_0x933bbb}),_0xb9c862[_0x933bbb]&&_0x425b56&&(_0x1356('0xcc')!==_0x4c1383[_0x5741b7][_0x1356('0x5')]||_0x3cb0c6&&_0x3cb0c6[_0x1356('0x78')]===_0x79435b||_0x57fbd5[_0x933bbb]['unshift']({'userId':_0x79435b,'object':_0x4c1383[_0x5741b7][_0x1356('0x82')],'change':_0xb9c862[_0x933bbb]}),_0x1356('0xf7')===_0x4c1383[_0x5741b7]['type']&&_0x3cb0c6&&_0x3cb0c6['object']===_0x4c1383[_0x5741b7][_0x1356('0x82')]&&(_0x57fbd5[_0x933bbb][_0x1356('0x112')](),_0xb9c862[_0x933bbb]=_0x3cb0c6[_0x1356('0x1e')])),_0xb9c862[_0x933bbb]&&_0x1e53f8&&(_0xb9c862[_0x933bbb]['end']=_0x228ea6,_0x982b85(_0xb9c862[_0x933bbb]),_0xb9c862[_0x933bbb]=null);}function _0x982b85({start:_0x4b813a,end:_0x37f10a,tapeItem:_0xc2fe2f,userId:_0x297598,type:_0x4e3e25}){const _0x405ac1=_0xc2fe2f[_0x1356('0x82')],_0xda5a3c=_0x578106[_0x1356('0x2')][_0x1356('0xed')](_0x405ac1)&&!_0x578106[_0x1356('0x2')]['isLimit'](_0x405ac1),_0x31cd4c=_0x4b813a[_0x1356('0x10a')]==_0x37f10a[_0x1356('0x2c')]&&_0x37f10a[_0x1356('0xe')];if(_0xda5a3c&&_0x31cd4c)return;const _0xd42cd8=_0x578106[_0x1356('0x30')](_0x4b813a,_0x37f10a),_0x47e160=_0x505683[_0x1356('0x72')](_0x297598),_0x22bb15=new _0x341b4f({'author':_0x47e160,'type':_0x1356('0x94')==_0x4e3e25||'isAddSuggestion'==_0x4e3e25?_0x1356('0x10c'):_0x1356('0x8c'),'data':{'isSuggestion':_0x1356('0x95')==_0x4e3e25||_0x1356('0x11f')==_0x4e3e25},'createdAt':new Date(),'rootName':_0x203cf7});_0x465091[_0x1356('0xf2')](_0x22bb15),_0x5c9ee5[_0x1356('0x44')][_0x1356('0x24')](_0x1356('0x115')+_0x22bb15['id'],_0xd42cd8);}function _0x361652(_0x34f93a,_0x591215){const _0x26f99c=_0x34f93a['getAttributes'](),_0x3d474d=_0x591215[_0x1356('0xd')]();for(const _0x9c7997 of _0x26f99c){if(_0x9c7997[0x1]!==_0x591215[_0x1356('0x119')](_0x9c7997[0x0]))return!0x1;_0x3d474d['next']();}return _0x3d474d['next']()[_0x1356('0x6a')];}}[_0x1356('0x79')](){this['editor'][_0x1356('0xbe')][_0x1356('0x19')](_0x1356('0x104'))[_0x1356('0xe5')]({'view':'revision'}),this[_0x1356('0x108')][_0x1356('0xbe')][_0x1356('0x19')]('editingDowncast')[_0x1356('0x89')]({'model':_0x1356('0x80'),'view':_0x5eb7a4=>{const _0x1ce4d7=_0x5eb7a4['markerName']['split'](':')[0x1],_0x4221b5=this[_0x1356('0xf5')](_0x1ce4d7);if(!_0x4221b5)return null;const _0x1fe372=_0x1356('0x10c')==_0x4221b5[_0x1356('0x5')]?'insertion':'deletion',_0x1bfd1b=[_0x1356('0x40'),_0x1356('0x3e')+_0x1fe372];return _0x4221b5[_0x1356('0x111')][_0x1356('0xe0')]&&_0x1bfd1b[_0x1356('0xf2')](_0x1356('0x3e')+_0x1fe372+_0x1356('0x64')),this['activeChange']==_0x4221b5&&_0x1bfd1b[_0x1356('0xf2')](_0x1356('0xf8')),{'classes':_0x1bfd1b,'attributes':{'data-change-id':_0x1ce4d7}};}}),this[_0x1356('0x108')][_0x1356('0xbe')]['for'](_0x1356('0x104'))[_0x1356('0x10c')](_0x43eb45=>{_0x43eb45['on'](_0x1356('0x109'),(_0x45b054,_0x3ce57c,_0x4bcabd)=>{const _0x31a305=_0x3ce57c[_0x1356('0x4e')][_0x1356('0x18')](0x0);if(!_0x31a305||!_0x31a305['is']('element',_0x1356('0x43')))return;if(!_0x4bcabd[_0x1356('0xb7')][_0x1356('0xbf')](_0x31a305,{'attributes':[_0x1356('0x4a'),_0x1356('0xa7')]}))return;const _0x3a6b71=_0x3ce57c[_0x1356('0x116')][_0x1356('0x34')][_0x1356('0x10a')];_0x4bcabd[_0x1356('0x8b')][_0x1356('0xbc')](_0x1356('0x4a'),_0x31a305[_0x1356('0x119')](_0x1356('0x4a')),_0x3a6b71),_0x4bcabd['writer'][_0x1356('0xbc')](_0x1356('0xa7'),_0x31a305[_0x1356('0x119')](_0x1356('0xa7')),_0x3a6b71);},{'priority':_0x1356('0xcb')});}),this[_0x1356('0x108')][_0x1356('0xbe')][_0x1356('0x19')](_0x1356('0x104'))['add'](_0x44aabe=>{_0x44aabe['on'](_0x1356('0x5c'),(_0x1dbd66,_0x22f2e3,_0x5ef819)=>{if(!_0x5ef819[_0x1356('0xb7')][_0x1356('0xbf')](_0x22f2e3[_0x1356('0x4e')],{'attributes':[_0x1356('0x4a'),_0x1356('0xa7')]}))return;if(_0x22f2e3[_0x1356('0x116')][_0x1356('0xc3')])return;const _0x47c657=_0x22f2e3[_0x1356('0x116')][_0x1356('0x34')][_0x1356('0x10a')];_0x47c657['hasAttribute']('vid_start')||_0x47c657[_0x1356('0x69')](_0x1356('0xac'))||(_0x5ef819[_0x1356('0x8b')][_0x1356('0xbc')]('vid_start',_0x22f2e3[_0x1356('0x4e')]['getAttribute']('vid_start'),_0x47c657),_0x5ef819[_0x1356('0x8b')][_0x1356('0xbc')](_0x1356('0xa7'),_0x22f2e3[_0x1356('0x4e')]['getAttribute'](_0x1356('0xa7')),_0x47c657));},{'priority':_0x1356('0xcb')});}),this[_0x1356('0x108')][_0x1356('0xbe')][_0x1356('0x19')]('upcast')[_0x1356('0x118')]({'view':{'name':_0x1356('0x99'),'attributes':{'vid':!0x0}},'model':{'key':_0x1356('0xac'),'value':_0x1fbbad=>_0x1fbbad['getAttribute'](_0x1356('0xac'))}}),this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0x2')]['on'](_0x1356('0x36'),(_0x18b5e4,[,_0xa2a195])=>{[_0x1356('0x4a'),_0x1356('0xa7'),_0x1356('0xac')][_0x1356('0xcd')](_0xa2a195)&&(_0x18b5e4['return']=!0x0,_0x18b5e4['stop']());},{'priority':_0x1356('0x9')}),this[_0x1356('0x108')][_0x1356('0xbe')][_0x1356('0x19')](_0x1356('0xc1'))['add'](_0x380b24=>{_0x380b24['on'](_0x1356('0xc6'),(_0x31e865,_0x55d856,_0x5b0ebf)=>{if('\x20'!=_0x55d856[_0x1356('0x82')][_0x1356('0x111')]||_0x55d856[_0x1356('0x82')][_0x1356('0x2c')][_0x1356('0x5d')]>0x1)return;if(!_0x5b0ebf[_0x1356('0xb7')][_0x1356('0xbf')](_0x55d856[_0x1356('0x82')],_0x31e865[_0x1356('0xa8')]))return;const _0x811322=_0x5b0ebf[_0x1356('0x8b')],_0x1df216=_0x5b0ebf[_0x1356('0x10f')]['toViewRange'](_0x55d856[_0x1356('0x0')]);_0x811322[_0x1356('0xb1')](_0x1df216,_0x811322['createAttributeElement'](_0x1356('0x99')));});}),this[_0x1356('0x108')][_0x1356('0xbe')][_0x1356('0x19')](_0x1356('0xc1'))[_0x1356('0x97')]({'model':'revision'}),this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x10d')]['on']('addMarker:revision',function(_0x3213d2){const _0x101157=_0x3213d2['plugins'][_0x1356('0x72')](_0x1356('0xd3'));return(_0x47966d,_0x489873,_0x198a77)=>{const _0x55e0fa=_0x489873[_0x1356('0x1f')]['split'](':')[0x1],_0x16d2f1=_0x101157['_getChangeFromId'](_0x55e0fa);if(!_0x16d2f1)return null;const _0x2f285b=_0x1356('0x10c')==_0x16d2f1[_0x1356('0x5')]?'split':_0x1356('0xff');if(!_0x198a77['consumable']['test'](_0x489873['markerRange'],_0x47966d[_0x1356('0xa8')]))return;const _0x5de258=_0x489873[_0x1356('0x12')][_0x1356('0xb2')](),_0xae65b8=_0x489873[_0x1356('0x12')]['start'],_0xdef887=_0x3213d2['model'][_0x1356('0x2')];let _0x19c20e=null,_0x21c8b9=null,_0x13744d=!0x1,_0x2f2936=!0x1;for(const _0x5cdb5c of _0x5de258){const _0x15551d=_0x5cdb5c[_0x1356('0x82')];_0x13744d=_0x13744d||_0xdef887['isContent'](_0x15551d);const _0x51f8a1=_0x198a77['mapper'][_0x1356('0xd7')](_0x15551d);if(_0x51f8a1&&_0x51f8a1['getCustomProperty'](_0x1356('0x2f')))return;_0x1356('0xf7')==_0x5cdb5c[_0x1356('0x5')]&&(_0xdef887[_0x1356('0xed')](_0x15551d)&&!_0xdef887[_0x1356('0x7f')](_0x15551d)&&(_0x15551d[_0x1356('0x63')]||_0xae65b8['isAtEnd']?_0x19c20e&&_0x19c20e[_0x1356('0x2c')]==_0x15551d||(_0x19c20e=_0x15551d,_0x16f545(_0x5cdb5c['previousPosition']),_0x2f2936=!0x0):_0x21c8b9=_0x21c8b9||_0x5cdb5c[_0x1356('0x83')]));}function _0x16f545(_0x253071){const _0x3335ac=_0x198a77[_0x1356('0x8b')]['createUIElement']('span',{'class':_0x1356('0x3e')+_0x2f285b}),_0x32fbe6=_0x198a77[_0x1356('0x10f')][_0x1356('0x93')](_0x253071);_0x16d2f1[_0x1356('0x111')][_0x1356('0xe0')]&&_0x198a77[_0x1356('0x8b')]['addClass'](_0x1356('0x3e')+_0x2f285b+_0x1356('0x64'),_0x3335ac),_0x101157['activeChange']==_0x16d2f1&&_0x198a77[_0x1356('0x8b')]['addClass']('ck-suggestion-marker--active',_0x3335ac),_0x198a77['writer'][_0x1356('0x102')](_0x32fbe6,_0x3335ac),_0x198a77[_0x1356('0x10f')]['bindElementToMarker'](_0x3335ac,_0x489873[_0x1356('0x1f')]);}_0x13744d||_0x2f2936||!_0x21c8b9||_0x16f545(_0x21c8b9);};}(this['editor']),{'priority':_0x1356('0xad')}),this[_0x1356('0x108')]['editing'][_0x1356('0x10d')]['on'](_0x1356('0x48'),(_0x28254a,_0x3e9776,_0xdaca1a)=>{const _0x8b8a7e=_0xdaca1a['mapper'][_0x1356('0x11a')](_0x3e9776[_0x1356('0x1f')]);if(_0x8b8a7e)for(const _0x95bd3 of _0x8b8a7e)(_0x95bd3[_0x1356('0x61')]('ck-suggestion-marker-split')||_0x95bd3['hasClass'](_0x1356('0x11d')))&&(_0xdaca1a[_0x1356('0x10f')][_0x1356('0x7')](_0x95bd3,_0x3e9776[_0x1356('0x1f')]),_0xdaca1a[_0x1356('0x8b')][_0x1356('0x8c')](_0x95bd3));},{'priority':_0x1356('0xad')}),this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x10d')]['on'](_0x1356('0x91'),(_0x45ce18,_0x6dc650,_0x39ed42)=>{const _0x5a7e3f=_0x6dc650[_0x1356('0x1f')][_0x1356('0xf1')](':')[0x1],_0x2cb625=this[_0x1356('0xf5')](_0x5a7e3f);if(!_0x2cb625)return null;const _0x247d5e='add'==_0x2cb625[_0x1356('0x5')]?_0x1356('0xf1'):_0x1356('0xff');if(_0x39ed42[_0x1356('0xb7')]['test'](_0x6dc650[_0x1356('0x12')],_0x45ce18[_0x1356('0xa8')]))for(const _0x2018b9 of _0x6dc650[_0x1356('0x12')][_0x1356('0x47')]()){if(!_0x2018b9['is'](_0x1356('0x5c'),_0x1356('0x92')))continue;const _0x2af1b9=_0x39ed42['writer'][_0x1356('0x113')](_0x1356('0x99'),{'class':_0x1356('0x3e')+_0x247d5e}),_0x22637e=_0x39ed42['mapper']['toViewPosition'](this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0x5a')](_0x2018b9));_0x2cb625['data'][_0x1356('0xe0')]&&_0x39ed42[_0x1356('0x8b')][_0x1356('0xe8')](_0x1356('0x3e')+_0x247d5e+_0x1356('0x64'),_0x2af1b9),this[_0x1356('0xe6')]==_0x2cb625&&_0x39ed42['writer']['addClass'](_0x1356('0xf8'),_0x2af1b9),_0x39ed42[_0x1356('0x8b')][_0x1356('0x102')](_0x22637e,_0x2af1b9),_0x39ed42['mapper'][_0x1356('0x9b')](_0x2af1b9,_0x6dc650[_0x1356('0x1f')]);}},{'priority':'high'}),this['editor']['model'][_0x1356('0xae')]['on']('change',()=>{this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0x1e')](_0x3b68ec=>{for(const _0x2ef964 of this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0xae')][_0x1356('0x2a')]()){const _0x326d41=this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0xae')][_0x1356('0x27')](_0x2ef964),_0x1a28f8=this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0xae')][_0x1356('0x27')](_0x2ef964);if(_0x1a28f8){const _0x3a41af=_0x326d41[_0x1356('0x119')](_0x1356('0x7c'));if(_0x3b68ec[_0x1356('0xd6')](_0x1356('0x84'),_0x1a28f8),_0x3b68ec[_0x1356('0xdc')](_0x1356('0xa1'),_0x1a28f8),_0x3b68ec['removeClass'](_0x1356('0x7d'),_0x1a28f8),_0x3b68ec[_0x1356('0xdc')]('ck-revision-history-root--active',_0x1a28f8),_0x3a41af){const _0x168fa1=this[_0x1356('0xf5')](_0x3a41af);if(!_0x168fa1)return null;_0x3b68ec['setAttribute'](_0x1356('0x84'),_0x3a41af,_0x1a28f8),_0x3b68ec['addClass'](_0x1356('0xfb')+_0x168fa1['type'],_0x1a28f8),this[_0x1356('0xe6')]==_0x168fa1&&_0x3b68ec[_0x1356('0xe8')]('ck-revision-history-root--active',_0x1a28f8);}}}});}),this[_0x1356('0x108')]['conversion'][_0x1356('0x19')](_0x1356('0x104'))[_0x1356('0xe5')]({'view':'comment','model':_0x118f91=>_0x1356('0xa5')+_0x118f91,'converterPriority':'highest'}),this[_0x1356('0x108')][_0x1356('0xbe')][_0x1356('0x19')](_0x1356('0x104'))[_0x1356('0xe5')]({'view':_0x1356('0xeb'),'model':_0x33b53f=>'revision-suggestion:'+_0x33b53f,'converterPriority':_0x1356('0x9')}),this[_0x1356('0x108')]['conversion']['for'](_0x1356('0xc1'))['markerToData']({'model':'revision-suggestion','view':_0x58b9e7=>({'name':_0x1356('0xd9')+_0x58b9e7,'group':'revision-suggestion'}),'converterPriority':_0x1356('0x9')}),this[_0x1356('0x108')][_0x1356('0xbe')]['for']('editingDowncast')[_0x1356('0x89')]({'model':_0x1356('0x106'),'view':_0x36a5fa=>{const _0xf766c8=_0x36a5fa[_0x1356('0x1f')]['split'](':')[0x1];return _0x1356('0x70')!=_0xf766c8&&'deletion'!=_0xf766c8?null:{'classes':[_0x1356('0xca'),'ck-suggestion-preview-marker-'+_0xf766c8]};}}),this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x10d')]['on']('addMarker:revision-suggestion:deletion',et(this[_0x1356('0x108')],_0x1356('0xff')),{'priority':_0x1356('0xad')}),this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x10d')]['on'](_0x1356('0x49'),et(this[_0x1356('0x108')],_0x1356('0xf1')),{'priority':'high'}),this[_0x1356('0x108')]['editing'][_0x1356('0x10d')]['on'](_0x1356('0x7a'),(_0xb67f2b,_0x3fb480,_0x5c2f12)=>{const _0x3b6fb3=_0x5c2f12['mapper'][_0x1356('0x11a')](_0x3fb480[_0x1356('0x1f')]);if(_0x3b6fb3)for(const _0x4ef729 of _0x3b6fb3)_0x4ef729['is']('uiElement')&&(_0x5c2f12['mapper'][_0x1356('0x7')](_0x4ef729,_0x3fb480[_0x1356('0x1f')]),_0x5c2f12[_0x1356('0x8b')]['remove'](_0x4ef729));},{'priority':_0x1356('0xad')});}[_0x1356('0xf5')](_0x49a150){return this[_0x1356('0xda')][_0x1356('0x72')](_0x49a150);}['_getViewForChange'](_0x23bd58){return this['_changeView']&&this['_changeView'][_0x1356('0x45')](),this[_0x1356('0xc5')]=new _0x11c73b(this[_0x1356('0x108')][_0x1356('0xfa')],_0x23bd58),this[_0x1356('0xc5')];}[_0x1356('0x124')](){this['editor'][_0x1356('0x3b')][_0x1356('0xae')][_0x1356('0x5e')][_0x1356('0x5f')]('revision'),this['on'](_0x1356('0x6'),(_0x30c984,_0x4524ea,_0xc90aec,_0x21c148)=>{_0x21c148&&this[_0x1356('0xe2')][_0x1356('0x8c')](_0x21c148),_0xc90aec&&(this[_0x1356('0xe2')][_0x1356('0x10c')]({'view':_0xc90aec,'stackId':_0x1356('0x55'),'position':{'target':()=>{const _0x58f68d=this[_0x1356('0x108')]['editing'],_0x5e7461=this['_getChangeFromId'](_0xc90aec[_0x1356('0x60')]);let _0x2a441f;if(_0x5e7461[_0x1356('0x111')][_0x1356('0x3')]){const _0x4435be=_0x58f68d[_0x1356('0x46')][_0x1356('0xfe')](_0x5e7461[_0x1356('0x6e')]);_0x2a441f=Array[_0x1356('0xbb')](_0x4435be['getClientRects']());}else{const _0x201d67=this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0x44')][_0x1356('0x72')](_0x1356('0x115')+_0xc90aec[_0x1356('0x60')]);_0x2a441f=Array[_0x1356('0xbb')](_0x58f68d[_0x1356('0x10f')][_0x1356('0x11a')](_0x201d67[_0x1356('0xa8')]))['map'](_0xa637f6=>_0x58f68d['view'][_0x1356('0x9d')][_0x1356('0xb3')](_0xa637f6))['map'](_0x47d305=>Array[_0x1356('0xbb')](_0x47d305['getClientRects']()))['flat']();}if(!this[_0x1356('0xfd')])return _0x2a441f[0x0];return _0x2a441f[_0x1356('0xa0')](_0x30214b=>_0x30214b[_0x1356('0xb8')]-0x3<=this[_0x1356('0xfd')]['y']&&_0x30214b[_0x1356('0xaa')]+0x3>=this[_0x1356('0xfd')]['y']&&_0x30214b[_0x1356('0x10e')]-0x3<=this[_0x1356('0xfd')]['x']&&_0x30214b['right']+0x3>=this['_activeViewTarget']['x'])||_0x2a441f[0x0];}}}),this[_0x1356('0xe2')][_0x1356('0xb')](_0x1356('0x55')));}),this['on']('change:activeChange',(_0x1bf1ff,_0x4c6367,_0x3ccc9b,_0x254767)=>{this['activeView']=_0x3ccc9b?this[_0x1356('0xf4')](_0x3ccc9b):null,this['editor'][_0x1356('0x3b')][_0x1356('0x1e')](()=>{const _0x4485c4=this[_0x1356('0x108')][_0x1356('0xe9')];_0x254767&&(_0x254767[_0x1356('0x111')][_0x1356('0x3')]?_0x4485c4[_0x1356('0x46')][_0x1356('0x1e')](_0x50a129=>{_0x50a129[_0x1356('0xdc')]('ck-revision-history-root--active',_0x4485c4['view']['document'][_0x1356('0x27')](_0x254767[_0x1356('0x6e')]));}):_0x4485c4[_0x1356('0x31')](_0x1356('0x115')+_0x254767['id'])),_0x3ccc9b&&(_0x3ccc9b[_0x1356('0x111')][_0x1356('0x3')]?_0x4485c4[_0x1356('0x46')][_0x1356('0x1e')](_0x1492ea=>{_0x1492ea[_0x1356('0xe8')](_0x1356('0x96'),_0x4485c4[_0x1356('0x46')]['document']['getRoot'](_0x3ccc9b[_0x1356('0x6e')]));}):_0x4485c4['reconvertMarker']('revision:'+_0x3ccc9b['id']));});}),this['listenTo'](this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0xae')],'mouseover',(_0x276eec,_0x2ef13e)=>{if(this[_0x1356('0xe6')])return;const _0x11cbb7=this[_0x1356('0x114')](_0x2ef13e['target']),_0x505eca=this['_changeIdToChange'][_0x1356('0x72')](_0x11cbb7);_0x505eca?(this[_0x1356('0xfd')]={'x':_0x2ef13e[_0x1356('0x100')]['x'],'y':_0x2ef13e[_0x1356('0x100')]['y']},this[_0x1356('0x11')]=this[_0x1356('0xf4')](_0x505eca)):(this[_0x1356('0xfd')]=null,this[_0x1356('0x11')]=null);}),this[_0x1356('0xd2')](this[_0x1356('0x108')][_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0xae')],_0x1356('0x1d'),(_0x315a7f,_0xa57dd6)=>{const _0x462cb0=this['_findChangeIdFromDomTarget'](_0xa57dd6[_0x1356('0x10b')]),_0x287a45=this[_0x1356('0xda')][_0x1356('0x72')](_0x462cb0);_0x287a45?(this['_activeViewTarget']={'x':_0xa57dd6['domEvent']['x'],'y':_0xa57dd6[_0x1356('0x100')]['y']},_0x287a45===this['activeChange']?this[_0x1356('0xe2')][_0x1356('0xce')]():this['activeChange']=_0x287a45):(this['_activeViewTarget']=null,this[_0x1356('0xe6')]=null);});}[_0x1356('0x114')](_0x386a65){do{const _0x26641c=_0x386a65[_0x1356('0x119')](_0x1356('0x84'));if(_0x26641c)return _0x26641c;_0x386a65=_0x386a65[_0x1356('0x2c')];}while(_0x386a65);return null;}[_0x1356('0x38')](){this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0x1e')](_0x38b9b2=>{for(const _0x2df0b0 of this[_0x1356('0x108')][_0x1356('0x3b')][_0x1356('0x44')])_0x38b9b2['removeMarker'](_0x2df0b0);});}}function et(_0x372729,_0x2b8942){return(_0x4ce533,_0x2d554d,_0x4a153e)=>{if(!_0x4a153e[_0x1356('0xb7')][_0x1356('0xa2')](_0x2d554d[_0x1356('0x12')],_0x4ce533[_0x1356('0xa8')]))return;const _0x554a01=_0x2d554d[_0x1356('0x12')][_0x1356('0xb2')](),_0x5d6415=_0x2d554d[_0x1356('0x12')][_0x1356('0x34')],_0x575170=_0x372729['model'][_0x1356('0x2')];let _0xd6ca74=null,_0x213cf8=null,_0x8aefdd=!0x1,_0xa3073c=!0x1;for(const _0x3364d7 of _0x554a01){const _0x2bdb16=_0x3364d7[_0x1356('0x82')];_0x8aefdd=_0x8aefdd||_0x575170['isContent'](_0x2bdb16);const _0x3db928=_0x4a153e[_0x1356('0x10f')]['toViewElement'](_0x2bdb16);if(_0x3db928&&_0x3db928['getCustomProperty'](_0x1356('0x2f')))return;_0x1356('0xf7')==_0x3364d7[_0x1356('0x5')]&&(_0x575170[_0x1356('0xed')](_0x2bdb16)&&!_0x575170['isLimit'](_0x2bdb16)&&(_0x2bdb16['nextSibling']||_0x5d6415[_0x1356('0x10')]?_0xd6ca74&&_0xd6ca74[_0x1356('0x2c')]==_0x2bdb16||(_0xd6ca74=_0x2bdb16,_0x29574f(_0x3364d7[_0x1356('0x83')]),_0xa3073c=!0x0):_0x213cf8=_0x213cf8||_0x3364d7[_0x1356('0x83')]));}function _0x29574f(_0x7838ec){const _0x3910db=_0x4a153e[_0x1356('0x10f')][_0x1356('0x93')](_0x7838ec),_0x58d1ab=_0x4a153e[_0x1356('0x8b')]['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2b8942});_0x4a153e[_0x1356('0x8b')]['insert'](_0x3910db,_0x58d1ab),_0x4a153e[_0x1356('0x10f')][_0x1356('0x9b')](_0x58d1ab,_0x2d554d[_0x1356('0x1f')]);}_0x8aefdd||_0xa3073c||!_0x213cf8||_0x29574f(_0x213cf8);};}export class RestoreRevisionCommand extends _0x2142de{constructor(_0x520720){super(_0x520720);const _0x4a1868=_0x520720[_0x1356('0x101')][_0x1356('0x72')](d);this[_0x1356('0xa3')]=!0x1,this[_0x1356('0xd2')](_0x4a1868,_0x1356('0x81'),()=>this[_0x1356('0x25')]()),this[_0x1356('0xd2')](_0x4a1868,_0x1356('0x8e'),()=>this[_0x1356('0x25')]());}[_0x1356('0x5b')](){const _0x1a8984=this[_0x1356('0x108')],_0x2c93ca=_0x1a8984[_0x1356('0x101')][_0x1356('0x72')](d),_0x9bca13=_0x2c93ca[_0x1356('0x4d')]?_0x2c93ca['diff'][_0x1356('0x54')]:null;_0x1a8984[_0x1356('0x20')][_0x1356('0x72')](_0x1356('0x6f'))[_0x1356('0x4b')](_0x9bca13);}[_0x1356('0x25')](){const {isReady:_0x3da10b,isEnabled:_0x45b57a}=this[_0x1356('0x108')]['plugins']['get'](d);this[_0x1356('0xc2')]=_0x3da10b&&_0x45b57a;}}export class ShowChangeCommand extends _0x2142de{constructor(_0xbff776,{direction:_0x480aee}){super(_0xbff776);const _0x30d131=_0xbff776[_0x1356('0x101')]['get'](d);this[_0x1356('0xa3')]=!0x1,this[_0x1356('0x58')]=_0x1356('0x39')===_0x480aee?0x1:-0x1,this['listenTo'](_0x30d131,_0x1356('0x81'),()=>this[_0x1356('0x25')]()),this[_0x1356('0xd2')](_0x30d131,_0x1356('0x8e'),()=>this['refresh']()),this[_0x1356('0xd2')](_0x30d131,_0x1356('0x42'),()=>this[_0x1356('0x25')]());}[_0x1356('0x5b')](){const _0x4f30c5=this[_0x1356('0x108')],_0x3c3ac5=_0x4f30c5[_0x1356('0x101')]['get'](d),{isNavigationMode:_0xa0c1db,currentChangeNumber:_0x56a8ed}=_0x3c3ac5;let _0x3a2d60;if(_0x3c3ac5[_0x1356('0xe6')]=_0xa0c1db?_0x3c3ac5[_0x1356('0x120')][_0x1356('0x117')][_0x1356('0x72')](_0x56a8ed+this[_0x1356('0x58')]):_0x3c3ac5[_0x1356('0x120')]['changes'][_0x1356('0xec')],_0x3c3ac5[_0x1356('0xe6')][_0x1356('0x111')][_0x1356('0x3')])_0x3a2d60=_0x4f30c5[_0x1356('0xe9')][_0x1356('0x46')][_0x1356('0xfe')](_0x3c3ac5[_0x1356('0xe6')][_0x1356('0x6e')]);else{const _0x329b84=_0x4f30c5[_0x1356('0x3b')][_0x1356('0x44')]['get']('revision:'+_0x3c3ac5['activeChange']['id']);_0x3a2d60=_0x4f8cde(_0x4f30c5[_0x1356('0xe9')],_0x329b84);}_0x415310({'target':_0x3a2d60,'viewportOffset':0x28});}[_0x1356('0x25')](){const {isNavigationMode:_0x173f9b,currentChangeNumber:_0x1eb768,numberOfChanges:_0x85176,isReady:_0x4baca0,isEnabled:_0x24c34f}=this['editor']['plugins']['get'](d);this[_0x1356('0xc2')]=!!(_0x24c34f&&_0x4baca0&&_0x85176)&&(!_0x173f9b||(0x1===this[_0x1356('0x58')]?_0x1eb768<_0x85176-0x1:_0x1eb768>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2449=['isOpen','_action','source','bindTemplate','button','isReady','stopPropagation','model','map','execute','children','listenTo','locale','isVisible','isActionsDropdownOpen','threeVerticalDots','first','set','listView','add','function','Show\x20more\x20items','ck-on','Name\x20this\x20revision','panelPosition','action','isEnabled','bind','name','find'];(function(_0x59669f,_0x24496b){const _0x105afa=function(_0x5650ca){while(--_0x5650ca){_0x59669f['push'](_0x59669f['shift']());}};_0x105afa(++_0x24496b);}(_0x2449,0x1db));const _0x105a=function(_0x59669f,_0x24496b){_0x59669f=_0x59669f-0x0;let _0x105afa=_0x2449[_0x59669f];return _0x105afa;};import{Collection as _0x168ffb}from'ckeditor5/src/utils';import{icons as _0x59785d}from'ckeditor5/src/core';import{Model as _0x48cd1f,addListToDropdown as _0x4a1e26,createDropdown as _0x265942}from'ckeditor5/src/ui';import{getTranslation as _0x4c207d}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x24379f,_0x5ac4db){const _0x4cacd8=_0x24379f[_0x105a('0x8')],_0x5e6640=_0x24379f[_0x105a('0x11')],_0x2a6a69=_0x265942(_0x5e6640);_0x2a6a69[_0x105a('0x1d')]='sw';const _0x84bc30=function(_0x356b82,_0x3ab065){const _0x512c6f=function(_0x42c4c5,_0x24958b){const _0x333423=_0x42c4c5[_0x105a('0x11')],_0x204064={'Compare\x20against\x20selected':_0x4c207d(_0x333423,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x4c207d(_0x333423,_0x105a('0x1c')),'Restore\x20this\x20revision':_0x4c207d(_0x333423,'Restore\x20this\x20revision')};return _0x24958b[_0x105a('0xd')](_0x235b43=>{const _0x24219f=_0x204064[_0x235b43[_0x105a('0x3')]];return _0x24219f&&_0x24219f!==_0x235b43['name']&&(_0x235b43[_0x105a('0x3')]=_0x24219f),_0x235b43;});}(_0x356b82,_0x3ab065),_0x170206=new _0x168ffb();for(const _0x246ec3 of _0x512c6f){const _0x1482d={'type':_0x105a('0x9'),'model':new _0x48cd1f({'label':_0x246ec3[_0x105a('0x3')],'class':_0x246ec3['class'],'withText':!0x0,'_action':_0x246ec3[_0x105a('0x0')]})};_0x1482d[_0x105a('0xc')][_0x105a('0x2')]('isEnabled')['to'](_0x356b82,_0x105a('0x13'),_0x504964=>_0x105a('0x19')!=typeof _0x246ec3['isEnabled']||(!_0x504964||_0x246ec3[_0x105a('0x1')](_0x356b82))),_0x170206[_0x105a('0x18')](_0x1482d);}return _0x170206;}(_0x24379f,_0x5ac4db);return _0x24379f[_0x105a('0x2')](_0x105a('0x13'))['to'](_0x2a6a69,_0x105a('0x5')),_0x2a6a69['buttonView'][_0x105a('0x16')]({'label':_0x4c207d(_0x5e6640,_0x105a('0x1a')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x59785d[_0x105a('0x14')]}),_0x2a6a69['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4cacd8['if'](_0x105a('0x13'),_0x105a('0x1b'))]},'on':{'click':_0x4cacd8['to'](_0x542c4a=>_0x542c4a[_0x105a('0xb')]())}}),_0x2a6a69['on'](_0x105a('0xe'),_0x47251f=>{_0x24379f[_0x105a('0xa')]&&'function'==typeof _0x47251f[_0x105a('0x7')][_0x105a('0x6')]&&_0x47251f['source'][_0x105a('0x6')](_0x24379f);}),_0x4a1e26(_0x2a6a69,_0x84bc30),_0x2a6a69[_0x105a('0x10')](_0x24379f,'change:isActionsDropdownOpen',(_0x32ecc4,_0x514e93,_0x1179e1)=>{if(_0x1179e1)for(const _0x49dbdf of _0x2a6a69[_0x105a('0x17')]['items']){const _0x406e79=_0x49dbdf[_0x105a('0xf')][_0x105a('0x15')],_0x44403c=_0x5ac4db[_0x105a('0x4')](_0x5a010f=>_0x5a010f[_0x105a('0x0')]===_0x406e79[_0x105a('0x6')])[_0x105a('0x12')];_0x49dbdf['isVisible']=void 0x0===_0x44403c||_0x44403c(_0x24379f);}}),_0x2a6a69;}
23
+ const _0x5601=['locale','isReady','stopPropagation','name','items','children','model','Restore\x20this\x20revision','isVisible','Name\x20this\x20revision','listenTo','ck-on','panelPosition','source','class','Compare\x20against\x20selected','threeVerticalDots','buttonView','isEnabled','find','extendTemplate','isOpen','set','ck-revision-history-sidebar__revision__actions','Show\x20more\x20items','change:isActionsDropdownOpen','function','first','listView','_action','execute','isActionsDropdownOpen'];(function(_0x2b9382,_0x5601d2){const _0x193347=function(_0x536761){while(--_0x536761){_0x2b9382['push'](_0x2b9382['shift']());}};_0x193347(++_0x5601d2);}(_0x5601,0x11b));const _0x1933=function(_0x2b9382,_0x5601d2){_0x2b9382=_0x2b9382-0x0;let _0x193347=_0x5601[_0x2b9382];return _0x193347;};import{Collection as _0x2755ce}from'ckeditor5/src/utils';import{icons as _0x388a02}from'ckeditor5/src/core';import{Model as _0x32fea3,addListToDropdown as _0x3274ef,createDropdown as _0x56f187}from'ckeditor5/src/ui';import{getTranslation as _0x28dbdd}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x57edac,_0x4de2f7){const _0x1e1929=_0x57edac['bindTemplate'],_0x5197f1=_0x57edac[_0x1933('0x5')],_0xf614ff=_0x56f187(_0x5197f1);_0xf614ff[_0x1933('0x11')]='sw';const _0x3d9dd8=function(_0x4597c7,_0x127ae3){const _0x17d8e6=function(_0x17bc80,_0x4462e4){const _0x487466=_0x17bc80[_0x1933('0x5')],_0xfc23f7={'Compare\x20against\x20selected':_0x28dbdd(_0x487466,_0x1933('0x14')),'Name\x20this\x20revision':_0x28dbdd(_0x487466,_0x1933('0xe')),'Restore\x20this\x20revision':_0x28dbdd(_0x487466,_0x1933('0xc'))};return _0x4462e4['map'](_0xcd0e7a=>{const _0x545a1a=_0xfc23f7[_0xcd0e7a[_0x1933('0x8')]];return _0x545a1a&&_0x545a1a!==_0xcd0e7a['name']&&(_0xcd0e7a['name']=_0x545a1a),_0xcd0e7a;});}(_0x4597c7,_0x127ae3),_0x138d56=new _0x2755ce();for(const _0xa6f3cd of _0x17d8e6){const _0x352f35={'type':'button','model':new _0x32fea3({'label':_0xa6f3cd[_0x1933('0x8')],'class':_0xa6f3cd[_0x1933('0x13')],'withText':!0x0,'_action':_0xa6f3cd['action']})};_0x352f35[_0x1933('0xb')]['bind'](_0x1933('0x17'))['to'](_0x4597c7,_0x1933('0x4'),_0x186892=>_0x1933('0x1f')!=typeof _0xa6f3cd[_0x1933('0x17')]||(!_0x186892||_0xa6f3cd[_0x1933('0x17')](_0x4597c7))),_0x138d56['add'](_0x352f35);}return _0x138d56;}(_0x57edac,_0x4de2f7);return _0x57edac['bind'](_0x1933('0x4'))['to'](_0xf614ff,_0x1933('0x1a')),_0xf614ff[_0x1933('0x16')][_0x1933('0x1b')]({'label':_0x28dbdd(_0x5197f1,_0x1933('0x1d')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x388a02[_0x1933('0x15')]}),_0xf614ff[_0x1933('0x19')]({'attributes':{'class':[_0x1933('0x1c'),_0x1e1929['if'](_0x1933('0x4'),_0x1933('0x10'))]},'on':{'click':_0x1e1929['to'](_0x1e287a=>_0x1e287a[_0x1933('0x7')]())}}),_0xf614ff['on'](_0x1933('0x3'),_0x2a2ae1=>{_0x57edac[_0x1933('0x6')]&&_0x1933('0x1f')==typeof _0x2a2ae1[_0x1933('0x12')][_0x1933('0x2')]&&_0x2a2ae1[_0x1933('0x12')][_0x1933('0x2')](_0x57edac);}),_0x3274ef(_0xf614ff,_0x3d9dd8),_0xf614ff[_0x1933('0xf')](_0x57edac,_0x1933('0x1e'),(_0x3a01d7,_0x4c58ef,_0x3482c9)=>{if(_0x3482c9)for(const _0x27f842 of _0xf614ff[_0x1933('0x1')][_0x1933('0x9')]){const _0x254e2b=_0x27f842[_0x1933('0xa')][_0x1933('0x0')],_0x222d14=_0x4de2f7[_0x1933('0x18')](_0x56885d=>_0x56885d['action']===_0x254e2b[_0x1933('0x2')])[_0x1933('0xd')];_0x27f842['isVisible']=void 0x0===_0x222d14||_0x222d14(_0x57edac);}}),_0xf614ff;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57b1=['Revision\x20creator','span','name','0\x200\x2011\x2010','set','Revision\x20author','setTemplate','ck-revision-history-sidebar__revision-author_creator'];(function(_0x3ed33c,_0x57b139){const _0x1de80b=function(_0x27f435){while(--_0x27f435){_0x3ed33c['push'](_0x3ed33c['shift']());}};_0x1de80b(++_0x57b139);}(_0x57b1,0x16c));const _0x1de8=function(_0x3ed33c,_0x57b139){_0x3ed33c=_0x3ed33c-0x0;let _0x1de80b=_0x57b1[_0x3ed33c];return _0x1de80b;};import{View as _0x3b3bcd,IconView as _0x4647e5}from'ckeditor5/src/ui';import{getTranslation as _0x23fc97}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x1c3c7d from'../../../theme/icons/user.svg';export default class ti extends _0x3b3bcd{constructor(_0x1d992c,_0x2f21fc,_0x2db725){super(_0x1d992c);const _0x4eaf15=new _0x4647e5();_0x4eaf15[_0x1de8('0x0')]({'content':_0x1c3c7d,'viewBox':_0x1de8('0x7')});const _0x4e0ee9=['ck','ck-revision-history-sidebar__revision-author'];_0x2db725&&_0x4e0ee9['push'](_0x1de8('0x3'));const _0x473cf2=[{'tag':_0x1de8('0x5'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x23fc97(_0x1d992c,_0x2db725?_0x1de8('0x4'):_0x1de8('0x1'))},'children':[_0x4eaf15,_0x2f21fc[_0x1de8('0x6')]]}];this[_0x1de8('0x2')]({'tag':'li','attributes':{'class':_0x4e0ee9},'children':_0x473cf2});}}
23
+ const _0x26c9=['0\x200\x2011\x2010','name','push','Revision\x20author','ck-revision-history-sidebar__revision-author_creator','set','ck-revision-history-sidebar__revision-author','setTemplate','span','ck-revision-history-sidebar__revision-author__name','Revision\x20creator'];(function(_0x19e7d5,_0x26c917){const _0x516235=function(_0x2cfdd5){while(--_0x2cfdd5){_0x19e7d5['push'](_0x19e7d5['shift']());}};_0x516235(++_0x26c917);}(_0x26c9,0xd0));const _0x5162=function(_0x19e7d5,_0x26c917){_0x19e7d5=_0x19e7d5-0x0;let _0x516235=_0x26c9[_0x19e7d5];return _0x516235;};import{View as _0x2efc32,IconView as _0x25b380}from'ckeditor5/src/ui';import{getTranslation as _0x25003a}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x37bcbc from'../../../theme/icons/user.svg';export default class ti extends _0x2efc32{constructor(_0x2b9f02,_0x47a736,_0x437478){super(_0x2b9f02);const _0x514c50=new _0x25b380();_0x514c50[_0x5162('0x6')]({'content':_0x37bcbc,'viewBox':_0x5162('0x1')});const _0x196e13=['ck',_0x5162('0x7')];_0x437478&&_0x196e13[_0x5162('0x3')](_0x5162('0x5'));const _0x3bbcec=[{'tag':_0x5162('0x9'),'attributes':{'class':['ck',_0x5162('0xa')],'title':_0x25003a(_0x2b9f02,_0x437478?_0x5162('0x0'):_0x5162('0x4'))},'children':[_0x514c50,_0x47a736[_0x5162('0x2')]]}];this[_0x5162('0x8')]({'tag':'li','attributes':{'class':_0x196e13},'children':_0x3bbcec});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1875=['ck-revision-history-sidebar__revision-name','extendTemplate','set','Revision\x20name'];(function(_0x313398,_0x187521){var _0x3c660f=function(_0x32f618){while(--_0x32f618){_0x313398['push'](_0x313398['shift']());}};_0x3c660f(++_0x187521);}(_0x1875,0x132));var _0x3c66=function(_0x313398,_0x187521){_0x313398=_0x313398-0x0;var _0x3c660f=_0x1875[_0x313398];return _0x3c660f;};import{LabeledFieldView as _0x45504a}from'ckeditor5/src/ui';import{getTranslation as _0x3a5207}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x45504a{constructor(_0x5973e7,_0x39b6c5){super(_0x5973e7,_0x39b6c5),this[_0x3c66('0x0')]({'label':_0x3a5207(_0x5973e7,_0x3c66('0x1'))}),this[_0x3c66('0x3')]({'tag':'span','attributes':{'class':[_0x3c66('0x2')]}});}}
23
+ var _0x1ca8=['Revision\x20name','span','set'];(function(_0x41f6ba,_0x1ca894){var _0x4179d6=function(_0x3d5703){while(--_0x3d5703){_0x41f6ba['push'](_0x41f6ba['shift']());}};_0x4179d6(++_0x1ca894);}(_0x1ca8,0x179));var _0x4179=function(_0x41f6ba,_0x1ca894){_0x41f6ba=_0x41f6ba-0x0;var _0x4179d6=_0x1ca8[_0x41f6ba];return _0x4179d6;};import{LabeledFieldView as _0x54daa3}from'ckeditor5/src/ui';import{getTranslation as _0x5c703d}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x54daa3{constructor(_0x19b07b,_0x255487){super(_0x19b07b,_0x255487),this[_0x4179('0x0')]({'label':_0x5c703d(_0x19b07b,_0x4179('0x1'))}),this['extendTemplate']({'tag':_0x4179('0x2'),'attributes':{'class':['ck-revision-history-sidebar__revision-name']}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c96=['uiLanguage','revisionActionsView','revisionNameView','placeholder','deselect','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__revision-wrapper','setName','isSelected','ck-reset','extendTemplate','srcElement','name','.ck-thread__remove-confirm','highlight','_revision','bindTemplate','map','ck-disabled','span','isConfirm','isEnabled','ck-revision-history-sidebar__revision_highlighted','ck-revision-history-sidebar__revision__controls-wrapper','unshift','unhighlight','isHighlighted','ck-revision-history-sidebar__actions_dropdown_open','listenTo','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','setTemplate','bind','ck-revision-history-sidebar__revision__date','220','filter','change','div','fire','ck-revision-history-sidebar__revision-authors','isActionsDropdownOpen','authors','createdAt','creator','fieldView','isReady','render','select','_createdAtFormatted','element','set','value','closest'];(function(_0x4d0a32,_0x3c96b9){const _0x5a4579=function(_0x14ceb9){while(--_0x14ceb9){_0x4d0a32['push'](_0x4d0a32['shift']());}};_0x5a4579(++_0x3c96b9);}(_0x3c96,0x1a7));const _0x5a45=function(_0x4d0a32,_0x3c96b9){_0x4d0a32=_0x4d0a32-0x0;let _0x5a4579=_0x3c96[_0x4d0a32];return _0x5a4579;};import{View as _0x3d7635,createLabeledInputText as _0x24258b}from'ckeditor5/src/ui';import{ConfirmMixin as _0x3ab3ff}from'ckeditor5-collaboration/src/collaboration-core';import _0xc5be36 from'./revisionnameview';import _0x352999 from'./revisionauthorview';import{dateToPrettyFormat as _0x454021}from'./utils';import{createActionsDropdownView as _0x163f77}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x3ab3ff(_0x3d7635){constructor(_0x2d683a,_0x75102d,_0x150675){super(_0x2d683a);const _0x745493=this[_0x5a45('0x9')],_0x5cfcd5=function(_0x1d33eb,_0x1c3fa6){const _0x55fcb6=Array['from'](_0x1c3fa6[_0x5a45('0x21')])[_0x5a45('0x1b')](_0x3f7ea9=>_0x3f7ea9!=_0x1c3fa6[_0x5a45('0x23')]);return _0x1c3fa6[_0x5a45('0x23')]&&_0x55fcb6[_0x5a45('0x11')](_0x1c3fa6[_0x5a45('0x23')]),_0x55fcb6[_0x5a45('0xa')](_0x88a680=>new _0x352999(_0x1d33eb,_0x88a680,_0x88a680==_0x1c3fa6[_0x5a45('0x23')]));}(_0x2d683a,_0x75102d);this['id']=_0x75102d['id'],this[_0x5a45('0x8')]=_0x75102d,this[_0x5a45('0x18')](_0x5a45('0x5'),'createdAt')['to'](_0x75102d),this[_0x5a45('0x18')](_0x5a45('0x28'))['to'](this,_0x5a45('0x22'),_0x380338=>_0x380338?_0x454021(_0x2d683a[_0x5a45('0x2d')],_0x380338):void 0x0),this[_0x5a45('0x2a')](_0x5a45('0x1'),!0x1),this['set'](_0x5a45('0x13'),!0x1),this['set'](_0x5a45('0x20'),!0x1),this[_0x5a45('0x2a')](_0x5a45('0x25'),!0x1),this[_0x5a45('0x2a')](_0x5a45('0xe'),!0x1),this[_0x5a45('0x2f')]=new _0xc5be36(_0x2d683a,_0x24258b),this[_0x5a45('0x2f')][_0x5a45('0x24')][_0x5a45('0x3')]({'attributes':{'maxlength':_0x5a45('0x1a')}}),this[_0x5a45('0x2f')]['fieldView'][_0x5a45('0x18')](_0x5a45('0x2b'),_0x5a45('0x30'))['to'](this,'name',_0x5a45('0x28')),this[_0x5a45('0x2f')]['bind'](_0x5a45('0xe'))['to'](this,_0x5a45('0x1'),this,_0x5a45('0xe'),(_0x2c88b9,_0x2f3113)=>_0x2c88b9&&_0x2f3113),this[_0x5a45('0x2e')]=_0x150675&&_0x150675['length']?_0x163f77(this,_0x150675):'',this[_0x5a45('0x2e')]&&this[_0x5a45('0x2e')][_0x5a45('0x18')]('isEnabled')['to'](this),this[_0x5a45('0x17')]({'tag':'div','attributes':{'class':['ck',_0x5a45('0x2'),_0x5a45('0x33'),_0x745493['if'](_0x5a45('0xd'),_0x5a45('0x16'))]},'children':[{'tag':_0x5a45('0x1d'),'attributes':{'class':['ck',_0x5a45('0x2'),'ck-revision-history-sidebar__revision',_0x745493['if'](_0x5a45('0xe'),_0x5a45('0xb'),_0x3786dd=>!_0x3786dd),_0x745493['if'](_0x5a45('0x1'),_0x5a45('0x32')),_0x745493['if'](_0x5a45('0x13'),_0x5a45('0xf')),_0x745493['if'](_0x5a45('0x20'),_0x5a45('0x14'))]},'children':[this['revisionNameView'],{'tag':_0x5a45('0xc'),'attributes':{'class':['ck',_0x5a45('0x19')]},'children':[{'text':_0x745493['to'](_0x5a45('0x28'))}]},{'tag':_0x5a45('0x1d'),'attributes':{'class':['ck',_0x5a45('0x10')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x5a45('0x1f')]},'children':_0x5cfcd5}]},this[_0x5a45('0x2e')]],'on':{'click':_0x745493['to'](_0x3806aa=>{_0x3806aa[_0x5a45('0x4')][_0x5a45('0x2c')](_0x5a45('0x6'))||this[_0x5a45('0x25')]&&this[_0x5a45('0xe')]&&this[_0x5a45('0x1e')](_0x5a45('0x27'),{'id':this['id']});})}}]});}[_0x5a45('0x26')](){super[_0x5a45('0x26')]();const _0x15e3fc=this[_0x5a45('0x2f')][_0x5a45('0x24')][_0x5a45('0x29')];this[_0x5a45('0x15')](_0x15e3fc,_0x5a45('0x1c'),()=>{this['fire'](_0x5a45('0x0'),{'id':this['id'],'name':_0x15e3fc[_0x5a45('0x2b')]});});}[_0x5a45('0x27')](){this[_0x5a45('0x1')]=!0x0;}[_0x5a45('0x31')](){this[_0x5a45('0x1')]=!0x1;}[_0x5a45('0x7')](){this[_0x5a45('0x13')]=!0x0;}[_0x5a45('0x12')](){this[_0x5a45('0x13')]=!0x1;}}
23
+ const _0x255f=['div','extendTemplate','ck-revision-history-sidebar__actions_dropdown_open','select','revisionActionsView','element','authors','ck-revision-history-sidebar__revision-authors','fire','createdAt','ck-revision-history-sidebar__revision-wrapper','bindTemplate','bind','span','name','ck-revision-history-sidebar__revision__date','from','length','closest','setTemplate','isConfirm','isEnabled','unshift','listenTo','change','isActionsDropdownOpen','isSelected','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-reset','_createdAtFormatted','set','revisionNameView','uiLanguage','map','isReady','ck-revision-history-sidebar__revision__controls-wrapper','setName','creator','ck-disabled','ck-revision-history-sidebar__revision','placeholder','fieldView','render','isHighlighted','value','220','filter'];(function(_0x3ee901,_0x255f7f){const _0x2ebdbd=function(_0x261c3f){while(--_0x261c3f){_0x3ee901['push'](_0x3ee901['shift']());}};_0x2ebdbd(++_0x255f7f);}(_0x255f,0x16c));const _0x2ebd=function(_0x3ee901,_0x255f7f){_0x3ee901=_0x3ee901-0x0;let _0x2ebdbd=_0x255f[_0x3ee901];return _0x2ebdbd;};import{View as _0x67cb2c,createLabeledInputText as _0x3c09c3}from'ckeditor5/src/ui';import{ConfirmMixin as _0x5b2512}from'ckeditor5-collaboration/src/collaboration-core';import _0x57a0a6 from'./revisionnameview';import _0x1969f8 from'./revisionauthorview';import{dateToPrettyFormat as _0x45c17b}from'./utils';import{createActionsDropdownView as _0x7ec0c5}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x5b2512(_0x67cb2c){constructor(_0x409484,_0x54815c,_0x5a59af){super(_0x409484);const _0x10de1b=this[_0x2ebd('0x17')],_0x575356=function(_0x4daab0,_0x1d6ff7){const _0x1973c3=Array[_0x2ebd('0x1c')](_0x1d6ff7[_0x2ebd('0x12')])[_0x2ebd('0xb')](_0x357686=>_0x357686!=_0x1d6ff7[_0x2ebd('0x2')]);return _0x1d6ff7[_0x2ebd('0x2')]&&_0x1973c3[_0x2ebd('0x22')](_0x1d6ff7[_0x2ebd('0x2')]),_0x1973c3[_0x2ebd('0x2d')](_0x54ff2d=>new _0x1969f8(_0x4daab0,_0x54ff2d,_0x54ff2d==_0x1d6ff7['creator']));}(_0x409484,_0x54815c);this['id']=_0x54815c['id'],this['_revision']=_0x54815c,this['bind']('name',_0x2ebd('0x15'))['to'](_0x54815c),this[_0x2ebd('0x18')]('_createdAtFormatted')['to'](this,'createdAt',_0x45ba48=>_0x45ba48?_0x45c17b(_0x409484[_0x2ebd('0x2c')],_0x45ba48):void 0x0),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this[_0x2ebd('0x2a')](_0x2ebd('0x25'),!0x1),this[_0x2ebd('0x2a')](_0x2ebd('0x2e'),!0x1),this['set'](_0x2ebd('0x21'),!0x1),this['revisionNameView']=new _0x57a0a6(_0x409484,_0x3c09c3),this[_0x2ebd('0x2b')][_0x2ebd('0x6')][_0x2ebd('0xd')]({'attributes':{'maxlength':_0x2ebd('0xa')}}),this[_0x2ebd('0x2b')]['fieldView'][_0x2ebd('0x18')](_0x2ebd('0x9'),_0x2ebd('0x5'))['to'](this,_0x2ebd('0x1a'),_0x2ebd('0x29')),this[_0x2ebd('0x2b')]['bind'](_0x2ebd('0x21'))['to'](this,_0x2ebd('0x26'),this,_0x2ebd('0x21'),(_0x3862bc,_0x439277)=>_0x3862bc&&_0x439277),this[_0x2ebd('0x10')]=_0x5a59af&&_0x5a59af[_0x2ebd('0x1d')]?_0x7ec0c5(this,_0x5a59af):'',this['revisionActionsView']&&this[_0x2ebd('0x10')][_0x2ebd('0x18')](_0x2ebd('0x21'))['to'](this),this[_0x2ebd('0x1f')]({'tag':_0x2ebd('0xc'),'attributes':{'class':['ck','ck-reset',_0x2ebd('0x16'),_0x10de1b['if'](_0x2ebd('0x20'),_0x2ebd('0x27'))]},'children':[{'tag':_0x2ebd('0xc'),'attributes':{'class':['ck',_0x2ebd('0x28'),_0x2ebd('0x4'),_0x10de1b['if']('isEnabled',_0x2ebd('0x3'),_0x38b04d=>!_0x38b04d),_0x10de1b['if'](_0x2ebd('0x26'),'ck-revision-history-sidebar__revision_selected'),_0x10de1b['if'](_0x2ebd('0x8'),'ck-revision-history-sidebar__revision_highlighted'),_0x10de1b['if'](_0x2ebd('0x25'),_0x2ebd('0xe'))]},'children':[this['revisionNameView'],{'tag':_0x2ebd('0x19'),'attributes':{'class':['ck',_0x2ebd('0x1b')]},'children':[{'text':_0x10de1b['to'](_0x2ebd('0x29'))}]},{'tag':_0x2ebd('0xc'),'attributes':{'class':['ck',_0x2ebd('0x0')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x2ebd('0x13')]},'children':_0x575356}]},this[_0x2ebd('0x10')]],'on':{'click':_0x10de1b['to'](_0x5250c1=>{_0x5250c1['srcElement'][_0x2ebd('0x1e')]('.ck-thread__remove-confirm')||this[_0x2ebd('0x2e')]&&this[_0x2ebd('0x21')]&&this[_0x2ebd('0x14')]('select',{'id':this['id']});})}}]});}['render'](){super[_0x2ebd('0x7')]();const _0x17c594=this[_0x2ebd('0x2b')][_0x2ebd('0x6')][_0x2ebd('0x11')];this[_0x2ebd('0x23')](_0x17c594,_0x2ebd('0x24'),()=>{this['fire'](_0x2ebd('0x1'),{'id':this['id'],'name':_0x17c594['value']});});}[_0x2ebd('0xf')](){this[_0x2ebd('0x26')]=!0x0;}['deselect'](){this[_0x2ebd('0x26')]=!0x1;}['highlight'](){this[_0x2ebd('0x8')]=!0x0;}['unhighlight'](){this[_0x2ebd('0x8')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa717=['toggle','isVisible','bindTemplate','button','true','click','false','span','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser','ck-hidden','ck-revision-history-sidebar__subrevision-collapser__inner'];(function(_0x28664c,_0xa717bb){const _0x552ce5=function(_0x1630ff){while(--_0x1630ff){_0x28664c['push'](_0x28664c['shift']());}};_0x552ce5(++_0xa717bb);}(_0xa717,0x10d));const _0x552c=function(_0x28664c,_0xa717bb){_0x28664c=_0x28664c-0x0;let _0x552ce5=_0xa717[_0x28664c];return _0x552ce5;};import{View as _0x424df1}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x424df1{constructor(_0x5f2815){super(_0x5f2815);const _0x4714c3=this[_0x552c('0x9')];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this['setTemplate']({'tag':'span','attributes':{'class':['ck',_0x552c('0x4'),_0x4714c3['if'](_0x552c('0x8'),_0x552c('0x5'),_0x43f652=>!_0x43f652),_0x4714c3['if'](_0x552c('0x3'),'ck-revision-history-sidebar__subrevision-collapser_collapsed')],'role':_0x552c('0xa'),'aria-pressed':_0x4714c3['to'](_0x552c('0x3'),_0x3ac7fd=>_0x3ac7fd?_0x552c('0x1'):_0x552c('0xb'))},'children':[{'tag':_0x552c('0x2'),'attributes':{'class':['ck',_0x552c('0x6')]}}],'on':{'click':_0x4714c3['to'](_0x552c('0x0'))}});}[_0x552c('0x7')](){this[_0x552c('0x3')]=!this[_0x552c('0x3')];}}
23
+ const _0x23f4=['span','ck-hidden','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser_collapsed','toggle','click','set','_isCollapsed','button','ck-revision-history-sidebar__subrevision-collapser','true'];(function(_0x2bbe24,_0x23f42a){const _0x4ff6b4=function(_0x499804){while(--_0x499804){_0x2bbe24['push'](_0x2bbe24['shift']());}};_0x4ff6b4(++_0x23f42a);}(_0x23f4,0x11b));const _0x4ff6=function(_0x2bbe24,_0x23f42a){_0x2bbe24=_0x2bbe24-0x0;let _0x4ff6b4=_0x23f4[_0x2bbe24];return _0x4ff6b4;};import{View as _0x4b971f}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x4b971f{constructor(_0x5daf57){super(_0x5daf57);const _0x108f61=this['bindTemplate'];this[_0x4ff6('0x9')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this['setTemplate']({'tag':_0x4ff6('0x3'),'attributes':{'class':['ck',_0x4ff6('0x1'),_0x108f61['if']('isVisible',_0x4ff6('0x4'),_0x825632=>!_0x825632),_0x108f61['if']('_isCollapsed',_0x4ff6('0x6'))],'role':_0x4ff6('0x0'),'aria-pressed':_0x108f61['to'](_0x4ff6('0xa'),_0x9673ff=>_0x9673ff?'false':_0x4ff6('0x2'))},'children':[{'tag':_0x4ff6('0x3'),'attributes':{'class':['ck',_0x4ff6('0x5')]}}],'on':{'click':_0x108f61['to'](_0x4ff6('0x8'))}});}[_0x4ff6('0x7')](){this['_isCollapsed']=!this[_0x4ff6('0xa')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d62=['bindTemplate','isSelected','div','ck-revision-history-sidebar__revision','setTemplate','_parentRevisionId','fire','creator','select','_createdAtFormatted','bind','set','ck-reset','uiLanguage','ck-revision-history-sidebar__revision-authors','createdAt','deselect'];(function(_0x104fed,_0x5d620e){const _0xabadf0=function(_0xf1ff3e){while(--_0xf1ff3e){_0x104fed['push'](_0x104fed['shift']());}};_0xabadf0(++_0x5d620e);}(_0x5d62,0xa8));const _0xabad=function(_0x104fed,_0x5d620e){_0x104fed=_0x104fed-0x0;let _0xabadf0=_0x5d62[_0x104fed];return _0xabadf0;};import{View as _0x11343d}from'ckeditor5/src/ui';import _0x476843 from'./revisionauthorview';import{dateToPrettyFormat as _0x2db364}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x11343d{constructor(_0x389cbf,_0x30212e,_0x19b62f){super(_0x389cbf);const _0x2b493f=this[_0xabad('0x2')];this['id']=_0x30212e['id'],this[_0xabad('0xc')]('createdAt')['to'](_0x30212e),this[_0xabad('0xd')]('isSelected',!0x1),this[_0xabad('0xc')](_0xabad('0xb'))['to'](this,_0xabad('0x0'),_0x39fb0d=>_0x39fb0d?_0x2db364(_0x389cbf[_0xabad('0xf')],_0x39fb0d):void 0x0),this[_0xabad('0x7')]=_0x19b62f,this[_0xabad('0x6')]({'tag':_0xabad('0x4'),'attributes':{'class':['ck',_0xabad('0xe'),_0xabad('0x5'),'ck-revision-history-sidebar__subrevision',_0x2b493f['if']('isSelected','ck-revision-history-sidebar__revision_selected')]},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x2b493f['to'](_0xabad('0xb'))}]},{'tag':'ul','attributes':{'class':['ck',_0xabad('0x10')]},'children':[new _0x476843(_0x389cbf,_0x30212e[_0xabad('0x9')],!0x0)]}],'on':{'click':_0x2b493f['to'](this[_0xabad('0xa')][_0xabad('0xc')](this))}});}[_0xabad('0xa')](){this[_0xabad('0x3')]=!0x0,this[_0xabad('0x8')](_0xabad('0xa'),{'parentId':this['_parentRevisionId']});}[_0xabad('0x1')](){this['isSelected']=!0x1;}}
23
+ const _0x882a=['fire','uiLanguage','bindTemplate','isSelected','_parentRevisionId','creator','ck-reset','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__revision-authors','createdAt','select','span','_createdAtFormatted','ck-revision-history-sidebar__revision__date','bind','ck-revision-history-sidebar__revision_selected','setTemplate'];(function(_0x4ebe06,_0x882aa2){const _0x46c480=function(_0x3030b4){while(--_0x3030b4){_0x4ebe06['push'](_0x4ebe06['shift']());}};_0x46c480(++_0x882aa2);}(_0x882a,0x1af));const _0x46c4=function(_0x4ebe06,_0x882aa2){_0x4ebe06=_0x4ebe06-0x0;let _0x46c480=_0x882a[_0x4ebe06];return _0x46c480;};import{View as _0x16a908}from'ckeditor5/src/ui';import _0x1d1fde from'./revisionauthorview';import{dateToPrettyFormat as _0x2f2261}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x16a908{constructor(_0x3fee3f,_0xc4c4b,_0x5f2025){super(_0x3fee3f);const _0x3d869a=this[_0x46c4('0xd')];this['id']=_0xc4c4b['id'],this[_0x46c4('0x8')](_0x46c4('0x3'))['to'](_0xc4c4b),this['set'](_0x46c4('0xe'),!0x1),this[_0x46c4('0x8')](_0x46c4('0x6'))['to'](this,'createdAt',_0x3bdf64=>_0x3bdf64?_0x2f2261(_0x3fee3f[_0x46c4('0xc')],_0x3bdf64):void 0x0),this[_0x46c4('0xf')]=_0x5f2025,this[_0x46c4('0xa')]({'tag':'div','attributes':{'class':['ck',_0x46c4('0x0'),_0x46c4('0x1'),'ck-revision-history-sidebar__subrevision',_0x3d869a['if'](_0x46c4('0xe'),_0x46c4('0x9'))]},'children':[{'tag':_0x46c4('0x5'),'attributes':{'class':['ck',_0x46c4('0x7')]},'children':[{'text':_0x3d869a['to'](_0x46c4('0x6'))}]},{'tag':'ul','attributes':{'class':['ck',_0x46c4('0x2')]},'children':[new _0x1d1fde(_0x3fee3f,_0xc4c4b[_0x46c4('0x10')],!0x0)]}],'on':{'click':_0x3d869a['to'](this['select'][_0x46c4('0x8')](this))}});}[_0x46c4('0x4')](){this[_0x46c4('0xe')]=!0x0,this[_0x46c4('0xb')](_0x46c4('0x4'),{'parentId':this['_parentRevisionId']});}['deselect'](){this[_0x46c4('0xe')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f87=['toLocaleTimeString','numeric','long'];(function(_0x591190,_0x2f8725){var _0x2483b1=function(_0x35925e){while(--_0x35925e){_0x591190['push'](_0x591190['shift']());}};_0x2483b1(++_0x2f8725);}(_0x2f87,0x1da));var _0x2483=function(_0x591190,_0x2f8725){_0x591190=_0x591190-0x0;var _0x2483b1=_0x2f87[_0x591190];return _0x2483b1;};export function dateToPrettyFormat(_0x6843d8,_0x1f2f7d){return _0x1f2f7d['toLocaleDateString'](_0x6843d8,{'month':_0x2483('0x2'),'day':'numeric'})+',\x20'+_0x1f2f7d[_0x2483('0x0')](_0x6843d8,{'hour':_0x2483('0x1'),'minute':_0x2483('0x1')});}
23
+ var _0x3ec7=['numeric','toLocaleTimeString','long'];(function(_0x2c3aa5,_0x3ec71){var _0x413861=function(_0x407fdc){while(--_0x407fdc){_0x2c3aa5['push'](_0x2c3aa5['shift']());}};_0x413861(++_0x3ec71);}(_0x3ec7,0x11d));var _0x4138=function(_0x2c3aa5,_0x3ec71){_0x2c3aa5=_0x2c3aa5-0x0;var _0x413861=_0x3ec7[_0x2c3aa5];return _0x413861;};export function dateToPrettyFormat(_0x1ac211,_0x23f9f9){return _0x23f9f9['toLocaleDateString'](_0x1ac211,{'month':_0x4138('0x2'),'day':_0x4138('0x0')})+',\x20'+_0x23f9f9[_0x4138('0x1')](_0x1ac211,{'hour':_0x4138('0x0'),'minute':_0x4138('0x0')});}