@ckeditor/ckeditor5-revision-history 42.0.2 → 43.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3b63d1=_0xbef1;(function(_0x4743de,_0x5afdbe){const _0x56d777=_0xbef1,_0x216f3c=_0x4743de();while(!![]){try{const _0x3b2daf=parseInt(_0x56d777(0x2a0))/0x1*(-parseInt(_0x56d777(0x307))/0x2)+parseInt(_0x56d777(0x309))/0x3+parseInt(_0x56d777(0x322))/0x4+-parseInt(_0x56d777(0x29f))/0x5+parseInt(_0x56d777(0x292))/0x6*(-parseInt(_0x56d777(0x2e5))/0x7)+parseInt(_0x56d777(0x270))/0x8+-parseInt(_0x56d777(0x21e))/0x9*(-parseInt(_0x56d777(0x298))/0xa);if(_0x3b2daf===_0x5afdbe)break;else _0x216f3c['push'](_0x216f3c['shift']());}catch(_0x2ab4c8){_0x216f3c['push'](_0x216f3c['shift']());}}}(_0x4ec8,0x3e720));import{Plugin as _0x207c06,Command as _0x450db5}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x42f9c8}from'ckeditor5/src/utils.js';function _0xbef1(_0x3a3251,_0x33d575){const _0x4ec830=_0x4ec8();return _0xbef1=function(_0xbef1d2,_0x4f3828){_0xbef1d2=_0xbef1d2-0x1e2;let _0x11970a=_0x4ec830[_0xbef1d2];return _0x11970a;},_0xbef1(_0x3a3251,_0x33d575);}import{ContextualBalloon as _0x3ca3a0}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x1fb6df,Element as _0x4d3be8,Text as _0x3ef66e,ViewDocumentFragment as _0x238706,ViewText as _0xdc5112,ViewElement as _0x5105f6,ViewContainerElement as _0x4b9bb0,ViewAttributeElement as _0x1d6e33,ViewEmptyElement as _0x53ae17,ViewRawElement as _0x574bb8,ViewUIElement as _0x456268}from'ckeditor5/src/engine.js';import{Users as _0x5b8b1c,getMarkerDomElement as _0x583066}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x463c13 from'./ui/revisionviewer/changedetailsview.js';import _0x509a5a from'./revisionsrepository.js';import _0x192ffa from'./changeitem.js';function _0x4ec8(){const _0x481968=['enqueueChange','repository','data-revision-','dataDowncast','flat','elementToAttribute','maxOffset','all','has','_removeUnsupportedChanges','userId','markers','activeChange','uiElement','low','writer','WidgetToolbarRepository','1662928cWIqYZ','removeClass','isSuggestion','_cleanMarkers','deletion','ck-revision-history-root-remove','createRange','restoreRevision','unbindElementFromMarkerName','ck-suggestion-preview-marker-','abs','for','vid_end','revision-suggestion:','_getChangeFromId','sort','suggestion:','default','parent','consume','isEqual','code','getAttributes','side','previousPosition','checkAttribute','insert','map','editing','change:numberOfChanges','change:isEnabled','keys','viewItem','rootName','bindElementToMarker','length','createPositionFromPath','item','elementEnd','type','editingDowncast','filter','children','-new','mouseover','_getRevisionsRange','ck-suggestion-marker--active','isReady','domConverter','RevisionViewer','editor','_fixObsoleteTags','from','marked','getRevision','end','_removeRevisionMarkers','affectsData','get','authors','suggestion','consumable','markerNameToElements','remove','isNavigationMode','ck-revision-history-root-add','mousedown','vid_start','_getDiff','_makeModelFromTape','pop','dataToMarker','change:isReady','comment','_appendChild','99uocIEQ','concat','_markSuggestions','createRevision','indexOf','change:activeView','_step','_setDistance','revision-comment:','diffData','isAdded','ck-revision-history-root-','revision-end','_initInteractions','_removeMissingPairs','collaboration.channelId','getRevisionRootsAttributes','_threeWayMerge','createUIElement','done','createRangeIn','error','currentChangeNumber','isContent','splice','enableReadOnlyMode','offsetSize','_revisions','addMarker:revision','isLimit','insertion','wrap','softBreak','bind','getCustomProperty','changeId','change:activeChange','markerName','createAttributeElement','add','showStack','slice','pairId','_changeIdToChange','forceDisabled','shift','newRevisionId','includes','backward','addRevisionData','_changeView','isAttached','getAttribute','isAtEnd','data','target','_processTape','getRevisionData','revision','adapter','setAttribute','elementStart','commands','data-change-id','isObject','first','showPreviousChange','_joinTapes','start','return','toViewElement','attribute:vid','plugins','isRemoved','toData','nextPosition','isCollapsed','next','isOnRoot','addMarker:revision-suggestion:deletion','_data','compare','1359176osnQqt','requires','element','ck-editor__editable__overlay','then','schema','revisionHistoryAttachChange','_update','upcast','_markMismatchedRemovedTags','_markInsertions','range','destroy','right','index','listenTo','hasAttribute','changes','getItems','roots','findIndex','isEnabled','bottom','getChild','removeMarker:revision-suggestion','createPositionBefore','hasClass','push','resolve','ck-suggestion-marker-','_makeTape','model','view','nextSibling','5514UeHCLX','toModel','updatePosition','isAddSuggestion','getClientRects','high','202080CtmxuE','attributes','addRoot','conversion','unshift','markerToHighlight','revision-viewer','555135QcuHlD','11NsxUrr','_getViewObj','downcastDispatcher','level','toViewPosition','numberOfChanges','element:pre','POSITIVE_INFINITY','_refreshStartEndIndex','string','removeMarker','ck-suggestion-preview-marker','merge','mapper','reconvertMarker','restoreRevisionCallback','revision-start','domEvent','text','removeMarker:revision','startIndex','addRevision','_setChanges','isBlock','isInline','selection','observeMarkers','_getViewForChange','RevisionsRepository','getWalker','mapViewToDom','change','ck-revision-history-root--active','_cleanUp','isAfter','loadRevisionData','getRoot','object','locale','execute','detachRoot','toViewRange','revisionHistoryLabel','highest','markerToData','addClass','_findChangeIdFromDomTarget','test','addMarker:revision-suggestion:insertion','left','split','document','insertions','config','catch','startsWith','getRootNames','init','isIncorrect','ck-suggestion-marker-split','isBefore','markersStart','markersEnd','span','vid','revision:','refresh','getDomRoot','_markMarkers','1421muEZzL','_balloon','_setConversion','revisionHistory','endIndex','attributesAfter','forward','values','nodeAfter','deletions','stop','find','processor','addHighlight','oldRevisionId','distance','showNextChange','top','parse','getIndex','activeView','isRemoveSuggestion','revision-suggestion','forEach','ck-suggestion-marker-merge','attributesBefore','useFillerType','isAtStart','attachChange','_makeModelFromViewString','diff','clear','removeAttribute','ck-suggestion-marker','53110EVyWnB','name','112644EPDJEF','modelRange','pluginName','markerRange','_activeViewTarget','_sortAndFilterDiffChanges','set','delete'];_0x4ec8=function(){return _0x481968;};return _0x4ec8();}import{default as _0x2e5c80}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x1910dd}from'lodash-es';const tt={'c':_0x4b9bb0,'a':_0x1d6e33,'e':_0x53ae17,'r':_0x574bb8,'u':_0x456268};export default class d extends _0x207c06{static get[_0x3b63d1(0x30b)](){const _0x67013=_0x3b63d1;return _0x67013(0x204);}static get[_0x3b63d1(0x271)](){return[_0x5b8b1c,_0x3ca3a0,_0x509a5a];}constructor(_0xd515cb){const _0x2f779f=_0x3b63d1;super(_0xd515cb),this[_0x2f779f(0x312)]=this[_0x2f779f(0x205)][_0x2f779f(0x266)][_0x2f779f(0x20d)](_0x2f779f(0x2bc)),this[_0x2f779f(0x30f)](_0x2f779f(0x31d),null),this[_0x2f779f(0x30f)](_0x2f779f(0x2f9),null),this[_0x2f779f(0x30d)]=null,this[_0x2f779f(0x30f)](_0x2f779f(0x303),null),this[_0x2f779f(0x30f)](_0x2f779f(0x202),!0x1),this[_0x2f779f(0x30f)](_0x2f779f(0x285),!0x0),this['on'](_0x2f779f(0x1f1),(_0x427c03,_0x39642b,_0x1e900a)=>{const _0x140bed=_0x2f779f;this[_0x140bed(0x31d)]=null,this[_0x140bed(0x2f9)]=null,this[_0x140bed(0x205)][_0x140bed(0x1ef)][_0x140bed(0x290)][_0x140bed(0x2bf)](_0x59976c=>{const _0x4e5c4f=_0x140bed;for(const _0x8ddcbc of this[_0x4e5c4f(0x205)][_0x4e5c4f(0x1ef)][_0x4e5c4f(0x290)][_0x4e5c4f(0x2d3)][_0x4e5c4f(0x283)])_0x1e900a?_0x59976c[_0x4e5c4f(0x323)](_0x4e5c4f(0x273),_0x8ddcbc):_0x59976c[_0x4e5c4f(0x2cd)](_0x4e5c4f(0x273),_0x8ddcbc);});}),this[_0x2f779f(0x23f)](_0x2f779f(0x213))['to'](this,_0x2f779f(0x31d),_0x165492=>null!==_0x165492),this[_0x2f779f(0x23f)](_0x2f779f(0x234))['to'](this,_0x2f779f(0x202),this,_0x2f779f(0x303),this,_0x2f779f(0x31d),(_0x5912b6,_0xa230f0,_0x5bcd46)=>_0x5912b6&&_0x5bcd46?_0xa230f0[_0x2f779f(0x281)][_0x2f779f(0x2f8)](_0x5bcd46):0x0),this[_0x2f779f(0x23f)](_0x2f779f(0x2a5))['to'](this,_0x2f779f(0x202),this,_0x2f779f(0x303),(_0x22aa0a,_0x3d8755)=>_0x22aa0a?_0x3d8755[_0x2f779f(0x281)][_0x2f779f(0x1f6)]:0x0),this[_0x2f779f(0x250)]=null,this[_0x2f779f(0x249)]=new Map(),this[_0x2f779f(0x259)]=null,this[_0x2f779f(0x2e6)]=this[_0x2f779f(0x205)][_0x2f779f(0x266)][_0x2f779f(0x20d)](_0x3ca3a0);}[_0x3b63d1(0x2d9)](){const _0x3488bf=_0x3b63d1,_0x396032=this[_0x3488bf(0x205)],_0x3a0f40=new ShowChangeCommand(_0x396032,{'direction':_0x3488bf(0x24e)}),_0x5f03c5=new ShowChangeCommand(_0x396032,{'direction':_0x3488bf(0x2eb)});(_0x396032[_0x3488bf(0x25c)][_0x3488bf(0x245)](_0x3488bf(0x260),_0x3a0f40),_0x396032[_0x3488bf(0x25c)][_0x3488bf(0x245)](_0x3488bf(0x2f5),_0x5f03c5),_0x396032[_0x3488bf(0x25c)][_0x3488bf(0x245)](_0x3488bf(0x329),new RestoreRevisionCommand(_0x396032)),this['on'](_0x3488bf(0x1f0),()=>{const _0x18b6ee=_0x3488bf;_0x3a0f40[_0x18b6ee(0x2e2)](),_0x5f03c5[_0x18b6ee(0x2e2)]();}),this[_0x3488bf(0x2e7)](),this[_0x3488bf(0x22b)](),_0x396032[_0x3488bf(0x237)](_0x3488bf(0x29e)),_0x396032[_0x3488bf(0x266)][_0x3488bf(0x319)](_0x3488bf(0x321)))&&_0x396032[_0x3488bf(0x266)][_0x3488bf(0x20d)](_0x3488bf(0x321))[_0x3488bf(0x24a)](_0x3488bf(0x29e));}async[_0x3b63d1(0x257)](_0x2a01c9){const _0x1a9307=_0x3b63d1;await this[_0x1a9307(0x2c3)](_0x2a01c9);const _0x595e1b={};for(const _0x3b25a4 in _0x2a01c9[_0x1a9307(0x227)]){if(_0x2a01c9[_0x1a9307(0x227)][_0x3b25a4][_0x1a9307(0x301)]&&!_0x2a01c9[_0x1a9307(0x227)][_0x3b25a4][_0x1a9307(0x301)][_0x1a9307(0x251)])continue;const _0x52741c=this[_0x1a9307(0x20b)](JSON[_0x1a9307(0x2f7)](_0x2a01c9[_0x1a9307(0x227)][_0x3b25a4][_0x1a9307(0x2d4)])),_0x1d2ac1=this[_0x1a9307(0x205)][_0x1a9307(0x1ef)][_0x1a9307(0x290)][_0x1a9307(0x2d3)],_0x11c9f0=new _0x238706(_0x1d2ac1,_0x52741c[_0x1a9307(0x1ee)](_0x14389f=>this[_0x1a9307(0x2a1)](_0x14389f)));this[_0x1a9307(0x205)][_0x1a9307(0x254)][_0x1a9307(0x2f1)][_0x1a9307(0x2ff)](_0x1a9307(0x208)),_0x595e1b[_0x3b25a4]=this[_0x1a9307(0x205)][_0x1a9307(0x254)][_0x1a9307(0x2f1)][_0x1a9307(0x268)](_0x11c9f0),this[_0x1a9307(0x205)][_0x1a9307(0x254)][_0x1a9307(0x2f1)][_0x1a9307(0x2ff)](_0x1a9307(0x1e4));}return _0x595e1b;}async[_0x3b63d1(0x22e)](_0xc077f5){const _0x53fc43=_0x3b63d1;await this[_0x53fc43(0x2c3)](_0xc077f5);const _0x34d457={};for(const _0xb3aa82 in _0xc077f5[_0x53fc43(0x227)])_0xc077f5[_0x53fc43(0x227)][_0xb3aa82][_0x53fc43(0x301)]&&!_0xc077f5[_0x53fc43(0x227)][_0xb3aa82][_0x53fc43(0x301)][_0x53fc43(0x251)]||(_0x34d457[_0xb3aa82]=_0xc077f5[_0x53fc43(0x227)][_0xb3aa82][_0x53fc43(0x2ea)]||{});return _0x34d457;}[_0x3b63d1(0x20b)](_0x1cf7b8){const _0x4d7e36=_0x3b63d1;return(_0x1cf7b8=_0x1cf7b8[_0x4d7e36(0x1fc)](_0x1bc34e=>!_0x1bc34e[_0x4d7e36(0x308)]||_0x4d7e36(0x2b0)!==_0x1bc34e[_0x4d7e36(0x308)]&&_0x4d7e36(0x22a)!==_0x1bc34e[_0x4d7e36(0x308)]))[_0x4d7e36(0x2fc)](_0x42671c=>{const _0x7c997=_0x4d7e36;_0x7c997(0x2a9)!=typeof _0x42671c&&(_0x42671c[_0x7c997(0x1fd)]=this[_0x7c997(0x20b)](_0x42671c[_0x7c997(0x1fd)]),_0x42671c[_0x7c997(0x299)]=_0x42671c[_0x7c997(0x299)][_0x7c997(0x1fc)](_0x2a3f3d=>!_0x2a3f3d[0x0][_0x7c997(0x2d7)](_0x7c997(0x313))));}),_0x1cf7b8;}async[_0x3b63d1(0x26f)](_0x329ba0,_0x59ad1c,_0x2f8fbc=!0x1){const _0x2df31a=_0x3b63d1;if(!this[_0x2df31a(0x285)])return;const _0x14e3f9=this[_0x2df31a(0x303)],_0x465fde=this[_0x2df31a(0x312)],_0x561b99=_0x2df31a(0x2a9)==typeof _0x329ba0?_0x465fde[_0x2df31a(0x209)](_0x329ba0):_0x329ba0,_0x2e3af8=_0x2df31a(0x2a9)==typeof _0x59ad1c?_0x465fde[_0x2df31a(0x209)](_0x59ad1c):_0x59ad1c,_0x136785=_0x561b99['id'],_0x356737=_0x2e3af8?_0x2e3af8['id']:null;if(!_0x2f8fbc&&this[_0x2df31a(0x303)]&&this[_0x2df31a(0x303)][_0x2df31a(0x24c)]===_0x136785&&this[_0x2df31a(0x303)][_0x2df31a(0x2f3)]===_0x356737)return Promise[_0x2df31a(0x28c)]();this[_0x2df31a(0x202)]=!0x1,this[_0x2df31a(0x2f9)]=null,this[_0x2df31a(0x31d)]=null,this[_0x2df31a(0x303)]=new _0x2e5c80(_0x136785,_0x356737);const _0x49727d=this[_0x2df31a(0x200)](_0x561b99,_0x2e3af8,!0x0)[_0x2df31a(0x1ee)](_0x242f1a=>this[_0x2df31a(0x2c3)](_0x242f1a));return _0x49727d[_0x2df31a(0x28b)](new Promise(_0x46e102=>{setTimeout(_0x46e102,0x14);})),Promise[_0x2df31a(0x318)](_0x49727d)[_0x2df31a(0x274)](()=>{const _0x5a6d41=_0x2df31a;if(!this[_0x5a6d41(0x285)])return;this[_0x5a6d41(0x2c1)]();const _0x2fecfa=this[_0x5a6d41(0x217)](_0x136785,_0x356737);for(const _0xaf7cbf of _0x2fecfa[_0x5a6d41(0x281)])this[_0x5a6d41(0x249)][_0x5a6d41(0x30f)](_0xaf7cbf['id'],_0xaf7cbf);this[_0x5a6d41(0x205)][_0x5a6d41(0x28f)][_0x5a6d41(0x311)]({'isUndoable':!0x1},_0x35a878=>{const _0x54cc61=_0x5a6d41;for(const _0x1a30ee of this[_0x54cc61(0x205)][_0x54cc61(0x28f)][_0x54cc61(0x2d3)][_0x54cc61(0x2d8)]())_0x35a878[_0x54cc61(0x2c8)](_0x1a30ee);for(const _0x209399 of Object[_0x54cc61(0x1f2)](_0x2fecfa[_0x54cc61(0x28f)])){const _0x24bcd7=_0x35a878[_0x54cc61(0x29a)](_0x209399);for(const _0x1098a0 of Object[_0x54cc61(0x1f2)](_0x2fecfa[_0x54cc61(0x299)][_0x209399]))_0x35a878[_0x54cc61(0x25a)](_0x1098a0,_0x2fecfa[_0x54cc61(0x299)][_0x209399][_0x1098a0],_0x24bcd7);_0x35a878[_0x54cc61(0x1ed)](_0x2fecfa[_0x54cc61(0x28f)][_0x209399],_0x24bcd7,0x0);}}),this[_0x5a6d41(0x303)][_0x5a6d41(0x2b6)](this[_0x5a6d41(0x30e)](_0x2fecfa[_0x5a6d41(0x281)])),this[_0x5a6d41(0x202)]=!0x0;})[_0x2df31a(0x2d6)](_0x2e53e2=>{const _0x361480=_0x2df31a;console[_0x361480(0x233)](_0x2e53e2),this[_0x361480(0x2c1)](),_0x14e3f9&&(this[_0x361480(0x303)]=_0x14e3f9),this[_0x361480(0x202)]=!0x0;});}[_0x3b63d1(0x24f)](_0x42f3b1,_0x1453c5){const _0xcb2736=_0x3b63d1,_0x13117c=this[_0xcb2736(0x312)][_0xcb2736(0x221)](_0x42f3b1);return _0x13117c['on'](_0xcb2736(0x277),(_0x2ed204,_0x4d5b16,_0x36afd7)=>_0x1453c5(_0x4d5b16,_0x36afd7,_0x13117c)),this[_0xcb2736(0x312)][_0xcb2736(0x2b5)](_0x13117c),_0x13117c;}[_0x3b63d1(0x2c3)](_0x17e3a4){const _0x3e725e=_0x3b63d1;if(!_0x17e3a4||_0x17e3a4[_0x3e725e(0x227)])return Promise[_0x3e725e(0x28c)]();{const _0x42d5d7=this[_0x3e725e(0x205)][_0x3e725e(0x2d5)][_0x3e725e(0x20d)](_0x3e725e(0x22d));return this[_0x3e725e(0x259)][_0x3e725e(0x209)]({'channelId':_0x42d5d7,'revisionId':_0x17e3a4['id']})[_0x3e725e(0x274)](_0x1cd1b2=>{const _0x6a14e0=_0x3e725e;_0x17e3a4[_0x6a14e0(0x277)]({'diffData':_0x1cd1b2[_0x6a14e0(0x227)]},!0x0);});}}[_0x3b63d1(0x2c1)](){const _0x52746f=_0x3b63d1;this[_0x52746f(0x31d)]=null,this[_0x52746f(0x325)](),this[_0x52746f(0x250)]&&this[_0x52746f(0x250)][_0x52746f(0x27c)](),this[_0x52746f(0x250)]=null,this[_0x52746f(0x249)][_0x52746f(0x304)](),this[_0x52746f(0x205)][_0x52746f(0x28f)][_0x52746f(0x311)]({'isUndoable':!0x1},_0x12d3c2=>{const _0xe63af2=_0x52746f;for(const _0x1752a0 of this[_0xe63af2(0x205)][_0xe63af2(0x28f)][_0xe63af2(0x2d3)][_0xe63af2(0x2d8)]())_0x12d3c2[_0xe63af2(0x2c8)](_0x1752a0);});}[_0x3b63d1(0x30e)](_0x46f0a6){const _0x3ad226=_0x3b63d1,_0x19ee11=[],_0x446d01=new Map();for(const _0x36d1c1 of this[_0x3ad226(0x205)][_0x3ad226(0x28f)][_0x3ad226(0x2d3)][_0x3ad226(0x2d8)]()){const _0x2d20a4=this[_0x3ad226(0x205)][_0x3ad226(0x1ef)][_0x3ad226(0x290)][_0x3ad226(0x2e3)](_0x36d1c1);if(!_0x2d20a4)continue;const _0x3c11ab=_0x2d20a4[_0x3ad226(0x296)]()[_0x3ad226(0x1f8)](0x0);_0x3c11ab&&(_0x19ee11[_0x3ad226(0x28b)](_0x36d1c1),_0x446d01[_0x3ad226(0x30f)](_0x36d1c1,_0x3c11ab));}return _0x19ee11[_0x3ad226(0x1e2)]((_0x340940,_0x37f2bf)=>{const _0x5700ea=_0x3ad226,_0x13aa24=_0x446d01[_0x5700ea(0x20d)](_0x340940),_0x5c1ddc=_0x446d01[_0x5700ea(0x20d)](_0x37f2bf);return _0x13aa24['y']-_0x5c1ddc['y']||_0x13aa24['x']-_0x5c1ddc['x'];}),(_0x46f0a6=_0x46f0a6[_0x3ad226(0x1fc)](_0x43085c=>_0x19ee11[_0x3ad226(0x24d)](_0x43085c[_0x3ad226(0x1f4)])))[_0x3ad226(0x1e2)]((_0x3b718b,_0x4d7972)=>_0x19ee11[_0x3ad226(0x222)](_0x3b718b[_0x3ad226(0x1f4)])-_0x19ee11[_0x3ad226(0x222)](_0x4d7972[_0x3ad226(0x1f4)])),_0x46f0a6;}[_0x3b63d1(0x28e)](_0x1f3f06){const _0x125070=_0x3b63d1,_0x3ecfe2=Array[_0x125070(0x207)](_0x1f3f06[_0x125070(0x31c)])[_0x125070(0x1fc)](([_0x1553ad,_0x406fb9])=>_0x1553ad[_0x125070(0x2d7)](_0x125070(0x2e1))&&!_0x406fb9[_0x125070(0x26a)]),_0x57ff69=Array[_0x125070(0x207)](this[_0x125070(0x205)][_0x125070(0x28f)][_0x125070(0x232)](_0x1f3f06)[_0x125070(0x2bd)]({'singleCharacters':!0x0}));if(0x0!=_0x3ecfe2[_0x125070(0x1f6)])for(const _0x495672 of _0x57ff69){const [_0x16b9cf,_0x3875d1]=_0x3ecfe2[0x0],[,_0x3b27fb,_0x1ee2a2]=_0x16b9cf[_0x125070(0x2d2)](':');if(_0x3875d1[_0x125070(0x20a)][_0x125070(0x1e7)](_0x495672[_0x125070(0x269)])&&_0x3ecfe2[_0x125070(0x24b)](),(_0x495672[_0x125070(0x1eb)][_0x125070(0x1e7)](_0x3875d1[_0x125070(0x262)])||_0x495672[_0x125070(0x1eb)][_0x125070(0x2c2)](_0x3875d1[_0x125070(0x262)]))&&(_0x125070(0x23c)==_0x3b27fb?_0x495672[_0x125070(0x228)]={'userId':_0x1ee2a2}:_0x125070(0x326)==_0x3b27fb&&(_0x495672[_0x125070(0x267)]={'userId':_0x1ee2a2})),0x0==_0x3ecfe2[_0x125070(0x1f6)])break;}return _0x57ff69;}[_0x3b63d1(0x2a8)](_0x456295){const _0x56cd15=_0x3b63d1,_0x353fec=new Map();for(let _0x539e18=0x0;_0x539e18<_0x456295[_0x56cd15(0x1f6)];_0x539e18++)_0x56cd15(0x2b2)===_0x456295[_0x539e18][_0x56cd15(0x1fa)]?(_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2b4)]=_0x539e18,_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2e9)]=_0x539e18):(_0x56cd15(0x25b)===_0x456295[_0x539e18][_0x56cd15(0x1fa)]?_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2b4)]=_0x539e18:_0x56cd15(0x1f9)===_0x456295[_0x539e18][_0x56cd15(0x1fa)]&&(_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2e9)]=_0x539e18),_0x353fec[_0x56cd15(0x30f)](_0x456295[_0x539e18]['id'],_0x539e18));for(const _0x26e7ff of _0x353fec[_0x56cd15(0x2ec)]())_0x56cd15(0x25b)===_0x456295[_0x26e7ff][_0x56cd15(0x1fa)]?_0x456295[_0x26e7ff][_0x56cd15(0x1f8)][_0x56cd15(0x2e9)]=_0x353fec[_0x56cd15(0x20d)](_0x456295[_0x26e7ff][_0x56cd15(0x248)]):_0x56cd15(0x1f9)===_0x456295[_0x26e7ff][_0x56cd15(0x1fa)]&&(_0x456295[_0x26e7ff][_0x56cd15(0x1f8)][_0x56cd15(0x2b4)]=_0x353fec[_0x56cd15(0x20d)](_0x456295[_0x26e7ff][_0x56cd15(0x248)]));}[_0x3b63d1(0x256)](_0x280a9a){const _0x1cb6f8=_0x3b63d1;for(let _0x496383=0x0;_0x496383<_0x280a9a[_0x1cb6f8(0x1f6)];_0x496383++){if(_0x1cb6f8(0x25b)===_0x280a9a[_0x496383][_0x1cb6f8(0x1fa)])_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2b4)]=_0x496383;else{if(_0x1cb6f8(0x1f9)===_0x280a9a[_0x496383][_0x1cb6f8(0x1fa)]){_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2e9)]=_0x496383;const _0xc5e4f4=_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2b4)];_0x280a9a[_0xc5e4f4][_0x1cb6f8(0x248)]=_0x280a9a[_0x496383]['id'],_0x280a9a[_0x496383][_0x1cb6f8(0x248)]=_0x280a9a[_0xc5e4f4]['id'];}else _0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2b4)]=_0x496383,_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2e9)]=_0x496383,_0x280a9a[_0x496383][_0x1cb6f8(0x248)]=null;}_0x280a9a[_0x496383][_0x1cb6f8(0x2dd)]||(_0x280a9a[_0x496383][_0x1cb6f8(0x2dd)]=[],_0x280a9a[_0x496383][_0x1cb6f8(0x2de)]=[]);}}[_0x3b63d1(0x27a)](_0x5370cf,_0x148b96){const _0x4b7e2b=_0x3b63d1,_0x177ae9=_0x5370cf[_0x4b7e2b(0x1fc)](_0x1adfb6=>!_0x1adfb6[_0x4b7e2b(0x228)]);for(let _0x4d7bf6=0x0;_0x4d7bf6<_0x148b96[_0x4b7e2b(0x1f6)];_0x4d7bf6++)_0x148b96[_0x4d7bf6][_0x4b7e2b(0x228)]&&(_0x177ae9[_0x4d7bf6][_0x4b7e2b(0x228)]=_0x148b96[_0x4d7bf6][_0x4b7e2b(0x228)]);}[_0x3b63d1(0x302)](_0x4c4fe8){const _0x19b0da=_0x3b63d1,_0x23da45=JSON[_0x19b0da(0x2f7)](_0x4c4fe8),_0x467c4f=this[_0x19b0da(0x205)][_0x19b0da(0x1ef)][_0x19b0da(0x290)][_0x19b0da(0x2d3)],_0x1b9806=new _0x238706(_0x467c4f,_0x23da45[_0x19b0da(0x1ee)](_0x154136=>this[_0x19b0da(0x2a1)](_0x154136)));return this[_0x19b0da(0x205)][_0x19b0da(0x254)][_0x19b0da(0x293)](_0x1b9806);}[_0x3b63d1(0x2a1)](_0x3d92f5){const _0x3849fe=_0x3b63d1,_0x49c2f7=this[_0x3849fe(0x205)][_0x3849fe(0x1ef)][_0x3849fe(0x290)][_0x3849fe(0x2d3)];if(_0x3849fe(0x2a9)==typeof _0x3d92f5)return new _0xdc5112(_0x49c2f7,_0x3d92f5);{const _0x2b39f7=_0x3d92f5[_0x3849fe(0x1fd)][_0x3849fe(0x1ee)](_0x568ba1=>this[_0x3849fe(0x2a1)](_0x568ba1));return new(tt[_0x3d92f5[(_0x3849fe(0x1fa))]]||_0x5105f6)(_0x49c2f7,_0x3d92f5[_0x3849fe(0x308)],_0x3d92f5[_0x3849fe(0x299)],_0x2b39f7);}}[_0x3b63d1(0x217)](_0x32578e,_0x1d41d9=null){const _0x3f6412=_0x3b63d1,_0x371e50=this[_0x3f6412(0x312)][_0x3f6412(0x209)](_0x32578e),_0x143a21=_0x1d41d9?this[_0x3f6412(0x312)][_0x3f6412(0x209)](_0x1d41d9):null,_0x4f6a46=this[_0x3f6412(0x200)](_0x371e50,_0x143a21),_0x48e6e4=_0x4f6a46[_0x4f6a46[_0x3f6412(0x1f6)]-0x1],_0x387bc8=new Map(),_0x2cefc9={'model':{},'attributes':{},'changes':[]},_0x533856=new Set(),_0x2d3f94=new Map();for(let _0x4d082c=_0x4f6a46[_0x3f6412(0x1f6)]-0x1;_0x4d082c>=0x0;_0x4d082c--){const _0x4eba8b=_0x4f6a46[_0x4d082c];for(const _0x3983e1 of Object[_0x3f6412(0x1f2)](_0x4eba8b[_0x3f6412(0x227)]))if(_0x4eba8b[_0x3f6412(0x227)][_0x3983e1][_0x3f6412(0x301)]){const _0x9a3760=_0x4eba8b[_0x3f6412(0x227)][_0x3983e1][_0x3f6412(0x301)];_0x9a3760[_0x3f6412(0x251)]?(_0x533856[_0x3f6412(0x245)](_0x3983e1),_0x2d3f94[_0x3f6412(0x319)](_0x3983e1)&&_0x2d3f94[_0x3f6412(0x20d)](_0x3983e1)[_0x3f6412(0x31b)]==_0x9a3760[_0x3f6412(0x31b)]?_0x2d3f94[_0x3f6412(0x310)](_0x3983e1):_0x2d3f94[_0x3f6412(0x30f)](_0x3983e1,_0x9a3760)):_0x2d3f94[_0x3f6412(0x319)](_0x3983e1)?(_0x533856[_0x3f6412(0x310)](_0x3983e1),_0x2d3f94[_0x3f6412(0x310)](_0x3983e1)):(_0x533856[_0x3f6412(0x245)](_0x3983e1),_0x2d3f94[_0x3f6412(0x30f)](_0x3983e1,_0x9a3760));}else _0x533856[_0x3f6412(0x245)](_0x3983e1);}for(const _0x4ec53d of _0x533856){const _0x2ab400=_0x2d3f94[_0x3f6412(0x319)](_0x4ec53d)&&!_0x2d3f94[_0x3f6412(0x20d)](_0x4ec53d)[_0x3f6412(0x251)];let _0x40ff40=_0x2ab400?_0x4f6a46[_0x3f6412(0x1f6)]-0x1:0x0;const _0x3ad56b=_0x2ab400?-0x1:0x1;for(;_0x4f6a46[_0x40ff40];){const _0x48d451=_0x4f6a46[_0x40ff40];if(_0x48d451[_0x3f6412(0x227)][_0x4ec53d]){const _0x44dd3d=_0x2ab400?_0x48d451[_0x3f6412(0x227)][_0x4ec53d][_0x3f6412(0x2fe)]:_0x48d451[_0x3f6412(0x227)][_0x4ec53d][_0x3f6412(0x2ea)];_0x2cefc9[_0x3f6412(0x299)][_0x4ec53d]=_0x44dd3d?_0x1910dd(_0x44dd3d):{};break;}_0x40ff40+=_0x3ad56b;}}for(const _0x30741b of _0x4f6a46){_0x30741b[_0x3f6412(0x28f)]={};for(const _0x5cb82c of _0x30741b[_0x3f6412(0x20e)])_0x387bc8[_0x3f6412(0x30f)](_0x5cb82c['id'],_0x5cb82c);for(const _0x4fc159 of _0x533856){const _0x1d6e1f=_0x30741b[_0x3f6412(0x227)][_0x4fc159]?_0x30741b[_0x3f6412(0x227)][_0x4fc159][_0x3f6412(0x2d4)]:'[]',_0x5c793d=_0x30741b[_0x3f6412(0x227)][_0x4fc159]?_0x30741b[_0x3f6412(0x227)][_0x4fc159][_0x3f6412(0x2ee)]:'[]';_0x30741b[_0x3f6412(0x28f)][_0x4fc159]={'insertions':this[_0x3f6412(0x302)](_0x1d6e1f),'deletions':this[_0x3f6412(0x302)](_0x5c793d)};}}for(const _0x2a0a30 of _0x533856){let _0x53d34b=null,_0x9d992c=0x0;const _0x5c9a34=new Map(Array[_0x3f6412(0x207)](_0x371e50[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2d4)][_0x3f6412(0x31c)])[_0x3f6412(0x1fc)](([_0x5eb2ac])=>!_0x5eb2ac[_0x3f6412(0x2d7)](_0x3f6412(0x2e1))));let _0x142170=0x0;for(const _0x12e563 of _0x4f6a46){const _0x504158=this[_0x3f6412(0x28e)](_0x12e563[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2d4)]);_0x12e563==_0x371e50?(_0x53d34b=_0x504158,_0x9d992c=_0x53d34b[_0x3f6412(0x1f6)],_0x53d34b[_0x3f6412(0x2fc)](_0x67d6ac=>{_0x67d6ac['id']=_0x142170++;}),this[_0x3f6412(0x256)](_0x53d34b)):this[_0x3f6412(0x27a)](_0x53d34b,_0x504158);const _0x437905=_0x53d34b[_0x3f6412(0x1fc)](_0x518464=>!_0x518464[_0x3f6412(0x228)])[_0x3f6412(0x1ee)](_0x1834b0=>_0x1834b0['id']);let _0x4fe8ef=0x0;const _0x5de1d7=this[_0x3f6412(0x28e)](_0x12e563[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2ee)]);_0x5de1d7[_0x3f6412(0x2fc)](_0x2e0eec=>{const _0x331f60=_0x3f6412;_0x2e0eec[_0x331f60(0x267)]?_0x2e0eec['id']=_0x9d992c++:_0x2e0eec['id']=_0x437905[_0x4fe8ef++];}),this[_0x3f6412(0x256)](_0x5de1d7),this[_0x3f6412(0x225)](_0x53d34b,_0x3f6412(0x228)),this[_0x3f6412(0x225)](_0x5de1d7,_0x3f6412(0x267)),_0x12e563==_0x371e50&&this[_0x3f6412(0x2e4)](_0x53d34b,_0x5c9a34),_0x53d34b=this[_0x3f6412(0x261)](_0x53d34b,_0x5de1d7),this[_0x3f6412(0x2a8)](_0x53d34b),this[_0x3f6412(0x225)](_0x53d34b,_0x3f6412(0x267));}_0x53d34b=_0x53d34b[_0x3f6412(0x1fc)](_0x339ef6=>!(_0x339ef6[_0x3f6412(0x228)]&&_0x339ef6[_0x3f6412(0x267)]));const _0x58bfbe=new Map(_0x48e6e4[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2ee)][_0x3f6412(0x31c)]),_0x5b6f0e=new Set(_0x5c9a34[_0x3f6412(0x1f2)]());for(const _0x32c01b of _0x58bfbe[_0x3f6412(0x1f2)]())_0x5b6f0e[_0x3f6412(0x310)](_0x32c01b);this[_0x3f6412(0x220)](_0x53d34b,_0x5b6f0e),this[_0x3f6412(0x206)](_0x53d34b),_0x53d34b=this[_0x3f6412(0x22c)](_0x53d34b),_0x53d34b=this[_0x3f6412(0x279)](_0x53d34b),_0x53d34b=this[_0x3f6412(0x31a)](_0x53d34b);const {root:_0x5479b6,changes:_0x21eb01}=this[_0x3f6412(0x218)](_0x53d34b,_0x387bc8,_0x2a0a30);_0x2cefc9[_0x3f6412(0x28f)][_0x2a0a30]=_0x5479b6;const _0x40b436=_0x2d3f94[_0x3f6412(0x20d)](_0x2a0a30);if(_0x40b436){const _0x292143=_0x387bc8[_0x3f6412(0x20d)](_0x40b436[_0x3f6412(0x31b)]),_0x1e342d=new _0x192ffa({'author':_0x292143,'type':_0x40b436[_0x3f6412(0x251)]?_0x3f6412(0x245):_0x3f6412(0x212),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2a0a30});_0x21eb01[_0x3f6412(0x29c)](_0x1e342d),_0x2cefc9[_0x3f6412(0x299)][_0x2a0a30][_0x3f6412(0x276)]=_0x1e342d['id'];}_0x2cefc9[_0x3f6412(0x281)]=_0x2cefc9[_0x3f6412(0x281)][_0x3f6412(0x21f)](_0x21eb01);}return _0x2cefc9;}[_0x3b63d1(0x2e4)](_0x2d7d45,_0x1eef4e){const _0x3ec5c5=_0x3b63d1;for(let _0x384657=0x0;_0x384657<_0x2d7d45[_0x3ec5c5(0x1f6)];_0x384657++)for(const [_0x577c5b,_0x42e519]of _0x1eef4e)_0x42e519[_0x3ec5c5(0x262)][_0x3ec5c5(0x1e7)](_0x2d7d45[_0x384657][_0x3ec5c5(0x1eb)])&&_0x2d7d45[_0x384657][_0x3ec5c5(0x2dd)][_0x3ec5c5(0x28b)](_0x577c5b),_0x42e519[_0x3ec5c5(0x20a)][_0x3ec5c5(0x1e7)](_0x2d7d45[_0x384657][_0x3ec5c5(0x269)])&&_0x2d7d45[_0x384657][_0x3ec5c5(0x2de)][_0x3ec5c5(0x28b)](_0x577c5b);}[_0x3b63d1(0x261)](_0x5bcb13,_0x2064fb){const _0x9f6d6b=_0x3b63d1;let _0x7c3b2c=[],_0x17714c=0x0,_0x28d8fa=0x0;for(;_0x17714c<_0x5bcb13[_0x9f6d6b(0x1f6)]||_0x28d8fa<_0x2064fb[_0x9f6d6b(0x1f6)];){const _0x28925b=_0x5bcb13[_0x17714c]||{},_0x11d5f7=_0x2064fb[_0x28d8fa]||{};if(_0x28925b['id']==_0x11d5f7['id'])_0x17714c++,_0x28d8fa++,_0x7c3b2c[_0x9f6d6b(0x28b)](_0x28925b);else{if(_0x11d5f7[_0x9f6d6b(0x267)]&&_0x28925b[_0x9f6d6b(0x228)]){const {commonTape:_0x452d74,iEnd:_0x5ef581,jEnd:_0x2488ac}=this[_0x9f6d6b(0x22f)](_0x5bcb13,_0x17714c,_0x2064fb,_0x28d8fa);_0x7c3b2c=_0x7c3b2c[_0x9f6d6b(0x21f)](_0x452d74),_0x17714c=_0x5ef581,_0x28d8fa=_0x2488ac;}else _0x11d5f7[_0x9f6d6b(0x267)]?(_0x28d8fa++,_0x7c3b2c[_0x9f6d6b(0x28b)](_0x11d5f7)):(_0x17714c++,_0x7c3b2c[_0x9f6d6b(0x28b)](_0x28925b));}}return _0x7c3b2c;}[_0x3b63d1(0x220)](_0x584fb8,_0x247d1f){const _0x314693=_0x3b63d1,_0x4c7544=[];for(let _0x32f3a2=0x0;_0x32f3a2<_0x584fb8[_0x314693(0x1f6)];_0x32f3a2++){for(let _0x130515=0x0;_0x130515<_0x584fb8[_0x32f3a2][_0x314693(0x2dd)][_0x314693(0x1f6)];_0x130515++){const _0x51fa18=_0x584fb8[_0x32f3a2][_0x314693(0x2dd)][_0x130515];if(!_0x247d1f[_0x314693(0x319)](_0x51fa18))continue;const {group:_0x540af0,type:_0x190af1,authorId:_0x3a7d52}=_0x4c3d77(_0x51fa18);_0x314693(0x2fb)!=_0x540af0||_0x314693(0x23c)!=_0x190af1&&_0x314693(0x326)!=_0x190af1||(_0x4c7544[_0x314693(0x29c)]({'type':_0x190af1,'name':_0x51fa18,'userId':_0x3a7d52}),_0x584fb8[_0x32f3a2][_0x314693(0x2dd)][_0x314693(0x236)](_0x130515,0x1),_0x130515--);}_0x309847(_0x584fb8[_0x32f3a2]);for(let _0xb4fd0c=0x0;_0xb4fd0c<_0x584fb8[_0x32f3a2][_0x314693(0x2de)][_0x314693(0x1f6)];_0xb4fd0c++){const _0x107241=_0x584fb8[_0x32f3a2][_0x314693(0x2de)][_0xb4fd0c];if(!_0x247d1f[_0x314693(0x319)](_0x107241))continue;const {group:_0x41af79,type:_0x31b7e7}=_0x4c3d77(_0x107241);if(_0x314693(0x2fb)!=_0x41af79||_0x314693(0x23c)!=_0x31b7e7&&_0x314693(0x326)!=_0x31b7e7)continue;_0x584fb8[_0x32f3a2][_0x314693(0x2de)][_0x314693(0x236)](_0xb4fd0c,0x1),_0xb4fd0c--;const _0x1cd5d4=_0x4c7544[_0x314693(0x284)](_0x35979c=>_0x35979c[_0x314693(0x308)]==_0x107241);_0x1cd5d4>-0x1&&_0x4c7544[_0x314693(0x236)](_0x1cd5d4,0x1);}}function _0x4c3d77(_0x1d3d9e){const _0x3a4293=_0x314693,_0x205956=_0x1d3d9e[_0x3a4293(0x2d2)](':');return{'group':_0x205956[0x0],'type':_0x205956[0x1],'subType':_0x205956[_0x3a4293(0x1f6)]>=0x5?_0x205956[0x2]:null,'id':_0x205956[_0x3a4293(0x1f6)]<0x5?_0x205956[0x2]:_0x205956[0x3],'authorId':_0x205956[_0x3a4293(0x1f6)]<0x5?_0x205956[0x3]:_0x205956[0x4],'markerCount':0x6==_0x205956[_0x3a4293(0x1f6)]?_0x205956[0x5]:null};}function _0x309847(_0x2a1b34){const _0x9f399d=_0x314693;for(let _0x2eafe9=0x0;_0x2eafe9<_0x4c7544[_0x9f399d(0x1f6)];_0x2eafe9++){if(_0x2a1b34[_0x9f399d(0x228)]&&_0x9f399d(0x23c)==_0x4c7544[_0x2eafe9][_0x9f399d(0x1fa)])return _0x2a1b34[_0x9f399d(0x295)]=_0x4c7544[_0x2eafe9],void delete _0x2a1b34[_0x9f399d(0x228)];if(!_0x2a1b34[_0x9f399d(0x228)]&&!_0x2a1b34[_0x9f399d(0x267)]&&_0x9f399d(0x326)==_0x4c7544[_0x2eafe9][_0x9f399d(0x1fa)])return void(_0x2a1b34[_0x9f399d(0x2fa)]=_0x4c7544[_0x2eafe9]);}}}[_0x3b63d1(0x225)](_0xec5b66,_0x54530d){const _0x8304fc=_0x3b63d1;let _0x39deb1=0x0,_0x1262f7=!0x1;const _0x287b7b=new Map();for(const _0x93ab24 of _0xec5b66)_0x93ab24[_0x54530d]?_0x1262f7&&(_0x39deb1++,_0x1262f7=!0x1):(_0x39deb1++,_0x1262f7=!0x0),_0x287b7b[_0x8304fc(0x30f)](_0x93ab24['id'],_0x39deb1);for(let _0x36076b=0x0;_0x36076b<_0xec5b66[_0x8304fc(0x1f6)];_0x36076b++){if(_0x8304fc(0x267)==_0x54530d&&_0xec5b66[_0x36076b][_0x8304fc(0x228)]||_0x8304fc(0x228)==_0x54530d&&_0xec5b66[_0x36076b][_0x8304fc(0x267)])continue;if(_0x8304fc(0x2b2)==_0xec5b66[_0x36076b][_0x8304fc(0x1fa)]){_0xec5b66[_0x36076b][_0x8304fc(0x2f4)]=0x0;continue;}const _0x323fb1=_0x287b7b[_0x8304fc(0x20d)](_0xec5b66[_0x36076b][_0x8304fc(0x248)]),_0x49642b=_0x287b7b[_0x8304fc(0x20d)](_0xec5b66[_0x36076b]['id']);_0xec5b66[_0x36076b][_0x8304fc(0x2f4)]=_0x323fb1-_0x49642b;}}[_0x3b63d1(0x200)](_0x5e1efc,_0xf7f6b6,_0x4a43cd=!0x1){const _0x595d9d=_0x3b63d1,_0x1daae3=[];let _0x16a8e3=this[_0x595d9d(0x312)][_0x595d9d(0x2f8)](_0x5e1efc),_0x3e1dd7=this[_0x595d9d(0x312)][_0x595d9d(0x2f8)](_0xf7f6b6);for(-0x1==_0x3e1dd7&&(_0x3e1dd7=this[_0x595d9d(0x312)][_0x595d9d(0x239)][_0x595d9d(0x1f6)],_0x4a43cd=!0x1);_0x16a8e3<_0x3e1dd7;)_0x1daae3[_0x595d9d(0x28b)](this[_0x595d9d(0x312)][_0x595d9d(0x209)](_0x16a8e3)),_0x16a8e3++;return _0x4a43cd&&_0x1daae3[_0x595d9d(0x28b)](this[_0x595d9d(0x312)][_0x595d9d(0x209)](_0x16a8e3)),_0x1daae3;}[_0x3b63d1(0x22f)](_0x21228a,_0x3a270a,_0x3af851,_0x2605fc){const _0xf5efa9=_0x3b63d1,_0x38ff80=this[_0xf5efa9(0x205)][_0xf5efa9(0x28f)][_0xf5efa9(0x275)];let _0x11a2bb=_0x3a270a;for(;_0x21228a[_0x11a2bb]&&_0x21228a[_0x11a2bb][_0xf5efa9(0x228)];)_0x11a2bb++;let _0x49a208=_0x2605fc;for(;_0x3af851[_0x49a208]&&_0x3af851[_0x49a208][_0xf5efa9(0x267)];)_0x49a208++;_0x1556c5(_0x21228a,_0x3a270a,_0x11a2bb),_0x1556c5(_0x3af851,_0x2605fc,_0x49a208);const _0x143a9d=_0x3af851[_0xf5efa9(0x247)](_0x2605fc,_0x49a208)[_0xf5efa9(0x21f)](_0x21228a[_0xf5efa9(0x247)](_0x3a270a,_0x11a2bb));return _0x143a9d[_0xf5efa9(0x1e2)]((_0x1f725a,_0x1f576c)=>_0x1f725a[_0xf5efa9(0x1ea)]!=_0x1f576c[_0xf5efa9(0x1ea)]?_0x1f725a[_0xf5efa9(0x1ea)]-_0x1f576c[_0xf5efa9(0x1ea)]:_0x1f725a[_0xf5efa9(0x2a3)]!=_0x1f576c[_0xf5efa9(0x2a3)]?_0x1f725a[_0xf5efa9(0x2a3)]-_0x1f576c[_0xf5efa9(0x2a3)]:_0x1f725a[_0xf5efa9(0x2f4)]!=_0x1f576c[_0xf5efa9(0x2f4)]?_0x1f576c[_0xf5efa9(0x2f4)]-_0x1f725a[_0xf5efa9(0x2f4)]:!!_0x1f725a[_0xf5efa9(0x228)]!=!!_0x1f576c[_0xf5efa9(0x228)]?-0x1==_0x1f725a[_0xf5efa9(0x1ea)]||0x0==_0x1f725a[_0xf5efa9(0x1ea)]?_0x1f725a[_0xf5efa9(0x228)]?-0x1:0x1:_0x1f725a[_0xf5efa9(0x228)]?0x1:-0x1:_0x1f725a[_0xf5efa9(0x27e)]-_0x1f576c[_0xf5efa9(0x27e)]),{'commonTape':_0x143a9d,'iEnd':_0x11a2bb,'jEnd':_0x49a208};function _0x1556c5(_0x4a6df3,_0x2f97e6,_0x5e9f4a){const _0x3f82e7=_0xf5efa9;let _0x85bac1=-0x1,_0x5bf0ba=Number[_0x3f82e7(0x2a7)],_0x31f4f5=!0x0;for(let _0x40c0c8=_0x2f97e6;_0x40c0c8<_0x5e9f4a;_0x40c0c8++)if(_0x38ff80[_0x3f82e7(0x2b8)](_0x4a6df3[_0x40c0c8][_0x3f82e7(0x1f8)])||(_0x31f4f5=!0x1),_0x4a6df3[_0x40c0c8][_0x3f82e7(0x1f8)][_0x3f82e7(0x2b4)]<_0x2f97e6&&(_0x85bac1=_0x40c0c8),_0x4a6df3[_0x40c0c8][_0x3f82e7(0x1f8)][_0x3f82e7(0x2e9)]>=_0x5e9f4a){_0x5bf0ba=_0x40c0c8;break;}_0x31f4f5&&(_0x85bac1=_0x5e9f4a-0x1);for(let _0x164dcd=_0x2f97e6;_0x164dcd<_0x5e9f4a;_0x164dcd++)_0x4a6df3[_0x164dcd][_0x3f82e7(0x1ea)]=_0x164dcd<=_0x85bac1?-0x1:_0x164dcd<_0x5bf0ba?0x0:0x1,_0x4a6df3[_0x164dcd][_0x3f82e7(0x27e)]=_0x164dcd;let _0x3f595f=0x0;for(let _0x3d8cf7=_0x2f97e6;_0x3d8cf7<=_0x85bac1;_0x3d8cf7++)0x0==_0x4a6df3[_0x3d8cf7][_0x3f82e7(0x2f4)]?_0x4a6df3[_0x3d8cf7][_0x3f82e7(0x2a3)]=_0x3f595f:(_0x3f595f++,_0x4a6df3[_0x3d8cf7][_0x3f82e7(0x2a3)]=_0x3f595f,_0x3f595f++);for(let _0xa90e7b=_0x2f97e6;_0xa90e7b<_0x5e9f4a;_0xa90e7b++)0x0==_0x4a6df3[_0xa90e7b][_0x3f82e7(0x1ea)]&&(_0x4a6df3[_0xa90e7b][_0x3f82e7(0x2a3)]=_0x3f595f);_0x3f595f=0x0;for(let _0x83765e=_0x5e9f4a-0x1;_0x83765e>=_0x5bf0ba;_0x83765e--)0x0==_0x4a6df3[_0x83765e][_0x3f82e7(0x2f4)]?_0x4a6df3[_0x83765e][_0x3f82e7(0x2a3)]=_0x3f595f:(_0x3f595f--,_0x4a6df3[_0x83765e][_0x3f82e7(0x2a3)]=_0x3f595f,_0x3f595f--);}}[_0x3b63d1(0x206)](_0x175643){const _0x1671fd=_0x3b63d1,_0x16ea51=new Map(),_0x32c775=this[_0x1671fd(0x205)][_0x1671fd(0x28f)][_0x1671fd(0x275)];for(let _0x41911b=0x1;_0x41911b<_0x175643[_0x1671fd(0x1f6)];_0x41911b++){let _0x32f362,_0x385856,_0x5fadcb;const _0x47d29a=_0x175643[_0x41911b],_0x4f60d1=_0x175643[_0x41911b-0x1];if(_0x1671fd(0x2b2)==_0x47d29a[_0x1671fd(0x1fa)])continue;if(_0x47d29a[_0x1671fd(0x1fa)]!=_0x4f60d1[_0x1671fd(0x1fa)])continue;if(!_0x32c775[_0x1671fd(0x2b7)](_0x4f60d1[_0x1671fd(0x1f8)])||_0x32c775[_0x1671fd(0x23b)](_0x4f60d1[_0x1671fd(0x1f8)]))continue;if(!_0x32c775[_0x1671fd(0x2b7)](_0x47d29a[_0x1671fd(0x1f8)])||_0x32c775[_0x1671fd(0x23b)](_0x47d29a[_0x1671fd(0x1f8)]))continue;if((_0x175643[_0x41911b][_0x1671fd(0x228)]||_0x175643[_0x41911b][_0x1671fd(0x295)])&&_0x175643[_0x41911b-0x1][_0x1671fd(0x267)])_0x32f362=_0x175643[_0x41911b],_0x385856=_0x175643[_0x41911b-0x1],_0x5fadcb=_0x41911b-0x1;else{if(!_0x175643[_0x41911b][_0x1671fd(0x267)]||!_0x175643[_0x41911b-0x1][_0x1671fd(0x228)]&&!_0x175643[_0x41911b-0x1][_0x1671fd(0x295)])continue;_0x32f362=_0x175643[_0x41911b-0x1],_0x385856=_0x175643[_0x41911b],_0x5fadcb=_0x41911b;}const _0x11ff05=_0x32f362[_0x1671fd(0x2a3)]==_0x385856[_0x1671fd(0x2a3)],_0x11c4d1=Math[_0x1671fd(0x32c)](_0x32f362[_0x1671fd(0x2a3)])<Math[_0x1671fd(0x32c)](_0x385856[_0x1671fd(0x2a3)])&&0x0==_0x385856[_0x1671fd(0x2f4)];(_0x11ff05||_0x11c4d1)&&(_0x16ea51[_0x1671fd(0x30f)](_0x385856['id'],_0x32f362['id']),_0x175643[_0x1671fd(0x236)](_0x5fadcb,0x1),_0x41911b--,_0x32f362[_0x1671fd(0x228)]=!0x1);}for(let _0x470d6f=0x0;_0x470d6f<_0x175643[_0x1671fd(0x1f6)];_0x470d6f++)_0x16ea51[_0x1671fd(0x319)](_0x175643[_0x470d6f][_0x1671fd(0x248)])&&(_0x175643[_0x470d6f][_0x1671fd(0x248)]=_0x16ea51[_0x1671fd(0x20d)](_0x175643[_0x470d6f][_0x1671fd(0x248)]));}[_0x3b63d1(0x22c)](_0x46558b){const _0x19a247=_0x3b63d1,_0x48e9c1=new Set(_0x46558b[_0x19a247(0x1ee)](_0x25fa89=>_0x25fa89['id']));for(let _0x2065e4=0x0;_0x2065e4<_0x46558b[_0x19a247(0x1f6)];_0x2065e4++)_0x48e9c1[_0x19a247(0x319)](_0x46558b[_0x2065e4][_0x19a247(0x248)])||0x0==_0x46558b[_0x2065e4][_0x19a247(0x2f4)]||(_0x46558b[_0x2065e4][_0x19a247(0x2da)]=!0x0);return _0x46558b[_0x19a247(0x1fc)](_0x3852b9=>!_0x3852b9[_0x19a247(0x2da)]);}[_0x3b63d1(0x279)](_0x55e102){const _0x462feb=_0x3b63d1,_0xeac785=new Set();for(let _0x41345e=0x0;_0x41345e<_0x55e102[_0x462feb(0x1f6)];_0x41345e++){if(_0xeac785[_0x462feb(0x319)](_0x55e102[_0x41345e]['id'])&&_0x55e102[_0x41345e][_0x462feb(0x267)]&&(_0x55e102[_0x41345e][_0x462feb(0x2da)]=!0x0),_0x55e102[_0x41345e][_0x462feb(0x2da)])continue;if(0x0==_0x55e102[_0x41345e][_0x462feb(0x2f4)])continue;if(_0x462feb(0x25b)!=_0x55e102[_0x41345e][_0x462feb(0x1fa)])continue;if(null==_0x55e102[_0x41345e][_0x462feb(0x248)])continue;let _0x1247ee=_0x41345e+0x1,_0x2a047e=0x0;for(;_0x55e102[_0x1247ee]['id']!=_0x55e102[_0x41345e][_0x462feb(0x248)];)_0x462feb(0x25b)==_0x55e102[_0x1247ee][_0x462feb(0x1fa)]?_0x2a047e++:_0x462feb(0x1f9)==_0x55e102[_0x1247ee][_0x462feb(0x1fa)]&&_0x2a047e--,_0x1247ee++;if(0x0!=_0x2a047e){if(_0x55e102[_0x41345e][_0x462feb(0x267)])_0x55e102[_0x41345e][_0x462feb(0x2da)]=!0x0;else{for(;_0x1247ee!=_0x41345e;)_0x55e102[_0x1247ee][_0x462feb(0x267)]&&0x0!=_0x55e102[_0x1247ee][_0x462feb(0x2f4)]&&(_0x55e102[_0x1247ee][_0x462feb(0x2da)]=!0x0,_0xeac785[_0x462feb(0x245)](_0x55e102[_0x1247ee][_0x462feb(0x248)])),_0x1247ee--;}}}return _0x55e102[_0x462feb(0x1fc)](_0x1de885=>!_0x1de885[_0x462feb(0x2da)]);}[_0x3b63d1(0x31a)](_0x210c49){const _0x133dde=_0x3b63d1,_0x4fcb21=this[_0x133dde(0x205)][_0x133dde(0x28f)][_0x133dde(0x275)];for(let _0x510192=0x0;_0x510192<_0x210c49[_0x133dde(0x1f6)];_0x510192++){if(!(_0x210c49[_0x510192][_0x133dde(0x228)]||_0x210c49[_0x510192][_0x133dde(0x295)]||_0x210c49[_0x510192][_0x133dde(0x267)]||_0x210c49[_0x510192][_0x133dde(0x2fa)]))continue;if(0x0==_0x210c49[_0x510192][_0x133dde(0x2f4)])continue;const _0x1478f6=_0x210c49[_0x510192][_0x133dde(0x1f8)];_0x4fcb21[_0x133dde(0x2b7)](_0x1478f6)||_0x4fcb21[_0x133dde(0x23b)](_0x1478f6)||(_0x210c49[_0x510192][_0x133dde(0x228)]&&delete _0x210c49[_0x510192][_0x133dde(0x228)],_0x210c49[_0x510192][_0x133dde(0x295)]&&delete _0x210c49[_0x510192][_0x133dde(0x295)],_0x210c49[_0x510192][_0x133dde(0x2fa)]&&delete _0x210c49[_0x510192][_0x133dde(0x2fa)],_0x210c49[_0x510192][_0x133dde(0x267)]&&(_0x210c49[_0x510192][_0x133dde(0x2da)]=!0x0));}return _0x210c49[_0x133dde(0x1fc)](_0x4042be=>!_0x4042be[_0x133dde(0x2da)]);}[_0x3b63d1(0x218)](_0x9f8107,_0x25ec76,_0x2d8507){const _0x4310d6=_0x3b63d1,_0x138b0d=new _0x1fb6df(),_0xc474e7=[],_0x51e0ab=new Map(),_0x54de80=this[_0x4310d6(0x205)][_0x4310d6(0x28f)],_0x274114=_0x54de80[_0x4310d6(0x275)],_0x58031c=[_0x138b0d],_0x597769={},_0xc6898c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x507b34=null;const _0x37bd09=[0x0];for(let _0x5563f6=0x0;_0x5563f6<_0x9f8107[_0x4310d6(0x1f6)];_0x5563f6++){let _0x3655ce,_0x22b337;if(_0x4310d6(0x25b)===_0x9f8107[_0x5563f6][_0x4310d6(0x1fa)]){_0x3655ce=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09);const _0x5ab0be=new _0x4d3be8(_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x308)],_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x1e9)]());_0x58031c[0x0][_0x4310d6(0x21d)](_0x5ab0be),_0x37bd09[_0x4310d6(0x28b)](0x0),_0x58031c[_0x4310d6(0x29c)](_0x5ab0be),_0x22b337=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x507b34=null;}else{if(_0x4310d6(0x1f9)===_0x9f8107[_0x5563f6][_0x4310d6(0x1fa)])_0x58031c[_0x4310d6(0x24b)](),_0x3655ce=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x37bd09[_0x4310d6(0x219)](),_0x37bd09[_0x37bd09[_0x4310d6(0x1f6)]-0x1]++,_0x22b337=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x507b34=null;else{if(_0x3655ce=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x507b34&&_0x17612a(_0x507b34,_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)]))_0x507b34[_0x4310d6(0x26e)]+=_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x254)];else{const _0x1098e5=new _0x3ef66e(_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x254)],_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x1e9)]());_0x58031c[0x0][_0x4310d6(0x21d)](_0x1098e5),_0x507b34=_0x1098e5;}_0x37bd09[_0x37bd09[_0x4310d6(0x1f6)]-0x1]+=_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x238)],_0x22b337=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09);}}for(const _0xc816a3 of _0x9f8107[_0x5563f6][_0x4310d6(0x2dd)])_0x51e0ab[_0x4310d6(0x30f)](_0xc816a3,{'start':_0x3655ce,'end':null});_0x16f546(_0x4310d6(0x2fa),_0x5563f6,_0x3655ce,_0x22b337),_0x16f546(_0x4310d6(0x295),_0x5563f6,_0x3655ce,_0x22b337),_0x16f546(_0x4310d6(0x267),_0x5563f6,_0x3655ce,_0x22b337),_0x16f546(_0x4310d6(0x228),_0x5563f6,_0x3655ce,_0x22b337);for(const _0xbe6e90 of _0x9f8107[_0x5563f6][_0x4310d6(0x2de)]){_0x51e0ab[_0x4310d6(0x20d)](_0xbe6e90)[_0x4310d6(0x20a)]=_0x22b337;}}for(const [_0x5bdb95,_0x315949]of _0x51e0ab){const _0x1173b4=this[_0x4310d6(0x205)][_0x4310d6(0x28f)][_0x4310d6(0x328)](_0x315949[_0x4310d6(0x262)],_0x315949[_0x4310d6(0x20a)]);_0x138b0d[_0x4310d6(0x31c)][_0x4310d6(0x30f)](_0x5bdb95,_0x1173b4);}return _0xc474e7[_0x4310d6(0x1e2)]((_0x4986f2,_0x1f2c71)=>{const _0x15f652=_0x4310d6,_0x51b257=_0x138b0d[_0x15f652(0x31c)][_0x15f652(0x20d)](_0x15f652(0x2e1)+_0x4986f2['id']),_0x1f820e=_0x138b0d[_0x15f652(0x31c)][_0x15f652(0x20d)](_0x15f652(0x2e1)+_0x1f2c71['id']);return _0x51b257[_0x15f652(0x262)][_0x15f652(0x2dc)](_0x1f820e[_0x15f652(0x262)])?-0x1:_0x51b257[_0x15f652(0x262)][_0x15f652(0x2c2)](_0x1f820e[_0x15f652(0x262)])?0x1:_0x51b257[_0x15f652(0x20a)][_0x15f652(0x2dc)](_0x1f820e[_0x15f652(0x20a)])?-0x1:_0x51b257[_0x15f652(0x20a)][_0x15f652(0x2c2)](_0x1f820e[_0x15f652(0x20a)])?0x1:_0x15f652(0x245)===_0x4986f2[_0x15f652(0x1fa)]?-0x1:0x1;}),{'root':_0x138b0d,'changes':_0xc474e7};function _0x16f546(_0x1895ff,_0x7c58a4,_0x290be4,_0x3edc18){const _0x31ff3c=_0x4310d6,_0xe088f3=!!_0x9f8107[_0x7c58a4][_0x1895ff],_0xb2307c=_0xe088f3?_0x9f8107[_0x7c58a4][_0x1895ff][_0x31ff3c(0x31b)]:null,_0x5167f5=_0x7c58a4===_0x9f8107[_0x31ff3c(0x1f6)]-0x1,_0x3ca8d4=_0xc6898c[_0x1895ff][0x0],_0x333584=_0x274114[_0x31ff3c(0x25e)](_0x9f8107[_0x7c58a4][_0x31ff3c(0x1f8)]);!_0x597769[_0x1895ff]&&_0xe088f3?_0x597769[_0x1895ff]={'start':_0x290be4,'tapeItem':_0x9f8107[_0x7c58a4],'userId':_0xb2307c,'type':_0x1895ff}:_0x597769[_0x1895ff]&&!_0xe088f3?(_0x597769[_0x1895ff][_0x31ff3c(0x20a)]=_0x290be4,_0x5d4022(_0x597769[_0x1895ff]),_0x597769[_0x1895ff]=null):_0x597769[_0x1895ff]&&_0xe088f3&&_0x597769[_0x1895ff][_0x31ff3c(0x31b)]!==_0xb2307c&&(_0x597769[_0x1895ff][_0x31ff3c(0x20a)]=_0x290be4,_0x3ca8d4&&_0x3ca8d4[_0x31ff3c(0x31b)]===_0x597769[_0x1895ff][_0x31ff3c(0x31b)]||_0x5d4022(_0x597769[_0x1895ff]),_0x597769[_0x1895ff]={'start':_0x290be4,'tapeItem':_0x9f8107[_0x7c58a4],'userId':_0xb2307c,'type':_0x1895ff}),_0x597769[_0x1895ff]&&_0x333584&&(_0x31ff3c(0x25b)!==_0x9f8107[_0x7c58a4][_0x31ff3c(0x1fa)]||_0x3ca8d4&&_0x3ca8d4[_0x31ff3c(0x31b)]===_0xb2307c||_0xc6898c[_0x1895ff][_0x31ff3c(0x29c)]({'userId':_0xb2307c,'object':_0x9f8107[_0x7c58a4][_0x31ff3c(0x1f8)],'change':_0x597769[_0x1895ff]}),_0x31ff3c(0x1f9)===_0x9f8107[_0x7c58a4][_0x31ff3c(0x1fa)]&&_0x3ca8d4&&_0x3ca8d4[_0x31ff3c(0x2c5)]===_0x9f8107[_0x7c58a4][_0x31ff3c(0x1f8)]&&(_0xc6898c[_0x1895ff][_0x31ff3c(0x24b)](),_0x597769[_0x1895ff]=_0x3ca8d4[_0x31ff3c(0x2bf)])),_0x597769[_0x1895ff]&&_0x5167f5&&(_0x597769[_0x1895ff][_0x31ff3c(0x20a)]=_0x3edc18,_0x5d4022(_0x597769[_0x1895ff]),_0x597769[_0x1895ff]=null);}function _0x5d4022({start:_0x5c1619,end:_0x1d4de6,tapeItem:_0x344c30,userId:_0x8dff6c,type:_0x35bffd}){const _0x4304a5=_0x4310d6,_0x297195=_0x344c30[_0x4304a5(0x1f8)],_0x2f886a=_0x54de80[_0x4304a5(0x275)][_0x4304a5(0x2b7)](_0x297195)&&!_0x54de80[_0x4304a5(0x275)][_0x4304a5(0x23b)](_0x297195),_0x5fcefa=_0x5c1619[_0x4304a5(0x2ed)]==_0x1d4de6[_0x4304a5(0x1e5)]&&_0x1d4de6[_0x4304a5(0x300)];if(_0x2f886a&&_0x5fcefa)return;const _0x208e0e=_0x54de80[_0x4304a5(0x328)](_0x5c1619,_0x1d4de6),_0x4de771=_0x25ec76[_0x4304a5(0x20d)](_0x8dff6c),_0x580c33=new _0x192ffa({'author':_0x4de771,'type':_0x4304a5(0x228)==_0x35bffd||_0x4304a5(0x295)==_0x35bffd?_0x4304a5(0x245):_0x4304a5(0x212),'data':{'isSuggestion':_0x4304a5(0x295)==_0x35bffd||_0x4304a5(0x2fa)==_0x35bffd},'createdAt':new Date(),'rootName':_0x2d8507});_0xc474e7[_0x4304a5(0x28b)](_0x580c33),_0x138b0d[_0x4304a5(0x31c)][_0x4304a5(0x30f)](_0x4304a5(0x2e1)+_0x580c33['id'],_0x208e0e);}function _0x17612a(_0x2dd63e,_0x251496){const _0x42f5c3=_0x4310d6,_0x1e23da=_0x2dd63e[_0x42f5c3(0x1e9)](),_0x2d9c8d=_0x251496[_0x42f5c3(0x1e9)]();for(const _0x48c8d5 of _0x1e23da){if(_0x48c8d5[0x1]!==_0x251496[_0x42f5c3(0x252)](_0x48c8d5[0x0]))return!0x1;_0x2d9c8d[_0x42f5c3(0x26b)]();}return _0x2d9c8d[_0x42f5c3(0x26b)]()[_0x42f5c3(0x231)];}}[_0x3b63d1(0x2e7)](){const _0x29bbfe=_0x3b63d1;this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x21a)]({'view':_0x29bbfe(0x258)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x1fb))[_0x29bbfe(0x29d)]({'model':_0x29bbfe(0x258),'view':_0x51479c=>{const _0x7cf37a=_0x29bbfe,_0x13e960=_0x51479c[_0x7cf37a(0x243)][_0x7cf37a(0x2d2)](':')[0x1],_0x59756f=this[_0x7cf37a(0x330)](_0x13e960);if(!_0x59756f)return null;const _0x3f1296=_0x7cf37a(0x245)==_0x59756f[_0x7cf37a(0x1fa)]?_0x7cf37a(0x23c):_0x7cf37a(0x326),_0x6fc5ce=[_0x7cf37a(0x306),_0x7cf37a(0x28d)+_0x3f1296];return _0x59756f[_0x7cf37a(0x254)][_0x7cf37a(0x324)]&&_0x6fc5ce[_0x7cf37a(0x28b)](_0x7cf37a(0x28d)+_0x3f1296+_0x7cf37a(0x1fe)),this[_0x7cf37a(0x31d)]==_0x59756f&&_0x6fc5ce[_0x7cf37a(0x28b)](_0x7cf37a(0x201)),{'classes':_0x6fc5ce,'attributes':{'data-change-id':_0x13e960}};}}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x245)](_0x24298=>{const _0x1edcda=_0x29bbfe;_0x24298['on'](_0x1edcda(0x2a6),(_0x1f2209,_0x412e29,_0x718bfe)=>{const _0x1da5b2=_0x1edcda,_0x4eb772=_0x412e29[_0x1da5b2(0x1f3)][_0x1da5b2(0x287)](0x0);if(!_0x4eb772||!_0x4eb772['is'](_0x1da5b2(0x272),_0x1da5b2(0x1e8)))return;if(!_0x718bfe[_0x1da5b2(0x210)][_0x1da5b2(0x1e6)](_0x4eb772,{'attributes':[_0x1da5b2(0x216),_0x1da5b2(0x32e)]}))return;const _0x4cf7cb=_0x412e29[_0x1da5b2(0x30a)][_0x1da5b2(0x262)][_0x1da5b2(0x2ed)];_0x718bfe[_0x1da5b2(0x320)][_0x1da5b2(0x25a)](_0x1da5b2(0x216),_0x4eb772[_0x1da5b2(0x252)](_0x1da5b2(0x216)),_0x4cf7cb),_0x718bfe[_0x1da5b2(0x320)][_0x1da5b2(0x25a)](_0x1da5b2(0x32e),_0x4eb772[_0x1da5b2(0x252)](_0x1da5b2(0x32e)),_0x4cf7cb);},{'priority':_0x1edcda(0x31f)});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x245)](_0x53263e=>{const _0x26324a=_0x29bbfe;_0x53263e['on'](_0x26324a(0x272),(_0x1cf8ca,_0x2e2422,_0x322802)=>{const _0x46d6e2=_0x26324a;if(!_0x322802[_0x46d6e2(0x210)][_0x46d6e2(0x1e6)](_0x2e2422[_0x46d6e2(0x1f3)],{'attributes':[_0x46d6e2(0x216),_0x46d6e2(0x32e)]}))return;if(_0x2e2422[_0x46d6e2(0x30a)][_0x46d6e2(0x26a)])return;const _0x3f5a25=_0x2e2422[_0x46d6e2(0x30a)][_0x46d6e2(0x262)][_0x46d6e2(0x2ed)];_0x3f5a25[_0x46d6e2(0x280)](_0x46d6e2(0x216))||_0x3f5a25[_0x46d6e2(0x280)](_0x46d6e2(0x2e0))||(_0x322802[_0x46d6e2(0x320)][_0x46d6e2(0x25a)](_0x46d6e2(0x216),_0x2e2422[_0x46d6e2(0x1f3)][_0x46d6e2(0x252)](_0x46d6e2(0x216)),_0x3f5a25),_0x322802[_0x46d6e2(0x320)][_0x46d6e2(0x25a)](_0x46d6e2(0x32e),_0x2e2422[_0x46d6e2(0x1f3)][_0x46d6e2(0x252)](_0x46d6e2(0x32e)),_0x3f5a25));},{'priority':_0x26324a(0x31f)});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x316)]({'view':{'name':_0x29bbfe(0x2df),'attributes':{'vid':!0x0}},'model':{'key':_0x29bbfe(0x2e0),'value':_0x4a4f28=>_0x4a4f28[_0x29bbfe(0x252)](_0x29bbfe(0x2e0))}}),this[_0x29bbfe(0x205)][_0x29bbfe(0x28f)][_0x29bbfe(0x275)]['on'](_0x29bbfe(0x1ec),(_0x2e9b84,[,_0x4da7ff])=>{const _0x223ef9=_0x29bbfe;[_0x223ef9(0x216),_0x223ef9(0x32e),_0x223ef9(0x2e0)][_0x223ef9(0x24d)](_0x4da7ff)&&(_0x2e9b84[_0x223ef9(0x263)]=!0x0,_0x2e9b84[_0x223ef9(0x2ef)]());},{'priority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x314))[_0x29bbfe(0x245)](_0x41cfaa=>{const _0x2bf4c7=_0x29bbfe;_0x41cfaa['on'](_0x2bf4c7(0x265),(_0x3a1085,_0x37daf3,_0x13f41f)=>{const _0x420685=_0x2bf4c7;if('\x20'!=_0x37daf3[_0x420685(0x1f8)][_0x420685(0x254)]||_0x37daf3[_0x420685(0x1f8)][_0x420685(0x1e5)][_0x420685(0x317)]>0x1)return;if(!_0x13f41f[_0x420685(0x210)][_0x420685(0x1e6)](_0x37daf3[_0x420685(0x1f8)],_0x3a1085[_0x420685(0x308)]))return;const _0x45d3b8=_0x13f41f[_0x420685(0x320)],_0x46d7f7=_0x13f41f[_0x420685(0x2ad)][_0x420685(0x2c9)](_0x37daf3[_0x420685(0x27b)]);_0x45d3b8[_0x420685(0x23d)](_0x46d7f7,_0x45d3b8[_0x420685(0x244)](_0x420685(0x2df)));});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x314))[_0x29bbfe(0x2cc)]({'model':_0x29bbfe(0x258)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x23a),function(_0x2b8550){const _0x22977c=_0x29bbfe,_0x5c4439=_0x2b8550[_0x22977c(0x266)][_0x22977c(0x20d)](_0x22977c(0x204));return(_0x5eacfb,_0x5c01a4,_0x556d30)=>{const _0x1a7281=_0x22977c,_0x487b80=_0x5c01a4[_0x1a7281(0x243)][_0x1a7281(0x2d2)](':')[0x1],_0x1f4192=_0x5c4439[_0x1a7281(0x330)](_0x487b80);if(!_0x1f4192)return null;const _0x4d37c2=_0x1a7281(0x245)==_0x1f4192[_0x1a7281(0x1fa)]?_0x1a7281(0x2d2):_0x1a7281(0x2ac);if(!_0x556d30[_0x1a7281(0x210)][_0x1a7281(0x2cf)](_0x5c01a4[_0x1a7281(0x30c)],_0x5eacfb[_0x1a7281(0x308)]))return;const _0x189193=_0x5c01a4[_0x1a7281(0x30c)][_0x1a7281(0x2bd)](),_0x49a78b=_0x5c01a4[_0x1a7281(0x30c)][_0x1a7281(0x262)],_0x2c8644=_0x2b8550[_0x1a7281(0x28f)][_0x1a7281(0x275)];let _0xe0429d=null,_0x1f64f3=null,_0x3d1f77=!0x1,_0x1070ae=!0x1;for(const _0x76d58d of _0x189193){const _0x55e65e=_0x76d58d[_0x1a7281(0x1f8)];_0x3d1f77=_0x3d1f77||_0x2c8644[_0x1a7281(0x235)](_0x55e65e);const _0x482902=_0x556d30[_0x1a7281(0x2ad)][_0x1a7281(0x264)](_0x55e65e);if(_0x482902&&_0x482902[_0x1a7281(0x240)](_0x1a7281(0x2f2)))return;_0x1a7281(0x1f9)==_0x76d58d[_0x1a7281(0x1fa)]&&(_0x2c8644[_0x1a7281(0x2b7)](_0x55e65e)&&!_0x2c8644[_0x1a7281(0x23b)](_0x55e65e)&&(_0x55e65e[_0x1a7281(0x291)]||_0x49a78b[_0x1a7281(0x253)]?_0xe0429d&&_0xe0429d[_0x1a7281(0x1e5)]==_0x55e65e||(_0xe0429d=_0x55e65e,_0x17d739(_0x76d58d[_0x1a7281(0x1eb)]),_0x1070ae=!0x0):_0x1f64f3=_0x1f64f3||_0x76d58d[_0x1a7281(0x1eb)]));}function _0x17d739(_0x2bbb61){const _0x22ffa6=_0x1a7281,_0x14297b=_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x230)](_0x22ffa6(0x2df),{'class':_0x22ffa6(0x28d)+_0x4d37c2}),_0x7024f8=_0x556d30[_0x22ffa6(0x2ad)][_0x22ffa6(0x2a4)](_0x2bbb61);_0x1f4192[_0x22ffa6(0x254)][_0x22ffa6(0x324)]&&_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x2cd)](_0x22ffa6(0x28d)+_0x4d37c2+_0x22ffa6(0x1fe),_0x14297b),_0x5c4439[_0x22ffa6(0x31d)]==_0x1f4192&&_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x2cd)](_0x22ffa6(0x201),_0x14297b),_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x1ed)](_0x7024f8,_0x14297b),_0x556d30[_0x22ffa6(0x2ad)][_0x22ffa6(0x1f5)](_0x14297b,_0x5c01a4[_0x22ffa6(0x243)]);}_0x3d1f77||_0x1070ae||!_0x1f64f3||_0x17d739(_0x1f64f3);};}(this[_0x29bbfe(0x205)]),{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x2b3),(_0x21fbae,_0x38e436,_0x5e859f)=>{const _0x2e6139=_0x29bbfe,_0x30f61a=_0x5e859f[_0x2e6139(0x2ad)][_0x2e6139(0x211)](_0x38e436[_0x2e6139(0x243)]);if(_0x30f61a){for(const _0x482424 of _0x30f61a)(_0x482424[_0x2e6139(0x28a)](_0x2e6139(0x2db))||_0x482424[_0x2e6139(0x28a)](_0x2e6139(0x2fd)))&&(_0x5e859f[_0x2e6139(0x2ad)][_0x2e6139(0x32a)](_0x482424,_0x38e436[_0x2e6139(0x243)]),_0x5e859f[_0x2e6139(0x320)][_0x2e6139(0x212)](_0x482424));}},{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x23a),(_0x3353c0,_0x353d5e,_0x2498f9)=>{const _0x4d440c=_0x29bbfe,_0x1a5abe=_0x353d5e[_0x4d440c(0x243)][_0x4d440c(0x2d2)](':')[0x1],_0x3f922e=this[_0x4d440c(0x330)](_0x1a5abe);if(!_0x3f922e)return null;const _0x3d258b=_0x4d440c(0x245)==_0x3f922e[_0x4d440c(0x1fa)]?_0x4d440c(0x2d2):_0x4d440c(0x2ac);if(_0x2498f9[_0x4d440c(0x210)][_0x4d440c(0x2cf)](_0x353d5e[_0x4d440c(0x30c)],_0x3353c0[_0x4d440c(0x308)]))for(const _0x399b1b of _0x353d5e[_0x4d440c(0x30c)][_0x4d440c(0x282)]()){if(!_0x399b1b['is'](_0x4d440c(0x272),_0x4d440c(0x23e)))continue;const _0x44ad11=_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x230)](_0x4d440c(0x2df),{'class':_0x4d440c(0x28d)+_0x3d258b}),_0x840fff=_0x2498f9[_0x4d440c(0x2ad)][_0x4d440c(0x2a4)](this[_0x4d440c(0x205)][_0x4d440c(0x28f)][_0x4d440c(0x289)](_0x399b1b));_0x3f922e[_0x4d440c(0x254)][_0x4d440c(0x324)]&&_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x2cd)](_0x4d440c(0x28d)+_0x3d258b+_0x4d440c(0x1fe),_0x44ad11),this[_0x4d440c(0x31d)]==_0x3f922e&&_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x2cd)](_0x4d440c(0x201),_0x44ad11),_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x1ed)](_0x840fff,_0x44ad11),_0x2498f9[_0x4d440c(0x2ad)][_0x4d440c(0x1f5)](_0x44ad11,_0x353d5e[_0x4d440c(0x243)]);}},{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x28f)][_0x29bbfe(0x2d3)]['on'](_0x29bbfe(0x2bf),()=>{const _0x383cb7=_0x29bbfe;this[_0x383cb7(0x205)][_0x383cb7(0x1ef)][_0x383cb7(0x290)][_0x383cb7(0x2bf)](_0xeb8d49=>{const _0x370eb8=_0x383cb7;for(const _0x4a276a of this[_0x370eb8(0x205)][_0x370eb8(0x28f)][_0x370eb8(0x2d3)][_0x370eb8(0x2d8)]()){const _0x13ecab=this[_0x370eb8(0x205)][_0x370eb8(0x28f)][_0x370eb8(0x2d3)][_0x370eb8(0x2c4)](_0x4a276a),_0x287c66=this[_0x370eb8(0x205)][_0x370eb8(0x1ef)][_0x370eb8(0x290)][_0x370eb8(0x2d3)][_0x370eb8(0x2c4)](_0x4a276a);if(_0x287c66){const _0x57bdc4=_0x13ecab[_0x370eb8(0x252)](_0x370eb8(0x276));if(_0xeb8d49[_0x370eb8(0x305)](_0x370eb8(0x25d),_0x287c66),_0xeb8d49[_0x370eb8(0x323)](_0x370eb8(0x214),_0x287c66),_0xeb8d49[_0x370eb8(0x323)](_0x370eb8(0x327),_0x287c66),_0xeb8d49[_0x370eb8(0x323)](_0x370eb8(0x2c0),_0x287c66),_0x57bdc4){const _0x52a00a=this[_0x370eb8(0x330)](_0x57bdc4);if(!_0x52a00a)return null;_0xeb8d49[_0x370eb8(0x25a)](_0x370eb8(0x25d),_0x57bdc4,_0x287c66),_0xeb8d49[_0x370eb8(0x2cd)](_0x370eb8(0x229)+_0x52a00a[_0x370eb8(0x1fa)],_0x287c66),this[_0x370eb8(0x31d)]==_0x52a00a&&_0xeb8d49[_0x370eb8(0x2cd)](_0x370eb8(0x2c0),_0x287c66);}}}});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x21a)]({'view':_0x29bbfe(0x21c),'model':_0x2d13d9=>_0x29bbfe(0x226)+_0x2d13d9,'converterPriority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x21a)]({'view':_0x29bbfe(0x20f),'model':_0x160aa0=>_0x29bbfe(0x32f)+_0x160aa0,'converterPriority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x314))[_0x29bbfe(0x2cc)]({'model':_0x29bbfe(0x2fb),'view':_0x330425=>({'name':_0x29bbfe(0x1e3)+_0x330425,'group':_0x29bbfe(0x2fb)}),'converterPriority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x1fb))[_0x29bbfe(0x29d)]({'model':_0x29bbfe(0x2fb),'view':_0x44e8b5=>{const _0x2cfb58=_0x29bbfe,_0x2cd044=_0x44e8b5[_0x2cfb58(0x243)][_0x2cfb58(0x2d2)](':')[0x1];return _0x2cfb58(0x23c)!=_0x2cd044&&_0x2cfb58(0x326)!=_0x2cd044?null:{'classes':[_0x2cfb58(0x2ab),_0x2cfb58(0x32b)+_0x2cd044]};}}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x26d),et(this[_0x29bbfe(0x205)],_0x29bbfe(0x2ac)),{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x2d0),et(this[_0x29bbfe(0x205)],_0x29bbfe(0x2d2)),{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x288),(_0x45280b,_0x7aac43,_0x10a93d)=>{const _0x1fd1f0=_0x29bbfe,_0x3a9984=_0x10a93d[_0x1fd1f0(0x2ad)][_0x1fd1f0(0x211)](_0x7aac43[_0x1fd1f0(0x243)]);if(_0x3a9984){for(const _0x52faf5 of _0x3a9984)_0x52faf5['is'](_0x1fd1f0(0x31e))&&(_0x10a93d[_0x1fd1f0(0x2ad)][_0x1fd1f0(0x32a)](_0x52faf5,_0x7aac43[_0x1fd1f0(0x243)]),_0x10a93d[_0x1fd1f0(0x320)][_0x1fd1f0(0x212)](_0x52faf5));}},{'priority':_0x29bbfe(0x297)});}[_0x3b63d1(0x330)](_0x11c287){const _0x16a004=_0x3b63d1;return this[_0x16a004(0x249)][_0x16a004(0x20d)](_0x11c287);}[_0x3b63d1(0x2bb)](_0x4864ba){const _0x2556c9=_0x3b63d1;return this[_0x2556c9(0x250)]&&this[_0x2556c9(0x250)][_0x2556c9(0x27c)](),this[_0x2556c9(0x250)]=new _0x463c13(this[_0x2556c9(0x205)][_0x2556c9(0x2c6)],_0x4864ba),this[_0x2556c9(0x250)];}[_0x3b63d1(0x22b)](){const _0x79adba=_0x3b63d1;this[_0x79adba(0x205)][_0x79adba(0x28f)][_0x79adba(0x2d3)][_0x79adba(0x2b9)][_0x79adba(0x2ba)](_0x79adba(0x258)),this['on'](_0x79adba(0x223),(_0x51e1a1,_0x49c9a6,_0x4a1fe8,_0x3adb0b)=>{const _0x57c3d5=_0x79adba;_0x3adb0b&&this[_0x57c3d5(0x2e6)][_0x57c3d5(0x212)](_0x3adb0b),_0x4a1fe8&&(this[_0x57c3d5(0x2e6)][_0x57c3d5(0x245)]({'view':_0x4a1fe8,'stackId':_0x57c3d5(0x2ca),'position':{'target':()=>{const _0x42f000=_0x57c3d5,_0xfa6177=this[_0x42f000(0x205)][_0x42f000(0x1ef)],_0x5a5a35=this[_0x42f000(0x330)](_0x4a1fe8[_0x42f000(0x241)]);let _0xfaff36;if(_0x5a5a35[_0x42f000(0x254)][_0x42f000(0x26c)]){const _0x4c7853=_0xfa6177[_0x42f000(0x290)][_0x42f000(0x2e3)](_0x5a5a35[_0x42f000(0x1f4)]);_0xfaff36=Array[_0x42f000(0x207)](_0x4c7853[_0x42f000(0x296)]());}else{const _0x35fb0b=this[_0x42f000(0x205)][_0x42f000(0x28f)][_0x42f000(0x31c)][_0x42f000(0x20d)](_0x42f000(0x2e1)+_0x4a1fe8[_0x42f000(0x241)]);_0xfaff36=Array[_0x42f000(0x207)](_0xfa6177[_0x42f000(0x2ad)][_0x42f000(0x211)](_0x35fb0b[_0x42f000(0x308)]))[_0x42f000(0x1ee)](_0x4cdd69=>_0xfa6177[_0x42f000(0x290)][_0x42f000(0x203)][_0x42f000(0x2be)](_0x4cdd69))[_0x42f000(0x1ee)](_0x3deec5=>Array[_0x42f000(0x207)](_0x3deec5[_0x42f000(0x296)]()))[_0x42f000(0x315)]();}if(!this[_0x42f000(0x30d)])return _0xfaff36[0x0];return _0xfaff36[_0x42f000(0x2f0)](_0x333b6b=>_0x333b6b[_0x42f000(0x2f6)]-0x3<=this[_0x42f000(0x30d)]['y']&&_0x333b6b[_0x42f000(0x286)]+0x3>=this[_0x42f000(0x30d)]['y']&&_0x333b6b[_0x42f000(0x2d1)]-0x3<=this[_0x42f000(0x30d)]['x']&&_0x333b6b[_0x42f000(0x27d)]+0x3>=this[_0x42f000(0x30d)]['x'])||_0xfaff36[0x0];}}}),this[_0x57c3d5(0x2e6)][_0x57c3d5(0x246)](_0x57c3d5(0x2ca)));}),this['on'](_0x79adba(0x242),(_0x1e236a,_0x330682,_0x8b814d,_0x332f3d)=>{const _0x350844=_0x79adba;this[_0x350844(0x2f9)]=_0x8b814d?this[_0x350844(0x2bb)](_0x8b814d):null,this[_0x350844(0x205)][_0x350844(0x28f)][_0x350844(0x2bf)](()=>{const _0x463a86=_0x350844,_0x5645c4=this[_0x463a86(0x205)][_0x463a86(0x1ef)];_0x332f3d&&(_0x332f3d[_0x463a86(0x254)][_0x463a86(0x26c)]?_0x5645c4[_0x463a86(0x290)][_0x463a86(0x2bf)](_0x569918=>{const _0x37d3b8=_0x463a86;_0x569918[_0x37d3b8(0x323)](_0x37d3b8(0x2c0),_0x5645c4[_0x37d3b8(0x290)][_0x37d3b8(0x2d3)][_0x37d3b8(0x2c4)](_0x332f3d[_0x37d3b8(0x1f4)]));}):_0x5645c4[_0x463a86(0x2ae)](_0x463a86(0x2e1)+_0x332f3d['id'])),_0x8b814d&&(_0x8b814d[_0x463a86(0x254)][_0x463a86(0x26c)]?_0x5645c4[_0x463a86(0x290)][_0x463a86(0x2bf)](_0x343705=>{const _0x51ca12=_0x463a86;_0x343705[_0x51ca12(0x2cd)](_0x51ca12(0x2c0),_0x5645c4[_0x51ca12(0x290)][_0x51ca12(0x2d3)][_0x51ca12(0x2c4)](_0x8b814d[_0x51ca12(0x1f4)]));}):_0x5645c4[_0x463a86(0x2ae)](_0x463a86(0x2e1)+_0x8b814d['id']));});}),this[_0x79adba(0x27f)](this[_0x79adba(0x205)][_0x79adba(0x1ef)][_0x79adba(0x290)][_0x79adba(0x2d3)],_0x79adba(0x1ff),(_0x1fdbb9,_0x5abe95)=>{const _0x31aff6=_0x79adba;if(this[_0x31aff6(0x31d)])return;const _0x27b328=this[_0x31aff6(0x2ce)](_0x5abe95[_0x31aff6(0x255)]),_0x5d8f27=this[_0x31aff6(0x249)][_0x31aff6(0x20d)](_0x27b328);_0x5d8f27?(this[_0x31aff6(0x30d)]={'x':_0x5abe95[_0x31aff6(0x2b1)]['x'],'y':_0x5abe95[_0x31aff6(0x2b1)]['y']},this[_0x31aff6(0x2f9)]=this[_0x31aff6(0x2bb)](_0x5d8f27)):(this[_0x31aff6(0x30d)]=null,this[_0x31aff6(0x2f9)]=null);}),this[_0x79adba(0x27f)](this[_0x79adba(0x205)][_0x79adba(0x1ef)][_0x79adba(0x290)][_0x79adba(0x2d3)],_0x79adba(0x215),(_0x1f9288,_0xf0a3e3)=>{const _0x4453da=_0x79adba,_0x9f9154=this[_0x4453da(0x2ce)](_0xf0a3e3[_0x4453da(0x255)]),_0x4f60ec=this[_0x4453da(0x249)][_0x4453da(0x20d)](_0x9f9154);_0x4f60ec?(this[_0x4453da(0x30d)]={'x':_0xf0a3e3[_0x4453da(0x2b1)]['x'],'y':_0xf0a3e3[_0x4453da(0x2b1)]['y']},_0x4f60ec===this[_0x4453da(0x31d)]?this[_0x4453da(0x2e6)][_0x4453da(0x294)]():this[_0x4453da(0x31d)]=_0x4f60ec):(this[_0x4453da(0x30d)]=null,this[_0x4453da(0x31d)]=null);});}[_0x3b63d1(0x2ce)](_0x8cbc86){const _0x549876=_0x3b63d1;do{const _0xb084c0=_0x8cbc86[_0x549876(0x252)](_0x549876(0x25d));if(_0xb084c0)return _0xb084c0;_0x8cbc86=_0x8cbc86[_0x549876(0x1e5)];}while(_0x8cbc86);return null;}[_0x3b63d1(0x325)](){const _0x1b83e1=_0x3b63d1;this[_0x1b83e1(0x205)][_0x1b83e1(0x28f)][_0x1b83e1(0x2bf)](_0x302622=>{const _0xf6b9a4=_0x1b83e1;for(const _0x4a46ee of this[_0xf6b9a4(0x205)][_0xf6b9a4(0x28f)][_0xf6b9a4(0x31c)])_0x302622[_0xf6b9a4(0x2aa)](_0x4a46ee);});}}function et(_0x84b709,_0x5b67e4){return(_0x4000c2,_0x10767e,_0x3aa04b)=>{const _0x246bf0=_0xbef1;if(!_0x3aa04b[_0x246bf0(0x210)][_0x246bf0(0x2cf)](_0x10767e[_0x246bf0(0x30c)],_0x4000c2[_0x246bf0(0x308)]))return;const _0x17440f=_0x10767e[_0x246bf0(0x30c)][_0x246bf0(0x2bd)](),_0x2f2208=_0x10767e[_0x246bf0(0x30c)][_0x246bf0(0x262)],_0xce5c3c=_0x84b709[_0x246bf0(0x28f)][_0x246bf0(0x275)];let _0x5c8f62=null,_0x141021=null,_0x422aa5=!0x1,_0xe53c59=!0x1;for(const _0x1702ae of _0x17440f){const _0x1fd14b=_0x1702ae[_0x246bf0(0x1f8)];_0x422aa5=_0x422aa5||_0xce5c3c[_0x246bf0(0x235)](_0x1fd14b);const _0x44983e=_0x3aa04b[_0x246bf0(0x2ad)][_0x246bf0(0x264)](_0x1fd14b);if(_0x44983e&&_0x44983e[_0x246bf0(0x240)](_0x246bf0(0x2f2)))return;_0x246bf0(0x1f9)==_0x1702ae[_0x246bf0(0x1fa)]&&(_0xce5c3c[_0x246bf0(0x2b7)](_0x1fd14b)&&!_0xce5c3c[_0x246bf0(0x23b)](_0x1fd14b)&&(_0x1fd14b[_0x246bf0(0x291)]||_0x2f2208[_0x246bf0(0x253)]?_0x5c8f62&&_0x5c8f62[_0x246bf0(0x1e5)]==_0x1fd14b||(_0x5c8f62=_0x1fd14b,_0x7318fd(_0x1702ae[_0x246bf0(0x1eb)]),_0xe53c59=!0x0):_0x141021=_0x141021||_0x1702ae[_0x246bf0(0x1eb)]));}function _0x7318fd(_0x2744a5){const _0x58c387=_0x246bf0,_0x34051a=_0x3aa04b[_0x58c387(0x2ad)][_0x58c387(0x2a4)](_0x2744a5),_0x35224c=_0x3aa04b[_0x58c387(0x320)][_0x58c387(0x230)](_0x58c387(0x2df),{'class':_0x58c387(0x32b)+_0x5b67e4});_0x3aa04b[_0x58c387(0x320)][_0x58c387(0x1ed)](_0x34051a,_0x35224c),_0x3aa04b[_0x58c387(0x2ad)][_0x58c387(0x1f5)](_0x35224c,_0x10767e[_0x58c387(0x243)]);}_0x422aa5||_0xe53c59||!_0x141021||_0x7318fd(_0x141021);};}export class RestoreRevisionCommand extends _0x450db5{constructor(_0x4abc80){const _0x191b6f=_0x3b63d1;super(_0x4abc80);const _0xddf9d8=_0x4abc80[_0x191b6f(0x266)][_0x191b6f(0x20d)](d);this[_0x191b6f(0x20c)]=!0x1,this[_0x191b6f(0x27f)](_0xddf9d8,_0x191b6f(0x21b),()=>this[_0x191b6f(0x2e2)]()),this[_0x191b6f(0x27f)](_0xddf9d8,_0x191b6f(0x1f1),()=>this[_0x191b6f(0x2e2)]());}[_0x3b63d1(0x2c7)](){const _0x42f7fc=_0x3b63d1,_0x48daa9=this[_0x42f7fc(0x205)],_0x53a727=_0x48daa9[_0x42f7fc(0x266)][_0x42f7fc(0x20d)](d),_0x2bdbfe=_0x53a727[_0x42f7fc(0x202)]?_0x53a727[_0x42f7fc(0x303)][_0x42f7fc(0x24c)]:null;_0x48daa9[_0x42f7fc(0x2d5)][_0x42f7fc(0x20d)](_0x42f7fc(0x2e8))[_0x42f7fc(0x2af)](_0x2bdbfe);}[_0x3b63d1(0x2e2)](){const _0x3f1c86=_0x3b63d1,{isReady:_0x5bdfab,isEnabled:_0x360fd5}=this[_0x3f1c86(0x205)][_0x3f1c86(0x266)][_0x3f1c86(0x20d)](d);this[_0x3f1c86(0x285)]=_0x5bdfab&&_0x360fd5;}}export class ShowChangeCommand extends _0x450db5{constructor(_0x48c42e,{direction:_0x29e384}){const _0x32a175=_0x3b63d1;super(_0x48c42e);const _0x447bb0=_0x48c42e[_0x32a175(0x266)][_0x32a175(0x20d)](d);this[_0x32a175(0x20c)]=!0x1,this[_0x32a175(0x224)]=_0x32a175(0x2eb)===_0x29e384?0x1:-0x1,this[_0x32a175(0x27f)](_0x447bb0,_0x32a175(0x21b),()=>this[_0x32a175(0x2e2)]()),this[_0x32a175(0x27f)](_0x447bb0,_0x32a175(0x1f1),()=>this[_0x32a175(0x2e2)]()),this[_0x32a175(0x27f)](_0x447bb0,_0x32a175(0x242),()=>this[_0x32a175(0x2e2)]());}[_0x3b63d1(0x2c7)](){const _0x2fd190=_0x3b63d1,_0x447dfd=this[_0x2fd190(0x205)],_0x55b98b=_0x447dfd[_0x2fd190(0x266)][_0x2fd190(0x20d)](d),{isNavigationMode:_0x29446c,currentChangeNumber:_0xac2e24}=_0x55b98b;let _0x25a151;if(_0x55b98b[_0x2fd190(0x31d)]=_0x29446c?_0x55b98b[_0x2fd190(0x303)][_0x2fd190(0x281)][_0x2fd190(0x20d)](_0xac2e24+this[_0x2fd190(0x224)]):_0x55b98b[_0x2fd190(0x303)][_0x2fd190(0x281)][_0x2fd190(0x25f)],_0x55b98b[_0x2fd190(0x31d)][_0x2fd190(0x254)][_0x2fd190(0x26c)])_0x25a151=_0x447dfd[_0x2fd190(0x1ef)][_0x2fd190(0x290)][_0x2fd190(0x2e3)](_0x55b98b[_0x2fd190(0x31d)][_0x2fd190(0x1f4)]);else{const _0xcddbc3=_0x447dfd[_0x2fd190(0x28f)][_0x2fd190(0x31c)][_0x2fd190(0x20d)](_0x2fd190(0x2e1)+_0x55b98b[_0x2fd190(0x31d)]['id']);_0x25a151=_0x583066(_0x447dfd[_0x2fd190(0x1ef)],_0xcddbc3);}_0x42f9c8({'target':_0x25a151,'viewportOffset':0x28});}[_0x3b63d1(0x2e2)](){const _0x4cc968=_0x3b63d1,{isNavigationMode:_0x299a46,currentChangeNumber:_0x501f6d,numberOfChanges:_0x5949f2,isReady:_0x51bcf0,isEnabled:_0x27ac0e}=this[_0x4cc968(0x205)][_0x4cc968(0x266)][_0x4cc968(0x20d)](d);this[_0x4cc968(0x285)]=!!(_0x27ac0e&&_0x51bcf0&&_0x5949f2)&&(!_0x299a46||(0x1===this[_0x4cc968(0x224)]?_0x501f6d<_0x5949f2-0x1:_0x501f6d>0x0));}}
|
|
23
|
+
const _0x1b96ed=_0x2c46;function _0x539a(){const _0x383b16=['includes','getIndex','elementStart','affectsData','markerRange','isIncorrect','getDomRoot','destroy','2392984zmJSEh','splice','refresh','dataToMarker','forceDisabled','removeAttribute','removeMarker','addRoot','mapViewToDom','attachChange','view','_makeTape','first','_changeView','1091798QAWnor','string','sort','showNextChange','compare','removeMarker:revision-suggestion','_fixObsoleteTags','changeId','isOnRoot','backward','getRevisionRootsAttributes','ck-suggestion-preview-marker','consume','getRoot','oldRevisionId','_activeViewTarget','target','numberOfChanges','marked','nextPosition','editor','roots','catch','index','commands','2807224cwuhRV','children','userId','toViewPosition','suggestion','pop','_removeMissingPairs','distance','ck-suggestion-marker--active','has','startIndex','bottom','createPositionBefore','map','isAttached','concat','change:isEnabled','conversion','createRange','-new','addRevision','insertions','object','_initInteractions','deletions','stop','removeClass','isAddSuggestion','markers','RevisionsRepository','merge','addMarker:revision','_balloon','nextSibling','start','ck-suggestion-marker-split','data-revision-','addHighlight','change:numberOfChanges','getAttribute','703290QqQUms','ck-revision-history-root--active','schema','ck-revision-history-root-add','getClientRects','_sortAndFilterDiffChanges','listenTo','error','return','parse','side','_markInsertions','endIndex','filter','config','getWalker','attributes','bindElementToMarker','getRevision','selection','high','abs','_cleanUp','editingDowncast','getRevisionData','isAtEnd','_markMismatchedRemovedTags','isRemoveSuggestion','resolve','reconvertMarker','currentChangeNumber','range','init','downcastDispatcher','_step','_data','createUIElement','isObject','change:activeChange','previousPosition','_getRevisionsRange','vid','default','softBreak','diff','mouseover','execute','top','8OdnGgW','data','mapper','useFillerType','values','wrap','attribute:vid','document','ck-revision-history-root-remove','split','updatePosition','_refreshStartEndIndex','toViewRange','_getViewForChange','POSITIVE_INFINITY','_setDistance','slice','removeMarker:revision','ck-suggestion-marker','revision','delete','data-change-id','loadRevisionData','newRevisionId','insertion','low','restoreRevision','ck-editor__editable__overlay','hasClass','repository','markersEnd','all','domEvent','_joinTapes','mousedown','shift','setAttribute','_markSuggestions','requires','createRangeIn','RevisionViewer','elementToAttribute','dataDowncast','revision-end','454485koLQgA','changes','findIndex','startsWith','_revisions','9raKOnT','element','done','isReady','checkAttribute','isAdded','test','_cleanMarkers','text','plugins','_markMarkers','isSuggestion','markerNameToElements','_makeModelFromViewString','showPreviousChange','showStack','attributesAfter','6lgPbyD','bind','vid_start','next','createPositionFromPath','pluginName','upcast','deletion','length','viewItem','parent','comment','isNavigationMode','getAttributes','then','suggestion:','remove','toModel','ck-suggestion-marker-','keys','domConverter','ck-revision-history-root-','highest','getChild','revisionHistoryAttachChange','revisionHistoryLabel','nodeAfter','hasAttribute','type','element:pre','_processTape','_changeIdToChange','markerToHighlight','unshift','createAttributeElement','clear','add','level','activeChange','_setConversion','isLimit','addMarker:revision-suggestion:deletion','locale','indexOf','consumable','vid_end','change','isEqual','observeMarkers','isAtStart','change:activeView','set','isBlock','change:isReady','getItems','addClass','getRootNames','revision-start','forEach','left','_makeModelFromTape','collaboration.channelId','end','find','attributesBefore','diffData','activeView','revision-suggestion','name','revision-viewer','markersStart','push','_removeUnsupportedChanges','addRevisionData','restoreRevisionCallback','isEnabled','_removeRevisionMarkers','_appendChild','isContent','_setChanges','isCollapsed','isInline','enableReadOnlyMode','insert','_getDiff','_getChangeFromId','WidgetToolbarRepository','isRemoved','markerToData','model','765565KnBgaQ','right','getCustomProperty','adapter','detachRoot','editing','revisionHistory','enqueueChange','processor','from','for','code','isAfter','unbindElementFromMarkerName','get','13550710eFFJaS','_getViewObj','isBefore','elementEnd','writer','flat','item','_findChangeIdFromDomTarget','rootName','modelRange','offsetSize','revision-suggestion:','toViewElement','authors','revision:','pairId','_update','maxOffset','span','toData','_threeWayMerge','revision-comment:','markerName','addMarker:revision-suggestion:insertion','uiElement','createRevision','ck-suggestion-marker-merge','ck-suggestion-preview-marker-','forward'];_0x539a=function(){return _0x383b16;};return _0x539a();}(function(_0x44fcad,_0x419039){const _0x5e708f=_0x2c46,_0xb16d6a=_0x44fcad();while(!![]){try{const _0xd82459=-parseInt(_0x5e708f(0x1b4))/0x1+-parseInt(_0x5e708f(0x266))/0x2+-parseInt(_0x5e708f(0x158))/0x3+-parseInt(_0x5e708f(0x188))/0x4*(-parseInt(_0x5e708f(0x224))/0x5)+-parseInt(_0x5e708f(0x1ca))/0x6*(parseInt(_0x5e708f(0x130))/0x7)+-parseInt(_0x5e708f(0x258))/0x8*(-parseInt(_0x5e708f(0x1b9))/0x9)+parseInt(_0x5e708f(0x233))/0xa;if(_0xd82459===_0x419039)break;else _0xb16d6a['push'](_0xb16d6a['shift']());}catch(_0x382fc8){_0xb16d6a['push'](_0xb16d6a['shift']());}}}(_0x539a,0x4f3de));import{Plugin as _0x552c14,Command as _0x2abe37}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x48ee46}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x39a237}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2fef33,Element as _0x1fd6ec,Text as _0x26f928,ViewDocumentFragment as _0x4c78bd,ViewText as _0x4499ad,ViewElement as _0x2d98c6,ViewContainerElement as _0x2b8772,ViewAttributeElement as _0x4cf259,ViewEmptyElement as _0x3207a8,ViewRawElement as _0x3cd951,ViewUIElement as _0x1d7ad4}from'ckeditor5/src/engine.js';function _0x2c46(_0x2497ea,_0x5dfa0b){const _0x539aac=_0x539a();return _0x2c46=function(_0x2c4659,_0x3e0da1){_0x2c4659=_0x2c4659-0x11c;let _0x2ff268=_0x539aac[_0x2c4659];return _0x2ff268;},_0x2c46(_0x2497ea,_0x5dfa0b);}import{Users as _0x19d555,getMarkerDomElement as _0x41d852}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x455ae0 from'./ui/revisionviewer/changedetailsview.js';import _0x4a06b4 from'./revisionsrepository.js';import _0x880468 from'./changeitem.js';import{default as _0x8e5470}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x2e74de}from'lodash-es';const tt={'c':_0x2b8772,'a':_0x4cf259,'e':_0x3207a8,'r':_0x3cd951,'u':_0x1d7ad4};export default class d extends _0x552c14{static get[_0x1b96ed(0x1cf)](){const _0x2c96cf=_0x1b96ed;return _0x2c96cf(0x1b0);}static get[_0x1b96ed(0x1ae)](){return[_0x19d555,_0x39a237,_0x4a06b4];}constructor(_0x5417af){const _0x504394=_0x1b96ed;super(_0x5417af),this[_0x504394(0x1a5)]=this[_0x504394(0x12b)][_0x504394(0x1c2)][_0x504394(0x232)](_0x504394(0x14d)),this[_0x504394(0x1fd)](_0x504394(0x1f0),null),this[_0x504394(0x1fd)](_0x504394(0x20c),null),this[_0x504394(0x126)]=null,this[_0x504394(0x1fd)](_0x504394(0x184),null),this[_0x504394(0x1fd)](_0x504394(0x1bc),!0x1),this[_0x504394(0x1fd)](_0x504394(0x215),!0x0),this['on'](_0x504394(0x140),(_0x29f141,_0x3dd5d2,_0x7db9a)=>{const _0x3cbf8c=_0x504394;this[_0x3cbf8c(0x1f0)]=null,this[_0x3cbf8c(0x20c)]=null,this[_0x3cbf8c(0x12b)][_0x3cbf8c(0x229)][_0x3cbf8c(0x262)][_0x3cbf8c(0x1f8)](_0x28fec0=>{const _0x5d9ed7=_0x3cbf8c;for(const _0x2aec0d of this[_0x5d9ed7(0x12b)][_0x5d9ed7(0x229)][_0x5d9ed7(0x262)][_0x5d9ed7(0x18f)][_0x5d9ed7(0x12c)])_0x7db9a?_0x28fec0[_0x5d9ed7(0x14a)](_0x5d9ed7(0x1a3),_0x2aec0d):_0x28fec0[_0x5d9ed7(0x201)](_0x5d9ed7(0x1a3),_0x2aec0d);});}),this[_0x504394(0x1cb)](_0x504394(0x1d6))['to'](this,_0x504394(0x1f0),_0xcbece6=>null!==_0xcbece6),this[_0x504394(0x1cb)](_0x504394(0x176))['to'](this,_0x504394(0x1bc),this,_0x504394(0x184),this,_0x504394(0x1f0),(_0x2fd531,_0x470f46,_0x4873eb)=>_0x2fd531&&_0x4873eb?_0x470f46[_0x504394(0x1b5)][_0x504394(0x251)](_0x4873eb):0x0),this[_0x504394(0x1cb)](_0x504394(0x128))['to'](this,_0x504394(0x1bc),this,_0x504394(0x184),(_0x3cf8ca,_0x4ef48d)=>_0x3cf8ca?_0x4ef48d[_0x504394(0x1b5)][_0x504394(0x1d2)]:0x0),this[_0x504394(0x265)]=null,this[_0x504394(0x1e9)]=new Map(),this[_0x504394(0x227)]=null,this[_0x504394(0x150)]=this[_0x504394(0x12b)][_0x504394(0x1c2)][_0x504394(0x232)](_0x39a237);}[_0x1b96ed(0x178)](){const _0x1f8fa3=_0x1b96ed,_0x47fdb9=this[_0x1f8fa3(0x12b)],_0x1daa9d=new ShowChangeCommand(_0x47fdb9,{'direction':_0x1f8fa3(0x120)}),_0x8f2fe8=new ShowChangeCommand(_0x47fdb9,{'direction':_0x1f8fa3(0x24f)});(_0x47fdb9[_0x1f8fa3(0x12f)][_0x1f8fa3(0x1ee)](_0x1f8fa3(0x1c7),_0x1daa9d),_0x47fdb9[_0x1f8fa3(0x12f)][_0x1f8fa3(0x1ee)](_0x1f8fa3(0x269),_0x8f2fe8),_0x47fdb9[_0x1f8fa3(0x12f)][_0x1f8fa3(0x1ee)](_0x1f8fa3(0x1a2),new RestoreRevisionCommand(_0x47fdb9)),this['on'](_0x1f8fa3(0x156),()=>{const _0x16f1c5=_0x1f8fa3;_0x1daa9d[_0x16f1c5(0x25a)](),_0x8f2fe8[_0x16f1c5(0x25a)]();}),this[_0x1f8fa3(0x1f1)](),this[_0x1f8fa3(0x147)](),_0x47fdb9[_0x1f8fa3(0x21c)](_0x1f8fa3(0x20f)),_0x47fdb9[_0x1f8fa3(0x1c2)][_0x1f8fa3(0x139)](_0x1f8fa3(0x220)))&&_0x47fdb9[_0x1f8fa3(0x1c2)][_0x1f8fa3(0x232)](_0x1f8fa3(0x220))[_0x1f8fa3(0x25c)](_0x1f8fa3(0x20f));}async[_0x1b96ed(0x170)](_0x4b4811){const _0x223303=_0x1b96ed;await this[_0x223303(0x19e)](_0x4b4811);const _0x280aad={};for(const _0x196d37 in _0x4b4811[_0x223303(0x20b)]){if(_0x4b4811[_0x223303(0x20b)][_0x196d37][_0x223303(0x261)]&&!_0x4b4811[_0x223303(0x20b)][_0x196d37][_0x223303(0x261)][_0x223303(0x13e)])continue;const _0xc9d6a=this[_0x223303(0x216)](JSON[_0x223303(0x161)](_0x4b4811[_0x223303(0x20b)][_0x196d37][_0x223303(0x145)])),_0x1ec87d=this[_0x223303(0x12b)][_0x223303(0x229)][_0x223303(0x262)][_0x223303(0x18f)],_0x2f5203=new _0x4c78bd(_0x1ec87d,_0xc9d6a[_0x223303(0x13d)](_0x12196d=>this[_0x223303(0x234)](_0x12196d)));this[_0x223303(0x12b)][_0x223303(0x189)][_0x223303(0x22c)][_0x223303(0x18b)](_0x223303(0x129)),_0x280aad[_0x196d37]=this[_0x223303(0x12b)][_0x223303(0x189)][_0x223303(0x22c)][_0x223303(0x246)](_0x2f5203),this[_0x223303(0x12b)][_0x223303(0x189)][_0x223303(0x22c)][_0x223303(0x18b)](_0x223303(0x182));}return _0x280aad;}async[_0x1b96ed(0x121)](_0x426093){const _0x41bf97=_0x1b96ed;await this[_0x41bf97(0x19e)](_0x426093);const _0x1daf38={};for(const _0x497caa in _0x426093[_0x41bf97(0x20b)])_0x426093[_0x41bf97(0x20b)][_0x497caa][_0x41bf97(0x261)]&&!_0x426093[_0x41bf97(0x20b)][_0x497caa][_0x41bf97(0x261)][_0x41bf97(0x13e)]||(_0x1daf38[_0x497caa]=_0x426093[_0x41bf97(0x20b)][_0x497caa][_0x41bf97(0x1c9)]||{});return _0x1daf38;}[_0x1b96ed(0x216)](_0x1f3cb4){const _0x27f063=_0x1b96ed;return(_0x1f3cb4=_0x1f3cb4[_0x27f063(0x165)](_0x43641f=>!_0x43641f[_0x27f063(0x20e)]||_0x27f063(0x203)!==_0x43641f[_0x27f063(0x20e)]&&_0x27f063(0x1b3)!==_0x43641f[_0x27f063(0x20e)]))[_0x27f063(0x204)](_0x1853c3=>{const _0x185b48=_0x27f063;_0x185b48(0x267)!=typeof _0x1853c3&&(_0x1853c3[_0x185b48(0x131)]=this[_0x185b48(0x216)](_0x1853c3[_0x185b48(0x131)]),_0x1853c3[_0x185b48(0x168)]=_0x1853c3[_0x185b48(0x168)][_0x185b48(0x165)](_0x4e7c3c=>!_0x4e7c3c[0x0][_0x185b48(0x1b7)](_0x185b48(0x154))));}),_0x1f3cb4;}async[_0x1b96ed(0x26a)](_0x59700c,_0x4c52ff,_0x4ad5d0=!0x1){const _0x3d862e=_0x1b96ed;if(!this[_0x3d862e(0x215)])return;const _0x147e51=this[_0x3d862e(0x184)],_0xf0ba36=this[_0x3d862e(0x1a5)],_0x3f20c6=_0x3d862e(0x267)==typeof _0x59700c?_0xf0ba36[_0x3d862e(0x16a)](_0x59700c):_0x59700c,_0x5f45fa=_0x3d862e(0x267)==typeof _0x4c52ff?_0xf0ba36[_0x3d862e(0x16a)](_0x4c52ff):_0x4c52ff,_0x4980dd=_0x3f20c6['id'],_0x1cbb08=_0x5f45fa?_0x5f45fa['id']:null;if(!_0x4ad5d0&&this[_0x3d862e(0x184)]&&this[_0x3d862e(0x184)][_0x3d862e(0x19f)]===_0x4980dd&&this[_0x3d862e(0x184)][_0x3d862e(0x125)]===_0x1cbb08)return Promise[_0x3d862e(0x174)]();this[_0x3d862e(0x1bc)]=!0x1,this[_0x3d862e(0x20c)]=null,this[_0x3d862e(0x1f0)]=null,this[_0x3d862e(0x184)]=new _0x8e5470(_0x4980dd,_0x1cbb08);const _0xe00816=this[_0x3d862e(0x180)](_0x3f20c6,_0x5f45fa,!0x0)[_0x3d862e(0x13d)](_0x5e76df=>this[_0x3d862e(0x19e)](_0x5e76df));return _0xe00816[_0x3d862e(0x211)](new Promise(_0x29f9da=>{setTimeout(_0x29f9da,0x14);})),Promise[_0x3d862e(0x1a7)](_0xe00816)[_0x3d862e(0x1d8)](()=>{const _0x436707=_0x3d862e;if(!this[_0x436707(0x215)])return;this[_0x436707(0x16e)]();const _0x2db319=this[_0x436707(0x21e)](_0x4980dd,_0x1cbb08);for(const _0x5324b9 of _0x2db319[_0x436707(0x1b5)])this[_0x436707(0x1e9)][_0x436707(0x1fd)](_0x5324b9['id'],_0x5324b9);this[_0x436707(0x12b)][_0x436707(0x223)][_0x436707(0x22b)]({'isUndoable':!0x1},_0x4d7472=>{const _0x1697ca=_0x436707;for(const _0x18da61 of this[_0x1697ca(0x12b)][_0x1697ca(0x223)][_0x1697ca(0x18f)][_0x1697ca(0x202)]())_0x4d7472[_0x1697ca(0x228)](_0x18da61);for(const _0x5e3790 of Object[_0x1697ca(0x1dd)](_0x2db319[_0x1697ca(0x223)])){const _0x2242cb=_0x4d7472[_0x1697ca(0x25f)](_0x5e3790);for(const _0x261ad5 of Object[_0x1697ca(0x1dd)](_0x2db319[_0x1697ca(0x168)][_0x5e3790]))_0x4d7472[_0x1697ca(0x1ac)](_0x261ad5,_0x2db319[_0x1697ca(0x168)][_0x5e3790][_0x261ad5],_0x2242cb);_0x4d7472[_0x1697ca(0x21d)](_0x2db319[_0x1697ca(0x223)][_0x5e3790],_0x2242cb,0x0);}}),this[_0x436707(0x184)][_0x436707(0x219)](this[_0x436707(0x15d)](_0x2db319[_0x436707(0x1b5)])),this[_0x436707(0x1bc)]=!0x0;})[_0x3d862e(0x12d)](_0x1e5e7d=>{const _0x3a13e1=_0x3d862e;console[_0x3a13e1(0x15f)](_0x1e5e7d),this[_0x3a13e1(0x16e)](),_0x147e51&&(this[_0x3a13e1(0x184)]=_0x147e51),this[_0x3a13e1(0x1bc)]=!0x0;});}[_0x1b96ed(0x213)](_0x110da2,_0x80dfc7){const _0x15dd66=_0x1b96ed,_0x2372be=this[_0x15dd66(0x1a5)][_0x15dd66(0x24c)](_0x110da2);return _0x2372be['on'](_0x15dd66(0x243),(_0x4729e6,_0x552f55,_0x5ceabe)=>_0x80dfc7(_0x552f55,_0x5ceabe,_0x2372be)),this[_0x15dd66(0x1a5)][_0x15dd66(0x144)](_0x2372be),_0x2372be;}[_0x1b96ed(0x19e)](_0xca4da3){const _0x51b100=_0x1b96ed;if(!_0xca4da3||_0xca4da3[_0x51b100(0x20b)])return Promise[_0x51b100(0x174)]();{const _0x17f19f=this[_0x51b100(0x12b)][_0x51b100(0x166)][_0x51b100(0x232)](_0x51b100(0x207));return this[_0x51b100(0x227)][_0x51b100(0x16a)]({'channelId':_0x17f19f,'revisionId':_0xca4da3['id']})[_0x51b100(0x1d8)](_0x1da986=>{const _0x569fb2=_0x51b100;_0xca4da3[_0x569fb2(0x243)]({'diffData':_0x1da986[_0x569fb2(0x20b)]},!0x0);});}}[_0x1b96ed(0x16e)](){const _0x1eeea4=_0x1b96ed;this[_0x1eeea4(0x1f0)]=null,this[_0x1eeea4(0x1c0)](),this[_0x1eeea4(0x265)]&&this[_0x1eeea4(0x265)][_0x1eeea4(0x257)](),this[_0x1eeea4(0x265)]=null,this[_0x1eeea4(0x1e9)][_0x1eeea4(0x1ed)](),this[_0x1eeea4(0x12b)][_0x1eeea4(0x223)][_0x1eeea4(0x22b)]({'isUndoable':!0x1},_0x483ccc=>{const _0x1854e0=_0x1eeea4;for(const _0x908b5 of this[_0x1854e0(0x12b)][_0x1854e0(0x223)][_0x1854e0(0x18f)][_0x1854e0(0x202)]())_0x483ccc[_0x1854e0(0x228)](_0x908b5);});}[_0x1b96ed(0x15d)](_0x3ea9ae){const _0x564ae4=_0x1b96ed,_0x6059b2=[],_0xc753b=new Map();for(const _0x2f5c2d of this[_0x564ae4(0x12b)][_0x564ae4(0x223)][_0x564ae4(0x18f)][_0x564ae4(0x202)]()){const _0x55ab4f=this[_0x564ae4(0x12b)][_0x564ae4(0x229)][_0x564ae4(0x262)][_0x564ae4(0x256)](_0x2f5c2d);if(!_0x55ab4f)continue;const _0x3375c4=_0x55ab4f[_0x564ae4(0x15c)]()[_0x564ae4(0x239)](0x0);_0x3375c4&&(_0x6059b2[_0x564ae4(0x211)](_0x2f5c2d),_0xc753b[_0x564ae4(0x1fd)](_0x2f5c2d,_0x3375c4));}return _0x6059b2[_0x564ae4(0x268)]((_0x3a9f4f,_0xda1685)=>{const _0x713c39=_0x564ae4,_0x1efc1b=_0xc753b[_0x713c39(0x232)](_0x3a9f4f),_0x509183=_0xc753b[_0x713c39(0x232)](_0xda1685);return _0x1efc1b['y']-_0x509183['y']||_0x1efc1b['x']-_0x509183['x'];}),(_0x3ea9ae=_0x3ea9ae[_0x564ae4(0x165)](_0x5cab2a=>_0x6059b2[_0x564ae4(0x250)](_0x5cab2a[_0x564ae4(0x23b)])))[_0x564ae4(0x268)]((_0x50a6f5,_0x43ec1c)=>_0x6059b2[_0x564ae4(0x1f5)](_0x50a6f5[_0x564ae4(0x23b)])-_0x6059b2[_0x564ae4(0x1f5)](_0x43ec1c[_0x564ae4(0x23b)])),_0x3ea9ae;}[_0x1b96ed(0x263)](_0x52e6b8){const _0xb39b75=_0x1b96ed,_0x2da2a4=Array[_0xb39b75(0x22d)](_0x52e6b8[_0xb39b75(0x14c)])[_0xb39b75(0x165)](([_0x4c8055,_0x172c6d])=>_0x4c8055[_0xb39b75(0x1b7)](_0xb39b75(0x241))&&!_0x172c6d[_0xb39b75(0x21a)]),_0x313083=Array[_0xb39b75(0x22d)](this[_0xb39b75(0x12b)][_0xb39b75(0x223)][_0xb39b75(0x1af)](_0x52e6b8)[_0xb39b75(0x167)]({'singleCharacters':!0x0}));if(0x0!=_0x2da2a4[_0xb39b75(0x1d2)])for(const _0x893580 of _0x313083){const [_0x3b6b4f,_0xcde3a9]=_0x2da2a4[0x0],[,_0x261aa9,_0x1b9ef5]=_0x3b6b4f[_0xb39b75(0x191)](':');if(_0xcde3a9[_0xb39b75(0x208)][_0xb39b75(0x1f9)](_0x893580[_0xb39b75(0x12a)])&&_0x2da2a4[_0xb39b75(0x1ab)](),(_0x893580[_0xb39b75(0x17f)][_0xb39b75(0x1f9)](_0xcde3a9[_0xb39b75(0x152)])||_0x893580[_0xb39b75(0x17f)][_0xb39b75(0x230)](_0xcde3a9[_0xb39b75(0x152)]))&&(_0xb39b75(0x1a0)==_0x261aa9?_0x893580[_0xb39b75(0x1be)]={'userId':_0x1b9ef5}:_0xb39b75(0x1d1)==_0x261aa9&&(_0x893580[_0xb39b75(0x221)]={'userId':_0x1b9ef5})),0x0==_0x2da2a4[_0xb39b75(0x1d2)])break;}return _0x313083;}[_0x1b96ed(0x193)](_0x51662b){const _0x37a2e7=_0x1b96ed,_0x16841c=new Map();for(let _0x2217e1=0x0;_0x2217e1<_0x51662b[_0x37a2e7(0x1d2)];_0x2217e1++)_0x37a2e7(0x1c1)===_0x51662b[_0x2217e1][_0x37a2e7(0x1e6)]?(_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x13a)]=_0x2217e1,_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x164)]=_0x2217e1):(_0x37a2e7(0x252)===_0x51662b[_0x2217e1][_0x37a2e7(0x1e6)]?_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x13a)]=_0x2217e1:_0x37a2e7(0x236)===_0x51662b[_0x2217e1][_0x37a2e7(0x1e6)]&&(_0x51662b[_0x2217e1][_0x37a2e7(0x239)][_0x37a2e7(0x164)]=_0x2217e1),_0x16841c[_0x37a2e7(0x1fd)](_0x51662b[_0x2217e1]['id'],_0x2217e1));for(const _0x9fb7f9 of _0x16841c[_0x37a2e7(0x18c)]())_0x37a2e7(0x252)===_0x51662b[_0x9fb7f9][_0x37a2e7(0x1e6)]?_0x51662b[_0x9fb7f9][_0x37a2e7(0x239)][_0x37a2e7(0x164)]=_0x16841c[_0x37a2e7(0x232)](_0x51662b[_0x9fb7f9][_0x37a2e7(0x242)]):_0x37a2e7(0x236)===_0x51662b[_0x9fb7f9][_0x37a2e7(0x1e6)]&&(_0x51662b[_0x9fb7f9][_0x37a2e7(0x239)][_0x37a2e7(0x13a)]=_0x16841c[_0x37a2e7(0x232)](_0x51662b[_0x9fb7f9][_0x37a2e7(0x242)]));}[_0x1b96ed(0x1e8)](_0xe1a0ea){const _0x1ac3d2=_0x1b96ed;for(let _0x5d6382=0x0;_0x5d6382<_0xe1a0ea[_0x1ac3d2(0x1d2)];_0x5d6382++){if(_0x1ac3d2(0x252)===_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x1e6)])_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x13a)]=_0x5d6382;else{if(_0x1ac3d2(0x236)===_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x1e6)]){_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x164)]=_0x5d6382;const _0x4856de=_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x13a)];_0xe1a0ea[_0x4856de][_0x1ac3d2(0x242)]=_0xe1a0ea[_0x5d6382]['id'],_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x242)]=_0xe1a0ea[_0x4856de]['id'];}else _0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x13a)]=_0x5d6382,_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x239)][_0x1ac3d2(0x164)]=_0x5d6382,_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x242)]=null;}_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x210)]||(_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x210)]=[],_0xe1a0ea[_0x5d6382][_0x1ac3d2(0x1a6)]=[]);}}[_0x1b96ed(0x163)](_0x291189,_0x4be296){const _0x4682fa=_0x1b96ed,_0x1993ed=_0x291189[_0x4682fa(0x165)](_0x4bd9bb=>!_0x4bd9bb[_0x4682fa(0x1be)]);for(let _0x1c3324=0x0;_0x1c3324<_0x4be296[_0x4682fa(0x1d2)];_0x1c3324++)_0x4be296[_0x1c3324][_0x4682fa(0x1be)]&&(_0x1993ed[_0x1c3324][_0x4682fa(0x1be)]=_0x4be296[_0x1c3324][_0x4682fa(0x1be)]);}[_0x1b96ed(0x1c6)](_0x2018b2){const _0x4d3e03=_0x1b96ed,_0x578902=JSON[_0x4d3e03(0x161)](_0x2018b2),_0xb1791b=this[_0x4d3e03(0x12b)][_0x4d3e03(0x229)][_0x4d3e03(0x262)][_0x4d3e03(0x18f)],_0x201e26=new _0x4c78bd(_0xb1791b,_0x578902[_0x4d3e03(0x13d)](_0x33995a=>this[_0x4d3e03(0x234)](_0x33995a)));return this[_0x4d3e03(0x12b)][_0x4d3e03(0x189)][_0x4d3e03(0x1db)](_0x201e26);}[_0x1b96ed(0x234)](_0x49ae64){const _0x308428=_0x1b96ed,_0x3ebe99=this[_0x308428(0x12b)][_0x308428(0x229)][_0x308428(0x262)][_0x308428(0x18f)];if(_0x308428(0x267)==typeof _0x49ae64)return new _0x4499ad(_0x3ebe99,_0x49ae64);{const _0xc40827=_0x49ae64[_0x308428(0x131)][_0x308428(0x13d)](_0x50f1b1=>this[_0x308428(0x234)](_0x50f1b1));return new(tt[_0x49ae64[(_0x308428(0x1e6))]]||_0x2d98c6)(_0x3ebe99,_0x49ae64[_0x308428(0x20e)],_0x49ae64[_0x308428(0x168)],_0xc40827);}}[_0x1b96ed(0x21e)](_0x9a2ed7,_0x259921=null){const _0x5dc8f8=_0x1b96ed,_0x3d0197=this[_0x5dc8f8(0x1a5)][_0x5dc8f8(0x16a)](_0x9a2ed7),_0x592e68=_0x259921?this[_0x5dc8f8(0x1a5)][_0x5dc8f8(0x16a)](_0x259921):null,_0x357164=this[_0x5dc8f8(0x180)](_0x3d0197,_0x592e68),_0x5a5973=_0x357164[_0x357164[_0x5dc8f8(0x1d2)]-0x1],_0x2f16b4=new Map(),_0x23dbae={'model':{},'attributes':{},'changes':[]},_0x3400d1=new Set(),_0x4e0d4e=new Map();for(let _0x4cb233=_0x357164[_0x5dc8f8(0x1d2)]-0x1;_0x4cb233>=0x0;_0x4cb233--){const _0x168f02=_0x357164[_0x4cb233];for(const _0x2b21e7 of Object[_0x5dc8f8(0x1dd)](_0x168f02[_0x5dc8f8(0x20b)]))if(_0x168f02[_0x5dc8f8(0x20b)][_0x2b21e7][_0x5dc8f8(0x261)]){const _0x434b63=_0x168f02[_0x5dc8f8(0x20b)][_0x2b21e7][_0x5dc8f8(0x261)];_0x434b63[_0x5dc8f8(0x13e)]?(_0x3400d1[_0x5dc8f8(0x1ee)](_0x2b21e7),_0x4e0d4e[_0x5dc8f8(0x139)](_0x2b21e7)&&_0x4e0d4e[_0x5dc8f8(0x232)](_0x2b21e7)[_0x5dc8f8(0x132)]==_0x434b63[_0x5dc8f8(0x132)]?_0x4e0d4e[_0x5dc8f8(0x19c)](_0x2b21e7):_0x4e0d4e[_0x5dc8f8(0x1fd)](_0x2b21e7,_0x434b63)):_0x4e0d4e[_0x5dc8f8(0x139)](_0x2b21e7)?(_0x3400d1[_0x5dc8f8(0x19c)](_0x2b21e7),_0x4e0d4e[_0x5dc8f8(0x19c)](_0x2b21e7)):(_0x3400d1[_0x5dc8f8(0x1ee)](_0x2b21e7),_0x4e0d4e[_0x5dc8f8(0x1fd)](_0x2b21e7,_0x434b63));}else _0x3400d1[_0x5dc8f8(0x1ee)](_0x2b21e7);}for(const _0x2fb9e5 of _0x3400d1){const _0x11fe85=_0x4e0d4e[_0x5dc8f8(0x139)](_0x2fb9e5)&&!_0x4e0d4e[_0x5dc8f8(0x232)](_0x2fb9e5)[_0x5dc8f8(0x13e)];let _0x5b222d=_0x11fe85?_0x357164[_0x5dc8f8(0x1d2)]-0x1:0x0;const _0x472e56=_0x11fe85?-0x1:0x1;for(;_0x357164[_0x5b222d];){const _0x9c442=_0x357164[_0x5b222d];if(_0x9c442[_0x5dc8f8(0x20b)][_0x2fb9e5]){const _0x6f6096=_0x11fe85?_0x9c442[_0x5dc8f8(0x20b)][_0x2fb9e5][_0x5dc8f8(0x20a)]:_0x9c442[_0x5dc8f8(0x20b)][_0x2fb9e5][_0x5dc8f8(0x1c9)];_0x23dbae[_0x5dc8f8(0x168)][_0x2fb9e5]=_0x6f6096?_0x2e74de(_0x6f6096):{};break;}_0x5b222d+=_0x472e56;}}for(const _0x1b47ad of _0x357164){_0x1b47ad[_0x5dc8f8(0x223)]={};for(const _0x476659 of _0x1b47ad[_0x5dc8f8(0x240)])_0x2f16b4[_0x5dc8f8(0x1fd)](_0x476659['id'],_0x476659);for(const _0x41f066 of _0x3400d1){const _0x4d3a29=_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066]?_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066][_0x5dc8f8(0x145)]:'[]',_0x3353c4=_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066]?_0x1b47ad[_0x5dc8f8(0x20b)][_0x41f066][_0x5dc8f8(0x148)]:'[]';_0x1b47ad[_0x5dc8f8(0x223)][_0x41f066]={'insertions':this[_0x5dc8f8(0x1c6)](_0x4d3a29),'deletions':this[_0x5dc8f8(0x1c6)](_0x3353c4)};}}for(const _0x26dda1 of _0x3400d1){let _0x490d6f=null,_0x3c3cbe=0x0;const _0x47bbe6=new Map(Array[_0x5dc8f8(0x22d)](_0x3d0197[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x145)][_0x5dc8f8(0x14c)])[_0x5dc8f8(0x165)](([_0x3292b8])=>!_0x3292b8[_0x5dc8f8(0x1b7)](_0x5dc8f8(0x241))));let _0x5b2202=0x0;for(const _0x5295ff of _0x357164){const _0x527668=this[_0x5dc8f8(0x263)](_0x5295ff[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x145)]);_0x5295ff==_0x3d0197?(_0x490d6f=_0x527668,_0x3c3cbe=_0x490d6f[_0x5dc8f8(0x1d2)],_0x490d6f[_0x5dc8f8(0x204)](_0x4205b2=>{_0x4205b2['id']=_0x5b2202++;}),this[_0x5dc8f8(0x1e8)](_0x490d6f)):this[_0x5dc8f8(0x163)](_0x490d6f,_0x527668);const _0x1eacd2=_0x490d6f[_0x5dc8f8(0x165)](_0x1b59a4=>!_0x1b59a4[_0x5dc8f8(0x1be)])[_0x5dc8f8(0x13d)](_0x1a80ae=>_0x1a80ae['id']);let _0x4f2934=0x0;const _0x1c8300=this[_0x5dc8f8(0x263)](_0x5295ff[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x148)]);_0x1c8300[_0x5dc8f8(0x204)](_0xf83ec3=>{const _0x54a5c8=_0x5dc8f8;_0xf83ec3[_0x54a5c8(0x221)]?_0xf83ec3['id']=_0x3c3cbe++:_0xf83ec3['id']=_0x1eacd2[_0x4f2934++];}),this[_0x5dc8f8(0x1e8)](_0x1c8300),this[_0x5dc8f8(0x197)](_0x490d6f,_0x5dc8f8(0x1be)),this[_0x5dc8f8(0x197)](_0x1c8300,_0x5dc8f8(0x221)),_0x5295ff==_0x3d0197&&this[_0x5dc8f8(0x1c3)](_0x490d6f,_0x47bbe6),_0x490d6f=this[_0x5dc8f8(0x1a9)](_0x490d6f,_0x1c8300),this[_0x5dc8f8(0x193)](_0x490d6f),this[_0x5dc8f8(0x197)](_0x490d6f,_0x5dc8f8(0x221));}_0x490d6f=_0x490d6f[_0x5dc8f8(0x165)](_0x19d7f5=>!(_0x19d7f5[_0x5dc8f8(0x1be)]&&_0x19d7f5[_0x5dc8f8(0x221)]));const _0x546a13=new Map(_0x5a5973[_0x5dc8f8(0x223)][_0x26dda1][_0x5dc8f8(0x148)][_0x5dc8f8(0x14c)]),_0x782143=new Set(_0x47bbe6[_0x5dc8f8(0x1dd)]());for(const _0x56b297 of _0x546a13[_0x5dc8f8(0x1dd)]())_0x782143[_0x5dc8f8(0x19c)](_0x56b297);this[_0x5dc8f8(0x1ad)](_0x490d6f,_0x782143),this[_0x5dc8f8(0x11d)](_0x490d6f),_0x490d6f=this[_0x5dc8f8(0x136)](_0x490d6f),_0x490d6f=this[_0x5dc8f8(0x172)](_0x490d6f),_0x490d6f=this[_0x5dc8f8(0x212)](_0x490d6f);const {root:_0x123903,changes:_0x5a42e5}=this[_0x5dc8f8(0x206)](_0x490d6f,_0x2f16b4,_0x26dda1);_0x23dbae[_0x5dc8f8(0x223)][_0x26dda1]=_0x123903;const _0x4f2fac=_0x4e0d4e[_0x5dc8f8(0x232)](_0x26dda1);if(_0x4f2fac){const _0x12f4dc=_0x2f16b4[_0x5dc8f8(0x232)](_0x4f2fac[_0x5dc8f8(0x132)]),_0x4cfda3=new _0x880468({'author':_0x12f4dc,'type':_0x4f2fac[_0x5dc8f8(0x13e)]?_0x5dc8f8(0x1ee):_0x5dc8f8(0x1da),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x26dda1});_0x5a42e5[_0x5dc8f8(0x1eb)](_0x4cfda3),_0x23dbae[_0x5dc8f8(0x168)][_0x26dda1][_0x5dc8f8(0x1e2)]=_0x4cfda3['id'];}_0x23dbae[_0x5dc8f8(0x1b5)]=_0x23dbae[_0x5dc8f8(0x1b5)][_0x5dc8f8(0x13f)](_0x5a42e5);}return _0x23dbae;}[_0x1b96ed(0x1c3)](_0x3a00cb,_0x2bb233){const _0x10239e=_0x1b96ed;for(let _0x54417d=0x0;_0x54417d<_0x3a00cb[_0x10239e(0x1d2)];_0x54417d++)for(const [_0x148634,_0x1ae4fe]of _0x2bb233)_0x1ae4fe[_0x10239e(0x152)][_0x10239e(0x1f9)](_0x3a00cb[_0x54417d][_0x10239e(0x17f)])&&_0x3a00cb[_0x54417d][_0x10239e(0x210)][_0x10239e(0x211)](_0x148634),_0x1ae4fe[_0x10239e(0x208)][_0x10239e(0x1f9)](_0x3a00cb[_0x54417d][_0x10239e(0x12a)])&&_0x3a00cb[_0x54417d][_0x10239e(0x1a6)][_0x10239e(0x211)](_0x148634);}[_0x1b96ed(0x1a9)](_0x5c82a4,_0x508770){const _0x279b84=_0x1b96ed;let _0x38601b=[],_0x1a284c=0x0,_0x5c5ae1=0x0;for(;_0x1a284c<_0x5c82a4[_0x279b84(0x1d2)]||_0x5c5ae1<_0x508770[_0x279b84(0x1d2)];){const _0xe8a468=_0x5c82a4[_0x1a284c]||{},_0x2b21b3=_0x508770[_0x5c5ae1]||{};if(_0xe8a468['id']==_0x2b21b3['id'])_0x1a284c++,_0x5c5ae1++,_0x38601b[_0x279b84(0x211)](_0xe8a468);else{if(_0x2b21b3[_0x279b84(0x221)]&&_0xe8a468[_0x279b84(0x1be)]){const {commonTape:_0x11681e,iEnd:_0x53460e,jEnd:_0x3f2bc6}=this[_0x279b84(0x247)](_0x5c82a4,_0x1a284c,_0x508770,_0x5c5ae1);_0x38601b=_0x38601b[_0x279b84(0x13f)](_0x11681e),_0x1a284c=_0x53460e,_0x5c5ae1=_0x3f2bc6;}else _0x2b21b3[_0x279b84(0x221)]?(_0x5c5ae1++,_0x38601b[_0x279b84(0x211)](_0x2b21b3)):(_0x1a284c++,_0x38601b[_0x279b84(0x211)](_0xe8a468));}}return _0x38601b;}[_0x1b96ed(0x1ad)](_0x10c828,_0x3d7c47){const _0x13c557=_0x1b96ed,_0x237569=[];for(let _0x2c43e4=0x0;_0x2c43e4<_0x10c828[_0x13c557(0x1d2)];_0x2c43e4++){for(let _0x38c6f4=0x0;_0x38c6f4<_0x10c828[_0x2c43e4][_0x13c557(0x210)][_0x13c557(0x1d2)];_0x38c6f4++){const _0x359c76=_0x10c828[_0x2c43e4][_0x13c557(0x210)][_0x38c6f4];if(!_0x3d7c47[_0x13c557(0x139)](_0x359c76))continue;const {group:_0x374448,type:_0x36b6ec,authorId:_0xda5624}=_0x1822d7(_0x359c76);_0x13c557(0x20d)!=_0x374448||_0x13c557(0x1a0)!=_0x36b6ec&&_0x13c557(0x1d1)!=_0x36b6ec||(_0x237569[_0x13c557(0x1eb)]({'type':_0x36b6ec,'name':_0x359c76,'userId':_0xda5624}),_0x10c828[_0x2c43e4][_0x13c557(0x210)][_0x13c557(0x259)](_0x38c6f4,0x1),_0x38c6f4--);}_0x5a3526(_0x10c828[_0x2c43e4]);for(let _0x212c11=0x0;_0x212c11<_0x10c828[_0x2c43e4][_0x13c557(0x1a6)][_0x13c557(0x1d2)];_0x212c11++){const _0x552a9a=_0x10c828[_0x2c43e4][_0x13c557(0x1a6)][_0x212c11];if(!_0x3d7c47[_0x13c557(0x139)](_0x552a9a))continue;const {group:_0x3a717b,type:_0x96c9e8}=_0x1822d7(_0x552a9a);if(_0x13c557(0x20d)!=_0x3a717b||_0x13c557(0x1a0)!=_0x96c9e8&&_0x13c557(0x1d1)!=_0x96c9e8)continue;_0x10c828[_0x2c43e4][_0x13c557(0x1a6)][_0x13c557(0x259)](_0x212c11,0x1),_0x212c11--;const _0x1a7a43=_0x237569[_0x13c557(0x1b6)](_0x39ad2c=>_0x39ad2c[_0x13c557(0x20e)]==_0x552a9a);_0x1a7a43>-0x1&&_0x237569[_0x13c557(0x259)](_0x1a7a43,0x1);}}function _0x1822d7(_0x5a4c2a){const _0x4f9ee1=_0x13c557,_0x171a61=_0x5a4c2a[_0x4f9ee1(0x191)](':');return{'group':_0x171a61[0x0],'type':_0x171a61[0x1],'subType':_0x171a61[_0x4f9ee1(0x1d2)]>=0x5?_0x171a61[0x2]:null,'id':_0x171a61[_0x4f9ee1(0x1d2)]<0x5?_0x171a61[0x2]:_0x171a61[0x3],'authorId':_0x171a61[_0x4f9ee1(0x1d2)]<0x5?_0x171a61[0x3]:_0x171a61[0x4],'markerCount':0x6==_0x171a61[_0x4f9ee1(0x1d2)]?_0x171a61[0x5]:null};}function _0x5a3526(_0x3eff2e){const _0x48d32c=_0x13c557;for(let _0x51df9e=0x0;_0x51df9e<_0x237569[_0x48d32c(0x1d2)];_0x51df9e++){if(_0x3eff2e[_0x48d32c(0x1be)]&&_0x48d32c(0x1a0)==_0x237569[_0x51df9e][_0x48d32c(0x1e6)])return _0x3eff2e[_0x48d32c(0x14b)]=_0x237569[_0x51df9e],void delete _0x3eff2e[_0x48d32c(0x1be)];if(!_0x3eff2e[_0x48d32c(0x1be)]&&!_0x3eff2e[_0x48d32c(0x221)]&&_0x48d32c(0x1d1)==_0x237569[_0x51df9e][_0x48d32c(0x1e6)])return void(_0x3eff2e[_0x48d32c(0x173)]=_0x237569[_0x51df9e]);}}}[_0x1b96ed(0x197)](_0x57fe6b,_0x233dd2){const _0x45ee30=_0x1b96ed;let _0x559fdf=0x0,_0x307965=!0x1;const _0x4c9ad4=new Map();for(const _0x2c1649 of _0x57fe6b)_0x2c1649[_0x233dd2]?_0x307965&&(_0x559fdf++,_0x307965=!0x1):(_0x559fdf++,_0x307965=!0x0),_0x4c9ad4[_0x45ee30(0x1fd)](_0x2c1649['id'],_0x559fdf);for(let _0x2b1da0=0x0;_0x2b1da0<_0x57fe6b[_0x45ee30(0x1d2)];_0x2b1da0++){if(_0x45ee30(0x221)==_0x233dd2&&_0x57fe6b[_0x2b1da0][_0x45ee30(0x1be)]||_0x45ee30(0x1be)==_0x233dd2&&_0x57fe6b[_0x2b1da0][_0x45ee30(0x221)])continue;if(_0x45ee30(0x1c1)==_0x57fe6b[_0x2b1da0][_0x45ee30(0x1e6)]){_0x57fe6b[_0x2b1da0][_0x45ee30(0x137)]=0x0;continue;}const _0x53fc25=_0x4c9ad4[_0x45ee30(0x232)](_0x57fe6b[_0x2b1da0][_0x45ee30(0x242)]),_0x23399f=_0x4c9ad4[_0x45ee30(0x232)](_0x57fe6b[_0x2b1da0]['id']);_0x57fe6b[_0x2b1da0][_0x45ee30(0x137)]=_0x53fc25-_0x23399f;}}[_0x1b96ed(0x180)](_0x113bbd,_0x1ed93d,_0x176da8=!0x1){const _0x5936fa=_0x1b96ed,_0x5560ab=[];let _0xcce06a=this[_0x5936fa(0x1a5)][_0x5936fa(0x251)](_0x113bbd),_0x55b89c=this[_0x5936fa(0x1a5)][_0x5936fa(0x251)](_0x1ed93d);for(-0x1==_0x55b89c&&(_0x55b89c=this[_0x5936fa(0x1a5)][_0x5936fa(0x1b8)][_0x5936fa(0x1d2)],_0x176da8=!0x1);_0xcce06a<_0x55b89c;)_0x5560ab[_0x5936fa(0x211)](this[_0x5936fa(0x1a5)][_0x5936fa(0x16a)](_0xcce06a)),_0xcce06a++;return _0x176da8&&_0x5560ab[_0x5936fa(0x211)](this[_0x5936fa(0x1a5)][_0x5936fa(0x16a)](_0xcce06a)),_0x5560ab;}[_0x1b96ed(0x247)](_0x192181,_0x585a75,_0x3803fc,_0x115f6c){const _0x1a5120=_0x1b96ed,_0xb6f78e=this[_0x1a5120(0x12b)][_0x1a5120(0x223)][_0x1a5120(0x15a)];let _0x5074bc=_0x585a75;for(;_0x192181[_0x5074bc]&&_0x192181[_0x5074bc][_0x1a5120(0x1be)];)_0x5074bc++;let _0x53284f=_0x115f6c;for(;_0x3803fc[_0x53284f]&&_0x3803fc[_0x53284f][_0x1a5120(0x221)];)_0x53284f++;_0x15690e(_0x192181,_0x585a75,_0x5074bc),_0x15690e(_0x3803fc,_0x115f6c,_0x53284f);const _0x2c8756=_0x3803fc[_0x1a5120(0x198)](_0x115f6c,_0x53284f)[_0x1a5120(0x13f)](_0x192181[_0x1a5120(0x198)](_0x585a75,_0x5074bc));return _0x2c8756[_0x1a5120(0x268)]((_0x56ccc9,_0x1171a5)=>_0x56ccc9[_0x1a5120(0x162)]!=_0x1171a5[_0x1a5120(0x162)]?_0x56ccc9[_0x1a5120(0x162)]-_0x1171a5[_0x1a5120(0x162)]:_0x56ccc9[_0x1a5120(0x1ef)]!=_0x1171a5[_0x1a5120(0x1ef)]?_0x56ccc9[_0x1a5120(0x1ef)]-_0x1171a5[_0x1a5120(0x1ef)]:_0x56ccc9[_0x1a5120(0x137)]!=_0x1171a5[_0x1a5120(0x137)]?_0x1171a5[_0x1a5120(0x137)]-_0x56ccc9[_0x1a5120(0x137)]:!!_0x56ccc9[_0x1a5120(0x1be)]!=!!_0x1171a5[_0x1a5120(0x1be)]?-0x1==_0x56ccc9[_0x1a5120(0x162)]||0x0==_0x56ccc9[_0x1a5120(0x162)]?_0x56ccc9[_0x1a5120(0x1be)]?-0x1:0x1:_0x56ccc9[_0x1a5120(0x1be)]?0x1:-0x1:_0x56ccc9[_0x1a5120(0x12e)]-_0x1171a5[_0x1a5120(0x12e)]),{'commonTape':_0x2c8756,'iEnd':_0x5074bc,'jEnd':_0x53284f};function _0x15690e(_0x3161a3,_0x22776b,_0x48b4a1){const _0x1bc701=_0x1a5120;let _0x4b3783=-0x1,_0x255916=Number[_0x1bc701(0x196)],_0x221c34=!0x0;for(let _0x36a583=_0x22776b;_0x36a583<_0x48b4a1;_0x36a583++)if(_0xb6f78e[_0x1bc701(0x21b)](_0x3161a3[_0x36a583][_0x1bc701(0x239)])||(_0x221c34=!0x1),_0x3161a3[_0x36a583][_0x1bc701(0x239)][_0x1bc701(0x13a)]<_0x22776b&&(_0x4b3783=_0x36a583),_0x3161a3[_0x36a583][_0x1bc701(0x239)][_0x1bc701(0x164)]>=_0x48b4a1){_0x255916=_0x36a583;break;}_0x221c34&&(_0x4b3783=_0x48b4a1-0x1);for(let _0x34f7c1=_0x22776b;_0x34f7c1<_0x48b4a1;_0x34f7c1++)_0x3161a3[_0x34f7c1][_0x1bc701(0x162)]=_0x34f7c1<=_0x4b3783?-0x1:_0x34f7c1<_0x255916?0x0:0x1,_0x3161a3[_0x34f7c1][_0x1bc701(0x12e)]=_0x34f7c1;let _0x27ff3c=0x0;for(let _0x168b87=_0x22776b;_0x168b87<=_0x4b3783;_0x168b87++)0x0==_0x3161a3[_0x168b87][_0x1bc701(0x137)]?_0x3161a3[_0x168b87][_0x1bc701(0x1ef)]=_0x27ff3c:(_0x27ff3c++,_0x3161a3[_0x168b87][_0x1bc701(0x1ef)]=_0x27ff3c,_0x27ff3c++);for(let _0x114c2d=_0x22776b;_0x114c2d<_0x48b4a1;_0x114c2d++)0x0==_0x3161a3[_0x114c2d][_0x1bc701(0x162)]&&(_0x3161a3[_0x114c2d][_0x1bc701(0x1ef)]=_0x27ff3c);_0x27ff3c=0x0;for(let _0xc2ad41=_0x48b4a1-0x1;_0xc2ad41>=_0x255916;_0xc2ad41--)0x0==_0x3161a3[_0xc2ad41][_0x1bc701(0x137)]?_0x3161a3[_0xc2ad41][_0x1bc701(0x1ef)]=_0x27ff3c:(_0x27ff3c--,_0x3161a3[_0xc2ad41][_0x1bc701(0x1ef)]=_0x27ff3c,_0x27ff3c--);}}[_0x1b96ed(0x11d)](_0x466934){const _0x5a4413=_0x1b96ed,_0x4f2c46=new Map(),_0x505253=this[_0x5a4413(0x12b)][_0x5a4413(0x223)][_0x5a4413(0x15a)];for(let _0x4d2ac6=0x1;_0x4d2ac6<_0x466934[_0x5a4413(0x1d2)];_0x4d2ac6++){let _0x540852,_0x48c7cb,_0x4ee6dd;const _0x445c92=_0x466934[_0x4d2ac6],_0x271cbe=_0x466934[_0x4d2ac6-0x1];if(_0x5a4413(0x1c1)==_0x445c92[_0x5a4413(0x1e6)])continue;if(_0x445c92[_0x5a4413(0x1e6)]!=_0x271cbe[_0x5a4413(0x1e6)])continue;if(!_0x505253[_0x5a4413(0x1fe)](_0x271cbe[_0x5a4413(0x239)])||_0x505253[_0x5a4413(0x1f2)](_0x271cbe[_0x5a4413(0x239)]))continue;if(!_0x505253[_0x5a4413(0x1fe)](_0x445c92[_0x5a4413(0x239)])||_0x505253[_0x5a4413(0x1f2)](_0x445c92[_0x5a4413(0x239)]))continue;if((_0x466934[_0x4d2ac6][_0x5a4413(0x1be)]||_0x466934[_0x4d2ac6][_0x5a4413(0x14b)])&&_0x466934[_0x4d2ac6-0x1][_0x5a4413(0x221)])_0x540852=_0x466934[_0x4d2ac6],_0x48c7cb=_0x466934[_0x4d2ac6-0x1],_0x4ee6dd=_0x4d2ac6-0x1;else{if(!_0x466934[_0x4d2ac6][_0x5a4413(0x221)]||!_0x466934[_0x4d2ac6-0x1][_0x5a4413(0x1be)]&&!_0x466934[_0x4d2ac6-0x1][_0x5a4413(0x14b)])continue;_0x540852=_0x466934[_0x4d2ac6-0x1],_0x48c7cb=_0x466934[_0x4d2ac6],_0x4ee6dd=_0x4d2ac6;}const _0x4983f8=_0x540852[_0x5a4413(0x1ef)]==_0x48c7cb[_0x5a4413(0x1ef)],_0x20ecd7=Math[_0x5a4413(0x16d)](_0x540852[_0x5a4413(0x1ef)])<Math[_0x5a4413(0x16d)](_0x48c7cb[_0x5a4413(0x1ef)])&&0x0==_0x48c7cb[_0x5a4413(0x137)];(_0x4983f8||_0x20ecd7)&&(_0x4f2c46[_0x5a4413(0x1fd)](_0x48c7cb['id'],_0x540852['id']),_0x466934[_0x5a4413(0x259)](_0x4ee6dd,0x1),_0x4d2ac6--,_0x540852[_0x5a4413(0x1be)]=!0x1);}for(let _0xb400ed=0x0;_0xb400ed<_0x466934[_0x5a4413(0x1d2)];_0xb400ed++)_0x4f2c46[_0x5a4413(0x139)](_0x466934[_0xb400ed][_0x5a4413(0x242)])&&(_0x466934[_0xb400ed][_0x5a4413(0x242)]=_0x4f2c46[_0x5a4413(0x232)](_0x466934[_0xb400ed][_0x5a4413(0x242)]));}[_0x1b96ed(0x136)](_0x39b374){const _0x21ec81=_0x1b96ed,_0x4da979=new Set(_0x39b374[_0x21ec81(0x13d)](_0x51710f=>_0x51710f['id']));for(let _0x1dfcb1=0x0;_0x1dfcb1<_0x39b374[_0x21ec81(0x1d2)];_0x1dfcb1++)_0x4da979[_0x21ec81(0x139)](_0x39b374[_0x1dfcb1][_0x21ec81(0x242)])||0x0==_0x39b374[_0x1dfcb1][_0x21ec81(0x137)]||(_0x39b374[_0x1dfcb1][_0x21ec81(0x255)]=!0x0);return _0x39b374[_0x21ec81(0x165)](_0x2f56ed=>!_0x2f56ed[_0x21ec81(0x255)]);}[_0x1b96ed(0x172)](_0x465517){const _0x27ff72=_0x1b96ed,_0x1b50ab=new Set();for(let _0xb3eb99=0x0;_0xb3eb99<_0x465517[_0x27ff72(0x1d2)];_0xb3eb99++){if(_0x1b50ab[_0x27ff72(0x139)](_0x465517[_0xb3eb99]['id'])&&_0x465517[_0xb3eb99][_0x27ff72(0x221)]&&(_0x465517[_0xb3eb99][_0x27ff72(0x255)]=!0x0),_0x465517[_0xb3eb99][_0x27ff72(0x255)])continue;if(0x0==_0x465517[_0xb3eb99][_0x27ff72(0x137)])continue;if(_0x27ff72(0x252)!=_0x465517[_0xb3eb99][_0x27ff72(0x1e6)])continue;if(null==_0x465517[_0xb3eb99][_0x27ff72(0x242)])continue;let _0x16f6c7=_0xb3eb99+0x1,_0x243d7d=0x0;for(;_0x465517[_0x16f6c7]['id']!=_0x465517[_0xb3eb99][_0x27ff72(0x242)];)_0x27ff72(0x252)==_0x465517[_0x16f6c7][_0x27ff72(0x1e6)]?_0x243d7d++:_0x27ff72(0x236)==_0x465517[_0x16f6c7][_0x27ff72(0x1e6)]&&_0x243d7d--,_0x16f6c7++;if(0x0!=_0x243d7d){if(_0x465517[_0xb3eb99][_0x27ff72(0x221)])_0x465517[_0xb3eb99][_0x27ff72(0x255)]=!0x0;else{for(;_0x16f6c7!=_0xb3eb99;)_0x465517[_0x16f6c7][_0x27ff72(0x221)]&&0x0!=_0x465517[_0x16f6c7][_0x27ff72(0x137)]&&(_0x465517[_0x16f6c7][_0x27ff72(0x255)]=!0x0,_0x1b50ab[_0x27ff72(0x1ee)](_0x465517[_0x16f6c7][_0x27ff72(0x242)])),_0x16f6c7--;}}}return _0x465517[_0x27ff72(0x165)](_0x5af24c=>!_0x5af24c[_0x27ff72(0x255)]);}[_0x1b96ed(0x212)](_0x399c43){const _0x3ba203=_0x1b96ed,_0x2a3c87=this[_0x3ba203(0x12b)][_0x3ba203(0x223)][_0x3ba203(0x15a)];for(let _0x4986be=0x0;_0x4986be<_0x399c43[_0x3ba203(0x1d2)];_0x4986be++){if(!(_0x399c43[_0x4986be][_0x3ba203(0x1be)]||_0x399c43[_0x4986be][_0x3ba203(0x14b)]||_0x399c43[_0x4986be][_0x3ba203(0x221)]||_0x399c43[_0x4986be][_0x3ba203(0x173)]))continue;if(0x0==_0x399c43[_0x4986be][_0x3ba203(0x137)])continue;const _0x5abbb6=_0x399c43[_0x4986be][_0x3ba203(0x239)];_0x2a3c87[_0x3ba203(0x1fe)](_0x5abbb6)||_0x2a3c87[_0x3ba203(0x1f2)](_0x5abbb6)||(_0x399c43[_0x4986be][_0x3ba203(0x1be)]&&delete _0x399c43[_0x4986be][_0x3ba203(0x1be)],_0x399c43[_0x4986be][_0x3ba203(0x14b)]&&delete _0x399c43[_0x4986be][_0x3ba203(0x14b)],_0x399c43[_0x4986be][_0x3ba203(0x173)]&&delete _0x399c43[_0x4986be][_0x3ba203(0x173)],_0x399c43[_0x4986be][_0x3ba203(0x221)]&&(_0x399c43[_0x4986be][_0x3ba203(0x255)]=!0x0));}return _0x399c43[_0x3ba203(0x165)](_0x38d47f=>!_0x38d47f[_0x3ba203(0x255)]);}[_0x1b96ed(0x206)](_0x4fd3df,_0x4b78f8,_0x5de47a){const _0x3b8fe2=_0x1b96ed,_0x507605=new _0x2fef33(),_0x377470=[],_0x54452e=new Map(),_0x336b86=this[_0x3b8fe2(0x12b)][_0x3b8fe2(0x223)],_0xe0d725=_0x336b86[_0x3b8fe2(0x15a)],_0x5f264f=[_0x507605],_0x265aac={},_0x2d81d5={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5b8c36=null;const _0x48e75c=[0x0];for(let _0x202aff=0x0;_0x202aff<_0x4fd3df[_0x3b8fe2(0x1d2)];_0x202aff++){let _0x3fa6aa,_0x7c9e9a;if(_0x3b8fe2(0x252)===_0x4fd3df[_0x202aff][_0x3b8fe2(0x1e6)]){_0x3fa6aa=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c);const _0x570a55=new _0x1fd6ec(_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x20e)],_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x1d7)]());_0x5f264f[0x0][_0x3b8fe2(0x217)](_0x570a55),_0x48e75c[_0x3b8fe2(0x211)](0x0),_0x5f264f[_0x3b8fe2(0x1eb)](_0x570a55),_0x7c9e9a=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x5b8c36=null;}else{if(_0x3b8fe2(0x236)===_0x4fd3df[_0x202aff][_0x3b8fe2(0x1e6)])_0x5f264f[_0x3b8fe2(0x1ab)](),_0x3fa6aa=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x48e75c[_0x3b8fe2(0x135)](),_0x48e75c[_0x48e75c[_0x3b8fe2(0x1d2)]-0x1]++,_0x7c9e9a=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x5b8c36=null;else{if(_0x3fa6aa=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c),_0x5b8c36&&_0xf67ca8(_0x5b8c36,_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)]))_0x5b8c36[_0x3b8fe2(0x17b)]+=_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x189)];else{const _0x172832=new _0x26f928(_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x189)],_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x1d7)]());_0x5f264f[0x0][_0x3b8fe2(0x217)](_0x172832),_0x5b8c36=_0x172832;}_0x48e75c[_0x48e75c[_0x3b8fe2(0x1d2)]-0x1]+=_0x4fd3df[_0x202aff][_0x3b8fe2(0x239)][_0x3b8fe2(0x23d)],_0x7c9e9a=_0x336b86[_0x3b8fe2(0x1ce)](_0x507605,_0x48e75c);}}for(const _0x331d73 of _0x4fd3df[_0x202aff][_0x3b8fe2(0x210)])_0x54452e[_0x3b8fe2(0x1fd)](_0x331d73,{'start':_0x3fa6aa,'end':null});_0x50853a(_0x3b8fe2(0x173),_0x202aff,_0x3fa6aa,_0x7c9e9a),_0x50853a(_0x3b8fe2(0x14b),_0x202aff,_0x3fa6aa,_0x7c9e9a),_0x50853a(_0x3b8fe2(0x221),_0x202aff,_0x3fa6aa,_0x7c9e9a),_0x50853a(_0x3b8fe2(0x1be),_0x202aff,_0x3fa6aa,_0x7c9e9a);for(const _0x209204 of _0x4fd3df[_0x202aff][_0x3b8fe2(0x1a6)]){_0x54452e[_0x3b8fe2(0x232)](_0x209204)[_0x3b8fe2(0x208)]=_0x7c9e9a;}}for(const [_0x42296e,_0x3b07d2]of _0x54452e){const _0x5619c3=this[_0x3b8fe2(0x12b)][_0x3b8fe2(0x223)][_0x3b8fe2(0x142)](_0x3b07d2[_0x3b8fe2(0x152)],_0x3b07d2[_0x3b8fe2(0x208)]);_0x507605[_0x3b8fe2(0x14c)][_0x3b8fe2(0x1fd)](_0x42296e,_0x5619c3);}return _0x377470[_0x3b8fe2(0x268)]((_0x280610,_0x295887)=>{const _0x23de5a=_0x3b8fe2,_0x3e59de=_0x507605[_0x23de5a(0x14c)][_0x23de5a(0x232)](_0x23de5a(0x241)+_0x280610['id']),_0x44f1bb=_0x507605[_0x23de5a(0x14c)][_0x23de5a(0x232)](_0x23de5a(0x241)+_0x295887['id']);return _0x3e59de[_0x23de5a(0x152)][_0x23de5a(0x235)](_0x44f1bb[_0x23de5a(0x152)])?-0x1:_0x3e59de[_0x23de5a(0x152)][_0x23de5a(0x230)](_0x44f1bb[_0x23de5a(0x152)])?0x1:_0x3e59de[_0x23de5a(0x208)][_0x23de5a(0x235)](_0x44f1bb[_0x23de5a(0x208)])?-0x1:_0x3e59de[_0x23de5a(0x208)][_0x23de5a(0x230)](_0x44f1bb[_0x23de5a(0x208)])?0x1:_0x23de5a(0x1ee)===_0x280610[_0x23de5a(0x1e6)]?-0x1:0x1;}),{'root':_0x507605,'changes':_0x377470};function _0x50853a(_0x589c6d,_0xbd7962,_0x2ccd6f,_0x4eef09){const _0xdec18e=_0x3b8fe2,_0x323ad5=!!_0x4fd3df[_0xbd7962][_0x589c6d],_0x4db1ea=_0x323ad5?_0x4fd3df[_0xbd7962][_0x589c6d][_0xdec18e(0x132)]:null,_0x3ef3bb=_0xbd7962===_0x4fd3df[_0xdec18e(0x1d2)]-0x1,_0x2877a5=_0x2d81d5[_0x589c6d][0x0],_0x2ce624=_0xe0d725[_0xdec18e(0x17d)](_0x4fd3df[_0xbd7962][_0xdec18e(0x239)]);!_0x265aac[_0x589c6d]&&_0x323ad5?_0x265aac[_0x589c6d]={'start':_0x2ccd6f,'tapeItem':_0x4fd3df[_0xbd7962],'userId':_0x4db1ea,'type':_0x589c6d}:_0x265aac[_0x589c6d]&&!_0x323ad5?(_0x265aac[_0x589c6d][_0xdec18e(0x208)]=_0x2ccd6f,_0x115bdd(_0x265aac[_0x589c6d]),_0x265aac[_0x589c6d]=null):_0x265aac[_0x589c6d]&&_0x323ad5&&_0x265aac[_0x589c6d][_0xdec18e(0x132)]!==_0x4db1ea&&(_0x265aac[_0x589c6d][_0xdec18e(0x208)]=_0x2ccd6f,_0x2877a5&&_0x2877a5[_0xdec18e(0x132)]===_0x265aac[_0x589c6d][_0xdec18e(0x132)]||_0x115bdd(_0x265aac[_0x589c6d]),_0x265aac[_0x589c6d]={'start':_0x2ccd6f,'tapeItem':_0x4fd3df[_0xbd7962],'userId':_0x4db1ea,'type':_0x589c6d}),_0x265aac[_0x589c6d]&&_0x2ce624&&(_0xdec18e(0x252)!==_0x4fd3df[_0xbd7962][_0xdec18e(0x1e6)]||_0x2877a5&&_0x2877a5[_0xdec18e(0x132)]===_0x4db1ea||_0x2d81d5[_0x589c6d][_0xdec18e(0x1eb)]({'userId':_0x4db1ea,'object':_0x4fd3df[_0xbd7962][_0xdec18e(0x239)],'change':_0x265aac[_0x589c6d]}),_0xdec18e(0x236)===_0x4fd3df[_0xbd7962][_0xdec18e(0x1e6)]&&_0x2877a5&&_0x2877a5[_0xdec18e(0x146)]===_0x4fd3df[_0xbd7962][_0xdec18e(0x239)]&&(_0x2d81d5[_0x589c6d][_0xdec18e(0x1ab)](),_0x265aac[_0x589c6d]=_0x2877a5[_0xdec18e(0x1f8)])),_0x265aac[_0x589c6d]&&_0x3ef3bb&&(_0x265aac[_0x589c6d][_0xdec18e(0x208)]=_0x4eef09,_0x115bdd(_0x265aac[_0x589c6d]),_0x265aac[_0x589c6d]=null);}function _0x115bdd({start:_0x59cd0e,end:_0x240867,tapeItem:_0x5c1693,userId:_0x47bb75,type:_0x22630c}){const _0x1460a8=_0x3b8fe2,_0x473abe=_0x5c1693[_0x1460a8(0x239)],_0x56c9bd=_0x336b86[_0x1460a8(0x15a)][_0x1460a8(0x1fe)](_0x473abe)&&!_0x336b86[_0x1460a8(0x15a)][_0x1460a8(0x1f2)](_0x473abe),_0x5e321d=_0x59cd0e[_0x1460a8(0x1e4)]==_0x240867[_0x1460a8(0x1d4)]&&_0x240867[_0x1460a8(0x1fb)];if(_0x56c9bd&&_0x5e321d)return;const _0x49592e=_0x336b86[_0x1460a8(0x142)](_0x59cd0e,_0x240867),_0x4d1e0f=_0x4b78f8[_0x1460a8(0x232)](_0x47bb75),_0xdf4c01=new _0x880468({'author':_0x4d1e0f,'type':_0x1460a8(0x1be)==_0x22630c||_0x1460a8(0x14b)==_0x22630c?_0x1460a8(0x1ee):_0x1460a8(0x1da),'data':{'isSuggestion':_0x1460a8(0x14b)==_0x22630c||_0x1460a8(0x173)==_0x22630c},'createdAt':new Date(),'rootName':_0x5de47a});_0x377470[_0x1460a8(0x211)](_0xdf4c01),_0x507605[_0x1460a8(0x14c)][_0x1460a8(0x1fd)](_0x1460a8(0x241)+_0xdf4c01['id'],_0x49592e);}function _0xf67ca8(_0x3db921,_0x34befc){const _0x1d7416=_0x3b8fe2,_0x593de8=_0x3db921[_0x1d7416(0x1d7)](),_0x3c9f92=_0x34befc[_0x1d7416(0x1d7)]();for(const _0x1a5345 of _0x593de8){if(_0x1a5345[0x1]!==_0x34befc[_0x1d7416(0x157)](_0x1a5345[0x0]))return!0x1;_0x3c9f92[_0x1d7416(0x1cd)]();}return _0x3c9f92[_0x1d7416(0x1cd)]()[_0x1d7416(0x1bb)];}}[_0x1b96ed(0x1f1)](){const _0x501198=_0x1b96ed;this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x25b)]({'view':_0x501198(0x19b)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x16f))[_0x501198(0x1ea)]({'model':_0x501198(0x19b),'view':_0x4d6926=>{const _0x2b1dee=_0x501198,_0x4e06d1=_0x4d6926[_0x2b1dee(0x249)][_0x2b1dee(0x191)](':')[0x1],_0x204ac4=this[_0x2b1dee(0x21f)](_0x4e06d1);if(!_0x204ac4)return null;const _0x558fc8=_0x2b1dee(0x1ee)==_0x204ac4[_0x2b1dee(0x1e6)]?_0x2b1dee(0x1a0):_0x2b1dee(0x1d1),_0x3a120e=[_0x2b1dee(0x19a),_0x2b1dee(0x1dc)+_0x558fc8];return _0x204ac4[_0x2b1dee(0x189)][_0x2b1dee(0x1c4)]&&_0x3a120e[_0x2b1dee(0x211)](_0x2b1dee(0x1dc)+_0x558fc8+_0x2b1dee(0x143)),this[_0x2b1dee(0x1f0)]==_0x204ac4&&_0x3a120e[_0x2b1dee(0x211)](_0x2b1dee(0x138)),{'classes':_0x3a120e,'attributes':{'data-change-id':_0x4e06d1}};}}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x1ee)](_0x554a70=>{const _0x377cc6=_0x501198;_0x554a70['on'](_0x377cc6(0x1e7),(_0x164a42,_0x200ee8,_0x32d03d)=>{const _0x139360=_0x377cc6,_0x226ebf=_0x200ee8[_0x139360(0x1d3)][_0x139360(0x1e1)](0x0);if(!_0x226ebf||!_0x226ebf['is'](_0x139360(0x1ba),_0x139360(0x22f)))return;if(!_0x32d03d[_0x139360(0x1f6)][_0x139360(0x123)](_0x226ebf,{'attributes':[_0x139360(0x1cc),_0x139360(0x1f7)]}))return;const _0x1c7e1f=_0x200ee8[_0x139360(0x23c)][_0x139360(0x152)][_0x139360(0x1e4)];_0x32d03d[_0x139360(0x237)][_0x139360(0x1ac)](_0x139360(0x1cc),_0x226ebf[_0x139360(0x157)](_0x139360(0x1cc)),_0x1c7e1f),_0x32d03d[_0x139360(0x237)][_0x139360(0x1ac)](_0x139360(0x1f7),_0x226ebf[_0x139360(0x157)](_0x139360(0x1f7)),_0x1c7e1f);},{'priority':_0x377cc6(0x1a1)});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x1ee)](_0x47f3f2=>{const _0x55086e=_0x501198;_0x47f3f2['on'](_0x55086e(0x1ba),(_0xd425e2,_0xba6200,_0x155d93)=>{const _0xe1cc=_0x55086e;if(!_0x155d93[_0xe1cc(0x1f6)][_0xe1cc(0x123)](_0xba6200[_0xe1cc(0x1d3)],{'attributes':[_0xe1cc(0x1cc),_0xe1cc(0x1f7)]}))return;if(_0xba6200[_0xe1cc(0x23c)][_0xe1cc(0x21a)])return;const _0x4527d7=_0xba6200[_0xe1cc(0x23c)][_0xe1cc(0x152)][_0xe1cc(0x1e4)];_0x4527d7[_0xe1cc(0x1e5)](_0xe1cc(0x1cc))||_0x4527d7[_0xe1cc(0x1e5)](_0xe1cc(0x181))||(_0x155d93[_0xe1cc(0x237)][_0xe1cc(0x1ac)](_0xe1cc(0x1cc),_0xba6200[_0xe1cc(0x1d3)][_0xe1cc(0x157)](_0xe1cc(0x1cc)),_0x4527d7),_0x155d93[_0xe1cc(0x237)][_0xe1cc(0x1ac)](_0xe1cc(0x1f7),_0xba6200[_0xe1cc(0x1d3)][_0xe1cc(0x157)](_0xe1cc(0x1f7)),_0x4527d7));},{'priority':_0x55086e(0x1a1)});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x1b1)]({'view':{'name':_0x501198(0x245),'attributes':{'vid':!0x0}},'model':{'key':_0x501198(0x181),'value':_0x5d57de=>_0x5d57de[_0x501198(0x157)](_0x501198(0x181))}}),this[_0x501198(0x12b)][_0x501198(0x223)][_0x501198(0x15a)]['on'](_0x501198(0x1bd),(_0x1b5259,[,_0x4e24a7])=>{const _0x95659c=_0x501198;[_0x95659c(0x1cc),_0x95659c(0x1f7),_0x95659c(0x181)][_0x95659c(0x250)](_0x4e24a7)&&(_0x1b5259[_0x95659c(0x160)]=!0x0,_0x1b5259[_0x95659c(0x149)]());},{'priority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1b2))[_0x501198(0x1ee)](_0x5446f2=>{const _0x41b292=_0x501198;_0x5446f2['on'](_0x41b292(0x18e),(_0x548527,_0x668011,_0xf01256)=>{const _0x20c25e=_0x41b292;if('\x20'!=_0x668011[_0x20c25e(0x239)][_0x20c25e(0x189)]||_0x668011[_0x20c25e(0x239)][_0x20c25e(0x1d4)][_0x20c25e(0x244)]>0x1)return;if(!_0xf01256[_0x20c25e(0x1f6)][_0x20c25e(0x123)](_0x668011[_0x20c25e(0x239)],_0x548527[_0x20c25e(0x20e)]))return;const _0x1406e3=_0xf01256[_0x20c25e(0x237)],_0x423a45=_0xf01256[_0x20c25e(0x18a)][_0x20c25e(0x194)](_0x668011[_0x20c25e(0x177)]);_0x1406e3[_0x20c25e(0x18d)](_0x423a45,_0x1406e3[_0x20c25e(0x1ec)](_0x20c25e(0x245)));});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1b2))[_0x501198(0x222)]({'model':_0x501198(0x19b)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x14f),function(_0x500e5d){const _0x3cefeb=_0x501198,_0x29edfd=_0x500e5d[_0x3cefeb(0x1c2)][_0x3cefeb(0x232)](_0x3cefeb(0x1b0));return(_0xcc6a62,_0x599653,_0x120202)=>{const _0x50bd38=_0x3cefeb,_0x16ac09=_0x599653[_0x50bd38(0x249)][_0x50bd38(0x191)](':')[0x1],_0x3652da=_0x29edfd[_0x50bd38(0x21f)](_0x16ac09);if(!_0x3652da)return null;const _0x57aa06=_0x50bd38(0x1ee)==_0x3652da[_0x50bd38(0x1e6)]?_0x50bd38(0x191):_0x50bd38(0x14e);if(!_0x120202[_0x50bd38(0x1f6)][_0x50bd38(0x1bf)](_0x599653[_0x50bd38(0x254)],_0xcc6a62[_0x50bd38(0x20e)]))return;const _0x491b87=_0x599653[_0x50bd38(0x254)][_0x50bd38(0x167)](),_0x2d7345=_0x599653[_0x50bd38(0x254)][_0x50bd38(0x152)],_0x1df328=_0x500e5d[_0x50bd38(0x223)][_0x50bd38(0x15a)];let _0x547585=null,_0x4d318f=null,_0x277c62=!0x1,_0x3a369a=!0x1;for(const _0x527662 of _0x491b87){const _0x3da981=_0x527662[_0x50bd38(0x239)];_0x277c62=_0x277c62||_0x1df328[_0x50bd38(0x218)](_0x3da981);const _0x135379=_0x120202[_0x50bd38(0x18a)][_0x50bd38(0x23f)](_0x3da981);if(_0x135379&&_0x135379[_0x50bd38(0x226)](_0x50bd38(0x155)))return;_0x50bd38(0x236)==_0x527662[_0x50bd38(0x1e6)]&&(_0x1df328[_0x50bd38(0x1fe)](_0x3da981)&&!_0x1df328[_0x50bd38(0x1f2)](_0x3da981)&&(_0x3da981[_0x50bd38(0x151)]||_0x2d7345[_0x50bd38(0x171)]?_0x547585&&_0x547585[_0x50bd38(0x1d4)]==_0x3da981||(_0x547585=_0x3da981,_0x41ba47(_0x527662[_0x50bd38(0x17f)]),_0x3a369a=!0x0):_0x4d318f=_0x4d318f||_0x527662[_0x50bd38(0x17f)]));}function _0x41ba47(_0x4bcf81){const _0x502ea5=_0x50bd38,_0x1fcde5=_0x120202[_0x502ea5(0x237)][_0x502ea5(0x17c)](_0x502ea5(0x245),{'class':_0x502ea5(0x1dc)+_0x57aa06}),_0x3ba45d=_0x120202[_0x502ea5(0x18a)][_0x502ea5(0x133)](_0x4bcf81);_0x3652da[_0x502ea5(0x189)][_0x502ea5(0x1c4)]&&_0x120202[_0x502ea5(0x237)][_0x502ea5(0x201)](_0x502ea5(0x1dc)+_0x57aa06+_0x502ea5(0x143),_0x1fcde5),_0x29edfd[_0x502ea5(0x1f0)]==_0x3652da&&_0x120202[_0x502ea5(0x237)][_0x502ea5(0x201)](_0x502ea5(0x138),_0x1fcde5),_0x120202[_0x502ea5(0x237)][_0x502ea5(0x21d)](_0x3ba45d,_0x1fcde5),_0x120202[_0x502ea5(0x18a)][_0x502ea5(0x169)](_0x1fcde5,_0x599653[_0x502ea5(0x249)]);}_0x277c62||_0x3a369a||!_0x4d318f||_0x41ba47(_0x4d318f);};}(this[_0x501198(0x12b)]),{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x199),(_0x2cc0f8,_0x59f4bc,_0x12611f)=>{const _0x3f7866=_0x501198,_0x3faaed=_0x12611f[_0x3f7866(0x18a)][_0x3f7866(0x1c5)](_0x59f4bc[_0x3f7866(0x249)]);if(_0x3faaed){for(const _0x338617 of _0x3faaed)(_0x338617[_0x3f7866(0x1a4)](_0x3f7866(0x153))||_0x338617[_0x3f7866(0x1a4)](_0x3f7866(0x24d)))&&(_0x12611f[_0x3f7866(0x18a)][_0x3f7866(0x231)](_0x338617,_0x59f4bc[_0x3f7866(0x249)]),_0x12611f[_0x3f7866(0x237)][_0x3f7866(0x1da)](_0x338617));}},{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x14f),(_0x29a037,_0x1ac144,_0x262b48)=>{const _0x5a3199=_0x501198,_0x1589a0=_0x1ac144[_0x5a3199(0x249)][_0x5a3199(0x191)](':')[0x1],_0x2996d2=this[_0x5a3199(0x21f)](_0x1589a0);if(!_0x2996d2)return null;const _0x280549=_0x5a3199(0x1ee)==_0x2996d2[_0x5a3199(0x1e6)]?_0x5a3199(0x191):_0x5a3199(0x14e);if(_0x262b48[_0x5a3199(0x1f6)][_0x5a3199(0x1bf)](_0x1ac144[_0x5a3199(0x254)],_0x29a037[_0x5a3199(0x20e)]))for(const _0x478452 of _0x1ac144[_0x5a3199(0x254)][_0x5a3199(0x200)]()){if(!_0x478452['is'](_0x5a3199(0x1ba),_0x5a3199(0x183)))continue;const _0x379ba5=_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x17c)](_0x5a3199(0x245),{'class':_0x5a3199(0x1dc)+_0x280549}),_0x4b5f44=_0x262b48[_0x5a3199(0x18a)][_0x5a3199(0x133)](this[_0x5a3199(0x12b)][_0x5a3199(0x223)][_0x5a3199(0x13c)](_0x478452));_0x2996d2[_0x5a3199(0x189)][_0x5a3199(0x1c4)]&&_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x201)](_0x5a3199(0x1dc)+_0x280549+_0x5a3199(0x143),_0x379ba5),this[_0x5a3199(0x1f0)]==_0x2996d2&&_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x201)](_0x5a3199(0x138),_0x379ba5),_0x262b48[_0x5a3199(0x237)][_0x5a3199(0x21d)](_0x4b5f44,_0x379ba5),_0x262b48[_0x5a3199(0x18a)][_0x5a3199(0x169)](_0x379ba5,_0x1ac144[_0x5a3199(0x249)]);}},{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x223)][_0x501198(0x18f)]['on'](_0x501198(0x1f8),()=>{const _0x39a9d2=_0x501198;this[_0x39a9d2(0x12b)][_0x39a9d2(0x229)][_0x39a9d2(0x262)][_0x39a9d2(0x1f8)](_0x361bf8=>{const _0x58adb5=_0x39a9d2;for(const _0x2700de of this[_0x58adb5(0x12b)][_0x58adb5(0x223)][_0x58adb5(0x18f)][_0x58adb5(0x202)]()){const _0x424695=this[_0x58adb5(0x12b)][_0x58adb5(0x223)][_0x58adb5(0x18f)][_0x58adb5(0x124)](_0x2700de),_0x4e3475=this[_0x58adb5(0x12b)][_0x58adb5(0x229)][_0x58adb5(0x262)][_0x58adb5(0x18f)][_0x58adb5(0x124)](_0x2700de);if(_0x4e3475){const _0x119e69=_0x424695[_0x58adb5(0x157)](_0x58adb5(0x1e2));if(_0x361bf8[_0x58adb5(0x25d)](_0x58adb5(0x19d),_0x4e3475),_0x361bf8[_0x58adb5(0x14a)](_0x58adb5(0x15b),_0x4e3475),_0x361bf8[_0x58adb5(0x14a)](_0x58adb5(0x190),_0x4e3475),_0x361bf8[_0x58adb5(0x14a)](_0x58adb5(0x159),_0x4e3475),_0x119e69){const _0x4288e1=this[_0x58adb5(0x21f)](_0x119e69);if(!_0x4288e1)return null;_0x361bf8[_0x58adb5(0x1ac)](_0x58adb5(0x19d),_0x119e69,_0x4e3475),_0x361bf8[_0x58adb5(0x201)](_0x58adb5(0x1df)+_0x4288e1[_0x58adb5(0x1e6)],_0x4e3475),this[_0x58adb5(0x1f0)]==_0x4288e1&&_0x361bf8[_0x58adb5(0x201)](_0x58adb5(0x159),_0x4e3475);}}}});}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x25b)]({'view':_0x501198(0x1d5),'model':_0x3b025d=>_0x501198(0x248)+_0x3b025d,'converterPriority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1d0))[_0x501198(0x25b)]({'view':_0x501198(0x134),'model':_0x356b3f=>_0x501198(0x23e)+_0x356b3f,'converterPriority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x1b2))[_0x501198(0x222)]({'model':_0x501198(0x20d),'view':_0x41f744=>({'name':_0x501198(0x1d9)+_0x41f744,'group':_0x501198(0x20d)}),'converterPriority':_0x501198(0x1e0)}),this[_0x501198(0x12b)][_0x501198(0x141)][_0x501198(0x22e)](_0x501198(0x16f))[_0x501198(0x1ea)]({'model':_0x501198(0x20d),'view':_0x141d2c=>{const _0x1515f1=_0x501198,_0x5dd8b5=_0x141d2c[_0x1515f1(0x249)][_0x1515f1(0x191)](':')[0x1];return _0x1515f1(0x1a0)!=_0x5dd8b5&&_0x1515f1(0x1d1)!=_0x5dd8b5?null:{'classes':[_0x1515f1(0x122),_0x1515f1(0x24e)+_0x5dd8b5]};}}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x1f3),et(this[_0x501198(0x12b)],_0x501198(0x14e)),{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x24a),et(this[_0x501198(0x12b)],_0x501198(0x191)),{'priority':_0x501198(0x16c)}),this[_0x501198(0x12b)][_0x501198(0x229)][_0x501198(0x179)]['on'](_0x501198(0x11c),(_0x53b217,_0x3670f1,_0x2d13a3)=>{const _0x122dee=_0x501198,_0x2d4cdf=_0x2d13a3[_0x122dee(0x18a)][_0x122dee(0x1c5)](_0x3670f1[_0x122dee(0x249)]);if(_0x2d4cdf){for(const _0x2acb31 of _0x2d4cdf)_0x2acb31['is'](_0x122dee(0x24b))&&(_0x2d13a3[_0x122dee(0x18a)][_0x122dee(0x231)](_0x2acb31,_0x3670f1[_0x122dee(0x249)]),_0x2d13a3[_0x122dee(0x237)][_0x122dee(0x1da)](_0x2acb31));}},{'priority':_0x501198(0x16c)});}[_0x1b96ed(0x21f)](_0x52b395){const _0x4f7a1d=_0x1b96ed;return this[_0x4f7a1d(0x1e9)][_0x4f7a1d(0x232)](_0x52b395);}[_0x1b96ed(0x195)](_0x3278d2){const _0xb56347=_0x1b96ed;return this[_0xb56347(0x265)]&&this[_0xb56347(0x265)][_0xb56347(0x257)](),this[_0xb56347(0x265)]=new _0x455ae0(this[_0xb56347(0x12b)][_0xb56347(0x1f4)],_0x3278d2),this[_0xb56347(0x265)];}[_0x1b96ed(0x147)](){const _0x203dc6=_0x1b96ed;this[_0x203dc6(0x12b)][_0x203dc6(0x223)][_0x203dc6(0x18f)][_0x203dc6(0x16b)][_0x203dc6(0x1fa)](_0x203dc6(0x19b)),this['on'](_0x203dc6(0x1fc),(_0x36d600,_0x44937c,_0x5e3f2e,_0x184cca)=>{const _0x3a240f=_0x203dc6;_0x184cca&&this[_0x3a240f(0x150)][_0x3a240f(0x1da)](_0x184cca),_0x5e3f2e&&(this[_0x3a240f(0x150)][_0x3a240f(0x1ee)]({'view':_0x5e3f2e,'stackId':_0x3a240f(0x1e3),'position':{'target':()=>{const _0x5672cd=_0x3a240f,_0x400a3c=this[_0x5672cd(0x12b)][_0x5672cd(0x229)],_0x56aa6a=this[_0x5672cd(0x21f)](_0x5e3f2e[_0x5672cd(0x11e)]);let _0x733fb9;if(_0x56aa6a[_0x5672cd(0x189)][_0x5672cd(0x11f)]){const _0x35325a=_0x400a3c[_0x5672cd(0x262)][_0x5672cd(0x256)](_0x56aa6a[_0x5672cd(0x23b)]);_0x733fb9=Array[_0x5672cd(0x22d)](_0x35325a[_0x5672cd(0x15c)]());}else{const _0x6e97c5=this[_0x5672cd(0x12b)][_0x5672cd(0x223)][_0x5672cd(0x14c)][_0x5672cd(0x232)](_0x5672cd(0x241)+_0x5e3f2e[_0x5672cd(0x11e)]);_0x733fb9=Array[_0x5672cd(0x22d)](_0x400a3c[_0x5672cd(0x18a)][_0x5672cd(0x1c5)](_0x6e97c5[_0x5672cd(0x20e)]))[_0x5672cd(0x13d)](_0x23a29f=>_0x400a3c[_0x5672cd(0x262)][_0x5672cd(0x1de)][_0x5672cd(0x260)](_0x23a29f))[_0x5672cd(0x13d)](_0x392679=>Array[_0x5672cd(0x22d)](_0x392679[_0x5672cd(0x15c)]()))[_0x5672cd(0x238)]();}if(!this[_0x5672cd(0x126)])return _0x733fb9[0x0];return _0x733fb9[_0x5672cd(0x209)](_0x113d51=>_0x113d51[_0x5672cd(0x187)]-0x3<=this[_0x5672cd(0x126)]['y']&&_0x113d51[_0x5672cd(0x13b)]+0x3>=this[_0x5672cd(0x126)]['y']&&_0x113d51[_0x5672cd(0x205)]-0x3<=this[_0x5672cd(0x126)]['x']&&_0x113d51[_0x5672cd(0x225)]+0x3>=this[_0x5672cd(0x126)]['x'])||_0x733fb9[0x0];}}}),this[_0x3a240f(0x150)][_0x3a240f(0x1c8)](_0x3a240f(0x1e3)));}),this['on'](_0x203dc6(0x17e),(_0x2a6e9f,_0x1130fb,_0x2aaa29,_0x56ae43)=>{const _0x2fb4cc=_0x203dc6;this[_0x2fb4cc(0x20c)]=_0x2aaa29?this[_0x2fb4cc(0x195)](_0x2aaa29):null,this[_0x2fb4cc(0x12b)][_0x2fb4cc(0x223)][_0x2fb4cc(0x1f8)](()=>{const _0x178560=_0x2fb4cc,_0x2ac835=this[_0x178560(0x12b)][_0x178560(0x229)];_0x56ae43&&(_0x56ae43[_0x178560(0x189)][_0x178560(0x11f)]?_0x2ac835[_0x178560(0x262)][_0x178560(0x1f8)](_0x55df7a=>{const _0x5a7358=_0x178560;_0x55df7a[_0x5a7358(0x14a)](_0x5a7358(0x159),_0x2ac835[_0x5a7358(0x262)][_0x5a7358(0x18f)][_0x5a7358(0x124)](_0x56ae43[_0x5a7358(0x23b)]));}):_0x2ac835[_0x178560(0x175)](_0x178560(0x241)+_0x56ae43['id'])),_0x2aaa29&&(_0x2aaa29[_0x178560(0x189)][_0x178560(0x11f)]?_0x2ac835[_0x178560(0x262)][_0x178560(0x1f8)](_0x4a7474=>{const _0x2aab18=_0x178560;_0x4a7474[_0x2aab18(0x201)](_0x2aab18(0x159),_0x2ac835[_0x2aab18(0x262)][_0x2aab18(0x18f)][_0x2aab18(0x124)](_0x2aaa29[_0x2aab18(0x23b)]));}):_0x2ac835[_0x178560(0x175)](_0x178560(0x241)+_0x2aaa29['id']));});}),this[_0x203dc6(0x15e)](this[_0x203dc6(0x12b)][_0x203dc6(0x229)][_0x203dc6(0x262)][_0x203dc6(0x18f)],_0x203dc6(0x185),(_0x54cb6f,_0x1107a1)=>{const _0x5293d3=_0x203dc6;if(this[_0x5293d3(0x1f0)])return;const _0x13725c=this[_0x5293d3(0x23a)](_0x1107a1[_0x5293d3(0x127)]),_0x49b0b6=this[_0x5293d3(0x1e9)][_0x5293d3(0x232)](_0x13725c);_0x49b0b6?(this[_0x5293d3(0x126)]={'x':_0x1107a1[_0x5293d3(0x1a8)]['x'],'y':_0x1107a1[_0x5293d3(0x1a8)]['y']},this[_0x5293d3(0x20c)]=this[_0x5293d3(0x195)](_0x49b0b6)):(this[_0x5293d3(0x126)]=null,this[_0x5293d3(0x20c)]=null);}),this[_0x203dc6(0x15e)](this[_0x203dc6(0x12b)][_0x203dc6(0x229)][_0x203dc6(0x262)][_0x203dc6(0x18f)],_0x203dc6(0x1aa),(_0x4e5b5b,_0x333d07)=>{const _0x3147f5=_0x203dc6,_0x3c3949=this[_0x3147f5(0x23a)](_0x333d07[_0x3147f5(0x127)]),_0xdb174c=this[_0x3147f5(0x1e9)][_0x3147f5(0x232)](_0x3c3949);_0xdb174c?(this[_0x3147f5(0x126)]={'x':_0x333d07[_0x3147f5(0x1a8)]['x'],'y':_0x333d07[_0x3147f5(0x1a8)]['y']},_0xdb174c===this[_0x3147f5(0x1f0)]?this[_0x3147f5(0x150)][_0x3147f5(0x192)]():this[_0x3147f5(0x1f0)]=_0xdb174c):(this[_0x3147f5(0x126)]=null,this[_0x3147f5(0x1f0)]=null);});}[_0x1b96ed(0x23a)](_0x38517d){const _0x2e9483=_0x1b96ed;do{const _0x5eb4af=_0x38517d[_0x2e9483(0x157)](_0x2e9483(0x19d));if(_0x5eb4af)return _0x5eb4af;_0x38517d=_0x38517d[_0x2e9483(0x1d4)];}while(_0x38517d);return null;}[_0x1b96ed(0x1c0)](){const _0x5577d6=_0x1b96ed;this[_0x5577d6(0x12b)][_0x5577d6(0x223)][_0x5577d6(0x1f8)](_0x34ecbd=>{const _0x423be5=_0x5577d6;for(const _0x20b837 of this[_0x423be5(0x12b)][_0x423be5(0x223)][_0x423be5(0x14c)])_0x34ecbd[_0x423be5(0x25e)](_0x20b837);});}}function et(_0x4c4962,_0x52c811){return(_0x3a6753,_0x3d20dd,_0x33a835)=>{const _0x46e631=_0x2c46;if(!_0x33a835[_0x46e631(0x1f6)][_0x46e631(0x1bf)](_0x3d20dd[_0x46e631(0x254)],_0x3a6753[_0x46e631(0x20e)]))return;const _0x32a6e0=_0x3d20dd[_0x46e631(0x254)][_0x46e631(0x167)](),_0x475cd1=_0x3d20dd[_0x46e631(0x254)][_0x46e631(0x152)],_0x1d816b=_0x4c4962[_0x46e631(0x223)][_0x46e631(0x15a)];let _0x5c2a02=null,_0x5d1d88=null,_0x4bf03f=!0x1,_0x21b671=!0x1;for(const _0x53bd60 of _0x32a6e0){const _0x2597db=_0x53bd60[_0x46e631(0x239)];_0x4bf03f=_0x4bf03f||_0x1d816b[_0x46e631(0x218)](_0x2597db);const _0x38276a=_0x33a835[_0x46e631(0x18a)][_0x46e631(0x23f)](_0x2597db);if(_0x38276a&&_0x38276a[_0x46e631(0x226)](_0x46e631(0x155)))return;_0x46e631(0x236)==_0x53bd60[_0x46e631(0x1e6)]&&(_0x1d816b[_0x46e631(0x1fe)](_0x2597db)&&!_0x1d816b[_0x46e631(0x1f2)](_0x2597db)&&(_0x2597db[_0x46e631(0x151)]||_0x475cd1[_0x46e631(0x171)]?_0x5c2a02&&_0x5c2a02[_0x46e631(0x1d4)]==_0x2597db||(_0x5c2a02=_0x2597db,_0x38cab9(_0x53bd60[_0x46e631(0x17f)]),_0x21b671=!0x0):_0x5d1d88=_0x5d1d88||_0x53bd60[_0x46e631(0x17f)]));}function _0x38cab9(_0x24721b){const _0x2c21cf=_0x46e631,_0x43b69e=_0x33a835[_0x2c21cf(0x18a)][_0x2c21cf(0x133)](_0x24721b),_0x44fb95=_0x33a835[_0x2c21cf(0x237)][_0x2c21cf(0x17c)](_0x2c21cf(0x245),{'class':_0x2c21cf(0x24e)+_0x52c811});_0x33a835[_0x2c21cf(0x237)][_0x2c21cf(0x21d)](_0x43b69e,_0x44fb95),_0x33a835[_0x2c21cf(0x18a)][_0x2c21cf(0x169)](_0x44fb95,_0x3d20dd[_0x2c21cf(0x249)]);}_0x4bf03f||_0x21b671||!_0x5d1d88||_0x38cab9(_0x5d1d88);};}export class RestoreRevisionCommand extends _0x2abe37{constructor(_0x1c8048){const _0x390757=_0x1b96ed;super(_0x1c8048);const _0x414904=_0x1c8048[_0x390757(0x1c2)][_0x390757(0x232)](d);this[_0x390757(0x253)]=!0x1,this[_0x390757(0x15e)](_0x414904,_0x390757(0x1ff),()=>this[_0x390757(0x25a)]()),this[_0x390757(0x15e)](_0x414904,_0x390757(0x140),()=>this[_0x390757(0x25a)]());}[_0x1b96ed(0x186)](){const _0x23a12c=_0x1b96ed,_0x34dc25=this[_0x23a12c(0x12b)],_0x5490ad=_0x34dc25[_0x23a12c(0x1c2)][_0x23a12c(0x232)](d),_0x3a9318=_0x5490ad[_0x23a12c(0x1bc)]?_0x5490ad[_0x23a12c(0x184)][_0x23a12c(0x19f)]:null;_0x34dc25[_0x23a12c(0x166)][_0x23a12c(0x232)](_0x23a12c(0x22a))[_0x23a12c(0x214)](_0x3a9318);}[_0x1b96ed(0x25a)](){const _0x169327=_0x1b96ed,{isReady:_0x21549b,isEnabled:_0x5d992e}=this[_0x169327(0x12b)][_0x169327(0x1c2)][_0x169327(0x232)](d);this[_0x169327(0x215)]=_0x21549b&&_0x5d992e;}}export class ShowChangeCommand extends _0x2abe37{constructor(_0x457400,{direction:_0x423f27}){const _0x3cf912=_0x1b96ed;super(_0x457400);const _0x5ea618=_0x457400[_0x3cf912(0x1c2)][_0x3cf912(0x232)](d);this[_0x3cf912(0x253)]=!0x1,this[_0x3cf912(0x17a)]=_0x3cf912(0x24f)===_0x423f27?0x1:-0x1,this[_0x3cf912(0x15e)](_0x5ea618,_0x3cf912(0x1ff),()=>this[_0x3cf912(0x25a)]()),this[_0x3cf912(0x15e)](_0x5ea618,_0x3cf912(0x140),()=>this[_0x3cf912(0x25a)]()),this[_0x3cf912(0x15e)](_0x5ea618,_0x3cf912(0x17e),()=>this[_0x3cf912(0x25a)]());}[_0x1b96ed(0x186)](){const _0x2085c2=_0x1b96ed,_0x3eb3e9=this[_0x2085c2(0x12b)],_0x57369d=_0x3eb3e9[_0x2085c2(0x1c2)][_0x2085c2(0x232)](d),{isNavigationMode:_0x53a94a,currentChangeNumber:_0x4bc5d9}=_0x57369d;let _0x4b5693;if(_0x57369d[_0x2085c2(0x1f0)]=_0x53a94a?_0x57369d[_0x2085c2(0x184)][_0x2085c2(0x1b5)][_0x2085c2(0x232)](_0x4bc5d9+this[_0x2085c2(0x17a)]):_0x57369d[_0x2085c2(0x184)][_0x2085c2(0x1b5)][_0x2085c2(0x264)],_0x57369d[_0x2085c2(0x1f0)][_0x2085c2(0x189)][_0x2085c2(0x11f)])_0x4b5693=_0x3eb3e9[_0x2085c2(0x229)][_0x2085c2(0x262)][_0x2085c2(0x256)](_0x57369d[_0x2085c2(0x1f0)][_0x2085c2(0x23b)]);else{const _0x46a1fa=_0x3eb3e9[_0x2085c2(0x223)][_0x2085c2(0x14c)][_0x2085c2(0x232)](_0x2085c2(0x241)+_0x57369d[_0x2085c2(0x1f0)]['id']);_0x4b5693=_0x41d852(_0x3eb3e9[_0x2085c2(0x229)],_0x46a1fa);}_0x48ee46({'target':_0x4b5693,'viewportOffset':0x28});}[_0x1b96ed(0x25a)](){const _0x5765a6=_0x1b96ed,{isNavigationMode:_0x3370e3,currentChangeNumber:_0x26cc42,numberOfChanges:_0x3ff17e,isReady:_0x160355,isEnabled:_0x4ddcc8}=this[_0x5765a6(0x12b)][_0x5765a6(0x1c2)][_0x5765a6(0x232)](d);this[_0x5765a6(0x215)]=!!(_0x4ddcc8&&_0x160355&&_0x3ff17e)&&(!_0x3370e3||(0x1===this[_0x5765a6(0x17a)]?_0x26cc42<_0x3ff17e-0x1:_0x26cc42>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5a5c(_0x14e348,_0x599702){const _0x3546db=_0x3546();return _0x5a5c=function(_0x5a5c27,_0x43013c){_0x5a5c27=_0x5a5c27-0x14b;let _0x1860dd=_0x3546db[_0x5a5c27];return _0x1860dd;},_0x5a5c(_0x14e348,_0x599702);}(function(_0x108cd2,_0xa9dbe7){const _0x36015b=_0x5a5c,_0x423a8e=_0x108cd2();while(!![]){try{const _0xfbe9b6=parseInt(_0x36015b(0x15b))/0x1*(-parseInt(_0x36015b(0x162))/0x2)+parseInt(_0x36015b(0x163))/0x3+parseInt(_0x36015b(0x150))/0x4+-parseInt(_0x36015b(0x173))/0x5+-parseInt(_0x36015b(0x156))/0x6+parseInt(_0x36015b(0x15f))/0x7*(parseInt(_0x36015b(0x16c))/0x8)+parseInt(_0x36015b(0x174))/0x9;if(_0xfbe9b6===_0xa9dbe7)break;else _0x423a8e['push'](_0x423a8e['shift']());}catch(_0x532fc4){_0x423a8e['push'](_0x423a8e['shift']());}}}(_0x3546,0x76ffa));function _0x3546(){const _0x123c20=['change:isActionsDropdownOpen','ck-revision-history-sidebar__revision__actions','2042476rOiQdN','_action','action','execute','isActionsDropdownOpen','model','5649696DvccCp','bind','items','isReady','add','47534tddBpt','set','threeVerticalDots','bindTemplate','4384793PIfnpt','Compare\x20against\x20selected','listView','20dunSdV','760848sZowuH','isOpen','locale','source','Show\x20more\x20items','isEnabled','buttonView','stopPropagation','Name\x20this\x20revision','8dzUMbu','first','ck-on','name','map','button','listenTo','3443045lXyTlD','10821141hYwKiZ','extendTemplate','class','find','isVisible','panelPosition','Restore\x20this\x20revision','menuitem','function','menu','children'];_0x3546=function(){return _0x123c20;};return _0x3546();}import{Collection as _0x255bf4}from'ckeditor5/src/utils.js';import{icons as _0x258be3}from'ckeditor5/src/core.js';import{ViewModel as _0xe78940,addListToDropdown as _0x2d388e,createDropdown as _0x1cc941}from'ckeditor5/src/ui.js';import{getTranslation as _0x3dacb4}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0xa4a621,_0x37c2a7){const _0x3c4f4d=_0x5a5c,_0x482e16=_0xa4a621[_0x3c4f4d(0x15e)],_0x5c94de=_0xa4a621[_0x3c4f4d(0x165)],_0x13267d=_0x1cc941(_0x5c94de);_0x13267d[_0x3c4f4d(0x179)]='sw';const _0x3c3c3e=function(_0x494b55,_0x4d7fc3){const _0x410ea8=_0x3c4f4d,_0x2aa5aa=function(_0x3e1897,_0x2eb713){const _0x1b854b=_0x5a5c,_0x35af79=_0x3e1897[_0x1b854b(0x165)],_0x325551={'Compare\x20against\x20selected':_0x3dacb4(_0x35af79,_0x1b854b(0x160)),'Name\x20this\x20revision':_0x3dacb4(_0x35af79,_0x1b854b(0x16b)),'Restore\x20this\x20revision':_0x3dacb4(_0x35af79,_0x1b854b(0x17a))};return _0x2eb713[_0x1b854b(0x170)](_0x2a28c7=>{const _0x5da7ca=_0x1b854b,_0x47dc0c=_0x325551[_0x2a28c7[_0x5da7ca(0x16f)]];return _0x47dc0c&&_0x47dc0c!==_0x2a28c7[_0x5da7ca(0x16f)]&&(_0x2a28c7[_0x5da7ca(0x16f)]=_0x47dc0c),_0x2a28c7;});}(_0x494b55,_0x4d7fc3),_0x16e905=new _0x255bf4();for(const _0x30a003 of _0x2aa5aa){const _0x5f95f8={'type':_0x410ea8(0x171),'model':new _0xe78940({'label':_0x30a003[_0x410ea8(0x16f)],'class':_0x30a003[_0x410ea8(0x176)],'withText':!0x0,'role':_0x410ea8(0x17b),'_action':_0x30a003[_0x410ea8(0x152)]})};_0x5f95f8[_0x410ea8(0x155)][_0x410ea8(0x157)](_0x410ea8(0x168))['to'](_0x494b55,_0x410ea8(0x154),_0x16e552=>_0x410ea8(0x14b)!=typeof _0x30a003[_0x410ea8(0x168)]||(!_0x16e552||_0x30a003[_0x410ea8(0x168)](_0x494b55))),_0x16e905[_0x410ea8(0x15a)](_0x5f95f8);}return _0x16e905;}(_0xa4a621,_0x37c2a7);return _0xa4a621[_0x3c4f4d(0x157)](_0x3c4f4d(0x154))['to'](_0x13267d,_0x3c4f4d(0x164)),_0x13267d[_0x3c4f4d(0x169)][_0x3c4f4d(0x15c)]({'label':_0x3dacb4(_0x5c94de,_0x3c4f4d(0x167)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x258be3[_0x3c4f4d(0x15d)]}),_0x13267d[_0x3c4f4d(0x175)]({'attributes':{'class':[_0x3c4f4d(0x14f),_0x482e16['if'](_0x3c4f4d(0x154),_0x3c4f4d(0x16e))]},'on':{'click':_0x482e16['to'](_0x46d66b=>_0x46d66b[_0x3c4f4d(0x16a)]())}}),_0x13267d['on'](_0x3c4f4d(0x153),_0x50fcca=>{const _0x2e3c11=_0x3c4f4d;_0xa4a621[_0x2e3c11(0x159)]&&_0x2e3c11(0x14b)==typeof _0x50fcca[_0x2e3c11(0x166)][_0x2e3c11(0x151)]&&_0x50fcca[_0x2e3c11(0x166)][_0x2e3c11(0x151)](_0xa4a621);}),_0x2d388e(_0x13267d,_0x3c3c3e,{'role':_0x3c4f4d(0x14c)}),_0x13267d[_0x3c4f4d(0x172)](_0xa4a621,_0x3c4f4d(0x14e),(_0x4dbc88,_0x173472,_0x487125)=>{const _0x31e9f6=_0x3c4f4d;if(_0x487125)for(const _0x3f2e3f of _0x13267d[_0x31e9f6(0x161)][_0x31e9f6(0x158)]){const _0x5a8fab=_0x3f2e3f[_0x31e9f6(0x14d)][_0x31e9f6(0x16d)],_0x15ffc0=_0x37c2a7[_0x31e9f6(0x177)](_0x2dad71=>_0x2dad71[_0x31e9f6(0x152)]===_0x5a8fab[_0x31e9f6(0x151)])[_0x31e9f6(0x178)];_0x3f2e3f[_0x31e9f6(0x178)]=void 0x0===_0x15ffc0||_0x15ffc0(_0xa4a621);}}),_0x13267d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x30d88f,_0x340dbb){const _0x4e9140=_0x1b0b,_0x2e16bd=_0x30d88f();while(!![]){try{const _0x1456f9=parseInt(_0x4e9140(0xd1))/0x1*(parseInt(_0x4e9140(0xca))/0x2)+-parseInt(_0x4e9140(0xc4))/0x3+parseInt(_0x4e9140(0xd3))/0x4*(-parseInt(_0x4e9140(0xcd))/0x5)+parseInt(_0x4e9140(0xd4))/0x6+-parseInt(_0x4e9140(0xd0))/0x7*(parseInt(_0x4e9140(0xd6))/0x8)+-parseInt(_0x4e9140(0xcc))/0x9*(parseInt(_0x4e9140(0xc8))/0xa)+-parseInt(_0x4e9140(0xcb))/0xb*(-parseInt(_0x4e9140(0xcf))/0xc);if(_0x1456f9===_0x340dbb)break;else _0x2e16bd['push'](_0x2e16bd['shift']());}catch(_0x438449){_0x2e16bd['push'](_0x2e16bd['shift']());}}}(_0x5d07,0x46298));import{View as _0x5426ae,IconView as _0x7ac167}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b31f5}from'../../utils/common-translations.js';function _0x5d07(){const _0x14e5fc=['ck-revision-history-sidebar__revision-author__name','1202528qoHdiJ','0\x200\x2011\x2010','set','span','ck-revision-history-sidebar__revision-author','912264SkbCRy','ck-revision-history-sidebar__revision-author_creator','name','setTemplate','190hSaPiZ','Revision\x20author','11914BhAyMK','28721KtUPAO','270531kjXGof','3105hSuRAa','push','5652KCfPtc','14hHNlQH','8YTbyiZ','Revision\x20creator','180GsCwaC','1282398oKINDK'];_0x5d07=function(){return _0x14e5fc;};return _0x5d07();}import'../../../theme/revision/revisionauthor.css';function _0x1b0b(_0x2c2297,_0x39921b){const _0x5d0796=_0x5d07();return _0x1b0b=function(_0x1b0b9a,_0x2f558f){_0x1b0b9a=_0x1b0b9a-0xc3;let _0x5cbcfd=_0x5d0796[_0x1b0b9a];return _0x5cbcfd;},_0x1b0b(_0x2c2297,_0x39921b);}import _0xc70278 from'../../../theme/icons/user.svg';export default class ti extends _0x5426ae{constructor(_0x3d3f46,_0x5e7348,_0xe2ff4b){const _0x2fb9a3=_0x1b0b;super(_0x3d3f46);const _0x505cbf=new _0x7ac167();_0x505cbf[_0x2fb9a3(0xd8)]({'content':_0xc70278,'viewBox':_0x2fb9a3(0xd7)});const _0x269c40=['ck',_0x2fb9a3(0xc3)];_0xe2ff4b&&_0x269c40[_0x2fb9a3(0xce)](_0x2fb9a3(0xc5));const _0x537b6a=[{'tag':_0x2fb9a3(0xd9),'attributes':{'class':['ck',_0x2fb9a3(0xd5)],'title':_0x3b31f5(_0x3d3f46,_0xe2ff4b?_0x2fb9a3(0xd2):_0x2fb9a3(0xc9))},'children':[_0x505cbf,_0x5e7348[_0x2fb9a3(0xc6)]]}];this[_0x2fb9a3(0xc7)]({'tag':'li','attributes':{'class':_0x269c40},'children':_0x537b6a});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12f4e2=_0x4624;(function(_0x4b2890,_0x23e3a5){const _0x504dcc=_0x4624,_0x783f1f=_0x4b2890();while(!![]){try{const _0x4ad7be=parseInt(_0x504dcc(0x116))/0x1+-parseInt(_0x504dcc(0x106))/0x2*(parseInt(_0x504dcc(0xfc))/0x3)+-parseInt(_0x504dcc(0x117))/0x4*(-parseInt(_0x504dcc(0x111))/0x5)+parseInt(_0x504dcc(0x104))/0x6*(-parseInt(_0x504dcc(0x114))/0x7)+-parseInt(_0x504dcc(0xfb))/0x8*(-parseInt(_0x504dcc(0xf9))/0x9)+parseInt(_0x504dcc(0x10a))/0xa*(parseInt(_0x504dcc(0xfa))/0xb)+-parseInt(_0x504dcc(0x102))/0xc;if(_0x4ad7be===_0x23e3a5)break;else _0x783f1f['push'](_0x783f1f['shift']());}catch(_0x38d932){_0x783f1f['push'](_0x783f1f['shift']());}}}(_0x426f,0xabf67));function _0x4624(_0x265962,_0x5a2d40){const _0x426fa8=_0x426f();return _0x4624=function(_0x4624ac,_0x310f6f){_0x4624ac=_0x4624ac-0xf9;let _0x3e09f9=_0x426fa8[_0x4624ac];return _0x3e09f9;},_0x4624(_0x265962,_0x5a2d40);}import{LabeledFieldView as _0x37e0e6}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x33e9d4}from'ckeditor5/src/utils.js';import{getTranslation as _0x31025a}from'../../utils/common-translations.js';function _0x426f(){const _0xf054f5=['set','ck-tooltip_multi-line','_updateTooltipText','200mVivoN','clientWidth','destroy','_tooltipString','placeholder','render','element','4649630MHQSaY','input','bindTemplate','59087gJjsji','fieldView','1190686AHLlqx','4NgmbVe','ck-revision-history-sidebar__revision-name','listenTo','63ojFNxL','65186AGdZIo','664168tBaSmW','1489242iUUjsg','Enter\x20the\x20revision\x20name','_resizeObserver','value','Revision\x20name','extendTemplate','8089368CglNcF','scrollWidth','672FWitBy','span','2DOQphd'];_0x426f=function(){return _0xf054f5;};return _0x426f();}import'../../../theme/revision/revisionname.css';export default class kt extends _0x37e0e6{constructor(_0x4ec3d7,_0x531e84){const _0x877f2c=_0x4624;super(_0x4ec3d7,_0x531e84),this[_0x877f2c(0xfe)]=null;const _0x2f13fa=this[_0x877f2c(0x113)];this[_0x877f2c(0x107)]({'label':_0x31025a(_0x4ec3d7,_0x877f2c(0x100)),'_tooltipString':''}),this[_0x877f2c(0x115)][_0x877f2c(0x10e)]=_0x31025a(_0x4ec3d7,_0x877f2c(0xfd)),this[_0x877f2c(0x101)]({'tag':_0x877f2c(0x105),'attributes':{'class':[_0x877f2c(0x118)],'data-cke-tooltip-text':_0x2f13fa['to'](_0x877f2c(0x10d)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x877f2c(0x108)}});}[_0x12f4e2(0x10f)](){const _0xffd4aa=_0x12f4e2;super[_0xffd4aa(0x10f)](),this[_0xffd4aa(0xfe)]=new _0x33e9d4(this[_0xffd4aa(0x115)][_0xffd4aa(0x110)],()=>this[_0xffd4aa(0x109)]()),this[_0xffd4aa(0x119)](this[_0xffd4aa(0x115)],_0xffd4aa(0x112),()=>this[_0xffd4aa(0x109)]());}[_0x12f4e2(0x10c)](){const _0x1bc14c=_0x12f4e2;super[_0x1bc14c(0x10c)](),this[_0x1bc14c(0xfe)]&&this[_0x1bc14c(0xfe)][_0x1bc14c(0x10c)]();}[_0x12f4e2(0x109)](){const _0x9174db=_0x12f4e2,_0x55a9bf=this[_0x9174db(0x115)][_0x9174db(0x110)];this[_0x9174db(0x10d)]=_0x55a9bf[_0x9174db(0x103)]>_0x55a9bf[_0x9174db(0x10b)]&&_0x55a9bf[_0x9174db(0xff)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x29e0(_0x370598,_0xd050ce){const _0x208e94=_0x208e();return _0x29e0=function(_0x29e089,_0x168793){_0x29e089=_0x29e089-0x140;let _0x1ce934=_0x208e94[_0x29e089];return _0x1ce934;},_0x29e0(_0x370598,_0xd050ce);}const _0x11bcd4=_0x29e0;(function(_0x949c7e,_0x187fa6){const _0x142351=_0x29e0,_0x422759=_0x949c7e();while(!![]){try{const _0x10d4c1=-parseInt(_0x142351(0x170))/0x1*(parseInt(_0x142351(0x162))/0x2)+-parseInt(_0x142351(0x17f))/0x3*(parseInt(_0x142351(0x180))/0x4)+parseInt(_0x142351(0x14d))/0x5+-parseInt(_0x142351(0x150))/0x6*(-parseInt(_0x142351(0x178))/0x7)+parseInt(_0x142351(0x171))/0x8+-parseInt(_0x142351(0x141))/0x9*(parseInt(_0x142351(0x172))/0xa)+-parseInt(_0x142351(0x15f))/0xb;if(_0x10d4c1===_0x187fa6)break;else _0x422759['push'](_0x422759['shift']());}catch(_0x2d487e){_0x422759['push'](_0x422759['shift']());}}}(_0x208e,0xc11f3));import{View as _0x13c452,createLabeledInputText as _0x30b355}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x3c8bd8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xce3f08 from'./revisionnameview.js';import _0x2f62f8 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x521556}from'./utils.js';import{createActionsDropdownView as _0x178d05}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3c8bd8(_0x13c452){constructor(_0x3af064,_0xcf85ad,_0x5e2d75,_0x5dd17e){const _0x36ac10=_0x29e0;super(_0x3af064);const _0x1e76d1=this[_0x36ac10(0x16f)],_0x41d361=function(_0x19e6e9,_0x48dbeb){const _0x4a9571=_0x36ac10,_0x50031a=Array[_0x4a9571(0x15d)](_0x48dbeb[_0x4a9571(0x14f)])[_0x4a9571(0x140)](_0xb2642b=>_0xb2642b!=_0x48dbeb[_0x4a9571(0x174)]);return _0x48dbeb[_0x4a9571(0x174)]&&_0x50031a[_0x4a9571(0x179)](_0x48dbeb[_0x4a9571(0x174)]),_0x50031a[_0x4a9571(0x143)](_0x7701ed=>new _0x2f62f8(_0x19e6e9,_0x7701ed,_0x7701ed==_0x48dbeb[_0x4a9571(0x174)]));}(_0x3af064,_0xcf85ad);this['id']=_0xcf85ad['id'],this[_0x36ac10(0x160)]=_0xcf85ad,this[_0x36ac10(0x173)]=_0x5dd17e,this[_0x36ac10(0x152)](_0x36ac10(0x166),_0x36ac10(0x16e))['to'](_0xcf85ad),this[_0x36ac10(0x152)](_0x36ac10(0x147))['to'](this,_0x36ac10(0x16e),_0x54a191=>_0x521556(_0x3af064[_0x36ac10(0x165)],_0x54a191)),this[_0x36ac10(0x149)](_0x36ac10(0x17e),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x177),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x142),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x14e),!0x1),this[_0x36ac10(0x149)](_0x36ac10(0x16b),!0x1),this[_0x36ac10(0x145)]=new _0xce3f08(_0x3af064,_0x30b355),this[_0x36ac10(0x145)][_0x36ac10(0x148)][_0x36ac10(0x161)]({'attributes':{'maxlength':_0x36ac10(0x16d)}}),this[_0x36ac10(0x145)][_0x36ac10(0x148)][_0x36ac10(0x152)](_0x36ac10(0x156))['to'](this,_0x36ac10(0x166),_0x383a98=>_0x383a98||this[_0x36ac10(0x147)]),this[_0x36ac10(0x145)][_0x36ac10(0x152)](_0x36ac10(0x16b))['to'](this,_0x36ac10(0x17e),this,_0x36ac10(0x16b),(_0x575763,_0x4f1748)=>_0x575763&&_0x4f1748),this[_0x36ac10(0x169)]=_0x5e2d75&&_0x5e2d75[_0x36ac10(0x16a)]?_0x178d05(this,_0x5e2d75):'',this[_0x36ac10(0x169)]&&this[_0x36ac10(0x169)][_0x36ac10(0x152)](_0x36ac10(0x16b))['to'](this),this[_0x36ac10(0x144)]({'tag':_0x36ac10(0x17c),'attributes':{'class':['ck',_0x36ac10(0x176),_0x36ac10(0x146),_0x1e76d1['if'](_0x36ac10(0x15c),_0x36ac10(0x17a))]},'children':[{'tag':_0x36ac10(0x17c),'attributes':{'class':['ck',_0x36ac10(0x176),_0x36ac10(0x15b),_0x1e76d1['if'](_0x36ac10(0x16b),_0x36ac10(0x14b),_0x3ce553=>!_0x3ce553),_0x1e76d1['if'](_0x36ac10(0x17e),_0x36ac10(0x167)),_0x1e76d1['if'](_0x36ac10(0x177),_0x36ac10(0x14a)),_0x1e76d1['if'](_0x36ac10(0x142),_0x36ac10(0x154))]},'children':[this[_0x36ac10(0x145)],{'tag':_0x36ac10(0x159),'attributes':{'class':['ck',_0x36ac10(0x16c)]},'children':[{'text':_0x1e76d1['to'](_0x36ac10(0x147))}]},{'tag':_0x36ac10(0x17c),'attributes':{'class':['ck',_0x36ac10(0x15a)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x36ac10(0x158)]},'children':_0x41d361}]},this[_0x36ac10(0x169)]],'on':{'click':_0x1e76d1['to'](_0x336c46=>{const _0x479e56=_0x36ac10;_0x336c46[_0x479e56(0x17b)][_0x479e56(0x157)](_0x479e56(0x164))||this[_0x479e56(0x14e)]&&this[_0x479e56(0x16b)]&&this[_0x479e56(0x163)](_0x479e56(0x153),{'id':this['id']});})}}]});}[_0x11bcd4(0x155)](){const _0x1fdc0a=_0x11bcd4;super[_0x1fdc0a(0x155)]();const _0x3238ab=this[_0x1fdc0a(0x145)][_0x1fdc0a(0x148)][_0x1fdc0a(0x14c)];this[_0x1fdc0a(0x181)](_0x3238ab,_0x1fdc0a(0x175),()=>{const _0x2d8b6f=_0x1fdc0a;this[_0x2d8b6f(0x173)]&&!_0x3238ab[_0x2d8b6f(0x156)]||this[_0x2d8b6f(0x163)](_0x2d8b6f(0x168),{'id':this['id'],'name':_0x3238ab[_0x2d8b6f(0x156)]}),_0x3238ab[_0x2d8b6f(0x156)]||(_0x3238ab[_0x2d8b6f(0x156)]=this[_0x2d8b6f(0x166)]?this[_0x2d8b6f(0x166)]:this[_0x2d8b6f(0x147)]);});}[_0x11bcd4(0x153)](){const _0x18913d=_0x11bcd4;this[_0x18913d(0x17e)]=!0x0;}[_0x11bcd4(0x151)](){const _0x171b5c=_0x11bcd4;this[_0x171b5c(0x17e)]=!0x1;}[_0x11bcd4(0x15e)](){const _0x171671=_0x11bcd4;this[_0x171671(0x177)]=!0x0;}[_0x11bcd4(0x17d)](){const _0x259c19=_0x11bcd4;this[_0x259c19(0x177)]=!0x1;}}function _0x208e(){const _0x181a79=['ck-revision-history-sidebar__revision-authors','span','ck-revision-history-sidebar__revision__controls-wrapper','ck-revision-history-sidebar__revision','isConfirm','from','highlight','3980350FvPcop','_revision','extendTemplate','224078oMzFnf','fire','.ck-thread__remove-confirm','uiLanguage','name','ck-revision-history-sidebar__revision_selected','setName','revisionActionsView','length','isEnabled','ck-revision-history-sidebar__revision__date','220','createdAt','bindTemplate','4TGTtwy','8343736DiOEJu','70bFsMwQ','_requireRevisionName','creator','change','ck-reset','isHighlighted','4541551HwDvyB','unshift','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','srcElement','div','unhighlight','isSelected','714297ePHWot','4jvEOXz','listenTo','filter','819441Jmlquz','isActionsDropdownOpen','map','setTemplate','revisionNameView','ck-revision-history-sidebar__revision-wrapper','_createdAtFormatted','fieldView','set','ck-revision-history-sidebar__revision_highlighted','ck-disabled','element','3923575vJVTxa','isReady','authors','6kgELVG','deselect','bind','select','ck-revision-history-sidebar__actions_dropdown_open','render','value','closest'];_0x208e=function(){return _0x181a79;};return _0x208e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x488c36=_0x2aab;(function(_0x294475,_0x245f5e){const _0x397d1b=_0x2aab,_0x54d1fb=_0x294475();while(!![]){try{const _0x4f782b=-parseInt(_0x397d1b(0x149))/0x1+-parseInt(_0x397d1b(0x145))/0x2+-parseInt(_0x397d1b(0x13b))/0x3*(parseInt(_0x397d1b(0x14f))/0x4)+parseInt(_0x397d1b(0x143))/0x5*(-parseInt(_0x397d1b(0x151))/0x6)+parseInt(_0x397d1b(0x14b))/0x7*(parseInt(_0x397d1b(0x146))/0x8)+parseInt(_0x397d1b(0x13c))/0x9*(parseInt(_0x397d1b(0x142))/0xa)+parseInt(_0x397d1b(0x13e))/0xb;if(_0x4f782b===_0x245f5e)break;else _0x54d1fb['push'](_0x54d1fb['shift']());}catch(_0x57b6bf){_0x54d1fb['push'](_0x54d1fb['shift']());}}}(_0x282e,0x7c70a));import{View as _0x166fcb}from'ckeditor5/src/ui.js';function _0x2aab(_0x40da41,_0x3b1460){const _0x282e70=_0x282e();return _0x2aab=function(_0x2aab06,_0xb54fc3){_0x2aab06=_0x2aab06-0x13a;let _0x53561c=_0x282e70[_0x2aab06];return _0x53561c;},_0x2aab(_0x40da41,_0x3b1460);}import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x166fcb{constructor(_0x3fc703){const _0xbdbae=_0x2aab;super(_0x3fc703);const _0x2e5744=this[_0xbdbae(0x140)];this[_0xbdbae(0x152)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0xbdbae(0x13a)]({'tag':_0xbdbae(0x13d),'attributes':{'class':['ck',_0xbdbae(0x141),_0x2e5744['if'](_0xbdbae(0x14c),_0xbdbae(0x147),_0x35bdcf=>!_0x35bdcf),_0x2e5744['if'](_0xbdbae(0x148),_0xbdbae(0x13f))],'role':_0xbdbae(0x14a),'aria-pressed':_0x2e5744['to'](_0xbdbae(0x148),_0x4242d5=>_0x4242d5?_0xbdbae(0x14e):_0xbdbae(0x150))},'children':[{'tag':_0xbdbae(0x13d),'attributes':{'class':['ck',_0xbdbae(0x144)]}}],'on':{'click':_0x2e5744['to'](_0xbdbae(0x14d))}});}[_0x488c36(0x153)](){const _0x214aae=_0x488c36;this[_0x214aae(0x148)]=!this[_0x214aae(0x148)];}}function _0x282e(){const _0x36a1a5=['false','5660lezaSl','true','6MrYPef','set','toggle','setTemplate','84VNZZut','2414745edpNOb','span','7952736nvIrvf','ck-revision-history-sidebar__subrevision-collapser_collapsed','bindTemplate','ck-revision-history-sidebar__subrevision-collapser','20WQgTyW','146425YKrCZp','ck-revision-history-sidebar__subrevision-collapser__inner','1019856dQRGxl','2502568ELLVrm','ck-hidden','_isCollapsed','483868nomjow','button','7zfTMmu','isVisible','click'];_0x282e=function(){return _0x36a1a5;};return _0x282e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d693d=_0x84df;(function(_0x363380,_0x457f90){const _0x4b6755=_0x84df,_0x54fa8a=_0x363380();while(!![]){try{const _0x35d118=-parseInt(_0x4b6755(0xc5))/0x1*(parseInt(_0x4b6755(0xc6))/0x2)+-parseInt(_0x4b6755(0xb8))/0x3*(-parseInt(_0x4b6755(0xc2))/0x4)+-parseInt(_0x4b6755(0xc7))/0x5+parseInt(_0x4b6755(0xd5))/0x6+-parseInt(_0x4b6755(0xd6))/0x7*(-parseInt(_0x4b6755(0xd2))/0x8)+parseInt(_0x4b6755(0xce))/0x9+-parseInt(_0x4b6755(0xbc))/0xa;if(_0x35d118===_0x457f90)break;else _0x54fa8a['push'](_0x54fa8a['shift']());}catch(_0x48578e){_0x54fa8a['push'](_0x54fa8a['shift']());}}}(_0x3852,0x6fea4));import{View as _0x5a962a}from'ckeditor5/src/ui.js';import _0x3717ec from'./revisionauthorview.js';function _0x3852(){const _0x1b03c5=['uiLanguage','5091536osZtru','bind','bindTemplate','4580436CPPvoV','7mVncFr','1155117eDdlnW','setTemplate','ck-reset','ck-revision-history-sidebar__revision-authors','9539190xYuqIN','_createdAtFormatted','deselect','createdAt','set','creator','8jMqYgJ','div','span','751hVVmJj','420qGwfYs','3292705JqdbAQ','ck-revision-history-sidebar__revision','fire','ck-revision-history-sidebar__revision_selected','_parentRevisionId','isSelected','ck-revision-history-sidebar__subrevision','527832OYJCLP','ck-revision-history-sidebar__revision__date','select'];_0x3852=function(){return _0x1b03c5;};return _0x3852();}import{dateToPrettyFormat as _0x118925}from'./utils.js';function _0x84df(_0x2b79cc,_0x3dfd9a){const _0x3852e9=_0x3852();return _0x84df=function(_0x84df6f,_0x1208cb){_0x84df6f=_0x84df6f-0xb8;let _0x32c067=_0x3852e9[_0x84df6f];return _0x32c067;},_0x84df(_0x2b79cc,_0x3dfd9a);}import'../../../theme/revision/subrevision.css';export default class is extends _0x5a962a{constructor(_0x479c3d,_0x5c7439,_0x87a8cc){const _0x494543=_0x84df;super(_0x479c3d);const _0x153139=this[_0x494543(0xd4)];this['id']=_0x5c7439['id'],this[_0x494543(0xd3)](_0x494543(0xbf))['to'](_0x5c7439),this[_0x494543(0xc0)](_0x494543(0xcc),!0x1),this[_0x494543(0xd3)](_0x494543(0xbd))['to'](this,_0x494543(0xbf),_0x11c483=>_0x11c483?_0x118925(_0x479c3d[_0x494543(0xd1)],_0x11c483):void 0x0),this[_0x494543(0xcb)]=_0x87a8cc,this[_0x494543(0xb9)]({'tag':_0x494543(0xc3),'attributes':{'class':['ck',_0x494543(0xba),_0x494543(0xc8),_0x494543(0xcd),_0x153139['if'](_0x494543(0xcc),_0x494543(0xca))]},'children':[{'tag':_0x494543(0xc4),'attributes':{'class':['ck',_0x494543(0xcf)]},'children':[{'text':_0x153139['to'](_0x494543(0xbd))}]},{'tag':'ul','attributes':{'class':['ck',_0x494543(0xbb)]},'children':[new _0x3717ec(_0x479c3d,_0x5c7439[_0x494543(0xc1)],!0x0)]}],'on':{'click':_0x153139['to'](this[_0x494543(0xd0)][_0x494543(0xd3)](this))}});}[_0x5d693d(0xd0)](){const _0x1c29a1=_0x5d693d;this[_0x1c29a1(0xcc)]=!0x0,this[_0x1c29a1(0xc9)](_0x1c29a1(0xd0),{'parentId':this[_0x1c29a1(0xcb)]});}[_0x5d693d(0xbe)](){const _0x4f6bd0=_0x5d693d;this[_0x4f6bd0(0xcc)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2be2(_0x55d99d,_0x1e5b0b){var _0x420fdb=_0x420f();return _0x2be2=function(_0x2be2ee,_0x255b64){_0x2be2ee=_0x2be2ee-0x1d9;var _0x3a6212=_0x420fdb[_0x2be2ee];return _0x3a6212;},_0x2be2(_0x55d99d,_0x1e5b0b);}(function(_0x14e153,_0x3a3552){var _0x42737f=_0x2be2,_0x593251=_0x14e153();while(!![]){try{var _0x1969ac=-parseInt(_0x42737f(0x1e0))/0x1+-parseInt(_0x42737f(0x1d9))/0x2*(-parseInt(_0x42737f(0x1e6))/0x3)+-parseInt(_0x42737f(0x1df))/0x4*(-parseInt(_0x42737f(0x1e4))/0x5)+parseInt(_0x42737f(0x1e1))/0x6+parseInt(_0x42737f(0x1e3))/0x7*(parseInt(_0x42737f(0x1e5))/0x8)+parseInt(_0x42737f(0x1dc))/0x9+parseInt(_0x42737f(0x1dd))/0xa*(-parseInt(_0x42737f(0x1db))/0xb);if(_0x1969ac===_0x3a3552)break;else _0x593251['push'](_0x593251['shift']());}catch(_0x2c6ad6){_0x593251['push'](_0x593251['shift']());}}}(_0x420f,0x89907));function _0x420f(){var _0x15b03b=['2390PGDnQO','toLocaleTimeString','4ffhvXR','31789kZmPyt','1085862UpBkRU','toLocaleDateString','2456251ckZHLH','1216025PTqicc','8mhZGHO','96tWzaBI','numeric','10908wtwfGu','long','52063BxgtZU','6991524IdwBIM'];_0x420f=function(){return _0x15b03b;};return _0x420f();}export function dateToPrettyFormat(_0x363f8a,_0x3a1550){var _0x241a89=_0x2be2;return _0x3a1550[_0x241a89(0x1e2)](_0x363f8a,{'month':_0x241a89(0x1da),'day':_0x241a89(0x1e7)})+',\x20'+_0x3a1550[_0x241a89(0x1de)](_0x363f8a,{'hour':_0x241a89(0x1e7),'minute':_0x241a89(0x1e7)});}
|