@ckeditor/ckeditor5-revision-history 41.2.1 → 41.3.0-alpha.3
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 _0x53a0e1=_0x2fbc;(function(_0x5a5762,_0x22799d){const _0x1d67d6=_0x2fbc,_0x53d473=_0x5a5762();while(!![]){try{const _0x3d17b6=parseInt(_0x1d67d6(0x205))/0x1+parseInt(_0x1d67d6(0x21b))/0x2+-parseInt(_0x1d67d6(0x275))/0x3+-parseInt(_0x1d67d6(0x276))/0x4*(-parseInt(_0x1d67d6(0x297))/0x5)+-parseInt(_0x1d67d6(0x24b))/0x6*(-parseInt(_0x1d67d6(0x20c))/0x7)+-parseInt(_0x1d67d6(0x24f))/0x8+parseInt(_0x1d67d6(0x1b7))/0x9;if(_0x3d17b6===_0x22799d)break;else _0x53d473['push'](_0x53d473['shift']());}catch(_0x542543){_0x53d473['push'](_0x53d473['shift']());}}}(_0x9557,0xe53bf));import{Plugin as _0x475705,Command as _0x1af007}from'ckeditor5/src/core.js';function _0x9557(){const _0x4493fb=['_setDistance','name','_markInsertions','all','pairId','rootName','_changeIdToChange','_revisions','mapper','getItems','bottom','isEnabled','start','hasClass','revisionHistoryAttachChange','isEqual','attributesBefore','removeMarker:revision-suggestion','commands','clear','elementStart','isReady','getRootNames','411930vCjRlx','ck-revision-history-root-remove','high','isIncorrect','8359880rCrknH','softBreak','addMarker:revision','flat','parent','toViewElement','data','getAttributes','diff','addHighlight','_cleanMarkers','for','uiElement','requires','userId','_setChanges','_fixObsoleteTags','range','removeMarker','isObject','revisionHistory','vid_end','_joinTapes','document','getRevisionData','splice','enqueueChange','createPositionBefore','markersEnd','markerToData','text','ck-revision-history-root--active','data-revision-','then','enableReadOnlyMode','isSuggestion','change:isEnabled','addRevisionData','2086617LmdBZd','52VnbUgB','getDomRoot','wrap','ck-suggestion-preview-marker-','distance','shift','nextPosition','modelRange','end','attributesAfter','isRemoved','isBefore','ck-suggestion-marker-split','left','has','insert','markers','ck-editor__editable__overlay','getChild','markersStart','includes','_makeTape','ck-suggestion-marker--active','locale','repository','numberOfChanges','-new','addMarker:revision-suggestion:deletion','roots','_makeModelFromViewString','RevisionViewer','catch','isCollapsed','13165MdMJeS','default','change:activeView','toViewRange','startsWith','isRemoveSuggestion','removeMarker:revision','return','get','getWalker','dataDowncast','forEach','_cleanUp','conversion','_sortAndFilterDiffChanges','changes','_initInteractions','slice','suggestion:','getRevision','resolve','upcast','target','_processTape','mapViewToDom','useFillerType','createRangeIn','writer','comment','POSITIVE_INFINITY','_threeWayMerge','domEvent','isBlock','isAfter','forceDisabled','endIndex','top','consume','editingDowncast','_findChangeIdFromDomTarget','isAtEnd','push','consumable','startIndex','pluginName','pop','updatePosition','createAttributeElement','checkAttribute','domConverter','getRevisionRootsAttributes','markerName','activeChange','insertion','observeMarkers','downcastDispatcher','item','getClientRects','isAttached','add','attribute:vid','currentChangeNumber','find','isAddSuggestion','showNextChange','_balloon','offsetSize','_removeMissingPairs','removeClass','filter','test','editing','revision-viewer','collaboration.channelId','first','revision','isAdded','detachRoot','isLimit','createRevision','vid','values','_getRevisionsRange','sort','getCustomProperty','compare','toData','suggestion','showPreviousChange','change','_getViewForChange','merge','_getViewObj','schema','ck-revision-history-root-','createPositionFromPath','element:pre','RevisionsRepository','delete','set','_removeRevisionMarkers','maxOffset','revision-suggestion:','_changeView','remove','markerNameToElements','ck-suggestion-preview-marker','affectsData','right','marked','7305723SLYAXI','split','unshift','isNavigationMode','stop','bindElementToMarker','code','revision-end','_getChangeFromId','data-change-id','removeAttribute','setAttribute','elementEnd','concat','_markMismatchedRemovedTags','element','createUIElement','attributes','_activeViewTarget','done','hasAttribute','plugins','execute','_markSuggestions','revisionHistoryLabel','change:isReady','ck-suggestion-marker','isInline','reconvertMarker','_update','nextSibling','type','_removeUnsupportedChanges','side','mousedown','ck-suggestion-marker-','error','vid_start','revision-start','getIndex','markerRange','unbindElementFromMarkerName','markerToHighlight','addRevision','changeId','highest','refresh','isAtStart','deletions','adapter','change:numberOfChanges','config','revision:','getAttribute','viewItem','getRoot','activeView','length','selection','loadRevisionData','low','elementToAttribute','oldRevisionId','model','span','mouseover','keys','addRoot','ck-revision-history-root-add','newRevisionId','restoreRevisionCallback','listenTo','processor','map','restoreRevision','nodeAfter','destroy','children','467150FexlcT','ck-suggestion-marker-merge','previousPosition','findIndex','_step','addClass','next','70ZcZjQY','authors','change:activeChange','level','view','backward','from','isOnRoot','index','abs','_getDiff','string','bind','attachChange','_data','1359582zUzKxH','object','_markMarkers','deletion','insertions','forward','revision-suggestion','_makeModelFromTape','_refreshStartEndIndex','parse','init','toModel','editor','isContent','showStack','dataToMarker','createRange','revision-comment:','indexOf','diffData','toViewPosition','addMarker:revision-suggestion:insertion','_appendChild','WidgetToolbarRepository','_setConversion'];_0x9557=function(){return _0x4493fb;};return _0x9557();}function _0x2fbc(_0x2dde1a,_0x4f347f){const _0x95571e=_0x9557();return _0x2fbc=function(_0x2fbc10,_0xfb1ee1){_0x2fbc10=_0x2fbc10-0x14b;let _0xf5b874=_0x95571e[_0x2fbc10];return _0xf5b874;},_0x2fbc(_0x2dde1a,_0x4f347f);}import{scrollViewportToShowTarget as _0x55a6a7}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x53ad3f}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2182bc,Element as _0x35c7a5,Text as _0xb94560,ViewDocumentFragment as _0x17244d,ViewText as _0x60458d,ViewElement as _0x535309,ViewContainerElement as _0x1ba331,ViewAttributeElement as _0x3c8413,ViewEmptyElement as _0x300864,ViewRawElement as _0x5942c1,ViewUIElement as _0xbc04c}from'ckeditor5/src/engine.js';import{Users as _0x52012d,getMarkerDomElement as _0x4c7c2c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x783f7 from'./ui/revisionviewer/changedetailsview.js';import _0x5797c1 from'./revisionsrepository.js';import _0xbf9a74 from'./changeitem.js';import{default as _0x1f9645}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x410a8b}from'lodash-es';const tt={'c':_0x1ba331,'a':_0x3c8413,'e':_0x300864,'r':_0x5942c1,'u':_0xbc04c};export default class d extends _0x475705{static get[_0x53a0e1(0x175)](){const _0x34ab07=_0x53a0e1;return _0x34ab07(0x294);}static get[_0x53a0e1(0x25c)](){return[_0x52012d,_0x53ad3f,_0x5797c1];}constructor(_0x1aad98){const _0x10f0f7=_0x53a0e1;super(_0x1aad98),this[_0x10f0f7(0x28e)]=this[_0x10f0f7(0x227)][_0x10f0f7(0x1cc)][_0x10f0f7(0x151)](_0x10f0f7(0x1aa)),this[_0x10f0f7(0x1ac)](_0x10f0f7(0x17d),null),this[_0x10f0f7(0x1ac)](_0x10f0f7(0x1ef),null),this[_0x10f0f7(0x1c9)]=null,this[_0x10f0f7(0x1ac)](_0x10f0f7(0x257),null),this[_0x10f0f7(0x1ac)](_0x10f0f7(0x249),!0x1),this[_0x10f0f7(0x1ac)](_0x10f0f7(0x23f),!0x0),this['on'](_0x10f0f7(0x273),(_0x136305,_0x2c5feb,_0x232aa2)=>{const _0x1113f0=_0x10f0f7;this[_0x1113f0(0x17d)]=null,this[_0x1113f0(0x1ef)]=null,this[_0x1113f0(0x227)][_0x1113f0(0x190)][_0x1113f0(0x210)][_0x1113f0(0x1a2)](_0xadb910=>{const _0x248e2d=_0x1113f0;for(const _0x111aec of this[_0x248e2d(0x227)][_0x248e2d(0x190)][_0x248e2d(0x210)][_0x248e2d(0x266)][_0x248e2d(0x292)])_0x232aa2?_0xadb910[_0x248e2d(0x18d)](_0x248e2d(0x287),_0x111aec):_0xadb910[_0x248e2d(0x20a)](_0x248e2d(0x287),_0x111aec);});}),this[_0x10f0f7(0x218)](_0x10f0f7(0x1ba))['to'](this,_0x10f0f7(0x17d),_0x3dde23=>null!==_0x3dde23),this[_0x10f0f7(0x218)](_0x10f0f7(0x186))['to'](this,_0x10f0f7(0x249),this,_0x10f0f7(0x257),this,_0x10f0f7(0x17d),(_0x32b6de,_0x29d27c,_0x589369)=>_0x32b6de&&_0x589369?_0x29d27c[_0x10f0f7(0x158)][_0x10f0f7(0x1de)](_0x589369):0x0),this[_0x10f0f7(0x218)](_0x10f0f7(0x28f))['to'](this,_0x10f0f7(0x249),this,_0x10f0f7(0x257),(_0x39e329,_0x23bae2)=>_0x39e329?_0x23bae2[_0x10f0f7(0x158)][_0x10f0f7(0x1f0)]:0x0),this[_0x10f0f7(0x1b0)]=null,this[_0x10f0f7(0x23a)]=new Map(),this[_0x10f0f7(0x1e8)]=null,this[_0x10f0f7(0x18a)]=this[_0x10f0f7(0x227)][_0x10f0f7(0x1cc)][_0x10f0f7(0x151)](_0x53ad3f);}[_0x53a0e1(0x225)](){const _0x719947=_0x53a0e1,_0x31b29b=this[_0x719947(0x227)],_0x21a164=new ShowChangeCommand(_0x31b29b,{'direction':_0x719947(0x211)}),_0x21787d=new ShowChangeCommand(_0x31b29b,{'direction':_0x719947(0x220)});(_0x31b29b[_0x719947(0x246)][_0x719947(0x184)](_0x719947(0x1a1),_0x21a164),_0x31b29b[_0x719947(0x246)][_0x719947(0x184)](_0x719947(0x189),_0x21787d),_0x31b29b[_0x719947(0x246)][_0x719947(0x184)](_0x719947(0x201),new RestoreRevisionCommand(_0x31b29b)),this['on'](_0x719947(0x1e9),()=>{const _0x1aa151=_0x719947;_0x21a164[_0x1aa151(0x1e5)](),_0x21787d[_0x1aa151(0x1e5)]();}),this[_0x719947(0x233)](),this[_0x719947(0x159)](),_0x31b29b[_0x719947(0x271)](_0x719947(0x191)),_0x31b29b[_0x719947(0x1cc)][_0x719947(0x284)](_0x719947(0x232)))&&_0x31b29b[_0x719947(0x1cc)][_0x719947(0x151)](_0x719947(0x232))[_0x719947(0x16b)](_0x719947(0x191));}async[_0x53a0e1(0x267)](_0x150cbc){const _0x15463c=_0x53a0e1;await this[_0x15463c(0x1f2)](_0x150cbc);const _0x45703f={};for(const _0x53bc4f in _0x150cbc[_0x15463c(0x22e)]){if(_0x150cbc[_0x15463c(0x22e)][_0x53bc4f][_0x15463c(0x219)]&&!_0x150cbc[_0x15463c(0x22e)][_0x53bc4f][_0x15463c(0x219)][_0x15463c(0x183)])continue;const _0x4916d5=this[_0x15463c(0x1ad)](JSON[_0x15463c(0x224)](_0x150cbc[_0x15463c(0x22e)][_0x53bc4f][_0x15463c(0x21f)])),_0x9377ac=this[_0x15463c(0x227)][_0x15463c(0x190)][_0x15463c(0x210)][_0x15463c(0x266)],_0x478996=new _0x17244d(_0x9377ac,_0x4916d5[_0x15463c(0x200)](_0x5ccfe4=>this[_0x15463c(0x1a5)](_0x5ccfe4)));this[_0x15463c(0x227)][_0x15463c(0x255)][_0x15463c(0x1ff)][_0x15463c(0x162)](_0x15463c(0x1b6)),_0x45703f[_0x53bc4f]=this[_0x15463c(0x227)][_0x15463c(0x255)][_0x15463c(0x1ff)][_0x15463c(0x19f)](_0x478996),this[_0x15463c(0x227)][_0x15463c(0x255)][_0x15463c(0x1ff)][_0x15463c(0x162)](_0x15463c(0x298));}return _0x45703f;}async[_0x53a0e1(0x17b)](_0x22c838){const _0x4c8c25=_0x53a0e1;await this[_0x4c8c25(0x1f2)](_0x22c838);const _0x5a1acc={};for(const _0x106961 in _0x22c838[_0x4c8c25(0x22e)])_0x22c838[_0x4c8c25(0x22e)][_0x106961][_0x4c8c25(0x219)]&&!_0x22c838[_0x4c8c25(0x22e)][_0x106961][_0x4c8c25(0x219)][_0x4c8c25(0x183)]||(_0x5a1acc[_0x106961]=_0x22c838[_0x4c8c25(0x22e)][_0x106961][_0x4c8c25(0x27f)]||{});return _0x5a1acc;}[_0x53a0e1(0x1ad)](_0x3f169d){const _0x4dd4bd=_0x53a0e1;return(_0x3f169d=_0x3f169d[_0x4dd4bd(0x18e)](_0x35fad3=>!_0x35fad3[_0x4dd4bd(0x235)]||_0x4dd4bd(0x1dd)!==_0x35fad3[_0x4dd4bd(0x235)]&&_0x4dd4bd(0x1be)!==_0x35fad3[_0x4dd4bd(0x235)]))[_0x4dd4bd(0x154)](_0x1d08a6=>{const _0x13556a=_0x4dd4bd;_0x13556a(0x217)!=typeof _0x1d08a6&&(_0x1d08a6[_0x13556a(0x204)]=this[_0x13556a(0x1ad)](_0x1d08a6[_0x13556a(0x204)]),_0x1d08a6[_0x13556a(0x1c8)]=_0x1d08a6[_0x13556a(0x1c8)][_0x13556a(0x18e)](_0x2da007=>!_0x2da007[0x0][_0x13556a(0x14d)](_0x13556a(0x26f))));}),_0x3f169d;}async[_0x53a0e1(0x19e)](_0x19805a,_0x15803a,_0x300dfc=!0x1){const _0x40b96a=_0x53a0e1;if(!this[_0x40b96a(0x23f)])return;const _0x19abca=this[_0x40b96a(0x257)],_0xe89b6a=this[_0x40b96a(0x28e)],_0x52941f=_0x40b96a(0x217)==typeof _0x19805a?_0xe89b6a[_0x40b96a(0x15c)](_0x19805a):_0x19805a,_0x3847ab=_0x40b96a(0x217)==typeof _0x15803a?_0xe89b6a[_0x40b96a(0x15c)](_0x15803a):_0x15803a,_0x2539ef=_0x52941f['id'],_0x5b4e7e=_0x3847ab?_0x3847ab['id']:null;if(!_0x300dfc&&this[_0x40b96a(0x257)]&&this[_0x40b96a(0x257)][_0x40b96a(0x1fc)]===_0x2539ef&&this[_0x40b96a(0x257)][_0x40b96a(0x1f5)]===_0x5b4e7e)return Promise[_0x40b96a(0x15d)]();this[_0x40b96a(0x249)]=!0x1,this[_0x40b96a(0x1ef)]=null,this[_0x40b96a(0x17d)]=null,this[_0x40b96a(0x257)]=new _0x1f9645(_0x2539ef,_0x5b4e7e);const _0x37ac9d=this[_0x40b96a(0x19b)](_0x52941f,_0x3847ab,!0x0)[_0x40b96a(0x200)](_0x4e3202=>this[_0x40b96a(0x1f2)](_0x4e3202));return _0x37ac9d[_0x40b96a(0x172)](new Promise(_0x1a3387=>{setTimeout(_0x1a3387,0x14);})),Promise[_0x40b96a(0x237)](_0x37ac9d)[_0x40b96a(0x270)](()=>{const _0x5618d7=_0x40b96a;if(!this[_0x5618d7(0x23f)])return;this[_0x5618d7(0x155)]();const _0x1e262c=this[_0x5618d7(0x216)](_0x2539ef,_0x5b4e7e);for(const _0x2377be of _0x1e262c[_0x5618d7(0x158)])this[_0x5618d7(0x23a)][_0x5618d7(0x1ac)](_0x2377be['id'],_0x2377be);this[_0x5618d7(0x227)][_0x5618d7(0x1f6)][_0x5618d7(0x269)]({'isUndoable':!0x1},_0x302dac=>{const _0x101e51=_0x5618d7;for(const _0x13f331 of this[_0x101e51(0x227)][_0x101e51(0x1f6)][_0x101e51(0x266)][_0x101e51(0x24a)]())_0x302dac[_0x101e51(0x196)](_0x13f331);for(const _0x34a2dc of Object[_0x101e51(0x1f9)](_0x1e262c[_0x101e51(0x1f6)])){const _0x49430b=_0x302dac[_0x101e51(0x1fa)](_0x34a2dc);for(const _0x33cad0 of Object[_0x101e51(0x1f9)](_0x1e262c[_0x101e51(0x1c8)][_0x34a2dc]))_0x302dac[_0x101e51(0x1c2)](_0x33cad0,_0x1e262c[_0x101e51(0x1c8)][_0x34a2dc][_0x33cad0],_0x49430b);_0x302dac[_0x101e51(0x285)](_0x1e262c[_0x101e51(0x1f6)][_0x34a2dc],_0x49430b,0x0);}}),this[_0x5618d7(0x257)][_0x5618d7(0x25e)](this[_0x5618d7(0x157)](_0x1e262c[_0x5618d7(0x158)])),this[_0x5618d7(0x249)]=!0x0;})[_0x40b96a(0x295)](_0x54fd0c=>{const _0x29573a=_0x40b96a;console[_0x29573a(0x1db)](_0x54fd0c),this[_0x29573a(0x155)](),_0x19abca&&(this[_0x29573a(0x257)]=_0x19abca),this[_0x29573a(0x249)]=!0x0;});}[_0x53a0e1(0x274)](_0x4c41ca,_0x57ec6b){const _0x12d0c5=_0x53a0e1,_0x56f736=this[_0x12d0c5(0x28e)][_0x12d0c5(0x198)](_0x4c41ca);return _0x56f736['on'](_0x12d0c5(0x1d4),(_0x2ea3b5,_0x48dc92,_0xac14fc)=>_0x57ec6b(_0x48dc92,_0xac14fc,_0x56f736)),this[_0x12d0c5(0x28e)][_0x12d0c5(0x1e2)](_0x56f736),_0x56f736;}[_0x53a0e1(0x1f2)](_0x286dfd){const _0x629f6=_0x53a0e1;if(!_0x286dfd||_0x286dfd[_0x629f6(0x22e)])return Promise[_0x629f6(0x15d)]();{const _0x4ee641=this[_0x629f6(0x227)][_0x629f6(0x1ea)][_0x629f6(0x151)](_0x629f6(0x192));return this[_0x629f6(0x1e8)][_0x629f6(0x15c)]({'channelId':_0x4ee641,'revisionId':_0x286dfd['id']})[_0x629f6(0x270)](_0x526950=>{const _0x571ec1=_0x629f6;_0x286dfd[_0x571ec1(0x1d4)]({'diffData':_0x526950[_0x571ec1(0x22e)]},!0x0);});}}[_0x53a0e1(0x155)](){const _0x356cd6=_0x53a0e1;this[_0x356cd6(0x17d)]=null,this[_0x356cd6(0x259)](),this[_0x356cd6(0x1b0)]&&this[_0x356cd6(0x1b0)][_0x356cd6(0x203)](),this[_0x356cd6(0x1b0)]=null,this[_0x356cd6(0x23a)][_0x356cd6(0x247)](),this[_0x356cd6(0x227)][_0x356cd6(0x1f6)][_0x356cd6(0x269)]({'isUndoable':!0x1},_0x1afa29=>{const _0x19e26b=_0x356cd6;for(const _0x5b50c2 of this[_0x19e26b(0x227)][_0x19e26b(0x1f6)][_0x19e26b(0x266)][_0x19e26b(0x24a)]())_0x1afa29[_0x19e26b(0x196)](_0x5b50c2);});}[_0x53a0e1(0x157)](_0x28f0b4){const _0x2f4ecc=_0x53a0e1,_0x2f0caf=[],_0x11fb12=new Map();for(const _0x2e6030 of this[_0x2f4ecc(0x227)][_0x2f4ecc(0x1f6)][_0x2f4ecc(0x266)][_0x2f4ecc(0x24a)]()){const _0x27e1bc=this[_0x2f4ecc(0x227)][_0x2f4ecc(0x190)][_0x2f4ecc(0x210)][_0x2f4ecc(0x277)](_0x2e6030);if(!_0x27e1bc)continue;const _0x1e9ca5=_0x27e1bc[_0x2f4ecc(0x182)]()[_0x2f4ecc(0x181)](0x0);_0x1e9ca5&&(_0x2f0caf[_0x2f4ecc(0x172)](_0x2e6030),_0x11fb12[_0x2f4ecc(0x1ac)](_0x2e6030,_0x1e9ca5));}return _0x2f0caf[_0x2f4ecc(0x19c)]((_0x12a70f,_0x4ad304)=>{const _0x2c7cf6=_0x2f4ecc,_0x1e6923=_0x11fb12[_0x2c7cf6(0x151)](_0x12a70f),_0xc9df2e=_0x11fb12[_0x2c7cf6(0x151)](_0x4ad304);return _0x1e6923['y']-_0xc9df2e['y']||_0x1e6923['x']-_0xc9df2e['x'];}),(_0x28f0b4=_0x28f0b4[_0x2f4ecc(0x18e)](_0x243dd0=>_0x2f0caf[_0x2f4ecc(0x28a)](_0x243dd0[_0x2f4ecc(0x239)])))[_0x2f4ecc(0x19c)]((_0x3b676e,_0x301543)=>_0x2f0caf[_0x2f4ecc(0x22d)](_0x3b676e[_0x2f4ecc(0x239)])-_0x2f0caf[_0x2f4ecc(0x22d)](_0x301543[_0x2f4ecc(0x239)])),_0x28f0b4;}[_0x53a0e1(0x28b)](_0x1eaee9){const _0x21e155=_0x53a0e1,_0x2471b0=Array[_0x21e155(0x212)](_0x1eaee9[_0x21e155(0x286)])[_0x21e155(0x18e)](([_0x5e1128,_0x688d80])=>_0x5e1128[_0x21e155(0x14d)](_0x21e155(0x1eb))&&!_0x688d80[_0x21e155(0x296)]),_0x43018a=Array[_0x21e155(0x212)](this[_0x21e155(0x227)][_0x21e155(0x1f6)][_0x21e155(0x163)](_0x1eaee9)[_0x21e155(0x152)]({'singleCharacters':!0x0}));if(0x0!=_0x2471b0[_0x21e155(0x1f0)])for(const _0x3312a1 of _0x43018a){const [_0x404e6d,_0x283a54]=_0x2471b0[0x0],[,_0x325eef,_0x20a0d1]=_0x404e6d[_0x21e155(0x1b8)](':');if(_0x283a54[_0x21e155(0x27e)][_0x21e155(0x243)](_0x3312a1[_0x21e155(0x27c)])&&_0x2471b0[_0x21e155(0x27b)](),(_0x3312a1[_0x21e155(0x207)][_0x21e155(0x243)](_0x283a54[_0x21e155(0x240)])||_0x3312a1[_0x21e155(0x207)][_0x21e155(0x16a)](_0x283a54[_0x21e155(0x240)]))&&(_0x21e155(0x17e)==_0x325eef?_0x3312a1[_0x21e155(0x195)]={'userId':_0x20a0d1}:_0x21e155(0x21e)==_0x325eef&&(_0x3312a1[_0x21e155(0x280)]={'userId':_0x20a0d1})),0x0==_0x2471b0[_0x21e155(0x1f0)])break;}return _0x43018a;}[_0x53a0e1(0x223)](_0x998974){const _0x103737=_0x53a0e1,_0x726a7c=new Map();for(let _0xf7ec25=0x0;_0xf7ec25<_0x998974[_0x103737(0x1f0)];_0xf7ec25++)_0x103737(0x26d)===_0x998974[_0xf7ec25][_0x103737(0x1d6)]?(_0x998974[_0xf7ec25][_0x103737(0x181)][_0x103737(0x174)]=_0xf7ec25,_0x998974[_0xf7ec25][_0x103737(0x181)][_0x103737(0x16c)]=_0xf7ec25):(_0x103737(0x248)===_0x998974[_0xf7ec25][_0x103737(0x1d6)]?_0x998974[_0xf7ec25][_0x103737(0x181)][_0x103737(0x174)]=_0xf7ec25:_0x103737(0x1c3)===_0x998974[_0xf7ec25][_0x103737(0x1d6)]&&(_0x998974[_0xf7ec25][_0x103737(0x181)][_0x103737(0x16c)]=_0xf7ec25),_0x726a7c[_0x103737(0x1ac)](_0x998974[_0xf7ec25]['id'],_0xf7ec25));for(const _0x513da9 of _0x726a7c[_0x103737(0x19a)]())_0x103737(0x248)===_0x998974[_0x513da9][_0x103737(0x1d6)]?_0x998974[_0x513da9][_0x103737(0x181)][_0x103737(0x16c)]=_0x726a7c[_0x103737(0x151)](_0x998974[_0x513da9][_0x103737(0x238)]):_0x103737(0x1c3)===_0x998974[_0x513da9][_0x103737(0x1d6)]&&(_0x998974[_0x513da9][_0x103737(0x181)][_0x103737(0x174)]=_0x726a7c[_0x103737(0x151)](_0x998974[_0x513da9][_0x103737(0x238)]));}[_0x53a0e1(0x160)](_0x4e97bd){const _0x169d61=_0x53a0e1;for(let _0x12d116=0x0;_0x12d116<_0x4e97bd[_0x169d61(0x1f0)];_0x12d116++){if(_0x169d61(0x248)===_0x4e97bd[_0x12d116][_0x169d61(0x1d6)])_0x4e97bd[_0x12d116][_0x169d61(0x181)][_0x169d61(0x174)]=_0x12d116;else{if(_0x169d61(0x1c3)===_0x4e97bd[_0x12d116][_0x169d61(0x1d6)]){_0x4e97bd[_0x12d116][_0x169d61(0x181)][_0x169d61(0x16c)]=_0x12d116;const _0x1ecff6=_0x4e97bd[_0x12d116][_0x169d61(0x181)][_0x169d61(0x174)];_0x4e97bd[_0x1ecff6][_0x169d61(0x238)]=_0x4e97bd[_0x12d116]['id'],_0x4e97bd[_0x12d116][_0x169d61(0x238)]=_0x4e97bd[_0x1ecff6]['id'];}else _0x4e97bd[_0x12d116][_0x169d61(0x181)][_0x169d61(0x174)]=_0x12d116,_0x4e97bd[_0x12d116][_0x169d61(0x181)][_0x169d61(0x16c)]=_0x12d116,_0x4e97bd[_0x12d116][_0x169d61(0x238)]=null;}_0x4e97bd[_0x12d116][_0x169d61(0x289)]||(_0x4e97bd[_0x12d116][_0x169d61(0x289)]=[],_0x4e97bd[_0x12d116][_0x169d61(0x26b)]=[]);}}[_0x53a0e1(0x236)](_0x30eb12,_0x3f36ea){const _0xb9d2a2=_0x53a0e1,_0x30df3=_0x30eb12[_0xb9d2a2(0x18e)](_0x2b857c=>!_0x2b857c[_0xb9d2a2(0x195)]);for(let _0x141f90=0x0;_0x141f90<_0x3f36ea[_0xb9d2a2(0x1f0)];_0x141f90++)_0x3f36ea[_0x141f90][_0xb9d2a2(0x195)]&&(_0x30df3[_0x141f90][_0xb9d2a2(0x195)]=_0x3f36ea[_0x141f90][_0xb9d2a2(0x195)]);}[_0x53a0e1(0x293)](_0x1494f7){const _0x50973a=_0x53a0e1,_0x56d26d=JSON[_0x50973a(0x224)](_0x1494f7),_0x1657a9=this[_0x50973a(0x227)][_0x50973a(0x190)][_0x50973a(0x210)][_0x50973a(0x266)],_0x7a5e98=new _0x17244d(_0x1657a9,_0x56d26d[_0x50973a(0x200)](_0x581497=>this[_0x50973a(0x1a5)](_0x581497)));return this[_0x50973a(0x227)][_0x50973a(0x255)][_0x50973a(0x226)](_0x7a5e98);}[_0x53a0e1(0x1a5)](_0x204d9e){const _0x54714d=_0x53a0e1,_0x5df804=this[_0x54714d(0x227)][_0x54714d(0x190)][_0x54714d(0x210)][_0x54714d(0x266)];if(_0x54714d(0x217)==typeof _0x204d9e)return new _0x60458d(_0x5df804,_0x204d9e);{const _0x2a4b3b=_0x204d9e[_0x54714d(0x204)][_0x54714d(0x200)](_0x3823dd=>this[_0x54714d(0x1a5)](_0x3823dd));return new(tt[_0x204d9e[(_0x54714d(0x1d6))]]||_0x535309)(_0x5df804,_0x204d9e[_0x54714d(0x235)],_0x204d9e[_0x54714d(0x1c8)],_0x2a4b3b);}}[_0x53a0e1(0x216)](_0x1da08a,_0xb5dc85=null){const _0x40dd09=_0x53a0e1,_0x335b36=this[_0x40dd09(0x28e)][_0x40dd09(0x15c)](_0x1da08a),_0x427692=_0xb5dc85?this[_0x40dd09(0x28e)][_0x40dd09(0x15c)](_0xb5dc85):null,_0x24e681=this[_0x40dd09(0x19b)](_0x335b36,_0x427692),_0x596b11=_0x24e681[_0x24e681[_0x40dd09(0x1f0)]-0x1],_0x24ace2=new Map(),_0x26dbdd={'model':{},'attributes':{},'changes':[]},_0x3b5ba5=new Set(),_0x3309e4=new Map();for(let _0x15084a=_0x24e681[_0x40dd09(0x1f0)]-0x1;_0x15084a>=0x0;_0x15084a--){const _0x426a35=_0x24e681[_0x15084a];for(const _0x2e0669 of Object[_0x40dd09(0x1f9)](_0x426a35[_0x40dd09(0x22e)]))if(_0x426a35[_0x40dd09(0x22e)][_0x2e0669][_0x40dd09(0x219)]){const _0x429069=_0x426a35[_0x40dd09(0x22e)][_0x2e0669][_0x40dd09(0x219)];_0x429069[_0x40dd09(0x183)]?(_0x3b5ba5[_0x40dd09(0x184)](_0x2e0669),_0x3309e4[_0x40dd09(0x284)](_0x2e0669)&&_0x3309e4[_0x40dd09(0x151)](_0x2e0669)[_0x40dd09(0x25d)]==_0x429069[_0x40dd09(0x25d)]?_0x3309e4[_0x40dd09(0x1ab)](_0x2e0669):_0x3309e4[_0x40dd09(0x1ac)](_0x2e0669,_0x429069)):_0x3309e4[_0x40dd09(0x284)](_0x2e0669)?(_0x3b5ba5[_0x40dd09(0x1ab)](_0x2e0669),_0x3309e4[_0x40dd09(0x1ab)](_0x2e0669)):(_0x3b5ba5[_0x40dd09(0x184)](_0x2e0669),_0x3309e4[_0x40dd09(0x1ac)](_0x2e0669,_0x429069));}else _0x3b5ba5[_0x40dd09(0x184)](_0x2e0669);}for(const _0x3fa80b of _0x3b5ba5){const _0x52c49a=_0x3309e4[_0x40dd09(0x284)](_0x3fa80b)&&!_0x3309e4[_0x40dd09(0x151)](_0x3fa80b)[_0x40dd09(0x183)];let _0x2b74d5=_0x52c49a?_0x24e681[_0x40dd09(0x1f0)]-0x1:0x0;const _0x332551=_0x52c49a?-0x1:0x1;for(;_0x24e681[_0x2b74d5];){const _0x4bfbd7=_0x24e681[_0x2b74d5];if(_0x4bfbd7[_0x40dd09(0x22e)][_0x3fa80b]){const _0x3de645=_0x52c49a?_0x4bfbd7[_0x40dd09(0x22e)][_0x3fa80b][_0x40dd09(0x244)]:_0x4bfbd7[_0x40dd09(0x22e)][_0x3fa80b][_0x40dd09(0x27f)];_0x26dbdd[_0x40dd09(0x1c8)][_0x3fa80b]=_0x3de645?_0x410a8b(_0x3de645):{};break;}_0x2b74d5+=_0x332551;}}for(const _0x6780f of _0x24e681){_0x6780f[_0x40dd09(0x1f6)]={};for(const _0x173d8b of _0x6780f[_0x40dd09(0x20d)])_0x24ace2[_0x40dd09(0x1ac)](_0x173d8b['id'],_0x173d8b);for(const _0x44e45c of _0x3b5ba5){const _0x1ed1bd=_0x6780f[_0x40dd09(0x22e)][_0x44e45c]?_0x6780f[_0x40dd09(0x22e)][_0x44e45c][_0x40dd09(0x21f)]:'[]',_0x1c0703=_0x6780f[_0x40dd09(0x22e)][_0x44e45c]?_0x6780f[_0x40dd09(0x22e)][_0x44e45c][_0x40dd09(0x1e7)]:'[]';_0x6780f[_0x40dd09(0x1f6)][_0x44e45c]={'insertions':this[_0x40dd09(0x293)](_0x1ed1bd),'deletions':this[_0x40dd09(0x293)](_0x1c0703)};}}for(const _0x584a12 of _0x3b5ba5){let _0x196c0d=null,_0xc09566=0x0;const _0xdca994=new Map(Array[_0x40dd09(0x212)](_0x335b36[_0x40dd09(0x1f6)][_0x584a12][_0x40dd09(0x21f)][_0x40dd09(0x286)])[_0x40dd09(0x18e)](([_0x2b5a91])=>!_0x2b5a91[_0x40dd09(0x14d)](_0x40dd09(0x1eb))));let _0x151d7e=0x0;for(const _0x34af0e of _0x24e681){const _0x44555b=this[_0x40dd09(0x28b)](_0x34af0e[_0x40dd09(0x1f6)][_0x584a12][_0x40dd09(0x21f)]);_0x34af0e==_0x335b36?(_0x196c0d=_0x44555b,_0xc09566=_0x196c0d[_0x40dd09(0x1f0)],_0x196c0d[_0x40dd09(0x154)](_0x3d5687=>{_0x3d5687['id']=_0x151d7e++;}),this[_0x40dd09(0x160)](_0x196c0d)):this[_0x40dd09(0x236)](_0x196c0d,_0x44555b);const _0x304176=_0x196c0d[_0x40dd09(0x18e)](_0x1661c2=>!_0x1661c2[_0x40dd09(0x195)])[_0x40dd09(0x200)](_0x4dbfbf=>_0x4dbfbf['id']);let _0x53e400=0x0;const _0x1ff00d=this[_0x40dd09(0x28b)](_0x34af0e[_0x40dd09(0x1f6)][_0x584a12][_0x40dd09(0x1e7)]);_0x1ff00d[_0x40dd09(0x154)](_0x41979a=>{const _0x497bbb=_0x40dd09;_0x41979a[_0x497bbb(0x280)]?_0x41979a['id']=_0xc09566++:_0x41979a['id']=_0x304176[_0x53e400++];}),this[_0x40dd09(0x160)](_0x1ff00d),this[_0x40dd09(0x234)](_0x196c0d,_0x40dd09(0x195)),this[_0x40dd09(0x234)](_0x1ff00d,_0x40dd09(0x280)),_0x34af0e==_0x335b36&&this[_0x40dd09(0x21d)](_0x196c0d,_0xdca994),_0x196c0d=this[_0x40dd09(0x265)](_0x196c0d,_0x1ff00d),this[_0x40dd09(0x223)](_0x196c0d),this[_0x40dd09(0x234)](_0x196c0d,_0x40dd09(0x280));}_0x196c0d=_0x196c0d[_0x40dd09(0x18e)](_0x220649=>!(_0x220649[_0x40dd09(0x195)]&&_0x220649[_0x40dd09(0x280)]));const _0x3d8e2d=new Map(_0x596b11[_0x40dd09(0x1f6)][_0x584a12][_0x40dd09(0x1e7)][_0x40dd09(0x286)]),_0x37d0a9=new Set(_0xdca994[_0x40dd09(0x1f9)]());for(const _0x4b2ccf of _0x3d8e2d[_0x40dd09(0x1f9)]())_0x37d0a9[_0x40dd09(0x1ab)](_0x4b2ccf);this[_0x40dd09(0x1ce)](_0x196c0d,_0x37d0a9),this[_0x40dd09(0x25f)](_0x196c0d),_0x196c0d=this[_0x40dd09(0x18c)](_0x196c0d),_0x196c0d=this[_0x40dd09(0x1c5)](_0x196c0d),_0x196c0d=this[_0x40dd09(0x1d7)](_0x196c0d);const {root:_0x359c1d,changes:_0x528859}=this[_0x40dd09(0x222)](_0x196c0d,_0x24ace2,_0x584a12);_0x26dbdd[_0x40dd09(0x1f6)][_0x584a12]=_0x359c1d;const _0x50aa46=_0x3309e4[_0x40dd09(0x151)](_0x584a12);if(_0x50aa46){const _0x240207=_0x24ace2[_0x40dd09(0x151)](_0x50aa46[_0x40dd09(0x25d)]),_0x4a05b9=new _0xbf9a74({'author':_0x240207,'type':_0x50aa46[_0x40dd09(0x183)]?_0x40dd09(0x184):_0x40dd09(0x1b1),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x584a12});_0x528859[_0x40dd09(0x1b9)](_0x4a05b9),_0x26dbdd[_0x40dd09(0x1c8)][_0x584a12][_0x40dd09(0x242)]=_0x4a05b9['id'];}_0x26dbdd[_0x40dd09(0x158)]=_0x26dbdd[_0x40dd09(0x158)][_0x40dd09(0x1c4)](_0x528859);}return _0x26dbdd;}[_0x53a0e1(0x21d)](_0x60fcf0,_0x3bc68b){const _0xfb5581=_0x53a0e1;for(let _0x4103fa=0x0;_0x4103fa<_0x60fcf0[_0xfb5581(0x1f0)];_0x4103fa++)for(const [_0xdf5ebf,_0x369273]of _0x3bc68b)_0x369273[_0xfb5581(0x240)][_0xfb5581(0x243)](_0x60fcf0[_0x4103fa][_0xfb5581(0x207)])&&_0x60fcf0[_0x4103fa][_0xfb5581(0x289)][_0xfb5581(0x172)](_0xdf5ebf),_0x369273[_0xfb5581(0x27e)][_0xfb5581(0x243)](_0x60fcf0[_0x4103fa][_0xfb5581(0x27c)])&&_0x60fcf0[_0x4103fa][_0xfb5581(0x26b)][_0xfb5581(0x172)](_0xdf5ebf);}[_0x53a0e1(0x265)](_0x500d4,_0x86380b){const _0xebf1f2=_0x53a0e1;let _0x3f41d4=[],_0x1cad1b=0x0,_0x333f21=0x0;for(;_0x1cad1b<_0x500d4[_0xebf1f2(0x1f0)]||_0x333f21<_0x86380b[_0xebf1f2(0x1f0)];){const _0x1a552d=_0x500d4[_0x1cad1b]||{},_0x3002cb=_0x86380b[_0x333f21]||{};if(_0x1a552d['id']==_0x3002cb['id'])_0x1cad1b++,_0x333f21++,_0x3f41d4[_0xebf1f2(0x172)](_0x1a552d);else{if(_0x3002cb[_0xebf1f2(0x280)]&&_0x1a552d[_0xebf1f2(0x195)]){const {commonTape:_0x412dd5,iEnd:_0x3d78da,jEnd:_0x23a249}=this[_0xebf1f2(0x167)](_0x500d4,_0x1cad1b,_0x86380b,_0x333f21);_0x3f41d4=_0x3f41d4[_0xebf1f2(0x1c4)](_0x412dd5),_0x1cad1b=_0x3d78da,_0x333f21=_0x23a249;}else _0x3002cb[_0xebf1f2(0x280)]?(_0x333f21++,_0x3f41d4[_0xebf1f2(0x172)](_0x3002cb)):(_0x1cad1b++,_0x3f41d4[_0xebf1f2(0x172)](_0x1a552d));}}return _0x3f41d4;}[_0x53a0e1(0x1ce)](_0x373500,_0x52bca3){const _0x136754=_0x53a0e1,_0x38eeea=[];for(let _0x81c82c=0x0;_0x81c82c<_0x373500[_0x136754(0x1f0)];_0x81c82c++){for(let _0x34b31d=0x0;_0x34b31d<_0x373500[_0x81c82c][_0x136754(0x289)][_0x136754(0x1f0)];_0x34b31d++){const _0x4382f6=_0x373500[_0x81c82c][_0x136754(0x289)][_0x34b31d];if(!_0x52bca3[_0x136754(0x284)](_0x4382f6))continue;const {group:_0x4e3b00,type:_0x16e6b2,authorId:_0x368f0d}=_0x3e6a6d(_0x4382f6);_0x136754(0x221)!=_0x4e3b00||_0x136754(0x17e)!=_0x16e6b2&&_0x136754(0x21e)!=_0x16e6b2||(_0x38eeea[_0x136754(0x1b9)]({'type':_0x16e6b2,'name':_0x4382f6,'userId':_0x368f0d}),_0x373500[_0x81c82c][_0x136754(0x289)][_0x136754(0x268)](_0x34b31d,0x1),_0x34b31d--);}_0x51e990(_0x373500[_0x81c82c]);for(let _0x3b50d6=0x0;_0x3b50d6<_0x373500[_0x81c82c][_0x136754(0x26b)][_0x136754(0x1f0)];_0x3b50d6++){const _0x18b82b=_0x373500[_0x81c82c][_0x136754(0x26b)][_0x3b50d6];if(!_0x52bca3[_0x136754(0x284)](_0x18b82b))continue;const {group:_0x2c6d2d,type:_0x516820}=_0x3e6a6d(_0x18b82b);if(_0x136754(0x221)!=_0x2c6d2d||_0x136754(0x17e)!=_0x516820&&_0x136754(0x21e)!=_0x516820)continue;_0x373500[_0x81c82c][_0x136754(0x26b)][_0x136754(0x268)](_0x3b50d6,0x1),_0x3b50d6--;const _0x4f3028=_0x38eeea[_0x136754(0x208)](_0x1f27b9=>_0x1f27b9[_0x136754(0x235)]==_0x18b82b);_0x4f3028>-0x1&&_0x38eeea[_0x136754(0x268)](_0x4f3028,0x1);}}function _0x3e6a6d(_0xb0f611){const _0x48da90=_0x136754,_0x1d5757=_0xb0f611[_0x48da90(0x1b8)](':');return{'group':_0x1d5757[0x0],'type':_0x1d5757[0x1],'subType':_0x1d5757[_0x48da90(0x1f0)]>=0x5?_0x1d5757[0x2]:null,'id':_0x1d5757[_0x48da90(0x1f0)]<0x5?_0x1d5757[0x2]:_0x1d5757[0x3],'authorId':_0x1d5757[_0x48da90(0x1f0)]<0x5?_0x1d5757[0x3]:_0x1d5757[0x4],'markerCount':0x6==_0x1d5757[_0x48da90(0x1f0)]?_0x1d5757[0x5]:null};}function _0x51e990(_0x4dcbaa){const _0x122862=_0x136754;for(let _0x2d4ce1=0x0;_0x2d4ce1<_0x38eeea[_0x122862(0x1f0)];_0x2d4ce1++){if(_0x4dcbaa[_0x122862(0x195)]&&_0x122862(0x17e)==_0x38eeea[_0x2d4ce1][_0x122862(0x1d6)])return _0x4dcbaa[_0x122862(0x188)]=_0x38eeea[_0x2d4ce1],void delete _0x4dcbaa[_0x122862(0x195)];if(!_0x4dcbaa[_0x122862(0x195)]&&!_0x4dcbaa[_0x122862(0x280)]&&_0x122862(0x21e)==_0x38eeea[_0x2d4ce1][_0x122862(0x1d6)])return void(_0x4dcbaa[_0x122862(0x14e)]=_0x38eeea[_0x2d4ce1]);}}}[_0x53a0e1(0x234)](_0x33a925,_0x1a8f72){const _0x2220b4=_0x53a0e1;let _0x45eb0c=0x0,_0x55ef58=!0x1;const _0xd0eab4=new Map();for(const _0x12ab2b of _0x33a925)_0x12ab2b[_0x1a8f72]?_0x55ef58&&(_0x45eb0c++,_0x55ef58=!0x1):(_0x45eb0c++,_0x55ef58=!0x0),_0xd0eab4[_0x2220b4(0x1ac)](_0x12ab2b['id'],_0x45eb0c);for(let _0x23ba34=0x0;_0x23ba34<_0x33a925[_0x2220b4(0x1f0)];_0x23ba34++){if(_0x2220b4(0x280)==_0x1a8f72&&_0x33a925[_0x23ba34][_0x2220b4(0x195)]||_0x2220b4(0x195)==_0x1a8f72&&_0x33a925[_0x23ba34][_0x2220b4(0x280)])continue;if(_0x2220b4(0x26d)==_0x33a925[_0x23ba34][_0x2220b4(0x1d6)]){_0x33a925[_0x23ba34][_0x2220b4(0x27a)]=0x0;continue;}const _0x432b3b=_0xd0eab4[_0x2220b4(0x151)](_0x33a925[_0x23ba34][_0x2220b4(0x238)]),_0xd2104e=_0xd0eab4[_0x2220b4(0x151)](_0x33a925[_0x23ba34]['id']);_0x33a925[_0x23ba34][_0x2220b4(0x27a)]=_0x432b3b-_0xd2104e;}}[_0x53a0e1(0x19b)](_0x1d95e2,_0x4eccab,_0x5c3de=!0x1){const _0x9678f2=_0x53a0e1,_0x4bff6e=[];let _0x3aa200=this[_0x9678f2(0x28e)][_0x9678f2(0x1de)](_0x1d95e2),_0x50a3a0=this[_0x9678f2(0x28e)][_0x9678f2(0x1de)](_0x4eccab);for(-0x1==_0x50a3a0&&(_0x50a3a0=this[_0x9678f2(0x28e)][_0x9678f2(0x23b)][_0x9678f2(0x1f0)],_0x5c3de=!0x1);_0x3aa200<_0x50a3a0;)_0x4bff6e[_0x9678f2(0x172)](this[_0x9678f2(0x28e)][_0x9678f2(0x15c)](_0x3aa200)),_0x3aa200++;return _0x5c3de&&_0x4bff6e[_0x9678f2(0x172)](this[_0x9678f2(0x28e)][_0x9678f2(0x15c)](_0x3aa200)),_0x4bff6e;}[_0x53a0e1(0x167)](_0x135200,_0x59d43f,_0x1fa550,_0x29797b){const _0x5f0a40=_0x53a0e1,_0x1c97cb=this[_0x5f0a40(0x227)][_0x5f0a40(0x1f6)][_0x5f0a40(0x1a6)];let _0x295c0e=_0x59d43f;for(;_0x135200[_0x295c0e]&&_0x135200[_0x295c0e][_0x5f0a40(0x195)];)_0x295c0e++;let _0x11c954=_0x29797b;for(;_0x1fa550[_0x11c954]&&_0x1fa550[_0x11c954][_0x5f0a40(0x280)];)_0x11c954++;_0xee8e0e(_0x135200,_0x59d43f,_0x295c0e),_0xee8e0e(_0x1fa550,_0x29797b,_0x11c954);const _0x3fafda=_0x1fa550[_0x5f0a40(0x15a)](_0x29797b,_0x11c954)[_0x5f0a40(0x1c4)](_0x135200[_0x5f0a40(0x15a)](_0x59d43f,_0x295c0e));return _0x3fafda[_0x5f0a40(0x19c)]((_0x23763f,_0x55671d)=>_0x23763f[_0x5f0a40(0x1d8)]!=_0x55671d[_0x5f0a40(0x1d8)]?_0x23763f[_0x5f0a40(0x1d8)]-_0x55671d[_0x5f0a40(0x1d8)]:_0x23763f[_0x5f0a40(0x20f)]!=_0x55671d[_0x5f0a40(0x20f)]?_0x23763f[_0x5f0a40(0x20f)]-_0x55671d[_0x5f0a40(0x20f)]:_0x23763f[_0x5f0a40(0x27a)]!=_0x55671d[_0x5f0a40(0x27a)]?_0x55671d[_0x5f0a40(0x27a)]-_0x23763f[_0x5f0a40(0x27a)]:!!_0x23763f[_0x5f0a40(0x195)]!=!!_0x55671d[_0x5f0a40(0x195)]?-0x1==_0x23763f[_0x5f0a40(0x1d8)]||0x0==_0x23763f[_0x5f0a40(0x1d8)]?_0x23763f[_0x5f0a40(0x195)]?-0x1:0x1:_0x23763f[_0x5f0a40(0x195)]?0x1:-0x1:_0x23763f[_0x5f0a40(0x214)]-_0x55671d[_0x5f0a40(0x214)]),{'commonTape':_0x3fafda,'iEnd':_0x295c0e,'jEnd':_0x11c954};function _0xee8e0e(_0x33e45c,_0x460291,_0x1dbcfe){const _0x5972ec=_0x5f0a40;let _0x13ae37=-0x1,_0x5a7e32=Number[_0x5972ec(0x166)],_0x46984f=!0x0;for(let _0x5409b9=_0x460291;_0x5409b9<_0x1dbcfe;_0x5409b9++)if(_0x1c97cb[_0x5972ec(0x1d2)](_0x33e45c[_0x5409b9][_0x5972ec(0x181)])||(_0x46984f=!0x1),_0x33e45c[_0x5409b9][_0x5972ec(0x181)][_0x5972ec(0x174)]<_0x460291&&(_0x13ae37=_0x5409b9),_0x33e45c[_0x5409b9][_0x5972ec(0x181)][_0x5972ec(0x16c)]>=_0x1dbcfe){_0x5a7e32=_0x5409b9;break;}_0x46984f&&(_0x13ae37=_0x1dbcfe-0x1);for(let _0xaa7250=_0x460291;_0xaa7250<_0x1dbcfe;_0xaa7250++)_0x33e45c[_0xaa7250][_0x5972ec(0x1d8)]=_0xaa7250<=_0x13ae37?-0x1:_0xaa7250<_0x5a7e32?0x0:0x1,_0x33e45c[_0xaa7250][_0x5972ec(0x214)]=_0xaa7250;let _0x4f0399=0x0;for(let _0x36dda9=_0x460291;_0x36dda9<=_0x13ae37;_0x36dda9++)0x0==_0x33e45c[_0x36dda9][_0x5972ec(0x27a)]?_0x33e45c[_0x36dda9][_0x5972ec(0x20f)]=_0x4f0399:(_0x4f0399++,_0x33e45c[_0x36dda9][_0x5972ec(0x20f)]=_0x4f0399,_0x4f0399++);for(let _0x2d5301=_0x460291;_0x2d5301<_0x1dbcfe;_0x2d5301++)0x0==_0x33e45c[_0x2d5301][_0x5972ec(0x1d8)]&&(_0x33e45c[_0x2d5301][_0x5972ec(0x20f)]=_0x4f0399);_0x4f0399=0x0;for(let _0x4f3fc3=_0x1dbcfe-0x1;_0x4f3fc3>=_0x5a7e32;_0x4f3fc3--)0x0==_0x33e45c[_0x4f3fc3][_0x5972ec(0x27a)]?_0x33e45c[_0x4f3fc3][_0x5972ec(0x20f)]=_0x4f0399:(_0x4f0399--,_0x33e45c[_0x4f3fc3][_0x5972ec(0x20f)]=_0x4f0399,_0x4f0399--);}}[_0x53a0e1(0x25f)](_0x57455d){const _0x3577df=_0x53a0e1,_0x5fac46=new Map(),_0x3dc5d9=this[_0x3577df(0x227)][_0x3577df(0x1f6)][_0x3577df(0x1a6)];for(let _0x4c4d4e=0x1;_0x4c4d4e<_0x57455d[_0x3577df(0x1f0)];_0x4c4d4e++){let _0x20db29,_0x174db9,_0x4c6bc9;const _0x133462=_0x57455d[_0x4c4d4e],_0xed9a7d=_0x57455d[_0x4c4d4e-0x1];if(_0x3577df(0x26d)==_0x133462[_0x3577df(0x1d6)])continue;if(_0x133462[_0x3577df(0x1d6)]!=_0xed9a7d[_0x3577df(0x1d6)])continue;if(!_0x3dc5d9[_0x3577df(0x169)](_0xed9a7d[_0x3577df(0x181)])||_0x3dc5d9[_0x3577df(0x197)](_0xed9a7d[_0x3577df(0x181)]))continue;if(!_0x3dc5d9[_0x3577df(0x169)](_0x133462[_0x3577df(0x181)])||_0x3dc5d9[_0x3577df(0x197)](_0x133462[_0x3577df(0x181)]))continue;if((_0x57455d[_0x4c4d4e][_0x3577df(0x195)]||_0x57455d[_0x4c4d4e][_0x3577df(0x188)])&&_0x57455d[_0x4c4d4e-0x1][_0x3577df(0x280)])_0x20db29=_0x57455d[_0x4c4d4e],_0x174db9=_0x57455d[_0x4c4d4e-0x1],_0x4c6bc9=_0x4c4d4e-0x1;else{if(!_0x57455d[_0x4c4d4e][_0x3577df(0x280)]||!_0x57455d[_0x4c4d4e-0x1][_0x3577df(0x195)]&&!_0x57455d[_0x4c4d4e-0x1][_0x3577df(0x188)])continue;_0x20db29=_0x57455d[_0x4c4d4e-0x1],_0x174db9=_0x57455d[_0x4c4d4e],_0x4c6bc9=_0x4c4d4e;}const _0x4c291c=_0x20db29[_0x3577df(0x20f)]==_0x174db9[_0x3577df(0x20f)],_0x41bb68=Math[_0x3577df(0x215)](_0x20db29[_0x3577df(0x20f)])<Math[_0x3577df(0x215)](_0x174db9[_0x3577df(0x20f)])&&0x0==_0x174db9[_0x3577df(0x27a)];(_0x4c291c||_0x41bb68)&&(_0x5fac46[_0x3577df(0x1ac)](_0x174db9['id'],_0x20db29['id']),_0x57455d[_0x3577df(0x268)](_0x4c6bc9,0x1),_0x4c4d4e--,_0x20db29[_0x3577df(0x195)]=!0x1);}for(let _0x23e24e=0x0;_0x23e24e<_0x57455d[_0x3577df(0x1f0)];_0x23e24e++)_0x5fac46[_0x3577df(0x284)](_0x57455d[_0x23e24e][_0x3577df(0x238)])&&(_0x57455d[_0x23e24e][_0x3577df(0x238)]=_0x5fac46[_0x3577df(0x151)](_0x57455d[_0x23e24e][_0x3577df(0x238)]));}[_0x53a0e1(0x18c)](_0x126b81){const _0x1495b5=_0x53a0e1,_0x23efdc=new Set(_0x126b81[_0x1495b5(0x200)](_0x164f6e=>_0x164f6e['id']));for(let _0x463b47=0x0;_0x463b47<_0x126b81[_0x1495b5(0x1f0)];_0x463b47++)_0x23efdc[_0x1495b5(0x284)](_0x126b81[_0x463b47][_0x1495b5(0x238)])||0x0==_0x126b81[_0x463b47][_0x1495b5(0x27a)]||(_0x126b81[_0x463b47][_0x1495b5(0x24e)]=!0x0);return _0x126b81[_0x1495b5(0x18e)](_0x2cc4ed=>!_0x2cc4ed[_0x1495b5(0x24e)]);}[_0x53a0e1(0x1c5)](_0x2688e9){const _0xbfb6d1=_0x53a0e1,_0x11c310=new Set();for(let _0x480a42=0x0;_0x480a42<_0x2688e9[_0xbfb6d1(0x1f0)];_0x480a42++){if(_0x11c310[_0xbfb6d1(0x284)](_0x2688e9[_0x480a42]['id'])&&_0x2688e9[_0x480a42][_0xbfb6d1(0x280)]&&(_0x2688e9[_0x480a42][_0xbfb6d1(0x24e)]=!0x0),_0x2688e9[_0x480a42][_0xbfb6d1(0x24e)])continue;if(0x0==_0x2688e9[_0x480a42][_0xbfb6d1(0x27a)])continue;if(_0xbfb6d1(0x248)!=_0x2688e9[_0x480a42][_0xbfb6d1(0x1d6)])continue;if(null==_0x2688e9[_0x480a42][_0xbfb6d1(0x238)])continue;let _0x135ed8=_0x480a42+0x1,_0x3c8a6f=0x0;for(;_0x2688e9[_0x135ed8]['id']!=_0x2688e9[_0x480a42][_0xbfb6d1(0x238)];)_0xbfb6d1(0x248)==_0x2688e9[_0x135ed8][_0xbfb6d1(0x1d6)]?_0x3c8a6f++:_0xbfb6d1(0x1c3)==_0x2688e9[_0x135ed8][_0xbfb6d1(0x1d6)]&&_0x3c8a6f--,_0x135ed8++;if(0x0!=_0x3c8a6f){if(_0x2688e9[_0x480a42][_0xbfb6d1(0x280)])_0x2688e9[_0x480a42][_0xbfb6d1(0x24e)]=!0x0;else{for(;_0x135ed8!=_0x480a42;)_0x2688e9[_0x135ed8][_0xbfb6d1(0x280)]&&0x0!=_0x2688e9[_0x135ed8][_0xbfb6d1(0x27a)]&&(_0x2688e9[_0x135ed8][_0xbfb6d1(0x24e)]=!0x0,_0x11c310[_0xbfb6d1(0x184)](_0x2688e9[_0x135ed8][_0xbfb6d1(0x238)])),_0x135ed8--;}}}return _0x2688e9[_0xbfb6d1(0x18e)](_0x437a7f=>!_0x437a7f[_0xbfb6d1(0x24e)]);}[_0x53a0e1(0x1d7)](_0x53944f){const _0x4e0cad=_0x53a0e1,_0x3e0980=this[_0x4e0cad(0x227)][_0x4e0cad(0x1f6)][_0x4e0cad(0x1a6)];for(let _0x10757a=0x0;_0x10757a<_0x53944f[_0x4e0cad(0x1f0)];_0x10757a++){if(!(_0x53944f[_0x10757a][_0x4e0cad(0x195)]||_0x53944f[_0x10757a][_0x4e0cad(0x188)]||_0x53944f[_0x10757a][_0x4e0cad(0x280)]||_0x53944f[_0x10757a][_0x4e0cad(0x14e)]))continue;if(0x0==_0x53944f[_0x10757a][_0x4e0cad(0x27a)])continue;const _0x3ce9a1=_0x53944f[_0x10757a][_0x4e0cad(0x181)];_0x3e0980[_0x4e0cad(0x169)](_0x3ce9a1)||_0x3e0980[_0x4e0cad(0x197)](_0x3ce9a1)||(_0x53944f[_0x10757a][_0x4e0cad(0x195)]&&delete _0x53944f[_0x10757a][_0x4e0cad(0x195)],_0x53944f[_0x10757a][_0x4e0cad(0x188)]&&delete _0x53944f[_0x10757a][_0x4e0cad(0x188)],_0x53944f[_0x10757a][_0x4e0cad(0x14e)]&&delete _0x53944f[_0x10757a][_0x4e0cad(0x14e)],_0x53944f[_0x10757a][_0x4e0cad(0x280)]&&(_0x53944f[_0x10757a][_0x4e0cad(0x24e)]=!0x0));}return _0x53944f[_0x4e0cad(0x18e)](_0x1c839a=>!_0x1c839a[_0x4e0cad(0x24e)]);}[_0x53a0e1(0x222)](_0x503b5a,_0x1d1d7b,_0x9d5d6e){const _0x12f70d=_0x53a0e1,_0x420c7e=new _0x2182bc(),_0x3f4563=[],_0x5954e3=new Map(),_0x116889=this[_0x12f70d(0x227)][_0x12f70d(0x1f6)],_0x532db6=_0x116889[_0x12f70d(0x1a6)],_0x35a22c=[_0x420c7e],_0x350621={},_0x4ac220={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x270a82=null;const _0x490582=[0x0];for(let _0x172bc6=0x0;_0x172bc6<_0x503b5a[_0x12f70d(0x1f0)];_0x172bc6++){let _0x29ddce,_0x10e95b;if(_0x12f70d(0x248)===_0x503b5a[_0x172bc6][_0x12f70d(0x1d6)]){_0x29ddce=_0x116889[_0x12f70d(0x1a8)](_0x420c7e,_0x490582);const _0x3d4044=new _0x35c7a5(_0x503b5a[_0x172bc6][_0x12f70d(0x181)][_0x12f70d(0x235)],_0x503b5a[_0x172bc6][_0x12f70d(0x181)][_0x12f70d(0x256)]());_0x35a22c[0x0][_0x12f70d(0x231)](_0x3d4044),_0x490582[_0x12f70d(0x172)](0x0),_0x35a22c[_0x12f70d(0x1b9)](_0x3d4044),_0x10e95b=_0x116889[_0x12f70d(0x1a8)](_0x420c7e,_0x490582),_0x270a82=null;}else{if(_0x12f70d(0x1c3)===_0x503b5a[_0x172bc6][_0x12f70d(0x1d6)])_0x35a22c[_0x12f70d(0x27b)](),_0x29ddce=_0x116889[_0x12f70d(0x1a8)](_0x420c7e,_0x490582),_0x490582[_0x12f70d(0x176)](),_0x490582[_0x490582[_0x12f70d(0x1f0)]-0x1]++,_0x10e95b=_0x116889[_0x12f70d(0x1a8)](_0x420c7e,_0x490582),_0x270a82=null;else{if(_0x29ddce=_0x116889[_0x12f70d(0x1a8)](_0x420c7e,_0x490582),_0x270a82&&_0x6faa7f(_0x270a82,_0x503b5a[_0x172bc6][_0x12f70d(0x181)]))_0x270a82[_0x12f70d(0x21a)]+=_0x503b5a[_0x172bc6][_0x12f70d(0x181)][_0x12f70d(0x255)];else{const _0x570ae2=new _0xb94560(_0x503b5a[_0x172bc6][_0x12f70d(0x181)][_0x12f70d(0x255)],_0x503b5a[_0x172bc6][_0x12f70d(0x181)][_0x12f70d(0x256)]());_0x35a22c[0x0][_0x12f70d(0x231)](_0x570ae2),_0x270a82=_0x570ae2;}_0x490582[_0x490582[_0x12f70d(0x1f0)]-0x1]+=_0x503b5a[_0x172bc6][_0x12f70d(0x181)][_0x12f70d(0x18b)],_0x10e95b=_0x116889[_0x12f70d(0x1a8)](_0x420c7e,_0x490582);}}for(const _0x23903a of _0x503b5a[_0x172bc6][_0x12f70d(0x289)])_0x5954e3[_0x12f70d(0x1ac)](_0x23903a,{'start':_0x29ddce,'end':null});_0x3e33fd(_0x12f70d(0x14e),_0x172bc6,_0x29ddce,_0x10e95b),_0x3e33fd(_0x12f70d(0x188),_0x172bc6,_0x29ddce,_0x10e95b),_0x3e33fd(_0x12f70d(0x280),_0x172bc6,_0x29ddce,_0x10e95b),_0x3e33fd(_0x12f70d(0x195),_0x172bc6,_0x29ddce,_0x10e95b);for(const _0x13b650 of _0x503b5a[_0x172bc6][_0x12f70d(0x26b)]){_0x5954e3[_0x12f70d(0x151)](_0x13b650)[_0x12f70d(0x27e)]=_0x10e95b;}}for(const [_0x1eba3b,_0x451577]of _0x5954e3){const _0x31d5de=this[_0x12f70d(0x227)][_0x12f70d(0x1f6)][_0x12f70d(0x22b)](_0x451577[_0x12f70d(0x240)],_0x451577[_0x12f70d(0x27e)]);_0x420c7e[_0x12f70d(0x286)][_0x12f70d(0x1ac)](_0x1eba3b,_0x31d5de);}return _0x3f4563[_0x12f70d(0x19c)]((_0x4b3f18,_0x44197a)=>{const _0x5ce23a=_0x12f70d,_0x559668=_0x420c7e[_0x5ce23a(0x286)][_0x5ce23a(0x151)](_0x5ce23a(0x1eb)+_0x4b3f18['id']),_0x304c6c=_0x420c7e[_0x5ce23a(0x286)][_0x5ce23a(0x151)](_0x5ce23a(0x1eb)+_0x44197a['id']);return _0x559668[_0x5ce23a(0x240)][_0x5ce23a(0x281)](_0x304c6c[_0x5ce23a(0x240)])?-0x1:_0x559668[_0x5ce23a(0x240)][_0x5ce23a(0x16a)](_0x304c6c[_0x5ce23a(0x240)])?0x1:_0x559668[_0x5ce23a(0x27e)][_0x5ce23a(0x281)](_0x304c6c[_0x5ce23a(0x27e)])?-0x1:_0x559668[_0x5ce23a(0x27e)][_0x5ce23a(0x16a)](_0x304c6c[_0x5ce23a(0x27e)])?0x1:_0x5ce23a(0x184)===_0x4b3f18[_0x5ce23a(0x1d6)]?-0x1:0x1;}),{'root':_0x420c7e,'changes':_0x3f4563};function _0x3e33fd(_0x531a7b,_0x206710,_0x2ca8d3,_0x29c7af){const _0x7e225c=_0x12f70d,_0x46152d=!!_0x503b5a[_0x206710][_0x531a7b],_0x29a5bf=_0x46152d?_0x503b5a[_0x206710][_0x531a7b][_0x7e225c(0x25d)]:null,_0x35cf69=_0x206710===_0x503b5a[_0x7e225c(0x1f0)]-0x1,_0x3f7633=_0x4ac220[_0x531a7b][0x0],_0x27e6ef=_0x532db6[_0x7e225c(0x262)](_0x503b5a[_0x206710][_0x7e225c(0x181)]);!_0x350621[_0x531a7b]&&_0x46152d?_0x350621[_0x531a7b]={'start':_0x2ca8d3,'tapeItem':_0x503b5a[_0x206710],'userId':_0x29a5bf,'type':_0x531a7b}:_0x350621[_0x531a7b]&&!_0x46152d?(_0x350621[_0x531a7b][_0x7e225c(0x27e)]=_0x2ca8d3,_0x51f4b1(_0x350621[_0x531a7b]),_0x350621[_0x531a7b]=null):_0x350621[_0x531a7b]&&_0x46152d&&_0x350621[_0x531a7b][_0x7e225c(0x25d)]!==_0x29a5bf&&(_0x350621[_0x531a7b][_0x7e225c(0x27e)]=_0x2ca8d3,_0x3f7633&&_0x3f7633[_0x7e225c(0x25d)]===_0x350621[_0x531a7b][_0x7e225c(0x25d)]||_0x51f4b1(_0x350621[_0x531a7b]),_0x350621[_0x531a7b]={'start':_0x2ca8d3,'tapeItem':_0x503b5a[_0x206710],'userId':_0x29a5bf,'type':_0x531a7b}),_0x350621[_0x531a7b]&&_0x27e6ef&&(_0x7e225c(0x248)!==_0x503b5a[_0x206710][_0x7e225c(0x1d6)]||_0x3f7633&&_0x3f7633[_0x7e225c(0x25d)]===_0x29a5bf||_0x4ac220[_0x531a7b][_0x7e225c(0x1b9)]({'userId':_0x29a5bf,'object':_0x503b5a[_0x206710][_0x7e225c(0x181)],'change':_0x350621[_0x531a7b]}),_0x7e225c(0x1c3)===_0x503b5a[_0x206710][_0x7e225c(0x1d6)]&&_0x3f7633&&_0x3f7633[_0x7e225c(0x21c)]===_0x503b5a[_0x206710][_0x7e225c(0x181)]&&(_0x4ac220[_0x531a7b][_0x7e225c(0x27b)](),_0x350621[_0x531a7b]=_0x3f7633[_0x7e225c(0x1a2)])),_0x350621[_0x531a7b]&&_0x35cf69&&(_0x350621[_0x531a7b][_0x7e225c(0x27e)]=_0x29c7af,_0x51f4b1(_0x350621[_0x531a7b]),_0x350621[_0x531a7b]=null);}function _0x51f4b1({start:_0x1f1f03,end:_0xe60896,tapeItem:_0x3a600d,userId:_0x23f4ec,type:_0x4faa9e}){const _0x108cb2=_0x12f70d,_0x602013=_0x3a600d[_0x108cb2(0x181)],_0x49962a=_0x116889[_0x108cb2(0x1a6)][_0x108cb2(0x169)](_0x602013)&&!_0x116889[_0x108cb2(0x1a6)][_0x108cb2(0x197)](_0x602013),_0x49e57e=_0x1f1f03[_0x108cb2(0x202)]==_0xe60896[_0x108cb2(0x253)]&&_0xe60896[_0x108cb2(0x1e6)];if(_0x49962a&&_0x49e57e)return;const _0xfcf1db=_0x116889[_0x108cb2(0x22b)](_0x1f1f03,_0xe60896),_0x57d7a7=_0x1d1d7b[_0x108cb2(0x151)](_0x23f4ec),_0x11d435=new _0xbf9a74({'author':_0x57d7a7,'type':_0x108cb2(0x195)==_0x4faa9e||_0x108cb2(0x188)==_0x4faa9e?_0x108cb2(0x184):_0x108cb2(0x1b1),'data':{'isSuggestion':_0x108cb2(0x188)==_0x4faa9e||_0x108cb2(0x14e)==_0x4faa9e},'createdAt':new Date(),'rootName':_0x9d5d6e});_0x3f4563[_0x108cb2(0x172)](_0x11d435),_0x420c7e[_0x108cb2(0x286)][_0x108cb2(0x1ac)](_0x108cb2(0x1eb)+_0x11d435['id'],_0xfcf1db);}function _0x6faa7f(_0x3c6157,_0x3244aa){const _0x2f8274=_0x12f70d,_0x5390f1=_0x3c6157[_0x2f8274(0x256)](),_0x17f6dd=_0x3244aa[_0x2f8274(0x256)]();for(const _0x132cb1 of _0x5390f1){if(_0x132cb1[0x1]!==_0x3244aa[_0x2f8274(0x1ec)](_0x132cb1[0x0]))return!0x1;_0x17f6dd[_0x2f8274(0x20b)]();}return _0x17f6dd[_0x2f8274(0x20b)]()[_0x2f8274(0x1ca)];}}[_0x53a0e1(0x233)](){const _0x121d11=_0x53a0e1;this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x15e))[_0x121d11(0x22a)]({'view':_0x121d11(0x194)}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x16f))[_0x121d11(0x1e1)]({'model':_0x121d11(0x194),'view':_0x131dac=>{const _0x1792ee=_0x121d11,_0x365012=_0x131dac[_0x1792ee(0x17c)][_0x1792ee(0x1b8)](':')[0x1],_0x10cf9b=this[_0x1792ee(0x1bf)](_0x365012);if(!_0x10cf9b)return null;const _0x14589f=_0x1792ee(0x184)==_0x10cf9b[_0x1792ee(0x1d6)]?_0x1792ee(0x17e):_0x1792ee(0x21e),_0x254bf7=[_0x1792ee(0x1d1),_0x1792ee(0x1da)+_0x14589f];return _0x10cf9b[_0x1792ee(0x255)][_0x1792ee(0x272)]&&_0x254bf7[_0x1792ee(0x172)](_0x1792ee(0x1da)+_0x14589f+_0x1792ee(0x290)),this[_0x1792ee(0x17d)]==_0x10cf9b&&_0x254bf7[_0x1792ee(0x172)](_0x1792ee(0x28c)),{'classes':_0x254bf7,'attributes':{'data-change-id':_0x365012}};}}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x15e))[_0x121d11(0x184)](_0x413dd8=>{const _0x1f1c42=_0x121d11;_0x413dd8['on'](_0x1f1c42(0x1a9),(_0xfede0f,_0x384e0e,_0x2a1630)=>{const _0x319ef4=_0x1f1c42,_0x5a4090=_0x384e0e[_0x319ef4(0x1ed)][_0x319ef4(0x288)](0x0);if(!_0x5a4090||!_0x5a4090['is'](_0x319ef4(0x1c6),_0x319ef4(0x1bd)))return;if(!_0x2a1630[_0x319ef4(0x173)][_0x319ef4(0x16e)](_0x5a4090,{'attributes':[_0x319ef4(0x1dc),_0x319ef4(0x264)]}))return;const _0x3a32da=_0x384e0e[_0x319ef4(0x27d)][_0x319ef4(0x240)][_0x319ef4(0x202)];_0x2a1630[_0x319ef4(0x164)][_0x319ef4(0x1c2)](_0x319ef4(0x1dc),_0x5a4090[_0x319ef4(0x1ec)](_0x319ef4(0x1dc)),_0x3a32da),_0x2a1630[_0x319ef4(0x164)][_0x319ef4(0x1c2)](_0x319ef4(0x264),_0x5a4090[_0x319ef4(0x1ec)](_0x319ef4(0x264)),_0x3a32da);},{'priority':_0x1f1c42(0x1f3)});}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x15e))[_0x121d11(0x184)](_0x4d880b=>{const _0x51fba9=_0x121d11;_0x4d880b['on'](_0x51fba9(0x1c6),(_0x2ae184,_0xab4269,_0x4a986f)=>{const _0x4c59a6=_0x51fba9;if(!_0x4a986f[_0x4c59a6(0x173)][_0x4c59a6(0x16e)](_0xab4269[_0x4c59a6(0x1ed)],{'attributes':[_0x4c59a6(0x1dc),_0x4c59a6(0x264)]}))return;if(_0xab4269[_0x4c59a6(0x27d)][_0x4c59a6(0x296)])return;const _0xe8586e=_0xab4269[_0x4c59a6(0x27d)][_0x4c59a6(0x240)][_0x4c59a6(0x202)];_0xe8586e[_0x4c59a6(0x1cb)](_0x4c59a6(0x1dc))||_0xe8586e[_0x4c59a6(0x1cb)](_0x4c59a6(0x199))||(_0x4a986f[_0x4c59a6(0x164)][_0x4c59a6(0x1c2)](_0x4c59a6(0x1dc),_0xab4269[_0x4c59a6(0x1ed)][_0x4c59a6(0x1ec)](_0x4c59a6(0x1dc)),_0xe8586e),_0x4a986f[_0x4c59a6(0x164)][_0x4c59a6(0x1c2)](_0x4c59a6(0x264),_0xab4269[_0x4c59a6(0x1ed)][_0x4c59a6(0x1ec)](_0x4c59a6(0x264)),_0xe8586e));},{'priority':_0x51fba9(0x1f3)});}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x15e))[_0x121d11(0x1f4)]({'view':{'name':_0x121d11(0x1f7),'attributes':{'vid':!0x0}},'model':{'key':_0x121d11(0x199),'value':_0x3e162a=>_0x3e162a[_0x121d11(0x1ec)](_0x121d11(0x199))}}),this[_0x121d11(0x227)][_0x121d11(0x1f6)][_0x121d11(0x1a6)]['on'](_0x121d11(0x179),(_0x12b5f7,[,_0x6b772d])=>{const _0x12c312=_0x121d11;[_0x12c312(0x1dc),_0x12c312(0x264),_0x12c312(0x199)][_0x12c312(0x28a)](_0x6b772d)&&(_0x12b5f7[_0x12c312(0x150)]=!0x0,_0x12b5f7[_0x12c312(0x1bb)]());},{'priority':_0x121d11(0x1e4)}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x153))[_0x121d11(0x184)](_0x5d5a3e=>{const _0x52133a=_0x121d11;_0x5d5a3e['on'](_0x52133a(0x185),(_0x4f9118,_0xd3359a,_0x2c3d4f)=>{const _0x131cf2=_0x52133a;if('\x20'!=_0xd3359a[_0x131cf2(0x181)][_0x131cf2(0x255)]||_0xd3359a[_0x131cf2(0x181)][_0x131cf2(0x253)][_0x131cf2(0x1ae)]>0x1)return;if(!_0x2c3d4f[_0x131cf2(0x173)][_0x131cf2(0x16e)](_0xd3359a[_0x131cf2(0x181)],_0x4f9118[_0x131cf2(0x235)]))return;const _0x4225ba=_0x2c3d4f[_0x131cf2(0x164)],_0x5799dd=_0x2c3d4f[_0x131cf2(0x23c)][_0x131cf2(0x14c)](_0xd3359a[_0x131cf2(0x260)]);_0x4225ba[_0x131cf2(0x278)](_0x5799dd,_0x4225ba[_0x131cf2(0x178)](_0x131cf2(0x1f7)));});}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x153))[_0x121d11(0x26c)]({'model':_0x121d11(0x194)}),this[_0x121d11(0x227)][_0x121d11(0x190)][_0x121d11(0x180)]['on'](_0x121d11(0x251),function(_0x42afbf){const _0x3d02d2=_0x121d11,_0x1b3631=_0x42afbf[_0x3d02d2(0x1cc)][_0x3d02d2(0x151)](_0x3d02d2(0x294));return(_0x336953,_0x4dfc1b,_0x2d4951)=>{const _0x28b3ef=_0x3d02d2,_0x331e2f=_0x4dfc1b[_0x28b3ef(0x17c)][_0x28b3ef(0x1b8)](':')[0x1],_0x335b85=_0x1b3631[_0x28b3ef(0x1bf)](_0x331e2f);if(!_0x335b85)return null;const _0x3c996a=_0x28b3ef(0x184)==_0x335b85[_0x28b3ef(0x1d6)]?_0x28b3ef(0x1b8):_0x28b3ef(0x1a4);if(!_0x2d4951[_0x28b3ef(0x173)][_0x28b3ef(0x18f)](_0x4dfc1b[_0x28b3ef(0x1df)],_0x336953[_0x28b3ef(0x235)]))return;const _0x4f279c=_0x4dfc1b[_0x28b3ef(0x1df)][_0x28b3ef(0x152)](),_0x255603=_0x4dfc1b[_0x28b3ef(0x1df)][_0x28b3ef(0x240)],_0x18c12d=_0x42afbf[_0x28b3ef(0x1f6)][_0x28b3ef(0x1a6)];let _0x37a7af=null,_0x4abfc3=null,_0x2d747b=!0x1,_0x26f24f=!0x1;for(const _0x84691e of _0x4f279c){const _0x458760=_0x84691e[_0x28b3ef(0x181)];_0x2d747b=_0x2d747b||_0x18c12d[_0x28b3ef(0x228)](_0x458760);const _0x52eb0c=_0x2d4951[_0x28b3ef(0x23c)][_0x28b3ef(0x254)](_0x458760);if(_0x52eb0c&&_0x52eb0c[_0x28b3ef(0x19d)](_0x28b3ef(0x258)))return;_0x28b3ef(0x1c3)==_0x84691e[_0x28b3ef(0x1d6)]&&(_0x18c12d[_0x28b3ef(0x169)](_0x458760)&&!_0x18c12d[_0x28b3ef(0x197)](_0x458760)&&(_0x458760[_0x28b3ef(0x1d5)]||_0x255603[_0x28b3ef(0x171)]?_0x37a7af&&_0x37a7af[_0x28b3ef(0x253)]==_0x458760||(_0x37a7af=_0x458760,_0x1a712c(_0x84691e[_0x28b3ef(0x207)]),_0x26f24f=!0x0):_0x4abfc3=_0x4abfc3||_0x84691e[_0x28b3ef(0x207)]));}function _0x1a712c(_0xdc09f5){const _0x2d4638=_0x28b3ef,_0x25bb02=_0x2d4951[_0x2d4638(0x164)][_0x2d4638(0x1c7)](_0x2d4638(0x1f7),{'class':_0x2d4638(0x1da)+_0x3c996a}),_0x1088fd=_0x2d4951[_0x2d4638(0x23c)][_0x2d4638(0x22f)](_0xdc09f5);_0x335b85[_0x2d4638(0x255)][_0x2d4638(0x272)]&&_0x2d4951[_0x2d4638(0x164)][_0x2d4638(0x20a)](_0x2d4638(0x1da)+_0x3c996a+_0x2d4638(0x290),_0x25bb02),_0x1b3631[_0x2d4638(0x17d)]==_0x335b85&&_0x2d4951[_0x2d4638(0x164)][_0x2d4638(0x20a)](_0x2d4638(0x28c),_0x25bb02),_0x2d4951[_0x2d4638(0x164)][_0x2d4638(0x285)](_0x1088fd,_0x25bb02),_0x2d4951[_0x2d4638(0x23c)][_0x2d4638(0x1bc)](_0x25bb02,_0x4dfc1b[_0x2d4638(0x17c)]);}_0x2d747b||_0x26f24f||!_0x4abfc3||_0x1a712c(_0x4abfc3);};}(this[_0x121d11(0x227)]),{'priority':_0x121d11(0x24d)}),this[_0x121d11(0x227)][_0x121d11(0x190)][_0x121d11(0x180)]['on'](_0x121d11(0x14f),(_0x2bcc99,_0x5f2c16,_0x586176)=>{const _0x1a7e36=_0x121d11,_0x5ecdfa=_0x586176[_0x1a7e36(0x23c)][_0x1a7e36(0x1b2)](_0x5f2c16[_0x1a7e36(0x17c)]);if(_0x5ecdfa){for(const _0x1a79a8 of _0x5ecdfa)(_0x1a79a8[_0x1a7e36(0x241)](_0x1a7e36(0x282))||_0x1a79a8[_0x1a7e36(0x241)](_0x1a7e36(0x206)))&&(_0x586176[_0x1a7e36(0x23c)][_0x1a7e36(0x1e0)](_0x1a79a8,_0x5f2c16[_0x1a7e36(0x17c)]),_0x586176[_0x1a7e36(0x164)][_0x1a7e36(0x1b1)](_0x1a79a8));}},{'priority':_0x121d11(0x24d)}),this[_0x121d11(0x227)][_0x121d11(0x190)][_0x121d11(0x180)]['on'](_0x121d11(0x251),(_0x33389a,_0x5cc3ba,_0x30632f)=>{const _0x27554b=_0x121d11,_0x1f7871=_0x5cc3ba[_0x27554b(0x17c)][_0x27554b(0x1b8)](':')[0x1],_0x473203=this[_0x27554b(0x1bf)](_0x1f7871);if(!_0x473203)return null;const _0x4ee57f=_0x27554b(0x184)==_0x473203[_0x27554b(0x1d6)]?_0x27554b(0x1b8):_0x27554b(0x1a4);if(_0x30632f[_0x27554b(0x173)][_0x27554b(0x18f)](_0x5cc3ba[_0x27554b(0x1df)],_0x33389a[_0x27554b(0x235)]))for(const _0x2e933e of _0x5cc3ba[_0x27554b(0x1df)][_0x27554b(0x23d)]()){if(!_0x2e933e['is'](_0x27554b(0x1c6),_0x27554b(0x250)))continue;const _0x51ec98=_0x30632f[_0x27554b(0x164)][_0x27554b(0x1c7)](_0x27554b(0x1f7),{'class':_0x27554b(0x1da)+_0x4ee57f}),_0x2315fa=_0x30632f[_0x27554b(0x23c)][_0x27554b(0x22f)](this[_0x27554b(0x227)][_0x27554b(0x1f6)][_0x27554b(0x26a)](_0x2e933e));_0x473203[_0x27554b(0x255)][_0x27554b(0x272)]&&_0x30632f[_0x27554b(0x164)][_0x27554b(0x20a)](_0x27554b(0x1da)+_0x4ee57f+_0x27554b(0x290),_0x51ec98),this[_0x27554b(0x17d)]==_0x473203&&_0x30632f[_0x27554b(0x164)][_0x27554b(0x20a)](_0x27554b(0x28c),_0x51ec98),_0x30632f[_0x27554b(0x164)][_0x27554b(0x285)](_0x2315fa,_0x51ec98),_0x30632f[_0x27554b(0x23c)][_0x27554b(0x1bc)](_0x51ec98,_0x5cc3ba[_0x27554b(0x17c)]);}},{'priority':_0x121d11(0x24d)}),this[_0x121d11(0x227)][_0x121d11(0x1f6)][_0x121d11(0x266)]['on'](_0x121d11(0x1a2),()=>{const _0xeb77fb=_0x121d11;this[_0xeb77fb(0x227)][_0xeb77fb(0x190)][_0xeb77fb(0x210)][_0xeb77fb(0x1a2)](_0x4b0835=>{const _0x1ae4c1=_0xeb77fb;for(const _0x164a48 of this[_0x1ae4c1(0x227)][_0x1ae4c1(0x1f6)][_0x1ae4c1(0x266)][_0x1ae4c1(0x24a)]()){const _0x5af3e7=this[_0x1ae4c1(0x227)][_0x1ae4c1(0x1f6)][_0x1ae4c1(0x266)][_0x1ae4c1(0x1ee)](_0x164a48),_0x1b923d=this[_0x1ae4c1(0x227)][_0x1ae4c1(0x190)][_0x1ae4c1(0x210)][_0x1ae4c1(0x266)][_0x1ae4c1(0x1ee)](_0x164a48);if(_0x1b923d){const _0x2d9d33=_0x5af3e7[_0x1ae4c1(0x1ec)](_0x1ae4c1(0x242));if(_0x4b0835[_0x1ae4c1(0x1c1)](_0x1ae4c1(0x1c0),_0x1b923d),_0x4b0835[_0x1ae4c1(0x18d)](_0x1ae4c1(0x1fb),_0x1b923d),_0x4b0835[_0x1ae4c1(0x18d)](_0x1ae4c1(0x24c),_0x1b923d),_0x4b0835[_0x1ae4c1(0x18d)](_0x1ae4c1(0x26e),_0x1b923d),_0x2d9d33){const _0x4868cc=this[_0x1ae4c1(0x1bf)](_0x2d9d33);if(!_0x4868cc)return null;_0x4b0835[_0x1ae4c1(0x1c2)](_0x1ae4c1(0x1c0),_0x2d9d33,_0x1b923d),_0x4b0835[_0x1ae4c1(0x20a)](_0x1ae4c1(0x1a7)+_0x4868cc[_0x1ae4c1(0x1d6)],_0x1b923d),this[_0x1ae4c1(0x17d)]==_0x4868cc&&_0x4b0835[_0x1ae4c1(0x20a)](_0x1ae4c1(0x26e),_0x1b923d);}}}});}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x15e))[_0x121d11(0x22a)]({'view':_0x121d11(0x165),'model':_0x59e1bf=>_0x121d11(0x22c)+_0x59e1bf,'converterPriority':_0x121d11(0x1e4)}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x15e))[_0x121d11(0x22a)]({'view':_0x121d11(0x1a0),'model':_0x17a6e5=>_0x121d11(0x1af)+_0x17a6e5,'converterPriority':_0x121d11(0x1e4)}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x153))[_0x121d11(0x26c)]({'model':_0x121d11(0x221),'view':_0x5aac73=>({'name':_0x121d11(0x15b)+_0x5aac73,'group':_0x121d11(0x221)}),'converterPriority':_0x121d11(0x1e4)}),this[_0x121d11(0x227)][_0x121d11(0x156)][_0x121d11(0x25a)](_0x121d11(0x16f))[_0x121d11(0x1e1)]({'model':_0x121d11(0x221),'view':_0x311983=>{const _0x9f6a80=_0x121d11,_0x1cda4d=_0x311983[_0x9f6a80(0x17c)][_0x9f6a80(0x1b8)](':')[0x1];return _0x9f6a80(0x17e)!=_0x1cda4d&&_0x9f6a80(0x21e)!=_0x1cda4d?null:{'classes':[_0x9f6a80(0x1b3),_0x9f6a80(0x279)+_0x1cda4d]};}}),this[_0x121d11(0x227)][_0x121d11(0x190)][_0x121d11(0x180)]['on'](_0x121d11(0x291),et(this[_0x121d11(0x227)],_0x121d11(0x1a4)),{'priority':_0x121d11(0x24d)}),this[_0x121d11(0x227)][_0x121d11(0x190)][_0x121d11(0x180)]['on'](_0x121d11(0x230),et(this[_0x121d11(0x227)],_0x121d11(0x1b8)),{'priority':_0x121d11(0x24d)}),this[_0x121d11(0x227)][_0x121d11(0x190)][_0x121d11(0x180)]['on'](_0x121d11(0x245),(_0x3535a8,_0x4cd7ff,_0x264211)=>{const _0x54b9d7=_0x121d11,_0x514a5b=_0x264211[_0x54b9d7(0x23c)][_0x54b9d7(0x1b2)](_0x4cd7ff[_0x54b9d7(0x17c)]);if(_0x514a5b){for(const _0x51146a of _0x514a5b)_0x51146a['is'](_0x54b9d7(0x25b))&&(_0x264211[_0x54b9d7(0x23c)][_0x54b9d7(0x1e0)](_0x51146a,_0x4cd7ff[_0x54b9d7(0x17c)]),_0x264211[_0x54b9d7(0x164)][_0x54b9d7(0x1b1)](_0x51146a));}},{'priority':_0x121d11(0x24d)});}[_0x53a0e1(0x1bf)](_0x253065){const _0x557175=_0x53a0e1;return this[_0x557175(0x23a)][_0x557175(0x151)](_0x253065);}[_0x53a0e1(0x1a3)](_0x2b81c9){const _0x7e318b=_0x53a0e1;return this[_0x7e318b(0x1b0)]&&this[_0x7e318b(0x1b0)][_0x7e318b(0x203)](),this[_0x7e318b(0x1b0)]=new _0x783f7(this[_0x7e318b(0x227)][_0x7e318b(0x28d)],_0x2b81c9),this[_0x7e318b(0x1b0)];}[_0x53a0e1(0x159)](){const _0x5dd695=_0x53a0e1;this[_0x5dd695(0x227)][_0x5dd695(0x1f6)][_0x5dd695(0x266)][_0x5dd695(0x1f1)][_0x5dd695(0x17f)](_0x5dd695(0x194)),this['on'](_0x5dd695(0x14b),(_0xbbc167,_0x390263,_0x201351,_0x47b81e)=>{const _0x3ab9ab=_0x5dd695;_0x47b81e&&this[_0x3ab9ab(0x18a)][_0x3ab9ab(0x1b1)](_0x47b81e),_0x201351&&(this[_0x3ab9ab(0x18a)][_0x3ab9ab(0x184)]({'view':_0x201351,'stackId':_0x3ab9ab(0x1cf),'position':{'target':()=>{const _0x4b5d52=_0x3ab9ab,_0x55423b=this[_0x4b5d52(0x227)][_0x4b5d52(0x190)],_0x4febe7=this[_0x4b5d52(0x1bf)](_0x201351[_0x4b5d52(0x1e3)]);let _0xe525e9;if(_0x4febe7[_0x4b5d52(0x255)][_0x4b5d52(0x213)]){const _0x3ae84b=_0x55423b[_0x4b5d52(0x210)][_0x4b5d52(0x277)](_0x4febe7[_0x4b5d52(0x239)]);_0xe525e9=Array[_0x4b5d52(0x212)](_0x3ae84b[_0x4b5d52(0x182)]());}else{const _0x4af3a8=this[_0x4b5d52(0x227)][_0x4b5d52(0x1f6)][_0x4b5d52(0x286)][_0x4b5d52(0x151)](_0x4b5d52(0x1eb)+_0x201351[_0x4b5d52(0x1e3)]);_0xe525e9=Array[_0x4b5d52(0x212)](_0x55423b[_0x4b5d52(0x23c)][_0x4b5d52(0x1b2)](_0x4af3a8[_0x4b5d52(0x235)]))[_0x4b5d52(0x200)](_0x49cced=>_0x55423b[_0x4b5d52(0x210)][_0x4b5d52(0x17a)][_0x4b5d52(0x161)](_0x49cced))[_0x4b5d52(0x200)](_0x542e5f=>Array[_0x4b5d52(0x212)](_0x542e5f[_0x4b5d52(0x182)]()))[_0x4b5d52(0x252)]();}if(!this[_0x4b5d52(0x1c9)])return _0xe525e9[0x0];return _0xe525e9[_0x4b5d52(0x187)](_0x18867a=>_0x18867a[_0x4b5d52(0x16d)]-0x3<=this[_0x4b5d52(0x1c9)]['y']&&_0x18867a[_0x4b5d52(0x23e)]+0x3>=this[_0x4b5d52(0x1c9)]['y']&&_0x18867a[_0x4b5d52(0x283)]-0x3<=this[_0x4b5d52(0x1c9)]['x']&&_0x18867a[_0x4b5d52(0x1b5)]+0x3>=this[_0x4b5d52(0x1c9)]['x'])||_0xe525e9[0x0];}}}),this[_0x3ab9ab(0x18a)][_0x3ab9ab(0x229)](_0x3ab9ab(0x1cf)));}),this['on'](_0x5dd695(0x20e),(_0x4289a0,_0x52bab3,_0x97ac67,_0x4deb8f)=>{const _0x2d2753=_0x5dd695;this[_0x2d2753(0x1ef)]=_0x97ac67?this[_0x2d2753(0x1a3)](_0x97ac67):null,this[_0x2d2753(0x227)][_0x2d2753(0x1f6)][_0x2d2753(0x1a2)](()=>{const _0x9d11ae=_0x2d2753,_0x5d7d12=this[_0x9d11ae(0x227)][_0x9d11ae(0x190)];_0x4deb8f&&(_0x4deb8f[_0x9d11ae(0x255)][_0x9d11ae(0x213)]?_0x5d7d12[_0x9d11ae(0x210)][_0x9d11ae(0x1a2)](_0xf87f51=>{const _0x4320f7=_0x9d11ae;_0xf87f51[_0x4320f7(0x18d)](_0x4320f7(0x26e),_0x5d7d12[_0x4320f7(0x210)][_0x4320f7(0x266)][_0x4320f7(0x1ee)](_0x4deb8f[_0x4320f7(0x239)]));}):_0x5d7d12[_0x9d11ae(0x1d3)](_0x9d11ae(0x1eb)+_0x4deb8f['id'])),_0x97ac67&&(_0x97ac67[_0x9d11ae(0x255)][_0x9d11ae(0x213)]?_0x5d7d12[_0x9d11ae(0x210)][_0x9d11ae(0x1a2)](_0x5741be=>{const _0x4fefb8=_0x9d11ae;_0x5741be[_0x4fefb8(0x20a)](_0x4fefb8(0x26e),_0x5d7d12[_0x4fefb8(0x210)][_0x4fefb8(0x266)][_0x4fefb8(0x1ee)](_0x97ac67[_0x4fefb8(0x239)]));}):_0x5d7d12[_0x9d11ae(0x1d3)](_0x9d11ae(0x1eb)+_0x97ac67['id']));});}),this[_0x5dd695(0x1fe)](this[_0x5dd695(0x227)][_0x5dd695(0x190)][_0x5dd695(0x210)][_0x5dd695(0x266)],_0x5dd695(0x1f8),(_0x33d6a7,_0x30bdf1)=>{const _0x4c4269=_0x5dd695;if(this[_0x4c4269(0x17d)])return;const _0x39aa71=this[_0x4c4269(0x170)](_0x30bdf1[_0x4c4269(0x15f)]),_0x42fd0c=this[_0x4c4269(0x23a)][_0x4c4269(0x151)](_0x39aa71);_0x42fd0c?(this[_0x4c4269(0x1c9)]={'x':_0x30bdf1[_0x4c4269(0x168)]['x'],'y':_0x30bdf1[_0x4c4269(0x168)]['y']},this[_0x4c4269(0x1ef)]=this[_0x4c4269(0x1a3)](_0x42fd0c)):(this[_0x4c4269(0x1c9)]=null,this[_0x4c4269(0x1ef)]=null);}),this[_0x5dd695(0x1fe)](this[_0x5dd695(0x227)][_0x5dd695(0x190)][_0x5dd695(0x210)][_0x5dd695(0x266)],_0x5dd695(0x1d9),(_0x1259e4,_0x2606fa)=>{const _0xe2f982=_0x5dd695,_0x1b0f93=this[_0xe2f982(0x170)](_0x2606fa[_0xe2f982(0x15f)]),_0x5b599e=this[_0xe2f982(0x23a)][_0xe2f982(0x151)](_0x1b0f93);_0x5b599e?(this[_0xe2f982(0x1c9)]={'x':_0x2606fa[_0xe2f982(0x168)]['x'],'y':_0x2606fa[_0xe2f982(0x168)]['y']},_0x5b599e===this[_0xe2f982(0x17d)]?this[_0xe2f982(0x18a)][_0xe2f982(0x177)]():this[_0xe2f982(0x17d)]=_0x5b599e):(this[_0xe2f982(0x1c9)]=null,this[_0xe2f982(0x17d)]=null);});}[_0x53a0e1(0x170)](_0x3707b4){const _0xd9b358=_0x53a0e1;do{const _0x16ae19=_0x3707b4[_0xd9b358(0x1ec)](_0xd9b358(0x1c0));if(_0x16ae19)return _0x16ae19;_0x3707b4=_0x3707b4[_0xd9b358(0x253)];}while(_0x3707b4);return null;}[_0x53a0e1(0x259)](){const _0x51dffc=_0x53a0e1;this[_0x51dffc(0x227)][_0x51dffc(0x1f6)][_0x51dffc(0x1a2)](_0x3a93b4=>{const _0x571d8f=_0x51dffc;for(const _0x29c056 of this[_0x571d8f(0x227)][_0x571d8f(0x1f6)][_0x571d8f(0x286)])_0x3a93b4[_0x571d8f(0x261)](_0x29c056);});}}function et(_0x5e6c6d,_0x5b48af){return(_0x1cd923,_0x4a56e4,_0x47c6cf)=>{const _0x2de5fb=_0x2fbc;if(!_0x47c6cf[_0x2de5fb(0x173)][_0x2de5fb(0x18f)](_0x4a56e4[_0x2de5fb(0x1df)],_0x1cd923[_0x2de5fb(0x235)]))return;const _0x24ab50=_0x4a56e4[_0x2de5fb(0x1df)][_0x2de5fb(0x152)](),_0x3bb2d0=_0x4a56e4[_0x2de5fb(0x1df)][_0x2de5fb(0x240)],_0x402daf=_0x5e6c6d[_0x2de5fb(0x1f6)][_0x2de5fb(0x1a6)];let _0x27cc37=null,_0x49a4fa=null,_0x1218de=!0x1,_0x3a3edb=!0x1;for(const _0x2556ef of _0x24ab50){const _0x4fc0c7=_0x2556ef[_0x2de5fb(0x181)];_0x1218de=_0x1218de||_0x402daf[_0x2de5fb(0x228)](_0x4fc0c7);const _0x11e6c9=_0x47c6cf[_0x2de5fb(0x23c)][_0x2de5fb(0x254)](_0x4fc0c7);if(_0x11e6c9&&_0x11e6c9[_0x2de5fb(0x19d)](_0x2de5fb(0x258)))return;_0x2de5fb(0x1c3)==_0x2556ef[_0x2de5fb(0x1d6)]&&(_0x402daf[_0x2de5fb(0x169)](_0x4fc0c7)&&!_0x402daf[_0x2de5fb(0x197)](_0x4fc0c7)&&(_0x4fc0c7[_0x2de5fb(0x1d5)]||_0x3bb2d0[_0x2de5fb(0x171)]?_0x27cc37&&_0x27cc37[_0x2de5fb(0x253)]==_0x4fc0c7||(_0x27cc37=_0x4fc0c7,_0x142b25(_0x2556ef[_0x2de5fb(0x207)]),_0x3a3edb=!0x0):_0x49a4fa=_0x49a4fa||_0x2556ef[_0x2de5fb(0x207)]));}function _0x142b25(_0x1a63fc){const _0x128cb=_0x2de5fb,_0x1b4748=_0x47c6cf[_0x128cb(0x23c)][_0x128cb(0x22f)](_0x1a63fc),_0x4441bd=_0x47c6cf[_0x128cb(0x164)][_0x128cb(0x1c7)](_0x128cb(0x1f7),{'class':_0x128cb(0x279)+_0x5b48af});_0x47c6cf[_0x128cb(0x164)][_0x128cb(0x285)](_0x1b4748,_0x4441bd),_0x47c6cf[_0x128cb(0x23c)][_0x128cb(0x1bc)](_0x4441bd,_0x4a56e4[_0x128cb(0x17c)]);}_0x1218de||_0x3a3edb||!_0x49a4fa||_0x142b25(_0x49a4fa);};}export class RestoreRevisionCommand extends _0x1af007{constructor(_0x90c8bf){const _0x2a4f53=_0x53a0e1;super(_0x90c8bf);const _0x24dcec=_0x90c8bf[_0x2a4f53(0x1cc)][_0x2a4f53(0x151)](d);this[_0x2a4f53(0x1b4)]=!0x1,this[_0x2a4f53(0x1fe)](_0x24dcec,_0x2a4f53(0x1d0),()=>this[_0x2a4f53(0x1e5)]()),this[_0x2a4f53(0x1fe)](_0x24dcec,_0x2a4f53(0x273),()=>this[_0x2a4f53(0x1e5)]());}[_0x53a0e1(0x1cd)](){const _0x4ec838=_0x53a0e1,_0x18545=this[_0x4ec838(0x227)],_0x4b0cf8=_0x18545[_0x4ec838(0x1cc)][_0x4ec838(0x151)](d),_0x39fdae=_0x4b0cf8[_0x4ec838(0x249)]?_0x4b0cf8[_0x4ec838(0x257)][_0x4ec838(0x1fc)]:null;_0x18545[_0x4ec838(0x1ea)][_0x4ec838(0x151)](_0x4ec838(0x263))[_0x4ec838(0x1fd)](_0x39fdae);}[_0x53a0e1(0x1e5)](){const _0x2012d8=_0x53a0e1,{isReady:_0x2166bc,isEnabled:_0x454d7f}=this[_0x2012d8(0x227)][_0x2012d8(0x1cc)][_0x2012d8(0x151)](d);this[_0x2012d8(0x23f)]=_0x2166bc&&_0x454d7f;}}export class ShowChangeCommand extends _0x1af007{constructor(_0xb7b696,{direction:_0x47969c}){const _0x485832=_0x53a0e1;super(_0xb7b696);const _0x2469e4=_0xb7b696[_0x485832(0x1cc)][_0x485832(0x151)](d);this[_0x485832(0x1b4)]=!0x1,this[_0x485832(0x209)]=_0x485832(0x220)===_0x47969c?0x1:-0x1,this[_0x485832(0x1fe)](_0x2469e4,_0x485832(0x1d0),()=>this[_0x485832(0x1e5)]()),this[_0x485832(0x1fe)](_0x2469e4,_0x485832(0x273),()=>this[_0x485832(0x1e5)]()),this[_0x485832(0x1fe)](_0x2469e4,_0x485832(0x20e),()=>this[_0x485832(0x1e5)]());}[_0x53a0e1(0x1cd)](){const _0x169c32=_0x53a0e1,_0xe08897=this[_0x169c32(0x227)],_0x3a10fe=_0xe08897[_0x169c32(0x1cc)][_0x169c32(0x151)](d),{isNavigationMode:_0x5ba8fa,currentChangeNumber:_0xd6f34}=_0x3a10fe;let _0x4b4109;if(_0x3a10fe[_0x169c32(0x17d)]=_0x5ba8fa?_0x3a10fe[_0x169c32(0x257)][_0x169c32(0x158)][_0x169c32(0x151)](_0xd6f34+this[_0x169c32(0x209)]):_0x3a10fe[_0x169c32(0x257)][_0x169c32(0x158)][_0x169c32(0x193)],_0x3a10fe[_0x169c32(0x17d)][_0x169c32(0x255)][_0x169c32(0x213)])_0x4b4109=_0xe08897[_0x169c32(0x190)][_0x169c32(0x210)][_0x169c32(0x277)](_0x3a10fe[_0x169c32(0x17d)][_0x169c32(0x239)]);else{const _0xbba019=_0xe08897[_0x169c32(0x1f6)][_0x169c32(0x286)][_0x169c32(0x151)](_0x169c32(0x1eb)+_0x3a10fe[_0x169c32(0x17d)]['id']);_0x4b4109=_0x4c7c2c(_0xe08897[_0x169c32(0x190)],_0xbba019);}_0x55a6a7({'target':_0x4b4109,'viewportOffset':0x28});}[_0x53a0e1(0x1e5)](){const _0x5d8a1d=_0x53a0e1,{isNavigationMode:_0x329f7b,currentChangeNumber:_0x27eb81,numberOfChanges:_0x3eac1f,isReady:_0x3bd28b,isEnabled:_0x5178de}=this[_0x5d8a1d(0x227)][_0x5d8a1d(0x1cc)][_0x5d8a1d(0x151)](d);this[_0x5d8a1d(0x23f)]=!!(_0x5178de&&_0x3bd28b&&_0x3eac1f)&&(!_0x329f7b||(0x1===this[_0x5d8a1d(0x209)]?_0x27eb81<_0x3eac1f-0x1:_0x27eb81>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x2af528,_0x2e3efb){const _0x27f303=_0x3e58,_0x47398b=_0x2af528();while(!![]){try{const _0x25ee5b=-parseInt(_0x27f303(0x185))/0x1*(-parseInt(_0x27f303(0x191))/0x2)+parseInt(_0x27f303(0x18f))/0x3*(-parseInt(_0x27f303(0x182))/0x4)+-parseInt(_0x27f303(0x199))/0x5+-parseInt(_0x27f303(0x17d))/0x6*(parseInt(_0x27f303(0x194))/0x7)+parseInt(_0x27f303(0x18e))/0x8*(parseInt(_0x27f303(0x16b))/0x9)+-parseInt(_0x27f303(0x17e))/0xa+parseInt(_0x27f303(0x183))/0xb;if(_0x25ee5b===_0x2e3efb)break;else _0x47398b['push'](_0x47398b['shift']());}catch(_0x2a76ea){_0x47398b['push'](_0x47398b['shift']());}}}(_0xe84d,0xac41f));import{Collection as _0x5696dd}from'ckeditor5/src/utils.js';function _0x3e58(_0x45786a,_0x5274be){const _0xe84da5=_0xe84d();return _0x3e58=function(_0x3e5863,_0x2de7b1){_0x3e5863=_0x3e5863-0x16a;let _0x197ffb=_0xe84da5[_0x3e5863];return _0x197ffb;},_0x3e58(_0x45786a,_0x5274be);}function _0xe84d(){const _0x1838b6=['isOpen','function','first','action','model','execute','extendTemplate','class','stopPropagation','isVisible','find','ck-on','bindTemplate','button','children','870xlEgmy','11166690oqWUiW','Restore\x20this\x20revision','change:isActionsDropdownOpen','ck-revision-history-sidebar__revision__actions','676icfDxp','27472357xHFppM','panelPosition','522701ewSaRy','source','map','Show\x20more\x20items','buttonView','_action','locale','isReady','Compare\x20against\x20selected','744vgSlsi','2847VlmmxB','isActionsDropdownOpen','2OzcPhm','add','threeVerticalDots','10444PdiNpD','isEnabled','listenTo','listView','Name\x20this\x20revision','4532560EFyAZl','set','bind','8253ECuAJt','items','name'];_0xe84d=function(){return _0x1838b6;};return _0xe84d();}import{icons as _0x28d2bb}from'ckeditor5/src/core.js';import{ViewModel as _0x217f17,addListToDropdown as _0x16f1d8,createDropdown as _0xb5dd19}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ba52a}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0xfa74a5,_0x1ab810){const _0x5ec0a4=_0x3e58,_0x413efd=_0xfa74a5[_0x5ec0a4(0x17a)],_0xdd7ae1=_0xfa74a5[_0x5ec0a4(0x18b)],_0x58e4d3=_0xb5dd19(_0xdd7ae1);_0x58e4d3[_0x5ec0a4(0x184)]='sw';const _0x1c68c9=function(_0x10f6ca,_0x25d9b4){const _0x5ed6a7=_0x5ec0a4,_0x5b122b=function(_0x16530b,_0x205536){const _0x181345=_0x3e58,_0x55d289=_0x16530b[_0x181345(0x18b)],_0x49734d={'Compare\x20against\x20selected':_0x5ba52a(_0x55d289,_0x181345(0x18d)),'Name\x20this\x20revision':_0x5ba52a(_0x55d289,_0x181345(0x198)),'Restore\x20this\x20revision':_0x5ba52a(_0x55d289,_0x181345(0x17f))};return _0x205536[_0x181345(0x187)](_0x227232=>{const _0x11a8ca=_0x181345,_0x466e69=_0x49734d[_0x227232[_0x11a8ca(0x16d)]];return _0x466e69&&_0x466e69!==_0x227232[_0x11a8ca(0x16d)]&&(_0x227232[_0x11a8ca(0x16d)]=_0x466e69),_0x227232;});}(_0x10f6ca,_0x25d9b4),_0x56a5a1=new _0x5696dd();for(const _0x148abd of _0x5b122b){const _0x3b7b61={'type':_0x5ed6a7(0x17b),'model':new _0x217f17({'label':_0x148abd[_0x5ed6a7(0x16d)],'class':_0x148abd[_0x5ed6a7(0x175)],'withText':!0x0,'_action':_0x148abd[_0x5ed6a7(0x171)]})};_0x3b7b61[_0x5ed6a7(0x172)][_0x5ed6a7(0x16a)](_0x5ed6a7(0x195))['to'](_0x10f6ca,_0x5ed6a7(0x190),_0x166250=>_0x5ed6a7(0x16f)!=typeof _0x148abd[_0x5ed6a7(0x195)]||(!_0x166250||_0x148abd[_0x5ed6a7(0x195)](_0x10f6ca))),_0x56a5a1[_0x5ed6a7(0x192)](_0x3b7b61);}return _0x56a5a1;}(_0xfa74a5,_0x1ab810);return _0xfa74a5[_0x5ec0a4(0x16a)](_0x5ec0a4(0x190))['to'](_0x58e4d3,_0x5ec0a4(0x16e)),_0x58e4d3[_0x5ec0a4(0x189)][_0x5ec0a4(0x19a)]({'label':_0x5ba52a(_0xdd7ae1,_0x5ec0a4(0x188)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x28d2bb[_0x5ec0a4(0x193)]}),_0x58e4d3[_0x5ec0a4(0x174)]({'attributes':{'class':[_0x5ec0a4(0x181),_0x413efd['if'](_0x5ec0a4(0x190),_0x5ec0a4(0x179))]},'on':{'click':_0x413efd['to'](_0x355061=>_0x355061[_0x5ec0a4(0x176)]())}}),_0x58e4d3['on'](_0x5ec0a4(0x173),_0x5dbbbc=>{const _0x24d1d2=_0x5ec0a4;_0xfa74a5[_0x24d1d2(0x18c)]&&_0x24d1d2(0x16f)==typeof _0x5dbbbc[_0x24d1d2(0x186)][_0x24d1d2(0x18a)]&&_0x5dbbbc[_0x24d1d2(0x186)][_0x24d1d2(0x18a)](_0xfa74a5);}),_0x16f1d8(_0x58e4d3,_0x1c68c9),_0x58e4d3[_0x5ec0a4(0x196)](_0xfa74a5,_0x5ec0a4(0x180),(_0x3ba36e,_0x4d4f5a,_0x27f1ff)=>{const _0x13cf75=_0x5ec0a4;if(_0x27f1ff)for(const _0x51bf24 of _0x58e4d3[_0x13cf75(0x197)][_0x13cf75(0x16c)]){const _0x2f28d6=_0x51bf24[_0x13cf75(0x17c)][_0x13cf75(0x170)],_0xeb71be=_0x1ab810[_0x13cf75(0x178)](_0x4b2367=>_0x4b2367[_0x13cf75(0x171)]===_0x2f28d6[_0x13cf75(0x18a)])[_0x13cf75(0x177)];_0x51bf24[_0x13cf75(0x177)]=void 0x0===_0xeb71be||_0xeb71be(_0xfa74a5);}}),_0x58e4d3;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x52968a,_0x284817){const _0x399265=_0x2fb5,_0x1e6c45=_0x52968a();while(!![]){try{const _0x3d1b11=-parseInt(_0x399265(0x1fc))/0x1+-parseInt(_0x399265(0x201))/0x2*(-parseInt(_0x399265(0x1f6))/0x3)+-parseInt(_0x399265(0x1fb))/0x4*(parseInt(_0x399265(0x1f4))/0x5)+parseInt(_0x399265(0x1fe))/0x6+-parseInt(_0x399265(0x1f9))/0x7+parseInt(_0x399265(0x1fd))/0x8+parseInt(_0x399265(0x1f1))/0x9*(parseInt(_0x399265(0x1fa))/0xa);if(_0x3d1b11===_0x284817)break;else _0x1e6c45['push'](_0x1e6c45['shift']());}catch(_0x360d1a){_0x1e6c45['push'](_0x1e6c45['shift']());}}}(_0x5398,0x969a7));import{View as _0x3a2672,IconView as _0x59ba95}from'ckeditor5/src/ui.js';import{getTranslation as _0x2745b8}from'../../utils/common-translations.js';function _0x2fb5(_0x846ece,_0x5431d2){const _0x5398ef=_0x5398();return _0x2fb5=function(_0x2fb5af,_0x26c761){_0x2fb5af=_0x2fb5af-0x1f1;let _0x2c6a70=_0x5398ef[_0x2fb5af];return _0x2c6a70;},_0x2fb5(_0x846ece,_0x5431d2);}import'../../../theme/revision/revisionauthor.css';function _0x5398(){const _0x3a5533=['54278NHqevi','set','ck-revision-history-sidebar__revision-author__name','name','ck-revision-history-sidebar__revision-author_creator','54VZjhHz','span','push','589115sgHguj','0\x200\x2011\x2010','24NTwoBY','setTemplate','ck-revision-history-sidebar__revision-author','701596bWFrom','1666540AoJfDp','36vUmlhZ','458859UgoAyB','4727288zrBYFz','2570508bSJUMK','Revision\x20creator','Revision\x20author'];_0x5398=function(){return _0x3a5533;};return _0x5398();}import _0x1706e5 from'../../../theme/icons/user.svg';export default class ti extends _0x3a2672{constructor(_0x3ed250,_0x1752bd,_0x86e8f6){const _0x4d69c0=_0x2fb5;super(_0x3ed250);const _0x2f3a32=new _0x59ba95();_0x2f3a32[_0x4d69c0(0x202)]({'content':_0x1706e5,'viewBox':_0x4d69c0(0x1f5)});const _0x5622ff=['ck',_0x4d69c0(0x1f8)];_0x86e8f6&&_0x5622ff[_0x4d69c0(0x1f3)](_0x4d69c0(0x205));const _0x12cf2d=[{'tag':_0x4d69c0(0x1f2),'attributes':{'class':['ck',_0x4d69c0(0x203)],'title':_0x2745b8(_0x3ed250,_0x86e8f6?_0x4d69c0(0x1ff):_0x4d69c0(0x200))},'children':[_0x2f3a32,_0x1752bd[_0x4d69c0(0x204)]]}];this[_0x4d69c0(0x1f7)]({'tag':'li','attributes':{'class':_0x5622ff},'children':_0x12cf2d});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x303d7f=_0x4dcf;(function(_0x404d99,_0x4a6b28){const _0x271ba0=_0x4dcf,_0x35a2bc=_0x404d99();while(!![]){try{const _0x311404=parseInt(_0x271ba0(0x1d0))/0x1*(-parseInt(_0x271ba0(0x1d1))/0x2)+-parseInt(_0x271ba0(0x1cd))/0x3+parseInt(_0x271ba0(0x1da))/0x4+-parseInt(_0x271ba0(0x1d9))/0x5+-parseInt(_0x271ba0(0x1c9))/0x6+-parseInt(_0x271ba0(0x1c2))/0x7+parseInt(_0x271ba0(0x1c3))/0x8;if(_0x311404===_0x4a6b28)break;else _0x35a2bc['push'](_0x35a2bc['shift']());}catch(_0x21c72d){_0x35a2bc['push'](_0x35a2bc['shift']());}}}(_0x4c15,0x5d65e));import{LabeledFieldView as _0x7c3694}from'ckeditor5/src/ui.js';import{ResizeObserver as _0xc28bbd}from'ckeditor5/src/utils.js';function _0x4dcf(_0x43fad0,_0x2a5a6d){const _0x4c15e2=_0x4c15();return _0x4dcf=function(_0x4dcf8c,_0x4f4c94){_0x4dcf8c=_0x4dcf8c-0x1be;let _0x2468a5=_0x4c15e2[_0x4dcf8c];return _0x2468a5;},_0x4dcf(_0x43fad0,_0x2a5a6d);}import{getTranslation as _0x1b1d2a}from'../../utils/common-translations.js';function _0x4c15(){const _0x35da95=['input','render','1206084VUknmq','bindTemplate','ck-tooltip_multi-line','clientWidth','2088381zxBeGx','destroy','Revision\x20name','3GfRrHi','438794pkFjXB','fieldView','extendTemplate','placeholder','listenTo','value','span','set','562080mqXHUa','2718316dvjmmM','ck-revision-history-sidebar__revision-name','_resizeObserver','scrollWidth','Enter\x20the\x20revision\x20name','2015209doHGAb','13268912BxEgWF','_tooltipString','_updateTooltipText','element'];_0x4c15=function(){return _0x35da95;};return _0x4c15();}import'../../../theme/revision/revisionname.css';export default class vt extends _0x7c3694{constructor(_0x17ff03,_0x1ec430){const _0x3a5c43=_0x4dcf;super(_0x17ff03,_0x1ec430),this[_0x3a5c43(0x1bf)]=null;const _0x37f0ee=this[_0x3a5c43(0x1ca)];this[_0x3a5c43(0x1d8)]({'label':_0x1b1d2a(_0x17ff03,_0x3a5c43(0x1cf)),'_tooltipString':''}),this[_0x3a5c43(0x1d2)][_0x3a5c43(0x1d4)]=_0x1b1d2a(_0x17ff03,_0x3a5c43(0x1c1)),this[_0x3a5c43(0x1d3)]({'tag':_0x3a5c43(0x1d7),'attributes':{'class':[_0x3a5c43(0x1be)],'data-cke-tooltip-text':_0x37f0ee['to'](_0x3a5c43(0x1c4)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x3a5c43(0x1cb)}});}[_0x303d7f(0x1c8)](){const _0x184867=_0x303d7f;super[_0x184867(0x1c8)](),this[_0x184867(0x1bf)]=new _0xc28bbd(this[_0x184867(0x1d2)][_0x184867(0x1c6)],()=>this[_0x184867(0x1c5)]()),this[_0x184867(0x1d5)](this[_0x184867(0x1d2)],_0x184867(0x1c7),()=>this[_0x184867(0x1c5)]());}[_0x303d7f(0x1ce)](){const _0x1f4a99=_0x303d7f;super[_0x1f4a99(0x1ce)](),this[_0x1f4a99(0x1bf)]&&this[_0x1f4a99(0x1bf)][_0x1f4a99(0x1ce)]();}[_0x303d7f(0x1c5)](){const _0x565d79=_0x303d7f,_0x92b896=this[_0x565d79(0x1d2)][_0x565d79(0x1c6)];this[_0x565d79(0x1c4)]=_0x92b896[_0x565d79(0x1c0)]>_0x92b896[_0x565d79(0x1cc)]&&_0x92b896[_0x565d79(0x1d6)]||'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20cec8=_0x5861;function _0x5861(_0x319751,_0x59b6ff){const _0x102476=_0x1024();return _0x5861=function(_0x5861a6,_0x52c32b){_0x5861a6=_0x5861a6-0x1d6;let _0x1ec898=_0x102476[_0x5861a6];return _0x1ec898;},_0x5861(_0x319751,_0x59b6ff);}(function(_0xd0bada,_0x3d8e95){const _0x294ee7=_0x5861,_0x3903d5=_0xd0bada();while(!![]){try{const _0x20711d=parseInt(_0x294ee7(0x204))/0x1*(parseInt(_0x294ee7(0x1fb))/0x2)+parseInt(_0x294ee7(0x20f))/0x3+-parseInt(_0x294ee7(0x1fa))/0x4+-parseInt(_0x294ee7(0x1d9))/0x5*(-parseInt(_0x294ee7(0x209))/0x6)+-parseInt(_0x294ee7(0x1df))/0x7*(-parseInt(_0x294ee7(0x1fd))/0x8)+parseInt(_0x294ee7(0x20b))/0x9+-parseInt(_0x294ee7(0x1ff))/0xa;if(_0x20711d===_0x3d8e95)break;else _0x3903d5['push'](_0x3903d5['shift']());}catch(_0x1f0514){_0x3903d5['push'](_0x3903d5['shift']());}}}(_0x1024,0xad4e2));import{View as _0xc8e975,createLabeledInputText as _0x3ab3c3}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0xf57f89}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x324ba7 from'./revisionnameview.js';import _0x5c5411 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1d8b1c}from'./utils.js';import{createActionsDropdownView as _0x499027}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0xf57f89(_0xc8e975){constructor(_0xf908a2,_0x206492,_0x5f484e,_0x54fc3f){const _0x33be04=_0x5861;super(_0xf908a2);const _0x2364a5=this[_0x33be04(0x20a)],_0x2ffd61=function(_0x48a100,_0x1daa80){const _0x2becca=_0x33be04,_0x1a30e8=Array[_0x2becca(0x211)](_0x1daa80[_0x2becca(0x1de)])[_0x2becca(0x1f4)](_0x36897f=>_0x36897f!=_0x1daa80[_0x2becca(0x206)]);return _0x1daa80[_0x2becca(0x206)]&&_0x1a30e8[_0x2becca(0x1d8)](_0x1daa80[_0x2becca(0x206)]),_0x1a30e8[_0x2becca(0x1ef)](_0x186330=>new _0x5c5411(_0x48a100,_0x186330,_0x186330==_0x1daa80[_0x2becca(0x206)]));}(_0xf908a2,_0x206492);this['id']=_0x206492['id'],this[_0x33be04(0x1f6)]=_0x206492,this[_0x33be04(0x1f7)]=_0x54fc3f,this[_0x33be04(0x210)](_0x33be04(0x208),_0x33be04(0x1ec))['to'](_0x206492),this[_0x33be04(0x210)](_0x33be04(0x20c))['to'](this,_0x33be04(0x1ec),_0x473a9f=>_0x1d8b1c(_0xf908a2[_0x33be04(0x1ee)],_0x473a9f)),this[_0x33be04(0x1d6)](_0x33be04(0x1f0),!0x1),this[_0x33be04(0x1d6)](_0x33be04(0x1e9),!0x1),this[_0x33be04(0x1d6)](_0x33be04(0x1dc),!0x1),this[_0x33be04(0x1d6)](_0x33be04(0x1fe),!0x1),this[_0x33be04(0x1d6)](_0x33be04(0x212),!0x1),this[_0x33be04(0x1f1)]=new _0x324ba7(_0xf908a2,_0x3ab3c3),this[_0x33be04(0x1f1)][_0x33be04(0x200)][_0x33be04(0x20d)]({'attributes':{'maxlength':_0x33be04(0x214)}}),this[_0x33be04(0x1f1)][_0x33be04(0x200)][_0x33be04(0x210)](_0x33be04(0x1da))['to'](this,_0x33be04(0x208),_0x389890=>_0x389890||this[_0x33be04(0x20c)]),this[_0x33be04(0x1f1)][_0x33be04(0x210)](_0x33be04(0x212))['to'](this,_0x33be04(0x1f0),this,_0x33be04(0x212),(_0x3b2388,_0x4ca72a)=>_0x3b2388&&_0x4ca72a),this[_0x33be04(0x201)]=_0x5f484e&&_0x5f484e[_0x33be04(0x216)]?_0x499027(this,_0x5f484e):'',this[_0x33be04(0x201)]&&this[_0x33be04(0x201)][_0x33be04(0x210)](_0x33be04(0x212))['to'](this),this[_0x33be04(0x205)]({'tag':_0x33be04(0x1e2),'attributes':{'class':['ck',_0x33be04(0x1f5),_0x33be04(0x1f9),_0x2364a5['if'](_0x33be04(0x1e6),_0x33be04(0x1f2))]},'children':[{'tag':_0x33be04(0x1e2),'attributes':{'class':['ck',_0x33be04(0x1f5),_0x33be04(0x1dd),_0x2364a5['if'](_0x33be04(0x212),_0x33be04(0x1db),_0x539801=>!_0x539801),_0x2364a5['if'](_0x33be04(0x1f0),_0x33be04(0x213)),_0x2364a5['if'](_0x33be04(0x1e9),_0x33be04(0x202)),_0x2364a5['if'](_0x33be04(0x1dc),_0x33be04(0x1e0))]},'children':[this[_0x33be04(0x1f1)],{'tag':_0x33be04(0x1f3),'attributes':{'class':['ck',_0x33be04(0x215)]},'children':[{'text':_0x2364a5['to'](_0x33be04(0x20c))}]},{'tag':_0x33be04(0x1e2),'attributes':{'class':['ck',_0x33be04(0x1e4)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x33be04(0x1ea)]},'children':_0x2ffd61}]},this[_0x33be04(0x201)]],'on':{'click':_0x2364a5['to'](_0x5112ba=>{const _0x597924=_0x33be04;_0x5112ba[_0x597924(0x1e8)][_0x597924(0x1e1)](_0x597924(0x1d7))||this[_0x597924(0x1fe)]&&this[_0x597924(0x212)]&&this[_0x597924(0x1ed)](_0x597924(0x1e7),{'id':this['id']});})}}]});}[_0x20cec8(0x1e5)](){const _0x39bb1b=_0x20cec8;super[_0x39bb1b(0x1e5)]();const _0x1636bb=this[_0x39bb1b(0x1f1)][_0x39bb1b(0x200)][_0x39bb1b(0x1f8)];this[_0x39bb1b(0x1fc)](_0x1636bb,_0x39bb1b(0x207),()=>{const _0x212546=_0x39bb1b;this[_0x212546(0x1f7)]&&!_0x1636bb[_0x212546(0x1da)]||this[_0x212546(0x1ed)](_0x212546(0x203),{'id':this['id'],'name':_0x1636bb[_0x212546(0x1da)]}),_0x1636bb[_0x212546(0x1da)]||(_0x1636bb[_0x212546(0x1da)]=this[_0x212546(0x208)]?this[_0x212546(0x208)]:this[_0x212546(0x20c)]);});}[_0x20cec8(0x1e7)](){const _0x1842db=_0x20cec8;this[_0x1842db(0x1f0)]=!0x0;}[_0x20cec8(0x20e)](){const _0x4e531f=_0x20cec8;this[_0x4e531f(0x1f0)]=!0x1;}[_0x20cec8(0x1eb)](){const _0x19d6ec=_0x20cec8;this[_0x19d6ec(0x1e9)]=!0x0;}[_0x20cec8(0x1e3)](){const _0x33dd55=_0x20cec8;this[_0x33dd55(0x1e9)]=!0x1;}}function _0x1024(){const _0x169398=['filter','ck-reset','_revision','_requireRevisionName','element','ck-revision-history-sidebar__revision-wrapper','4793776pvyBgI','36ZIMXOd','listenTo','3295608WJwnQJ','isReady','20497740bzOwUr','fieldView','revisionActionsView','ck-revision-history-sidebar__revision_highlighted','setName','72005cZQRbH','setTemplate','creator','change','name','30234mAKkIw','bindTemplate','2577393ZoZrbn','_createdAtFormatted','extendTemplate','deselect','3717867kubCgh','bind','from','isEnabled','ck-revision-history-sidebar__revision_selected','220','ck-revision-history-sidebar__revision__date','length','set','.ck-thread__remove-confirm','unshift','310flfucS','value','ck-disabled','isActionsDropdownOpen','ck-revision-history-sidebar__revision','authors','14wUQmqG','ck-revision-history-sidebar__actions_dropdown_open','closest','div','unhighlight','ck-revision-history-sidebar__revision__controls-wrapper','render','isConfirm','select','srcElement','isHighlighted','ck-revision-history-sidebar__revision-authors','highlight','createdAt','fire','uiLanguage','map','isSelected','revisionNameView','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','span'];_0x1024=function(){return _0x169398;};return _0x1024();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x16702a=_0xe6c5;(function(_0x5b5541,_0x749c1e){const _0x4089f7=_0xe6c5,_0x36cb5e=_0x5b5541();while(!![]){try{const _0x5f3247=-parseInt(_0x4089f7(0x1b0))/0x1+-parseInt(_0x4089f7(0x1ab))/0x2*(-parseInt(_0x4089f7(0x19a))/0x3)+parseInt(_0x4089f7(0x19f))/0x4*(parseInt(_0x4089f7(0x19d))/0x5)+parseInt(_0x4089f7(0x1a5))/0x6+parseInt(_0x4089f7(0x1a1))/0x7*(parseInt(_0x4089f7(0x1a4))/0x8)+parseInt(_0x4089f7(0x1af))/0x9+-parseInt(_0x4089f7(0x1a6))/0xa*(parseInt(_0x4089f7(0x1ac))/0xb);if(_0x5f3247===_0x749c1e)break;else _0x36cb5e['push'](_0x36cb5e['shift']());}catch(_0x51044f){_0x36cb5e['push'](_0x36cb5e['shift']());}}}(_0x1fc9,0x6505c));function _0xe6c5(_0x36330f,_0x4dc6bd){const _0x1fc90b=_0x1fc9();return _0xe6c5=function(_0xe6c585,_0x4ca78d){_0xe6c585=_0xe6c585-0x199;let _0x5b3efe=_0x1fc90b[_0xe6c585];return _0x5b3efe;},_0xe6c5(_0x36330f,_0x4dc6bd);}function _0x1fc9(){const _0xe9ffde=['737703nsmePr','setTemplate','set','ck-revision-history-sidebar__subrevision-collapser','1993155lpdVgS','button','ck-revision-history-sidebar__subrevision-collapser__inner','99955YZHbcm','click','60kcHEsq','_isCollapsed','35hCyyqa','span','toggle','822216MVItjN','1935780VzHTMe','70TXmlvV','isVisible','true','ck-hidden','ck-revision-history-sidebar__subrevision-collapser_collapsed','2dOIedo','1947506kIRmBP','false','bindTemplate','5310432NGouoW'];_0x1fc9=function(){return _0xe9ffde;};return _0x1fc9();}import{View as _0x3d00f9}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x3d00f9{constructor(_0x397019){const _0x27a8ac=_0xe6c5;super(_0x397019);const _0x3f35c7=this[_0x27a8ac(0x1ae)];this[_0x27a8ac(0x1b2)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x27a8ac(0x1b1)]({'tag':_0x27a8ac(0x1a2),'attributes':{'class':['ck',_0x27a8ac(0x199),_0x3f35c7['if'](_0x27a8ac(0x1a7),_0x27a8ac(0x1a9),_0x58d35f=>!_0x58d35f),_0x3f35c7['if'](_0x27a8ac(0x1a0),_0x27a8ac(0x1aa))],'role':_0x27a8ac(0x19b),'aria-pressed':_0x3f35c7['to'](_0x27a8ac(0x1a0),_0x17424a=>_0x17424a?_0x27a8ac(0x1ad):_0x27a8ac(0x1a8))},'children':[{'tag':_0x27a8ac(0x1a2),'attributes':{'class':['ck',_0x27a8ac(0x19c)]}}],'on':{'click':_0x3f35c7['to'](_0x27a8ac(0x19e))}});}[_0x16702a(0x1a3)](){const _0x755e06=_0x16702a;this[_0x755e06(0x1a0)]=!this[_0x755e06(0x1a0)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc0d00f=_0x5160;function _0x4030(){const _0x5e7d25=['setTemplate','105dIwqzZ','span','creator','ck-revision-history-sidebar__revision-authors','331421hqOVzw','5847684VuKQqg','1563736xXhjxV','12819xkrsnq','fire','ck-revision-history-sidebar__revision__date','bind','select','ck-reset','deselect','_parentRevisionId','uiLanguage','ck-revision-history-sidebar__subrevision','48257892mtNYrI','ck-revision-history-sidebar__revision','662wHPEkv','set','isSelected','bindTemplate','_createdAtFormatted','ck-revision-history-sidebar__revision_selected','createdAt','174556FDlrJb','8413342YKerUa','div'];_0x4030=function(){return _0x5e7d25;};return _0x4030();}(function(_0x2ab590,_0xbaecdf){const _0x4b514a=_0x5160,_0x3eaca9=_0x2ab590();while(!![]){try{const _0x677bd8=parseInt(_0x4b514a(0x1bd))/0x1+parseInt(_0x4b514a(0x1cc))/0x2*(-parseInt(_0x4b514a(0x1c0))/0x3)+-parseInt(_0x4b514a(0x1b5))/0x4*(parseInt(_0x4b514a(0x1b9))/0x5)+-parseInt(_0x4b514a(0x1be))/0x6+-parseInt(_0x4b514a(0x1b6))/0x7+-parseInt(_0x4b514a(0x1bf))/0x8+parseInt(_0x4b514a(0x1ca))/0x9;if(_0x677bd8===_0xbaecdf)break;else _0x3eaca9['push'](_0x3eaca9['shift']());}catch(_0x308845){_0x3eaca9['push'](_0x3eaca9['shift']());}}}(_0x4030,0xf1db0));import{View as _0x24ef26}from'ckeditor5/src/ui.js';import _0x236e0d from'./revisionauthorview.js';function _0x5160(_0x37db35,_0x5584ef){const _0x4030e7=_0x4030();return _0x5160=function(_0x516032,_0x4714c3){_0x516032=_0x516032-0x1b0;let _0x2fe3c9=_0x4030e7[_0x516032];return _0x2fe3c9;},_0x5160(_0x37db35,_0x5584ef);}import{dateToPrettyFormat as _0xc5645e}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x24ef26{constructor(_0x3951ee,_0x504d65,_0x306709){const _0x25cec6=_0x5160;super(_0x3951ee);const _0xde2607=this[_0x25cec6(0x1b1)];this['id']=_0x504d65['id'],this[_0x25cec6(0x1c3)](_0x25cec6(0x1b4))['to'](_0x504d65),this[_0x25cec6(0x1cd)](_0x25cec6(0x1b0),!0x1),this[_0x25cec6(0x1c3)](_0x25cec6(0x1b2))['to'](this,_0x25cec6(0x1b4),_0x18788a=>_0x18788a?_0xc5645e(_0x3951ee[_0x25cec6(0x1c8)],_0x18788a):void 0x0),this[_0x25cec6(0x1c7)]=_0x306709,this[_0x25cec6(0x1b8)]({'tag':_0x25cec6(0x1b7),'attributes':{'class':['ck',_0x25cec6(0x1c5),_0x25cec6(0x1cb),_0x25cec6(0x1c9),_0xde2607['if'](_0x25cec6(0x1b0),_0x25cec6(0x1b3))]},'children':[{'tag':_0x25cec6(0x1ba),'attributes':{'class':['ck',_0x25cec6(0x1c2)]},'children':[{'text':_0xde2607['to'](_0x25cec6(0x1b2))}]},{'tag':'ul','attributes':{'class':['ck',_0x25cec6(0x1bc)]},'children':[new _0x236e0d(_0x3951ee,_0x504d65[_0x25cec6(0x1bb)],!0x0)]}],'on':{'click':_0xde2607['to'](this[_0x25cec6(0x1c4)][_0x25cec6(0x1c3)](this))}});}[_0xc0d00f(0x1c4)](){const _0x3d067b=_0xc0d00f;this[_0x3d067b(0x1b0)]=!0x0,this[_0x3d067b(0x1c1)](_0x3d067b(0x1c4),{'parentId':this[_0x3d067b(0x1c7)]});}[_0xc0d00f(0x1c6)](){const _0x299bc0=_0xc0d00f;this[_0x299bc0(0x1b0)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4456(_0x4e4f72,_0x4631a1){var _0x408a40=_0x408a();return _0x4456=function(_0x4456de,_0x2ca241){_0x4456de=_0x4456de-0x172;var _0x5b6136=_0x408a40[_0x4456de];return _0x5b6136;},_0x4456(_0x4e4f72,_0x4631a1);}function _0x408a(){var _0xaf45f8=['398363NSLIGc','554720mLnEXG','long','4kdngct','476838gcLonL','toLocaleDateString','435897lHCSGz','1njZoOF','50hlgkRJ','numeric','1835088PqkcRn','toLocaleTimeString','24hCWnkS','767613PiwSDj','1106234EwhRGc'];_0x408a=function(){return _0xaf45f8;};return _0x408a();}(function(_0x279ced,_0x22f343){var _0x2ea619=_0x4456,_0x338f93=_0x279ced();while(!![]){try{var _0x2cf00f=parseInt(_0x2ea619(0x17a))/0x1*(-parseInt(_0x2ea619(0x172))/0x2)+-parseInt(_0x2ea619(0x180))/0x3*(-parseInt(_0x2ea619(0x176))/0x4)+-parseInt(_0x2ea619(0x174))/0x5+parseInt(_0x2ea619(0x17d))/0x6+-parseInt(_0x2ea619(0x173))/0x7*(-parseInt(_0x2ea619(0x17f))/0x8)+parseInt(_0x2ea619(0x177))/0x9*(parseInt(_0x2ea619(0x17b))/0xa)+-parseInt(_0x2ea619(0x179))/0xb;if(_0x2cf00f===_0x22f343)break;else _0x338f93['push'](_0x338f93['shift']());}catch(_0x23429c){_0x338f93['push'](_0x338f93['shift']());}}}(_0x408a,0x47b24));export function dateToPrettyFormat(_0x3c5482,_0x220423){var _0x472432=_0x4456;return _0x220423[_0x472432(0x178)](_0x3c5482,{'month':_0x472432(0x175),'day':_0x472432(0x17c)})+',\x20'+_0x220423[_0x472432(0x17e)](_0x3c5482,{'hour':_0x472432(0x17c),'minute':_0x472432(0x17c)});}
|