@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240613.0 → 0.0.0-nightly-20240614.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +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 +5 -5
- 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 _0xabc655=_0x2520;(function(_0x3c4521,_0x3c9f1a){const _0x361d8f=_0x2520,_0x537b64=_0x3c4521();while(!![]){try{const _0x1af91d=parseInt(_0x361d8f(0x309))/0x1+parseInt(_0x361d8f(0x1d4))/0x2+parseInt(_0x361d8f(0x316))/0x3+parseInt(_0x361d8f(0x218))/0x4+-parseInt(_0x361d8f(0x301))/0x5*(-parseInt(_0x361d8f(0x2aa))/0x6)+-parseInt(_0x361d8f(0x2e0))/0x7*(parseInt(_0x361d8f(0x2b1))/0x8)+parseInt(_0x361d8f(0x2d0))/0x9*(-parseInt(_0x361d8f(0x24e))/0xa);if(_0x1af91d===_0x3c9f1a)break;else _0x537b64['push'](_0x537b64['shift']());}catch(_0x2bfc35){_0x537b64['push'](_0x537b64['shift']());}}}(_0x48ec,0x8d5e5));import{Plugin as _0x52ae47,Command as _0x3f4fb7}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x571583}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x237c96}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x46547b,Element as _0x5f317d,Text as _0x51d042,ViewDocumentFragment as _0x5cb1fe,ViewText as _0xcd65f2,ViewElement as _0x3dc1a2,ViewContainerElement as _0x135e91,ViewAttributeElement as _0x579856,ViewEmptyElement as _0x1c8071,ViewRawElement as _0x15119a,ViewUIElement as _0x5b549b}from'ckeditor5/src/engine.js';import{Users as _0x19e561,getMarkerDomElement as _0xfdf20d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x54d097 from'./ui/revisionviewer/changedetailsview.js';import _0xea215 from'./revisionsrepository.js';function _0x48ec(){const _0x19c03d=['pop','isNavigationMode','span','upcast','attributes','indexOf','addRevisionData','mouseover','writer','name','then','_update','addMarker:revision-suggestion:deletion','getClientRects','includes','object','change','requires','_refreshStartEndIndex','ck-revision-history-root-','flat','toViewRange','markers','diffData','_revisions','insertions','getAttributes','getRevisionRootsAttributes','error','change:isEnabled','createRangeIn','ck-revision-history-root-remove','values','stop','elementStart','showStack','distance','viewItem','_setConversion','consumable','remove','change:numberOfChanges','data-change-id','find','getCustomProperty','getDomRoot','isOnRoot','revisionHistoryLabel','split','execute','authors','revision-start','isAtStart','listenTo','1961812xGudql','_markMarkers','oldRevisionId','_initInteractions','isContent','domEvent','hasClass','observeMarkers','isSuggestion','abs','_changeIdToChange','RevisionsRepository','_fixObsoleteTags','view','change:activeView','restoreRevisionCallback','_makeModelFromViewString','isObject','first','_makeTape','keys','change:isReady','children','change:activeChange','wrap','index','downcastDispatcher','rootName','map','set','createPositionFromPath','range','marked','plugins','addMarker:revision','mapViewToDom','high','toViewPosition','adapter','endIndex','vid','revision-viewer','element:pre','showNextChange','ck-suggestion-marker-merge','consume','revision-suggestion','revisionHistory','markersEnd','sort','unshift','_data','length','isEqual','60byxBAI','removeClass','markersStart','_getChangeFromId','affectsData','backward','setAttribute','getRootNames','has','processor','_setChanges','_appendChild','_markInsertions','activeView','getRevision','currentChangeNumber','pairId','changeId','updatePosition','locale','type','bindElementToMarker','_cleanUp','mapper','dataToMarker','isInline','markerNameToElements','startsWith','useFillerType','_findChangeIdFromDomTarget','domConverter','addClass','forceDisabled','_processTape','isAfter','ck-suggestion-marker-split','conversion','push','changes','RevisionViewer','document','compare','_getViewForChange','getAttribute','createRevision','schema','_balloon','getRoot','_markSuggestions','_getDiff','getIndex','mousedown','checkAttribute','addRevision','slice','insertion','addMarker:revision-suggestion:insertion','add','removeMarker','deletion','ck-suggestion-marker-','isLimit','getChild','suggestion','vid_start','markerName','hasAttribute','isIncorrect','markerToData','ck-revision-history-root--active','_cleanMarkers','attachChange','loadRevisionData','data-revision-','removeAttribute','concat','startIndex','getWalker','end','_activeViewTarget','delete','_setDistance','refresh','element','modelRange','data','_removeRevisionMarkers','commands','_sortAndFilterDiffChanges','elementEnd','ck-suggestion-preview-marker','maxOffset','2994PpjKzP','_getRevisionsRange','catch','side','insert','nextPosition','dataDowncast','906232FDEgqx','splice','nextSibling','_threeWayMerge','default','get','bottom','WidgetToolbarRepository','_makeModelFromTape','target','destroy','diff','roots','toModel','restoreRevision','showPreviousChange','selection','getItems','createUIElement','isReady','filter','isRemoveSuggestion','ck-suggestion-marker','addHighlight','previousPosition','ck-revision-history-root-add','createAttributeElement','activeChange','deletions','_markMismatchedRemovedTags','clear','3773448nToGnG','removeMarker:revision','all','ck-editor__editable__overlay','addRoot','isAtEnd','revision','bind','merge','revision-comment:','for','config','editing','editingDowncast','userId','toViewElement','7QEzMLO','code','newRevisionId','markerToHighlight','createPositionBefore','item','getRevisionData','parent','ck-suggestion-marker--active','string','isRemoved','uiElement','isAttached','nodeAfter','POSITIVE_INFINITY','init','suggestion:','enableReadOnlyMode','_changeView','-new','_removeMissingPairs','from','softBreak','unbindElementFromMarkerName','attributesBefore','collaboration.channelId','revision:','forward','ck-suggestion-preview-marker-','toData','model','shift','numberOfChanges','10735UrGFPG','done','start','_joinTapes','revisionHistoryAttachChange','detachRoot','revision-end','low','148674XCFpji','isBefore','next','attributesAfter','top','createRange','return','highest','text','parse','isCollapsed','editor','vid_end','3173034PhVhrn','resolve','reconvertMarker','forEach','right','repository','markerRange','pluginName','revision-suggestion:','elementToAttribute','enqueueChange','level','isBlock','879596KYsHrT','_getViewObj','removeMarker:revision-suggestion','isAdded','offsetSize','left','_removeUnsupportedChanges','comment','attribute:vid','isAddSuggestion','_step','test','findIndex','isEnabled'];_0x48ec=function(){return _0x19c03d;};return _0x48ec();}import _0x138614 from'./changeitem.js';import{default as _0x32ea29}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x8b526}from'lodash-es';const tt={'c':_0x135e91,'a':_0x579856,'e':_0x1c8071,'r':_0x15119a,'u':_0x5b549b};export default class d extends _0x52ae47{static get[_0xabc655(0x31d)](){const _0x5e7efc=_0xabc655;return _0x5e7efc(0x275);}static get[_0xabc655(0x1f3)](){return[_0x19e561,_0x237c96,_0xea215];}constructor(_0x20fea4){const _0x5453fd=_0xabc655;super(_0x20fea4),this[_0x5453fd(0x31b)]=this[_0x5453fd(0x314)][_0x5453fd(0x239)][_0x5453fd(0x2b6)](_0x5453fd(0x223)),this[_0x5453fd(0x235)](_0x5453fd(0x2cc),null),this[_0x5453fd(0x235)](_0x5453fd(0x25b),null),this[_0x5453fd(0x29d)]=null,this[_0x5453fd(0x235)](_0x5453fd(0x2bc),null),this[_0x5453fd(0x235)](_0x5453fd(0x2c4),!0x1),this[_0x5453fd(0x235)](_0x5453fd(0x1e1),!0x0),this['on'](_0x5453fd(0x1ff),(_0x4289f4,_0x12be22,_0x20c814)=>{const _0x25582d=_0x5453fd;this[_0x25582d(0x2cc)]=null,this[_0x25582d(0x25b)]=null,this[_0x25582d(0x314)][_0x25582d(0x2dc)][_0x25582d(0x225)][_0x25582d(0x1f2)](_0x2ee1bd=>{const _0x3da3b3=_0x25582d;for(const _0x22efca of this[_0x3da3b3(0x314)][_0x3da3b3(0x2dc)][_0x3da3b3(0x225)][_0x3da3b3(0x276)][_0x3da3b3(0x2bd)])_0x20c814?_0x2ee1bd[_0x3da3b3(0x24f)](_0x3da3b3(0x2d3),_0x22efca):_0x2ee1bd[_0x3da3b3(0x26d)](_0x3da3b3(0x2d3),_0x22efca);});}),this[_0x5453fd(0x2d7)](_0x5453fd(0x1e3))['to'](this,_0x5453fd(0x2cc),_0x136069=>null!==_0x136069),this[_0x5453fd(0x2d7)](_0x5453fd(0x25d))['to'](this,_0x5453fd(0x2c4),this,_0x5453fd(0x2bc),this,_0x5453fd(0x2cc),(_0x441718,_0x4a5e72,_0x330033)=>_0x441718&&_0x330033?_0x4a5e72[_0x5453fd(0x274)][_0x5453fd(0x280)](_0x330033):0x0),this[_0x5453fd(0x2d7)](_0x5453fd(0x300))['to'](this,_0x5453fd(0x2c4),this,_0x5453fd(0x2bc),(_0x13296f,_0x16b6af)=>_0x13296f?_0x16b6af[_0x5453fd(0x274)][_0x5453fd(0x24c)]:0x0),this[_0x5453fd(0x2f2)]=null,this[_0x5453fd(0x222)]=new Map(),this[_0x5453fd(0x23e)]=null,this[_0x5453fd(0x27c)]=this[_0x5453fd(0x314)][_0x5453fd(0x239)][_0x5453fd(0x2b6)](_0x237c96);}[_0xabc655(0x2ef)](){const _0x27d1de=_0xabc655,_0x4facf3=this[_0x27d1de(0x314)],_0x196041=new ShowChangeCommand(_0x4facf3,{'direction':_0x27d1de(0x253)}),_0x5f5649=new ShowChangeCommand(_0x4facf3,{'direction':_0x27d1de(0x2fb)});(_0x4facf3[_0x27d1de(0x2a5)][_0x27d1de(0x287)](_0x27d1de(0x2c0),_0x196041),_0x4facf3[_0x27d1de(0x2a5)][_0x27d1de(0x287)](_0x27d1de(0x243),_0x5f5649),_0x4facf3[_0x27d1de(0x2a5)][_0x27d1de(0x287)](_0x27d1de(0x2bf),new RestoreRevisionCommand(_0x4facf3)),this['on'](_0x27d1de(0x20b),()=>{const _0x2bcac3=_0x27d1de;_0x196041[_0x2bcac3(0x2a0)](),_0x5f5649[_0x2bcac3(0x2a0)]();}),this[_0x27d1de(0x208)](),this[_0x27d1de(0x21b)](),_0x4facf3[_0x27d1de(0x2f1)](_0x27d1de(0x241)),_0x4facf3[_0x27d1de(0x239)][_0x27d1de(0x256)](_0x27d1de(0x2b8)))&&_0x4facf3[_0x27d1de(0x239)][_0x27d1de(0x2b6)](_0x27d1de(0x2b8))[_0x27d1de(0x26e)](_0x27d1de(0x241));}async[_0xabc655(0x2e6)](_0x5953db){const _0x18446e=_0xabc655;await this[_0x18446e(0x296)](_0x5953db);const _0x1057ab={};for(const _0x455ee0 in _0x5953db[_0x18446e(0x1f9)]){if(_0x5953db[_0x18446e(0x1f9)][_0x455ee0][_0x18446e(0x295)]&&!_0x5953db[_0x18446e(0x1f9)][_0x455ee0][_0x18446e(0x295)][_0x18446e(0x2ec)])continue;const _0x3e4f1d=this[_0x18446e(0x2a4)](JSON[_0x18446e(0x312)](_0x5953db[_0x18446e(0x1f9)][_0x455ee0][_0x18446e(0x1fb)])),_0x54724c=this[_0x18446e(0x314)][_0x18446e(0x2dc)][_0x18446e(0x225)][_0x18446e(0x276)],_0x1cd27a=new _0x5cb1fe(_0x54724c,_0x3e4f1d[_0x18446e(0x234)](_0x2fdc9d=>this[_0x18446e(0x1d5)](_0x2fdc9d)));this[_0x18446e(0x314)][_0x18446e(0x2a3)][_0x18446e(0x257)][_0x18446e(0x26a)](_0x18446e(0x238)),_0x1057ab[_0x455ee0]=this[_0x18446e(0x314)][_0x18446e(0x2a3)][_0x18446e(0x257)][_0x18446e(0x2fd)](_0x1cd27a),this[_0x18446e(0x314)][_0x18446e(0x2a3)][_0x18446e(0x257)][_0x18446e(0x26a)](_0x18446e(0x2b5));}return _0x1057ab;}async[_0xabc655(0x1fd)](_0x4af671){const _0xbfc937=_0xabc655;await this[_0xbfc937(0x296)](_0x4af671);const _0x520e90={};for(const _0x36a10b in _0x4af671[_0xbfc937(0x1f9)])_0x4af671[_0xbfc937(0x1f9)][_0x36a10b][_0xbfc937(0x295)]&&!_0x4af671[_0xbfc937(0x1f9)][_0x36a10b][_0xbfc937(0x295)][_0xbfc937(0x2ec)]||(_0x520e90[_0x36a10b]=_0x4af671[_0xbfc937(0x1f9)][_0x36a10b][_0xbfc937(0x30c)]||{});return _0x520e90;}[_0xabc655(0x2a4)](_0x5e0d60){const _0x3174f6=_0xabc655;return(_0x5e0d60=_0x5e0d60[_0x3174f6(0x2c5)](_0x580b1b=>!_0x580b1b[_0x3174f6(0x1eb)]||_0x3174f6(0x215)!==_0x580b1b[_0x3174f6(0x1eb)]&&_0x3174f6(0x307)!==_0x580b1b[_0x3174f6(0x1eb)]))[_0x3174f6(0x319)](_0x171c0c=>{const _0x3dcf13=_0x3174f6;_0x3dcf13(0x2e9)!=typeof _0x171c0c&&(_0x171c0c[_0x3dcf13(0x22e)]=this[_0x3dcf13(0x2a4)](_0x171c0c[_0x3dcf13(0x22e)]),_0x171c0c[_0x3dcf13(0x1e6)]=_0x171c0c[_0x3dcf13(0x1e6)][_0x3dcf13(0x2c5)](_0x507352=>!_0x507352[0x0][_0x3dcf13(0x269)](_0x3dcf13(0x297))));}),_0x5e0d60;}async[_0xabc655(0x277)](_0x26d55a,_0x46fa86,_0x4eb38f=!0x1){const _0x4ea634=_0xabc655;if(!this[_0x4ea634(0x1e1)])return;const _0x9631f=this[_0x4ea634(0x2bc)],_0x2db671=this[_0x4ea634(0x31b)],_0x46c7e4=_0x4ea634(0x2e9)==typeof _0x26d55a?_0x2db671[_0x4ea634(0x25c)](_0x26d55a):_0x26d55a,_0x81244=_0x4ea634(0x2e9)==typeof _0x46fa86?_0x2db671[_0x4ea634(0x25c)](_0x46fa86):_0x46fa86,_0x3c9971=_0x46c7e4['id'],_0x3b035a=_0x81244?_0x81244['id']:null;if(!_0x4eb38f&&this[_0x4ea634(0x2bc)]&&this[_0x4ea634(0x2bc)][_0x4ea634(0x2e2)]===_0x3c9971&&this[_0x4ea634(0x2bc)][_0x4ea634(0x21a)]===_0x3b035a)return Promise[_0x4ea634(0x317)]();this[_0x4ea634(0x2c4)]=!0x1,this[_0x4ea634(0x25b)]=null,this[_0x4ea634(0x2cc)]=null,this[_0x4ea634(0x2bc)]=new _0x32ea29(_0x3c9971,_0x3b035a);const _0x4b9535=this[_0x4ea634(0x2ab)](_0x46c7e4,_0x81244,!0x0)[_0x4ea634(0x234)](_0x5d37be=>this[_0x4ea634(0x296)](_0x5d37be));return _0x4b9535[_0x4ea634(0x273)](new Promise(_0x26e2e7=>{setTimeout(_0x26e2e7,0x14);})),Promise[_0x4ea634(0x2d2)](_0x4b9535)[_0x4ea634(0x1ec)](()=>{const _0x3af956=_0x4ea634;if(!this[_0x3af956(0x1e1)])return;this[_0x3af956(0x264)]();const _0xe28df4=this[_0x3af956(0x27f)](_0x3c9971,_0x3b035a);for(const _0x5b2568 of _0xe28df4[_0x3af956(0x274)])this[_0x3af956(0x222)][_0x3af956(0x235)](_0x5b2568['id'],_0x5b2568);this[_0x3af956(0x314)][_0x3af956(0x2fe)][_0x3af956(0x1d1)]({'isUndoable':!0x1},_0x116686=>{const _0x18f831=_0x3af956;for(const _0x1bbe22 of this[_0x18f831(0x314)][_0x18f831(0x2fe)][_0x18f831(0x276)][_0x18f831(0x255)]())_0x116686[_0x18f831(0x306)](_0x1bbe22);for(const _0x1eb597 of Object[_0x18f831(0x22c)](_0xe28df4[_0x18f831(0x2fe)])){const _0x4c3018=_0x116686[_0x18f831(0x2d4)](_0x1eb597);for(const _0x5661dc of Object[_0x18f831(0x22c)](_0xe28df4[_0x18f831(0x1e6)][_0x1eb597]))_0x116686[_0x18f831(0x254)](_0x5661dc,_0xe28df4[_0x18f831(0x1e6)][_0x1eb597][_0x5661dc],_0x4c3018);_0x116686[_0x18f831(0x2ae)](_0xe28df4[_0x18f831(0x2fe)][_0x1eb597],_0x4c3018,0x0);}}),this[_0x3af956(0x2bc)][_0x3af956(0x258)](this[_0x3af956(0x2a6)](_0xe28df4[_0x3af956(0x274)])),this[_0x3af956(0x2c4)]=!0x0;})[_0x4ea634(0x2ac)](_0x51fd1c=>{const _0x537bb2=_0x4ea634;console[_0x537bb2(0x1fe)](_0x51fd1c),this[_0x537bb2(0x264)](),_0x9631f&&(this[_0x537bb2(0x2bc)]=_0x9631f),this[_0x537bb2(0x2c4)]=!0x0;});}[_0xabc655(0x1e8)](_0x137704,_0x50f3bc){const _0x16f5c4=_0xabc655,_0x362f13=this[_0x16f5c4(0x31b)][_0x16f5c4(0x27a)](_0x137704);return _0x362f13['on'](_0x16f5c4(0x1ed),(_0x4f27ce,_0x2f3337,_0x19cf8e)=>_0x50f3bc(_0x2f3337,_0x19cf8e,_0x362f13)),this[_0x16f5c4(0x31b)][_0x16f5c4(0x283)](_0x362f13),_0x362f13;}[_0xabc655(0x296)](_0x281489){const _0x5b254d=_0xabc655;if(!_0x281489||_0x281489[_0x5b254d(0x1f9)])return Promise[_0x5b254d(0x317)]();{const _0x1186d3=this[_0x5b254d(0x314)][_0x5b254d(0x2db)][_0x5b254d(0x2b6)](_0x5b254d(0x2f9));return this[_0x5b254d(0x23e)][_0x5b254d(0x25c)]({'channelId':_0x1186d3,'revisionId':_0x281489['id']})[_0x5b254d(0x1ec)](_0x386b37=>{const _0x3ebb2e=_0x5b254d;_0x281489[_0x3ebb2e(0x1ed)]({'diffData':_0x386b37[_0x3ebb2e(0x1f9)]},!0x0);});}}[_0xabc655(0x264)](){const _0xca0112=_0xabc655;this[_0xca0112(0x2cc)]=null,this[_0xca0112(0x294)](),this[_0xca0112(0x2f2)]&&this[_0xca0112(0x2f2)][_0xca0112(0x2bb)](),this[_0xca0112(0x2f2)]=null,this[_0xca0112(0x222)][_0xca0112(0x2cf)](),this[_0xca0112(0x314)][_0xca0112(0x2fe)][_0xca0112(0x1d1)]({'isUndoable':!0x1},_0x59f575=>{const _0x7220f0=_0xca0112;for(const _0x3e61a3 of this[_0x7220f0(0x314)][_0x7220f0(0x2fe)][_0x7220f0(0x276)][_0x7220f0(0x255)]())_0x59f575[_0x7220f0(0x306)](_0x3e61a3);});}[_0xabc655(0x2a6)](_0x2e5e8d){const _0xa6d6b1=_0xabc655,_0x2a3758=[],_0x4dd918=new Map();for(const _0x19d9a7 of this[_0xa6d6b1(0x314)][_0xa6d6b1(0x2fe)][_0xa6d6b1(0x276)][_0xa6d6b1(0x255)]()){const _0x2b9a43=this[_0xa6d6b1(0x314)][_0xa6d6b1(0x2dc)][_0xa6d6b1(0x225)][_0xa6d6b1(0x20f)](_0x19d9a7);if(!_0x2b9a43)continue;const _0xb9f859=_0x2b9a43[_0xa6d6b1(0x1ef)]()[_0xa6d6b1(0x2e5)](0x0);_0xb9f859&&(_0x2a3758[_0xa6d6b1(0x273)](_0x19d9a7),_0x4dd918[_0xa6d6b1(0x235)](_0x19d9a7,_0xb9f859));}return _0x2a3758[_0xa6d6b1(0x249)]((_0x162146,_0x11ecb4)=>{const _0x86bfd1=_0xa6d6b1,_0xab2989=_0x4dd918[_0x86bfd1(0x2b6)](_0x162146),_0x4465a8=_0x4dd918[_0x86bfd1(0x2b6)](_0x11ecb4);return _0xab2989['y']-_0x4465a8['y']||_0xab2989['x']-_0x4465a8['x'];}),(_0x2e5e8d=_0x2e5e8d[_0xa6d6b1(0x2c5)](_0x49185=>_0x2a3758[_0xa6d6b1(0x1f0)](_0x49185[_0xa6d6b1(0x233)])))[_0xa6d6b1(0x249)]((_0x54e73d,_0x4a9ab3)=>_0x2a3758[_0xa6d6b1(0x1e7)](_0x54e73d[_0xa6d6b1(0x233)])-_0x2a3758[_0xa6d6b1(0x1e7)](_0x4a9ab3[_0xa6d6b1(0x233)])),_0x2e5e8d;}[_0xabc655(0x22b)](_0x36da06){const _0x101971=_0xabc655,_0x212f10=Array[_0x101971(0x2f5)](_0x36da06[_0x101971(0x1f8)])[_0x101971(0x2c5)](([_0xac7ca5,_0x2ce23b])=>_0xac7ca5[_0x101971(0x269)](_0x101971(0x2fa))&&!_0x2ce23b[_0x101971(0x313)]),_0x1157ff=Array[_0x101971(0x2f5)](this[_0x101971(0x314)][_0x101971(0x2fe)][_0x101971(0x200)](_0x36da06)[_0x101971(0x29b)]({'singleCharacters':!0x0}));if(0x0!=_0x212f10[_0x101971(0x24c)])for(const _0x481891 of _0x1157ff){const [_0x3a6325,_0x45e5f9]=_0x212f10[0x0],[,_0x21690b,_0xf855bc]=_0x3a6325[_0x101971(0x212)](':');if(_0x45e5f9[_0x101971(0x29c)][_0x101971(0x24d)](_0x481891[_0x101971(0x2af)])&&_0x212f10[_0x101971(0x2ff)](),(_0x481891[_0x101971(0x2c9)][_0x101971(0x24d)](_0x45e5f9[_0x101971(0x303)])||_0x481891[_0x101971(0x2c9)][_0x101971(0x270)](_0x45e5f9[_0x101971(0x303)]))&&(_0x101971(0x285)==_0x21690b?_0x481891[_0x101971(0x1d7)]={'userId':_0xf855bc}:_0x101971(0x289)==_0x21690b&&(_0x481891[_0x101971(0x2ea)]={'userId':_0xf855bc})),0x0==_0x212f10[_0x101971(0x24c)])break;}return _0x1157ff;}[_0xabc655(0x1f4)](_0x57bb66){const _0x2e4658=_0xabc655,_0xad8113=new Map();for(let _0x4575a5=0x0;_0x4575a5<_0x57bb66[_0x2e4658(0x24c)];_0x4575a5++)_0x2e4658(0x311)===_0x57bb66[_0x4575a5][_0x2e4658(0x262)]?(_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x29a)]=_0x4575a5,_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x23f)]=_0x4575a5):(_0x2e4658(0x204)===_0x57bb66[_0x4575a5][_0x2e4658(0x262)]?_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x29a)]=_0x4575a5:_0x2e4658(0x2a7)===_0x57bb66[_0x4575a5][_0x2e4658(0x262)]&&(_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x23f)]=_0x4575a5),_0xad8113[_0x2e4658(0x235)](_0x57bb66[_0x4575a5]['id'],_0x4575a5));for(const _0x216231 of _0xad8113[_0x2e4658(0x202)]())_0x2e4658(0x204)===_0x57bb66[_0x216231][_0x2e4658(0x262)]?_0x57bb66[_0x216231][_0x2e4658(0x2e5)][_0x2e4658(0x23f)]=_0xad8113[_0x2e4658(0x2b6)](_0x57bb66[_0x216231][_0x2e4658(0x25e)]):_0x2e4658(0x2a7)===_0x57bb66[_0x216231][_0x2e4658(0x262)]&&(_0x57bb66[_0x216231][_0x2e4658(0x2e5)][_0x2e4658(0x29a)]=_0xad8113[_0x2e4658(0x2b6)](_0x57bb66[_0x216231][_0x2e4658(0x25e)]));}[_0xabc655(0x26f)](_0x323385){const _0x36785c=_0xabc655;for(let _0x3dbd13=0x0;_0x3dbd13<_0x323385[_0x36785c(0x24c)];_0x3dbd13++){if(_0x36785c(0x204)===_0x323385[_0x3dbd13][_0x36785c(0x262)])_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x29a)]=_0x3dbd13;else{if(_0x36785c(0x2a7)===_0x323385[_0x3dbd13][_0x36785c(0x262)]){_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x23f)]=_0x3dbd13;const _0x3c8935=_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x29a)];_0x323385[_0x3c8935][_0x36785c(0x25e)]=_0x323385[_0x3dbd13]['id'],_0x323385[_0x3dbd13][_0x36785c(0x25e)]=_0x323385[_0x3c8935]['id'];}else _0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x29a)]=_0x3dbd13,_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x23f)]=_0x3dbd13,_0x323385[_0x3dbd13][_0x36785c(0x25e)]=null;}_0x323385[_0x3dbd13][_0x36785c(0x250)]||(_0x323385[_0x3dbd13][_0x36785c(0x250)]=[],_0x323385[_0x3dbd13][_0x36785c(0x248)]=[]);}}[_0xabc655(0x25a)](_0x440cb6,_0x3524de){const _0x4acb34=_0xabc655,_0x38ced1=_0x440cb6[_0x4acb34(0x2c5)](_0x4210fd=>!_0x4210fd[_0x4acb34(0x1d7)]);for(let _0x2a9dca=0x0;_0x2a9dca<_0x3524de[_0x4acb34(0x24c)];_0x2a9dca++)_0x3524de[_0x2a9dca][_0x4acb34(0x1d7)]&&(_0x38ced1[_0x2a9dca][_0x4acb34(0x1d7)]=_0x3524de[_0x2a9dca][_0x4acb34(0x1d7)]);}[_0xabc655(0x228)](_0x5a2daa){const _0x33fa29=_0xabc655,_0x45b619=JSON[_0x33fa29(0x312)](_0x5a2daa),_0x4ade0f=this[_0x33fa29(0x314)][_0x33fa29(0x2dc)][_0x33fa29(0x225)][_0x33fa29(0x276)],_0x1fdf8f=new _0x5cb1fe(_0x4ade0f,_0x45b619[_0x33fa29(0x234)](_0x4ae996=>this[_0x33fa29(0x1d5)](_0x4ae996)));return this[_0x33fa29(0x314)][_0x33fa29(0x2a3)][_0x33fa29(0x2be)](_0x1fdf8f);}[_0xabc655(0x1d5)](_0x1a961e){const _0xc51d00=_0xabc655,_0x2c1186=this[_0xc51d00(0x314)][_0xc51d00(0x2dc)][_0xc51d00(0x225)][_0xc51d00(0x276)];if(_0xc51d00(0x2e9)==typeof _0x1a961e)return new _0xcd65f2(_0x2c1186,_0x1a961e);{const _0x52a53c=_0x1a961e[_0xc51d00(0x22e)][_0xc51d00(0x234)](_0x48177=>this[_0xc51d00(0x1d5)](_0x48177));return new(tt[_0x1a961e[(_0xc51d00(0x262))]]||_0x3dc1a2)(_0x2c1186,_0x1a961e[_0xc51d00(0x1eb)],_0x1a961e[_0xc51d00(0x1e6)],_0x52a53c);}}[_0xabc655(0x27f)](_0x51d439,_0x27a717=null){const _0xf2348=_0xabc655,_0x2d7149=this[_0xf2348(0x31b)][_0xf2348(0x25c)](_0x51d439),_0x77cfe4=_0x27a717?this[_0xf2348(0x31b)][_0xf2348(0x25c)](_0x27a717):null,_0xc7b126=this[_0xf2348(0x2ab)](_0x2d7149,_0x77cfe4),_0x1abbf7=_0xc7b126[_0xc7b126[_0xf2348(0x24c)]-0x1],_0x232ec8=new Map(),_0x83e94={'model':{},'attributes':{},'changes':[]},_0x20949a=new Set(),_0x4400aa=new Map();for(let _0x53a387=_0xc7b126[_0xf2348(0x24c)]-0x1;_0x53a387>=0x0;_0x53a387--){const _0x42e889=_0xc7b126[_0x53a387];for(const _0x54555d of Object[_0xf2348(0x22c)](_0x42e889[_0xf2348(0x1f9)]))if(_0x42e889[_0xf2348(0x1f9)][_0x54555d][_0xf2348(0x295)]){const _0x4cd2a4=_0x42e889[_0xf2348(0x1f9)][_0x54555d][_0xf2348(0x295)];_0x4cd2a4[_0xf2348(0x2ec)]?(_0x20949a[_0xf2348(0x287)](_0x54555d),_0x4400aa[_0xf2348(0x256)](_0x54555d)&&_0x4400aa[_0xf2348(0x2b6)](_0x54555d)[_0xf2348(0x2de)]==_0x4cd2a4[_0xf2348(0x2de)]?_0x4400aa[_0xf2348(0x29e)](_0x54555d):_0x4400aa[_0xf2348(0x235)](_0x54555d,_0x4cd2a4)):_0x4400aa[_0xf2348(0x256)](_0x54555d)?(_0x20949a[_0xf2348(0x29e)](_0x54555d),_0x4400aa[_0xf2348(0x29e)](_0x54555d)):(_0x20949a[_0xf2348(0x287)](_0x54555d),_0x4400aa[_0xf2348(0x235)](_0x54555d,_0x4cd2a4));}else _0x20949a[_0xf2348(0x287)](_0x54555d);}for(const _0x216df5 of _0x20949a){const _0x343eef=_0x4400aa[_0xf2348(0x256)](_0x216df5)&&!_0x4400aa[_0xf2348(0x2b6)](_0x216df5)[_0xf2348(0x2ec)];let _0x9c2d3e=_0x343eef?_0xc7b126[_0xf2348(0x24c)]-0x1:0x0;const _0x14e77b=_0x343eef?-0x1:0x1;for(;_0xc7b126[_0x9c2d3e];){const _0x33989e=_0xc7b126[_0x9c2d3e];if(_0x33989e[_0xf2348(0x1f9)][_0x216df5]){const _0x150a86=_0x343eef?_0x33989e[_0xf2348(0x1f9)][_0x216df5][_0xf2348(0x2f8)]:_0x33989e[_0xf2348(0x1f9)][_0x216df5][_0xf2348(0x30c)];_0x83e94[_0xf2348(0x1e6)][_0x216df5]=_0x150a86?_0x8b526(_0x150a86):{};break;}_0x9c2d3e+=_0x14e77b;}}for(const _0x1f5902 of _0xc7b126){_0x1f5902[_0xf2348(0x2fe)]={};for(const _0x3af4fb of _0x1f5902[_0xf2348(0x214)])_0x232ec8[_0xf2348(0x235)](_0x3af4fb['id'],_0x3af4fb);for(const _0x399538 of _0x20949a){const _0x3aa02e=_0x1f5902[_0xf2348(0x1f9)][_0x399538]?_0x1f5902[_0xf2348(0x1f9)][_0x399538][_0xf2348(0x1fb)]:'[]',_0x274348=_0x1f5902[_0xf2348(0x1f9)][_0x399538]?_0x1f5902[_0xf2348(0x1f9)][_0x399538][_0xf2348(0x2cd)]:'[]';_0x1f5902[_0xf2348(0x2fe)][_0x399538]={'insertions':this[_0xf2348(0x228)](_0x3aa02e),'deletions':this[_0xf2348(0x228)](_0x274348)};}}for(const _0x16ec73 of _0x20949a){let _0xb713f3=null,_0x460445=0x0;const _0x1cdebc=new Map(Array[_0xf2348(0x2f5)](_0x2d7149[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x1fb)][_0xf2348(0x1f8)])[_0xf2348(0x2c5)](([_0x20f6ee])=>!_0x20f6ee[_0xf2348(0x269)](_0xf2348(0x2fa))));let _0x662b56=0x0;for(const _0x416d3b of _0xc7b126){const _0x50e8cb=this[_0xf2348(0x22b)](_0x416d3b[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x1fb)]);_0x416d3b==_0x2d7149?(_0xb713f3=_0x50e8cb,_0x460445=_0xb713f3[_0xf2348(0x24c)],_0xb713f3[_0xf2348(0x319)](_0x8ac58a=>{_0x8ac58a['id']=_0x662b56++;}),this[_0xf2348(0x26f)](_0xb713f3)):this[_0xf2348(0x25a)](_0xb713f3,_0x50e8cb);const _0x131b92=_0xb713f3[_0xf2348(0x2c5)](_0x56dd80=>!_0x56dd80[_0xf2348(0x1d7)])[_0xf2348(0x234)](_0x461f13=>_0x461f13['id']);let _0x53b0f5=0x0;const _0x528020=this[_0xf2348(0x22b)](_0x416d3b[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x2cd)]);_0x528020[_0xf2348(0x319)](_0x49c97d=>{const _0x464b9c=_0xf2348;_0x49c97d[_0x464b9c(0x2ea)]?_0x49c97d['id']=_0x460445++:_0x49c97d['id']=_0x131b92[_0x53b0f5++];}),this[_0xf2348(0x26f)](_0x528020),this[_0xf2348(0x29f)](_0xb713f3,_0xf2348(0x1d7)),this[_0xf2348(0x29f)](_0x528020,_0xf2348(0x2ea)),_0x416d3b==_0x2d7149&&this[_0xf2348(0x219)](_0xb713f3,_0x1cdebc),_0xb713f3=this[_0xf2348(0x304)](_0xb713f3,_0x528020),this[_0xf2348(0x1f4)](_0xb713f3),this[_0xf2348(0x29f)](_0xb713f3,_0xf2348(0x2ea));}_0xb713f3=_0xb713f3[_0xf2348(0x2c5)](_0x417b4b=>!(_0x417b4b[_0xf2348(0x1d7)]&&_0x417b4b[_0xf2348(0x2ea)]));const _0x264571=new Map(_0x1abbf7[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x2cd)][_0xf2348(0x1f8)]),_0x329a59=new Set(_0x1cdebc[_0xf2348(0x22c)]());for(const _0x47f232 of _0x264571[_0xf2348(0x22c)]())_0x329a59[_0xf2348(0x29e)](_0x47f232);this[_0xf2348(0x27e)](_0xb713f3,_0x329a59),this[_0xf2348(0x224)](_0xb713f3),_0xb713f3=this[_0xf2348(0x2f4)](_0xb713f3),_0xb713f3=this[_0xf2348(0x2ce)](_0xb713f3),_0xb713f3=this[_0xf2348(0x1da)](_0xb713f3);const {root:_0x502cac,changes:_0x370966}=this[_0xf2348(0x2b9)](_0xb713f3,_0x232ec8,_0x16ec73);_0x83e94[_0xf2348(0x2fe)][_0x16ec73]=_0x502cac;const _0x1e8d07=_0x4400aa[_0xf2348(0x2b6)](_0x16ec73);if(_0x1e8d07){const _0x59de90=_0x232ec8[_0xf2348(0x2b6)](_0x1e8d07[_0xf2348(0x2de)]),_0x4ac7ea=new _0x138614({'author':_0x59de90,'type':_0x1e8d07[_0xf2348(0x2ec)]?_0xf2348(0x287):_0xf2348(0x20a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x16ec73});_0x370966[_0xf2348(0x24a)](_0x4ac7ea),_0x83e94[_0xf2348(0x1e6)][_0x16ec73][_0xf2348(0x305)]=_0x4ac7ea['id'];}_0x83e94[_0xf2348(0x274)]=_0x83e94[_0xf2348(0x274)][_0xf2348(0x299)](_0x370966);}return _0x83e94;}[_0xabc655(0x219)](_0x437134,_0x10f8c4){const _0x2c86f4=_0xabc655;for(let _0x45494f=0x0;_0x45494f<_0x437134[_0x2c86f4(0x24c)];_0x45494f++)for(const [_0xc7d38,_0x506567]of _0x10f8c4)_0x506567[_0x2c86f4(0x303)][_0x2c86f4(0x24d)](_0x437134[_0x45494f][_0x2c86f4(0x2c9)])&&_0x437134[_0x45494f][_0x2c86f4(0x250)][_0x2c86f4(0x273)](_0xc7d38),_0x506567[_0x2c86f4(0x29c)][_0x2c86f4(0x24d)](_0x437134[_0x45494f][_0x2c86f4(0x2af)])&&_0x437134[_0x45494f][_0x2c86f4(0x248)][_0x2c86f4(0x273)](_0xc7d38);}[_0xabc655(0x304)](_0x31fea8,_0xdb563e){const _0x5a9c4e=_0xabc655;let _0x26d233=[],_0x387f0a=0x0,_0xc393f2=0x0;for(;_0x387f0a<_0x31fea8[_0x5a9c4e(0x24c)]||_0xc393f2<_0xdb563e[_0x5a9c4e(0x24c)];){const _0x226d31=_0x31fea8[_0x387f0a]||{},_0x5a562f=_0xdb563e[_0xc393f2]||{};if(_0x226d31['id']==_0x5a562f['id'])_0x387f0a++,_0xc393f2++,_0x26d233[_0x5a9c4e(0x273)](_0x226d31);else{if(_0x5a562f[_0x5a9c4e(0x2ea)]&&_0x226d31[_0x5a9c4e(0x1d7)]){const {commonTape:_0x504338,iEnd:_0x18a5b4,jEnd:_0x20f428}=this[_0x5a9c4e(0x2b4)](_0x31fea8,_0x387f0a,_0xdb563e,_0xc393f2);_0x26d233=_0x26d233[_0x5a9c4e(0x299)](_0x504338),_0x387f0a=_0x18a5b4,_0xc393f2=_0x20f428;}else _0x5a562f[_0x5a9c4e(0x2ea)]?(_0xc393f2++,_0x26d233[_0x5a9c4e(0x273)](_0x5a562f)):(_0x387f0a++,_0x26d233[_0x5a9c4e(0x273)](_0x226d31));}}return _0x26d233;}[_0xabc655(0x27e)](_0x1cb0b9,_0x23113c){const _0x734afa=_0xabc655,_0x1f9632=[];for(let _0x5e45b6=0x0;_0x5e45b6<_0x1cb0b9[_0x734afa(0x24c)];_0x5e45b6++){for(let _0x1e3f1c=0x0;_0x1e3f1c<_0x1cb0b9[_0x5e45b6][_0x734afa(0x250)][_0x734afa(0x24c)];_0x1e3f1c++){const _0x58cb59=_0x1cb0b9[_0x5e45b6][_0x734afa(0x250)][_0x1e3f1c];if(!_0x23113c[_0x734afa(0x256)](_0x58cb59))continue;const {group:_0x5bcbc1,type:_0x321996,authorId:_0x1e4ede}=_0x3cf021(_0x58cb59);_0x734afa(0x246)!=_0x5bcbc1||_0x734afa(0x285)!=_0x321996&&_0x734afa(0x289)!=_0x321996||(_0x1f9632[_0x734afa(0x24a)]({'type':_0x321996,'name':_0x58cb59,'userId':_0x1e4ede}),_0x1cb0b9[_0x5e45b6][_0x734afa(0x250)][_0x734afa(0x2b2)](_0x1e3f1c,0x1),_0x1e3f1c--);}_0x1303f8(_0x1cb0b9[_0x5e45b6]);for(let _0x44b7ab=0x0;_0x44b7ab<_0x1cb0b9[_0x5e45b6][_0x734afa(0x248)][_0x734afa(0x24c)];_0x44b7ab++){const _0x174af4=_0x1cb0b9[_0x5e45b6][_0x734afa(0x248)][_0x44b7ab];if(!_0x23113c[_0x734afa(0x256)](_0x174af4))continue;const {group:_0x540b5e,type:_0x41a694}=_0x3cf021(_0x174af4);if(_0x734afa(0x246)!=_0x540b5e||_0x734afa(0x285)!=_0x41a694&&_0x734afa(0x289)!=_0x41a694)continue;_0x1cb0b9[_0x5e45b6][_0x734afa(0x248)][_0x734afa(0x2b2)](_0x44b7ab,0x1),_0x44b7ab--;const _0x381e1e=_0x1f9632[_0x734afa(0x1e0)](_0x47a381=>_0x47a381[_0x734afa(0x1eb)]==_0x174af4);_0x381e1e>-0x1&&_0x1f9632[_0x734afa(0x2b2)](_0x381e1e,0x1);}}function _0x3cf021(_0x2b865a){const _0x406280=_0x734afa,_0x3e6cb7=_0x2b865a[_0x406280(0x212)](':');return{'group':_0x3e6cb7[0x0],'type':_0x3e6cb7[0x1],'subType':_0x3e6cb7[_0x406280(0x24c)]>=0x5?_0x3e6cb7[0x2]:null,'id':_0x3e6cb7[_0x406280(0x24c)]<0x5?_0x3e6cb7[0x2]:_0x3e6cb7[0x3],'authorId':_0x3e6cb7[_0x406280(0x24c)]<0x5?_0x3e6cb7[0x3]:_0x3e6cb7[0x4],'markerCount':0x6==_0x3e6cb7[_0x406280(0x24c)]?_0x3e6cb7[0x5]:null};}function _0x1303f8(_0x1a62a3){const _0x3133f1=_0x734afa;for(let _0x35af38=0x0;_0x35af38<_0x1f9632[_0x3133f1(0x24c)];_0x35af38++){if(_0x1a62a3[_0x3133f1(0x1d7)]&&_0x3133f1(0x285)==_0x1f9632[_0x35af38][_0x3133f1(0x262)])return _0x1a62a3[_0x3133f1(0x1dd)]=_0x1f9632[_0x35af38],void delete _0x1a62a3[_0x3133f1(0x1d7)];if(!_0x1a62a3[_0x3133f1(0x1d7)]&&!_0x1a62a3[_0x3133f1(0x2ea)]&&_0x3133f1(0x289)==_0x1f9632[_0x35af38][_0x3133f1(0x262)])return void(_0x1a62a3[_0x3133f1(0x2c6)]=_0x1f9632[_0x35af38]);}}}[_0xabc655(0x29f)](_0x319f34,_0x3c24b9){const _0x3364a3=_0xabc655;let _0x5488a6=0x0,_0x467580=!0x1;const _0x56e848=new Map();for(const _0x53c483 of _0x319f34)_0x53c483[_0x3c24b9]?_0x467580&&(_0x5488a6++,_0x467580=!0x1):(_0x5488a6++,_0x467580=!0x0),_0x56e848[_0x3364a3(0x235)](_0x53c483['id'],_0x5488a6);for(let _0x1ba7c1=0x0;_0x1ba7c1<_0x319f34[_0x3364a3(0x24c)];_0x1ba7c1++){if(_0x3364a3(0x2ea)==_0x3c24b9&&_0x319f34[_0x1ba7c1][_0x3364a3(0x1d7)]||_0x3364a3(0x1d7)==_0x3c24b9&&_0x319f34[_0x1ba7c1][_0x3364a3(0x2ea)])continue;if(_0x3364a3(0x311)==_0x319f34[_0x1ba7c1][_0x3364a3(0x262)]){_0x319f34[_0x1ba7c1][_0x3364a3(0x206)]=0x0;continue;}const _0x2e38f3=_0x56e848[_0x3364a3(0x2b6)](_0x319f34[_0x1ba7c1][_0x3364a3(0x25e)]),_0x5335b4=_0x56e848[_0x3364a3(0x2b6)](_0x319f34[_0x1ba7c1]['id']);_0x319f34[_0x1ba7c1][_0x3364a3(0x206)]=_0x2e38f3-_0x5335b4;}}[_0xabc655(0x2ab)](_0xb42f48,_0x5bf47a,_0x463218=!0x1){const _0x29586d=_0xabc655,_0x154f96=[];let _0x493a81=this[_0x29586d(0x31b)][_0x29586d(0x280)](_0xb42f48),_0x4c2e94=this[_0x29586d(0x31b)][_0x29586d(0x280)](_0x5bf47a);for(-0x1==_0x4c2e94&&(_0x4c2e94=this[_0x29586d(0x31b)][_0x29586d(0x1fa)][_0x29586d(0x24c)],_0x463218=!0x1);_0x493a81<_0x4c2e94;)_0x154f96[_0x29586d(0x273)](this[_0x29586d(0x31b)][_0x29586d(0x25c)](_0x493a81)),_0x493a81++;return _0x463218&&_0x154f96[_0x29586d(0x273)](this[_0x29586d(0x31b)][_0x29586d(0x25c)](_0x493a81)),_0x154f96;}[_0xabc655(0x2b4)](_0x6bfa85,_0x1e63f4,_0x497eec,_0x55a7fd){const _0x370f90=_0xabc655,_0x1cc90f=this[_0x370f90(0x314)][_0x370f90(0x2fe)][_0x370f90(0x27b)];let _0x1e84f4=_0x1e63f4;for(;_0x6bfa85[_0x1e84f4]&&_0x6bfa85[_0x1e84f4][_0x370f90(0x1d7)];)_0x1e84f4++;let _0x5ed0ab=_0x55a7fd;for(;_0x497eec[_0x5ed0ab]&&_0x497eec[_0x5ed0ab][_0x370f90(0x2ea)];)_0x5ed0ab++;_0x45486f(_0x6bfa85,_0x1e63f4,_0x1e84f4),_0x45486f(_0x497eec,_0x55a7fd,_0x5ed0ab);const _0x1002ee=_0x497eec[_0x370f90(0x284)](_0x55a7fd,_0x5ed0ab)[_0x370f90(0x299)](_0x6bfa85[_0x370f90(0x284)](_0x1e63f4,_0x1e84f4));return _0x1002ee[_0x370f90(0x249)]((_0x5e8be6,_0x3746fa)=>_0x5e8be6[_0x370f90(0x2ad)]!=_0x3746fa[_0x370f90(0x2ad)]?_0x5e8be6[_0x370f90(0x2ad)]-_0x3746fa[_0x370f90(0x2ad)]:_0x5e8be6[_0x370f90(0x1d2)]!=_0x3746fa[_0x370f90(0x1d2)]?_0x5e8be6[_0x370f90(0x1d2)]-_0x3746fa[_0x370f90(0x1d2)]:_0x5e8be6[_0x370f90(0x206)]!=_0x3746fa[_0x370f90(0x206)]?_0x3746fa[_0x370f90(0x206)]-_0x5e8be6[_0x370f90(0x206)]:!!_0x5e8be6[_0x370f90(0x1d7)]!=!!_0x3746fa[_0x370f90(0x1d7)]?-0x1==_0x5e8be6[_0x370f90(0x2ad)]||0x0==_0x5e8be6[_0x370f90(0x2ad)]?_0x5e8be6[_0x370f90(0x1d7)]?-0x1:0x1:_0x5e8be6[_0x370f90(0x1d7)]?0x1:-0x1:_0x5e8be6[_0x370f90(0x231)]-_0x3746fa[_0x370f90(0x231)]),{'commonTape':_0x1002ee,'iEnd':_0x1e84f4,'jEnd':_0x5ed0ab};function _0x45486f(_0x3dc40f,_0x58eac7,_0x33181b){const _0x4b7ace=_0x370f90;let _0x4f39a8=-0x1,_0x140813=Number[_0x4b7ace(0x2ee)],_0x5f509c=!0x0;for(let _0x3d7384=_0x58eac7;_0x3d7384<_0x33181b;_0x3d7384++)if(_0x1cc90f[_0x4b7ace(0x267)](_0x3dc40f[_0x3d7384][_0x4b7ace(0x2e5)])||(_0x5f509c=!0x1),_0x3dc40f[_0x3d7384][_0x4b7ace(0x2e5)][_0x4b7ace(0x29a)]<_0x58eac7&&(_0x4f39a8=_0x3d7384),_0x3dc40f[_0x3d7384][_0x4b7ace(0x2e5)][_0x4b7ace(0x23f)]>=_0x33181b){_0x140813=_0x3d7384;break;}_0x5f509c&&(_0x4f39a8=_0x33181b-0x1);for(let _0x2291da=_0x58eac7;_0x2291da<_0x33181b;_0x2291da++)_0x3dc40f[_0x2291da][_0x4b7ace(0x2ad)]=_0x2291da<=_0x4f39a8?-0x1:_0x2291da<_0x140813?0x0:0x1,_0x3dc40f[_0x2291da][_0x4b7ace(0x231)]=_0x2291da;let _0x382165=0x0;for(let _0x2b67fc=_0x58eac7;_0x2b67fc<=_0x4f39a8;_0x2b67fc++)0x0==_0x3dc40f[_0x2b67fc][_0x4b7ace(0x206)]?_0x3dc40f[_0x2b67fc][_0x4b7ace(0x1d2)]=_0x382165:(_0x382165++,_0x3dc40f[_0x2b67fc][_0x4b7ace(0x1d2)]=_0x382165,_0x382165++);for(let _0xfe5f49=_0x58eac7;_0xfe5f49<_0x33181b;_0xfe5f49++)0x0==_0x3dc40f[_0xfe5f49][_0x4b7ace(0x2ad)]&&(_0x3dc40f[_0xfe5f49][_0x4b7ace(0x1d2)]=_0x382165);_0x382165=0x0;for(let _0x534f29=_0x33181b-0x1;_0x534f29>=_0x140813;_0x534f29--)0x0==_0x3dc40f[_0x534f29][_0x4b7ace(0x206)]?_0x3dc40f[_0x534f29][_0x4b7ace(0x1d2)]=_0x382165:(_0x382165--,_0x3dc40f[_0x534f29][_0x4b7ace(0x1d2)]=_0x382165,_0x382165--);}}[_0xabc655(0x224)](_0x239e4c){const _0x3cb9c8=_0xabc655,_0x1ddc14=new Map(),_0x2fd217=this[_0x3cb9c8(0x314)][_0x3cb9c8(0x2fe)][_0x3cb9c8(0x27b)];for(let _0x3b4d8f=0x1;_0x3b4d8f<_0x239e4c[_0x3cb9c8(0x24c)];_0x3b4d8f++){let _0x8e82e3,_0x36c336,_0x453c55;const _0x26fec3=_0x239e4c[_0x3b4d8f],_0x5b57e7=_0x239e4c[_0x3b4d8f-0x1];if(_0x3cb9c8(0x311)==_0x26fec3[_0x3cb9c8(0x262)])continue;if(_0x26fec3[_0x3cb9c8(0x262)]!=_0x5b57e7[_0x3cb9c8(0x262)])continue;if(!_0x2fd217[_0x3cb9c8(0x1d3)](_0x5b57e7[_0x3cb9c8(0x2e5)])||_0x2fd217[_0x3cb9c8(0x28b)](_0x5b57e7[_0x3cb9c8(0x2e5)]))continue;if(!_0x2fd217[_0x3cb9c8(0x1d3)](_0x26fec3[_0x3cb9c8(0x2e5)])||_0x2fd217[_0x3cb9c8(0x28b)](_0x26fec3[_0x3cb9c8(0x2e5)]))continue;if((_0x239e4c[_0x3b4d8f][_0x3cb9c8(0x1d7)]||_0x239e4c[_0x3b4d8f][_0x3cb9c8(0x1dd)])&&_0x239e4c[_0x3b4d8f-0x1][_0x3cb9c8(0x2ea)])_0x8e82e3=_0x239e4c[_0x3b4d8f],_0x36c336=_0x239e4c[_0x3b4d8f-0x1],_0x453c55=_0x3b4d8f-0x1;else{if(!_0x239e4c[_0x3b4d8f][_0x3cb9c8(0x2ea)]||!_0x239e4c[_0x3b4d8f-0x1][_0x3cb9c8(0x1d7)]&&!_0x239e4c[_0x3b4d8f-0x1][_0x3cb9c8(0x1dd)])continue;_0x8e82e3=_0x239e4c[_0x3b4d8f-0x1],_0x36c336=_0x239e4c[_0x3b4d8f],_0x453c55=_0x3b4d8f;}const _0x4e051a=_0x8e82e3[_0x3cb9c8(0x1d2)]==_0x36c336[_0x3cb9c8(0x1d2)],_0xc0a648=Math[_0x3cb9c8(0x221)](_0x8e82e3[_0x3cb9c8(0x1d2)])<Math[_0x3cb9c8(0x221)](_0x36c336[_0x3cb9c8(0x1d2)])&&0x0==_0x36c336[_0x3cb9c8(0x206)];(_0x4e051a||_0xc0a648)&&(_0x1ddc14[_0x3cb9c8(0x235)](_0x36c336['id'],_0x8e82e3['id']),_0x239e4c[_0x3cb9c8(0x2b2)](_0x453c55,0x1),_0x3b4d8f--,_0x8e82e3[_0x3cb9c8(0x1d7)]=!0x1);}for(let _0x2b9d94=0x0;_0x2b9d94<_0x239e4c[_0x3cb9c8(0x24c)];_0x2b9d94++)_0x1ddc14[_0x3cb9c8(0x256)](_0x239e4c[_0x2b9d94][_0x3cb9c8(0x25e)])&&(_0x239e4c[_0x2b9d94][_0x3cb9c8(0x25e)]=_0x1ddc14[_0x3cb9c8(0x2b6)](_0x239e4c[_0x2b9d94][_0x3cb9c8(0x25e)]));}[_0xabc655(0x2f4)](_0x1975c2){const _0xeac98b=_0xabc655,_0xf5250c=new Set(_0x1975c2[_0xeac98b(0x234)](_0x53a68f=>_0x53a68f['id']));for(let _0x4acee2=0x0;_0x4acee2<_0x1975c2[_0xeac98b(0x24c)];_0x4acee2++)_0xf5250c[_0xeac98b(0x256)](_0x1975c2[_0x4acee2][_0xeac98b(0x25e)])||0x0==_0x1975c2[_0x4acee2][_0xeac98b(0x206)]||(_0x1975c2[_0x4acee2][_0xeac98b(0x291)]=!0x0);return _0x1975c2[_0xeac98b(0x2c5)](_0x83abfc=>!_0x83abfc[_0xeac98b(0x291)]);}[_0xabc655(0x2ce)](_0x4c77c4){const _0x5700ef=_0xabc655,_0x122b68=new Set();for(let _0x409d0f=0x0;_0x409d0f<_0x4c77c4[_0x5700ef(0x24c)];_0x409d0f++){if(_0x122b68[_0x5700ef(0x256)](_0x4c77c4[_0x409d0f]['id'])&&_0x4c77c4[_0x409d0f][_0x5700ef(0x2ea)]&&(_0x4c77c4[_0x409d0f][_0x5700ef(0x291)]=!0x0),_0x4c77c4[_0x409d0f][_0x5700ef(0x291)])continue;if(0x0==_0x4c77c4[_0x409d0f][_0x5700ef(0x206)])continue;if(_0x5700ef(0x204)!=_0x4c77c4[_0x409d0f][_0x5700ef(0x262)])continue;if(null==_0x4c77c4[_0x409d0f][_0x5700ef(0x25e)])continue;let _0x10df03=_0x409d0f+0x1,_0x494a2f=0x0;for(;_0x4c77c4[_0x10df03]['id']!=_0x4c77c4[_0x409d0f][_0x5700ef(0x25e)];)_0x5700ef(0x204)==_0x4c77c4[_0x10df03][_0x5700ef(0x262)]?_0x494a2f++:_0x5700ef(0x2a7)==_0x4c77c4[_0x10df03][_0x5700ef(0x262)]&&_0x494a2f--,_0x10df03++;if(0x0!=_0x494a2f){if(_0x4c77c4[_0x409d0f][_0x5700ef(0x2ea)])_0x4c77c4[_0x409d0f][_0x5700ef(0x291)]=!0x0;else{for(;_0x10df03!=_0x409d0f;)_0x4c77c4[_0x10df03][_0x5700ef(0x2ea)]&&0x0!=_0x4c77c4[_0x10df03][_0x5700ef(0x206)]&&(_0x4c77c4[_0x10df03][_0x5700ef(0x291)]=!0x0,_0x122b68[_0x5700ef(0x287)](_0x4c77c4[_0x10df03][_0x5700ef(0x25e)])),_0x10df03--;}}}return _0x4c77c4[_0x5700ef(0x2c5)](_0x5588e2=>!_0x5588e2[_0x5700ef(0x291)]);}[_0xabc655(0x1da)](_0x610720){const _0x41b339=_0xabc655,_0x307107=this[_0x41b339(0x314)][_0x41b339(0x2fe)][_0x41b339(0x27b)];for(let _0x32f7fa=0x0;_0x32f7fa<_0x610720[_0x41b339(0x24c)];_0x32f7fa++){if(!(_0x610720[_0x32f7fa][_0x41b339(0x1d7)]||_0x610720[_0x32f7fa][_0x41b339(0x1dd)]||_0x610720[_0x32f7fa][_0x41b339(0x2ea)]||_0x610720[_0x32f7fa][_0x41b339(0x2c6)]))continue;if(0x0==_0x610720[_0x32f7fa][_0x41b339(0x206)])continue;const _0x3d4da8=_0x610720[_0x32f7fa][_0x41b339(0x2e5)];_0x307107[_0x41b339(0x1d3)](_0x3d4da8)||_0x307107[_0x41b339(0x28b)](_0x3d4da8)||(_0x610720[_0x32f7fa][_0x41b339(0x1d7)]&&delete _0x610720[_0x32f7fa][_0x41b339(0x1d7)],_0x610720[_0x32f7fa][_0x41b339(0x1dd)]&&delete _0x610720[_0x32f7fa][_0x41b339(0x1dd)],_0x610720[_0x32f7fa][_0x41b339(0x2c6)]&&delete _0x610720[_0x32f7fa][_0x41b339(0x2c6)],_0x610720[_0x32f7fa][_0x41b339(0x2ea)]&&(_0x610720[_0x32f7fa][_0x41b339(0x291)]=!0x0));}return _0x610720[_0x41b339(0x2c5)](_0x5c8c1e=>!_0x5c8c1e[_0x41b339(0x291)]);}[_0xabc655(0x2b9)](_0x414a8d,_0x4eb30e,_0x32ceb6){const _0x4931e4=_0xabc655,_0x4f2a71=new _0x46547b(),_0x4ef441=[],_0x1d55b2=new Map(),_0x47015c=this[_0x4931e4(0x314)][_0x4931e4(0x2fe)],_0x547f22=_0x47015c[_0x4931e4(0x27b)],_0x40a89e=[_0x4f2a71],_0x3f8663={},_0x49cc50={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x39b74f=null;const _0x39ab58=[0x0];for(let _0x12a5cf=0x0;_0x12a5cf<_0x414a8d[_0x4931e4(0x24c)];_0x12a5cf++){let _0x5bfe08,_0x5139f5;if(_0x4931e4(0x204)===_0x414a8d[_0x12a5cf][_0x4931e4(0x262)]){_0x5bfe08=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58);const _0x32b546=new _0x5f317d(_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1eb)],_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1fc)]());_0x40a89e[0x0][_0x4931e4(0x259)](_0x32b546),_0x39ab58[_0x4931e4(0x273)](0x0),_0x40a89e[_0x4931e4(0x24a)](_0x32b546),_0x5139f5=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39b74f=null;}else{if(_0x4931e4(0x2a7)===_0x414a8d[_0x12a5cf][_0x4931e4(0x262)])_0x40a89e[_0x4931e4(0x2ff)](),_0x5bfe08=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39ab58[_0x4931e4(0x1e2)](),_0x39ab58[_0x39ab58[_0x4931e4(0x24c)]-0x1]++,_0x5139f5=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39b74f=null;else{if(_0x5bfe08=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39b74f&&_0x2d7066(_0x39b74f,_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)]))_0x39b74f[_0x4931e4(0x24b)]+=_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x2a3)];else{const _0x42911c=new _0x51d042(_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x2a3)],_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1fc)]());_0x40a89e[0x0][_0x4931e4(0x259)](_0x42911c),_0x39b74f=_0x42911c;}_0x39ab58[_0x39ab58[_0x4931e4(0x24c)]-0x1]+=_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1d8)],_0x5139f5=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58);}}for(const _0x2f6563 of _0x414a8d[_0x12a5cf][_0x4931e4(0x250)])_0x1d55b2[_0x4931e4(0x235)](_0x2f6563,{'start':_0x5bfe08,'end':null});_0xb14479(_0x4931e4(0x2c6),_0x12a5cf,_0x5bfe08,_0x5139f5),_0xb14479(_0x4931e4(0x1dd),_0x12a5cf,_0x5bfe08,_0x5139f5),_0xb14479(_0x4931e4(0x2ea),_0x12a5cf,_0x5bfe08,_0x5139f5),_0xb14479(_0x4931e4(0x1d7),_0x12a5cf,_0x5bfe08,_0x5139f5);for(const _0x5391f1 of _0x414a8d[_0x12a5cf][_0x4931e4(0x248)]){_0x1d55b2[_0x4931e4(0x2b6)](_0x5391f1)[_0x4931e4(0x29c)]=_0x5139f5;}}for(const [_0x1fdc19,_0x231cae]of _0x1d55b2){const _0x13312d=this[_0x4931e4(0x314)][_0x4931e4(0x2fe)][_0x4931e4(0x30e)](_0x231cae[_0x4931e4(0x303)],_0x231cae[_0x4931e4(0x29c)]);_0x4f2a71[_0x4931e4(0x1f8)][_0x4931e4(0x235)](_0x1fdc19,_0x13312d);}return _0x4ef441[_0x4931e4(0x249)]((_0x3f32b7,_0x3151c2)=>{const _0x2be492=_0x4931e4,_0x197cdb=_0x4f2a71[_0x2be492(0x1f8)][_0x2be492(0x2b6)](_0x2be492(0x2fa)+_0x3f32b7['id']),_0x3b45cf=_0x4f2a71[_0x2be492(0x1f8)][_0x2be492(0x2b6)](_0x2be492(0x2fa)+_0x3151c2['id']);return _0x197cdb[_0x2be492(0x303)][_0x2be492(0x30a)](_0x3b45cf[_0x2be492(0x303)])?-0x1:_0x197cdb[_0x2be492(0x303)][_0x2be492(0x270)](_0x3b45cf[_0x2be492(0x303)])?0x1:_0x197cdb[_0x2be492(0x29c)][_0x2be492(0x30a)](_0x3b45cf[_0x2be492(0x29c)])?-0x1:_0x197cdb[_0x2be492(0x29c)][_0x2be492(0x270)](_0x3b45cf[_0x2be492(0x29c)])?0x1:_0x2be492(0x287)===_0x3f32b7[_0x2be492(0x262)]?-0x1:0x1;}),{'root':_0x4f2a71,'changes':_0x4ef441};function _0xb14479(_0x5e2318,_0x420d4c,_0x1aaeec,_0x101e09){const _0xb686b1=_0x4931e4,_0x1aa1f2=!!_0x414a8d[_0x420d4c][_0x5e2318],_0x30b940=_0x1aa1f2?_0x414a8d[_0x420d4c][_0x5e2318][_0xb686b1(0x2de)]:null,_0x876bec=_0x420d4c===_0x414a8d[_0xb686b1(0x24c)]-0x1,_0x2718b4=_0x49cc50[_0x5e2318][0x0],_0x5e3405=_0x547f22[_0xb686b1(0x229)](_0x414a8d[_0x420d4c][_0xb686b1(0x2e5)]);!_0x3f8663[_0x5e2318]&&_0x1aa1f2?_0x3f8663[_0x5e2318]={'start':_0x1aaeec,'tapeItem':_0x414a8d[_0x420d4c],'userId':_0x30b940,'type':_0x5e2318}:_0x3f8663[_0x5e2318]&&!_0x1aa1f2?(_0x3f8663[_0x5e2318][_0xb686b1(0x29c)]=_0x1aaeec,_0x567cd3(_0x3f8663[_0x5e2318]),_0x3f8663[_0x5e2318]=null):_0x3f8663[_0x5e2318]&&_0x1aa1f2&&_0x3f8663[_0x5e2318][_0xb686b1(0x2de)]!==_0x30b940&&(_0x3f8663[_0x5e2318][_0xb686b1(0x29c)]=_0x1aaeec,_0x2718b4&&_0x2718b4[_0xb686b1(0x2de)]===_0x3f8663[_0x5e2318][_0xb686b1(0x2de)]||_0x567cd3(_0x3f8663[_0x5e2318]),_0x3f8663[_0x5e2318]={'start':_0x1aaeec,'tapeItem':_0x414a8d[_0x420d4c],'userId':_0x30b940,'type':_0x5e2318}),_0x3f8663[_0x5e2318]&&_0x5e3405&&(_0xb686b1(0x204)!==_0x414a8d[_0x420d4c][_0xb686b1(0x262)]||_0x2718b4&&_0x2718b4[_0xb686b1(0x2de)]===_0x30b940||_0x49cc50[_0x5e2318][_0xb686b1(0x24a)]({'userId':_0x30b940,'object':_0x414a8d[_0x420d4c][_0xb686b1(0x2e5)],'change':_0x3f8663[_0x5e2318]}),_0xb686b1(0x2a7)===_0x414a8d[_0x420d4c][_0xb686b1(0x262)]&&_0x2718b4&&_0x2718b4[_0xb686b1(0x1f1)]===_0x414a8d[_0x420d4c][_0xb686b1(0x2e5)]&&(_0x49cc50[_0x5e2318][_0xb686b1(0x2ff)](),_0x3f8663[_0x5e2318]=_0x2718b4[_0xb686b1(0x1f2)])),_0x3f8663[_0x5e2318]&&_0x876bec&&(_0x3f8663[_0x5e2318][_0xb686b1(0x29c)]=_0x101e09,_0x567cd3(_0x3f8663[_0x5e2318]),_0x3f8663[_0x5e2318]=null);}function _0x567cd3({start:_0x32b03c,end:_0x332361,tapeItem:_0x4cc1dc,userId:_0x374e28,type:_0x3a2aad}){const _0x123fd0=_0x4931e4,_0x3dbf01=_0x4cc1dc[_0x123fd0(0x2e5)],_0x1bad44=_0x47015c[_0x123fd0(0x27b)][_0x123fd0(0x1d3)](_0x3dbf01)&&!_0x47015c[_0x123fd0(0x27b)][_0x123fd0(0x28b)](_0x3dbf01),_0x68224=_0x32b03c[_0x123fd0(0x2ed)]==_0x332361[_0x123fd0(0x2e7)]&&_0x332361[_0x123fd0(0x216)];if(_0x1bad44&&_0x68224)return;const _0x2f4bc9=_0x47015c[_0x123fd0(0x30e)](_0x32b03c,_0x332361),_0x34d32d=_0x4eb30e[_0x123fd0(0x2b6)](_0x374e28),_0x5e0798=new _0x138614({'author':_0x34d32d,'type':_0x123fd0(0x1d7)==_0x3a2aad||_0x123fd0(0x1dd)==_0x3a2aad?_0x123fd0(0x287):_0x123fd0(0x20a),'data':{'isSuggestion':_0x123fd0(0x1dd)==_0x3a2aad||_0x123fd0(0x2c6)==_0x3a2aad},'createdAt':new Date(),'rootName':_0x32ceb6});_0x4ef441[_0x123fd0(0x273)](_0x5e0798),_0x4f2a71[_0x123fd0(0x1f8)][_0x123fd0(0x235)](_0x123fd0(0x2fa)+_0x5e0798['id'],_0x2f4bc9);}function _0x2d7066(_0x28a0c7,_0x3a8e1e){const _0x219489=_0x4931e4,_0x1e3c99=_0x28a0c7[_0x219489(0x1fc)](),_0x3f9688=_0x3a8e1e[_0x219489(0x1fc)]();for(const _0x4204ed of _0x1e3c99){if(_0x4204ed[0x1]!==_0x3a8e1e[_0x219489(0x279)](_0x4204ed[0x0]))return!0x1;_0x3f9688[_0x219489(0x30b)]();}return _0x3f9688[_0x219489(0x30b)]()[_0x219489(0x302)];}}[_0xabc655(0x208)](){const _0x5b8f90=_0xabc655;this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x266)]({'view':_0x5b8f90(0x2d6)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2dd))[_0x5b8f90(0x2e3)]({'model':_0x5b8f90(0x2d6),'view':_0x21078d=>{const _0x4e5498=_0x5b8f90,_0x381b0d=_0x21078d[_0x4e5498(0x28f)][_0x4e5498(0x212)](':')[0x1],_0x23f1de=this[_0x4e5498(0x251)](_0x381b0d);if(!_0x23f1de)return null;const _0x4cd78d=_0x4e5498(0x287)==_0x23f1de[_0x4e5498(0x262)]?_0x4e5498(0x285):_0x4e5498(0x289),_0xc5deca=[_0x4e5498(0x2c7),_0x4e5498(0x28a)+_0x4cd78d];return _0x23f1de[_0x4e5498(0x2a3)][_0x4e5498(0x220)]&&_0xc5deca[_0x4e5498(0x273)](_0x4e5498(0x28a)+_0x4cd78d+_0x4e5498(0x2f3)),this[_0x4e5498(0x2cc)]==_0x23f1de&&_0xc5deca[_0x4e5498(0x273)](_0x4e5498(0x2e8)),{'classes':_0xc5deca,'attributes':{'data-change-id':_0x381b0d}};}}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x287)](_0x248c02=>{const _0x24d089=_0x5b8f90;_0x248c02['on'](_0x24d089(0x242),(_0x3232cb,_0x4dae3e,_0x5ed666)=>{const _0x4c25e5=_0x24d089,_0x1e8893=_0x4dae3e[_0x4c25e5(0x207)][_0x4c25e5(0x28c)](0x0);if(!_0x1e8893||!_0x1e8893['is'](_0x4c25e5(0x2a1),_0x4c25e5(0x2e1)))return;if(!_0x5ed666[_0x4c25e5(0x209)][_0x4c25e5(0x245)](_0x1e8893,{'attributes':[_0x4c25e5(0x28e),_0x4c25e5(0x315)]}))return;const _0x2ccad9=_0x4dae3e[_0x4c25e5(0x2a2)][_0x4c25e5(0x303)][_0x4c25e5(0x2ed)];_0x5ed666[_0x4c25e5(0x1ea)][_0x4c25e5(0x254)](_0x4c25e5(0x28e),_0x1e8893[_0x4c25e5(0x279)](_0x4c25e5(0x28e)),_0x2ccad9),_0x5ed666[_0x4c25e5(0x1ea)][_0x4c25e5(0x254)](_0x4c25e5(0x315),_0x1e8893[_0x4c25e5(0x279)](_0x4c25e5(0x315)),_0x2ccad9);},{'priority':_0x24d089(0x308)});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x287)](_0x59e6b2=>{const _0x4acbde=_0x5b8f90;_0x59e6b2['on'](_0x4acbde(0x2a1),(_0x4b0627,_0x121245,_0x46fd9d)=>{const _0x3c2009=_0x4acbde;if(!_0x46fd9d[_0x3c2009(0x209)][_0x3c2009(0x245)](_0x121245[_0x3c2009(0x207)],{'attributes':[_0x3c2009(0x28e),_0x3c2009(0x315)]}))return;if(_0x121245[_0x3c2009(0x2a2)][_0x3c2009(0x313)])return;const _0x571aec=_0x121245[_0x3c2009(0x2a2)][_0x3c2009(0x303)][_0x3c2009(0x2ed)];_0x571aec[_0x3c2009(0x290)](_0x3c2009(0x28e))||_0x571aec[_0x3c2009(0x290)](_0x3c2009(0x240))||(_0x46fd9d[_0x3c2009(0x1ea)][_0x3c2009(0x254)](_0x3c2009(0x28e),_0x121245[_0x3c2009(0x207)][_0x3c2009(0x279)](_0x3c2009(0x28e)),_0x571aec),_0x46fd9d[_0x3c2009(0x1ea)][_0x3c2009(0x254)](_0x3c2009(0x315),_0x121245[_0x3c2009(0x207)][_0x3c2009(0x279)](_0x3c2009(0x315)),_0x571aec));},{'priority':_0x4acbde(0x308)});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x1d0)]({'view':{'name':_0x5b8f90(0x1e4),'attributes':{'vid':!0x0}},'model':{'key':_0x5b8f90(0x240),'value':_0xbf9ce6=>_0xbf9ce6[_0x5b8f90(0x279)](_0x5b8f90(0x240))}}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2fe)][_0x5b8f90(0x27b)]['on'](_0x5b8f90(0x282),(_0x349d45,[,_0x37fc0c])=>{const _0x116a3a=_0x5b8f90;[_0x116a3a(0x28e),_0x116a3a(0x315),_0x116a3a(0x240)][_0x116a3a(0x1f0)](_0x37fc0c)&&(_0x349d45[_0x116a3a(0x30f)]=!0x0,_0x349d45[_0x116a3a(0x203)]());},{'priority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2b0))[_0x5b8f90(0x287)](_0xac8627=>{const _0x5657a8=_0x5b8f90;_0xac8627['on'](_0x5657a8(0x1dc),(_0x160ae0,_0x384a0b,_0x5b53df)=>{const _0x243222=_0x5657a8;if('\x20'!=_0x384a0b[_0x243222(0x2e5)][_0x243222(0x2a3)]||_0x384a0b[_0x243222(0x2e5)][_0x243222(0x2e7)][_0x243222(0x2a9)]>0x1)return;if(!_0x5b53df[_0x243222(0x209)][_0x243222(0x245)](_0x384a0b[_0x243222(0x2e5)],_0x160ae0[_0x243222(0x1eb)]))return;const _0x40a621=_0x5b53df[_0x243222(0x1ea)],_0x4272a0=_0x5b53df[_0x243222(0x265)][_0x243222(0x1f7)](_0x384a0b[_0x243222(0x237)]);_0x40a621[_0x243222(0x230)](_0x4272a0,_0x40a621[_0x243222(0x2cb)](_0x243222(0x1e4)));});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2b0))[_0x5b8f90(0x292)]({'model':_0x5b8f90(0x2d6)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x23a),function(_0x36e5ec){const _0x378dc8=_0x5b8f90,_0x2815bd=_0x36e5ec[_0x378dc8(0x239)][_0x378dc8(0x2b6)](_0x378dc8(0x275));return(_0x24d1e2,_0x49dc05,_0x248d6b)=>{const _0x15bc61=_0x378dc8,_0x4377ec=_0x49dc05[_0x15bc61(0x28f)][_0x15bc61(0x212)](':')[0x1],_0x121d75=_0x2815bd[_0x15bc61(0x251)](_0x4377ec);if(!_0x121d75)return null;const _0x36e5ed=_0x15bc61(0x287)==_0x121d75[_0x15bc61(0x262)]?_0x15bc61(0x212):_0x15bc61(0x2d8);if(!_0x248d6b[_0x15bc61(0x209)][_0x15bc61(0x1df)](_0x49dc05[_0x15bc61(0x31c)],_0x24d1e2[_0x15bc61(0x1eb)]))return;const _0x2ace79=_0x49dc05[_0x15bc61(0x31c)][_0x15bc61(0x29b)](),_0x2c74f9=_0x49dc05[_0x15bc61(0x31c)][_0x15bc61(0x303)],_0x1cf72d=_0x36e5ec[_0x15bc61(0x2fe)][_0x15bc61(0x27b)];let _0x3237a6=null,_0x296640=null,_0x14c779=!0x1,_0x569baf=!0x1;for(const _0x215794 of _0x2ace79){const _0x1e9ff3=_0x215794[_0x15bc61(0x2e5)];_0x14c779=_0x14c779||_0x1cf72d[_0x15bc61(0x21c)](_0x1e9ff3);const _0x311553=_0x248d6b[_0x15bc61(0x265)][_0x15bc61(0x2df)](_0x1e9ff3);if(_0x311553&&_0x311553[_0x15bc61(0x20e)](_0x15bc61(0x2c8)))return;_0x15bc61(0x2a7)==_0x215794[_0x15bc61(0x262)]&&(_0x1cf72d[_0x15bc61(0x1d3)](_0x1e9ff3)&&!_0x1cf72d[_0x15bc61(0x28b)](_0x1e9ff3)&&(_0x1e9ff3[_0x15bc61(0x2b3)]||_0x2c74f9[_0x15bc61(0x2d5)]?_0x3237a6&&_0x3237a6[_0x15bc61(0x2e7)]==_0x1e9ff3||(_0x3237a6=_0x1e9ff3,_0x35a84f(_0x215794[_0x15bc61(0x2c9)]),_0x569baf=!0x0):_0x296640=_0x296640||_0x215794[_0x15bc61(0x2c9)]));}function _0x35a84f(_0x6fe653){const _0x318b8e=_0x15bc61,_0x442e78=_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x2c3)](_0x318b8e(0x1e4),{'class':_0x318b8e(0x28a)+_0x36e5ed}),_0x49fbcd=_0x248d6b[_0x318b8e(0x265)][_0x318b8e(0x23d)](_0x6fe653);_0x121d75[_0x318b8e(0x2a3)][_0x318b8e(0x220)]&&_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x26d)](_0x318b8e(0x28a)+_0x36e5ed+_0x318b8e(0x2f3),_0x442e78),_0x2815bd[_0x318b8e(0x2cc)]==_0x121d75&&_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x26d)](_0x318b8e(0x2e8),_0x442e78),_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x2ae)](_0x49fbcd,_0x442e78),_0x248d6b[_0x318b8e(0x265)][_0x318b8e(0x263)](_0x442e78,_0x49dc05[_0x318b8e(0x28f)]);}_0x14c779||_0x569baf||!_0x296640||_0x35a84f(_0x296640);};}(this[_0x5b8f90(0x314)]),{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x2d1),(_0x132027,_0x4d2d86,_0x2826ad)=>{const _0x23fa30=_0x5b8f90,_0x551114=_0x2826ad[_0x23fa30(0x265)][_0x23fa30(0x268)](_0x4d2d86[_0x23fa30(0x28f)]);if(_0x551114){for(const _0x5ea42b of _0x551114)(_0x5ea42b[_0x23fa30(0x21e)](_0x23fa30(0x271))||_0x5ea42b[_0x23fa30(0x21e)](_0x23fa30(0x244)))&&(_0x2826ad[_0x23fa30(0x265)][_0x23fa30(0x2f7)](_0x5ea42b,_0x4d2d86[_0x23fa30(0x28f)]),_0x2826ad[_0x23fa30(0x1ea)][_0x23fa30(0x20a)](_0x5ea42b));}},{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x23a),(_0x41b8e7,_0x233b0f,_0x30d385)=>{const _0x79d1fc=_0x5b8f90,_0x4cfd38=_0x233b0f[_0x79d1fc(0x28f)][_0x79d1fc(0x212)](':')[0x1],_0x3a2f01=this[_0x79d1fc(0x251)](_0x4cfd38);if(!_0x3a2f01)return null;const _0x1dd49f=_0x79d1fc(0x287)==_0x3a2f01[_0x79d1fc(0x262)]?_0x79d1fc(0x212):_0x79d1fc(0x2d8);if(_0x30d385[_0x79d1fc(0x209)][_0x79d1fc(0x1df)](_0x233b0f[_0x79d1fc(0x31c)],_0x41b8e7[_0x79d1fc(0x1eb)]))for(const _0x142b8a of _0x233b0f[_0x79d1fc(0x31c)][_0x79d1fc(0x2c2)]()){if(!_0x142b8a['is'](_0x79d1fc(0x2a1),_0x79d1fc(0x2f6)))continue;const _0x2caa38=_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x2c3)](_0x79d1fc(0x1e4),{'class':_0x79d1fc(0x28a)+_0x1dd49f}),_0xc478be=_0x30d385[_0x79d1fc(0x265)][_0x79d1fc(0x23d)](this[_0x79d1fc(0x314)][_0x79d1fc(0x2fe)][_0x79d1fc(0x2e4)](_0x142b8a));_0x3a2f01[_0x79d1fc(0x2a3)][_0x79d1fc(0x220)]&&_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x26d)](_0x79d1fc(0x28a)+_0x1dd49f+_0x79d1fc(0x2f3),_0x2caa38),this[_0x79d1fc(0x2cc)]==_0x3a2f01&&_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x26d)](_0x79d1fc(0x2e8),_0x2caa38),_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x2ae)](_0xc478be,_0x2caa38),_0x30d385[_0x79d1fc(0x265)][_0x79d1fc(0x263)](_0x2caa38,_0x233b0f[_0x79d1fc(0x28f)]);}},{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2fe)][_0x5b8f90(0x276)]['on'](_0x5b8f90(0x1f2),()=>{const _0x26b68e=_0x5b8f90;this[_0x26b68e(0x314)][_0x26b68e(0x2dc)][_0x26b68e(0x225)][_0x26b68e(0x1f2)](_0x5bccff=>{const _0x3c3d76=_0x26b68e;for(const _0xe340ab of this[_0x3c3d76(0x314)][_0x3c3d76(0x2fe)][_0x3c3d76(0x276)][_0x3c3d76(0x255)]()){const _0x4476a8=this[_0x3c3d76(0x314)][_0x3c3d76(0x2fe)][_0x3c3d76(0x276)][_0x3c3d76(0x27d)](_0xe340ab),_0x2b80db=this[_0x3c3d76(0x314)][_0x3c3d76(0x2dc)][_0x3c3d76(0x225)][_0x3c3d76(0x276)][_0x3c3d76(0x27d)](_0xe340ab);if(_0x2b80db){const _0x305952=_0x4476a8[_0x3c3d76(0x279)](_0x3c3d76(0x305));if(_0x5bccff[_0x3c3d76(0x298)](_0x3c3d76(0x20c),_0x2b80db),_0x5bccff[_0x3c3d76(0x24f)](_0x3c3d76(0x2ca),_0x2b80db),_0x5bccff[_0x3c3d76(0x24f)](_0x3c3d76(0x201),_0x2b80db),_0x5bccff[_0x3c3d76(0x24f)](_0x3c3d76(0x293),_0x2b80db),_0x305952){const _0x3924a0=this[_0x3c3d76(0x251)](_0x305952);if(!_0x3924a0)return null;_0x5bccff[_0x3c3d76(0x254)](_0x3c3d76(0x20c),_0x305952,_0x2b80db),_0x5bccff[_0x3c3d76(0x26d)](_0x3c3d76(0x1f5)+_0x3924a0[_0x3c3d76(0x262)],_0x2b80db),this[_0x3c3d76(0x2cc)]==_0x3924a0&&_0x5bccff[_0x3c3d76(0x26d)](_0x3c3d76(0x293),_0x2b80db);}}}});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x266)]({'view':_0x5b8f90(0x1db),'model':_0x4c8129=>_0x5b8f90(0x2d9)+_0x4c8129,'converterPriority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x266)]({'view':_0x5b8f90(0x28d),'model':_0x5b58bd=>_0x5b8f90(0x1cf)+_0x5b58bd,'converterPriority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2b0))[_0x5b8f90(0x292)]({'model':_0x5b8f90(0x246),'view':_0x1e43b1=>({'name':_0x5b8f90(0x2f0)+_0x1e43b1,'group':_0x5b8f90(0x246)}),'converterPriority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2dd))[_0x5b8f90(0x2e3)]({'model':_0x5b8f90(0x246),'view':_0x114cea=>{const _0x15d069=_0x5b8f90,_0x19693e=_0x114cea[_0x15d069(0x28f)][_0x15d069(0x212)](':')[0x1];return _0x15d069(0x285)!=_0x19693e&&_0x15d069(0x289)!=_0x19693e?null:{'classes':[_0x15d069(0x2a8),_0x15d069(0x2fc)+_0x19693e]};}}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x1ee),et(this[_0x5b8f90(0x314)],_0x5b8f90(0x2d8)),{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x286),et(this[_0x5b8f90(0x314)],_0x5b8f90(0x212)),{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x1d6),(_0x3a7f27,_0xee3fc9,_0x36429a)=>{const _0x5a179d=_0x5b8f90,_0x46bea6=_0x36429a[_0x5a179d(0x265)][_0x5a179d(0x268)](_0xee3fc9[_0x5a179d(0x28f)]);if(_0x46bea6){for(const _0x338454 of _0x46bea6)_0x338454['is'](_0x5a179d(0x2eb))&&(_0x36429a[_0x5a179d(0x265)][_0x5a179d(0x2f7)](_0x338454,_0xee3fc9[_0x5a179d(0x28f)]),_0x36429a[_0x5a179d(0x1ea)][_0x5a179d(0x20a)](_0x338454));}},{'priority':_0x5b8f90(0x23c)});}[_0xabc655(0x251)](_0x495663){const _0x1bd8ab=_0xabc655;return this[_0x1bd8ab(0x222)][_0x1bd8ab(0x2b6)](_0x495663);}[_0xabc655(0x278)](_0x1f4abc){const _0x2765c5=_0xabc655;return this[_0x2765c5(0x2f2)]&&this[_0x2765c5(0x2f2)][_0x2765c5(0x2bb)](),this[_0x2765c5(0x2f2)]=new _0x54d097(this[_0x2765c5(0x314)][_0x2765c5(0x261)],_0x1f4abc),this[_0x2765c5(0x2f2)];}[_0xabc655(0x21b)](){const _0x2b52c9=_0xabc655;this[_0x2b52c9(0x314)][_0x2b52c9(0x2fe)][_0x2b52c9(0x276)][_0x2b52c9(0x2c1)][_0x2b52c9(0x21f)](_0x2b52c9(0x2d6)),this['on'](_0x2b52c9(0x226),(_0x32accb,_0x3af0e7,_0x1854fd,_0xbb8279)=>{const _0x55e957=_0x2b52c9;_0xbb8279&&this[_0x55e957(0x27c)][_0x55e957(0x20a)](_0xbb8279),_0x1854fd&&(this[_0x55e957(0x27c)][_0x55e957(0x287)]({'view':_0x1854fd,'stackId':_0x55e957(0x211),'position':{'target':()=>{const _0x1048c1=_0x55e957,_0x23f983=this[_0x1048c1(0x314)][_0x1048c1(0x2dc)],_0xc3bd62=this[_0x1048c1(0x251)](_0x1854fd[_0x1048c1(0x25f)]);let _0x4aecbe;if(_0xc3bd62[_0x1048c1(0x2a3)][_0x1048c1(0x210)]){const _0x14dc2e=_0x23f983[_0x1048c1(0x225)][_0x1048c1(0x20f)](_0xc3bd62[_0x1048c1(0x233)]);_0x4aecbe=Array[_0x1048c1(0x2f5)](_0x14dc2e[_0x1048c1(0x1ef)]());}else{const _0x572ddc=this[_0x1048c1(0x314)][_0x1048c1(0x2fe)][_0x1048c1(0x1f8)][_0x1048c1(0x2b6)](_0x1048c1(0x2fa)+_0x1854fd[_0x1048c1(0x25f)]);_0x4aecbe=Array[_0x1048c1(0x2f5)](_0x23f983[_0x1048c1(0x265)][_0x1048c1(0x268)](_0x572ddc[_0x1048c1(0x1eb)]))[_0x1048c1(0x234)](_0x1f52a8=>_0x23f983[_0x1048c1(0x225)][_0x1048c1(0x26c)][_0x1048c1(0x23b)](_0x1f52a8))[_0x1048c1(0x234)](_0x4ad070=>Array[_0x1048c1(0x2f5)](_0x4ad070[_0x1048c1(0x1ef)]()))[_0x1048c1(0x1f6)]();}if(!this[_0x1048c1(0x29d)])return _0x4aecbe[0x0];return _0x4aecbe[_0x1048c1(0x20d)](_0x1b5808=>_0x1b5808[_0x1048c1(0x30d)]-0x3<=this[_0x1048c1(0x29d)]['y']&&_0x1b5808[_0x1048c1(0x2b7)]+0x3>=this[_0x1048c1(0x29d)]['y']&&_0x1b5808[_0x1048c1(0x1d9)]-0x3<=this[_0x1048c1(0x29d)]['x']&&_0x1b5808[_0x1048c1(0x31a)]+0x3>=this[_0x1048c1(0x29d)]['x'])||_0x4aecbe[0x0];}}}),this[_0x55e957(0x27c)][_0x55e957(0x205)](_0x55e957(0x211)));}),this['on'](_0x2b52c9(0x22f),(_0x484863,_0xc0323d,_0x1b3ea1,_0x34e912)=>{const _0x2bdda8=_0x2b52c9;this[_0x2bdda8(0x25b)]=_0x1b3ea1?this[_0x2bdda8(0x278)](_0x1b3ea1):null,this[_0x2bdda8(0x314)][_0x2bdda8(0x2fe)][_0x2bdda8(0x1f2)](()=>{const _0x24af3e=_0x2bdda8,_0xe600ec=this[_0x24af3e(0x314)][_0x24af3e(0x2dc)];_0x34e912&&(_0x34e912[_0x24af3e(0x2a3)][_0x24af3e(0x210)]?_0xe600ec[_0x24af3e(0x225)][_0x24af3e(0x1f2)](_0x463b45=>{const _0x5eaeda=_0x24af3e;_0x463b45[_0x5eaeda(0x24f)](_0x5eaeda(0x293),_0xe600ec[_0x5eaeda(0x225)][_0x5eaeda(0x276)][_0x5eaeda(0x27d)](_0x34e912[_0x5eaeda(0x233)]));}):_0xe600ec[_0x24af3e(0x318)](_0x24af3e(0x2fa)+_0x34e912['id'])),_0x1b3ea1&&(_0x1b3ea1[_0x24af3e(0x2a3)][_0x24af3e(0x210)]?_0xe600ec[_0x24af3e(0x225)][_0x24af3e(0x1f2)](_0x3ac9ac=>{const _0x28a053=_0x24af3e;_0x3ac9ac[_0x28a053(0x26d)](_0x28a053(0x293),_0xe600ec[_0x28a053(0x225)][_0x28a053(0x276)][_0x28a053(0x27d)](_0x1b3ea1[_0x28a053(0x233)]));}):_0xe600ec[_0x24af3e(0x318)](_0x24af3e(0x2fa)+_0x1b3ea1['id']));});}),this[_0x2b52c9(0x217)](this[_0x2b52c9(0x314)][_0x2b52c9(0x2dc)][_0x2b52c9(0x225)][_0x2b52c9(0x276)],_0x2b52c9(0x1e9),(_0x4565be,_0x51dac8)=>{const _0x45fbd6=_0x2b52c9;if(this[_0x45fbd6(0x2cc)])return;const _0x43aeaf=this[_0x45fbd6(0x26b)](_0x51dac8[_0x45fbd6(0x2ba)]),_0x3dfc7b=this[_0x45fbd6(0x222)][_0x45fbd6(0x2b6)](_0x43aeaf);_0x3dfc7b?(this[_0x45fbd6(0x29d)]={'x':_0x51dac8[_0x45fbd6(0x21d)]['x'],'y':_0x51dac8[_0x45fbd6(0x21d)]['y']},this[_0x45fbd6(0x25b)]=this[_0x45fbd6(0x278)](_0x3dfc7b)):(this[_0x45fbd6(0x29d)]=null,this[_0x45fbd6(0x25b)]=null);}),this[_0x2b52c9(0x217)](this[_0x2b52c9(0x314)][_0x2b52c9(0x2dc)][_0x2b52c9(0x225)][_0x2b52c9(0x276)],_0x2b52c9(0x281),(_0xa3a5c8,_0x17ae5c)=>{const _0x367a97=_0x2b52c9,_0x1e2ec7=this[_0x367a97(0x26b)](_0x17ae5c[_0x367a97(0x2ba)]),_0x40e84d=this[_0x367a97(0x222)][_0x367a97(0x2b6)](_0x1e2ec7);_0x40e84d?(this[_0x367a97(0x29d)]={'x':_0x17ae5c[_0x367a97(0x21d)]['x'],'y':_0x17ae5c[_0x367a97(0x21d)]['y']},_0x40e84d===this[_0x367a97(0x2cc)]?this[_0x367a97(0x27c)][_0x367a97(0x260)]():this[_0x367a97(0x2cc)]=_0x40e84d):(this[_0x367a97(0x29d)]=null,this[_0x367a97(0x2cc)]=null);});}[_0xabc655(0x26b)](_0x5b515d){const _0x5da49b=_0xabc655;do{const _0x515a3b=_0x5b515d[_0x5da49b(0x279)](_0x5da49b(0x20c));if(_0x515a3b)return _0x515a3b;_0x5b515d=_0x5b515d[_0x5da49b(0x2e7)];}while(_0x5b515d);return null;}[_0xabc655(0x294)](){const _0x343ac2=_0xabc655;this[_0x343ac2(0x314)][_0x343ac2(0x2fe)][_0x343ac2(0x1f2)](_0x2463de=>{const _0x2ca9b0=_0x343ac2;for(const _0xafdf86 of this[_0x2ca9b0(0x314)][_0x2ca9b0(0x2fe)][_0x2ca9b0(0x1f8)])_0x2463de[_0x2ca9b0(0x288)](_0xafdf86);});}}function et(_0x437613,_0x5cf296){return(_0x3ee260,_0x352ff1,_0x2e9cee)=>{const _0x25e5dd=_0x2520;if(!_0x2e9cee[_0x25e5dd(0x209)][_0x25e5dd(0x1df)](_0x352ff1[_0x25e5dd(0x31c)],_0x3ee260[_0x25e5dd(0x1eb)]))return;const _0x5c6967=_0x352ff1[_0x25e5dd(0x31c)][_0x25e5dd(0x29b)](),_0x2ab398=_0x352ff1[_0x25e5dd(0x31c)][_0x25e5dd(0x303)],_0xccea60=_0x437613[_0x25e5dd(0x2fe)][_0x25e5dd(0x27b)];let _0x31446c=null,_0x3a0330=null,_0x187146=!0x1,_0x5f4c70=!0x1;for(const _0x106ad9 of _0x5c6967){const _0x534feb=_0x106ad9[_0x25e5dd(0x2e5)];_0x187146=_0x187146||_0xccea60[_0x25e5dd(0x21c)](_0x534feb);const _0x26db53=_0x2e9cee[_0x25e5dd(0x265)][_0x25e5dd(0x2df)](_0x534feb);if(_0x26db53&&_0x26db53[_0x25e5dd(0x20e)](_0x25e5dd(0x2c8)))return;_0x25e5dd(0x2a7)==_0x106ad9[_0x25e5dd(0x262)]&&(_0xccea60[_0x25e5dd(0x1d3)](_0x534feb)&&!_0xccea60[_0x25e5dd(0x28b)](_0x534feb)&&(_0x534feb[_0x25e5dd(0x2b3)]||_0x2ab398[_0x25e5dd(0x2d5)]?_0x31446c&&_0x31446c[_0x25e5dd(0x2e7)]==_0x534feb||(_0x31446c=_0x534feb,_0x3e6918(_0x106ad9[_0x25e5dd(0x2c9)]),_0x5f4c70=!0x0):_0x3a0330=_0x3a0330||_0x106ad9[_0x25e5dd(0x2c9)]));}function _0x3e6918(_0x475f9d){const _0x1b6ccd=_0x25e5dd,_0xb59266=_0x2e9cee[_0x1b6ccd(0x265)][_0x1b6ccd(0x23d)](_0x475f9d),_0x2a186c=_0x2e9cee[_0x1b6ccd(0x1ea)][_0x1b6ccd(0x2c3)](_0x1b6ccd(0x1e4),{'class':_0x1b6ccd(0x2fc)+_0x5cf296});_0x2e9cee[_0x1b6ccd(0x1ea)][_0x1b6ccd(0x2ae)](_0xb59266,_0x2a186c),_0x2e9cee[_0x1b6ccd(0x265)][_0x1b6ccd(0x263)](_0x2a186c,_0x352ff1[_0x1b6ccd(0x28f)]);}_0x187146||_0x5f4c70||!_0x3a0330||_0x3e6918(_0x3a0330);};}export class RestoreRevisionCommand extends _0x3f4fb7{constructor(_0x34cf2a){const _0x393244=_0xabc655;super(_0x34cf2a);const _0x56e3c7=_0x34cf2a[_0x393244(0x239)][_0x393244(0x2b6)](d);this[_0x393244(0x252)]=!0x1,this[_0x393244(0x217)](_0x56e3c7,_0x393244(0x22d),()=>this[_0x393244(0x2a0)]()),this[_0x393244(0x217)](_0x56e3c7,_0x393244(0x1ff),()=>this[_0x393244(0x2a0)]());}[_0xabc655(0x213)](){const _0x1143c4=_0xabc655,_0x1a3bde=this[_0x1143c4(0x314)],_0x161562=_0x1a3bde[_0x1143c4(0x239)][_0x1143c4(0x2b6)](d),_0x47cb09=_0x161562[_0x1143c4(0x2c4)]?_0x161562[_0x1143c4(0x2bc)][_0x1143c4(0x2e2)]:null;_0x1a3bde[_0x1143c4(0x2db)][_0x1143c4(0x2b6)](_0x1143c4(0x247))[_0x1143c4(0x227)](_0x47cb09);}[_0xabc655(0x2a0)](){const _0x3e0646=_0xabc655,{isReady:_0x9a8387,isEnabled:_0x33a519}=this[_0x3e0646(0x314)][_0x3e0646(0x239)][_0x3e0646(0x2b6)](d);this[_0x3e0646(0x1e1)]=_0x9a8387&&_0x33a519;}}function _0x2520(_0x5ddd20,_0x395246){const _0x48ec9b=_0x48ec();return _0x2520=function(_0x2520c3,_0x14042b){_0x2520c3=_0x2520c3-0x1cf;let _0x5c37ed=_0x48ec9b[_0x2520c3];return _0x5c37ed;},_0x2520(_0x5ddd20,_0x395246);}export class ShowChangeCommand extends _0x3f4fb7{constructor(_0x29e9cf,{direction:_0x3dccbd}){const _0xf9983a=_0xabc655;super(_0x29e9cf);const _0x1a044b=_0x29e9cf[_0xf9983a(0x239)][_0xf9983a(0x2b6)](d);this[_0xf9983a(0x252)]=!0x1,this[_0xf9983a(0x1de)]=_0xf9983a(0x2fb)===_0x3dccbd?0x1:-0x1,this[_0xf9983a(0x217)](_0x1a044b,_0xf9983a(0x22d),()=>this[_0xf9983a(0x2a0)]()),this[_0xf9983a(0x217)](_0x1a044b,_0xf9983a(0x1ff),()=>this[_0xf9983a(0x2a0)]()),this[_0xf9983a(0x217)](_0x1a044b,_0xf9983a(0x22f),()=>this[_0xf9983a(0x2a0)]());}[_0xabc655(0x213)](){const _0x2f5e25=_0xabc655,_0x3b96ec=this[_0x2f5e25(0x314)],_0x30e4be=_0x3b96ec[_0x2f5e25(0x239)][_0x2f5e25(0x2b6)](d),{isNavigationMode:_0x910398,currentChangeNumber:_0x54a5b0}=_0x30e4be;let _0x313c0d;if(_0x30e4be[_0x2f5e25(0x2cc)]=_0x910398?_0x30e4be[_0x2f5e25(0x2bc)][_0x2f5e25(0x274)][_0x2f5e25(0x2b6)](_0x54a5b0+this[_0x2f5e25(0x1de)]):_0x30e4be[_0x2f5e25(0x2bc)][_0x2f5e25(0x274)][_0x2f5e25(0x22a)],_0x30e4be[_0x2f5e25(0x2cc)][_0x2f5e25(0x2a3)][_0x2f5e25(0x210)])_0x313c0d=_0x3b96ec[_0x2f5e25(0x2dc)][_0x2f5e25(0x225)][_0x2f5e25(0x20f)](_0x30e4be[_0x2f5e25(0x2cc)][_0x2f5e25(0x233)]);else{const _0x30a470=_0x3b96ec[_0x2f5e25(0x2fe)][_0x2f5e25(0x1f8)][_0x2f5e25(0x2b6)](_0x2f5e25(0x2fa)+_0x30e4be[_0x2f5e25(0x2cc)]['id']);_0x313c0d=_0xfdf20d(_0x3b96ec[_0x2f5e25(0x2dc)],_0x30a470);}_0x571583({'target':_0x313c0d,'viewportOffset':0x28});}[_0xabc655(0x2a0)](){const _0x2e6d31=_0xabc655,{isNavigationMode:_0x3e7351,currentChangeNumber:_0x175e1c,numberOfChanges:_0x2641b5,isReady:_0x52ae97,isEnabled:_0x4e70b}=this[_0x2e6d31(0x314)][_0x2e6d31(0x239)][_0x2e6d31(0x2b6)](d);this[_0x2e6d31(0x1e1)]=!!(_0x4e70b&&_0x52ae97&&_0x2641b5)&&(!_0x3e7351||(0x1===this[_0x2e6d31(0x1de)]?_0x175e1c<_0x2641b5-0x1:_0x175e1c>0x0));}}
|
|
23
|
+
const _0x4e2a07=_0xcbd5;(function(_0x905153,_0xd537bf){const _0x4c29ca=_0xcbd5,_0x2ba57e=_0x905153();while(!![]){try{const _0x35e306=-parseInt(_0x4c29ca(0x160))/0x1+-parseInt(_0x4c29ca(0x18e))/0x2*(parseInt(_0x4c29ca(0x150))/0x3)+-parseInt(_0x4c29ca(0x18c))/0x4*(parseInt(_0x4c29ca(0x1d1))/0x5)+parseInt(_0x4c29ca(0x1b2))/0x6+parseInt(_0x4c29ca(0x1bb))/0x7+-parseInt(_0x4c29ca(0x181))/0x8+-parseInt(_0x4c29ca(0x27b))/0x9*(-parseInt(_0x4c29ca(0x195))/0xa);if(_0x35e306===_0xd537bf)break;else _0x2ba57e['push'](_0x2ba57e['shift']());}catch(_0x591306){_0x2ba57e['push'](_0x2ba57e['shift']());}}}(_0x341c,0xcef27));import{Plugin as _0x38097e,Command as _0x25fb93}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x129c53}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x23de21}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x1d017f,Element as _0x5a3d1f,Text as _0x3d89c3,ViewDocumentFragment as _0x41b63f,ViewText as _0x39096e,ViewElement as _0x3164d9,ViewContainerElement as _0x1a9ee1,ViewAttributeElement as _0x1dea87,ViewEmptyElement as _0xf8a713,ViewRawElement as _0x2f7330,ViewUIElement as _0x25aa64}from'ckeditor5/src/engine.js';import{Users as _0xe5b903,getMarkerDomElement as _0x10867d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x435401 from'./ui/revisionviewer/changedetailsview.js';import _0x1e8b54 from'./revisionsrepository.js';import _0x3cf76e from'./changeitem.js';import{default as _0x16841d}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x23474e}from'lodash-es';function _0x341c(){const _0x112dd5=['keys','length','map','return','vid_end','view','removeClass','isLimit','markers','nextPosition','startsWith','changeId','test','model','schema','1101234MTdrmd','_step','isContent','_makeModelFromTape','attributesAfter','modelRange','consume','addClass','getRootNames','7143087dohdhl','_makeTape','ck-suggestion-marker','markersStart','high','filter','editingDowncast','_setConversion','elementToAttribute','addRevision','findIndex','useFillerType','editing','isRemoved','_getViewObj','WidgetToolbarRepository','config','change:isReady','from','domEvent','markerToData','authors','70flbDDX','forceDisabled','ck-editor__editable__overlay','forEach','changes','side','end','attributes','push','markerName','diff','change:activeView','backward','for','concat','splice','isInline','unshift','conversion','rootName','oldRevisionId','index','change:activeChange','_threeWayMerge','elementStart','startIndex','slice','highest','item','remove','_getViewForChange','_makeModelFromViewString','_cleanMarkers','flat','type','ck-suggestion-marker--active','nextSibling','parent','all','error','marked','setAttribute','isEnabled','span','ck-suggestion-marker-split','mapper','POSITIVE_INFINITY','affectsData','createRevision','text','listenTo','offsetSize','getClientRects','code','softBreak','execute','processor','hasAttribute','userId','enableReadOnlyMode','activeView','updatePosition','init','downcastDispatcher','revisionHistory','writer','hasClass','revision-suggestion:','revision-comment:','revision-suggestion','_balloon','isRemoveSuggestion','resolve','string','showNextChange','isAfter','createUIElement','ck-revision-history-root-add','editor','forward','name','roots','element:pre','markerNameToElements','ck-revision-history-root-remove','get','newRevisionId','ck-revision-history-root--active','RevisionsRepository','_changeIdToChange','isCollapsed','compare','elementEnd','isObject','enqueueChange','markerRange','_appendChild','domConverter','isAtStart','object','ck-suggestion-marker-','addMarker:revision-suggestion:insertion','_joinTapes','start','data-change-id','showPreviousChange','next','pairId','add','getDomRoot','refresh','pop','checkAttribute','dataToMarker','_removeMissingPairs','getAttribute','isAttached','isAtEnd','mapViewToDom','low','addRevisionData','element','clear','-new','deletions','level','createAttributeElement','data-revision-','maxOffset','_markMismatchedRemovedTags','revisionHistoryLabel','wrap','getChild','ck-revision-history-root-','right','addMarker:revision','destroy','removeMarker','isAdded','_processTape','getRevisionData','observeMarkers','endIndex','collaboration.channelId','_markInsertions','document','isReady','restoreRevisionCallback','loadRevisionData','removeMarker:revision','getRevision','attachChange','attribute:vid','toViewElement','repository','getRevisionRootsAttributes','distance','revision-viewer','ck-suggestion-preview-marker-','currentChangeNumber','isNavigationMode','find','_getDiff','shift','getAttributes','locale','first','_getRevisionsRange','_initInteractions','getIndex','36855VkzVwr','insert','revision-start','consumable','RevisionViewer','_setChanges','comment','vid','revision-end','data','top','done','reconvertMarker','getItems','createPositionBefore','plugins','ck-suggestion-marker-merge','_removeUnsupportedChanges','addHighlight','catch','restoreRevision','target','dataDowncast','createRange','default','suggestion:','_changeView','isBlock','showStack','includes','createPositionFromPath','delete','getRoot','isIncorrect','children','_sortAndFilterDiffChanges','145092TjFxMX','abs','_activeViewTarget','insertions','change:numberOfChanges','set','sort','revision','markersEnd','detachRoot','_markMarkers','split','insertion','revisionHistoryAttachChange','values','_refreshStartEndIndex','1288980sHNRRd','_removeRevisionMarkers','previousPosition','removeMarker:revision-suggestion','_findChangeIdFromDomTarget','nodeAfter','commands','numberOfChanges','unbindElementFromMarkerName','toData','_fixObsoleteTags','isAddSuggestion','mousedown','createRangeIn','bindElementToMarker','left','removeAttribute','deletion','addRoot','isBefore','merge','range','getCustomProperty','isSuggestion','ck-suggestion-preview-marker','indexOf','parse','diffData','toViewRange','selection','toViewPosition','requires','adapter','10482560yEYPZE','addMarker:revision-suggestion:deletion','mouseover','_data','_getChangeFromId','isEqual','change','attributesBefore','markerToHighlight','_update','isOnRoot','361052zvkBMg','getWalker','14EiQosu','change:isEnabled','upcast','_revisions','toModel','then','stop','9390TKMmyr','revision:','bind','vid_start','viewItem','_cleanUp','bottom','_setDistance','pluginName','has','suggestion','uiElement','activeChange','_markSuggestions'];_0x341c=function(){return _0x112dd5;};return _0x341c();}const tt={'c':_0x1a9ee1,'a':_0x1dea87,'e':_0xf8a713,'r':_0x2f7330,'u':_0x25aa64};export default class d extends _0x38097e{static get[_0x4e2a07(0x19d)](){const _0x3d479a=_0x4e2a07;return _0x3d479a(0x27f);}static get[_0x4e2a07(0x17f)](){return[_0xe5b903,_0x23de21,_0x1e8b54];}constructor(_0x102092){const _0x5f549b=_0x4e2a07;super(_0x102092),this[_0x5f549b(0x26b)]=this[_0x5f549b(0x21f)][_0x5f549b(0x28a)][_0x5f549b(0x226)](_0x5f549b(0x229)),this[_0x5f549b(0x155)](_0x5f549b(0x1a1),null),this[_0x5f549b(0x155)](_0x5f549b(0x20d),null),this[_0x5f549b(0x152)]=null,this[_0x5f549b(0x155)](_0x5f549b(0x1db),null),this[_0x5f549b(0x155)](_0x5f549b(0x263),!0x1),this[_0x5f549b(0x155)](_0x5f549b(0x1fb),!0x0),this['on'](_0x5f549b(0x18f),(_0x1bc94d,_0x2a3187,_0x4ca0d3)=>{const _0x283799=_0x5f549b;this[_0x283799(0x1a1)]=null,this[_0x283799(0x20d)]=null,this[_0x283799(0x21f)][_0x283799(0x1c7)][_0x283799(0x1a8)][_0x283799(0x187)](_0x132f36=>{const _0x3e75db=_0x283799;for(const _0x137d8f of this[_0x3e75db(0x21f)][_0x3e75db(0x1c7)][_0x3e75db(0x1a8)][_0x3e75db(0x262)][_0x3e75db(0x222)])_0x4ca0d3?_0x132f36[_0x3e75db(0x1a9)](_0x3e75db(0x1d3),_0x137d8f):_0x132f36[_0x3e75db(0x1b9)](_0x3e75db(0x1d3),_0x137d8f);});}),this[_0x5f549b(0x197)](_0x5f549b(0x271))['to'](this,_0x5f549b(0x1a1),_0x24ab9d=>null!==_0x24ab9d),this[_0x5f549b(0x197)](_0x5f549b(0x270))['to'](this,_0x5f549b(0x263),this,_0x5f549b(0x1db),this,_0x5f549b(0x1a1),(_0x1cd4c8,_0x7f7d64,_0x2a5b5c)=>_0x1cd4c8&&_0x2a5b5c?_0x7f7d64[_0x5f549b(0x1d5)][_0x5f549b(0x27a)](_0x2a5b5c):0x0),this[_0x5f549b(0x197)](_0x5f549b(0x167))['to'](this,_0x5f549b(0x263),this,_0x5f549b(0x1db),(_0x3fa800,_0x4851e0)=>_0x3fa800?_0x4851e0[_0x5f549b(0x1d5)][_0x5f549b(0x1a4)]:0x0),this[_0x5f549b(0x146)]=null,this[_0x5f549b(0x22a)]=new Map(),this[_0x5f549b(0x180)]=null,this[_0x5f549b(0x217)]=this[_0x5f549b(0x21f)][_0x5f549b(0x28a)][_0x5f549b(0x226)](_0x23de21);}[_0x4e2a07(0x20f)](){const _0x3a5102=_0x4e2a07,_0x13c65f=this[_0x3a5102(0x21f)],_0x386fcb=new ShowChangeCommand(_0x13c65f,{'direction':_0x3a5102(0x1dd)}),_0x4b28fc=new ShowChangeCommand(_0x13c65f,{'direction':_0x3a5102(0x220)});(_0x13c65f[_0x3a5102(0x166)][_0x3a5102(0x23d)](_0x3a5102(0x23a),_0x386fcb),_0x13c65f[_0x3a5102(0x166)][_0x3a5102(0x23d)](_0x3a5102(0x21b),_0x4b28fc),_0x13c65f[_0x3a5102(0x166)][_0x3a5102(0x23d)](_0x3a5102(0x28f),new RestoreRevisionCommand(_0x13c65f)),this['on'](_0x3a5102(0x154),()=>{const _0x57c263=_0x3a5102;_0x386fcb[_0x57c263(0x23f)](),_0x4b28fc[_0x57c263(0x23f)]();}),this[_0x3a5102(0x1c2)](),this[_0x3a5102(0x279)](),_0x13c65f[_0x3a5102(0x20c)](_0x3a5102(0x26e)),_0x13c65f[_0x3a5102(0x28a)][_0x3a5102(0x19e)](_0x3a5102(0x1ca)))&&_0x13c65f[_0x3a5102(0x28a)][_0x3a5102(0x226)](_0x3a5102(0x1ca))[_0x3a5102(0x1d2)](_0x3a5102(0x26e));}async[_0x4e2a07(0x25d)](_0x241eda){const _0x487a5c=_0x4e2a07;await this[_0x487a5c(0x265)](_0x241eda);const _0x4a2eb1={};for(const _0x45d91f in _0x241eda[_0x487a5c(0x17b)]){if(_0x241eda[_0x487a5c(0x17b)][_0x45d91f][_0x487a5c(0x268)]&&!_0x241eda[_0x487a5c(0x17b)][_0x45d91f][_0x487a5c(0x268)][_0x487a5c(0x245)])continue;const _0x21b07c=this[_0x487a5c(0x161)](JSON[_0x487a5c(0x17a)](_0x241eda[_0x487a5c(0x17b)][_0x45d91f][_0x487a5c(0x153)])),_0x4b42f7=this[_0x487a5c(0x21f)][_0x487a5c(0x1c7)][_0x487a5c(0x1a8)][_0x487a5c(0x262)],_0x2e47b5=new _0x41b63f(_0x4b42f7,_0x21b07c[_0x487a5c(0x1a5)](_0x45adf8=>this[_0x487a5c(0x1c9)](_0x45adf8)));this[_0x487a5c(0x21f)][_0x487a5c(0x284)][_0x487a5c(0x209)][_0x487a5c(0x1c6)](_0x487a5c(0x1f9)),_0x4a2eb1[_0x45d91f]=this[_0x487a5c(0x21f)][_0x487a5c(0x284)][_0x487a5c(0x209)][_0x487a5c(0x169)](_0x2e47b5),this[_0x487a5c(0x21f)][_0x487a5c(0x284)][_0x487a5c(0x209)][_0x487a5c(0x1c6)](_0x487a5c(0x293));}return _0x4a2eb1;}async[_0x4e2a07(0x26c)](_0x42fc66){const _0x2be2ee=_0x4e2a07;await this[_0x2be2ee(0x265)](_0x42fc66);const _0x5779af={};for(const _0x2af27c in _0x42fc66[_0x2be2ee(0x17b)])_0x42fc66[_0x2be2ee(0x17b)][_0x2af27c][_0x2be2ee(0x268)]&&!_0x42fc66[_0x2be2ee(0x17b)][_0x2af27c][_0x2be2ee(0x268)][_0x2be2ee(0x245)]||(_0x5779af[_0x2af27c]=_0x42fc66[_0x2be2ee(0x17b)][_0x2af27c][_0x2be2ee(0x1b6)]||{});return _0x5779af;}[_0x4e2a07(0x161)](_0x5810e5){const _0x144c22=_0x4e2a07;return(_0x5810e5=_0x5810e5[_0x144c22(0x1c0)](_0xe0862b=>!_0xe0862b[_0x144c22(0x221)]||_0x144c22(0x27d)!==_0xe0862b[_0x144c22(0x221)]&&_0x144c22(0x283)!==_0xe0862b[_0x144c22(0x221)]))[_0x144c22(0x1d4)](_0x35f895=>{const _0x4a636e=_0x144c22;_0x4a636e(0x21a)!=typeof _0x35f895&&(_0x35f895[_0x4a636e(0x14e)]=this[_0x4a636e(0x161)](_0x35f895[_0x4a636e(0x14e)]),_0x35f895[_0x4a636e(0x1d8)]=_0x35f895[_0x4a636e(0x1d8)][_0x4a636e(0x1c0)](_0x3fd973=>!_0x3fd973[0x0][_0x4a636e(0x1ad)](_0x4a636e(0x250))));}),_0x5810e5;}async[_0x4e2a07(0x22c)](_0x15696b,_0x3a924f,_0x287186=!0x1){const _0x377ce5=_0x4e2a07;if(!this[_0x377ce5(0x1fb)])return;const _0x23220c=this[_0x377ce5(0x1db)],_0x310e25=this[_0x377ce5(0x26b)],_0x5c144d=_0x377ce5(0x21a)==typeof _0x15696b?_0x310e25[_0x377ce5(0x267)](_0x15696b):_0x15696b,_0x4b9c19=_0x377ce5(0x21a)==typeof _0x3a924f?_0x310e25[_0x377ce5(0x267)](_0x3a924f):_0x3a924f,_0x473841=_0x5c144d['id'],_0x45415a=_0x4b9c19?_0x4b9c19['id']:null;if(!_0x287186&&this[_0x377ce5(0x1db)]&&this[_0x377ce5(0x1db)][_0x377ce5(0x227)]===_0x473841&&this[_0x377ce5(0x1db)][_0x377ce5(0x1e5)]===_0x45415a)return Promise[_0x377ce5(0x219)]();this[_0x377ce5(0x263)]=!0x1,this[_0x377ce5(0x20d)]=null,this[_0x377ce5(0x1a1)]=null,this[_0x377ce5(0x1db)]=new _0x16841d(_0x473841,_0x45415a);const _0x3f318f=this[_0x377ce5(0x278)](_0x5c144d,_0x4b9c19,!0x0)[_0x377ce5(0x1a5)](_0x3ca0ca=>this[_0x377ce5(0x265)](_0x3ca0ca));return _0x3f318f[_0x377ce5(0x1d9)](new Promise(_0x2fd0a7=>{setTimeout(_0x2fd0a7,0x14);})),Promise[_0x377ce5(0x1f7)](_0x3f318f)[_0x377ce5(0x193)](()=>{const _0x1c159c=_0x377ce5;if(!this[_0x1c159c(0x1fb)])return;this[_0x1c159c(0x19a)]();const _0x5cc137=this[_0x1c159c(0x273)](_0x473841,_0x45415a);for(const _0x5ec6d8 of _0x5cc137[_0x1c159c(0x1d5)])this[_0x1c159c(0x22a)][_0x1c159c(0x155)](_0x5ec6d8['id'],_0x5ec6d8);this[_0x1c159c(0x21f)][_0x1c159c(0x1b0)][_0x1c159c(0x22f)]({'isUndoable':!0x1},_0x486fca=>{const _0x436272=_0x1c159c;for(const _0x4cdd12 of this[_0x436272(0x21f)][_0x436272(0x1b0)][_0x436272(0x262)][_0x436272(0x1ba)]())_0x486fca[_0x436272(0x159)](_0x4cdd12);for(const _0x1a369b of Object[_0x436272(0x1a3)](_0x5cc137[_0x436272(0x1b0)])){const _0x4b0ff3=_0x486fca[_0x436272(0x172)](_0x1a369b);for(const _0x37a8d9 of Object[_0x436272(0x1a3)](_0x5cc137[_0x436272(0x1d8)][_0x1a369b]))_0x486fca[_0x436272(0x1fa)](_0x37a8d9,_0x5cc137[_0x436272(0x1d8)][_0x1a369b][_0x37a8d9],_0x4b0ff3);_0x486fca[_0x436272(0x27c)](_0x5cc137[_0x436272(0x1b0)][_0x1a369b],_0x4b0ff3,0x0);}}),this[_0x1c159c(0x1db)][_0x1c159c(0x280)](this[_0x1c159c(0x14f)](_0x5cc137[_0x1c159c(0x1d5)])),this[_0x1c159c(0x263)]=!0x0;})[_0x377ce5(0x28e)](_0x2ff6bc=>{const _0x1e464d=_0x377ce5;console[_0x1e464d(0x1f8)](_0x2ff6bc),this[_0x1e464d(0x19a)](),_0x23220c&&(this[_0x1e464d(0x1db)]=_0x23220c),this[_0x1e464d(0x263)]=!0x0;});}[_0x4e2a07(0x249)](_0x55e477,_0x5243b3){const _0x418ffc=_0x4e2a07,_0x309f98=this[_0x418ffc(0x26b)][_0x418ffc(0x201)](_0x55e477);return _0x309f98['on'](_0x418ffc(0x18a),(_0x7319c2,_0x3c41ba,_0x3bfe8f)=>_0x5243b3(_0x3c41ba,_0x3bfe8f,_0x309f98)),this[_0x418ffc(0x26b)][_0x418ffc(0x1c4)](_0x309f98),_0x309f98;}[_0x4e2a07(0x265)](_0x1235d0){const _0x10cb68=_0x4e2a07;if(!_0x1235d0||_0x1235d0[_0x10cb68(0x17b)])return Promise[_0x10cb68(0x219)]();{const _0x2e6933=this[_0x10cb68(0x21f)][_0x10cb68(0x1cb)][_0x10cb68(0x226)](_0x10cb68(0x260));return this[_0x10cb68(0x180)][_0x10cb68(0x267)]({'channelId':_0x2e6933,'revisionId':_0x1235d0['id']})[_0x10cb68(0x193)](_0x1cb3ea=>{const _0x1239cb=_0x10cb68;_0x1235d0[_0x1239cb(0x18a)]({'diffData':_0x1cb3ea[_0x1239cb(0x17b)]},!0x0);});}}[_0x4e2a07(0x19a)](){const _0x101e30=_0x4e2a07;this[_0x101e30(0x1a1)]=null,this[_0x101e30(0x1f1)](),this[_0x101e30(0x146)]&&this[_0x101e30(0x146)][_0x101e30(0x259)](),this[_0x101e30(0x146)]=null,this[_0x101e30(0x22a)][_0x101e30(0x24b)](),this[_0x101e30(0x21f)][_0x101e30(0x1b0)][_0x101e30(0x22f)]({'isUndoable':!0x1},_0x3a1467=>{const _0x394f08=_0x101e30;for(const _0x565cb6 of this[_0x394f08(0x21f)][_0x394f08(0x1b0)][_0x394f08(0x262)][_0x394f08(0x1ba)]())_0x3a1467[_0x394f08(0x159)](_0x565cb6);});}[_0x4e2a07(0x14f)](_0x4c7b64){const _0xa0f910=_0x4e2a07,_0x5939c7=[],_0x3eab2d=new Map();for(const _0x359a14 of this[_0xa0f910(0x21f)][_0xa0f910(0x1b0)][_0xa0f910(0x262)][_0xa0f910(0x1ba)]()){const _0x546ad6=this[_0xa0f910(0x21f)][_0xa0f910(0x1c7)][_0xa0f910(0x1a8)][_0xa0f910(0x23e)](_0x359a14);if(!_0x546ad6)continue;const _0x553404=_0x546ad6[_0xa0f910(0x205)]()[_0xa0f910(0x1ed)](0x0);_0x553404&&(_0x5939c7[_0xa0f910(0x1d9)](_0x359a14),_0x3eab2d[_0xa0f910(0x155)](_0x359a14,_0x553404));}return _0x5939c7[_0xa0f910(0x156)]((_0x40b835,_0x53566a)=>{const _0x5b92a2=_0xa0f910,_0x1ce5ca=_0x3eab2d[_0x5b92a2(0x226)](_0x40b835),_0x98fdb8=_0x3eab2d[_0x5b92a2(0x226)](_0x53566a);return _0x1ce5ca['y']-_0x98fdb8['y']||_0x1ce5ca['x']-_0x98fdb8['x'];}),(_0x4c7b64=_0x4c7b64[_0xa0f910(0x1c0)](_0x29ea6e=>_0x5939c7[_0xa0f910(0x149)](_0x29ea6e[_0xa0f910(0x1e4)])))[_0xa0f910(0x156)]((_0x4ac322,_0x3947e5)=>_0x5939c7[_0xa0f910(0x179)](_0x4ac322[_0xa0f910(0x1e4)])-_0x5939c7[_0xa0f910(0x179)](_0x3947e5[_0xa0f910(0x1e4)])),_0x4c7b64;}[_0x4e2a07(0x1bc)](_0x183610){const _0x3d79d5=_0x4e2a07,_0x1b8a0f=Array[_0x3d79d5(0x1cd)](_0x183610[_0x3d79d5(0x1ab)])[_0x3d79d5(0x1c0)](([_0x52e49e,_0x37b435])=>_0x52e49e[_0x3d79d5(0x1ad)](_0x3d79d5(0x196))&&!_0x37b435[_0x3d79d5(0x22b)]),_0x2259ec=Array[_0x3d79d5(0x1cd)](this[_0x3d79d5(0x21f)][_0x3d79d5(0x1b0)][_0x3d79d5(0x16d)](_0x183610)[_0x3d79d5(0x18d)]({'singleCharacters':!0x0}));if(0x0!=_0x1b8a0f[_0x3d79d5(0x1a4)])for(const _0x1c8e8e of _0x2259ec){const [_0x3831b9,_0x561f7f]=_0x1b8a0f[0x0],[,_0x3df3cc,_0x33998b]=_0x3831b9[_0x3d79d5(0x15b)](':');if(_0x561f7f[_0x3d79d5(0x1d7)][_0x3d79d5(0x186)](_0x1c8e8e[_0x3d79d5(0x1ac)])&&_0x1b8a0f[_0x3d79d5(0x274)](),(_0x1c8e8e[_0x3d79d5(0x162)][_0x3d79d5(0x186)](_0x561f7f[_0x3d79d5(0x238)])||_0x1c8e8e[_0x3d79d5(0x162)][_0x3d79d5(0x21c)](_0x561f7f[_0x3d79d5(0x238)]))&&(_0x3d79d5(0x15c)==_0x3df3cc?_0x1c8e8e[_0x3d79d5(0x25b)]={'userId':_0x33998b}:_0x3d79d5(0x171)==_0x3df3cc&&(_0x1c8e8e[_0x3d79d5(0x1c8)]={'userId':_0x33998b})),0x0==_0x1b8a0f[_0x3d79d5(0x1a4)])break;}return _0x2259ec;}[_0x4e2a07(0x15f)](_0x5a7898){const _0x1d5c45=_0x4e2a07,_0x387759=new Map();for(let _0x1284a5=0x0;_0x1284a5<_0x5a7898[_0x1d5c45(0x1a4)];_0x1284a5++)_0x1d5c45(0x202)===_0x5a7898[_0x1284a5][_0x1d5c45(0x1f3)]?(_0x5a7898[_0x1284a5][_0x1d5c45(0x1ed)][_0x1d5c45(0x1ea)]=_0x1284a5,_0x5a7898[_0x1284a5][_0x1d5c45(0x1ed)][_0x1d5c45(0x25f)]=_0x1284a5):(_0x1d5c45(0x1e9)===_0x5a7898[_0x1284a5][_0x1d5c45(0x1f3)]?_0x5a7898[_0x1284a5][_0x1d5c45(0x1ed)][_0x1d5c45(0x1ea)]=_0x1284a5:_0x1d5c45(0x22d)===_0x5a7898[_0x1284a5][_0x1d5c45(0x1f3)]&&(_0x5a7898[_0x1284a5][_0x1d5c45(0x1ed)][_0x1d5c45(0x25f)]=_0x1284a5),_0x387759[_0x1d5c45(0x155)](_0x5a7898[_0x1284a5]['id'],_0x1284a5));for(const _0x23e9a3 of _0x387759[_0x1d5c45(0x15e)]())_0x1d5c45(0x1e9)===_0x5a7898[_0x23e9a3][_0x1d5c45(0x1f3)]?_0x5a7898[_0x23e9a3][_0x1d5c45(0x1ed)][_0x1d5c45(0x25f)]=_0x387759[_0x1d5c45(0x226)](_0x5a7898[_0x23e9a3][_0x1d5c45(0x23c)]):_0x1d5c45(0x22d)===_0x5a7898[_0x23e9a3][_0x1d5c45(0x1f3)]&&(_0x5a7898[_0x23e9a3][_0x1d5c45(0x1ed)][_0x1d5c45(0x1ea)]=_0x387759[_0x1d5c45(0x226)](_0x5a7898[_0x23e9a3][_0x1d5c45(0x23c)]));}[_0x4e2a07(0x25c)](_0x7f8853){const _0x4de65c=_0x4e2a07;for(let _0x11f0d0=0x0;_0x11f0d0<_0x7f8853[_0x4de65c(0x1a4)];_0x11f0d0++){if(_0x4de65c(0x1e9)===_0x7f8853[_0x11f0d0][_0x4de65c(0x1f3)])_0x7f8853[_0x11f0d0][_0x4de65c(0x1ed)][_0x4de65c(0x1ea)]=_0x11f0d0;else{if(_0x4de65c(0x22d)===_0x7f8853[_0x11f0d0][_0x4de65c(0x1f3)]){_0x7f8853[_0x11f0d0][_0x4de65c(0x1ed)][_0x4de65c(0x25f)]=_0x11f0d0;const _0x21568f=_0x7f8853[_0x11f0d0][_0x4de65c(0x1ed)][_0x4de65c(0x1ea)];_0x7f8853[_0x21568f][_0x4de65c(0x23c)]=_0x7f8853[_0x11f0d0]['id'],_0x7f8853[_0x11f0d0][_0x4de65c(0x23c)]=_0x7f8853[_0x21568f]['id'];}else _0x7f8853[_0x11f0d0][_0x4de65c(0x1ed)][_0x4de65c(0x1ea)]=_0x11f0d0,_0x7f8853[_0x11f0d0][_0x4de65c(0x1ed)][_0x4de65c(0x25f)]=_0x11f0d0,_0x7f8853[_0x11f0d0][_0x4de65c(0x23c)]=null;}_0x7f8853[_0x11f0d0][_0x4de65c(0x1be)]||(_0x7f8853[_0x11f0d0][_0x4de65c(0x1be)]=[],_0x7f8853[_0x11f0d0][_0x4de65c(0x158)]=[]);}}[_0x4e2a07(0x261)](_0x2883cf,_0x5655b7){const _0x3abd49=_0x4e2a07,_0x8397b9=_0x2883cf[_0x3abd49(0x1c0)](_0x18ce40=>!_0x18ce40[_0x3abd49(0x25b)]);for(let _0x201551=0x0;_0x201551<_0x5655b7[_0x3abd49(0x1a4)];_0x201551++)_0x5655b7[_0x201551][_0x3abd49(0x25b)]&&(_0x8397b9[_0x201551][_0x3abd49(0x25b)]=_0x5655b7[_0x201551][_0x3abd49(0x25b)]);}[_0x4e2a07(0x1f0)](_0x4e087c){const _0x487f54=_0x4e2a07,_0x4f6f8e=JSON[_0x487f54(0x17a)](_0x4e087c),_0x5cae99=this[_0x487f54(0x21f)][_0x487f54(0x1c7)][_0x487f54(0x1a8)][_0x487f54(0x262)],_0x1bec98=new _0x41b63f(_0x5cae99,_0x4f6f8e[_0x487f54(0x1a5)](_0x29d616=>this[_0x487f54(0x1c9)](_0x29d616)));return this[_0x487f54(0x21f)][_0x487f54(0x284)][_0x487f54(0x192)](_0x1bec98);}[_0x4e2a07(0x1c9)](_0x2c8d6c){const _0xa37f08=_0x4e2a07,_0x598c1d=this[_0xa37f08(0x21f)][_0xa37f08(0x1c7)][_0xa37f08(0x1a8)][_0xa37f08(0x262)];if(_0xa37f08(0x21a)==typeof _0x2c8d6c)return new _0x39096e(_0x598c1d,_0x2c8d6c);{const _0x46ecf0=_0x2c8d6c[_0xa37f08(0x14e)][_0xa37f08(0x1a5)](_0x394e02=>this[_0xa37f08(0x1c9)](_0x394e02));return new(tt[_0x2c8d6c[(_0xa37f08(0x1f3))]]||_0x3164d9)(_0x598c1d,_0x2c8d6c[_0xa37f08(0x221)],_0x2c8d6c[_0xa37f08(0x1d8)],_0x46ecf0);}}[_0x4e2a07(0x273)](_0x5ac6c0,_0x2b96a5=null){const _0x181876=_0x4e2a07,_0x3a4b7b=this[_0x181876(0x26b)][_0x181876(0x267)](_0x5ac6c0),_0x4367c1=_0x2b96a5?this[_0x181876(0x26b)][_0x181876(0x267)](_0x2b96a5):null,_0x2d7e85=this[_0x181876(0x278)](_0x3a4b7b,_0x4367c1),_0x409f95=_0x2d7e85[_0x2d7e85[_0x181876(0x1a4)]-0x1],_0x34326f=new Map(),_0x47eddb={'model':{},'attributes':{},'changes':[]},_0x1b0065=new Set(),_0x2bb5a0=new Map();for(let _0x5bd043=_0x2d7e85[_0x181876(0x1a4)]-0x1;_0x5bd043>=0x0;_0x5bd043--){const _0x24f119=_0x2d7e85[_0x5bd043];for(const _0x517e38 of Object[_0x181876(0x1a3)](_0x24f119[_0x181876(0x17b)]))if(_0x24f119[_0x181876(0x17b)][_0x517e38][_0x181876(0x268)]){const _0x5d95e9=_0x24f119[_0x181876(0x17b)][_0x517e38][_0x181876(0x268)];_0x5d95e9[_0x181876(0x245)]?(_0x1b0065[_0x181876(0x23d)](_0x517e38),_0x2bb5a0[_0x181876(0x19e)](_0x517e38)&&_0x2bb5a0[_0x181876(0x226)](_0x517e38)[_0x181876(0x20b)]==_0x5d95e9[_0x181876(0x20b)]?_0x2bb5a0[_0x181876(0x14b)](_0x517e38):_0x2bb5a0[_0x181876(0x155)](_0x517e38,_0x5d95e9)):_0x2bb5a0[_0x181876(0x19e)](_0x517e38)?(_0x1b0065[_0x181876(0x14b)](_0x517e38),_0x2bb5a0[_0x181876(0x14b)](_0x517e38)):(_0x1b0065[_0x181876(0x23d)](_0x517e38),_0x2bb5a0[_0x181876(0x155)](_0x517e38,_0x5d95e9));}else _0x1b0065[_0x181876(0x23d)](_0x517e38);}for(const _0x11c128 of _0x1b0065){const _0x359793=_0x2bb5a0[_0x181876(0x19e)](_0x11c128)&&!_0x2bb5a0[_0x181876(0x226)](_0x11c128)[_0x181876(0x245)];let _0x5266e9=_0x359793?_0x2d7e85[_0x181876(0x1a4)]-0x1:0x0;const _0x366d98=_0x359793?-0x1:0x1;for(;_0x2d7e85[_0x5266e9];){const _0x4c701b=_0x2d7e85[_0x5266e9];if(_0x4c701b[_0x181876(0x17b)][_0x11c128]){const _0x280bf7=_0x359793?_0x4c701b[_0x181876(0x17b)][_0x11c128][_0x181876(0x188)]:_0x4c701b[_0x181876(0x17b)][_0x11c128][_0x181876(0x1b6)];_0x47eddb[_0x181876(0x1d8)][_0x11c128]=_0x280bf7?_0x23474e(_0x280bf7):{};break;}_0x5266e9+=_0x366d98;}}for(const _0x224504 of _0x2d7e85){_0x224504[_0x181876(0x1b0)]={};for(const _0x32824a of _0x224504[_0x181876(0x1d0)])_0x34326f[_0x181876(0x155)](_0x32824a['id'],_0x32824a);for(const _0x111df8 of _0x1b0065){const _0x4c2d6b=_0x224504[_0x181876(0x17b)][_0x111df8]?_0x224504[_0x181876(0x17b)][_0x111df8][_0x181876(0x153)]:'[]',_0xa063c2=_0x224504[_0x181876(0x17b)][_0x111df8]?_0x224504[_0x181876(0x17b)][_0x111df8][_0x181876(0x24d)]:'[]';_0x224504[_0x181876(0x1b0)][_0x111df8]={'insertions':this[_0x181876(0x1f0)](_0x4c2d6b),'deletions':this[_0x181876(0x1f0)](_0xa063c2)};}}for(const _0x9bd08b of _0x1b0065){let _0x18c266=null,_0x209d00=0x0;const _0x35c27a=new Map(Array[_0x181876(0x1cd)](_0x3a4b7b[_0x181876(0x1b0)][_0x9bd08b][_0x181876(0x153)][_0x181876(0x1ab)])[_0x181876(0x1c0)](([_0x2cb484])=>!_0x2cb484[_0x181876(0x1ad)](_0x181876(0x196))));let _0x27ed68=0x0;for(const _0xb2321a of _0x2d7e85){const _0x269f00=this[_0x181876(0x1bc)](_0xb2321a[_0x181876(0x1b0)][_0x9bd08b][_0x181876(0x153)]);_0xb2321a==_0x3a4b7b?(_0x18c266=_0x269f00,_0x209d00=_0x18c266[_0x181876(0x1a4)],_0x18c266[_0x181876(0x1d4)](_0x2f5f41=>{_0x2f5f41['id']=_0x27ed68++;}),this[_0x181876(0x25c)](_0x18c266)):this[_0x181876(0x261)](_0x18c266,_0x269f00);const _0x27667f=_0x18c266[_0x181876(0x1c0)](_0x441b8c=>!_0x441b8c[_0x181876(0x25b)])[_0x181876(0x1a5)](_0x1a5b2b=>_0x1a5b2b['id']);let _0x4bc2b8=0x0;const _0x525a86=this[_0x181876(0x1bc)](_0xb2321a[_0x181876(0x1b0)][_0x9bd08b][_0x181876(0x24d)]);_0x525a86[_0x181876(0x1d4)](_0x5a97d9=>{const _0x7ce7fd=_0x181876;_0x5a97d9[_0x7ce7fd(0x1c8)]?_0x5a97d9['id']=_0x209d00++:_0x5a97d9['id']=_0x27667f[_0x4bc2b8++];}),this[_0x181876(0x25c)](_0x525a86),this[_0x181876(0x19c)](_0x18c266,_0x181876(0x25b)),this[_0x181876(0x19c)](_0x525a86,_0x181876(0x1c8)),_0xb2321a==_0x3a4b7b&&this[_0x181876(0x15a)](_0x18c266,_0x35c27a),_0x18c266=this[_0x181876(0x237)](_0x18c266,_0x525a86),this[_0x181876(0x15f)](_0x18c266),this[_0x181876(0x19c)](_0x18c266,_0x181876(0x1c8));}_0x18c266=_0x18c266[_0x181876(0x1c0)](_0x120997=>!(_0x120997[_0x181876(0x25b)]&&_0x120997[_0x181876(0x1c8)]));const _0x36ef70=new Map(_0x409f95[_0x181876(0x1b0)][_0x9bd08b][_0x181876(0x24d)][_0x181876(0x1ab)]),_0x357b77=new Set(_0x35c27a[_0x181876(0x1a3)]());for(const _0x30d5ae of _0x36ef70[_0x181876(0x1a3)]())_0x357b77[_0x181876(0x14b)](_0x30d5ae);this[_0x181876(0x1a2)](_0x18c266,_0x357b77),this[_0x181876(0x16a)](_0x18c266),_0x18c266=this[_0x181876(0x243)](_0x18c266),_0x18c266=this[_0x181876(0x252)](_0x18c266),_0x18c266=this[_0x181876(0x28c)](_0x18c266);const {root:_0x2231c9,changes:_0xc5ca7f}=this[_0x181876(0x1b5)](_0x18c266,_0x34326f,_0x9bd08b);_0x47eddb[_0x181876(0x1b0)][_0x9bd08b]=_0x2231c9;const _0x46f645=_0x2bb5a0[_0x181876(0x226)](_0x9bd08b);if(_0x46f645){const _0x440616=_0x34326f[_0x181876(0x226)](_0x46f645[_0x181876(0x20b)]),_0x56b600=new _0x3cf76e({'author':_0x440616,'type':_0x46f645[_0x181876(0x245)]?_0x181876(0x23d):_0x181876(0x1ee),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x9bd08b});_0xc5ca7f[_0x181876(0x1e2)](_0x56b600),_0x47eddb[_0x181876(0x1d8)][_0x9bd08b][_0x181876(0x15d)]=_0x56b600['id'];}_0x47eddb[_0x181876(0x1d5)]=_0x47eddb[_0x181876(0x1d5)][_0x181876(0x1df)](_0xc5ca7f);}return _0x47eddb;}[_0x4e2a07(0x15a)](_0x5bc3f5,_0x14bcc5){const _0x5acae8=_0x4e2a07;for(let _0x28b8ea=0x0;_0x28b8ea<_0x5bc3f5[_0x5acae8(0x1a4)];_0x28b8ea++)for(const [_0xd93caf,_0x147729]of _0x14bcc5)_0x147729[_0x5acae8(0x238)][_0x5acae8(0x186)](_0x5bc3f5[_0x28b8ea][_0x5acae8(0x162)])&&_0x5bc3f5[_0x28b8ea][_0x5acae8(0x1be)][_0x5acae8(0x1d9)](_0xd93caf),_0x147729[_0x5acae8(0x1d7)][_0x5acae8(0x186)](_0x5bc3f5[_0x28b8ea][_0x5acae8(0x1ac)])&&_0x5bc3f5[_0x28b8ea][_0x5acae8(0x158)][_0x5acae8(0x1d9)](_0xd93caf);}[_0x4e2a07(0x237)](_0x33b7e0,_0x3826e1){const _0xadc359=_0x4e2a07;let _0xa83e46=[],_0x5202fa=0x0,_0x514255=0x0;for(;_0x5202fa<_0x33b7e0[_0xadc359(0x1a4)]||_0x514255<_0x3826e1[_0xadc359(0x1a4)];){const _0x4dd3ef=_0x33b7e0[_0x5202fa]||{},_0x358953=_0x3826e1[_0x514255]||{};if(_0x4dd3ef['id']==_0x358953['id'])_0x5202fa++,_0x514255++,_0xa83e46[_0xadc359(0x1d9)](_0x4dd3ef);else{if(_0x358953[_0xadc359(0x1c8)]&&_0x4dd3ef[_0xadc359(0x25b)]){const {commonTape:_0x1cc86a,iEnd:_0x2a076b,jEnd:_0x199563}=this[_0xadc359(0x1e8)](_0x33b7e0,_0x5202fa,_0x3826e1,_0x514255);_0xa83e46=_0xa83e46[_0xadc359(0x1df)](_0x1cc86a),_0x5202fa=_0x2a076b,_0x514255=_0x199563;}else _0x358953[_0xadc359(0x1c8)]?(_0x514255++,_0xa83e46[_0xadc359(0x1d9)](_0x358953)):(_0x5202fa++,_0xa83e46[_0xadc359(0x1d9)](_0x4dd3ef));}}return _0xa83e46;}[_0x4e2a07(0x1a2)](_0x380536,_0x3a68b1){const _0x4a40d0=_0x4e2a07,_0x22e011=[];for(let _0x2f2497=0x0;_0x2f2497<_0x380536[_0x4a40d0(0x1a4)];_0x2f2497++){for(let _0x3764c2=0x0;_0x3764c2<_0x380536[_0x2f2497][_0x4a40d0(0x1be)][_0x4a40d0(0x1a4)];_0x3764c2++){const _0x150055=_0x380536[_0x2f2497][_0x4a40d0(0x1be)][_0x3764c2];if(!_0x3a68b1[_0x4a40d0(0x19e)](_0x150055))continue;const {group:_0x8ad2a3,type:_0x472218,authorId:_0x3d997d}=_0x22025d(_0x150055);_0x4a40d0(0x216)!=_0x8ad2a3||_0x4a40d0(0x15c)!=_0x472218&&_0x4a40d0(0x171)!=_0x472218||(_0x22e011[_0x4a40d0(0x1e2)]({'type':_0x472218,'name':_0x150055,'userId':_0x3d997d}),_0x380536[_0x2f2497][_0x4a40d0(0x1be)][_0x4a40d0(0x1e0)](_0x3764c2,0x1),_0x3764c2--);}_0x3bd146(_0x380536[_0x2f2497]);for(let _0x121897=0x0;_0x121897<_0x380536[_0x2f2497][_0x4a40d0(0x158)][_0x4a40d0(0x1a4)];_0x121897++){const _0x4462b5=_0x380536[_0x2f2497][_0x4a40d0(0x158)][_0x121897];if(!_0x3a68b1[_0x4a40d0(0x19e)](_0x4462b5))continue;const {group:_0xed525b,type:_0x5cf2b2}=_0x22025d(_0x4462b5);if(_0x4a40d0(0x216)!=_0xed525b||_0x4a40d0(0x15c)!=_0x5cf2b2&&_0x4a40d0(0x171)!=_0x5cf2b2)continue;_0x380536[_0x2f2497][_0x4a40d0(0x158)][_0x4a40d0(0x1e0)](_0x121897,0x1),_0x121897--;const _0x2f2a78=_0x22e011[_0x4a40d0(0x1c5)](_0x179008=>_0x179008[_0x4a40d0(0x221)]==_0x4462b5);_0x2f2a78>-0x1&&_0x22e011[_0x4a40d0(0x1e0)](_0x2f2a78,0x1);}}function _0x22025d(_0xe20c3c){const _0x53eb6c=_0x4a40d0,_0x3d14dd=_0xe20c3c[_0x53eb6c(0x15b)](':');return{'group':_0x3d14dd[0x0],'type':_0x3d14dd[0x1],'subType':_0x3d14dd[_0x53eb6c(0x1a4)]>=0x5?_0x3d14dd[0x2]:null,'id':_0x3d14dd[_0x53eb6c(0x1a4)]<0x5?_0x3d14dd[0x2]:_0x3d14dd[0x3],'authorId':_0x3d14dd[_0x53eb6c(0x1a4)]<0x5?_0x3d14dd[0x3]:_0x3d14dd[0x4],'markerCount':0x6==_0x3d14dd[_0x53eb6c(0x1a4)]?_0x3d14dd[0x5]:null};}function _0x3bd146(_0x128681){const _0x25e3d1=_0x4a40d0;for(let _0x29af8f=0x0;_0x29af8f<_0x22e011[_0x25e3d1(0x1a4)];_0x29af8f++){if(_0x128681[_0x25e3d1(0x25b)]&&_0x25e3d1(0x15c)==_0x22e011[_0x29af8f][_0x25e3d1(0x1f3)])return _0x128681[_0x25e3d1(0x16b)]=_0x22e011[_0x29af8f],void delete _0x128681[_0x25e3d1(0x25b)];if(!_0x128681[_0x25e3d1(0x25b)]&&!_0x128681[_0x25e3d1(0x1c8)]&&_0x25e3d1(0x171)==_0x22e011[_0x29af8f][_0x25e3d1(0x1f3)])return void(_0x128681[_0x25e3d1(0x218)]=_0x22e011[_0x29af8f]);}}}[_0x4e2a07(0x19c)](_0x3821b8,_0x54e4e3){const _0x374e88=_0x4e2a07;let _0xf5b08f=0x0,_0x5e0d1a=!0x1;const _0x4e9562=new Map();for(const _0x1d0c60 of _0x3821b8)_0x1d0c60[_0x54e4e3]?_0x5e0d1a&&(_0xf5b08f++,_0x5e0d1a=!0x1):(_0xf5b08f++,_0x5e0d1a=!0x0),_0x4e9562[_0x374e88(0x155)](_0x1d0c60['id'],_0xf5b08f);for(let _0x114a5f=0x0;_0x114a5f<_0x3821b8[_0x374e88(0x1a4)];_0x114a5f++){if(_0x374e88(0x1c8)==_0x54e4e3&&_0x3821b8[_0x114a5f][_0x374e88(0x25b)]||_0x374e88(0x25b)==_0x54e4e3&&_0x3821b8[_0x114a5f][_0x374e88(0x1c8)])continue;if(_0x374e88(0x202)==_0x3821b8[_0x114a5f][_0x374e88(0x1f3)]){_0x3821b8[_0x114a5f][_0x374e88(0x26d)]=0x0;continue;}const _0x2344a9=_0x4e9562[_0x374e88(0x226)](_0x3821b8[_0x114a5f][_0x374e88(0x23c)]),_0x562a51=_0x4e9562[_0x374e88(0x226)](_0x3821b8[_0x114a5f]['id']);_0x3821b8[_0x114a5f][_0x374e88(0x26d)]=_0x2344a9-_0x562a51;}}[_0x4e2a07(0x278)](_0x40e5f7,_0x4a53ef,_0x55fbdc=!0x1){const _0x2b4f13=_0x4e2a07,_0x22fa05=[];let _0x409411=this[_0x2b4f13(0x26b)][_0x2b4f13(0x27a)](_0x40e5f7),_0x4ffa5f=this[_0x2b4f13(0x26b)][_0x2b4f13(0x27a)](_0x4a53ef);for(-0x1==_0x4ffa5f&&(_0x4ffa5f=this[_0x2b4f13(0x26b)][_0x2b4f13(0x191)][_0x2b4f13(0x1a4)],_0x55fbdc=!0x1);_0x409411<_0x4ffa5f;)_0x22fa05[_0x2b4f13(0x1d9)](this[_0x2b4f13(0x26b)][_0x2b4f13(0x267)](_0x409411)),_0x409411++;return _0x55fbdc&&_0x22fa05[_0x2b4f13(0x1d9)](this[_0x2b4f13(0x26b)][_0x2b4f13(0x267)](_0x409411)),_0x22fa05;}[_0x4e2a07(0x1e8)](_0xe36b9a,_0x12ab0f,_0x488cbc,_0x59508f){const _0xb1f543=_0x4e2a07,_0x56e61f=this[_0xb1f543(0x21f)][_0xb1f543(0x1b0)][_0xb1f543(0x1b1)];let _0x50ee88=_0x12ab0f;for(;_0xe36b9a[_0x50ee88]&&_0xe36b9a[_0x50ee88][_0xb1f543(0x25b)];)_0x50ee88++;let _0x3de997=_0x59508f;for(;_0x488cbc[_0x3de997]&&_0x488cbc[_0x3de997][_0xb1f543(0x1c8)];)_0x3de997++;_0x24aa87(_0xe36b9a,_0x12ab0f,_0x50ee88),_0x24aa87(_0x488cbc,_0x59508f,_0x3de997);const _0x2c545b=_0x488cbc[_0xb1f543(0x1eb)](_0x59508f,_0x3de997)[_0xb1f543(0x1df)](_0xe36b9a[_0xb1f543(0x1eb)](_0x12ab0f,_0x50ee88));return _0x2c545b[_0xb1f543(0x156)]((_0x162316,_0x181836)=>_0x162316[_0xb1f543(0x1d6)]!=_0x181836[_0xb1f543(0x1d6)]?_0x162316[_0xb1f543(0x1d6)]-_0x181836[_0xb1f543(0x1d6)]:_0x162316[_0xb1f543(0x24e)]!=_0x181836[_0xb1f543(0x24e)]?_0x162316[_0xb1f543(0x24e)]-_0x181836[_0xb1f543(0x24e)]:_0x162316[_0xb1f543(0x26d)]!=_0x181836[_0xb1f543(0x26d)]?_0x181836[_0xb1f543(0x26d)]-_0x162316[_0xb1f543(0x26d)]:!!_0x162316[_0xb1f543(0x25b)]!=!!_0x181836[_0xb1f543(0x25b)]?-0x1==_0x162316[_0xb1f543(0x1d6)]||0x0==_0x162316[_0xb1f543(0x1d6)]?_0x162316[_0xb1f543(0x25b)]?-0x1:0x1:_0x162316[_0xb1f543(0x25b)]?0x1:-0x1:_0x162316[_0xb1f543(0x1e6)]-_0x181836[_0xb1f543(0x1e6)]),{'commonTape':_0x2c545b,'iEnd':_0x50ee88,'jEnd':_0x3de997};function _0x24aa87(_0x52b581,_0x317486,_0x43c7b6){const _0xe5a51d=_0xb1f543;let _0x17ca7c=-0x1,_0x5dc439=Number[_0xe5a51d(0x1ff)],_0x568292=!0x0;for(let _0x2a61ee=_0x317486;_0x2a61ee<_0x43c7b6;_0x2a61ee++)if(_0x56e61f[_0xe5a51d(0x1e1)](_0x52b581[_0x2a61ee][_0xe5a51d(0x1ed)])||(_0x568292=!0x1),_0x52b581[_0x2a61ee][_0xe5a51d(0x1ed)][_0xe5a51d(0x1ea)]<_0x317486&&(_0x17ca7c=_0x2a61ee),_0x52b581[_0x2a61ee][_0xe5a51d(0x1ed)][_0xe5a51d(0x25f)]>=_0x43c7b6){_0x5dc439=_0x2a61ee;break;}_0x568292&&(_0x17ca7c=_0x43c7b6-0x1);for(let _0x429470=_0x317486;_0x429470<_0x43c7b6;_0x429470++)_0x52b581[_0x429470][_0xe5a51d(0x1d6)]=_0x429470<=_0x17ca7c?-0x1:_0x429470<_0x5dc439?0x0:0x1,_0x52b581[_0x429470][_0xe5a51d(0x1e6)]=_0x429470;let _0x4bc059=0x0;for(let _0x485722=_0x317486;_0x485722<=_0x17ca7c;_0x485722++)0x0==_0x52b581[_0x485722][_0xe5a51d(0x26d)]?_0x52b581[_0x485722][_0xe5a51d(0x24e)]=_0x4bc059:(_0x4bc059++,_0x52b581[_0x485722][_0xe5a51d(0x24e)]=_0x4bc059,_0x4bc059++);for(let _0x5da714=_0x317486;_0x5da714<_0x43c7b6;_0x5da714++)0x0==_0x52b581[_0x5da714][_0xe5a51d(0x1d6)]&&(_0x52b581[_0x5da714][_0xe5a51d(0x24e)]=_0x4bc059);_0x4bc059=0x0;for(let _0x53bbdf=_0x43c7b6-0x1;_0x53bbdf>=_0x5dc439;_0x53bbdf--)0x0==_0x52b581[_0x53bbdf][_0xe5a51d(0x26d)]?_0x52b581[_0x53bbdf][_0xe5a51d(0x24e)]=_0x4bc059:(_0x4bc059--,_0x52b581[_0x53bbdf][_0xe5a51d(0x24e)]=_0x4bc059,_0x4bc059--);}}[_0x4e2a07(0x16a)](_0x58b25c){const _0x357edf=_0x4e2a07,_0x44a948=new Map(),_0xc9ef68=this[_0x357edf(0x21f)][_0x357edf(0x1b0)][_0x357edf(0x1b1)];for(let _0x117908=0x1;_0x117908<_0x58b25c[_0x357edf(0x1a4)];_0x117908++){let _0x94db93,_0x5bd43d,_0x529881;const _0x541b85=_0x58b25c[_0x117908],_0x4f5df7=_0x58b25c[_0x117908-0x1];if(_0x357edf(0x202)==_0x541b85[_0x357edf(0x1f3)])continue;if(_0x541b85[_0x357edf(0x1f3)]!=_0x4f5df7[_0x357edf(0x1f3)])continue;if(!_0xc9ef68[_0x357edf(0x147)](_0x4f5df7[_0x357edf(0x1ed)])||_0xc9ef68[_0x357edf(0x1aa)](_0x4f5df7[_0x357edf(0x1ed)]))continue;if(!_0xc9ef68[_0x357edf(0x147)](_0x541b85[_0x357edf(0x1ed)])||_0xc9ef68[_0x357edf(0x1aa)](_0x541b85[_0x357edf(0x1ed)]))continue;if((_0x58b25c[_0x117908][_0x357edf(0x25b)]||_0x58b25c[_0x117908][_0x357edf(0x16b)])&&_0x58b25c[_0x117908-0x1][_0x357edf(0x1c8)])_0x94db93=_0x58b25c[_0x117908],_0x5bd43d=_0x58b25c[_0x117908-0x1],_0x529881=_0x117908-0x1;else{if(!_0x58b25c[_0x117908][_0x357edf(0x1c8)]||!_0x58b25c[_0x117908-0x1][_0x357edf(0x25b)]&&!_0x58b25c[_0x117908-0x1][_0x357edf(0x16b)])continue;_0x94db93=_0x58b25c[_0x117908-0x1],_0x5bd43d=_0x58b25c[_0x117908],_0x529881=_0x117908;}const _0x135f0d=_0x94db93[_0x357edf(0x24e)]==_0x5bd43d[_0x357edf(0x24e)],_0x492387=Math[_0x357edf(0x151)](_0x94db93[_0x357edf(0x24e)])<Math[_0x357edf(0x151)](_0x5bd43d[_0x357edf(0x24e)])&&0x0==_0x5bd43d[_0x357edf(0x26d)];(_0x135f0d||_0x492387)&&(_0x44a948[_0x357edf(0x155)](_0x5bd43d['id'],_0x94db93['id']),_0x58b25c[_0x357edf(0x1e0)](_0x529881,0x1),_0x117908--,_0x94db93[_0x357edf(0x25b)]=!0x1);}for(let _0x16a23b=0x0;_0x16a23b<_0x58b25c[_0x357edf(0x1a4)];_0x16a23b++)_0x44a948[_0x357edf(0x19e)](_0x58b25c[_0x16a23b][_0x357edf(0x23c)])&&(_0x58b25c[_0x16a23b][_0x357edf(0x23c)]=_0x44a948[_0x357edf(0x226)](_0x58b25c[_0x16a23b][_0x357edf(0x23c)]));}[_0x4e2a07(0x243)](_0x309009){const _0x9e7c2d=_0x4e2a07,_0x3404f9=new Set(_0x309009[_0x9e7c2d(0x1a5)](_0x2d229f=>_0x2d229f['id']));for(let _0x5e9c34=0x0;_0x5e9c34<_0x309009[_0x9e7c2d(0x1a4)];_0x5e9c34++)_0x3404f9[_0x9e7c2d(0x19e)](_0x309009[_0x5e9c34][_0x9e7c2d(0x23c)])||0x0==_0x309009[_0x5e9c34][_0x9e7c2d(0x26d)]||(_0x309009[_0x5e9c34][_0x9e7c2d(0x14d)]=!0x0);return _0x309009[_0x9e7c2d(0x1c0)](_0x29f2ad=>!_0x29f2ad[_0x9e7c2d(0x14d)]);}[_0x4e2a07(0x252)](_0x31fd81){const _0x51e6ba=_0x4e2a07,_0x4bb077=new Set();for(let _0x22bb2b=0x0;_0x22bb2b<_0x31fd81[_0x51e6ba(0x1a4)];_0x22bb2b++){if(_0x4bb077[_0x51e6ba(0x19e)](_0x31fd81[_0x22bb2b]['id'])&&_0x31fd81[_0x22bb2b][_0x51e6ba(0x1c8)]&&(_0x31fd81[_0x22bb2b][_0x51e6ba(0x14d)]=!0x0),_0x31fd81[_0x22bb2b][_0x51e6ba(0x14d)])continue;if(0x0==_0x31fd81[_0x22bb2b][_0x51e6ba(0x26d)])continue;if(_0x51e6ba(0x1e9)!=_0x31fd81[_0x22bb2b][_0x51e6ba(0x1f3)])continue;if(null==_0x31fd81[_0x22bb2b][_0x51e6ba(0x23c)])continue;let _0x1a4265=_0x22bb2b+0x1,_0x1de5d8=0x0;for(;_0x31fd81[_0x1a4265]['id']!=_0x31fd81[_0x22bb2b][_0x51e6ba(0x23c)];)_0x51e6ba(0x1e9)==_0x31fd81[_0x1a4265][_0x51e6ba(0x1f3)]?_0x1de5d8++:_0x51e6ba(0x22d)==_0x31fd81[_0x1a4265][_0x51e6ba(0x1f3)]&&_0x1de5d8--,_0x1a4265++;if(0x0!=_0x1de5d8){if(_0x31fd81[_0x22bb2b][_0x51e6ba(0x1c8)])_0x31fd81[_0x22bb2b][_0x51e6ba(0x14d)]=!0x0;else{for(;_0x1a4265!=_0x22bb2b;)_0x31fd81[_0x1a4265][_0x51e6ba(0x1c8)]&&0x0!=_0x31fd81[_0x1a4265][_0x51e6ba(0x26d)]&&(_0x31fd81[_0x1a4265][_0x51e6ba(0x14d)]=!0x0,_0x4bb077[_0x51e6ba(0x23d)](_0x31fd81[_0x1a4265][_0x51e6ba(0x23c)])),_0x1a4265--;}}}return _0x31fd81[_0x51e6ba(0x1c0)](_0x3ddb4c=>!_0x3ddb4c[_0x51e6ba(0x14d)]);}[_0x4e2a07(0x28c)](_0x2d74f5){const _0xb54676=_0x4e2a07,_0x10f484=this[_0xb54676(0x21f)][_0xb54676(0x1b0)][_0xb54676(0x1b1)];for(let _0x46c2b1=0x0;_0x46c2b1<_0x2d74f5[_0xb54676(0x1a4)];_0x46c2b1++){if(!(_0x2d74f5[_0x46c2b1][_0xb54676(0x25b)]||_0x2d74f5[_0x46c2b1][_0xb54676(0x16b)]||_0x2d74f5[_0x46c2b1][_0xb54676(0x1c8)]||_0x2d74f5[_0x46c2b1][_0xb54676(0x218)]))continue;if(0x0==_0x2d74f5[_0x46c2b1][_0xb54676(0x26d)])continue;const _0x3aac15=_0x2d74f5[_0x46c2b1][_0xb54676(0x1ed)];_0x10f484[_0xb54676(0x147)](_0x3aac15)||_0x10f484[_0xb54676(0x1aa)](_0x3aac15)||(_0x2d74f5[_0x46c2b1][_0xb54676(0x25b)]&&delete _0x2d74f5[_0x46c2b1][_0xb54676(0x25b)],_0x2d74f5[_0x46c2b1][_0xb54676(0x16b)]&&delete _0x2d74f5[_0x46c2b1][_0xb54676(0x16b)],_0x2d74f5[_0x46c2b1][_0xb54676(0x218)]&&delete _0x2d74f5[_0x46c2b1][_0xb54676(0x218)],_0x2d74f5[_0x46c2b1][_0xb54676(0x1c8)]&&(_0x2d74f5[_0x46c2b1][_0xb54676(0x14d)]=!0x0));}return _0x2d74f5[_0xb54676(0x1c0)](_0x407e7e=>!_0x407e7e[_0xb54676(0x14d)]);}[_0x4e2a07(0x1b5)](_0xc79d1,_0x33d338,_0x30d001){const _0x50b14e=_0x4e2a07,_0x5a7129=new _0x1d017f(),_0x130e69=[],_0x5b849f=new Map(),_0x234be9=this[_0x50b14e(0x21f)][_0x50b14e(0x1b0)],_0xd4bd9c=_0x234be9[_0x50b14e(0x1b1)],_0x38c7aa=[_0x5a7129],_0xb13aaa={},_0x4d5a06={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x19f6f8=null;const _0x3c4bd4=[0x0];for(let _0xc535e9=0x0;_0xc535e9<_0xc79d1[_0x50b14e(0x1a4)];_0xc535e9++){let _0x3fca5b,_0x1b804d;if(_0x50b14e(0x1e9)===_0xc79d1[_0xc535e9][_0x50b14e(0x1f3)]){_0x3fca5b=_0x234be9[_0x50b14e(0x14a)](_0x5a7129,_0x3c4bd4);const _0x20b04d=new _0x5a3d1f(_0xc79d1[_0xc535e9][_0x50b14e(0x1ed)][_0x50b14e(0x221)],_0xc79d1[_0xc535e9][_0x50b14e(0x1ed)][_0x50b14e(0x275)]());_0x38c7aa[0x0][_0x50b14e(0x231)](_0x20b04d),_0x3c4bd4[_0x50b14e(0x1d9)](0x0),_0x38c7aa[_0x50b14e(0x1e2)](_0x20b04d),_0x1b804d=_0x234be9[_0x50b14e(0x14a)](_0x5a7129,_0x3c4bd4),_0x19f6f8=null;}else{if(_0x50b14e(0x22d)===_0xc79d1[_0xc535e9][_0x50b14e(0x1f3)])_0x38c7aa[_0x50b14e(0x274)](),_0x3fca5b=_0x234be9[_0x50b14e(0x14a)](_0x5a7129,_0x3c4bd4),_0x3c4bd4[_0x50b14e(0x240)](),_0x3c4bd4[_0x3c4bd4[_0x50b14e(0x1a4)]-0x1]++,_0x1b804d=_0x234be9[_0x50b14e(0x14a)](_0x5a7129,_0x3c4bd4),_0x19f6f8=null;else{if(_0x3fca5b=_0x234be9[_0x50b14e(0x14a)](_0x5a7129,_0x3c4bd4),_0x19f6f8&&_0x4d0481(_0x19f6f8,_0xc79d1[_0xc535e9][_0x50b14e(0x1ed)]))_0x19f6f8[_0x50b14e(0x184)]+=_0xc79d1[_0xc535e9][_0x50b14e(0x1ed)][_0x50b14e(0x284)];else{const _0x53a3d9=new _0x3d89c3(_0xc79d1[_0xc535e9][_0x50b14e(0x1ed)][_0x50b14e(0x284)],_0xc79d1[_0xc535e9][_0x50b14e(0x1ed)][_0x50b14e(0x275)]());_0x38c7aa[0x0][_0x50b14e(0x231)](_0x53a3d9),_0x19f6f8=_0x53a3d9;}_0x3c4bd4[_0x3c4bd4[_0x50b14e(0x1a4)]-0x1]+=_0xc79d1[_0xc535e9][_0x50b14e(0x1ed)][_0x50b14e(0x204)],_0x1b804d=_0x234be9[_0x50b14e(0x14a)](_0x5a7129,_0x3c4bd4);}}for(const _0x5b6aea of _0xc79d1[_0xc535e9][_0x50b14e(0x1be)])_0x5b849f[_0x50b14e(0x155)](_0x5b6aea,{'start':_0x3fca5b,'end':null});_0x4e3544(_0x50b14e(0x218),_0xc535e9,_0x3fca5b,_0x1b804d),_0x4e3544(_0x50b14e(0x16b),_0xc535e9,_0x3fca5b,_0x1b804d),_0x4e3544(_0x50b14e(0x1c8),_0xc535e9,_0x3fca5b,_0x1b804d),_0x4e3544(_0x50b14e(0x25b),_0xc535e9,_0x3fca5b,_0x1b804d);for(const _0x32f5b5 of _0xc79d1[_0xc535e9][_0x50b14e(0x158)]){_0x5b849f[_0x50b14e(0x226)](_0x32f5b5)[_0x50b14e(0x1d7)]=_0x1b804d;}}for(const [_0x1b36cb,_0x11dea8]of _0x5b849f){const _0xe8bf96=this[_0x50b14e(0x21f)][_0x50b14e(0x1b0)][_0x50b14e(0x292)](_0x11dea8[_0x50b14e(0x238)],_0x11dea8[_0x50b14e(0x1d7)]);_0x5a7129[_0x50b14e(0x1ab)][_0x50b14e(0x155)](_0x1b36cb,_0xe8bf96);}return _0x130e69[_0x50b14e(0x156)]((_0x1312d0,_0x539433)=>{const _0x4836a2=_0x50b14e,_0x554c0c=_0x5a7129[_0x4836a2(0x1ab)][_0x4836a2(0x226)](_0x4836a2(0x196)+_0x1312d0['id']),_0x4d3e69=_0x5a7129[_0x4836a2(0x1ab)][_0x4836a2(0x226)](_0x4836a2(0x196)+_0x539433['id']);return _0x554c0c[_0x4836a2(0x238)][_0x4836a2(0x173)](_0x4d3e69[_0x4836a2(0x238)])?-0x1:_0x554c0c[_0x4836a2(0x238)][_0x4836a2(0x21c)](_0x4d3e69[_0x4836a2(0x238)])?0x1:_0x554c0c[_0x4836a2(0x1d7)][_0x4836a2(0x173)](_0x4d3e69[_0x4836a2(0x1d7)])?-0x1:_0x554c0c[_0x4836a2(0x1d7)][_0x4836a2(0x21c)](_0x4d3e69[_0x4836a2(0x1d7)])?0x1:_0x4836a2(0x23d)===_0x1312d0[_0x4836a2(0x1f3)]?-0x1:0x1;}),{'root':_0x5a7129,'changes':_0x130e69};function _0x4e3544(_0x4bafa6,_0x4ecefe,_0x310bd,_0x12e9b0){const _0x26ea19=_0x50b14e,_0x1ea776=!!_0xc79d1[_0x4ecefe][_0x4bafa6],_0x406210=_0x1ea776?_0xc79d1[_0x4ecefe][_0x4bafa6][_0x26ea19(0x20b)]:null,_0x173198=_0x4ecefe===_0xc79d1[_0x26ea19(0x1a4)]-0x1,_0x570c97=_0x4d5a06[_0x4bafa6][0x0],_0x52f474=_0xd4bd9c[_0x26ea19(0x22e)](_0xc79d1[_0x4ecefe][_0x26ea19(0x1ed)]);!_0xb13aaa[_0x4bafa6]&&_0x1ea776?_0xb13aaa[_0x4bafa6]={'start':_0x310bd,'tapeItem':_0xc79d1[_0x4ecefe],'userId':_0x406210,'type':_0x4bafa6}:_0xb13aaa[_0x4bafa6]&&!_0x1ea776?(_0xb13aaa[_0x4bafa6][_0x26ea19(0x1d7)]=_0x310bd,_0x545d99(_0xb13aaa[_0x4bafa6]),_0xb13aaa[_0x4bafa6]=null):_0xb13aaa[_0x4bafa6]&&_0x1ea776&&_0xb13aaa[_0x4bafa6][_0x26ea19(0x20b)]!==_0x406210&&(_0xb13aaa[_0x4bafa6][_0x26ea19(0x1d7)]=_0x310bd,_0x570c97&&_0x570c97[_0x26ea19(0x20b)]===_0xb13aaa[_0x4bafa6][_0x26ea19(0x20b)]||_0x545d99(_0xb13aaa[_0x4bafa6]),_0xb13aaa[_0x4bafa6]={'start':_0x310bd,'tapeItem':_0xc79d1[_0x4ecefe],'userId':_0x406210,'type':_0x4bafa6}),_0xb13aaa[_0x4bafa6]&&_0x52f474&&(_0x26ea19(0x1e9)!==_0xc79d1[_0x4ecefe][_0x26ea19(0x1f3)]||_0x570c97&&_0x570c97[_0x26ea19(0x20b)]===_0x406210||_0x4d5a06[_0x4bafa6][_0x26ea19(0x1e2)]({'userId':_0x406210,'object':_0xc79d1[_0x4ecefe][_0x26ea19(0x1ed)],'change':_0xb13aaa[_0x4bafa6]}),_0x26ea19(0x22d)===_0xc79d1[_0x4ecefe][_0x26ea19(0x1f3)]&&_0x570c97&&_0x570c97[_0x26ea19(0x234)]===_0xc79d1[_0x4ecefe][_0x26ea19(0x1ed)]&&(_0x4d5a06[_0x4bafa6][_0x26ea19(0x274)](),_0xb13aaa[_0x4bafa6]=_0x570c97[_0x26ea19(0x187)])),_0xb13aaa[_0x4bafa6]&&_0x173198&&(_0xb13aaa[_0x4bafa6][_0x26ea19(0x1d7)]=_0x12e9b0,_0x545d99(_0xb13aaa[_0x4bafa6]),_0xb13aaa[_0x4bafa6]=null);}function _0x545d99({start:_0x225123,end:_0x3a2ab8,tapeItem:_0x102327,userId:_0x1706dd,type:_0x2e789d}){const _0x2daa06=_0x50b14e,_0x2276ea=_0x102327[_0x2daa06(0x1ed)],_0x3d5c19=_0x234be9[_0x2daa06(0x1b1)][_0x2daa06(0x147)](_0x2276ea)&&!_0x234be9[_0x2daa06(0x1b1)][_0x2daa06(0x1aa)](_0x2276ea),_0x56dfc4=_0x225123[_0x2daa06(0x165)]==_0x3a2ab8[_0x2daa06(0x1f6)]&&_0x3a2ab8[_0x2daa06(0x233)];if(_0x3d5c19&&_0x56dfc4)return;const _0x37ebb1=_0x234be9[_0x2daa06(0x292)](_0x225123,_0x3a2ab8),_0x2917a3=_0x33d338[_0x2daa06(0x226)](_0x1706dd),_0x23f98d=new _0x3cf76e({'author':_0x2917a3,'type':_0x2daa06(0x25b)==_0x2e789d||_0x2daa06(0x16b)==_0x2e789d?_0x2daa06(0x23d):_0x2daa06(0x1ee),'data':{'isSuggestion':_0x2daa06(0x16b)==_0x2e789d||_0x2daa06(0x218)==_0x2e789d},'createdAt':new Date(),'rootName':_0x30d001});_0x130e69[_0x2daa06(0x1d9)](_0x23f98d),_0x5a7129[_0x2daa06(0x1ab)][_0x2daa06(0x155)](_0x2daa06(0x196)+_0x23f98d['id'],_0x37ebb1);}function _0x4d0481(_0x5298ec,_0xc05b8a){const _0x253d97=_0x50b14e,_0x4f3a27=_0x5298ec[_0x253d97(0x275)](),_0x3cdcd9=_0xc05b8a[_0x253d97(0x275)]();for(const _0x120719 of _0x4f3a27){if(_0x120719[0x1]!==_0xc05b8a[_0x253d97(0x244)](_0x120719[0x0]))return!0x1;_0x3cdcd9[_0x253d97(0x23b)]();}return _0x3cdcd9[_0x253d97(0x23b)]()[_0x253d97(0x286)];}}[_0x4e2a07(0x1c2)](){const _0x17ab61=_0x4e2a07;this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x190))[_0x17ab61(0x242)]({'view':_0x17ab61(0x157)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x1c1))[_0x17ab61(0x189)]({'model':_0x17ab61(0x157),'view':_0x1f05c7=>{const _0x1379b9=_0x17ab61,_0x761bd9=_0x1f05c7[_0x1379b9(0x1da)][_0x1379b9(0x15b)](':')[0x1],_0x6e6e31=this[_0x1379b9(0x185)](_0x761bd9);if(!_0x6e6e31)return null;const _0x5020b1=_0x1379b9(0x23d)==_0x6e6e31[_0x1379b9(0x1f3)]?_0x1379b9(0x15c):_0x1379b9(0x171),_0x2e6b02=[_0x1379b9(0x1bd),_0x1379b9(0x235)+_0x5020b1];return _0x6e6e31[_0x1379b9(0x284)][_0x1379b9(0x177)]&&_0x2e6b02[_0x1379b9(0x1d9)](_0x1379b9(0x235)+_0x5020b1+_0x1379b9(0x24c)),this[_0x1379b9(0x1a1)]==_0x6e6e31&&_0x2e6b02[_0x1379b9(0x1d9)](_0x1379b9(0x1f4)),{'classes':_0x2e6b02,'attributes':{'data-change-id':_0x761bd9}};}}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x190))[_0x17ab61(0x23d)](_0x302087=>{const _0x559c27=_0x17ab61;_0x302087['on'](_0x559c27(0x223),(_0x23bbae,_0x222203,_0xffdcaf)=>{const _0x2fb653=_0x559c27,_0x23eda7=_0x222203[_0x2fb653(0x199)][_0x2fb653(0x255)](0x0);if(!_0x23eda7||!_0x23eda7['is'](_0x2fb653(0x24a),_0x2fb653(0x206)))return;if(!_0xffdcaf[_0x2fb653(0x27e)][_0x2fb653(0x1b8)](_0x23eda7,{'attributes':[_0x2fb653(0x198),_0x2fb653(0x1a7)]}))return;const _0x56a8f1=_0x222203[_0x2fb653(0x1b7)][_0x2fb653(0x238)][_0x2fb653(0x165)];_0xffdcaf[_0x2fb653(0x212)][_0x2fb653(0x1fa)](_0x2fb653(0x198),_0x23eda7[_0x2fb653(0x244)](_0x2fb653(0x198)),_0x56a8f1),_0xffdcaf[_0x2fb653(0x212)][_0x2fb653(0x1fa)](_0x2fb653(0x1a7),_0x23eda7[_0x2fb653(0x244)](_0x2fb653(0x1a7)),_0x56a8f1);},{'priority':_0x559c27(0x248)});}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x190))[_0x17ab61(0x23d)](_0x2d310d=>{const _0x2a13d1=_0x17ab61;_0x2d310d['on'](_0x2a13d1(0x24a),(_0x646606,_0x31b676,_0x3b1648)=>{const _0x2398c8=_0x2a13d1;if(!_0x3b1648[_0x2398c8(0x27e)][_0x2398c8(0x1b8)](_0x31b676[_0x2398c8(0x199)],{'attributes':[_0x2398c8(0x198),_0x2398c8(0x1a7)]}))return;if(_0x31b676[_0x2398c8(0x1b7)][_0x2398c8(0x22b)])return;const _0x4d1b50=_0x31b676[_0x2398c8(0x1b7)][_0x2398c8(0x238)][_0x2398c8(0x165)];_0x4d1b50[_0x2398c8(0x20a)](_0x2398c8(0x198))||_0x4d1b50[_0x2398c8(0x20a)](_0x2398c8(0x282))||(_0x3b1648[_0x2398c8(0x212)][_0x2398c8(0x1fa)](_0x2398c8(0x198),_0x31b676[_0x2398c8(0x199)][_0x2398c8(0x244)](_0x2398c8(0x198)),_0x4d1b50),_0x3b1648[_0x2398c8(0x212)][_0x2398c8(0x1fa)](_0x2398c8(0x1a7),_0x31b676[_0x2398c8(0x199)][_0x2398c8(0x244)](_0x2398c8(0x1a7)),_0x4d1b50));},{'priority':_0x2a13d1(0x248)});}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x190))[_0x17ab61(0x1c3)]({'view':{'name':_0x17ab61(0x1fc),'attributes':{'vid':!0x0}},'model':{'key':_0x17ab61(0x282),'value':_0x5d4b24=>_0x5d4b24[_0x17ab61(0x244)](_0x17ab61(0x282))}}),this[_0x17ab61(0x21f)][_0x17ab61(0x1b0)][_0x17ab61(0x1b1)]['on'](_0x17ab61(0x241),(_0x282771,[,_0x12e5fd])=>{const _0x19fdd2=_0x17ab61;[_0x19fdd2(0x198),_0x19fdd2(0x1a7),_0x19fdd2(0x282)][_0x19fdd2(0x149)](_0x12e5fd)&&(_0x282771[_0x19fdd2(0x1a6)]=!0x0,_0x282771[_0x19fdd2(0x194)]());},{'priority':_0x17ab61(0x1ec)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x291))[_0x17ab61(0x23d)](_0x55ada5=>{const _0x2e7c6b=_0x17ab61;_0x55ada5['on'](_0x2e7c6b(0x269),(_0x4d672f,_0x6d9b36,_0x4afc2a)=>{const _0x43936f=_0x2e7c6b;if('\x20'!=_0x6d9b36[_0x43936f(0x1ed)][_0x43936f(0x284)]||_0x6d9b36[_0x43936f(0x1ed)][_0x43936f(0x1f6)][_0x43936f(0x251)]>0x1)return;if(!_0x4afc2a[_0x43936f(0x27e)][_0x43936f(0x1b8)](_0x6d9b36[_0x43936f(0x1ed)],_0x4d672f[_0x43936f(0x221)]))return;const _0x5b7300=_0x4afc2a[_0x43936f(0x212)],_0x34aad9=_0x4afc2a[_0x43936f(0x1fe)][_0x43936f(0x17c)](_0x6d9b36[_0x43936f(0x175)]);_0x5b7300[_0x43936f(0x254)](_0x34aad9,_0x5b7300[_0x43936f(0x24f)](_0x43936f(0x1fc)));});}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x291))[_0x17ab61(0x1cf)]({'model':_0x17ab61(0x157)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1c7)][_0x17ab61(0x210)]['on'](_0x17ab61(0x258),function(_0x1f4096){const _0x291b81=_0x17ab61,_0xbe4b1a=_0x1f4096[_0x291b81(0x28a)][_0x291b81(0x226)](_0x291b81(0x27f));return(_0x3107df,_0x259f2a,_0x38bbc9)=>{const _0x577d85=_0x291b81,_0x527370=_0x259f2a[_0x577d85(0x1da)][_0x577d85(0x15b)](':')[0x1],_0x4e6387=_0xbe4b1a[_0x577d85(0x185)](_0x527370);if(!_0x4e6387)return null;const _0x17ee11=_0x577d85(0x23d)==_0x4e6387[_0x577d85(0x1f3)]?_0x577d85(0x15b):_0x577d85(0x174);if(!_0x38bbc9[_0x577d85(0x27e)][_0x577d85(0x1af)](_0x259f2a[_0x577d85(0x230)],_0x3107df[_0x577d85(0x221)]))return;const _0x36628b=_0x259f2a[_0x577d85(0x230)][_0x577d85(0x18d)](),_0x1e1c05=_0x259f2a[_0x577d85(0x230)][_0x577d85(0x238)],_0x5f2b14=_0x1f4096[_0x577d85(0x1b0)][_0x577d85(0x1b1)];let _0x4dc954=null,_0x11d993=null,_0x1895e3=!0x1,_0x6ea154=!0x1;for(const _0xf81b63 of _0x36628b){const _0x2ecebd=_0xf81b63[_0x577d85(0x1ed)];_0x1895e3=_0x1895e3||_0x5f2b14[_0x577d85(0x1b4)](_0x2ecebd);const _0x2c2f61=_0x38bbc9[_0x577d85(0x1fe)][_0x577d85(0x26a)](_0x2ecebd);if(_0x2c2f61&&_0x2c2f61[_0x577d85(0x176)](_0x577d85(0x28d)))return;_0x577d85(0x22d)==_0xf81b63[_0x577d85(0x1f3)]&&(_0x5f2b14[_0x577d85(0x147)](_0x2ecebd)&&!_0x5f2b14[_0x577d85(0x1aa)](_0x2ecebd)&&(_0x2ecebd[_0x577d85(0x1f5)]||_0x1e1c05[_0x577d85(0x246)]?_0x4dc954&&_0x4dc954[_0x577d85(0x1f6)]==_0x2ecebd||(_0x4dc954=_0x2ecebd,_0x469855(_0xf81b63[_0x577d85(0x162)]),_0x6ea154=!0x0):_0x11d993=_0x11d993||_0xf81b63[_0x577d85(0x162)]));}function _0x469855(_0x25ea57){const _0x5df85e=_0x577d85,_0x2052df=_0x38bbc9[_0x5df85e(0x212)][_0x5df85e(0x21d)](_0x5df85e(0x1fc),{'class':_0x5df85e(0x235)+_0x17ee11}),_0x412a6b=_0x38bbc9[_0x5df85e(0x1fe)][_0x5df85e(0x17e)](_0x25ea57);_0x4e6387[_0x5df85e(0x284)][_0x5df85e(0x177)]&&_0x38bbc9[_0x5df85e(0x212)][_0x5df85e(0x1b9)](_0x5df85e(0x235)+_0x17ee11+_0x5df85e(0x24c),_0x2052df),_0xbe4b1a[_0x5df85e(0x1a1)]==_0x4e6387&&_0x38bbc9[_0x5df85e(0x212)][_0x5df85e(0x1b9)](_0x5df85e(0x1f4),_0x2052df),_0x38bbc9[_0x5df85e(0x212)][_0x5df85e(0x27c)](_0x412a6b,_0x2052df),_0x38bbc9[_0x5df85e(0x1fe)][_0x5df85e(0x16e)](_0x2052df,_0x259f2a[_0x5df85e(0x1da)]);}_0x1895e3||_0x6ea154||!_0x11d993||_0x469855(_0x11d993);};}(this[_0x17ab61(0x21f)]),{'priority':_0x17ab61(0x1bf)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1c7)][_0x17ab61(0x210)]['on'](_0x17ab61(0x266),(_0x2d4faf,_0x2188a5,_0x27724c)=>{const _0x167eaa=_0x17ab61,_0xafbf97=_0x27724c[_0x167eaa(0x1fe)][_0x167eaa(0x224)](_0x2188a5[_0x167eaa(0x1da)]);if(_0xafbf97){for(const _0x37738b of _0xafbf97)(_0x37738b[_0x167eaa(0x213)](_0x167eaa(0x1fd))||_0x37738b[_0x167eaa(0x213)](_0x167eaa(0x28b)))&&(_0x27724c[_0x167eaa(0x1fe)][_0x167eaa(0x168)](_0x37738b,_0x2188a5[_0x167eaa(0x1da)]),_0x27724c[_0x167eaa(0x212)][_0x167eaa(0x1ee)](_0x37738b));}},{'priority':_0x17ab61(0x1bf)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1c7)][_0x17ab61(0x210)]['on'](_0x17ab61(0x258),(_0xb13299,_0x132444,_0x2189c3)=>{const _0x4070d8=_0x17ab61,_0x1c2973=_0x132444[_0x4070d8(0x1da)][_0x4070d8(0x15b)](':')[0x1],_0x1b47a1=this[_0x4070d8(0x185)](_0x1c2973);if(!_0x1b47a1)return null;const _0xaa7e05=_0x4070d8(0x23d)==_0x1b47a1[_0x4070d8(0x1f3)]?_0x4070d8(0x15b):_0x4070d8(0x174);if(_0x2189c3[_0x4070d8(0x27e)][_0x4070d8(0x1af)](_0x132444[_0x4070d8(0x230)],_0xb13299[_0x4070d8(0x221)]))for(const _0x2af010 of _0x132444[_0x4070d8(0x230)][_0x4070d8(0x288)]()){if(!_0x2af010['is'](_0x4070d8(0x24a),_0x4070d8(0x207)))continue;const _0x294a41=_0x2189c3[_0x4070d8(0x212)][_0x4070d8(0x21d)](_0x4070d8(0x1fc),{'class':_0x4070d8(0x235)+_0xaa7e05}),_0x4723db=_0x2189c3[_0x4070d8(0x1fe)][_0x4070d8(0x17e)](this[_0x4070d8(0x21f)][_0x4070d8(0x1b0)][_0x4070d8(0x289)](_0x2af010));_0x1b47a1[_0x4070d8(0x284)][_0x4070d8(0x177)]&&_0x2189c3[_0x4070d8(0x212)][_0x4070d8(0x1b9)](_0x4070d8(0x235)+_0xaa7e05+_0x4070d8(0x24c),_0x294a41),this[_0x4070d8(0x1a1)]==_0x1b47a1&&_0x2189c3[_0x4070d8(0x212)][_0x4070d8(0x1b9)](_0x4070d8(0x1f4),_0x294a41),_0x2189c3[_0x4070d8(0x212)][_0x4070d8(0x27c)](_0x4723db,_0x294a41),_0x2189c3[_0x4070d8(0x1fe)][_0x4070d8(0x16e)](_0x294a41,_0x132444[_0x4070d8(0x1da)]);}},{'priority':_0x17ab61(0x1bf)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1b0)][_0x17ab61(0x262)]['on'](_0x17ab61(0x187),()=>{const _0x4b11e1=_0x17ab61;this[_0x4b11e1(0x21f)][_0x4b11e1(0x1c7)][_0x4b11e1(0x1a8)][_0x4b11e1(0x187)](_0x1a2132=>{const _0x5347fd=_0x4b11e1;for(const _0x344ef0 of this[_0x5347fd(0x21f)][_0x5347fd(0x1b0)][_0x5347fd(0x262)][_0x5347fd(0x1ba)]()){const _0x41fcf8=this[_0x5347fd(0x21f)][_0x5347fd(0x1b0)][_0x5347fd(0x262)][_0x5347fd(0x14c)](_0x344ef0),_0x405efa=this[_0x5347fd(0x21f)][_0x5347fd(0x1c7)][_0x5347fd(0x1a8)][_0x5347fd(0x262)][_0x5347fd(0x14c)](_0x344ef0);if(_0x405efa){const _0x5e2cf7=_0x41fcf8[_0x5347fd(0x244)](_0x5347fd(0x15d));if(_0x1a2132[_0x5347fd(0x170)](_0x5347fd(0x239),_0x405efa),_0x1a2132[_0x5347fd(0x1a9)](_0x5347fd(0x21e),_0x405efa),_0x1a2132[_0x5347fd(0x1a9)](_0x5347fd(0x225),_0x405efa),_0x1a2132[_0x5347fd(0x1a9)](_0x5347fd(0x228),_0x405efa),_0x5e2cf7){const _0x23d9fa=this[_0x5347fd(0x185)](_0x5e2cf7);if(!_0x23d9fa)return null;_0x1a2132[_0x5347fd(0x1fa)](_0x5347fd(0x239),_0x5e2cf7,_0x405efa),_0x1a2132[_0x5347fd(0x1b9)](_0x5347fd(0x256)+_0x23d9fa[_0x5347fd(0x1f3)],_0x405efa),this[_0x5347fd(0x1a1)]==_0x23d9fa&&_0x1a2132[_0x5347fd(0x1b9)](_0x5347fd(0x228),_0x405efa);}}}});}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x190))[_0x17ab61(0x242)]({'view':_0x17ab61(0x281),'model':_0x42aceb=>_0x17ab61(0x215)+_0x42aceb,'converterPriority':_0x17ab61(0x1ec)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x190))[_0x17ab61(0x242)]({'view':_0x17ab61(0x19f),'model':_0x5df6fe=>_0x17ab61(0x214)+_0x5df6fe,'converterPriority':_0x17ab61(0x1ec)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x291))[_0x17ab61(0x1cf)]({'model':_0x17ab61(0x216),'view':_0xf547e2=>({'name':_0x17ab61(0x294)+_0xf547e2,'group':_0x17ab61(0x216)}),'converterPriority':_0x17ab61(0x1ec)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1e3)][_0x17ab61(0x1de)](_0x17ab61(0x1c1))[_0x17ab61(0x189)]({'model':_0x17ab61(0x216),'view':_0x440e13=>{const _0x276d20=_0x17ab61,_0x21b24d=_0x440e13[_0x276d20(0x1da)][_0x276d20(0x15b)](':')[0x1];return _0x276d20(0x15c)!=_0x21b24d&&_0x276d20(0x171)!=_0x21b24d?null:{'classes':[_0x276d20(0x178),_0x276d20(0x26f)+_0x21b24d]};}}),this[_0x17ab61(0x21f)][_0x17ab61(0x1c7)][_0x17ab61(0x210)]['on'](_0x17ab61(0x182),et(this[_0x17ab61(0x21f)],_0x17ab61(0x174)),{'priority':_0x17ab61(0x1bf)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1c7)][_0x17ab61(0x210)]['on'](_0x17ab61(0x236),et(this[_0x17ab61(0x21f)],_0x17ab61(0x15b)),{'priority':_0x17ab61(0x1bf)}),this[_0x17ab61(0x21f)][_0x17ab61(0x1c7)][_0x17ab61(0x210)]['on'](_0x17ab61(0x163),(_0x1074e2,_0x2a4e37,_0x8c5a75)=>{const _0x54d94f=_0x17ab61,_0x48faa3=_0x8c5a75[_0x54d94f(0x1fe)][_0x54d94f(0x224)](_0x2a4e37[_0x54d94f(0x1da)]);if(_0x48faa3){for(const _0x1770f5 of _0x48faa3)_0x1770f5['is'](_0x54d94f(0x1a0))&&(_0x8c5a75[_0x54d94f(0x1fe)][_0x54d94f(0x168)](_0x1770f5,_0x2a4e37[_0x54d94f(0x1da)]),_0x8c5a75[_0x54d94f(0x212)][_0x54d94f(0x1ee)](_0x1770f5));}},{'priority':_0x17ab61(0x1bf)});}[_0x4e2a07(0x185)](_0x18c387){const _0x19d5a1=_0x4e2a07;return this[_0x19d5a1(0x22a)][_0x19d5a1(0x226)](_0x18c387);}[_0x4e2a07(0x1ef)](_0x59541c){const _0x2c6ec5=_0x4e2a07;return this[_0x2c6ec5(0x146)]&&this[_0x2c6ec5(0x146)][_0x2c6ec5(0x259)](),this[_0x2c6ec5(0x146)]=new _0x435401(this[_0x2c6ec5(0x21f)][_0x2c6ec5(0x276)],_0x59541c),this[_0x2c6ec5(0x146)];}[_0x4e2a07(0x279)](){const _0x1831c0=_0x4e2a07;this[_0x1831c0(0x21f)][_0x1831c0(0x1b0)][_0x1831c0(0x262)][_0x1831c0(0x17d)][_0x1831c0(0x25e)](_0x1831c0(0x157)),this['on'](_0x1831c0(0x1dc),(_0x1e6cc6,_0x276a85,_0x367429,_0x2dc836)=>{const _0x4903e7=_0x1831c0;_0x2dc836&&this[_0x4903e7(0x217)][_0x4903e7(0x1ee)](_0x2dc836),_0x367429&&(this[_0x4903e7(0x217)][_0x4903e7(0x23d)]({'view':_0x367429,'stackId':_0x4903e7(0x253),'position':{'target':()=>{const _0x22055c=_0x4903e7,_0x394845=this[_0x22055c(0x21f)][_0x22055c(0x1c7)],_0x59ba44=this[_0x22055c(0x185)](_0x367429[_0x22055c(0x1ae)]);let _0x2fa61b;if(_0x59ba44[_0x22055c(0x284)][_0x22055c(0x18b)]){const _0x2bc374=_0x394845[_0x22055c(0x1a8)][_0x22055c(0x23e)](_0x59ba44[_0x22055c(0x1e4)]);_0x2fa61b=Array[_0x22055c(0x1cd)](_0x2bc374[_0x22055c(0x205)]());}else{const _0x1b5076=this[_0x22055c(0x21f)][_0x22055c(0x1b0)][_0x22055c(0x1ab)][_0x22055c(0x226)](_0x22055c(0x196)+_0x367429[_0x22055c(0x1ae)]);_0x2fa61b=Array[_0x22055c(0x1cd)](_0x394845[_0x22055c(0x1fe)][_0x22055c(0x224)](_0x1b5076[_0x22055c(0x221)]))[_0x22055c(0x1a5)](_0x7ef69a=>_0x394845[_0x22055c(0x1a8)][_0x22055c(0x232)][_0x22055c(0x247)](_0x7ef69a))[_0x22055c(0x1a5)](_0x1cf27b=>Array[_0x22055c(0x1cd)](_0x1cf27b[_0x22055c(0x205)]()))[_0x22055c(0x1f2)]();}if(!this[_0x22055c(0x152)])return _0x2fa61b[0x0];return _0x2fa61b[_0x22055c(0x272)](_0x5b8812=>_0x5b8812[_0x22055c(0x285)]-0x3<=this[_0x22055c(0x152)]['y']&&_0x5b8812[_0x22055c(0x19b)]+0x3>=this[_0x22055c(0x152)]['y']&&_0x5b8812[_0x22055c(0x16f)]-0x3<=this[_0x22055c(0x152)]['x']&&_0x5b8812[_0x22055c(0x257)]+0x3>=this[_0x22055c(0x152)]['x'])||_0x2fa61b[0x0];}}}),this[_0x4903e7(0x217)][_0x4903e7(0x148)](_0x4903e7(0x253)));}),this['on'](_0x1831c0(0x1e7),(_0x511d57,_0x296b36,_0x5acf4f,_0x238b11)=>{const _0x5c4328=_0x1831c0;this[_0x5c4328(0x20d)]=_0x5acf4f?this[_0x5c4328(0x1ef)](_0x5acf4f):null,this[_0x5c4328(0x21f)][_0x5c4328(0x1b0)][_0x5c4328(0x187)](()=>{const _0x5bd37f=_0x5c4328,_0x2d89ef=this[_0x5bd37f(0x21f)][_0x5bd37f(0x1c7)];_0x238b11&&(_0x238b11[_0x5bd37f(0x284)][_0x5bd37f(0x18b)]?_0x2d89ef[_0x5bd37f(0x1a8)][_0x5bd37f(0x187)](_0x291a5e=>{const _0x111e54=_0x5bd37f;_0x291a5e[_0x111e54(0x1a9)](_0x111e54(0x228),_0x2d89ef[_0x111e54(0x1a8)][_0x111e54(0x262)][_0x111e54(0x14c)](_0x238b11[_0x111e54(0x1e4)]));}):_0x2d89ef[_0x5bd37f(0x287)](_0x5bd37f(0x196)+_0x238b11['id'])),_0x5acf4f&&(_0x5acf4f[_0x5bd37f(0x284)][_0x5bd37f(0x18b)]?_0x2d89ef[_0x5bd37f(0x1a8)][_0x5bd37f(0x187)](_0xdd28ab=>{const _0x4dc366=_0x5bd37f;_0xdd28ab[_0x4dc366(0x1b9)](_0x4dc366(0x228),_0x2d89ef[_0x4dc366(0x1a8)][_0x4dc366(0x262)][_0x4dc366(0x14c)](_0x5acf4f[_0x4dc366(0x1e4)]));}):_0x2d89ef[_0x5bd37f(0x287)](_0x5bd37f(0x196)+_0x5acf4f['id']));});}),this[_0x1831c0(0x203)](this[_0x1831c0(0x21f)][_0x1831c0(0x1c7)][_0x1831c0(0x1a8)][_0x1831c0(0x262)],_0x1831c0(0x183),(_0x3071b1,_0x26605e)=>{const _0x208abd=_0x1831c0;if(this[_0x208abd(0x1a1)])return;const _0x5a1e06=this[_0x208abd(0x164)](_0x26605e[_0x208abd(0x290)]),_0x50637d=this[_0x208abd(0x22a)][_0x208abd(0x226)](_0x5a1e06);_0x50637d?(this[_0x208abd(0x152)]={'x':_0x26605e[_0x208abd(0x1ce)]['x'],'y':_0x26605e[_0x208abd(0x1ce)]['y']},this[_0x208abd(0x20d)]=this[_0x208abd(0x1ef)](_0x50637d)):(this[_0x208abd(0x152)]=null,this[_0x208abd(0x20d)]=null);}),this[_0x1831c0(0x203)](this[_0x1831c0(0x21f)][_0x1831c0(0x1c7)][_0x1831c0(0x1a8)][_0x1831c0(0x262)],_0x1831c0(0x16c),(_0x323129,_0xee676b)=>{const _0x3f5026=_0x1831c0,_0x5bc262=this[_0x3f5026(0x164)](_0xee676b[_0x3f5026(0x290)]),_0x467a18=this[_0x3f5026(0x22a)][_0x3f5026(0x226)](_0x5bc262);_0x467a18?(this[_0x3f5026(0x152)]={'x':_0xee676b[_0x3f5026(0x1ce)]['x'],'y':_0xee676b[_0x3f5026(0x1ce)]['y']},_0x467a18===this[_0x3f5026(0x1a1)]?this[_0x3f5026(0x217)][_0x3f5026(0x20e)]():this[_0x3f5026(0x1a1)]=_0x467a18):(this[_0x3f5026(0x152)]=null,this[_0x3f5026(0x1a1)]=null);});}[_0x4e2a07(0x164)](_0x420ccc){const _0x556935=_0x4e2a07;do{const _0x34ebb6=_0x420ccc[_0x556935(0x244)](_0x556935(0x239));if(_0x34ebb6)return _0x34ebb6;_0x420ccc=_0x420ccc[_0x556935(0x1f6)];}while(_0x420ccc);return null;}[_0x4e2a07(0x1f1)](){const _0x2d66ec=_0x4e2a07;this[_0x2d66ec(0x21f)][_0x2d66ec(0x1b0)][_0x2d66ec(0x187)](_0x27f62b=>{const _0x887a5f=_0x2d66ec;for(const _0x3c4a74 of this[_0x887a5f(0x21f)][_0x887a5f(0x1b0)][_0x887a5f(0x1ab)])_0x27f62b[_0x887a5f(0x25a)](_0x3c4a74);});}}function et(_0x280a7e,_0x471d3f){return(_0x2a1429,_0x164b2f,_0x2bb465)=>{const _0x54fb7c=_0xcbd5;if(!_0x2bb465[_0x54fb7c(0x27e)][_0x54fb7c(0x1af)](_0x164b2f[_0x54fb7c(0x230)],_0x2a1429[_0x54fb7c(0x221)]))return;const _0x496faf=_0x164b2f[_0x54fb7c(0x230)][_0x54fb7c(0x18d)](),_0xfca8d7=_0x164b2f[_0x54fb7c(0x230)][_0x54fb7c(0x238)],_0x402ad4=_0x280a7e[_0x54fb7c(0x1b0)][_0x54fb7c(0x1b1)];let _0x3fc163=null,_0x1b4b3d=null,_0x327832=!0x1,_0x195150=!0x1;for(const _0x6afd7c of _0x496faf){const _0x28d5a6=_0x6afd7c[_0x54fb7c(0x1ed)];_0x327832=_0x327832||_0x402ad4[_0x54fb7c(0x1b4)](_0x28d5a6);const _0x214e6a=_0x2bb465[_0x54fb7c(0x1fe)][_0x54fb7c(0x26a)](_0x28d5a6);if(_0x214e6a&&_0x214e6a[_0x54fb7c(0x176)](_0x54fb7c(0x28d)))return;_0x54fb7c(0x22d)==_0x6afd7c[_0x54fb7c(0x1f3)]&&(_0x402ad4[_0x54fb7c(0x147)](_0x28d5a6)&&!_0x402ad4[_0x54fb7c(0x1aa)](_0x28d5a6)&&(_0x28d5a6[_0x54fb7c(0x1f5)]||_0xfca8d7[_0x54fb7c(0x246)]?_0x3fc163&&_0x3fc163[_0x54fb7c(0x1f6)]==_0x28d5a6||(_0x3fc163=_0x28d5a6,_0x5bf699(_0x6afd7c[_0x54fb7c(0x162)]),_0x195150=!0x0):_0x1b4b3d=_0x1b4b3d||_0x6afd7c[_0x54fb7c(0x162)]));}function _0x5bf699(_0x3d975e){const _0x27f508=_0x54fb7c,_0x333ed5=_0x2bb465[_0x27f508(0x1fe)][_0x27f508(0x17e)](_0x3d975e),_0x269a60=_0x2bb465[_0x27f508(0x212)][_0x27f508(0x21d)](_0x27f508(0x1fc),{'class':_0x27f508(0x26f)+_0x471d3f});_0x2bb465[_0x27f508(0x212)][_0x27f508(0x27c)](_0x333ed5,_0x269a60),_0x2bb465[_0x27f508(0x1fe)][_0x27f508(0x16e)](_0x269a60,_0x164b2f[_0x27f508(0x1da)]);}_0x327832||_0x195150||!_0x1b4b3d||_0x5bf699(_0x1b4b3d);};}export class RestoreRevisionCommand extends _0x25fb93{constructor(_0x16777a){const _0x56a1a8=_0x4e2a07;super(_0x16777a);const _0x4d638a=_0x16777a[_0x56a1a8(0x28a)][_0x56a1a8(0x226)](d);this[_0x56a1a8(0x200)]=!0x1,this[_0x56a1a8(0x203)](_0x4d638a,_0x56a1a8(0x1cc),()=>this[_0x56a1a8(0x23f)]()),this[_0x56a1a8(0x203)](_0x4d638a,_0x56a1a8(0x18f),()=>this[_0x56a1a8(0x23f)]());}[_0x4e2a07(0x208)](){const _0x5b86a5=_0x4e2a07,_0x1a9019=this[_0x5b86a5(0x21f)],_0xb3696e=_0x1a9019[_0x5b86a5(0x28a)][_0x5b86a5(0x226)](d),_0xb03fee=_0xb3696e[_0x5b86a5(0x263)]?_0xb3696e[_0x5b86a5(0x1db)][_0x5b86a5(0x227)]:null;_0x1a9019[_0x5b86a5(0x1cb)][_0x5b86a5(0x226)](_0x5b86a5(0x211))[_0x5b86a5(0x264)](_0xb03fee);}[_0x4e2a07(0x23f)](){const _0x2f1c28=_0x4e2a07,{isReady:_0xf000b3,isEnabled:_0x39518c}=this[_0x2f1c28(0x21f)][_0x2f1c28(0x28a)][_0x2f1c28(0x226)](d);this[_0x2f1c28(0x1fb)]=_0xf000b3&&_0x39518c;}}function _0xcbd5(_0x38b0dd,_0x395268){const _0x341c6e=_0x341c();return _0xcbd5=function(_0xcbd549,_0x2441a4){_0xcbd549=_0xcbd549-0x146;let _0x13182d=_0x341c6e[_0xcbd549];return _0x13182d;},_0xcbd5(_0x38b0dd,_0x395268);}export class ShowChangeCommand extends _0x25fb93{constructor(_0x59d687,{direction:_0x542267}){const _0x18a926=_0x4e2a07;super(_0x59d687);const _0x2308ff=_0x59d687[_0x18a926(0x28a)][_0x18a926(0x226)](d);this[_0x18a926(0x200)]=!0x1,this[_0x18a926(0x1b3)]=_0x18a926(0x220)===_0x542267?0x1:-0x1,this[_0x18a926(0x203)](_0x2308ff,_0x18a926(0x1cc),()=>this[_0x18a926(0x23f)]()),this[_0x18a926(0x203)](_0x2308ff,_0x18a926(0x18f),()=>this[_0x18a926(0x23f)]()),this[_0x18a926(0x203)](_0x2308ff,_0x18a926(0x1e7),()=>this[_0x18a926(0x23f)]());}[_0x4e2a07(0x208)](){const _0xbbdea6=_0x4e2a07,_0x4165fd=this[_0xbbdea6(0x21f)],_0x3e8bef=_0x4165fd[_0xbbdea6(0x28a)][_0xbbdea6(0x226)](d),{isNavigationMode:_0x50887e,currentChangeNumber:_0x511bc8}=_0x3e8bef;let _0x49625d;if(_0x3e8bef[_0xbbdea6(0x1a1)]=_0x50887e?_0x3e8bef[_0xbbdea6(0x1db)][_0xbbdea6(0x1d5)][_0xbbdea6(0x226)](_0x511bc8+this[_0xbbdea6(0x1b3)]):_0x3e8bef[_0xbbdea6(0x1db)][_0xbbdea6(0x1d5)][_0xbbdea6(0x277)],_0x3e8bef[_0xbbdea6(0x1a1)][_0xbbdea6(0x284)][_0xbbdea6(0x18b)])_0x49625d=_0x4165fd[_0xbbdea6(0x1c7)][_0xbbdea6(0x1a8)][_0xbbdea6(0x23e)](_0x3e8bef[_0xbbdea6(0x1a1)][_0xbbdea6(0x1e4)]);else{const _0x57ddd4=_0x4165fd[_0xbbdea6(0x1b0)][_0xbbdea6(0x1ab)][_0xbbdea6(0x226)](_0xbbdea6(0x196)+_0x3e8bef[_0xbbdea6(0x1a1)]['id']);_0x49625d=_0x10867d(_0x4165fd[_0xbbdea6(0x1c7)],_0x57ddd4);}_0x129c53({'target':_0x49625d,'viewportOffset':0x28});}[_0x4e2a07(0x23f)](){const _0x1ae6d8=_0x4e2a07,{isNavigationMode:_0x5dab2c,currentChangeNumber:_0x3308d9,numberOfChanges:_0x2d4f80,isReady:_0x507363,isEnabled:_0x2d5b78}=this[_0x1ae6d8(0x21f)][_0x1ae6d8(0x28a)][_0x1ae6d8(0x226)](d);this[_0x1ae6d8(0x1fb)]=!!(_0x2d5b78&&_0x507363&&_0x2d4f80)&&(!_0x5dab2c||(0x1===this[_0x1ae6d8(0x1b3)]?_0x3308d9<_0x2d4f80-0x1:_0x3308d9>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x736830,_0x3e27d1){const _0x479bf1=_0x4407,_0x1fe1ed=_0x736830();while(!![]){try{const _0x13b97d=parseInt(_0x479bf1(0x203))/0x1*(-parseInt(_0x479bf1(0x1f7))/0x2)+parseInt(_0x479bf1(0x20a))/0x3*(-parseInt(_0x479bf1(0x1fa))/0x4)+-parseInt(_0x479bf1(0x211))/0x5+-parseInt(_0x479bf1(0x1f9))/0x6*(parseInt(_0x479bf1(0x222))/0x7)+-parseInt(_0x479bf1(0x210))/0x8+parseInt(_0x479bf1(0x202))/0x9+parseInt(_0x479bf1(0x212))/0xa;if(_0x13b97d===_0x3e27d1)break;else _0x1fe1ed['push'](_0x1fe1ed['shift']());}catch(_0x313183){_0x1fe1ed['push'](_0x1fe1ed['shift']());}}}(_0x267e,0xd637f));function _0x4407(_0x547714,_0x430fac){const _0x267e95=_0x267e();return _0x4407=function(_0x44072f,_0x568cdc){_0x44072f=_0x44072f-0x1f3;let _0x474985=_0x267e95[_0x44072f];return _0x474985;},_0x4407(_0x547714,_0x430fac);}import{Collection as _0x705188}from'ckeditor5/src/utils.js';import{icons as _0x1e3f07}from'ckeditor5/src/core.js';import{ViewModel as _0x4e2460,addListToDropdown as _0x5780ba,createDropdown as _0x3cf206}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a68dc}from'../../utils/common-translations.js';function _0x267e(){const _0x8a67b9=['listView','stopPropagation','first','isOpen','196keowEA','action','class','Name\x20this\x20revision','extendTemplate','set','execute','862HgaWnv','Show\x20more\x20items','119688NUjTPg','1482892JsqJjd','menu','Restore\x20this\x20revision','ck-on','isVisible','model','threeVerticalDots','bind','12596463tiUWiJ','529idYBbG','locale','add','Compare\x20against\x20selected','source','listenTo','isEnabled','9AqDyiy','ck-revision-history-sidebar__revision__actions','buttonView','children','isReady','panelPosition','5661688DIOABb','3951800sBDLWk','28746150MupBaa','bindTemplate','button','find','isActionsDropdownOpen','items','_action','change:isActionsDropdownOpen','map','function','menuitem','name'];_0x267e=function(){return _0x8a67b9;};return _0x267e();}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x42d5d2,_0x2b4716){const _0x38a85b=_0x4407,_0x12080b=_0x42d5d2[_0x38a85b(0x213)],_0x3d532d=_0x42d5d2[_0x38a85b(0x204)],_0x1d9ec6=_0x3cf206(_0x3d532d);_0x1d9ec6[_0x38a85b(0x20f)]='sw';const _0x13c52c=function(_0x5ec3e6,_0x1bc827){const _0x1958a8=_0x38a85b,_0x2dd88d=function(_0x33685b,_0x36bd09){const _0x144f4e=_0x4407,_0x3c0fe3=_0x33685b[_0x144f4e(0x204)],_0x3f3e4a={'Compare\x20against\x20selected':_0x5a68dc(_0x3c0fe3,_0x144f4e(0x206)),'Name\x20this\x20revision':_0x5a68dc(_0x3c0fe3,_0x144f4e(0x1f3)),'Restore\x20this\x20revision':_0x5a68dc(_0x3c0fe3,_0x144f4e(0x1fc))};return _0x36bd09[_0x144f4e(0x21a)](_0x15c884=>{const _0x86d231=_0x144f4e,_0x4a8a59=_0x3f3e4a[_0x15c884[_0x86d231(0x21d)]];return _0x4a8a59&&_0x4a8a59!==_0x15c884[_0x86d231(0x21d)]&&(_0x15c884[_0x86d231(0x21d)]=_0x4a8a59),_0x15c884;});}(_0x5ec3e6,_0x1bc827),_0x2e2225=new _0x705188();for(const _0x773c3e of _0x2dd88d){const _0x1fea75={'type':_0x1958a8(0x214),'model':new _0x4e2460({'label':_0x773c3e[_0x1958a8(0x21d)],'class':_0x773c3e[_0x1958a8(0x224)],'withText':!0x0,'role':_0x1958a8(0x21c),'_action':_0x773c3e[_0x1958a8(0x223)]})};_0x1fea75[_0x1958a8(0x1ff)][_0x1958a8(0x201)](_0x1958a8(0x209))['to'](_0x5ec3e6,_0x1958a8(0x216),_0x11a281=>_0x1958a8(0x21b)!=typeof _0x773c3e[_0x1958a8(0x209)]||(!_0x11a281||_0x773c3e[_0x1958a8(0x209)](_0x5ec3e6))),_0x2e2225[_0x1958a8(0x205)](_0x1fea75);}return _0x2e2225;}(_0x42d5d2,_0x2b4716);return _0x42d5d2[_0x38a85b(0x201)](_0x38a85b(0x216))['to'](_0x1d9ec6,_0x38a85b(0x221)),_0x1d9ec6[_0x38a85b(0x20c)][_0x38a85b(0x1f5)]({'label':_0x5a68dc(_0x3d532d,_0x38a85b(0x1f8)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1e3f07[_0x38a85b(0x200)]}),_0x1d9ec6[_0x38a85b(0x1f4)]({'attributes':{'class':[_0x38a85b(0x20b),_0x12080b['if'](_0x38a85b(0x216),_0x38a85b(0x1fd))]},'on':{'click':_0x12080b['to'](_0x5967b6=>_0x5967b6[_0x38a85b(0x21f)]())}}),_0x1d9ec6['on'](_0x38a85b(0x1f6),_0x29a1e2=>{const _0x37bea7=_0x38a85b;_0x42d5d2[_0x37bea7(0x20e)]&&_0x37bea7(0x21b)==typeof _0x29a1e2[_0x37bea7(0x207)][_0x37bea7(0x218)]&&_0x29a1e2[_0x37bea7(0x207)][_0x37bea7(0x218)](_0x42d5d2);}),_0x5780ba(_0x1d9ec6,_0x13c52c,{'role':_0x38a85b(0x1fb)}),_0x1d9ec6[_0x38a85b(0x208)](_0x42d5d2,_0x38a85b(0x219),(_0x5ed311,_0x57866c,_0x2a9b86)=>{const _0x623b62=_0x38a85b;if(_0x2a9b86)for(const _0x10f697 of _0x1d9ec6[_0x623b62(0x21e)][_0x623b62(0x217)]){const _0x41002a=_0x10f697[_0x623b62(0x20d)][_0x623b62(0x220)],_0x2916bf=_0x2b4716[_0x623b62(0x215)](_0x3d7cec=>_0x3d7cec[_0x623b62(0x223)]===_0x41002a[_0x623b62(0x218)])[_0x623b62(0x1fe)];_0x10f697[_0x623b62(0x1fe)]=void 0x0===_0x2916bf||_0x2916bf(_0x42d5d2);}}),_0x1d9ec6;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5b455e,_0x5f0bba){const _0x52f71f=_0x368b,_0x52c143=_0x5b455e();while(!![]){try{const _0x39eca5=-parseInt(_0x52f71f(0x199))/0x1+-parseInt(_0x52f71f(0x1a1))/0x2+-parseInt(_0x52f71f(0x19a))/0x3*(parseInt(_0x52f71f(0x18f))/0x4)+parseInt(_0x52f71f(0x19d))/0x5*(-parseInt(_0x52f71f(0x191))/0x6)+-parseInt(_0x52f71f(0x18d))/0x7*(parseInt(_0x52f71f(0x18e))/0x8)+parseInt(_0x52f71f(0x196))/0x9*(parseInt(_0x52f71f(0x19f))/0xa)+parseInt(_0x52f71f(0x190))/0xb;if(_0x39eca5===_0x5f0bba)break;else _0x52c143['push'](_0x52c143['shift']());}catch(_0x77c0d3){_0x52c143['push'](_0x52c143['shift']());}}}(_0xdfb4,0x3ba10));import{View as _0x518148,IconView as _0x5e760e}from'ckeditor5/src/ui.js';import{getTranslation as _0x404e84}from'../../utils/common-translations.js';function _0x368b(_0x5e50c0,_0x2233e4){const _0xdfb4b9=_0xdfb4();return _0x368b=function(_0x368b64,_0x1e0bea){_0x368b64=_0x368b64-0x18c;let _0x6ecc27=_0xdfb4b9[_0x368b64];return _0x6ecc27;},_0x368b(_0x5e50c0,_0x2233e4);}import'../../../theme/revision/revisionauthor.css';import _0x5ed90f from'../../../theme/icons/user.svg';export default class ti extends _0x518148{constructor(_0x274406,_0x32dd3c,_0x815a32){const _0x444ea1=_0x368b;super(_0x274406);const _0x3240a8=new _0x5e760e();_0x3240a8[_0x444ea1(0x194)]({'content':_0x5ed90f,'viewBox':_0x444ea1(0x19e)});const _0x16ce27=['ck',_0x444ea1(0x192)];_0x815a32&&_0x16ce27[_0x444ea1(0x195)](_0x444ea1(0x1a0));const _0xd581a7=[{'tag':_0x444ea1(0x198),'attributes':{'class':['ck',_0x444ea1(0x19c)],'title':_0x404e84(_0x274406,_0x815a32?_0x444ea1(0x193):_0x444ea1(0x19b))},'children':[_0x3240a8,_0x32dd3c[_0x444ea1(0x197)]]}];this[_0x444ea1(0x18c)]({'tag':'li','attributes':{'class':_0x16ce27},'children':_0xd581a7});}}function _0xdfb4(){const _0x2e7083=['45OaIDfD','name','span','319996MtbqLw','3eQHwDM','Revision\x20author','ck-revision-history-sidebar__revision-author__name','139035DNeFwx','0\x200\x2011\x2010','383650NHbhcX','ck-revision-history-sidebar__revision-author_creator','339694LmzNkv','setTemplate','129059FwRdUq','24Elofci','1654348vJtWMA','12652101bBdMSp','30jimXbr','ck-revision-history-sidebar__revision-author','Revision\x20creator','set','push'];_0xdfb4=function(){return _0x2e7083;};return _0xdfb4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x430124=_0x434a;(function(_0x37227b,_0x1d0312){const _0x2099a0=_0x434a,_0xceb895=_0x37227b();while(!![]){try{const _0x1b737d=-parseInt(_0x2099a0(0x127))/0x1*(-parseInt(_0x2099a0(0x11b))/0x2)+parseInt(_0x2099a0(0x12a))/0x3*(parseInt(_0x2099a0(0x130))/0x4)+parseInt(_0x2099a0(0x11d))/0x5+-parseInt(_0x2099a0(0x123))/0x6*(-parseInt(_0x2099a0(0x134))/0x7)+parseInt(_0x2099a0(0x11c))/0x8+parseInt(_0x2099a0(0x129))/0x9+-parseInt(_0x2099a0(0x11f))/0xa;if(_0x1b737d===_0x1d0312)break;else _0xceb895['push'](_0xceb895['shift']());}catch(_0x2656f7){_0xceb895['push'](_0xceb895['shift']());}}}(_0x50f7,0xe651b));import{LabeledFieldView as _0x2b5155}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x4a39ef}from'ckeditor5/src/utils.js';import{getTranslation as _0x4535df}from'../../utils/common-translations.js';function _0x50f7(){const _0x27fe1e=['span','value','ck-revision-history-sidebar__revision-name','render','element','1072WPwIjd','listenTo','Revision\x20name','set','3271282oBqonm','ck-tooltip_multi-line','_resizeObserver','scrollWidth','fieldView','input','58yFzxjo','8829432TFjcGe','8324240kPPPSM','placeholder','72932350xLOuRg','_tooltipString','_updateTooltipText','destroy','24vjsrle','extendTemplate','Enter\x20the\x20revision\x20name','bindTemplate','31643IWkuXd','clientWidth','9725832dagzLt','17916nFAkoE'];_0x50f7=function(){return _0x27fe1e;};return _0x50f7();}function _0x434a(_0x56f4cd,_0x595d80){const _0x50f7ce=_0x50f7();return _0x434a=function(_0x434aaa,_0x395b56){_0x434aaa=_0x434aaa-0x11a;let _0x4be685=_0x50f7ce[_0x434aaa];return _0x4be685;},_0x434a(_0x56f4cd,_0x595d80);}import'../../../theme/revision/revisionname.css';export default class kt extends _0x2b5155{constructor(_0x17d14a,_0x3120ce){const _0x14b321=_0x434a;super(_0x17d14a,_0x3120ce),this[_0x14b321(0x136)]=null;const _0x56c23e=this[_0x14b321(0x126)];this[_0x14b321(0x133)]({'label':_0x4535df(_0x17d14a,_0x14b321(0x132)),'_tooltipString':''}),this[_0x14b321(0x138)][_0x14b321(0x11e)]=_0x4535df(_0x17d14a,_0x14b321(0x125)),this[_0x14b321(0x124)]({'tag':_0x14b321(0x12b),'attributes':{'class':[_0x14b321(0x12d)],'data-cke-tooltip-text':_0x56c23e['to'](_0x14b321(0x120)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x14b321(0x135)}});}[_0x430124(0x12e)](){const _0x5f3c72=_0x430124;super[_0x5f3c72(0x12e)](),this[_0x5f3c72(0x136)]=new _0x4a39ef(this[_0x5f3c72(0x138)][_0x5f3c72(0x12f)],()=>this[_0x5f3c72(0x121)]()),this[_0x5f3c72(0x131)](this[_0x5f3c72(0x138)],_0x5f3c72(0x11a),()=>this[_0x5f3c72(0x121)]());}[_0x430124(0x122)](){const _0x406779=_0x430124;super[_0x406779(0x122)](),this[_0x406779(0x136)]&&this[_0x406779(0x136)][_0x406779(0x122)]();}[_0x430124(0x121)](){const _0x8186f3=_0x430124,_0x4cb516=this[_0x8186f3(0x138)][_0x8186f3(0x12f)];this[_0x8186f3(0x120)]=_0x4cb516[_0x8186f3(0x137)]>_0x4cb516[_0x8186f3(0x128)]&&_0x4cb516[_0x8186f3(0x12c)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x97d955=_0x6d8a;(function(_0x1e9418,_0x57ed82){const _0x4ce64a=_0x6d8a,_0x2b0353=_0x1e9418();while(!![]){try{const _0x439440=-parseInt(_0x4ce64a(0xca))/0x1*(-parseInt(_0x4ce64a(0xf1))/0x2)+parseInt(_0x4ce64a(0xe5))/0x3*(parseInt(_0x4ce64a(0xf0))/0x4)+parseInt(_0x4ce64a(0xc1))/0x5*(parseInt(_0x4ce64a(0xc9))/0x6)+parseInt(_0x4ce64a(0xb5))/0x7+-parseInt(_0x4ce64a(0xbd))/0x8*(-parseInt(_0x4ce64a(0xb3))/0x9)+parseInt(_0x4ce64a(0xcf))/0xa*(parseInt(_0x4ce64a(0xe1))/0xb)+-parseInt(_0x4ce64a(0xdb))/0xc;if(_0x439440===_0x57ed82)break;else _0x2b0353['push'](_0x2b0353['shift']());}catch(_0x2be140){_0x2b0353['push'](_0x2b0353['shift']());}}}(_0x384e,0xd2c3c));import{View as _0x5704df,createLabeledInputText as _0x403227}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x25f345}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4f62ba from'./revisionnameview.js';import _0xc27541 from'./revisionauthorview.js';function _0x6d8a(_0x91b992,_0x33eb6a){const _0x384e80=_0x384e();return _0x6d8a=function(_0x6d8a0e,_0x38a7c6){_0x6d8a0e=_0x6d8a0e-0xb2;let _0x5d22bf=_0x384e80[_0x6d8a0e];return _0x5d22bf;},_0x6d8a(_0x91b992,_0x33eb6a);}function _0x384e(){const _0x52efca=['_requireRevisionName','.ck-thread__remove-confirm','38875LVKqDN','set','select','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','_createdAtFormatted','isSelected','setTemplate','bindTemplate','696Jthqsf','1McsjLE','ck-revision-history-sidebar__revision','bind','fire','authors','10ErdfvS','isActionsDropdownOpen','name','element','ck-disabled','filter','ck-revision-history-sidebar__revision__controls-wrapper','ck-revision-history-sidebar__revision__date','unhighlight','isConfirm','ck-revision-history-sidebar__revision_highlighted','ck-revision-history-sidebar__revision-wrapper','49357932DUtLdn','ck-revision-history-sidebar__revision-authors','ck-reset','extendTemplate','srcElement','isReady','7897758zygCxL','ck-revision-history-sidebar__revision_selected','fieldView','unshift','421242TghTDA','uiLanguage','map','highlight','_revision','creator','value','span','div','render','listenTo','36yGCWTe','3334582GFtFZL','revisionActionsView','setName','change','createdAt','3509658OuQwZM','closest','249172XRlOxh','from','revisionNameView','ck-revision-history-sidebar__actions_dropdown_open','220','deselect','length','isHighlighted','8aEszbF','isEnabled'];_0x384e=function(){return _0x52efca;};return _0x384e();}import{dateToPrettyFormat as _0x4b64ed}from'./utils.js';import{createActionsDropdownView as _0x5245c5}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x25f345(_0x5704df){constructor(_0x49f78e,_0x48f047,_0x45877e,_0x2c60ef){const _0x138570=_0x6d8a;super(_0x49f78e);const _0x3aeba5=this[_0x138570(0xc8)],_0x4b2dcd=function(_0x4d1dbd,_0x5c9a62){const _0x810f1e=_0x138570,_0x4794eb=Array[_0x810f1e(0xb6)](_0x5c9a62[_0x810f1e(0xce)])[_0x810f1e(0xd4)](_0x188844=>_0x188844!=_0x5c9a62[_0x810f1e(0xea)]);return _0x5c9a62[_0x810f1e(0xea)]&&_0x4794eb[_0x810f1e(0xe4)](_0x5c9a62[_0x810f1e(0xea)]),_0x4794eb[_0x810f1e(0xe7)](_0x58fe76=>new _0xc27541(_0x4d1dbd,_0x58fe76,_0x58fe76==_0x5c9a62[_0x810f1e(0xea)]));}(_0x49f78e,_0x48f047);this['id']=_0x48f047['id'],this[_0x138570(0xe9)]=_0x48f047,this[_0x138570(0xbf)]=_0x2c60ef,this[_0x138570(0xcc)](_0x138570(0xd1),_0x138570(0xb2))['to'](_0x48f047),this[_0x138570(0xcc)](_0x138570(0xc5))['to'](this,_0x138570(0xb2),_0x369922=>_0x4b64ed(_0x49f78e[_0x138570(0xe6)],_0x369922)),this[_0x138570(0xc2)](_0x138570(0xc6),!0x1),this[_0x138570(0xc2)](_0x138570(0xbc),!0x1),this[_0x138570(0xc2)](_0x138570(0xd0),!0x1),this[_0x138570(0xc2)](_0x138570(0xe0),!0x1),this[_0x138570(0xc2)](_0x138570(0xbe),!0x1),this[_0x138570(0xb7)]=new _0x4f62ba(_0x49f78e,_0x403227),this[_0x138570(0xb7)][_0x138570(0xe3)][_0x138570(0xde)]({'attributes':{'maxlength':_0x138570(0xb9)}}),this[_0x138570(0xb7)][_0x138570(0xe3)][_0x138570(0xcc)](_0x138570(0xeb))['to'](this,_0x138570(0xd1),_0x3be9e6=>_0x3be9e6||this[_0x138570(0xc5)]),this[_0x138570(0xb7)][_0x138570(0xcc)](_0x138570(0xbe))['to'](this,_0x138570(0xc6),this,_0x138570(0xbe),(_0x356451,_0x22c676)=>_0x356451&&_0x22c676),this[_0x138570(0xf2)]=_0x45877e&&_0x45877e[_0x138570(0xbb)]?_0x5245c5(this,_0x45877e):'',this[_0x138570(0xf2)]&&this[_0x138570(0xf2)][_0x138570(0xcc)](_0x138570(0xbe))['to'](this),this[_0x138570(0xc7)]({'tag':_0x138570(0xed),'attributes':{'class':['ck',_0x138570(0xdd),_0x138570(0xda),_0x3aeba5['if'](_0x138570(0xd8),_0x138570(0xc4))]},'children':[{'tag':_0x138570(0xed),'attributes':{'class':['ck',_0x138570(0xdd),_0x138570(0xcb),_0x3aeba5['if'](_0x138570(0xbe),_0x138570(0xd3),_0x1f3d60=>!_0x1f3d60),_0x3aeba5['if'](_0x138570(0xc6),_0x138570(0xe2)),_0x3aeba5['if'](_0x138570(0xbc),_0x138570(0xd9)),_0x3aeba5['if'](_0x138570(0xd0),_0x138570(0xb8))]},'children':[this[_0x138570(0xb7)],{'tag':_0x138570(0xec),'attributes':{'class':['ck',_0x138570(0xd6)]},'children':[{'text':_0x3aeba5['to'](_0x138570(0xc5))}]},{'tag':_0x138570(0xed),'attributes':{'class':['ck',_0x138570(0xd5)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x138570(0xdc)]},'children':_0x4b2dcd}]},this[_0x138570(0xf2)]],'on':{'click':_0x3aeba5['to'](_0x41c3da=>{const _0x3cbb1e=_0x138570;_0x41c3da[_0x3cbb1e(0xdf)][_0x3cbb1e(0xb4)](_0x3cbb1e(0xc0))||this[_0x3cbb1e(0xe0)]&&this[_0x3cbb1e(0xbe)]&&this[_0x3cbb1e(0xcd)](_0x3cbb1e(0xc3),{'id':this['id']});})}}]});}[_0x97d955(0xee)](){const _0x12c6ef=_0x97d955;super[_0x12c6ef(0xee)]();const _0x644618=this[_0x12c6ef(0xb7)][_0x12c6ef(0xe3)][_0x12c6ef(0xd2)];this[_0x12c6ef(0xef)](_0x644618,_0x12c6ef(0xf4),()=>{const _0x2b224c=_0x12c6ef;this[_0x2b224c(0xbf)]&&!_0x644618[_0x2b224c(0xeb)]||this[_0x2b224c(0xcd)](_0x2b224c(0xf3),{'id':this['id'],'name':_0x644618[_0x2b224c(0xeb)]}),_0x644618[_0x2b224c(0xeb)]||(_0x644618[_0x2b224c(0xeb)]=this[_0x2b224c(0xd1)]?this[_0x2b224c(0xd1)]:this[_0x2b224c(0xc5)]);});}[_0x97d955(0xc3)](){const _0xee3f96=_0x97d955;this[_0xee3f96(0xc6)]=!0x0;}[_0x97d955(0xba)](){const _0x3be7df=_0x97d955;this[_0x3be7df(0xc6)]=!0x1;}[_0x97d955(0xe8)](){const _0x454c96=_0x97d955;this[_0x454c96(0xbc)]=!0x0;}[_0x97d955(0xd7)](){const _0x5147d7=_0x97d955;this[_0x5147d7(0xbc)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x59df(){const _0x8f07e3=['true','209pTMpiy','ck-revision-history-sidebar__subrevision-collapser','ck-revision-history-sidebar__subrevision-collapser_collapsed','133580shSBlc','14380CPNgev','false','108992ZwfGQT','_isCollapsed','ck-hidden','4100650syJIrV','2079204yqQadK','isVisible','99FXXuVB','2922LpUyvV','span','click','52QMnmht','bindTemplate','ck-revision-history-sidebar__subrevision-collapser__inner','setTemplate','button','9676035xMpLZw','toggle','105jCkKgq','set','51556HNFEnf'];_0x59df=function(){return _0x8f07e3;};return _0x59df();}const _0x34c8b8=_0x203a;function _0x203a(_0x4366fc,_0x7905a4){const _0x59df0=_0x59df();return _0x203a=function(_0x203a94,_0x6cb59){_0x203a94=_0x203a94-0xb2;let _0x5cb56c=_0x59df0[_0x203a94];return _0x5cb56c;},_0x203a(_0x4366fc,_0x7905a4);}(function(_0xc248d6,_0x4edbe1){const _0x1b8f3a=_0x203a,_0x2e46c7=_0xc248d6();while(!![]){try{const _0x32cc1b=parseInt(_0x1b8f3a(0xc7))/0x1*(-parseInt(_0x1b8f3a(0xbe))/0x2)+-parseInt(_0x1b8f3a(0xba))/0x3*(-parseInt(_0x1b8f3a(0xcc))/0x4)+-parseInt(_0x1b8f3a(0xb2))/0x5*(parseInt(_0x1b8f3a(0xbb))/0x6)+-parseInt(_0x1b8f3a(0xc5))/0x7*(parseInt(_0x1b8f3a(0xb4))/0x8)+-parseInt(_0x1b8f3a(0xc3))/0x9+parseInt(_0x1b8f3a(0xb7))/0xa+-parseInt(_0x1b8f3a(0xc9))/0xb*(-parseInt(_0x1b8f3a(0xb8))/0xc);if(_0x32cc1b===_0x4edbe1)break;else _0x2e46c7['push'](_0x2e46c7['shift']());}catch(_0x5e7fd5){_0x2e46c7['push'](_0x2e46c7['shift']());}}}(_0x59df,0xbf50e));import{View as _0x40f1bb}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x40f1bb{constructor(_0x4e8236){const _0x262222=_0x203a;super(_0x4e8236);const _0x2cfcc4=this[_0x262222(0xbf)];this[_0x262222(0xc6)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x262222(0xc1)]({'tag':_0x262222(0xbc),'attributes':{'class':['ck',_0x262222(0xca),_0x2cfcc4['if'](_0x262222(0xb9),_0x262222(0xb6),_0x55081a=>!_0x55081a),_0x2cfcc4['if'](_0x262222(0xb5),_0x262222(0xcb))],'role':_0x262222(0xc2),'aria-pressed':_0x2cfcc4['to'](_0x262222(0xb5),_0xed25fe=>_0xed25fe?_0x262222(0xb3):_0x262222(0xc8))},'children':[{'tag':_0x262222(0xbc),'attributes':{'class':['ck',_0x262222(0xc0)]}}],'on':{'click':_0x2cfcc4['to'](_0x262222(0xbd))}});}[_0x34c8b8(0xc4)](){const _0x598bfd=_0x34c8b8;this[_0x598bfd(0xb5)]=!this[_0x598bfd(0xb5)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x592759=_0x43cb;function _0x43cb(_0x8aab10,_0xccf30b){const _0x39a0ef=_0x39a0();return _0x43cb=function(_0x43cb08,_0x14ae55){_0x43cb08=_0x43cb08-0xad;let _0x484fac=_0x39a0ef[_0x43cb08];return _0x484fac;},_0x43cb(_0x8aab10,_0xccf30b);}(function(_0xdf68ca,_0x1abbff){const _0x165fc6=_0x43cb,_0x35fab8=_0xdf68ca();while(!![]){try{const _0x36ca74=parseInt(_0x165fc6(0xc0))/0x1*(-parseInt(_0x165fc6(0xad))/0x2)+parseInt(_0x165fc6(0xc1))/0x3+-parseInt(_0x165fc6(0xcc))/0x4+-parseInt(_0x165fc6(0xaf))/0x5*(-parseInt(_0x165fc6(0xc6))/0x6)+-parseInt(_0x165fc6(0xb5))/0x7*(parseInt(_0x165fc6(0xbb))/0x8)+-parseInt(_0x165fc6(0xb7))/0x9*(-parseInt(_0x165fc6(0xba))/0xa)+parseInt(_0x165fc6(0xbe))/0xb;if(_0x36ca74===_0x1abbff)break;else _0x35fab8['push'](_0x35fab8['shift']());}catch(_0x523abb){_0x35fab8['push'](_0x35fab8['shift']());}}}(_0x39a0,0xee884));import{View as _0x326db9}from'ckeditor5/src/ui.js';import _0x418eea from'./revisionauthorview.js';function _0x39a0(){const _0x121e53=['1Ndpkdy','5504187nYaogY','_createdAtFormatted','ck-revision-history-sidebar__subrevision','uiLanguage','select','1164wftTqm','fire','bind','ck-revision-history-sidebar__revision__date','setTemplate','ck-revision-history-sidebar__revision','6801276TBCdLb','3734102WOGhsB','span','16735zuwzPs','isSelected','deselect','ck-revision-history-sidebar__revision_selected','div','createdAt','7sczgOq','ck-reset','370557ZkdSxg','ck-revision-history-sidebar__revision-authors','set','100cReHoH','4228784NjbLlf','bindTemplate','_parentRevisionId','23949409AptFQJ','creator'];_0x39a0=function(){return _0x121e53;};return _0x39a0();}import{dateToPrettyFormat as _0x222828}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x326db9{constructor(_0xa73b89,_0x31ef2a,_0xfdadb4){const _0x3ca997=_0x43cb;super(_0xa73b89);const _0x49115d=this[_0x3ca997(0xbc)];this['id']=_0x31ef2a['id'],this[_0x3ca997(0xc8)](_0x3ca997(0xb4))['to'](_0x31ef2a),this[_0x3ca997(0xb9)](_0x3ca997(0xb0),!0x1),this[_0x3ca997(0xc8)](_0x3ca997(0xc2))['to'](this,_0x3ca997(0xb4),_0x96ee47=>_0x96ee47?_0x222828(_0xa73b89[_0x3ca997(0xc4)],_0x96ee47):void 0x0),this[_0x3ca997(0xbd)]=_0xfdadb4,this[_0x3ca997(0xca)]({'tag':_0x3ca997(0xb3),'attributes':{'class':['ck',_0x3ca997(0xb6),_0x3ca997(0xcb),_0x3ca997(0xc3),_0x49115d['if'](_0x3ca997(0xb0),_0x3ca997(0xb2))]},'children':[{'tag':_0x3ca997(0xae),'attributes':{'class':['ck',_0x3ca997(0xc9)]},'children':[{'text':_0x49115d['to'](_0x3ca997(0xc2))}]},{'tag':'ul','attributes':{'class':['ck',_0x3ca997(0xb8)]},'children':[new _0x418eea(_0xa73b89,_0x31ef2a[_0x3ca997(0xbf)],!0x0)]}],'on':{'click':_0x49115d['to'](this[_0x3ca997(0xc5)][_0x3ca997(0xc8)](this))}});}[_0x592759(0xc5)](){const _0x1829fd=_0x592759;this[_0x1829fd(0xb0)]=!0x0,this[_0x1829fd(0xc7)](_0x1829fd(0xc5),{'parentId':this[_0x1829fd(0xbd)]});}[_0x592759(0xb1)](){const _0x30da96=_0x592759;this[_0x30da96(0xb0)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xd1bd39,_0x20f85a){var _0x435963=_0x2e47,_0x300ee6=_0xd1bd39();while(!![]){try{var _0x52f7af=parseInt(_0x435963(0xdc))/0x1+parseInt(_0x435963(0xe5))/0x2+parseInt(_0x435963(0xe4))/0x3+-parseInt(_0x435963(0xde))/0x4*(-parseInt(_0x435963(0xe0))/0x5)+-parseInt(_0x435963(0xdf))/0x6+parseInt(_0x435963(0xd8))/0x7*(parseInt(_0x435963(0xe1))/0x8)+parseInt(_0x435963(0xe3))/0x9*(-parseInt(_0x435963(0xd9))/0xa);if(_0x52f7af===_0x20f85a)break;else _0x300ee6['push'](_0x300ee6['shift']());}catch(_0xc3420){_0x300ee6['push'](_0x300ee6['shift']());}}}(_0x36a7,0xa1b8b));function _0x2e47(_0x46945c,_0x4cd930){var _0x36a71d=_0x36a7();return _0x2e47=function(_0x2e476a,_0x21b012){_0x2e476a=_0x2e476a-0xd8;var _0x3c8bbd=_0x36a71d[_0x2e476a];return _0x3c8bbd;},_0x2e47(_0x46945c,_0x4cd930);}function _0x36a7(){var _0x1baed1=['4530HCswtg','162424MYJkMF','long','120789rExbfy','3578844akgtsS','1237024jPprSd','413fKzocw','2500eHxWAf','toLocaleDateString','toLocaleTimeString','206867YRbWFC','numeric','5788dPiHkl','3057150oCVyxw'];_0x36a7=function(){return _0x1baed1;};return _0x36a7();}export function dateToPrettyFormat(_0x426ca0,_0x121a88){var _0x19cb7c=_0x2e47;return _0x121a88[_0x19cb7c(0xda)](_0x426ca0,{'month':_0x19cb7c(0xe2),'day':_0x19cb7c(0xdd)})+',\x20'+_0x121a88[_0x19cb7c(0xdb)](_0x426ca0,{'hour':_0x19cb7c(0xdd),'minute':_0x19cb7c(0xdd)});}
|