@ckeditor/ckeditor5-revision-history 42.0.2-alpha.2 → 43.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2b5a8d=_0x4ddd;function _0x26e2(){const _0x451562=['getClientRects','getRevisionData','restoreRevision','isLimit','createUIElement','isAtEnd','addClass','for','get','model','collaboration.channelId','writer','toViewPosition','mapViewToDom','viewItem','change:isEnabled','document','enqueueChange','ck-editor__editable__overlay','consumable','next','isAtStart','addMarker:revision-suggestion:insertion','affectsData','left','element','revisionHistory','toData','2243003tiamal','toViewElement','startsWith','end','length','parent','getWalker','span','isAfter','consume','commands','POSITIVE_INFINITY','createPositionBefore','ck-revision-history-root--active','loadRevisionData','2nwitTz','toViewRange','updatePosition','indexOf','88428HLvIJq','wrap','nodeAfter','ck-suggestion-marker--active','all','isSuggestion','_getViewForChange','keys','compare','high','change:numberOfChanges','dataToMarker','modelRange','processor','_makeTape','mapper','revisionHistoryAttachChange','markerName','getRevisionRootsAttributes','comment','_sortAndFilterDiffChanges','hasClass','values','item','upcast','_fixObsoleteTags','ck-suggestion-preview-marker','target','pairId','suggestion:','WidgetToolbarRepository','_joinTapes','getItems','then','isAdded','isRemoveSuggestion','side','right','ck-suggestion-marker-','view','_initInteractions','_removeRevisionMarkers','range','addHighlight','forward','checkAttribute','isObject','elementEnd','roots','remove','flat','init','changes','ck-revision-history-root-remove','code','isAddSuggestion','deletions','splice','-new','removeMarker:revision','return','text','_markInsertions','_balloon','dataDowncast','_makeModelFromViewString','revision-suggestion:','createRangeIn','attributes','showNextChange','createRange','_cleanMarkers','newRevisionId','getAttribute','index','top','selection','isNavigationMode','getCustomProperty','getRevision','addRevision','endIndex','refresh','vid','authors','element:pre','49752kXXdux','10IjKYnI','unbindElementFromMarkerName','data-revision-','execute','delete','stop','rootName','isInline','adapter','bottom','pop','filter','set','highest','push','removeMarker:revision-suggestion','elementToAttribute','createAttributeElement','_cleanUp','markerToHighlight','conversion','concat','122868Dnzwcd','493732CJjlJY','createRevision','ck-suggestion-marker-split','removeMarker','_refreshStartEndIndex','marked','clear','_data','name','done','attributesBefore','showPreviousChange','diff','RevisionViewer','startIndex','mouseover','isReady','previousPosition','isBefore','_revisions','2947660eyMXTw','config','sort','_changeView','findIndex','change','attribute:vid','markers','restoreRevisionCallback','_setConversion','toModel','default','9968QUQmda','_processTape','attributesAfter','oldRevisionId','insertions','ck-suggestion-marker-merge','editing','_update','getChild','143efOyYF','resolve','domEvent','has','downcastDispatcher','_setDistance','isRemoved','object','getIndex','addRevisionData','schema','type','destroy','isOnRoot','vid_end','revision-viewer','currentChangeNumber','pluginName','abs','catch','addRoot','map','markerNameToElements','includes','_setChanges','_markSuggestions','start','change:activeChange','nextSibling','revision-suggestion','plugins','merge','isCollapsed','error','markersEnd','isAttached','_getViewObj','createPositionFromPath','editor','diffData','_threeWayMerge','slice','markerToData','revision-end','listenTo','change:isReady','activeChange','editingDowncast','ck-revision-history-root-add','_findChangeIdFromDomTarget','level','revision-comment:','shift','_markMarkers','getRoot','getRootNames','_getChangeFromId','nextPosition','find','softBreak','revision:','bindElementToMarker','useFillerType','test','ck-suggestion-preview-marker-','insertion','isEqual','unshift','_getDiff','reconvertMarker','elementStart','changeId','forceDisabled','revision-start','removeAttribute','userId','detachRoot','activeView','numberOfChanges','data','isEnabled','addMarker:revision','enableReadOnlyMode','ck-suggestion-marker','distance','data-change-id','forEach','insert','isContent','_removeUnsupportedChanges','observeMarkers','first','string','maxOffset','_activeViewTarget','split','_getRevisionsRange','_markMismatchedRemovedTags','_removeMissingPairs','domConverter','deletion','low','markerRange','2961aknTXw','locale','add','attachChange','markersStart','getDomRoot','bind','parse','_makeModelFromTape','mousedown','change:activeView','from','removeClass','_changeIdToChange','_step','suggestion','requires','vid_start','repository','hasAttribute','isBlock','setAttribute','ck-revision-history-root-','showStack','uiElement','revision','children','_appendChild','offsetSize','backward','RevisionsRepository','12MbJklv','revisionHistoryLabel','addMarker:revision-suggestion:deletion','isIncorrect','getAttributes'];_0x26e2=function(){return _0x451562;};return _0x26e2();}(function(_0x5f23af,_0x3f06a5){const _0xf94e40=_0x4ddd,_0x2128a0=_0x5f23af();while(!![]){try{const _0x49fd30=-parseInt(_0xf94e40(0xcf))/0x1*(parseInt(_0xf94e40(0x141))/0x2)+-parseInt(_0xf94e40(0x1f0))/0x3*(parseInt(_0xf94e40(0x129))/0x4)+parseInt(_0xf94e40(0x12a))/0x5*(parseInt(_0xf94e40(0xd3))/0x6)+parseInt(_0xf94e40(0xc0))/0x7+-parseInt(_0xf94e40(0x161))/0x8*(-parseInt(_0xf94e40(0x1d1))/0x9)+parseInt(_0xf94e40(0x155))/0xa+-parseInt(_0xf94e40(0x16a))/0xb*(parseInt(_0xf94e40(0x140))/0xc);if(_0x49fd30===_0x3f06a5)break;else _0x2128a0['push'](_0x2128a0['shift']());}catch(_0x5a2ff2){_0x2128a0['push'](_0x2128a0['shift']());}}}(_0x26e2,0x5c49e));import{Plugin as _0xd8e89e,Command as _0x4f4397}from'ckeditor5/src/core.js';function _0x4ddd(_0x224eda,_0x2c2275){const _0x26e2f5=_0x26e2();return _0x4ddd=function(_0x4ddd72,_0x5e88ed){_0x4ddd72=_0x4ddd72-0xab;let _0x37ecd1=_0x26e2f5[_0x4ddd72];return _0x37ecd1;},_0x4ddd(_0x224eda,_0x2c2275);}import{scrollViewportToShowTarget as _0x231a5e}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x37b142}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2342e0,Element as _0x53cf83,Text as _0x43a8a8,ViewDocumentFragment as _0x735f90,ViewText as _0x19d53,ViewElement as _0x25cc50,ViewContainerElement as _0x17cc61,ViewAttributeElement as _0xd96b61,ViewEmptyElement as _0x2e7cae,ViewRawElement as _0x3a9de3,ViewUIElement as _0x41097e}from'ckeditor5/src/engine.js';import{Users as _0x2b753f,getMarkerDomElement as _0x3e6a3b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1589ab from'./ui/revisionviewer/changedetailsview.js';import _0x3fe358 from'./revisionsrepository.js';import _0x4217fe from'./changeitem.js';import{default as _0x4673a7}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x39f80d}from'lodash-es';const tt={'c':_0x17cc61,'a':_0xd96b61,'e':_0x2e7cae,'r':_0x3a9de3,'u':_0x41097e};export default class d extends _0xd8e89e{static get[_0x2b5a8d(0x17b)](){const _0x3e2f34=_0x2b5a8d;return _0x3e2f34(0x14e);}static get[_0x2b5a8d(0x1e1)](){return[_0x2b753f,_0x37b142,_0x3fe358];}constructor(_0x4aff79){const _0x2b720c=_0x2b5a8d;super(_0x4aff79),this[_0x2b720c(0x1e3)]=this[_0x2b720c(0x190)][_0x2b720c(0x188)][_0x2b720c(0xac)](_0x2b720c(0x1ef)),this[_0x2b720c(0x136)](_0x2b720c(0x198),null),this[_0x2b720c(0x136)](_0x2b720c(0x1b7),null),this[_0x2b720c(0x1c8)]=null,this[_0x2b720c(0x136)](_0x2b720c(0x14d),null),this[_0x2b720c(0x136)](_0x2b720c(0x151),!0x1),this[_0x2b720c(0x136)](_0x2b720c(0x1ba),!0x0),this['on'](_0x2b720c(0xb3),(_0x13d680,_0x2e3c0d,_0x173506)=>{const _0x4cfc97=_0x2b720c;this[_0x4cfc97(0x198)]=null,this[_0x4cfc97(0x1b7)]=null,this[_0x4cfc97(0x190)][_0x4cfc97(0x167)][_0x4cfc97(0xfa)][_0x4cfc97(0x15a)](_0x1b967c=>{const _0x2c4d62=_0x4cfc97;for(const _0x242fb0 of this[_0x2c4d62(0x190)][_0x2c4d62(0x167)][_0x2c4d62(0xfa)][_0x2c4d62(0xb4)][_0x2c4d62(0x103)])_0x173506?_0x1b967c[_0x2c4d62(0x1dd)](_0x2c4d62(0xb6),_0x242fb0):_0x1b967c[_0x2c4d62(0x1fb)](_0x2c4d62(0xb6),_0x242fb0);});}),this[_0x2b720c(0x1d7)](_0x2b720c(0x120))['to'](this,_0x2b720c(0x198),_0x264b44=>null!==_0x264b44),this[_0x2b720c(0x1d7)](_0x2b720c(0x17a))['to'](this,_0x2b720c(0x151),this,_0x2b720c(0x14d),this,_0x2b720c(0x198),(_0x3005f5,_0x15e306,_0x5df91c)=>_0x3005f5&&_0x5df91c?_0x15e306[_0x2b720c(0x107)][_0x2b720c(0x172)](_0x5df91c):0x0),this[_0x2b720c(0x1d7)](_0x2b720c(0x1b8))['to'](this,_0x2b720c(0x151),this,_0x2b720c(0x14d),(_0x5ebdee,_0x2b7c2c)=>_0x5ebdee?_0x2b7c2c[_0x2b720c(0x107)][_0x2b720c(0xc4)]:0x0),this[_0x2b720c(0x158)]=null,this[_0x2b720c(0x1de)]=new Map(),this[_0x2b720c(0x132)]=null,this[_0x2b720c(0x112)]=this[_0x2b720c(0x190)][_0x2b720c(0x188)][_0x2b720c(0xac)](_0x37b142);}[_0x2b5a8d(0x106)](){const _0x470b2d=_0x2b5a8d,_0x4a9391=this[_0x470b2d(0x190)],_0x38bad6=new ShowChangeCommand(_0x4a9391,{'direction':_0x470b2d(0x1ee)}),_0x18ba96=new ShowChangeCommand(_0x4a9391,{'direction':_0x470b2d(0xff)});(_0x4a9391[_0x470b2d(0xca)][_0x470b2d(0x1d3)](_0x470b2d(0x14c),_0x38bad6),_0x4a9391[_0x470b2d(0xca)][_0x470b2d(0x1d3)](_0x470b2d(0x118),_0x18ba96),_0x4a9391[_0x470b2d(0xca)][_0x470b2d(0x1d3)](_0x470b2d(0x1f7),new RestoreRevisionCommand(_0x4a9391)),this['on'](_0x470b2d(0xdd),()=>{const _0x20ee58=_0x470b2d;_0x38bad6[_0x20ee58(0x125)](),_0x18ba96[_0x20ee58(0x125)]();}),this[_0x470b2d(0x15e)](),this[_0x470b2d(0xfb)](),_0x4a9391[_0x470b2d(0x1bc)](_0x470b2d(0x179)),_0x4a9391[_0x470b2d(0x188)][_0x470b2d(0x16d)](_0x470b2d(0xf1)))&&_0x4a9391[_0x470b2d(0x188)][_0x470b2d(0xac)](_0x470b2d(0xf1))[_0x470b2d(0x1b2)](_0x470b2d(0x179));}async[_0x2b5a8d(0x1f6)](_0x488e48){const _0x129e24=_0x2b5a8d;await this[_0x129e24(0xce)](_0x488e48);const _0x5c587f={};for(const _0x5ef877 in _0x488e48[_0x129e24(0x191)]){if(_0x488e48[_0x129e24(0x191)][_0x5ef877][_0x129e24(0x1d4)]&&!_0x488e48[_0x129e24(0x191)][_0x5ef877][_0x129e24(0x1d4)][_0x129e24(0x18d)])continue;const _0x47b47a=this[_0x129e24(0xfc)](JSON[_0x129e24(0x1d8)](_0x488e48[_0x129e24(0x191)][_0x5ef877][_0x129e24(0x165)])),_0x2a0ad=this[_0x129e24(0x190)][_0x129e24(0x167)][_0x129e24(0xfa)][_0x129e24(0xb4)],_0x2cbcf4=new _0x735f90(_0x2a0ad,_0x47b47a[_0x129e24(0x17f)](_0x374d42=>this[_0x129e24(0x18e)](_0x374d42)));this[_0x129e24(0x190)][_0x129e24(0x1b9)][_0x129e24(0xe0)][_0x129e24(0x1a8)](_0x129e24(0x146)),_0x5c587f[_0x5ef877]=this[_0x129e24(0x190)][_0x129e24(0x1b9)][_0x129e24(0xe0)][_0x129e24(0xbf)](_0x2cbcf4),this[_0x129e24(0x190)][_0x129e24(0x1b9)][_0x129e24(0xe0)][_0x129e24(0x1a8)](_0x129e24(0x160));}return _0x5c587f;}async[_0x2b5a8d(0xe5)](_0x1f4a73){const _0x24ba37=_0x2b5a8d;await this[_0x24ba37(0xce)](_0x1f4a73);const _0x1af011={};for(const _0x3d5d2d in _0x1f4a73[_0x24ba37(0x191)])_0x1f4a73[_0x24ba37(0x191)][_0x3d5d2d][_0x24ba37(0x1d4)]&&!_0x1f4a73[_0x24ba37(0x191)][_0x3d5d2d][_0x24ba37(0x1d4)][_0x24ba37(0x18d)]||(_0x1af011[_0x3d5d2d]=_0x1f4a73[_0x24ba37(0x191)][_0x3d5d2d][_0x24ba37(0x163)]||{});return _0x1af011;}[_0x2b5a8d(0xfc)](_0x5fb8a4){const _0x4123ea=_0x2b5a8d;return(_0x5fb8a4=_0x5fb8a4[_0x4123ea(0x135)](_0x5844be=>!_0x5844be[_0x4123ea(0x149)]||_0x4123ea(0x1b3)!==_0x5844be[_0x4123ea(0x149)]&&_0x4123ea(0x195)!==_0x5844be[_0x4123ea(0x149)]))[_0x4123ea(0x1c0)](_0x349328=>{const _0x536a20=_0x4123ea;_0x536a20(0x1c6)!=typeof _0x349328&&(_0x349328[_0x536a20(0x1eb)]=this[_0x536a20(0xfc)](_0x349328[_0x536a20(0x1eb)]),_0x349328[_0x536a20(0x117)]=_0x349328[_0x536a20(0x117)][_0x536a20(0x135)](_0x3f53d2=>!_0x3f53d2[0x0][_0x536a20(0xc2)](_0x536a20(0x12c))));}),_0x5fb8a4;}async[_0x2b5a8d(0xdb)](_0x2e12ee,_0x3060eb,_0x30b775=!0x1){const _0x13a904=_0x2b5a8d;if(!this[_0x13a904(0x1ba)])return;const _0x1c7572=this[_0x13a904(0x14d)],_0x1f3585=this[_0x13a904(0x1e3)],_0x214e70=_0x13a904(0x1c6)==typeof _0x2e12ee?_0x1f3585[_0x13a904(0x122)](_0x2e12ee):_0x2e12ee,_0x526b9e=_0x13a904(0x1c6)==typeof _0x3060eb?_0x1f3585[_0x13a904(0x122)](_0x3060eb):_0x3060eb,_0x9586ef=_0x214e70['id'],_0x366931=_0x526b9e?_0x526b9e['id']:null;if(!_0x30b775&&this[_0x13a904(0x14d)]&&this[_0x13a904(0x14d)][_0x13a904(0x11b)]===_0x9586ef&&this[_0x13a904(0x14d)][_0x13a904(0x164)]===_0x366931)return Promise[_0x13a904(0x16b)]();this[_0x13a904(0x151)]=!0x1,this[_0x13a904(0x1b7)]=null,this[_0x13a904(0x198)]=null,this[_0x13a904(0x14d)]=new _0x4673a7(_0x9586ef,_0x366931);const _0x3b1654=this[_0x13a904(0x1ca)](_0x214e70,_0x526b9e,!0x0)[_0x13a904(0x17f)](_0x188846=>this[_0x13a904(0xce)](_0x188846));return _0x3b1654[_0x13a904(0x138)](new Promise(_0x1b708e=>{setTimeout(_0x1b708e,0x14);})),Promise[_0x13a904(0xd7)](_0x3b1654)[_0x13a904(0xf4)](()=>{const _0x3f04c3=_0x13a904;if(!this[_0x3f04c3(0x1ba)])return;this[_0x3f04c3(0x13c)]();const _0x2867eb=this[_0x3f04c3(0x1ae)](_0x9586ef,_0x366931);for(const _0x41d96b of _0x2867eb[_0x3f04c3(0x107)])this[_0x3f04c3(0x1de)][_0x3f04c3(0x136)](_0x41d96b['id'],_0x41d96b);this[_0x3f04c3(0x190)][_0x3f04c3(0xad)][_0x3f04c3(0xb5)]({'isUndoable':!0x1},_0x88fbc3=>{const _0x23681e=_0x3f04c3;for(const _0x282234 of this[_0x23681e(0x190)][_0x23681e(0xad)][_0x23681e(0xb4)][_0x23681e(0x1a1)]())_0x88fbc3[_0x23681e(0x1b6)](_0x282234);for(const _0x4f1104 of Object[_0x23681e(0xda)](_0x2867eb[_0x23681e(0xad)])){const _0x94b54d=_0x88fbc3[_0x23681e(0x17e)](_0x4f1104);for(const _0x283ac3 of Object[_0x23681e(0xda)](_0x2867eb[_0x23681e(0x117)][_0x4f1104]))_0x88fbc3[_0x23681e(0x1e6)](_0x283ac3,_0x2867eb[_0x23681e(0x117)][_0x4f1104][_0x283ac3],_0x94b54d);_0x88fbc3[_0x23681e(0x1c1)](_0x2867eb[_0x23681e(0xad)][_0x4f1104],_0x94b54d,0x0);}}),this[_0x3f04c3(0x14d)][_0x3f04c3(0x182)](this[_0x3f04c3(0xe7)](_0x2867eb[_0x3f04c3(0x107)])),this[_0x3f04c3(0x151)]=!0x0;})[_0x13a904(0x17d)](_0xb6238=>{const _0x24c150=_0x13a904;console[_0x24c150(0x18b)](_0xb6238),this[_0x24c150(0x13c)](),_0x1c7572&&(this[_0x24c150(0x14d)]=_0x1c7572),this[_0x24c150(0x151)]=!0x0;});}[_0x2b5a8d(0x173)](_0x33c80a,_0x39a753){const _0x55dcbc=_0x2b5a8d,_0x8ff55=this[_0x55dcbc(0x1e3)][_0x55dcbc(0x142)](_0x33c80a);return _0x8ff55['on'](_0x55dcbc(0x168),(_0x3010d8,_0x3c071b,_0x1025c5)=>_0x39a753(_0x3c071b,_0x1025c5,_0x8ff55)),this[_0x55dcbc(0x1e3)][_0x55dcbc(0x123)](_0x8ff55),_0x8ff55;}[_0x2b5a8d(0xce)](_0x2844a9){const _0x1ba63f=_0x2b5a8d;if(!_0x2844a9||_0x2844a9[_0x1ba63f(0x191)])return Promise[_0x1ba63f(0x16b)]();{const _0x5a758a=this[_0x1ba63f(0x190)][_0x1ba63f(0x156)][_0x1ba63f(0xac)](_0x1ba63f(0xae));return this[_0x1ba63f(0x132)][_0x1ba63f(0x122)]({'channelId':_0x5a758a,'revisionId':_0x2844a9['id']})[_0x1ba63f(0xf4)](_0x461c92=>{const _0x5b4b34=_0x1ba63f;_0x2844a9[_0x5b4b34(0x168)]({'diffData':_0x461c92[_0x5b4b34(0x191)]},!0x0);});}}[_0x2b5a8d(0x13c)](){const _0x58ecc9=_0x2b5a8d;this[_0x58ecc9(0x198)]=null,this[_0x58ecc9(0x11a)](),this[_0x58ecc9(0x158)]&&this[_0x58ecc9(0x158)][_0x58ecc9(0x176)](),this[_0x58ecc9(0x158)]=null,this[_0x58ecc9(0x1de)][_0x58ecc9(0x147)](),this[_0x58ecc9(0x190)][_0x58ecc9(0xad)][_0x58ecc9(0xb5)]({'isUndoable':!0x1},_0xf78f85=>{const _0x394d34=_0x58ecc9;for(const _0x374af3 of this[_0x394d34(0x190)][_0x394d34(0xad)][_0x394d34(0xb4)][_0x394d34(0x1a1)]())_0xf78f85[_0x394d34(0x1b6)](_0x374af3);});}[_0x2b5a8d(0xe7)](_0x3a7796){const _0xd779f4=_0x2b5a8d,_0x1437d2=[],_0x5a294c=new Map();for(const _0x411a55 of this[_0xd779f4(0x190)][_0xd779f4(0xad)][_0xd779f4(0xb4)][_0xd779f4(0x1a1)]()){const _0x5793ca=this[_0xd779f4(0x190)][_0xd779f4(0x167)][_0xd779f4(0xfa)][_0xd779f4(0x1d6)](_0x411a55);if(!_0x5793ca)continue;const _0x1903db=_0x5793ca[_0xd779f4(0x1f5)]()[_0xd779f4(0xea)](0x0);_0x1903db&&(_0x1437d2[_0xd779f4(0x138)](_0x411a55),_0x5a294c[_0xd779f4(0x136)](_0x411a55,_0x1903db));}return _0x1437d2[_0xd779f4(0x157)]((_0x4225bb,_0x2dc031)=>{const _0x13ab65=_0xd779f4,_0x346bf4=_0x5a294c[_0x13ab65(0xac)](_0x4225bb),_0x5ea4a6=_0x5a294c[_0x13ab65(0xac)](_0x2dc031);return _0x346bf4['y']-_0x5ea4a6['y']||_0x346bf4['x']-_0x5ea4a6['x'];}),(_0x3a7796=_0x3a7796[_0xd779f4(0x135)](_0x3c2ee5=>_0x1437d2[_0xd779f4(0x181)](_0x3c2ee5[_0xd779f4(0x130)])))[_0xd779f4(0x157)]((_0x20f1ff,_0x41268a)=>_0x1437d2[_0xd779f4(0xd2)](_0x20f1ff[_0xd779f4(0x130)])-_0x1437d2[_0xd779f4(0xd2)](_0x41268a[_0xd779f4(0x130)])),_0x3a7796;}[_0x2b5a8d(0xe1)](_0x138117){const _0x501776=_0x2b5a8d,_0x4ea503=Array[_0x501776(0x1dc)](_0x138117[_0x501776(0x15c)])[_0x501776(0x135)](([_0x462fd8,_0x48fc60])=>_0x462fd8[_0x501776(0xc2)](_0x501776(0x1a6))&&!_0x48fc60[_0x501776(0x18a)]),_0x416237=Array[_0x501776(0x1dc)](this[_0x501776(0x190)][_0x501776(0xad)][_0x501776(0x116)](_0x138117)[_0x501776(0xc6)]({'singleCharacters':!0x0}));if(0x0!=_0x4ea503[_0x501776(0xc4)])for(const _0x1e8fef of _0x416237){const [_0x417cf9,_0x421e37]=_0x4ea503[0x0],[,_0x2066ab,_0x5590c6]=_0x417cf9[_0x501776(0x1c9)](':');if(_0x421e37[_0x501776(0xc3)][_0x501776(0x1ac)](_0x1e8fef[_0x501776(0x1a3)])&&_0x4ea503[_0x501776(0x19e)](),(_0x1e8fef[_0x501776(0x152)][_0x501776(0x1ac)](_0x421e37[_0x501776(0x184)])||_0x1e8fef[_0x501776(0x152)][_0x501776(0xc8)](_0x421e37[_0x501776(0x184)]))&&(_0x501776(0x1ab)==_0x2066ab?_0x1e8fef[_0x501776(0xf5)]={'userId':_0x5590c6}:_0x501776(0x1ce)==_0x2066ab&&(_0x1e8fef[_0x501776(0x170)]={'userId':_0x5590c6})),0x0==_0x4ea503[_0x501776(0xc4)])break;}return _0x416237;}[_0x2b5a8d(0x145)](_0x3250c9){const _0x60671e=_0x2b5a8d,_0x16f546=new Map();for(let _0x292635=0x0;_0x292635<_0x3250c9[_0x60671e(0xc4)];_0x292635++)_0x60671e(0x110)===_0x3250c9[_0x292635][_0x60671e(0x175)]?(_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x14f)]=_0x292635,_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x124)]=_0x292635):(_0x60671e(0x1b0)===_0x3250c9[_0x292635][_0x60671e(0x175)]?_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x14f)]=_0x292635:_0x60671e(0x102)===_0x3250c9[_0x292635][_0x60671e(0x175)]&&(_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x124)]=_0x292635),_0x16f546[_0x60671e(0x136)](_0x3250c9[_0x292635]['id'],_0x292635));for(const _0x318207 of _0x16f546[_0x60671e(0xe9)]())_0x60671e(0x1b0)===_0x3250c9[_0x318207][_0x60671e(0x175)]?_0x3250c9[_0x318207][_0x60671e(0xea)][_0x60671e(0x124)]=_0x16f546[_0x60671e(0xac)](_0x3250c9[_0x318207][_0x60671e(0xef)]):_0x60671e(0x102)===_0x3250c9[_0x318207][_0x60671e(0x175)]&&(_0x3250c9[_0x318207][_0x60671e(0xea)][_0x60671e(0x14f)]=_0x16f546[_0x60671e(0xac)](_0x3250c9[_0x318207][_0x60671e(0xef)]));}[_0x2b5a8d(0x162)](_0x59b5a3){const _0x3d05d0=_0x2b5a8d;for(let _0x3e948c=0x0;_0x3e948c<_0x59b5a3[_0x3d05d0(0xc4)];_0x3e948c++){if(_0x3d05d0(0x1b0)===_0x59b5a3[_0x3e948c][_0x3d05d0(0x175)])_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x14f)]=_0x3e948c;else{if(_0x3d05d0(0x102)===_0x59b5a3[_0x3e948c][_0x3d05d0(0x175)]){_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x124)]=_0x3e948c;const _0x4cecca=_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x14f)];_0x59b5a3[_0x4cecca][_0x3d05d0(0xef)]=_0x59b5a3[_0x3e948c]['id'],_0x59b5a3[_0x3e948c][_0x3d05d0(0xef)]=_0x59b5a3[_0x4cecca]['id'];}else _0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x14f)]=_0x3e948c,_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x124)]=_0x3e948c,_0x59b5a3[_0x3e948c][_0x3d05d0(0xef)]=null;}_0x59b5a3[_0x3e948c][_0x3d05d0(0x1d5)]||(_0x59b5a3[_0x3e948c][_0x3d05d0(0x1d5)]=[],_0x59b5a3[_0x3e948c][_0x3d05d0(0x18c)]=[]);}}[_0x2b5a8d(0x111)](_0x59d5bd,_0x4893b9){const _0x4bb4bc=_0x2b5a8d,_0x25da36=_0x59d5bd[_0x4bb4bc(0x135)](_0x31d2d1=>!_0x31d2d1[_0x4bb4bc(0xf5)]);for(let _0x2d1afc=0x0;_0x2d1afc<_0x4893b9[_0x4bb4bc(0xc4)];_0x2d1afc++)_0x4893b9[_0x2d1afc][_0x4bb4bc(0xf5)]&&(_0x25da36[_0x2d1afc][_0x4bb4bc(0xf5)]=_0x4893b9[_0x2d1afc][_0x4bb4bc(0xf5)]);}[_0x2b5a8d(0x114)](_0x1d55be){const _0x4e0827=_0x2b5a8d,_0x194abe=JSON[_0x4e0827(0x1d8)](_0x1d55be),_0x10a06e=this[_0x4e0827(0x190)][_0x4e0827(0x167)][_0x4e0827(0xfa)][_0x4e0827(0xb4)],_0xd6483=new _0x735f90(_0x10a06e,_0x194abe[_0x4e0827(0x17f)](_0x5b8c22=>this[_0x4e0827(0x18e)](_0x5b8c22)));return this[_0x4e0827(0x190)][_0x4e0827(0x1b9)][_0x4e0827(0x15f)](_0xd6483);}[_0x2b5a8d(0x18e)](_0x22f040){const _0x53be1d=_0x2b5a8d,_0x1780ea=this[_0x53be1d(0x190)][_0x53be1d(0x167)][_0x53be1d(0xfa)][_0x53be1d(0xb4)];if(_0x53be1d(0x1c6)==typeof _0x22f040)return new _0x19d53(_0x1780ea,_0x22f040);{const _0x2eacb3=_0x22f040[_0x53be1d(0x1eb)][_0x53be1d(0x17f)](_0x120bdb=>this[_0x53be1d(0x18e)](_0x120bdb));return new(tt[_0x22f040[(_0x53be1d(0x175))]]||_0x25cc50)(_0x1780ea,_0x22f040[_0x53be1d(0x149)],_0x22f040[_0x53be1d(0x117)],_0x2eacb3);}}[_0x2b5a8d(0x1ae)](_0x19ae51,_0x1b0a15=null){const _0x5938a7=_0x2b5a8d,_0x457dc0=this[_0x5938a7(0x1e3)][_0x5938a7(0x122)](_0x19ae51),_0x460da8=_0x1b0a15?this[_0x5938a7(0x1e3)][_0x5938a7(0x122)](_0x1b0a15):null,_0x3e8188=this[_0x5938a7(0x1ca)](_0x457dc0,_0x460da8),_0x4c8d79=_0x3e8188[_0x3e8188[_0x5938a7(0xc4)]-0x1],_0xfe8324=new Map(),_0x54ea91={'model':{},'attributes':{},'changes':[]},_0x32c436=new Set(),_0x5ce91a=new Map();for(let _0x29d148=_0x3e8188[_0x5938a7(0xc4)]-0x1;_0x29d148>=0x0;_0x29d148--){const _0x38d4c7=_0x3e8188[_0x29d148];for(const _0x39304b of Object[_0x5938a7(0xda)](_0x38d4c7[_0x5938a7(0x191)]))if(_0x38d4c7[_0x5938a7(0x191)][_0x39304b][_0x5938a7(0x1d4)]){const _0x54b005=_0x38d4c7[_0x5938a7(0x191)][_0x39304b][_0x5938a7(0x1d4)];_0x54b005[_0x5938a7(0x18d)]?(_0x32c436[_0x5938a7(0x1d3)](_0x39304b),_0x5ce91a[_0x5938a7(0x16d)](_0x39304b)&&_0x5ce91a[_0x5938a7(0xac)](_0x39304b)[_0x5938a7(0x1b5)]==_0x54b005[_0x5938a7(0x1b5)]?_0x5ce91a[_0x5938a7(0x12e)](_0x39304b):_0x5ce91a[_0x5938a7(0x136)](_0x39304b,_0x54b005)):_0x5ce91a[_0x5938a7(0x16d)](_0x39304b)?(_0x32c436[_0x5938a7(0x12e)](_0x39304b),_0x5ce91a[_0x5938a7(0x12e)](_0x39304b)):(_0x32c436[_0x5938a7(0x1d3)](_0x39304b),_0x5ce91a[_0x5938a7(0x136)](_0x39304b,_0x54b005));}else _0x32c436[_0x5938a7(0x1d3)](_0x39304b);}for(const _0x3bd1be of _0x32c436){const _0x2a4fa7=_0x5ce91a[_0x5938a7(0x16d)](_0x3bd1be)&&!_0x5ce91a[_0x5938a7(0xac)](_0x3bd1be)[_0x5938a7(0x18d)];let _0x166470=_0x2a4fa7?_0x3e8188[_0x5938a7(0xc4)]-0x1:0x0;const _0x516cfa=_0x2a4fa7?-0x1:0x1;for(;_0x3e8188[_0x166470];){const _0x2121f9=_0x3e8188[_0x166470];if(_0x2121f9[_0x5938a7(0x191)][_0x3bd1be]){const _0x4a3da6=_0x2a4fa7?_0x2121f9[_0x5938a7(0x191)][_0x3bd1be][_0x5938a7(0x14b)]:_0x2121f9[_0x5938a7(0x191)][_0x3bd1be][_0x5938a7(0x163)];_0x54ea91[_0x5938a7(0x117)][_0x3bd1be]=_0x4a3da6?_0x39f80d(_0x4a3da6):{};break;}_0x166470+=_0x516cfa;}}for(const _0x3369c6 of _0x3e8188){_0x3369c6[_0x5938a7(0xad)]={};for(const _0x4edee2 of _0x3369c6[_0x5938a7(0x127)])_0xfe8324[_0x5938a7(0x136)](_0x4edee2['id'],_0x4edee2);for(const _0x414e04 of _0x32c436){const _0x374000=_0x3369c6[_0x5938a7(0x191)][_0x414e04]?_0x3369c6[_0x5938a7(0x191)][_0x414e04][_0x5938a7(0x165)]:'[]',_0x39299e=_0x3369c6[_0x5938a7(0x191)][_0x414e04]?_0x3369c6[_0x5938a7(0x191)][_0x414e04][_0x5938a7(0x10b)]:'[]';_0x3369c6[_0x5938a7(0xad)][_0x414e04]={'insertions':this[_0x5938a7(0x114)](_0x374000),'deletions':this[_0x5938a7(0x114)](_0x39299e)};}}for(const _0x59fc81 of _0x32c436){let _0x2f9264=null,_0x350c14=0x0;const _0x4c148c=new Map(Array[_0x5938a7(0x1dc)](_0x457dc0[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x165)][_0x5938a7(0x15c)])[_0x5938a7(0x135)](([_0x2ce847])=>!_0x2ce847[_0x5938a7(0xc2)](_0x5938a7(0x1a6))));let _0x28eb43=0x0;for(const _0x3b7368 of _0x3e8188){const _0x12c58a=this[_0x5938a7(0xe1)](_0x3b7368[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x165)]);_0x3b7368==_0x457dc0?(_0x2f9264=_0x12c58a,_0x350c14=_0x2f9264[_0x5938a7(0xc4)],_0x2f9264[_0x5938a7(0x1c0)](_0x4df6bc=>{_0x4df6bc['id']=_0x28eb43++;}),this[_0x5938a7(0x162)](_0x2f9264)):this[_0x5938a7(0x111)](_0x2f9264,_0x12c58a);const _0x1fea2f=_0x2f9264[_0x5938a7(0x135)](_0x3598f2=>!_0x3598f2[_0x5938a7(0xf5)])[_0x5938a7(0x17f)](_0x3b624d=>_0x3b624d['id']);let _0x1cecbf=0x0;const _0x2dfa01=this[_0x5938a7(0xe1)](_0x3b7368[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x10b)]);_0x2dfa01[_0x5938a7(0x1c0)](_0x2205c6=>{const _0x571301=_0x5938a7;_0x2205c6[_0x571301(0x170)]?_0x2205c6['id']=_0x350c14++:_0x2205c6['id']=_0x1fea2f[_0x1cecbf++];}),this[_0x5938a7(0x162)](_0x2dfa01),this[_0x5938a7(0x16f)](_0x2f9264,_0x5938a7(0xf5)),this[_0x5938a7(0x16f)](_0x2dfa01,_0x5938a7(0x170)),_0x3b7368==_0x457dc0&&this[_0x5938a7(0x19f)](_0x2f9264,_0x4c148c),_0x2f9264=this[_0x5938a7(0xf2)](_0x2f9264,_0x2dfa01),this[_0x5938a7(0x145)](_0x2f9264),this[_0x5938a7(0x16f)](_0x2f9264,_0x5938a7(0x170));}_0x2f9264=_0x2f9264[_0x5938a7(0x135)](_0x1bed71=>!(_0x1bed71[_0x5938a7(0xf5)]&&_0x1bed71[_0x5938a7(0x170)]));const _0x4e18a2=new Map(_0x4c8d79[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x10b)][_0x5938a7(0x15c)]),_0xfc064a=new Set(_0x4c148c[_0x5938a7(0xda)]());for(const _0x420998 of _0x4e18a2[_0x5938a7(0xda)]())_0xfc064a[_0x5938a7(0x12e)](_0x420998);this[_0x5938a7(0x183)](_0x2f9264,_0xfc064a),this[_0x5938a7(0xec)](_0x2f9264),_0x2f9264=this[_0x5938a7(0x1cc)](_0x2f9264),_0x2f9264=this[_0x5938a7(0x1cb)](_0x2f9264),_0x2f9264=this[_0x5938a7(0x1c3)](_0x2f9264);const {root:_0x27aa5f,changes:_0x172d77}=this[_0x5938a7(0x1d9)](_0x2f9264,_0xfe8324,_0x59fc81);_0x54ea91[_0x5938a7(0xad)][_0x59fc81]=_0x27aa5f;const _0x2f3c9e=_0x5ce91a[_0x5938a7(0xac)](_0x59fc81);if(_0x2f3c9e){const _0x30929e=_0xfe8324[_0x5938a7(0xac)](_0x2f3c9e[_0x5938a7(0x1b5)]),_0x4612a9=new _0x4217fe({'author':_0x30929e,'type':_0x2f3c9e[_0x5938a7(0x18d)]?_0x5938a7(0x1d3):_0x5938a7(0x104),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x59fc81});_0x172d77[_0x5938a7(0x1ad)](_0x4612a9),_0x54ea91[_0x5938a7(0x117)][_0x59fc81][_0x5938a7(0xe3)]=_0x4612a9['id'];}_0x54ea91[_0x5938a7(0x107)]=_0x54ea91[_0x5938a7(0x107)][_0x5938a7(0x13f)](_0x172d77);}return _0x54ea91;}[_0x2b5a8d(0x19f)](_0x52486a,_0x10fea6){const _0x280869=_0x2b5a8d;for(let _0x2cfc96=0x0;_0x2cfc96<_0x52486a[_0x280869(0xc4)];_0x2cfc96++)for(const [_0x46b529,_0x324614]of _0x10fea6)_0x324614[_0x280869(0x184)][_0x280869(0x1ac)](_0x52486a[_0x2cfc96][_0x280869(0x152)])&&_0x52486a[_0x2cfc96][_0x280869(0x1d5)][_0x280869(0x138)](_0x46b529),_0x324614[_0x280869(0xc3)][_0x280869(0x1ac)](_0x52486a[_0x2cfc96][_0x280869(0x1a3)])&&_0x52486a[_0x2cfc96][_0x280869(0x18c)][_0x280869(0x138)](_0x46b529);}[_0x2b5a8d(0xf2)](_0x437518,_0x38a249){const _0x2c21cb=_0x2b5a8d;let _0x205347=[],_0x203c8a=0x0,_0x3086f4=0x0;for(;_0x203c8a<_0x437518[_0x2c21cb(0xc4)]||_0x3086f4<_0x38a249[_0x2c21cb(0xc4)];){const _0x59c3bf=_0x437518[_0x203c8a]||{},_0x1aeb82=_0x38a249[_0x3086f4]||{};if(_0x59c3bf['id']==_0x1aeb82['id'])_0x203c8a++,_0x3086f4++,_0x205347[_0x2c21cb(0x138)](_0x59c3bf);else{if(_0x1aeb82[_0x2c21cb(0x170)]&&_0x59c3bf[_0x2c21cb(0xf5)]){const {commonTape:_0xd823ed,iEnd:_0x38a110,jEnd:_0x53ce4e}=this[_0x2c21cb(0x192)](_0x437518,_0x203c8a,_0x38a249,_0x3086f4);_0x205347=_0x205347[_0x2c21cb(0x13f)](_0xd823ed),_0x203c8a=_0x38a110,_0x3086f4=_0x53ce4e;}else _0x1aeb82[_0x2c21cb(0x170)]?(_0x3086f4++,_0x205347[_0x2c21cb(0x138)](_0x1aeb82)):(_0x203c8a++,_0x205347[_0x2c21cb(0x138)](_0x59c3bf));}}return _0x205347;}[_0x2b5a8d(0x183)](_0x36c568,_0x42638d){const _0xe9a808=_0x2b5a8d,_0x182a86=[];for(let _0x267cde=0x0;_0x267cde<_0x36c568[_0xe9a808(0xc4)];_0x267cde++){for(let _0x44ff5e=0x0;_0x44ff5e<_0x36c568[_0x267cde][_0xe9a808(0x1d5)][_0xe9a808(0xc4)];_0x44ff5e++){const _0xd2b54=_0x36c568[_0x267cde][_0xe9a808(0x1d5)][_0x44ff5e];if(!_0x42638d[_0xe9a808(0x16d)](_0xd2b54))continue;const {group:_0x42842a,type:_0x30bf6d,authorId:_0x1b6575}=_0xc410ec(_0xd2b54);_0xe9a808(0x187)!=_0x42842a||_0xe9a808(0x1ab)!=_0x30bf6d&&_0xe9a808(0x1ce)!=_0x30bf6d||(_0x182a86[_0xe9a808(0x1ad)]({'type':_0x30bf6d,'name':_0xd2b54,'userId':_0x1b6575}),_0x36c568[_0x267cde][_0xe9a808(0x1d5)][_0xe9a808(0x10c)](_0x44ff5e,0x1),_0x44ff5e--);}_0x3ed93b(_0x36c568[_0x267cde]);for(let _0x1c4444=0x0;_0x1c4444<_0x36c568[_0x267cde][_0xe9a808(0x18c)][_0xe9a808(0xc4)];_0x1c4444++){const _0x5e404f=_0x36c568[_0x267cde][_0xe9a808(0x18c)][_0x1c4444];if(!_0x42638d[_0xe9a808(0x16d)](_0x5e404f))continue;const {group:_0x1d763e,type:_0x17a02e}=_0xc410ec(_0x5e404f);if(_0xe9a808(0x187)!=_0x1d763e||_0xe9a808(0x1ab)!=_0x17a02e&&_0xe9a808(0x1ce)!=_0x17a02e)continue;_0x36c568[_0x267cde][_0xe9a808(0x18c)][_0xe9a808(0x10c)](_0x1c4444,0x1),_0x1c4444--;const _0x155932=_0x182a86[_0xe9a808(0x159)](_0x4f8e46=>_0x4f8e46[_0xe9a808(0x149)]==_0x5e404f);_0x155932>-0x1&&_0x182a86[_0xe9a808(0x10c)](_0x155932,0x1);}}function _0xc410ec(_0x3f4210){const _0x1a6bea=_0xe9a808,_0x29d5b7=_0x3f4210[_0x1a6bea(0x1c9)](':');return{'group':_0x29d5b7[0x0],'type':_0x29d5b7[0x1],'subType':_0x29d5b7[_0x1a6bea(0xc4)]>=0x5?_0x29d5b7[0x2]:null,'id':_0x29d5b7[_0x1a6bea(0xc4)]<0x5?_0x29d5b7[0x2]:_0x29d5b7[0x3],'authorId':_0x29d5b7[_0x1a6bea(0xc4)]<0x5?_0x29d5b7[0x3]:_0x29d5b7[0x4],'markerCount':0x6==_0x29d5b7[_0x1a6bea(0xc4)]?_0x29d5b7[0x5]:null};}function _0x3ed93b(_0x48c6fc){const _0x296f74=_0xe9a808;for(let _0x2e487a=0x0;_0x2e487a<_0x182a86[_0x296f74(0xc4)];_0x2e487a++){if(_0x48c6fc[_0x296f74(0xf5)]&&_0x296f74(0x1ab)==_0x182a86[_0x2e487a][_0x296f74(0x175)])return _0x48c6fc[_0x296f74(0x10a)]=_0x182a86[_0x2e487a],void delete _0x48c6fc[_0x296f74(0xf5)];if(!_0x48c6fc[_0x296f74(0xf5)]&&!_0x48c6fc[_0x296f74(0x170)]&&_0x296f74(0x1ce)==_0x182a86[_0x2e487a][_0x296f74(0x175)])return void(_0x48c6fc[_0x296f74(0xf6)]=_0x182a86[_0x2e487a]);}}}[_0x2b5a8d(0x16f)](_0x205bfa,_0x492298){const _0x364aa1=_0x2b5a8d;let _0x15468a=0x0,_0x48a591=!0x1;const _0x5cd314=new Map();for(const _0x12b591 of _0x205bfa)_0x12b591[_0x492298]?_0x48a591&&(_0x15468a++,_0x48a591=!0x1):(_0x15468a++,_0x48a591=!0x0),_0x5cd314[_0x364aa1(0x136)](_0x12b591['id'],_0x15468a);for(let _0x3d6de1=0x0;_0x3d6de1<_0x205bfa[_0x364aa1(0xc4)];_0x3d6de1++){if(_0x364aa1(0x170)==_0x492298&&_0x205bfa[_0x3d6de1][_0x364aa1(0xf5)]||_0x364aa1(0xf5)==_0x492298&&_0x205bfa[_0x3d6de1][_0x364aa1(0x170)])continue;if(_0x364aa1(0x110)==_0x205bfa[_0x3d6de1][_0x364aa1(0x175)]){_0x205bfa[_0x3d6de1][_0x364aa1(0x1be)]=0x0;continue;}const _0x306048=_0x5cd314[_0x364aa1(0xac)](_0x205bfa[_0x3d6de1][_0x364aa1(0xef)]),_0x474bbe=_0x5cd314[_0x364aa1(0xac)](_0x205bfa[_0x3d6de1]['id']);_0x205bfa[_0x3d6de1][_0x364aa1(0x1be)]=_0x306048-_0x474bbe;}}[_0x2b5a8d(0x1ca)](_0x13856f,_0x28fe0c,_0x1072de=!0x1){const _0x5b4cd5=_0x2b5a8d,_0x1d8ad5=[];let _0x1feefc=this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x172)](_0x13856f),_0x5764bd=this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x172)](_0x28fe0c);for(-0x1==_0x5764bd&&(_0x5764bd=this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x154)][_0x5b4cd5(0xc4)],_0x1072de=!0x1);_0x1feefc<_0x5764bd;)_0x1d8ad5[_0x5b4cd5(0x138)](this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x122)](_0x1feefc)),_0x1feefc++;return _0x1072de&&_0x1d8ad5[_0x5b4cd5(0x138)](this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x122)](_0x1feefc)),_0x1d8ad5;}[_0x2b5a8d(0x192)](_0x10f69d,_0xf8a9bf,_0x2c64d3,_0x4f0b42){const _0x5900a3=_0x2b5a8d,_0x54eeab=this[_0x5900a3(0x190)][_0x5900a3(0xad)][_0x5900a3(0x174)];let _0x32832a=_0xf8a9bf;for(;_0x10f69d[_0x32832a]&&_0x10f69d[_0x32832a][_0x5900a3(0xf5)];)_0x32832a++;let _0x3b6c91=_0x4f0b42;for(;_0x2c64d3[_0x3b6c91]&&_0x2c64d3[_0x3b6c91][_0x5900a3(0x170)];)_0x3b6c91++;_0x550538(_0x10f69d,_0xf8a9bf,_0x32832a),_0x550538(_0x2c64d3,_0x4f0b42,_0x3b6c91);const _0x137a69=_0x2c64d3[_0x5900a3(0x193)](_0x4f0b42,_0x3b6c91)[_0x5900a3(0x13f)](_0x10f69d[_0x5900a3(0x193)](_0xf8a9bf,_0x32832a));return _0x137a69[_0x5900a3(0x157)]((_0x4a1749,_0x5eb8cf)=>_0x4a1749[_0x5900a3(0xf7)]!=_0x5eb8cf[_0x5900a3(0xf7)]?_0x4a1749[_0x5900a3(0xf7)]-_0x5eb8cf[_0x5900a3(0xf7)]:_0x4a1749[_0x5900a3(0x19c)]!=_0x5eb8cf[_0x5900a3(0x19c)]?_0x4a1749[_0x5900a3(0x19c)]-_0x5eb8cf[_0x5900a3(0x19c)]:_0x4a1749[_0x5900a3(0x1be)]!=_0x5eb8cf[_0x5900a3(0x1be)]?_0x5eb8cf[_0x5900a3(0x1be)]-_0x4a1749[_0x5900a3(0x1be)]:!!_0x4a1749[_0x5900a3(0xf5)]!=!!_0x5eb8cf[_0x5900a3(0xf5)]?-0x1==_0x4a1749[_0x5900a3(0xf7)]||0x0==_0x4a1749[_0x5900a3(0xf7)]?_0x4a1749[_0x5900a3(0xf5)]?-0x1:0x1:_0x4a1749[_0x5900a3(0xf5)]?0x1:-0x1:_0x4a1749[_0x5900a3(0x11d)]-_0x5eb8cf[_0x5900a3(0x11d)]),{'commonTape':_0x137a69,'iEnd':_0x32832a,'jEnd':_0x3b6c91};function _0x550538(_0x5c547f,_0x2b72f1,_0x27bf7f){const _0x4b9f34=_0x5900a3;let _0x2c06cc=-0x1,_0x1cb604=Number[_0x4b9f34(0xcb)],_0x4dedb1=!0x0;for(let _0x261d1d=_0x2b72f1;_0x261d1d<_0x27bf7f;_0x261d1d++)if(_0x54eeab[_0x4b9f34(0x131)](_0x5c547f[_0x261d1d][_0x4b9f34(0xea)])||(_0x4dedb1=!0x1),_0x5c547f[_0x261d1d][_0x4b9f34(0xea)][_0x4b9f34(0x14f)]<_0x2b72f1&&(_0x2c06cc=_0x261d1d),_0x5c547f[_0x261d1d][_0x4b9f34(0xea)][_0x4b9f34(0x124)]>=_0x27bf7f){_0x1cb604=_0x261d1d;break;}_0x4dedb1&&(_0x2c06cc=_0x27bf7f-0x1);for(let _0x4ce64c=_0x2b72f1;_0x4ce64c<_0x27bf7f;_0x4ce64c++)_0x5c547f[_0x4ce64c][_0x4b9f34(0xf7)]=_0x4ce64c<=_0x2c06cc?-0x1:_0x4ce64c<_0x1cb604?0x0:0x1,_0x5c547f[_0x4ce64c][_0x4b9f34(0x11d)]=_0x4ce64c;let _0x2145bd=0x0;for(let _0x6d6306=_0x2b72f1;_0x6d6306<=_0x2c06cc;_0x6d6306++)0x0==_0x5c547f[_0x6d6306][_0x4b9f34(0x1be)]?_0x5c547f[_0x6d6306][_0x4b9f34(0x19c)]=_0x2145bd:(_0x2145bd++,_0x5c547f[_0x6d6306][_0x4b9f34(0x19c)]=_0x2145bd,_0x2145bd++);for(let _0x2a5e64=_0x2b72f1;_0x2a5e64<_0x27bf7f;_0x2a5e64++)0x0==_0x5c547f[_0x2a5e64][_0x4b9f34(0xf7)]&&(_0x5c547f[_0x2a5e64][_0x4b9f34(0x19c)]=_0x2145bd);_0x2145bd=0x0;for(let _0x36425d=_0x27bf7f-0x1;_0x36425d>=_0x1cb604;_0x36425d--)0x0==_0x5c547f[_0x36425d][_0x4b9f34(0x1be)]?_0x5c547f[_0x36425d][_0x4b9f34(0x19c)]=_0x2145bd:(_0x2145bd--,_0x5c547f[_0x36425d][_0x4b9f34(0x19c)]=_0x2145bd,_0x2145bd--);}}[_0x2b5a8d(0xec)](_0x4cb670){const _0x2884dc=_0x2b5a8d,_0x4902d0=new Map(),_0x33989f=this[_0x2884dc(0x190)][_0x2884dc(0xad)][_0x2884dc(0x174)];for(let _0x56bf14=0x1;_0x56bf14<_0x4cb670[_0x2884dc(0xc4)];_0x56bf14++){let _0x2d2d2f,_0x3ce906,_0x4c4ed7;const _0x12ee84=_0x4cb670[_0x56bf14],_0x8afebc=_0x4cb670[_0x56bf14-0x1];if(_0x2884dc(0x110)==_0x12ee84[_0x2884dc(0x175)])continue;if(_0x12ee84[_0x2884dc(0x175)]!=_0x8afebc[_0x2884dc(0x175)])continue;if(!_0x33989f[_0x2884dc(0x1e5)](_0x8afebc[_0x2884dc(0xea)])||_0x33989f[_0x2884dc(0x1f8)](_0x8afebc[_0x2884dc(0xea)]))continue;if(!_0x33989f[_0x2884dc(0x1e5)](_0x12ee84[_0x2884dc(0xea)])||_0x33989f[_0x2884dc(0x1f8)](_0x12ee84[_0x2884dc(0xea)]))continue;if((_0x4cb670[_0x56bf14][_0x2884dc(0xf5)]||_0x4cb670[_0x56bf14][_0x2884dc(0x10a)])&&_0x4cb670[_0x56bf14-0x1][_0x2884dc(0x170)])_0x2d2d2f=_0x4cb670[_0x56bf14],_0x3ce906=_0x4cb670[_0x56bf14-0x1],_0x4c4ed7=_0x56bf14-0x1;else{if(!_0x4cb670[_0x56bf14][_0x2884dc(0x170)]||!_0x4cb670[_0x56bf14-0x1][_0x2884dc(0xf5)]&&!_0x4cb670[_0x56bf14-0x1][_0x2884dc(0x10a)])continue;_0x2d2d2f=_0x4cb670[_0x56bf14-0x1],_0x3ce906=_0x4cb670[_0x56bf14],_0x4c4ed7=_0x56bf14;}const _0x348898=_0x2d2d2f[_0x2884dc(0x19c)]==_0x3ce906[_0x2884dc(0x19c)],_0x226d7a=Math[_0x2884dc(0x17c)](_0x2d2d2f[_0x2884dc(0x19c)])<Math[_0x2884dc(0x17c)](_0x3ce906[_0x2884dc(0x19c)])&&0x0==_0x3ce906[_0x2884dc(0x1be)];(_0x348898||_0x226d7a)&&(_0x4902d0[_0x2884dc(0x136)](_0x3ce906['id'],_0x2d2d2f['id']),_0x4cb670[_0x2884dc(0x10c)](_0x4c4ed7,0x1),_0x56bf14--,_0x2d2d2f[_0x2884dc(0xf5)]=!0x1);}for(let _0x41de18=0x0;_0x41de18<_0x4cb670[_0x2884dc(0xc4)];_0x41de18++)_0x4902d0[_0x2884dc(0x16d)](_0x4cb670[_0x41de18][_0x2884dc(0xef)])&&(_0x4cb670[_0x41de18][_0x2884dc(0xef)]=_0x4902d0[_0x2884dc(0xac)](_0x4cb670[_0x41de18][_0x2884dc(0xef)]));}[_0x2b5a8d(0x1cc)](_0x374e55){const _0x3c860b=_0x2b5a8d,_0x21e006=new Set(_0x374e55[_0x3c860b(0x17f)](_0x184108=>_0x184108['id']));for(let _0x3295a0=0x0;_0x3295a0<_0x374e55[_0x3c860b(0xc4)];_0x3295a0++)_0x21e006[_0x3c860b(0x16d)](_0x374e55[_0x3295a0][_0x3c860b(0xef)])||0x0==_0x374e55[_0x3295a0][_0x3c860b(0x1be)]||(_0x374e55[_0x3295a0][_0x3c860b(0x1f3)]=!0x0);return _0x374e55[_0x3c860b(0x135)](_0x4473b9=>!_0x4473b9[_0x3c860b(0x1f3)]);}[_0x2b5a8d(0x1cb)](_0x53b865){const _0x32b5f2=_0x2b5a8d,_0x218c68=new Set();for(let _0x142143=0x0;_0x142143<_0x53b865[_0x32b5f2(0xc4)];_0x142143++){if(_0x218c68[_0x32b5f2(0x16d)](_0x53b865[_0x142143]['id'])&&_0x53b865[_0x142143][_0x32b5f2(0x170)]&&(_0x53b865[_0x142143][_0x32b5f2(0x1f3)]=!0x0),_0x53b865[_0x142143][_0x32b5f2(0x1f3)])continue;if(0x0==_0x53b865[_0x142143][_0x32b5f2(0x1be)])continue;if(_0x32b5f2(0x1b0)!=_0x53b865[_0x142143][_0x32b5f2(0x175)])continue;if(null==_0x53b865[_0x142143][_0x32b5f2(0xef)])continue;let _0x470f83=_0x142143+0x1,_0x4cd355=0x0;for(;_0x53b865[_0x470f83]['id']!=_0x53b865[_0x142143][_0x32b5f2(0xef)];)_0x32b5f2(0x1b0)==_0x53b865[_0x470f83][_0x32b5f2(0x175)]?_0x4cd355++:_0x32b5f2(0x102)==_0x53b865[_0x470f83][_0x32b5f2(0x175)]&&_0x4cd355--,_0x470f83++;if(0x0!=_0x4cd355){if(_0x53b865[_0x142143][_0x32b5f2(0x170)])_0x53b865[_0x142143][_0x32b5f2(0x1f3)]=!0x0;else{for(;_0x470f83!=_0x142143;)_0x53b865[_0x470f83][_0x32b5f2(0x170)]&&0x0!=_0x53b865[_0x470f83][_0x32b5f2(0x1be)]&&(_0x53b865[_0x470f83][_0x32b5f2(0x1f3)]=!0x0,_0x218c68[_0x32b5f2(0x1d3)](_0x53b865[_0x470f83][_0x32b5f2(0xef)])),_0x470f83--;}}}return _0x53b865[_0x32b5f2(0x135)](_0x5d37d=>!_0x5d37d[_0x32b5f2(0x1f3)]);}[_0x2b5a8d(0x1c3)](_0x1dbf52){const _0x33378e=_0x2b5a8d,_0x4d8029=this[_0x33378e(0x190)][_0x33378e(0xad)][_0x33378e(0x174)];for(let _0x8fb6a5=0x0;_0x8fb6a5<_0x1dbf52[_0x33378e(0xc4)];_0x8fb6a5++){if(!(_0x1dbf52[_0x8fb6a5][_0x33378e(0xf5)]||_0x1dbf52[_0x8fb6a5][_0x33378e(0x10a)]||_0x1dbf52[_0x8fb6a5][_0x33378e(0x170)]||_0x1dbf52[_0x8fb6a5][_0x33378e(0xf6)]))continue;if(0x0==_0x1dbf52[_0x8fb6a5][_0x33378e(0x1be)])continue;const _0x169df9=_0x1dbf52[_0x8fb6a5][_0x33378e(0xea)];_0x4d8029[_0x33378e(0x1e5)](_0x169df9)||_0x4d8029[_0x33378e(0x1f8)](_0x169df9)||(_0x1dbf52[_0x8fb6a5][_0x33378e(0xf5)]&&delete _0x1dbf52[_0x8fb6a5][_0x33378e(0xf5)],_0x1dbf52[_0x8fb6a5][_0x33378e(0x10a)]&&delete _0x1dbf52[_0x8fb6a5][_0x33378e(0x10a)],_0x1dbf52[_0x8fb6a5][_0x33378e(0xf6)]&&delete _0x1dbf52[_0x8fb6a5][_0x33378e(0xf6)],_0x1dbf52[_0x8fb6a5][_0x33378e(0x170)]&&(_0x1dbf52[_0x8fb6a5][_0x33378e(0x1f3)]=!0x0));}return _0x1dbf52[_0x33378e(0x135)](_0xc84b36=>!_0xc84b36[_0x33378e(0x1f3)]);}[_0x2b5a8d(0x1d9)](_0x1a3de1,_0x5c3b0d,_0x48fdc4){const _0xd0b47=_0x2b5a8d,_0x4e70fa=new _0x2342e0(),_0x32cd72=[],_0x177a86=new Map(),_0x6a3b6a=this[_0xd0b47(0x190)][_0xd0b47(0xad)],_0x3e77dc=_0x6a3b6a[_0xd0b47(0x174)],_0x127dea=[_0x4e70fa],_0x111185={},_0x4c5617={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x342872=null;const _0x374803=[0x0];for(let _0x3b1ecb=0x0;_0x3b1ecb<_0x1a3de1[_0xd0b47(0xc4)];_0x3b1ecb++){let _0x57b2d6,_0x344d02;if(_0xd0b47(0x1b0)===_0x1a3de1[_0x3b1ecb][_0xd0b47(0x175)]){_0x57b2d6=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803);const _0x30403a=new _0x53cf83(_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x149)],_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1f4)]());_0x127dea[0x0][_0xd0b47(0x1ec)](_0x30403a),_0x374803[_0xd0b47(0x138)](0x0),_0x127dea[_0xd0b47(0x1ad)](_0x30403a),_0x344d02=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x342872=null;}else{if(_0xd0b47(0x102)===_0x1a3de1[_0x3b1ecb][_0xd0b47(0x175)])_0x127dea[_0xd0b47(0x19e)](),_0x57b2d6=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x374803[_0xd0b47(0x134)](),_0x374803[_0x374803[_0xd0b47(0xc4)]-0x1]++,_0x344d02=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x342872=null;else{if(_0x57b2d6=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x342872&&_0x2dba03(_0x342872,_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)]))_0x342872[_0xd0b47(0x148)]+=_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1b9)];else{const _0x58c437=new _0x43a8a8(_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1b9)],_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1f4)]());_0x127dea[0x0][_0xd0b47(0x1ec)](_0x58c437),_0x342872=_0x58c437;}_0x374803[_0x374803[_0xd0b47(0xc4)]-0x1]+=_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1ed)],_0x344d02=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803);}}for(const _0x453259 of _0x1a3de1[_0x3b1ecb][_0xd0b47(0x1d5)])_0x177a86[_0xd0b47(0x136)](_0x453259,{'start':_0x57b2d6,'end':null});_0x16229c(_0xd0b47(0xf6),_0x3b1ecb,_0x57b2d6,_0x344d02),_0x16229c(_0xd0b47(0x10a),_0x3b1ecb,_0x57b2d6,_0x344d02),_0x16229c(_0xd0b47(0x170),_0x3b1ecb,_0x57b2d6,_0x344d02),_0x16229c(_0xd0b47(0xf5),_0x3b1ecb,_0x57b2d6,_0x344d02);for(const _0x59d1d8 of _0x1a3de1[_0x3b1ecb][_0xd0b47(0x18c)]){_0x177a86[_0xd0b47(0xac)](_0x59d1d8)[_0xd0b47(0xc3)]=_0x344d02;}}for(const [_0x3f2756,_0x5cb6a5]of _0x177a86){const _0xb4ce8a=this[_0xd0b47(0x190)][_0xd0b47(0xad)][_0xd0b47(0x119)](_0x5cb6a5[_0xd0b47(0x184)],_0x5cb6a5[_0xd0b47(0xc3)]);_0x4e70fa[_0xd0b47(0x15c)][_0xd0b47(0x136)](_0x3f2756,_0xb4ce8a);}return _0x32cd72[_0xd0b47(0x157)]((_0x27325c,_0xcb5680)=>{const _0x5d1596=_0xd0b47,_0x3d4248=_0x4e70fa[_0x5d1596(0x15c)][_0x5d1596(0xac)](_0x5d1596(0x1a6)+_0x27325c['id']),_0x23381f=_0x4e70fa[_0x5d1596(0x15c)][_0x5d1596(0xac)](_0x5d1596(0x1a6)+_0xcb5680['id']);return _0x3d4248[_0x5d1596(0x184)][_0x5d1596(0x153)](_0x23381f[_0x5d1596(0x184)])?-0x1:_0x3d4248[_0x5d1596(0x184)][_0x5d1596(0xc8)](_0x23381f[_0x5d1596(0x184)])?0x1:_0x3d4248[_0x5d1596(0xc3)][_0x5d1596(0x153)](_0x23381f[_0x5d1596(0xc3)])?-0x1:_0x3d4248[_0x5d1596(0xc3)][_0x5d1596(0xc8)](_0x23381f[_0x5d1596(0xc3)])?0x1:_0x5d1596(0x1d3)===_0x27325c[_0x5d1596(0x175)]?-0x1:0x1;}),{'root':_0x4e70fa,'changes':_0x32cd72};function _0x16229c(_0x13bb0d,_0x49a4cf,_0x3557c6,_0x133dde){const _0x42b328=_0xd0b47,_0x363e56=!!_0x1a3de1[_0x49a4cf][_0x13bb0d],_0x5bb2a0=_0x363e56?_0x1a3de1[_0x49a4cf][_0x13bb0d][_0x42b328(0x1b5)]:null,_0x16cb8a=_0x49a4cf===_0x1a3de1[_0x42b328(0xc4)]-0x1,_0x448e71=_0x4c5617[_0x13bb0d][0x0],_0x49cf57=_0x3e77dc[_0x42b328(0x101)](_0x1a3de1[_0x49a4cf][_0x42b328(0xea)]);!_0x111185[_0x13bb0d]&&_0x363e56?_0x111185[_0x13bb0d]={'start':_0x3557c6,'tapeItem':_0x1a3de1[_0x49a4cf],'userId':_0x5bb2a0,'type':_0x13bb0d}:_0x111185[_0x13bb0d]&&!_0x363e56?(_0x111185[_0x13bb0d][_0x42b328(0xc3)]=_0x3557c6,_0x2e4259(_0x111185[_0x13bb0d]),_0x111185[_0x13bb0d]=null):_0x111185[_0x13bb0d]&&_0x363e56&&_0x111185[_0x13bb0d][_0x42b328(0x1b5)]!==_0x5bb2a0&&(_0x111185[_0x13bb0d][_0x42b328(0xc3)]=_0x3557c6,_0x448e71&&_0x448e71[_0x42b328(0x1b5)]===_0x111185[_0x13bb0d][_0x42b328(0x1b5)]||_0x2e4259(_0x111185[_0x13bb0d]),_0x111185[_0x13bb0d]={'start':_0x3557c6,'tapeItem':_0x1a3de1[_0x49a4cf],'userId':_0x5bb2a0,'type':_0x13bb0d}),_0x111185[_0x13bb0d]&&_0x49cf57&&(_0x42b328(0x1b0)!==_0x1a3de1[_0x49a4cf][_0x42b328(0x175)]||_0x448e71&&_0x448e71[_0x42b328(0x1b5)]===_0x5bb2a0||_0x4c5617[_0x13bb0d][_0x42b328(0x1ad)]({'userId':_0x5bb2a0,'object':_0x1a3de1[_0x49a4cf][_0x42b328(0xea)],'change':_0x111185[_0x13bb0d]}),_0x42b328(0x102)===_0x1a3de1[_0x49a4cf][_0x42b328(0x175)]&&_0x448e71&&_0x448e71[_0x42b328(0x171)]===_0x1a3de1[_0x49a4cf][_0x42b328(0xea)]&&(_0x4c5617[_0x13bb0d][_0x42b328(0x19e)](),_0x111185[_0x13bb0d]=_0x448e71[_0x42b328(0x15a)])),_0x111185[_0x13bb0d]&&_0x16cb8a&&(_0x111185[_0x13bb0d][_0x42b328(0xc3)]=_0x133dde,_0x2e4259(_0x111185[_0x13bb0d]),_0x111185[_0x13bb0d]=null);}function _0x2e4259({start:_0x30534a,end:_0x32ba28,tapeItem:_0x18035d,userId:_0x2c778c,type:_0x54ae0f}){const _0x48f0a5=_0xd0b47,_0x19cab8=_0x18035d[_0x48f0a5(0xea)],_0xe6ce76=_0x6a3b6a[_0x48f0a5(0x174)][_0x48f0a5(0x1e5)](_0x19cab8)&&!_0x6a3b6a[_0x48f0a5(0x174)][_0x48f0a5(0x1f8)](_0x19cab8),_0x12427b=_0x30534a[_0x48f0a5(0xd5)]==_0x32ba28[_0x48f0a5(0xc5)]&&_0x32ba28[_0x48f0a5(0xb9)];if(_0xe6ce76&&_0x12427b)return;const _0x16234f=_0x6a3b6a[_0x48f0a5(0x119)](_0x30534a,_0x32ba28),_0x30484c=_0x5c3b0d[_0x48f0a5(0xac)](_0x2c778c),_0x3f191b=new _0x4217fe({'author':_0x30484c,'type':_0x48f0a5(0xf5)==_0x54ae0f||_0x48f0a5(0x10a)==_0x54ae0f?_0x48f0a5(0x1d3):_0x48f0a5(0x104),'data':{'isSuggestion':_0x48f0a5(0x10a)==_0x54ae0f||_0x48f0a5(0xf6)==_0x54ae0f},'createdAt':new Date(),'rootName':_0x48fdc4});_0x32cd72[_0x48f0a5(0x138)](_0x3f191b),_0x4e70fa[_0x48f0a5(0x15c)][_0x48f0a5(0x136)](_0x48f0a5(0x1a6)+_0x3f191b['id'],_0x16234f);}function _0x2dba03(_0x179b4d,_0x3621a2){const _0x3991ea=_0xd0b47,_0x16408c=_0x179b4d[_0x3991ea(0x1f4)](),_0x405533=_0x3621a2[_0x3991ea(0x1f4)]();for(const _0x23d5ef of _0x16408c){if(_0x23d5ef[0x1]!==_0x3621a2[_0x3991ea(0x11c)](_0x23d5ef[0x0]))return!0x1;_0x405533[_0x3991ea(0xb8)]();}return _0x405533[_0x3991ea(0xb8)]()[_0x3991ea(0x14a)];}}[_0x2b5a8d(0x15e)](){const _0x20a8e3=_0x2b5a8d;this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0xde)]({'view':_0x20a8e3(0x1ea)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x199))[_0x20a8e3(0x13d)]({'model':_0x20a8e3(0x1ea),'view':_0x438109=>{const _0x4eea30=_0x20a8e3,_0x59345c=_0x438109[_0x4eea30(0xe4)][_0x4eea30(0x1c9)](':')[0x1],_0x25a399=this[_0x4eea30(0x1a2)](_0x59345c);if(!_0x25a399)return null;const _0x2fede4=_0x4eea30(0x1d3)==_0x25a399[_0x4eea30(0x175)]?_0x4eea30(0x1ab):_0x4eea30(0x1ce),_0x3e6c15=[_0x4eea30(0x1bd),_0x4eea30(0xf9)+_0x2fede4];return _0x25a399[_0x4eea30(0x1b9)][_0x4eea30(0xd8)]&&_0x3e6c15[_0x4eea30(0x138)](_0x4eea30(0xf9)+_0x2fede4+_0x4eea30(0x10d)),this[_0x4eea30(0x198)]==_0x25a399&&_0x3e6c15[_0x4eea30(0x138)](_0x4eea30(0xd6)),{'classes':_0x3e6c15,'attributes':{'data-change-id':_0x59345c}};}}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0x1d3)](_0x4e993d=>{const _0x3c4eb4=_0x20a8e3;_0x4e993d['on'](_0x3c4eb4(0x128),(_0x14eaa1,_0x1bea9e,_0x55d4cf)=>{const _0x56b762=_0x3c4eb4,_0x2987ca=_0x1bea9e[_0x56b762(0xb2)][_0x56b762(0x169)](0x0);if(!_0x2987ca||!_0x2987ca['is'](_0x56b762(0xbd),_0x56b762(0x109)))return;if(!_0x55d4cf[_0x56b762(0xb7)][_0x56b762(0xc9)](_0x2987ca,{'attributes':[_0x56b762(0x1e2),_0x56b762(0x178)]}))return;const _0x27700b=_0x1bea9e[_0x56b762(0xdf)][_0x56b762(0x184)][_0x56b762(0xd5)];_0x55d4cf[_0x56b762(0xaf)][_0x56b762(0x1e6)](_0x56b762(0x1e2),_0x2987ca[_0x56b762(0x11c)](_0x56b762(0x1e2)),_0x27700b),_0x55d4cf[_0x56b762(0xaf)][_0x56b762(0x1e6)](_0x56b762(0x178),_0x2987ca[_0x56b762(0x11c)](_0x56b762(0x178)),_0x27700b);},{'priority':_0x3c4eb4(0x1cf)});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0x1d3)](_0x35f21d=>{const _0x5592db=_0x20a8e3;_0x35f21d['on'](_0x5592db(0xbd),(_0x392583,_0xdd4351,_0x4ae06b)=>{const _0x3d0a9b=_0x5592db;if(!_0x4ae06b[_0x3d0a9b(0xb7)][_0x3d0a9b(0xc9)](_0xdd4351[_0x3d0a9b(0xb2)],{'attributes':[_0x3d0a9b(0x1e2),_0x3d0a9b(0x178)]}))return;if(_0xdd4351[_0x3d0a9b(0xdf)][_0x3d0a9b(0x18a)])return;const _0x3e58ad=_0xdd4351[_0x3d0a9b(0xdf)][_0x3d0a9b(0x184)][_0x3d0a9b(0xd5)];_0x3e58ad[_0x3d0a9b(0x1e4)](_0x3d0a9b(0x1e2))||_0x3e58ad[_0x3d0a9b(0x1e4)](_0x3d0a9b(0x126))||(_0x4ae06b[_0x3d0a9b(0xaf)][_0x3d0a9b(0x1e6)](_0x3d0a9b(0x1e2),_0xdd4351[_0x3d0a9b(0xb2)][_0x3d0a9b(0x11c)](_0x3d0a9b(0x1e2)),_0x3e58ad),_0x4ae06b[_0x3d0a9b(0xaf)][_0x3d0a9b(0x1e6)](_0x3d0a9b(0x178),_0xdd4351[_0x3d0a9b(0xb2)][_0x3d0a9b(0x11c)](_0x3d0a9b(0x178)),_0x3e58ad));},{'priority':_0x5592db(0x1cf)});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0x13a)]({'view':{'name':_0x20a8e3(0xc7),'attributes':{'vid':!0x0}},'model':{'key':_0x20a8e3(0x126),'value':_0xd4ff14=>_0xd4ff14[_0x20a8e3(0x11c)](_0x20a8e3(0x126))}}),this[_0x20a8e3(0x190)][_0x20a8e3(0xad)][_0x20a8e3(0x174)]['on'](_0x20a8e3(0x100),(_0x288095,[,_0xba114])=>{const _0x26f3bc=_0x20a8e3;[_0x26f3bc(0x1e2),_0x26f3bc(0x178),_0x26f3bc(0x126)][_0x26f3bc(0x181)](_0xba114)&&(_0x288095[_0x26f3bc(0x10f)]=!0x0,_0x288095[_0x26f3bc(0x12f)]());},{'priority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x113))[_0x20a8e3(0x1d3)](_0x3b503c=>{const _0x499f02=_0x20a8e3;_0x3b503c['on'](_0x499f02(0x15b),(_0x57cd53,_0x7eea11,_0x1f00b5)=>{const _0x4f4a29=_0x499f02;if('\x20'!=_0x7eea11[_0x4f4a29(0xea)][_0x4f4a29(0x1b9)]||_0x7eea11[_0x4f4a29(0xea)][_0x4f4a29(0xc5)][_0x4f4a29(0x1c7)]>0x1)return;if(!_0x1f00b5[_0x4f4a29(0xb7)][_0x4f4a29(0xc9)](_0x7eea11[_0x4f4a29(0xea)],_0x57cd53[_0x4f4a29(0x149)]))return;const _0x5ea823=_0x1f00b5[_0x4f4a29(0xaf)],_0x59a37c=_0x1f00b5[_0x4f4a29(0xe2)][_0x4f4a29(0xd0)](_0x7eea11[_0x4f4a29(0xfd)]);_0x5ea823[_0x4f4a29(0xd4)](_0x59a37c,_0x5ea823[_0x4f4a29(0x13b)](_0x4f4a29(0xc7)));});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x113))[_0x20a8e3(0x194)]({'model':_0x20a8e3(0x1ea)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x1bb),function(_0x21dfa9){const _0x454286=_0x20a8e3,_0x65d2d8=_0x21dfa9[_0x454286(0x188)][_0x454286(0xac)](_0x454286(0x14e));return(_0x35f771,_0xdc6ff7,_0x29f27f)=>{const _0x3c0b8f=_0x454286,_0x2e16ad=_0xdc6ff7[_0x3c0b8f(0xe4)][_0x3c0b8f(0x1c9)](':')[0x1],_0x218bec=_0x65d2d8[_0x3c0b8f(0x1a2)](_0x2e16ad);if(!_0x218bec)return null;const _0x39bb32=_0x3c0b8f(0x1d3)==_0x218bec[_0x3c0b8f(0x175)]?_0x3c0b8f(0x1c9):_0x3c0b8f(0x189);if(!_0x29f27f[_0x3c0b8f(0xb7)][_0x3c0b8f(0x1a9)](_0xdc6ff7[_0x3c0b8f(0x1d0)],_0x35f771[_0x3c0b8f(0x149)]))return;const _0x17cfd2=_0xdc6ff7[_0x3c0b8f(0x1d0)][_0x3c0b8f(0xc6)](),_0x3b9ad6=_0xdc6ff7[_0x3c0b8f(0x1d0)][_0x3c0b8f(0x184)],_0x240de3=_0x21dfa9[_0x3c0b8f(0xad)][_0x3c0b8f(0x174)];let _0x4875ca=null,_0x126eb5=null,_0x562ea1=!0x1,_0x5ea8a8=!0x1;for(const _0x42d2e0 of _0x17cfd2){const _0x2efa04=_0x42d2e0[_0x3c0b8f(0xea)];_0x562ea1=_0x562ea1||_0x240de3[_0x3c0b8f(0x1c2)](_0x2efa04);const _0x483abb=_0x29f27f[_0x3c0b8f(0xe2)][_0x3c0b8f(0xc1)](_0x2efa04);if(_0x483abb&&_0x483abb[_0x3c0b8f(0x121)](_0x3c0b8f(0xfe)))return;_0x3c0b8f(0x102)==_0x42d2e0[_0x3c0b8f(0x175)]&&(_0x240de3[_0x3c0b8f(0x1e5)](_0x2efa04)&&!_0x240de3[_0x3c0b8f(0x1f8)](_0x2efa04)&&(_0x2efa04[_0x3c0b8f(0x186)]||_0x3b9ad6[_0x3c0b8f(0x1fa)]?_0x4875ca&&_0x4875ca[_0x3c0b8f(0xc5)]==_0x2efa04||(_0x4875ca=_0x2efa04,_0x133d4d(_0x42d2e0[_0x3c0b8f(0x152)]),_0x5ea8a8=!0x0):_0x126eb5=_0x126eb5||_0x42d2e0[_0x3c0b8f(0x152)]));}function _0x133d4d(_0xe170d1){const _0x24bd84=_0x3c0b8f,_0x56a7cb=_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1f9)](_0x24bd84(0xc7),{'class':_0x24bd84(0xf9)+_0x39bb32}),_0x5e82e7=_0x29f27f[_0x24bd84(0xe2)][_0x24bd84(0xb0)](_0xe170d1);_0x218bec[_0x24bd84(0x1b9)][_0x24bd84(0xd8)]&&_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1fb)](_0x24bd84(0xf9)+_0x39bb32+_0x24bd84(0x10d),_0x56a7cb),_0x65d2d8[_0x24bd84(0x198)]==_0x218bec&&_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1fb)](_0x24bd84(0xd6),_0x56a7cb),_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1c1)](_0x5e82e7,_0x56a7cb),_0x29f27f[_0x24bd84(0xe2)][_0x24bd84(0x1a7)](_0x56a7cb,_0xdc6ff7[_0x24bd84(0xe4)]);}_0x562ea1||_0x5ea8a8||!_0x126eb5||_0x133d4d(_0x126eb5);};}(this[_0x20a8e3(0x190)]),{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x10e),(_0x222ec2,_0x50099a,_0x2d9e2a)=>{const _0x3b0ef5=_0x20a8e3,_0x298f54=_0x2d9e2a[_0x3b0ef5(0xe2)][_0x3b0ef5(0x180)](_0x50099a[_0x3b0ef5(0xe4)]);if(_0x298f54){for(const _0x57ffd0 of _0x298f54)(_0x57ffd0[_0x3b0ef5(0xe8)](_0x3b0ef5(0x143))||_0x57ffd0[_0x3b0ef5(0xe8)](_0x3b0ef5(0x166)))&&(_0x2d9e2a[_0x3b0ef5(0xe2)][_0x3b0ef5(0x12b)](_0x57ffd0,_0x50099a[_0x3b0ef5(0xe4)]),_0x2d9e2a[_0x3b0ef5(0xaf)][_0x3b0ef5(0x104)](_0x57ffd0));}},{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x1bb),(_0x54cb6a,_0x51bec9,_0x15a922)=>{const _0x1f503e=_0x20a8e3,_0x539eef=_0x51bec9[_0x1f503e(0xe4)][_0x1f503e(0x1c9)](':')[0x1],_0x580053=this[_0x1f503e(0x1a2)](_0x539eef);if(!_0x580053)return null;const _0x545696=_0x1f503e(0x1d3)==_0x580053[_0x1f503e(0x175)]?_0x1f503e(0x1c9):_0x1f503e(0x189);if(_0x15a922[_0x1f503e(0xb7)][_0x1f503e(0x1a9)](_0x51bec9[_0x1f503e(0x1d0)],_0x54cb6a[_0x1f503e(0x149)]))for(const _0x4e5909 of _0x51bec9[_0x1f503e(0x1d0)][_0x1f503e(0xf3)]()){if(!_0x4e5909['is'](_0x1f503e(0xbd),_0x1f503e(0x1a5)))continue;const _0x21da95=_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1f9)](_0x1f503e(0xc7),{'class':_0x1f503e(0xf9)+_0x545696}),_0x3c76ef=_0x15a922[_0x1f503e(0xe2)][_0x1f503e(0xb0)](this[_0x1f503e(0x190)][_0x1f503e(0xad)][_0x1f503e(0xcc)](_0x4e5909));_0x580053[_0x1f503e(0x1b9)][_0x1f503e(0xd8)]&&_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1fb)](_0x1f503e(0xf9)+_0x545696+_0x1f503e(0x10d),_0x21da95),this[_0x1f503e(0x198)]==_0x580053&&_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1fb)](_0x1f503e(0xd6),_0x21da95),_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1c1)](_0x3c76ef,_0x21da95),_0x15a922[_0x1f503e(0xe2)][_0x1f503e(0x1a7)](_0x21da95,_0x51bec9[_0x1f503e(0xe4)]);}},{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0xad)][_0x20a8e3(0xb4)]['on'](_0x20a8e3(0x15a),()=>{const _0x3867ca=_0x20a8e3;this[_0x3867ca(0x190)][_0x3867ca(0x167)][_0x3867ca(0xfa)][_0x3867ca(0x15a)](_0x5ef1fb=>{const _0x4e14fb=_0x3867ca;for(const _0x59918a of this[_0x4e14fb(0x190)][_0x4e14fb(0xad)][_0x4e14fb(0xb4)][_0x4e14fb(0x1a1)]()){const _0x9a989a=this[_0x4e14fb(0x190)][_0x4e14fb(0xad)][_0x4e14fb(0xb4)][_0x4e14fb(0x1a0)](_0x59918a),_0x4f628c=this[_0x4e14fb(0x190)][_0x4e14fb(0x167)][_0x4e14fb(0xfa)][_0x4e14fb(0xb4)][_0x4e14fb(0x1a0)](_0x59918a);if(_0x4f628c){const _0x4a31b0=_0x9a989a[_0x4e14fb(0x11c)](_0x4e14fb(0xe3));if(_0x5ef1fb[_0x4e14fb(0x1b4)](_0x4e14fb(0x1bf),_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1dd)](_0x4e14fb(0x19a),_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1dd)](_0x4e14fb(0x108),_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1dd)](_0x4e14fb(0xcd),_0x4f628c),_0x4a31b0){const _0x2e98ba=this[_0x4e14fb(0x1a2)](_0x4a31b0);if(!_0x2e98ba)return null;_0x5ef1fb[_0x4e14fb(0x1e6)](_0x4e14fb(0x1bf),_0x4a31b0,_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1fb)](_0x4e14fb(0x1e7)+_0x2e98ba[_0x4e14fb(0x175)],_0x4f628c),this[_0x4e14fb(0x198)]==_0x2e98ba&&_0x5ef1fb[_0x4e14fb(0x1fb)](_0x4e14fb(0xcd),_0x4f628c);}}}});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0xde)]({'view':_0x20a8e3(0xe6),'model':_0x7ba249=>_0x20a8e3(0x19d)+_0x7ba249,'converterPriority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0xde)]({'view':_0x20a8e3(0x1e0),'model':_0x1b3986=>_0x20a8e3(0x115)+_0x1b3986,'converterPriority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x113))[_0x20a8e3(0x194)]({'model':_0x20a8e3(0x187),'view':_0xac203c=>({'name':_0x20a8e3(0xf0)+_0xac203c,'group':_0x20a8e3(0x187)}),'converterPriority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x199))[_0x20a8e3(0x13d)]({'model':_0x20a8e3(0x187),'view':_0x2068bf=>{const _0x34c8b2=_0x20a8e3,_0x2e518d=_0x2068bf[_0x34c8b2(0xe4)][_0x34c8b2(0x1c9)](':')[0x1];return _0x34c8b2(0x1ab)!=_0x2e518d&&_0x34c8b2(0x1ce)!=_0x2e518d?null:{'classes':[_0x34c8b2(0xed),_0x34c8b2(0x1aa)+_0x2e518d]};}}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x1f2),et(this[_0x20a8e3(0x190)],_0x20a8e3(0x189)),{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0xba),et(this[_0x20a8e3(0x190)],_0x20a8e3(0x1c9)),{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x139),(_0x1e460d,_0x5ec6af,_0x14d537)=>{const _0x397d9d=_0x20a8e3,_0x2f1ad8=_0x14d537[_0x397d9d(0xe2)][_0x397d9d(0x180)](_0x5ec6af[_0x397d9d(0xe4)]);if(_0x2f1ad8){for(const _0x2579c3 of _0x2f1ad8)_0x2579c3['is'](_0x397d9d(0x1e9))&&(_0x14d537[_0x397d9d(0xe2)][_0x397d9d(0x12b)](_0x2579c3,_0x5ec6af[_0x397d9d(0xe4)]),_0x14d537[_0x397d9d(0xaf)][_0x397d9d(0x104)](_0x2579c3));}},{'priority':_0x20a8e3(0xdc)});}[_0x2b5a8d(0x1a2)](_0x3c7282){const _0x1f61b0=_0x2b5a8d;return this[_0x1f61b0(0x1de)][_0x1f61b0(0xac)](_0x3c7282);}[_0x2b5a8d(0xd9)](_0x20ec93){const _0x60359e=_0x2b5a8d;return this[_0x60359e(0x158)]&&this[_0x60359e(0x158)][_0x60359e(0x176)](),this[_0x60359e(0x158)]=new _0x1589ab(this[_0x60359e(0x190)][_0x60359e(0x1d2)],_0x20ec93),this[_0x60359e(0x158)];}[_0x2b5a8d(0xfb)](){const _0x26de56=_0x2b5a8d;this[_0x26de56(0x190)][_0x26de56(0xad)][_0x26de56(0xb4)][_0x26de56(0x11f)][_0x26de56(0x1c4)](_0x26de56(0x1ea)),this['on'](_0x26de56(0x1db),(_0x3b5b37,_0x5989a9,_0x503555,_0x4d34bb)=>{const _0x47c498=_0x26de56;_0x4d34bb&&this[_0x47c498(0x112)][_0x47c498(0x104)](_0x4d34bb),_0x503555&&(this[_0x47c498(0x112)][_0x47c498(0x1d3)]({'view':_0x503555,'stackId':_0x47c498(0x1f1),'position':{'target':()=>{const _0x4c0494=_0x47c498,_0x9558fa=this[_0x4c0494(0x190)][_0x4c0494(0x167)],_0x36b878=this[_0x4c0494(0x1a2)](_0x503555[_0x4c0494(0x1b1)]);let _0xdd31de;if(_0x36b878[_0x4c0494(0x1b9)][_0x4c0494(0x177)]){const _0x10af6c=_0x9558fa[_0x4c0494(0xfa)][_0x4c0494(0x1d6)](_0x36b878[_0x4c0494(0x130)]);_0xdd31de=Array[_0x4c0494(0x1dc)](_0x10af6c[_0x4c0494(0x1f5)]());}else{const _0x5a19e2=this[_0x4c0494(0x190)][_0x4c0494(0xad)][_0x4c0494(0x15c)][_0x4c0494(0xac)](_0x4c0494(0x1a6)+_0x503555[_0x4c0494(0x1b1)]);_0xdd31de=Array[_0x4c0494(0x1dc)](_0x9558fa[_0x4c0494(0xe2)][_0x4c0494(0x180)](_0x5a19e2[_0x4c0494(0x149)]))[_0x4c0494(0x17f)](_0x561f93=>_0x9558fa[_0x4c0494(0xfa)][_0x4c0494(0x1cd)][_0x4c0494(0xb1)](_0x561f93))[_0x4c0494(0x17f)](_0xe621fa=>Array[_0x4c0494(0x1dc)](_0xe621fa[_0x4c0494(0x1f5)]()))[_0x4c0494(0x105)]();}if(!this[_0x4c0494(0x1c8)])return _0xdd31de[0x0];return _0xdd31de[_0x4c0494(0x1a4)](_0x4d1b0c=>_0x4d1b0c[_0x4c0494(0x11e)]-0x3<=this[_0x4c0494(0x1c8)]['y']&&_0x4d1b0c[_0x4c0494(0x133)]+0x3>=this[_0x4c0494(0x1c8)]['y']&&_0x4d1b0c[_0x4c0494(0xbc)]-0x3<=this[_0x4c0494(0x1c8)]['x']&&_0x4d1b0c[_0x4c0494(0xf8)]+0x3>=this[_0x4c0494(0x1c8)]['x'])||_0xdd31de[0x0];}}}),this[_0x47c498(0x112)][_0x47c498(0x1e8)](_0x47c498(0x1f1)));}),this['on'](_0x26de56(0x185),(_0x2d8aaf,_0x1e1954,_0x128845,_0x280665)=>{const _0x1f7b23=_0x26de56;this[_0x1f7b23(0x1b7)]=_0x128845?this[_0x1f7b23(0xd9)](_0x128845):null,this[_0x1f7b23(0x190)][_0x1f7b23(0xad)][_0x1f7b23(0x15a)](()=>{const _0x41a006=_0x1f7b23,_0x4b2901=this[_0x41a006(0x190)][_0x41a006(0x167)];_0x280665&&(_0x280665[_0x41a006(0x1b9)][_0x41a006(0x177)]?_0x4b2901[_0x41a006(0xfa)][_0x41a006(0x15a)](_0x1dc759=>{const _0x1a8a18=_0x41a006;_0x1dc759[_0x1a8a18(0x1dd)](_0x1a8a18(0xcd),_0x4b2901[_0x1a8a18(0xfa)][_0x1a8a18(0xb4)][_0x1a8a18(0x1a0)](_0x280665[_0x1a8a18(0x130)]));}):_0x4b2901[_0x41a006(0x1af)](_0x41a006(0x1a6)+_0x280665['id'])),_0x128845&&(_0x128845[_0x41a006(0x1b9)][_0x41a006(0x177)]?_0x4b2901[_0x41a006(0xfa)][_0x41a006(0x15a)](_0x13daf7=>{const _0x5529d3=_0x41a006;_0x13daf7[_0x5529d3(0x1fb)](_0x5529d3(0xcd),_0x4b2901[_0x5529d3(0xfa)][_0x5529d3(0xb4)][_0x5529d3(0x1a0)](_0x128845[_0x5529d3(0x130)]));}):_0x4b2901[_0x41a006(0x1af)](_0x41a006(0x1a6)+_0x128845['id']));});}),this[_0x26de56(0x196)](this[_0x26de56(0x190)][_0x26de56(0x167)][_0x26de56(0xfa)][_0x26de56(0xb4)],_0x26de56(0x150),(_0x5bfe95,_0x1f8574)=>{const _0x21d8b5=_0x26de56;if(this[_0x21d8b5(0x198)])return;const _0x4c749f=this[_0x21d8b5(0x19b)](_0x1f8574[_0x21d8b5(0xee)]),_0x24792d=this[_0x21d8b5(0x1de)][_0x21d8b5(0xac)](_0x4c749f);_0x24792d?(this[_0x21d8b5(0x1c8)]={'x':_0x1f8574[_0x21d8b5(0x16c)]['x'],'y':_0x1f8574[_0x21d8b5(0x16c)]['y']},this[_0x21d8b5(0x1b7)]=this[_0x21d8b5(0xd9)](_0x24792d)):(this[_0x21d8b5(0x1c8)]=null,this[_0x21d8b5(0x1b7)]=null);}),this[_0x26de56(0x196)](this[_0x26de56(0x190)][_0x26de56(0x167)][_0x26de56(0xfa)][_0x26de56(0xb4)],_0x26de56(0x1da),(_0x530a25,_0x231dc9)=>{const _0x14d9b8=_0x26de56,_0x153a51=this[_0x14d9b8(0x19b)](_0x231dc9[_0x14d9b8(0xee)]),_0x32e1e6=this[_0x14d9b8(0x1de)][_0x14d9b8(0xac)](_0x153a51);_0x32e1e6?(this[_0x14d9b8(0x1c8)]={'x':_0x231dc9[_0x14d9b8(0x16c)]['x'],'y':_0x231dc9[_0x14d9b8(0x16c)]['y']},_0x32e1e6===this[_0x14d9b8(0x198)]?this[_0x14d9b8(0x112)][_0x14d9b8(0xd1)]():this[_0x14d9b8(0x198)]=_0x32e1e6):(this[_0x14d9b8(0x1c8)]=null,this[_0x14d9b8(0x198)]=null);});}[_0x2b5a8d(0x19b)](_0x344f6a){const _0x78d8=_0x2b5a8d;do{const _0x1f4d03=_0x344f6a[_0x78d8(0x11c)](_0x78d8(0x1bf));if(_0x1f4d03)return _0x1f4d03;_0x344f6a=_0x344f6a[_0x78d8(0xc5)];}while(_0x344f6a);return null;}[_0x2b5a8d(0x11a)](){const _0x8a9f81=_0x2b5a8d;this[_0x8a9f81(0x190)][_0x8a9f81(0xad)][_0x8a9f81(0x15a)](_0x2bd571=>{const _0x7f5ce8=_0x8a9f81;for(const _0x2fae02 of this[_0x7f5ce8(0x190)][_0x7f5ce8(0xad)][_0x7f5ce8(0x15c)])_0x2bd571[_0x7f5ce8(0x144)](_0x2fae02);});}}function et(_0x34ad72,_0x430bb9){return(_0x2801ee,_0x29207d,_0x666b30)=>{const _0x197221=_0x4ddd;if(!_0x666b30[_0x197221(0xb7)][_0x197221(0x1a9)](_0x29207d[_0x197221(0x1d0)],_0x2801ee[_0x197221(0x149)]))return;const _0x33ff72=_0x29207d[_0x197221(0x1d0)][_0x197221(0xc6)](),_0x5d460e=_0x29207d[_0x197221(0x1d0)][_0x197221(0x184)],_0x5433bc=_0x34ad72[_0x197221(0xad)][_0x197221(0x174)];let _0x2c3e46=null,_0x33efb8=null,_0x4ac2b9=!0x1,_0x138b75=!0x1;for(const _0x458158 of _0x33ff72){const _0x5eba1e=_0x458158[_0x197221(0xea)];_0x4ac2b9=_0x4ac2b9||_0x5433bc[_0x197221(0x1c2)](_0x5eba1e);const _0x13033d=_0x666b30[_0x197221(0xe2)][_0x197221(0xc1)](_0x5eba1e);if(_0x13033d&&_0x13033d[_0x197221(0x121)](_0x197221(0xfe)))return;_0x197221(0x102)==_0x458158[_0x197221(0x175)]&&(_0x5433bc[_0x197221(0x1e5)](_0x5eba1e)&&!_0x5433bc[_0x197221(0x1f8)](_0x5eba1e)&&(_0x5eba1e[_0x197221(0x186)]||_0x5d460e[_0x197221(0x1fa)]?_0x2c3e46&&_0x2c3e46[_0x197221(0xc5)]==_0x5eba1e||(_0x2c3e46=_0x5eba1e,_0x542978(_0x458158[_0x197221(0x152)]),_0x138b75=!0x0):_0x33efb8=_0x33efb8||_0x458158[_0x197221(0x152)]));}function _0x542978(_0xf8cfe2){const _0x1a160a=_0x197221,_0x4aa0cc=_0x666b30[_0x1a160a(0xe2)][_0x1a160a(0xb0)](_0xf8cfe2),_0x50bcd0=_0x666b30[_0x1a160a(0xaf)][_0x1a160a(0x1f9)](_0x1a160a(0xc7),{'class':_0x1a160a(0x1aa)+_0x430bb9});_0x666b30[_0x1a160a(0xaf)][_0x1a160a(0x1c1)](_0x4aa0cc,_0x50bcd0),_0x666b30[_0x1a160a(0xe2)][_0x1a160a(0x1a7)](_0x50bcd0,_0x29207d[_0x1a160a(0xe4)]);}_0x4ac2b9||_0x138b75||!_0x33efb8||_0x542978(_0x33efb8);};}export class RestoreRevisionCommand extends _0x4f4397{constructor(_0x486042){const _0xed9251=_0x2b5a8d;super(_0x486042);const _0x51c2b5=_0x486042[_0xed9251(0x188)][_0xed9251(0xac)](d);this[_0xed9251(0xbb)]=!0x1,this[_0xed9251(0x196)](_0x51c2b5,_0xed9251(0x197),()=>this[_0xed9251(0x125)]()),this[_0xed9251(0x196)](_0x51c2b5,_0xed9251(0xb3),()=>this[_0xed9251(0x125)]());}[_0x2b5a8d(0x12d)](){const _0x5516fd=_0x2b5a8d,_0x599be4=this[_0x5516fd(0x190)],_0x5d4d38=_0x599be4[_0x5516fd(0x188)][_0x5516fd(0xac)](d),_0x14e6ee=_0x5d4d38[_0x5516fd(0x151)]?_0x5d4d38[_0x5516fd(0x14d)][_0x5516fd(0x11b)]:null;_0x599be4[_0x5516fd(0x156)][_0x5516fd(0xac)](_0x5516fd(0xbe))[_0x5516fd(0x15d)](_0x14e6ee);}[_0x2b5a8d(0x125)](){const _0x47c3fd=_0x2b5a8d,{isReady:_0x329bd1,isEnabled:_0x4bda53}=this[_0x47c3fd(0x190)][_0x47c3fd(0x188)][_0x47c3fd(0xac)](d);this[_0x47c3fd(0x1ba)]=_0x329bd1&&_0x4bda53;}}export class ShowChangeCommand extends _0x4f4397{constructor(_0x4fb27a,{direction:_0x5d789c}){const _0x716e6b=_0x2b5a8d;super(_0x4fb27a);const _0x315fdf=_0x4fb27a[_0x716e6b(0x188)][_0x716e6b(0xac)](d);this[_0x716e6b(0xbb)]=!0x1,this[_0x716e6b(0x1df)]=_0x716e6b(0xff)===_0x5d789c?0x1:-0x1,this[_0x716e6b(0x196)](_0x315fdf,_0x716e6b(0x197),()=>this[_0x716e6b(0x125)]()),this[_0x716e6b(0x196)](_0x315fdf,_0x716e6b(0xb3),()=>this[_0x716e6b(0x125)]()),this[_0x716e6b(0x196)](_0x315fdf,_0x716e6b(0x185),()=>this[_0x716e6b(0x125)]());}[_0x2b5a8d(0x12d)](){const _0x4892a3=_0x2b5a8d,_0x542dcc=this[_0x4892a3(0x190)],_0x547066=_0x542dcc[_0x4892a3(0x188)][_0x4892a3(0xac)](d),{isNavigationMode:_0x5b7e1d,currentChangeNumber:_0x99262a}=_0x547066;let _0x1e2d62;if(_0x547066[_0x4892a3(0x198)]=_0x5b7e1d?_0x547066[_0x4892a3(0x14d)][_0x4892a3(0x107)][_0x4892a3(0xac)](_0x99262a+this[_0x4892a3(0x1df)]):_0x547066[_0x4892a3(0x14d)][_0x4892a3(0x107)][_0x4892a3(0x1c5)],_0x547066[_0x4892a3(0x198)][_0x4892a3(0x1b9)][_0x4892a3(0x177)])_0x1e2d62=_0x542dcc[_0x4892a3(0x167)][_0x4892a3(0xfa)][_0x4892a3(0x1d6)](_0x547066[_0x4892a3(0x198)][_0x4892a3(0x130)]);else{const _0x4ede69=_0x542dcc[_0x4892a3(0xad)][_0x4892a3(0x15c)][_0x4892a3(0xac)](_0x4892a3(0x1a6)+_0x547066[_0x4892a3(0x198)]['id']);_0x1e2d62=_0x3e6a3b(_0x542dcc[_0x4892a3(0x167)],_0x4ede69);}_0x231a5e({'target':_0x1e2d62,'viewportOffset':0x28});}[_0x2b5a8d(0x125)](){const _0x347c42=_0x2b5a8d,{isNavigationMode:_0x220c65,currentChangeNumber:_0x38023c,numberOfChanges:_0x182c6c,isReady:_0x533976,isEnabled:_0xad2a77}=this[_0x347c42(0x190)][_0x347c42(0x188)][_0x347c42(0xac)](d);this[_0x347c42(0x1ba)]=!!(_0xad2a77&&_0x533976&&_0x182c6c)&&(!_0x220c65||(0x1===this[_0x347c42(0x1df)]?_0x38023c<_0x182c6c-0x1:_0x38023c>0x0));}}
|
|
23
|
+
const _0x1b96ed=_0x2c46;function _0x539a(){const _0x383b16=['includes','getIndex','elementStart','affectsData','markerRange','isIncorrect','getDomRoot','destroy','2392984zmJSEh','splice','refresh','dataToMarker','forceDisabled','removeAttribute','removeMarker','addRoot','mapViewToDom','attachChange','view','_makeTape','first','_changeView','1091798QAWnor','string','sort','showNextChange','compare','removeMarker:revision-suggestion','_fixObsoleteTags','changeId','isOnRoot','backward','getRevisionRootsAttributes','ck-suggestion-preview-marker','consume','getRoot','oldRevisionId','_activeViewTarget','target','numberOfChanges','marked','nextPosition','editor','roots','catch','index','commands','2807224cwuhRV','children','userId','toViewPosition','suggestion','pop','_removeMissingPairs','distance','ck-suggestion-marker--active','has','startIndex','bottom','createPositionBefore','map','isAttached','concat','change:isEnabled','conversion','createRange','-new','addRevision','insertions','object','_initInteractions','deletions','stop','removeClass','isAddSuggestion','markers','RevisionsRepository','merge','addMarker:revision','_balloon','nextSibling','start','ck-suggestion-marker-split','data-revision-','addHighlight','change:numberOfChanges','getAttribute','703290QqQUms','ck-revision-history-root--active','schema','ck-revision-history-root-add','getClientRects','_sortAndFilterDiffChanges','listenTo','error','return','parse','side','_markInsertions','endIndex','filter','config','getWalker','attributes','bindElementToMarker','getRevision','selection','high','abs','_cleanUp','editingDowncast','getRevisionData','isAtEnd','_markMismatchedRemovedTags','isRemoveSuggestion','resolve','reconvertMarker','currentChangeNumber','range','init','downcastDispatcher','_step','_data','createUIElement','isObject','change:activeChange','previousPosition','_getRevisionsRange','vid','default','softBreak','diff','mouseover','execute','top','8OdnGgW','data','mapper','useFillerType','values','wrap','attribute:vid','document','ck-revision-history-root-remove','split','updatePosition','_refreshStartEndIndex','toViewRange','_getViewForChange','POSITIVE_INFINITY','_setDistance','slice','removeMarker:revision','ck-suggestion-marker','revision','delete','data-change-id','loadRevisionData','newRevisionId','insertion','low','restoreRevision','ck-editor__editable__overlay','hasClass','repository','markersEnd','all','domEvent','_joinTapes','mousedown','shift','setAttribute','_markSuggestions','requires','createRangeIn','RevisionViewer','elementToAttribute','dataDowncast','revision-end','454485koLQgA','changes','findIndex','startsWith','_revisions','9raKOnT','element','done','isReady','checkAttribute','isAdded','test','_cleanMarkers','text','plugins','_markMarkers','isSuggestion','markerNameToElements','_makeModelFromViewString','showPreviousChange','showStack','attributesAfter','6lgPbyD','bind','vid_start','next','createPositionFromPath','pluginName','upcast','deletion','length','viewItem','parent','comment','isNavigationMode','getAttributes','then','suggestion:','remove','toModel','ck-suggestion-marker-','keys','domConverter','ck-revision-history-root-','highest','getChild','revisionHistoryAttachChange','revisionHistoryLabel','nodeAfter','hasAttribute','type','element:pre','_processTape','_changeIdToChange','markerToHighlight','unshift','createAttributeElement','clear','add','level','activeChange','_setConversion','isLimit','addMarker:revision-suggestion:deletion','locale','indexOf','consumable','vid_end','change','isEqual','observeMarkers','isAtStart','change:activeView','set','isBlock','change:isReady','getItems','addClass','getRootNames','revision-start','forEach','left','_makeModelFromTape','collaboration.channelId','end','find','attributesBefore','diffData','activeView','revision-suggestion','name','revision-viewer','markersStart','push','_removeUnsupportedChanges','addRevisionData','restoreRevisionCallback','isEnabled','_removeRevisionMarkers','_appendChild','isContent','_setChanges','isCollapsed','isInline','enableReadOnlyMode','insert','_getDiff','_getChangeFromId','WidgetToolbarRepository','isRemoved','markerToData','model','765565KnBgaQ','right','getCustomProperty','adapter','detachRoot','editing','revisionHistory','enqueueChange','processor','from','for','code','isAfter','unbindElementFromMarkerName','get','13550710eFFJaS','_getViewObj','isBefore','elementEnd','writer','flat','item','_findChangeIdFromDomTarget','rootName','modelRange','offsetSize','revision-suggestion:','toViewElement','authors','revision:','pairId','_update','maxOffset','span','toData','_threeWayMerge','revision-comment:','markerName','addMarker:revision-suggestion:insertion','uiElement','createRevision','ck-suggestion-marker-merge','ck-suggestion-preview-marker-','forward'];_0x539a=function(){return _0x383b16;};return _0x539a();}(function(_0x44fcad,_0x419039){const _0x5e708f=_0x2c46,_0xb16d6a=_0x44fcad();while(!![]){try{const _0xd82459=-parseInt(_0x5e708f(0x1b4))/0x1+-parseInt(_0x5e708f(0x266))/0x2+-parseInt(_0x5e708f(0x158))/0x3+-parseInt(_0x5e708f(0x188))/0x4*(-parseInt(_0x5e708f(0x224))/0x5)+-parseInt(_0x5e708f(0x1ca))/0x6*(parseInt(_0x5e708f(0x130))/0x7)+-parseInt(_0x5e708f(0x258))/0x8*(-parseInt(_0x5e708f(0x1b9))/0x9)+parseInt(_0x5e708f(0x233))/0xa;if(_0xd82459===_0x419039)break;else _0xb16d6a['push'](_0xb16d6a['shift']());}catch(_0x382fc8){_0xb16d6a['push'](_0xb16d6a['shift']());}}}(_0x539a,0x4f3de));import{Plugin as _0x552c14,Command as _0x2abe37}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x48ee46}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x39a237}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2fef33,Element as _0x1fd6ec,Text as _0x26f928,ViewDocumentFragment as _0x4c78bd,ViewText as _0x4499ad,ViewElement as _0x2d98c6,ViewContainerElement as _0x2b8772,ViewAttributeElement as _0x4cf259,ViewEmptyElement as _0x3207a8,ViewRawElement as _0x3cd951,ViewUIElement as _0x1d7ad4}from'ckeditor5/src/engine.js';function _0x2c46(_0x2497ea,_0x5dfa0b){const _0x539aac=_0x539a();return _0x2c46=function(_0x2c4659,_0x3e0da1){_0x2c4659=_0x2c4659-0x11c;let _0x2ff268=_0x539aac[_0x2c4659];return _0x2ff268;},_0x2c46(_0x2497ea,_0x5dfa0b);}import{Users as _0x19d555,getMarkerDomElement as _0x41d852}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x455ae0 from'./ui/revisionviewer/changedetailsview.js';import _0x4a06b4 from'./revisionsrepository.js';import _0x880468 from'./changeitem.js';import{default as _0x8e5470}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x2e74de}from'lodash-es';const tt={'c':_0x2b8772,'a':_0x4cf259,'e':_0x3207a8,'r':_0x3cd951,'u':_0x1d7ad4};export default class d extends _0x552c14{static get[_0x1b96ed(0x1cf)](){const _0x2c96cf=_0x1b96ed;return _0x2c96cf(0x1b0);}static get[_0x1b96ed(0x1ae)](){return[_0x19d555,_0x39a237,_0x4a06b4];}constructor(_0x5417af){const _0x504394=_0x1b96ed;super(_0x5417af),this[_0x504394(0x1a5)]=this[_0x504394(0x12b)][_0x504394(0x1c2)][_0x504394(0x232)](_0x504394(0x14d)),this[_0x504394(0x1fd)](_0x504394(0x1f0),null),this[_0x504394(0x1fd)](_0x504394(0x20c),null),this[_0x504394(0x126)]=null,this[_0x504394(0x1fd)](_0x504394(0x184),null),this[_0x504394(0x1fd)](_0x504394(0x1bc),!0x1),this[_0x504394(0x1fd)](_0x504394(0x215),!0x0),this['on'](_0x504394(0x140),(_0x29f141,_0x3dd5d2,_0x7db9a)=>{const _0x3cbf8c=_0x504394;this[_0x3cbf8c(0x1f0)]=null,this[_0x3cbf8c(0x20c)]=null,this[_0x3cbf8c(0x12b)][_0x3cbf8c(0x229)][_0x3cbf8c(0x262)][_0x3cbf8c(0x1f8)](_0x28fec0=>{const _0x5d9ed7=_0x3cbf8c;for(const _0x2aec0d of this[_0x5d9ed7(0x12b)][_0x5d9ed7(0x229)][_0x5d9ed7(0x262)][_0x5d9ed7(0x18f)][_0x5d9ed7(0x12c)])_0x7db9a?_0x28fec0[_0x5d9ed7(0x14a)](_0x5d9ed7(0x1a3),_0x2aec0d):_0x28fec0[_0x5d9ed7(0x201)](_0x5d9ed7(0x1a3),_0x2aec0d);});}),this[_0x504394(0x1cb)](_0x504394(0x1d6))['to'](this,_0x504394(0x1f0),_0xcbece6=>null!==_0xcbece6),this[_0x504394(0x1cb)](_0x504394(0x176))['to'](this,_0x504394(0x1bc),this,_0x504394(0x184),this,_0x504394(0x1f0),(_0x2fd531,_0x470f46,_0x4873eb)=>_0x2fd531&&_0x4873eb?_0x470f46[_0x504394(0x1b5)][_0x504394(0x251)](_0x4873eb):0x0),this[_0x504394(0x1cb)](_0x504394(0x128))['to'](this,_0x504394(0x1bc),this,_0x504394(0x184),(_0x3cf8ca,_0x4ef48d)=>_0x3cf8ca?_0x4ef48d[_0x504394(0x1b5)][_0x504394(0x1d2)]:0x0),this[_0x504394(0x265)]=null,this[_0x504394(0x1e9)]=new Map(),this[_0x504394(0x227)]=null,this[_0x504394(0x150)]=this[_0x504394(0x12b)][_0x504394(0x1c2)][_0x504394(0x232)](_0x39a237);}[_0x1b96ed(0x178)](){const _0x1f8fa3=_0x1b96ed,_0x47fdb9=this[_0x1f8fa3(0x12b)],_0x1daa9d=new ShowChangeCommand(_0x47fdb9,{'direction':_0x1f8fa3(0x120)}),_0x8f2fe8=new ShowChangeCommand(_0x47fdb9,{'direction':_0x1f8fa3(0x24f)});(_0x47fdb9[_0x1f8fa3(0x12f)][_0x1f8fa3(0x1ee)](_0x1f8fa3(0x1c7),_0x1daa9d),_0x47fdb9[_0x1f8fa3(0x12f)][_0x1f8fa3(0x1ee)](_0x1f8fa3(0x269),_0x8f2fe8),_0x47fdb9[_0x1f8fa3(0x12f)][_0x1f8fa3(0x1ee)](_0x1f8fa3(0x1a2),new RestoreRevisionCommand(_0x47fdb9)),this['on'](_0x1f8fa3(0x156),()=>{const _0x16f1c5=_0x1f8fa3;_0x1daa9d[_0x16f1c5(0x25a)](),_0x8f2fe8[_0x16f1c5(0x25a)]();}),this[_0x1f8fa3(0x1f1)](),this[_0x1f8fa3(0x147)](),_0x47fdb9[_0x1f8fa3(0x21c)](_0x1f8fa3(0x20f)),_0x47fdb9[_0x1f8fa3(0x1c2)][_0x1f8fa3(0x139)](_0x1f8fa3(0x220)))&&_0x47fdb9[_0x1f8fa3(0x1c2)][_0x1f8fa3(0x232)](_0x1f8fa3(0x220))[_0x1f8fa3(0x25c)](_0x1f8fa3(0x20f));}async[_0x1b96ed(0x170)](_0x4b4811){const _0x223303=_0x1b96ed;await this[_0x223303(0x19e)](_0x4b4811);const _0x280aad={};for(const _0x196d37 in _0x4b4811[_0x223303(0x20b)]){if(_0x4b4811[_0x223303(0x20b)][_0x196d37][_0x223303(0x261)]&&!_0x4b4811[_0x223303(0x20b)][_0x196d37][_0x223303(0x261)][_0x223303(0x13e)])continue;const _0xc9d6a=this[_0x223303(0x216)](JSON[_0x223303(0x161)](_0x4b4811[_0x223303(0x20b)][_0x196d37][_0x223303(0x145)])),_0x1ec87d=this[_0x223303(0x12b)][_0x223303(0x229)][_0x223303(0x262)][_0x223303(0x18f)],_0x2f5203=new _0x4c78bd(_0x1ec87d,_0xc9d6a[_0x223303(0x13d)](_0x12196d=>this[_0x223303(0x234)](_0x12196d)));this[_0x223303(0x12b)][_0x223303(0x189)][_0x223303(0x22c)][_0x223303(0x18b)](_0x223303(0x129)),_0x280aad[_0x196d37]=this[_0x223303(0x12b)][_0x223303(0x189)][_0x223303(0x22c)][_0x223303(0x246)](_0x2f5203),this[_0x223303(0x12b)][_0x223303(0x189)][_0x223303(0x22c)][_0x223303(0x18b)](_0x223303(0x182));}return _0x280aad;}async[_0x1b96ed(0x121)](_0x426093){const _0x41bf97=_0x1b96ed;await this[_0x41bf97(0x19e)](_0x426093);const _0x1daf38={};for(const _0x497caa in _0x426093[_0x41bf97(0x20b)])_0x426093[_0x41bf97(0x20b)][_0x497caa][_0x41bf97(0x261)]&&!_0x426093[_0x41bf97(0x20b)][_0x497caa][_0x41bf97(0x261)][_0x41bf97(0x13e)]||(_0x1daf38[_0x497caa]=_0x426093[_0x41bf97(0x20b)][_0x497caa][_0x41bf97(0x1c9)]||{});return _0x1daf38;}[_0x1b96ed(0x216)](_0x1f3cb4){const _0x27f063=_0x1b96ed;return(_0x1f3cb4=_0x1f3cb4[_0x27f063(0x165)](_0x43641f=>!_0x43641f[_0x27f063(0x20e)]||_0x27f063(0x203)!==_0x43641f[_0x27f063(0x20e)]&&_0x27f063(0x1b3)!==_0x43641f[_0x27f063(0x20e)]))[_0x27f063(0x204)](_0x1853c3=>{const _0x185b48=_0x27f063;_0x185b48(0x267)!=typeof _0x1853c3&&(_0x1853c3[_0x185b48(0x131)]=this[_0x185b48(0x216)](_0x1853c3[_0x185b48(0x131)]),_0x1853c3[_0x185b48(0x168)]=_0x1853c3[_0x185b48(0x168)][_0x185b48(0x165)](_0x4e7c3c=>!_0x4e7c3c[0x0][_0x185b48(0x1b7)](_0x185b48(0x154))));}),_0x1f3cb4;}async[_0x1b96ed(0x26a)](_0x59700c,_0x4c52ff,_0x4ad5d0=!0x1){const _0x3d862e=_0x1b96ed;if(!this[_0x3d862e(0x215)])return;const _0x147e51=this[_0x3d862e(0x184)],_0xf0ba36=this[_0x3d862e(0x1a5)],_0x3f20c6=_0x3d862e(0x267)==typeof _0x59700c?_0xf0ba36[_0x3d862e(0x16a)](_0x59700c):_0x59700c,_0x5f45fa=_0x3d862e(0x267)==typeof _0x4c52ff?_0xf0ba36[_0x3d862e(0x16a)](_0x4c52ff):_0x4c52ff,_0x4980dd=_0x3f20c6['id'],_0x1cbb08=_0x5f45fa?_0x5f45fa['id']:null;if(!_0x4ad5d0&&this[_0x3d862e(0x184)]&&this[_0x3d862e(0x184)][_0x3d862e(0x19f)]===_0x4980dd&&this[_0x3d862e(0x184)][_0x3d862e(0x125)]===_0x1cbb08)return Promise[_0x3d862e(0x174)]();this[_0x3d862e(0x1bc)]=!0x1,this[_0x3d862e(0x20c)]=null,this[_0x3d862e(0x1f0)]=null,this[_0x3d862e(0x184)]=new _0x8e5470(_0x4980dd,_0x1cbb08);const _0xe00816=this[_0x3d862e(0x180)](_0x3f20c6,_0x5f45fa,!0x0)[_0x3d862e(0x13d)](_0x5e76df=>this[_0x3d862e(0x19e)](_0x5e76df));return _0xe00816[_0x3d862e(0x211)](new Promise(_0x29f9da=>{setTimeout(_0x29f9da,0x14);})),Promise[_0x3d862e(0x1a7)](_0xe00816)[_0x3d862e(0x1d8)](()=>{const _0x436707=_0x3d862e;if(!this[_0x436707(0x215)])return;this[_0x436707(0x16e)]();const _0x2db319=this[_0x436707(0x21e)](_0x4980dd,_0x1cbb08);for(const _0x5324b9 of _0x2db319[_0x436707(0x1b5)])this[_0x436707(0x1e9)][_0x436707(0x1fd)](_0x5324b9['id'],_0x5324b9);this[_0x436707(0x12b)][_0x436707(0x223)][_0x436707(0x22b)]({'isUndoable':!0x1},_0x4d7472=>{const _0x1697ca=_0x436707;for(const _0x18da61 of this[_0x1697ca(0x12b)][_0x1697ca(0x223)][_0x1697ca(0x18f)][_0x1697ca(0x202)]())_0x4d7472[_0x1697ca(0x228)](_0x18da61);for(const _0x5e3790 of Object[_0x1697ca(0x1dd)](_0x2db319[_0x1697ca(0x223)])){const _0x2242cb=_0x4d7472[_0x1697ca(0x25f)](_0x5e3790);for(const _0x261ad5 of Object[_0x1697ca(0x1dd)](_0x2db319[_0x1697ca(0x168)][_0x5e3790]))_0x4d7472[_0x1697ca(0x1ac)](_0x261ad5,_0x2db319[_0x1697ca(0x168)][_0x5e3790][_0x261ad5],_0x2242cb);_0x4d7472[_0x1697ca(0x21d)](_0x2db319[_0x1697ca(0x223)][_0x5e3790],_0x2242cb,0x0);}}),this[_0x436707(0x184)][_0x436707(0x219)](this[_0x436707(0x15d)](_0x2db319[_0x436707(0x1b5)])),this[_0x436707(0x1bc)]=!0x0;})[_0x3d862e(0x12d)](_0x1e5e7d=>{const _0x3a13e1=_0x3d862e;console[_0x3a13e1(0x15f)](_0x1e5e7d),this[_0x3a13e1(0x16e)](),_0x147e51&&(this[_0x3a13e1(0x184)]=_0x147e51),this[_0x3a13e1(0x1bc)]=!0x0;});}[_0x1b96ed(0x213)](_0x110da2,_0x80dfc7){const _0x15dd66=_0x1b96ed,_0x2372be=this[_0x15dd66(0x1a5)][_0x15dd66(0x24c)](_0x110da2);return _0x2372be['on'](_0x15dd66(0x243),(_0x4729e6,_0x552f55,_0x5ceabe)=>_0x80dfc7(_0x552f55,_0x5ceabe,_0x2372be)),this[_0x15dd66(0x1a5)][_0x15dd66(0x144)](_0x2372be),_0x2372be;}[_0x1b96ed(0x19e)](_0xca4da3){const _0x51b100=_0x1b96ed;if(!_0xca4da3||_0xca4da3[_0x51b100(0x20b)])return Promise[_0x51b100(0x174)]();{const _0x17f19f=this[_0x51b100(0x12b)][_0x51b100(0x166)][_0x51b100(0x232)](_0x51b100(0x207));return this[_0x51b100(0x227)][_0x51b100(0x16a)]({'channelId':_0x17f19f,'revisionId':_0xca4da3['id']})[_0x51b100(0x1d8)](_0x1da986=>{const _0x569fb2=_0x51b100;_0xca4da3[_0x569fb2(0x243)]({'diffData':_0x1da986[_0x569fb2(0x20b)]},!0x0);});}}[_0x1b96ed(0x16e)](){const _0x1eeea4=_0x1b96ed;this[_0x1eeea4(0x1f0)]=null,this[_0x1eeea4(0x1c0)](),this[_0x1eeea4(0x265)]&&this[_0x1eeea4(0x265)][_0x1eeea4(0x257)](),this[_0x1eeea4(0x265)]=null,this[_0x1eeea4(0x1e9)][_0x1eeea4(0x1ed)](),this[_0x1eeea4(0x12b)][_0x1eeea4(0x223)][_0x1eeea4(0x22b)]({'isUndoable':!0x1},_0x483ccc=>{const _0x1854e0=_0x1eeea4;for(const _0x908b5 of this[_0x1854e0(0x12b)][_0x1854e0(0x223)][_0x1854e0(0x18f)][_0x1854e0(0x202)]())_0x483ccc[_0x1854e0(0x228)](_0x908b5);});}[_0x1b96ed(0x15d)](_0x3ea9ae){const _0x564ae4=_0x1b96ed,_0x6059b2=[],_0xc753b=new Map();for(const _0x2f5c2d of this[_0x564ae4(0x12b)][_0x564ae4(0x223)][_0x564ae4(0x18f)][_0x564ae4(0x202)]()){const _0x55ab4f=this[_0x564ae4(0x12b)][_0x564ae4(0x229)][_0x564ae4(0x262)][_0x564ae4(0x256)](_0x2f5c2d);if(!_0x55ab4f)continue;const _0x3375c4=_0x55ab4f[_0x564ae4(0x15c)]()[_0x564ae4(0x239)](0x0);_0x3375c4&&(_0x6059b2[_0x564ae4(0x211)](_0x2f5c2d),_0xc753b[_0x564ae4(0x1fd)](_0x2f5c2d,_0x3375c4));}return _0x6059b2[_0x564ae4(0x268)]((_0x3a9f4f,_0xda1685)=>{const _0x713c39=_0x564ae4,_0x1efc1b=_0xc753b[_0x713c39(0x232)](_0x3a9f4f),_0x509183=_0xc753b[_0x713c39(0x232)](_0xda1685);return _0x1efc1b['y']-_0x509183['y']||_0x1efc1b['x']-_0x509183['x'];}),(_0x3ea9ae=_0x3ea9ae[_0x564ae4(0x165)](_0x5cab2a=>_0x6059b2[_0x564ae4(0x250)](_0x5cab2a[_0x564ae4(0x23b)])))[_0x564ae4(0x268)]((_0x50a6f5,_0x43ec1c)=>_0x6059b2[_0x564ae4(0x1f5)](_0x50a6f5[_0x564ae4(0x23b)])-_0x6059b2[_0x564ae4(0x1f5)](_0x43ec1c[_0x564ae4(0x23b)])),_0x3ea9ae;}[_0x1b96ed(0x263)](_0x52e6b8){const _0xb39b75=_0x1b96ed,_0x2da2a4=Array[_0xb39b75(0x22d)](_0x52e6b8[_0xb39b75(0x14c)])[_0xb39b75(0x165)](([_0x4c8055,_0x172c6d])=>_0x4c8055[_0xb39b75(0x1b7)](_0xb39b75(0x241))&&!_0x172c6d[_0xb39b75(0x21a)]),_0x313083=Array[_0xb39b75(0x22d)](this[_0xb39b75(0x12b)][_0xb39b75(0x223)][_0xb39b75(0x1af)](_0x52e6b8)[_0xb39b75(0x167)]({'singleCharacters':!0x0}));if(0x0!=_0x2da2a4[_0xb39b75(0x1d2)])for(const _0x893580 of _0x313083){const [_0x3b6b4f,_0xcde3a9]=_0x2da2a4[0x0],[,_0x261aa9,_0x1b9ef5]=_0x3b6b4f[_0xb39b75(0x191)](':');if(_0xcde3a9[_0xb39b75(0x208)][_0xb39b75(0x1f9)](_0x893580[_0xb39b75(0x12a)])&&_0x2da2a4[_0xb39b75(0x1ab)](),(_0x893580[_0xb39b75(0x17f)][_0xb39b75(0x1f9)](_0xcde3a9[_0xb39b75(0x152)])||_0x893580[_0xb39b75(0x17f)][_0xb39b75(0x230)](_0xcde3a9[_0xb39b75(0x152)]))&&(_0xb39b75(0x1a0)==_0x261aa9?_0x893580[_0xb39b75(0x1be)]={'userId':_0x1b9ef5}:_0xb39b75(0x1d1)==_0x261aa9&&(_0x893580[_0xb39b75(0x221)]={'userId':_0x1b9ef5})),0x0==_0x2da2a4[_0xb39b75(0x1d2)])break;}return _0x313083;}[_0x1b96ed(0x193)](_0x51662b){const _0x37a2e7=_0x1b96ed,_0x16841c=new Map();for(let _0x2217e1=0x0;_0x2217e1<_0x51662b[_0x37a2e7(0x1d2)];_0x2217e1++)_0x37a2e7(0x1c1)===_0x51662b[_0x2217e1][_0x37a2e7(0x1e6)]?(_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x13a)]=_0x2217e1,_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x164)]=_0x2217e1):(_0x37a2e7(0x252)===_0x51662b[_0x2217e1][_0x37a2e7(0x1e6)]?_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x13a)]=_0x2217e1:_0x37a2e7(0x236)===_0x51662b[_0x2217e1][_0x37a2e7(0x1e6)]&&(_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x164)]=_0x2217e1),_0x16841c[_0x37a2e7(0x1fd)](_0x51662b[_0x2217e1]['id'],_0x2217e1));for(const _0x9fb7f9 of _0x16841c[_0x37a2e7(0x18c)]())_0x37a2e7(0x252)===_0x51662b[_0x9fb7f9][_0x37a2e7(0x1e6)]?_0x51662b[_0x9fb7f9][_0x37a2e7(0x239)][_0x37a2e7(0x164)]=_0x16841c[_0x37a2e7(0x232)](_0x51662b[_0x9fb7f9][_0x37a2e7(0x242)]):_0x37a2e7(0x236)===_0x51662b[_0x9fb7f9][_0x37a2e7(0x1e6)]&&(_0x51662b[_0x9fb7f9][_0x37a2e7(0x239)][_0x37a2e7(0x13a)]=_0x16841c[_0x37a2e7(0x232)](_0x51662b[_0x9fb7f9][_0x37a2e7(0x242)]));}[_0x1b96ed(0x1e8)](_0xe1a0ea){const _0x1ac3d2=_0x1b96ed;for(let _0x5d6382=0x0;_0x5d6382<_0xe1a0ea[_0x1ac3d2(0x1d2)];_0x5d6382++){if(_0x1ac3d2(0x252)===_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x1e6)])_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x13a)]=_0x5d6382;else{if(_0x1ac3d2(0x236)===_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x1e6)]){_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x164)]=_0x5d6382;const _0x4856de=_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x13a)];_0xe1a0ea[_0x4856de][_0x1ac3d2(0x242)]=_0xe1a0ea[_0x5d6382]['id'],_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x242)]=_0xe1a0ea[_0x4856de]['id'];}else _0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x13a)]=_0x5d6382,_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x164)]=_0x5d6382,_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x242)]=null;}_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x210)]||(_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x210)]=[],_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x1a6)]=[]);}}[_0x1b96ed(0x163)](_0x291189,_0x4be296){const _0x4682fa=_0x1b96ed,_0x1993ed=_0x291189[_0x4682fa(0x165)](_0x4bd9bb=>!_0x4bd9bb[_0x4682fa(0x1be)]);for(let _0x1c3324=0x0;_0x1c3324<_0x4be296[_0x4682fa(0x1d2)];_0x1c3324++)_0x4be296[_0x1c3324][_0x4682fa(0x1be)]&&(_0x1993ed[_0x1c3324][_0x4682fa(0x1be)]=_0x4be296[_0x1c3324][_0x4682fa(0x1be)]);}[_0x1b96ed(0x1c6)](_0x2018b2){const _0x4d3e03=_0x1b96ed,_0x578902=JSON[_0x4d3e03(0x161)](_0x2018b2),_0xb1791b=this[_0x4d3e03(0x12b)][_0x4d3e03(0x229)][_0x4d3e03(0x262)][_0x4d3e03(0x18f)],_0x201e26=new _0x4c78bd(_0xb1791b,_0x578902[_0x4d3e03(0x13d)](_0x33995a=>this[_0x4d3e03(0x234)](_0x33995a)));return this[_0x4d3e03(0x12b)][_0x4d3e03(0x189)][_0x4d3e03(0x1db)](_0x201e26);}[_0x1b96ed(0x234)](_0x49ae64){const _0x308428=_0x1b96ed,_0x3ebe99=this[_0x308428(0x12b)][_0x308428(0x229)][_0x308428(0x262)][_0x308428(0x18f)];if(_0x308428(0x267)==typeof _0x49ae64)return new _0x4499ad(_0x3ebe99,_0x49ae64);{const _0xc40827=_0x49ae64[_0x308428(0x131)][_0x308428(0x13d)](_0x50f1b1=>this[_0x308428(0x234)](_0x50f1b1));return new(tt[_0x49ae64[(_0x308428(0x1e6))]]||_0x2d98c6)(_0x3ebe99,_0x49ae64[_0x308428(0x20e)],_0x49ae64[_0x308428(0x168)],_0xc40827);}}[_0x1b96ed(0x21e)](_0x9a2ed7,_0x259921=null){const _0x5dc8f8=_0x1b96ed,_0x3d0197=this[_0x5dc8f8(0x1a5)][_0x5dc8f8(0x16a)](_0x9a2ed7),_0x592e68=_0x259921?this[_0x5dc8f8(0x1a5)][_0x5dc8f8(0x16a)](_0x259921):null,_0x357164=this[_0x5dc8f8(0x180)](_0x3d0197,_0x592e68),_0x5a5973=_0x357164[_0x357164[_0x5dc8f8(0x1d2)]-0x1],_0x2f16b4=new Map(),_0x23dbae={'model':{},'attributes':{},'changes':[]},_0x3400d1=new Set(),_0x4e0d4e=new Map();for(let _0x4cb233=_0x357164[_0x5dc8f8(0x1d2)]-0x1;_0x4cb233>=0x0;_0x4cb233--){const _0x168f02=_0x357164[_0x4cb233];for(const _0x2b21e7 of Object[_0x5dc8f8(0x1dd)](_0x168f02[_0x5dc8f8(0x20b)]))if(_0x168f02[_0x5dc8f8(0x20b)][_0x2b21e7][_0x5dc8f8(0x261)]){const _0x434b63=_0x168f02[_0x5dc8f8(0x20b)][_0x2b21e7][_0x5dc8f8(0x261)];_0x434b63[_0x5dc8f8(0x13e)]?(_0x3400d1[_0x5dc8f8(0x1ee)](_0x2b21e7),_0x4e0d4e[_0x5dc8f8(0x139)](_0x2b21e7)&&_0x4e0d4e[_0x5dc8f8(0x232)](_0x2b21e7)[_0x5dc8f8(0x132)]==_0x434b63[_0x5dc8f8(0x132)]?_0x4e0d4e[_0x5dc8f8(0x19c)](_0x2b21e7):_0x4e0d4e[_0x5dc8f8(0x1fd)](_0x2b21e7,_0x434b63)):_0x4e0d4e[_0x5dc8f8(0x139)](_0x2b21e7)?(_0x3400d1[_0x5dc8f8(0x19c)](_0x2b21e7),_0x4e0d4e[_0x5dc8f8(0x19c)](_0x2b21e7)):(_0x3400d1[_0x5dc8f8(0x1ee)](_0x2b21e7),_0x4e0d4e[_0x5dc8f8(0x1fd)](_0x2b21e7,_0x434b63));}else _0x3400d1[_0x5dc8f8(0x1ee)](_0x2b21e7);}for(const _0x2fb9e5 of _0x3400d1){const _0x11fe85=_0x4e0d4e[_0x5dc8f8(0x139)](_0x2fb9e5)&&!_0x4e0d4e[_0x5dc8f8(0x232)](_0x2fb9e5)[_0x5dc8f8(0x13e)];let _0x5b222d=_0x11fe85?_0x357164[_0x5dc8f8(0x1d2)]-0x1:0x0;const _0x472e56=_0x11fe85?-0x1:0x1;for(;_0x357164[_0x5b222d];){const _0x9c442=_0x357164[_0x5b222d];if(_0x9c442[_0x5dc8f8(0x20b)][_0x2fb9e5]){const _0x6f6096=_0x11fe85?_0x9c442[_0x5dc8f8(0x20b)][_0x2fb9e5][_0x5dc8f8(0x20a)]:_0x9c442[_0x5dc8f8(0x20b)][_0x2fb9e5][_0x5dc8f8(0x1c9)];_0x23dbae[_0x5dc8f8(0x168)][_0x2fb9e5]=_0x6f6096?_0x2e74de(_0x6f6096):{};break;}_0x5b222d+=_0x472e56;}}for(const _0x1b47ad of _0x357164){_0x1b47ad[_0x5dc8f8(0x223)]={};for(const _0x476659 of _0x1b47ad[_0x5dc8f8(0x240)])_0x2f16b4[_0x5dc8f8(0x1fd)](_0x476659['id'],_0x476659);for(const _0x41f066 of _0x3400d1){const _0x4d3a29=_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066]?_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066][_0x5dc8f8(0x145)]:'[]',_0x3353c4=_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066]?_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066][_0x5dc8f8(0x148)]:'[]';_0x1b47ad[_0x5dc8f8(0x223)][_0x41f066]={'insertions':this[_0x5dc8f8(0x1c6)](_0x4d3a29),'deletions':this[_0x5dc8f8(0x1c6)](_0x3353c4)};}}for(const _0x26dda1 of _0x3400d1){let _0x490d6f=null,_0x3c3cbe=0x0;const _0x47bbe6=new Map(Array[_0x5dc8f8(0x22d)](_0x3d0197[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x145)][_0x5dc8f8(0x14c)])[_0x5dc8f8(0x165)](([_0x3292b8])=>!_0x3292b8[_0x5dc8f8(0x1b7)](_0x5dc8f8(0x241))));let _0x5b2202=0x0;for(const _0x5295ff of _0x357164){const _0x527668=this[_0x5dc8f8(0x263)](_0x5295ff[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x145)]);_0x5295ff==_0x3d0197?(_0x490d6f=_0x527668,_0x3c3cbe=_0x490d6f[_0x5dc8f8(0x1d2)],_0x490d6f[_0x5dc8f8(0x204)](_0x4205b2=>{_0x4205b2['id']=_0x5b2202++;}),this[_0x5dc8f8(0x1e8)](_0x490d6f)):this[_0x5dc8f8(0x163)](_0x490d6f,_0x527668);const _0x1eacd2=_0x490d6f[_0x5dc8f8(0x165)](_0x1b59a4=>!_0x1b59a4[_0x5dc8f8(0x1be)])[_0x5dc8f8(0x13d)](_0x1a80ae=>_0x1a80ae['id']);let _0x4f2934=0x0;const _0x1c8300=this[_0x5dc8f8(0x263)](_0x5295ff[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x148)]);_0x1c8300[_0x5dc8f8(0x204)](_0xf83ec3=>{const _0x54a5c8=_0x5dc8f8;_0xf83ec3[_0x54a5c8(0x221)]?_0xf83ec3['id']=_0x3c3cbe++:_0xf83ec3['id']=_0x1eacd2[_0x4f2934++];}),this[_0x5dc8f8(0x1e8)](_0x1c8300),this[_0x5dc8f8(0x197)](_0x490d6f,_0x5dc8f8(0x1be)),this[_0x5dc8f8(0x197)](_0x1c8300,_0x5dc8f8(0x221)),_0x5295ff==_0x3d0197&&this[_0x5dc8f8(0x1c3)](_0x490d6f,_0x47bbe6),_0x490d6f=this[_0x5dc8f8(0x1a9)](_0x490d6f,_0x1c8300),this[_0x5dc8f8(0x193)](_0x490d6f),this[_0x5dc8f8(0x197)](_0x490d6f,_0x5dc8f8(0x221));}_0x490d6f=_0x490d6f[_0x5dc8f8(0x165)](_0x19d7f5=>!(_0x19d7f5[_0x5dc8f8(0x1be)]&&_0x19d7f5[_0x5dc8f8(0x221)]));const _0x546a13=new Map(_0x5a5973[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x148)][_0x5dc8f8(0x14c)]),_0x782143=new Set(_0x47bbe6[_0x5dc8f8(0x1dd)]());for(const _0x56b297 of _0x546a13[_0x5dc8f8(0x1dd)]())_0x782143[_0x5dc8f8(0x19c)](_0x56b297);this[_0x5dc8f8(0x1ad)](_0x490d6f,_0x782143),this[_0x5dc8f8(0x11d)](_0x490d6f),_0x490d6f=this[_0x5dc8f8(0x136)](_0x490d6f),_0x490d6f=this[_0x5dc8f8(0x172)](_0x490d6f),_0x490d6f=this[_0x5dc8f8(0x212)](_0x490d6f);const {root:_0x123903,changes:_0x5a42e5}=this[_0x5dc8f8(0x206)](_0x490d6f,_0x2f16b4,_0x26dda1);_0x23dbae[_0x5dc8f8(0x223)][_0x26dda1]=_0x123903;const _0x4f2fac=_0x4e0d4e[_0x5dc8f8(0x232)](_0x26dda1);if(_0x4f2fac){const _0x12f4dc=_0x2f16b4[_0x5dc8f8(0x232)](_0x4f2fac[_0x5dc8f8(0x132)]),_0x4cfda3=new _0x880468({'author':_0x12f4dc,'type':_0x4f2fac[_0x5dc8f8(0x13e)]?_0x5dc8f8(0x1ee):_0x5dc8f8(0x1da),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x26dda1});_0x5a42e5[_0x5dc8f8(0x1eb)](_0x4cfda3),_0x23dbae[_0x5dc8f8(0x168)][_0x26dda1][_0x5dc8f8(0x1e2)]=_0x4cfda3['id'];}_0x23dbae[_0x5dc8f8(0x1b5)]=_0x23dbae[_0x5dc8f8(0x1b5)][_0x5dc8f8(0x13f)](_0x5a42e5);}return _0x23dbae;}[_0x1b96ed(0x1c3)](_0x3a00cb,_0x2bb233){const _0x10239e=_0x1b96ed;for(let _0x54417d=0x0;_0x54417d<_0x3a00cb[_0x10239e(0x1d2)];_0x54417d++)for(const [_0x148634,_0x1ae4fe]of _0x2bb233)_0x1ae4fe[_0x10239e(0x152)][_0x10239e(0x1f9)](_0x3a00cb[_0x54417d][_0x10239e(0x17f)])&&_0x3a00cb[_0x54417d][_0x10239e(0x210)][_0x10239e(0x211)](_0x148634),_0x1ae4fe[_0x10239e(0x208)][_0x10239e(0x1f9)](_0x3a00cb[_0x54417d][_0x10239e(0x12a)])&&_0x3a00cb[_0x54417d][_0x10239e(0x1a6)][_0x10239e(0x211)](_0x148634);}[_0x1b96ed(0x1a9)](_0x5c82a4,_0x508770){const _0x279b84=_0x1b96ed;let _0x38601b=[],_0x1a284c=0x0,_0x5c5ae1=0x0;for(;_0x1a284c<_0x5c82a4[_0x279b84(0x1d2)]||_0x5c5ae1<_0x508770[_0x279b84(0x1d2)];){const _0xe8a468=_0x5c82a4[_0x1a284c]||{},_0x2b21b3=_0x508770[_0x5c5ae1]||{};if(_0xe8a468['id']==_0x2b21b3['id'])_0x1a284c++,_0x5c5ae1++,_0x38601b[_0x279b84(0x211)](_0xe8a468);else{if(_0x2b21b3[_0x279b84(0x221)]&&_0xe8a468[_0x279b84(0x1be)]){const {commonTape:_0x11681e,iEnd:_0x53460e,jEnd:_0x3f2bc6}=this[_0x279b84(0x247)](_0x5c82a4,_0x1a284c,_0x508770,_0x5c5ae1);_0x38601b=_0x38601b[_0x279b84(0x13f)](_0x11681e),_0x1a284c=_0x53460e,_0x5c5ae1=_0x3f2bc6;}else _0x2b21b3[_0x279b84(0x221)]?(_0x5c5ae1++,_0x38601b[_0x279b84(0x211)](_0x2b21b3)):(_0x1a284c++,_0x38601b[_0x279b84(0x211)](_0xe8a468));}}return _0x38601b;}[_0x1b96ed(0x1ad)](_0x10c828,_0x3d7c47){const _0x13c557=_0x1b96ed,_0x237569=[];for(let _0x2c43e4=0x0;_0x2c43e4<_0x10c828[_0x13c557(0x1d2)];_0x2c43e4++){for(let _0x38c6f4=0x0;_0x38c6f4<_0x10c828[_0x2c43e4][_0x13c557(0x210)][_0x13c557(0x1d2)];_0x38c6f4++){const _0x359c76=_0x10c828[_0x2c43e4][_0x13c557(0x210)][_0x38c6f4];if(!_0x3d7c47[_0x13c557(0x139)](_0x359c76))continue;const {group:_0x374448,type:_0x36b6ec,authorId:_0xda5624}=_0x1822d7(_0x359c76);_0x13c557(0x20d)!=_0x374448||_0x13c557(0x1a0)!=_0x36b6ec&&_0x13c557(0x1d1)!=_0x36b6ec||(_0x237569[_0x13c557(0x1eb)]({'type':_0x36b6ec,'name':_0x359c76,'userId':_0xda5624}),_0x10c828[_0x2c43e4][_0x13c557(0x210)][_0x13c557(0x259)](_0x38c6f4,0x1),_0x38c6f4--);}_0x5a3526(_0x10c828[_0x2c43e4]);for(let _0x212c11=0x0;_0x212c11<_0x10c828[_0x2c43e4][_0x13c557(0x1a6)][_0x13c557(0x1d2)];_0x212c11++){const _0x552a9a=_0x10c828[_0x2c43e4][_0x13c557(0x1a6)][_0x212c11];if(!_0x3d7c47[_0x13c557(0x139)](_0x552a9a))continue;const {group:_0x3a717b,type:_0x96c9e8}=_0x1822d7(_0x552a9a);if(_0x13c557(0x20d)!=_0x3a717b||_0x13c557(0x1a0)!=_0x96c9e8&&_0x13c557(0x1d1)!=_0x96c9e8)continue;_0x10c828[_0x2c43e4][_0x13c557(0x1a6)][_0x13c557(0x259)](_0x212c11,0x1),_0x212c11--;const _0x1a7a43=_0x237569[_0x13c557(0x1b6)](_0x39ad2c=>_0x39ad2c[_0x13c557(0x20e)]==_0x552a9a);_0x1a7a43>-0x1&&_0x237569[_0x13c557(0x259)](_0x1a7a43,0x1);}}function _0x1822d7(_0x5a4c2a){const _0x4f9ee1=_0x13c557,_0x171a61=_0x5a4c2a[_0x4f9ee1(0x191)](':');return{'group':_0x171a61[0x0],'type':_0x171a61[0x1],'subType':_0x171a61[_0x4f9ee1(0x1d2)]>=0x5?_0x171a61[0x2]:null,'id':_0x171a61[_0x4f9ee1(0x1d2)]<0x5?_0x171a61[0x2]:_0x171a61[0x3],'authorId':_0x171a61[_0x4f9ee1(0x1d2)]<0x5?_0x171a61[0x3]:_0x171a61[0x4],'markerCount':0x6==_0x171a61[_0x4f9ee1(0x1d2)]?_0x171a61[0x5]:null};}function _0x5a3526(_0x3eff2e){const _0x48d32c=_0x13c557;for(let _0x51df9e=0x0;_0x51df9e<_0x237569[_0x48d32c(0x1d2)];_0x51df9e++){if(_0x3eff2e[_0x48d32c(0x1be)]&&_0x48d32c(0x1a0)==_0x237569[_0x51df9e][_0x48d32c(0x1e6)])return _0x3eff2e[_0x48d32c(0x14b)]=_0x237569[_0x51df9e],void delete _0x3eff2e[_0x48d32c(0x1be)];if(!_0x3eff2e[_0x48d32c(0x1be)]&&!_0x3eff2e[_0x48d32c(0x221)]&&_0x48d32c(0x1d1)==_0x237569[_0x51df9e][_0x48d32c(0x1e6)])return void(_0x3eff2e[_0x48d32c(0x173)]=_0x237569[_0x51df9e]);}}}[_0x1b96ed(0x197)](_0x57fe6b,_0x233dd2){const _0x45ee30=_0x1b96ed;let _0x559fdf=0x0,_0x307965=!0x1;const _0x4c9ad4=new Map();for(const _0x2c1649 of _0x57fe6b)_0x2c1649[_0x233dd2]?_0x307965&&(_0x559fdf++,_0x307965=!0x1):(_0x559fdf++,_0x307965=!0x0),_0x4c9ad4[_0x45ee30(0x1fd)](_0x2c1649['id'],_0x559fdf);for(let _0x2b1da0=0x0;_0x2b1da0<_0x57fe6b[_0x45ee30(0x1d2)];_0x2b1da0++){if(_0x45ee30(0x221)==_0x233dd2&&_0x57fe6b[_0x2b1da0][_0x45ee30(0x1be)]||_0x45ee30(0x1be)==_0x233dd2&&_0x57fe6b[_0x2b1da0][_0x45ee30(0x221)])continue;if(_0x45ee30(0x1c1)==_0x57fe6b[_0x2b1da0][_0x45ee30(0x1e6)]){_0x57fe6b[_0x2b1da0][_0x45ee30(0x137)]=0x0;continue;}const _0x53fc25=_0x4c9ad4[_0x45ee30(0x232)](_0x57fe6b[_0x2b1da0][_0x45ee30(0x242)]),_0x23399f=_0x4c9ad4[_0x45ee30(0x232)](_0x57fe6b[_0x2b1da0]['id']);_0x57fe6b[_0x2b1da0][_0x45ee30(0x137)]=_0x53fc25-_0x23399f;}}[_0x1b96ed(0x180)](_0x113bbd,_0x1ed93d,_0x176da8=!0x1){const _0x5936fa=_0x1b96ed,_0x5560ab=[];let _0xcce06a=this[_0x5936fa(0x1a5)][_0x5936fa(0x251)](_0x113bbd),_0x55b89c=this[_0x5936fa(0x1a5)][_0x5936fa(0x251)](_0x1ed93d);for(-0x1==_0x55b89c&&(_0x55b89c=this[_0x5936fa(0x1a5)][_0x5936fa(0x1b8)][_0x5936fa(0x1d2)],_0x176da8=!0x1);_0xcce06a<_0x55b89c;)_0x5560ab[_0x5936fa(0x211)](this[_0x5936fa(0x1a5)][_0x5936fa(0x16a)](_0xcce06a)),_0xcce06a++;return _0x176da8&&_0x5560ab[_0x5936fa(0x211)](this[_0x5936fa(0x1a5)][_0x5936fa(0x16a)](_0xcce06a)),_0x5560ab;}[_0x1b96ed(0x247)](_0x192181,_0x585a75,_0x3803fc,_0x115f6c){const _0x1a5120=_0x1b96ed,_0xb6f78e=this[_0x1a5120(0x12b)][_0x1a5120(0x223)][_0x1a5120(0x15a)];let _0x5074bc=_0x585a75;for(;_0x192181[_0x5074bc]&&_0x192181[_0x5074bc][_0x1a5120(0x1be)];)_0x5074bc++;let _0x53284f=_0x115f6c;for(;_0x3803fc[_0x53284f]&&_0x3803fc[_0x53284f][_0x1a5120(0x221)];)_0x53284f++;_0x15690e(_0x192181,_0x585a75,_0x5074bc),_0x15690e(_0x3803fc,_0x115f6c,_0x53284f);const _0x2c8756=_0x3803fc[_0x1a5120(0x198)](_0x115f6c,_0x53284f)[_0x1a5120(0x13f)](_0x192181[_0x1a5120(0x198)](_0x585a75,_0x5074bc));return _0x2c8756[_0x1a5120(0x268)]((_0x56ccc9,_0x1171a5)=>_0x56ccc9[_0x1a5120(0x162)]!=_0x1171a5[_0x1a5120(0x162)]?_0x56ccc9[_0x1a5120(0x162)]-_0x1171a5[_0x1a5120(0x162)]:_0x56ccc9[_0x1a5120(0x1ef)]!=_0x1171a5[_0x1a5120(0x1ef)]?_0x56ccc9[_0x1a5120(0x1ef)]-_0x1171a5[_0x1a5120(0x1ef)]:_0x56ccc9[_0x1a5120(0x137)]!=_0x1171a5[_0x1a5120(0x137)]?_0x1171a5[_0x1a5120(0x137)]-_0x56ccc9[_0x1a5120(0x137)]:!!_0x56ccc9[_0x1a5120(0x1be)]!=!!_0x1171a5[_0x1a5120(0x1be)]?-0x1==_0x56ccc9[_0x1a5120(0x162)]||0x0==_0x56ccc9[_0x1a5120(0x162)]?_0x56ccc9[_0x1a5120(0x1be)]?-0x1:0x1:_0x56ccc9[_0x1a5120(0x1be)]?0x1:-0x1:_0x56ccc9[_0x1a5120(0x12e)]-_0x1171a5[_0x1a5120(0x12e)]),{'commonTape':_0x2c8756,'iEnd':_0x5074bc,'jEnd':_0x53284f};function _0x15690e(_0x3161a3,_0x22776b,_0x48b4a1){const _0x1bc701=_0x1a5120;let _0x4b3783=-0x1,_0x255916=Number[_0x1bc701(0x196)],_0x221c34=!0x0;for(let _0x36a583=_0x22776b;_0x36a583<_0x48b4a1;_0x36a583++)if(_0xb6f78e[_0x1bc701(0x21b)](_0x3161a3[_0x36a583][_0x1bc701(0x239)])||(_0x221c34=!0x1),_0x3161a3[_0x36a583][_0x1bc701(0x239)][_0x1bc701(0x13a)]<_0x22776b&&(_0x4b3783=_0x36a583),_0x3161a3[_0x36a583][_0x1bc701(0x239)][_0x1bc701(0x164)]>=_0x48b4a1){_0x255916=_0x36a583;break;}_0x221c34&&(_0x4b3783=_0x48b4a1-0x1);for(let _0x34f7c1=_0x22776b;_0x34f7c1<_0x48b4a1;_0x34f7c1++)_0x3161a3[_0x34f7c1][_0x1bc701(0x162)]=_0x34f7c1<=_0x4b3783?-0x1:_0x34f7c1<_0x255916?0x0:0x1,_0x3161a3[_0x34f7c1][_0x1bc701(0x12e)]=_0x34f7c1;let _0x27ff3c=0x0;for(let _0x168b87=_0x22776b;_0x168b87<=_0x4b3783;_0x168b87++)0x0==_0x3161a3[_0x168b87][_0x1bc701(0x137)]?_0x3161a3[_0x168b87][_0x1bc701(0x1ef)]=_0x27ff3c:(_0x27ff3c++,_0x3161a3[_0x168b87][_0x1bc701(0x1ef)]=_0x27ff3c,_0x27ff3c++);for(let _0x114c2d=_0x22776b;_0x114c2d<_0x48b4a1;_0x114c2d++)0x0==_0x3161a3[_0x114c2d][_0x1bc701(0x162)]&&(_0x3161a3[_0x114c2d][_0x1bc701(0x1ef)]=_0x27ff3c);_0x27ff3c=0x0;for(let _0xc2ad41=_0x48b4a1-0x1;_0xc2ad41>=_0x255916;_0xc2ad41--)0x0==_0x3161a3[_0xc2ad41][_0x1bc701(0x137)]?_0x3161a3[_0xc2ad41][_0x1bc701(0x1ef)]=_0x27ff3c:(_0x27ff3c--,_0x3161a3[_0xc2ad41][_0x1bc701(0x1ef)]=_0x27ff3c,_0x27ff3c--);}}[_0x1b96ed(0x11d)](_0x466934){const _0x5a4413=_0x1b96ed,_0x4f2c46=new Map(),_0x505253=this[_0x5a4413(0x12b)][_0x5a4413(0x223)][_0x5a4413(0x15a)];for(let _0x4d2ac6=0x1;_0x4d2ac6<_0x466934[_0x5a4413(0x1d2)];_0x4d2ac6++){let _0x540852,_0x48c7cb,_0x4ee6dd;const _0x445c92=_0x466934[_0x4d2ac6],_0x271cbe=_0x466934[_0x4d2ac6-0x1];if(_0x5a4413(0x1c1)==_0x445c92[_0x5a4413(0x1e6)])continue;if(_0x445c92[_0x5a4413(0x1e6)]!=_0x271cbe[_0x5a4413(0x1e6)])continue;if(!_0x505253[_0x5a4413(0x1fe)](_0x271cbe[_0x5a4413(0x239)])||_0x505253[_0x5a4413(0x1f2)](_0x271cbe[_0x5a4413(0x239)]))continue;if(!_0x505253[_0x5a4413(0x1fe)](_0x445c92[_0x5a4413(0x239)])||_0x505253[_0x5a4413(0x1f2)](_0x445c92[_0x5a4413(0x239)]))continue;if((_0x466934[_0x4d2ac6][_0x5a4413(0x1be)]||_0x466934[_0x4d2ac6][_0x5a4413(0x14b)])&&_0x466934[_0x4d2ac6-0x1][_0x5a4413(0x221)])_0x540852=_0x466934[_0x4d2ac6],_0x48c7cb=_0x466934[_0x4d2ac6-0x1],_0x4ee6dd=_0x4d2ac6-0x1;else{if(!_0x466934[_0x4d2ac6][_0x5a4413(0x221)]||!_0x466934[_0x4d2ac6-0x1][_0x5a4413(0x1be)]&&!_0x466934[_0x4d2ac6-0x1][_0x5a4413(0x14b)])continue;_0x540852=_0x466934[_0x4d2ac6-0x1],_0x48c7cb=_0x466934[_0x4d2ac6],_0x4ee6dd=_0x4d2ac6;}const _0x4983f8=_0x540852[_0x5a4413(0x1ef)]==_0x48c7cb[_0x5a4413(0x1ef)],_0x20ecd7=Math[_0x5a4413(0x16d)](_0x540852[_0x5a4413(0x1ef)])<Math[_0x5a4413(0x16d)](_0x48c7cb[_0x5a4413(0x1ef)])&&0x0==_0x48c7cb[_0x5a4413(0x137)];(_0x4983f8||_0x20ecd7)&&(_0x4f2c46[_0x5a4413(0x1fd)](_0x48c7cb['id'],_0x540852['id']),_0x466934[_0x5a4413(0x259)](_0x4ee6dd,0x1),_0x4d2ac6--,_0x540852[_0x5a4413(0x1be)]=!0x1);}for(let _0xb400ed=0x0;_0xb400ed<_0x466934[_0x5a4413(0x1d2)];_0xb400ed++)_0x4f2c46[_0x5a4413(0x139)](_0x466934[_0xb400ed][_0x5a4413(0x242)])&&(_0x466934[_0xb400ed][_0x5a4413(0x242)]=_0x4f2c46[_0x5a4413(0x232)](_0x466934[_0xb400ed][_0x5a4413(0x242)]));}[_0x1b96ed(0x136)](_0x39b374){const _0x21ec81=_0x1b96ed,_0x4da979=new Set(_0x39b374[_0x21ec81(0x13d)](_0x51710f=>_0x51710f['id']));for(let _0x1dfcb1=0x0;_0x1dfcb1<_0x39b374[_0x21ec81(0x1d2)];_0x1dfcb1++)_0x4da979[_0x21ec81(0x139)](_0x39b374[_0x1dfcb1][_0x21ec81(0x242)])||0x0==_0x39b374[_0x1dfcb1][_0x21ec81(0x137)]||(_0x39b374[_0x1dfcb1][_0x21ec81(0x255)]=!0x0);return _0x39b374[_0x21ec81(0x165)](_0x2f56ed=>!_0x2f56ed[_0x21ec81(0x255)]);}[_0x1b96ed(0x172)](_0x465517){const _0x27ff72=_0x1b96ed,_0x1b50ab=new Set();for(let _0xb3eb99=0x0;_0xb3eb99<_0x465517[_0x27ff72(0x1d2)];_0xb3eb99++){if(_0x1b50ab[_0x27ff72(0x139)](_0x465517[_0xb3eb99]['id'])&&_0x465517[_0xb3eb99][_0x27ff72(0x221)]&&(_0x465517[_0xb3eb99][_0x27ff72(0x255)]=!0x0),_0x465517[_0xb3eb99][_0x27ff72(0x255)])continue;if(0x0==_0x465517[_0xb3eb99][_0x27ff72(0x137)])continue;if(_0x27ff72(0x252)!=_0x465517[_0xb3eb99][_0x27ff72(0x1e6)])continue;if(null==_0x465517[_0xb3eb99][_0x27ff72(0x242)])continue;let _0x16f6c7=_0xb3eb99+0x1,_0x243d7d=0x0;for(;_0x465517[_0x16f6c7]['id']!=_0x465517[_0xb3eb99][_0x27ff72(0x242)];)_0x27ff72(0x252)==_0x465517[_0x16f6c7][_0x27ff72(0x1e6)]?_0x243d7d++:_0x27ff72(0x236)==_0x465517[_0x16f6c7][_0x27ff72(0x1e6)]&&_0x243d7d--,_0x16f6c7++;if(0x0!=_0x243d7d){if(_0x465517[_0xb3eb99][_0x27ff72(0x221)])_0x465517[_0xb3eb99][_0x27ff72(0x255)]=!0x0;else{for(;_0x16f6c7!=_0xb3eb99;)_0x465517[_0x16f6c7][_0x27ff72(0x221)]&&0x0!=_0x465517[_0x16f6c7][_0x27ff72(0x137)]&&(_0x465517[_0x16f6c7][_0x27ff72(0x255)]=!0x0,_0x1b50ab[_0x27ff72(0x1ee)](_0x465517[_0x16f6c7][_0x27ff72(0x242)])),_0x16f6c7--;}}}return _0x465517[_0x27ff72(0x165)](_0x5af24c=>!_0x5af24c[_0x27ff72(0x255)]);}[_0x1b96ed(0x212)](_0x399c43){const _0x3ba203=_0x1b96ed,_0x2a3c87=this[_0x3ba203(0x12b)][_0x3ba203(0x223)][_0x3ba203(0x15a)];for(let _0x4986be=0x0;_0x4986be<_0x399c43[_0x3ba203(0x1d2)];_0x4986be++){if(!(_0x399c43[_0x4986be][_0x3ba203(0x1be)]||_0x399c43[_0x4986be][_0x3ba203(0x14b)]||_0x399c43[_0x4986be][_0x3ba203(0x221)]||_0x399c43[_0x4986be][_0x3ba203(0x173)]))continue;if(0x0==_0x399c43[_0x4986be][_0x3ba203(0x137)])continue;const _0x5abbb6=_0x399c43[_0x4986be][_0x3ba203(0x239)];_0x2a3c87[_0x3ba203(0x1fe)](_0x5abbb6)||_0x2a3c87[_0x3ba203(0x1f2)](_0x5abbb6)||(_0x399c43[_0x4986be][_0x3ba203(0x1be)]&&delete _0x399c43[_0x4986be][_0x3ba203(0x1be)],_0x399c43[_0x4986be][_0x3ba203(0x14b)]&&delete _0x399c43[_0x4986be][_0x3ba203(0x14b)],_0x399c43[_0x4986be][_0x3ba203(0x173)]&&delete _0x399c43[_0x4986be][_0x3ba203(0x173)],_0x399c43[_0x4986be][_0x3ba203(0x221)]&&(_0x399c43[_0x4986be][_0x3ba203(0x255)]=!0x0));}return _0x399c43[_0x3ba203(0x165)](_0x38d47f=>!_0x38d47f[_0x3ba203(0x255)]);}[_0x1b96ed(0x206)](_0x4fd3df,_0x4b78f8,_0x5de47a){const _0x3b8fe2=_0x1b96ed,_0x507605=new _0x2fef33(),_0x377470=[],_0x54452e=new Map(),_0x336b86=this[_0x3b8fe2(0x12b)][_0x3b8fe2(0x223)],_0xe0d725=_0x336b86[_0x3b8fe2(0x15a)],_0x5f264f=[_0x507605],_0x265aac={},_0x2d81d5={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5b8c36=null;const _0x48e75c=[0x0];for(let _0x202aff=0x0;_0x202aff<_0x4fd3df[_0x3b8fe2(0x1d2)];_0x202aff++){let _0x3fa6aa,_0x7c9e9a;if(_0x3b8fe2(0x252)===_0x4fd3df[_0x202aff][_0x3b8fe2(0x1e6)]){_0x3fa6aa=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c);const _0x570a55=new _0x1fd6ec(_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x20e)],_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x1d7)]());_0x5f264f[0x0][_0x3b8fe2(0x217)](_0x570a55),_0x48e75c[_0x3b8fe2(0x211)](0x0),_0x5f264f[_0x3b8fe2(0x1eb)](_0x570a55),_0x7c9e9a=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x5b8c36=null;}else{if(_0x3b8fe2(0x236)===_0x4fd3df[_0x202aff][_0x3b8fe2(0x1e6)])_0x5f264f[_0x3b8fe2(0x1ab)](),_0x3fa6aa=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x48e75c[_0x3b8fe2(0x135)](),_0x48e75c[_0x48e75c[_0x3b8fe2(0x1d2)]-0x1]++,_0x7c9e9a=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x5b8c36=null;else{if(_0x3fa6aa=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x5b8c36&&_0xf67ca8(_0x5b8c36,_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)]))_0x5b8c36[_0x3b8fe2(0x17b)]+=_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x189)];else{const _0x172832=new _0x26f928(_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x189)],_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x1d7)]());_0x5f264f[0x0][_0x3b8fe2(0x217)](_0x172832),_0x5b8c36=_0x172832;}_0x48e75c[_0x48e75c[_0x3b8fe2(0x1d2)]-0x1]+=_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x23d)],_0x7c9e9a=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c);}}for(const _0x331d73 of _0x4fd3df[_0x202aff][_0x3b8fe2(0x210)])_0x54452e[_0x3b8fe2(0x1fd)](_0x331d73,{'start':_0x3fa6aa,'end':null});_0x50853a(_0x3b8fe2(0x173),_0x202aff,_0x3fa6aa,_0x7c9e9a),_0x50853a(_0x3b8fe2(0x14b),_0x202aff,_0x3fa6aa,_0x7c9e9a),_0x50853a(_0x3b8fe2(0x221),_0x202aff,_0x3fa6aa,_0x7c9e9a),_0x50853a(_0x3b8fe2(0x1be),_0x202aff,_0x3fa6aa,_0x7c9e9a);for(const _0x209204 of _0x4fd3df[_0x202aff][_0x3b8fe2(0x1a6)]){_0x54452e[_0x3b8fe2(0x232)](_0x209204)[_0x3b8fe2(0x208)]=_0x7c9e9a;}}for(const [_0x42296e,_0x3b07d2]of _0x54452e){const _0x5619c3=this[_0x3b8fe2(0x12b)][_0x3b8fe2(0x223)][_0x3b8fe2(0x142)](_0x3b07d2[_0x3b8fe2(0x152)],_0x3b07d2[_0x3b8fe2(0x208)]);_0x507605[_0x3b8fe2(0x14c)][_0x3b8fe2(0x1fd)](_0x42296e,_0x5619c3);}return _0x377470[_0x3b8fe2(0x268)]((_0x280610,_0x295887)=>{const _0x23de5a=_0x3b8fe2,_0x3e59de=_0x507605[_0x23de5a(0x14c)][_0x23de5a(0x232)](_0x23de5a(0x241)+_0x280610['id']),_0x44f1bb=_0x507605[_0x23de5a(0x14c)][_0x23de5a(0x232)](_0x23de5a(0x241)+_0x295887['id']);return _0x3e59de[_0x23de5a(0x152)][_0x23de5a(0x235)](_0x44f1bb[_0x23de5a(0x152)])?-0x1:_0x3e59de[_0x23de5a(0x152)][_0x23de5a(0x230)](_0x44f1bb[_0x23de5a(0x152)])?0x1:_0x3e59de[_0x23de5a(0x208)][_0x23de5a(0x235)](_0x44f1bb[_0x23de5a(0x208)])?-0x1:_0x3e59de[_0x23de5a(0x208)][_0x23de5a(0x230)](_0x44f1bb[_0x23de5a(0x208)])?0x1:_0x23de5a(0x1ee)===_0x280610[_0x23de5a(0x1e6)]?-0x1:0x1;}),{'root':_0x507605,'changes':_0x377470};function _0x50853a(_0x589c6d,_0xbd7962,_0x2ccd6f,_0x4eef09){const _0xdec18e=_0x3b8fe2,_0x323ad5=!!_0x4fd3df[_0xbd7962][_0x589c6d],_0x4db1ea=_0x323ad5?_0x4fd3df[_0xbd7962][_0x589c6d][_0xdec18e(0x132)]:null,_0x3ef3bb=_0xbd7962===_0x4fd3df[_0xdec18e(0x1d2)]-0x1,_0x2877a5=_0x2d81d5[_0x589c6d][0x0],_0x2ce624=_0xe0d725[_0xdec18e(0x17d)](_0x4fd3df[_0xbd7962][_0xdec18e(0x239)]);!_0x265aac[_0x589c6d]&&_0x323ad5?_0x265aac[_0x589c6d]={'start':_0x2ccd6f,'tapeItem':_0x4fd3df[_0xbd7962],'userId':_0x4db1ea,'type':_0x589c6d}:_0x265aac[_0x589c6d]&&!_0x323ad5?(_0x265aac[_0x589c6d][_0xdec18e(0x208)]=_0x2ccd6f,_0x115bdd(_0x265aac[_0x589c6d]),_0x265aac[_0x589c6d]=null):_0x265aac[_0x589c6d]&&_0x323ad5&&_0x265aac[_0x589c6d][_0xdec18e(0x132)]!==_0x4db1ea&&(_0x265aac[_0x589c6d][_0xdec18e(0x208)]=_0x2ccd6f,_0x2877a5&&_0x2877a5[_0xdec18e(0x132)]===_0x265aac[_0x589c6d][_0xdec18e(0x132)]||_0x115bdd(_0x265aac[_0x589c6d]),_0x265aac[_0x589c6d]={'start':_0x2ccd6f,'tapeItem':_0x4fd3df[_0xbd7962],'userId':_0x4db1ea,'type':_0x589c6d}),_0x265aac[_0x589c6d]&&_0x2ce624&&(_0xdec18e(0x252)!==_0x4fd3df[_0xbd7962][_0xdec18e(0x1e6)]||_0x2877a5&&_0x2877a5[_0xdec18e(0x132)]===_0x4db1ea||_0x2d81d5[_0x589c6d][_0xdec18e(0x1eb)]({'userId':_0x4db1ea,'object':_0x4fd3df[_0xbd7962][_0xdec18e(0x239)],'change':_0x265aac[_0x589c6d]}),_0xdec18e(0x236)===_0x4fd3df[_0xbd7962][_0xdec18e(0x1e6)]&&_0x2877a5&&_0x2877a5[_0xdec18e(0x146)]===_0x4fd3df[_0xbd7962][_0xdec18e(0x239)]&&(_0x2d81d5[_0x589c6d][_0xdec18e(0x1ab)](),_0x265aac[_0x589c6d]=_0x2877a5[_0xdec18e(0x1f8)])),_0x265aac[_0x589c6d]&&_0x3ef3bb&&(_0x265aac[_0x589c6d][_0xdec18e(0x208)]=_0x4eef09,_0x115bdd(_0x265aac[_0x589c6d]),_0x265aac[_0x589c6d]=null);}function _0x115bdd({start:_0x59cd0e,end:_0x240867,tapeItem:_0x5c1693,userId:_0x47bb75,type:_0x22630c}){const _0x1460a8=_0x3b8fe2,_0x473abe=_0x5c1693[_0x1460a8(0x239)],_0x56c9bd=_0x336b86[_0x1460a8(0x15a)][_0x1460a8(0x1fe)](_0x473abe)&&!_0x336b86[_0x1460a8(0x15a)][_0x1460a8(0x1f2)](_0x473abe),_0x5e321d=_0x59cd0e[_0x1460a8(0x1e4)]==_0x240867[_0x1460a8(0x1d4)]&&_0x240867[_0x1460a8(0x1fb)];if(_0x56c9bd&&_0x5e321d)return;const _0x49592e=_0x336b86[_0x1460a8(0x142)](_0x59cd0e,_0x240867),_0x4d1e0f=_0x4b78f8[_0x1460a8(0x232)](_0x47bb75),_0xdf4c01=new _0x880468({'author':_0x4d1e0f,'type':_0x1460a8(0x1be)==_0x22630c||_0x1460a8(0x14b)==_0x22630c?_0x1460a8(0x1ee):_0x1460a8(0x1da),'data':{'isSuggestion':_0x1460a8(0x14b)==_0x22630c||_0x1460a8(0x173)==_0x22630c},'createdAt':new Date(),'rootName':_0x5de47a});_0x377470[_0x1460a8(0x211)](_0xdf4c01),_0x507605[_0x1460a8(0x14c)][_0x1460a8(0x1fd)](_0x1460a8(0x241)+_0xdf4c01['id'],_0x49592e);}function _0xf67ca8(_0x3db921,_0x34befc){const _0x1d7416=_0x3b8fe2,_0x593de8=_0x3db921[_0x1d7416(0x1d7)](),_0x3c9f92=_0x34befc[_0x1d7416(0x1d7)]();for(const _0x1a5345 of _0x593de8){if(_0x1a5345[0x1]!==_0x34befc[_0x1d7416(0x157)](_0x1a5345[0x0]))return!0x1;_0x3c9f92[_0x1d7416(0x1cd)]();}return _0x3c9f92[_0x1d7416(0x1cd)]()[_0x1d7416(0x1bb)];}}[_0x1b96ed(0x1f1)](){const _0x501198=_0x1b96ed;this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x25b)]({'view':_0x501198(0x19b)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x16f))[_0x501198(0x1ea)]({'model':_0x501198(0x19b),'view':_0x4d6926=>{const _0x2b1dee=_0x501198,_0x4e06d1=_0x4d6926[_0x2b1dee(0x249)][_0x2b1dee(0x191)](':')[0x1],_0x204ac4=this[_0x2b1dee(0x21f)](_0x4e06d1);if(!_0x204ac4)return null;const _0x558fc8=_0x2b1dee(0x1ee)==_0x204ac4[_0x2b1dee(0x1e6)]?_0x2b1dee(0x1a0):_0x2b1dee(0x1d1),_0x3a120e=[_0x2b1dee(0x19a),_0x2b1dee(0x1dc)+_0x558fc8];return _0x204ac4[_0x2b1dee(0x189)][_0x2b1dee(0x1c4)]&&_0x3a120e[_0x2b1dee(0x211)](_0x2b1dee(0x1dc)+_0x558fc8+_0x2b1dee(0x143)),this[_0x2b1dee(0x1f0)]==_0x204ac4&&_0x3a120e[_0x2b1dee(0x211)](_0x2b1dee(0x138)),{'classes':_0x3a120e,'attributes':{'data-change-id':_0x4e06d1}};}}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x1ee)](_0x554a70=>{const _0x377cc6=_0x501198;_0x554a70['on'](_0x377cc6(0x1e7),(_0x164a42,_0x200ee8,_0x32d03d)=>{const _0x139360=_0x377cc6,_0x226ebf=_0x200ee8[_0x139360(0x1d3)][_0x139360(0x1e1)](0x0);if(!_0x226ebf||!_0x226ebf['is'](_0x139360(0x1ba),_0x139360(0x22f)))return;if(!_0x32d03d[_0x139360(0x1f6)][_0x139360(0x123)](_0x226ebf,{'attributes':[_0x139360(0x1cc),_0x139360(0x1f7)]}))return;const _0x1c7e1f=_0x200ee8[_0x139360(0x23c)][_0x139360(0x152)][_0x139360(0x1e4)];_0x32d03d[_0x139360(0x237)][_0x139360(0x1ac)](_0x139360(0x1cc),_0x226ebf[_0x139360(0x157)](_0x139360(0x1cc)),_0x1c7e1f),_0x32d03d[_0x139360(0x237)][_0x139360(0x1ac)](_0x139360(0x1f7),_0x226ebf[_0x139360(0x157)](_0x139360(0x1f7)),_0x1c7e1f);},{'priority':_0x377cc6(0x1a1)});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x1ee)](_0x47f3f2=>{const _0x55086e=_0x501198;_0x47f3f2['on'](_0x55086e(0x1ba),(_0xd425e2,_0xba6200,_0x155d93)=>{const _0xe1cc=_0x55086e;if(!_0x155d93[_0xe1cc(0x1f6)][_0xe1cc(0x123)](_0xba6200[_0xe1cc(0x1d3)],{'attributes':[_0xe1cc(0x1cc),_0xe1cc(0x1f7)]}))return;if(_0xba6200[_0xe1cc(0x23c)][_0xe1cc(0x21a)])return;const _0x4527d7=_0xba6200[_0xe1cc(0x23c)][_0xe1cc(0x152)][_0xe1cc(0x1e4)];_0x4527d7[_0xe1cc(0x1e5)](_0xe1cc(0x1cc))||_0x4527d7[_0xe1cc(0x1e5)](_0xe1cc(0x181))||(_0x155d93[_0xe1cc(0x237)][_0xe1cc(0x1ac)](_0xe1cc(0x1cc),_0xba6200[_0xe1cc(0x1d3)][_0xe1cc(0x157)](_0xe1cc(0x1cc)),_0x4527d7),_0x155d93[_0xe1cc(0x237)][_0xe1cc(0x1ac)](_0xe1cc(0x1f7),_0xba6200[_0xe1cc(0x1d3)][_0xe1cc(0x157)](_0xe1cc(0x1f7)),_0x4527d7));},{'priority':_0x55086e(0x1a1)});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x1b1)]({'view':{'name':_0x501198(0x245),'attributes':{'vid':!0x0}},'model':{'key':_0x501198(0x181),'value':_0x5d57de=>_0x5d57de[_0x501198(0x157)](_0x501198(0x181))}}),this[_0x501198(0x12b)][_0x501198(0x223)][_0x501198(0x15a)]['on'](_0x501198(0x1bd),(_0x1b5259,[,_0x4e24a7])=>{const _0x95659c=_0x501198;[_0x95659c(0x1cc),_0x95659c(0x1f7),_0x95659c(0x181)][_0x95659c(0x250)](_0x4e24a7)&&(_0x1b5259[_0x95659c(0x160)]=!0x0,_0x1b5259[_0x95659c(0x149)]());},{'priority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1b2))[_0x501198(0x1ee)](_0x5446f2=>{const _0x41b292=_0x501198;_0x5446f2['on'](_0x41b292(0x18e),(_0x548527,_0x668011,_0xf01256)=>{const _0x20c25e=_0x41b292;if('\x20'!=_0x668011[_0x20c25e(0x239)][_0x20c25e(0x189)]||_0x668011[_0x20c25e(0x239)][_0x20c25e(0x1d4)][_0x20c25e(0x244)]>0x1)return;if(!_0xf01256[_0x20c25e(0x1f6)][_0x20c25e(0x123)](_0x668011[_0x20c25e(0x239)],_0x548527[_0x20c25e(0x20e)]))return;const _0x1406e3=_0xf01256[_0x20c25e(0x237)],_0x423a45=_0xf01256[_0x20c25e(0x18a)][_0x20c25e(0x194)](_0x668011[_0x20c25e(0x177)]);_0x1406e3[_0x20c25e(0x18d)](_0x423a45,_0x1406e3[_0x20c25e(0x1ec)](_0x20c25e(0x245)));});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1b2))[_0x501198(0x222)]({'model':_0x501198(0x19b)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x14f),function(_0x500e5d){const _0x3cefeb=_0x501198,_0x29edfd=_0x500e5d[_0x3cefeb(0x1c2)][_0x3cefeb(0x232)](_0x3cefeb(0x1b0));return(_0xcc6a62,_0x599653,_0x120202)=>{const _0x50bd38=_0x3cefeb,_0x16ac09=_0x599653[_0x50bd38(0x249)][_0x50bd38(0x191)](':')[0x1],_0x3652da=_0x29edfd[_0x50bd38(0x21f)](_0x16ac09);if(!_0x3652da)return null;const _0x57aa06=_0x50bd38(0x1ee)==_0x3652da[_0x50bd38(0x1e6)]?_0x50bd38(0x191):_0x50bd38(0x14e);if(!_0x120202[_0x50bd38(0x1f6)][_0x50bd38(0x1bf)](_0x599653[_0x50bd38(0x254)],_0xcc6a62[_0x50bd38(0x20e)]))return;const _0x491b87=_0x599653[_0x50bd38(0x254)][_0x50bd38(0x167)](),_0x2d7345=_0x599653[_0x50bd38(0x254)][_0x50bd38(0x152)],_0x1df328=_0x500e5d[_0x50bd38(0x223)][_0x50bd38(0x15a)];let _0x547585=null,_0x4d318f=null,_0x277c62=!0x1,_0x3a369a=!0x1;for(const _0x527662 of _0x491b87){const _0x3da981=_0x527662[_0x50bd38(0x239)];_0x277c62=_0x277c62||_0x1df328[_0x50bd38(0x218)](_0x3da981);const _0x135379=_0x120202[_0x50bd38(0x18a)][_0x50bd38(0x23f)](_0x3da981);if(_0x135379&&_0x135379[_0x50bd38(0x226)](_0x50bd38(0x155)))return;_0x50bd38(0x236)==_0x527662[_0x50bd38(0x1e6)]&&(_0x1df328[_0x50bd38(0x1fe)](_0x3da981)&&!_0x1df328[_0x50bd38(0x1f2)](_0x3da981)&&(_0x3da981[_0x50bd38(0x151)]||_0x2d7345[_0x50bd38(0x171)]?_0x547585&&_0x547585[_0x50bd38(0x1d4)]==_0x3da981||(_0x547585=_0x3da981,_0x41ba47(_0x527662[_0x50bd38(0x17f)]),_0x3a369a=!0x0):_0x4d318f=_0x4d318f||_0x527662[_0x50bd38(0x17f)]));}function _0x41ba47(_0x4bcf81){const _0x502ea5=_0x50bd38,_0x1fcde5=_0x120202[_0x502ea5(0x237)][_0x502ea5(0x17c)](_0x502ea5(0x245),{'class':_0x502ea5(0x1dc)+_0x57aa06}),_0x3ba45d=_0x120202[_0x502ea5(0x18a)][_0x502ea5(0x133)](_0x4bcf81);_0x3652da[_0x502ea5(0x189)][_0x502ea5(0x1c4)]&&_0x120202[_0x502ea5(0x237)][_0x502ea5(0x201)](_0x502ea5(0x1dc)+_0x57aa06+_0x502ea5(0x143),_0x1fcde5),_0x29edfd[_0x502ea5(0x1f0)]==_0x3652da&&_0x120202[_0x502ea5(0x237)][_0x502ea5(0x201)](_0x502ea5(0x138),_0x1fcde5),_0x120202[_0x502ea5(0x237)][_0x502ea5(0x21d)](_0x3ba45d,_0x1fcde5),_0x120202[_0x502ea5(0x18a)][_0x502ea5(0x169)](_0x1fcde5,_0x599653[_0x502ea5(0x249)]);}_0x277c62||_0x3a369a||!_0x4d318f||_0x41ba47(_0x4d318f);};}(this[_0x501198(0x12b)]),{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x199),(_0x2cc0f8,_0x59f4bc,_0x12611f)=>{const _0x3f7866=_0x501198,_0x3faaed=_0x12611f[_0x3f7866(0x18a)][_0x3f7866(0x1c5)](_0x59f4bc[_0x3f7866(0x249)]);if(_0x3faaed){for(const _0x338617 of _0x3faaed)(_0x338617[_0x3f7866(0x1a4)](_0x3f7866(0x153))||_0x338617[_0x3f7866(0x1a4)](_0x3f7866(0x24d)))&&(_0x12611f[_0x3f7866(0x18a)][_0x3f7866(0x231)](_0x338617,_0x59f4bc[_0x3f7866(0x249)]),_0x12611f[_0x3f7866(0x237)][_0x3f7866(0x1da)](_0x338617));}},{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x14f),(_0x29a037,_0x1ac144,_0x262b48)=>{const _0x5a3199=_0x501198,_0x1589a0=_0x1ac144[_0x5a3199(0x249)][_0x5a3199(0x191)](':')[0x1],_0x2996d2=this[_0x5a3199(0x21f)](_0x1589a0);if(!_0x2996d2)return null;const _0x280549=_0x5a3199(0x1ee)==_0x2996d2[_0x5a3199(0x1e6)]?_0x5a3199(0x191):_0x5a3199(0x14e);if(_0x262b48[_0x5a3199(0x1f6)][_0x5a3199(0x1bf)](_0x1ac144[_0x5a3199(0x254)],_0x29a037[_0x5a3199(0x20e)]))for(const _0x478452 of _0x1ac144[_0x5a3199(0x254)][_0x5a3199(0x200)]()){if(!_0x478452['is'](_0x5a3199(0x1ba),_0x5a3199(0x183)))continue;const _0x379ba5=_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x17c)](_0x5a3199(0x245),{'class':_0x5a3199(0x1dc)+_0x280549}),_0x4b5f44=_0x262b48[_0x5a3199(0x18a)][_0x5a3199(0x133)](this[_0x5a3199(0x12b)][_0x5a3199(0x223)][_0x5a3199(0x13c)](_0x478452));_0x2996d2[_0x5a3199(0x189)][_0x5a3199(0x1c4)]&&_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x201)](_0x5a3199(0x1dc)+_0x280549+_0x5a3199(0x143),_0x379ba5),this[_0x5a3199(0x1f0)]==_0x2996d2&&_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x201)](_0x5a3199(0x138),_0x379ba5),_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x21d)](_0x4b5f44,_0x379ba5),_0x262b48[_0x5a3199(0x18a)][_0x5a3199(0x169)](_0x379ba5,_0x1ac144[_0x5a3199(0x249)]);}},{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x223)][_0x501198(0x18f)]['on'](_0x501198(0x1f8),()=>{const _0x39a9d2=_0x501198;this[_0x39a9d2(0x12b)][_0x39a9d2(0x229)][_0x39a9d2(0x262)][_0x39a9d2(0x1f8)](_0x361bf8=>{const _0x58adb5=_0x39a9d2;for(const _0x2700de of this[_0x58adb5(0x12b)][_0x58adb5(0x223)][_0x58adb5(0x18f)][_0x58adb5(0x202)]()){const _0x424695=this[_0x58adb5(0x12b)][_0x58adb5(0x223)][_0x58adb5(0x18f)][_0x58adb5(0x124)](_0x2700de),_0x4e3475=this[_0x58adb5(0x12b)][_0x58adb5(0x229)][_0x58adb5(0x262)][_0x58adb5(0x18f)][_0x58adb5(0x124)](_0x2700de);if(_0x4e3475){const _0x119e69=_0x424695[_0x58adb5(0x157)](_0x58adb5(0x1e2));if(_0x361bf8[_0x58adb5(0x25d)](_0x58adb5(0x19d),_0x4e3475),_0x361bf8[_0x58adb5(0x14a)](_0x58adb5(0x15b),_0x4e3475),_0x361bf8[_0x58adb5(0x14a)](_0x58adb5(0x190),_0x4e3475),_0x361bf8[_0x58adb5(0x14a)](_0x58adb5(0x159),_0x4e3475),_0x119e69){const _0x4288e1=this[_0x58adb5(0x21f)](_0x119e69);if(!_0x4288e1)return null;_0x361bf8[_0x58adb5(0x1ac)](_0x58adb5(0x19d),_0x119e69,_0x4e3475),_0x361bf8[_0x58adb5(0x201)](_0x58adb5(0x1df)+_0x4288e1[_0x58adb5(0x1e6)],_0x4e3475),this[_0x58adb5(0x1f0)]==_0x4288e1&&_0x361bf8[_0x58adb5(0x201)](_0x58adb5(0x159),_0x4e3475);}}}});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x25b)]({'view':_0x501198(0x1d5),'model':_0x3b025d=>_0x501198(0x248)+_0x3b025d,'converterPriority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x25b)]({'view':_0x501198(0x134),'model':_0x356b3f=>_0x501198(0x23e)+_0x356b3f,'converterPriority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1b2))[_0x501198(0x222)]({'model':_0x501198(0x20d),'view':_0x41f744=>({'name':_0x501198(0x1d9)+_0x41f744,'group':_0x501198(0x20d)}),'converterPriority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x16f))[_0x501198(0x1ea)]({'model':_0x501198(0x20d),'view':_0x141d2c=>{const _0x1515f1=_0x501198,_0x5dd8b5=_0x141d2c[_0x1515f1(0x249)][_0x1515f1(0x191)](':')[0x1];return _0x1515f1(0x1a0)!=_0x5dd8b5&&_0x1515f1(0x1d1)!=_0x5dd8b5?null:{'classes':[_0x1515f1(0x122),_0x1515f1(0x24e)+_0x5dd8b5]};}}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x1f3),et(this[_0x501198(0x12b)],_0x501198(0x14e)),{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x24a),et(this[_0x501198(0x12b)],_0x501198(0x191)),{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x11c),(_0x53b217,_0x3670f1,_0x2d13a3)=>{const _0x122dee=_0x501198,_0x2d4cdf=_0x2d13a3[_0x122dee(0x18a)][_0x122dee(0x1c5)](_0x3670f1[_0x122dee(0x249)]);if(_0x2d4cdf){for(const _0x2acb31 of _0x2d4cdf)_0x2acb31['is'](_0x122dee(0x24b))&&(_0x2d13a3[_0x122dee(0x18a)][_0x122dee(0x231)](_0x2acb31,_0x3670f1[_0x122dee(0x249)]),_0x2d13a3[_0x122dee(0x237)][_0x122dee(0x1da)](_0x2acb31));}},{'priority':_0x501198(0x16c)});}[_0x1b96ed(0x21f)](_0x52b395){const _0x4f7a1d=_0x1b96ed;return this[_0x4f7a1d(0x1e9)][_0x4f7a1d(0x232)](_0x52b395);}[_0x1b96ed(0x195)](_0x3278d2){const _0xb56347=_0x1b96ed;return this[_0xb56347(0x265)]&&this[_0xb56347(0x265)][_0xb56347(0x257)](),this[_0xb56347(0x265)]=new _0x455ae0(this[_0xb56347(0x12b)][_0xb56347(0x1f4)],_0x3278d2),this[_0xb56347(0x265)];}[_0x1b96ed(0x147)](){const _0x203dc6=_0x1b96ed;this[_0x203dc6(0x12b)][_0x203dc6(0x223)][_0x203dc6(0x18f)][_0x203dc6(0x16b)][_0x203dc6(0x1fa)](_0x203dc6(0x19b)),this['on'](_0x203dc6(0x1fc),(_0x36d600,_0x44937c,_0x5e3f2e,_0x184cca)=>{const _0x3a240f=_0x203dc6;_0x184cca&&this[_0x3a240f(0x150)][_0x3a240f(0x1da)](_0x184cca),_0x5e3f2e&&(this[_0x3a240f(0x150)][_0x3a240f(0x1ee)]({'view':_0x5e3f2e,'stackId':_0x3a240f(0x1e3),'position':{'target':()=>{const _0x5672cd=_0x3a240f,_0x400a3c=this[_0x5672cd(0x12b)][_0x5672cd(0x229)],_0x56aa6a=this[_0x5672cd(0x21f)](_0x5e3f2e[_0x5672cd(0x11e)]);let _0x733fb9;if(_0x56aa6a[_0x5672cd(0x189)][_0x5672cd(0x11f)]){const _0x35325a=_0x400a3c[_0x5672cd(0x262)][_0x5672cd(0x256)](_0x56aa6a[_0x5672cd(0x23b)]);_0x733fb9=Array[_0x5672cd(0x22d)](_0x35325a[_0x5672cd(0x15c)]());}else{const _0x6e97c5=this[_0x5672cd(0x12b)][_0x5672cd(0x223)][_0x5672cd(0x14c)][_0x5672cd(0x232)](_0x5672cd(0x241)+_0x5e3f2e[_0x5672cd(0x11e)]);_0x733fb9=Array[_0x5672cd(0x22d)](_0x400a3c[_0x5672cd(0x18a)][_0x5672cd(0x1c5)](_0x6e97c5[_0x5672cd(0x20e)]))[_0x5672cd(0x13d)](_0x23a29f=>_0x400a3c[_0x5672cd(0x262)][_0x5672cd(0x1de)][_0x5672cd(0x260)](_0x23a29f))[_0x5672cd(0x13d)](_0x392679=>Array[_0x5672cd(0x22d)](_0x392679[_0x5672cd(0x15c)]()))[_0x5672cd(0x238)]();}if(!this[_0x5672cd(0x126)])return _0x733fb9[0x0];return _0x733fb9[_0x5672cd(0x209)](_0x113d51=>_0x113d51[_0x5672cd(0x187)]-0x3<=this[_0x5672cd(0x126)]['y']&&_0x113d51[_0x5672cd(0x13b)]+0x3>=this[_0x5672cd(0x126)]['y']&&_0x113d51[_0x5672cd(0x205)]-0x3<=this[_0x5672cd(0x126)]['x']&&_0x113d51[_0x5672cd(0x225)]+0x3>=this[_0x5672cd(0x126)]['x'])||_0x733fb9[0x0];}}}),this[_0x3a240f(0x150)][_0x3a240f(0x1c8)](_0x3a240f(0x1e3)));}),this['on'](_0x203dc6(0x17e),(_0x2a6e9f,_0x1130fb,_0x2aaa29,_0x56ae43)=>{const _0x2fb4cc=_0x203dc6;this[_0x2fb4cc(0x20c)]=_0x2aaa29?this[_0x2fb4cc(0x195)](_0x2aaa29):null,this[_0x2fb4cc(0x12b)][_0x2fb4cc(0x223)][_0x2fb4cc(0x1f8)](()=>{const _0x178560=_0x2fb4cc,_0x2ac835=this[_0x178560(0x12b)][_0x178560(0x229)];_0x56ae43&&(_0x56ae43[_0x178560(0x189)][_0x178560(0x11f)]?_0x2ac835[_0x178560(0x262)][_0x178560(0x1f8)](_0x55df7a=>{const _0x5a7358=_0x178560;_0x55df7a[_0x5a7358(0x14a)](_0x5a7358(0x159),_0x2ac835[_0x5a7358(0x262)][_0x5a7358(0x18f)][_0x5a7358(0x124)](_0x56ae43[_0x5a7358(0x23b)]));}):_0x2ac835[_0x178560(0x175)](_0x178560(0x241)+_0x56ae43['id'])),_0x2aaa29&&(_0x2aaa29[_0x178560(0x189)][_0x178560(0x11f)]?_0x2ac835[_0x178560(0x262)][_0x178560(0x1f8)](_0x4a7474=>{const _0x2aab18=_0x178560;_0x4a7474[_0x2aab18(0x201)](_0x2aab18(0x159),_0x2ac835[_0x2aab18(0x262)][_0x2aab18(0x18f)][_0x2aab18(0x124)](_0x2aaa29[_0x2aab18(0x23b)]));}):_0x2ac835[_0x178560(0x175)](_0x178560(0x241)+_0x2aaa29['id']));});}),this[_0x203dc6(0x15e)](this[_0x203dc6(0x12b)][_0x203dc6(0x229)][_0x203dc6(0x262)][_0x203dc6(0x18f)],_0x203dc6(0x185),(_0x54cb6f,_0x1107a1)=>{const _0x5293d3=_0x203dc6;if(this[_0x5293d3(0x1f0)])return;const _0x13725c=this[_0x5293d3(0x23a)](_0x1107a1[_0x5293d3(0x127)]),_0x49b0b6=this[_0x5293d3(0x1e9)][_0x5293d3(0x232)](_0x13725c);_0x49b0b6?(this[_0x5293d3(0x126)]={'x':_0x1107a1[_0x5293d3(0x1a8)]['x'],'y':_0x1107a1[_0x5293d3(0x1a8)]['y']},this[_0x5293d3(0x20c)]=this[_0x5293d3(0x195)](_0x49b0b6)):(this[_0x5293d3(0x126)]=null,this[_0x5293d3(0x20c)]=null);}),this[_0x203dc6(0x15e)](this[_0x203dc6(0x12b)][_0x203dc6(0x229)][_0x203dc6(0x262)][_0x203dc6(0x18f)],_0x203dc6(0x1aa),(_0x4e5b5b,_0x333d07)=>{const _0x3147f5=_0x203dc6,_0x3c3949=this[_0x3147f5(0x23a)](_0x333d07[_0x3147f5(0x127)]),_0xdb174c=this[_0x3147f5(0x1e9)][_0x3147f5(0x232)](_0x3c3949);_0xdb174c?(this[_0x3147f5(0x126)]={'x':_0x333d07[_0x3147f5(0x1a8)]['x'],'y':_0x333d07[_0x3147f5(0x1a8)]['y']},_0xdb174c===this[_0x3147f5(0x1f0)]?this[_0x3147f5(0x150)][_0x3147f5(0x192)]():this[_0x3147f5(0x1f0)]=_0xdb174c):(this[_0x3147f5(0x126)]=null,this[_0x3147f5(0x1f0)]=null);});}[_0x1b96ed(0x23a)](_0x38517d){const _0x2e9483=_0x1b96ed;do{const _0x5eb4af=_0x38517d[_0x2e9483(0x157)](_0x2e9483(0x19d));if(_0x5eb4af)return _0x5eb4af;_0x38517d=_0x38517d[_0x2e9483(0x1d4)];}while(_0x38517d);return null;}[_0x1b96ed(0x1c0)](){const _0x5577d6=_0x1b96ed;this[_0x5577d6(0x12b)][_0x5577d6(0x223)][_0x5577d6(0x1f8)](_0x34ecbd=>{const _0x423be5=_0x5577d6;for(const _0x20b837 of this[_0x423be5(0x12b)][_0x423be5(0x223)][_0x423be5(0x14c)])_0x34ecbd[_0x423be5(0x25e)](_0x20b837);});}}function et(_0x4c4962,_0x52c811){return(_0x3a6753,_0x3d20dd,_0x33a835)=>{const _0x46e631=_0x2c46;if(!_0x33a835[_0x46e631(0x1f6)][_0x46e631(0x1bf)](_0x3d20dd[_0x46e631(0x254)],_0x3a6753[_0x46e631(0x20e)]))return;const _0x32a6e0=_0x3d20dd[_0x46e631(0x254)][_0x46e631(0x167)](),_0x475cd1=_0x3d20dd[_0x46e631(0x254)][_0x46e631(0x152)],_0x1d816b=_0x4c4962[_0x46e631(0x223)][_0x46e631(0x15a)];let _0x5c2a02=null,_0x5d1d88=null,_0x4bf03f=!0x1,_0x21b671=!0x1;for(const _0x53bd60 of _0x32a6e0){const _0x2597db=_0x53bd60[_0x46e631(0x239)];_0x4bf03f=_0x4bf03f||_0x1d816b[_0x46e631(0x218)](_0x2597db);const _0x38276a=_0x33a835[_0x46e631(0x18a)][_0x46e631(0x23f)](_0x2597db);if(_0x38276a&&_0x38276a[_0x46e631(0x226)](_0x46e631(0x155)))return;_0x46e631(0x236)==_0x53bd60[_0x46e631(0x1e6)]&&(_0x1d816b[_0x46e631(0x1fe)](_0x2597db)&&!_0x1d816b[_0x46e631(0x1f2)](_0x2597db)&&(_0x2597db[_0x46e631(0x151)]||_0x475cd1[_0x46e631(0x171)]?_0x5c2a02&&_0x5c2a02[_0x46e631(0x1d4)]==_0x2597db||(_0x5c2a02=_0x2597db,_0x38cab9(_0x53bd60[_0x46e631(0x17f)]),_0x21b671=!0x0):_0x5d1d88=_0x5d1d88||_0x53bd60[_0x46e631(0x17f)]));}function _0x38cab9(_0x24721b){const _0x2c21cf=_0x46e631,_0x43b69e=_0x33a835[_0x2c21cf(0x18a)][_0x2c21cf(0x133)](_0x24721b),_0x44fb95=_0x33a835[_0x2c21cf(0x237)][_0x2c21cf(0x17c)](_0x2c21cf(0x245),{'class':_0x2c21cf(0x24e)+_0x52c811});_0x33a835[_0x2c21cf(0x237)][_0x2c21cf(0x21d)](_0x43b69e,_0x44fb95),_0x33a835[_0x2c21cf(0x18a)][_0x2c21cf(0x169)](_0x44fb95,_0x3d20dd[_0x2c21cf(0x249)]);}_0x4bf03f||_0x21b671||!_0x5d1d88||_0x38cab9(_0x5d1d88);};}export class RestoreRevisionCommand extends _0x2abe37{constructor(_0x1c8048){const _0x390757=_0x1b96ed;super(_0x1c8048);const _0x414904=_0x1c8048[_0x390757(0x1c2)][_0x390757(0x232)](d);this[_0x390757(0x253)]=!0x1,this[_0x390757(0x15e)](_0x414904,_0x390757(0x1ff),()=>this[_0x390757(0x25a)]()),this[_0x390757(0x15e)](_0x414904,_0x390757(0x140),()=>this[_0x390757(0x25a)]());}[_0x1b96ed(0x186)](){const _0x23a12c=_0x1b96ed,_0x34dc25=this[_0x23a12c(0x12b)],_0x5490ad=_0x34dc25[_0x23a12c(0x1c2)][_0x23a12c(0x232)](d),_0x3a9318=_0x5490ad[_0x23a12c(0x1bc)]?_0x5490ad[_0x23a12c(0x184)][_0x23a12c(0x19f)]:null;_0x34dc25[_0x23a12c(0x166)][_0x23a12c(0x232)](_0x23a12c(0x22a))[_0x23a12c(0x214)](_0x3a9318);}[_0x1b96ed(0x25a)](){const _0x169327=_0x1b96ed,{isReady:_0x21549b,isEnabled:_0x5d992e}=this[_0x169327(0x12b)][_0x169327(0x1c2)][_0x169327(0x232)](d);this[_0x169327(0x215)]=_0x21549b&&_0x5d992e;}}export class ShowChangeCommand extends _0x2abe37{constructor(_0x457400,{direction:_0x423f27}){const _0x3cf912=_0x1b96ed;super(_0x457400);const _0x5ea618=_0x457400[_0x3cf912(0x1c2)][_0x3cf912(0x232)](d);this[_0x3cf912(0x253)]=!0x1,this[_0x3cf912(0x17a)]=_0x3cf912(0x24f)===_0x423f27?0x1:-0x1,this[_0x3cf912(0x15e)](_0x5ea618,_0x3cf912(0x1ff),()=>this[_0x3cf912(0x25a)]()),this[_0x3cf912(0x15e)](_0x5ea618,_0x3cf912(0x140),()=>this[_0x3cf912(0x25a)]()),this[_0x3cf912(0x15e)](_0x5ea618,_0x3cf912(0x17e),()=>this[_0x3cf912(0x25a)]());}[_0x1b96ed(0x186)](){const _0x2085c2=_0x1b96ed,_0x3eb3e9=this[_0x2085c2(0x12b)],_0x57369d=_0x3eb3e9[_0x2085c2(0x1c2)][_0x2085c2(0x232)](d),{isNavigationMode:_0x53a94a,currentChangeNumber:_0x4bc5d9}=_0x57369d;let _0x4b5693;if(_0x57369d[_0x2085c2(0x1f0)]=_0x53a94a?_0x57369d[_0x2085c2(0x184)][_0x2085c2(0x1b5)][_0x2085c2(0x232)](_0x4bc5d9+this[_0x2085c2(0x17a)]):_0x57369d[_0x2085c2(0x184)][_0x2085c2(0x1b5)][_0x2085c2(0x264)],_0x57369d[_0x2085c2(0x1f0)][_0x2085c2(0x189)][_0x2085c2(0x11f)])_0x4b5693=_0x3eb3e9[_0x2085c2(0x229)][_0x2085c2(0x262)][_0x2085c2(0x256)](_0x57369d[_0x2085c2(0x1f0)][_0x2085c2(0x23b)]);else{const _0x46a1fa=_0x3eb3e9[_0x2085c2(0x223)][_0x2085c2(0x14c)][_0x2085c2(0x232)](_0x2085c2(0x241)+_0x57369d[_0x2085c2(0x1f0)]['id']);_0x4b5693=_0x41d852(_0x3eb3e9[_0x2085c2(0x229)],_0x46a1fa);}_0x48ee46({'target':_0x4b5693,'viewportOffset':0x28});}[_0x1b96ed(0x25a)](){const _0x5765a6=_0x1b96ed,{isNavigationMode:_0x3370e3,currentChangeNumber:_0x26cc42,numberOfChanges:_0x3ff17e,isReady:_0x160355,isEnabled:_0x4ddcc8}=this[_0x5765a6(0x12b)][_0x5765a6(0x1c2)][_0x5765a6(0x232)](d);this[_0x5765a6(0x215)]=!!(_0x4ddcc8&&_0x160355&&_0x3ff17e)&&(!_0x3370e3||(0x1===this[_0x5765a6(0x17a)]?_0x26cc42<_0x3ff17e-0x1:_0x26cc42>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5a5c(_0x14e348,_0x599702){const _0x3546db=_0x3546();return _0x5a5c=function(_0x5a5c27,_0x43013c){_0x5a5c27=_0x5a5c27-0x14b;let _0x1860dd=_0x3546db[_0x5a5c27];return _0x1860dd;},_0x5a5c(_0x14e348,_0x599702);}(function(_0x108cd2,_0xa9dbe7){const _0x36015b=_0x5a5c,_0x423a8e=_0x108cd2();while(!![]){try{const _0xfbe9b6=parseInt(_0x36015b(0x15b))/0x1*(-parseInt(_0x36015b(0x162))/0x2)+parseInt(_0x36015b(0x163))/0x3+parseInt(_0x36015b(0x150))/0x4+-parseInt(_0x36015b(0x173))/0x5+-parseInt(_0x36015b(0x156))/0x6+parseInt(_0x36015b(0x15f))/0x7*(parseInt(_0x36015b(0x16c))/0x8)+parseInt(_0x36015b(0x174))/0x9;if(_0xfbe9b6===_0xa9dbe7)break;else _0x423a8e['push'](_0x423a8e['shift']());}catch(_0x532fc4){_0x423a8e['push'](_0x423a8e['shift']());}}}(_0x3546,0x76ffa));function _0x3546(){const _0x123c20=['change:isActionsDropdownOpen','ck-revision-history-sidebar__revision__actions','2042476rOiQdN','_action','action','execute','isActionsDropdownOpen','model','5649696DvccCp','bind','items','isReady','add','47534tddBpt','set','threeVerticalDots','bindTemplate','4384793PIfnpt','Compare\x20against\x20selected','listView','20dunSdV','760848sZowuH','isOpen','locale','source','Show\x20more\x20items','isEnabled','buttonView','stopPropagation','Name\x20this\x20revision','8dzUMbu','first','ck-on','name','map','button','listenTo','3443045lXyTlD','10821141hYwKiZ','extendTemplate','class','find','isVisible','panelPosition','Restore\x20this\x20revision','menuitem','function','menu','children'];_0x3546=function(){return _0x123c20;};return _0x3546();}import{Collection as _0x255bf4}from'ckeditor5/src/utils.js';import{icons as _0x258be3}from'ckeditor5/src/core.js';import{ViewModel as _0xe78940,addListToDropdown as _0x2d388e,createDropdown as _0x1cc941}from'ckeditor5/src/ui.js';import{getTranslation as _0x3dacb4}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0xa4a621,_0x37c2a7){const _0x3c4f4d=_0x5a5c,_0x482e16=_0xa4a621[_0x3c4f4d(0x15e)],_0x5c94de=_0xa4a621[_0x3c4f4d(0x165)],_0x13267d=_0x1cc941(_0x5c94de);_0x13267d[_0x3c4f4d(0x179)]='sw';const _0x3c3c3e=function(_0x494b55,_0x4d7fc3){const _0x410ea8=_0x3c4f4d,_0x2aa5aa=function(_0x3e1897,_0x2eb713){const _0x1b854b=_0x5a5c,_0x35af79=_0x3e1897[_0x1b854b(0x165)],_0x325551={'Compare\x20against\x20selected':_0x3dacb4(_0x35af79,_0x1b854b(0x160)),'Name\x20this\x20revision':_0x3dacb4(_0x35af79,_0x1b854b(0x16b)),'Restore\x20this\x20revision':_0x3dacb4(_0x35af79,_0x1b854b(0x17a))};return _0x2eb713[_0x1b854b(0x170)](_0x2a28c7=>{const _0x5da7ca=_0x1b854b,_0x47dc0c=_0x325551[_0x2a28c7[_0x5da7ca(0x16f)]];return _0x47dc0c&&_0x47dc0c!==_0x2a28c7[_0x5da7ca(0x16f)]&&(_0x2a28c7[_0x5da7ca(0x16f)]=_0x47dc0c),_0x2a28c7;});}(_0x494b55,_0x4d7fc3),_0x16e905=new _0x255bf4();for(const _0x30a003 of _0x2aa5aa){const _0x5f95f8={'type':_0x410ea8(0x171),'model':new _0xe78940({'label':_0x30a003[_0x410ea8(0x16f)],'class':_0x30a003[_0x410ea8(0x176)],'withText':!0x0,'role':_0x410ea8(0x17b),'_action':_0x30a003[_0x410ea8(0x152)]})};_0x5f95f8[_0x410ea8(0x155)][_0x410ea8(0x157)](_0x410ea8(0x168))['to'](_0x494b55,_0x410ea8(0x154),_0x16e552=>_0x410ea8(0x14b)!=typeof _0x30a003[_0x410ea8(0x168)]||(!_0x16e552||_0x30a003[_0x410ea8(0x168)](_0x494b55))),_0x16e905[_0x410ea8(0x15a)](_0x5f95f8);}return _0x16e905;}(_0xa4a621,_0x37c2a7);return _0xa4a621[_0x3c4f4d(0x157)](_0x3c4f4d(0x154))['to'](_0x13267d,_0x3c4f4d(0x164)),_0x13267d[_0x3c4f4d(0x169)][_0x3c4f4d(0x15c)]({'label':_0x3dacb4(_0x5c94de,_0x3c4f4d(0x167)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x258be3[_0x3c4f4d(0x15d)]}),_0x13267d[_0x3c4f4d(0x175)]({'attributes':{'class':[_0x3c4f4d(0x14f),_0x482e16['if'](_0x3c4f4d(0x154),_0x3c4f4d(0x16e))]},'on':{'click':_0x482e16['to'](_0x46d66b=>_0x46d66b[_0x3c4f4d(0x16a)]())}}),_0x13267d['on'](_0x3c4f4d(0x153),_0x50fcca=>{const _0x2e3c11=_0x3c4f4d;_0xa4a621[_0x2e3c11(0x159)]&&_0x2e3c11(0x14b)==typeof _0x50fcca[_0x2e3c11(0x166)][_0x2e3c11(0x151)]&&_0x50fcca[_0x2e3c11(0x166)][_0x2e3c11(0x151)](_0xa4a621);}),_0x2d388e(_0x13267d,_0x3c3c3e,{'role':_0x3c4f4d(0x14c)}),_0x13267d[_0x3c4f4d(0x172)](_0xa4a621,_0x3c4f4d(0x14e),(_0x4dbc88,_0x173472,_0x487125)=>{const _0x31e9f6=_0x3c4f4d;if(_0x487125)for(const _0x3f2e3f of _0x13267d[_0x31e9f6(0x161)][_0x31e9f6(0x158)]){const _0x5a8fab=_0x3f2e3f[_0x31e9f6(0x14d)][_0x31e9f6(0x16d)],_0x15ffc0=_0x37c2a7[_0x31e9f6(0x177)](_0x2dad71=>_0x2dad71[_0x31e9f6(0x152)]===_0x5a8fab[_0x31e9f6(0x151)])[_0x31e9f6(0x178)];_0x3f2e3f[_0x31e9f6(0x178)]=void 0x0===_0x15ffc0||_0x15ffc0(_0xa4a621);}}),_0x13267d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x30d88f,_0x340dbb){const _0x4e9140=_0x1b0b,_0x2e16bd=_0x30d88f();while(!![]){try{const _0x1456f9=parseInt(_0x4e9140(0xd1))/0x1*(parseInt(_0x4e9140(0xca))/0x2)+-parseInt(_0x4e9140(0xc4))/0x3+parseInt(_0x4e9140(0xd3))/0x4*(-parseInt(_0x4e9140(0xcd))/0x5)+parseInt(_0x4e9140(0xd4))/0x6+-parseInt(_0x4e9140(0xd0))/0x7*(parseInt(_0x4e9140(0xd6))/0x8)+-parseInt(_0x4e9140(0xcc))/0x9*(parseInt(_0x4e9140(0xc8))/0xa)+-parseInt(_0x4e9140(0xcb))/0xb*(-parseInt(_0x4e9140(0xcf))/0xc);if(_0x1456f9===_0x340dbb)break;else _0x2e16bd['push'](_0x2e16bd['shift']());}catch(_0x438449){_0x2e16bd['push'](_0x2e16bd['shift']());}}}(_0x5d07,0x46298));import{View as _0x5426ae,IconView as _0x7ac167}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b31f5}from'../../utils/common-translations.js';function _0x5d07(){const _0x14e5fc=['ck-revision-history-sidebar__revision-author__name','1202528qoHdiJ','0\x200\x2011\x2010','set','span','ck-revision-history-sidebar__revision-author','912264SkbCRy','ck-revision-history-sidebar__revision-author_creator','name','setTemplate','190hSaPiZ','Revision\x20author','11914BhAyMK','28721KtUPAO','270531kjXGof','3105hSuRAa','push','5652KCfPtc','14hHNlQH','8YTbyiZ','Revision\x20creator','180GsCwaC','1282398oKINDK'];_0x5d07=function(){return _0x14e5fc;};return _0x5d07();}import'../../../theme/revision/revisionauthor.css';function _0x1b0b(_0x2c2297,_0x39921b){const _0x5d0796=_0x5d07();return _0x1b0b=function(_0x1b0b9a,_0x2f558f){_0x1b0b9a=_0x1b0b9a-0xc3;let _0x5cbcfd=_0x5d0796[_0x1b0b9a];return _0x5cbcfd;},_0x1b0b(_0x2c2297,_0x39921b);}import _0xc70278 from'../../../theme/icons/user.svg';export default class ti extends _0x5426ae{constructor(_0x3d3f46,_0x5e7348,_0xe2ff4b){const _0x2fb9a3=_0x1b0b;super(_0x3d3f46);const _0x505cbf=new _0x7ac167();_0x505cbf[_0x2fb9a3(0xd8)]({'content':_0xc70278,'viewBox':_0x2fb9a3(0xd7)});const _0x269c40=['ck',_0x2fb9a3(0xc3)];_0xe2ff4b&&_0x269c40[_0x2fb9a3(0xce)](_0x2fb9a3(0xc5));const _0x537b6a=[{'tag':_0x2fb9a3(0xd9),'attributes':{'class':['ck',_0x2fb9a3(0xd5)],'title':_0x3b31f5(_0x3d3f46,_0xe2ff4b?_0x2fb9a3(0xd2):_0x2fb9a3(0xc9))},'children':[_0x505cbf,_0x5e7348[_0x2fb9a3(0xc6)]]}];this[_0x2fb9a3(0xc7)]({'tag':'li','attributes':{'class':_0x269c40},'children':_0x537b6a});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12f4e2=_0x4624;(function(_0x4b2890,_0x23e3a5){const _0x504dcc=_0x4624,_0x783f1f=_0x4b2890();while(!![]){try{const _0x4ad7be=parseInt(_0x504dcc(0x116))/0x1+-parseInt(_0x504dcc(0x106))/0x2*(parseInt(_0x504dcc(0xfc))/0x3)+-parseInt(_0x504dcc(0x117))/0x4*(-parseInt(_0x504dcc(0x111))/0x5)+parseInt(_0x504dcc(0x104))/0x6*(-parseInt(_0x504dcc(0x114))/0x7)+-parseInt(_0x504dcc(0xfb))/0x8*(-parseInt(_0x504dcc(0xf9))/0x9)+parseInt(_0x504dcc(0x10a))/0xa*(parseInt(_0x504dcc(0xfa))/0xb)+-parseInt(_0x504dcc(0x102))/0xc;if(_0x4ad7be===_0x23e3a5)break;else _0x783f1f['push'](_0x783f1f['shift']());}catch(_0x38d932){_0x783f1f['push'](_0x783f1f['shift']());}}}(_0x426f,0xabf67));function _0x4624(_0x265962,_0x5a2d40){const _0x426fa8=_0x426f();return _0x4624=function(_0x4624ac,_0x310f6f){_0x4624ac=_0x4624ac-0xf9;let _0x3e09f9=_0x426fa8[_0x4624ac];return _0x3e09f9;},_0x4624(_0x265962,_0x5a2d40);}import{LabeledFieldView as _0x37e0e6}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x33e9d4}from'ckeditor5/src/utils.js';import{getTranslation as _0x31025a}from'../../utils/common-translations.js';function _0x426f(){const _0xf054f5=['set','ck-tooltip_multi-line','_updateTooltipText','200mVivoN','clientWidth','destroy','_tooltipString','placeholder','render','element','4649630MHQSaY','input','bindTemplate','59087gJjsji','fieldView','1190686AHLlqx','4NgmbVe','ck-revision-history-sidebar__revision-name','listenTo','63ojFNxL','65186AGdZIo','664168tBaSmW','1489242iUUjsg','Enter\x20the\x20revision\x20name','_resizeObserver','value','Revision\x20name','extendTemplate','8089368CglNcF','scrollWidth','672FWitBy','span','2DOQphd'];_0x426f=function(){return _0xf054f5;};return _0x426f();}import'../../../theme/revision/revisionname.css';export default class kt extends _0x37e0e6{constructor(_0x4ec3d7,_0x531e84){const _0x877f2c=_0x4624;super(_0x4ec3d7,_0x531e84),this[_0x877f2c(0xfe)]=null;const _0x2f13fa=this[_0x877f2c(0x113)];this[_0x877f2c(0x107)]({'label':_0x31025a(_0x4ec3d7,_0x877f2c(0x100)),'_tooltipString':''}),this[_0x877f2c(0x115)][_0x877f2c(0x10e)]=_0x31025a(_0x4ec3d7,_0x877f2c(0xfd)),this[_0x877f2c(0x101)]({'tag':_0x877f2c(0x105),'attributes':{'class':[_0x877f2c(0x118)],'data-cke-tooltip-text':_0x2f13fa['to'](_0x877f2c(0x10d)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x877f2c(0x108)}});}[_0x12f4e2(0x10f)](){const _0xffd4aa=_0x12f4e2;super[_0xffd4aa(0x10f)](),this[_0xffd4aa(0xfe)]=new _0x33e9d4(this[_0xffd4aa(0x115)][_0xffd4aa(0x110)],()=>this[_0xffd4aa(0x109)]()),this[_0xffd4aa(0x119)](this[_0xffd4aa(0x115)],_0xffd4aa(0x112),()=>this[_0xffd4aa(0x109)]());}[_0x12f4e2(0x10c)](){const _0x1bc14c=_0x12f4e2;super[_0x1bc14c(0x10c)](),this[_0x1bc14c(0xfe)]&&this[_0x1bc14c(0xfe)][_0x1bc14c(0x10c)]();}[_0x12f4e2(0x109)](){const _0x9174db=_0x12f4e2,_0x55a9bf=this[_0x9174db(0x115)][_0x9174db(0x110)];this[_0x9174db(0x10d)]=_0x55a9bf[_0x9174db(0x103)]>_0x55a9bf[_0x9174db(0x10b)]&&_0x55a9bf[_0x9174db(0xff)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x29e0(_0x370598,_0xd050ce){const _0x208e94=_0x208e();return _0x29e0=function(_0x29e089,_0x168793){_0x29e089=_0x29e089-0x140;let _0x1ce934=_0x208e94[_0x29e089];return _0x1ce934;},_0x29e0(_0x370598,_0xd050ce);}const _0x11bcd4=_0x29e0;(function(_0x949c7e,_0x187fa6){const _0x142351=_0x29e0,_0x422759=_0x949c7e();while(!![]){try{const _0x10d4c1=-parseInt(_0x142351(0x170))/0x1*(parseInt(_0x142351(0x162))/0x2)+-parseInt(_0x142351(0x17f))/0x3*(parseInt(_0x142351(0x180))/0x4)+parseInt(_0x142351(0x14d))/0x5+-parseInt(_0x142351(0x150))/0x6*(-parseInt(_0x142351(0x178))/0x7)+parseInt(_0x142351(0x171))/0x8+-parseInt(_0x142351(0x141))/0x9*(parseInt(_0x142351(0x172))/0xa)+-parseInt(_0x142351(0x15f))/0xb;if(_0x10d4c1===_0x187fa6)break;else _0x422759['push'](_0x422759['shift']());}catch(_0x2d487e){_0x422759['push'](_0x422759['shift']());}}}(_0x208e,0xc11f3));import{View as _0x13c452,createLabeledInputText as _0x30b355}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x3c8bd8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xce3f08 from'./revisionnameview.js';import _0x2f62f8 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x521556}from'./utils.js';import{createActionsDropdownView as _0x178d05}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3c8bd8(_0x13c452){constructor(_0x3af064,_0xcf85ad,_0x5e2d75,_0x5dd17e){const _0x36ac10=_0x29e0;super(_0x3af064);const _0x1e76d1=this[_0x36ac10(0x16f)],_0x41d361=function(_0x19e6e9,_0x48dbeb){const _0x4a9571=_0x36ac10,_0x50031a=Array[_0x4a9571(0x15d)](_0x48dbeb[_0x4a9571(0x14f)])[_0x4a9571(0x140)](_0xb2642b=>_0xb2642b!=_0x48dbeb[_0x4a9571(0x174)]);return _0x48dbeb[_0x4a9571(0x174)]&&_0x50031a[_0x4a9571(0x179)](_0x48dbeb[_0x4a9571(0x174)]),_0x50031a[_0x4a9571(0x143)](_0x7701ed=>new _0x2f62f8(_0x19e6e9,_0x7701ed,_0x7701ed==_0x48dbeb[_0x4a9571(0x174)]));}(_0x3af064,_0xcf85ad);this['id']=_0xcf85ad['id'],this[_0x36ac10(0x160)]=_0xcf85ad,this[_0x36ac10(0x173)]=_0x5dd17e,this[_0x36ac10(0x152)](_0x36ac10(0x166),_0x36ac10(0x16e))['to'](_0xcf85ad),this[_0x36ac10(0x152)](_0x36ac10(0x147))['to'](this,_0x36ac10(0x16e),_0x54a191=>_0x521556(_0x3af064[_0x36ac10(0x165)],_0x54a191)),this[_0x36ac10(0x149)](_0x36ac10(0x17e),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x177),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x142),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x14e),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x16b),!0x1),this[_0x36ac10(0x145)]=new _0xce3f08(_0x3af064,_0x30b355),this[_0x36ac10(0x145)][_0x36ac10(0x148)][_0x36ac10(0x161)]({'attributes':{'maxlength':_0x36ac10(0x16d)}}),this[_0x36ac10(0x145)][_0x36ac10(0x148)][_0x36ac10(0x152)](_0x36ac10(0x156))['to'](this,_0x36ac10(0x166),_0x383a98=>_0x383a98||this[_0x36ac10(0x147)]),this[_0x36ac10(0x145)][_0x36ac10(0x152)](_0x36ac10(0x16b))['to'](this,_0x36ac10(0x17e),this,_0x36ac10(0x16b),(_0x575763,_0x4f1748)=>_0x575763&&_0x4f1748),this[_0x36ac10(0x169)]=_0x5e2d75&&_0x5e2d75[_0x36ac10(0x16a)]?_0x178d05(this,_0x5e2d75):'',this[_0x36ac10(0x169)]&&this[_0x36ac10(0x169)][_0x36ac10(0x152)](_0x36ac10(0x16b))['to'](this),this[_0x36ac10(0x144)]({'tag':_0x36ac10(0x17c),'attributes':{'class':['ck',_0x36ac10(0x176),_0x36ac10(0x146),_0x1e76d1['if'](_0x36ac10(0x15c),_0x36ac10(0x17a))]},'children':[{'tag':_0x36ac10(0x17c),'attributes':{'class':['ck',_0x36ac10(0x176),_0x36ac10(0x15b),_0x1e76d1['if'](_0x36ac10(0x16b),_0x36ac10(0x14b),_0x3ce553=>!_0x3ce553),_0x1e76d1['if'](_0x36ac10(0x17e),_0x36ac10(0x167)),_0x1e76d1['if'](_0x36ac10(0x177),_0x36ac10(0x14a)),_0x1e76d1['if'](_0x36ac10(0x142),_0x36ac10(0x154))]},'children':[this[_0x36ac10(0x145)],{'tag':_0x36ac10(0x159),'attributes':{'class':['ck',_0x36ac10(0x16c)]},'children':[{'text':_0x1e76d1['to'](_0x36ac10(0x147))}]},{'tag':_0x36ac10(0x17c),'attributes':{'class':['ck',_0x36ac10(0x15a)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x36ac10(0x158)]},'children':_0x41d361}]},this[_0x36ac10(0x169)]],'on':{'click':_0x1e76d1['to'](_0x336c46=>{const _0x479e56=_0x36ac10;_0x336c46[_0x479e56(0x17b)][_0x479e56(0x157)](_0x479e56(0x164))||this[_0x479e56(0x14e)]&&this[_0x479e56(0x16b)]&&this[_0x479e56(0x163)](_0x479e56(0x153),{'id':this['id']});})}}]});}[_0x11bcd4(0x155)](){const _0x1fdc0a=_0x11bcd4;super[_0x1fdc0a(0x155)]();const _0x3238ab=this[_0x1fdc0a(0x145)][_0x1fdc0a(0x148)][_0x1fdc0a(0x14c)];this[_0x1fdc0a(0x181)](_0x3238ab,_0x1fdc0a(0x175),()=>{const _0x2d8b6f=_0x1fdc0a;this[_0x2d8b6f(0x173)]&&!_0x3238ab[_0x2d8b6f(0x156)]||this[_0x2d8b6f(0x163)](_0x2d8b6f(0x168),{'id':this['id'],'name':_0x3238ab[_0x2d8b6f(0x156)]}),_0x3238ab[_0x2d8b6f(0x156)]||(_0x3238ab[_0x2d8b6f(0x156)]=this[_0x2d8b6f(0x166)]?this[_0x2d8b6f(0x166)]:this[_0x2d8b6f(0x147)]);});}[_0x11bcd4(0x153)](){const _0x18913d=_0x11bcd4;this[_0x18913d(0x17e)]=!0x0;}[_0x11bcd4(0x151)](){const _0x171b5c=_0x11bcd4;this[_0x171b5c(0x17e)]=!0x1;}[_0x11bcd4(0x15e)](){const _0x171671=_0x11bcd4;this[_0x171671(0x177)]=!0x0;}[_0x11bcd4(0x17d)](){const _0x259c19=_0x11bcd4;this[_0x259c19(0x177)]=!0x1;}}function _0x208e(){const _0x181a79=['ck-revision-history-sidebar__revision-authors','span','ck-revision-history-sidebar__revision__controls-wrapper','ck-revision-history-sidebar__revision','isConfirm','from','highlight','3980350FvPcop','_revision','extendTemplate','224078oMzFnf','fire','.ck-thread__remove-confirm','uiLanguage','name','ck-revision-history-sidebar__revision_selected','setName','revisionActionsView','length','isEnabled','ck-revision-history-sidebar__revision__date','220','createdAt','bindTemplate','4TGTtwy','8343736DiOEJu','70bFsMwQ','_requireRevisionName','creator','change','ck-reset','isHighlighted','4541551HwDvyB','unshift','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','srcElement','div','unhighlight','isSelected','714297ePHWot','4jvEOXz','listenTo','filter','819441Jmlquz','isActionsDropdownOpen','map','setTemplate','revisionNameView','ck-revision-history-sidebar__revision-wrapper','_createdAtFormatted','fieldView','set','ck-revision-history-sidebar__revision_highlighted','ck-disabled','element','3923575vJVTxa','isReady','authors','6kgELVG','deselect','bind','select','ck-revision-history-sidebar__actions_dropdown_open','render','value','closest'];_0x208e=function(){return _0x181a79;};return _0x208e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x488c36=_0x2aab;(function(_0x294475,_0x245f5e){const _0x397d1b=_0x2aab,_0x54d1fb=_0x294475();while(!![]){try{const _0x4f782b=-parseInt(_0x397d1b(0x149))/0x1+-parseInt(_0x397d1b(0x145))/0x2+-parseInt(_0x397d1b(0x13b))/0x3*(parseInt(_0x397d1b(0x14f))/0x4)+parseInt(_0x397d1b(0x143))/0x5*(-parseInt(_0x397d1b(0x151))/0x6)+parseInt(_0x397d1b(0x14b))/0x7*(parseInt(_0x397d1b(0x146))/0x8)+parseInt(_0x397d1b(0x13c))/0x9*(parseInt(_0x397d1b(0x142))/0xa)+parseInt(_0x397d1b(0x13e))/0xb;if(_0x4f782b===_0x245f5e)break;else _0x54d1fb['push'](_0x54d1fb['shift']());}catch(_0x57b6bf){_0x54d1fb['push'](_0x54d1fb['shift']());}}}(_0x282e,0x7c70a));import{View as _0x166fcb}from'ckeditor5/src/ui.js';function _0x2aab(_0x40da41,_0x3b1460){const _0x282e70=_0x282e();return _0x2aab=function(_0x2aab06,_0xb54fc3){_0x2aab06=_0x2aab06-0x13a;let _0x53561c=_0x282e70[_0x2aab06];return _0x53561c;},_0x2aab(_0x40da41,_0x3b1460);}import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x166fcb{constructor(_0x3fc703){const _0xbdbae=_0x2aab;super(_0x3fc703);const _0x2e5744=this[_0xbdbae(0x140)];this[_0xbdbae(0x152)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0xbdbae(0x13a)]({'tag':_0xbdbae(0x13d),'attributes':{'class':['ck',_0xbdbae(0x141),_0x2e5744['if'](_0xbdbae(0x14c),_0xbdbae(0x147),_0x35bdcf=>!_0x35bdcf),_0x2e5744['if'](_0xbdbae(0x148),_0xbdbae(0x13f))],'role':_0xbdbae(0x14a),'aria-pressed':_0x2e5744['to'](_0xbdbae(0x148),_0x4242d5=>_0x4242d5?_0xbdbae(0x14e):_0xbdbae(0x150))},'children':[{'tag':_0xbdbae(0x13d),'attributes':{'class':['ck',_0xbdbae(0x144)]}}],'on':{'click':_0x2e5744['to'](_0xbdbae(0x14d))}});}[_0x488c36(0x153)](){const _0x214aae=_0x488c36;this[_0x214aae(0x148)]=!this[_0x214aae(0x148)];}}function _0x282e(){const _0x36a1a5=['false','5660lezaSl','true','6MrYPef','set','toggle','setTemplate','84VNZZut','2414745edpNOb','span','7952736nvIrvf','ck-revision-history-sidebar__subrevision-collapser_collapsed','bindTemplate','ck-revision-history-sidebar__subrevision-collapser','20WQgTyW','146425YKrCZp','ck-revision-history-sidebar__subrevision-collapser__inner','1019856dQRGxl','2502568ELLVrm','ck-hidden','_isCollapsed','483868nomjow','button','7zfTMmu','isVisible','click'];_0x282e=function(){return _0x36a1a5;};return _0x282e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d693d=_0x84df;(function(_0x363380,_0x457f90){const _0x4b6755=_0x84df,_0x54fa8a=_0x363380();while(!![]){try{const _0x35d118=-parseInt(_0x4b6755(0xc5))/0x1*(parseInt(_0x4b6755(0xc6))/0x2)+-parseInt(_0x4b6755(0xb8))/0x3*(-parseInt(_0x4b6755(0xc2))/0x4)+-parseInt(_0x4b6755(0xc7))/0x5+parseInt(_0x4b6755(0xd5))/0x6+-parseInt(_0x4b6755(0xd6))/0x7*(-parseInt(_0x4b6755(0xd2))/0x8)+parseInt(_0x4b6755(0xce))/0x9+-parseInt(_0x4b6755(0xbc))/0xa;if(_0x35d118===_0x457f90)break;else _0x54fa8a['push'](_0x54fa8a['shift']());}catch(_0x48578e){_0x54fa8a['push'](_0x54fa8a['shift']());}}}(_0x3852,0x6fea4));import{View as _0x5a962a}from'ckeditor5/src/ui.js';import _0x3717ec from'./revisionauthorview.js';function _0x3852(){const _0x1b03c5=['uiLanguage','5091536osZtru','bind','bindTemplate','4580436CPPvoV','7mVncFr','1155117eDdlnW','setTemplate','ck-reset','ck-revision-history-sidebar__revision-authors','9539190xYuqIN','_createdAtFormatted','deselect','createdAt','set','creator','8jMqYgJ','div','span','751hVVmJj','420qGwfYs','3292705JqdbAQ','ck-revision-history-sidebar__revision','fire','ck-revision-history-sidebar__revision_selected','_parentRevisionId','isSelected','ck-revision-history-sidebar__subrevision','527832OYJCLP','ck-revision-history-sidebar__revision__date','select'];_0x3852=function(){return _0x1b03c5;};return _0x3852();}import{dateToPrettyFormat as _0x118925}from'./utils.js';function _0x84df(_0x2b79cc,_0x3dfd9a){const _0x3852e9=_0x3852();return _0x84df=function(_0x84df6f,_0x1208cb){_0x84df6f=_0x84df6f-0xb8;let _0x32c067=_0x3852e9[_0x84df6f];return _0x32c067;},_0x84df(_0x2b79cc,_0x3dfd9a);}import'../../../theme/revision/subrevision.css';export default class is extends _0x5a962a{constructor(_0x479c3d,_0x5c7439,_0x87a8cc){const _0x494543=_0x84df;super(_0x479c3d);const _0x153139=this[_0x494543(0xd4)];this['id']=_0x5c7439['id'],this[_0x494543(0xd3)](_0x494543(0xbf))['to'](_0x5c7439),this[_0x494543(0xc0)](_0x494543(0xcc),!0x1),this[_0x494543(0xd3)](_0x494543(0xbd))['to'](this,_0x494543(0xbf),_0x11c483=>_0x11c483?_0x118925(_0x479c3d[_0x494543(0xd1)],_0x11c483):void 0x0),this[_0x494543(0xcb)]=_0x87a8cc,this[_0x494543(0xb9)]({'tag':_0x494543(0xc3),'attributes':{'class':['ck',_0x494543(0xba),_0x494543(0xc8),_0x494543(0xcd),_0x153139['if'](_0x494543(0xcc),_0x494543(0xca))]},'children':[{'tag':_0x494543(0xc4),'attributes':{'class':['ck',_0x494543(0xcf)]},'children':[{'text':_0x153139['to'](_0x494543(0xbd))}]},{'tag':'ul','attributes':{'class':['ck',_0x494543(0xbb)]},'children':[new _0x3717ec(_0x479c3d,_0x5c7439[_0x494543(0xc1)],!0x0)]}],'on':{'click':_0x153139['to'](this[_0x494543(0xd0)][_0x494543(0xd3)](this))}});}[_0x5d693d(0xd0)](){const _0x1c29a1=_0x5d693d;this[_0x1c29a1(0xcc)]=!0x0,this[_0x1c29a1(0xc9)](_0x1c29a1(0xd0),{'parentId':this[_0x1c29a1(0xcb)]});}[_0x5d693d(0xbe)](){const _0x4f6bd0=_0x5d693d;this[_0x4f6bd0(0xcc)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2be2(_0x55d99d,_0x1e5b0b){var _0x420fdb=_0x420f();return _0x2be2=function(_0x2be2ee,_0x255b64){_0x2be2ee=_0x2be2ee-0x1d9;var _0x3a6212=_0x420fdb[_0x2be2ee];return _0x3a6212;},_0x2be2(_0x55d99d,_0x1e5b0b);}(function(_0x14e153,_0x3a3552){var _0x42737f=_0x2be2,_0x593251=_0x14e153();while(!![]){try{var _0x1969ac=-parseInt(_0x42737f(0x1e0))/0x1+-parseInt(_0x42737f(0x1d9))/0x2*(-parseInt(_0x42737f(0x1e6))/0x3)+-parseInt(_0x42737f(0x1df))/0x4*(-parseInt(_0x42737f(0x1e4))/0x5)+parseInt(_0x42737f(0x1e1))/0x6+parseInt(_0x42737f(0x1e3))/0x7*(parseInt(_0x42737f(0x1e5))/0x8)+parseInt(_0x42737f(0x1dc))/0x9+parseInt(_0x42737f(0x1dd))/0xa*(-parseInt(_0x42737f(0x1db))/0xb);if(_0x1969ac===_0x3a3552)break;else _0x593251['push'](_0x593251['shift']());}catch(_0x2c6ad6){_0x593251['push'](_0x593251['shift']());}}}(_0x420f,0x89907));function _0x420f(){var _0x15b03b=['2390PGDnQO','toLocaleTimeString','4ffhvXR','31789kZmPyt','1085862UpBkRU','toLocaleDateString','2456251ckZHLH','1216025PTqicc','8mhZGHO','96tWzaBI','numeric','10908wtwfGu','long','52063BxgtZU','6991524IdwBIM'];_0x420f=function(){return _0x15b03b;};return _0x420f();}export function dateToPrettyFormat(_0x363f8a,_0x3a1550){var _0x241a89=_0x2be2;return _0x3a1550[_0x241a89(0x1e2)](_0x363f8a,{'month':_0x241a89(0x1da),'day':_0x241a89(0x1e7)})+',\x20'+_0x3a1550[_0x241a89(0x1de)](_0x363f8a,{'hour':_0x241a89(0x1e7),'minute':_0x241a89(0x1e7)});}
|