@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240604.1 → 0.0.0-nightly-20240605.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/README.md +0 -6
- package/build/revision-history.js +1 -1
- package/dist/index.js +1 -7
- 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/dist/types/changeitem.d.ts +1 -1
- package/dist/types/editor/revisionviewereditor.d.ts +1 -1
- package/dist/types/revision.d.ts +1 -1
- package/dist/types/ui/revision/revisionview.d.ts +1 -1
- package/package.json +5 -5
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +1 -2
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +1 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +1 -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.d.ts +1 -1
- package/src/ui/revision/revisionview.js +1 -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 _0x425093=_0x141e;(function(_0x5ad474,_0x311f40){const _0x6d9218=_0x141e,_0x56c0f7=_0x5ad474();while(!![]){try{const _0x2219e9=parseInt(_0x6d9218(0x1b7))/0x1*(parseInt(_0x6d9218(0x229))/0x2)+-parseInt(_0x6d9218(0x195))/0x3+parseInt(_0x6d9218(0x25f))/0x4*(-parseInt(_0x6d9218(0x248))/0x5)+parseInt(_0x6d9218(0x1d0))/0x6*(-parseInt(_0x6d9218(0x1f1))/0x7)+-parseInt(_0x6d9218(0x159))/0x8*(-parseInt(_0x6d9218(0x1c6))/0x9)+parseInt(_0x6d9218(0x262))/0xa+parseInt(_0x6d9218(0x222))/0xb;if(_0x2219e9===_0x311f40)break;else _0x56c0f7['push'](_0x56c0f7['shift']());}catch(_0x4c9f5f){_0x56c0f7['push'](_0x56c0f7['shift']());}}}(_0x39cf,0x24d48));import{Plugin as _0x5b979d,Command as _0x2c2272}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x4c34a9}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x54578b}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x162856,Element as _0x18a341,Text as _0x493158,ViewDocumentFragment as _0x358909,ViewText as _0x4ea46f,ViewElement as _0x903431,ViewContainerElement as _0x5615af,ViewAttributeElement as _0x4fe2c4,ViewEmptyElement as _0x2fe13b,ViewRawElement as _0x5edcef,ViewUIElement as _0x393559}from'ckeditor5/src/engine.js';import{Users as _0x12eae6,getMarkerDomElement as _0x243ac8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x39cf(){const _0x1b9321=['model','detachRoot','deletion','addRevision','changes','vid','left','for','level','POSITIVE_INFINITY','high','RevisionsRepository','markersStart','markersEnd','string','requires','execute','top','addMarker:revision','abs','checkAttribute','getAttributes','nextPosition','markerRange','enqueueChange','7fokrwc','activeChange','isAtEnd','from','values','filter','markerToHighlight','wrap','_getRevisionsRange','revision-start','getIndex','isOnRoot','insertion','createRange','showPreviousChange','isRemoved','data-revision-','createPositionBefore','_processTape','conversion','data-change-id','_appendChild','selection','change:numberOfChanges','ck-suggestion-marker-','editor','attachChange','uiElement','useFillerType','isAddSuggestion','findIndex','_activeViewTarget','_cleanMarkers','comment','hasAttribute','elementToAttribute','diff','start','parse','low','_changeView','parent','splice','_removeUnsupportedChanges','revision-viewer','_changeIdToChange','test','revision-suggestion:','getRevisionRootsAttributes','1597794cxliZQ','shift','span','consumable','document','schema','revisionHistoryLabel','102DBOxTw','WidgetToolbarRepository','map','pluginName','ck-suggestion-marker--active','text','_makeTape','toViewElement','ck-revision-history-root-add','editingDowncast','authors','children','rootName','ck-suggestion-preview-marker-','isContent','pop','_removeMissingPairs','unbindElementFromMarkerName','return','enableReadOnlyMode','done','vid_end','change:isEnabled','previousPosition','markerName','merge','setAttribute','revision','length','change','right','5rDnoRZ','config','flat','init','isIncorrect','bind','ck-revision-history-root-remove','removeClass','toData','activeView','element','split','roots','isAdded','maxOffset','isSuggestion','set','default','getRevisionData','downcastDispatcher','get','getCustomProperty','clear','117596eOuLxT','item','startsWith','2861320JUhwGR','repository','delete','writer','indexOf','numberOfChanges','_markMismatchedRemovedTags','keys','nodeAfter','restoreRevisionCallback','diffData','isBefore','attributes','_revisions','revision-suggestion','remove','isNavigationMode','_setConversion','getAttribute','backward','_markInsertions','mouseover','removeMarker:revision-suggestion','dataDowncast','markers','push','slice','includes','side','next','ck-suggestion-marker-split','_makeModelFromTape','adapter','_cleanUp','getItems','isAtStart','change:activeView','isBlock','nextSibling','revision:','dataToMarker','domEvent','_threeWayMerge','addMarker:revision-suggestion:insertion','restoreRevision','offsetSize','distance','endIndex','getWalker','pairId','hasClass','showNextChange','attribute:vid','consume','viewItem','createRangeIn','newRevisionId','compare','createUIElement','showStack','_getViewObj','changeId','destroy','mousedown','isObject','name','highest','_step','all','suggestion','commands','392ulmSgy','observeMarkers','createPositionFromPath','_balloon','code','plugins','end','revisionHistory','type','forward','-new','RevisionViewer','isCollapsed','_getViewForChange','_update','marked','_data','isRemoveSuggestion','softBreak','ck-suggestion-marker','getRoot','addMarker:revision-suggestion:deletion','_refreshStartEndIndex','removeMarker:revision','isAfter','isInline','isLimit','mapViewToDom','change:activeChange','sort','getRevision','revision-comment:','modelRange','_fixObsoleteTags','removeAttribute','startIndex','editing','target','currentChangeNumber','removeMarker','loadRevisionData','_makeModelFromViewString','processor','index','reconvertMarker','catch','error','ck-revision-history-root-','revision-end','getRootNames','mapper','toViewPosition','markerToData','forceDisabled','_markSuggestions','attributesAfter','isAttached','_getChangeFromId','first','suggestion:','290526GcKJgC','elementEnd','_getDiff','range','concat','ck-editor__editable__overlay','element:pre','getDomRoot','then','isReady','isEnabled','_removeRevisionMarkers','toViewRange','oldRevisionId','ck-suggestion-preview-marker','markerNameToElements','unshift','_joinTapes','find','_findChangeIdFromDomTarget','addRevisionData','bindElementToMarker','getChild','_initInteractions','data','isEqual','view','ck-suggestion-marker-merge','addRoot','add','bottom','deletions','userId','getClientRects','639zcIcLR','updatePosition','addHighlight','stop','elementStart','createRevision','affectsData','listenTo','_setChanges','_sortAndFilterDiffChanges','attributesBefore','change:isReady','addClass','createAttributeElement','insert','14103kIoOYD','locale','object','has','upcast','revisionHistoryAttachChange','_setDistance','domConverter','refresh','resolve','1581966JYvOjF','_markMarkers','vid_start','toModel','forEach','insertions','collaboration.channelId','ck-revision-history-root--active'];_0x39cf=function(){return _0x1b9321;};return _0x39cf();}import _0x4212ec from'./ui/revisionviewer/changedetailsview.js';import _0x2b90d2 from'./revisionsrepository.js';import _0x5068e8 from'./changeitem.js';import{default as _0xd25a67}from'./revisiondiff.js';function _0x141e(_0xd823a4,_0x440ccd){const _0x39cf49=_0x39cf();return _0x141e=function(_0x141eed,_0x4835c5){_0x141eed=_0x141eed-0x119;let _0x161557=_0x39cf49[_0x141eed];return _0x161557;},_0x141e(_0xd823a4,_0x440ccd);}import'../theme/revisionviewer.css';import{cloneDeep as _0x4e828d}from'lodash-es';const tt={'c':_0x5615af,'a':_0x4fe2c4,'e':_0x2fe13b,'r':_0x5edcef,'u':_0x393559};export default class d extends _0x5b979d{static get[_0x425093(0x22c)](){const _0x342a00=_0x425093;return _0x342a00(0x164);}static get[_0x425093(0x1e7)](){return[_0x12eae6,_0x54578b,_0x2b90d2];}constructor(_0x379af3){const _0x2ae417=_0x425093;super(_0x379af3),this[_0x2ae417(0x263)]=this[_0x2ae417(0x20a)][_0x2ae417(0x15e)][_0x2ae417(0x25c)](_0x2ae417(0x1e3)),this[_0x2ae417(0x258)](_0x2ae417(0x1f2),null),this[_0x2ae417(0x258)](_0x2ae417(0x251),null),this[_0x2ae417(0x210)]=null,this[_0x2ae417(0x258)](_0x2ae417(0x215),null),this[_0x2ae417(0x258)](_0x2ae417(0x19e),!0x1),this[_0x2ae417(0x258)](_0x2ae417(0x19f),!0x0),this['on'](_0x2ae417(0x23f),(_0x40483e,_0x3436c8,_0x2f252c)=>{const _0x2f96ce=_0x2ae417;this[_0x2f96ce(0x1f2)]=null,this[_0x2f96ce(0x251)]=null,this[_0x2f96ce(0x20a)][_0x2f96ce(0x17d)][_0x2f96ce(0x1af)][_0x2f96ce(0x246)](_0x363715=>{const _0x46693b=_0x2f96ce;for(const _0x271cce of this[_0x46693b(0x20a)][_0x46693b(0x17d)][_0x46693b(0x1af)][_0x46693b(0x226)][_0x46693b(0x254)])_0x2f252c?_0x363715[_0x46693b(0x24f)](_0x46693b(0x19a),_0x271cce):_0x363715[_0x46693b(0x1c3)](_0x46693b(0x19a),_0x271cce);});}),this[_0x2ae417(0x24d)](_0x2ae417(0x122))['to'](this,_0x2ae417(0x1f2),_0x46d2f5=>null!==_0x46d2f5),this[_0x2ae417(0x24d)](_0x2ae417(0x17f))['to'](this,_0x2ae417(0x19e),this,_0x2ae417(0x215),this,_0x2ae417(0x1f2),(_0x4d1b19,_0x4286bc,_0x222149)=>_0x4d1b19&&_0x222149?_0x4286bc[_0x2ae417(0x1dc)][_0x2ae417(0x1fb)](_0x222149):0x0),this[_0x2ae417(0x24d)](_0x2ae417(0x267))['to'](this,_0x2ae417(0x19e),this,_0x2ae417(0x215),(_0x552549,_0x3c7bb6)=>_0x552549?_0x3c7bb6[_0x2ae417(0x1dc)][_0x2ae417(0x245)]:0x0),this[_0x2ae417(0x219)]=null,this[_0x2ae417(0x21e)]=new Map(),this[_0x2ae417(0x132)]=null,this[_0x2ae417(0x15c)]=this[_0x2ae417(0x20a)][_0x2ae417(0x15e)][_0x2ae417(0x25c)](_0x54578b);}[_0x425093(0x24b)](){const _0x21a112=_0x425093,_0x36c331=this[_0x21a112(0x20a)],_0x2d14ca=new ShowChangeCommand(_0x36c331,{'direction':_0x21a112(0x125)}),_0x59a7db=new ShowChangeCommand(_0x36c331,{'direction':_0x21a112(0x162)});(_0x36c331[_0x21a112(0x158)][_0x21a112(0x1b2)](_0x21a112(0x1ff),_0x2d14ca),_0x36c331[_0x21a112(0x158)][_0x21a112(0x1b2)](_0x21a112(0x145),_0x59a7db),_0x36c331[_0x21a112(0x158)][_0x21a112(0x1b2)](_0x21a112(0x13e),new RestoreRevisionCommand(_0x36c331)),this['on'](_0x21a112(0x208),()=>{const _0x5cbf5e=_0x21a112;_0x2d14ca[_0x5cbf5e(0x1ce)](),_0x59a7db[_0x5cbf5e(0x1ce)]();}),this[_0x21a112(0x123)](),this[_0x21a112(0x1ac)](),_0x36c331[_0x21a112(0x23c)](_0x21a112(0x21d)),_0x36c331[_0x21a112(0x15e)][_0x21a112(0x1c9)](_0x21a112(0x22a)))&&_0x36c331[_0x21a112(0x15e)][_0x21a112(0x25c)](_0x21a112(0x22a))[_0x21a112(0x18e)](_0x21a112(0x21d));}async[_0x425093(0x25a)](_0x3b6baa){const _0x5c7053=_0x425093;await this[_0x5c7053(0x181)](_0x3b6baa);const _0x32b028={};for(const _0x46e30a in _0x3b6baa[_0x5c7053(0x11c)]){if(_0x3b6baa[_0x5c7053(0x11c)][_0x46e30a][_0x5c7053(0x20b)]&&!_0x3b6baa[_0x5c7053(0x11c)][_0x46e30a][_0x5c7053(0x20b)][_0x5c7053(0x191)])continue;const _0x1464ae=this[_0x5c7053(0x1a0)](JSON[_0x5c7053(0x217)](_0x3b6baa[_0x5c7053(0x11c)][_0x46e30a][_0x5c7053(0x1d5)])),_0x41a713=this[_0x5c7053(0x20a)][_0x5c7053(0x17d)][_0x5c7053(0x1af)][_0x5c7053(0x226)],_0x310fad=new _0x358909(_0x41a713,_0x1464ae[_0x5c7053(0x22b)](_0x2eb719=>this[_0x5c7053(0x14e)](_0x2eb719)));this[_0x5c7053(0x20a)][_0x5c7053(0x1ad)][_0x5c7053(0x183)][_0x5c7053(0x20d)](_0x5c7053(0x168)),_0x32b028[_0x46e30a]=this[_0x5c7053(0x20a)][_0x5c7053(0x1ad)][_0x5c7053(0x183)][_0x5c7053(0x250)](_0x310fad),this[_0x5c7053(0x20a)][_0x5c7053(0x1ad)][_0x5c7053(0x183)][_0x5c7053(0x20d)](_0x5c7053(0x259));}return _0x32b028;}async[_0x425093(0x221)](_0x3f9018){const _0x48ac42=_0x425093;await this[_0x48ac42(0x181)](_0x3f9018);const _0x9f53ab={};for(const _0x1e9a28 in _0x3f9018[_0x48ac42(0x11c)])_0x3f9018[_0x48ac42(0x11c)][_0x1e9a28][_0x48ac42(0x20b)]&&!_0x3f9018[_0x48ac42(0x11c)][_0x1e9a28][_0x48ac42(0x20b)][_0x48ac42(0x191)]||(_0x9f53ab[_0x1e9a28]=_0x3f9018[_0x48ac42(0x11c)][_0x1e9a28][_0x48ac42(0x190)]||{});return _0x9f53ab;}[_0x425093(0x1a0)](_0x571305){const _0x2dd295=_0x425093;return(_0x571305=_0x571305[_0x2dd295(0x1f6)](_0x295bec=>!_0x295bec[_0x2dd295(0x153)]||_0x2dd295(0x1fa)!==_0x295bec[_0x2dd295(0x153)]&&_0x2dd295(0x189)!==_0x295bec[_0x2dd295(0x153)]))[_0x2dd295(0x1d4)](_0x43f7e1=>{const _0x4684fe=_0x2dd295;_0x4684fe(0x1e6)!=typeof _0x43f7e1&&(_0x43f7e1[_0x4684fe(0x234)]=this[_0x4684fe(0x1a0)](_0x43f7e1[_0x4684fe(0x234)]),_0x43f7e1[_0x4684fe(0x11e)]=_0x43f7e1[_0x4684fe(0x11e)][_0x4684fe(0x1f6)](_0x40bfc7=>!_0x40bfc7[0x0][_0x4684fe(0x261)](_0x4684fe(0x201))));}),_0x571305;}async[_0x425093(0x14b)](_0x2ea36b,_0x274f39,_0x127524=!0x1){const _0x23c965=_0x425093;if(!this[_0x23c965(0x19f)])return;const _0x34ee83=this[_0x23c965(0x215)],_0xd98235=this[_0x23c965(0x263)],_0x17190c=_0x23c965(0x1e6)==typeof _0x2ea36b?_0xd98235[_0x23c965(0x177)](_0x2ea36b):_0x2ea36b,_0x4f7d3b=_0x23c965(0x1e6)==typeof _0x274f39?_0xd98235[_0x23c965(0x177)](_0x274f39):_0x274f39,_0x3d2a68=_0x17190c['id'],_0x56bdc0=_0x4f7d3b?_0x4f7d3b['id']:null;if(!_0x127524&&this[_0x23c965(0x215)]&&this[_0x23c965(0x215)][_0x23c965(0x14a)]===_0x3d2a68&&this[_0x23c965(0x215)][_0x23c965(0x1a2)]===_0x56bdc0)return Promise[_0x23c965(0x1cf)]();this[_0x23c965(0x19e)]=!0x1,this[_0x23c965(0x251)]=null,this[_0x23c965(0x1f2)]=null,this[_0x23c965(0x215)]=new _0xd25a67(_0x3d2a68,_0x56bdc0);const _0x3bb0ab=this[_0x23c965(0x1f9)](_0x17190c,_0x4f7d3b,!0x0)[_0x23c965(0x22b)](_0x319105=>this[_0x23c965(0x181)](_0x319105));return _0x3bb0ab[_0x23c965(0x12b)](new Promise(_0x43f0ff=>{setTimeout(_0x43f0ff,0x14);})),Promise[_0x23c965(0x156)](_0x3bb0ab)[_0x23c965(0x19d)](()=>{const _0x12cc77=_0x23c965;if(!this[_0x12cc77(0x19f)])return;this[_0x12cc77(0x133)]();const _0x492ab=this[_0x12cc77(0x197)](_0x3d2a68,_0x56bdc0);for(const _0x17104b of _0x492ab[_0x12cc77(0x1dc)])this[_0x12cc77(0x21e)][_0x12cc77(0x258)](_0x17104b['id'],_0x17104b);this[_0x12cc77(0x20a)][_0x12cc77(0x1d8)][_0x12cc77(0x1f0)]({'isUndoable':!0x1},_0x3d3d5a=>{const _0x7730c0=_0x12cc77;for(const _0x16f478 of this[_0x7730c0(0x20a)][_0x7730c0(0x1d8)][_0x7730c0(0x226)][_0x7730c0(0x18a)]())_0x3d3d5a[_0x7730c0(0x1d9)](_0x16f478);for(const _0x246ffa of Object[_0x7730c0(0x119)](_0x492ab[_0x7730c0(0x1d8)])){const _0xc020db=_0x3d3d5a[_0x7730c0(0x1b1)](_0x246ffa);for(const _0x213ff5 of Object[_0x7730c0(0x119)](_0x492ab[_0x7730c0(0x11e)][_0x246ffa]))_0x3d3d5a[_0x7730c0(0x243)](_0x213ff5,_0x492ab[_0x7730c0(0x11e)][_0x246ffa][_0x213ff5],_0xc020db);_0x3d3d5a[_0x7730c0(0x1c5)](_0x492ab[_0x7730c0(0x1d8)][_0x246ffa],_0xc020db,0x0);}}),this[_0x12cc77(0x215)][_0x12cc77(0x1bf)](this[_0x12cc77(0x1c0)](_0x492ab[_0x12cc77(0x1dc)])),this[_0x12cc77(0x19e)]=!0x0;})[_0x23c965(0x186)](_0x1f6eac=>{const _0x4093a2=_0x23c965;console[_0x4093a2(0x187)](_0x1f6eac),this[_0x4093a2(0x133)](),_0x34ee83&&(this[_0x4093a2(0x215)]=_0x34ee83),this[_0x4093a2(0x19e)]=!0x0;});}[_0x425093(0x1a9)](_0x2c3833,_0x435295){const _0x84b4fa=_0x425093,_0x1ea611=this[_0x84b4fa(0x263)][_0x84b4fa(0x1bc)](_0x2c3833);return _0x1ea611['on'](_0x84b4fa(0x167),(_0x4b694b,_0x485b5e,_0x3bc1f8)=>_0x435295(_0x485b5e,_0x3bc1f8,_0x1ea611)),this[_0x84b4fa(0x263)][_0x84b4fa(0x1db)](_0x1ea611),_0x1ea611;}[_0x425093(0x181)](_0x324e42){const _0x149a1d=_0x425093;if(!_0x324e42||_0x324e42[_0x149a1d(0x11c)])return Promise[_0x149a1d(0x1cf)]();{const _0x337ad9=this[_0x149a1d(0x20a)][_0x149a1d(0x249)][_0x149a1d(0x25c)](_0x149a1d(0x1d6));return this[_0x149a1d(0x132)][_0x149a1d(0x177)]({'channelId':_0x337ad9,'revisionId':_0x324e42['id']})[_0x149a1d(0x19d)](_0x328e2b=>{const _0x576e46=_0x149a1d;_0x324e42[_0x576e46(0x167)]({'diffData':_0x328e2b[_0x576e46(0x11c)]},!0x0);});}}[_0x425093(0x133)](){const _0x172e9b=_0x425093;this[_0x172e9b(0x1f2)]=null,this[_0x172e9b(0x211)](),this[_0x172e9b(0x219)]&&this[_0x172e9b(0x219)][_0x172e9b(0x150)](),this[_0x172e9b(0x219)]=null,this[_0x172e9b(0x21e)][_0x172e9b(0x25e)](),this[_0x172e9b(0x20a)][_0x172e9b(0x1d8)][_0x172e9b(0x1f0)]({'isUndoable':!0x1},_0x39724f=>{const _0x3047b1=_0x172e9b;for(const _0x4f8f9e of this[_0x3047b1(0x20a)][_0x3047b1(0x1d8)][_0x3047b1(0x226)][_0x3047b1(0x18a)]())_0x39724f[_0x3047b1(0x1d9)](_0x4f8f9e);});}[_0x425093(0x1c0)](_0x11cdca){const _0x564b4e=_0x425093,_0x27c32c=[],_0xd060a0=new Map();for(const _0x134ac4 of this[_0x564b4e(0x20a)][_0x564b4e(0x1d8)][_0x564b4e(0x226)][_0x564b4e(0x18a)]()){const _0x8fdc47=this[_0x564b4e(0x20a)][_0x564b4e(0x17d)][_0x564b4e(0x1af)][_0x564b4e(0x19c)](_0x134ac4);if(!_0x8fdc47)continue;const _0x4119ea=_0x8fdc47[_0x564b4e(0x1b6)]()[_0x564b4e(0x260)](0x0);_0x4119ea&&(_0x27c32c[_0x564b4e(0x12b)](_0x134ac4),_0xd060a0[_0x564b4e(0x258)](_0x134ac4,_0x4119ea));}return _0x27c32c[_0x564b4e(0x176)]((_0x4b7728,_0x2e1efa)=>{const _0x3d3b22=_0x564b4e,_0x186c66=_0xd060a0[_0x3d3b22(0x25c)](_0x4b7728),_0x123825=_0xd060a0[_0x3d3b22(0x25c)](_0x2e1efa);return _0x186c66['y']-_0x123825['y']||_0x186c66['x']-_0x123825['x'];}),(_0x11cdca=_0x11cdca[_0x564b4e(0x1f6)](_0x377d8b=>_0x27c32c[_0x564b4e(0x12d)](_0x377d8b[_0x564b4e(0x235)])))[_0x564b4e(0x176)]((_0x534d1b,_0x28397c)=>_0x27c32c[_0x564b4e(0x266)](_0x534d1b[_0x564b4e(0x235)])-_0x27c32c[_0x564b4e(0x266)](_0x28397c[_0x564b4e(0x235)])),_0x11cdca;}[_0x425093(0x22f)](_0x4c059c){const _0xe66d5a=_0x425093,_0x2df012=Array[_0xe66d5a(0x1f4)](_0x4c059c[_0xe66d5a(0x12a)])[_0xe66d5a(0x1f6)](([_0x16e3c0,_0x2c5756])=>_0x16e3c0[_0xe66d5a(0x261)](_0xe66d5a(0x139))&&!_0x2c5756[_0xe66d5a(0x165)]),_0x112063=Array[_0xe66d5a(0x1f4)](this[_0xe66d5a(0x20a)][_0xe66d5a(0x1d8)][_0xe66d5a(0x149)](_0x4c059c)[_0xe66d5a(0x142)]({'singleCharacters':!0x0}));if(0x0!=_0x2df012[_0xe66d5a(0x245)])for(const _0xab0ddc of _0x112063){const [_0x11e72d,_0x4301ca]=_0x2df012[0x0],[,_0x3dfcdf,_0x1aebb7]=_0x11e72d[_0xe66d5a(0x253)](':');if(_0x4301ca[_0xe66d5a(0x15f)][_0xe66d5a(0x1ae)](_0xab0ddc[_0xe66d5a(0x1ee)])&&_0x2df012[_0xe66d5a(0x223)](),(_0xab0ddc[_0xe66d5a(0x240)][_0xe66d5a(0x1ae)](_0x4301ca[_0xe66d5a(0x216)])||_0xab0ddc[_0xe66d5a(0x240)][_0xe66d5a(0x171)](_0x4301ca[_0xe66d5a(0x216)]))&&(_0xe66d5a(0x1fd)==_0x3dfcdf?_0xab0ddc[_0xe66d5a(0x255)]={'userId':_0x1aebb7}:_0xe66d5a(0x1da)==_0x3dfcdf&&(_0xab0ddc[_0xe66d5a(0x200)]={'userId':_0x1aebb7})),0x0==_0x2df012[_0xe66d5a(0x245)])break;}return _0x112063;}[_0x425093(0x16f)](_0x3c5bc9){const _0x148c90=_0x425093,_0x361f6e=new Map();for(let _0x1a503d=0x0;_0x1a503d<_0x3c5bc9[_0x148c90(0x245)];_0x1a503d++)_0x148c90(0x22e)===_0x3c5bc9[_0x1a503d][_0x148c90(0x161)]?(_0x3c5bc9[_0x1a503d][_0x148c90(0x260)][_0x148c90(0x17c)]=_0x1a503d,_0x3c5bc9[_0x1a503d][_0x148c90(0x260)][_0x148c90(0x141)]=_0x1a503d):(_0x148c90(0x1bb)===_0x3c5bc9[_0x1a503d][_0x148c90(0x161)]?_0x3c5bc9[_0x1a503d][_0x148c90(0x260)][_0x148c90(0x17c)]=_0x1a503d:_0x148c90(0x196)===_0x3c5bc9[_0x1a503d][_0x148c90(0x161)]&&(_0x3c5bc9[_0x1a503d][_0x148c90(0x260)][_0x148c90(0x141)]=_0x1a503d),_0x361f6e[_0x148c90(0x258)](_0x3c5bc9[_0x1a503d]['id'],_0x1a503d));for(const _0x33f4a6 of _0x361f6e[_0x148c90(0x1f5)]())_0x148c90(0x1bb)===_0x3c5bc9[_0x33f4a6][_0x148c90(0x161)]?_0x3c5bc9[_0x33f4a6][_0x148c90(0x260)][_0x148c90(0x141)]=_0x361f6e[_0x148c90(0x25c)](_0x3c5bc9[_0x33f4a6][_0x148c90(0x143)]):_0x148c90(0x196)===_0x3c5bc9[_0x33f4a6][_0x148c90(0x161)]&&(_0x3c5bc9[_0x33f4a6][_0x148c90(0x260)][_0x148c90(0x17c)]=_0x361f6e[_0x148c90(0x25c)](_0x3c5bc9[_0x33f4a6][_0x148c90(0x143)]));}[_0x425093(0x203)](_0x54c84e){const _0x2b6dfe=_0x425093;for(let _0x2f0fed=0x0;_0x2f0fed<_0x54c84e[_0x2b6dfe(0x245)];_0x2f0fed++){if(_0x2b6dfe(0x1bb)===_0x54c84e[_0x2f0fed][_0x2b6dfe(0x161)])_0x54c84e[_0x2f0fed][_0x2b6dfe(0x260)][_0x2b6dfe(0x17c)]=_0x2f0fed;else{if(_0x2b6dfe(0x196)===_0x54c84e[_0x2f0fed][_0x2b6dfe(0x161)]){_0x54c84e[_0x2f0fed][_0x2b6dfe(0x260)][_0x2b6dfe(0x141)]=_0x2f0fed;const _0x6b3226=_0x54c84e[_0x2f0fed][_0x2b6dfe(0x260)][_0x2b6dfe(0x17c)];_0x54c84e[_0x6b3226][_0x2b6dfe(0x143)]=_0x54c84e[_0x2f0fed]['id'],_0x54c84e[_0x2f0fed][_0x2b6dfe(0x143)]=_0x54c84e[_0x6b3226]['id'];}else _0x54c84e[_0x2f0fed][_0x2b6dfe(0x260)][_0x2b6dfe(0x17c)]=_0x2f0fed,_0x54c84e[_0x2f0fed][_0x2b6dfe(0x260)][_0x2b6dfe(0x141)]=_0x2f0fed,_0x54c84e[_0x2f0fed][_0x2b6dfe(0x143)]=null;}_0x54c84e[_0x2f0fed][_0x2b6dfe(0x1e4)]||(_0x54c84e[_0x2f0fed][_0x2b6dfe(0x1e4)]=[],_0x54c84e[_0x2f0fed][_0x2b6dfe(0x1e5)]=[]);}}[_0x425093(0x126)](_0x45ea39,_0x3b1758){const _0x2cb9ed=_0x425093,_0x1488da=_0x45ea39[_0x2cb9ed(0x1f6)](_0x45882c=>!_0x45882c[_0x2cb9ed(0x255)]);for(let _0x51c8de=0x0;_0x51c8de<_0x3b1758[_0x2cb9ed(0x245)];_0x51c8de++)_0x3b1758[_0x51c8de][_0x2cb9ed(0x255)]&&(_0x1488da[_0x51c8de][_0x2cb9ed(0x255)]=_0x3b1758[_0x51c8de][_0x2cb9ed(0x255)]);}[_0x425093(0x182)](_0x40e5ec){const _0x31f44a=_0x425093,_0x1a82d3=JSON[_0x31f44a(0x217)](_0x40e5ec),_0x37c7e0=this[_0x31f44a(0x20a)][_0x31f44a(0x17d)][_0x31f44a(0x1af)][_0x31f44a(0x226)],_0xb6c6a8=new _0x358909(_0x37c7e0,_0x1a82d3[_0x31f44a(0x22b)](_0x4ce532=>this[_0x31f44a(0x14e)](_0x4ce532)));return this[_0x31f44a(0x20a)][_0x31f44a(0x1ad)][_0x31f44a(0x1d3)](_0xb6c6a8);}[_0x425093(0x14e)](_0x22088d){const _0xd68ae7=_0x425093,_0xb6db0f=this[_0xd68ae7(0x20a)][_0xd68ae7(0x17d)][_0xd68ae7(0x1af)][_0xd68ae7(0x226)];if(_0xd68ae7(0x1e6)==typeof _0x22088d)return new _0x4ea46f(_0xb6db0f,_0x22088d);{const _0x13db8a=_0x22088d[_0xd68ae7(0x234)][_0xd68ae7(0x22b)](_0x58c08e=>this[_0xd68ae7(0x14e)](_0x58c08e));return new(tt[_0x22088d[(_0xd68ae7(0x161))]]||_0x903431)(_0xb6db0f,_0x22088d[_0xd68ae7(0x153)],_0x22088d[_0xd68ae7(0x11e)],_0x13db8a);}}[_0x425093(0x197)](_0x5bb57b,_0xc26bb0=null){const _0xe0ad34=_0x425093,_0x4afb2c=this[_0xe0ad34(0x263)][_0xe0ad34(0x177)](_0x5bb57b),_0xa1d9e6=_0xc26bb0?this[_0xe0ad34(0x263)][_0xe0ad34(0x177)](_0xc26bb0):null,_0x2bf371=this[_0xe0ad34(0x1f9)](_0x4afb2c,_0xa1d9e6),_0xa6c94=_0x2bf371[_0x2bf371[_0xe0ad34(0x245)]-0x1],_0x3e2c06=new Map(),_0x1d80c4={'model':{},'attributes':{},'changes':[]},_0x3439b9=new Set(),_0x3324d8=new Map();for(let _0x29d93e=_0x2bf371[_0xe0ad34(0x245)]-0x1;_0x29d93e>=0x0;_0x29d93e--){const _0x577979=_0x2bf371[_0x29d93e];for(const _0x58dd17 of Object[_0xe0ad34(0x119)](_0x577979[_0xe0ad34(0x11c)]))if(_0x577979[_0xe0ad34(0x11c)][_0x58dd17][_0xe0ad34(0x20b)]){const _0x93ad93=_0x577979[_0xe0ad34(0x11c)][_0x58dd17][_0xe0ad34(0x20b)];_0x93ad93[_0xe0ad34(0x191)]?(_0x3439b9[_0xe0ad34(0x1b2)](_0x58dd17),_0x3324d8[_0xe0ad34(0x1c9)](_0x58dd17)&&_0x3324d8[_0xe0ad34(0x25c)](_0x58dd17)[_0xe0ad34(0x1b5)]==_0x93ad93[_0xe0ad34(0x1b5)]?_0x3324d8[_0xe0ad34(0x264)](_0x58dd17):_0x3324d8[_0xe0ad34(0x258)](_0x58dd17,_0x93ad93)):_0x3324d8[_0xe0ad34(0x1c9)](_0x58dd17)?(_0x3439b9[_0xe0ad34(0x264)](_0x58dd17),_0x3324d8[_0xe0ad34(0x264)](_0x58dd17)):(_0x3439b9[_0xe0ad34(0x1b2)](_0x58dd17),_0x3324d8[_0xe0ad34(0x258)](_0x58dd17,_0x93ad93));}else _0x3439b9[_0xe0ad34(0x1b2)](_0x58dd17);}for(const _0x2b1946 of _0x3439b9){const _0x49eb84=_0x3324d8[_0xe0ad34(0x1c9)](_0x2b1946)&&!_0x3324d8[_0xe0ad34(0x25c)](_0x2b1946)[_0xe0ad34(0x191)];let _0x2da7fe=_0x49eb84?_0x2bf371[_0xe0ad34(0x245)]-0x1:0x0;const _0x27a528=_0x49eb84?-0x1:0x1;for(;_0x2bf371[_0x2da7fe];){const _0x248543=_0x2bf371[_0x2da7fe];if(_0x248543[_0xe0ad34(0x11c)][_0x2b1946]){const _0x539e63=_0x49eb84?_0x248543[_0xe0ad34(0x11c)][_0x2b1946][_0xe0ad34(0x1c1)]:_0x248543[_0xe0ad34(0x11c)][_0x2b1946][_0xe0ad34(0x190)];_0x1d80c4[_0xe0ad34(0x11e)][_0x2b1946]=_0x539e63?_0x4e828d(_0x539e63):{};break;}_0x2da7fe+=_0x27a528;}}for(const _0x189630 of _0x2bf371){_0x189630[_0xe0ad34(0x1d8)]={};for(const _0x3f4f1a of _0x189630[_0xe0ad34(0x233)])_0x3e2c06[_0xe0ad34(0x258)](_0x3f4f1a['id'],_0x3f4f1a);for(const _0x1b9b53 of _0x3439b9){const _0x4c2677=_0x189630[_0xe0ad34(0x11c)][_0x1b9b53]?_0x189630[_0xe0ad34(0x11c)][_0x1b9b53][_0xe0ad34(0x1d5)]:'[]',_0x50fc81=_0x189630[_0xe0ad34(0x11c)][_0x1b9b53]?_0x189630[_0xe0ad34(0x11c)][_0x1b9b53][_0xe0ad34(0x1b4)]:'[]';_0x189630[_0xe0ad34(0x1d8)][_0x1b9b53]={'insertions':this[_0xe0ad34(0x182)](_0x4c2677),'deletions':this[_0xe0ad34(0x182)](_0x50fc81)};}}for(const _0x3bfa1e of _0x3439b9){let _0x1734b9=null,_0x7e71e6=0x0;const _0x451876=new Map(Array[_0xe0ad34(0x1f4)](_0x4afb2c[_0xe0ad34(0x1d8)][_0x3bfa1e][_0xe0ad34(0x1d5)][_0xe0ad34(0x12a)])[_0xe0ad34(0x1f6)](([_0x4f4d97])=>!_0x4f4d97[_0xe0ad34(0x261)](_0xe0ad34(0x139))));let _0x3ad829=0x0;for(const _0x27d860 of _0x2bf371){const _0x4ecce7=this[_0xe0ad34(0x22f)](_0x27d860[_0xe0ad34(0x1d8)][_0x3bfa1e][_0xe0ad34(0x1d5)]);_0x27d860==_0x4afb2c?(_0x1734b9=_0x4ecce7,_0x7e71e6=_0x1734b9[_0xe0ad34(0x245)],_0x1734b9[_0xe0ad34(0x1d4)](_0x330cf3=>{_0x330cf3['id']=_0x3ad829++;}),this[_0xe0ad34(0x203)](_0x1734b9)):this[_0xe0ad34(0x126)](_0x1734b9,_0x4ecce7);const _0x48dd01=_0x1734b9[_0xe0ad34(0x1f6)](_0x3e06ed=>!_0x3e06ed[_0xe0ad34(0x255)])[_0xe0ad34(0x22b)](_0x2480db=>_0x2480db['id']);let _0x492ff9=0x0;const _0x9c4d29=this[_0xe0ad34(0x22f)](_0x27d860[_0xe0ad34(0x1d8)][_0x3bfa1e][_0xe0ad34(0x1b4)]);_0x9c4d29[_0xe0ad34(0x1d4)](_0x4a846b=>{const _0xcdfbd0=_0xe0ad34;_0x4a846b[_0xcdfbd0(0x200)]?_0x4a846b['id']=_0x7e71e6++:_0x4a846b['id']=_0x48dd01[_0x492ff9++];}),this[_0xe0ad34(0x203)](_0x9c4d29),this[_0xe0ad34(0x1cc)](_0x1734b9,_0xe0ad34(0x255)),this[_0xe0ad34(0x1cc)](_0x9c4d29,_0xe0ad34(0x200)),_0x27d860==_0x4afb2c&&this[_0xe0ad34(0x1d1)](_0x1734b9,_0x451876),_0x1734b9=this[_0xe0ad34(0x1a6)](_0x1734b9,_0x9c4d29),this[_0xe0ad34(0x16f)](_0x1734b9),this[_0xe0ad34(0x1cc)](_0x1734b9,_0xe0ad34(0x200));}_0x1734b9=_0x1734b9[_0xe0ad34(0x1f6)](_0x5d1af3=>!(_0x5d1af3[_0xe0ad34(0x255)]&&_0x5d1af3[_0xe0ad34(0x200)]));const _0x241fc0=new Map(_0xa6c94[_0xe0ad34(0x1d8)][_0x3bfa1e][_0xe0ad34(0x1b4)][_0xe0ad34(0x12a)]),_0x294426=new Set(_0x451876[_0xe0ad34(0x119)]());for(const _0x25ba2a of _0x241fc0[_0xe0ad34(0x119)]())_0x294426[_0xe0ad34(0x264)](_0x25ba2a);this[_0xe0ad34(0x18f)](_0x1734b9,_0x294426),this[_0xe0ad34(0x17a)](_0x1734b9),_0x1734b9=this[_0xe0ad34(0x239)](_0x1734b9),_0x1734b9=this[_0xe0ad34(0x268)](_0x1734b9),_0x1734b9=this[_0xe0ad34(0x21c)](_0x1734b9);const {root:_0x429016,changes:_0x12e8bf}=this[_0xe0ad34(0x131)](_0x1734b9,_0x3e2c06,_0x3bfa1e);_0x1d80c4[_0xe0ad34(0x1d8)][_0x3bfa1e]=_0x429016;const _0x24d7dd=_0x3324d8[_0xe0ad34(0x25c)](_0x3bfa1e);if(_0x24d7dd){const _0x49f213=_0x3e2c06[_0xe0ad34(0x25c)](_0x24d7dd[_0xe0ad34(0x1b5)]),_0x20bba3=new _0x5068e8({'author':_0x49f213,'type':_0x24d7dd[_0xe0ad34(0x191)]?_0xe0ad34(0x1b2):_0xe0ad34(0x121),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3bfa1e});_0x12e8bf[_0xe0ad34(0x1a5)](_0x20bba3),_0x1d80c4[_0xe0ad34(0x11e)][_0x3bfa1e][_0xe0ad34(0x1cb)]=_0x20bba3['id'];}_0x1d80c4[_0xe0ad34(0x1dc)]=_0x1d80c4[_0xe0ad34(0x1dc)][_0xe0ad34(0x199)](_0x12e8bf);}return _0x1d80c4;}[_0x425093(0x1d1)](_0x3ace3e,_0x1905a4){const _0x2825da=_0x425093;for(let _0x4919f5=0x0;_0x4919f5<_0x3ace3e[_0x2825da(0x245)];_0x4919f5++)for(const [_0x3daefe,_0x348e07]of _0x1905a4)_0x348e07[_0x2825da(0x216)][_0x2825da(0x1ae)](_0x3ace3e[_0x4919f5][_0x2825da(0x240)])&&_0x3ace3e[_0x4919f5][_0x2825da(0x1e4)][_0x2825da(0x12b)](_0x3daefe),_0x348e07[_0x2825da(0x15f)][_0x2825da(0x1ae)](_0x3ace3e[_0x4919f5][_0x2825da(0x1ee)])&&_0x3ace3e[_0x4919f5][_0x2825da(0x1e5)][_0x2825da(0x12b)](_0x3daefe);}[_0x425093(0x1a6)](_0x234ea8,_0x259e19){const _0x224320=_0x425093;let _0x305588=[],_0x33ce1b=0x0,_0x1eafad=0x0;for(;_0x33ce1b<_0x234ea8[_0x224320(0x245)]||_0x1eafad<_0x259e19[_0x224320(0x245)];){const _0x407e53=_0x234ea8[_0x33ce1b]||{},_0x1d388c=_0x259e19[_0x1eafad]||{};if(_0x407e53['id']==_0x1d388c['id'])_0x33ce1b++,_0x1eafad++,_0x305588[_0x224320(0x12b)](_0x407e53);else{if(_0x1d388c[_0x224320(0x200)]&&_0x407e53[_0x224320(0x255)]){const {commonTape:_0xa8fc33,iEnd:_0x5609d3,jEnd:_0x3554e0}=this[_0x224320(0x13c)](_0x234ea8,_0x33ce1b,_0x259e19,_0x1eafad);_0x305588=_0x305588[_0x224320(0x199)](_0xa8fc33),_0x33ce1b=_0x5609d3,_0x1eafad=_0x3554e0;}else _0x1d388c[_0x224320(0x200)]?(_0x1eafad++,_0x305588[_0x224320(0x12b)](_0x1d388c)):(_0x33ce1b++,_0x305588[_0x224320(0x12b)](_0x407e53));}}return _0x305588;}[_0x425093(0x18f)](_0x1509c4,_0x3a2c8d){const _0x54d890=_0x425093,_0x10cadc=[];for(let _0x6b83e6=0x0;_0x6b83e6<_0x1509c4[_0x54d890(0x245)];_0x6b83e6++){for(let _0x19997a=0x0;_0x19997a<_0x1509c4[_0x6b83e6][_0x54d890(0x1e4)][_0x54d890(0x245)];_0x19997a++){const _0x4066b1=_0x1509c4[_0x6b83e6][_0x54d890(0x1e4)][_0x19997a];if(!_0x3a2c8d[_0x54d890(0x1c9)](_0x4066b1))continue;const {group:_0x24faae,type:_0x2fb306,authorId:_0x488580}=_0x4510e7(_0x4066b1);_0x54d890(0x120)!=_0x24faae||_0x54d890(0x1fd)!=_0x2fb306&&_0x54d890(0x1da)!=_0x2fb306||(_0x10cadc[_0x54d890(0x1a5)]({'type':_0x2fb306,'name':_0x4066b1,'userId':_0x488580}),_0x1509c4[_0x6b83e6][_0x54d890(0x1e4)][_0x54d890(0x21b)](_0x19997a,0x1),_0x19997a--);}_0x295025(_0x1509c4[_0x6b83e6]);for(let _0x338265=0x0;_0x338265<_0x1509c4[_0x6b83e6][_0x54d890(0x1e5)][_0x54d890(0x245)];_0x338265++){const _0x29a79a=_0x1509c4[_0x6b83e6][_0x54d890(0x1e5)][_0x338265];if(!_0x3a2c8d[_0x54d890(0x1c9)](_0x29a79a))continue;const {group:_0x53470a,type:_0x3eb0b9}=_0x4510e7(_0x29a79a);if(_0x54d890(0x120)!=_0x53470a||_0x54d890(0x1fd)!=_0x3eb0b9&&_0x54d890(0x1da)!=_0x3eb0b9)continue;_0x1509c4[_0x6b83e6][_0x54d890(0x1e5)][_0x54d890(0x21b)](_0x338265,0x1),_0x338265--;const _0x3ccb59=_0x10cadc[_0x54d890(0x20f)](_0xaeb540=>_0xaeb540[_0x54d890(0x153)]==_0x29a79a);_0x3ccb59>-0x1&&_0x10cadc[_0x54d890(0x21b)](_0x3ccb59,0x1);}}function _0x4510e7(_0x553da3){const _0x1e8e1f=_0x54d890,_0x2376db=_0x553da3[_0x1e8e1f(0x253)](':');return{'group':_0x2376db[0x0],'type':_0x2376db[0x1],'subType':_0x2376db[_0x1e8e1f(0x245)]>=0x5?_0x2376db[0x2]:null,'id':_0x2376db[_0x1e8e1f(0x245)]<0x5?_0x2376db[0x2]:_0x2376db[0x3],'authorId':_0x2376db[_0x1e8e1f(0x245)]<0x5?_0x2376db[0x3]:_0x2376db[0x4],'markerCount':0x6==_0x2376db[_0x1e8e1f(0x245)]?_0x2376db[0x5]:null};}function _0x295025(_0x246e33){const _0x783c5c=_0x54d890;for(let _0x1d2e28=0x0;_0x1d2e28<_0x10cadc[_0x783c5c(0x245)];_0x1d2e28++){if(_0x246e33[_0x783c5c(0x255)]&&_0x783c5c(0x1fd)==_0x10cadc[_0x1d2e28][_0x783c5c(0x161)])return _0x246e33[_0x783c5c(0x20e)]=_0x10cadc[_0x1d2e28],void delete _0x246e33[_0x783c5c(0x255)];if(!_0x246e33[_0x783c5c(0x255)]&&!_0x246e33[_0x783c5c(0x200)]&&_0x783c5c(0x1da)==_0x10cadc[_0x1d2e28][_0x783c5c(0x161)])return void(_0x246e33[_0x783c5c(0x16a)]=_0x10cadc[_0x1d2e28]);}}}[_0x425093(0x1cc)](_0x9d8a4c,_0x2b4ad7){const _0x5f3572=_0x425093;let _0x47d9df=0x0,_0x54f107=!0x1;const _0x5a7950=new Map();for(const _0x514fa3 of _0x9d8a4c)_0x514fa3[_0x2b4ad7]?_0x54f107&&(_0x47d9df++,_0x54f107=!0x1):(_0x47d9df++,_0x54f107=!0x0),_0x5a7950[_0x5f3572(0x258)](_0x514fa3['id'],_0x47d9df);for(let _0x1f937b=0x0;_0x1f937b<_0x9d8a4c[_0x5f3572(0x245)];_0x1f937b++){if(_0x5f3572(0x200)==_0x2b4ad7&&_0x9d8a4c[_0x1f937b][_0x5f3572(0x255)]||_0x5f3572(0x255)==_0x2b4ad7&&_0x9d8a4c[_0x1f937b][_0x5f3572(0x200)])continue;if(_0x5f3572(0x22e)==_0x9d8a4c[_0x1f937b][_0x5f3572(0x161)]){_0x9d8a4c[_0x1f937b][_0x5f3572(0x140)]=0x0;continue;}const _0x122ef3=_0x5a7950[_0x5f3572(0x25c)](_0x9d8a4c[_0x1f937b][_0x5f3572(0x143)]),_0x31c9ed=_0x5a7950[_0x5f3572(0x25c)](_0x9d8a4c[_0x1f937b]['id']);_0x9d8a4c[_0x1f937b][_0x5f3572(0x140)]=_0x122ef3-_0x31c9ed;}}[_0x425093(0x1f9)](_0xb44fb1,_0x4b0806,_0x5b5653=!0x1){const _0x14c4d2=_0x425093,_0x289b23=[];let _0x27a08b=this[_0x14c4d2(0x263)][_0x14c4d2(0x1fb)](_0xb44fb1),_0x1c7e51=this[_0x14c4d2(0x263)][_0x14c4d2(0x1fb)](_0x4b0806);for(-0x1==_0x1c7e51&&(_0x1c7e51=this[_0x14c4d2(0x263)][_0x14c4d2(0x11f)][_0x14c4d2(0x245)],_0x5b5653=!0x1);_0x27a08b<_0x1c7e51;)_0x289b23[_0x14c4d2(0x12b)](this[_0x14c4d2(0x263)][_0x14c4d2(0x177)](_0x27a08b)),_0x27a08b++;return _0x5b5653&&_0x289b23[_0x14c4d2(0x12b)](this[_0x14c4d2(0x263)][_0x14c4d2(0x177)](_0x27a08b)),_0x289b23;}[_0x425093(0x13c)](_0x3538f9,_0x1109c5,_0xb27f44,_0x41c200){const _0x327493=_0x425093,_0x3a91dd=this[_0x327493(0x20a)][_0x327493(0x1d8)][_0x327493(0x227)];let _0x3f14ab=_0x1109c5;for(;_0x3538f9[_0x3f14ab]&&_0x3538f9[_0x3f14ab][_0x327493(0x255)];)_0x3f14ab++;let _0x227e41=_0x41c200;for(;_0xb27f44[_0x227e41]&&_0xb27f44[_0x227e41][_0x327493(0x200)];)_0x227e41++;_0x559ba9(_0x3538f9,_0x1109c5,_0x3f14ab),_0x559ba9(_0xb27f44,_0x41c200,_0x227e41);const _0x4f72ff=_0xb27f44[_0x327493(0x12c)](_0x41c200,_0x227e41)[_0x327493(0x199)](_0x3538f9[_0x327493(0x12c)](_0x1109c5,_0x3f14ab));return _0x4f72ff[_0x327493(0x176)]((_0x2955cc,_0x1213b5)=>_0x2955cc[_0x327493(0x12e)]!=_0x1213b5[_0x327493(0x12e)]?_0x2955cc[_0x327493(0x12e)]-_0x1213b5[_0x327493(0x12e)]:_0x2955cc[_0x327493(0x1e0)]!=_0x1213b5[_0x327493(0x1e0)]?_0x2955cc[_0x327493(0x1e0)]-_0x1213b5[_0x327493(0x1e0)]:_0x2955cc[_0x327493(0x140)]!=_0x1213b5[_0x327493(0x140)]?_0x1213b5[_0x327493(0x140)]-_0x2955cc[_0x327493(0x140)]:!!_0x2955cc[_0x327493(0x255)]!=!!_0x1213b5[_0x327493(0x255)]?-0x1==_0x2955cc[_0x327493(0x12e)]||0x0==_0x2955cc[_0x327493(0x12e)]?_0x2955cc[_0x327493(0x255)]?-0x1:0x1:_0x2955cc[_0x327493(0x255)]?0x1:-0x1:_0x2955cc[_0x327493(0x184)]-_0x1213b5[_0x327493(0x184)]),{'commonTape':_0x4f72ff,'iEnd':_0x3f14ab,'jEnd':_0x227e41};function _0x559ba9(_0x3a7b3c,_0x4ee59f,_0x24092f){const _0x45cb24=_0x327493;let _0x45f0ce=-0x1,_0x56c9a6=Number[_0x45cb24(0x1e1)],_0x26bcc0=!0x0;for(let _0x59ed9a=_0x4ee59f;_0x59ed9a<_0x24092f;_0x59ed9a++)if(_0x3a91dd[_0x45cb24(0x172)](_0x3a7b3c[_0x59ed9a][_0x45cb24(0x260)])||(_0x26bcc0=!0x1),_0x3a7b3c[_0x59ed9a][_0x45cb24(0x260)][_0x45cb24(0x17c)]<_0x4ee59f&&(_0x45f0ce=_0x59ed9a),_0x3a7b3c[_0x59ed9a][_0x45cb24(0x260)][_0x45cb24(0x141)]>=_0x24092f){_0x56c9a6=_0x59ed9a;break;}_0x26bcc0&&(_0x45f0ce=_0x24092f-0x1);for(let _0x334706=_0x4ee59f;_0x334706<_0x24092f;_0x334706++)_0x3a7b3c[_0x334706][_0x45cb24(0x12e)]=_0x334706<=_0x45f0ce?-0x1:_0x334706<_0x56c9a6?0x0:0x1,_0x3a7b3c[_0x334706][_0x45cb24(0x184)]=_0x334706;let _0x58c1fd=0x0;for(let _0x70d870=_0x4ee59f;_0x70d870<=_0x45f0ce;_0x70d870++)0x0==_0x3a7b3c[_0x70d870][_0x45cb24(0x140)]?_0x3a7b3c[_0x70d870][_0x45cb24(0x1e0)]=_0x58c1fd:(_0x58c1fd++,_0x3a7b3c[_0x70d870][_0x45cb24(0x1e0)]=_0x58c1fd,_0x58c1fd++);for(let _0x3e37a7=_0x4ee59f;_0x3e37a7<_0x24092f;_0x3e37a7++)0x0==_0x3a7b3c[_0x3e37a7][_0x45cb24(0x12e)]&&(_0x3a7b3c[_0x3e37a7][_0x45cb24(0x1e0)]=_0x58c1fd);_0x58c1fd=0x0;for(let _0x4760d9=_0x24092f-0x1;_0x4760d9>=_0x56c9a6;_0x4760d9--)0x0==_0x3a7b3c[_0x4760d9][_0x45cb24(0x140)]?_0x3a7b3c[_0x4760d9][_0x45cb24(0x1e0)]=_0x58c1fd:(_0x58c1fd--,_0x3a7b3c[_0x4760d9][_0x45cb24(0x1e0)]=_0x58c1fd,_0x58c1fd--);}}[_0x425093(0x17a)](_0x56efa8){const _0x40bde3=_0x425093,_0x56f00e=new Map(),_0x172ac7=this[_0x40bde3(0x20a)][_0x40bde3(0x1d8)][_0x40bde3(0x227)];for(let _0x3107b4=0x1;_0x3107b4<_0x56efa8[_0x40bde3(0x245)];_0x3107b4++){let _0x4e2067,_0x137e04,_0x5a4914;const _0x2f3a18=_0x56efa8[_0x3107b4],_0xee9c2c=_0x56efa8[_0x3107b4-0x1];if(_0x40bde3(0x22e)==_0x2f3a18[_0x40bde3(0x161)])continue;if(_0x2f3a18[_0x40bde3(0x161)]!=_0xee9c2c[_0x40bde3(0x161)])continue;if(!_0x172ac7[_0x40bde3(0x137)](_0xee9c2c[_0x40bde3(0x260)])||_0x172ac7[_0x40bde3(0x173)](_0xee9c2c[_0x40bde3(0x260)]))continue;if(!_0x172ac7[_0x40bde3(0x137)](_0x2f3a18[_0x40bde3(0x260)])||_0x172ac7[_0x40bde3(0x173)](_0x2f3a18[_0x40bde3(0x260)]))continue;if((_0x56efa8[_0x3107b4][_0x40bde3(0x255)]||_0x56efa8[_0x3107b4][_0x40bde3(0x20e)])&&_0x56efa8[_0x3107b4-0x1][_0x40bde3(0x200)])_0x4e2067=_0x56efa8[_0x3107b4],_0x137e04=_0x56efa8[_0x3107b4-0x1],_0x5a4914=_0x3107b4-0x1;else{if(!_0x56efa8[_0x3107b4][_0x40bde3(0x200)]||!_0x56efa8[_0x3107b4-0x1][_0x40bde3(0x255)]&&!_0x56efa8[_0x3107b4-0x1][_0x40bde3(0x20e)])continue;_0x4e2067=_0x56efa8[_0x3107b4-0x1],_0x137e04=_0x56efa8[_0x3107b4],_0x5a4914=_0x3107b4;}const _0x24bd0f=_0x4e2067[_0x40bde3(0x1e0)]==_0x137e04[_0x40bde3(0x1e0)],_0x47e6c0=Math[_0x40bde3(0x1eb)](_0x4e2067[_0x40bde3(0x1e0)])<Math[_0x40bde3(0x1eb)](_0x137e04[_0x40bde3(0x1e0)])&&0x0==_0x137e04[_0x40bde3(0x140)];(_0x24bd0f||_0x47e6c0)&&(_0x56f00e[_0x40bde3(0x258)](_0x137e04['id'],_0x4e2067['id']),_0x56efa8[_0x40bde3(0x21b)](_0x5a4914,0x1),_0x3107b4--,_0x4e2067[_0x40bde3(0x255)]=!0x1);}for(let _0x239334=0x0;_0x239334<_0x56efa8[_0x40bde3(0x245)];_0x239334++)_0x56f00e[_0x40bde3(0x1c9)](_0x56efa8[_0x239334][_0x40bde3(0x143)])&&(_0x56efa8[_0x239334][_0x40bde3(0x143)]=_0x56f00e[_0x40bde3(0x25c)](_0x56efa8[_0x239334][_0x40bde3(0x143)]));}[_0x425093(0x239)](_0x1d1f05){const _0x49bb20=_0x425093,_0x2c91c5=new Set(_0x1d1f05[_0x49bb20(0x22b)](_0x132ad1=>_0x132ad1['id']));for(let _0x11c73f=0x0;_0x11c73f<_0x1d1f05[_0x49bb20(0x245)];_0x11c73f++)_0x2c91c5[_0x49bb20(0x1c9)](_0x1d1f05[_0x11c73f][_0x49bb20(0x143)])||0x0==_0x1d1f05[_0x11c73f][_0x49bb20(0x140)]||(_0x1d1f05[_0x11c73f][_0x49bb20(0x24c)]=!0x0);return _0x1d1f05[_0x49bb20(0x1f6)](_0xfe7c84=>!_0xfe7c84[_0x49bb20(0x24c)]);}[_0x425093(0x268)](_0x4dfe08){const _0x47eadb=_0x425093,_0x3c7601=new Set();for(let _0x4d5f5b=0x0;_0x4d5f5b<_0x4dfe08[_0x47eadb(0x245)];_0x4d5f5b++){if(_0x3c7601[_0x47eadb(0x1c9)](_0x4dfe08[_0x4d5f5b]['id'])&&_0x4dfe08[_0x4d5f5b][_0x47eadb(0x200)]&&(_0x4dfe08[_0x4d5f5b][_0x47eadb(0x24c)]=!0x0),_0x4dfe08[_0x4d5f5b][_0x47eadb(0x24c)])continue;if(0x0==_0x4dfe08[_0x4d5f5b][_0x47eadb(0x140)])continue;if(_0x47eadb(0x1bb)!=_0x4dfe08[_0x4d5f5b][_0x47eadb(0x161)])continue;if(null==_0x4dfe08[_0x4d5f5b][_0x47eadb(0x143)])continue;let _0x1eacee=_0x4d5f5b+0x1,_0x33dfd1=0x0;for(;_0x4dfe08[_0x1eacee]['id']!=_0x4dfe08[_0x4d5f5b][_0x47eadb(0x143)];)_0x47eadb(0x1bb)==_0x4dfe08[_0x1eacee][_0x47eadb(0x161)]?_0x33dfd1++:_0x47eadb(0x196)==_0x4dfe08[_0x1eacee][_0x47eadb(0x161)]&&_0x33dfd1--,_0x1eacee++;if(0x0!=_0x33dfd1){if(_0x4dfe08[_0x4d5f5b][_0x47eadb(0x200)])_0x4dfe08[_0x4d5f5b][_0x47eadb(0x24c)]=!0x0;else{for(;_0x1eacee!=_0x4d5f5b;)_0x4dfe08[_0x1eacee][_0x47eadb(0x200)]&&0x0!=_0x4dfe08[_0x1eacee][_0x47eadb(0x140)]&&(_0x4dfe08[_0x1eacee][_0x47eadb(0x24c)]=!0x0,_0x3c7601[_0x47eadb(0x1b2)](_0x4dfe08[_0x1eacee][_0x47eadb(0x143)])),_0x1eacee--;}}}return _0x4dfe08[_0x47eadb(0x1f6)](_0x2e61ad=>!_0x2e61ad[_0x47eadb(0x24c)]);}[_0x425093(0x21c)](_0x142d58){const _0x3f83ef=_0x425093,_0x1a9a8a=this[_0x3f83ef(0x20a)][_0x3f83ef(0x1d8)][_0x3f83ef(0x227)];for(let _0x4f0f21=0x0;_0x4f0f21<_0x142d58[_0x3f83ef(0x245)];_0x4f0f21++){if(!(_0x142d58[_0x4f0f21][_0x3f83ef(0x255)]||_0x142d58[_0x4f0f21][_0x3f83ef(0x20e)]||_0x142d58[_0x4f0f21][_0x3f83ef(0x200)]||_0x142d58[_0x4f0f21][_0x3f83ef(0x16a)]))continue;if(0x0==_0x142d58[_0x4f0f21][_0x3f83ef(0x140)])continue;const _0x3e23d9=_0x142d58[_0x4f0f21][_0x3f83ef(0x260)];_0x1a9a8a[_0x3f83ef(0x137)](_0x3e23d9)||_0x1a9a8a[_0x3f83ef(0x173)](_0x3e23d9)||(_0x142d58[_0x4f0f21][_0x3f83ef(0x255)]&&delete _0x142d58[_0x4f0f21][_0x3f83ef(0x255)],_0x142d58[_0x4f0f21][_0x3f83ef(0x20e)]&&delete _0x142d58[_0x4f0f21][_0x3f83ef(0x20e)],_0x142d58[_0x4f0f21][_0x3f83ef(0x16a)]&&delete _0x142d58[_0x4f0f21][_0x3f83ef(0x16a)],_0x142d58[_0x4f0f21][_0x3f83ef(0x200)]&&(_0x142d58[_0x4f0f21][_0x3f83ef(0x24c)]=!0x0));}return _0x142d58[_0x3f83ef(0x1f6)](_0x492bd4=>!_0x492bd4[_0x3f83ef(0x24c)]);}[_0x425093(0x131)](_0x58ebe5,_0x46a3cb,_0x26253b){const _0xd94895=_0x425093,_0x23e6c8=new _0x162856(),_0x4bd67f=[],_0x27859b=new Map(),_0x165f88=this[_0xd94895(0x20a)][_0xd94895(0x1d8)],_0x22d882=_0x165f88[_0xd94895(0x227)],_0x1b1517=[_0x23e6c8],_0x43207f={},_0x1d7370={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x17ce71=null;const _0x14e18c=[0x0];for(let _0x2052d5=0x0;_0x2052d5<_0x58ebe5[_0xd94895(0x245)];_0x2052d5++){let _0x5535eb,_0x543ebe;if(_0xd94895(0x1bb)===_0x58ebe5[_0x2052d5][_0xd94895(0x161)]){_0x5535eb=_0x165f88[_0xd94895(0x15b)](_0x23e6c8,_0x14e18c);const _0x36636d=new _0x18a341(_0x58ebe5[_0x2052d5][_0xd94895(0x260)][_0xd94895(0x153)],_0x58ebe5[_0x2052d5][_0xd94895(0x260)][_0xd94895(0x1ed)]());_0x1b1517[0x0][_0xd94895(0x206)](_0x36636d),_0x14e18c[_0xd94895(0x12b)](0x0),_0x1b1517[_0xd94895(0x1a5)](_0x36636d),_0x543ebe=_0x165f88[_0xd94895(0x15b)](_0x23e6c8,_0x14e18c),_0x17ce71=null;}else{if(_0xd94895(0x196)===_0x58ebe5[_0x2052d5][_0xd94895(0x161)])_0x1b1517[_0xd94895(0x223)](),_0x5535eb=_0x165f88[_0xd94895(0x15b)](_0x23e6c8,_0x14e18c),_0x14e18c[_0xd94895(0x238)](),_0x14e18c[_0x14e18c[_0xd94895(0x245)]-0x1]++,_0x543ebe=_0x165f88[_0xd94895(0x15b)](_0x23e6c8,_0x14e18c),_0x17ce71=null;else{if(_0x5535eb=_0x165f88[_0xd94895(0x15b)](_0x23e6c8,_0x14e18c),_0x17ce71&&_0x5a952c(_0x17ce71,_0x58ebe5[_0x2052d5][_0xd94895(0x260)]))_0x17ce71[_0xd94895(0x169)]+=_0x58ebe5[_0x2052d5][_0xd94895(0x260)][_0xd94895(0x1ad)];else{const _0x370e66=new _0x493158(_0x58ebe5[_0x2052d5][_0xd94895(0x260)][_0xd94895(0x1ad)],_0x58ebe5[_0x2052d5][_0xd94895(0x260)][_0xd94895(0x1ed)]());_0x1b1517[0x0][_0xd94895(0x206)](_0x370e66),_0x17ce71=_0x370e66;}_0x14e18c[_0x14e18c[_0xd94895(0x245)]-0x1]+=_0x58ebe5[_0x2052d5][_0xd94895(0x260)][_0xd94895(0x13f)],_0x543ebe=_0x165f88[_0xd94895(0x15b)](_0x23e6c8,_0x14e18c);}}for(const _0x21bdc5 of _0x58ebe5[_0x2052d5][_0xd94895(0x1e4)])_0x27859b[_0xd94895(0x258)](_0x21bdc5,{'start':_0x5535eb,'end':null});_0x3314ce(_0xd94895(0x16a),_0x2052d5,_0x5535eb,_0x543ebe),_0x3314ce(_0xd94895(0x20e),_0x2052d5,_0x5535eb,_0x543ebe),_0x3314ce(_0xd94895(0x200),_0x2052d5,_0x5535eb,_0x543ebe),_0x3314ce(_0xd94895(0x255),_0x2052d5,_0x5535eb,_0x543ebe);for(const _0x2b27ac of _0x58ebe5[_0x2052d5][_0xd94895(0x1e5)]){_0x27859b[_0xd94895(0x25c)](_0x2b27ac)[_0xd94895(0x15f)]=_0x543ebe;}}for(const [_0x3c44ae,_0x40c13a]of _0x27859b){const _0x451359=this[_0xd94895(0x20a)][_0xd94895(0x1d8)][_0xd94895(0x1fe)](_0x40c13a[_0xd94895(0x216)],_0x40c13a[_0xd94895(0x15f)]);_0x23e6c8[_0xd94895(0x12a)][_0xd94895(0x258)](_0x3c44ae,_0x451359);}return _0x4bd67f[_0xd94895(0x176)]((_0x558d48,_0x810239)=>{const _0xb192a6=_0xd94895,_0xeb0269=_0x23e6c8[_0xb192a6(0x12a)][_0xb192a6(0x25c)](_0xb192a6(0x139)+_0x558d48['id']),_0x50e74d=_0x23e6c8[_0xb192a6(0x12a)][_0xb192a6(0x25c)](_0xb192a6(0x139)+_0x810239['id']);return _0xeb0269[_0xb192a6(0x216)][_0xb192a6(0x11d)](_0x50e74d[_0xb192a6(0x216)])?-0x1:_0xeb0269[_0xb192a6(0x216)][_0xb192a6(0x171)](_0x50e74d[_0xb192a6(0x216)])?0x1:_0xeb0269[_0xb192a6(0x15f)][_0xb192a6(0x11d)](_0x50e74d[_0xb192a6(0x15f)])?-0x1:_0xeb0269[_0xb192a6(0x15f)][_0xb192a6(0x171)](_0x50e74d[_0xb192a6(0x15f)])?0x1:_0xb192a6(0x1b2)===_0x558d48[_0xb192a6(0x161)]?-0x1:0x1;}),{'root':_0x23e6c8,'changes':_0x4bd67f};function _0x3314ce(_0x22db81,_0x51d3ed,_0x1af1d4,_0x2342c5){const _0x5516d5=_0xd94895,_0x59a2da=!!_0x58ebe5[_0x51d3ed][_0x22db81],_0x5ab87a=_0x59a2da?_0x58ebe5[_0x51d3ed][_0x22db81][_0x5516d5(0x1b5)]:null,_0x368b9e=_0x51d3ed===_0x58ebe5[_0x5516d5(0x245)]-0x1,_0x2ee94a=_0x1d7370[_0x22db81][0x0],_0x24f3d7=_0x22d882[_0x5516d5(0x152)](_0x58ebe5[_0x51d3ed][_0x5516d5(0x260)]);!_0x43207f[_0x22db81]&&_0x59a2da?_0x43207f[_0x22db81]={'start':_0x1af1d4,'tapeItem':_0x58ebe5[_0x51d3ed],'userId':_0x5ab87a,'type':_0x22db81}:_0x43207f[_0x22db81]&&!_0x59a2da?(_0x43207f[_0x22db81][_0x5516d5(0x15f)]=_0x1af1d4,_0x40b693(_0x43207f[_0x22db81]),_0x43207f[_0x22db81]=null):_0x43207f[_0x22db81]&&_0x59a2da&&_0x43207f[_0x22db81][_0x5516d5(0x1b5)]!==_0x5ab87a&&(_0x43207f[_0x22db81][_0x5516d5(0x15f)]=_0x1af1d4,_0x2ee94a&&_0x2ee94a[_0x5516d5(0x1b5)]===_0x43207f[_0x22db81][_0x5516d5(0x1b5)]||_0x40b693(_0x43207f[_0x22db81]),_0x43207f[_0x22db81]={'start':_0x1af1d4,'tapeItem':_0x58ebe5[_0x51d3ed],'userId':_0x5ab87a,'type':_0x22db81}),_0x43207f[_0x22db81]&&_0x24f3d7&&(_0x5516d5(0x1bb)!==_0x58ebe5[_0x51d3ed][_0x5516d5(0x161)]||_0x2ee94a&&_0x2ee94a[_0x5516d5(0x1b5)]===_0x5ab87a||_0x1d7370[_0x22db81][_0x5516d5(0x1a5)]({'userId':_0x5ab87a,'object':_0x58ebe5[_0x51d3ed][_0x5516d5(0x260)],'change':_0x43207f[_0x22db81]}),_0x5516d5(0x196)===_0x58ebe5[_0x51d3ed][_0x5516d5(0x161)]&&_0x2ee94a&&_0x2ee94a[_0x5516d5(0x1c8)]===_0x58ebe5[_0x51d3ed][_0x5516d5(0x260)]&&(_0x1d7370[_0x22db81][_0x5516d5(0x223)](),_0x43207f[_0x22db81]=_0x2ee94a[_0x5516d5(0x246)])),_0x43207f[_0x22db81]&&_0x368b9e&&(_0x43207f[_0x22db81][_0x5516d5(0x15f)]=_0x2342c5,_0x40b693(_0x43207f[_0x22db81]),_0x43207f[_0x22db81]=null);}function _0x40b693({start:_0x274383,end:_0x444b15,tapeItem:_0x2ae4f9,userId:_0x49c0e3,type:_0x2f1c98}){const _0x171653=_0xd94895,_0x5aa613=_0x2ae4f9[_0x171653(0x260)],_0xda86c1=_0x165f88[_0x171653(0x227)][_0x171653(0x137)](_0x5aa613)&&!_0x165f88[_0x171653(0x227)][_0x171653(0x173)](_0x5aa613),_0x1a7f7b=_0x274383[_0x171653(0x11a)]==_0x444b15[_0x171653(0x21a)]&&_0x444b15[_0x171653(0x135)];if(_0xda86c1&&_0x1a7f7b)return;const _0x26f95a=_0x165f88[_0x171653(0x1fe)](_0x274383,_0x444b15),_0x2ce4c3=_0x46a3cb[_0x171653(0x25c)](_0x49c0e3),_0x25ad35=new _0x5068e8({'author':_0x2ce4c3,'type':_0x171653(0x255)==_0x2f1c98||_0x171653(0x20e)==_0x2f1c98?_0x171653(0x1b2):_0x171653(0x121),'data':{'isSuggestion':_0x171653(0x20e)==_0x2f1c98||_0x171653(0x16a)==_0x2f1c98},'createdAt':new Date(),'rootName':_0x26253b});_0x4bd67f[_0x171653(0x12b)](_0x25ad35),_0x23e6c8[_0x171653(0x12a)][_0x171653(0x258)](_0x171653(0x139)+_0x25ad35['id'],_0x26f95a);}function _0x5a952c(_0x344a5c,_0x58c9f5){const _0x19cb64=_0xd94895,_0x45aa54=_0x344a5c[_0x19cb64(0x1ed)](),_0x43bf47=_0x58c9f5[_0x19cb64(0x1ed)]();for(const _0x2d7343 of _0x45aa54){if(_0x2d7343[0x1]!==_0x58c9f5[_0x19cb64(0x124)](_0x2d7343[0x0]))return!0x1;_0x43bf47[_0x19cb64(0x12f)]();}return _0x43bf47[_0x19cb64(0x12f)]()[_0x19cb64(0x23d)];}}[_0x425093(0x123)](){const _0x3360e7=_0x425093;this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x1ca))[_0x3360e7(0x13a)]({'view':_0x3360e7(0x244)}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x232))[_0x3360e7(0x1f7)]({'model':_0x3360e7(0x244),'view':_0x558dab=>{const _0x3ab35b=_0x3360e7,_0x46b2f7=_0x558dab[_0x3ab35b(0x241)][_0x3ab35b(0x253)](':')[0x1],_0x12fffa=this[_0x3ab35b(0x192)](_0x46b2f7);if(!_0x12fffa)return null;const _0x22469a=_0x3ab35b(0x1b2)==_0x12fffa[_0x3ab35b(0x161)]?_0x3ab35b(0x1fd):_0x3ab35b(0x1da),_0x6bc58f=[_0x3ab35b(0x16c),_0x3ab35b(0x209)+_0x22469a];return _0x12fffa[_0x3ab35b(0x1ad)][_0x3ab35b(0x257)]&&_0x6bc58f[_0x3ab35b(0x12b)](_0x3ab35b(0x209)+_0x22469a+_0x3ab35b(0x163)),this[_0x3ab35b(0x1f2)]==_0x12fffa&&_0x6bc58f[_0x3ab35b(0x12b)](_0x3ab35b(0x22d)),{'classes':_0x6bc58f,'attributes':{'data-change-id':_0x46b2f7}};}}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x1ca))[_0x3360e7(0x1b2)](_0x48f42b=>{const _0x41664d=_0x3360e7;_0x48f42b['on'](_0x41664d(0x19b),(_0x5bb3e9,_0x44a904,_0x2a7388)=>{const _0x41bfbc=_0x41664d,_0x7bc087=_0x44a904[_0x41bfbc(0x148)][_0x41bfbc(0x1ab)](0x0);if(!_0x7bc087||!_0x7bc087['is'](_0x41bfbc(0x252),_0x41bfbc(0x15d)))return;if(!_0x2a7388[_0x41bfbc(0x225)][_0x41bfbc(0x147)](_0x7bc087,{'attributes':[_0x41bfbc(0x1d2),_0x41bfbc(0x23e)]}))return;const _0x5dd637=_0x44a904[_0x41bfbc(0x179)][_0x41bfbc(0x216)][_0x41bfbc(0x11a)];_0x2a7388[_0x41bfbc(0x265)][_0x41bfbc(0x243)](_0x41bfbc(0x1d2),_0x7bc087[_0x41bfbc(0x124)](_0x41bfbc(0x1d2)),_0x5dd637),_0x2a7388[_0x41bfbc(0x265)][_0x41bfbc(0x243)](_0x41bfbc(0x23e),_0x7bc087[_0x41bfbc(0x124)](_0x41bfbc(0x23e)),_0x5dd637);},{'priority':_0x41664d(0x218)});}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x1ca))[_0x3360e7(0x1b2)](_0x2d8bde=>{const _0x5c596b=_0x3360e7;_0x2d8bde['on'](_0x5c596b(0x252),(_0x3cd422,_0x465277,_0x3337ae)=>{const _0x393916=_0x5c596b;if(!_0x3337ae[_0x393916(0x225)][_0x393916(0x147)](_0x465277[_0x393916(0x148)],{'attributes':[_0x393916(0x1d2),_0x393916(0x23e)]}))return;if(_0x465277[_0x393916(0x179)][_0x393916(0x165)])return;const _0x36569a=_0x465277[_0x393916(0x179)][_0x393916(0x216)][_0x393916(0x11a)];_0x36569a[_0x393916(0x213)](_0x393916(0x1d2))||_0x36569a[_0x393916(0x213)](_0x393916(0x1dd))||(_0x3337ae[_0x393916(0x265)][_0x393916(0x243)](_0x393916(0x1d2),_0x465277[_0x393916(0x148)][_0x393916(0x124)](_0x393916(0x1d2)),_0x36569a),_0x3337ae[_0x393916(0x265)][_0x393916(0x243)](_0x393916(0x23e),_0x465277[_0x393916(0x148)][_0x393916(0x124)](_0x393916(0x23e)),_0x36569a));},{'priority':_0x5c596b(0x218)});}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x1ca))[_0x3360e7(0x214)]({'view':{'name':_0x3360e7(0x224),'attributes':{'vid':!0x0}},'model':{'key':_0x3360e7(0x1dd),'value':_0x22b1a9=>_0x22b1a9[_0x3360e7(0x124)](_0x3360e7(0x1dd))}}),this[_0x3360e7(0x20a)][_0x3360e7(0x1d8)][_0x3360e7(0x227)]['on'](_0x3360e7(0x1ec),(_0xbe0a69,[,_0x29df83])=>{const _0x36e85c=_0x3360e7;[_0x36e85c(0x1d2),_0x36e85c(0x23e),_0x36e85c(0x1dd)][_0x36e85c(0x12d)](_0x29df83)&&(_0xbe0a69[_0x36e85c(0x23b)]=!0x0,_0xbe0a69[_0x36e85c(0x1ba)]());},{'priority':_0x3360e7(0x154)}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x129))[_0x3360e7(0x1b2)](_0x421965=>{const _0x2b814a=_0x3360e7;_0x421965['on'](_0x2b814a(0x146),(_0x5c66dc,_0x4563d4,_0x1cf259)=>{const _0x2224a6=_0x2b814a;if('\x20'!=_0x4563d4[_0x2224a6(0x260)][_0x2224a6(0x1ad)]||_0x4563d4[_0x2224a6(0x260)][_0x2224a6(0x21a)][_0x2224a6(0x256)]>0x1)return;if(!_0x1cf259[_0x2224a6(0x225)][_0x2224a6(0x147)](_0x4563d4[_0x2224a6(0x260)],_0x5c66dc[_0x2224a6(0x153)]))return;const _0x35b9f5=_0x1cf259[_0x2224a6(0x265)],_0x44eb62=_0x1cf259[_0x2224a6(0x18b)][_0x2224a6(0x1a1)](_0x4563d4[_0x2224a6(0x198)]);_0x35b9f5[_0x2224a6(0x1f8)](_0x44eb62,_0x35b9f5[_0x2224a6(0x1c4)](_0x2224a6(0x224)));});}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x129))[_0x3360e7(0x18d)]({'model':_0x3360e7(0x244)}),this[_0x3360e7(0x20a)][_0x3360e7(0x17d)][_0x3360e7(0x25b)]['on'](_0x3360e7(0x1ea),function(_0x3c9d8a){const _0x316732=_0x3360e7,_0x179d4b=_0x3c9d8a[_0x316732(0x15e)][_0x316732(0x25c)](_0x316732(0x164));return(_0x3a74f4,_0x441934,_0x538b9d)=>{const _0x3d7ca9=_0x316732,_0x1d374a=_0x441934[_0x3d7ca9(0x241)][_0x3d7ca9(0x253)](':')[0x1],_0xf0a722=_0x179d4b[_0x3d7ca9(0x192)](_0x1d374a);if(!_0xf0a722)return null;const _0x48477a=_0x3d7ca9(0x1b2)==_0xf0a722[_0x3d7ca9(0x161)]?_0x3d7ca9(0x253):_0x3d7ca9(0x242);if(!_0x538b9d[_0x3d7ca9(0x225)][_0x3d7ca9(0x21f)](_0x441934[_0x3d7ca9(0x1ef)],_0x3a74f4[_0x3d7ca9(0x153)]))return;const _0x44b79f=_0x441934[_0x3d7ca9(0x1ef)][_0x3d7ca9(0x142)](),_0x2db86c=_0x441934[_0x3d7ca9(0x1ef)][_0x3d7ca9(0x216)],_0x24656d=_0x3c9d8a[_0x3d7ca9(0x1d8)][_0x3d7ca9(0x227)];let _0x2f747c=null,_0xd76d7a=null,_0x159642=!0x1,_0x365c0d=!0x1;for(const _0x177c40 of _0x44b79f){const _0xa92714=_0x177c40[_0x3d7ca9(0x260)];_0x159642=_0x159642||_0x24656d[_0x3d7ca9(0x237)](_0xa92714);const _0x52f077=_0x538b9d[_0x3d7ca9(0x18b)][_0x3d7ca9(0x230)](_0xa92714);if(_0x52f077&&_0x52f077[_0x3d7ca9(0x25d)](_0x3d7ca9(0x1b9)))return;_0x3d7ca9(0x196)==_0x177c40[_0x3d7ca9(0x161)]&&(_0x24656d[_0x3d7ca9(0x137)](_0xa92714)&&!_0x24656d[_0x3d7ca9(0x173)](_0xa92714)&&(_0xa92714[_0x3d7ca9(0x138)]||_0x2db86c[_0x3d7ca9(0x1f3)]?_0x2f747c&&_0x2f747c[_0x3d7ca9(0x21a)]==_0xa92714||(_0x2f747c=_0xa92714,_0x368bde(_0x177c40[_0x3d7ca9(0x240)]),_0x365c0d=!0x0):_0xd76d7a=_0xd76d7a||_0x177c40[_0x3d7ca9(0x240)]));}function _0x368bde(_0x2d65e3){const _0x4757d5=_0x3d7ca9,_0x4ec8cc=_0x538b9d[_0x4757d5(0x265)][_0x4757d5(0x14c)](_0x4757d5(0x224),{'class':_0x4757d5(0x209)+_0x48477a}),_0x493389=_0x538b9d[_0x4757d5(0x18b)][_0x4757d5(0x18c)](_0x2d65e3);_0xf0a722[_0x4757d5(0x1ad)][_0x4757d5(0x257)]&&_0x538b9d[_0x4757d5(0x265)][_0x4757d5(0x1c3)](_0x4757d5(0x209)+_0x48477a+_0x4757d5(0x163),_0x4ec8cc),_0x179d4b[_0x4757d5(0x1f2)]==_0xf0a722&&_0x538b9d[_0x4757d5(0x265)][_0x4757d5(0x1c3)](_0x4757d5(0x22d),_0x4ec8cc),_0x538b9d[_0x4757d5(0x265)][_0x4757d5(0x1c5)](_0x493389,_0x4ec8cc),_0x538b9d[_0x4757d5(0x18b)][_0x4757d5(0x1aa)](_0x4ec8cc,_0x441934[_0x4757d5(0x241)]);}_0x159642||_0x365c0d||!_0xd76d7a||_0x368bde(_0xd76d7a);};}(this[_0x3360e7(0x20a)]),{'priority':_0x3360e7(0x1e2)}),this[_0x3360e7(0x20a)][_0x3360e7(0x17d)][_0x3360e7(0x25b)]['on'](_0x3360e7(0x170),(_0x3ce46c,_0x171356,_0xe9562)=>{const _0x19fc45=_0x3360e7,_0x57383d=_0xe9562[_0x19fc45(0x18b)][_0x19fc45(0x1a4)](_0x171356[_0x19fc45(0x241)]);if(_0x57383d){for(const _0x3d6119 of _0x57383d)(_0x3d6119[_0x19fc45(0x144)](_0x19fc45(0x130))||_0x3d6119[_0x19fc45(0x144)](_0x19fc45(0x1b0)))&&(_0xe9562[_0x19fc45(0x18b)][_0x19fc45(0x23a)](_0x3d6119,_0x171356[_0x19fc45(0x241)]),_0xe9562[_0x19fc45(0x265)][_0x19fc45(0x121)](_0x3d6119));}},{'priority':_0x3360e7(0x1e2)}),this[_0x3360e7(0x20a)][_0x3360e7(0x17d)][_0x3360e7(0x25b)]['on'](_0x3360e7(0x1ea),(_0x40a747,_0x409c60,_0x5e45d0)=>{const _0x4457ab=_0x3360e7,_0x5c2f7e=_0x409c60[_0x4457ab(0x241)][_0x4457ab(0x253)](':')[0x1],_0x3d68c7=this[_0x4457ab(0x192)](_0x5c2f7e);if(!_0x3d68c7)return null;const _0x7417fd=_0x4457ab(0x1b2)==_0x3d68c7[_0x4457ab(0x161)]?_0x4457ab(0x253):_0x4457ab(0x242);if(_0x5e45d0[_0x4457ab(0x225)][_0x4457ab(0x21f)](_0x409c60[_0x4457ab(0x1ef)],_0x40a747[_0x4457ab(0x153)]))for(const _0xd69822 of _0x409c60[_0x4457ab(0x1ef)][_0x4457ab(0x134)]()){if(!_0xd69822['is'](_0x4457ab(0x252),_0x4457ab(0x16b)))continue;const _0x13ffd2=_0x5e45d0[_0x4457ab(0x265)][_0x4457ab(0x14c)](_0x4457ab(0x224),{'class':_0x4457ab(0x209)+_0x7417fd}),_0x471f27=_0x5e45d0[_0x4457ab(0x18b)][_0x4457ab(0x18c)](this[_0x4457ab(0x20a)][_0x4457ab(0x1d8)][_0x4457ab(0x202)](_0xd69822));_0x3d68c7[_0x4457ab(0x1ad)][_0x4457ab(0x257)]&&_0x5e45d0[_0x4457ab(0x265)][_0x4457ab(0x1c3)](_0x4457ab(0x209)+_0x7417fd+_0x4457ab(0x163),_0x13ffd2),this[_0x4457ab(0x1f2)]==_0x3d68c7&&_0x5e45d0[_0x4457ab(0x265)][_0x4457ab(0x1c3)](_0x4457ab(0x22d),_0x13ffd2),_0x5e45d0[_0x4457ab(0x265)][_0x4457ab(0x1c5)](_0x471f27,_0x13ffd2),_0x5e45d0[_0x4457ab(0x18b)][_0x4457ab(0x1aa)](_0x13ffd2,_0x409c60[_0x4457ab(0x241)]);}},{'priority':_0x3360e7(0x1e2)}),this[_0x3360e7(0x20a)][_0x3360e7(0x1d8)][_0x3360e7(0x226)]['on'](_0x3360e7(0x246),()=>{const _0x59aca5=_0x3360e7;this[_0x59aca5(0x20a)][_0x59aca5(0x17d)][_0x59aca5(0x1af)][_0x59aca5(0x246)](_0x5bfb7d=>{const _0x1fd62c=_0x59aca5;for(const _0x17a3ec of this[_0x1fd62c(0x20a)][_0x1fd62c(0x1d8)][_0x1fd62c(0x226)][_0x1fd62c(0x18a)]()){const _0x214d54=this[_0x1fd62c(0x20a)][_0x1fd62c(0x1d8)][_0x1fd62c(0x226)][_0x1fd62c(0x16d)](_0x17a3ec),_0x4206af=this[_0x1fd62c(0x20a)][_0x1fd62c(0x17d)][_0x1fd62c(0x1af)][_0x1fd62c(0x226)][_0x1fd62c(0x16d)](_0x17a3ec);if(_0x4206af){const _0x584e92=_0x214d54[_0x1fd62c(0x124)](_0x1fd62c(0x1cb));if(_0x5bfb7d[_0x1fd62c(0x17b)](_0x1fd62c(0x205),_0x4206af),_0x5bfb7d[_0x1fd62c(0x24f)](_0x1fd62c(0x231),_0x4206af),_0x5bfb7d[_0x1fd62c(0x24f)](_0x1fd62c(0x24e),_0x4206af),_0x5bfb7d[_0x1fd62c(0x24f)](_0x1fd62c(0x1d7),_0x4206af),_0x584e92){const _0x38b77e=this[_0x1fd62c(0x192)](_0x584e92);if(!_0x38b77e)return null;_0x5bfb7d[_0x1fd62c(0x243)](_0x1fd62c(0x205),_0x584e92,_0x4206af),_0x5bfb7d[_0x1fd62c(0x1c3)](_0x1fd62c(0x188)+_0x38b77e[_0x1fd62c(0x161)],_0x4206af),this[_0x1fd62c(0x1f2)]==_0x38b77e&&_0x5bfb7d[_0x1fd62c(0x1c3)](_0x1fd62c(0x1d7),_0x4206af);}}}});}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x1ca))[_0x3360e7(0x13a)]({'view':_0x3360e7(0x212),'model':_0x3a511e=>_0x3360e7(0x178)+_0x3a511e,'converterPriority':_0x3360e7(0x154)}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x1ca))[_0x3360e7(0x13a)]({'view':_0x3360e7(0x157),'model':_0x2a30f2=>_0x3360e7(0x220)+_0x2a30f2,'converterPriority':_0x3360e7(0x154)}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x129))[_0x3360e7(0x18d)]({'model':_0x3360e7(0x120),'view':_0x26da96=>({'name':_0x3360e7(0x194)+_0x26da96,'group':_0x3360e7(0x120)}),'converterPriority':_0x3360e7(0x154)}),this[_0x3360e7(0x20a)][_0x3360e7(0x204)][_0x3360e7(0x1df)](_0x3360e7(0x232))[_0x3360e7(0x1f7)]({'model':_0x3360e7(0x120),'view':_0x39c954=>{const _0x53d7c6=_0x3360e7,_0x2e82a0=_0x39c954[_0x53d7c6(0x241)][_0x53d7c6(0x253)](':')[0x1];return _0x53d7c6(0x1fd)!=_0x2e82a0&&_0x53d7c6(0x1da)!=_0x2e82a0?null:{'classes':[_0x53d7c6(0x1a3),_0x53d7c6(0x236)+_0x2e82a0]};}}),this[_0x3360e7(0x20a)][_0x3360e7(0x17d)][_0x3360e7(0x25b)]['on'](_0x3360e7(0x16e),et(this[_0x3360e7(0x20a)],_0x3360e7(0x242)),{'priority':_0x3360e7(0x1e2)}),this[_0x3360e7(0x20a)][_0x3360e7(0x17d)][_0x3360e7(0x25b)]['on'](_0x3360e7(0x13d),et(this[_0x3360e7(0x20a)],_0x3360e7(0x253)),{'priority':_0x3360e7(0x1e2)}),this[_0x3360e7(0x20a)][_0x3360e7(0x17d)][_0x3360e7(0x25b)]['on'](_0x3360e7(0x128),(_0x107387,_0x58df85,_0x13be58)=>{const _0x176127=_0x3360e7,_0x1f2717=_0x13be58[_0x176127(0x18b)][_0x176127(0x1a4)](_0x58df85[_0x176127(0x241)]);if(_0x1f2717){for(const _0x4a1d53 of _0x1f2717)_0x4a1d53['is'](_0x176127(0x20c))&&(_0x13be58[_0x176127(0x18b)][_0x176127(0x23a)](_0x4a1d53,_0x58df85[_0x176127(0x241)]),_0x13be58[_0x176127(0x265)][_0x176127(0x121)](_0x4a1d53));}},{'priority':_0x3360e7(0x1e2)});}[_0x425093(0x192)](_0x40110c){const _0x1a7627=_0x425093;return this[_0x1a7627(0x21e)][_0x1a7627(0x25c)](_0x40110c);}[_0x425093(0x166)](_0x238b79){const _0x5125a3=_0x425093;return this[_0x5125a3(0x219)]&&this[_0x5125a3(0x219)][_0x5125a3(0x150)](),this[_0x5125a3(0x219)]=new _0x4212ec(this[_0x5125a3(0x20a)][_0x5125a3(0x1c7)],_0x238b79),this[_0x5125a3(0x219)];}[_0x425093(0x1ac)](){const _0x2c7aec=_0x425093;this[_0x2c7aec(0x20a)][_0x2c7aec(0x1d8)][_0x2c7aec(0x226)][_0x2c7aec(0x207)][_0x2c7aec(0x15a)](_0x2c7aec(0x244)),this['on'](_0x2c7aec(0x136),(_0x41bf68,_0x3fdcd8,_0x5c645b,_0x42473c)=>{const _0x593958=_0x2c7aec;_0x42473c&&this[_0x593958(0x15c)][_0x593958(0x121)](_0x42473c),_0x5c645b&&(this[_0x593958(0x15c)][_0x593958(0x1b2)]({'view':_0x5c645b,'stackId':_0x593958(0x228),'position':{'target':()=>{const _0x91358b=_0x593958,_0x2db073=this[_0x91358b(0x20a)][_0x91358b(0x17d)],_0x435407=this[_0x91358b(0x192)](_0x5c645b[_0x91358b(0x14f)]);let _0x4a8032;if(_0x435407[_0x91358b(0x1ad)][_0x91358b(0x1fc)]){const _0x3cd4bd=_0x2db073[_0x91358b(0x1af)][_0x91358b(0x19c)](_0x435407[_0x91358b(0x235)]);_0x4a8032=Array[_0x91358b(0x1f4)](_0x3cd4bd[_0x91358b(0x1b6)]());}else{const _0x16741b=this[_0x91358b(0x20a)][_0x91358b(0x1d8)][_0x91358b(0x12a)][_0x91358b(0x25c)](_0x91358b(0x139)+_0x5c645b[_0x91358b(0x14f)]);_0x4a8032=Array[_0x91358b(0x1f4)](_0x2db073[_0x91358b(0x18b)][_0x91358b(0x1a4)](_0x16741b[_0x91358b(0x153)]))[_0x91358b(0x22b)](_0x30c066=>_0x2db073[_0x91358b(0x1af)][_0x91358b(0x1cd)][_0x91358b(0x174)](_0x30c066))[_0x91358b(0x22b)](_0x151e55=>Array[_0x91358b(0x1f4)](_0x151e55[_0x91358b(0x1b6)]()))[_0x91358b(0x24a)]();}if(!this[_0x91358b(0x210)])return _0x4a8032[0x0];return _0x4a8032[_0x91358b(0x1a7)](_0x436c2e=>_0x436c2e[_0x91358b(0x1e9)]-0x3<=this[_0x91358b(0x210)]['y']&&_0x436c2e[_0x91358b(0x1b3)]+0x3>=this[_0x91358b(0x210)]['y']&&_0x436c2e[_0x91358b(0x1de)]-0x3<=this[_0x91358b(0x210)]['x']&&_0x436c2e[_0x91358b(0x247)]+0x3>=this[_0x91358b(0x210)]['x'])||_0x4a8032[0x0];}}}),this[_0x593958(0x15c)][_0x593958(0x14d)](_0x593958(0x228)));}),this['on'](_0x2c7aec(0x175),(_0x4c88d4,_0x4de301,_0x463635,_0x421b0d)=>{const _0x440a5d=_0x2c7aec;this[_0x440a5d(0x251)]=_0x463635?this[_0x440a5d(0x166)](_0x463635):null,this[_0x440a5d(0x20a)][_0x440a5d(0x1d8)][_0x440a5d(0x246)](()=>{const _0x25f75e=_0x440a5d,_0x290179=this[_0x25f75e(0x20a)][_0x25f75e(0x17d)];_0x421b0d&&(_0x421b0d[_0x25f75e(0x1ad)][_0x25f75e(0x1fc)]?_0x290179[_0x25f75e(0x1af)][_0x25f75e(0x246)](_0x4aed57=>{const _0x1779a1=_0x25f75e;_0x4aed57[_0x1779a1(0x24f)](_0x1779a1(0x1d7),_0x290179[_0x1779a1(0x1af)][_0x1779a1(0x226)][_0x1779a1(0x16d)](_0x421b0d[_0x1779a1(0x235)]));}):_0x290179[_0x25f75e(0x185)](_0x25f75e(0x139)+_0x421b0d['id'])),_0x463635&&(_0x463635[_0x25f75e(0x1ad)][_0x25f75e(0x1fc)]?_0x290179[_0x25f75e(0x1af)][_0x25f75e(0x246)](_0x78e155=>{const _0x2eeab0=_0x25f75e;_0x78e155[_0x2eeab0(0x1c3)](_0x2eeab0(0x1d7),_0x290179[_0x2eeab0(0x1af)][_0x2eeab0(0x226)][_0x2eeab0(0x16d)](_0x463635[_0x2eeab0(0x235)]));}):_0x290179[_0x25f75e(0x185)](_0x25f75e(0x139)+_0x463635['id']));});}),this[_0x2c7aec(0x1be)](this[_0x2c7aec(0x20a)][_0x2c7aec(0x17d)][_0x2c7aec(0x1af)][_0x2c7aec(0x226)],_0x2c7aec(0x127),(_0x53b547,_0x1431ce)=>{const _0x2565cb=_0x2c7aec;if(this[_0x2565cb(0x1f2)])return;const _0xab00b6=this[_0x2565cb(0x1a8)](_0x1431ce[_0x2565cb(0x17e)]),_0x1ea879=this[_0x2565cb(0x21e)][_0x2565cb(0x25c)](_0xab00b6);_0x1ea879?(this[_0x2565cb(0x210)]={'x':_0x1431ce[_0x2565cb(0x13b)]['x'],'y':_0x1431ce[_0x2565cb(0x13b)]['y']},this[_0x2565cb(0x251)]=this[_0x2565cb(0x166)](_0x1ea879)):(this[_0x2565cb(0x210)]=null,this[_0x2565cb(0x251)]=null);}),this[_0x2c7aec(0x1be)](this[_0x2c7aec(0x20a)][_0x2c7aec(0x17d)][_0x2c7aec(0x1af)][_0x2c7aec(0x226)],_0x2c7aec(0x151),(_0x30d76b,_0x45d68f)=>{const _0x2e523c=_0x2c7aec,_0x4bc9e8=this[_0x2e523c(0x1a8)](_0x45d68f[_0x2e523c(0x17e)]),_0x2e92c6=this[_0x2e523c(0x21e)][_0x2e523c(0x25c)](_0x4bc9e8);_0x2e92c6?(this[_0x2e523c(0x210)]={'x':_0x45d68f[_0x2e523c(0x13b)]['x'],'y':_0x45d68f[_0x2e523c(0x13b)]['y']},_0x2e92c6===this[_0x2e523c(0x1f2)]?this[_0x2e523c(0x15c)][_0x2e523c(0x1b8)]():this[_0x2e523c(0x1f2)]=_0x2e92c6):(this[_0x2e523c(0x210)]=null,this[_0x2e523c(0x1f2)]=null);});}[_0x425093(0x1a8)](_0x1f663e){const _0x113d8a=_0x425093;do{const _0x19fb79=_0x1f663e[_0x113d8a(0x124)](_0x113d8a(0x205));if(_0x19fb79)return _0x19fb79;_0x1f663e=_0x1f663e[_0x113d8a(0x21a)];}while(_0x1f663e);return null;}[_0x425093(0x211)](){const _0x16d8b9=_0x425093;this[_0x16d8b9(0x20a)][_0x16d8b9(0x1d8)][_0x16d8b9(0x246)](_0x36aabb=>{const _0x50b62b=_0x16d8b9;for(const _0x8251c1 of this[_0x50b62b(0x20a)][_0x50b62b(0x1d8)][_0x50b62b(0x12a)])_0x36aabb[_0x50b62b(0x180)](_0x8251c1);});}}function et(_0x24d5fa,_0xa3b46a){return(_0x354746,_0x3704be,_0x5536b5)=>{const _0x58053e=_0x141e;if(!_0x5536b5[_0x58053e(0x225)][_0x58053e(0x21f)](_0x3704be[_0x58053e(0x1ef)],_0x354746[_0x58053e(0x153)]))return;const _0x31d8b9=_0x3704be[_0x58053e(0x1ef)][_0x58053e(0x142)](),_0x598b9d=_0x3704be[_0x58053e(0x1ef)][_0x58053e(0x216)],_0x110f86=_0x24d5fa[_0x58053e(0x1d8)][_0x58053e(0x227)];let _0x3be83b=null,_0x47bbac=null,_0x101554=!0x1,_0x2c0159=!0x1;for(const _0x3408f1 of _0x31d8b9){const _0x105b20=_0x3408f1[_0x58053e(0x260)];_0x101554=_0x101554||_0x110f86[_0x58053e(0x237)](_0x105b20);const _0x35ec97=_0x5536b5[_0x58053e(0x18b)][_0x58053e(0x230)](_0x105b20);if(_0x35ec97&&_0x35ec97[_0x58053e(0x25d)](_0x58053e(0x1b9)))return;_0x58053e(0x196)==_0x3408f1[_0x58053e(0x161)]&&(_0x110f86[_0x58053e(0x137)](_0x105b20)&&!_0x110f86[_0x58053e(0x173)](_0x105b20)&&(_0x105b20[_0x58053e(0x138)]||_0x598b9d[_0x58053e(0x1f3)]?_0x3be83b&&_0x3be83b[_0x58053e(0x21a)]==_0x105b20||(_0x3be83b=_0x105b20,_0x356536(_0x3408f1[_0x58053e(0x240)]),_0x2c0159=!0x0):_0x47bbac=_0x47bbac||_0x3408f1[_0x58053e(0x240)]));}function _0x356536(_0x24aa7b){const _0x3562ed=_0x58053e,_0x5c9ebb=_0x5536b5[_0x3562ed(0x18b)][_0x3562ed(0x18c)](_0x24aa7b),_0x4e9c72=_0x5536b5[_0x3562ed(0x265)][_0x3562ed(0x14c)](_0x3562ed(0x224),{'class':_0x3562ed(0x236)+_0xa3b46a});_0x5536b5[_0x3562ed(0x265)][_0x3562ed(0x1c5)](_0x5c9ebb,_0x4e9c72),_0x5536b5[_0x3562ed(0x18b)][_0x3562ed(0x1aa)](_0x4e9c72,_0x3704be[_0x3562ed(0x241)]);}_0x101554||_0x2c0159||!_0x47bbac||_0x356536(_0x47bbac);};}export class RestoreRevisionCommand extends _0x2c2272{constructor(_0x133d54){const _0x31739b=_0x425093;super(_0x133d54);const _0x3b8b46=_0x133d54[_0x31739b(0x15e)][_0x31739b(0x25c)](d);this[_0x31739b(0x1bd)]=!0x1,this[_0x31739b(0x1be)](_0x3b8b46,_0x31739b(0x1c2),()=>this[_0x31739b(0x1ce)]()),this[_0x31739b(0x1be)](_0x3b8b46,_0x31739b(0x23f),()=>this[_0x31739b(0x1ce)]());}[_0x425093(0x1e8)](){const _0x58569d=_0x425093,_0x424d49=this[_0x58569d(0x20a)],_0x145861=_0x424d49[_0x58569d(0x15e)][_0x58569d(0x25c)](d),_0x13e1b1=_0x145861[_0x58569d(0x19e)]?_0x145861[_0x58569d(0x215)][_0x58569d(0x14a)]:null;_0x424d49[_0x58569d(0x249)][_0x58569d(0x25c)](_0x58569d(0x160))[_0x58569d(0x11b)](_0x13e1b1);}[_0x425093(0x1ce)](){const _0x55690c=_0x425093,{isReady:_0x2f05a1,isEnabled:_0x236602}=this[_0x55690c(0x20a)][_0x55690c(0x15e)][_0x55690c(0x25c)](d);this[_0x55690c(0x19f)]=_0x2f05a1&&_0x236602;}}export class ShowChangeCommand extends _0x2c2272{constructor(_0x240566,{direction:_0x3b146c}){const _0x3786d8=_0x425093;super(_0x240566);const _0x53796a=_0x240566[_0x3786d8(0x15e)][_0x3786d8(0x25c)](d);this[_0x3786d8(0x1bd)]=!0x1,this[_0x3786d8(0x155)]=_0x3786d8(0x162)===_0x3b146c?0x1:-0x1,this[_0x3786d8(0x1be)](_0x53796a,_0x3786d8(0x1c2),()=>this[_0x3786d8(0x1ce)]()),this[_0x3786d8(0x1be)](_0x53796a,_0x3786d8(0x23f),()=>this[_0x3786d8(0x1ce)]()),this[_0x3786d8(0x1be)](_0x53796a,_0x3786d8(0x175),()=>this[_0x3786d8(0x1ce)]());}[_0x425093(0x1e8)](){const _0xfbc1b0=_0x425093,_0x8bb459=this[_0xfbc1b0(0x20a)],_0x1e7813=_0x8bb459[_0xfbc1b0(0x15e)][_0xfbc1b0(0x25c)](d),{isNavigationMode:_0x2b6049,currentChangeNumber:_0x1c4582}=_0x1e7813;let _0x552915;if(_0x1e7813[_0xfbc1b0(0x1f2)]=_0x2b6049?_0x1e7813[_0xfbc1b0(0x215)][_0xfbc1b0(0x1dc)][_0xfbc1b0(0x25c)](_0x1c4582+this[_0xfbc1b0(0x155)]):_0x1e7813[_0xfbc1b0(0x215)][_0xfbc1b0(0x1dc)][_0xfbc1b0(0x193)],_0x1e7813[_0xfbc1b0(0x1f2)][_0xfbc1b0(0x1ad)][_0xfbc1b0(0x1fc)])_0x552915=_0x8bb459[_0xfbc1b0(0x17d)][_0xfbc1b0(0x1af)][_0xfbc1b0(0x19c)](_0x1e7813[_0xfbc1b0(0x1f2)][_0xfbc1b0(0x235)]);else{const _0x57a1e3=_0x8bb459[_0xfbc1b0(0x1d8)][_0xfbc1b0(0x12a)][_0xfbc1b0(0x25c)](_0xfbc1b0(0x139)+_0x1e7813[_0xfbc1b0(0x1f2)]['id']);_0x552915=_0x243ac8(_0x8bb459[_0xfbc1b0(0x17d)],_0x57a1e3);}_0x4c34a9({'target':_0x552915,'viewportOffset':0x28});}[_0x425093(0x1ce)](){const _0x457821=_0x425093,{isNavigationMode:_0xfa2847,currentChangeNumber:_0x45f7b8,numberOfChanges:_0x4a2f86,isReady:_0x558bb1,isEnabled:_0xd27a04}=this[_0x457821(0x20a)][_0x457821(0x15e)][_0x457821(0x25c)](d);this[_0x457821(0x19f)]=!!(_0xd27a04&&_0x558bb1&&_0x4a2f86)&&(!_0xfa2847||(0x1===this[_0x457821(0x155)]?_0x45f7b8<_0x4a2f86-0x1:_0x45f7b8>0x0));}}
|
|
23
|
+
const _0x40fdb4=_0x45ee;(function(_0x18aba6,_0x14f69e){const _0x65124e=_0x45ee,_0x5b3d81=_0x18aba6();while(!![]){try{const _0x24960c=parseInt(_0x65124e(0x236))/0x1*(parseInt(_0x65124e(0x2b1))/0x2)+parseInt(_0x65124e(0x25b))/0x3+parseInt(_0x65124e(0x29e))/0x4*(parseInt(_0x65124e(0x2cd))/0x5)+-parseInt(_0x65124e(0x276))/0x6+-parseInt(_0x65124e(0x1fc))/0x7*(-parseInt(_0x65124e(0x26e))/0x8)+-parseInt(_0x65124e(0x216))/0x9+-parseInt(_0x65124e(0x21a))/0xa;if(_0x24960c===_0x14f69e)break;else _0x5b3d81['push'](_0x5b3d81['shift']());}catch(_0x4cf53b){_0x5b3d81['push'](_0x5b3d81['shift']());}}}(_0x4a26,0xe1f8b));import{Plugin as _0x2c9a7e,Command as _0x2c0540}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x3ea3fd}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3897b5}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x30cd1f,Element as _0x50648b,Text as _0x39c94f,ViewDocumentFragment as _0xed62c9,ViewText as _0x9d4d6a,ViewElement as _0x216ed5,ViewContainerElement as _0x21f0cf,ViewAttributeElement as _0x3fd22c,ViewEmptyElement as _0x5eb3a3,ViewRawElement as _0x4c4467,ViewUIElement as _0x291e74}from'ckeditor5/src/engine.js';import{Users as _0x37bb17,getMarkerDomElement as _0x4fc286}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xaaffbc from'./ui/revisionviewer/changedetailsview.js';import _0x1cc50e from'./revisionsrepository.js';import _0x2cabae from'./changeitem.js';import{default as _0x593754}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x409065}from'lodash-es';function _0x45ee(_0x47627a,_0x3d5aa8){const _0x4a26e5=_0x4a26();return _0x45ee=function(_0x45eee6,_0x4ad6d1){_0x45eee6=_0x45eee6-0x19a;let _0x183dad=_0x4a26e5[_0x45eee6];return _0x183dad;},_0x45ee(_0x47627a,_0x3d5aa8);}function _0x4a26(){const _0x4c1873=['first','revisionHistoryLabel','isIncorrect','_makeModelFromTape','item','sort','end','changes','indexOf','deletion','createRange','_findChangeIdFromDomTarget','selection','_step','_processTape','_markMarkers','default','remove','addClass','endIndex','type','flat','revisionHistoryAttachChange','removeMarker','filter','ck-suggestion-marker-','nodeAfter','forceDisabled','parse','revision-suggestion:','_cleanMarkers','data','removeAttribute','useFillerType','catch','downcastDispatcher','getDomRoot','next','code','addRevisionData','_removeMissingPairs','init','highest','pluginName','forEach','_makeModelFromViewString','isLimit','addRoot','currentChangeNumber','showPreviousChange','isEnabled','_update','20671IKuyfp','restoreRevision','revision','commands','destroy','updatePosition','requires','level','isBefore','ck-suggestion-marker-split','getRootNames','length','markerRange','affectsData','createUIElement','then','getRevisionData','_getDiff','for','distance','startIndex','consume','nextPosition','_markInsertions','keys','addMarker:revision','2124171awAlsl','createPositionBefore','ck-suggestion-marker--active','vid_end','13599810fgcaKN','ck-revision-history-root--active','RevisionViewer','_cleanUp','_markSuggestions','pop','map','mouseover','addRevision','dataToMarker','locale','_revisions','revisionHistory','insertion','includes','createRevision','high','low','showNextChange','splice','isBlock','ck-suggestion-preview-marker','getChild','marked','repository','object','removeClass','isAttached','1631xAdGge','parent','viewItem','editing','activeView','numberOfChanges','rootName','hasClass','detachRoot','markerNameToElements','observeMarkers','findIndex','elementToAttribute','_refreshStartEndIndex','bind','string','restoreRevisionCallback','revision:','toViewRange','uiElement','addMarker:revision-suggestion:deletion','backward','all','dataDowncast','change:isEnabled','_setDistance','attributesAfter','split','plugins','view','getWalker','isAdded','document','adapter','addHighlight','isNavigationMode','ck-suggestion-marker-merge','3669060INhknf','_sortAndFilterDiffChanges','oldRevisionId','isRemoveSuggestion','RevisionsRepository','getClientRects','isAtStart','_getViewForChange','change:activeChange','change:numberOfChanges','children','maxOffset','_setChanges','isInline','isRemoved','domEvent','data-change-id','error','consumable','4232dVsqgY','_fixObsoleteTags','_getChangeFromId','comment','removeMarker:revision','side','collaboration.channelId','toModel','9797268VgzpCU','markerToHighlight','enableReadOnlyMode','getRevisionRootsAttributes','toViewElement','bindElementToMarker','index','delete','getItems','unshift','isEqual','editingDowncast','_balloon','change','nextSibling','vid_start','markerToData','get','forward','conversion','listenTo','markersStart','upcast','isAtEnd','attributes','pairId','_threeWayMerge','previousPosition','WidgetToolbarRepository','_markMismatchedRemovedTags','stop','config','merge','add','isContent','_appendChild','suggestion','_removeRevisionMarkers','values','wrap','244NUehfE','right','ck-revision-history-root-remove','_setConversion','schema','push','isSuggestion','concat','attributesBefore','_makeTape','getRoot','elementStart','changeId','refresh','markers','unbindElementFromMarkerName','ck-editor__editable__overlay','left','revision-suggestion','1254QQmNmz','writer','checkAttribute','isReady','_changeIdToChange','isAddSuggestion','find','authors','model','ck-revision-history-root-','_getViewObj','enqueueChange','ck-revision-history-root-add','getAttributes','mousedown','top','insert','-new','_changeView','_joinTapes','compare','data-revision-','change:isReady','revision-viewer','offsetSize','deletions','startsWith','suggestion:','28415EzyOfz','shift','insertions','attachChange','start','processor','ck-suggestion-marker','createAttributeElement','_removeUnsupportedChanges','_getRevisionsRange','target','getCustomProperty','abs','ck-suggestion-preview-marker-','getAttribute','isObject','element','softBreak','POSITIVE_INFINITY','newRevisionId','toViewPosition','modelRange','test','revision-end','isOnRoot','loadRevisionData','revision-start','hasAttribute','showStack','clear','activeChange','addMarker:revision-suggestion:insertion','attribute:vid','markerName','execute','getIndex','range','markersEnd','isCollapsed','elementEnd','mapViewToDom','resolve','_activeViewTarget','editor','diffData','createPositionFromPath','setAttribute','done','span','return','isAfter','text','removeMarker:revision-suggestion','_initInteractions','createRangeIn','domConverter','slice','mapper','getRevision','has','_data','change:activeView','revision-comment:','name','diff','toData','roots','vid','set','bottom','reconvertMarker','element:pre','userId','from'];_0x4a26=function(){return _0x4c1873;};return _0x4a26();}const tt={'c':_0x21f0cf,'a':_0x3fd22c,'e':_0x5eb3a3,'r':_0x4c4467,'u':_0x291e74};export default class d extends _0x2c9a7e{static get[_0x40fdb4(0x1f3)](){const _0x20334a=_0x40fdb4;return _0x20334a(0x21c);}static get[_0x40fdb4(0x202)](){return[_0x37bb17,_0x3897b5,_0x1cc50e];}constructor(_0x454616){const _0x5856e9=_0x40fdb4;super(_0x454616),this[_0x5856e9(0x232)]=this[_0x5856e9(0x1a9)][_0x5856e9(0x252)][_0x5856e9(0x287)](_0x5856e9(0x25f)),this[_0x5856e9(0x1c2)](_0x5856e9(0x19c),null),this[_0x5856e9(0x1c2)](_0x5856e9(0x23a),null),this[_0x5856e9(0x1a8)]=null,this[_0x5856e9(0x1c2)](_0x5856e9(0x1be),null),this[_0x5856e9(0x1c2)](_0x5856e9(0x2b4),!0x1),this[_0x5856e9(0x1c2)](_0x5856e9(0x1fa),!0x0),this['on'](_0x5856e9(0x24e),(_0x496114,_0x4879ed,_0x873748)=>{const _0xad4d65=_0x5856e9;this[_0xad4d65(0x19c)]=null,this[_0xad4d65(0x23a)]=null,this[_0xad4d65(0x1a9)][_0xad4d65(0x239)][_0xad4d65(0x253)][_0xad4d65(0x283)](_0xc9efb2=>{const _0x254726=_0xad4d65;for(const _0x140b6a of this[_0x254726(0x1a9)][_0x254726(0x239)][_0x254726(0x253)][_0x254726(0x256)][_0x254726(0x1c0)])_0x873748?_0xc9efb2[_0x254726(0x234)](_0x254726(0x2ae),_0x140b6a):_0xc9efb2[_0x254726(0x1da)](_0x254726(0x2ae),_0x140b6a);});}),this[_0x5856e9(0x244)](_0x5856e9(0x259))['to'](this,_0x5856e9(0x19c),_0x511bf9=>null!==_0x511bf9),this[_0x5856e9(0x244)](_0x5856e9(0x1f8))['to'](this,_0x5856e9(0x2b4),this,_0x5856e9(0x1be),this,_0x5856e9(0x19c),(_0x1a8569,_0x35fa69,_0x1642c1)=>_0x1a8569&&_0x1642c1?_0x35fa69[_0x5856e9(0x1cf)][_0x5856e9(0x1a1)](_0x1642c1):0x0),this[_0x5856e9(0x244)](_0x5856e9(0x23b))['to'](this,_0x5856e9(0x2b4),this,_0x5856e9(0x1be),(_0x4d796b,_0x13e12f)=>_0x4d796b?_0x13e12f[_0x5856e9(0x1cf)][_0x5856e9(0x207)]:0x0),this[_0x5856e9(0x2c3)]=null,this[_0x5856e9(0x2b5)]=new Map(),this[_0x5856e9(0x257)]=null,this[_0x5856e9(0x282)]=this[_0x5856e9(0x1a9)][_0x5856e9(0x252)][_0x5856e9(0x287)](_0x3897b5);}[_0x40fdb4(0x1f1)](){const _0x1c3964=_0x40fdb4,_0x451278=this[_0x1c3964(0x1a9)],_0x2b206f=new ShowChangeCommand(_0x451278,{'direction':_0x1c3964(0x24b)}),_0x5b7f75=new ShowChangeCommand(_0x451278,{'direction':_0x1c3964(0x288)});(_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x1f9),_0x2b206f),_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x22c),_0x5b7f75),_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x1fd),new RestoreRevisionCommand(_0x451278)),this['on'](_0x1c3964(0x264),()=>{const _0x24dabd=_0x1c3964;_0x2b206f[_0x24dabd(0x2ab)](),_0x5b7f75[_0x24dabd(0x2ab)]();}),this[_0x1c3964(0x2a1)](),this[_0x1c3964(0x1b3)](),_0x451278[_0x1c3964(0x278)](_0x1c3964(0x2c8)),_0x451278[_0x1c3964(0x252)][_0x1c3964(0x1b9)](_0x1c3964(0x292)))&&_0x451278[_0x1c3964(0x252)][_0x1c3964(0x287)](_0x1c3964(0x292))[_0x1c3964(0x1e3)](_0x1c3964(0x2c8));}async[_0x40fdb4(0x20c)](_0x4802cb){const _0x500548=_0x40fdb4;await this[_0x500548(0x2e6)](_0x4802cb);const _0x17a4e5={};for(const _0x1bad78 in _0x4802cb[_0x500548(0x1aa)]){if(_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2d0)]&&!_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2d0)][_0x500548(0x235)])continue;const _0x1c4beb=this[_0x500548(0x29b)](JSON[_0x500548(0x1e4)](_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2cf)])),_0x453395=this[_0x500548(0x1a9)][_0x500548(0x239)][_0x500548(0x253)][_0x500548(0x256)],_0x4f4a85=new _0xed62c9(_0x453395,_0x1c4beb[_0x500548(0x220)](_0x41bcbb=>this[_0x500548(0x2bb)](_0x41bcbb)));this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1e9)](_0x500548(0x231)),_0x17a4e5[_0x1bad78]=this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1bf)](_0x4f4a85),this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1e9)](_0x500548(0x1d8));}return _0x17a4e5;}async[_0x40fdb4(0x279)](_0x4be227){const _0x55b277=_0x40fdb4;await this[_0x55b277(0x2e6)](_0x4be227);const _0x3fa764={};for(const _0x10f0f9 in _0x4be227[_0x55b277(0x1aa)])_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x2d0)]&&!_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x2d0)][_0x55b277(0x235)]||(_0x3fa764[_0x10f0f9]=_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x250)]||{});return _0x3fa764;}[_0x40fdb4(0x29b)](_0x1bf4e7){const _0x3825c1=_0x40fdb4;return(_0x1bf4e7=_0x1bf4e7[_0x3825c1(0x1e0)](_0x4cef2a=>!_0x4cef2a[_0x3825c1(0x1bd)]||_0x3825c1(0x2e7)!==_0x4cef2a[_0x3825c1(0x1bd)]&&_0x3825c1(0x2e4)!==_0x4cef2a[_0x3825c1(0x1bd)]))[_0x3825c1(0x1f4)](_0x2d0bb3=>{const _0x362bb3=_0x3825c1;_0x362bb3(0x245)!=typeof _0x2d0bb3&&(_0x2d0bb3[_0x362bb3(0x265)]=this[_0x362bb3(0x29b)](_0x2d0bb3[_0x362bb3(0x265)]),_0x2d0bb3[_0x362bb3(0x28e)]=_0x2d0bb3[_0x362bb3(0x28e)][_0x362bb3(0x1e0)](_0x5e1905=>!_0x5e1905[0x0][_0x362bb3(0x2cb)](_0x362bb3(0x2c6))));}),_0x1bf4e7;}async[_0x40fdb4(0x2c5)](_0x2efc19,_0x456656,_0x27fe6e=!0x1){const _0x3a2a47=_0x40fdb4;if(!this[_0x3a2a47(0x1fa)])return;const _0x52b440=this[_0x3a2a47(0x1be)],_0x4004ee=this[_0x3a2a47(0x232)],_0x55130c=_0x3a2a47(0x245)==typeof _0x2efc19?_0x4004ee[_0x3a2a47(0x1b8)](_0x2efc19):_0x2efc19,_0x271165=_0x3a2a47(0x245)==typeof _0x456656?_0x4004ee[_0x3a2a47(0x1b8)](_0x456656):_0x456656,_0xce5bd2=_0x55130c['id'],_0x46f499=_0x271165?_0x271165['id']:null;if(!_0x27fe6e&&this[_0x3a2a47(0x1be)]&&this[_0x3a2a47(0x1be)][_0x3a2a47(0x2e0)]===_0xce5bd2&&this[_0x3a2a47(0x1be)][_0x3a2a47(0x25d)]===_0x46f499)return Promise[_0x3a2a47(0x1a7)]();this[_0x3a2a47(0x2b4)]=!0x1,this[_0x3a2a47(0x23a)]=null,this[_0x3a2a47(0x19c)]=null,this[_0x3a2a47(0x1be)]=new _0x593754(_0xce5bd2,_0x46f499);const _0x1f6bf1=this[_0x3a2a47(0x2d6)](_0x55130c,_0x271165,!0x0)[_0x3a2a47(0x220)](_0x19fcc5=>this[_0x3a2a47(0x2e6)](_0x19fcc5));return _0x1f6bf1[_0x3a2a47(0x2a3)](new Promise(_0x26dcd4=>{setTimeout(_0x26dcd4,0x14);})),Promise[_0x3a2a47(0x24c)](_0x1f6bf1)[_0x3a2a47(0x20b)](()=>{const _0x57de59=_0x3a2a47;if(!this[_0x57de59(0x1fa)])return;this[_0x57de59(0x21d)]();const _0x3fa48e=this[_0x57de59(0x20d)](_0xce5bd2,_0x46f499);for(const _0x51e0c4 of _0x3fa48e[_0x57de59(0x1cf)])this[_0x57de59(0x2b5)][_0x57de59(0x1c2)](_0x51e0c4['id'],_0x51e0c4);this[_0x57de59(0x1a9)][_0x57de59(0x2b9)][_0x57de59(0x2bc)]({'isUndoable':!0x1},_0x315d1b=>{const _0x30ac18=_0x57de59;for(const _0x3d8df5 of this[_0x30ac18(0x1a9)][_0x30ac18(0x2b9)][_0x30ac18(0x256)][_0x30ac18(0x206)]())_0x315d1b[_0x30ac18(0x23e)](_0x3d8df5);for(const _0x6c6ffc of Object[_0x30ac18(0x214)](_0x3fa48e[_0x30ac18(0x2b9)])){const _0x2a2913=_0x315d1b[_0x30ac18(0x1f7)](_0x6c6ffc);for(const _0x3ba58d of Object[_0x30ac18(0x214)](_0x3fa48e[_0x30ac18(0x28e)][_0x6c6ffc]))_0x315d1b[_0x30ac18(0x1ac)](_0x3ba58d,_0x3fa48e[_0x30ac18(0x28e)][_0x6c6ffc][_0x3ba58d],_0x2a2913);_0x315d1b[_0x30ac18(0x2c1)](_0x3fa48e[_0x30ac18(0x2b9)][_0x6c6ffc],_0x2a2913,0x0);}}),this[_0x57de59(0x1be)][_0x57de59(0x267)](this[_0x57de59(0x25c)](_0x3fa48e[_0x57de59(0x1cf)])),this[_0x57de59(0x2b4)]=!0x0;})[_0x3a2a47(0x1ea)](_0x40ab68=>{const _0x218ccc=_0x3a2a47;console[_0x218ccc(0x26c)](_0x40ab68),this[_0x218ccc(0x21d)](),_0x52b440&&(this[_0x218ccc(0x1be)]=_0x52b440),this[_0x218ccc(0x2b4)]=!0x0;});}[_0x40fdb4(0x1ef)](_0x97fc4d,_0x19b562){const _0x2e8d57=_0x40fdb4,_0xe5048e=this[_0x2e8d57(0x232)][_0x2e8d57(0x229)](_0x97fc4d);return _0xe5048e['on'](_0x2e8d57(0x1fb),(_0x240bd5,_0x430bca,_0x161702)=>_0x19b562(_0x430bca,_0x161702,_0xe5048e)),this[_0x2e8d57(0x232)][_0x2e8d57(0x222)](_0xe5048e),_0xe5048e;}[_0x40fdb4(0x2e6)](_0x33f7bf){const _0x55d18b=_0x40fdb4;if(!_0x33f7bf||_0x33f7bf[_0x55d18b(0x1aa)])return Promise[_0x55d18b(0x1a7)]();{const _0x460621=this[_0x55d18b(0x1a9)][_0x55d18b(0x295)][_0x55d18b(0x287)](_0x55d18b(0x274));return this[_0x55d18b(0x257)][_0x55d18b(0x1b8)]({'channelId':_0x460621,'revisionId':_0x33f7bf['id']})[_0x55d18b(0x20b)](_0x5ca8b7=>{const _0x44dc28=_0x55d18b;_0x33f7bf[_0x44dc28(0x1fb)]({'diffData':_0x5ca8b7[_0x44dc28(0x1aa)]},!0x0);});}}[_0x40fdb4(0x21d)](){const _0x5a85e8=_0x40fdb4;this[_0x5a85e8(0x19c)]=null,this[_0x5a85e8(0x1e6)](),this[_0x5a85e8(0x2c3)]&&this[_0x5a85e8(0x2c3)][_0x5a85e8(0x200)](),this[_0x5a85e8(0x2c3)]=null,this[_0x5a85e8(0x2b5)][_0x5a85e8(0x19b)](),this[_0x5a85e8(0x1a9)][_0x5a85e8(0x2b9)][_0x5a85e8(0x2bc)]({'isUndoable':!0x1},_0x29c418=>{const _0x371e0b=_0x5a85e8;for(const _0x2f0144 of this[_0x371e0b(0x1a9)][_0x371e0b(0x2b9)][_0x371e0b(0x256)][_0x371e0b(0x206)]())_0x29c418[_0x371e0b(0x23e)](_0x2f0144);});}[_0x40fdb4(0x25c)](_0x54b9b5){const _0x43437a=_0x40fdb4,_0x14b263=[],_0x2cfc14=new Map();for(const _0x4e00a5 of this[_0x43437a(0x1a9)][_0x43437a(0x2b9)][_0x43437a(0x256)][_0x43437a(0x206)]()){const _0x4a77bc=this[_0x43437a(0x1a9)][_0x43437a(0x239)][_0x43437a(0x253)][_0x43437a(0x1ec)](_0x4e00a5);if(!_0x4a77bc)continue;const _0x346f2a=_0x4a77bc[_0x43437a(0x260)]()[_0x43437a(0x1cc)](0x0);_0x346f2a&&(_0x14b263[_0x43437a(0x2a3)](_0x4e00a5),_0x2cfc14[_0x43437a(0x1c2)](_0x4e00a5,_0x346f2a));}return _0x14b263[_0x43437a(0x1cd)]((_0x1fae82,_0x2799ba)=>{const _0x5d5a04=_0x43437a,_0x35b2bd=_0x2cfc14[_0x5d5a04(0x287)](_0x1fae82),_0x507ff1=_0x2cfc14[_0x5d5a04(0x287)](_0x2799ba);return _0x35b2bd['y']-_0x507ff1['y']||_0x35b2bd['x']-_0x507ff1['x'];}),(_0x54b9b5=_0x54b9b5[_0x43437a(0x1e0)](_0x322a28=>_0x14b263[_0x43437a(0x228)](_0x322a28[_0x43437a(0x23c)])))[_0x43437a(0x1cd)]((_0x37af61,_0x4e440b)=>_0x14b263[_0x43437a(0x1d0)](_0x37af61[_0x43437a(0x23c)])-_0x14b263[_0x43437a(0x1d0)](_0x4e440b[_0x43437a(0x23c)])),_0x54b9b5;}[_0x40fdb4(0x2a7)](_0x8f1c4a){const _0x11d9cd=_0x40fdb4,_0x449a68=Array[_0x11d9cd(0x1c7)](_0x8f1c4a[_0x11d9cd(0x2ac)])[_0x11d9cd(0x1e0)](([_0x473a07,_0x35bfb9])=>_0x473a07[_0x11d9cd(0x2cb)](_0x11d9cd(0x247))&&!_0x35bfb9[_0x11d9cd(0x1a4)]),_0x2ee0d4=Array[_0x11d9cd(0x1c7)](this[_0x11d9cd(0x1a9)][_0x11d9cd(0x2b9)][_0x11d9cd(0x1b4)](_0x8f1c4a)[_0x11d9cd(0x254)]({'singleCharacters':!0x0}));if(0x0!=_0x449a68[_0x11d9cd(0x207)])for(const _0x56ca89 of _0x2ee0d4){const [_0x316c95,_0x264d70]=_0x449a68[0x0],[,_0x4a442c,_0x729fd8]=_0x316c95[_0x11d9cd(0x251)](':');if(_0x264d70[_0x11d9cd(0x1ce)][_0x11d9cd(0x280)](_0x56ca89[_0x11d9cd(0x212)])&&_0x449a68[_0x11d9cd(0x2ce)](),(_0x56ca89[_0x11d9cd(0x291)][_0x11d9cd(0x280)](_0x264d70[_0x11d9cd(0x2d1)])||_0x56ca89[_0x11d9cd(0x291)][_0x11d9cd(0x1b0)](_0x264d70[_0x11d9cd(0x2d1)]))&&(_0x11d9cd(0x227)==_0x4a442c?_0x56ca89[_0x11d9cd(0x255)]={'userId':_0x729fd8}:_0x11d9cd(0x1d1)==_0x4a442c&&(_0x56ca89[_0x11d9cd(0x269)]={'userId':_0x729fd8})),0x0==_0x449a68[_0x11d9cd(0x207)])break;}return _0x2ee0d4;}[_0x40fdb4(0x243)](_0x5a114f){const _0x70b88a=_0x40fdb4,_0x357d85=new Map();for(let _0x4311df=0x0;_0x4311df<_0x5a114f[_0x70b88a(0x207)];_0x4311df++)_0x70b88a(0x1b1)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]?(_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x4311df,_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x4311df):(_0x70b88a(0x2a9)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]?_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x4311df:_0x70b88a(0x1a5)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]&&(_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x4311df),_0x357d85[_0x70b88a(0x1c2)](_0x5a114f[_0x4311df]['id'],_0x4311df));for(const _0x2c1750 of _0x357d85[_0x70b88a(0x29c)]())_0x70b88a(0x2a9)===_0x5a114f[_0x2c1750][_0x70b88a(0x1dc)]?_0x5a114f[_0x2c1750][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x357d85[_0x70b88a(0x287)](_0x5a114f[_0x2c1750][_0x70b88a(0x28f)]):_0x70b88a(0x1a5)===_0x5a114f[_0x2c1750][_0x70b88a(0x1dc)]&&(_0x5a114f[_0x2c1750][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x357d85[_0x70b88a(0x287)](_0x5a114f[_0x2c1750][_0x70b88a(0x28f)]));}[_0x40fdb4(0x1d6)](_0x19873f){const _0x4e30d0=_0x40fdb4;for(let _0xd4ce43=0x0;_0xd4ce43<_0x19873f[_0x4e30d0(0x207)];_0xd4ce43++){if(_0x4e30d0(0x2a9)===_0x19873f[_0xd4ce43][_0x4e30d0(0x1dc)])_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)]=_0xd4ce43;else{if(_0x4e30d0(0x1a5)===_0x19873f[_0xd4ce43][_0x4e30d0(0x1dc)]){_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x1db)]=_0xd4ce43;const _0x152220=_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)];_0x19873f[_0x152220][_0x4e30d0(0x28f)]=_0x19873f[_0xd4ce43]['id'],_0x19873f[_0xd4ce43][_0x4e30d0(0x28f)]=_0x19873f[_0x152220]['id'];}else _0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)]=_0xd4ce43,_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x1db)]=_0xd4ce43,_0x19873f[_0xd4ce43][_0x4e30d0(0x28f)]=null;}_0x19873f[_0xd4ce43][_0x4e30d0(0x28b)]||(_0x19873f[_0xd4ce43][_0x4e30d0(0x28b)]=[],_0x19873f[_0xd4ce43][_0x4e30d0(0x1a3)]=[]);}}[_0x40fdb4(0x213)](_0x520d74,_0x5ed242){const _0x34bc9d=_0x40fdb4,_0x59b95b=_0x520d74[_0x34bc9d(0x1e0)](_0x37c1d6=>!_0x37c1d6[_0x34bc9d(0x255)]);for(let _0x385976=0x0;_0x385976<_0x5ed242[_0x34bc9d(0x207)];_0x385976++)_0x5ed242[_0x385976][_0x34bc9d(0x255)]&&(_0x59b95b[_0x385976][_0x34bc9d(0x255)]=_0x5ed242[_0x385976][_0x34bc9d(0x255)]);}[_0x40fdb4(0x1f5)](_0x94cc28){const _0x3b55b9=_0x40fdb4,_0x9d269f=JSON[_0x3b55b9(0x1e4)](_0x94cc28),_0x2df041=this[_0x3b55b9(0x1a9)][_0x3b55b9(0x239)][_0x3b55b9(0x253)][_0x3b55b9(0x256)],_0x7d7b94=new _0xed62c9(_0x2df041,_0x9d269f[_0x3b55b9(0x220)](_0x30a371=>this[_0x3b55b9(0x2bb)](_0x30a371)));return this[_0x3b55b9(0x1a9)][_0x3b55b9(0x1e7)][_0x3b55b9(0x275)](_0x7d7b94);}[_0x40fdb4(0x2bb)](_0x381592){const _0x515851=_0x40fdb4,_0x5233a2=this[_0x515851(0x1a9)][_0x515851(0x239)][_0x515851(0x253)][_0x515851(0x256)];if(_0x515851(0x245)==typeof _0x381592)return new _0x9d4d6a(_0x5233a2,_0x381592);{const _0x3b5bfd=_0x381592[_0x515851(0x265)][_0x515851(0x220)](_0x379ea7=>this[_0x515851(0x2bb)](_0x379ea7));return new(tt[_0x381592[(_0x515851(0x1dc))]]||_0x216ed5)(_0x5233a2,_0x381592[_0x515851(0x1bd)],_0x381592[_0x515851(0x28e)],_0x3b5bfd);}}[_0x40fdb4(0x20d)](_0x564a6f,_0x4531c7=null){const _0x41745b=_0x40fdb4,_0x53f75c=this[_0x41745b(0x232)][_0x41745b(0x1b8)](_0x564a6f),_0x37d877=_0x4531c7?this[_0x41745b(0x232)][_0x41745b(0x1b8)](_0x4531c7):null,_0x10f0e9=this[_0x41745b(0x2d6)](_0x53f75c,_0x37d877),_0x43fe0c=_0x10f0e9[_0x10f0e9[_0x41745b(0x207)]-0x1],_0x27e598=new Map(),_0x53ad5b={'model':{},'attributes':{},'changes':[]},_0x488164=new Set(),_0x40bb8e=new Map();for(let _0x1c21be=_0x10f0e9[_0x41745b(0x207)]-0x1;_0x1c21be>=0x0;_0x1c21be--){const _0x2306e3=_0x10f0e9[_0x1c21be];for(const _0x512bfa of Object[_0x41745b(0x214)](_0x2306e3[_0x41745b(0x1aa)]))if(_0x2306e3[_0x41745b(0x1aa)][_0x512bfa][_0x41745b(0x2d0)]){const _0x3d3d13=_0x2306e3[_0x41745b(0x1aa)][_0x512bfa][_0x41745b(0x2d0)];_0x3d3d13[_0x41745b(0x235)]?(_0x488164[_0x41745b(0x297)](_0x512bfa),_0x40bb8e[_0x41745b(0x1b9)](_0x512bfa)&&_0x40bb8e[_0x41745b(0x287)](_0x512bfa)[_0x41745b(0x1c6)]==_0x3d3d13[_0x41745b(0x1c6)]?_0x40bb8e[_0x41745b(0x27d)](_0x512bfa):_0x40bb8e[_0x41745b(0x1c2)](_0x512bfa,_0x3d3d13)):_0x40bb8e[_0x41745b(0x1b9)](_0x512bfa)?(_0x488164[_0x41745b(0x27d)](_0x512bfa),_0x40bb8e[_0x41745b(0x27d)](_0x512bfa)):(_0x488164[_0x41745b(0x297)](_0x512bfa),_0x40bb8e[_0x41745b(0x1c2)](_0x512bfa,_0x3d3d13));}else _0x488164[_0x41745b(0x297)](_0x512bfa);}for(const _0x4ca265 of _0x488164){const _0x2b8db0=_0x40bb8e[_0x41745b(0x1b9)](_0x4ca265)&&!_0x40bb8e[_0x41745b(0x287)](_0x4ca265)[_0x41745b(0x235)];let _0x2a45ae=_0x2b8db0?_0x10f0e9[_0x41745b(0x207)]-0x1:0x0;const _0x135d82=_0x2b8db0?-0x1:0x1;for(;_0x10f0e9[_0x2a45ae];){const _0x23b9cd=_0x10f0e9[_0x2a45ae];if(_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265]){const _0x54d51f=_0x2b8db0?_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265][_0x41745b(0x2a6)]:_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265][_0x41745b(0x250)];_0x53ad5b[_0x41745b(0x28e)][_0x4ca265]=_0x54d51f?_0x409065(_0x54d51f):{};break;}_0x2a45ae+=_0x135d82;}}for(const _0x3e50ba of _0x10f0e9){_0x3e50ba[_0x41745b(0x2b9)]={};for(const _0x1cb3e1 of _0x3e50ba[_0x41745b(0x2b8)])_0x27e598[_0x41745b(0x1c2)](_0x1cb3e1['id'],_0x1cb3e1);for(const _0x53897f of _0x488164){const _0x34f301=_0x3e50ba[_0x41745b(0x1aa)][_0x53897f]?_0x3e50ba[_0x41745b(0x1aa)][_0x53897f][_0x41745b(0x2cf)]:'[]',_0x2efbb3=_0x3e50ba[_0x41745b(0x1aa)][_0x53897f]?_0x3e50ba[_0x41745b(0x1aa)][_0x53897f][_0x41745b(0x2ca)]:'[]';_0x3e50ba[_0x41745b(0x2b9)][_0x53897f]={'insertions':this[_0x41745b(0x1f5)](_0x34f301),'deletions':this[_0x41745b(0x1f5)](_0x2efbb3)};}}for(const _0x18783f of _0x488164){let _0x11eb6f=null,_0x4e8a09=0x0;const _0x28932a=new Map(Array[_0x41745b(0x1c7)](_0x53f75c[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2cf)][_0x41745b(0x2ac)])[_0x41745b(0x1e0)](([_0x2c7bc0])=>!_0x2c7bc0[_0x41745b(0x2cb)](_0x41745b(0x247))));let _0x441e00=0x0;for(const _0x39e0b0 of _0x10f0e9){const _0x569990=this[_0x41745b(0x2a7)](_0x39e0b0[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2cf)]);_0x39e0b0==_0x53f75c?(_0x11eb6f=_0x569990,_0x4e8a09=_0x11eb6f[_0x41745b(0x207)],_0x11eb6f[_0x41745b(0x1f4)](_0x5d0ad5=>{_0x5d0ad5['id']=_0x441e00++;}),this[_0x41745b(0x1d6)](_0x11eb6f)):this[_0x41745b(0x213)](_0x11eb6f,_0x569990);const _0x3192cd=_0x11eb6f[_0x41745b(0x1e0)](_0x14856a=>!_0x14856a[_0x41745b(0x255)])[_0x41745b(0x220)](_0xfe2728=>_0xfe2728['id']);let _0x498a40=0x0;const _0x1a898c=this[_0x41745b(0x2a7)](_0x39e0b0[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2ca)]);_0x1a898c[_0x41745b(0x1f4)](_0x399239=>{const _0xd17e1c=_0x41745b;_0x399239[_0xd17e1c(0x269)]?_0x399239['id']=_0x4e8a09++:_0x399239['id']=_0x3192cd[_0x498a40++];}),this[_0x41745b(0x1d6)](_0x1a898c),this[_0x41745b(0x24f)](_0x11eb6f,_0x41745b(0x255)),this[_0x41745b(0x24f)](_0x1a898c,_0x41745b(0x269)),_0x39e0b0==_0x53f75c&&this[_0x41745b(0x1d7)](_0x11eb6f,_0x28932a),_0x11eb6f=this[_0x41745b(0x2c4)](_0x11eb6f,_0x1a898c),this[_0x41745b(0x243)](_0x11eb6f),this[_0x41745b(0x24f)](_0x11eb6f,_0x41745b(0x269));}_0x11eb6f=_0x11eb6f[_0x41745b(0x1e0)](_0x265e3c=>!(_0x265e3c[_0x41745b(0x255)]&&_0x265e3c[_0x41745b(0x269)]));const _0x113722=new Map(_0x43fe0c[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2ca)][_0x41745b(0x2ac)]),_0x204f3f=new Set(_0x28932a[_0x41745b(0x214)]());for(const _0x3f4ba3 of _0x113722[_0x41745b(0x214)]())_0x204f3f[_0x41745b(0x27d)](_0x3f4ba3);this[_0x41745b(0x21e)](_0x11eb6f,_0x204f3f),this[_0x41745b(0x26f)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x1f0)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x293)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x2d5)](_0x11eb6f);const {root:_0x395462,changes:_0x496ba8}=this[_0x41745b(0x1cb)](_0x11eb6f,_0x27e598,_0x18783f);_0x53ad5b[_0x41745b(0x2b9)][_0x18783f]=_0x395462;const _0x4e9fd7=_0x40bb8e[_0x41745b(0x287)](_0x18783f);if(_0x4e9fd7){const _0x54277b=_0x27e598[_0x41745b(0x287)](_0x4e9fd7[_0x41745b(0x1c6)]),_0xf24b9e=new _0x2cabae({'author':_0x54277b,'type':_0x4e9fd7[_0x41745b(0x235)]?_0x41745b(0x297):_0x41745b(0x1d9),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x18783f});_0x496ba8[_0x41745b(0x27f)](_0xf24b9e),_0x53ad5b[_0x41745b(0x28e)][_0x18783f][_0x41745b(0x1de)]=_0xf24b9e['id'];}_0x53ad5b[_0x41745b(0x1cf)]=_0x53ad5b[_0x41745b(0x1cf)][_0x41745b(0x2a5)](_0x496ba8);}return _0x53ad5b;}[_0x40fdb4(0x1d7)](_0x4ede99,_0x40026e){const _0x2dbb14=_0x40fdb4;for(let _0x4cd326=0x0;_0x4cd326<_0x4ede99[_0x2dbb14(0x207)];_0x4cd326++)for(const [_0x494a02,_0xf539e5]of _0x40026e)_0xf539e5[_0x2dbb14(0x2d1)][_0x2dbb14(0x280)](_0x4ede99[_0x4cd326][_0x2dbb14(0x291)])&&_0x4ede99[_0x4cd326][_0x2dbb14(0x28b)][_0x2dbb14(0x2a3)](_0x494a02),_0xf539e5[_0x2dbb14(0x1ce)][_0x2dbb14(0x280)](_0x4ede99[_0x4cd326][_0x2dbb14(0x212)])&&_0x4ede99[_0x4cd326][_0x2dbb14(0x1a3)][_0x2dbb14(0x2a3)](_0x494a02);}[_0x40fdb4(0x2c4)](_0x466b57,_0x1771fd){const _0x3866a=_0x40fdb4;let _0x171f60=[],_0x363ed8=0x0,_0x238742=0x0;for(;_0x363ed8<_0x466b57[_0x3866a(0x207)]||_0x238742<_0x1771fd[_0x3866a(0x207)];){const _0x4c2458=_0x466b57[_0x363ed8]||{},_0x242e6b=_0x1771fd[_0x238742]||{};if(_0x4c2458['id']==_0x242e6b['id'])_0x363ed8++,_0x238742++,_0x171f60[_0x3866a(0x2a3)](_0x4c2458);else{if(_0x242e6b[_0x3866a(0x269)]&&_0x4c2458[_0x3866a(0x255)]){const {commonTape:_0x563230,iEnd:_0x1c6e2c,jEnd:_0x2c3fd9}=this[_0x3866a(0x290)](_0x466b57,_0x363ed8,_0x1771fd,_0x238742);_0x171f60=_0x171f60[_0x3866a(0x2a5)](_0x563230),_0x363ed8=_0x1c6e2c,_0x238742=_0x2c3fd9;}else _0x242e6b[_0x3866a(0x269)]?(_0x238742++,_0x171f60[_0x3866a(0x2a3)](_0x242e6b)):(_0x363ed8++,_0x171f60[_0x3866a(0x2a3)](_0x4c2458));}}return _0x171f60;}[_0x40fdb4(0x21e)](_0xc4913b,_0x42e720){const _0x4904e2=_0x40fdb4,_0x2cc53a=[];for(let _0x38aaf8=0x0;_0x38aaf8<_0xc4913b[_0x4904e2(0x207)];_0x38aaf8++){for(let _0x39cb66=0x0;_0x39cb66<_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x4904e2(0x207)];_0x39cb66++){const _0x78f644=_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x39cb66];if(!_0x42e720[_0x4904e2(0x1b9)](_0x78f644))continue;const {group:_0x2ca82b,type:_0x5e887b,authorId:_0x33c7ae}=_0xe0d453(_0x78f644);_0x4904e2(0x2b0)!=_0x2ca82b||_0x4904e2(0x227)!=_0x5e887b&&_0x4904e2(0x1d1)!=_0x5e887b||(_0x2cc53a[_0x4904e2(0x27f)]({'type':_0x5e887b,'name':_0x78f644,'userId':_0x33c7ae}),_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x4904e2(0x22d)](_0x39cb66,0x1),_0x39cb66--);}_0x1b90ed(_0xc4913b[_0x38aaf8]);for(let _0x53331e=0x0;_0x53331e<_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x4904e2(0x207)];_0x53331e++){const _0x419485=_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x53331e];if(!_0x42e720[_0x4904e2(0x1b9)](_0x419485))continue;const {group:_0x57d053,type:_0x3cc1de}=_0xe0d453(_0x419485);if(_0x4904e2(0x2b0)!=_0x57d053||_0x4904e2(0x227)!=_0x3cc1de&&_0x4904e2(0x1d1)!=_0x3cc1de)continue;_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x4904e2(0x22d)](_0x53331e,0x1),_0x53331e--;const _0x2a595d=_0x2cc53a[_0x4904e2(0x241)](_0x5755db=>_0x5755db[_0x4904e2(0x1bd)]==_0x419485);_0x2a595d>-0x1&&_0x2cc53a[_0x4904e2(0x22d)](_0x2a595d,0x1);}}function _0xe0d453(_0x1a0066){const _0x17b16d=_0x4904e2,_0x29f5ce=_0x1a0066[_0x17b16d(0x251)](':');return{'group':_0x29f5ce[0x0],'type':_0x29f5ce[0x1],'subType':_0x29f5ce[_0x17b16d(0x207)]>=0x5?_0x29f5ce[0x2]:null,'id':_0x29f5ce[_0x17b16d(0x207)]<0x5?_0x29f5ce[0x2]:_0x29f5ce[0x3],'authorId':_0x29f5ce[_0x17b16d(0x207)]<0x5?_0x29f5ce[0x3]:_0x29f5ce[0x4],'markerCount':0x6==_0x29f5ce[_0x17b16d(0x207)]?_0x29f5ce[0x5]:null};}function _0x1b90ed(_0x543db0){const _0x2ab0e5=_0x4904e2;for(let _0x791ac9=0x0;_0x791ac9<_0x2cc53a[_0x2ab0e5(0x207)];_0x791ac9++){if(_0x543db0[_0x2ab0e5(0x255)]&&_0x2ab0e5(0x227)==_0x2cc53a[_0x791ac9][_0x2ab0e5(0x1dc)])return _0x543db0[_0x2ab0e5(0x2b6)]=_0x2cc53a[_0x791ac9],void delete _0x543db0[_0x2ab0e5(0x255)];if(!_0x543db0[_0x2ab0e5(0x255)]&&!_0x543db0[_0x2ab0e5(0x269)]&&_0x2ab0e5(0x1d1)==_0x2cc53a[_0x791ac9][_0x2ab0e5(0x1dc)])return void(_0x543db0[_0x2ab0e5(0x25e)]=_0x2cc53a[_0x791ac9]);}}}[_0x40fdb4(0x24f)](_0x88505a,_0x296fb0){const _0x1db121=_0x40fdb4;let _0x26164a=0x0,_0x45b95f=!0x1;const _0x32a3b5=new Map();for(const _0x493c97 of _0x88505a)_0x493c97[_0x296fb0]?_0x45b95f&&(_0x26164a++,_0x45b95f=!0x1):(_0x26164a++,_0x45b95f=!0x0),_0x32a3b5[_0x1db121(0x1c2)](_0x493c97['id'],_0x26164a);for(let _0x4d53b0=0x0;_0x4d53b0<_0x88505a[_0x1db121(0x207)];_0x4d53b0++){if(_0x1db121(0x269)==_0x296fb0&&_0x88505a[_0x4d53b0][_0x1db121(0x255)]||_0x1db121(0x255)==_0x296fb0&&_0x88505a[_0x4d53b0][_0x1db121(0x269)])continue;if(_0x1db121(0x1b1)==_0x88505a[_0x4d53b0][_0x1db121(0x1dc)]){_0x88505a[_0x4d53b0][_0x1db121(0x20f)]=0x0;continue;}const _0xb0f35e=_0x32a3b5[_0x1db121(0x287)](_0x88505a[_0x4d53b0][_0x1db121(0x28f)]),_0x165468=_0x32a3b5[_0x1db121(0x287)](_0x88505a[_0x4d53b0]['id']);_0x88505a[_0x4d53b0][_0x1db121(0x20f)]=_0xb0f35e-_0x165468;}}[_0x40fdb4(0x2d6)](_0x3c9f6b,_0x461460,_0x19112a=!0x1){const _0x4ee228=_0x40fdb4,_0x5f4d9e=[];let _0x2e4169=this[_0x4ee228(0x232)][_0x4ee228(0x1a1)](_0x3c9f6b),_0x5ca2a8=this[_0x4ee228(0x232)][_0x4ee228(0x1a1)](_0x461460);for(-0x1==_0x5ca2a8&&(_0x5ca2a8=this[_0x4ee228(0x232)][_0x4ee228(0x225)][_0x4ee228(0x207)],_0x19112a=!0x1);_0x2e4169<_0x5ca2a8;)_0x5f4d9e[_0x4ee228(0x2a3)](this[_0x4ee228(0x232)][_0x4ee228(0x1b8)](_0x2e4169)),_0x2e4169++;return _0x19112a&&_0x5f4d9e[_0x4ee228(0x2a3)](this[_0x4ee228(0x232)][_0x4ee228(0x1b8)](_0x2e4169)),_0x5f4d9e;}[_0x40fdb4(0x290)](_0x3d7a54,_0x5beb9b,_0x3aa1cb,_0x301448){const _0x7f203a=_0x40fdb4,_0x324e1b=this[_0x7f203a(0x1a9)][_0x7f203a(0x2b9)][_0x7f203a(0x2a2)];let _0x3130dc=_0x5beb9b;for(;_0x3d7a54[_0x3130dc]&&_0x3d7a54[_0x3130dc][_0x7f203a(0x255)];)_0x3130dc++;let _0x304708=_0x301448;for(;_0x3aa1cb[_0x304708]&&_0x3aa1cb[_0x304708][_0x7f203a(0x269)];)_0x304708++;_0x4ab2e3(_0x3d7a54,_0x5beb9b,_0x3130dc),_0x4ab2e3(_0x3aa1cb,_0x301448,_0x304708);const _0x3afbe4=_0x3aa1cb[_0x7f203a(0x1b6)](_0x301448,_0x304708)[_0x7f203a(0x2a5)](_0x3d7a54[_0x7f203a(0x1b6)](_0x5beb9b,_0x3130dc));return _0x3afbe4[_0x7f203a(0x1cd)]((_0x4e9bbe,_0x96b188)=>_0x4e9bbe[_0x7f203a(0x273)]!=_0x96b188[_0x7f203a(0x273)]?_0x4e9bbe[_0x7f203a(0x273)]-_0x96b188[_0x7f203a(0x273)]:_0x4e9bbe[_0x7f203a(0x203)]!=_0x96b188[_0x7f203a(0x203)]?_0x4e9bbe[_0x7f203a(0x203)]-_0x96b188[_0x7f203a(0x203)]:_0x4e9bbe[_0x7f203a(0x20f)]!=_0x96b188[_0x7f203a(0x20f)]?_0x96b188[_0x7f203a(0x20f)]-_0x4e9bbe[_0x7f203a(0x20f)]:!!_0x4e9bbe[_0x7f203a(0x255)]!=!!_0x96b188[_0x7f203a(0x255)]?-0x1==_0x4e9bbe[_0x7f203a(0x273)]||0x0==_0x4e9bbe[_0x7f203a(0x273)]?_0x4e9bbe[_0x7f203a(0x255)]?-0x1:0x1:_0x4e9bbe[_0x7f203a(0x255)]?0x1:-0x1:_0x4e9bbe[_0x7f203a(0x27c)]-_0x96b188[_0x7f203a(0x27c)]),{'commonTape':_0x3afbe4,'iEnd':_0x3130dc,'jEnd':_0x304708};function _0x4ab2e3(_0x31ef55,_0x1f746b,_0x2f1073){const _0x29975f=_0x7f203a;let _0x5f5771=-0x1,_0x56dce3=Number[_0x29975f(0x2df)],_0x2aeebf=!0x0;for(let _0x49374d=_0x1f746b;_0x49374d<_0x2f1073;_0x49374d++)if(_0x324e1b[_0x29975f(0x268)](_0x31ef55[_0x49374d][_0x29975f(0x1cc)])||(_0x2aeebf=!0x1),_0x31ef55[_0x49374d][_0x29975f(0x1cc)][_0x29975f(0x210)]<_0x1f746b&&(_0x5f5771=_0x49374d),_0x31ef55[_0x49374d][_0x29975f(0x1cc)][_0x29975f(0x1db)]>=_0x2f1073){_0x56dce3=_0x49374d;break;}_0x2aeebf&&(_0x5f5771=_0x2f1073-0x1);for(let _0x3815c5=_0x1f746b;_0x3815c5<_0x2f1073;_0x3815c5++)_0x31ef55[_0x3815c5][_0x29975f(0x273)]=_0x3815c5<=_0x5f5771?-0x1:_0x3815c5<_0x56dce3?0x0:0x1,_0x31ef55[_0x3815c5][_0x29975f(0x27c)]=_0x3815c5;let _0x225ada=0x0;for(let _0x24de53=_0x1f746b;_0x24de53<=_0x5f5771;_0x24de53++)0x0==_0x31ef55[_0x24de53][_0x29975f(0x20f)]?_0x31ef55[_0x24de53][_0x29975f(0x203)]=_0x225ada:(_0x225ada++,_0x31ef55[_0x24de53][_0x29975f(0x203)]=_0x225ada,_0x225ada++);for(let _0x32d7df=_0x1f746b;_0x32d7df<_0x2f1073;_0x32d7df++)0x0==_0x31ef55[_0x32d7df][_0x29975f(0x273)]&&(_0x31ef55[_0x32d7df][_0x29975f(0x203)]=_0x225ada);_0x225ada=0x0;for(let _0x3be0f9=_0x2f1073-0x1;_0x3be0f9>=_0x56dce3;_0x3be0f9--)0x0==_0x31ef55[_0x3be0f9][_0x29975f(0x20f)]?_0x31ef55[_0x3be0f9][_0x29975f(0x203)]=_0x225ada:(_0x225ada--,_0x31ef55[_0x3be0f9][_0x29975f(0x203)]=_0x225ada,_0x225ada--);}}[_0x40fdb4(0x26f)](_0x3ccc9e){const _0x32363b=_0x40fdb4,_0x5ee0e7=new Map(),_0x3b367a=this[_0x32363b(0x1a9)][_0x32363b(0x2b9)][_0x32363b(0x2a2)];for(let _0x10e9b8=0x1;_0x10e9b8<_0x3ccc9e[_0x32363b(0x207)];_0x10e9b8++){let _0xa6ada0,_0x15785d,_0x27e613;const _0x5ae2f3=_0x3ccc9e[_0x10e9b8],_0x33fe78=_0x3ccc9e[_0x10e9b8-0x1];if(_0x32363b(0x1b1)==_0x5ae2f3[_0x32363b(0x1dc)])continue;if(_0x5ae2f3[_0x32363b(0x1dc)]!=_0x33fe78[_0x32363b(0x1dc)])continue;if(!_0x3b367a[_0x32363b(0x22e)](_0x33fe78[_0x32363b(0x1cc)])||_0x3b367a[_0x32363b(0x1f6)](_0x33fe78[_0x32363b(0x1cc)]))continue;if(!_0x3b367a[_0x32363b(0x22e)](_0x5ae2f3[_0x32363b(0x1cc)])||_0x3b367a[_0x32363b(0x1f6)](_0x5ae2f3[_0x32363b(0x1cc)]))continue;if((_0x3ccc9e[_0x10e9b8][_0x32363b(0x255)]||_0x3ccc9e[_0x10e9b8][_0x32363b(0x2b6)])&&_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x269)])_0xa6ada0=_0x3ccc9e[_0x10e9b8],_0x15785d=_0x3ccc9e[_0x10e9b8-0x1],_0x27e613=_0x10e9b8-0x1;else{if(!_0x3ccc9e[_0x10e9b8][_0x32363b(0x269)]||!_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x255)]&&!_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x2b6)])continue;_0xa6ada0=_0x3ccc9e[_0x10e9b8-0x1],_0x15785d=_0x3ccc9e[_0x10e9b8],_0x27e613=_0x10e9b8;}const _0x2761fb=_0xa6ada0[_0x32363b(0x203)]==_0x15785d[_0x32363b(0x203)],_0x32ed81=Math[_0x32363b(0x2d9)](_0xa6ada0[_0x32363b(0x203)])<Math[_0x32363b(0x2d9)](_0x15785d[_0x32363b(0x203)])&&0x0==_0x15785d[_0x32363b(0x20f)];(_0x2761fb||_0x32ed81)&&(_0x5ee0e7[_0x32363b(0x1c2)](_0x15785d['id'],_0xa6ada0['id']),_0x3ccc9e[_0x32363b(0x22d)](_0x27e613,0x1),_0x10e9b8--,_0xa6ada0[_0x32363b(0x255)]=!0x1);}for(let _0xa8e58f=0x0;_0xa8e58f<_0x3ccc9e[_0x32363b(0x207)];_0xa8e58f++)_0x5ee0e7[_0x32363b(0x1b9)](_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)])&&(_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)]=_0x5ee0e7[_0x32363b(0x287)](_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)]));}[_0x40fdb4(0x1f0)](_0x182e9c){const _0x3ef9fc=_0x40fdb4,_0x92e9b1=new Set(_0x182e9c[_0x3ef9fc(0x220)](_0xfc3acb=>_0xfc3acb['id']));for(let _0x3ac50c=0x0;_0x3ac50c<_0x182e9c[_0x3ef9fc(0x207)];_0x3ac50c++)_0x92e9b1[_0x3ef9fc(0x1b9)](_0x182e9c[_0x3ac50c][_0x3ef9fc(0x28f)])||0x0==_0x182e9c[_0x3ac50c][_0x3ef9fc(0x20f)]||(_0x182e9c[_0x3ac50c][_0x3ef9fc(0x1ca)]=!0x0);return _0x182e9c[_0x3ef9fc(0x1e0)](_0x32fba3=>!_0x32fba3[_0x3ef9fc(0x1ca)]);}[_0x40fdb4(0x293)](_0x5df8c5){const _0x1d80b3=_0x40fdb4,_0x44d90c=new Set();for(let _0x37c4d7=0x0;_0x37c4d7<_0x5df8c5[_0x1d80b3(0x207)];_0x37c4d7++){if(_0x44d90c[_0x1d80b3(0x1b9)](_0x5df8c5[_0x37c4d7]['id'])&&_0x5df8c5[_0x37c4d7][_0x1d80b3(0x269)]&&(_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)]=!0x0),_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)])continue;if(0x0==_0x5df8c5[_0x37c4d7][_0x1d80b3(0x20f)])continue;if(_0x1d80b3(0x2a9)!=_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1dc)])continue;if(null==_0x5df8c5[_0x37c4d7][_0x1d80b3(0x28f)])continue;let _0x59260a=_0x37c4d7+0x1,_0xbe60fa=0x0;for(;_0x5df8c5[_0x59260a]['id']!=_0x5df8c5[_0x37c4d7][_0x1d80b3(0x28f)];)_0x1d80b3(0x2a9)==_0x5df8c5[_0x59260a][_0x1d80b3(0x1dc)]?_0xbe60fa++:_0x1d80b3(0x1a5)==_0x5df8c5[_0x59260a][_0x1d80b3(0x1dc)]&&_0xbe60fa--,_0x59260a++;if(0x0!=_0xbe60fa){if(_0x5df8c5[_0x37c4d7][_0x1d80b3(0x269)])_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)]=!0x0;else{for(;_0x59260a!=_0x37c4d7;)_0x5df8c5[_0x59260a][_0x1d80b3(0x269)]&&0x0!=_0x5df8c5[_0x59260a][_0x1d80b3(0x20f)]&&(_0x5df8c5[_0x59260a][_0x1d80b3(0x1ca)]=!0x0,_0x44d90c[_0x1d80b3(0x297)](_0x5df8c5[_0x59260a][_0x1d80b3(0x28f)])),_0x59260a--;}}}return _0x5df8c5[_0x1d80b3(0x1e0)](_0x1200d8=>!_0x1200d8[_0x1d80b3(0x1ca)]);}[_0x40fdb4(0x2d5)](_0x7999dc){const _0x425e71=_0x40fdb4,_0x2d1f25=this[_0x425e71(0x1a9)][_0x425e71(0x2b9)][_0x425e71(0x2a2)];for(let _0x15039d=0x0;_0x15039d<_0x7999dc[_0x425e71(0x207)];_0x15039d++){if(!(_0x7999dc[_0x15039d][_0x425e71(0x255)]||_0x7999dc[_0x15039d][_0x425e71(0x2b6)]||_0x7999dc[_0x15039d][_0x425e71(0x269)]||_0x7999dc[_0x15039d][_0x425e71(0x25e)]))continue;if(0x0==_0x7999dc[_0x15039d][_0x425e71(0x20f)])continue;const _0x387c5d=_0x7999dc[_0x15039d][_0x425e71(0x1cc)];_0x2d1f25[_0x425e71(0x22e)](_0x387c5d)||_0x2d1f25[_0x425e71(0x1f6)](_0x387c5d)||(_0x7999dc[_0x15039d][_0x425e71(0x255)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x255)],_0x7999dc[_0x15039d][_0x425e71(0x2b6)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x2b6)],_0x7999dc[_0x15039d][_0x425e71(0x25e)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x25e)],_0x7999dc[_0x15039d][_0x425e71(0x269)]&&(_0x7999dc[_0x15039d][_0x425e71(0x1ca)]=!0x0));}return _0x7999dc[_0x425e71(0x1e0)](_0x43a4ea=>!_0x43a4ea[_0x425e71(0x1ca)]);}[_0x40fdb4(0x1cb)](_0x3701d4,_0xec8856,_0x1554c2){const _0x3355e6=_0x40fdb4,_0x5f5cf9=new _0x30cd1f(),_0x401ba9=[],_0x16000d=new Map(),_0x286059=this[_0x3355e6(0x1a9)][_0x3355e6(0x2b9)],_0x44eed2=_0x286059[_0x3355e6(0x2a2)],_0x2b0117=[_0x5f5cf9],_0x2c3a4e={},_0x42c5ed={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3a92d9=null;const _0x221864=[0x0];for(let _0x916119=0x0;_0x916119<_0x3701d4[_0x3355e6(0x207)];_0x916119++){let _0x3fd2ea,_0x375a16;if(_0x3355e6(0x2a9)===_0x3701d4[_0x916119][_0x3355e6(0x1dc)]){_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864);const _0x47eb37=new _0x50648b(_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1bd)],_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2be)]());_0x2b0117[0x0][_0x3355e6(0x299)](_0x47eb37),_0x221864[_0x3355e6(0x2a3)](0x0),_0x2b0117[_0x3355e6(0x27f)](_0x47eb37),_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9=null;}else{if(_0x3355e6(0x1a5)===_0x3701d4[_0x916119][_0x3355e6(0x1dc)])_0x2b0117[_0x3355e6(0x2ce)](),_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x221864[_0x3355e6(0x21f)](),_0x221864[_0x221864[_0x3355e6(0x207)]-0x1]++,_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9=null;else{if(_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9&&_0x4bec55(_0x3a92d9,_0x3701d4[_0x916119][_0x3355e6(0x1cc)]))_0x3a92d9[_0x3355e6(0x1ba)]+=_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1e7)];else{const _0x391280=new _0x39c94f(_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1e7)],_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2be)]());_0x2b0117[0x0][_0x3355e6(0x299)](_0x391280),_0x3a92d9=_0x391280;}_0x221864[_0x221864[_0x3355e6(0x207)]-0x1]+=_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2c9)],_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864);}}for(const _0x4cb7d2 of _0x3701d4[_0x916119][_0x3355e6(0x28b)])_0x16000d[_0x3355e6(0x1c2)](_0x4cb7d2,{'start':_0x3fd2ea,'end':null});_0x45a8b6(_0x3355e6(0x25e),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x2b6),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x269),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x255),_0x916119,_0x3fd2ea,_0x375a16);for(const _0x16da5f of _0x3701d4[_0x916119][_0x3355e6(0x1a3)]){_0x16000d[_0x3355e6(0x287)](_0x16da5f)[_0x3355e6(0x1ce)]=_0x375a16;}}for(const [_0xb9f3cf,_0x4d1c2c]of _0x16000d){const _0x473413=this[_0x3355e6(0x1a9)][_0x3355e6(0x2b9)][_0x3355e6(0x1d2)](_0x4d1c2c[_0x3355e6(0x2d1)],_0x4d1c2c[_0x3355e6(0x1ce)]);_0x5f5cf9[_0x3355e6(0x2ac)][_0x3355e6(0x1c2)](_0xb9f3cf,_0x473413);}return _0x401ba9[_0x3355e6(0x1cd)]((_0x2c7365,_0x23d317)=>{const _0x52d020=_0x3355e6,_0x2ad1ce=_0x5f5cf9[_0x52d020(0x2ac)][_0x52d020(0x287)](_0x52d020(0x247)+_0x2c7365['id']),_0x164f99=_0x5f5cf9[_0x52d020(0x2ac)][_0x52d020(0x287)](_0x52d020(0x247)+_0x23d317['id']);return _0x2ad1ce[_0x52d020(0x2d1)][_0x52d020(0x204)](_0x164f99[_0x52d020(0x2d1)])?-0x1:_0x2ad1ce[_0x52d020(0x2d1)][_0x52d020(0x1b0)](_0x164f99[_0x52d020(0x2d1)])?0x1:_0x2ad1ce[_0x52d020(0x1ce)][_0x52d020(0x204)](_0x164f99[_0x52d020(0x1ce)])?-0x1:_0x2ad1ce[_0x52d020(0x1ce)][_0x52d020(0x1b0)](_0x164f99[_0x52d020(0x1ce)])?0x1:_0x52d020(0x297)===_0x2c7365[_0x52d020(0x1dc)]?-0x1:0x1;}),{'root':_0x5f5cf9,'changes':_0x401ba9};function _0x45a8b6(_0x3735ae,_0x16848c,_0x1301f9,_0x1dbc04){const _0x507845=_0x3355e6,_0x458a4c=!!_0x3701d4[_0x16848c][_0x3735ae],_0x33235e=_0x458a4c?_0x3701d4[_0x16848c][_0x3735ae][_0x507845(0x1c6)]:null,_0x66f192=_0x16848c===_0x3701d4[_0x507845(0x207)]-0x1,_0x4d2e97=_0x42c5ed[_0x3735ae][0x0],_0x2543ee=_0x44eed2[_0x507845(0x2dc)](_0x3701d4[_0x16848c][_0x507845(0x1cc)]);!_0x2c3a4e[_0x3735ae]&&_0x458a4c?_0x2c3a4e[_0x3735ae]={'start':_0x1301f9,'tapeItem':_0x3701d4[_0x16848c],'userId':_0x33235e,'type':_0x3735ae}:_0x2c3a4e[_0x3735ae]&&!_0x458a4c?(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1301f9,_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]=null):_0x2c3a4e[_0x3735ae]&&_0x458a4c&&_0x2c3a4e[_0x3735ae][_0x507845(0x1c6)]!==_0x33235e&&(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1301f9,_0x4d2e97&&_0x4d2e97[_0x507845(0x1c6)]===_0x2c3a4e[_0x3735ae][_0x507845(0x1c6)]||_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]={'start':_0x1301f9,'tapeItem':_0x3701d4[_0x16848c],'userId':_0x33235e,'type':_0x3735ae}),_0x2c3a4e[_0x3735ae]&&_0x2543ee&&(_0x507845(0x2a9)!==_0x3701d4[_0x16848c][_0x507845(0x1dc)]||_0x4d2e97&&_0x4d2e97[_0x507845(0x1c6)]===_0x33235e||_0x42c5ed[_0x3735ae][_0x507845(0x27f)]({'userId':_0x33235e,'object':_0x3701d4[_0x16848c][_0x507845(0x1cc)],'change':_0x2c3a4e[_0x3735ae]}),_0x507845(0x1a5)===_0x3701d4[_0x16848c][_0x507845(0x1dc)]&&_0x4d2e97&&_0x4d2e97[_0x507845(0x233)]===_0x3701d4[_0x16848c][_0x507845(0x1cc)]&&(_0x42c5ed[_0x3735ae][_0x507845(0x2ce)](),_0x2c3a4e[_0x3735ae]=_0x4d2e97[_0x507845(0x283)])),_0x2c3a4e[_0x3735ae]&&_0x66f192&&(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1dbc04,_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]=null);}function _0x479b26({start:_0x743883,end:_0x48bf19,tapeItem:_0x443afb,userId:_0x2dcd9f,type:_0x5cdb7d}){const _0x3a1771=_0x3355e6,_0x250e10=_0x443afb[_0x3a1771(0x1cc)],_0x2ec6ab=_0x286059[_0x3a1771(0x2a2)][_0x3a1771(0x22e)](_0x250e10)&&!_0x286059[_0x3a1771(0x2a2)][_0x3a1771(0x1f6)](_0x250e10),_0xe9dcae=_0x743883[_0x3a1771(0x1e2)]==_0x48bf19[_0x3a1771(0x237)]&&_0x48bf19[_0x3a1771(0x261)];if(_0x2ec6ab&&_0xe9dcae)return;const _0xbd1346=_0x286059[_0x3a1771(0x1d2)](_0x743883,_0x48bf19),_0x38bde4=_0xec8856[_0x3a1771(0x287)](_0x2dcd9f),_0x55f841=new _0x2cabae({'author':_0x38bde4,'type':_0x3a1771(0x255)==_0x5cdb7d||_0x3a1771(0x2b6)==_0x5cdb7d?_0x3a1771(0x297):_0x3a1771(0x1d9),'data':{'isSuggestion':_0x3a1771(0x2b6)==_0x5cdb7d||_0x3a1771(0x25e)==_0x5cdb7d},'createdAt':new Date(),'rootName':_0x1554c2});_0x401ba9[_0x3a1771(0x2a3)](_0x55f841),_0x5f5cf9[_0x3a1771(0x2ac)][_0x3a1771(0x1c2)](_0x3a1771(0x247)+_0x55f841['id'],_0xbd1346);}function _0x4bec55(_0x564669,_0x47ef40){const _0x577600=_0x3355e6,_0x17689b=_0x564669[_0x577600(0x2be)](),_0x28aacc=_0x47ef40[_0x577600(0x2be)]();for(const _0x427621 of _0x17689b){if(_0x427621[0x1]!==_0x47ef40[_0x577600(0x2db)](_0x427621[0x0]))return!0x1;_0x28aacc[_0x577600(0x1ed)]();}return _0x28aacc[_0x577600(0x1ed)]()[_0x577600(0x1ad)];}}[_0x40fdb4(0x2a1)](){const _0x342440=_0x40fdb4;this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x1fe)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x281))[_0x342440(0x277)]({'model':_0x342440(0x1fe),'view':_0x41b62b=>{const _0x5c3a56=_0x342440,_0x132d8e=_0x41b62b[_0x5c3a56(0x19f)][_0x5c3a56(0x251)](':')[0x1],_0x552096=this[_0x5c3a56(0x270)](_0x132d8e);if(!_0x552096)return null;const _0x414a6d=_0x5c3a56(0x297)==_0x552096[_0x5c3a56(0x1dc)]?_0x5c3a56(0x227):_0x5c3a56(0x1d1),_0x203c5e=[_0x5c3a56(0x2d3),_0x5c3a56(0x1e1)+_0x414a6d];return _0x552096[_0x5c3a56(0x1e7)][_0x5c3a56(0x2a4)]&&_0x203c5e[_0x5c3a56(0x2a3)](_0x5c3a56(0x1e1)+_0x414a6d+_0x5c3a56(0x2c2)),this[_0x5c3a56(0x19c)]==_0x552096&&_0x203c5e[_0x5c3a56(0x2a3)](_0x5c3a56(0x218)),{'classes':_0x203c5e,'attributes':{'data-change-id':_0x132d8e}};}}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x297)](_0x569ef3=>{const _0x217850=_0x342440;_0x569ef3['on'](_0x217850(0x1c5),(_0x540296,_0x350fb1,_0x44c0a6)=>{const _0x5a7d46=_0x217850,_0x524ad8=_0x350fb1[_0x5a7d46(0x238)][_0x5a7d46(0x230)](0x0);if(!_0x524ad8||!_0x524ad8['is'](_0x5a7d46(0x2dd),_0x5a7d46(0x1ee)))return;if(!_0x44c0a6[_0x5a7d46(0x26d)][_0x5a7d46(0x211)](_0x524ad8,{'attributes':[_0x5a7d46(0x285),_0x5a7d46(0x219)]}))return;const _0x27d0b4=_0x350fb1[_0x5a7d46(0x2e2)][_0x5a7d46(0x2d1)][_0x5a7d46(0x1e2)];_0x44c0a6[_0x5a7d46(0x2b2)][_0x5a7d46(0x1ac)](_0x5a7d46(0x285),_0x524ad8[_0x5a7d46(0x2db)](_0x5a7d46(0x285)),_0x27d0b4),_0x44c0a6[_0x5a7d46(0x2b2)][_0x5a7d46(0x1ac)](_0x5a7d46(0x219),_0x524ad8[_0x5a7d46(0x2db)](_0x5a7d46(0x219)),_0x27d0b4);},{'priority':_0x217850(0x22b)});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x297)](_0x954262=>{const _0x2ba0a3=_0x342440;_0x954262['on'](_0x2ba0a3(0x2dd),(_0x4b1412,_0x1ba298,_0x77743d)=>{const _0xe8aec4=_0x2ba0a3;if(!_0x77743d[_0xe8aec4(0x26d)][_0xe8aec4(0x211)](_0x1ba298[_0xe8aec4(0x238)],{'attributes':[_0xe8aec4(0x285),_0xe8aec4(0x219)]}))return;if(_0x1ba298[_0xe8aec4(0x2e2)][_0xe8aec4(0x1a4)])return;const _0x15f9c6=_0x1ba298[_0xe8aec4(0x2e2)][_0xe8aec4(0x2d1)][_0xe8aec4(0x1e2)];_0x15f9c6[_0xe8aec4(0x2e8)](_0xe8aec4(0x285))||_0x15f9c6[_0xe8aec4(0x2e8)](_0xe8aec4(0x1c1))||(_0x77743d[_0xe8aec4(0x2b2)][_0xe8aec4(0x1ac)](_0xe8aec4(0x285),_0x1ba298[_0xe8aec4(0x238)][_0xe8aec4(0x2db)](_0xe8aec4(0x285)),_0x15f9c6),_0x77743d[_0xe8aec4(0x2b2)][_0xe8aec4(0x1ac)](_0xe8aec4(0x219),_0x1ba298[_0xe8aec4(0x238)][_0xe8aec4(0x2db)](_0xe8aec4(0x219)),_0x15f9c6));},{'priority':_0x2ba0a3(0x22b)});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x242)]({'view':{'name':_0x342440(0x1ae),'attributes':{'vid':!0x0}},'model':{'key':_0x342440(0x1c1),'value':_0x4d0bf2=>_0x4d0bf2[_0x342440(0x2db)](_0x342440(0x1c1))}}),this[_0x342440(0x1a9)][_0x342440(0x2b9)][_0x342440(0x2a2)]['on'](_0x342440(0x2b3),(_0x3534db,[,_0x1300cd])=>{const _0x6e8246=_0x342440;[_0x6e8246(0x285),_0x6e8246(0x219),_0x6e8246(0x1c1)][_0x6e8246(0x228)](_0x1300cd)&&(_0x3534db[_0x6e8246(0x1af)]=!0x0,_0x3534db[_0x6e8246(0x294)]());},{'priority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x297)](_0x9ae7a9=>{const _0x875259=_0x342440;_0x9ae7a9['on'](_0x875259(0x19e),(_0x2530d1,_0xf83b90,_0x498cde)=>{const _0x26b5ab=_0x875259;if('\x20'!=_0xf83b90[_0x26b5ab(0x1cc)][_0x26b5ab(0x1e7)]||_0xf83b90[_0x26b5ab(0x1cc)][_0x26b5ab(0x237)][_0x26b5ab(0x266)]>0x1)return;if(!_0x498cde[_0x26b5ab(0x26d)][_0x26b5ab(0x211)](_0xf83b90[_0x26b5ab(0x1cc)],_0x2530d1[_0x26b5ab(0x1bd)]))return;const _0x379f27=_0x498cde[_0x26b5ab(0x2b2)],_0x2f277a=_0x498cde[_0x26b5ab(0x1b7)][_0x26b5ab(0x248)](_0xf83b90[_0x26b5ab(0x1a2)]);_0x379f27[_0x26b5ab(0x29d)](_0x2f277a,_0x379f27[_0x26b5ab(0x2d4)](_0x26b5ab(0x1ae)));});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x286)]({'model':_0x342440(0x1fe)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x215),function(_0x3739ee){const _0x1e85f3=_0x342440,_0x4c86dc=_0x3739ee[_0x1e85f3(0x252)][_0x1e85f3(0x287)](_0x1e85f3(0x21c));return(_0x274860,_0x56e4ff,_0x5c80e9)=>{const _0x4ff245=_0x1e85f3,_0x1d7bc4=_0x56e4ff[_0x4ff245(0x19f)][_0x4ff245(0x251)](':')[0x1],_0x3fb8ad=_0x4c86dc[_0x4ff245(0x270)](_0x1d7bc4);if(!_0x3fb8ad)return null;const _0x4864b6=_0x4ff245(0x297)==_0x3fb8ad[_0x4ff245(0x1dc)]?_0x4ff245(0x251):_0x4ff245(0x296);if(!_0x5c80e9[_0x4ff245(0x26d)][_0x4ff245(0x2e3)](_0x56e4ff[_0x4ff245(0x208)],_0x274860[_0x4ff245(0x1bd)]))return;const _0x55b63c=_0x56e4ff[_0x4ff245(0x208)][_0x4ff245(0x254)](),_0xa0ff7=_0x56e4ff[_0x4ff245(0x208)][_0x4ff245(0x2d1)],_0x37564e=_0x3739ee[_0x4ff245(0x2b9)][_0x4ff245(0x2a2)];let _0x23a99a=null,_0x4ea678=null,_0x1beee5=!0x1,_0x4f8e0a=!0x1;for(const _0x22aeee of _0x55b63c){const _0x2fb2a6=_0x22aeee[_0x4ff245(0x1cc)];_0x1beee5=_0x1beee5||_0x37564e[_0x4ff245(0x298)](_0x2fb2a6);const _0x4dcd05=_0x5c80e9[_0x4ff245(0x1b7)][_0x4ff245(0x27a)](_0x2fb2a6);if(_0x4dcd05&&_0x4dcd05[_0x4ff245(0x2d8)](_0x4ff245(0x258)))return;_0x4ff245(0x1a5)==_0x22aeee[_0x4ff245(0x1dc)]&&(_0x37564e[_0x4ff245(0x22e)](_0x2fb2a6)&&!_0x37564e[_0x4ff245(0x1f6)](_0x2fb2a6)&&(_0x2fb2a6[_0x4ff245(0x284)]||_0xa0ff7[_0x4ff245(0x28d)]?_0x23a99a&&_0x23a99a[_0x4ff245(0x237)]==_0x2fb2a6||(_0x23a99a=_0x2fb2a6,_0x545f86(_0x22aeee[_0x4ff245(0x291)]),_0x4f8e0a=!0x0):_0x4ea678=_0x4ea678||_0x22aeee[_0x4ff245(0x291)]));}function _0x545f86(_0x5ab9ba){const _0x5cdee0=_0x4ff245,_0x5a308a=_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x20a)](_0x5cdee0(0x1ae),{'class':_0x5cdee0(0x1e1)+_0x4864b6}),_0xdb6e45=_0x5c80e9[_0x5cdee0(0x1b7)][_0x5cdee0(0x2e1)](_0x5ab9ba);_0x3fb8ad[_0x5cdee0(0x1e7)][_0x5cdee0(0x2a4)]&&_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x1da)](_0x5cdee0(0x1e1)+_0x4864b6+_0x5cdee0(0x2c2),_0x5a308a),_0x4c86dc[_0x5cdee0(0x19c)]==_0x3fb8ad&&_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x1da)](_0x5cdee0(0x218),_0x5a308a),_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x2c1)](_0xdb6e45,_0x5a308a),_0x5c80e9[_0x5cdee0(0x1b7)][_0x5cdee0(0x27b)](_0x5a308a,_0x56e4ff[_0x5cdee0(0x19f)]);}_0x1beee5||_0x4f8e0a||!_0x4ea678||_0x545f86(_0x4ea678);};}(this[_0x342440(0x1a9)]),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x272),(_0x1255e2,_0x172853,_0x649181)=>{const _0x5b570a=_0x342440,_0x8d6f14=_0x649181[_0x5b570a(0x1b7)][_0x5b570a(0x23f)](_0x172853[_0x5b570a(0x19f)]);if(_0x8d6f14){for(const _0x371dd2 of _0x8d6f14)(_0x371dd2[_0x5b570a(0x23d)](_0x5b570a(0x205))||_0x371dd2[_0x5b570a(0x23d)](_0x5b570a(0x25a)))&&(_0x649181[_0x5b570a(0x1b7)][_0x5b570a(0x2ad)](_0x371dd2,_0x172853[_0x5b570a(0x19f)]),_0x649181[_0x5b570a(0x2b2)][_0x5b570a(0x1d9)](_0x371dd2));}},{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x215),(_0x2fd900,_0x2e7d09,_0x4add36)=>{const _0x2bfb33=_0x342440,_0x433372=_0x2e7d09[_0x2bfb33(0x19f)][_0x2bfb33(0x251)](':')[0x1],_0x10deef=this[_0x2bfb33(0x270)](_0x433372);if(!_0x10deef)return null;const _0x1bfcd0=_0x2bfb33(0x297)==_0x10deef[_0x2bfb33(0x1dc)]?_0x2bfb33(0x251):_0x2bfb33(0x296);if(_0x4add36[_0x2bfb33(0x26d)][_0x2bfb33(0x2e3)](_0x2e7d09[_0x2bfb33(0x208)],_0x2fd900[_0x2bfb33(0x1bd)]))for(const _0x4888e1 of _0x2e7d09[_0x2bfb33(0x208)][_0x2bfb33(0x27e)]()){if(!_0x4888e1['is'](_0x2bfb33(0x2dd),_0x2bfb33(0x2de)))continue;const _0x59d9aa=_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x20a)](_0x2bfb33(0x1ae),{'class':_0x2bfb33(0x1e1)+_0x1bfcd0}),_0x1a2ac5=_0x4add36[_0x2bfb33(0x1b7)][_0x2bfb33(0x2e1)](this[_0x2bfb33(0x1a9)][_0x2bfb33(0x2b9)][_0x2bfb33(0x217)](_0x4888e1));_0x10deef[_0x2bfb33(0x1e7)][_0x2bfb33(0x2a4)]&&_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x1da)](_0x2bfb33(0x1e1)+_0x1bfcd0+_0x2bfb33(0x2c2),_0x59d9aa),this[_0x2bfb33(0x19c)]==_0x10deef&&_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x1da)](_0x2bfb33(0x218),_0x59d9aa),_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x2c1)](_0x1a2ac5,_0x59d9aa),_0x4add36[_0x2bfb33(0x1b7)][_0x2bfb33(0x27b)](_0x59d9aa,_0x2e7d09[_0x2bfb33(0x19f)]);}},{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x2b9)][_0x342440(0x256)]['on'](_0x342440(0x283),()=>{const _0x538b4a=_0x342440;this[_0x538b4a(0x1a9)][_0x538b4a(0x239)][_0x538b4a(0x253)][_0x538b4a(0x283)](_0x522549=>{const _0x40facb=_0x538b4a;for(const _0x4b4005 of this[_0x40facb(0x1a9)][_0x40facb(0x2b9)][_0x40facb(0x256)][_0x40facb(0x206)]()){const _0x1ae6fe=this[_0x40facb(0x1a9)][_0x40facb(0x2b9)][_0x40facb(0x256)][_0x40facb(0x2a8)](_0x4b4005),_0x50f3e0=this[_0x40facb(0x1a9)][_0x40facb(0x239)][_0x40facb(0x253)][_0x40facb(0x256)][_0x40facb(0x2a8)](_0x4b4005);if(_0x50f3e0){const _0x100363=_0x1ae6fe[_0x40facb(0x2db)](_0x40facb(0x1de));if(_0x522549[_0x40facb(0x1e8)](_0x40facb(0x26b),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x2bd),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x2a0),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x21b),_0x50f3e0),_0x100363){const _0x82572f=this[_0x40facb(0x270)](_0x100363);if(!_0x82572f)return null;_0x522549[_0x40facb(0x1ac)](_0x40facb(0x26b),_0x100363,_0x50f3e0),_0x522549[_0x40facb(0x1da)](_0x40facb(0x2ba)+_0x82572f[_0x40facb(0x1dc)],_0x50f3e0),this[_0x40facb(0x19c)]==_0x82572f&&_0x522549[_0x40facb(0x1da)](_0x40facb(0x21b),_0x50f3e0);}}}});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x271),'model':_0x5c4961=>_0x342440(0x1bc)+_0x5c4961,'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x29a),'model':_0x532af4=>_0x342440(0x1e5)+_0x532af4,'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x286)]({'model':_0x342440(0x2b0),'view':_0x5da8dd=>({'name':_0x342440(0x2cc)+_0x5da8dd,'group':_0x342440(0x2b0)}),'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x281))[_0x342440(0x277)]({'model':_0x342440(0x2b0),'view':_0x9fd29e=>{const _0x444f18=_0x342440,_0x386e2e=_0x9fd29e[_0x444f18(0x19f)][_0x444f18(0x251)](':')[0x1];return _0x444f18(0x227)!=_0x386e2e&&_0x444f18(0x1d1)!=_0x386e2e?null:{'classes':[_0x444f18(0x22f),_0x444f18(0x2da)+_0x386e2e]};}}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x24a),et(this[_0x342440(0x1a9)],_0x342440(0x296)),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x19d),et(this[_0x342440(0x1a9)],_0x342440(0x251)),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x1b2),(_0x52455f,_0x42496c,_0x584da8)=>{const _0x513054=_0x342440,_0x360e51=_0x584da8[_0x513054(0x1b7)][_0x513054(0x23f)](_0x42496c[_0x513054(0x19f)]);if(_0x360e51){for(const _0x591faf of _0x360e51)_0x591faf['is'](_0x513054(0x249))&&(_0x584da8[_0x513054(0x1b7)][_0x513054(0x2ad)](_0x591faf,_0x42496c[_0x513054(0x19f)]),_0x584da8[_0x513054(0x2b2)][_0x513054(0x1d9)](_0x591faf));}},{'priority':_0x342440(0x22a)});}[_0x40fdb4(0x270)](_0x22d040){const _0x4ec324=_0x40fdb4;return this[_0x4ec324(0x2b5)][_0x4ec324(0x287)](_0x22d040);}[_0x40fdb4(0x262)](_0x3acd0e){const _0x4a794e=_0x40fdb4;return this[_0x4a794e(0x2c3)]&&this[_0x4a794e(0x2c3)][_0x4a794e(0x200)](),this[_0x4a794e(0x2c3)]=new _0xaaffbc(this[_0x4a794e(0x1a9)][_0x4a794e(0x224)],_0x3acd0e),this[_0x4a794e(0x2c3)];}[_0x40fdb4(0x1b3)](){const _0x250c9f=_0x40fdb4;this[_0x250c9f(0x1a9)][_0x250c9f(0x2b9)][_0x250c9f(0x256)][_0x250c9f(0x1d4)][_0x250c9f(0x240)](_0x250c9f(0x1fe)),this['on'](_0x250c9f(0x1bb),(_0x1972e7,_0x5d80c1,_0x4cc21d,_0x4f5b3d)=>{const _0x2fd894=_0x250c9f;_0x4f5b3d&&this[_0x2fd894(0x282)][_0x2fd894(0x1d9)](_0x4f5b3d),_0x4cc21d&&(this[_0x2fd894(0x282)][_0x2fd894(0x297)]({'view':_0x4cc21d,'stackId':_0x2fd894(0x1c9),'position':{'target':()=>{const _0x444561=_0x2fd894,_0x27c83b=this[_0x444561(0x1a9)][_0x444561(0x239)],_0x1b81f6=this[_0x444561(0x270)](_0x4cc21d[_0x444561(0x2aa)]);let _0x40b46f;if(_0x1b81f6[_0x444561(0x1e7)][_0x444561(0x2e5)]){const _0x2451cb=_0x27c83b[_0x444561(0x253)][_0x444561(0x1ec)](_0x1b81f6[_0x444561(0x23c)]);_0x40b46f=Array[_0x444561(0x1c7)](_0x2451cb[_0x444561(0x260)]());}else{const _0xd58740=this[_0x444561(0x1a9)][_0x444561(0x2b9)][_0x444561(0x2ac)][_0x444561(0x287)](_0x444561(0x247)+_0x4cc21d[_0x444561(0x2aa)]);_0x40b46f=Array[_0x444561(0x1c7)](_0x27c83b[_0x444561(0x1b7)][_0x444561(0x23f)](_0xd58740[_0x444561(0x1bd)]))[_0x444561(0x220)](_0xcf2ae0=>_0x27c83b[_0x444561(0x253)][_0x444561(0x1b5)][_0x444561(0x1a6)](_0xcf2ae0))[_0x444561(0x220)](_0x1142a1=>Array[_0x444561(0x1c7)](_0x1142a1[_0x444561(0x260)]()))[_0x444561(0x1dd)]();}if(!this[_0x444561(0x1a8)])return _0x40b46f[0x0];return _0x40b46f[_0x444561(0x2b7)](_0x4d0afe=>_0x4d0afe[_0x444561(0x2c0)]-0x3<=this[_0x444561(0x1a8)]['y']&&_0x4d0afe[_0x444561(0x1c3)]+0x3>=this[_0x444561(0x1a8)]['y']&&_0x4d0afe[_0x444561(0x2af)]-0x3<=this[_0x444561(0x1a8)]['x']&&_0x4d0afe[_0x444561(0x29f)]+0x3>=this[_0x444561(0x1a8)]['x'])||_0x40b46f[0x0];}}}),this[_0x2fd894(0x282)][_0x2fd894(0x19a)](_0x2fd894(0x1c9)));}),this['on'](_0x250c9f(0x263),(_0x48d941,_0x4ebeb1,_0x389f06,_0x52924c)=>{const _0x330fe0=_0x250c9f;this[_0x330fe0(0x23a)]=_0x389f06?this[_0x330fe0(0x262)](_0x389f06):null,this[_0x330fe0(0x1a9)][_0x330fe0(0x2b9)][_0x330fe0(0x283)](()=>{const _0x4da88c=_0x330fe0,_0x2bd6ce=this[_0x4da88c(0x1a9)][_0x4da88c(0x239)];_0x52924c&&(_0x52924c[_0x4da88c(0x1e7)][_0x4da88c(0x2e5)]?_0x2bd6ce[_0x4da88c(0x253)][_0x4da88c(0x283)](_0x345378=>{const _0x5c7d13=_0x4da88c;_0x345378[_0x5c7d13(0x234)](_0x5c7d13(0x21b),_0x2bd6ce[_0x5c7d13(0x253)][_0x5c7d13(0x256)][_0x5c7d13(0x2a8)](_0x52924c[_0x5c7d13(0x23c)]));}):_0x2bd6ce[_0x4da88c(0x1c4)](_0x4da88c(0x247)+_0x52924c['id'])),_0x389f06&&(_0x389f06[_0x4da88c(0x1e7)][_0x4da88c(0x2e5)]?_0x2bd6ce[_0x4da88c(0x253)][_0x4da88c(0x283)](_0x45a6f3=>{const _0x3392f3=_0x4da88c;_0x45a6f3[_0x3392f3(0x1da)](_0x3392f3(0x21b),_0x2bd6ce[_0x3392f3(0x253)][_0x3392f3(0x256)][_0x3392f3(0x2a8)](_0x389f06[_0x3392f3(0x23c)]));}):_0x2bd6ce[_0x4da88c(0x1c4)](_0x4da88c(0x247)+_0x389f06['id']));});}),this[_0x250c9f(0x28a)](this[_0x250c9f(0x1a9)][_0x250c9f(0x239)][_0x250c9f(0x253)][_0x250c9f(0x256)],_0x250c9f(0x221),(_0xf275c6,_0x3680c6)=>{const _0x410c8a=_0x250c9f;if(this[_0x410c8a(0x19c)])return;const _0x3a15a7=this[_0x410c8a(0x1d3)](_0x3680c6[_0x410c8a(0x2d7)]),_0x3864c0=this[_0x410c8a(0x2b5)][_0x410c8a(0x287)](_0x3a15a7);_0x3864c0?(this[_0x410c8a(0x1a8)]={'x':_0x3680c6[_0x410c8a(0x26a)]['x'],'y':_0x3680c6[_0x410c8a(0x26a)]['y']},this[_0x410c8a(0x23a)]=this[_0x410c8a(0x262)](_0x3864c0)):(this[_0x410c8a(0x1a8)]=null,this[_0x410c8a(0x23a)]=null);}),this[_0x250c9f(0x28a)](this[_0x250c9f(0x1a9)][_0x250c9f(0x239)][_0x250c9f(0x253)][_0x250c9f(0x256)],_0x250c9f(0x2bf),(_0x285ff3,_0x4e27d6)=>{const _0x4b8f51=_0x250c9f,_0x597cee=this[_0x4b8f51(0x1d3)](_0x4e27d6[_0x4b8f51(0x2d7)]),_0xd9789a=this[_0x4b8f51(0x2b5)][_0x4b8f51(0x287)](_0x597cee);_0xd9789a?(this[_0x4b8f51(0x1a8)]={'x':_0x4e27d6[_0x4b8f51(0x26a)]['x'],'y':_0x4e27d6[_0x4b8f51(0x26a)]['y']},_0xd9789a===this[_0x4b8f51(0x19c)]?this[_0x4b8f51(0x282)][_0x4b8f51(0x201)]():this[_0x4b8f51(0x19c)]=_0xd9789a):(this[_0x4b8f51(0x1a8)]=null,this[_0x4b8f51(0x19c)]=null);});}[_0x40fdb4(0x1d3)](_0x368efa){const _0x3be1fb=_0x40fdb4;do{const _0x295beb=_0x368efa[_0x3be1fb(0x2db)](_0x3be1fb(0x26b));if(_0x295beb)return _0x295beb;_0x368efa=_0x368efa[_0x3be1fb(0x237)];}while(_0x368efa);return null;}[_0x40fdb4(0x1e6)](){const _0x2d9179=_0x40fdb4;this[_0x2d9179(0x1a9)][_0x2d9179(0x2b9)][_0x2d9179(0x283)](_0x4a4d9d=>{const _0x349b35=_0x2d9179;for(const _0x5e51c5 of this[_0x349b35(0x1a9)][_0x349b35(0x2b9)][_0x349b35(0x2ac)])_0x4a4d9d[_0x349b35(0x1df)](_0x5e51c5);});}}function et(_0x35c5ca,_0xfc3653){return(_0x4f7a8f,_0x50cc39,_0x333ce7)=>{const _0x47a9dd=_0x45ee;if(!_0x333ce7[_0x47a9dd(0x26d)][_0x47a9dd(0x2e3)](_0x50cc39[_0x47a9dd(0x208)],_0x4f7a8f[_0x47a9dd(0x1bd)]))return;const _0x5d1425=_0x50cc39[_0x47a9dd(0x208)][_0x47a9dd(0x254)](),_0x565d35=_0x50cc39[_0x47a9dd(0x208)][_0x47a9dd(0x2d1)],_0x5ddc26=_0x35c5ca[_0x47a9dd(0x2b9)][_0x47a9dd(0x2a2)];let _0x2f020c=null,_0x3191f0=null,_0x40b2e9=!0x1,_0xc4e25c=!0x1;for(const _0x1293ac of _0x5d1425){const _0x53b626=_0x1293ac[_0x47a9dd(0x1cc)];_0x40b2e9=_0x40b2e9||_0x5ddc26[_0x47a9dd(0x298)](_0x53b626);const _0x41ab1f=_0x333ce7[_0x47a9dd(0x1b7)][_0x47a9dd(0x27a)](_0x53b626);if(_0x41ab1f&&_0x41ab1f[_0x47a9dd(0x2d8)](_0x47a9dd(0x258)))return;_0x47a9dd(0x1a5)==_0x1293ac[_0x47a9dd(0x1dc)]&&(_0x5ddc26[_0x47a9dd(0x22e)](_0x53b626)&&!_0x5ddc26[_0x47a9dd(0x1f6)](_0x53b626)&&(_0x53b626[_0x47a9dd(0x284)]||_0x565d35[_0x47a9dd(0x28d)]?_0x2f020c&&_0x2f020c[_0x47a9dd(0x237)]==_0x53b626||(_0x2f020c=_0x53b626,_0x4607cb(_0x1293ac[_0x47a9dd(0x291)]),_0xc4e25c=!0x0):_0x3191f0=_0x3191f0||_0x1293ac[_0x47a9dd(0x291)]));}function _0x4607cb(_0xcbfbef){const _0x4dc242=_0x47a9dd,_0x228d22=_0x333ce7[_0x4dc242(0x1b7)][_0x4dc242(0x2e1)](_0xcbfbef),_0x333e35=_0x333ce7[_0x4dc242(0x2b2)][_0x4dc242(0x20a)](_0x4dc242(0x1ae),{'class':_0x4dc242(0x2da)+_0xfc3653});_0x333ce7[_0x4dc242(0x2b2)][_0x4dc242(0x2c1)](_0x228d22,_0x333e35),_0x333ce7[_0x4dc242(0x1b7)][_0x4dc242(0x27b)](_0x333e35,_0x50cc39[_0x4dc242(0x19f)]);}_0x40b2e9||_0xc4e25c||!_0x3191f0||_0x4607cb(_0x3191f0);};}export class RestoreRevisionCommand extends _0x2c0540{constructor(_0x175a24){const _0x20d866=_0x40fdb4;super(_0x175a24);const _0x1b566f=_0x175a24[_0x20d866(0x252)][_0x20d866(0x287)](d);this[_0x20d866(0x209)]=!0x1,this[_0x20d866(0x28a)](_0x1b566f,_0x20d866(0x2c7),()=>this[_0x20d866(0x2ab)]()),this[_0x20d866(0x28a)](_0x1b566f,_0x20d866(0x24e),()=>this[_0x20d866(0x2ab)]());}[_0x40fdb4(0x1a0)](){const _0x25aab8=_0x40fdb4,_0x5eff52=this[_0x25aab8(0x1a9)],_0x357729=_0x5eff52[_0x25aab8(0x252)][_0x25aab8(0x287)](d),_0x414233=_0x357729[_0x25aab8(0x2b4)]?_0x357729[_0x25aab8(0x1be)][_0x25aab8(0x2e0)]:null;_0x5eff52[_0x25aab8(0x295)][_0x25aab8(0x287)](_0x25aab8(0x226))[_0x25aab8(0x246)](_0x414233);}[_0x40fdb4(0x2ab)](){const _0x37bd29=_0x40fdb4,{isReady:_0x3dd55e,isEnabled:_0x362f8f}=this[_0x37bd29(0x1a9)][_0x37bd29(0x252)][_0x37bd29(0x287)](d);this[_0x37bd29(0x1fa)]=_0x3dd55e&&_0x362f8f;}}export class ShowChangeCommand extends _0x2c0540{constructor(_0x571660,{direction:_0x298e4d}){const _0x1315aa=_0x40fdb4;super(_0x571660);const _0x5993ad=_0x571660[_0x1315aa(0x252)][_0x1315aa(0x287)](d);this[_0x1315aa(0x209)]=!0x1,this[_0x1315aa(0x1d5)]=_0x1315aa(0x288)===_0x298e4d?0x1:-0x1,this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x2c7),()=>this[_0x1315aa(0x2ab)]()),this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x24e),()=>this[_0x1315aa(0x2ab)]()),this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x263),()=>this[_0x1315aa(0x2ab)]());}[_0x40fdb4(0x1a0)](){const _0x53baa9=_0x40fdb4,_0x977695=this[_0x53baa9(0x1a9)],_0x2762ac=_0x977695[_0x53baa9(0x252)][_0x53baa9(0x287)](d),{isNavigationMode:_0x3ccaa3,currentChangeNumber:_0x66a874}=_0x2762ac;let _0x1834f5;if(_0x2762ac[_0x53baa9(0x19c)]=_0x3ccaa3?_0x2762ac[_0x53baa9(0x1be)][_0x53baa9(0x1cf)][_0x53baa9(0x287)](_0x66a874+this[_0x53baa9(0x1d5)]):_0x2762ac[_0x53baa9(0x1be)][_0x53baa9(0x1cf)][_0x53baa9(0x1c8)],_0x2762ac[_0x53baa9(0x19c)][_0x53baa9(0x1e7)][_0x53baa9(0x2e5)])_0x1834f5=_0x977695[_0x53baa9(0x239)][_0x53baa9(0x253)][_0x53baa9(0x1ec)](_0x2762ac[_0x53baa9(0x19c)][_0x53baa9(0x23c)]);else{const _0x26dd30=_0x977695[_0x53baa9(0x2b9)][_0x53baa9(0x2ac)][_0x53baa9(0x287)](_0x53baa9(0x247)+_0x2762ac[_0x53baa9(0x19c)]['id']);_0x1834f5=_0x4fc286(_0x977695[_0x53baa9(0x239)],_0x26dd30);}_0x3ea3fd({'target':_0x1834f5,'viewportOffset':0x28});}[_0x40fdb4(0x2ab)](){const _0x374fda=_0x40fdb4,{isNavigationMode:_0x55400d,currentChangeNumber:_0x14af47,numberOfChanges:_0x29a851,isReady:_0x21924b,isEnabled:_0x17a860}=this[_0x374fda(0x1a9)][_0x374fda(0x252)][_0x374fda(0x287)](d);this[_0x374fda(0x1fa)]=!!(_0x17a860&&_0x21924b&&_0x29a851)&&(!_0x55400d||(0x1===this[_0x374fda(0x1d5)]?_0x14af47<_0x29a851-0x1:_0x14af47>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x42dc9a,_0x2813bc){const _0x1c1c5b=_0x32bb,_0x1a9e9c=_0x42dc9a();while(!![]){try{const _0x259f3d=parseInt(_0x1c1c5b(0x181))/0x1*(parseInt(_0x1c1c5b(0x19f))/0x2)+parseInt(_0x1c1c5b(0x190))/0x3+-parseInt(_0x1c1c5b(0x176))/0x4+-parseInt(_0x1c1c5b(0x1a1))/0x5+-parseInt(_0x1c1c5b(0x185))/0x6*(parseInt(_0x1c1c5b(0x174))/0x7)+parseInt(_0x1c1c5b(0x19e))/0x8*(-parseInt(_0x1c1c5b(0x19d))/0x9)+parseInt(_0x1c1c5b(0x191))/0xa;if(_0x259f3d===_0x2813bc)break;else _0x1a9e9c['push'](_0x1a9e9c['shift']());}catch(_0x230b60){_0x1a9e9c['push'](_0x1a9e9c['shift']());}}}(_0x8181,0x64c0b));import{Collection as _0x1d804f}from'ckeditor5/src/utils.js';import{icons as _0x45a042}from'ckeditor5/src/core.js';import{ViewModel as _0x38a044,addListToDropdown as _0x4d0deb,createDropdown as _0x262248}from'ckeditor5/src/ui.js';import{getTranslation as _0x584958}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x32bb(_0x4452fe,_0x45c2b8){const _0x81810c=_0x8181();return _0x32bb=function(_0x32bb76,_0x381cad){_0x32bb76=_0x32bb76-0x171;let _0x1ec4bc=_0x81810c[_0x32bb76];return _0x1ec4bc;},_0x32bb(_0x4452fe,_0x45c2b8);}export function createActionsDropdownView(_0x11dcfa,_0x5964f7){const _0x45607d=_0x32bb,_0x2bcd2e=_0x11dcfa[_0x45607d(0x189)],_0x13652f=_0x11dcfa[_0x45607d(0x19b)],_0x3706e2=_0x262248(_0x13652f);_0x3706e2[_0x45607d(0x187)]='sw';const _0x1778f1=function(_0x578a6e,_0x3eb737){const _0x249022=_0x45607d,_0x112609=function(_0x5bbc47,_0x1332cc){const _0x5e3d2e=_0x32bb,_0x1d936e=_0x5bbc47[_0x5e3d2e(0x19b)],_0x2e7e74={'Compare\x20against\x20selected':_0x584958(_0x1d936e,_0x5e3d2e(0x17a)),'Name\x20this\x20revision':_0x584958(_0x1d936e,_0x5e3d2e(0x192)),'Restore\x20this\x20revision':_0x584958(_0x1d936e,_0x5e3d2e(0x193))};return _0x1332cc[_0x5e3d2e(0x182)](_0x4fec64=>{const _0x45acc3=_0x5e3d2e,_0x5391b0=_0x2e7e74[_0x4fec64[_0x45acc3(0x196)]];return _0x5391b0&&_0x5391b0!==_0x4fec64[_0x45acc3(0x196)]&&(_0x4fec64[_0x45acc3(0x196)]=_0x5391b0),_0x4fec64;});}(_0x578a6e,_0x3eb737),_0x713860=new _0x1d804f();for(const _0x54d176 of _0x112609){const _0x22141f={'type':_0x249022(0x188),'model':new _0x38a044({'label':_0x54d176[_0x249022(0x196)],'class':_0x54d176[_0x249022(0x179)],'withText':!0x0,'role':_0x249022(0x19a),'_action':_0x54d176[_0x249022(0x172)]})};_0x22141f[_0x249022(0x17d)][_0x249022(0x178)](_0x249022(0x186))['to'](_0x578a6e,_0x249022(0x17b),_0x5f571f=>_0x249022(0x171)!=typeof _0x54d176[_0x249022(0x186)]||(!_0x5f571f||_0x54d176[_0x249022(0x186)](_0x578a6e))),_0x713860[_0x249022(0x195)](_0x22141f);}return _0x713860;}(_0x11dcfa,_0x5964f7);return _0x11dcfa[_0x45607d(0x178)](_0x45607d(0x17b))['to'](_0x3706e2,_0x45607d(0x17c)),_0x3706e2[_0x45607d(0x18b)][_0x45607d(0x18e)]({'label':_0x584958(_0x13652f,_0x45607d(0x18d)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x45a042[_0x45607d(0x180)]}),_0x3706e2[_0x45607d(0x175)]({'attributes':{'class':[_0x45607d(0x18a),_0x2bcd2e['if'](_0x45607d(0x17b),_0x45607d(0x19c))]},'on':{'click':_0x2bcd2e['to'](_0x5c0510=>_0x5c0510[_0x45607d(0x18f)]())}}),_0x3706e2['on'](_0x45607d(0x1a2),_0x5682a0=>{const _0xa69d11=_0x45607d;_0x11dcfa[_0xa69d11(0x177)]&&_0xa69d11(0x171)==typeof _0x5682a0[_0xa69d11(0x1a0)][_0xa69d11(0x194)]&&_0x5682a0[_0xa69d11(0x1a0)][_0xa69d11(0x194)](_0x11dcfa);}),_0x4d0deb(_0x3706e2,_0x1778f1,{'role':_0x45607d(0x198)}),_0x3706e2[_0x45607d(0x184)](_0x11dcfa,_0x45607d(0x18c),(_0x5596ba,_0x159304,_0x3c6727)=>{const _0x58fe73=_0x45607d;if(_0x3c6727)for(const _0x44ad25 of _0x3706e2[_0x58fe73(0x183)][_0x58fe73(0x17e)]){const _0x2125b0=_0x44ad25[_0x58fe73(0x17f)][_0x58fe73(0x197)],_0x5dbfef=_0x5964f7[_0x58fe73(0x173)](_0xb6efec=>_0xb6efec[_0x58fe73(0x172)]===_0x2125b0[_0x58fe73(0x194)])[_0x58fe73(0x199)];_0x44ad25[_0x58fe73(0x199)]=void 0x0===_0x5dbfef||_0x5dbfef(_0x11dcfa);}}),_0x3706e2;}function _0x8181(){const _0xdb5842=['stopPropagation','200607kMKbrh','18897310PwxFVn','Name\x20this\x20revision','Restore\x20this\x20revision','_action','add','name','first','menu','isVisible','menuitem','locale','ck-on','333rfMebQ','152392bracup','403490ScgRRG','source','3335415VCjxOC','execute','function','action','find','7NVAPKe','extendTemplate','2944728XXQUxo','isReady','bind','class','Compare\x20against\x20selected','isActionsDropdownOpen','isOpen','model','items','children','threeVerticalDots','4xbBqOo','map','listView','listenTo','1456914wflucs','isEnabled','panelPosition','button','bindTemplate','ck-revision-history-sidebar__revision__actions','buttonView','change:isActionsDropdownOpen','Show\x20more\x20items','set'];_0x8181=function(){return _0xdb5842;};return _0x8181();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d18a4,_0x26dc1e){const _0xa2e807=_0x1970,_0x2868a2=_0x4d18a4();while(!![]){try{const _0x3aeb8c=parseInt(_0xa2e807(0x178))/0x1+parseInt(_0xa2e807(0x183))/0x2*(parseInt(_0xa2e807(0x17d))/0x3)+parseInt(_0xa2e807(0x186))/0x4+parseInt(_0xa2e807(0x17c))/0x5*(parseInt(_0xa2e807(0x180))/0x6)+-parseInt(_0xa2e807(0x185))/0x7*(parseInt(_0xa2e807(0x17f))/0x8)+-parseInt(_0xa2e807(0x17e))/0x9+-parseInt(_0xa2e807(0x17b))/0xa*(parseInt(_0xa2e807(0x181))/0xb);if(_0x3aeb8c===_0x26dc1e)break;else _0x2868a2['push'](_0x2868a2['shift']());}catch(_0x3b8b1b){_0x2868a2['push'](_0x2868a2['shift']());}}}(_0x2337,0xb8837));function _0x2337(){const _0x324027=['3256992EfSFvt','push','Revision\x20author','ck-revision-history-sidebar__revision-author__name','setTemplate','Revision\x20creator','0\x200\x2011\x2010','set','1422886nyvifl','span','ck-revision-history-sidebar__revision-author_creator','2125090kRvQiG','20CdYXlV','10827CdVQxK','7201044Cqkkci','520MSbNVa','1477938dEBmop','121gzengs','name','558QYeaCw','ck-revision-history-sidebar__revision-author','36169wfiMmB'];_0x2337=function(){return _0x324027;};return _0x2337();}import{View as _0x2b3318,IconView as _0x40350c}from'ckeditor5/src/ui.js';import{getTranslation as _0x539d7e}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x1970(_0x4c5b35,_0x30984f){const _0x233789=_0x2337();return _0x1970=function(_0x1970a1,_0x276b10){_0x1970a1=_0x1970a1-0x176;let _0x25f7bf=_0x233789[_0x1970a1];return _0x25f7bf;},_0x1970(_0x4c5b35,_0x30984f);}import _0x485010 from'../../../theme/icons/user.svg';export default class ti extends _0x2b3318{constructor(_0x546dd9,_0x4bf19f,_0x12199b){const _0x51df8a=_0x1970;super(_0x546dd9);const _0x2268fe=new _0x40350c();_0x2268fe[_0x51df8a(0x177)]({'content':_0x485010,'viewBox':_0x51df8a(0x176)});const _0x397762=['ck',_0x51df8a(0x184)];_0x12199b&&_0x397762[_0x51df8a(0x187)](_0x51df8a(0x17a));const _0xeaabb4=[{'tag':_0x51df8a(0x179),'attributes':{'class':['ck',_0x51df8a(0x189)],'title':_0x539d7e(_0x546dd9,_0x12199b?_0x51df8a(0x18b):_0x51df8a(0x188))},'children':[_0x2268fe,_0x4bf19f[_0x51df8a(0x182)]]}];this[_0x51df8a(0x18a)]({'tag':'li','attributes':{'class':_0x397762},'children':_0xeaabb4});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x76a6(){const _0x48d1f7=['120822PLFdqz','input','fieldView','_resizeObserver','219690OgCCKd','listenTo','value','ck-revision-history-sidebar__revision-name','9izpomu','_tooltipString','element','extendTemplate','Enter\x20the\x20revision\x20name','bindTemplate','_updateTooltipText','2539290lMcEop','1126fIpUlp','ck-tooltip_multi-line','7bgUWgf','clientWidth','Revision\x20name','1741323BTcxaS','scrollWidth','4428176aSunDk','destroy','2323252tDuYoh','span','233rKbVcs','set','placeholder','341zdoNvJ','render'];_0x76a6=function(){return _0x48d1f7;};return _0x76a6();}const _0x5b9254=_0x5105;(function(_0x591974,_0x5b1e9b){const _0x3a7a4b=_0x5105,_0x2d921f=_0x591974();while(!![]){try{const _0x3f08d7=parseInt(_0x3a7a4b(0xbc))/0x1*(-parseInt(_0x3a7a4b(0xb1))/0x2)+parseInt(_0x3a7a4b(0xb6))/0x3+parseInt(_0x3a7a4b(0xba))/0x4+parseInt(_0x3a7a4b(0xb0))/0x5+-parseInt(_0x3a7a4b(0xc1))/0x6*(-parseInt(_0x3a7a4b(0xb3))/0x7)+-parseInt(_0x3a7a4b(0xb8))/0x8*(parseInt(_0x3a7a4b(0xc9))/0x9)+parseInt(_0x3a7a4b(0xc5))/0xa*(-parseInt(_0x3a7a4b(0xbf))/0xb);if(_0x3f08d7===_0x5b1e9b)break;else _0x2d921f['push'](_0x2d921f['shift']());}catch(_0x2d3e4e){_0x2d921f['push'](_0x2d921f['shift']());}}}(_0x76a6,0x4efb5));function _0x5105(_0x94972b,_0x52b9ca){const _0x76a6e1=_0x76a6();return _0x5105=function(_0x5105c8,_0x2a48e5){_0x5105c8=_0x5105c8-0xb0;let _0x1a78ae=_0x76a6e1[_0x5105c8];return _0x1a78ae;},_0x5105(_0x94972b,_0x52b9ca);}import{LabeledFieldView as _0x197f31}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x2b458e}from'ckeditor5/src/utils.js';import{getTranslation as _0x19cd8d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class vt extends _0x197f31{constructor(_0x11fab1,_0x5854c6){const _0x37d9ef=_0x5105;super(_0x11fab1,_0x5854c6),this[_0x37d9ef(0xc4)]=null;const _0x1000eb=this[_0x37d9ef(0xce)];this[_0x37d9ef(0xbd)]({'label':_0x19cd8d(_0x11fab1,_0x37d9ef(0xb5)),'_tooltipString':''}),this[_0x37d9ef(0xc3)][_0x37d9ef(0xbe)]=_0x19cd8d(_0x11fab1,_0x37d9ef(0xcd)),this[_0x37d9ef(0xcc)]({'tag':_0x37d9ef(0xbb),'attributes':{'class':[_0x37d9ef(0xc8)],'data-cke-tooltip-text':_0x1000eb['to'](_0x37d9ef(0xca)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x37d9ef(0xb2)}});}[_0x5b9254(0xc0)](){const _0x215b1b=_0x5b9254;super[_0x215b1b(0xc0)](),this[_0x215b1b(0xc4)]=new _0x2b458e(this[_0x215b1b(0xc3)][_0x215b1b(0xcb)],()=>this[_0x215b1b(0xcf)]()),this[_0x215b1b(0xc6)](this[_0x215b1b(0xc3)],_0x215b1b(0xc2),()=>this[_0x215b1b(0xcf)]());}[_0x5b9254(0xb9)](){const _0x180cc0=_0x5b9254;super[_0x180cc0(0xb9)](),this[_0x180cc0(0xc4)]&&this[_0x180cc0(0xc4)][_0x180cc0(0xb9)]();}[_0x5b9254(0xcf)](){const _0x1171f6=_0x5b9254,_0x21e1a9=this[_0x1171f6(0xc3)][_0x1171f6(0xcb)];this[_0x1171f6(0xca)]=_0x21e1a9[_0x1171f6(0xb7)]>_0x21e1a9[_0x1171f6(0xb4)]&&_0x21e1a9[_0x1171f6(0xc7)]||'';}}
|
|
@@ -15,7 +15,7 @@ declare const RevisionView_base: import("ckeditor5/src/utils.js").Mixed<typeof V
|
|
|
15
15
|
/**
|
|
16
16
|
* TODO
|
|
17
17
|
*/
|
|
18
|
-
export default class RevisionView extends
|
|
18
|
+
export default class RevisionView extends RevisionView_base {
|
|
19
19
|
id: string;
|
|
20
20
|
revisionNameView: RevisionNameView;
|
|
21
21
|
/**
|
|
@@ -20,5 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
_0x4d5472(_0x10d41b){constructor(_0x2e3cb8,_0x4efa7b,_0x4ba487,_0x52a091){const _0x7259b5=_0x28ca;super(_0x2e3cb8);const _0x16efa5=this[_0x7259b5(0x1f4)],_0x538a14=function(_0x1041db,_0x5907b0){const _0x344e5d=_0x7259b5,_0x59ab53=Array[_0x344e5d(0x218)](_0x5907b0[_0x344e5d(0x202)])[_0x344e5d(0x1f0)](_0x55bbd0=>_0x55bbd0!=_0x5907b0[_0x344e5d(0x205)]);return _0x5907b0[_0x344e5d(0x205)]&&_0x59ab53[_0x344e5d(0x1f9)](_0x5907b0[_0x344e5d(0x205)]),_0x59ab53[_0x344e5d(0x20f)](_0x172f47=>new _0x2d33bb(_0x1041db,_0x172f47,_0x172f47==_0x5907b0[_0x344e5d(0x205)]));}(_0x2e3cb8,_0x4efa7b);this['id']=_0x4efa7b['id'],this[_0x7259b5(0x1e8)]=_0x4efa7b,this[_0x7259b5(0x20c)]=_0x52a091,this[_0x7259b5(0x20e)](_0x7259b5(0x1fe),_0x7259b5(0x204))['to'](_0x4efa7b),this[_0x7259b5(0x20e)](_0x7259b5(0x212))['to'](this,_0x7259b5(0x204),_0x102c30=>_0x553b5a(_0x2e3cb8[_0x7259b5(0x1e6)],_0x102c30)),this[_0x7259b5(0x221)](_0x7259b5(0x214),!0x1),this[_0x7259b5(0x221)](_0x7259b5(0x1ee),!0x1),this[_0x7259b5(0x221)](_0x7259b5(0x20a),!0x1),this[_0x7259b5(0x221)](_0x7259b5(0x220),!0x1),this[_0x7259b5(0x221)](_0x7259b5(0x209),!0x1),this[_0x7259b5(0x1eb)]=new _0x108243(_0x2e3cb8,_0x30390b),this[_0x7259b5(0x1eb)][_0x7259b5(0x201)][_0x7259b5(0x206)]({'attributes':{'maxlength':_0x7259b5(0x1e2)}}),this[_0x7259b5(0x1eb)][_0x7259b5(0x201)][_0x7259b5(0x20e)](_0x7259b5(0x1f6))['to'](this,_0x7259b5(0x1fe),_0x1cfec2=>_0x1cfec2||this[_0x7259b5(0x212)]),this[_0x7259b5(0x1eb)][_0x7259b5(0x20e)](_0x7259b5(0x209))['to'](this,_0x7259b5(0x214),this,_0x7259b5(0x209),(_0x2a2775,_0x16b0b3)=>_0x2a2775&&_0x16b0b3),this[_0x7259b5(0x1fa)]=_0x4ba487&&_0x4ba487[_0x7259b5(0x1fd)]?_0x66e6bc(this,_0x4ba487):'',this[_0x7259b5(0x1fa)]&&this[_0x7259b5(0x1fa)][_0x7259b5(0x20e)](_0x7259b5(0x209))['to'](this),this[_0x7259b5(0x1f8)]({'tag':_0x7259b5(0x222),'attributes':{'class':['ck',_0x7259b5(0x1e1),_0x7259b5(0x203),_0x16efa5['if'](_0x7259b5(0x216),_0x7259b5(0x1ff))]},'children':[{'tag':_0x7259b5(0x222),'attributes':{'class':['ck',_0x7259b5(0x1e1),_0x7259b5(0x1f1),_0x16efa5['if'](_0x7259b5(0x209),_0x7259b5(0x210),_0x25a90a=>!_0x25a90a),_0x16efa5['if'](_0x7259b5(0x214),_0x7259b5(0x1f5)),_0x16efa5['if'](_0x7259b5(0x1ee),_0x7259b5(0x1ea)),_0x16efa5['if'](_0x7259b5(0x20a),_0x7259b5(0x1f7))]},'children':[this[_0x7259b5(0x1eb)],{'tag':_0x7259b5(0x208),'attributes':{'class':['ck',_0x7259b5(0x1fc)]},'children':[{'text':_0x16efa5['to'](_0x7259b5(0x212))}]},{'tag':_0x7259b5(0x222),'attributes':{'class':['ck',_0x7259b5(0x207)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x7259b5(0x1e5)]},'children':_0x538a14}]},this[_0x7259b5(0x1fa)]],'on':{'click':_0x16efa5['to'](_0x7b6f08=>{const _0x56860f=_0x7259b5;_0x7b6f08[_0x56860f(0x1f3)][_0x56860f(0x1e9)](_0x56860f(0x20d))||this[_0x56860f(0x220)]&&this[_0x56860f(0x209)]&&this[_0x56860f(0x1ef)](_0x56860f(0x21b),{'id':this['id']});})}}]});}[_0x344cd4(0x1f2)](){const _0x1bc467=_0x344cd4;super[_0x1bc467(0x1f2)]();const _0x20274d=this[_0x1bc467(0x1eb)][_0x1bc467(0x201)][_0x1bc467(0x20b)];this[_0x1bc467(0x1fb)](_0x20274d,_0x1bc467(0x21e),()=>{const _0x21ca99=_0x1bc467;this[_0x21ca99(0x20c)]&&!_0x20274d[_0x21ca99(0x1f6)]||this[_0x21ca99(0x1ef)](_0x21ca99(0x219),{'id':this['id'],'name':_0x20274d[_0x21ca99(0x1f6)]}),_0x20274d[_0x21ca99(0x1f6)]||(_0x20274d[_0x21ca99(0x1f6)]=this[_0x21ca99(0x1fe)]?this[_0x21ca99(0x1fe)]:this[_0x21ca99(0x212)]);});}[_0x344cd4(0x21b)](){const _0x4c1ef4=_0x344cd4;this[_0x4c1ef4(0x214)]=!0x0;}[_0x344cd4(0x21d)](){const _0x5c0771=_0x344cd4;this[_0x5c0771(0x214)]=!0x1;}[_0x344cd4(0x211)](){const _0x93aa0f=_0x344cd4;this[_0x93aa0f(0x1ee)]=!0x0;}[_0x344cd4(0x1ed)](){const _0x463df8=_0x344cd4;this[_0x463df8(0x1ee)]=!0x1;}}
|
|
23
|
+
const _0xabc0e4=_0x5016;function _0x3aeb(){const _0xb1a9b9=['ck-revision-history-sidebar__revision-authors','render','ck-revision-history-sidebar__revision_selected','value','closest','unshift','from','uiLanguage','element','isConfirm','6474462jRReHK','length','isEnabled','7320096AYjpuG','unhighlight','ck-revision-history-sidebar__revision_highlighted','ck-revision-history-sidebar__revision__controls-wrapper','2mOsKld','div','fire','authors','set','deselect','_requireRevisionName','span','select','extendTemplate','isSelected','.ck-thread__remove-confirm','ck-revision-history-sidebar__revision-wrapper','fieldView','220','22857543CQyivc','change','6329128EOEUcg','15DiYxJE','filter','_revision','ck-reset','map','ck-revision-history-sidebar__actions_dropdown_open','ck-revision-history-sidebar__revision__date','isReady','bindTemplate','ck-revision-history-sidebar__revision','revisionActionsView','name','srcElement','highlight','setTemplate','createdAt','creator','ck-disabled','isActionsDropdownOpen','listenTo','1598756DinXUt','1120143lvepGe','bind','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','262165DONoYB','isHighlighted','_createdAtFormatted','revisionNameView','setName'];_0x3aeb=function(){return _0xb1a9b9;};return _0x3aeb();}(function(_0xe87af1,_0x493898){const _0x53b823=_0x5016,_0x156fdd=_0xe87af1();while(!![]){try{const _0x60420b=parseInt(_0x53b823(0x13d))/0x1*(-parseInt(_0x53b823(0x113))/0x2)+parseInt(_0x53b823(0x13a))/0x3+-parseInt(_0x53b823(0x139))/0x4*(parseInt(_0x53b823(0x125))/0x5)+-parseInt(_0x53b823(0x10c))/0x6+parseInt(_0x53b823(0x10f))/0x7+-parseInt(_0x53b823(0x124))/0x8+parseInt(_0x53b823(0x122))/0x9;if(_0x60420b===_0x493898)break;else _0x156fdd['push'](_0x156fdd['shift']());}catch(_0x3e2ce2){_0x156fdd['push'](_0x156fdd['shift']());}}}(_0x3aeb,0x992ba));import{View as _0x9d575,createLabeledInputText as _0x464706}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x2f560f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4c6ac1 from'./revisionnameview.js';import _0x55058e from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1f1cb1}from'./utils.js';function _0x5016(_0x564c34,_0x9847aa){const _0x3aeb34=_0x3aeb();return _0x5016=function(_0x5016af,_0x5c97f9){_0x5016af=_0x5016af-0x108;let _0x1c3304=_0x3aeb34[_0x5016af];return _0x1c3304;},_0x5016(_0x564c34,_0x9847aa);}import{createActionsDropdownView as _0x1b15be}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x2f560f(_0x9d575){constructor(_0x3865f0,_0x51af59,_0x4859b4,_0x15ad38){const _0x3ead06=_0x5016;super(_0x3865f0);const _0x5ce53b=this[_0x3ead06(0x12d)],_0x4a03f6=function(_0x15ce5e,_0x2d8cf5){const _0x47b298=_0x3ead06,_0x7a4cce=Array[_0x47b298(0x108)](_0x2d8cf5[_0x47b298(0x116)])[_0x47b298(0x126)](_0x4952a8=>_0x4952a8!=_0x2d8cf5[_0x47b298(0x135)]);return _0x2d8cf5[_0x47b298(0x135)]&&_0x7a4cce[_0x47b298(0x147)](_0x2d8cf5[_0x47b298(0x135)]),_0x7a4cce[_0x47b298(0x129)](_0x31550f=>new _0x55058e(_0x15ce5e,_0x31550f,_0x31550f==_0x2d8cf5[_0x47b298(0x135)]));}(_0x3865f0,_0x51af59);this['id']=_0x51af59['id'],this[_0x3ead06(0x127)]=_0x51af59,this[_0x3ead06(0x119)]=_0x15ad38,this[_0x3ead06(0x13b)](_0x3ead06(0x130),_0x3ead06(0x134))['to'](_0x51af59),this[_0x3ead06(0x13b)](_0x3ead06(0x13f))['to'](this,_0x3ead06(0x134),_0x423c79=>_0x1f1cb1(_0x3865f0[_0x3ead06(0x109)],_0x423c79)),this[_0x3ead06(0x117)](_0x3ead06(0x11d),!0x1),this[_0x3ead06(0x117)](_0x3ead06(0x13e),!0x1),this[_0x3ead06(0x117)](_0x3ead06(0x137),!0x1),this[_0x3ead06(0x117)](_0x3ead06(0x12c),!0x1),this[_0x3ead06(0x117)](_0x3ead06(0x10e),!0x1),this[_0x3ead06(0x140)]=new _0x4c6ac1(_0x3865f0,_0x464706),this[_0x3ead06(0x140)][_0x3ead06(0x120)][_0x3ead06(0x11c)]({'attributes':{'maxlength':_0x3ead06(0x121)}}),this[_0x3ead06(0x140)][_0x3ead06(0x120)][_0x3ead06(0x13b)](_0x3ead06(0x145))['to'](this,_0x3ead06(0x130),_0x3b2307=>_0x3b2307||this[_0x3ead06(0x13f)]),this[_0x3ead06(0x140)][_0x3ead06(0x13b)](_0x3ead06(0x10e))['to'](this,_0x3ead06(0x11d),this,_0x3ead06(0x10e),(_0x6c0af8,_0xe3582)=>_0x6c0af8&&_0xe3582),this[_0x3ead06(0x12f)]=_0x4859b4&&_0x4859b4[_0x3ead06(0x10d)]?_0x1b15be(this,_0x4859b4):'',this[_0x3ead06(0x12f)]&&this[_0x3ead06(0x12f)][_0x3ead06(0x13b)](_0x3ead06(0x10e))['to'](this),this[_0x3ead06(0x133)]({'tag':_0x3ead06(0x114),'attributes':{'class':['ck',_0x3ead06(0x128),_0x3ead06(0x11f),_0x5ce53b['if'](_0x3ead06(0x10b),_0x3ead06(0x13c))]},'children':[{'tag':_0x3ead06(0x114),'attributes':{'class':['ck',_0x3ead06(0x128),_0x3ead06(0x12e),_0x5ce53b['if'](_0x3ead06(0x10e),_0x3ead06(0x136),_0x32d959=>!_0x32d959),_0x5ce53b['if'](_0x3ead06(0x11d),_0x3ead06(0x144)),_0x5ce53b['if'](_0x3ead06(0x13e),_0x3ead06(0x111)),_0x5ce53b['if'](_0x3ead06(0x137),_0x3ead06(0x12a))]},'children':[this[_0x3ead06(0x140)],{'tag':_0x3ead06(0x11a),'attributes':{'class':['ck',_0x3ead06(0x12b)]},'children':[{'text':_0x5ce53b['to'](_0x3ead06(0x13f))}]},{'tag':_0x3ead06(0x114),'attributes':{'class':['ck',_0x3ead06(0x112)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x3ead06(0x142)]},'children':_0x4a03f6}]},this[_0x3ead06(0x12f)]],'on':{'click':_0x5ce53b['to'](_0x4c7f86=>{const _0x12763b=_0x3ead06;_0x4c7f86[_0x12763b(0x131)][_0x12763b(0x146)](_0x12763b(0x11e))||this[_0x12763b(0x12c)]&&this[_0x12763b(0x10e)]&&this[_0x12763b(0x115)](_0x12763b(0x11b),{'id':this['id']});})}}]});}[_0xabc0e4(0x143)](){const _0x51de58=_0xabc0e4;super[_0x51de58(0x143)]();const _0x3e2465=this[_0x51de58(0x140)][_0x51de58(0x120)][_0x51de58(0x10a)];this[_0x51de58(0x138)](_0x3e2465,_0x51de58(0x123),()=>{const _0x50e7f4=_0x51de58;this[_0x50e7f4(0x119)]&&!_0x3e2465[_0x50e7f4(0x145)]||this[_0x50e7f4(0x115)](_0x50e7f4(0x141),{'id':this['id'],'name':_0x3e2465[_0x50e7f4(0x145)]}),_0x3e2465[_0x50e7f4(0x145)]||(_0x3e2465[_0x50e7f4(0x145)]=this[_0x50e7f4(0x130)]?this[_0x50e7f4(0x130)]:this[_0x50e7f4(0x13f)]);});}[_0xabc0e4(0x11b)](){const _0xdb4bb9=_0xabc0e4;this[_0xdb4bb9(0x11d)]=!0x0;}[_0xabc0e4(0x118)](){const _0x56f8c7=_0xabc0e4;this[_0x56f8c7(0x11d)]=!0x1;}[_0xabc0e4(0x132)](){const _0x586fb9=_0xabc0e4;this[_0x586fb9(0x13e)]=!0x0;}[_0xabc0e4(0x110)](){const _0x31158a=_0xabc0e4;this[_0x31158a(0x13e)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5e1314=_0x58eb;(function(_0x2dccbc,_0xb9c8fa){const _0x308c76=_0x58eb,_0x194014=_0x2dccbc();while(!![]){try{const _0x205939=-parseInt(_0x308c76(0x182))/0x1*(-parseInt(_0x308c76(0x184))/0x2)+parseInt(_0x308c76(0x192))/0x3+parseInt(_0x308c76(0x194))/0x4+-parseInt(_0x308c76(0x18a))/0x5+parseInt(_0x308c76(0x18e))/0x6+-parseInt(_0x308c76(0x188))/0x7*(parseInt(_0x308c76(0x18c))/0x8)+-parseInt(_0x308c76(0x193))/0x9;if(_0x205939===_0xb9c8fa)break;else _0x194014['push'](_0x194014['shift']());}catch(_0x389cd9){_0x194014['push'](_0x194014['shift']());}}}(_0x2a28,0xd5f9d));import{View as _0x488c71}from'ckeditor5/src/ui.js';function _0x58eb(_0x30e255,_0x173c09){const _0x2a28b8=_0x2a28();return _0x58eb=function(_0x58eb97,_0x180965){_0x58eb97=_0x58eb97-0x181;let _0x501f06=_0x2a28b8[_0x58eb97];return _0x501f06;},_0x58eb(_0x30e255,_0x173c09);}import'../../../theme/revision/subrevisioncollapser.css';function _0x2a28(){const _0x5db9ac=['button','ck-revision-history-sidebar__subrevision-collapser_collapsed','5167944sHwxwh','39778839yLFnDh','6790304JSfLFa','ck-revision-history-sidebar__subrevision-collapser','true','false','setTemplate','span','3137DTaTsQ','toggle','752rYXKzV','set','bindTemplate','click','7oDURSu','ck-hidden','3621810YjwTKF','ck-revision-history-sidebar__subrevision-collapser__inner','2546680YtLWUD','_isCollapsed','10435662ZzWpIa','isVisible'];_0x2a28=function(){return _0x5db9ac;};return _0x2a28();}export default class ss extends _0x488c71{constructor(_0x1316d0){const _0x158114=_0x58eb;super(_0x1316d0);const _0x59fb0e=this[_0x158114(0x186)];this[_0x158114(0x185)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x158114(0x198)]({'tag':_0x158114(0x181),'attributes':{'class':['ck',_0x158114(0x195),_0x59fb0e['if'](_0x158114(0x18f),_0x158114(0x189),_0x35b628=>!_0x35b628),_0x59fb0e['if'](_0x158114(0x18d),_0x158114(0x191))],'role':_0x158114(0x190),'aria-pressed':_0x59fb0e['to'](_0x158114(0x18d),_0x1beeeb=>_0x1beeeb?_0x158114(0x197):_0x158114(0x196))},'children':[{'tag':_0x158114(0x181),'attributes':{'class':['ck',_0x158114(0x18b)]}}],'on':{'click':_0x59fb0e['to'](_0x158114(0x187))}});}[_0x5e1314(0x183)](){const _0x3c7508=_0x5e1314;this[_0x3c7508(0x18d)]=!this[_0x3c7508(0x18d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x92e0ea=_0x1d48;(function(_0xe156df,_0x681e2e){const _0x383b8a=_0x1d48,_0x536b07=_0xe156df();while(!![]){try{const _0x368b87=-parseInt(_0x383b8a(0xde))/0x1*(parseInt(_0x383b8a(0xe8))/0x2)+parseInt(_0x383b8a(0xf8))/0x3*(-parseInt(_0x383b8a(0xf2))/0x4)+-parseInt(_0x383b8a(0xeb))/0x5*(-parseInt(_0x383b8a(0xfc))/0x6)+parseInt(_0x383b8a(0xf4))/0x7+parseInt(_0x383b8a(0xfd))/0x8*(-parseInt(_0x383b8a(0xe3))/0x9)+-parseInt(_0x383b8a(0xf9))/0xa*(parseInt(_0x383b8a(0xfa))/0xb)+parseInt(_0x383b8a(0xe6))/0xc;if(_0x368b87===_0x681e2e)break;else _0x536b07['push'](_0x536b07['shift']());}catch(_0xf5f9c3){_0x536b07['push'](_0x536b07['shift']());}}}(_0xa013,0x37b03));function _0x1d48(_0x5f36fe,_0x13b394){const _0xa0138=_0xa013();return _0x1d48=function(_0x1d48e4,_0x54d60a){_0x1d48e4=_0x1d48e4-0xdd;let _0x50f14c=_0xa0138[_0x1d48e4];return _0x50f14c;},_0x1d48(_0x5f36fe,_0x13b394);}import{View as _0x5375e0}from'ckeditor5/src/ui.js';import _0x30388f from'./revisionauthorview.js';import{dateToPrettyFormat as _0x4845d7}from'./utils.js';function _0xa013(){const _0x316fb2=['23820rpGfVp','37040HgsiVK','902QPwLzk','ck-reset','12YCDnth','8Mpzqma','ck-revision-history-sidebar__revision-authors','14374OKoaNH','span','ck-revision-history-sidebar__revision_selected','uiLanguage','select','1514808uResAE','creator','ck-revision-history-sidebar__revision__date','5701080IIPHUd','isSelected','6slvMYs','ck-revision-history-sidebar__revision','bind','32530sakycp','_parentRevisionId','deselect','ck-revision-history-sidebar__subrevision','bindTemplate','div','_createdAtFormatted','100rDoXla','createdAt','3175613tpMcYu','fire','setTemplate','set'];_0xa013=function(){return _0x316fb2;};return _0xa013();}import'../../../theme/revision/subrevision.css';export default class is extends _0x5375e0{constructor(_0x2c87ea,_0x7d047d,_0x19b3f4){const _0x58e072=_0x1d48;super(_0x2c87ea);const _0x412204=this[_0x58e072(0xef)];this['id']=_0x7d047d['id'],this[_0x58e072(0xea)](_0x58e072(0xf3))['to'](_0x7d047d),this[_0x58e072(0xf7)](_0x58e072(0xe7),!0x1),this[_0x58e072(0xea)](_0x58e072(0xf1))['to'](this,_0x58e072(0xf3),_0x180dc3=>_0x180dc3?_0x4845d7(_0x2c87ea[_0x58e072(0xe1)],_0x180dc3):void 0x0),this[_0x58e072(0xec)]=_0x19b3f4,this[_0x58e072(0xf6)]({'tag':_0x58e072(0xf0),'attributes':{'class':['ck',_0x58e072(0xfb),_0x58e072(0xe9),_0x58e072(0xee),_0x412204['if'](_0x58e072(0xe7),_0x58e072(0xe0))]},'children':[{'tag':_0x58e072(0xdf),'attributes':{'class':['ck',_0x58e072(0xe5)]},'children':[{'text':_0x412204['to'](_0x58e072(0xf1))}]},{'tag':'ul','attributes':{'class':['ck',_0x58e072(0xdd)]},'children':[new _0x30388f(_0x2c87ea,_0x7d047d[_0x58e072(0xe4)],!0x0)]}],'on':{'click':_0x412204['to'](this[_0x58e072(0xe2)][_0x58e072(0xea)](this))}});}[_0x92e0ea(0xe2)](){const _0x4fe7a9=_0x92e0ea;this[_0x4fe7a9(0xe7)]=!0x0,this[_0x4fe7a9(0xf5)](_0x4fe7a9(0xe2),{'parentId':this[_0x4fe7a9(0xec)]});}[_0x92e0ea(0xed)](){const _0x1863d9=_0x92e0ea;this[_0x1863d9(0xe7)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58af(_0x2cb9e6,_0x25370b){var _0x341948=_0x3419();return _0x58af=function(_0x58af57,_0x3a5e4b){_0x58af57=_0x58af57-0x176;var _0x302167=_0x341948[_0x58af57];return _0x302167;},_0x58af(_0x2cb9e6,_0x25370b);}(function(_0x5fa11a,_0x16c797){var _0x12a2d3=_0x58af,_0x4a77cd=_0x5fa11a();while(!![]){try{var _0x1958c8=parseInt(_0x12a2d3(0x17c))/0x1+-parseInt(_0x12a2d3(0x178))/0x2*(parseInt(_0x12a2d3(0x17f))/0x3)+parseInt(_0x12a2d3(0x17a))/0x4+-parseInt(_0x12a2d3(0x181))/0x5*(parseInt(_0x12a2d3(0x176))/0x6)+parseInt(_0x12a2d3(0x17d))/0x7*(-parseInt(_0x12a2d3(0x182))/0x8)+-parseInt(_0x12a2d3(0x179))/0x9+parseInt(_0x12a2d3(0x183))/0xa;if(_0x1958c8===_0x16c797)break;else _0x4a77cd['push'](_0x4a77cd['shift']());}catch(_0xbd5e24){_0x4a77cd['push'](_0x4a77cd['shift']());}}}(_0x3419,0xd4cfd));export function dateToPrettyFormat(_0x2275fa,_0x5837fe){var _0x168928=_0x58af;return _0x5837fe[_0x168928(0x180)](_0x2275fa,{'month':_0x168928(0x177),'day':_0x168928(0x17e)})+',\x20'+_0x5837fe[_0x168928(0x17b)](_0x2275fa,{'hour':_0x168928(0x17e),'minute':_0x168928(0x17e)});}function _0x3419(){var _0x35e27a=['51VEFJPt','toLocaleDateString','15PKHmiP','4785256ktKcND','29288960nlwcxX','2975652DdaDuw','long','87322TWOZAE','9845172ztqNTZ','2955668PCUKvE','toLocaleTimeString','1125992gENsDx','7QGlayZ','numeric'];_0x3419=function(){return _0x35e27a;};return _0x3419();}
|