@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240426.0 → 0.0.0-nightly-20240428.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/build/revision-history.js +1 -1
- package/dist/index.js +1 -1
- 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/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- 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 _0x31e91d=_0x5a64;(function(_0x5b1824,_0x51ed28){const _0x58fe01=_0x5a64,_0x33bf84=_0x5b1824();while(!![]){try{const _0x60751c=parseInt(_0x58fe01(0xb7))/0x1+parseInt(_0x58fe01(0x158))/0x2+parseInt(_0x58fe01(0x11e))/0x3+parseInt(_0x58fe01(0x1b1))/0x4+parseInt(_0x58fe01(0x1cc))/0x5*(parseInt(_0x58fe01(0x1a2))/0x6)+-parseInt(_0x58fe01(0x19d))/0x7+-parseInt(_0x58fe01(0x1e0))/0x8*(parseInt(_0x58fe01(0xd1))/0x9);if(_0x60751c===_0x51ed28)break;else _0x33bf84['push'](_0x33bf84['shift']());}catch(_0x370d69){_0x33bf84['push'](_0x33bf84['shift']());}}}(_0x3b49,0x99c42));import{Plugin as _0x332980,Command as _0x7735e4}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0xd94ad}from'ckeditor5/src/utils.js';function _0x5a64(_0xd853d5,_0x419f9c){const _0x3b4964=_0x3b49();return _0x5a64=function(_0x5a6427,_0x43f1c3){_0x5a6427=_0x5a6427-0x97;let _0x4b392a=_0x3b4964[_0x5a6427];return _0x4b392a;},_0x5a64(_0xd853d5,_0x419f9c);}import{ContextualBalloon as _0x107588}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2f5a90,Element as _0x132ca4,Text as _0x3f20ce,ViewDocumentFragment as _0x19808f,ViewText as _0x594a82,ViewElement as _0x520f70,ViewContainerElement as _0x246418,ViewAttributeElement as _0x39bb30,ViewEmptyElement as _0x1cc4be,ViewRawElement as _0x61977b,ViewUIElement as _0x858fa7}from'ckeditor5/src/engine.js';import{Users as _0x512985,getMarkerDomElement as _0x515964}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x6896da from'./ui/revisionviewer/changedetailsview.js';import _0x1e1a60 from'./revisionsrepository.js';function _0x3b49(){const _0x202fb0=['consume','getRevision','clear','_refreshStartEndIndex','changes','_step','212924VdrRkn','toViewElement','bind','ck-revision-history-root-','markerName','useFillerType','bindElementToMarker','_getViewForChange','target','createUIElement','addClass','viewItem','attributes','activeView','roots','userId','numberOfChanges','remove','revision-viewer','commands','createPositionBefore','_setDistance','span','change:numberOfChanges','pluginName','highest','type','attachChange','elementStart','restoreRevision','getAttributes','getRootNames','revisionHistoryAttachChange','isSuggestion','getItems','range','ck-suggestion-marker-merge','isBlock','addMarker:revision','isAtStart','createRevision','removeMarker:revision-suggestion','_makeTape','parent','refresh','execute','revision-start','isRemoved','getAttribute','setAttribute','default','_removeUnsupportedChanges','find','unshift','isIncorrect','RevisionViewer','mouseover','detachRoot','startIndex','ck-suggestion-marker-','removeAttribute','ck-suggestion-preview-marker','isReady','rootName','domEvent','data','addRevisionData','plugins','revisionHistoryLabel','8777818MuInnT','_setConversion','first','stop','RevisionsRepository','36EyjXQS','loadRevisionData','diffData','markers','insertion','level','nextSibling','-new','backward','activeChange','pop','isEnabled','high','markersStart','markersEnd','1297876mciCXb','_removeRevisionMarkers','config','includes','ck-revision-history-root--active','children','_removeMissingPairs','insert','POSITIVE_INFINITY','change:activeView','mousedown','_fixObsoleteTags','keys','isEqual','pairId','addRevision','text','WidgetToolbarRepository','isCollapsed','compare','vid_start','ck-suggestion-preview-marker-','_changeView','deletions','from','consumable','repository','679030EkImQG','isAttached','removeMarker:revision','conversion','_markMismatchedRemovedTags','_getViewObj','insertions','attribute:vid','endIndex','addMarker:revision-suggestion:insertion','nodeAfter','getRevisionRootsAttributes','side','dataToMarker','add','ck-revision-history-root-remove','newRevisionId','_getDiff','abs','model','8bOcbVv','catch','mapViewToDom','change','suggestion:','hasAttribute','_markSuggestions','getDomRoot','revision-suggestion','nextPosition','push','bottom','set','_cleanUp','toViewPosition','isBefore','data-revision-','_initInteractions','_markInsertions','modelRange','revision-suggestion:','_getChangeFromId','oldRevisionId','isContent','getIndex','editingDowncast','deletion','isAtEnd','right','editor','indexOf','all','_data','change:activeChange','isObject','domConverter','markerRange','1137640aBlQEP','changeId','_update','_balloon','revision','maxOffset','addHighlight','startsWith','findIndex','flat','index','forward','return','forceDisabled','authors','removeClass','ck-editor__editable__overlay','affectsData','error','isInline','_threeWayMerge','object','getClientRects','element','showPreviousChange','change:isEnabled','15477669lQtmns','view','_makeModelFromTape','length','processor','then','split','isAdded','elementEnd','toViewRange','removeMarker','_activeViewTarget','document','createAttributeElement','showNextChange','item','isNavigationMode','checkAttribute','ck-suggestion-marker--active','distance','wrap','_getRevisionsRange','dataDowncast','_processTape','forEach','splice','merge','_setChanges','concat','markerNameToElements','_sortAndFilterDiffChanges','ck-suggestion-marker','revision:','top','observeMarkers','_changeIdToChange','uiElement','next','values','attributesAfter','suggestion','downcastDispatcher','map','comment','selection','_findChangeIdFromDomTarget','diff','addMarker:revision-suggestion:deletion','vid_end','addRoot','element:pre','start','enqueueChange','upcast','_cleanMarkers','isRemoveSuggestion','ck-revision-history-root-add','softBreak','previousPosition','shift','hasClass','data-change-id','isAfter','test','revision-comment:','getChild','vid','requires','editing','delete','init','toData','for','sort','createRangeIn','destroy','marked','3660402hjVJHt','isAddSuggestion','currentChangeNumber','elementToAttribute','filter','getWalker','_appendChild','revisionHistory','isLimit','string','listenTo','markerToData','schema','done','enableReadOnlyMode','toModel','locale','revision-end','mapper','change:isReady','_revisions','attributesBefore','adapter','name','code','_joinTapes','getRoot','slice','left','reconvertMarker','get','collaboration.channelId','restoreRevisionCallback','_markMarkers','ck-suggestion-marker-split','markerToHighlight','isOnRoot','createRange','updatePosition','getRevisionData','parse','has','writer','low','showStack','_makeModelFromViewString','offsetSize','unbindElementFromMarkerName','end','resolve','getCustomProperty','createPositionFromPath'];_0x3b49=function(){return _0x202fb0;};return _0x3b49();}import _0x268d2b from'./changeitem.js';import{default as _0x53e7ea}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x2975ae}from'lodash-es';const tt={'c':_0x246418,'a':_0x39bb30,'e':_0x1cc4be,'r':_0x61977b,'u':_0x858fa7};export default class d extends _0x332980{static get[_0x31e91d(0x170)](){const _0x4c3973=_0x31e91d;return _0x4c3973(0x18f);}static get[_0x31e91d(0x114)](){return[_0x512985,_0x107588,_0x1e1a60];}constructor(_0x21714d){const _0x3ef0c6=_0x31e91d;super(_0x21714d),this[_0x3ef0c6(0x1cb)]=this[_0x3ef0c6(0xaf)][_0x3ef0c6(0x19b)][_0x3ef0c6(0x13c)](_0x3ef0c6(0x1a1)),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x1ab),null),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x165),null),this[_0x3ef0c6(0xdc)]=null,this[_0x3ef0c6(0x9e)](_0x3ef0c6(0xff),null),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x196),!0x1),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x1ad),!0x0),this['on'](_0x3ef0c6(0xd0),(_0x3458ac,_0x4adfd9,_0x3a0e53)=>{const _0x466346=_0x3ef0c6;this[_0x466346(0x1ab)]=null,this[_0x466346(0x165)]=null,this[_0x466346(0xaf)][_0x466346(0x115)][_0x466346(0xd2)][_0x466346(0x1e3)](_0x364564=>{const _0x590012=_0x466346;for(const _0x527c32 of this[_0x590012(0xaf)][_0x590012(0x115)][_0x590012(0xd2)][_0x590012(0xdd)][_0x590012(0x166)])_0x3a0e53?_0x364564[_0x590012(0xc6)](_0x590012(0xc7),_0x527c32):_0x364564[_0x590012(0x162)](_0x590012(0xc7),_0x527c32);});}),this[_0x3ef0c6(0x15a)](_0x3ef0c6(0xe1))['to'](this,_0x3ef0c6(0x1ab),_0x5a7e4e=>null!==_0x5a7e4e),this[_0x3ef0c6(0x15a)](_0x3ef0c6(0x120))['to'](this,_0x3ef0c6(0x196),this,_0x3ef0c6(0xff),this,_0x3ef0c6(0x1ab),(_0x585cc6,_0x127ec7,_0x201ff1)=>_0x585cc6&&_0x201ff1?_0x127ec7[_0x3ef0c6(0x156)][_0x3ef0c6(0xaa)](_0x201ff1):0x0),this[_0x3ef0c6(0x15a)](_0x3ef0c6(0x168))['to'](this,_0x3ef0c6(0x196),this,_0x3ef0c6(0xff),(_0xa311b7,_0x54002d)=>_0xa311b7?_0x54002d[_0x3ef0c6(0x156)][_0x3ef0c6(0xd4)]:0x0),this[_0x3ef0c6(0x1c7)]=null,this[_0x3ef0c6(0xf4)]=new Map(),this[_0x3ef0c6(0x134)]=null,this[_0x3ef0c6(0xba)]=this[_0x3ef0c6(0xaf)][_0x3ef0c6(0x19b)][_0x3ef0c6(0x13c)](_0x107588);}[_0x31e91d(0x117)](){const _0x1018db=_0x31e91d,_0x49a21b=this[_0x1018db(0xaf)],_0x37ae49=new ShowChangeCommand(_0x49a21b,{'direction':_0x1018db(0x1aa)}),_0x17857e=new ShowChangeCommand(_0x49a21b,{'direction':_0x1018db(0xc2)});(_0x49a21b[_0x1018db(0x16b)][_0x1018db(0x1da)](_0x1018db(0xcf),_0x37ae49),_0x49a21b[_0x1018db(0x16b)][_0x1018db(0x1da)](_0x1018db(0xdf),_0x17857e),_0x49a21b[_0x1018db(0x16b)][_0x1018db(0x1da)](_0x1018db(0x175),new RestoreRevisionCommand(_0x49a21b)),this['on'](_0x1018db(0x16f),()=>{const _0x285e97=_0x1018db;_0x37ae49[_0x285e97(0x184)](),_0x17857e[_0x285e97(0x184)]();}),this[_0x1018db(0x19e)](),this[_0x1018db(0xa3)](),_0x49a21b[_0x1018db(0x12c)](_0x1018db(0x16a)),_0x49a21b[_0x1018db(0x19b)][_0x1018db(0x147)](_0x1018db(0x1c2)))&&_0x49a21b[_0x1018db(0x19b)][_0x1018db(0x13c)](_0x1018db(0x1c2))[_0x1018db(0xc4)](_0x1018db(0x16a));}async[_0x31e91d(0x145)](_0x97c81d){const _0x30d3d6=_0x31e91d;await this[_0x30d3d6(0x1a3)](_0x97c81d);const _0x198db8={};for(const _0x576b73 in _0x97c81d[_0x30d3d6(0x1a4)]){if(_0x97c81d[_0x30d3d6(0x1a4)][_0x576b73][_0x30d3d6(0x173)]&&!_0x97c81d[_0x30d3d6(0x1a4)][_0x576b73][_0x30d3d6(0x173)][_0x30d3d6(0x1cd)])continue;const _0xd42709=this[_0x30d3d6(0x1b2)](JSON[_0x30d3d6(0x146)](_0x97c81d[_0x30d3d6(0x1a4)][_0x576b73][_0x30d3d6(0x1d2)])),_0x333970=this[_0x30d3d6(0xaf)][_0x30d3d6(0x115)][_0x30d3d6(0xd2)][_0x30d3d6(0xdd)],_0x14a478=new _0x19808f(_0x333970,_0xd42709[_0x30d3d6(0xfb)](_0x53b683=>this[_0x30d3d6(0x1d1)](_0x53b683)));this[_0x30d3d6(0xaf)][_0x30d3d6(0x199)][_0x30d3d6(0xd5)][_0x30d3d6(0x15d)](_0x30d3d6(0x11d)),_0x198db8[_0x576b73]=this[_0x30d3d6(0xaf)][_0x30d3d6(0x199)][_0x30d3d6(0xd5)][_0x30d3d6(0x118)](_0x14a478),this[_0x30d3d6(0xaf)][_0x30d3d6(0x199)][_0x30d3d6(0xd5)][_0x30d3d6(0x15d)](_0x30d3d6(0x18a));}return _0x198db8;}async[_0x31e91d(0x1d7)](_0x3cfc96){const _0x1cd4fb=_0x31e91d;await this[_0x1cd4fb(0x1a3)](_0x3cfc96);const _0x707dc={};for(const _0x3bf42e in _0x3cfc96[_0x1cd4fb(0x1a4)])_0x3cfc96[_0x1cd4fb(0x1a4)][_0x3bf42e][_0x1cd4fb(0x173)]&&!_0x3cfc96[_0x1cd4fb(0x1a4)][_0x3bf42e][_0x1cd4fb(0x173)][_0x1cd4fb(0x1cd)]||(_0x707dc[_0x3bf42e]=_0x3cfc96[_0x1cd4fb(0x1a4)][_0x3bf42e][_0x1cd4fb(0xf8)]||{});return _0x707dc;}[_0x31e91d(0x1b2)](_0x564c8b){const _0x428c5a=_0x31e91d;return(_0x564c8b=_0x564c8b[_0x428c5a(0x122)](_0x9e4e3=>!_0x9e4e3[_0x428c5a(0x135)]||_0x428c5a(0x186)!==_0x9e4e3[_0x428c5a(0x135)]&&_0x428c5a(0x12f)!==_0x9e4e3[_0x428c5a(0x135)]))[_0x428c5a(0xe9)](_0x3449e7=>{const _0x430aa6=_0x428c5a;_0x430aa6(0x127)!=typeof _0x3449e7&&(_0x3449e7[_0x430aa6(0x1b6)]=this[_0x430aa6(0x1b2)](_0x3449e7[_0x430aa6(0x1b6)]),_0x3449e7[_0x430aa6(0x164)]=_0x3449e7[_0x430aa6(0x164)][_0x430aa6(0x122)](_0x384a5e=>!_0x384a5e[0x0][_0x430aa6(0xbe)](_0x430aa6(0xa2))));}),_0x564c8b;}async[_0x31e91d(0x1c4)](_0x54c1f4,_0x2fed65,_0x21b4d5=!0x1){const _0xc18765=_0x31e91d;if(!this[_0xc18765(0x1ad)])return;const _0x231564=this[_0xc18765(0xff)],_0x118f15=this[_0xc18765(0x1cb)],_0x4c9129=_0xc18765(0x127)==typeof _0x54c1f4?_0x118f15[_0xc18765(0x153)](_0x54c1f4):_0x54c1f4,_0x58c98a=_0xc18765(0x127)==typeof _0x2fed65?_0x118f15[_0xc18765(0x153)](_0x2fed65):_0x2fed65,_0x3d9c30=_0x4c9129['id'],_0x539bc2=_0x58c98a?_0x58c98a['id']:null;if(!_0x21b4d5&&this[_0xc18765(0xff)]&&this[_0xc18765(0xff)][_0xc18765(0x1dc)]===_0x3d9c30&&this[_0xc18765(0xff)][_0xc18765(0xa8)]===_0x539bc2)return Promise[_0xc18765(0x14f)]();this[_0xc18765(0x196)]=!0x1,this[_0xc18765(0x165)]=null,this[_0xc18765(0x1ab)]=null,this[_0xc18765(0xff)]=new _0x53e7ea(_0x3d9c30,_0x539bc2);const _0xc2df35=this[_0xc18765(0xe6)](_0x4c9129,_0x58c98a,!0x0)[_0xc18765(0xfb)](_0x1f2e33=>this[_0xc18765(0x1a3)](_0x1f2e33));return _0xc2df35[_0xc18765(0x9c)](new Promise(_0x297bb3=>{setTimeout(_0x297bb3,0x14);})),Promise[_0xc18765(0xb1)](_0xc2df35)[_0xc18765(0xd6)](()=>{const _0x10bceb=_0xc18765;if(!this[_0x10bceb(0x1ad)])return;this[_0x10bceb(0x9f)]();const _0x3cd44a=this[_0x10bceb(0x1dd)](_0x3d9c30,_0x539bc2);for(const _0x40b031 of _0x3cd44a[_0x10bceb(0x156)])this[_0x10bceb(0xf4)][_0x10bceb(0x9e)](_0x40b031['id'],_0x40b031);this[_0x10bceb(0xaf)][_0x10bceb(0x1df)][_0x10bceb(0x105)]({'isUndoable':!0x1},_0x418143=>{const _0x55bdd5=_0x10bceb;for(const _0x12c531 of this[_0x55bdd5(0xaf)][_0x55bdd5(0x1df)][_0x55bdd5(0xdd)][_0x55bdd5(0x177)]())_0x418143[_0x55bdd5(0x191)](_0x12c531);for(const _0x3cafa7 of Object[_0x55bdd5(0x1bd)](_0x3cd44a[_0x55bdd5(0x1df)])){const _0x533d9a=_0x418143[_0x55bdd5(0x102)](_0x3cafa7);for(const _0x40d97a of Object[_0x55bdd5(0x1bd)](_0x3cd44a[_0x55bdd5(0x164)][_0x3cafa7]))_0x418143[_0x55bdd5(0x189)](_0x40d97a,_0x3cd44a[_0x55bdd5(0x164)][_0x3cafa7][_0x40d97a],_0x533d9a);_0x418143[_0x55bdd5(0x1b8)](_0x3cd44a[_0x55bdd5(0x1df)][_0x3cafa7],_0x533d9a,0x0);}}),this[_0x10bceb(0xff)][_0x10bceb(0xec)](this[_0x10bceb(0xef)](_0x3cd44a[_0x10bceb(0x156)])),this[_0x10bceb(0x196)]=!0x0;})[_0xc18765(0x1e1)](_0x202218=>{const _0x483b4a=_0xc18765;console[_0x483b4a(0xc9)](_0x202218),this[_0x483b4a(0x9f)](),_0x231564&&(this[_0x483b4a(0xff)]=_0x231564),this[_0x483b4a(0x196)]=!0x0;});}[_0x31e91d(0x19a)](_0x2e55cf,_0x57a0be){const _0x48215c=_0x31e91d,_0x4d5853=this[_0x48215c(0x1cb)][_0x48215c(0x180)](_0x2e55cf);return _0x4d5853['on'](_0x48215c(0xb9),(_0x3490f0,_0x4b7340,_0x4e0481)=>_0x57a0be(_0x4b7340,_0x4e0481,_0x4d5853)),this[_0x48215c(0x1cb)][_0x48215c(0x1c0)](_0x4d5853),_0x4d5853;}[_0x31e91d(0x1a3)](_0x2b6b33){const _0x387bbb=_0x31e91d;if(!_0x2b6b33||_0x2b6b33[_0x387bbb(0x1a4)])return Promise[_0x387bbb(0x14f)]();{const _0x2d368e=this[_0x387bbb(0xaf)][_0x387bbb(0x1b3)][_0x387bbb(0x13c)](_0x387bbb(0x13d));return this[_0x387bbb(0x134)][_0x387bbb(0x153)]({'channelId':_0x2d368e,'revisionId':_0x2b6b33['id']})[_0x387bbb(0xd6)](_0x47eeb3=>{const _0x155cdc=_0x387bbb;_0x2b6b33[_0x155cdc(0xb9)]({'diffData':_0x47eeb3[_0x155cdc(0x1a4)]},!0x0);});}}[_0x31e91d(0x9f)](){const _0x418162=_0x31e91d;this[_0x418162(0x1ab)]=null,this[_0x418162(0x107)](),this[_0x418162(0x1c7)]&&this[_0x418162(0x1c7)][_0x418162(0x11c)](),this[_0x418162(0x1c7)]=null,this[_0x418162(0xf4)][_0x418162(0x154)](),this[_0x418162(0xaf)][_0x418162(0x1df)][_0x418162(0x105)]({'isUndoable':!0x1},_0x251b8e=>{const _0x4ff9ea=_0x418162;for(const _0x1f753d of this[_0x4ff9ea(0xaf)][_0x4ff9ea(0x1df)][_0x4ff9ea(0xdd)][_0x4ff9ea(0x177)]())_0x251b8e[_0x4ff9ea(0x191)](_0x1f753d);});}[_0x31e91d(0xef)](_0x1ce44c){const _0x21ea8c=_0x31e91d,_0xa98529=[],_0x3bbe43=new Map();for(const _0x1f884f of this[_0x21ea8c(0xaf)][_0x21ea8c(0x1df)][_0x21ea8c(0xdd)][_0x21ea8c(0x177)]()){const _0x4e1820=this[_0x21ea8c(0xaf)][_0x21ea8c(0x115)][_0x21ea8c(0xd2)][_0x21ea8c(0x99)](_0x1f884f);if(!_0x4e1820)continue;const _0x818fd2=_0x4e1820[_0x21ea8c(0xcd)]()[_0x21ea8c(0xe0)](0x0);_0x818fd2&&(_0xa98529[_0x21ea8c(0x9c)](_0x1f884f),_0x3bbe43[_0x21ea8c(0x9e)](_0x1f884f,_0x818fd2));}return _0xa98529[_0x21ea8c(0x11a)]((_0x3599ef,_0x196161)=>{const _0x4f8ac2=_0x21ea8c,_0x36b455=_0x3bbe43[_0x4f8ac2(0x13c)](_0x3599ef),_0x55cae8=_0x3bbe43[_0x4f8ac2(0x13c)](_0x196161);return _0x36b455['y']-_0x55cae8['y']||_0x36b455['x']-_0x55cae8['x'];}),(_0x1ce44c=_0x1ce44c[_0x21ea8c(0x122)](_0x55bd7d=>_0xa98529[_0x21ea8c(0x1b4)](_0x55bd7d[_0x21ea8c(0x197)])))[_0x21ea8c(0x11a)]((_0x4a7c37,_0x281586)=>_0xa98529[_0x21ea8c(0xb0)](_0x4a7c37[_0x21ea8c(0x197)])-_0xa98529[_0x21ea8c(0xb0)](_0x281586[_0x21ea8c(0x197)])),_0x1ce44c;}[_0x31e91d(0x182)](_0x108ba8){const _0x1a0071=_0x31e91d,_0x33b153=Array[_0x1a0071(0x1c9)](_0x108ba8[_0x1a0071(0x1a5)])[_0x1a0071(0x122)](([_0xe752ca,_0x196d2d])=>_0xe752ca[_0x1a0071(0xbe)](_0x1a0071(0xf1))&&!_0x196d2d[_0x1a0071(0x1c3)]),_0x1d3bf0=Array[_0x1a0071(0x1c9)](this[_0x1a0071(0xaf)][_0x1a0071(0x1df)][_0x1a0071(0x11b)](_0x108ba8)[_0x1a0071(0x123)]({'singleCharacters':!0x0}));if(0x0!=_0x33b153[_0x1a0071(0xd4)])for(const _0x8f5133 of _0x1d3bf0){const [_0x53d237,_0x5cc519]=_0x33b153[0x0],[,_0x1ea218,_0x18a820]=_0x53d237[_0x1a0071(0xd7)](':');if(_0x5cc519[_0x1a0071(0x14e)][_0x1a0071(0x1be)](_0x8f5133[_0x1a0071(0x9b)])&&_0x33b153[_0x1a0071(0x10c)](),(_0x8f5133[_0x1a0071(0x10b)][_0x1a0071(0x1be)](_0x5cc519[_0x1a0071(0x104)])||_0x8f5133[_0x1a0071(0x10b)][_0x1a0071(0x10f)](_0x5cc519[_0x1a0071(0x104)]))&&(_0x1a0071(0x1a6)==_0x1ea218?_0x8f5133[_0x1a0071(0xd8)]={'userId':_0x18a820}:_0x1a0071(0xac)==_0x1ea218&&(_0x8f5133[_0x1a0071(0x187)]={'userId':_0x18a820})),0x0==_0x33b153[_0x1a0071(0xd4)])break;}return _0x1d3bf0;}[_0x31e91d(0x155)](_0x54b1d7){const _0x372b08=_0x31e91d,_0x2a52a0=new Map();for(let _0x1b3f87=0x0;_0x1b3f87<_0x54b1d7[_0x372b08(0xd4)];_0x1b3f87++)_0x372b08(0x1c1)===_0x54b1d7[_0x1b3f87][_0x372b08(0x172)]?(_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x192)]=_0x1b3f87,_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x1d4)]=_0x1b3f87):(_0x372b08(0x174)===_0x54b1d7[_0x1b3f87][_0x372b08(0x172)]?_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x192)]=_0x1b3f87:_0x372b08(0xd9)===_0x54b1d7[_0x1b3f87][_0x372b08(0x172)]&&(_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x1d4)]=_0x1b3f87),_0x2a52a0[_0x372b08(0x9e)](_0x54b1d7[_0x1b3f87]['id'],_0x1b3f87));for(const _0x2d3783 of _0x2a52a0[_0x372b08(0xf7)]())_0x372b08(0x174)===_0x54b1d7[_0x2d3783][_0x372b08(0x172)]?_0x54b1d7[_0x2d3783][_0x372b08(0xe0)][_0x372b08(0x1d4)]=_0x2a52a0[_0x372b08(0x13c)](_0x54b1d7[_0x2d3783][_0x372b08(0x1bf)]):_0x372b08(0xd9)===_0x54b1d7[_0x2d3783][_0x372b08(0x172)]&&(_0x54b1d7[_0x2d3783][_0x372b08(0xe0)][_0x372b08(0x192)]=_0x2a52a0[_0x372b08(0x13c)](_0x54b1d7[_0x2d3783][_0x372b08(0x1bf)]));}[_0x31e91d(0xe8)](_0x564a3d){const _0x2f2221=_0x31e91d;for(let _0x2609eb=0x0;_0x2609eb<_0x564a3d[_0x2f2221(0xd4)];_0x2609eb++){if(_0x2f2221(0x174)===_0x564a3d[_0x2609eb][_0x2f2221(0x172)])_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x192)]=_0x2609eb;else{if(_0x2f2221(0xd9)===_0x564a3d[_0x2609eb][_0x2f2221(0x172)]){_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x1d4)]=_0x2609eb;const _0x3b825d=_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x192)];_0x564a3d[_0x3b825d][_0x2f2221(0x1bf)]=_0x564a3d[_0x2609eb]['id'],_0x564a3d[_0x2609eb][_0x2f2221(0x1bf)]=_0x564a3d[_0x3b825d]['id'];}else _0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x192)]=_0x2609eb,_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x1d4)]=_0x2609eb,_0x564a3d[_0x2609eb][_0x2f2221(0x1bf)]=null;}_0x564a3d[_0x2609eb][_0x2f2221(0x1af)]||(_0x564a3d[_0x2609eb][_0x2f2221(0x1af)]=[],_0x564a3d[_0x2609eb][_0x2f2221(0x1b0)]=[]);}}[_0x31e91d(0xa4)](_0x190f47,_0x5e5603){const _0x2cfc10=_0x31e91d,_0x12445b=_0x190f47[_0x2cfc10(0x122)](_0x448bba=>!_0x448bba[_0x2cfc10(0xd8)]);for(let _0x10c559=0x0;_0x10c559<_0x5e5603[_0x2cfc10(0xd4)];_0x10c559++)_0x5e5603[_0x10c559][_0x2cfc10(0xd8)]&&(_0x12445b[_0x10c559][_0x2cfc10(0xd8)]=_0x5e5603[_0x10c559][_0x2cfc10(0xd8)]);}[_0x31e91d(0x14b)](_0x15ad4b){const _0x1c406d=_0x31e91d,_0x30161b=JSON[_0x1c406d(0x146)](_0x15ad4b),_0x19ecc7=this[_0x1c406d(0xaf)][_0x1c406d(0x115)][_0x1c406d(0xd2)][_0x1c406d(0xdd)],_0x365853=new _0x19808f(_0x19ecc7,_0x30161b[_0x1c406d(0xfb)](_0x8ddfa=>this[_0x1c406d(0x1d1)](_0x8ddfa)));return this[_0x1c406d(0xaf)][_0x1c406d(0x199)][_0x1c406d(0x12d)](_0x365853);}[_0x31e91d(0x1d1)](_0x12dc13){const _0x15f9d2=_0x31e91d,_0x231fd9=this[_0x15f9d2(0xaf)][_0x15f9d2(0x115)][_0x15f9d2(0xd2)][_0x15f9d2(0xdd)];if(_0x15f9d2(0x127)==typeof _0x12dc13)return new _0x594a82(_0x231fd9,_0x12dc13);{const _0x7414aa=_0x12dc13[_0x15f9d2(0x1b6)][_0x15f9d2(0xfb)](_0x73fbdd=>this[_0x15f9d2(0x1d1)](_0x73fbdd));return new(tt[_0x12dc13[(_0x15f9d2(0x172))]]||_0x520f70)(_0x231fd9,_0x12dc13[_0x15f9d2(0x135)],_0x12dc13[_0x15f9d2(0x164)],_0x7414aa);}}[_0x31e91d(0x1dd)](_0x38db7a,_0x18b20a=null){const _0x5afe8f=_0x31e91d,_0x174d7a=this[_0x5afe8f(0x1cb)][_0x5afe8f(0x153)](_0x38db7a),_0x24af8a=_0x18b20a?this[_0x5afe8f(0x1cb)][_0x5afe8f(0x153)](_0x18b20a):null,_0x35495d=this[_0x5afe8f(0xe6)](_0x174d7a,_0x24af8a),_0x27d25d=_0x35495d[_0x35495d[_0x5afe8f(0xd4)]-0x1],_0x34b21e=new Map(),_0x104008={'model':{},'attributes':{},'changes':[]},_0x598d31=new Set(),_0x12804b=new Map();for(let _0x5340a8=_0x35495d[_0x5afe8f(0xd4)]-0x1;_0x5340a8>=0x0;_0x5340a8--){const _0x417af0=_0x35495d[_0x5340a8];for(const _0x5c3b12 of Object[_0x5afe8f(0x1bd)](_0x417af0[_0x5afe8f(0x1a4)]))if(_0x417af0[_0x5afe8f(0x1a4)][_0x5c3b12][_0x5afe8f(0x173)]){const _0x4cafbf=_0x417af0[_0x5afe8f(0x1a4)][_0x5c3b12][_0x5afe8f(0x173)];_0x4cafbf[_0x5afe8f(0x1cd)]?(_0x598d31[_0x5afe8f(0x1da)](_0x5c3b12),_0x12804b[_0x5afe8f(0x147)](_0x5c3b12)&&_0x12804b[_0x5afe8f(0x13c)](_0x5c3b12)[_0x5afe8f(0x167)]==_0x4cafbf[_0x5afe8f(0x167)]?_0x12804b[_0x5afe8f(0x116)](_0x5c3b12):_0x12804b[_0x5afe8f(0x9e)](_0x5c3b12,_0x4cafbf)):_0x12804b[_0x5afe8f(0x147)](_0x5c3b12)?(_0x598d31[_0x5afe8f(0x116)](_0x5c3b12),_0x12804b[_0x5afe8f(0x116)](_0x5c3b12)):(_0x598d31[_0x5afe8f(0x1da)](_0x5c3b12),_0x12804b[_0x5afe8f(0x9e)](_0x5c3b12,_0x4cafbf));}else _0x598d31[_0x5afe8f(0x1da)](_0x5c3b12);}for(const _0x77b2c8 of _0x598d31){const _0x37723c=_0x12804b[_0x5afe8f(0x147)](_0x77b2c8)&&!_0x12804b[_0x5afe8f(0x13c)](_0x77b2c8)[_0x5afe8f(0x1cd)];let _0x332d13=_0x37723c?_0x35495d[_0x5afe8f(0xd4)]-0x1:0x0;const _0x4ad887=_0x37723c?-0x1:0x1;for(;_0x35495d[_0x332d13];){const _0x1310c3=_0x35495d[_0x332d13];if(_0x1310c3[_0x5afe8f(0x1a4)][_0x77b2c8]){const _0x6bfbb9=_0x37723c?_0x1310c3[_0x5afe8f(0x1a4)][_0x77b2c8][_0x5afe8f(0x133)]:_0x1310c3[_0x5afe8f(0x1a4)][_0x77b2c8][_0x5afe8f(0xf8)];_0x104008[_0x5afe8f(0x164)][_0x77b2c8]=_0x6bfbb9?_0x2975ae(_0x6bfbb9):{};break;}_0x332d13+=_0x4ad887;}}for(const _0x11f5d6 of _0x35495d){_0x11f5d6[_0x5afe8f(0x1df)]={};for(const _0x324538 of _0x11f5d6[_0x5afe8f(0xc5)])_0x34b21e[_0x5afe8f(0x9e)](_0x324538['id'],_0x324538);for(const _0x369d2c of _0x598d31){const _0x42aff0=_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c]?_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c][_0x5afe8f(0x1d2)]:'[]',_0x570fec=_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c]?_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c][_0x5afe8f(0x1c8)]:'[]';_0x11f5d6[_0x5afe8f(0x1df)][_0x369d2c]={'insertions':this[_0x5afe8f(0x14b)](_0x42aff0),'deletions':this[_0x5afe8f(0x14b)](_0x570fec)};}}for(const _0x343e8c of _0x598d31){let _0xcafdd7=null,_0x3a2e6f=0x0;const _0x6079d0=new Map(Array[_0x5afe8f(0x1c9)](_0x174d7a[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1d2)][_0x5afe8f(0x1a5)])[_0x5afe8f(0x122)](([_0x8fd3db])=>!_0x8fd3db[_0x5afe8f(0xbe)](_0x5afe8f(0xf1))));let _0x4b82b1=0x0;for(const _0x1e05c7 of _0x35495d){const _0x306aa5=this[_0x5afe8f(0x182)](_0x1e05c7[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1d2)]);_0x1e05c7==_0x174d7a?(_0xcafdd7=_0x306aa5,_0x3a2e6f=_0xcafdd7[_0x5afe8f(0xd4)],_0xcafdd7[_0x5afe8f(0xe9)](_0x1993d4=>{_0x1993d4['id']=_0x4b82b1++;}),this[_0x5afe8f(0xe8)](_0xcafdd7)):this[_0x5afe8f(0xa4)](_0xcafdd7,_0x306aa5);const _0x5a134f=_0xcafdd7[_0x5afe8f(0x122)](_0x35c204=>!_0x35c204[_0x5afe8f(0xd8)])[_0x5afe8f(0xfb)](_0x5db771=>_0x5db771['id']);let _0x5076d0=0x0;const _0x1c809c=this[_0x5afe8f(0x182)](_0x1e05c7[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1c8)]);_0x1c809c[_0x5afe8f(0xe9)](_0x44cc4e=>{const _0x4cfe43=_0x5afe8f;_0x44cc4e[_0x4cfe43(0x187)]?_0x44cc4e['id']=_0x3a2e6f++:_0x44cc4e['id']=_0x5a134f[_0x5076d0++];}),this[_0x5afe8f(0xe8)](_0x1c809c),this[_0x5afe8f(0x16d)](_0xcafdd7,_0x5afe8f(0xd8)),this[_0x5afe8f(0x16d)](_0x1c809c,_0x5afe8f(0x187)),_0x1e05c7==_0x174d7a&&this[_0x5afe8f(0x13f)](_0xcafdd7,_0x6079d0),_0xcafdd7=this[_0x5afe8f(0x137)](_0xcafdd7,_0x1c809c),this[_0x5afe8f(0x155)](_0xcafdd7),this[_0x5afe8f(0x16d)](_0xcafdd7,_0x5afe8f(0x187));}_0xcafdd7=_0xcafdd7[_0x5afe8f(0x122)](_0x5736f1=>!(_0x5736f1[_0x5afe8f(0xd8)]&&_0x5736f1[_0x5afe8f(0x187)]));const _0x5ec07f=new Map(_0x27d25d[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1c8)][_0x5afe8f(0x1a5)]),_0x4cc2db=new Set(_0x6079d0[_0x5afe8f(0x1bd)]());for(const _0x168f32 of _0x5ec07f[_0x5afe8f(0x1bd)]())_0x4cc2db[_0x5afe8f(0x116)](_0x168f32);this[_0x5afe8f(0x98)](_0xcafdd7,_0x4cc2db),this[_0x5afe8f(0x1bc)](_0xcafdd7),_0xcafdd7=this[_0x5afe8f(0x1b7)](_0xcafdd7),_0xcafdd7=this[_0x5afe8f(0x1d0)](_0xcafdd7),_0xcafdd7=this[_0x5afe8f(0x18b)](_0xcafdd7);const {root:_0x2deed4,changes:_0x153576}=this[_0x5afe8f(0xd3)](_0xcafdd7,_0x34b21e,_0x343e8c);_0x104008[_0x5afe8f(0x1df)][_0x343e8c]=_0x2deed4;const _0x3e8c5d=_0x12804b[_0x5afe8f(0x13c)](_0x343e8c);if(_0x3e8c5d){const _0x436d45=_0x34b21e[_0x5afe8f(0x13c)](_0x3e8c5d[_0x5afe8f(0x167)]),_0x509746=new _0x268d2b({'author':_0x436d45,'type':_0x3e8c5d[_0x5afe8f(0x1cd)]?_0x5afe8f(0x1da):_0x5afe8f(0x169),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x343e8c});_0x153576[_0x5afe8f(0x18d)](_0x509746),_0x104008[_0x5afe8f(0x164)][_0x343e8c][_0x5afe8f(0x178)]=_0x509746['id'];}_0x104008[_0x5afe8f(0x156)]=_0x104008[_0x5afe8f(0x156)][_0x5afe8f(0xed)](_0x153576);}return _0x104008;}[_0x31e91d(0x13f)](_0x11b7b6,_0x5f1718){const _0x2e3ee0=_0x31e91d;for(let _0x17b555=0x0;_0x17b555<_0x11b7b6[_0x2e3ee0(0xd4)];_0x17b555++)for(const [_0xd5045d,_0x1ca67c]of _0x5f1718)_0x1ca67c[_0x2e3ee0(0x104)][_0x2e3ee0(0x1be)](_0x11b7b6[_0x17b555][_0x2e3ee0(0x10b)])&&_0x11b7b6[_0x17b555][_0x2e3ee0(0x1af)][_0x2e3ee0(0x9c)](_0xd5045d),_0x1ca67c[_0x2e3ee0(0x14e)][_0x2e3ee0(0x1be)](_0x11b7b6[_0x17b555][_0x2e3ee0(0x9b)])&&_0x11b7b6[_0x17b555][_0x2e3ee0(0x1b0)][_0x2e3ee0(0x9c)](_0xd5045d);}[_0x31e91d(0x137)](_0x79d621,_0x32655e){const _0x53c208=_0x31e91d;let _0x3c923c=[],_0x49d43b=0x0,_0x597397=0x0;for(;_0x49d43b<_0x79d621[_0x53c208(0xd4)]||_0x597397<_0x32655e[_0x53c208(0xd4)];){const _0xb829d=_0x79d621[_0x49d43b]||{},_0x1b60f5=_0x32655e[_0x597397]||{};if(_0xb829d['id']==_0x1b60f5['id'])_0x49d43b++,_0x597397++,_0x3c923c[_0x53c208(0x9c)](_0xb829d);else{if(_0x1b60f5[_0x53c208(0x187)]&&_0xb829d[_0x53c208(0xd8)]){const {commonTape:_0x134d7d,iEnd:_0x5a2ce9,jEnd:_0x2f41b2}=this[_0x53c208(0xcb)](_0x79d621,_0x49d43b,_0x32655e,_0x597397);_0x3c923c=_0x3c923c[_0x53c208(0xed)](_0x134d7d),_0x49d43b=_0x5a2ce9,_0x597397=_0x2f41b2;}else _0x1b60f5[_0x53c208(0x187)]?(_0x597397++,_0x3c923c[_0x53c208(0x9c)](_0x1b60f5)):(_0x49d43b++,_0x3c923c[_0x53c208(0x9c)](_0xb829d));}}return _0x3c923c;}[_0x31e91d(0x98)](_0xbe57d6,_0x160547){const _0x5c7914=_0x31e91d,_0x3c9d9e=[];for(let _0x58a48f=0x0;_0x58a48f<_0xbe57d6[_0x5c7914(0xd4)];_0x58a48f++){for(let _0xcd021a=0x0;_0xcd021a<_0xbe57d6[_0x58a48f][_0x5c7914(0x1af)][_0x5c7914(0xd4)];_0xcd021a++){const _0x7719d2=_0xbe57d6[_0x58a48f][_0x5c7914(0x1af)][_0xcd021a];if(!_0x160547[_0x5c7914(0x147)](_0x7719d2))continue;const {group:_0x322ac8,type:_0x481a36,authorId:_0x3fb622}=_0x2f1821(_0x7719d2);_0x5c7914(0x9a)!=_0x322ac8||_0x5c7914(0x1a6)!=_0x481a36&&_0x5c7914(0xac)!=_0x481a36||(_0x3c9d9e[_0x5c7914(0x18d)]({'type':_0x481a36,'name':_0x7719d2,'userId':_0x3fb622}),_0xbe57d6[_0x58a48f][_0x5c7914(0x1af)][_0x5c7914(0xea)](_0xcd021a,0x1),_0xcd021a--);}_0x5547d5(_0xbe57d6[_0x58a48f]);for(let _0xd0c10a=0x0;_0xd0c10a<_0xbe57d6[_0x58a48f][_0x5c7914(0x1b0)][_0x5c7914(0xd4)];_0xd0c10a++){const _0x32c443=_0xbe57d6[_0x58a48f][_0x5c7914(0x1b0)][_0xd0c10a];if(!_0x160547[_0x5c7914(0x147)](_0x32c443))continue;const {group:_0x2a6670,type:_0x5e6ee5}=_0x2f1821(_0x32c443);if(_0x5c7914(0x9a)!=_0x2a6670||_0x5c7914(0x1a6)!=_0x5e6ee5&&_0x5c7914(0xac)!=_0x5e6ee5)continue;_0xbe57d6[_0x58a48f][_0x5c7914(0x1b0)][_0x5c7914(0xea)](_0xd0c10a,0x1),_0xd0c10a--;const _0x9e1477=_0x3c9d9e[_0x5c7914(0xbf)](_0x52aa06=>_0x52aa06[_0x5c7914(0x135)]==_0x32c443);_0x9e1477>-0x1&&_0x3c9d9e[_0x5c7914(0xea)](_0x9e1477,0x1);}}function _0x2f1821(_0x3a0b48){const _0x73efe5=_0x5c7914,_0x311500=_0x3a0b48[_0x73efe5(0xd7)](':');return{'group':_0x311500[0x0],'type':_0x311500[0x1],'subType':_0x311500[_0x73efe5(0xd4)]>=0x5?_0x311500[0x2]:null,'id':_0x311500[_0x73efe5(0xd4)]<0x5?_0x311500[0x2]:_0x311500[0x3],'authorId':_0x311500[_0x73efe5(0xd4)]<0x5?_0x311500[0x3]:_0x311500[0x4],'markerCount':0x6==_0x311500[_0x73efe5(0xd4)]?_0x311500[0x5]:null};}function _0x5547d5(_0x4e8d6b){const _0x3cfae3=_0x5c7914;for(let _0x347fa6=0x0;_0x347fa6<_0x3c9d9e[_0x3cfae3(0xd4)];_0x347fa6++){if(_0x4e8d6b[_0x3cfae3(0xd8)]&&_0x3cfae3(0x1a6)==_0x3c9d9e[_0x347fa6][_0x3cfae3(0x172)])return _0x4e8d6b[_0x3cfae3(0x11f)]=_0x3c9d9e[_0x347fa6],void delete _0x4e8d6b[_0x3cfae3(0xd8)];if(!_0x4e8d6b[_0x3cfae3(0xd8)]&&!_0x4e8d6b[_0x3cfae3(0x187)]&&_0x3cfae3(0xac)==_0x3c9d9e[_0x347fa6][_0x3cfae3(0x172)])return void(_0x4e8d6b[_0x3cfae3(0x108)]=_0x3c9d9e[_0x347fa6]);}}}[_0x31e91d(0x16d)](_0x1b7170,_0x5385bf){const _0xc5bd8=_0x31e91d;let _0x54eb7e=0x0,_0x504e21=!0x1;const _0x1805f1=new Map();for(const _0x2fd600 of _0x1b7170)_0x2fd600[_0x5385bf]?_0x504e21&&(_0x54eb7e++,_0x504e21=!0x1):(_0x54eb7e++,_0x504e21=!0x0),_0x1805f1[_0xc5bd8(0x9e)](_0x2fd600['id'],_0x54eb7e);for(let _0x568310=0x0;_0x568310<_0x1b7170[_0xc5bd8(0xd4)];_0x568310++){if(_0xc5bd8(0x187)==_0x5385bf&&_0x1b7170[_0x568310][_0xc5bd8(0xd8)]||_0xc5bd8(0xd8)==_0x5385bf&&_0x1b7170[_0x568310][_0xc5bd8(0x187)])continue;if(_0xc5bd8(0x1c1)==_0x1b7170[_0x568310][_0xc5bd8(0x172)]){_0x1b7170[_0x568310][_0xc5bd8(0xe4)]=0x0;continue;}const _0x947d92=_0x1805f1[_0xc5bd8(0x13c)](_0x1b7170[_0x568310][_0xc5bd8(0x1bf)]),_0x392453=_0x1805f1[_0xc5bd8(0x13c)](_0x1b7170[_0x568310]['id']);_0x1b7170[_0x568310][_0xc5bd8(0xe4)]=_0x947d92-_0x392453;}}[_0x31e91d(0xe6)](_0x46f25b,_0x58b709,_0x1e7655=!0x1){const _0x8560d1=_0x31e91d,_0x5f392f=[];let _0x1ffe43=this[_0x8560d1(0x1cb)][_0x8560d1(0xaa)](_0x46f25b),_0x66aabb=this[_0x8560d1(0x1cb)][_0x8560d1(0xaa)](_0x58b709);for(-0x1==_0x66aabb&&(_0x66aabb=this[_0x8560d1(0x1cb)][_0x8560d1(0x132)][_0x8560d1(0xd4)],_0x1e7655=!0x1);_0x1ffe43<_0x66aabb;)_0x5f392f[_0x8560d1(0x9c)](this[_0x8560d1(0x1cb)][_0x8560d1(0x153)](_0x1ffe43)),_0x1ffe43++;return _0x1e7655&&_0x5f392f[_0x8560d1(0x9c)](this[_0x8560d1(0x1cb)][_0x8560d1(0x153)](_0x1ffe43)),_0x5f392f;}[_0x31e91d(0xcb)](_0x3e095c,_0x137138,_0x48a371,_0x5dc573){const _0x3ecf46=_0x31e91d,_0x3babd7=this[_0x3ecf46(0xaf)][_0x3ecf46(0x1df)][_0x3ecf46(0x12a)];let _0x52ae03=_0x137138;for(;_0x3e095c[_0x52ae03]&&_0x3e095c[_0x52ae03][_0x3ecf46(0xd8)];)_0x52ae03++;let _0x3218bd=_0x5dc573;for(;_0x48a371[_0x3218bd]&&_0x48a371[_0x3218bd][_0x3ecf46(0x187)];)_0x3218bd++;_0x44c314(_0x3e095c,_0x137138,_0x52ae03),_0x44c314(_0x48a371,_0x5dc573,_0x3218bd);const _0x27349c=_0x48a371[_0x3ecf46(0x139)](_0x5dc573,_0x3218bd)[_0x3ecf46(0xed)](_0x3e095c[_0x3ecf46(0x139)](_0x137138,_0x52ae03));return _0x27349c[_0x3ecf46(0x11a)]((_0x273dc6,_0x343933)=>_0x273dc6[_0x3ecf46(0x1d8)]!=_0x343933[_0x3ecf46(0x1d8)]?_0x273dc6[_0x3ecf46(0x1d8)]-_0x343933[_0x3ecf46(0x1d8)]:_0x273dc6[_0x3ecf46(0x1a7)]!=_0x343933[_0x3ecf46(0x1a7)]?_0x273dc6[_0x3ecf46(0x1a7)]-_0x343933[_0x3ecf46(0x1a7)]:_0x273dc6[_0x3ecf46(0xe4)]!=_0x343933[_0x3ecf46(0xe4)]?_0x343933[_0x3ecf46(0xe4)]-_0x273dc6[_0x3ecf46(0xe4)]:!!_0x273dc6[_0x3ecf46(0xd8)]!=!!_0x343933[_0x3ecf46(0xd8)]?-0x1==_0x273dc6[_0x3ecf46(0x1d8)]||0x0==_0x273dc6[_0x3ecf46(0x1d8)]?_0x273dc6[_0x3ecf46(0xd8)]?-0x1:0x1:_0x273dc6[_0x3ecf46(0xd8)]?0x1:-0x1:_0x273dc6[_0x3ecf46(0xc1)]-_0x343933[_0x3ecf46(0xc1)]),{'commonTape':_0x27349c,'iEnd':_0x52ae03,'jEnd':_0x3218bd};function _0x44c314(_0x504648,_0x7bd37b,_0x2e7075){const _0x5cafbd=_0x3ecf46;let _0xc3b5e7=-0x1,_0x58e7b3=Number[_0x5cafbd(0x1b9)],_0x253a90=!0x0;for(let _0x1f1275=_0x7bd37b;_0x1f1275<_0x2e7075;_0x1f1275++)if(_0x3babd7[_0x5cafbd(0xca)](_0x504648[_0x1f1275][_0x5cafbd(0xe0)])||(_0x253a90=!0x1),_0x504648[_0x1f1275][_0x5cafbd(0xe0)][_0x5cafbd(0x192)]<_0x7bd37b&&(_0xc3b5e7=_0x1f1275),_0x504648[_0x1f1275][_0x5cafbd(0xe0)][_0x5cafbd(0x1d4)]>=_0x2e7075){_0x58e7b3=_0x1f1275;break;}_0x253a90&&(_0xc3b5e7=_0x2e7075-0x1);for(let _0x45e027=_0x7bd37b;_0x45e027<_0x2e7075;_0x45e027++)_0x504648[_0x45e027][_0x5cafbd(0x1d8)]=_0x45e027<=_0xc3b5e7?-0x1:_0x45e027<_0x58e7b3?0x0:0x1,_0x504648[_0x45e027][_0x5cafbd(0xc1)]=_0x45e027;let _0x595155=0x0;for(let _0x3a0fce=_0x7bd37b;_0x3a0fce<=_0xc3b5e7;_0x3a0fce++)0x0==_0x504648[_0x3a0fce][_0x5cafbd(0xe4)]?_0x504648[_0x3a0fce][_0x5cafbd(0x1a7)]=_0x595155:(_0x595155++,_0x504648[_0x3a0fce][_0x5cafbd(0x1a7)]=_0x595155,_0x595155++);for(let _0x15223d=_0x7bd37b;_0x15223d<_0x2e7075;_0x15223d++)0x0==_0x504648[_0x15223d][_0x5cafbd(0x1d8)]&&(_0x504648[_0x15223d][_0x5cafbd(0x1a7)]=_0x595155);_0x595155=0x0;for(let _0x5319f8=_0x2e7075-0x1;_0x5319f8>=_0x58e7b3;_0x5319f8--)0x0==_0x504648[_0x5319f8][_0x5cafbd(0xe4)]?_0x504648[_0x5319f8][_0x5cafbd(0x1a7)]=_0x595155:(_0x595155--,_0x504648[_0x5319f8][_0x5cafbd(0x1a7)]=_0x595155,_0x595155--);}}[_0x31e91d(0x1bc)](_0x1a432d){const _0x73609e=_0x31e91d,_0xb2c93a=new Map(),_0x2b8344=this[_0x73609e(0xaf)][_0x73609e(0x1df)][_0x73609e(0x12a)];for(let _0x42a7f4=0x1;_0x42a7f4<_0x1a432d[_0x73609e(0xd4)];_0x42a7f4++){let _0x1f5b1a,_0x4ab95e,_0x1777fb;const _0x3dc883=_0x1a432d[_0x42a7f4],_0xef6f05=_0x1a432d[_0x42a7f4-0x1];if(_0x73609e(0x1c1)==_0x3dc883[_0x73609e(0x172)])continue;if(_0x3dc883[_0x73609e(0x172)]!=_0xef6f05[_0x73609e(0x172)])continue;if(!_0x2b8344[_0x73609e(0x17d)](_0xef6f05[_0x73609e(0xe0)])||_0x2b8344[_0x73609e(0x126)](_0xef6f05[_0x73609e(0xe0)]))continue;if(!_0x2b8344[_0x73609e(0x17d)](_0x3dc883[_0x73609e(0xe0)])||_0x2b8344[_0x73609e(0x126)](_0x3dc883[_0x73609e(0xe0)]))continue;if((_0x1a432d[_0x42a7f4][_0x73609e(0xd8)]||_0x1a432d[_0x42a7f4][_0x73609e(0x11f)])&&_0x1a432d[_0x42a7f4-0x1][_0x73609e(0x187)])_0x1f5b1a=_0x1a432d[_0x42a7f4],_0x4ab95e=_0x1a432d[_0x42a7f4-0x1],_0x1777fb=_0x42a7f4-0x1;else{if(!_0x1a432d[_0x42a7f4][_0x73609e(0x187)]||!_0x1a432d[_0x42a7f4-0x1][_0x73609e(0xd8)]&&!_0x1a432d[_0x42a7f4-0x1][_0x73609e(0x11f)])continue;_0x1f5b1a=_0x1a432d[_0x42a7f4-0x1],_0x4ab95e=_0x1a432d[_0x42a7f4],_0x1777fb=_0x42a7f4;}const _0x3e5dc9=_0x1f5b1a[_0x73609e(0x1a7)]==_0x4ab95e[_0x73609e(0x1a7)],_0x14f0ca=Math[_0x73609e(0x1de)](_0x1f5b1a[_0x73609e(0x1a7)])<Math[_0x73609e(0x1de)](_0x4ab95e[_0x73609e(0x1a7)])&&0x0==_0x4ab95e[_0x73609e(0xe4)];(_0x3e5dc9||_0x14f0ca)&&(_0xb2c93a[_0x73609e(0x9e)](_0x4ab95e['id'],_0x1f5b1a['id']),_0x1a432d[_0x73609e(0xea)](_0x1777fb,0x1),_0x42a7f4--,_0x1f5b1a[_0x73609e(0xd8)]=!0x1);}for(let _0x1c654c=0x0;_0x1c654c<_0x1a432d[_0x73609e(0xd4)];_0x1c654c++)_0xb2c93a[_0x73609e(0x147)](_0x1a432d[_0x1c654c][_0x73609e(0x1bf)])&&(_0x1a432d[_0x1c654c][_0x73609e(0x1bf)]=_0xb2c93a[_0x73609e(0x13c)](_0x1a432d[_0x1c654c][_0x73609e(0x1bf)]));}[_0x31e91d(0x1b7)](_0x40940b){const _0x1ad205=_0x31e91d,_0x5432c4=new Set(_0x40940b[_0x1ad205(0xfb)](_0x3f1053=>_0x3f1053['id']));for(let _0x1a39ac=0x0;_0x1a39ac<_0x40940b[_0x1ad205(0xd4)];_0x1a39ac++)_0x5432c4[_0x1ad205(0x147)](_0x40940b[_0x1a39ac][_0x1ad205(0x1bf)])||0x0==_0x40940b[_0x1a39ac][_0x1ad205(0xe4)]||(_0x40940b[_0x1a39ac][_0x1ad205(0x18e)]=!0x0);return _0x40940b[_0x1ad205(0x122)](_0x10b4db=>!_0x10b4db[_0x1ad205(0x18e)]);}[_0x31e91d(0x1d0)](_0x302cb6){const _0x59bbc7=_0x31e91d,_0x226553=new Set();for(let _0x232f27=0x0;_0x232f27<_0x302cb6[_0x59bbc7(0xd4)];_0x232f27++){if(_0x226553[_0x59bbc7(0x147)](_0x302cb6[_0x232f27]['id'])&&_0x302cb6[_0x232f27][_0x59bbc7(0x187)]&&(_0x302cb6[_0x232f27][_0x59bbc7(0x18e)]=!0x0),_0x302cb6[_0x232f27][_0x59bbc7(0x18e)])continue;if(0x0==_0x302cb6[_0x232f27][_0x59bbc7(0xe4)])continue;if(_0x59bbc7(0x174)!=_0x302cb6[_0x232f27][_0x59bbc7(0x172)])continue;if(null==_0x302cb6[_0x232f27][_0x59bbc7(0x1bf)])continue;let _0x4de6ac=_0x232f27+0x1,_0x116315=0x0;for(;_0x302cb6[_0x4de6ac]['id']!=_0x302cb6[_0x232f27][_0x59bbc7(0x1bf)];)_0x59bbc7(0x174)==_0x302cb6[_0x4de6ac][_0x59bbc7(0x172)]?_0x116315++:_0x59bbc7(0xd9)==_0x302cb6[_0x4de6ac][_0x59bbc7(0x172)]&&_0x116315--,_0x4de6ac++;if(0x0!=_0x116315){if(_0x302cb6[_0x232f27][_0x59bbc7(0x187)])_0x302cb6[_0x232f27][_0x59bbc7(0x18e)]=!0x0;else{for(;_0x4de6ac!=_0x232f27;)_0x302cb6[_0x4de6ac][_0x59bbc7(0x187)]&&0x0!=_0x302cb6[_0x4de6ac][_0x59bbc7(0xe4)]&&(_0x302cb6[_0x4de6ac][_0x59bbc7(0x18e)]=!0x0,_0x226553[_0x59bbc7(0x1da)](_0x302cb6[_0x4de6ac][_0x59bbc7(0x1bf)])),_0x4de6ac--;}}}return _0x302cb6[_0x59bbc7(0x122)](_0x578784=>!_0x578784[_0x59bbc7(0x18e)]);}[_0x31e91d(0x18b)](_0x13c99d){const _0x233108=_0x31e91d,_0x4cd2fd=this[_0x233108(0xaf)][_0x233108(0x1df)][_0x233108(0x12a)];for(let _0x34f9f2=0x0;_0x34f9f2<_0x13c99d[_0x233108(0xd4)];_0x34f9f2++){if(!(_0x13c99d[_0x34f9f2][_0x233108(0xd8)]||_0x13c99d[_0x34f9f2][_0x233108(0x11f)]||_0x13c99d[_0x34f9f2][_0x233108(0x187)]||_0x13c99d[_0x34f9f2][_0x233108(0x108)]))continue;if(0x0==_0x13c99d[_0x34f9f2][_0x233108(0xe4)])continue;const _0x37efbf=_0x13c99d[_0x34f9f2][_0x233108(0xe0)];_0x4cd2fd[_0x233108(0x17d)](_0x37efbf)||_0x4cd2fd[_0x233108(0x126)](_0x37efbf)||(_0x13c99d[_0x34f9f2][_0x233108(0xd8)]&&delete _0x13c99d[_0x34f9f2][_0x233108(0xd8)],_0x13c99d[_0x34f9f2][_0x233108(0x11f)]&&delete _0x13c99d[_0x34f9f2][_0x233108(0x11f)],_0x13c99d[_0x34f9f2][_0x233108(0x108)]&&delete _0x13c99d[_0x34f9f2][_0x233108(0x108)],_0x13c99d[_0x34f9f2][_0x233108(0x187)]&&(_0x13c99d[_0x34f9f2][_0x233108(0x18e)]=!0x0));}return _0x13c99d[_0x233108(0x122)](_0x76f0f4=>!_0x76f0f4[_0x233108(0x18e)]);}[_0x31e91d(0xd3)](_0x3152e0,_0x5f4acb,_0xe8773){const _0x4a24c4=_0x31e91d,_0x336990=new _0x2f5a90(),_0x2e72ad=[],_0x4317ed=new Map(),_0x3c68ec=this[_0x4a24c4(0xaf)][_0x4a24c4(0x1df)],_0x501637=_0x3c68ec[_0x4a24c4(0x12a)],_0x5f496b=[_0x336990],_0x3b4ff1={},_0x49ddc7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3b47cb=null;const _0x131ad0=[0x0];for(let _0x24d937=0x0;_0x24d937<_0x3152e0[_0x4a24c4(0xd4)];_0x24d937++){let _0x57c3e6,_0x3e0970;if(_0x4a24c4(0x174)===_0x3152e0[_0x24d937][_0x4a24c4(0x172)]){_0x57c3e6=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0);const _0x114438=new _0x132ca4(_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x135)],_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x176)]());_0x5f496b[0x0][_0x4a24c4(0x124)](_0x114438),_0x131ad0[_0x4a24c4(0x9c)](0x0),_0x5f496b[_0x4a24c4(0x18d)](_0x114438),_0x3e0970=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x3b47cb=null;}else{if(_0x4a24c4(0xd9)===_0x3152e0[_0x24d937][_0x4a24c4(0x172)])_0x5f496b[_0x4a24c4(0x10c)](),_0x57c3e6=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x131ad0[_0x4a24c4(0x1ac)](),_0x131ad0[_0x131ad0[_0x4a24c4(0xd4)]-0x1]++,_0x3e0970=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x3b47cb=null;else{if(_0x57c3e6=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x3b47cb&&_0x2f72df(_0x3b47cb,_0x3152e0[_0x24d937][_0x4a24c4(0xe0)]))_0x3b47cb[_0x4a24c4(0xb2)]+=_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x199)];else{const _0x34e17b=new _0x3f20ce(_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x199)],_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x176)]());_0x5f496b[0x0][_0x4a24c4(0x124)](_0x34e17b),_0x3b47cb=_0x34e17b;}_0x131ad0[_0x131ad0[_0x4a24c4(0xd4)]-0x1]+=_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x14c)],_0x3e0970=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0);}}for(const _0x2b364b of _0x3152e0[_0x24d937][_0x4a24c4(0x1af)])_0x4317ed[_0x4a24c4(0x9e)](_0x2b364b,{'start':_0x57c3e6,'end':null});_0x216055(_0x4a24c4(0x108),_0x24d937,_0x57c3e6,_0x3e0970),_0x216055(_0x4a24c4(0x11f),_0x24d937,_0x57c3e6,_0x3e0970),_0x216055(_0x4a24c4(0x187),_0x24d937,_0x57c3e6,_0x3e0970),_0x216055(_0x4a24c4(0xd8),_0x24d937,_0x57c3e6,_0x3e0970);for(const _0x528005 of _0x3152e0[_0x24d937][_0x4a24c4(0x1b0)]){_0x4317ed[_0x4a24c4(0x13c)](_0x528005)[_0x4a24c4(0x14e)]=_0x3e0970;}}for(const [_0x5c5fdb,_0x2b2625]of _0x4317ed){const _0x29654b=this[_0x4a24c4(0xaf)][_0x4a24c4(0x1df)][_0x4a24c4(0x143)](_0x2b2625[_0x4a24c4(0x104)],_0x2b2625[_0x4a24c4(0x14e)]);_0x336990[_0x4a24c4(0x1a5)][_0x4a24c4(0x9e)](_0x5c5fdb,_0x29654b);}return _0x2e72ad[_0x4a24c4(0x11a)]((_0x35b1f7,_0x50451e)=>{const _0x4a5775=_0x4a24c4,_0x4b0d95=_0x336990[_0x4a5775(0x1a5)][_0x4a5775(0x13c)](_0x4a5775(0xf1)+_0x35b1f7['id']),_0x5a0357=_0x336990[_0x4a5775(0x1a5)][_0x4a5775(0x13c)](_0x4a5775(0xf1)+_0x50451e['id']);return _0x4b0d95[_0x4a5775(0x104)][_0x4a5775(0xa1)](_0x5a0357[_0x4a5775(0x104)])?-0x1:_0x4b0d95[_0x4a5775(0x104)][_0x4a5775(0x10f)](_0x5a0357[_0x4a5775(0x104)])?0x1:_0x4b0d95[_0x4a5775(0x14e)][_0x4a5775(0xa1)](_0x5a0357[_0x4a5775(0x14e)])?-0x1:_0x4b0d95[_0x4a5775(0x14e)][_0x4a5775(0x10f)](_0x5a0357[_0x4a5775(0x14e)])?0x1:_0x4a5775(0x1da)===_0x35b1f7[_0x4a5775(0x172)]?-0x1:0x1;}),{'root':_0x336990,'changes':_0x2e72ad};function _0x216055(_0x178062,_0xb9d313,_0x56fb90,_0x4d53f6){const _0x1ba015=_0x4a24c4,_0x154df6=!!_0x3152e0[_0xb9d313][_0x178062],_0x58c91b=_0x154df6?_0x3152e0[_0xb9d313][_0x178062][_0x1ba015(0x167)]:null,_0x586733=_0xb9d313===_0x3152e0[_0x1ba015(0xd4)]-0x1,_0x19ff64=_0x49ddc7[_0x178062][0x0],_0x1e8e7e=_0x501637[_0x1ba015(0xb4)](_0x3152e0[_0xb9d313][_0x1ba015(0xe0)]);!_0x3b4ff1[_0x178062]&&_0x154df6?_0x3b4ff1[_0x178062]={'start':_0x56fb90,'tapeItem':_0x3152e0[_0xb9d313],'userId':_0x58c91b,'type':_0x178062}:_0x3b4ff1[_0x178062]&&!_0x154df6?(_0x3b4ff1[_0x178062][_0x1ba015(0x14e)]=_0x56fb90,_0x4a7ded(_0x3b4ff1[_0x178062]),_0x3b4ff1[_0x178062]=null):_0x3b4ff1[_0x178062]&&_0x154df6&&_0x3b4ff1[_0x178062][_0x1ba015(0x167)]!==_0x58c91b&&(_0x3b4ff1[_0x178062][_0x1ba015(0x14e)]=_0x56fb90,_0x19ff64&&_0x19ff64[_0x1ba015(0x167)]===_0x3b4ff1[_0x178062][_0x1ba015(0x167)]||_0x4a7ded(_0x3b4ff1[_0x178062]),_0x3b4ff1[_0x178062]={'start':_0x56fb90,'tapeItem':_0x3152e0[_0xb9d313],'userId':_0x58c91b,'type':_0x178062}),_0x3b4ff1[_0x178062]&&_0x1e8e7e&&(_0x1ba015(0x174)!==_0x3152e0[_0xb9d313][_0x1ba015(0x172)]||_0x19ff64&&_0x19ff64[_0x1ba015(0x167)]===_0x58c91b||_0x49ddc7[_0x178062][_0x1ba015(0x18d)]({'userId':_0x58c91b,'object':_0x3152e0[_0xb9d313][_0x1ba015(0xe0)],'change':_0x3b4ff1[_0x178062]}),_0x1ba015(0xd9)===_0x3152e0[_0xb9d313][_0x1ba015(0x172)]&&_0x19ff64&&_0x19ff64[_0x1ba015(0xcc)]===_0x3152e0[_0xb9d313][_0x1ba015(0xe0)]&&(_0x49ddc7[_0x178062][_0x1ba015(0x10c)](),_0x3b4ff1[_0x178062]=_0x19ff64[_0x1ba015(0x1e3)])),_0x3b4ff1[_0x178062]&&_0x586733&&(_0x3b4ff1[_0x178062][_0x1ba015(0x14e)]=_0x4d53f6,_0x4a7ded(_0x3b4ff1[_0x178062]),_0x3b4ff1[_0x178062]=null);}function _0x4a7ded({start:_0x592829,end:_0x1e76a7,tapeItem:_0x125b90,userId:_0x20efa0,type:_0x2f8545}){const _0xf97e1f=_0x4a24c4,_0x3beb0d=_0x125b90[_0xf97e1f(0xe0)],_0x20a4b5=_0x3c68ec[_0xf97e1f(0x12a)][_0xf97e1f(0x17d)](_0x3beb0d)&&!_0x3c68ec[_0xf97e1f(0x12a)][_0xf97e1f(0x126)](_0x3beb0d),_0x299256=_0x592829[_0xf97e1f(0x1d6)]==_0x1e76a7[_0xf97e1f(0x183)]&&_0x1e76a7[_0xf97e1f(0x17f)];if(_0x20a4b5&&_0x299256)return;const _0x4993c6=_0x3c68ec[_0xf97e1f(0x143)](_0x592829,_0x1e76a7),_0x371106=_0x5f4acb[_0xf97e1f(0x13c)](_0x20efa0),_0x46f604=new _0x268d2b({'author':_0x371106,'type':_0xf97e1f(0xd8)==_0x2f8545||_0xf97e1f(0x11f)==_0x2f8545?_0xf97e1f(0x1da):_0xf97e1f(0x169),'data':{'isSuggestion':_0xf97e1f(0x11f)==_0x2f8545||_0xf97e1f(0x108)==_0x2f8545},'createdAt':new Date(),'rootName':_0xe8773});_0x2e72ad[_0xf97e1f(0x9c)](_0x46f604),_0x336990[_0xf97e1f(0x1a5)][_0xf97e1f(0x9e)](_0xf97e1f(0xf1)+_0x46f604['id'],_0x4993c6);}function _0x2f72df(_0x1a238f,_0x48c124){const _0x4c16e4=_0x4a24c4,_0x4c35d1=_0x1a238f[_0x4c16e4(0x176)](),_0x3c7797=_0x48c124[_0x4c16e4(0x176)]();for(const _0x4b05a8 of _0x4c35d1){if(_0x4b05a8[0x1]!==_0x48c124[_0x4c16e4(0x188)](_0x4b05a8[0x0]))return!0x1;_0x3c7797[_0x4c16e4(0xf6)]();}return _0x3c7797[_0x4c16e4(0xf6)]()[_0x4c16e4(0x12b)];}}[_0x31e91d(0x19e)](){const _0x14c48a=_0x31e91d;this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1d9)]({'view':_0x14c48a(0xbb)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xab))[_0x14c48a(0x141)]({'model':_0x14c48a(0xbb),'view':_0x430fb6=>{const _0x3c84a6=_0x14c48a,_0x526b77=_0x430fb6[_0x3c84a6(0x15c)][_0x3c84a6(0xd7)](':')[0x1],_0x158081=this[_0x3c84a6(0xa7)](_0x526b77);if(!_0x158081)return null;const _0x84f0ad=_0x3c84a6(0x1da)==_0x158081[_0x3c84a6(0x172)]?_0x3c84a6(0x1a6):_0x3c84a6(0xac),_0x55c030=[_0x3c84a6(0xf0),_0x3c84a6(0x193)+_0x84f0ad];return _0x158081[_0x3c84a6(0x199)][_0x3c84a6(0x179)]&&_0x55c030[_0x3c84a6(0x9c)](_0x3c84a6(0x193)+_0x84f0ad+_0x3c84a6(0x1a9)),this[_0x3c84a6(0x1ab)]==_0x158081&&_0x55c030[_0x3c84a6(0x9c)](_0x3c84a6(0xe3)),{'classes':_0x55c030,'attributes':{'data-change-id':_0x526b77}};}}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1da)](_0x382ed3=>{const _0x1350ae=_0x14c48a;_0x382ed3['on'](_0x1350ae(0x103),(_0x3e4480,_0x502bcb,_0x286b32)=>{const _0x2a1e95=_0x1350ae,_0x2a5ab3=_0x502bcb[_0x2a1e95(0x163)][_0x2a1e95(0x112)](0x0);if(!_0x2a5ab3||!_0x2a5ab3['is'](_0x2a1e95(0xce),_0x2a1e95(0x136)))return;if(!_0x286b32[_0x2a1e95(0x1ca)][_0x2a1e95(0x152)](_0x2a5ab3,{'attributes':[_0x2a1e95(0x1c5),_0x2a1e95(0x101)]}))return;const _0x5b4151=_0x502bcb[_0x2a1e95(0xa5)][_0x2a1e95(0x104)][_0x2a1e95(0x1d6)];_0x286b32[_0x2a1e95(0x148)][_0x2a1e95(0x189)](_0x2a1e95(0x1c5),_0x2a5ab3[_0x2a1e95(0x188)](_0x2a1e95(0x1c5)),_0x5b4151),_0x286b32[_0x2a1e95(0x148)][_0x2a1e95(0x189)](_0x2a1e95(0x101),_0x2a5ab3[_0x2a1e95(0x188)](_0x2a1e95(0x101)),_0x5b4151);},{'priority':_0x1350ae(0x149)});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1da)](_0x258739=>{const _0xe676cd=_0x14c48a;_0x258739['on'](_0xe676cd(0xce),(_0xe98fd9,_0x5ddcf0,_0x570f9e)=>{const _0x152ffa=_0xe676cd;if(!_0x570f9e[_0x152ffa(0x1ca)][_0x152ffa(0x152)](_0x5ddcf0[_0x152ffa(0x163)],{'attributes':[_0x152ffa(0x1c5),_0x152ffa(0x101)]}))return;if(_0x5ddcf0[_0x152ffa(0xa5)][_0x152ffa(0x1c3)])return;const _0x4f7602=_0x5ddcf0[_0x152ffa(0xa5)][_0x152ffa(0x104)][_0x152ffa(0x1d6)];_0x4f7602[_0x152ffa(0x97)](_0x152ffa(0x1c5))||_0x4f7602[_0x152ffa(0x97)](_0x152ffa(0x113))||(_0x570f9e[_0x152ffa(0x148)][_0x152ffa(0x189)](_0x152ffa(0x1c5),_0x5ddcf0[_0x152ffa(0x163)][_0x152ffa(0x188)](_0x152ffa(0x1c5)),_0x4f7602),_0x570f9e[_0x152ffa(0x148)][_0x152ffa(0x189)](_0x152ffa(0x101),_0x5ddcf0[_0x152ffa(0x163)][_0x152ffa(0x188)](_0x152ffa(0x101)),_0x4f7602));},{'priority':_0xe676cd(0x149)});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x121)]({'view':{'name':_0x14c48a(0x16e),'attributes':{'vid':!0x0}},'model':{'key':_0x14c48a(0x113),'value':_0x3492d5=>_0x3492d5[_0x14c48a(0x188)](_0x14c48a(0x113))}}),this[_0x14c48a(0xaf)][_0x14c48a(0x1df)][_0x14c48a(0x12a)]['on'](_0x14c48a(0xe2),(_0x3634d4,[,_0x33a6f8])=>{const _0xd6695d=_0x14c48a;[_0xd6695d(0x1c5),_0xd6695d(0x101),_0xd6695d(0x113)][_0xd6695d(0x1b4)](_0x33a6f8)&&(_0x3634d4[_0xd6695d(0xc3)]=!0x0,_0x3634d4[_0xd6695d(0x1a0)]());},{'priority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xe7))[_0x14c48a(0x1da)](_0x131730=>{const _0x17e670=_0x14c48a;_0x131730['on'](_0x17e670(0x1d3),(_0x5d7381,_0x586203,_0x484115)=>{const _0x2d1ff7=_0x17e670;if('\x20'!=_0x586203[_0x2d1ff7(0xe0)][_0x2d1ff7(0x199)]||_0x586203[_0x2d1ff7(0xe0)][_0x2d1ff7(0x183)][_0x2d1ff7(0xbc)]>0x1)return;if(!_0x484115[_0x2d1ff7(0x1ca)][_0x2d1ff7(0x152)](_0x586203[_0x2d1ff7(0xe0)],_0x5d7381[_0x2d1ff7(0x135)]))return;const _0x39d00a=_0x484115[_0x2d1ff7(0x148)],_0x4e1950=_0x484115[_0x2d1ff7(0x130)][_0x2d1ff7(0xda)](_0x586203[_0x2d1ff7(0x17b)]);_0x39d00a[_0x2d1ff7(0xe5)](_0x4e1950,_0x39d00a[_0x2d1ff7(0xde)](_0x2d1ff7(0x16e)));});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xe7))[_0x14c48a(0x129)]({'model':_0x14c48a(0xbb)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x17e),function(_0x3d0b49){const _0x42be31=_0x14c48a,_0x24fe61=_0x3d0b49[_0x42be31(0x19b)][_0x42be31(0x13c)](_0x42be31(0x18f));return(_0x2d96ba,_0x55f8dc,_0x99a5b4)=>{const _0x2d8144=_0x42be31,_0x2297ca=_0x55f8dc[_0x2d8144(0x15c)][_0x2d8144(0xd7)](':')[0x1],_0x29ba05=_0x24fe61[_0x2d8144(0xa7)](_0x2297ca);if(!_0x29ba05)return null;const _0x23e6c8=_0x2d8144(0x1da)==_0x29ba05[_0x2d8144(0x172)]?_0x2d8144(0xd7):_0x2d8144(0xeb);if(!_0x99a5b4[_0x2d8144(0x1ca)][_0x2d8144(0x110)](_0x55f8dc[_0x2d8144(0xb6)],_0x2d96ba[_0x2d8144(0x135)]))return;const _0x358b9c=_0x55f8dc[_0x2d8144(0xb6)][_0x2d8144(0x123)](),_0x6cc73d=_0x55f8dc[_0x2d8144(0xb6)][_0x2d8144(0x104)],_0x77972d=_0x3d0b49[_0x2d8144(0x1df)][_0x2d8144(0x12a)];let _0x418458=null,_0x115612=null,_0x4dc524=!0x1,_0x3ec3b7=!0x1;for(const _0x5cb72f of _0x358b9c){const _0x3256e5=_0x5cb72f[_0x2d8144(0xe0)];_0x4dc524=_0x4dc524||_0x77972d[_0x2d8144(0xa9)](_0x3256e5);const _0x32abea=_0x99a5b4[_0x2d8144(0x130)][_0x2d8144(0x159)](_0x3256e5);if(_0x32abea&&_0x32abea[_0x2d8144(0x150)](_0x2d8144(0xbd)))return;_0x2d8144(0xd9)==_0x5cb72f[_0x2d8144(0x172)]&&(_0x77972d[_0x2d8144(0x17d)](_0x3256e5)&&!_0x77972d[_0x2d8144(0x126)](_0x3256e5)&&(_0x3256e5[_0x2d8144(0x1a8)]||_0x6cc73d[_0x2d8144(0xad)]?_0x418458&&_0x418458[_0x2d8144(0x183)]==_0x3256e5||(_0x418458=_0x3256e5,_0x2648f1(_0x5cb72f[_0x2d8144(0x10b)]),_0x3ec3b7=!0x0):_0x115612=_0x115612||_0x5cb72f[_0x2d8144(0x10b)]));}function _0x2648f1(_0x312173){const _0xe48063=_0x2d8144,_0x51c100=_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x161)](_0xe48063(0x16e),{'class':_0xe48063(0x193)+_0x23e6c8}),_0x134094=_0x99a5b4[_0xe48063(0x130)][_0xe48063(0xa0)](_0x312173);_0x29ba05[_0xe48063(0x199)][_0xe48063(0x179)]&&_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x162)](_0xe48063(0x193)+_0x23e6c8+_0xe48063(0x1a9),_0x51c100),_0x24fe61[_0xe48063(0x1ab)]==_0x29ba05&&_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x162)](_0xe48063(0xe3),_0x51c100),_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x1b8)](_0x134094,_0x51c100),_0x99a5b4[_0xe48063(0x130)][_0xe48063(0x15e)](_0x51c100,_0x55f8dc[_0xe48063(0x15c)]);}_0x4dc524||_0x3ec3b7||!_0x115612||_0x2648f1(_0x115612);};}(this[_0x14c48a(0xaf)]),{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x1ce),(_0x2de691,_0x3afcdd,_0x1c93ba)=>{const _0x515f63=_0x14c48a,_0x1affff=_0x1c93ba[_0x515f63(0x130)][_0x515f63(0xee)](_0x3afcdd[_0x515f63(0x15c)]);if(_0x1affff){for(const _0x54319b of _0x1affff)(_0x54319b[_0x515f63(0x10d)](_0x515f63(0x140))||_0x54319b[_0x515f63(0x10d)](_0x515f63(0x17c)))&&(_0x1c93ba[_0x515f63(0x130)][_0x515f63(0x14d)](_0x54319b,_0x3afcdd[_0x515f63(0x15c)]),_0x1c93ba[_0x515f63(0x148)][_0x515f63(0x169)](_0x54319b));}},{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x17e),(_0x547773,_0x4dacad,_0x512e49)=>{const _0x5cc903=_0x14c48a,_0x48122c=_0x4dacad[_0x5cc903(0x15c)][_0x5cc903(0xd7)](':')[0x1],_0x2f13ed=this[_0x5cc903(0xa7)](_0x48122c);if(!_0x2f13ed)return null;const _0xbd66fa=_0x5cc903(0x1da)==_0x2f13ed[_0x5cc903(0x172)]?_0x5cc903(0xd7):_0x5cc903(0xeb);if(_0x512e49[_0x5cc903(0x1ca)][_0x5cc903(0x110)](_0x4dacad[_0x5cc903(0xb6)],_0x547773[_0x5cc903(0x135)]))for(const _0x3d8c63 of _0x4dacad[_0x5cc903(0xb6)][_0x5cc903(0x17a)]()){if(!_0x3d8c63['is'](_0x5cc903(0xce),_0x5cc903(0x10a)))continue;const _0x39c145=_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x161)](_0x5cc903(0x16e),{'class':_0x5cc903(0x193)+_0xbd66fa}),_0x2ee36a=_0x512e49[_0x5cc903(0x130)][_0x5cc903(0xa0)](this[_0x5cc903(0xaf)][_0x5cc903(0x1df)][_0x5cc903(0x16c)](_0x3d8c63));_0x2f13ed[_0x5cc903(0x199)][_0x5cc903(0x179)]&&_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x162)](_0x5cc903(0x193)+_0xbd66fa+_0x5cc903(0x1a9),_0x39c145),this[_0x5cc903(0x1ab)]==_0x2f13ed&&_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x162)](_0x5cc903(0xe3),_0x39c145),_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x1b8)](_0x2ee36a,_0x39c145),_0x512e49[_0x5cc903(0x130)][_0x5cc903(0x15e)](_0x39c145,_0x4dacad[_0x5cc903(0x15c)]);}},{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1df)][_0x14c48a(0xdd)]['on'](_0x14c48a(0x1e3),()=>{const _0x387adf=_0x14c48a;this[_0x387adf(0xaf)][_0x387adf(0x115)][_0x387adf(0xd2)][_0x387adf(0x1e3)](_0x3b7375=>{const _0x14c68f=_0x387adf;for(const _0x42281c of this[_0x14c68f(0xaf)][_0x14c68f(0x1df)][_0x14c68f(0xdd)][_0x14c68f(0x177)]()){const _0x449483=this[_0x14c68f(0xaf)][_0x14c68f(0x1df)][_0x14c68f(0xdd)][_0x14c68f(0x138)](_0x42281c),_0x1a9471=this[_0x14c68f(0xaf)][_0x14c68f(0x115)][_0x14c68f(0xd2)][_0x14c68f(0xdd)][_0x14c68f(0x138)](_0x42281c);if(_0x1a9471){const _0x41bd3d=_0x449483[_0x14c68f(0x188)](_0x14c68f(0x178));if(_0x3b7375[_0x14c68f(0x194)](_0x14c68f(0x10e),_0x1a9471),_0x3b7375[_0x14c68f(0xc6)](_0x14c68f(0x109),_0x1a9471),_0x3b7375[_0x14c68f(0xc6)](_0x14c68f(0x1db),_0x1a9471),_0x3b7375[_0x14c68f(0xc6)](_0x14c68f(0x1b5),_0x1a9471),_0x41bd3d){const _0x3786b1=this[_0x14c68f(0xa7)](_0x41bd3d);if(!_0x3786b1)return null;_0x3b7375[_0x14c68f(0x189)](_0x14c68f(0x10e),_0x41bd3d,_0x1a9471),_0x3b7375[_0x14c68f(0x162)](_0x14c68f(0x15b)+_0x3786b1[_0x14c68f(0x172)],_0x1a9471),this[_0x14c68f(0x1ab)]==_0x3786b1&&_0x3b7375[_0x14c68f(0x162)](_0x14c68f(0x1b5),_0x1a9471);}}}});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1d9)]({'view':_0x14c48a(0xfc),'model':_0x2eb82e=>_0x14c48a(0x111)+_0x2eb82e,'converterPriority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1d9)]({'view':_0x14c48a(0xf9),'model':_0x573e32=>_0x14c48a(0xa6)+_0x573e32,'converterPriority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xe7))[_0x14c48a(0x129)]({'model':_0x14c48a(0x9a),'view':_0x17be29=>({'name':_0x14c48a(0x1e4)+_0x17be29,'group':_0x14c48a(0x9a)}),'converterPriority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xab))[_0x14c48a(0x141)]({'model':_0x14c48a(0x9a),'view':_0x4b7c7d=>{const _0x5bba87=_0x14c48a,_0x2a8c66=_0x4b7c7d[_0x5bba87(0x15c)][_0x5bba87(0xd7)](':')[0x1];return _0x5bba87(0x1a6)!=_0x2a8c66&&_0x5bba87(0xac)!=_0x2a8c66?null:{'classes':[_0x5bba87(0x195),_0x5bba87(0x1c6)+_0x2a8c66]};}}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x100),et(this[_0x14c48a(0xaf)],_0x14c48a(0xeb)),{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x1d5),et(this[_0x14c48a(0xaf)],_0x14c48a(0xd7)),{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x181),(_0x396c9e,_0x4a10d4,_0x35fe02)=>{const _0x4d548a=_0x14c48a,_0x1cee18=_0x35fe02[_0x4d548a(0x130)][_0x4d548a(0xee)](_0x4a10d4[_0x4d548a(0x15c)]);if(_0x1cee18){for(const _0x5ba990 of _0x1cee18)_0x5ba990['is'](_0x4d548a(0xf5))&&(_0x35fe02[_0x4d548a(0x130)][_0x4d548a(0x14d)](_0x5ba990,_0x4a10d4[_0x4d548a(0x15c)]),_0x35fe02[_0x4d548a(0x148)][_0x4d548a(0x169)](_0x5ba990));}},{'priority':_0x14c48a(0x1ae)});}[_0x31e91d(0xa7)](_0x2771a7){const _0x31f952=_0x31e91d;return this[_0x31f952(0xf4)][_0x31f952(0x13c)](_0x2771a7);}[_0x31e91d(0x15f)](_0x561e54){const _0x39b54e=_0x31e91d;return this[_0x39b54e(0x1c7)]&&this[_0x39b54e(0x1c7)][_0x39b54e(0x11c)](),this[_0x39b54e(0x1c7)]=new _0x6896da(this[_0x39b54e(0xaf)][_0x39b54e(0x12e)],_0x561e54),this[_0x39b54e(0x1c7)];}[_0x31e91d(0xa3)](){const _0x1ea851=_0x31e91d;this[_0x1ea851(0xaf)][_0x1ea851(0x1df)][_0x1ea851(0xdd)][_0x1ea851(0xfd)][_0x1ea851(0xf3)](_0x1ea851(0xbb)),this['on'](_0x1ea851(0x1ba),(_0x842e81,_0x236547,_0x103caf,_0x160b30)=>{const _0x1da6ce=_0x1ea851;_0x160b30&&this[_0x1da6ce(0xba)][_0x1da6ce(0x169)](_0x160b30),_0x103caf&&(this[_0x1da6ce(0xba)][_0x1da6ce(0x1da)]({'view':_0x103caf,'stackId':_0x1da6ce(0x19c),'position':{'target':()=>{const _0x5c89f2=_0x1da6ce,_0x278640=this[_0x5c89f2(0xaf)][_0x5c89f2(0x115)],_0x3576e3=this[_0x5c89f2(0xa7)](_0x103caf[_0x5c89f2(0xb8)]);let _0x5bd03c;if(_0x3576e3[_0x5c89f2(0x199)][_0x5c89f2(0x142)]){const _0x55bced=_0x278640[_0x5c89f2(0xd2)][_0x5c89f2(0x99)](_0x3576e3[_0x5c89f2(0x197)]);_0x5bd03c=Array[_0x5c89f2(0x1c9)](_0x55bced[_0x5c89f2(0xcd)]());}else{const _0x3961ed=this[_0x5c89f2(0xaf)][_0x5c89f2(0x1df)][_0x5c89f2(0x1a5)][_0x5c89f2(0x13c)](_0x5c89f2(0xf1)+_0x103caf[_0x5c89f2(0xb8)]);_0x5bd03c=Array[_0x5c89f2(0x1c9)](_0x278640[_0x5c89f2(0x130)][_0x5c89f2(0xee)](_0x3961ed[_0x5c89f2(0x135)]))[_0x5c89f2(0xfb)](_0x3e27de=>_0x278640[_0x5c89f2(0xd2)][_0x5c89f2(0xb5)][_0x5c89f2(0x1e2)](_0x3e27de))[_0x5c89f2(0xfb)](_0x3240a8=>Array[_0x5c89f2(0x1c9)](_0x3240a8[_0x5c89f2(0xcd)]()))[_0x5c89f2(0xc0)]();}if(!this[_0x5c89f2(0xdc)])return _0x5bd03c[0x0];return _0x5bd03c[_0x5c89f2(0x18c)](_0x5738ab=>_0x5738ab[_0x5c89f2(0xf2)]-0x3<=this[_0x5c89f2(0xdc)]['y']&&_0x5738ab[_0x5c89f2(0x9d)]+0x3>=this[_0x5c89f2(0xdc)]['y']&&_0x5738ab[_0x5c89f2(0x13a)]-0x3<=this[_0x5c89f2(0xdc)]['x']&&_0x5738ab[_0x5c89f2(0xae)]+0x3>=this[_0x5c89f2(0xdc)]['x'])||_0x5bd03c[0x0];}}}),this[_0x1da6ce(0xba)][_0x1da6ce(0x14a)](_0x1da6ce(0x19c)));}),this['on'](_0x1ea851(0xb3),(_0xb80236,_0x3e462f,_0x5ca3a3,_0x392aba)=>{const _0x4f1109=_0x1ea851;this[_0x4f1109(0x165)]=_0x5ca3a3?this[_0x4f1109(0x15f)](_0x5ca3a3):null,this[_0x4f1109(0xaf)][_0x4f1109(0x1df)][_0x4f1109(0x1e3)](()=>{const _0x3ee215=_0x4f1109,_0x1f1abd=this[_0x3ee215(0xaf)][_0x3ee215(0x115)];_0x392aba&&(_0x392aba[_0x3ee215(0x199)][_0x3ee215(0x142)]?_0x1f1abd[_0x3ee215(0xd2)][_0x3ee215(0x1e3)](_0x402625=>{const _0x5da61b=_0x3ee215;_0x402625[_0x5da61b(0xc6)](_0x5da61b(0x1b5),_0x1f1abd[_0x5da61b(0xd2)][_0x5da61b(0xdd)][_0x5da61b(0x138)](_0x392aba[_0x5da61b(0x197)]));}):_0x1f1abd[_0x3ee215(0x13b)](_0x3ee215(0xf1)+_0x392aba['id'])),_0x5ca3a3&&(_0x5ca3a3[_0x3ee215(0x199)][_0x3ee215(0x142)]?_0x1f1abd[_0x3ee215(0xd2)][_0x3ee215(0x1e3)](_0x49ea33=>{const _0x44d89b=_0x3ee215;_0x49ea33[_0x44d89b(0x162)](_0x44d89b(0x1b5),_0x1f1abd[_0x44d89b(0xd2)][_0x44d89b(0xdd)][_0x44d89b(0x138)](_0x5ca3a3[_0x44d89b(0x197)]));}):_0x1f1abd[_0x3ee215(0x13b)](_0x3ee215(0xf1)+_0x5ca3a3['id']));});}),this[_0x1ea851(0x128)](this[_0x1ea851(0xaf)][_0x1ea851(0x115)][_0x1ea851(0xd2)][_0x1ea851(0xdd)],_0x1ea851(0x190),(_0xc68f3f,_0x435de7)=>{const _0x1882ff=_0x1ea851;if(this[_0x1882ff(0x1ab)])return;const _0x539250=this[_0x1882ff(0xfe)](_0x435de7[_0x1882ff(0x160)]),_0x2c8a4d=this[_0x1882ff(0xf4)][_0x1882ff(0x13c)](_0x539250);_0x2c8a4d?(this[_0x1882ff(0xdc)]={'x':_0x435de7[_0x1882ff(0x198)]['x'],'y':_0x435de7[_0x1882ff(0x198)]['y']},this[_0x1882ff(0x165)]=this[_0x1882ff(0x15f)](_0x2c8a4d)):(this[_0x1882ff(0xdc)]=null,this[_0x1882ff(0x165)]=null);}),this[_0x1ea851(0x128)](this[_0x1ea851(0xaf)][_0x1ea851(0x115)][_0x1ea851(0xd2)][_0x1ea851(0xdd)],_0x1ea851(0x1bb),(_0x5a8da9,_0x36cde4)=>{const _0x3e9d19=_0x1ea851,_0x393785=this[_0x3e9d19(0xfe)](_0x36cde4[_0x3e9d19(0x160)]),_0x24a8d9=this[_0x3e9d19(0xf4)][_0x3e9d19(0x13c)](_0x393785);_0x24a8d9?(this[_0x3e9d19(0xdc)]={'x':_0x36cde4[_0x3e9d19(0x198)]['x'],'y':_0x36cde4[_0x3e9d19(0x198)]['y']},_0x24a8d9===this[_0x3e9d19(0x1ab)]?this[_0x3e9d19(0xba)][_0x3e9d19(0x144)]():this[_0x3e9d19(0x1ab)]=_0x24a8d9):(this[_0x3e9d19(0xdc)]=null,this[_0x3e9d19(0x1ab)]=null);});}[_0x31e91d(0xfe)](_0x449037){const _0x37fc44=_0x31e91d;do{const _0x47e6fb=_0x449037[_0x37fc44(0x188)](_0x37fc44(0x10e));if(_0x47e6fb)return _0x47e6fb;_0x449037=_0x449037[_0x37fc44(0x183)];}while(_0x449037);return null;}[_0x31e91d(0x107)](){const _0x5d0808=_0x31e91d;this[_0x5d0808(0xaf)][_0x5d0808(0x1df)][_0x5d0808(0x1e3)](_0x26ab71=>{const _0x1d5932=_0x5d0808;for(const _0x48c660 of this[_0x1d5932(0xaf)][_0x1d5932(0x1df)][_0x1d5932(0x1a5)])_0x26ab71[_0x1d5932(0xdb)](_0x48c660);});}}function et(_0xe41101,_0x26e69d){return(_0x2381e3,_0x48137d,_0x225a73)=>{const _0x52e577=_0x5a64;if(!_0x225a73[_0x52e577(0x1ca)][_0x52e577(0x110)](_0x48137d[_0x52e577(0xb6)],_0x2381e3[_0x52e577(0x135)]))return;const _0x2a8257=_0x48137d[_0x52e577(0xb6)][_0x52e577(0x123)](),_0x5b7ac7=_0x48137d[_0x52e577(0xb6)][_0x52e577(0x104)],_0x28f207=_0xe41101[_0x52e577(0x1df)][_0x52e577(0x12a)];let _0x975f85=null,_0x5aea90=null,_0x39ac8e=!0x1,_0x5698bf=!0x1;for(const _0x4badcb of _0x2a8257){const _0x3e3eec=_0x4badcb[_0x52e577(0xe0)];_0x39ac8e=_0x39ac8e||_0x28f207[_0x52e577(0xa9)](_0x3e3eec);const _0x40192d=_0x225a73[_0x52e577(0x130)][_0x52e577(0x159)](_0x3e3eec);if(_0x40192d&&_0x40192d[_0x52e577(0x150)](_0x52e577(0xbd)))return;_0x52e577(0xd9)==_0x4badcb[_0x52e577(0x172)]&&(_0x28f207[_0x52e577(0x17d)](_0x3e3eec)&&!_0x28f207[_0x52e577(0x126)](_0x3e3eec)&&(_0x3e3eec[_0x52e577(0x1a8)]||_0x5b7ac7[_0x52e577(0xad)]?_0x975f85&&_0x975f85[_0x52e577(0x183)]==_0x3e3eec||(_0x975f85=_0x3e3eec,_0x2314ea(_0x4badcb[_0x52e577(0x10b)]),_0x5698bf=!0x0):_0x5aea90=_0x5aea90||_0x4badcb[_0x52e577(0x10b)]));}function _0x2314ea(_0x22dd3d){const _0x22d6de=_0x52e577,_0x5aaee8=_0x225a73[_0x22d6de(0x130)][_0x22d6de(0xa0)](_0x22dd3d),_0x34e025=_0x225a73[_0x22d6de(0x148)][_0x22d6de(0x161)](_0x22d6de(0x16e),{'class':_0x22d6de(0x1c6)+_0x26e69d});_0x225a73[_0x22d6de(0x148)][_0x22d6de(0x1b8)](_0x5aaee8,_0x34e025),_0x225a73[_0x22d6de(0x130)][_0x22d6de(0x15e)](_0x34e025,_0x48137d[_0x22d6de(0x15c)]);}_0x39ac8e||_0x5698bf||!_0x5aea90||_0x2314ea(_0x5aea90);};}export class RestoreRevisionCommand extends _0x7735e4{constructor(_0x1cc0e5){const _0x5ddc2f=_0x31e91d;super(_0x1cc0e5);const _0x26aaf4=_0x1cc0e5[_0x5ddc2f(0x19b)][_0x5ddc2f(0x13c)](d);this[_0x5ddc2f(0xc8)]=!0x1,this[_0x5ddc2f(0x128)](_0x26aaf4,_0x5ddc2f(0x131),()=>this[_0x5ddc2f(0x184)]()),this[_0x5ddc2f(0x128)](_0x26aaf4,_0x5ddc2f(0xd0),()=>this[_0x5ddc2f(0x184)]());}[_0x31e91d(0x185)](){const _0x3930a3=_0x31e91d,_0x2f2049=this[_0x3930a3(0xaf)],_0x50d24d=_0x2f2049[_0x3930a3(0x19b)][_0x3930a3(0x13c)](d),_0x4fae94=_0x50d24d[_0x3930a3(0x196)]?_0x50d24d[_0x3930a3(0xff)][_0x3930a3(0x1dc)]:null;_0x2f2049[_0x3930a3(0x1b3)][_0x3930a3(0x13c)](_0x3930a3(0x125))[_0x3930a3(0x13e)](_0x4fae94);}[_0x31e91d(0x184)](){const _0x435612=_0x31e91d,{isReady:_0x1b03dc,isEnabled:_0x47f550}=this[_0x435612(0xaf)][_0x435612(0x19b)][_0x435612(0x13c)](d);this[_0x435612(0x1ad)]=_0x1b03dc&&_0x47f550;}}export class ShowChangeCommand extends _0x7735e4{constructor(_0x537a33,{direction:_0x290fd6}){const _0x734f89=_0x31e91d;super(_0x537a33);const _0x64ff03=_0x537a33[_0x734f89(0x19b)][_0x734f89(0x13c)](d);this[_0x734f89(0xc8)]=!0x1,this[_0x734f89(0x157)]=_0x734f89(0xc2)===_0x290fd6?0x1:-0x1,this[_0x734f89(0x128)](_0x64ff03,_0x734f89(0x131),()=>this[_0x734f89(0x184)]()),this[_0x734f89(0x128)](_0x64ff03,_0x734f89(0xd0),()=>this[_0x734f89(0x184)]()),this[_0x734f89(0x128)](_0x64ff03,_0x734f89(0xb3),()=>this[_0x734f89(0x184)]());}[_0x31e91d(0x185)](){const _0xdec476=_0x31e91d,_0x1977ba=this[_0xdec476(0xaf)],_0x3f156a=_0x1977ba[_0xdec476(0x19b)][_0xdec476(0x13c)](d),{isNavigationMode:_0x3b84cf,currentChangeNumber:_0x2fdf97}=_0x3f156a;let _0x5403a0;if(_0x3f156a[_0xdec476(0x1ab)]=_0x3b84cf?_0x3f156a[_0xdec476(0xff)][_0xdec476(0x156)][_0xdec476(0x13c)](_0x2fdf97+this[_0xdec476(0x157)]):_0x3f156a[_0xdec476(0xff)][_0xdec476(0x156)][_0xdec476(0x19f)],_0x3f156a[_0xdec476(0x1ab)][_0xdec476(0x199)][_0xdec476(0x142)])_0x5403a0=_0x1977ba[_0xdec476(0x115)][_0xdec476(0xd2)][_0xdec476(0x99)](_0x3f156a[_0xdec476(0x1ab)][_0xdec476(0x197)]);else{const _0x474915=_0x1977ba[_0xdec476(0x1df)][_0xdec476(0x1a5)][_0xdec476(0x13c)](_0xdec476(0xf1)+_0x3f156a[_0xdec476(0x1ab)]['id']);_0x5403a0=_0x515964(_0x1977ba[_0xdec476(0x115)],_0x474915);}_0xd94ad({'target':_0x5403a0,'viewportOffset':0x28});}[_0x31e91d(0x184)](){const _0x3a4874=_0x31e91d,{isNavigationMode:_0x58ffaf,currentChangeNumber:_0x160b81,numberOfChanges:_0x5bff22,isReady:_0x5e2590,isEnabled:_0x1f5155}=this[_0x3a4874(0xaf)][_0x3a4874(0x19b)][_0x3a4874(0x13c)](d);this[_0x3a4874(0x1ad)]=!!(_0x1f5155&&_0x5e2590&&_0x5bff22)&&(!_0x58ffaf||(0x1===this[_0x3a4874(0x157)]?_0x160b81<_0x5bff22-0x1:_0x160b81>0x0));}}
|
|
23
|
+
const _0xceb223=_0x12a7;function _0x12a7(_0x5691f6,_0x1c3e25){const _0x15e872=_0x15e8();return _0x12a7=function(_0x12a787,_0x434d2a){_0x12a787=_0x12a787-0xf6;let _0x39f059=_0x15e872[_0x12a787];return _0x39f059;},_0x12a7(_0x5691f6,_0x1c3e25);}(function(_0x3c4305,_0x1c6702){const _0x380598=_0x12a7,_0x59dbf5=_0x3c4305();while(!![]){try{const _0x4feeba=-parseInt(_0x380598(0x13d))/0x1*(parseInt(_0x380598(0xff))/0x2)+parseInt(_0x380598(0x154))/0x3+parseInt(_0x380598(0x1f4))/0x4+parseInt(_0x380598(0x184))/0x5+-parseInt(_0x380598(0x165))/0x6+-parseInt(_0x380598(0x11c))/0x7+-parseInt(_0x380598(0x1a1))/0x8;if(_0x4feeba===_0x1c6702)break;else _0x59dbf5['push'](_0x59dbf5['shift']());}catch(_0x565c2a){_0x59dbf5['push'](_0x59dbf5['shift']());}}}(_0x15e8,0x1a94c));import{Plugin as _0x1c655c,Command as _0x3fef62}from'ckeditor5/src/core.js';function _0x15e8(){const _0x67e5a3=['name','activeView','-new','isAtEnd','removeMarker:revision','ck-revision-history-root-add','mousedown','removeAttribute','forceDisabled','WidgetToolbarRepository','domEvent','rootName','endIndex','set','hasAttribute','element','useFillerType','toViewRange','toViewElement','change:isReady','changes','addRevisionData','attributesBefore','markersEnd','plugins','getChild','change:numberOfChanges','toViewPosition','editingDowncast','editor','isAtStart','222uSmkAS','isBlock','currentChangeNumber','nextPosition','push','mapper','nextSibling','_makeTape','object','addRoot','isAdded','schema','getRevisionRootsAttributes','nodeAfter','length','markersStart','ck-suggestion-marker--active','insert','bind','ck-revision-history-root-','start','children','activeChange','getClientRects','revision:','getRevisionData','flat','has','vid','450849UTXDRQ','showStack','getAttribute','_markMismatchedRemovedTags','insertion','elementStart','revision-start','uiElement','RevisionsRepository','return','view','getAttributes','dataDowncast','removeMarker:revision-suggestion','suggestion:','filter','ck-suggestion-preview-marker','processor','clear','collaboration.channelId','data-revision-','_getViewObj','_changeView','execute','addMarker:revision-suggestion:insertion','refresh','offsetSize','createRange','_threeWayMerge','_getChangeFromId','_makeModelFromViewString','_findChangeIdFromDomTarget','comment','611qBTvrg','consume','range','enableReadOnlyMode','maxOffset','target','stop','changeId','split','oldRevisionId','ck-suggestion-marker','destroy','_getDiff','getRootNames','default','_removeMissingPairs','_markSuggestions','POSITIVE_INFINITY','deletion','upcast','_update','forward','index','436563oAmlQT','error','isNavigationMode','isEqual','getRevision','checkAttribute','_markInsertions','revision-suggestion:','text','affectsData','_makeModelFromTape','_appendChild','splice','next','_processTape','previousPosition','ck-suggestion-marker-split','283032sOqElb','isAddSuggestion','revision-comment:','createUIElement','_sortAndFilterDiffChanges','remove','_revisions','_getRevisionsRange','data-change-id','toData','isOnRoot','parse','bindElementToMarker','removeMarker','config','elementEnd','showPreviousChange','keys','parent','for','indexOf','_cleanMarkers','pairId','isRemoveSuggestion','dataToMarker','observeMarkers','findIndex','_fixObsoleteTags','setAttribute','pop','startsWith','615130kRhwjW','map','get','isAfter','createPositionBefore','test','addRevision','markers','consumable','writer','change','addClass','document','revision-suggestion','restoreRevision','createRangeIn','all','string','_cleanUp','insertions','mapViewToDom','elementToAttribute','getIndex','isEnabled','isInline','softBreak','showNextChange','startIndex','marked','487672DQuPhr','getDomRoot','toModel','RevisionViewer','createPositionFromPath','catch','ck-suggestion-marker-','change:activeChange','shift','unbindElementFromMarkerName','_setDistance','vid_start','unshift','isAttached','vid_end','modelRange','repository','isIncorrect','item','attachChange','markerToHighlight','viewItem','merge','addMarker:revision-suggestion:deletion','locale','loadRevisionData','abs','userId','revisionHistoryAttachChange','_getViewForChange','attribute:vid','detachRoot','editing','addHighlight','listenTo','selection','updatePosition','conversion','diff','restoreRevisionCallback','isBefore','span','createRevision','_setConversion','first','sort','adapter','isCollapsed','downcastDispatcher','revision','add','_joinTapes','_balloon','backward','numberOfChanges','ck-revision-history-root--active','diffData','_removeRevisionMarkers','from','attributesAfter','includes','revision-viewer','then','right','model','bottom','pluginName','change:activeView','hasClass','_initInteractions','domConverter','commands','code','deletions','ck-suggestion-marker-merge','_refreshStartEndIndex','left','isObject','low','data','ck-revision-history-root-remove','addMarker:revision','_step','322752CrFQiR','side','authors','type','getItems','removeClass','_markMarkers','markerRange','ck-editor__editable__overlay','_activeViewTarget','forEach','getRoot','markerName','requires','ck-suggestion-preview-marker-','_changeIdToChange','enqueueChange','attributes','getWalker','isSuggestion','suggestion','values','revision-end','concat','wrap','level','newRevisionId','getCustomProperty','createAttributeElement','revisionHistoryLabel','highest','slice','compare','distance','isLimit','markerNameToElements','top','init','delete','roots','markerToData','reconvertMarker','_setChanges','resolve','find','done','end','mouseover','isReady','_data','isContent','_removeUnsupportedChanges','high','element:pre','isRemoved','change:isEnabled','revisionHistory'];_0x15e8=function(){return _0x67e5a3;};return _0x15e8();}import{scrollViewportToShowTarget as _0x74a71f}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3758b5}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x44498c,Element as _0x451d80,Text as _0x282e41,ViewDocumentFragment as _0x4cc8dc,ViewText as _0x4dc631,ViewElement as _0x2ca2f2,ViewContainerElement as _0xc0373d,ViewAttributeElement as _0x6062a,ViewEmptyElement as _0x31050e,ViewRawElement as _0x474ef0,ViewUIElement as _0x11e834}from'ckeditor5/src/engine.js';import{Users as _0x495951,getMarkerDomElement as _0x4356e4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1dcf4f from'./ui/revisionviewer/changedetailsview.js';import _0x4d59db from'./revisionsrepository.js';import _0x2a3edc from'./changeitem.js';import{default as _0x436534}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0xdd36e3}from'lodash-es';const tt={'c':_0xc0373d,'a':_0x6062a,'e':_0x31050e,'r':_0x474ef0,'u':_0x11e834};export default class d extends _0x1c655c{static get[_0xceb223(0x1e3)](){const _0x4164df=_0xceb223;return _0x4164df(0x1a4);}static get[_0xceb223(0x201)](){return[_0x495951,_0x3758b5,_0x4d59db];}constructor(_0x502b4e){const _0x5383b8=_0xceb223;super(_0x502b4e),this[_0x5383b8(0x1b1)]=this[_0x5383b8(0xfd)][_0x5383b8(0xf8)][_0x5383b8(0x186)](_0x5383b8(0x124)),this[_0x5383b8(0x23a)](_0x5383b8(0x115),null),this[_0x5383b8(0x23a)](_0x5383b8(0x22e),null),this[_0x5383b8(0x1fd)]=null,this[_0x5383b8(0x23a)](_0x5383b8(0x1c7),null),this[_0x5383b8(0x23a)](_0x5383b8(0x224),!0x1),this[_0x5383b8(0x23a)](_0x5383b8(0x19b),!0x0),this['on'](_0x5383b8(0x22b),(_0x5af952,_0x4162b6,_0x2ed0f7)=>{const _0xaf1dca=_0x5383b8;this[_0xaf1dca(0x115)]=null,this[_0xaf1dca(0x22e)]=null,this[_0xaf1dca(0xfd)][_0xaf1dca(0x1c1)][_0xaf1dca(0x126)][_0xaf1dca(0x18e)](_0x1212db=>{const _0x1bba7d=_0xaf1dca;for(const _0x2dac07 of this[_0x1bba7d(0xfd)][_0x1bba7d(0x1c1)][_0x1bba7d(0x126)][_0x1bba7d(0x190)][_0x1bba7d(0x21b)])_0x2ed0f7?_0x1212db[_0x1bba7d(0x1f9)](_0x1bba7d(0x1fc),_0x2dac07):_0x1212db[_0x1bba7d(0x18f)](_0x1bba7d(0x1fc),_0x2dac07);});}),this[_0x5383b8(0x111)](_0x5383b8(0x156))['to'](this,_0x5383b8(0x115),_0x1dd22f=>null!==_0x1dd22f),this[_0x5383b8(0x111)](_0x5383b8(0x101))['to'](this,_0x5383b8(0x224),this,_0x5383b8(0x1c7),this,_0x5383b8(0x115),(_0x3875ca,_0x2a4565,_0x1cb365)=>_0x3875ca&&_0x1cb365?_0x2a4565[_0x5383b8(0x241)][_0x5383b8(0x19a)](_0x1cb365):0x0),this[_0x5383b8(0x111)](_0x5383b8(0x1d7))['to'](this,_0x5383b8(0x224),this,_0x5383b8(0x1c7),(_0x442068,_0x5d3639)=>_0x442068?_0x5d3639[_0x5383b8(0x241)][_0x5383b8(0x10d)]:0x0),this[_0x5383b8(0x132)]=null,this[_0x5383b8(0x203)]=new Map(),this[_0x5383b8(0x1cf)]=null,this[_0x5383b8(0x1d5)]=this[_0x5383b8(0xfd)][_0x5383b8(0xf8)][_0x5383b8(0x186)](_0x3758b5);}[_0xceb223(0x219)](){const _0x647aeb=_0xceb223,_0x5ae6d=this[_0x647aeb(0xfd)],_0x2820c1=new ShowChangeCommand(_0x5ae6d,{'direction':_0x647aeb(0x1d6)}),_0x25cc42=new ShowChangeCommand(_0x5ae6d,{'direction':_0x647aeb(0x152)});(_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x175),_0x2820c1),_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x19e),_0x25cc42),_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x192),new RestoreRevisionCommand(_0x5ae6d)),this['on'](_0x647aeb(0xfa),()=>{const _0x58291c=_0x647aeb;_0x2820c1[_0x58291c(0x135)](),_0x25cc42[_0x58291c(0x135)]();}),this[_0x647aeb(0x1cc)](),this[_0x647aeb(0x1e6)](),_0x5ae6d[_0x647aeb(0x140)](_0x647aeb(0x1de)),_0x5ae6d[_0x647aeb(0xf8)][_0x647aeb(0x11a)](_0x647aeb(0x236)))&&_0x5ae6d[_0x647aeb(0xf8)][_0x647aeb(0x186)](_0x647aeb(0x236))[_0x647aeb(0x235)](_0x647aeb(0x1de));}async[_0xceb223(0x118)](_0x15f214){const _0x1a894d=_0xceb223;await this[_0x1a894d(0x1ba)](_0x15f214);const _0x138625={};for(const _0x40f901 in _0x15f214[_0x1a894d(0x1d9)]){if(_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x1b4)]&&!_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x1b4)][_0x1a894d(0x1ae)])continue;const _0xab3c0=this[_0x1a894d(0x1da)](JSON[_0x1a894d(0x170)](_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x197)])),_0x9d8f25=this[_0x1a894d(0xfd)][_0x1a894d(0x1c1)][_0x1a894d(0x126)][_0x1a894d(0x190)],_0x223422=new _0x4cc8dc(_0x9d8f25,_0xab3c0[_0x1a894d(0x185)](_0xd49151=>this[_0x1a894d(0x131)](_0xd49151)));this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x23d)](_0x1a894d(0x1a0)),_0x138625[_0x40f901]=this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x16e)](_0x223422),this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x23d)](_0x1a894d(0x14b));}return _0x138625;}async[_0xceb223(0x10b)](_0x20c38a){const _0x18b6e9=_0xceb223;await this[_0x18b6e9(0x1ba)](_0x20c38a);const _0x3c5300={};for(const _0x40e187 in _0x20c38a[_0x18b6e9(0x1d9)])_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1b4)]&&!_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1b4)][_0x18b6e9(0x1ae)]||(_0x3c5300[_0x40e187]=_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1dc)]||{});return _0x3c5300;}[_0xceb223(0x1da)](_0x3fb51e){const _0x6038f5=_0xceb223;return(_0x3fb51e=_0x3fb51e[_0x6038f5(0x12b)](_0x400cdf=>!_0x400cdf[_0x6038f5(0x22d)]||_0x6038f5(0x122)!==_0x400cdf[_0x6038f5(0x22d)]&&_0x6038f5(0x20a)!==_0x400cdf[_0x6038f5(0x22d)]))[_0x6038f5(0x1fe)](_0x55d74c=>{const _0x508c03=_0x6038f5;_0x508c03(0x195)!=typeof _0x55d74c&&(_0x55d74c[_0x508c03(0x114)]=this[_0x508c03(0x1da)](_0x55d74c[_0x508c03(0x114)]),_0x55d74c[_0x508c03(0x205)]=_0x55d74c[_0x508c03(0x205)][_0x508c03(0x12b)](_0x23a851=>!_0x23a851[0x0][_0x508c03(0x183)](_0x508c03(0x130))));}),_0x3fb51e;}async[_0xceb223(0x214)](_0x334057,_0x46aef7,_0x2e8572=!0x1){const _0x1474de=_0xceb223;if(!this[_0x1474de(0x19b)])return;const _0x56f4ee=this[_0x1474de(0x1c7)],_0x1badd8=this[_0x1474de(0x1b1)],_0x2162fc=_0x1474de(0x195)==typeof _0x334057?_0x1badd8[_0x1474de(0x158)](_0x334057):_0x334057,_0x2b0b3e=_0x1474de(0x195)==typeof _0x46aef7?_0x1badd8[_0x1474de(0x158)](_0x46aef7):_0x46aef7,_0x80842c=_0x2162fc['id'],_0x523a2d=_0x2b0b3e?_0x2b0b3e['id']:null;if(!_0x2e8572&&this[_0x1474de(0x1c7)]&&this[_0x1474de(0x1c7)][_0x1474de(0x20e)]===_0x80842c&&this[_0x1474de(0x1c7)][_0x1474de(0x146)]===_0x523a2d)return Promise[_0x1474de(0x21f)]();this[_0x1474de(0x224)]=!0x1,this[_0x1474de(0x22e)]=null,this[_0x1474de(0x115)]=null,this[_0x1474de(0x1c7)]=new _0x436534(_0x80842c,_0x523a2d);const _0x58f7f3=this[_0x1474de(0x16c)](_0x2162fc,_0x2b0b3e,!0x0)[_0x1474de(0x185)](_0x30351c=>this[_0x1474de(0x1ba)](_0x30351c));return _0x58f7f3[_0x1474de(0x103)](new Promise(_0x4d1a77=>{setTimeout(_0x4d1a77,0x14);})),Promise[_0x1474de(0x194)](_0x58f7f3)[_0x1474de(0x1df)](()=>{const _0x1b1bb3=_0x1474de;if(!this[_0x1b1bb3(0x19b)])return;this[_0x1b1bb3(0x196)]();const _0x14cbb5=this[_0x1b1bb3(0x149)](_0x80842c,_0x523a2d);for(const _0x193197 of _0x14cbb5[_0x1b1bb3(0x241)])this[_0x1b1bb3(0x203)][_0x1b1bb3(0x23a)](_0x193197['id'],_0x193197);this[_0x1b1bb3(0xfd)][_0x1b1bb3(0x1e1)][_0x1b1bb3(0x204)]({'isUndoable':!0x1},_0x4cb89b=>{const _0x168708=_0x1b1bb3;for(const _0x53be1e of this[_0x168708(0xfd)][_0x168708(0x1e1)][_0x168708(0x190)][_0x168708(0x14a)]())_0x4cb89b[_0x168708(0x1c0)](_0x53be1e);for(const _0x1856bd of Object[_0x168708(0x176)](_0x14cbb5[_0x168708(0x1e1)])){const _0x14daed=_0x4cb89b[_0x168708(0x108)](_0x1856bd);for(const _0x325b0d of Object[_0x168708(0x176)](_0x14cbb5[_0x168708(0x205)][_0x1856bd]))_0x4cb89b[_0x168708(0x181)](_0x325b0d,_0x14cbb5[_0x168708(0x205)][_0x1856bd][_0x325b0d],_0x14daed);_0x4cb89b[_0x168708(0x110)](_0x14cbb5[_0x168708(0x1e1)][_0x1856bd],_0x14daed,0x0);}}),this[_0x1b1bb3(0x1c7)][_0x1b1bb3(0x21e)](this[_0x1b1bb3(0x169)](_0x14cbb5[_0x1b1bb3(0x241)])),this[_0x1b1bb3(0x224)]=!0x0;})[_0x1474de(0x1a6)](_0x22bf73=>{const _0x1beac1=_0x1474de;console[_0x1beac1(0x155)](_0x22bf73),this[_0x1beac1(0x196)](),_0x56f4ee&&(this[_0x1beac1(0x1c7)]=_0x56f4ee),this[_0x1beac1(0x224)]=!0x0;});}[_0xceb223(0x242)](_0x11d960,_0x43b5a7){const _0x7d9d81=_0xceb223,_0x490aba=this[_0x7d9d81(0x1b1)][_0x7d9d81(0x1cb)](_0x11d960);return _0x490aba['on'](_0x7d9d81(0x151),(_0x32a2e6,_0x16e587,_0x415be6)=>_0x43b5a7(_0x16e587,_0x415be6,_0x490aba)),this[_0x7d9d81(0x1b1)][_0x7d9d81(0x18a)](_0x490aba),_0x490aba;}[_0xceb223(0x1ba)](_0x2fec9d){const _0x255ec7=_0xceb223;if(!_0x2fec9d||_0x2fec9d[_0x255ec7(0x1d9)])return Promise[_0x255ec7(0x21f)]();{const _0x15f67a=this[_0x255ec7(0xfd)][_0x255ec7(0x173)][_0x255ec7(0x186)](_0x255ec7(0x12f));return this[_0x255ec7(0x1cf)][_0x255ec7(0x158)]({'channelId':_0x15f67a,'revisionId':_0x2fec9d['id']})[_0x255ec7(0x1df)](_0x582b43=>{const _0x5375b3=_0x255ec7;_0x2fec9d[_0x5375b3(0x151)]({'diffData':_0x582b43[_0x5375b3(0x1d9)]},!0x0);});}}[_0xceb223(0x196)](){const _0x2010d4=_0xceb223;this[_0x2010d4(0x115)]=null,this[_0x2010d4(0x17a)](),this[_0x2010d4(0x132)]&&this[_0x2010d4(0x132)][_0x2010d4(0x148)](),this[_0x2010d4(0x132)]=null,this[_0x2010d4(0x203)][_0x2010d4(0x12e)](),this[_0x2010d4(0xfd)][_0x2010d4(0x1e1)][_0x2010d4(0x204)]({'isUndoable':!0x1},_0x1206f8=>{const _0x2d3e49=_0x2010d4;for(const _0x16489e of this[_0x2d3e49(0xfd)][_0x2d3e49(0x1e1)][_0x2d3e49(0x190)][_0x2d3e49(0x14a)]())_0x1206f8[_0x2d3e49(0x1c0)](_0x16489e);});}[_0xceb223(0x169)](_0x51ce6e){const _0x2b378f=_0xceb223,_0x92ab04=[],_0x3d85a4=new Map();for(const _0x176218 of this[_0x2b378f(0xfd)][_0x2b378f(0x1e1)][_0x2b378f(0x190)][_0x2b378f(0x14a)]()){const _0x33a097=this[_0x2b378f(0xfd)][_0x2b378f(0x1c1)][_0x2b378f(0x126)][_0x2b378f(0x1a2)](_0x176218);if(!_0x33a097)continue;const _0xc16c83=_0x33a097[_0x2b378f(0x116)]()[_0x2b378f(0x1b3)](0x0);_0xc16c83&&(_0x92ab04[_0x2b378f(0x103)](_0x176218),_0x3d85a4[_0x2b378f(0x23a)](_0x176218,_0xc16c83));}return _0x92ab04[_0x2b378f(0x1ce)]((_0x3bb3ee,_0x2fdb0e)=>{const _0xbce92=_0x2b378f,_0x26854a=_0x3d85a4[_0xbce92(0x186)](_0x3bb3ee),_0x9cf31d=_0x3d85a4[_0xbce92(0x186)](_0x2fdb0e);return _0x26854a['y']-_0x9cf31d['y']||_0x26854a['x']-_0x9cf31d['x'];}),(_0x51ce6e=_0x51ce6e[_0x2b378f(0x12b)](_0x268df5=>_0x92ab04[_0x2b378f(0x1dd)](_0x268df5[_0x2b378f(0x238)])))[_0x2b378f(0x1ce)]((_0x411087,_0x35fd41)=>_0x92ab04[_0x2b378f(0x179)](_0x411087[_0x2b378f(0x238)])-_0x92ab04[_0x2b378f(0x179)](_0x35fd41[_0x2b378f(0x238)])),_0x51ce6e;}[_0xceb223(0x106)](_0x5ba420){const _0x2816aa=_0xceb223,_0x2bc81e=Array[_0x2816aa(0x1db)](_0x5ba420[_0x2816aa(0x18b)])[_0x2816aa(0x12b)](([_0x3946b6,_0xfb9141])=>_0x3946b6[_0x2816aa(0x183)](_0x2816aa(0x117))&&!_0xfb9141[_0x2816aa(0x1d0)]),_0x5aa72c=Array[_0x2816aa(0x1db)](this[_0x2816aa(0xfd)][_0x2816aa(0x1e1)][_0x2816aa(0x193)](_0x5ba420)[_0x2816aa(0x206)]({'singleCharacters':!0x0}));if(0x0!=_0x2bc81e[_0x2816aa(0x10d)])for(const _0x28ba8c of _0x5aa72c){const [_0x1ecec7,_0xc57973]=_0x2bc81e[0x0],[,_0x2c3231,_0x234eda]=_0x1ecec7[_0x2816aa(0x145)](':');if(_0xc57973[_0x2816aa(0x222)][_0x2816aa(0x157)](_0x28ba8c[_0x2816aa(0x102)])&&_0x2bc81e[_0x2816aa(0x1a9)](),(_0x28ba8c[_0x2816aa(0x163)][_0x2816aa(0x157)](_0xc57973[_0x2816aa(0x113)])||_0x28ba8c[_0x2816aa(0x163)][_0x2816aa(0x187)](_0xc57973[_0x2816aa(0x113)]))&&(_0x2816aa(0x120)==_0x2c3231?_0x28ba8c[_0x2816aa(0x109)]={'userId':_0x234eda}:_0x2816aa(0x14f)==_0x2c3231&&(_0x28ba8c[_0x2816aa(0x22a)]={'userId':_0x234eda})),0x0==_0x2bc81e[_0x2816aa(0x10d)])break;}return _0x5aa72c;}[_0xceb223(0x1ec)](_0x1c47c9){const _0x5653bd=_0xceb223,_0x55230f=new Map();for(let _0xd0b09c=0x0;_0xd0b09c<_0x1c47c9[_0x5653bd(0x10d)];_0xd0b09c++)_0x5653bd(0x15c)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]?(_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0xd0b09c,_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0xd0b09c):(_0x5653bd(0x121)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]?_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0xd0b09c:_0x5653bd(0x174)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]&&(_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0xd0b09c),_0x55230f[_0x5653bd(0x23a)](_0x1c47c9[_0xd0b09c]['id'],_0xd0b09c));for(const _0x4d6736 of _0x55230f[_0x5653bd(0x209)]())_0x5653bd(0x121)===_0x1c47c9[_0x4d6736][_0x5653bd(0x1f7)]?_0x1c47c9[_0x4d6736][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0x55230f[_0x5653bd(0x186)](_0x1c47c9[_0x4d6736][_0x5653bd(0x17b)]):_0x5653bd(0x174)===_0x1c47c9[_0x4d6736][_0x5653bd(0x1f7)]&&(_0x1c47c9[_0x4d6736][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0x55230f[_0x5653bd(0x186)](_0x1c47c9[_0x4d6736][_0x5653bd(0x17b)]));}[_0xceb223(0x162)](_0x3138d1){const _0x4e2eac=_0xceb223;for(let _0x870cb1=0x0;_0x870cb1<_0x3138d1[_0x4e2eac(0x10d)];_0x870cb1++){if(_0x4e2eac(0x121)===_0x3138d1[_0x870cb1][_0x4e2eac(0x1f7)])_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)]=_0x870cb1;else{if(_0x4e2eac(0x174)===_0x3138d1[_0x870cb1][_0x4e2eac(0x1f7)]){_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x239)]=_0x870cb1;const _0x4aeda2=_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)];_0x3138d1[_0x4aeda2][_0x4e2eac(0x17b)]=_0x3138d1[_0x870cb1]['id'],_0x3138d1[_0x870cb1][_0x4e2eac(0x17b)]=_0x3138d1[_0x4aeda2]['id'];}else _0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)]=_0x870cb1,_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x239)]=_0x870cb1,_0x3138d1[_0x870cb1][_0x4e2eac(0x17b)]=null;}_0x3138d1[_0x870cb1][_0x4e2eac(0x10e)]||(_0x3138d1[_0x870cb1][_0x4e2eac(0x10e)]=[],_0x3138d1[_0x870cb1][_0x4e2eac(0xf7)]=[]);}}[_0xceb223(0x15a)](_0x12baa3,_0x1865cb){const _0x34a49c=_0xceb223,_0x55921f=_0x12baa3[_0x34a49c(0x12b)](_0x1a9bca=>!_0x1a9bca[_0x34a49c(0x109)]);for(let _0x1fcf0e=0x0;_0x1fcf0e<_0x1865cb[_0x34a49c(0x10d)];_0x1fcf0e++)_0x1865cb[_0x1fcf0e][_0x34a49c(0x109)]&&(_0x55921f[_0x1fcf0e][_0x34a49c(0x109)]=_0x1865cb[_0x1fcf0e][_0x34a49c(0x109)]);}[_0xceb223(0x13a)](_0x16ef09){const _0x141893=_0xceb223,_0x3c9a65=JSON[_0x141893(0x170)](_0x16ef09),_0x258ed3=this[_0x141893(0xfd)][_0x141893(0x1c1)][_0x141893(0x126)][_0x141893(0x190)],_0x5a8e44=new _0x4cc8dc(_0x258ed3,_0x3c9a65[_0x141893(0x185)](_0x5d94ea=>this[_0x141893(0x131)](_0x5d94ea)));return this[_0x141893(0xfd)][_0x141893(0x1f0)][_0x141893(0x1a3)](_0x5a8e44);}[_0xceb223(0x131)](_0x5295a5){const _0x15783f=_0xceb223,_0x40b662=this[_0x15783f(0xfd)][_0x15783f(0x1c1)][_0x15783f(0x126)][_0x15783f(0x190)];if(_0x15783f(0x195)==typeof _0x5295a5)return new _0x4dc631(_0x40b662,_0x5295a5);{const _0x5c94b4=_0x5295a5[_0x15783f(0x114)][_0x15783f(0x185)](_0x5df1d6=>this[_0x15783f(0x131)](_0x5df1d6));return new(tt[_0x5295a5[(_0x15783f(0x1f7))]]||_0x2ca2f2)(_0x40b662,_0x5295a5[_0x15783f(0x22d)],_0x5295a5[_0x15783f(0x205)],_0x5c94b4);}}[_0xceb223(0x149)](_0x49c87d,_0xa86aa2=null){const _0x94389e=_0xceb223,_0xe8b91e=this[_0x94389e(0x1b1)][_0x94389e(0x158)](_0x49c87d),_0xe2605f=_0xa86aa2?this[_0x94389e(0x1b1)][_0x94389e(0x158)](_0xa86aa2):null,_0x96fefc=this[_0x94389e(0x16c)](_0xe8b91e,_0xe2605f),_0x408fd8=_0x96fefc[_0x96fefc[_0x94389e(0x10d)]-0x1],_0xfe569e=new Map(),_0xcf51c8={'model':{},'attributes':{},'changes':[]},_0x52548b=new Set(),_0x5c6289=new Map();for(let _0x2ef849=_0x96fefc[_0x94389e(0x10d)]-0x1;_0x2ef849>=0x0;_0x2ef849--){const _0x126adb=_0x96fefc[_0x2ef849];for(const _0x3e8b84 of Object[_0x94389e(0x176)](_0x126adb[_0x94389e(0x1d9)]))if(_0x126adb[_0x94389e(0x1d9)][_0x3e8b84][_0x94389e(0x1b4)]){const _0x5e9f67=_0x126adb[_0x94389e(0x1d9)][_0x3e8b84][_0x94389e(0x1b4)];_0x5e9f67[_0x94389e(0x1ae)]?(_0x52548b[_0x94389e(0x1d3)](_0x3e8b84),_0x5c6289[_0x94389e(0x11a)](_0x3e8b84)&&_0x5c6289[_0x94389e(0x186)](_0x3e8b84)[_0x94389e(0x1bc)]==_0x5e9f67[_0x94389e(0x1bc)]?_0x5c6289[_0x94389e(0x21a)](_0x3e8b84):_0x5c6289[_0x94389e(0x23a)](_0x3e8b84,_0x5e9f67)):_0x5c6289[_0x94389e(0x11a)](_0x3e8b84)?(_0x52548b[_0x94389e(0x21a)](_0x3e8b84),_0x5c6289[_0x94389e(0x21a)](_0x3e8b84)):(_0x52548b[_0x94389e(0x1d3)](_0x3e8b84),_0x5c6289[_0x94389e(0x23a)](_0x3e8b84,_0x5e9f67));}else _0x52548b[_0x94389e(0x1d3)](_0x3e8b84);}for(const _0x497d94 of _0x52548b){const _0x2a6762=_0x5c6289[_0x94389e(0x11a)](_0x497d94)&&!_0x5c6289[_0x94389e(0x186)](_0x497d94)[_0x94389e(0x1ae)];let _0x3277cd=_0x2a6762?_0x96fefc[_0x94389e(0x10d)]-0x1:0x0;const _0x285d45=_0x2a6762?-0x1:0x1;for(;_0x96fefc[_0x3277cd];){const _0xf8fba=_0x96fefc[_0x3277cd];if(_0xf8fba[_0x94389e(0x1d9)][_0x497d94]){const _0x25fa15=_0x2a6762?_0xf8fba[_0x94389e(0x1d9)][_0x497d94][_0x94389e(0xf6)]:_0xf8fba[_0x94389e(0x1d9)][_0x497d94][_0x94389e(0x1dc)];_0xcf51c8[_0x94389e(0x205)][_0x497d94]=_0x25fa15?_0xdd36e3(_0x25fa15):{};break;}_0x3277cd+=_0x285d45;}}for(const _0x46d772 of _0x96fefc){_0x46d772[_0x94389e(0x1e1)]={};for(const _0x544439 of _0x46d772[_0x94389e(0x1f6)])_0xfe569e[_0x94389e(0x23a)](_0x544439['id'],_0x544439);for(const _0x1b2865 of _0x52548b){const _0x4020ae=_0x46d772[_0x94389e(0x1d9)][_0x1b2865]?_0x46d772[_0x94389e(0x1d9)][_0x1b2865][_0x94389e(0x197)]:'[]',_0x5bbbdf=_0x46d772[_0x94389e(0x1d9)][_0x1b2865]?_0x46d772[_0x94389e(0x1d9)][_0x1b2865][_0x94389e(0x1ea)]:'[]';_0x46d772[_0x94389e(0x1e1)][_0x1b2865]={'insertions':this[_0x94389e(0x13a)](_0x4020ae),'deletions':this[_0x94389e(0x13a)](_0x5bbbdf)};}}for(const _0x3f2af0 of _0x52548b){let _0x3438d2=null,_0x89afb6=0x0;const _0x513140=new Map(Array[_0x94389e(0x1db)](_0xe8b91e[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x197)][_0x94389e(0x18b)])[_0x94389e(0x12b)](([_0x3170f8])=>!_0x3170f8[_0x94389e(0x183)](_0x94389e(0x117))));let _0x3179bf=0x0;for(const _0x1d4dce of _0x96fefc){const _0x1ca130=this[_0x94389e(0x106)](_0x1d4dce[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x197)]);_0x1d4dce==_0xe8b91e?(_0x3438d2=_0x1ca130,_0x89afb6=_0x3438d2[_0x94389e(0x10d)],_0x3438d2[_0x94389e(0x1fe)](_0x48bfe5=>{_0x48bfe5['id']=_0x3179bf++;}),this[_0x94389e(0x162)](_0x3438d2)):this[_0x94389e(0x15a)](_0x3438d2,_0x1ca130);const _0x197cf6=_0x3438d2[_0x94389e(0x12b)](_0x5b0bd2=>!_0x5b0bd2[_0x94389e(0x109)])[_0x94389e(0x185)](_0x4804f3=>_0x4804f3['id']);let _0x59894d=0x0;const _0x3a731c=this[_0x94389e(0x106)](_0x1d4dce[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x1ea)]);_0x3a731c[_0x94389e(0x1fe)](_0x10169d=>{const _0x492923=_0x94389e;_0x10169d[_0x492923(0x22a)]?_0x10169d['id']=_0x89afb6++:_0x10169d['id']=_0x197cf6[_0x59894d++];}),this[_0x94389e(0x162)](_0x3a731c),this[_0x94389e(0x1ab)](_0x3438d2,_0x94389e(0x109)),this[_0x94389e(0x1ab)](_0x3a731c,_0x94389e(0x22a)),_0x1d4dce==_0xe8b91e&&this[_0x94389e(0x1fa)](_0x3438d2,_0x513140),_0x3438d2=this[_0x94389e(0x1d4)](_0x3438d2,_0x3a731c),this[_0x94389e(0x1ec)](_0x3438d2),this[_0x94389e(0x1ab)](_0x3438d2,_0x94389e(0x22a));}_0x3438d2=_0x3438d2[_0x94389e(0x12b)](_0x2dbf98=>!(_0x2dbf98[_0x94389e(0x109)]&&_0x2dbf98[_0x94389e(0x22a)]));const _0x993350=new Map(_0x408fd8[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x1ea)][_0x94389e(0x18b)]),_0x48f5ab=new Set(_0x513140[_0x94389e(0x176)]());for(const _0x287d6e of _0x993350[_0x94389e(0x176)]())_0x48f5ab[_0x94389e(0x21a)](_0x287d6e);this[_0x94389e(0x14d)](_0x3438d2,_0x48f5ab),this[_0x94389e(0x180)](_0x3438d2),_0x3438d2=this[_0x94389e(0x14c)](_0x3438d2),_0x3438d2=this[_0x94389e(0x11f)](_0x3438d2),_0x3438d2=this[_0x94389e(0x227)](_0x3438d2);const {root:_0x24eca5,changes:_0x190a1d}=this[_0x94389e(0x15e)](_0x3438d2,_0xfe569e,_0x3f2af0);_0xcf51c8[_0x94389e(0x1e1)][_0x3f2af0]=_0x24eca5;const _0x2c4715=_0x5c6289[_0x94389e(0x186)](_0x3f2af0);if(_0x2c4715){const _0xe7b27b=_0xfe569e[_0x94389e(0x186)](_0x2c4715[_0x94389e(0x1bc)]),_0x47adb6=new _0x2a3edc({'author':_0xe7b27b,'type':_0x2c4715[_0x94389e(0x1ae)]?_0x94389e(0x1d3):_0x94389e(0x16a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3f2af0});_0x190a1d[_0x94389e(0x1ad)](_0x47adb6),_0xcf51c8[_0x94389e(0x205)][_0x3f2af0][_0x94389e(0x1bd)]=_0x47adb6['id'];}_0xcf51c8[_0x94389e(0x241)]=_0xcf51c8[_0x94389e(0x241)][_0x94389e(0x20b)](_0x190a1d);}return _0xcf51c8;}[_0xceb223(0x1fa)](_0x297494,_0x340fd4){const _0x5004cb=_0xceb223;for(let _0x4725d7=0x0;_0x4725d7<_0x297494[_0x5004cb(0x10d)];_0x4725d7++)for(const [_0x2562ce,_0x1a1283]of _0x340fd4)_0x1a1283[_0x5004cb(0x113)][_0x5004cb(0x157)](_0x297494[_0x4725d7][_0x5004cb(0x163)])&&_0x297494[_0x4725d7][_0x5004cb(0x10e)][_0x5004cb(0x103)](_0x2562ce),_0x1a1283[_0x5004cb(0x222)][_0x5004cb(0x157)](_0x297494[_0x4725d7][_0x5004cb(0x102)])&&_0x297494[_0x4725d7][_0x5004cb(0xf7)][_0x5004cb(0x103)](_0x2562ce);}[_0xceb223(0x1d4)](_0x162785,_0x110d22){const _0x5eeb3f=_0xceb223;let _0x155fec=[],_0x1726c8=0x0,_0xba8fd2=0x0;for(;_0x1726c8<_0x162785[_0x5eeb3f(0x10d)]||_0xba8fd2<_0x110d22[_0x5eeb3f(0x10d)];){const _0x12e648=_0x162785[_0x1726c8]||{},_0x171f8a=_0x110d22[_0xba8fd2]||{};if(_0x12e648['id']==_0x171f8a['id'])_0x1726c8++,_0xba8fd2++,_0x155fec[_0x5eeb3f(0x103)](_0x12e648);else{if(_0x171f8a[_0x5eeb3f(0x22a)]&&_0x12e648[_0x5eeb3f(0x109)]){const {commonTape:_0x4f052b,iEnd:_0x5ed161,jEnd:_0x2fddbc}=this[_0x5eeb3f(0x138)](_0x162785,_0x1726c8,_0x110d22,_0xba8fd2);_0x155fec=_0x155fec[_0x5eeb3f(0x20b)](_0x4f052b),_0x1726c8=_0x5ed161,_0xba8fd2=_0x2fddbc;}else _0x171f8a[_0x5eeb3f(0x22a)]?(_0xba8fd2++,_0x155fec[_0x5eeb3f(0x103)](_0x171f8a)):(_0x1726c8++,_0x155fec[_0x5eeb3f(0x103)](_0x12e648));}}return _0x155fec;}[_0xceb223(0x14d)](_0x5cf979,_0x4fdf6d){const _0x2fb059=_0xceb223,_0x1cb565=[];for(let _0x41ea14=0x0;_0x41ea14<_0x5cf979[_0x2fb059(0x10d)];_0x41ea14++){for(let _0x5f57b5=0x0;_0x5f57b5<_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x2fb059(0x10d)];_0x5f57b5++){const _0x5d5003=_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x5f57b5];if(!_0x4fdf6d[_0x2fb059(0x11a)](_0x5d5003))continue;const {group:_0x5bd435,type:_0x54ff72,authorId:_0x50accd}=_0x1ab6bc(_0x5d5003);_0x2fb059(0x191)!=_0x5bd435||_0x2fb059(0x120)!=_0x54ff72&&_0x2fb059(0x14f)!=_0x54ff72||(_0x1cb565[_0x2fb059(0x1ad)]({'type':_0x54ff72,'name':_0x5d5003,'userId':_0x50accd}),_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x2fb059(0x160)](_0x5f57b5,0x1),_0x5f57b5--);}_0x326943(_0x5cf979[_0x41ea14]);for(let _0x467794=0x0;_0x467794<_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x2fb059(0x10d)];_0x467794++){const _0x18a733=_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x467794];if(!_0x4fdf6d[_0x2fb059(0x11a)](_0x18a733))continue;const {group:_0x2a2ffa,type:_0x157100}=_0x1ab6bc(_0x18a733);if(_0x2fb059(0x191)!=_0x2a2ffa||_0x2fb059(0x120)!=_0x157100&&_0x2fb059(0x14f)!=_0x157100)continue;_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x2fb059(0x160)](_0x467794,0x1),_0x467794--;const _0x27c6df=_0x1cb565[_0x2fb059(0x17f)](_0x52c9ec=>_0x52c9ec[_0x2fb059(0x22d)]==_0x18a733);_0x27c6df>-0x1&&_0x1cb565[_0x2fb059(0x160)](_0x27c6df,0x1);}}function _0x1ab6bc(_0x13e712){const _0x568f16=_0x2fb059,_0x1d18fc=_0x13e712[_0x568f16(0x145)](':');return{'group':_0x1d18fc[0x0],'type':_0x1d18fc[0x1],'subType':_0x1d18fc[_0x568f16(0x10d)]>=0x5?_0x1d18fc[0x2]:null,'id':_0x1d18fc[_0x568f16(0x10d)]<0x5?_0x1d18fc[0x2]:_0x1d18fc[0x3],'authorId':_0x1d18fc[_0x568f16(0x10d)]<0x5?_0x1d18fc[0x3]:_0x1d18fc[0x4],'markerCount':0x6==_0x1d18fc[_0x568f16(0x10d)]?_0x1d18fc[0x5]:null};}function _0x326943(_0x22cbaf){const _0x4ff7e5=_0x2fb059;for(let _0x16c16a=0x0;_0x16c16a<_0x1cb565[_0x4ff7e5(0x10d)];_0x16c16a++){if(_0x22cbaf[_0x4ff7e5(0x109)]&&_0x4ff7e5(0x120)==_0x1cb565[_0x16c16a][_0x4ff7e5(0x1f7)])return _0x22cbaf[_0x4ff7e5(0x166)]=_0x1cb565[_0x16c16a],void delete _0x22cbaf[_0x4ff7e5(0x109)];if(!_0x22cbaf[_0x4ff7e5(0x109)]&&!_0x22cbaf[_0x4ff7e5(0x22a)]&&_0x4ff7e5(0x14f)==_0x1cb565[_0x16c16a][_0x4ff7e5(0x1f7)])return void(_0x22cbaf[_0x4ff7e5(0x17c)]=_0x1cb565[_0x16c16a]);}}}[_0xceb223(0x1ab)](_0x3267e4,_0x12c1dd){const _0x45f9ec=_0xceb223;let _0x5745c9=0x0,_0x4d3dbb=!0x1;const _0x3f0428=new Map();for(const _0x3ed624 of _0x3267e4)_0x3ed624[_0x12c1dd]?_0x4d3dbb&&(_0x5745c9++,_0x4d3dbb=!0x1):(_0x5745c9++,_0x4d3dbb=!0x0),_0x3f0428[_0x45f9ec(0x23a)](_0x3ed624['id'],_0x5745c9);for(let _0x413a7a=0x0;_0x413a7a<_0x3267e4[_0x45f9ec(0x10d)];_0x413a7a++){if(_0x45f9ec(0x22a)==_0x12c1dd&&_0x3267e4[_0x413a7a][_0x45f9ec(0x109)]||_0x45f9ec(0x109)==_0x12c1dd&&_0x3267e4[_0x413a7a][_0x45f9ec(0x22a)])continue;if(_0x45f9ec(0x15c)==_0x3267e4[_0x413a7a][_0x45f9ec(0x1f7)]){_0x3267e4[_0x413a7a][_0x45f9ec(0x215)]=0x0;continue;}const _0x20bf56=_0x3f0428[_0x45f9ec(0x186)](_0x3267e4[_0x413a7a][_0x45f9ec(0x17b)]),_0x4cc615=_0x3f0428[_0x45f9ec(0x186)](_0x3267e4[_0x413a7a]['id']);_0x3267e4[_0x413a7a][_0x45f9ec(0x215)]=_0x20bf56-_0x4cc615;}}[_0xceb223(0x16c)](_0x56eed2,_0x52e4c9,_0x803aa9=!0x1){const _0x27217f=_0xceb223,_0x142964=[];let _0x44730a=this[_0x27217f(0x1b1)][_0x27217f(0x19a)](_0x56eed2),_0x3932c3=this[_0x27217f(0x1b1)][_0x27217f(0x19a)](_0x52e4c9);for(-0x1==_0x3932c3&&(_0x3932c3=this[_0x27217f(0x1b1)][_0x27217f(0x16b)][_0x27217f(0x10d)],_0x803aa9=!0x1);_0x44730a<_0x3932c3;)_0x142964[_0x27217f(0x103)](this[_0x27217f(0x1b1)][_0x27217f(0x158)](_0x44730a)),_0x44730a++;return _0x803aa9&&_0x142964[_0x27217f(0x103)](this[_0x27217f(0x1b1)][_0x27217f(0x158)](_0x44730a)),_0x142964;}[_0xceb223(0x138)](_0x51b5fa,_0x58d1eb,_0x3b64bd,_0x2c379a){const _0x1a0312=_0xceb223,_0x388d8e=this[_0x1a0312(0xfd)][_0x1a0312(0x1e1)][_0x1a0312(0x10a)];let _0x122de4=_0x58d1eb;for(;_0x51b5fa[_0x122de4]&&_0x51b5fa[_0x122de4][_0x1a0312(0x109)];)_0x122de4++;let _0xdc7fe8=_0x2c379a;for(;_0x3b64bd[_0xdc7fe8]&&_0x3b64bd[_0xdc7fe8][_0x1a0312(0x22a)];)_0xdc7fe8++;_0x275940(_0x51b5fa,_0x58d1eb,_0x122de4),_0x275940(_0x3b64bd,_0x2c379a,_0xdc7fe8);const _0x1e15b9=_0x3b64bd[_0x1a0312(0x213)](_0x2c379a,_0xdc7fe8)[_0x1a0312(0x20b)](_0x51b5fa[_0x1a0312(0x213)](_0x58d1eb,_0x122de4));return _0x1e15b9[_0x1a0312(0x1ce)]((_0x1913b2,_0x2b5e01)=>_0x1913b2[_0x1a0312(0x1f5)]!=_0x2b5e01[_0x1a0312(0x1f5)]?_0x1913b2[_0x1a0312(0x1f5)]-_0x2b5e01[_0x1a0312(0x1f5)]:_0x1913b2[_0x1a0312(0x20d)]!=_0x2b5e01[_0x1a0312(0x20d)]?_0x1913b2[_0x1a0312(0x20d)]-_0x2b5e01[_0x1a0312(0x20d)]:_0x1913b2[_0x1a0312(0x215)]!=_0x2b5e01[_0x1a0312(0x215)]?_0x2b5e01[_0x1a0312(0x215)]-_0x1913b2[_0x1a0312(0x215)]:!!_0x1913b2[_0x1a0312(0x109)]!=!!_0x2b5e01[_0x1a0312(0x109)]?-0x1==_0x1913b2[_0x1a0312(0x1f5)]||0x0==_0x1913b2[_0x1a0312(0x1f5)]?_0x1913b2[_0x1a0312(0x109)]?-0x1:0x1:_0x1913b2[_0x1a0312(0x109)]?0x1:-0x1:_0x1913b2[_0x1a0312(0x153)]-_0x2b5e01[_0x1a0312(0x153)]),{'commonTape':_0x1e15b9,'iEnd':_0x122de4,'jEnd':_0xdc7fe8};function _0x275940(_0x5eb57d,_0x11135d,_0x3c989c){const _0x581d30=_0x1a0312;let _0x4b4855=-0x1,_0x2c78eb=Number[_0x581d30(0x14e)],_0x38de20=!0x0;for(let _0x14df09=_0x11135d;_0x14df09<_0x3c989c;_0x14df09++)if(_0x388d8e[_0x581d30(0x19c)](_0x5eb57d[_0x14df09][_0x581d30(0x1b3)])||(_0x38de20=!0x1),_0x5eb57d[_0x14df09][_0x581d30(0x1b3)][_0x581d30(0x19f)]<_0x11135d&&(_0x4b4855=_0x14df09),_0x5eb57d[_0x14df09][_0x581d30(0x1b3)][_0x581d30(0x239)]>=_0x3c989c){_0x2c78eb=_0x14df09;break;}_0x38de20&&(_0x4b4855=_0x3c989c-0x1);for(let _0x27c79f=_0x11135d;_0x27c79f<_0x3c989c;_0x27c79f++)_0x5eb57d[_0x27c79f][_0x581d30(0x1f5)]=_0x27c79f<=_0x4b4855?-0x1:_0x27c79f<_0x2c78eb?0x0:0x1,_0x5eb57d[_0x27c79f][_0x581d30(0x153)]=_0x27c79f;let _0x35d97c=0x0;for(let _0x26c3ba=_0x11135d;_0x26c3ba<=_0x4b4855;_0x26c3ba++)0x0==_0x5eb57d[_0x26c3ba][_0x581d30(0x215)]?_0x5eb57d[_0x26c3ba][_0x581d30(0x20d)]=_0x35d97c:(_0x35d97c++,_0x5eb57d[_0x26c3ba][_0x581d30(0x20d)]=_0x35d97c,_0x35d97c++);for(let _0x46b3a0=_0x11135d;_0x46b3a0<_0x3c989c;_0x46b3a0++)0x0==_0x5eb57d[_0x46b3a0][_0x581d30(0x1f5)]&&(_0x5eb57d[_0x46b3a0][_0x581d30(0x20d)]=_0x35d97c);_0x35d97c=0x0;for(let _0x56ca00=_0x3c989c-0x1;_0x56ca00>=_0x2c78eb;_0x56ca00--)0x0==_0x5eb57d[_0x56ca00][_0x581d30(0x215)]?_0x5eb57d[_0x56ca00][_0x581d30(0x20d)]=_0x35d97c:(_0x35d97c--,_0x5eb57d[_0x56ca00][_0x581d30(0x20d)]=_0x35d97c,_0x35d97c--);}}[_0xceb223(0x180)](_0x144b16){const _0x3fc2bf=_0xceb223,_0x104a58=new Map(),_0x55969c=this[_0x3fc2bf(0xfd)][_0x3fc2bf(0x1e1)][_0x3fc2bf(0x10a)];for(let _0x4df3d8=0x1;_0x4df3d8<_0x144b16[_0x3fc2bf(0x10d)];_0x4df3d8++){let _0x303236,_0x5c96d4,_0x32397c;const _0x12d107=_0x144b16[_0x4df3d8],_0x200477=_0x144b16[_0x4df3d8-0x1];if(_0x3fc2bf(0x15c)==_0x12d107[_0x3fc2bf(0x1f7)])continue;if(_0x12d107[_0x3fc2bf(0x1f7)]!=_0x200477[_0x3fc2bf(0x1f7)])continue;if(!_0x55969c[_0x3fc2bf(0x100)](_0x200477[_0x3fc2bf(0x1b3)])||_0x55969c[_0x3fc2bf(0x216)](_0x200477[_0x3fc2bf(0x1b3)]))continue;if(!_0x55969c[_0x3fc2bf(0x100)](_0x12d107[_0x3fc2bf(0x1b3)])||_0x55969c[_0x3fc2bf(0x216)](_0x12d107[_0x3fc2bf(0x1b3)]))continue;if((_0x144b16[_0x4df3d8][_0x3fc2bf(0x109)]||_0x144b16[_0x4df3d8][_0x3fc2bf(0x166)])&&_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x22a)])_0x303236=_0x144b16[_0x4df3d8],_0x5c96d4=_0x144b16[_0x4df3d8-0x1],_0x32397c=_0x4df3d8-0x1;else{if(!_0x144b16[_0x4df3d8][_0x3fc2bf(0x22a)]||!_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x109)]&&!_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x166)])continue;_0x303236=_0x144b16[_0x4df3d8-0x1],_0x5c96d4=_0x144b16[_0x4df3d8],_0x32397c=_0x4df3d8;}const _0x4362e6=_0x303236[_0x3fc2bf(0x20d)]==_0x5c96d4[_0x3fc2bf(0x20d)],_0x27e8de=Math[_0x3fc2bf(0x1bb)](_0x303236[_0x3fc2bf(0x20d)])<Math[_0x3fc2bf(0x1bb)](_0x5c96d4[_0x3fc2bf(0x20d)])&&0x0==_0x5c96d4[_0x3fc2bf(0x215)];(_0x4362e6||_0x27e8de)&&(_0x104a58[_0x3fc2bf(0x23a)](_0x5c96d4['id'],_0x303236['id']),_0x144b16[_0x3fc2bf(0x160)](_0x32397c,0x1),_0x4df3d8--,_0x303236[_0x3fc2bf(0x109)]=!0x1);}for(let _0x2d44f0=0x0;_0x2d44f0<_0x144b16[_0x3fc2bf(0x10d)];_0x2d44f0++)_0x104a58[_0x3fc2bf(0x11a)](_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)])&&(_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)]=_0x104a58[_0x3fc2bf(0x186)](_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)]));}[_0xceb223(0x14c)](_0x141cc3){const _0x19f254=_0xceb223,_0x5125cd=new Set(_0x141cc3[_0x19f254(0x185)](_0x34236b=>_0x34236b['id']));for(let _0x306790=0x0;_0x306790<_0x141cc3[_0x19f254(0x10d)];_0x306790++)_0x5125cd[_0x19f254(0x11a)](_0x141cc3[_0x306790][_0x19f254(0x17b)])||0x0==_0x141cc3[_0x306790][_0x19f254(0x215)]||(_0x141cc3[_0x306790][_0x19f254(0x1b2)]=!0x0);return _0x141cc3[_0x19f254(0x12b)](_0x407f82=>!_0x407f82[_0x19f254(0x1b2)]);}[_0xceb223(0x11f)](_0x6d66c4){const _0x1040a4=_0xceb223,_0x414609=new Set();for(let _0x44a1f0=0x0;_0x44a1f0<_0x6d66c4[_0x1040a4(0x10d)];_0x44a1f0++){if(_0x414609[_0x1040a4(0x11a)](_0x6d66c4[_0x44a1f0]['id'])&&_0x6d66c4[_0x44a1f0][_0x1040a4(0x22a)]&&(_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)]=!0x0),_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)])continue;if(0x0==_0x6d66c4[_0x44a1f0][_0x1040a4(0x215)])continue;if(_0x1040a4(0x121)!=_0x6d66c4[_0x44a1f0][_0x1040a4(0x1f7)])continue;if(null==_0x6d66c4[_0x44a1f0][_0x1040a4(0x17b)])continue;let _0xc70365=_0x44a1f0+0x1,_0x2fe5e3=0x0;for(;_0x6d66c4[_0xc70365]['id']!=_0x6d66c4[_0x44a1f0][_0x1040a4(0x17b)];)_0x1040a4(0x121)==_0x6d66c4[_0xc70365][_0x1040a4(0x1f7)]?_0x2fe5e3++:_0x1040a4(0x174)==_0x6d66c4[_0xc70365][_0x1040a4(0x1f7)]&&_0x2fe5e3--,_0xc70365++;if(0x0!=_0x2fe5e3){if(_0x6d66c4[_0x44a1f0][_0x1040a4(0x22a)])_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)]=!0x0;else{for(;_0xc70365!=_0x44a1f0;)_0x6d66c4[_0xc70365][_0x1040a4(0x22a)]&&0x0!=_0x6d66c4[_0xc70365][_0x1040a4(0x215)]&&(_0x6d66c4[_0xc70365][_0x1040a4(0x1b2)]=!0x0,_0x414609[_0x1040a4(0x1d3)](_0x6d66c4[_0xc70365][_0x1040a4(0x17b)])),_0xc70365--;}}}return _0x6d66c4[_0x1040a4(0x12b)](_0x56a806=>!_0x56a806[_0x1040a4(0x1b2)]);}[_0xceb223(0x227)](_0x4f2571){const _0x278f07=_0xceb223,_0x227f38=this[_0x278f07(0xfd)][_0x278f07(0x1e1)][_0x278f07(0x10a)];for(let _0x880b15=0x0;_0x880b15<_0x4f2571[_0x278f07(0x10d)];_0x880b15++){if(!(_0x4f2571[_0x880b15][_0x278f07(0x109)]||_0x4f2571[_0x880b15][_0x278f07(0x166)]||_0x4f2571[_0x880b15][_0x278f07(0x22a)]||_0x4f2571[_0x880b15][_0x278f07(0x17c)]))continue;if(0x0==_0x4f2571[_0x880b15][_0x278f07(0x215)])continue;const _0x47220e=_0x4f2571[_0x880b15][_0x278f07(0x1b3)];_0x227f38[_0x278f07(0x100)](_0x47220e)||_0x227f38[_0x278f07(0x216)](_0x47220e)||(_0x4f2571[_0x880b15][_0x278f07(0x109)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x109)],_0x4f2571[_0x880b15][_0x278f07(0x166)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x166)],_0x4f2571[_0x880b15][_0x278f07(0x17c)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x17c)],_0x4f2571[_0x880b15][_0x278f07(0x22a)]&&(_0x4f2571[_0x880b15][_0x278f07(0x1b2)]=!0x0));}return _0x4f2571[_0x278f07(0x12b)](_0x556ee8=>!_0x556ee8[_0x278f07(0x1b2)]);}[_0xceb223(0x15e)](_0x2767bc,_0x3eff0f,_0xb46054){const _0x8831b4=_0xceb223,_0x253063=new _0x44498c(),_0x81e78=[],_0x1fbde2=new Map(),_0x3cf84d=this[_0x8831b4(0xfd)][_0x8831b4(0x1e1)],_0x4d9bc6=_0x3cf84d[_0x8831b4(0x10a)],_0x41c35c=[_0x253063],_0x124c85={},_0x468c9f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x595f14=null;const _0x1216d9=[0x0];for(let _0x138b6a=0x0;_0x138b6a<_0x2767bc[_0x8831b4(0x10d)];_0x138b6a++){let _0x1f55e6,_0x28639e;if(_0x8831b4(0x121)===_0x2767bc[_0x138b6a][_0x8831b4(0x1f7)]){_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9);const _0x587c4d=new _0x451d80(_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x22d)],_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x127)]());_0x41c35c[0x0][_0x8831b4(0x15f)](_0x587c4d),_0x1216d9[_0x8831b4(0x103)](0x0),_0x41c35c[_0x8831b4(0x1ad)](_0x587c4d),_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14=null;}else{if(_0x8831b4(0x174)===_0x2767bc[_0x138b6a][_0x8831b4(0x1f7)])_0x41c35c[_0x8831b4(0x1a9)](),_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x1216d9[_0x8831b4(0x182)](),_0x1216d9[_0x1216d9[_0x8831b4(0x10d)]-0x1]++,_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14=null;else{if(_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14&&_0x3136ed(_0x595f14,_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)]))_0x595f14[_0x8831b4(0x225)]+=_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x1f0)];else{const _0x571b45=new _0x282e41(_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x1f0)],_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x127)]());_0x41c35c[0x0][_0x8831b4(0x15f)](_0x571b45),_0x595f14=_0x571b45;}_0x1216d9[_0x1216d9[_0x8831b4(0x10d)]-0x1]+=_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x136)],_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9);}}for(const _0x1b6c76 of _0x2767bc[_0x138b6a][_0x8831b4(0x10e)])_0x1fbde2[_0x8831b4(0x23a)](_0x1b6c76,{'start':_0x1f55e6,'end':null});_0x48b12d(_0x8831b4(0x17c),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x166),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x22a),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x109),_0x138b6a,_0x1f55e6,_0x28639e);for(const _0x4f12a4 of _0x2767bc[_0x138b6a][_0x8831b4(0xf7)]){_0x1fbde2[_0x8831b4(0x186)](_0x4f12a4)[_0x8831b4(0x222)]=_0x28639e;}}for(const [_0x51e82b,_0x4ad00a]of _0x1fbde2){const _0x12286e=this[_0x8831b4(0xfd)][_0x8831b4(0x1e1)][_0x8831b4(0x137)](_0x4ad00a[_0x8831b4(0x113)],_0x4ad00a[_0x8831b4(0x222)]);_0x253063[_0x8831b4(0x18b)][_0x8831b4(0x23a)](_0x51e82b,_0x12286e);}return _0x81e78[_0x8831b4(0x1ce)]((_0x1d54cc,_0x5bd3fe)=>{const _0x462ffe=_0x8831b4,_0x16e52b=_0x253063[_0x462ffe(0x18b)][_0x462ffe(0x186)](_0x462ffe(0x117)+_0x1d54cc['id']),_0x437a62=_0x253063[_0x462ffe(0x18b)][_0x462ffe(0x186)](_0x462ffe(0x117)+_0x5bd3fe['id']);return _0x16e52b[_0x462ffe(0x113)][_0x462ffe(0x1c9)](_0x437a62[_0x462ffe(0x113)])?-0x1:_0x16e52b[_0x462ffe(0x113)][_0x462ffe(0x187)](_0x437a62[_0x462ffe(0x113)])?0x1:_0x16e52b[_0x462ffe(0x222)][_0x462ffe(0x1c9)](_0x437a62[_0x462ffe(0x222)])?-0x1:_0x16e52b[_0x462ffe(0x222)][_0x462ffe(0x187)](_0x437a62[_0x462ffe(0x222)])?0x1:_0x462ffe(0x1d3)===_0x1d54cc[_0x462ffe(0x1f7)]?-0x1:0x1;}),{'root':_0x253063,'changes':_0x81e78};function _0x48b12d(_0x4c8c2b,_0x431a19,_0x1a958d,_0x471f3f){const _0x4872f7=_0x8831b4,_0x28b22d=!!_0x2767bc[_0x431a19][_0x4c8c2b],_0x10063f=_0x28b22d?_0x2767bc[_0x431a19][_0x4c8c2b][_0x4872f7(0x1bc)]:null,_0x4175c7=_0x431a19===_0x2767bc[_0x4872f7(0x10d)]-0x1,_0x5e3270=_0x468c9f[_0x4c8c2b][0x0],_0x42819a=_0x4d9bc6[_0x4872f7(0x1ee)](_0x2767bc[_0x431a19][_0x4872f7(0x1b3)]);!_0x124c85[_0x4c8c2b]&&_0x28b22d?_0x124c85[_0x4c8c2b]={'start':_0x1a958d,'tapeItem':_0x2767bc[_0x431a19],'userId':_0x10063f,'type':_0x4c8c2b}:_0x124c85[_0x4c8c2b]&&!_0x28b22d?(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x1a958d,_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]=null):_0x124c85[_0x4c8c2b]&&_0x28b22d&&_0x124c85[_0x4c8c2b][_0x4872f7(0x1bc)]!==_0x10063f&&(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x1a958d,_0x5e3270&&_0x5e3270[_0x4872f7(0x1bc)]===_0x124c85[_0x4c8c2b][_0x4872f7(0x1bc)]||_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]={'start':_0x1a958d,'tapeItem':_0x2767bc[_0x431a19],'userId':_0x10063f,'type':_0x4c8c2b}),_0x124c85[_0x4c8c2b]&&_0x42819a&&(_0x4872f7(0x121)!==_0x2767bc[_0x431a19][_0x4872f7(0x1f7)]||_0x5e3270&&_0x5e3270[_0x4872f7(0x1bc)]===_0x10063f||_0x468c9f[_0x4c8c2b][_0x4872f7(0x1ad)]({'userId':_0x10063f,'object':_0x2767bc[_0x431a19][_0x4872f7(0x1b3)],'change':_0x124c85[_0x4c8c2b]}),_0x4872f7(0x174)===_0x2767bc[_0x431a19][_0x4872f7(0x1f7)]&&_0x5e3270&&_0x5e3270[_0x4872f7(0x107)]===_0x2767bc[_0x431a19][_0x4872f7(0x1b3)]&&(_0x468c9f[_0x4c8c2b][_0x4872f7(0x1a9)](),_0x124c85[_0x4c8c2b]=_0x5e3270[_0x4872f7(0x18e)])),_0x124c85[_0x4c8c2b]&&_0x4175c7&&(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x471f3f,_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]=null);}function _0x51c9dd({start:_0x4fd8ea,end:_0x23f500,tapeItem:_0x3ca332,userId:_0x20ccbe,type:_0x57ee1a}){const _0x3715be=_0x8831b4,_0x431121=_0x3ca332[_0x3715be(0x1b3)],_0x36fac0=_0x3cf84d[_0x3715be(0x10a)][_0x3715be(0x100)](_0x431121)&&!_0x3cf84d[_0x3715be(0x10a)][_0x3715be(0x216)](_0x431121),_0x2ca256=_0x4fd8ea[_0x3715be(0x10c)]==_0x23f500[_0x3715be(0x177)]&&_0x23f500[_0x3715be(0xfe)];if(_0x36fac0&&_0x2ca256)return;const _0x37a872=_0x3cf84d[_0x3715be(0x137)](_0x4fd8ea,_0x23f500),_0x5df341=_0x3eff0f[_0x3715be(0x186)](_0x20ccbe),_0x2e44cc=new _0x2a3edc({'author':_0x5df341,'type':_0x3715be(0x109)==_0x57ee1a||_0x3715be(0x166)==_0x57ee1a?_0x3715be(0x1d3):_0x3715be(0x16a),'data':{'isSuggestion':_0x3715be(0x166)==_0x57ee1a||_0x3715be(0x17c)==_0x57ee1a},'createdAt':new Date(),'rootName':_0xb46054});_0x81e78[_0x3715be(0x103)](_0x2e44cc),_0x253063[_0x3715be(0x18b)][_0x3715be(0x23a)](_0x3715be(0x117)+_0x2e44cc['id'],_0x37a872);}function _0x3136ed(_0x5c4662,_0x28dd16){const _0x3acd5a=_0x8831b4,_0x1584a7=_0x5c4662[_0x3acd5a(0x127)](),_0x50d966=_0x28dd16[_0x3acd5a(0x127)]();for(const _0x19d338 of _0x1584a7){if(_0x19d338[0x1]!==_0x28dd16[_0x3acd5a(0x11e)](_0x19d338[0x0]))return!0x1;_0x50d966[_0x3acd5a(0x161)]();}return _0x50d966[_0x3acd5a(0x161)]()[_0x3acd5a(0x221)];}}[_0xceb223(0x1cc)](){const _0xbd02a4=_0xceb223;this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x1d2)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0xfc))[_0xbd02a4(0x1b5)]({'model':_0xbd02a4(0x1d2),'view':_0x45b363=>{const _0xf18f89=_0xbd02a4,_0x41ea30=_0x45b363[_0xf18f89(0x200)][_0xf18f89(0x145)](':')[0x1],_0x4a7736=this[_0xf18f89(0x139)](_0x41ea30);if(!_0x4a7736)return null;const _0x2e0b34=_0xf18f89(0x1d3)==_0x4a7736[_0xf18f89(0x1f7)]?_0xf18f89(0x120):_0xf18f89(0x14f),_0x2d5905=[_0xf18f89(0x147),_0xf18f89(0x1a7)+_0x2e0b34];return _0x4a7736[_0xf18f89(0x1f0)][_0xf18f89(0x207)]&&_0x2d5905[_0xf18f89(0x103)](_0xf18f89(0x1a7)+_0x2e0b34+_0xf18f89(0x22f)),this[_0xf18f89(0x115)]==_0x4a7736&&_0x2d5905[_0xf18f89(0x103)](_0xf18f89(0x10f)),{'classes':_0x2d5905,'attributes':{'data-change-id':_0x41ea30}};}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x1d3)](_0x575ae1=>{const _0x27caaa=_0xbd02a4;_0x575ae1['on'](_0x27caaa(0x229),(_0x224d9a,_0x2aabe7,_0x5b8de7)=>{const _0x448cf1=_0x27caaa,_0x2fd5ba=_0x2aabe7[_0x448cf1(0x1b6)][_0x448cf1(0xf9)](0x0);if(!_0x2fd5ba||!_0x2fd5ba['is'](_0x448cf1(0x23c),_0x448cf1(0x1e9)))return;if(!_0x5b8de7[_0x448cf1(0x18c)][_0x448cf1(0x13e)](_0x2fd5ba,{'attributes':[_0x448cf1(0x1ac),_0x448cf1(0x1af)]}))return;const _0x38b2b3=_0x2aabe7[_0x448cf1(0x1b0)][_0x448cf1(0x113)][_0x448cf1(0x10c)];_0x5b8de7[_0x448cf1(0x18d)][_0x448cf1(0x181)](_0x448cf1(0x1ac),_0x2fd5ba[_0x448cf1(0x11e)](_0x448cf1(0x1ac)),_0x38b2b3),_0x5b8de7[_0x448cf1(0x18d)][_0x448cf1(0x181)](_0x448cf1(0x1af),_0x2fd5ba[_0x448cf1(0x11e)](_0x448cf1(0x1af)),_0x38b2b3);},{'priority':_0x27caaa(0x1ef)});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x1d3)](_0x281b65=>{const _0x3a594c=_0xbd02a4;_0x281b65['on'](_0x3a594c(0x23c),(_0x37a1e5,_0xa352ca,_0x418040)=>{const _0x5515e8=_0x3a594c;if(!_0x418040[_0x5515e8(0x18c)][_0x5515e8(0x13e)](_0xa352ca[_0x5515e8(0x1b6)],{'attributes':[_0x5515e8(0x1ac),_0x5515e8(0x1af)]}))return;if(_0xa352ca[_0x5515e8(0x1b0)][_0x5515e8(0x1d0)])return;const _0x35d5aa=_0xa352ca[_0x5515e8(0x1b0)][_0x5515e8(0x113)][_0x5515e8(0x10c)];_0x35d5aa[_0x5515e8(0x23b)](_0x5515e8(0x1ac))||_0x35d5aa[_0x5515e8(0x23b)](_0x5515e8(0x11b))||(_0x418040[_0x5515e8(0x18d)][_0x5515e8(0x181)](_0x5515e8(0x1ac),_0xa352ca[_0x5515e8(0x1b6)][_0x5515e8(0x11e)](_0x5515e8(0x1ac)),_0x35d5aa),_0x418040[_0x5515e8(0x18d)][_0x5515e8(0x181)](_0x5515e8(0x1af),_0xa352ca[_0x5515e8(0x1b6)][_0x5515e8(0x11e)](_0x5515e8(0x1af)),_0x35d5aa));},{'priority':_0x3a594c(0x1ef)});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x199)]({'view':{'name':_0xbd02a4(0x1ca),'attributes':{'vid':!0x0}},'model':{'key':_0xbd02a4(0x11b),'value':_0x173359=>_0x173359[_0xbd02a4(0x11e)](_0xbd02a4(0x11b))}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1e1)][_0xbd02a4(0x10a)]['on'](_0xbd02a4(0x159),(_0x13fedd,[,_0x22aba9])=>{const _0x4a5cd6=_0xbd02a4;[_0x4a5cd6(0x1ac),_0x4a5cd6(0x1af),_0x4a5cd6(0x11b)][_0x4a5cd6(0x1dd)](_0x22aba9)&&(_0x13fedd[_0x4a5cd6(0x125)]=!0x0,_0x13fedd[_0x4a5cd6(0x143)]());},{'priority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x1d3)](_0xfea504=>{const _0x595132=_0xbd02a4;_0xfea504['on'](_0x595132(0x1bf),(_0x345a7f,_0x258f23,_0x40f256)=>{const _0x23932b=_0x595132;if('\x20'!=_0x258f23[_0x23932b(0x1b3)][_0x23932b(0x1f0)]||_0x258f23[_0x23932b(0x1b3)][_0x23932b(0x177)][_0x23932b(0x141)]>0x1)return;if(!_0x40f256[_0x23932b(0x18c)][_0x23932b(0x13e)](_0x258f23[_0x23932b(0x1b3)],_0x345a7f[_0x23932b(0x22d)]))return;const _0x39d40b=_0x40f256[_0x23932b(0x18d)],_0x179f9e=_0x40f256[_0x23932b(0x104)][_0x23932b(0x23e)](_0x258f23[_0x23932b(0x13f)]);_0x39d40b[_0x23932b(0x20c)](_0x179f9e,_0x39d40b[_0x23932b(0x210)](_0x23932b(0x1ca)));});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x21c)]({'model':_0xbd02a4(0x1d2)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1f2),function(_0x381bcf){const _0xfb9b74=_0xbd02a4,_0x3d6bbe=_0x381bcf[_0xfb9b74(0xf8)][_0xfb9b74(0x186)](_0xfb9b74(0x1a4));return(_0x2c788b,_0x194e77,_0x2fb08a)=>{const _0xfc6470=_0xfb9b74,_0x2c437c=_0x194e77[_0xfc6470(0x200)][_0xfc6470(0x145)](':')[0x1],_0x305ab6=_0x3d6bbe[_0xfc6470(0x139)](_0x2c437c);if(!_0x305ab6)return null;const _0x1e799f=_0xfc6470(0x1d3)==_0x305ab6[_0xfc6470(0x1f7)]?_0xfc6470(0x145):_0xfc6470(0x1b7);if(!_0x2fb08a[_0xfc6470(0x18c)][_0xfc6470(0x189)](_0x194e77[_0xfc6470(0x1fb)],_0x2c788b[_0xfc6470(0x22d)]))return;const _0x5532c6=_0x194e77[_0xfc6470(0x1fb)][_0xfc6470(0x206)](),_0x5719a7=_0x194e77[_0xfc6470(0x1fb)][_0xfc6470(0x113)],_0x17c474=_0x381bcf[_0xfc6470(0x1e1)][_0xfc6470(0x10a)];let _0x1ef2ca=null,_0x409999=null,_0x7d51=!0x1,_0x58edd8=!0x1;for(const _0x5937a3 of _0x5532c6){const _0x15c57e=_0x5937a3[_0xfc6470(0x1b3)];_0x7d51=_0x7d51||_0x17c474[_0xfc6470(0x226)](_0x15c57e);const _0x42a853=_0x2fb08a[_0xfc6470(0x104)][_0xfc6470(0x23f)](_0x15c57e);if(_0x42a853&&_0x42a853[_0xfc6470(0x20f)](_0xfc6470(0x1c2)))return;_0xfc6470(0x174)==_0x5937a3[_0xfc6470(0x1f7)]&&(_0x17c474[_0xfc6470(0x100)](_0x15c57e)&&!_0x17c474[_0xfc6470(0x216)](_0x15c57e)&&(_0x15c57e[_0xfc6470(0x105)]||_0x5719a7[_0xfc6470(0x230)]?_0x1ef2ca&&_0x1ef2ca[_0xfc6470(0x177)]==_0x15c57e||(_0x1ef2ca=_0x15c57e,_0x56f18a(_0x5937a3[_0xfc6470(0x163)]),_0x58edd8=!0x0):_0x409999=_0x409999||_0x5937a3[_0xfc6470(0x163)]));}function _0x56f18a(_0x2656e4){const _0x23125e=_0xfc6470,_0x2eb688=_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x168)](_0x23125e(0x1ca),{'class':_0x23125e(0x1a7)+_0x1e799f}),_0x34b440=_0x2fb08a[_0x23125e(0x104)][_0x23125e(0xfb)](_0x2656e4);_0x305ab6[_0x23125e(0x1f0)][_0x23125e(0x207)]&&_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x18f)](_0x23125e(0x1a7)+_0x1e799f+_0x23125e(0x22f),_0x2eb688),_0x3d6bbe[_0x23125e(0x115)]==_0x305ab6&&_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x18f)](_0x23125e(0x10f),_0x2eb688),_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x110)](_0x34b440,_0x2eb688),_0x2fb08a[_0x23125e(0x104)][_0x23125e(0x171)](_0x2eb688,_0x194e77[_0x23125e(0x200)]);}_0x7d51||_0x58edd8||!_0x409999||_0x56f18a(_0x409999);};}(this[_0xbd02a4(0xfd)]),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x231),(_0xb951f3,_0x58b877,_0x2718c3)=>{const _0x336fe0=_0xbd02a4,_0x27030f=_0x2718c3[_0x336fe0(0x104)][_0x336fe0(0x217)](_0x58b877[_0x336fe0(0x200)]);if(_0x27030f){for(const _0x41710e of _0x27030f)(_0x41710e[_0x336fe0(0x1e5)](_0x336fe0(0x164))||_0x41710e[_0x336fe0(0x1e5)](_0x336fe0(0x1eb)))&&(_0x2718c3[_0x336fe0(0x104)][_0x336fe0(0x1aa)](_0x41710e,_0x58b877[_0x336fe0(0x200)]),_0x2718c3[_0x336fe0(0x18d)][_0x336fe0(0x16a)](_0x41710e));}},{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1f2),(_0x392474,_0x32937a,_0x40f844)=>{const _0x51317b=_0xbd02a4,_0x185bc6=_0x32937a[_0x51317b(0x200)][_0x51317b(0x145)](':')[0x1],_0x183b24=this[_0x51317b(0x139)](_0x185bc6);if(!_0x183b24)return null;const _0x503817=_0x51317b(0x1d3)==_0x183b24[_0x51317b(0x1f7)]?_0x51317b(0x145):_0x51317b(0x1b7);if(_0x40f844[_0x51317b(0x18c)][_0x51317b(0x189)](_0x32937a[_0x51317b(0x1fb)],_0x392474[_0x51317b(0x22d)]))for(const _0x2279c0 of _0x32937a[_0x51317b(0x1fb)][_0x51317b(0x1f8)]()){if(!_0x2279c0['is'](_0x51317b(0x23c),_0x51317b(0x19d)))continue;const _0xb06ec6=_0x40f844[_0x51317b(0x18d)][_0x51317b(0x168)](_0x51317b(0x1ca),{'class':_0x51317b(0x1a7)+_0x503817}),_0x46683c=_0x40f844[_0x51317b(0x104)][_0x51317b(0xfb)](this[_0x51317b(0xfd)][_0x51317b(0x1e1)][_0x51317b(0x188)](_0x2279c0));_0x183b24[_0x51317b(0x1f0)][_0x51317b(0x207)]&&_0x40f844[_0x51317b(0x18d)][_0x51317b(0x18f)](_0x51317b(0x1a7)+_0x503817+_0x51317b(0x22f),_0xb06ec6),this[_0x51317b(0x115)]==_0x183b24&&_0x40f844[_0x51317b(0x18d)][_0x51317b(0x18f)](_0x51317b(0x10f),_0xb06ec6),_0x40f844[_0x51317b(0x18d)][_0x51317b(0x110)](_0x46683c,_0xb06ec6),_0x40f844[_0x51317b(0x104)][_0x51317b(0x171)](_0xb06ec6,_0x32937a[_0x51317b(0x200)]);}},{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1e1)][_0xbd02a4(0x190)]['on'](_0xbd02a4(0x18e),()=>{const _0x1b8b0a=_0xbd02a4;this[_0x1b8b0a(0xfd)][_0x1b8b0a(0x1c1)][_0x1b8b0a(0x126)][_0x1b8b0a(0x18e)](_0x5322e8=>{const _0x46e26b=_0x1b8b0a;for(const _0x2ba73e of this[_0x46e26b(0xfd)][_0x46e26b(0x1e1)][_0x46e26b(0x190)][_0x46e26b(0x14a)]()){const _0xb1021a=this[_0x46e26b(0xfd)][_0x46e26b(0x1e1)][_0x46e26b(0x190)][_0x46e26b(0x1ff)](_0x2ba73e),_0x4b2234=this[_0x46e26b(0xfd)][_0x46e26b(0x1c1)][_0x46e26b(0x126)][_0x46e26b(0x190)][_0x46e26b(0x1ff)](_0x2ba73e);if(_0x4b2234){const _0x57b860=_0xb1021a[_0x46e26b(0x11e)](_0x46e26b(0x1bd));if(_0x5322e8[_0x46e26b(0x234)](_0x46e26b(0x16d),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x232),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x1f1),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x1d8),_0x4b2234),_0x57b860){const _0x173baa=this[_0x46e26b(0x139)](_0x57b860);if(!_0x173baa)return null;_0x5322e8[_0x46e26b(0x181)](_0x46e26b(0x16d),_0x57b860,_0x4b2234),_0x5322e8[_0x46e26b(0x18f)](_0x46e26b(0x112)+_0x173baa[_0x46e26b(0x1f7)],_0x4b2234),this[_0x46e26b(0x115)]==_0x173baa&&_0x5322e8[_0x46e26b(0x18f)](_0x46e26b(0x1d8),_0x4b2234);}}}});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x13c),'model':_0xa98a85=>_0xbd02a4(0x167)+_0xa98a85,'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x208),'model':_0x3bcf32=>_0xbd02a4(0x15b)+_0x3bcf32,'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x21c)]({'model':_0xbd02a4(0x191),'view':_0x2bd6fe=>({'name':_0xbd02a4(0x12a)+_0x2bd6fe,'group':_0xbd02a4(0x191)}),'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0xfc))[_0xbd02a4(0x1b5)]({'model':_0xbd02a4(0x191),'view':_0x2ac05b=>{const _0xc3c8f6=_0xbd02a4,_0x4d6f02=_0x2ac05b[_0xc3c8f6(0x200)][_0xc3c8f6(0x145)](':')[0x1];return _0xc3c8f6(0x120)!=_0x4d6f02&&_0xc3c8f6(0x14f)!=_0x4d6f02?null:{'classes':[_0xc3c8f6(0x12c),_0xc3c8f6(0x202)+_0x4d6f02]};}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1b8),et(this[_0xbd02a4(0xfd)],_0xbd02a4(0x1b7)),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x134),et(this[_0xbd02a4(0xfd)],_0xbd02a4(0x145)),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x129),(_0x293cdd,_0x4a2f24,_0x54b956)=>{const _0x18e1e7=_0xbd02a4,_0x49e780=_0x54b956[_0x18e1e7(0x104)][_0x18e1e7(0x217)](_0x4a2f24[_0x18e1e7(0x200)]);if(_0x49e780){for(const _0x104591 of _0x49e780)_0x104591['is'](_0x18e1e7(0x123))&&(_0x54b956[_0x18e1e7(0x104)][_0x18e1e7(0x1aa)](_0x104591,_0x4a2f24[_0x18e1e7(0x200)]),_0x54b956[_0x18e1e7(0x18d)][_0x18e1e7(0x16a)](_0x104591));}},{'priority':_0xbd02a4(0x228)});}[_0xceb223(0x139)](_0x482bc7){const _0x448200=_0xceb223;return this[_0x448200(0x203)][_0x448200(0x186)](_0x482bc7);}[_0xceb223(0x1be)](_0x103c6d){const _0x17b652=_0xceb223;return this[_0x17b652(0x132)]&&this[_0x17b652(0x132)][_0x17b652(0x148)](),this[_0x17b652(0x132)]=new _0x1dcf4f(this[_0x17b652(0xfd)][_0x17b652(0x1b9)],_0x103c6d),this[_0x17b652(0x132)];}[_0xceb223(0x1e6)](){const _0x202720=_0xceb223;this[_0x202720(0xfd)][_0x202720(0x1e1)][_0x202720(0x190)][_0x202720(0x1c4)][_0x202720(0x17e)](_0x202720(0x1d2)),this['on'](_0x202720(0x1e4),(_0x4b592b,_0x45b6b3,_0x4ed053,_0x5658b2)=>{const _0x49e6e3=_0x202720;_0x5658b2&&this[_0x49e6e3(0x1d5)][_0x49e6e3(0x16a)](_0x5658b2),_0x4ed053&&(this[_0x49e6e3(0x1d5)][_0x49e6e3(0x1d3)]({'view':_0x4ed053,'stackId':_0x49e6e3(0x211),'position':{'target':()=>{const _0x39db7e=_0x49e6e3,_0x46ad4a=this[_0x39db7e(0xfd)][_0x39db7e(0x1c1)],_0x3a8b02=this[_0x39db7e(0x139)](_0x4ed053[_0x39db7e(0x144)]);let _0x15e8d9;if(_0x3a8b02[_0x39db7e(0x1f0)][_0x39db7e(0x16f)]){const _0x4736dc=_0x46ad4a[_0x39db7e(0x126)][_0x39db7e(0x1a2)](_0x3a8b02[_0x39db7e(0x238)]);_0x15e8d9=Array[_0x39db7e(0x1db)](_0x4736dc[_0x39db7e(0x116)]());}else{const _0x5b9197=this[_0x39db7e(0xfd)][_0x39db7e(0x1e1)][_0x39db7e(0x18b)][_0x39db7e(0x186)](_0x39db7e(0x117)+_0x4ed053[_0x39db7e(0x144)]);_0x15e8d9=Array[_0x39db7e(0x1db)](_0x46ad4a[_0x39db7e(0x104)][_0x39db7e(0x217)](_0x5b9197[_0x39db7e(0x22d)]))[_0x39db7e(0x185)](_0x60b11=>_0x46ad4a[_0x39db7e(0x126)][_0x39db7e(0x1e7)][_0x39db7e(0x198)](_0x60b11))[_0x39db7e(0x185)](_0x2de997=>Array[_0x39db7e(0x1db)](_0x2de997[_0x39db7e(0x116)]()))[_0x39db7e(0x119)]();}if(!this[_0x39db7e(0x1fd)])return _0x15e8d9[0x0];return _0x15e8d9[_0x39db7e(0x220)](_0x453959=>_0x453959[_0x39db7e(0x218)]-0x3<=this[_0x39db7e(0x1fd)]['y']&&_0x453959[_0x39db7e(0x1e2)]+0x3>=this[_0x39db7e(0x1fd)]['y']&&_0x453959[_0x39db7e(0x1ed)]-0x3<=this[_0x39db7e(0x1fd)]['x']&&_0x453959[_0x39db7e(0x1e0)]+0x3>=this[_0x39db7e(0x1fd)]['x'])||_0x15e8d9[0x0];}}}),this[_0x49e6e3(0x1d5)][_0x49e6e3(0x11d)](_0x49e6e3(0x211)));}),this['on'](_0x202720(0x1a8),(_0x3ae0a3,_0x1d6670,_0x59dcfd,_0x34fe0d)=>{const _0x443458=_0x202720;this[_0x443458(0x22e)]=_0x59dcfd?this[_0x443458(0x1be)](_0x59dcfd):null,this[_0x443458(0xfd)][_0x443458(0x1e1)][_0x443458(0x18e)](()=>{const _0x12887d=_0x443458,_0x2c905b=this[_0x12887d(0xfd)][_0x12887d(0x1c1)];_0x34fe0d&&(_0x34fe0d[_0x12887d(0x1f0)][_0x12887d(0x16f)]?_0x2c905b[_0x12887d(0x126)][_0x12887d(0x18e)](_0x4db125=>{const _0x284a73=_0x12887d;_0x4db125[_0x284a73(0x1f9)](_0x284a73(0x1d8),_0x2c905b[_0x284a73(0x126)][_0x284a73(0x190)][_0x284a73(0x1ff)](_0x34fe0d[_0x284a73(0x238)]));}):_0x2c905b[_0x12887d(0x21d)](_0x12887d(0x117)+_0x34fe0d['id'])),_0x59dcfd&&(_0x59dcfd[_0x12887d(0x1f0)][_0x12887d(0x16f)]?_0x2c905b[_0x12887d(0x126)][_0x12887d(0x18e)](_0x2d5c1d=>{const _0x419d27=_0x12887d;_0x2d5c1d[_0x419d27(0x18f)](_0x419d27(0x1d8),_0x2c905b[_0x419d27(0x126)][_0x419d27(0x190)][_0x419d27(0x1ff)](_0x59dcfd[_0x419d27(0x238)]));}):_0x2c905b[_0x12887d(0x21d)](_0x12887d(0x117)+_0x59dcfd['id']));});}),this[_0x202720(0x1c3)](this[_0x202720(0xfd)][_0x202720(0x1c1)][_0x202720(0x126)][_0x202720(0x190)],_0x202720(0x223),(_0x177af4,_0x31e35f)=>{const _0x43f117=_0x202720;if(this[_0x43f117(0x115)])return;const _0x46aa9f=this[_0x43f117(0x13b)](_0x31e35f[_0x43f117(0x142)]),_0x35676d=this[_0x43f117(0x203)][_0x43f117(0x186)](_0x46aa9f);_0x35676d?(this[_0x43f117(0x1fd)]={'x':_0x31e35f[_0x43f117(0x237)]['x'],'y':_0x31e35f[_0x43f117(0x237)]['y']},this[_0x43f117(0x22e)]=this[_0x43f117(0x1be)](_0x35676d)):(this[_0x43f117(0x1fd)]=null,this[_0x43f117(0x22e)]=null);}),this[_0x202720(0x1c3)](this[_0x202720(0xfd)][_0x202720(0x1c1)][_0x202720(0x126)][_0x202720(0x190)],_0x202720(0x233),(_0x206314,_0x2ff3f9)=>{const _0xdf3d29=_0x202720,_0x1dab50=this[_0xdf3d29(0x13b)](_0x2ff3f9[_0xdf3d29(0x142)]),_0x3f537e=this[_0xdf3d29(0x203)][_0xdf3d29(0x186)](_0x1dab50);_0x3f537e?(this[_0xdf3d29(0x1fd)]={'x':_0x2ff3f9[_0xdf3d29(0x237)]['x'],'y':_0x2ff3f9[_0xdf3d29(0x237)]['y']},_0x3f537e===this[_0xdf3d29(0x115)]?this[_0xdf3d29(0x1d5)][_0xdf3d29(0x1c5)]():this[_0xdf3d29(0x115)]=_0x3f537e):(this[_0xdf3d29(0x1fd)]=null,this[_0xdf3d29(0x115)]=null);});}[_0xceb223(0x13b)](_0x2aa4a4){const _0x16a5cb=_0xceb223;do{const _0x2e4d87=_0x2aa4a4[_0x16a5cb(0x11e)](_0x16a5cb(0x16d));if(_0x2e4d87)return _0x2e4d87;_0x2aa4a4=_0x2aa4a4[_0x16a5cb(0x177)];}while(_0x2aa4a4);return null;}[_0xceb223(0x17a)](){const _0x1e119a=_0xceb223;this[_0x1e119a(0xfd)][_0x1e119a(0x1e1)][_0x1e119a(0x18e)](_0x431f0e=>{const _0x53ad8a=_0x1e119a;for(const _0x236c8c of this[_0x53ad8a(0xfd)][_0x53ad8a(0x1e1)][_0x53ad8a(0x18b)])_0x431f0e[_0x53ad8a(0x172)](_0x236c8c);});}}function et(_0xc7e5ca,_0x2ff8e4){return(_0x29a16d,_0x21f319,_0x4b3b85)=>{const _0x10f443=_0x12a7;if(!_0x4b3b85[_0x10f443(0x18c)][_0x10f443(0x189)](_0x21f319[_0x10f443(0x1fb)],_0x29a16d[_0x10f443(0x22d)]))return;const _0x708d85=_0x21f319[_0x10f443(0x1fb)][_0x10f443(0x206)](),_0x156bf5=_0x21f319[_0x10f443(0x1fb)][_0x10f443(0x113)],_0x5a8551=_0xc7e5ca[_0x10f443(0x1e1)][_0x10f443(0x10a)];let _0x560c9c=null,_0x2d37ed=null,_0x5f5385=!0x1,_0xd550f9=!0x1;for(const _0x14a5c7 of _0x708d85){const _0x2951ef=_0x14a5c7[_0x10f443(0x1b3)];_0x5f5385=_0x5f5385||_0x5a8551[_0x10f443(0x226)](_0x2951ef);const _0x3e5860=_0x4b3b85[_0x10f443(0x104)][_0x10f443(0x23f)](_0x2951ef);if(_0x3e5860&&_0x3e5860[_0x10f443(0x20f)](_0x10f443(0x1c2)))return;_0x10f443(0x174)==_0x14a5c7[_0x10f443(0x1f7)]&&(_0x5a8551[_0x10f443(0x100)](_0x2951ef)&&!_0x5a8551[_0x10f443(0x216)](_0x2951ef)&&(_0x2951ef[_0x10f443(0x105)]||_0x156bf5[_0x10f443(0x230)]?_0x560c9c&&_0x560c9c[_0x10f443(0x177)]==_0x2951ef||(_0x560c9c=_0x2951ef,_0x523952(_0x14a5c7[_0x10f443(0x163)]),_0xd550f9=!0x0):_0x2d37ed=_0x2d37ed||_0x14a5c7[_0x10f443(0x163)]));}function _0x523952(_0x44b334){const _0x26d54f=_0x10f443,_0x2d8cf5=_0x4b3b85[_0x26d54f(0x104)][_0x26d54f(0xfb)](_0x44b334),_0x2c1f02=_0x4b3b85[_0x26d54f(0x18d)][_0x26d54f(0x168)](_0x26d54f(0x1ca),{'class':_0x26d54f(0x202)+_0x2ff8e4});_0x4b3b85[_0x26d54f(0x18d)][_0x26d54f(0x110)](_0x2d8cf5,_0x2c1f02),_0x4b3b85[_0x26d54f(0x104)][_0x26d54f(0x171)](_0x2c1f02,_0x21f319[_0x26d54f(0x200)]);}_0x5f5385||_0xd550f9||!_0x2d37ed||_0x523952(_0x2d37ed);};}export class RestoreRevisionCommand extends _0x3fef62{constructor(_0xf99b85){const _0x54f882=_0xceb223;super(_0xf99b85);const _0xc755f2=_0xf99b85[_0x54f882(0xf8)][_0x54f882(0x186)](d);this[_0x54f882(0x15d)]=!0x1,this[_0x54f882(0x1c3)](_0xc755f2,_0x54f882(0x240),()=>this[_0x54f882(0x135)]()),this[_0x54f882(0x1c3)](_0xc755f2,_0x54f882(0x22b),()=>this[_0x54f882(0x135)]());}[_0xceb223(0x133)](){const _0x5184f0=_0xceb223,_0xb27168=this[_0x5184f0(0xfd)],_0x3993fd=_0xb27168[_0x5184f0(0xf8)][_0x5184f0(0x186)](d),_0x1f8079=_0x3993fd[_0x5184f0(0x224)]?_0x3993fd[_0x5184f0(0x1c7)][_0x5184f0(0x20e)]:null;_0xb27168[_0x5184f0(0x173)][_0x5184f0(0x186)](_0x5184f0(0x22c))[_0x5184f0(0x1c8)](_0x1f8079);}[_0xceb223(0x135)](){const _0x143a1b=_0xceb223,{isReady:_0x9bafbd,isEnabled:_0x2411d9}=this[_0x143a1b(0xfd)][_0x143a1b(0xf8)][_0x143a1b(0x186)](d);this[_0x143a1b(0x19b)]=_0x9bafbd&&_0x2411d9;}}export class ShowChangeCommand extends _0x3fef62{constructor(_0x1b01aa,{direction:_0x33dab7}){const _0x160bf6=_0xceb223;super(_0x1b01aa);const _0x56c266=_0x1b01aa[_0x160bf6(0xf8)][_0x160bf6(0x186)](d);this[_0x160bf6(0x15d)]=!0x1,this[_0x160bf6(0x1f3)]=_0x160bf6(0x152)===_0x33dab7?0x1:-0x1,this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x240),()=>this[_0x160bf6(0x135)]()),this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x22b),()=>this[_0x160bf6(0x135)]()),this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x1a8),()=>this[_0x160bf6(0x135)]());}[_0xceb223(0x133)](){const _0x13919e=_0xceb223,_0x5f2abe=this[_0x13919e(0xfd)],_0x24d3a6=_0x5f2abe[_0x13919e(0xf8)][_0x13919e(0x186)](d),{isNavigationMode:_0xf7be7f,currentChangeNumber:_0x3009d9}=_0x24d3a6;let _0x24a6a1;if(_0x24d3a6[_0x13919e(0x115)]=_0xf7be7f?_0x24d3a6[_0x13919e(0x1c7)][_0x13919e(0x241)][_0x13919e(0x186)](_0x3009d9+this[_0x13919e(0x1f3)]):_0x24d3a6[_0x13919e(0x1c7)][_0x13919e(0x241)][_0x13919e(0x1cd)],_0x24d3a6[_0x13919e(0x115)][_0x13919e(0x1f0)][_0x13919e(0x16f)])_0x24a6a1=_0x5f2abe[_0x13919e(0x1c1)][_0x13919e(0x126)][_0x13919e(0x1a2)](_0x24d3a6[_0x13919e(0x115)][_0x13919e(0x238)]);else{const _0x49d7eb=_0x5f2abe[_0x13919e(0x1e1)][_0x13919e(0x18b)][_0x13919e(0x186)](_0x13919e(0x117)+_0x24d3a6[_0x13919e(0x115)]['id']);_0x24a6a1=_0x4356e4(_0x5f2abe[_0x13919e(0x1c1)],_0x49d7eb);}_0x74a71f({'target':_0x24a6a1,'viewportOffset':0x28});}[_0xceb223(0x135)](){const _0x4d5e55=_0xceb223,{isNavigationMode:_0x490d1c,currentChangeNumber:_0x28dd41,numberOfChanges:_0x4d1958,isReady:_0x420022,isEnabled:_0xb258ec}=this[_0x4d5e55(0xfd)][_0x4d5e55(0xf8)][_0x4d5e55(0x186)](d);this[_0x4d5e55(0x19b)]=!!(_0xb258ec&&_0x420022&&_0x4d1958)&&(!_0x490d1c||(0x1===this[_0x4d5e55(0x1f3)]?_0x28dd41<_0x4d1958-0x1:_0x28dd41>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4715(){const _0x1b1db3=['map','isOpen','items','Name\x20this\x20revision','2161201ioqouJ','threeVerticalDots','set','source','isEnabled','_action','1639296KToBkL','button','isReady','function','2024208CGlUii','1921755pbWgtk','find','listView','locale','model','728040SlffbY','add','Compare\x20against\x20selected','2716088iJoqef','buttonView','extendTemplate','name','2483676XgBWZu','Restore\x20this\x20revision','isVisible','panelPosition','action','Show\x20more\x20items','first','stopPropagation','bind','ck-on','ck-revision-history-sidebar__revision__actions','children','bindTemplate','execute','isActionsDropdownOpen','change:isActionsDropdownOpen','class','listenTo'];_0x4715=function(){return _0x1b1db3;};return _0x4715();}(function(_0x38f2d7,_0x5e96bf){const _0x5b4893=_0x3db4,_0x128d77=_0x38f2d7();while(!![]){try{const _0x1fcf85=-parseInt(_0x5b4893(0x122))/0x1+parseInt(_0x5b4893(0x145))/0x2+-parseInt(_0x5b4893(0x149))/0x3+parseInt(_0x5b4893(0x125))/0x4+-parseInt(_0x5b4893(0x14a))/0x5+parseInt(_0x5b4893(0x129))/0x6+parseInt(_0x5b4893(0x13f))/0x7;if(_0x1fcf85===_0x5e96bf)break;else _0x128d77['push'](_0x128d77['shift']());}catch(_0x22ed64){_0x128d77['push'](_0x128d77['shift']());}}}(_0x4715,0x6a038));import{Collection as _0x281226}from'ckeditor5/src/utils.js';import{icons as _0x4717db}from'ckeditor5/src/core.js';import{ViewModel as _0x594d3c,addListToDropdown as _0x4db481,createDropdown as _0x45ed91}from'ckeditor5/src/ui.js';import{getTranslation as _0x3d4eda}from'../../utils/common-translations.js';function _0x3db4(_0x40a72d,_0x3614c5){const _0x4715d0=_0x4715();return _0x3db4=function(_0x3db496,_0x1ec4fb){_0x3db496=_0x3db496-0x11e;let _0x3c7977=_0x4715d0[_0x3db496];return _0x3c7977;},_0x3db4(_0x40a72d,_0x3614c5);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x14710e,_0x2866e8){const _0x268e3b=_0x3db4,_0x5c15fc=_0x14710e[_0x268e3b(0x135)],_0x7240ea=_0x14710e[_0x268e3b(0x120)],_0x24cbf7=_0x45ed91(_0x7240ea);_0x24cbf7[_0x268e3b(0x12c)]='sw';const _0xff669f=function(_0x4ed0dd,_0x23c7af){const _0x24ff9e=_0x268e3b,_0x3c7e57=function(_0x3c4ca0,_0x32f426){const _0xc6cc0b=_0x3db4,_0x30e36f=_0x3c4ca0[_0xc6cc0b(0x120)],_0x3bf8c1={'Compare\x20against\x20selected':_0x3d4eda(_0x30e36f,_0xc6cc0b(0x124)),'Name\x20this\x20revision':_0x3d4eda(_0x30e36f,_0xc6cc0b(0x13e)),'Restore\x20this\x20revision':_0x3d4eda(_0x30e36f,_0xc6cc0b(0x12a))};return _0x32f426[_0xc6cc0b(0x13b)](_0x842192=>{const _0x438fc8=_0xc6cc0b,_0x5d2407=_0x3bf8c1[_0x842192[_0x438fc8(0x128)]];return _0x5d2407&&_0x5d2407!==_0x842192[_0x438fc8(0x128)]&&(_0x842192[_0x438fc8(0x128)]=_0x5d2407),_0x842192;});}(_0x4ed0dd,_0x23c7af),_0x2e8577=new _0x281226();for(const _0x31ea06 of _0x3c7e57){const _0x5e2bf5={'type':_0x24ff9e(0x146),'model':new _0x594d3c({'label':_0x31ea06[_0x24ff9e(0x128)],'class':_0x31ea06[_0x24ff9e(0x139)],'withText':!0x0,'_action':_0x31ea06[_0x24ff9e(0x12d)]})};_0x5e2bf5[_0x24ff9e(0x121)][_0x24ff9e(0x131)](_0x24ff9e(0x143))['to'](_0x4ed0dd,_0x24ff9e(0x137),_0x13a5bf=>_0x24ff9e(0x148)!=typeof _0x31ea06[_0x24ff9e(0x143)]||(!_0x13a5bf||_0x31ea06[_0x24ff9e(0x143)](_0x4ed0dd))),_0x2e8577[_0x24ff9e(0x123)](_0x5e2bf5);}return _0x2e8577;}(_0x14710e,_0x2866e8);return _0x14710e[_0x268e3b(0x131)](_0x268e3b(0x137))['to'](_0x24cbf7,_0x268e3b(0x13c)),_0x24cbf7[_0x268e3b(0x126)][_0x268e3b(0x141)]({'label':_0x3d4eda(_0x7240ea,_0x268e3b(0x12e)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4717db[_0x268e3b(0x140)]}),_0x24cbf7[_0x268e3b(0x127)]({'attributes':{'class':[_0x268e3b(0x133),_0x5c15fc['if'](_0x268e3b(0x137),_0x268e3b(0x132))]},'on':{'click':_0x5c15fc['to'](_0x48de9d=>_0x48de9d[_0x268e3b(0x130)]())}}),_0x24cbf7['on'](_0x268e3b(0x136),_0x1daeb8=>{const _0x1654a5=_0x268e3b;_0x14710e[_0x1654a5(0x147)]&&_0x1654a5(0x148)==typeof _0x1daeb8[_0x1654a5(0x142)][_0x1654a5(0x144)]&&_0x1daeb8[_0x1654a5(0x142)][_0x1654a5(0x144)](_0x14710e);}),_0x4db481(_0x24cbf7,_0xff669f),_0x24cbf7[_0x268e3b(0x13a)](_0x14710e,_0x268e3b(0x138),(_0x110463,_0x36e16c,_0x1da92b)=>{const _0x4c55f0=_0x268e3b;if(_0x1da92b)for(const _0x441192 of _0x24cbf7[_0x4c55f0(0x11f)][_0x4c55f0(0x13d)]){const _0x46d209=_0x441192[_0x4c55f0(0x134)][_0x4c55f0(0x12f)],_0x591343=_0x2866e8[_0x4c55f0(0x11e)](_0x35aa2d=>_0x35aa2d[_0x4c55f0(0x12d)]===_0x46d209[_0x4c55f0(0x144)])[_0x4c55f0(0x12b)];_0x441192[_0x4c55f0(0x12b)]=void 0x0===_0x591343||_0x591343(_0x14710e);}}),_0x24cbf7;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2247(_0x590f95,_0xdc77f6){const _0x46531b=_0x4653();return _0x2247=function(_0x2247a3,_0x41e7bf){_0x2247a3=_0x2247a3-0x14d;let _0x302758=_0x46531b[_0x2247a3];return _0x302758;},_0x2247(_0x590f95,_0xdc77f6);}(function(_0x55d3aa,_0x12a7bb){const _0x2328da=_0x2247,_0x393475=_0x55d3aa();while(!![]){try{const _0x4c7973=-parseInt(_0x2328da(0x151))/0x1+parseInt(_0x2328da(0x15a))/0x2+parseInt(_0x2328da(0x15f))/0x3+-parseInt(_0x2328da(0x15e))/0x4+-parseInt(_0x2328da(0x15b))/0x5+parseInt(_0x2328da(0x14e))/0x6*(-parseInt(_0x2328da(0x152))/0x7)+parseInt(_0x2328da(0x159))/0x8;if(_0x4c7973===_0x12a7bb)break;else _0x393475['push'](_0x393475['shift']());}catch(_0x33fec1){_0x393475['push'](_0x393475['shift']());}}}(_0x4653,0x19912));import{View as _0x35ede9,IconView as _0x34d18c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d6385}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x4653(){const _0x584fb4=['600219ZGWHur','Revision\x20author','6JCFhRz','ck-revision-history-sidebar__revision-author_creator','span','204476ukgiyz','1251243FWThIO','push','name','set','ck-revision-history-sidebar__revision-author__name','ck-revision-history-sidebar__revision-author','setTemplate','4299448Bxjlae','139380EUUdhN','772230SfrqRM','0\x200\x2011\x2010','Revision\x20creator','659204WuHaBf'];_0x4653=function(){return _0x584fb4;};return _0x4653();}import _0x11e891 from'../../../theme/icons/user.svg';export default class ti extends _0x35ede9{constructor(_0x12d7c2,_0x4cb111,_0x42fe14){const _0x11082a=_0x2247;super(_0x12d7c2);const _0x1ee266=new _0x34d18c();_0x1ee266[_0x11082a(0x155)]({'content':_0x11e891,'viewBox':_0x11082a(0x15c)});const _0x445378=['ck',_0x11082a(0x157)];_0x42fe14&&_0x445378[_0x11082a(0x153)](_0x11082a(0x14f));const _0x4a6370=[{'tag':_0x11082a(0x150),'attributes':{'class':['ck',_0x11082a(0x156)],'title':_0x5d6385(_0x12d7c2,_0x42fe14?_0x11082a(0x15d):_0x11082a(0x14d))},'children':[_0x1ee266,_0x4cb111[_0x11082a(0x154)]]}];this[_0x11082a(0x158)]({'tag':'li','attributes':{'class':_0x445378},'children':_0x4a6370});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ae29b=_0x419d;(function(_0x491d92,_0x5f340d){const _0x5c50bd=_0x419d,_0x3c26ba=_0x491d92();while(!![]){try{const _0x3d42c9=parseInt(_0x5c50bd(0x89))/0x1+parseInt(_0x5c50bd(0x97))/0x2*(-parseInt(_0x5c50bd(0x8e))/0x3)+-parseInt(_0x5c50bd(0x9c))/0x4+parseInt(_0x5c50bd(0x87))/0x5*(parseInt(_0x5c50bd(0x9d))/0x6)+-parseInt(_0x5c50bd(0x8c))/0x7*(parseInt(_0x5c50bd(0x81))/0x8)+parseInt(_0x5c50bd(0x9a))/0x9*(-parseInt(_0x5c50bd(0x8a))/0xa)+parseInt(_0x5c50bd(0x92))/0xb;if(_0x3d42c9===_0x5f340d)break;else _0x3c26ba['push'](_0x3c26ba['shift']());}catch(_0x3badc5){_0x3c26ba['push'](_0x3c26ba['shift']());}}}(_0x40e5,0xbe0f8));import{LabeledFieldView as _0x595619}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x1edded}from'ckeditor5/src/utils.js';function _0x419d(_0x4f4ef7,_0x55466d){const _0x40e589=_0x40e5();return _0x419d=function(_0x419dc3,_0x53b150){_0x419dc3=_0x419dc3-0x81;let _0x3ea7aa=_0x40e589[_0x419dc3];return _0x3ea7aa;},_0x419d(_0x4f4ef7,_0x55466d);}import{getTranslation as _0x9cfd41}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class vt extends _0x595619{constructor(_0x1321f7,_0x166e19){const _0x1ce71f=_0x419d;super(_0x1321f7,_0x166e19),this[_0x1ce71f(0x90)]=null;const _0x47ee12=this[_0x1ce71f(0x93)];this[_0x1ce71f(0x91)]({'label':_0x9cfd41(_0x1321f7,_0x1ce71f(0x9f)),'_tooltipString':''}),this[_0x1ce71f(0x9e)][_0x1ce71f(0x83)]=_0x9cfd41(_0x1321f7,_0x1ce71f(0x86)),this[_0x1ce71f(0x85)]({'tag':_0x1ce71f(0x95),'attributes':{'class':[_0x1ce71f(0x96)],'data-cke-tooltip-text':_0x47ee12['to'](_0x1ce71f(0x88)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x1ce71f(0x84)}});}[_0x1ae29b(0x9b)](){const _0x116c73=_0x1ae29b;super[_0x116c73(0x9b)](),this[_0x116c73(0x90)]=new _0x1edded(this[_0x116c73(0x9e)][_0x116c73(0x98)],()=>this[_0x116c73(0x94)]()),this[_0x116c73(0x82)](this[_0x116c73(0x9e)],_0x116c73(0x8b),()=>this[_0x116c73(0x94)]());}[_0x1ae29b(0xa0)](){const _0x13cfe8=_0x1ae29b;super[_0x13cfe8(0xa0)](),this[_0x13cfe8(0x90)]&&this[_0x13cfe8(0x90)][_0x13cfe8(0xa0)]();}[_0x1ae29b(0x94)](){const _0x1f0da0=_0x1ae29b,_0x72da66=this[_0x1f0da0(0x9e)][_0x1f0da0(0x98)];this[_0x1f0da0(0x88)]=_0x72da66[_0x1f0da0(0x8d)]>_0x72da66[_0x1f0da0(0x99)]&&_0x72da66[_0x1f0da0(0x8f)]||'';}}function _0x40e5(){const _0x13bd7f=['ck-revision-history-sidebar__revision-name','327724iUlLCY','element','clientWidth','143217cgTmNJ','render','4189884dOQgEl','998850oZBFGt','fieldView','Revision\x20name','destroy','8tosekf','listenTo','placeholder','ck-tooltip_multi-line','extendTemplate','Enter\x20the\x20revision\x20name','25pjemoY','_tooltipString','413165XaMDQU','670CJuskN','input','4728871oLKjVA','scrollWidth','12kjkMEa','value','_resizeObserver','set','32753501CpgnRi','bindTemplate','_updateTooltipText','span'];_0x40e5=function(){return _0x13bd7f;};return _0x40e5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x230f74=_0x3c97;(function(_0x1aa244,_0x1cf91d){const _0x1def1a=_0x3c97,_0x183b08=_0x1aa244();while(!![]){try{const _0x2963b1=-parseInt(_0x1def1a(0x152))/0x1*(-parseInt(_0x1def1a(0x13c))/0x2)+parseInt(_0x1def1a(0x156))/0x3*(parseInt(_0x1def1a(0x131))/0x4)+parseInt(_0x1def1a(0x130))/0x5*(parseInt(_0x1def1a(0x151))/0x6)+-parseInt(_0x1def1a(0x13d))/0x7+-parseInt(_0x1def1a(0x13e))/0x8+parseInt(_0x1def1a(0x15e))/0x9*(parseInt(_0x1def1a(0x150))/0xa)+-parseInt(_0x1def1a(0x148))/0xb;if(_0x2963b1===_0x1cf91d)break;else _0x183b08['push'](_0x183b08['shift']());}catch(_0x4b8726){_0x183b08['push'](_0x183b08['shift']());}}}(_0x5ae8,0xe2d05));function _0x3c97(_0x5d4363,_0x43ab2e){const _0x5ae859=_0x5ae8();return _0x3c97=function(_0x3c977c,_0x58d4a2){_0x3c977c=_0x3c977c-0x120;let _0x29d728=_0x5ae859[_0x3c977c];return _0x29d728;},_0x3c97(_0x5d4363,_0x43ab2e);}import{View as _0x2c9acb,createLabeledInputText as _0x2d8b20}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x45ea32}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x572cf1 from'./revisionnameview.js';import _0x458a32 from'./revisionauthorview.js';import{dateToPrettyFormat as _0xb73caf}from'./utils.js';function _0x5ae8(){const _0x45c3af=['highlight','createdAt','filter','extendTemplate','render','creator','srcElement','fieldView','from','select','div','change','_createdAtFormatted','unhighlight','12955nTVXCe','2891228qTvbeb','ck-revision-history-sidebar__revision','set','value','ck-revision-history-sidebar__revision-wrapper','authors','unshift','name','.ck-thread__remove-confirm','deselect','isReady','442dWmels','11872014eekNar','11264112QyeNWS','element','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-disabled','ck-revision-history-sidebar__revision_selected','listenTo','isHighlighted','ck-revision-history-sidebar__actions_dropdown_open','revisionNameView','fire','2558270gWfEQP','closest','ck-revision-history-sidebar__revision__date','bindTemplate','setTemplate','220','_revision','span','160xZKzkj','3576WatzyN','5388nPdfWn','_requireRevisionName','uiLanguage','map','3nUyXab','bind','ck-revision-history-sidebar__revision_highlighted','ck-reset','ck-revision-history-sidebar__revision__controls-wrapper','isSelected','length','isActionsDropdownOpen','454401UiWZYM','ck-revision-history-sidebar__revision-authors','setName','isEnabled','revisionActionsView','isConfirm'];_0x5ae8=function(){return _0x45c3af;};return _0x5ae8();}import{createActionsDropdownView as _0x4d6136}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x45ea32(_0x2c9acb){constructor(_0x1c30ab,_0x373570,_0x15990c,_0x24ad0d){const _0x35439f=_0x3c97;super(_0x1c30ab);const _0x255548=this[_0x35439f(0x14b)],_0x2db078=function(_0x192d3b,_0x2c3ba1){const _0x372cfe=_0x35439f,_0x47c67=Array[_0x372cfe(0x12a)](_0x2c3ba1[_0x372cfe(0x136)])[_0x372cfe(0x124)](_0x33f327=>_0x33f327!=_0x2c3ba1[_0x372cfe(0x127)]);return _0x2c3ba1[_0x372cfe(0x127)]&&_0x47c67[_0x372cfe(0x137)](_0x2c3ba1[_0x372cfe(0x127)]),_0x47c67[_0x372cfe(0x155)](_0x43c5f4=>new _0x458a32(_0x192d3b,_0x43c5f4,_0x43c5f4==_0x2c3ba1[_0x372cfe(0x127)]));}(_0x1c30ab,_0x373570);this['id']=_0x373570['id'],this[_0x35439f(0x14e)]=_0x373570,this[_0x35439f(0x153)]=_0x24ad0d,this[_0x35439f(0x157)](_0x35439f(0x138),_0x35439f(0x123))['to'](_0x373570),this[_0x35439f(0x157)](_0x35439f(0x12e))['to'](this,_0x35439f(0x123),_0x57d99f=>_0xb73caf(_0x1c30ab[_0x35439f(0x154)],_0x57d99f)),this[_0x35439f(0x133)](_0x35439f(0x15b),!0x1),this[_0x35439f(0x133)](_0x35439f(0x144),!0x1),this[_0x35439f(0x133)](_0x35439f(0x15d),!0x1),this[_0x35439f(0x133)](_0x35439f(0x13b),!0x1),this[_0x35439f(0x133)](_0x35439f(0x161),!0x1),this[_0x35439f(0x146)]=new _0x572cf1(_0x1c30ab,_0x2d8b20),this[_0x35439f(0x146)][_0x35439f(0x129)][_0x35439f(0x125)]({'attributes':{'maxlength':_0x35439f(0x14d)}}),this[_0x35439f(0x146)][_0x35439f(0x129)][_0x35439f(0x157)](_0x35439f(0x134))['to'](this,_0x35439f(0x138),_0x2a17c4=>_0x2a17c4||this[_0x35439f(0x12e)]),this[_0x35439f(0x146)][_0x35439f(0x157)](_0x35439f(0x161))['to'](this,_0x35439f(0x15b),this,_0x35439f(0x161),(_0x252ffa,_0x426071)=>_0x252ffa&&_0x426071),this[_0x35439f(0x120)]=_0x15990c&&_0x15990c[_0x35439f(0x15c)]?_0x4d6136(this,_0x15990c):'',this[_0x35439f(0x120)]&&this[_0x35439f(0x120)][_0x35439f(0x157)](_0x35439f(0x161))['to'](this),this[_0x35439f(0x14c)]({'tag':_0x35439f(0x12c),'attributes':{'class':['ck',_0x35439f(0x159),_0x35439f(0x135),_0x255548['if'](_0x35439f(0x121),_0x35439f(0x140))]},'children':[{'tag':_0x35439f(0x12c),'attributes':{'class':['ck',_0x35439f(0x159),_0x35439f(0x132),_0x255548['if'](_0x35439f(0x161),_0x35439f(0x141),_0x3fa174=>!_0x3fa174),_0x255548['if'](_0x35439f(0x15b),_0x35439f(0x142)),_0x255548['if'](_0x35439f(0x144),_0x35439f(0x158)),_0x255548['if'](_0x35439f(0x15d),_0x35439f(0x145))]},'children':[this[_0x35439f(0x146)],{'tag':_0x35439f(0x14f),'attributes':{'class':['ck',_0x35439f(0x14a)]},'children':[{'text':_0x255548['to'](_0x35439f(0x12e))}]},{'tag':_0x35439f(0x12c),'attributes':{'class':['ck',_0x35439f(0x15a)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x35439f(0x15f)]},'children':_0x2db078}]},this[_0x35439f(0x120)]],'on':{'click':_0x255548['to'](_0x38dcf2=>{const _0xffad55=_0x35439f;_0x38dcf2[_0xffad55(0x128)][_0xffad55(0x149)](_0xffad55(0x139))||this[_0xffad55(0x13b)]&&this[_0xffad55(0x161)]&&this[_0xffad55(0x147)](_0xffad55(0x12b),{'id':this['id']});})}}]});}[_0x230f74(0x126)](){const _0x5caf70=_0x230f74;super[_0x5caf70(0x126)]();const _0x181355=this[_0x5caf70(0x146)][_0x5caf70(0x129)][_0x5caf70(0x13f)];this[_0x5caf70(0x143)](_0x181355,_0x5caf70(0x12d),()=>{const _0x1f3287=_0x5caf70;this[_0x1f3287(0x153)]&&!_0x181355[_0x1f3287(0x134)]||this[_0x1f3287(0x147)](_0x1f3287(0x160),{'id':this['id'],'name':_0x181355[_0x1f3287(0x134)]}),_0x181355[_0x1f3287(0x134)]||(_0x181355[_0x1f3287(0x134)]=this[_0x1f3287(0x138)]?this[_0x1f3287(0x138)]:this[_0x1f3287(0x12e)]);});}[_0x230f74(0x12b)](){const _0x29d516=_0x230f74;this[_0x29d516(0x15b)]=!0x0;}[_0x230f74(0x13a)](){const _0x55a160=_0x230f74;this[_0x55a160(0x15b)]=!0x1;}[_0x230f74(0x122)](){const _0x2444fe=_0x230f74;this[_0x2444fe(0x144)]=!0x0;}[_0x230f74(0x12f)](){const _0x467b3e=_0x230f74;this[_0x467b3e(0x144)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x301529=_0x4780;function _0x4780(_0x59e1a0,_0x50cd11){const _0x155f31=_0x155f();return _0x4780=function(_0x47809d,_0x27ba2c){_0x47809d=_0x47809d-0x1a2;let _0xae5235=_0x155f31[_0x47809d];return _0xae5235;},_0x4780(_0x59e1a0,_0x50cd11);}(function(_0x42380b,_0x1b543c){const _0x5af1e6=_0x4780,_0x48c66f=_0x42380b();while(!![]){try{const _0x55deba=parseInt(_0x5af1e6(0x1b1))/0x1+-parseInt(_0x5af1e6(0x1b8))/0x2+parseInt(_0x5af1e6(0x1a7))/0x3*(parseInt(_0x5af1e6(0x1b4))/0x4)+-parseInt(_0x5af1e6(0x1aa))/0x5+parseInt(_0x5af1e6(0x1b0))/0x6+-parseInt(_0x5af1e6(0x1b3))/0x7+parseInt(_0x5af1e6(0x1af))/0x8*(parseInt(_0x5af1e6(0x1b9))/0x9);if(_0x55deba===_0x1b543c)break;else _0x48c66f['push'](_0x48c66f['shift']());}catch(_0x3c8ce9){_0x48c66f['push'](_0x48c66f['shift']());}}}(_0x155f,0xca1a4));function _0x155f(){const _0x381c63=['toggle','_isCollapsed','button','bindTemplate','328ONkeYl','435330rtDmOs','208545GkqQJd','isVisible','6924316REoJKb','4elxoBZ','false','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser','3028684fAGdrb','394776eGTKyy','true','ck-hidden','set','setTemplate','click','4001565nAMZTB','ck-revision-history-sidebar__subrevision-collapser_collapsed','span','410185vUexPr'];_0x155f=function(){return _0x381c63;};return _0x155f();}import{View as _0x162b78}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x162b78{constructor(_0x44439a){const _0x319a3f=_0x4780;super(_0x44439a);const _0x223bd3=this[_0x319a3f(0x1ae)];this[_0x319a3f(0x1a4)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x319a3f(0x1a5)]({'tag':_0x319a3f(0x1a9),'attributes':{'class':['ck',_0x319a3f(0x1b7),_0x223bd3['if'](_0x319a3f(0x1b2),_0x319a3f(0x1a3),_0x3c0dc3=>!_0x3c0dc3),_0x223bd3['if'](_0x319a3f(0x1ac),_0x319a3f(0x1a8))],'role':_0x319a3f(0x1ad),'aria-pressed':_0x223bd3['to'](_0x319a3f(0x1ac),_0x2cf386=>_0x2cf386?_0x319a3f(0x1b5):_0x319a3f(0x1a2))},'children':[{'tag':_0x319a3f(0x1a9),'attributes':{'class':['ck',_0x319a3f(0x1b6)]}}],'on':{'click':_0x223bd3['to'](_0x319a3f(0x1a6))}});}[_0x301529(0x1ab)](){const _0x4339de=_0x301529;this[_0x4339de(0x1ac)]=!this[_0x4339de(0x1ac)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ada6b=_0x365c;(function(_0x3d502d,_0x4992ac){const _0x9b4f4e=_0x365c,_0x3e2809=_0x3d502d();while(!![]){try{const _0x3b2ff5=parseInt(_0x9b4f4e(0x19a))/0x1+-parseInt(_0x9b4f4e(0x185))/0x2*(-parseInt(_0x9b4f4e(0x19f))/0x3)+-parseInt(_0x9b4f4e(0x186))/0x4+-parseInt(_0x9b4f4e(0x1a0))/0x5+parseInt(_0x9b4f4e(0x198))/0x6*(-parseInt(_0x9b4f4e(0x194))/0x7)+parseInt(_0x9b4f4e(0x188))/0x8+parseInt(_0x9b4f4e(0x1a2))/0x9*(parseInt(_0x9b4f4e(0x19c))/0xa);if(_0x3b2ff5===_0x4992ac)break;else _0x3e2809['push'](_0x3e2809['shift']());}catch(_0x4ffae3){_0x3e2809['push'](_0x3e2809['shift']());}}}(_0x2a52,0x3258b));import{View as _0x5c1cc5}from'ckeditor5/src/ui.js';import _0x400a29 from'./revisionauthorview.js';function _0x2a52(){const _0x120a4d=['ck-revision-history-sidebar__revision-authors','set','isSelected','bindTemplate','div','fire','ck-revision-history-sidebar__revision__date','deselect','10409zMGrYJ','ck-revision-history-sidebar__subrevision','setTemplate','ck-revision-history-sidebar__revision','414ORRpTd','span','200411tZAaIw','ck-reset','62510clyAgG','bind','select','23595DUOwWg','1109500ymbyaI','_createdAtFormatted','252fzVaAf','uiLanguage','86zyghZo','1636912ZWgeOb','creator','1810528ZVgxak','createdAt','_parentRevisionId','ck-revision-history-sidebar__revision_selected'];_0x2a52=function(){return _0x120a4d;};return _0x2a52();}function _0x365c(_0x24687d,_0x30acd5){const _0x2a52c6=_0x2a52();return _0x365c=function(_0x365cde,_0x3d37a7){_0x365cde=_0x365cde-0x185;let _0xd5cd6b=_0x2a52c6[_0x365cde];return _0xd5cd6b;},_0x365c(_0x24687d,_0x30acd5);}import{dateToPrettyFormat as _0x57647f}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x5c1cc5{constructor(_0x1627e1,_0x1d6bfa,_0x1ec65a){const _0x4e31c8=_0x365c;super(_0x1627e1);const _0x4420b3=this[_0x4e31c8(0x18f)];this['id']=_0x1d6bfa['id'],this[_0x4e31c8(0x19d)](_0x4e31c8(0x189))['to'](_0x1d6bfa),this[_0x4e31c8(0x18d)](_0x4e31c8(0x18e),!0x1),this[_0x4e31c8(0x19d)](_0x4e31c8(0x1a1))['to'](this,_0x4e31c8(0x189),_0x39582e=>_0x39582e?_0x57647f(_0x1627e1[_0x4e31c8(0x1a3)],_0x39582e):void 0x0),this[_0x4e31c8(0x18a)]=_0x1ec65a,this[_0x4e31c8(0x196)]({'tag':_0x4e31c8(0x190),'attributes':{'class':['ck',_0x4e31c8(0x19b),_0x4e31c8(0x197),_0x4e31c8(0x195),_0x4420b3['if'](_0x4e31c8(0x18e),_0x4e31c8(0x18b))]},'children':[{'tag':_0x4e31c8(0x199),'attributes':{'class':['ck',_0x4e31c8(0x192)]},'children':[{'text':_0x4420b3['to'](_0x4e31c8(0x1a1))}]},{'tag':'ul','attributes':{'class':['ck',_0x4e31c8(0x18c)]},'children':[new _0x400a29(_0x1627e1,_0x1d6bfa[_0x4e31c8(0x187)],!0x0)]}],'on':{'click':_0x4420b3['to'](this[_0x4e31c8(0x19e)][_0x4e31c8(0x19d)](this))}});}[_0x3ada6b(0x19e)](){const _0xf18762=_0x3ada6b;this[_0xf18762(0x18e)]=!0x0,this[_0xf18762(0x191)](_0xf18762(0x19e),{'parentId':this[_0xf18762(0x18a)]});}[_0x3ada6b(0x193)](){const _0x5c0693=_0x3ada6b;this[_0x5c0693(0x18e)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ca2(_0x19803c,_0x3bf53d){var _0x591217=_0x5912();return _0x5ca2=function(_0x5ca2b5,_0x2c6423){_0x5ca2b5=_0x5ca2b5-0x1e5;var _0x16818d=_0x591217[_0x5ca2b5];return _0x16818d;},_0x5ca2(_0x19803c,_0x3bf53d);}function _0x5912(){var _0x5bd653=['toLocaleDateString','15790YsmKeR','514PsIlrX','288EnfdVU','11035xesfFX','1626195xbIzQe','numeric','1999FFUynI','224NywsAn','706748EolVoG','long','toLocaleTimeString','1416mHRqTf','2659734WfUllA','77232jwVjIG'];_0x5912=function(){return _0x5bd653;};return _0x5912();}(function(_0x1ced9a,_0x10ca8c){var _0x2e7311=_0x5ca2,_0x54d215=_0x1ced9a();while(!![]){try{var _0x4cd8e5=parseInt(_0x2e7311(0x1f3))/0x1*(-parseInt(_0x2e7311(0x1ee))/0x2)+parseInt(_0x2e7311(0x1f1))/0x3+parseInt(_0x2e7311(0x1e6))/0x4+parseInt(_0x2e7311(0x1f0))/0x5*(-parseInt(_0x2e7311(0x1e9))/0x6)+parseInt(_0x2e7311(0x1e5))/0x7*(parseInt(_0x2e7311(0x1eb))/0x8)+-parseInt(_0x2e7311(0x1ef))/0x9*(-parseInt(_0x2e7311(0x1ed))/0xa)+parseInt(_0x2e7311(0x1ea))/0xb;if(_0x4cd8e5===_0x10ca8c)break;else _0x54d215['push'](_0x54d215['shift']());}catch(_0x1840f9){_0x54d215['push'](_0x54d215['shift']());}}}(_0x5912,0x45adf));export function dateToPrettyFormat(_0x5809e3,_0x3bdf6e){var _0x4da5e1=_0x5ca2;return _0x3bdf6e[_0x4da5e1(0x1ec)](_0x5809e3,{'month':_0x4da5e1(0x1e7),'day':_0x4da5e1(0x1f2)})+',\x20'+_0x3bdf6e[_0x4da5e1(0x1e8)](_0x5809e3,{'hour':_0x4da5e1(0x1f2),'minute':_0x4da5e1(0x1f2)});}
|