@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250610.0 → 0.0.0-nightly-20250613.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 +7 -7
- 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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.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/nb.js +1 -1
- package/dist/translations/nb.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/uz.js +1 -1
- package/dist/translations/uz.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 +11 -11
- 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.d.ts +4 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +0 -37
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +1 -6
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +2 -2
- 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 +2 -2
- 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
|
-
function _0x16d0(){const _0x5b54c4=['type','revision:','removeMarker','unbindElementFromMarkerName','has','right','isAfter','elementStart','highest','_changeView','resolve','downcastDispatcher','revision','nodeAfter','rootName','removeClass','isAdded','abs','domEvent','511rSLObN','isReady','ck-revision-history-root--active','_getChangeFromId','object','element:pre','schema','config','11234080KDIJnm','addMarker:revision-suggestion:deletion','elementToAttribute','change:activeView','getIndex','isPremiumPlugin','mouseover','addRevision','getChild','markersStart','softBreak','isNavigationMode','changeId','ck-revision-history-root-add','ck-suggestion-marker--active','attachChange','_getRevisionsRange','setAttribute','get','index','distance','isLimit','nextSibling','getLaterVisibleRevision','ck-suggestion-marker-merge','insertion','isAttached','merge','createAttributeElement','consumable','isCollapsed','loadRevisionData','_makeTape','mapViewToDom','string','revision-suggestion:','diffData','ck-suggestion-marker-','span','isIncorrect','_threeWayMerge','hasAttribute','revision-suggestion','find','isSuggestion','maxOffset','forceDisabled','side','getWalker','filter','affectsData','change:numberOfChanges','9QAmSdd','from','locale','previousPosition','document','offsetSize','revisionHistoryLabel','range','ck-suggestion-preview-marker-','isBlock','revisionHistory','consume','isOnRoot','splice','8BWaJNT','text','_setChanges','removeMarker:revision','createPositionBefore','_update','_sortAndFilterDiffChanges','getRevisionRootsAttributes','domConverter','test','currentChangeNumber','insertions','view','_appendChild','attributes','getDomRoot','POSITIVE_INFINITY','_markInsertions','_findChangeIdFromDomTarget','_data','unshift','_utils','detachRoot','_step','_cleanMarkers','_joinTapes','314vIQpOA','addMarker:revision','all','newRevisionId','ck-revision-history-root-','bind','showStack','isAtStart','name','addRevisionData','activeChange','_setDistance','1060113DBNIoP','high','updatePosition','_changeIdToChange','uiElement','getAttributes','add','mapper','sort','observeMarkers','markerNameToElements','markerRange','createRange','plugins','isContent','flat','dataDowncast','createRevision','_getViewForChange','adapter','upcast','start','vid_end','editing','isAddSuggestion','startIndex','ck-suggestion-marker','endIndex','change:activeChange','toViewPosition','getRootNames','change:isReady','bindElementToMarker','vid_start','markerToHighlight','enqueueChange','destroy','keys','level','backward','stop','_revisions','_markMismatchedRemovedTags','getAttribute','roots','_makeModelFromViewString','userId','item','oldRevisionId','diff','isBefore','first','refresh','init','deletion','attribute:vid','wrap','_activeViewTarget','removeAttribute','vid','clear','getItems','activeView','pairId','return','ck-suggestion-marker-split','suggestion:','getRevisionDocumentData','_makeModelFromTape','error','indexOf','_setConversion','2148265SjNpgV','editor','isEqual','getClientRects','model','markerName','nextPosition','restoreRevisionCallback','showPreviousChange','element','repository','startsWith','shift','map','bottom','writer','done','addHighlight','isEnabled','RevisionHistoryUtils','then','values','target','delete','numberOfChanges','conversion','editingDowncast','markers','RevisionViewer','_fixObsoleteTags','toViewRange','compare','code','showNextChange','modelRange','change:isEnabled','end','hasClass','suggestion','attributesAfter','addMarker:revision-suggestion:insertion','_refreshStartEndIndex','remove','_getDiff','data','left','length','change','listenTo','deletions','low','findIndex','requires','removeMarker:revision-suggestion','_balloon','isAtEnd','_initInteractions','selection','elementEnd','getRoot','getCustomProperty','-new','enableReadOnlyMode','split','restoreRevision','includes','next','6207YJbvOr','catch','markerToData','commands','8610140JThaEA','_markMarkers','ck-revision-history-root-remove','toViewElement','attributesBefore','reconvertMarker','changes','getRevision','createUIElement','mousedown','ck-editor__editable__overlay','comment','pop','ck-suggestion-preview-marker','markersEnd','set','dataToMarker','push','for','_cleanUp','authors','viewItem','80970zSyyXB','isInline','forward','RevisionsRepository','isObject','createRangeIn','execute','8970272sYtLHh','_removeMissingPairs','createPositionFromPath','data-change-id','slice','checkAttribute','_processTape','forEach','insert','isRemoved','isRemoveSuggestion','parent','pluginName','_removeUnsupportedChanges','revision-viewer','addRoot','addClass','concat','revisionHistoryAttachChange','WidgetToolbarRepository','revision-comment:','top','isOfficialPlugin','_markSuggestions'];_0x16d0=function(){return _0x5b54c4;};return _0x16d0();}const _0x311c6c=_0x5ad5;(function(_0x31088b,_0x63ef5d){const _0x26325d=_0x5ad5,_0x11c7fa=_0x31088b();while(!![]){try{const _0x1122a6=parseInt(_0x26325d(0x130))/0x1*(-parseInt(_0x26325d(0x99))/0x2)+parseInt(_0x26325d(0xa5))/0x3+-parseInt(_0x26325d(0x1c6))/0x4*(-parseInt(_0x26325d(0xed))/0x5)+parseInt(_0x26325d(0x14a))/0x6*(-parseInt(_0x26325d(0x17c))/0x7)+parseInt(_0x26325d(0x151))/0x8*(parseInt(_0x26325d(0x1b8))/0x9)+parseInt(_0x26325d(0x184))/0xa+-parseInt(_0x26325d(0x134))/0xb;if(_0x1122a6===_0x63ef5d)break;else _0x11c7fa['push'](_0x11c7fa['shift']());}catch(_0xa5533a){_0x11c7fa['push'](_0x11c7fa['shift']());}}}(_0x16d0,0xae8f3));import{Plugin as _0x4de403,Command as _0x222b4d}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0xd5562}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x1e1c84}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x22aa0c,Element as _0x393448,Text as _0x4a721f}from'ckeditor5/src/engine.js';import{Users as _0x1d8e31,getMarkerDomElement as _0x2e3746}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x1e3964}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x25f42d}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x2f403a}from'./revisionhistoryutils.js';import{ChangeItem as _0x194a6d}from'./changeitem.js';import{RevisionDiff as _0x300796}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x5ad5(_0x9a796,_0x29c390){const _0x16d0b8=_0x16d0();return _0x5ad5=function(_0x5ad5ef,_0xfe8604){_0x5ad5ef=_0x5ad5ef-0x97;let _0x2729ae=_0x16d0b8[_0x5ad5ef];return _0x2729ae;},_0x5ad5(_0x9a796,_0x29c390);}import{cloneDeep as _0x1c07f2}from'es-toolkit/compat';export class RevisionViewer extends _0x4de403{[_0x311c6c(0xf7)];[_0x311c6c(0xb8)]=null;[_0x311c6c(0x1db)];[_0x311c6c(0xde)];[_0x311c6c(0x172)];[_0x311c6c(0xa8)];[_0x311c6c(0x123)];static get[_0x311c6c(0x15d)](){const _0x206c2a=_0x311c6c;return _0x206c2a(0x109);}static get[_0x311c6c(0x167)](){return!0x0;}static get[_0x311c6c(0x189)](){return!0x0;}static get[_0x311c6c(0x121)](){return[_0x1d8e31,_0x1e1c84,_0x25f42d,_0x2f403a];}constructor(_0x526f04){const _0x47a6d4=_0x311c6c;super(_0x526f04),this[_0x47a6d4(0xf7)]=this[_0x47a6d4(0xee)][_0x47a6d4(0xb2)][_0x47a6d4(0x196)](_0x47a6d4(0x14d)),this[_0x47a6d4(0x1db)]=this[_0x47a6d4(0xee)][_0x47a6d4(0xb2)][_0x47a6d4(0x196)](_0x47a6d4(0x100)),this[_0x47a6d4(0x143)](_0x47a6d4(0xa3),null),this[_0x47a6d4(0x143)](_0x47a6d4(0xe3),null),this[_0x47a6d4(0xde)]=null,this[_0x47a6d4(0x143)](_0x47a6d4(0xd6),null),this[_0x47a6d4(0x143)](_0x47a6d4(0x17d),!0x1),this[_0x47a6d4(0x143)](_0x47a6d4(0xff),!0x0),this['on'](_0x47a6d4(0x110),(_0x3803f0,_0x52c76b,_0x42a482)=>{const _0x14fcb4=_0x47a6d4;this[_0x14fcb4(0xa3)]=null,this[_0x14fcb4(0xe3)]=null,this[_0x14fcb4(0xee)][_0x14fcb4(0xbc)][_0x14fcb4(0x1d2)][_0x14fcb4(0x11c)](_0x517fd2=>{const _0xa9e7d4=_0x14fcb4;for(const _0x498ecb of this[_0xa9e7d4(0xee)][_0xa9e7d4(0xbc)][_0xa9e7d4(0x1d2)][_0xa9e7d4(0x1bc)][_0xa9e7d4(0xd1)])_0x42a482?_0x517fd2[_0xa9e7d4(0x178)](_0xa9e7d4(0x13e),_0x498ecb):_0x517fd2[_0xa9e7d4(0x161)](_0xa9e7d4(0x13e),_0x498ecb);});}),this[_0x47a6d4(0x9e)](_0x47a6d4(0x18f))['to'](this,_0x47a6d4(0xa3),_0x8b570f=>null!==_0x8b570f),this[_0x47a6d4(0x9e)](_0x47a6d4(0x1d0))['to'](this,_0x47a6d4(0x17d),this,_0x47a6d4(0xd6),this,_0x47a6d4(0xa3),(_0xa9b514,_0x1b7b54,_0x1399d8)=>_0xa9b514&&_0x1399d8?_0x1b7b54[_0x47a6d4(0x13a)][_0x47a6d4(0x188)](_0x1399d8):0x0),this[_0x47a6d4(0x9e)](_0x47a6d4(0x105))['to'](this,_0x47a6d4(0x17d),this,_0x47a6d4(0xd6),(_0x44acbf,_0x2ed648)=>_0x44acbf?_0x2ed648[_0x47a6d4(0x13a)][_0x47a6d4(0x11b)]:0x0),this[_0x47a6d4(0x172)]=null,this[_0x47a6d4(0xa8)]=new Map(),this[_0x47a6d4(0x123)]=this[_0x47a6d4(0xee)][_0x47a6d4(0xb2)][_0x47a6d4(0x196)](_0x1e1c84);}[_0x311c6c(0xda)](){const _0x40eb0a=_0x311c6c,_0x58146c=this[_0x40eb0a(0xee)],_0x3913b0=new ShowChangeCommand(_0x58146c,{'direction':_0x40eb0a(0xcc)}),_0xd55e53=new ShowChangeCommand(_0x58146c,{'direction':_0x40eb0a(0x14c)});(_0x58146c[_0x40eb0a(0x133)][_0x40eb0a(0xab)](_0x40eb0a(0xf5),_0x3913b0),_0x58146c[_0x40eb0a(0x133)][_0x40eb0a(0xab)](_0x40eb0a(0x10e),_0xd55e53),_0x58146c[_0x40eb0a(0x133)][_0x40eb0a(0xab)](_0x40eb0a(0x12d),new RestoreRevisionCommand(_0x58146c)),this['on'](_0x40eb0a(0x1b7),()=>{const _0x59da79=_0x40eb0a;_0x3913b0[_0x59da79(0xd9)](),_0xd55e53[_0x59da79(0xd9)]();}),this[_0x40eb0a(0xec)](),this[_0x40eb0a(0x125)](),_0x58146c[_0x40eb0a(0x12b)](_0x40eb0a(0x15f)),_0x58146c[_0x40eb0a(0xb2)][_0x40eb0a(0x16d)](_0x40eb0a(0x164)))&&_0x58146c[_0x40eb0a(0xb2)][_0x40eb0a(0x196)](_0x40eb0a(0x164))[_0x40eb0a(0x1b2)](_0x40eb0a(0x15f));}async[_0x311c6c(0xe8)](_0x5d935c){const _0x11de5a=_0x311c6c;return await this[_0x11de5a(0x1db)][_0x11de5a(0x1a3)](_0x5d935c,this[_0x11de5a(0xb8)]),this[_0x11de5a(0x1db)][_0x11de5a(0xe8)](_0x5d935c);}async[_0x311c6c(0x1cd)](_0x160b0f){const _0xbdbda2=_0x311c6c;return await this[_0xbdbda2(0x1db)][_0xbdbda2(0x1a3)](_0x160b0f,this[_0xbdbda2(0xb8)]),this[_0xbdbda2(0x1db)][_0xbdbda2(0x1cd)](_0x160b0f);}async[_0x311c6c(0x10c)](_0x112e6b,_0x5dcbee,_0x55d23a=!0x1){const _0x55bb77=_0x311c6c;if(!this[_0x55bb77(0xff)])return;const _0x32384a=this[_0x55bb77(0xd6)],_0x1dabf2=this[_0x55bb77(0xf7)],_0x377757=_0x55bb77(0x1a6)==typeof _0x112e6b?_0x1dabf2[_0x55bb77(0x13b)](_0x112e6b):_0x112e6b,_0x2c7493=_0x55bb77(0x1a6)==typeof _0x5dcbee?_0x1dabf2[_0x55bb77(0x13b)](_0x5dcbee):_0x5dcbee,_0x2ae3d6=_0x377757['id'],_0x13bf46=_0x2c7493?_0x2c7493['id']:null;if(!_0x55d23a&&this[_0x55bb77(0xd6)]&&this[_0x55bb77(0xd6)][_0x55bb77(0x9c)]===_0x2ae3d6&&this[_0x55bb77(0xd6)][_0x55bb77(0xd5)]===_0x13bf46)return Promise[_0x55bb77(0x173)]();this[_0x55bb77(0x17d)]=!0x1,this[_0x55bb77(0xe3)]=null,this[_0x55bb77(0xa3)]=null,this[_0x55bb77(0xd6)]=new _0x300796(_0x2ae3d6,_0x13bf46);const _0xfb25b3=this[_0x55bb77(0x194)](_0x377757,_0x2c7493,!0x0)[_0x55bb77(0xfa)](_0x31808d=>this[_0x55bb77(0x1db)][_0x55bb77(0x1a3)](_0x31808d,this[_0x55bb77(0xb8)]));return _0xfb25b3[_0x55bb77(0x145)](new Promise(_0x389baf=>{setTimeout(_0x389baf,0x14);})),Promise[_0x55bb77(0x9b)](_0xfb25b3)[_0x55bb77(0x101)](()=>{const _0x379f07=_0x55bb77;if(!this[_0x379f07(0xff)])return;this[_0x379f07(0x147)]();const _0x4e1977=this[_0x379f07(0x118)](_0x2ae3d6,_0x13bf46);for(const _0x205274 of _0x4e1977[_0x379f07(0x13a)])this[_0x379f07(0xa8)][_0x379f07(0x143)](_0x205274['id'],_0x205274);this[_0x379f07(0xee)][_0x379f07(0xf1)][_0x379f07(0xc8)]({'isUndoable':!0x1},_0x130dd6=>{const _0x15d6b7=_0x379f07;for(const _0x25d2ba of this[_0x15d6b7(0xee)][_0x15d6b7(0xf1)][_0x15d6b7(0x1bc)][_0x15d6b7(0xc3)]())_0x130dd6[_0x15d6b7(0x1dc)](_0x25d2ba);for(const _0x3eeb95 of Object[_0x15d6b7(0xca)](_0x4e1977[_0x15d6b7(0xf1)])){const _0x10260d=_0x130dd6[_0x15d6b7(0x160)](_0x3eeb95);for(const _0x59b9b9 of Object[_0x15d6b7(0xca)](_0x4e1977[_0x15d6b7(0x1d4)][_0x3eeb95]))_0x130dd6[_0x15d6b7(0x195)](_0x59b9b9,_0x4e1977[_0x15d6b7(0x1d4)][_0x3eeb95][_0x59b9b9],_0x10260d);_0x130dd6[_0x15d6b7(0x159)](_0x4e1977[_0x15d6b7(0xf1)][_0x3eeb95],_0x10260d,0x0);}}),this[_0x379f07(0xd6)][_0x379f07(0x1c8)](this[_0x379f07(0x1cc)](_0x4e1977[_0x379f07(0x13a)])),this[_0x379f07(0x17d)]=!0x0;})[_0x55bb77(0x131)](_0x1af699=>{const _0x50d75b=_0x55bb77;console[_0x50d75b(0xea)](_0x1af699),this[_0x50d75b(0x147)](),_0x32384a&&(this[_0x50d75b(0xd6)]=_0x32384a),this[_0x50d75b(0x17d)]=!0x0;});}[_0x311c6c(0xa2)](_0xa049ff,_0x648241){const _0x464dc5=_0x311c6c,_0xb11089=this[_0x464dc5(0xf7)][_0x464dc5(0xb6)](_0xa049ff);return _0xb11089['on'](_0x464dc5(0x1cb),(_0x1e53bd,_0x6aa93e,_0x24b258)=>_0x648241(_0x6aa93e,_0x24b258,_0xb11089)),this[_0x464dc5(0xf7)][_0x464dc5(0x18b)](_0xb11089),_0xb11089;}[_0x311c6c(0x147)](){const _0x2362ae=_0x311c6c;this[_0x2362ae(0xa3)]=null,this[_0x2362ae(0x97)](),this[_0x2362ae(0x172)]&&this[_0x2362ae(0x172)][_0x2362ae(0xc9)](),this[_0x2362ae(0x172)]=null,this[_0x2362ae(0xa8)][_0x2362ae(0xe1)](),this[_0x2362ae(0xee)][_0x2362ae(0xf1)][_0x2362ae(0xc8)]({'isUndoable':!0x1},_0x4c8ff1=>{const _0x7a4a6b=_0x2362ae;for(const _0x4bec5e of this[_0x7a4a6b(0xee)][_0x7a4a6b(0xf1)][_0x7a4a6b(0x1bc)][_0x7a4a6b(0xc3)]())_0x4c8ff1[_0x7a4a6b(0x1dc)](_0x4bec5e);});}[_0x311c6c(0x1cc)](_0x4e589f){const _0x1e8b94=_0x311c6c,_0x2ed00e=[],_0x10725a=new Map();for(const _0x2524a4 of this[_0x1e8b94(0xee)][_0x1e8b94(0xf1)][_0x1e8b94(0x1bc)][_0x1e8b94(0xc3)]()){const _0x557880=this[_0x1e8b94(0xee)][_0x1e8b94(0xbc)][_0x1e8b94(0x1d2)][_0x1e8b94(0x1d5)](_0x2524a4);if(!_0x557880)continue;const _0xb49dd4=_0x557880[_0x1e8b94(0xf0)]()[_0x1e8b94(0xd4)](0x0);_0xb49dd4&&(_0x2ed00e[_0x1e8b94(0x145)](_0x2524a4),_0x10725a[_0x1e8b94(0x143)](_0x2524a4,_0xb49dd4));}return _0x2ed00e[_0x1e8b94(0xad)]((_0x3355de,_0x245d93)=>{const _0x179401=_0x1e8b94,_0x2fb510=_0x10725a[_0x179401(0x196)](_0x3355de),_0x53df87=_0x10725a[_0x179401(0x196)](_0x245d93);return _0x2fb510['y']-_0x53df87['y']||_0x2fb510['x']-_0x53df87['x'];}),(_0x4e589f=_0x4e589f[_0x1e8b94(0x1b5)](_0x4bce7e=>_0x2ed00e[_0x1e8b94(0x12e)](_0x4bce7e[_0x1e8b94(0x177)])))[_0x1e8b94(0xad)]((_0x2fb430,_0x3fb999)=>_0x2ed00e[_0x1e8b94(0xeb)](_0x2fb430[_0x1e8b94(0x177)])-_0x2ed00e[_0x1e8b94(0xeb)](_0x3fb999[_0x1e8b94(0x177)])),_0x4e589f;}[_0x311c6c(0x1a4)](_0x2de026){const _0xa035c8=_0x311c6c,_0x1d8f09=Array[_0xa035c8(0x1b9)](_0x2de026[_0xa035c8(0x108)])[_0xa035c8(0x1b5)](([_0x1dcf55,_0x4b5145])=>_0x1dcf55[_0xa035c8(0xf8)](_0xa035c8(0x16a))&&!_0x4b5145[_0xa035c8(0x1a2)]),_0x46bd89=Array[_0xa035c8(0x1b9)](this[_0xa035c8(0xee)][_0xa035c8(0xf1)][_0xa035c8(0x14f)](_0x2de026)[_0xa035c8(0x1b4)]({'singleCharacters':!0x0}));if(0x0!=_0x1d8f09[_0xa035c8(0x11b)])for(const _0x19f022 of _0x46bd89){const [_0x2d46ab,_0x4dc61e]=_0x1d8f09[0x0],[,_0x429371,_0x47bff7]=_0x2d46ab[_0xa035c8(0x12c)](':');if(_0x4dc61e[_0xa035c8(0x111)][_0xa035c8(0xef)](_0x19f022[_0xa035c8(0xf3)])&&_0x1d8f09[_0xa035c8(0xf9)](),(_0x19f022[_0xa035c8(0x1bb)][_0xa035c8(0xef)](_0x4dc61e[_0xa035c8(0xba)])||_0x19f022[_0xa035c8(0x1bb)][_0xa035c8(0x16f)](_0x4dc61e[_0xa035c8(0xba)]))&&(_0xa035c8(0x19d)==_0x429371?_0x19f022[_0xa035c8(0x179)]={'userId':_0x47bff7}:_0xa035c8(0xdb)==_0x429371&&(_0x19f022[_0xa035c8(0x15a)]={'userId':_0x47bff7})),0x0==_0x1d8f09[_0xa035c8(0x11b)])break;}return _0x46bd89;}[_0x311c6c(0x116)](_0x499a90){const _0x48ff08=_0x311c6c,_0x16f62c=new Map();for(let _0x26163f=0x0;_0x26163f<_0x499a90[_0x48ff08(0x11b)];_0x26163f++)_0x48ff08(0x1c7)===_0x499a90[_0x26163f][_0x48ff08(0x169)]?(_0x499a90[_0x26163f][_0x48ff08(0xd4)][_0x48ff08(0xbe)]=_0x26163f,_0x499a90[_0x26163f][_0x48ff08(0xd4)][_0x48ff08(0xc0)]=_0x26163f):(_0x48ff08(0x170)===_0x499a90[_0x26163f][_0x48ff08(0x169)]?_0x499a90[_0x26163f][_0x48ff08(0xd4)][_0x48ff08(0xbe)]=_0x26163f:_0x48ff08(0x127)===_0x499a90[_0x26163f][_0x48ff08(0x169)]&&(_0x499a90[_0x26163f][_0x48ff08(0xd4)][_0x48ff08(0xc0)]=_0x26163f),_0x16f62c[_0x48ff08(0x143)](_0x499a90[_0x26163f]['id'],_0x26163f));for(const _0x4f597e of _0x16f62c[_0x48ff08(0x102)]())_0x48ff08(0x170)===_0x499a90[_0x4f597e][_0x48ff08(0x169)]?_0x499a90[_0x4f597e][_0x48ff08(0xd4)][_0x48ff08(0xc0)]=_0x16f62c[_0x48ff08(0x196)](_0x499a90[_0x4f597e][_0x48ff08(0xe4)]):_0x48ff08(0x127)===_0x499a90[_0x4f597e][_0x48ff08(0x169)]&&(_0x499a90[_0x4f597e][_0x48ff08(0xd4)][_0x48ff08(0xbe)]=_0x16f62c[_0x48ff08(0x196)](_0x499a90[_0x4f597e][_0x48ff08(0xe4)]));}[_0x311c6c(0x157)](_0x1caef7){const _0x56b38d=_0x311c6c;for(let _0x2398b5=0x0;_0x2398b5<_0x1caef7[_0x56b38d(0x11b)];_0x2398b5++){if(_0x56b38d(0x170)===_0x1caef7[_0x2398b5][_0x56b38d(0x169)])_0x1caef7[_0x2398b5][_0x56b38d(0xd4)][_0x56b38d(0xbe)]=_0x2398b5;else{if(_0x56b38d(0x127)===_0x1caef7[_0x2398b5][_0x56b38d(0x169)]){_0x1caef7[_0x2398b5][_0x56b38d(0xd4)][_0x56b38d(0xc0)]=_0x2398b5;const _0x1b87ea=_0x1caef7[_0x2398b5][_0x56b38d(0xd4)][_0x56b38d(0xbe)];_0x1caef7[_0x1b87ea][_0x56b38d(0xe4)]=_0x1caef7[_0x2398b5]['id'],_0x1caef7[_0x2398b5][_0x56b38d(0xe4)]=_0x1caef7[_0x1b87ea]['id'];}else _0x1caef7[_0x2398b5][_0x56b38d(0xd4)][_0x56b38d(0xbe)]=_0x2398b5,_0x1caef7[_0x2398b5][_0x56b38d(0xd4)][_0x56b38d(0xc0)]=_0x2398b5,_0x1caef7[_0x2398b5][_0x56b38d(0xe4)]=null;}_0x1caef7[_0x2398b5][_0x56b38d(0x18d)]||(_0x1caef7[_0x2398b5][_0x56b38d(0x18d)]=[],_0x1caef7[_0x2398b5][_0x56b38d(0x142)]=[]);}}[_0x311c6c(0x1d7)](_0x234a05,_0x45793f){const _0x6d9519=_0x311c6c,_0x422fbf=_0x234a05[_0x6d9519(0x1b5)](_0x2e7f9c=>!_0x2e7f9c[_0x6d9519(0x179)]);for(let _0x393a1b=0x0;_0x393a1b<_0x45793f[_0x6d9519(0x11b)];_0x393a1b++)_0x45793f[_0x393a1b][_0x6d9519(0x179)]&&(_0x422fbf[_0x393a1b][_0x6d9519(0x179)]=_0x45793f[_0x393a1b][_0x6d9519(0x179)]);}[_0x311c6c(0x118)](_0x4d8d62,_0x413370=null){const _0x362aa3=_0x311c6c,_0x4104b1=this[_0x362aa3(0xf7)][_0x362aa3(0x13b)](_0x4d8d62),_0x3517fb=_0x413370?this[_0x362aa3(0xf7)][_0x362aa3(0x13b)](_0x413370):null,_0x13a266=this[_0x362aa3(0x194)](_0x4104b1,_0x3517fb),_0x11880b=_0x13a266[_0x13a266[_0x362aa3(0x11b)]-0x1],_0x44dfa5=new Map(),_0x55802f={'model':{},'attributes':{},'changes':[]},_0x564876=new Set(),_0x26228f=new Map();for(let _0x5a90e0=_0x13a266[_0x362aa3(0x11b)]-0x1;_0x5a90e0>=0x0;_0x5a90e0--){const _0x51fd7a=_0x13a266[_0x5a90e0];for(const _0x35337d of Object[_0x362aa3(0xca)](_0x51fd7a[_0x362aa3(0x1a8)]))if(_0x51fd7a[_0x362aa3(0x1a8)][_0x35337d][_0x362aa3(0x193)]){const _0x1e298a=_0x51fd7a[_0x362aa3(0x1a8)][_0x35337d][_0x362aa3(0x193)];_0x1e298a[_0x362aa3(0x19e)]?(_0x564876[_0x362aa3(0xab)](_0x35337d),_0x26228f[_0x362aa3(0x16d)](_0x35337d)&&_0x26228f[_0x362aa3(0x196)](_0x35337d)[_0x362aa3(0xd3)]==_0x1e298a[_0x362aa3(0xd3)]?_0x26228f[_0x362aa3(0x104)](_0x35337d):_0x26228f[_0x362aa3(0x143)](_0x35337d,_0x1e298a)):_0x26228f[_0x362aa3(0x16d)](_0x35337d)?(_0x564876[_0x362aa3(0x104)](_0x35337d),_0x26228f[_0x362aa3(0x104)](_0x35337d)):(_0x564876[_0x362aa3(0xab)](_0x35337d),_0x26228f[_0x362aa3(0x143)](_0x35337d,_0x1e298a));}else _0x564876[_0x362aa3(0xab)](_0x35337d);}for(const _0x1d65db of _0x564876){const _0x3f2b7e=_0x26228f[_0x362aa3(0x16d)](_0x1d65db)&&!_0x26228f[_0x362aa3(0x196)](_0x1d65db)[_0x362aa3(0x19e)];let _0xfe78=_0x3f2b7e?_0x13a266[_0x362aa3(0x11b)]-0x1:0x0;const _0x576691=_0x3f2b7e?-0x1:0x1;for(;_0x13a266[_0xfe78];){const _0x19ba3b=_0x13a266[_0xfe78];if(_0x19ba3b[_0x362aa3(0x1a8)][_0x1d65db]){const _0x332f29=_0x3f2b7e?_0x19ba3b[_0x362aa3(0x1a8)][_0x1d65db][_0x362aa3(0x138)]:_0x19ba3b[_0x362aa3(0x1a8)][_0x1d65db][_0x362aa3(0x114)];_0x55802f[_0x362aa3(0x1d4)][_0x1d65db]=_0x332f29?_0x1c07f2(_0x332f29):{};break;}_0xfe78+=_0x576691;}}for(const _0xd2d855 of _0x13a266){_0xd2d855[_0x362aa3(0xf1)]={};for(const _0x1ada26 of _0xd2d855[_0x362aa3(0x148)])_0x44dfa5[_0x362aa3(0x143)](_0x1ada26['id'],_0x1ada26);for(const _0x3a86da of _0x564876){const _0x5c5c85=_0xd2d855[_0x362aa3(0x1a8)][_0x3a86da]?_0xd2d855[_0x362aa3(0x1a8)][_0x3a86da][_0x362aa3(0x1d1)]:'[]',_0x889a63=_0xd2d855[_0x362aa3(0x1a8)][_0x3a86da]?_0xd2d855[_0x362aa3(0x1a8)][_0x3a86da][_0x362aa3(0x11e)]:'[]';_0xd2d855[_0x362aa3(0xf1)][_0x3a86da]={'insertions':this[_0x362aa3(0x1db)][_0x362aa3(0xd2)](_0x5c5c85),'deletions':this[_0x362aa3(0x1db)][_0x362aa3(0xd2)](_0x889a63)};}}for(const _0x112b92 of _0x564876){let _0x45a840=null,_0x50ae4c=0x0;const _0x40c972=new Map(Array[_0x362aa3(0x1b9)](_0x4104b1[_0x362aa3(0xf1)][_0x112b92][_0x362aa3(0x1d1)][_0x362aa3(0x108)])[_0x362aa3(0x1b5)](([_0x2bd6e0])=>!_0x2bd6e0[_0x362aa3(0xf8)](_0x362aa3(0x16a))));let _0x522897=0x0;for(const _0x1b54b0 of _0x13a266){const _0x5e5da2=this[_0x362aa3(0x1a4)](_0x1b54b0[_0x362aa3(0xf1)][_0x112b92][_0x362aa3(0x1d1)]);_0x1b54b0==_0x4104b1?(_0x45a840=_0x5e5da2,_0x50ae4c=_0x45a840[_0x362aa3(0x11b)],_0x45a840[_0x362aa3(0x158)](_0x425dff=>{_0x425dff['id']=_0x522897++;}),this[_0x362aa3(0x157)](_0x45a840)):this[_0x362aa3(0x1d7)](_0x45a840,_0x5e5da2);const _0x3b3dda=_0x45a840[_0x362aa3(0x1b5)](_0x5598f0=>!_0x5598f0[_0x362aa3(0x179)])[_0x362aa3(0xfa)](_0x55320e=>_0x55320e['id']);let _0x217689=0x0;const _0x19e691=this[_0x362aa3(0x1a4)](_0x1b54b0[_0x362aa3(0xf1)][_0x112b92][_0x362aa3(0x11e)]);_0x19e691[_0x362aa3(0x158)](_0x3130a0=>{const _0x30a961=_0x362aa3;_0x3130a0[_0x30a961(0x15a)]?_0x3130a0['id']=_0x50ae4c++:_0x3130a0['id']=_0x3b3dda[_0x217689++];}),this[_0x362aa3(0x157)](_0x19e691),this[_0x362aa3(0xa4)](_0x45a840,_0x362aa3(0x179)),this[_0x362aa3(0xa4)](_0x19e691,_0x362aa3(0x15a)),_0x1b54b0==_0x4104b1&&this[_0x362aa3(0x135)](_0x45a840,_0x40c972),_0x45a840=this[_0x362aa3(0x98)](_0x45a840,_0x19e691),this[_0x362aa3(0x116)](_0x45a840),this[_0x362aa3(0xa4)](_0x45a840,_0x362aa3(0x15a));}_0x45a840=_0x45a840[_0x362aa3(0x1b5)](_0x28e7e9=>!(_0x28e7e9[_0x362aa3(0x179)]&&_0x28e7e9[_0x362aa3(0x15a)]));const _0x11996c=new Map(_0x11880b[_0x362aa3(0xf1)][_0x112b92][_0x362aa3(0x11e)][_0x362aa3(0x108)]),_0x2165cf=new Set(_0x40c972[_0x362aa3(0xca)]());for(const _0x3a7a27 of _0x11996c[_0x362aa3(0xca)]())_0x2165cf[_0x362aa3(0x104)](_0x3a7a27);this[_0x362aa3(0x168)](_0x45a840,_0x2165cf),this[_0x362aa3(0x10a)](_0x45a840),_0x45a840=this[_0x362aa3(0x152)](_0x45a840),_0x45a840=this[_0x362aa3(0xcf)](_0x45a840),_0x45a840=this[_0x362aa3(0x15e)](_0x45a840);const {root:_0x15589a,changes:_0xf8146f}=this[_0x362aa3(0xe9)](_0x45a840,_0x44dfa5,_0x112b92);_0x55802f[_0x362aa3(0xf1)][_0x112b92]=_0x15589a;const _0x126bc8=_0x26228f[_0x362aa3(0x196)](_0x112b92);if(_0x126bc8){const _0x5044b5=_0x44dfa5[_0x362aa3(0x196)](_0x126bc8[_0x362aa3(0xd3)]),_0x2f2576=new _0x194a6d({'author':_0x5044b5,'type':_0x126bc8[_0x362aa3(0x19e)]?_0x362aa3(0xab):_0x362aa3(0x117),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x112b92});_0xf8146f[_0x362aa3(0x1da)](_0x2f2576),_0x55802f[_0x362aa3(0x1d4)][_0x112b92][_0x362aa3(0x163)]=_0x2f2576['id'];}_0x55802f[_0x362aa3(0x13a)]=_0x55802f[_0x362aa3(0x13a)][_0x362aa3(0x162)](_0xf8146f);}return _0x55802f;}[_0x311c6c(0x135)](_0x4a0a9f,_0x11445e){const _0xf636e9=_0x311c6c;for(let _0x2d17ab=0x0;_0x2d17ab<_0x4a0a9f[_0xf636e9(0x11b)];_0x2d17ab++)for(const [_0x35c0c0,_0x2a106d]of _0x11445e)!_0x2a106d[_0xf636e9(0x1a2)]&&_0x2a106d[_0xf636e9(0xba)][_0xf636e9(0xef)](_0x4a0a9f[_0x2d17ab][_0xf636e9(0x1bb)])&&_0x4a0a9f[_0x2d17ab][_0xf636e9(0x18d)][_0xf636e9(0x145)](_0x35c0c0),_0x2a106d[_0xf636e9(0x111)][_0xf636e9(0xef)](_0x4a0a9f[_0x2d17ab][_0xf636e9(0xf3)])&&_0x4a0a9f[_0x2d17ab][_0xf636e9(0x142)][_0xf636e9(0x145)](_0x35c0c0);}[_0x311c6c(0x98)](_0x42651b,_0x2b1311){const _0x2b61c8=_0x311c6c;let _0x38b862=[],_0x5b72ea=0x0,_0x5191fc=0x0;for(;_0x5b72ea<_0x42651b[_0x2b61c8(0x11b)]||_0x5191fc<_0x2b1311[_0x2b61c8(0x11b)];){const _0x324a3f=_0x42651b[_0x5b72ea]||{},_0x2374fc=_0x2b1311[_0x5191fc]||{};if(_0x324a3f['id']==_0x2374fc['id'])_0x5b72ea++,_0x5191fc++,_0x38b862[_0x2b61c8(0x145)](_0x324a3f);else{if(_0x2374fc[_0x2b61c8(0x15a)]&&_0x324a3f[_0x2b61c8(0x179)]){const {commonTape:_0x25d7ca,iEnd:_0x501c00,jEnd:_0x7b4dba}=this[_0x2b61c8(0x1ac)](_0x42651b,_0x5b72ea,_0x2b1311,_0x5191fc);_0x38b862=_0x38b862[_0x2b61c8(0x162)](_0x25d7ca),_0x5b72ea=_0x501c00,_0x5191fc=_0x7b4dba;}else _0x2374fc[_0x2b61c8(0x15a)]?(_0x5191fc++,_0x38b862[_0x2b61c8(0x145)](_0x2374fc)):(_0x5b72ea++,_0x38b862[_0x2b61c8(0x145)](_0x324a3f));}}return _0x38b862;}[_0x311c6c(0x168)](_0x28b140,_0x5307a8){const _0xcc45e1=_0x311c6c,_0x1ca384=[];for(let _0x2e34b4=0x0;_0x2e34b4<_0x28b140[_0xcc45e1(0x11b)];_0x2e34b4++){for(let _0x1ebff9=0x0;_0x1ebff9<_0x28b140[_0x2e34b4][_0xcc45e1(0x18d)][_0xcc45e1(0x11b)];_0x1ebff9++){const _0xa20786=_0x28b140[_0x2e34b4][_0xcc45e1(0x18d)][_0x1ebff9];if(!_0x5307a8[_0xcc45e1(0x16d)](_0xa20786))continue;const {group:_0x2ec265,type:_0x41dc7e,authorId:_0x92e160}=_0x39d84f(_0xa20786);_0xcc45e1(0x1ae)!=_0x2ec265||_0xcc45e1(0x19d)!=_0x41dc7e&&_0xcc45e1(0xdb)!=_0x41dc7e||(_0x1ca384[_0xcc45e1(0x1da)]({'type':_0x41dc7e,'name':_0xa20786,'userId':_0x92e160}),_0x28b140[_0x2e34b4][_0xcc45e1(0x18d)][_0xcc45e1(0x1c5)](_0x1ebff9,0x1),_0x1ebff9--);}_0x4d49f1(_0x28b140[_0x2e34b4]);for(let _0x4dfce9=0x0;_0x4dfce9<_0x28b140[_0x2e34b4][_0xcc45e1(0x142)][_0xcc45e1(0x11b)];_0x4dfce9++){const _0x479d71=_0x28b140[_0x2e34b4][_0xcc45e1(0x142)][_0x4dfce9];if(!_0x5307a8[_0xcc45e1(0x16d)](_0x479d71))continue;const {group:_0xae143e,type:_0x214601}=_0x39d84f(_0x479d71);if(_0xcc45e1(0x1ae)!=_0xae143e||_0xcc45e1(0x19d)!=_0x214601&&_0xcc45e1(0xdb)!=_0x214601)continue;_0x28b140[_0x2e34b4][_0xcc45e1(0x142)][_0xcc45e1(0x1c5)](_0x4dfce9,0x1),_0x4dfce9--;const _0x320839=_0x1ca384[_0xcc45e1(0x120)](_0x49920c=>_0x49920c[_0xcc45e1(0xa1)]==_0x479d71);_0x320839>-0x1&&_0x1ca384[_0xcc45e1(0x1c5)](_0x320839,0x1);}}function _0x39d84f(_0x522835){const _0x61798d=_0xcc45e1,_0x32983f=_0x522835[_0x61798d(0x12c)](':');return{'group':_0x32983f[0x0],'type':_0x32983f[0x1],'subType':_0x32983f[_0x61798d(0x11b)]>=0x5?_0x32983f[0x2]:null,'id':_0x32983f[_0x61798d(0x11b)]<0x5?_0x32983f[0x2]:_0x32983f[0x3],'authorId':_0x32983f[_0x61798d(0x11b)]<0x5?_0x32983f[0x3]:_0x32983f[0x4],'markerCount':0x6==_0x32983f[_0x61798d(0x11b)]?_0x32983f[0x5]:null};}function _0x4d49f1(_0x11bc9b){const _0x37e1f5=_0xcc45e1;for(let _0x4326c2=0x0;_0x4326c2<_0x1ca384[_0x37e1f5(0x11b)];_0x4326c2++){if(_0x11bc9b[_0x37e1f5(0x179)]&&_0x37e1f5(0x19d)==_0x1ca384[_0x4326c2][_0x37e1f5(0x169)]&&_0x11bc9b[_0x37e1f5(0x179)][_0x37e1f5(0xd3)]==_0x1ca384[_0x4326c2][_0x37e1f5(0xd3)])return _0x11bc9b[_0x37e1f5(0xbd)]=_0x1ca384[_0x4326c2],void delete _0x11bc9b[_0x37e1f5(0x179)];if(!_0x11bc9b[_0x37e1f5(0x179)]&&!_0x11bc9b[_0x37e1f5(0x15a)]&&_0x37e1f5(0xdb)==_0x1ca384[_0x4326c2][_0x37e1f5(0x169)])return void(_0x11bc9b[_0x37e1f5(0x15b)]=_0x1ca384[_0x4326c2]);}}}[_0x311c6c(0xa4)](_0x458642,_0x41d7bb){const _0x721b8b=_0x311c6c;let _0x39d80a=0x0,_0x220506=!0x1;const _0x52a703=new Map();for(const _0x1d8074 of _0x458642)_0x1d8074[_0x41d7bb]?_0x220506&&(_0x39d80a++,_0x220506=!0x1):(_0x39d80a++,_0x220506=!0x0),_0x52a703[_0x721b8b(0x143)](_0x1d8074['id'],_0x39d80a);for(let _0x2ebd88=0x0;_0x2ebd88<_0x458642[_0x721b8b(0x11b)];_0x2ebd88++){if(_0x721b8b(0x15a)==_0x41d7bb&&_0x458642[_0x2ebd88][_0x721b8b(0x179)]||_0x721b8b(0x179)==_0x41d7bb&&_0x458642[_0x2ebd88][_0x721b8b(0x15a)])continue;if(_0x721b8b(0x1c7)==_0x458642[_0x2ebd88][_0x721b8b(0x169)]){_0x458642[_0x2ebd88][_0x721b8b(0x198)]=0x0;continue;}const _0x5596f4=_0x52a703[_0x721b8b(0x196)](_0x458642[_0x2ebd88][_0x721b8b(0xe4)]),_0xc07bcb=_0x52a703[_0x721b8b(0x196)](_0x458642[_0x2ebd88]['id']);_0x458642[_0x2ebd88][_0x721b8b(0x198)]=_0x5596f4-_0xc07bcb;}}[_0x311c6c(0x194)](_0x153bb8,_0x405d3f,_0xfed6d8=!0x1){const _0x4a5725=_0x311c6c,_0x562dc9=[];let _0x153eae=this[_0x4a5725(0xf7)][_0x4a5725(0x188)](_0x153bb8),_0x3ee773=this[_0x4a5725(0xf7)][_0x4a5725(0x188)](_0x405d3f);for(-0x1==_0x3ee773&&(_0x3ee773=this[_0x4a5725(0xf7)][_0x4a5725(0xce)][_0x4a5725(0x11b)],_0xfed6d8=!0x1);_0x153eae<_0x3ee773;)_0x562dc9[_0x4a5725(0x145)](this[_0x4a5725(0xf7)][_0x4a5725(0x13b)](_0x153eae)),_0x153eae++;return _0xfed6d8&&_0x562dc9[_0x4a5725(0x145)](this[_0x4a5725(0xf7)][_0x4a5725(0x13b)](_0x153eae)),_0x562dc9;}[_0x311c6c(0x1ac)](_0x14fee4,_0x20dc99,_0x16f9e0,_0x403675){const _0x4c79c2=_0x311c6c,_0x44c155=this[_0x4c79c2(0xee)][_0x4c79c2(0xf1)][_0x4c79c2(0x182)];let _0x3ae09f=_0x20dc99;for(;_0x14fee4[_0x3ae09f]&&_0x14fee4[_0x3ae09f][_0x4c79c2(0x179)];)_0x3ae09f++;let _0x3a66fb=_0x403675;for(;_0x16f9e0[_0x3a66fb]&&_0x16f9e0[_0x3a66fb][_0x4c79c2(0x15a)];)_0x3a66fb++;_0x33e126(_0x14fee4,_0x20dc99,_0x3ae09f),_0x33e126(_0x16f9e0,_0x403675,_0x3a66fb);const _0x2564d2=_0x16f9e0[_0x4c79c2(0x155)](_0x403675,_0x3a66fb)[_0x4c79c2(0x162)](_0x14fee4[_0x4c79c2(0x155)](_0x20dc99,_0x3ae09f));return _0x2564d2[_0x4c79c2(0xad)]((_0x1b346b,_0x4f9255)=>_0x1b346b[_0x4c79c2(0x1b3)]!=_0x4f9255[_0x4c79c2(0x1b3)]?_0x1b346b[_0x4c79c2(0x1b3)]-_0x4f9255[_0x4c79c2(0x1b3)]:_0x1b346b[_0x4c79c2(0xcb)]!=_0x4f9255[_0x4c79c2(0xcb)]?_0x1b346b[_0x4c79c2(0xcb)]-_0x4f9255[_0x4c79c2(0xcb)]:_0x1b346b[_0x4c79c2(0x198)]!=_0x4f9255[_0x4c79c2(0x198)]?_0x4f9255[_0x4c79c2(0x198)]-_0x1b346b[_0x4c79c2(0x198)]:!!_0x1b346b[_0x4c79c2(0x179)]!=!!_0x4f9255[_0x4c79c2(0x179)]?-0x1==_0x1b346b[_0x4c79c2(0x1b3)]||0x0==_0x1b346b[_0x4c79c2(0x1b3)]?_0x1b346b[_0x4c79c2(0x179)]?-0x1:0x1:_0x1b346b[_0x4c79c2(0x179)]?0x1:-0x1:_0x1b346b[_0x4c79c2(0x197)]-_0x4f9255[_0x4c79c2(0x197)]),{'commonTape':_0x2564d2,'iEnd':_0x3ae09f,'jEnd':_0x3a66fb};function _0x33e126(_0x125a99,_0x190875,_0x2653e0){const _0x491864=_0x4c79c2;let _0x530154=-0x1,_0x55a720=Number[_0x491864(0x1d6)],_0x1e1296=!0x0;for(let _0x1ee590=_0x190875;_0x1ee590<_0x2653e0;_0x1ee590++)if(_0x44c155[_0x491864(0x14b)](_0x125a99[_0x1ee590][_0x491864(0xd4)])||(_0x1e1296=!0x1),_0x125a99[_0x1ee590][_0x491864(0xd4)][_0x491864(0xbe)]<_0x190875&&(_0x530154=_0x1ee590),_0x125a99[_0x1ee590][_0x491864(0xd4)][_0x491864(0xc0)]>=_0x2653e0){_0x55a720=_0x1ee590;break;}_0x1e1296&&(_0x530154=_0x2653e0-0x1);for(let _0x5c09c6=_0x190875;_0x5c09c6<_0x2653e0;_0x5c09c6++)_0x125a99[_0x5c09c6][_0x491864(0x1b3)]=_0x5c09c6<=_0x530154?-0x1:_0x5c09c6<_0x55a720?0x0:0x1,_0x125a99[_0x5c09c6][_0x491864(0x197)]=_0x5c09c6;let _0x19bad0=0x0;for(let _0x428c0b=_0x190875;_0x428c0b<=_0x530154;_0x428c0b++)0x0==_0x125a99[_0x428c0b][_0x491864(0x198)]?_0x125a99[_0x428c0b][_0x491864(0xcb)]=_0x19bad0:(_0x19bad0++,_0x125a99[_0x428c0b][_0x491864(0xcb)]=_0x19bad0,_0x19bad0++);for(let _0x48ba76=_0x190875;_0x48ba76<_0x2653e0;_0x48ba76++)0x0==_0x125a99[_0x48ba76][_0x491864(0x1b3)]&&(_0x125a99[_0x48ba76][_0x491864(0xcb)]=_0x19bad0);_0x19bad0=0x0;for(let _0x37076d=_0x2653e0-0x1;_0x37076d>=_0x55a720;_0x37076d--)0x0==_0x125a99[_0x37076d][_0x491864(0x198)]?_0x125a99[_0x37076d][_0x491864(0xcb)]=_0x19bad0:(_0x19bad0--,_0x125a99[_0x37076d][_0x491864(0xcb)]=_0x19bad0,_0x19bad0--);}}[_0x311c6c(0x10a)](_0x24a72c){const _0x41d92a=_0x311c6c,_0x55b750=new Map(),_0x2f120b=this[_0x41d92a(0xee)][_0x41d92a(0xf1)][_0x41d92a(0x182)];for(let _0x137886=0x1;_0x137886<_0x24a72c[_0x41d92a(0x11b)];_0x137886++){let _0x105487,_0x4faf52,_0x359fdb;const _0x311c77=_0x24a72c[_0x137886],_0x4046a8=_0x24a72c[_0x137886-0x1];if(_0x41d92a(0x1c7)==_0x311c77[_0x41d92a(0x169)])continue;if(_0x311c77[_0x41d92a(0x169)]!=_0x4046a8[_0x41d92a(0x169)])continue;if(!_0x2f120b[_0x41d92a(0x1c1)](_0x4046a8[_0x41d92a(0xd4)])||_0x2f120b[_0x41d92a(0x199)](_0x4046a8[_0x41d92a(0xd4)]))continue;if(!_0x2f120b[_0x41d92a(0x1c1)](_0x311c77[_0x41d92a(0xd4)])||_0x2f120b[_0x41d92a(0x199)](_0x311c77[_0x41d92a(0xd4)]))continue;if((_0x24a72c[_0x137886][_0x41d92a(0x179)]||_0x24a72c[_0x137886][_0x41d92a(0xbd)])&&_0x24a72c[_0x137886-0x1][_0x41d92a(0x15a)])_0x105487=_0x24a72c[_0x137886],_0x4faf52=_0x24a72c[_0x137886-0x1],_0x359fdb=_0x137886-0x1;else{if(!_0x24a72c[_0x137886][_0x41d92a(0x15a)]||!_0x24a72c[_0x137886-0x1][_0x41d92a(0x179)]&&!_0x24a72c[_0x137886-0x1][_0x41d92a(0xbd)])continue;_0x105487=_0x24a72c[_0x137886-0x1],_0x4faf52=_0x24a72c[_0x137886],_0x359fdb=_0x137886;}const _0x489158=_0x105487[_0x41d92a(0xcb)]==_0x4faf52[_0x41d92a(0xcb)],_0xea54eb=Math[_0x41d92a(0x17a)](_0x105487[_0x41d92a(0xcb)])<Math[_0x41d92a(0x17a)](_0x4faf52[_0x41d92a(0xcb)])&&0x0==_0x4faf52[_0x41d92a(0x198)];(_0x489158||_0xea54eb)&&(_0x55b750[_0x41d92a(0x143)](_0x4faf52['id'],_0x105487['id']),_0x24a72c[_0x41d92a(0x1c5)](_0x359fdb,0x1),_0x137886--,_0x105487[_0x41d92a(0x179)]=!0x1);}for(let _0x3a862f=0x0;_0x3a862f<_0x24a72c[_0x41d92a(0x11b)];_0x3a862f++)_0x55b750[_0x41d92a(0x16d)](_0x24a72c[_0x3a862f][_0x41d92a(0xe4)])&&(_0x24a72c[_0x3a862f][_0x41d92a(0xe4)]=_0x55b750[_0x41d92a(0x196)](_0x24a72c[_0x3a862f][_0x41d92a(0xe4)]));}[_0x311c6c(0x152)](_0x5c61f4){const _0x60cbff=_0x311c6c,_0x2d5f96=new Set(_0x5c61f4[_0x60cbff(0xfa)](_0x53a069=>_0x53a069['id']));for(let _0x3765c3=0x0;_0x3765c3<_0x5c61f4[_0x60cbff(0x11b)];_0x3765c3++)_0x2d5f96[_0x60cbff(0x16d)](_0x5c61f4[_0x3765c3][_0x60cbff(0xe4)])||0x0==_0x5c61f4[_0x3765c3][_0x60cbff(0x198)]||(_0x5c61f4[_0x3765c3][_0x60cbff(0x1ab)]=!0x0);return _0x5c61f4[_0x60cbff(0x1b5)](_0x26aad0=>!_0x26aad0[_0x60cbff(0x1ab)]);}[_0x311c6c(0xcf)](_0x14f931){const _0x350fdb=_0x311c6c,_0x1d6158=new Set();for(let _0x22c290=0x0;_0x22c290<_0x14f931[_0x350fdb(0x11b)];_0x22c290++){if(_0x1d6158[_0x350fdb(0x16d)](_0x14f931[_0x22c290]['id'])&&_0x14f931[_0x22c290][_0x350fdb(0x15a)]&&(_0x14f931[_0x22c290][_0x350fdb(0x1ab)]=!0x0),_0x14f931[_0x22c290][_0x350fdb(0x1ab)])continue;if(0x0==_0x14f931[_0x22c290][_0x350fdb(0x198)])continue;if(_0x350fdb(0x170)!=_0x14f931[_0x22c290][_0x350fdb(0x169)])continue;if(null==_0x14f931[_0x22c290][_0x350fdb(0xe4)])continue;let _0x1f408b=_0x22c290+0x1,_0x1c6cf6=0x0;for(;_0x14f931[_0x1f408b]['id']!=_0x14f931[_0x22c290][_0x350fdb(0xe4)];)_0x350fdb(0x170)==_0x14f931[_0x1f408b][_0x350fdb(0x169)]?_0x1c6cf6++:_0x350fdb(0x127)==_0x14f931[_0x1f408b][_0x350fdb(0x169)]&&_0x1c6cf6--,_0x1f408b++;if(0x0!=_0x1c6cf6){if(_0x14f931[_0x22c290][_0x350fdb(0x15a)])_0x14f931[_0x22c290][_0x350fdb(0x1ab)]=!0x0;else{for(;_0x1f408b!=_0x22c290;)_0x14f931[_0x1f408b][_0x350fdb(0x15a)]&&0x0!=_0x14f931[_0x1f408b][_0x350fdb(0x198)]&&(_0x14f931[_0x1f408b][_0x350fdb(0x1ab)]=!0x0,_0x1d6158[_0x350fdb(0xab)](_0x14f931[_0x1f408b][_0x350fdb(0xe4)])),_0x1f408b--;}}}return _0x14f931[_0x350fdb(0x1b5)](_0x155b1f=>!_0x155b1f[_0x350fdb(0x1ab)]);}[_0x311c6c(0x15e)](_0x5ae2e2){const _0x5e9e4d=_0x311c6c,_0x128159=this[_0x5e9e4d(0xee)][_0x5e9e4d(0xf1)][_0x5e9e4d(0x182)];for(let _0x506b31=0x0;_0x506b31<_0x5ae2e2[_0x5e9e4d(0x11b)];_0x506b31++){if(!(_0x5ae2e2[_0x506b31][_0x5e9e4d(0x179)]||_0x5ae2e2[_0x506b31][_0x5e9e4d(0xbd)]||_0x5ae2e2[_0x506b31][_0x5e9e4d(0x15a)]||_0x5ae2e2[_0x506b31][_0x5e9e4d(0x15b)]))continue;if(0x0==_0x5ae2e2[_0x506b31][_0x5e9e4d(0x198)])continue;const _0x519366=_0x5ae2e2[_0x506b31][_0x5e9e4d(0xd4)];_0x128159[_0x5e9e4d(0x1c1)](_0x519366)||_0x128159[_0x5e9e4d(0x199)](_0x519366)||(_0x5ae2e2[_0x506b31][_0x5e9e4d(0x179)]&&delete _0x5ae2e2[_0x506b31][_0x5e9e4d(0x179)],_0x5ae2e2[_0x506b31][_0x5e9e4d(0xbd)]&&delete _0x5ae2e2[_0x506b31][_0x5e9e4d(0xbd)],_0x5ae2e2[_0x506b31][_0x5e9e4d(0x15b)]&&delete _0x5ae2e2[_0x506b31][_0x5e9e4d(0x15b)],_0x5ae2e2[_0x506b31][_0x5e9e4d(0x15a)]&&(_0x5ae2e2[_0x506b31][_0x5e9e4d(0x1ab)]=!0x0));}return _0x5ae2e2[_0x5e9e4d(0x1b5)](_0x2ed729=>!_0x2ed729[_0x5e9e4d(0x1ab)]);}[_0x311c6c(0xe9)](_0x25dac2,_0xaf1ec1,_0xba3660){const _0x5b1d59=_0x311c6c,_0x55cc96=new _0x22aa0c(),_0x4563f9=[],_0x1d61ea=new Map(),_0x47943c=this[_0x5b1d59(0xee)][_0x5b1d59(0xf1)],_0x30848a=_0x47943c[_0x5b1d59(0x182)],_0x4d1f3c=[_0x55cc96],_0xc042af={},_0x174ab8={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5aa00d=null;const _0x30dac0=[0x0];for(let _0xb4854b=0x0;_0xb4854b<_0x25dac2[_0x5b1d59(0x11b)];_0xb4854b++)if(_0x5b1d59(0x170)===_0x25dac2[_0xb4854b][_0x5b1d59(0x169)]){_0x25dac2[_0xb4854b][_0x5b1d59(0x1bb)]=_0x47943c[_0x5b1d59(0x153)](_0x55cc96,_0x30dac0);const _0x2f875d=new _0x393448(_0x25dac2[_0xb4854b][_0x5b1d59(0xd4)][_0x5b1d59(0xa1)],_0x25dac2[_0xb4854b][_0x5b1d59(0xd4)][_0x5b1d59(0xaa)]());_0x4d1f3c[0x0][_0x5b1d59(0x1d3)](_0x2f875d),_0x30dac0[_0x5b1d59(0x145)](0x0),_0x4d1f3c[_0x5b1d59(0x1da)](_0x2f875d),_0x25dac2[_0xb4854b][_0x5b1d59(0xf3)]=_0x47943c[_0x5b1d59(0x153)](_0x55cc96,_0x30dac0);}else _0x5b1d59(0x127)===_0x25dac2[_0xb4854b][_0x5b1d59(0x169)]?(_0x4d1f3c[_0x5b1d59(0xf9)](),_0x25dac2[_0xb4854b][_0x5b1d59(0x1bb)]=_0x47943c[_0x5b1d59(0x153)](_0x55cc96,_0x30dac0),_0x30dac0[_0x5b1d59(0x140)](),_0x30dac0[_0x30dac0[_0x5b1d59(0x11b)]-0x1]++,_0x25dac2[_0xb4854b][_0x5b1d59(0xf3)]=_0x47943c[_0x5b1d59(0x153)](_0x55cc96,_0x30dac0)):(_0x25dac2[_0xb4854b][_0x5b1d59(0x1bb)]=_0x47943c[_0x5b1d59(0x153)](_0x55cc96,_0x30dac0),_0x5aa00d?_0x5aa00d[_0x5b1d59(0x1d9)]+=_0x25dac2[_0xb4854b][_0x5b1d59(0xd4)][_0x5b1d59(0x119)]:_0x5aa00d=new _0x4a721f(_0x25dac2[_0xb4854b][_0x5b1d59(0xd4)][_0x5b1d59(0x119)],_0x25dac2[_0xb4854b][_0x5b1d59(0xd4)][_0x5b1d59(0xaa)]()),_0x25dac2[_0xb4854b+0x1]&&_0x5b1d59(0x1c7)===_0x25dac2[_0xb4854b+0x1][_0x5b1d59(0x169)]&&_0x20f062(_0x5aa00d,_0x25dac2[_0xb4854b+0x1][_0x5b1d59(0xd4)])||(_0x4d1f3c[0x0][_0x5b1d59(0x1d3)](_0x5aa00d),_0x5aa00d=null),_0x30dac0[_0x30dac0[_0x5b1d59(0x11b)]-0x1]+=_0x25dac2[_0xb4854b][_0x5b1d59(0xd4)][_0x5b1d59(0x1bd)],_0x25dac2[_0xb4854b][_0x5b1d59(0xf3)]=_0x47943c[_0x5b1d59(0x153)](_0x55cc96,_0x30dac0));for(let _0x3b6f27=0x0;_0x3b6f27<_0x25dac2[_0x5b1d59(0x11b)];_0x3b6f27++){const _0x1f2de3=_0x25dac2[_0x3b6f27][_0x5b1d59(0x1bb)],_0x24c1ec=_0x25dac2[_0x3b6f27][_0x5b1d59(0xf3)];for(const _0x2c7e0c of _0x25dac2[_0x3b6f27][_0x5b1d59(0x18d)])_0x1d61ea[_0x5b1d59(0x143)](_0x2c7e0c,{'start':_0x1f2de3,'end':null});_0x119750(_0x5b1d59(0x15b),_0x3b6f27,_0x1f2de3,_0x24c1ec),_0x119750(_0x5b1d59(0xbd),_0x3b6f27,_0x1f2de3,_0x24c1ec),_0x119750(_0x5b1d59(0x15a),_0x3b6f27,_0x1f2de3,_0x24c1ec),_0x119750(_0x5b1d59(0x179),_0x3b6f27,_0x1f2de3,_0x24c1ec);for(const _0xa336b8 of _0x25dac2[_0x3b6f27][_0x5b1d59(0x142)]){const _0x2dff13=_0x1d61ea[_0x5b1d59(0x196)](_0xa336b8);_0x2dff13?_0x2dff13[_0x5b1d59(0x111)]=_0x24c1ec:_0x1d61ea[_0x5b1d59(0x143)](_0xa336b8,{'start':_0x24c1ec,'end':_0x24c1ec});}}for(const [_0x367f5d,_0x4c23af]of _0x1d61ea){const _0x48b6de=this[_0x5b1d59(0xee)][_0x5b1d59(0xf1)][_0x5b1d59(0xb1)](_0x4c23af[_0x5b1d59(0xba)],_0x4c23af[_0x5b1d59(0x111)]);_0x55cc96[_0x5b1d59(0x108)][_0x5b1d59(0x143)](_0x367f5d,_0x48b6de);}return _0x4563f9[_0x5b1d59(0xad)]((_0xb4671c,_0x59798a)=>{const _0xdeb994=_0x5b1d59,_0x86ac8a=_0x55cc96[_0xdeb994(0x108)][_0xdeb994(0x196)](_0xdeb994(0x16a)+_0xb4671c['id']),_0x174067=_0x55cc96[_0xdeb994(0x108)][_0xdeb994(0x196)](_0xdeb994(0x16a)+_0x59798a['id']);return _0x86ac8a[_0xdeb994(0xba)][_0xdeb994(0xd7)](_0x174067[_0xdeb994(0xba)])?-0x1:_0x86ac8a[_0xdeb994(0xba)][_0xdeb994(0x16f)](_0x174067[_0xdeb994(0xba)])?0x1:_0x86ac8a[_0xdeb994(0x111)][_0xdeb994(0xd7)](_0x174067[_0xdeb994(0x111)])?-0x1:_0x86ac8a[_0xdeb994(0x111)][_0xdeb994(0x16f)](_0x174067[_0xdeb994(0x111)])?0x1:_0xdeb994(0xab)===_0xb4671c[_0xdeb994(0x169)]?-0x1:0x1;}),{'root':_0x55cc96,'changes':_0x4563f9};function _0x119750(_0x336ae4,_0x7ab8,_0x1af954,_0x345ff1){const _0x12eb2c=_0x5b1d59,_0x2aeb29=!!_0x25dac2[_0x7ab8][_0x336ae4],_0x1d53c7=_0x2aeb29?_0x25dac2[_0x7ab8][_0x336ae4][_0x12eb2c(0xd3)]:null,_0x53f745=_0x7ab8===_0x25dac2[_0x12eb2c(0x11b)]-0x1,_0x5f3593=_0x174ab8[_0x336ae4][0x0],_0x51146d=_0x30848a[_0x12eb2c(0x14e)](_0x25dac2[_0x7ab8][_0x12eb2c(0xd4)]);!_0xc042af[_0x336ae4]&&_0x2aeb29?_0xc042af[_0x336ae4]={'start':_0x1af954,'tapeItem':_0x25dac2[_0x7ab8],'userId':_0x1d53c7,'type':_0x336ae4}:_0xc042af[_0x336ae4]&&!_0x2aeb29?(_0xc042af[_0x336ae4][_0x12eb2c(0x111)]=_0x1af954,_0x390896(_0xc042af[_0x336ae4]),_0xc042af[_0x336ae4]=null):_0xc042af[_0x336ae4]&&_0x2aeb29&&_0xc042af[_0x336ae4][_0x12eb2c(0xd3)]!==_0x1d53c7&&(_0xc042af[_0x336ae4][_0x12eb2c(0x111)]=_0x1af954,_0x5f3593&&_0x5f3593[_0x12eb2c(0xd3)]===_0xc042af[_0x336ae4][_0x12eb2c(0xd3)]||_0x390896(_0xc042af[_0x336ae4]),_0xc042af[_0x336ae4]={'start':_0x1af954,'tapeItem':_0x25dac2[_0x7ab8],'userId':_0x1d53c7,'type':_0x336ae4}),_0xc042af[_0x336ae4]&&_0x51146d&&(_0x12eb2c(0x170)!==_0x25dac2[_0x7ab8][_0x12eb2c(0x169)]||_0x5f3593&&_0x5f3593[_0x12eb2c(0xd3)]===_0x1d53c7||_0x174ab8[_0x336ae4][_0x12eb2c(0x1da)]({'userId':_0x1d53c7,'object':_0x25dac2[_0x7ab8][_0x12eb2c(0xd4)],'change':_0xc042af[_0x336ae4]}),_0x12eb2c(0x127)===_0x25dac2[_0x7ab8][_0x12eb2c(0x169)]&&_0x5f3593&&_0x5f3593[_0x12eb2c(0x180)]===_0x25dac2[_0x7ab8][_0x12eb2c(0xd4)]&&(_0x174ab8[_0x336ae4][_0x12eb2c(0xf9)](),_0xc042af[_0x336ae4]=_0x5f3593[_0x12eb2c(0x11c)])),_0xc042af[_0x336ae4]&&_0x53f745&&(_0xc042af[_0x336ae4][_0x12eb2c(0x111)]=_0x345ff1,_0x390896(_0xc042af[_0x336ae4]),_0xc042af[_0x336ae4]=null);}function _0x390896({start:_0x2b6ddd,end:_0x3b1a9d,tapeItem:_0x1daa4a,userId:_0x5de206,type:_0x2af6e2}){const _0x574b7a=_0x5b1d59,_0x338e86=_0x1daa4a[_0x574b7a(0xd4)],_0x5284f5=_0x47943c[_0x574b7a(0x182)][_0x574b7a(0x1c1)](_0x338e86)&&!_0x47943c[_0x574b7a(0x182)][_0x574b7a(0x199)](_0x338e86),_0x1be8a9=_0x2b6ddd[_0x574b7a(0x176)]==_0x3b1a9d[_0x574b7a(0x15c)]&&_0x3b1a9d[_0x574b7a(0xa0)];if(_0x5284f5&&_0x1be8a9)return;const _0x111793=_0x47943c[_0x574b7a(0xb1)](_0x2b6ddd,_0x3b1a9d),_0x4b27fa=_0xaf1ec1[_0x574b7a(0x196)](_0x5de206),_0x27fa46=new _0x194a6d({'author':_0x4b27fa,'type':_0x574b7a(0x179)==_0x2af6e2||_0x574b7a(0xbd)==_0x2af6e2?_0x574b7a(0xab):_0x574b7a(0x117),'data':{'isSuggestion':_0x574b7a(0xbd)==_0x2af6e2||_0x574b7a(0x15b)==_0x2af6e2},'createdAt':new Date(),'rootName':_0xba3660});_0x4563f9[_0x574b7a(0x145)](_0x27fa46),_0x55cc96[_0x574b7a(0x108)][_0x574b7a(0x143)](_0x574b7a(0x16a)+_0x27fa46['id'],_0x111793);}function _0x20f062(_0x1925cc,_0x2a343d){const _0x3accea=_0x5b1d59,_0x4b9022=_0x1925cc[_0x3accea(0xaa)](),_0x47b8b4=_0x2a343d[_0x3accea(0xaa)]();for(const _0x364a79 of _0x4b9022){if(_0x364a79[0x1]!==_0x2a343d[_0x3accea(0xd0)](_0x364a79[0x0]))return!0x1;_0x47b8b4[_0x3accea(0x12f)]();}return _0x47b8b4[_0x3accea(0x12f)]()[_0x3accea(0xfd)];}}[_0x311c6c(0xec)](){const _0x38189b=_0x311c6c;this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb9))[_0x38189b(0x144)]({'view':_0x38189b(0x175)}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0x107))[_0x38189b(0xc7)]({'model':_0x38189b(0x175),'view':_0x4dbdef=>{const _0x10edd1=_0x38189b,_0x437159=_0x4dbdef[_0x10edd1(0xf2)][_0x10edd1(0x12c)](':')[0x1],_0x1d4ea7=this[_0x10edd1(0x17f)](_0x437159);if(!_0x1d4ea7)return null;const _0x31b822=_0x10edd1(0xab)==_0x1d4ea7[_0x10edd1(0x169)]?_0x10edd1(0x19d):_0x10edd1(0xdb),_0x3efe65=[_0x10edd1(0xbf),_0x10edd1(0x1a9)+_0x31b822];return _0x1d4ea7[_0x10edd1(0x119)][_0x10edd1(0x1b0)]&&_0x3efe65[_0x10edd1(0x145)](_0x10edd1(0x1a9)+_0x31b822+_0x10edd1(0x12a)),this[_0x10edd1(0xa3)]==_0x1d4ea7&&_0x3efe65[_0x10edd1(0x145)](_0x10edd1(0x192)),{'classes':_0x3efe65,'attributes':{'data-change-id':_0x437159}};}}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb9))[_0x38189b(0xab)](_0x4bea10=>{const _0x21f8c2=_0x38189b;_0x4bea10['on'](_0x21f8c2(0x181),(_0x5b07fa,_0x2042c0,_0x25d704)=>{const _0x396d34=_0x21f8c2,_0xf5ac3b=_0x2042c0[_0x396d34(0x149)][_0x396d34(0x18c)](0x0);if(!_0xf5ac3b||!_0xf5ac3b['is'](_0x396d34(0xf6),_0x396d34(0x10d)))return;if(!_0x25d704[_0x396d34(0x1a1)][_0x396d34(0x1c3)](_0xf5ac3b,{'attributes':[_0x396d34(0xc6),_0x396d34(0xbb)]}))return;const _0x400dfa=_0x2042c0[_0x396d34(0x10f)][_0x396d34(0xba)][_0x396d34(0x176)];_0x25d704[_0x396d34(0xfc)][_0x396d34(0x195)](_0x396d34(0xc6),_0xf5ac3b[_0x396d34(0xd0)](_0x396d34(0xc6)),_0x400dfa),_0x25d704[_0x396d34(0xfc)][_0x396d34(0x195)](_0x396d34(0xbb),_0xf5ac3b[_0x396d34(0xd0)](_0x396d34(0xbb)),_0x400dfa);},{'priority':_0x21f8c2(0x11f)});}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb9))[_0x38189b(0xab)](_0x59de4f=>{const _0x224ff6=_0x38189b;_0x59de4f['on'](_0x224ff6(0xf6),(_0xae37dd,_0x4ba73a,_0x2af037)=>{const _0x2ca9bd=_0x224ff6;if(!_0x2af037[_0x2ca9bd(0x1a1)][_0x2ca9bd(0x1c3)](_0x4ba73a[_0x2ca9bd(0x149)],{'attributes':[_0x2ca9bd(0xc6),_0x2ca9bd(0xbb)]}))return;if(_0x4ba73a[_0x2ca9bd(0x10f)][_0x2ca9bd(0x1a2)])return;const _0x5aa8c6=_0x4ba73a[_0x2ca9bd(0x10f)][_0x2ca9bd(0xba)][_0x2ca9bd(0x176)];_0x5aa8c6[_0x2ca9bd(0x1ad)](_0x2ca9bd(0xc6))||_0x5aa8c6[_0x2ca9bd(0x1ad)](_0x2ca9bd(0xe0))||(_0x2af037[_0x2ca9bd(0xfc)][_0x2ca9bd(0x195)](_0x2ca9bd(0xc6),_0x4ba73a[_0x2ca9bd(0x149)][_0x2ca9bd(0xd0)](_0x2ca9bd(0xc6)),_0x5aa8c6),_0x2af037[_0x2ca9bd(0xfc)][_0x2ca9bd(0x195)](_0x2ca9bd(0xbb),_0x4ba73a[_0x2ca9bd(0x149)][_0x2ca9bd(0xd0)](_0x2ca9bd(0xbb)),_0x5aa8c6));},{'priority':_0x224ff6(0x11f)});}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb9))[_0x38189b(0x186)]({'view':{'name':_0x38189b(0x1aa),'attributes':{'vid':!0x0}},'model':{'key':_0x38189b(0xe0),'value':_0x310fcf=>_0x310fcf[_0x38189b(0xd0)](_0x38189b(0xe0))}}),this[_0x38189b(0xee)][_0x38189b(0xf1)][_0x38189b(0x182)]['on'](_0x38189b(0x156),(_0x526507,[,_0x3ca06b])=>{const _0x57ee86=_0x38189b;[_0x57ee86(0xc6),_0x57ee86(0xbb),_0x57ee86(0xe0)][_0x57ee86(0x12e)](_0x3ca06b)&&(_0x526507[_0x57ee86(0xe5)]=!0x0,_0x526507[_0x57ee86(0xcd)]());},{'priority':_0x38189b(0x171)}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb5))[_0x38189b(0xab)](_0x143b5e=>{const _0xe89bf6=_0x38189b;_0x143b5e['on'](_0xe89bf6(0xdc),(_0x5959ac,_0xb665d5,_0x4f4a87)=>{const _0x991d2c=_0xe89bf6;if('\x20'!=_0xb665d5[_0x991d2c(0xd4)][_0x991d2c(0x119)]||_0xb665d5[_0x991d2c(0xd4)][_0x991d2c(0x15c)][_0x991d2c(0x1b1)]>0x1)return;if(!_0x4f4a87[_0x991d2c(0x1a1)][_0x991d2c(0x1c3)](_0xb665d5[_0x991d2c(0xd4)],_0x5959ac[_0x991d2c(0xa1)]))return;const _0x9927e8=_0x4f4a87[_0x991d2c(0xfc)],_0x2dc513=_0x4f4a87[_0x991d2c(0xac)][_0x991d2c(0x10b)](_0xb665d5[_0x991d2c(0x1bf)]);_0x9927e8[_0x991d2c(0xdd)](_0x2dc513,_0x9927e8[_0x991d2c(0x1a0)](_0x991d2c(0x1aa)));});}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb5))[_0x38189b(0x132)]({'model':_0x38189b(0x175)}),this[_0x38189b(0xee)][_0x38189b(0xbc)][_0x38189b(0x174)]['on'](_0x38189b(0x9a),function(_0x1b8755){const _0x13b74b=_0x38189b,_0x5440fd=_0x1b8755[_0x13b74b(0xb2)][_0x13b74b(0x196)](_0x13b74b(0x109));return(_0x405398,_0x2e1d83,_0x29c2a5)=>{const _0x32cd69=_0x13b74b,_0x4fe3b0=_0x2e1d83[_0x32cd69(0xf2)][_0x32cd69(0x12c)](':')[0x1],_0x2d173e=_0x5440fd[_0x32cd69(0x17f)](_0x4fe3b0);if(!_0x2d173e)return null;const _0x43dc08=_0x32cd69(0xab)==_0x2d173e[_0x32cd69(0x169)]?_0x32cd69(0x12c):_0x32cd69(0x19f);if(!_0x29c2a5[_0x32cd69(0x1a1)][_0x32cd69(0x1cf)](_0x2e1d83[_0x32cd69(0xb0)],_0x405398[_0x32cd69(0xa1)]))return;const _0x3f3af1=_0x2e1d83[_0x32cd69(0xb0)][_0x32cd69(0x1b4)](),_0x3a7256=_0x2e1d83[_0x32cd69(0xb0)][_0x32cd69(0xba)],_0x464420=_0x1b8755[_0x32cd69(0xf1)][_0x32cd69(0x182)];let _0x5d5bb9=null,_0x12bf58=null,_0x50f208=!0x1,_0x42f699=!0x1;for(const _0x384c33 of _0x3f3af1){const _0x246a72=_0x384c33[_0x32cd69(0xd4)];_0x50f208=_0x50f208||_0x464420[_0x32cd69(0xb3)](_0x246a72);const _0x2856f8=_0x29c2a5[_0x32cd69(0xac)][_0x32cd69(0x137)](_0x246a72);if(_0x2856f8&&_0x2856f8[_0x32cd69(0x129)](_0x32cd69(0xfe)))return;_0x32cd69(0x127)==_0x384c33[_0x32cd69(0x169)]&&(_0x464420[_0x32cd69(0x1c1)](_0x246a72)&&!_0x464420[_0x32cd69(0x199)](_0x246a72)&&(_0x246a72[_0x32cd69(0x19a)]||_0x3a7256[_0x32cd69(0x124)]?_0x5d5bb9&&_0x5d5bb9[_0x32cd69(0x15c)]==_0x246a72||(_0x5d5bb9=_0x246a72,_0x290668(_0x384c33[_0x32cd69(0x1bb)]),_0x42f699=!0x0):_0x12bf58=_0x12bf58||_0x384c33[_0x32cd69(0x1bb)]));}function _0x290668(_0x4ee53d){const _0x418753=_0x32cd69,_0x50120a=_0x29c2a5[_0x418753(0xfc)][_0x418753(0x13c)](_0x418753(0x1aa),{'class':_0x418753(0x1a9)+_0x43dc08}),_0x5c1c2f=_0x29c2a5[_0x418753(0xac)][_0x418753(0xc2)](_0x4ee53d);_0x2d173e[_0x418753(0x119)][_0x418753(0x1b0)]&&_0x29c2a5[_0x418753(0xfc)][_0x418753(0x161)](_0x418753(0x1a9)+_0x43dc08+_0x418753(0x12a),_0x50120a),_0x5440fd[_0x418753(0xa3)]==_0x2d173e&&_0x29c2a5[_0x418753(0xfc)][_0x418753(0x161)](_0x418753(0x192),_0x50120a),_0x29c2a5[_0x418753(0xfc)][_0x418753(0x159)](_0x5c1c2f,_0x50120a),_0x29c2a5[_0x418753(0xac)][_0x418753(0xc5)](_0x50120a,_0x2e1d83[_0x418753(0xf2)]);}_0x50f208||_0x42f699||!_0x12bf58||_0x290668(_0x12bf58);};}(this[_0x38189b(0xee)]),{'priority':_0x38189b(0xa6)}),this[_0x38189b(0xee)][_0x38189b(0xbc)][_0x38189b(0x174)]['on'](_0x38189b(0x1c9),(_0x2e1bf0,_0x3992dc,_0x44d19d)=>{const _0x94068=_0x38189b,_0x32d694=_0x44d19d[_0x94068(0xac)][_0x94068(0xaf)](_0x3992dc[_0x94068(0xf2)]);if(_0x32d694){for(const _0x52e7a8 of _0x32d694)(_0x52e7a8[_0x94068(0x112)](_0x94068(0xe6))||_0x52e7a8[_0x94068(0x112)](_0x94068(0x19c)))&&(_0x44d19d[_0x94068(0xac)][_0x94068(0x16c)](_0x52e7a8,_0x3992dc[_0x94068(0xf2)]),_0x44d19d[_0x94068(0xfc)][_0x94068(0x117)](_0x52e7a8));}},{'priority':_0x38189b(0xa6)}),this[_0x38189b(0xee)][_0x38189b(0xbc)][_0x38189b(0x174)]['on'](_0x38189b(0x9a),(_0x8ed08a,_0x1957b0,_0x577e22)=>{const _0x5b1a01=_0x38189b,_0x4999c3=_0x1957b0[_0x5b1a01(0xf2)][_0x5b1a01(0x12c)](':')[0x1],_0x2b7279=this[_0x5b1a01(0x17f)](_0x4999c3);if(!_0x2b7279)return null;const _0x496881=_0x5b1a01(0xab)==_0x2b7279[_0x5b1a01(0x169)]?_0x5b1a01(0x12c):_0x5b1a01(0x19f);if(_0x577e22[_0x5b1a01(0x1a1)][_0x5b1a01(0x1cf)](_0x1957b0[_0x5b1a01(0xb0)],_0x8ed08a[_0x5b1a01(0xa1)]))for(const _0x527c5e of _0x1957b0[_0x5b1a01(0xb0)][_0x5b1a01(0xe2)]()){if(!_0x527c5e['is'](_0x5b1a01(0xf6),_0x5b1a01(0x18e)))continue;const _0x504b0f=_0x577e22[_0x5b1a01(0xfc)][_0x5b1a01(0x13c)](_0x5b1a01(0x1aa),{'class':_0x5b1a01(0x1a9)+_0x496881}),_0x3f6870=_0x577e22[_0x5b1a01(0xac)][_0x5b1a01(0xc2)](this[_0x5b1a01(0xee)][_0x5b1a01(0xf1)][_0x5b1a01(0x1ca)](_0x527c5e));_0x2b7279[_0x5b1a01(0x119)][_0x5b1a01(0x1b0)]&&_0x577e22[_0x5b1a01(0xfc)][_0x5b1a01(0x161)](_0x5b1a01(0x1a9)+_0x496881+_0x5b1a01(0x12a),_0x504b0f),this[_0x5b1a01(0xa3)]==_0x2b7279&&_0x577e22[_0x5b1a01(0xfc)][_0x5b1a01(0x161)](_0x5b1a01(0x192),_0x504b0f),_0x577e22[_0x5b1a01(0xfc)][_0x5b1a01(0x159)](_0x3f6870,_0x504b0f),_0x577e22[_0x5b1a01(0xac)][_0x5b1a01(0xc5)](_0x504b0f,_0x1957b0[_0x5b1a01(0xf2)]);}},{'priority':_0x38189b(0xa6)}),this[_0x38189b(0xee)][_0x38189b(0xf1)][_0x38189b(0x1bc)]['on'](_0x38189b(0x11c),()=>{const _0x597c87=_0x38189b;this[_0x597c87(0xee)][_0x597c87(0xbc)][_0x597c87(0x1d2)][_0x597c87(0x11c)](_0x3945a4=>{const _0x1bd072=_0x597c87;for(const _0xfcd2d4 of this[_0x1bd072(0xee)][_0x1bd072(0xf1)][_0x1bd072(0x1bc)][_0x1bd072(0xc3)]()){const _0x5acfdf=this[_0x1bd072(0xee)][_0x1bd072(0xf1)][_0x1bd072(0x1bc)][_0x1bd072(0x128)](_0xfcd2d4),_0x2cc6c5=this[_0x1bd072(0xee)][_0x1bd072(0xbc)][_0x1bd072(0x1d2)][_0x1bd072(0x1bc)][_0x1bd072(0x128)](_0xfcd2d4);if(_0x2cc6c5){const _0x4b8338=_0x5acfdf[_0x1bd072(0xd0)](_0x1bd072(0x163));if(_0x3945a4[_0x1bd072(0xdf)](_0x1bd072(0x154),_0x2cc6c5),_0x3945a4[_0x1bd072(0x178)](_0x1bd072(0x191),_0x2cc6c5),_0x3945a4[_0x1bd072(0x178)](_0x1bd072(0x136),_0x2cc6c5),_0x3945a4[_0x1bd072(0x178)](_0x1bd072(0x17e),_0x2cc6c5),_0x4b8338){const _0x4be084=this[_0x1bd072(0x17f)](_0x4b8338);if(!_0x4be084)return null;_0x3945a4[_0x1bd072(0x195)](_0x1bd072(0x154),_0x4b8338,_0x2cc6c5),_0x3945a4[_0x1bd072(0x161)](_0x1bd072(0x9d)+_0x4be084[_0x1bd072(0x169)],_0x2cc6c5),this[_0x1bd072(0xa3)]==_0x4be084&&_0x3945a4[_0x1bd072(0x161)](_0x1bd072(0x17e),_0x2cc6c5);}}}});}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb9))[_0x38189b(0x144)]({'view':_0x38189b(0x13f),'model':_0x4fdcfa=>_0x38189b(0x165)+_0x4fdcfa,'converterPriority':_0x38189b(0x171)}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb9))[_0x38189b(0x144)]({'view':_0x38189b(0x113),'model':_0x4979dc=>_0x38189b(0x1a7)+_0x4979dc,'converterPriority':_0x38189b(0x171)}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0xb5))[_0x38189b(0x132)]({'model':_0x38189b(0x1ae),'view':_0x10b2b9=>({'name':_0x38189b(0xe7)+_0x10b2b9,'group':_0x38189b(0x1ae)}),'converterPriority':_0x38189b(0x171)}),this[_0x38189b(0xee)][_0x38189b(0x106)][_0x38189b(0x146)](_0x38189b(0x107))[_0x38189b(0xc7)]({'model':_0x38189b(0x1ae),'view':_0x58dc18=>{const _0x1ed562=_0x38189b,_0x4bbe80=_0x58dc18[_0x1ed562(0xf2)][_0x1ed562(0x12c)](':')[0x1];return _0x1ed562(0x19d)!=_0x4bbe80&&_0x1ed562(0xdb)!=_0x4bbe80?null:{'classes':[_0x1ed562(0x141),_0x1ed562(0x1c0)+_0x4bbe80]};}}),this[_0x38189b(0xee)][_0x38189b(0xbc)][_0x38189b(0x174)]['on'](_0x38189b(0x185),Q(this[_0x38189b(0xee)],_0x38189b(0x19f)),{'priority':_0x38189b(0xa6)}),this[_0x38189b(0xee)][_0x38189b(0xbc)][_0x38189b(0x174)]['on'](_0x38189b(0x115),Q(this[_0x38189b(0xee)],_0x38189b(0x12c)),{'priority':_0x38189b(0xa6)}),this[_0x38189b(0xee)][_0x38189b(0xbc)][_0x38189b(0x174)]['on'](_0x38189b(0x122),(_0x422059,_0x1fe20e,_0x5b17cd)=>{const _0x3c12d4=_0x38189b,_0x5490bd=_0x5b17cd[_0x3c12d4(0xac)][_0x3c12d4(0xaf)](_0x1fe20e[_0x3c12d4(0xf2)]);if(_0x5490bd){for(const _0x27194f of _0x5490bd)_0x27194f['is'](_0x3c12d4(0xa9))&&(_0x5b17cd[_0x3c12d4(0xac)][_0x3c12d4(0x16c)](_0x27194f,_0x1fe20e[_0x3c12d4(0xf2)]),_0x5b17cd[_0x3c12d4(0xfc)][_0x3c12d4(0x117)](_0x27194f));}},{'priority':_0x38189b(0xa6)});}[_0x311c6c(0x17f)](_0x54f27e){const _0x387f0c=_0x311c6c;return this[_0x387f0c(0xa8)][_0x387f0c(0x196)](_0x54f27e);}[_0x311c6c(0xb7)](_0x159419){const _0x1793eb=_0x311c6c;return this[_0x1793eb(0x172)]&&this[_0x1793eb(0x172)][_0x1793eb(0xc9)](),this[_0x1793eb(0x172)]=new _0x1e3964(this[_0x1793eb(0xee)][_0x1793eb(0x1ba)],_0x159419),this[_0x1793eb(0x172)];}[_0x311c6c(0x125)](){const _0xa44550=_0x311c6c;this[_0xa44550(0xee)][_0xa44550(0xf1)][_0xa44550(0x1bc)][_0xa44550(0x126)][_0xa44550(0xae)](_0xa44550(0x175)),this['on'](_0xa44550(0x187),(_0x19858f,_0x1637fd,_0x5aaf0c,_0x43484b)=>{const _0x125cb2=_0xa44550;_0x43484b&&this[_0x125cb2(0x123)][_0x125cb2(0x117)](_0x43484b),_0x5aaf0c&&(this[_0x125cb2(0x123)][_0x125cb2(0xab)]({'view':_0x5aaf0c,'stackId':_0x125cb2(0x1be),'position':{'target':()=>{const _0x30e99b=_0x125cb2,_0xc4eedc=this[_0x30e99b(0xee)][_0x30e99b(0xbc)],_0x15675d=this[_0x30e99b(0x17f)](_0x5aaf0c[_0x30e99b(0x190)]);let _0x3fd528;if(_0x15675d[_0x30e99b(0x119)][_0x30e99b(0x1c4)]){const _0x4ea4b1=_0xc4eedc[_0x30e99b(0x1d2)][_0x30e99b(0x1d5)](_0x15675d[_0x30e99b(0x177)]);_0x3fd528=Array[_0x30e99b(0x1b9)](_0x4ea4b1[_0x30e99b(0xf0)]());}else{const _0x297fa8=this[_0x30e99b(0xee)][_0x30e99b(0xf1)][_0x30e99b(0x108)][_0x30e99b(0x196)](_0x30e99b(0x16a)+_0x5aaf0c[_0x30e99b(0x190)]);_0x3fd528=Array[_0x30e99b(0x1b9)](_0xc4eedc[_0x30e99b(0xac)][_0x30e99b(0xaf)](_0x297fa8[_0x30e99b(0xa1)]))[_0x30e99b(0xfa)](_0x28db09=>_0xc4eedc[_0x30e99b(0x1d2)][_0x30e99b(0x1ce)][_0x30e99b(0x1a5)](_0x28db09))[_0x30e99b(0xfa)](_0x3beada=>Array[_0x30e99b(0x1b9)](_0x3beada[_0x30e99b(0xf0)]()))[_0x30e99b(0xb4)]();}if(!this[_0x30e99b(0xde)])return _0x3fd528[0x0];return _0x3fd528[_0x30e99b(0x1af)](_0x4036a6=>_0x4036a6[_0x30e99b(0x166)]-0x3<=this[_0x30e99b(0xde)]['y']&&_0x4036a6[_0x30e99b(0xfb)]+0x3>=this[_0x30e99b(0xde)]['y']&&_0x4036a6[_0x30e99b(0x11a)]-0x3<=this[_0x30e99b(0xde)]['x']&&_0x4036a6[_0x30e99b(0x16e)]+0x3>=this[_0x30e99b(0xde)]['x'])||_0x3fd528[0x0];}}}),this[_0x125cb2(0x123)][_0x125cb2(0x9f)](_0x125cb2(0x1be)));}),this['on'](_0xa44550(0xc1),(_0x552def,_0x2a9b6d,_0x13e031,_0x2c9f70)=>{const _0x3176b4=_0xa44550;this[_0x3176b4(0xe3)]=_0x13e031?this[_0x3176b4(0xb7)](_0x13e031):null,this[_0x3176b4(0xee)][_0x3176b4(0xf1)][_0x3176b4(0x11c)](()=>{const _0xce4880=_0x3176b4,_0x4bba17=this[_0xce4880(0xee)][_0xce4880(0xbc)];_0x2c9f70&&(_0x2c9f70[_0xce4880(0x119)][_0xce4880(0x1c4)]?_0x4bba17[_0xce4880(0x1d2)][_0xce4880(0x11c)](_0xf97dee=>{const _0x587ac7=_0xce4880;_0xf97dee[_0x587ac7(0x178)](_0x587ac7(0x17e),_0x4bba17[_0x587ac7(0x1d2)][_0x587ac7(0x1bc)][_0x587ac7(0x128)](_0x2c9f70[_0x587ac7(0x177)]));}):_0x4bba17[_0xce4880(0x139)](_0xce4880(0x16a)+_0x2c9f70['id'])),_0x13e031&&(_0x13e031[_0xce4880(0x119)][_0xce4880(0x1c4)]?_0x4bba17[_0xce4880(0x1d2)][_0xce4880(0x11c)](_0x5e8205=>{const _0x33057b=_0xce4880;_0x5e8205[_0x33057b(0x161)](_0x33057b(0x17e),_0x4bba17[_0x33057b(0x1d2)][_0x33057b(0x1bc)][_0x33057b(0x128)](_0x13e031[_0x33057b(0x177)]));}):_0x4bba17[_0xce4880(0x139)](_0xce4880(0x16a)+_0x13e031['id']));});}),this[_0xa44550(0x11d)](this[_0xa44550(0xee)][_0xa44550(0xbc)][_0xa44550(0x1d2)][_0xa44550(0x1bc)],_0xa44550(0x18a),(_0x573ab4,_0x127160)=>{const _0x5322c5=_0xa44550;if(this[_0x5322c5(0xa3)])return;const _0x5cf14f=this[_0x5322c5(0x1d8)](_0x127160[_0x5322c5(0x103)]),_0x2701d0=this[_0x5322c5(0xa8)][_0x5322c5(0x196)](_0x5cf14f);_0x2701d0?(this[_0x5322c5(0xde)]={'x':_0x127160[_0x5322c5(0x17b)]['x'],'y':_0x127160[_0x5322c5(0x17b)]['y']},this[_0x5322c5(0xe3)]=this[_0x5322c5(0xb7)](_0x2701d0)):(this[_0x5322c5(0xde)]=null,this[_0x5322c5(0xe3)]=null);}),this[_0xa44550(0x11d)](this[_0xa44550(0xee)][_0xa44550(0xbc)][_0xa44550(0x1d2)][_0xa44550(0x1bc)],_0xa44550(0x13d),(_0x38d93c,_0x540d15)=>{const _0xf025bf=_0xa44550,_0x364f2b=this[_0xf025bf(0x1d8)](_0x540d15[_0xf025bf(0x103)]),_0x31b7f3=this[_0xf025bf(0xa8)][_0xf025bf(0x196)](_0x364f2b);_0x31b7f3?(this[_0xf025bf(0xde)]={'x':_0x540d15[_0xf025bf(0x17b)]['x'],'y':_0x540d15[_0xf025bf(0x17b)]['y']},_0x31b7f3===this[_0xf025bf(0xa3)]?this[_0xf025bf(0x123)][_0xf025bf(0xa7)]():this[_0xf025bf(0xa3)]=_0x31b7f3):(this[_0xf025bf(0xde)]=null,this[_0xf025bf(0xa3)]=null);});}[_0x311c6c(0x1d8)](_0x17a8ab){const _0x3ab832=_0x311c6c;do{const _0x732e5=_0x17a8ab[_0x3ab832(0xd0)](_0x3ab832(0x154));if(_0x732e5)return _0x732e5;_0x17a8ab=_0x17a8ab[_0x3ab832(0x15c)];}while(_0x17a8ab);return null;}[_0x311c6c(0x97)](){const _0x2b9838=_0x311c6c;this[_0x2b9838(0xee)][_0x2b9838(0xf1)][_0x2b9838(0x11c)](_0x2d65de=>{const _0x260c78=_0x2b9838;for(const _0x5295c6 of this[_0x260c78(0xee)][_0x260c78(0xf1)][_0x260c78(0x108)])_0x2d65de[_0x260c78(0x16b)](_0x5295c6);});}}function Q(_0x3c0567,_0x17a42c){return(_0x4319ff,_0x281458,_0x5eac31)=>{const _0xe88dd0=_0x5ad5;if(!_0x5eac31[_0xe88dd0(0x1a1)][_0xe88dd0(0x1cf)](_0x281458[_0xe88dd0(0xb0)],_0x4319ff[_0xe88dd0(0xa1)]))return;const _0x2e377f=_0x281458[_0xe88dd0(0xb0)][_0xe88dd0(0x1b4)](),_0x1c21e0=_0x281458[_0xe88dd0(0xb0)][_0xe88dd0(0xba)],_0x191f0c=_0x3c0567[_0xe88dd0(0xf1)][_0xe88dd0(0x182)];let _0x2da161=null,_0x43dc94=null,_0x4995d1=!0x1,_0x32caf4=!0x1;for(const _0x31388d of _0x2e377f){const _0x257af3=_0x31388d[_0xe88dd0(0xd4)];_0x4995d1=_0x4995d1||_0x191f0c[_0xe88dd0(0xb3)](_0x257af3);const _0x331756=_0x5eac31[_0xe88dd0(0xac)][_0xe88dd0(0x137)](_0x257af3);if(_0x331756&&_0x331756[_0xe88dd0(0x129)](_0xe88dd0(0xfe)))return;_0xe88dd0(0x127)==_0x31388d[_0xe88dd0(0x169)]&&(_0x191f0c[_0xe88dd0(0x1c1)](_0x257af3)&&!_0x191f0c[_0xe88dd0(0x199)](_0x257af3)&&(_0x257af3[_0xe88dd0(0x19a)]||_0x1c21e0[_0xe88dd0(0x124)]?_0x2da161&&_0x2da161[_0xe88dd0(0x15c)]==_0x257af3||(_0x2da161=_0x257af3,_0x5c21d3(_0x31388d[_0xe88dd0(0x1bb)]),_0x32caf4=!0x0):_0x43dc94=_0x43dc94||_0x31388d[_0xe88dd0(0x1bb)]));}function _0x5c21d3(_0x489225){const _0x26b5e0=_0xe88dd0,_0x55a0b6=_0x5eac31[_0x26b5e0(0xac)][_0x26b5e0(0xc2)](_0x489225),_0x2040ef=_0x5eac31[_0x26b5e0(0xfc)][_0x26b5e0(0x13c)](_0x26b5e0(0x1aa),{'class':_0x26b5e0(0x1c0)+_0x17a42c});_0x5eac31[_0x26b5e0(0xfc)][_0x26b5e0(0x159)](_0x55a0b6,_0x2040ef),_0x5eac31[_0x26b5e0(0xac)][_0x26b5e0(0xc5)](_0x2040ef,_0x281458[_0x26b5e0(0xf2)]);}_0x4995d1||_0x32caf4||!_0x43dc94||_0x5c21d3(_0x43dc94);};}export class RestoreRevisionCommand extends _0x222b4d{constructor(_0x11fd97){const _0x17fdb2=_0x311c6c;super(_0x11fd97);const _0x1d340f=_0x11fd97[_0x17fdb2(0xb2)][_0x17fdb2(0x196)](RevisionViewer);this[_0x17fdb2(0x1b6)]=!0x1,this[_0x17fdb2(0x11d)](_0x1d340f,_0x17fdb2(0xc4),()=>this[_0x17fdb2(0xd9)]()),this[_0x17fdb2(0x11d)](_0x1d340f,_0x17fdb2(0x110),()=>this[_0x17fdb2(0xd9)]());}[_0x311c6c(0x150)](){const _0x3298e6=_0x311c6c,_0x58acad=this[_0x3298e6(0xee)],_0x3eb9b1=_0x58acad[_0x3298e6(0xb2)][_0x3298e6(0x196)](RevisionViewer),_0x2e5383=_0x3eb9b1[_0x3298e6(0x17d)]?_0x3eb9b1[_0x3298e6(0xd6)][_0x3298e6(0x9c)]:null;_0x58acad[_0x3298e6(0x183)][_0x3298e6(0x196)](_0x3298e6(0x1c2))[_0x3298e6(0xf4)](_0x2e5383);}[_0x311c6c(0xd9)](){const _0x20d4ca=_0x311c6c,{isReady:_0x5656e4,isEnabled:_0x3b976d,repository:_0x1c902c,diff:_0xbcf59}=this[_0x20d4ca(0xee)][_0x20d4ca(0xb2)][_0x20d4ca(0x196)](RevisionViewer),_0x3a0654=_0xbcf59&&_0x1c902c[_0x20d4ca(0x19b)](_0xbcf59[_0x20d4ca(0x9c)]);this[_0x20d4ca(0xff)]=_0x5656e4&&_0x3b976d&&Boolean(_0x3a0654);}}export class ShowChangeCommand extends _0x222b4d{[_0x311c6c(0x1dd)];constructor(_0x3c4bec,{direction:_0x59ec04}){const _0x3d3464=_0x311c6c;super(_0x3c4bec);const _0x3336f0=_0x3c4bec[_0x3d3464(0xb2)][_0x3d3464(0x196)](RevisionViewer);this[_0x3d3464(0x1b6)]=!0x1,this[_0x3d3464(0x1dd)]=_0x3d3464(0x14c)===_0x59ec04?0x1:-0x1,this[_0x3d3464(0x11d)](_0x3336f0,_0x3d3464(0xc4),()=>this[_0x3d3464(0xd9)]()),this[_0x3d3464(0x11d)](_0x3336f0,_0x3d3464(0x110),()=>this[_0x3d3464(0xd9)]()),this[_0x3d3464(0x11d)](_0x3336f0,_0x3d3464(0xc1),()=>this[_0x3d3464(0xd9)]());}[_0x311c6c(0x150)](){const _0x154a9a=_0x311c6c,_0x34e51c=this[_0x154a9a(0xee)],_0x54caea=_0x34e51c[_0x154a9a(0xb2)][_0x154a9a(0x196)](RevisionViewer),{isNavigationMode:_0x59df4f,currentChangeNumber:_0x286845}=_0x54caea;let _0xb9a82b;if(_0x54caea[_0x154a9a(0xa3)]=_0x59df4f?_0x54caea[_0x154a9a(0xd6)][_0x154a9a(0x13a)][_0x154a9a(0x196)](_0x286845+this[_0x154a9a(0x1dd)]):_0x54caea[_0x154a9a(0xd6)][_0x154a9a(0x13a)][_0x154a9a(0xd8)],_0x54caea[_0x154a9a(0xa3)][_0x154a9a(0x119)][_0x154a9a(0x1c4)])_0xb9a82b=_0x34e51c[_0x154a9a(0xbc)][_0x154a9a(0x1d2)][_0x154a9a(0x1d5)](_0x54caea[_0x154a9a(0xa3)][_0x154a9a(0x177)]);else{const _0xe6dec5=_0x34e51c[_0x154a9a(0xf1)][_0x154a9a(0x108)][_0x154a9a(0x196)](_0x154a9a(0x16a)+_0x54caea[_0x154a9a(0xa3)]['id']);_0xb9a82b=_0x2e3746(_0x34e51c[_0x154a9a(0xbc)],_0xe6dec5);}_0xd5562({'target':_0xb9a82b,'viewportOffset':0x28});}[_0x311c6c(0xd9)](){const _0x51a3c2=_0x311c6c,{isNavigationMode:_0x448330,currentChangeNumber:_0x29fb25,numberOfChanges:_0x389751,isReady:_0x3ab058,isEnabled:_0x41dcde}=this[_0x51a3c2(0xee)][_0x51a3c2(0xb2)][_0x51a3c2(0x196)](RevisionViewer);this[_0x51a3c2(0xff)]=!!(_0x41dcde&&_0x3ab058&&_0x389751)&&(!_0x448330||(0x1===this[_0x51a3c2(0x1dd)]?_0x29fb25<_0x389751-0x1:_0x29fb25>0x0));}}
|
|
23
|
+
const _0x5b5e80=_0x2175;(function(_0x1e8218,_0x4fb1c2){const _0x12b3ff=_0x2175,_0x4177d1=_0x1e8218();while(!![]){try{const _0x1fe0fc=-parseInt(_0x12b3ff(0x262))/0x1*(parseInt(_0x12b3ff(0x2cc))/0x2)+-parseInt(_0x12b3ff(0x2e5))/0x3+-parseInt(_0x12b3ff(0x240))/0x4*(-parseInt(_0x12b3ff(0x265))/0x5)+parseInt(_0x12b3ff(0x26a))/0x6*(parseInt(_0x12b3ff(0x249))/0x7)+-parseInt(_0x12b3ff(0x2c0))/0x8+parseInt(_0x12b3ff(0x28f))/0x9*(-parseInt(_0x12b3ff(0x1e7))/0xa)+-parseInt(_0x12b3ff(0x28a))/0xb*(-parseInt(_0x12b3ff(0x1e4))/0xc);if(_0x1fe0fc===_0x4fb1c2)break;else _0x4177d1['push'](_0x4177d1['shift']());}catch(_0x56ae7d){_0x4177d1['push'](_0x4177d1['shift']());}}}(_0x2cee,0x8a76f));import{Plugin as _0x44bdb6,Command as _0x4ec70b}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x546c1d}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x4ee235}from'ckeditor5/src/ui.js';function _0x2cee(){const _0x3131d2=['revisionHistoryAttachChange','getRevision','getWalker','locale','getRevisionRootsAttributes','then','abs','getCustomProperty','addMarker:revision','addMarker:revision-suggestion:insertion','elementStart','forward','diffData','activeView','removeAttribute','removeMarker','_activeViewTarget','ck-revision-history-root-','isSuggestion','ck-suggestion-preview-marker-','restoreRevision','attributes','split','data-change-id','ck-suggestion-marker-split','shift','removeMarker:revision','bind','done','_balloon','11mYfEsl','userId','_setDistance','currentChangeNumber','slice','2943342unOIlI','_findChangeIdFromDomTarget','_changeIdToChange','right','elementEnd','roots','change:isReady','find','domEvent','checkAttribute','distance','createPositionFromPath','_markMarkers','code','bottom','hasAttribute','attributesAfter','attributesBefore','revision-comment:','addClass','_fixObsoleteTags','_removeMissingPairs','setAttribute','item','createRange','enableReadOnlyMode','ck-suggestion-marker','push','markersEnd','plugins','includes','indexOf','getItems','_setConversion','deletions','suggestion','_cleanUp','softBreak','change:activeChange','isIncorrect','startIndex','ck-suggestion-marker-merge','RevisionsRepository','_makeModelFromTape','concat','isCollapsed','getClientRects','change:numberOfChanges','isAdded','7065296FnDODb','attachChange','_markSuggestions','object','change:activeView','forceDisabled','config','wrap','findIndex','revisionHistory','view','_update','46PikHMh','stop','createPositionBefore','ck-revision-history-root-add','index','map','_cleanMarkers','clear','requires','getChild','type','_makeTape','consume','suggestion:','downcastDispatcher','error','isRemoved','changes','length','isBefore','adapter','execute','_joinTapes','_makeModelFromViewString','unshift','575130IBpuzh','splice','highest','span','isContent','data','isReady','removeMarker:revision-suggestion','high','RevisionHistoryUtils','isAttached','offsetSize','_processTape','createRevision','_markMismatchedRemovedTags','comment','filter','_data','addRevision','editing','name','toViewRange','forEach','test','getLaterVisibleRevision','repository','ck-suggestion-marker--active','markers','_sortAndFilterDiffChanges','createUIElement','mousedown','reconvertMarker','_utils','mapper','delete','values','_getChangeFromId','catch','observeMarkers','element:pre','revision-viewer','_removeUnsupportedChanges','add','startsWith','flat','getAttributes','_step','attribute:vid','maxOffset','endIndex','revisionHistoryLabel','isAtStart','_initInteractions','addMarker:revision-suggestion:deletion','ck-revision-history-root-remove','addRoot','revision:','dataToMarker','target','getRevisionDocumentData','side','low','change','diff','restoreRevisionCallback','changeId','ck-editor__editable__overlay','deletion','_refreshStartEndIndex','_setChanges','POSITIVE_INFINITY','10499640Lfizyf','WidgetToolbarRepository','consumable','20Vldsjt','insert','enqueueChange','isEqual','isLimit','end','_markInsertions','from','_threeWayMerge','isBlock','ck-revision-history-root--active','markerRange','refresh','keys','vid_start','revision','writer','left','markerNameToElements','compare','pop','isRemoveSuggestion','isOfficialPlugin','isInline','markerName','editingDowncast','destroy','affectsData','isOnRoot','_getDiff','hasClass','markersStart','vid_end','conversion','isPremiumPlugin','insertions','listenTo','level','remove','pairId','editor','removeClass','showPreviousChange','backward','insertion','_changeView','getDomRoot','init','resolve','getIndex','all','getRoot','parent','mouseover','uiElement','has','domConverter','_appendChild','createRangeIn','ck-suggestion-marker-','for','commands','toViewElement','authors','createAttributeElement','showNextChange','isObject','isEnabled','toViewPosition','first','element','isAddSuggestion','rootName','set','detachRoot','bindElementToMarker','ck-suggestion-preview-marker','change:isEnabled','return','string','elementToAttribute','isNavigationMode','_getRevisionsRange','isAtEnd','revision-suggestion','getRootNames','oldRevisionId','nextSibling','vid','4krsTzP','next','RevisionViewer','viewItem','previousPosition','isAfter','_getViewForChange','markerToHighlight','numberOfChanges','14iOjNol','loadRevisionData','unbindElementFromMarkerName','addHighlight','pluginName','getAttribute','nextPosition','revision-suggestion:','sort','model','text','addRevisionData','merge','dataDowncast','start','_revisions','top','activeChange','mapViewToDom','get','modelRange','-new','showStack','nodeAfter','schema','30517CuKNhp','range','document','5537890SZvALj','upcast','markerToData','updatePosition','selection','3046326zJXJdo','newRevisionId'];_0x2cee=function(){return _0x3131d2;};return _0x2cee();}import{DocumentFragment as _0x3e21c2,Element as _0x220119,Text as _0x5a9dbd}from'ckeditor5/src/engine.js';function _0x2175(_0x59258c,_0x2cf44d){const _0x2ceed9=_0x2cee();return _0x2175=function(_0x217545,_0x35a9c8){_0x217545=_0x217545-0x1b1;let _0x255780=_0x2ceed9[_0x217545];return _0x255780;},_0x2175(_0x59258c,_0x2cf44d);}import{Users as _0x25e0da,getMarkerDomElement as _0x56d190}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x5e992a}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x273600}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x367212}from'./revisionhistoryutils.js';import{ChangeItem as _0x1bfd26}from'./changeitem.js';import{RevisionDiff as _0xfd47f3}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x10a05d}from'es-toolkit/compat';export class RevisionViewer extends _0x44bdb6{[_0x5b5e80(0x1b6)];[_0x5b5e80(0x2e0)]=null;[_0x5b5e80(0x1bd)];[_0x5b5e80(0x27c)];[_0x5b5e80(0x214)];[_0x5b5e80(0x291)];[_0x5b5e80(0x289)];static get[_0x5b5e80(0x24d)](){const _0x5a4f22=_0x5b5e80;return _0x5a4f22(0x242);}static get[_0x5b5e80(0x1fd)](){return!0x0;}static get[_0x5b5e80(0x209)](){return!0x0;}static get[_0x5b5e80(0x2d4)](){return[_0x25e0da,_0x4ee235,_0x273600,_0x367212];}constructor(_0x32a4d0){const _0x385dd9=_0x5b5e80;super(_0x32a4d0),this[_0x385dd9(0x1b6)]=this[_0x385dd9(0x20f)][_0x385dd9(0x2ac)][_0x385dd9(0x25c)](_0x385dd9(0x2b9)),this[_0x385dd9(0x1bd)]=this[_0x385dd9(0x20f)][_0x385dd9(0x2ac)][_0x385dd9(0x25c)](_0x385dd9(0x2ee)),this[_0x385dd9(0x230)](_0x385dd9(0x25a),null),this[_0x385dd9(0x230)](_0x385dd9(0x279),null),this[_0x385dd9(0x27c)]=null,this[_0x385dd9(0x230)](_0x385dd9(0x1dc),null),this[_0x385dd9(0x230)](_0x385dd9(0x2eb),!0x1),this[_0x385dd9(0x230)](_0x385dd9(0x22a),!0x0),this['on'](_0x385dd9(0x234),(_0x58445d,_0x50ee1e,_0x182678)=>{const _0x4353b2=_0x385dd9;this[_0x4353b2(0x25a)]=null,this[_0x4353b2(0x279)]=null,this[_0x4353b2(0x20f)][_0x4353b2(0x2f8)][_0x4353b2(0x2ca)][_0x4353b2(0x1db)](_0x1e01eb=>{const _0x1b413a=_0x4353b2;for(const _0x44a351 of this[_0x1b413a(0x20f)][_0x1b413a(0x2f8)][_0x1b413a(0x2ca)][_0x1b413a(0x264)][_0x1b413a(0x294)])_0x182678?_0x1e01eb[_0x1b413a(0x210)](_0x1b413a(0x1df),_0x44a351):_0x1e01eb[_0x1b413a(0x2a2)](_0x1b413a(0x1df),_0x44a351);});}),this[_0x385dd9(0x287)](_0x385dd9(0x238))['to'](this,_0x385dd9(0x25a),_0x3ac2c2=>null!==_0x3ac2c2),this[_0x385dd9(0x287)](_0x385dd9(0x28d))['to'](this,_0x385dd9(0x2eb),this,_0x385dd9(0x1dc),this,_0x385dd9(0x25a),(_0x28d837,_0x19951e,_0x139228)=>_0x28d837&&_0x139228?_0x19951e[_0x385dd9(0x2dd)][_0x385dd9(0x218)](_0x139228):0x0),this[_0x385dd9(0x287)](_0x385dd9(0x248))['to'](this,_0x385dd9(0x2eb),this,_0x385dd9(0x1dc),(_0x56e459,_0x516dd2)=>_0x56e459?_0x516dd2[_0x385dd9(0x2dd)][_0x385dd9(0x2de)]:0x0),this[_0x385dd9(0x214)]=null,this[_0x385dd9(0x291)]=new Map(),this[_0x385dd9(0x289)]=this[_0x385dd9(0x20f)][_0x385dd9(0x2ac)][_0x385dd9(0x25c)](_0x4ee235);}[_0x5b5e80(0x216)](){const _0xafcb72=_0x5b5e80,_0x34d412=this[_0xafcb72(0x20f)],_0x15c684=new ShowChangeCommand(_0x34d412,{'direction':_0xafcb72(0x212)}),_0xb2cd2=new ShowChangeCommand(_0x34d412,{'direction':_0xafcb72(0x277)});(_0x34d412[_0xafcb72(0x224)][_0xafcb72(0x1c7)](_0xafcb72(0x211),_0x15c684),_0x34d412[_0xafcb72(0x224)][_0xafcb72(0x1c7)](_0xafcb72(0x228),_0xb2cd2),_0x34d412[_0xafcb72(0x224)][_0xafcb72(0x1c7)](_0xafcb72(0x280),new RestoreRevisionCommand(_0x34d412)),this['on'](_0xafcb72(0x2be),()=>{const _0x606ac2=_0xafcb72;_0x15c684[_0x606ac2(0x1f3)](),_0xb2cd2[_0x606ac2(0x1f3)]();}),this[_0xafcb72(0x2b0)](),this[_0xafcb72(0x1d1)](),_0x34d412[_0xafcb72(0x2a8)](_0xafcb72(0x1c5)),_0x34d412[_0xafcb72(0x2ac)][_0xafcb72(0x21e)](_0xafcb72(0x1e5)))&&_0x34d412[_0xafcb72(0x2ac)][_0xafcb72(0x25c)](_0xafcb72(0x1e5))[_0xafcb72(0x2c5)](_0xafcb72(0x1c5));}async[_0x5b5e80(0x1d8)](_0x4f6d02){const _0x50413f=_0x5b5e80;return await this[_0x50413f(0x1bd)][_0x50413f(0x24a)](_0x4f6d02,this[_0x50413f(0x2e0)]),this[_0x50413f(0x1bd)][_0x50413f(0x1d8)](_0x4f6d02);}async[_0x5b5e80(0x270)](_0x26087f){const _0x911d02=_0x5b5e80;return await this[_0x911d02(0x1bd)][_0x911d02(0x24a)](_0x26087f,this[_0x911d02(0x2e0)]),this[_0x911d02(0x1bd)][_0x911d02(0x270)](_0x26087f);}async[_0x5b5e80(0x1fa)](_0x252234,_0x2a573d,_0x55e97b=!0x1){const _0x3506a5=_0x5b5e80;if(!this[_0x3506a5(0x22a)])return;const _0x24b75d=this[_0x3506a5(0x1dc)],_0x1de463=this[_0x3506a5(0x1b6)],_0x47aab4=_0x3506a5(0x236)==typeof _0x252234?_0x1de463[_0x3506a5(0x26d)](_0x252234):_0x252234,_0x35a4e4=_0x3506a5(0x236)==typeof _0x2a573d?_0x1de463[_0x3506a5(0x26d)](_0x2a573d):_0x2a573d,_0x1ca9e6=_0x47aab4['id'],_0x3a2855=_0x35a4e4?_0x35a4e4['id']:null;if(!_0x55e97b&&this[_0x3506a5(0x1dc)]&&this[_0x3506a5(0x1dc)][_0x3506a5(0x26b)]===_0x1ca9e6&&this[_0x3506a5(0x1dc)][_0x3506a5(0x23d)]===_0x3a2855)return Promise[_0x3506a5(0x217)]();this[_0x3506a5(0x2eb)]=!0x1,this[_0x3506a5(0x279)]=null,this[_0x3506a5(0x25a)]=null,this[_0x3506a5(0x1dc)]=new _0xfd47f3(_0x1ca9e6,_0x3a2855);const _0x1d9bc3=this[_0x3506a5(0x239)](_0x47aab4,_0x35a4e4,!0x0)[_0x3506a5(0x2d1)](_0x2ea46c=>this[_0x3506a5(0x1bd)][_0x3506a5(0x24a)](_0x2ea46c,this[_0x3506a5(0x2e0)]));return _0x1d9bc3[_0x3506a5(0x2aa)](new Promise(_0xea0bdd=>{setTimeout(_0xea0bdd,0x14);})),Promise[_0x3506a5(0x219)](_0x1d9bc3)[_0x3506a5(0x271)](()=>{const _0x5b21ab=_0x3506a5;if(!this[_0x5b21ab(0x22a)])return;this[_0x5b21ab(0x2b3)]();const _0x339377=this[_0x5b21ab(0x204)](_0x1ca9e6,_0x3a2855);for(const _0x1c9e72 of _0x339377[_0x5b21ab(0x2dd)])this[_0x5b21ab(0x291)][_0x5b21ab(0x230)](_0x1c9e72['id'],_0x1c9e72);this[_0x5b21ab(0x20f)][_0x5b21ab(0x252)][_0x5b21ab(0x1e9)]({'isUndoable':!0x1},_0x308050=>{const _0x3c5b47=_0x5b21ab;for(const _0x4ae2ee of this[_0x3c5b47(0x20f)][_0x3c5b47(0x252)][_0x3c5b47(0x264)][_0x3c5b47(0x23c)]())_0x308050[_0x3c5b47(0x231)](_0x4ae2ee);for(const _0x2812c1 of Object[_0x3c5b47(0x1f4)](_0x339377[_0x3c5b47(0x252)])){const _0x426fc6=_0x308050[_0x3c5b47(0x1d4)](_0x2812c1);for(const _0x5cf81b of Object[_0x3c5b47(0x1f4)](_0x339377[_0x3c5b47(0x281)][_0x2812c1]))_0x308050[_0x3c5b47(0x2a5)](_0x5cf81b,_0x339377[_0x3c5b47(0x281)][_0x2812c1][_0x5cf81b],_0x426fc6);_0x308050[_0x3c5b47(0x1e8)](_0x339377[_0x3c5b47(0x252)][_0x2812c1],_0x426fc6,0x0);}}),this[_0x5b21ab(0x1dc)][_0x5b21ab(0x1e2)](this[_0x5b21ab(0x1b9)](_0x339377[_0x5b21ab(0x2dd)])),this[_0x5b21ab(0x2eb)]=!0x0;})[_0x3506a5(0x1c2)](_0x35847b=>{const _0x1e1b6f=_0x3506a5;console[_0x1e1b6f(0x2db)](_0x35847b),this[_0x1e1b6f(0x2b3)](),_0x24b75d&&(this[_0x1e1b6f(0x1dc)]=_0x24b75d),this[_0x1e1b6f(0x2eb)]=!0x0;});}[_0x5b5e80(0x254)](_0xc4c659,_0x36f274){const _0x3cac97=_0x5b5e80,_0x3deb0a=this[_0x3cac97(0x1b6)][_0x3cac97(0x2f2)](_0xc4c659);return _0x3deb0a['on'](_0x3cac97(0x2cb),(_0x52632,_0x282034,_0xb6e267)=>_0x36f274(_0x282034,_0xb6e267,_0x3deb0a)),this[_0x3cac97(0x1b6)][_0x3cac97(0x2f7)](_0x3deb0a),_0x3deb0a;}[_0x5b5e80(0x2b3)](){const _0x57319a=_0x5b5e80;this[_0x57319a(0x25a)]=null,this[_0x57319a(0x2d2)](),this[_0x57319a(0x214)]&&this[_0x57319a(0x214)][_0x57319a(0x201)](),this[_0x57319a(0x214)]=null,this[_0x57319a(0x291)][_0x57319a(0x2d3)](),this[_0x57319a(0x20f)][_0x57319a(0x252)][_0x57319a(0x1e9)]({'isUndoable':!0x1},_0x6c3a2=>{const _0x46d90e=_0x57319a;for(const _0x453f79 of this[_0x46d90e(0x20f)][_0x46d90e(0x252)][_0x46d90e(0x264)][_0x46d90e(0x23c)]())_0x6c3a2[_0x46d90e(0x231)](_0x453f79);});}[_0x5b5e80(0x1b9)](_0x1d77c9){const _0x217ab1=_0x5b5e80,_0x25041b=[],_0x27f903=new Map();for(const _0x2b7307 of this[_0x217ab1(0x20f)][_0x217ab1(0x252)][_0x217ab1(0x264)][_0x217ab1(0x23c)]()){const _0x8bfde4=this[_0x217ab1(0x20f)][_0x217ab1(0x2f8)][_0x217ab1(0x2ca)][_0x217ab1(0x215)](_0x2b7307);if(!_0x8bfde4)continue;const _0x539bf3=_0x8bfde4[_0x217ab1(0x2bd)]()[_0x217ab1(0x2a6)](0x0);_0x539bf3&&(_0x25041b[_0x217ab1(0x2aa)](_0x2b7307),_0x27f903[_0x217ab1(0x230)](_0x2b7307,_0x539bf3));}return _0x25041b[_0x217ab1(0x251)]((_0x27f066,_0x334a12)=>{const _0x52544a=_0x217ab1,_0x2a63ff=_0x27f903[_0x52544a(0x25c)](_0x27f066),_0x223c50=_0x27f903[_0x52544a(0x25c)](_0x334a12);return _0x2a63ff['y']-_0x223c50['y']||_0x2a63ff['x']-_0x223c50['x'];}),(_0x1d77c9=_0x1d77c9[_0x217ab1(0x2f5)](_0x198c30=>_0x25041b[_0x217ab1(0x2ad)](_0x198c30[_0x217ab1(0x22f)])))[_0x217ab1(0x251)]((_0x3726cf,_0x424b1e)=>_0x25041b[_0x217ab1(0x2ae)](_0x3726cf[_0x217ab1(0x22f)])-_0x25041b[_0x217ab1(0x2ae)](_0x424b1e[_0x217ab1(0x22f)])),_0x1d77c9;}[_0x5b5e80(0x2d7)](_0x3284eb){const _0x36b387=_0x5b5e80,_0x38b0a7=Array[_0x36b387(0x1ee)](_0x3284eb[_0x36b387(0x1b8)])[_0x36b387(0x2f5)](([_0x459af5,_0x25cd19])=>_0x459af5[_0x36b387(0x1c8)](_0x36b387(0x1d5))&&!_0x25cd19[_0x36b387(0x2bc)]),_0x217aca=Array[_0x36b387(0x1ee)](this[_0x36b387(0x20f)][_0x36b387(0x252)][_0x36b387(0x221)](_0x3284eb)[_0x36b387(0x26e)]({'singleCharacters':!0x0}));if(0x0!=_0x38b0a7[_0x36b387(0x2de)])for(const _0x1328e3 of _0x217aca){const [_0x2c1ab1,_0x518544]=_0x38b0a7[0x0],[,_0x15bb77,_0x553875]=_0x2c1ab1[_0x36b387(0x282)](':');if(_0x518544[_0x36b387(0x1ec)][_0x36b387(0x1ea)](_0x1328e3[_0x36b387(0x24f)])&&_0x38b0a7[_0x36b387(0x285)](),(_0x1328e3[_0x36b387(0x244)][_0x36b387(0x1ea)](_0x518544[_0x36b387(0x257)])||_0x1328e3[_0x36b387(0x244)][_0x36b387(0x245)](_0x518544[_0x36b387(0x257)]))&&(_0x36b387(0x213)==_0x15bb77?_0x1328e3[_0x36b387(0x2bf)]={'userId':_0x553875}:_0x36b387(0x1e0)==_0x15bb77&&(_0x1328e3[_0x36b387(0x2dc)]={'userId':_0x553875})),0x0==_0x38b0a7[_0x36b387(0x2de)])break;}return _0x217aca;}[_0x5b5e80(0x1e1)](_0x241627){const _0x4576f3=_0x5b5e80,_0x5e2684=new Map();for(let _0xb432b6=0x0;_0xb432b6<_0x241627[_0x4576f3(0x2de)];_0xb432b6++)_0x4576f3(0x253)===_0x241627[_0xb432b6][_0x4576f3(0x2d6)]?(_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x2b7)]=_0xb432b6,_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x1ce)]=_0xb432b6):(_0x4576f3(0x276)===_0x241627[_0xb432b6][_0x4576f3(0x2d6)]?_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x2b7)]=_0xb432b6:_0x4576f3(0x293)===_0x241627[_0xb432b6][_0x4576f3(0x2d6)]&&(_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x1ce)]=_0xb432b6),_0x5e2684[_0x4576f3(0x230)](_0x241627[_0xb432b6]['id'],_0xb432b6));for(const _0x46b023 of _0x5e2684[_0x4576f3(0x1c0)]())_0x4576f3(0x276)===_0x241627[_0x46b023][_0x4576f3(0x2d6)]?_0x241627[_0x46b023][_0x4576f3(0x2a6)][_0x4576f3(0x1ce)]=_0x5e2684[_0x4576f3(0x25c)](_0x241627[_0x46b023][_0x4576f3(0x20e)]):_0x4576f3(0x293)===_0x241627[_0x46b023][_0x4576f3(0x2d6)]&&(_0x241627[_0x46b023][_0x4576f3(0x2a6)][_0x4576f3(0x2b7)]=_0x5e2684[_0x4576f3(0x25c)](_0x241627[_0x46b023][_0x4576f3(0x20e)]));}[_0x5b5e80(0x2f1)](_0x3f762a){const _0x1cca6c=_0x5b5e80;for(let _0x372781=0x0;_0x372781<_0x3f762a[_0x1cca6c(0x2de)];_0x372781++){if(_0x1cca6c(0x276)===_0x3f762a[_0x372781][_0x1cca6c(0x2d6)])_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x2b7)]=_0x372781;else{if(_0x1cca6c(0x293)===_0x3f762a[_0x372781][_0x1cca6c(0x2d6)]){_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x1ce)]=_0x372781;const _0x1ce7e8=_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x2b7)];_0x3f762a[_0x1ce7e8][_0x1cca6c(0x20e)]=_0x3f762a[_0x372781]['id'],_0x3f762a[_0x372781][_0x1cca6c(0x20e)]=_0x3f762a[_0x1ce7e8]['id'];}else _0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x2b7)]=_0x372781,_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x1ce)]=_0x372781,_0x3f762a[_0x372781][_0x1cca6c(0x20e)]=null;}_0x3f762a[_0x372781][_0x1cca6c(0x206)]||(_0x3f762a[_0x372781][_0x1cca6c(0x206)]=[],_0x3f762a[_0x372781][_0x1cca6c(0x2ab)]=[]);}}[_0x5b5e80(0x1ed)](_0x3cd0bb,_0x54b85d){const _0x314735=_0x5b5e80,_0x472b96=_0x3cd0bb[_0x314735(0x2f5)](_0x6fb0d8=>!_0x6fb0d8[_0x314735(0x2bf)]);for(let _0x15face=0x0;_0x15face<_0x54b85d[_0x314735(0x2de)];_0x15face++)_0x54b85d[_0x15face][_0x314735(0x2bf)]&&(_0x472b96[_0x15face][_0x314735(0x2bf)]=_0x54b85d[_0x15face][_0x314735(0x2bf)]);}[_0x5b5e80(0x204)](_0x55a7cb,_0x526487=null){const _0x3f92c8=_0x5b5e80,_0x886c94=this[_0x3f92c8(0x1b6)][_0x3f92c8(0x26d)](_0x55a7cb),_0x2a2626=_0x526487?this[_0x3f92c8(0x1b6)][_0x3f92c8(0x26d)](_0x526487):null,_0x46e601=this[_0x3f92c8(0x239)](_0x886c94,_0x2a2626),_0x2c8736=_0x46e601[_0x46e601[_0x3f92c8(0x2de)]-0x1],_0x4915ef=new Map(),_0x409c03={'model':{},'attributes':{},'changes':[]},_0x7a4229=new Set(),_0x691f6f=new Map();for(let _0x3799be=_0x46e601[_0x3f92c8(0x2de)]-0x1;_0x3799be>=0x0;_0x3799be--){const _0xb648b8=_0x46e601[_0x3799be];for(const _0x5326f6 of Object[_0x3f92c8(0x1f4)](_0xb648b8[_0x3f92c8(0x278)]))if(_0xb648b8[_0x3f92c8(0x278)][_0x5326f6][_0x3f92c8(0x2c1)]){const _0x4c47cc=_0xb648b8[_0x3f92c8(0x278)][_0x5326f6][_0x3f92c8(0x2c1)];_0x4c47cc[_0x3f92c8(0x2ef)]?(_0x7a4229[_0x3f92c8(0x1c7)](_0x5326f6),_0x691f6f[_0x3f92c8(0x21e)](_0x5326f6)&&_0x691f6f[_0x3f92c8(0x25c)](_0x5326f6)[_0x3f92c8(0x28b)]==_0x4c47cc[_0x3f92c8(0x28b)]?_0x691f6f[_0x3f92c8(0x1bf)](_0x5326f6):_0x691f6f[_0x3f92c8(0x230)](_0x5326f6,_0x4c47cc)):_0x691f6f[_0x3f92c8(0x21e)](_0x5326f6)?(_0x7a4229[_0x3f92c8(0x1bf)](_0x5326f6),_0x691f6f[_0x3f92c8(0x1bf)](_0x5326f6)):(_0x7a4229[_0x3f92c8(0x1c7)](_0x5326f6),_0x691f6f[_0x3f92c8(0x230)](_0x5326f6,_0x4c47cc));}else _0x7a4229[_0x3f92c8(0x1c7)](_0x5326f6);}for(const _0x249768 of _0x7a4229){const _0x3b468e=_0x691f6f[_0x3f92c8(0x21e)](_0x249768)&&!_0x691f6f[_0x3f92c8(0x25c)](_0x249768)[_0x3f92c8(0x2ef)];let _0xb7db6e=_0x3b468e?_0x46e601[_0x3f92c8(0x2de)]-0x1:0x0;const _0x1737e7=_0x3b468e?-0x1:0x1;for(;_0x46e601[_0xb7db6e];){const _0xf3e4da=_0x46e601[_0xb7db6e];if(_0xf3e4da[_0x3f92c8(0x278)][_0x249768]){const _0x507667=_0x3b468e?_0xf3e4da[_0x3f92c8(0x278)][_0x249768][_0x3f92c8(0x2a0)]:_0xf3e4da[_0x3f92c8(0x278)][_0x249768][_0x3f92c8(0x29f)];_0x409c03[_0x3f92c8(0x281)][_0x249768]=_0x507667?_0x10a05d(_0x507667):{};break;}_0xb7db6e+=_0x1737e7;}}for(const _0x254022 of _0x46e601){_0x254022[_0x3f92c8(0x252)]={};for(const _0x177fc4 of _0x254022[_0x3f92c8(0x226)])_0x4915ef[_0x3f92c8(0x230)](_0x177fc4['id'],_0x177fc4);for(const _0x460de1 of _0x7a4229){const _0x57d2f6=_0x254022[_0x3f92c8(0x278)][_0x460de1]?_0x254022[_0x3f92c8(0x278)][_0x460de1][_0x3f92c8(0x20a)]:'[]',_0x23545f=_0x254022[_0x3f92c8(0x278)][_0x460de1]?_0x254022[_0x3f92c8(0x278)][_0x460de1][_0x3f92c8(0x2b1)]:'[]';_0x254022[_0x3f92c8(0x252)][_0x460de1]={'insertions':this[_0x3f92c8(0x1bd)][_0x3f92c8(0x2e3)](_0x57d2f6),'deletions':this[_0x3f92c8(0x1bd)][_0x3f92c8(0x2e3)](_0x23545f)};}}for(const _0x323788 of _0x7a4229){let _0xf1bb63=null,_0x126cd6=0x0;const _0x407441=new Map(Array[_0x3f92c8(0x1ee)](_0x886c94[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x20a)][_0x3f92c8(0x1b8)])[_0x3f92c8(0x2f5)](([_0x3853a2])=>!_0x3853a2[_0x3f92c8(0x1c8)](_0x3f92c8(0x1d5))));let _0x30a50c=0x0;for(const _0x46d0a4 of _0x46e601){const _0xb9d1a1=this[_0x3f92c8(0x2d7)](_0x46d0a4[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x20a)]);_0x46d0a4==_0x886c94?(_0xf1bb63=_0xb9d1a1,_0x126cd6=_0xf1bb63[_0x3f92c8(0x2de)],_0xf1bb63[_0x3f92c8(0x1b3)](_0x15dfa6=>{_0x15dfa6['id']=_0x30a50c++;}),this[_0x3f92c8(0x2f1)](_0xf1bb63)):this[_0x3f92c8(0x1ed)](_0xf1bb63,_0xb9d1a1);const _0x283e44=_0xf1bb63[_0x3f92c8(0x2f5)](_0x5b2e82=>!_0x5b2e82[_0x3f92c8(0x2bf)])[_0x3f92c8(0x2d1)](_0x5cc148=>_0x5cc148['id']);let _0x473e79=0x0;const _0xe6490f=this[_0x3f92c8(0x2d7)](_0x46d0a4[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x2b1)]);_0xe6490f[_0x3f92c8(0x1b3)](_0x1afc00=>{const _0x4688aa=_0x3f92c8;_0x1afc00[_0x4688aa(0x2dc)]?_0x1afc00['id']=_0x126cd6++:_0x1afc00['id']=_0x283e44[_0x473e79++];}),this[_0x3f92c8(0x2f1)](_0xe6490f),this[_0x3f92c8(0x28c)](_0xf1bb63,_0x3f92c8(0x2bf)),this[_0x3f92c8(0x28c)](_0xe6490f,_0x3f92c8(0x2dc)),_0x46d0a4==_0x886c94&&this[_0x3f92c8(0x29b)](_0xf1bb63,_0x407441),_0xf1bb63=this[_0x3f92c8(0x2e2)](_0xf1bb63,_0xe6490f),this[_0x3f92c8(0x1e1)](_0xf1bb63),this[_0x3f92c8(0x28c)](_0xf1bb63,_0x3f92c8(0x2dc));}_0xf1bb63=_0xf1bb63[_0x3f92c8(0x2f5)](_0x48df29=>!(_0x48df29[_0x3f92c8(0x2bf)]&&_0x48df29[_0x3f92c8(0x2dc)]));const _0x23893e=new Map(_0x2c8736[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x2b1)][_0x3f92c8(0x1b8)]),_0x8974c=new Set(_0x407441[_0x3f92c8(0x1f4)]());for(const _0x28d87b of _0x23893e[_0x3f92c8(0x1f4)]())_0x8974c[_0x3f92c8(0x1bf)](_0x28d87b);this[_0x3f92c8(0x2c2)](_0xf1bb63,_0x8974c),this[_0x3f92c8(0x2a3)](_0xf1bb63),_0xf1bb63=this[_0x3f92c8(0x2a4)](_0xf1bb63),_0xf1bb63=this[_0x3f92c8(0x2f3)](_0xf1bb63),_0xf1bb63=this[_0x3f92c8(0x1c6)](_0xf1bb63);const {root:_0xa93925,changes:_0xb76da4}=this[_0x3f92c8(0x2ba)](_0xf1bb63,_0x4915ef,_0x323788);_0x409c03[_0x3f92c8(0x252)][_0x323788]=_0xa93925;const _0x19ebb8=_0x691f6f[_0x3f92c8(0x25c)](_0x323788);if(_0x19ebb8){const _0x373c43=_0x4915ef[_0x3f92c8(0x25c)](_0x19ebb8[_0x3f92c8(0x28b)]),_0x3f94ac=new _0x1bfd26({'author':_0x373c43,'type':_0x19ebb8[_0x3f92c8(0x2ef)]?_0x3f92c8(0x1c7):_0x3f92c8(0x20d),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x323788});_0xb76da4[_0x3f92c8(0x2e4)](_0x3f94ac),_0x409c03[_0x3f92c8(0x281)][_0x323788][_0x3f92c8(0x26c)]=_0x3f94ac['id'];}_0x409c03[_0x3f92c8(0x2dd)]=_0x409c03[_0x3f92c8(0x2dd)][_0x3f92c8(0x2bb)](_0xb76da4);}return _0x409c03;}[_0x5b5e80(0x29b)](_0x19daf1,_0x4e04fe){const _0x37c5c8=_0x5b5e80;for(let _0x3a3d23=0x0;_0x3a3d23<_0x19daf1[_0x37c5c8(0x2de)];_0x3a3d23++)for(const [_0x203046,_0x3f3fa5]of _0x4e04fe)!_0x3f3fa5[_0x37c5c8(0x2bc)]&&_0x3f3fa5[_0x37c5c8(0x257)][_0x37c5c8(0x1ea)](_0x19daf1[_0x3a3d23][_0x37c5c8(0x244)])&&_0x19daf1[_0x3a3d23][_0x37c5c8(0x206)][_0x37c5c8(0x2aa)](_0x203046),_0x3f3fa5[_0x37c5c8(0x1ec)][_0x37c5c8(0x1ea)](_0x19daf1[_0x3a3d23][_0x37c5c8(0x24f)])&&_0x19daf1[_0x3a3d23][_0x37c5c8(0x2ab)][_0x37c5c8(0x2aa)](_0x203046);}[_0x5b5e80(0x2e2)](_0x5d890f,_0x2820a0){const _0x5afc60=_0x5b5e80;let _0x2c8d95=[],_0x1008f8=0x0,_0x414957=0x0;for(;_0x1008f8<_0x5d890f[_0x5afc60(0x2de)]||_0x414957<_0x2820a0[_0x5afc60(0x2de)];){const _0x3fd780=_0x5d890f[_0x1008f8]||{},_0x5eb68f=_0x2820a0[_0x414957]||{};if(_0x3fd780['id']==_0x5eb68f['id'])_0x1008f8++,_0x414957++,_0x2c8d95[_0x5afc60(0x2aa)](_0x3fd780);else{if(_0x5eb68f[_0x5afc60(0x2dc)]&&_0x3fd780[_0x5afc60(0x2bf)]){const {commonTape:_0x2ace30,iEnd:_0x391e92,jEnd:_0x21afc3}=this[_0x5afc60(0x1ef)](_0x5d890f,_0x1008f8,_0x2820a0,_0x414957);_0x2c8d95=_0x2c8d95[_0x5afc60(0x2bb)](_0x2ace30),_0x1008f8=_0x391e92,_0x414957=_0x21afc3;}else _0x5eb68f[_0x5afc60(0x2dc)]?(_0x414957++,_0x2c8d95[_0x5afc60(0x2aa)](_0x5eb68f)):(_0x1008f8++,_0x2c8d95[_0x5afc60(0x2aa)](_0x3fd780));}}return _0x2c8d95;}[_0x5b5e80(0x2c2)](_0x3fc451,_0x52242a){const _0xc94131=_0x5b5e80,_0x3d7e00=[];for(let _0x3ed755=0x0;_0x3ed755<_0x3fc451[_0xc94131(0x2de)];_0x3ed755++){for(let _0x170e33=0x0;_0x170e33<_0x3fc451[_0x3ed755][_0xc94131(0x206)][_0xc94131(0x2de)];_0x170e33++){const _0x3f2dc8=_0x3fc451[_0x3ed755][_0xc94131(0x206)][_0x170e33];if(!_0x52242a[_0xc94131(0x21e)](_0x3f2dc8))continue;const {group:_0x1c89a4,type:_0x40bcf0,authorId:_0x2a3015}=_0x59cb4f(_0x3f2dc8);_0xc94131(0x23b)!=_0x1c89a4||_0xc94131(0x213)!=_0x40bcf0&&_0xc94131(0x1e0)!=_0x40bcf0||(_0x3d7e00[_0xc94131(0x2e4)]({'type':_0x40bcf0,'name':_0x3f2dc8,'userId':_0x2a3015}),_0x3fc451[_0x3ed755][_0xc94131(0x206)][_0xc94131(0x2e6)](_0x170e33,0x1),_0x170e33--);}_0x1dd220(_0x3fc451[_0x3ed755]);for(let _0x3aa34e=0x0;_0x3aa34e<_0x3fc451[_0x3ed755][_0xc94131(0x2ab)][_0xc94131(0x2de)];_0x3aa34e++){const _0x570117=_0x3fc451[_0x3ed755][_0xc94131(0x2ab)][_0x3aa34e];if(!_0x52242a[_0xc94131(0x21e)](_0x570117))continue;const {group:_0x47b4d6,type:_0x23a1f0}=_0x59cb4f(_0x570117);if(_0xc94131(0x23b)!=_0x47b4d6||_0xc94131(0x213)!=_0x23a1f0&&_0xc94131(0x1e0)!=_0x23a1f0)continue;_0x3fc451[_0x3ed755][_0xc94131(0x2ab)][_0xc94131(0x2e6)](_0x3aa34e,0x1),_0x3aa34e--;const _0x5c11d8=_0x3d7e00[_0xc94131(0x2c8)](_0x3830dc=>_0x3830dc[_0xc94131(0x1b1)]==_0x570117);_0x5c11d8>-0x1&&_0x3d7e00[_0xc94131(0x2e6)](_0x5c11d8,0x1);}}function _0x59cb4f(_0x536cb2){const _0x1b3e9d=_0xc94131,_0x5b2878=_0x536cb2[_0x1b3e9d(0x282)](':');return{'group':_0x5b2878[0x0],'type':_0x5b2878[0x1],'subType':_0x5b2878[_0x1b3e9d(0x2de)]>=0x5?_0x5b2878[0x2]:null,'id':_0x5b2878[_0x1b3e9d(0x2de)]<0x5?_0x5b2878[0x2]:_0x5b2878[0x3],'authorId':_0x5b2878[_0x1b3e9d(0x2de)]<0x5?_0x5b2878[0x3]:_0x5b2878[0x4],'markerCount':0x6==_0x5b2878[_0x1b3e9d(0x2de)]?_0x5b2878[0x5]:null};}function _0x1dd220(_0x107084){const _0x22beec=_0xc94131;for(let _0x263045=0x0;_0x263045<_0x3d7e00[_0x22beec(0x2de)];_0x263045++){if(_0x107084[_0x22beec(0x2bf)]&&_0x22beec(0x213)==_0x3d7e00[_0x263045][_0x22beec(0x2d6)]&&_0x107084[_0x22beec(0x2bf)][_0x22beec(0x28b)]==_0x3d7e00[_0x263045][_0x22beec(0x28b)])return _0x107084[_0x22beec(0x22e)]=_0x3d7e00[_0x263045],void delete _0x107084[_0x22beec(0x2bf)];if(!_0x107084[_0x22beec(0x2bf)]&&!_0x107084[_0x22beec(0x2dc)]&&_0x22beec(0x1e0)==_0x3d7e00[_0x263045][_0x22beec(0x2d6)])return void(_0x107084[_0x22beec(0x1fc)]=_0x3d7e00[_0x263045]);}}}[_0x5b5e80(0x28c)](_0x350d11,_0x21b5d9){const _0xa915df=_0x5b5e80;let _0x401139=0x0,_0x1ab52f=!0x1;const _0x1e690c=new Map();for(const _0x3c0655 of _0x350d11)_0x3c0655[_0x21b5d9]?_0x1ab52f&&(_0x401139++,_0x1ab52f=!0x1):(_0x401139++,_0x1ab52f=!0x0),_0x1e690c[_0xa915df(0x230)](_0x3c0655['id'],_0x401139);for(let _0xf9a5fe=0x0;_0xf9a5fe<_0x350d11[_0xa915df(0x2de)];_0xf9a5fe++){if(_0xa915df(0x2dc)==_0x21b5d9&&_0x350d11[_0xf9a5fe][_0xa915df(0x2bf)]||_0xa915df(0x2bf)==_0x21b5d9&&_0x350d11[_0xf9a5fe][_0xa915df(0x2dc)])continue;if(_0xa915df(0x253)==_0x350d11[_0xf9a5fe][_0xa915df(0x2d6)]){_0x350d11[_0xf9a5fe][_0xa915df(0x299)]=0x0;continue;}const _0x4a8c90=_0x1e690c[_0xa915df(0x25c)](_0x350d11[_0xf9a5fe][_0xa915df(0x20e)]),_0x47738c=_0x1e690c[_0xa915df(0x25c)](_0x350d11[_0xf9a5fe]['id']);_0x350d11[_0xf9a5fe][_0xa915df(0x299)]=_0x4a8c90-_0x47738c;}}[_0x5b5e80(0x239)](_0x5ba6d5,_0x33e1bb,_0x5da0fd=!0x1){const _0xfaf644=_0x5b5e80,_0x3a0600=[];let _0xb26995=this[_0xfaf644(0x1b6)][_0xfaf644(0x218)](_0x5ba6d5),_0x5edd0f=this[_0xfaf644(0x1b6)][_0xfaf644(0x218)](_0x33e1bb);for(-0x1==_0x5edd0f&&(_0x5edd0f=this[_0xfaf644(0x1b6)][_0xfaf644(0x258)][_0xfaf644(0x2de)],_0x5da0fd=!0x1);_0xb26995<_0x5edd0f;)_0x3a0600[_0xfaf644(0x2aa)](this[_0xfaf644(0x1b6)][_0xfaf644(0x26d)](_0xb26995)),_0xb26995++;return _0x5da0fd&&_0x3a0600[_0xfaf644(0x2aa)](this[_0xfaf644(0x1b6)][_0xfaf644(0x26d)](_0xb26995)),_0x3a0600;}[_0x5b5e80(0x1ef)](_0xef0dae,_0x2b0cd6,_0x6621be,_0x1415e6){const _0x2d47e5=_0x5b5e80,_0xad821d=this[_0x2d47e5(0x20f)][_0x2d47e5(0x252)][_0x2d47e5(0x261)];let _0x4640e5=_0x2b0cd6;for(;_0xef0dae[_0x4640e5]&&_0xef0dae[_0x4640e5][_0x2d47e5(0x2bf)];)_0x4640e5++;let _0x401f51=_0x1415e6;for(;_0x6621be[_0x401f51]&&_0x6621be[_0x401f51][_0x2d47e5(0x2dc)];)_0x401f51++;_0x1e2d8e(_0xef0dae,_0x2b0cd6,_0x4640e5),_0x1e2d8e(_0x6621be,_0x1415e6,_0x401f51);const _0x28bbb8=_0x6621be[_0x2d47e5(0x28e)](_0x1415e6,_0x401f51)[_0x2d47e5(0x2bb)](_0xef0dae[_0x2d47e5(0x28e)](_0x2b0cd6,_0x4640e5));return _0x28bbb8[_0x2d47e5(0x251)]((_0x50e9df,_0x5e9579)=>_0x50e9df[_0x2d47e5(0x1d9)]!=_0x5e9579[_0x2d47e5(0x1d9)]?_0x50e9df[_0x2d47e5(0x1d9)]-_0x5e9579[_0x2d47e5(0x1d9)]:_0x50e9df[_0x2d47e5(0x20c)]!=_0x5e9579[_0x2d47e5(0x20c)]?_0x50e9df[_0x2d47e5(0x20c)]-_0x5e9579[_0x2d47e5(0x20c)]:_0x50e9df[_0x2d47e5(0x299)]!=_0x5e9579[_0x2d47e5(0x299)]?_0x5e9579[_0x2d47e5(0x299)]-_0x50e9df[_0x2d47e5(0x299)]:!!_0x50e9df[_0x2d47e5(0x2bf)]!=!!_0x5e9579[_0x2d47e5(0x2bf)]?-0x1==_0x50e9df[_0x2d47e5(0x1d9)]||0x0==_0x50e9df[_0x2d47e5(0x1d9)]?_0x50e9df[_0x2d47e5(0x2bf)]?-0x1:0x1:_0x50e9df[_0x2d47e5(0x2bf)]?0x1:-0x1:_0x50e9df[_0x2d47e5(0x2d0)]-_0x5e9579[_0x2d47e5(0x2d0)]),{'commonTape':_0x28bbb8,'iEnd':_0x4640e5,'jEnd':_0x401f51};function _0x1e2d8e(_0xfaf9ba,_0x416018,_0x478b81){const _0x107077=_0x2d47e5;let _0x3f5d5a=-0x1,_0x26d4fc=Number[_0x107077(0x1e3)],_0x22a247=!0x0;for(let _0x483d05=_0x416018;_0x483d05<_0x478b81;_0x483d05++)if(_0xad821d[_0x107077(0x1fe)](_0xfaf9ba[_0x483d05][_0x107077(0x2a6)])||(_0x22a247=!0x1),_0xfaf9ba[_0x483d05][_0x107077(0x2a6)][_0x107077(0x2b7)]<_0x416018&&(_0x3f5d5a=_0x483d05),_0xfaf9ba[_0x483d05][_0x107077(0x2a6)][_0x107077(0x1ce)]>=_0x478b81){_0x26d4fc=_0x483d05;break;}_0x22a247&&(_0x3f5d5a=_0x478b81-0x1);for(let _0x3e7bb1=_0x416018;_0x3e7bb1<_0x478b81;_0x3e7bb1++)_0xfaf9ba[_0x3e7bb1][_0x107077(0x1d9)]=_0x3e7bb1<=_0x3f5d5a?-0x1:_0x3e7bb1<_0x26d4fc?0x0:0x1,_0xfaf9ba[_0x3e7bb1][_0x107077(0x2d0)]=_0x3e7bb1;let _0x2e2dc1=0x0;for(let _0x1aed48=_0x416018;_0x1aed48<=_0x3f5d5a;_0x1aed48++)0x0==_0xfaf9ba[_0x1aed48][_0x107077(0x299)]?_0xfaf9ba[_0x1aed48][_0x107077(0x20c)]=_0x2e2dc1:(_0x2e2dc1++,_0xfaf9ba[_0x1aed48][_0x107077(0x20c)]=_0x2e2dc1,_0x2e2dc1++);for(let _0x2ea8cc=_0x416018;_0x2ea8cc<_0x478b81;_0x2ea8cc++)0x0==_0xfaf9ba[_0x2ea8cc][_0x107077(0x1d9)]&&(_0xfaf9ba[_0x2ea8cc][_0x107077(0x20c)]=_0x2e2dc1);_0x2e2dc1=0x0;for(let _0x5a4a05=_0x478b81-0x1;_0x5a4a05>=_0x26d4fc;_0x5a4a05--)0x0==_0xfaf9ba[_0x5a4a05][_0x107077(0x299)]?_0xfaf9ba[_0x5a4a05][_0x107077(0x20c)]=_0x2e2dc1:(_0x2e2dc1--,_0xfaf9ba[_0x5a4a05][_0x107077(0x20c)]=_0x2e2dc1,_0x2e2dc1--);}}[_0x5b5e80(0x2a3)](_0x375022){const _0x115a5a=_0x5b5e80,_0x4cb0ee=new Map(),_0x4fa5fc=this[_0x115a5a(0x20f)][_0x115a5a(0x252)][_0x115a5a(0x261)];for(let _0x21b83d=0x1;_0x21b83d<_0x375022[_0x115a5a(0x2de)];_0x21b83d++){let _0x5154c7,_0x427d98,_0x301537;const _0x49c40a=_0x375022[_0x21b83d],_0x22a816=_0x375022[_0x21b83d-0x1];if(_0x115a5a(0x253)==_0x49c40a[_0x115a5a(0x2d6)])continue;if(_0x49c40a[_0x115a5a(0x2d6)]!=_0x22a816[_0x115a5a(0x2d6)])continue;if(!_0x4fa5fc[_0x115a5a(0x1f0)](_0x22a816[_0x115a5a(0x2a6)])||_0x4fa5fc[_0x115a5a(0x1eb)](_0x22a816[_0x115a5a(0x2a6)]))continue;if(!_0x4fa5fc[_0x115a5a(0x1f0)](_0x49c40a[_0x115a5a(0x2a6)])||_0x4fa5fc[_0x115a5a(0x1eb)](_0x49c40a[_0x115a5a(0x2a6)]))continue;if((_0x375022[_0x21b83d][_0x115a5a(0x2bf)]||_0x375022[_0x21b83d][_0x115a5a(0x22e)])&&_0x375022[_0x21b83d-0x1][_0x115a5a(0x2dc)])_0x5154c7=_0x375022[_0x21b83d],_0x427d98=_0x375022[_0x21b83d-0x1],_0x301537=_0x21b83d-0x1;else{if(!_0x375022[_0x21b83d][_0x115a5a(0x2dc)]||!_0x375022[_0x21b83d-0x1][_0x115a5a(0x2bf)]&&!_0x375022[_0x21b83d-0x1][_0x115a5a(0x22e)])continue;_0x5154c7=_0x375022[_0x21b83d-0x1],_0x427d98=_0x375022[_0x21b83d],_0x301537=_0x21b83d;}const _0x587795=_0x5154c7[_0x115a5a(0x20c)]==_0x427d98[_0x115a5a(0x20c)],_0x19a4b5=Math[_0x115a5a(0x272)](_0x5154c7[_0x115a5a(0x20c)])<Math[_0x115a5a(0x272)](_0x427d98[_0x115a5a(0x20c)])&&0x0==_0x427d98[_0x115a5a(0x299)];(_0x587795||_0x19a4b5)&&(_0x4cb0ee[_0x115a5a(0x230)](_0x427d98['id'],_0x5154c7['id']),_0x375022[_0x115a5a(0x2e6)](_0x301537,0x1),_0x21b83d--,_0x5154c7[_0x115a5a(0x2bf)]=!0x1);}for(let _0x5d09ca=0x0;_0x5d09ca<_0x375022[_0x115a5a(0x2de)];_0x5d09ca++)_0x4cb0ee[_0x115a5a(0x21e)](_0x375022[_0x5d09ca][_0x115a5a(0x20e)])&&(_0x375022[_0x5d09ca][_0x115a5a(0x20e)]=_0x4cb0ee[_0x115a5a(0x25c)](_0x375022[_0x5d09ca][_0x115a5a(0x20e)]));}[_0x5b5e80(0x2a4)](_0x167965){const _0x497bd1=_0x5b5e80,_0x1515b7=new Set(_0x167965[_0x497bd1(0x2d1)](_0x37e2e8=>_0x37e2e8['id']));for(let _0x10c9a4=0x0;_0x10c9a4<_0x167965[_0x497bd1(0x2de)];_0x10c9a4++)_0x1515b7[_0x497bd1(0x21e)](_0x167965[_0x10c9a4][_0x497bd1(0x20e)])||0x0==_0x167965[_0x10c9a4][_0x497bd1(0x299)]||(_0x167965[_0x10c9a4][_0x497bd1(0x2b6)]=!0x0);return _0x167965[_0x497bd1(0x2f5)](_0x1f5c35=>!_0x1f5c35[_0x497bd1(0x2b6)]);}[_0x5b5e80(0x2f3)](_0x428273){const _0x2b89b7=_0x5b5e80,_0x4c4422=new Set();for(let _0x34ab3a=0x0;_0x34ab3a<_0x428273[_0x2b89b7(0x2de)];_0x34ab3a++){if(_0x4c4422[_0x2b89b7(0x21e)](_0x428273[_0x34ab3a]['id'])&&_0x428273[_0x34ab3a][_0x2b89b7(0x2dc)]&&(_0x428273[_0x34ab3a][_0x2b89b7(0x2b6)]=!0x0),_0x428273[_0x34ab3a][_0x2b89b7(0x2b6)])continue;if(0x0==_0x428273[_0x34ab3a][_0x2b89b7(0x299)])continue;if(_0x2b89b7(0x276)!=_0x428273[_0x34ab3a][_0x2b89b7(0x2d6)])continue;if(null==_0x428273[_0x34ab3a][_0x2b89b7(0x20e)])continue;let _0x23b42d=_0x34ab3a+0x1,_0x2de527=0x0;for(;_0x428273[_0x23b42d]['id']!=_0x428273[_0x34ab3a][_0x2b89b7(0x20e)];)_0x2b89b7(0x276)==_0x428273[_0x23b42d][_0x2b89b7(0x2d6)]?_0x2de527++:_0x2b89b7(0x293)==_0x428273[_0x23b42d][_0x2b89b7(0x2d6)]&&_0x2de527--,_0x23b42d++;if(0x0!=_0x2de527){if(_0x428273[_0x34ab3a][_0x2b89b7(0x2dc)])_0x428273[_0x34ab3a][_0x2b89b7(0x2b6)]=!0x0;else{for(;_0x23b42d!=_0x34ab3a;)_0x428273[_0x23b42d][_0x2b89b7(0x2dc)]&&0x0!=_0x428273[_0x23b42d][_0x2b89b7(0x299)]&&(_0x428273[_0x23b42d][_0x2b89b7(0x2b6)]=!0x0,_0x4c4422[_0x2b89b7(0x1c7)](_0x428273[_0x23b42d][_0x2b89b7(0x20e)])),_0x23b42d--;}}}return _0x428273[_0x2b89b7(0x2f5)](_0x23d183=>!_0x23d183[_0x2b89b7(0x2b6)]);}[_0x5b5e80(0x1c6)](_0x3cbf47){const _0x4e62a9=_0x5b5e80,_0x5ca9e4=this[_0x4e62a9(0x20f)][_0x4e62a9(0x252)][_0x4e62a9(0x261)];for(let _0x464c70=0x0;_0x464c70<_0x3cbf47[_0x4e62a9(0x2de)];_0x464c70++){if(!(_0x3cbf47[_0x464c70][_0x4e62a9(0x2bf)]||_0x3cbf47[_0x464c70][_0x4e62a9(0x22e)]||_0x3cbf47[_0x464c70][_0x4e62a9(0x2dc)]||_0x3cbf47[_0x464c70][_0x4e62a9(0x1fc)]))continue;if(0x0==_0x3cbf47[_0x464c70][_0x4e62a9(0x299)])continue;const _0x574456=_0x3cbf47[_0x464c70][_0x4e62a9(0x2a6)];_0x5ca9e4[_0x4e62a9(0x1f0)](_0x574456)||_0x5ca9e4[_0x4e62a9(0x1eb)](_0x574456)||(_0x3cbf47[_0x464c70][_0x4e62a9(0x2bf)]&&delete _0x3cbf47[_0x464c70][_0x4e62a9(0x2bf)],_0x3cbf47[_0x464c70][_0x4e62a9(0x22e)]&&delete _0x3cbf47[_0x464c70][_0x4e62a9(0x22e)],_0x3cbf47[_0x464c70][_0x4e62a9(0x1fc)]&&delete _0x3cbf47[_0x464c70][_0x4e62a9(0x1fc)],_0x3cbf47[_0x464c70][_0x4e62a9(0x2dc)]&&(_0x3cbf47[_0x464c70][_0x4e62a9(0x2b6)]=!0x0));}return _0x3cbf47[_0x4e62a9(0x2f5)](_0x4e4d4e=>!_0x4e4d4e[_0x4e62a9(0x2b6)]);}[_0x5b5e80(0x2ba)](_0x2fa90b,_0x3b6cd5,_0x1a98df){const _0x3be028=_0x5b5e80,_0x4994f9=new _0x3e21c2(),_0x51ea80=[],_0x3b2cde=new Map(),_0x5ee92d=this[_0x3be028(0x20f)][_0x3be028(0x252)],_0x368ee3=_0x5ee92d[_0x3be028(0x261)],_0x327048=[_0x4994f9],_0x46cfec={},_0x3b91bd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3e1ba7=null;const _0x37efb2=[0x0];for(let _0x45a75f=0x0;_0x45a75f<_0x2fa90b[_0x3be028(0x2de)];_0x45a75f++)if(_0x3be028(0x276)===_0x2fa90b[_0x45a75f][_0x3be028(0x2d6)]){_0x2fa90b[_0x45a75f][_0x3be028(0x244)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2);const _0x5dc414=new _0x220119(_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x1b1)],_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x1ca)]());_0x327048[0x0][_0x3be028(0x220)](_0x5dc414),_0x37efb2[_0x3be028(0x2aa)](0x0),_0x327048[_0x3be028(0x2e4)](_0x5dc414),_0x2fa90b[_0x45a75f][_0x3be028(0x24f)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2);}else _0x3be028(0x293)===_0x2fa90b[_0x45a75f][_0x3be028(0x2d6)]?(_0x327048[_0x3be028(0x285)](),_0x2fa90b[_0x45a75f][_0x3be028(0x244)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2),_0x37efb2[_0x3be028(0x1fb)](),_0x37efb2[_0x37efb2[_0x3be028(0x2de)]-0x1]++,_0x2fa90b[_0x45a75f][_0x3be028(0x24f)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2)):(_0x2fa90b[_0x45a75f][_0x3be028(0x244)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2),_0x3e1ba7?_0x3e1ba7[_0x3be028(0x2f6)]+=_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x2ea)]:_0x3e1ba7=new _0x5a9dbd(_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x2ea)],_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x1ca)]()),_0x2fa90b[_0x45a75f+0x1]&&_0x3be028(0x253)===_0x2fa90b[_0x45a75f+0x1][_0x3be028(0x2d6)]&&_0x3f0388(_0x3e1ba7,_0x2fa90b[_0x45a75f+0x1][_0x3be028(0x2a6)])||(_0x327048[0x0][_0x3be028(0x220)](_0x3e1ba7),_0x3e1ba7=null),_0x37efb2[_0x37efb2[_0x3be028(0x2de)]-0x1]+=_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x2f0)],_0x2fa90b[_0x45a75f][_0x3be028(0x24f)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2));for(let _0x358d3e=0x0;_0x358d3e<_0x2fa90b[_0x3be028(0x2de)];_0x358d3e++){const _0x121938=_0x2fa90b[_0x358d3e][_0x3be028(0x244)],_0x5d3176=_0x2fa90b[_0x358d3e][_0x3be028(0x24f)];for(const _0x2cef5d of _0x2fa90b[_0x358d3e][_0x3be028(0x206)])_0x3b2cde[_0x3be028(0x230)](_0x2cef5d,{'start':_0x121938,'end':null});_0x3e0bbb(_0x3be028(0x1fc),_0x358d3e,_0x121938,_0x5d3176),_0x3e0bbb(_0x3be028(0x22e),_0x358d3e,_0x121938,_0x5d3176),_0x3e0bbb(_0x3be028(0x2dc),_0x358d3e,_0x121938,_0x5d3176),_0x3e0bbb(_0x3be028(0x2bf),_0x358d3e,_0x121938,_0x5d3176);for(const _0x4f674c of _0x2fa90b[_0x358d3e][_0x3be028(0x2ab)]){const _0x55e3aa=_0x3b2cde[_0x3be028(0x25c)](_0x4f674c);_0x55e3aa?_0x55e3aa[_0x3be028(0x1ec)]=_0x5d3176:_0x3b2cde[_0x3be028(0x230)](_0x4f674c,{'start':_0x5d3176,'end':_0x5d3176});}}for(const [_0x3f7159,_0x45397d]of _0x3b2cde){const _0x205ca3=this[_0x3be028(0x20f)][_0x3be028(0x252)][_0x3be028(0x2a7)](_0x45397d[_0x3be028(0x257)],_0x45397d[_0x3be028(0x1ec)]);_0x4994f9[_0x3be028(0x1b8)][_0x3be028(0x230)](_0x3f7159,_0x205ca3);}return _0x51ea80[_0x3be028(0x251)]((_0x51f6b3,_0x51ad53)=>{const _0x35daa2=_0x3be028,_0x545e11=_0x4994f9[_0x35daa2(0x1b8)][_0x35daa2(0x25c)](_0x35daa2(0x1d5)+_0x51f6b3['id']),_0x742ff8=_0x4994f9[_0x35daa2(0x1b8)][_0x35daa2(0x25c)](_0x35daa2(0x1d5)+_0x51ad53['id']);return _0x545e11[_0x35daa2(0x257)][_0x35daa2(0x2df)](_0x742ff8[_0x35daa2(0x257)])?-0x1:_0x545e11[_0x35daa2(0x257)][_0x35daa2(0x245)](_0x742ff8[_0x35daa2(0x257)])?0x1:_0x545e11[_0x35daa2(0x1ec)][_0x35daa2(0x2df)](_0x742ff8[_0x35daa2(0x1ec)])?-0x1:_0x545e11[_0x35daa2(0x1ec)][_0x35daa2(0x245)](_0x742ff8[_0x35daa2(0x1ec)])?0x1:_0x35daa2(0x1c7)===_0x51f6b3[_0x35daa2(0x2d6)]?-0x1:0x1;}),{'root':_0x4994f9,'changes':_0x51ea80};function _0x3e0bbb(_0x1451c3,_0x3d08ff,_0x3dac9f,_0x10ba45){const _0x5dbbc4=_0x3be028,_0x219a1e=!!_0x2fa90b[_0x3d08ff][_0x1451c3],_0x2ede2e=_0x219a1e?_0x2fa90b[_0x3d08ff][_0x1451c3][_0x5dbbc4(0x28b)]:null,_0xb7561a=_0x3d08ff===_0x2fa90b[_0x5dbbc4(0x2de)]-0x1,_0x15f7eb=_0x3b91bd[_0x1451c3][0x0],_0x17d693=_0x368ee3[_0x5dbbc4(0x229)](_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2a6)]);!_0x46cfec[_0x1451c3]&&_0x219a1e?_0x46cfec[_0x1451c3]={'start':_0x3dac9f,'tapeItem':_0x2fa90b[_0x3d08ff],'userId':_0x2ede2e,'type':_0x1451c3}:_0x46cfec[_0x1451c3]&&!_0x219a1e?(_0x46cfec[_0x1451c3][_0x5dbbc4(0x1ec)]=_0x3dac9f,_0x2252ae(_0x46cfec[_0x1451c3]),_0x46cfec[_0x1451c3]=null):_0x46cfec[_0x1451c3]&&_0x219a1e&&_0x46cfec[_0x1451c3][_0x5dbbc4(0x28b)]!==_0x2ede2e&&(_0x46cfec[_0x1451c3][_0x5dbbc4(0x1ec)]=_0x3dac9f,_0x15f7eb&&_0x15f7eb[_0x5dbbc4(0x28b)]===_0x46cfec[_0x1451c3][_0x5dbbc4(0x28b)]||_0x2252ae(_0x46cfec[_0x1451c3]),_0x46cfec[_0x1451c3]={'start':_0x3dac9f,'tapeItem':_0x2fa90b[_0x3d08ff],'userId':_0x2ede2e,'type':_0x1451c3}),_0x46cfec[_0x1451c3]&&_0x17d693&&(_0x5dbbc4(0x276)!==_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2d6)]||_0x15f7eb&&_0x15f7eb[_0x5dbbc4(0x28b)]===_0x2ede2e||_0x3b91bd[_0x1451c3][_0x5dbbc4(0x2e4)]({'userId':_0x2ede2e,'object':_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2a6)],'change':_0x46cfec[_0x1451c3]}),_0x5dbbc4(0x293)===_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2d6)]&&_0x15f7eb&&_0x15f7eb[_0x5dbbc4(0x2c3)]===_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2a6)]&&(_0x3b91bd[_0x1451c3][_0x5dbbc4(0x285)](),_0x46cfec[_0x1451c3]=_0x15f7eb[_0x5dbbc4(0x1db)])),_0x46cfec[_0x1451c3]&&_0xb7561a&&(_0x46cfec[_0x1451c3][_0x5dbbc4(0x1ec)]=_0x10ba45,_0x2252ae(_0x46cfec[_0x1451c3]),_0x46cfec[_0x1451c3]=null);}function _0x2252ae({start:_0xbb2adb,end:_0x328da4,tapeItem:_0x507a12,userId:_0x5bcf88,type:_0x3b878c}){const _0x11b2fe=_0x3be028,_0x2e6f70=_0x507a12[_0x11b2fe(0x2a6)],_0x4bb014=_0x5ee92d[_0x11b2fe(0x261)][_0x11b2fe(0x1f0)](_0x2e6f70)&&!_0x5ee92d[_0x11b2fe(0x261)][_0x11b2fe(0x1eb)](_0x2e6f70),_0xfa9d7=_0xbb2adb[_0x11b2fe(0x260)]==_0x328da4[_0x11b2fe(0x21b)]&&_0x328da4[_0x11b2fe(0x1d0)];if(_0x4bb014&&_0xfa9d7)return;const _0x51dabe=_0x5ee92d[_0x11b2fe(0x2a7)](_0xbb2adb,_0x328da4),_0x1a5b70=_0x3b6cd5[_0x11b2fe(0x25c)](_0x5bcf88),_0x22bd75=new _0x1bfd26({'author':_0x1a5b70,'type':_0x11b2fe(0x2bf)==_0x3b878c||_0x11b2fe(0x22e)==_0x3b878c?_0x11b2fe(0x1c7):_0x11b2fe(0x20d),'data':{'isSuggestion':_0x11b2fe(0x22e)==_0x3b878c||_0x11b2fe(0x1fc)==_0x3b878c},'createdAt':new Date(),'rootName':_0x1a98df});_0x51ea80[_0x11b2fe(0x2aa)](_0x22bd75),_0x4994f9[_0x11b2fe(0x1b8)][_0x11b2fe(0x230)](_0x11b2fe(0x1d5)+_0x22bd75['id'],_0x51dabe);}function _0x3f0388(_0x144e48,_0x5d99a2){const _0x197b8a=_0x3be028,_0x28fffe=_0x144e48[_0x197b8a(0x1ca)](),_0x391935=_0x5d99a2[_0x197b8a(0x1ca)]();for(const _0x31b9c0 of _0x28fffe){if(_0x31b9c0[0x1]!==_0x5d99a2[_0x197b8a(0x24e)](_0x31b9c0[0x0]))return!0x1;_0x391935[_0x197b8a(0x241)]();}return _0x391935[_0x197b8a(0x241)]()[_0x197b8a(0x288)];}}[_0x5b5e80(0x2b0)](){const _0x75a9ff=_0x5b5e80;this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1d6)]({'view':_0x75a9ff(0x1f6)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x200))[_0x75a9ff(0x247)]({'model':_0x75a9ff(0x1f6),'view':_0x1ec526=>{const _0x5e54e1=_0x75a9ff,_0x4337fe=_0x1ec526[_0x5e54e1(0x1ff)][_0x5e54e1(0x282)](':')[0x1],_0x50dda0=this[_0x5e54e1(0x1c1)](_0x4337fe);if(!_0x50dda0)return null;const _0x540541=_0x5e54e1(0x1c7)==_0x50dda0[_0x5e54e1(0x2d6)]?_0x5e54e1(0x213):_0x5e54e1(0x1e0),_0x495e36=[_0x5e54e1(0x2a9),_0x5e54e1(0x222)+_0x540541];return _0x50dda0[_0x5e54e1(0x2ea)][_0x5e54e1(0x27e)]&&_0x495e36[_0x5e54e1(0x2aa)](_0x5e54e1(0x222)+_0x540541+_0x5e54e1(0x25e)),this[_0x5e54e1(0x25a)]==_0x50dda0&&_0x495e36[_0x5e54e1(0x2aa)](_0x5e54e1(0x1b7)),{'classes':_0x495e36,'attributes':{'data-change-id':_0x4337fe}};}}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1c7)](_0x4b8df3=>{const _0xd56061=_0x75a9ff;_0x4b8df3['on'](_0xd56061(0x1c4),(_0x2d596d,_0x401163,_0x4a9d77)=>{const _0x4e06bd=_0xd56061,_0x569d5e=_0x401163[_0x4e06bd(0x243)][_0x4e06bd(0x2d5)](0x0);if(!_0x569d5e||!_0x569d5e['is'](_0x4e06bd(0x22d),_0x4e06bd(0x29c)))return;if(!_0x4a9d77[_0x4e06bd(0x1e6)][_0x4e06bd(0x2d8)](_0x569d5e,{'attributes':[_0x4e06bd(0x1f5),_0x4e06bd(0x207)]}))return;const _0x20e751=_0x401163[_0x4e06bd(0x25d)][_0x4e06bd(0x257)][_0x4e06bd(0x260)];_0x4a9d77[_0x4e06bd(0x1f7)][_0x4e06bd(0x2a5)](_0x4e06bd(0x1f5),_0x569d5e[_0x4e06bd(0x24e)](_0x4e06bd(0x1f5)),_0x20e751),_0x4a9d77[_0x4e06bd(0x1f7)][_0x4e06bd(0x2a5)](_0x4e06bd(0x207),_0x569d5e[_0x4e06bd(0x24e)](_0x4e06bd(0x207)),_0x20e751);},{'priority':_0xd56061(0x1da)});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1c7)](_0x28660f=>{const _0x9b6431=_0x75a9ff;_0x28660f['on'](_0x9b6431(0x22d),(_0x7e6b3a,_0x56077b,_0x47c7c4)=>{const _0xd6b956=_0x9b6431;if(!_0x47c7c4[_0xd6b956(0x1e6)][_0xd6b956(0x2d8)](_0x56077b[_0xd6b956(0x243)],{'attributes':[_0xd6b956(0x1f5),_0xd6b956(0x207)]}))return;if(_0x56077b[_0xd6b956(0x25d)][_0xd6b956(0x2bc)])return;const _0x12267e=_0x56077b[_0xd6b956(0x25d)][_0xd6b956(0x257)][_0xd6b956(0x260)];_0x12267e[_0xd6b956(0x29e)](_0xd6b956(0x1f5))||_0x12267e[_0xd6b956(0x29e)](_0xd6b956(0x23f))||(_0x47c7c4[_0xd6b956(0x1f7)][_0xd6b956(0x2a5)](_0xd6b956(0x1f5),_0x56077b[_0xd6b956(0x243)][_0xd6b956(0x24e)](_0xd6b956(0x1f5)),_0x12267e),_0x47c7c4[_0xd6b956(0x1f7)][_0xd6b956(0x2a5)](_0xd6b956(0x207),_0x56077b[_0xd6b956(0x243)][_0xd6b956(0x24e)](_0xd6b956(0x207)),_0x12267e));},{'priority':_0x9b6431(0x1da)});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x237)]({'view':{'name':_0x75a9ff(0x2e8),'attributes':{'vid':!0x0}},'model':{'key':_0x75a9ff(0x23f),'value':_0x422c52=>_0x422c52[_0x75a9ff(0x24e)](_0x75a9ff(0x23f))}}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x252)][_0x75a9ff(0x261)]['on'](_0x75a9ff(0x298),(_0xe5494d,[,_0x32a68a])=>{const _0xe6c76e=_0x75a9ff;[_0xe6c76e(0x1f5),_0xe6c76e(0x207),_0xe6c76e(0x23f)][_0xe6c76e(0x2ad)](_0x32a68a)&&(_0xe5494d[_0xe6c76e(0x235)]=!0x0,_0xe5494d[_0xe6c76e(0x2cd)]());},{'priority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x256))[_0x75a9ff(0x1c7)](_0x27fb4e=>{const _0x16dc20=_0x75a9ff;_0x27fb4e['on'](_0x16dc20(0x1cc),(_0x1d9d8c,_0x5287cf,_0x162019)=>{const _0x29b39a=_0x16dc20;if('\x20'!=_0x5287cf[_0x29b39a(0x2a6)][_0x29b39a(0x2ea)]||_0x5287cf[_0x29b39a(0x2a6)][_0x29b39a(0x21b)][_0x29b39a(0x1cd)]>0x1)return;if(!_0x162019[_0x29b39a(0x1e6)][_0x29b39a(0x2d8)](_0x5287cf[_0x29b39a(0x2a6)],_0x1d9d8c[_0x29b39a(0x1b1)]))return;const _0x29e50d=_0x162019[_0x29b39a(0x1f7)],_0x1ddb33=_0x162019[_0x29b39a(0x1be)][_0x29b39a(0x1b2)](_0x5287cf[_0x29b39a(0x263)]);_0x29e50d[_0x29b39a(0x2c7)](_0x1ddb33,_0x29e50d[_0x29b39a(0x227)](_0x29b39a(0x2e8)));});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x256))[_0x75a9ff(0x267)]({'model':_0x75a9ff(0x1f6)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x274),function(_0xa7d528){const _0x508de5=_0x75a9ff,_0x21c411=_0xa7d528[_0x508de5(0x2ac)][_0x508de5(0x25c)](_0x508de5(0x242));return(_0x4f13d3,_0x322c83,_0x6517aa)=>{const _0x4d3c92=_0x508de5,_0x2a2fa5=_0x322c83[_0x4d3c92(0x1ff)][_0x4d3c92(0x282)](':')[0x1],_0x370c04=_0x21c411[_0x4d3c92(0x1c1)](_0x2a2fa5);if(!_0x370c04)return null;const _0x31cddb=_0x4d3c92(0x1c7)==_0x370c04[_0x4d3c92(0x2d6)]?_0x4d3c92(0x282):_0x4d3c92(0x255);if(!_0x6517aa[_0x4d3c92(0x1e6)][_0x4d3c92(0x1b4)](_0x322c83[_0x4d3c92(0x1f2)],_0x4f13d3[_0x4d3c92(0x1b1)]))return;const _0x26ee98=_0x322c83[_0x4d3c92(0x1f2)][_0x4d3c92(0x26e)](),_0x3b473a=_0x322c83[_0x4d3c92(0x1f2)][_0x4d3c92(0x257)],_0x4bb9cc=_0xa7d528[_0x4d3c92(0x252)][_0x4d3c92(0x261)];let _0xd6f56=null,_0x466b03=null,_0x331a4a=!0x1,_0x2975cf=!0x1;for(const _0x5c97e0 of _0x26ee98){const _0x31804a=_0x5c97e0[_0x4d3c92(0x2a6)];_0x331a4a=_0x331a4a||_0x4bb9cc[_0x4d3c92(0x2e9)](_0x31804a);const _0x8276f7=_0x6517aa[_0x4d3c92(0x1be)][_0x4d3c92(0x225)](_0x31804a);if(_0x8276f7&&_0x8276f7[_0x4d3c92(0x273)](_0x4d3c92(0x24c)))return;_0x4d3c92(0x293)==_0x5c97e0[_0x4d3c92(0x2d6)]&&(_0x4bb9cc[_0x4d3c92(0x1f0)](_0x31804a)&&!_0x4bb9cc[_0x4d3c92(0x1eb)](_0x31804a)&&(_0x31804a[_0x4d3c92(0x23e)]||_0x3b473a[_0x4d3c92(0x23a)]?_0xd6f56&&_0xd6f56[_0x4d3c92(0x21b)]==_0x31804a||(_0xd6f56=_0x31804a,_0x43eadc(_0x5c97e0[_0x4d3c92(0x244)]),_0x2975cf=!0x0):_0x466b03=_0x466b03||_0x5c97e0[_0x4d3c92(0x244)]));}function _0x43eadc(_0x55f3e9){const _0x877ed5=_0x4d3c92,_0x4741e9=_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x1ba)](_0x877ed5(0x2e8),{'class':_0x877ed5(0x222)+_0x31cddb}),_0x35aca4=_0x6517aa[_0x877ed5(0x1be)][_0x877ed5(0x22b)](_0x55f3e9);_0x370c04[_0x877ed5(0x2ea)][_0x877ed5(0x27e)]&&_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x2a2)](_0x877ed5(0x222)+_0x31cddb+_0x877ed5(0x25e),_0x4741e9),_0x21c411[_0x877ed5(0x25a)]==_0x370c04&&_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x2a2)](_0x877ed5(0x1b7),_0x4741e9),_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x1e8)](_0x35aca4,_0x4741e9),_0x6517aa[_0x877ed5(0x1be)][_0x877ed5(0x232)](_0x4741e9,_0x322c83[_0x877ed5(0x1ff)]);}_0x331a4a||_0x2975cf||!_0x466b03||_0x43eadc(_0x466b03);};}(this[_0x75a9ff(0x20f)]),{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x286),(_0x4479a5,_0x2deffc,_0x146a13)=>{const _0x2fa61d=_0x75a9ff,_0x4ba8f7=_0x146a13[_0x2fa61d(0x1be)][_0x2fa61d(0x1f9)](_0x2deffc[_0x2fa61d(0x1ff)]);if(_0x4ba8f7){for(const _0x3a1713 of _0x4ba8f7)(_0x3a1713[_0x2fa61d(0x205)](_0x2fa61d(0x284))||_0x3a1713[_0x2fa61d(0x205)](_0x2fa61d(0x2b8)))&&(_0x146a13[_0x2fa61d(0x1be)][_0x2fa61d(0x24b)](_0x3a1713,_0x2deffc[_0x2fa61d(0x1ff)]),_0x146a13[_0x2fa61d(0x1f7)][_0x2fa61d(0x20d)](_0x3a1713));}},{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x274),(_0x379b59,_0x23e0be,_0x20c867)=>{const _0x45488c=_0x75a9ff,_0x24593c=_0x23e0be[_0x45488c(0x1ff)][_0x45488c(0x282)](':')[0x1],_0x14f34=this[_0x45488c(0x1c1)](_0x24593c);if(!_0x14f34)return null;const _0x2482a6=_0x45488c(0x1c7)==_0x14f34[_0x45488c(0x2d6)]?_0x45488c(0x282):_0x45488c(0x255);if(_0x20c867[_0x45488c(0x1e6)][_0x45488c(0x1b4)](_0x23e0be[_0x45488c(0x1f2)],_0x379b59[_0x45488c(0x1b1)]))for(const _0x4057ea of _0x23e0be[_0x45488c(0x1f2)][_0x45488c(0x2af)]()){if(!_0x4057ea['is'](_0x45488c(0x22d),_0x45488c(0x2b4)))continue;const _0x5b562d=_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x1ba)](_0x45488c(0x2e8),{'class':_0x45488c(0x222)+_0x2482a6}),_0x49d931=_0x20c867[_0x45488c(0x1be)][_0x45488c(0x22b)](this[_0x45488c(0x20f)][_0x45488c(0x252)][_0x45488c(0x2ce)](_0x4057ea));_0x14f34[_0x45488c(0x2ea)][_0x45488c(0x27e)]&&_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x2a2)](_0x45488c(0x222)+_0x2482a6+_0x45488c(0x25e),_0x5b562d),this[_0x45488c(0x25a)]==_0x14f34&&_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x2a2)](_0x45488c(0x1b7),_0x5b562d),_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x1e8)](_0x49d931,_0x5b562d),_0x20c867[_0x45488c(0x1be)][_0x45488c(0x232)](_0x5b562d,_0x23e0be[_0x45488c(0x1ff)]);}},{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x252)][_0x75a9ff(0x264)]['on'](_0x75a9ff(0x1db),()=>{const _0x2afc68=_0x75a9ff;this[_0x2afc68(0x20f)][_0x2afc68(0x2f8)][_0x2afc68(0x2ca)][_0x2afc68(0x1db)](_0x58fb7c=>{const _0x5445c7=_0x2afc68;for(const _0x31582b of this[_0x5445c7(0x20f)][_0x5445c7(0x252)][_0x5445c7(0x264)][_0x5445c7(0x23c)]()){const _0x208c5d=this[_0x5445c7(0x20f)][_0x5445c7(0x252)][_0x5445c7(0x264)][_0x5445c7(0x21a)](_0x31582b),_0xfcdecf=this[_0x5445c7(0x20f)][_0x5445c7(0x2f8)][_0x5445c7(0x2ca)][_0x5445c7(0x264)][_0x5445c7(0x21a)](_0x31582b);if(_0xfcdecf){const _0x119375=_0x208c5d[_0x5445c7(0x24e)](_0x5445c7(0x26c));if(_0x58fb7c[_0x5445c7(0x27a)](_0x5445c7(0x283),_0xfcdecf),_0x58fb7c[_0x5445c7(0x210)](_0x5445c7(0x2cf),_0xfcdecf),_0x58fb7c[_0x5445c7(0x210)](_0x5445c7(0x1d3),_0xfcdecf),_0x58fb7c[_0x5445c7(0x210)](_0x5445c7(0x1f1),_0xfcdecf),_0x119375){const _0x3ea6eb=this[_0x5445c7(0x1c1)](_0x119375);if(!_0x3ea6eb)return null;_0x58fb7c[_0x5445c7(0x2a5)](_0x5445c7(0x283),_0x119375,_0xfcdecf),_0x58fb7c[_0x5445c7(0x2a2)](_0x5445c7(0x27d)+_0x3ea6eb[_0x5445c7(0x2d6)],_0xfcdecf),this[_0x5445c7(0x25a)]==_0x3ea6eb&&_0x58fb7c[_0x5445c7(0x2a2)](_0x5445c7(0x1f1),_0xfcdecf);}}}});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1d6)]({'view':_0x75a9ff(0x2f4),'model':_0x1fe9a7=>_0x75a9ff(0x2a1)+_0x1fe9a7,'converterPriority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1d6)]({'view':_0x75a9ff(0x2b2),'model':_0x37f05a=>_0x75a9ff(0x250)+_0x37f05a,'converterPriority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x256))[_0x75a9ff(0x267)]({'model':_0x75a9ff(0x23b),'view':_0x235876=>({'name':_0x75a9ff(0x2d9)+_0x235876,'group':_0x75a9ff(0x23b)}),'converterPriority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x200))[_0x75a9ff(0x247)]({'model':_0x75a9ff(0x23b),'view':_0x3c3dbc=>{const _0x3a4d7a=_0x75a9ff,_0x3ed51e=_0x3c3dbc[_0x3a4d7a(0x1ff)][_0x3a4d7a(0x282)](':')[0x1];return _0x3a4d7a(0x213)!=_0x3ed51e&&_0x3a4d7a(0x1e0)!=_0x3ed51e?null:{'classes':[_0x3a4d7a(0x233),_0x3a4d7a(0x27f)+_0x3ed51e]};}}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x1d2),Q(this[_0x75a9ff(0x20f)],_0x75a9ff(0x255)),{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x275),Q(this[_0x75a9ff(0x20f)],_0x75a9ff(0x282)),{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x2ec),(_0x11de54,_0x32fba,_0x463659)=>{const _0x4b7910=_0x75a9ff,_0x25ca11=_0x463659[_0x4b7910(0x1be)][_0x4b7910(0x1f9)](_0x32fba[_0x4b7910(0x1ff)]);if(_0x25ca11){for(const _0x4d271a of _0x25ca11)_0x4d271a['is'](_0x4b7910(0x21d))&&(_0x463659[_0x4b7910(0x1be)][_0x4b7910(0x24b)](_0x4d271a,_0x32fba[_0x4b7910(0x1ff)]),_0x463659[_0x4b7910(0x1f7)][_0x4b7910(0x20d)](_0x4d271a));}},{'priority':_0x75a9ff(0x2ed)});}[_0x5b5e80(0x1c1)](_0x9cb2c){const _0x45a7e3=_0x5b5e80;return this[_0x45a7e3(0x291)][_0x45a7e3(0x25c)](_0x9cb2c);}[_0x5b5e80(0x246)](_0x36206b){const _0x242ec2=_0x5b5e80;return this[_0x242ec2(0x214)]&&this[_0x242ec2(0x214)][_0x242ec2(0x201)](),this[_0x242ec2(0x214)]=new _0x5e992a(this[_0x242ec2(0x20f)][_0x242ec2(0x26f)],_0x36206b),this[_0x242ec2(0x214)];}[_0x5b5e80(0x1d1)](){const _0x550036=_0x5b5e80;this[_0x550036(0x20f)][_0x550036(0x252)][_0x550036(0x264)][_0x550036(0x269)][_0x550036(0x1c3)](_0x550036(0x1f6)),this['on'](_0x550036(0x2c4),(_0x55bc8d,_0x5efbf0,_0x48ed12,_0x140f0a)=>{const _0x450820=_0x550036;_0x140f0a&&this[_0x450820(0x289)][_0x450820(0x20d)](_0x140f0a),_0x48ed12&&(this[_0x450820(0x289)][_0x450820(0x1c7)]({'view':_0x48ed12,'stackId':_0x450820(0x1cf),'position':{'target':()=>{const _0x5144af=_0x450820,_0x5b21ba=this[_0x5144af(0x20f)][_0x5144af(0x2f8)],_0x1e8a04=this[_0x5144af(0x1c1)](_0x48ed12[_0x5144af(0x1de)]);let _0x47ac82;if(_0x1e8a04[_0x5144af(0x2ea)][_0x5144af(0x203)]){const _0x188a79=_0x5b21ba[_0x5144af(0x2ca)][_0x5144af(0x215)](_0x1e8a04[_0x5144af(0x22f)]);_0x47ac82=Array[_0x5144af(0x1ee)](_0x188a79[_0x5144af(0x2bd)]());}else{const _0xbd2fad=this[_0x5144af(0x20f)][_0x5144af(0x252)][_0x5144af(0x1b8)][_0x5144af(0x25c)](_0x5144af(0x1d5)+_0x48ed12[_0x5144af(0x1de)]);_0x47ac82=Array[_0x5144af(0x1ee)](_0x5b21ba[_0x5144af(0x1be)][_0x5144af(0x1f9)](_0xbd2fad[_0x5144af(0x1b1)]))[_0x5144af(0x2d1)](_0x3c902e=>_0x5b21ba[_0x5144af(0x2ca)][_0x5144af(0x21f)][_0x5144af(0x25b)](_0x3c902e))[_0x5144af(0x2d1)](_0x29dae5=>Array[_0x5144af(0x1ee)](_0x29dae5[_0x5144af(0x2bd)]()))[_0x5144af(0x1c9)]();}if(!this[_0x5144af(0x27c)])return _0x47ac82[0x0];return _0x47ac82[_0x5144af(0x296)](_0x402c76=>_0x402c76[_0x5144af(0x259)]-0x3<=this[_0x5144af(0x27c)]['y']&&_0x402c76[_0x5144af(0x29d)]+0x3>=this[_0x5144af(0x27c)]['y']&&_0x402c76[_0x5144af(0x1f8)]-0x3<=this[_0x5144af(0x27c)]['x']&&_0x402c76[_0x5144af(0x292)]+0x3>=this[_0x5144af(0x27c)]['x'])||_0x47ac82[0x0];}}}),this[_0x450820(0x289)][_0x450820(0x25f)](_0x450820(0x1cf)));}),this['on'](_0x550036(0x2b5),(_0x180570,_0x3dd6af,_0x2d63d8,_0x4ac56d)=>{const _0x1e92f8=_0x550036;this[_0x1e92f8(0x279)]=_0x2d63d8?this[_0x1e92f8(0x246)](_0x2d63d8):null,this[_0x1e92f8(0x20f)][_0x1e92f8(0x252)][_0x1e92f8(0x1db)](()=>{const _0x3d3825=_0x1e92f8,_0x262d52=this[_0x3d3825(0x20f)][_0x3d3825(0x2f8)];_0x4ac56d&&(_0x4ac56d[_0x3d3825(0x2ea)][_0x3d3825(0x203)]?_0x262d52[_0x3d3825(0x2ca)][_0x3d3825(0x1db)](_0x7663bc=>{const _0x26fa6a=_0x3d3825;_0x7663bc[_0x26fa6a(0x210)](_0x26fa6a(0x1f1),_0x262d52[_0x26fa6a(0x2ca)][_0x26fa6a(0x264)][_0x26fa6a(0x21a)](_0x4ac56d[_0x26fa6a(0x22f)]));}):_0x262d52[_0x3d3825(0x1bc)](_0x3d3825(0x1d5)+_0x4ac56d['id'])),_0x2d63d8&&(_0x2d63d8[_0x3d3825(0x2ea)][_0x3d3825(0x203)]?_0x262d52[_0x3d3825(0x2ca)][_0x3d3825(0x1db)](_0x3b7398=>{const _0x276c66=_0x3d3825;_0x3b7398[_0x276c66(0x2a2)](_0x276c66(0x1f1),_0x262d52[_0x276c66(0x2ca)][_0x276c66(0x264)][_0x276c66(0x21a)](_0x2d63d8[_0x276c66(0x22f)]));}):_0x262d52[_0x3d3825(0x1bc)](_0x3d3825(0x1d5)+_0x2d63d8['id']));});}),this[_0x550036(0x20b)](this[_0x550036(0x20f)][_0x550036(0x2f8)][_0x550036(0x2ca)][_0x550036(0x264)],_0x550036(0x21c),(_0x25dde0,_0x55f69e)=>{const _0x346407=_0x550036;if(this[_0x346407(0x25a)])return;const _0x32ec7b=this[_0x346407(0x290)](_0x55f69e[_0x346407(0x1d7)]),_0x434548=this[_0x346407(0x291)][_0x346407(0x25c)](_0x32ec7b);_0x434548?(this[_0x346407(0x27c)]={'x':_0x55f69e[_0x346407(0x297)]['x'],'y':_0x55f69e[_0x346407(0x297)]['y']},this[_0x346407(0x279)]=this[_0x346407(0x246)](_0x434548)):(this[_0x346407(0x27c)]=null,this[_0x346407(0x279)]=null);}),this[_0x550036(0x20b)](this[_0x550036(0x20f)][_0x550036(0x2f8)][_0x550036(0x2ca)][_0x550036(0x264)],_0x550036(0x1bb),(_0x5aabb8,_0x15a222)=>{const _0x617984=_0x550036,_0x534852=this[_0x617984(0x290)](_0x15a222[_0x617984(0x1d7)]),_0x24dd45=this[_0x617984(0x291)][_0x617984(0x25c)](_0x534852);_0x24dd45?(this[_0x617984(0x27c)]={'x':_0x15a222[_0x617984(0x297)]['x'],'y':_0x15a222[_0x617984(0x297)]['y']},_0x24dd45===this[_0x617984(0x25a)]?this[_0x617984(0x289)][_0x617984(0x268)]():this[_0x617984(0x25a)]=_0x24dd45):(this[_0x617984(0x27c)]=null,this[_0x617984(0x25a)]=null);});}[_0x5b5e80(0x290)](_0xa56a6b){const _0x54f450=_0x5b5e80;do{const _0x109188=_0xa56a6b[_0x54f450(0x24e)](_0x54f450(0x283));if(_0x109188)return _0x109188;_0xa56a6b=_0xa56a6b[_0x54f450(0x21b)];}while(_0xa56a6b);return null;}[_0x5b5e80(0x2d2)](){const _0x43da78=_0x5b5e80;this[_0x43da78(0x20f)][_0x43da78(0x252)][_0x43da78(0x1db)](_0x3ac8a6=>{const _0xcd9fd3=_0x43da78;for(const _0xb23a46 of this[_0xcd9fd3(0x20f)][_0xcd9fd3(0x252)][_0xcd9fd3(0x1b8)])_0x3ac8a6[_0xcd9fd3(0x27b)](_0xb23a46);});}}function Q(_0xec5234,_0x3bd075){return(_0x15fb84,_0x4fc1ea,_0xc273ca)=>{const _0x3dd42c=_0x2175;if(!_0xc273ca[_0x3dd42c(0x1e6)][_0x3dd42c(0x1b4)](_0x4fc1ea[_0x3dd42c(0x1f2)],_0x15fb84[_0x3dd42c(0x1b1)]))return;const _0x14e666=_0x4fc1ea[_0x3dd42c(0x1f2)][_0x3dd42c(0x26e)](),_0x137c2d=_0x4fc1ea[_0x3dd42c(0x1f2)][_0x3dd42c(0x257)],_0x22af17=_0xec5234[_0x3dd42c(0x252)][_0x3dd42c(0x261)];let _0x4e73ba=null,_0x26e7c2=null,_0x5ead71=!0x1,_0x2c2190=!0x1;for(const _0x2b7110 of _0x14e666){const _0x2507c9=_0x2b7110[_0x3dd42c(0x2a6)];_0x5ead71=_0x5ead71||_0x22af17[_0x3dd42c(0x2e9)](_0x2507c9);const _0x343831=_0xc273ca[_0x3dd42c(0x1be)][_0x3dd42c(0x225)](_0x2507c9);if(_0x343831&&_0x343831[_0x3dd42c(0x273)](_0x3dd42c(0x24c)))return;_0x3dd42c(0x293)==_0x2b7110[_0x3dd42c(0x2d6)]&&(_0x22af17[_0x3dd42c(0x1f0)](_0x2507c9)&&!_0x22af17[_0x3dd42c(0x1eb)](_0x2507c9)&&(_0x2507c9[_0x3dd42c(0x23e)]||_0x137c2d[_0x3dd42c(0x23a)]?_0x4e73ba&&_0x4e73ba[_0x3dd42c(0x21b)]==_0x2507c9||(_0x4e73ba=_0x2507c9,_0x5bbb80(_0x2b7110[_0x3dd42c(0x244)]),_0x2c2190=!0x0):_0x26e7c2=_0x26e7c2||_0x2b7110[_0x3dd42c(0x244)]));}function _0x5bbb80(_0x1e7c67){const _0x2341ed=_0x3dd42c,_0x52f91b=_0xc273ca[_0x2341ed(0x1be)][_0x2341ed(0x22b)](_0x1e7c67),_0x3072f1=_0xc273ca[_0x2341ed(0x1f7)][_0x2341ed(0x1ba)](_0x2341ed(0x2e8),{'class':_0x2341ed(0x27f)+_0x3bd075});_0xc273ca[_0x2341ed(0x1f7)][_0x2341ed(0x1e8)](_0x52f91b,_0x3072f1),_0xc273ca[_0x2341ed(0x1be)][_0x2341ed(0x232)](_0x3072f1,_0x4fc1ea[_0x2341ed(0x1ff)]);}_0x5ead71||_0x2c2190||!_0x26e7c2||_0x5bbb80(_0x26e7c2);};}export class RestoreRevisionCommand extends _0x4ec70b{constructor(_0x117b6b){const _0x19dde7=_0x5b5e80;super(_0x117b6b);const _0x4fcd1b=_0x117b6b[_0x19dde7(0x2ac)][_0x19dde7(0x25c)](RevisionViewer);this[_0x19dde7(0x202)]=!0x1,this[_0x19dde7(0x20b)](_0x4fcd1b,_0x19dde7(0x295),()=>this[_0x19dde7(0x1f3)]()),this[_0x19dde7(0x20b)](_0x4fcd1b,_0x19dde7(0x234),()=>this[_0x19dde7(0x1f3)]());}[_0x5b5e80(0x2e1)](){const _0x1f3466=_0x5b5e80,_0x4954a9=this[_0x1f3466(0x20f)],_0x18b41f=_0x4954a9[_0x1f3466(0x2ac)][_0x1f3466(0x25c)](RevisionViewer),_0x2e32d5=_0x18b41f[_0x1f3466(0x2eb)]?_0x18b41f[_0x1f3466(0x1dc)][_0x1f3466(0x26b)]:null;_0x4954a9[_0x1f3466(0x2c6)][_0x1f3466(0x25c)](_0x1f3466(0x2c9))[_0x1f3466(0x1dd)](_0x2e32d5);}[_0x5b5e80(0x1f3)](){const _0x5ad387=_0x5b5e80,{isReady:_0x7e47a5,isEnabled:_0x42028d,repository:_0x4857ac,diff:_0x3a1ef4}=this[_0x5ad387(0x20f)][_0x5ad387(0x2ac)][_0x5ad387(0x25c)](RevisionViewer),_0x2084d5=_0x3a1ef4&&_0x4857ac[_0x5ad387(0x1b5)](_0x3a1ef4[_0x5ad387(0x26b)]);this[_0x5ad387(0x22a)]=_0x7e47a5&&_0x42028d&&Boolean(_0x2084d5);}}export class ShowChangeCommand extends _0x4ec70b{[_0x5b5e80(0x1cb)];constructor(_0xc5c6b2,{direction:_0x47c86b}){const _0x54870c=_0x5b5e80;super(_0xc5c6b2);const _0x2cb8ac=_0xc5c6b2[_0x54870c(0x2ac)][_0x54870c(0x25c)](RevisionViewer);this[_0x54870c(0x202)]=!0x1,this[_0x54870c(0x1cb)]=_0x54870c(0x277)===_0x47c86b?0x1:-0x1,this[_0x54870c(0x20b)](_0x2cb8ac,_0x54870c(0x295),()=>this[_0x54870c(0x1f3)]()),this[_0x54870c(0x20b)](_0x2cb8ac,_0x54870c(0x234),()=>this[_0x54870c(0x1f3)]()),this[_0x54870c(0x20b)](_0x2cb8ac,_0x54870c(0x2b5),()=>this[_0x54870c(0x1f3)]());}[_0x5b5e80(0x2e1)](){const _0x528bcd=_0x5b5e80,_0x5b53c6=this[_0x528bcd(0x20f)],_0x179180=_0x5b53c6[_0x528bcd(0x2ac)][_0x528bcd(0x25c)](RevisionViewer),{isNavigationMode:_0x1da185,currentChangeNumber:_0x15898d}=_0x179180;let _0x2d5888;if(_0x179180[_0x528bcd(0x25a)]=_0x1da185?_0x179180[_0x528bcd(0x1dc)][_0x528bcd(0x2dd)][_0x528bcd(0x25c)](_0x15898d+this[_0x528bcd(0x1cb)]):_0x179180[_0x528bcd(0x1dc)][_0x528bcd(0x2dd)][_0x528bcd(0x22c)],_0x179180[_0x528bcd(0x25a)][_0x528bcd(0x2ea)][_0x528bcd(0x203)])_0x2d5888=_0x5b53c6[_0x528bcd(0x2f8)][_0x528bcd(0x2ca)][_0x528bcd(0x215)](_0x179180[_0x528bcd(0x25a)][_0x528bcd(0x22f)]);else{const _0x442781=_0x5b53c6[_0x528bcd(0x252)][_0x528bcd(0x1b8)][_0x528bcd(0x25c)](_0x528bcd(0x1d5)+_0x179180[_0x528bcd(0x25a)]['id']);_0x2d5888=_0x56d190(_0x5b53c6[_0x528bcd(0x2f8)],_0x442781);}_0x546c1d({'target':_0x2d5888,'viewportOffset':0x28});}[_0x5b5e80(0x1f3)](){const _0x341629=_0x5b5e80,{isNavigationMode:_0x3bbe8c,currentChangeNumber:_0xd967db,numberOfChanges:_0x44f384,isReady:_0x1c2b21,isEnabled:_0x6f747a}=this[_0x341629(0x20f)][_0x341629(0x2ac)][_0x341629(0x25c)](RevisionViewer);this[_0x341629(0x22a)]=!!(_0x6f747a&&_0x1c2b21&&_0x44f384)&&(!_0x3bbe8c||(0x1===this[_0x341629(0x1cb)]?_0xd967db<_0x44f384-0x1:_0xd967db>0x0));}}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { UIModel, type DropdownView } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import '../../../theme/revision/revisionactions.css';
|
|
7
7
|
import { type RevisionView } from './revisionview.js';
|
|
8
8
|
import type { RevisionAction } from '../revisionssidebar/revisionssidebar.js';
|
|
9
9
|
export declare function createActionsDropdownView(revisionView: RevisionView, revisionActions: Array<RevisionAction>): DropdownView;
|
|
10
10
|
export interface RevisionDropdownOptions {
|
|
11
11
|
type: 'button';
|
|
12
|
-
model:
|
|
12
|
+
model: UIModel;
|
|
13
13
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x237ea7,_0x5a4222){const _0x275133=_0x7c83,_0x55514b=_0x237ea7();while(!![]){try{const _0x2b5a88=-parseInt(_0x275133(0xac))/0x1+-parseInt(_0x275133(0xb5))/0x2*(parseInt(_0x275133(0xa3))/0x3)+parseInt(_0x275133(0xd1))/0x4+-parseInt(_0x275133(0xc4))/0x5*(parseInt(_0x275133(0xa9))/0x6)+-parseInt(_0x275133(0xad))/0x7+parseInt(_0x275133(0xc7))/0x8+-parseInt(_0x275133(0xc9))/0x9*(-parseInt(_0x275133(0xce))/0xa);if(_0x2b5a88===_0x5a4222)break;else _0x55514b['push'](_0x55514b['shift']());}catch(_0x3c83fa){_0x55514b['push'](_0x55514b['shift']());}}}(_0x514d,0x85e72));import{Collection as _0x33ba32}from'ckeditor5/src/utils.js';function _0x514d(){const _0x291028=['1028520KJNzGS','bind','ck-revision-history-sidebar__revision__actions','366cwmpTU','add','function','name','bindTemplate','change:isActionsDropdownOpen','114ZyGQaH','listenTo','find','197304kGVjnt','2888382LRycQE','locale','panelPosition','Restore\x20this\x20revision','extendTemplate','items','menu','stopPropagation','13046vRKcOn','isReady','map','listView','Show\x20more\x20items','ck-on','Name\x20this\x20revision','execute','Compare\x20against\x20selected','children','source','isEnabled','class','_action','buttonView','130505ToomjB','isActionsDropdownOpen','button','3974152XdjFyT','isOpen','693909VwNkgy','model','menuitem','isVisible','first','220wOBKLm','set','action'];_0x514d=function(){return _0x291028;};return _0x514d();}import{IconThreeVerticalDots as _0x59a236}from'ckeditor5/src/icons.js';import{UIModel as _0x10aadb,addListToDropdown as _0x4e449a,createDropdown as _0x391961}from'ckeditor5/src/ui.js';import{getTranslation as _0x4fd27d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x7c83(_0x34ef85,_0x2a17d2){const _0x514df4=_0x514d();return _0x7c83=function(_0x7c83fd,_0xd27c56){_0x7c83fd=_0x7c83fd-0xa3;let _0x1d360c=_0x514df4[_0x7c83fd];return _0x1d360c;},_0x7c83(_0x34ef85,_0x2a17d2);}export function createActionsDropdownView(_0x4d4255,_0x1828b2){const _0x89da90=_0x7c83,_0x5dffce=_0x4d4255[_0x89da90(0xa7)],_0x1161f1=_0x4d4255[_0x89da90(0xae)],_0x276df1=_0x391961(_0x1161f1);_0x276df1[_0x89da90(0xaf)]='sw';const _0x12190f=function(_0x39f524,_0x46994e){const _0xe2e21c=_0x89da90,_0xfe6a38=function(_0x5cb0f2,_0x4616dd){const _0x547c85=_0x7c83,_0x590742=_0x5cb0f2[_0x547c85(0xae)],_0x1c75a1={'Compare\x20against\x20selected':_0x4fd27d(_0x590742,_0x547c85(0xbd)),'Name\x20this\x20revision':_0x4fd27d(_0x590742,_0x547c85(0xbb)),'Restore\x20this\x20revision':_0x4fd27d(_0x590742,_0x547c85(0xb0))};return _0x4616dd[_0x547c85(0xb7)](_0x40e4d5=>{const _0x4150a9=_0x547c85,_0x1dcde9=_0x1c75a1[_0x40e4d5[_0x4150a9(0xa6)]];return _0x1dcde9&&_0x1dcde9!==_0x40e4d5[_0x4150a9(0xa6)]&&(_0x40e4d5[_0x4150a9(0xa6)]=_0x1dcde9),_0x40e4d5;});}(_0x39f524,_0x46994e),_0x7b03c4=new _0x33ba32();for(const _0x550cc2 of _0xfe6a38){const _0x23ff28={'type':_0xe2e21c(0xc6),'model':new _0x10aadb({'label':_0x550cc2[_0xe2e21c(0xa6)],'class':_0x550cc2[_0xe2e21c(0xc1)],'withText':!0x0,'role':_0xe2e21c(0xcb),'_action':_0x550cc2[_0xe2e21c(0xd0)]})};_0x23ff28[_0xe2e21c(0xca)][_0xe2e21c(0xd2)](_0xe2e21c(0xc0))['to'](_0x39f524,_0xe2e21c(0xc5),_0x4e4628=>_0xe2e21c(0xa5)!=typeof _0x550cc2[_0xe2e21c(0xc0)]||(!_0x4e4628||_0x550cc2[_0xe2e21c(0xc0)](_0x39f524))),_0x7b03c4[_0xe2e21c(0xa4)](_0x23ff28);}return _0x7b03c4;}(_0x4d4255,_0x1828b2);return _0x4d4255[_0x89da90(0xd2)](_0x89da90(0xc5))['to'](_0x276df1,_0x89da90(0xc8)),_0x276df1[_0x89da90(0xc3)][_0x89da90(0xcf)]({'label':_0x4fd27d(_0x1161f1,_0x89da90(0xb9)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x59a236}),_0x276df1[_0x89da90(0xb1)]({'attributes':{'class':[_0x89da90(0xd3),_0x5dffce['if'](_0x89da90(0xc5),_0x89da90(0xba))]},'on':{'click':_0x5dffce['to'](_0x545141=>_0x545141[_0x89da90(0xb4)]())}}),_0x276df1['on'](_0x89da90(0xbc),_0x1579d8=>{const _0x581228=_0x89da90;_0x4d4255[_0x581228(0xb6)]&&_0x581228(0xa5)==typeof _0x1579d8[_0x581228(0xbf)][_0x581228(0xc2)]&&_0x1579d8[_0x581228(0xbf)][_0x581228(0xc2)](_0x4d4255);}),_0x4e449a(_0x276df1,_0x12190f,{'role':_0x89da90(0xb3)}),_0x276df1[_0x89da90(0xaa)](_0x4d4255,_0x89da90(0xa8),(_0x34332a,_0x24f78e,_0x4f2e9d)=>{const _0x277037=_0x89da90;if(_0x4f2e9d)for(const _0x57900c of _0x276df1[_0x277037(0xb8)][_0x277037(0xb2)]){const _0x20433b=_0x57900c[_0x277037(0xbe)][_0x277037(0xcd)],_0x52fbbb=_0x1828b2[_0x277037(0xab)](_0x1c4361=>_0x1c4361[_0x277037(0xd0)]===_0x20433b[_0x277037(0xc2)])[_0x277037(0xcc)];_0x57900c[_0x277037(0xcc)]=void 0x0===_0x52fbbb||_0x52fbbb(_0x4d4255);}}),_0x276df1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x49ee04,_0x25d441){const _0x5c8cd5=_0x4e71,_0x437f74=_0x49ee04();while(!![]){try{const _0x313035=-parseInt(_0x5c8cd5(0xc1))/0x1*(-parseInt(_0x5c8cd5(0xcd))/0x2)+parseInt(_0x5c8cd5(0xcb))/0x3+-parseInt(_0x5c8cd5(0xcf))/0x4+parseInt(_0x5c8cd5(0xc3))/0x5+parseInt(_0x5c8cd5(0xc4))/0x6*(-parseInt(_0x5c8cd5(0xc2))/0x7)+parseInt(_0x5c8cd5(0xc0))/0x8+-parseInt(_0x5c8cd5(0xc7))/0x9*(parseInt(_0x5c8cd5(0xbe))/0xa);if(_0x313035===_0x25d441)break;else _0x437f74['push'](_0x437f74['shift']());}catch(_0xe64858){_0x437f74['push'](_0x437f74['shift']());}}}(_0x2580,0x7fb29));import{View as _0x4da94b,IconView as _0x5d45fc}from'ckeditor5/src/ui.js';import{IconUser as _0x1d1e2c}from'ckeditor5/src/icons.js';function _0x4e71(_0x40fdc7,_0x293c40){const _0x258054=_0x2580();return _0x4e71=function(_0x4e71a0,_0x207c03){_0x4e71a0=_0x4e71a0-0xbc;let _0x277a4f=_0x258054[_0x4e71a0];return _0x277a4f;},_0x4e71(_0x40fdc7,_0x293c40);}import{getTranslation as _0x544c75}from'../../utils/common-translations.js';function _0x2580(){const _0x433b40=['name','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','5605030joqnSC','setTemplate','5452656orTHWl','417763lYNGph','133qHImyT','2552590LphTAE','172554hFFwoG','span','ck-revision-history-sidebar__revision-author','9pTsVhh','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author__name','push','2813784hVEcmv','Revision\x20author','2iCmsBn','set','3671272MeUHqf'];_0x2580=function(){return _0x433b40;};return _0x2580();}import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x4da94b{constructor(_0x3bdaee,_0x2dc9df,_0x37b781){const _0x2aaf8c=_0x4e71;super(_0x3bdaee);const _0x3b989b=new _0x5d45fc();_0x3b989b[_0x2aaf8c(0xce)]({'content':_0x1d1e2c,'viewBox':_0x2aaf8c(0xc8)});const _0x45db9a=['ck',_0x2aaf8c(0xc6)];_0x37b781&&_0x45db9a[_0x2aaf8c(0xca)](_0x2aaf8c(0xbd));const _0x194d46=[{'tag':_0x2aaf8c(0xc5),'attributes':{'class':['ck',_0x2aaf8c(0xc9)],'title':_0x544c75(_0x3bdaee,_0x37b781?_0x2aaf8c(0xbc):_0x2aaf8c(0xcc))},'children':[_0x3b989b,_0x2dc9df[_0x2aaf8c(0xd0)]]}];this[_0x2aaf8c(0xbf)]({'tag':'li','attributes':{'class':_0x45db9a},'children':_0x194d46});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x171452=_0xd761;(function(_0xf67283,_0x4d4859){const _0x3f9eb2=_0xd761,_0x3fd90d=_0xf67283();while(!![]){try{const _0x30cce2=-parseInt(_0x3f9eb2(0x200))/0x1+-parseInt(_0x3f9eb2(0x1e8))/0x2+parseInt(_0x3f9eb2(0x1fc))/0x3+parseInt(_0x3f9eb2(0x1eb))/0x4*(-parseInt(_0x3f9eb2(0x1fa))/0x5)+parseInt(_0x3f9eb2(0x1e9))/0x6+-parseInt(_0x3f9eb2(0x1ed))/0x7+parseInt(_0x3f9eb2(0x1f0))/0x8*(parseInt(_0x3f9eb2(0x1fe))/0x9);if(_0x30cce2===_0x4d4859)break;else _0x3fd90d['push'](_0x3fd90d['shift']());}catch(_0x288bba){_0x3fd90d['push'](_0x3fd90d['shift']());}}}(_0x5c8c,0xe1ebf));import{LabeledFieldView as _0x1a5551}from'ckeditor5/src/ui.js';function _0x5c8c(){const _0x36a217=['element','2181968ZDwqAl','_tooltipString','6136053coWKCx','ck-tooltip_multi-line','input','19856zmPCgO','value','fieldView','set','clientWidth','span','ck-revision-history-sidebar__revision-name','placeholder','Enter\x20the\x20revision\x20name','Revision\x20name','10jYCxya','extendTemplate','2032275SLfHgQ','destroy','14598qaMGSL','scrollWidth','1401326IULtYk','bindTemplate','_resizeObserver','listenTo','_updateTooltipText','render','2705980ChIsOM','5664150nHuSSb'];_0x5c8c=function(){return _0x36a217;};return _0x5c8c();}import{ResizeObserver as _0x583432}from'ckeditor5/src/utils.js';function _0xd761(_0x248cae,_0x24ce1e){const _0x5c8c6e=_0x5c8c();return _0xd761=function(_0xd76154,_0x342a8c){_0xd76154=_0xd76154-0x1e5;let _0x5e2682=_0x5c8c6e[_0xd76154];return _0x5e2682;},_0xd761(_0x248cae,_0x24ce1e);}import{getTranslation as _0x35df21}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x1a5551{[_0x171452(0x202)]=null;constructor(_0x2e587b,_0x164f06){const _0xe76995=_0x171452;super(_0x2e587b,_0x164f06);const _0x1d70e4=this[_0xe76995(0x201)];this[_0xe76995(0x1f3)]({'label':_0x35df21(_0x2e587b,_0xe76995(0x1f9)),'_tooltipString':''}),this[_0xe76995(0x1f2)][_0xe76995(0x1f7)]=_0x35df21(_0x2e587b,_0xe76995(0x1f8)),this[_0xe76995(0x1fb)]({'tag':_0xe76995(0x1f5),'attributes':{'class':[_0xe76995(0x1f6)],'data-cke-tooltip-text':_0x1d70e4['to'](_0xe76995(0x1ec)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0xe76995(0x1ee)}});}[_0x171452(0x1e7)](){const _0xf3b140=_0x171452;super[_0xf3b140(0x1e7)](),this[_0xf3b140(0x202)]=new _0x583432(this[_0xf3b140(0x1f2)][_0xf3b140(0x1ea)],()=>this[_0xf3b140(0x1e6)]()),this[_0xf3b140(0x1e5)](this[_0xf3b140(0x1f2)],_0xf3b140(0x1ef),()=>this[_0xf3b140(0x1e6)]());}[_0x171452(0x1fd)](){const _0x11b5d3=_0x171452;super[_0x11b5d3(0x1fd)](),this[_0x11b5d3(0x202)]&&this[_0x11b5d3(0x202)][_0x11b5d3(0x1fd)]();}[_0x171452(0x1e6)](){const _0x2c44ff=_0x171452,_0x57d739=this[_0x2c44ff(0x1f2)][_0x2c44ff(0x1ea)];this[_0x2c44ff(0x1ec)]=_0x57d739[_0x2c44ff(0x1ff)]>_0x57d739[_0x2c44ff(0x1f4)]&&_0x57d739[_0x2c44ff(0x1f1)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5d221b=_0x3522;(function(_0x3dd492,_0x123a5e){const _0x43b9cb=_0x3522,_0x59175e=_0x3dd492();while(!![]){try{const _0x7e4c56=-parseInt(_0x43b9cb(0x89))/0x1*(parseInt(_0x43b9cb(0x9e))/0x2)+parseInt(_0x43b9cb(0x93))/0x3+-parseInt(_0x43b9cb(0x8a))/0x4*(parseInt(_0x43b9cb(0x8c))/0x5)+parseInt(_0x43b9cb(0x75))/0x6+-parseInt(_0x43b9cb(0xa4))/0x7+parseInt(_0x43b9cb(0xac))/0x8+parseInt(_0x43b9cb(0x98))/0x9*(parseInt(_0x43b9cb(0xaa))/0xa);if(_0x7e4c56===_0x123a5e)break;else _0x59175e['push'](_0x59175e['shift']());}catch(_0x30b53e){_0x59175e['push'](_0x59175e['shift']());}}}(_0x44d9,0x4b300));import{View as _0x171378,createLabeledInputText as _0x242859}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x52b033}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0xfc2dd4}from'./revisionnameview.js';import{RevisionAuthorView as _0x4191de}from'./revisionauthorview.js';function _0x3522(_0x4a604f,_0x7bd53a){const _0x44d991=_0x44d9();return _0x3522=function(_0x3522e1,_0x1b3d66){_0x3522e1=_0x3522e1-0x71;let _0x1d592f=_0x44d991[_0x3522e1];return _0x1d592f;},_0x3522(_0x4a604f,_0x7bd53a);}function _0x44d9(){const _0x5a9a05=['134424xlUDsK','filter','srcElement','map','highlight','extendTemplate','52540PDJXyb','deselect','from','listenTo','bindTemplate','ck-revision-history-sidebar__actions_dropdown_open','3451224Bctzxp','element','isSelected','ck-revision-history-sidebar__revision__controls-wrapper','span','fire','310wqnIOy','setTemplate','3297568JrSUVE','isConfirm','render','_requireRevisionName','isActionsDropdownOpen','ck-revision-history-sidebar__revision','change','ck-revision-history-sidebar__revision-authors','uiLanguage','name','1381428BPffeI','fieldView','createdAt','ck-reset','select','creator','div','ck-revision-history-sidebar__revision_selected','closest','length','ck-revision-history-sidebar__revision__date','set','220','setName','revisionNameView','ck-revision-history-sidebar__revision-wrapper','revisionActionsView','ck-disabled','authors','isReady','2gRulZE','108kwTCZK','_createdAtFormatted','76795MmTpMk','unhighlight','bind','_revision','.ck-thread__remove-confirm','isHighlighted','isEnabled','488349RImrZF','value','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','unshift','ck-revision-history-sidebar__revision_highlighted'];_0x44d9=function(){return _0x5a9a05;};return _0x44d9();}import{dateToPrettyFormat as _0x3c86a8}from'./utils.js';import{createActionsDropdownView as _0x465d6b}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52b033(_0x171378){['id'];[_0x5d221b(0x83)];[_0x5d221b(0x85)];[_0x5d221b(0x8f)];[_0x5d221b(0xaf)];constructor(_0x33eecc,_0x1e14de,_0x217f64,_0x47687c){const _0x12e069=_0x5d221b;super(_0x33eecc);const _0x1ab32f=this[_0x12e069(0xa2)],_0x5db190=function(_0x2d9024,_0xd89c01){const _0x39cc0f=_0x12e069,_0x2a4ffa=Array[_0x39cc0f(0xa0)](_0xd89c01[_0x39cc0f(0x87)])[_0x39cc0f(0x99)](_0x204f49=>_0x204f49!=_0xd89c01[_0x39cc0f(0x7a)]);return _0xd89c01[_0x39cc0f(0x7a)]&&_0x2a4ffa[_0x39cc0f(0x96)](_0xd89c01[_0x39cc0f(0x7a)]),_0x2a4ffa[_0x39cc0f(0x9b)](_0x4e2f90=>new _0x4191de(_0x2d9024,_0x4e2f90,_0x4e2f90==_0xd89c01[_0x39cc0f(0x7a)]));}(_0x33eecc,_0x1e14de);this['id']=_0x1e14de['id'],this[_0x12e069(0x8f)]=_0x1e14de,this[_0x12e069(0xaf)]=_0x47687c,this[_0x12e069(0x8e)](_0x12e069(0x74),_0x12e069(0x77))['to'](_0x1e14de),this[_0x12e069(0x8e)](_0x12e069(0x8b))['to'](this,_0x12e069(0x77),_0x5d0e16=>_0x3c86a8(_0x33eecc[_0x12e069(0x73)],_0x5d0e16)),this[_0x12e069(0x80)](_0x12e069(0xa6),!0x1),this[_0x12e069(0x80)](_0x12e069(0x91),!0x1),this[_0x12e069(0x80)](_0x12e069(0xb0),!0x1),this[_0x12e069(0x80)](_0x12e069(0x88),!0x1),this[_0x12e069(0x80)](_0x12e069(0x92),!0x1),this[_0x12e069(0x83)]=new _0xfc2dd4(_0x33eecc,_0x242859),this[_0x12e069(0x83)][_0x12e069(0x76)][_0x12e069(0x9d)]({'attributes':{'maxlength':_0x12e069(0x81)}}),this[_0x12e069(0x83)][_0x12e069(0x76)][_0x12e069(0x8e)](_0x12e069(0x94))['to'](this,_0x12e069(0x74),_0x3f0032=>_0x3f0032||this[_0x12e069(0x8b)]),this[_0x12e069(0x83)][_0x12e069(0x8e)](_0x12e069(0x92))['to'](this,_0x12e069(0xa6),this,_0x12e069(0x92),(_0x46c3b2,_0x4f2064)=>_0x46c3b2&&_0x4f2064),this[_0x12e069(0x85)]=_0x217f64&&_0x217f64[_0x12e069(0x7e)]?_0x465d6b(this,_0x217f64):'',this[_0x12e069(0x85)]&&this[_0x12e069(0x85)][_0x12e069(0x8e)](_0x12e069(0x92))['to'](this),this[_0x12e069(0xab)]({'tag':_0x12e069(0x7b),'attributes':{'class':['ck',_0x12e069(0x78),_0x12e069(0x84),_0x1ab32f['if'](_0x12e069(0xad),_0x12e069(0x95))]},'children':[{'tag':_0x12e069(0x7b),'attributes':{'class':['ck',_0x12e069(0x78),_0x12e069(0xb1),_0x1ab32f['if'](_0x12e069(0x92),_0x12e069(0x86),_0x527e5b=>!_0x527e5b),_0x1ab32f['if'](_0x12e069(0xa6),_0x12e069(0x7c)),_0x1ab32f['if'](_0x12e069(0x91),_0x12e069(0x97)),_0x1ab32f['if'](_0x12e069(0xb0),_0x12e069(0xa3))]},'children':[this[_0x12e069(0x83)],{'tag':_0x12e069(0xa8),'attributes':{'class':['ck',_0x12e069(0x7f)]},'children':[{'text':_0x1ab32f['to'](_0x12e069(0x8b))}]},{'tag':_0x12e069(0x7b),'attributes':{'class':['ck',_0x12e069(0xa7)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x12e069(0x72)]},'children':_0x5db190}]},this[_0x12e069(0x85)]],'on':{'click':_0x1ab32f['to'](_0xb4b0f0=>{const _0x4f8478=_0x12e069;_0xb4b0f0[_0x4f8478(0x9a)][_0x4f8478(0x7d)](_0x4f8478(0x90))||this[_0x4f8478(0x88)]&&this[_0x4f8478(0x92)]&&this[_0x4f8478(0xa9)](_0x4f8478(0x79),{'id':this['id']});})}}]});}[_0x5d221b(0xae)](){const _0x2c0afa=_0x5d221b;super[_0x2c0afa(0xae)]();const _0x5881f2=this[_0x2c0afa(0x83)][_0x2c0afa(0x76)][_0x2c0afa(0xa5)];this[_0x2c0afa(0xa1)](_0x5881f2,_0x2c0afa(0x71),()=>{const _0x144283=_0x2c0afa;this[_0x144283(0xaf)]&&!_0x5881f2[_0x144283(0x94)]||this[_0x144283(0xa9)](_0x144283(0x82),{'id':this['id'],'name':_0x5881f2[_0x144283(0x94)]}),_0x5881f2[_0x144283(0x94)]||(_0x5881f2[_0x144283(0x94)]=this[_0x144283(0x74)]?this[_0x144283(0x74)]:this[_0x144283(0x8b)]);});}[_0x5d221b(0x79)](){const _0x2f9117=_0x5d221b;this[_0x2f9117(0xa6)]=!0x0;}[_0x5d221b(0x9f)](){const _0x59968e=_0x5d221b;this[_0x59968e(0xa6)]=!0x1;}[_0x5d221b(0x9c)](){const _0x26ac62=_0x5d221b;this[_0x26ac62(0x91)]=!0x0;}[_0x5d221b(0x8d)](){const _0x532805=_0x5d221b;this[_0x532805(0x91)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40ec57=_0x54e0;(function(_0x45f3e6,_0x370b1f){const _0x13ca7c=_0x54e0,_0x5f6110=_0x45f3e6();while(!![]){try{const _0x2b2052=parseInt(_0x13ca7c(0x180))/0x1*(parseInt(_0x13ca7c(0x17f))/0x2)+parseInt(_0x13ca7c(0x187))/0x3*(-parseInt(_0x13ca7c(0x17a))/0x4)+-parseInt(_0x13ca7c(0x183))/0x5+parseInt(_0x13ca7c(0x175))/0x6+parseInt(_0x13ca7c(0x189))/0x7*(-parseInt(_0x13ca7c(0x18a))/0x8)+parseInt(_0x13ca7c(0x17c))/0x9*(-parseInt(_0x13ca7c(0x174))/0xa)+parseInt(_0x13ca7c(0x181))/0xb;if(_0x2b2052===_0x370b1f)break;else _0x5f6110['push'](_0x5f6110['shift']());}catch(_0x2ca73c){_0x5f6110['push'](_0x5f6110['shift']());}}}(_0x3a3a,0x8ca60));import{View as _0x43e607}from'ckeditor5/src/ui.js';function _0x54e0(_0x5ed853,_0x493d5e){const _0x3a3ab6=_0x3a3a();return _0x54e0=function(_0x54e0e2,_0x27a695){_0x54e0e2=_0x54e0e2-0x171;let _0x4b401a=_0x3a3ab6[_0x54e0e2];return _0x4b401a;},_0x54e0(_0x5ed853,_0x493d5e);}import'../../../theme/revision/subrevisioncollapser.css';export class SubrevisionCollapserView extends _0x43e607{constructor(_0x5b5922){const _0x3f6c53=_0x54e0;super(_0x5b5922);const _0x3fd9ed=this[_0x3f6c53(0x179)];this[_0x3f6c53(0x178)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x3f6c53(0x17e)]({'tag':_0x3f6c53(0x188),'attributes':{'class':['ck',_0x3f6c53(0x182),_0x3fd9ed['if'](_0x3f6c53(0x176),_0x3f6c53(0x177),_0x1aa2f7=>!_0x1aa2f7),_0x3fd9ed['if'](_0x3f6c53(0x173),_0x3f6c53(0x17d))],'role':_0x3f6c53(0x186),'aria-pressed':_0x3fd9ed['to'](_0x3f6c53(0x173),_0x546a27=>_0x546a27?_0x3f6c53(0x172):_0x3f6c53(0x184))},'children':[{'tag':_0x3f6c53(0x188),'attributes':{'class':['ck',_0x3f6c53(0x171)]}}],'on':{'click':_0x3fd9ed['to'](_0x3f6c53(0x17b))}});}[_0x40ec57(0x185)](){const _0x49f378=_0x40ec57;this[_0x49f378(0x173)]=!this[_0x49f378(0x173)];}}function _0x3a3a(){const _0x3819de=['17773VZQdud','2168wJjXvw','ck-revision-history-sidebar__subrevision-collapser__inner','false','_isCollapsed','6310KXJGUa','5547126UzBjXe','isVisible','ck-hidden','set','bindTemplate','4DMruGA','click','2133WGpndY','ck-revision-history-sidebar__subrevision-collapser_collapsed','setTemplate','4mJCsfM','6671uCGSxj','14916627jGxUlk','ck-revision-history-sidebar__subrevision-collapser','1942880daYuNQ','true','toggle','button','1474896rsXBqh','span'];_0x3a3a=function(){return _0x3819de;};return _0x3a3a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x17f5a4=_0x2976;(function(_0x1bea30,_0x5e9935){const _0xba5a0c=_0x2976,_0x55a3bb=_0x1bea30();while(!![]){try{const _0x46de22=-parseInt(_0xba5a0c(0x11c))/0x1*(-parseInt(_0xba5a0c(0x134))/0x2)+-parseInt(_0xba5a0c(0x11b))/0x3*(-parseInt(_0xba5a0c(0x11d))/0x4)+-parseInt(_0xba5a0c(0x120))/0x5+parseInt(_0xba5a0c(0x131))/0x6*(-parseInt(_0xba5a0c(0x11a))/0x7)+-parseInt(_0xba5a0c(0x133))/0x8+-parseInt(_0xba5a0c(0x125))/0x9*(parseInt(_0xba5a0c(0x11e))/0xa)+parseInt(_0xba5a0c(0x124))/0xb;if(_0x46de22===_0x5e9935)break;else _0x55a3bb['push'](_0x55a3bb['shift']());}catch(_0x142c65){_0x55a3bb['push'](_0x55a3bb['shift']());}}}(_0x5aa1,0x8045c));import{View as _0x18994a}from'ckeditor5/src/ui.js';function _0x2976(_0x528a5c,_0x4c7aa6){const _0x5aa17d=_0x5aa1();return _0x2976=function(_0x297663,_0x38ed42){_0x297663=_0x297663-0x118;let _0x28aeb1=_0x5aa17d[_0x297663];return _0x28aeb1;},_0x2976(_0x528a5c,_0x4c7aa6);}import{RevisionAuthorView as _0x1b70b2}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x51cac3}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x18994a{['id'];[_0x17f5a4(0x137)];constructor(_0x25413b,_0xbbd62b,_0x31a4d4){const _0x1e6688=_0x17f5a4;super(_0x25413b);const _0x4ff069=this[_0x1e6688(0x118)];this['id']=_0xbbd62b['id'],this[_0x1e6688(0x12c)](_0x1e6688(0x11f))['to'](_0xbbd62b),this[_0x1e6688(0x12f)](_0x1e6688(0x126),!0x1),this[_0x1e6688(0x12c)](_0x1e6688(0x122))['to'](this,_0x1e6688(0x11f),_0x53ec15=>_0x53ec15?_0x51cac3(_0x25413b[_0x1e6688(0x119)],_0x53ec15):void 0x0),this[_0x1e6688(0x137)]=_0x31a4d4,this[_0x1e6688(0x130)]({'tag':_0x1e6688(0x135),'attributes':{'class':['ck',_0x1e6688(0x12d),_0x1e6688(0x121),_0x1e6688(0x132),_0x4ff069['if'](_0x1e6688(0x126),_0x1e6688(0x136))]},'children':[{'tag':_0x1e6688(0x129),'attributes':{'class':['ck',_0x1e6688(0x12a)]},'children':[{'text':_0x4ff069['to'](_0x1e6688(0x122))}]},{'tag':'ul','attributes':{'class':['ck',_0x1e6688(0x12b)]},'children':[new _0x1b70b2(_0x25413b,_0xbbd62b[_0x1e6688(0x128)],!0x0)]}],'on':{'click':_0x4ff069['to'](this[_0x1e6688(0x12e)][_0x1e6688(0x12c)](this))}});}[_0x17f5a4(0x12e)](){const _0xf273f4=_0x17f5a4;this[_0xf273f4(0x126)]=!0x0,this[_0xf273f4(0x127)](_0xf273f4(0x12e),{'parentId':this[_0xf273f4(0x137)]});}[_0x17f5a4(0x123)](){const _0x416a03=_0x17f5a4;this[_0x416a03(0x126)]=!0x1;}}function _0x5aa1(){const _0x2b59ef=['ck-revision-history-sidebar__revision_selected','_parentRevisionId','bindTemplate','uiLanguage','1407TwPNiY','1679523LesgOi','4079xEMEne','4HOREHc','10pSxuPE','createdAt','854765PMxJxc','ck-revision-history-sidebar__revision','_createdAtFormatted','deselect','10108142wRyWwN','2595438xudLLS','isSelected','fire','creator','span','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision-authors','bind','ck-reset','select','set','setTemplate','15306dZrIgX','ck-revision-history-sidebar__subrevision','3733392NanFkE','238mrFJHe','div'];_0x5aa1=function(){return _0x2b59ef;};return _0x5aa1();}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x42354e,_0x59d4e1){var _0x13b608=_0x25c5,_0x271f0f=_0x42354e();while(!![]){try{var _0x3a215b=parseInt(_0x13b608(0x12f))/0x1*(-parseInt(_0x13b608(0x127))/0x2)+parseInt(_0x13b608(0x121))/0x3*(parseInt(_0x13b608(0x12d))/0x4)+parseInt(_0x13b608(0x126))/0x5+-parseInt(_0x13b608(0x128))/0x6*(-parseInt(_0x13b608(0x125))/0x7)+-parseInt(_0x13b608(0x123))/0x8*(-parseInt(_0x13b608(0x12b))/0x9)+-parseInt(_0x13b608(0x129))/0xa+parseInt(_0x13b608(0x12a))/0xb;if(_0x3a215b===_0x59d4e1)break;else _0x271f0f['push'](_0x271f0f['shift']());}catch(_0x3b5be2){_0x271f0f['push'](_0x271f0f['shift']());}}}(_0x2fdd,0x2ff37));export function dateToPrettyFormat(_0x94799c,_0x26edbc){var _0x93fb2d=_0x25c5;return _0x26edbc[_0x93fb2d(0x12e)](_0x94799c,{'month':_0x93fb2d(0x12c),'day':_0x93fb2d(0x122)})+',\x20'+_0x26edbc[_0x93fb2d(0x124)](_0x94799c,{'hour':_0x93fb2d(0x122),'minute':_0x93fb2d(0x122)});}function _0x25c5(_0x230117,_0x1c5c44){var _0x2fdd35=_0x2fdd();return _0x25c5=function(_0x25c590,_0x225d6c){_0x25c590=_0x25c590-0x121;var _0x4726a0=_0x2fdd35[_0x25c590];return _0x4726a0;},_0x25c5(_0x230117,_0x1c5c44);}function _0x2fdd(){var _0x248caf=['3dcOcxr','numeric','18064jwuwad','toLocaleTimeString','308LRyfSY','693130ClCIqJ','8282aDwVKE','17856VqelwU','3132980SBOeLR','1383525EXynIB','846BCXUMp','long','817604uzTGyk','toLocaleDateString','73oIyXOw'];_0x2fdd=function(){return _0x248caf;};return _0x2fdd();}
|