@ckeditor/ckeditor5-revision-history 35.3.2 → 35.4.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 (87) hide show
  1. package/build/revision-history.js +2 -1
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ar.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/bg.js +1 -0
  6. package/build/translations/bn.js +1 -0
  7. package/build/translations/bs.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -0
  10. package/build/translations/da.js +1 -0
  11. package/build/translations/de-ch.js +1 -0
  12. package/build/translations/de.js +1 -0
  13. package/build/translations/el.js +1 -0
  14. package/build/translations/en-au.js +1 -0
  15. package/build/translations/en-gb.js +1 -0
  16. package/build/translations/es-co.js +1 -0
  17. package/build/translations/es.js +1 -0
  18. package/build/translations/et.js +1 -0
  19. package/build/translations/fa.js +1 -0
  20. package/build/translations/fi.js +1 -0
  21. package/build/translations/fr.js +1 -0
  22. package/build/translations/gl.js +1 -0
  23. package/build/translations/he.js +1 -0
  24. package/build/translations/hi.js +1 -0
  25. package/build/translations/hr.js +1 -0
  26. package/build/translations/hu.js +1 -0
  27. package/build/translations/id.js +1 -0
  28. package/build/translations/it.js +1 -0
  29. package/build/translations/ja.js +1 -0
  30. package/build/translations/jv.js +1 -0
  31. package/build/translations/ko.js +1 -0
  32. package/build/translations/ku.js +1 -0
  33. package/build/translations/lt.js +1 -0
  34. package/build/translations/lv.js +1 -0
  35. package/build/translations/ms.js +1 -0
  36. package/build/translations/ne.js +1 -0
  37. package/build/translations/nl.js +1 -0
  38. package/build/translations/no.js +1 -0
  39. package/build/translations/pl.js +1 -0
  40. package/build/translations/pt-br.js +1 -0
  41. package/build/translations/pt.js +1 -0
  42. package/build/translations/ro.js +1 -0
  43. package/build/translations/ru.js +1 -0
  44. package/build/translations/sk.js +1 -0
  45. package/build/translations/sr-latn.js +1 -0
  46. package/build/translations/sr.js +1 -0
  47. package/build/translations/sv.js +1 -0
  48. package/build/translations/th.js +1 -0
  49. package/build/translations/tk.js +1 -0
  50. package/build/translations/tr.js +1 -0
  51. package/build/translations/tt.js +1 -0
  52. package/build/translations/ug.js +1 -0
  53. package/build/translations/uk.js +1 -0
  54. package/build/translations/ur.js +1 -0
  55. package/build/translations/vi.js +1 -0
  56. package/build/translations/zh-cn.js +1 -0
  57. package/build/translations/zh.js +1 -0
  58. package/package.json +7 -7
  59. package/src/changeitem.js +1 -1
  60. package/src/editor/revisionviewereditor.js +1 -1
  61. package/src/editor/revisionviewereditorui.js +1 -1
  62. package/src/editor/revisionviewereditoruiview.js +1 -1
  63. package/src/revision.js +1 -1
  64. package/src/revisiondiff.js +1 -1
  65. package/src/revisionhistory.js +1 -1
  66. package/src/revisionsrepository.js +1 -1
  67. package/src/revisiontracker.js +1 -1
  68. package/src/revisionviewer.js +1 -1
  69. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  70. package/src/ui/revision/revisionauthorview.js +1 -1
  71. package/src/ui/revision/revisionnameview.js +1 -1
  72. package/src/ui/revision/revisionview.js +1 -1
  73. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  74. package/src/ui/revision/subrevisionview.js +1 -1
  75. package/src/ui/revision/utils.js +1 -1
  76. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  77. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  78. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  79. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  80. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  81. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  82. package/src/ui/revisionssidebar/utils.js +1 -1
  83. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  84. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  85. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  86. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  87. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x98e0=['numberOfChanges','document','_getChangeFromId','startsWith','clear','toViewPosition','from','_step','revision','done','pairId','bindElementToMarker','getWalker','markerName','suggestion','execute','createRange','plugins','showPreviousChange','currentChangeNumber','for','removeMarker','data-revision-','isAtStart','element','refresh','revision-end','getAttributes','isBefore','isAfter','resolve','elementStart','newRevisionId','markersStart','forward','isRemoveSuggestion','_getViewForChange','_processTape','side','bind','enqueueChange','addMarker:revision-suggestion:deletion','_update','conversion','revision-suggestion','markersEnd','change:isEnabled','isAddSuggestion','addMarker:revision','listenTo','item','attribute:vid','collaboration.channelId','stop','_appendChild','findIndex','revisionHistory','destroy','isIncorrect','mouseover','type','removeMarker:revision','nextPosition','revision:','config','_refreshStartEndIndex','text','toViewElement','_initInteractions','markerToData','_getViewObj','activeView','writer','unshift','softBreak','shift','concat','upcast','nextSibling','_cleanMarkers','merge','_getRevisionsRange','next','map','editor','isContent','useFillerType','stopListening','change:isReadOnly','_joinTapes','markerRange','forceDisabled','restoreRevision','clearForceDisabled','deletions','getCustomProperty','addRevisionData','parent','getChild','isReady','createRevision','ck-suggestion-marker','isEnabled','length','revision-viewer','marked','showStack','isCollapsed','remove','toViewRange','_makeTape','offsetSize','locale','_markMarkers','test','markerToHighlight','isObject','ck-suggestion-marker-merge','ck-suggestion-marker-','splice','code','string','oldRevisionId','wrap','isAdded','set','compare','ck-suggestion-preview-marker','insertions','modelRange','getRootNames','ck-editor__editable__overlay','isSuggestion','keys','getIndex','repository','_removeMissingPairs','_findChangeIdFromDomTarget','commands','schema','processor','comment','markerNameToElements','isRemoved','endIndex','editing','_threeWayMerge','diffData','level','dataDowncast','userId','delete','reconvertMarker','init','revisionHistoryLabel','readOnlyMode','view','isBlock','first','createPositionFromPath','high','data-change-id','abs','_changeIdToChange','startIndex','filter','nodeAfter','previousPosition','enableReadOnlyMode','insertion','getRoot','authors','object','_getDiff','diff','setAttribute','change:activeView','getRevision','_setConversion','insert','split','_changeView','_removeRevisionMarkers','addHighlight','downcastDispatcher','_setDistance','ck-suggestion-marker--active','mapper','_removeUnsupportedChanges','name','changes','showNextChange','_data','elementToAttribute','target','span','dataToMarker','revision-suggestion:','_markSuggestions','_markMismatchedRemovedTags','consumable','RevisionsRepository','start','forEach','createAttributeElement','unbindElementFromMarkerName','revision-comment:','low','attributes','removeClass','backward','_setData','editingDowncast','_fixObsoleteTags','addRevision','activeChange','element:pre','_cleanUp','error','RevisionViewer','vid','ck-suggestion-marker-split','deletion','catch','createUIElement','adapter','return','isLimit','hasClass','includes','_target','isAtEnd','roots','then','change','_balloon','getAttribute','viewItem','data','revision-start','elementEnd','checkAttribute','model','_markInsertions','<p></p>','_makeModelFromTape','-new','markers','WidgetToolbarRepository','suggestion:','parse','consume','push','ck-suggestion-preview-marker-','change:isReady','isInline','createRangeIn','maxOffset','sort','children','_makeModelFromViewString','setData','values','end','mousedown','index','toModel','vid_start','get','vid_end','has','highest','add','addClass','slice','loadRevisionData','hasAttribute','addMarker:revision-suggestion:insertion','change:activeChange','distance','isEqual','removeMarker:revision-suggestion'];(function(_0x2e1f4d,_0x98e0f4){const _0x189b5a=function(_0x1980a2){while(--_0x1980a2){_0x2e1f4d['push'](_0x2e1f4d['shift']());}};_0x189b5a(++_0x98e0f4);}(_0x98e0,0x125));const _0x189b=function(_0x2e1f4d,_0x98e0f4){_0x2e1f4d=_0x2e1f4d-0x0;let _0x189b5a=_0x98e0[_0x2e1f4d];return _0x189b5a;};import{Plugin as _0x202d92,Command as _0x460336}from'ckeditor5/src/core';import{ObservableMixin as _0x10a00a,mix as _0xc947e1,scrollViewportToShowTarget as _0x587c20}from'ckeditor5/src/utils';import{ContextualBalloon as _0x19d05d}from'ckeditor5/src/ui';import{DocumentFragment as _0x485c4a,Element as _0x27f781,Text as _0x3c37f0,ViewDocumentFragment as _0x36cdc2,ViewText as _0x244946,ViewElement as _0x2abda1,ViewContainerElement as _0x17da0d,ViewAttributeElement as _0x48d779,ViewEmptyElement as _0x4cf78f,ViewRawElement as _0x2d5959,ViewUIElement as _0x5507d9}from'ckeditor5/src/engine';import{Users as _0xd2d1a5,getMarkerDomElement as _0x4d1f24}from'ckeditor5-collaboration/src/collaboration-core';import _0x2164ba from'./ui/revisionviewer/changedetailsview';import _0x2e1f75 from'./revisionsrepository';import _0x84517a from'./changeitem';import _0x5323d1 from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x17da0d,'a':_0x48d779,'e':_0x4cf78f,'r':_0x2d5959,'u':_0x5507d9};export default class d extends _0x202d92{static get['pluginName'](){return _0x189b('0xd0');}static get['requires'](){return[_0xd2d1a5,_0x19d05d,_0x2e1f75];}constructor(..._0x165b69){super(..._0x165b69),this['repository']=this['editor'][_0x189b('0x6')][_0x189b('0x101')](_0x189b('0xbe')),this['set'](_0x189b('0xcc'),null),this['set']('activeView',null),this[_0x189b('0x72')]('diff',null),this['set']('isReady',!0x1),this[_0x189b('0x72')]('isEnabled',!0x0),this['on']('change:isEnabled',(_0x5bceab,_0x509cb1,_0x111b8c)=>{this[_0x189b('0xcc')]=null,this[_0x189b('0x3c')]=null,this[_0x189b('0x49')][_0x189b('0x86')][_0x189b('0x91')][_0x189b('0xdf')](_0x1a298f=>{for(const _0x559226 of this[_0x189b('0x49')][_0x189b('0x86')][_0x189b('0x91')][_0x189b('0x110')][_0x189b('0xdd')])_0x111b8c?_0x1a298f[_0x189b('0xc6')](_0x189b('0x78'),_0x559226):_0x1a298f['addClass'](_0x189b('0x78'),_0x559226);});}),this[_0x189b('0x1c')]('isNavigationMode')['to'](this,_0x189b('0xcc'),_0x3db0de=>null!==_0x3db0de),this[_0x189b('0x1c')](_0x189b('0x8'))['to'](this,_0x189b('0x58'),this,_0x189b('0xa3'),this,'activeChange',(_0x2d2a76,_0x365751,_0x130a2e)=>_0x2d2a76&&_0x130a2e?_0x365751[_0x189b('0xb3')][_0x189b('0x7b')](_0x130a2e):0x0),this[_0x189b('0x1c')](_0x189b('0x10f'))['to'](this,_0x189b('0x58'),this,_0x189b('0xa3'),(_0x2ea613,_0x2d9f1d)=>_0x2ea613?_0x2d9f1d['changes'][_0x189b('0x5c')]:0x0),this[_0x189b('0xaa')]=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this[_0x189b('0xe0')]=this[_0x189b('0x49')]['plugins'][_0x189b('0x101')](_0x19d05d);}[_0x189b('0x8e')](){const _0xdcd6bc=this[_0x189b('0x49')],_0x551a4d=new et(_0xdcd6bc,{'direction':_0x189b('0xc7')}),_0x3ad686=new et(_0xdcd6bc,{'direction':_0x189b('0x17')});_0xdcd6bc[_0x189b('0x7f')]['add'](_0x189b('0x7'),_0x551a4d),_0xdcd6bc[_0x189b('0x7f')][_0x189b('0x105')](_0x189b('0xb4'),_0x3ad686),_0xdcd6bc[_0x189b('0x7f')][_0x189b('0x105')](_0x189b('0x51'),new tt(_0xdcd6bc)),this['on']('change:numberOfChanges',()=>{_0x551a4d[_0x189b('0xe')](),_0x3ad686[_0x189b('0xe')]();}),this[_0x189b('0xa7')](),this[_0x189b('0x39')](),_0xdcd6bc[_0x189b('0x9d')](_0x189b('0x5d')),_0xdcd6bc[_0x189b('0x6')][_0x189b('0x103')](_0x189b('0xed'))&&_0xdcd6bc[_0x189b('0x6')]['get'](_0x189b('0xed'))[_0x189b('0x50')](_0x189b('0x5d'));}async['getRevisionData'](_0x5014cc){await this['loadRevisionData'](_0x5014cc);const _0x3e3a7c={};for(const _0x3622a5 in _0x5014cc[_0x189b('0x88')]){const _0x5a0ff4=this['_removeRevisionMarkers'](JSON['parse'](_0x5014cc['diffData'][_0x3622a5][_0x189b('0x75')])),_0x27dd77=this[_0x189b('0x49')][_0x189b('0x86')][_0x189b('0x91')][_0x189b('0x110')],_0x32c691=new _0x36cdc2(_0x27dd77,_0x5a0ff4[_0x189b('0x48')](_0x49e998=>this[_0x189b('0x3b')](_0x49e998)));this['editor'][_0x189b('0xe3')][_0x189b('0x81')][_0x189b('0x4b')](_0x189b('0x5e')),_0x3e3a7c[_0x3622a5]=this[_0x189b('0x49')]['data'][_0x189b('0x81')]['toData'](_0x32c691),this[_0x189b('0x49')]['data'][_0x189b('0x81')][_0x189b('0x4b')]('default');}return _0x3e3a7c;}[_0x189b('0xab')](_0x5f866f){return(_0x5f866f=_0x5f866f[_0x189b('0x9a')](_0x568adb=>!_0x568adb[_0x189b('0xb2')]||_0x189b('0xe4')!==_0x568adb[_0x189b('0xb2')]&&_0x189b('0xf')!==_0x568adb[_0x189b('0xb2')]))[_0x189b('0xc0')](_0x134176=>{'string'!=typeof _0x134176&&(_0x134176[_0x189b('0xf8')]=this[_0x189b('0xab')](_0x134176['children']),_0x134176[_0x189b('0xc5')]=_0x134176[_0x189b('0xc5')][_0x189b('0x9a')](_0x572bea=>!_0x572bea[0x0][_0x189b('0x112')](_0x189b('0xb'))));}),_0x5f866f;}[_0x189b('0x73')](_0x1c3a9e,_0x735fe1,_0x2db780=!0x1){if(!this['isEnabled'])return;const _0x35cfd6=this[_0x189b('0xa3')],_0x17286f=this[_0x189b('0x7c')],_0xb4221d='string'==typeof _0x1c3a9e?_0x17286f[_0x189b('0xa6')](_0x1c3a9e):_0x1c3a9e,_0x418fc2='string'==typeof _0x735fe1?_0x17286f[_0x189b('0xa6')](_0x735fe1):_0x735fe1,_0x243576=_0xb4221d['id'],_0x2d9696=_0x418fc2?_0x418fc2['id']:null;if(!_0x2db780&&this[_0x189b('0xa3')]&&this[_0x189b('0xa3')][_0x189b('0x15')]===_0x243576&&this[_0x189b('0xa3')][_0x189b('0x6f')]===_0x2d9696)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this[_0x189b('0xcc')]=null,this['diff']=new _0x5323d1(_0x243576,_0x2d9696);const _0x14a2e2=this[_0x189b('0x46')](_0xb4221d,_0x418fc2,!0x0)[_0x189b('0x48')](_0x442fe4=>this['loadRevisionData'](_0x442fe4));return _0x14a2e2[_0x189b('0xf1')](new Promise(_0x2e1990=>{setTimeout(_0x2e1990,0x14);})),Promise['all'](_0x14a2e2)[_0x189b('0xde')](()=>{if(!this[_0x189b('0x5b')])return;this['_cleanUp']();const _0x8fa132=this[_0x189b('0xa2')](_0x243576,_0x2d9696);this[_0x189b('0xa3')][_0x189b('0xc8')](_0x8fa132);for(const _0x47d8d9 of this[_0x189b('0xa3')][_0x189b('0xb3')])this[_0x189b('0x98')]['set'](_0x47d8d9['id'],_0x47d8d9);this[_0x189b('0x49')][_0x189b('0xe7')][_0x189b('0x1d')]({'isUndoable':!0x1},_0xba72ee=>{for(const _0x182613 of Object[_0x189b('0x7a')](_0x8fa132[_0x189b('0xe7')])){const _0x427f18=this[_0x189b('0x49')][_0x189b('0xe7')][_0x189b('0x110')][_0x189b('0x9f')](_0x182613);_0xba72ee[_0x189b('0x61')](_0xba72ee[_0x189b('0xf5')](_0x427f18)),_0xba72ee[_0x189b('0xa8')](_0x8fa132[_0x189b('0xe7')][_0x182613],_0x427f18,0x0);}}),this['isReady']=!0x0;})[_0x189b('0xd4')](_0x34792a=>{console[_0x189b('0xcf')](_0x34792a),this[_0x189b('0xce')](),_0x35cfd6?this[_0x189b('0xa3')]=_0x35cfd6:this[_0x189b('0x49')][_0x189b('0xfa')](_0x189b('0xe9')),this[_0x189b('0x58')]=!0x0;});}[_0x189b('0x2e')](){this[_0x189b('0x3c')]=null,this[_0x189b('0xaa')]&&this[_0x189b('0xaa')]['destroy']();}[_0x189b('0x55')](_0x5b3d26,_0x4d5292){const _0x5138ae=this[_0x189b('0x7c')][_0x189b('0x59')](_0x5b3d26);return _0x5138ae['on'](_0x189b('0x1f'),(_0x3f6a52,_0x472014,_0x5c5013)=>_0x4d5292(_0x472014,_0x5c5013,_0x5138ae)),this['repository'][_0x189b('0xcb')](_0x5138ae),_0x5138ae;}[_0x189b('0x108')](_0x47cbf4){if(!_0x47cbf4||_0x47cbf4['diffData'])return Promise[_0x189b('0x13')]();{const _0x5117fe=this[_0x189b('0x49')][_0x189b('0x35')][_0x189b('0x101')](_0x189b('0x29'));return this[_0x189b('0xd6')][_0x189b('0xa6')]({'channelId':_0x5117fe,'revisionId':_0x47cbf4['id']})[_0x189b('0xde')](_0x196625=>{_0x47cbf4['_update']({'diffData':_0x196625[_0x189b('0x88')]},!0x0);});}}[_0x189b('0xce')](){this[_0x189b('0xcc')]=null,this[_0x189b('0x44')](),this[_0x189b('0xaa')]&&this['_changeView'][_0x189b('0x2e')](),this['_changeView']=null,this['_changeIdToChange'][_0x189b('0x113')]();}[_0x189b('0x63')](_0x52c4c9){const _0x439e7c=Array['from'](_0x52c4c9[_0x189b('0xec')])[_0x189b('0x9a')](([_0x3b2def,_0x48948b])=>_0x3b2def[_0x189b('0x112')](_0x189b('0x34'))&&!_0x48948b[_0x189b('0x60')]),_0x37ae7a=Array[_0x189b('0x115')](this['editor'][_0x189b('0xe7')][_0x189b('0xf5')](_0x52c4c9)[_0x189b('0x1')]({'singleCharacters':!0x0}));if(0x0!=_0x439e7c[_0x189b('0x5c')])for(const _0x862b21 of _0x37ae7a){const [_0x2e1cd4,_0x4bc86b]=_0x439e7c[0x0],[,_0x3fe25b,_0x1c9372]=_0x2e1cd4[_0x189b('0xa9')](':');if(_0x4bc86b[_0x189b('0xfc')][_0x189b('0x10d')](_0x862b21[_0x189b('0x33')])&&_0x439e7c[_0x189b('0x40')](),(_0x862b21[_0x189b('0x9c')]['isEqual'](_0x4bc86b['start'])||_0x862b21['previousPosition'][_0x189b('0x12')](_0x4bc86b[_0x189b('0xbf')]))&&(_0x189b('0x9e')==_0x3fe25b?_0x862b21[_0x189b('0x71')]={'userId':_0x1c9372}:_0x189b('0xd3')==_0x3fe25b&&(_0x862b21[_0x189b('0x84')]={'userId':_0x1c9372})),0x0==_0x439e7c['length'])break;}return _0x37ae7a;}['_refreshStartEndIndex'](_0x216449){const _0xd5cda5=new Map();for(let _0x1fe9c8=0x0;_0x1fe9c8<_0x216449[_0x189b('0x5c')];_0x1fe9c8++)_0x189b('0x37')===_0x216449[_0x1fe9c8]['type']?(_0x216449[_0x1fe9c8][_0x189b('0x27')][_0x189b('0x99')]=_0x1fe9c8,_0x216449[_0x1fe9c8][_0x189b('0x27')][_0x189b('0x85')]=_0x1fe9c8):(_0x189b('0x14')===_0x216449[_0x1fe9c8]['type']?_0x216449[_0x1fe9c8]['item']['startIndex']=_0x1fe9c8:_0x189b('0xe5')===_0x216449[_0x1fe9c8][_0x189b('0x31')]&&(_0x216449[_0x1fe9c8]['item']['endIndex']=_0x1fe9c8),_0xd5cda5[_0x189b('0x72')](_0x216449[_0x1fe9c8]['id'],_0x1fe9c8));for(const _0x2121a5 of _0xd5cda5[_0x189b('0xfb')]())_0x189b('0x14')===_0x216449[_0x2121a5][_0x189b('0x31')]?_0x216449[_0x2121a5][_0x189b('0x27')][_0x189b('0x85')]=_0xd5cda5[_0x189b('0x101')](_0x216449[_0x2121a5][_0x189b('0x119')]):_0x189b('0xe5')===_0x216449[_0x2121a5]['type']&&(_0x216449[_0x2121a5][_0x189b('0x27')][_0x189b('0x99')]=_0xd5cda5[_0x189b('0x101')](_0x216449[_0x2121a5][_0x189b('0x119')]));}[_0x189b('0x1a')](_0x3016d6){for(let _0x21396f=0x0;_0x21396f<_0x3016d6[_0x189b('0x5c')];_0x21396f++){if(_0x189b('0x14')===_0x3016d6[_0x21396f]['type'])_0x3016d6[_0x21396f][_0x189b('0x27')]['startIndex']=_0x21396f;else{if(_0x189b('0xe5')===_0x3016d6[_0x21396f][_0x189b('0x31')]){_0x3016d6[_0x21396f][_0x189b('0x27')][_0x189b('0x85')]=_0x21396f;const _0x45bc22=_0x3016d6[_0x21396f][_0x189b('0x27')][_0x189b('0x99')];_0x3016d6[_0x45bc22][_0x189b('0x119')]=_0x3016d6[_0x21396f]['id'],_0x3016d6[_0x21396f][_0x189b('0x119')]=_0x3016d6[_0x45bc22]['id'];}else _0x3016d6[_0x21396f][_0x189b('0x27')][_0x189b('0x99')]=_0x21396f,_0x3016d6[_0x21396f][_0x189b('0x27')][_0x189b('0x85')]=_0x21396f,_0x3016d6[_0x21396f][_0x189b('0x119')]=null;}_0x3016d6[_0x21396f][_0x189b('0x16')]||(_0x3016d6[_0x21396f][_0x189b('0x16')]=[],_0x3016d6[_0x21396f]['markersEnd']=[]);}}['_markInsertions'](_0x1ae0af,_0x4e581f){const _0xdc5d18=_0x1ae0af[_0x189b('0x9a')](_0x3f4d24=>!_0x3f4d24['isAdded']);for(let _0x5b6cd0=0x0;_0x5b6cd0<_0x4e581f['length'];_0x5b6cd0++)_0x4e581f[_0x5b6cd0][_0x189b('0x71')]&&(_0xdc5d18[_0x5b6cd0][_0x189b('0x71')]=_0x4e581f[_0x5b6cd0][_0x189b('0x71')]);}[_0x189b('0xf9')](_0x2e554a){const _0x2f6eca=JSON[_0x189b('0xef')](_0x2e554a),_0x49d287=this[_0x189b('0x49')][_0x189b('0x86')][_0x189b('0x91')][_0x189b('0x110')],_0x2b2bf1=new _0x36cdc2(_0x49d287,_0x2f6eca['map'](_0x1c5322=>this['_getViewObj'](_0x1c5322)));return this[_0x189b('0x49')][_0x189b('0xe3')][_0x189b('0xff')](_0x2b2bf1);}[_0x189b('0x3b')](_0x3ef376){const _0x310269=this['editor'][_0x189b('0x86')][_0x189b('0x91')]['document'];if(_0x189b('0x6e')==typeof _0x3ef376)return new _0x244946(_0x310269,_0x3ef376);{const _0x33abe6=_0x3ef376[_0x189b('0xf8')][_0x189b('0x48')](_0x182368=>this['_getViewObj'](_0x182368));return new(Y[_0x3ef376[(_0x189b('0x31'))]]||_0x2abda1)(_0x310269,_0x3ef376['name'],_0x3ef376[_0x189b('0xc5')],_0x33abe6);}}[_0x189b('0xa2')](_0x2d1863,_0xbd1256=null){const _0x595908=this['repository'][_0x189b('0xa6')](_0x2d1863),_0x358df7=_0xbd1256?this['repository'][_0x189b('0xa6')](_0xbd1256):null,_0x1bf422=this[_0x189b('0x46')](_0x595908,_0x358df7),_0x2444cb=_0x1bf422[_0x1bf422[_0x189b('0x5c')]-0x1],_0x287aaf=new Map();for(const _0x11273b of _0x1bf422){_0x11273b[_0x189b('0xe7')]={};for(const _0x42efa2 of _0x11273b[_0x189b('0xa0')])_0x287aaf[_0x189b('0x72')](_0x42efa2['id'],_0x42efa2);for(const _0x43419d of this[_0x189b('0x49')][_0x189b('0xe7')]['document'][_0x189b('0x77')]())_0x11273b['diffData'][_0x43419d]||(_0x11273b[_0x189b('0x88')][_0x43419d]={'insertions':'[]','deletions':'[]'}),_0x11273b['model'][_0x43419d]={'insertions':this['_makeModelFromViewString'](_0x11273b[_0x189b('0x88')][_0x43419d][_0x189b('0x75')]),'deletions':this['_makeModelFromViewString'](_0x11273b[_0x189b('0x88')][_0x43419d]['deletions'])};}const _0x39e77b={'model':{},'changes':[]};for(const _0xbc909c of this[_0x189b('0x49')][_0x189b('0xe7')][_0x189b('0x110')][_0x189b('0x77')]()){let _0x13b475=null,_0x5ee924=0x0;const _0x1520eb=new Map(Array[_0x189b('0x115')](_0x595908[_0x189b('0xe7')][_0xbc909c][_0x189b('0x75')][_0x189b('0xec')])['filter'](([_0x874a24])=>!_0x874a24[_0x189b('0x112')](_0x189b('0x34'))));let _0x232522=0x0;for(const _0x146338 of _0x1bf422){const _0x97fe89=this[_0x189b('0x63')](_0x146338[_0x189b('0xe7')][_0xbc909c][_0x189b('0x75')]);_0x146338==_0x595908?(_0x13b475=_0x97fe89,_0x5ee924=_0x13b475[_0x189b('0x5c')],_0x13b475[_0x189b('0xc0')](_0x18c91c=>{_0x18c91c['id']=_0x232522++;}),this[_0x189b('0x1a')](_0x13b475)):this[_0x189b('0xe8')](_0x13b475,_0x97fe89);const _0x54fcfc=_0x13b475['filter'](_0x293364=>!_0x293364[_0x189b('0x71')])[_0x189b('0x48')](_0x1d84d6=>_0x1d84d6['id']);let _0x3e426d=0x0;const _0x192eb0=this[_0x189b('0x63')](_0x146338[_0x189b('0xe7')][_0xbc909c][_0x189b('0x53')]);_0x192eb0[_0x189b('0xc0')](_0x418b11=>{_0x418b11[_0x189b('0x84')]?_0x418b11['id']=_0x5ee924++:_0x418b11['id']=_0x54fcfc[_0x3e426d++];}),this[_0x189b('0x1a')](_0x192eb0),this[_0x189b('0xae')](_0x13b475,_0x189b('0x71')),this['_setDistance'](_0x192eb0,_0x189b('0x84')),_0x146338==_0x595908&&this['_markMarkers'](_0x13b475,_0x1520eb),_0x13b475=this[_0x189b('0x4e')](_0x13b475,_0x192eb0),this[_0x189b('0x36')](_0x13b475),this[_0x189b('0xae')](_0x13b475,'isRemoved');}_0x13b475=_0x13b475[_0x189b('0x9a')](_0x20a581=>!(_0x20a581[_0x189b('0x71')]&&_0x20a581[_0x189b('0x84')]));const _0x2ad139=new Map(_0x2444cb['model'][_0xbc909c][_0x189b('0x53')][_0x189b('0xec')]),_0x179ddd=new Set(_0x1520eb[_0x189b('0x7a')]());for(const _0x50b626 of _0x2ad139[_0x189b('0x7a')]())_0x179ddd[_0x189b('0x8c')](_0x50b626);this[_0x189b('0xbb')](_0x13b475,_0x179ddd),this[_0x189b('0xca')](_0x13b475),_0x13b475=this['_removeMissingPairs'](_0x13b475),_0x13b475=this[_0x189b('0xbc')](_0x13b475),_0x13b475=this[_0x189b('0xb1')](_0x13b475);const {root:_0x29c966,changes:_0x5082e4}=this[_0x189b('0xea')](_0x13b475,_0x287aaf);_0x39e77b[_0x189b('0xe7')][_0xbc909c]=_0x29c966,_0x39e77b[_0x189b('0xb3')]=_0x39e77b[_0x189b('0xb3')][_0x189b('0x41')](_0x5082e4);}return _0x39e77b;}[_0x189b('0x66')](_0x4b1584,_0x5e7ece){for(let _0x5135a5=0x0;_0x5135a5<_0x4b1584[_0x189b('0x5c')];_0x5135a5++)for(const [_0x35a5b2,_0x19fd88]of _0x5e7ece)_0x19fd88[_0x189b('0xbf')]['isEqual'](_0x4b1584[_0x5135a5][_0x189b('0x9c')])&&_0x4b1584[_0x5135a5][_0x189b('0x16')][_0x189b('0xf1')](_0x35a5b2),_0x19fd88[_0x189b('0xfc')][_0x189b('0x10d')](_0x4b1584[_0x5135a5][_0x189b('0x33')])&&_0x4b1584[_0x5135a5]['markersEnd'][_0x189b('0xf1')](_0x35a5b2);}[_0x189b('0x4e')](_0x1e6f22,_0x1cbe0c){let _0x299a70=[],_0x569f5a=0x0,_0x832c4b=0x0;for(;_0x569f5a<_0x1e6f22[_0x189b('0x5c')]||_0x832c4b<_0x1cbe0c[_0x189b('0x5c')];){const _0x87469e=_0x1e6f22[_0x569f5a]||{},_0x28ab16=_0x1cbe0c[_0x832c4b]||{};if(_0x87469e['id']==_0x28ab16['id'])_0x569f5a++,_0x832c4b++,_0x299a70[_0x189b('0xf1')](_0x87469e);else{if(_0x28ab16[_0x189b('0x84')]&&_0x87469e[_0x189b('0x71')]){const {commonTape:_0x571cce,iEnd:_0x590b42,jEnd:_0x1ed0cc}=this[_0x189b('0x87')](_0x1e6f22,_0x569f5a,_0x1cbe0c,_0x832c4b);_0x299a70=_0x299a70[_0x189b('0x41')](_0x571cce),_0x569f5a=_0x590b42,_0x832c4b=_0x1ed0cc;}else _0x28ab16[_0x189b('0x84')]?(_0x832c4b++,_0x299a70[_0x189b('0xf1')](_0x28ab16)):(_0x569f5a++,_0x299a70[_0x189b('0xf1')](_0x87469e));}}return _0x299a70;}[_0x189b('0xbb')](_0x48190c,_0x50d755){const _0x11857e=[];for(let _0x5c26d1=0x0;_0x5c26d1<_0x48190c[_0x189b('0x5c')];_0x5c26d1++){for(let _0x4ab75d=0x0;_0x4ab75d<_0x48190c[_0x5c26d1][_0x189b('0x16')][_0x189b('0x5c')];_0x4ab75d++){const _0x50b141=_0x48190c[_0x5c26d1][_0x189b('0x16')][_0x4ab75d];if(!_0x50d755[_0x189b('0x103')](_0x50b141))continue;const {group:_0x39768f,type:_0x3c97c2,authorId:_0x5b1415}=_0x3d1000(_0x50b141);_0x189b('0x21')!=_0x39768f||'insertion'!=_0x3c97c2&&'deletion'!=_0x3c97c2||(_0x11857e[_0x189b('0x3e')]({'type':_0x3c97c2,'name':_0x50b141,'userId':_0x5b1415}),_0x48190c[_0x5c26d1]['markersStart'][_0x189b('0x6c')](_0x4ab75d,0x1),_0x4ab75d--);}_0x1f72ae(_0x48190c[_0x5c26d1]);for(let _0x3be3ee=0x0;_0x3be3ee<_0x48190c[_0x5c26d1]['markersEnd']['length'];_0x3be3ee++){const _0x1ccdfb=_0x48190c[_0x5c26d1][_0x189b('0x22')][_0x3be3ee];if(!_0x50d755[_0x189b('0x103')](_0x1ccdfb))continue;const {group:_0x24d45e,type:_0x82d8a1}=_0x3d1000(_0x1ccdfb);if(_0x189b('0x21')!=_0x24d45e||_0x189b('0x9e')!=_0x82d8a1&&'deletion'!=_0x82d8a1)continue;_0x48190c[_0x5c26d1][_0x189b('0x22')]['splice'](_0x3be3ee,0x1),_0x3be3ee--;const _0x20751f=_0x11857e[_0x189b('0x2c')](_0x501502=>_0x501502[_0x189b('0xb2')]==_0x1ccdfb);_0x20751f>-0x1&&_0x11857e['splice'](_0x20751f,0x1);}}function _0x3d1000(_0x169048){const _0x561064=_0x169048['split'](':');return{'group':_0x561064[0x0],'type':_0x561064[0x1],'subType':_0x561064['length']>=0x5?_0x561064[0x2]:null,'id':_0x561064[_0x189b('0x5c')]<0x5?_0x561064[0x2]:_0x561064[0x3],'authorId':_0x561064['length']<0x5?_0x561064[0x3]:_0x561064[0x4],'markerCount':0x6==_0x561064['length']?_0x561064[0x5]:null};}function _0x1f72ae(_0x2af722){for(let _0x319561=0x0;_0x319561<_0x11857e[_0x189b('0x5c')];_0x319561++){if(_0x2af722['isAdded']&&_0x189b('0x9e')==_0x11857e[_0x319561][_0x189b('0x31')])return _0x2af722[_0x189b('0x24')]=_0x11857e[_0x319561],void delete _0x2af722['isAdded'];if(!_0x2af722[_0x189b('0x71')]&&!_0x2af722[_0x189b('0x84')]&&'deletion'==_0x11857e[_0x319561][_0x189b('0x31')])return void(_0x2af722[_0x189b('0x18')]=_0x11857e[_0x319561]);}}}[_0x189b('0xae')](_0x12f886,_0x214bb1){let _0x350612=0x0,_0x13c0c2=!0x1;const _0x264200=new Map();for(const _0x5910dc of _0x12f886)_0x5910dc[_0x214bb1]?_0x13c0c2&&(_0x350612++,_0x13c0c2=!0x1):(_0x350612++,_0x13c0c2=!0x0),_0x264200[_0x189b('0x72')](_0x5910dc['id'],_0x350612);for(let _0x2e6acb=0x0;_0x2e6acb<_0x12f886[_0x189b('0x5c')];_0x2e6acb++){if(_0x189b('0x84')==_0x214bb1&&_0x12f886[_0x2e6acb][_0x189b('0x71')]||_0x189b('0x71')==_0x214bb1&&_0x12f886[_0x2e6acb]['isRemoved'])continue;if(_0x189b('0x37')==_0x12f886[_0x2e6acb][_0x189b('0x31')]){_0x12f886[_0x2e6acb][_0x189b('0x10c')]=0x0;continue;}const _0x44af46=_0x264200[_0x189b('0x101')](_0x12f886[_0x2e6acb][_0x189b('0x119')]),_0x286b4f=_0x264200['get'](_0x12f886[_0x2e6acb]['id']);_0x12f886[_0x2e6acb]['distance']=_0x44af46-_0x286b4f;}}[_0x189b('0x46')](_0x236c9f,_0x3d5c4f,_0x42431c=!0x1){const _0x5573f8=[];let _0x39ca2f=this['repository']['getIndex'](_0x236c9f),_0x36bbf2=this['repository']['getIndex'](_0x3d5c4f);for(-0x1==_0x36bbf2&&(_0x36bbf2=this[_0x189b('0x7c')]['_revisions'][_0x189b('0x5c')],_0x42431c=!0x1);_0x39ca2f<_0x36bbf2;)_0x5573f8[_0x189b('0xf1')](this[_0x189b('0x7c')]['getRevision'](_0x39ca2f)),_0x39ca2f++;return _0x42431c&&_0x5573f8[_0x189b('0xf1')](this[_0x189b('0x7c')]['getRevision'](_0x39ca2f)),_0x5573f8;}[_0x189b('0x87')](_0x38181e,_0x24c5b8,_0x579426,_0x3129ad){const _0x477c9c=this['editor'][_0x189b('0xe7')]['schema'];let _0x277610=_0x24c5b8;for(;_0x38181e[_0x277610]&&_0x38181e[_0x277610][_0x189b('0x71')];)_0x277610++;let _0x2ea386=_0x3129ad;for(;_0x579426[_0x2ea386]&&_0x579426[_0x2ea386][_0x189b('0x84')];)_0x2ea386++;_0x2c0a73(_0x38181e,_0x24c5b8,_0x277610),_0x2c0a73(_0x579426,_0x3129ad,_0x2ea386);const _0x53beb3=_0x579426[_0x189b('0x107')](_0x3129ad,_0x2ea386)[_0x189b('0x41')](_0x38181e[_0x189b('0x107')](_0x24c5b8,_0x277610));return _0x53beb3['sort']((_0x5e6144,_0x410c65)=>_0x5e6144[_0x189b('0x1b')]!=_0x410c65[_0x189b('0x1b')]?_0x5e6144['side']-_0x410c65['side']:_0x5e6144['level']!=_0x410c65['level']?_0x5e6144[_0x189b('0x89')]-_0x410c65['level']:_0x5e6144[_0x189b('0x10c')]!=_0x410c65['distance']?_0x410c65['distance']-_0x5e6144[_0x189b('0x10c')]:!!_0x5e6144['isAdded']!=!!_0x410c65[_0x189b('0x71')]?-0x1==_0x5e6144['side']||0x0==_0x5e6144[_0x189b('0x1b')]?_0x5e6144[_0x189b('0x71')]?-0x1:0x1:_0x5e6144[_0x189b('0x71')]?0x1:-0x1:_0x5e6144[_0x189b('0xfe')]-_0x410c65['index']),{'commonTape':_0x53beb3,'iEnd':_0x277610,'jEnd':_0x2ea386};function _0x2c0a73(_0x4caaa5,_0x5dd83d,_0xd20977){let _0x12a7a8=-0x1,_0x4a6368=Number['POSITIVE_INFINITY'],_0x535cf6=!0x0;for(let _0x46d2c3=_0x5dd83d;_0x46d2c3<_0xd20977;_0x46d2c3++)if(_0x477c9c[_0x189b('0xf4')](_0x4caaa5[_0x46d2c3][_0x189b('0x27')])||(_0x535cf6=!0x1),_0x4caaa5[_0x46d2c3][_0x189b('0x27')][_0x189b('0x99')]<_0x5dd83d&&(_0x12a7a8=_0x46d2c3),_0x4caaa5[_0x46d2c3][_0x189b('0x27')][_0x189b('0x85')]>=_0xd20977){_0x4a6368=_0x46d2c3;break;}_0x535cf6&&(_0x12a7a8=_0xd20977-0x1);for(let _0x4a5134=_0x5dd83d;_0x4a5134<_0xd20977;_0x4a5134++)_0x4caaa5[_0x4a5134][_0x189b('0x1b')]=_0x4a5134<=_0x12a7a8?-0x1:_0x4a5134<_0x4a6368?0x0:0x1,_0x4caaa5[_0x4a5134]['index']=_0x4a5134;let _0xd37254=0x0;for(let _0x14d5d5=_0x5dd83d;_0x14d5d5<=_0x12a7a8;_0x14d5d5++)0x0==_0x4caaa5[_0x14d5d5][_0x189b('0x10c')]?_0x4caaa5[_0x14d5d5]['level']=_0xd37254:(_0xd37254++,_0x4caaa5[_0x14d5d5][_0x189b('0x89')]=_0xd37254,_0xd37254++);for(let _0x8ce949=_0x5dd83d;_0x8ce949<_0xd20977;_0x8ce949++)0x0==_0x4caaa5[_0x8ce949][_0x189b('0x1b')]&&(_0x4caaa5[_0x8ce949][_0x189b('0x89')]=_0xd37254);_0xd37254=0x0;for(let _0x3e7ec9=_0xd20977-0x1;_0x3e7ec9>=_0x4a6368;_0x3e7ec9--)0x0==_0x4caaa5[_0x3e7ec9][_0x189b('0x10c')]?_0x4caaa5[_0x3e7ec9][_0x189b('0x89')]=_0xd37254:(_0xd37254--,_0x4caaa5[_0x3e7ec9][_0x189b('0x89')]=_0xd37254,_0xd37254--);}}[_0x189b('0xca')](_0x50c750){const _0x41f696=new Map(),_0x5657d1=this[_0x189b('0x49')]['model'][_0x189b('0x80')];for(let _0x186951=0x1;_0x186951<_0x50c750[_0x189b('0x5c')];_0x186951++){let _0x5e129c,_0x26d476,_0x5b8110;const _0x52f7ad=_0x50c750[_0x186951],_0x45378d=_0x50c750[_0x186951-0x1];if(_0x189b('0x37')==_0x52f7ad['type'])continue;if(_0x52f7ad[_0x189b('0x31')]!=_0x45378d[_0x189b('0x31')])continue;if(!_0x5657d1[_0x189b('0x92')](_0x45378d[_0x189b('0x27')])||_0x5657d1['isLimit'](_0x45378d[_0x189b('0x27')]))continue;if(!_0x5657d1[_0x189b('0x92')](_0x52f7ad['item'])||_0x5657d1[_0x189b('0xd8')](_0x52f7ad[_0x189b('0x27')]))continue;if((_0x50c750[_0x186951][_0x189b('0x71')]||_0x50c750[_0x186951][_0x189b('0x24')])&&_0x50c750[_0x186951-0x1][_0x189b('0x84')])_0x5e129c=_0x50c750[_0x186951],_0x26d476=_0x50c750[_0x186951-0x1],_0x5b8110=_0x186951-0x1;else{if(!_0x50c750[_0x186951][_0x189b('0x84')]||!_0x50c750[_0x186951-0x1][_0x189b('0x71')]&&!_0x50c750[_0x186951-0x1]['isAddSuggestion'])continue;_0x5e129c=_0x50c750[_0x186951-0x1],_0x26d476=_0x50c750[_0x186951],_0x5b8110=_0x186951;}const _0x4704e6=_0x5e129c[_0x189b('0x89')]==_0x26d476[_0x189b('0x89')],_0x1cff81=Math[_0x189b('0x97')](_0x5e129c[_0x189b('0x89')])<Math['abs'](_0x26d476[_0x189b('0x89')])&&0x0==_0x26d476['distance'];(_0x4704e6||_0x1cff81)&&(_0x41f696[_0x189b('0x72')](_0x26d476['id'],_0x5e129c['id']),_0x50c750[_0x189b('0x6c')](_0x5b8110,0x1),_0x186951--,_0x5e129c[_0x189b('0x71')]=!0x1);}for(let _0x3235bc=0x0;_0x3235bc<_0x50c750[_0x189b('0x5c')];_0x3235bc++)_0x41f696[_0x189b('0x103')](_0x50c750[_0x3235bc][_0x189b('0x119')])&&(_0x50c750[_0x3235bc][_0x189b('0x119')]=_0x41f696[_0x189b('0x101')](_0x50c750[_0x3235bc]['pairId']));}[_0x189b('0x7d')](_0x791930){const _0x1e5a68=new Set(_0x791930[_0x189b('0x48')](_0x5e9825=>_0x5e9825['id']));for(let _0xec94ac=0x0;_0xec94ac<_0x791930['length'];_0xec94ac++)_0x1e5a68[_0x189b('0x103')](_0x791930[_0xec94ac]['pairId'])||0x0==_0x791930[_0xec94ac]['distance']||(_0x791930[_0xec94ac]['isIncorrect']=!0x0);return _0x791930[_0x189b('0x9a')](_0x29148b=>!_0x29148b[_0x189b('0x2f')]);}[_0x189b('0xbc')](_0x219b2b){const _0x491d98=new Set();for(let _0x256391=0x0;_0x256391<_0x219b2b[_0x189b('0x5c')];_0x256391++){if(_0x491d98[_0x189b('0x103')](_0x219b2b[_0x256391]['id'])&&_0x219b2b[_0x256391][_0x189b('0x84')]&&(_0x219b2b[_0x256391][_0x189b('0x2f')]=!0x0),_0x219b2b[_0x256391]['isIncorrect'])continue;if(0x0==_0x219b2b[_0x256391]['distance'])continue;if(_0x189b('0x14')!=_0x219b2b[_0x256391][_0x189b('0x31')])continue;if(null==_0x219b2b[_0x256391]['pairId'])continue;let _0x18c9e4=_0x256391+0x1,_0x2f1e2c=0x0;for(;_0x219b2b[_0x18c9e4]['id']!=_0x219b2b[_0x256391]['pairId'];)_0x189b('0x14')==_0x219b2b[_0x18c9e4][_0x189b('0x31')]?_0x2f1e2c++:_0x189b('0xe5')==_0x219b2b[_0x18c9e4][_0x189b('0x31')]&&_0x2f1e2c--,_0x18c9e4++;if(0x0!=_0x2f1e2c){if(_0x219b2b[_0x256391][_0x189b('0x84')])_0x219b2b[_0x256391][_0x189b('0x2f')]=!0x0;else for(;_0x18c9e4!=_0x256391;)_0x219b2b[_0x18c9e4][_0x189b('0x84')]&&0x0!=_0x219b2b[_0x18c9e4][_0x189b('0x10c')]&&(_0x219b2b[_0x18c9e4][_0x189b('0x2f')]=!0x0,_0x491d98[_0x189b('0x105')](_0x219b2b[_0x18c9e4][_0x189b('0x119')])),_0x18c9e4--;}}return _0x219b2b[_0x189b('0x9a')](_0x5b56ca=>!_0x5b56ca[_0x189b('0x2f')]);}['_removeUnsupportedChanges'](_0x3dc01f){const _0x58a477=this[_0x189b('0x49')][_0x189b('0xe7')]['schema'];for(let _0x1e36e9=0x0;_0x1e36e9<_0x3dc01f['length'];_0x1e36e9++){if(!(_0x3dc01f[_0x1e36e9][_0x189b('0x71')]||_0x3dc01f[_0x1e36e9]['isAddSuggestion']||_0x3dc01f[_0x1e36e9][_0x189b('0x84')]||_0x3dc01f[_0x1e36e9][_0x189b('0x18')]))continue;if(0x0==_0x3dc01f[_0x1e36e9]['distance'])continue;const _0x1129a1=_0x3dc01f[_0x1e36e9][_0x189b('0x27')];_0x58a477[_0x189b('0x92')](_0x1129a1)||_0x58a477[_0x189b('0xd8')](_0x1129a1)||(_0x3dc01f[_0x1e36e9]['isAdded']&&delete _0x3dc01f[_0x1e36e9]['isAdded'],_0x3dc01f[_0x1e36e9]['isAddSuggestion']&&delete _0x3dc01f[_0x1e36e9]['isAddSuggestion'],_0x3dc01f[_0x1e36e9][_0x189b('0x18')]&&delete _0x3dc01f[_0x1e36e9][_0x189b('0x18')],_0x3dc01f[_0x1e36e9][_0x189b('0x84')]&&(_0x3dc01f[_0x1e36e9][_0x189b('0x2f')]=!0x0));}return _0x3dc01f[_0x189b('0x9a')](_0x3c406c=>!_0x3c406c[_0x189b('0x2f')]);}[_0x189b('0xea')](_0x54874d,_0x366d40){const _0x115ce1=new _0x485c4a(),_0x4f3855=[],_0x50a2da=new Map(),_0x3d6df2=this[_0x189b('0x49')][_0x189b('0xe7')],_0x29ee27=_0x3d6df2[_0x189b('0x80')],_0x2afac4=[_0x115ce1],_0x13fb65={},_0x337328={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x815918=null;const _0x87c5ee=[0x0];for(let _0x91d166=0x0;_0x91d166<_0x54874d['length'];_0x91d166++){let _0x2f8778,_0x369ecb;if(_0x189b('0x14')===_0x54874d[_0x91d166][_0x189b('0x31')]){_0x2f8778=_0x3d6df2[_0x189b('0x94')](_0x115ce1,_0x87c5ee);const _0x34fe4f=new _0x27f781(_0x54874d[_0x91d166][_0x189b('0x27')][_0x189b('0xb2')],_0x54874d[_0x91d166][_0x189b('0x27')][_0x189b('0x10')]());_0x2afac4[0x0][_0x189b('0x2b')](_0x34fe4f),_0x87c5ee[_0x189b('0xf1')](0x0),_0x2afac4[_0x189b('0x3e')](_0x34fe4f),_0x369ecb=_0x3d6df2['createPositionFromPath'](_0x115ce1,_0x87c5ee),_0x815918=null;}else{if(_0x189b('0xe5')===_0x54874d[_0x91d166]['type'])_0x2afac4[_0x189b('0x40')](),_0x2f8778=_0x3d6df2[_0x189b('0x94')](_0x115ce1,_0x87c5ee),_0x87c5ee['pop'](),_0x87c5ee[_0x87c5ee[_0x189b('0x5c')]-0x1]++,_0x369ecb=_0x3d6df2[_0x189b('0x94')](_0x115ce1,_0x87c5ee),_0x815918=null;else{if(_0x2f8778=_0x3d6df2['createPositionFromPath'](_0x115ce1,_0x87c5ee),_0x815918&&_0x4f590a(_0x815918,_0x54874d[_0x91d166]['item']))_0x815918[_0x189b('0xb5')]+=_0x54874d[_0x91d166][_0x189b('0x27')][_0x189b('0xe3')];else{const _0x36dac0=new _0x3c37f0(_0x54874d[_0x91d166][_0x189b('0x27')][_0x189b('0xe3')],_0x54874d[_0x91d166]['item'][_0x189b('0x10')]());_0x2afac4[0x0][_0x189b('0x2b')](_0x36dac0),_0x815918=_0x36dac0;}_0x87c5ee[_0x87c5ee[_0x189b('0x5c')]-0x1]+=_0x54874d[_0x91d166][_0x189b('0x27')][_0x189b('0x64')],_0x369ecb=_0x3d6df2[_0x189b('0x94')](_0x115ce1,_0x87c5ee);}}for(const _0x2738e3 of _0x54874d[_0x91d166][_0x189b('0x16')])_0x50a2da[_0x189b('0x72')](_0x2738e3,{'start':_0x2f8778,'end':null});_0x2cb03b(_0x189b('0x18'),_0x91d166,_0x2f8778,_0x369ecb),_0x2cb03b(_0x189b('0x24'),_0x91d166,_0x2f8778,_0x369ecb),_0x2cb03b(_0x189b('0x84'),_0x91d166,_0x2f8778,_0x369ecb),_0x2cb03b(_0x189b('0x71'),_0x91d166,_0x2f8778,_0x369ecb);for(const _0x1ed9a7 of _0x54874d[_0x91d166][_0x189b('0x22')]){_0x50a2da[_0x189b('0x101')](_0x1ed9a7)[_0x189b('0xfc')]=_0x369ecb;}}for(const [_0x475c72,_0x4c687e]of _0x50a2da){const _0x241ee3=this[_0x189b('0x49')][_0x189b('0xe7')][_0x189b('0x5')](_0x4c687e[_0x189b('0xbf')],_0x4c687e['end']);_0x115ce1[_0x189b('0xec')][_0x189b('0x72')](_0x475c72,_0x241ee3);}return _0x4f3855[_0x189b('0xf7')]((_0x4caa19,_0x50f590)=>{const _0x2eb701=_0x115ce1[_0x189b('0xec')][_0x189b('0x101')]('revision:'+_0x4caa19['id']),_0x3f7b2c=_0x115ce1[_0x189b('0xec')][_0x189b('0x101')](_0x189b('0x34')+_0x50f590['id']);return _0x2eb701[_0x189b('0xbf')][_0x189b('0x11')](_0x3f7b2c['start'])?-0x1:_0x2eb701['start']['isAfter'](_0x3f7b2c[_0x189b('0xbf')])?0x1:_0x2eb701[_0x189b('0xfc')][_0x189b('0x11')](_0x3f7b2c[_0x189b('0xfc')])?-0x1:_0x2eb701[_0x189b('0xfc')]['isAfter'](_0x3f7b2c[_0x189b('0xfc')])?0x1:'add'===_0x4caa19[_0x189b('0x31')]?-0x1:0x1;}),{'root':_0x115ce1,'changes':_0x4f3855};function _0x2cb03b(_0x3d9607,_0x7d7974,_0x394604,_0x2c9157){const _0x285a5=!!_0x54874d[_0x7d7974][_0x3d9607],_0x3f7dec=_0x285a5?_0x54874d[_0x7d7974][_0x3d9607]['userId']:null,_0x3ba1c5=_0x7d7974===_0x54874d[_0x189b('0x5c')]-0x1,_0x479511=_0x337328[_0x3d9607][0x0],_0x51c216=_0x29ee27[_0x189b('0x69')](_0x54874d[_0x7d7974][_0x189b('0x27')]);!_0x13fb65[_0x3d9607]&&_0x285a5?_0x13fb65[_0x3d9607]={'start':_0x394604,'tapeItem':_0x54874d[_0x7d7974],'userId':_0x3f7dec,'type':_0x3d9607}:_0x13fb65[_0x3d9607]&&!_0x285a5?(_0x13fb65[_0x3d9607][_0x189b('0xfc')]=_0x394604,_0x585751(_0x13fb65[_0x3d9607]),_0x13fb65[_0x3d9607]=null):_0x13fb65[_0x3d9607]&&_0x285a5&&_0x13fb65[_0x3d9607]['userId']!==_0x3f7dec&&(_0x13fb65[_0x3d9607][_0x189b('0xfc')]=_0x394604,_0x479511&&_0x479511[_0x189b('0x8b')]===_0x13fb65[_0x3d9607]['userId']||_0x585751(_0x13fb65[_0x3d9607]),_0x13fb65[_0x3d9607]={'start':_0x394604,'tapeItem':_0x54874d[_0x7d7974],'userId':_0x3f7dec,'type':_0x3d9607}),_0x13fb65[_0x3d9607]&&_0x51c216&&(_0x189b('0x14')!==_0x54874d[_0x7d7974][_0x189b('0x31')]||_0x479511&&_0x479511[_0x189b('0x8b')]===_0x3f7dec||_0x337328[_0x3d9607][_0x189b('0x3e')]({'userId':_0x3f7dec,'object':_0x54874d[_0x7d7974][_0x189b('0x27')],'change':_0x13fb65[_0x3d9607]}),_0x189b('0xe5')===_0x54874d[_0x7d7974][_0x189b('0x31')]&&_0x479511&&_0x479511[_0x189b('0xa1')]===_0x54874d[_0x7d7974][_0x189b('0x27')]&&(_0x337328[_0x3d9607][_0x189b('0x40')](),_0x13fb65[_0x3d9607]=_0x479511[_0x189b('0xdf')])),_0x13fb65[_0x3d9607]&&_0x3ba1c5&&(_0x13fb65[_0x3d9607]['end']=_0x2c9157,_0x585751(_0x13fb65[_0x3d9607]),_0x13fb65[_0x3d9607]=null);}function _0x585751({start:_0x12f687,end:_0x429876,tapeItem:_0x42351f,userId:_0x4369d0,type:_0x1c1661}){const _0x5ae6f5=_0x42351f[_0x189b('0x27')],_0x50c2d9=_0x3d6df2[_0x189b('0x80')][_0x189b('0x92')](_0x5ae6f5)&&!_0x3d6df2[_0x189b('0x80')]['isLimit'](_0x5ae6f5),_0x5afa97=_0x12f687['nodeAfter']==_0x429876[_0x189b('0x56')]&&_0x429876[_0x189b('0xc')];if(_0x50c2d9&&_0x5afa97)return;const _0x424a9d=_0x3d6df2[_0x189b('0x5')](_0x12f687,_0x429876),_0x7ae98e=_0x366d40[_0x189b('0x101')](_0x4369d0),_0x4eed8e=new _0x84517a({'author':_0x7ae98e,'type':_0x189b('0x71')==_0x1c1661||_0x189b('0x24')==_0x1c1661?_0x189b('0x105'):_0x189b('0x61'),'data':{'isSuggestion':_0x189b('0x24')==_0x1c1661||_0x189b('0x18')==_0x1c1661},'createdAt':new Date()});_0x4f3855[_0x189b('0xf1')](_0x4eed8e),_0x115ce1['markers']['set'](_0x189b('0x34')+_0x4eed8e['id'],_0x424a9d);}function _0x4f590a(_0x2d0c9b,_0xcff9b9){const _0x2ed879=_0x2d0c9b['getAttributes'](),_0x584896=_0xcff9b9['getAttributes']();for(const _0x437352 of _0x2ed879){if(_0x437352[0x1]!==_0xcff9b9['getAttribute'](_0x437352[0x0]))return!0x1;_0x584896[_0x189b('0x47')]();}return _0x584896[_0x189b('0x47')]()[_0x189b('0x118')];}}[_0x189b('0xa7')](){this[_0x189b('0x49')]['conversion'][_0x189b('0x9')](_0x189b('0x42'))[_0x189b('0xb9')]({'view':_0x189b('0x117')}),this[_0x189b('0x49')]['conversion'][_0x189b('0x9')]('editingDowncast')[_0x189b('0x68')]({'model':'revision','view':_0x3e7167=>{const _0x18b753=_0x3e7167[_0x189b('0x2')][_0x189b('0xa9')](':')[0x1],_0x41c7d8=this['_getChangeFromId'](_0x18b753);if(!_0x41c7d8)return null;const _0x9359ce='add'==_0x41c7d8[_0x189b('0x31')]?_0x189b('0x9e'):'deletion',_0x1993b9=[_0x189b('0x5a'),_0x189b('0x6b')+_0x9359ce];return _0x41c7d8[_0x189b('0xe3')][_0x189b('0x79')]&&_0x1993b9[_0x189b('0xf1')](_0x189b('0x6b')+_0x9359ce+_0x189b('0xeb')),this[_0x189b('0xcc')]==_0x41c7d8&&_0x1993b9[_0x189b('0xf1')](_0x189b('0xaf')),{'classes':_0x1993b9,'attributes':{'data-change-id':_0x18b753}};}}),this[_0x189b('0x49')]['conversion'][_0x189b('0x9')](_0x189b('0x42'))[_0x189b('0x105')](_0x2c54b8=>{_0x2c54b8['on'](_0x189b('0xcd'),(_0x395d17,_0x5917c0,_0x911bd2)=>{const _0x18d510=_0x5917c0[_0x189b('0xe2')][_0x189b('0x57')](0x0);if(!_0x18d510||!_0x18d510['is']('element',_0x189b('0x6d')))return;if(!_0x911bd2[_0x189b('0xbd')]['consume'](_0x18d510,{'attributes':[_0x189b('0x100'),_0x189b('0x102')]}))return;const _0x85812=_0x5917c0['modelRange']['start'][_0x189b('0x9b')];_0x911bd2[_0x189b('0x3d')][_0x189b('0xa4')](_0x189b('0x100'),_0x18d510['getAttribute'](_0x189b('0x100')),_0x85812),_0x911bd2['writer'][_0x189b('0xa4')](_0x189b('0x102'),_0x18d510[_0x189b('0xe1')](_0x189b('0x102')),_0x85812);},{'priority':'low'});}),this[_0x189b('0x49')]['conversion'][_0x189b('0x9')](_0x189b('0x42'))[_0x189b('0x105')](_0x44cb61=>{_0x44cb61['on'](_0x189b('0xd'),(_0x290cad,_0x2fc3ef,_0x577056)=>{if(!_0x577056[_0x189b('0xbd')][_0x189b('0xf0')](_0x2fc3ef['viewItem'],{'attributes':[_0x189b('0x100'),_0x189b('0x102')]}))return;if(_0x2fc3ef[_0x189b('0x76')][_0x189b('0x60')])return;const _0x190be6=_0x2fc3ef[_0x189b('0x76')][_0x189b('0xbf')][_0x189b('0x9b')];_0x190be6[_0x189b('0x109')](_0x189b('0x100'))||_0x190be6['hasAttribute'](_0x189b('0xd1'))||(_0x577056['writer']['setAttribute'](_0x189b('0x100'),_0x2fc3ef[_0x189b('0xe2')][_0x189b('0xe1')]('vid_start'),_0x190be6),_0x577056['writer'][_0x189b('0xa4')](_0x189b('0x102'),_0x2fc3ef['viewItem']['getAttribute'](_0x189b('0x102')),_0x190be6));},{'priority':_0x189b('0xc4')});}),this[_0x189b('0x49')]['conversion'][_0x189b('0x9')](_0x189b('0x42'))[_0x189b('0xb6')]({'view':{'name':_0x189b('0xb8'),'attributes':{'vid':!0x0}},'model':{'key':_0x189b('0xd1'),'value':_0x52a872=>_0x52a872[_0x189b('0xe1')]('vid')}}),this[_0x189b('0x49')][_0x189b('0xe7')][_0x189b('0x80')]['on'](_0x189b('0xe6'),(_0x2f9e33,[,_0x1f7141])=>{[_0x189b('0x100'),_0x189b('0x102'),'vid'][_0x189b('0xda')](_0x1f7141)&&(_0x2f9e33[_0x189b('0xd7')]=!0x0,_0x2f9e33[_0x189b('0x2a')]());},{'priority':'highest'}),this['editor'][_0x189b('0x20')][_0x189b('0x9')](_0x189b('0x8a'))[_0x189b('0x105')](_0x357fd6=>{_0x357fd6['on'](_0x189b('0x28'),(_0x382ad3,_0x1fd2b2,_0x14d02e)=>{if('\x20'!=_0x1fd2b2[_0x189b('0x27')]['data']||_0x1fd2b2[_0x189b('0x27')][_0x189b('0x56')][_0x189b('0xf6')]>0x1)return;if(!_0x14d02e[_0x189b('0xbd')][_0x189b('0xf0')](_0x1fd2b2[_0x189b('0x27')],_0x382ad3[_0x189b('0xb2')]))return;const _0x1218b2=_0x14d02e[_0x189b('0x3d')],_0x7193e2=_0x14d02e[_0x189b('0xb0')][_0x189b('0x62')](_0x1fd2b2['range']);_0x1218b2[_0x189b('0x70')](_0x7193e2,_0x1218b2[_0x189b('0xc1')](_0x189b('0xb8')));});}),this['editor'][_0x189b('0x20')]['for'](_0x189b('0x8a'))[_0x189b('0x3a')]({'model':_0x189b('0x117')}),this[_0x189b('0x49')][_0x189b('0x86')][_0x189b('0xad')]['on'](_0x189b('0x25'),function(_0x3416b7){const _0x2b0939=_0x3416b7['plugins'][_0x189b('0x101')](_0x189b('0xd0'));return(_0x495fac,_0x3609da,_0x189ccc)=>{const _0xe55207=_0x3609da[_0x189b('0x2')]['split'](':')[0x1],_0x554c4a=_0x2b0939['_getChangeFromId'](_0xe55207);if(!_0x554c4a)return null;const _0x3d59e9=_0x189b('0x105')==_0x554c4a[_0x189b('0x31')]?'split':'merge';if(!_0x189ccc['consumable']['test'](_0x3609da[_0x189b('0x4f')],_0x495fac[_0x189b('0xb2')]))return;const _0x2a2e4b=_0x3609da[_0x189b('0x4f')][_0x189b('0x1')](),_0x5aa9a6=_0x3609da['markerRange'][_0x189b('0xbf')],_0x49bf3a=_0x3416b7[_0x189b('0xe7')]['schema'];let _0x579528=null,_0x478c04=null,_0x3b15e2=!0x1,_0x2d48d1=!0x1;for(const _0x118642 of _0x2a2e4b){const _0x18659d=_0x118642[_0x189b('0x27')];_0x3b15e2=_0x3b15e2||_0x49bf3a[_0x189b('0x4a')](_0x18659d);const _0x52049f=_0x189ccc[_0x189b('0xb0')][_0x189b('0x38')](_0x18659d);if(_0x52049f&&_0x52049f[_0x189b('0x54')](_0x189b('0xac')))return;_0x189b('0xe5')==_0x118642[_0x189b('0x31')]&&(_0x49bf3a[_0x189b('0x92')](_0x18659d)&&!_0x49bf3a[_0x189b('0xd8')](_0x18659d)&&(_0x18659d[_0x189b('0x43')]||_0x5aa9a6[_0x189b('0xdc')]?_0x579528&&_0x579528[_0x189b('0x56')]==_0x18659d||(_0x579528=_0x18659d,_0x5b719b(_0x118642[_0x189b('0x9c')]),_0x2d48d1=!0x0):_0x478c04=_0x478c04||_0x118642[_0x189b('0x9c')]));}function _0x5b719b(_0x50152d){const _0x7b0e=_0x189ccc[_0x189b('0x3d')][_0x189b('0xd5')]('span',{'class':_0x189b('0x6b')+_0x3d59e9}),_0x2f800b=_0x189ccc[_0x189b('0xb0')]['toViewPosition'](_0x50152d);_0x554c4a[_0x189b('0xe3')][_0x189b('0x79')]&&_0x189ccc[_0x189b('0x3d')][_0x189b('0x106')](_0x189b('0x6b')+_0x3d59e9+_0x189b('0xeb'),_0x7b0e),_0x2b0939['activeChange']==_0x554c4a&&_0x189ccc[_0x189b('0x3d')]['addClass'](_0x189b('0xaf'),_0x7b0e),_0x189ccc['writer'][_0x189b('0xa8')](_0x2f800b,_0x7b0e),_0x189ccc[_0x189b('0xb0')][_0x189b('0x0')](_0x7b0e,_0x3609da['markerName']);}_0x3b15e2||_0x2d48d1||!_0x478c04||_0x5b719b(_0x478c04);};}(this[_0x189b('0x49')]),{'priority':_0x189b('0x95')}),this['editor'][_0x189b('0x86')]['downcastDispatcher']['on'](_0x189b('0x32'),(_0x20afbf,_0x1520e3,_0x213356)=>{const _0x50cd54=_0x213356['mapper'][_0x189b('0x83')](_0x1520e3[_0x189b('0x2')]);if(_0x50cd54)for(const _0x516c44 of _0x50cd54)(_0x516c44[_0x189b('0xd9')](_0x189b('0xd2'))||_0x516c44[_0x189b('0xd9')](_0x189b('0x6a')))&&(_0x213356[_0x189b('0xb0')][_0x189b('0xc2')](_0x516c44,_0x1520e3['markerName']),_0x213356[_0x189b('0x3d')][_0x189b('0x61')](_0x516c44));},{'priority':'high'}),this[_0x189b('0x49')][_0x189b('0x86')][_0x189b('0xad')]['on'](_0x189b('0x25'),(_0x41f9c3,_0x4043b9,_0x27daba)=>{const _0xa71f21=_0x4043b9[_0x189b('0x2')][_0x189b('0xa9')](':')[0x1],_0x4968a2=this[_0x189b('0x111')](_0xa71f21);if(!_0x4968a2)return null;const _0x3af18b='add'==_0x4968a2[_0x189b('0x31')]?_0x189b('0xa9'):_0x189b('0x45');if(_0x27daba[_0x189b('0xbd')][_0x189b('0x67')](_0x4043b9[_0x189b('0x4f')],_0x41f9c3[_0x189b('0xb2')]))for(const _0x534946 of _0x4043b9['markerRange']['getItems']()){if(!_0x534946['is'](_0x189b('0xd'),_0x189b('0x3f')))continue;const _0xdc5b31=_0x27daba['writer'][_0x189b('0xd5')](_0x189b('0xb8'),{'class':'ck-suggestion-marker-'+_0x3af18b}),_0x2dc000=_0x27daba[_0x189b('0xb0')]['toViewPosition'](this[_0x189b('0x49')][_0x189b('0xe7')]['createPositionBefore'](_0x534946));_0x4968a2[_0x189b('0xe3')]['isSuggestion']&&_0x27daba[_0x189b('0x3d')][_0x189b('0x106')]('ck-suggestion-marker-'+_0x3af18b+_0x189b('0xeb'),_0xdc5b31),this[_0x189b('0xcc')]==_0x4968a2&&_0x27daba[_0x189b('0x3d')]['addClass'](_0x189b('0xaf'),_0xdc5b31),_0x27daba['writer']['insert'](_0x2dc000,_0xdc5b31),_0x27daba[_0x189b('0xb0')]['bindElementToMarker'](_0xdc5b31,_0x4043b9[_0x189b('0x2')]);}},{'priority':_0x189b('0x95')}),this[_0x189b('0x49')][_0x189b('0x20')][_0x189b('0x9')](_0x189b('0x42'))[_0x189b('0xb9')]({'view':_0x189b('0x82'),'model':_0x4adf62=>_0x189b('0xc3')+_0x4adf62,'converterPriority':_0x189b('0x104')}),this[_0x189b('0x49')][_0x189b('0x20')]['for']('upcast')['dataToMarker']({'view':_0x189b('0x3'),'model':_0x38121b=>_0x189b('0xba')+_0x38121b,'converterPriority':'highest'}),this[_0x189b('0x49')]['conversion']['for'](_0x189b('0x8a'))[_0x189b('0x3a')]({'model':_0x189b('0x21'),'view':_0x44ed11=>_0x189b('0xee')+_0x44ed11,'converterPriority':_0x189b('0x104')}),this[_0x189b('0x49')][_0x189b('0x20')][_0x189b('0x9')](_0x189b('0xc9'))[_0x189b('0x68')]({'model':_0x189b('0x21'),'view':_0x2f3e19=>{const _0x585bbc=_0x2f3e19[_0x189b('0x2')]['split'](':')[0x1];return _0x189b('0x9e')!=_0x585bbc&&_0x189b('0xd3')!=_0x585bbc?null:{'classes':[_0x189b('0x74'),_0x189b('0xf2')+_0x585bbc]};}}),this[_0x189b('0x49')][_0x189b('0x86')]['downcastDispatcher']['on'](_0x189b('0x1e'),Z(this[_0x189b('0x49')],'merge'),{'priority':_0x189b('0x95')}),this[_0x189b('0x49')]['editing'][_0x189b('0xad')]['on'](_0x189b('0x10a'),Z(this[_0x189b('0x49')],_0x189b('0xa9')),{'priority':_0x189b('0x95')}),this['editor'][_0x189b('0x86')][_0x189b('0xad')]['on'](_0x189b('0x10e'),(_0x5284d9,_0x382c45,_0x34db55)=>{const _0x4407c4=_0x34db55[_0x189b('0xb0')][_0x189b('0x83')](_0x382c45['markerName']);if(_0x4407c4)for(const _0x415103 of _0x4407c4)_0x415103['is']('uiElement')&&(_0x34db55[_0x189b('0xb0')][_0x189b('0xc2')](_0x415103,_0x382c45[_0x189b('0x2')]),_0x34db55[_0x189b('0x3d')][_0x189b('0x61')](_0x415103));},{'priority':_0x189b('0x95')});}[_0x189b('0x111')](_0x198910){return this[_0x189b('0x98')]['get'](_0x198910);}[_0x189b('0x19')](_0x23ed46){this[_0x189b('0xaa')]&&this[_0x189b('0xaa')][_0x189b('0x2e')](),this[_0x189b('0xaa')]=new _0x2164ba(this[_0x189b('0x49')][_0x189b('0x65')],_0x23ed46);const _0x3842f9=this['editor'][_0x189b('0xe7')][_0x189b('0xec')][_0x189b('0x101')]('revision:'+_0x23ed46['id']);return this['_changeView'][_0x189b('0xdb')]=()=>_0x4d1f24(this['editor'][_0x189b('0x86')],_0x3842f9),this[_0x189b('0xaa')];}[_0x189b('0x39')](){this['editor'][_0x189b('0xe7')]['document']['selection']['observeMarkers']('revision'),this['on'](_0x189b('0xa5'),(_0x5a69b0,_0x3a2703,_0x144950,_0x569739)=>{_0x569739&&this[_0x189b('0xe0')]['remove'](_0x569739),_0x144950&&(this[_0x189b('0xe0')][_0x189b('0x105')]({'view':_0x144950,'stackId':_0x189b('0x8f'),'position':{'target':_0x144950[_0x189b('0xdb')]}}),this[_0x189b('0xe0')][_0x189b('0x5f')](_0x189b('0x8f')));}),this['on'](_0x189b('0x10b'),(_0x4393b0,_0x5d69fd,_0x3ee387,_0x2e1323)=>{this['activeView']=_0x3ee387?this[_0x189b('0x19')](_0x3ee387):null,this[_0x189b('0x49')][_0x189b('0xe7')][_0x189b('0xdf')](()=>{const _0x3def64=this[_0x189b('0x49')]['editing'];_0x2e1323&&_0x3def64[_0x189b('0x8d')](_0x189b('0x34')+_0x2e1323['id']),_0x3ee387&&_0x3def64[_0x189b('0x8d')](_0x189b('0x34')+_0x3ee387['id']);});}),this['listenTo'](this['editor'][_0x189b('0x86')][_0x189b('0x91')]['document'],_0x189b('0x30'),(_0x188aa6,_0x15a339)=>{if(this[_0x189b('0xcc')])return;const _0xc851e2=this[_0x189b('0x7e')](_0x15a339[_0x189b('0xb7')]),_0x35ffa6=this[_0x189b('0x98')][_0x189b('0x101')](_0xc851e2);this['activeView']=_0x35ffa6?this['_getViewForChange'](_0x35ffa6):null;}),this[_0x189b('0x26')](this['editor']['editing'][_0x189b('0x91')][_0x189b('0x110')],_0x189b('0xfd'),(_0x2e8a3b,_0x2dba28)=>{const _0x44dc8f=this[_0x189b('0x7e')](_0x2dba28['target']),_0x7f41b=this[_0x189b('0x98')][_0x189b('0x101')](_0x44dc8f);this[_0x189b('0xcc')]=_0x7f41b||null;});}[_0x189b('0x7e')](_0x3d066f){do{const _0x3f3d15=_0x3d066f[_0x189b('0xe1')](_0x189b('0x96'));if(_0x3f3d15)return _0x3f3d15;_0x3d066f=_0x3d066f[_0x189b('0x56')];}while(_0x3d066f);return null;}[_0x189b('0x44')](){this[_0x189b('0x49')][_0x189b('0xe7')]['change'](_0x46ffc6=>{for(const _0x43942c of this[_0x189b('0x49')]['model']['markers'])_0x46ffc6[_0x189b('0xa')](_0x43942c);});}}function Z(_0x86af01,_0x10333b){return(_0x372e4b,_0x216d64,_0x4d4525)=>{if(!_0x4d4525[_0x189b('0xbd')][_0x189b('0x67')](_0x216d64[_0x189b('0x4f')],_0x372e4b[_0x189b('0xb2')]))return;const _0x5ebf79=_0x216d64[_0x189b('0x4f')][_0x189b('0x1')](),_0x2e5108=_0x216d64[_0x189b('0x4f')][_0x189b('0xbf')],_0x303008=_0x86af01[_0x189b('0xe7')][_0x189b('0x80')];let _0x506ef4=null,_0x45771d=null,_0x156aae=!0x1,_0xe0dd10=!0x1;for(const _0xc6445b of _0x5ebf79){const _0x22bf74=_0xc6445b['item'];_0x156aae=_0x156aae||_0x303008['isContent'](_0x22bf74);const _0x3e8efb=_0x4d4525['mapper']['toViewElement'](_0x22bf74);if(_0x3e8efb&&_0x3e8efb[_0x189b('0x54')](_0x189b('0xac')))return;_0x189b('0xe5')==_0xc6445b[_0x189b('0x31')]&&(_0x303008['isBlock'](_0x22bf74)&&!_0x303008[_0x189b('0xd8')](_0x22bf74)&&(_0x22bf74[_0x189b('0x43')]||_0x2e5108[_0x189b('0xdc')]?_0x506ef4&&_0x506ef4[_0x189b('0x56')]==_0x22bf74||(_0x506ef4=_0x22bf74,_0x3a436b(_0xc6445b[_0x189b('0x9c')]),_0xe0dd10=!0x0):_0x45771d=_0x45771d||_0xc6445b[_0x189b('0x9c')]));}function _0x3a436b(_0x56cbdb){const _0x5551bd=_0x4d4525['mapper'][_0x189b('0x114')](_0x56cbdb),_0x1c1ad4=_0x4d4525[_0x189b('0x3d')][_0x189b('0xd5')](_0x189b('0xb8'),{'class':_0x189b('0xf2')+_0x10333b});_0x4d4525[_0x189b('0x3d')][_0x189b('0xa8')](_0x5551bd,_0x1c1ad4),_0x4d4525[_0x189b('0xb0')][_0x189b('0x0')](_0x1c1ad4,_0x216d64[_0x189b('0x2')]);}_0x156aae||_0xe0dd10||!_0x45771d||_0x3a436b(_0x45771d);};}_0xc947e1(d,_0x10a00a);class tt extends _0x460336{constructor(_0x1dd2d8){super(_0x1dd2d8);const _0x48f9a5=_0x1dd2d8['plugins']['get'](d);this[_0x189b('0x4c')](_0x1dd2d8,_0x189b('0x4d')),this[_0x189b('0x52')]('readOnlyMode'),this[_0x189b('0x26')](_0x48f9a5,'change:isReady',()=>this[_0x189b('0xe')]()),this[_0x189b('0x26')](_0x48f9a5,_0x189b('0x23'),()=>this[_0x189b('0xe')]());}[_0x189b('0x4')](){const _0x59a2a4=this['editor'],_0x4bd88c=_0x59a2a4[_0x189b('0x6')]['get'](d),_0x4c96c9=_0x4bd88c[_0x189b('0x58')]?_0x4bd88c[_0x189b('0xa3')]['newRevisionId']:null;_0x59a2a4[_0x189b('0x35')]['get'](_0x189b('0x2d'))['restoreRevisionCallback'](_0x4c96c9);}[_0x189b('0xe')](){const {isReady:_0x33f5e3,isEnabled:_0x51d5f4}=this[_0x189b('0x49')][_0x189b('0x6')]['get'](d);this['isEnabled']=_0x33f5e3&&_0x51d5f4;}}class et extends _0x460336{constructor(_0x34f70b,{direction:_0x2b8a53}){super(_0x34f70b);const _0x2975ca=_0x34f70b[_0x189b('0x6')]['get'](d);this[_0x189b('0x4c')](_0x34f70b,_0x189b('0x4d')),this[_0x189b('0x52')](_0x189b('0x90')),this[_0x189b('0x116')]=_0x189b('0x17')===_0x2b8a53?0x1:-0x1,this[_0x189b('0x26')](_0x2975ca,_0x189b('0xf3'),()=>this['refresh']()),this[_0x189b('0x26')](_0x2975ca,_0x189b('0x23'),()=>this[_0x189b('0xe')]());}[_0x189b('0x4')](){const _0x4c1a98=this[_0x189b('0x49')],_0x3028cd=_0x4c1a98[_0x189b('0x6')][_0x189b('0x101')](d),{isNavigationMode:_0x3f5baa,currentChangeNumber:_0x1e5de5}=_0x3028cd;_0x3028cd[_0x189b('0xcc')]=_0x3f5baa?_0x3028cd['diff'][_0x189b('0xb3')][_0x189b('0x101')](_0x1e5de5+this[_0x189b('0x116')]):_0x3028cd[_0x189b('0xa3')][_0x189b('0xb3')][_0x189b('0x93')];const _0xd05172=_0x4c1a98[_0x189b('0xe7')][_0x189b('0xec')][_0x189b('0x101')](_0x189b('0x34')+_0x3028cd[_0x189b('0xcc')]['id']),_0x397c42=_0x4d1f24(_0x4c1a98['editing'],_0xd05172);_0x587c20({'target':_0x397c42,'viewportOffset':0x28});}[_0x189b('0xe')](){const {isNavigationMode:_0x28ffe5,currentChangeNumber:_0x35b455,numberOfChanges:_0x312f4b,isReady:_0x45ee72,isEnabled:_0x4e33a9}=this[_0x189b('0x49')][_0x189b('0x6')]['get'](d);this[_0x189b('0x5b')]=!!(_0x4e33a9&&_0x45ee72&&_0x312f4b)&&(!_0x28ffe5||(0x1===this[_0x189b('0x116')]?_0x35b455<_0x312f4b-0x1:_0x35b455>0x0));}}
23
+ const _0x2959=['ck-suggestion-preview-marker-','vid_end','addMarker:revision-suggestion:deletion','showPreviousChange','removeMarker:revision','previousPosition','RevisionViewer','createPositionFromPath','createRangeIn','pluginName','enqueueChange','_changeView','test','getAttribute','isRemoveSuggestion','pop','span','nextPosition','length','setAttribute','delete','split','for','ck-suggestion-marker-merge','deletion','_markInsertions','pairId','getIndex','merge','_markSuggestions','createUIElement','_setDistance','range','writer','<p></p>','_removeRevisionMarkers','startIndex','ck-suggestion-marker-split','attribute:vid','restoreRevisionCallback','nodeAfter','parent','change:activeChange','ck-suggestion-marker-','isAfter','oldRevisionId','uiElement','collaboration.channelId','revision-suggestion:','isAtEnd','getRootNames','WidgetToolbarRepository','low','vid','checkAttribute','markersEnd','getRoot','isBefore','revision-end','selection','unshift','commands','string','element','_getRevisionsRange','_revisions','_refreshStartEndIndex','getAttributes','locale','diffData','isBlock','observeMarkers','markerRange','elementToAttribute','_fixObsoleteTags','_findChangeIdFromDomTarget','getWalker','processor','destroy','enableReadOnlyMode','restoreRevision','ck-editor__editable__overlay','isEnabled','nextSibling','consumable','toViewElement','readOnlyMode','document','children','config','shift','index','model','removeMarker:revision-suggestion','setData','isInline','markerToHighlight','removeClass','highest','level','diff','_appendChild','addHighlight','name','refresh','showStack','markers','suggestion:','viewItem','high','error','softBreak','getChild','revision-start','upcast','_setConversion','roots','type','getRevision','return','text','then','set','addMarker:revision-suggestion:insertion','sort','_getChangeFromId','_step','insertions','change:isEnabled','abs','side','change','revision-viewer','bind','editing','dataDowncast','isAtStart','repository','view','done','change:isReady','data-change-id','startsWith','splice','isContent','addRevision','execute','maxOffset','isAddSuggestion','stop','deletions','change:activeView','init','comment','changes','object','_processTape','mapper','isAdded','revision:','data-revision-','activeView','clearForceDisabled','has','endIndex','plugins','_makeModelFromTape','remove','push','_markMarkers','ck-suggestion-marker','data','end','keys','_removeUnsupportedChanges','_target','dataToMarker','toViewPosition','resolve','elementStart','schema','insert','conversion','isEqual','offsetSize','ck-suggestion-preview-marker','forEach','distance','wrap','isObject','map','unbindElementFromMarkerName','vid_start','change:numberOfChanges','ck-suggestion-marker--active','parse','all','slice','first','editor','listenTo','catch','hasClass','toData','markerName','_changeIdToChange','addClass','forceDisabled','revisionHistoryLabel','includes','isReady','change:isReadOnly','hasAttribute','_threeWayMerge','isLimit','-new','_cleanUp','newRevisionId','start','filter','_balloon','createAttributeElement','next','isRemoved','_getViewObj','_markMismatchedRemovedTags','_getDiff','add','getItems','_makeTape','_removeMissingPairs','_makeModelFromViewString','requires','isCollapsed','default','markerNameToElements','mousedown','createRange','target','removeMarker','loadRevisionData','consume','modelRange','numberOfChanges','revision-suggestion','get','markerToData','_joinTapes','forward','insertion','elementEnd','userId','downcastDispatcher','isIncorrect','item','revision','code','isSuggestion','concat','showNextChange','suggestion','createRevision','clear','adapter','reconvertMarker','getCustomProperty','bindElementToMarker','markersStart','activeChange','from','attributes','_update','_initInteractions'];(function(_0x24fcc1,_0x2959e1){const _0x1294bd=function(_0x184096){while(--_0x184096){_0x24fcc1['push'](_0x24fcc1['shift']());}};_0x1294bd(++_0x2959e1);}(_0x2959,0xff));const _0x1294=function(_0x24fcc1,_0x2959e1){_0x24fcc1=_0x24fcc1-0x0;let _0x1294bd=_0x2959[_0x24fcc1];return _0x1294bd;};import{Plugin as _0x2215de,Command as _0x4474a2}from'ckeditor5/src/core';import{ObservableMixin as _0x518962,mix as _0x29ec24,scrollViewportToShowTarget as _0x5eebd0}from'ckeditor5/src/utils';import{ContextualBalloon as _0x5ebcec}from'ckeditor5/src/ui';import{DocumentFragment as _0x271f2f,Element as _0x5b1c31,Text as _0x4b240a,ViewDocumentFragment as _0x1f5ced,ViewText as _0x4e5cb1,ViewElement as _0x501357,ViewContainerElement as _0x2f9a5c,ViewAttributeElement as _0x589465,ViewEmptyElement as _0x4fe8d8,ViewRawElement as _0x117a84,ViewUIElement as _0x5036a7}from'ckeditor5/src/engine';import{Users as _0x166c51,getMarkerDomElement as _0xdd8ba6}from'ckeditor5-collaboration/src/collaboration-core';import _0x1ea0d4 from'./ui/revisionviewer/changedetailsview';import _0x3c977e from'./revisionsrepository';import _0x560c95 from'./changeitem';import _0x4155b3 from'./revisiondiff';import'../theme/revisionviewer.css';const K={'c':_0x2f9a5c,'a':_0x589465,'e':_0x4fe8d8,'r':_0x117a84,'u':_0x5036a7};export default class w extends _0x2215de{static get[_0x1294('0x1b')](){return _0x1294('0x18');}static get[_0x1294('0xfa')](){return[_0x166c51,_0x5ebcec,_0x3c977e];}constructor(..._0x34d4e8){super(..._0x34d4e8),this[_0x1294('0x9b')]=this['editor'][_0x1294('0xb7')][_0x1294('0x107')]('RevisionsRepository'),this[_0x1294('0x8c')](_0x1294('0xd'),null),this[_0x1294('0x8c')]('activeView',null),this['set'](_0x1294('0x76'),null),this['set'](_0x1294('0xe4'),!0x1),this['set'](_0x1294('0x64'),!0x0),this['on'](_0x1294('0x92'),(_0x354466,_0x376496,_0x1e4f7c)=>{this[_0x1294('0xd')]=null,this[_0x1294('0xb3')]=null,this[_0x1294('0xd9')][_0x1294('0x98')][_0x1294('0x9c')][_0x1294('0x95')](_0x306386=>{for(const _0x422c8d of this[_0x1294('0xd9')][_0x1294('0x98')][_0x1294('0x9c')][_0x1294('0x69')][_0x1294('0x86')])_0x1e4f7c?_0x306386[_0x1294('0x73')](_0x1294('0x63'),_0x422c8d):_0x306386['addClass'](_0x1294('0x63'),_0x422c8d);});}),this[_0x1294('0x97')]('isNavigationMode')['to'](this,'activeChange',_0xfa46a6=>null!==_0xfa46a6),this[_0x1294('0x97')]('currentChangeNumber')['to'](this,_0x1294('0xe4'),this,'diff',this,_0x1294('0xd'),(_0x539385,_0x1844ed,_0x1c114b)=>_0x539385&&_0x1c114b?_0x1844ed['changes'][_0x1294('0x2d')](_0x1c114b):0x0),this[_0x1294('0x97')](_0x1294('0x105'))['to'](this,_0x1294('0xe4'),this,_0x1294('0x76'),(_0x3bb371,_0x3c3b79)=>_0x3bb371?_0x3c3b79[_0x1294('0xac')][_0x1294('0x24')]:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this[_0x1294('0xee')]=this['editor'][_0x1294('0xb7')][_0x1294('0x107')](_0x5ebcec);}[_0x1294('0xaa')](){const _0x575415=this[_0x1294('0xd9')],_0x52b62d=new Y(_0x575415,{'direction':'backward'}),_0x4b2c7a=new Y(_0x575415,{'direction':'forward'});_0x575415[_0x1294('0x4f')][_0x1294('0xf5')](_0x1294('0x15'),_0x52b62d),_0x575415['commands'][_0x1294('0xf5')](_0x1294('0x4'),_0x4b2c7a),_0x575415[_0x1294('0x4f')]['add'](_0x1294('0x62'),new X(_0x575415)),this['on'](_0x1294('0xd3'),()=>{_0x52b62d[_0x1294('0x7a')](),_0x4b2c7a['refresh']();}),this[_0x1294('0x85')](),this[_0x1294('0x11')](),_0x575415[_0x1294('0x61')](_0x1294('0x96')),_0x575415['plugins'][_0x1294('0xb5')]('WidgetToolbarRepository')&&_0x575415[_0x1294('0xb7')]['get'](_0x1294('0x45'))[_0x1294('0xe1')](_0x1294('0x96'));}async['getRevisionData'](_0x54fb20){await this[_0x1294('0x102')](_0x54fb20);const _0x38c0ed={};for(const _0x1eb0a1 in _0x54fb20[_0x1294('0x57')]){const _0x1c757c=this['_removeRevisionMarkers'](JSON[_0x1294('0xd5')](_0x54fb20[_0x1294('0x57')][_0x1eb0a1][_0x1294('0x91')])),_0x2cf333=this[_0x1294('0xd9')]['editing'][_0x1294('0x9c')]['document'],_0xffb961=new _0x1f5ced(_0x2cf333,_0x1c757c['map'](_0x304cfe=>this[_0x1294('0xf2')](_0x304cfe)));this[_0x1294('0xd9')][_0x1294('0xbd')]['processor']['useFillerType']('marked'),_0x38c0ed[_0x1eb0a1]=this[_0x1294('0xd9')][_0x1294('0xbd')][_0x1294('0x5f')][_0x1294('0xdd')](_0xffb961),this[_0x1294('0xd9')][_0x1294('0xbd')][_0x1294('0x5f')]['useFillerType'](_0x1294('0xfc'));}return _0x38c0ed;}['_removeRevisionMarkers'](_0x3730d9){return(_0x3730d9=_0x3730d9[_0x1294('0xed')](_0x350ea9=>!_0x350ea9[_0x1294('0x79')]||_0x1294('0x83')!==_0x350ea9[_0x1294('0x79')]&&_0x1294('0x4c')!==_0x350ea9[_0x1294('0x79')]))[_0x1294('0xcc')](_0x1ac6c3=>{_0x1294('0x50')!=typeof _0x1ac6c3&&(_0x1ac6c3[_0x1294('0x6a')]=this[_0x1294('0x35')](_0x1ac6c3['children']),_0x1ac6c3[_0x1294('0xf')]=_0x1ac6c3['attributes'][_0x1294('0xed')](_0xa0a0d9=>!_0xa0a0d9[0x0][_0x1294('0xa0')](_0x1294('0xb2'))));}),_0x3730d9;}['compare'](_0x1f4302,_0x5e2a7b,_0x2a208a=!0x1){if(!this['isEnabled'])return;const _0x55c4d0=this[_0x1294('0x76')],_0x9c8106=this['repository'],_0x1f49c2=_0x1294('0x50')==typeof _0x1f4302?_0x9c8106[_0x1294('0x88')](_0x1f4302):_0x1f4302,_0x356498=_0x1294('0x50')==typeof _0x5e2a7b?_0x9c8106[_0x1294('0x88')](_0x5e2a7b):_0x5e2a7b,_0x2dd33a=_0x1f49c2['id'],_0x4cd085=_0x356498?_0x356498['id']:null;if(!_0x2a208a&&this[_0x1294('0x76')]&&this[_0x1294('0x76')][_0x1294('0xeb')]===_0x2dd33a&&this[_0x1294('0x76')][_0x1294('0x3f')]===_0x4cd085)return Promise[_0x1294('0xc4')]();this[_0x1294('0xe4')]=!0x1,this[_0x1294('0xb3')]=null,this[_0x1294('0xd')]=null,this[_0x1294('0x76')]=new _0x4155b3(_0x2dd33a,_0x4cd085);const _0x478a7d=this[_0x1294('0x52')](_0x1f49c2,_0x356498,!0x0)[_0x1294('0xd0')](_0xeb7495=>this[_0x1294('0x102')](_0xeb7495));return _0x478a7d[_0x1294('0xba')](new Promise(_0x540feb=>{setTimeout(_0x540feb,0x14);})),Promise[_0x1294('0xd6')](_0x478a7d)[_0x1294('0x8b')](()=>{if(!this[_0x1294('0x64')])return;this['_cleanUp']();const _0x3214f3=this[_0x1294('0xf4')](_0x2dd33a,_0x4cd085);this[_0x1294('0x76')]['_setData'](_0x3214f3);for(const _0x42ef24 of this['diff'][_0x1294('0xac')])this[_0x1294('0xdf')][_0x1294('0x8c')](_0x42ef24['id'],_0x42ef24);this[_0x1294('0xd9')]['model'][_0x1294('0x1c')]({'isUndoable':!0x1},_0x149604=>{for(const _0x44eb93 of Object[_0x1294('0xbf')](_0x3214f3[_0x1294('0x6e')])){const _0x1ba8d6=this[_0x1294('0xd9')][_0x1294('0x6e')][_0x1294('0x69')][_0x1294('0x4a')](_0x44eb93);_0x149604['remove'](_0x149604[_0x1294('0x1a')](_0x1ba8d6)),_0x149604[_0x1294('0xc7')](_0x3214f3[_0x1294('0x6e')][_0x44eb93],_0x1ba8d6,0x0);}}),this[_0x1294('0xe4')]=!0x0;})[_0x1294('0xdb')](_0x6dfd62=>{console[_0x1294('0x80')](_0x6dfd62),this['_cleanUp'](),_0x55c4d0?this[_0x1294('0x76')]=_0x55c4d0:this[_0x1294('0xd9')][_0x1294('0x70')](_0x1294('0x34')),this[_0x1294('0xe4')]=!0x0;});}['destroy'](){this[_0x1294('0xb3')]=null,this['_changeView']&&this[_0x1294('0x1d')]['destroy']();}['addRevisionData'](_0x2a8fcd,_0x57e31a){const _0x3bf594=this[_0x1294('0x9b')][_0x1294('0x6')](_0x2a8fcd);return _0x3bf594['on'](_0x1294('0x10'),(_0x536ad6,_0x1eb673,_0x525577)=>_0x57e31a(_0x1eb673,_0x525577,_0x3bf594)),this['repository'][_0x1294('0xa3')](_0x3bf594),_0x3bf594;}['loadRevisionData'](_0x121298){if(!_0x121298||_0x121298[_0x1294('0x57')])return Promise[_0x1294('0xc4')]();{const _0x55150e=this['editor'][_0x1294('0x6b')][_0x1294('0x107')](_0x1294('0x41'));return this[_0x1294('0x8')]['getRevision']({'channelId':_0x55150e,'revisionId':_0x121298['id']})['then'](_0x5027b5=>{_0x121298[_0x1294('0x10')]({'diffData':_0x5027b5[_0x1294('0x57')]},!0x0);});}}[_0x1294('0xea')](){this[_0x1294('0xd')]=null,this['_cleanMarkers'](),this[_0x1294('0x1d')]&&this['_changeView'][_0x1294('0x60')](),this[_0x1294('0x1d')]=null,this[_0x1294('0xdf')][_0x1294('0x7')]();}['_makeTape'](_0x3cf27d){const _0x50532d=Array[_0x1294('0xe')](_0x3cf27d[_0x1294('0x7c')])[_0x1294('0xed')](([_0x2723b4,_0xad7cbd])=>_0x2723b4['startsWith'](_0x1294('0xb1'))&&!_0xad7cbd[_0x1294('0xfb')]),_0x301bb3=Array['from'](this[_0x1294('0xd9')]['model']['createRangeIn'](_0x3cf27d)[_0x1294('0x5e')]({'singleCharacters':!0x0}));if(0x0!=_0x50532d[_0x1294('0x24')])for(const _0x1d2884 of _0x301bb3){const [_0x2704ef,_0x495d39]=_0x50532d[0x0],[,_0x2069f7,_0x413058]=_0x2704ef[_0x1294('0x27')](':');if(_0x495d39[_0x1294('0xbe')][_0x1294('0xc9')](_0x1d2884['nextPosition'])&&_0x50532d[_0x1294('0x6c')](),(_0x1d2884[_0x1294('0x17')][_0x1294('0xc9')](_0x495d39[_0x1294('0xec')])||_0x1d2884[_0x1294('0x17')][_0x1294('0x3e')](_0x495d39[_0x1294('0xec')]))&&(_0x1294('0x10b')==_0x2069f7?_0x1d2884[_0x1294('0xb0')]={'userId':_0x413058}:_0x1294('0x2a')==_0x2069f7&&(_0x1d2884['isRemoved']={'userId':_0x413058})),0x0==_0x50532d['length'])break;}return _0x301bb3;}['_refreshStartEndIndex'](_0x4e551f){const _0x225c8f=new Map();for(let _0x7d4aa3=0x0;_0x7d4aa3<_0x4e551f[_0x1294('0x24')];_0x7d4aa3++)_0x1294('0x8a')===_0x4e551f[_0x7d4aa3][_0x1294('0x87')]?(_0x4e551f[_0x7d4aa3][_0x1294('0x110')][_0x1294('0x36')]=_0x7d4aa3,_0x4e551f[_0x7d4aa3][_0x1294('0x110')][_0x1294('0xb6')]=_0x7d4aa3):(_0x1294('0xc5')===_0x4e551f[_0x7d4aa3]['type']?_0x4e551f[_0x7d4aa3][_0x1294('0x110')][_0x1294('0x36')]=_0x7d4aa3:_0x1294('0x10c')===_0x4e551f[_0x7d4aa3][_0x1294('0x87')]&&(_0x4e551f[_0x7d4aa3][_0x1294('0x110')][_0x1294('0xb6')]=_0x7d4aa3),_0x225c8f[_0x1294('0x8c')](_0x4e551f[_0x7d4aa3]['id'],_0x7d4aa3));for(const _0x50607a of _0x225c8f['values']())_0x1294('0xc5')===_0x4e551f[_0x50607a][_0x1294('0x87')]?_0x4e551f[_0x50607a][_0x1294('0x110')]['endIndex']=_0x225c8f[_0x1294('0x107')](_0x4e551f[_0x50607a]['pairId']):_0x1294('0x10c')===_0x4e551f[_0x50607a]['type']&&(_0x4e551f[_0x50607a][_0x1294('0x110')][_0x1294('0x36')]=_0x225c8f[_0x1294('0x107')](_0x4e551f[_0x50607a]['pairId']));}[_0x1294('0xae')](_0x239ba9){for(let _0x31f513=0x0;_0x31f513<_0x239ba9[_0x1294('0x24')];_0x31f513++){if(_0x1294('0xc5')===_0x239ba9[_0x31f513]['type'])_0x239ba9[_0x31f513]['item']['startIndex']=_0x31f513;else{if('elementEnd'===_0x239ba9[_0x31f513][_0x1294('0x87')]){_0x239ba9[_0x31f513][_0x1294('0x110')]['endIndex']=_0x31f513;const _0xa4bbcd=_0x239ba9[_0x31f513][_0x1294('0x110')][_0x1294('0x36')];_0x239ba9[_0xa4bbcd][_0x1294('0x2c')]=_0x239ba9[_0x31f513]['id'],_0x239ba9[_0x31f513][_0x1294('0x2c')]=_0x239ba9[_0xa4bbcd]['id'];}else _0x239ba9[_0x31f513]['item'][_0x1294('0x36')]=_0x31f513,_0x239ba9[_0x31f513][_0x1294('0x110')][_0x1294('0xb6')]=_0x31f513,_0x239ba9[_0x31f513]['pairId']=null;}_0x239ba9[_0x31f513][_0x1294('0xc')]||(_0x239ba9[_0x31f513][_0x1294('0xc')]=[],_0x239ba9[_0x31f513][_0x1294('0x49')]=[]);}}['_markInsertions'](_0xb02772,_0x3045ee){const _0x253209=_0xb02772[_0x1294('0xed')](_0x1fdb1a=>!_0x1fdb1a['isAdded']);for(let _0x41b3c5=0x0;_0x41b3c5<_0x3045ee['length'];_0x41b3c5++)_0x3045ee[_0x41b3c5][_0x1294('0xb0')]&&(_0x253209[_0x41b3c5][_0x1294('0xb0')]=_0x3045ee[_0x41b3c5]['isAdded']);}['_makeModelFromViewString'](_0x41d4b6){const _0x13df6e=JSON['parse'](_0x41d4b6),_0x4b68cb=this[_0x1294('0xd9')]['editing'][_0x1294('0x9c')][_0x1294('0x69')],_0x6114e6=new _0x1f5ced(_0x4b68cb,_0x13df6e['map'](_0x3dd6dc=>this[_0x1294('0xf2')](_0x3dd6dc)));return this[_0x1294('0xd9')][_0x1294('0xbd')]['toModel'](_0x6114e6);}[_0x1294('0xf2')](_0x159409){const _0x11f16c=this[_0x1294('0xd9')][_0x1294('0x98')][_0x1294('0x9c')]['document'];if('string'==typeof _0x159409)return new _0x4e5cb1(_0x11f16c,_0x159409);{const _0x39751c=_0x159409[_0x1294('0x6a')]['map'](_0xb998d0=>this[_0x1294('0xf2')](_0xb998d0));return new(K[_0x159409['type']]||_0x501357)(_0x11f16c,_0x159409[_0x1294('0x79')],_0x159409['attributes'],_0x39751c);}}[_0x1294('0xf4')](_0x472ce2,_0x250d14=null){const _0x4f76e5=this[_0x1294('0x9b')][_0x1294('0x88')](_0x472ce2),_0xf515fe=_0x250d14?this[_0x1294('0x9b')][_0x1294('0x88')](_0x250d14):null,_0x397ea5=this['_getRevisionsRange'](_0x4f76e5,_0xf515fe),_0x55141e=_0x397ea5[_0x397ea5['length']-0x1],_0xf3c643=new Map();for(const _0x48bd3a of _0x397ea5){_0x48bd3a['model']={};for(const _0x4a90d8 of _0x48bd3a['authors'])_0xf3c643[_0x1294('0x8c')](_0x4a90d8['id'],_0x4a90d8);for(const _0x1555b6 of this[_0x1294('0xd9')][_0x1294('0x6e')][_0x1294('0x69')][_0x1294('0x44')]())_0x48bd3a['diffData'][_0x1555b6]||(_0x48bd3a['diffData'][_0x1555b6]={'insertions':'[]','deletions':'[]'}),_0x48bd3a[_0x1294('0x6e')][_0x1555b6]={'insertions':this[_0x1294('0xf9')](_0x48bd3a[_0x1294('0x57')][_0x1555b6][_0x1294('0x91')]),'deletions':this[_0x1294('0xf9')](_0x48bd3a[_0x1294('0x57')][_0x1555b6][_0x1294('0xa8')])};}const _0x435a55={'model':{},'changes':[]};for(const _0x5b8a41 of this[_0x1294('0xd9')][_0x1294('0x6e')][_0x1294('0x69')][_0x1294('0x44')]()){let _0x75abba=null,_0xfc585a=0x0;const _0x28e42e=new Map(Array[_0x1294('0xe')](_0x4f76e5[_0x1294('0x6e')][_0x5b8a41][_0x1294('0x91')][_0x1294('0x7c')])['filter'](([_0x4b1d87])=>!_0x4b1d87['startsWith'](_0x1294('0xb1'))));let _0x4a0f56=0x0;for(const _0x1d0a14 of _0x397ea5){const _0x1cfd8e=this[_0x1294('0xf7')](_0x1d0a14[_0x1294('0x6e')][_0x5b8a41][_0x1294('0x91')]);_0x1d0a14==_0x4f76e5?(_0x75abba=_0x1cfd8e,_0xfc585a=_0x75abba[_0x1294('0x24')],_0x75abba['forEach'](_0x395a0d=>{_0x395a0d['id']=_0x4a0f56++;}),this[_0x1294('0xae')](_0x75abba)):this[_0x1294('0x2b')](_0x75abba,_0x1cfd8e);const _0x7c5ca5=_0x75abba['filter'](_0x1ea423=>!_0x1ea423[_0x1294('0xb0')])[_0x1294('0xd0')](_0x27d4e2=>_0x27d4e2['id']);let _0x33f051=0x0;const _0x10b705=this[_0x1294('0xf7')](_0x1d0a14['model'][_0x5b8a41][_0x1294('0xa8')]);_0x10b705[_0x1294('0xcc')](_0x19f717=>{_0x19f717[_0x1294('0xf1')]?_0x19f717['id']=_0xfc585a++:_0x19f717['id']=_0x7c5ca5[_0x33f051++];}),this[_0x1294('0xae')](_0x10b705),this[_0x1294('0x31')](_0x75abba,'isAdded'),this[_0x1294('0x31')](_0x10b705,_0x1294('0xf1')),_0x1d0a14==_0x4f76e5&&this['_markMarkers'](_0x75abba,_0x28e42e),_0x75abba=this[_0x1294('0x109')](_0x75abba,_0x10b705),this[_0x1294('0x54')](_0x75abba),this['_setDistance'](_0x75abba,_0x1294('0xf1'));}_0x75abba=_0x75abba[_0x1294('0xed')](_0x184ff7=>!(_0x184ff7[_0x1294('0xb0')]&&_0x184ff7[_0x1294('0xf1')]));const _0x216aeb=new Map(_0x55141e['model'][_0x5b8a41][_0x1294('0xa8')][_0x1294('0x7c')]),_0x4518ac=new Set(_0x28e42e[_0x1294('0xbf')]());for(const _0x3a03ec of _0x216aeb[_0x1294('0xbf')]())_0x4518ac[_0x1294('0x26')](_0x3a03ec);this[_0x1294('0x2f')](_0x75abba,_0x4518ac),this['_fixObsoleteTags'](_0x75abba),_0x75abba=this['_removeMissingPairs'](_0x75abba),_0x75abba=this[_0x1294('0xf3')](_0x75abba),_0x75abba=this[_0x1294('0xc0')](_0x75abba);const {root:_0x5e69f8,changes:_0x9d75c7}=this[_0x1294('0xb8')](_0x75abba,_0xf3c643);_0x435a55['model'][_0x5b8a41]=_0x5e69f8,_0x435a55[_0x1294('0xac')]=_0x435a55[_0x1294('0xac')][_0x1294('0x3')](_0x9d75c7);}return _0x435a55;}[_0x1294('0xbb')](_0x16eb31,_0x13eeb1){for(let _0x3d4661=0x0;_0x3d4661<_0x16eb31[_0x1294('0x24')];_0x3d4661++)for(const [_0x4d35e5,_0x2869d1]of _0x13eeb1)_0x2869d1[_0x1294('0xec')]['isEqual'](_0x16eb31[_0x3d4661]['previousPosition'])&&_0x16eb31[_0x3d4661]['markersStart'][_0x1294('0xba')](_0x4d35e5),_0x2869d1[_0x1294('0xbe')][_0x1294('0xc9')](_0x16eb31[_0x3d4661][_0x1294('0x23')])&&_0x16eb31[_0x3d4661][_0x1294('0x49')][_0x1294('0xba')](_0x4d35e5);}[_0x1294('0x109')](_0x481a94,_0x34c04e){let _0x5f528e=[],_0x5275f3=0x0,_0x481e0c=0x0;for(;_0x5275f3<_0x481a94[_0x1294('0x24')]||_0x481e0c<_0x34c04e[_0x1294('0x24')];){const _0xcae7bd=_0x481a94[_0x5275f3]||{},_0x34237a=_0x34c04e[_0x481e0c]||{};if(_0xcae7bd['id']==_0x34237a['id'])_0x5275f3++,_0x481e0c++,_0x5f528e['push'](_0xcae7bd);else{if(_0x34237a[_0x1294('0xf1')]&&_0xcae7bd[_0x1294('0xb0')]){const {commonTape:_0x46cdaa,iEnd:_0x4515a9,jEnd:_0x20d614}=this[_0x1294('0xe7')](_0x481a94,_0x5275f3,_0x34c04e,_0x481e0c);_0x5f528e=_0x5f528e[_0x1294('0x3')](_0x46cdaa),_0x5275f3=_0x4515a9,_0x481e0c=_0x20d614;}else _0x34237a[_0x1294('0xf1')]?(_0x481e0c++,_0x5f528e['push'](_0x34237a)):(_0x5275f3++,_0x5f528e[_0x1294('0xba')](_0xcae7bd));}}return _0x5f528e;}[_0x1294('0x2f')](_0x3ae691,_0x32a29e){const _0xc2c350=[];for(let _0x767ccb=0x0;_0x767ccb<_0x3ae691[_0x1294('0x24')];_0x767ccb++){for(let _0x4518ca=0x0;_0x4518ca<_0x3ae691[_0x767ccb]['markersStart']['length'];_0x4518ca++){const _0x20f350=_0x3ae691[_0x767ccb]['markersStart'][_0x4518ca];if(!_0x32a29e['has'](_0x20f350))continue;const {group:_0x4b2b10,type:_0x3b46c9,authorId:_0x561ca9}=_0x33fc9c(_0x20f350);'revision-suggestion'!=_0x4b2b10||_0x1294('0x10b')!=_0x3b46c9&&_0x1294('0x2a')!=_0x3b46c9||(_0xc2c350[_0x1294('0x4e')]({'type':_0x3b46c9,'name':_0x20f350,'userId':_0x561ca9}),_0x3ae691[_0x767ccb][_0x1294('0xc')]['splice'](_0x4518ca,0x1),_0x4518ca--);}_0x3737f6(_0x3ae691[_0x767ccb]);for(let _0x16e6ef=0x0;_0x16e6ef<_0x3ae691[_0x767ccb][_0x1294('0x49')][_0x1294('0x24')];_0x16e6ef++){const _0x49ddd3=_0x3ae691[_0x767ccb][_0x1294('0x49')][_0x16e6ef];if(!_0x32a29e[_0x1294('0xb5')](_0x49ddd3))continue;const {group:_0xa5169e,type:_0x2e3d01}=_0x33fc9c(_0x49ddd3);if(_0x1294('0x106')!=_0xa5169e||_0x1294('0x10b')!=_0x2e3d01&&_0x1294('0x2a')!=_0x2e3d01)continue;_0x3ae691[_0x767ccb]['markersEnd'][_0x1294('0xa1')](_0x16e6ef,0x1),_0x16e6ef--;const _0x38e30c=_0xc2c350['findIndex'](_0x498d90=>_0x498d90[_0x1294('0x79')]==_0x49ddd3);_0x38e30c>-0x1&&_0xc2c350[_0x1294('0xa1')](_0x38e30c,0x1);}}function _0x33fc9c(_0xb9067){const _0x335eb5=_0xb9067['split'](':');return{'group':_0x335eb5[0x0],'type':_0x335eb5[0x1],'subType':_0x335eb5[_0x1294('0x24')]>=0x5?_0x335eb5[0x2]:null,'id':_0x335eb5[_0x1294('0x24')]<0x5?_0x335eb5[0x2]:_0x335eb5[0x3],'authorId':_0x335eb5[_0x1294('0x24')]<0x5?_0x335eb5[0x3]:_0x335eb5[0x4],'markerCount':0x6==_0x335eb5['length']?_0x335eb5[0x5]:null};}function _0x3737f6(_0x276127){for(let _0x4e08c3=0x0;_0x4e08c3<_0xc2c350['length'];_0x4e08c3++){if(_0x276127['isAdded']&&_0x1294('0x10b')==_0xc2c350[_0x4e08c3][_0x1294('0x87')])return _0x276127[_0x1294('0xa6')]=_0xc2c350[_0x4e08c3],void delete _0x276127[_0x1294('0xb0')];if(!_0x276127['isAdded']&&!_0x276127[_0x1294('0xf1')]&&_0x1294('0x2a')==_0xc2c350[_0x4e08c3]['type'])return void(_0x276127['isRemoveSuggestion']=_0xc2c350[_0x4e08c3]);}}}[_0x1294('0x31')](_0x3b5d2f,_0x226e5e){let _0x282875=0x0,_0x50c69c=!0x1;const _0x12436e=new Map();for(const _0x5928f6 of _0x3b5d2f)_0x5928f6[_0x226e5e]?_0x50c69c&&(_0x282875++,_0x50c69c=!0x1):(_0x282875++,_0x50c69c=!0x0),_0x12436e[_0x1294('0x8c')](_0x5928f6['id'],_0x282875);for(let _0x131bd6=0x0;_0x131bd6<_0x3b5d2f[_0x1294('0x24')];_0x131bd6++){if(_0x1294('0xf1')==_0x226e5e&&_0x3b5d2f[_0x131bd6][_0x1294('0xb0')]||'isAdded'==_0x226e5e&&_0x3b5d2f[_0x131bd6][_0x1294('0xf1')])continue;if(_0x1294('0x8a')==_0x3b5d2f[_0x131bd6][_0x1294('0x87')]){_0x3b5d2f[_0x131bd6][_0x1294('0xcd')]=0x0;continue;}const _0x5690f8=_0x12436e[_0x1294('0x107')](_0x3b5d2f[_0x131bd6]['pairId']),_0x2b515e=_0x12436e['get'](_0x3b5d2f[_0x131bd6]['id']);_0x3b5d2f[_0x131bd6][_0x1294('0xcd')]=_0x5690f8-_0x2b515e;}}[_0x1294('0x52')](_0x53622,_0x3b1860,_0x3f01b1=!0x1){const _0x2c8aa3=[];let _0x2e2760=this[_0x1294('0x9b')][_0x1294('0x2d')](_0x53622),_0x38666c=this['repository'][_0x1294('0x2d')](_0x3b1860);for(-0x1==_0x38666c&&(_0x38666c=this[_0x1294('0x9b')][_0x1294('0x53')][_0x1294('0x24')],_0x3f01b1=!0x1);_0x2e2760<_0x38666c;)_0x2c8aa3[_0x1294('0xba')](this[_0x1294('0x9b')][_0x1294('0x88')](_0x2e2760)),_0x2e2760++;return _0x3f01b1&&_0x2c8aa3[_0x1294('0xba')](this[_0x1294('0x9b')][_0x1294('0x88')](_0x2e2760)),_0x2c8aa3;}[_0x1294('0xe7')](_0x282216,_0x17488f,_0x1caece,_0x39b3cc){const _0x1e3126=this['editor'][_0x1294('0x6e')][_0x1294('0xc6')];let _0x52a43f=_0x17488f;for(;_0x282216[_0x52a43f]&&_0x282216[_0x52a43f][_0x1294('0xb0')];)_0x52a43f++;let _0x1f2302=_0x39b3cc;for(;_0x1caece[_0x1f2302]&&_0x1caece[_0x1f2302][_0x1294('0xf1')];)_0x1f2302++;_0x174f86(_0x282216,_0x17488f,_0x52a43f),_0x174f86(_0x1caece,_0x39b3cc,_0x1f2302);const _0x1a278f=_0x1caece['slice'](_0x39b3cc,_0x1f2302)[_0x1294('0x3')](_0x282216[_0x1294('0xd7')](_0x17488f,_0x52a43f));return _0x1a278f[_0x1294('0x8e')]((_0x45ef72,_0x54fb34)=>_0x45ef72[_0x1294('0x94')]!=_0x54fb34[_0x1294('0x94')]?_0x45ef72[_0x1294('0x94')]-_0x54fb34[_0x1294('0x94')]:_0x45ef72['level']!=_0x54fb34[_0x1294('0x75')]?_0x45ef72['level']-_0x54fb34[_0x1294('0x75')]:_0x45ef72[_0x1294('0xcd')]!=_0x54fb34[_0x1294('0xcd')]?_0x54fb34[_0x1294('0xcd')]-_0x45ef72[_0x1294('0xcd')]:!!_0x45ef72[_0x1294('0xb0')]!=!!_0x54fb34[_0x1294('0xb0')]?-0x1==_0x45ef72[_0x1294('0x94')]||0x0==_0x45ef72[_0x1294('0x94')]?_0x45ef72[_0x1294('0xb0')]?-0x1:0x1:_0x45ef72['isAdded']?0x1:-0x1:_0x45ef72[_0x1294('0x6d')]-_0x54fb34[_0x1294('0x6d')]),{'commonTape':_0x1a278f,'iEnd':_0x52a43f,'jEnd':_0x1f2302};function _0x174f86(_0x2875b3,_0x59583c,_0x4fbae0){let _0x1cd889=-0x1,_0x4e1f25=Number['POSITIVE_INFINITY'],_0x5b5268=!0x0;for(let _0x4a6129=_0x59583c;_0x4a6129<_0x4fbae0;_0x4a6129++)if(_0x1e3126[_0x1294('0x71')](_0x2875b3[_0x4a6129][_0x1294('0x110')])||(_0x5b5268=!0x1),_0x2875b3[_0x4a6129][_0x1294('0x110')][_0x1294('0x36')]<_0x59583c&&(_0x1cd889=_0x4a6129),_0x2875b3[_0x4a6129][_0x1294('0x110')][_0x1294('0xb6')]>=_0x4fbae0){_0x4e1f25=_0x4a6129;break;}_0x5b5268&&(_0x1cd889=_0x4fbae0-0x1);for(let _0xc4fd92=_0x59583c;_0xc4fd92<_0x4fbae0;_0xc4fd92++)_0x2875b3[_0xc4fd92][_0x1294('0x94')]=_0xc4fd92<=_0x1cd889?-0x1:_0xc4fd92<_0x4e1f25?0x0:0x1,_0x2875b3[_0xc4fd92]['index']=_0xc4fd92;let _0x44c782=0x0;for(let _0x27e71d=_0x59583c;_0x27e71d<=_0x1cd889;_0x27e71d++)0x0==_0x2875b3[_0x27e71d][_0x1294('0xcd')]?_0x2875b3[_0x27e71d][_0x1294('0x75')]=_0x44c782:(_0x44c782++,_0x2875b3[_0x27e71d][_0x1294('0x75')]=_0x44c782,_0x44c782++);for(let _0x2d3194=_0x59583c;_0x2d3194<_0x4fbae0;_0x2d3194++)0x0==_0x2875b3[_0x2d3194][_0x1294('0x94')]&&(_0x2875b3[_0x2d3194]['level']=_0x44c782);_0x44c782=0x0;for(let _0x552a7e=_0x4fbae0-0x1;_0x552a7e>=_0x4e1f25;_0x552a7e--)0x0==_0x2875b3[_0x552a7e][_0x1294('0xcd')]?_0x2875b3[_0x552a7e]['level']=_0x44c782:(_0x44c782--,_0x2875b3[_0x552a7e][_0x1294('0x75')]=_0x44c782,_0x44c782--);}}[_0x1294('0x5c')](_0x4f9588){const _0x238cb9=new Map(),_0x13d69e=this['editor']['model']['schema'];for(let _0x964b3=0x1;_0x964b3<_0x4f9588[_0x1294('0x24')];_0x964b3++){let _0x276ba8,_0x44f41a,_0x11db5c;const _0x45cc7c=_0x4f9588[_0x964b3],_0x1686ba=_0x4f9588[_0x964b3-0x1];if(_0x1294('0x8a')==_0x45cc7c['type'])continue;if(_0x45cc7c[_0x1294('0x87')]!=_0x1686ba['type'])continue;if(!_0x13d69e[_0x1294('0x58')](_0x1686ba['item'])||_0x13d69e[_0x1294('0xe8')](_0x1686ba[_0x1294('0x110')]))continue;if(!_0x13d69e[_0x1294('0x58')](_0x45cc7c[_0x1294('0x110')])||_0x13d69e[_0x1294('0xe8')](_0x45cc7c[_0x1294('0x110')]))continue;if((_0x4f9588[_0x964b3][_0x1294('0xb0')]||_0x4f9588[_0x964b3][_0x1294('0xa6')])&&_0x4f9588[_0x964b3-0x1][_0x1294('0xf1')])_0x276ba8=_0x4f9588[_0x964b3],_0x44f41a=_0x4f9588[_0x964b3-0x1],_0x11db5c=_0x964b3-0x1;else{if(!_0x4f9588[_0x964b3][_0x1294('0xf1')]||!_0x4f9588[_0x964b3-0x1][_0x1294('0xb0')]&&!_0x4f9588[_0x964b3-0x1][_0x1294('0xa6')])continue;_0x276ba8=_0x4f9588[_0x964b3-0x1],_0x44f41a=_0x4f9588[_0x964b3],_0x11db5c=_0x964b3;}const _0x4c0cea=_0x276ba8[_0x1294('0x75')]==_0x44f41a['level'],_0x3f3862=Math[_0x1294('0x93')](_0x276ba8[_0x1294('0x75')])<Math[_0x1294('0x93')](_0x44f41a[_0x1294('0x75')])&&0x0==_0x44f41a[_0x1294('0xcd')];(_0x4c0cea||_0x3f3862)&&(_0x238cb9['set'](_0x44f41a['id'],_0x276ba8['id']),_0x4f9588[_0x1294('0xa1')](_0x11db5c,0x1),_0x964b3--,_0x276ba8[_0x1294('0xb0')]=!0x1);}for(let _0x3519e4=0x0;_0x3519e4<_0x4f9588[_0x1294('0x24')];_0x3519e4++)_0x238cb9[_0x1294('0xb5')](_0x4f9588[_0x3519e4][_0x1294('0x2c')])&&(_0x4f9588[_0x3519e4][_0x1294('0x2c')]=_0x238cb9[_0x1294('0x107')](_0x4f9588[_0x3519e4][_0x1294('0x2c')]));}[_0x1294('0xf8')](_0x138a66){const _0x2481e6=new Set(_0x138a66[_0x1294('0xd0')](_0x3ff079=>_0x3ff079['id']));for(let _0x250278=0x0;_0x250278<_0x138a66[_0x1294('0x24')];_0x250278++)_0x2481e6[_0x1294('0xb5')](_0x138a66[_0x250278][_0x1294('0x2c')])||0x0==_0x138a66[_0x250278][_0x1294('0xcd')]||(_0x138a66[_0x250278][_0x1294('0x10f')]=!0x0);return _0x138a66[_0x1294('0xed')](_0x1ca911=>!_0x1ca911[_0x1294('0x10f')]);}[_0x1294('0xf3')](_0x38fc06){const _0x103d5e=new Set();for(let _0x2e3bd6=0x0;_0x2e3bd6<_0x38fc06[_0x1294('0x24')];_0x2e3bd6++){if(_0x103d5e[_0x1294('0xb5')](_0x38fc06[_0x2e3bd6]['id'])&&_0x38fc06[_0x2e3bd6]['isRemoved']&&(_0x38fc06[_0x2e3bd6][_0x1294('0x10f')]=!0x0),_0x38fc06[_0x2e3bd6][_0x1294('0x10f')])continue;if(0x0==_0x38fc06[_0x2e3bd6][_0x1294('0xcd')])continue;if('elementStart'!=_0x38fc06[_0x2e3bd6]['type'])continue;if(null==_0x38fc06[_0x2e3bd6][_0x1294('0x2c')])continue;let _0x193315=_0x2e3bd6+0x1,_0x2abf9b=0x0;for(;_0x38fc06[_0x193315]['id']!=_0x38fc06[_0x2e3bd6][_0x1294('0x2c')];)_0x1294('0xc5')==_0x38fc06[_0x193315][_0x1294('0x87')]?_0x2abf9b++:_0x1294('0x10c')==_0x38fc06[_0x193315][_0x1294('0x87')]&&_0x2abf9b--,_0x193315++;if(0x0!=_0x2abf9b){if(_0x38fc06[_0x2e3bd6]['isRemoved'])_0x38fc06[_0x2e3bd6][_0x1294('0x10f')]=!0x0;else for(;_0x193315!=_0x2e3bd6;)_0x38fc06[_0x193315][_0x1294('0xf1')]&&0x0!=_0x38fc06[_0x193315][_0x1294('0xcd')]&&(_0x38fc06[_0x193315][_0x1294('0x10f')]=!0x0,_0x103d5e['add'](_0x38fc06[_0x193315][_0x1294('0x2c')])),_0x193315--;}}return _0x38fc06['filter'](_0x48767c=>!_0x48767c[_0x1294('0x10f')]);}[_0x1294('0xc0')](_0x4d6a96){const _0x27afdf=this['editor'][_0x1294('0x6e')][_0x1294('0xc6')];for(let _0x393c6e=0x0;_0x393c6e<_0x4d6a96['length'];_0x393c6e++){if(!(_0x4d6a96[_0x393c6e][_0x1294('0xb0')]||_0x4d6a96[_0x393c6e][_0x1294('0xa6')]||_0x4d6a96[_0x393c6e]['isRemoved']||_0x4d6a96[_0x393c6e][_0x1294('0x20')]))continue;if(0x0==_0x4d6a96[_0x393c6e][_0x1294('0xcd')])continue;const _0x4507cf=_0x4d6a96[_0x393c6e][_0x1294('0x110')];_0x27afdf['isBlock'](_0x4507cf)||_0x27afdf[_0x1294('0xe8')](_0x4507cf)||(_0x4d6a96[_0x393c6e][_0x1294('0xb0')]&&delete _0x4d6a96[_0x393c6e][_0x1294('0xb0')],_0x4d6a96[_0x393c6e]['isAddSuggestion']&&delete _0x4d6a96[_0x393c6e][_0x1294('0xa6')],_0x4d6a96[_0x393c6e][_0x1294('0x20')]&&delete _0x4d6a96[_0x393c6e][_0x1294('0x20')],_0x4d6a96[_0x393c6e][_0x1294('0xf1')]&&(_0x4d6a96[_0x393c6e][_0x1294('0x10f')]=!0x0));}return _0x4d6a96[_0x1294('0xed')](_0x1664d4=>!_0x1664d4[_0x1294('0x10f')]);}[_0x1294('0xb8')](_0xaa8e47,_0x4c8938){const _0x5cead9=new _0x271f2f(),_0x286983=[],_0x1e349b=new Map(),_0x20f03c=this[_0x1294('0xd9')][_0x1294('0x6e')],_0x5806ef=_0x20f03c[_0x1294('0xc6')],_0x220295=[_0x5cead9],_0x38374b={},_0x25777e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x24c6dd=null;const _0x7bd1f8=[0x0];for(let _0x121dad=0x0;_0x121dad<_0xaa8e47[_0x1294('0x24')];_0x121dad++){let _0x35a1c4,_0x4fdab8;if(_0x1294('0xc5')===_0xaa8e47[_0x121dad][_0x1294('0x87')]){_0x35a1c4=_0x20f03c['createPositionFromPath'](_0x5cead9,_0x7bd1f8);const _0x1d494f=new _0x5b1c31(_0xaa8e47[_0x121dad][_0x1294('0x110')][_0x1294('0x79')],_0xaa8e47[_0x121dad]['item'][_0x1294('0x55')]());_0x220295[0x0][_0x1294('0x77')](_0x1d494f),_0x7bd1f8[_0x1294('0xba')](0x0),_0x220295[_0x1294('0x4e')](_0x1d494f),_0x4fdab8=_0x20f03c[_0x1294('0x19')](_0x5cead9,_0x7bd1f8),_0x24c6dd=null;}else{if(_0x1294('0x10c')===_0xaa8e47[_0x121dad][_0x1294('0x87')])_0x220295[_0x1294('0x6c')](),_0x35a1c4=_0x20f03c['createPositionFromPath'](_0x5cead9,_0x7bd1f8),_0x7bd1f8[_0x1294('0x21')](),_0x7bd1f8[_0x7bd1f8[_0x1294('0x24')]-0x1]++,_0x4fdab8=_0x20f03c[_0x1294('0x19')](_0x5cead9,_0x7bd1f8),_0x24c6dd=null;else{if(_0x35a1c4=_0x20f03c['createPositionFromPath'](_0x5cead9,_0x7bd1f8),_0x24c6dd&&_0x2bc52c(_0x24c6dd,_0xaa8e47[_0x121dad][_0x1294('0x110')]))_0x24c6dd['_data']+=_0xaa8e47[_0x121dad][_0x1294('0x110')]['data'];else{const _0x4b800e=new _0x4b240a(_0xaa8e47[_0x121dad][_0x1294('0x110')][_0x1294('0xbd')],_0xaa8e47[_0x121dad]['item']['getAttributes']());_0x220295[0x0]['_appendChild'](_0x4b800e),_0x24c6dd=_0x4b800e;}_0x7bd1f8[_0x7bd1f8[_0x1294('0x24')]-0x1]+=_0xaa8e47[_0x121dad][_0x1294('0x110')][_0x1294('0xca')],_0x4fdab8=_0x20f03c[_0x1294('0x19')](_0x5cead9,_0x7bd1f8);}}for(const _0xe69878 of _0xaa8e47[_0x121dad][_0x1294('0xc')])_0x1e349b[_0x1294('0x8c')](_0xe69878,{'start':_0x35a1c4,'end':null});_0x3ca742(_0x1294('0x20'),_0x121dad,_0x35a1c4,_0x4fdab8),_0x3ca742(_0x1294('0xa6'),_0x121dad,_0x35a1c4,_0x4fdab8),_0x3ca742(_0x1294('0xf1'),_0x121dad,_0x35a1c4,_0x4fdab8),_0x3ca742(_0x1294('0xb0'),_0x121dad,_0x35a1c4,_0x4fdab8);for(const _0x5e686f of _0xaa8e47[_0x121dad]['markersEnd']){_0x1e349b['get'](_0x5e686f)[_0x1294('0xbe')]=_0x4fdab8;}}for(const [_0x2f9a2a,_0x3a2330]of _0x1e349b){const _0x38c672=this['editor'][_0x1294('0x6e')][_0x1294('0xff')](_0x3a2330['start'],_0x3a2330[_0x1294('0xbe')]);_0x5cead9['markers']['set'](_0x2f9a2a,_0x38c672);}return _0x286983['sort']((_0x3109b3,_0x22922e)=>{const _0x1d47a2=_0x5cead9[_0x1294('0x7c')][_0x1294('0x107')](_0x1294('0xb1')+_0x3109b3['id']),_0x2460d4=_0x5cead9[_0x1294('0x7c')][_0x1294('0x107')]('revision:'+_0x22922e['id']);return _0x1d47a2[_0x1294('0xec')][_0x1294('0x4b')](_0x2460d4[_0x1294('0xec')])?-0x1:_0x1d47a2['start']['isAfter'](_0x2460d4[_0x1294('0xec')])?0x1:_0x1d47a2[_0x1294('0xbe')][_0x1294('0x4b')](_0x2460d4[_0x1294('0xbe')])?-0x1:_0x1d47a2[_0x1294('0xbe')][_0x1294('0x3e')](_0x2460d4[_0x1294('0xbe')])?0x1:_0x1294('0xf5')===_0x3109b3['type']?-0x1:0x1;}),{'root':_0x5cead9,'changes':_0x286983};function _0x3ca742(_0xce63a5,_0x124085,_0x5a300e,_0x4ce843){const _0x3bf891=!!_0xaa8e47[_0x124085][_0xce63a5],_0xebc3a6=_0x3bf891?_0xaa8e47[_0x124085][_0xce63a5][_0x1294('0x10d')]:null,_0x19de52=_0x124085===_0xaa8e47[_0x1294('0x24')]-0x1,_0x473f02=_0x25777e[_0xce63a5][0x0],_0x159461=_0x5806ef[_0x1294('0xcf')](_0xaa8e47[_0x124085][_0x1294('0x110')]);!_0x38374b[_0xce63a5]&&_0x3bf891?_0x38374b[_0xce63a5]={'start':_0x5a300e,'tapeItem':_0xaa8e47[_0x124085],'userId':_0xebc3a6,'type':_0xce63a5}:_0x38374b[_0xce63a5]&&!_0x3bf891?(_0x38374b[_0xce63a5][_0x1294('0xbe')]=_0x5a300e,_0x41be15(_0x38374b[_0xce63a5]),_0x38374b[_0xce63a5]=null):_0x38374b[_0xce63a5]&&_0x3bf891&&_0x38374b[_0xce63a5]['userId']!==_0xebc3a6&&(_0x38374b[_0xce63a5][_0x1294('0xbe')]=_0x5a300e,_0x473f02&&_0x473f02['userId']===_0x38374b[_0xce63a5][_0x1294('0x10d')]||_0x41be15(_0x38374b[_0xce63a5]),_0x38374b[_0xce63a5]={'start':_0x5a300e,'tapeItem':_0xaa8e47[_0x124085],'userId':_0xebc3a6,'type':_0xce63a5}),_0x38374b[_0xce63a5]&&_0x159461&&(_0x1294('0xc5')!==_0xaa8e47[_0x124085][_0x1294('0x87')]||_0x473f02&&_0x473f02[_0x1294('0x10d')]===_0xebc3a6||_0x25777e[_0xce63a5][_0x1294('0x4e')]({'userId':_0xebc3a6,'object':_0xaa8e47[_0x124085][_0x1294('0x110')],'change':_0x38374b[_0xce63a5]}),_0x1294('0x10c')===_0xaa8e47[_0x124085]['type']&&_0x473f02&&_0x473f02[_0x1294('0xad')]===_0xaa8e47[_0x124085][_0x1294('0x110')]&&(_0x25777e[_0xce63a5][_0x1294('0x6c')](),_0x38374b[_0xce63a5]=_0x473f02[_0x1294('0x95')])),_0x38374b[_0xce63a5]&&_0x19de52&&(_0x38374b[_0xce63a5][_0x1294('0xbe')]=_0x4ce843,_0x41be15(_0x38374b[_0xce63a5]),_0x38374b[_0xce63a5]=null);}function _0x41be15({start:_0x1c5894,end:_0x297a54,tapeItem:_0x1f47b9,userId:_0x37c88a,type:_0x168c34}){const _0x456b6d=_0x1f47b9[_0x1294('0x110')],_0xaabf50=_0x20f03c['schema'][_0x1294('0x58')](_0x456b6d)&&!_0x20f03c['schema'][_0x1294('0xe8')](_0x456b6d),_0x12d346=_0x1c5894[_0x1294('0x3a')]==_0x297a54[_0x1294('0x3b')]&&_0x297a54[_0x1294('0x9a')];if(_0xaabf50&&_0x12d346)return;const _0x29f60f=_0x20f03c[_0x1294('0xff')](_0x1c5894,_0x297a54),_0x285d54=_0x4c8938[_0x1294('0x107')](_0x37c88a),_0x437ee5=new _0x560c95({'author':_0x285d54,'type':'isAdded'==_0x168c34||_0x1294('0xa6')==_0x168c34?'add':'remove','data':{'isSuggestion':_0x1294('0xa6')==_0x168c34||_0x1294('0x20')==_0x168c34},'createdAt':new Date()});_0x286983[_0x1294('0xba')](_0x437ee5),_0x5cead9[_0x1294('0x7c')][_0x1294('0x8c')]('revision:'+_0x437ee5['id'],_0x29f60f);}function _0x2bc52c(_0x214b52,_0x2dcc3d){const _0x438192=_0x214b52[_0x1294('0x55')](),_0x1bd94c=_0x2dcc3d[_0x1294('0x55')]();for(const _0x566895 of _0x438192){if(_0x566895[0x1]!==_0x2dcc3d['getAttribute'](_0x566895[0x0]))return!0x1;_0x1bd94c['next']();}return _0x1bd94c[_0x1294('0xf0')]()[_0x1294('0x9d')];}}[_0x1294('0x85')](){this[_0x1294('0xd9')][_0x1294('0xc8')][_0x1294('0x28')](_0x1294('0x84'))[_0x1294('0xc2')]({'view':_0x1294('0x0')}),this[_0x1294('0xd9')]['conversion'][_0x1294('0x28')]('editingDowncast')[_0x1294('0x72')]({'model':_0x1294('0x0'),'view':_0x538fc0=>{const _0x4c90cf=_0x538fc0[_0x1294('0xde')][_0x1294('0x27')](':')[0x1],_0x3e5c1c=this['_getChangeFromId'](_0x4c90cf);if(!_0x3e5c1c)return null;const _0x4387ff=_0x1294('0xf5')==_0x3e5c1c[_0x1294('0x87')]?_0x1294('0x10b'):_0x1294('0x2a'),_0x33fd0b=[_0x1294('0xbc'),_0x1294('0x3d')+_0x4387ff];return _0x3e5c1c['data'][_0x1294('0x2')]&&_0x33fd0b['push'](_0x1294('0x3d')+_0x4387ff+_0x1294('0xe9')),this[_0x1294('0xd')]==_0x3e5c1c&&_0x33fd0b['push']('ck-suggestion-marker--active'),{'classes':_0x33fd0b,'attributes':{'data-change-id':_0x4c90cf}};}}),this[_0x1294('0xd9')]['conversion']['for'](_0x1294('0x84'))[_0x1294('0xf5')](_0x228466=>{_0x228466['on']('element:pre',(_0xd281c3,_0x1875bf,_0x15c08b)=>{const _0x2c3c07=_0x1875bf[_0x1294('0x7e')][_0x1294('0x82')](0x0);if(!_0x2c3c07||!_0x2c3c07['is']('element',_0x1294('0x1')))return;if(!_0x15c08b['consumable'][_0x1294('0x103')](_0x2c3c07,{'attributes':[_0x1294('0xd2'),_0x1294('0x13')]}))return;const _0x430d50=_0x1875bf[_0x1294('0x104')][_0x1294('0xec')][_0x1294('0x3a')];_0x15c08b[_0x1294('0x33')]['setAttribute'](_0x1294('0xd2'),_0x2c3c07[_0x1294('0x1f')](_0x1294('0xd2')),_0x430d50),_0x15c08b[_0x1294('0x33')][_0x1294('0x25')](_0x1294('0x13'),_0x2c3c07[_0x1294('0x1f')](_0x1294('0x13')),_0x430d50);},{'priority':_0x1294('0x46')});}),this[_0x1294('0xd9')][_0x1294('0xc8')][_0x1294('0x28')](_0x1294('0x84'))['add'](_0x2fa2e2=>{_0x2fa2e2['on']('element',(_0xbfecf1,_0x28136f,_0x967cd8)=>{if(!_0x967cd8['consumable'][_0x1294('0x103')](_0x28136f[_0x1294('0x7e')],{'attributes':[_0x1294('0xd2'),_0x1294('0x13')]}))return;if(_0x28136f[_0x1294('0x104')][_0x1294('0xfb')])return;const _0x4ee62a=_0x28136f[_0x1294('0x104')][_0x1294('0xec')]['nodeAfter'];_0x4ee62a[_0x1294('0xe6')]('vid_start')||_0x4ee62a[_0x1294('0xe6')](_0x1294('0x47'))||(_0x967cd8['writer']['setAttribute'](_0x1294('0xd2'),_0x28136f[_0x1294('0x7e')][_0x1294('0x1f')](_0x1294('0xd2')),_0x4ee62a),_0x967cd8[_0x1294('0x33')][_0x1294('0x25')](_0x1294('0x13'),_0x28136f[_0x1294('0x7e')][_0x1294('0x1f')](_0x1294('0x13')),_0x4ee62a));},{'priority':_0x1294('0x46')});}),this[_0x1294('0xd9')][_0x1294('0xc8')][_0x1294('0x28')](_0x1294('0x84'))[_0x1294('0x5b')]({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':_0x1294('0x47'),'value':_0x42ef91=>_0x42ef91['getAttribute'](_0x1294('0x47'))}}),this[_0x1294('0xd9')][_0x1294('0x6e')][_0x1294('0xc6')]['on'](_0x1294('0x48'),(_0x459d96,[,_0x5793cc])=>{[_0x1294('0xd2'),'vid_end',_0x1294('0x47')][_0x1294('0xe3')](_0x5793cc)&&(_0x459d96[_0x1294('0x89')]=!0x0,_0x459d96[_0x1294('0xa7')]());},{'priority':_0x1294('0x74')}),this['editor'][_0x1294('0xc8')][_0x1294('0x28')](_0x1294('0x99'))[_0x1294('0xf5')](_0x24beba=>{_0x24beba['on'](_0x1294('0x38'),(_0x20d625,_0x2a957b,_0x31518b)=>{if('\x20'!=_0x2a957b[_0x1294('0x110')]['data']||_0x2a957b[_0x1294('0x110')][_0x1294('0x3b')][_0x1294('0xa5')]>0x1)return;if(!_0x31518b[_0x1294('0x66')]['consume'](_0x2a957b[_0x1294('0x110')],_0x20d625[_0x1294('0x79')]))return;const _0x45d14e=_0x31518b['writer'],_0x8ecc6c=_0x31518b['mapper']['toViewRange'](_0x2a957b[_0x1294('0x32')]);_0x45d14e[_0x1294('0xce')](_0x8ecc6c,_0x45d14e[_0x1294('0xef')](_0x1294('0x22')));});}),this[_0x1294('0xd9')][_0x1294('0xc8')]['for']('dataDowncast')[_0x1294('0x108')]({'model':_0x1294('0x0')}),this['editor'][_0x1294('0x98')][_0x1294('0x10e')]['on']('addMarker:revision',function(_0x22be57){const _0x22b350=_0x22be57[_0x1294('0xb7')]['get']('RevisionViewer');return(_0x3df9ef,_0x285411,_0x2b814f)=>{const _0x3dc8cd=_0x285411['markerName'][_0x1294('0x27')](':')[0x1],_0x5f4f60=_0x22b350[_0x1294('0x8f')](_0x3dc8cd);if(!_0x5f4f60)return null;const _0x330436=_0x1294('0xf5')==_0x5f4f60[_0x1294('0x87')]?_0x1294('0x27'):_0x1294('0x2e');if(!_0x2b814f[_0x1294('0x66')][_0x1294('0x1e')](_0x285411[_0x1294('0x5a')],_0x3df9ef[_0x1294('0x79')]))return;const _0x4a435b=_0x285411[_0x1294('0x5a')][_0x1294('0x5e')](),_0x1e880e=_0x285411[_0x1294('0x5a')]['start'],_0x10add7=_0x22be57[_0x1294('0x6e')][_0x1294('0xc6')];let _0x51bb18=null,_0x597251=null,_0x361416=!0x1,_0x199f46=!0x1;for(const _0x296329 of _0x4a435b){const _0xd86bd2=_0x296329[_0x1294('0x110')];_0x361416=_0x361416||_0x10add7[_0x1294('0xa2')](_0xd86bd2);const _0x384bb3=_0x2b814f['mapper']['toViewElement'](_0xd86bd2);if(_0x384bb3&&_0x384bb3[_0x1294('0xa')]('addHighlight'))return;_0x1294('0x10c')==_0x296329['type']&&(_0x10add7[_0x1294('0x58')](_0xd86bd2)&&!_0x10add7[_0x1294('0xe8')](_0xd86bd2)&&(_0xd86bd2[_0x1294('0x65')]||_0x1e880e[_0x1294('0x43')]?_0x51bb18&&_0x51bb18[_0x1294('0x3b')]==_0xd86bd2||(_0x51bb18=_0xd86bd2,_0xc43767(_0x296329[_0x1294('0x17')]),_0x199f46=!0x0):_0x597251=_0x597251||_0x296329[_0x1294('0x17')]));}function _0xc43767(_0x595a87){const _0x393094=_0x2b814f['writer'][_0x1294('0x30')](_0x1294('0x22'),{'class':_0x1294('0x3d')+_0x330436}),_0x5021e0=_0x2b814f[_0x1294('0xaf')][_0x1294('0xc3')](_0x595a87);_0x5f4f60[_0x1294('0xbd')][_0x1294('0x2')]&&_0x2b814f[_0x1294('0x33')][_0x1294('0xe0')](_0x1294('0x3d')+_0x330436+_0x1294('0xe9'),_0x393094),_0x22b350['activeChange']==_0x5f4f60&&_0x2b814f['writer'][_0x1294('0xe0')](_0x1294('0xd4'),_0x393094),_0x2b814f[_0x1294('0x33')][_0x1294('0xc7')](_0x5021e0,_0x393094),_0x2b814f[_0x1294('0xaf')][_0x1294('0xb')](_0x393094,_0x285411[_0x1294('0xde')]);}_0x361416||_0x199f46||!_0x597251||_0xc43767(_0x597251);};}(this[_0x1294('0xd9')]),{'priority':_0x1294('0x7f')}),this[_0x1294('0xd9')][_0x1294('0x98')]['downcastDispatcher']['on'](_0x1294('0x16'),(_0x552f4f,_0x2476a9,_0xc5fb02)=>{const _0x18e6d5=_0xc5fb02['mapper'][_0x1294('0xfd')](_0x2476a9[_0x1294('0xde')]);if(_0x18e6d5)for(const _0x24bdba of _0x18e6d5)(_0x24bdba[_0x1294('0xdc')](_0x1294('0x37'))||_0x24bdba[_0x1294('0xdc')](_0x1294('0x29')))&&(_0xc5fb02[_0x1294('0xaf')][_0x1294('0xd1')](_0x24bdba,_0x2476a9[_0x1294('0xde')]),_0xc5fb02[_0x1294('0x33')][_0x1294('0xb9')](_0x24bdba));},{'priority':_0x1294('0x7f')}),this[_0x1294('0xd9')][_0x1294('0x98')][_0x1294('0x10e')]['on']('addMarker:revision',(_0x2a268a,_0xd564e0,_0x47e0de)=>{const _0x3f7de9=_0xd564e0[_0x1294('0xde')][_0x1294('0x27')](':')[0x1],_0x27ddb4=this[_0x1294('0x8f')](_0x3f7de9);if(!_0x27ddb4)return null;const _0x598ab5=_0x1294('0xf5')==_0x27ddb4[_0x1294('0x87')]?_0x1294('0x27'):_0x1294('0x2e');if(_0x47e0de['consumable'][_0x1294('0x1e')](_0xd564e0[_0x1294('0x5a')],_0x2a268a['name']))for(const _0x44e548 of _0xd564e0['markerRange'][_0x1294('0xf6')]()){if(!_0x44e548['is'](_0x1294('0x51'),_0x1294('0x81')))continue;const _0x58c6d9=_0x47e0de[_0x1294('0x33')][_0x1294('0x30')]('span',{'class':_0x1294('0x3d')+_0x598ab5}),_0x127fff=_0x47e0de[_0x1294('0xaf')][_0x1294('0xc3')](this[_0x1294('0xd9')][_0x1294('0x6e')]['createPositionBefore'](_0x44e548));_0x27ddb4[_0x1294('0xbd')][_0x1294('0x2')]&&_0x47e0de['writer']['addClass']('ck-suggestion-marker-'+_0x598ab5+'-new',_0x58c6d9),this[_0x1294('0xd')]==_0x27ddb4&&_0x47e0de[_0x1294('0x33')][_0x1294('0xe0')](_0x1294('0xd4'),_0x58c6d9),_0x47e0de[_0x1294('0x33')][_0x1294('0xc7')](_0x127fff,_0x58c6d9),_0x47e0de[_0x1294('0xaf')]['bindElementToMarker'](_0x58c6d9,_0xd564e0[_0x1294('0xde')]);}},{'priority':_0x1294('0x7f')}),this[_0x1294('0xd9')][_0x1294('0xc8')][_0x1294('0x28')](_0x1294('0x84'))[_0x1294('0xc2')]({'view':_0x1294('0xab'),'model':_0xe41c58=>'revision-comment:'+_0xe41c58,'converterPriority':_0x1294('0x74')}),this[_0x1294('0xd9')][_0x1294('0xc8')][_0x1294('0x28')]('upcast')[_0x1294('0xc2')]({'view':_0x1294('0x5'),'model':_0x146e7e=>_0x1294('0x42')+_0x146e7e,'converterPriority':_0x1294('0x74')}),this['editor'][_0x1294('0xc8')]['for'](_0x1294('0x99'))[_0x1294('0x108')]({'model':_0x1294('0x106'),'view':_0x46371b=>_0x1294('0x7d')+_0x46371b,'converterPriority':_0x1294('0x74')}),this['editor']['conversion'][_0x1294('0x28')]('editingDowncast')[_0x1294('0x72')]({'model':'revision-suggestion','view':_0x5d7ffb=>{const _0x4bf1f6=_0x5d7ffb['markerName'][_0x1294('0x27')](':')[0x1];return _0x1294('0x10b')!=_0x4bf1f6&&_0x1294('0x2a')!=_0x4bf1f6?null:{'classes':[_0x1294('0xcb'),_0x1294('0x12')+_0x4bf1f6]};}}),this['editor'][_0x1294('0x98')]['downcastDispatcher']['on'](_0x1294('0x14'),Q(this[_0x1294('0xd9')],_0x1294('0x2e')),{'priority':_0x1294('0x7f')}),this[_0x1294('0xd9')][_0x1294('0x98')][_0x1294('0x10e')]['on'](_0x1294('0x8d'),Q(this[_0x1294('0xd9')],_0x1294('0x27')),{'priority':'high'}),this[_0x1294('0xd9')][_0x1294('0x98')][_0x1294('0x10e')]['on'](_0x1294('0x6f'),(_0x1b5e92,_0x38816d,_0xae9f47)=>{const _0x4c30b2=_0xae9f47[_0x1294('0xaf')][_0x1294('0xfd')](_0x38816d[_0x1294('0xde')]);if(_0x4c30b2)for(const _0x1d02b0 of _0x4c30b2)_0x1d02b0['is'](_0x1294('0x40'))&&(_0xae9f47['mapper'][_0x1294('0xd1')](_0x1d02b0,_0x38816d[_0x1294('0xde')]),_0xae9f47[_0x1294('0x33')][_0x1294('0xb9')](_0x1d02b0));},{'priority':_0x1294('0x7f')});}['_getChangeFromId'](_0x26de8c){return this['_changeIdToChange'][_0x1294('0x107')](_0x26de8c);}['_getViewForChange'](_0x52847d){this['_changeView']&&this[_0x1294('0x1d')][_0x1294('0x60')](),this[_0x1294('0x1d')]=new _0x1ea0d4(this[_0x1294('0xd9')][_0x1294('0x56')],_0x52847d);const _0x1f73c1=this[_0x1294('0xd9')][_0x1294('0x6e')]['markers']['get'](_0x1294('0xb1')+_0x52847d['id']);return this['_changeView'][_0x1294('0xc1')]=()=>_0xdd8ba6(this['editor'][_0x1294('0x98')],_0x1f73c1),this['_changeView'];}['_initInteractions'](){this[_0x1294('0xd9')][_0x1294('0x6e')][_0x1294('0x69')][_0x1294('0x4d')][_0x1294('0x59')](_0x1294('0x0')),this['on'](_0x1294('0xa9'),(_0x4dcd73,_0xba4588,_0x4b3546,_0x3f8a37)=>{_0x3f8a37&&this[_0x1294('0xee')]['remove'](_0x3f8a37),_0x4b3546&&(this[_0x1294('0xee')]['add']({'view':_0x4b3546,'stackId':_0x1294('0xe2'),'position':{'target':_0x4b3546[_0x1294('0xc1')]}}),this[_0x1294('0xee')][_0x1294('0x7b')](_0x1294('0xe2')));}),this['on'](_0x1294('0x3c'),(_0x50056e,_0x1bc3df,_0x1e3449,_0xe985d4)=>{this['activeView']=_0x1e3449?this['_getViewForChange'](_0x1e3449):null,this[_0x1294('0xd9')][_0x1294('0x6e')][_0x1294('0x95')](()=>{const _0x221713=this[_0x1294('0xd9')][_0x1294('0x98')];_0xe985d4&&_0x221713[_0x1294('0x9')](_0x1294('0xb1')+_0xe985d4['id']),_0x1e3449&&_0x221713['reconvertMarker']('revision:'+_0x1e3449['id']);});}),this['listenTo'](this[_0x1294('0xd9')][_0x1294('0x98')][_0x1294('0x9c')][_0x1294('0x69')],'mouseover',(_0x5baf90,_0x24bb09)=>{if(this[_0x1294('0xd')])return;const _0x413f53=this[_0x1294('0x5d')](_0x24bb09[_0x1294('0x100')]),_0x3eeaec=this[_0x1294('0xdf')]['get'](_0x413f53);this[_0x1294('0xb3')]=_0x3eeaec?this['_getViewForChange'](_0x3eeaec):null;}),this['listenTo'](this[_0x1294('0xd9')][_0x1294('0x98')]['view']['document'],_0x1294('0xfe'),(_0x345fe3,_0xba12bb)=>{const _0x8613b=this[_0x1294('0x5d')](_0xba12bb[_0x1294('0x100')]),_0x49239f=this[_0x1294('0xdf')][_0x1294('0x107')](_0x8613b);this[_0x1294('0xd')]=_0x49239f||null;});}[_0x1294('0x5d')](_0x157553){do{const _0x5bf3d6=_0x157553[_0x1294('0x1f')](_0x1294('0x9f'));if(_0x5bf3d6)return _0x5bf3d6;_0x157553=_0x157553['parent'];}while(_0x157553);return null;}['_cleanMarkers'](){this[_0x1294('0xd9')][_0x1294('0x6e')]['change'](_0x5bc648=>{for(const _0x5b8767 of this[_0x1294('0xd9')]['model'][_0x1294('0x7c')])_0x5bc648[_0x1294('0x101')](_0x5b8767);});}}function Q(_0x1988cc,_0x24a9a8){return(_0x58a868,_0x2bca83,_0x44f112)=>{if(!_0x44f112['consumable'][_0x1294('0x1e')](_0x2bca83['markerRange'],_0x58a868[_0x1294('0x79')]))return;const _0x2ec199=_0x2bca83[_0x1294('0x5a')][_0x1294('0x5e')](),_0x52b98c=_0x2bca83['markerRange'][_0x1294('0xec')],_0x54ec33=_0x1988cc[_0x1294('0x6e')]['schema'];let _0x1c7217=null,_0x5bedba=null,_0x43b1ee=!0x1,_0xd04cff=!0x1;for(const _0x4cb2c1 of _0x2ec199){const _0x291996=_0x4cb2c1[_0x1294('0x110')];_0x43b1ee=_0x43b1ee||_0x54ec33[_0x1294('0xa2')](_0x291996);const _0x2a4e70=_0x44f112['mapper'][_0x1294('0x67')](_0x291996);if(_0x2a4e70&&_0x2a4e70['getCustomProperty'](_0x1294('0x78')))return;'elementEnd'==_0x4cb2c1[_0x1294('0x87')]&&(_0x54ec33['isBlock'](_0x291996)&&!_0x54ec33[_0x1294('0xe8')](_0x291996)&&(_0x291996['nextSibling']||_0x52b98c['isAtEnd']?_0x1c7217&&_0x1c7217[_0x1294('0x3b')]==_0x291996||(_0x1c7217=_0x291996,_0x51cece(_0x4cb2c1[_0x1294('0x17')]),_0xd04cff=!0x0):_0x5bedba=_0x5bedba||_0x4cb2c1[_0x1294('0x17')]));}function _0x51cece(_0x4470a3){const _0x315b7=_0x44f112[_0x1294('0xaf')][_0x1294('0xc3')](_0x4470a3),_0x438bc1=_0x44f112[_0x1294('0x33')][_0x1294('0x30')](_0x1294('0x22'),{'class':'ck-suggestion-preview-marker-'+_0x24a9a8});_0x44f112[_0x1294('0x33')][_0x1294('0xc7')](_0x315b7,_0x438bc1),_0x44f112[_0x1294('0xaf')][_0x1294('0xb')](_0x438bc1,_0x2bca83[_0x1294('0xde')]);}_0x43b1ee||_0xd04cff||!_0x5bedba||_0x51cece(_0x5bedba);};}_0x29ec24(w,_0x518962);class X extends _0x4474a2{constructor(_0x1fabc3){super(_0x1fabc3);const _0x326ada=_0x1fabc3[_0x1294('0xb7')][_0x1294('0x107')](w);this['stopListening'](_0x1fabc3,_0x1294('0xe5')),this[_0x1294('0xb4')](_0x1294('0x68')),this['listenTo'](_0x326ada,_0x1294('0x9e'),()=>this[_0x1294('0x7a')]()),this[_0x1294('0xda')](_0x326ada,_0x1294('0x92'),()=>this[_0x1294('0x7a')]());}['execute'](){const _0x37876c=this[_0x1294('0xd9')],_0x40ad40=_0x37876c['plugins'][_0x1294('0x107')](w),_0x531aa2=_0x40ad40[_0x1294('0xe4')]?_0x40ad40[_0x1294('0x76')][_0x1294('0xeb')]:null;_0x37876c['config']['get']('revisionHistory')[_0x1294('0x39')](_0x531aa2);}[_0x1294('0x7a')](){const {isReady:_0x61847,isEnabled:_0x5d2700}=this[_0x1294('0xd9')][_0x1294('0xb7')][_0x1294('0x107')](w);this[_0x1294('0x64')]=_0x61847&&_0x5d2700;}}class Y extends _0x4474a2{constructor(_0x57c36d,{direction:_0x389082}){super(_0x57c36d);const _0xc22257=_0x57c36d['plugins'][_0x1294('0x107')](w);this['stopListening'](_0x57c36d,'change:isReadOnly'),this[_0x1294('0xb4')](_0x1294('0x68')),this[_0x1294('0x90')]=_0x1294('0x10a')===_0x389082?0x1:-0x1,this[_0x1294('0xda')](_0xc22257,_0x1294('0x9e'),()=>this[_0x1294('0x7a')]()),this[_0x1294('0xda')](_0xc22257,_0x1294('0x92'),()=>this['refresh']());}[_0x1294('0xa4')](){const _0x2a977a=this[_0x1294('0xd9')],_0x3a96c1=_0x2a977a[_0x1294('0xb7')]['get'](w),{isNavigationMode:_0x532727,currentChangeNumber:_0x222b39}=_0x3a96c1;_0x3a96c1[_0x1294('0xd')]=_0x532727?_0x3a96c1['diff'][_0x1294('0xac')][_0x1294('0x107')](_0x222b39+this[_0x1294('0x90')]):_0x3a96c1[_0x1294('0x76')]['changes'][_0x1294('0xd8')];const _0xebaf72=_0x2a977a[_0x1294('0x6e')][_0x1294('0x7c')][_0x1294('0x107')](_0x1294('0xb1')+_0x3a96c1[_0x1294('0xd')]['id']),_0x239b37=_0xdd8ba6(_0x2a977a[_0x1294('0x98')],_0xebaf72);_0x5eebd0({'target':_0x239b37,'viewportOffset':0x28});}[_0x1294('0x7a')](){const {isNavigationMode:_0x195d50,currentChangeNumber:_0x108ca7,numberOfChanges:_0x2277b0,isReady:_0x59738b,isEnabled:_0x5737f3}=this[_0x1294('0xd9')]['plugins'][_0x1294('0x107')](w);this['isEnabled']=!!(_0x5737f3&&_0x59738b&&_0x2277b0)&&(!_0x195d50||(0x1===this[_0x1294('0x90')]?_0x108ca7<_0x2277b0-0x1:_0x108ca7>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfd2d=['function','buttonView','isActionsDropdownOpen','bindTemplate','class','panelPosition','isEnabled','bind','isVisible','stopPropagation','listView','Restore\x20this\x20revision','map','first','ck-on','name','Name\x20this\x20revision','extendTemplate','button','execute','_action','isOpen','model','items','source','find','add','children','action'];(function(_0x683ed5,_0xfd2d09){const _0xd988f9=function(_0x293487){while(--_0x293487){_0x683ed5['push'](_0x683ed5['shift']());}};_0xd988f9(++_0xfd2d09);}(_0xfd2d,0x7f));const _0xd988=function(_0x683ed5,_0xfd2d09){_0x683ed5=_0x683ed5-0x0;let _0xd988f9=_0xfd2d[_0x683ed5];return _0xd988f9;};import{Collection as _0x1d3846}from'ckeditor5/src/utils';import{Model as _0x3522e0,addListToDropdown as _0x3a3089,createDropdown as _0x24217b}from'ckeditor5/src/ui';import{getTranslation as _0x474794}from'../../utils/common-translations';import _0x123045 from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x26d7f9,_0x4c83ac){const _0x4ca54c=_0x26d7f9[_0xd988('0x15')],_0x48815d=_0x26d7f9['locale'],_0x13d4d8=_0x24217b(_0x48815d);_0x13d4d8[_0xd988('0x17')]='sw';const _0x3d6e4e=function(_0x24b5db,_0x5e289a){const _0x49310f=function(_0x2e06cc,_0x55d06c){const _0x3e4047=_0x2e06cc['locale'],_0x4d6b5e={'Compare\x20against\x20selected':_0x474794(_0x3e4047,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x474794(_0x3e4047,_0xd988('0x5')),'Restore\x20this\x20revision':_0x474794(_0x3e4047,_0xd988('0x0'))};return _0x55d06c[_0xd988('0x1')](_0x13334c=>{const _0x3357f4=_0x4d6b5e[_0x13334c[_0xd988('0x4')]];return _0x3357f4&&_0x3357f4!==_0x13334c['name']&&(_0x13334c['name']=_0x3357f4),_0x13334c;});}(_0x24b5db,_0x5e289a),_0x3b69a3=new _0x1d3846();for(const _0x45c476 of _0x49310f){const _0x5d7d62={'type':_0xd988('0x7'),'model':new _0x3522e0({'label':_0x45c476[_0xd988('0x4')],'class':_0x45c476[_0xd988('0x16')],'withText':!0x0,'_action':_0x45c476['action']})};_0x5d7d62[_0xd988('0xb')][_0xd988('0x19')](_0xd988('0x18'))['to'](_0x24b5db,_0xd988('0x14'),_0x235cbf=>_0xd988('0x12')!=typeof _0x45c476['isEnabled']||(!_0x235cbf||_0x45c476[_0xd988('0x18')](_0x24b5db))),_0x3b69a3[_0xd988('0xf')](_0x5d7d62);}return _0x3b69a3;}(_0x26d7f9,_0x4c83ac);return _0x26d7f9['bind'](_0xd988('0x14'))['to'](_0x13d4d8,_0xd988('0xa')),_0x13d4d8[_0xd988('0x13')]['set']({'label':_0x474794(_0x48815d,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x123045}),_0x13d4d8[_0xd988('0x6')]({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4ca54c['if'](_0xd988('0x14'),_0xd988('0x3'))]},'on':{'click':_0x4ca54c['to'](_0x588cdd=>_0x588cdd[_0xd988('0x1b')]())}}),_0x13d4d8['on'](_0xd988('0x8'),_0x1b8c36=>{_0x26d7f9['isReady']&&'function'==typeof _0x1b8c36['source'][_0xd988('0x9')]&&_0x1b8c36[_0xd988('0xd')][_0xd988('0x9')](_0x26d7f9);}),_0x3a3089(_0x13d4d8,_0x3d6e4e),_0x13d4d8['listenTo'](_0x26d7f9,'change:isActionsDropdownOpen',(_0x276601,_0x4841f7,_0x21ab45)=>{if(_0x21ab45)for(const _0x2a310c of _0x13d4d8[_0xd988('0x1c')][_0xd988('0xc')]){const _0x50e141=_0x2a310c[_0xd988('0x10')][_0xd988('0x2')],_0x2fc1d0=_0x4c83ac[_0xd988('0xe')](_0x280cb0=>_0x280cb0[_0xd988('0x11')]===_0x50e141[_0xd988('0x9')])[_0xd988('0x1a')];_0x2a310c[_0xd988('0x1a')]=void 0x0===_0x2fc1d0||_0x2fc1d0(_0x26d7f9);}}),_0x13d4d8;}
23
+ const _0x294b=['source','bind','Name\x20this\x20revision','buttonView','Compare\x20against\x20selected','children','isReady','isOpen','stopPropagation','execute','locale','ck-revision-history-sidebar__revision__actions','ck-on','extendTemplate','Restore\x20this\x20revision','isActionsDropdownOpen','panelPosition','isVisible','action','set','items','function','bindTemplate','find','change:isActionsDropdownOpen','class','isEnabled','name','button'];(function(_0x1d1e1a,_0x294bd9){const _0x3a7cae=function(_0x3451d9){while(--_0x3451d9){_0x1d1e1a['push'](_0x1d1e1a['shift']());}};_0x3a7cae(++_0x294bd9);}(_0x294b,0xde));const _0x3a7c=function(_0x1d1e1a,_0x294bd9){_0x1d1e1a=_0x1d1e1a-0x0;let _0x3a7cae=_0x294b[_0x1d1e1a];return _0x3a7cae;};import{Collection as _0x57541a}from'ckeditor5/src/utils';import{Model as _0x36c3b6,addListToDropdown as _0x13224e,createDropdown as _0xbf9e26}from'ckeditor5/src/ui';import{getTranslation as _0x17674e}from'../../utils/common-translations';import _0x3e906d from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x4aa64f,_0x3de7c8){const _0x402ec5=_0x4aa64f[_0x3a7c('0x3')],_0x27a1dc=_0x4aa64f[_0x3a7c('0x14')],_0x5e568a=_0xbf9e26(_0x27a1dc);_0x5e568a[_0x3a7c('0x1a')]='sw';const _0x2847ac=function(_0x1e4c3e,_0x589b9f){const _0x390a7b=function(_0x3f9a32,_0x494e6e){const _0x1bdeb4=_0x3f9a32['locale'],_0x49d026={'Compare\x20against\x20selected':_0x17674e(_0x1bdeb4,_0x3a7c('0xe')),'Name\x20this\x20revision':_0x17674e(_0x1bdeb4,_0x3a7c('0xc')),'Restore\x20this\x20revision':_0x17674e(_0x1bdeb4,_0x3a7c('0x18'))};return _0x494e6e['map'](_0x1bf34d=>{const _0x102353=_0x49d026[_0x1bf34d[_0x3a7c('0x8')]];return _0x102353&&_0x102353!==_0x1bf34d[_0x3a7c('0x8')]&&(_0x1bf34d[_0x3a7c('0x8')]=_0x102353),_0x1bf34d;});}(_0x1e4c3e,_0x589b9f),_0x1d2426=new _0x57541a();for(const _0xd39c1b of _0x390a7b){const _0x91bac2={'type':_0x3a7c('0x9'),'model':new _0x36c3b6({'label':_0xd39c1b[_0x3a7c('0x8')],'class':_0xd39c1b[_0x3a7c('0x6')],'withText':!0x0,'_action':_0xd39c1b[_0x3a7c('0x1c')]})};_0x91bac2['model'][_0x3a7c('0xb')]('isEnabled')['to'](_0x1e4c3e,_0x3a7c('0x19'),_0x2ec4a5=>_0x3a7c('0x2')!=typeof _0xd39c1b[_0x3a7c('0x7')]||(!_0x2ec4a5||_0xd39c1b[_0x3a7c('0x7')](_0x1e4c3e))),_0x1d2426['add'](_0x91bac2);}return _0x1d2426;}(_0x4aa64f,_0x3de7c8);return _0x4aa64f[_0x3a7c('0xb')](_0x3a7c('0x19'))['to'](_0x5e568a,_0x3a7c('0x11')),_0x5e568a[_0x3a7c('0xd')][_0x3a7c('0x0')]({'label':_0x17674e(_0x27a1dc,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3e906d}),_0x5e568a[_0x3a7c('0x17')]({'attributes':{'class':[_0x3a7c('0x15'),_0x402ec5['if'](_0x3a7c('0x19'),_0x3a7c('0x16'))]},'on':{'click':_0x402ec5['to'](_0x597e28=>_0x597e28[_0x3a7c('0x12')]())}}),_0x5e568a['on'](_0x3a7c('0x13'),_0x485bb0=>{_0x4aa64f[_0x3a7c('0x10')]&&_0x3a7c('0x2')==typeof _0x485bb0[_0x3a7c('0xa')]['_action']&&_0x485bb0[_0x3a7c('0xa')]['_action'](_0x4aa64f);}),_0x13224e(_0x5e568a,_0x2847ac),_0x5e568a['listenTo'](_0x4aa64f,_0x3a7c('0x5'),(_0xae59d8,_0x2883aa,_0xb8db22)=>{if(_0xb8db22)for(const _0x55d0d1 of _0x5e568a['listView'][_0x3a7c('0x1')]){const _0x39dae4=_0x55d0d1[_0x3a7c('0xf')]['first'],_0x179a8e=_0x3de7c8[_0x3a7c('0x4')](_0x385e0d=>_0x385e0d['action']===_0x39dae4['_action'])[_0x3a7c('0x1b')];_0x55d0d1[_0x3a7c('0x1b')]=void 0x0===_0x179a8e||_0x179a8e(_0x4aa64f);}}),_0x5e568a;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2042=['name','set','Revision\x20author','push','ck-revision-history-sidebar__revision-author__name','span','Revision\x20creator','0\x200\x2011\x2010'];(function(_0x32b4fc,_0x20423a){const _0x4b288c=function(_0x38088a){while(--_0x38088a){_0x32b4fc['push'](_0x32b4fc['shift']());}};_0x4b288c(++_0x20423a);}(_0x2042,0x139));const _0x4b28=function(_0x32b4fc,_0x20423a){_0x32b4fc=_0x32b4fc-0x0;let _0x4b288c=_0x2042[_0x32b4fc];return _0x4b288c;};import{View as _0x36935f,IconView as _0x5b9d88}from'ckeditor5/src/ui';import{getTranslation as _0x3c4a7b}from'../../utils/common-translations';import _0x3cc977 from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0x36935f{constructor(_0x215ee5,_0x31bca7,_0x3e5477){super(_0x215ee5);const _0x4df03c=new _0x5b9d88(_0x215ee5);_0x4df03c[_0x4b28('0x0')]({'content':_0x3cc977,'viewBox':_0x4b28('0x6')});const _0x5ed598=['ck','ck-revision-history-sidebar__revision-author'];_0x3e5477&&_0x5ed598[_0x4b28('0x2')]('ck-revision-history-sidebar__revision-author_creator');const _0x4e544f=[{'tag':_0x4b28('0x4'),'attributes':{'class':['ck',_0x4b28('0x3')],'title':_0x3c4a7b(_0x215ee5,_0x3e5477?_0x4b28('0x5'):_0x4b28('0x1'))},'children':[_0x4df03c,_0x31bca7[_0x4b28('0x7')]]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5ed598},'children':_0x4e544f});}}
23
+ const _0x1e98=['set','ck-revision-history-sidebar__revision-author','Revision\x20author','setTemplate','Revision\x20creator'];(function(_0x2b55ea,_0x1e981e){const _0x1d681c=function(_0x2ef173){while(--_0x2ef173){_0x2b55ea['push'](_0x2b55ea['shift']());}};_0x1d681c(++_0x1e981e);}(_0x1e98,0x11a));const _0x1d68=function(_0x2b55ea,_0x1e981e){_0x2b55ea=_0x2b55ea-0x0;let _0x1d681c=_0x1e98[_0x2b55ea];return _0x1d681c;};import{View as _0x208e3c,IconView as _0x24bf6e}from'ckeditor5/src/ui';import{getTranslation as _0x160609}from'../../utils/common-translations';import _0x55f3ec from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0x208e3c{constructor(_0x55a26b,_0x306250,_0x4b74fd){super(_0x55a26b);const _0x139309=new _0x24bf6e(_0x55a26b);_0x139309[_0x1d68('0x3')]({'content':_0x55f3ec,'viewBox':'0\x200\x2011\x2010'});const _0x26d058=['ck',_0x1d68('0x4')];_0x4b74fd&&_0x26d058['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1cdc8f=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x160609(_0x55a26b,_0x4b74fd?_0x1d68('0x2'):_0x1d68('0x0'))},'children':[_0x139309,_0x306250['name']]}];this[_0x1d68('0x1')]({'tag':'li','attributes':{'class':_0x26d058},'children':_0x1cdc8f});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5aae=['span','set','ck-revision-history-sidebar__revision-name','Revision\x20name','extendTemplate'];(function(_0x1dafc7,_0x5aae12){var _0x2d166d=function(_0x1e22d1){while(--_0x1e22d1){_0x1dafc7['push'](_0x1dafc7['shift']());}};_0x2d166d(++_0x5aae12);}(_0x5aae,0xe0));var _0x2d16=function(_0x1dafc7,_0x5aae12){_0x1dafc7=_0x1dafc7-0x0;var _0x2d166d=_0x5aae[_0x1dafc7];return _0x2d166d;};import{LabeledFieldView as _0x47e954}from'ckeditor5/src/ui';import{getTranslation as _0xdb4d79}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x47e954{constructor(_0x1e195b,..._0x4cf8a4){super(_0x1e195b,..._0x4cf8a4),this[_0x2d16('0x2')]({'label':_0xdb4d79(_0x1e195b,_0x2d16('0x4'))}),this[_0x2d16('0x0')]({'tag':_0x2d16('0x1'),'attributes':{'class':[_0x2d16('0x3')]}});}}
23
+ var _0x40df=['extendTemplate','span','set','ck-revision-history-sidebar__revision-name'];(function(_0x5bbc21,_0x40dfe6){var _0x3b39b1=function(_0x5618f6){while(--_0x5618f6){_0x5bbc21['push'](_0x5bbc21['shift']());}};_0x3b39b1(++_0x40dfe6);}(_0x40df,0x1e5));var _0x3b39=function(_0x5bbc21,_0x40dfe6){_0x5bbc21=_0x5bbc21-0x0;var _0x3b39b1=_0x40df[_0x5bbc21];return _0x3b39b1;};import{LabeledFieldView as _0x5df528}from'ckeditor5/src/ui';import{getTranslation as _0xde627a}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x5df528{constructor(_0x4d489e,..._0x45eae9){super(_0x4d489e,..._0x45eae9),this[_0x3b39('0x1')]({'label':_0xde627a(_0x4d489e,'Revision\x20name')}),this[_0x3b39('0x3')]({'tag':_0x3b39('0x0'),'attributes':{'class':[_0x3b39('0x2')]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e32=['ck-revision-history-sidebar__revision-wrapper','listenTo','extendTemplate','highlight','span','bindTemplate','_createdAtFormatted','change','revisionNameView','deselect','isActionsDropdownOpen','_revision','set','setName','.ck-thread__remove-confirm','uiLanguage','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','isEnabled','ck-revision-history-sidebar__revision_highlighted','authors','ck-revision-history-sidebar__revision__controls-wrapper','map','ck-revision-history-sidebar__actions_dropdown_open','bind','ck-revision-history-sidebar__revision-authors','render','creator','srcElement','isReady','value','element','closest','name','ck-reset','ck-revision-history-sidebar__revision__date','setTemplate','select','fieldView','isHighlighted','fire','revisionActionsView','isSelected','unhighlight','220','div','filter','unshift','createdAt','length'];(function(_0x106c88,_0x2e322d){const _0x2a4827=function(_0x1d7f33){while(--_0x1d7f33){_0x106c88['push'](_0x106c88['shift']());}};_0x2a4827(++_0x2e322d);}(_0x2e32,0xa9));const _0x2a48=function(_0x106c88,_0x2e322d){_0x106c88=_0x106c88-0x0;let _0x2a4827=_0x2e32[_0x106c88];return _0x2a4827;};import{View as _0x38b3c8,createLabeledInputText as _0x519cdd}from'ckeditor5/src/ui';import{mix as _0x47f306}from'ckeditor5/src/utils';import{ConfirmMixin as _0x5819b1}from'ckeditor5-collaboration/src/collaboration-core';import _0x5e992f from'./revisionnameview';import _0x41b51d from'./revisionauthorview';import{dateToPrettyFormat as _0x3dd42e}from'./utils';import{createActionsDropdownView as _0x26afe1}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x38b3c8{constructor(_0x3bce97,_0x2ee074,_0x308acb){super(_0x3bce97);const _0x20c73c=this[_0x2a48('0x20')],_0x532e41=function(_0x4402d5,_0xb451b3){const _0x5b2523=Array['from'](_0xb451b3[_0x2a48('0x2e')])[_0x2a48('0x17')](_0x18c2e0=>_0x18c2e0!=_0xb451b3[_0x2a48('0x4')]);return _0xb451b3['creator']&&_0x5b2523[_0x2a48('0x18')](_0xb451b3[_0x2a48('0x4')]),_0x5b2523[_0x2a48('0x30')](_0x34071f=>new _0x41b51d(_0x4402d5,_0x34071f,_0x34071f==_0xb451b3[_0x2a48('0x4')]));}(_0x3bce97,_0x2ee074);this[_0x2a48('0x26')]=_0x2ee074,this['id']=_0x2ee074['id'],this['bind']('name',_0x2a48('0x19'))['to'](_0x2ee074),this['set'](_0x2a48('0x13'),!0x1),this[_0x2a48('0x27')](_0x2a48('0x10'),!0x1),this[_0x2a48('0x27')](_0x2a48('0x25'),!0x1),this[_0x2a48('0x27')](_0x2a48('0x6'),!0x1),this[_0x2a48('0x1')](_0x2a48('0x21'))['to'](this,_0x2a48('0x19'),_0x331710=>_0x331710?_0x3dd42e(_0x3bce97[_0x2a48('0x2a')],_0x331710):null),this[_0x2a48('0x27')](_0x2a48('0x2c'),!0x1),this[_0x2a48('0x23')]=new _0x5e992f(_0x3bce97,_0x519cdd),this[_0x2a48('0x23')][_0x2a48('0xf')][_0x2a48('0x1d')]({'attributes':{'maxlength':_0x2a48('0x15')}}),this[_0x2a48('0x23')][_0x2a48('0xf')][_0x2a48('0x1')](_0x2a48('0x7'),'placeholder')['to'](this,_0x2a48('0xa'),_0x2a48('0x21')),this[_0x2a48('0x23')][_0x2a48('0x1')](_0x2a48('0x2c'))['to'](this,_0x2a48('0x13'),this,_0x2a48('0x2c'),(_0x438bc7,_0x125fd6)=>_0x438bc7&&_0x125fd6),this[_0x2a48('0x12')]=_0x308acb&&_0x308acb[_0x2a48('0x1a')]?_0x26afe1(this,_0x308acb):'',this[_0x2a48('0x12')][_0x2a48('0x1')]('isEnabled')['to'](this),this[_0x2a48('0xd')]({'tag':_0x2a48('0x16'),'attributes':{'class':['ck','ck-reset',_0x2a48('0x1b'),_0x20c73c['if']('isConfirm',_0x2a48('0x2b'))]},'children':[{'tag':'div','attributes':{'class':['ck',_0x2a48('0xb'),'ck-revision-history-sidebar__revision',_0x20c73c['if']('isEnabled','ck-disabled',_0x3471ec=>!_0x3471ec),_0x20c73c['if'](_0x2a48('0x13'),'ck-revision-history-sidebar__revision_selected'),_0x20c73c['if']('isHighlighted',_0x2a48('0x2d')),_0x20c73c['if'](_0x2a48('0x25'),_0x2a48('0x0'))]},'children':[this[_0x2a48('0x23')],{'tag':_0x2a48('0x1f'),'attributes':{'class':['ck',_0x2a48('0xc')]},'children':[{'text':_0x20c73c['to']('_createdAtFormatted')}]},{'tag':_0x2a48('0x16'),'attributes':{'class':['ck',_0x2a48('0x2f')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x2a48('0x2')]},'children':_0x532e41}]},this[_0x2a48('0x12')]],'on':{'click':_0x20c73c['to'](_0x3dab0f=>{_0x3dab0f[_0x2a48('0x5')][_0x2a48('0x9')](_0x2a48('0x29'))||this[_0x2a48('0x6')]&&this['isEnabled']&&this[_0x2a48('0x11')]('select',{'id':this['id']});})}}]});}[_0x2a48('0x3')](){super['render']();const _0x27e21f=this['revisionNameView'][_0x2a48('0xf')][_0x2a48('0x8')];this[_0x2a48('0x1c')](_0x27e21f,_0x2a48('0x22'),()=>{this[_0x2a48('0x11')](_0x2a48('0x28'),{'id':this['id'],'name':_0x27e21f[_0x2a48('0x7')]});});}[_0x2a48('0xe')](){this['isSelected']=!0x0;}[_0x2a48('0x24')](){this['isSelected']=!0x1;}[_0x2a48('0x1e')](){this[_0x2a48('0x10')]=!0x0;}[_0x2a48('0x14')](){this[_0x2a48('0x10')]=!0x1;}}_0x47f306(ci,_0x5819b1);
23
+ const _0x523d=['bind','revisionNameView','ck-revision-history-sidebar__revision','change','_createdAtFormatted','uiLanguage','deselect','bindTemplate','unshift','isHighlighted','highlight','listenTo','closest','220','revisionActionsView','map','isEnabled','div','isConfirm','unhighlight','creator','isReady','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','createdAt','placeholder','ck-revision-history-sidebar__revision_selected','extendTemplate','ck-revision-history-sidebar__revision-wrapper','name','filter','length','srcElement','.ck-thread__remove-confirm','ck-revision-history-sidebar__actions_dropdown_open','fieldView','value','ck-revision-history-sidebar__revision__controls-wrapper','fire','select','isActionsDropdownOpen','ck-reset','isSelected','render','from','ck-revision-history-sidebar__revision_highlighted','set'];(function(_0x538335,_0x523d78){const _0x5034fc=function(_0x7dad4c){while(--_0x7dad4c){_0x538335['push'](_0x538335['shift']());}};_0x5034fc(++_0x523d78);}(_0x523d,0x79));const _0x5034=function(_0x538335,_0x523d78){_0x538335=_0x538335-0x0;let _0x5034fc=_0x523d[_0x538335];return _0x5034fc;};import{View as _0x47823a,createLabeledInputText as _0x3c62b3}from'ckeditor5/src/ui';import{mix as _0x336192}from'ckeditor5/src/utils';import{ConfirmMixin as _0x5509d8}from'ckeditor5-collaboration/src/collaboration-core';import _0x11a893 from'./revisionnameview';import _0x248361 from'./revisionauthorview';import{dateToPrettyFormat as _0x22d04c}from'./utils';import{createActionsDropdownView as _0x53347f}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x47823a{constructor(_0x44f917,_0x1af35d,_0x52417a){super(_0x44f917);const _0xbca7a1=this[_0x5034('0x18')],_0x2147cd=function(_0x10ce0d,_0xd05d8c){const _0x29f24c=Array[_0x5034('0xe')](_0xd05d8c['authors'])[_0x5034('0x0')](_0x57fc2f=>_0x57fc2f!=_0xd05d8c[_0x5034('0x25')]);return _0xd05d8c[_0x5034('0x25')]&&_0x29f24c[_0x5034('0x19')](_0xd05d8c[_0x5034('0x25')]),_0x29f24c[_0x5034('0x20')](_0x130677=>new _0x248361(_0x10ce0d,_0x130677,_0x130677==_0xd05d8c[_0x5034('0x25')]));}(_0x44f917,_0x1af35d);this['_revision']=_0x1af35d,this['id']=_0x1af35d['id'],this[_0x5034('0x11')]('name',_0x5034('0x28'))['to'](_0x1af35d),this['set']('isSelected',!0x1),this[_0x5034('0x10')](_0x5034('0x1a'),!0x1),this['set']('isActionsDropdownOpen',!0x1),this[_0x5034('0x10')](_0x5034('0x26'),!0x1),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x107d98=>_0x107d98?_0x22d04c(_0x44f917[_0x5034('0x16')],_0x107d98):null),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x11a893(_0x44f917,_0x3c62b3),this['revisionNameView'][_0x5034('0x5')][_0x5034('0x2b')]({'attributes':{'maxlength':_0x5034('0x1e')}}),this[_0x5034('0x12')][_0x5034('0x5')]['bind'](_0x5034('0x6'),_0x5034('0x29'))['to'](this,_0x5034('0x2d'),_0x5034('0x15')),this[_0x5034('0x12')][_0x5034('0x11')]('isEnabled')['to'](this,'isSelected',this,_0x5034('0x21'),(_0x17ea24,_0x23f8ed)=>_0x17ea24&&_0x23f8ed),this[_0x5034('0x1f')]=_0x52417a&&_0x52417a[_0x5034('0x1')]?_0x53347f(this,_0x52417a):'',this[_0x5034('0x1f')][_0x5034('0x11')](_0x5034('0x21'))['to'](this),this['setTemplate']({'tag':_0x5034('0x22'),'attributes':{'class':['ck',_0x5034('0xb'),_0x5034('0x2c'),_0xbca7a1['if'](_0x5034('0x23'),_0x5034('0x27'))]},'children':[{'tag':_0x5034('0x22'),'attributes':{'class':['ck','ck-reset',_0x5034('0x13'),_0xbca7a1['if'](_0x5034('0x21'),'ck-disabled',_0x25a4bd=>!_0x25a4bd),_0xbca7a1['if'](_0x5034('0xc'),_0x5034('0x2a')),_0xbca7a1['if'](_0x5034('0x1a'),_0x5034('0xf')),_0xbca7a1['if'](_0x5034('0xa'),_0x5034('0x4'))]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0xbca7a1['to'](_0x5034('0x15'))}]},{'tag':_0x5034('0x22'),'attributes':{'class':['ck',_0x5034('0x7')]},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x2147cd}]},this[_0x5034('0x1f')]],'on':{'click':_0xbca7a1['to'](_0x1d1773=>{_0x1d1773[_0x5034('0x2')][_0x5034('0x1d')](_0x5034('0x3'))||this[_0x5034('0x26')]&&this[_0x5034('0x21')]&&this[_0x5034('0x8')](_0x5034('0x9'),{'id':this['id']});})}}]});}['render'](){super[_0x5034('0xd')]();const _0x598270=this['revisionNameView']['fieldView']['element'];this[_0x5034('0x1c')](_0x598270,_0x5034('0x14'),()=>{this['fire']('setName',{'id':this['id'],'name':_0x598270[_0x5034('0x6')]});});}['select'](){this['isSelected']=!0x0;}[_0x5034('0x17')](){this[_0x5034('0xc')]=!0x1;}[_0x5034('0x1b')](){this[_0x5034('0x1a')]=!0x0;}[_0x5034('0x24')](){this[_0x5034('0x1a')]=!0x1;}}_0x336192(ci,_0x5509d8);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4001=['isVisible','true','span','ck-revision-history-sidebar__subrevision-collapser','setTemplate','click','bindTemplate','button','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-hidden','false','_isCollapsed'];(function(_0x135eeb,_0x40013d){const _0x5c3a2d=function(_0x57dec5){while(--_0x57dec5){_0x135eeb['push'](_0x135eeb['shift']());}};_0x5c3a2d(++_0x40013d);}(_0x4001,0xb5));const _0x5c3a=function(_0x135eeb,_0x40013d){_0x135eeb=_0x135eeb-0x0;let _0x5c3a2d=_0x4001[_0x135eeb];return _0x5c3a2d;};import{View as _0x522cc7}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x522cc7{constructor(_0x151e67){super(_0x151e67);const _0x3d14a6=this[_0x5c3a('0x5')];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x5c3a('0x3')]({'tag':_0x5c3a('0x1'),'attributes':{'class':['ck',_0x5c3a('0x2'),_0x3d14a6['if'](_0x5c3a('0xb'),_0x5c3a('0x8'),_0x4bc38f=>!_0x4bc38f),_0x3d14a6['if'](_0x5c3a('0xa'),_0x5c3a('0x7'))],'role':_0x5c3a('0x6'),'aria-pressed':_0x3d14a6['to'](_0x5c3a('0xa'),_0x4169a7=>_0x4169a7?_0x5c3a('0x9'):_0x5c3a('0x0'))},'children':[{'tag':_0x5c3a('0x1'),'attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser__inner']}}],'on':{'click':_0x3d14a6['to'](_0x5c3a('0x4'))}});}['toggle'](){this['_isCollapsed']=!this['_isCollapsed'];}}
23
+ const _0x4bb7=['ck-revision-history-sidebar__subrevision-collapser','_isCollapsed','set','span','setTemplate','button','isVisible','false','true','toggle'];(function(_0x4eed4a,_0x4bb735){const _0x465eb6=function(_0x39bca9){while(--_0x39bca9){_0x4eed4a['push'](_0x4eed4a['shift']());}};_0x465eb6(++_0x4bb735);}(_0x4bb7,0x1af));const _0x465e=function(_0x4eed4a,_0x4bb735){_0x4eed4a=_0x4eed4a-0x0;let _0x465eb6=_0x4bb7[_0x4eed4a];return _0x465eb6;};import{View as _0x411a4f}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x411a4f{constructor(_0x300dc9){super(_0x300dc9);const _0x343d88=this['bindTemplate'];this[_0x465e('0x1')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x465e('0x3')]({'tag':_0x465e('0x2'),'attributes':{'class':['ck',_0x465e('0x9'),_0x343d88['if'](_0x465e('0x5'),'ck-hidden',_0x5987cc=>!_0x5987cc),_0x343d88['if']('_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed')],'role':_0x465e('0x4'),'aria-pressed':_0x343d88['to'](_0x465e('0x0'),_0x48fbd3=>_0x48fbd3?_0x465e('0x6'):_0x465e('0x7'))},'children':[{'tag':_0x465e('0x2'),'attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser__inner']}}],'on':{'click':_0x343d88['to']('click')}});}[_0x465e('0x8')](){this[_0x465e('0x0')]=!this[_0x465e('0x0')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe59e=['ck-revision-history-sidebar__revision_selected','select','ck-revision-history-sidebar__revision__date','setTemplate','isSelected','author','_parentRevisionId','deselect','ck-reset','bind','uiLanguage','bindTemplate','ck-revision-history-sidebar__revision-authors','createdAt','div','_createdAtFormatted','ck-revision-history-sidebar__subrevision','fire'];(function(_0x150ac3,_0xe59e92){const _0x3d2d2a=function(_0x298fa0){while(--_0x298fa0){_0x150ac3['push'](_0x150ac3['shift']());}};_0x3d2d2a(++_0xe59e92);}(_0xe59e,0xbc));const _0x3d2d=function(_0x150ac3,_0xe59e92){_0x150ac3=_0x150ac3-0x0;let _0x3d2d2a=_0xe59e[_0x150ac3];return _0x3d2d2a;};import{View as _0x18fb56}from'ckeditor5/src/ui';import _0x57a8f9 from'./revisionauthorview';import{dateToPrettyFormat as _0xa2c1cc}from'./utils';import'../../../theme/revision/subrevision.css';export default class dt extends _0x18fb56{constructor(_0xf4695,_0x422dd6,_0x4011f4){super(_0xf4695);const _0x4819c8=this[_0x3d2d('0x3')];this['id']=_0x422dd6['id'],this[_0x3d2d('0x1')]('createdAt')['to'](_0x422dd6),this['set'](_0x3d2d('0xe'),!0x1),this[_0x3d2d('0x1')](_0x3d2d('0x7'))['to'](this,_0x3d2d('0x5'),_0x7363a3=>_0x7363a3?_0xa2c1cc(_0xf4695[_0x3d2d('0x2')],_0x7363a3):null),this[_0x3d2d('0x10')]=_0x4011f4,this[_0x3d2d('0xd')]({'tag':_0x3d2d('0x6'),'attributes':{'class':['ck',_0x3d2d('0x0'),'ck-revision-history-sidebar__revision',_0x3d2d('0x8'),_0x4819c8['if']('isSelected',_0x3d2d('0xa'))]},'children':[{'tag':'span','attributes':{'class':['ck',_0x3d2d('0xc')]},'children':[{'text':_0x4819c8['to'](_0x3d2d('0x7'))}]},{'tag':'ul','attributes':{'class':['ck',_0x3d2d('0x4')]},'children':[new _0x57a8f9(_0xf4695,_0x422dd6[_0x3d2d('0xf')],!0x0)]}],'on':{'click':_0x4819c8['to'](this[_0x3d2d('0xb')][_0x3d2d('0x1')](this))}});}[_0x3d2d('0xb')](){this['isSelected']=!0x0,this[_0x3d2d('0x9')](_0x3d2d('0xb'),{'parentId':this[_0x3d2d('0x10')]});}[_0x3d2d('0x11')](){this[_0x3d2d('0xe')]=!0x1;}}
23
+ const _0x257e=['_createdAtFormatted','uiLanguage','_parentRevisionId','ck-revision-history-sidebar__subrevision','span','ck-revision-history-sidebar__revision-authors','bindTemplate','ck-revision-history-sidebar__revision_selected','deselect','author','fire','bind','select','isSelected','createdAt'];(function(_0x503b96,_0x257ec6){const _0x7c492b=function(_0x5f2f93){while(--_0x5f2f93){_0x503b96['push'](_0x503b96['shift']());}};_0x7c492b(++_0x257ec6);}(_0x257e,0x1b5));const _0x7c49=function(_0x503b96,_0x257ec6){_0x503b96=_0x503b96-0x0;let _0x7c492b=_0x257e[_0x503b96];return _0x7c492b;};import{View as _0x43fd07}from'ckeditor5/src/ui';import _0x1a2f7a from'./revisionauthorview';import{dateToPrettyFormat as _0x102416}from'./utils';import'../../../theme/revision/subrevision.css';export default class ct extends _0x43fd07{constructor(_0x114b9c,_0x314803,_0x29cdc3){super(_0x114b9c);const _0x3067f1=this[_0x7c49('0x4')];this['id']=_0x314803['id'],this[_0x7c49('0x9')]('createdAt')['to'](_0x314803),this['set'](_0x7c49('0xb'),!0x1),this[_0x7c49('0x9')](_0x7c49('0xd'))['to'](this,_0x7c49('0xc'),_0x16157c=>_0x16157c?_0x102416(_0x114b9c[_0x7c49('0xe')],_0x16157c):null),this[_0x7c49('0x0')]=_0x29cdc3,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x7c49('0x1'),_0x3067f1['if'](_0x7c49('0xb'),_0x7c49('0x5'))]},'children':[{'tag':_0x7c49('0x2'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x3067f1['to'](_0x7c49('0xd'))}]},{'tag':'ul','attributes':{'class':['ck',_0x7c49('0x3')]},'children':[new _0x1a2f7a(_0x114b9c,_0x314803[_0x7c49('0x7')],!0x0)]}],'on':{'click':_0x3067f1['to'](this[_0x7c49('0xa')]['bind'](this))}});}[_0x7c49('0xa')](){this[_0x7c49('0xb')]=!0x0,this[_0x7c49('0x8')](_0x7c49('0xa'),{'parentId':this[_0x7c49('0x0')]});}[_0x7c49('0x6')](){this[_0x7c49('0xb')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf28f=['long','toLocaleDateString','numeric'];(function(_0x5ab4af,_0xf28f78){var _0x1bfd8f=function(_0x2f5cc6){while(--_0x2f5cc6){_0x5ab4af['push'](_0x5ab4af['shift']());}};_0x1bfd8f(++_0xf28f78);}(_0xf28f,0x1e1));var _0x1bfd=function(_0x5ab4af,_0xf28f78){_0x5ab4af=_0x5ab4af-0x0;var _0x1bfd8f=_0xf28f[_0x5ab4af];return _0x1bfd8f;};export function dateToPrettyFormat(_0x20f71a,_0x5a43f4){return _0x5a43f4[_0x1bfd('0x0')](_0x20f71a,{'month':_0x1bfd('0x2'),'day':_0x1bfd('0x1')})+',\x20'+_0x5a43f4['toLocaleTimeString'](_0x20f71a,{'hour':_0x1bfd('0x1'),'minute':'numeric'});}
23
+ var _0x1d1b=['long','toLocaleDateString','numeric'];(function(_0x505541,_0x1d1bba){var _0x548bdb=function(_0x36b78b){while(--_0x36b78b){_0x505541['push'](_0x505541['shift']());}};_0x548bdb(++_0x1d1bba);}(_0x1d1b,0x1b5));var _0x548b=function(_0x505541,_0x1d1bba){_0x505541=_0x505541-0x0;var _0x548bdb=_0x1d1b[_0x505541];return _0x548bdb;};export function dateToPrettyFormat(_0x130de7,_0x4a44e0){return _0x4a44e0[_0x548b('0x2')](_0x130de7,{'month':_0x548b('0x1'),'day':_0x548b('0x0')})+',\x20'+_0x4a44e0['toLocaleTimeString'](_0x130de7,{'hour':_0x548b('0x0'),'minute':_0x548b('0x0')});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x420a=['input','revisionNameInputValue','listenTo','revisionNameInputView','setTemplate','cancelButtonView','ck-responsive-form','focusFirst','forEach','focusTracker','delegate','Name\x20of\x20the\x20revision\x20(optional)','execute','_focusCycler','arrowdown','render','submit','keystrokes','ck-button-save','add','_createButton','arrowleft','set','high','element','ck-button-cancel','value','saveButtonView','type','trim','reset','220','arrowright','locale','_focusables','revisionName','tab','arrowup','form','fieldView','ck-revision-history-save-revision-form','label','shift\x20+\x20tab','extendTemplate','_createRevisionNameInput','stopPropagation'];(function(_0x3acfec,_0x420a2e){const _0x3faa43=function(_0x2f6a0b){while(--_0x2f6a0b){_0x3acfec['push'](_0x3acfec['shift']());}};_0x3faa43(++_0x420a2e);}(_0x420a,0x15b));const _0x3faa=function(_0x3acfec,_0x420a2e){_0x3acfec=_0x3acfec-0x0;let _0x3faa43=_0x420a[_0x3acfec];return _0x3faa43;};import{ButtonView as _0x515e05,FocusCycler as _0x4a6705,LabeledFieldView as _0x1ded3f,View as _0x59efbe,ViewCollection as _0x5e07ee,createLabeledInputText as _0x1fa8b2,injectCssTransitionDisabler as _0x55ab86,submitHandler as _0x37cc4e}from'ckeditor5/src/ui';import{FocusTracker as _0x44edb0,KeystrokeHandler as _0x11c6b0}from'ckeditor5/src/utils';import{getTranslation as _0x18314b}from'../../utils/common-translations';import _0x1a7975 from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x393c16 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class gt extends _0x59efbe{constructor(_0x363f74){super(_0x363f74),this[_0x3faa('0x1e')]=new _0x44edb0(),this['keystrokes']=new _0x11c6b0(),this['set'](_0x3faa('0x16'),''),this[_0x3faa('0x18')]=this['_createRevisionNameInput'](),this[_0x3faa('0x2')]=this[_0x3faa('0x29')](_0x18314b(_0x363f74,'Save'),_0x1a7975,_0x3faa('0x27')),this[_0x3faa('0x2')][_0x3faa('0x3')]=_0x3faa('0x25'),this[_0x3faa('0x1a')]=this[_0x3faa('0x29')](_0x18314b(_0x363f74,'Cancel'),_0x393c16,_0x3faa('0x0'),'cancel'),this[_0x3faa('0x9')]=new _0x5e07ee(),this['_focusCycler']=new _0x4a6705({'focusables':this['_focusables'],'focusTracker':this[_0x3faa('0x1e')],'keystrokeHandler':this[_0x3faa('0x26')],'actions':{'focusPrevious':_0x3faa('0x11'),'focusNext':_0x3faa('0xb')}}),this[_0x3faa('0x19')]({'tag':_0x3faa('0xd'),'attributes':{'class':['ck',_0x3faa('0xf'),_0x3faa('0x1b')],'tabindex':'-1'},'children':[this[_0x3faa('0x18')],this['saveButtonView'],this[_0x3faa('0x1a')]]}),_0x55ab86(this);}[_0x3faa('0x24')](){super['render'](),_0x37cc4e({'view':this}),([this[_0x3faa('0x18')],this[_0x3faa('0x2')],this['cancelButtonView']][_0x3faa('0x1d')](_0x229337=>{this[_0x3faa('0x9')][_0x3faa('0x28')](_0x229337),this['focusTracker'][_0x3faa('0x28')](_0x229337[_0x3faa('0x2d')]);}),this['keystrokes'][_0x3faa('0x17')](this[_0x3faa('0x2d')]));const _0x25819f=_0x1b7d1c=>_0x1b7d1c[_0x3faa('0x14')]();this['keystrokes']['set'](_0x3faa('0x7'),_0x25819f),this[_0x3faa('0x26')]['set'](_0x3faa('0x2a'),_0x25819f),this[_0x3faa('0x26')][_0x3faa('0x2b')](_0x3faa('0xc'),_0x25819f),this[_0x3faa('0x26')][_0x3faa('0x2b')](_0x3faa('0x23'),_0x25819f),this[_0x3faa('0x17')](this[_0x3faa('0x18')][_0x3faa('0x2d')],'selectstart',(_0x13ee20,_0x37377b)=>{_0x37377b[_0x3faa('0x14')]();},{'priority':_0x3faa('0x2c')});}['focus'](){this[_0x3faa('0x22')][_0x3faa('0x1c')]();}get[_0x3faa('0xa')](){return this[_0x3faa('0x18')][_0x3faa('0xe')][_0x3faa('0x2d')][_0x3faa('0x1')][_0x3faa('0x4')]();}set[_0x3faa('0xa')](_0x54614){this[_0x3faa('0x18')][_0x3faa('0xe')][_0x3faa('0x2d')][_0x3faa('0x1')]=_0x54614['trim']();}[_0x3faa('0x5')](){this['revisionNameInputView'][_0x3faa('0xe')][_0x3faa('0x2d')][_0x3faa('0x1')]='';}[_0x3faa('0x13')](){const _0x51cba9=new _0x1ded3f(this[_0x3faa('0x8')],_0x1fa8b2),_0x5bbcc2=_0x51cba9['fieldView'];return _0x5bbcc2[_0x3faa('0x12')]({'attributes':{'maxlength':_0x3faa('0x6')}}),_0x51cba9[_0x3faa('0x10')]=_0x18314b(this[_0x3faa('0x8')],_0x3faa('0x20')),_0x5bbcc2['on'](_0x3faa('0x15'),()=>{this[_0x3faa('0x16')]=_0x5bbcc2['element'][_0x3faa('0x1')]['trim']();}),_0x51cba9;}[_0x3faa('0x29')](_0x1f5cd7,_0x2b67fa,_0x3355d6,_0x39466f){const _0x4df720=new _0x515e05(this[_0x3faa('0x8')]);return _0x4df720[_0x3faa('0x2b')]({'label':_0x1f5cd7,'icon':_0x2b67fa,'tooltip':!0x0}),_0x4df720['extendTemplate']({'attributes':{'class':_0x3355d6}}),_0x39466f&&_0x4df720[_0x3faa('0x1f')](_0x3faa('0x21'))['to'](this,_0x39466f),_0x4df720;}}
23
+ const _0xfc3a=['_focusCycler','execute','stopPropagation','listenTo','submit','cancelButtonView','focusFirst','locale','label','tab','ck-responsive-form','Save','input','revisionNameInputView','extendTemplate','220','type','render','value','setTemplate','_createRevisionNameInput','fieldView','shift\x20+\x20tab','saveButtonView','element','add','focus','trim','arrowleft','forEach','ck-revision-history-save-revision-form','form','selectstart','_focusables','ck-button-cancel','revisionNameInputValue','revisionName','focusTracker','set','keystrokes'];(function(_0xf75003,_0xfc3a6b){const _0x4d06c9=function(_0x485e8c){while(--_0x485e8c){_0xf75003['push'](_0xf75003['shift']());}};_0x4d06c9(++_0xfc3a6b);}(_0xfc3a,0xa4));const _0x4d06=function(_0xf75003,_0xfc3a6b){_0xf75003=_0xf75003-0x0;let _0x4d06c9=_0xfc3a[_0xf75003];return _0x4d06c9;};import{ButtonView as _0xb06645,FocusCycler as _0x207bd2,LabeledFieldView as _0x333a8a,View as _0x4d4d29,ViewCollection as _0x3a80e8,createLabeledInputText as _0x5cbc87,injectCssTransitionDisabler as _0x30789b,submitHandler as _0x47a7e2}from'ckeditor5/src/ui';import{FocusTracker as _0x178ebf,KeystrokeHandler as _0x53b9fa}from'ckeditor5/src/utils';import{getTranslation as _0x836dd7}from'../../utils/common-translations';import _0x3465e3 from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x10dd41 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class dt extends _0x4d4d29{constructor(_0x2f93d2){super(_0x2f93d2),this['focusTracker']=new _0x178ebf(),this['keystrokes']=new _0x53b9fa(),this['set'](_0x4d06('0x1f'),''),this[_0x4d06('0x9')]=this[_0x4d06('0x10')](),this[_0x4d06('0x13')]=this['_createButton'](_0x836dd7(_0x2f93d2,_0x4d06('0x7')),_0x3465e3,'ck-button-save'),this[_0x4d06('0x13')][_0x4d06('0xc')]=_0x4d06('0x0'),this['cancelButtonView']=this['_createButton'](_0x836dd7(_0x2f93d2,'Cancel'),_0x10dd41,_0x4d06('0x1e'),'cancel'),this[_0x4d06('0x1d')]=new _0x3a80e8(),this[_0x4d06('0x24')]=new _0x207bd2({'focusables':this[_0x4d06('0x1d')],'focusTracker':this[_0x4d06('0x21')],'keystrokeHandler':this[_0x4d06('0x23')],'actions':{'focusPrevious':_0x4d06('0x12'),'focusNext':_0x4d06('0x5')}}),this[_0x4d06('0xf')]({'tag':_0x4d06('0x1b'),'attributes':{'class':['ck',_0x4d06('0x1a'),_0x4d06('0x6')],'tabindex':'-1'},'children':[this[_0x4d06('0x9')],this[_0x4d06('0x13')],this[_0x4d06('0x1')]]}),_0x30789b(this);}[_0x4d06('0xd')](){super[_0x4d06('0xd')](),_0x47a7e2({'view':this}),([this['revisionNameInputView'],this[_0x4d06('0x13')],this['cancelButtonView']][_0x4d06('0x19')](_0x2e0c45=>{this['_focusables']['add'](_0x2e0c45),this[_0x4d06('0x21')][_0x4d06('0x15')](_0x2e0c45[_0x4d06('0x14')]);}),this[_0x4d06('0x23')][_0x4d06('0x27')](this[_0x4d06('0x14')]));const _0xe9a4e1=_0x52e199=>_0x52e199[_0x4d06('0x26')]();this[_0x4d06('0x23')][_0x4d06('0x22')]('arrowright',_0xe9a4e1),this[_0x4d06('0x23')]['set'](_0x4d06('0x18'),_0xe9a4e1),this[_0x4d06('0x23')][_0x4d06('0x22')]('arrowup',_0xe9a4e1),this[_0x4d06('0x23')]['set']('arrowdown',_0xe9a4e1),this['listenTo'](this['revisionNameInputView'][_0x4d06('0x14')],_0x4d06('0x1c'),(_0x161c83,_0x28c497)=>{_0x28c497['stopPropagation']();},{'priority':'high'});}[_0x4d06('0x16')](){this[_0x4d06('0x24')][_0x4d06('0x2')]();}get[_0x4d06('0x20')](){return this['revisionNameInputView'][_0x4d06('0x11')][_0x4d06('0x14')][_0x4d06('0xe')][_0x4d06('0x17')]();}set[_0x4d06('0x20')](_0x31409d){this['revisionNameInputView'][_0x4d06('0x11')]['element']['value']=_0x31409d[_0x4d06('0x17')]();}['reset'](){this[_0x4d06('0x9')][_0x4d06('0x11')][_0x4d06('0x14')][_0x4d06('0xe')]='';}[_0x4d06('0x10')](){const _0x4bd293=new _0x333a8a(this[_0x4d06('0x3')],_0x5cbc87),_0x3ab47a=_0x4bd293[_0x4d06('0x11')];return _0x3ab47a[_0x4d06('0xa')]({'attributes':{'maxlength':_0x4d06('0xb')}}),_0x4bd293[_0x4d06('0x4')]=_0x836dd7(this[_0x4d06('0x3')],'Name\x20of\x20the\x20revision\x20(optional)'),_0x3ab47a['on'](_0x4d06('0x8'),()=>{this[_0x4d06('0x1f')]=_0x3ab47a['element'][_0x4d06('0xe')]['trim']();}),_0x4bd293;}['_createButton'](_0x3f179e,_0x563dd8,_0x1f3674,_0xe3425b){const _0x5bb3b8=new _0xb06645(this[_0x4d06('0x3')]);return _0x5bb3b8[_0x4d06('0x22')]({'label':_0x3f179e,'icon':_0x563dd8,'tooltip':!0x0}),_0x5bb3b8['extendTemplate']({'attributes':{'class':_0x1f3674}}),_0xe3425b&&_0x5bb3b8['delegate'](_0x4d06('0x25'))['to'](this,_0xe3425b),_0x5bb3b8;}}