@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250709.0 → 0.0.0-nightly-20250711.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.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +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
|
-
const _0xc23ae8=_0x6c4e;(function(_0x228fa6,_0x1fd9ee){const _0x4d2ada=_0x6c4e,_0x51b8e0=_0x228fa6();while(!![]){try{const _0x2bf45c=parseInt(_0x4d2ada(0x136))/0x1*(-parseInt(_0x4d2ada(0x1c1))/0x2)+parseInt(_0x4d2ada(0x218))/0x3*(parseInt(_0x4d2ada(0x1ea))/0x4)+-parseInt(_0x4d2ada(0x173))/0x5+-parseInt(_0x4d2ada(0x114))/0x6*(-parseInt(_0x4d2ada(0x1bb))/0x7)+parseInt(_0x4d2ada(0x226))/0x8*(-parseInt(_0x4d2ada(0x16c))/0x9)+parseInt(_0x4d2ada(0x107))/0xa*(parseInt(_0x4d2ada(0x148))/0xb)+-parseInt(_0x4d2ada(0x1d5))/0xc;if(_0x2bf45c===_0x1fd9ee)break;else _0x51b8e0['push'](_0x51b8e0['shift']());}catch(_0x321cb7){_0x51b8e0['push'](_0x51b8e0['shift']());}}}(_0x1caf,0x674e1));import{Plugin as _0x522f16,Command as _0x6a6bf4}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x32395d}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x486d4f}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0xaaac67,ModelElement as _0x165c45,ModelText as _0x4f4a87}from'ckeditor5/src/engine.js';function _0x1caf(){const _0x2513e5=['keys','forEach','consume','shift','_setChanges','_sortAndFilterDiffChanges','getCustomProperty','change:activeChange','showNextChange','forward','restoreRevision','schema','getRevisionDocumentData','changeId','_getRevisionsRange','RevisionHistoryUtils','bindElementToMarker','ck-suggestion-preview-marker-','repository','hasClass','find','mousedown','activeChange','createRangeIn','item','resolve','catch','markerRange','_markMismatchedRemovedTags','refresh','document','level','map','top','ck-editor__editable__overlay','_makeModelFromTape','editor','vid_start','isInline','parent','mouseover','_balloon','numberOfChanges','config','15lnWzdt','low','_markMarkers','_findChangeIdFromDomTarget','domEvent','includes','hasAttribute','removeClass','next','startsWith','revision-viewer','pluginName','compare','showPreviousChange','3976OisHYL','markerToData','detachRoot','attribute:vid','_revisions','suggestion','ck-suggestion-marker','error','span','_getDiff','getIndex','concat','isAfter','_utils','_setDistance','string','nextPosition','_activeViewTarget','oldRevisionId','_changeView','offsetSize','isBefore','upcast','isAttached','target','revisionHistoryAttachChange','findIndex','pop','elementToAttribute','isPremiumPlugin','return','uiElement','markerName','distance','revisionHistoryLabel','addMarker:revision-suggestion:deletion','_getViewForChange','_cleanMarkers','index','removeAttribute','isRemoveSuggestion','30mQFETO','vid_end','markerNameToElements','text','userId','_fixObsoleteTags','getLaterVisibleRevision','viewItem','createRange','filter','conversion','POSITIVE_INFINITY','createRevision','30VOsPoj','isContent','diffData','createAttributeElement','-new','length','flat','previousPosition','_markSuggestions','_data','slice','unbindElementFromMarkerName','stop','ck-suggestion-marker--active','isReady','removeMarker','domConverter','getRevisionRootsAttributes','elementStart','high','toViewElement','isSuggestion','isLimit','markers','showStack','changes','locale','data-change-id','ck-suggestion-preview-marker','addHighlight','isNavigationMode','createPositionFromPath','_step','markerToHighlight','56690tMNERB','sort','backward','left','first','code','indexOf','ck-revision-history-root--active','enqueueChange','forceDisabled','execute','dataDowncast','editing','element','merge','data','destroy','push','2157683PcVxMH','newRevisionId','WidgetToolbarRepository','insertions','getRootNames','roots','addRevisionData','_refreshStartEndIndex','getRoot','softBreak','_markInsertions','range','maxOffset','removeMarker:revision-suggestion','change:isReady','isAdded','_removeMissingPairs','nextSibling','getItems','selection','getAttribute','RevisionViewer','attributesBefore','revision','values','modelRange','_joinTapes','elementEnd','revision-suggestion:','getChild','for','change:activeView','adapter','createPositionBefore','view','highest','5760kBKBTb','checkAttribute','updatePosition','requires','getAttributes','vid','_processTape','672655tsckLA','isAddSuggestion','comment','revisionHistory','init','authors','remove','createUIElement','addClass','markersEnd','loadRevisionData','deletions','ck-suggestion-marker-merge','attachChange','revision-suggestion','_getChangeFromId','ck-suggestion-marker-split','affectsData','endIndex','isAtStart','_update','toViewPosition','isRemoved','all','delete','name','isBlock','isAtEnd','_initInteractions','addMarker:revision-suggestion:insertion','plugins','ck-revision-history-root-','side','markersStart','addMarker:revision','object','observeMarkers','_appendChild','_cleanUp','getRevision','RevisionsRepository','insert','add','diff','suggestion:','wrap','revision-comment:','_makeModelFromViewString','revision:','end','type','isCollapsed','right','currentChangeNumber','mapViewToDom','done','startIndex','dataToMarker','change','split','_changeIdToChange','deletion','bind','_setConversion','downcastDispatcher','commands','addRevision','splice','isEnabled','reconvertMarker','model','then','1081115pxYCUh','isOfficialPlugin','isIncorrect','nodeAfter','_threeWayMerge','mapper','22pKuLEc','test','get','isOnRoot','rootName','getClientRects','attributes','activeView','bottom','attributesAfter','ck-revision-history-root-remove','toViewRange','_makeTape','enableReadOnlyMode','_removeUnsupportedChanges','getWalker','from','ck-revision-history-root-add','abs','addRoot','1563732TgpIty','setAttribute','isEqual','has','start','insertion','change:numberOfChanges','pairId','getDomRoot','restoreRevisionCallback','unshift','isObject','listenTo','change:isEnabled','set','ck-suggestion-marker-','element:pre','writer','removeMarker:revision','clear','editingDowncast','215172GNydlL','consumable'];_0x1caf=function(){return _0x2513e5;};return _0x1caf();}function _0x6c4e(_0x217487,_0x37961c){const _0x1caff4=_0x1caf();return _0x6c4e=function(_0x6c4ea9,_0x59ccc3){_0x6c4ea9=_0x6c4ea9-0xe7;let _0x1a3a3a=_0x1caff4[_0x6c4ea9];return _0x1a3a3a;},_0x6c4e(_0x217487,_0x37961c);}import{Users as _0x4bc261,getMarkerDomElement as _0x3b1d7c}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x367afb}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x2597b4}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x23935d}from'./revisionhistoryutils.js';import{ChangeItem as _0x43f17e}from'./changeitem.js';import{RevisionDiff as _0x3d55cc}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x50babb}from'es-toolkit/compat';export class RevisionViewer extends _0x522f16{[_0xc23ae8(0x1fe)];[_0xc23ae8(0x168)]=null;[_0xc23ae8(0xeb)];[_0xc23ae8(0xef)];[_0xc23ae8(0xf1)];[_0xc23ae8(0x1af)];[_0xc23ae8(0x215)];static get[_0xc23ae8(0x223)](){const _0x4424f2=_0xc23ae8;return _0x4424f2(0x15d);}static get[_0xc23ae8(0x1bc)](){return!0x0;}static get[_0xc23ae8(0xfb)](){return!0x0;}static get[_0xc23ae8(0x16f)](){return[_0x4bc261,_0x486d4f,_0x2597b4,_0x23935d];}constructor(_0x536609){const _0x5a5a62=_0xc23ae8;super(_0x536609),this[_0x5a5a62(0x1fe)]=this[_0x5a5a62(0x210)][_0x5a5a62(0x191)][_0x5a5a62(0x1c3)](_0x5a5a62(0x19b)),this[_0x5a5a62(0xeb)]=this[_0x5a5a62(0x210)][_0x5a5a62(0x191)][_0x5a5a62(0x1c3)](_0x5a5a62(0x1fb)),this[_0x5a5a62(0x1e3)](_0x5a5a62(0x202),null),this[_0x5a5a62(0x1e3)](_0x5a5a62(0x1c8),null),this[_0x5a5a62(0xef)]=null,this[_0x5a5a62(0x1e3)](_0x5a5a62(0x19e),null),this[_0x5a5a62(0x1e3)](_0x5a5a62(0x122),!0x1),this[_0x5a5a62(0x1e3)](_0x5a5a62(0x1b7),!0x0),this['on'](_0x5a5a62(0x1e2),(_0x21b03a,_0x3ee79e,_0x634557)=>{const _0x354e59=_0x5a5a62;this[_0x354e59(0x202)]=null,this[_0x354e59(0x1c8)]=null,this[_0x354e59(0x210)][_0x354e59(0x142)][_0x354e59(0x16a)][_0x354e59(0x1ad)](_0x59d601=>{const _0x17c732=_0x354e59;for(const _0x53efb0 of this[_0x17c732(0x210)][_0x17c732(0x142)][_0x17c732(0x16a)][_0x17c732(0x20a)][_0x17c732(0x14d)])_0x634557?_0x59d601[_0x17c732(0x21f)](_0x17c732(0x20e),_0x53efb0):_0x59d601[_0x17c732(0x17b)](_0x17c732(0x20e),_0x53efb0);});}),this[_0x5a5a62(0x1b1)](_0x5a5a62(0x132))['to'](this,_0x5a5a62(0x202),_0x50e9fc=>null!==_0x50e9fc),this[_0x5a5a62(0x1b1)](_0x5a5a62(0x1a8))['to'](this,_0x5a5a62(0x122),this,_0x5a5a62(0x19e),this,_0x5a5a62(0x202),(_0xc90658,_0xd2bbb5,_0x8562c4)=>_0xc90658&&_0x8562c4?_0xd2bbb5[_0x5a5a62(0x12d)][_0x5a5a62(0xe8)](_0x8562c4):0x0),this[_0x5a5a62(0x1b1)](_0x5a5a62(0x216))['to'](this,_0x5a5a62(0x122),this,_0x5a5a62(0x19e),(_0x5899ed,_0x46c8d1)=>_0x5899ed?_0x46c8d1[_0x5a5a62(0x12d)][_0x5a5a62(0x119)]:0x0),this[_0x5a5a62(0xf1)]=null,this[_0x5a5a62(0x1af)]=new Map(),this[_0x5a5a62(0x215)]=this[_0x5a5a62(0x210)][_0x5a5a62(0x191)][_0x5a5a62(0x1c3)](_0x486d4f);}[_0xc23ae8(0x177)](){const _0x1521d8=_0xc23ae8,_0x2af3a5=this[_0x1521d8(0x210)],_0x1dd2c4=new ShowChangeCommand(_0x2af3a5,{'direction':_0x1521d8(0x138)}),_0xcc4af0=new ShowChangeCommand(_0x2af3a5,{'direction':_0x1521d8(0x1f5)});(_0x2af3a5[_0x1521d8(0x1b4)][_0x1521d8(0x19d)](_0x1521d8(0x225),_0x1dd2c4),_0x2af3a5[_0x1521d8(0x1b4)][_0x1521d8(0x19d)](_0x1521d8(0x1f4),_0xcc4af0),_0x2af3a5[_0x1521d8(0x1b4)][_0x1521d8(0x19d)](_0x1521d8(0x1f6),new RestoreRevisionCommand(_0x2af3a5)),this['on'](_0x1521d8(0x1db),()=>{const _0x500433=_0x1521d8;_0x1dd2c4[_0x500433(0x209)](),_0xcc4af0[_0x500433(0x209)]();}),this[_0x1521d8(0x1b2)](),this[_0x1521d8(0x18f)](),_0x2af3a5[_0x1521d8(0x1ce)](_0x1521d8(0x222)),_0x2af3a5[_0x1521d8(0x191)][_0x1521d8(0x1d8)](_0x1521d8(0x14a)))&&_0x2af3a5[_0x1521d8(0x191)][_0x1521d8(0x1c3)](_0x1521d8(0x14a))[_0x1521d8(0x13f)](_0x1521d8(0x222));}async[_0xc23ae8(0x1f8)](_0x47c2ff){const _0x59d727=_0xc23ae8;return await this[_0x59d727(0xeb)][_0x59d727(0x17d)](_0x47c2ff,this[_0x59d727(0x168)]),this[_0x59d727(0xeb)][_0x59d727(0x1f8)](_0x47c2ff);}async[_0xc23ae8(0x125)](_0x30c7d6){const _0x57caa8=_0xc23ae8;return await this[_0x57caa8(0xeb)][_0x57caa8(0x17d)](_0x30c7d6,this[_0x57caa8(0x168)]),this[_0x57caa8(0xeb)][_0x57caa8(0x125)](_0x30c7d6);}async[_0xc23ae8(0x224)](_0x3add6f,_0x2b4224,_0x4cce27=!0x1){const _0x32c04f=_0xc23ae8;if(!this[_0x32c04f(0x1b7)])return;const _0x2520bb=this[_0x32c04f(0x19e)],_0xdd7d84=this[_0x32c04f(0x1fe)],_0x298dbe=_0x32c04f(0xed)==typeof _0x3add6f?_0xdd7d84[_0x32c04f(0x19a)](_0x3add6f):_0x3add6f,_0x48666b=_0x32c04f(0xed)==typeof _0x2b4224?_0xdd7d84[_0x32c04f(0x19a)](_0x2b4224):_0x2b4224,_0x4b30bb=_0x298dbe['id'],_0x256634=_0x48666b?_0x48666b['id']:null;if(!_0x4cce27&&this[_0x32c04f(0x19e)]&&this[_0x32c04f(0x19e)][_0x32c04f(0x149)]===_0x4b30bb&&this[_0x32c04f(0x19e)][_0x32c04f(0xf0)]===_0x256634)return Promise[_0x32c04f(0x205)]();this[_0x32c04f(0x122)]=!0x1,this[_0x32c04f(0x1c8)]=null,this[_0x32c04f(0x202)]=null,this[_0x32c04f(0x19e)]=new _0x3d55cc(_0x4b30bb,_0x256634);const _0x3c614c=this[_0x32c04f(0x1fa)](_0x298dbe,_0x48666b,!0x0)[_0x32c04f(0x20c)](_0x1acfc4=>this[_0x32c04f(0xeb)][_0x32c04f(0x17d)](_0x1acfc4,this[_0x32c04f(0x168)]));return _0x3c614c[_0x32c04f(0x147)](new Promise(_0x251aa8=>{setTimeout(_0x251aa8,0x14);})),Promise[_0x32c04f(0x18a)](_0x3c614c)[_0x32c04f(0x1ba)](()=>{const _0x217e80=_0x32c04f;if(!this[_0x217e80(0x1b7)])return;this[_0x217e80(0x199)]();const _0x2f9e69=this[_0x217e80(0xe7)](_0x4b30bb,_0x256634);for(const _0x44db44 of _0x2f9e69[_0x217e80(0x12d)])this[_0x217e80(0x1af)][_0x217e80(0x1e3)](_0x44db44['id'],_0x44db44);this[_0x217e80(0x210)][_0x217e80(0x1b9)][_0x217e80(0x13e)]({'isUndoable':!0x1},_0x3f4078=>{const _0x1bde0c=_0x217e80;for(const _0x379e3c of this[_0x1bde0c(0x210)][_0x1bde0c(0x1b9)][_0x1bde0c(0x20a)][_0x1bde0c(0x14c)]())_0x3f4078[_0x1bde0c(0x228)](_0x379e3c);for(const _0x7fbf70 of Object[_0x1bde0c(0x1ec)](_0x2f9e69[_0x1bde0c(0x1b9)])){const _0x280812=_0x3f4078[_0x1bde0c(0x1d4)](_0x7fbf70);for(const _0x2628b2 of Object[_0x1bde0c(0x1ec)](_0x2f9e69[_0x1bde0c(0x1c7)][_0x7fbf70]))_0x3f4078[_0x1bde0c(0x1d6)](_0x2628b2,_0x2f9e69[_0x1bde0c(0x1c7)][_0x7fbf70][_0x2628b2],_0x280812);_0x3f4078[_0x1bde0c(0x19c)](_0x2f9e69[_0x1bde0c(0x1b9)][_0x7fbf70],_0x280812,0x0);}}),this[_0x217e80(0x19e)][_0x217e80(0x1f0)](this[_0x217e80(0x1f1)](_0x2f9e69[_0x217e80(0x12d)])),this[_0x217e80(0x122)]=!0x0;})[_0x32c04f(0x206)](_0x891b2c=>{const _0x45365a=_0x32c04f;console[_0x45365a(0x22d)](_0x891b2c),this[_0x45365a(0x199)](),_0x2520bb&&(this[_0x45365a(0x19e)]=_0x2520bb),this[_0x45365a(0x122)]=!0x0;});}[_0xc23ae8(0x14e)](_0x14bccf,_0x4db598){const _0x2a53e3=_0xc23ae8,_0x548cdc=this[_0x2a53e3(0x1fe)][_0x2a53e3(0x113)](_0x14bccf);return _0x548cdc['on'](_0x2a53e3(0x187),(_0x423f9f,_0x4abb25,_0x5df5ab)=>_0x4db598(_0x4abb25,_0x5df5ab,_0x548cdc)),this[_0x2a53e3(0x1fe)][_0x2a53e3(0x1b5)](_0x548cdc),_0x548cdc;}[_0xc23ae8(0x199)](){const _0x3fc1f9=_0xc23ae8;this[_0x3fc1f9(0x202)]=null,this[_0x3fc1f9(0x103)](),this[_0x3fc1f9(0xf1)]&&this[_0x3fc1f9(0xf1)][_0x3fc1f9(0x146)](),this[_0x3fc1f9(0xf1)]=null,this[_0x3fc1f9(0x1af)][_0x3fc1f9(0x1e8)](),this[_0x3fc1f9(0x210)][_0x3fc1f9(0x1b9)][_0x3fc1f9(0x13e)]({'isUndoable':!0x1},_0x30aefd=>{const _0x171db9=_0x3fc1f9;for(const _0x5afb39 of this[_0x171db9(0x210)][_0x171db9(0x1b9)][_0x171db9(0x20a)][_0x171db9(0x14c)]())_0x30aefd[_0x171db9(0x228)](_0x5afb39);});}[_0xc23ae8(0x1f1)](_0x33b44d){const _0x193f58=_0xc23ae8,_0x1675de=[],_0x12ac54=new Map();for(const _0x56bc7a of this[_0x193f58(0x210)][_0x193f58(0x1b9)][_0x193f58(0x20a)][_0x193f58(0x14c)]()){const _0x41ac64=this[_0x193f58(0x210)][_0x193f58(0x142)][_0x193f58(0x16a)][_0x193f58(0x1dd)](_0x56bc7a);if(!_0x41ac64)continue;const _0x5644b3=_0x41ac64[_0x193f58(0x1c6)]()[_0x193f58(0x204)](0x0);_0x5644b3&&(_0x1675de[_0x193f58(0x147)](_0x56bc7a),_0x12ac54[_0x193f58(0x1e3)](_0x56bc7a,_0x5644b3));}return _0x1675de[_0x193f58(0x137)]((_0x4ee3d7,_0x411e3d)=>{const _0x95c5cf=_0x193f58,_0xc48b7d=_0x12ac54[_0x95c5cf(0x1c3)](_0x4ee3d7),_0x4e89f6=_0x12ac54[_0x95c5cf(0x1c3)](_0x411e3d);return _0xc48b7d['y']-_0x4e89f6['y']||_0xc48b7d['x']-_0x4e89f6['x'];}),(_0x33b44d=_0x33b44d[_0x193f58(0x110)](_0x28cb65=>_0x1675de[_0x193f58(0x21d)](_0x28cb65[_0x193f58(0x1c5)])))[_0x193f58(0x137)]((_0x50332f,_0x1f0673)=>_0x1675de[_0x193f58(0x13c)](_0x50332f[_0x193f58(0x1c5)])-_0x1675de[_0x193f58(0x13c)](_0x1f0673[_0x193f58(0x1c5)])),_0x33b44d;}[_0xc23ae8(0x1cd)](_0x3fa0e0){const _0x3da307=_0xc23ae8,_0x1aaac5=Array[_0x3da307(0x1d1)](_0x3fa0e0[_0x3da307(0x12b)])[_0x3da307(0x110)](([_0x56acda,_0x474976])=>_0x56acda[_0x3da307(0x221)](_0x3da307(0x1a3))&&!_0x474976[_0x3da307(0x1a6)]),_0x481622=Array[_0x3da307(0x1d1)](this[_0x3da307(0x210)][_0x3da307(0x1b9)][_0x3da307(0x203)](_0x3fa0e0)[_0x3da307(0x1d0)]({'singleCharacters':!0x0}));if(0x0!=_0x1aaac5[_0x3da307(0x119)])for(const _0x5b7cd9 of _0x481622){const [_0x3e4a4c,_0x2f4f9f]=_0x1aaac5[0x0],[,_0x34c126,_0x54dd2d]=_0x3e4a4c[_0x3da307(0x1ae)](':');if(_0x2f4f9f[_0x3da307(0x1a4)][_0x3da307(0x1d7)](_0x5b7cd9[_0x3da307(0xee)])&&_0x1aaac5[_0x3da307(0x1ef)](),(_0x5b7cd9[_0x3da307(0x11b)][_0x3da307(0x1d7)](_0x2f4f9f[_0x3da307(0x1d9)])||_0x5b7cd9[_0x3da307(0x11b)][_0x3da307(0xea)](_0x2f4f9f[_0x3da307(0x1d9)]))&&(_0x3da307(0x1da)==_0x34c126?_0x5b7cd9[_0x3da307(0x157)]={'userId':_0x54dd2d}:_0x3da307(0x1b0)==_0x34c126&&(_0x5b7cd9[_0x3da307(0x189)]={'userId':_0x54dd2d})),0x0==_0x1aaac5[_0x3da307(0x119)])break;}return _0x481622;}[_0xc23ae8(0x14f)](_0x36c35c){const _0x2df039=_0xc23ae8,_0x47a22e=new Map();for(let _0x511347=0x0;_0x511347<_0x36c35c[_0x2df039(0x119)];_0x511347++)_0x2df039(0x10a)===_0x36c35c[_0x511347][_0x2df039(0x1a5)]?(_0x36c35c[_0x511347][_0x2df039(0x204)][_0x2df039(0x1ab)]=_0x511347,_0x36c35c[_0x511347][_0x2df039(0x204)][_0x2df039(0x185)]=_0x511347):(_0x2df039(0x126)===_0x36c35c[_0x511347][_0x2df039(0x1a5)]?_0x36c35c[_0x511347][_0x2df039(0x204)][_0x2df039(0x1ab)]=_0x511347:_0x2df039(0x163)===_0x36c35c[_0x511347][_0x2df039(0x1a5)]&&(_0x36c35c[_0x511347][_0x2df039(0x204)][_0x2df039(0x185)]=_0x511347),_0x47a22e[_0x2df039(0x1e3)](_0x36c35c[_0x511347]['id'],_0x511347));for(const _0x527c02 of _0x47a22e[_0x2df039(0x160)]())_0x2df039(0x126)===_0x36c35c[_0x527c02][_0x2df039(0x1a5)]?_0x36c35c[_0x527c02][_0x2df039(0x204)][_0x2df039(0x185)]=_0x47a22e[_0x2df039(0x1c3)](_0x36c35c[_0x527c02][_0x2df039(0x1dc)]):_0x2df039(0x163)===_0x36c35c[_0x527c02][_0x2df039(0x1a5)]&&(_0x36c35c[_0x527c02][_0x2df039(0x204)][_0x2df039(0x1ab)]=_0x47a22e[_0x2df039(0x1c3)](_0x36c35c[_0x527c02][_0x2df039(0x1dc)]));}[_0xc23ae8(0x172)](_0x3512e3){const _0x402754=_0xc23ae8;for(let _0x107199=0x0;_0x107199<_0x3512e3[_0x402754(0x119)];_0x107199++){if(_0x402754(0x126)===_0x3512e3[_0x107199][_0x402754(0x1a5)])_0x3512e3[_0x107199][_0x402754(0x204)][_0x402754(0x1ab)]=_0x107199;else{if(_0x402754(0x163)===_0x3512e3[_0x107199][_0x402754(0x1a5)]){_0x3512e3[_0x107199][_0x402754(0x204)][_0x402754(0x185)]=_0x107199;const _0xb53815=_0x3512e3[_0x107199][_0x402754(0x204)][_0x402754(0x1ab)];_0x3512e3[_0xb53815][_0x402754(0x1dc)]=_0x3512e3[_0x107199]['id'],_0x3512e3[_0x107199][_0x402754(0x1dc)]=_0x3512e3[_0xb53815]['id'];}else _0x3512e3[_0x107199][_0x402754(0x204)][_0x402754(0x1ab)]=_0x107199,_0x3512e3[_0x107199][_0x402754(0x204)][_0x402754(0x185)]=_0x107199,_0x3512e3[_0x107199][_0x402754(0x1dc)]=null;}_0x3512e3[_0x107199][_0x402754(0x194)]||(_0x3512e3[_0x107199][_0x402754(0x194)]=[],_0x3512e3[_0x107199][_0x402754(0x17c)]=[]);}}[_0xc23ae8(0x152)](_0x2a3852,_0x54c566){const _0x2198fa=_0xc23ae8,_0x2f147b=_0x2a3852[_0x2198fa(0x110)](_0x1b4221=>!_0x1b4221[_0x2198fa(0x157)]);for(let _0x5c14f1=0x0;_0x5c14f1<_0x54c566[_0x2198fa(0x119)];_0x5c14f1++)_0x54c566[_0x5c14f1][_0x2198fa(0x157)]&&(_0x2f147b[_0x5c14f1][_0x2198fa(0x157)]=_0x54c566[_0x5c14f1][_0x2198fa(0x157)]);}[_0xc23ae8(0xe7)](_0x40a522,_0x38b93a=null){const _0x5e9f31=_0xc23ae8,_0x2eabf9=this[_0x5e9f31(0x1fe)][_0x5e9f31(0x19a)](_0x40a522),_0x76836e=_0x38b93a?this[_0x5e9f31(0x1fe)][_0x5e9f31(0x19a)](_0x38b93a):null,_0x2d6ded=this[_0x5e9f31(0x1fa)](_0x2eabf9,_0x76836e),_0xafaa12=_0x2d6ded[_0x2d6ded[_0x5e9f31(0x119)]-0x1],_0x399b16=new Map(),_0x34e7be={'model':{},'attributes':{},'changes':[]},_0x1629f5=new Set(),_0x444055=new Map();for(let _0x2ff71e=_0x2d6ded[_0x5e9f31(0x119)]-0x1;_0x2ff71e>=0x0;_0x2ff71e--){const _0x333743=_0x2d6ded[_0x2ff71e];for(const _0x37c26d of Object[_0x5e9f31(0x1ec)](_0x333743[_0x5e9f31(0x116)]))if(_0x333743[_0x5e9f31(0x116)][_0x37c26d][_0x5e9f31(0x180)]){const _0x52c9d7=_0x333743[_0x5e9f31(0x116)][_0x37c26d][_0x5e9f31(0x180)];_0x52c9d7[_0x5e9f31(0xf5)]?(_0x1629f5[_0x5e9f31(0x19d)](_0x37c26d),_0x444055[_0x5e9f31(0x1d8)](_0x37c26d)&&_0x444055[_0x5e9f31(0x1c3)](_0x37c26d)[_0x5e9f31(0x10b)]==_0x52c9d7[_0x5e9f31(0x10b)]?_0x444055[_0x5e9f31(0x18b)](_0x37c26d):_0x444055[_0x5e9f31(0x1e3)](_0x37c26d,_0x52c9d7)):_0x444055[_0x5e9f31(0x1d8)](_0x37c26d)?(_0x1629f5[_0x5e9f31(0x18b)](_0x37c26d),_0x444055[_0x5e9f31(0x18b)](_0x37c26d)):(_0x1629f5[_0x5e9f31(0x19d)](_0x37c26d),_0x444055[_0x5e9f31(0x1e3)](_0x37c26d,_0x52c9d7));}else _0x1629f5[_0x5e9f31(0x19d)](_0x37c26d);}for(const _0xf68966 of _0x1629f5){const _0x3c53b4=_0x444055[_0x5e9f31(0x1d8)](_0xf68966)&&!_0x444055[_0x5e9f31(0x1c3)](_0xf68966)[_0x5e9f31(0xf5)];let _0x302343=_0x3c53b4?_0x2d6ded[_0x5e9f31(0x119)]-0x1:0x0;const _0x424745=_0x3c53b4?-0x1:0x1;for(;_0x2d6ded[_0x302343];){const _0x312105=_0x2d6ded[_0x302343];if(_0x312105[_0x5e9f31(0x116)][_0xf68966]){const _0xcf8f5a=_0x3c53b4?_0x312105[_0x5e9f31(0x116)][_0xf68966][_0x5e9f31(0x15e)]:_0x312105[_0x5e9f31(0x116)][_0xf68966][_0x5e9f31(0x1ca)];_0x34e7be[_0x5e9f31(0x1c7)][_0xf68966]=_0xcf8f5a?_0x50babb(_0xcf8f5a):{};break;}_0x302343+=_0x424745;}}for(const _0x1d24fd of _0x2d6ded){_0x1d24fd[_0x5e9f31(0x1b9)]={};for(const _0x4daf71 of _0x1d24fd[_0x5e9f31(0x178)])_0x399b16[_0x5e9f31(0x1e3)](_0x4daf71['id'],_0x4daf71);for(const _0x1cdbcd of _0x1629f5){const _0x9681da=_0x1d24fd[_0x5e9f31(0x116)][_0x1cdbcd]?_0x1d24fd[_0x5e9f31(0x116)][_0x1cdbcd][_0x5e9f31(0x14b)]:'[]',_0x3a2836=_0x1d24fd[_0x5e9f31(0x116)][_0x1cdbcd]?_0x1d24fd[_0x5e9f31(0x116)][_0x1cdbcd][_0x5e9f31(0x17e)]:'[]';_0x1d24fd[_0x5e9f31(0x1b9)][_0x1cdbcd]={'insertions':this[_0x5e9f31(0xeb)][_0x5e9f31(0x1a2)](_0x9681da),'deletions':this[_0x5e9f31(0xeb)][_0x5e9f31(0x1a2)](_0x3a2836)};}}for(const _0x2305b2 of _0x1629f5){let _0x1a961a=null,_0x4a6b9d=0x0;const _0x517e3e=new Map(Array[_0x5e9f31(0x1d1)](_0x2eabf9[_0x5e9f31(0x1b9)][_0x2305b2][_0x5e9f31(0x14b)][_0x5e9f31(0x12b)])[_0x5e9f31(0x110)](([_0x2b4499])=>!_0x2b4499[_0x5e9f31(0x221)](_0x5e9f31(0x1a3))));let _0x15251f=0x0;for(const _0x2cf5b7 of _0x2d6ded){const _0x27b781=this[_0x5e9f31(0x1cd)](_0x2cf5b7[_0x5e9f31(0x1b9)][_0x2305b2][_0x5e9f31(0x14b)]);_0x2cf5b7==_0x2eabf9?(_0x1a961a=_0x27b781,_0x4a6b9d=_0x1a961a[_0x5e9f31(0x119)],_0x1a961a[_0x5e9f31(0x1ed)](_0x946505=>{_0x946505['id']=_0x15251f++;}),this[_0x5e9f31(0x172)](_0x1a961a)):this[_0x5e9f31(0x152)](_0x1a961a,_0x27b781);const _0x3be1b3=_0x1a961a[_0x5e9f31(0x110)](_0x5a6514=>!_0x5a6514[_0x5e9f31(0x157)])[_0x5e9f31(0x20c)](_0x138dce=>_0x138dce['id']);let _0x220cac=0x0;const _0x212603=this[_0x5e9f31(0x1cd)](_0x2cf5b7[_0x5e9f31(0x1b9)][_0x2305b2][_0x5e9f31(0x17e)]);_0x212603[_0x5e9f31(0x1ed)](_0x3228ab=>{const _0x126b7c=_0x5e9f31;_0x3228ab[_0x126b7c(0x189)]?_0x3228ab['id']=_0x4a6b9d++:_0x3228ab['id']=_0x3be1b3[_0x220cac++];}),this[_0x5e9f31(0x172)](_0x212603),this[_0x5e9f31(0xec)](_0x1a961a,_0x5e9f31(0x157)),this[_0x5e9f31(0xec)](_0x212603,_0x5e9f31(0x189)),_0x2cf5b7==_0x2eabf9&&this[_0x5e9f31(0x21a)](_0x1a961a,_0x517e3e),_0x1a961a=this[_0x5e9f31(0x162)](_0x1a961a,_0x212603),this[_0x5e9f31(0x14f)](_0x1a961a),this[_0x5e9f31(0xec)](_0x1a961a,_0x5e9f31(0x189));}_0x1a961a=_0x1a961a[_0x5e9f31(0x110)](_0x5235e2=>!(_0x5235e2[_0x5e9f31(0x157)]&&_0x5235e2[_0x5e9f31(0x189)]));const _0x3bf71a=new Map(_0xafaa12[_0x5e9f31(0x1b9)][_0x2305b2][_0x5e9f31(0x17e)][_0x5e9f31(0x12b)]),_0x2892e7=new Set(_0x517e3e[_0x5e9f31(0x1ec)]());for(const _0xb1b1d7 of _0x3bf71a[_0x5e9f31(0x1ec)]())_0x2892e7[_0x5e9f31(0x18b)](_0xb1b1d7);this[_0x5e9f31(0x11c)](_0x1a961a,_0x2892e7),this[_0x5e9f31(0x10c)](_0x1a961a),_0x1a961a=this[_0x5e9f31(0x158)](_0x1a961a),_0x1a961a=this[_0x5e9f31(0x208)](_0x1a961a),_0x1a961a=this[_0x5e9f31(0x1cf)](_0x1a961a);const {root:_0x5b881f,changes:_0x173d80}=this[_0x5e9f31(0x20f)](_0x1a961a,_0x399b16,_0x2305b2);_0x34e7be[_0x5e9f31(0x1b9)][_0x2305b2]=_0x5b881f;const _0x919779=_0x444055[_0x5e9f31(0x1c3)](_0x2305b2);if(_0x919779){const _0x168f74=_0x399b16[_0x5e9f31(0x1c3)](_0x919779[_0x5e9f31(0x10b)]),_0xe09a7=new _0x43f17e({'author':_0x168f74,'type':_0x919779[_0x5e9f31(0xf5)]?_0x5e9f31(0x19d):_0x5e9f31(0x179),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2305b2});_0x173d80[_0x5e9f31(0x1df)](_0xe09a7),_0x34e7be[_0x5e9f31(0x1c7)][_0x2305b2][_0x5e9f31(0xf7)]=_0xe09a7['id'];}_0x34e7be[_0x5e9f31(0x12d)]=_0x34e7be[_0x5e9f31(0x12d)][_0x5e9f31(0xe9)](_0x173d80);}return _0x34e7be;}[_0xc23ae8(0x21a)](_0x36c2b5,_0x202087){const _0x168370=_0xc23ae8;for(let _0x4fabf7=0x0;_0x4fabf7<_0x36c2b5[_0x168370(0x119)];_0x4fabf7++)for(const [_0x327967,_0x299c2b]of _0x202087)!_0x299c2b[_0x168370(0x1a6)]&&_0x299c2b[_0x168370(0x1d9)][_0x168370(0x1d7)](_0x36c2b5[_0x4fabf7][_0x168370(0x11b)])&&_0x36c2b5[_0x4fabf7][_0x168370(0x194)][_0x168370(0x147)](_0x327967),_0x299c2b[_0x168370(0x1a4)][_0x168370(0x1d7)](_0x36c2b5[_0x4fabf7][_0x168370(0xee)])&&_0x36c2b5[_0x4fabf7][_0x168370(0x17c)][_0x168370(0x147)](_0x327967);}[_0xc23ae8(0x162)](_0x4b7db3,_0x5bdc21){const _0x21465a=_0xc23ae8;let _0x194891=[],_0x21e90b=0x0,_0x2a9bd1=0x0;for(;_0x21e90b<_0x4b7db3[_0x21465a(0x119)]||_0x2a9bd1<_0x5bdc21[_0x21465a(0x119)];){const _0x2b9973=_0x4b7db3[_0x21e90b]||{},_0x141a8c=_0x5bdc21[_0x2a9bd1]||{};if(_0x2b9973['id']==_0x141a8c['id'])_0x21e90b++,_0x2a9bd1++,_0x194891[_0x21465a(0x147)](_0x2b9973);else{if(_0x141a8c[_0x21465a(0x189)]&&_0x2b9973[_0x21465a(0x157)]){const {commonTape:_0x3b5167,iEnd:_0x1c0fd8,jEnd:_0x5d7d09}=this[_0x21465a(0x1bf)](_0x4b7db3,_0x21e90b,_0x5bdc21,_0x2a9bd1);_0x194891=_0x194891[_0x21465a(0xe9)](_0x3b5167),_0x21e90b=_0x1c0fd8,_0x2a9bd1=_0x5d7d09;}else _0x141a8c[_0x21465a(0x189)]?(_0x2a9bd1++,_0x194891[_0x21465a(0x147)](_0x141a8c)):(_0x21e90b++,_0x194891[_0x21465a(0x147)](_0x2b9973));}}return _0x194891;}[_0xc23ae8(0x11c)](_0x5309e2,_0xa5002f){const _0x181528=_0xc23ae8,_0x4d372b=[];for(let _0x421c22=0x0;_0x421c22<_0x5309e2[_0x181528(0x119)];_0x421c22++){for(let _0x47a2f0=0x0;_0x47a2f0<_0x5309e2[_0x421c22][_0x181528(0x194)][_0x181528(0x119)];_0x47a2f0++){const _0x439909=_0x5309e2[_0x421c22][_0x181528(0x194)][_0x47a2f0];if(!_0xa5002f[_0x181528(0x1d8)](_0x439909))continue;const {group:_0x2e08e0,type:_0x3240d5,authorId:_0x28cb8d}=_0x188cf9(_0x439909);_0x181528(0x181)!=_0x2e08e0||_0x181528(0x1da)!=_0x3240d5&&_0x181528(0x1b0)!=_0x3240d5||(_0x4d372b[_0x181528(0x1df)]({'type':_0x3240d5,'name':_0x439909,'userId':_0x28cb8d}),_0x5309e2[_0x421c22][_0x181528(0x194)][_0x181528(0x1b6)](_0x47a2f0,0x1),_0x47a2f0--);}_0x241fb0(_0x5309e2[_0x421c22]);for(let _0x53754f=0x0;_0x53754f<_0x5309e2[_0x421c22][_0x181528(0x17c)][_0x181528(0x119)];_0x53754f++){const _0x513528=_0x5309e2[_0x421c22][_0x181528(0x17c)][_0x53754f];if(!_0xa5002f[_0x181528(0x1d8)](_0x513528))continue;const {group:_0x2357f4,type:_0x470488}=_0x188cf9(_0x513528);if(_0x181528(0x181)!=_0x2357f4||_0x181528(0x1da)!=_0x470488&&_0x181528(0x1b0)!=_0x470488)continue;_0x5309e2[_0x421c22][_0x181528(0x17c)][_0x181528(0x1b6)](_0x53754f,0x1),_0x53754f--;const _0x91084c=_0x4d372b[_0x181528(0xf8)](_0x1a4ccb=>_0x1a4ccb[_0x181528(0x18c)]==_0x513528);_0x91084c>-0x1&&_0x4d372b[_0x181528(0x1b6)](_0x91084c,0x1);}}function _0x188cf9(_0x3356a6){const _0x617460=_0x181528,_0x50d970=_0x3356a6[_0x617460(0x1ae)](':');return{'group':_0x50d970[0x0],'type':_0x50d970[0x1],'subType':_0x50d970[_0x617460(0x119)]>=0x5?_0x50d970[0x2]:null,'id':_0x50d970[_0x617460(0x119)]<0x5?_0x50d970[0x2]:_0x50d970[0x3],'authorId':_0x50d970[_0x617460(0x119)]<0x5?_0x50d970[0x3]:_0x50d970[0x4],'markerCount':0x6==_0x50d970[_0x617460(0x119)]?_0x50d970[0x5]:null};}function _0x241fb0(_0x568f2f){const _0x3e536c=_0x181528;for(let _0x454f5d=0x0;_0x454f5d<_0x4d372b[_0x3e536c(0x119)];_0x454f5d++){if(_0x568f2f[_0x3e536c(0x157)]&&_0x3e536c(0x1da)==_0x4d372b[_0x454f5d][_0x3e536c(0x1a5)]&&_0x568f2f[_0x3e536c(0x157)][_0x3e536c(0x10b)]==_0x4d372b[_0x454f5d][_0x3e536c(0x10b)])return _0x568f2f[_0x3e536c(0x174)]=_0x4d372b[_0x454f5d],void delete _0x568f2f[_0x3e536c(0x157)];if(!_0x568f2f[_0x3e536c(0x157)]&&!_0x568f2f[_0x3e536c(0x189)]&&_0x3e536c(0x1b0)==_0x4d372b[_0x454f5d][_0x3e536c(0x1a5)])return void(_0x568f2f[_0x3e536c(0x106)]=_0x4d372b[_0x454f5d]);}}}[_0xc23ae8(0xec)](_0x763802,_0x4600cc){const _0x31b28e=_0xc23ae8;let _0x5846d6=0x0,_0x5bb8d0=!0x1;const _0x2128c3=new Map();for(const _0x327a81 of _0x763802)_0x327a81[_0x4600cc]?_0x5bb8d0&&(_0x5846d6++,_0x5bb8d0=!0x1):(_0x5846d6++,_0x5bb8d0=!0x0),_0x2128c3[_0x31b28e(0x1e3)](_0x327a81['id'],_0x5846d6);for(let _0x64c0df=0x0;_0x64c0df<_0x763802[_0x31b28e(0x119)];_0x64c0df++){if(_0x31b28e(0x189)==_0x4600cc&&_0x763802[_0x64c0df][_0x31b28e(0x157)]||_0x31b28e(0x157)==_0x4600cc&&_0x763802[_0x64c0df][_0x31b28e(0x189)])continue;if(_0x31b28e(0x10a)==_0x763802[_0x64c0df][_0x31b28e(0x1a5)]){_0x763802[_0x64c0df][_0x31b28e(0xff)]=0x0;continue;}const _0xf0a965=_0x2128c3[_0x31b28e(0x1c3)](_0x763802[_0x64c0df][_0x31b28e(0x1dc)]),_0x3ee850=_0x2128c3[_0x31b28e(0x1c3)](_0x763802[_0x64c0df]['id']);_0x763802[_0x64c0df][_0x31b28e(0xff)]=_0xf0a965-_0x3ee850;}}[_0xc23ae8(0x1fa)](_0x5db710,_0xf8b3fd,_0x52436b=!0x1){const _0x11661f=_0xc23ae8,_0x1a232c=[];let _0x3e9b2d=this[_0x11661f(0x1fe)][_0x11661f(0xe8)](_0x5db710),_0x1dabe4=this[_0x11661f(0x1fe)][_0x11661f(0xe8)](_0xf8b3fd);for(-0x1==_0x1dabe4&&(_0x1dabe4=this[_0x11661f(0x1fe)][_0x11661f(0x22a)][_0x11661f(0x119)],_0x52436b=!0x1);_0x3e9b2d<_0x1dabe4;)_0x1a232c[_0x11661f(0x147)](this[_0x11661f(0x1fe)][_0x11661f(0x19a)](_0x3e9b2d)),_0x3e9b2d++;return _0x52436b&&_0x1a232c[_0x11661f(0x147)](this[_0x11661f(0x1fe)][_0x11661f(0x19a)](_0x3e9b2d)),_0x1a232c;}[_0xc23ae8(0x1bf)](_0x21929d,_0x58496e,_0xe94e5f,_0x245601){const _0x483549=_0xc23ae8,_0x2a2036=this[_0x483549(0x210)][_0x483549(0x1b9)][_0x483549(0x1f7)];let _0x91d0f1=_0x58496e;for(;_0x21929d[_0x91d0f1]&&_0x21929d[_0x91d0f1][_0x483549(0x157)];)_0x91d0f1++;let _0x7c6f22=_0x245601;for(;_0xe94e5f[_0x7c6f22]&&_0xe94e5f[_0x7c6f22][_0x483549(0x189)];)_0x7c6f22++;_0xad7308(_0x21929d,_0x58496e,_0x91d0f1),_0xad7308(_0xe94e5f,_0x245601,_0x7c6f22);const _0x4e1e8c=_0xe94e5f[_0x483549(0x11e)](_0x245601,_0x7c6f22)[_0x483549(0xe9)](_0x21929d[_0x483549(0x11e)](_0x58496e,_0x91d0f1));return _0x4e1e8c[_0x483549(0x137)]((_0x4ac7d0,_0x38580b)=>_0x4ac7d0[_0x483549(0x193)]!=_0x38580b[_0x483549(0x193)]?_0x4ac7d0[_0x483549(0x193)]-_0x38580b[_0x483549(0x193)]:_0x4ac7d0[_0x483549(0x20b)]!=_0x38580b[_0x483549(0x20b)]?_0x4ac7d0[_0x483549(0x20b)]-_0x38580b[_0x483549(0x20b)]:_0x4ac7d0[_0x483549(0xff)]!=_0x38580b[_0x483549(0xff)]?_0x38580b[_0x483549(0xff)]-_0x4ac7d0[_0x483549(0xff)]:!!_0x4ac7d0[_0x483549(0x157)]!=!!_0x38580b[_0x483549(0x157)]?-0x1==_0x4ac7d0[_0x483549(0x193)]||0x0==_0x4ac7d0[_0x483549(0x193)]?_0x4ac7d0[_0x483549(0x157)]?-0x1:0x1:_0x4ac7d0[_0x483549(0x157)]?0x1:-0x1:_0x4ac7d0[_0x483549(0x104)]-_0x38580b[_0x483549(0x104)]),{'commonTape':_0x4e1e8c,'iEnd':_0x91d0f1,'jEnd':_0x7c6f22};function _0xad7308(_0x3257cb,_0x4dbaeb,_0x3bfde2){const _0x296f68=_0x483549;let _0xb68da1=-0x1,_0x45739b=Number[_0x296f68(0x112)],_0x5f49e4=!0x0;for(let _0x280587=_0x4dbaeb;_0x280587<_0x3bfde2;_0x280587++)if(_0x2a2036[_0x296f68(0x212)](_0x3257cb[_0x280587][_0x296f68(0x204)])||(_0x5f49e4=!0x1),_0x3257cb[_0x280587][_0x296f68(0x204)][_0x296f68(0x1ab)]<_0x4dbaeb&&(_0xb68da1=_0x280587),_0x3257cb[_0x280587][_0x296f68(0x204)][_0x296f68(0x185)]>=_0x3bfde2){_0x45739b=_0x280587;break;}_0x5f49e4&&(_0xb68da1=_0x3bfde2-0x1);for(let _0x3719ad=_0x4dbaeb;_0x3719ad<_0x3bfde2;_0x3719ad++)_0x3257cb[_0x3719ad][_0x296f68(0x193)]=_0x3719ad<=_0xb68da1?-0x1:_0x3719ad<_0x45739b?0x0:0x1,_0x3257cb[_0x3719ad][_0x296f68(0x104)]=_0x3719ad;let _0x4dc395=0x0;for(let _0xd1194f=_0x4dbaeb;_0xd1194f<=_0xb68da1;_0xd1194f++)0x0==_0x3257cb[_0xd1194f][_0x296f68(0xff)]?_0x3257cb[_0xd1194f][_0x296f68(0x20b)]=_0x4dc395:(_0x4dc395++,_0x3257cb[_0xd1194f][_0x296f68(0x20b)]=_0x4dc395,_0x4dc395++);for(let _0x571508=_0x4dbaeb;_0x571508<_0x3bfde2;_0x571508++)0x0==_0x3257cb[_0x571508][_0x296f68(0x193)]&&(_0x3257cb[_0x571508][_0x296f68(0x20b)]=_0x4dc395);_0x4dc395=0x0;for(let _0xd12e7f=_0x3bfde2-0x1;_0xd12e7f>=_0x45739b;_0xd12e7f--)0x0==_0x3257cb[_0xd12e7f][_0x296f68(0xff)]?_0x3257cb[_0xd12e7f][_0x296f68(0x20b)]=_0x4dc395:(_0x4dc395--,_0x3257cb[_0xd12e7f][_0x296f68(0x20b)]=_0x4dc395,_0x4dc395--);}}[_0xc23ae8(0x10c)](_0x51f001){const _0x1f3f7a=_0xc23ae8,_0x9f774e=new Map(),_0x40ab85=this[_0x1f3f7a(0x210)][_0x1f3f7a(0x1b9)][_0x1f3f7a(0x1f7)];for(let _0x4d3fd7=0x1;_0x4d3fd7<_0x51f001[_0x1f3f7a(0x119)];_0x4d3fd7++){let _0x13f43b,_0x3bf8a4,_0x4829d6;const _0x1cf5d8=_0x51f001[_0x4d3fd7],_0xd13a99=_0x51f001[_0x4d3fd7-0x1];if(_0x1f3f7a(0x10a)==_0x1cf5d8[_0x1f3f7a(0x1a5)])continue;if(_0x1cf5d8[_0x1f3f7a(0x1a5)]!=_0xd13a99[_0x1f3f7a(0x1a5)])continue;if(!_0x40ab85[_0x1f3f7a(0x18d)](_0xd13a99[_0x1f3f7a(0x204)])||_0x40ab85[_0x1f3f7a(0x12a)](_0xd13a99[_0x1f3f7a(0x204)]))continue;if(!_0x40ab85[_0x1f3f7a(0x18d)](_0x1cf5d8[_0x1f3f7a(0x204)])||_0x40ab85[_0x1f3f7a(0x12a)](_0x1cf5d8[_0x1f3f7a(0x204)]))continue;if((_0x51f001[_0x4d3fd7][_0x1f3f7a(0x157)]||_0x51f001[_0x4d3fd7][_0x1f3f7a(0x174)])&&_0x51f001[_0x4d3fd7-0x1][_0x1f3f7a(0x189)])_0x13f43b=_0x51f001[_0x4d3fd7],_0x3bf8a4=_0x51f001[_0x4d3fd7-0x1],_0x4829d6=_0x4d3fd7-0x1;else{if(!_0x51f001[_0x4d3fd7][_0x1f3f7a(0x189)]||!_0x51f001[_0x4d3fd7-0x1][_0x1f3f7a(0x157)]&&!_0x51f001[_0x4d3fd7-0x1][_0x1f3f7a(0x174)])continue;_0x13f43b=_0x51f001[_0x4d3fd7-0x1],_0x3bf8a4=_0x51f001[_0x4d3fd7],_0x4829d6=_0x4d3fd7;}const _0x4d2f6e=_0x13f43b[_0x1f3f7a(0x20b)]==_0x3bf8a4[_0x1f3f7a(0x20b)],_0x3e9dba=Math[_0x1f3f7a(0x1d3)](_0x13f43b[_0x1f3f7a(0x20b)])<Math[_0x1f3f7a(0x1d3)](_0x3bf8a4[_0x1f3f7a(0x20b)])&&0x0==_0x3bf8a4[_0x1f3f7a(0xff)];(_0x4d2f6e||_0x3e9dba)&&(_0x9f774e[_0x1f3f7a(0x1e3)](_0x3bf8a4['id'],_0x13f43b['id']),_0x51f001[_0x1f3f7a(0x1b6)](_0x4829d6,0x1),_0x4d3fd7--,_0x13f43b[_0x1f3f7a(0x157)]=!0x1);}for(let _0x1fc3ea=0x0;_0x1fc3ea<_0x51f001[_0x1f3f7a(0x119)];_0x1fc3ea++)_0x9f774e[_0x1f3f7a(0x1d8)](_0x51f001[_0x1fc3ea][_0x1f3f7a(0x1dc)])&&(_0x51f001[_0x1fc3ea][_0x1f3f7a(0x1dc)]=_0x9f774e[_0x1f3f7a(0x1c3)](_0x51f001[_0x1fc3ea][_0x1f3f7a(0x1dc)]));}[_0xc23ae8(0x158)](_0x3d6fcc){const _0x5544e8=_0xc23ae8,_0x3e1d33=new Set(_0x3d6fcc[_0x5544e8(0x20c)](_0x51d2cd=>_0x51d2cd['id']));for(let _0x4973b4=0x0;_0x4973b4<_0x3d6fcc[_0x5544e8(0x119)];_0x4973b4++)_0x3e1d33[_0x5544e8(0x1d8)](_0x3d6fcc[_0x4973b4][_0x5544e8(0x1dc)])||0x0==_0x3d6fcc[_0x4973b4][_0x5544e8(0xff)]||(_0x3d6fcc[_0x4973b4][_0x5544e8(0x1bd)]=!0x0);return _0x3d6fcc[_0x5544e8(0x110)](_0x59d1c3=>!_0x59d1c3[_0x5544e8(0x1bd)]);}[_0xc23ae8(0x208)](_0x24ed94){const _0x233dfe=_0xc23ae8,_0x1cf2af=new Set();for(let _0xd640e7=0x0;_0xd640e7<_0x24ed94[_0x233dfe(0x119)];_0xd640e7++){if(_0x1cf2af[_0x233dfe(0x1d8)](_0x24ed94[_0xd640e7]['id'])&&_0x24ed94[_0xd640e7][_0x233dfe(0x189)]&&(_0x24ed94[_0xd640e7][_0x233dfe(0x1bd)]=!0x0),_0x24ed94[_0xd640e7][_0x233dfe(0x1bd)])continue;if(0x0==_0x24ed94[_0xd640e7][_0x233dfe(0xff)])continue;if(_0x233dfe(0x126)!=_0x24ed94[_0xd640e7][_0x233dfe(0x1a5)])continue;if(null==_0x24ed94[_0xd640e7][_0x233dfe(0x1dc)])continue;let _0x428842=_0xd640e7+0x1,_0x53161f=0x0;for(;_0x24ed94[_0x428842]['id']!=_0x24ed94[_0xd640e7][_0x233dfe(0x1dc)];)_0x233dfe(0x126)==_0x24ed94[_0x428842][_0x233dfe(0x1a5)]?_0x53161f++:_0x233dfe(0x163)==_0x24ed94[_0x428842][_0x233dfe(0x1a5)]&&_0x53161f--,_0x428842++;if(0x0!=_0x53161f){if(_0x24ed94[_0xd640e7][_0x233dfe(0x189)])_0x24ed94[_0xd640e7][_0x233dfe(0x1bd)]=!0x0;else{for(;_0x428842!=_0xd640e7;)_0x24ed94[_0x428842][_0x233dfe(0x189)]&&0x0!=_0x24ed94[_0x428842][_0x233dfe(0xff)]&&(_0x24ed94[_0x428842][_0x233dfe(0x1bd)]=!0x0,_0x1cf2af[_0x233dfe(0x19d)](_0x24ed94[_0x428842][_0x233dfe(0x1dc)])),_0x428842--;}}}return _0x24ed94[_0x233dfe(0x110)](_0x1caa3c=>!_0x1caa3c[_0x233dfe(0x1bd)]);}[_0xc23ae8(0x1cf)](_0x1bada8){const _0x3129f0=_0xc23ae8,_0x311d33=this[_0x3129f0(0x210)][_0x3129f0(0x1b9)][_0x3129f0(0x1f7)];for(let _0x17e787=0x0;_0x17e787<_0x1bada8[_0x3129f0(0x119)];_0x17e787++){if(!(_0x1bada8[_0x17e787][_0x3129f0(0x157)]||_0x1bada8[_0x17e787][_0x3129f0(0x174)]||_0x1bada8[_0x17e787][_0x3129f0(0x189)]||_0x1bada8[_0x17e787][_0x3129f0(0x106)]))continue;if(0x0==_0x1bada8[_0x17e787][_0x3129f0(0xff)])continue;const _0x49766e=_0x1bada8[_0x17e787][_0x3129f0(0x204)];_0x311d33[_0x3129f0(0x18d)](_0x49766e)||_0x311d33[_0x3129f0(0x12a)](_0x49766e)||(_0x1bada8[_0x17e787][_0x3129f0(0x157)]&&delete _0x1bada8[_0x17e787][_0x3129f0(0x157)],_0x1bada8[_0x17e787][_0x3129f0(0x174)]&&delete _0x1bada8[_0x17e787][_0x3129f0(0x174)],_0x1bada8[_0x17e787][_0x3129f0(0x106)]&&delete _0x1bada8[_0x17e787][_0x3129f0(0x106)],_0x1bada8[_0x17e787][_0x3129f0(0x189)]&&(_0x1bada8[_0x17e787][_0x3129f0(0x1bd)]=!0x0));}return _0x1bada8[_0x3129f0(0x110)](_0x3d9d45=>!_0x3d9d45[_0x3129f0(0x1bd)]);}[_0xc23ae8(0x20f)](_0x404b4b,_0x43f2ac,_0x4382cc){const _0x52ecb7=_0xc23ae8,_0x5b5205=new _0xaaac67(),_0x3d1609=[],_0x302b9d=new Map(),_0x3c3504=this[_0x52ecb7(0x210)][_0x52ecb7(0x1b9)],_0x535dd7=_0x3c3504[_0x52ecb7(0x1f7)],_0x3a1306=[_0x5b5205],_0x58b7a3={},_0x2dff0b={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x27e373=null;const _0x1df734=[0x0];for(let _0x540414=0x0;_0x540414<_0x404b4b[_0x52ecb7(0x119)];_0x540414++)if(_0x52ecb7(0x126)===_0x404b4b[_0x540414][_0x52ecb7(0x1a5)]){_0x404b4b[_0x540414][_0x52ecb7(0x11b)]=_0x3c3504[_0x52ecb7(0x133)](_0x5b5205,_0x1df734);const _0x38aa11=new _0x165c45(_0x404b4b[_0x540414][_0x52ecb7(0x204)][_0x52ecb7(0x18c)],_0x404b4b[_0x540414][_0x52ecb7(0x204)][_0x52ecb7(0x170)]());_0x3a1306[0x0][_0x52ecb7(0x198)](_0x38aa11),_0x1df734[_0x52ecb7(0x147)](0x0),_0x3a1306[_0x52ecb7(0x1df)](_0x38aa11),_0x404b4b[_0x540414][_0x52ecb7(0xee)]=_0x3c3504[_0x52ecb7(0x133)](_0x5b5205,_0x1df734);}else _0x52ecb7(0x163)===_0x404b4b[_0x540414][_0x52ecb7(0x1a5)]?(_0x3a1306[_0x52ecb7(0x1ef)](),_0x404b4b[_0x540414][_0x52ecb7(0x11b)]=_0x3c3504[_0x52ecb7(0x133)](_0x5b5205,_0x1df734),_0x1df734[_0x52ecb7(0xf9)](),_0x1df734[_0x1df734[_0x52ecb7(0x119)]-0x1]++,_0x404b4b[_0x540414][_0x52ecb7(0xee)]=_0x3c3504[_0x52ecb7(0x133)](_0x5b5205,_0x1df734)):(_0x404b4b[_0x540414][_0x52ecb7(0x11b)]=_0x3c3504[_0x52ecb7(0x133)](_0x5b5205,_0x1df734),_0x27e373?_0x27e373[_0x52ecb7(0x11d)]+=_0x404b4b[_0x540414][_0x52ecb7(0x204)][_0x52ecb7(0x145)]:_0x27e373=new _0x4f4a87(_0x404b4b[_0x540414][_0x52ecb7(0x204)][_0x52ecb7(0x145)],_0x404b4b[_0x540414][_0x52ecb7(0x204)][_0x52ecb7(0x170)]()),_0x404b4b[_0x540414+0x1]&&_0x52ecb7(0x10a)===_0x404b4b[_0x540414+0x1][_0x52ecb7(0x1a5)]&&_0x5080f1(_0x27e373,_0x404b4b[_0x540414+0x1][_0x52ecb7(0x204)])||(_0x3a1306[0x0][_0x52ecb7(0x198)](_0x27e373),_0x27e373=null),_0x1df734[_0x1df734[_0x52ecb7(0x119)]-0x1]+=_0x404b4b[_0x540414][_0x52ecb7(0x204)][_0x52ecb7(0xf2)],_0x404b4b[_0x540414][_0x52ecb7(0xee)]=_0x3c3504[_0x52ecb7(0x133)](_0x5b5205,_0x1df734));for(let _0x99878b=0x0;_0x99878b<_0x404b4b[_0x52ecb7(0x119)];_0x99878b++){const _0x463cb4=_0x404b4b[_0x99878b][_0x52ecb7(0x11b)],_0x27e4f4=_0x404b4b[_0x99878b][_0x52ecb7(0xee)];for(const _0x109a0d of _0x404b4b[_0x99878b][_0x52ecb7(0x194)])_0x302b9d[_0x52ecb7(0x1e3)](_0x109a0d,{'start':_0x463cb4,'end':null});_0xa2c053(_0x52ecb7(0x106),_0x99878b,_0x463cb4,_0x27e4f4),_0xa2c053(_0x52ecb7(0x174),_0x99878b,_0x463cb4,_0x27e4f4),_0xa2c053(_0x52ecb7(0x189),_0x99878b,_0x463cb4,_0x27e4f4),_0xa2c053(_0x52ecb7(0x157),_0x99878b,_0x463cb4,_0x27e4f4);for(const _0x4ccf60 of _0x404b4b[_0x99878b][_0x52ecb7(0x17c)]){const _0x1aca35=_0x302b9d[_0x52ecb7(0x1c3)](_0x4ccf60);_0x1aca35?_0x1aca35[_0x52ecb7(0x1a4)]=_0x27e4f4:_0x302b9d[_0x52ecb7(0x1e3)](_0x4ccf60,{'start':_0x27e4f4,'end':_0x27e4f4});}}for(const [_0x3b82fd,_0x432f16]of _0x302b9d){const _0x3c9fd1=this[_0x52ecb7(0x210)][_0x52ecb7(0x1b9)][_0x52ecb7(0x10f)](_0x432f16[_0x52ecb7(0x1d9)],_0x432f16[_0x52ecb7(0x1a4)]);_0x5b5205[_0x52ecb7(0x12b)][_0x52ecb7(0x1e3)](_0x3b82fd,_0x3c9fd1);}return _0x3d1609[_0x52ecb7(0x137)]((_0x422fc8,_0x44ca3d)=>{const _0x37212f=_0x52ecb7,_0x5e472d=_0x5b5205[_0x37212f(0x12b)][_0x37212f(0x1c3)](_0x37212f(0x1a3)+_0x422fc8['id']),_0x198e6c=_0x5b5205[_0x37212f(0x12b)][_0x37212f(0x1c3)](_0x37212f(0x1a3)+_0x44ca3d['id']);return _0x5e472d[_0x37212f(0x1d9)][_0x37212f(0xf3)](_0x198e6c[_0x37212f(0x1d9)])?-0x1:_0x5e472d[_0x37212f(0x1d9)][_0x37212f(0xea)](_0x198e6c[_0x37212f(0x1d9)])?0x1:_0x5e472d[_0x37212f(0x1a4)][_0x37212f(0xf3)](_0x198e6c[_0x37212f(0x1a4)])?-0x1:_0x5e472d[_0x37212f(0x1a4)][_0x37212f(0xea)](_0x198e6c[_0x37212f(0x1a4)])?0x1:_0x37212f(0x19d)===_0x422fc8[_0x37212f(0x1a5)]?-0x1:0x1;}),{'root':_0x5b5205,'changes':_0x3d1609};function _0xa2c053(_0x585030,_0x5325c7,_0x45df26,_0x239464){const _0x4bdaef=_0x52ecb7,_0x1bd146=!!_0x404b4b[_0x5325c7][_0x585030],_0x5a868a=_0x1bd146?_0x404b4b[_0x5325c7][_0x585030][_0x4bdaef(0x10b)]:null,_0x56da11=_0x5325c7===_0x404b4b[_0x4bdaef(0x119)]-0x1,_0x44f978=_0x2dff0b[_0x585030][0x0],_0xf1428=_0x535dd7[_0x4bdaef(0x1e0)](_0x404b4b[_0x5325c7][_0x4bdaef(0x204)]);!_0x58b7a3[_0x585030]&&_0x1bd146?_0x58b7a3[_0x585030]={'start':_0x45df26,'tapeItem':_0x404b4b[_0x5325c7],'userId':_0x5a868a,'type':_0x585030}:_0x58b7a3[_0x585030]&&!_0x1bd146?(_0x58b7a3[_0x585030][_0x4bdaef(0x1a4)]=_0x45df26,_0xf2c542(_0x58b7a3[_0x585030]),_0x58b7a3[_0x585030]=null):_0x58b7a3[_0x585030]&&_0x1bd146&&_0x58b7a3[_0x585030][_0x4bdaef(0x10b)]!==_0x5a868a&&(_0x58b7a3[_0x585030][_0x4bdaef(0x1a4)]=_0x45df26,_0x44f978&&_0x44f978[_0x4bdaef(0x10b)]===_0x58b7a3[_0x585030][_0x4bdaef(0x10b)]||_0xf2c542(_0x58b7a3[_0x585030]),_0x58b7a3[_0x585030]={'start':_0x45df26,'tapeItem':_0x404b4b[_0x5325c7],'userId':_0x5a868a,'type':_0x585030}),_0x58b7a3[_0x585030]&&_0xf1428&&(_0x4bdaef(0x126)!==_0x404b4b[_0x5325c7][_0x4bdaef(0x1a5)]||_0x44f978&&_0x44f978[_0x4bdaef(0x10b)]===_0x5a868a||_0x2dff0b[_0x585030][_0x4bdaef(0x1df)]({'userId':_0x5a868a,'object':_0x404b4b[_0x5325c7][_0x4bdaef(0x204)],'change':_0x58b7a3[_0x585030]}),_0x4bdaef(0x163)===_0x404b4b[_0x5325c7][_0x4bdaef(0x1a5)]&&_0x44f978&&_0x44f978[_0x4bdaef(0x196)]===_0x404b4b[_0x5325c7][_0x4bdaef(0x204)]&&(_0x2dff0b[_0x585030][_0x4bdaef(0x1ef)](),_0x58b7a3[_0x585030]=_0x44f978[_0x4bdaef(0x1ad)])),_0x58b7a3[_0x585030]&&_0x56da11&&(_0x58b7a3[_0x585030][_0x4bdaef(0x1a4)]=_0x239464,_0xf2c542(_0x58b7a3[_0x585030]),_0x58b7a3[_0x585030]=null);}function _0xf2c542({start:_0x259501,end:_0x3c0a59,tapeItem:_0x2adf09,userId:_0x1586ce,type:_0x16b898}){const _0x1ee66c=_0x52ecb7,_0x2c6a81=_0x2adf09[_0x1ee66c(0x204)],_0x4b6809=_0x3c3504[_0x1ee66c(0x1f7)][_0x1ee66c(0x18d)](_0x2c6a81)&&!_0x3c3504[_0x1ee66c(0x1f7)][_0x1ee66c(0x12a)](_0x2c6a81),_0x52d216=_0x259501[_0x1ee66c(0x1be)]==_0x3c0a59[_0x1ee66c(0x213)]&&_0x3c0a59[_0x1ee66c(0x186)];if(_0x4b6809&&_0x52d216)return;const _0x3ce597=_0x3c3504[_0x1ee66c(0x10f)](_0x259501,_0x3c0a59),_0x5b615b=_0x43f2ac[_0x1ee66c(0x1c3)](_0x1586ce),_0x1877a2=new _0x43f17e({'author':_0x5b615b,'type':_0x1ee66c(0x157)==_0x16b898||_0x1ee66c(0x174)==_0x16b898?_0x1ee66c(0x19d):_0x1ee66c(0x179),'data':{'isSuggestion':_0x1ee66c(0x174)==_0x16b898||_0x1ee66c(0x106)==_0x16b898},'createdAt':new Date(),'rootName':_0x4382cc});_0x3d1609[_0x1ee66c(0x147)](_0x1877a2),_0x5b5205[_0x1ee66c(0x12b)][_0x1ee66c(0x1e3)](_0x1ee66c(0x1a3)+_0x1877a2['id'],_0x3ce597);}function _0x5080f1(_0x3c8ce5,_0x48503d){const _0x571e2f=_0x52ecb7,_0x418c51=_0x3c8ce5[_0x571e2f(0x170)](),_0x9e023f=_0x48503d[_0x571e2f(0x170)]();for(const _0x2d9b61 of _0x418c51){if(_0x2d9b61[0x1]!==_0x48503d[_0x571e2f(0x15c)](_0x2d9b61[0x0]))return!0x1;_0x9e023f[_0x571e2f(0x220)]();}return _0x9e023f[_0x571e2f(0x220)]()[_0x571e2f(0x1aa)];}}[_0xc23ae8(0x1b2)](){const _0x39496b=_0xc23ae8;this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0xf4))[_0x39496b(0x1ac)]({'view':_0x39496b(0x15f)}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0x1e9))[_0x39496b(0x135)]({'model':_0x39496b(0x15f),'view':_0xc6ee72=>{const _0x19c53c=_0x39496b,_0x426eb9=_0xc6ee72[_0x19c53c(0xfe)][_0x19c53c(0x1ae)](':')[0x1],_0x53f7d9=this[_0x19c53c(0x182)](_0x426eb9);if(!_0x53f7d9)return null;const _0x58571a=_0x19c53c(0x19d)==_0x53f7d9[_0x19c53c(0x1a5)]?_0x19c53c(0x1da):_0x19c53c(0x1b0),_0x44510c=[_0x19c53c(0x22c),_0x19c53c(0x1e4)+_0x58571a];return _0x53f7d9[_0x19c53c(0x145)][_0x19c53c(0x129)]&&_0x44510c[_0x19c53c(0x147)](_0x19c53c(0x1e4)+_0x58571a+_0x19c53c(0x118)),this[_0x19c53c(0x202)]==_0x53f7d9&&_0x44510c[_0x19c53c(0x147)](_0x19c53c(0x121)),{'classes':_0x44510c,'attributes':{'data-change-id':_0x426eb9}};}}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0xf4))[_0x39496b(0x19d)](_0x465273=>{const _0x4c32b7=_0x39496b;_0x465273['on'](_0x4c32b7(0x1e5),(_0x3f9c20,_0x29f3d2,_0x9199b0)=>{const _0x53c563=_0x4c32b7,_0xcc2664=_0x29f3d2[_0x53c563(0x10e)][_0x53c563(0x165)](0x0);if(!_0xcc2664||!_0xcc2664['is'](_0x53c563(0x143),_0x53c563(0x13b)))return;if(!_0x9199b0[_0x53c563(0x1eb)][_0x53c563(0x1ee)](_0xcc2664,{'attributes':[_0x53c563(0x211),_0x53c563(0x108)]}))return;const _0x45b7d4=_0x29f3d2[_0x53c563(0x161)][_0x53c563(0x1d9)][_0x53c563(0x1be)];_0x9199b0[_0x53c563(0x1e6)][_0x53c563(0x1d6)](_0x53c563(0x211),_0xcc2664[_0x53c563(0x15c)](_0x53c563(0x211)),_0x45b7d4),_0x9199b0[_0x53c563(0x1e6)][_0x53c563(0x1d6)](_0x53c563(0x108),_0xcc2664[_0x53c563(0x15c)](_0x53c563(0x108)),_0x45b7d4);},{'priority':_0x4c32b7(0x219)});}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0xf4))[_0x39496b(0x19d)](_0xe0efe4=>{const _0x1d7001=_0x39496b;_0xe0efe4['on'](_0x1d7001(0x143),(_0x100500,_0x2329d0,_0xc8e1c1)=>{const _0x5c0aa6=_0x1d7001;if(!_0xc8e1c1[_0x5c0aa6(0x1eb)][_0x5c0aa6(0x1ee)](_0x2329d0[_0x5c0aa6(0x10e)],{'attributes':[_0x5c0aa6(0x211),_0x5c0aa6(0x108)]}))return;if(_0x2329d0[_0x5c0aa6(0x161)][_0x5c0aa6(0x1a6)])return;const _0x18aa32=_0x2329d0[_0x5c0aa6(0x161)][_0x5c0aa6(0x1d9)][_0x5c0aa6(0x1be)];_0x18aa32[_0x5c0aa6(0x21e)](_0x5c0aa6(0x211))||_0x18aa32[_0x5c0aa6(0x21e)](_0x5c0aa6(0x171))||(_0xc8e1c1[_0x5c0aa6(0x1e6)][_0x5c0aa6(0x1d6)](_0x5c0aa6(0x211),_0x2329d0[_0x5c0aa6(0x10e)][_0x5c0aa6(0x15c)](_0x5c0aa6(0x211)),_0x18aa32),_0xc8e1c1[_0x5c0aa6(0x1e6)][_0x5c0aa6(0x1d6)](_0x5c0aa6(0x108),_0x2329d0[_0x5c0aa6(0x10e)][_0x5c0aa6(0x15c)](_0x5c0aa6(0x108)),_0x18aa32));},{'priority':_0x1d7001(0x219)});}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0xf4))[_0x39496b(0xfa)]({'view':{'name':_0x39496b(0x22e),'attributes':{'vid':!0x0}},'model':{'key':_0x39496b(0x171),'value':_0x39935e=>_0x39935e[_0x39496b(0x15c)](_0x39496b(0x171))}}),this[_0x39496b(0x210)][_0x39496b(0x1b9)][_0x39496b(0x1f7)]['on'](_0x39496b(0x16d),(_0x198e4a,[,_0x5c9ec6])=>{const _0x4aa79c=_0x39496b;[_0x4aa79c(0x211),_0x4aa79c(0x108),_0x4aa79c(0x171)][_0x4aa79c(0x21d)](_0x5c9ec6)&&(_0x198e4a[_0x4aa79c(0xfc)]=!0x0,_0x198e4a[_0x4aa79c(0x120)]());},{'priority':_0x39496b(0x16b)}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0x141))[_0x39496b(0x19d)](_0x36873a=>{const _0x15b4b1=_0x39496b;_0x36873a['on'](_0x15b4b1(0x229),(_0x2f9be3,_0x593617,_0x6b9f42)=>{const _0x10ad95=_0x15b4b1;if('\x20'!=_0x593617[_0x10ad95(0x204)][_0x10ad95(0x145)]||_0x593617[_0x10ad95(0x204)][_0x10ad95(0x213)][_0x10ad95(0x154)]>0x1)return;if(!_0x6b9f42[_0x10ad95(0x1eb)][_0x10ad95(0x1ee)](_0x593617[_0x10ad95(0x204)],_0x2f9be3[_0x10ad95(0x18c)]))return;const _0x280489=_0x6b9f42[_0x10ad95(0x1e6)],_0x304b23=_0x6b9f42[_0x10ad95(0x1c0)][_0x10ad95(0x1cc)](_0x593617[_0x10ad95(0x153)]);_0x280489[_0x10ad95(0x1a0)](_0x304b23,_0x280489[_0x10ad95(0x117)](_0x10ad95(0x22e)));});}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0x141))[_0x39496b(0x227)]({'model':_0x39496b(0x15f)}),this[_0x39496b(0x210)][_0x39496b(0x142)][_0x39496b(0x1b3)]['on'](_0x39496b(0x195),function(_0x6c761c){const _0xbf291c=_0x39496b,_0x2239de=_0x6c761c[_0xbf291c(0x191)][_0xbf291c(0x1c3)](_0xbf291c(0x15d));return(_0x39fa32,_0x482f18,_0x48c648)=>{const _0x1afa42=_0xbf291c,_0x12062d=_0x482f18[_0x1afa42(0xfe)][_0x1afa42(0x1ae)](':')[0x1],_0x56c822=_0x2239de[_0x1afa42(0x182)](_0x12062d);if(!_0x56c822)return null;const _0x2dd7a9=_0x1afa42(0x19d)==_0x56c822[_0x1afa42(0x1a5)]?_0x1afa42(0x1ae):_0x1afa42(0x144);if(!_0x48c648[_0x1afa42(0x1eb)][_0x1afa42(0x1c2)](_0x482f18[_0x1afa42(0x207)],_0x39fa32[_0x1afa42(0x18c)]))return;const _0x802ae3=_0x482f18[_0x1afa42(0x207)][_0x1afa42(0x1d0)](),_0x139227=_0x482f18[_0x1afa42(0x207)][_0x1afa42(0x1d9)],_0x1a9174=_0x6c761c[_0x1afa42(0x1b9)][_0x1afa42(0x1f7)];let _0x399099=null,_0x893515=null,_0xb78de6=!0x1,_0x5e2c0c=!0x1;for(const _0xeaa866 of _0x802ae3){const _0x25eec4=_0xeaa866[_0x1afa42(0x204)];_0xb78de6=_0xb78de6||_0x1a9174[_0x1afa42(0x115)](_0x25eec4);const _0x5b612c=_0x48c648[_0x1afa42(0x1c0)][_0x1afa42(0x128)](_0x25eec4);if(_0x5b612c&&_0x5b612c[_0x1afa42(0x1f2)](_0x1afa42(0x131)))return;_0x1afa42(0x163)==_0xeaa866[_0x1afa42(0x1a5)]&&(_0x1a9174[_0x1afa42(0x18d)](_0x25eec4)&&!_0x1a9174[_0x1afa42(0x12a)](_0x25eec4)&&(_0x25eec4[_0x1afa42(0x159)]||_0x139227[_0x1afa42(0x18e)]?_0x399099&&_0x399099[_0x1afa42(0x213)]==_0x25eec4||(_0x399099=_0x25eec4,_0x5937a2(_0xeaa866[_0x1afa42(0x11b)]),_0x5e2c0c=!0x0):_0x893515=_0x893515||_0xeaa866[_0x1afa42(0x11b)]));}function _0x5937a2(_0x9913ff){const _0x11b5a7=_0x1afa42,_0x2236ab=_0x48c648[_0x11b5a7(0x1e6)][_0x11b5a7(0x17a)](_0x11b5a7(0x22e),{'class':_0x11b5a7(0x1e4)+_0x2dd7a9}),_0x5dcdf7=_0x48c648[_0x11b5a7(0x1c0)][_0x11b5a7(0x188)](_0x9913ff);_0x56c822[_0x11b5a7(0x145)][_0x11b5a7(0x129)]&&_0x48c648[_0x11b5a7(0x1e6)][_0x11b5a7(0x17b)](_0x11b5a7(0x1e4)+_0x2dd7a9+_0x11b5a7(0x118),_0x2236ab),_0x2239de[_0x11b5a7(0x202)]==_0x56c822&&_0x48c648[_0x11b5a7(0x1e6)][_0x11b5a7(0x17b)](_0x11b5a7(0x121),_0x2236ab),_0x48c648[_0x11b5a7(0x1e6)][_0x11b5a7(0x19c)](_0x5dcdf7,_0x2236ab),_0x48c648[_0x11b5a7(0x1c0)][_0x11b5a7(0x1fc)](_0x2236ab,_0x482f18[_0x11b5a7(0xfe)]);}_0xb78de6||_0x5e2c0c||!_0x893515||_0x5937a2(_0x893515);};}(this[_0x39496b(0x210)]),{'priority':_0x39496b(0x127)}),this[_0x39496b(0x210)][_0x39496b(0x142)][_0x39496b(0x1b3)]['on'](_0x39496b(0x1e7),(_0x3c9e19,_0x10dda1,_0x262667)=>{const _0x342aeb=_0x39496b,_0x575cb7=_0x262667[_0x342aeb(0x1c0)][_0x342aeb(0x109)](_0x10dda1[_0x342aeb(0xfe)]);if(_0x575cb7){for(const _0x273d8a of _0x575cb7)(_0x273d8a[_0x342aeb(0x1ff)](_0x342aeb(0x183))||_0x273d8a[_0x342aeb(0x1ff)](_0x342aeb(0x17f)))&&(_0x262667[_0x342aeb(0x1c0)][_0x342aeb(0x11f)](_0x273d8a,_0x10dda1[_0x342aeb(0xfe)]),_0x262667[_0x342aeb(0x1e6)][_0x342aeb(0x179)](_0x273d8a));}},{'priority':_0x39496b(0x127)}),this[_0x39496b(0x210)][_0x39496b(0x142)][_0x39496b(0x1b3)]['on'](_0x39496b(0x195),(_0x144490,_0x43d577,_0x1c750f)=>{const _0x1495da=_0x39496b,_0x5c3f0c=_0x43d577[_0x1495da(0xfe)][_0x1495da(0x1ae)](':')[0x1],_0x2b47e1=this[_0x1495da(0x182)](_0x5c3f0c);if(!_0x2b47e1)return null;const _0xa59a26=_0x1495da(0x19d)==_0x2b47e1[_0x1495da(0x1a5)]?_0x1495da(0x1ae):_0x1495da(0x144);if(_0x1c750f[_0x1495da(0x1eb)][_0x1495da(0x1c2)](_0x43d577[_0x1495da(0x207)],_0x144490[_0x1495da(0x18c)]))for(const _0xe1fe07 of _0x43d577[_0x1495da(0x207)][_0x1495da(0x15a)]()){if(!_0xe1fe07['is'](_0x1495da(0x143),_0x1495da(0x151)))continue;const _0x569662=_0x1c750f[_0x1495da(0x1e6)][_0x1495da(0x17a)](_0x1495da(0x22e),{'class':_0x1495da(0x1e4)+_0xa59a26}),_0x1d3475=_0x1c750f[_0x1495da(0x1c0)][_0x1495da(0x188)](this[_0x1495da(0x210)][_0x1495da(0x1b9)][_0x1495da(0x169)](_0xe1fe07));_0x2b47e1[_0x1495da(0x145)][_0x1495da(0x129)]&&_0x1c750f[_0x1495da(0x1e6)][_0x1495da(0x17b)](_0x1495da(0x1e4)+_0xa59a26+_0x1495da(0x118),_0x569662),this[_0x1495da(0x202)]==_0x2b47e1&&_0x1c750f[_0x1495da(0x1e6)][_0x1495da(0x17b)](_0x1495da(0x121),_0x569662),_0x1c750f[_0x1495da(0x1e6)][_0x1495da(0x19c)](_0x1d3475,_0x569662),_0x1c750f[_0x1495da(0x1c0)][_0x1495da(0x1fc)](_0x569662,_0x43d577[_0x1495da(0xfe)]);}},{'priority':_0x39496b(0x127)}),this[_0x39496b(0x210)][_0x39496b(0x1b9)][_0x39496b(0x20a)]['on'](_0x39496b(0x1ad),()=>{const _0x300f09=_0x39496b;this[_0x300f09(0x210)][_0x300f09(0x142)][_0x300f09(0x16a)][_0x300f09(0x1ad)](_0x22b2c2=>{const _0xab6e2b=_0x300f09;for(const _0x28d671 of this[_0xab6e2b(0x210)][_0xab6e2b(0x1b9)][_0xab6e2b(0x20a)][_0xab6e2b(0x14c)]()){const _0x1b8039=this[_0xab6e2b(0x210)][_0xab6e2b(0x1b9)][_0xab6e2b(0x20a)][_0xab6e2b(0x150)](_0x28d671),_0x1f65f0=this[_0xab6e2b(0x210)][_0xab6e2b(0x142)][_0xab6e2b(0x16a)][_0xab6e2b(0x20a)][_0xab6e2b(0x150)](_0x28d671);if(_0x1f65f0){const _0x4b2fbc=_0x1b8039[_0xab6e2b(0x15c)](_0xab6e2b(0xf7));if(_0x22b2c2[_0xab6e2b(0x105)](_0xab6e2b(0x12f),_0x1f65f0),_0x22b2c2[_0xab6e2b(0x21f)](_0xab6e2b(0x1d2),_0x1f65f0),_0x22b2c2[_0xab6e2b(0x21f)](_0xab6e2b(0x1cb),_0x1f65f0),_0x22b2c2[_0xab6e2b(0x21f)](_0xab6e2b(0x13d),_0x1f65f0),_0x4b2fbc){const _0x194239=this[_0xab6e2b(0x182)](_0x4b2fbc);if(!_0x194239)return null;_0x22b2c2[_0xab6e2b(0x1d6)](_0xab6e2b(0x12f),_0x4b2fbc,_0x1f65f0),_0x22b2c2[_0xab6e2b(0x17b)](_0xab6e2b(0x192)+_0x194239[_0xab6e2b(0x1a5)],_0x1f65f0),this[_0xab6e2b(0x202)]==_0x194239&&_0x22b2c2[_0xab6e2b(0x17b)](_0xab6e2b(0x13d),_0x1f65f0);}}}});}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0xf4))[_0x39496b(0x1ac)]({'view':_0x39496b(0x175),'model':_0x4df5f4=>_0x39496b(0x1a1)+_0x4df5f4,'converterPriority':_0x39496b(0x16b)}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0xf4))[_0x39496b(0x1ac)]({'view':_0x39496b(0x22b),'model':_0x21cf13=>_0x39496b(0x164)+_0x21cf13,'converterPriority':_0x39496b(0x16b)}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0x141))[_0x39496b(0x227)]({'model':_0x39496b(0x181),'view':_0x5a8f40=>({'name':_0x39496b(0x19f)+_0x5a8f40,'group':_0x39496b(0x181)}),'converterPriority':_0x39496b(0x16b)}),this[_0x39496b(0x210)][_0x39496b(0x111)][_0x39496b(0x166)](_0x39496b(0x1e9))[_0x39496b(0x135)]({'model':_0x39496b(0x181),'view':_0x225557=>{const _0x5bcecf=_0x39496b,_0xfe7f01=_0x225557[_0x5bcecf(0xfe)][_0x5bcecf(0x1ae)](':')[0x1];return _0x5bcecf(0x1da)!=_0xfe7f01&&_0x5bcecf(0x1b0)!=_0xfe7f01?null:{'classes':[_0x5bcecf(0x130),_0x5bcecf(0x1fd)+_0xfe7f01]};}}),this[_0x39496b(0x210)][_0x39496b(0x142)][_0x39496b(0x1b3)]['on'](_0x39496b(0x101),Q(this[_0x39496b(0x210)],_0x39496b(0x144)),{'priority':_0x39496b(0x127)}),this[_0x39496b(0x210)][_0x39496b(0x142)][_0x39496b(0x1b3)]['on'](_0x39496b(0x190),Q(this[_0x39496b(0x210)],_0x39496b(0x1ae)),{'priority':_0x39496b(0x127)}),this[_0x39496b(0x210)][_0x39496b(0x142)][_0x39496b(0x1b3)]['on'](_0x39496b(0x155),(_0x20f9a4,_0x46014b,_0x403a30)=>{const _0x3d0b7f=_0x39496b,_0x4d52d7=_0x403a30[_0x3d0b7f(0x1c0)][_0x3d0b7f(0x109)](_0x46014b[_0x3d0b7f(0xfe)]);if(_0x4d52d7){for(const _0xa48dc2 of _0x4d52d7)_0xa48dc2['is'](_0x3d0b7f(0xfd))&&(_0x403a30[_0x3d0b7f(0x1c0)][_0x3d0b7f(0x11f)](_0xa48dc2,_0x46014b[_0x3d0b7f(0xfe)]),_0x403a30[_0x3d0b7f(0x1e6)][_0x3d0b7f(0x179)](_0xa48dc2));}},{'priority':_0x39496b(0x127)});}[_0xc23ae8(0x182)](_0x25badc){const _0xea759a=_0xc23ae8;return this[_0xea759a(0x1af)][_0xea759a(0x1c3)](_0x25badc);}[_0xc23ae8(0x102)](_0x3b6a0e){const _0x39a2e4=_0xc23ae8;return this[_0x39a2e4(0xf1)]&&this[_0x39a2e4(0xf1)][_0x39a2e4(0x146)](),this[_0x39a2e4(0xf1)]=new _0x367afb(this[_0x39a2e4(0x210)][_0x39a2e4(0x12e)],_0x3b6a0e),this[_0x39a2e4(0xf1)];}[_0xc23ae8(0x18f)](){const _0x53b9c8=_0xc23ae8;this[_0x53b9c8(0x210)][_0x53b9c8(0x1b9)][_0x53b9c8(0x20a)][_0x53b9c8(0x15b)][_0x53b9c8(0x197)](_0x53b9c8(0x15f)),this['on'](_0x53b9c8(0x167),(_0x23657a,_0x2ce12e,_0x4932c2,_0x4f5bb7)=>{const _0x3dd066=_0x53b9c8;_0x4f5bb7&&this[_0x3dd066(0x215)][_0x3dd066(0x179)](_0x4f5bb7),_0x4932c2&&(this[_0x3dd066(0x215)][_0x3dd066(0x19d)]({'view':_0x4932c2,'stackId':_0x3dd066(0x100),'position':{'target':()=>{const _0x52da73=_0x3dd066,_0x1489ca=this[_0x52da73(0x210)][_0x52da73(0x142)],_0xd02a6a=this[_0x52da73(0x182)](_0x4932c2[_0x52da73(0x1f9)]);let _0x35715f;if(_0xd02a6a[_0x52da73(0x145)][_0x52da73(0x1c4)]){const _0x50b07f=_0x1489ca[_0x52da73(0x16a)][_0x52da73(0x1dd)](_0xd02a6a[_0x52da73(0x1c5)]);_0x35715f=Array[_0x52da73(0x1d1)](_0x50b07f[_0x52da73(0x1c6)]());}else{const _0x530098=this[_0x52da73(0x210)][_0x52da73(0x1b9)][_0x52da73(0x12b)][_0x52da73(0x1c3)](_0x52da73(0x1a3)+_0x4932c2[_0x52da73(0x1f9)]);_0x35715f=Array[_0x52da73(0x1d1)](_0x1489ca[_0x52da73(0x1c0)][_0x52da73(0x109)](_0x530098[_0x52da73(0x18c)]))[_0x52da73(0x20c)](_0x2b7142=>_0x1489ca[_0x52da73(0x16a)][_0x52da73(0x124)][_0x52da73(0x1a9)](_0x2b7142))[_0x52da73(0x20c)](_0x24f798=>Array[_0x52da73(0x1d1)](_0x24f798[_0x52da73(0x1c6)]()))[_0x52da73(0x11a)]();}if(!this[_0x52da73(0xef)])return _0x35715f[0x0];return _0x35715f[_0x52da73(0x200)](_0x1dc6cd=>_0x1dc6cd[_0x52da73(0x20d)]-0x3<=this[_0x52da73(0xef)]['y']&&_0x1dc6cd[_0x52da73(0x1c9)]+0x3>=this[_0x52da73(0xef)]['y']&&_0x1dc6cd[_0x52da73(0x139)]-0x3<=this[_0x52da73(0xef)]['x']&&_0x1dc6cd[_0x52da73(0x1a7)]+0x3>=this[_0x52da73(0xef)]['x'])||_0x35715f[0x0];}}}),this[_0x3dd066(0x215)][_0x3dd066(0x12c)](_0x3dd066(0x100)));}),this['on'](_0x53b9c8(0x1f3),(_0x5d39a6,_0x5ba450,_0xf56bba,_0xb836b7)=>{const _0x2ac647=_0x53b9c8;this[_0x2ac647(0x1c8)]=_0xf56bba?this[_0x2ac647(0x102)](_0xf56bba):null,this[_0x2ac647(0x210)][_0x2ac647(0x1b9)][_0x2ac647(0x1ad)](()=>{const _0x371fd1=_0x2ac647,_0x1d0c47=this[_0x371fd1(0x210)][_0x371fd1(0x142)];_0xb836b7&&(_0xb836b7[_0x371fd1(0x145)][_0x371fd1(0x1c4)]?_0x1d0c47[_0x371fd1(0x16a)][_0x371fd1(0x1ad)](_0x1336a1=>{const _0x360252=_0x371fd1;_0x1336a1[_0x360252(0x21f)](_0x360252(0x13d),_0x1d0c47[_0x360252(0x16a)][_0x360252(0x20a)][_0x360252(0x150)](_0xb836b7[_0x360252(0x1c5)]));}):_0x1d0c47[_0x371fd1(0x1b8)](_0x371fd1(0x1a3)+_0xb836b7['id'])),_0xf56bba&&(_0xf56bba[_0x371fd1(0x145)][_0x371fd1(0x1c4)]?_0x1d0c47[_0x371fd1(0x16a)][_0x371fd1(0x1ad)](_0x41497f=>{const _0x49a70f=_0x371fd1;_0x41497f[_0x49a70f(0x17b)](_0x49a70f(0x13d),_0x1d0c47[_0x49a70f(0x16a)][_0x49a70f(0x20a)][_0x49a70f(0x150)](_0xf56bba[_0x49a70f(0x1c5)]));}):_0x1d0c47[_0x371fd1(0x1b8)](_0x371fd1(0x1a3)+_0xf56bba['id']));});}),this[_0x53b9c8(0x1e1)](this[_0x53b9c8(0x210)][_0x53b9c8(0x142)][_0x53b9c8(0x16a)][_0x53b9c8(0x20a)],_0x53b9c8(0x214),(_0x81a11a,_0x30f1d1)=>{const _0x52816c=_0x53b9c8;if(this[_0x52816c(0x202)])return;const _0x2cc127=this[_0x52816c(0x21b)](_0x30f1d1[_0x52816c(0xf6)]),_0x28b1ef=this[_0x52816c(0x1af)][_0x52816c(0x1c3)](_0x2cc127);_0x28b1ef?(this[_0x52816c(0xef)]={'x':_0x30f1d1[_0x52816c(0x21c)]['x'],'y':_0x30f1d1[_0x52816c(0x21c)]['y']},this[_0x52816c(0x1c8)]=this[_0x52816c(0x102)](_0x28b1ef)):(this[_0x52816c(0xef)]=null,this[_0x52816c(0x1c8)]=null);}),this[_0x53b9c8(0x1e1)](this[_0x53b9c8(0x210)][_0x53b9c8(0x142)][_0x53b9c8(0x16a)][_0x53b9c8(0x20a)],_0x53b9c8(0x201),(_0x459d02,_0x57b399)=>{const _0x5045e5=_0x53b9c8,_0x466eed=this[_0x5045e5(0x21b)](_0x57b399[_0x5045e5(0xf6)]),_0x310cae=this[_0x5045e5(0x1af)][_0x5045e5(0x1c3)](_0x466eed);_0x310cae?(this[_0x5045e5(0xef)]={'x':_0x57b399[_0x5045e5(0x21c)]['x'],'y':_0x57b399[_0x5045e5(0x21c)]['y']},_0x310cae===this[_0x5045e5(0x202)]?this[_0x5045e5(0x215)][_0x5045e5(0x16e)]():this[_0x5045e5(0x202)]=_0x310cae):(this[_0x5045e5(0xef)]=null,this[_0x5045e5(0x202)]=null);});}[_0xc23ae8(0x21b)](_0x268a9e){const _0x3a00ef=_0xc23ae8;do{const _0x24e2ab=_0x268a9e[_0x3a00ef(0x15c)](_0x3a00ef(0x12f));if(_0x24e2ab)return _0x24e2ab;_0x268a9e=_0x268a9e[_0x3a00ef(0x213)];}while(_0x268a9e);return null;}[_0xc23ae8(0x103)](){const _0x3c4ae7=_0xc23ae8;this[_0x3c4ae7(0x210)][_0x3c4ae7(0x1b9)][_0x3c4ae7(0x1ad)](_0x4f1b62=>{const _0x127eff=_0x3c4ae7;for(const _0x11db77 of this[_0x127eff(0x210)][_0x127eff(0x1b9)][_0x127eff(0x12b)])_0x4f1b62[_0x127eff(0x123)](_0x11db77);});}}function Q(_0x531465,_0x127ba1){return(_0x12f357,_0x4f46a7,_0x2f32eb)=>{const _0x19e520=_0x6c4e;if(!_0x2f32eb[_0x19e520(0x1eb)][_0x19e520(0x1c2)](_0x4f46a7[_0x19e520(0x207)],_0x12f357[_0x19e520(0x18c)]))return;const _0x28da0b=_0x4f46a7[_0x19e520(0x207)][_0x19e520(0x1d0)](),_0x4a5f38=_0x4f46a7[_0x19e520(0x207)][_0x19e520(0x1d9)],_0x3f6127=_0x531465[_0x19e520(0x1b9)][_0x19e520(0x1f7)];let _0x3d188b=null,_0x556620=null,_0x2bd86b=!0x1,_0x4ea929=!0x1;for(const _0x17ad80 of _0x28da0b){const _0x30ac1c=_0x17ad80[_0x19e520(0x204)];_0x2bd86b=_0x2bd86b||_0x3f6127[_0x19e520(0x115)](_0x30ac1c);const _0x4c50ed=_0x2f32eb[_0x19e520(0x1c0)][_0x19e520(0x128)](_0x30ac1c);if(_0x4c50ed&&_0x4c50ed[_0x19e520(0x1f2)](_0x19e520(0x131)))return;_0x19e520(0x163)==_0x17ad80[_0x19e520(0x1a5)]&&(_0x3f6127[_0x19e520(0x18d)](_0x30ac1c)&&!_0x3f6127[_0x19e520(0x12a)](_0x30ac1c)&&(_0x30ac1c[_0x19e520(0x159)]||_0x4a5f38[_0x19e520(0x18e)]?_0x3d188b&&_0x3d188b[_0x19e520(0x213)]==_0x30ac1c||(_0x3d188b=_0x30ac1c,_0x256888(_0x17ad80[_0x19e520(0x11b)]),_0x4ea929=!0x0):_0x556620=_0x556620||_0x17ad80[_0x19e520(0x11b)]));}function _0x256888(_0xf2bfa1){const _0x3fad5b=_0x19e520,_0x52821e=_0x2f32eb[_0x3fad5b(0x1c0)][_0x3fad5b(0x188)](_0xf2bfa1),_0x40ee80=_0x2f32eb[_0x3fad5b(0x1e6)][_0x3fad5b(0x17a)](_0x3fad5b(0x22e),{'class':_0x3fad5b(0x1fd)+_0x127ba1});_0x2f32eb[_0x3fad5b(0x1e6)][_0x3fad5b(0x19c)](_0x52821e,_0x40ee80),_0x2f32eb[_0x3fad5b(0x1c0)][_0x3fad5b(0x1fc)](_0x40ee80,_0x4f46a7[_0x3fad5b(0xfe)]);}_0x2bd86b||_0x4ea929||!_0x556620||_0x256888(_0x556620);};}export class RestoreRevisionCommand extends _0x6a6bf4{constructor(_0x5a64a7){const _0x30ee3f=_0xc23ae8;super(_0x5a64a7);const _0xae7094=_0x5a64a7[_0x30ee3f(0x191)][_0x30ee3f(0x1c3)](RevisionViewer);this[_0x30ee3f(0x184)]=!0x1,this[_0x30ee3f(0x1e1)](_0xae7094,_0x30ee3f(0x156),()=>this[_0x30ee3f(0x209)]()),this[_0x30ee3f(0x1e1)](_0xae7094,_0x30ee3f(0x1e2),()=>this[_0x30ee3f(0x209)]());}[_0xc23ae8(0x140)](){const _0x11685f=_0xc23ae8,_0x32dd07=this[_0x11685f(0x210)],_0x4557ef=_0x32dd07[_0x11685f(0x191)][_0x11685f(0x1c3)](RevisionViewer),_0x4948c2=_0x4557ef[_0x11685f(0x122)]?_0x4557ef[_0x11685f(0x19e)][_0x11685f(0x149)]:null;_0x32dd07[_0x11685f(0x217)][_0x11685f(0x1c3)](_0x11685f(0x176))[_0x11685f(0x1de)](_0x4948c2);}[_0xc23ae8(0x209)](){const _0x18c7f5=_0xc23ae8,{isReady:_0x4335f1,isEnabled:_0x348e74,repository:_0x41ef59,diff:_0x5a86a7}=this[_0x18c7f5(0x210)][_0x18c7f5(0x191)][_0x18c7f5(0x1c3)](RevisionViewer),_0xd8ebcb=_0x5a86a7&&_0x41ef59[_0x18c7f5(0x10d)](_0x5a86a7[_0x18c7f5(0x149)]);this[_0x18c7f5(0x1b7)]=_0x4335f1&&_0x348e74&&Boolean(_0xd8ebcb);}}export class ShowChangeCommand extends _0x6a6bf4{[_0xc23ae8(0x134)];constructor(_0x52de80,{direction:_0x19e5fa}){const _0x3f5b74=_0xc23ae8;super(_0x52de80);const _0x465738=_0x52de80[_0x3f5b74(0x191)][_0x3f5b74(0x1c3)](RevisionViewer);this[_0x3f5b74(0x184)]=!0x1,this[_0x3f5b74(0x134)]=_0x3f5b74(0x1f5)===_0x19e5fa?0x1:-0x1,this[_0x3f5b74(0x1e1)](_0x465738,_0x3f5b74(0x156),()=>this[_0x3f5b74(0x209)]()),this[_0x3f5b74(0x1e1)](_0x465738,_0x3f5b74(0x1e2),()=>this[_0x3f5b74(0x209)]()),this[_0x3f5b74(0x1e1)](_0x465738,_0x3f5b74(0x1f3),()=>this[_0x3f5b74(0x209)]());}[_0xc23ae8(0x140)](){const _0x386a25=_0xc23ae8,_0x4aeae7=this[_0x386a25(0x210)],_0x2454dc=_0x4aeae7[_0x386a25(0x191)][_0x386a25(0x1c3)](RevisionViewer),{isNavigationMode:_0x1f45af,currentChangeNumber:_0x2645e5}=_0x2454dc;let _0x3913d5;if(_0x2454dc[_0x386a25(0x202)]=_0x1f45af?_0x2454dc[_0x386a25(0x19e)][_0x386a25(0x12d)][_0x386a25(0x1c3)](_0x2645e5+this[_0x386a25(0x134)]):_0x2454dc[_0x386a25(0x19e)][_0x386a25(0x12d)][_0x386a25(0x13a)],_0x2454dc[_0x386a25(0x202)][_0x386a25(0x145)][_0x386a25(0x1c4)])_0x3913d5=_0x4aeae7[_0x386a25(0x142)][_0x386a25(0x16a)][_0x386a25(0x1dd)](_0x2454dc[_0x386a25(0x202)][_0x386a25(0x1c5)]);else{const _0xae4653=_0x4aeae7[_0x386a25(0x1b9)][_0x386a25(0x12b)][_0x386a25(0x1c3)](_0x386a25(0x1a3)+_0x2454dc[_0x386a25(0x202)]['id']);_0x3913d5=_0x3b1d7c(_0x4aeae7[_0x386a25(0x142)],_0xae4653);}_0x32395d({'target':_0x3913d5,'viewportOffset':0x28});}[_0xc23ae8(0x209)](){const _0x5afad5=_0xc23ae8,{isNavigationMode:_0x1f0fa8,currentChangeNumber:_0x5810db,numberOfChanges:_0x41973b,isReady:_0x209f53,isEnabled:_0x236d3f}=this[_0x5afad5(0x210)][_0x5afad5(0x191)][_0x5afad5(0x1c3)](RevisionViewer);this[_0x5afad5(0x1b7)]=!!(_0x236d3f&&_0x209f53&&_0x41973b)&&(!_0x1f0fa8||(0x1===this[_0x5afad5(0x134)]?_0x5810db<_0x41973b-0x1:_0x5810db>0x0));}}
|
|
23
|
+
const _0xf04a2f=_0x112d;function _0x1287(){const _0x27139a=['unbindElementFromMarkerName','RevisionsRepository','element:pre','_processTape','4990280CGncyl','deletions','high','string','_changeView','mouseover','ck-suggestion-marker--active','adapter','getClientRects','change:activeView','remove','removeMarker:revision-suggestion','isIncorrect','_markMismatchedRemovedTags','isObject','isRemoveSuggestion','markerNameToElements','revision:','shift','markers','nextPosition','isSuggestion','updatePosition','_joinTapes','_makeTape','schema','checkAttribute','ck-suggestion-marker-split','attributesBefore','concat','_utils','ck-suggestion-marker','delete','isCollapsed','changes','end','POSITIVE_INFINITY','currentChangeNumber','493290foPcix','2902458pagTQj','getRevisionDocumentData','destroy','revision-viewer','isRemoved','document','roots','isLimit','isPremiumPlugin','attributes','revisionHistory','_refreshStartEndIndex','diff','requires','enqueueChange','change:isReady','change','text','ck-revision-history-root-remove','ck-revision-history-root--active','elementToAttribute','deletion','element','from','isAddSuggestion','downcastDispatcher','editing','revision-suggestion','_balloon','plugins','distance','activeChange','dataToMarker','addRoot','enableReadOnlyMode','editingDowncast','detachRoot','merge','modelRange','authors','isContent','consume','revision','_fixObsoleteTags','name','_appendChild','isEqual','ck-editor__editable__overlay','compare','elementEnd','isAtStart','selection','createUIElement','listenTo','commands','findIndex','1024BreqbJ','newRevisionId','isAtEnd','softBreak','range','vid_end','WidgetToolbarRepository','vid','data-change-id','startIndex','elementStart','span','next','push','markersStart','_sortAndFilterDiffChanges','-new','getIndex','suggestion:','isInline','editor','ck-revision-history-root-','_setDistance','getItems','isOnRoot','wrap','change:isEnabled','_threeWayMerge','restoreRevisionCallback','_setChanges','markersEnd','code','right','isBlock','refresh','RevisionHistoryUtils','nextSibling','suggestion','find','object','domConverter','sort','getRootNames','type','repository','_getRevisionsRange','bind','addMarker:revision','_changeIdToChange','filter','map','markerName','isAttached','error','loadRevisionData','config','test','getDomRoot','mapper','endIndex','all','pop','_markSuggestions','isReady','has','execute','pluginName','comment','RevisionViewer','insertions','change:numberOfChanges','set','1064ZrSVzc','showNextChange','removeMarker:revision','ck-suggestion-marker-merge','_getViewForChange','target','ck-suggestion-preview-marker-','addMarker:revision-suggestion:insertion','toViewElement','toViewRange','resolve','oldRevisionId','data','return','revision-suggestion:','changeId','dataDowncast','userId','removeAttribute','addMarker:revision-suggestion:deletion','isNavigationMode','affectsData','isBefore','_cleanUp','getRoot','getWalker','ck-suggestion-preview-marker','_revisions','previousPosition','offsetSize','activeView','conversion','reconvertMarker','keys','135rbfvbd','catch','forceDisabled','getCustomProperty','_markMarkers','numberOfChanges','getAttributes','start','bindElementToMarker','pairId','markerRange','low','level','parent','_removeMissingPairs','_step','removeClass','revisionHistoryLabel','addHighlight','observeMarkers','_activeViewTarget','_initInteractions','split','revision-comment:','slice','_makeModelFromTape','index','_findChangeIdFromDomTarget','createPositionFromPath','ck-revision-history-root-add','init','addRevisionData','_update','_makeModelFromViewString','length','nodeAfter','upcast','_data','forward','hasClass','revisionHistoryAttachChange','mapViewToDom','398635TOPmET','for','createRangeIn','createRevision','diffData','locale','markerToHighlight','showPreviousChange','removeMarker','splice','forEach','markerToData','indexOf','get','8565cUNDxk','values','maxOffset','attribute:vid','isAfter','item','then','getLaterVisibleRevision','insertion','viewItem','writer','mousedown','add','consumable','addRevision','first','isEnabled','addClass','backward','attributesAfter','_cleanMarkers','startsWith','isAdded','left','view','getAttribute','3264gYzfAK','insert','side','ck-suggestion-marker-','stop','createAttributeElement','unshift','2889166eFXnSA','isOfficialPlugin','highest','setAttribute','restoreRevision','_removeUnsupportedChanges','getRevisionRootsAttributes','hasAttribute','_markInsertions','done','showStack','rootName','vid_start','model','toViewPosition','top','getRevision','includes','createRange','abs','createPositionBefore','getChild','change:activeChange','bottom','_setConversion','flat','domEvent','uiElement','clear','_getChangeFromId','attachChange','_getDiff'];_0x1287=function(){return _0x27139a;};return _0x1287();}(function(_0x579fe5,_0x155edb){const _0x4f632c=_0x112d,_0x79c475=_0x579fe5();while(!![]){try{const _0x1c1ef6=-parseInt(_0x4f632c(0x2b7))/0x1+-parseInt(_0x4f632c(0x26b))/0x2*(-parseInt(_0x4f632c(0x2df))/0x3)+-parseInt(_0x4f632c(0x223))/0x4*(-parseInt(_0x4f632c(0x2c5))/0x5)+-parseInt(_0x4f632c(0x1eb))/0x6+parseInt(_0x4f632c(0x2e6))/0x7+parseInt(_0x4f632c(0x30a))/0x8+parseInt(_0x4f632c(0x28d))/0x9*(-parseInt(_0x4f632c(0x1ea))/0xa);if(_0x1c1ef6===_0x155edb)break;else _0x79c475['push'](_0x79c475['shift']());}catch(_0xcc69fc){_0x79c475['push'](_0x79c475['shift']());}}}(_0x1287,0x695c2));import{Plugin as _0x3d2839,Command as _0x10a238}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x3bfc4c}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x555b2b}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0x467d33,ModelElement as _0x53260b,ModelText as _0x2dc888}from'ckeditor5/src/engine.js';import{Users as _0x587a87,getMarkerDomElement as _0x854639}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x3ee563}from'./ui/revisionviewer/changedetailsview.js';function _0x112d(_0x1dfaff,_0x319c33){const _0x1287f5=_0x1287();return _0x112d=function(_0x112d77,_0x216322){_0x112d77=_0x112d77-0x1df;let _0xeffa5e=_0x1287f5[_0x112d77];return _0xeffa5e;},_0x112d(_0x1dfaff,_0x319c33);}import{RevisionsRepository as _0x574a88}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x527212}from'./revisionhistoryutils.js';import{ChangeItem as _0x426e34}from'./changeitem.js';import{RevisionDiff as _0x5ca683}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x2c72db}from'es-toolkit/compat';export class RevisionViewer extends _0x3d2839{[_0xf04a2f(0x24f)];[_0xf04a2f(0x311)]=null;[_0xf04a2f(0x1e2)];[_0xf04a2f(0x2a1)];[_0xf04a2f(0x30e)];[_0xf04a2f(0x253)];[_0xf04a2f(0x207)];static get[_0xf04a2f(0x265)](){const _0x54f01e=_0xf04a2f;return _0x54f01e(0x267);}static get[_0xf04a2f(0x2e7)](){return!0x0;}static get[_0xf04a2f(0x1f3)](){return!0x0;}static get[_0xf04a2f(0x1f8)](){return[_0x587a87,_0x555b2b,_0x574a88,_0x527212];}constructor(_0x28f695){const _0x5b9197=_0xf04a2f;super(_0x28f695),this[_0x5b9197(0x24f)]=this[_0x5b9197(0x237)][_0x5b9197(0x208)][_0x5b9197(0x2c4)](_0x5b9197(0x307)),this[_0x5b9197(0x1e2)]=this[_0x5b9197(0x237)][_0x5b9197(0x208)][_0x5b9197(0x2c4)](_0x5b9197(0x246)),this[_0x5b9197(0x26a)](_0x5b9197(0x20a),null),this[_0x5b9197(0x26a)](_0x5b9197(0x289),null),this[_0x5b9197(0x2a1)]=null,this[_0x5b9197(0x26a)](_0x5b9197(0x1f7),null),this[_0x5b9197(0x26a)](_0x5b9197(0x262),!0x1),this[_0x5b9197(0x26a)](_0x5b9197(0x2d5),!0x0),this['on'](_0x5b9197(0x23d),(_0x166648,_0x2faff9,_0x1be4f5)=>{const _0xc33e1a=_0x5b9197;this[_0xc33e1a(0x20a)]=null,this[_0xc33e1a(0x289)]=null,this[_0xc33e1a(0x237)][_0xc33e1a(0x205)][_0xc33e1a(0x2dd)][_0xc33e1a(0x1fb)](_0x410734=>{const _0x145341=_0xc33e1a;for(const _0x3a03f4 of this[_0x145341(0x237)][_0x145341(0x205)][_0x145341(0x2dd)][_0x145341(0x1f0)][_0x145341(0x1f1)])_0x1be4f5?_0x410734[_0x145341(0x29d)](_0x145341(0x21a),_0x3a03f4):_0x410734[_0x145341(0x2d6)](_0x145341(0x21a),_0x3a03f4);});}),this[_0x5b9197(0x251)](_0x5b9197(0x27f))['to'](this,_0x5b9197(0x20a),_0x4fe25d=>null!==_0x4fe25d),this[_0x5b9197(0x251)](_0x5b9197(0x1e9))['to'](this,_0x5b9197(0x262),this,_0x5b9197(0x1f7),this,_0x5b9197(0x20a),(_0x5b2df4,_0x3a581d,_0x342dcb)=>_0x5b2df4&&_0x342dcb?_0x3a581d[_0x5b9197(0x1e6)][_0x5b9197(0x234)](_0x342dcb):0x0),this[_0x5b9197(0x251)](_0x5b9197(0x292))['to'](this,_0x5b9197(0x262),this,_0x5b9197(0x1f7),(_0x1baf80,_0x2901f8)=>_0x1baf80?_0x2901f8[_0x5b9197(0x1e6)][_0x5b9197(0x2af)]:0x0),this[_0x5b9197(0x30e)]=null,this[_0x5b9197(0x253)]=new Map(),this[_0x5b9197(0x207)]=this[_0x5b9197(0x237)][_0x5b9197(0x208)][_0x5b9197(0x2c4)](_0x555b2b);}[_0xf04a2f(0x2ab)](){const _0x37fc12=_0xf04a2f,_0x2e74ce=this[_0x37fc12(0x237)],_0x38e5bc=new ShowChangeCommand(_0x2e74ce,{'direction':_0x37fc12(0x2d7)}),_0x45be96=new ShowChangeCommand(_0x2e74ce,{'direction':_0x37fc12(0x2b3)});(_0x2e74ce[_0x37fc12(0x221)][_0x37fc12(0x2d1)](_0x37fc12(0x2be),_0x38e5bc),_0x2e74ce[_0x37fc12(0x221)][_0x37fc12(0x2d1)](_0x37fc12(0x26c),_0x45be96),_0x2e74ce[_0x37fc12(0x221)][_0x37fc12(0x2d1)](_0x37fc12(0x2ea),new RestoreRevisionCommand(_0x2e74ce)),this['on'](_0x37fc12(0x269),()=>{const _0x4cf7bb=_0x37fc12;_0x38e5bc[_0x4cf7bb(0x245)](),_0x45be96[_0x4cf7bb(0x245)]();}),this[_0x37fc12(0x2fe)](),this[_0x37fc12(0x2a2)](),_0x2e74ce[_0x37fc12(0x20d)](_0x37fc12(0x1ee)),_0x2e74ce[_0x37fc12(0x208)][_0x37fc12(0x263)](_0x37fc12(0x229)))&&_0x2e74ce[_0x37fc12(0x208)][_0x37fc12(0x2c4)](_0x37fc12(0x229))[_0x37fc12(0x28f)](_0x37fc12(0x1ee));}async[_0xf04a2f(0x1ec)](_0x4f38de){const _0x3fe874=_0xf04a2f;return await this[_0x3fe874(0x1e2)][_0x3fe874(0x259)](_0x4f38de,this[_0x3fe874(0x311)]),this[_0x3fe874(0x1e2)][_0x3fe874(0x1ec)](_0x4f38de);}async[_0xf04a2f(0x2ec)](_0x48e446){const _0x40f2e0=_0xf04a2f;return await this[_0x40f2e0(0x1e2)][_0x40f2e0(0x259)](_0x48e446,this[_0x40f2e0(0x311)]),this[_0x40f2e0(0x1e2)][_0x40f2e0(0x2ec)](_0x48e446);}async[_0xf04a2f(0x21b)](_0x3af4f9,_0x260b85,_0x5ed5a4=!0x1){const _0x149e6a=_0xf04a2f;if(!this[_0x149e6a(0x2d5)])return;const _0x44f829=this[_0x149e6a(0x1f7)],_0xf7107b=this[_0x149e6a(0x24f)],_0x59d036=_0x149e6a(0x30d)==typeof _0x3af4f9?_0xf7107b[_0x149e6a(0x2f6)](_0x3af4f9):_0x3af4f9,_0x2fb86d=_0x149e6a(0x30d)==typeof _0x260b85?_0xf7107b[_0x149e6a(0x2f6)](_0x260b85):_0x260b85,_0x1fe025=_0x59d036['id'],_0x4f04c1=_0x2fb86d?_0x2fb86d['id']:null;if(!_0x5ed5a4&&this[_0x149e6a(0x1f7)]&&this[_0x149e6a(0x1f7)][_0x149e6a(0x224)]===_0x1fe025&&this[_0x149e6a(0x1f7)][_0x149e6a(0x276)]===_0x4f04c1)return Promise[_0x149e6a(0x275)]();this[_0x149e6a(0x262)]=!0x1,this[_0x149e6a(0x289)]=null,this[_0x149e6a(0x20a)]=null,this[_0x149e6a(0x1f7)]=new _0x5ca683(_0x1fe025,_0x4f04c1);const _0x4f09b8=this[_0x149e6a(0x250)](_0x59d036,_0x2fb86d,!0x0)[_0x149e6a(0x255)](_0x1a4f78=>this[_0x149e6a(0x1e2)][_0x149e6a(0x259)](_0x1a4f78,this[_0x149e6a(0x311)]));return _0x4f09b8[_0x149e6a(0x230)](new Promise(_0x263b5d=>{setTimeout(_0x263b5d,0x14);})),Promise[_0x149e6a(0x25f)](_0x4f09b8)[_0x149e6a(0x2cb)](()=>{const _0xaee5f=_0x149e6a;if(!this[_0xaee5f(0x2d5)])return;this[_0xaee5f(0x282)]();const _0x1f21ec=this[_0xaee5f(0x305)](_0x1fe025,_0x4f04c1);for(const _0x4cafad of _0x1f21ec[_0xaee5f(0x1e6)])this[_0xaee5f(0x253)][_0xaee5f(0x26a)](_0x4cafad['id'],_0x4cafad);this[_0xaee5f(0x237)][_0xaee5f(0x2f3)][_0xaee5f(0x1f9)]({'isUndoable':!0x1},_0x3a38ee=>{const _0x16bcb0=_0xaee5f;for(const _0x10710c of this[_0x16bcb0(0x237)][_0x16bcb0(0x2f3)][_0x16bcb0(0x1f0)][_0x16bcb0(0x24d)]())_0x3a38ee[_0x16bcb0(0x20f)](_0x10710c);for(const _0x23bcb8 of Object[_0x16bcb0(0x28c)](_0x1f21ec[_0x16bcb0(0x2f3)])){const _0x826a35=_0x3a38ee[_0x16bcb0(0x20c)](_0x23bcb8);for(const _0x5f33e6 of Object[_0x16bcb0(0x28c)](_0x1f21ec[_0x16bcb0(0x1f4)][_0x23bcb8]))_0x3a38ee[_0x16bcb0(0x2e9)](_0x5f33e6,_0x1f21ec[_0x16bcb0(0x1f4)][_0x23bcb8][_0x5f33e6],_0x826a35);_0x3a38ee[_0x16bcb0(0x2e0)](_0x1f21ec[_0x16bcb0(0x2f3)][_0x23bcb8],_0x826a35,0x0);}}),this[_0xaee5f(0x1f7)][_0xaee5f(0x240)](this[_0xaee5f(0x232)](_0x1f21ec[_0xaee5f(0x1e6)])),this[_0xaee5f(0x262)]=!0x0;})[_0x149e6a(0x28e)](_0x13858e=>{const _0x33b08a=_0x149e6a;console[_0x33b08a(0x258)](_0x13858e),this[_0x33b08a(0x282)](),_0x44f829&&(this[_0x33b08a(0x1f7)]=_0x44f829),this[_0x33b08a(0x262)]=!0x0;});}[_0xf04a2f(0x2ac)](_0x3bb21d,_0x5ec1e2){const _0x113cc0=_0xf04a2f,_0x22d629=this[_0x113cc0(0x24f)][_0x113cc0(0x2ba)](_0x3bb21d);return _0x22d629['on'](_0x113cc0(0x2ad),(_0x304da7,_0x3128a5,_0x38d36b)=>_0x5ec1e2(_0x3128a5,_0x38d36b,_0x22d629)),this[_0x113cc0(0x24f)][_0x113cc0(0x2d3)](_0x22d629),_0x22d629;}[_0xf04a2f(0x282)](){const _0x3e527a=_0xf04a2f;this[_0x3e527a(0x20a)]=null,this[_0x3e527a(0x2d9)](),this[_0x3e527a(0x30e)]&&this[_0x3e527a(0x30e)][_0x3e527a(0x1ed)](),this[_0x3e527a(0x30e)]=null,this[_0x3e527a(0x253)][_0x3e527a(0x302)](),this[_0x3e527a(0x237)][_0x3e527a(0x2f3)][_0x3e527a(0x1f9)]({'isUndoable':!0x1},_0x3f25f4=>{const _0x52f654=_0x3e527a;for(const _0x251ea1 of this[_0x52f654(0x237)][_0x52f654(0x2f3)][_0x52f654(0x1f0)][_0x52f654(0x24d)]())_0x3f25f4[_0x52f654(0x20f)](_0x251ea1);});}[_0xf04a2f(0x232)](_0xe5683a){const _0x52a51a=_0xf04a2f,_0x5e3f4d=[],_0x1417a2=new Map();for(const _0x274b8b of this[_0x52a51a(0x237)][_0x52a51a(0x2f3)][_0x52a51a(0x1f0)][_0x52a51a(0x24d)]()){const _0x4f9011=this[_0x52a51a(0x237)][_0x52a51a(0x205)][_0x52a51a(0x2dd)][_0x52a51a(0x25c)](_0x274b8b);if(!_0x4f9011)continue;const _0xdb877b=_0x4f9011[_0x52a51a(0x312)]()[_0x52a51a(0x2ca)](0x0);_0xdb877b&&(_0x5e3f4d[_0x52a51a(0x230)](_0x274b8b),_0x1417a2[_0x52a51a(0x26a)](_0x274b8b,_0xdb877b));}return _0x5e3f4d[_0x52a51a(0x24c)]((_0x1b9ea4,_0xd3534f)=>{const _0x484591=_0x52a51a,_0x1f7eaa=_0x1417a2[_0x484591(0x2c4)](_0x1b9ea4),_0x382942=_0x1417a2[_0x484591(0x2c4)](_0xd3534f);return _0x1f7eaa['y']-_0x382942['y']||_0x1f7eaa['x']-_0x382942['x'];}),(_0xe5683a=_0xe5683a[_0x52a51a(0x254)](_0x1797a9=>_0x5e3f4d[_0x52a51a(0x2f7)](_0x1797a9[_0x52a51a(0x2f1)])))[_0x52a51a(0x24c)]((_0x13aa2a,_0x1a57d4)=>_0x5e3f4d[_0x52a51a(0x2c3)](_0x13aa2a[_0x52a51a(0x2f1)])-_0x5e3f4d[_0x52a51a(0x2c3)](_0x1a57d4[_0x52a51a(0x2f1)])),_0xe5683a;}[_0xf04a2f(0x322)](_0x3da35a){const _0x1c6c72=_0xf04a2f,_0x2aaa77=Array[_0x1c6c72(0x202)](_0x3da35a[_0x1c6c72(0x31d)])[_0x1c6c72(0x254)](([_0x4e3cfc,_0x1b36ff])=>_0x4e3cfc[_0x1c6c72(0x2da)](_0x1c6c72(0x31b))&&!_0x1b36ff[_0x1c6c72(0x1e5)]),_0xefc7ce=Array[_0x1c6c72(0x202)](this[_0x1c6c72(0x237)][_0x1c6c72(0x2f3)][_0x1c6c72(0x2b9)](_0x3da35a)[_0x1c6c72(0x284)]({'singleCharacters':!0x0}));if(0x0!=_0x2aaa77[_0x1c6c72(0x2af)])for(const _0x998ecb of _0xefc7ce){const [_0x263862,_0x23947f]=_0x2aaa77[0x0],[,_0x3db605,_0x3db680]=_0x263862[_0x1c6c72(0x2a3)](':');if(_0x23947f[_0x1c6c72(0x1e7)][_0x1c6c72(0x219)](_0x998ecb[_0x1c6c72(0x31e)])&&_0x2aaa77[_0x1c6c72(0x31c)](),(_0x998ecb[_0x1c6c72(0x287)][_0x1c6c72(0x219)](_0x23947f[_0x1c6c72(0x294)])||_0x998ecb[_0x1c6c72(0x287)][_0x1c6c72(0x2c9)](_0x23947f[_0x1c6c72(0x294)]))&&(_0x1c6c72(0x2cd)==_0x3db605?_0x998ecb[_0x1c6c72(0x2db)]={'userId':_0x3db680}:_0x1c6c72(0x200)==_0x3db605&&(_0x998ecb[_0x1c6c72(0x1ef)]={'userId':_0x3db680})),0x0==_0x2aaa77[_0x1c6c72(0x2af)])break;}return _0xefc7ce;}[_0xf04a2f(0x1f6)](_0x1ad702){const _0x335152=_0xf04a2f,_0x25a1f2=new Map();for(let _0x1f62ae=0x0;_0x1f62ae<_0x1ad702[_0x335152(0x2af)];_0x1f62ae++)_0x335152(0x1fc)===_0x1ad702[_0x1f62ae][_0x335152(0x24e)]?(_0x1ad702[_0x1f62ae][_0x335152(0x2ca)][_0x335152(0x22c)]=_0x1f62ae,_0x1ad702[_0x1f62ae][_0x335152(0x2ca)][_0x335152(0x25e)]=_0x1f62ae):(_0x335152(0x22d)===_0x1ad702[_0x1f62ae][_0x335152(0x24e)]?_0x1ad702[_0x1f62ae][_0x335152(0x2ca)][_0x335152(0x22c)]=_0x1f62ae:_0x335152(0x21c)===_0x1ad702[_0x1f62ae][_0x335152(0x24e)]&&(_0x1ad702[_0x1f62ae][_0x335152(0x2ca)][_0x335152(0x25e)]=_0x1f62ae),_0x25a1f2[_0x335152(0x26a)](_0x1ad702[_0x1f62ae]['id'],_0x1f62ae));for(const _0x57962e of _0x25a1f2[_0x335152(0x2c6)]())_0x335152(0x22d)===_0x1ad702[_0x57962e][_0x335152(0x24e)]?_0x1ad702[_0x57962e][_0x335152(0x2ca)][_0x335152(0x25e)]=_0x25a1f2[_0x335152(0x2c4)](_0x1ad702[_0x57962e][_0x335152(0x296)]):_0x335152(0x21c)===_0x1ad702[_0x57962e][_0x335152(0x24e)]&&(_0x1ad702[_0x57962e][_0x335152(0x2ca)][_0x335152(0x22c)]=_0x25a1f2[_0x335152(0x2c4)](_0x1ad702[_0x57962e][_0x335152(0x296)]));}[_0xf04a2f(0x309)](_0x3edd43){const _0x56d25c=_0xf04a2f;for(let _0x30716e=0x0;_0x30716e<_0x3edd43[_0x56d25c(0x2af)];_0x30716e++){if(_0x56d25c(0x22d)===_0x3edd43[_0x30716e][_0x56d25c(0x24e)])_0x3edd43[_0x30716e][_0x56d25c(0x2ca)][_0x56d25c(0x22c)]=_0x30716e;else{if(_0x56d25c(0x21c)===_0x3edd43[_0x30716e][_0x56d25c(0x24e)]){_0x3edd43[_0x30716e][_0x56d25c(0x2ca)][_0x56d25c(0x25e)]=_0x30716e;const _0x1f2519=_0x3edd43[_0x30716e][_0x56d25c(0x2ca)][_0x56d25c(0x22c)];_0x3edd43[_0x1f2519][_0x56d25c(0x296)]=_0x3edd43[_0x30716e]['id'],_0x3edd43[_0x30716e][_0x56d25c(0x296)]=_0x3edd43[_0x1f2519]['id'];}else _0x3edd43[_0x30716e][_0x56d25c(0x2ca)][_0x56d25c(0x22c)]=_0x30716e,_0x3edd43[_0x30716e][_0x56d25c(0x2ca)][_0x56d25c(0x25e)]=_0x30716e,_0x3edd43[_0x30716e][_0x56d25c(0x296)]=null;}_0x3edd43[_0x30716e][_0x56d25c(0x231)]||(_0x3edd43[_0x30716e][_0x56d25c(0x231)]=[],_0x3edd43[_0x30716e][_0x56d25c(0x241)]=[]);}}[_0xf04a2f(0x2ee)](_0x49eab5,_0x7e002f){const _0xdfe9c2=_0xf04a2f,_0x4bb9d4=_0x49eab5[_0xdfe9c2(0x254)](_0x518698=>!_0x518698[_0xdfe9c2(0x2db)]);for(let _0x59431b=0x0;_0x59431b<_0x7e002f[_0xdfe9c2(0x2af)];_0x59431b++)_0x7e002f[_0x59431b][_0xdfe9c2(0x2db)]&&(_0x4bb9d4[_0x59431b][_0xdfe9c2(0x2db)]=_0x7e002f[_0x59431b][_0xdfe9c2(0x2db)]);}[_0xf04a2f(0x305)](_0x6d5cdc,_0x24523d=null){const _0x3586a2=_0xf04a2f,_0x561bee=this[_0x3586a2(0x24f)][_0x3586a2(0x2f6)](_0x6d5cdc),_0x4ab8a6=_0x24523d?this[_0x3586a2(0x24f)][_0x3586a2(0x2f6)](_0x24523d):null,_0x4fe2b4=this[_0x3586a2(0x250)](_0x561bee,_0x4ab8a6),_0x53e497=_0x4fe2b4[_0x4fe2b4[_0x3586a2(0x2af)]-0x1],_0x5017bf=new Map(),_0x91ec95={'model':{},'attributes':{},'changes':[]},_0x19115d=new Set(),_0x18c836=new Map();for(let _0x33019b=_0x4fe2b4[_0x3586a2(0x2af)]-0x1;_0x33019b>=0x0;_0x33019b--){const _0x236f5d=_0x4fe2b4[_0x33019b];for(const _0x22b37f of Object[_0x3586a2(0x28c)](_0x236f5d[_0x3586a2(0x2bb)]))if(_0x236f5d[_0x3586a2(0x2bb)][_0x22b37f][_0x3586a2(0x304)]){const _0x177311=_0x236f5d[_0x3586a2(0x2bb)][_0x22b37f][_0x3586a2(0x304)];_0x177311[_0x3586a2(0x257)]?(_0x19115d[_0x3586a2(0x2d1)](_0x22b37f),_0x18c836[_0x3586a2(0x263)](_0x22b37f)&&_0x18c836[_0x3586a2(0x2c4)](_0x22b37f)[_0x3586a2(0x27c)]==_0x177311[_0x3586a2(0x27c)]?_0x18c836[_0x3586a2(0x1e4)](_0x22b37f):_0x18c836[_0x3586a2(0x26a)](_0x22b37f,_0x177311)):_0x18c836[_0x3586a2(0x263)](_0x22b37f)?(_0x19115d[_0x3586a2(0x1e4)](_0x22b37f),_0x18c836[_0x3586a2(0x1e4)](_0x22b37f)):(_0x19115d[_0x3586a2(0x2d1)](_0x22b37f),_0x18c836[_0x3586a2(0x26a)](_0x22b37f,_0x177311));}else _0x19115d[_0x3586a2(0x2d1)](_0x22b37f);}for(const _0xfdefe7 of _0x19115d){const _0x15d2d9=_0x18c836[_0x3586a2(0x263)](_0xfdefe7)&&!_0x18c836[_0x3586a2(0x2c4)](_0xfdefe7)[_0x3586a2(0x257)];let _0x138ecb=_0x15d2d9?_0x4fe2b4[_0x3586a2(0x2af)]-0x1:0x0;const _0x566f0d=_0x15d2d9?-0x1:0x1;for(;_0x4fe2b4[_0x138ecb];){const _0x164dc4=_0x4fe2b4[_0x138ecb];if(_0x164dc4[_0x3586a2(0x2bb)][_0xfdefe7]){const _0x30edef=_0x15d2d9?_0x164dc4[_0x3586a2(0x2bb)][_0xfdefe7][_0x3586a2(0x1e0)]:_0x164dc4[_0x3586a2(0x2bb)][_0xfdefe7][_0x3586a2(0x2d8)];_0x91ec95[_0x3586a2(0x1f4)][_0xfdefe7]=_0x30edef?_0x2c72db(_0x30edef):{};break;}_0x138ecb+=_0x566f0d;}}for(const _0x83545d of _0x4fe2b4){_0x83545d[_0x3586a2(0x2f3)]={};for(const _0x39eb18 of _0x83545d[_0x3586a2(0x212)])_0x5017bf[_0x3586a2(0x26a)](_0x39eb18['id'],_0x39eb18);for(const _0x180ce6 of _0x19115d){const _0x1fd53e=_0x83545d[_0x3586a2(0x2bb)][_0x180ce6]?_0x83545d[_0x3586a2(0x2bb)][_0x180ce6][_0x3586a2(0x268)]:'[]',_0x4e54bf=_0x83545d[_0x3586a2(0x2bb)][_0x180ce6]?_0x83545d[_0x3586a2(0x2bb)][_0x180ce6][_0x3586a2(0x30b)]:'[]';_0x83545d[_0x3586a2(0x2f3)][_0x180ce6]={'insertions':this[_0x3586a2(0x1e2)][_0x3586a2(0x2ae)](_0x1fd53e),'deletions':this[_0x3586a2(0x1e2)][_0x3586a2(0x2ae)](_0x4e54bf)};}}for(const _0x79eb80 of _0x19115d){let _0x5b8a2b=null,_0x17e942=0x0;const _0x512235=new Map(Array[_0x3586a2(0x202)](_0x561bee[_0x3586a2(0x2f3)][_0x79eb80][_0x3586a2(0x268)][_0x3586a2(0x31d)])[_0x3586a2(0x254)](([_0x4a701e])=>!_0x4a701e[_0x3586a2(0x2da)](_0x3586a2(0x31b))));let _0x456a76=0x0;for(const _0x6a3e38 of _0x4fe2b4){const _0x743a5c=this[_0x3586a2(0x322)](_0x6a3e38[_0x3586a2(0x2f3)][_0x79eb80][_0x3586a2(0x268)]);_0x6a3e38==_0x561bee?(_0x5b8a2b=_0x743a5c,_0x17e942=_0x5b8a2b[_0x3586a2(0x2af)],_0x5b8a2b[_0x3586a2(0x2c1)](_0x43de5b=>{_0x43de5b['id']=_0x456a76++;}),this[_0x3586a2(0x309)](_0x5b8a2b)):this[_0x3586a2(0x2ee)](_0x5b8a2b,_0x743a5c);const _0x4b7b81=_0x5b8a2b[_0x3586a2(0x254)](_0x21a111=>!_0x21a111[_0x3586a2(0x2db)])[_0x3586a2(0x255)](_0x21fab2=>_0x21fab2['id']);let _0x1d404e=0x0;const _0x57a837=this[_0x3586a2(0x322)](_0x6a3e38[_0x3586a2(0x2f3)][_0x79eb80][_0x3586a2(0x30b)]);_0x57a837[_0x3586a2(0x2c1)](_0x122ae8=>{const _0x2f49b7=_0x3586a2;_0x122ae8[_0x2f49b7(0x1ef)]?_0x122ae8['id']=_0x17e942++:_0x122ae8['id']=_0x4b7b81[_0x1d404e++];}),this[_0x3586a2(0x309)](_0x57a837),this[_0x3586a2(0x239)](_0x5b8a2b,_0x3586a2(0x2db)),this[_0x3586a2(0x239)](_0x57a837,_0x3586a2(0x1ef)),_0x6a3e38==_0x561bee&&this[_0x3586a2(0x291)](_0x5b8a2b,_0x512235),_0x5b8a2b=this[_0x3586a2(0x321)](_0x5b8a2b,_0x57a837),this[_0x3586a2(0x1f6)](_0x5b8a2b),this[_0x3586a2(0x239)](_0x5b8a2b,_0x3586a2(0x1ef));}_0x5b8a2b=_0x5b8a2b[_0x3586a2(0x254)](_0x269374=>!(_0x269374[_0x3586a2(0x2db)]&&_0x269374[_0x3586a2(0x1ef)]));const _0x511674=new Map(_0x53e497[_0x3586a2(0x2f3)][_0x79eb80][_0x3586a2(0x30b)][_0x3586a2(0x31d)]),_0x4549e9=new Set(_0x512235[_0x3586a2(0x28c)]());for(const _0xcd4da of _0x511674[_0x3586a2(0x28c)]())_0x4549e9[_0x3586a2(0x1e4)](_0xcd4da);this[_0x3586a2(0x261)](_0x5b8a2b,_0x4549e9),this[_0x3586a2(0x216)](_0x5b8a2b),_0x5b8a2b=this[_0x3586a2(0x29b)](_0x5b8a2b),_0x5b8a2b=this[_0x3586a2(0x317)](_0x5b8a2b),_0x5b8a2b=this[_0x3586a2(0x2eb)](_0x5b8a2b);const {root:_0x225b0,changes:_0x289098}=this[_0x3586a2(0x2a6)](_0x5b8a2b,_0x5017bf,_0x79eb80);_0x91ec95[_0x3586a2(0x2f3)][_0x79eb80]=_0x225b0;const _0x317fd5=_0x18c836[_0x3586a2(0x2c4)](_0x79eb80);if(_0x317fd5){const _0x4a51bf=_0x5017bf[_0x3586a2(0x2c4)](_0x317fd5[_0x3586a2(0x27c)]),_0x90827e=new _0x426e34({'author':_0x4a51bf,'type':_0x317fd5[_0x3586a2(0x257)]?_0x3586a2(0x2d1):_0x3586a2(0x314),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x79eb80});_0x289098[_0x3586a2(0x2e5)](_0x90827e),_0x91ec95[_0x3586a2(0x1f4)][_0x79eb80][_0x3586a2(0x2b5)]=_0x90827e['id'];}_0x91ec95[_0x3586a2(0x1e6)]=_0x91ec95[_0x3586a2(0x1e6)][_0x3586a2(0x1e1)](_0x289098);}return _0x91ec95;}[_0xf04a2f(0x291)](_0x3ea7a4,_0x5b16c3){const _0x2ed54d=_0xf04a2f;for(let _0x4d7653=0x0;_0x4d7653<_0x3ea7a4[_0x2ed54d(0x2af)];_0x4d7653++)for(const [_0x1480df,_0x3891ec]of _0x5b16c3)!_0x3891ec[_0x2ed54d(0x1e5)]&&_0x3891ec[_0x2ed54d(0x294)][_0x2ed54d(0x219)](_0x3ea7a4[_0x4d7653][_0x2ed54d(0x287)])&&_0x3ea7a4[_0x4d7653][_0x2ed54d(0x231)][_0x2ed54d(0x230)](_0x1480df),_0x3891ec[_0x2ed54d(0x1e7)][_0x2ed54d(0x219)](_0x3ea7a4[_0x4d7653][_0x2ed54d(0x31e)])&&_0x3ea7a4[_0x4d7653][_0x2ed54d(0x241)][_0x2ed54d(0x230)](_0x1480df);}[_0xf04a2f(0x321)](_0x5e9eae,_0xe8189c){const _0x2a50db=_0xf04a2f;let _0xb963d9=[],_0x3f3894=0x0,_0x430c68=0x0;for(;_0x3f3894<_0x5e9eae[_0x2a50db(0x2af)]||_0x430c68<_0xe8189c[_0x2a50db(0x2af)];){const _0x1242f1=_0x5e9eae[_0x3f3894]||{},_0x56a20d=_0xe8189c[_0x430c68]||{};if(_0x1242f1['id']==_0x56a20d['id'])_0x3f3894++,_0x430c68++,_0xb963d9[_0x2a50db(0x230)](_0x1242f1);else{if(_0x56a20d[_0x2a50db(0x1ef)]&&_0x1242f1[_0x2a50db(0x2db)]){const {commonTape:_0x1eb263,iEnd:_0x59b423,jEnd:_0xaf640b}=this[_0x2a50db(0x23e)](_0x5e9eae,_0x3f3894,_0xe8189c,_0x430c68);_0xb963d9=_0xb963d9[_0x2a50db(0x1e1)](_0x1eb263),_0x3f3894=_0x59b423,_0x430c68=_0xaf640b;}else _0x56a20d[_0x2a50db(0x1ef)]?(_0x430c68++,_0xb963d9[_0x2a50db(0x230)](_0x56a20d)):(_0x3f3894++,_0xb963d9[_0x2a50db(0x230)](_0x1242f1));}}return _0xb963d9;}[_0xf04a2f(0x261)](_0x30ac22,_0x396ce4){const _0x996e76=_0xf04a2f,_0x1f5f90=[];for(let _0x590788=0x0;_0x590788<_0x30ac22[_0x996e76(0x2af)];_0x590788++){for(let _0x3a2a11=0x0;_0x3a2a11<_0x30ac22[_0x590788][_0x996e76(0x231)][_0x996e76(0x2af)];_0x3a2a11++){const _0x24304d=_0x30ac22[_0x590788][_0x996e76(0x231)][_0x3a2a11];if(!_0x396ce4[_0x996e76(0x263)](_0x24304d))continue;const {group:_0x2e49e1,type:_0x2c0de7,authorId:_0x26121d}=_0x2cc7c0(_0x24304d);_0x996e76(0x206)!=_0x2e49e1||_0x996e76(0x2cd)!=_0x2c0de7&&_0x996e76(0x200)!=_0x2c0de7||(_0x1f5f90[_0x996e76(0x2e5)]({'type':_0x2c0de7,'name':_0x24304d,'userId':_0x26121d}),_0x30ac22[_0x590788][_0x996e76(0x231)][_0x996e76(0x2c0)](_0x3a2a11,0x1),_0x3a2a11--);}_0x7c7c64(_0x30ac22[_0x590788]);for(let _0x3200d5=0x0;_0x3200d5<_0x30ac22[_0x590788][_0x996e76(0x241)][_0x996e76(0x2af)];_0x3200d5++){const _0x3fd5dd=_0x30ac22[_0x590788][_0x996e76(0x241)][_0x3200d5];if(!_0x396ce4[_0x996e76(0x263)](_0x3fd5dd))continue;const {group:_0x413bed,type:_0x726e8d}=_0x2cc7c0(_0x3fd5dd);if(_0x996e76(0x206)!=_0x413bed||_0x996e76(0x2cd)!=_0x726e8d&&_0x996e76(0x200)!=_0x726e8d)continue;_0x30ac22[_0x590788][_0x996e76(0x241)][_0x996e76(0x2c0)](_0x3200d5,0x1),_0x3200d5--;const _0x202073=_0x1f5f90[_0x996e76(0x222)](_0x190ce3=>_0x190ce3[_0x996e76(0x217)]==_0x3fd5dd);_0x202073>-0x1&&_0x1f5f90[_0x996e76(0x2c0)](_0x202073,0x1);}}function _0x2cc7c0(_0x454214){const _0x4a3f3d=_0x996e76,_0x3c263d=_0x454214[_0x4a3f3d(0x2a3)](':');return{'group':_0x3c263d[0x0],'type':_0x3c263d[0x1],'subType':_0x3c263d[_0x4a3f3d(0x2af)]>=0x5?_0x3c263d[0x2]:null,'id':_0x3c263d[_0x4a3f3d(0x2af)]<0x5?_0x3c263d[0x2]:_0x3c263d[0x3],'authorId':_0x3c263d[_0x4a3f3d(0x2af)]<0x5?_0x3c263d[0x3]:_0x3c263d[0x4],'markerCount':0x6==_0x3c263d[_0x4a3f3d(0x2af)]?_0x3c263d[0x5]:null};}function _0x7c7c64(_0x5d08f5){const _0x4733a0=_0x996e76;for(let _0x2df8b4=0x0;_0x2df8b4<_0x1f5f90[_0x4733a0(0x2af)];_0x2df8b4++){if(_0x5d08f5[_0x4733a0(0x2db)]&&_0x4733a0(0x2cd)==_0x1f5f90[_0x2df8b4][_0x4733a0(0x24e)]&&_0x5d08f5[_0x4733a0(0x2db)][_0x4733a0(0x27c)]==_0x1f5f90[_0x2df8b4][_0x4733a0(0x27c)])return _0x5d08f5[_0x4733a0(0x203)]=_0x1f5f90[_0x2df8b4],void delete _0x5d08f5[_0x4733a0(0x2db)];if(!_0x5d08f5[_0x4733a0(0x2db)]&&!_0x5d08f5[_0x4733a0(0x1ef)]&&_0x4733a0(0x200)==_0x1f5f90[_0x2df8b4][_0x4733a0(0x24e)])return void(_0x5d08f5[_0x4733a0(0x319)]=_0x1f5f90[_0x2df8b4]);}}}[_0xf04a2f(0x239)](_0x5e7038,_0x10f9f2){const _0x1559d1=_0xf04a2f;let _0x14a792=0x0,_0x3b1b5e=!0x1;const _0x1ebac7=new Map();for(const _0x5aed5e of _0x5e7038)_0x5aed5e[_0x10f9f2]?_0x3b1b5e&&(_0x14a792++,_0x3b1b5e=!0x1):(_0x14a792++,_0x3b1b5e=!0x0),_0x1ebac7[_0x1559d1(0x26a)](_0x5aed5e['id'],_0x14a792);for(let _0x332782=0x0;_0x332782<_0x5e7038[_0x1559d1(0x2af)];_0x332782++){if(_0x1559d1(0x1ef)==_0x10f9f2&&_0x5e7038[_0x332782][_0x1559d1(0x2db)]||_0x1559d1(0x2db)==_0x10f9f2&&_0x5e7038[_0x332782][_0x1559d1(0x1ef)])continue;if(_0x1559d1(0x1fc)==_0x5e7038[_0x332782][_0x1559d1(0x24e)]){_0x5e7038[_0x332782][_0x1559d1(0x209)]=0x0;continue;}const _0x25ad4d=_0x1ebac7[_0x1559d1(0x2c4)](_0x5e7038[_0x332782][_0x1559d1(0x296)]),_0x5c9489=_0x1ebac7[_0x1559d1(0x2c4)](_0x5e7038[_0x332782]['id']);_0x5e7038[_0x332782][_0x1559d1(0x209)]=_0x25ad4d-_0x5c9489;}}[_0xf04a2f(0x250)](_0xeec7d7,_0x4f9552,_0x1e1d43=!0x1){const _0x18c4c1=_0xf04a2f,_0x5d1547=[];let _0x1848b3=this[_0x18c4c1(0x24f)][_0x18c4c1(0x234)](_0xeec7d7),_0xd7ec6e=this[_0x18c4c1(0x24f)][_0x18c4c1(0x234)](_0x4f9552);for(-0x1==_0xd7ec6e&&(_0xd7ec6e=this[_0x18c4c1(0x24f)][_0x18c4c1(0x286)][_0x18c4c1(0x2af)],_0x1e1d43=!0x1);_0x1848b3<_0xd7ec6e;)_0x5d1547[_0x18c4c1(0x230)](this[_0x18c4c1(0x24f)][_0x18c4c1(0x2f6)](_0x1848b3)),_0x1848b3++;return _0x1e1d43&&_0x5d1547[_0x18c4c1(0x230)](this[_0x18c4c1(0x24f)][_0x18c4c1(0x2f6)](_0x1848b3)),_0x5d1547;}[_0xf04a2f(0x23e)](_0x48516b,_0x4c2197,_0x56d031,_0x344df8){const _0x5cc804=_0xf04a2f,_0x2e8c8c=this[_0x5cc804(0x237)][_0x5cc804(0x2f3)][_0x5cc804(0x323)];let _0x38cfff=_0x4c2197;for(;_0x48516b[_0x38cfff]&&_0x48516b[_0x38cfff][_0x5cc804(0x2db)];)_0x38cfff++;let _0x2b23a=_0x344df8;for(;_0x56d031[_0x2b23a]&&_0x56d031[_0x2b23a][_0x5cc804(0x1ef)];)_0x2b23a++;_0x509628(_0x48516b,_0x4c2197,_0x38cfff),_0x509628(_0x56d031,_0x344df8,_0x2b23a);const _0x5347cd=_0x56d031[_0x5cc804(0x2a5)](_0x344df8,_0x2b23a)[_0x5cc804(0x1e1)](_0x48516b[_0x5cc804(0x2a5)](_0x4c2197,_0x38cfff));return _0x5347cd[_0x5cc804(0x24c)]((_0x1038ba,_0x4d3363)=>_0x1038ba[_0x5cc804(0x2e1)]!=_0x4d3363[_0x5cc804(0x2e1)]?_0x1038ba[_0x5cc804(0x2e1)]-_0x4d3363[_0x5cc804(0x2e1)]:_0x1038ba[_0x5cc804(0x299)]!=_0x4d3363[_0x5cc804(0x299)]?_0x1038ba[_0x5cc804(0x299)]-_0x4d3363[_0x5cc804(0x299)]:_0x1038ba[_0x5cc804(0x209)]!=_0x4d3363[_0x5cc804(0x209)]?_0x4d3363[_0x5cc804(0x209)]-_0x1038ba[_0x5cc804(0x209)]:!!_0x1038ba[_0x5cc804(0x2db)]!=!!_0x4d3363[_0x5cc804(0x2db)]?-0x1==_0x1038ba[_0x5cc804(0x2e1)]||0x0==_0x1038ba[_0x5cc804(0x2e1)]?_0x1038ba[_0x5cc804(0x2db)]?-0x1:0x1:_0x1038ba[_0x5cc804(0x2db)]?0x1:-0x1:_0x1038ba[_0x5cc804(0x2a7)]-_0x4d3363[_0x5cc804(0x2a7)]),{'commonTape':_0x5347cd,'iEnd':_0x38cfff,'jEnd':_0x2b23a};function _0x509628(_0x5ef5e2,_0x348ef2,_0x14fe4e){const _0x4d3e13=_0x5cc804;let _0xdb06c6=-0x1,_0x4c8128=Number[_0x4d3e13(0x1e8)],_0x252a4d=!0x0;for(let _0x33ef38=_0x348ef2;_0x33ef38<_0x14fe4e;_0x33ef38++)if(_0x2e8c8c[_0x4d3e13(0x236)](_0x5ef5e2[_0x33ef38][_0x4d3e13(0x2ca)])||(_0x252a4d=!0x1),_0x5ef5e2[_0x33ef38][_0x4d3e13(0x2ca)][_0x4d3e13(0x22c)]<_0x348ef2&&(_0xdb06c6=_0x33ef38),_0x5ef5e2[_0x33ef38][_0x4d3e13(0x2ca)][_0x4d3e13(0x25e)]>=_0x14fe4e){_0x4c8128=_0x33ef38;break;}_0x252a4d&&(_0xdb06c6=_0x14fe4e-0x1);for(let _0x347f98=_0x348ef2;_0x347f98<_0x14fe4e;_0x347f98++)_0x5ef5e2[_0x347f98][_0x4d3e13(0x2e1)]=_0x347f98<=_0xdb06c6?-0x1:_0x347f98<_0x4c8128?0x0:0x1,_0x5ef5e2[_0x347f98][_0x4d3e13(0x2a7)]=_0x347f98;let _0x449122=0x0;for(let _0x23b614=_0x348ef2;_0x23b614<=_0xdb06c6;_0x23b614++)0x0==_0x5ef5e2[_0x23b614][_0x4d3e13(0x209)]?_0x5ef5e2[_0x23b614][_0x4d3e13(0x299)]=_0x449122:(_0x449122++,_0x5ef5e2[_0x23b614][_0x4d3e13(0x299)]=_0x449122,_0x449122++);for(let _0x52fa38=_0x348ef2;_0x52fa38<_0x14fe4e;_0x52fa38++)0x0==_0x5ef5e2[_0x52fa38][_0x4d3e13(0x2e1)]&&(_0x5ef5e2[_0x52fa38][_0x4d3e13(0x299)]=_0x449122);_0x449122=0x0;for(let _0x5cea26=_0x14fe4e-0x1;_0x5cea26>=_0x4c8128;_0x5cea26--)0x0==_0x5ef5e2[_0x5cea26][_0x4d3e13(0x209)]?_0x5ef5e2[_0x5cea26][_0x4d3e13(0x299)]=_0x449122:(_0x449122--,_0x5ef5e2[_0x5cea26][_0x4d3e13(0x299)]=_0x449122,_0x449122--);}}[_0xf04a2f(0x216)](_0xdad92a){const _0x509277=_0xf04a2f,_0x1dd377=new Map(),_0x2f9806=this[_0x509277(0x237)][_0x509277(0x2f3)][_0x509277(0x323)];for(let _0x5a6aea=0x1;_0x5a6aea<_0xdad92a[_0x509277(0x2af)];_0x5a6aea++){let _0x5d63ea,_0x126be0,_0x4e0f82;const _0x3454b1=_0xdad92a[_0x5a6aea],_0xe0ebdd=_0xdad92a[_0x5a6aea-0x1];if(_0x509277(0x1fc)==_0x3454b1[_0x509277(0x24e)])continue;if(_0x3454b1[_0x509277(0x24e)]!=_0xe0ebdd[_0x509277(0x24e)])continue;if(!_0x2f9806[_0x509277(0x244)](_0xe0ebdd[_0x509277(0x2ca)])||_0x2f9806[_0x509277(0x1f2)](_0xe0ebdd[_0x509277(0x2ca)]))continue;if(!_0x2f9806[_0x509277(0x244)](_0x3454b1[_0x509277(0x2ca)])||_0x2f9806[_0x509277(0x1f2)](_0x3454b1[_0x509277(0x2ca)]))continue;if((_0xdad92a[_0x5a6aea][_0x509277(0x2db)]||_0xdad92a[_0x5a6aea][_0x509277(0x203)])&&_0xdad92a[_0x5a6aea-0x1][_0x509277(0x1ef)])_0x5d63ea=_0xdad92a[_0x5a6aea],_0x126be0=_0xdad92a[_0x5a6aea-0x1],_0x4e0f82=_0x5a6aea-0x1;else{if(!_0xdad92a[_0x5a6aea][_0x509277(0x1ef)]||!_0xdad92a[_0x5a6aea-0x1][_0x509277(0x2db)]&&!_0xdad92a[_0x5a6aea-0x1][_0x509277(0x203)])continue;_0x5d63ea=_0xdad92a[_0x5a6aea-0x1],_0x126be0=_0xdad92a[_0x5a6aea],_0x4e0f82=_0x5a6aea;}const _0x1eeeed=_0x5d63ea[_0x509277(0x299)]==_0x126be0[_0x509277(0x299)],_0x279f57=Math[_0x509277(0x2f9)](_0x5d63ea[_0x509277(0x299)])<Math[_0x509277(0x2f9)](_0x126be0[_0x509277(0x299)])&&0x0==_0x126be0[_0x509277(0x209)];(_0x1eeeed||_0x279f57)&&(_0x1dd377[_0x509277(0x26a)](_0x126be0['id'],_0x5d63ea['id']),_0xdad92a[_0x509277(0x2c0)](_0x4e0f82,0x1),_0x5a6aea--,_0x5d63ea[_0x509277(0x2db)]=!0x1);}for(let _0x4a2c06=0x0;_0x4a2c06<_0xdad92a[_0x509277(0x2af)];_0x4a2c06++)_0x1dd377[_0x509277(0x263)](_0xdad92a[_0x4a2c06][_0x509277(0x296)])&&(_0xdad92a[_0x4a2c06][_0x509277(0x296)]=_0x1dd377[_0x509277(0x2c4)](_0xdad92a[_0x4a2c06][_0x509277(0x296)]));}[_0xf04a2f(0x29b)](_0x47b5e5){const _0xf4a3bd=_0xf04a2f,_0x3994f0=new Set(_0x47b5e5[_0xf4a3bd(0x255)](_0x12ccd5=>_0x12ccd5['id']));for(let _0x8054c7=0x0;_0x8054c7<_0x47b5e5[_0xf4a3bd(0x2af)];_0x8054c7++)_0x3994f0[_0xf4a3bd(0x263)](_0x47b5e5[_0x8054c7][_0xf4a3bd(0x296)])||0x0==_0x47b5e5[_0x8054c7][_0xf4a3bd(0x209)]||(_0x47b5e5[_0x8054c7][_0xf4a3bd(0x316)]=!0x0);return _0x47b5e5[_0xf4a3bd(0x254)](_0x17de4d=>!_0x17de4d[_0xf4a3bd(0x316)]);}[_0xf04a2f(0x317)](_0x5a4180){const _0x5e697a=_0xf04a2f,_0x3240b9=new Set();for(let _0x10b9d3=0x0;_0x10b9d3<_0x5a4180[_0x5e697a(0x2af)];_0x10b9d3++){if(_0x3240b9[_0x5e697a(0x263)](_0x5a4180[_0x10b9d3]['id'])&&_0x5a4180[_0x10b9d3][_0x5e697a(0x1ef)]&&(_0x5a4180[_0x10b9d3][_0x5e697a(0x316)]=!0x0),_0x5a4180[_0x10b9d3][_0x5e697a(0x316)])continue;if(0x0==_0x5a4180[_0x10b9d3][_0x5e697a(0x209)])continue;if(_0x5e697a(0x22d)!=_0x5a4180[_0x10b9d3][_0x5e697a(0x24e)])continue;if(null==_0x5a4180[_0x10b9d3][_0x5e697a(0x296)])continue;let _0x8e53dd=_0x10b9d3+0x1,_0x4f4949=0x0;for(;_0x5a4180[_0x8e53dd]['id']!=_0x5a4180[_0x10b9d3][_0x5e697a(0x296)];)_0x5e697a(0x22d)==_0x5a4180[_0x8e53dd][_0x5e697a(0x24e)]?_0x4f4949++:_0x5e697a(0x21c)==_0x5a4180[_0x8e53dd][_0x5e697a(0x24e)]&&_0x4f4949--,_0x8e53dd++;if(0x0!=_0x4f4949){if(_0x5a4180[_0x10b9d3][_0x5e697a(0x1ef)])_0x5a4180[_0x10b9d3][_0x5e697a(0x316)]=!0x0;else{for(;_0x8e53dd!=_0x10b9d3;)_0x5a4180[_0x8e53dd][_0x5e697a(0x1ef)]&&0x0!=_0x5a4180[_0x8e53dd][_0x5e697a(0x209)]&&(_0x5a4180[_0x8e53dd][_0x5e697a(0x316)]=!0x0,_0x3240b9[_0x5e697a(0x2d1)](_0x5a4180[_0x8e53dd][_0x5e697a(0x296)])),_0x8e53dd--;}}}return _0x5a4180[_0x5e697a(0x254)](_0x17c15b=>!_0x17c15b[_0x5e697a(0x316)]);}[_0xf04a2f(0x2eb)](_0x45ae82){const _0x151801=_0xf04a2f,_0x5d436b=this[_0x151801(0x237)][_0x151801(0x2f3)][_0x151801(0x323)];for(let _0x46942f=0x0;_0x46942f<_0x45ae82[_0x151801(0x2af)];_0x46942f++){if(!(_0x45ae82[_0x46942f][_0x151801(0x2db)]||_0x45ae82[_0x46942f][_0x151801(0x203)]||_0x45ae82[_0x46942f][_0x151801(0x1ef)]||_0x45ae82[_0x46942f][_0x151801(0x319)]))continue;if(0x0==_0x45ae82[_0x46942f][_0x151801(0x209)])continue;const _0x2f26c3=_0x45ae82[_0x46942f][_0x151801(0x2ca)];_0x5d436b[_0x151801(0x244)](_0x2f26c3)||_0x5d436b[_0x151801(0x1f2)](_0x2f26c3)||(_0x45ae82[_0x46942f][_0x151801(0x2db)]&&delete _0x45ae82[_0x46942f][_0x151801(0x2db)],_0x45ae82[_0x46942f][_0x151801(0x203)]&&delete _0x45ae82[_0x46942f][_0x151801(0x203)],_0x45ae82[_0x46942f][_0x151801(0x319)]&&delete _0x45ae82[_0x46942f][_0x151801(0x319)],_0x45ae82[_0x46942f][_0x151801(0x1ef)]&&(_0x45ae82[_0x46942f][_0x151801(0x316)]=!0x0));}return _0x45ae82[_0x151801(0x254)](_0x37bb92=>!_0x37bb92[_0x151801(0x316)]);}[_0xf04a2f(0x2a6)](_0x296676,_0x41bcc1,_0x39afa0){const _0x49f26f=_0xf04a2f,_0x263f5b=new _0x467d33(),_0x546a30=[],_0x955610=new Map(),_0x309f61=this[_0x49f26f(0x237)][_0x49f26f(0x2f3)],_0x16f1b1=_0x309f61[_0x49f26f(0x323)],_0x16d934=[_0x263f5b],_0x361add={},_0x4209b3={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x8ed7af=null;const _0x2f63d9=[0x0];for(let _0x32ecf0=0x0;_0x32ecf0<_0x296676[_0x49f26f(0x2af)];_0x32ecf0++)if(_0x49f26f(0x22d)===_0x296676[_0x32ecf0][_0x49f26f(0x24e)]){_0x296676[_0x32ecf0][_0x49f26f(0x287)]=_0x309f61[_0x49f26f(0x2a9)](_0x263f5b,_0x2f63d9);const _0x4850c7=new _0x53260b(_0x296676[_0x32ecf0][_0x49f26f(0x2ca)][_0x49f26f(0x217)],_0x296676[_0x32ecf0][_0x49f26f(0x2ca)][_0x49f26f(0x293)]());_0x16d934[0x0][_0x49f26f(0x218)](_0x4850c7),_0x2f63d9[_0x49f26f(0x230)](0x0),_0x16d934[_0x49f26f(0x2e5)](_0x4850c7),_0x296676[_0x32ecf0][_0x49f26f(0x31e)]=_0x309f61[_0x49f26f(0x2a9)](_0x263f5b,_0x2f63d9);}else _0x49f26f(0x21c)===_0x296676[_0x32ecf0][_0x49f26f(0x24e)]?(_0x16d934[_0x49f26f(0x31c)](),_0x296676[_0x32ecf0][_0x49f26f(0x287)]=_0x309f61[_0x49f26f(0x2a9)](_0x263f5b,_0x2f63d9),_0x2f63d9[_0x49f26f(0x260)](),_0x2f63d9[_0x2f63d9[_0x49f26f(0x2af)]-0x1]++,_0x296676[_0x32ecf0][_0x49f26f(0x31e)]=_0x309f61[_0x49f26f(0x2a9)](_0x263f5b,_0x2f63d9)):(_0x296676[_0x32ecf0][_0x49f26f(0x287)]=_0x309f61[_0x49f26f(0x2a9)](_0x263f5b,_0x2f63d9),_0x8ed7af?_0x8ed7af[_0x49f26f(0x2b2)]+=_0x296676[_0x32ecf0][_0x49f26f(0x2ca)][_0x49f26f(0x277)]:_0x8ed7af=new _0x2dc888(_0x296676[_0x32ecf0][_0x49f26f(0x2ca)][_0x49f26f(0x277)],_0x296676[_0x32ecf0][_0x49f26f(0x2ca)][_0x49f26f(0x293)]()),_0x296676[_0x32ecf0+0x1]&&_0x49f26f(0x1fc)===_0x296676[_0x32ecf0+0x1][_0x49f26f(0x24e)]&&_0x406dd7(_0x8ed7af,_0x296676[_0x32ecf0+0x1][_0x49f26f(0x2ca)])||(_0x16d934[0x0][_0x49f26f(0x218)](_0x8ed7af),_0x8ed7af=null),_0x2f63d9[_0x2f63d9[_0x49f26f(0x2af)]-0x1]+=_0x296676[_0x32ecf0][_0x49f26f(0x2ca)][_0x49f26f(0x288)],_0x296676[_0x32ecf0][_0x49f26f(0x31e)]=_0x309f61[_0x49f26f(0x2a9)](_0x263f5b,_0x2f63d9));for(let _0x51ab98=0x0;_0x51ab98<_0x296676[_0x49f26f(0x2af)];_0x51ab98++){const _0x34311d=_0x296676[_0x51ab98][_0x49f26f(0x287)],_0xe9941a=_0x296676[_0x51ab98][_0x49f26f(0x31e)];for(const _0x6f239f of _0x296676[_0x51ab98][_0x49f26f(0x231)])_0x955610[_0x49f26f(0x26a)](_0x6f239f,{'start':_0x34311d,'end':null});_0x333af2(_0x49f26f(0x319),_0x51ab98,_0x34311d,_0xe9941a),_0x333af2(_0x49f26f(0x203),_0x51ab98,_0x34311d,_0xe9941a),_0x333af2(_0x49f26f(0x1ef),_0x51ab98,_0x34311d,_0xe9941a),_0x333af2(_0x49f26f(0x2db),_0x51ab98,_0x34311d,_0xe9941a);for(const _0x4ec8cb of _0x296676[_0x51ab98][_0x49f26f(0x241)]){const _0x1da378=_0x955610[_0x49f26f(0x2c4)](_0x4ec8cb);_0x1da378?_0x1da378[_0x49f26f(0x1e7)]=_0xe9941a:_0x955610[_0x49f26f(0x26a)](_0x4ec8cb,{'start':_0xe9941a,'end':_0xe9941a});}}for(const [_0x472884,_0x11d26c]of _0x955610){const _0x5220dd=this[_0x49f26f(0x237)][_0x49f26f(0x2f3)][_0x49f26f(0x2f8)](_0x11d26c[_0x49f26f(0x294)],_0x11d26c[_0x49f26f(0x1e7)]);_0x263f5b[_0x49f26f(0x31d)][_0x49f26f(0x26a)](_0x472884,_0x5220dd);}return _0x546a30[_0x49f26f(0x24c)]((_0x4fc1f3,_0x1bd752)=>{const _0x3b8ea8=_0x49f26f,_0x511f7f=_0x263f5b[_0x3b8ea8(0x31d)][_0x3b8ea8(0x2c4)](_0x3b8ea8(0x31b)+_0x4fc1f3['id']),_0x219880=_0x263f5b[_0x3b8ea8(0x31d)][_0x3b8ea8(0x2c4)](_0x3b8ea8(0x31b)+_0x1bd752['id']);return _0x511f7f[_0x3b8ea8(0x294)][_0x3b8ea8(0x281)](_0x219880[_0x3b8ea8(0x294)])?-0x1:_0x511f7f[_0x3b8ea8(0x294)][_0x3b8ea8(0x2c9)](_0x219880[_0x3b8ea8(0x294)])?0x1:_0x511f7f[_0x3b8ea8(0x1e7)][_0x3b8ea8(0x281)](_0x219880[_0x3b8ea8(0x1e7)])?-0x1:_0x511f7f[_0x3b8ea8(0x1e7)][_0x3b8ea8(0x2c9)](_0x219880[_0x3b8ea8(0x1e7)])?0x1:_0x3b8ea8(0x2d1)===_0x4fc1f3[_0x3b8ea8(0x24e)]?-0x1:0x1;}),{'root':_0x263f5b,'changes':_0x546a30};function _0x333af2(_0x4690e3,_0x383688,_0x4157cf,_0x372168){const _0x81f171=_0x49f26f,_0x34a11c=!!_0x296676[_0x383688][_0x4690e3],_0x36a617=_0x34a11c?_0x296676[_0x383688][_0x4690e3][_0x81f171(0x27c)]:null,_0xa2c667=_0x383688===_0x296676[_0x81f171(0x2af)]-0x1,_0x294bc6=_0x4209b3[_0x4690e3][0x0],_0x349053=_0x16f1b1[_0x81f171(0x318)](_0x296676[_0x383688][_0x81f171(0x2ca)]);!_0x361add[_0x4690e3]&&_0x34a11c?_0x361add[_0x4690e3]={'start':_0x4157cf,'tapeItem':_0x296676[_0x383688],'userId':_0x36a617,'type':_0x4690e3}:_0x361add[_0x4690e3]&&!_0x34a11c?(_0x361add[_0x4690e3][_0x81f171(0x1e7)]=_0x4157cf,_0x34c231(_0x361add[_0x4690e3]),_0x361add[_0x4690e3]=null):_0x361add[_0x4690e3]&&_0x34a11c&&_0x361add[_0x4690e3][_0x81f171(0x27c)]!==_0x36a617&&(_0x361add[_0x4690e3][_0x81f171(0x1e7)]=_0x4157cf,_0x294bc6&&_0x294bc6[_0x81f171(0x27c)]===_0x361add[_0x4690e3][_0x81f171(0x27c)]||_0x34c231(_0x361add[_0x4690e3]),_0x361add[_0x4690e3]={'start':_0x4157cf,'tapeItem':_0x296676[_0x383688],'userId':_0x36a617,'type':_0x4690e3}),_0x361add[_0x4690e3]&&_0x349053&&(_0x81f171(0x22d)!==_0x296676[_0x383688][_0x81f171(0x24e)]||_0x294bc6&&_0x294bc6[_0x81f171(0x27c)]===_0x36a617||_0x4209b3[_0x4690e3][_0x81f171(0x2e5)]({'userId':_0x36a617,'object':_0x296676[_0x383688][_0x81f171(0x2ca)],'change':_0x361add[_0x4690e3]}),_0x81f171(0x21c)===_0x296676[_0x383688][_0x81f171(0x24e)]&&_0x294bc6&&_0x294bc6[_0x81f171(0x24a)]===_0x296676[_0x383688][_0x81f171(0x2ca)]&&(_0x4209b3[_0x4690e3][_0x81f171(0x31c)](),_0x361add[_0x4690e3]=_0x294bc6[_0x81f171(0x1fb)])),_0x361add[_0x4690e3]&&_0xa2c667&&(_0x361add[_0x4690e3][_0x81f171(0x1e7)]=_0x372168,_0x34c231(_0x361add[_0x4690e3]),_0x361add[_0x4690e3]=null);}function _0x34c231({start:_0x1355db,end:_0x4a6e84,tapeItem:_0x49f0cf,userId:_0x4b5447,type:_0x3a959f}){const _0x56fabb=_0x49f26f,_0x2f6aea=_0x49f0cf[_0x56fabb(0x2ca)],_0x1f2fcf=_0x309f61[_0x56fabb(0x323)][_0x56fabb(0x244)](_0x2f6aea)&&!_0x309f61[_0x56fabb(0x323)][_0x56fabb(0x1f2)](_0x2f6aea),_0x3a68cf=_0x1355db[_0x56fabb(0x2b0)]==_0x4a6e84[_0x56fabb(0x29a)]&&_0x4a6e84[_0x56fabb(0x21d)];if(_0x1f2fcf&&_0x3a68cf)return;const _0x10e742=_0x309f61[_0x56fabb(0x2f8)](_0x1355db,_0x4a6e84),_0x255e6b=_0x41bcc1[_0x56fabb(0x2c4)](_0x4b5447),_0x23a7f0=new _0x426e34({'author':_0x255e6b,'type':_0x56fabb(0x2db)==_0x3a959f||_0x56fabb(0x203)==_0x3a959f?_0x56fabb(0x2d1):_0x56fabb(0x314),'data':{'isSuggestion':_0x56fabb(0x203)==_0x3a959f||_0x56fabb(0x319)==_0x3a959f},'createdAt':new Date(),'rootName':_0x39afa0});_0x546a30[_0x56fabb(0x230)](_0x23a7f0),_0x263f5b[_0x56fabb(0x31d)][_0x56fabb(0x26a)](_0x56fabb(0x31b)+_0x23a7f0['id'],_0x10e742);}function _0x406dd7(_0x2cfbf3,_0x2d4b52){const _0x3b34da=_0x49f26f,_0x17b789=_0x2cfbf3[_0x3b34da(0x293)](),_0x56767d=_0x2d4b52[_0x3b34da(0x293)]();for(const _0x29c3d7 of _0x17b789){if(_0x29c3d7[0x1]!==_0x2d4b52[_0x3b34da(0x2de)](_0x29c3d7[0x0]))return!0x1;_0x56767d[_0x3b34da(0x22f)]();}return _0x56767d[_0x3b34da(0x22f)]()[_0x3b34da(0x2ef)];}}[_0xf04a2f(0x2fe)](){const _0x3392f2=_0xf04a2f;this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x2b1))[_0x3392f2(0x20b)]({'view':_0x3392f2(0x215)}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x20e))[_0x3392f2(0x2bd)]({'model':_0x3392f2(0x215),'view':_0x8b7a71=>{const _0x385f1c=_0x3392f2,_0x3db84c=_0x8b7a71[_0x385f1c(0x256)][_0x385f1c(0x2a3)](':')[0x1],_0x4b0937=this[_0x385f1c(0x303)](_0x3db84c);if(!_0x4b0937)return null;const _0x17e3a9=_0x385f1c(0x2d1)==_0x4b0937[_0x385f1c(0x24e)]?_0x385f1c(0x2cd):_0x385f1c(0x200),_0x26e6bf=[_0x385f1c(0x1e3),_0x385f1c(0x2e2)+_0x17e3a9];return _0x4b0937[_0x385f1c(0x277)][_0x385f1c(0x31f)]&&_0x26e6bf[_0x385f1c(0x230)](_0x385f1c(0x2e2)+_0x17e3a9+_0x385f1c(0x233)),this[_0x385f1c(0x20a)]==_0x4b0937&&_0x26e6bf[_0x385f1c(0x230)](_0x385f1c(0x310)),{'classes':_0x26e6bf,'attributes':{'data-change-id':_0x3db84c}};}}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x2b1))[_0x3392f2(0x2d1)](_0x3967b2=>{const _0x43668e=_0x3392f2;_0x3967b2['on'](_0x43668e(0x308),(_0x15b4b6,_0xe13ba2,_0x451f7b)=>{const _0x26cbdf=_0x43668e,_0x2d1daa=_0xe13ba2[_0x26cbdf(0x2ce)][_0x26cbdf(0x2fb)](0x0);if(!_0x2d1daa||!_0x2d1daa['is'](_0x26cbdf(0x201),_0x26cbdf(0x242)))return;if(!_0x451f7b[_0x26cbdf(0x2d2)][_0x26cbdf(0x214)](_0x2d1daa,{'attributes':[_0x26cbdf(0x2f2),_0x26cbdf(0x228)]}))return;const _0x5bcad5=_0xe13ba2[_0x26cbdf(0x211)][_0x26cbdf(0x294)][_0x26cbdf(0x2b0)];_0x451f7b[_0x26cbdf(0x2cf)][_0x26cbdf(0x2e9)](_0x26cbdf(0x2f2),_0x2d1daa[_0x26cbdf(0x2de)](_0x26cbdf(0x2f2)),_0x5bcad5),_0x451f7b[_0x26cbdf(0x2cf)][_0x26cbdf(0x2e9)](_0x26cbdf(0x228),_0x2d1daa[_0x26cbdf(0x2de)](_0x26cbdf(0x228)),_0x5bcad5);},{'priority':_0x43668e(0x298)});}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x2b1))[_0x3392f2(0x2d1)](_0x37c7d4=>{const _0xa8616a=_0x3392f2;_0x37c7d4['on'](_0xa8616a(0x201),(_0x1067a9,_0x1ddbda,_0x56e02a)=>{const _0xdf0392=_0xa8616a;if(!_0x56e02a[_0xdf0392(0x2d2)][_0xdf0392(0x214)](_0x1ddbda[_0xdf0392(0x2ce)],{'attributes':[_0xdf0392(0x2f2),_0xdf0392(0x228)]}))return;if(_0x1ddbda[_0xdf0392(0x211)][_0xdf0392(0x1e5)])return;const _0x510366=_0x1ddbda[_0xdf0392(0x211)][_0xdf0392(0x294)][_0xdf0392(0x2b0)];_0x510366[_0xdf0392(0x2ed)](_0xdf0392(0x2f2))||_0x510366[_0xdf0392(0x2ed)](_0xdf0392(0x22a))||(_0x56e02a[_0xdf0392(0x2cf)][_0xdf0392(0x2e9)](_0xdf0392(0x2f2),_0x1ddbda[_0xdf0392(0x2ce)][_0xdf0392(0x2de)](_0xdf0392(0x2f2)),_0x510366),_0x56e02a[_0xdf0392(0x2cf)][_0xdf0392(0x2e9)](_0xdf0392(0x228),_0x1ddbda[_0xdf0392(0x2ce)][_0xdf0392(0x2de)](_0xdf0392(0x228)),_0x510366));},{'priority':_0xa8616a(0x298)});}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x2b1))[_0x3392f2(0x1ff)]({'view':{'name':_0x3392f2(0x22e),'attributes':{'vid':!0x0}},'model':{'key':_0x3392f2(0x22a),'value':_0x1fee4e=>_0x1fee4e[_0x3392f2(0x2de)](_0x3392f2(0x22a))}}),this[_0x3392f2(0x237)][_0x3392f2(0x2f3)][_0x3392f2(0x323)]['on'](_0x3392f2(0x324),(_0x2d77db,[,_0x10b4f4])=>{const _0x46ea69=_0x3392f2;[_0x46ea69(0x2f2),_0x46ea69(0x228),_0x46ea69(0x22a)][_0x46ea69(0x2f7)](_0x10b4f4)&&(_0x2d77db[_0x46ea69(0x278)]=!0x0,_0x2d77db[_0x46ea69(0x2e3)]());},{'priority':_0x3392f2(0x2e8)}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x27b))[_0x3392f2(0x2d1)](_0x3ae039=>{const _0x4192d6=_0x3392f2;_0x3ae039['on'](_0x4192d6(0x2c8),(_0x463150,_0x2ade6b,_0x3c5813)=>{const _0x4fb167=_0x4192d6;if('\x20'!=_0x2ade6b[_0x4fb167(0x2ca)][_0x4fb167(0x277)]||_0x2ade6b[_0x4fb167(0x2ca)][_0x4fb167(0x29a)][_0x4fb167(0x2c7)]>0x1)return;if(!_0x3c5813[_0x4fb167(0x2d2)][_0x4fb167(0x214)](_0x2ade6b[_0x4fb167(0x2ca)],_0x463150[_0x4fb167(0x217)]))return;const _0x229bd0=_0x3c5813[_0x4fb167(0x2cf)],_0x2e4e7e=_0x3c5813[_0x4fb167(0x25d)][_0x4fb167(0x274)](_0x2ade6b[_0x4fb167(0x227)]);_0x229bd0[_0x4fb167(0x23c)](_0x2e4e7e,_0x229bd0[_0x4fb167(0x2e4)](_0x4fb167(0x22e)));});}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x27b))[_0x3392f2(0x2c2)]({'model':_0x3392f2(0x215)}),this[_0x3392f2(0x237)][_0x3392f2(0x205)][_0x3392f2(0x204)]['on'](_0x3392f2(0x252),function(_0x36b385){const _0x3c2586=_0x3392f2,_0x16c94c=_0x36b385[_0x3c2586(0x208)][_0x3c2586(0x2c4)](_0x3c2586(0x267));return(_0x148a68,_0x503cc0,_0x2f13a8)=>{const _0x536696=_0x3c2586,_0x20553a=_0x503cc0[_0x536696(0x256)][_0x536696(0x2a3)](':')[0x1],_0x62f0ca=_0x16c94c[_0x536696(0x303)](_0x20553a);if(!_0x62f0ca)return null;const _0x215e4f=_0x536696(0x2d1)==_0x62f0ca[_0x536696(0x24e)]?_0x536696(0x2a3):_0x536696(0x210);if(!_0x2f13a8[_0x536696(0x2d2)][_0x536696(0x25b)](_0x503cc0[_0x536696(0x297)],_0x148a68[_0x536696(0x217)]))return;const _0x4a098d=_0x503cc0[_0x536696(0x297)][_0x536696(0x284)](),_0x1329c9=_0x503cc0[_0x536696(0x297)][_0x536696(0x294)],_0x264f9f=_0x36b385[_0x536696(0x2f3)][_0x536696(0x323)];let _0x48c00d=null,_0x4a8d91=null,_0xd1f1d8=!0x1,_0x545562=!0x1;for(const _0x8f2ec6 of _0x4a098d){const _0x2607de=_0x8f2ec6[_0x536696(0x2ca)];_0xd1f1d8=_0xd1f1d8||_0x264f9f[_0x536696(0x213)](_0x2607de);const _0x495ef1=_0x2f13a8[_0x536696(0x25d)][_0x536696(0x273)](_0x2607de);if(_0x495ef1&&_0x495ef1[_0x536696(0x290)](_0x536696(0x29f)))return;_0x536696(0x21c)==_0x8f2ec6[_0x536696(0x24e)]&&(_0x264f9f[_0x536696(0x244)](_0x2607de)&&!_0x264f9f[_0x536696(0x1f2)](_0x2607de)&&(_0x2607de[_0x536696(0x247)]||_0x1329c9[_0x536696(0x225)]?_0x48c00d&&_0x48c00d[_0x536696(0x29a)]==_0x2607de||(_0x48c00d=_0x2607de,_0x17dc6d(_0x8f2ec6[_0x536696(0x287)]),_0x545562=!0x0):_0x4a8d91=_0x4a8d91||_0x8f2ec6[_0x536696(0x287)]));}function _0x17dc6d(_0xa8590d){const _0x126b06=_0x536696,_0x254729=_0x2f13a8[_0x126b06(0x2cf)][_0x126b06(0x21f)](_0x126b06(0x22e),{'class':_0x126b06(0x2e2)+_0x215e4f}),_0x5a9b17=_0x2f13a8[_0x126b06(0x25d)][_0x126b06(0x2f4)](_0xa8590d);_0x62f0ca[_0x126b06(0x277)][_0x126b06(0x31f)]&&_0x2f13a8[_0x126b06(0x2cf)][_0x126b06(0x2d6)](_0x126b06(0x2e2)+_0x215e4f+_0x126b06(0x233),_0x254729),_0x16c94c[_0x126b06(0x20a)]==_0x62f0ca&&_0x2f13a8[_0x126b06(0x2cf)][_0x126b06(0x2d6)](_0x126b06(0x310),_0x254729),_0x2f13a8[_0x126b06(0x2cf)][_0x126b06(0x2e0)](_0x5a9b17,_0x254729),_0x2f13a8[_0x126b06(0x25d)][_0x126b06(0x295)](_0x254729,_0x503cc0[_0x126b06(0x256)]);}_0xd1f1d8||_0x545562||!_0x4a8d91||_0x17dc6d(_0x4a8d91);};}(this[_0x3392f2(0x237)]),{'priority':_0x3392f2(0x30c)}),this[_0x3392f2(0x237)][_0x3392f2(0x205)][_0x3392f2(0x204)]['on'](_0x3392f2(0x26d),(_0x9638c0,_0xabb66f,_0x40c903)=>{const _0x4a2375=_0x3392f2,_0x1f3812=_0x40c903[_0x4a2375(0x25d)][_0x4a2375(0x31a)](_0xabb66f[_0x4a2375(0x256)]);if(_0x1f3812){for(const _0x2c382e of _0x1f3812)(_0x2c382e[_0x4a2375(0x2b4)](_0x4a2375(0x1df))||_0x2c382e[_0x4a2375(0x2b4)](_0x4a2375(0x26e)))&&(_0x40c903[_0x4a2375(0x25d)][_0x4a2375(0x306)](_0x2c382e,_0xabb66f[_0x4a2375(0x256)]),_0x40c903[_0x4a2375(0x2cf)][_0x4a2375(0x314)](_0x2c382e));}},{'priority':_0x3392f2(0x30c)}),this[_0x3392f2(0x237)][_0x3392f2(0x205)][_0x3392f2(0x204)]['on'](_0x3392f2(0x252),(_0x2b058a,_0xc490f7,_0x52d126)=>{const _0x5b56dd=_0x3392f2,_0x5adaaa=_0xc490f7[_0x5b56dd(0x256)][_0x5b56dd(0x2a3)](':')[0x1],_0x4dc610=this[_0x5b56dd(0x303)](_0x5adaaa);if(!_0x4dc610)return null;const _0x3da422=_0x5b56dd(0x2d1)==_0x4dc610[_0x5b56dd(0x24e)]?_0x5b56dd(0x2a3):_0x5b56dd(0x210);if(_0x52d126[_0x5b56dd(0x2d2)][_0x5b56dd(0x25b)](_0xc490f7[_0x5b56dd(0x297)],_0x2b058a[_0x5b56dd(0x217)]))for(const _0x29e973 of _0xc490f7[_0x5b56dd(0x297)][_0x5b56dd(0x23a)]()){if(!_0x29e973['is'](_0x5b56dd(0x201),_0x5b56dd(0x226)))continue;const _0x541a03=_0x52d126[_0x5b56dd(0x2cf)][_0x5b56dd(0x21f)](_0x5b56dd(0x22e),{'class':_0x5b56dd(0x2e2)+_0x3da422}),_0x56ffe4=_0x52d126[_0x5b56dd(0x25d)][_0x5b56dd(0x2f4)](this[_0x5b56dd(0x237)][_0x5b56dd(0x2f3)][_0x5b56dd(0x2fa)](_0x29e973));_0x4dc610[_0x5b56dd(0x277)][_0x5b56dd(0x31f)]&&_0x52d126[_0x5b56dd(0x2cf)][_0x5b56dd(0x2d6)](_0x5b56dd(0x2e2)+_0x3da422+_0x5b56dd(0x233),_0x541a03),this[_0x5b56dd(0x20a)]==_0x4dc610&&_0x52d126[_0x5b56dd(0x2cf)][_0x5b56dd(0x2d6)](_0x5b56dd(0x310),_0x541a03),_0x52d126[_0x5b56dd(0x2cf)][_0x5b56dd(0x2e0)](_0x56ffe4,_0x541a03),_0x52d126[_0x5b56dd(0x25d)][_0x5b56dd(0x295)](_0x541a03,_0xc490f7[_0x5b56dd(0x256)]);}},{'priority':_0x3392f2(0x30c)}),this[_0x3392f2(0x237)][_0x3392f2(0x2f3)][_0x3392f2(0x1f0)]['on'](_0x3392f2(0x1fb),()=>{const _0x383784=_0x3392f2;this[_0x383784(0x237)][_0x383784(0x205)][_0x383784(0x2dd)][_0x383784(0x1fb)](_0x472b89=>{const _0x5d1e5c=_0x383784;for(const _0x4dba53 of this[_0x5d1e5c(0x237)][_0x5d1e5c(0x2f3)][_0x5d1e5c(0x1f0)][_0x5d1e5c(0x24d)]()){const _0x267084=this[_0x5d1e5c(0x237)][_0x5d1e5c(0x2f3)][_0x5d1e5c(0x1f0)][_0x5d1e5c(0x283)](_0x4dba53),_0x2b18d9=this[_0x5d1e5c(0x237)][_0x5d1e5c(0x205)][_0x5d1e5c(0x2dd)][_0x5d1e5c(0x1f0)][_0x5d1e5c(0x283)](_0x4dba53);if(_0x2b18d9){const _0x57ee8e=_0x267084[_0x5d1e5c(0x2de)](_0x5d1e5c(0x2b5));if(_0x472b89[_0x5d1e5c(0x27d)](_0x5d1e5c(0x22b),_0x2b18d9),_0x472b89[_0x5d1e5c(0x29d)](_0x5d1e5c(0x2aa),_0x2b18d9),_0x472b89[_0x5d1e5c(0x29d)](_0x5d1e5c(0x1fd),_0x2b18d9),_0x472b89[_0x5d1e5c(0x29d)](_0x5d1e5c(0x1fe),_0x2b18d9),_0x57ee8e){const _0x26a579=this[_0x5d1e5c(0x303)](_0x57ee8e);if(!_0x26a579)return null;_0x472b89[_0x5d1e5c(0x2e9)](_0x5d1e5c(0x22b),_0x57ee8e,_0x2b18d9),_0x472b89[_0x5d1e5c(0x2d6)](_0x5d1e5c(0x238)+_0x26a579[_0x5d1e5c(0x24e)],_0x2b18d9),this[_0x5d1e5c(0x20a)]==_0x26a579&&_0x472b89[_0x5d1e5c(0x2d6)](_0x5d1e5c(0x1fe),_0x2b18d9);}}}});}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x2b1))[_0x3392f2(0x20b)]({'view':_0x3392f2(0x266),'model':_0x23cbe3=>_0x3392f2(0x2a4)+_0x23cbe3,'converterPriority':_0x3392f2(0x2e8)}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x2b1))[_0x3392f2(0x20b)]({'view':_0x3392f2(0x248),'model':_0xea9e0d=>_0x3392f2(0x279)+_0xea9e0d,'converterPriority':_0x3392f2(0x2e8)}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x27b))[_0x3392f2(0x2c2)]({'model':_0x3392f2(0x206),'view':_0x1123af=>({'name':_0x3392f2(0x235)+_0x1123af,'group':_0x3392f2(0x206)}),'converterPriority':_0x3392f2(0x2e8)}),this[_0x3392f2(0x237)][_0x3392f2(0x28a)][_0x3392f2(0x2b8)](_0x3392f2(0x20e))[_0x3392f2(0x2bd)]({'model':_0x3392f2(0x206),'view':_0x1a41d5=>{const _0x3025d2=_0x3392f2,_0x23557f=_0x1a41d5[_0x3025d2(0x256)][_0x3025d2(0x2a3)](':')[0x1];return _0x3025d2(0x2cd)!=_0x23557f&&_0x3025d2(0x200)!=_0x23557f?null:{'classes':[_0x3025d2(0x285),_0x3025d2(0x271)+_0x23557f]};}}),this[_0x3392f2(0x237)][_0x3392f2(0x205)][_0x3392f2(0x204)]['on'](_0x3392f2(0x27e),Q(this[_0x3392f2(0x237)],_0x3392f2(0x210)),{'priority':_0x3392f2(0x30c)}),this[_0x3392f2(0x237)][_0x3392f2(0x205)][_0x3392f2(0x204)]['on'](_0x3392f2(0x272),Q(this[_0x3392f2(0x237)],_0x3392f2(0x2a3)),{'priority':_0x3392f2(0x30c)}),this[_0x3392f2(0x237)][_0x3392f2(0x205)][_0x3392f2(0x204)]['on'](_0x3392f2(0x315),(_0x431956,_0x3bd295,_0x2779f0)=>{const _0x311444=_0x3392f2,_0x20130b=_0x2779f0[_0x311444(0x25d)][_0x311444(0x31a)](_0x3bd295[_0x311444(0x256)]);if(_0x20130b){for(const _0x440546 of _0x20130b)_0x440546['is'](_0x311444(0x301))&&(_0x2779f0[_0x311444(0x25d)][_0x311444(0x306)](_0x440546,_0x3bd295[_0x311444(0x256)]),_0x2779f0[_0x311444(0x2cf)][_0x311444(0x314)](_0x440546));}},{'priority':_0x3392f2(0x30c)});}[_0xf04a2f(0x303)](_0x4b00a8){const _0x3cad32=_0xf04a2f;return this[_0x3cad32(0x253)][_0x3cad32(0x2c4)](_0x4b00a8);}[_0xf04a2f(0x26f)](_0xd39685){const _0x8ea0af=_0xf04a2f;return this[_0x8ea0af(0x30e)]&&this[_0x8ea0af(0x30e)][_0x8ea0af(0x1ed)](),this[_0x8ea0af(0x30e)]=new _0x3ee563(this[_0x8ea0af(0x237)][_0x8ea0af(0x2bc)],_0xd39685),this[_0x8ea0af(0x30e)];}[_0xf04a2f(0x2a2)](){const _0x53713b=_0xf04a2f;this[_0x53713b(0x237)][_0x53713b(0x2f3)][_0x53713b(0x1f0)][_0x53713b(0x21e)][_0x53713b(0x2a0)](_0x53713b(0x215)),this['on'](_0x53713b(0x313),(_0x41d984,_0x398bfc,_0x34afe4,_0x556b7d)=>{const _0x286409=_0x53713b;_0x556b7d&&this[_0x286409(0x207)][_0x286409(0x314)](_0x556b7d),_0x34afe4&&(this[_0x286409(0x207)][_0x286409(0x2d1)]({'view':_0x34afe4,'stackId':_0x286409(0x29e),'position':{'target':()=>{const _0x58945f=_0x286409,_0x3135d2=this[_0x58945f(0x237)][_0x58945f(0x205)],_0x227f87=this[_0x58945f(0x303)](_0x34afe4[_0x58945f(0x27a)]);let _0x17a366;if(_0x227f87[_0x58945f(0x277)][_0x58945f(0x23b)]){const _0x50c9b1=_0x3135d2[_0x58945f(0x2dd)][_0x58945f(0x25c)](_0x227f87[_0x58945f(0x2f1)]);_0x17a366=Array[_0x58945f(0x202)](_0x50c9b1[_0x58945f(0x312)]());}else{const _0xe4a656=this[_0x58945f(0x237)][_0x58945f(0x2f3)][_0x58945f(0x31d)][_0x58945f(0x2c4)](_0x58945f(0x31b)+_0x34afe4[_0x58945f(0x27a)]);_0x17a366=Array[_0x58945f(0x202)](_0x3135d2[_0x58945f(0x25d)][_0x58945f(0x31a)](_0xe4a656[_0x58945f(0x217)]))[_0x58945f(0x255)](_0x52367e=>_0x3135d2[_0x58945f(0x2dd)][_0x58945f(0x24b)][_0x58945f(0x2b6)](_0x52367e))[_0x58945f(0x255)](_0x57dcb1=>Array[_0x58945f(0x202)](_0x57dcb1[_0x58945f(0x312)]()))[_0x58945f(0x2ff)]();}if(!this[_0x58945f(0x2a1)])return _0x17a366[0x0];return _0x17a366[_0x58945f(0x249)](_0x122d45=>_0x122d45[_0x58945f(0x2f5)]-0x3<=this[_0x58945f(0x2a1)]['y']&&_0x122d45[_0x58945f(0x2fd)]+0x3>=this[_0x58945f(0x2a1)]['y']&&_0x122d45[_0x58945f(0x2dc)]-0x3<=this[_0x58945f(0x2a1)]['x']&&_0x122d45[_0x58945f(0x243)]+0x3>=this[_0x58945f(0x2a1)]['x'])||_0x17a366[0x0];}}}),this[_0x286409(0x207)][_0x286409(0x2f0)](_0x286409(0x29e)));}),this['on'](_0x53713b(0x2fc),(_0xd1d86b,_0x5622a3,_0x3afcc5,_0x2e6168)=>{const _0x1a81bc=_0x53713b;this[_0x1a81bc(0x289)]=_0x3afcc5?this[_0x1a81bc(0x26f)](_0x3afcc5):null,this[_0x1a81bc(0x237)][_0x1a81bc(0x2f3)][_0x1a81bc(0x1fb)](()=>{const _0x36c843=_0x1a81bc,_0x264bda=this[_0x36c843(0x237)][_0x36c843(0x205)];_0x2e6168&&(_0x2e6168[_0x36c843(0x277)][_0x36c843(0x23b)]?_0x264bda[_0x36c843(0x2dd)][_0x36c843(0x1fb)](_0x1f9b54=>{const _0x2ce9cd=_0x36c843;_0x1f9b54[_0x2ce9cd(0x29d)](_0x2ce9cd(0x1fe),_0x264bda[_0x2ce9cd(0x2dd)][_0x2ce9cd(0x1f0)][_0x2ce9cd(0x283)](_0x2e6168[_0x2ce9cd(0x2f1)]));}):_0x264bda[_0x36c843(0x28b)](_0x36c843(0x31b)+_0x2e6168['id'])),_0x3afcc5&&(_0x3afcc5[_0x36c843(0x277)][_0x36c843(0x23b)]?_0x264bda[_0x36c843(0x2dd)][_0x36c843(0x1fb)](_0x596b22=>{const _0x210f65=_0x36c843;_0x596b22[_0x210f65(0x2d6)](_0x210f65(0x1fe),_0x264bda[_0x210f65(0x2dd)][_0x210f65(0x1f0)][_0x210f65(0x283)](_0x3afcc5[_0x210f65(0x2f1)]));}):_0x264bda[_0x36c843(0x28b)](_0x36c843(0x31b)+_0x3afcc5['id']));});}),this[_0x53713b(0x220)](this[_0x53713b(0x237)][_0x53713b(0x205)][_0x53713b(0x2dd)][_0x53713b(0x1f0)],_0x53713b(0x30f),(_0x492824,_0x4e72a0)=>{const _0x2c73f9=_0x53713b;if(this[_0x2c73f9(0x20a)])return;const _0x54eae7=this[_0x2c73f9(0x2a8)](_0x4e72a0[_0x2c73f9(0x270)]),_0x3a4b33=this[_0x2c73f9(0x253)][_0x2c73f9(0x2c4)](_0x54eae7);_0x3a4b33?(this[_0x2c73f9(0x2a1)]={'x':_0x4e72a0[_0x2c73f9(0x300)]['x'],'y':_0x4e72a0[_0x2c73f9(0x300)]['y']},this[_0x2c73f9(0x289)]=this[_0x2c73f9(0x26f)](_0x3a4b33)):(this[_0x2c73f9(0x2a1)]=null,this[_0x2c73f9(0x289)]=null);}),this[_0x53713b(0x220)](this[_0x53713b(0x237)][_0x53713b(0x205)][_0x53713b(0x2dd)][_0x53713b(0x1f0)],_0x53713b(0x2d0),(_0x22f2ff,_0x52bfe6)=>{const _0x191515=_0x53713b,_0x21315f=this[_0x191515(0x2a8)](_0x52bfe6[_0x191515(0x270)]),_0x550935=this[_0x191515(0x253)][_0x191515(0x2c4)](_0x21315f);_0x550935?(this[_0x191515(0x2a1)]={'x':_0x52bfe6[_0x191515(0x300)]['x'],'y':_0x52bfe6[_0x191515(0x300)]['y']},_0x550935===this[_0x191515(0x20a)]?this[_0x191515(0x207)][_0x191515(0x320)]():this[_0x191515(0x20a)]=_0x550935):(this[_0x191515(0x2a1)]=null,this[_0x191515(0x20a)]=null);});}[_0xf04a2f(0x2a8)](_0x3400b2){const _0x4e7ce1=_0xf04a2f;do{const _0x32d529=_0x3400b2[_0x4e7ce1(0x2de)](_0x4e7ce1(0x22b));if(_0x32d529)return _0x32d529;_0x3400b2=_0x3400b2[_0x4e7ce1(0x29a)];}while(_0x3400b2);return null;}[_0xf04a2f(0x2d9)](){const _0x2a39bb=_0xf04a2f;this[_0x2a39bb(0x237)][_0x2a39bb(0x2f3)][_0x2a39bb(0x1fb)](_0x118d9c=>{const _0x52dcd0=_0x2a39bb;for(const _0x501d01 of this[_0x52dcd0(0x237)][_0x52dcd0(0x2f3)][_0x52dcd0(0x31d)])_0x118d9c[_0x52dcd0(0x2bf)](_0x501d01);});}}function Q(_0x40c2a8,_0x3b74d3){return(_0x34c4cd,_0x2419d8,_0x557200)=>{const _0x1a9e4a=_0x112d;if(!_0x557200[_0x1a9e4a(0x2d2)][_0x1a9e4a(0x25b)](_0x2419d8[_0x1a9e4a(0x297)],_0x34c4cd[_0x1a9e4a(0x217)]))return;const _0x278839=_0x2419d8[_0x1a9e4a(0x297)][_0x1a9e4a(0x284)](),_0x32416f=_0x2419d8[_0x1a9e4a(0x297)][_0x1a9e4a(0x294)],_0x4905b3=_0x40c2a8[_0x1a9e4a(0x2f3)][_0x1a9e4a(0x323)];let _0x2bb7ed=null,_0x22a765=null,_0x28a32b=!0x1,_0x13e70b=!0x1;for(const _0x555c5f of _0x278839){const _0x207508=_0x555c5f[_0x1a9e4a(0x2ca)];_0x28a32b=_0x28a32b||_0x4905b3[_0x1a9e4a(0x213)](_0x207508);const _0x1938ff=_0x557200[_0x1a9e4a(0x25d)][_0x1a9e4a(0x273)](_0x207508);if(_0x1938ff&&_0x1938ff[_0x1a9e4a(0x290)](_0x1a9e4a(0x29f)))return;_0x1a9e4a(0x21c)==_0x555c5f[_0x1a9e4a(0x24e)]&&(_0x4905b3[_0x1a9e4a(0x244)](_0x207508)&&!_0x4905b3[_0x1a9e4a(0x1f2)](_0x207508)&&(_0x207508[_0x1a9e4a(0x247)]||_0x32416f[_0x1a9e4a(0x225)]?_0x2bb7ed&&_0x2bb7ed[_0x1a9e4a(0x29a)]==_0x207508||(_0x2bb7ed=_0x207508,_0x3fec86(_0x555c5f[_0x1a9e4a(0x287)]),_0x13e70b=!0x0):_0x22a765=_0x22a765||_0x555c5f[_0x1a9e4a(0x287)]));}function _0x3fec86(_0x351319){const _0xaaa525=_0x1a9e4a,_0x243d35=_0x557200[_0xaaa525(0x25d)][_0xaaa525(0x2f4)](_0x351319),_0x159a7f=_0x557200[_0xaaa525(0x2cf)][_0xaaa525(0x21f)](_0xaaa525(0x22e),{'class':_0xaaa525(0x271)+_0x3b74d3});_0x557200[_0xaaa525(0x2cf)][_0xaaa525(0x2e0)](_0x243d35,_0x159a7f),_0x557200[_0xaaa525(0x25d)][_0xaaa525(0x295)](_0x159a7f,_0x2419d8[_0xaaa525(0x256)]);}_0x28a32b||_0x13e70b||!_0x22a765||_0x3fec86(_0x22a765);};}export class RestoreRevisionCommand extends _0x10a238{constructor(_0x124bb4){const _0x36d9c8=_0xf04a2f;super(_0x124bb4);const _0x529e73=_0x124bb4[_0x36d9c8(0x208)][_0x36d9c8(0x2c4)](RevisionViewer);this[_0x36d9c8(0x280)]=!0x1,this[_0x36d9c8(0x220)](_0x529e73,_0x36d9c8(0x1fa),()=>this[_0x36d9c8(0x245)]()),this[_0x36d9c8(0x220)](_0x529e73,_0x36d9c8(0x23d),()=>this[_0x36d9c8(0x245)]());}[_0xf04a2f(0x264)](){const _0x38af74=_0xf04a2f,_0x54ee4e=this[_0x38af74(0x237)],_0x371dc4=_0x54ee4e[_0x38af74(0x208)][_0x38af74(0x2c4)](RevisionViewer),_0x46130d=_0x371dc4[_0x38af74(0x262)]?_0x371dc4[_0x38af74(0x1f7)][_0x38af74(0x224)]:null;_0x54ee4e[_0x38af74(0x25a)][_0x38af74(0x2c4)](_0x38af74(0x1f5))[_0x38af74(0x23f)](_0x46130d);}[_0xf04a2f(0x245)](){const _0x3694c9=_0xf04a2f,{isReady:_0x51d69c,isEnabled:_0x3803f7,repository:_0x5c0ee3,diff:_0x7935c3}=this[_0x3694c9(0x237)][_0x3694c9(0x208)][_0x3694c9(0x2c4)](RevisionViewer),_0x3a2d28=_0x7935c3&&_0x5c0ee3[_0x3694c9(0x2cc)](_0x7935c3[_0x3694c9(0x224)]);this[_0x3694c9(0x2d5)]=_0x51d69c&&_0x3803f7&&Boolean(_0x3a2d28);}}export class ShowChangeCommand extends _0x10a238{[_0xf04a2f(0x29c)];constructor(_0x198581,{direction:_0x16e78c}){const _0x305688=_0xf04a2f;super(_0x198581);const _0x18c3b7=_0x198581[_0x305688(0x208)][_0x305688(0x2c4)](RevisionViewer);this[_0x305688(0x280)]=!0x1,this[_0x305688(0x29c)]=_0x305688(0x2b3)===_0x16e78c?0x1:-0x1,this[_0x305688(0x220)](_0x18c3b7,_0x305688(0x1fa),()=>this[_0x305688(0x245)]()),this[_0x305688(0x220)](_0x18c3b7,_0x305688(0x23d),()=>this[_0x305688(0x245)]()),this[_0x305688(0x220)](_0x18c3b7,_0x305688(0x2fc),()=>this[_0x305688(0x245)]());}[_0xf04a2f(0x264)](){const _0x16a79b=_0xf04a2f,_0x179114=this[_0x16a79b(0x237)],_0x52eebe=_0x179114[_0x16a79b(0x208)][_0x16a79b(0x2c4)](RevisionViewer),{isNavigationMode:_0x4eb0a4,currentChangeNumber:_0x53e00d}=_0x52eebe;let _0xbaf2b1;if(_0x52eebe[_0x16a79b(0x20a)]=_0x4eb0a4?_0x52eebe[_0x16a79b(0x1f7)][_0x16a79b(0x1e6)][_0x16a79b(0x2c4)](_0x53e00d+this[_0x16a79b(0x29c)]):_0x52eebe[_0x16a79b(0x1f7)][_0x16a79b(0x1e6)][_0x16a79b(0x2d4)],_0x52eebe[_0x16a79b(0x20a)][_0x16a79b(0x277)][_0x16a79b(0x23b)])_0xbaf2b1=_0x179114[_0x16a79b(0x205)][_0x16a79b(0x2dd)][_0x16a79b(0x25c)](_0x52eebe[_0x16a79b(0x20a)][_0x16a79b(0x2f1)]);else{const _0x56fc27=_0x179114[_0x16a79b(0x2f3)][_0x16a79b(0x31d)][_0x16a79b(0x2c4)](_0x16a79b(0x31b)+_0x52eebe[_0x16a79b(0x20a)]['id']);_0xbaf2b1=_0x854639(_0x179114[_0x16a79b(0x205)],_0x56fc27);}_0x3bfc4c({'target':_0xbaf2b1,'viewportOffset':0x28});}[_0xf04a2f(0x245)](){const _0x54d5c6=_0xf04a2f,{isNavigationMode:_0x42b92e,currentChangeNumber:_0x439d97,numberOfChanges:_0x4aa020,isReady:_0x51d30d,isEnabled:_0x582379}=this[_0x54d5c6(0x237)][_0x54d5c6(0x208)][_0x54d5c6(0x2c4)](RevisionViewer);this[_0x54d5c6(0x2d5)]=!!(_0x582379&&_0x51d30d&&_0x4aa020)&&(!_0x42b92e||(0x1===this[_0x54d5c6(0x29c)]?_0x439d97<_0x4aa020-0x1:_0x439d97>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35edae,_0x2d3b45){const _0x27cd92=_0x4289,_0x5dfea7=_0x35edae();while(!![]){try{const _0x3245e3=parseInt(_0x27cd92(0x173))/0x1+-parseInt(_0x27cd92(0x181))/0x2+-parseInt(_0x27cd92(0x18d))/0x3*(-parseInt(_0x27cd92(0x191))/0x4)+parseInt(_0x27cd92(0x193))/0x5+-parseInt(_0x27cd92(0x17b))/0x6+-parseInt(_0x27cd92(0x184))/0x7*(parseInt(_0x27cd92(0x190))/0x8)+parseInt(_0x27cd92(0x18b))/0x9;if(_0x3245e3===_0x2d3b45)break;else _0x5dfea7['push'](_0x5dfea7['shift']());}catch(_0x505429){_0x5dfea7['push'](_0x5dfea7['shift']());}}}(_0x110f,0xd1197));function _0x4289(_0x34b934,_0x1c74c5){const _0x110fdc=_0x110f();return _0x4289=function(_0x428981,_0x10c91d){_0x428981=_0x428981-0x16e;let _0x35cef2=_0x110fdc[_0x428981];return _0x35cef2;},_0x4289(_0x34b934,_0x1c74c5);}import{Collection as _0x14c2c5}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x3ccb07}from'ckeditor5/src/icons.js';import{UIModel as _0x5616f9,addListToDropdown as _0x20ae4e,createDropdown as _0xebe4cc}from'ckeditor5/src/ui.js';import{getTranslation as _0x1bd2b0}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x110f(){const _0x90ad25=['items','map','bind','isActionsDropdownOpen','Compare\x20against\x20selected','isOpen','find','add','menuitem','139124egSeIh','button','listenTo','ck-revision-history-sidebar__revision__actions','Name\x20this\x20revision','action','change:isActionsDropdownOpen','isEnabled','7556274aHsTkj','model','children','buttonView','ck-on','extendTemplate','600286KqhCjO','_action','set','3417743cJVzwU','panelPosition','stopPropagation','source','isVisible','menu','isReady','24304527NkkWAC','function','12uVmcLN','listView','execute','24VizdvC','798852mMUVYw','Restore\x20this\x20revision','1211305cWTcgo','name','bindTemplate','first','Show\x20more\x20items','class','locale'];_0x110f=function(){return _0x90ad25;};return _0x110f();}export function createActionsDropdownView(_0x4e036c,_0x5517f5){const _0x2c0de4=_0x4289,_0x4392ef=_0x4e036c[_0x2c0de4(0x195)],_0x228efc=_0x4e036c[_0x2c0de4(0x199)],_0x670d67=_0xebe4cc(_0x228efc);_0x670d67[_0x2c0de4(0x185)]='sw';const _0x22c223=function(_0x3a8f80,_0x324638){const _0x1ed2e7=_0x2c0de4,_0x15090e=function(_0x4ef41e,_0x3dff05){const _0x2388de=_0x4289,_0x2c0f98=_0x4ef41e[_0x2388de(0x199)],_0x2ca255={'Compare\x20against\x20selected':_0x1bd2b0(_0x2c0f98,_0x2388de(0x16e)),'Name\x20this\x20revision':_0x1bd2b0(_0x2c0f98,_0x2388de(0x177)),'Restore\x20this\x20revision':_0x1bd2b0(_0x2c0f98,_0x2388de(0x192))};return _0x3dff05[_0x2388de(0x19b)](_0x3eeeba=>{const _0xf84c9f=_0x2388de,_0x5da614=_0x2ca255[_0x3eeeba[_0xf84c9f(0x194)]];return _0x5da614&&_0x5da614!==_0x3eeeba[_0xf84c9f(0x194)]&&(_0x3eeeba[_0xf84c9f(0x194)]=_0x5da614),_0x3eeeba;});}(_0x3a8f80,_0x324638),_0x222ac9=new _0x14c2c5();for(const _0x40c477 of _0x15090e){const _0x5e90c8={'type':_0x1ed2e7(0x174),'model':new _0x5616f9({'label':_0x40c477[_0x1ed2e7(0x194)],'class':_0x40c477[_0x1ed2e7(0x198)],'withText':!0x0,'role':_0x1ed2e7(0x172),'_action':_0x40c477[_0x1ed2e7(0x178)]})};_0x5e90c8[_0x1ed2e7(0x17c)][_0x1ed2e7(0x19c)](_0x1ed2e7(0x17a))['to'](_0x3a8f80,_0x1ed2e7(0x19d),_0x552e10=>_0x1ed2e7(0x18c)!=typeof _0x40c477[_0x1ed2e7(0x17a)]||(!_0x552e10||_0x40c477[_0x1ed2e7(0x17a)](_0x3a8f80))),_0x222ac9[_0x1ed2e7(0x171)](_0x5e90c8);}return _0x222ac9;}(_0x4e036c,_0x5517f5);return _0x4e036c[_0x2c0de4(0x19c)](_0x2c0de4(0x19d))['to'](_0x670d67,_0x2c0de4(0x16f)),_0x670d67[_0x2c0de4(0x17e)][_0x2c0de4(0x183)]({'label':_0x1bd2b0(_0x228efc,_0x2c0de4(0x197)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3ccb07}),_0x670d67[_0x2c0de4(0x180)]({'attributes':{'class':[_0x2c0de4(0x176),_0x4392ef['if'](_0x2c0de4(0x19d),_0x2c0de4(0x17f))]},'on':{'click':_0x4392ef['to'](_0x1a6a89=>_0x1a6a89[_0x2c0de4(0x186)]())}}),_0x670d67['on'](_0x2c0de4(0x18f),_0x3bac9b=>{const _0x6052d=_0x2c0de4;_0x4e036c[_0x6052d(0x18a)]&&_0x6052d(0x18c)==typeof _0x3bac9b[_0x6052d(0x187)][_0x6052d(0x182)]&&_0x3bac9b[_0x6052d(0x187)][_0x6052d(0x182)](_0x4e036c);}),_0x20ae4e(_0x670d67,_0x22c223,{'role':_0x2c0de4(0x189)}),_0x670d67[_0x2c0de4(0x175)](_0x4e036c,_0x2c0de4(0x179),(_0x1dbc7b,_0x2f9fed,_0x5557aa)=>{const _0x5c30f2=_0x2c0de4;if(_0x5557aa)for(const _0x4c3437 of _0x670d67[_0x5c30f2(0x18e)][_0x5c30f2(0x19a)]){const _0x32eede=_0x4c3437[_0x5c30f2(0x17d)][_0x5c30f2(0x196)],_0x5e38dc=_0x5517f5[_0x5c30f2(0x170)](_0x13e937=>_0x13e937[_0x5c30f2(0x178)]===_0x32eede[_0x5c30f2(0x182)])[_0x5c30f2(0x188)];_0x4c3437[_0x5c30f2(0x188)]=void 0x0===_0x5e38dc||_0x5e38dc(_0x4e036c);}}),_0x670d67;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xa28e(_0x13b17a,_0x17e00e){const _0x1521fd=_0x1521();return _0xa28e=function(_0xa28e50,_0x46f2fd){_0xa28e50=_0xa28e50-0x176;let _0x44293a=_0x1521fd[_0xa28e50];return _0x44293a;},_0xa28e(_0x13b17a,_0x17e00e);}(function(_0x21ff96,_0x3c4b1b){const _0x4999d1=_0xa28e,_0x4afd83=_0x21ff96();while(!![]){try{const _0x1854f8=-parseInt(_0x4999d1(0x185))/0x1+parseInt(_0x4999d1(0x184))/0x2+-parseInt(_0x4999d1(0x178))/0x3*(-parseInt(_0x4999d1(0x181))/0x4)+parseInt(_0x4999d1(0x176))/0x5*(parseInt(_0x4999d1(0x179))/0x6)+parseInt(_0x4999d1(0x177))/0x7*(parseInt(_0x4999d1(0x189))/0x8)+-parseInt(_0x4999d1(0x186))/0x9+-parseInt(_0x4999d1(0x17a))/0xa;if(_0x1854f8===_0x3c4b1b)break;else _0x4afd83['push'](_0x4afd83['shift']());}catch(_0x555404){_0x4afd83['push'](_0x4afd83['shift']());}}}(_0x1521,0x9fa71));import{View as _0x312f03,IconView as _0x485082}from'ckeditor5/src/ui.js';import{IconUser as _0x31e39c}from'ckeditor5/src/icons.js';import{getTranslation as _0x22f10d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x312f03{constructor(_0x337c6e,_0x3a1361,_0x2c63f5){const _0x5eaa7f=_0xa28e;super(_0x337c6e);const _0x1fe3a9=new _0x485082();_0x1fe3a9[_0x5eaa7f(0x187)]({'content':_0x31e39c,'viewBox':_0x5eaa7f(0x188)});const _0x326e24=['ck',_0x5eaa7f(0x17e)];_0x2c63f5&&_0x326e24[_0x5eaa7f(0x17f)](_0x5eaa7f(0x17c));const _0x5f212c=[{'tag':_0x5eaa7f(0x18a),'attributes':{'class':['ck',_0x5eaa7f(0x180)],'title':_0x22f10d(_0x337c6e,_0x2c63f5?_0x5eaa7f(0x17b):_0x5eaa7f(0x182))},'children':[_0x1fe3a9,_0x3a1361[_0x5eaa7f(0x183)]]}];this[_0x5eaa7f(0x17d)]({'tag':'li','attributes':{'class':_0x326e24},'children':_0x5f212c});}}function _0x1521(){const _0x490063=['53063hfPqYw','2969973LcPzJY','set','0\x200\x2011\x2010','134200FZyjiJ','span','1630CiaiHw','252fKcJMA','141raGfho','10710SgvUQq','21750110uliEGM','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','setTemplate','ck-revision-history-sidebar__revision-author','push','ck-revision-history-sidebar__revision-author__name','104332Lynpon','Revision\x20author','name','1600594bwvkkF'];_0x1521=function(){return _0x490063;};return _0x1521();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd7e25f=_0x3179;function _0x3179(_0x3e9265,_0x38253e){const _0x66cabe=_0x66ca();return _0x3179=function(_0x3179df,_0x49e573){_0x3179df=_0x3179df-0xba;let _0x5a79e=_0x66cabe[_0x3179df];return _0x5a79e;},_0x3179(_0x3e9265,_0x38253e);}(function(_0xaca0d5,_0x393fe4){const _0x325e2e=_0x3179,_0x158dce=_0xaca0d5();while(!![]){try{const _0x3f7090=parseInt(_0x325e2e(0xcd))/0x1+-parseInt(_0x325e2e(0xbd))/0x2*(parseInt(_0x325e2e(0xbe))/0x3)+-parseInt(_0x325e2e(0xc9))/0x4*(parseInt(_0x325e2e(0xd1))/0x5)+-parseInt(_0x325e2e(0xc1))/0x6*(-parseInt(_0x325e2e(0xc6))/0x7)+-parseInt(_0x325e2e(0xc8))/0x8+parseInt(_0x325e2e(0xcc))/0x9+-parseInt(_0x325e2e(0xca))/0xa*(-parseInt(_0x325e2e(0xc5))/0xb);if(_0x3f7090===_0x393fe4)break;else _0x158dce['push'](_0x158dce['shift']());}catch(_0x1068ba){_0x158dce['push'](_0x158dce['shift']());}}}(_0x66ca,0xe9e51));import{LabeledFieldView as _0x3b23bf}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x59aa11}from'ckeditor5/src/utils.js';import{getTranslation as _0x28a29a}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x3b23bf{[_0xd7e25f(0xc0)]=null;constructor(_0x2219b9,_0x3f57e1){const _0x14536a=_0xd7e25f;super(_0x2219b9,_0x3f57e1);const _0x1b8cfa=this[_0x14536a(0xd4)];this[_0x14536a(0xd2)]({'label':_0x28a29a(_0x2219b9,_0x14536a(0xba)),'_tooltipString':''}),this[_0x14536a(0xd6)][_0x14536a(0xbb)]=_0x28a29a(_0x2219b9,_0x14536a(0xce)),this[_0x14536a(0xd3)]({'tag':_0x14536a(0xc3),'attributes':{'class':[_0x14536a(0xd8)],'data-cke-tooltip-text':_0x1b8cfa['to'](_0x14536a(0xbf)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x14536a(0xd5)}});}[_0xd7e25f(0xd0)](){const _0x4a8065=_0xd7e25f;super[_0x4a8065(0xd0)](),this[_0x4a8065(0xc0)]=new _0x59aa11(this[_0x4a8065(0xd6)][_0x4a8065(0xc7)],()=>this[_0x4a8065(0xd9)]()),this[_0x4a8065(0xc2)](this[_0x4a8065(0xd6)],_0x4a8065(0xbc),()=>this[_0x4a8065(0xd9)]());}[_0xd7e25f(0xcb)](){const _0x2c0144=_0xd7e25f;super[_0x2c0144(0xcb)](),this[_0x2c0144(0xc0)]&&this[_0x2c0144(0xc0)][_0x2c0144(0xcb)]();}[_0xd7e25f(0xd9)](){const _0x5b0920=_0xd7e25f,_0x58b7da=this[_0x5b0920(0xd6)][_0x5b0920(0xc7)];this[_0x5b0920(0xbf)]=_0x58b7da[_0x5b0920(0xc4)]>_0x58b7da[_0x5b0920(0xd7)]&&_0x58b7da[_0x5b0920(0xcf)]||'';}}function _0x66ca(){const _0x5b8e29=['set','extendTemplate','bindTemplate','ck-tooltip_multi-line','fieldView','clientWidth','ck-revision-history-sidebar__revision-name','_updateTooltipText','Revision\x20name','placeholder','input','827314PvsjGR','6EBTLOk','_tooltipString','_resizeObserver','40884YdsZWh','listenTo','span','scrollWidth','371899yeOsDg','399TqbNpv','element','8468632fTOxCr','4dVqWcE','790wsYtXq','destroy','7534458ybqjME','773533huuToF','Enter\x20the\x20revision\x20name','value','render','9130390pQMuJu'];_0x66ca=function(){return _0x5b8e29;};return _0x66ca();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1d3668=_0x3592;(function(_0x492979,_0x392247){const _0xf793f6=_0x3592,_0x4114a8=_0x492979();while(!![]){try{const _0x17904c=parseInt(_0xf793f6(0xcc))/0x1*(-parseInt(_0xf793f6(0xcf))/0x2)+-parseInt(_0xf793f6(0x94))/0x3*(parseInt(_0xf793f6(0xcb))/0x4)+parseInt(_0xf793f6(0xb6))/0x5+parseInt(_0xf793f6(0x9b))/0x6*(parseInt(_0xf793f6(0x98))/0x7)+-parseInt(_0xf793f6(0xc2))/0x8+parseInt(_0xf793f6(0xbb))/0x9+-parseInt(_0xf793f6(0x97))/0xa;if(_0x17904c===_0x392247)break;else _0x4114a8['push'](_0x4114a8['shift']());}catch(_0x56d1eb){_0x4114a8['push'](_0x4114a8['shift']());}}}(_0x5c80,0x602ae));import{View as _0x4c054b,createLabeledInputText as _0x14e567}from'ckeditor5/src/ui.js';function _0x3592(_0x47c3c4,_0x221cb0){const _0x5c80e8=_0x5c80();return _0x3592=function(_0x35924b,_0x2315b9){_0x35924b=_0x35924b-0x91;let _0x2e3051=_0x5c80e8[_0x35924b];return _0x2e3051;},_0x3592(_0x47c3c4,_0x221cb0);}import{ConfirmMixin as _0x3e8fac}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0x456fc5}from'./revisionnameview.js';import{RevisionAuthorView as _0x347b44}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x59da4f}from'./utils.js';import{createActionsDropdownView as _0x352dcb}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3e8fac(_0x4c054b){['id'];[_0x1d3668(0xce)];[_0x1d3668(0xab)];[_0x1d3668(0xb1)];[_0x1d3668(0xd1)];constructor(_0x56c4af,_0x4e92d2,_0x3e6844,_0x806e92){const _0x4b7eb2=_0x1d3668;super(_0x56c4af);const _0x3c6d7f=this[_0x4b7eb2(0x99)],_0xe29301=function(_0x2d90c0,_0x2ed7b3){const _0x5c12f5=_0x4b7eb2,_0x5a16d2=Array[_0x5c12f5(0x95)](_0x2ed7b3[_0x5c12f5(0xa6)])[_0x5c12f5(0x9d)](_0xb97bc0=>_0xb97bc0!=_0x2ed7b3[_0x5c12f5(0xbe)]);return _0x2ed7b3[_0x5c12f5(0xbe)]&&_0x5a16d2[_0x5c12f5(0xb9)](_0x2ed7b3[_0x5c12f5(0xbe)]),_0x5a16d2[_0x5c12f5(0xad)](_0x446fa8=>new _0x347b44(_0x2d90c0,_0x446fa8,_0x446fa8==_0x2ed7b3[_0x5c12f5(0xbe)]));}(_0x56c4af,_0x4e92d2);this['id']=_0x4e92d2['id'],this[_0x4b7eb2(0xb1)]=_0x4e92d2,this[_0x4b7eb2(0xd1)]=_0x806e92,this[_0x4b7eb2(0xc1)](_0x4b7eb2(0x9e),_0x4b7eb2(0x92))['to'](_0x4e92d2),this[_0x4b7eb2(0xc1)](_0x4b7eb2(0xb2))['to'](this,_0x4b7eb2(0x92),_0x1b5199=>_0x59da4f(_0x56c4af[_0x4b7eb2(0xb3)],_0x1b5199)),this[_0x4b7eb2(0xc9)](_0x4b7eb2(0xb4),!0x1),this[_0x4b7eb2(0xc9)](_0x4b7eb2(0xaa),!0x1),this[_0x4b7eb2(0xc9)](_0x4b7eb2(0xa8),!0x1),this[_0x4b7eb2(0xc9)](_0x4b7eb2(0xa0),!0x1),this[_0x4b7eb2(0xc9)](_0x4b7eb2(0xc6),!0x1),this[_0x4b7eb2(0xce)]=new _0x456fc5(_0x56c4af,_0x14e567),this[_0x4b7eb2(0xce)][_0x4b7eb2(0xc3)][_0x4b7eb2(0xca)]({'attributes':{'maxlength':_0x4b7eb2(0xa7)}}),this[_0x4b7eb2(0xce)][_0x4b7eb2(0xc3)][_0x4b7eb2(0xc1)](_0x4b7eb2(0xb5))['to'](this,_0x4b7eb2(0x9e),_0x39107c=>_0x39107c||this[_0x4b7eb2(0xb2)]),this[_0x4b7eb2(0xce)][_0x4b7eb2(0xc1)](_0x4b7eb2(0xc6))['to'](this,_0x4b7eb2(0xb4),this,_0x4b7eb2(0xc6),(_0x1f4bb9,_0x3548f6)=>_0x1f4bb9&&_0x3548f6),this[_0x4b7eb2(0xab)]=_0x3e6844&&_0x3e6844[_0x4b7eb2(0xbc)]?_0x352dcb(this,_0x3e6844):'',this[_0x4b7eb2(0xab)]&&this[_0x4b7eb2(0xab)][_0x4b7eb2(0xc1)](_0x4b7eb2(0xc6))['to'](this),this[_0x4b7eb2(0xa9)]({'tag':_0x4b7eb2(0xae),'attributes':{'class':['ck',_0x4b7eb2(0xbd),_0x4b7eb2(0x9c),_0x3c6d7f['if'](_0x4b7eb2(0xb7),_0x4b7eb2(0xba))]},'children':[{'tag':_0x4b7eb2(0xae),'attributes':{'class':['ck',_0x4b7eb2(0xbd),_0x4b7eb2(0xac),_0x3c6d7f['if'](_0x4b7eb2(0xc6),_0x4b7eb2(0xb0),_0x515a41=>!_0x515a41),_0x3c6d7f['if'](_0x4b7eb2(0xb4),_0x4b7eb2(0x96)),_0x3c6d7f['if'](_0x4b7eb2(0xaa),_0x4b7eb2(0x93)),_0x3c6d7f['if'](_0x4b7eb2(0xa8),_0x4b7eb2(0xc4))]},'children':[this[_0x4b7eb2(0xce)],{'tag':_0x4b7eb2(0x91),'attributes':{'class':['ck',_0x4b7eb2(0xc7)]},'children':[{'text':_0x3c6d7f['to'](_0x4b7eb2(0xb2))}]},{'tag':_0x4b7eb2(0xae),'attributes':{'class':['ck',_0x4b7eb2(0xaf)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x4b7eb2(0xc5)]},'children':_0xe29301}]},this[_0x4b7eb2(0xab)]],'on':{'click':_0x3c6d7f['to'](_0x2144e6=>{const _0x4805da=_0x4b7eb2;_0x2144e6[_0x4805da(0xbf)][_0x4805da(0x9a)](_0x4805da(0xb8))||this[_0x4805da(0xa0)]&&this[_0x4805da(0xc6)]&&this[_0x4805da(0xa3)](_0x4805da(0xa2),{'id':this['id']});})}}]});}[_0x1d3668(0xc0)](){const _0x2ab78e=_0x1d3668;super[_0x2ab78e(0xc0)]();const _0xa468fa=this[_0x2ab78e(0xce)][_0x2ab78e(0xc3)][_0x2ab78e(0xa5)];this[_0x2ab78e(0xcd)](_0xa468fa,_0x2ab78e(0xd0),()=>{const _0x10d751=_0x2ab78e;this[_0x10d751(0xd1)]&&!_0xa468fa[_0x10d751(0xb5)]||this[_0x10d751(0xa3)](_0x10d751(0xa4),{'id':this['id'],'name':_0xa468fa[_0x10d751(0xb5)]}),_0xa468fa[_0x10d751(0xb5)]||(_0xa468fa[_0x10d751(0xb5)]=this[_0x10d751(0x9e)]?this[_0x10d751(0x9e)]:this[_0x10d751(0xb2)]);});}[_0x1d3668(0xa2)](){const _0x52ac07=_0x1d3668;this[_0x52ac07(0xb4)]=!0x0;}[_0x1d3668(0xc8)](){const _0x12573b=_0x1d3668;this[_0x12573b(0xb4)]=!0x1;}[_0x1d3668(0xa1)](){const _0x45dec1=_0x1d3668;this[_0x45dec1(0xaa)]=!0x0;}[_0x1d3668(0x9f)](){const _0x20456d=_0x1d3668;this[_0x20456d(0xaa)]=!0x1;}}function _0x5c80(){const _0x35e5ec=['445866btGCkY','ck-revision-history-sidebar__revision-wrapper','filter','name','unhighlight','isReady','highlight','select','fire','setName','element','authors','220','isActionsDropdownOpen','setTemplate','isHighlighted','revisionActionsView','ck-revision-history-sidebar__revision','map','div','ck-revision-history-sidebar__revision__controls-wrapper','ck-disabled','_revision','_createdAtFormatted','uiLanguage','isSelected','value','3059395CQksHx','isConfirm','.ck-thread__remove-confirm','unshift','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','3308643WXHjhU','length','ck-reset','creator','srcElement','render','bind','3821056LSTnRk','fieldView','ck-revision-history-sidebar__actions_dropdown_open','ck-revision-history-sidebar__revision-authors','isEnabled','ck-revision-history-sidebar__revision__date','deselect','set','extendTemplate','740iPuHsS','1375OjKpnb','listenTo','revisionNameView','374KrKvHa','change','_requireRevisionName','span','createdAt','ck-revision-history-sidebar__revision_highlighted','3018NnRgLK','from','ck-revision-history-sidebar__revision_selected','3335360asWsCS','63TOaEPW','bindTemplate','closest'];_0x5c80=function(){return _0x35e5ec;};return _0x5c80();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3592(){const _0x569555=['ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser','toggle','36500cnpvhX','false','ck-hidden','span','42QwoWYi','10784277yYzUpN','7AZCcTs','_isCollapsed','12OkOwMP','17406050gOqSew','364840tEeEHr','bindTemplate','8037256pJNcez','set','click','isVisible','true','391661kgdzIJ','ck-revision-history-sidebar__subrevision-collapser__inner','button','204145oFNnGj','setTemplate'];_0x3592=function(){return _0x569555;};return _0x3592();}function _0x4332(_0x29e4c0,_0x57aef6){const _0x3592a0=_0x3592();return _0x4332=function(_0x43320b,_0x22ba8f){_0x43320b=_0x43320b-0x162;let _0x89a61e=_0x3592a0[_0x43320b];return _0x89a61e;},_0x4332(_0x29e4c0,_0x57aef6);}const _0x178b62=_0x4332;(function(_0x2076f5,_0x276726){const _0x10aea1=_0x4332,_0x23f5ba=_0x2076f5();while(!![]){try{const _0x102c1e=parseInt(_0x10aea1(0x163))/0x1+-parseInt(_0x10aea1(0x175))/0x2+-parseInt(_0x10aea1(0x16f))/0x3*(-parseInt(_0x10aea1(0x16b))/0x4)+parseInt(_0x10aea1(0x166))/0x5*(-parseInt(_0x10aea1(0x173))/0x6)+parseInt(_0x10aea1(0x171))/0x7*(parseInt(_0x10aea1(0x177))/0x8)+parseInt(_0x10aea1(0x170))/0x9+-parseInt(_0x10aea1(0x174))/0xa;if(_0x102c1e===_0x276726)break;else _0x23f5ba['push'](_0x23f5ba['shift']());}catch(_0xb28c25){_0x23f5ba['push'](_0x23f5ba['shift']());}}}(_0x3592,0xaf346));import{View as _0x1a83d9}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export class SubrevisionCollapserView extends _0x1a83d9{constructor(_0x1b594d){const _0x13ffcd=_0x4332;super(_0x1b594d);const _0x4b1f5a=this[_0x13ffcd(0x176)];this[_0x13ffcd(0x178)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x13ffcd(0x167)]({'tag':_0x13ffcd(0x16e),'attributes':{'class':['ck',_0x13ffcd(0x169),_0x4b1f5a['if'](_0x13ffcd(0x17a),_0x13ffcd(0x16d),_0x588f36=>!_0x588f36),_0x4b1f5a['if'](_0x13ffcd(0x172),_0x13ffcd(0x168))],'role':_0x13ffcd(0x165),'aria-pressed':_0x4b1f5a['to'](_0x13ffcd(0x172),_0x2325c8=>_0x2325c8?_0x13ffcd(0x16c):_0x13ffcd(0x162))},'children':[{'tag':_0x13ffcd(0x16e),'attributes':{'class':['ck',_0x13ffcd(0x164)]}}],'on':{'click':_0x4b1f5a['to'](_0x13ffcd(0x179))}});}[_0x178b62(0x16a)](){const _0x460ad8=_0x178b62;this[_0x460ad8(0x172)]=!this[_0x460ad8(0x172)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5814ae=_0x46df;(function(_0x894730,_0x417f58){const _0x2179fc=_0x46df,_0x1b2ac9=_0x894730();while(!![]){try{const _0x204ea4=parseInt(_0x2179fc(0xdb))/0x1*(parseInt(_0x2179fc(0xd7))/0x2)+parseInt(_0x2179fc(0xd9))/0x3+-parseInt(_0x2179fc(0xdd))/0x4*(parseInt(_0x2179fc(0xe7))/0x5)+-parseInt(_0x2179fc(0xdc))/0x6+parseInt(_0x2179fc(0xe1))/0x7+-parseInt(_0x2179fc(0xdf))/0x8+parseInt(_0x2179fc(0xd0))/0x9*(-parseInt(_0x2179fc(0xcb))/0xa);if(_0x204ea4===_0x417f58)break;else _0x1b2ac9['push'](_0x1b2ac9['shift']());}catch(_0x22ed36){_0x1b2ac9['push'](_0x1b2ac9['shift']());}}}(_0x1cee,0xd0d62));function _0x1cee(){const _0x4711f8=['bind','2910985NvaUEu','setTemplate','bindTemplate','10ugFuAJ','creator','fire','createdAt','ck-revision-history-sidebar__revision-authors','2612763NKobLu','ck-revision-history-sidebar__subrevision','_createdAtFormatted','select','div','_parentRevisionId','ck-revision-history-sidebar__revision_selected','6GLiHSg','ck-reset','3756174rgggiq','span','484811sJwKZF','7771554qdVtzV','4PSfPlj','ck-revision-history-sidebar__revision__date','5771792PPHOoV','deselect','7266980wtdWGf','set','uiLanguage','isSelected','ck-revision-history-sidebar__revision'];_0x1cee=function(){return _0x4711f8;};return _0x1cee();}function _0x46df(_0x351876,_0x5d9ccc){const _0x1cee64=_0x1cee();return _0x46df=function(_0x46df02,_0x446916){_0x46df02=_0x46df02-0xca;let _0x3f853d=_0x1cee64[_0x46df02];return _0x3f853d;},_0x46df(_0x351876,_0x5d9ccc);}import{View as _0x4eff1c}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x3b1fd0}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x317753}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x4eff1c{['id'];[_0x5814ae(0xd5)];constructor(_0x1deb5f,_0x41f7a0,_0x516b98){const _0x3c8490=_0x5814ae;super(_0x1deb5f);const _0x498af6=this[_0x3c8490(0xca)];this['id']=_0x41f7a0['id'],this[_0x3c8490(0xe6)](_0x3c8490(0xce))['to'](_0x41f7a0),this[_0x3c8490(0xe2)](_0x3c8490(0xe4),!0x1),this[_0x3c8490(0xe6)](_0x3c8490(0xd2))['to'](this,_0x3c8490(0xce),_0x499a19=>_0x499a19?_0x317753(_0x1deb5f[_0x3c8490(0xe3)],_0x499a19):void 0x0),this[_0x3c8490(0xd5)]=_0x516b98,this[_0x3c8490(0xe8)]({'tag':_0x3c8490(0xd4),'attributes':{'class':['ck',_0x3c8490(0xd8),_0x3c8490(0xe5),_0x3c8490(0xd1),_0x498af6['if'](_0x3c8490(0xe4),_0x3c8490(0xd6))]},'children':[{'tag':_0x3c8490(0xda),'attributes':{'class':['ck',_0x3c8490(0xde)]},'children':[{'text':_0x498af6['to'](_0x3c8490(0xd2))}]},{'tag':'ul','attributes':{'class':['ck',_0x3c8490(0xcf)]},'children':[new _0x3b1fd0(_0x1deb5f,_0x41f7a0[_0x3c8490(0xcc)],!0x0)]}],'on':{'click':_0x498af6['to'](this[_0x3c8490(0xd3)][_0x3c8490(0xe6)](this))}});}[_0x5814ae(0xd3)](){const _0xfe75ff=_0x5814ae;this[_0xfe75ff(0xe4)]=!0x0,this[_0xfe75ff(0xcd)](_0xfe75ff(0xd3),{'parentId':this[_0xfe75ff(0xd5)]});}[_0x5814ae(0xe0)](){const _0x4057d5=_0x5814ae;this[_0x4057d5(0xe4)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xa812(_0x4d01da,_0x1f5735){var _0xf9c029=_0xf9c0();return _0xa812=function(_0xa812fa,_0x3d571f){_0xa812fa=_0xa812fa-0xec;var _0x462b87=_0xf9c029[_0xa812fa];return _0x462b87;},_0xa812(_0x4d01da,_0x1f5735);}function _0xf9c0(){var _0x1d6d49=['numeric','3769227SNAwla','209630YyMiKd','24iNasXd','toLocaleDateString','4216219zAzovh','27UquyFF','9272240MkzLgw','toLocaleTimeString','long','6pUOpya','433342xNwfkK','67916cYIBcV','4473565rNdVMu'];_0xf9c0=function(){return _0x1d6d49;};return _0xf9c0();}(function(_0x19cb3d,_0x336a79){var _0x539dad=_0xa812,_0x1614e7=_0x19cb3d();while(!![]){try{var _0x33876d=-parseInt(_0x539dad(0xf0))/0x1+-parseInt(_0x539dad(0xf5))/0x2+-parseInt(_0x539dad(0xf9))/0x3*(-parseInt(_0x539dad(0xf1))/0x4)+parseInt(_0x539dad(0xf2))/0x5*(parseInt(_0x539dad(0xef))/0x6)+parseInt(_0x539dad(0xf8))/0x7+parseInt(_0x539dad(0xf6))/0x8*(-parseInt(_0x539dad(0xf4))/0x9)+parseInt(_0x539dad(0xec))/0xa;if(_0x33876d===_0x336a79)break;else _0x1614e7['push'](_0x1614e7['shift']());}catch(_0x19779e){_0x1614e7['push'](_0x1614e7['shift']());}}}(_0xf9c0,0xbf0a3));export function dateToPrettyFormat(_0x9b71e7,_0xfa88ef){var _0x4572f9=_0xa812;return _0xfa88ef[_0x4572f9(0xf7)](_0x9b71e7,{'month':_0x4572f9(0xee),'day':_0x4572f9(0xf3)})+',\x20'+_0xfa88ef[_0x4572f9(0xed)](_0x9b71e7,{'hour':_0x4572f9(0xf3),'minute':_0x4572f9(0xf3)});}
|