@ckeditor/ckeditor5-revision-history 41.2.1 → 41.3.0-alpha.2
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/content-index.css +374 -0
- package/dist/editor-index.css +742 -0
- package/dist/index.css +1712 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +33 -0
- package/dist/types/changeitem.d.ts +62 -0
- package/dist/types/editor/revisionviewereditor.d.ts +31 -0
- package/dist/types/editor/revisionviewereditorui.d.ts +32 -0
- package/dist/types/editor/revisionviewereditoruiview.d.ts +47 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/revision.d.ts +157 -0
- package/dist/types/revisiondiff.d.ts +28 -0
- package/dist/types/revisionhistory.d.ts +103 -0
- package/dist/types/revisionhistoryadapter.d.ts +68 -0
- package/dist/types/revisionhistoryconfig.d.ts +75 -0
- package/dist/types/revisionsrepository.d.ts +56 -0
- package/dist/types/revisiontracker.d.ts +89 -0
- package/dist/types/revisionviewer.d.ts +29 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +14 -0
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +9 -0
- package/dist/types/ui/revision/revisionview.d.ts +99 -0
- package/dist/types/ui/revision/subrevisioncollapserview.d.ts +25 -0
- package/dist/types/ui/revision/subrevisionview.d.ts +38 -0
- package/dist/types/ui/revision/utils.d.ts +9 -0
- package/dist/types/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +85 -0
- package/dist/types/ui/revisionhistory/revisionhistoryui.d.ts +30 -0
- package/dist/types/ui/revisionssidebar/revisionssidebar.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +9 -0
- package/dist/types/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +33 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarview.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/utils.d.ts +13 -0
- package/dist/types/ui/revisionviewer/changedetailsview.d.ts +26 -0
- package/dist/types/ui/revisionviewer/changesnavigationview.d.ts +44 -0
- package/dist/types/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +30 -0
- package/dist/types/ui/revisionviewer/revisionviewerui.d.ts +32 -0
- package/dist/types/utils/common-translations.d.ts +15 -0
- package/package.json +6 -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.d.ts +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 _0x6cd535=_0x3912;(function(_0x4b78f5,_0x993ec){const _0x13a28b=_0x3912,_0x1f7e5c=_0x4b78f5();while(!![]){try{const _0x590790=parseInt(_0x13a28b(0x24d))/0x1*(-parseInt(_0x13a28b(0x1c0))/0x2)+parseInt(_0x13a28b(0x222))/0x3*(-parseInt(_0x13a28b(0x180))/0x4)+-parseInt(_0x13a28b(0x1fb))/0x5*(-parseInt(_0x13a28b(0x21b))/0x6)+-parseInt(_0x13a28b(0x24e))/0x7+-parseInt(_0x13a28b(0x219))/0x8*(-parseInt(_0x13a28b(0x23f))/0x9)+parseInt(_0x13a28b(0x288))/0xa+-parseInt(_0x13a28b(0x234))/0xb*(-parseInt(_0x13a28b(0x284))/0xc);if(_0x590790===_0x993ec)break;else _0x1f7e5c['push'](_0x1f7e5c['shift']());}catch(_0x23cd6a){_0x1f7e5c['push'](_0x1f7e5c['shift']());}}}(_0x64fe,0xe2855));import{Plugin as _0x2977c8,Command as _0x282e1b}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1649bb}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x10ef17}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2e5aa5,Element as _0x4e1cb8,Text as _0x1d5c40,ViewDocumentFragment as _0x28c36f,ViewText as _0xcef118,ViewElement as _0x3f4790,ViewContainerElement as _0x1a8273,ViewAttributeElement as _0x435c70,ViewEmptyElement as _0x14854f,ViewRawElement as _0x29dba4,ViewUIElement as _0x53af9a}from'ckeditor5/src/engine.js';import{Users as _0x4fa20a,getMarkerDomElement as _0x3f0d0a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3912(_0x924e59,_0x371ff0){const _0x64fe9d=_0x64fe();return _0x3912=function(_0x391224,_0x5d9c0d){_0x391224=_0x391224-0x142;let _0x484e88=_0x64fe9d[_0x391224];return _0x484e88;},_0x3912(_0x924e59,_0x371ff0);}import _0x174bc2 from'./ui/revisionviewer/changedetailsview.js';import _0x318d55 from'./revisionsrepository.js';import _0x461639 from'./changeitem.js';function _0x64fe(){const _0x52bfea=['_removeUnsupportedChanges','_changeView','for','ck-suggestion-preview-marker-','change:isReady','flat','_appendChild','pairId','attributesBefore','splice','createPositionFromPath','isAfter','isBefore','editing','offsetSize','left','136540kPBSTW','comment','markerName','deletion','addMarker:revision-suggestion:insertion','softBreak','revision-suggestion:','isOnRoot','toModel','isIncorrect','isLimit','revision-end','findIndex','ck-suggestion-marker--active','ck-suggestion-marker-merge','addClass','_balloon','getAttributes','domEvent','markerRange','nodeAfter','isAdded','removeMarker:revision-suggestion','collaboration.channelId','_initInteractions','_markMarkers','suggestion:','default','then','_markSuggestions','562136kDknUT','stop','90SXjwkr','_getChangeFromId','code','refresh','insertions','_activeViewTarget','schema','3492JmYpJo','getRevisionData','getRevisionRootsAttributes','_removeMissingPairs','_refreshStartEndIndex','showNextChange','change','_step','side','name','_markMismatchedRemovedTags','right','_processTape','ck-editor__editable__overlay','getClientRects','forward','insert','processor','3410242MmWMHx','_threeWayMerge','resolve','element','getItems','revision-comment:','elementStart','isSuggestion','_findChangeIdFromDomTarget','showStack','getRootNames','90QsmsDk','markersStart','_changeIdToChange','level','_cleanUp','_setConversion','low','locale','element:pre','top','addMarker:revision','document','addHighlight','toViewElement','449097BVSvaP','686658iiMNHm','isInline','ck-suggestion-marker-','unbindElementFromMarkerName','remove','hasAttribute','isAddSuggestion','end','checkAttribute','editor','shift','concat','attribute:vid','parent','filter','data','all','change:isEnabled','next','reconvertMarker','backward','editingDowncast','createUIElement','_cleanMarkers','viewItem','done','selection','sort','isNavigationMode','change:activeChange','restoreRevision','ck-revision-history-root-','ck-suggestion-marker','revisionHistoryAttachChange','execute','_revisions','revision-suggestion','bottom','index','getRoot','-new','model','suggestion','nextSibling','pluginName','config','includes','isReady','numberOfChanges','item','_makeModelFromTape','hasClass','mapViewToDom','_getViewForChange','24oOYOnX','wrap','isEqual','enableReadOnlyMode','1105100gFBGQX','vid','adapter','_sortAndFilterDiffChanges','unshift','abs','upcast','error','currentChangeNumber','ck-revision-history-root--active','markerToData','dataToMarker','setAttribute','addRoot','markers','removeMarker','addMarker:revision-suggestion:deletion','isRemoveSuggestion','_getDiff','find','attributes','distance','useFillerType','isAttached','data-revision-','mapper','delete','first','length','startIndex','WidgetToolbarRepository','diffData','revision:','isCollapsed','isBlock','requires','bindElementToMarker','revision','rootName','_getRevisionsRange','elementEnd','add','revision-viewer','plugins','newRevisionId','attributesAfter','span','markersEnd','changeId','getDomRoot','diff','forEach','detachRoot','getRevision','high','mousedown','catch','authors','object','removeClass','revisionHistory','bind','observeMarkers','ck-suggestion-marker-split','modelRange','createRangeIn','change:numberOfChanges','markerToHighlight','createPositionBefore','isEnabled','userId','vid_start','forceDisabled','1264CsdekY','_makeTape','domConverter','_removeRevisionMarkers','RevisionsRepository','highest','showPreviousChange','activeView','commands','split','mouseover','children','oldRevisionId','toViewPosition','isAtEnd','_setChanges','view','marked','addRevisionData','_markInsertions','get','roots','writer','compare','downcastDispatcher','revision-start','createRange','enqueueChange','range','ck-revision-history-root-remove','repository','indexOf','uiElement','toData','init','text','endIndex','change:activeView','has','_makeModelFromViewString','return','target','test','consume','isObject','vid_end','slice','map','conversion','from','updatePosition','destroy','getCustomProperty','attachChange','removeMarker:revision','getAttribute','affectsData','createAttributeElement','POSITIVE_INFINITY','consumable','values','isAtStart','isContent','nextPosition','2CszVWg','dataDowncast','toViewRange','restoreRevisionCallback','pop','clear','startsWith','_setDistance','RevisionViewer','ck-suggestion-preview-marker','changes','_update','addRevision','_getViewObj','getIndex','ck-revision-history-root-add','removeAttribute','start','markerNameToElements','string','activeChange','createRevision','_joinTapes','previousPosition','type','isRemoved','loadRevisionData','_data','parse','getWalker','getChild','maxOffset','data-change-id','elementToAttribute','merge','set','deletions','listenTo','_fixObsoleteTags','push','revisionHistoryLabel','insertion','keys'];_0x64fe=function(){return _0x52bfea;};return _0x64fe();}import{default as _0xbf5a93}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x46b9ae}from'lodash-es';const tt={'c':_0x1a8273,'a':_0x435c70,'e':_0x14854f,'r':_0x29dba4,'u':_0x53af9a};export default class d extends _0x2977c8{static get[_0x6cd535(0x27a)](){const _0x34b306=_0x6cd535;return _0x34b306(0x1c8);}static get[_0x6cd535(0x15a)](){return[_0x4fa20a,_0x10ef17,_0x318d55];}constructor(_0x1331c4){const _0x54cac5=_0x6cd535;super(_0x1331c4),this[_0x54cac5(0x19e)]=this[_0x54cac5(0x257)][_0x54cac5(0x162)][_0x54cac5(0x194)](_0x54cac5(0x184)),this[_0x54cac5(0x1e3)](_0x54cac5(0x1d4),null),this[_0x54cac5(0x1e3)](_0x54cac5(0x187),null),this[_0x54cac5(0x220)]=null,this[_0x54cac5(0x1e3)](_0x54cac5(0x169),null),this[_0x54cac5(0x1e3)](_0x54cac5(0x27d),!0x1),this[_0x54cac5(0x1e3)](_0x54cac5(0x17c),!0x0),this['on'](_0x54cac5(0x25f),(_0x4f7c1c,_0xe916be,_0x320b4a)=>{const _0x5da4d5=_0x54cac5;this[_0x5da4d5(0x1d4)]=null,this[_0x5da4d5(0x187)]=null,this[_0x5da4d5(0x257)][_0x5da4d5(0x1f8)][_0x5da4d5(0x190)][_0x5da4d5(0x228)](_0x4ab037=>{const _0x25c955=_0x5da4d5;for(const _0x5f35b6 of this[_0x25c955(0x257)][_0x25c955(0x1f8)][_0x25c955(0x190)][_0x25c955(0x24a)][_0x25c955(0x195)])_0x320b4a?_0x4ab037[_0x25c955(0x172)](_0x25c955(0x22f),_0x5f35b6):_0x4ab037[_0x25c955(0x20a)](_0x25c955(0x22f),_0x5f35b6);});}),this[_0x54cac5(0x174)](_0x54cac5(0x26a))['to'](this,_0x54cac5(0x1d4),_0xf3076f=>null!==_0xf3076f),this[_0x54cac5(0x174)](_0x54cac5(0x290))['to'](this,_0x54cac5(0x27d),this,_0x54cac5(0x169),this,_0x54cac5(0x1d4),(_0x1b5bed,_0xa77433,_0x21943d)=>_0x1b5bed&&_0x21943d?_0xa77433[_0x54cac5(0x1ca)][_0x54cac5(0x1ce)](_0x21943d):0x0),this[_0x54cac5(0x174)](_0x54cac5(0x27e))['to'](this,_0x54cac5(0x27d),this,_0x54cac5(0x169),(_0x2c4934,_0x364360)=>_0x2c4934?_0x364360[_0x54cac5(0x1ca)][_0x54cac5(0x153)]:0x0),this[_0x54cac5(0x1ec)]=null,this[_0x54cac5(0x241)]=new Map(),this[_0x54cac5(0x28a)]=null,this[_0x54cac5(0x20b)]=this[_0x54cac5(0x257)][_0x54cac5(0x162)][_0x54cac5(0x194)](_0x10ef17);}[_0x6cd535(0x1a2)](){const _0x5bba5b=_0x6cd535,_0x2b8c31=this[_0x5bba5b(0x257)],_0x2cc141=new ShowChangeCommand(_0x2b8c31,{'direction':_0x5bba5b(0x262)}),_0x1ac286=new ShowChangeCommand(_0x2b8c31,{'direction':_0x5bba5b(0x231)});(_0x2b8c31[_0x5bba5b(0x188)][_0x5bba5b(0x160)](_0x5bba5b(0x186),_0x2cc141),_0x2b8c31[_0x5bba5b(0x188)][_0x5bba5b(0x160)](_0x5bba5b(0x227),_0x1ac286),_0x2b8c31[_0x5bba5b(0x188)][_0x5bba5b(0x160)](_0x5bba5b(0x26c),new RestoreRevisionCommand(_0x2b8c31)),this['on'](_0x5bba5b(0x179),()=>{const _0x3b2441=_0x5bba5b;_0x2cc141[_0x3b2441(0x21e)](),_0x1ac286[_0x3b2441(0x21e)]();}),this[_0x5bba5b(0x244)](),this[_0x5bba5b(0x213)](),_0x2b8c31[_0x5bba5b(0x287)](_0x5bba5b(0x161)),_0x2b8c31[_0x5bba5b(0x162)][_0x5bba5b(0x1a6)](_0x5bba5b(0x155)))&&_0x2b8c31[_0x5bba5b(0x162)][_0x5bba5b(0x194)](_0x5bba5b(0x155))[_0x5bba5b(0x17f)](_0x5bba5b(0x161));}async[_0x6cd535(0x223)](_0x2c660c){const _0x1c5595=_0x6cd535;await this[_0x1c5595(0x1da)](_0x2c660c);const _0x576329={};for(const _0xac40c in _0x2c660c[_0x1c5595(0x156)]){if(_0x2c660c[_0x1c5595(0x156)][_0xac40c][_0x1c5595(0x1b5)]&&!_0x2c660c[_0x1c5595(0x156)][_0xac40c][_0x1c5595(0x1b5)][_0x1c5595(0x14e)])continue;const _0x1b258b=this[_0x1c5595(0x183)](JSON[_0x1c5595(0x1dc)](_0x2c660c[_0x1c5595(0x156)][_0xac40c][_0x1c5595(0x21f)])),_0x5486c8=this[_0x1c5595(0x257)][_0x1c5595(0x1f8)][_0x1c5595(0x190)][_0x1c5595(0x24a)],_0x1dcf0a=new _0x28c36f(_0x5486c8,_0x1b258b[_0x1c5595(0x1af)](_0x310606=>this[_0x1c5595(0x1cd)](_0x310606)));this[_0x1c5595(0x257)][_0x1c5595(0x25d)][_0x1c5595(0x233)][_0x1c5595(0x14d)](_0x1c5595(0x191)),_0x576329[_0xac40c]=this[_0x1c5595(0x257)][_0x1c5595(0x25d)][_0x1c5595(0x233)][_0x1c5595(0x1a1)](_0x1dcf0a),this[_0x1c5595(0x257)][_0x1c5595(0x25d)][_0x1c5595(0x233)][_0x1c5595(0x14d)](_0x1c5595(0x216));}return _0x576329;}async[_0x6cd535(0x224)](_0x319c1b){const _0x51b902=_0x6cd535;await this[_0x51b902(0x1da)](_0x319c1b);const _0x49edb5={};for(const _0x4ff22e in _0x319c1b[_0x51b902(0x156)])_0x319c1b[_0x51b902(0x156)][_0x4ff22e][_0x51b902(0x1b5)]&&!_0x319c1b[_0x51b902(0x156)][_0x4ff22e][_0x51b902(0x1b5)][_0x51b902(0x14e)]||(_0x49edb5[_0x4ff22e]=_0x319c1b[_0x51b902(0x156)][_0x4ff22e][_0x51b902(0x164)]||{});return _0x49edb5;}[_0x6cd535(0x183)](_0x2fd68f){const _0x5808ca=_0x6cd535;return(_0x2fd68f=_0x2fd68f[_0x5808ca(0x25c)](_0xe9d835=>!_0xe9d835[_0x5808ca(0x22b)]||_0x5808ca(0x199)!==_0xe9d835[_0x5808ca(0x22b)]&&_0x5808ca(0x206)!==_0xe9d835[_0x5808ca(0x22b)]))[_0x5808ca(0x16a)](_0x34ca1c=>{const _0x24c191=_0x5808ca;_0x24c191(0x1d3)!=typeof _0x34ca1c&&(_0x34ca1c[_0x24c191(0x18b)]=this[_0x24c191(0x183)](_0x34ca1c[_0x24c191(0x18b)]),_0x34ca1c[_0x24c191(0x14b)]=_0x34ca1c[_0x24c191(0x14b)][_0x24c191(0x25c)](_0x47ac7c=>!_0x47ac7c[0x0][_0x24c191(0x1c6)](_0x24c191(0x14f))));}),_0x2fd68f;}async[_0x6cd535(0x197)](_0x3c18fa,_0x913575,_0x43b168=!0x1){const _0x7607af=_0x6cd535;if(!this[_0x7607af(0x17c)])return;const _0x5d4895=this[_0x7607af(0x169)],_0x4b1b20=this[_0x7607af(0x19e)],_0x525945=_0x7607af(0x1d3)==typeof _0x3c18fa?_0x4b1b20[_0x7607af(0x16c)](_0x3c18fa):_0x3c18fa,_0x488e70=_0x7607af(0x1d3)==typeof _0x913575?_0x4b1b20[_0x7607af(0x16c)](_0x913575):_0x913575,_0x1263ad=_0x525945['id'],_0x1de11c=_0x488e70?_0x488e70['id']:null;if(!_0x43b168&&this[_0x7607af(0x169)]&&this[_0x7607af(0x169)][_0x7607af(0x163)]===_0x1263ad&&this[_0x7607af(0x169)][_0x7607af(0x18c)]===_0x1de11c)return Promise[_0x7607af(0x236)]();this[_0x7607af(0x27d)]=!0x1,this[_0x7607af(0x187)]=null,this[_0x7607af(0x1d4)]=null,this[_0x7607af(0x169)]=new _0xbf5a93(_0x1263ad,_0x1de11c);const _0x52a4a5=this[_0x7607af(0x15e)](_0x525945,_0x488e70,!0x0)[_0x7607af(0x1af)](_0x396323=>this[_0x7607af(0x1da)](_0x396323));return _0x52a4a5[_0x7607af(0x1e7)](new Promise(_0x162ce1=>{setTimeout(_0x162ce1,0x14);})),Promise[_0x7607af(0x25e)](_0x52a4a5)[_0x7607af(0x217)](()=>{const _0x62de4d=_0x7607af;if(!this[_0x62de4d(0x17c)])return;this[_0x62de4d(0x243)]();const _0x504622=this[_0x62de4d(0x149)](_0x1263ad,_0x1de11c);for(const _0x47b1b6 of _0x504622[_0x62de4d(0x1ca)])this[_0x62de4d(0x241)][_0x62de4d(0x1e3)](_0x47b1b6['id'],_0x47b1b6);this[_0x62de4d(0x257)][_0x62de4d(0x277)][_0x62de4d(0x19b)]({'isUndoable':!0x1},_0x5664ff=>{const _0x4579b0=_0x62de4d;for(const _0x598f7b of this[_0x4579b0(0x257)][_0x4579b0(0x277)][_0x4579b0(0x24a)][_0x4579b0(0x23e)]())_0x5664ff[_0x4579b0(0x16b)](_0x598f7b);for(const _0x568c74 of Object[_0x4579b0(0x1ea)](_0x504622[_0x4579b0(0x277)])){const _0x218843=_0x5664ff[_0x4579b0(0x144)](_0x568c74);for(const _0x3ec551 of Object[_0x4579b0(0x1ea)](_0x504622[_0x4579b0(0x14b)][_0x568c74]))_0x5664ff[_0x4579b0(0x143)](_0x3ec551,_0x504622[_0x4579b0(0x14b)][_0x568c74][_0x3ec551],_0x218843);_0x5664ff[_0x4579b0(0x232)](_0x504622[_0x4579b0(0x277)][_0x568c74],_0x218843,0x0);}}),this[_0x62de4d(0x169)][_0x62de4d(0x18f)](this[_0x62de4d(0x28b)](_0x504622[_0x62de4d(0x1ca)])),this[_0x62de4d(0x27d)]=!0x0;})[_0x7607af(0x16f)](_0x5ef85a=>{const _0x12bc0d=_0x7607af;console[_0x12bc0d(0x28f)](_0x5ef85a),this[_0x12bc0d(0x243)](),_0x5d4895&&(this[_0x12bc0d(0x169)]=_0x5d4895),this[_0x12bc0d(0x27d)]=!0x0;});}[_0x6cd535(0x192)](_0x4b4bf4,_0x23db1b){const _0x430e42=_0x6cd535,_0x450451=this[_0x430e42(0x19e)][_0x430e42(0x1d5)](_0x4b4bf4);return _0x450451['on'](_0x430e42(0x1cb),(_0x49b35f,_0x3f149e,_0x202697)=>_0x23db1b(_0x3f149e,_0x202697,_0x450451)),this[_0x430e42(0x19e)][_0x430e42(0x1cc)](_0x450451),_0x450451;}[_0x6cd535(0x1da)](_0x362eca){const _0x3d7ac4=_0x6cd535;if(!_0x362eca||_0x362eca[_0x3d7ac4(0x156)])return Promise[_0x3d7ac4(0x236)]();{const _0x192c3b=this[_0x3d7ac4(0x257)][_0x3d7ac4(0x27b)][_0x3d7ac4(0x194)](_0x3d7ac4(0x212));return this[_0x3d7ac4(0x28a)][_0x3d7ac4(0x16c)]({'channelId':_0x192c3b,'revisionId':_0x362eca['id']})[_0x3d7ac4(0x217)](_0x4e5a6d=>{const _0x3bd0dc=_0x3d7ac4;_0x362eca[_0x3bd0dc(0x1cb)]({'diffData':_0x4e5a6d[_0x3bd0dc(0x156)]},!0x0);});}}[_0x6cd535(0x243)](){const _0x3cefd7=_0x6cd535;this[_0x3cefd7(0x1d4)]=null,this[_0x3cefd7(0x265)](),this[_0x3cefd7(0x1ec)]&&this[_0x3cefd7(0x1ec)][_0x3cefd7(0x1b3)](),this[_0x3cefd7(0x1ec)]=null,this[_0x3cefd7(0x241)][_0x3cefd7(0x1c5)](),this[_0x3cefd7(0x257)][_0x3cefd7(0x277)][_0x3cefd7(0x19b)]({'isUndoable':!0x1},_0x45d83b=>{const _0x2f05cb=_0x3cefd7;for(const _0x507120 of this[_0x2f05cb(0x257)][_0x2f05cb(0x277)][_0x2f05cb(0x24a)][_0x2f05cb(0x23e)]())_0x45d83b[_0x2f05cb(0x16b)](_0x507120);});}[_0x6cd535(0x28b)](_0x11481a){const _0x47e21f=_0x6cd535,_0x2425bd=[],_0x5bd5b9=new Map();for(const _0x37af18 of this[_0x47e21f(0x257)][_0x47e21f(0x277)][_0x47e21f(0x24a)][_0x47e21f(0x23e)]()){const _0x45a1d7=this[_0x47e21f(0x257)][_0x47e21f(0x1f8)][_0x47e21f(0x190)][_0x47e21f(0x168)](_0x37af18);if(!_0x45a1d7)continue;const _0x574b5b=_0x45a1d7[_0x47e21f(0x230)]()[_0x47e21f(0x27f)](0x0);_0x574b5b&&(_0x2425bd[_0x47e21f(0x1e7)](_0x37af18),_0x5bd5b9[_0x47e21f(0x1e3)](_0x37af18,_0x574b5b));}return _0x2425bd[_0x47e21f(0x269)]((_0x49738b,_0x54204f)=>{const _0x53ed2f=_0x47e21f,_0x39315e=_0x5bd5b9[_0x53ed2f(0x194)](_0x49738b),_0x51bd53=_0x5bd5b9[_0x53ed2f(0x194)](_0x54204f);return _0x39315e['y']-_0x51bd53['y']||_0x39315e['x']-_0x51bd53['x'];}),(_0x11481a=_0x11481a[_0x47e21f(0x25c)](_0x363c1a=>_0x2425bd[_0x47e21f(0x27c)](_0x363c1a[_0x47e21f(0x15d)])))[_0x47e21f(0x269)]((_0x571c09,_0x32a6d3)=>_0x2425bd[_0x47e21f(0x19f)](_0x571c09[_0x47e21f(0x15d)])-_0x2425bd[_0x47e21f(0x19f)](_0x32a6d3[_0x47e21f(0x15d)])),_0x11481a;}[_0x6cd535(0x181)](_0x4af32d){const _0x446c70=_0x6cd535,_0x812d29=Array[_0x446c70(0x1b1)](_0x4af32d[_0x446c70(0x145)])[_0x446c70(0x25c)](([_0x112906,_0x314e49])=>_0x112906[_0x446c70(0x1c6)](_0x446c70(0x157))&&!_0x314e49[_0x446c70(0x158)]),_0x51d995=Array[_0x446c70(0x1b1)](this[_0x446c70(0x257)][_0x446c70(0x277)][_0x446c70(0x178)](_0x4af32d)[_0x446c70(0x1dd)]({'singleCharacters':!0x0}));if(0x0!=_0x812d29[_0x446c70(0x153)])for(const _0x332251 of _0x51d995){const [_0x22845d,_0x511a00]=_0x812d29[0x0],[,_0x1fc434,_0x49d1ee]=_0x22845d[_0x446c70(0x189)](':');if(_0x511a00[_0x446c70(0x255)][_0x446c70(0x286)](_0x332251[_0x446c70(0x1bf)])&&_0x812d29[_0x446c70(0x258)](),(_0x332251[_0x446c70(0x1d7)][_0x446c70(0x286)](_0x511a00[_0x446c70(0x1d1)])||_0x332251[_0x446c70(0x1d7)][_0x446c70(0x1f6)](_0x511a00[_0x446c70(0x1d1)]))&&(_0x446c70(0x1e9)==_0x1fc434?_0x332251[_0x446c70(0x210)]={'userId':_0x49d1ee}:_0x446c70(0x1fe)==_0x1fc434&&(_0x332251[_0x446c70(0x1d9)]={'userId':_0x49d1ee})),0x0==_0x812d29[_0x446c70(0x153)])break;}return _0x51d995;}[_0x6cd535(0x226)](_0xd96860){const _0x3ab5fa=_0x6cd535,_0x2e7b7f=new Map();for(let _0x88040=0x0;_0x88040<_0xd96860[_0x3ab5fa(0x153)];_0x88040++)_0x3ab5fa(0x1a3)===_0xd96860[_0x88040][_0x3ab5fa(0x1d8)]?(_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x154)]=_0x88040,_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x1a4)]=_0x88040):(_0x3ab5fa(0x23a)===_0xd96860[_0x88040][_0x3ab5fa(0x1d8)]?_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x154)]=_0x88040:_0x3ab5fa(0x15f)===_0xd96860[_0x88040][_0x3ab5fa(0x1d8)]&&(_0xd96860[_0x88040][_0x3ab5fa(0x27f)][_0x3ab5fa(0x1a4)]=_0x88040),_0x2e7b7f[_0x3ab5fa(0x1e3)](_0xd96860[_0x88040]['id'],_0x88040));for(const _0xa738df of _0x2e7b7f[_0x3ab5fa(0x1bc)]())_0x3ab5fa(0x23a)===_0xd96860[_0xa738df][_0x3ab5fa(0x1d8)]?_0xd96860[_0xa738df][_0x3ab5fa(0x27f)][_0x3ab5fa(0x1a4)]=_0x2e7b7f[_0x3ab5fa(0x194)](_0xd96860[_0xa738df][_0x3ab5fa(0x1f2)]):_0x3ab5fa(0x15f)===_0xd96860[_0xa738df][_0x3ab5fa(0x1d8)]&&(_0xd96860[_0xa738df][_0x3ab5fa(0x27f)][_0x3ab5fa(0x154)]=_0x2e7b7f[_0x3ab5fa(0x194)](_0xd96860[_0xa738df][_0x3ab5fa(0x1f2)]));}[_0x6cd535(0x22e)](_0x150951){const _0x55065c=_0x6cd535;for(let _0x1ea255=0x0;_0x1ea255<_0x150951[_0x55065c(0x153)];_0x1ea255++){if(_0x55065c(0x23a)===_0x150951[_0x1ea255][_0x55065c(0x1d8)])_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x154)]=_0x1ea255;else{if(_0x55065c(0x15f)===_0x150951[_0x1ea255][_0x55065c(0x1d8)]){_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x1a4)]=_0x1ea255;const _0x280647=_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x154)];_0x150951[_0x280647][_0x55065c(0x1f2)]=_0x150951[_0x1ea255]['id'],_0x150951[_0x1ea255][_0x55065c(0x1f2)]=_0x150951[_0x280647]['id'];}else _0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x154)]=_0x1ea255,_0x150951[_0x1ea255][_0x55065c(0x27f)][_0x55065c(0x1a4)]=_0x1ea255,_0x150951[_0x1ea255][_0x55065c(0x1f2)]=null;}_0x150951[_0x1ea255][_0x55065c(0x240)]||(_0x150951[_0x1ea255][_0x55065c(0x240)]=[],_0x150951[_0x1ea255][_0x55065c(0x166)]=[]);}}[_0x6cd535(0x193)](_0x203254,_0x198bea){const _0x1a867e=_0x6cd535,_0x42ec5e=_0x203254[_0x1a867e(0x25c)](_0x345525=>!_0x345525[_0x1a867e(0x210)]);for(let _0x237f53=0x0;_0x237f53<_0x198bea[_0x1a867e(0x153)];_0x237f53++)_0x198bea[_0x237f53][_0x1a867e(0x210)]&&(_0x42ec5e[_0x237f53][_0x1a867e(0x210)]=_0x198bea[_0x237f53][_0x1a867e(0x210)]);}[_0x6cd535(0x1a7)](_0x20671){const _0x566030=_0x6cd535,_0xf06c6b=JSON[_0x566030(0x1dc)](_0x20671),_0x70a459=this[_0x566030(0x257)][_0x566030(0x1f8)][_0x566030(0x190)][_0x566030(0x24a)],_0x44fc5a=new _0x28c36f(_0x70a459,_0xf06c6b[_0x566030(0x1af)](_0x15ba1a=>this[_0x566030(0x1cd)](_0x15ba1a)));return this[_0x566030(0x257)][_0x566030(0x25d)][_0x566030(0x203)](_0x44fc5a);}[_0x6cd535(0x1cd)](_0x234bb7){const _0x200399=_0x6cd535,_0x110dc4=this[_0x200399(0x257)][_0x200399(0x1f8)][_0x200399(0x190)][_0x200399(0x24a)];if(_0x200399(0x1d3)==typeof _0x234bb7)return new _0xcef118(_0x110dc4,_0x234bb7);{const _0xbbcbc2=_0x234bb7[_0x200399(0x18b)][_0x200399(0x1af)](_0x4aba38=>this[_0x200399(0x1cd)](_0x4aba38));return new(tt[_0x234bb7[(_0x200399(0x1d8))]]||_0x3f4790)(_0x110dc4,_0x234bb7[_0x200399(0x22b)],_0x234bb7[_0x200399(0x14b)],_0xbbcbc2);}}[_0x6cd535(0x149)](_0x45f3de,_0x5653d6=null){const _0x353775=_0x6cd535,_0x428a64=this[_0x353775(0x19e)][_0x353775(0x16c)](_0x45f3de),_0x4da404=_0x5653d6?this[_0x353775(0x19e)][_0x353775(0x16c)](_0x5653d6):null,_0x165cf4=this[_0x353775(0x15e)](_0x428a64,_0x4da404),_0x1f38e7=_0x165cf4[_0x165cf4[_0x353775(0x153)]-0x1],_0x57b710=new Map(),_0x303a68={'model':{},'attributes':{},'changes':[]},_0x3ea777=new Set(),_0xcc1aed=new Map();for(let _0x1198e6=_0x165cf4[_0x353775(0x153)]-0x1;_0x1198e6>=0x0;_0x1198e6--){const _0x4298c4=_0x165cf4[_0x1198e6];for(const _0x41c1a9 of Object[_0x353775(0x1ea)](_0x4298c4[_0x353775(0x156)]))if(_0x4298c4[_0x353775(0x156)][_0x41c1a9][_0x353775(0x1b5)]){const _0x21eab3=_0x4298c4[_0x353775(0x156)][_0x41c1a9][_0x353775(0x1b5)];_0x21eab3[_0x353775(0x14e)]?(_0x3ea777[_0x353775(0x160)](_0x41c1a9),_0xcc1aed[_0x353775(0x1a6)](_0x41c1a9)&&_0xcc1aed[_0x353775(0x194)](_0x41c1a9)[_0x353775(0x17d)]==_0x21eab3[_0x353775(0x17d)]?_0xcc1aed[_0x353775(0x151)](_0x41c1a9):_0xcc1aed[_0x353775(0x1e3)](_0x41c1a9,_0x21eab3)):_0xcc1aed[_0x353775(0x1a6)](_0x41c1a9)?(_0x3ea777[_0x353775(0x151)](_0x41c1a9),_0xcc1aed[_0x353775(0x151)](_0x41c1a9)):(_0x3ea777[_0x353775(0x160)](_0x41c1a9),_0xcc1aed[_0x353775(0x1e3)](_0x41c1a9,_0x21eab3));}else _0x3ea777[_0x353775(0x160)](_0x41c1a9);}for(const _0x448e67 of _0x3ea777){const _0x428d39=_0xcc1aed[_0x353775(0x1a6)](_0x448e67)&&!_0xcc1aed[_0x353775(0x194)](_0x448e67)[_0x353775(0x14e)];let _0x334139=_0x428d39?_0x165cf4[_0x353775(0x153)]-0x1:0x0;const _0x31b723=_0x428d39?-0x1:0x1;for(;_0x165cf4[_0x334139];){const _0x167c94=_0x165cf4[_0x334139];if(_0x167c94[_0x353775(0x156)][_0x448e67]){const _0x2b8bf8=_0x428d39?_0x167c94[_0x353775(0x156)][_0x448e67][_0x353775(0x1f3)]:_0x167c94[_0x353775(0x156)][_0x448e67][_0x353775(0x164)];_0x303a68[_0x353775(0x14b)][_0x448e67]=_0x2b8bf8?_0x46b9ae(_0x2b8bf8):{};break;}_0x334139+=_0x31b723;}}for(const _0x242a19 of _0x165cf4){_0x242a19[_0x353775(0x277)]={};for(const _0x314ad8 of _0x242a19[_0x353775(0x170)])_0x57b710[_0x353775(0x1e3)](_0x314ad8['id'],_0x314ad8);for(const _0x4acfe5 of _0x3ea777){const _0x634cc=_0x242a19[_0x353775(0x156)][_0x4acfe5]?_0x242a19[_0x353775(0x156)][_0x4acfe5][_0x353775(0x21f)]:'[]',_0x240cf4=_0x242a19[_0x353775(0x156)][_0x4acfe5]?_0x242a19[_0x353775(0x156)][_0x4acfe5][_0x353775(0x1e4)]:'[]';_0x242a19[_0x353775(0x277)][_0x4acfe5]={'insertions':this[_0x353775(0x1a7)](_0x634cc),'deletions':this[_0x353775(0x1a7)](_0x240cf4)};}}for(const _0x3383c5 of _0x3ea777){let _0x4cdbff=null,_0x29083a=0x0;const _0x359f29=new Map(Array[_0x353775(0x1b1)](_0x428a64[_0x353775(0x277)][_0x3383c5][_0x353775(0x21f)][_0x353775(0x145)])[_0x353775(0x25c)](([_0x3dd06b])=>!_0x3dd06b[_0x353775(0x1c6)](_0x353775(0x157))));let _0x53d4b8=0x0;for(const _0x308b39 of _0x165cf4){const _0x269527=this[_0x353775(0x181)](_0x308b39[_0x353775(0x277)][_0x3383c5][_0x353775(0x21f)]);_0x308b39==_0x428a64?(_0x4cdbff=_0x269527,_0x29083a=_0x4cdbff[_0x353775(0x153)],_0x4cdbff[_0x353775(0x16a)](_0x20a793=>{_0x20a793['id']=_0x53d4b8++;}),this[_0x353775(0x22e)](_0x4cdbff)):this[_0x353775(0x193)](_0x4cdbff,_0x269527);const _0x38c9f9=_0x4cdbff[_0x353775(0x25c)](_0xe7a074=>!_0xe7a074[_0x353775(0x210)])[_0x353775(0x1af)](_0x2bcaaf=>_0x2bcaaf['id']);let _0x8d8d69=0x0;const _0x2e5d35=this[_0x353775(0x181)](_0x308b39[_0x353775(0x277)][_0x3383c5][_0x353775(0x1e4)]);_0x2e5d35[_0x353775(0x16a)](_0x44d842=>{const _0x4cb997=_0x353775;_0x44d842[_0x4cb997(0x1d9)]?_0x44d842['id']=_0x29083a++:_0x44d842['id']=_0x38c9f9[_0x8d8d69++];}),this[_0x353775(0x22e)](_0x2e5d35),this[_0x353775(0x1c7)](_0x4cdbff,_0x353775(0x210)),this[_0x353775(0x1c7)](_0x2e5d35,_0x353775(0x1d9)),_0x308b39==_0x428a64&&this[_0x353775(0x214)](_0x4cdbff,_0x359f29),_0x4cdbff=this[_0x353775(0x1d6)](_0x4cdbff,_0x2e5d35),this[_0x353775(0x226)](_0x4cdbff),this[_0x353775(0x1c7)](_0x4cdbff,_0x353775(0x1d9));}_0x4cdbff=_0x4cdbff[_0x353775(0x25c)](_0x12ceae=>!(_0x12ceae[_0x353775(0x210)]&&_0x12ceae[_0x353775(0x1d9)]));const _0x318b7e=new Map(_0x1f38e7[_0x353775(0x277)][_0x3383c5][_0x353775(0x1e4)][_0x353775(0x145)]),_0x599883=new Set(_0x359f29[_0x353775(0x1ea)]());for(const _0x5b847d of _0x318b7e[_0x353775(0x1ea)]())_0x599883[_0x353775(0x151)](_0x5b847d);this[_0x353775(0x218)](_0x4cdbff,_0x599883),this[_0x353775(0x1e6)](_0x4cdbff),_0x4cdbff=this[_0x353775(0x225)](_0x4cdbff),_0x4cdbff=this[_0x353775(0x22c)](_0x4cdbff),_0x4cdbff=this[_0x353775(0x1eb)](_0x4cdbff);const {root:_0xe8c31b,changes:_0x43bbe8}=this[_0x353775(0x280)](_0x4cdbff,_0x57b710,_0x3383c5);_0x303a68[_0x353775(0x277)][_0x3383c5]=_0xe8c31b;const _0xf00e7f=_0xcc1aed[_0x353775(0x194)](_0x3383c5);if(_0xf00e7f){const _0x3fe8f3=_0x57b710[_0x353775(0x194)](_0xf00e7f[_0x353775(0x17d)]),_0x1281c3=new _0x461639({'author':_0x3fe8f3,'type':_0xf00e7f[_0x353775(0x14e)]?_0x353775(0x160):_0x353775(0x252),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3383c5});_0x43bbe8[_0x353775(0x28c)](_0x1281c3),_0x303a68[_0x353775(0x14b)][_0x3383c5][_0x353775(0x26f)]=_0x1281c3['id'];}_0x303a68[_0x353775(0x1ca)]=_0x303a68[_0x353775(0x1ca)][_0x353775(0x259)](_0x43bbe8);}return _0x303a68;}[_0x6cd535(0x214)](_0x1bdb2f,_0x43b468){const _0x413248=_0x6cd535;for(let _0x297710=0x0;_0x297710<_0x1bdb2f[_0x413248(0x153)];_0x297710++)for(const [_0x99400c,_0x2dff3b]of _0x43b468)_0x2dff3b[_0x413248(0x1d1)][_0x413248(0x286)](_0x1bdb2f[_0x297710][_0x413248(0x1d7)])&&_0x1bdb2f[_0x297710][_0x413248(0x240)][_0x413248(0x1e7)](_0x99400c),_0x2dff3b[_0x413248(0x255)][_0x413248(0x286)](_0x1bdb2f[_0x297710][_0x413248(0x1bf)])&&_0x1bdb2f[_0x297710][_0x413248(0x166)][_0x413248(0x1e7)](_0x99400c);}[_0x6cd535(0x1d6)](_0x7fd4bb,_0x1fb1c0){const _0xece2c1=_0x6cd535;let _0x39e713=[],_0x47da67=0x0,_0x3c924a=0x0;for(;_0x47da67<_0x7fd4bb[_0xece2c1(0x153)]||_0x3c924a<_0x1fb1c0[_0xece2c1(0x153)];){const _0x44c2c4=_0x7fd4bb[_0x47da67]||{},_0x4bfa61=_0x1fb1c0[_0x3c924a]||{};if(_0x44c2c4['id']==_0x4bfa61['id'])_0x47da67++,_0x3c924a++,_0x39e713[_0xece2c1(0x1e7)](_0x44c2c4);else{if(_0x4bfa61[_0xece2c1(0x1d9)]&&_0x44c2c4[_0xece2c1(0x210)]){const {commonTape:_0x3a299d,iEnd:_0x8fb23c,jEnd:_0x284f21}=this[_0xece2c1(0x235)](_0x7fd4bb,_0x47da67,_0x1fb1c0,_0x3c924a);_0x39e713=_0x39e713[_0xece2c1(0x259)](_0x3a299d),_0x47da67=_0x8fb23c,_0x3c924a=_0x284f21;}else _0x4bfa61[_0xece2c1(0x1d9)]?(_0x3c924a++,_0x39e713[_0xece2c1(0x1e7)](_0x4bfa61)):(_0x47da67++,_0x39e713[_0xece2c1(0x1e7)](_0x44c2c4));}}return _0x39e713;}[_0x6cd535(0x218)](_0x13dc8c,_0x2ddba5){const _0x5881e0=_0x6cd535,_0x195543=[];for(let _0x25a8ee=0x0;_0x25a8ee<_0x13dc8c[_0x5881e0(0x153)];_0x25a8ee++){for(let _0x25eea7=0x0;_0x25eea7<_0x13dc8c[_0x25a8ee][_0x5881e0(0x240)][_0x5881e0(0x153)];_0x25eea7++){const _0x56d30d=_0x13dc8c[_0x25a8ee][_0x5881e0(0x240)][_0x25eea7];if(!_0x2ddba5[_0x5881e0(0x1a6)](_0x56d30d))continue;const {group:_0x3c2e57,type:_0xf94761,authorId:_0x5e9314}=_0x25903e(_0x56d30d);_0x5881e0(0x272)!=_0x3c2e57||_0x5881e0(0x1e9)!=_0xf94761&&_0x5881e0(0x1fe)!=_0xf94761||(_0x195543[_0x5881e0(0x28c)]({'type':_0xf94761,'name':_0x56d30d,'userId':_0x5e9314}),_0x13dc8c[_0x25a8ee][_0x5881e0(0x240)][_0x5881e0(0x1f4)](_0x25eea7,0x1),_0x25eea7--);}_0x2c9959(_0x13dc8c[_0x25a8ee]);for(let _0x5101b5=0x0;_0x5101b5<_0x13dc8c[_0x25a8ee][_0x5881e0(0x166)][_0x5881e0(0x153)];_0x5101b5++){const _0x14bc05=_0x13dc8c[_0x25a8ee][_0x5881e0(0x166)][_0x5101b5];if(!_0x2ddba5[_0x5881e0(0x1a6)](_0x14bc05))continue;const {group:_0x384294,type:_0x1e2711}=_0x25903e(_0x14bc05);if(_0x5881e0(0x272)!=_0x384294||_0x5881e0(0x1e9)!=_0x1e2711&&_0x5881e0(0x1fe)!=_0x1e2711)continue;_0x13dc8c[_0x25a8ee][_0x5881e0(0x166)][_0x5881e0(0x1f4)](_0x5101b5,0x1),_0x5101b5--;const _0x4f0f3b=_0x195543[_0x5881e0(0x207)](_0x25d183=>_0x25d183[_0x5881e0(0x22b)]==_0x14bc05);_0x4f0f3b>-0x1&&_0x195543[_0x5881e0(0x1f4)](_0x4f0f3b,0x1);}}function _0x25903e(_0xc9d1f9){const _0x4a72e7=_0x5881e0,_0xfd3b9e=_0xc9d1f9[_0x4a72e7(0x189)](':');return{'group':_0xfd3b9e[0x0],'type':_0xfd3b9e[0x1],'subType':_0xfd3b9e[_0x4a72e7(0x153)]>=0x5?_0xfd3b9e[0x2]:null,'id':_0xfd3b9e[_0x4a72e7(0x153)]<0x5?_0xfd3b9e[0x2]:_0xfd3b9e[0x3],'authorId':_0xfd3b9e[_0x4a72e7(0x153)]<0x5?_0xfd3b9e[0x3]:_0xfd3b9e[0x4],'markerCount':0x6==_0xfd3b9e[_0x4a72e7(0x153)]?_0xfd3b9e[0x5]:null};}function _0x2c9959(_0x2650da){const _0x4a1a7c=_0x5881e0;for(let _0xbca6b0=0x0;_0xbca6b0<_0x195543[_0x4a1a7c(0x153)];_0xbca6b0++){if(_0x2650da[_0x4a1a7c(0x210)]&&_0x4a1a7c(0x1e9)==_0x195543[_0xbca6b0][_0x4a1a7c(0x1d8)])return _0x2650da[_0x4a1a7c(0x254)]=_0x195543[_0xbca6b0],void delete _0x2650da[_0x4a1a7c(0x210)];if(!_0x2650da[_0x4a1a7c(0x210)]&&!_0x2650da[_0x4a1a7c(0x1d9)]&&_0x4a1a7c(0x1fe)==_0x195543[_0xbca6b0][_0x4a1a7c(0x1d8)])return void(_0x2650da[_0x4a1a7c(0x148)]=_0x195543[_0xbca6b0]);}}}[_0x6cd535(0x1c7)](_0x185cb5,_0x1df228){const _0x5d5f03=_0x6cd535;let _0x3ca025=0x0,_0x3ccf3b=!0x1;const _0x1c305c=new Map();for(const _0x5f43a3 of _0x185cb5)_0x5f43a3[_0x1df228]?_0x3ccf3b&&(_0x3ca025++,_0x3ccf3b=!0x1):(_0x3ca025++,_0x3ccf3b=!0x0),_0x1c305c[_0x5d5f03(0x1e3)](_0x5f43a3['id'],_0x3ca025);for(let _0xf6967=0x0;_0xf6967<_0x185cb5[_0x5d5f03(0x153)];_0xf6967++){if(_0x5d5f03(0x1d9)==_0x1df228&&_0x185cb5[_0xf6967][_0x5d5f03(0x210)]||_0x5d5f03(0x210)==_0x1df228&&_0x185cb5[_0xf6967][_0x5d5f03(0x1d9)])continue;if(_0x5d5f03(0x1a3)==_0x185cb5[_0xf6967][_0x5d5f03(0x1d8)]){_0x185cb5[_0xf6967][_0x5d5f03(0x14c)]=0x0;continue;}const _0x188823=_0x1c305c[_0x5d5f03(0x194)](_0x185cb5[_0xf6967][_0x5d5f03(0x1f2)]),_0x480443=_0x1c305c[_0x5d5f03(0x194)](_0x185cb5[_0xf6967]['id']);_0x185cb5[_0xf6967][_0x5d5f03(0x14c)]=_0x188823-_0x480443;}}[_0x6cd535(0x15e)](_0x3f59c0,_0x564b5b,_0x4ed067=!0x1){const _0x3b9231=_0x6cd535,_0x49a2dc=[];let _0x4aa8ed=this[_0x3b9231(0x19e)][_0x3b9231(0x1ce)](_0x3f59c0),_0x62208=this[_0x3b9231(0x19e)][_0x3b9231(0x1ce)](_0x564b5b);for(-0x1==_0x62208&&(_0x62208=this[_0x3b9231(0x19e)][_0x3b9231(0x271)][_0x3b9231(0x153)],_0x4ed067=!0x1);_0x4aa8ed<_0x62208;)_0x49a2dc[_0x3b9231(0x1e7)](this[_0x3b9231(0x19e)][_0x3b9231(0x16c)](_0x4aa8ed)),_0x4aa8ed++;return _0x4ed067&&_0x49a2dc[_0x3b9231(0x1e7)](this[_0x3b9231(0x19e)][_0x3b9231(0x16c)](_0x4aa8ed)),_0x49a2dc;}[_0x6cd535(0x235)](_0x43bc3b,_0x226d70,_0x513142,_0x10a8c6){const _0xaf6909=_0x6cd535,_0x54b524=this[_0xaf6909(0x257)][_0xaf6909(0x277)][_0xaf6909(0x221)];let _0x1ce1d9=_0x226d70;for(;_0x43bc3b[_0x1ce1d9]&&_0x43bc3b[_0x1ce1d9][_0xaf6909(0x210)];)_0x1ce1d9++;let _0x176aef=_0x10a8c6;for(;_0x513142[_0x176aef]&&_0x513142[_0x176aef][_0xaf6909(0x1d9)];)_0x176aef++;_0xff1b8(_0x43bc3b,_0x226d70,_0x1ce1d9),_0xff1b8(_0x513142,_0x10a8c6,_0x176aef);const _0x4cab8a=_0x513142[_0xaf6909(0x1ae)](_0x10a8c6,_0x176aef)[_0xaf6909(0x259)](_0x43bc3b[_0xaf6909(0x1ae)](_0x226d70,_0x1ce1d9));return _0x4cab8a[_0xaf6909(0x269)]((_0x50945d,_0x159537)=>_0x50945d[_0xaf6909(0x22a)]!=_0x159537[_0xaf6909(0x22a)]?_0x50945d[_0xaf6909(0x22a)]-_0x159537[_0xaf6909(0x22a)]:_0x50945d[_0xaf6909(0x242)]!=_0x159537[_0xaf6909(0x242)]?_0x50945d[_0xaf6909(0x242)]-_0x159537[_0xaf6909(0x242)]:_0x50945d[_0xaf6909(0x14c)]!=_0x159537[_0xaf6909(0x14c)]?_0x159537[_0xaf6909(0x14c)]-_0x50945d[_0xaf6909(0x14c)]:!!_0x50945d[_0xaf6909(0x210)]!=!!_0x159537[_0xaf6909(0x210)]?-0x1==_0x50945d[_0xaf6909(0x22a)]||0x0==_0x50945d[_0xaf6909(0x22a)]?_0x50945d[_0xaf6909(0x210)]?-0x1:0x1:_0x50945d[_0xaf6909(0x210)]?0x1:-0x1:_0x50945d[_0xaf6909(0x274)]-_0x159537[_0xaf6909(0x274)]),{'commonTape':_0x4cab8a,'iEnd':_0x1ce1d9,'jEnd':_0x176aef};function _0xff1b8(_0x16ef79,_0x2800a1,_0x962dad){const _0x406ce3=_0xaf6909;let _0x572e8f=-0x1,_0x120de9=Number[_0x406ce3(0x1ba)],_0x511535=!0x0;for(let _0x245ca4=_0x2800a1;_0x245ca4<_0x962dad;_0x245ca4++)if(_0x54b524[_0x406ce3(0x24f)](_0x16ef79[_0x245ca4][_0x406ce3(0x27f)])||(_0x511535=!0x1),_0x16ef79[_0x245ca4][_0x406ce3(0x27f)][_0x406ce3(0x154)]<_0x2800a1&&(_0x572e8f=_0x245ca4),_0x16ef79[_0x245ca4][_0x406ce3(0x27f)][_0x406ce3(0x1a4)]>=_0x962dad){_0x120de9=_0x245ca4;break;}_0x511535&&(_0x572e8f=_0x962dad-0x1);for(let _0x3a1780=_0x2800a1;_0x3a1780<_0x962dad;_0x3a1780++)_0x16ef79[_0x3a1780][_0x406ce3(0x22a)]=_0x3a1780<=_0x572e8f?-0x1:_0x3a1780<_0x120de9?0x0:0x1,_0x16ef79[_0x3a1780][_0x406ce3(0x274)]=_0x3a1780;let _0x26ef4f=0x0;for(let _0x35675c=_0x2800a1;_0x35675c<=_0x572e8f;_0x35675c++)0x0==_0x16ef79[_0x35675c][_0x406ce3(0x14c)]?_0x16ef79[_0x35675c][_0x406ce3(0x242)]=_0x26ef4f:(_0x26ef4f++,_0x16ef79[_0x35675c][_0x406ce3(0x242)]=_0x26ef4f,_0x26ef4f++);for(let _0x173e52=_0x2800a1;_0x173e52<_0x962dad;_0x173e52++)0x0==_0x16ef79[_0x173e52][_0x406ce3(0x22a)]&&(_0x16ef79[_0x173e52][_0x406ce3(0x242)]=_0x26ef4f);_0x26ef4f=0x0;for(let _0x141cb0=_0x962dad-0x1;_0x141cb0>=_0x120de9;_0x141cb0--)0x0==_0x16ef79[_0x141cb0][_0x406ce3(0x14c)]?_0x16ef79[_0x141cb0][_0x406ce3(0x242)]=_0x26ef4f:(_0x26ef4f--,_0x16ef79[_0x141cb0][_0x406ce3(0x242)]=_0x26ef4f,_0x26ef4f--);}}[_0x6cd535(0x1e6)](_0xcad5a9){const _0xfab683=_0x6cd535,_0x56b0ab=new Map(),_0x34b947=this[_0xfab683(0x257)][_0xfab683(0x277)][_0xfab683(0x221)];for(let _0x452062=0x1;_0x452062<_0xcad5a9[_0xfab683(0x153)];_0x452062++){let _0x3a43e7,_0x29ddc9,_0x3c2976;const _0x5bbdcb=_0xcad5a9[_0x452062],_0x4e843a=_0xcad5a9[_0x452062-0x1];if(_0xfab683(0x1a3)==_0x5bbdcb[_0xfab683(0x1d8)])continue;if(_0x5bbdcb[_0xfab683(0x1d8)]!=_0x4e843a[_0xfab683(0x1d8)])continue;if(!_0x34b947[_0xfab683(0x159)](_0x4e843a[_0xfab683(0x27f)])||_0x34b947[_0xfab683(0x205)](_0x4e843a[_0xfab683(0x27f)]))continue;if(!_0x34b947[_0xfab683(0x159)](_0x5bbdcb[_0xfab683(0x27f)])||_0x34b947[_0xfab683(0x205)](_0x5bbdcb[_0xfab683(0x27f)]))continue;if((_0xcad5a9[_0x452062][_0xfab683(0x210)]||_0xcad5a9[_0x452062][_0xfab683(0x254)])&&_0xcad5a9[_0x452062-0x1][_0xfab683(0x1d9)])_0x3a43e7=_0xcad5a9[_0x452062],_0x29ddc9=_0xcad5a9[_0x452062-0x1],_0x3c2976=_0x452062-0x1;else{if(!_0xcad5a9[_0x452062][_0xfab683(0x1d9)]||!_0xcad5a9[_0x452062-0x1][_0xfab683(0x210)]&&!_0xcad5a9[_0x452062-0x1][_0xfab683(0x254)])continue;_0x3a43e7=_0xcad5a9[_0x452062-0x1],_0x29ddc9=_0xcad5a9[_0x452062],_0x3c2976=_0x452062;}const _0x57500b=_0x3a43e7[_0xfab683(0x242)]==_0x29ddc9[_0xfab683(0x242)],_0x14de8c=Math[_0xfab683(0x28d)](_0x3a43e7[_0xfab683(0x242)])<Math[_0xfab683(0x28d)](_0x29ddc9[_0xfab683(0x242)])&&0x0==_0x29ddc9[_0xfab683(0x14c)];(_0x57500b||_0x14de8c)&&(_0x56b0ab[_0xfab683(0x1e3)](_0x29ddc9['id'],_0x3a43e7['id']),_0xcad5a9[_0xfab683(0x1f4)](_0x3c2976,0x1),_0x452062--,_0x3a43e7[_0xfab683(0x210)]=!0x1);}for(let _0x50a240=0x0;_0x50a240<_0xcad5a9[_0xfab683(0x153)];_0x50a240++)_0x56b0ab[_0xfab683(0x1a6)](_0xcad5a9[_0x50a240][_0xfab683(0x1f2)])&&(_0xcad5a9[_0x50a240][_0xfab683(0x1f2)]=_0x56b0ab[_0xfab683(0x194)](_0xcad5a9[_0x50a240][_0xfab683(0x1f2)]));}[_0x6cd535(0x225)](_0x2d42d2){const _0x126325=_0x6cd535,_0x5d58af=new Set(_0x2d42d2[_0x126325(0x1af)](_0x17f471=>_0x17f471['id']));for(let _0x1a7899=0x0;_0x1a7899<_0x2d42d2[_0x126325(0x153)];_0x1a7899++)_0x5d58af[_0x126325(0x1a6)](_0x2d42d2[_0x1a7899][_0x126325(0x1f2)])||0x0==_0x2d42d2[_0x1a7899][_0x126325(0x14c)]||(_0x2d42d2[_0x1a7899][_0x126325(0x204)]=!0x0);return _0x2d42d2[_0x126325(0x25c)](_0x553edf=>!_0x553edf[_0x126325(0x204)]);}[_0x6cd535(0x22c)](_0x41b50c){const _0x177a42=_0x6cd535,_0x32dafb=new Set();for(let _0xa37132=0x0;_0xa37132<_0x41b50c[_0x177a42(0x153)];_0xa37132++){if(_0x32dafb[_0x177a42(0x1a6)](_0x41b50c[_0xa37132]['id'])&&_0x41b50c[_0xa37132][_0x177a42(0x1d9)]&&(_0x41b50c[_0xa37132][_0x177a42(0x204)]=!0x0),_0x41b50c[_0xa37132][_0x177a42(0x204)])continue;if(0x0==_0x41b50c[_0xa37132][_0x177a42(0x14c)])continue;if(_0x177a42(0x23a)!=_0x41b50c[_0xa37132][_0x177a42(0x1d8)])continue;if(null==_0x41b50c[_0xa37132][_0x177a42(0x1f2)])continue;let _0x2cfbd0=_0xa37132+0x1,_0x14ad29=0x0;for(;_0x41b50c[_0x2cfbd0]['id']!=_0x41b50c[_0xa37132][_0x177a42(0x1f2)];)_0x177a42(0x23a)==_0x41b50c[_0x2cfbd0][_0x177a42(0x1d8)]?_0x14ad29++:_0x177a42(0x15f)==_0x41b50c[_0x2cfbd0][_0x177a42(0x1d8)]&&_0x14ad29--,_0x2cfbd0++;if(0x0!=_0x14ad29){if(_0x41b50c[_0xa37132][_0x177a42(0x1d9)])_0x41b50c[_0xa37132][_0x177a42(0x204)]=!0x0;else{for(;_0x2cfbd0!=_0xa37132;)_0x41b50c[_0x2cfbd0][_0x177a42(0x1d9)]&&0x0!=_0x41b50c[_0x2cfbd0][_0x177a42(0x14c)]&&(_0x41b50c[_0x2cfbd0][_0x177a42(0x204)]=!0x0,_0x32dafb[_0x177a42(0x160)](_0x41b50c[_0x2cfbd0][_0x177a42(0x1f2)])),_0x2cfbd0--;}}}return _0x41b50c[_0x177a42(0x25c)](_0xc4d365=>!_0xc4d365[_0x177a42(0x204)]);}[_0x6cd535(0x1eb)](_0x3336d8){const _0x158e3f=_0x6cd535,_0x523ba1=this[_0x158e3f(0x257)][_0x158e3f(0x277)][_0x158e3f(0x221)];for(let _0x3dd005=0x0;_0x3dd005<_0x3336d8[_0x158e3f(0x153)];_0x3dd005++){if(!(_0x3336d8[_0x3dd005][_0x158e3f(0x210)]||_0x3336d8[_0x3dd005][_0x158e3f(0x254)]||_0x3336d8[_0x3dd005][_0x158e3f(0x1d9)]||_0x3336d8[_0x3dd005][_0x158e3f(0x148)]))continue;if(0x0==_0x3336d8[_0x3dd005][_0x158e3f(0x14c)])continue;const _0x54f960=_0x3336d8[_0x3dd005][_0x158e3f(0x27f)];_0x523ba1[_0x158e3f(0x159)](_0x54f960)||_0x523ba1[_0x158e3f(0x205)](_0x54f960)||(_0x3336d8[_0x3dd005][_0x158e3f(0x210)]&&delete _0x3336d8[_0x3dd005][_0x158e3f(0x210)],_0x3336d8[_0x3dd005][_0x158e3f(0x254)]&&delete _0x3336d8[_0x3dd005][_0x158e3f(0x254)],_0x3336d8[_0x3dd005][_0x158e3f(0x148)]&&delete _0x3336d8[_0x3dd005][_0x158e3f(0x148)],_0x3336d8[_0x3dd005][_0x158e3f(0x1d9)]&&(_0x3336d8[_0x3dd005][_0x158e3f(0x204)]=!0x0));}return _0x3336d8[_0x158e3f(0x25c)](_0x2597c2=>!_0x2597c2[_0x158e3f(0x204)]);}[_0x6cd535(0x280)](_0x591f8d,_0x144919,_0x454378){const _0xa792ac=_0x6cd535,_0x498247=new _0x2e5aa5(),_0x4a9ac3=[],_0x50b842=new Map(),_0x507b78=this[_0xa792ac(0x257)][_0xa792ac(0x277)],_0x291893=_0x507b78[_0xa792ac(0x221)],_0x40f8f6=[_0x498247],_0x543dd5={},_0xfe9a23={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x499e93=null;const _0x3bff57=[0x0];for(let _0x46bfed=0x0;_0x46bfed<_0x591f8d[_0xa792ac(0x153)];_0x46bfed++){let _0x25b0a8,_0x1a724b;if(_0xa792ac(0x23a)===_0x591f8d[_0x46bfed][_0xa792ac(0x1d8)]){_0x25b0a8=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57);const _0x32c98e=new _0x4e1cb8(_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x22b)],_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x20c)]());_0x40f8f6[0x0][_0xa792ac(0x1f1)](_0x32c98e),_0x3bff57[_0xa792ac(0x1e7)](0x0),_0x40f8f6[_0xa792ac(0x28c)](_0x32c98e),_0x1a724b=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x499e93=null;}else{if(_0xa792ac(0x15f)===_0x591f8d[_0x46bfed][_0xa792ac(0x1d8)])_0x40f8f6[_0xa792ac(0x258)](),_0x25b0a8=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x3bff57[_0xa792ac(0x1c4)](),_0x3bff57[_0x3bff57[_0xa792ac(0x153)]-0x1]++,_0x1a724b=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x499e93=null;else{if(_0x25b0a8=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57),_0x499e93&&_0x4799b5(_0x499e93,_0x591f8d[_0x46bfed][_0xa792ac(0x27f)]))_0x499e93[_0xa792ac(0x1db)]+=_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x25d)];else{const _0x4f716e=new _0x1d5c40(_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x25d)],_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x20c)]());_0x40f8f6[0x0][_0xa792ac(0x1f1)](_0x4f716e),_0x499e93=_0x4f716e;}_0x3bff57[_0x3bff57[_0xa792ac(0x153)]-0x1]+=_0x591f8d[_0x46bfed][_0xa792ac(0x27f)][_0xa792ac(0x1f9)],_0x1a724b=_0x507b78[_0xa792ac(0x1f5)](_0x498247,_0x3bff57);}}for(const _0x2df48b of _0x591f8d[_0x46bfed][_0xa792ac(0x240)])_0x50b842[_0xa792ac(0x1e3)](_0x2df48b,{'start':_0x25b0a8,'end':null});_0x46f4bc(_0xa792ac(0x148),_0x46bfed,_0x25b0a8,_0x1a724b),_0x46f4bc(_0xa792ac(0x254),_0x46bfed,_0x25b0a8,_0x1a724b),_0x46f4bc(_0xa792ac(0x1d9),_0x46bfed,_0x25b0a8,_0x1a724b),_0x46f4bc(_0xa792ac(0x210),_0x46bfed,_0x25b0a8,_0x1a724b);for(const _0x10fd2d of _0x591f8d[_0x46bfed][_0xa792ac(0x166)]){_0x50b842[_0xa792ac(0x194)](_0x10fd2d)[_0xa792ac(0x255)]=_0x1a724b;}}for(const [_0x389cd4,_0x358b69]of _0x50b842){const _0xe71256=this[_0xa792ac(0x257)][_0xa792ac(0x277)][_0xa792ac(0x19a)](_0x358b69[_0xa792ac(0x1d1)],_0x358b69[_0xa792ac(0x255)]);_0x498247[_0xa792ac(0x145)][_0xa792ac(0x1e3)](_0x389cd4,_0xe71256);}return _0x4a9ac3[_0xa792ac(0x269)]((_0x955eb6,_0x19a482)=>{const _0x481806=_0xa792ac,_0x285d77=_0x498247[_0x481806(0x145)][_0x481806(0x194)](_0x481806(0x157)+_0x955eb6['id']),_0x3f21f8=_0x498247[_0x481806(0x145)][_0x481806(0x194)](_0x481806(0x157)+_0x19a482['id']);return _0x285d77[_0x481806(0x1d1)][_0x481806(0x1f7)](_0x3f21f8[_0x481806(0x1d1)])?-0x1:_0x285d77[_0x481806(0x1d1)][_0x481806(0x1f6)](_0x3f21f8[_0x481806(0x1d1)])?0x1:_0x285d77[_0x481806(0x255)][_0x481806(0x1f7)](_0x3f21f8[_0x481806(0x255)])?-0x1:_0x285d77[_0x481806(0x255)][_0x481806(0x1f6)](_0x3f21f8[_0x481806(0x255)])?0x1:_0x481806(0x160)===_0x955eb6[_0x481806(0x1d8)]?-0x1:0x1;}),{'root':_0x498247,'changes':_0x4a9ac3};function _0x46f4bc(_0x24dd16,_0x5b3aa4,_0x3604b0,_0x4cab4f){const _0x34d658=_0xa792ac,_0x3c54d5=!!_0x591f8d[_0x5b3aa4][_0x24dd16],_0x3a6d90=_0x3c54d5?_0x591f8d[_0x5b3aa4][_0x24dd16][_0x34d658(0x17d)]:null,_0x1efd93=_0x5b3aa4===_0x591f8d[_0x34d658(0x153)]-0x1,_0x16968b=_0xfe9a23[_0x24dd16][0x0],_0x24e6a3=_0x291893[_0x34d658(0x1ac)](_0x591f8d[_0x5b3aa4][_0x34d658(0x27f)]);!_0x543dd5[_0x24dd16]&&_0x3c54d5?_0x543dd5[_0x24dd16]={'start':_0x3604b0,'tapeItem':_0x591f8d[_0x5b3aa4],'userId':_0x3a6d90,'type':_0x24dd16}:_0x543dd5[_0x24dd16]&&!_0x3c54d5?(_0x543dd5[_0x24dd16][_0x34d658(0x255)]=_0x3604b0,_0xdd2369(_0x543dd5[_0x24dd16]),_0x543dd5[_0x24dd16]=null):_0x543dd5[_0x24dd16]&&_0x3c54d5&&_0x543dd5[_0x24dd16][_0x34d658(0x17d)]!==_0x3a6d90&&(_0x543dd5[_0x24dd16][_0x34d658(0x255)]=_0x3604b0,_0x16968b&&_0x16968b[_0x34d658(0x17d)]===_0x543dd5[_0x24dd16][_0x34d658(0x17d)]||_0xdd2369(_0x543dd5[_0x24dd16]),_0x543dd5[_0x24dd16]={'start':_0x3604b0,'tapeItem':_0x591f8d[_0x5b3aa4],'userId':_0x3a6d90,'type':_0x24dd16}),_0x543dd5[_0x24dd16]&&_0x24e6a3&&(_0x34d658(0x23a)!==_0x591f8d[_0x5b3aa4][_0x34d658(0x1d8)]||_0x16968b&&_0x16968b[_0x34d658(0x17d)]===_0x3a6d90||_0xfe9a23[_0x24dd16][_0x34d658(0x28c)]({'userId':_0x3a6d90,'object':_0x591f8d[_0x5b3aa4][_0x34d658(0x27f)],'change':_0x543dd5[_0x24dd16]}),_0x34d658(0x15f)===_0x591f8d[_0x5b3aa4][_0x34d658(0x1d8)]&&_0x16968b&&_0x16968b[_0x34d658(0x171)]===_0x591f8d[_0x5b3aa4][_0x34d658(0x27f)]&&(_0xfe9a23[_0x24dd16][_0x34d658(0x258)](),_0x543dd5[_0x24dd16]=_0x16968b[_0x34d658(0x228)])),_0x543dd5[_0x24dd16]&&_0x1efd93&&(_0x543dd5[_0x24dd16][_0x34d658(0x255)]=_0x4cab4f,_0xdd2369(_0x543dd5[_0x24dd16]),_0x543dd5[_0x24dd16]=null);}function _0xdd2369({start:_0xcb02e3,end:_0x3b7d17,tapeItem:_0x2aa79e,userId:_0x2e5e1c,type:_0x15c024}){const _0x5375f2=_0xa792ac,_0x3f80a7=_0x2aa79e[_0x5375f2(0x27f)],_0x5ee74e=_0x507b78[_0x5375f2(0x221)][_0x5375f2(0x159)](_0x3f80a7)&&!_0x507b78[_0x5375f2(0x221)][_0x5375f2(0x205)](_0x3f80a7),_0xa10314=_0xcb02e3[_0x5375f2(0x20f)]==_0x3b7d17[_0x5375f2(0x25b)]&&_0x3b7d17[_0x5375f2(0x1bd)];if(_0x5ee74e&&_0xa10314)return;const _0xb5eb68=_0x507b78[_0x5375f2(0x19a)](_0xcb02e3,_0x3b7d17),_0x324fdb=_0x144919[_0x5375f2(0x194)](_0x2e5e1c),_0x4e4efb=new _0x461639({'author':_0x324fdb,'type':_0x5375f2(0x210)==_0x15c024||_0x5375f2(0x254)==_0x15c024?_0x5375f2(0x160):_0x5375f2(0x252),'data':{'isSuggestion':_0x5375f2(0x254)==_0x15c024||_0x5375f2(0x148)==_0x15c024},'createdAt':new Date(),'rootName':_0x454378});_0x4a9ac3[_0x5375f2(0x1e7)](_0x4e4efb),_0x498247[_0x5375f2(0x145)][_0x5375f2(0x1e3)](_0x5375f2(0x157)+_0x4e4efb['id'],_0xb5eb68);}function _0x4799b5(_0x490371,_0x426783){const _0x59d75a=_0xa792ac,_0x5462d0=_0x490371[_0x59d75a(0x20c)](),_0xc822a5=_0x426783[_0x59d75a(0x20c)]();for(const _0xad135d of _0x5462d0){if(_0xad135d[0x1]!==_0x426783[_0x59d75a(0x1b7)](_0xad135d[0x0]))return!0x1;_0xc822a5[_0x59d75a(0x260)]();}return _0xc822a5[_0x59d75a(0x260)]()[_0x59d75a(0x267)];}}[_0x6cd535(0x244)](){const _0x611909=_0x6cd535;this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x142)]({'view':_0x611909(0x15c)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x263))[_0x611909(0x17a)]({'model':_0x611909(0x15c),'view':_0x5d2cb1=>{const _0x938904=_0x611909,_0x2868e6=_0x5d2cb1[_0x938904(0x1fd)][_0x938904(0x189)](':')[0x1],_0x4ccd88=this[_0x938904(0x21c)](_0x2868e6);if(!_0x4ccd88)return null;const _0x42f84c=_0x938904(0x160)==_0x4ccd88[_0x938904(0x1d8)]?_0x938904(0x1e9):_0x938904(0x1fe),_0x508203=[_0x938904(0x26e),_0x938904(0x250)+_0x42f84c];return _0x4ccd88[_0x938904(0x25d)][_0x938904(0x23b)]&&_0x508203[_0x938904(0x1e7)](_0x938904(0x250)+_0x42f84c+_0x938904(0x276)),this[_0x938904(0x1d4)]==_0x4ccd88&&_0x508203[_0x938904(0x1e7)](_0x938904(0x208)),{'classes':_0x508203,'attributes':{'data-change-id':_0x2868e6}};}}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x160)](_0x506783=>{const _0x3afa19=_0x611909;_0x506783['on'](_0x3afa19(0x247),(_0x439938,_0x3e1847,_0x1e16a3)=>{const _0x4ccb41=_0x3afa19,_0x2e4a1f=_0x3e1847[_0x4ccb41(0x266)][_0x4ccb41(0x1de)](0x0);if(!_0x2e4a1f||!_0x2e4a1f['is'](_0x4ccb41(0x237),_0x4ccb41(0x21d)))return;if(!_0x1e16a3[_0x4ccb41(0x1bb)][_0x4ccb41(0x1ab)](_0x2e4a1f,{'attributes':[_0x4ccb41(0x17e),_0x4ccb41(0x1ad)]}))return;const _0x1173b3=_0x3e1847[_0x4ccb41(0x177)][_0x4ccb41(0x1d1)][_0x4ccb41(0x20f)];_0x1e16a3[_0x4ccb41(0x196)][_0x4ccb41(0x143)](_0x4ccb41(0x17e),_0x2e4a1f[_0x4ccb41(0x1b7)](_0x4ccb41(0x17e)),_0x1173b3),_0x1e16a3[_0x4ccb41(0x196)][_0x4ccb41(0x143)](_0x4ccb41(0x1ad),_0x2e4a1f[_0x4ccb41(0x1b7)](_0x4ccb41(0x1ad)),_0x1173b3);},{'priority':_0x3afa19(0x245)});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x160)](_0x34ef6b=>{const _0x198d09=_0x611909;_0x34ef6b['on'](_0x198d09(0x237),(_0x5c80f4,_0x392a33,_0x367bee)=>{const _0x194305=_0x198d09;if(!_0x367bee[_0x194305(0x1bb)][_0x194305(0x1ab)](_0x392a33[_0x194305(0x266)],{'attributes':[_0x194305(0x17e),_0x194305(0x1ad)]}))return;if(_0x392a33[_0x194305(0x177)][_0x194305(0x158)])return;const _0x11e41f=_0x392a33[_0x194305(0x177)][_0x194305(0x1d1)][_0x194305(0x20f)];_0x11e41f[_0x194305(0x253)](_0x194305(0x17e))||_0x11e41f[_0x194305(0x253)](_0x194305(0x289))||(_0x367bee[_0x194305(0x196)][_0x194305(0x143)](_0x194305(0x17e),_0x392a33[_0x194305(0x266)][_0x194305(0x1b7)](_0x194305(0x17e)),_0x11e41f),_0x367bee[_0x194305(0x196)][_0x194305(0x143)](_0x194305(0x1ad),_0x392a33[_0x194305(0x266)][_0x194305(0x1b7)](_0x194305(0x1ad)),_0x11e41f));},{'priority':_0x198d09(0x245)});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x1e1)]({'view':{'name':_0x611909(0x165),'attributes':{'vid':!0x0}},'model':{'key':_0x611909(0x289),'value':_0x2f57d7=>_0x2f57d7[_0x611909(0x1b7)](_0x611909(0x289))}}),this[_0x611909(0x257)][_0x611909(0x277)][_0x611909(0x221)]['on'](_0x611909(0x256),(_0x3dbe1d,[,_0x521d18])=>{const _0x1d6f22=_0x611909;[_0x1d6f22(0x17e),_0x1d6f22(0x1ad),_0x1d6f22(0x289)][_0x1d6f22(0x27c)](_0x521d18)&&(_0x3dbe1d[_0x1d6f22(0x1a8)]=!0x0,_0x3dbe1d[_0x1d6f22(0x21a)]());},{'priority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x1c1))[_0x611909(0x160)](_0x35133d=>{const _0x3dd77e=_0x611909;_0x35133d['on'](_0x3dd77e(0x25a),(_0x66680c,_0x5329ad,_0x300fd)=>{const _0x26d931=_0x3dd77e;if('\x20'!=_0x5329ad[_0x26d931(0x27f)][_0x26d931(0x25d)]||_0x5329ad[_0x26d931(0x27f)][_0x26d931(0x25b)][_0x26d931(0x1df)]>0x1)return;if(!_0x300fd[_0x26d931(0x1bb)][_0x26d931(0x1ab)](_0x5329ad[_0x26d931(0x27f)],_0x66680c[_0x26d931(0x22b)]))return;const _0xe21b97=_0x300fd[_0x26d931(0x196)],_0x465f42=_0x300fd[_0x26d931(0x150)][_0x26d931(0x1c2)](_0x5329ad[_0x26d931(0x19c)]);_0xe21b97[_0x26d931(0x285)](_0x465f42,_0xe21b97[_0x26d931(0x1b9)](_0x26d931(0x165)));});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x1c1))[_0x611909(0x292)]({'model':_0x611909(0x15c)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x249),function(_0x281715){const _0x1a3d64=_0x611909,_0x3633f1=_0x281715[_0x1a3d64(0x162)][_0x1a3d64(0x194)](_0x1a3d64(0x1c8));return(_0x4d56df,_0xd25cd8,_0x410b70)=>{const _0xf9a004=_0x1a3d64,_0x57c92b=_0xd25cd8[_0xf9a004(0x1fd)][_0xf9a004(0x189)](':')[0x1],_0x355979=_0x3633f1[_0xf9a004(0x21c)](_0x57c92b);if(!_0x355979)return null;const _0x50a569=_0xf9a004(0x160)==_0x355979[_0xf9a004(0x1d8)]?_0xf9a004(0x189):_0xf9a004(0x1e2);if(!_0x410b70[_0xf9a004(0x1bb)][_0xf9a004(0x1aa)](_0xd25cd8[_0xf9a004(0x20e)],_0x4d56df[_0xf9a004(0x22b)]))return;const _0x410475=_0xd25cd8[_0xf9a004(0x20e)][_0xf9a004(0x1dd)](),_0x46b521=_0xd25cd8[_0xf9a004(0x20e)][_0xf9a004(0x1d1)],_0x4fdd60=_0x281715[_0xf9a004(0x277)][_0xf9a004(0x221)];let _0x4fb079=null,_0x23cd27=null,_0x218b8b=!0x1,_0x159541=!0x1;for(const _0x49f0c6 of _0x410475){const _0x3db6c5=_0x49f0c6[_0xf9a004(0x27f)];_0x218b8b=_0x218b8b||_0x4fdd60[_0xf9a004(0x1be)](_0x3db6c5);const _0x5aeea9=_0x410b70[_0xf9a004(0x150)][_0xf9a004(0x24c)](_0x3db6c5);if(_0x5aeea9&&_0x5aeea9[_0xf9a004(0x1b4)](_0xf9a004(0x24b)))return;_0xf9a004(0x15f)==_0x49f0c6[_0xf9a004(0x1d8)]&&(_0x4fdd60[_0xf9a004(0x159)](_0x3db6c5)&&!_0x4fdd60[_0xf9a004(0x205)](_0x3db6c5)&&(_0x3db6c5[_0xf9a004(0x279)]||_0x46b521[_0xf9a004(0x18e)]?_0x4fb079&&_0x4fb079[_0xf9a004(0x25b)]==_0x3db6c5||(_0x4fb079=_0x3db6c5,_0x5d6dce(_0x49f0c6[_0xf9a004(0x1d7)]),_0x159541=!0x0):_0x23cd27=_0x23cd27||_0x49f0c6[_0xf9a004(0x1d7)]));}function _0x5d6dce(_0x300080){const _0xb74b56=_0xf9a004,_0x256757=_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x264)](_0xb74b56(0x165),{'class':_0xb74b56(0x250)+_0x50a569}),_0x19c8e9=_0x410b70[_0xb74b56(0x150)][_0xb74b56(0x18d)](_0x300080);_0x355979[_0xb74b56(0x25d)][_0xb74b56(0x23b)]&&_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x20a)](_0xb74b56(0x250)+_0x50a569+_0xb74b56(0x276),_0x256757),_0x3633f1[_0xb74b56(0x1d4)]==_0x355979&&_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x20a)](_0xb74b56(0x208),_0x256757),_0x410b70[_0xb74b56(0x196)][_0xb74b56(0x232)](_0x19c8e9,_0x256757),_0x410b70[_0xb74b56(0x150)][_0xb74b56(0x15b)](_0x256757,_0xd25cd8[_0xb74b56(0x1fd)]);}_0x218b8b||_0x159541||!_0x23cd27||_0x5d6dce(_0x23cd27);};}(this[_0x611909(0x257)]),{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x1b6),(_0x340e01,_0x54eb01,_0x49419b)=>{const _0x51efa7=_0x611909,_0x2cb92d=_0x49419b[_0x51efa7(0x150)][_0x51efa7(0x1d2)](_0x54eb01[_0x51efa7(0x1fd)]);if(_0x2cb92d){for(const _0x193764 of _0x2cb92d)(_0x193764[_0x51efa7(0x281)](_0x51efa7(0x176))||_0x193764[_0x51efa7(0x281)](_0x51efa7(0x209)))&&(_0x49419b[_0x51efa7(0x150)][_0x51efa7(0x251)](_0x193764,_0x54eb01[_0x51efa7(0x1fd)]),_0x49419b[_0x51efa7(0x196)][_0x51efa7(0x252)](_0x193764));}},{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x249),(_0x5b6f92,_0x26dc52,_0x132a56)=>{const _0x489cd7=_0x611909,_0x83b826=_0x26dc52[_0x489cd7(0x1fd)][_0x489cd7(0x189)](':')[0x1],_0x1ec7fd=this[_0x489cd7(0x21c)](_0x83b826);if(!_0x1ec7fd)return null;const _0x38b0fb=_0x489cd7(0x160)==_0x1ec7fd[_0x489cd7(0x1d8)]?_0x489cd7(0x189):_0x489cd7(0x1e2);if(_0x132a56[_0x489cd7(0x1bb)][_0x489cd7(0x1aa)](_0x26dc52[_0x489cd7(0x20e)],_0x5b6f92[_0x489cd7(0x22b)]))for(const _0x25362d of _0x26dc52[_0x489cd7(0x20e)][_0x489cd7(0x238)]()){if(!_0x25362d['is'](_0x489cd7(0x237),_0x489cd7(0x200)))continue;const _0x125f03=_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x264)](_0x489cd7(0x165),{'class':_0x489cd7(0x250)+_0x38b0fb}),_0x10de79=_0x132a56[_0x489cd7(0x150)][_0x489cd7(0x18d)](this[_0x489cd7(0x257)][_0x489cd7(0x277)][_0x489cd7(0x17b)](_0x25362d));_0x1ec7fd[_0x489cd7(0x25d)][_0x489cd7(0x23b)]&&_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x20a)](_0x489cd7(0x250)+_0x38b0fb+_0x489cd7(0x276),_0x125f03),this[_0x489cd7(0x1d4)]==_0x1ec7fd&&_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x20a)](_0x489cd7(0x208),_0x125f03),_0x132a56[_0x489cd7(0x196)][_0x489cd7(0x232)](_0x10de79,_0x125f03),_0x132a56[_0x489cd7(0x150)][_0x489cd7(0x15b)](_0x125f03,_0x26dc52[_0x489cd7(0x1fd)]);}},{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x277)][_0x611909(0x24a)]['on'](_0x611909(0x228),()=>{const _0x3f08de=_0x611909;this[_0x3f08de(0x257)][_0x3f08de(0x1f8)][_0x3f08de(0x190)][_0x3f08de(0x228)](_0x560fcd=>{const _0x505b63=_0x3f08de;for(const _0x45d25d of this[_0x505b63(0x257)][_0x505b63(0x277)][_0x505b63(0x24a)][_0x505b63(0x23e)]()){const _0x723ab0=this[_0x505b63(0x257)][_0x505b63(0x277)][_0x505b63(0x24a)][_0x505b63(0x275)](_0x45d25d),_0x27d91f=this[_0x505b63(0x257)][_0x505b63(0x1f8)][_0x505b63(0x190)][_0x505b63(0x24a)][_0x505b63(0x275)](_0x45d25d);if(_0x27d91f){const _0x3a5ae6=_0x723ab0[_0x505b63(0x1b7)](_0x505b63(0x26f));if(_0x560fcd[_0x505b63(0x1d0)](_0x505b63(0x1e0),_0x27d91f),_0x560fcd[_0x505b63(0x172)](_0x505b63(0x1cf),_0x27d91f),_0x560fcd[_0x505b63(0x172)](_0x505b63(0x19d),_0x27d91f),_0x560fcd[_0x505b63(0x172)](_0x505b63(0x291),_0x27d91f),_0x3a5ae6){const _0x427ec6=this[_0x505b63(0x21c)](_0x3a5ae6);if(!_0x427ec6)return null;_0x560fcd[_0x505b63(0x143)](_0x505b63(0x1e0),_0x3a5ae6,_0x27d91f),_0x560fcd[_0x505b63(0x20a)](_0x505b63(0x26d)+_0x427ec6[_0x505b63(0x1d8)],_0x27d91f),this[_0x505b63(0x1d4)]==_0x427ec6&&_0x560fcd[_0x505b63(0x20a)](_0x505b63(0x291),_0x27d91f);}}}});}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x142)]({'view':_0x611909(0x1fc),'model':_0x33b29c=>_0x611909(0x239)+_0x33b29c,'converterPriority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x28e))[_0x611909(0x142)]({'view':_0x611909(0x278),'model':_0x37320a=>_0x611909(0x201)+_0x37320a,'converterPriority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x1c1))[_0x611909(0x292)]({'model':_0x611909(0x272),'view':_0x159d0d=>({'name':_0x611909(0x215)+_0x159d0d,'group':_0x611909(0x272)}),'converterPriority':_0x611909(0x185)}),this[_0x611909(0x257)][_0x611909(0x1b0)][_0x611909(0x1ed)](_0x611909(0x263))[_0x611909(0x17a)]({'model':_0x611909(0x272),'view':_0x2e4e96=>{const _0x50a46f=_0x611909,_0x3c5623=_0x2e4e96[_0x50a46f(0x1fd)][_0x50a46f(0x189)](':')[0x1];return _0x50a46f(0x1e9)!=_0x3c5623&&_0x50a46f(0x1fe)!=_0x3c5623?null:{'classes':[_0x50a46f(0x1c9),_0x50a46f(0x1ee)+_0x3c5623]};}}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x147),et(this[_0x611909(0x257)],_0x611909(0x1e2)),{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x1ff),et(this[_0x611909(0x257)],_0x611909(0x189)),{'priority':_0x611909(0x16d)}),this[_0x611909(0x257)][_0x611909(0x1f8)][_0x611909(0x198)]['on'](_0x611909(0x211),(_0x1bf84c,_0x280f43,_0x23f98e)=>{const _0x1fdbf5=_0x611909,_0x590b6e=_0x23f98e[_0x1fdbf5(0x150)][_0x1fdbf5(0x1d2)](_0x280f43[_0x1fdbf5(0x1fd)]);if(_0x590b6e){for(const _0x11bd8f of _0x590b6e)_0x11bd8f['is'](_0x1fdbf5(0x1a0))&&(_0x23f98e[_0x1fdbf5(0x150)][_0x1fdbf5(0x251)](_0x11bd8f,_0x280f43[_0x1fdbf5(0x1fd)]),_0x23f98e[_0x1fdbf5(0x196)][_0x1fdbf5(0x252)](_0x11bd8f));}},{'priority':_0x611909(0x16d)});}[_0x6cd535(0x21c)](_0x36ffdc){const _0x11e296=_0x6cd535;return this[_0x11e296(0x241)][_0x11e296(0x194)](_0x36ffdc);}[_0x6cd535(0x283)](_0x265e2a){const _0x75eca0=_0x6cd535;return this[_0x75eca0(0x1ec)]&&this[_0x75eca0(0x1ec)][_0x75eca0(0x1b3)](),this[_0x75eca0(0x1ec)]=new _0x174bc2(this[_0x75eca0(0x257)][_0x75eca0(0x246)],_0x265e2a),this[_0x75eca0(0x1ec)];}[_0x6cd535(0x213)](){const _0x4e9c74=_0x6cd535;this[_0x4e9c74(0x257)][_0x4e9c74(0x277)][_0x4e9c74(0x24a)][_0x4e9c74(0x268)][_0x4e9c74(0x175)](_0x4e9c74(0x15c)),this['on'](_0x4e9c74(0x1a5),(_0x3ae1d1,_0x123c79,_0x228c6d,_0x57483b)=>{const _0x40dffe=_0x4e9c74;_0x57483b&&this[_0x40dffe(0x20b)][_0x40dffe(0x252)](_0x57483b),_0x228c6d&&(this[_0x40dffe(0x20b)][_0x40dffe(0x160)]({'view':_0x228c6d,'stackId':_0x40dffe(0x1e8),'position':{'target':()=>{const _0x2ae0fa=_0x40dffe,_0x1c304a=this[_0x2ae0fa(0x257)][_0x2ae0fa(0x1f8)],_0x2358f6=this[_0x2ae0fa(0x21c)](_0x228c6d[_0x2ae0fa(0x167)]);let _0x1f2cbd;if(_0x2358f6[_0x2ae0fa(0x25d)][_0x2ae0fa(0x202)]){const _0x157d28=_0x1c304a[_0x2ae0fa(0x190)][_0x2ae0fa(0x168)](_0x2358f6[_0x2ae0fa(0x15d)]);_0x1f2cbd=Array[_0x2ae0fa(0x1b1)](_0x157d28[_0x2ae0fa(0x230)]());}else{const _0x5c8c35=this[_0x2ae0fa(0x257)][_0x2ae0fa(0x277)][_0x2ae0fa(0x145)][_0x2ae0fa(0x194)](_0x2ae0fa(0x157)+_0x228c6d[_0x2ae0fa(0x167)]);_0x1f2cbd=Array[_0x2ae0fa(0x1b1)](_0x1c304a[_0x2ae0fa(0x150)][_0x2ae0fa(0x1d2)](_0x5c8c35[_0x2ae0fa(0x22b)]))[_0x2ae0fa(0x1af)](_0x3d1746=>_0x1c304a[_0x2ae0fa(0x190)][_0x2ae0fa(0x182)][_0x2ae0fa(0x282)](_0x3d1746))[_0x2ae0fa(0x1af)](_0x2c6f02=>Array[_0x2ae0fa(0x1b1)](_0x2c6f02[_0x2ae0fa(0x230)]()))[_0x2ae0fa(0x1f0)]();}if(!this[_0x2ae0fa(0x220)])return _0x1f2cbd[0x0];return _0x1f2cbd[_0x2ae0fa(0x14a)](_0x2cd30c=>_0x2cd30c[_0x2ae0fa(0x248)]-0x3<=this[_0x2ae0fa(0x220)]['y']&&_0x2cd30c[_0x2ae0fa(0x273)]+0x3>=this[_0x2ae0fa(0x220)]['y']&&_0x2cd30c[_0x2ae0fa(0x1fa)]-0x3<=this[_0x2ae0fa(0x220)]['x']&&_0x2cd30c[_0x2ae0fa(0x22d)]+0x3>=this[_0x2ae0fa(0x220)]['x'])||_0x1f2cbd[0x0];}}}),this[_0x40dffe(0x20b)][_0x40dffe(0x23d)](_0x40dffe(0x1e8)));}),this['on'](_0x4e9c74(0x26b),(_0x4c0650,_0x2a532b,_0x39146e,_0x3cba20)=>{const _0x4ed506=_0x4e9c74;this[_0x4ed506(0x187)]=_0x39146e?this[_0x4ed506(0x283)](_0x39146e):null,this[_0x4ed506(0x257)][_0x4ed506(0x277)][_0x4ed506(0x228)](()=>{const _0x41071e=_0x4ed506,_0xb9887e=this[_0x41071e(0x257)][_0x41071e(0x1f8)];_0x3cba20&&(_0x3cba20[_0x41071e(0x25d)][_0x41071e(0x202)]?_0xb9887e[_0x41071e(0x190)][_0x41071e(0x228)](_0x3f6292=>{const _0x24d55d=_0x41071e;_0x3f6292[_0x24d55d(0x172)](_0x24d55d(0x291),_0xb9887e[_0x24d55d(0x190)][_0x24d55d(0x24a)][_0x24d55d(0x275)](_0x3cba20[_0x24d55d(0x15d)]));}):_0xb9887e[_0x41071e(0x261)](_0x41071e(0x157)+_0x3cba20['id'])),_0x39146e&&(_0x39146e[_0x41071e(0x25d)][_0x41071e(0x202)]?_0xb9887e[_0x41071e(0x190)][_0x41071e(0x228)](_0x3e07d8=>{const _0x3ae28c=_0x41071e;_0x3e07d8[_0x3ae28c(0x20a)](_0x3ae28c(0x291),_0xb9887e[_0x3ae28c(0x190)][_0x3ae28c(0x24a)][_0x3ae28c(0x275)](_0x39146e[_0x3ae28c(0x15d)]));}):_0xb9887e[_0x41071e(0x261)](_0x41071e(0x157)+_0x39146e['id']));});}),this[_0x4e9c74(0x1e5)](this[_0x4e9c74(0x257)][_0x4e9c74(0x1f8)][_0x4e9c74(0x190)][_0x4e9c74(0x24a)],_0x4e9c74(0x18a),(_0x3fb5eb,_0x2ec2c1)=>{const _0x5d7942=_0x4e9c74;if(this[_0x5d7942(0x1d4)])return;const _0x294894=this[_0x5d7942(0x23c)](_0x2ec2c1[_0x5d7942(0x1a9)]),_0x1a15d8=this[_0x5d7942(0x241)][_0x5d7942(0x194)](_0x294894);_0x1a15d8?(this[_0x5d7942(0x220)]={'x':_0x2ec2c1[_0x5d7942(0x20d)]['x'],'y':_0x2ec2c1[_0x5d7942(0x20d)]['y']},this[_0x5d7942(0x187)]=this[_0x5d7942(0x283)](_0x1a15d8)):(this[_0x5d7942(0x220)]=null,this[_0x5d7942(0x187)]=null);}),this[_0x4e9c74(0x1e5)](this[_0x4e9c74(0x257)][_0x4e9c74(0x1f8)][_0x4e9c74(0x190)][_0x4e9c74(0x24a)],_0x4e9c74(0x16e),(_0x29e5d6,_0x32f366)=>{const _0x1d0a38=_0x4e9c74,_0x1a5888=this[_0x1d0a38(0x23c)](_0x32f366[_0x1d0a38(0x1a9)]),_0x53081a=this[_0x1d0a38(0x241)][_0x1d0a38(0x194)](_0x1a5888);_0x53081a?(this[_0x1d0a38(0x220)]={'x':_0x32f366[_0x1d0a38(0x20d)]['x'],'y':_0x32f366[_0x1d0a38(0x20d)]['y']},_0x53081a===this[_0x1d0a38(0x1d4)]?this[_0x1d0a38(0x20b)][_0x1d0a38(0x1b2)]():this[_0x1d0a38(0x1d4)]=_0x53081a):(this[_0x1d0a38(0x220)]=null,this[_0x1d0a38(0x1d4)]=null);});}[_0x6cd535(0x23c)](_0x34c374){const _0x3315f1=_0x6cd535;do{const _0x2101fb=_0x34c374[_0x3315f1(0x1b7)](_0x3315f1(0x1e0));if(_0x2101fb)return _0x2101fb;_0x34c374=_0x34c374[_0x3315f1(0x25b)];}while(_0x34c374);return null;}[_0x6cd535(0x265)](){const _0x3a29c9=_0x6cd535;this[_0x3a29c9(0x257)][_0x3a29c9(0x277)][_0x3a29c9(0x228)](_0xa39a12=>{const _0x14be33=_0x3a29c9;for(const _0x5e88d3 of this[_0x14be33(0x257)][_0x14be33(0x277)][_0x14be33(0x145)])_0xa39a12[_0x14be33(0x146)](_0x5e88d3);});}}function et(_0x48b193,_0x1f1069){return(_0x230edc,_0x201dae,_0x5df107)=>{const _0x350d53=_0x3912;if(!_0x5df107[_0x350d53(0x1bb)][_0x350d53(0x1aa)](_0x201dae[_0x350d53(0x20e)],_0x230edc[_0x350d53(0x22b)]))return;const _0x4430e8=_0x201dae[_0x350d53(0x20e)][_0x350d53(0x1dd)](),_0x549aac=_0x201dae[_0x350d53(0x20e)][_0x350d53(0x1d1)],_0x3dea0c=_0x48b193[_0x350d53(0x277)][_0x350d53(0x221)];let _0xd3877b=null,_0x3def76=null,_0x1b4471=!0x1,_0x459986=!0x1;for(const _0x472e5d of _0x4430e8){const _0x2dfc8=_0x472e5d[_0x350d53(0x27f)];_0x1b4471=_0x1b4471||_0x3dea0c[_0x350d53(0x1be)](_0x2dfc8);const _0x214cbd=_0x5df107[_0x350d53(0x150)][_0x350d53(0x24c)](_0x2dfc8);if(_0x214cbd&&_0x214cbd[_0x350d53(0x1b4)](_0x350d53(0x24b)))return;_0x350d53(0x15f)==_0x472e5d[_0x350d53(0x1d8)]&&(_0x3dea0c[_0x350d53(0x159)](_0x2dfc8)&&!_0x3dea0c[_0x350d53(0x205)](_0x2dfc8)&&(_0x2dfc8[_0x350d53(0x279)]||_0x549aac[_0x350d53(0x18e)]?_0xd3877b&&_0xd3877b[_0x350d53(0x25b)]==_0x2dfc8||(_0xd3877b=_0x2dfc8,_0x59cc66(_0x472e5d[_0x350d53(0x1d7)]),_0x459986=!0x0):_0x3def76=_0x3def76||_0x472e5d[_0x350d53(0x1d7)]));}function _0x59cc66(_0x29ff80){const _0x1ac7d1=_0x350d53,_0x576319=_0x5df107[_0x1ac7d1(0x150)][_0x1ac7d1(0x18d)](_0x29ff80),_0x336302=_0x5df107[_0x1ac7d1(0x196)][_0x1ac7d1(0x264)](_0x1ac7d1(0x165),{'class':_0x1ac7d1(0x1ee)+_0x1f1069});_0x5df107[_0x1ac7d1(0x196)][_0x1ac7d1(0x232)](_0x576319,_0x336302),_0x5df107[_0x1ac7d1(0x150)][_0x1ac7d1(0x15b)](_0x336302,_0x201dae[_0x1ac7d1(0x1fd)]);}_0x1b4471||_0x459986||!_0x3def76||_0x59cc66(_0x3def76);};}export class RestoreRevisionCommand extends _0x282e1b{constructor(_0x44b3c9){const _0x1feab9=_0x6cd535;super(_0x44b3c9);const _0x38175c=_0x44b3c9[_0x1feab9(0x162)][_0x1feab9(0x194)](d);this[_0x1feab9(0x1b8)]=!0x1,this[_0x1feab9(0x1e5)](_0x38175c,_0x1feab9(0x1ef),()=>this[_0x1feab9(0x21e)]()),this[_0x1feab9(0x1e5)](_0x38175c,_0x1feab9(0x25f),()=>this[_0x1feab9(0x21e)]());}[_0x6cd535(0x270)](){const _0x32cd0a=_0x6cd535,_0x257448=this[_0x32cd0a(0x257)],_0x2ba104=_0x257448[_0x32cd0a(0x162)][_0x32cd0a(0x194)](d),_0x1b3680=_0x2ba104[_0x32cd0a(0x27d)]?_0x2ba104[_0x32cd0a(0x169)][_0x32cd0a(0x163)]:null;_0x257448[_0x32cd0a(0x27b)][_0x32cd0a(0x194)](_0x32cd0a(0x173))[_0x32cd0a(0x1c3)](_0x1b3680);}[_0x6cd535(0x21e)](){const _0x2905a4=_0x6cd535,{isReady:_0x34a292,isEnabled:_0x4a4a23}=this[_0x2905a4(0x257)][_0x2905a4(0x162)][_0x2905a4(0x194)](d);this[_0x2905a4(0x17c)]=_0x34a292&&_0x4a4a23;}}export class ShowChangeCommand extends _0x282e1b{constructor(_0x420d10,{direction:_0x410dde}){const _0x1e1173=_0x6cd535;super(_0x420d10);const _0x522c6e=_0x420d10[_0x1e1173(0x162)][_0x1e1173(0x194)](d);this[_0x1e1173(0x1b8)]=!0x1,this[_0x1e1173(0x229)]=_0x1e1173(0x231)===_0x410dde?0x1:-0x1,this[_0x1e1173(0x1e5)](_0x522c6e,_0x1e1173(0x1ef),()=>this[_0x1e1173(0x21e)]()),this[_0x1e1173(0x1e5)](_0x522c6e,_0x1e1173(0x25f),()=>this[_0x1e1173(0x21e)]()),this[_0x1e1173(0x1e5)](_0x522c6e,_0x1e1173(0x26b),()=>this[_0x1e1173(0x21e)]());}[_0x6cd535(0x270)](){const _0x4eb81b=_0x6cd535,_0x2dfc5b=this[_0x4eb81b(0x257)],_0x48d319=_0x2dfc5b[_0x4eb81b(0x162)][_0x4eb81b(0x194)](d),{isNavigationMode:_0xcf3cb4,currentChangeNumber:_0x1bba1e}=_0x48d319;let _0x34ae81;if(_0x48d319[_0x4eb81b(0x1d4)]=_0xcf3cb4?_0x48d319[_0x4eb81b(0x169)][_0x4eb81b(0x1ca)][_0x4eb81b(0x194)](_0x1bba1e+this[_0x4eb81b(0x229)]):_0x48d319[_0x4eb81b(0x169)][_0x4eb81b(0x1ca)][_0x4eb81b(0x152)],_0x48d319[_0x4eb81b(0x1d4)][_0x4eb81b(0x25d)][_0x4eb81b(0x202)])_0x34ae81=_0x2dfc5b[_0x4eb81b(0x1f8)][_0x4eb81b(0x190)][_0x4eb81b(0x168)](_0x48d319[_0x4eb81b(0x1d4)][_0x4eb81b(0x15d)]);else{const _0x241712=_0x2dfc5b[_0x4eb81b(0x277)][_0x4eb81b(0x145)][_0x4eb81b(0x194)](_0x4eb81b(0x157)+_0x48d319[_0x4eb81b(0x1d4)]['id']);_0x34ae81=_0x3f0d0a(_0x2dfc5b[_0x4eb81b(0x1f8)],_0x241712);}_0x1649bb({'target':_0x34ae81,'viewportOffset':0x28});}[_0x6cd535(0x21e)](){const _0x30b2dd=_0x6cd535,{isNavigationMode:_0x47acf8,currentChangeNumber:_0xbdbfed,numberOfChanges:_0x1ee17a,isReady:_0x31c233,isEnabled:_0x3d130d}=this[_0x30b2dd(0x257)][_0x30b2dd(0x162)][_0x30b2dd(0x194)](d);this[_0x30b2dd(0x17c)]=!!(_0x3d130d&&_0x31c233&&_0x1ee17a)&&(!_0x47acf8||(0x1===this[_0x30b2dd(0x229)]?_0xbdbfed<_0x1ee17a-0x1:_0xbdbfed>0x0));}}
|
|
23
|
+
const _0xdffa09=_0x34ed;(function(_0x1c9d52,_0x5507c3){const _0xdfc2f8=_0x34ed,_0x1d5f4e=_0x1c9d52();while(!![]){try{const _0x874fc4=parseInt(_0xdfc2f8(0x28a))/0x1+-parseInt(_0xdfc2f8(0x1dc))/0x2*(parseInt(_0xdfc2f8(0x313))/0x3)+-parseInt(_0xdfc2f8(0x1f1))/0x4+parseInt(_0xdfc2f8(0x240))/0x5*(parseInt(_0xdfc2f8(0x2bc))/0x6)+parseInt(_0xdfc2f8(0x227))/0x7+-parseInt(_0xdfc2f8(0x208))/0x8*(parseInt(_0xdfc2f8(0x2c9))/0x9)+-parseInt(_0xdfc2f8(0x27c))/0xa*(-parseInt(_0xdfc2f8(0x304))/0xb);if(_0x874fc4===_0x5507c3)break;else _0x1d5f4e['push'](_0x1d5f4e['shift']());}catch(_0x17aa25){_0x1d5f4e['push'](_0x1d5f4e['shift']());}}}(_0x3672,0x7a3db));import{Plugin as _0x13b4da,Command as _0x338556}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x4930e7}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x5379e6}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x1f7f22,Element as _0x56164b,Text as _0x229489,ViewDocumentFragment as _0x5b90ac,ViewText as _0x115cee,ViewElement as _0x29a6f1,ViewContainerElement as _0x426cd9,ViewAttributeElement as _0x8346b7,ViewEmptyElement as _0x1608ec,ViewRawElement as _0x4e41dd,ViewUIElement as _0x4a4dcb}from'ckeditor5/src/engine.js';import{Users as _0x43110f,getMarkerDomElement as _0x5d0661}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3498be from'./ui/revisionviewer/changedetailsview.js';import _0x4d90ff from'./revisionsrepository.js';import _0x1e9a1a from'./changeitem.js';import{default as _0x59290b}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x1374a5}from'lodash-es';function _0x34ed(_0x5037db,_0x2d51b6){const _0x367280=_0x3672();return _0x34ed=function(_0x34edb0,_0x5be028){_0x34edb0=_0x34edb0-0x1d4;let _0xfe9852=_0x367280[_0x34edb0];return _0xfe9852;},_0x34ed(_0x5037db,_0x2d51b6);}const tt={'c':_0x426cd9,'a':_0x8346b7,'e':_0x1608ec,'r':_0x4e41dd,'u':_0x4a4dcb};export default class d extends _0x13b4da{static get[_0xdffa09(0x2cb)](){const _0x60df13=_0xdffa09;return _0x60df13(0x23b);}static get[_0xdffa09(0x1f7)](){return[_0x43110f,_0x5379e6,_0x4d90ff];}constructor(_0x5b313e){const _0x8cccf7=_0xdffa09;super(_0x5b313e),this[_0x8cccf7(0x1e4)]=this[_0x8cccf7(0x1e6)][_0x8cccf7(0x213)][_0x8cccf7(0x29f)](_0x8cccf7(0x224)),this[_0x8cccf7(0x244)](_0x8cccf7(0x21a),null),this[_0x8cccf7(0x244)](_0x8cccf7(0x2af),null),this[_0x8cccf7(0x30c)]=null,this[_0x8cccf7(0x244)](_0x8cccf7(0x2c4),null),this[_0x8cccf7(0x244)](_0x8cccf7(0x2fa),!0x1),this[_0x8cccf7(0x244)](_0x8cccf7(0x20c),!0x0),this['on'](_0x8cccf7(0x2a9),(_0x448cb8,_0x511533,_0x2010dd)=>{const _0x5d16a1=_0x8cccf7;this[_0x5d16a1(0x21a)]=null,this[_0x5d16a1(0x2af)]=null,this[_0x5d16a1(0x1e6)][_0x5d16a1(0x1ff)][_0x5d16a1(0x23e)][_0x5d16a1(0x2a1)](_0xf45143=>{const _0x1819f8=_0x5d16a1;for(const _0x437bf9 of this[_0x1819f8(0x1e6)][_0x1819f8(0x1ff)][_0x1819f8(0x23e)][_0x1819f8(0x319)][_0x1819f8(0x206)])_0x2010dd?_0xf45143[_0x1819f8(0x27d)](_0x1819f8(0x2b9),_0x437bf9):_0xf45143[_0x1819f8(0x25c)](_0x1819f8(0x2b9),_0x437bf9);});}),this[_0x8cccf7(0x200)](_0x8cccf7(0x22b))['to'](this,_0x8cccf7(0x21a),_0x9759db=>null!==_0x9759db),this[_0x8cccf7(0x200)](_0x8cccf7(0x263))['to'](this,_0x8cccf7(0x2fa),this,_0x8cccf7(0x2c4),this,_0x8cccf7(0x21a),(_0x4be06f,_0x432907,_0x551592)=>_0x4be06f&&_0x551592?_0x432907[_0x8cccf7(0x2f1)][_0x8cccf7(0x252)](_0x551592):0x0),this[_0x8cccf7(0x200)](_0x8cccf7(0x289))['to'](this,_0x8cccf7(0x2fa),this,_0x8cccf7(0x2c4),(_0x5737c4,_0x205d2e)=>_0x5737c4?_0x205d2e[_0x8cccf7(0x2f1)][_0x8cccf7(0x2bf)]:0x0),this[_0x8cccf7(0x1ec)]=null,this[_0x8cccf7(0x307)]=new Map(),this[_0x8cccf7(0x204)]=null,this[_0x8cccf7(0x207)]=this[_0x8cccf7(0x1e6)][_0x8cccf7(0x213)][_0x8cccf7(0x29f)](_0x5379e6);}[_0xdffa09(0x1ed)](){const _0x158ef2=_0xdffa09,_0x4a56e2=this[_0x158ef2(0x1e6)],_0x26ca5a=new ShowChangeCommand(_0x4a56e2,{'direction':_0x158ef2(0x24d)}),_0x544235=new ShowChangeCommand(_0x4a56e2,{'direction':_0x158ef2(0x29b)});(_0x4a56e2[_0x158ef2(0x2a8)][_0x158ef2(0x1e2)](_0x158ef2(0x24b),_0x26ca5a),_0x4a56e2[_0x158ef2(0x2a8)][_0x158ef2(0x1e2)](_0x158ef2(0x2dc),_0x544235),_0x4a56e2[_0x158ef2(0x2a8)][_0x158ef2(0x1e2)](_0x158ef2(0x2b6),new RestoreRevisionCommand(_0x4a56e2)),this['on'](_0x158ef2(0x278),()=>{const _0x30249f=_0x158ef2;_0x26ca5a[_0x30249f(0x2e2)](),_0x544235[_0x30249f(0x2e2)]();}),this[_0x158ef2(0x310)](),this[_0x158ef2(0x2d6)](),_0x4a56e2[_0x158ef2(0x28e)](_0x158ef2(0x273)),_0x4a56e2[_0x158ef2(0x213)][_0x158ef2(0x316)](_0x158ef2(0x1eb)))&&_0x4a56e2[_0x158ef2(0x213)][_0x158ef2(0x29f)](_0x158ef2(0x1eb))[_0x158ef2(0x27f)](_0x158ef2(0x273));}async[_0xdffa09(0x27e)](_0x35c74a){const _0x153dba=_0xdffa09;await this[_0x153dba(0x2f8)](_0x35c74a);const _0x274b52={};for(const _0x17f41b in _0x35c74a[_0x153dba(0x269)]){if(_0x35c74a[_0x153dba(0x269)][_0x17f41b][_0x153dba(0x237)]&&!_0x35c74a[_0x153dba(0x269)][_0x17f41b][_0x153dba(0x237)][_0x153dba(0x22a)])continue;const _0x1b21c9=this[_0x153dba(0x2ad)](JSON[_0x153dba(0x2e6)](_0x35c74a[_0x153dba(0x269)][_0x17f41b][_0x153dba(0x2b0)])),_0x53e1db=this[_0x153dba(0x1e6)][_0x153dba(0x1ff)][_0x153dba(0x23e)][_0x153dba(0x319)],_0xee8234=new _0x5b90ac(_0x53e1db,_0x1b21c9[_0x153dba(0x2f0)](_0x2b6867=>this[_0x153dba(0x22f)](_0x2b6867)));this[_0x153dba(0x1e6)][_0x153dba(0x309)][_0x153dba(0x214)][_0x153dba(0x323)](_0x153dba(0x226)),_0x274b52[_0x17f41b]=this[_0x153dba(0x1e6)][_0x153dba(0x309)][_0x153dba(0x214)][_0x153dba(0x21c)](_0xee8234),this[_0x153dba(0x1e6)][_0x153dba(0x309)][_0x153dba(0x214)][_0x153dba(0x323)](_0x153dba(0x2b7));}return _0x274b52;}async[_0xdffa09(0x1d9)](_0x4d3fed){const _0x28c902=_0xdffa09;await this[_0x28c902(0x2f8)](_0x4d3fed);const _0x372059={};for(const _0x4ba4a5 in _0x4d3fed[_0x28c902(0x269)])_0x4d3fed[_0x28c902(0x269)][_0x4ba4a5][_0x28c902(0x237)]&&!_0x4d3fed[_0x28c902(0x269)][_0x4ba4a5][_0x28c902(0x237)][_0x28c902(0x22a)]||(_0x372059[_0x4ba4a5]=_0x4d3fed[_0x28c902(0x269)][_0x4ba4a5][_0x28c902(0x2ee)]||{});return _0x372059;}[_0xdffa09(0x2ad)](_0x537304){const _0x352be9=_0xdffa09;return(_0x537304=_0x537304[_0x352be9(0x23d)](_0x45f83a=>!_0x45f83a[_0x352be9(0x1e1)]||_0x352be9(0x21b)!==_0x45f83a[_0x352be9(0x1e1)]&&_0x352be9(0x322)!==_0x45f83a[_0x352be9(0x1e1)]))[_0x352be9(0x1e5)](_0x5b4d61=>{const _0x12f8cf=_0x352be9;_0x12f8cf(0x251)!=typeof _0x5b4d61&&(_0x5b4d61[_0x12f8cf(0x256)]=this[_0x12f8cf(0x2ad)](_0x5b4d61[_0x12f8cf(0x256)]),_0x5b4d61[_0x12f8cf(0x301)]=_0x5b4d61[_0x12f8cf(0x301)][_0x12f8cf(0x23d)](_0x28f9fb=>!_0x28f9fb[0x0][_0x12f8cf(0x285)](_0x12f8cf(0x2a7))));}),_0x537304;}async[_0xdffa09(0x295)](_0x19b916,_0x5f2d69,_0x4f647d=!0x1){const _0x23d75f=_0xdffa09;if(!this[_0x23d75f(0x20c)])return;const _0x5b526f=this[_0x23d75f(0x2c4)],_0x57ed2b=this[_0x23d75f(0x1e4)],_0x2466cc=_0x23d75f(0x251)==typeof _0x19b916?_0x57ed2b[_0x23d75f(0x2ce)](_0x19b916):_0x19b916,_0x41ee31=_0x23d75f(0x251)==typeof _0x5f2d69?_0x57ed2b[_0x23d75f(0x2ce)](_0x5f2d69):_0x5f2d69,_0x2aa928=_0x2466cc['id'],_0x529963=_0x41ee31?_0x41ee31['id']:null;if(!_0x4f647d&&this[_0x23d75f(0x2c4)]&&this[_0x23d75f(0x2c4)][_0x23d75f(0x30d)]===_0x2aa928&&this[_0x23d75f(0x2c4)][_0x23d75f(0x1f3)]===_0x529963)return Promise[_0x23d75f(0x286)]();this[_0x23d75f(0x2fa)]=!0x1,this[_0x23d75f(0x2af)]=null,this[_0x23d75f(0x21a)]=null,this[_0x23d75f(0x2c4)]=new _0x59290b(_0x2aa928,_0x529963);const _0xafb4ef=this[_0x23d75f(0x2f6)](_0x2466cc,_0x41ee31,!0x0)[_0x23d75f(0x2f0)](_0xc04ece=>this[_0x23d75f(0x2f8)](_0xc04ece));return _0xafb4ef[_0x23d75f(0x2de)](new Promise(_0x2f96a0=>{setTimeout(_0x2f96a0,0x14);})),Promise[_0x23d75f(0x2e5)](_0xafb4ef)[_0x23d75f(0x2d9)](()=>{const _0xfc24c4=_0x23d75f;if(!this[_0xfc24c4(0x20c)])return;this[_0xfc24c4(0x260)]();const _0x1fad0b=this[_0xfc24c4(0x258)](_0x2aa928,_0x529963);for(const _0x48ae4e of _0x1fad0b[_0xfc24c4(0x2f1)])this[_0xfc24c4(0x307)][_0xfc24c4(0x244)](_0x48ae4e['id'],_0x48ae4e);this[_0xfc24c4(0x1e6)][_0xfc24c4(0x218)][_0xfc24c4(0x2f7)]({'isUndoable':!0x1},_0xa26eb9=>{const _0x252905=_0xfc24c4;for(const _0x3400b9 of this[_0x252905(0x1e6)][_0x252905(0x218)][_0x252905(0x319)][_0x252905(0x24f)]())_0xa26eb9[_0x252905(0x232)](_0x3400b9);for(const _0x583a1b of Object[_0x252905(0x2ed)](_0x1fad0b[_0x252905(0x218)])){const _0x37f82b=_0xa26eb9[_0x252905(0x23c)](_0x583a1b);for(const _0x220335 of Object[_0x252905(0x2ed)](_0x1fad0b[_0x252905(0x301)][_0x583a1b]))_0xa26eb9[_0x252905(0x1fc)](_0x220335,_0x1fad0b[_0x252905(0x301)][_0x583a1b][_0x220335],_0x37f82b);_0xa26eb9[_0x252905(0x2bd)](_0x1fad0b[_0x252905(0x218)][_0x583a1b],_0x37f82b,0x0);}}),this[_0xfc24c4(0x2c4)][_0xfc24c4(0x210)](this[_0xfc24c4(0x2a6)](_0x1fad0b[_0xfc24c4(0x2f1)])),this[_0xfc24c4(0x2fa)]=!0x0;})[_0x23d75f(0x242)](_0x1bb04c=>{const _0xc87660=_0x23d75f;console[_0xc87660(0x2eb)](_0x1bb04c),this[_0xc87660(0x260)](),_0x5b526f&&(this[_0xc87660(0x2c4)]=_0x5b526f),this[_0xc87660(0x2fa)]=!0x0;});}[_0xdffa09(0x298)](_0x71ee60,_0x4be872){const _0x4b914f=_0xdffa09,_0x250149=this[_0x4b914f(0x1e4)][_0x4b914f(0x2e0)](_0x71ee60);return _0x250149['on'](_0x4b914f(0x30e),(_0x4c9e42,_0x1911d7,_0x5cff35)=>_0x4be872(_0x1911d7,_0x5cff35,_0x250149)),this[_0x4b914f(0x1e4)][_0x4b914f(0x24a)](_0x250149),_0x250149;}[_0xdffa09(0x2f8)](_0x5018b9){const _0x5f0d3a=_0xdffa09;if(!_0x5018b9||_0x5018b9[_0x5f0d3a(0x269)])return Promise[_0x5f0d3a(0x286)]();{const _0x36e77c=this[_0x5f0d3a(0x1e6)][_0x5f0d3a(0x248)][_0x5f0d3a(0x29f)](_0x5f0d3a(0x22c));return this[_0x5f0d3a(0x204)][_0x5f0d3a(0x2ce)]({'channelId':_0x36e77c,'revisionId':_0x5018b9['id']})[_0x5f0d3a(0x2d9)](_0x495a8f=>{const _0x2cbd11=_0x5f0d3a;_0x5018b9[_0x2cbd11(0x30e)]({'diffData':_0x495a8f[_0x2cbd11(0x269)]},!0x0);});}}[_0xdffa09(0x260)](){const _0x151e6c=_0xdffa09;this[_0x151e6c(0x21a)]=null,this[_0x151e6c(0x2cc)](),this[_0x151e6c(0x1ec)]&&this[_0x151e6c(0x1ec)][_0x151e6c(0x1df)](),this[_0x151e6c(0x1ec)]=null,this[_0x151e6c(0x307)][_0x151e6c(0x31d)](),this[_0x151e6c(0x1e6)][_0x151e6c(0x218)][_0x151e6c(0x2f7)]({'isUndoable':!0x1},_0x3684ee=>{const _0x134b42=_0x151e6c;for(const _0x134643 of this[_0x134b42(0x1e6)][_0x134b42(0x218)][_0x134b42(0x319)][_0x134b42(0x24f)]())_0x3684ee[_0x134b42(0x232)](_0x134643);});}[_0xdffa09(0x2a6)](_0x1dc85b){const _0x551496=_0xdffa09,_0xce0350=[],_0x22cb7d=new Map();for(const _0x18b5f2 of this[_0x551496(0x1e6)][_0x551496(0x218)][_0x551496(0x319)][_0x551496(0x24f)]()){const _0x2f38f3=this[_0x551496(0x1e6)][_0x551496(0x1ff)][_0x551496(0x23e)][_0x551496(0x1d5)](_0x18b5f2);if(!_0x2f38f3)continue;const _0x2d19a4=_0x2f38f3[_0x551496(0x294)]()[_0x551496(0x2c7)](0x0);_0x2d19a4&&(_0xce0350[_0x551496(0x2de)](_0x18b5f2),_0x22cb7d[_0x551496(0x244)](_0x18b5f2,_0x2d19a4));}return _0xce0350[_0x551496(0x265)]((_0x2d699d,_0x5bea51)=>{const _0x295ef1=_0x551496,_0x561135=_0x22cb7d[_0x295ef1(0x29f)](_0x2d699d),_0x4072ed=_0x22cb7d[_0x295ef1(0x29f)](_0x5bea51);return _0x561135['y']-_0x4072ed['y']||_0x561135['x']-_0x4072ed['x'];}),(_0x1dc85b=_0x1dc85b[_0x551496(0x23d)](_0x197710=>_0xce0350[_0x551496(0x2f3)](_0x197710[_0x551496(0x2b8)])))[_0x551496(0x265)]((_0x13ac85,_0x3cc30a)=>_0xce0350[_0x551496(0x291)](_0x13ac85[_0x551496(0x2b8)])-_0xce0350[_0x551496(0x291)](_0x3cc30a[_0x551496(0x2b8)])),_0x1dc85b;}[_0xdffa09(0x264)](_0x3def39){const _0x211f71=_0xdffa09,_0x15caf8=Array[_0x211f71(0x2fc)](_0x3def39[_0x211f71(0x26c)])[_0x211f71(0x23d)](([_0x4ce744,_0x4ea4f5])=>_0x4ce744[_0x211f71(0x285)](_0x211f71(0x246))&&!_0x4ea4f5[_0x211f71(0x2ca)]),_0x5b0a18=Array[_0x211f71(0x2fc)](this[_0x211f71(0x1e6)][_0x211f71(0x218)][_0x211f71(0x25e)](_0x3def39)[_0x211f71(0x259)]({'singleCharacters':!0x0}));if(0x0!=_0x15caf8[_0x211f71(0x2bf)])for(const _0x5f0b39 of _0x5b0a18){const [_0x57b8f3,_0xea0d31]=_0x15caf8[0x0],[,_0x4a9d10,_0x42b0f7]=_0x57b8f3[_0x211f71(0x2e1)](':');if(_0xea0d31[_0x211f71(0x2c2)][_0x211f71(0x1f9)](_0x5f0b39[_0x211f71(0x2a2)])&&_0x15caf8[_0x211f71(0x217)](),(_0x5f0b39[_0x211f71(0x27b)][_0x211f71(0x1f9)](_0xea0d31[_0x211f71(0x2e3)])||_0x5f0b39[_0x211f71(0x27b)][_0x211f71(0x287)](_0xea0d31[_0x211f71(0x2e3)]))&&(_0x211f71(0x281)==_0x4a9d10?_0x5f0b39[_0x211f71(0x2ab)]={'userId':_0x42b0f7}:_0x211f71(0x215)==_0x4a9d10&&(_0x5f0b39[_0x211f71(0x2f2)]={'userId':_0x42b0f7})),0x0==_0x15caf8[_0x211f71(0x2bf)])break;}return _0x5b0a18;}[_0xdffa09(0x262)](_0x26fb25){const _0x2ab87c=_0xdffa09,_0xad28f=new Map();for(let _0x4e9820=0x0;_0x4e9820<_0x26fb25[_0x2ab87c(0x2bf)];_0x4e9820++)_0x2ab87c(0x245)===_0x26fb25[_0x4e9820][_0x2ab87c(0x2d8)]?(_0x26fb25[_0x4e9820][_0x2ab87c(0x2c7)][_0x2ab87c(0x2fb)]=_0x4e9820,_0x26fb25[_0x4e9820][_0x2ab87c(0x2c7)][_0x2ab87c(0x2e4)]=_0x4e9820):(_0x2ab87c(0x203)===_0x26fb25[_0x4e9820][_0x2ab87c(0x2d8)]?_0x26fb25[_0x4e9820][_0x2ab87c(0x2c7)][_0x2ab87c(0x2fb)]=_0x4e9820:_0x2ab87c(0x20f)===_0x26fb25[_0x4e9820][_0x2ab87c(0x2d8)]&&(_0x26fb25[_0x4e9820][_0x2ab87c(0x2c7)][_0x2ab87c(0x2e4)]=_0x4e9820),_0xad28f[_0x2ab87c(0x244)](_0x26fb25[_0x4e9820]['id'],_0x4e9820));for(const _0x5abd4f of _0xad28f[_0x2ab87c(0x1fb)]())_0x2ab87c(0x203)===_0x26fb25[_0x5abd4f][_0x2ab87c(0x2d8)]?_0x26fb25[_0x5abd4f][_0x2ab87c(0x2c7)][_0x2ab87c(0x2e4)]=_0xad28f[_0x2ab87c(0x29f)](_0x26fb25[_0x5abd4f][_0x2ab87c(0x1fa)]):_0x2ab87c(0x20f)===_0x26fb25[_0x5abd4f][_0x2ab87c(0x2d8)]&&(_0x26fb25[_0x5abd4f][_0x2ab87c(0x2c7)][_0x2ab87c(0x2fb)]=_0xad28f[_0x2ab87c(0x29f)](_0x26fb25[_0x5abd4f][_0x2ab87c(0x1fa)]));}[_0xdffa09(0x2ef)](_0x2584bd){const _0x267c63=_0xdffa09;for(let _0x1be933=0x0;_0x1be933<_0x2584bd[_0x267c63(0x2bf)];_0x1be933++){if(_0x267c63(0x203)===_0x2584bd[_0x1be933][_0x267c63(0x2d8)])_0x2584bd[_0x1be933][_0x267c63(0x2c7)][_0x267c63(0x2fb)]=_0x1be933;else{if(_0x267c63(0x20f)===_0x2584bd[_0x1be933][_0x267c63(0x2d8)]){_0x2584bd[_0x1be933][_0x267c63(0x2c7)][_0x267c63(0x2e4)]=_0x1be933;const _0x29cd54=_0x2584bd[_0x1be933][_0x267c63(0x2c7)][_0x267c63(0x2fb)];_0x2584bd[_0x29cd54][_0x267c63(0x1fa)]=_0x2584bd[_0x1be933]['id'],_0x2584bd[_0x1be933][_0x267c63(0x1fa)]=_0x2584bd[_0x29cd54]['id'];}else _0x2584bd[_0x1be933][_0x267c63(0x2c7)][_0x267c63(0x2fb)]=_0x1be933,_0x2584bd[_0x1be933][_0x267c63(0x2c7)][_0x267c63(0x2e4)]=_0x1be933,_0x2584bd[_0x1be933][_0x267c63(0x1fa)]=null;}_0x2584bd[_0x1be933][_0x267c63(0x299)]||(_0x2584bd[_0x1be933][_0x267c63(0x299)]=[],_0x2584bd[_0x1be933][_0x267c63(0x2aa)]=[]);}}[_0xdffa09(0x222)](_0x332d39,_0x4534f2){const _0x37856d=_0xdffa09,_0x2885fe=_0x332d39[_0x37856d(0x23d)](_0xdae777=>!_0xdae777[_0x37856d(0x2ab)]);for(let _0x25279b=0x0;_0x25279b<_0x4534f2[_0x37856d(0x2bf)];_0x25279b++)_0x4534f2[_0x25279b][_0x37856d(0x2ab)]&&(_0x2885fe[_0x25279b][_0x37856d(0x2ab)]=_0x4534f2[_0x25279b][_0x37856d(0x2ab)]);}[_0xdffa09(0x219)](_0x113d43){const _0x2f0067=_0xdffa09,_0x40e2a8=JSON[_0x2f0067(0x2e6)](_0x113d43),_0x1d017e=this[_0x2f0067(0x1e6)][_0x2f0067(0x1ff)][_0x2f0067(0x23e)][_0x2f0067(0x319)],_0x4394cc=new _0x5b90ac(_0x1d017e,_0x40e2a8[_0x2f0067(0x2f0)](_0x19a9c4=>this[_0x2f0067(0x22f)](_0x19a9c4)));return this[_0x2f0067(0x1e6)][_0x2f0067(0x309)][_0x2f0067(0x2ec)](_0x4394cc);}[_0xdffa09(0x22f)](_0x4b0002){const _0x201326=_0xdffa09,_0x47975f=this[_0x201326(0x1e6)][_0x201326(0x1ff)][_0x201326(0x23e)][_0x201326(0x319)];if(_0x201326(0x251)==typeof _0x4b0002)return new _0x115cee(_0x47975f,_0x4b0002);{const _0x114250=_0x4b0002[_0x201326(0x256)][_0x201326(0x2f0)](_0x3c6dac=>this[_0x201326(0x22f)](_0x3c6dac));return new(tt[_0x4b0002[(_0x201326(0x2d8))]]||_0x29a6f1)(_0x47975f,_0x4b0002[_0x201326(0x1e1)],_0x4b0002[_0x201326(0x301)],_0x114250);}}[_0xdffa09(0x258)](_0x3a461b,_0xf3ceb8=null){const _0x2f86e6=_0xdffa09,_0x31e0df=this[_0x2f86e6(0x1e4)][_0x2f86e6(0x2ce)](_0x3a461b),_0x46cda8=_0xf3ceb8?this[_0x2f86e6(0x1e4)][_0x2f86e6(0x2ce)](_0xf3ceb8):null,_0x271a1c=this[_0x2f86e6(0x2f6)](_0x31e0df,_0x46cda8),_0x3acf84=_0x271a1c[_0x271a1c[_0x2f86e6(0x2bf)]-0x1],_0x48d1d8=new Map(),_0x1d62b6={'model':{},'attributes':{},'changes':[]},_0x19d18c=new Set(),_0xa041cb=new Map();for(let _0xdc3b9e=_0x271a1c[_0x2f86e6(0x2bf)]-0x1;_0xdc3b9e>=0x0;_0xdc3b9e--){const _0x5b7253=_0x271a1c[_0xdc3b9e];for(const _0x3cf4b3 of Object[_0x2f86e6(0x2ed)](_0x5b7253[_0x2f86e6(0x269)]))if(_0x5b7253[_0x2f86e6(0x269)][_0x3cf4b3][_0x2f86e6(0x237)]){const _0x56468f=_0x5b7253[_0x2f86e6(0x269)][_0x3cf4b3][_0x2f86e6(0x237)];_0x56468f[_0x2f86e6(0x22a)]?(_0x19d18c[_0x2f86e6(0x1e2)](_0x3cf4b3),_0xa041cb[_0x2f86e6(0x316)](_0x3cf4b3)&&_0xa041cb[_0x2f86e6(0x29f)](_0x3cf4b3)[_0x2f86e6(0x228)]==_0x56468f[_0x2f86e6(0x228)]?_0xa041cb[_0x2f86e6(0x30f)](_0x3cf4b3):_0xa041cb[_0x2f86e6(0x244)](_0x3cf4b3,_0x56468f)):_0xa041cb[_0x2f86e6(0x316)](_0x3cf4b3)?(_0x19d18c[_0x2f86e6(0x30f)](_0x3cf4b3),_0xa041cb[_0x2f86e6(0x30f)](_0x3cf4b3)):(_0x19d18c[_0x2f86e6(0x1e2)](_0x3cf4b3),_0xa041cb[_0x2f86e6(0x244)](_0x3cf4b3,_0x56468f));}else _0x19d18c[_0x2f86e6(0x1e2)](_0x3cf4b3);}for(const _0x4a55b0 of _0x19d18c){const _0x4421b5=_0xa041cb[_0x2f86e6(0x316)](_0x4a55b0)&&!_0xa041cb[_0x2f86e6(0x29f)](_0x4a55b0)[_0x2f86e6(0x22a)];let _0x4a5a77=_0x4421b5?_0x271a1c[_0x2f86e6(0x2bf)]-0x1:0x0;const _0x321aa8=_0x4421b5?-0x1:0x1;for(;_0x271a1c[_0x4a5a77];){const _0x562d5d=_0x271a1c[_0x4a5a77];if(_0x562d5d[_0x2f86e6(0x269)][_0x4a55b0]){const _0x354221=_0x4421b5?_0x562d5d[_0x2f86e6(0x269)][_0x4a55b0][_0x2f86e6(0x297)]:_0x562d5d[_0x2f86e6(0x269)][_0x4a55b0][_0x2f86e6(0x2ee)];_0x1d62b6[_0x2f86e6(0x301)][_0x4a55b0]=_0x354221?_0x1374a5(_0x354221):{};break;}_0x4a5a77+=_0x321aa8;}}for(const _0xe88c8a of _0x271a1c){_0xe88c8a[_0x2f86e6(0x218)]={};for(const _0x1f289d of _0xe88c8a[_0x2f86e6(0x1f4)])_0x48d1d8[_0x2f86e6(0x244)](_0x1f289d['id'],_0x1f289d);for(const _0x46af28 of _0x19d18c){const _0x2d3a96=_0xe88c8a[_0x2f86e6(0x269)][_0x46af28]?_0xe88c8a[_0x2f86e6(0x269)][_0x46af28][_0x2f86e6(0x2b0)]:'[]',_0x1e46de=_0xe88c8a[_0x2f86e6(0x269)][_0x46af28]?_0xe88c8a[_0x2f86e6(0x269)][_0x46af28][_0x2f86e6(0x288)]:'[]';_0xe88c8a[_0x2f86e6(0x218)][_0x46af28]={'insertions':this[_0x2f86e6(0x219)](_0x2d3a96),'deletions':this[_0x2f86e6(0x219)](_0x1e46de)};}}for(const _0x576902 of _0x19d18c){let _0x7d5bd5=null,_0x1bc8b8=0x0;const _0x5ad37e=new Map(Array[_0x2f86e6(0x2fc)](_0x31e0df[_0x2f86e6(0x218)][_0x576902][_0x2f86e6(0x2b0)][_0x2f86e6(0x26c)])[_0x2f86e6(0x23d)](([_0x315f7a])=>!_0x315f7a[_0x2f86e6(0x285)](_0x2f86e6(0x246))));let _0xfa63cc=0x0;for(const _0x30613c of _0x271a1c){const _0x11aece=this[_0x2f86e6(0x264)](_0x30613c[_0x2f86e6(0x218)][_0x576902][_0x2f86e6(0x2b0)]);_0x30613c==_0x31e0df?(_0x7d5bd5=_0x11aece,_0x1bc8b8=_0x7d5bd5[_0x2f86e6(0x2bf)],_0x7d5bd5[_0x2f86e6(0x1e5)](_0x270824=>{_0x270824['id']=_0xfa63cc++;}),this[_0x2f86e6(0x2ef)](_0x7d5bd5)):this[_0x2f86e6(0x222)](_0x7d5bd5,_0x11aece);const _0x48444f=_0x7d5bd5[_0x2f86e6(0x23d)](_0x5054aa=>!_0x5054aa[_0x2f86e6(0x2ab)])[_0x2f86e6(0x2f0)](_0x3a03f5=>_0x3a03f5['id']);let _0x167441=0x0;const _0x1c78b4=this[_0x2f86e6(0x264)](_0x30613c[_0x2f86e6(0x218)][_0x576902][_0x2f86e6(0x288)]);_0x1c78b4[_0x2f86e6(0x1e5)](_0x40af0b=>{const _0x237c20=_0x2f86e6;_0x40af0b[_0x237c20(0x2f2)]?_0x40af0b['id']=_0x1bc8b8++:_0x40af0b['id']=_0x48444f[_0x167441++];}),this[_0x2f86e6(0x2ef)](_0x1c78b4),this[_0x2f86e6(0x201)](_0x7d5bd5,_0x2f86e6(0x2ab)),this[_0x2f86e6(0x201)](_0x1c78b4,_0x2f86e6(0x2f2)),_0x30613c==_0x31e0df&&this[_0x2f86e6(0x250)](_0x7d5bd5,_0x5ad37e),_0x7d5bd5=this[_0x2f86e6(0x1ee)](_0x7d5bd5,_0x1c78b4),this[_0x2f86e6(0x262)](_0x7d5bd5),this[_0x2f86e6(0x201)](_0x7d5bd5,_0x2f86e6(0x2f2));}_0x7d5bd5=_0x7d5bd5[_0x2f86e6(0x23d)](_0x3ac575=>!(_0x3ac575[_0x2f86e6(0x2ab)]&&_0x3ac575[_0x2f86e6(0x2f2)]));const _0x1ab33f=new Map(_0x3acf84[_0x2f86e6(0x218)][_0x576902][_0x2f86e6(0x288)][_0x2f86e6(0x26c)]),_0x4c0c5a=new Set(_0x5ad37e[_0x2f86e6(0x2ed)]());for(const _0x284f70 of _0x1ab33f[_0x2f86e6(0x2ed)]())_0x4c0c5a[_0x2f86e6(0x30f)](_0x284f70);this[_0x2f86e6(0x267)](_0x7d5bd5,_0x4c0c5a),this[_0x2f86e6(0x284)](_0x7d5bd5),_0x7d5bd5=this[_0x2f86e6(0x2f5)](_0x7d5bd5),_0x7d5bd5=this[_0x2f86e6(0x23a)](_0x7d5bd5),_0x7d5bd5=this[_0x2f86e6(0x2e9)](_0x7d5bd5);const {root:_0x1a3f89,changes:_0x32e53a}=this[_0x2f86e6(0x303)](_0x7d5bd5,_0x48d1d8,_0x576902);_0x1d62b6[_0x2f86e6(0x218)][_0x576902]=_0x1a3f89;const _0x2bd6ee=_0xa041cb[_0x2f86e6(0x29f)](_0x576902);if(_0x2bd6ee){const _0x20c7bb=_0x48d1d8[_0x2f86e6(0x29f)](_0x2bd6ee[_0x2f86e6(0x228)]),_0x40463d=new _0x1e9a1a({'author':_0x20c7bb,'type':_0x2bd6ee[_0x2f86e6(0x22a)]?_0x2f86e6(0x1e2):_0x2f86e6(0x261),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x576902});_0x32e53a[_0x2f86e6(0x1ef)](_0x40463d),_0x1d62b6[_0x2f86e6(0x301)][_0x576902][_0x2f86e6(0x306)]=_0x40463d['id'];}_0x1d62b6[_0x2f86e6(0x2f1)]=_0x1d62b6[_0x2f86e6(0x2f1)][_0x2f86e6(0x2ba)](_0x32e53a);}return _0x1d62b6;}[_0xdffa09(0x250)](_0x4954a9,_0x1ec432){const _0x4bb036=_0xdffa09;for(let _0x88a162=0x0;_0x88a162<_0x4954a9[_0x4bb036(0x2bf)];_0x88a162++)for(const [_0x23f6d7,_0x487600]of _0x1ec432)_0x487600[_0x4bb036(0x2e3)][_0x4bb036(0x1f9)](_0x4954a9[_0x88a162][_0x4bb036(0x27b)])&&_0x4954a9[_0x88a162][_0x4bb036(0x299)][_0x4bb036(0x2de)](_0x23f6d7),_0x487600[_0x4bb036(0x2c2)][_0x4bb036(0x1f9)](_0x4954a9[_0x88a162][_0x4bb036(0x2a2)])&&_0x4954a9[_0x88a162][_0x4bb036(0x2aa)][_0x4bb036(0x2de)](_0x23f6d7);}[_0xdffa09(0x1ee)](_0x255261,_0x3a8e10){const _0x3c67ed=_0xdffa09;let _0x4799b2=[],_0x16cf71=0x0,_0x2530d7=0x0;for(;_0x16cf71<_0x255261[_0x3c67ed(0x2bf)]||_0x2530d7<_0x3a8e10[_0x3c67ed(0x2bf)];){const _0x2e589f=_0x255261[_0x16cf71]||{},_0x388126=_0x3a8e10[_0x2530d7]||{};if(_0x2e589f['id']==_0x388126['id'])_0x16cf71++,_0x2530d7++,_0x4799b2[_0x3c67ed(0x2de)](_0x2e589f);else{if(_0x388126[_0x3c67ed(0x2f2)]&&_0x2e589f[_0x3c67ed(0x2ab)]){const {commonTape:_0x489780,iEnd:_0x185ed8,jEnd:_0x3c8cd1}=this[_0x3c67ed(0x2c6)](_0x255261,_0x16cf71,_0x3a8e10,_0x2530d7);_0x4799b2=_0x4799b2[_0x3c67ed(0x2ba)](_0x489780),_0x16cf71=_0x185ed8,_0x2530d7=_0x3c8cd1;}else _0x388126[_0x3c67ed(0x2f2)]?(_0x2530d7++,_0x4799b2[_0x3c67ed(0x2de)](_0x388126)):(_0x16cf71++,_0x4799b2[_0x3c67ed(0x2de)](_0x2e589f));}}return _0x4799b2;}[_0xdffa09(0x267)](_0x2a697d,_0x46450c){const _0x2f1b19=_0xdffa09,_0x472633=[];for(let _0x38cc2c=0x0;_0x38cc2c<_0x2a697d[_0x2f1b19(0x2bf)];_0x38cc2c++){for(let _0x41c43c=0x0;_0x41c43c<_0x2a697d[_0x38cc2c][_0x2f1b19(0x299)][_0x2f1b19(0x2bf)];_0x41c43c++){const _0x5b6479=_0x2a697d[_0x38cc2c][_0x2f1b19(0x299)][_0x41c43c];if(!_0x46450c[_0x2f1b19(0x316)](_0x5b6479))continue;const {group:_0x4ba798,type:_0x5592d1,authorId:_0xddc3d2}=_0x5cf6d3(_0x5b6479);_0x2f1b19(0x229)!=_0x4ba798||_0x2f1b19(0x281)!=_0x5592d1&&_0x2f1b19(0x215)!=_0x5592d1||(_0x472633[_0x2f1b19(0x1ef)]({'type':_0x5592d1,'name':_0x5b6479,'userId':_0xddc3d2}),_0x2a697d[_0x38cc2c][_0x2f1b19(0x299)][_0x2f1b19(0x2bb)](_0x41c43c,0x1),_0x41c43c--);}_0x501f6f(_0x2a697d[_0x38cc2c]);for(let _0xb36479=0x0;_0xb36479<_0x2a697d[_0x38cc2c][_0x2f1b19(0x2aa)][_0x2f1b19(0x2bf)];_0xb36479++){const _0x138296=_0x2a697d[_0x38cc2c][_0x2f1b19(0x2aa)][_0xb36479];if(!_0x46450c[_0x2f1b19(0x316)](_0x138296))continue;const {group:_0xc594f7,type:_0x275b8f}=_0x5cf6d3(_0x138296);if(_0x2f1b19(0x229)!=_0xc594f7||_0x2f1b19(0x281)!=_0x275b8f&&_0x2f1b19(0x215)!=_0x275b8f)continue;_0x2a697d[_0x38cc2c][_0x2f1b19(0x2aa)][_0x2f1b19(0x2bb)](_0xb36479,0x1),_0xb36479--;const _0xcd424f=_0x472633[_0x2f1b19(0x1de)](_0xd0c21e=>_0xd0c21e[_0x2f1b19(0x1e1)]==_0x138296);_0xcd424f>-0x1&&_0x472633[_0x2f1b19(0x2bb)](_0xcd424f,0x1);}}function _0x5cf6d3(_0x8f2e6f){const _0x4d3ace=_0x2f1b19,_0x4719c4=_0x8f2e6f[_0x4d3ace(0x2e1)](':');return{'group':_0x4719c4[0x0],'type':_0x4719c4[0x1],'subType':_0x4719c4[_0x4d3ace(0x2bf)]>=0x5?_0x4719c4[0x2]:null,'id':_0x4719c4[_0x4d3ace(0x2bf)]<0x5?_0x4719c4[0x2]:_0x4719c4[0x3],'authorId':_0x4719c4[_0x4d3ace(0x2bf)]<0x5?_0x4719c4[0x3]:_0x4719c4[0x4],'markerCount':0x6==_0x4719c4[_0x4d3ace(0x2bf)]?_0x4719c4[0x5]:null};}function _0x501f6f(_0x4ea231){const _0x2804b4=_0x2f1b19;for(let _0x5ae312=0x0;_0x5ae312<_0x472633[_0x2804b4(0x2bf)];_0x5ae312++){if(_0x4ea231[_0x2804b4(0x2ab)]&&_0x2804b4(0x281)==_0x472633[_0x5ae312][_0x2804b4(0x2d8)])return _0x4ea231[_0x2804b4(0x317)]=_0x472633[_0x5ae312],void delete _0x4ea231[_0x2804b4(0x2ab)];if(!_0x4ea231[_0x2804b4(0x2ab)]&&!_0x4ea231[_0x2804b4(0x2f2)]&&_0x2804b4(0x215)==_0x472633[_0x5ae312][_0x2804b4(0x2d8)])return void(_0x4ea231[_0x2804b4(0x2a4)]=_0x472633[_0x5ae312]);}}}[_0xdffa09(0x201)](_0x1f8ba4,_0x3a3470){const _0x32375b=_0xdffa09;let _0x55723e=0x0,_0x312eb0=!0x1;const _0x3b1d88=new Map();for(const _0xd1d63c of _0x1f8ba4)_0xd1d63c[_0x3a3470]?_0x312eb0&&(_0x55723e++,_0x312eb0=!0x1):(_0x55723e++,_0x312eb0=!0x0),_0x3b1d88[_0x32375b(0x244)](_0xd1d63c['id'],_0x55723e);for(let _0xa7a443=0x0;_0xa7a443<_0x1f8ba4[_0x32375b(0x2bf)];_0xa7a443++){if(_0x32375b(0x2f2)==_0x3a3470&&_0x1f8ba4[_0xa7a443][_0x32375b(0x2ab)]||_0x32375b(0x2ab)==_0x3a3470&&_0x1f8ba4[_0xa7a443][_0x32375b(0x2f2)])continue;if(_0x32375b(0x245)==_0x1f8ba4[_0xa7a443][_0x32375b(0x2d8)]){_0x1f8ba4[_0xa7a443][_0x32375b(0x233)]=0x0;continue;}const _0x56a9ee=_0x3b1d88[_0x32375b(0x29f)](_0x1f8ba4[_0xa7a443][_0x32375b(0x1fa)]),_0x1a7435=_0x3b1d88[_0x32375b(0x29f)](_0x1f8ba4[_0xa7a443]['id']);_0x1f8ba4[_0xa7a443][_0x32375b(0x233)]=_0x56a9ee-_0x1a7435;}}[_0xdffa09(0x2f6)](_0x47d1a5,_0x568685,_0x167a91=!0x1){const _0x589425=_0xdffa09,_0x537110=[];let _0x4741b1=this[_0x589425(0x1e4)][_0x589425(0x252)](_0x47d1a5),_0x2a37c5=this[_0x589425(0x1e4)][_0x589425(0x252)](_0x568685);for(-0x1==_0x2a37c5&&(_0x2a37c5=this[_0x589425(0x1e4)][_0x589425(0x2f9)][_0x589425(0x2bf)],_0x167a91=!0x1);_0x4741b1<_0x2a37c5;)_0x537110[_0x589425(0x2de)](this[_0x589425(0x1e4)][_0x589425(0x2ce)](_0x4741b1)),_0x4741b1++;return _0x167a91&&_0x537110[_0x589425(0x2de)](this[_0x589425(0x1e4)][_0x589425(0x2ce)](_0x4741b1)),_0x537110;}[_0xdffa09(0x2c6)](_0x3443d7,_0x3520e3,_0x17e31e,_0xbccda4){const _0x1b3aab=_0xdffa09,_0x3af85b=this[_0x1b3aab(0x1e6)][_0x1b3aab(0x218)][_0x1b3aab(0x2c0)];let _0x4709e6=_0x3520e3;for(;_0x3443d7[_0x4709e6]&&_0x3443d7[_0x4709e6][_0x1b3aab(0x2ab)];)_0x4709e6++;let _0x34277a=_0xbccda4;for(;_0x17e31e[_0x34277a]&&_0x17e31e[_0x34277a][_0x1b3aab(0x2f2)];)_0x34277a++;_0x5bb994(_0x3443d7,_0x3520e3,_0x4709e6),_0x5bb994(_0x17e31e,_0xbccda4,_0x34277a);const _0x1d9e43=_0x17e31e[_0x1b3aab(0x2a5)](_0xbccda4,_0x34277a)[_0x1b3aab(0x2ba)](_0x3443d7[_0x1b3aab(0x2a5)](_0x3520e3,_0x4709e6));return _0x1d9e43[_0x1b3aab(0x265)]((_0x192658,_0x5ad67f)=>_0x192658[_0x1b3aab(0x1f8)]!=_0x5ad67f[_0x1b3aab(0x1f8)]?_0x192658[_0x1b3aab(0x1f8)]-_0x5ad67f[_0x1b3aab(0x1f8)]:_0x192658[_0x1b3aab(0x2c3)]!=_0x5ad67f[_0x1b3aab(0x2c3)]?_0x192658[_0x1b3aab(0x2c3)]-_0x5ad67f[_0x1b3aab(0x2c3)]:_0x192658[_0x1b3aab(0x233)]!=_0x5ad67f[_0x1b3aab(0x233)]?_0x5ad67f[_0x1b3aab(0x233)]-_0x192658[_0x1b3aab(0x233)]:!!_0x192658[_0x1b3aab(0x2ab)]!=!!_0x5ad67f[_0x1b3aab(0x2ab)]?-0x1==_0x192658[_0x1b3aab(0x1f8)]||0x0==_0x192658[_0x1b3aab(0x1f8)]?_0x192658[_0x1b3aab(0x2ab)]?-0x1:0x1:_0x192658[_0x1b3aab(0x2ab)]?0x1:-0x1:_0x192658[_0x1b3aab(0x249)]-_0x5ad67f[_0x1b3aab(0x249)]),{'commonTape':_0x1d9e43,'iEnd':_0x4709e6,'jEnd':_0x34277a};function _0x5bb994(_0x2bdbea,_0x42fc46,_0x54c3e0){const _0x5283a6=_0x1b3aab;let _0x164f0f=-0x1,_0x3b9044=Number[_0x5283a6(0x239)],_0x372774=!0x0;for(let _0xe127b2=_0x42fc46;_0xe127b2<_0x54c3e0;_0xe127b2++)if(_0x3af85b[_0x5283a6(0x2b1)](_0x2bdbea[_0xe127b2][_0x5283a6(0x2c7)])||(_0x372774=!0x1),_0x2bdbea[_0xe127b2][_0x5283a6(0x2c7)][_0x5283a6(0x2fb)]<_0x42fc46&&(_0x164f0f=_0xe127b2),_0x2bdbea[_0xe127b2][_0x5283a6(0x2c7)][_0x5283a6(0x2e4)]>=_0x54c3e0){_0x3b9044=_0xe127b2;break;}_0x372774&&(_0x164f0f=_0x54c3e0-0x1);for(let _0x5d7ecf=_0x42fc46;_0x5d7ecf<_0x54c3e0;_0x5d7ecf++)_0x2bdbea[_0x5d7ecf][_0x5283a6(0x1f8)]=_0x5d7ecf<=_0x164f0f?-0x1:_0x5d7ecf<_0x3b9044?0x0:0x1,_0x2bdbea[_0x5d7ecf][_0x5283a6(0x249)]=_0x5d7ecf;let _0x1570d9=0x0;for(let _0x3bcd9b=_0x42fc46;_0x3bcd9b<=_0x164f0f;_0x3bcd9b++)0x0==_0x2bdbea[_0x3bcd9b][_0x5283a6(0x233)]?_0x2bdbea[_0x3bcd9b][_0x5283a6(0x2c3)]=_0x1570d9:(_0x1570d9++,_0x2bdbea[_0x3bcd9b][_0x5283a6(0x2c3)]=_0x1570d9,_0x1570d9++);for(let _0x19a1a1=_0x42fc46;_0x19a1a1<_0x54c3e0;_0x19a1a1++)0x0==_0x2bdbea[_0x19a1a1][_0x5283a6(0x1f8)]&&(_0x2bdbea[_0x19a1a1][_0x5283a6(0x2c3)]=_0x1570d9);_0x1570d9=0x0;for(let _0x85c8d3=_0x54c3e0-0x1;_0x85c8d3>=_0x3b9044;_0x85c8d3--)0x0==_0x2bdbea[_0x85c8d3][_0x5283a6(0x233)]?_0x2bdbea[_0x85c8d3][_0x5283a6(0x2c3)]=_0x1570d9:(_0x1570d9--,_0x2bdbea[_0x85c8d3][_0x5283a6(0x2c3)]=_0x1570d9,_0x1570d9--);}}[_0xdffa09(0x284)](_0x1b04bc){const _0x4f6162=_0xdffa09,_0x1b2588=new Map(),_0x42f05a=this[_0x4f6162(0x1e6)][_0x4f6162(0x218)][_0x4f6162(0x2c0)];for(let _0x1a93a2=0x1;_0x1a93a2<_0x1b04bc[_0x4f6162(0x2bf)];_0x1a93a2++){let _0x41924b,_0xd1fd6b,_0x4e3581;const _0x23afd0=_0x1b04bc[_0x1a93a2],_0x2c8caf=_0x1b04bc[_0x1a93a2-0x1];if(_0x4f6162(0x245)==_0x23afd0[_0x4f6162(0x2d8)])continue;if(_0x23afd0[_0x4f6162(0x2d8)]!=_0x2c8caf[_0x4f6162(0x2d8)])continue;if(!_0x42f05a[_0x4f6162(0x29e)](_0x2c8caf[_0x4f6162(0x2c7)])||_0x42f05a[_0x4f6162(0x296)](_0x2c8caf[_0x4f6162(0x2c7)]))continue;if(!_0x42f05a[_0x4f6162(0x29e)](_0x23afd0[_0x4f6162(0x2c7)])||_0x42f05a[_0x4f6162(0x296)](_0x23afd0[_0x4f6162(0x2c7)]))continue;if((_0x1b04bc[_0x1a93a2][_0x4f6162(0x2ab)]||_0x1b04bc[_0x1a93a2][_0x4f6162(0x317)])&&_0x1b04bc[_0x1a93a2-0x1][_0x4f6162(0x2f2)])_0x41924b=_0x1b04bc[_0x1a93a2],_0xd1fd6b=_0x1b04bc[_0x1a93a2-0x1],_0x4e3581=_0x1a93a2-0x1;else{if(!_0x1b04bc[_0x1a93a2][_0x4f6162(0x2f2)]||!_0x1b04bc[_0x1a93a2-0x1][_0x4f6162(0x2ab)]&&!_0x1b04bc[_0x1a93a2-0x1][_0x4f6162(0x317)])continue;_0x41924b=_0x1b04bc[_0x1a93a2-0x1],_0xd1fd6b=_0x1b04bc[_0x1a93a2],_0x4e3581=_0x1a93a2;}const _0x2cf788=_0x41924b[_0x4f6162(0x2c3)]==_0xd1fd6b[_0x4f6162(0x2c3)],_0x515c88=Math[_0x4f6162(0x26b)](_0x41924b[_0x4f6162(0x2c3)])<Math[_0x4f6162(0x26b)](_0xd1fd6b[_0x4f6162(0x2c3)])&&0x0==_0xd1fd6b[_0x4f6162(0x233)];(_0x2cf788||_0x515c88)&&(_0x1b2588[_0x4f6162(0x244)](_0xd1fd6b['id'],_0x41924b['id']),_0x1b04bc[_0x4f6162(0x2bb)](_0x4e3581,0x1),_0x1a93a2--,_0x41924b[_0x4f6162(0x2ab)]=!0x1);}for(let _0x16878f=0x0;_0x16878f<_0x1b04bc[_0x4f6162(0x2bf)];_0x16878f++)_0x1b2588[_0x4f6162(0x316)](_0x1b04bc[_0x16878f][_0x4f6162(0x1fa)])&&(_0x1b04bc[_0x16878f][_0x4f6162(0x1fa)]=_0x1b2588[_0x4f6162(0x29f)](_0x1b04bc[_0x16878f][_0x4f6162(0x1fa)]));}[_0xdffa09(0x2f5)](_0x3a90a9){const _0x3805e4=_0xdffa09,_0x411637=new Set(_0x3a90a9[_0x3805e4(0x2f0)](_0x461264=>_0x461264['id']));for(let _0x53d769=0x0;_0x53d769<_0x3a90a9[_0x3805e4(0x2bf)];_0x53d769++)_0x411637[_0x3805e4(0x316)](_0x3a90a9[_0x53d769][_0x3805e4(0x1fa)])||0x0==_0x3a90a9[_0x53d769][_0x3805e4(0x233)]||(_0x3a90a9[_0x53d769][_0x3805e4(0x2b2)]=!0x0);return _0x3a90a9[_0x3805e4(0x23d)](_0x15a975=>!_0x15a975[_0x3805e4(0x2b2)]);}[_0xdffa09(0x23a)](_0x91f214){const _0x23e886=_0xdffa09,_0x3b92c1=new Set();for(let _0x34ed6c=0x0;_0x34ed6c<_0x91f214[_0x23e886(0x2bf)];_0x34ed6c++){if(_0x3b92c1[_0x23e886(0x316)](_0x91f214[_0x34ed6c]['id'])&&_0x91f214[_0x34ed6c][_0x23e886(0x2f2)]&&(_0x91f214[_0x34ed6c][_0x23e886(0x2b2)]=!0x0),_0x91f214[_0x34ed6c][_0x23e886(0x2b2)])continue;if(0x0==_0x91f214[_0x34ed6c][_0x23e886(0x233)])continue;if(_0x23e886(0x203)!=_0x91f214[_0x34ed6c][_0x23e886(0x2d8)])continue;if(null==_0x91f214[_0x34ed6c][_0x23e886(0x1fa)])continue;let _0x49b52d=_0x34ed6c+0x1,_0x151cf1=0x0;for(;_0x91f214[_0x49b52d]['id']!=_0x91f214[_0x34ed6c][_0x23e886(0x1fa)];)_0x23e886(0x203)==_0x91f214[_0x49b52d][_0x23e886(0x2d8)]?_0x151cf1++:_0x23e886(0x20f)==_0x91f214[_0x49b52d][_0x23e886(0x2d8)]&&_0x151cf1--,_0x49b52d++;if(0x0!=_0x151cf1){if(_0x91f214[_0x34ed6c][_0x23e886(0x2f2)])_0x91f214[_0x34ed6c][_0x23e886(0x2b2)]=!0x0;else{for(;_0x49b52d!=_0x34ed6c;)_0x91f214[_0x49b52d][_0x23e886(0x2f2)]&&0x0!=_0x91f214[_0x49b52d][_0x23e886(0x233)]&&(_0x91f214[_0x49b52d][_0x23e886(0x2b2)]=!0x0,_0x3b92c1[_0x23e886(0x1e2)](_0x91f214[_0x49b52d][_0x23e886(0x1fa)])),_0x49b52d--;}}}return _0x91f214[_0x23e886(0x23d)](_0x3d7526=>!_0x3d7526[_0x23e886(0x2b2)]);}[_0xdffa09(0x2e9)](_0x470165){const _0x33c19c=_0xdffa09,_0x2fb797=this[_0x33c19c(0x1e6)][_0x33c19c(0x218)][_0x33c19c(0x2c0)];for(let _0x25772a=0x0;_0x25772a<_0x470165[_0x33c19c(0x2bf)];_0x25772a++){if(!(_0x470165[_0x25772a][_0x33c19c(0x2ab)]||_0x470165[_0x25772a][_0x33c19c(0x317)]||_0x470165[_0x25772a][_0x33c19c(0x2f2)]||_0x470165[_0x25772a][_0x33c19c(0x2a4)]))continue;if(0x0==_0x470165[_0x25772a][_0x33c19c(0x233)])continue;const _0x4fe646=_0x470165[_0x25772a][_0x33c19c(0x2c7)];_0x2fb797[_0x33c19c(0x29e)](_0x4fe646)||_0x2fb797[_0x33c19c(0x296)](_0x4fe646)||(_0x470165[_0x25772a][_0x33c19c(0x2ab)]&&delete _0x470165[_0x25772a][_0x33c19c(0x2ab)],_0x470165[_0x25772a][_0x33c19c(0x317)]&&delete _0x470165[_0x25772a][_0x33c19c(0x317)],_0x470165[_0x25772a][_0x33c19c(0x2a4)]&&delete _0x470165[_0x25772a][_0x33c19c(0x2a4)],_0x470165[_0x25772a][_0x33c19c(0x2f2)]&&(_0x470165[_0x25772a][_0x33c19c(0x2b2)]=!0x0));}return _0x470165[_0x33c19c(0x23d)](_0x2737c2=>!_0x2737c2[_0x33c19c(0x2b2)]);}[_0xdffa09(0x303)](_0x496d2b,_0xf22b0f,_0x3147c9){const _0x29d751=_0xdffa09,_0x4445a8=new _0x1f7f22(),_0x5c92b0=[],_0x497b67=new Map(),_0x44ee3e=this[_0x29d751(0x1e6)][_0x29d751(0x218)],_0x4230d8=_0x44ee3e[_0x29d751(0x2c0)],_0x19da1d=[_0x4445a8],_0x24cc7b={},_0x56fea9={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x604ebe=null;const _0x3217ce=[0x0];for(let _0x113e89=0x0;_0x113e89<_0x496d2b[_0x29d751(0x2bf)];_0x113e89++){let _0x2210b0,_0xe6becb;if(_0x29d751(0x203)===_0x496d2b[_0x113e89][_0x29d751(0x2d8)]){_0x2210b0=_0x44ee3e[_0x29d751(0x25a)](_0x4445a8,_0x3217ce);const _0x20c87d=new _0x56164b(_0x496d2b[_0x113e89][_0x29d751(0x2c7)][_0x29d751(0x1e1)],_0x496d2b[_0x113e89][_0x29d751(0x2c7)][_0x29d751(0x253)]());_0x19da1d[0x0][_0x29d751(0x314)](_0x20c87d),_0x3217ce[_0x29d751(0x2de)](0x0),_0x19da1d[_0x29d751(0x1ef)](_0x20c87d),_0xe6becb=_0x44ee3e[_0x29d751(0x25a)](_0x4445a8,_0x3217ce),_0x604ebe=null;}else{if(_0x29d751(0x20f)===_0x496d2b[_0x113e89][_0x29d751(0x2d8)])_0x19da1d[_0x29d751(0x217)](),_0x2210b0=_0x44ee3e[_0x29d751(0x25a)](_0x4445a8,_0x3217ce),_0x3217ce[_0x29d751(0x23f)](),_0x3217ce[_0x3217ce[_0x29d751(0x2bf)]-0x1]++,_0xe6becb=_0x44ee3e[_0x29d751(0x25a)](_0x4445a8,_0x3217ce),_0x604ebe=null;else{if(_0x2210b0=_0x44ee3e[_0x29d751(0x25a)](_0x4445a8,_0x3217ce),_0x604ebe&&_0x500a4b(_0x604ebe,_0x496d2b[_0x113e89][_0x29d751(0x2c7)]))_0x604ebe[_0x29d751(0x257)]+=_0x496d2b[_0x113e89][_0x29d751(0x2c7)][_0x29d751(0x309)];else{const _0x4782ae=new _0x229489(_0x496d2b[_0x113e89][_0x29d751(0x2c7)][_0x29d751(0x309)],_0x496d2b[_0x113e89][_0x29d751(0x2c7)][_0x29d751(0x253)]());_0x19da1d[0x0][_0x29d751(0x314)](_0x4782ae),_0x604ebe=_0x4782ae;}_0x3217ce[_0x3217ce[_0x29d751(0x2bf)]-0x1]+=_0x496d2b[_0x113e89][_0x29d751(0x2c7)][_0x29d751(0x220)],_0xe6becb=_0x44ee3e[_0x29d751(0x25a)](_0x4445a8,_0x3217ce);}}for(const _0x405560 of _0x496d2b[_0x113e89][_0x29d751(0x299)])_0x497b67[_0x29d751(0x244)](_0x405560,{'start':_0x2210b0,'end':null});_0x42580c(_0x29d751(0x2a4),_0x113e89,_0x2210b0,_0xe6becb),_0x42580c(_0x29d751(0x317),_0x113e89,_0x2210b0,_0xe6becb),_0x42580c(_0x29d751(0x2f2),_0x113e89,_0x2210b0,_0xe6becb),_0x42580c(_0x29d751(0x2ab),_0x113e89,_0x2210b0,_0xe6becb);for(const _0x155419 of _0x496d2b[_0x113e89][_0x29d751(0x2aa)]){_0x497b67[_0x29d751(0x29f)](_0x155419)[_0x29d751(0x2c2)]=_0xe6becb;}}for(const [_0x1e523f,_0x96c08e]of _0x497b67){const _0x1fbf9d=this[_0x29d751(0x1e6)][_0x29d751(0x218)][_0x29d751(0x1e3)](_0x96c08e[_0x29d751(0x2e3)],_0x96c08e[_0x29d751(0x2c2)]);_0x4445a8[_0x29d751(0x26c)][_0x29d751(0x244)](_0x1e523f,_0x1fbf9d);}return _0x5c92b0[_0x29d751(0x265)]((_0x3778ef,_0x567cc6)=>{const _0x38d5ff=_0x29d751,_0x2933ed=_0x4445a8[_0x38d5ff(0x26c)][_0x38d5ff(0x29f)](_0x38d5ff(0x246)+_0x3778ef['id']),_0x1e381c=_0x4445a8[_0x38d5ff(0x26c)][_0x38d5ff(0x29f)](_0x38d5ff(0x246)+_0x567cc6['id']);return _0x2933ed[_0x38d5ff(0x2e3)][_0x38d5ff(0x320)](_0x1e381c[_0x38d5ff(0x2e3)])?-0x1:_0x2933ed[_0x38d5ff(0x2e3)][_0x38d5ff(0x287)](_0x1e381c[_0x38d5ff(0x2e3)])?0x1:_0x2933ed[_0x38d5ff(0x2c2)][_0x38d5ff(0x320)](_0x1e381c[_0x38d5ff(0x2c2)])?-0x1:_0x2933ed[_0x38d5ff(0x2c2)][_0x38d5ff(0x287)](_0x1e381c[_0x38d5ff(0x2c2)])?0x1:_0x38d5ff(0x1e2)===_0x3778ef[_0x38d5ff(0x2d8)]?-0x1:0x1;}),{'root':_0x4445a8,'changes':_0x5c92b0};function _0x42580c(_0x568106,_0xabac05,_0x20464d,_0x242026){const _0x2f6b95=_0x29d751,_0x4af49e=!!_0x496d2b[_0xabac05][_0x568106],_0x5c58fe=_0x4af49e?_0x496d2b[_0xabac05][_0x568106][_0x2f6b95(0x228)]:null,_0x45026c=_0xabac05===_0x496d2b[_0x2f6b95(0x2bf)]-0x1,_0x2f5314=_0x56fea9[_0x568106][0x0],_0x5a9491=_0x4230d8[_0x2f6b95(0x268)](_0x496d2b[_0xabac05][_0x2f6b95(0x2c7)]);!_0x24cc7b[_0x568106]&&_0x4af49e?_0x24cc7b[_0x568106]={'start':_0x20464d,'tapeItem':_0x496d2b[_0xabac05],'userId':_0x5c58fe,'type':_0x568106}:_0x24cc7b[_0x568106]&&!_0x4af49e?(_0x24cc7b[_0x568106][_0x2f6b95(0x2c2)]=_0x20464d,_0x2cb52a(_0x24cc7b[_0x568106]),_0x24cc7b[_0x568106]=null):_0x24cc7b[_0x568106]&&_0x4af49e&&_0x24cc7b[_0x568106][_0x2f6b95(0x228)]!==_0x5c58fe&&(_0x24cc7b[_0x568106][_0x2f6b95(0x2c2)]=_0x20464d,_0x2f5314&&_0x2f5314[_0x2f6b95(0x228)]===_0x24cc7b[_0x568106][_0x2f6b95(0x228)]||_0x2cb52a(_0x24cc7b[_0x568106]),_0x24cc7b[_0x568106]={'start':_0x20464d,'tapeItem':_0x496d2b[_0xabac05],'userId':_0x5c58fe,'type':_0x568106}),_0x24cc7b[_0x568106]&&_0x5a9491&&(_0x2f6b95(0x203)!==_0x496d2b[_0xabac05][_0x2f6b95(0x2d8)]||_0x2f5314&&_0x2f5314[_0x2f6b95(0x228)]===_0x5c58fe||_0x56fea9[_0x568106][_0x2f6b95(0x1ef)]({'userId':_0x5c58fe,'object':_0x496d2b[_0xabac05][_0x2f6b95(0x2c7)],'change':_0x24cc7b[_0x568106]}),_0x2f6b95(0x20f)===_0x496d2b[_0xabac05][_0x2f6b95(0x2d8)]&&_0x2f5314&&_0x2f5314[_0x2f6b95(0x293)]===_0x496d2b[_0xabac05][_0x2f6b95(0x2c7)]&&(_0x56fea9[_0x568106][_0x2f6b95(0x217)](),_0x24cc7b[_0x568106]=_0x2f5314[_0x2f6b95(0x2a1)])),_0x24cc7b[_0x568106]&&_0x45026c&&(_0x24cc7b[_0x568106][_0x2f6b95(0x2c2)]=_0x242026,_0x2cb52a(_0x24cc7b[_0x568106]),_0x24cc7b[_0x568106]=null);}function _0x2cb52a({start:_0x5a263d,end:_0x177ee8,tapeItem:_0x11cd44,userId:_0x1719ee,type:_0x4041df}){const _0x4ad559=_0x29d751,_0xcda17a=_0x11cd44[_0x4ad559(0x2c7)],_0x460bd7=_0x44ee3e[_0x4ad559(0x2c0)][_0x4ad559(0x29e)](_0xcda17a)&&!_0x44ee3e[_0x4ad559(0x2c0)][_0x4ad559(0x296)](_0xcda17a),_0x2f5f2d=_0x5a263d[_0x4ad559(0x243)]==_0x177ee8[_0x4ad559(0x238)]&&_0x177ee8[_0x4ad559(0x30b)];if(_0x460bd7&&_0x2f5f2d)return;const _0x24e51b=_0x44ee3e[_0x4ad559(0x1e3)](_0x5a263d,_0x177ee8),_0x547d2e=_0xf22b0f[_0x4ad559(0x29f)](_0x1719ee),_0x45a6e7=new _0x1e9a1a({'author':_0x547d2e,'type':_0x4ad559(0x2ab)==_0x4041df||_0x4ad559(0x317)==_0x4041df?_0x4ad559(0x1e2):_0x4ad559(0x261),'data':{'isSuggestion':_0x4ad559(0x317)==_0x4041df||_0x4ad559(0x2a4)==_0x4041df},'createdAt':new Date(),'rootName':_0x3147c9});_0x5c92b0[_0x4ad559(0x2de)](_0x45a6e7),_0x4445a8[_0x4ad559(0x26c)][_0x4ad559(0x244)](_0x4ad559(0x246)+_0x45a6e7['id'],_0x24e51b);}function _0x500a4b(_0x170e13,_0x416aac){const _0x5869a0=_0x29d751,_0xd92217=_0x170e13[_0x5869a0(0x253)](),_0x55800c=_0x416aac[_0x5869a0(0x253)]();for(const _0x145fdd of _0xd92217){if(_0x145fdd[0x1]!==_0x416aac[_0x5869a0(0x31b)](_0x145fdd[0x0]))return!0x1;_0x55800c[_0x5869a0(0x212)]();}return _0x55800c[_0x5869a0(0x212)]()[_0x5869a0(0x2e7)];}}[_0xdffa09(0x310)](){const _0x3a0a64=_0xdffa09;this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x22e))[_0x3a0a64(0x28b)]({'view':_0x3a0a64(0x29d)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x2d0))[_0x3a0a64(0x20d)]({'model':_0x3a0a64(0x29d),'view':_0x1fce69=>{const _0x3b13e1=_0x3a0a64,_0x54199f=_0x1fce69[_0x3b13e1(0x279)][_0x3b13e1(0x2e1)](':')[0x1],_0x175966=this[_0x3b13e1(0x216)](_0x54199f);if(!_0x175966)return null;const _0x482e16=_0x3b13e1(0x1e2)==_0x175966[_0x3b13e1(0x2d8)]?_0x3b13e1(0x281):_0x3b13e1(0x215),_0x2bffca=[_0x3b13e1(0x2ff),_0x3b13e1(0x1fd)+_0x482e16];return _0x175966[_0x3b13e1(0x309)][_0x3b13e1(0x2b5)]&&_0x2bffca[_0x3b13e1(0x2de)](_0x3b13e1(0x1fd)+_0x482e16+_0x3b13e1(0x300)),this[_0x3b13e1(0x21a)]==_0x175966&&_0x2bffca[_0x3b13e1(0x2de)](_0x3b13e1(0x305)),{'classes':_0x2bffca,'attributes':{'data-change-id':_0x54199f}};}}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x22e))[_0x3a0a64(0x1e2)](_0x47150a=>{const _0x229627=_0x3a0a64;_0x47150a['on'](_0x229627(0x276),(_0x11061d,_0x34dc3d,_0xb480dd)=>{const _0x52497e=_0x229627,_0x599a56=_0x34dc3d[_0x52497e(0x20b)][_0x52497e(0x2dd)](0x0);if(!_0x599a56||!_0x599a56['is'](_0x52497e(0x2d3),_0x52497e(0x20e)))return;if(!_0xb480dd[_0x52497e(0x1da)][_0x52497e(0x31a)](_0x599a56,{'attributes':[_0x52497e(0x230),_0x52497e(0x21e)]}))return;const _0x57daf9=_0x34dc3d[_0x52497e(0x2cf)][_0x52497e(0x2e3)][_0x52497e(0x243)];_0xb480dd[_0x52497e(0x223)][_0x52497e(0x1fc)](_0x52497e(0x230),_0x599a56[_0x52497e(0x31b)](_0x52497e(0x230)),_0x57daf9),_0xb480dd[_0x52497e(0x223)][_0x52497e(0x1fc)](_0x52497e(0x21e),_0x599a56[_0x52497e(0x31b)](_0x52497e(0x21e)),_0x57daf9);},{'priority':_0x229627(0x2c1)});}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x22e))[_0x3a0a64(0x1e2)](_0x3c1b7c=>{const _0x24f30a=_0x3a0a64;_0x3c1b7c['on'](_0x24f30a(0x2d3),(_0x11042b,_0x171571,_0x2a151a)=>{const _0x27c7bd=_0x24f30a;if(!_0x2a151a[_0x27c7bd(0x1da)][_0x27c7bd(0x31a)](_0x171571[_0x27c7bd(0x20b)],{'attributes':[_0x27c7bd(0x230),_0x27c7bd(0x21e)]}))return;if(_0x171571[_0x27c7bd(0x2cf)][_0x27c7bd(0x2ca)])return;const _0xc57a18=_0x171571[_0x27c7bd(0x2cf)][_0x27c7bd(0x2e3)][_0x27c7bd(0x243)];_0xc57a18[_0x27c7bd(0x255)](_0x27c7bd(0x230))||_0xc57a18[_0x27c7bd(0x255)](_0x27c7bd(0x205))||(_0x2a151a[_0x27c7bd(0x223)][_0x27c7bd(0x1fc)](_0x27c7bd(0x230),_0x171571[_0x27c7bd(0x20b)][_0x27c7bd(0x31b)](_0x27c7bd(0x230)),_0xc57a18),_0x2a151a[_0x27c7bd(0x223)][_0x27c7bd(0x1fc)](_0x27c7bd(0x21e),_0x171571[_0x27c7bd(0x20b)][_0x27c7bd(0x31b)](_0x27c7bd(0x21e)),_0xc57a18));},{'priority':_0x24f30a(0x2c1)});}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x22e))[_0x3a0a64(0x31c)]({'view':{'name':_0x3a0a64(0x221),'attributes':{'vid':!0x0}},'model':{'key':_0x3a0a64(0x205),'value':_0x4f55d8=>_0x4f55d8[_0x3a0a64(0x31b)](_0x3a0a64(0x205))}}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x218)][_0x3a0a64(0x2c0)]['on'](_0x3a0a64(0x2c8),(_0x116c55,[,_0x3b5759])=>{const _0x4e69fe=_0x3a0a64;[_0x4e69fe(0x230),_0x4e69fe(0x21e),_0x4e69fe(0x205)][_0x4e69fe(0x2f3)](_0x3b5759)&&(_0x116c55[_0x4e69fe(0x318)]=!0x0,_0x116c55[_0x4e69fe(0x22d)]());},{'priority':_0x3a0a64(0x2d7)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x271))[_0x3a0a64(0x1e2)](_0x392913=>{const _0x523bc4=_0x3a0a64;_0x392913['on'](_0x523bc4(0x2b3),(_0x490576,_0x14923a,_0x2d360e)=>{const _0x214400=_0x523bc4;if('\x20'!=_0x14923a[_0x214400(0x2c7)][_0x214400(0x309)]||_0x14923a[_0x214400(0x2c7)][_0x214400(0x238)][_0x214400(0x1e7)]>0x1)return;if(!_0x2d360e[_0x214400(0x1da)][_0x214400(0x31a)](_0x14923a[_0x214400(0x2c7)],_0x490576[_0x214400(0x1e1)]))return;const _0x39a018=_0x2d360e[_0x214400(0x223)],_0x5ad7bb=_0x2d360e[_0x214400(0x280)][_0x214400(0x1d7)](_0x14923a[_0x214400(0x1fe)]);_0x39a018[_0x214400(0x24c)](_0x5ad7bb,_0x39a018[_0x214400(0x270)](_0x214400(0x221)));});}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x271))[_0x3a0a64(0x28c)]({'model':_0x3a0a64(0x29d)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x1ff)][_0x3a0a64(0x311)]['on'](_0x3a0a64(0x24e),function(_0x1d18cb){const _0x28a07a=_0x3a0a64,_0xa3c5e8=_0x1d18cb[_0x28a07a(0x213)][_0x28a07a(0x29f)](_0x28a07a(0x23b));return(_0x5cd25c,_0x200579,_0x330186)=>{const _0x1719bc=_0x28a07a,_0x154b5c=_0x200579[_0x1719bc(0x279)][_0x1719bc(0x2e1)](':')[0x1],_0x3a3dee=_0xa3c5e8[_0x1719bc(0x216)](_0x154b5c);if(!_0x3a3dee)return null;const _0x24d83b=_0x1719bc(0x1e2)==_0x3a3dee[_0x1719bc(0x2d8)]?_0x1719bc(0x2e1):_0x1719bc(0x209);if(!_0x330186[_0x1719bc(0x1da)][_0x1719bc(0x1e9)](_0x200579[_0x1719bc(0x20a)],_0x5cd25c[_0x1719bc(0x1e1)]))return;const _0x16aaea=_0x200579[_0x1719bc(0x20a)][_0x1719bc(0x259)](),_0x52b7ae=_0x200579[_0x1719bc(0x20a)][_0x1719bc(0x2e3)],_0x33f361=_0x1d18cb[_0x1719bc(0x218)][_0x1719bc(0x2c0)];let _0x1d9f53=null,_0x51365f=null,_0x3e939d=!0x1,_0x233143=!0x1;for(const _0x587a62 of _0x16aaea){const _0x918846=_0x587a62[_0x1719bc(0x2c7)];_0x3e939d=_0x3e939d||_0x33f361[_0x1719bc(0x2ae)](_0x918846);const _0x49ef7a=_0x330186[_0x1719bc(0x280)][_0x1719bc(0x2ea)](_0x918846);if(_0x49ef7a&&_0x49ef7a[_0x1719bc(0x2a0)](_0x1719bc(0x254)))return;_0x1719bc(0x20f)==_0x587a62[_0x1719bc(0x2d8)]&&(_0x33f361[_0x1719bc(0x29e)](_0x918846)&&!_0x33f361[_0x1719bc(0x296)](_0x918846)&&(_0x918846[_0x1719bc(0x241)]||_0x52b7ae[_0x1719bc(0x2d1)]?_0x1d9f53&&_0x1d9f53[_0x1719bc(0x238)]==_0x918846||(_0x1d9f53=_0x918846,_0x54b454(_0x587a62[_0x1719bc(0x27b)]),_0x233143=!0x0):_0x51365f=_0x51365f||_0x587a62[_0x1719bc(0x27b)]));}function _0x54b454(_0x148e2a){const _0x8eb5c2=_0x1719bc,_0x44517a=_0x330186[_0x8eb5c2(0x223)][_0x8eb5c2(0x1f5)](_0x8eb5c2(0x221),{'class':_0x8eb5c2(0x1fd)+_0x24d83b}),_0x5565ce=_0x330186[_0x8eb5c2(0x280)][_0x8eb5c2(0x275)](_0x148e2a);_0x3a3dee[_0x8eb5c2(0x309)][_0x8eb5c2(0x2b5)]&&_0x330186[_0x8eb5c2(0x223)][_0x8eb5c2(0x25c)](_0x8eb5c2(0x1fd)+_0x24d83b+_0x8eb5c2(0x300),_0x44517a),_0xa3c5e8[_0x8eb5c2(0x21a)]==_0x3a3dee&&_0x330186[_0x8eb5c2(0x223)][_0x8eb5c2(0x25c)](_0x8eb5c2(0x305),_0x44517a),_0x330186[_0x8eb5c2(0x223)][_0x8eb5c2(0x2bd)](_0x5565ce,_0x44517a),_0x330186[_0x8eb5c2(0x280)][_0x8eb5c2(0x211)](_0x44517a,_0x200579[_0x8eb5c2(0x279)]);}_0x3e939d||_0x233143||!_0x51365f||_0x54b454(_0x51365f);};}(this[_0x3a0a64(0x1e6)]),{'priority':_0x3a0a64(0x272)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x1ff)][_0x3a0a64(0x311)]['on'](_0x3a0a64(0x292),(_0xbf4858,_0x1784f7,_0x2f87e1)=>{const _0x15e3fc=_0x3a0a64,_0x10e414=_0x2f87e1[_0x15e3fc(0x280)][_0x15e3fc(0x2b4)](_0x1784f7[_0x15e3fc(0x279)]);if(_0x10e414){for(const _0x18d3c5 of _0x10e414)(_0x18d3c5[_0x15e3fc(0x1f6)](_0x15e3fc(0x283))||_0x18d3c5[_0x15e3fc(0x1f6)](_0x15e3fc(0x25f)))&&(_0x2f87e1[_0x15e3fc(0x280)][_0x15e3fc(0x2e8)](_0x18d3c5,_0x1784f7[_0x15e3fc(0x279)]),_0x2f87e1[_0x15e3fc(0x223)][_0x15e3fc(0x261)](_0x18d3c5));}},{'priority':_0x3a0a64(0x272)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x1ff)][_0x3a0a64(0x311)]['on'](_0x3a0a64(0x24e),(_0x4786fe,_0xf2d33,_0x28feed)=>{const _0x1b59ac=_0x3a0a64,_0x4e3277=_0xf2d33[_0x1b59ac(0x279)][_0x1b59ac(0x2e1)](':')[0x1],_0x1baa3b=this[_0x1b59ac(0x216)](_0x4e3277);if(!_0x1baa3b)return null;const _0x2ab2c2=_0x1b59ac(0x1e2)==_0x1baa3b[_0x1b59ac(0x2d8)]?_0x1b59ac(0x2e1):_0x1b59ac(0x209);if(_0x28feed[_0x1b59ac(0x1da)][_0x1b59ac(0x1e9)](_0xf2d33[_0x1b59ac(0x20a)],_0x4786fe[_0x1b59ac(0x1e1)]))for(const _0x1aa030 of _0xf2d33[_0x1b59ac(0x20a)][_0x1b59ac(0x282)]()){if(!_0x1aa030['is'](_0x1b59ac(0x2d3),_0x1b59ac(0x302)))continue;const _0x1d7c4a=_0x28feed[_0x1b59ac(0x223)][_0x1b59ac(0x1f5)](_0x1b59ac(0x221),{'class':_0x1b59ac(0x1fd)+_0x2ab2c2}),_0x363b79=_0x28feed[_0x1b59ac(0x280)][_0x1b59ac(0x275)](this[_0x1b59ac(0x1e6)][_0x1b59ac(0x218)][_0x1b59ac(0x31e)](_0x1aa030));_0x1baa3b[_0x1b59ac(0x309)][_0x1b59ac(0x2b5)]&&_0x28feed[_0x1b59ac(0x223)][_0x1b59ac(0x25c)](_0x1b59ac(0x1fd)+_0x2ab2c2+_0x1b59ac(0x300),_0x1d7c4a),this[_0x1b59ac(0x21a)]==_0x1baa3b&&_0x28feed[_0x1b59ac(0x223)][_0x1b59ac(0x25c)](_0x1b59ac(0x305),_0x1d7c4a),_0x28feed[_0x1b59ac(0x223)][_0x1b59ac(0x2bd)](_0x363b79,_0x1d7c4a),_0x28feed[_0x1b59ac(0x280)][_0x1b59ac(0x211)](_0x1d7c4a,_0xf2d33[_0x1b59ac(0x279)]);}},{'priority':_0x3a0a64(0x272)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x218)][_0x3a0a64(0x319)]['on'](_0x3a0a64(0x2a1),()=>{const _0x2eedf6=_0x3a0a64;this[_0x2eedf6(0x1e6)][_0x2eedf6(0x1ff)][_0x2eedf6(0x23e)][_0x2eedf6(0x2a1)](_0x365bbf=>{const _0x1768b6=_0x2eedf6;for(const _0x318b23 of this[_0x1768b6(0x1e6)][_0x1768b6(0x218)][_0x1768b6(0x319)][_0x1768b6(0x24f)]()){const _0x3afdc9=this[_0x1768b6(0x1e6)][_0x1768b6(0x218)][_0x1768b6(0x319)][_0x1768b6(0x29a)](_0x318b23),_0x1c8f6f=this[_0x1768b6(0x1e6)][_0x1768b6(0x1ff)][_0x1768b6(0x23e)][_0x1768b6(0x319)][_0x1768b6(0x29a)](_0x318b23);if(_0x1c8f6f){const _0x384a92=_0x3afdc9[_0x1768b6(0x31b)](_0x1768b6(0x306));if(_0x365bbf[_0x1768b6(0x1f0)](_0x1768b6(0x2da),_0x1c8f6f),_0x365bbf[_0x1768b6(0x27d)](_0x1768b6(0x26e),_0x1c8f6f),_0x365bbf[_0x1768b6(0x27d)](_0x1768b6(0x28f),_0x1c8f6f),_0x365bbf[_0x1768b6(0x27d)](_0x1768b6(0x1db),_0x1c8f6f),_0x384a92){const _0x2964ab=this[_0x1768b6(0x216)](_0x384a92);if(!_0x2964ab)return null;_0x365bbf[_0x1768b6(0x1fc)](_0x1768b6(0x2da),_0x384a92,_0x1c8f6f),_0x365bbf[_0x1768b6(0x25c)](_0x1768b6(0x1dd)+_0x2964ab[_0x1768b6(0x2d8)],_0x1c8f6f),this[_0x1768b6(0x21a)]==_0x2964ab&&_0x365bbf[_0x1768b6(0x25c)](_0x1768b6(0x1db),_0x1c8f6f);}}}});}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x22e))[_0x3a0a64(0x28b)]({'view':_0x3a0a64(0x1ea),'model':_0x23696c=>_0x3a0a64(0x202)+_0x23696c,'converterPriority':_0x3a0a64(0x2d7)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x22e))[_0x3a0a64(0x28b)]({'view':_0x3a0a64(0x1d4),'model':_0x1ff081=>_0x3a0a64(0x1e0)+_0x1ff081,'converterPriority':_0x3a0a64(0x2d7)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x271))[_0x3a0a64(0x28c)]({'model':_0x3a0a64(0x229),'view':_0xb35598=>({'name':_0x3a0a64(0x1e8)+_0xb35598,'group':_0x3a0a64(0x229)}),'converterPriority':_0x3a0a64(0x2d7)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x2fe)][_0x3a0a64(0x1f2)](_0x3a0a64(0x2d0))[_0x3a0a64(0x20d)]({'model':_0x3a0a64(0x229),'view':_0x285137=>{const _0x2e8ad3=_0x3a0a64,_0x547924=_0x285137[_0x2e8ad3(0x279)][_0x2e8ad3(0x2e1)](':')[0x1];return _0x2e8ad3(0x281)!=_0x547924&&_0x2e8ad3(0x215)!=_0x547924?null:{'classes':[_0x2e8ad3(0x25d),_0x2e8ad3(0x274)+_0x547924]};}}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x1ff)][_0x3a0a64(0x311)]['on'](_0x3a0a64(0x31f),et(this[_0x3a0a64(0x1e6)],_0x3a0a64(0x209)),{'priority':_0x3a0a64(0x272)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x1ff)][_0x3a0a64(0x311)]['on'](_0x3a0a64(0x2d4),et(this[_0x3a0a64(0x1e6)],_0x3a0a64(0x2e1)),{'priority':_0x3a0a64(0x272)}),this[_0x3a0a64(0x1e6)][_0x3a0a64(0x1ff)][_0x3a0a64(0x311)]['on'](_0x3a0a64(0x266),(_0x54932f,_0x2b7020,_0x220894)=>{const _0x445111=_0x3a0a64,_0x7d545d=_0x220894[_0x445111(0x280)][_0x445111(0x2b4)](_0x2b7020[_0x445111(0x279)]);if(_0x7d545d){for(const _0x35dc2a of _0x7d545d)_0x35dc2a['is'](_0x445111(0x235))&&(_0x220894[_0x445111(0x280)][_0x445111(0x2e8)](_0x35dc2a,_0x2b7020[_0x445111(0x279)]),_0x220894[_0x445111(0x223)][_0x445111(0x261)](_0x35dc2a));}},{'priority':_0x3a0a64(0x272)});}[_0xdffa09(0x216)](_0x1a22be){const _0x44a5fc=_0xdffa09;return this[_0x44a5fc(0x307)][_0x44a5fc(0x29f)](_0x1a22be);}[_0xdffa09(0x2d2)](_0x32c14c){const _0x269afc=_0xdffa09;return this[_0x269afc(0x1ec)]&&this[_0x269afc(0x1ec)][_0x269afc(0x1df)](),this[_0x269afc(0x1ec)]=new _0x3498be(this[_0x269afc(0x1e6)][_0x269afc(0x312)],_0x32c14c),this[_0x269afc(0x1ec)];}[_0xdffa09(0x2d6)](){const _0x320f12=_0xdffa09;this[_0x320f12(0x1e6)][_0x320f12(0x218)][_0x320f12(0x319)][_0x320f12(0x308)][_0x320f12(0x29c)](_0x320f12(0x29d)),this['on'](_0x320f12(0x234),(_0x5b0a1a,_0x536e59,_0x342862,_0xb86f91)=>{const _0x2a972d=_0x320f12;_0xb86f91&&this[_0x2a972d(0x207)][_0x2a972d(0x261)](_0xb86f91),_0x342862&&(this[_0x2a972d(0x207)][_0x2a972d(0x1e2)]({'view':_0x342862,'stackId':_0x2a972d(0x321),'position':{'target':()=>{const _0x25d236=_0x2a972d,_0x4794ea=this[_0x25d236(0x1e6)][_0x25d236(0x1ff)],_0x3457e3=this[_0x25d236(0x216)](_0x342862[_0x25d236(0x30a)]);let _0x3346b2;if(_0x3457e3[_0x25d236(0x309)][_0x25d236(0x231)]){const _0x3f34f6=_0x4794ea[_0x25d236(0x23e)][_0x25d236(0x1d5)](_0x3457e3[_0x25d236(0x2b8)]);_0x3346b2=Array[_0x25d236(0x2fc)](_0x3f34f6[_0x25d236(0x294)]());}else{const _0xb2b3ef=this[_0x25d236(0x1e6)][_0x25d236(0x218)][_0x25d236(0x26c)][_0x25d236(0x29f)](_0x25d236(0x246)+_0x342862[_0x25d236(0x30a)]);_0x3346b2=Array[_0x25d236(0x2fc)](_0x4794ea[_0x25d236(0x280)][_0x25d236(0x2b4)](_0xb2b3ef[_0x25d236(0x1e1)]))[_0x25d236(0x2f0)](_0x2eb631=>_0x4794ea[_0x25d236(0x23e)][_0x25d236(0x26a)][_0x25d236(0x26d)](_0x2eb631))[_0x25d236(0x2f0)](_0xb67663=>Array[_0x25d236(0x2fc)](_0xb67663[_0x25d236(0x294)]()))[_0x25d236(0x290)]();}if(!this[_0x25d236(0x30c)])return _0x3346b2[0x0];return _0x3346b2[_0x25d236(0x2d5)](_0x181bf6=>_0x181bf6[_0x25d236(0x26f)]-0x3<=this[_0x25d236(0x30c)]['y']&&_0x181bf6[_0x25d236(0x1d6)]+0x3>=this[_0x25d236(0x30c)]['y']&&_0x181bf6[_0x25d236(0x2be)]-0x3<=this[_0x25d236(0x30c)]['x']&&_0x181bf6[_0x25d236(0x1d8)]+0x3>=this[_0x25d236(0x30c)]['x'])||_0x3346b2[0x0];}}}),this[_0x2a972d(0x207)][_0x2a972d(0x27a)](_0x2a972d(0x321)));}),this['on'](_0x320f12(0x2c5),(_0x369ff7,_0x348b35,_0x33139d,_0x6a3fbc)=>{const _0x6cca2b=_0x320f12;this[_0x6cca2b(0x2af)]=_0x33139d?this[_0x6cca2b(0x2d2)](_0x33139d):null,this[_0x6cca2b(0x1e6)][_0x6cca2b(0x218)][_0x6cca2b(0x2a1)](()=>{const _0x39a055=_0x6cca2b,_0x58bf85=this[_0x39a055(0x1e6)][_0x39a055(0x1ff)];_0x6a3fbc&&(_0x6a3fbc[_0x39a055(0x309)][_0x39a055(0x231)]?_0x58bf85[_0x39a055(0x23e)][_0x39a055(0x2a1)](_0x46c665=>{const _0x216e28=_0x39a055;_0x46c665[_0x216e28(0x27d)](_0x216e28(0x1db),_0x58bf85[_0x216e28(0x23e)][_0x216e28(0x319)][_0x216e28(0x29a)](_0x6a3fbc[_0x216e28(0x2b8)]));}):_0x58bf85[_0x39a055(0x2db)](_0x39a055(0x246)+_0x6a3fbc['id'])),_0x33139d&&(_0x33139d[_0x39a055(0x309)][_0x39a055(0x231)]?_0x58bf85[_0x39a055(0x23e)][_0x39a055(0x2a1)](_0x21d211=>{const _0x52772f=_0x39a055;_0x21d211[_0x52772f(0x25c)](_0x52772f(0x1db),_0x58bf85[_0x52772f(0x23e)][_0x52772f(0x319)][_0x52772f(0x29a)](_0x33139d[_0x52772f(0x2b8)]));}):_0x58bf85[_0x39a055(0x2db)](_0x39a055(0x246)+_0x33139d['id']));});}),this[_0x320f12(0x2df)](this[_0x320f12(0x1e6)][_0x320f12(0x1ff)][_0x320f12(0x23e)][_0x320f12(0x319)],_0x320f12(0x315),(_0x29c26d,_0x2c96a9)=>{const _0x47f631=_0x320f12;if(this[_0x47f631(0x21a)])return;const _0x4d610f=this[_0x47f631(0x277)](_0x2c96a9[_0x47f631(0x2a3)]),_0x710ebd=this[_0x47f631(0x307)][_0x47f631(0x29f)](_0x4d610f);_0x710ebd?(this[_0x47f631(0x30c)]={'x':_0x2c96a9[_0x47f631(0x225)]['x'],'y':_0x2c96a9[_0x47f631(0x225)]['y']},this[_0x47f631(0x2af)]=this[_0x47f631(0x2d2)](_0x710ebd)):(this[_0x47f631(0x30c)]=null,this[_0x47f631(0x2af)]=null);}),this[_0x320f12(0x2df)](this[_0x320f12(0x1e6)][_0x320f12(0x1ff)][_0x320f12(0x23e)][_0x320f12(0x319)],_0x320f12(0x21d),(_0x2c6d96,_0x4e0523)=>{const _0x4cb876=_0x320f12,_0x2dcce6=this[_0x4cb876(0x277)](_0x4e0523[_0x4cb876(0x2a3)]),_0x20f63e=this[_0x4cb876(0x307)][_0x4cb876(0x29f)](_0x2dcce6);_0x20f63e?(this[_0x4cb876(0x30c)]={'x':_0x4e0523[_0x4cb876(0x225)]['x'],'y':_0x4e0523[_0x4cb876(0x225)]['y']},_0x20f63e===this[_0x4cb876(0x21a)]?this[_0x4cb876(0x207)][_0x4cb876(0x236)]():this[_0x4cb876(0x21a)]=_0x20f63e):(this[_0x4cb876(0x30c)]=null,this[_0x4cb876(0x21a)]=null);});}[_0xdffa09(0x277)](_0x15e89b){const _0x3a0fcb=_0xdffa09;do{const _0x5b7f0d=_0x15e89b[_0x3a0fcb(0x31b)](_0x3a0fcb(0x2da));if(_0x5b7f0d)return _0x5b7f0d;_0x15e89b=_0x15e89b[_0x3a0fcb(0x238)];}while(_0x15e89b);return null;}[_0xdffa09(0x2cc)](){const _0x55fa89=_0xdffa09;this[_0x55fa89(0x1e6)][_0x55fa89(0x218)][_0x55fa89(0x2a1)](_0x65e7c8=>{const _0x4a989a=_0x55fa89;for(const _0x3a625e of this[_0x4a989a(0x1e6)][_0x4a989a(0x218)][_0x4a989a(0x26c)])_0x65e7c8[_0x4a989a(0x21f)](_0x3a625e);});}}function _0x3672(){const _0x538a04=['element','addMarker:revision-suggestion:insertion','find','_initInteractions','highest','type','then','data-change-id','reconvertMarker','showNextChange','getChild','push','listenTo','createRevision','split','refresh','start','endIndex','all','parse','done','unbindElementFromMarkerName','_removeUnsupportedChanges','toViewElement','error','toModel','keys','attributesAfter','_processTape','map','changes','isRemoved','includes','_step','_removeMissingPairs','_getRevisionsRange','enqueueChange','loadRevisionData','_revisions','isReady','startIndex','from','affectsData','conversion','ck-suggestion-marker','-new','attributes','softBreak','_makeModelFromTape','77473ynqaUH','ck-suggestion-marker--active','revisionHistoryAttachChange','_changeIdToChange','selection','data','changeId','isAtStart','_activeViewTarget','newRevisionId','_update','delete','_setConversion','downcastDispatcher','locale','1110cLoRXi','_appendChild','mouseover','has','isAddSuggestion','return','document','consume','getAttribute','elementToAttribute','clear','createPositionBefore','addMarker:revision-suggestion:deletion','isBefore','revisionHistoryLabel','revision-end','useFillerType','suggestion','getDomRoot','bottom','toViewRange','right','getRevisionRootsAttributes','consumable','ck-revision-history-root--active','4532hdAWZE','ck-revision-history-root-','findIndex','destroy','revision-suggestion:','name','add','createRange','repository','forEach','editor','maxOffset','suggestion:','test','comment','WidgetToolbarRepository','_changeView','init','_joinTapes','unshift','removeAttribute','2236908RaFTeh','for','oldRevisionId','authors','createUIElement','hasClass','requires','side','isEqual','pairId','values','setAttribute','ck-suggestion-marker-','range','editing','bind','_setDistance','revision-comment:','elementStart','adapter','vid','roots','_balloon','1841624lYRISM','merge','markerRange','viewItem','isEnabled','markerToHighlight','code','elementEnd','_setChanges','bindElementToMarker','next','plugins','processor','deletion','_getChangeFromId','shift','model','_makeModelFromViewString','activeChange','revision-start','toData','mousedown','vid_end','removeMarker','offsetSize','span','_markInsertions','writer','RevisionsRepository','domEvent','marked','2605428rZgnic','userId','revision-suggestion','isAttached','isNavigationMode','collaboration.channelId','stop','upcast','_getViewObj','vid_start','isOnRoot','detachRoot','distance','change:activeView','uiElement','updatePosition','attachChange','parent','POSITIVE_INFINITY','_markMismatchedRemovedTags','RevisionViewer','addRoot','filter','view','pop','3893585mtUJRj','nextSibling','catch','nodeAfter','set','text','revision:','revisionHistory','config','index','addRevision','showPreviousChange','wrap','backward','addMarker:revision','getRootNames','_markMarkers','string','getIndex','getAttributes','addHighlight','hasAttribute','children','_data','_getDiff','getWalker','createPositionFromPath','change:isReady','addClass','ck-suggestion-preview-marker','createRangeIn','ck-suggestion-marker-merge','_cleanUp','remove','_refreshStartEndIndex','currentChangeNumber','_makeTape','sort','removeMarker:revision-suggestion','_markSuggestions','isObject','diffData','domConverter','abs','markers','mapViewToDom','ck-revision-history-root-add','top','createAttributeElement','dataDowncast','high','revision-viewer','ck-suggestion-preview-marker-','toViewPosition','element:pre','_findChangeIdFromDomTarget','change:numberOfChanges','markerName','showStack','previousPosition','440kphovB','removeClass','getRevisionData','forceDisabled','mapper','insertion','getItems','ck-suggestion-marker-split','_fixObsoleteTags','startsWith','resolve','isAfter','deletions','numberOfChanges','667736ExRRyq','dataToMarker','markerToData','restoreRevisionCallback','enableReadOnlyMode','ck-revision-history-root-remove','flat','indexOf','removeMarker:revision','object','getClientRects','compare','isLimit','attributesBefore','addRevisionData','markersStart','getRoot','forward','observeMarkers','revision','isBlock','get','getCustomProperty','change','nextPosition','target','isRemoveSuggestion','slice','_sortAndFilterDiffChanges','data-revision-','commands','change:isEnabled','markersEnd','isAdded','execute','_removeRevisionMarkers','isContent','activeView','insertions','isInline','isIncorrect','attribute:vid','markerNameToElements','isSuggestion','restoreRevision','default','rootName','ck-editor__editable__overlay','concat','splice','6WteKTn','insert','left','length','schema','low','end','level','diff','change:activeChange','_threeWayMerge','item','checkAttribute','9MmiJHh','isCollapsed','pluginName','_cleanMarkers','first','getRevision','modelRange','editingDowncast','isAtEnd','_getViewForChange'];_0x3672=function(){return _0x538a04;};return _0x3672();}function et(_0x3037aa,_0x5ed996){return(_0x11c714,_0x2019ba,_0x381ce9)=>{const _0x45b710=_0x34ed;if(!_0x381ce9[_0x45b710(0x1da)][_0x45b710(0x1e9)](_0x2019ba[_0x45b710(0x20a)],_0x11c714[_0x45b710(0x1e1)]))return;const _0xe2b63e=_0x2019ba[_0x45b710(0x20a)][_0x45b710(0x259)](),_0x2b0a17=_0x2019ba[_0x45b710(0x20a)][_0x45b710(0x2e3)],_0x4f5705=_0x3037aa[_0x45b710(0x218)][_0x45b710(0x2c0)];let _0xc6b6cd=null,_0x3f3dbc=null,_0x2a067a=!0x1,_0xf295e4=!0x1;for(const _0x3cc400 of _0xe2b63e){const _0x7983c7=_0x3cc400[_0x45b710(0x2c7)];_0x2a067a=_0x2a067a||_0x4f5705[_0x45b710(0x2ae)](_0x7983c7);const _0x2362b1=_0x381ce9[_0x45b710(0x280)][_0x45b710(0x2ea)](_0x7983c7);if(_0x2362b1&&_0x2362b1[_0x45b710(0x2a0)](_0x45b710(0x254)))return;_0x45b710(0x20f)==_0x3cc400[_0x45b710(0x2d8)]&&(_0x4f5705[_0x45b710(0x29e)](_0x7983c7)&&!_0x4f5705[_0x45b710(0x296)](_0x7983c7)&&(_0x7983c7[_0x45b710(0x241)]||_0x2b0a17[_0x45b710(0x2d1)]?_0xc6b6cd&&_0xc6b6cd[_0x45b710(0x238)]==_0x7983c7||(_0xc6b6cd=_0x7983c7,_0x36159c(_0x3cc400[_0x45b710(0x27b)]),_0xf295e4=!0x0):_0x3f3dbc=_0x3f3dbc||_0x3cc400[_0x45b710(0x27b)]));}function _0x36159c(_0x5e1fe9){const _0x59759b=_0x45b710,_0x4fd2cb=_0x381ce9[_0x59759b(0x280)][_0x59759b(0x275)](_0x5e1fe9),_0x36ce9d=_0x381ce9[_0x59759b(0x223)][_0x59759b(0x1f5)](_0x59759b(0x221),{'class':_0x59759b(0x274)+_0x5ed996});_0x381ce9[_0x59759b(0x223)][_0x59759b(0x2bd)](_0x4fd2cb,_0x36ce9d),_0x381ce9[_0x59759b(0x280)][_0x59759b(0x211)](_0x36ce9d,_0x2019ba[_0x59759b(0x279)]);}_0x2a067a||_0xf295e4||!_0x3f3dbc||_0x36159c(_0x3f3dbc);};}export class RestoreRevisionCommand extends _0x338556{constructor(_0x296f9d){const _0x4c6846=_0xdffa09;super(_0x296f9d);const _0x2aef19=_0x296f9d[_0x4c6846(0x213)][_0x4c6846(0x29f)](d);this[_0x4c6846(0x2fd)]=!0x1,this[_0x4c6846(0x2df)](_0x2aef19,_0x4c6846(0x25b),()=>this[_0x4c6846(0x2e2)]()),this[_0x4c6846(0x2df)](_0x2aef19,_0x4c6846(0x2a9),()=>this[_0x4c6846(0x2e2)]());}[_0xdffa09(0x2ac)](){const _0x17f190=_0xdffa09,_0x6438ca=this[_0x17f190(0x1e6)],_0x348d3a=_0x6438ca[_0x17f190(0x213)][_0x17f190(0x29f)](d),_0x2affed=_0x348d3a[_0x17f190(0x2fa)]?_0x348d3a[_0x17f190(0x2c4)][_0x17f190(0x30d)]:null;_0x6438ca[_0x17f190(0x248)][_0x17f190(0x29f)](_0x17f190(0x247))[_0x17f190(0x28d)](_0x2affed);}[_0xdffa09(0x2e2)](){const _0x401866=_0xdffa09,{isReady:_0x3fb24d,isEnabled:_0x5e1548}=this[_0x401866(0x1e6)][_0x401866(0x213)][_0x401866(0x29f)](d);this[_0x401866(0x20c)]=_0x3fb24d&&_0x5e1548;}}export class ShowChangeCommand extends _0x338556{constructor(_0x35d9e1,{direction:_0x38a8d0}){const _0x3474fe=_0xdffa09;super(_0x35d9e1);const _0x5b4ab7=_0x35d9e1[_0x3474fe(0x213)][_0x3474fe(0x29f)](d);this[_0x3474fe(0x2fd)]=!0x1,this[_0x3474fe(0x2f4)]=_0x3474fe(0x29b)===_0x38a8d0?0x1:-0x1,this[_0x3474fe(0x2df)](_0x5b4ab7,_0x3474fe(0x25b),()=>this[_0x3474fe(0x2e2)]()),this[_0x3474fe(0x2df)](_0x5b4ab7,_0x3474fe(0x2a9),()=>this[_0x3474fe(0x2e2)]()),this[_0x3474fe(0x2df)](_0x5b4ab7,_0x3474fe(0x2c5),()=>this[_0x3474fe(0x2e2)]());}[_0xdffa09(0x2ac)](){const _0x4d0773=_0xdffa09,_0x54d0d9=this[_0x4d0773(0x1e6)],_0x4201db=_0x54d0d9[_0x4d0773(0x213)][_0x4d0773(0x29f)](d),{isNavigationMode:_0x5d22b0,currentChangeNumber:_0x11270e}=_0x4201db;let _0x485174;if(_0x4201db[_0x4d0773(0x21a)]=_0x5d22b0?_0x4201db[_0x4d0773(0x2c4)][_0x4d0773(0x2f1)][_0x4d0773(0x29f)](_0x11270e+this[_0x4d0773(0x2f4)]):_0x4201db[_0x4d0773(0x2c4)][_0x4d0773(0x2f1)][_0x4d0773(0x2cd)],_0x4201db[_0x4d0773(0x21a)][_0x4d0773(0x309)][_0x4d0773(0x231)])_0x485174=_0x54d0d9[_0x4d0773(0x1ff)][_0x4d0773(0x23e)][_0x4d0773(0x1d5)](_0x4201db[_0x4d0773(0x21a)][_0x4d0773(0x2b8)]);else{const _0x3d6333=_0x54d0d9[_0x4d0773(0x218)][_0x4d0773(0x26c)][_0x4d0773(0x29f)](_0x4d0773(0x246)+_0x4201db[_0x4d0773(0x21a)]['id']);_0x485174=_0x5d0661(_0x54d0d9[_0x4d0773(0x1ff)],_0x3d6333);}_0x4930e7({'target':_0x485174,'viewportOffset':0x28});}[_0xdffa09(0x2e2)](){const _0x51b663=_0xdffa09,{isNavigationMode:_0x37299e,currentChangeNumber:_0x128e3e,numberOfChanges:_0x1e2f80,isReady:_0x22ea8c,isEnabled:_0x3c093e}=this[_0x51b663(0x1e6)][_0x51b663(0x213)][_0x51b663(0x29f)](d);this[_0x51b663(0x20c)]=!!(_0x3c093e&&_0x22ea8c&&_0x1e2f80)&&(!_0x37299e||(0x1===this[_0x51b663(0x2f4)]?_0x128e3e<_0x1e2f80-0x1:_0x128e3e>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x281899,_0x585409){const _0x344b31=_0x96c7,_0x15f0ab=_0x281899();while(!![]){try{const _0x2e56c2=parseInt(_0x344b31(0x207))/0x1+-parseInt(_0x344b31(0x1de))/0x2+-parseInt(_0x344b31(0x1e5))/0x3*(-parseInt(_0x344b31(0x1df))/0x4)+-parseInt(_0x344b31(0x209))/0x5+parseInt(_0x344b31(0x1ed))/0x6+parseInt(_0x344b31(0x1eb))/0x7+parseInt(_0x344b31(0x206))/0x8;if(_0x2e56c2===_0x585409)break;else _0x15f0ab['push'](_0x15f0ab['shift']());}catch(_0x322889){_0x15f0ab['push'](_0x15f0ab['shift']());}}}(_0x53b0,0xc01f5));import{Collection as _0x29a8f7}from'ckeditor5/src/utils.js';import{icons as _0x4932b0}from'ckeditor5/src/core.js';function _0x96c7(_0x1c4dc9,_0x2463ef){const _0x53b076=_0x53b0();return _0x96c7=function(_0x96c77,_0x5c0791){_0x96c77=_0x96c77-0x1dc;let _0x36989e=_0x53b076[_0x96c77];return _0x36989e;},_0x96c7(_0x1c4dc9,_0x2463ef);}import{ViewModel as _0x126fe4,addListToDropdown as _0x2b5cde,createDropdown as _0x7839c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x2265a9}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x53b0(){const _0x167890=['threeVerticalDots','_action','change:isActionsDropdownOpen','execute','name','find','first','add','Restore\x20this\x20revision','isVisible','stopPropagation','3424072lhUJaA','343861obUFJR','model','4541875zzedlY','isActionsDropdownOpen','Name\x20this\x20revision','2202910iXUyGW','191400ojPaPT','listenTo','ck-on','action','function','isOpen','24SkLdBI','set','items','class','children','Compare\x20against\x20selected','903966BrNXvk','panelPosition','9077730CLeXdN','extendTemplate','ck-revision-history-sidebar__revision__actions','buttonView','isReady','listView','isEnabled','bind','bindTemplate','button','source','map','Show\x20more\x20items','locale'];_0x53b0=function(){return _0x167890;};return _0x53b0();}export function createActionsDropdownView(_0x583f65,_0x500c1f){const _0xd87e7c=_0x96c7,_0x14d57a=_0x583f65[_0xd87e7c(0x1f5)],_0xc94669=_0x583f65[_0xd87e7c(0x1fa)],_0xb23ae9=_0x7839c3(_0xc94669);_0xb23ae9[_0xd87e7c(0x1ec)]='sw';const _0x381ed4=function(_0x3e7fdc,_0x1c7cb1){const _0x5b840a=_0xd87e7c,_0x26d328=function(_0x5e74cf,_0x4f3245){const _0x4675e5=_0x96c7,_0x3907ee=_0x5e74cf[_0x4675e5(0x1fa)],_0x193fa4={'Compare\x20against\x20selected':_0x2265a9(_0x3907ee,_0x4675e5(0x1ea)),'Name\x20this\x20revision':_0x2265a9(_0x3907ee,_0x4675e5(0x1dd)),'Restore\x20this\x20revision':_0x2265a9(_0x3907ee,_0x4675e5(0x203))};return _0x4f3245[_0x4675e5(0x1f8)](_0x4f0e4a=>{const _0x288408=_0x4675e5,_0x42b2dc=_0x193fa4[_0x4f0e4a[_0x288408(0x1ff)]];return _0x42b2dc&&_0x42b2dc!==_0x4f0e4a[_0x288408(0x1ff)]&&(_0x4f0e4a[_0x288408(0x1ff)]=_0x42b2dc),_0x4f0e4a;});}(_0x3e7fdc,_0x1c7cb1),_0x4e06dd=new _0x29a8f7();for(const _0x2f5740 of _0x26d328){const _0x371635={'type':_0x5b840a(0x1f6),'model':new _0x126fe4({'label':_0x2f5740[_0x5b840a(0x1ff)],'class':_0x2f5740[_0x5b840a(0x1e8)],'withText':!0x0,'_action':_0x2f5740[_0x5b840a(0x1e2)]})};_0x371635[_0x5b840a(0x208)][_0x5b840a(0x1f4)](_0x5b840a(0x1f3))['to'](_0x3e7fdc,_0x5b840a(0x1dc),_0x3257e5=>_0x5b840a(0x1e3)!=typeof _0x2f5740[_0x5b840a(0x1f3)]||(!_0x3257e5||_0x2f5740[_0x5b840a(0x1f3)](_0x3e7fdc))),_0x4e06dd[_0x5b840a(0x202)](_0x371635);}return _0x4e06dd;}(_0x583f65,_0x500c1f);return _0x583f65[_0xd87e7c(0x1f4)](_0xd87e7c(0x1dc))['to'](_0xb23ae9,_0xd87e7c(0x1e4)),_0xb23ae9[_0xd87e7c(0x1f0)][_0xd87e7c(0x1e6)]({'label':_0x2265a9(_0xc94669,_0xd87e7c(0x1f9)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4932b0[_0xd87e7c(0x1fb)]}),_0xb23ae9[_0xd87e7c(0x1ee)]({'attributes':{'class':[_0xd87e7c(0x1ef),_0x14d57a['if'](_0xd87e7c(0x1dc),_0xd87e7c(0x1e1))]},'on':{'click':_0x14d57a['to'](_0xf3197e=>_0xf3197e[_0xd87e7c(0x205)]())}}),_0xb23ae9['on'](_0xd87e7c(0x1fe),_0x4b6531=>{const _0x2aa6a1=_0xd87e7c;_0x583f65[_0x2aa6a1(0x1f1)]&&_0x2aa6a1(0x1e3)==typeof _0x4b6531[_0x2aa6a1(0x1f7)][_0x2aa6a1(0x1fc)]&&_0x4b6531[_0x2aa6a1(0x1f7)][_0x2aa6a1(0x1fc)](_0x583f65);}),_0x2b5cde(_0xb23ae9,_0x381ed4),_0xb23ae9[_0xd87e7c(0x1e0)](_0x583f65,_0xd87e7c(0x1fd),(_0x26f8e6,_0x487dcc,_0x13176a)=>{const _0x23b356=_0xd87e7c;if(_0x13176a)for(const _0x143d7e of _0xb23ae9[_0x23b356(0x1f2)][_0x23b356(0x1e7)]){const _0x4d23cc=_0x143d7e[_0x23b356(0x1e9)][_0x23b356(0x201)],_0x5f8399=_0x500c1f[_0x23b356(0x200)](_0x599389=>_0x599389[_0x23b356(0x1e2)]===_0x4d23cc[_0x23b356(0x1fc)])[_0x23b356(0x204)];_0x143d7e[_0x23b356(0x204)]=void 0x0===_0x5f8399||_0x5f8399(_0x583f65);}}),_0xb23ae9;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x16dd7f,_0xe3daef){const _0x38f63e=_0xfe48,_0x49a789=_0x16dd7f();while(!![]){try{const _0x1f3cc8=parseInt(_0x38f63e(0x15a))/0x1+-parseInt(_0x38f63e(0x161))/0x2+-parseInt(_0x38f63e(0x154))/0x3*(-parseInt(_0x38f63e(0x150))/0x4)+-parseInt(_0x38f63e(0x157))/0x5+parseInt(_0x38f63e(0x15d))/0x6+parseInt(_0x38f63e(0x162))/0x7+parseInt(_0x38f63e(0x15e))/0x8*(-parseInt(_0x38f63e(0x15f))/0x9);if(_0x1f3cc8===_0xe3daef)break;else _0x49a789['push'](_0x49a789['shift']());}catch(_0x50a64b){_0x49a789['push'](_0x49a789['shift']());}}}(_0x5a5d,0xedfa4));function _0xfe48(_0x4f8582,_0x496941){const _0x5a5dfa=_0x5a5d();return _0xfe48=function(_0xfe488,_0x2b9c12){_0xfe488=_0xfe488-0x14f;let _0x5ce436=_0x5a5dfa[_0xfe488];return _0x5ce436;},_0xfe48(_0x4f8582,_0x496941);}import{View as _0x12d207,IconView as _0x4ffbfd}from'ckeditor5/src/ui.js';function _0x5a5d(){const _0x65fb03=['set','push','1785190jQFBPY','Revision\x20author','span','1933390vrsOGy','ck-revision-history-sidebar__revision-author','setTemplate','1251366hdNEGZ','857272WJuFRC','171JjrYxg','0\x200\x2011\x2010','1667038lcmaVE','9213239IkKshN','name','68AIXPEj','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','ck-revision-history-sidebar__revision-author__name','131154duvitA'];_0x5a5d=function(){return _0x65fb03;};return _0x5a5d();}import{getTranslation as _0x35b2f7}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x6fd9eb from'../../../theme/icons/user.svg';export default class ti extends _0x12d207{constructor(_0x4765a5,_0x47ab14,_0xffcb99){const _0x2bac65=_0xfe48;super(_0x4765a5);const _0x48613e=new _0x4ffbfd();_0x48613e[_0x2bac65(0x155)]({'content':_0x6fd9eb,'viewBox':_0x2bac65(0x160)});const _0x1f36a4=['ck',_0x2bac65(0x15b)];_0xffcb99&&_0x1f36a4[_0x2bac65(0x156)](_0x2bac65(0x152));const _0x282537=[{'tag':_0x2bac65(0x159),'attributes':{'class':['ck',_0x2bac65(0x153)],'title':_0x35b2f7(_0x4765a5,_0xffcb99?_0x2bac65(0x151):_0x2bac65(0x158))},'children':[_0x48613e,_0x47ab14[_0x2bac65(0x14f)]]}];this[_0x2bac65(0x15c)]({'tag':'li','attributes':{'class':_0x1f36a4},'children':_0x282537});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xd91d(_0x560501,_0x675af0){const _0x191c43=_0x191c();return _0xd91d=function(_0xd91d0d,_0x2dbd6d){_0xd91d0d=_0xd91d0d-0x11b;let _0x508b1f=_0x191c43[_0xd91d0d];return _0x508b1f;},_0xd91d(_0x560501,_0x675af0);}const _0x3148ec=_0xd91d;(function(_0x249f61,_0x5aa755){const _0x338028=_0xd91d,_0x55324d=_0x249f61();while(!![]){try{const _0x2251dc=parseInt(_0x338028(0x12c))/0x1*(-parseInt(_0x338028(0x122))/0x2)+-parseInt(_0x338028(0x132))/0x3*(parseInt(_0x338028(0x123))/0x4)+parseInt(_0x338028(0x13a))/0x5+-parseInt(_0x338028(0x127))/0x6+-parseInt(_0x338028(0x11c))/0x7*(parseInt(_0x338028(0x11d))/0x8)+parseInt(_0x338028(0x124))/0x9+parseInt(_0x338028(0x12e))/0xa*(parseInt(_0x338028(0x136))/0xb);if(_0x2251dc===_0x5aa755)break;else _0x55324d['push'](_0x55324d['shift']());}catch(_0x23e577){_0x55324d['push'](_0x55324d['shift']());}}}(_0x191c,0xf3a96));import{LabeledFieldView as _0xc0a518}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x3601dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x302b8d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class vt extends _0xc0a518{constructor(_0x3040cd,_0x426882){const _0xd11883=_0xd91d;super(_0x3040cd,_0x426882),this[_0xd11883(0x133)]=null;const _0x3d46ab=this[_0xd11883(0x12b)];this[_0xd11883(0x137)]({'label':_0x302b8d(_0x3040cd,_0xd11883(0x139)),'_tooltipString':''}),this[_0xd11883(0x11b)][_0xd11883(0x11e)]=_0x302b8d(_0x3040cd,_0xd11883(0x134)),this[_0xd11883(0x138)]({'tag':_0xd11883(0x12d),'attributes':{'class':[_0xd11883(0x129)],'data-cke-tooltip-text':_0x3d46ab['to'](_0xd11883(0x126)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0xd11883(0x125)}});}[_0x3148ec(0x121)](){const _0x36865f=_0x3148ec;super[_0x36865f(0x121)](),this[_0x36865f(0x133)]=new _0x3601dd(this[_0x36865f(0x11b)][_0x36865f(0x130)],()=>this[_0x36865f(0x11f)]()),this[_0x36865f(0x12f)](this[_0x36865f(0x11b)],_0x36865f(0x12a),()=>this[_0x36865f(0x11f)]());}[_0x3148ec(0x128)](){const _0x570d37=_0x3148ec;super[_0x570d37(0x128)](),this[_0x570d37(0x133)]&&this[_0x570d37(0x133)][_0x570d37(0x128)]();}[_0x3148ec(0x11f)](){const _0x5cdef9=_0x3148ec,_0x4131b9=this[_0x5cdef9(0x11b)][_0x5cdef9(0x130)];this[_0x5cdef9(0x126)]=_0x4131b9[_0x5cdef9(0x131)]>_0x4131b9[_0x5cdef9(0x120)]&&_0x4131b9[_0x5cdef9(0x135)]||'';}}function _0x191c(){const _0x5447a=['Enter\x20the\x20revision\x20name','value','40161VXIsNi','set','extendTemplate','Revision\x20name','6677670SvkCNC','fieldView','21686jjRaNI','2344VOYVGr','placeholder','_updateTooltipText','clientWidth','render','1903774zywblx','8MGAksr','1686429ZxNeVx','ck-tooltip_multi-line','_tooltipString','134406GyRjzI','destroy','ck-revision-history-sidebar__revision-name','input','bindTemplate','2qOgUMd','span','9080JgkJfl','listenTo','element','scrollWidth','1509144WqxcVJ','_resizeObserver'];_0x191c=function(){return _0x5447a;};return _0x191c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2f26(){const _0x1bba41=['bindTemplate','isActionsDropdownOpen','value','_revision','fieldView','ck-revision-history-sidebar__revision','creator','22JClvVp','_requireRevisionName','ck-revision-history-sidebar__revision-authors','266814WvqRmB','unhighlight','highlight','ck-revision-history-sidebar__revision-wrapper','name','ck-revision-history-sidebar__revision__date','1214325TEatfs','div','listenTo','unshift','50EELhYc','ck-revision-history-sidebar__revision__controls-wrapper','isSelected','extendTemplate','filter','.ck-thread__remove-confirm','map','fire','deselect','revisionActionsView','_createdAtFormatted','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','length','change','ck-revision-history-sidebar__actions_dropdown_open','setName','set','ck-revision-history-sidebar__revision_selected','revisionNameView','setTemplate','649980jIrcHE','closest','render','isHighlighted','authors','4545324gvnYJs','span','uiLanguage','isEnabled','128502QEPsWI','srcElement','ck-revision-history-sidebar__revision_highlighted','select','ck-disabled','createdAt','bind','1870752IDiJHG','element','isConfirm','from','isReady','ck-reset','15222gWHEbM','220'];_0x2f26=function(){return _0x1bba41;};return _0x2f26();}const _0x3b1b74=_0x323f;(function(_0x1feafe,_0x122fdc){const _0x48bf87=_0x323f,_0x450b20=_0x1feafe();while(!![]){try{const _0x1351c6=parseInt(_0x48bf87(0xff))/0x1+-parseInt(_0x48bf87(0xd5))/0x2*(-parseInt(_0x48bf87(0xcc))/0x3)+parseInt(_0x48bf87(0xf6))/0x4+parseInt(_0x48bf87(0xe2))/0x5*(parseInt(_0x48bf87(0xd8))/0x6)+parseInt(_0x48bf87(0xde))/0x7+-parseInt(_0x48bf87(0xc6))/0x8+-parseInt(_0x48bf87(0xfb))/0x9;if(_0x1351c6===_0x122fdc)break;else _0x450b20['push'](_0x450b20['shift']());}catch(_0x16b9d9){_0x450b20['push'](_0x450b20['shift']());}}}(_0x2f26,0x37330));import{View as _0x2c9d9f,createLabeledInputText as _0x22c5e8}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x149422}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x525dda from'./revisionnameview.js';import _0x155716 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x148d40}from'./utils.js';function _0x323f(_0x4db778,_0x28b028){const _0x2f268a=_0x2f26();return _0x323f=function(_0x323f01,_0x3d83f2){_0x323f01=_0x323f01-0xc3;let _0x553134=_0x2f268a[_0x323f01];return _0x553134;},_0x323f(_0x4db778,_0x28b028);}import{createActionsDropdownView as _0x1ec842}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x149422(_0x2c9d9f){constructor(_0x2e87d5,_0x212915,_0x232afd,_0x33b531){const _0x93b288=_0x323f;super(_0x2e87d5);const _0x4521bb=this[_0x93b288(0xce)],_0x7403bf=function(_0x52aaca,_0x488168){const _0x49480a=_0x93b288,_0x108b93=Array[_0x49480a(0xc9)](_0x488168[_0x49480a(0xfa)])[_0x49480a(0xe6)](_0x5975d7=>_0x5975d7!=_0x488168[_0x49480a(0xd4)]);return _0x488168[_0x49480a(0xd4)]&&_0x108b93[_0x49480a(0xe1)](_0x488168[_0x49480a(0xd4)]),_0x108b93[_0x49480a(0xe8)](_0x5ba858=>new _0x155716(_0x52aaca,_0x5ba858,_0x5ba858==_0x488168[_0x49480a(0xd4)]));}(_0x2e87d5,_0x212915);this['id']=_0x212915['id'],this[_0x93b288(0xd1)]=_0x212915,this[_0x93b288(0xd6)]=_0x33b531,this[_0x93b288(0xc5)](_0x93b288(0xdc),_0x93b288(0xc4))['to'](_0x212915),this[_0x93b288(0xc5)](_0x93b288(0xec))['to'](this,_0x93b288(0xc4),_0x407133=>_0x148d40(_0x2e87d5[_0x93b288(0xfd)],_0x407133)),this[_0x93b288(0xf2)](_0x93b288(0xe4),!0x1),this[_0x93b288(0xf2)](_0x93b288(0xf9),!0x1),this[_0x93b288(0xf2)](_0x93b288(0xcf),!0x1),this[_0x93b288(0xf2)](_0x93b288(0xca),!0x1),this[_0x93b288(0xf2)](_0x93b288(0xfe),!0x1),this[_0x93b288(0xf4)]=new _0x525dda(_0x2e87d5,_0x22c5e8),this[_0x93b288(0xf4)][_0x93b288(0xd2)][_0x93b288(0xe5)]({'attributes':{'maxlength':_0x93b288(0xcd)}}),this[_0x93b288(0xf4)][_0x93b288(0xd2)][_0x93b288(0xc5)](_0x93b288(0xd0))['to'](this,_0x93b288(0xdc),_0x472154=>_0x472154||this[_0x93b288(0xec)]),this[_0x93b288(0xf4)][_0x93b288(0xc5)](_0x93b288(0xfe))['to'](this,_0x93b288(0xe4),this,_0x93b288(0xfe),(_0x1a90e1,_0x56133a)=>_0x1a90e1&&_0x56133a),this[_0x93b288(0xeb)]=_0x232afd&&_0x232afd[_0x93b288(0xee)]?_0x1ec842(this,_0x232afd):'',this[_0x93b288(0xeb)]&&this[_0x93b288(0xeb)][_0x93b288(0xc5)](_0x93b288(0xfe))['to'](this),this[_0x93b288(0xf5)]({'tag':_0x93b288(0xdf),'attributes':{'class':['ck',_0x93b288(0xcb),_0x93b288(0xdb),_0x4521bb['if'](_0x93b288(0xc8),_0x93b288(0xed))]},'children':[{'tag':_0x93b288(0xdf),'attributes':{'class':['ck',_0x93b288(0xcb),_0x93b288(0xd3),_0x4521bb['if'](_0x93b288(0xfe),_0x93b288(0xc3),_0x229ca1=>!_0x229ca1),_0x4521bb['if'](_0x93b288(0xe4),_0x93b288(0xf3)),_0x4521bb['if'](_0x93b288(0xf9),_0x93b288(0x101)),_0x4521bb['if'](_0x93b288(0xcf),_0x93b288(0xf0))]},'children':[this[_0x93b288(0xf4)],{'tag':_0x93b288(0xfc),'attributes':{'class':['ck',_0x93b288(0xdd)]},'children':[{'text':_0x4521bb['to'](_0x93b288(0xec))}]},{'tag':_0x93b288(0xdf),'attributes':{'class':['ck',_0x93b288(0xe3)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x93b288(0xd7)]},'children':_0x7403bf}]},this[_0x93b288(0xeb)]],'on':{'click':_0x4521bb['to'](_0x1a9e8a=>{const _0x2bcf5c=_0x93b288;_0x1a9e8a[_0x2bcf5c(0x100)][_0x2bcf5c(0xf7)](_0x2bcf5c(0xe7))||this[_0x2bcf5c(0xca)]&&this[_0x2bcf5c(0xfe)]&&this[_0x2bcf5c(0xe9)](_0x2bcf5c(0x102),{'id':this['id']});})}}]});}[_0x3b1b74(0xf8)](){const _0x820f37=_0x3b1b74;super[_0x820f37(0xf8)]();const _0x9d40b0=this[_0x820f37(0xf4)][_0x820f37(0xd2)][_0x820f37(0xc7)];this[_0x820f37(0xe0)](_0x9d40b0,_0x820f37(0xef),()=>{const _0x5c2cb1=_0x820f37;this[_0x5c2cb1(0xd6)]&&!_0x9d40b0[_0x5c2cb1(0xd0)]||this[_0x5c2cb1(0xe9)](_0x5c2cb1(0xf1),{'id':this['id'],'name':_0x9d40b0[_0x5c2cb1(0xd0)]}),_0x9d40b0[_0x5c2cb1(0xd0)]||(_0x9d40b0[_0x5c2cb1(0xd0)]=this[_0x5c2cb1(0xdc)]?this[_0x5c2cb1(0xdc)]:this[_0x5c2cb1(0xec)]);});}[_0x3b1b74(0x102)](){const _0x1436e9=_0x3b1b74;this[_0x1436e9(0xe4)]=!0x0;}[_0x3b1b74(0xea)](){const _0x40c0d4=_0x3b1b74;this[_0x40c0d4(0xe4)]=!0x1;}[_0x3b1b74(0xda)](){const _0x2ec7ae=_0x3b1b74;this[_0x2ec7ae(0xf9)]=!0x0;}[_0x3b1b74(0xd9)](){const _0x3d2b54=_0x3b1b74;this[_0x3d2b54(0xf9)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4c06(){const _0x3ee9e4=['true','2402732AOPois','5166371LAzMYH','ck-hidden','8373590VXxteb','bindTemplate','span','6DJcTsB','1264401opDYWp','toggle','ck-revision-history-sidebar__subrevision-collapser__inner','isVisible','7054356hWEOFI','button','1098UcjXUb','16wHxlQC','11oVlLTe','ck-revision-history-sidebar__subrevision-collapser','setTemplate','click','ck-revision-history-sidebar__subrevision-collapser_collapsed','605546EmwgeJ','false','5NzOIrA','_isCollapsed','928idYTsg','set'];_0x4c06=function(){return _0x3ee9e4;};return _0x4c06();}const _0x5214b2=_0x3cbc;(function(_0x5d1c3e,_0xe747c3){const _0x22bf6f=_0x3cbc,_0x2acda1=_0x5d1c3e();while(!![]){try{const _0x34c160=parseInt(_0x22bf6f(0x1ea))/0x1+-parseInt(_0x22bf6f(0x1d3))/0x2*(-parseInt(_0x22bf6f(0x1e3))/0x3)+parseInt(_0x22bf6f(0x1d6))/0x4*(parseInt(_0x22bf6f(0x1ec))/0x5)+-parseInt(_0x22bf6f(0x1dc))/0x6*(parseInt(_0x22bf6f(0x1d7))/0x7)+-parseInt(_0x22bf6f(0x1e4))/0x8*(-parseInt(_0x22bf6f(0x1dd))/0x9)+parseInt(_0x22bf6f(0x1d9))/0xa*(-parseInt(_0x22bf6f(0x1e5))/0xb)+parseInt(_0x22bf6f(0x1e1))/0xc;if(_0x34c160===_0xe747c3)break;else _0x2acda1['push'](_0x2acda1['shift']());}catch(_0x38afb8){_0x2acda1['push'](_0x2acda1['shift']());}}}(_0x4c06,0xa372a));function _0x3cbc(_0x15c6ff,_0xa8312c){const _0x4c06bd=_0x4c06();return _0x3cbc=function(_0x3cbc6a,_0x1b7693){_0x3cbc6a=_0x3cbc6a-0x1d2;let _0x23e823=_0x4c06bd[_0x3cbc6a];return _0x23e823;},_0x3cbc(_0x15c6ff,_0xa8312c);}import{View as _0x19d4a4}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x19d4a4{constructor(_0x297d20){const _0x318137=_0x3cbc;super(_0x297d20);const _0x49537e=this[_0x318137(0x1da)];this[_0x318137(0x1d4)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x318137(0x1e7)]({'tag':_0x318137(0x1db),'attributes':{'class':['ck',_0x318137(0x1e6),_0x49537e['if'](_0x318137(0x1e0),_0x318137(0x1d8),_0x2684a6=>!_0x2684a6),_0x49537e['if'](_0x318137(0x1d2),_0x318137(0x1e9))],'role':_0x318137(0x1e2),'aria-pressed':_0x49537e['to'](_0x318137(0x1d2),_0x271257=>_0x271257?_0x318137(0x1eb):_0x318137(0x1d5))},'children':[{'tag':_0x318137(0x1db),'attributes':{'class':['ck',_0x318137(0x1df)]}}],'on':{'click':_0x49537e['to'](_0x318137(0x1e8))}});}[_0x5214b2(0x1de)](){const _0x320912=_0x5214b2;this[_0x320912(0x1d2)]=!this[_0x320912(0x1d2)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x232c(_0x548ae4,_0x458c1b){const _0x51b05e=_0x51b0();return _0x232c=function(_0x232c55,_0x123f55){_0x232c55=_0x232c55-0x1c7;let _0x475514=_0x51b05e[_0x232c55];return _0x475514;},_0x232c(_0x548ae4,_0x458c1b);}const _0xc1067b=_0x232c;(function(_0x5406bf,_0x3c0f10){const _0x2b9153=_0x232c,_0x28ac94=_0x5406bf();while(!![]){try{const _0x2c59d7=parseInt(_0x2b9153(0x1d5))/0x1*(parseInt(_0x2b9153(0x1ca))/0x2)+parseInt(_0x2b9153(0x1d7))/0x3+-parseInt(_0x2b9153(0x1d4))/0x4+-parseInt(_0x2b9153(0x1e0))/0x5+parseInt(_0x2b9153(0x1e4))/0x6+-parseInt(_0x2b9153(0x1c7))/0x7*(parseInt(_0x2b9153(0x1d2))/0x8)+parseInt(_0x2b9153(0x1de))/0x9;if(_0x2c59d7===_0x3c0f10)break;else _0x28ac94['push'](_0x28ac94['shift']());}catch(_0xc2d921){_0x28ac94['push'](_0x28ac94['shift']());}}}(_0x51b0,0xe9971));import{View as _0x21d70d}from'ckeditor5/src/ui.js';function _0x51b0(){const _0x5c44fa=['div','ck-reset','2772387XeSsCJ','setTemplate','2161555hWxOSI','creator','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__revision-authors','5796024HkaxrH','147014FtNMQh','bind','uiLanguage','34AKNlPA','ck-revision-history-sidebar__revision__date','isSelected','deselect','select','bindTemplate','_createdAtFormatted','ck-revision-history-sidebar__revision','344UovFQo','span','1951084nDprWd','23887alFRBa','fire','3299481YCVNcl','createdAt','_parentRevisionId','set','ck-revision-history-sidebar__subrevision'];_0x51b0=function(){return _0x5c44fa;};return _0x51b0();}import _0x19cc4a from'./revisionauthorview.js';import{dateToPrettyFormat as _0x26051d}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x21d70d{constructor(_0x5e4c27,_0x52fa38,_0x4f27b1){const _0x139797=_0x232c;super(_0x5e4c27);const _0x35f9d5=this[_0x139797(0x1cf)];this['id']=_0x52fa38['id'],this[_0x139797(0x1c8)](_0x139797(0x1d8))['to'](_0x52fa38),this[_0x139797(0x1da)](_0x139797(0x1cc),!0x1),this[_0x139797(0x1c8)](_0x139797(0x1d0))['to'](this,_0x139797(0x1d8),_0x9f12da=>_0x9f12da?_0x26051d(_0x5e4c27[_0x139797(0x1c9)],_0x9f12da):void 0x0),this[_0x139797(0x1d9)]=_0x4f27b1,this[_0x139797(0x1df)]({'tag':_0x139797(0x1dc),'attributes':{'class':['ck',_0x139797(0x1dd),_0x139797(0x1d1),_0x139797(0x1db),_0x35f9d5['if'](_0x139797(0x1cc),_0x139797(0x1e2))]},'children':[{'tag':_0x139797(0x1d3),'attributes':{'class':['ck',_0x139797(0x1cb)]},'children':[{'text':_0x35f9d5['to'](_0x139797(0x1d0))}]},{'tag':'ul','attributes':{'class':['ck',_0x139797(0x1e3)]},'children':[new _0x19cc4a(_0x5e4c27,_0x52fa38[_0x139797(0x1e1)],!0x0)]}],'on':{'click':_0x35f9d5['to'](this[_0x139797(0x1ce)][_0x139797(0x1c8)](this))}});}[_0xc1067b(0x1ce)](){const _0x3089fb=_0xc1067b;this[_0x3089fb(0x1cc)]=!0x0,this[_0x3089fb(0x1d6)](_0x3089fb(0x1ce),{'parentId':this[_0x3089fb(0x1d9)]});}[_0xc1067b(0x1cd)](){const _0x131baa=_0xc1067b;this[_0x131baa(0x1cc)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x319cb1,_0x31996d){var _0x42fa8d=_0x550e,_0x3979f9=_0x319cb1();while(!![]){try{var _0x271acb=parseInt(_0x42fa8d(0x123))/0x1+parseInt(_0x42fa8d(0x11f))/0x2*(parseInt(_0x42fa8d(0x122))/0x3)+parseInt(_0x42fa8d(0x128))/0x4+-parseInt(_0x42fa8d(0x12a))/0x5*(-parseInt(_0x42fa8d(0x12b))/0x6)+parseInt(_0x42fa8d(0x12c))/0x7+parseInt(_0x42fa8d(0x126))/0x8+-parseInt(_0x42fa8d(0x124))/0x9*(parseInt(_0x42fa8d(0x120))/0xa);if(_0x271acb===_0x31996d)break;else _0x3979f9['push'](_0x3979f9['shift']());}catch(_0x4cb09b){_0x3979f9['push'](_0x3979f9['shift']());}}}(_0x10b4,0xe6ea0));function _0x10b4(){var _0x2bf9bb=['numeric','2776398lfohec','1879139kceSlK','459DsoXjf','toLocaleDateString','638584NRqlAn','toLocaleTimeString','7368124NMyzgi','long','279490kXsUDk','42lZVLbc','5695445oiyDee','2cZZdRd','977560SozTKJ'];_0x10b4=function(){return _0x2bf9bb;};return _0x10b4();}function _0x550e(_0x2a53e8,_0x4b9e7d){var _0x10b41d=_0x10b4();return _0x550e=function(_0x550e66,_0x5d8202){_0x550e66=_0x550e66-0x11f;var _0xbffdfc=_0x10b41d[_0x550e66];return _0xbffdfc;},_0x550e(_0x2a53e8,_0x4b9e7d);}export function dateToPrettyFormat(_0x21be40,_0x4c0d78){var _0x1f412f=_0x550e;return _0x4c0d78[_0x1f412f(0x125)](_0x21be40,{'month':_0x1f412f(0x129),'day':_0x1f412f(0x121)})+',\x20'+_0x4c0d78[_0x1f412f(0x127)](_0x21be40,{'hour':_0x1f412f(0x121),'minute':_0x1f412f(0x121)});}
|