@ckeditor/ckeditor5-revision-history 41.1.0 → 41.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/build/revision-history.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/bs.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de-ch.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/en-gb.js +1 -1
  16. package/build/translations/es-co.js +1 -1
  17. package/build/translations/es.js +1 -1
  18. package/build/translations/et.js +1 -1
  19. package/build/translations/fa.js +1 -1
  20. package/build/translations/fi.js +1 -1
  21. package/build/translations/fr.js +1 -1
  22. package/build/translations/gl.js +1 -1
  23. package/build/translations/he.js +1 -1
  24. package/build/translations/hi.js +1 -1
  25. package/build/translations/hr.js +1 -1
  26. package/build/translations/hu.js +1 -1
  27. package/build/translations/id.js +1 -1
  28. package/build/translations/it.js +1 -1
  29. package/build/translations/ja.js +1 -1
  30. package/build/translations/jv.js +1 -1
  31. package/build/translations/ko.js +1 -1
  32. package/build/translations/ku.js +1 -1
  33. package/build/translations/lt.js +1 -1
  34. package/build/translations/lv.js +1 -1
  35. package/build/translations/ms.js +1 -1
  36. package/build/translations/ne.js +1 -1
  37. package/build/translations/nl.js +1 -1
  38. package/build/translations/no.js +1 -1
  39. package/build/translations/pl.js +1 -1
  40. package/build/translations/pt-br.js +1 -1
  41. package/build/translations/pt.js +1 -1
  42. package/build/translations/ro.js +1 -1
  43. package/build/translations/ru.js +1 -1
  44. package/build/translations/sk.js +1 -1
  45. package/build/translations/sr-latn.js +1 -1
  46. package/build/translations/sr.js +1 -1
  47. package/build/translations/sv.js +1 -1
  48. package/build/translations/th.js +1 -1
  49. package/build/translations/tk.js +1 -1
  50. package/build/translations/tr.js +1 -1
  51. package/build/translations/tt.js +1 -1
  52. package/build/translations/ug.js +1 -1
  53. package/build/translations/uk.js +1 -1
  54. package/build/translations/ur.js +1 -1
  55. package/build/translations/vi.js +1 -1
  56. package/build/translations/zh-cn.js +1 -1
  57. package/build/translations/zh.js +1 -1
  58. package/lang/contexts.json +5 -2
  59. package/lang/translations/af.po +13 -1
  60. package/lang/translations/ar.po +14 -2
  61. package/lang/translations/az.po +13 -1
  62. package/lang/translations/bg.po +14 -2
  63. package/lang/translations/bn.po +14 -2
  64. package/lang/translations/bs.po +13 -1
  65. package/lang/translations/ca.po +14 -2
  66. package/lang/translations/cs.po +14 -2
  67. package/lang/translations/da.po +14 -2
  68. package/lang/translations/de-ch.po +13 -1
  69. package/lang/translations/de.po +14 -2
  70. package/lang/translations/el.po +14 -2
  71. package/lang/translations/en-au.po +14 -2
  72. package/lang/translations/en-gb.po +13 -1
  73. package/lang/translations/en.po +14 -2
  74. package/lang/translations/es-co.po +13 -1
  75. package/lang/translations/es.po +14 -2
  76. package/lang/translations/et.po +14 -2
  77. package/lang/translations/fa.po +13 -1
  78. package/lang/translations/fi.po +14 -2
  79. package/lang/translations/fr.po +14 -2
  80. package/lang/translations/gl.po +14 -2
  81. package/lang/translations/he.po +15 -4
  82. package/lang/translations/hi.po +14 -2
  83. package/lang/translations/hr.po +14 -2
  84. package/lang/translations/hu.po +14 -2
  85. package/lang/translations/id.po +14 -2
  86. package/lang/translations/it.po +14 -2
  87. package/lang/translations/ja.po +14 -2
  88. package/lang/translations/jv.po +13 -1
  89. package/lang/translations/ko.po +14 -2
  90. package/lang/translations/ku.po +13 -1
  91. package/lang/translations/lt.po +14 -2
  92. package/lang/translations/lv.po +14 -2
  93. package/lang/translations/ms.po +14 -2
  94. package/lang/translations/ne.po +13 -1
  95. package/lang/translations/nl.po +14 -2
  96. package/lang/translations/no.po +14 -2
  97. package/lang/translations/pl.po +14 -2
  98. package/lang/translations/pt-br.po +14 -2
  99. package/lang/translations/pt.po +17 -5
  100. package/lang/translations/ro.po +14 -2
  101. package/lang/translations/ru.po +14 -2
  102. package/lang/translations/sk.po +14 -2
  103. package/lang/translations/sr-latn.po +14 -2
  104. package/lang/translations/sr.po +14 -2
  105. package/lang/translations/sv.po +14 -2
  106. package/lang/translations/th.po +14 -2
  107. package/lang/translations/tk.po +13 -1
  108. package/lang/translations/tr.po +14 -2
  109. package/lang/translations/tt.po +13 -1
  110. package/lang/translations/ug.po +13 -1
  111. package/lang/translations/uk.po +14 -2
  112. package/lang/translations/ur.po +13 -1
  113. package/lang/translations/vi.po +14 -2
  114. package/lang/translations/zh-cn.po +14 -2
  115. package/lang/translations/zh.po +14 -2
  116. package/package.json +5 -5
  117. package/src/changeitem.js +1 -1
  118. package/src/editor/revisionviewereditor.d.ts +1 -1
  119. package/src/editor/revisionviewereditor.js +1 -1
  120. package/src/editor/revisionviewereditorui.js +1 -1
  121. package/src/editor/revisionviewereditoruiview.js +1 -1
  122. package/src/index.js +1 -1
  123. package/src/revision.js +1 -1
  124. package/src/revisiondiff.js +1 -1
  125. package/src/revisionhistory.js +1 -1
  126. package/src/revisionhistoryconfig.d.ts +11 -0
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.d.ts +4 -0
  129. package/src/revisiontracker.js +1 -1
  130. package/src/revisionviewer.js +1 -1
  131. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  132. package/src/ui/revision/revisionauthorview.js +1 -1
  133. package/src/ui/revision/revisionnameview.js +1 -1
  134. package/src/ui/revision/revisionview.d.ts +1 -1
  135. package/src/ui/revision/revisionview.js +1 -1
  136. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  137. package/src/ui/revision/subrevisionview.js +1 -1
  138. package/src/ui/revision/utils.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
  140. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  141. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  144. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
  145. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  146. package/src/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
  147. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  148. package/src/ui/revisionssidebar/utils.js +1 -1
  149. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  150. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  151. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  152. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  153. package/src/utils/common-translations.js +1 -1
  154. package/theme/revision/revisionname.css +1 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4721=['ck-suggestion-marker--active','vid_start','processor','RevisionViewer','consumable','clear','next','isEqual','indexOf','detachRoot','_removeUnsupportedChanges','softBreak','getDomRoot','_makeTape','add','insert','deletions','endIndex','revision:','mapViewToDom','filter','toViewPosition','isObject','getRevision','isRemoveSuggestion','uiElement','reconvertMarker','parse','_cleanMarkers','from','span','restoreRevisionCallback','change:isReady','addRevisionData','side','requires','_markMarkers','removeAttribute','isEnabled','showPreviousChange','upcast','abs','attributes','split','then','isBlock','nextPosition','roots','backward','ck-revision-history-root-add','_getDiff','observeMarkers','newRevisionId','addRoot','object','modelRange','getRootNames','left','low','_makeModelFromTape','isAtStart','createUIElement','includes','bindElementToMarker','selection','_data','view','hasAttribute','ck-suggestion-marker-','editingDowncast','change:activeChange','writer','delete','maxOffset','changeId','pluginName','getRevisionData','_joinTapes','distance','isOnRoot','_changeIdToChange','setAttribute','revision-suggestion','markerToData','string','merge','top','_update','findIndex','affectsData','all','hasClass','values','suggestion:','markersStart','ck-revision-history-root-remove','_setDistance','map','vid_end','ck-suggestion-preview-marker-','WidgetToolbarRepository','_appendChild','ck-suggestion-marker','previousPosition','rootName','removeMarker','domEvent','elementToAttribute','target','_findChangeIdFromDomTarget','name','unbindElementFromMarkerName','mousedown','markersEnd','activeChange','has','loadRevisionData','toViewRange','slice','restoreRevision','nodeAfter','isAttached','getRoot','_activeViewTarget','push','for','level','numberOfChanges','addMarker:revision-suggestion:insertion','done','createPositionFromPath','revision','forEach','flat','remove','range','diffData','document','bind','_threeWayMerge','isRemoved','type','getAttributes','element:pre','suggestion','addMarker:revision-suggestion:deletion','isIncorrect','_makeModelFromViewString','nextSibling','change','removeClass','start','_removeRevisionMarkers','dataToMarker','useFillerType','pairId','attributesBefore','_setChanges','test','_processTape','markerName','_getViewForChange','pop','revisionHistoryAttachChange','children','_getChangeFromId','removeMarker:revision','isBefore','checkAttribute','markerRange','item','revisionHistory','revisionHistoryLabel','authors','_markMismatchedRemovedTags','_setConversion','get','_getRevisionsRange','-new','isAfter','downcastDispatcher','_removeMissingPairs','showStack','createPositionBefore','_balloon','addHighlight','mouseover','isSuggestion','ck-revision-history-root--active','isCollapsed','text','shift','createRange','RevisionsRepository','highest','domConverter','set','default','startIndex','parent','createRangeIn','vid','listenTo','editing','isAddSuggestion','data-revision-','_markInsertions','startsWith','element','_fixObsoleteTags','marked','collaboration.channelId','addClass','isAdded','destroy','init','return','isContent','diff','attribute:vid','getCustomProperty','model','insertion','enqueueChange','schema','isReady','isLimit','end','getChild','bottom','_getViewObj','sort','dataDowncast','data','insertions','repository','commands','elementStart','forward','revision-comment:','_refreshStartEndIndex','deletion','change:numberOfChanges','ck-suggestion-preview-marker','markers','concat','forceDisabled','config','mapper','getIndex','oldRevisionId','splice','_revisions','viewItem','getClientRects','high','data-change-id','code','plugins','_changeView','userId','currentChangeNumber','getItems','elementEnd','length','changes','isNavigationMode','index','editor','getAttribute','adapter','isAtEnd','revision-viewer','attachChange','_sortAndFilterDiffChanges','error','wrap','first','keys','consume','conversion','activeView','addMarker:revision','ck-suggestion-marker-merge','attributesAfter','revision-start','_step','execute','unshift','refresh','_cleanUp','markerNameToElements','_markSuggestions'];(function(_0x1b113f,_0x472192){const _0x4cf838=function(_0x4ef7a8){while(--_0x4ef7a8){_0x1b113f['push'](_0x1b113f['shift']());}};_0x4cf838(++_0x472192);}(_0x4721,0xd5));const _0x4cf8=function(_0x1b113f,_0x472192){_0x1b113f=_0x1b113f-0x0;let _0x4cf838=_0x4721[_0x1b113f];return _0x4cf838;};import{Plugin as _0x412f9b,Command as _0xa16986}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2854f3}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x584bb6}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x3623bf,Element as _0x17a58f,Text as _0x2414ad,ViewDocumentFragment as _0x18b51e,ViewText as _0x1ca823,ViewElement as _0x4fef01,ViewContainerElement as _0x1f853b,ViewAttributeElement as _0x1c222d,ViewEmptyElement as _0x23b961,ViewRawElement as _0x1e4a18,ViewUIElement as _0x56bfdd}from'ckeditor5/src/engine.js';import{Users as _0x15ed7f,getMarkerDomElement as _0x37d445}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x890e6f from'./ui/revisionviewer/changedetailsview.js';import _0x3d73ef from'./revisionsrepository.js';import _0x156bbb from'./changeitem.js';import{default as _0x54d503}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x5b0552}from'lodash-es';const tt={'c':_0x1f853b,'a':_0x1c222d,'e':_0x23b961,'r':_0x1e4a18,'u':_0x56bfdd};export default class d extends _0x412f9b{static get[_0x4cf8('0x9b')](){return _0x4cf8('0x53');}static get[_0x4cf8('0x73')](){return[_0x15ed7f,_0x584bb6,_0x3d73ef];}constructor(_0x16e739){super(_0x16e739),this[_0x4cf8('0x16')]=this[_0x4cf8('0x37')][_0x4cf8('0x2d')][_0x4cf8('0x100')](_0x4cf8('0x111')),this[_0x4cf8('0x114')](_0x4cf8('0xc2'),null),this['set'](_0x4cf8('0x44'),null),this['_activeViewTarget']=null,this['set']('diff',null),this['set'](_0x4cf8('0xc'),!0x1),this['set'](_0x4cf8('0x76'),!0x0),this['on']('change:isEnabled',(_0x2f693d,_0x5350f7,_0x4945a2)=>{this[_0x4cf8('0xc2')]=null,this['activeView']=null,this['editor']['editing'][_0x4cf8('0x92')]['change'](_0x57cf28=>{for(const _0x578f8e of this[_0x4cf8('0x37')][_0x4cf8('0x11b')][_0x4cf8('0x92')][_0x4cf8('0xd9')][_0x4cf8('0x7f')])_0x4945a2?_0x57cf28[_0x4cf8('0xe6')]('ck-editor__editable__overlay',_0x578f8e):_0x57cf28[_0x4cf8('0x124')]('ck-editor__editable__overlay',_0x578f8e);});}),this['bind'](_0x4cf8('0x35'))['to'](this,_0x4cf8('0xc2'),_0x3efff8=>null!==_0x3efff8),this[_0x4cf8('0xda')](_0x4cf8('0x30'))['to'](this,_0x4cf8('0xc'),this,_0x4cf8('0x5'),this,_0x4cf8('0xc2'),(_0x2e67c4,_0x48185e,_0x4fbeba)=>_0x2e67c4&&_0x4fbeba?_0x48185e[_0x4cf8('0x34')]['getIndex'](_0x4fbeba):0x0),this[_0x4cf8('0xda')](_0x4cf8('0xcf'))['to'](this,_0x4cf8('0xc'),this,_0x4cf8('0x5'),(_0x490ccf,_0x3de20e)=>_0x490ccf?_0x3de20e[_0x4cf8('0x34')]['length']:0x0),this[_0x4cf8('0x2e')]=null,this['_changeIdToChange']=new Map(),this[_0x4cf8('0x39')]=null,this[_0x4cf8('0x108')]=this[_0x4cf8('0x37')][_0x4cf8('0x2d')][_0x4cf8('0x100')](_0x584bb6);}[_0x4cf8('0x2')](){const _0x5d87eb=this[_0x4cf8('0x37')],_0x55370f=new ShowChangeCommand(_0x5d87eb,{'direction':_0x4cf8('0x80')}),_0x407e05=new ShowChangeCommand(_0x5d87eb,{'direction':_0x4cf8('0x19')});(_0x5d87eb[_0x4cf8('0x17')][_0x4cf8('0x5e')](_0x4cf8('0x77'),_0x55370f),_0x5d87eb[_0x4cf8('0x17')]['add']('showNextChange',_0x407e05),_0x5d87eb[_0x4cf8('0x17')][_0x4cf8('0x5e')](_0x4cf8('0xc7'),new RestoreRevisionCommand(_0x5d87eb)),this['on'](_0x4cf8('0x1d'),()=>{_0x55370f[_0x4cf8('0x4c')](),_0x407e05[_0x4cf8('0x4c')]();}),this[_0x4cf8('0xff')](),this['_initInteractions'](),_0x5d87eb['enableReadOnlyMode']('revision-viewer'),_0x5d87eb['plugins']['has'](_0x4cf8('0xb4')))&&_0x5d87eb[_0x4cf8('0x2d')][_0x4cf8('0x100')](_0x4cf8('0xb4'))[_0x4cf8('0x21')](_0x4cf8('0x3b'));}async[_0x4cf8('0x9c')](_0x596f47){await this[_0x4cf8('0xc4')](_0x596f47);const _0x1387f4={};for(const _0x3c6439 in _0x596f47[_0x4cf8('0xd8')]){if(_0x596f47['diffData'][_0x3c6439][_0x4cf8('0x3c')]&&!_0x596f47[_0x4cf8('0xd8')][_0x3c6439][_0x4cf8('0x3c')][_0x4cf8('0xc9')])continue;const _0x4a0203=this['_removeRevisionMarkers'](JSON[_0x4cf8('0x6b')](_0x596f47[_0x4cf8('0xd8')][_0x3c6439][_0x4cf8('0x15')])),_0x166757=this['editor'][_0x4cf8('0x11b')][_0x4cf8('0x92')][_0x4cf8('0xd9')],_0xac2419=new _0x18b51e(_0x166757,_0x4a0203[_0x4cf8('0xb1')](_0x339fed=>this[_0x4cf8('0x11')](_0x339fed)));this[_0x4cf8('0x37')][_0x4cf8('0x14')][_0x4cf8('0x52')][_0x4cf8('0xea')](_0x4cf8('0x122')),_0x1387f4[_0x3c6439]=this['editor'][_0x4cf8('0x14')][_0x4cf8('0x52')]['toData'](_0xac2419),this['editor']['data']['processor']['useFillerType'](_0x4cf8('0x115'));}return _0x1387f4;}async['getRevisionRootsAttributes'](_0x3acc45){await this['loadRevisionData'](_0x3acc45);const _0x153019={};for(const _0x15801c in _0x3acc45['diffData'])_0x3acc45[_0x4cf8('0xd8')][_0x15801c][_0x4cf8('0x3c')]&&!_0x3acc45[_0x4cf8('0xd8')][_0x15801c][_0x4cf8('0x3c')]['isAttached']||(_0x153019[_0x15801c]=_0x3acc45[_0x4cf8('0xd8')][_0x15801c][_0x4cf8('0x47')]||{});return _0x153019;}[_0x4cf8('0xe8')](_0x436978){return(_0x436978=_0x436978['filter'](_0x309201=>!_0x309201[_0x4cf8('0xbe')]||_0x4cf8('0x48')!==_0x309201[_0x4cf8('0xbe')]&&'revision-end'!==_0x309201[_0x4cf8('0xbe')]))[_0x4cf8('0xd4')](_0x5ec7b4=>{'string'!=typeof _0x5ec7b4&&(_0x5ec7b4[_0x4cf8('0xf4')]=this[_0x4cf8('0xe8')](_0x5ec7b4[_0x4cf8('0xf4')]),_0x5ec7b4[_0x4cf8('0x7a')]=_0x5ec7b4['attributes'][_0x4cf8('0x64')](_0x27e462=>!_0x27e462[0x0][_0x4cf8('0x11f')](_0x4cf8('0x11d'))));}),_0x436978;}async['compare'](_0x49b8df,_0x45b16a,_0x31eaef=!0x1){if(!this['isEnabled'])return;const _0x344681=this[_0x4cf8('0x5')],_0x1522c9=this[_0x4cf8('0x16')],_0x1dd3df=_0x4cf8('0xa4')==typeof _0x49b8df?_0x1522c9[_0x4cf8('0x67')](_0x49b8df):_0x49b8df,_0x8065dc=_0x4cf8('0xa4')==typeof _0x45b16a?_0x1522c9[_0x4cf8('0x67')](_0x45b16a):_0x45b16a,_0x203388=_0x1dd3df['id'],_0x4324b0=_0x8065dc?_0x8065dc['id']:null;if(!_0x31eaef&&this[_0x4cf8('0x5')]&&this[_0x4cf8('0x5')][_0x4cf8('0x84')]===_0x203388&&this[_0x4cf8('0x5')][_0x4cf8('0x25')]===_0x4324b0)return Promise['resolve']();this[_0x4cf8('0xc')]=!0x1,this[_0x4cf8('0x44')]=null,this[_0x4cf8('0xc2')]=null,this[_0x4cf8('0x5')]=new _0x54d503(_0x203388,_0x4324b0);const _0x25075d=this['_getRevisionsRange'](_0x1dd3df,_0x8065dc,!0x0)[_0x4cf8('0xb1')](_0x5c2e84=>this[_0x4cf8('0xc4')](_0x5c2e84));return _0x25075d[_0x4cf8('0xcc')](new Promise(_0x23d3e4=>{setTimeout(_0x23d3e4,0x14);})),Promise[_0x4cf8('0xaa')](_0x25075d)[_0x4cf8('0x7c')](()=>{if(!this[_0x4cf8('0x76')])return;this['_cleanUp']();const _0x4340df=this[_0x4cf8('0x82')](_0x203388,_0x4324b0);for(const _0x3ee630 of _0x4340df['changes'])this[_0x4cf8('0xa0')][_0x4cf8('0x114')](_0x3ee630['id'],_0x3ee630);this[_0x4cf8('0x37')]['model'][_0x4cf8('0xa')]({'isUndoable':!0x1},_0x5c5d50=>{for(const _0x168c32 of this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0xd9')][_0x4cf8('0x88')]())_0x5c5d50[_0x4cf8('0x59')](_0x168c32);for(const _0x5edea9 of Object[_0x4cf8('0x41')](_0x4340df[_0x4cf8('0x8')])){const _0x18737f=_0x5c5d50[_0x4cf8('0x85')](_0x5edea9);for(const _0x40e0fb of Object[_0x4cf8('0x41')](_0x4340df[_0x4cf8('0x7a')][_0x5edea9]))_0x5c5d50[_0x4cf8('0xa1')](_0x40e0fb,_0x4340df[_0x4cf8('0x7a')][_0x5edea9][_0x40e0fb],_0x18737f);_0x5c5d50[_0x4cf8('0x5f')](_0x4340df[_0x4cf8('0x8')][_0x5edea9],_0x18737f,0x0);}}),this[_0x4cf8('0x5')][_0x4cf8('0xed')](this[_0x4cf8('0x3d')](_0x4340df['changes'])),this['isReady']=!0x0;})['catch'](_0x590c00=>{console[_0x4cf8('0x3e')](_0x590c00),this[_0x4cf8('0x4d')](),_0x344681&&(this[_0x4cf8('0x5')]=_0x344681),this[_0x4cf8('0xc')]=!0x0;});}[_0x4cf8('0x71')](_0x50ccf2,_0x3cfd6d){const _0x229f6e=this[_0x4cf8('0x16')]['createRevision'](_0x50ccf2);return _0x229f6e['on'](_0x4cf8('0xa7'),(_0x594dc3,_0x1e57c9,_0x200986)=>_0x3cfd6d(_0x1e57c9,_0x200986,_0x229f6e)),this[_0x4cf8('0x16')]['addRevision'](_0x229f6e),_0x229f6e;}[_0x4cf8('0xc4')](_0x5e96b2){if(!_0x5e96b2||_0x5e96b2[_0x4cf8('0xd8')])return Promise['resolve']();{const _0x3db1ba=this[_0x4cf8('0x37')][_0x4cf8('0x22')][_0x4cf8('0x100')](_0x4cf8('0x123'));return this[_0x4cf8('0x39')][_0x4cf8('0x67')]({'channelId':_0x3db1ba,'revisionId':_0x5e96b2['id']})['then'](_0x12e19b=>{_0x5e96b2[_0x4cf8('0xa7')]({'diffData':_0x12e19b[_0x4cf8('0xd8')]},!0x0);});}}[_0x4cf8('0x4d')](){this[_0x4cf8('0xc2')]=null,this[_0x4cf8('0x6c')](),this[_0x4cf8('0x2e')]&&this[_0x4cf8('0x2e')][_0x4cf8('0x1')](),this['_changeView']=null,this[_0x4cf8('0xa0')][_0x4cf8('0x55')](),this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0xa')]({'isUndoable':!0x1},_0x40ea44=>{for(const _0x5ce774 of this[_0x4cf8('0x37')][_0x4cf8('0x8')]['document'][_0x4cf8('0x88')]())_0x40ea44[_0x4cf8('0x59')](_0x5ce774);});}[_0x4cf8('0x3d')](_0x3fc5f6){const _0x2b6b7f=[],_0x58ebc7=new Map();for(const _0x37592d of this[_0x4cf8('0x37')]['model'][_0x4cf8('0xd9')][_0x4cf8('0x88')]()){const _0x4064af=this['editor']['editing']['view'][_0x4cf8('0x5c')](_0x37592d);if(!_0x4064af)continue;const _0x4648b7=_0x4064af[_0x4cf8('0x29')]()[_0x4cf8('0xfa')](0x0);_0x4648b7&&(_0x2b6b7f['push'](_0x37592d),_0x58ebc7['set'](_0x37592d,_0x4648b7));}return _0x2b6b7f[_0x4cf8('0x12')]((_0x21524f,_0x23ba71)=>{const _0x316c36=_0x58ebc7[_0x4cf8('0x100')](_0x21524f),_0xe510b9=_0x58ebc7[_0x4cf8('0x100')](_0x23ba71);return _0x316c36['y']-_0xe510b9['y']||_0x316c36['x']-_0xe510b9['x'];}),(_0x3fc5f6=_0x3fc5f6[_0x4cf8('0x64')](_0x108453=>_0x2b6b7f['includes'](_0x108453['rootName'])))[_0x4cf8('0x12')]((_0x40ce58,_0x12c714)=>_0x2b6b7f[_0x4cf8('0x58')](_0x40ce58[_0x4cf8('0xb8')])-_0x2b6b7f[_0x4cf8('0x58')](_0x12c714[_0x4cf8('0xb8')])),_0x3fc5f6;}[_0x4cf8('0x5d')](_0x2062dc){const _0x50e3f6=Array[_0x4cf8('0x6d')](_0x2062dc[_0x4cf8('0x1f')])[_0x4cf8('0x64')](([_0x1480b1,_0x32f259])=>_0x1480b1[_0x4cf8('0x11f')](_0x4cf8('0x62'))&&!_0x32f259['isCollapsed']),_0x3f4660=Array[_0x4cf8('0x6d')](this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0x118')](_0x2062dc)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x50e3f6[_0x4cf8('0x33')])for(const _0x3d8170 of _0x3f4660){const [_0x49ec28,_0x52eae0]=_0x50e3f6[0x0],[,_0x528e97,_0x5887cc]=_0x49ec28[_0x4cf8('0x7b')](':');if(_0x52eae0['end'][_0x4cf8('0x57')](_0x3d8170[_0x4cf8('0x7e')])&&_0x50e3f6[_0x4cf8('0x10f')](),(_0x3d8170[_0x4cf8('0xb7')][_0x4cf8('0x57')](_0x52eae0[_0x4cf8('0xe7')])||_0x3d8170['previousPosition']['isAfter'](_0x52eae0[_0x4cf8('0xe7')]))&&(_0x4cf8('0x9')==_0x528e97?_0x3d8170[_0x4cf8('0x0')]={'userId':_0x5887cc}:_0x4cf8('0x1c')==_0x528e97&&(_0x3d8170[_0x4cf8('0xdc')]={'userId':_0x5887cc})),0x0==_0x50e3f6[_0x4cf8('0x33')])break;}return _0x3f4660;}[_0x4cf8('0x1b')](_0x1b2ca9){const _0xed6b2b=new Map();for(let _0x5b2f12=0x0;_0x5b2f12<_0x1b2ca9[_0x4cf8('0x33')];_0x5b2f12++)_0x4cf8('0x10e')===_0x1b2ca9[_0x5b2f12]['type']?(_0x1b2ca9[_0x5b2f12][_0x4cf8('0xfa')][_0x4cf8('0x116')]=_0x5b2f12,_0x1b2ca9[_0x5b2f12][_0x4cf8('0xfa')][_0x4cf8('0x61')]=_0x5b2f12):(_0x4cf8('0x18')===_0x1b2ca9[_0x5b2f12][_0x4cf8('0xdd')]?_0x1b2ca9[_0x5b2f12][_0x4cf8('0xfa')]['startIndex']=_0x5b2f12:_0x4cf8('0x32')===_0x1b2ca9[_0x5b2f12]['type']&&(_0x1b2ca9[_0x5b2f12][_0x4cf8('0xfa')][_0x4cf8('0x61')]=_0x5b2f12),_0xed6b2b[_0x4cf8('0x114')](_0x1b2ca9[_0x5b2f12]['id'],_0x5b2f12));for(const _0x4690a2 of _0xed6b2b[_0x4cf8('0xac')]())'elementStart'===_0x1b2ca9[_0x4690a2][_0x4cf8('0xdd')]?_0x1b2ca9[_0x4690a2][_0x4cf8('0xfa')][_0x4cf8('0x61')]=_0xed6b2b[_0x4cf8('0x100')](_0x1b2ca9[_0x4690a2][_0x4cf8('0xeb')]):_0x4cf8('0x32')===_0x1b2ca9[_0x4690a2][_0x4cf8('0xdd')]&&(_0x1b2ca9[_0x4690a2]['item'][_0x4cf8('0x116')]=_0xed6b2b[_0x4cf8('0x100')](_0x1b2ca9[_0x4690a2]['pairId']));}[_0x4cf8('0xef')](_0xa4a3ce){for(let _0x38a321=0x0;_0x38a321<_0xa4a3ce[_0x4cf8('0x33')];_0x38a321++){if('elementStart'===_0xa4a3ce[_0x38a321][_0x4cf8('0xdd')])_0xa4a3ce[_0x38a321][_0x4cf8('0xfa')][_0x4cf8('0x116')]=_0x38a321;else{if(_0x4cf8('0x32')===_0xa4a3ce[_0x38a321][_0x4cf8('0xdd')]){_0xa4a3ce[_0x38a321]['item']['endIndex']=_0x38a321;const _0x15ba1c=_0xa4a3ce[_0x38a321][_0x4cf8('0xfa')][_0x4cf8('0x116')];_0xa4a3ce[_0x15ba1c]['pairId']=_0xa4a3ce[_0x38a321]['id'],_0xa4a3ce[_0x38a321][_0x4cf8('0xeb')]=_0xa4a3ce[_0x15ba1c]['id'];}else _0xa4a3ce[_0x38a321][_0x4cf8('0xfa')][_0x4cf8('0x116')]=_0x38a321,_0xa4a3ce[_0x38a321][_0x4cf8('0xfa')]['endIndex']=_0x38a321,_0xa4a3ce[_0x38a321][_0x4cf8('0xeb')]=null;}_0xa4a3ce[_0x38a321]['markersStart']||(_0xa4a3ce[_0x38a321]['markersStart']=[],_0xa4a3ce[_0x38a321][_0x4cf8('0xc1')]=[]);}}['_markInsertions'](_0x1feb51,_0x583a09){const _0x561668=_0x1feb51['filter'](_0x16621f=>!_0x16621f['isAdded']);for(let _0x6b7cf1=0x0;_0x6b7cf1<_0x583a09[_0x4cf8('0x33')];_0x6b7cf1++)_0x583a09[_0x6b7cf1]['isAdded']&&(_0x561668[_0x6b7cf1][_0x4cf8('0x0')]=_0x583a09[_0x6b7cf1][_0x4cf8('0x0')]);}['_makeModelFromViewString'](_0xcf89dc){const _0x207157=JSON['parse'](_0xcf89dc),_0x11459a=this[_0x4cf8('0x37')][_0x4cf8('0x11b')][_0x4cf8('0x92')]['document'],_0x169d04=new _0x18b51e(_0x11459a,_0x207157[_0x4cf8('0xb1')](_0x310f32=>this[_0x4cf8('0x11')](_0x310f32)));return this[_0x4cf8('0x37')][_0x4cf8('0x14')]['toModel'](_0x169d04);}['_getViewObj'](_0x17752b){const _0x6d595f=this[_0x4cf8('0x37')][_0x4cf8('0x11b')]['view'][_0x4cf8('0xd9')];if(_0x4cf8('0xa4')==typeof _0x17752b)return new _0x1ca823(_0x6d595f,_0x17752b);{const _0x4aafb0=_0x17752b[_0x4cf8('0xf4')]['map'](_0x42442=>this[_0x4cf8('0x11')](_0x42442));return new(tt[_0x17752b['type']]||_0x4fef01)(_0x6d595f,_0x17752b[_0x4cf8('0xbe')],_0x17752b['attributes'],_0x4aafb0);}}[_0x4cf8('0x82')](_0x23a0a3,_0x201e35=null){const _0x16cba5=this[_0x4cf8('0x16')][_0x4cf8('0x67')](_0x23a0a3),_0x1e281d=_0x201e35?this[_0x4cf8('0x16')][_0x4cf8('0x67')](_0x201e35):null,_0x33c7fe=this[_0x4cf8('0x101')](_0x16cba5,_0x1e281d),_0x29eb22=_0x33c7fe[_0x33c7fe[_0x4cf8('0x33')]-0x1],_0x46b209=new Map(),_0x5d689a={'model':{},'attributes':{},'changes':[]},_0x41707f=new Set(),_0x45f463=new Map();for(let _0x2bf28c=_0x33c7fe[_0x4cf8('0x33')]-0x1;_0x2bf28c>=0x0;_0x2bf28c--){const _0x11f935=_0x33c7fe[_0x2bf28c];for(const _0x78fdfe of Object['keys'](_0x11f935['diffData']))if(_0x11f935[_0x4cf8('0xd8')][_0x78fdfe]['attachChange']){const _0xc70e7f=_0x11f935[_0x4cf8('0xd8')][_0x78fdfe][_0x4cf8('0x3c')];_0xc70e7f[_0x4cf8('0xc9')]?(_0x41707f['add'](_0x78fdfe),_0x45f463[_0x4cf8('0xc3')](_0x78fdfe)&&_0x45f463[_0x4cf8('0x100')](_0x78fdfe)[_0x4cf8('0x2f')]==_0xc70e7f[_0x4cf8('0x2f')]?_0x45f463['delete'](_0x78fdfe):_0x45f463[_0x4cf8('0x114')](_0x78fdfe,_0xc70e7f)):_0x45f463[_0x4cf8('0xc3')](_0x78fdfe)?(_0x41707f[_0x4cf8('0x98')](_0x78fdfe),_0x45f463[_0x4cf8('0x98')](_0x78fdfe)):(_0x41707f[_0x4cf8('0x5e')](_0x78fdfe),_0x45f463[_0x4cf8('0x114')](_0x78fdfe,_0xc70e7f));}else _0x41707f[_0x4cf8('0x5e')](_0x78fdfe);}for(const _0x46b1d5 of _0x41707f){const _0x11946e=_0x45f463[_0x4cf8('0xc3')](_0x46b1d5)&&!_0x45f463[_0x4cf8('0x100')](_0x46b1d5)['isAttached'];let _0x5cb060=_0x11946e?_0x33c7fe['length']-0x1:0x0;const _0x361ac8=_0x11946e?-0x1:0x1;for(;_0x33c7fe[_0x5cb060];){const _0x587b70=_0x33c7fe[_0x5cb060];if(_0x587b70[_0x4cf8('0xd8')][_0x46b1d5]){const _0x13e7c8=_0x11946e?_0x587b70[_0x4cf8('0xd8')][_0x46b1d5][_0x4cf8('0xec')]:_0x587b70[_0x4cf8('0xd8')][_0x46b1d5][_0x4cf8('0x47')];_0x5d689a['attributes'][_0x46b1d5]=_0x13e7c8?_0x5b0552(_0x13e7c8):{};break;}_0x5cb060+=_0x361ac8;}}for(const _0x5901ff of _0x33c7fe){_0x5901ff['model']={};for(const _0x2ddb62 of _0x5901ff[_0x4cf8('0xfd')])_0x46b209['set'](_0x2ddb62['id'],_0x2ddb62);for(const _0x44707b of _0x41707f){const _0x404b6c=_0x5901ff[_0x4cf8('0xd8')][_0x44707b]?_0x5901ff['diffData'][_0x44707b][_0x4cf8('0x15')]:'[]',_0x44381c=_0x5901ff[_0x4cf8('0xd8')][_0x44707b]?_0x5901ff['diffData'][_0x44707b][_0x4cf8('0x60')]:'[]';_0x5901ff[_0x4cf8('0x8')][_0x44707b]={'insertions':this['_makeModelFromViewString'](_0x404b6c),'deletions':this[_0x4cf8('0xe3')](_0x44381c)};}}for(const _0xf5c89a of _0x41707f){let _0x567e8e=null,_0x2f457a=0x0;const _0x539a19=new Map(Array['from'](_0x16cba5[_0x4cf8('0x8')][_0xf5c89a][_0x4cf8('0x15')][_0x4cf8('0x1f')])['filter'](([_0x14a665])=>!_0x14a665[_0x4cf8('0x11f')](_0x4cf8('0x62'))));let _0x2555d3=0x0;for(const _0x10b334 of _0x33c7fe){const _0x4b42bc=this[_0x4cf8('0x5d')](_0x10b334[_0x4cf8('0x8')][_0xf5c89a][_0x4cf8('0x15')]);_0x10b334==_0x16cba5?(_0x567e8e=_0x4b42bc,_0x2f457a=_0x567e8e[_0x4cf8('0x33')],_0x567e8e[_0x4cf8('0xd4')](_0x16fd6a=>{_0x16fd6a['id']=_0x2555d3++;}),this[_0x4cf8('0xef')](_0x567e8e)):this[_0x4cf8('0x11e')](_0x567e8e,_0x4b42bc);const _0x184c88=_0x567e8e[_0x4cf8('0x64')](_0x554c7a=>!_0x554c7a[_0x4cf8('0x0')])[_0x4cf8('0xb1')](_0x280189=>_0x280189['id']);let _0x3b9902=0x0;const _0x3f54d4=this[_0x4cf8('0x5d')](_0x10b334[_0x4cf8('0x8')][_0xf5c89a][_0x4cf8('0x60')]);_0x3f54d4['forEach'](_0x3425e5=>{_0x3425e5[_0x4cf8('0xdc')]?_0x3425e5['id']=_0x2f457a++:_0x3425e5['id']=_0x184c88[_0x3b9902++];}),this[_0x4cf8('0xef')](_0x3f54d4),this[_0x4cf8('0xb0')](_0x567e8e,_0x4cf8('0x0')),this[_0x4cf8('0xb0')](_0x3f54d4,_0x4cf8('0xdc')),_0x10b334==_0x16cba5&&this[_0x4cf8('0x74')](_0x567e8e,_0x539a19),_0x567e8e=this[_0x4cf8('0x9d')](_0x567e8e,_0x3f54d4),this['_refreshStartEndIndex'](_0x567e8e),this[_0x4cf8('0xb0')](_0x567e8e,_0x4cf8('0xdc'));}_0x567e8e=_0x567e8e['filter'](_0x46ac22=>!(_0x46ac22['isAdded']&&_0x46ac22[_0x4cf8('0xdc')]));const _0x2a4627=new Map(_0x29eb22[_0x4cf8('0x8')][_0xf5c89a][_0x4cf8('0x60')][_0x4cf8('0x1f')]),_0x282723=new Set(_0x539a19[_0x4cf8('0x41')]());for(const _0x38436c of _0x2a4627[_0x4cf8('0x41')]())_0x282723[_0x4cf8('0x98')](_0x38436c);this[_0x4cf8('0x4f')](_0x567e8e,_0x282723),this[_0x4cf8('0x121')](_0x567e8e),_0x567e8e=this[_0x4cf8('0x105')](_0x567e8e),_0x567e8e=this['_markMismatchedRemovedTags'](_0x567e8e),_0x567e8e=this[_0x4cf8('0x5a')](_0x567e8e);const {root:_0x58159a,changes:_0x112fd6}=this[_0x4cf8('0x8b')](_0x567e8e,_0x46b209,_0xf5c89a);_0x5d689a[_0x4cf8('0x8')][_0xf5c89a]=_0x58159a;const _0x37e958=_0x45f463[_0x4cf8('0x100')](_0xf5c89a);if(_0x37e958){const _0x2c9f81=_0x46b209[_0x4cf8('0x100')](_0x37e958[_0x4cf8('0x2f')]),_0x9b4dc5=new _0x156bbb({'author':_0x2c9f81,'type':_0x37e958['isAttached']?_0x4cf8('0x5e'):_0x4cf8('0xd6'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xf5c89a});_0x112fd6[_0x4cf8('0x4b')](_0x9b4dc5),_0x5d689a[_0x4cf8('0x7a')][_0xf5c89a][_0x4cf8('0xf3')]=_0x9b4dc5['id'];}_0x5d689a[_0x4cf8('0x34')]=_0x5d689a[_0x4cf8('0x34')]['concat'](_0x112fd6);}return _0x5d689a;}[_0x4cf8('0x74')](_0x4520a3,_0x23bd65){for(let _0xad5913=0x0;_0xad5913<_0x4520a3['length'];_0xad5913++)for(const [_0x57386c,_0x54a533]of _0x23bd65)_0x54a533[_0x4cf8('0xe7')][_0x4cf8('0x57')](_0x4520a3[_0xad5913][_0x4cf8('0xb7')])&&_0x4520a3[_0xad5913]['markersStart'][_0x4cf8('0xcc')](_0x57386c),_0x54a533[_0x4cf8('0xe')][_0x4cf8('0x57')](_0x4520a3[_0xad5913][_0x4cf8('0x7e')])&&_0x4520a3[_0xad5913]['markersEnd'][_0x4cf8('0xcc')](_0x57386c);}[_0x4cf8('0x9d')](_0x481d65,_0x32c25f){let _0x4e3547=[],_0x56b9a4=0x0,_0x1d0952=0x0;for(;_0x56b9a4<_0x481d65[_0x4cf8('0x33')]||_0x1d0952<_0x32c25f[_0x4cf8('0x33')];){const _0x428bc2=_0x481d65[_0x56b9a4]||{},_0xf4d87=_0x32c25f[_0x1d0952]||{};if(_0x428bc2['id']==_0xf4d87['id'])_0x56b9a4++,_0x1d0952++,_0x4e3547['push'](_0x428bc2);else{if(_0xf4d87[_0x4cf8('0xdc')]&&_0x428bc2[_0x4cf8('0x0')]){const {commonTape:_0x3bec7e,iEnd:_0x83f5ad,jEnd:_0x933013}=this['_threeWayMerge'](_0x481d65,_0x56b9a4,_0x32c25f,_0x1d0952);_0x4e3547=_0x4e3547['concat'](_0x3bec7e),_0x56b9a4=_0x83f5ad,_0x1d0952=_0x933013;}else _0xf4d87[_0x4cf8('0xdc')]?(_0x1d0952++,_0x4e3547[_0x4cf8('0xcc')](_0xf4d87)):(_0x56b9a4++,_0x4e3547[_0x4cf8('0xcc')](_0x428bc2));}}return _0x4e3547;}[_0x4cf8('0x4f')](_0x3aeab5,_0xf9321e){const _0x4b7f70=[];for(let _0x5e6935=0x0;_0x5e6935<_0x3aeab5[_0x4cf8('0x33')];_0x5e6935++){for(let _0x337979=0x0;_0x337979<_0x3aeab5[_0x5e6935][_0x4cf8('0xae')]['length'];_0x337979++){const _0x4a28b7=_0x3aeab5[_0x5e6935][_0x4cf8('0xae')][_0x337979];if(!_0xf9321e[_0x4cf8('0xc3')](_0x4a28b7))continue;const {group:_0x449048,type:_0x356f83,authorId:_0x4efd25}=_0x37cd42(_0x4a28b7);'revision-suggestion'!=_0x449048||'insertion'!=_0x356f83&&_0x4cf8('0x1c')!=_0x356f83||(_0x4b7f70[_0x4cf8('0x4b')]({'type':_0x356f83,'name':_0x4a28b7,'userId':_0x4efd25}),_0x3aeab5[_0x5e6935][_0x4cf8('0xae')][_0x4cf8('0x26')](_0x337979,0x1),_0x337979--);}_0x5f37cb(_0x3aeab5[_0x5e6935]);for(let _0x303c14=0x0;_0x303c14<_0x3aeab5[_0x5e6935][_0x4cf8('0xc1')][_0x4cf8('0x33')];_0x303c14++){const _0x248f5e=_0x3aeab5[_0x5e6935][_0x4cf8('0xc1')][_0x303c14];if(!_0xf9321e[_0x4cf8('0xc3')](_0x248f5e))continue;const {group:_0x10cc91,type:_0x244d01}=_0x37cd42(_0x248f5e);if(_0x4cf8('0xa2')!=_0x10cc91||'insertion'!=_0x244d01&&_0x4cf8('0x1c')!=_0x244d01)continue;_0x3aeab5[_0x5e6935][_0x4cf8('0xc1')][_0x4cf8('0x26')](_0x303c14,0x1),_0x303c14--;const _0x46b2d7=_0x4b7f70[_0x4cf8('0xa8')](_0x57e469=>_0x57e469[_0x4cf8('0xbe')]==_0x248f5e);_0x46b2d7>-0x1&&_0x4b7f70[_0x4cf8('0x26')](_0x46b2d7,0x1);}}function _0x37cd42(_0xa63051){const _0x5579d4=_0xa63051[_0x4cf8('0x7b')](':');return{'group':_0x5579d4[0x0],'type':_0x5579d4[0x1],'subType':_0x5579d4['length']>=0x5?_0x5579d4[0x2]:null,'id':_0x5579d4['length']<0x5?_0x5579d4[0x2]:_0x5579d4[0x3],'authorId':_0x5579d4[_0x4cf8('0x33')]<0x5?_0x5579d4[0x3]:_0x5579d4[0x4],'markerCount':0x6==_0x5579d4[_0x4cf8('0x33')]?_0x5579d4[0x5]:null};}function _0x5f37cb(_0xe81570){for(let _0x488f2e=0x0;_0x488f2e<_0x4b7f70[_0x4cf8('0x33')];_0x488f2e++){if(_0xe81570[_0x4cf8('0x0')]&&_0x4cf8('0x9')==_0x4b7f70[_0x488f2e]['type'])return _0xe81570['isAddSuggestion']=_0x4b7f70[_0x488f2e],void delete _0xe81570[_0x4cf8('0x0')];if(!_0xe81570[_0x4cf8('0x0')]&&!_0xe81570[_0x4cf8('0xdc')]&&_0x4cf8('0x1c')==_0x4b7f70[_0x488f2e][_0x4cf8('0xdd')])return void(_0xe81570[_0x4cf8('0x68')]=_0x4b7f70[_0x488f2e]);}}}[_0x4cf8('0xb0')](_0x16885d,_0xed8d3f){let _0x46ddd4=0x0,_0x2dea33=!0x1;const _0x4b494a=new Map();for(const _0x30e3a3 of _0x16885d)_0x30e3a3[_0xed8d3f]?_0x2dea33&&(_0x46ddd4++,_0x2dea33=!0x1):(_0x46ddd4++,_0x2dea33=!0x0),_0x4b494a[_0x4cf8('0x114')](_0x30e3a3['id'],_0x46ddd4);for(let _0x20941c=0x0;_0x20941c<_0x16885d[_0x4cf8('0x33')];_0x20941c++){if(_0x4cf8('0xdc')==_0xed8d3f&&_0x16885d[_0x20941c][_0x4cf8('0x0')]||'isAdded'==_0xed8d3f&&_0x16885d[_0x20941c][_0x4cf8('0xdc')])continue;if(_0x4cf8('0x10e')==_0x16885d[_0x20941c][_0x4cf8('0xdd')]){_0x16885d[_0x20941c][_0x4cf8('0x9e')]=0x0;continue;}const _0x5526e5=_0x4b494a[_0x4cf8('0x100')](_0x16885d[_0x20941c][_0x4cf8('0xeb')]),_0xfa2c2b=_0x4b494a[_0x4cf8('0x100')](_0x16885d[_0x20941c]['id']);_0x16885d[_0x20941c][_0x4cf8('0x9e')]=_0x5526e5-_0xfa2c2b;}}[_0x4cf8('0x101')](_0x2268f8,_0x2b731b,_0x244d4d=!0x1){const _0x46788d=[];let _0xcc0c5e=this[_0x4cf8('0x16')][_0x4cf8('0x24')](_0x2268f8),_0x3411d7=this['repository'][_0x4cf8('0x24')](_0x2b731b);for(-0x1==_0x3411d7&&(_0x3411d7=this['repository'][_0x4cf8('0x27')][_0x4cf8('0x33')],_0x244d4d=!0x1);_0xcc0c5e<_0x3411d7;)_0x46788d[_0x4cf8('0xcc')](this['repository'][_0x4cf8('0x67')](_0xcc0c5e)),_0xcc0c5e++;return _0x244d4d&&_0x46788d['push'](this[_0x4cf8('0x16')][_0x4cf8('0x67')](_0xcc0c5e)),_0x46788d;}[_0x4cf8('0xdb')](_0x57d12a,_0x429b96,_0x5bc92a,_0x42865c){const _0x4910c6=this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0xb')];let _0x3058de=_0x429b96;for(;_0x57d12a[_0x3058de]&&_0x57d12a[_0x3058de][_0x4cf8('0x0')];)_0x3058de++;let _0x39c468=_0x42865c;for(;_0x5bc92a[_0x39c468]&&_0x5bc92a[_0x39c468][_0x4cf8('0xdc')];)_0x39c468++;_0x3ecec7(_0x57d12a,_0x429b96,_0x3058de),_0x3ecec7(_0x5bc92a,_0x42865c,_0x39c468);const _0x267348=_0x5bc92a[_0x4cf8('0xc6')](_0x42865c,_0x39c468)[_0x4cf8('0x20')](_0x57d12a['slice'](_0x429b96,_0x3058de));return _0x267348[_0x4cf8('0x12')]((_0x50cec6,_0x387a0d)=>_0x50cec6[_0x4cf8('0x72')]!=_0x387a0d[_0x4cf8('0x72')]?_0x50cec6[_0x4cf8('0x72')]-_0x387a0d[_0x4cf8('0x72')]:_0x50cec6['level']!=_0x387a0d[_0x4cf8('0xce')]?_0x50cec6[_0x4cf8('0xce')]-_0x387a0d['level']:_0x50cec6[_0x4cf8('0x9e')]!=_0x387a0d[_0x4cf8('0x9e')]?_0x387a0d[_0x4cf8('0x9e')]-_0x50cec6[_0x4cf8('0x9e')]:!!_0x50cec6['isAdded']!=!!_0x387a0d[_0x4cf8('0x0')]?-0x1==_0x50cec6[_0x4cf8('0x72')]||0x0==_0x50cec6[_0x4cf8('0x72')]?_0x50cec6[_0x4cf8('0x0')]?-0x1:0x1:_0x50cec6[_0x4cf8('0x0')]?0x1:-0x1:_0x50cec6[_0x4cf8('0x36')]-_0x387a0d[_0x4cf8('0x36')]),{'commonTape':_0x267348,'iEnd':_0x3058de,'jEnd':_0x39c468};function _0x3ecec7(_0x39beb1,_0x17f1c9,_0x3540df){let _0x1f45a9=-0x1,_0x30c4d5=Number['POSITIVE_INFINITY'],_0x199959=!0x0;for(let _0x5a877b=_0x17f1c9;_0x5a877b<_0x3540df;_0x5a877b++)if(_0x4910c6['isInline'](_0x39beb1[_0x5a877b]['item'])||(_0x199959=!0x1),_0x39beb1[_0x5a877b][_0x4cf8('0xfa')][_0x4cf8('0x116')]<_0x17f1c9&&(_0x1f45a9=_0x5a877b),_0x39beb1[_0x5a877b][_0x4cf8('0xfa')][_0x4cf8('0x61')]>=_0x3540df){_0x30c4d5=_0x5a877b;break;}_0x199959&&(_0x1f45a9=_0x3540df-0x1);for(let _0x119299=_0x17f1c9;_0x119299<_0x3540df;_0x119299++)_0x39beb1[_0x119299][_0x4cf8('0x72')]=_0x119299<=_0x1f45a9?-0x1:_0x119299<_0x30c4d5?0x0:0x1,_0x39beb1[_0x119299][_0x4cf8('0x36')]=_0x119299;let _0x300941=0x0;for(let _0x3c514d=_0x17f1c9;_0x3c514d<=_0x1f45a9;_0x3c514d++)0x0==_0x39beb1[_0x3c514d][_0x4cf8('0x9e')]?_0x39beb1[_0x3c514d][_0x4cf8('0xce')]=_0x300941:(_0x300941++,_0x39beb1[_0x3c514d][_0x4cf8('0xce')]=_0x300941,_0x300941++);for(let _0x518c91=_0x17f1c9;_0x518c91<_0x3540df;_0x518c91++)0x0==_0x39beb1[_0x518c91][_0x4cf8('0x72')]&&(_0x39beb1[_0x518c91][_0x4cf8('0xce')]=_0x300941);_0x300941=0x0;for(let _0x5c4688=_0x3540df-0x1;_0x5c4688>=_0x30c4d5;_0x5c4688--)0x0==_0x39beb1[_0x5c4688]['distance']?_0x39beb1[_0x5c4688][_0x4cf8('0xce')]=_0x300941:(_0x300941--,_0x39beb1[_0x5c4688][_0x4cf8('0xce')]=_0x300941,_0x300941--);}}[_0x4cf8('0x121')](_0x42172a){const _0xbf4792=new Map(),_0x29f9f9=this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0xb')];for(let _0x2ab4ee=0x1;_0x2ab4ee<_0x42172a[_0x4cf8('0x33')];_0x2ab4ee++){let _0x409129,_0x1a4a80,_0x22561c;const _0x36eb4d=_0x42172a[_0x2ab4ee],_0x3653f8=_0x42172a[_0x2ab4ee-0x1];if('text'==_0x36eb4d[_0x4cf8('0xdd')])continue;if(_0x36eb4d['type']!=_0x3653f8[_0x4cf8('0xdd')])continue;if(!_0x29f9f9[_0x4cf8('0x7d')](_0x3653f8[_0x4cf8('0xfa')])||_0x29f9f9[_0x4cf8('0xd')](_0x3653f8[_0x4cf8('0xfa')]))continue;if(!_0x29f9f9[_0x4cf8('0x7d')](_0x36eb4d[_0x4cf8('0xfa')])||_0x29f9f9['isLimit'](_0x36eb4d[_0x4cf8('0xfa')]))continue;if((_0x42172a[_0x2ab4ee][_0x4cf8('0x0')]||_0x42172a[_0x2ab4ee][_0x4cf8('0x11c')])&&_0x42172a[_0x2ab4ee-0x1][_0x4cf8('0xdc')])_0x409129=_0x42172a[_0x2ab4ee],_0x1a4a80=_0x42172a[_0x2ab4ee-0x1],_0x22561c=_0x2ab4ee-0x1;else{if(!_0x42172a[_0x2ab4ee]['isRemoved']||!_0x42172a[_0x2ab4ee-0x1][_0x4cf8('0x0')]&&!_0x42172a[_0x2ab4ee-0x1]['isAddSuggestion'])continue;_0x409129=_0x42172a[_0x2ab4ee-0x1],_0x1a4a80=_0x42172a[_0x2ab4ee],_0x22561c=_0x2ab4ee;}const _0x4411f6=_0x409129[_0x4cf8('0xce')]==_0x1a4a80[_0x4cf8('0xce')],_0x32367d=Math[_0x4cf8('0x79')](_0x409129[_0x4cf8('0xce')])<Math[_0x4cf8('0x79')](_0x1a4a80[_0x4cf8('0xce')])&&0x0==_0x1a4a80['distance'];(_0x4411f6||_0x32367d)&&(_0xbf4792[_0x4cf8('0x114')](_0x1a4a80['id'],_0x409129['id']),_0x42172a['splice'](_0x22561c,0x1),_0x2ab4ee--,_0x409129[_0x4cf8('0x0')]=!0x1);}for(let _0x2e42a0=0x0;_0x2e42a0<_0x42172a[_0x4cf8('0x33')];_0x2e42a0++)_0xbf4792[_0x4cf8('0xc3')](_0x42172a[_0x2e42a0]['pairId'])&&(_0x42172a[_0x2e42a0]['pairId']=_0xbf4792['get'](_0x42172a[_0x2e42a0]['pairId']));}[_0x4cf8('0x105')](_0x472359){const _0x5de780=new Set(_0x472359[_0x4cf8('0xb1')](_0x3e76fb=>_0x3e76fb['id']));for(let _0x4b5a1e=0x0;_0x4b5a1e<_0x472359['length'];_0x4b5a1e++)_0x5de780[_0x4cf8('0xc3')](_0x472359[_0x4b5a1e][_0x4cf8('0xeb')])||0x0==_0x472359[_0x4b5a1e][_0x4cf8('0x9e')]||(_0x472359[_0x4b5a1e][_0x4cf8('0xe2')]=!0x0);return _0x472359['filter'](_0x2124d4=>!_0x2124d4[_0x4cf8('0xe2')]);}[_0x4cf8('0xfe')](_0x2e8a9d){const _0x1ed9fb=new Set();for(let _0x51a76c=0x0;_0x51a76c<_0x2e8a9d[_0x4cf8('0x33')];_0x51a76c++){if(_0x1ed9fb[_0x4cf8('0xc3')](_0x2e8a9d[_0x51a76c]['id'])&&_0x2e8a9d[_0x51a76c][_0x4cf8('0xdc')]&&(_0x2e8a9d[_0x51a76c][_0x4cf8('0xe2')]=!0x0),_0x2e8a9d[_0x51a76c][_0x4cf8('0xe2')])continue;if(0x0==_0x2e8a9d[_0x51a76c][_0x4cf8('0x9e')])continue;if(_0x4cf8('0x18')!=_0x2e8a9d[_0x51a76c][_0x4cf8('0xdd')])continue;if(null==_0x2e8a9d[_0x51a76c]['pairId'])continue;let _0x2eed0a=_0x51a76c+0x1,_0x4e872b=0x0;for(;_0x2e8a9d[_0x2eed0a]['id']!=_0x2e8a9d[_0x51a76c][_0x4cf8('0xeb')];)_0x4cf8('0x18')==_0x2e8a9d[_0x2eed0a]['type']?_0x4e872b++:'elementEnd'==_0x2e8a9d[_0x2eed0a][_0x4cf8('0xdd')]&&_0x4e872b--,_0x2eed0a++;if(0x0!=_0x4e872b){if(_0x2e8a9d[_0x51a76c][_0x4cf8('0xdc')])_0x2e8a9d[_0x51a76c][_0x4cf8('0xe2')]=!0x0;else for(;_0x2eed0a!=_0x51a76c;)_0x2e8a9d[_0x2eed0a][_0x4cf8('0xdc')]&&0x0!=_0x2e8a9d[_0x2eed0a]['distance']&&(_0x2e8a9d[_0x2eed0a]['isIncorrect']=!0x0,_0x1ed9fb[_0x4cf8('0x5e')](_0x2e8a9d[_0x2eed0a]['pairId'])),_0x2eed0a--;}}return _0x2e8a9d[_0x4cf8('0x64')](_0x2b4d8a=>!_0x2b4d8a['isIncorrect']);}[_0x4cf8('0x5a')](_0x303000){const _0x103995=this[_0x4cf8('0x37')][_0x4cf8('0x8')]['schema'];for(let _0x1d886f=0x0;_0x1d886f<_0x303000[_0x4cf8('0x33')];_0x1d886f++){if(!(_0x303000[_0x1d886f]['isAdded']||_0x303000[_0x1d886f][_0x4cf8('0x11c')]||_0x303000[_0x1d886f][_0x4cf8('0xdc')]||_0x303000[_0x1d886f][_0x4cf8('0x68')]))continue;if(0x0==_0x303000[_0x1d886f][_0x4cf8('0x9e')])continue;const _0x493156=_0x303000[_0x1d886f][_0x4cf8('0xfa')];_0x103995[_0x4cf8('0x7d')](_0x493156)||_0x103995[_0x4cf8('0xd')](_0x493156)||(_0x303000[_0x1d886f]['isAdded']&&delete _0x303000[_0x1d886f]['isAdded'],_0x303000[_0x1d886f][_0x4cf8('0x11c')]&&delete _0x303000[_0x1d886f][_0x4cf8('0x11c')],_0x303000[_0x1d886f][_0x4cf8('0x68')]&&delete _0x303000[_0x1d886f][_0x4cf8('0x68')],_0x303000[_0x1d886f]['isRemoved']&&(_0x303000[_0x1d886f][_0x4cf8('0xe2')]=!0x0));}return _0x303000[_0x4cf8('0x64')](_0x3aca4f=>!_0x3aca4f[_0x4cf8('0xe2')]);}['_makeModelFromTape'](_0x479456,_0x51a22b,_0x5e6de5){const _0x5ef3c7=new _0x3623bf(),_0x38d76d=[],_0x5a5298=new Map(),_0x4ac243=this[_0x4cf8('0x37')][_0x4cf8('0x8')],_0x547579=_0x4ac243['schema'],_0x154345=[_0x5ef3c7],_0x304513={},_0x54fdf0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x39f7c7=null;const _0x34f219=[0x0];for(let _0x2413b7=0x0;_0x2413b7<_0x479456[_0x4cf8('0x33')];_0x2413b7++){let _0xa846dd,_0x11a8e4;if('elementStart'===_0x479456[_0x2413b7][_0x4cf8('0xdd')]){_0xa846dd=_0x4ac243[_0x4cf8('0xd2')](_0x5ef3c7,_0x34f219);const _0x2426b0=new _0x17a58f(_0x479456[_0x2413b7][_0x4cf8('0xfa')][_0x4cf8('0xbe')],_0x479456[_0x2413b7][_0x4cf8('0xfa')][_0x4cf8('0xde')]());_0x154345[0x0][_0x4cf8('0xb5')](_0x2426b0),_0x34f219[_0x4cf8('0xcc')](0x0),_0x154345['unshift'](_0x2426b0),_0x11a8e4=_0x4ac243[_0x4cf8('0xd2')](_0x5ef3c7,_0x34f219),_0x39f7c7=null;}else{if('elementEnd'===_0x479456[_0x2413b7][_0x4cf8('0xdd')])_0x154345[_0x4cf8('0x10f')](),_0xa846dd=_0x4ac243[_0x4cf8('0xd2')](_0x5ef3c7,_0x34f219),_0x34f219[_0x4cf8('0xf2')](),_0x34f219[_0x34f219[_0x4cf8('0x33')]-0x1]++,_0x11a8e4=_0x4ac243[_0x4cf8('0xd2')](_0x5ef3c7,_0x34f219),_0x39f7c7=null;else{if(_0xa846dd=_0x4ac243[_0x4cf8('0xd2')](_0x5ef3c7,_0x34f219),_0x39f7c7&&_0x23da90(_0x39f7c7,_0x479456[_0x2413b7][_0x4cf8('0xfa')]))_0x39f7c7[_0x4cf8('0x91')]+=_0x479456[_0x2413b7][_0x4cf8('0xfa')][_0x4cf8('0x14')];else{const _0x1c96f9=new _0x2414ad(_0x479456[_0x2413b7][_0x4cf8('0xfa')][_0x4cf8('0x14')],_0x479456[_0x2413b7][_0x4cf8('0xfa')][_0x4cf8('0xde')]());_0x154345[0x0][_0x4cf8('0xb5')](_0x1c96f9),_0x39f7c7=_0x1c96f9;}_0x34f219[_0x34f219[_0x4cf8('0x33')]-0x1]+=_0x479456[_0x2413b7][_0x4cf8('0xfa')]['offsetSize'],_0x11a8e4=_0x4ac243[_0x4cf8('0xd2')](_0x5ef3c7,_0x34f219);}}for(const _0x50d9bb of _0x479456[_0x2413b7]['markersStart'])_0x5a5298['set'](_0x50d9bb,{'start':_0xa846dd,'end':null});_0x3e8719('isRemoveSuggestion',_0x2413b7,_0xa846dd,_0x11a8e4),_0x3e8719(_0x4cf8('0x11c'),_0x2413b7,_0xa846dd,_0x11a8e4),_0x3e8719('isRemoved',_0x2413b7,_0xa846dd,_0x11a8e4),_0x3e8719(_0x4cf8('0x0'),_0x2413b7,_0xa846dd,_0x11a8e4);for(const _0x54ed5d of _0x479456[_0x2413b7][_0x4cf8('0xc1')]){_0x5a5298[_0x4cf8('0x100')](_0x54ed5d)['end']=_0x11a8e4;}}for(const [_0x4a1e8e,_0x34c767]of _0x5a5298){const _0x102b60=this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0x110')](_0x34c767[_0x4cf8('0xe7')],_0x34c767['end']);_0x5ef3c7['markers']['set'](_0x4a1e8e,_0x102b60);}return _0x38d76d['sort']((_0x33ab62,_0xe4b389)=>{const _0x45c502=_0x5ef3c7[_0x4cf8('0x1f')][_0x4cf8('0x100')](_0x4cf8('0x62')+_0x33ab62['id']),_0x6a9135=_0x5ef3c7[_0x4cf8('0x1f')][_0x4cf8('0x100')](_0x4cf8('0x62')+_0xe4b389['id']);return _0x45c502[_0x4cf8('0xe7')][_0x4cf8('0xf7')](_0x6a9135['start'])?-0x1:_0x45c502[_0x4cf8('0xe7')]['isAfter'](_0x6a9135[_0x4cf8('0xe7')])?0x1:_0x45c502[_0x4cf8('0xe')]['isBefore'](_0x6a9135['end'])?-0x1:_0x45c502['end'][_0x4cf8('0x103')](_0x6a9135[_0x4cf8('0xe')])?0x1:_0x4cf8('0x5e')===_0x33ab62[_0x4cf8('0xdd')]?-0x1:0x1;}),{'root':_0x5ef3c7,'changes':_0x38d76d};function _0x3e8719(_0x52e72e,_0x10ba57,_0x1fce01,_0x46d567){const _0x512ec8=!!_0x479456[_0x10ba57][_0x52e72e],_0x5255ce=_0x512ec8?_0x479456[_0x10ba57][_0x52e72e][_0x4cf8('0x2f')]:null,_0x376c84=_0x10ba57===_0x479456[_0x4cf8('0x33')]-0x1,_0x20a7c0=_0x54fdf0[_0x52e72e][0x0],_0x4ce46f=_0x547579[_0x4cf8('0x66')](_0x479456[_0x10ba57]['item']);!_0x304513[_0x52e72e]&&_0x512ec8?_0x304513[_0x52e72e]={'start':_0x1fce01,'tapeItem':_0x479456[_0x10ba57],'userId':_0x5255ce,'type':_0x52e72e}:_0x304513[_0x52e72e]&&!_0x512ec8?(_0x304513[_0x52e72e][_0x4cf8('0xe')]=_0x1fce01,_0x4af959(_0x304513[_0x52e72e]),_0x304513[_0x52e72e]=null):_0x304513[_0x52e72e]&&_0x512ec8&&_0x304513[_0x52e72e][_0x4cf8('0x2f')]!==_0x5255ce&&(_0x304513[_0x52e72e][_0x4cf8('0xe')]=_0x1fce01,_0x20a7c0&&_0x20a7c0[_0x4cf8('0x2f')]===_0x304513[_0x52e72e][_0x4cf8('0x2f')]||_0x4af959(_0x304513[_0x52e72e]),_0x304513[_0x52e72e]={'start':_0x1fce01,'tapeItem':_0x479456[_0x10ba57],'userId':_0x5255ce,'type':_0x52e72e}),_0x304513[_0x52e72e]&&_0x4ce46f&&(_0x4cf8('0x18')!==_0x479456[_0x10ba57]['type']||_0x20a7c0&&_0x20a7c0[_0x4cf8('0x2f')]===_0x5255ce||_0x54fdf0[_0x52e72e][_0x4cf8('0x4b')]({'userId':_0x5255ce,'object':_0x479456[_0x10ba57][_0x4cf8('0xfa')],'change':_0x304513[_0x52e72e]}),_0x4cf8('0x32')===_0x479456[_0x10ba57]['type']&&_0x20a7c0&&_0x20a7c0[_0x4cf8('0x86')]===_0x479456[_0x10ba57][_0x4cf8('0xfa')]&&(_0x54fdf0[_0x52e72e]['shift'](),_0x304513[_0x52e72e]=_0x20a7c0[_0x4cf8('0xe5')])),_0x304513[_0x52e72e]&&_0x376c84&&(_0x304513[_0x52e72e][_0x4cf8('0xe')]=_0x46d567,_0x4af959(_0x304513[_0x52e72e]),_0x304513[_0x52e72e]=null);}function _0x4af959({start:_0x3f9663,end:_0x1b25c9,tapeItem:_0x1d1ed0,userId:_0x499acb,type:_0x3a424e}){const _0x558dac=_0x1d1ed0[_0x4cf8('0xfa')],_0x415554=_0x4ac243[_0x4cf8('0xb')][_0x4cf8('0x7d')](_0x558dac)&&!_0x4ac243[_0x4cf8('0xb')][_0x4cf8('0xd')](_0x558dac),_0x359a42=_0x3f9663['nodeAfter']==_0x1b25c9['parent']&&_0x1b25c9[_0x4cf8('0x8c')];if(_0x415554&&_0x359a42)return;const _0x3d0706=_0x4ac243[_0x4cf8('0x110')](_0x3f9663,_0x1b25c9),_0x3f2fa0=_0x51a22b['get'](_0x499acb),_0xfed072=new _0x156bbb({'author':_0x3f2fa0,'type':_0x4cf8('0x0')==_0x3a424e||'isAddSuggestion'==_0x3a424e?_0x4cf8('0x5e'):'remove','data':{'isSuggestion':_0x4cf8('0x11c')==_0x3a424e||'isRemoveSuggestion'==_0x3a424e},'createdAt':new Date(),'rootName':_0x5e6de5});_0x38d76d['push'](_0xfed072),_0x5ef3c7['markers']['set'](_0x4cf8('0x62')+_0xfed072['id'],_0x3d0706);}function _0x23da90(_0x110d58,_0x1e8b75){const _0x259716=_0x110d58[_0x4cf8('0xde')](),_0x225bdb=_0x1e8b75['getAttributes']();for(const _0x456a5c of _0x259716){if(_0x456a5c[0x1]!==_0x1e8b75['getAttribute'](_0x456a5c[0x0]))return!0x1;_0x225bdb['next']();}return _0x225bdb[_0x4cf8('0x56')]()[_0x4cf8('0xd1')];}}['_setConversion'](){this['editor'][_0x4cf8('0x43')][_0x4cf8('0xcd')](_0x4cf8('0x78'))[_0x4cf8('0xe9')]({'view':'revision'}),this[_0x4cf8('0x37')][_0x4cf8('0x43')][_0x4cf8('0xcd')](_0x4cf8('0x95'))['markerToHighlight']({'model':_0x4cf8('0xd3'),'view':_0xf83747=>{const _0x52aa30=_0xf83747['markerName'][_0x4cf8('0x7b')](':')[0x1],_0x183ce2=this[_0x4cf8('0xf5')](_0x52aa30);if(!_0x183ce2)return null;const _0x4cfc79=_0x4cf8('0x5e')==_0x183ce2[_0x4cf8('0xdd')]?_0x4cf8('0x9'):_0x4cf8('0x1c'),_0x15efc3=[_0x4cf8('0xb6'),_0x4cf8('0x94')+_0x4cfc79];return _0x183ce2[_0x4cf8('0x14')][_0x4cf8('0x10b')]&&_0x15efc3[_0x4cf8('0xcc')](_0x4cf8('0x94')+_0x4cfc79+_0x4cf8('0x102')),this[_0x4cf8('0xc2')]==_0x183ce2&&_0x15efc3[_0x4cf8('0xcc')](_0x4cf8('0x50')),{'classes':_0x15efc3,'attributes':{'data-change-id':_0x52aa30}};}}),this[_0x4cf8('0x37')]['conversion'][_0x4cf8('0xcd')](_0x4cf8('0x78'))[_0x4cf8('0x5e')](_0x2cbd4d=>{_0x2cbd4d['on'](_0x4cf8('0xdf'),(_0x2a5459,_0xcbda55,_0x2731ce)=>{const _0xe54a30=_0xcbda55['viewItem'][_0x4cf8('0xf')](0x0);if(!_0xe54a30||!_0xe54a30['is'](_0x4cf8('0x120'),_0x4cf8('0x2c')))return;if(!_0x2731ce['consumable'][_0x4cf8('0x42')](_0xe54a30,{'attributes':[_0x4cf8('0x51'),_0x4cf8('0xb2')]}))return;const _0xe9f8aa=_0xcbda55[_0x4cf8('0x87')][_0x4cf8('0xe7')][_0x4cf8('0xc8')];_0x2731ce[_0x4cf8('0x97')][_0x4cf8('0xa1')](_0x4cf8('0x51'),_0xe54a30[_0x4cf8('0x38')](_0x4cf8('0x51')),_0xe9f8aa),_0x2731ce['writer']['setAttribute'](_0x4cf8('0xb2'),_0xe54a30[_0x4cf8('0x38')](_0x4cf8('0xb2')),_0xe9f8aa);},{'priority':_0x4cf8('0x8a')});}),this[_0x4cf8('0x37')]['conversion'][_0x4cf8('0xcd')]('upcast')[_0x4cf8('0x5e')](_0x39cb0c=>{_0x39cb0c['on'](_0x4cf8('0x120'),(_0x572f84,_0x259b20,_0x96415d)=>{if(!_0x96415d['consumable'][_0x4cf8('0x42')](_0x259b20[_0x4cf8('0x28')],{'attributes':[_0x4cf8('0x51'),'vid_end']}))return;if(_0x259b20[_0x4cf8('0x87')][_0x4cf8('0x10d')])return;const _0x28ae25=_0x259b20['modelRange'][_0x4cf8('0xe7')][_0x4cf8('0xc8')];_0x28ae25[_0x4cf8('0x93')](_0x4cf8('0x51'))||_0x28ae25[_0x4cf8('0x93')](_0x4cf8('0x119'))||(_0x96415d[_0x4cf8('0x97')][_0x4cf8('0xa1')](_0x4cf8('0x51'),_0x259b20['viewItem'][_0x4cf8('0x38')](_0x4cf8('0x51')),_0x28ae25),_0x96415d['writer']['setAttribute'](_0x4cf8('0xb2'),_0x259b20[_0x4cf8('0x28')]['getAttribute']('vid_end'),_0x28ae25));},{'priority':_0x4cf8('0x8a')});}),this['editor'][_0x4cf8('0x43')]['for']('upcast')[_0x4cf8('0xbb')]({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x228b00=>_0x228b00[_0x4cf8('0x38')](_0x4cf8('0x119'))}}),this['editor'][_0x4cf8('0x8')]['schema']['on'](_0x4cf8('0xf8'),(_0x4ba478,[,_0x470431])=>{['vid_start',_0x4cf8('0xb2'),_0x4cf8('0x119')][_0x4cf8('0x8e')](_0x470431)&&(_0x4ba478[_0x4cf8('0x3')]=!0x0,_0x4ba478['stop']());},{'priority':'highest'}),this[_0x4cf8('0x37')][_0x4cf8('0x43')][_0x4cf8('0xcd')](_0x4cf8('0x13'))['add'](_0x1202fa=>{_0x1202fa['on'](_0x4cf8('0x6'),(_0x2262d6,_0x179a5a,_0x59faca)=>{if('\x20'!=_0x179a5a[_0x4cf8('0xfa')][_0x4cf8('0x14')]||_0x179a5a[_0x4cf8('0xfa')][_0x4cf8('0x117')][_0x4cf8('0x99')]>0x1)return;if(!_0x59faca[_0x4cf8('0x54')][_0x4cf8('0x42')](_0x179a5a[_0x4cf8('0xfa')],_0x2262d6[_0x4cf8('0xbe')]))return;const _0x11dde8=_0x59faca[_0x4cf8('0x97')],_0x4238fc=_0x59faca['mapper'][_0x4cf8('0xc5')](_0x179a5a[_0x4cf8('0xd7')]);_0x11dde8[_0x4cf8('0x3f')](_0x4238fc,_0x11dde8['createAttributeElement'](_0x4cf8('0x6e')));});}),this['editor'][_0x4cf8('0x43')]['for'](_0x4cf8('0x13'))[_0x4cf8('0xa3')]({'model':_0x4cf8('0xd3')}),this[_0x4cf8('0x37')][_0x4cf8('0x11b')][_0x4cf8('0x104')]['on'](_0x4cf8('0x45'),function(_0x48ccac){const _0x34128c=_0x48ccac[_0x4cf8('0x2d')][_0x4cf8('0x100')](_0x4cf8('0x53'));return(_0x4e1361,_0x4d0445,_0x5834ca)=>{const _0x29f47f=_0x4d0445[_0x4cf8('0xf0')][_0x4cf8('0x7b')](':')[0x1],_0x123626=_0x34128c[_0x4cf8('0xf5')](_0x29f47f);if(!_0x123626)return null;const _0x5d0177=_0x4cf8('0x5e')==_0x123626[_0x4cf8('0xdd')]?_0x4cf8('0x7b'):_0x4cf8('0xa5');if(!_0x5834ca[_0x4cf8('0x54')][_0x4cf8('0xee')](_0x4d0445[_0x4cf8('0xf9')],_0x4e1361[_0x4cf8('0xbe')]))return;const _0x27d933=_0x4d0445[_0x4cf8('0xf9')]['getWalker'](),_0x46f242=_0x4d0445['markerRange'][_0x4cf8('0xe7')],_0x588256=_0x48ccac[_0x4cf8('0x8')][_0x4cf8('0xb')];let _0x1cfcfc=null,_0x269dbe=null,_0x24883c=!0x1,_0x400ed6=!0x1;for(const _0x285389 of _0x27d933){const _0x5ae2c1=_0x285389[_0x4cf8('0xfa')];_0x24883c=_0x24883c||_0x588256[_0x4cf8('0x4')](_0x5ae2c1);const _0x124176=_0x5834ca[_0x4cf8('0x23')]['toViewElement'](_0x5ae2c1);if(_0x124176&&_0x124176[_0x4cf8('0x7')](_0x4cf8('0x109')))return;_0x4cf8('0x32')==_0x285389['type']&&(_0x588256[_0x4cf8('0x7d')](_0x5ae2c1)&&!_0x588256[_0x4cf8('0xd')](_0x5ae2c1)&&(_0x5ae2c1['nextSibling']||_0x46f242['isAtEnd']?_0x1cfcfc&&_0x1cfcfc[_0x4cf8('0x117')]==_0x5ae2c1||(_0x1cfcfc=_0x5ae2c1,_0x50e19e(_0x285389['previousPosition']),_0x400ed6=!0x0):_0x269dbe=_0x269dbe||_0x285389[_0x4cf8('0xb7')]));}function _0x50e19e(_0x1a72ef){const _0x200cdf=_0x5834ca[_0x4cf8('0x97')][_0x4cf8('0x8d')](_0x4cf8('0x6e'),{'class':_0x4cf8('0x94')+_0x5d0177}),_0x31a743=_0x5834ca[_0x4cf8('0x23')]['toViewPosition'](_0x1a72ef);_0x123626[_0x4cf8('0x14')][_0x4cf8('0x10b')]&&_0x5834ca[_0x4cf8('0x97')]['addClass'](_0x4cf8('0x94')+_0x5d0177+_0x4cf8('0x102'),_0x200cdf),_0x34128c[_0x4cf8('0xc2')]==_0x123626&&_0x5834ca[_0x4cf8('0x97')][_0x4cf8('0x124')](_0x4cf8('0x50'),_0x200cdf),_0x5834ca[_0x4cf8('0x97')]['insert'](_0x31a743,_0x200cdf),_0x5834ca[_0x4cf8('0x23')][_0x4cf8('0x8f')](_0x200cdf,_0x4d0445[_0x4cf8('0xf0')]);}_0x24883c||_0x400ed6||!_0x269dbe||_0x50e19e(_0x269dbe);};}(this[_0x4cf8('0x37')]),{'priority':_0x4cf8('0x2a')}),this[_0x4cf8('0x37')][_0x4cf8('0x11b')]['downcastDispatcher']['on'](_0x4cf8('0xf6'),(_0xf6d8d9,_0x69629f,_0x1cc577)=>{const _0x22831d=_0x1cc577[_0x4cf8('0x23')]['markerNameToElements'](_0x69629f[_0x4cf8('0xf0')]);if(_0x22831d)for(const _0x4aafff of _0x22831d)(_0x4aafff[_0x4cf8('0xab')]('ck-suggestion-marker-split')||_0x4aafff['hasClass'](_0x4cf8('0x46')))&&(_0x1cc577[_0x4cf8('0x23')][_0x4cf8('0xbf')](_0x4aafff,_0x69629f[_0x4cf8('0xf0')]),_0x1cc577[_0x4cf8('0x97')][_0x4cf8('0xd6')](_0x4aafff));},{'priority':_0x4cf8('0x2a')}),this[_0x4cf8('0x37')][_0x4cf8('0x11b')][_0x4cf8('0x104')]['on'](_0x4cf8('0x45'),(_0x523fdd,_0x43208b,_0x137073)=>{const _0x43907a=_0x43208b[_0x4cf8('0xf0')]['split'](':')[0x1],_0x1556e5=this[_0x4cf8('0xf5')](_0x43907a);if(!_0x1556e5)return null;const _0x45e93f='add'==_0x1556e5['type']?_0x4cf8('0x7b'):_0x4cf8('0xa5');if(_0x137073[_0x4cf8('0x54')][_0x4cf8('0xee')](_0x43208b[_0x4cf8('0xf9')],_0x523fdd['name']))for(const _0x444f9d of _0x43208b['markerRange'][_0x4cf8('0x31')]()){if(!_0x444f9d['is'](_0x4cf8('0x120'),_0x4cf8('0x5b')))continue;const _0x4b536a=_0x137073[_0x4cf8('0x97')][_0x4cf8('0x8d')](_0x4cf8('0x6e'),{'class':_0x4cf8('0x94')+_0x45e93f}),_0x5b206b=_0x137073[_0x4cf8('0x23')][_0x4cf8('0x65')](this[_0x4cf8('0x37')]['model'][_0x4cf8('0x107')](_0x444f9d));_0x1556e5[_0x4cf8('0x14')][_0x4cf8('0x10b')]&&_0x137073['writer'][_0x4cf8('0x124')](_0x4cf8('0x94')+_0x45e93f+_0x4cf8('0x102'),_0x4b536a),this[_0x4cf8('0xc2')]==_0x1556e5&&_0x137073[_0x4cf8('0x97')]['addClass']('ck-suggestion-marker--active',_0x4b536a),_0x137073['writer'][_0x4cf8('0x5f')](_0x5b206b,_0x4b536a),_0x137073[_0x4cf8('0x23')][_0x4cf8('0x8f')](_0x4b536a,_0x43208b[_0x4cf8('0xf0')]);}},{'priority':_0x4cf8('0x2a')}),this[_0x4cf8('0x37')]['model'][_0x4cf8('0xd9')]['on'](_0x4cf8('0xe5'),()=>{this['editor'][_0x4cf8('0x11b')][_0x4cf8('0x92')][_0x4cf8('0xe5')](_0x191430=>{for(const _0x1fa9c4 of this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0xd9')][_0x4cf8('0x88')]()){const _0x4c961c=this[_0x4cf8('0x37')][_0x4cf8('0x8')]['document']['getRoot'](_0x1fa9c4),_0x5147c9=this[_0x4cf8('0x37')]['editing'][_0x4cf8('0x92')]['document'][_0x4cf8('0xca')](_0x1fa9c4);if(_0x5147c9){const _0x2a0a7e=_0x4c961c[_0x4cf8('0x38')]('revisionHistoryAttachChange');if(_0x191430[_0x4cf8('0x75')](_0x4cf8('0x2b'),_0x5147c9),_0x191430[_0x4cf8('0xe6')](_0x4cf8('0x81'),_0x5147c9),_0x191430['removeClass'](_0x4cf8('0xaf'),_0x5147c9),_0x191430[_0x4cf8('0xe6')]('ck-revision-history-root--active',_0x5147c9),_0x2a0a7e){const _0xb7fbcc=this[_0x4cf8('0xf5')](_0x2a0a7e);if(!_0xb7fbcc)return null;_0x191430[_0x4cf8('0xa1')](_0x4cf8('0x2b'),_0x2a0a7e,_0x5147c9),_0x191430[_0x4cf8('0x124')]('ck-revision-history-root-'+_0xb7fbcc[_0x4cf8('0xdd')],_0x5147c9),this[_0x4cf8('0xc2')]==_0xb7fbcc&&_0x191430[_0x4cf8('0x124')](_0x4cf8('0x10c'),_0x5147c9);}}}});}),this['editor'][_0x4cf8('0x43')][_0x4cf8('0xcd')](_0x4cf8('0x78'))['dataToMarker']({'view':'comment','model':_0x36bad1=>_0x4cf8('0x1a')+_0x36bad1,'converterPriority':_0x4cf8('0x112')}),this[_0x4cf8('0x37')][_0x4cf8('0x43')]['for'](_0x4cf8('0x78'))[_0x4cf8('0xe9')]({'view':_0x4cf8('0xe0'),'model':_0x37f172=>'revision-suggestion:'+_0x37f172,'converterPriority':_0x4cf8('0x112')}),this[_0x4cf8('0x37')][_0x4cf8('0x43')][_0x4cf8('0xcd')](_0x4cf8('0x13'))[_0x4cf8('0xa3')]({'model':_0x4cf8('0xa2'),'view':_0x1decd9=>({'name':_0x4cf8('0xad')+_0x1decd9,'group':_0x4cf8('0xa2')}),'converterPriority':_0x4cf8('0x112')}),this[_0x4cf8('0x37')][_0x4cf8('0x43')]['for'](_0x4cf8('0x95'))['markerToHighlight']({'model':_0x4cf8('0xa2'),'view':_0x305f3b=>{const _0x5c7ba4=_0x305f3b[_0x4cf8('0xf0')][_0x4cf8('0x7b')](':')[0x1];return _0x4cf8('0x9')!=_0x5c7ba4&&'deletion'!=_0x5c7ba4?null:{'classes':[_0x4cf8('0x1e'),_0x4cf8('0xb3')+_0x5c7ba4]};}}),this['editor'][_0x4cf8('0x11b')][_0x4cf8('0x104')]['on'](_0x4cf8('0xe1'),et(this[_0x4cf8('0x37')],_0x4cf8('0xa5')),{'priority':_0x4cf8('0x2a')}),this[_0x4cf8('0x37')]['editing'][_0x4cf8('0x104')]['on'](_0x4cf8('0xd0'),et(this[_0x4cf8('0x37')],'split'),{'priority':_0x4cf8('0x2a')}),this[_0x4cf8('0x37')]['editing'][_0x4cf8('0x104')]['on']('removeMarker:revision-suggestion',(_0x434eb7,_0x468a50,_0x5a9317)=>{const _0x337452=_0x5a9317[_0x4cf8('0x23')][_0x4cf8('0x4e')](_0x468a50[_0x4cf8('0xf0')]);if(_0x337452)for(const _0x401f34 of _0x337452)_0x401f34['is'](_0x4cf8('0x69'))&&(_0x5a9317[_0x4cf8('0x23')][_0x4cf8('0xbf')](_0x401f34,_0x468a50[_0x4cf8('0xf0')]),_0x5a9317[_0x4cf8('0x97')][_0x4cf8('0xd6')](_0x401f34));},{'priority':_0x4cf8('0x2a')});}['_getChangeFromId'](_0x8fdcc3){return this['_changeIdToChange'][_0x4cf8('0x100')](_0x8fdcc3);}[_0x4cf8('0xf1')](_0x12eabf){return this[_0x4cf8('0x2e')]&&this['_changeView'][_0x4cf8('0x1')](),this[_0x4cf8('0x2e')]=new _0x890e6f(this[_0x4cf8('0x37')]['locale'],_0x12eabf),this[_0x4cf8('0x2e')];}['_initInteractions'](){this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0xd9')][_0x4cf8('0x90')][_0x4cf8('0x83')](_0x4cf8('0xd3')),this['on']('change:activeView',(_0x4e1567,_0x4da4eb,_0x32a172,_0x1519cb)=>{_0x1519cb&&this['_balloon'][_0x4cf8('0xd6')](_0x1519cb),_0x32a172&&(this['_balloon'][_0x4cf8('0x5e')]({'view':_0x32a172,'stackId':_0x4cf8('0xfc'),'position':{'target':()=>{const _0x2402da=this[_0x4cf8('0x37')][_0x4cf8('0x11b')],_0x511a6d=this[_0x4cf8('0xf5')](_0x32a172[_0x4cf8('0x9a')]);let _0x6dc579;if(_0x511a6d[_0x4cf8('0x14')]['isOnRoot']){const _0x2b3173=_0x2402da[_0x4cf8('0x92')]['getDomRoot'](_0x511a6d[_0x4cf8('0xb8')]);_0x6dc579=Array['from'](_0x2b3173[_0x4cf8('0x29')]());}else{const _0x5615c5=this['editor'][_0x4cf8('0x8')][_0x4cf8('0x1f')][_0x4cf8('0x100')](_0x4cf8('0x62')+_0x32a172[_0x4cf8('0x9a')]);_0x6dc579=Array[_0x4cf8('0x6d')](_0x2402da[_0x4cf8('0x23')][_0x4cf8('0x4e')](_0x5615c5['name']))['map'](_0x4d0aed=>_0x2402da['view'][_0x4cf8('0x113')][_0x4cf8('0x63')](_0x4d0aed))[_0x4cf8('0xb1')](_0x4f76f0=>Array[_0x4cf8('0x6d')](_0x4f76f0[_0x4cf8('0x29')]()))[_0x4cf8('0xd5')]();}if(!this[_0x4cf8('0xcb')])return _0x6dc579[0x0];return _0x6dc579['find'](_0x2a98a2=>_0x2a98a2[_0x4cf8('0xa6')]-0x3<=this[_0x4cf8('0xcb')]['y']&&_0x2a98a2[_0x4cf8('0x10')]+0x3>=this[_0x4cf8('0xcb')]['y']&&_0x2a98a2[_0x4cf8('0x89')]-0x3<=this[_0x4cf8('0xcb')]['x']&&_0x2a98a2['right']+0x3>=this[_0x4cf8('0xcb')]['x'])||_0x6dc579[0x0];}}}),this[_0x4cf8('0x108')][_0x4cf8('0x106')](_0x4cf8('0xfc')));}),this['on'](_0x4cf8('0x96'),(_0x44b946,_0x12a82a,_0x1548e6,_0x102471)=>{this['activeView']=_0x1548e6?this[_0x4cf8('0xf1')](_0x1548e6):null,this['editor'][_0x4cf8('0x8')][_0x4cf8('0xe5')](()=>{const _0x33f82e=this['editor'][_0x4cf8('0x11b')];_0x102471&&(_0x102471['data'][_0x4cf8('0x9f')]?_0x33f82e[_0x4cf8('0x92')][_0x4cf8('0xe5')](_0x14a0a1=>{_0x14a0a1[_0x4cf8('0xe6')](_0x4cf8('0x10c'),_0x33f82e[_0x4cf8('0x92')][_0x4cf8('0xd9')][_0x4cf8('0xca')](_0x102471[_0x4cf8('0xb8')]));}):_0x33f82e[_0x4cf8('0x6a')](_0x4cf8('0x62')+_0x102471['id'])),_0x1548e6&&(_0x1548e6['data'][_0x4cf8('0x9f')]?_0x33f82e['view']['change'](_0x142b99=>{_0x142b99[_0x4cf8('0x124')](_0x4cf8('0x10c'),_0x33f82e[_0x4cf8('0x92')][_0x4cf8('0xd9')]['getRoot'](_0x1548e6[_0x4cf8('0xb8')]));}):_0x33f82e['reconvertMarker']('revision:'+_0x1548e6['id']));});}),this[_0x4cf8('0x11a')](this[_0x4cf8('0x37')]['editing'][_0x4cf8('0x92')][_0x4cf8('0xd9')],_0x4cf8('0x10a'),(_0x242031,_0x290ed0)=>{if(this['activeChange'])return;const _0x17e414=this[_0x4cf8('0xbd')](_0x290ed0['target']),_0xe623e1=this[_0x4cf8('0xa0')][_0x4cf8('0x100')](_0x17e414);_0xe623e1?(this[_0x4cf8('0xcb')]={'x':_0x290ed0[_0x4cf8('0xba')]['x'],'y':_0x290ed0[_0x4cf8('0xba')]['y']},this[_0x4cf8('0x44')]=this[_0x4cf8('0xf1')](_0xe623e1)):(this['_activeViewTarget']=null,this[_0x4cf8('0x44')]=null);}),this['listenTo'](this[_0x4cf8('0x37')][_0x4cf8('0x11b')][_0x4cf8('0x92')]['document'],_0x4cf8('0xc0'),(_0x509264,_0x28af23)=>{const _0x23ae6c=this['_findChangeIdFromDomTarget'](_0x28af23[_0x4cf8('0xbc')]),_0x26fce6=this['_changeIdToChange'][_0x4cf8('0x100')](_0x23ae6c);_0x26fce6?(this[_0x4cf8('0xcb')]={'x':_0x28af23['domEvent']['x'],'y':_0x28af23[_0x4cf8('0xba')]['y']},_0x26fce6===this[_0x4cf8('0xc2')]?this[_0x4cf8('0x108')]['updatePosition']():this['activeChange']=_0x26fce6):(this[_0x4cf8('0xcb')]=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2f148c){do{const _0x1ffe8e=_0x2f148c[_0x4cf8('0x38')](_0x4cf8('0x2b'));if(_0x1ffe8e)return _0x1ffe8e;_0x2f148c=_0x2f148c['parent'];}while(_0x2f148c);return null;}[_0x4cf8('0x6c')](){this[_0x4cf8('0x37')][_0x4cf8('0x8')][_0x4cf8('0xe5')](_0x16e4f8=>{for(const _0x30724f of this[_0x4cf8('0x37')]['model'][_0x4cf8('0x1f')])_0x16e4f8[_0x4cf8('0xb9')](_0x30724f);});}}function et(_0x2e2d06,_0x29b781){return(_0x4c97e2,_0x2a1cc2,_0x2cf118)=>{if(!_0x2cf118['consumable'][_0x4cf8('0xee')](_0x2a1cc2[_0x4cf8('0xf9')],_0x4c97e2[_0x4cf8('0xbe')]))return;const _0x59e852=_0x2a1cc2[_0x4cf8('0xf9')]['getWalker'](),_0x49ac73=_0x2a1cc2[_0x4cf8('0xf9')][_0x4cf8('0xe7')],_0x60238e=_0x2e2d06[_0x4cf8('0x8')][_0x4cf8('0xb')];let _0x52932e=null,_0x32363d=null,_0x447f0f=!0x1,_0x55782b=!0x1;for(const _0x4d09ee of _0x59e852){const _0x83b55f=_0x4d09ee['item'];_0x447f0f=_0x447f0f||_0x60238e[_0x4cf8('0x4')](_0x83b55f);const _0x528e86=_0x2cf118[_0x4cf8('0x23')]['toViewElement'](_0x83b55f);if(_0x528e86&&_0x528e86[_0x4cf8('0x7')]('addHighlight'))return;_0x4cf8('0x32')==_0x4d09ee[_0x4cf8('0xdd')]&&(_0x60238e['isBlock'](_0x83b55f)&&!_0x60238e[_0x4cf8('0xd')](_0x83b55f)&&(_0x83b55f[_0x4cf8('0xe4')]||_0x49ac73[_0x4cf8('0x3a')]?_0x52932e&&_0x52932e[_0x4cf8('0x117')]==_0x83b55f||(_0x52932e=_0x83b55f,_0x1f6ce6(_0x4d09ee['previousPosition']),_0x55782b=!0x0):_0x32363d=_0x32363d||_0x4d09ee['previousPosition']));}function _0x1f6ce6(_0x10a505){const _0x111293=_0x2cf118[_0x4cf8('0x23')][_0x4cf8('0x65')](_0x10a505),_0x38791d=_0x2cf118[_0x4cf8('0x97')][_0x4cf8('0x8d')]('span',{'class':_0x4cf8('0xb3')+_0x29b781});_0x2cf118['writer'][_0x4cf8('0x5f')](_0x111293,_0x38791d),_0x2cf118[_0x4cf8('0x23')]['bindElementToMarker'](_0x38791d,_0x2a1cc2[_0x4cf8('0xf0')]);}_0x447f0f||_0x55782b||!_0x32363d||_0x1f6ce6(_0x32363d);};}export class RestoreRevisionCommand extends _0xa16986{constructor(_0x5ac115){super(_0x5ac115);const _0x33f143=_0x5ac115[_0x4cf8('0x2d')][_0x4cf8('0x100')](d);this['affectsData']=!0x1,this[_0x4cf8('0x11a')](_0x33f143,_0x4cf8('0x70'),()=>this[_0x4cf8('0x4c')]()),this[_0x4cf8('0x11a')](_0x33f143,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x24c516=this[_0x4cf8('0x37')],_0x5f19c1=_0x24c516['plugins'][_0x4cf8('0x100')](d),_0x1eeb47=_0x5f19c1['isReady']?_0x5f19c1[_0x4cf8('0x5')][_0x4cf8('0x84')]:null;_0x24c516[_0x4cf8('0x22')][_0x4cf8('0x100')](_0x4cf8('0xfb'))[_0x4cf8('0x6f')](_0x1eeb47);}[_0x4cf8('0x4c')](){const {isReady:_0x128a98,isEnabled:_0x142f14}=this[_0x4cf8('0x37')][_0x4cf8('0x2d')][_0x4cf8('0x100')](d);this[_0x4cf8('0x76')]=_0x128a98&&_0x142f14;}}export class ShowChangeCommand extends _0xa16986{constructor(_0x5026ff,{direction:_0x59bb6d}){super(_0x5026ff);const _0x148ba7=_0x5026ff[_0x4cf8('0x2d')][_0x4cf8('0x100')](d);this[_0x4cf8('0xa9')]=!0x1,this['_step']=_0x4cf8('0x19')===_0x59bb6d?0x1:-0x1,this[_0x4cf8('0x11a')](_0x148ba7,_0x4cf8('0x70'),()=>this['refresh']()),this[_0x4cf8('0x11a')](_0x148ba7,'change:isEnabled',()=>this[_0x4cf8('0x4c')]()),this['listenTo'](_0x148ba7,_0x4cf8('0x96'),()=>this[_0x4cf8('0x4c')]());}[_0x4cf8('0x4a')](){const _0x4a5ee6=this[_0x4cf8('0x37')],_0x380627=_0x4a5ee6[_0x4cf8('0x2d')]['get'](d),{isNavigationMode:_0x338a66,currentChangeNumber:_0x3ef878}=_0x380627;let _0x23093c;if(_0x380627['activeChange']=_0x338a66?_0x380627[_0x4cf8('0x5')][_0x4cf8('0x34')][_0x4cf8('0x100')](_0x3ef878+this['_step']):_0x380627['diff'][_0x4cf8('0x34')][_0x4cf8('0x40')],_0x380627['activeChange']['data'][_0x4cf8('0x9f')])_0x23093c=_0x4a5ee6[_0x4cf8('0x11b')][_0x4cf8('0x92')]['getDomRoot'](_0x380627[_0x4cf8('0xc2')][_0x4cf8('0xb8')]);else{const _0x3fedd2=_0x4a5ee6['model'][_0x4cf8('0x1f')][_0x4cf8('0x100')](_0x4cf8('0x62')+_0x380627[_0x4cf8('0xc2')]['id']);_0x23093c=_0x37d445(_0x4a5ee6[_0x4cf8('0x11b')],_0x3fedd2);}_0x2854f3({'target':_0x23093c,'viewportOffset':0x28});}[_0x4cf8('0x4c')](){const {isNavigationMode:_0x2e3b30,currentChangeNumber:_0x52c94c,numberOfChanges:_0x3606e4,isReady:_0x1756b6,isEnabled:_0x20cf60}=this[_0x4cf8('0x37')]['plugins'][_0x4cf8('0x100')](d);this[_0x4cf8('0x76')]=!!(_0x20cf60&&_0x1756b6&&_0x3606e4)&&(!_0x2e3b30||(0x1===this[_0x4cf8('0x49')]?_0x52c94c<_0x3606e4-0x1:_0x52c94c>0x0));}}
23
+ const _0x6cd535=_0x3912;(function(_0x4b78f5,_0x993ec){const _0x13a28b=_0x3912,_0x1f7e5c=_0x4b78f5();while(!![]){try{const _0x590790=parseInt(_0x13a28b(0x24d))/0x1*(-parseInt(_0x13a28b(0x1c0))/0x2)+parseInt(_0x13a28b(0x222))/0x3*(-parseInt(_0x13a28b(0x180))/0x4)+-parseInt(_0x13a28b(0x1fb))/0x5*(-parseInt(_0x13a28b(0x21b))/0x6)+-parseInt(_0x13a28b(0x24e))/0x7+-parseInt(_0x13a28b(0x219))/0x8*(-parseInt(_0x13a28b(0x23f))/0x9)+parseInt(_0x13a28b(0x288))/0xa+-parseInt(_0x13a28b(0x234))/0xb*(-parseInt(_0x13a28b(0x284))/0xc);if(_0x590790===_0x993ec)break;else _0x1f7e5c['push'](_0x1f7e5c['shift']());}catch(_0x23cd6a){_0x1f7e5c['push'](_0x1f7e5c['shift']());}}}(_0x64fe,0xe2855));import{Plugin as _0x2977c8,Command as _0x282e1b}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1649bb}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x10ef17}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2e5aa5,Element as _0x4e1cb8,Text as _0x1d5c40,ViewDocumentFragment as _0x28c36f,ViewText as _0xcef118,ViewElement as _0x3f4790,ViewContainerElement as _0x1a8273,ViewAttributeElement as _0x435c70,ViewEmptyElement as _0x14854f,ViewRawElement as _0x29dba4,ViewUIElement as _0x53af9a}from'ckeditor5/src/engine.js';import{Users as _0x4fa20a,getMarkerDomElement as _0x3f0d0a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3912(_0x924e59,_0x371ff0){const _0x64fe9d=_0x64fe();return _0x3912=function(_0x391224,_0x5d9c0d){_0x391224=_0x391224-0x142;let _0x484e88=_0x64fe9d[_0x391224];return _0x484e88;},_0x3912(_0x924e59,_0x371ff0);}import _0x174bc2 from'./ui/revisionviewer/changedetailsview.js';import _0x318d55 from'./revisionsrepository.js';import _0x461639 from'./changeitem.js';function _0x64fe(){const _0x52bfea=['_removeUnsupportedChanges','_changeView','for','ck-suggestion-preview-marker-','change:isReady','flat','_appendChild','pairId','attributesBefore','splice','createPositionFromPath','isAfter','isBefore','editing','offsetSize','left','136540kPBSTW','comment','markerName','deletion','addMarker:revision-suggestion:insertion','softBreak','revision-suggestion:','isOnRoot','toModel','isIncorrect','isLimit','revision-end','findIndex','ck-suggestion-marker--active','ck-suggestion-marker-merge','addClass','_balloon','getAttributes','domEvent','markerRange','nodeAfter','isAdded','removeMarker:revision-suggestion','collaboration.channelId','_initInteractions','_markMarkers','suggestion:','default','then','_markSuggestions','562136kDknUT','stop','90SXjwkr','_getChangeFromId','code','refresh','insertions','_activeViewTarget','schema','3492JmYpJo','getRevisionData','getRevisionRootsAttributes','_removeMissingPairs','_refreshStartEndIndex','showNextChange','change','_step','side','name','_markMismatchedRemovedTags','right','_processTape','ck-editor__editable__overlay','getClientRects','forward','insert','processor','3410242MmWMHx','_threeWayMerge','resolve','element','getItems','revision-comment:','elementStart','isSuggestion','_findChangeIdFromDomTarget','showStack','getRootNames','90QsmsDk','markersStart','_changeIdToChange','level','_cleanUp','_setConversion','low','locale','element:pre','top','addMarker:revision','document','addHighlight','toViewElement','449097BVSvaP','686658iiMNHm','isInline','ck-suggestion-marker-','unbindElementFromMarkerName','remove','hasAttribute','isAddSuggestion','end','checkAttribute','editor','shift','concat','attribute:vid','parent','filter','data','all','change:isEnabled','next','reconvertMarker','backward','editingDowncast','createUIElement','_cleanMarkers','viewItem','done','selection','sort','isNavigationMode','change:activeChange','restoreRevision','ck-revision-history-root-','ck-suggestion-marker','revisionHistoryAttachChange','execute','_revisions','revision-suggestion','bottom','index','getRoot','-new','model','suggestion','nextSibling','pluginName','config','includes','isReady','numberOfChanges','item','_makeModelFromTape','hasClass','mapViewToDom','_getViewForChange','24oOYOnX','wrap','isEqual','enableReadOnlyMode','1105100gFBGQX','vid','adapter','_sortAndFilterDiffChanges','unshift','abs','upcast','error','currentChangeNumber','ck-revision-history-root--active','markerToData','dataToMarker','setAttribute','addRoot','markers','removeMarker','addMarker:revision-suggestion:deletion','isRemoveSuggestion','_getDiff','find','attributes','distance','useFillerType','isAttached','data-revision-','mapper','delete','first','length','startIndex','WidgetToolbarRepository','diffData','revision:','isCollapsed','isBlock','requires','bindElementToMarker','revision','rootName','_getRevisionsRange','elementEnd','add','revision-viewer','plugins','newRevisionId','attributesAfter','span','markersEnd','changeId','getDomRoot','diff','forEach','detachRoot','getRevision','high','mousedown','catch','authors','object','removeClass','revisionHistory','bind','observeMarkers','ck-suggestion-marker-split','modelRange','createRangeIn','change:numberOfChanges','markerToHighlight','createPositionBefore','isEnabled','userId','vid_start','forceDisabled','1264CsdekY','_makeTape','domConverter','_removeRevisionMarkers','RevisionsRepository','highest','showPreviousChange','activeView','commands','split','mouseover','children','oldRevisionId','toViewPosition','isAtEnd','_setChanges','view','marked','addRevisionData','_markInsertions','get','roots','writer','compare','downcastDispatcher','revision-start','createRange','enqueueChange','range','ck-revision-history-root-remove','repository','indexOf','uiElement','toData','init','text','endIndex','change:activeView','has','_makeModelFromViewString','return','target','test','consume','isObject','vid_end','slice','map','conversion','from','updatePosition','destroy','getCustomProperty','attachChange','removeMarker:revision','getAttribute','affectsData','createAttributeElement','POSITIVE_INFINITY','consumable','values','isAtStart','isContent','nextPosition','2CszVWg','dataDowncast','toViewRange','restoreRevisionCallback','pop','clear','startsWith','_setDistance','RevisionViewer','ck-suggestion-preview-marker','changes','_update','addRevision','_getViewObj','getIndex','ck-revision-history-root-add','removeAttribute','start','markerNameToElements','string','activeChange','createRevision','_joinTapes','previousPosition','type','isRemoved','loadRevisionData','_data','parse','getWalker','getChild','maxOffset','data-change-id','elementToAttribute','merge','set','deletions','listenTo','_fixObsoleteTags','push','revisionHistoryLabel','insertion','keys'];_0x64fe=function(){return _0x52bfea;};return _0x64fe();}import{default as _0xbf5a93}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x46b9ae}from'lodash-es';const tt={'c':_0x1a8273,'a':_0x435c70,'e':_0x14854f,'r':_0x29dba4,'u':_0x53af9a};export default class d extends _0x2977c8{static get[_0x6cd535(0x27a)](){const _0x34b306=_0x6cd535;return _0x34b306(0x1c8);}static get[_0x6cd535(0x15a)](){return[_0x4fa20a,_0x10ef17,_0x318d55];}constructor(_0x1331c4){const _0x54cac5=_0x6cd535;super(_0x1331c4),this[_0x54cac5(0x19e)]=this[_0x54cac5(0x257)][_0x54cac5(0x162)][_0x54cac5(0x194)](_0x54cac5(0x184)),this[_0x54cac5(0x1e3)](_0x54cac5(0x1d4),null),this[_0x54cac5(0x1e3)](_0x54cac5(0x187),null),this[_0x54cac5(0x220)]=null,this[_0x54cac5(0x1e3)](_0x54cac5(0x169),null),this[_0x54cac5(0x1e3)](_0x54cac5(0x27d),!0x1),this[_0x54cac5(0x1e3)](_0x54cac5(0x17c),!0x0),this['on'](_0x54cac5(0x25f),(_0x4f7c1c,_0xe916be,_0x320b4a)=>{const _0x5da4d5=_0x54cac5;this[_0x5da4d5(0x1d4)]=null,this[_0x5da4d5(0x187)]=null,this[_0x5da4d5(0x257)][_0x5da4d5(0x1f8)][_0x5da4d5(0x190)][_0x5da4d5(0x228)](_0x4ab037=>{const _0x25c955=_0x5da4d5;for(const _0x5f35b6 of this[_0x25c955(0x257)][_0x25c955(0x1f8)][_0x25c955(0x190)][_0x25c955(0x24a)][_0x25c955(0x195)])_0x320b4a?_0x4ab037[_0x25c955(0x172)](_0x25c955(0x22f),_0x5f35b6):_0x4ab037[_0x25c955(0x20a)](_0x25c955(0x22f),_0x5f35b6);});}),this[_0x54cac5(0x174)](_0x54cac5(0x26a))['to'](this,_0x54cac5(0x1d4),_0xf3076f=>null!==_0xf3076f),this[_0x54cac5(0x174)](_0x54cac5(0x290))['to'](this,_0x54cac5(0x27d),this,_0x54cac5(0x169),this,_0x54cac5(0x1d4),(_0x1b5bed,_0xa77433,_0x21943d)=>_0x1b5bed&&_0x21943d?_0xa77433[_0x54cac5(0x1ca)][_0x54cac5(0x1ce)](_0x21943d):0x0),this[_0x54cac5(0x174)](_0x54cac5(0x27e))['to'](this,_0x54cac5(0x27d),this,_0x54cac5(0x169),(_0x2c4934,_0x364360)=>_0x2c4934?_0x364360[_0x54cac5(0x1ca)][_0x54cac5(0x153)]:0x0),this[_0x54cac5(0x1ec)]=null,this[_0x54cac5(0x241)]=new Map(),this[_0x54cac5(0x28a)]=null,this[_0x54cac5(0x20b)]=this[_0x54cac5(0x257)][_0x54cac5(0x162)][_0x54cac5(0x194)](_0x10ef17);}[_0x6cd535(0x1a2)](){const _0x5bba5b=_0x6cd535,_0x2b8c31=this[_0x5bba5b(0x257)],_0x2cc141=new ShowChangeCommand(_0x2b8c31,{'direction':_0x5bba5b(0x262)}),_0x1ac286=new ShowChangeCommand(_0x2b8c31,{'direction':_0x5bba5b(0x231)});(_0x2b8c31[_0x5bba5b(0x188)][_0x5bba5b(0x160)](_0x5bba5b(0x186),_0x2cc141),_0x2b8c31[_0x5bba5b(0x188)][_0x5bba5b(0x160)](_0x5bba5b(0x227),_0x1ac286),_0x2b8c31[_0x5bba5b(0x188)][_0x5bba5b(0x160)](_0x5bba5b(0x26c),new RestoreRevisionCommand(_0x2b8c31)),this['on'](_0x5bba5b(0x179),()=>{const _0x3b2441=_0x5bba5b;_0x2cc141[_0x3b2441(0x21e)](),_0x1ac286[_0x3b2441(0x21e)]();}),this[_0x5bba5b(0x244)](),this[_0x5bba5b(0x213)](),_0x2b8c31[_0x5bba5b(0x287)](_0x5bba5b(0x161)),_0x2b8c31[_0x5bba5b(0x162)][_0x5bba5b(0x1a6)](_0x5bba5b(0x155)))&&_0x2b8c31[_0x5bba5b(0x162)][_0x5bba5b(0x194)](_0x5bba5b(0x155))[_0x5bba5b(0x17f)](_0x5bba5b(0x161));}async[_0x6cd535(0x223)](_0x2c660c){const _0x1c5595=_0x6cd535;await this[_0x1c5595(0x1da)](_0x2c660c);const _0x576329={};for(const _0xac40c in _0x2c660c[_0x1c5595(0x156)]){if(_0x2c660c[_0x1c5595(0x156)][_0xac40c][_0x1c5595(0x1b5)]&&!_0x2c660c[_0x1c5595(0x156)][_0xac40c][_0x1c5595(0x1b5)][_0x1c5595(0x14e)])continue;const _0x1b258b=this[_0x1c5595(0x183)](JSON[_0x1c5595(0x1dc)](_0x2c660c[_0x1c5595(0x156)][_0xac40c][_0x1c5595(0x21f)])),_0x5486c8=this[_0x1c5595(0x257)][_0x1c5595(0x1f8)][_0x1c5595(0x190)][_0x1c5595(0x24a)],_0x1dcf0a=new _0x28c36f(_0x5486c8,_0x1b258b[_0x1c5595(0x1af)](_0x310606=>this[_0x1c5595(0x1cd)](_0x310606)));this[_0x1c5595(0x257)][_0x1c5595(0x25d)][_0x1c5595(0x233)][_0x1c5595(0x14d)](_0x1c5595(0x191)),_0x576329[_0xac40c]=this[_0x1c5595(0x257)][_0x1c5595(0x25d)][_0x1c5595(0x233)][_0x1c5595(0x1a1)](_0x1dcf0a),this[_0x1c5595(0x257)][_0x1c5595(0x25d)][_0x1c5595(0x233)][_0x1c5595(0x14d)](_0x1c5595(0x216));}return _0x576329;}async[_0x6cd535(0x224)](_0x319c1b){const _0x51b902=_0x6cd535;await this[_0x51b902(0x1da)](_0x319c1b);const _0x49edb5={};for(const _0x4ff22e in _0x319c1b[_0x51b902(0x156)])_0x319c1b[_0x51b902(0x156)][_0x4ff22e][_0x51b902(0x1b5)]&&!_0x319c1b[_0x51b902(0x156)][_0x4ff22e][_0x51b902(0x1b5)][_0x51b902(0x14e)]||(_0x49edb5[_0x4ff22e]=_0x319c1b[_0x51b902(0x156)][_0x4ff22e][_0x51b902(0x164)]||{});return _0x49edb5;}[_0x6cd535(0x183)](_0x2fd68f){const _0x5808ca=_0x6cd535;return(_0x2fd68f=_0x2fd68f[_0x5808ca(0x25c)](_0xe9d835=>!_0xe9d835[_0x5808ca(0x22b)]||_0x5808ca(0x199)!==_0xe9d835[_0x5808ca(0x22b)]&&_0x5808ca(0x206)!==_0xe9d835[_0x5808ca(0x22b)]))[_0x5808ca(0x16a)](_0x34ca1c=>{const _0x24c191=_0x5808ca;_0x24c191(0x1d3)!=typeof _0x34ca1c&&(_0x34ca1c[_0x24c191(0x18b)]=this[_0x24c191(0x183)](_0x34ca1c[_0x24c191(0x18b)]),_0x34ca1c[_0x24c191(0x14b)]=_0x34ca1c[_0x24c191(0x14b)][_0x24c191(0x25c)](_0x47ac7c=>!_0x47ac7c[0x0][_0x24c191(0x1c6)](_0x24c191(0x14f))));}),_0x2fd68f;}async[_0x6cd535(0x197)](_0x3c18fa,_0x913575,_0x43b168=!0x1){const _0x7607af=_0x6cd535;if(!this[_0x7607af(0x17c)])return;const _0x5d4895=this[_0x7607af(0x169)],_0x4b1b20=this[_0x7607af(0x19e)],_0x525945=_0x7607af(0x1d3)==typeof _0x3c18fa?_0x4b1b20[_0x7607af(0x16c)](_0x3c18fa):_0x3c18fa,_0x488e70=_0x7607af(0x1d3)==typeof _0x913575?_0x4b1b20[_0x7607af(0x16c)](_0x913575):_0x913575,_0x1263ad=_0x525945['id'],_0x1de11c=_0x488e70?_0x488e70['id']:null;if(!_0x43b168&&this[_0x7607af(0x169)]&&this[_0x7607af(0x169)][_0x7607af(0x163)]===_0x1263ad&&this[_0x7607af(0x169)][_0x7607af(0x18c)]===_0x1de11c)return Promise[_0x7607af(0x236)]();this[_0x7607af(0x27d)]=!0x1,this[_0x7607af(0x187)]=null,this[_0x7607af(0x1d4)]=null,this[_0x7607af(0x169)]=new _0xbf5a93(_0x1263ad,_0x1de11c);const _0x52a4a5=this[_0x7607af(0x15e)](_0x525945,_0x488e70,!0x0)[_0x7607af(0x1af)](_0x396323=>this[_0x7607af(0x1da)](_0x396323));return _0x52a4a5[_0x7607af(0x1e7)](new Promise(_0x162ce1=>{setTimeout(_0x162ce1,0x14);})),Promise[_0x7607af(0x25e)](_0x52a4a5)[_0x7607af(0x217)](()=>{const _0x62de4d=_0x7607af;if(!this[_0x62de4d(0x17c)])return;this[_0x62de4d(0x243)]();const _0x504622=this[_0x62de4d(0x149)](_0x1263ad,_0x1de11c);for(const _0x47b1b6 of _0x504622[_0x62de4d(0x1ca)])this[_0x62de4d(0x241)][_0x62de4d(0x1e3)](_0x47b1b6['id'],_0x47b1b6);this[_0x62de4d(0x257)][_0x62de4d(0x277)][_0x62de4d(0x19b)]({'isUndoable':!0x1},_0x5664ff=>{const _0x4579b0=_0x62de4d;for(const _0x598f7b of this[_0x4579b0(0x257)][_0x4579b0(0x277)][_0x4579b0(0x24a)][_0x4579b0(0x23e)]())_0x5664ff[_0x4579b0(0x16b)](_0x598f7b);for(const _0x568c74 of Object[_0x4579b0(0x1ea)](_0x504622[_0x4579b0(0x277)])){const _0x218843=_0x5664ff[_0x4579b0(0x144)](_0x568c74);for(const _0x3ec551 of Object[_0x4579b0(0x1ea)](_0x504622[_0x4579b0(0x14b)][_0x568c74]))_0x5664ff[_0x4579b0(0x143)](_0x3ec551,_0x504622[_0x4579b0(0x14b)][_0x568c74][_0x3ec551],_0x218843);_0x5664ff[_0x4579b0(0x232)](_0x504622[_0x4579b0(0x277)][_0x568c74],_0x218843,0x0);}}),this[_0x62de4d(0x169)][_0x62de4d(0x18f)](this[_0x62de4d(0x28b)](_0x504622[_0x62de4d(0x1ca)])),this[_0x62de4d(0x27d)]=!0x0;})[_0x7607af(0x16f)](_0x5ef85a=>{const _0x12bc0d=_0x7607af;console[_0x12bc0d(0x28f)](_0x5ef85a),this[_0x12bc0d(0x243)](),_0x5d4895&&(this[_0x12bc0d(0x169)]=_0x5d4895),this[_0x12bc0d(0x27d)]=!0x0;});}[_0x6cd535(0x192)](_0x4b4bf4,_0x23db1b){const _0x430e42=_0x6cd535,_0x450451=this[_0x430e42(0x19e)][_0x430e42(0x1d5)](_0x4b4bf4);return _0x450451['on'](_0x430e42(0x1cb),(_0x49b35f,_0x3f149e,_0x202697)=>_0x23db1b(_0x3f149e,_0x202697,_0x450451)),this[_0x430e42(0x19e)][_0x430e42(0x1cc)](_0x450451),_0x450451;}[_0x6cd535(0x1da)](_0x362eca){const _0x3d7ac4=_0x6cd535;if(!_0x362eca||_0x362eca[_0x3d7ac4(0x156)])return Promise[_0x3d7ac4(0x236)]();{const _0x192c3b=this[_0x3d7ac4(0x257)][_0x3d7ac4(0x27b)][_0x3d7ac4(0x194)](_0x3d7ac4(0x212));return this[_0x3d7ac4(0x28a)][_0x3d7ac4(0x16c)]({'channelId':_0x192c3b,'revisionId':_0x362eca['id']})[_0x3d7ac4(0x217)](_0x4e5a6d=>{const _0x3bd0dc=_0x3d7ac4;_0x362eca[_0x3bd0dc(0x1cb)]({'diffData':_0x4e5a6d[_0x3bd0dc(0x156)]},!0x0);});}}[_0x6cd535(0x243)](){const _0x3cefd7=_0x6cd535;this[_0x3cefd7(0x1d4)]=null,this[_0x3cefd7(0x265)](),this[_0x3cefd7(0x1ec)]&&this[_0x3cefd7(0x1ec)][_0x3cefd7(0x1b3)](),this[_0x3cefd7(0x1ec)]=null,this[_0x3cefd7(0x241)][_0x3cefd7(0x1c5)](),this[_0x3cefd7(0x257)][_0x3cefd7(0x277)][_0x3cefd7(0x19b)]({'isUndoable':!0x1},_0x45d83b=>{const _0x2f05cb=_0x3cefd7;for(const _0x507120 of this[_0x2f05cb(0x257)][_0x2f05cb(0x277)][_0x2f05cb(0x24a)][_0x2f05cb(0x23e)]())_0x45d83b[_0x2f05cb(0x16b)](_0x507120);});}[_0x6cd535(0x28b)](_0x11481a){const _0x47e21f=_0x6cd535,_0x2425bd=[],_0x5bd5b9=new Map();for(const _0x37af18 of this[_0x47e21f(0x257)][_0x47e21f(0x277)][_0x47e21f(0x24a)][_0x47e21f(0x23e)]()){const _0x45a1d7=this[_0x47e21f(0x257)][_0x47e21f(0x1f8)][_0x47e21f(0x190)][_0x47e21f(0x168)](_0x37af18);if(!_0x45a1d7)continue;const _0x574b5b=_0x45a1d7[_0x47e21f(0x230)]()[_0x47e21f(0x27f)](0x0);_0x574b5b&&(_0x2425bd[_0x47e21f(0x1e7)](_0x37af18),_0x5bd5b9[_0x47e21f(0x1e3)](_0x37af18,_0x574b5b));}return _0x2425bd[_0x47e21f(0x269)]((_0x49738b,_0x54204f)=>{const _0x53ed2f=_0x47e21f,_0x39315e=_0x5bd5b9[_0x53ed2f(0x194)](_0x49738b),_0x51bd53=_0x5bd5b9[_0x53ed2f(0x194)](_0x54204f);return _0x39315e['y']-_0x51bd53['y']||_0x39315e['x']-_0x51bd53['x'];}),(_0x11481a=_0x11481a[_0x47e21f(0x25c)](_0x363c1a=>_0x2425bd[_0x47e21f(0x27c)](_0x363c1a[_0x47e21f(0x15d)])))[_0x47e21f(0x269)]((_0x571c09,_0x32a6d3)=>_0x2425bd[_0x47e21f(0x19f)](_0x571c09[_0x47e21f(0x15d)])-_0x2425bd[_0x47e21f(0x19f)](_0x32a6d3[_0x47e21f(0x15d)])),_0x11481a;}[_0x6cd535(0x181)](_0x4af32d){const _0x446c70=_0x6cd535,_0x812d29=Array[_0x446c70(0x1b1)](_0x4af32d[_0x446c70(0x145)])[_0x446c70(0x25c)](([_0x112906,_0x314e49])=>_0x112906[_0x446c70(0x1c6)](_0x446c70(0x157))&&!_0x314e49[_0x446c70(0x158)]),_0x51d995=Array[_0x446c70(0x1b1)](this[_0x446c70(0x257)][_0x446c70(0x277)][_0x446c70(0x178)](_0x4af32d)[_0x446c70(0x1dd)]({'singleCharacters':!0x0}));if(0x0!=_0x812d29[_0x446c70(0x153)])for(const _0x332251 of _0x51d995){const [_0x22845d,_0x511a00]=_0x812d29[0x0],[,_0x1fc434,_0x49d1ee]=_0x22845d[_0x446c70(0x189)](':');if(_0x511a00[_0x446c70(0x255)][_0x446c70(0x286)](_0x332251[_0x446c70(0x1bf)])&&_0x812d29[_0x446c70(0x258)](),(_0x332251[_0x446c70(0x1d7)][_0x446c70(0x286)](_0x511a00[_0x446c70(0x1d1)])||_0x332251[_0x446c70(0x1d7)][_0x446c70(0x1f6)](_0x511a00[_0x446c70(0x1d1)]))&&(_0x446c70(0x1e9)==_0x1fc434?_0x332251[_0x446c70(0x210)]={'userId':_0x49d1ee}:_0x446c70(0x1fe)==_0x1fc434&&(_0x332251[_0x446c70(0x1d9)]={'userId':_0x49d1ee})),0x0==_0x812d29[_0x446c70(0x153)])break;}return _0x51d995;}[_0x6cd535(0x226)](_0xd96860){const _0x3ab5fa=_0x6cd535,_0x2e7b7f=new Map();for(let _0x88040=0x0;_0x88040<_0xd96860[_0x3ab5fa(0x153)];_0x88040++)_0x3ab5fa(0x1a3)===_0xd96860[_0x88040][_0x3ab5fa(0x1d8)]?(_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x154)]=_0x88040,_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x1a4)]=_0x88040):(_0x3ab5fa(0x23a)===_0xd96860[_0x88040][_0x3ab5fa(0x1d8)]?_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x154)]=_0x88040:_0x3ab5fa(0x15f)===_0xd96860[_0x88040][_0x3ab5fa(0x1d8)]&&(_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x1a4)]=_0x88040),_0x2e7b7f[_0x3ab5fa(0x1e3)](_0xd96860[_0x88040]['id'],_0x88040));for(const _0xa738df of _0x2e7b7f[_0x3ab5fa(0x1bc)]())_0x3ab5fa(0x23a)===_0xd96860[_0xa738df][_0x3ab5fa(0x1d8)]?_0xd96860[_0xa738df][_0x3ab5fa(0x27f)][_0x3ab5fa(0x1a4)]=_0x2e7b7f[_0x3ab5fa(0x194)](_0xd96860[_0xa738df][_0x3ab5fa(0x1f2)]):_0x3ab5fa(0x15f)===_0xd96860[_0xa738df][_0x3ab5fa(0x1d8)]&&(_0xd96860[_0xa738df][_0x3ab5fa(0x27f)][_0x3ab5fa(0x154)]=_0x2e7b7f[_0x3ab5fa(0x194)](_0xd96860[_0xa738df][_0x3ab5fa(0x1f2)]));}[_0x6cd535(0x22e)](_0x150951){const _0x55065c=_0x6cd535;for(let _0x1ea255=0x0;_0x1ea255<_0x150951[_0x55065c(0x153)];_0x1ea255++){if(_0x55065c(0x23a)===_0x150951[_0x1ea255][_0x55065c(0x1d8)])_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x154)]=_0x1ea255;else{if(_0x55065c(0x15f)===_0x150951[_0x1ea255][_0x55065c(0x1d8)]){_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x1a4)]=_0x1ea255;const _0x280647=_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x154)];_0x150951[_0x280647][_0x55065c(0x1f2)]=_0x150951[_0x1ea255]['id'],_0x150951[_0x1ea255][_0x55065c(0x1f2)]=_0x150951[_0x280647]['id'];}else _0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x154)]=_0x1ea255,_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x1a4)]=_0x1ea255,_0x150951[_0x1ea255][_0x55065c(0x1f2)]=null;}_0x150951[_0x1ea255][_0x55065c(0x240)]||(_0x150951[_0x1ea255][_0x55065c(0x240)]=[],_0x150951[_0x1ea255][_0x55065c(0x166)]=[]);}}[_0x6cd535(0x193)](_0x203254,_0x198bea){const _0x1a867e=_0x6cd535,_0x42ec5e=_0x203254[_0x1a867e(0x25c)](_0x345525=>!_0x345525[_0x1a867e(0x210)]);for(let _0x237f53=0x0;_0x237f53<_0x198bea[_0x1a867e(0x153)];_0x237f53++)_0x198bea[_0x237f53][_0x1a867e(0x210)]&&(_0x42ec5e[_0x237f53][_0x1a867e(0x210)]=_0x198bea[_0x237f53][_0x1a867e(0x210)]);}[_0x6cd535(0x1a7)](_0x20671){const _0x566030=_0x6cd535,_0xf06c6b=JSON[_0x566030(0x1dc)](_0x20671),_0x70a459=this[_0x566030(0x257)][_0x566030(0x1f8)][_0x566030(0x190)][_0x566030(0x24a)],_0x44fc5a=new _0x28c36f(_0x70a459,_0xf06c6b[_0x566030(0x1af)](_0x15ba1a=>this[_0x566030(0x1cd)](_0x15ba1a)));return this[_0x566030(0x257)][_0x566030(0x25d)][_0x566030(0x203)](_0x44fc5a);}[_0x6cd535(0x1cd)](_0x234bb7){const _0x200399=_0x6cd535,_0x110dc4=this[_0x200399(0x257)][_0x200399(0x1f8)][_0x200399(0x190)][_0x200399(0x24a)];if(_0x200399(0x1d3)==typeof _0x234bb7)return new _0xcef118(_0x110dc4,_0x234bb7);{const _0xbbcbc2=_0x234bb7[_0x200399(0x18b)][_0x200399(0x1af)](_0x4aba38=>this[_0x200399(0x1cd)](_0x4aba38));return new(tt[_0x234bb7[(_0x200399(0x1d8))]]||_0x3f4790)(_0x110dc4,_0x234bb7[_0x200399(0x22b)],_0x234bb7[_0x200399(0x14b)],_0xbbcbc2);}}[_0x6cd535(0x149)](_0x45f3de,_0x5653d6=null){const _0x353775=_0x6cd535,_0x428a64=this[_0x353775(0x19e)][_0x353775(0x16c)](_0x45f3de),_0x4da404=_0x5653d6?this[_0x353775(0x19e)][_0x353775(0x16c)](_0x5653d6):null,_0x165cf4=this[_0x353775(0x15e)](_0x428a64,_0x4da404),_0x1f38e7=_0x165cf4[_0x165cf4[_0x353775(0x153)]-0x1],_0x57b710=new Map(),_0x303a68={'model':{},'attributes':{},'changes':[]},_0x3ea777=new Set(),_0xcc1aed=new Map();for(let _0x1198e6=_0x165cf4[_0x353775(0x153)]-0x1;_0x1198e6>=0x0;_0x1198e6--){const _0x4298c4=_0x165cf4[_0x1198e6];for(const _0x41c1a9 of Object[_0x353775(0x1ea)](_0x4298c4[_0x353775(0x156)]))if(_0x4298c4[_0x353775(0x156)][_0x41c1a9][_0x353775(0x1b5)]){const _0x21eab3=_0x4298c4[_0x353775(0x156)][_0x41c1a9][_0x353775(0x1b5)];_0x21eab3[_0x353775(0x14e)]?(_0x3ea777[_0x353775(0x160)](_0x41c1a9),_0xcc1aed[_0x353775(0x1a6)](_0x41c1a9)&&_0xcc1aed[_0x353775(0x194)](_0x41c1a9)[_0x353775(0x17d)]==_0x21eab3[_0x353775(0x17d)]?_0xcc1aed[_0x353775(0x151)](_0x41c1a9):_0xcc1aed[_0x353775(0x1e3)](_0x41c1a9,_0x21eab3)):_0xcc1aed[_0x353775(0x1a6)](_0x41c1a9)?(_0x3ea777[_0x353775(0x151)](_0x41c1a9),_0xcc1aed[_0x353775(0x151)](_0x41c1a9)):(_0x3ea777[_0x353775(0x160)](_0x41c1a9),_0xcc1aed[_0x353775(0x1e3)](_0x41c1a9,_0x21eab3));}else _0x3ea777[_0x353775(0x160)](_0x41c1a9);}for(const _0x448e67 of _0x3ea777){const _0x428d39=_0xcc1aed[_0x353775(0x1a6)](_0x448e67)&&!_0xcc1aed[_0x353775(0x194)](_0x448e67)[_0x353775(0x14e)];let _0x334139=_0x428d39?_0x165cf4[_0x353775(0x153)]-0x1:0x0;const _0x31b723=_0x428d39?-0x1:0x1;for(;_0x165cf4[_0x334139];){const _0x167c94=_0x165cf4[_0x334139];if(_0x167c94[_0x353775(0x156)][_0x448e67]){const _0x2b8bf8=_0x428d39?_0x167c94[_0x353775(0x156)][_0x448e67][_0x353775(0x1f3)]:_0x167c94[_0x353775(0x156)][_0x448e67][_0x353775(0x164)];_0x303a68[_0x353775(0x14b)][_0x448e67]=_0x2b8bf8?_0x46b9ae(_0x2b8bf8):{};break;}_0x334139+=_0x31b723;}}for(const _0x242a19 of _0x165cf4){_0x242a19[_0x353775(0x277)]={};for(const _0x314ad8 of _0x242a19[_0x353775(0x170)])_0x57b710[_0x353775(0x1e3)](_0x314ad8['id'],_0x314ad8);for(const _0x4acfe5 of _0x3ea777){const _0x634cc=_0x242a19[_0x353775(0x156)][_0x4acfe5]?_0x242a19[_0x353775(0x156)][_0x4acfe5][_0x353775(0x21f)]:'[]',_0x240cf4=_0x242a19[_0x353775(0x156)][_0x4acfe5]?_0x242a19[_0x353775(0x156)][_0x4acfe5][_0x353775(0x1e4)]:'[]';_0x242a19[_0x353775(0x277)][_0x4acfe5]={'insertions':this[_0x353775(0x1a7)](_0x634cc),'deletions':this[_0x353775(0x1a7)](_0x240cf4)};}}for(const _0x3383c5 of _0x3ea777){let _0x4cdbff=null,_0x29083a=0x0;const _0x359f29=new Map(Array[_0x353775(0x1b1)](_0x428a64[_0x353775(0x277)][_0x3383c5][_0x353775(0x21f)][_0x353775(0x145)])[_0x353775(0x25c)](([_0x3dd06b])=>!_0x3dd06b[_0x353775(0x1c6)](_0x353775(0x157))));let _0x53d4b8=0x0;for(const _0x308b39 of _0x165cf4){const _0x269527=this[_0x353775(0x181)](_0x308b39[_0x353775(0x277)][_0x3383c5][_0x353775(0x21f)]);_0x308b39==_0x428a64?(_0x4cdbff=_0x269527,_0x29083a=_0x4cdbff[_0x353775(0x153)],_0x4cdbff[_0x353775(0x16a)](_0x20a793=>{_0x20a793['id']=_0x53d4b8++;}),this[_0x353775(0x22e)](_0x4cdbff)):this[_0x353775(0x193)](_0x4cdbff,_0x269527);const _0x38c9f9=_0x4cdbff[_0x353775(0x25c)](_0xe7a074=>!_0xe7a074[_0x353775(0x210)])[_0x353775(0x1af)](_0x2bcaaf=>_0x2bcaaf['id']);let _0x8d8d69=0x0;const _0x2e5d35=this[_0x353775(0x181)](_0x308b39[_0x353775(0x277)][_0x3383c5][_0x353775(0x1e4)]);_0x2e5d35[_0x353775(0x16a)](_0x44d842=>{const _0x4cb997=_0x353775;_0x44d842[_0x4cb997(0x1d9)]?_0x44d842['id']=_0x29083a++:_0x44d842['id']=_0x38c9f9[_0x8d8d69++];}),this[_0x353775(0x22e)](_0x2e5d35),this[_0x353775(0x1c7)](_0x4cdbff,_0x353775(0x210)),this[_0x353775(0x1c7)](_0x2e5d35,_0x353775(0x1d9)),_0x308b39==_0x428a64&&this[_0x353775(0x214)](_0x4cdbff,_0x359f29),_0x4cdbff=this[_0x353775(0x1d6)](_0x4cdbff,_0x2e5d35),this[_0x353775(0x226)](_0x4cdbff),this[_0x353775(0x1c7)](_0x4cdbff,_0x353775(0x1d9));}_0x4cdbff=_0x4cdbff[_0x353775(0x25c)](_0x12ceae=>!(_0x12ceae[_0x353775(0x210)]&&_0x12ceae[_0x353775(0x1d9)]));const _0x318b7e=new Map(_0x1f38e7[_0x353775(0x277)][_0x3383c5][_0x353775(0x1e4)][_0x353775(0x145)]),_0x599883=new Set(_0x359f29[_0x353775(0x1ea)]());for(const _0x5b847d of _0x318b7e[_0x353775(0x1ea)]())_0x599883[_0x353775(0x151)](_0x5b847d);this[_0x353775(0x218)](_0x4cdbff,_0x599883),this[_0x353775(0x1e6)](_0x4cdbff),_0x4cdbff=this[_0x353775(0x225)](_0x4cdbff),_0x4cdbff=this[_0x353775(0x22c)](_0x4cdbff),_0x4cdbff=this[_0x353775(0x1eb)](_0x4cdbff);const {root:_0xe8c31b,changes:_0x43bbe8}=this[_0x353775(0x280)](_0x4cdbff,_0x57b710,_0x3383c5);_0x303a68[_0x353775(0x277)][_0x3383c5]=_0xe8c31b;const _0xf00e7f=_0xcc1aed[_0x353775(0x194)](_0x3383c5);if(_0xf00e7f){const _0x3fe8f3=_0x57b710[_0x353775(0x194)](_0xf00e7f[_0x353775(0x17d)]),_0x1281c3=new _0x461639({'author':_0x3fe8f3,'type':_0xf00e7f[_0x353775(0x14e)]?_0x353775(0x160):_0x353775(0x252),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3383c5});_0x43bbe8[_0x353775(0x28c)](_0x1281c3),_0x303a68[_0x353775(0x14b)][_0x3383c5][_0x353775(0x26f)]=_0x1281c3['id'];}_0x303a68[_0x353775(0x1ca)]=_0x303a68[_0x353775(0x1ca)][_0x353775(0x259)](_0x43bbe8);}return _0x303a68;}[_0x6cd535(0x214)](_0x1bdb2f,_0x43b468){const _0x413248=_0x6cd535;for(let _0x297710=0x0;_0x297710<_0x1bdb2f[_0x413248(0x153)];_0x297710++)for(const [_0x99400c,_0x2dff3b]of _0x43b468)_0x2dff3b[_0x413248(0x1d1)][_0x413248(0x286)](_0x1bdb2f[_0x297710][_0x413248(0x1d7)])&&_0x1bdb2f[_0x297710][_0x413248(0x240)][_0x413248(0x1e7)](_0x99400c),_0x2dff3b[_0x413248(0x255)][_0x413248(0x286)](_0x1bdb2f[_0x297710][_0x413248(0x1bf)])&&_0x1bdb2f[_0x297710][_0x413248(0x166)][_0x413248(0x1e7)](_0x99400c);}[_0x6cd535(0x1d6)](_0x7fd4bb,_0x1fb1c0){const _0xece2c1=_0x6cd535;let _0x39e713=[],_0x47da67=0x0,_0x3c924a=0x0;for(;_0x47da67<_0x7fd4bb[_0xece2c1(0x153)]||_0x3c924a<_0x1fb1c0[_0xece2c1(0x153)];){const _0x44c2c4=_0x7fd4bb[_0x47da67]||{},_0x4bfa61=_0x1fb1c0[_0x3c924a]||{};if(_0x44c2c4['id']==_0x4bfa61['id'])_0x47da67++,_0x3c924a++,_0x39e713[_0xece2c1(0x1e7)](_0x44c2c4);else{if(_0x4bfa61[_0xece2c1(0x1d9)]&&_0x44c2c4[_0xece2c1(0x210)]){const {commonTape:_0x3a299d,iEnd:_0x8fb23c,jEnd:_0x284f21}=this[_0xece2c1(0x235)](_0x7fd4bb,_0x47da67,_0x1fb1c0,_0x3c924a);_0x39e713=_0x39e713[_0xece2c1(0x259)](_0x3a299d),_0x47da67=_0x8fb23c,_0x3c924a=_0x284f21;}else _0x4bfa61[_0xece2c1(0x1d9)]?(_0x3c924a++,_0x39e713[_0xece2c1(0x1e7)](_0x4bfa61)):(_0x47da67++,_0x39e713[_0xece2c1(0x1e7)](_0x44c2c4));}}return _0x39e713;}[_0x6cd535(0x218)](_0x13dc8c,_0x2ddba5){const _0x5881e0=_0x6cd535,_0x195543=[];for(let _0x25a8ee=0x0;_0x25a8ee<_0x13dc8c[_0x5881e0(0x153)];_0x25a8ee++){for(let _0x25eea7=0x0;_0x25eea7<_0x13dc8c[_0x25a8ee][_0x5881e0(0x240)][_0x5881e0(0x153)];_0x25eea7++){const _0x56d30d=_0x13dc8c[_0x25a8ee][_0x5881e0(0x240)][_0x25eea7];if(!_0x2ddba5[_0x5881e0(0x1a6)](_0x56d30d))continue;const {group:_0x3c2e57,type:_0xf94761,authorId:_0x5e9314}=_0x25903e(_0x56d30d);_0x5881e0(0x272)!=_0x3c2e57||_0x5881e0(0x1e9)!=_0xf94761&&_0x5881e0(0x1fe)!=_0xf94761||(_0x195543[_0x5881e0(0x28c)]({'type':_0xf94761,'name':_0x56d30d,'userId':_0x5e9314}),_0x13dc8c[_0x25a8ee][_0x5881e0(0x240)][_0x5881e0(0x1f4)](_0x25eea7,0x1),_0x25eea7--);}_0x2c9959(_0x13dc8c[_0x25a8ee]);for(let _0x5101b5=0x0;_0x5101b5<_0x13dc8c[_0x25a8ee][_0x5881e0(0x166)][_0x5881e0(0x153)];_0x5101b5++){const _0x14bc05=_0x13dc8c[_0x25a8ee][_0x5881e0(0x166)][_0x5101b5];if(!_0x2ddba5[_0x5881e0(0x1a6)](_0x14bc05))continue;const {group:_0x384294,type:_0x1e2711}=_0x25903e(_0x14bc05);if(_0x5881e0(0x272)!=_0x384294||_0x5881e0(0x1e9)!=_0x1e2711&&_0x5881e0(0x1fe)!=_0x1e2711)continue;_0x13dc8c[_0x25a8ee][_0x5881e0(0x166)][_0x5881e0(0x1f4)](_0x5101b5,0x1),_0x5101b5--;const _0x4f0f3b=_0x195543[_0x5881e0(0x207)](_0x25d183=>_0x25d183[_0x5881e0(0x22b)]==_0x14bc05);_0x4f0f3b>-0x1&&_0x195543[_0x5881e0(0x1f4)](_0x4f0f3b,0x1);}}function _0x25903e(_0xc9d1f9){const _0x4a72e7=_0x5881e0,_0xfd3b9e=_0xc9d1f9[_0x4a72e7(0x189)](':');return{'group':_0xfd3b9e[0x0],'type':_0xfd3b9e[0x1],'subType':_0xfd3b9e[_0x4a72e7(0x153)]>=0x5?_0xfd3b9e[0x2]:null,'id':_0xfd3b9e[_0x4a72e7(0x153)]<0x5?_0xfd3b9e[0x2]:_0xfd3b9e[0x3],'authorId':_0xfd3b9e[_0x4a72e7(0x153)]<0x5?_0xfd3b9e[0x3]:_0xfd3b9e[0x4],'markerCount':0x6==_0xfd3b9e[_0x4a72e7(0x153)]?_0xfd3b9e[0x5]:null};}function _0x2c9959(_0x2650da){const _0x4a1a7c=_0x5881e0;for(let _0xbca6b0=0x0;_0xbca6b0<_0x195543[_0x4a1a7c(0x153)];_0xbca6b0++){if(_0x2650da[_0x4a1a7c(0x210)]&&_0x4a1a7c(0x1e9)==_0x195543[_0xbca6b0][_0x4a1a7c(0x1d8)])return _0x2650da[_0x4a1a7c(0x254)]=_0x195543[_0xbca6b0],void delete _0x2650da[_0x4a1a7c(0x210)];if(!_0x2650da[_0x4a1a7c(0x210)]&&!_0x2650da[_0x4a1a7c(0x1d9)]&&_0x4a1a7c(0x1fe)==_0x195543[_0xbca6b0][_0x4a1a7c(0x1d8)])return void(_0x2650da[_0x4a1a7c(0x148)]=_0x195543[_0xbca6b0]);}}}[_0x6cd535(0x1c7)](_0x185cb5,_0x1df228){const _0x5d5f03=_0x6cd535;let _0x3ca025=0x0,_0x3ccf3b=!0x1;const _0x1c305c=new Map();for(const _0x5f43a3 of _0x185cb5)_0x5f43a3[_0x1df228]?_0x3ccf3b&&(_0x3ca025++,_0x3ccf3b=!0x1):(_0x3ca025++,_0x3ccf3b=!0x0),_0x1c305c[_0x5d5f03(0x1e3)](_0x5f43a3['id'],_0x3ca025);for(let _0xf6967=0x0;_0xf6967<_0x185cb5[_0x5d5f03(0x153)];_0xf6967++){if(_0x5d5f03(0x1d9)==_0x1df228&&_0x185cb5[_0xf6967][_0x5d5f03(0x210)]||_0x5d5f03(0x210)==_0x1df228&&_0x185cb5[_0xf6967][_0x5d5f03(0x1d9)])continue;if(_0x5d5f03(0x1a3)==_0x185cb5[_0xf6967][_0x5d5f03(0x1d8)]){_0x185cb5[_0xf6967][_0x5d5f03(0x14c)]=0x0;continue;}const _0x188823=_0x1c305c[_0x5d5f03(0x194)](_0x185cb5[_0xf6967][_0x5d5f03(0x1f2)]),_0x480443=_0x1c305c[_0x5d5f03(0x194)](_0x185cb5[_0xf6967]['id']);_0x185cb5[_0xf6967][_0x5d5f03(0x14c)]=_0x188823-_0x480443;}}[_0x6cd535(0x15e)](_0x3f59c0,_0x564b5b,_0x4ed067=!0x1){const _0x3b9231=_0x6cd535,_0x49a2dc=[];let _0x4aa8ed=this[_0x3b9231(0x19e)][_0x3b9231(0x1ce)](_0x3f59c0),_0x62208=this[_0x3b9231(0x19e)][_0x3b9231(0x1ce)](_0x564b5b);for(-0x1==_0x62208&&(_0x62208=this[_0x3b9231(0x19e)][_0x3b9231(0x271)][_0x3b9231(0x153)],_0x4ed067=!0x1);_0x4aa8ed<_0x62208;)_0x49a2dc[_0x3b9231(0x1e7)](this[_0x3b9231(0x19e)][_0x3b9231(0x16c)](_0x4aa8ed)),_0x4aa8ed++;return _0x4ed067&&_0x49a2dc[_0x3b9231(0x1e7)](this[_0x3b9231(0x19e)][_0x3b9231(0x16c)](_0x4aa8ed)),_0x49a2dc;}[_0x6cd535(0x235)](_0x43bc3b,_0x226d70,_0x513142,_0x10a8c6){const _0xaf6909=_0x6cd535,_0x54b524=this[_0xaf6909(0x257)][_0xaf6909(0x277)][_0xaf6909(0x221)];let _0x1ce1d9=_0x226d70;for(;_0x43bc3b[_0x1ce1d9]&&_0x43bc3b[_0x1ce1d9][_0xaf6909(0x210)];)_0x1ce1d9++;let _0x176aef=_0x10a8c6;for(;_0x513142[_0x176aef]&&_0x513142[_0x176aef][_0xaf6909(0x1d9)];)_0x176aef++;_0xff1b8(_0x43bc3b,_0x226d70,_0x1ce1d9),_0xff1b8(_0x513142,_0x10a8c6,_0x176aef);const _0x4cab8a=_0x513142[_0xaf6909(0x1ae)](_0x10a8c6,_0x176aef)[_0xaf6909(0x259)](_0x43bc3b[_0xaf6909(0x1ae)](_0x226d70,_0x1ce1d9));return _0x4cab8a[_0xaf6909(0x269)]((_0x50945d,_0x159537)=>_0x50945d[_0xaf6909(0x22a)]!=_0x159537[_0xaf6909(0x22a)]?_0x50945d[_0xaf6909(0x22a)]-_0x159537[_0xaf6909(0x22a)]:_0x50945d[_0xaf6909(0x242)]!=_0x159537[_0xaf6909(0x242)]?_0x50945d[_0xaf6909(0x242)]-_0x159537[_0xaf6909(0x242)]:_0x50945d[_0xaf6909(0x14c)]!=_0x159537[_0xaf6909(0x14c)]?_0x159537[_0xaf6909(0x14c)]-_0x50945d[_0xaf6909(0x14c)]:!!_0x50945d[_0xaf6909(0x210)]!=!!_0x159537[_0xaf6909(0x210)]?-0x1==_0x50945d[_0xaf6909(0x22a)]||0x0==_0x50945d[_0xaf6909(0x22a)]?_0x50945d[_0xaf6909(0x210)]?-0x1:0x1:_0x50945d[_0xaf6909(0x210)]?0x1:-0x1:_0x50945d[_0xaf6909(0x274)]-_0x159537[_0xaf6909(0x274)]),{'commonTape':_0x4cab8a,'iEnd':_0x1ce1d9,'jEnd':_0x176aef};function _0xff1b8(_0x16ef79,_0x2800a1,_0x962dad){const _0x406ce3=_0xaf6909;let _0x572e8f=-0x1,_0x120de9=Number[_0x406ce3(0x1ba)],_0x511535=!0x0;for(let _0x245ca4=_0x2800a1;_0x245ca4<_0x962dad;_0x245ca4++)if(_0x54b524[_0x406ce3(0x24f)](_0x16ef79[_0x245ca4][_0x406ce3(0x27f)])||(_0x511535=!0x1),_0x16ef79[_0x245ca4][_0x406ce3(0x27f)][_0x406ce3(0x154)]<_0x2800a1&&(_0x572e8f=_0x245ca4),_0x16ef79[_0x245ca4][_0x406ce3(0x27f)][_0x406ce3(0x1a4)]>=_0x962dad){_0x120de9=_0x245ca4;break;}_0x511535&&(_0x572e8f=_0x962dad-0x1);for(let _0x3a1780=_0x2800a1;_0x3a1780<_0x962dad;_0x3a1780++)_0x16ef79[_0x3a1780][_0x406ce3(0x22a)]=_0x3a1780<=_0x572e8f?-0x1:_0x3a1780<_0x120de9?0x0:0x1,_0x16ef79[_0x3a1780][_0x406ce3(0x274)]=_0x3a1780;let _0x26ef4f=0x0;for(let _0x35675c=_0x2800a1;_0x35675c<=_0x572e8f;_0x35675c++)0x0==_0x16ef79[_0x35675c][_0x406ce3(0x14c)]?_0x16ef79[_0x35675c][_0x406ce3(0x242)]=_0x26ef4f:(_0x26ef4f++,_0x16ef79[_0x35675c][_0x406ce3(0x242)]=_0x26ef4f,_0x26ef4f++);for(let _0x173e52=_0x2800a1;_0x173e52<_0x962dad;_0x173e52++)0x0==_0x16ef79[_0x173e52][_0x406ce3(0x22a)]&&(_0x16ef79[_0x173e52][_0x406ce3(0x242)]=_0x26ef4f);_0x26ef4f=0x0;for(let _0x141cb0=_0x962dad-0x1;_0x141cb0>=_0x120de9;_0x141cb0--)0x0==_0x16ef79[_0x141cb0][_0x406ce3(0x14c)]?_0x16ef79[_0x141cb0][_0x406ce3(0x242)]=_0x26ef4f:(_0x26ef4f--,_0x16ef79[_0x141cb0][_0x406ce3(0x242)]=_0x26ef4f,_0x26ef4f--);}}[_0x6cd535(0x1e6)](_0xcad5a9){const _0xfab683=_0x6cd535,_0x56b0ab=new Map(),_0x34b947=this[_0xfab683(0x257)][_0xfab683(0x277)][_0xfab683(0x221)];for(let _0x452062=0x1;_0x452062<_0xcad5a9[_0xfab683(0x153)];_0x452062++){let _0x3a43e7,_0x29ddc9,_0x3c2976;const _0x5bbdcb=_0xcad5a9[_0x452062],_0x4e843a=_0xcad5a9[_0x452062-0x1];if(_0xfab683(0x1a3)==_0x5bbdcb[_0xfab683(0x1d8)])continue;if(_0x5bbdcb[_0xfab683(0x1d8)]!=_0x4e843a[_0xfab683(0x1d8)])continue;if(!_0x34b947[_0xfab683(0x159)](_0x4e843a[_0xfab683(0x27f)])||_0x34b947[_0xfab683(0x205)](_0x4e843a[_0xfab683(0x27f)]))continue;if(!_0x34b947[_0xfab683(0x159)](_0x5bbdcb[_0xfab683(0x27f)])||_0x34b947[_0xfab683(0x205)](_0x5bbdcb[_0xfab683(0x27f)]))continue;if((_0xcad5a9[_0x452062][_0xfab683(0x210)]||_0xcad5a9[_0x452062][_0xfab683(0x254)])&&_0xcad5a9[_0x452062-0x1][_0xfab683(0x1d9)])_0x3a43e7=_0xcad5a9[_0x452062],_0x29ddc9=_0xcad5a9[_0x452062-0x1],_0x3c2976=_0x452062-0x1;else{if(!_0xcad5a9[_0x452062][_0xfab683(0x1d9)]||!_0xcad5a9[_0x452062-0x1][_0xfab683(0x210)]&&!_0xcad5a9[_0x452062-0x1][_0xfab683(0x254)])continue;_0x3a43e7=_0xcad5a9[_0x452062-0x1],_0x29ddc9=_0xcad5a9[_0x452062],_0x3c2976=_0x452062;}const _0x57500b=_0x3a43e7[_0xfab683(0x242)]==_0x29ddc9[_0xfab683(0x242)],_0x14de8c=Math[_0xfab683(0x28d)](_0x3a43e7[_0xfab683(0x242)])<Math[_0xfab683(0x28d)](_0x29ddc9[_0xfab683(0x242)])&&0x0==_0x29ddc9[_0xfab683(0x14c)];(_0x57500b||_0x14de8c)&&(_0x56b0ab[_0xfab683(0x1e3)](_0x29ddc9['id'],_0x3a43e7['id']),_0xcad5a9[_0xfab683(0x1f4)](_0x3c2976,0x1),_0x452062--,_0x3a43e7[_0xfab683(0x210)]=!0x1);}for(let _0x50a240=0x0;_0x50a240<_0xcad5a9[_0xfab683(0x153)];_0x50a240++)_0x56b0ab[_0xfab683(0x1a6)](_0xcad5a9[_0x50a240][_0xfab683(0x1f2)])&&(_0xcad5a9[_0x50a240][_0xfab683(0x1f2)]=_0x56b0ab[_0xfab683(0x194)](_0xcad5a9[_0x50a240][_0xfab683(0x1f2)]));}[_0x6cd535(0x225)](_0x2d42d2){const _0x126325=_0x6cd535,_0x5d58af=new Set(_0x2d42d2[_0x126325(0x1af)](_0x17f471=>_0x17f471['id']));for(let _0x1a7899=0x0;_0x1a7899<_0x2d42d2[_0x126325(0x153)];_0x1a7899++)_0x5d58af[_0x126325(0x1a6)](_0x2d42d2[_0x1a7899][_0x126325(0x1f2)])||0x0==_0x2d42d2[_0x1a7899][_0x126325(0x14c)]||(_0x2d42d2[_0x1a7899][_0x126325(0x204)]=!0x0);return _0x2d42d2[_0x126325(0x25c)](_0x553edf=>!_0x553edf[_0x126325(0x204)]);}[_0x6cd535(0x22c)](_0x41b50c){const _0x177a42=_0x6cd535,_0x32dafb=new Set();for(let _0xa37132=0x0;_0xa37132<_0x41b50c[_0x177a42(0x153)];_0xa37132++){if(_0x32dafb[_0x177a42(0x1a6)](_0x41b50c[_0xa37132]['id'])&&_0x41b50c[_0xa37132][_0x177a42(0x1d9)]&&(_0x41b50c[_0xa37132][_0x177a42(0x204)]=!0x0),_0x41b50c[_0xa37132][_0x177a42(0x204)])continue;if(0x0==_0x41b50c[_0xa37132][_0x177a42(0x14c)])continue;if(_0x177a42(0x23a)!=_0x41b50c[_0xa37132][_0x177a42(0x1d8)])continue;if(null==_0x41b50c[_0xa37132][_0x177a42(0x1f2)])continue;let _0x2cfbd0=_0xa37132+0x1,_0x14ad29=0x0;for(;_0x41b50c[_0x2cfbd0]['id']!=_0x41b50c[_0xa37132][_0x177a42(0x1f2)];)_0x177a42(0x23a)==_0x41b50c[_0x2cfbd0][_0x177a42(0x1d8)]?_0x14ad29++:_0x177a42(0x15f)==_0x41b50c[_0x2cfbd0][_0x177a42(0x1d8)]&&_0x14ad29--,_0x2cfbd0++;if(0x0!=_0x14ad29){if(_0x41b50c[_0xa37132][_0x177a42(0x1d9)])_0x41b50c[_0xa37132][_0x177a42(0x204)]=!0x0;else{for(;_0x2cfbd0!=_0xa37132;)_0x41b50c[_0x2cfbd0][_0x177a42(0x1d9)]&&0x0!=_0x41b50c[_0x2cfbd0][_0x177a42(0x14c)]&&(_0x41b50c[_0x2cfbd0][_0x177a42(0x204)]=!0x0,_0x32dafb[_0x177a42(0x160)](_0x41b50c[_0x2cfbd0][_0x177a42(0x1f2)])),_0x2cfbd0--;}}}return _0x41b50c[_0x177a42(0x25c)](_0xc4d365=>!_0xc4d365[_0x177a42(0x204)]);}[_0x6cd535(0x1eb)](_0x3336d8){const _0x158e3f=_0x6cd535,_0x523ba1=this[_0x158e3f(0x257)][_0x158e3f(0x277)][_0x158e3f(0x221)];for(let _0x3dd005=0x0;_0x3dd005<_0x3336d8[_0x158e3f(0x153)];_0x3dd005++){if(!(_0x3336d8[_0x3dd005][_0x158e3f(0x210)]||_0x3336d8[_0x3dd005][_0x158e3f(0x254)]||_0x3336d8[_0x3dd005][_0x158e3f(0x1d9)]||_0x3336d8[_0x3dd005][_0x158e3f(0x148)]))continue;if(0x0==_0x3336d8[_0x3dd005][_0x158e3f(0x14c)])continue;const _0x54f960=_0x3336d8[_0x3dd005][_0x158e3f(0x27f)];_0x523ba1[_0x158e3f(0x159)](_0x54f960)||_0x523ba1[_0x158e3f(0x205)](_0x54f960)||(_0x3336d8[_0x3dd005][_0x158e3f(0x210)]&&delete _0x3336d8[_0x3dd005][_0x158e3f(0x210)],_0x3336d8[_0x3dd005][_0x158e3f(0x254)]&&delete _0x3336d8[_0x3dd005][_0x158e3f(0x254)],_0x3336d8[_0x3dd005][_0x158e3f(0x148)]&&delete _0x3336d8[_0x3dd005][_0x158e3f(0x148)],_0x3336d8[_0x3dd005][_0x158e3f(0x1d9)]&&(_0x3336d8[_0x3dd005][_0x158e3f(0x204)]=!0x0));}return _0x3336d8[_0x158e3f(0x25c)](_0x2597c2=>!_0x2597c2[_0x158e3f(0x204)]);}[_0x6cd535(0x280)](_0x591f8d,_0x144919,_0x454378){const _0xa792ac=_0x6cd535,_0x498247=new _0x2e5aa5(),_0x4a9ac3=[],_0x50b842=new Map(),_0x507b78=this[_0xa792ac(0x257)][_0xa792ac(0x277)],_0x291893=_0x507b78[_0xa792ac(0x221)],_0x40f8f6=[_0x498247],_0x543dd5={},_0xfe9a23={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x499e93=null;const _0x3bff57=[0x0];for(let _0x46bfed=0x0;_0x46bfed<_0x591f8d[_0xa792ac(0x153)];_0x46bfed++){let _0x25b0a8,_0x1a724b;if(_0xa792ac(0x23a)===_0x591f8d[_0x46bfed][_0xa792ac(0x1d8)]){_0x25b0a8=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57);const _0x32c98e=new _0x4e1cb8(_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x22b)],_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x20c)]());_0x40f8f6[0x0][_0xa792ac(0x1f1)](_0x32c98e),_0x3bff57[_0xa792ac(0x1e7)](0x0),_0x40f8f6[_0xa792ac(0x28c)](_0x32c98e),_0x1a724b=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x499e93=null;}else{if(_0xa792ac(0x15f)===_0x591f8d[_0x46bfed][_0xa792ac(0x1d8)])_0x40f8f6[_0xa792ac(0x258)](),_0x25b0a8=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x3bff57[_0xa792ac(0x1c4)](),_0x3bff57[_0x3bff57[_0xa792ac(0x153)]-0x1]++,_0x1a724b=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x499e93=null;else{if(_0x25b0a8=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x499e93&&_0x4799b5(_0x499e93,_0x591f8d[_0x46bfed][_0xa792ac(0x27f)]))_0x499e93[_0xa792ac(0x1db)]+=_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x25d)];else{const _0x4f716e=new _0x1d5c40(_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x25d)],_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x20c)]());_0x40f8f6[0x0][_0xa792ac(0x1f1)](_0x4f716e),_0x499e93=_0x4f716e;}_0x3bff57[_0x3bff57[_0xa792ac(0x153)]-0x1]+=_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x1f9)],_0x1a724b=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57);}}for(const _0x2df48b of _0x591f8d[_0x46bfed][_0xa792ac(0x240)])_0x50b842[_0xa792ac(0x1e3)](_0x2df48b,{'start':_0x25b0a8,'end':null});_0x46f4bc(_0xa792ac(0x148),_0x46bfed,_0x25b0a8,_0x1a724b),_0x46f4bc(_0xa792ac(0x254),_0x46bfed,_0x25b0a8,_0x1a724b),_0x46f4bc(_0xa792ac(0x1d9),_0x46bfed,_0x25b0a8,_0x1a724b),_0x46f4bc(_0xa792ac(0x210),_0x46bfed,_0x25b0a8,_0x1a724b);for(const _0x10fd2d of _0x591f8d[_0x46bfed][_0xa792ac(0x166)]){_0x50b842[_0xa792ac(0x194)](_0x10fd2d)[_0xa792ac(0x255)]=_0x1a724b;}}for(const [_0x389cd4,_0x358b69]of _0x50b842){const _0xe71256=this[_0xa792ac(0x257)][_0xa792ac(0x277)][_0xa792ac(0x19a)](_0x358b69[_0xa792ac(0x1d1)],_0x358b69[_0xa792ac(0x255)]);_0x498247[_0xa792ac(0x145)][_0xa792ac(0x1e3)](_0x389cd4,_0xe71256);}return _0x4a9ac3[_0xa792ac(0x269)]((_0x955eb6,_0x19a482)=>{const _0x481806=_0xa792ac,_0x285d77=_0x498247[_0x481806(0x145)][_0x481806(0x194)](_0x481806(0x157)+_0x955eb6['id']),_0x3f21f8=_0x498247[_0x481806(0x145)][_0x481806(0x194)](_0x481806(0x157)+_0x19a482['id']);return _0x285d77[_0x481806(0x1d1)][_0x481806(0x1f7)](_0x3f21f8[_0x481806(0x1d1)])?-0x1:_0x285d77[_0x481806(0x1d1)][_0x481806(0x1f6)](_0x3f21f8[_0x481806(0x1d1)])?0x1:_0x285d77[_0x481806(0x255)][_0x481806(0x1f7)](_0x3f21f8[_0x481806(0x255)])?-0x1:_0x285d77[_0x481806(0x255)][_0x481806(0x1f6)](_0x3f21f8[_0x481806(0x255)])?0x1:_0x481806(0x160)===_0x955eb6[_0x481806(0x1d8)]?-0x1:0x1;}),{'root':_0x498247,'changes':_0x4a9ac3};function _0x46f4bc(_0x24dd16,_0x5b3aa4,_0x3604b0,_0x4cab4f){const _0x34d658=_0xa792ac,_0x3c54d5=!!_0x591f8d[_0x5b3aa4][_0x24dd16],_0x3a6d90=_0x3c54d5?_0x591f8d[_0x5b3aa4][_0x24dd16][_0x34d658(0x17d)]:null,_0x1efd93=_0x5b3aa4===_0x591f8d[_0x34d658(0x153)]-0x1,_0x16968b=_0xfe9a23[_0x24dd16][0x0],_0x24e6a3=_0x291893[_0x34d658(0x1ac)](_0x591f8d[_0x5b3aa4][_0x34d658(0x27f)]);!_0x543dd5[_0x24dd16]&&_0x3c54d5?_0x543dd5[_0x24dd16]={'start':_0x3604b0,'tapeItem':_0x591f8d[_0x5b3aa4],'userId':_0x3a6d90,'type':_0x24dd16}:_0x543dd5[_0x24dd16]&&!_0x3c54d5?(_0x543dd5[_0x24dd16][_0x34d658(0x255)]=_0x3604b0,_0xdd2369(_0x543dd5[_0x24dd16]),_0x543dd5[_0x24dd16]=null):_0x543dd5[_0x24dd16]&&_0x3c54d5&&_0x543dd5[_0x24dd16][_0x34d658(0x17d)]!==_0x3a6d90&&(_0x543dd5[_0x24dd16][_0x34d658(0x255)]=_0x3604b0,_0x16968b&&_0x16968b[_0x34d658(0x17d)]===_0x543dd5[_0x24dd16][_0x34d658(0x17d)]||_0xdd2369(_0x543dd5[_0x24dd16]),_0x543dd5[_0x24dd16]={'start':_0x3604b0,'tapeItem':_0x591f8d[_0x5b3aa4],'userId':_0x3a6d90,'type':_0x24dd16}),_0x543dd5[_0x24dd16]&&_0x24e6a3&&(_0x34d658(0x23a)!==_0x591f8d[_0x5b3aa4][_0x34d658(0x1d8)]||_0x16968b&&_0x16968b[_0x34d658(0x17d)]===_0x3a6d90||_0xfe9a23[_0x24dd16][_0x34d658(0x28c)]({'userId':_0x3a6d90,'object':_0x591f8d[_0x5b3aa4][_0x34d658(0x27f)],'change':_0x543dd5[_0x24dd16]}),_0x34d658(0x15f)===_0x591f8d[_0x5b3aa4][_0x34d658(0x1d8)]&&_0x16968b&&_0x16968b[_0x34d658(0x171)]===_0x591f8d[_0x5b3aa4][_0x34d658(0x27f)]&&(_0xfe9a23[_0x24dd16][_0x34d658(0x258)](),_0x543dd5[_0x24dd16]=_0x16968b[_0x34d658(0x228)])),_0x543dd5[_0x24dd16]&&_0x1efd93&&(_0x543dd5[_0x24dd16][_0x34d658(0x255)]=_0x4cab4f,_0xdd2369(_0x543dd5[_0x24dd16]),_0x543dd5[_0x24dd16]=null);}function _0xdd2369({start:_0xcb02e3,end:_0x3b7d17,tapeItem:_0x2aa79e,userId:_0x2e5e1c,type:_0x15c024}){const _0x5375f2=_0xa792ac,_0x3f80a7=_0x2aa79e[_0x5375f2(0x27f)],_0x5ee74e=_0x507b78[_0x5375f2(0x221)][_0x5375f2(0x159)](_0x3f80a7)&&!_0x507b78[_0x5375f2(0x221)][_0x5375f2(0x205)](_0x3f80a7),_0xa10314=_0xcb02e3[_0x5375f2(0x20f)]==_0x3b7d17[_0x5375f2(0x25b)]&&_0x3b7d17[_0x5375f2(0x1bd)];if(_0x5ee74e&&_0xa10314)return;const _0xb5eb68=_0x507b78[_0x5375f2(0x19a)](_0xcb02e3,_0x3b7d17),_0x324fdb=_0x144919[_0x5375f2(0x194)](_0x2e5e1c),_0x4e4efb=new _0x461639({'author':_0x324fdb,'type':_0x5375f2(0x210)==_0x15c024||_0x5375f2(0x254)==_0x15c024?_0x5375f2(0x160):_0x5375f2(0x252),'data':{'isSuggestion':_0x5375f2(0x254)==_0x15c024||_0x5375f2(0x148)==_0x15c024},'createdAt':new Date(),'rootName':_0x454378});_0x4a9ac3[_0x5375f2(0x1e7)](_0x4e4efb),_0x498247[_0x5375f2(0x145)][_0x5375f2(0x1e3)](_0x5375f2(0x157)+_0x4e4efb['id'],_0xb5eb68);}function _0x4799b5(_0x490371,_0x426783){const _0x59d75a=_0xa792ac,_0x5462d0=_0x490371[_0x59d75a(0x20c)](),_0xc822a5=_0x426783[_0x59d75a(0x20c)]();for(const _0xad135d of _0x5462d0){if(_0xad135d[0x1]!==_0x426783[_0x59d75a(0x1b7)](_0xad135d[0x0]))return!0x1;_0xc822a5[_0x59d75a(0x260)]();}return _0xc822a5[_0x59d75a(0x260)]()[_0x59d75a(0x267)];}}[_0x6cd535(0x244)](){const _0x611909=_0x6cd535;this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x142)]({'view':_0x611909(0x15c)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x263))[_0x611909(0x17a)]({'model':_0x611909(0x15c),'view':_0x5d2cb1=>{const _0x938904=_0x611909,_0x2868e6=_0x5d2cb1[_0x938904(0x1fd)][_0x938904(0x189)](':')[0x1],_0x4ccd88=this[_0x938904(0x21c)](_0x2868e6);if(!_0x4ccd88)return null;const _0x42f84c=_0x938904(0x160)==_0x4ccd88[_0x938904(0x1d8)]?_0x938904(0x1e9):_0x938904(0x1fe),_0x508203=[_0x938904(0x26e),_0x938904(0x250)+_0x42f84c];return _0x4ccd88[_0x938904(0x25d)][_0x938904(0x23b)]&&_0x508203[_0x938904(0x1e7)](_0x938904(0x250)+_0x42f84c+_0x938904(0x276)),this[_0x938904(0x1d4)]==_0x4ccd88&&_0x508203[_0x938904(0x1e7)](_0x938904(0x208)),{'classes':_0x508203,'attributes':{'data-change-id':_0x2868e6}};}}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x160)](_0x506783=>{const _0x3afa19=_0x611909;_0x506783['on'](_0x3afa19(0x247),(_0x439938,_0x3e1847,_0x1e16a3)=>{const _0x4ccb41=_0x3afa19,_0x2e4a1f=_0x3e1847[_0x4ccb41(0x266)][_0x4ccb41(0x1de)](0x0);if(!_0x2e4a1f||!_0x2e4a1f['is'](_0x4ccb41(0x237),_0x4ccb41(0x21d)))return;if(!_0x1e16a3[_0x4ccb41(0x1bb)][_0x4ccb41(0x1ab)](_0x2e4a1f,{'attributes':[_0x4ccb41(0x17e),_0x4ccb41(0x1ad)]}))return;const _0x1173b3=_0x3e1847[_0x4ccb41(0x177)][_0x4ccb41(0x1d1)][_0x4ccb41(0x20f)];_0x1e16a3[_0x4ccb41(0x196)][_0x4ccb41(0x143)](_0x4ccb41(0x17e),_0x2e4a1f[_0x4ccb41(0x1b7)](_0x4ccb41(0x17e)),_0x1173b3),_0x1e16a3[_0x4ccb41(0x196)][_0x4ccb41(0x143)](_0x4ccb41(0x1ad),_0x2e4a1f[_0x4ccb41(0x1b7)](_0x4ccb41(0x1ad)),_0x1173b3);},{'priority':_0x3afa19(0x245)});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x160)](_0x34ef6b=>{const _0x198d09=_0x611909;_0x34ef6b['on'](_0x198d09(0x237),(_0x5c80f4,_0x392a33,_0x367bee)=>{const _0x194305=_0x198d09;if(!_0x367bee[_0x194305(0x1bb)][_0x194305(0x1ab)](_0x392a33[_0x194305(0x266)],{'attributes':[_0x194305(0x17e),_0x194305(0x1ad)]}))return;if(_0x392a33[_0x194305(0x177)][_0x194305(0x158)])return;const _0x11e41f=_0x392a33[_0x194305(0x177)][_0x194305(0x1d1)][_0x194305(0x20f)];_0x11e41f[_0x194305(0x253)](_0x194305(0x17e))||_0x11e41f[_0x194305(0x253)](_0x194305(0x289))||(_0x367bee[_0x194305(0x196)][_0x194305(0x143)](_0x194305(0x17e),_0x392a33[_0x194305(0x266)][_0x194305(0x1b7)](_0x194305(0x17e)),_0x11e41f),_0x367bee[_0x194305(0x196)][_0x194305(0x143)](_0x194305(0x1ad),_0x392a33[_0x194305(0x266)][_0x194305(0x1b7)](_0x194305(0x1ad)),_0x11e41f));},{'priority':_0x198d09(0x245)});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x1e1)]({'view':{'name':_0x611909(0x165),'attributes':{'vid':!0x0}},'model':{'key':_0x611909(0x289),'value':_0x2f57d7=>_0x2f57d7[_0x611909(0x1b7)](_0x611909(0x289))}}),this[_0x611909(0x257)][_0x611909(0x277)][_0x611909(0x221)]['on'](_0x611909(0x256),(_0x3dbe1d,[,_0x521d18])=>{const _0x1d6f22=_0x611909;[_0x1d6f22(0x17e),_0x1d6f22(0x1ad),_0x1d6f22(0x289)][_0x1d6f22(0x27c)](_0x521d18)&&(_0x3dbe1d[_0x1d6f22(0x1a8)]=!0x0,_0x3dbe1d[_0x1d6f22(0x21a)]());},{'priority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x1c1))[_0x611909(0x160)](_0x35133d=>{const _0x3dd77e=_0x611909;_0x35133d['on'](_0x3dd77e(0x25a),(_0x66680c,_0x5329ad,_0x300fd)=>{const _0x26d931=_0x3dd77e;if('\x20'!=_0x5329ad[_0x26d931(0x27f)][_0x26d931(0x25d)]||_0x5329ad[_0x26d931(0x27f)][_0x26d931(0x25b)][_0x26d931(0x1df)]>0x1)return;if(!_0x300fd[_0x26d931(0x1bb)][_0x26d931(0x1ab)](_0x5329ad[_0x26d931(0x27f)],_0x66680c[_0x26d931(0x22b)]))return;const _0xe21b97=_0x300fd[_0x26d931(0x196)],_0x465f42=_0x300fd[_0x26d931(0x150)][_0x26d931(0x1c2)](_0x5329ad[_0x26d931(0x19c)]);_0xe21b97[_0x26d931(0x285)](_0x465f42,_0xe21b97[_0x26d931(0x1b9)](_0x26d931(0x165)));});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x1c1))[_0x611909(0x292)]({'model':_0x611909(0x15c)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x249),function(_0x281715){const _0x1a3d64=_0x611909,_0x3633f1=_0x281715[_0x1a3d64(0x162)][_0x1a3d64(0x194)](_0x1a3d64(0x1c8));return(_0x4d56df,_0xd25cd8,_0x410b70)=>{const _0xf9a004=_0x1a3d64,_0x57c92b=_0xd25cd8[_0xf9a004(0x1fd)][_0xf9a004(0x189)](':')[0x1],_0x355979=_0x3633f1[_0xf9a004(0x21c)](_0x57c92b);if(!_0x355979)return null;const _0x50a569=_0xf9a004(0x160)==_0x355979[_0xf9a004(0x1d8)]?_0xf9a004(0x189):_0xf9a004(0x1e2);if(!_0x410b70[_0xf9a004(0x1bb)][_0xf9a004(0x1aa)](_0xd25cd8[_0xf9a004(0x20e)],_0x4d56df[_0xf9a004(0x22b)]))return;const _0x410475=_0xd25cd8[_0xf9a004(0x20e)][_0xf9a004(0x1dd)](),_0x46b521=_0xd25cd8[_0xf9a004(0x20e)][_0xf9a004(0x1d1)],_0x4fdd60=_0x281715[_0xf9a004(0x277)][_0xf9a004(0x221)];let _0x4fb079=null,_0x23cd27=null,_0x218b8b=!0x1,_0x159541=!0x1;for(const _0x49f0c6 of _0x410475){const _0x3db6c5=_0x49f0c6[_0xf9a004(0x27f)];_0x218b8b=_0x218b8b||_0x4fdd60[_0xf9a004(0x1be)](_0x3db6c5);const _0x5aeea9=_0x410b70[_0xf9a004(0x150)][_0xf9a004(0x24c)](_0x3db6c5);if(_0x5aeea9&&_0x5aeea9[_0xf9a004(0x1b4)](_0xf9a004(0x24b)))return;_0xf9a004(0x15f)==_0x49f0c6[_0xf9a004(0x1d8)]&&(_0x4fdd60[_0xf9a004(0x159)](_0x3db6c5)&&!_0x4fdd60[_0xf9a004(0x205)](_0x3db6c5)&&(_0x3db6c5[_0xf9a004(0x279)]||_0x46b521[_0xf9a004(0x18e)]?_0x4fb079&&_0x4fb079[_0xf9a004(0x25b)]==_0x3db6c5||(_0x4fb079=_0x3db6c5,_0x5d6dce(_0x49f0c6[_0xf9a004(0x1d7)]),_0x159541=!0x0):_0x23cd27=_0x23cd27||_0x49f0c6[_0xf9a004(0x1d7)]));}function _0x5d6dce(_0x300080){const _0xb74b56=_0xf9a004,_0x256757=_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x264)](_0xb74b56(0x165),{'class':_0xb74b56(0x250)+_0x50a569}),_0x19c8e9=_0x410b70[_0xb74b56(0x150)][_0xb74b56(0x18d)](_0x300080);_0x355979[_0xb74b56(0x25d)][_0xb74b56(0x23b)]&&_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x20a)](_0xb74b56(0x250)+_0x50a569+_0xb74b56(0x276),_0x256757),_0x3633f1[_0xb74b56(0x1d4)]==_0x355979&&_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x20a)](_0xb74b56(0x208),_0x256757),_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x232)](_0x19c8e9,_0x256757),_0x410b70[_0xb74b56(0x150)][_0xb74b56(0x15b)](_0x256757,_0xd25cd8[_0xb74b56(0x1fd)]);}_0x218b8b||_0x159541||!_0x23cd27||_0x5d6dce(_0x23cd27);};}(this[_0x611909(0x257)]),{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x1b6),(_0x340e01,_0x54eb01,_0x49419b)=>{const _0x51efa7=_0x611909,_0x2cb92d=_0x49419b[_0x51efa7(0x150)][_0x51efa7(0x1d2)](_0x54eb01[_0x51efa7(0x1fd)]);if(_0x2cb92d){for(const _0x193764 of _0x2cb92d)(_0x193764[_0x51efa7(0x281)](_0x51efa7(0x176))||_0x193764[_0x51efa7(0x281)](_0x51efa7(0x209)))&&(_0x49419b[_0x51efa7(0x150)][_0x51efa7(0x251)](_0x193764,_0x54eb01[_0x51efa7(0x1fd)]),_0x49419b[_0x51efa7(0x196)][_0x51efa7(0x252)](_0x193764));}},{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x249),(_0x5b6f92,_0x26dc52,_0x132a56)=>{const _0x489cd7=_0x611909,_0x83b826=_0x26dc52[_0x489cd7(0x1fd)][_0x489cd7(0x189)](':')[0x1],_0x1ec7fd=this[_0x489cd7(0x21c)](_0x83b826);if(!_0x1ec7fd)return null;const _0x38b0fb=_0x489cd7(0x160)==_0x1ec7fd[_0x489cd7(0x1d8)]?_0x489cd7(0x189):_0x489cd7(0x1e2);if(_0x132a56[_0x489cd7(0x1bb)][_0x489cd7(0x1aa)](_0x26dc52[_0x489cd7(0x20e)],_0x5b6f92[_0x489cd7(0x22b)]))for(const _0x25362d of _0x26dc52[_0x489cd7(0x20e)][_0x489cd7(0x238)]()){if(!_0x25362d['is'](_0x489cd7(0x237),_0x489cd7(0x200)))continue;const _0x125f03=_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x264)](_0x489cd7(0x165),{'class':_0x489cd7(0x250)+_0x38b0fb}),_0x10de79=_0x132a56[_0x489cd7(0x150)][_0x489cd7(0x18d)](this[_0x489cd7(0x257)][_0x489cd7(0x277)][_0x489cd7(0x17b)](_0x25362d));_0x1ec7fd[_0x489cd7(0x25d)][_0x489cd7(0x23b)]&&_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x20a)](_0x489cd7(0x250)+_0x38b0fb+_0x489cd7(0x276),_0x125f03),this[_0x489cd7(0x1d4)]==_0x1ec7fd&&_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x20a)](_0x489cd7(0x208),_0x125f03),_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x232)](_0x10de79,_0x125f03),_0x132a56[_0x489cd7(0x150)][_0x489cd7(0x15b)](_0x125f03,_0x26dc52[_0x489cd7(0x1fd)]);}},{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x277)][_0x611909(0x24a)]['on'](_0x611909(0x228),()=>{const _0x3f08de=_0x611909;this[_0x3f08de(0x257)][_0x3f08de(0x1f8)][_0x3f08de(0x190)][_0x3f08de(0x228)](_0x560fcd=>{const _0x505b63=_0x3f08de;for(const _0x45d25d of this[_0x505b63(0x257)][_0x505b63(0x277)][_0x505b63(0x24a)][_0x505b63(0x23e)]()){const _0x723ab0=this[_0x505b63(0x257)][_0x505b63(0x277)][_0x505b63(0x24a)][_0x505b63(0x275)](_0x45d25d),_0x27d91f=this[_0x505b63(0x257)][_0x505b63(0x1f8)][_0x505b63(0x190)][_0x505b63(0x24a)][_0x505b63(0x275)](_0x45d25d);if(_0x27d91f){const _0x3a5ae6=_0x723ab0[_0x505b63(0x1b7)](_0x505b63(0x26f));if(_0x560fcd[_0x505b63(0x1d0)](_0x505b63(0x1e0),_0x27d91f),_0x560fcd[_0x505b63(0x172)](_0x505b63(0x1cf),_0x27d91f),_0x560fcd[_0x505b63(0x172)](_0x505b63(0x19d),_0x27d91f),_0x560fcd[_0x505b63(0x172)](_0x505b63(0x291),_0x27d91f),_0x3a5ae6){const _0x427ec6=this[_0x505b63(0x21c)](_0x3a5ae6);if(!_0x427ec6)return null;_0x560fcd[_0x505b63(0x143)](_0x505b63(0x1e0),_0x3a5ae6,_0x27d91f),_0x560fcd[_0x505b63(0x20a)](_0x505b63(0x26d)+_0x427ec6[_0x505b63(0x1d8)],_0x27d91f),this[_0x505b63(0x1d4)]==_0x427ec6&&_0x560fcd[_0x505b63(0x20a)](_0x505b63(0x291),_0x27d91f);}}}});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x142)]({'view':_0x611909(0x1fc),'model':_0x33b29c=>_0x611909(0x239)+_0x33b29c,'converterPriority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x142)]({'view':_0x611909(0x278),'model':_0x37320a=>_0x611909(0x201)+_0x37320a,'converterPriority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x1c1))[_0x611909(0x292)]({'model':_0x611909(0x272),'view':_0x159d0d=>({'name':_0x611909(0x215)+_0x159d0d,'group':_0x611909(0x272)}),'converterPriority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x263))[_0x611909(0x17a)]({'model':_0x611909(0x272),'view':_0x2e4e96=>{const _0x50a46f=_0x611909,_0x3c5623=_0x2e4e96[_0x50a46f(0x1fd)][_0x50a46f(0x189)](':')[0x1];return _0x50a46f(0x1e9)!=_0x3c5623&&_0x50a46f(0x1fe)!=_0x3c5623?null:{'classes':[_0x50a46f(0x1c9),_0x50a46f(0x1ee)+_0x3c5623]};}}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x147),et(this[_0x611909(0x257)],_0x611909(0x1e2)),{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x1ff),et(this[_0x611909(0x257)],_0x611909(0x189)),{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x211),(_0x1bf84c,_0x280f43,_0x23f98e)=>{const _0x1fdbf5=_0x611909,_0x590b6e=_0x23f98e[_0x1fdbf5(0x150)][_0x1fdbf5(0x1d2)](_0x280f43[_0x1fdbf5(0x1fd)]);if(_0x590b6e){for(const _0x11bd8f of _0x590b6e)_0x11bd8f['is'](_0x1fdbf5(0x1a0))&&(_0x23f98e[_0x1fdbf5(0x150)][_0x1fdbf5(0x251)](_0x11bd8f,_0x280f43[_0x1fdbf5(0x1fd)]),_0x23f98e[_0x1fdbf5(0x196)][_0x1fdbf5(0x252)](_0x11bd8f));}},{'priority':_0x611909(0x16d)});}[_0x6cd535(0x21c)](_0x36ffdc){const _0x11e296=_0x6cd535;return this[_0x11e296(0x241)][_0x11e296(0x194)](_0x36ffdc);}[_0x6cd535(0x283)](_0x265e2a){const _0x75eca0=_0x6cd535;return this[_0x75eca0(0x1ec)]&&this[_0x75eca0(0x1ec)][_0x75eca0(0x1b3)](),this[_0x75eca0(0x1ec)]=new _0x174bc2(this[_0x75eca0(0x257)][_0x75eca0(0x246)],_0x265e2a),this[_0x75eca0(0x1ec)];}[_0x6cd535(0x213)](){const _0x4e9c74=_0x6cd535;this[_0x4e9c74(0x257)][_0x4e9c74(0x277)][_0x4e9c74(0x24a)][_0x4e9c74(0x268)][_0x4e9c74(0x175)](_0x4e9c74(0x15c)),this['on'](_0x4e9c74(0x1a5),(_0x3ae1d1,_0x123c79,_0x228c6d,_0x57483b)=>{const _0x40dffe=_0x4e9c74;_0x57483b&&this[_0x40dffe(0x20b)][_0x40dffe(0x252)](_0x57483b),_0x228c6d&&(this[_0x40dffe(0x20b)][_0x40dffe(0x160)]({'view':_0x228c6d,'stackId':_0x40dffe(0x1e8),'position':{'target':()=>{const _0x2ae0fa=_0x40dffe,_0x1c304a=this[_0x2ae0fa(0x257)][_0x2ae0fa(0x1f8)],_0x2358f6=this[_0x2ae0fa(0x21c)](_0x228c6d[_0x2ae0fa(0x167)]);let _0x1f2cbd;if(_0x2358f6[_0x2ae0fa(0x25d)][_0x2ae0fa(0x202)]){const _0x157d28=_0x1c304a[_0x2ae0fa(0x190)][_0x2ae0fa(0x168)](_0x2358f6[_0x2ae0fa(0x15d)]);_0x1f2cbd=Array[_0x2ae0fa(0x1b1)](_0x157d28[_0x2ae0fa(0x230)]());}else{const _0x5c8c35=this[_0x2ae0fa(0x257)][_0x2ae0fa(0x277)][_0x2ae0fa(0x145)][_0x2ae0fa(0x194)](_0x2ae0fa(0x157)+_0x228c6d[_0x2ae0fa(0x167)]);_0x1f2cbd=Array[_0x2ae0fa(0x1b1)](_0x1c304a[_0x2ae0fa(0x150)][_0x2ae0fa(0x1d2)](_0x5c8c35[_0x2ae0fa(0x22b)]))[_0x2ae0fa(0x1af)](_0x3d1746=>_0x1c304a[_0x2ae0fa(0x190)][_0x2ae0fa(0x182)][_0x2ae0fa(0x282)](_0x3d1746))[_0x2ae0fa(0x1af)](_0x2c6f02=>Array[_0x2ae0fa(0x1b1)](_0x2c6f02[_0x2ae0fa(0x230)]()))[_0x2ae0fa(0x1f0)]();}if(!this[_0x2ae0fa(0x220)])return _0x1f2cbd[0x0];return _0x1f2cbd[_0x2ae0fa(0x14a)](_0x2cd30c=>_0x2cd30c[_0x2ae0fa(0x248)]-0x3<=this[_0x2ae0fa(0x220)]['y']&&_0x2cd30c[_0x2ae0fa(0x273)]+0x3>=this[_0x2ae0fa(0x220)]['y']&&_0x2cd30c[_0x2ae0fa(0x1fa)]-0x3<=this[_0x2ae0fa(0x220)]['x']&&_0x2cd30c[_0x2ae0fa(0x22d)]+0x3>=this[_0x2ae0fa(0x220)]['x'])||_0x1f2cbd[0x0];}}}),this[_0x40dffe(0x20b)][_0x40dffe(0x23d)](_0x40dffe(0x1e8)));}),this['on'](_0x4e9c74(0x26b),(_0x4c0650,_0x2a532b,_0x39146e,_0x3cba20)=>{const _0x4ed506=_0x4e9c74;this[_0x4ed506(0x187)]=_0x39146e?this[_0x4ed506(0x283)](_0x39146e):null,this[_0x4ed506(0x257)][_0x4ed506(0x277)][_0x4ed506(0x228)](()=>{const _0x41071e=_0x4ed506,_0xb9887e=this[_0x41071e(0x257)][_0x41071e(0x1f8)];_0x3cba20&&(_0x3cba20[_0x41071e(0x25d)][_0x41071e(0x202)]?_0xb9887e[_0x41071e(0x190)][_0x41071e(0x228)](_0x3f6292=>{const _0x24d55d=_0x41071e;_0x3f6292[_0x24d55d(0x172)](_0x24d55d(0x291),_0xb9887e[_0x24d55d(0x190)][_0x24d55d(0x24a)][_0x24d55d(0x275)](_0x3cba20[_0x24d55d(0x15d)]));}):_0xb9887e[_0x41071e(0x261)](_0x41071e(0x157)+_0x3cba20['id'])),_0x39146e&&(_0x39146e[_0x41071e(0x25d)][_0x41071e(0x202)]?_0xb9887e[_0x41071e(0x190)][_0x41071e(0x228)](_0x3e07d8=>{const _0x3ae28c=_0x41071e;_0x3e07d8[_0x3ae28c(0x20a)](_0x3ae28c(0x291),_0xb9887e[_0x3ae28c(0x190)][_0x3ae28c(0x24a)][_0x3ae28c(0x275)](_0x39146e[_0x3ae28c(0x15d)]));}):_0xb9887e[_0x41071e(0x261)](_0x41071e(0x157)+_0x39146e['id']));});}),this[_0x4e9c74(0x1e5)](this[_0x4e9c74(0x257)][_0x4e9c74(0x1f8)][_0x4e9c74(0x190)][_0x4e9c74(0x24a)],_0x4e9c74(0x18a),(_0x3fb5eb,_0x2ec2c1)=>{const _0x5d7942=_0x4e9c74;if(this[_0x5d7942(0x1d4)])return;const _0x294894=this[_0x5d7942(0x23c)](_0x2ec2c1[_0x5d7942(0x1a9)]),_0x1a15d8=this[_0x5d7942(0x241)][_0x5d7942(0x194)](_0x294894);_0x1a15d8?(this[_0x5d7942(0x220)]={'x':_0x2ec2c1[_0x5d7942(0x20d)]['x'],'y':_0x2ec2c1[_0x5d7942(0x20d)]['y']},this[_0x5d7942(0x187)]=this[_0x5d7942(0x283)](_0x1a15d8)):(this[_0x5d7942(0x220)]=null,this[_0x5d7942(0x187)]=null);}),this[_0x4e9c74(0x1e5)](this[_0x4e9c74(0x257)][_0x4e9c74(0x1f8)][_0x4e9c74(0x190)][_0x4e9c74(0x24a)],_0x4e9c74(0x16e),(_0x29e5d6,_0x32f366)=>{const _0x1d0a38=_0x4e9c74,_0x1a5888=this[_0x1d0a38(0x23c)](_0x32f366[_0x1d0a38(0x1a9)]),_0x53081a=this[_0x1d0a38(0x241)][_0x1d0a38(0x194)](_0x1a5888);_0x53081a?(this[_0x1d0a38(0x220)]={'x':_0x32f366[_0x1d0a38(0x20d)]['x'],'y':_0x32f366[_0x1d0a38(0x20d)]['y']},_0x53081a===this[_0x1d0a38(0x1d4)]?this[_0x1d0a38(0x20b)][_0x1d0a38(0x1b2)]():this[_0x1d0a38(0x1d4)]=_0x53081a):(this[_0x1d0a38(0x220)]=null,this[_0x1d0a38(0x1d4)]=null);});}[_0x6cd535(0x23c)](_0x34c374){const _0x3315f1=_0x6cd535;do{const _0x2101fb=_0x34c374[_0x3315f1(0x1b7)](_0x3315f1(0x1e0));if(_0x2101fb)return _0x2101fb;_0x34c374=_0x34c374[_0x3315f1(0x25b)];}while(_0x34c374);return null;}[_0x6cd535(0x265)](){const _0x3a29c9=_0x6cd535;this[_0x3a29c9(0x257)][_0x3a29c9(0x277)][_0x3a29c9(0x228)](_0xa39a12=>{const _0x14be33=_0x3a29c9;for(const _0x5e88d3 of this[_0x14be33(0x257)][_0x14be33(0x277)][_0x14be33(0x145)])_0xa39a12[_0x14be33(0x146)](_0x5e88d3);});}}function et(_0x48b193,_0x1f1069){return(_0x230edc,_0x201dae,_0x5df107)=>{const _0x350d53=_0x3912;if(!_0x5df107[_0x350d53(0x1bb)][_0x350d53(0x1aa)](_0x201dae[_0x350d53(0x20e)],_0x230edc[_0x350d53(0x22b)]))return;const _0x4430e8=_0x201dae[_0x350d53(0x20e)][_0x350d53(0x1dd)](),_0x549aac=_0x201dae[_0x350d53(0x20e)][_0x350d53(0x1d1)],_0x3dea0c=_0x48b193[_0x350d53(0x277)][_0x350d53(0x221)];let _0xd3877b=null,_0x3def76=null,_0x1b4471=!0x1,_0x459986=!0x1;for(const _0x472e5d of _0x4430e8){const _0x2dfc8=_0x472e5d[_0x350d53(0x27f)];_0x1b4471=_0x1b4471||_0x3dea0c[_0x350d53(0x1be)](_0x2dfc8);const _0x214cbd=_0x5df107[_0x350d53(0x150)][_0x350d53(0x24c)](_0x2dfc8);if(_0x214cbd&&_0x214cbd[_0x350d53(0x1b4)](_0x350d53(0x24b)))return;_0x350d53(0x15f)==_0x472e5d[_0x350d53(0x1d8)]&&(_0x3dea0c[_0x350d53(0x159)](_0x2dfc8)&&!_0x3dea0c[_0x350d53(0x205)](_0x2dfc8)&&(_0x2dfc8[_0x350d53(0x279)]||_0x549aac[_0x350d53(0x18e)]?_0xd3877b&&_0xd3877b[_0x350d53(0x25b)]==_0x2dfc8||(_0xd3877b=_0x2dfc8,_0x59cc66(_0x472e5d[_0x350d53(0x1d7)]),_0x459986=!0x0):_0x3def76=_0x3def76||_0x472e5d[_0x350d53(0x1d7)]));}function _0x59cc66(_0x29ff80){const _0x1ac7d1=_0x350d53,_0x576319=_0x5df107[_0x1ac7d1(0x150)][_0x1ac7d1(0x18d)](_0x29ff80),_0x336302=_0x5df107[_0x1ac7d1(0x196)][_0x1ac7d1(0x264)](_0x1ac7d1(0x165),{'class':_0x1ac7d1(0x1ee)+_0x1f1069});_0x5df107[_0x1ac7d1(0x196)][_0x1ac7d1(0x232)](_0x576319,_0x336302),_0x5df107[_0x1ac7d1(0x150)][_0x1ac7d1(0x15b)](_0x336302,_0x201dae[_0x1ac7d1(0x1fd)]);}_0x1b4471||_0x459986||!_0x3def76||_0x59cc66(_0x3def76);};}export class RestoreRevisionCommand extends _0x282e1b{constructor(_0x44b3c9){const _0x1feab9=_0x6cd535;super(_0x44b3c9);const _0x38175c=_0x44b3c9[_0x1feab9(0x162)][_0x1feab9(0x194)](d);this[_0x1feab9(0x1b8)]=!0x1,this[_0x1feab9(0x1e5)](_0x38175c,_0x1feab9(0x1ef),()=>this[_0x1feab9(0x21e)]()),this[_0x1feab9(0x1e5)](_0x38175c,_0x1feab9(0x25f),()=>this[_0x1feab9(0x21e)]());}[_0x6cd535(0x270)](){const _0x32cd0a=_0x6cd535,_0x257448=this[_0x32cd0a(0x257)],_0x2ba104=_0x257448[_0x32cd0a(0x162)][_0x32cd0a(0x194)](d),_0x1b3680=_0x2ba104[_0x32cd0a(0x27d)]?_0x2ba104[_0x32cd0a(0x169)][_0x32cd0a(0x163)]:null;_0x257448[_0x32cd0a(0x27b)][_0x32cd0a(0x194)](_0x32cd0a(0x173))[_0x32cd0a(0x1c3)](_0x1b3680);}[_0x6cd535(0x21e)](){const _0x2905a4=_0x6cd535,{isReady:_0x34a292,isEnabled:_0x4a4a23}=this[_0x2905a4(0x257)][_0x2905a4(0x162)][_0x2905a4(0x194)](d);this[_0x2905a4(0x17c)]=_0x34a292&&_0x4a4a23;}}export class ShowChangeCommand extends _0x282e1b{constructor(_0x420d10,{direction:_0x410dde}){const _0x1e1173=_0x6cd535;super(_0x420d10);const _0x522c6e=_0x420d10[_0x1e1173(0x162)][_0x1e1173(0x194)](d);this[_0x1e1173(0x1b8)]=!0x1,this[_0x1e1173(0x229)]=_0x1e1173(0x231)===_0x410dde?0x1:-0x1,this[_0x1e1173(0x1e5)](_0x522c6e,_0x1e1173(0x1ef),()=>this[_0x1e1173(0x21e)]()),this[_0x1e1173(0x1e5)](_0x522c6e,_0x1e1173(0x25f),()=>this[_0x1e1173(0x21e)]()),this[_0x1e1173(0x1e5)](_0x522c6e,_0x1e1173(0x26b),()=>this[_0x1e1173(0x21e)]());}[_0x6cd535(0x270)](){const _0x4eb81b=_0x6cd535,_0x2dfc5b=this[_0x4eb81b(0x257)],_0x48d319=_0x2dfc5b[_0x4eb81b(0x162)][_0x4eb81b(0x194)](d),{isNavigationMode:_0xcf3cb4,currentChangeNumber:_0x1bba1e}=_0x48d319;let _0x34ae81;if(_0x48d319[_0x4eb81b(0x1d4)]=_0xcf3cb4?_0x48d319[_0x4eb81b(0x169)][_0x4eb81b(0x1ca)][_0x4eb81b(0x194)](_0x1bba1e+this[_0x4eb81b(0x229)]):_0x48d319[_0x4eb81b(0x169)][_0x4eb81b(0x1ca)][_0x4eb81b(0x152)],_0x48d319[_0x4eb81b(0x1d4)][_0x4eb81b(0x25d)][_0x4eb81b(0x202)])_0x34ae81=_0x2dfc5b[_0x4eb81b(0x1f8)][_0x4eb81b(0x190)][_0x4eb81b(0x168)](_0x48d319[_0x4eb81b(0x1d4)][_0x4eb81b(0x15d)]);else{const _0x241712=_0x2dfc5b[_0x4eb81b(0x277)][_0x4eb81b(0x145)][_0x4eb81b(0x194)](_0x4eb81b(0x157)+_0x48d319[_0x4eb81b(0x1d4)]['id']);_0x34ae81=_0x3f0d0a(_0x2dfc5b[_0x4eb81b(0x1f8)],_0x241712);}_0x1649bb({'target':_0x34ae81,'viewportOffset':0x28});}[_0x6cd535(0x21e)](){const _0x30b2dd=_0x6cd535,{isNavigationMode:_0x47acf8,currentChangeNumber:_0xbdbfed,numberOfChanges:_0x1ee17a,isReady:_0x31c233,isEnabled:_0x3d130d}=this[_0x30b2dd(0x257)][_0x30b2dd(0x162)][_0x30b2dd(0x194)](d);this[_0x30b2dd(0x17c)]=!!(_0x3d130d&&_0x31c233&&_0x1ee17a)&&(!_0x47acf8||(0x1===this[_0x30b2dd(0x229)]?_0xbdbfed<_0x1ee17a-0x1:_0xbdbfed>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3486=['ck-revision-history-sidebar__revision__actions','items','stopPropagation','name','Name\x20this\x20revision','set','function','isReady','action','listenTo','Restore\x20this\x20revision','locale','threeVerticalDots','isOpen','panelPosition','isEnabled','map','find','change:isActionsDropdownOpen','isVisible','extendTemplate','buttonView','isActionsDropdownOpen','_action','bindTemplate','listView','execute','source','Compare\x20against\x20selected','first'];(function(_0x5530ce,_0x348621){const _0x17ee75=function(_0x53a012){while(--_0x53a012){_0x5530ce['push'](_0x5530ce['shift']());}};_0x17ee75(++_0x348621);}(_0x3486,0x1ca));const _0x17ee=function(_0x5530ce,_0x348621){_0x5530ce=_0x5530ce-0x0;let _0x17ee75=_0x3486[_0x5530ce];return _0x17ee75;};import{Collection as _0x4e6d15}from'ckeditor5/src/utils.js';import{icons as _0x4d194d}from'ckeditor5/src/core.js';import{ViewModel as _0x43e718,addListToDropdown as _0x38dfee,createDropdown as _0x542bca}from'ckeditor5/src/ui.js';import{getTranslation as _0x1b8a5d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x2efb80,_0x27bf81){const _0xd4ddc5=_0x2efb80[_0x17ee('0x10')],_0x128530=_0x2efb80['locale'],_0x468573=_0x542bca(_0x128530);_0x468573[_0x17ee('0x6')]='sw';const _0x21317e=function(_0x517bfc,_0x1fc998){const _0x344159=function(_0x2155c7,_0x139467){const _0x1a6d8e=_0x2155c7[_0x17ee('0x3')],_0x137e85={'Compare\x20against\x20selected':_0x1b8a5d(_0x1a6d8e,_0x17ee('0x14')),'Name\x20this\x20revision':_0x1b8a5d(_0x1a6d8e,_0x17ee('0x1a')),'Restore\x20this\x20revision':_0x1b8a5d(_0x1a6d8e,_0x17ee('0x2'))};return _0x139467[_0x17ee('0x8')](_0x2b93a6=>{const _0x38af55=_0x137e85[_0x2b93a6[_0x17ee('0x19')]];return _0x38af55&&_0x38af55!==_0x2b93a6[_0x17ee('0x19')]&&(_0x2b93a6[_0x17ee('0x19')]=_0x38af55),_0x2b93a6;});}(_0x517bfc,_0x1fc998),_0x546c59=new _0x4e6d15();for(const _0x1c84e4 of _0x344159){const _0x4bed1b={'type':'button','model':new _0x43e718({'label':_0x1c84e4[_0x17ee('0x19')],'class':_0x1c84e4['class'],'withText':!0x0,'_action':_0x1c84e4['action']})};_0x4bed1b['model']['bind'](_0x17ee('0x7'))['to'](_0x517bfc,_0x17ee('0xe'),_0xd7f99d=>_0x17ee('0x1c')!=typeof _0x1c84e4['isEnabled']||(!_0xd7f99d||_0x1c84e4['isEnabled'](_0x517bfc))),_0x546c59['add'](_0x4bed1b);}return _0x546c59;}(_0x2efb80,_0x27bf81);return _0x2efb80['bind'](_0x17ee('0xe'))['to'](_0x468573,_0x17ee('0x5')),_0x468573[_0x17ee('0xd')][_0x17ee('0x1b')]({'label':_0x1b8a5d(_0x128530,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4d194d[_0x17ee('0x4')]}),_0x468573[_0x17ee('0xc')]({'attributes':{'class':[_0x17ee('0x16'),_0xd4ddc5['if'](_0x17ee('0xe'),'ck-on')]},'on':{'click':_0xd4ddc5['to'](_0x5aa1da=>_0x5aa1da[_0x17ee('0x18')]())}}),_0x468573['on'](_0x17ee('0x12'),_0x44a0b0=>{_0x2efb80[_0x17ee('0x1d')]&&_0x17ee('0x1c')==typeof _0x44a0b0[_0x17ee('0x13')][_0x17ee('0xf')]&&_0x44a0b0[_0x17ee('0x13')][_0x17ee('0xf')](_0x2efb80);}),_0x38dfee(_0x468573,_0x21317e),_0x468573[_0x17ee('0x1')](_0x2efb80,_0x17ee('0xa'),(_0xb877b9,_0x474fe8,_0x267876)=>{if(_0x267876)for(const _0x358ec1 of _0x468573[_0x17ee('0x11')][_0x17ee('0x17')]){const _0x9fed2e=_0x358ec1['children'][_0x17ee('0x15')],_0x27801=_0x27bf81[_0x17ee('0x9')](_0x11fb62=>_0x11fb62[_0x17ee('0x0')]===_0x9fed2e[_0x17ee('0xf')])['isVisible'];_0x358ec1[_0x17ee('0xb')]=void 0x0===_0x27801||_0x27801(_0x2efb80);}}),_0x468573;}
23
+ function _0x3a48(_0x340b37,_0x4a0230){const _0x4a0c39=_0x4a0c();return _0x3a48=function(_0x3a481a,_0x29ad3f){_0x3a481a=_0x3a481a-0xa1;let _0x4595d7=_0x4a0c39[_0x3a481a];return _0x4595d7;},_0x3a48(_0x340b37,_0x4a0230);}function _0x4a0c(){const _0x5c6e12=['18667629PTBTbd','5004035EAMOiY','locale','isReady','isActionsDropdownOpen','_action','function','isEnabled','source','833831tFuqHg','isVisible','15152vqEPLt','Restore\x20this\x20revision','name','stopPropagation','1306536pCDtNA','execute','change:isActionsDropdownOpen','ck-on','find','listenTo','class','listView','action','first','button','panelPosition','3VYBQmN','map','Compare\x20against\x20selected','bindTemplate','buttonView','3446764upROBz','add','items','Name\x20this\x20revision','isOpen','Show\x20more\x20items','961912bqQImZ','children','extendTemplate','model','threeVerticalDots','ck-revision-history-sidebar__revision__actions','set','917wJrUMl','bind'];_0x4a0c=function(){return _0x5c6e12;};return _0x4a0c();}(function(_0x2aaa82,_0x432d8c){const _0x3909cd=_0x3a48,_0x25f54b=_0x2aaa82();while(!![]){try{const _0x4dda61=parseInt(_0x3909cd(0xac))/0x1+-parseInt(_0x3909cd(0xc9))/0x2*(-parseInt(_0x3909cd(0xbe))/0x3)+parseInt(_0x3909cd(0xc3))/0x4+parseInt(_0x3909cd(0xa4))/0x5+-parseInt(_0x3909cd(0xb2))/0x6+parseInt(_0x3909cd(0xa1))/0x7*(-parseInt(_0x3909cd(0xae))/0x8)+-parseInt(_0x3909cd(0xa3))/0x9;if(_0x4dda61===_0x432d8c)break;else _0x25f54b['push'](_0x25f54b['shift']());}catch(_0x3edfdf){_0x25f54b['push'](_0x25f54b['shift']());}}}(_0x4a0c,0x9b932));import{Collection as _0x282d73}from'ckeditor5/src/utils.js';import{icons as _0x5d35d8}from'ckeditor5/src/core.js';import{ViewModel as _0x1a8e3c,addListToDropdown as _0x838c37,createDropdown as _0x154984}from'ckeditor5/src/ui.js';import{getTranslation as _0x19fea4}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x1ff1f1,_0x21c403){const _0x27bacd=_0x3a48,_0x323e03=_0x1ff1f1[_0x27bacd(0xc1)],_0xbaede6=_0x1ff1f1[_0x27bacd(0xa5)],_0x1a99ae=_0x154984(_0xbaede6);_0x1a99ae[_0x27bacd(0xbd)]='sw';const _0x4c1906=function(_0x5a8c61,_0xf76d10){const _0x29c59e=_0x27bacd,_0x16872d=function(_0x11d75f,_0x537324){const _0x493c8a=_0x3a48,_0x10a451=_0x11d75f[_0x493c8a(0xa5)],_0x4c13e7={'Compare\x20against\x20selected':_0x19fea4(_0x10a451,_0x493c8a(0xc0)),'Name\x20this\x20revision':_0x19fea4(_0x10a451,_0x493c8a(0xc6)),'Restore\x20this\x20revision':_0x19fea4(_0x10a451,_0x493c8a(0xaf))};return _0x537324[_0x493c8a(0xbf)](_0xda722d=>{const _0x52eebf=_0x493c8a,_0x4ba99a=_0x4c13e7[_0xda722d[_0x52eebf(0xb0)]];return _0x4ba99a&&_0x4ba99a!==_0xda722d[_0x52eebf(0xb0)]&&(_0xda722d[_0x52eebf(0xb0)]=_0x4ba99a),_0xda722d;});}(_0x5a8c61,_0xf76d10),_0x3099ff=new _0x282d73();for(const _0x2db53b of _0x16872d){const _0x27c8cb={'type':_0x29c59e(0xbc),'model':new _0x1a8e3c({'label':_0x2db53b[_0x29c59e(0xb0)],'class':_0x2db53b[_0x29c59e(0xb8)],'withText':!0x0,'_action':_0x2db53b[_0x29c59e(0xba)]})};_0x27c8cb[_0x29c59e(0xcc)][_0x29c59e(0xa2)](_0x29c59e(0xaa))['to'](_0x5a8c61,_0x29c59e(0xa7),_0x41d502=>_0x29c59e(0xa9)!=typeof _0x2db53b[_0x29c59e(0xaa)]||(!_0x41d502||_0x2db53b[_0x29c59e(0xaa)](_0x5a8c61))),_0x3099ff[_0x29c59e(0xc4)](_0x27c8cb);}return _0x3099ff;}(_0x1ff1f1,_0x21c403);return _0x1ff1f1[_0x27bacd(0xa2)](_0x27bacd(0xa7))['to'](_0x1a99ae,_0x27bacd(0xc7)),_0x1a99ae[_0x27bacd(0xc2)][_0x27bacd(0xcf)]({'label':_0x19fea4(_0xbaede6,_0x27bacd(0xc8)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5d35d8[_0x27bacd(0xcd)]}),_0x1a99ae[_0x27bacd(0xcb)]({'attributes':{'class':[_0x27bacd(0xce),_0x323e03['if'](_0x27bacd(0xa7),_0x27bacd(0xb5))]},'on':{'click':_0x323e03['to'](_0x5eb997=>_0x5eb997[_0x27bacd(0xb1)]())}}),_0x1a99ae['on'](_0x27bacd(0xb3),_0x500644=>{const _0x153b0f=_0x27bacd;_0x1ff1f1[_0x153b0f(0xa6)]&&_0x153b0f(0xa9)==typeof _0x500644[_0x153b0f(0xab)][_0x153b0f(0xa8)]&&_0x500644[_0x153b0f(0xab)][_0x153b0f(0xa8)](_0x1ff1f1);}),_0x838c37(_0x1a99ae,_0x4c1906),_0x1a99ae[_0x27bacd(0xb7)](_0x1ff1f1,_0x27bacd(0xb4),(_0x1288ec,_0x4aca5d,_0x13e91a)=>{const _0x30e306=_0x27bacd;if(_0x13e91a)for(const _0x217a53 of _0x1a99ae[_0x30e306(0xb9)][_0x30e306(0xc5)]){const _0x1a3190=_0x217a53[_0x30e306(0xca)][_0x30e306(0xbb)],_0x10324b=_0x21c403[_0x30e306(0xb6)](_0x28ef17=>_0x28ef17[_0x30e306(0xba)]===_0x1a3190[_0x30e306(0xa8)])[_0x30e306(0xad)];_0x217a53[_0x30e306(0xad)]=void 0x0===_0x10324b||_0x10324b(_0x1ff1f1);}}),_0x1a99ae;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x555c=['ck-revision-history-sidebar__revision-author__name','push','setTemplate','0\x200\x2011\x2010','Revision\x20creator','name','ck-revision-history-sidebar__revision-author'];(function(_0x5b7ebb,_0x555c52){const _0x3674e3=function(_0x111224){while(--_0x111224){_0x5b7ebb['push'](_0x5b7ebb['shift']());}};_0x3674e3(++_0x555c52);}(_0x555c,0x1e4));const _0x3674=function(_0x5b7ebb,_0x555c52){_0x5b7ebb=_0x5b7ebb-0x0;let _0x3674e3=_0x555c[_0x5b7ebb];return _0x3674e3;};import{View as _0x11962d,IconView as _0x127fdf}from'ckeditor5/src/ui.js';import{getTranslation as _0x4e52ed}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x3316b7 from'../../../theme/icons/user.svg';export default class ti extends _0x11962d{constructor(_0x6aac6c,_0x46a490,_0x5d6447){super(_0x6aac6c);const _0x5d3d4f=new _0x127fdf();_0x5d3d4f['set']({'content':_0x3316b7,'viewBox':_0x3674('0x2')});const _0x1a1983=['ck',_0x3674('0x5')];_0x5d6447&&_0x1a1983[_0x3674('0x0')]('ck-revision-history-sidebar__revision-author_creator');const _0x3f82d9=[{'tag':'span','attributes':{'class':['ck',_0x3674('0x6')],'title':_0x4e52ed(_0x6aac6c,_0x5d6447?_0x3674('0x3'):'Revision\x20author')},'children':[_0x5d3d4f,_0x46a490[_0x3674('0x4')]]}];this[_0x3674('0x1')]({'tag':'li','attributes':{'class':_0x1a1983},'children':_0x3f82d9});}}
23
+ function _0x5478(_0xa771d3,_0x5348da){const _0x275e81=_0x275e();return _0x5478=function(_0x547870,_0xb8f84d){_0x547870=_0x547870-0x170;let _0x442254=_0x275e81[_0x547870];return _0x442254;},_0x5478(_0xa771d3,_0x5348da);}(function(_0x32a829,_0x49c182){const _0x48a1b5=_0x5478,_0x441473=_0x32a829();while(!![]){try{const _0x3adc12=parseInt(_0x48a1b5(0x17f))/0x1+parseInt(_0x48a1b5(0x17c))/0x2*(parseInt(_0x48a1b5(0x184))/0x3)+-parseInt(_0x48a1b5(0x185))/0x4*(-parseInt(_0x48a1b5(0x175))/0x5)+parseInt(_0x48a1b5(0x176))/0x6*(parseInt(_0x48a1b5(0x179))/0x7)+-parseInt(_0x48a1b5(0x173))/0x8*(-parseInt(_0x48a1b5(0x17b))/0x9)+parseInt(_0x48a1b5(0x172))/0xa*(-parseInt(_0x48a1b5(0x174))/0xb)+-parseInt(_0x48a1b5(0x186))/0xc*(parseInt(_0x48a1b5(0x17e))/0xd);if(_0x3adc12===_0x49c182)break;else _0x441473['push'](_0x441473['shift']());}catch(_0x17ebc1){_0x441473['push'](_0x441473['shift']());}}}(_0x275e,0xae2e9));import{View as _0x11d673,IconView as _0x191b43}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ce637}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x275e(){const _0x2c51ab=['4gGOteh','push','13xLcXfE','1124306nbNvKr','0\x200\x2011\x2010','Revision\x20author','ck-revision-history-sidebar__revision-author__name','set','962973jgdrMu','294436acorHr','24511380HvFVxF','ck-revision-history-sidebar__revision-author_creator','Revision\x20creator','name','10MmageH','73368WbLJyt','13690567Sznucu','80qvAWPZ','24Gfmfrq','span','setTemplate','1608362wUsUGA','ck-revision-history-sidebar__revision-author','135WrYsXm'];_0x275e=function(){return _0x2c51ab;};return _0x275e();}import _0x28fa09 from'../../../theme/icons/user.svg';export default class ti extends _0x11d673{constructor(_0x204f38,_0x4b8a3b,_0x57bf98){const _0x245db7=_0x5478;super(_0x204f38);const _0x354cb1=new _0x191b43();_0x354cb1[_0x245db7(0x183)]({'content':_0x28fa09,'viewBox':_0x245db7(0x180)});const _0x13ac0b=['ck',_0x245db7(0x17a)];_0x57bf98&&_0x13ac0b[_0x245db7(0x17d)](_0x245db7(0x187));const _0x5e52a5=[{'tag':_0x245db7(0x177),'attributes':{'class':['ck',_0x245db7(0x182)],'title':_0x2ce637(_0x204f38,_0x57bf98?_0x245db7(0x170):_0x245db7(0x181))},'children':[_0x354cb1,_0x4b8a3b[_0x245db7(0x171)]]}];this[_0x245db7(0x178)]({'tag':'li','attributes':{'class':_0x13ac0b},'children':_0x5e52a5});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x45ca=['Revision\x20name','span','ck-revision-history-sidebar__revision-name','set'];(function(_0x2bb37d,_0x45ca44){var _0x1e1873=function(_0x50b6b3){while(--_0x50b6b3){_0x2bb37d['push'](_0x2bb37d['shift']());}};_0x1e1873(++_0x45ca44);}(_0x45ca,0x11b));var _0x1e18=function(_0x2bb37d,_0x45ca44){_0x2bb37d=_0x2bb37d-0x0;var _0x1e1873=_0x45ca[_0x2bb37d];return _0x1e1873;};import{LabeledFieldView as _0x1f5c23}from'ckeditor5/src/ui.js';import{getTranslation as _0x5873f2}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class is extends _0x1f5c23{constructor(_0x35b139,_0x546b27){super(_0x35b139,_0x546b27),this[_0x1e18('0x0')]({'label':_0x5873f2(_0x35b139,_0x1e18('0x1'))}),this['extendTemplate']({'tag':_0x1e18('0x2'),'attributes':{'class':[_0x1e18('0x3')]}});}}
23
+ const _0x52e512=_0x22d6;(function(_0x4252ec,_0x566116){const _0xa58b88=_0x22d6,_0x4a6494=_0x4252ec();while(!![]){try{const _0x5a6872=parseInt(_0xa58b88(0x137))/0x1+parseInt(_0xa58b88(0x13b))/0x2*(-parseInt(_0xa58b88(0x142))/0x3)+-parseInt(_0xa58b88(0x14b))/0x4*(-parseInt(_0xa58b88(0x135))/0x5)+-parseInt(_0xa58b88(0x13e))/0x6+parseInt(_0xa58b88(0x143))/0x7*(-parseInt(_0xa58b88(0x131))/0x8)+parseInt(_0xa58b88(0x12f))/0x9+-parseInt(_0xa58b88(0x134))/0xa*(parseInt(_0xa58b88(0x149))/0xb);if(_0x5a6872===_0x566116)break;else _0x4a6494['push'](_0x4a6494['shift']());}catch(_0x2f0c65){_0x4a6494['push'](_0x4a6494['shift']());}}}(_0x397c,0x85a80));import{LabeledFieldView as _0x275a74}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x3c17f0}from'ckeditor5/src/utils.js';function _0x22d6(_0x4e272e,_0x13d2bc){const _0x397c85=_0x397c();return _0x22d6=function(_0x22d69c,_0x364b88){_0x22d69c=_0x22d69c-0x12f;let _0x4ccf3e=_0x397c85[_0x22d69c];return _0x4ccf3e;},_0x22d6(_0x4e272e,_0x13d2bc);}import{getTranslation as _0x5ba57c}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class vt extends _0x275a74{constructor(_0x5b1ff2,_0x4a3702){const _0x28abf0=_0x22d6;super(_0x5b1ff2,_0x4a3702),this[_0x28abf0(0x14d)]=null;const _0x7996b2=this[_0x28abf0(0x13f)];this[_0x28abf0(0x14e)]({'label':_0x5ba57c(_0x5b1ff2,_0x28abf0(0x147)),'_tooltipString':''}),this[_0x28abf0(0x132)][_0x28abf0(0x13a)]=_0x5ba57c(_0x5b1ff2,_0x28abf0(0x14c)),this[_0x28abf0(0x13c)]({'tag':_0x28abf0(0x13d),'attributes':{'class':[_0x28abf0(0x139)],'data-cke-tooltip-text':_0x7996b2['to'](_0x28abf0(0x138)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x28abf0(0x14a)}});}[_0x52e512(0x136)](){const _0x11c25b=_0x52e512;super[_0x11c25b(0x136)](),this[_0x11c25b(0x14d)]=new _0x3c17f0(this[_0x11c25b(0x132)][_0x11c25b(0x140)],()=>this[_0x11c25b(0x144)]()),this[_0x11c25b(0x148)](this[_0x11c25b(0x132)],_0x11c25b(0x130),()=>this[_0x11c25b(0x144)]());}[_0x52e512(0x146)](){const _0x1dc042=_0x52e512;super[_0x1dc042(0x146)](),this[_0x1dc042(0x14d)]&&this[_0x1dc042(0x14d)][_0x1dc042(0x146)]();}[_0x52e512(0x144)](){const _0x1e36b7=_0x52e512,_0x911750=this[_0x1e36b7(0x132)][_0x1e36b7(0x140)];this[_0x1e36b7(0x138)]=_0x911750[_0x1e36b7(0x145)]>_0x911750[_0x1e36b7(0x133)]&&_0x911750[_0x1e36b7(0x141)]||'';}}function _0x397c(){const _0x39209f=['4IRvMOz','Enter\x20the\x20revision\x20name','_resizeObserver','set','8125479LotRNN','input','8Rgdivf','fieldView','clientWidth','18867490NTQRvy','4279415RgqRDf','render','1041530TaLxgP','_tooltipString','ck-revision-history-sidebar__revision-name','placeholder','13162iDaUto','extendTemplate','span','9528npeSdl','bindTemplate','element','value','72hHRkDB','1445549hKmKTP','_updateTooltipText','scrollWidth','destroy','Revision\x20name','listenTo','11GWzKAS','ck-tooltip_multi-line'];_0x397c=function(){return _0x39209f;};return _0x397c();}
@@ -51,7 +51,7 @@ export default class RevisionView extends RevisionView_base {
51
51
  * @observable
52
52
  */
53
53
  isEnabled: boolean;
54
- constructor(locale: Locale, revision: Revision, revisionActions: Array<RevisionAction>);
54
+ constructor(locale: Locale, revision: Revision, revisionActions: Array<RevisionAction>, requireRevisionName: boolean);
55
55
  /**
56
56
  * @inheritDoc
57
57
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10de=['fieldView','ck-revision-history-sidebar__revision','filter','unshift','setTemplate','isSelected','bindTemplate','setName','220','listenTo','ck-revision-history-sidebar__revision-wrapper','revisionNameView','ck-reset','placeholder','authors','render','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','uiLanguage','set','unhighlight','select','isActionsDropdownOpen','creator','ck-revision-history-sidebar__revision_highlighted','span','div','isEnabled','deselect','isConfirm','map','ck-disabled','length','extendTemplate','isHighlighted','highlight','value','revisionActionsView','bind','srcElement','name','fire','createdAt','ck-revision-history-sidebar__revision__controls-wrapper','_createdAtFormatted'];(function(_0x386147,_0x10decf){const _0x64b53=function(_0x48b80c){while(--_0x48b80c){_0x386147['push'](_0x386147['shift']());}};_0x64b53(++_0x10decf);}(_0x10de,0x72));const _0x64b5=function(_0x386147,_0x10decf){_0x386147=_0x386147-0x0;let _0x64b53=_0x10de[_0x386147];return _0x64b53;};import{View as _0x420262,createLabeledInputText as _0x2fb72e}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x4dc0e0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4cae1f from'./revisionnameview.js';import _0x4845b2 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x36283c}from'./utils.js';import{createActionsDropdownView as _0xdf720f}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x4dc0e0(_0x420262){constructor(_0xf3a8e,_0x18d007,_0x2a3fa2){super(_0xf3a8e);const _0x23c7da=this[_0x64b5('0x18')],_0x4169c7=function(_0xb83f24,_0x2e9ffa){const _0x37b28b=Array['from'](_0x2e9ffa[_0x64b5('0x20')])[_0x64b5('0x14')](_0x41739b=>_0x41739b!=_0x2e9ffa[_0x64b5('0x28')]);return _0x2e9ffa['creator']&&_0x37b28b[_0x64b5('0x15')](_0x2e9ffa['creator']),_0x37b28b[_0x64b5('0x3')](_0x4d997b=>new _0x4845b2(_0xb83f24,_0x4d997b,_0x4d997b==_0x2e9ffa[_0x64b5('0x28')]));}(_0xf3a8e,_0x18d007);this['id']=_0x18d007['id'],this['_revision']=_0x18d007,this['bind']('name',_0x64b5('0xf'))['to'](_0x18d007),this[_0x64b5('0xb')](_0x64b5('0x11'))['to'](this,_0x64b5('0xf'),_0x476820=>_0x476820?_0x36283c(_0xf3a8e[_0x64b5('0x23')],_0x476820):void 0x0),this[_0x64b5('0x24')](_0x64b5('0x17'),!0x1),this[_0x64b5('0x24')](_0x64b5('0x7'),!0x1),this['set'](_0x64b5('0x27'),!0x1),this[_0x64b5('0x24')]('isReady',!0x1),this[_0x64b5('0x24')]('isEnabled',!0x1),this[_0x64b5('0x1d')]=new _0x4cae1f(_0xf3a8e,_0x2fb72e),this['revisionNameView'][_0x64b5('0x12')][_0x64b5('0x6')]({'attributes':{'maxlength':_0x64b5('0x1a')}}),this[_0x64b5('0x1d')][_0x64b5('0x12')][_0x64b5('0xb')](_0x64b5('0x9'),_0x64b5('0x1f'))['to'](this,_0x64b5('0xd'),_0x64b5('0x11')),this['revisionNameView'][_0x64b5('0xb')](_0x64b5('0x0'))['to'](this,_0x64b5('0x17'),this,_0x64b5('0x0'),(_0x2f4f80,_0x405cda)=>_0x2f4f80&&_0x405cda),this[_0x64b5('0xa')]=_0x2a3fa2&&_0x2a3fa2[_0x64b5('0x5')]?_0xdf720f(this,_0x2a3fa2):'',this[_0x64b5('0xa')]&&this[_0x64b5('0xa')][_0x64b5('0xb')]('isEnabled')['to'](this),this[_0x64b5('0x16')]({'tag':_0x64b5('0x2b'),'attributes':{'class':['ck',_0x64b5('0x1e'),_0x64b5('0x1c'),_0x23c7da['if'](_0x64b5('0x2'),_0x64b5('0x22'))]},'children':[{'tag':'div','attributes':{'class':['ck',_0x64b5('0x1e'),_0x64b5('0x13'),_0x23c7da['if']('isEnabled',_0x64b5('0x4'),_0x41ec5d=>!_0x41ec5d),_0x23c7da['if'](_0x64b5('0x17'),'ck-revision-history-sidebar__revision_selected'),_0x23c7da['if'](_0x64b5('0x7'),_0x64b5('0x29')),_0x23c7da['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this[_0x64b5('0x1d')],{'tag':_0x64b5('0x2a'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x23c7da['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck',_0x64b5('0x10')]},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x4169c7}]},this['revisionActionsView']],'on':{'click':_0x23c7da['to'](_0xb29989=>{_0xb29989[_0x64b5('0xc')]['closest']('.ck-thread__remove-confirm')||this['isReady']&&this[_0x64b5('0x0')]&&this[_0x64b5('0xe')]('select',{'id':this['id']});})}}]});}[_0x64b5('0x21')](){super[_0x64b5('0x21')]();const _0x340790=this[_0x64b5('0x1d')][_0x64b5('0x12')]['element'];this[_0x64b5('0x1b')](_0x340790,'change',()=>{this['fire'](_0x64b5('0x19'),{'id':this['id'],'name':_0x340790[_0x64b5('0x9')]});});}[_0x64b5('0x26')](){this['isSelected']=!0x0;}[_0x64b5('0x1')](){this[_0x64b5('0x17')]=!0x1;}[_0x64b5('0x8')](){this['isHighlighted']=!0x0;}[_0x64b5('0x25')](){this[_0x64b5('0x7')]=!0x1;}}
23
+ const _0x1fe16a=_0x2d66;(function(_0x167d2b,_0x2af6a2){const _0xd10c78=_0x2d66,_0x2d724d=_0x167d2b();while(!![]){try{const _0x5a0b7d=parseInt(_0xd10c78(0x158))/0x1*(parseInt(_0xd10c78(0x13f))/0x2)+-parseInt(_0xd10c78(0x11d))/0x3*(-parseInt(_0xd10c78(0x13a))/0x4)+parseInt(_0xd10c78(0x118))/0x5+parseInt(_0xd10c78(0x14f))/0x6*(-parseInt(_0xd10c78(0x11f))/0x7)+parseInt(_0xd10c78(0x121))/0x8*(parseInt(_0xd10c78(0x127))/0x9)+parseInt(_0xd10c78(0x135))/0xa*(parseInt(_0xd10c78(0x13e))/0xb)+-parseInt(_0xd10c78(0x14e))/0xc;if(_0x5a0b7d===_0x2af6a2)break;else _0x2d724d['push'](_0x2d724d['shift']());}catch(_0x3fd905){_0x2d724d['push'](_0x2d724d['shift']());}}}(_0x5e7a,0x5bef0));import{View as _0x3299b8,createLabeledInputText as _0x3b3a55}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x381504}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2d66(_0x2f4b37,_0x11b317){const _0x5e7a43=_0x5e7a();return _0x2d66=function(_0x2d663a,_0x3ffee0){_0x2d663a=_0x2d663a-0x116;let _0x2a47bf=_0x5e7a43[_0x2d663a];return _0x2a47bf;},_0x2d66(_0x2f4b37,_0x11b317);}import _0x30270b from'./revisionnameview.js';import _0x4914f6 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x508050}from'./utils.js';function _0x5e7a(){const _0x1d3d56=['210969aKXsdm','1846VpMRZB','bind','creator','.ck-thread__remove-confirm','setName','closest','_requireRevisionName','span','unhighlight','isActionsDropdownOpen','deselect','filter','ck-revision-history-sidebar__revision__controls-wrapper','select','set','12410088NRsJuQ','36KuBoVf','authors','fieldView','ck-revision-history-sidebar__revision_highlighted','name','revisionActionsView','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-reset','unshift','498FZkzIG','isSelected','ck-revision-history-sidebar__revision-wrapper','3364455lgncpP','ck-revision-history-sidebar__revision-authors','render','revisionNameView','uiLanguage','3frLhyA','highlight','690571AhJoYD','ck-revision-history-sidebar__revision_selected','639976ynjSVm','setTemplate','ck-revision-history-sidebar__revision__date','div','_revision','isConfirm','45zpctEq','listenTo','fire','_createdAtFormatted','map','isReady','length','isHighlighted','element','isEnabled','createdAt','bindTemplate','from','srcElement','90mrfxOz','ck-revision-history-sidebar__actions_dropdown_open','change','extendTemplate','value','1190044OKkmVc','ck-revision-history-sidebar__revision','ck-disabled','220'];_0x5e7a=function(){return _0x1d3d56;};return _0x5e7a();}import{createActionsDropdownView as _0x2b5b9f}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x381504(_0x3299b8){constructor(_0x23b99e,_0x3e9628,_0x27952c,_0xb27f73){const _0x100ad3=_0x2d66;super(_0x23b99e);const _0x374152=this[_0x100ad3(0x132)],_0x23d281=function(_0x4dfa59,_0x31c56d){const _0x2abbaa=_0x100ad3,_0x5aef41=Array[_0x2abbaa(0x133)](_0x31c56d[_0x2abbaa(0x150)])[_0x2abbaa(0x14a)](_0x30677a=>_0x30677a!=_0x31c56d[_0x2abbaa(0x141)]);return _0x31c56d[_0x2abbaa(0x141)]&&_0x5aef41[_0x2abbaa(0x157)](_0x31c56d[_0x2abbaa(0x141)]),_0x5aef41[_0x2abbaa(0x12b)](_0x1c994b=>new _0x4914f6(_0x4dfa59,_0x1c994b,_0x1c994b==_0x31c56d[_0x2abbaa(0x141)]));}(_0x23b99e,_0x3e9628);this['id']=_0x3e9628['id'],this[_0x100ad3(0x125)]=_0x3e9628,this[_0x100ad3(0x145)]=_0xb27f73,this[_0x100ad3(0x140)](_0x100ad3(0x153),_0x100ad3(0x131))['to'](_0x3e9628),this[_0x100ad3(0x140)](_0x100ad3(0x12a))['to'](this,_0x100ad3(0x131),_0x475832=>_0x508050(_0x23b99e[_0x100ad3(0x11c)],_0x475832)),this[_0x100ad3(0x14d)](_0x100ad3(0x116),!0x1),this[_0x100ad3(0x14d)](_0x100ad3(0x12e),!0x1),this[_0x100ad3(0x14d)](_0x100ad3(0x148),!0x1),this[_0x100ad3(0x14d)](_0x100ad3(0x12c),!0x1),this[_0x100ad3(0x14d)](_0x100ad3(0x130),!0x1),this[_0x100ad3(0x11b)]=new _0x30270b(_0x23b99e,_0x3b3a55),this[_0x100ad3(0x11b)][_0x100ad3(0x151)][_0x100ad3(0x138)]({'attributes':{'maxlength':_0x100ad3(0x13d)}}),this[_0x100ad3(0x11b)][_0x100ad3(0x151)][_0x100ad3(0x140)](_0x100ad3(0x139))['to'](this,_0x100ad3(0x153),_0x3523b3=>_0x3523b3||this[_0x100ad3(0x12a)]),this[_0x100ad3(0x11b)][_0x100ad3(0x140)](_0x100ad3(0x130))['to'](this,_0x100ad3(0x116),this,_0x100ad3(0x130),(_0x43f403,_0x37aaff)=>_0x43f403&&_0x37aaff),this[_0x100ad3(0x154)]=_0x27952c&&_0x27952c[_0x100ad3(0x12d)]?_0x2b5b9f(this,_0x27952c):'',this[_0x100ad3(0x154)]&&this[_0x100ad3(0x154)][_0x100ad3(0x140)](_0x100ad3(0x130))['to'](this),this[_0x100ad3(0x122)]({'tag':_0x100ad3(0x124),'attributes':{'class':['ck',_0x100ad3(0x156),_0x100ad3(0x117),_0x374152['if'](_0x100ad3(0x126),_0x100ad3(0x155))]},'children':[{'tag':_0x100ad3(0x124),'attributes':{'class':['ck',_0x100ad3(0x156),_0x100ad3(0x13b),_0x374152['if'](_0x100ad3(0x130),_0x100ad3(0x13c),_0x49d917=>!_0x49d917),_0x374152['if'](_0x100ad3(0x116),_0x100ad3(0x120)),_0x374152['if'](_0x100ad3(0x12e),_0x100ad3(0x152)),_0x374152['if'](_0x100ad3(0x148),_0x100ad3(0x136))]},'children':[this[_0x100ad3(0x11b)],{'tag':_0x100ad3(0x146),'attributes':{'class':['ck',_0x100ad3(0x123)]},'children':[{'text':_0x374152['to'](_0x100ad3(0x12a))}]},{'tag':_0x100ad3(0x124),'attributes':{'class':['ck',_0x100ad3(0x14b)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x100ad3(0x119)]},'children':_0x23d281}]},this[_0x100ad3(0x154)]],'on':{'click':_0x374152['to'](_0x3e5436=>{const _0xfe3bc2=_0x100ad3;_0x3e5436[_0xfe3bc2(0x134)][_0xfe3bc2(0x144)](_0xfe3bc2(0x142))||this[_0xfe3bc2(0x12c)]&&this[_0xfe3bc2(0x130)]&&this[_0xfe3bc2(0x129)](_0xfe3bc2(0x14c),{'id':this['id']});})}}]});}[_0x1fe16a(0x11a)](){const _0x541bd2=_0x1fe16a;super[_0x541bd2(0x11a)]();const _0xe95884=this[_0x541bd2(0x11b)][_0x541bd2(0x151)][_0x541bd2(0x12f)];this[_0x541bd2(0x128)](_0xe95884,_0x541bd2(0x137),()=>{const _0x230279=_0x541bd2;this[_0x230279(0x145)]&&!_0xe95884[_0x230279(0x139)]||this[_0x230279(0x129)](_0x230279(0x143),{'id':this['id'],'name':_0xe95884[_0x230279(0x139)]}),_0xe95884[_0x230279(0x139)]||(_0xe95884[_0x230279(0x139)]=this[_0x230279(0x153)]?this[_0x230279(0x153)]:this[_0x230279(0x12a)]);});}[_0x1fe16a(0x14c)](){const _0x5e4892=_0x1fe16a;this[_0x5e4892(0x116)]=!0x0;}[_0x1fe16a(0x149)](){const _0x5253bf=_0x1fe16a;this[_0x5253bf(0x116)]=!0x1;}[_0x1fe16a(0x11e)](){const _0x41d4dd=_0x1fe16a;this[_0x41d4dd(0x12e)]=!0x0;}[_0x1fe16a(0x147)](){const _0x4776f=_0x1fe16a;this[_0x4776f(0x12e)]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bfd=['set','_isCollapsed','click','ck-revision-history-sidebar__subrevision-collapser_collapsed','bindTemplate','ck-revision-history-sidebar__subrevision-collapser__inner','ck-hidden','setTemplate','span'];(function(_0x32145c,_0x3bfda3){const _0x2ba973=function(_0x252c9d){while(--_0x252c9d){_0x32145c['push'](_0x32145c['shift']());}};_0x2ba973(++_0x3bfda3);}(_0x3bfd,0x136));const _0x2ba9=function(_0x32145c,_0x3bfda3){_0x32145c=_0x32145c-0x0;let _0x2ba973=_0x3bfd[_0x32145c];return _0x2ba973;};import{View as _0x3cbf60}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x3cbf60{constructor(_0x3de21e){super(_0x3de21e);const _0x358bc5=this[_0x2ba9('0x0')];this[_0x2ba9('0x5')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x2ba9('0x3')]({'tag':_0x2ba9('0x4'),'attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser',_0x358bc5['if']('isVisible',_0x2ba9('0x2'),_0x1119e1=>!_0x1119e1),_0x358bc5['if']('_isCollapsed',_0x2ba9('0x8'))],'role':'button','aria-pressed':_0x358bc5['to'](_0x2ba9('0x6'),_0x47878c=>_0x47878c?'false':'true')},'children':[{'tag':'span','attributes':{'class':['ck',_0x2ba9('0x1')]}}],'on':{'click':_0x358bc5['to'](_0x2ba9('0x7'))}});}['toggle'](){this[_0x2ba9('0x6')]=!this[_0x2ba9('0x6')];}}
23
+ function _0x48ac(_0x53ecde,_0x5e8336){const _0x1cb4ae=_0x1cb4();return _0x48ac=function(_0x48ac63,_0x362545){_0x48ac63=_0x48ac63-0x108;let _0x97c797=_0x1cb4ae[_0x48ac63];return _0x97c797;},_0x48ac(_0x53ecde,_0x5e8336);}const _0x40d5a3=_0x48ac;(function(_0x22a75c,_0x21134d){const _0x121c70=_0x48ac,_0x5f65af=_0x22a75c();while(!![]){try{const _0x2e1b78=-parseInt(_0x121c70(0x120))/0x1+parseInt(_0x121c70(0x11c))/0x2*(parseInt(_0x121c70(0x112))/0x3)+parseInt(_0x121c70(0x11d))/0x4+-parseInt(_0x121c70(0x114))/0x5*(-parseInt(_0x121c70(0x10f))/0x6)+-parseInt(_0x121c70(0x116))/0x7*(parseInt(_0x121c70(0x11f))/0x8)+-parseInt(_0x121c70(0x11b))/0x9+parseInt(_0x121c70(0x10b))/0xa;if(_0x2e1b78===_0x21134d)break;else _0x5f65af['push'](_0x5f65af['shift']());}catch(_0x5dd81a){_0x5f65af['push'](_0x5f65af['shift']());}}}(_0x1cb4,0x7db75));function _0x1cb4(){const _0x103e20=['click','toggle','4129641tIWSUB','7318bdvDNx','2430084EXbYCt','bindTemplate','112ZIiRDv','877713jrTbxd','span','ck-hidden','ck-revision-history-sidebar__subrevision-collapser','9174350zzrlRk','ck-revision-history-sidebar__subrevision-collapser__inner','button','isVisible','1183608dbmBLa','false','ck-revision-history-sidebar__subrevision-collapser_collapsed','795FbSMfG','set','5LwWDpV','setTemplate','420182fUQjcs','true','_isCollapsed'];_0x1cb4=function(){return _0x103e20;};return _0x1cb4();}import{View as _0x1c931d}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x1c931d{constructor(_0x2b94c3){const _0x2d3548=_0x48ac;super(_0x2b94c3);const _0x1d9ed1=this[_0x2d3548(0x11e)];this[_0x2d3548(0x113)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x2d3548(0x115)]({'tag':_0x2d3548(0x108),'attributes':{'class':['ck',_0x2d3548(0x10a),_0x1d9ed1['if'](_0x2d3548(0x10e),_0x2d3548(0x109),_0x297cba=>!_0x297cba),_0x1d9ed1['if'](_0x2d3548(0x118),_0x2d3548(0x111))],'role':_0x2d3548(0x10d),'aria-pressed':_0x1d9ed1['to'](_0x2d3548(0x118),_0x55dcc8=>_0x55dcc8?_0x2d3548(0x110):_0x2d3548(0x117))},'children':[{'tag':_0x2d3548(0x108),'attributes':{'class':['ck',_0x2d3548(0x10c)]}}],'on':{'click':_0x1d9ed1['to'](_0x2d3548(0x119))}});}[_0x40d5a3(0x11a)](){const _0x52dc50=_0x40d5a3;this[_0x52dc50(0x118)]=!this[_0x52dc50(0x118)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3688=['uiLanguage','set','ck-reset','fire','bindTemplate','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__subrevision','_createdAtFormatted','bind','ck-revision-history-sidebar__revision_selected','isSelected','_parentRevisionId','setTemplate','select','div','ck-revision-history-sidebar__revision','createdAt','creator','deselect'];(function(_0x6c60f6,_0x368892){const _0x2ec242=function(_0x6e5613){while(--_0x6e5613){_0x6c60f6['push'](_0x6c60f6['shift']());}};_0x2ec242(++_0x368892);}(_0x3688,0x80));const _0x2ec2=function(_0x6c60f6,_0x368892){_0x6c60f6=_0x6c60f6-0x0;let _0x2ec242=_0x3688[_0x6c60f6];return _0x2ec242;};import{View as _0x3c4349}from'ckeditor5/src/ui.js';import _0x19894a from'./revisionauthorview.js';import{dateToPrettyFormat as _0x130840}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class ts extends _0x3c4349{constructor(_0x247baa,_0x5a5b7a,_0x5b3ad8){super(_0x247baa);const _0x313354=this[_0x2ec2('0x10')];this['id']=_0x5a5b7a['id'],this[_0x2ec2('0x1')]('createdAt')['to'](_0x5a5b7a),this[_0x2ec2('0xd')](_0x2ec2('0x3'),!0x1),this[_0x2ec2('0x1')](_0x2ec2('0x0'))['to'](this,_0x2ec2('0x9'),_0x3be677=>_0x3be677?_0x130840(_0x247baa[_0x2ec2('0xc')],_0x3be677):void 0x0),this[_0x2ec2('0x4')]=_0x5b3ad8,this[_0x2ec2('0x5')]({'tag':_0x2ec2('0x7'),'attributes':{'class':['ck',_0x2ec2('0xe'),_0x2ec2('0x8'),_0x2ec2('0x13'),_0x313354['if']('isSelected',_0x2ec2('0x2'))]},'children':[{'tag':'span','attributes':{'class':['ck',_0x2ec2('0x12')]},'children':[{'text':_0x313354['to']('_createdAtFormatted')}]},{'tag':'ul','attributes':{'class':['ck',_0x2ec2('0x11')]},'children':[new _0x19894a(_0x247baa,_0x5a5b7a[_0x2ec2('0xa')],!0x0)]}],'on':{'click':_0x313354['to'](this['select'][_0x2ec2('0x1')](this))}});}[_0x2ec2('0x6')](){this[_0x2ec2('0x3')]=!0x0,this[_0x2ec2('0xf')](_0x2ec2('0x6'),{'parentId':this[_0x2ec2('0x4')]});}[_0x2ec2('0xb')](){this[_0x2ec2('0x3')]=!0x1;}}
23
+ const _0x49d7e8=_0xec7c;(function(_0x32aa03,_0x12ee0b){const _0x48a583=_0xec7c,_0x3d3903=_0x32aa03();while(!![]){try{const _0x33fbd9=parseInt(_0x48a583(0x187))/0x1*(parseInt(_0x48a583(0x195))/0x2)+-parseInt(_0x48a583(0x189))/0x3*(parseInt(_0x48a583(0x1a6))/0x4)+parseInt(_0x48a583(0x192))/0x5*(-parseInt(_0x48a583(0x18d))/0x6)+-parseInt(_0x48a583(0x19e))/0x7*(parseInt(_0x48a583(0x19a))/0x8)+-parseInt(_0x48a583(0x190))/0x9+parseInt(_0x48a583(0x19d))/0xa+parseInt(_0x48a583(0x191))/0xb*(parseInt(_0x48a583(0x18a))/0xc);if(_0x33fbd9===_0x12ee0b)break;else _0x3d3903['push'](_0x3d3903['shift']());}catch(_0x3267d3){_0x3d3903['push'](_0x3d3903['shift']());}}}(_0x27a3,0x96713));function _0xec7c(_0x528e17,_0x8242c8){const _0x27a3f6=_0x27a3();return _0xec7c=function(_0xec7c98,_0x5197ef){_0xec7c98=_0xec7c98-0x186;let _0x587b26=_0x27a3f6[_0xec7c98];return _0x587b26;},_0xec7c(_0x528e17,_0x8242c8);}import{View as _0x1444ad}from'ckeditor5/src/ui.js';import _0x553f11 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x272f70}from'./utils.js';function _0x27a3(){const _0x558ae4=['9087860AKAxst','7jmeUez','div','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision_selected','uiLanguage','ck-reset','isSelected','fire','408muFkvU','_createdAtFormatted','191284DQnvOK','ck-revision-history-sidebar__subrevision','29292EBIpQL','6648YUpWHy','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__revision__date','116544eHAaIm','span','bind','4001994GXHkfR','62711VkJBLR','265qyRKFm','createdAt','set','2GkUhVe','_parentRevisionId','setTemplate','creator','select','9377176rGSEyE','bindTemplate','deselect'];_0x27a3=function(){return _0x558ae4;};return _0x27a3();}import'../../../theme/revision/subrevision.css';export default class is extends _0x1444ad{constructor(_0xc6c635,_0xa89d20,_0x2370d9){const _0x1ce75a=_0xec7c;super(_0xc6c635);const _0x392934=this[_0x1ce75a(0x19b)];this['id']=_0xa89d20['id'],this[_0x1ce75a(0x18f)](_0x1ce75a(0x193))['to'](_0xa89d20),this[_0x1ce75a(0x194)](_0x1ce75a(0x1a4),!0x1),this[_0x1ce75a(0x18f)](_0x1ce75a(0x186))['to'](this,_0x1ce75a(0x193),_0x5b0e30=>_0x5b0e30?_0x272f70(_0xc6c635[_0x1ce75a(0x1a2)],_0x5b0e30):void 0x0),this[_0x1ce75a(0x196)]=_0x2370d9,this[_0x1ce75a(0x197)]({'tag':_0x1ce75a(0x19f),'attributes':{'class':['ck',_0x1ce75a(0x1a3),_0x1ce75a(0x18b),_0x1ce75a(0x188),_0x392934['if'](_0x1ce75a(0x1a4),_0x1ce75a(0x1a1))]},'children':[{'tag':_0x1ce75a(0x18e),'attributes':{'class':['ck',_0x1ce75a(0x18c)]},'children':[{'text':_0x392934['to'](_0x1ce75a(0x186))}]},{'tag':'ul','attributes':{'class':['ck',_0x1ce75a(0x1a0)]},'children':[new _0x553f11(_0xc6c635,_0xa89d20[_0x1ce75a(0x198)],!0x0)]}],'on':{'click':_0x392934['to'](this[_0x1ce75a(0x199)][_0x1ce75a(0x18f)](this))}});}[_0x49d7e8(0x199)](){const _0xcdc116=_0x49d7e8;this[_0xcdc116(0x1a4)]=!0x0,this[_0xcdc116(0x1a5)](_0xcdc116(0x199),{'parentId':this[_0xcdc116(0x196)]});}[_0x49d7e8(0x19c)](){const _0x2f920d=_0x49d7e8;this[_0x2f920d(0x1a4)]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b86=['toLocaleTimeString','numeric','toLocaleDateString','long'];(function(_0x2c9e60,_0x2b86e5){var _0x853710=function(_0x2ff22){while(--_0x2ff22){_0x2c9e60['push'](_0x2c9e60['shift']());}};_0x853710(++_0x2b86e5);}(_0x2b86,0x11f));var _0x8537=function(_0x2c9e60,_0x2b86e5){_0x2c9e60=_0x2c9e60-0x0;var _0x853710=_0x2b86[_0x2c9e60];return _0x853710;};export function dateToPrettyFormat(_0x35b6e3,_0x227ec3){return _0x227ec3[_0x8537('0x3')](_0x35b6e3,{'month':_0x8537('0x0'),'day':'numeric'})+',\x20'+_0x227ec3[_0x8537('0x1')](_0x35b6e3,{'hour':_0x8537('0x2'),'minute':'numeric'});}
23
+ (function(_0x21af3a,_0x548088){var _0x5cc2d7=_0x3a64,_0x460188=_0x21af3a();while(!![]){try{var _0x57c407=-parseInt(_0x5cc2d7(0x13a))/0x1+parseInt(_0x5cc2d7(0x134))/0x2+parseInt(_0x5cc2d7(0x137))/0x3*(-parseInt(_0x5cc2d7(0x139))/0x4)+-parseInt(_0x5cc2d7(0x130))/0x5+-parseInt(_0x5cc2d7(0x136))/0x6*(-parseInt(_0x5cc2d7(0x138))/0x7)+parseInt(_0x5cc2d7(0x13b))/0x8*(parseInt(_0x5cc2d7(0x135))/0x9)+parseInt(_0x5cc2d7(0x132))/0xa;if(_0x57c407===_0x548088)break;else _0x460188['push'](_0x460188['shift']());}catch(_0x21c1d2){_0x460188['push'](_0x460188['shift']());}}}(_0xf940,0x78478));function _0xf940(){var _0x58f21f=['1848129VMvkCn','7FDKGLS','4CUTLIt','50285dUimbs','1971888DRGTgM','numeric','long','1308325xdUEUw','toLocaleTimeString','2768610XAbSAr','toLocaleDateString','1286632BUitZo','9yRmkuu','1523964TTETZS'];_0xf940=function(){return _0x58f21f;};return _0xf940();}function _0x3a64(_0x412033,_0x2b7e47){var _0xf940d7=_0xf940();return _0x3a64=function(_0x3a6441,_0x224471){_0x3a6441=_0x3a6441-0x130;var _0x252be0=_0xf940d7[_0x3a6441];return _0x252be0;},_0x3a64(_0x412033,_0x2b7e47);}export function dateToPrettyFormat(_0x4bdcd5,_0x319fcb){var _0x372f12=_0x3a64;return _0x319fcb[_0x372f12(0x133)](_0x4bdcd5,{'month':_0x372f12(0x13d),'day':_0x372f12(0x13c)})+',\x20'+_0x319fcb[_0x372f12(0x131)](_0x4bdcd5,{'hour':_0x372f12(0x13c),'minute':_0x372f12(0x13c)});}
@@ -38,7 +38,7 @@ export default class RevisionHistorySaveRevisionFormView extends View {
38
38
  * @observable
39
39
  */
40
40
  revisionNameInputValue: string;
41
- constructor(locale: Locale);
41
+ constructor(locale: Locale, requireRevisionName: boolean);
42
42
  /**
43
43
  * @inheritDoc
44
44
  */