@ckeditor/ckeditor5-revision-history 47.0.0-alpha.6 → 47.0.0-alpha.8
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 +12 -12
- 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 _0x42cf3c=_0x6f68;(function(_0x232eb2,_0x139237){const _0x15f741=_0x6f68,_0x17e095=_0x232eb2();while(!![]){try{const _0x2d096c=parseInt(_0x15f741(0x14e))/0x1*(parseInt(_0x15f741(0x154))/0x2)+-parseInt(_0x15f741(0x10f))/0x3+parseInt(_0x15f741(0x11f))/0x4*(-parseInt(_0x15f741(0xfd))/0x5)+-parseInt(_0x15f741(0x15e))/0x6*(parseInt(_0x15f741(0x137))/0x7)+parseInt(_0x15f741(0x1e7))/0x8*(parseInt(_0x15f741(0xe8))/0x9)+-parseInt(_0x15f741(0x202))/0xa*(-parseInt(_0x15f741(0x131))/0xb)+parseInt(_0x15f741(0x1fb))/0xc*(parseInt(_0x15f741(0x19d))/0xd);if(_0x2d096c===_0x139237)break;else _0x17e095['push'](_0x17e095['shift']());}catch(_0x209997){_0x17e095['push'](_0x17e095['shift']());}}}(_0x3c88,0x9d003));import{Plugin as _0x3be9e6,Command as _0x5248b5}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x3d1d40}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x440469}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0x571325,ModelElement as _0xe02ab2,ModelText as _0x1c523a}from'ckeditor5/src/engine.js';function _0x3c88(){const _0x392461=['flat','startIndex','parent','level','rootName','bind','ck-revision-history-root-remove','listenTo','vid','push','insertion','isBlock','_getChangeFromId','then','viewItem','isCollapsed','range','_findChangeIdFromDomTarget','6VoScis','isContent','delete','getItems','markersStart','_revisions','93490PtjQJm','markersEnd','RevisionHistoryUtils','_balloon','consume','isAtEnd','addMarker:revision-suggestion:insertion','editor','find','showNextChange','66NDNTFp','_refreshStartEndIndex','_update','abs','for','isSuggestion','change:isReady','get','reconvertMarker','getWalker','_removeMissingPairs','execute','change:activeChange','_makeModelFromViewString','findIndex','isLimit','getRevisionRootsAttributes','userId','POSITIVE_INFINITY','wrap','forceDisabled','revision-suggestion','length','ck-suggestion-preview-marker-','_joinTapes','side','string','WidgetToolbarRepository','markerNameToElements','adapter','isIncorrect','revisionHistory','upcast','_appendChild','_initInteractions','isAdded','toViewRange','isBefore','createRevision','unbindElementFromMarkerName','_threeWayMerge','data-change-id','vid_start','diff','_setChanges','authors','ck-suggestion-marker','test','filter','high','suggestion:','text','getRoot','checkAttribute','activeView','init','ck-suggestion-marker-','startsWith','object','_makeModelFromTape','change','changes','_markMismatchedRemovedTags','594438MnjhcA','getRevision','editingDowncast','getCustomProperty','revision-suggestion:','diffData','_markMarkers','mapViewToDom','ck-suggestion-marker-merge','_getRevisionsRange','loadRevisionData','forward','type','deletions','elementToAttribute','addMarker:revision-suggestion:deletion','_makeTape','writer','isEqual','currentChangeNumber','createPositionBefore','getChild','addHighlight','_markInsertions','activeChange','addMarker:revision','isRemoveSuggestion','element','getIndex','maxOffset','ck-suggestion-marker-split','_setConversion','set','softBreak','pop','resolve','right','detachRoot','RevisionsRepository','conversion','editing','start','oldRevisionId','clear','element:pre','getRootNames','endIndex','revisionHistoryAttachChange','end','isAtStart','toViewElement','addRevisionData','data','first','done','_data','isRemoved','return','compare','previousPosition','removeMarker','keys','markerName','createUIElement','updatePosition','index','span','getLaterVisibleRevision','attributesBefore','restoreRevision','markers','remove','change:isEnabled','top','16Rcsycx','enableReadOnlyMode','next','createPositionFromPath','addClass','bindElementToMarker','isPremiumPlugin','comment','attachChange','mapper','markerToData','backward','_step','affectsData','consumable','isEnabled','isAfter','add','uiElement','highest','132MGSiek','pluginName','isAddSuggestion','revision:','createRange','includes','elementStart','130McIVOg','-new','vid_end','observeMarkers','distance','view','ck-revision-history-root-add','downcastDispatcher','change:numberOfChanges','removeAttribute','_getDiff','isOnRoot','merge','revision-comment:','change:activeView','_markSuggestions','mousedown','_sortAndFilterDiffChanges','schema','getAttribute','config','model','addRoot','values','isAttached','elementEnd','offsetSize','item','splice','ck-suggestion-preview-marker','setAttribute','document','_fixObsoleteTags','_changeView','revision','catch','split','getAttributes','RevisionViewer','removeMarker:revision-suggestion','locale','attribute:vid','dataToMarker','revision-viewer','removeMarker:revision','name','showStack','722394WzYeyN','insert','_activeViewTarget','forEach','isNavigationMode','requires','revisionHistoryLabel','_processTape','enqueueChange','_changeIdToChange','ck-suggestion-marker--active','stop','bottom','has','addRevision','_removeUnsupportedChanges','attributes','markerRange','_cleanUp','sort','repository','751780OirWqW','domEvent','showPreviousChange','ck-editor__editable__overlay','commands','isReady','nextSibling','dataDowncast','numberOfChanges','selection','createRangeIn','error','mouseover','ck-revision-history-root--active','unshift','low','markerToHighlight','hasAttribute','668502nGmMay','restoreRevisionCallback','removeClass','all','map','domConverter','destroy','toViewPosition','hasClass','getDomRoot','ck-revision-history-root-','deletion','from','_utils','insertions','isInline','4xWOAwE','left','_cleanMarkers','shift','_getViewForChange','pairId','modelRange','newRevisionId','isOfficialPlugin','suggestion','changeId','target','slice','indexOf','refresh','nextPosition','concat','plugins','582472ncYPSJ','attributesAfter','nodeAfter','isObject','getClientRects','getRevisionDocumentData','392063asFevo','roots','code','createAttributeElement','_setDistance'];_0x3c88=function(){return _0x392461;};return _0x3c88();}function _0x6f68(_0x410927,_0x433070){const _0x3c886b=_0x3c88();return _0x6f68=function(_0x6f68e9,_0x2d0170){_0x6f68e9=_0x6f68e9-0xba;let _0x38030d=_0x3c886b[_0x6f68e9];return _0x38030d;},_0x6f68(_0x410927,_0x433070);}import{Users as _0x40758f,getMarkerDomElement as _0x906310}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x1c8a44}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x3c5993}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x5602f7}from'./revisionhistoryutils.js';import{ChangeItem as _0x14de54}from'./changeitem.js';import{RevisionDiff as _0x2aca91}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x21e164}from'es-toolkit/compat';export class RevisionViewer extends _0x3be9e6{[_0x42cf3c(0xfc)];[_0x42cf3c(0x17b)]=null;[_0x42cf3c(0x11c)];[_0x42cf3c(0xea)];[_0x42cf3c(0xda)];[_0x42cf3c(0xf1)];[_0x42cf3c(0x157)];static get[_0x42cf3c(0x1fc)](){const _0xb83bf7=_0x42cf3c;return _0xb83bf7(0xdf);}static get[_0x42cf3c(0x127)](){return!0x0;}static get[_0x42cf3c(0x1ed)](){return!0x0;}static get[_0x42cf3c(0xed)](){return[_0x40758f,_0x440469,_0x3c5993,_0x5602f7];}constructor(_0x247fa7){const _0x381613=_0x42cf3c;super(_0x247fa7),this[_0x381613(0xfc)]=this[_0x381613(0x15b)][_0x381613(0x130)][_0x381613(0x165)](_0x381613(0x1c3)),this[_0x381613(0x11c)]=this[_0x381613(0x15b)][_0x381613(0x130)][_0x381613(0x165)](_0x381613(0x156)),this[_0x381613(0x1bd)](_0x381613(0x1b5),null),this[_0x381613(0x1bd)](_0x381613(0x194),null),this[_0x381613(0xea)]=null,this[_0x381613(0x1bd)](_0x381613(0x189),null),this[_0x381613(0x1bd)](_0x381613(0x102),!0x1),this[_0x381613(0x1bd)](_0x381613(0x1f6),!0x0),this['on'](_0x381613(0x1e5),(_0x2c1e6b,_0x135114,_0x18ce85)=>{const _0x4f0023=_0x381613;this[_0x4f0023(0x1b5)]=null,this[_0x4f0023(0x194)]=null,this[_0x4f0023(0x15b)][_0x4f0023(0x1c5)][_0x4f0023(0xbe)][_0x4f0023(0x19a)](_0x119ea7=>{const _0x3ff874=_0x4f0023;for(const _0x277a2e of this[_0x3ff874(0x15b)][_0x3ff874(0x1c5)][_0x3ff874(0xbe)][_0x3ff874(0xd8)][_0x3ff874(0x138)])_0x18ce85?_0x119ea7[_0x3ff874(0x111)](_0x3ff874(0x100),_0x277a2e):_0x119ea7[_0x3ff874(0x1eb)](_0x3ff874(0x100),_0x277a2e);});}),this[_0x381613(0x141)](_0x381613(0xec))['to'](this,_0x381613(0x1b5),_0x1eab98=>null!==_0x1eab98),this[_0x381613(0x141)](_0x381613(0x1b0))['to'](this,_0x381613(0x102),this,_0x381613(0x189),this,_0x381613(0x1b5),(_0x19ba4c,_0x38f2fd,_0x37af9c)=>_0x19ba4c&&_0x37af9c?_0x38f2fd[_0x381613(0x19b)][_0x381613(0x1b9)](_0x37af9c):0x0),this[_0x381613(0x141)](_0x381613(0x105))['to'](this,_0x381613(0x102),this,_0x381613(0x189),(_0x4ec4bb,_0x259004)=>_0x4ec4bb?_0x259004[_0x381613(0x19b)][_0x381613(0x174)]:0x0),this[_0x381613(0xda)]=null,this[_0x381613(0xf1)]=new Map(),this[_0x381613(0x157)]=this[_0x381613(0x15b)][_0x381613(0x130)][_0x381613(0x165)](_0x440469);}[_0x42cf3c(0x195)](){const _0x175744=_0x42cf3c,_0x16aa22=this[_0x175744(0x15b)],_0x32e5fb=new ShowChangeCommand(_0x16aa22,{'direction':_0x175744(0x1f2)}),_0x4b3539=new ShowChangeCommand(_0x16aa22,{'direction':_0x175744(0x1a8)});(_0x16aa22[_0x175744(0x101)][_0x175744(0x1f8)](_0x175744(0xff),_0x32e5fb),_0x16aa22[_0x175744(0x101)][_0x175744(0x1f8)](_0x175744(0x15d),_0x4b3539),_0x16aa22[_0x175744(0x101)][_0x175744(0x1f8)](_0x175744(0x1e2),new RestoreRevisionCommand(_0x16aa22)),this['on'](_0x175744(0xc1),()=>{const _0x25877a=_0x175744;_0x32e5fb[_0x25877a(0x12d)](),_0x4b3539[_0x25877a(0x12d)]();}),this[_0x175744(0x1bc)](),this[_0x175744(0x180)](),_0x16aa22[_0x175744(0x1e8)](_0x175744(0xe4)),_0x16aa22[_0x175744(0x130)][_0x175744(0xf5)](_0x175744(0x179)))&&_0x16aa22[_0x175744(0x130)][_0x175744(0x165)](_0x175744(0x179))[_0x175744(0x172)](_0x175744(0xe4));}async[_0x42cf3c(0x136)](_0xb232f1){const _0x1400a6=_0x42cf3c;return await this[_0x1400a6(0x11c)][_0x1400a6(0x1a7)](_0xb232f1,this[_0x1400a6(0x17b)]),this[_0x1400a6(0x11c)][_0x1400a6(0x136)](_0xb232f1);}async[_0x42cf3c(0x16e)](_0x53a344){const _0x21c41e=_0x42cf3c;return await this[_0x21c41e(0x11c)][_0x21c41e(0x1a7)](_0x53a344,this[_0x21c41e(0x17b)]),this[_0x21c41e(0x11c)][_0x21c41e(0x16e)](_0x53a344);}async[_0x42cf3c(0x1d7)](_0x55d967,_0xe37b94,_0x24816b=!0x1){const _0x158431=_0x42cf3c;if(!this[_0x158431(0x1f6)])return;const _0x17ef8f=this[_0x158431(0x189)],_0x3d4079=this[_0x158431(0xfc)],_0x5ca9db=_0x158431(0x178)==typeof _0x55d967?_0x3d4079[_0x158431(0x19e)](_0x55d967):_0x55d967,_0x3188a3=_0x158431(0x178)==typeof _0xe37b94?_0x3d4079[_0x158431(0x19e)](_0xe37b94):_0xe37b94,_0x57f0c0=_0x5ca9db['id'],_0x118b41=_0x3188a3?_0x3188a3['id']:null;if(!_0x24816b&&this[_0x158431(0x189)]&&this[_0x158431(0x189)][_0x158431(0x126)]===_0x57f0c0&&this[_0x158431(0x189)][_0x158431(0x1c7)]===_0x118b41)return Promise[_0x158431(0x1c0)]();this[_0x158431(0x102)]=!0x1,this[_0x158431(0x194)]=null,this[_0x158431(0x1b5)]=null,this[_0x158431(0x189)]=new _0x2aca91(_0x57f0c0,_0x118b41);const _0x3ea39f=this[_0x158431(0x1a6)](_0x5ca9db,_0x3188a3,!0x0)[_0x158431(0x113)](_0x5515b0=>this[_0x158431(0x11c)][_0x158431(0x1a7)](_0x5515b0,this[_0x158431(0x17b)]));return _0x3ea39f[_0x158431(0x145)](new Promise(_0x32795c=>{setTimeout(_0x32795c,0x14);})),Promise[_0x158431(0x112)](_0x3ea39f)[_0x158431(0x149)](()=>{const _0x2ff7e9=_0x158431;if(!this[_0x2ff7e9(0x1f6)])return;this[_0x2ff7e9(0xfa)]();const _0x160d54=this[_0x2ff7e9(0xc3)](_0x57f0c0,_0x118b41);for(const _0x4762ba of _0x160d54[_0x2ff7e9(0x19b)])this[_0x2ff7e9(0xf1)][_0x2ff7e9(0x1bd)](_0x4762ba['id'],_0x4762ba);this[_0x2ff7e9(0x15b)][_0x2ff7e9(0xce)][_0x2ff7e9(0xf0)]({'isUndoable':!0x1},_0x12307f=>{const _0x3fbbcf=_0x2ff7e9;for(const _0x1ead29 of this[_0x3fbbcf(0x15b)][_0x3fbbcf(0xce)][_0x3fbbcf(0xd8)][_0x3fbbcf(0x1ca)]())_0x12307f[_0x3fbbcf(0x1c2)](_0x1ead29);for(const _0xe7f612 of Object[_0x3fbbcf(0x1da)](_0x160d54[_0x3fbbcf(0xce)])){const _0x3b7f00=_0x12307f[_0x3fbbcf(0xcf)](_0xe7f612);for(const _0x20aeb0 of Object[_0x3fbbcf(0x1da)](_0x160d54[_0x3fbbcf(0xf8)][_0xe7f612]))_0x12307f[_0x3fbbcf(0xd7)](_0x20aeb0,_0x160d54[_0x3fbbcf(0xf8)][_0xe7f612][_0x20aeb0],_0x3b7f00);_0x12307f[_0x3fbbcf(0xe9)](_0x160d54[_0x3fbbcf(0xce)][_0xe7f612],_0x3b7f00,0x0);}}),this[_0x2ff7e9(0x189)][_0x2ff7e9(0x18a)](this[_0x2ff7e9(0xca)](_0x160d54[_0x2ff7e9(0x19b)])),this[_0x2ff7e9(0x102)]=!0x0;})[_0x158431(0xdc)](_0xd804ba=>{const _0x5ebef5=_0x158431;console[_0x5ebef5(0x108)](_0xd804ba),this[_0x5ebef5(0xfa)](),_0x17ef8f&&(this[_0x5ebef5(0x189)]=_0x17ef8f),this[_0x5ebef5(0x102)]=!0x0;});}[_0x42cf3c(0x1d0)](_0x23ea7b,_0xa70a9c){const _0x8fa80c=_0x42cf3c,_0x448dce=this[_0x8fa80c(0xfc)][_0x8fa80c(0x184)](_0x23ea7b);return _0x448dce['on'](_0x8fa80c(0x160),(_0x4a4294,_0x3d5f65,_0x2b4a46)=>_0xa70a9c(_0x3d5f65,_0x2b4a46,_0x448dce)),this[_0x8fa80c(0xfc)][_0x8fa80c(0xf6)](_0x448dce),_0x448dce;}[_0x42cf3c(0xfa)](){const _0x5a0165=_0x42cf3c;this[_0x5a0165(0x1b5)]=null,this[_0x5a0165(0x121)](),this[_0x5a0165(0xda)]&&this[_0x5a0165(0xda)][_0x5a0165(0x115)](),this[_0x5a0165(0xda)]=null,this[_0x5a0165(0xf1)][_0x5a0165(0x1c8)](),this[_0x5a0165(0x15b)][_0x5a0165(0xce)][_0x5a0165(0xf0)]({'isUndoable':!0x1},_0x56cc08=>{const _0xccb0d0=_0x5a0165;for(const _0x5448a2 of this[_0xccb0d0(0x15b)][_0xccb0d0(0xce)][_0xccb0d0(0xd8)][_0xccb0d0(0x1ca)]())_0x56cc08[_0xccb0d0(0x1c2)](_0x5448a2);});}[_0x42cf3c(0xca)](_0x18ae78){const _0x1ee61d=_0x42cf3c,_0x819c01=[],_0x3ef24d=new Map();for(const _0x1d5517 of this[_0x1ee61d(0x15b)][_0x1ee61d(0xce)][_0x1ee61d(0xd8)][_0x1ee61d(0x1ca)]()){const _0xbe540d=this[_0x1ee61d(0x15b)][_0x1ee61d(0x1c5)][_0x1ee61d(0xbe)][_0x1ee61d(0x118)](_0x1d5517);if(!_0xbe540d)continue;const _0x460a55=_0xbe540d[_0x1ee61d(0x135)]()[_0x1ee61d(0xd4)](0x0);_0x460a55&&(_0x819c01[_0x1ee61d(0x145)](_0x1d5517),_0x3ef24d[_0x1ee61d(0x1bd)](_0x1d5517,_0x460a55));}return _0x819c01[_0x1ee61d(0xfb)]((_0x4d991c,_0x5a25e2)=>{const _0x23b660=_0x1ee61d,_0x303ee7=_0x3ef24d[_0x23b660(0x165)](_0x4d991c),_0x5e4a88=_0x3ef24d[_0x23b660(0x165)](_0x5a25e2);return _0x303ee7['y']-_0x5e4a88['y']||_0x303ee7['x']-_0x5e4a88['x'];}),(_0x18ae78=_0x18ae78[_0x1ee61d(0x18e)](_0x4aa81b=>_0x819c01[_0x1ee61d(0x200)](_0x4aa81b[_0x1ee61d(0x140)])))[_0x1ee61d(0xfb)]((_0x1a84fd,_0x1c6d73)=>_0x819c01[_0x1ee61d(0x12c)](_0x1a84fd[_0x1ee61d(0x140)])-_0x819c01[_0x1ee61d(0x12c)](_0x1c6d73[_0x1ee61d(0x140)])),_0x18ae78;}[_0x42cf3c(0x1ad)](_0x4c9fb8){const _0x13f61e=_0x42cf3c,_0x4627c3=Array[_0x13f61e(0x11b)](_0x4c9fb8[_0x13f61e(0x1e3)])[_0x13f61e(0x18e)](([_0x42a42a,_0x44b435])=>_0x42a42a[_0x13f61e(0x197)](_0x13f61e(0x1fe))&&!_0x44b435[_0x13f61e(0x14b)]),_0xb650a5=Array[_0x13f61e(0x11b)](this[_0x13f61e(0x15b)][_0x13f61e(0xce)][_0x13f61e(0x107)](_0x4c9fb8)[_0x13f61e(0x167)]({'singleCharacters':!0x0}));if(0x0!=_0x4627c3[_0x13f61e(0x174)])for(const _0x2974ef of _0xb650a5){const [_0x4aadc1,_0x18ce67]=_0x4627c3[0x0],[,_0x143293,_0x2a7249]=_0x4aadc1[_0x13f61e(0xdd)](':');if(_0x18ce67[_0x13f61e(0x1cd)][_0x13f61e(0x1af)](_0x2974ef[_0x13f61e(0x12e)])&&_0x4627c3[_0x13f61e(0x122)](),(_0x2974ef[_0x13f61e(0x1d8)][_0x13f61e(0x1af)](_0x18ce67[_0x13f61e(0x1c6)])||_0x2974ef[_0x13f61e(0x1d8)][_0x13f61e(0x1f7)](_0x18ce67[_0x13f61e(0x1c6)]))&&(_0x13f61e(0x146)==_0x143293?_0x2974ef[_0x13f61e(0x181)]={'userId':_0x2a7249}:_0x13f61e(0x11a)==_0x143293&&(_0x2974ef[_0x13f61e(0x1d5)]={'userId':_0x2a7249})),0x0==_0x4627c3[_0x13f61e(0x174)])break;}return _0xb650a5;}[_0x42cf3c(0x15f)](_0x15a46a){const _0x4f80ce=_0x42cf3c,_0x372e04=new Map();for(let _0x12f149=0x0;_0x12f149<_0x15a46a[_0x4f80ce(0x174)];_0x12f149++)_0x4f80ce(0x191)===_0x15a46a[_0x12f149][_0x4f80ce(0x1a9)]?(_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x13d)]=_0x12f149,_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x1cb)]=_0x12f149):(_0x4f80ce(0x201)===_0x15a46a[_0x12f149][_0x4f80ce(0x1a9)]?_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x13d)]=_0x12f149:_0x4f80ce(0xd2)===_0x15a46a[_0x12f149][_0x4f80ce(0x1a9)]&&(_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x1cb)]=_0x12f149),_0x372e04[_0x4f80ce(0x1bd)](_0x15a46a[_0x12f149]['id'],_0x12f149));for(const _0x5595e8 of _0x372e04[_0x4f80ce(0xd0)]())_0x4f80ce(0x201)===_0x15a46a[_0x5595e8][_0x4f80ce(0x1a9)]?_0x15a46a[_0x5595e8][_0x4f80ce(0xd4)][_0x4f80ce(0x1cb)]=_0x372e04[_0x4f80ce(0x165)](_0x15a46a[_0x5595e8][_0x4f80ce(0x124)]):_0x4f80ce(0xd2)===_0x15a46a[_0x5595e8][_0x4f80ce(0x1a9)]&&(_0x15a46a[_0x5595e8][_0x4f80ce(0xd4)][_0x4f80ce(0x13d)]=_0x372e04[_0x4f80ce(0x165)](_0x15a46a[_0x5595e8][_0x4f80ce(0x124)]));}[_0x42cf3c(0xef)](_0x10a062){const _0x169a45=_0x42cf3c;for(let _0x1274da=0x0;_0x1274da<_0x10a062[_0x169a45(0x174)];_0x1274da++){if(_0x169a45(0x201)===_0x10a062[_0x1274da][_0x169a45(0x1a9)])_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x13d)]=_0x1274da;else{if(_0x169a45(0xd2)===_0x10a062[_0x1274da][_0x169a45(0x1a9)]){_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x1cb)]=_0x1274da;const _0xc2506f=_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x13d)];_0x10a062[_0xc2506f][_0x169a45(0x124)]=_0x10a062[_0x1274da]['id'],_0x10a062[_0x1274da][_0x169a45(0x124)]=_0x10a062[_0xc2506f]['id'];}else _0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x13d)]=_0x1274da,_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x1cb)]=_0x1274da,_0x10a062[_0x1274da][_0x169a45(0x124)]=null;}_0x10a062[_0x1274da][_0x169a45(0x152)]||(_0x10a062[_0x1274da][_0x169a45(0x152)]=[],_0x10a062[_0x1274da][_0x169a45(0x155)]=[]);}}[_0x42cf3c(0x1b4)](_0x2ce66a,_0x45469b){const _0x25965e=_0x42cf3c,_0x17b5f4=_0x2ce66a[_0x25965e(0x18e)](_0x3984fd=>!_0x3984fd[_0x25965e(0x181)]);for(let _0x796c93=0x0;_0x796c93<_0x45469b[_0x25965e(0x174)];_0x796c93++)_0x45469b[_0x796c93][_0x25965e(0x181)]&&(_0x17b5f4[_0x796c93][_0x25965e(0x181)]=_0x45469b[_0x796c93][_0x25965e(0x181)]);}[_0x42cf3c(0xc3)](_0x1e7f65,_0x5ce239=null){const _0x68a45f=_0x42cf3c,_0x436319=this[_0x68a45f(0xfc)][_0x68a45f(0x19e)](_0x1e7f65),_0x2737dc=_0x5ce239?this[_0x68a45f(0xfc)][_0x68a45f(0x19e)](_0x5ce239):null,_0x3c9190=this[_0x68a45f(0x1a6)](_0x436319,_0x2737dc),_0x3ef166=_0x3c9190[_0x3c9190[_0x68a45f(0x174)]-0x1],_0x2a4dd7=new Map(),_0x38b43c={'model':{},'attributes':{},'changes':[]},_0x1758d2=new Set(),_0x1d5c59=new Map();for(let _0x306404=_0x3c9190[_0x68a45f(0x174)]-0x1;_0x306404>=0x0;_0x306404--){const _0x3122fe=_0x3c9190[_0x306404];for(const _0x22afec of Object[_0x68a45f(0x1da)](_0x3122fe[_0x68a45f(0x1a2)]))if(_0x3122fe[_0x68a45f(0x1a2)][_0x22afec][_0x68a45f(0x1ef)]){const _0x282f25=_0x3122fe[_0x68a45f(0x1a2)][_0x22afec][_0x68a45f(0x1ef)];_0x282f25[_0x68a45f(0xd1)]?(_0x1758d2[_0x68a45f(0x1f8)](_0x22afec),_0x1d5c59[_0x68a45f(0xf5)](_0x22afec)&&_0x1d5c59[_0x68a45f(0x165)](_0x22afec)[_0x68a45f(0x16f)]==_0x282f25[_0x68a45f(0x16f)]?_0x1d5c59[_0x68a45f(0x150)](_0x22afec):_0x1d5c59[_0x68a45f(0x1bd)](_0x22afec,_0x282f25)):_0x1d5c59[_0x68a45f(0xf5)](_0x22afec)?(_0x1758d2[_0x68a45f(0x150)](_0x22afec),_0x1d5c59[_0x68a45f(0x150)](_0x22afec)):(_0x1758d2[_0x68a45f(0x1f8)](_0x22afec),_0x1d5c59[_0x68a45f(0x1bd)](_0x22afec,_0x282f25));}else _0x1758d2[_0x68a45f(0x1f8)](_0x22afec);}for(const _0x33e7a8 of _0x1758d2){const _0x5ab96d=_0x1d5c59[_0x68a45f(0xf5)](_0x33e7a8)&&!_0x1d5c59[_0x68a45f(0x165)](_0x33e7a8)[_0x68a45f(0xd1)];let _0x5ee4c9=_0x5ab96d?_0x3c9190[_0x68a45f(0x174)]-0x1:0x0;const _0x5f5740=_0x5ab96d?-0x1:0x1;for(;_0x3c9190[_0x5ee4c9];){const _0x3a50fc=_0x3c9190[_0x5ee4c9];if(_0x3a50fc[_0x68a45f(0x1a2)][_0x33e7a8]){const _0x4ac6c0=_0x5ab96d?_0x3a50fc[_0x68a45f(0x1a2)][_0x33e7a8][_0x68a45f(0x1e1)]:_0x3a50fc[_0x68a45f(0x1a2)][_0x33e7a8][_0x68a45f(0x132)];_0x38b43c[_0x68a45f(0xf8)][_0x33e7a8]=_0x4ac6c0?_0x21e164(_0x4ac6c0):{};break;}_0x5ee4c9+=_0x5f5740;}}for(const _0x287b9e of _0x3c9190){_0x287b9e[_0x68a45f(0xce)]={};for(const _0x9b0fda of _0x287b9e[_0x68a45f(0x18b)])_0x2a4dd7[_0x68a45f(0x1bd)](_0x9b0fda['id'],_0x9b0fda);for(const _0x678c84 of _0x1758d2){const _0x966fcb=_0x287b9e[_0x68a45f(0x1a2)][_0x678c84]?_0x287b9e[_0x68a45f(0x1a2)][_0x678c84][_0x68a45f(0x11d)]:'[]',_0x3a3d27=_0x287b9e[_0x68a45f(0x1a2)][_0x678c84]?_0x287b9e[_0x68a45f(0x1a2)][_0x678c84][_0x68a45f(0x1aa)]:'[]';_0x287b9e[_0x68a45f(0xce)][_0x678c84]={'insertions':this[_0x68a45f(0x11c)][_0x68a45f(0x16b)](_0x966fcb),'deletions':this[_0x68a45f(0x11c)][_0x68a45f(0x16b)](_0x3a3d27)};}}for(const _0x1c2317 of _0x1758d2){let _0x3de96f=null,_0x5a90f7=0x0;const _0x3e7eed=new Map(Array[_0x68a45f(0x11b)](_0x436319[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x11d)][_0x68a45f(0x1e3)])[_0x68a45f(0x18e)](([_0x512652])=>!_0x512652[_0x68a45f(0x197)](_0x68a45f(0x1fe))));let _0x5375e8=0x0;for(const _0x206e25 of _0x3c9190){const _0xdfc5a2=this[_0x68a45f(0x1ad)](_0x206e25[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x11d)]);_0x206e25==_0x436319?(_0x3de96f=_0xdfc5a2,_0x5a90f7=_0x3de96f[_0x68a45f(0x174)],_0x3de96f[_0x68a45f(0xeb)](_0x44febb=>{_0x44febb['id']=_0x5375e8++;}),this[_0x68a45f(0xef)](_0x3de96f)):this[_0x68a45f(0x1b4)](_0x3de96f,_0xdfc5a2);const _0x303412=_0x3de96f[_0x68a45f(0x18e)](_0x182018=>!_0x182018[_0x68a45f(0x181)])[_0x68a45f(0x113)](_0x2dfb3a=>_0x2dfb3a['id']);let _0x353b9b=0x0;const _0xe83490=this[_0x68a45f(0x1ad)](_0x206e25[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x1aa)]);_0xe83490[_0x68a45f(0xeb)](_0x722d2a=>{const _0x2f3cc8=_0x68a45f;_0x722d2a[_0x2f3cc8(0x1d5)]?_0x722d2a['id']=_0x5a90f7++:_0x722d2a['id']=_0x303412[_0x353b9b++];}),this[_0x68a45f(0xef)](_0xe83490),this[_0x68a45f(0x13b)](_0x3de96f,_0x68a45f(0x181)),this[_0x68a45f(0x13b)](_0xe83490,_0x68a45f(0x1d5)),_0x206e25==_0x436319&&this[_0x68a45f(0x1a3)](_0x3de96f,_0x3e7eed),_0x3de96f=this[_0x68a45f(0x176)](_0x3de96f,_0xe83490),this[_0x68a45f(0x15f)](_0x3de96f),this[_0x68a45f(0x13b)](_0x3de96f,_0x68a45f(0x1d5));}_0x3de96f=_0x3de96f[_0x68a45f(0x18e)](_0x3f737a=>!(_0x3f737a[_0x68a45f(0x181)]&&_0x3f737a[_0x68a45f(0x1d5)]));const _0x5316e7=new Map(_0x3ef166[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x1aa)][_0x68a45f(0x1e3)]),_0x102bb2=new Set(_0x3e7eed[_0x68a45f(0x1da)]());for(const _0x3fcede of _0x5316e7[_0x68a45f(0x1da)]())_0x102bb2[_0x68a45f(0x150)](_0x3fcede);this[_0x68a45f(0xc8)](_0x3de96f,_0x102bb2),this[_0x68a45f(0xd9)](_0x3de96f),_0x3de96f=this[_0x68a45f(0x168)](_0x3de96f),_0x3de96f=this[_0x68a45f(0x19c)](_0x3de96f),_0x3de96f=this[_0x68a45f(0xf7)](_0x3de96f);const {root:_0x5b98e5,changes:_0x1dbf0b}=this[_0x68a45f(0x199)](_0x3de96f,_0x2a4dd7,_0x1c2317);_0x38b43c[_0x68a45f(0xce)][_0x1c2317]=_0x5b98e5;const _0x29448c=_0x1d5c59[_0x68a45f(0x165)](_0x1c2317);if(_0x29448c){const _0x4f28c0=_0x2a4dd7[_0x68a45f(0x165)](_0x29448c[_0x68a45f(0x16f)]),_0xfe9f53=new _0x14de54({'author':_0x4f28c0,'type':_0x29448c[_0x68a45f(0xd1)]?_0x68a45f(0x1f8):_0x68a45f(0x1e4),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1c2317});_0x1dbf0b[_0x68a45f(0x10b)](_0xfe9f53),_0x38b43c[_0x68a45f(0xf8)][_0x1c2317][_0x68a45f(0x1cc)]=_0xfe9f53['id'];}_0x38b43c[_0x68a45f(0x19b)]=_0x38b43c[_0x68a45f(0x19b)][_0x68a45f(0x12f)](_0x1dbf0b);}return _0x38b43c;}[_0x42cf3c(0x1a3)](_0x1ed1ad,_0x5b3a98){const _0x47232b=_0x42cf3c;for(let _0x5e5c30=0x0;_0x5e5c30<_0x1ed1ad[_0x47232b(0x174)];_0x5e5c30++)for(const [_0xaa26a8,_0x16a7b8]of _0x5b3a98)!_0x16a7b8[_0x47232b(0x14b)]&&_0x16a7b8[_0x47232b(0x1c6)][_0x47232b(0x1af)](_0x1ed1ad[_0x5e5c30][_0x47232b(0x1d8)])&&_0x1ed1ad[_0x5e5c30][_0x47232b(0x152)][_0x47232b(0x145)](_0xaa26a8),_0x16a7b8[_0x47232b(0x1cd)][_0x47232b(0x1af)](_0x1ed1ad[_0x5e5c30][_0x47232b(0x12e)])&&_0x1ed1ad[_0x5e5c30][_0x47232b(0x155)][_0x47232b(0x145)](_0xaa26a8);}[_0x42cf3c(0x176)](_0x4a1890,_0x16c6aa){const _0x4952c8=_0x42cf3c;let _0x4b0833=[],_0x410687=0x0,_0x218947=0x0;for(;_0x410687<_0x4a1890[_0x4952c8(0x174)]||_0x218947<_0x16c6aa[_0x4952c8(0x174)];){const _0x1ab72c=_0x4a1890[_0x410687]||{},_0x11cde9=_0x16c6aa[_0x218947]||{};if(_0x1ab72c['id']==_0x11cde9['id'])_0x410687++,_0x218947++,_0x4b0833[_0x4952c8(0x145)](_0x1ab72c);else{if(_0x11cde9[_0x4952c8(0x1d5)]&&_0x1ab72c[_0x4952c8(0x181)]){const {commonTape:_0x15cb6a,iEnd:_0x2d8590,jEnd:_0x54fa23}=this[_0x4952c8(0x186)](_0x4a1890,_0x410687,_0x16c6aa,_0x218947);_0x4b0833=_0x4b0833[_0x4952c8(0x12f)](_0x15cb6a),_0x410687=_0x2d8590,_0x218947=_0x54fa23;}else _0x11cde9[_0x4952c8(0x1d5)]?(_0x218947++,_0x4b0833[_0x4952c8(0x145)](_0x11cde9)):(_0x410687++,_0x4b0833[_0x4952c8(0x145)](_0x1ab72c));}}return _0x4b0833;}[_0x42cf3c(0xc8)](_0x32dae2,_0x1fbab8){const _0x5debff=_0x42cf3c,_0x1cff4a=[];for(let _0x139414=0x0;_0x139414<_0x32dae2[_0x5debff(0x174)];_0x139414++){for(let _0x176d89=0x0;_0x176d89<_0x32dae2[_0x139414][_0x5debff(0x152)][_0x5debff(0x174)];_0x176d89++){const _0x2f8ced=_0x32dae2[_0x139414][_0x5debff(0x152)][_0x176d89];if(!_0x1fbab8[_0x5debff(0xf5)](_0x2f8ced))continue;const {group:_0x4c3a41,type:_0x2ca5ee,authorId:_0x27abea}=_0x3d20ef(_0x2f8ced);_0x5debff(0x173)!=_0x4c3a41||_0x5debff(0x146)!=_0x2ca5ee&&_0x5debff(0x11a)!=_0x2ca5ee||(_0x1cff4a[_0x5debff(0x10b)]({'type':_0x2ca5ee,'name':_0x2f8ced,'userId':_0x27abea}),_0x32dae2[_0x139414][_0x5debff(0x152)][_0x5debff(0xd5)](_0x176d89,0x1),_0x176d89--);}_0x441d85(_0x32dae2[_0x139414]);for(let _0x13fbef=0x0;_0x13fbef<_0x32dae2[_0x139414][_0x5debff(0x155)][_0x5debff(0x174)];_0x13fbef++){const _0x1f3a50=_0x32dae2[_0x139414][_0x5debff(0x155)][_0x13fbef];if(!_0x1fbab8[_0x5debff(0xf5)](_0x1f3a50))continue;const {group:_0x32d2c0,type:_0x2f9e0c}=_0x3d20ef(_0x1f3a50);if(_0x5debff(0x173)!=_0x32d2c0||_0x5debff(0x146)!=_0x2f9e0c&&_0x5debff(0x11a)!=_0x2f9e0c)continue;_0x32dae2[_0x139414][_0x5debff(0x155)][_0x5debff(0xd5)](_0x13fbef,0x1),_0x13fbef--;const _0x4c408d=_0x1cff4a[_0x5debff(0x16c)](_0x103c2c=>_0x103c2c[_0x5debff(0xe6)]==_0x1f3a50);_0x4c408d>-0x1&&_0x1cff4a[_0x5debff(0xd5)](_0x4c408d,0x1);}}function _0x3d20ef(_0x3ddf2b){const _0x560d6d=_0x5debff,_0x586a80=_0x3ddf2b[_0x560d6d(0xdd)](':');return{'group':_0x586a80[0x0],'type':_0x586a80[0x1],'subType':_0x586a80[_0x560d6d(0x174)]>=0x5?_0x586a80[0x2]:null,'id':_0x586a80[_0x560d6d(0x174)]<0x5?_0x586a80[0x2]:_0x586a80[0x3],'authorId':_0x586a80[_0x560d6d(0x174)]<0x5?_0x586a80[0x3]:_0x586a80[0x4],'markerCount':0x6==_0x586a80[_0x560d6d(0x174)]?_0x586a80[0x5]:null};}function _0x441d85(_0x195126){const _0x52b436=_0x5debff;for(let _0x539ad0=0x0;_0x539ad0<_0x1cff4a[_0x52b436(0x174)];_0x539ad0++){if(_0x195126[_0x52b436(0x181)]&&_0x52b436(0x146)==_0x1cff4a[_0x539ad0][_0x52b436(0x1a9)]&&_0x195126[_0x52b436(0x181)][_0x52b436(0x16f)]==_0x1cff4a[_0x539ad0][_0x52b436(0x16f)])return _0x195126[_0x52b436(0x1fd)]=_0x1cff4a[_0x539ad0],void delete _0x195126[_0x52b436(0x181)];if(!_0x195126[_0x52b436(0x181)]&&!_0x195126[_0x52b436(0x1d5)]&&_0x52b436(0x11a)==_0x1cff4a[_0x539ad0][_0x52b436(0x1a9)])return void(_0x195126[_0x52b436(0x1b7)]=_0x1cff4a[_0x539ad0]);}}}[_0x42cf3c(0x13b)](_0x58fed6,_0x4134dd){const _0x5421ef=_0x42cf3c;let _0x18ac25=0x0,_0x38b14=!0x1;const _0x43680b=new Map();for(const _0x4d53dc of _0x58fed6)_0x4d53dc[_0x4134dd]?_0x38b14&&(_0x18ac25++,_0x38b14=!0x1):(_0x18ac25++,_0x38b14=!0x0),_0x43680b[_0x5421ef(0x1bd)](_0x4d53dc['id'],_0x18ac25);for(let _0x2697c8=0x0;_0x2697c8<_0x58fed6[_0x5421ef(0x174)];_0x2697c8++){if(_0x5421ef(0x1d5)==_0x4134dd&&_0x58fed6[_0x2697c8][_0x5421ef(0x181)]||_0x5421ef(0x181)==_0x4134dd&&_0x58fed6[_0x2697c8][_0x5421ef(0x1d5)])continue;if(_0x5421ef(0x191)==_0x58fed6[_0x2697c8][_0x5421ef(0x1a9)]){_0x58fed6[_0x2697c8][_0x5421ef(0xbd)]=0x0;continue;}const _0x1014ac=_0x43680b[_0x5421ef(0x165)](_0x58fed6[_0x2697c8][_0x5421ef(0x124)]),_0x4ed2f3=_0x43680b[_0x5421ef(0x165)](_0x58fed6[_0x2697c8]['id']);_0x58fed6[_0x2697c8][_0x5421ef(0xbd)]=_0x1014ac-_0x4ed2f3;}}[_0x42cf3c(0x1a6)](_0x1400b6,_0x33685e,_0x4a9731=!0x1){const _0x5b3b04=_0x42cf3c,_0xb01b43=[];let _0x2debdc=this[_0x5b3b04(0xfc)][_0x5b3b04(0x1b9)](_0x1400b6),_0x449198=this[_0x5b3b04(0xfc)][_0x5b3b04(0x1b9)](_0x33685e);for(-0x1==_0x449198&&(_0x449198=this[_0x5b3b04(0xfc)][_0x5b3b04(0x153)][_0x5b3b04(0x174)],_0x4a9731=!0x1);_0x2debdc<_0x449198;)_0xb01b43[_0x5b3b04(0x145)](this[_0x5b3b04(0xfc)][_0x5b3b04(0x19e)](_0x2debdc)),_0x2debdc++;return _0x4a9731&&_0xb01b43[_0x5b3b04(0x145)](this[_0x5b3b04(0xfc)][_0x5b3b04(0x19e)](_0x2debdc)),_0xb01b43;}[_0x42cf3c(0x186)](_0x2cf3bb,_0xc2f9a,_0x32d2d7,_0x170f7b){const _0xbfd23c=_0x42cf3c,_0x3a7317=this[_0xbfd23c(0x15b)][_0xbfd23c(0xce)][_0xbfd23c(0xcb)];let _0x12c71f=_0xc2f9a;for(;_0x2cf3bb[_0x12c71f]&&_0x2cf3bb[_0x12c71f][_0xbfd23c(0x181)];)_0x12c71f++;let _0x243ac4=_0x170f7b;for(;_0x32d2d7[_0x243ac4]&&_0x32d2d7[_0x243ac4][_0xbfd23c(0x1d5)];)_0x243ac4++;_0x4c1c36(_0x2cf3bb,_0xc2f9a,_0x12c71f),_0x4c1c36(_0x32d2d7,_0x170f7b,_0x243ac4);const _0x1d33d1=_0x32d2d7[_0xbfd23c(0x12b)](_0x170f7b,_0x243ac4)[_0xbfd23c(0x12f)](_0x2cf3bb[_0xbfd23c(0x12b)](_0xc2f9a,_0x12c71f));return _0x1d33d1[_0xbfd23c(0xfb)]((_0x5b9bcf,_0x196e3f)=>_0x5b9bcf[_0xbfd23c(0x177)]!=_0x196e3f[_0xbfd23c(0x177)]?_0x5b9bcf[_0xbfd23c(0x177)]-_0x196e3f[_0xbfd23c(0x177)]:_0x5b9bcf[_0xbfd23c(0x13f)]!=_0x196e3f[_0xbfd23c(0x13f)]?_0x5b9bcf[_0xbfd23c(0x13f)]-_0x196e3f[_0xbfd23c(0x13f)]:_0x5b9bcf[_0xbfd23c(0xbd)]!=_0x196e3f[_0xbfd23c(0xbd)]?_0x196e3f[_0xbfd23c(0xbd)]-_0x5b9bcf[_0xbfd23c(0xbd)]:!!_0x5b9bcf[_0xbfd23c(0x181)]!=!!_0x196e3f[_0xbfd23c(0x181)]?-0x1==_0x5b9bcf[_0xbfd23c(0x177)]||0x0==_0x5b9bcf[_0xbfd23c(0x177)]?_0x5b9bcf[_0xbfd23c(0x181)]?-0x1:0x1:_0x5b9bcf[_0xbfd23c(0x181)]?0x1:-0x1:_0x5b9bcf[_0xbfd23c(0x1de)]-_0x196e3f[_0xbfd23c(0x1de)]),{'commonTape':_0x1d33d1,'iEnd':_0x12c71f,'jEnd':_0x243ac4};function _0x4c1c36(_0x54b3e3,_0x452f01,_0x35e72c){const _0xa8cb68=_0xbfd23c;let _0x4bd7fe=-0x1,_0x405d88=Number[_0xa8cb68(0x170)],_0x3ab441=!0x0;for(let _0x4ff7d5=_0x452f01;_0x4ff7d5<_0x35e72c;_0x4ff7d5++)if(_0x3a7317[_0xa8cb68(0x11e)](_0x54b3e3[_0x4ff7d5][_0xa8cb68(0xd4)])||(_0x3ab441=!0x1),_0x54b3e3[_0x4ff7d5][_0xa8cb68(0xd4)][_0xa8cb68(0x13d)]<_0x452f01&&(_0x4bd7fe=_0x4ff7d5),_0x54b3e3[_0x4ff7d5][_0xa8cb68(0xd4)][_0xa8cb68(0x1cb)]>=_0x35e72c){_0x405d88=_0x4ff7d5;break;}_0x3ab441&&(_0x4bd7fe=_0x35e72c-0x1);for(let _0xf55839=_0x452f01;_0xf55839<_0x35e72c;_0xf55839++)_0x54b3e3[_0xf55839][_0xa8cb68(0x177)]=_0xf55839<=_0x4bd7fe?-0x1:_0xf55839<_0x405d88?0x0:0x1,_0x54b3e3[_0xf55839][_0xa8cb68(0x1de)]=_0xf55839;let _0x10cd85=0x0;for(let _0x378c08=_0x452f01;_0x378c08<=_0x4bd7fe;_0x378c08++)0x0==_0x54b3e3[_0x378c08][_0xa8cb68(0xbd)]?_0x54b3e3[_0x378c08][_0xa8cb68(0x13f)]=_0x10cd85:(_0x10cd85++,_0x54b3e3[_0x378c08][_0xa8cb68(0x13f)]=_0x10cd85,_0x10cd85++);for(let _0x278593=_0x452f01;_0x278593<_0x35e72c;_0x278593++)0x0==_0x54b3e3[_0x278593][_0xa8cb68(0x177)]&&(_0x54b3e3[_0x278593][_0xa8cb68(0x13f)]=_0x10cd85);_0x10cd85=0x0;for(let _0x74ae5e=_0x35e72c-0x1;_0x74ae5e>=_0x405d88;_0x74ae5e--)0x0==_0x54b3e3[_0x74ae5e][_0xa8cb68(0xbd)]?_0x54b3e3[_0x74ae5e][_0xa8cb68(0x13f)]=_0x10cd85:(_0x10cd85--,_0x54b3e3[_0x74ae5e][_0xa8cb68(0x13f)]=_0x10cd85,_0x10cd85--);}}[_0x42cf3c(0xd9)](_0xdc717e){const _0x156abf=_0x42cf3c,_0x32bc24=new Map(),_0x163ce2=this[_0x156abf(0x15b)][_0x156abf(0xce)][_0x156abf(0xcb)];for(let _0x173249=0x1;_0x173249<_0xdc717e[_0x156abf(0x174)];_0x173249++){let _0x1bb3ea,_0x128799,_0x18566c;const _0x53deec=_0xdc717e[_0x173249],_0x36d766=_0xdc717e[_0x173249-0x1];if(_0x156abf(0x191)==_0x53deec[_0x156abf(0x1a9)])continue;if(_0x53deec[_0x156abf(0x1a9)]!=_0x36d766[_0x156abf(0x1a9)])continue;if(!_0x163ce2[_0x156abf(0x147)](_0x36d766[_0x156abf(0xd4)])||_0x163ce2[_0x156abf(0x16d)](_0x36d766[_0x156abf(0xd4)]))continue;if(!_0x163ce2[_0x156abf(0x147)](_0x53deec[_0x156abf(0xd4)])||_0x163ce2[_0x156abf(0x16d)](_0x53deec[_0x156abf(0xd4)]))continue;if((_0xdc717e[_0x173249][_0x156abf(0x181)]||_0xdc717e[_0x173249][_0x156abf(0x1fd)])&&_0xdc717e[_0x173249-0x1][_0x156abf(0x1d5)])_0x1bb3ea=_0xdc717e[_0x173249],_0x128799=_0xdc717e[_0x173249-0x1],_0x18566c=_0x173249-0x1;else{if(!_0xdc717e[_0x173249][_0x156abf(0x1d5)]||!_0xdc717e[_0x173249-0x1][_0x156abf(0x181)]&&!_0xdc717e[_0x173249-0x1][_0x156abf(0x1fd)])continue;_0x1bb3ea=_0xdc717e[_0x173249-0x1],_0x128799=_0xdc717e[_0x173249],_0x18566c=_0x173249;}const _0x514f6a=_0x1bb3ea[_0x156abf(0x13f)]==_0x128799[_0x156abf(0x13f)],_0x5a9804=Math[_0x156abf(0x161)](_0x1bb3ea[_0x156abf(0x13f)])<Math[_0x156abf(0x161)](_0x128799[_0x156abf(0x13f)])&&0x0==_0x128799[_0x156abf(0xbd)];(_0x514f6a||_0x5a9804)&&(_0x32bc24[_0x156abf(0x1bd)](_0x128799['id'],_0x1bb3ea['id']),_0xdc717e[_0x156abf(0xd5)](_0x18566c,0x1),_0x173249--,_0x1bb3ea[_0x156abf(0x181)]=!0x1);}for(let _0x3c0038=0x0;_0x3c0038<_0xdc717e[_0x156abf(0x174)];_0x3c0038++)_0x32bc24[_0x156abf(0xf5)](_0xdc717e[_0x3c0038][_0x156abf(0x124)])&&(_0xdc717e[_0x3c0038][_0x156abf(0x124)]=_0x32bc24[_0x156abf(0x165)](_0xdc717e[_0x3c0038][_0x156abf(0x124)]));}[_0x42cf3c(0x168)](_0x5b788a){const _0x44afa2=_0x42cf3c,_0x1897c3=new Set(_0x5b788a[_0x44afa2(0x113)](_0x449611=>_0x449611['id']));for(let _0x304fa9=0x0;_0x304fa9<_0x5b788a[_0x44afa2(0x174)];_0x304fa9++)_0x1897c3[_0x44afa2(0xf5)](_0x5b788a[_0x304fa9][_0x44afa2(0x124)])||0x0==_0x5b788a[_0x304fa9][_0x44afa2(0xbd)]||(_0x5b788a[_0x304fa9][_0x44afa2(0x17c)]=!0x0);return _0x5b788a[_0x44afa2(0x18e)](_0x24ca84=>!_0x24ca84[_0x44afa2(0x17c)]);}[_0x42cf3c(0x19c)](_0x2e7f99){const _0x14f617=_0x42cf3c,_0x2e44dd=new Set();for(let _0x216c68=0x0;_0x216c68<_0x2e7f99[_0x14f617(0x174)];_0x216c68++){if(_0x2e44dd[_0x14f617(0xf5)](_0x2e7f99[_0x216c68]['id'])&&_0x2e7f99[_0x216c68][_0x14f617(0x1d5)]&&(_0x2e7f99[_0x216c68][_0x14f617(0x17c)]=!0x0),_0x2e7f99[_0x216c68][_0x14f617(0x17c)])continue;if(0x0==_0x2e7f99[_0x216c68][_0x14f617(0xbd)])continue;if(_0x14f617(0x201)!=_0x2e7f99[_0x216c68][_0x14f617(0x1a9)])continue;if(null==_0x2e7f99[_0x216c68][_0x14f617(0x124)])continue;let _0x3b66b9=_0x216c68+0x1,_0xd220d0=0x0;for(;_0x2e7f99[_0x3b66b9]['id']!=_0x2e7f99[_0x216c68][_0x14f617(0x124)];)_0x14f617(0x201)==_0x2e7f99[_0x3b66b9][_0x14f617(0x1a9)]?_0xd220d0++:_0x14f617(0xd2)==_0x2e7f99[_0x3b66b9][_0x14f617(0x1a9)]&&_0xd220d0--,_0x3b66b9++;if(0x0!=_0xd220d0){if(_0x2e7f99[_0x216c68][_0x14f617(0x1d5)])_0x2e7f99[_0x216c68][_0x14f617(0x17c)]=!0x0;else{for(;_0x3b66b9!=_0x216c68;)_0x2e7f99[_0x3b66b9][_0x14f617(0x1d5)]&&0x0!=_0x2e7f99[_0x3b66b9][_0x14f617(0xbd)]&&(_0x2e7f99[_0x3b66b9][_0x14f617(0x17c)]=!0x0,_0x2e44dd[_0x14f617(0x1f8)](_0x2e7f99[_0x3b66b9][_0x14f617(0x124)])),_0x3b66b9--;}}}return _0x2e7f99[_0x14f617(0x18e)](_0x52f60c=>!_0x52f60c[_0x14f617(0x17c)]);}[_0x42cf3c(0xf7)](_0x4570c9){const _0x4c4f40=_0x42cf3c,_0x48a790=this[_0x4c4f40(0x15b)][_0x4c4f40(0xce)][_0x4c4f40(0xcb)];for(let _0x2c3849=0x0;_0x2c3849<_0x4570c9[_0x4c4f40(0x174)];_0x2c3849++){if(!(_0x4570c9[_0x2c3849][_0x4c4f40(0x181)]||_0x4570c9[_0x2c3849][_0x4c4f40(0x1fd)]||_0x4570c9[_0x2c3849][_0x4c4f40(0x1d5)]||_0x4570c9[_0x2c3849][_0x4c4f40(0x1b7)]))continue;if(0x0==_0x4570c9[_0x2c3849][_0x4c4f40(0xbd)])continue;const _0x3c4533=_0x4570c9[_0x2c3849][_0x4c4f40(0xd4)];_0x48a790[_0x4c4f40(0x147)](_0x3c4533)||_0x48a790[_0x4c4f40(0x16d)](_0x3c4533)||(_0x4570c9[_0x2c3849][_0x4c4f40(0x181)]&&delete _0x4570c9[_0x2c3849][_0x4c4f40(0x181)],_0x4570c9[_0x2c3849][_0x4c4f40(0x1fd)]&&delete _0x4570c9[_0x2c3849][_0x4c4f40(0x1fd)],_0x4570c9[_0x2c3849][_0x4c4f40(0x1b7)]&&delete _0x4570c9[_0x2c3849][_0x4c4f40(0x1b7)],_0x4570c9[_0x2c3849][_0x4c4f40(0x1d5)]&&(_0x4570c9[_0x2c3849][_0x4c4f40(0x17c)]=!0x0));}return _0x4570c9[_0x4c4f40(0x18e)](_0x23c793=>!_0x23c793[_0x4c4f40(0x17c)]);}[_0x42cf3c(0x199)](_0x150203,_0x5ecc00,_0x294836){const _0x52c4af=_0x42cf3c,_0x4dfa4b=new _0x571325(),_0x54ae7d=[],_0x5ee74f=new Map(),_0xf0fec2=this[_0x52c4af(0x15b)][_0x52c4af(0xce)],_0x2834c3=_0xf0fec2[_0x52c4af(0xcb)],_0x599a75=[_0x4dfa4b],_0x5afe1d={},_0x5be42d={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3882bd=null;const _0x4447c9=[0x0];for(let _0x34fce0=0x0;_0x34fce0<_0x150203[_0x52c4af(0x174)];_0x34fce0++)if(_0x52c4af(0x201)===_0x150203[_0x34fce0][_0x52c4af(0x1a9)]){_0x150203[_0x34fce0][_0x52c4af(0x1d8)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9);const _0x4ea969=new _0xe02ab2(_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xe6)],_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xde)]());_0x599a75[0x0][_0x52c4af(0x17f)](_0x4ea969),_0x4447c9[_0x52c4af(0x145)](0x0),_0x599a75[_0x52c4af(0x10b)](_0x4ea969),_0x150203[_0x34fce0][_0x52c4af(0x12e)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9);}else _0x52c4af(0xd2)===_0x150203[_0x34fce0][_0x52c4af(0x1a9)]?(_0x599a75[_0x52c4af(0x122)](),_0x150203[_0x34fce0][_0x52c4af(0x1d8)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9),_0x4447c9[_0x52c4af(0x1bf)](),_0x4447c9[_0x4447c9[_0x52c4af(0x174)]-0x1]++,_0x150203[_0x34fce0][_0x52c4af(0x12e)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9)):(_0x150203[_0x34fce0][_0x52c4af(0x1d8)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9),_0x3882bd?_0x3882bd[_0x52c4af(0x1d4)]+=_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0x1d1)]:_0x3882bd=new _0x1c523a(_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0x1d1)],_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xde)]()),_0x150203[_0x34fce0+0x1]&&_0x52c4af(0x191)===_0x150203[_0x34fce0+0x1][_0x52c4af(0x1a9)]&&_0x2be955(_0x3882bd,_0x150203[_0x34fce0+0x1][_0x52c4af(0xd4)])||(_0x599a75[0x0][_0x52c4af(0x17f)](_0x3882bd),_0x3882bd=null),_0x4447c9[_0x4447c9[_0x52c4af(0x174)]-0x1]+=_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xd3)],_0x150203[_0x34fce0][_0x52c4af(0x12e)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9));for(let _0x583af4=0x0;_0x583af4<_0x150203[_0x52c4af(0x174)];_0x583af4++){const _0x17e790=_0x150203[_0x583af4][_0x52c4af(0x1d8)],_0x301249=_0x150203[_0x583af4][_0x52c4af(0x12e)];for(const _0x38662e of _0x150203[_0x583af4][_0x52c4af(0x152)])_0x5ee74f[_0x52c4af(0x1bd)](_0x38662e,{'start':_0x17e790,'end':null});_0x2e160a(_0x52c4af(0x1b7),_0x583af4,_0x17e790,_0x301249),_0x2e160a(_0x52c4af(0x1fd),_0x583af4,_0x17e790,_0x301249),_0x2e160a(_0x52c4af(0x1d5),_0x583af4,_0x17e790,_0x301249),_0x2e160a(_0x52c4af(0x181),_0x583af4,_0x17e790,_0x301249);for(const _0x2d4707 of _0x150203[_0x583af4][_0x52c4af(0x155)]){const _0x127d4a=_0x5ee74f[_0x52c4af(0x165)](_0x2d4707);_0x127d4a?_0x127d4a[_0x52c4af(0x1cd)]=_0x301249:_0x5ee74f[_0x52c4af(0x1bd)](_0x2d4707,{'start':_0x301249,'end':_0x301249});}}for(const [_0x534b2a,_0x35c293]of _0x5ee74f){const _0x2427f4=this[_0x52c4af(0x15b)][_0x52c4af(0xce)][_0x52c4af(0x1ff)](_0x35c293[_0x52c4af(0x1c6)],_0x35c293[_0x52c4af(0x1cd)]);_0x4dfa4b[_0x52c4af(0x1e3)][_0x52c4af(0x1bd)](_0x534b2a,_0x2427f4);}return _0x54ae7d[_0x52c4af(0xfb)]((_0x12db0a,_0x1f7f2f)=>{const _0x1277fc=_0x52c4af,_0x59c74f=_0x4dfa4b[_0x1277fc(0x1e3)][_0x1277fc(0x165)](_0x1277fc(0x1fe)+_0x12db0a['id']),_0x2c295c=_0x4dfa4b[_0x1277fc(0x1e3)][_0x1277fc(0x165)](_0x1277fc(0x1fe)+_0x1f7f2f['id']);return _0x59c74f[_0x1277fc(0x1c6)][_0x1277fc(0x183)](_0x2c295c[_0x1277fc(0x1c6)])?-0x1:_0x59c74f[_0x1277fc(0x1c6)][_0x1277fc(0x1f7)](_0x2c295c[_0x1277fc(0x1c6)])?0x1:_0x59c74f[_0x1277fc(0x1cd)][_0x1277fc(0x183)](_0x2c295c[_0x1277fc(0x1cd)])?-0x1:_0x59c74f[_0x1277fc(0x1cd)][_0x1277fc(0x1f7)](_0x2c295c[_0x1277fc(0x1cd)])?0x1:_0x1277fc(0x1f8)===_0x12db0a[_0x1277fc(0x1a9)]?-0x1:0x1;}),{'root':_0x4dfa4b,'changes':_0x54ae7d};function _0x2e160a(_0x5d6f54,_0x1ebe0f,_0x30385b,_0x4ed66c){const _0x53ba86=_0x52c4af,_0x55a529=!!_0x150203[_0x1ebe0f][_0x5d6f54],_0x57e23e=_0x55a529?_0x150203[_0x1ebe0f][_0x5d6f54][_0x53ba86(0x16f)]:null,_0x2cd251=_0x1ebe0f===_0x150203[_0x53ba86(0x174)]-0x1,_0x1c91da=_0x5be42d[_0x5d6f54][0x0],_0x39dee4=_0x2834c3[_0x53ba86(0x134)](_0x150203[_0x1ebe0f][_0x53ba86(0xd4)]);!_0x5afe1d[_0x5d6f54]&&_0x55a529?_0x5afe1d[_0x5d6f54]={'start':_0x30385b,'tapeItem':_0x150203[_0x1ebe0f],'userId':_0x57e23e,'type':_0x5d6f54}:_0x5afe1d[_0x5d6f54]&&!_0x55a529?(_0x5afe1d[_0x5d6f54][_0x53ba86(0x1cd)]=_0x30385b,_0x177fb5(_0x5afe1d[_0x5d6f54]),_0x5afe1d[_0x5d6f54]=null):_0x5afe1d[_0x5d6f54]&&_0x55a529&&_0x5afe1d[_0x5d6f54][_0x53ba86(0x16f)]!==_0x57e23e&&(_0x5afe1d[_0x5d6f54][_0x53ba86(0x1cd)]=_0x30385b,_0x1c91da&&_0x1c91da[_0x53ba86(0x16f)]===_0x5afe1d[_0x5d6f54][_0x53ba86(0x16f)]||_0x177fb5(_0x5afe1d[_0x5d6f54]),_0x5afe1d[_0x5d6f54]={'start':_0x30385b,'tapeItem':_0x150203[_0x1ebe0f],'userId':_0x57e23e,'type':_0x5d6f54}),_0x5afe1d[_0x5d6f54]&&_0x39dee4&&(_0x53ba86(0x201)!==_0x150203[_0x1ebe0f][_0x53ba86(0x1a9)]||_0x1c91da&&_0x1c91da[_0x53ba86(0x16f)]===_0x57e23e||_0x5be42d[_0x5d6f54][_0x53ba86(0x10b)]({'userId':_0x57e23e,'object':_0x150203[_0x1ebe0f][_0x53ba86(0xd4)],'change':_0x5afe1d[_0x5d6f54]}),_0x53ba86(0xd2)===_0x150203[_0x1ebe0f][_0x53ba86(0x1a9)]&&_0x1c91da&&_0x1c91da[_0x53ba86(0x198)]===_0x150203[_0x1ebe0f][_0x53ba86(0xd4)]&&(_0x5be42d[_0x5d6f54][_0x53ba86(0x122)](),_0x5afe1d[_0x5d6f54]=_0x1c91da[_0x53ba86(0x19a)])),_0x5afe1d[_0x5d6f54]&&_0x2cd251&&(_0x5afe1d[_0x5d6f54][_0x53ba86(0x1cd)]=_0x4ed66c,_0x177fb5(_0x5afe1d[_0x5d6f54]),_0x5afe1d[_0x5d6f54]=null);}function _0x177fb5({start:_0x2e77fa,end:_0xa4367c,tapeItem:_0x5314c4,userId:_0x582070,type:_0x2ee78}){const _0x18559b=_0x52c4af,_0x655160=_0x5314c4[_0x18559b(0xd4)],_0x52f477=_0xf0fec2[_0x18559b(0xcb)][_0x18559b(0x147)](_0x655160)&&!_0xf0fec2[_0x18559b(0xcb)][_0x18559b(0x16d)](_0x655160),_0x397db9=_0x2e77fa[_0x18559b(0x133)]==_0xa4367c[_0x18559b(0x13e)]&&_0xa4367c[_0x18559b(0x1ce)];if(_0x52f477&&_0x397db9)return;const _0x286172=_0xf0fec2[_0x18559b(0x1ff)](_0x2e77fa,_0xa4367c),_0x1279ac=_0x5ecc00[_0x18559b(0x165)](_0x582070),_0x245c4b=new _0x14de54({'author':_0x1279ac,'type':_0x18559b(0x181)==_0x2ee78||_0x18559b(0x1fd)==_0x2ee78?_0x18559b(0x1f8):_0x18559b(0x1e4),'data':{'isSuggestion':_0x18559b(0x1fd)==_0x2ee78||_0x18559b(0x1b7)==_0x2ee78},'createdAt':new Date(),'rootName':_0x294836});_0x54ae7d[_0x18559b(0x145)](_0x245c4b),_0x4dfa4b[_0x18559b(0x1e3)][_0x18559b(0x1bd)](_0x18559b(0x1fe)+_0x245c4b['id'],_0x286172);}function _0x2be955(_0x4a5c45,_0x134b52){const _0x4dfe08=_0x52c4af,_0x73b0e7=_0x4a5c45[_0x4dfe08(0xde)](),_0x4f1459=_0x134b52[_0x4dfe08(0xde)]();for(const _0x586884 of _0x73b0e7){if(_0x586884[0x1]!==_0x134b52[_0x4dfe08(0xcc)](_0x586884[0x0]))return!0x1;_0x4f1459[_0x4dfe08(0x1e9)]();}return _0x4f1459[_0x4dfe08(0x1e9)]()[_0x4dfe08(0x1d3)];}}[_0x42cf3c(0x1bc)](){const _0x2e0cd8=_0x42cf3c;this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0xe3)]({'view':_0x2e0cd8(0xdb)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x19f))[_0x2e0cd8(0x10d)]({'model':_0x2e0cd8(0xdb),'view':_0x39f89f=>{const _0x1ec894=_0x2e0cd8,_0x46c7e8=_0x39f89f[_0x1ec894(0x1db)][_0x1ec894(0xdd)](':')[0x1],_0xef15d9=this[_0x1ec894(0x148)](_0x46c7e8);if(!_0xef15d9)return null;const _0x52b050=_0x1ec894(0x1f8)==_0xef15d9[_0x1ec894(0x1a9)]?_0x1ec894(0x146):_0x1ec894(0x11a),_0x5d7c25=[_0x1ec894(0x18c),_0x1ec894(0x196)+_0x52b050];return _0xef15d9[_0x1ec894(0x1d1)][_0x1ec894(0x163)]&&_0x5d7c25[_0x1ec894(0x145)](_0x1ec894(0x196)+_0x52b050+_0x1ec894(0xba)),this[_0x1ec894(0x1b5)]==_0xef15d9&&_0x5d7c25[_0x1ec894(0x145)](_0x1ec894(0xf2)),{'classes':_0x5d7c25,'attributes':{'data-change-id':_0x46c7e8}};}}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0x1f8)](_0x4d336c=>{const _0x37549e=_0x2e0cd8;_0x4d336c['on'](_0x37549e(0x1c9),(_0x32b5db,_0x2eba55,_0x308568)=>{const _0x10f726=_0x37549e,_0x1237ad=_0x2eba55[_0x10f726(0x14a)][_0x10f726(0x1b2)](0x0);if(!_0x1237ad||!_0x1237ad['is'](_0x10f726(0x1b8),_0x10f726(0x139)))return;if(!_0x308568[_0x10f726(0x1f5)][_0x10f726(0x158)](_0x1237ad,{'attributes':[_0x10f726(0x188),_0x10f726(0xbb)]}))return;const _0x10b54c=_0x2eba55[_0x10f726(0x125)][_0x10f726(0x1c6)][_0x10f726(0x133)];_0x308568[_0x10f726(0x1ae)][_0x10f726(0xd7)](_0x10f726(0x188),_0x1237ad[_0x10f726(0xcc)](_0x10f726(0x188)),_0x10b54c),_0x308568[_0x10f726(0x1ae)][_0x10f726(0xd7)](_0x10f726(0xbb),_0x1237ad[_0x10f726(0xcc)](_0x10f726(0xbb)),_0x10b54c);},{'priority':_0x37549e(0x10c)});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0x1f8)](_0x47c26f=>{const _0x3789bb=_0x2e0cd8;_0x47c26f['on'](_0x3789bb(0x1b8),(_0x19bd32,_0x2ab323,_0x37cddc)=>{const _0xfd4d1f=_0x3789bb;if(!_0x37cddc[_0xfd4d1f(0x1f5)][_0xfd4d1f(0x158)](_0x2ab323[_0xfd4d1f(0x14a)],{'attributes':[_0xfd4d1f(0x188),_0xfd4d1f(0xbb)]}))return;if(_0x2ab323[_0xfd4d1f(0x125)][_0xfd4d1f(0x14b)])return;const _0x5975df=_0x2ab323[_0xfd4d1f(0x125)][_0xfd4d1f(0x1c6)][_0xfd4d1f(0x133)];_0x5975df[_0xfd4d1f(0x10e)](_0xfd4d1f(0x188))||_0x5975df[_0xfd4d1f(0x10e)](_0xfd4d1f(0x144))||(_0x37cddc[_0xfd4d1f(0x1ae)][_0xfd4d1f(0xd7)](_0xfd4d1f(0x188),_0x2ab323[_0xfd4d1f(0x14a)][_0xfd4d1f(0xcc)](_0xfd4d1f(0x188)),_0x5975df),_0x37cddc[_0xfd4d1f(0x1ae)][_0xfd4d1f(0xd7)](_0xfd4d1f(0xbb),_0x2ab323[_0xfd4d1f(0x14a)][_0xfd4d1f(0xcc)](_0xfd4d1f(0xbb)),_0x5975df));},{'priority':_0x3789bb(0x10c)});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0x1ab)]({'view':{'name':_0x2e0cd8(0x1df),'attributes':{'vid':!0x0}},'model':{'key':_0x2e0cd8(0x144),'value':_0x335974=>_0x335974[_0x2e0cd8(0xcc)](_0x2e0cd8(0x144))}}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0xce)][_0x2e0cd8(0xcb)]['on'](_0x2e0cd8(0x193),(_0x45ee69,[,_0x260d58])=>{const _0x126c94=_0x2e0cd8;[_0x126c94(0x188),_0x126c94(0xbb),_0x126c94(0x144)][_0x126c94(0x200)](_0x260d58)&&(_0x45ee69[_0x126c94(0x1d6)]=!0x0,_0x45ee69[_0x126c94(0xf3)]());},{'priority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x104))[_0x2e0cd8(0x1f8)](_0x8b9135=>{const _0x235d0d=_0x2e0cd8;_0x8b9135['on'](_0x235d0d(0xe2),(_0x11c1f6,_0x35202c,_0x2b6705)=>{const _0xed17cc=_0x235d0d;if('\x20'!=_0x35202c[_0xed17cc(0xd4)][_0xed17cc(0x1d1)]||_0x35202c[_0xed17cc(0xd4)][_0xed17cc(0x13e)][_0xed17cc(0x1ba)]>0x1)return;if(!_0x2b6705[_0xed17cc(0x1f5)][_0xed17cc(0x158)](_0x35202c[_0xed17cc(0xd4)],_0x11c1f6[_0xed17cc(0xe6)]))return;const _0x1c644a=_0x2b6705[_0xed17cc(0x1ae)],_0x4a9a35=_0x2b6705[_0xed17cc(0x1f0)][_0xed17cc(0x182)](_0x35202c[_0xed17cc(0x14c)]);_0x1c644a[_0xed17cc(0x171)](_0x4a9a35,_0x1c644a[_0xed17cc(0x13a)](_0xed17cc(0x1df)));});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x104))[_0x2e0cd8(0x1f1)]({'model':_0x2e0cd8(0xdb)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x1b6),function(_0x5ebdd2){const _0x2c7482=_0x2e0cd8,_0x2f0d77=_0x5ebdd2[_0x2c7482(0x130)][_0x2c7482(0x165)](_0x2c7482(0xdf));return(_0x96b872,_0x3b1562,_0x2ccd13)=>{const _0x14e23e=_0x2c7482,_0x35d5bf=_0x3b1562[_0x14e23e(0x1db)][_0x14e23e(0xdd)](':')[0x1],_0x520e77=_0x2f0d77[_0x14e23e(0x148)](_0x35d5bf);if(!_0x520e77)return null;const _0x5f2ae5=_0x14e23e(0x1f8)==_0x520e77[_0x14e23e(0x1a9)]?_0x14e23e(0xdd):_0x14e23e(0xc5);if(!_0x2ccd13[_0x14e23e(0x1f5)][_0x14e23e(0x18d)](_0x3b1562[_0x14e23e(0xf9)],_0x96b872[_0x14e23e(0xe6)]))return;const _0x36a517=_0x3b1562[_0x14e23e(0xf9)][_0x14e23e(0x167)](),_0x564caf=_0x3b1562[_0x14e23e(0xf9)][_0x14e23e(0x1c6)],_0x7026fc=_0x5ebdd2[_0x14e23e(0xce)][_0x14e23e(0xcb)];let _0x496261=null,_0x12ed43=null,_0x1f343d=!0x1,_0xdfb0f4=!0x1;for(const _0x2f294f of _0x36a517){const _0x228214=_0x2f294f[_0x14e23e(0xd4)];_0x1f343d=_0x1f343d||_0x7026fc[_0x14e23e(0x14f)](_0x228214);const _0x1024c2=_0x2ccd13[_0x14e23e(0x1f0)][_0x14e23e(0x1cf)](_0x228214);if(_0x1024c2&&_0x1024c2[_0x14e23e(0x1a0)](_0x14e23e(0x1b3)))return;_0x14e23e(0xd2)==_0x2f294f[_0x14e23e(0x1a9)]&&(_0x7026fc[_0x14e23e(0x147)](_0x228214)&&!_0x7026fc[_0x14e23e(0x16d)](_0x228214)&&(_0x228214[_0x14e23e(0x103)]||_0x564caf[_0x14e23e(0x159)]?_0x496261&&_0x496261[_0x14e23e(0x13e)]==_0x228214||(_0x496261=_0x228214,_0xa13499(_0x2f294f[_0x14e23e(0x1d8)]),_0xdfb0f4=!0x0):_0x12ed43=_0x12ed43||_0x2f294f[_0x14e23e(0x1d8)]));}function _0xa13499(_0x5207df){const _0x26092b=_0x14e23e,_0x2ea3c0=_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0x1dc)](_0x26092b(0x1df),{'class':_0x26092b(0x196)+_0x5f2ae5}),_0x569b2b=_0x2ccd13[_0x26092b(0x1f0)][_0x26092b(0x116)](_0x5207df);_0x520e77[_0x26092b(0x1d1)][_0x26092b(0x163)]&&_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0x1eb)](_0x26092b(0x196)+_0x5f2ae5+_0x26092b(0xba),_0x2ea3c0),_0x2f0d77[_0x26092b(0x1b5)]==_0x520e77&&_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0x1eb)](_0x26092b(0xf2),_0x2ea3c0),_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0xe9)](_0x569b2b,_0x2ea3c0),_0x2ccd13[_0x26092b(0x1f0)][_0x26092b(0x1ec)](_0x2ea3c0,_0x3b1562[_0x26092b(0x1db)]);}_0x1f343d||_0xdfb0f4||!_0x12ed43||_0xa13499(_0x12ed43);};}(this[_0x2e0cd8(0x15b)]),{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0xe5),(_0x41ee51,_0x18e99d,_0x5151b5)=>{const _0x928bb6=_0x2e0cd8,_0x182ba9=_0x5151b5[_0x928bb6(0x1f0)][_0x928bb6(0x17a)](_0x18e99d[_0x928bb6(0x1db)]);if(_0x182ba9){for(const _0x3d79c1 of _0x182ba9)(_0x3d79c1[_0x928bb6(0x117)](_0x928bb6(0x1bb))||_0x3d79c1[_0x928bb6(0x117)](_0x928bb6(0x1a5)))&&(_0x5151b5[_0x928bb6(0x1f0)][_0x928bb6(0x185)](_0x3d79c1,_0x18e99d[_0x928bb6(0x1db)]),_0x5151b5[_0x928bb6(0x1ae)][_0x928bb6(0x1e4)](_0x3d79c1));}},{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x1b6),(_0x98cadf,_0x11e294,_0x2e4bc5)=>{const _0x732040=_0x2e0cd8,_0xef17d=_0x11e294[_0x732040(0x1db)][_0x732040(0xdd)](':')[0x1],_0x2d8bab=this[_0x732040(0x148)](_0xef17d);if(!_0x2d8bab)return null;const _0x2b2904=_0x732040(0x1f8)==_0x2d8bab[_0x732040(0x1a9)]?_0x732040(0xdd):_0x732040(0xc5);if(_0x2e4bc5[_0x732040(0x1f5)][_0x732040(0x18d)](_0x11e294[_0x732040(0xf9)],_0x98cadf[_0x732040(0xe6)]))for(const _0xfef542 of _0x11e294[_0x732040(0xf9)][_0x732040(0x151)]()){if(!_0xfef542['is'](_0x732040(0x1b8),_0x732040(0x1be)))continue;const _0x504555=_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0x1dc)](_0x732040(0x1df),{'class':_0x732040(0x196)+_0x2b2904}),_0x50cc35=_0x2e4bc5[_0x732040(0x1f0)][_0x732040(0x116)](this[_0x732040(0x15b)][_0x732040(0xce)][_0x732040(0x1b1)](_0xfef542));_0x2d8bab[_0x732040(0x1d1)][_0x732040(0x163)]&&_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0x1eb)](_0x732040(0x196)+_0x2b2904+_0x732040(0xba),_0x504555),this[_0x732040(0x1b5)]==_0x2d8bab&&_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0x1eb)](_0x732040(0xf2),_0x504555),_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0xe9)](_0x50cc35,_0x504555),_0x2e4bc5[_0x732040(0x1f0)][_0x732040(0x1ec)](_0x504555,_0x11e294[_0x732040(0x1db)]);}},{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0xce)][_0x2e0cd8(0xd8)]['on'](_0x2e0cd8(0x19a),()=>{const _0x173f59=_0x2e0cd8;this[_0x173f59(0x15b)][_0x173f59(0x1c5)][_0x173f59(0xbe)][_0x173f59(0x19a)](_0x2da6e3=>{const _0x4f89f7=_0x173f59;for(const _0x3546c9 of this[_0x4f89f7(0x15b)][_0x4f89f7(0xce)][_0x4f89f7(0xd8)][_0x4f89f7(0x1ca)]()){const _0x19e6c6=this[_0x4f89f7(0x15b)][_0x4f89f7(0xce)][_0x4f89f7(0xd8)][_0x4f89f7(0x192)](_0x3546c9),_0x338a7e=this[_0x4f89f7(0x15b)][_0x4f89f7(0x1c5)][_0x4f89f7(0xbe)][_0x4f89f7(0xd8)][_0x4f89f7(0x192)](_0x3546c9);if(_0x338a7e){const _0x9f2e48=_0x19e6c6[_0x4f89f7(0xcc)](_0x4f89f7(0x1cc));if(_0x2da6e3[_0x4f89f7(0xc2)](_0x4f89f7(0x187),_0x338a7e),_0x2da6e3[_0x4f89f7(0x111)](_0x4f89f7(0xbf),_0x338a7e),_0x2da6e3[_0x4f89f7(0x111)](_0x4f89f7(0x142),_0x338a7e),_0x2da6e3[_0x4f89f7(0x111)](_0x4f89f7(0x10a),_0x338a7e),_0x9f2e48){const _0x108d3d=this[_0x4f89f7(0x148)](_0x9f2e48);if(!_0x108d3d)return null;_0x2da6e3[_0x4f89f7(0xd7)](_0x4f89f7(0x187),_0x9f2e48,_0x338a7e),_0x2da6e3[_0x4f89f7(0x1eb)](_0x4f89f7(0x119)+_0x108d3d[_0x4f89f7(0x1a9)],_0x338a7e),this[_0x4f89f7(0x1b5)]==_0x108d3d&&_0x2da6e3[_0x4f89f7(0x1eb)](_0x4f89f7(0x10a),_0x338a7e);}}}});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0xe3)]({'view':_0x2e0cd8(0x1ee),'model':_0x359b99=>_0x2e0cd8(0xc6)+_0x359b99,'converterPriority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0xe3)]({'view':_0x2e0cd8(0x128),'model':_0xef3cdd=>_0x2e0cd8(0x1a1)+_0xef3cdd,'converterPriority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x104))[_0x2e0cd8(0x1f1)]({'model':_0x2e0cd8(0x173),'view':_0x33db92=>({'name':_0x2e0cd8(0x190)+_0x33db92,'group':_0x2e0cd8(0x173)}),'converterPriority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x19f))[_0x2e0cd8(0x10d)]({'model':_0x2e0cd8(0x173),'view':_0x528c4=>{const _0x4e2eca=_0x2e0cd8,_0xb88c61=_0x528c4[_0x4e2eca(0x1db)][_0x4e2eca(0xdd)](':')[0x1];return _0x4e2eca(0x146)!=_0xb88c61&&_0x4e2eca(0x11a)!=_0xb88c61?null:{'classes':[_0x4e2eca(0xd6),_0x4e2eca(0x175)+_0xb88c61]};}}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x1ac),Q(this[_0x2e0cd8(0x15b)],_0x2e0cd8(0xc5)),{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x15a),Q(this[_0x2e0cd8(0x15b)],_0x2e0cd8(0xdd)),{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0xe0),(_0x53357d,_0x347e5b,_0x235cd2)=>{const _0xfa1cb4=_0x2e0cd8,_0x4c5c34=_0x235cd2[_0xfa1cb4(0x1f0)][_0xfa1cb4(0x17a)](_0x347e5b[_0xfa1cb4(0x1db)]);if(_0x4c5c34){for(const _0x4e066d of _0x4c5c34)_0x4e066d['is'](_0xfa1cb4(0x1f9))&&(_0x235cd2[_0xfa1cb4(0x1f0)][_0xfa1cb4(0x185)](_0x4e066d,_0x347e5b[_0xfa1cb4(0x1db)]),_0x235cd2[_0xfa1cb4(0x1ae)][_0xfa1cb4(0x1e4)](_0x4e066d));}},{'priority':_0x2e0cd8(0x18f)});}[_0x42cf3c(0x148)](_0x4ee4be){const _0x43fffb=_0x42cf3c;return this[_0x43fffb(0xf1)][_0x43fffb(0x165)](_0x4ee4be);}[_0x42cf3c(0x123)](_0x28480f){const _0x119005=_0x42cf3c;return this[_0x119005(0xda)]&&this[_0x119005(0xda)][_0x119005(0x115)](),this[_0x119005(0xda)]=new _0x1c8a44(this[_0x119005(0x15b)][_0x119005(0xe1)],_0x28480f),this[_0x119005(0xda)];}[_0x42cf3c(0x180)](){const _0x18b6f2=_0x42cf3c;this[_0x18b6f2(0x15b)][_0x18b6f2(0xce)][_0x18b6f2(0xd8)][_0x18b6f2(0x106)][_0x18b6f2(0xbc)](_0x18b6f2(0xdb)),this['on'](_0x18b6f2(0xc7),(_0x4613f3,_0x23a4a3,_0x15a14b,_0x1a5518)=>{const _0x1b88fe=_0x18b6f2;_0x1a5518&&this[_0x1b88fe(0x157)][_0x1b88fe(0x1e4)](_0x1a5518),_0x15a14b&&(this[_0x1b88fe(0x157)][_0x1b88fe(0x1f8)]({'view':_0x15a14b,'stackId':_0x1b88fe(0xee),'position':{'target':()=>{const _0x214164=_0x1b88fe,_0x5c154a=this[_0x214164(0x15b)][_0x214164(0x1c5)],_0x26b450=this[_0x214164(0x148)](_0x15a14b[_0x214164(0x129)]);let _0x461553;if(_0x26b450[_0x214164(0x1d1)][_0x214164(0xc4)]){const _0x4a3783=_0x5c154a[_0x214164(0xbe)][_0x214164(0x118)](_0x26b450[_0x214164(0x140)]);_0x461553=Array[_0x214164(0x11b)](_0x4a3783[_0x214164(0x135)]());}else{const _0x284440=this[_0x214164(0x15b)][_0x214164(0xce)][_0x214164(0x1e3)][_0x214164(0x165)](_0x214164(0x1fe)+_0x15a14b[_0x214164(0x129)]);_0x461553=Array[_0x214164(0x11b)](_0x5c154a[_0x214164(0x1f0)][_0x214164(0x17a)](_0x284440[_0x214164(0xe6)]))[_0x214164(0x113)](_0x1a1626=>_0x5c154a[_0x214164(0xbe)][_0x214164(0x114)][_0x214164(0x1a4)](_0x1a1626))[_0x214164(0x113)](_0x537599=>Array[_0x214164(0x11b)](_0x537599[_0x214164(0x135)]()))[_0x214164(0x13c)]();}if(!this[_0x214164(0xea)])return _0x461553[0x0];return _0x461553[_0x214164(0x15c)](_0x4361f1=>_0x4361f1[_0x214164(0x1e6)]-0x3<=this[_0x214164(0xea)]['y']&&_0x4361f1[_0x214164(0xf4)]+0x3>=this[_0x214164(0xea)]['y']&&_0x4361f1[_0x214164(0x120)]-0x3<=this[_0x214164(0xea)]['x']&&_0x4361f1[_0x214164(0x1c1)]+0x3>=this[_0x214164(0xea)]['x'])||_0x461553[0x0];}}}),this[_0x1b88fe(0x157)][_0x1b88fe(0xe7)](_0x1b88fe(0xee)));}),this['on'](_0x18b6f2(0x16a),(_0x451181,_0xd4530e,_0x56a353,_0xdacbd2)=>{const _0x5a33fe=_0x18b6f2;this[_0x5a33fe(0x194)]=_0x56a353?this[_0x5a33fe(0x123)](_0x56a353):null,this[_0x5a33fe(0x15b)][_0x5a33fe(0xce)][_0x5a33fe(0x19a)](()=>{const _0x41d151=_0x5a33fe,_0x5af78b=this[_0x41d151(0x15b)][_0x41d151(0x1c5)];_0xdacbd2&&(_0xdacbd2[_0x41d151(0x1d1)][_0x41d151(0xc4)]?_0x5af78b[_0x41d151(0xbe)][_0x41d151(0x19a)](_0x161d26=>{const _0x28b32c=_0x41d151;_0x161d26[_0x28b32c(0x111)](_0x28b32c(0x10a),_0x5af78b[_0x28b32c(0xbe)][_0x28b32c(0xd8)][_0x28b32c(0x192)](_0xdacbd2[_0x28b32c(0x140)]));}):_0x5af78b[_0x41d151(0x166)](_0x41d151(0x1fe)+_0xdacbd2['id'])),_0x56a353&&(_0x56a353[_0x41d151(0x1d1)][_0x41d151(0xc4)]?_0x5af78b[_0x41d151(0xbe)][_0x41d151(0x19a)](_0xe4e40b=>{const _0x410767=_0x41d151;_0xe4e40b[_0x410767(0x1eb)](_0x410767(0x10a),_0x5af78b[_0x410767(0xbe)][_0x410767(0xd8)][_0x410767(0x192)](_0x56a353[_0x410767(0x140)]));}):_0x5af78b[_0x41d151(0x166)](_0x41d151(0x1fe)+_0x56a353['id']));});}),this[_0x18b6f2(0x143)](this[_0x18b6f2(0x15b)][_0x18b6f2(0x1c5)][_0x18b6f2(0xbe)][_0x18b6f2(0xd8)],_0x18b6f2(0x109),(_0x2ef215,_0x41e563)=>{const _0x2331a4=_0x18b6f2;if(this[_0x2331a4(0x1b5)])return;const _0x4b9ab3=this[_0x2331a4(0x14d)](_0x41e563[_0x2331a4(0x12a)]),_0x29a4fe=this[_0x2331a4(0xf1)][_0x2331a4(0x165)](_0x4b9ab3);_0x29a4fe?(this[_0x2331a4(0xea)]={'x':_0x41e563[_0x2331a4(0xfe)]['x'],'y':_0x41e563[_0x2331a4(0xfe)]['y']},this[_0x2331a4(0x194)]=this[_0x2331a4(0x123)](_0x29a4fe)):(this[_0x2331a4(0xea)]=null,this[_0x2331a4(0x194)]=null);}),this[_0x18b6f2(0x143)](this[_0x18b6f2(0x15b)][_0x18b6f2(0x1c5)][_0x18b6f2(0xbe)][_0x18b6f2(0xd8)],_0x18b6f2(0xc9),(_0x268038,_0x21db3e)=>{const _0x55c8aa=_0x18b6f2,_0x2bfc55=this[_0x55c8aa(0x14d)](_0x21db3e[_0x55c8aa(0x12a)]),_0x3c836d=this[_0x55c8aa(0xf1)][_0x55c8aa(0x165)](_0x2bfc55);_0x3c836d?(this[_0x55c8aa(0xea)]={'x':_0x21db3e[_0x55c8aa(0xfe)]['x'],'y':_0x21db3e[_0x55c8aa(0xfe)]['y']},_0x3c836d===this[_0x55c8aa(0x1b5)]?this[_0x55c8aa(0x157)][_0x55c8aa(0x1dd)]():this[_0x55c8aa(0x1b5)]=_0x3c836d):(this[_0x55c8aa(0xea)]=null,this[_0x55c8aa(0x1b5)]=null);});}[_0x42cf3c(0x14d)](_0x125955){const _0xd24ef2=_0x42cf3c;do{const _0x895596=_0x125955[_0xd24ef2(0xcc)](_0xd24ef2(0x187));if(_0x895596)return _0x895596;_0x125955=_0x125955[_0xd24ef2(0x13e)];}while(_0x125955);return null;}[_0x42cf3c(0x121)](){const _0x7a52e=_0x42cf3c;this[_0x7a52e(0x15b)][_0x7a52e(0xce)][_0x7a52e(0x19a)](_0x5d303a=>{const _0x54d824=_0x7a52e;for(const _0xba00ec of this[_0x54d824(0x15b)][_0x54d824(0xce)][_0x54d824(0x1e3)])_0x5d303a[_0x54d824(0x1d9)](_0xba00ec);});}}function Q(_0x21f182,_0x189635){return(_0x351f08,_0x59b3a3,_0x5a3dce)=>{const _0x1661e0=_0x6f68;if(!_0x5a3dce[_0x1661e0(0x1f5)][_0x1661e0(0x18d)](_0x59b3a3[_0x1661e0(0xf9)],_0x351f08[_0x1661e0(0xe6)]))return;const _0x2602c6=_0x59b3a3[_0x1661e0(0xf9)][_0x1661e0(0x167)](),_0x30b2bf=_0x59b3a3[_0x1661e0(0xf9)][_0x1661e0(0x1c6)],_0x10df75=_0x21f182[_0x1661e0(0xce)][_0x1661e0(0xcb)];let _0x54c0b3=null,_0x387433=null,_0x15305f=!0x1,_0x4bbe3a=!0x1;for(const _0x4862e2 of _0x2602c6){const _0xf8d509=_0x4862e2[_0x1661e0(0xd4)];_0x15305f=_0x15305f||_0x10df75[_0x1661e0(0x14f)](_0xf8d509);const _0x26eaf3=_0x5a3dce[_0x1661e0(0x1f0)][_0x1661e0(0x1cf)](_0xf8d509);if(_0x26eaf3&&_0x26eaf3[_0x1661e0(0x1a0)](_0x1661e0(0x1b3)))return;_0x1661e0(0xd2)==_0x4862e2[_0x1661e0(0x1a9)]&&(_0x10df75[_0x1661e0(0x147)](_0xf8d509)&&!_0x10df75[_0x1661e0(0x16d)](_0xf8d509)&&(_0xf8d509[_0x1661e0(0x103)]||_0x30b2bf[_0x1661e0(0x159)]?_0x54c0b3&&_0x54c0b3[_0x1661e0(0x13e)]==_0xf8d509||(_0x54c0b3=_0xf8d509,_0x5b0163(_0x4862e2[_0x1661e0(0x1d8)]),_0x4bbe3a=!0x0):_0x387433=_0x387433||_0x4862e2[_0x1661e0(0x1d8)]));}function _0x5b0163(_0x342d52){const _0x58ca9b=_0x1661e0,_0x7bd089=_0x5a3dce[_0x58ca9b(0x1f0)][_0x58ca9b(0x116)](_0x342d52),_0x4f5ea5=_0x5a3dce[_0x58ca9b(0x1ae)][_0x58ca9b(0x1dc)](_0x58ca9b(0x1df),{'class':_0x58ca9b(0x175)+_0x189635});_0x5a3dce[_0x58ca9b(0x1ae)][_0x58ca9b(0xe9)](_0x7bd089,_0x4f5ea5),_0x5a3dce[_0x58ca9b(0x1f0)][_0x58ca9b(0x1ec)](_0x4f5ea5,_0x59b3a3[_0x58ca9b(0x1db)]);}_0x15305f||_0x4bbe3a||!_0x387433||_0x5b0163(_0x387433);};}export class RestoreRevisionCommand extends _0x5248b5{constructor(_0x176215){const _0x59ac2b=_0x42cf3c;super(_0x176215);const _0x2faa38=_0x176215[_0x59ac2b(0x130)][_0x59ac2b(0x165)](RevisionViewer);this[_0x59ac2b(0x1f4)]=!0x1,this[_0x59ac2b(0x143)](_0x2faa38,_0x59ac2b(0x164),()=>this[_0x59ac2b(0x12d)]()),this[_0x59ac2b(0x143)](_0x2faa38,_0x59ac2b(0x1e5),()=>this[_0x59ac2b(0x12d)]());}[_0x42cf3c(0x169)](){const _0x28ef66=_0x42cf3c,_0x13867a=this[_0x28ef66(0x15b)],_0x1b90ba=_0x13867a[_0x28ef66(0x130)][_0x28ef66(0x165)](RevisionViewer),_0x335c1a=_0x1b90ba[_0x28ef66(0x102)]?_0x1b90ba[_0x28ef66(0x189)][_0x28ef66(0x126)]:null;_0x13867a[_0x28ef66(0xcd)][_0x28ef66(0x165)](_0x28ef66(0x17d))[_0x28ef66(0x110)](_0x335c1a);}[_0x42cf3c(0x12d)](){const _0x47d729=_0x42cf3c,{isReady:_0x300675,isEnabled:_0x73b7af,repository:_0xb156ea,diff:_0x47b265}=this[_0x47d729(0x15b)][_0x47d729(0x130)][_0x47d729(0x165)](RevisionViewer),_0x3f4c11=_0x47b265&&_0xb156ea[_0x47d729(0x1e0)](_0x47b265[_0x47d729(0x126)]);this[_0x47d729(0x1f6)]=_0x300675&&_0x73b7af&&Boolean(_0x3f4c11);}}export class ShowChangeCommand extends _0x5248b5{[_0x42cf3c(0x1f3)];constructor(_0x536fd0,{direction:_0x41d8a0}){const _0x173222=_0x42cf3c;super(_0x536fd0);const _0x25131c=_0x536fd0[_0x173222(0x130)][_0x173222(0x165)](RevisionViewer);this[_0x173222(0x1f4)]=!0x1,this[_0x173222(0x1f3)]=_0x173222(0x1a8)===_0x41d8a0?0x1:-0x1,this[_0x173222(0x143)](_0x25131c,_0x173222(0x164),()=>this[_0x173222(0x12d)]()),this[_0x173222(0x143)](_0x25131c,_0x173222(0x1e5),()=>this[_0x173222(0x12d)]()),this[_0x173222(0x143)](_0x25131c,_0x173222(0x16a),()=>this[_0x173222(0x12d)]());}[_0x42cf3c(0x169)](){const _0x514ae0=_0x42cf3c,_0xaff89d=this[_0x514ae0(0x15b)],_0x5b402d=_0xaff89d[_0x514ae0(0x130)][_0x514ae0(0x165)](RevisionViewer),{isNavigationMode:_0x38eb09,currentChangeNumber:_0x1c4e86}=_0x5b402d;let _0x2e9883;if(_0x5b402d[_0x514ae0(0x1b5)]=_0x38eb09?_0x5b402d[_0x514ae0(0x189)][_0x514ae0(0x19b)][_0x514ae0(0x165)](_0x1c4e86+this[_0x514ae0(0x1f3)]):_0x5b402d[_0x514ae0(0x189)][_0x514ae0(0x19b)][_0x514ae0(0x1d2)],_0x5b402d[_0x514ae0(0x1b5)][_0x514ae0(0x1d1)][_0x514ae0(0xc4)])_0x2e9883=_0xaff89d[_0x514ae0(0x1c5)][_0x514ae0(0xbe)][_0x514ae0(0x118)](_0x5b402d[_0x514ae0(0x1b5)][_0x514ae0(0x140)]);else{const _0x1293ec=_0xaff89d[_0x514ae0(0xce)][_0x514ae0(0x1e3)][_0x514ae0(0x165)](_0x514ae0(0x1fe)+_0x5b402d[_0x514ae0(0x1b5)]['id']);_0x2e9883=_0x906310(_0xaff89d[_0x514ae0(0x1c5)],_0x1293ec);}_0x3d1d40({'target':_0x2e9883,'viewportOffset':0x28});}[_0x42cf3c(0x12d)](){const _0x149cd5=_0x42cf3c,{isNavigationMode:_0x3541dd,currentChangeNumber:_0x4a6584,numberOfChanges:_0x5c1b73,isReady:_0x56981c,isEnabled:_0x378edd}=this[_0x149cd5(0x15b)][_0x149cd5(0x130)][_0x149cd5(0x165)](RevisionViewer);this[_0x149cd5(0x1f6)]=!!(_0x378edd&&_0x56981c&&_0x5c1b73)&&(!_0x3541dd||(0x1===this[_0x149cd5(0x1f3)]?_0x4a6584<_0x5c1b73-0x1:_0x4a6584>0x0));}}
|
|
23
|
+
const _0x4f3880=_0x2002;(function(_0x233f96,_0x52ed30){const _0x21b970=_0x2002,_0x19d9d3=_0x233f96();while(!![]){try{const _0xea429d=-parseInt(_0x21b970(0x1dc))/0x1*(parseInt(_0x21b970(0x147))/0x2)+parseInt(_0x21b970(0x1bb))/0x3+parseInt(_0x21b970(0x162))/0x4+-parseInt(_0x21b970(0x1b4))/0x5+parseInt(_0x21b970(0xb3))/0x6*(-parseInt(_0x21b970(0xcd))/0x7)+parseInt(_0x21b970(0xd5))/0x8+parseInt(_0x21b970(0x11f))/0x9;if(_0xea429d===_0x52ed30)break;else _0x19d9d3['push'](_0x19d9d3['shift']());}catch(_0x41f56f){_0x19d9d3['push'](_0x19d9d3['shift']());}}}(_0x51ea,0x5d77c));function _0x51ea(){const _0x167ff7=['addMarker:revision','isRemoved','_processTape','createUIElement','error','first','from','updatePosition','addMarker:revision-suggestion:insertion','left','text','editing','document','nextPosition','catch','_getRevisionsRange','consumable','rootName','showPreviousChange','getRootNames','unbindElementFromMarkerName','_data','softBreak','commands','authors','activeView','change:isReady','getLaterVisibleRevision','revision:','range','_makeModelFromViewString','execute','plugins','15884gNxYTl','_changeView','merge','isObject','done','checkAttribute','restoreRevision','_markMismatchedRemovedTags','revision-comment:','stop','vid','forEach','refresh','_step','domConverter','isAfter','activeChange','_markSuggestions','_cleanUp','toViewRange','selection','attribute:vid','vid_end','revision-viewer','includes','forceDisabled','consume','2166824XYnKuE','item','ck-suggestion-preview-marker','ck-suggestion-marker','getChild','_update','delete','affectsData','isAttached','getAttribute','suggestion','suggestion:','addRoot','enqueueChange','locale','pop','set','isEqual','_removeMissingPairs','vid_start','filter','isIncorrect','map','all','modelRange','removeAttribute','_threeWayMerge','resolve','forward','WidgetToolbarRepository','getCustomProperty','slice','side','startIndex','mousedown','length','enableReadOnlyMode','_revisions','data-change-id','element:pre','_setDistance','_changeIdToChange','removeMarker:revision','model','isAddSuggestion','dataToMarker','revisionHistory','next','isEnabled','removeMarker','nodeAfter','roots','RevisionViewer','isPremiumPlugin','pluginName','getRevisionDocumentData','attributes','ck-revision-history-root-remove','createRevision','writer','getAttributes','newRevisionId','getRevisionRootsAttributes','addHighlight','getRoot','getIndex','createAttributeElement','restoreRevisionCallback','getClientRects','getRevision','splice','revisionHistoryLabel','elementStart','concat','nextSibling','ck-suggestion-marker-split','remove','change:numberOfChanges','detachRoot','getWalker','downcastDispatcher','isInline','40385SDSwQG','removeMarker:revision-suggestion','RevisionHistoryUtils','markerName','revision','change','data','317529wPjCMh','editor','isSuggestion','showStack','offsetSize','diffData','oldRevisionId','attributesAfter','target','pairId','_joinTapes','ck-suggestion-preview-marker-','findIndex','clear','POSITIVE_INFINITY','requires','markers','markerNameToElements','_makeTape','_activeViewTarget','element','_setChanges','_cleanMarkers','distance','then','addMarker:revision-suggestion:deletion','_utils','top','isRemoveSuggestion','ck-revision-history-root--active','code','loadRevisionData','high','85mQWlMb','dataDowncast','sort','endIndex','isCollapsed','bottom','parent','isBlock','index','userId','abs','markersStart','_setConversion','showNextChange','hasClass','_getViewForChange','destroy','isAdded','change:activeChange','toViewPosition','ck-revision-history-root-','test','_fixObsoleteTags','addClass','adapter','changeId','get','domEvent','465156XPSLUU','diff','listenTo','object','backward','attributesBefore','_appendChild','mapper','deletions','markersEnd','maxOffset','unshift','markerToHighlight','_balloon','ck-suggestion-marker-','setAttribute','elementToAttribute','revision-suggestion','deletion','init','type','-new','insert','revisionHistoryAttachChange','insertion','currentChangeNumber','56VBYwfE','conversion','split','mapViewToDom','createRange','_markMarkers','addRevision','startsWith','1158072gxaQPc','for','add','view','toViewElement','createRangeIn','isReady','push','_makeModelFromTape','_initInteractions','removeClass','find','config','reconvertMarker','_getDiff','markerRange','revision-suggestion:','getDomRoot','comment','markerToData','elementEnd','span','ck-revision-history-root-add','highest','values','insertions','end','mouseover','name','keys','changes','numberOfChanges','hasAttribute','schema','indexOf','_markInsertions','isNavigationMode','_findChangeIdFromDomTarget','_getChangeFromId','isOnRoot','isAtEnd','upcast','uiElement','start','ck-editor__editable__overlay','change:activeView','shift','right','attachChange','bind','isLimit','bindElementToMarker','has','ck-suggestion-marker-merge','getItems','change:isEnabled','createPositionFromPath','wrap','_removeUnsupportedChanges','compare','isAtStart','isContent','observeMarkers','level','_refreshStartEndIndex','string','viewItem','_sortAndFilterDiffChanges','editingDowncast','createPositionBefore','addRevisionData','low','repository','flat','8045019eamkbB','previousPosition','return','isBefore','RevisionsRepository','isOfficialPlugin','ck-suggestion-marker--active'];_0x51ea=function(){return _0x167ff7;};return _0x51ea();}import{Plugin as _0x55bb07,Command as _0x1cbfaf}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1a8beb}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x14a669}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0x171e52,ModelElement as _0x3de921,ModelText as _0x1abc7c}from'ckeditor5/src/engine.js';import{Users as _0x3ed9f4,getMarkerDomElement as _0x1d2e59}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x494cc4}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x26eb45}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x5afa2d}from'./revisionhistoryutils.js';import{ChangeItem as _0x5a9cef}from'./changeitem.js';import{RevisionDiff as _0x28bb76}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x2002(_0x2a3b87,_0x5eea54){const _0x51eaf0=_0x51ea();return _0x2002=function(_0x2002b3,_0x38a31d){_0x2002b3=_0x2002b3-0xa5;let _0x19f209=_0x51eaf0[_0x2002b3];return _0x19f209;},_0x2002(_0x2a3b87,_0x5eea54);}import{cloneDeep as _0x2e0d21}from'es-toolkit/compat';export class RevisionViewer extends _0x55bb07{[_0x4f3880(0x11d)];[_0x4f3880(0xaf)]=null;[_0x4f3880(0x1d5)];[_0x4f3880(0x1ce)];[_0x4f3880(0x148)];[_0x4f3880(0x18b)];[_0x4f3880(0xc0)];static get[_0x4f3880(0x198)](){const _0x551a30=_0x4f3880;return _0x551a30(0x196);}static get[_0x4f3880(0x124)](){return!0x0;}static get[_0x4f3880(0x197)](){return!0x0;}static get[_0x4f3880(0x1ca)](){return[_0x3ed9f4,_0x14a669,_0x26eb45,_0x5afa2d];}constructor(_0x50dca3){const _0x48c343=_0x4f3880;super(_0x50dca3),this[_0x48c343(0x11d)]=this[_0x48c343(0x1bc)][_0x48c343(0x146)][_0x48c343(0xb1)](_0x48c343(0x123)),this[_0x48c343(0x1d5)]=this[_0x48c343(0x1bc)][_0x48c343(0x146)][_0x48c343(0xb1)](_0x48c343(0x1b6)),this[_0x48c343(0x172)](_0x48c343(0x157),null),this[_0x48c343(0x172)](_0x48c343(0x13f),null),this[_0x48c343(0x1ce)]=null,this[_0x48c343(0x172)](_0x48c343(0xb4),null),this[_0x48c343(0x172)](_0x48c343(0xdb),!0x1),this[_0x48c343(0x172)](_0x48c343(0x192),!0x0),this['on'](_0x48c343(0x10c),(_0x423b94,_0x302022,_0x135548)=>{const _0x4f85a5=_0x48c343;this[_0x4f85a5(0x157)]=null,this[_0x4f85a5(0x13f)]=null,this[_0x4f85a5(0x1bc)][_0x4f85a5(0x131)][_0x4f85a5(0xd8)][_0x4f85a5(0x1b9)](_0x2d88fb=>{const _0x10fbcc=_0x4f85a5;for(const _0x5a7bbe of this[_0x10fbcc(0x1bc)][_0x10fbcc(0x131)][_0x10fbcc(0xd8)][_0x10fbcc(0x132)][_0x10fbcc(0x195)])_0x135548?_0x2d88fb[_0x10fbcc(0xdf)](_0x10fbcc(0x101),_0x5a7bbe):_0x2d88fb[_0x10fbcc(0xae)](_0x10fbcc(0x101),_0x5a7bbe);});}),this[_0x48c343(0x106)](_0x48c343(0xf9))['to'](this,_0x48c343(0x157),_0x4ec1b7=>null!==_0x4ec1b7),this[_0x48c343(0x106)](_0x48c343(0xcc))['to'](this,_0x48c343(0xdb),this,_0x48c343(0xb4),this,_0x48c343(0x157),(_0x332352,_0x59ce9b,_0x3a6c49)=>_0x332352&&_0x3a6c49?_0x59ce9b[_0x48c343(0xf3)][_0x48c343(0x1a3)](_0x3a6c49):0x0),this[_0x48c343(0x106)](_0x48c343(0xf4))['to'](this,_0x48c343(0xdb),this,_0x48c343(0xb4),(_0x22c43c,_0x794fa7)=>_0x22c43c?_0x794fa7[_0x48c343(0xf3)][_0x48c343(0x185)]:0x0),this[_0x48c343(0x148)]=null,this[_0x48c343(0x18b)]=new Map(),this[_0x48c343(0xc0)]=this[_0x48c343(0x1bc)][_0x48c343(0x146)][_0x48c343(0xb1)](_0x14a669);}[_0x4f3880(0xc6)](){const _0x753d61=_0x4f3880,_0x5ec4dd=this[_0x753d61(0x1bc)],_0x3870ca=new ShowChangeCommand(_0x5ec4dd,{'direction':_0x753d61(0xb7)}),_0x1d3d9d=new ShowChangeCommand(_0x5ec4dd,{'direction':_0x753d61(0x17e)});(_0x5ec4dd[_0x753d61(0x13d)][_0x753d61(0xd7)](_0x753d61(0x138),_0x3870ca),_0x5ec4dd[_0x753d61(0x13d)][_0x753d61(0xd7)](_0x753d61(0x1e9),_0x1d3d9d),_0x5ec4dd[_0x753d61(0x13d)][_0x753d61(0xd7)](_0x753d61(0x14d),new RestoreRevisionCommand(_0x5ec4dd)),this['on'](_0x753d61(0x1af),()=>{const _0x4c66d6=_0x753d61;_0x3870ca[_0x4c66d6(0x153)](),_0x1d3d9d[_0x4c66d6(0x153)]();}),this[_0x753d61(0x1e8)](),this[_0x753d61(0xde)](),_0x5ec4dd[_0x753d61(0x186)](_0x753d61(0x15e)),_0x5ec4dd[_0x753d61(0x146)][_0x753d61(0x109)](_0x753d61(0x17f)))&&_0x5ec4dd[_0x753d61(0x146)][_0x753d61(0xb1)](_0x753d61(0x17f))[_0x753d61(0x160)](_0x753d61(0x15e));}async[_0x4f3880(0x199)](_0x2582df){const _0x4a5198=_0x4f3880;return await this[_0x4a5198(0x1d5)][_0x4a5198(0x1da)](_0x2582df,this[_0x4a5198(0xaf)]),this[_0x4a5198(0x1d5)][_0x4a5198(0x199)](_0x2582df);}async[_0x4f3880(0x1a0)](_0x5da4bd){const _0x18e20e=_0x4f3880;return await this[_0x18e20e(0x1d5)][_0x18e20e(0x1da)](_0x5da4bd,this[_0x18e20e(0xaf)]),this[_0x18e20e(0x1d5)][_0x18e20e(0x1a0)](_0x5da4bd);}async[_0x4f3880(0x110)](_0x9d600b,_0x404fd1,_0x356497=!0x1){const _0x409c58=_0x4f3880;if(!this[_0x409c58(0x192)])return;const _0x4e4de3=this[_0x409c58(0xb4)],_0xe89b1d=this[_0x409c58(0x11d)],_0x16be6a=_0x409c58(0x116)==typeof _0x9d600b?_0xe89b1d[_0x409c58(0x1a7)](_0x9d600b):_0x9d600b,_0x3e007a=_0x409c58(0x116)==typeof _0x404fd1?_0xe89b1d[_0x409c58(0x1a7)](_0x404fd1):_0x404fd1,_0x426b6d=_0x16be6a['id'],_0x1c4aec=_0x3e007a?_0x3e007a['id']:null;if(!_0x356497&&this[_0x409c58(0xb4)]&&this[_0x409c58(0xb4)][_0x409c58(0x19f)]===_0x426b6d&&this[_0x409c58(0xb4)][_0x409c58(0x1c1)]===_0x1c4aec)return Promise[_0x409c58(0x17d)]();this[_0x409c58(0xdb)]=!0x1,this[_0x409c58(0x13f)]=null,this[_0x409c58(0x157)]=null,this[_0x409c58(0xb4)]=new _0x28bb76(_0x426b6d,_0x1c4aec);const _0x5342b0=this[_0x409c58(0x135)](_0x16be6a,_0x3e007a,!0x0)[_0x409c58(0x178)](_0x3d2d98=>this[_0x409c58(0x1d5)][_0x409c58(0x1da)](_0x3d2d98,this[_0x409c58(0xaf)]));return _0x5342b0[_0x409c58(0xdc)](new Promise(_0xec0873=>{setTimeout(_0xec0873,0x14);})),Promise[_0x409c58(0x179)](_0x5342b0)[_0x409c58(0x1d3)](()=>{const _0x4cae6e=_0x409c58;if(!this[_0x4cae6e(0x192)])return;this[_0x4cae6e(0x159)]();const _0x29b70c=this[_0x4cae6e(0xe3)](_0x426b6d,_0x1c4aec);for(const _0x2f6a42 of _0x29b70c[_0x4cae6e(0xf3)])this[_0x4cae6e(0x18b)][_0x4cae6e(0x172)](_0x2f6a42['id'],_0x2f6a42);this[_0x4cae6e(0x1bc)][_0x4cae6e(0x18d)][_0x4cae6e(0x16f)]({'isUndoable':!0x1},_0x151365=>{const _0x186802=_0x4cae6e;for(const _0x37f731 of this[_0x186802(0x1bc)][_0x186802(0x18d)][_0x186802(0x132)][_0x186802(0x139)]())_0x151365[_0x186802(0x1b0)](_0x37f731);for(const _0x304a95 of Object[_0x186802(0xf2)](_0x29b70c[_0x186802(0x18d)])){const _0x392e90=_0x151365[_0x186802(0x16e)](_0x304a95);for(const _0x8dd182 of Object[_0x186802(0xf2)](_0x29b70c[_0x186802(0x19a)][_0x304a95]))_0x151365[_0x186802(0xc2)](_0x8dd182,_0x29b70c[_0x186802(0x19a)][_0x304a95][_0x8dd182],_0x392e90);_0x151365[_0x186802(0xc9)](_0x29b70c[_0x186802(0x18d)][_0x304a95],_0x392e90,0x0);}}),this[_0x4cae6e(0xb4)][_0x4cae6e(0x1d0)](this[_0x4cae6e(0x118)](_0x29b70c[_0x4cae6e(0xf3)])),this[_0x4cae6e(0xdb)]=!0x0;})[_0x409c58(0x134)](_0x32942e=>{const _0x27690e=_0x409c58;console[_0x27690e(0x12a)](_0x32942e),this[_0x27690e(0x159)](),_0x4e4de3&&(this[_0x27690e(0xb4)]=_0x4e4de3),this[_0x27690e(0xdb)]=!0x0;});}[_0x4f3880(0x11b)](_0x33f693,_0x3bd6d3){const _0x3faef8=_0x4f3880,_0x466fa9=this[_0x3faef8(0x11d)][_0x3faef8(0x19c)](_0x33f693);return _0x466fa9['on'](_0x3faef8(0x167),(_0x12bdf1,_0x149577,_0x5120dc)=>_0x3bd6d3(_0x149577,_0x5120dc,_0x466fa9)),this[_0x3faef8(0x11d)][_0x3faef8(0xd3)](_0x466fa9),_0x466fa9;}[_0x4f3880(0x159)](){const _0x1ecdeb=_0x4f3880;this[_0x1ecdeb(0x157)]=null,this[_0x1ecdeb(0x1d1)](),this[_0x1ecdeb(0x148)]&&this[_0x1ecdeb(0x148)][_0x1ecdeb(0xa7)](),this[_0x1ecdeb(0x148)]=null,this[_0x1ecdeb(0x18b)][_0x1ecdeb(0x1c8)](),this[_0x1ecdeb(0x1bc)][_0x1ecdeb(0x18d)][_0x1ecdeb(0x16f)]({'isUndoable':!0x1},_0x5de394=>{const _0xd28c64=_0x1ecdeb;for(const _0x5430ad of this[_0xd28c64(0x1bc)][_0xd28c64(0x18d)][_0xd28c64(0x132)][_0xd28c64(0x139)]())_0x5de394[_0xd28c64(0x1b0)](_0x5430ad);});}[_0x4f3880(0x118)](_0x244b5d){const _0x21ba78=_0x4f3880,_0x1b57b6=[],_0x4dcef3=new Map();for(const _0x1a8e3b of this[_0x21ba78(0x1bc)][_0x21ba78(0x18d)][_0x21ba78(0x132)][_0x21ba78(0x139)]()){const _0x371256=this[_0x21ba78(0x1bc)][_0x21ba78(0x131)][_0x21ba78(0xd8)][_0x21ba78(0xe6)](_0x1a8e3b);if(!_0x371256)continue;const _0x54498e=_0x371256[_0x21ba78(0x1a6)]()[_0x21ba78(0x163)](0x0);_0x54498e&&(_0x1b57b6[_0x21ba78(0xdc)](_0x1a8e3b),_0x4dcef3[_0x21ba78(0x172)](_0x1a8e3b,_0x54498e));}return _0x1b57b6[_0x21ba78(0x1de)]((_0x5b0c58,_0x319e69)=>{const _0x4be10e=_0x21ba78,_0x375f2=_0x4dcef3[_0x4be10e(0xb1)](_0x5b0c58),_0xc2e572=_0x4dcef3[_0x4be10e(0xb1)](_0x319e69);return _0x375f2['y']-_0xc2e572['y']||_0x375f2['x']-_0xc2e572['x'];}),(_0x244b5d=_0x244b5d[_0x21ba78(0x176)](_0x4228c2=>_0x1b57b6[_0x21ba78(0x15f)](_0x4228c2[_0x21ba78(0x137)])))[_0x21ba78(0x1de)]((_0x5e3e03,_0x3842ee)=>_0x1b57b6[_0x21ba78(0xf7)](_0x5e3e03[_0x21ba78(0x137)])-_0x1b57b6[_0x21ba78(0xf7)](_0x3842ee[_0x21ba78(0x137)])),_0x244b5d;}[_0x4f3880(0x1cd)](_0x6b0484){const _0x2f0f81=_0x4f3880,_0x5d6323=Array[_0x2f0f81(0x12c)](_0x6b0484[_0x2f0f81(0x1cb)])[_0x2f0f81(0x176)](([_0x133869,_0x5330a9])=>_0x133869[_0x2f0f81(0xd4)](_0x2f0f81(0x142))&&!_0x5330a9[_0x2f0f81(0x1e0)]),_0x309579=Array[_0x2f0f81(0x12c)](this[_0x2f0f81(0x1bc)][_0x2f0f81(0x18d)][_0x2f0f81(0xda)](_0x6b0484)[_0x2f0f81(0x1b1)]({'singleCharacters':!0x0}));if(0x0!=_0x5d6323[_0x2f0f81(0x185)])for(const _0x24068a of _0x309579){const [_0x164323,_0x441265]=_0x5d6323[0x0],[,_0x38988c,_0x5b3616]=_0x164323[_0x2f0f81(0xcf)](':');if(_0x441265[_0x2f0f81(0xef)][_0x2f0f81(0x173)](_0x24068a[_0x2f0f81(0x133)])&&_0x5d6323[_0x2f0f81(0x103)](),(_0x24068a[_0x2f0f81(0x120)][_0x2f0f81(0x173)](_0x441265[_0x2f0f81(0x100)])||_0x24068a[_0x2f0f81(0x120)][_0x2f0f81(0x156)](_0x441265[_0x2f0f81(0x100)]))&&(_0x2f0f81(0xcb)==_0x38988c?_0x24068a[_0x2f0f81(0xa8)]={'userId':_0x5b3616}:_0x2f0f81(0xc5)==_0x38988c&&(_0x24068a[_0x2f0f81(0x127)]={'userId':_0x5b3616})),0x0==_0x5d6323[_0x2f0f81(0x185)])break;}return _0x309579;}[_0x4f3880(0x115)](_0x46db3d){const _0x5931d6=_0x4f3880,_0xa48b40=new Map();for(let _0x42c1c1=0x0;_0x42c1c1<_0x46db3d[_0x5931d6(0x185)];_0x42c1c1++)_0x5931d6(0x130)===_0x46db3d[_0x42c1c1][_0x5931d6(0xc7)]?(_0x46db3d[_0x42c1c1][_0x5931d6(0x163)][_0x5931d6(0x183)]=_0x42c1c1,_0x46db3d[_0x42c1c1][_0x5931d6(0x163)][_0x5931d6(0x1df)]=_0x42c1c1):(_0x5931d6(0x1aa)===_0x46db3d[_0x42c1c1][_0x5931d6(0xc7)]?_0x46db3d[_0x42c1c1][_0x5931d6(0x163)][_0x5931d6(0x183)]=_0x42c1c1:_0x5931d6(0xe9)===_0x46db3d[_0x42c1c1][_0x5931d6(0xc7)]&&(_0x46db3d[_0x42c1c1][_0x5931d6(0x163)][_0x5931d6(0x1df)]=_0x42c1c1),_0xa48b40[_0x5931d6(0x172)](_0x46db3d[_0x42c1c1]['id'],_0x42c1c1));for(const _0x4e47fc of _0xa48b40[_0x5931d6(0xed)]())_0x5931d6(0x1aa)===_0x46db3d[_0x4e47fc][_0x5931d6(0xc7)]?_0x46db3d[_0x4e47fc][_0x5931d6(0x163)][_0x5931d6(0x1df)]=_0xa48b40[_0x5931d6(0xb1)](_0x46db3d[_0x4e47fc][_0x5931d6(0x1c4)]):_0x5931d6(0xe9)===_0x46db3d[_0x4e47fc][_0x5931d6(0xc7)]&&(_0x46db3d[_0x4e47fc][_0x5931d6(0x163)][_0x5931d6(0x183)]=_0xa48b40[_0x5931d6(0xb1)](_0x46db3d[_0x4e47fc][_0x5931d6(0x1c4)]));}[_0x4f3880(0x128)](_0x14d2ee){const _0x45f8b5=_0x4f3880;for(let _0x6d434e=0x0;_0x6d434e<_0x14d2ee[_0x45f8b5(0x185)];_0x6d434e++){if(_0x45f8b5(0x1aa)===_0x14d2ee[_0x6d434e][_0x45f8b5(0xc7)])_0x14d2ee[_0x6d434e][_0x45f8b5(0x163)][_0x45f8b5(0x183)]=_0x6d434e;else{if(_0x45f8b5(0xe9)===_0x14d2ee[_0x6d434e][_0x45f8b5(0xc7)]){_0x14d2ee[_0x6d434e][_0x45f8b5(0x163)][_0x45f8b5(0x1df)]=_0x6d434e;const _0x4601d5=_0x14d2ee[_0x6d434e][_0x45f8b5(0x163)][_0x45f8b5(0x183)];_0x14d2ee[_0x4601d5][_0x45f8b5(0x1c4)]=_0x14d2ee[_0x6d434e]['id'],_0x14d2ee[_0x6d434e][_0x45f8b5(0x1c4)]=_0x14d2ee[_0x4601d5]['id'];}else _0x14d2ee[_0x6d434e][_0x45f8b5(0x163)][_0x45f8b5(0x183)]=_0x6d434e,_0x14d2ee[_0x6d434e][_0x45f8b5(0x163)][_0x45f8b5(0x1df)]=_0x6d434e,_0x14d2ee[_0x6d434e][_0x45f8b5(0x1c4)]=null;}_0x14d2ee[_0x6d434e][_0x45f8b5(0x1e7)]||(_0x14d2ee[_0x6d434e][_0x45f8b5(0x1e7)]=[],_0x14d2ee[_0x6d434e][_0x45f8b5(0xbc)]=[]);}}[_0x4f3880(0xf8)](_0x3c3706,_0x2636c8){const _0x1b87e5=_0x4f3880,_0x3007aa=_0x3c3706[_0x1b87e5(0x176)](_0x3d8432=>!_0x3d8432[_0x1b87e5(0xa8)]);for(let _0x105078=0x0;_0x105078<_0x2636c8[_0x1b87e5(0x185)];_0x105078++)_0x2636c8[_0x105078][_0x1b87e5(0xa8)]&&(_0x3007aa[_0x105078][_0x1b87e5(0xa8)]=_0x2636c8[_0x105078][_0x1b87e5(0xa8)]);}[_0x4f3880(0xe3)](_0x2fc503,_0x4e588d=null){const _0x560266=_0x4f3880,_0x4a3bb6=this[_0x560266(0x11d)][_0x560266(0x1a7)](_0x2fc503),_0x4dfb6a=_0x4e588d?this[_0x560266(0x11d)][_0x560266(0x1a7)](_0x4e588d):null,_0x4c13e3=this[_0x560266(0x135)](_0x4a3bb6,_0x4dfb6a),_0x39c1a1=_0x4c13e3[_0x4c13e3[_0x560266(0x185)]-0x1],_0x4666de=new Map(),_0x1af250={'model':{},'attributes':{},'changes':[]},_0xc0c832=new Set(),_0xe03a8a=new Map();for(let _0x21582f=_0x4c13e3[_0x560266(0x185)]-0x1;_0x21582f>=0x0;_0x21582f--){const _0x1a6680=_0x4c13e3[_0x21582f];for(const _0x52e920 of Object[_0x560266(0xf2)](_0x1a6680[_0x560266(0x1c0)]))if(_0x1a6680[_0x560266(0x1c0)][_0x52e920][_0x560266(0x105)]){const _0x5b562c=_0x1a6680[_0x560266(0x1c0)][_0x52e920][_0x560266(0x105)];_0x5b562c[_0x560266(0x16a)]?(_0xc0c832[_0x560266(0xd7)](_0x52e920),_0xe03a8a[_0x560266(0x109)](_0x52e920)&&_0xe03a8a[_0x560266(0xb1)](_0x52e920)[_0x560266(0x1e5)]==_0x5b562c[_0x560266(0x1e5)]?_0xe03a8a[_0x560266(0x168)](_0x52e920):_0xe03a8a[_0x560266(0x172)](_0x52e920,_0x5b562c)):_0xe03a8a[_0x560266(0x109)](_0x52e920)?(_0xc0c832[_0x560266(0x168)](_0x52e920),_0xe03a8a[_0x560266(0x168)](_0x52e920)):(_0xc0c832[_0x560266(0xd7)](_0x52e920),_0xe03a8a[_0x560266(0x172)](_0x52e920,_0x5b562c));}else _0xc0c832[_0x560266(0xd7)](_0x52e920);}for(const _0x29abf7 of _0xc0c832){const _0x32ef79=_0xe03a8a[_0x560266(0x109)](_0x29abf7)&&!_0xe03a8a[_0x560266(0xb1)](_0x29abf7)[_0x560266(0x16a)];let _0x6e3108=_0x32ef79?_0x4c13e3[_0x560266(0x185)]-0x1:0x0;const _0x22c08f=_0x32ef79?-0x1:0x1;for(;_0x4c13e3[_0x6e3108];){const _0x4754e3=_0x4c13e3[_0x6e3108];if(_0x4754e3[_0x560266(0x1c0)][_0x29abf7]){const _0x2eca74=_0x32ef79?_0x4754e3[_0x560266(0x1c0)][_0x29abf7][_0x560266(0xb8)]:_0x4754e3[_0x560266(0x1c0)][_0x29abf7][_0x560266(0x1c2)];_0x1af250[_0x560266(0x19a)][_0x29abf7]=_0x2eca74?_0x2e0d21(_0x2eca74):{};break;}_0x6e3108+=_0x22c08f;}}for(const _0x1e952e of _0x4c13e3){_0x1e952e[_0x560266(0x18d)]={};for(const _0x3646d8 of _0x1e952e[_0x560266(0x13e)])_0x4666de[_0x560266(0x172)](_0x3646d8['id'],_0x3646d8);for(const _0x4167fc of _0xc0c832){const _0xc9231a=_0x1e952e[_0x560266(0x1c0)][_0x4167fc]?_0x1e952e[_0x560266(0x1c0)][_0x4167fc][_0x560266(0xee)]:'[]',_0x55b84d=_0x1e952e[_0x560266(0x1c0)][_0x4167fc]?_0x1e952e[_0x560266(0x1c0)][_0x4167fc][_0x560266(0xbb)]:'[]';_0x1e952e[_0x560266(0x18d)][_0x4167fc]={'insertions':this[_0x560266(0x1d5)][_0x560266(0x144)](_0xc9231a),'deletions':this[_0x560266(0x1d5)][_0x560266(0x144)](_0x55b84d)};}}for(const _0x5a4112 of _0xc0c832){let _0xdb8688=null,_0x2c367c=0x0;const _0x58dffc=new Map(Array[_0x560266(0x12c)](_0x4a3bb6[_0x560266(0x18d)][_0x5a4112][_0x560266(0xee)][_0x560266(0x1cb)])[_0x560266(0x176)](([_0x67b18a])=>!_0x67b18a[_0x560266(0xd4)](_0x560266(0x142))));let _0x30232b=0x0;for(const _0x244019 of _0x4c13e3){const _0xb1ddda=this[_0x560266(0x1cd)](_0x244019[_0x560266(0x18d)][_0x5a4112][_0x560266(0xee)]);_0x244019==_0x4a3bb6?(_0xdb8688=_0xb1ddda,_0x2c367c=_0xdb8688[_0x560266(0x185)],_0xdb8688[_0x560266(0x152)](_0x29491c=>{_0x29491c['id']=_0x30232b++;}),this[_0x560266(0x128)](_0xdb8688)):this[_0x560266(0xf8)](_0xdb8688,_0xb1ddda);const _0x158b01=_0xdb8688[_0x560266(0x176)](_0x2d6ed5=>!_0x2d6ed5[_0x560266(0xa8)])[_0x560266(0x178)](_0x340e81=>_0x340e81['id']);let _0x1f2209=0x0;const _0x582e8d=this[_0x560266(0x1cd)](_0x244019[_0x560266(0x18d)][_0x5a4112][_0x560266(0xbb)]);_0x582e8d[_0x560266(0x152)](_0xc6bc44=>{const _0x474dac=_0x560266;_0xc6bc44[_0x474dac(0x127)]?_0xc6bc44['id']=_0x2c367c++:_0xc6bc44['id']=_0x158b01[_0x1f2209++];}),this[_0x560266(0x128)](_0x582e8d),this[_0x560266(0x18a)](_0xdb8688,_0x560266(0xa8)),this[_0x560266(0x18a)](_0x582e8d,_0x560266(0x127)),_0x244019==_0x4a3bb6&&this[_0x560266(0xd2)](_0xdb8688,_0x58dffc),_0xdb8688=this[_0x560266(0x1c5)](_0xdb8688,_0x582e8d),this[_0x560266(0x115)](_0xdb8688),this[_0x560266(0x18a)](_0xdb8688,_0x560266(0x127));}_0xdb8688=_0xdb8688[_0x560266(0x176)](_0x2d5ac8=>!(_0x2d5ac8[_0x560266(0xa8)]&&_0x2d5ac8[_0x560266(0x127)]));const _0x68b5d5=new Map(_0x39c1a1[_0x560266(0x18d)][_0x5a4112][_0x560266(0xbb)][_0x560266(0x1cb)]),_0x193b7b=new Set(_0x58dffc[_0x560266(0xf2)]());for(const _0x1f9957 of _0x68b5d5[_0x560266(0xf2)]())_0x193b7b[_0x560266(0x168)](_0x1f9957);this[_0x560266(0x158)](_0xdb8688,_0x193b7b),this[_0x560266(0xad)](_0xdb8688),_0xdb8688=this[_0x560266(0x174)](_0xdb8688),_0xdb8688=this[_0x560266(0x14e)](_0xdb8688),_0xdb8688=this[_0x560266(0x10f)](_0xdb8688);const {root:_0x20ecdf,changes:_0xb6d760}=this[_0x560266(0xdd)](_0xdb8688,_0x4666de,_0x5a4112);_0x1af250[_0x560266(0x18d)][_0x5a4112]=_0x20ecdf;const _0x1265d7=_0xe03a8a[_0x560266(0xb1)](_0x5a4112);if(_0x1265d7){const _0x4782d7=_0x4666de[_0x560266(0xb1)](_0x1265d7[_0x560266(0x1e5)]),_0x318b8d=new _0x5a9cef({'author':_0x4782d7,'type':_0x1265d7[_0x560266(0x16a)]?_0x560266(0xd7):_0x560266(0x1ae),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5a4112});_0xb6d760[_0x560266(0xbe)](_0x318b8d),_0x1af250[_0x560266(0x19a)][_0x5a4112][_0x560266(0xca)]=_0x318b8d['id'];}_0x1af250[_0x560266(0xf3)]=_0x1af250[_0x560266(0xf3)][_0x560266(0x1ab)](_0xb6d760);}return _0x1af250;}[_0x4f3880(0xd2)](_0x3111aa,_0x285cc9){const _0x285f83=_0x4f3880;for(let _0xc2d306=0x0;_0xc2d306<_0x3111aa[_0x285f83(0x185)];_0xc2d306++)for(const [_0x11908b,_0x3ac263]of _0x285cc9)!_0x3ac263[_0x285f83(0x1e0)]&&_0x3ac263[_0x285f83(0x100)][_0x285f83(0x173)](_0x3111aa[_0xc2d306][_0x285f83(0x120)])&&_0x3111aa[_0xc2d306][_0x285f83(0x1e7)][_0x285f83(0xdc)](_0x11908b),_0x3ac263[_0x285f83(0xef)][_0x285f83(0x173)](_0x3111aa[_0xc2d306][_0x285f83(0x133)])&&_0x3111aa[_0xc2d306][_0x285f83(0xbc)][_0x285f83(0xdc)](_0x11908b);}[_0x4f3880(0x1c5)](_0x4008c9,_0x10ef8){const _0x5a3507=_0x4f3880;let _0x305b53=[],_0x15abfe=0x0,_0x1dff4d=0x0;for(;_0x15abfe<_0x4008c9[_0x5a3507(0x185)]||_0x1dff4d<_0x10ef8[_0x5a3507(0x185)];){const _0x115cbc=_0x4008c9[_0x15abfe]||{},_0x3ac8d9=_0x10ef8[_0x1dff4d]||{};if(_0x115cbc['id']==_0x3ac8d9['id'])_0x15abfe++,_0x1dff4d++,_0x305b53[_0x5a3507(0xdc)](_0x115cbc);else{if(_0x3ac8d9[_0x5a3507(0x127)]&&_0x115cbc[_0x5a3507(0xa8)]){const {commonTape:_0x23a698,iEnd:_0xe7f93a,jEnd:_0x4f7941}=this[_0x5a3507(0x17c)](_0x4008c9,_0x15abfe,_0x10ef8,_0x1dff4d);_0x305b53=_0x305b53[_0x5a3507(0x1ab)](_0x23a698),_0x15abfe=_0xe7f93a,_0x1dff4d=_0x4f7941;}else _0x3ac8d9[_0x5a3507(0x127)]?(_0x1dff4d++,_0x305b53[_0x5a3507(0xdc)](_0x3ac8d9)):(_0x15abfe++,_0x305b53[_0x5a3507(0xdc)](_0x115cbc));}}return _0x305b53;}[_0x4f3880(0x158)](_0x5a308e,_0x1d5cc3){const _0x12405f=_0x4f3880,_0x1665c4=[];for(let _0x6952e9=0x0;_0x6952e9<_0x5a308e[_0x12405f(0x185)];_0x6952e9++){for(let _0x43b813=0x0;_0x43b813<_0x5a308e[_0x6952e9][_0x12405f(0x1e7)][_0x12405f(0x185)];_0x43b813++){const _0x57e0c4=_0x5a308e[_0x6952e9][_0x12405f(0x1e7)][_0x43b813];if(!_0x1d5cc3[_0x12405f(0x109)](_0x57e0c4))continue;const {group:_0x3a5a4c,type:_0x464dbe,authorId:_0x43cb2f}=_0x225830(_0x57e0c4);_0x12405f(0xc4)!=_0x3a5a4c||_0x12405f(0xcb)!=_0x464dbe&&_0x12405f(0xc5)!=_0x464dbe||(_0x1665c4[_0x12405f(0xbe)]({'type':_0x464dbe,'name':_0x57e0c4,'userId':_0x43cb2f}),_0x5a308e[_0x6952e9][_0x12405f(0x1e7)][_0x12405f(0x1a8)](_0x43b813,0x1),_0x43b813--);}_0x22db37(_0x5a308e[_0x6952e9]);for(let _0x1eebd5=0x0;_0x1eebd5<_0x5a308e[_0x6952e9][_0x12405f(0xbc)][_0x12405f(0x185)];_0x1eebd5++){const _0x2bf3bc=_0x5a308e[_0x6952e9][_0x12405f(0xbc)][_0x1eebd5];if(!_0x1d5cc3[_0x12405f(0x109)](_0x2bf3bc))continue;const {group:_0x43a267,type:_0x584213}=_0x225830(_0x2bf3bc);if(_0x12405f(0xc4)!=_0x43a267||_0x12405f(0xcb)!=_0x584213&&_0x12405f(0xc5)!=_0x584213)continue;_0x5a308e[_0x6952e9][_0x12405f(0xbc)][_0x12405f(0x1a8)](_0x1eebd5,0x1),_0x1eebd5--;const _0xc6f22e=_0x1665c4[_0x12405f(0x1c7)](_0x52805e=>_0x52805e[_0x12405f(0xf1)]==_0x2bf3bc);_0xc6f22e>-0x1&&_0x1665c4[_0x12405f(0x1a8)](_0xc6f22e,0x1);}}function _0x225830(_0x30b67f){const _0x5ee9df=_0x12405f,_0x1f1455=_0x30b67f[_0x5ee9df(0xcf)](':');return{'group':_0x1f1455[0x0],'type':_0x1f1455[0x1],'subType':_0x1f1455[_0x5ee9df(0x185)]>=0x5?_0x1f1455[0x2]:null,'id':_0x1f1455[_0x5ee9df(0x185)]<0x5?_0x1f1455[0x2]:_0x1f1455[0x3],'authorId':_0x1f1455[_0x5ee9df(0x185)]<0x5?_0x1f1455[0x3]:_0x1f1455[0x4],'markerCount':0x6==_0x1f1455[_0x5ee9df(0x185)]?_0x1f1455[0x5]:null};}function _0x22db37(_0x19b47b){const _0x240a29=_0x12405f;for(let _0x57d548=0x0;_0x57d548<_0x1665c4[_0x240a29(0x185)];_0x57d548++){if(_0x19b47b[_0x240a29(0xa8)]&&_0x240a29(0xcb)==_0x1665c4[_0x57d548][_0x240a29(0xc7)]&&_0x19b47b[_0x240a29(0xa8)][_0x240a29(0x1e5)]==_0x1665c4[_0x57d548][_0x240a29(0x1e5)])return _0x19b47b[_0x240a29(0x18e)]=_0x1665c4[_0x57d548],void delete _0x19b47b[_0x240a29(0xa8)];if(!_0x19b47b[_0x240a29(0xa8)]&&!_0x19b47b[_0x240a29(0x127)]&&_0x240a29(0xc5)==_0x1665c4[_0x57d548][_0x240a29(0xc7)])return void(_0x19b47b[_0x240a29(0x1d7)]=_0x1665c4[_0x57d548]);}}}[_0x4f3880(0x18a)](_0xc1ad1d,_0x598d22){const _0x2ab909=_0x4f3880;let _0x368742=0x0,_0x5e03b6=!0x1;const _0x4ab4c3=new Map();for(const _0x157248 of _0xc1ad1d)_0x157248[_0x598d22]?_0x5e03b6&&(_0x368742++,_0x5e03b6=!0x1):(_0x368742++,_0x5e03b6=!0x0),_0x4ab4c3[_0x2ab909(0x172)](_0x157248['id'],_0x368742);for(let _0x378725=0x0;_0x378725<_0xc1ad1d[_0x2ab909(0x185)];_0x378725++){if(_0x2ab909(0x127)==_0x598d22&&_0xc1ad1d[_0x378725][_0x2ab909(0xa8)]||_0x2ab909(0xa8)==_0x598d22&&_0xc1ad1d[_0x378725][_0x2ab909(0x127)])continue;if(_0x2ab909(0x130)==_0xc1ad1d[_0x378725][_0x2ab909(0xc7)]){_0xc1ad1d[_0x378725][_0x2ab909(0x1d2)]=0x0;continue;}const _0x72f18=_0x4ab4c3[_0x2ab909(0xb1)](_0xc1ad1d[_0x378725][_0x2ab909(0x1c4)]),_0x4b95dd=_0x4ab4c3[_0x2ab909(0xb1)](_0xc1ad1d[_0x378725]['id']);_0xc1ad1d[_0x378725][_0x2ab909(0x1d2)]=_0x72f18-_0x4b95dd;}}[_0x4f3880(0x135)](_0x5bd2fe,_0x3da882,_0x82b73b=!0x1){const _0x2ccdc9=_0x4f3880,_0x223de6=[];let _0x2bc343=this[_0x2ccdc9(0x11d)][_0x2ccdc9(0x1a3)](_0x5bd2fe),_0x5f2da8=this[_0x2ccdc9(0x11d)][_0x2ccdc9(0x1a3)](_0x3da882);for(-0x1==_0x5f2da8&&(_0x5f2da8=this[_0x2ccdc9(0x11d)][_0x2ccdc9(0x187)][_0x2ccdc9(0x185)],_0x82b73b=!0x1);_0x2bc343<_0x5f2da8;)_0x223de6[_0x2ccdc9(0xdc)](this[_0x2ccdc9(0x11d)][_0x2ccdc9(0x1a7)](_0x2bc343)),_0x2bc343++;return _0x82b73b&&_0x223de6[_0x2ccdc9(0xdc)](this[_0x2ccdc9(0x11d)][_0x2ccdc9(0x1a7)](_0x2bc343)),_0x223de6;}[_0x4f3880(0x17c)](_0x161465,_0x1affd4,_0x999967,_0x3d6f8b){const _0x2b6444=_0x4f3880,_0x41ce07=this[_0x2b6444(0x1bc)][_0x2b6444(0x18d)][_0x2b6444(0xf6)];let _0x4a66d1=_0x1affd4;for(;_0x161465[_0x4a66d1]&&_0x161465[_0x4a66d1][_0x2b6444(0xa8)];)_0x4a66d1++;let _0x4b47dd=_0x3d6f8b;for(;_0x999967[_0x4b47dd]&&_0x999967[_0x4b47dd][_0x2b6444(0x127)];)_0x4b47dd++;_0xa6251c(_0x161465,_0x1affd4,_0x4a66d1),_0xa6251c(_0x999967,_0x3d6f8b,_0x4b47dd);const _0x600bde=_0x999967[_0x2b6444(0x181)](_0x3d6f8b,_0x4b47dd)[_0x2b6444(0x1ab)](_0x161465[_0x2b6444(0x181)](_0x1affd4,_0x4a66d1));return _0x600bde[_0x2b6444(0x1de)]((_0x21a916,_0x191477)=>_0x21a916[_0x2b6444(0x182)]!=_0x191477[_0x2b6444(0x182)]?_0x21a916[_0x2b6444(0x182)]-_0x191477[_0x2b6444(0x182)]:_0x21a916[_0x2b6444(0x114)]!=_0x191477[_0x2b6444(0x114)]?_0x21a916[_0x2b6444(0x114)]-_0x191477[_0x2b6444(0x114)]:_0x21a916[_0x2b6444(0x1d2)]!=_0x191477[_0x2b6444(0x1d2)]?_0x191477[_0x2b6444(0x1d2)]-_0x21a916[_0x2b6444(0x1d2)]:!!_0x21a916[_0x2b6444(0xa8)]!=!!_0x191477[_0x2b6444(0xa8)]?-0x1==_0x21a916[_0x2b6444(0x182)]||0x0==_0x21a916[_0x2b6444(0x182)]?_0x21a916[_0x2b6444(0xa8)]?-0x1:0x1:_0x21a916[_0x2b6444(0xa8)]?0x1:-0x1:_0x21a916[_0x2b6444(0x1e4)]-_0x191477[_0x2b6444(0x1e4)]),{'commonTape':_0x600bde,'iEnd':_0x4a66d1,'jEnd':_0x4b47dd};function _0xa6251c(_0x446e12,_0xcad615,_0x5ed35d){const _0x1e3ea1=_0x2b6444;let _0x20c300=-0x1,_0x535852=Number[_0x1e3ea1(0x1c9)],_0x523005=!0x0;for(let _0x44b632=_0xcad615;_0x44b632<_0x5ed35d;_0x44b632++)if(_0x41ce07[_0x1e3ea1(0x1b3)](_0x446e12[_0x44b632][_0x1e3ea1(0x163)])||(_0x523005=!0x1),_0x446e12[_0x44b632][_0x1e3ea1(0x163)][_0x1e3ea1(0x183)]<_0xcad615&&(_0x20c300=_0x44b632),_0x446e12[_0x44b632][_0x1e3ea1(0x163)][_0x1e3ea1(0x1df)]>=_0x5ed35d){_0x535852=_0x44b632;break;}_0x523005&&(_0x20c300=_0x5ed35d-0x1);for(let _0x37a6b3=_0xcad615;_0x37a6b3<_0x5ed35d;_0x37a6b3++)_0x446e12[_0x37a6b3][_0x1e3ea1(0x182)]=_0x37a6b3<=_0x20c300?-0x1:_0x37a6b3<_0x535852?0x0:0x1,_0x446e12[_0x37a6b3][_0x1e3ea1(0x1e4)]=_0x37a6b3;let _0x132a2a=0x0;for(let _0x4ad40d=_0xcad615;_0x4ad40d<=_0x20c300;_0x4ad40d++)0x0==_0x446e12[_0x4ad40d][_0x1e3ea1(0x1d2)]?_0x446e12[_0x4ad40d][_0x1e3ea1(0x114)]=_0x132a2a:(_0x132a2a++,_0x446e12[_0x4ad40d][_0x1e3ea1(0x114)]=_0x132a2a,_0x132a2a++);for(let _0x38aac4=_0xcad615;_0x38aac4<_0x5ed35d;_0x38aac4++)0x0==_0x446e12[_0x38aac4][_0x1e3ea1(0x182)]&&(_0x446e12[_0x38aac4][_0x1e3ea1(0x114)]=_0x132a2a);_0x132a2a=0x0;for(let _0x24235c=_0x5ed35d-0x1;_0x24235c>=_0x535852;_0x24235c--)0x0==_0x446e12[_0x24235c][_0x1e3ea1(0x1d2)]?_0x446e12[_0x24235c][_0x1e3ea1(0x114)]=_0x132a2a:(_0x132a2a--,_0x446e12[_0x24235c][_0x1e3ea1(0x114)]=_0x132a2a,_0x132a2a--);}}[_0x4f3880(0xad)](_0x5362f6){const _0x6836a3=_0x4f3880,_0x570785=new Map(),_0x10758d=this[_0x6836a3(0x1bc)][_0x6836a3(0x18d)][_0x6836a3(0xf6)];for(let _0x2531e6=0x1;_0x2531e6<_0x5362f6[_0x6836a3(0x185)];_0x2531e6++){let _0x53b447,_0x5b3909,_0x57b9e8;const _0x417636=_0x5362f6[_0x2531e6],_0x44ce68=_0x5362f6[_0x2531e6-0x1];if(_0x6836a3(0x130)==_0x417636[_0x6836a3(0xc7)])continue;if(_0x417636[_0x6836a3(0xc7)]!=_0x44ce68[_0x6836a3(0xc7)])continue;if(!_0x10758d[_0x6836a3(0x1e3)](_0x44ce68[_0x6836a3(0x163)])||_0x10758d[_0x6836a3(0x107)](_0x44ce68[_0x6836a3(0x163)]))continue;if(!_0x10758d[_0x6836a3(0x1e3)](_0x417636[_0x6836a3(0x163)])||_0x10758d[_0x6836a3(0x107)](_0x417636[_0x6836a3(0x163)]))continue;if((_0x5362f6[_0x2531e6][_0x6836a3(0xa8)]||_0x5362f6[_0x2531e6][_0x6836a3(0x18e)])&&_0x5362f6[_0x2531e6-0x1][_0x6836a3(0x127)])_0x53b447=_0x5362f6[_0x2531e6],_0x5b3909=_0x5362f6[_0x2531e6-0x1],_0x57b9e8=_0x2531e6-0x1;else{if(!_0x5362f6[_0x2531e6][_0x6836a3(0x127)]||!_0x5362f6[_0x2531e6-0x1][_0x6836a3(0xa8)]&&!_0x5362f6[_0x2531e6-0x1][_0x6836a3(0x18e)])continue;_0x53b447=_0x5362f6[_0x2531e6-0x1],_0x5b3909=_0x5362f6[_0x2531e6],_0x57b9e8=_0x2531e6;}const _0x531485=_0x53b447[_0x6836a3(0x114)]==_0x5b3909[_0x6836a3(0x114)],_0x5d9ae2=Math[_0x6836a3(0x1e6)](_0x53b447[_0x6836a3(0x114)])<Math[_0x6836a3(0x1e6)](_0x5b3909[_0x6836a3(0x114)])&&0x0==_0x5b3909[_0x6836a3(0x1d2)];(_0x531485||_0x5d9ae2)&&(_0x570785[_0x6836a3(0x172)](_0x5b3909['id'],_0x53b447['id']),_0x5362f6[_0x6836a3(0x1a8)](_0x57b9e8,0x1),_0x2531e6--,_0x53b447[_0x6836a3(0xa8)]=!0x1);}for(let _0x4e20a5=0x0;_0x4e20a5<_0x5362f6[_0x6836a3(0x185)];_0x4e20a5++)_0x570785[_0x6836a3(0x109)](_0x5362f6[_0x4e20a5][_0x6836a3(0x1c4)])&&(_0x5362f6[_0x4e20a5][_0x6836a3(0x1c4)]=_0x570785[_0x6836a3(0xb1)](_0x5362f6[_0x4e20a5][_0x6836a3(0x1c4)]));}[_0x4f3880(0x174)](_0x5e15d6){const _0x33984f=_0x4f3880,_0x312106=new Set(_0x5e15d6[_0x33984f(0x178)](_0x1fc7ba=>_0x1fc7ba['id']));for(let _0x419447=0x0;_0x419447<_0x5e15d6[_0x33984f(0x185)];_0x419447++)_0x312106[_0x33984f(0x109)](_0x5e15d6[_0x419447][_0x33984f(0x1c4)])||0x0==_0x5e15d6[_0x419447][_0x33984f(0x1d2)]||(_0x5e15d6[_0x419447][_0x33984f(0x177)]=!0x0);return _0x5e15d6[_0x33984f(0x176)](_0x1d5e48=>!_0x1d5e48[_0x33984f(0x177)]);}[_0x4f3880(0x14e)](_0x4c6f56){const _0x4588c2=_0x4f3880,_0x2fb6fc=new Set();for(let _0x6ab099=0x0;_0x6ab099<_0x4c6f56[_0x4588c2(0x185)];_0x6ab099++){if(_0x2fb6fc[_0x4588c2(0x109)](_0x4c6f56[_0x6ab099]['id'])&&_0x4c6f56[_0x6ab099][_0x4588c2(0x127)]&&(_0x4c6f56[_0x6ab099][_0x4588c2(0x177)]=!0x0),_0x4c6f56[_0x6ab099][_0x4588c2(0x177)])continue;if(0x0==_0x4c6f56[_0x6ab099][_0x4588c2(0x1d2)])continue;if(_0x4588c2(0x1aa)!=_0x4c6f56[_0x6ab099][_0x4588c2(0xc7)])continue;if(null==_0x4c6f56[_0x6ab099][_0x4588c2(0x1c4)])continue;let _0x45621b=_0x6ab099+0x1,_0x3db81a=0x0;for(;_0x4c6f56[_0x45621b]['id']!=_0x4c6f56[_0x6ab099][_0x4588c2(0x1c4)];)_0x4588c2(0x1aa)==_0x4c6f56[_0x45621b][_0x4588c2(0xc7)]?_0x3db81a++:_0x4588c2(0xe9)==_0x4c6f56[_0x45621b][_0x4588c2(0xc7)]&&_0x3db81a--,_0x45621b++;if(0x0!=_0x3db81a){if(_0x4c6f56[_0x6ab099][_0x4588c2(0x127)])_0x4c6f56[_0x6ab099][_0x4588c2(0x177)]=!0x0;else{for(;_0x45621b!=_0x6ab099;)_0x4c6f56[_0x45621b][_0x4588c2(0x127)]&&0x0!=_0x4c6f56[_0x45621b][_0x4588c2(0x1d2)]&&(_0x4c6f56[_0x45621b][_0x4588c2(0x177)]=!0x0,_0x2fb6fc[_0x4588c2(0xd7)](_0x4c6f56[_0x45621b][_0x4588c2(0x1c4)])),_0x45621b--;}}}return _0x4c6f56[_0x4588c2(0x176)](_0x5ea8d8=>!_0x5ea8d8[_0x4588c2(0x177)]);}[_0x4f3880(0x10f)](_0x55b0b5){const _0x255ea6=_0x4f3880,_0x2c1272=this[_0x255ea6(0x1bc)][_0x255ea6(0x18d)][_0x255ea6(0xf6)];for(let _0x248744=0x0;_0x248744<_0x55b0b5[_0x255ea6(0x185)];_0x248744++){if(!(_0x55b0b5[_0x248744][_0x255ea6(0xa8)]||_0x55b0b5[_0x248744][_0x255ea6(0x18e)]||_0x55b0b5[_0x248744][_0x255ea6(0x127)]||_0x55b0b5[_0x248744][_0x255ea6(0x1d7)]))continue;if(0x0==_0x55b0b5[_0x248744][_0x255ea6(0x1d2)])continue;const _0x939d8f=_0x55b0b5[_0x248744][_0x255ea6(0x163)];_0x2c1272[_0x255ea6(0x1e3)](_0x939d8f)||_0x2c1272[_0x255ea6(0x107)](_0x939d8f)||(_0x55b0b5[_0x248744][_0x255ea6(0xa8)]&&delete _0x55b0b5[_0x248744][_0x255ea6(0xa8)],_0x55b0b5[_0x248744][_0x255ea6(0x18e)]&&delete _0x55b0b5[_0x248744][_0x255ea6(0x18e)],_0x55b0b5[_0x248744][_0x255ea6(0x1d7)]&&delete _0x55b0b5[_0x248744][_0x255ea6(0x1d7)],_0x55b0b5[_0x248744][_0x255ea6(0x127)]&&(_0x55b0b5[_0x248744][_0x255ea6(0x177)]=!0x0));}return _0x55b0b5[_0x255ea6(0x176)](_0x212166=>!_0x212166[_0x255ea6(0x177)]);}[_0x4f3880(0xdd)](_0x43e7f9,_0x442d8b,_0x4d0154){const _0x18bd02=_0x4f3880,_0x2106f9=new _0x171e52(),_0x597311=[],_0x5f1db9=new Map(),_0x17b3e8=this[_0x18bd02(0x1bc)][_0x18bd02(0x18d)],_0x29825f=_0x17b3e8[_0x18bd02(0xf6)],_0x5c09ae=[_0x2106f9],_0x5b88da={},_0x335606={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3ac9c3=null;const _0x4ed8cc=[0x0];for(let _0x27bbbc=0x0;_0x27bbbc<_0x43e7f9[_0x18bd02(0x185)];_0x27bbbc++)if(_0x18bd02(0x1aa)===_0x43e7f9[_0x27bbbc][_0x18bd02(0xc7)]){_0x43e7f9[_0x27bbbc][_0x18bd02(0x120)]=_0x17b3e8[_0x18bd02(0x10d)](_0x2106f9,_0x4ed8cc);const _0x579eb9=new _0x3de921(_0x43e7f9[_0x27bbbc][_0x18bd02(0x163)][_0x18bd02(0xf1)],_0x43e7f9[_0x27bbbc][_0x18bd02(0x163)][_0x18bd02(0x19e)]());_0x5c09ae[0x0][_0x18bd02(0xb9)](_0x579eb9),_0x4ed8cc[_0x18bd02(0xdc)](0x0),_0x5c09ae[_0x18bd02(0xbe)](_0x579eb9),_0x43e7f9[_0x27bbbc][_0x18bd02(0x133)]=_0x17b3e8[_0x18bd02(0x10d)](_0x2106f9,_0x4ed8cc);}else _0x18bd02(0xe9)===_0x43e7f9[_0x27bbbc][_0x18bd02(0xc7)]?(_0x5c09ae[_0x18bd02(0x103)](),_0x43e7f9[_0x27bbbc][_0x18bd02(0x120)]=_0x17b3e8[_0x18bd02(0x10d)](_0x2106f9,_0x4ed8cc),_0x4ed8cc[_0x18bd02(0x171)](),_0x4ed8cc[_0x4ed8cc[_0x18bd02(0x185)]-0x1]++,_0x43e7f9[_0x27bbbc][_0x18bd02(0x133)]=_0x17b3e8[_0x18bd02(0x10d)](_0x2106f9,_0x4ed8cc)):(_0x43e7f9[_0x27bbbc][_0x18bd02(0x120)]=_0x17b3e8[_0x18bd02(0x10d)](_0x2106f9,_0x4ed8cc),_0x3ac9c3?_0x3ac9c3[_0x18bd02(0x13b)]+=_0x43e7f9[_0x27bbbc][_0x18bd02(0x163)][_0x18bd02(0x1ba)]:_0x3ac9c3=new _0x1abc7c(_0x43e7f9[_0x27bbbc][_0x18bd02(0x163)][_0x18bd02(0x1ba)],_0x43e7f9[_0x27bbbc][_0x18bd02(0x163)][_0x18bd02(0x19e)]()),_0x43e7f9[_0x27bbbc+0x1]&&_0x18bd02(0x130)===_0x43e7f9[_0x27bbbc+0x1][_0x18bd02(0xc7)]&&_0x12d852(_0x3ac9c3,_0x43e7f9[_0x27bbbc+0x1][_0x18bd02(0x163)])||(_0x5c09ae[0x0][_0x18bd02(0xb9)](_0x3ac9c3),_0x3ac9c3=null),_0x4ed8cc[_0x4ed8cc[_0x18bd02(0x185)]-0x1]+=_0x43e7f9[_0x27bbbc][_0x18bd02(0x163)][_0x18bd02(0x1bf)],_0x43e7f9[_0x27bbbc][_0x18bd02(0x133)]=_0x17b3e8[_0x18bd02(0x10d)](_0x2106f9,_0x4ed8cc));for(let _0x5671f1=0x0;_0x5671f1<_0x43e7f9[_0x18bd02(0x185)];_0x5671f1++){const _0x30ebf4=_0x43e7f9[_0x5671f1][_0x18bd02(0x120)],_0x27b19c=_0x43e7f9[_0x5671f1][_0x18bd02(0x133)];for(const _0x332aba of _0x43e7f9[_0x5671f1][_0x18bd02(0x1e7)])_0x5f1db9[_0x18bd02(0x172)](_0x332aba,{'start':_0x30ebf4,'end':null});_0x44a179(_0x18bd02(0x1d7),_0x5671f1,_0x30ebf4,_0x27b19c),_0x44a179(_0x18bd02(0x18e),_0x5671f1,_0x30ebf4,_0x27b19c),_0x44a179(_0x18bd02(0x127),_0x5671f1,_0x30ebf4,_0x27b19c),_0x44a179(_0x18bd02(0xa8),_0x5671f1,_0x30ebf4,_0x27b19c);for(const _0x157537 of _0x43e7f9[_0x5671f1][_0x18bd02(0xbc)]){const _0x1e831a=_0x5f1db9[_0x18bd02(0xb1)](_0x157537);_0x1e831a?_0x1e831a[_0x18bd02(0xef)]=_0x27b19c:_0x5f1db9[_0x18bd02(0x172)](_0x157537,{'start':_0x27b19c,'end':_0x27b19c});}}for(const [_0x37efa9,_0x22da28]of _0x5f1db9){const _0x1a36a7=this[_0x18bd02(0x1bc)][_0x18bd02(0x18d)][_0x18bd02(0xd1)](_0x22da28[_0x18bd02(0x100)],_0x22da28[_0x18bd02(0xef)]);_0x2106f9[_0x18bd02(0x1cb)][_0x18bd02(0x172)](_0x37efa9,_0x1a36a7);}return _0x597311[_0x18bd02(0x1de)]((_0x51d452,_0x23a5e0)=>{const _0x5c7ae5=_0x18bd02,_0x246d29=_0x2106f9[_0x5c7ae5(0x1cb)][_0x5c7ae5(0xb1)](_0x5c7ae5(0x142)+_0x51d452['id']),_0xcca8af=_0x2106f9[_0x5c7ae5(0x1cb)][_0x5c7ae5(0xb1)](_0x5c7ae5(0x142)+_0x23a5e0['id']);return _0x246d29[_0x5c7ae5(0x100)][_0x5c7ae5(0x122)](_0xcca8af[_0x5c7ae5(0x100)])?-0x1:_0x246d29[_0x5c7ae5(0x100)][_0x5c7ae5(0x156)](_0xcca8af[_0x5c7ae5(0x100)])?0x1:_0x246d29[_0x5c7ae5(0xef)][_0x5c7ae5(0x122)](_0xcca8af[_0x5c7ae5(0xef)])?-0x1:_0x246d29[_0x5c7ae5(0xef)][_0x5c7ae5(0x156)](_0xcca8af[_0x5c7ae5(0xef)])?0x1:_0x5c7ae5(0xd7)===_0x51d452[_0x5c7ae5(0xc7)]?-0x1:0x1;}),{'root':_0x2106f9,'changes':_0x597311};function _0x44a179(_0x37ebd2,_0x527e4f,_0x2fc918,_0x3b04aa){const _0x50220e=_0x18bd02,_0x1c5c0b=!!_0x43e7f9[_0x527e4f][_0x37ebd2],_0x180e97=_0x1c5c0b?_0x43e7f9[_0x527e4f][_0x37ebd2][_0x50220e(0x1e5)]:null,_0x2cecf6=_0x527e4f===_0x43e7f9[_0x50220e(0x185)]-0x1,_0x16b5f0=_0x335606[_0x37ebd2][0x0],_0x59a13a=_0x29825f[_0x50220e(0x14a)](_0x43e7f9[_0x527e4f][_0x50220e(0x163)]);!_0x5b88da[_0x37ebd2]&&_0x1c5c0b?_0x5b88da[_0x37ebd2]={'start':_0x2fc918,'tapeItem':_0x43e7f9[_0x527e4f],'userId':_0x180e97,'type':_0x37ebd2}:_0x5b88da[_0x37ebd2]&&!_0x1c5c0b?(_0x5b88da[_0x37ebd2][_0x50220e(0xef)]=_0x2fc918,_0x2b3525(_0x5b88da[_0x37ebd2]),_0x5b88da[_0x37ebd2]=null):_0x5b88da[_0x37ebd2]&&_0x1c5c0b&&_0x5b88da[_0x37ebd2][_0x50220e(0x1e5)]!==_0x180e97&&(_0x5b88da[_0x37ebd2][_0x50220e(0xef)]=_0x2fc918,_0x16b5f0&&_0x16b5f0[_0x50220e(0x1e5)]===_0x5b88da[_0x37ebd2][_0x50220e(0x1e5)]||_0x2b3525(_0x5b88da[_0x37ebd2]),_0x5b88da[_0x37ebd2]={'start':_0x2fc918,'tapeItem':_0x43e7f9[_0x527e4f],'userId':_0x180e97,'type':_0x37ebd2}),_0x5b88da[_0x37ebd2]&&_0x59a13a&&(_0x50220e(0x1aa)!==_0x43e7f9[_0x527e4f][_0x50220e(0xc7)]||_0x16b5f0&&_0x16b5f0[_0x50220e(0x1e5)]===_0x180e97||_0x335606[_0x37ebd2][_0x50220e(0xbe)]({'userId':_0x180e97,'object':_0x43e7f9[_0x527e4f][_0x50220e(0x163)],'change':_0x5b88da[_0x37ebd2]}),_0x50220e(0xe9)===_0x43e7f9[_0x527e4f][_0x50220e(0xc7)]&&_0x16b5f0&&_0x16b5f0[_0x50220e(0xb6)]===_0x43e7f9[_0x527e4f][_0x50220e(0x163)]&&(_0x335606[_0x37ebd2][_0x50220e(0x103)](),_0x5b88da[_0x37ebd2]=_0x16b5f0[_0x50220e(0x1b9)])),_0x5b88da[_0x37ebd2]&&_0x2cecf6&&(_0x5b88da[_0x37ebd2][_0x50220e(0xef)]=_0x3b04aa,_0x2b3525(_0x5b88da[_0x37ebd2]),_0x5b88da[_0x37ebd2]=null);}function _0x2b3525({start:_0x427585,end:_0x2985e0,tapeItem:_0x167de0,userId:_0xeefe50,type:_0x44c683}){const _0x44a9a8=_0x18bd02,_0x48f49f=_0x167de0[_0x44a9a8(0x163)],_0x5bddad=_0x17b3e8[_0x44a9a8(0xf6)][_0x44a9a8(0x1e3)](_0x48f49f)&&!_0x17b3e8[_0x44a9a8(0xf6)][_0x44a9a8(0x107)](_0x48f49f),_0x4a4219=_0x427585[_0x44a9a8(0x194)]==_0x2985e0[_0x44a9a8(0x1e2)]&&_0x2985e0[_0x44a9a8(0x111)];if(_0x5bddad&&_0x4a4219)return;const _0x41c2a1=_0x17b3e8[_0x44a9a8(0xd1)](_0x427585,_0x2985e0),_0x532f88=_0x442d8b[_0x44a9a8(0xb1)](_0xeefe50),_0x49b88b=new _0x5a9cef({'author':_0x532f88,'type':_0x44a9a8(0xa8)==_0x44c683||_0x44a9a8(0x18e)==_0x44c683?_0x44a9a8(0xd7):_0x44a9a8(0x1ae),'data':{'isSuggestion':_0x44a9a8(0x18e)==_0x44c683||_0x44a9a8(0x1d7)==_0x44c683},'createdAt':new Date(),'rootName':_0x4d0154});_0x597311[_0x44a9a8(0xdc)](_0x49b88b),_0x2106f9[_0x44a9a8(0x1cb)][_0x44a9a8(0x172)](_0x44a9a8(0x142)+_0x49b88b['id'],_0x41c2a1);}function _0x12d852(_0x159151,_0x2d81ac){const _0x9ace91=_0x18bd02,_0x2b7db8=_0x159151[_0x9ace91(0x19e)](),_0x33af25=_0x2d81ac[_0x9ace91(0x19e)]();for(const _0x28ee95 of _0x2b7db8){if(_0x28ee95[0x1]!==_0x2d81ac[_0x9ace91(0x16b)](_0x28ee95[0x0]))return!0x1;_0x33af25[_0x9ace91(0x191)]();}return _0x33af25[_0x9ace91(0x191)]()[_0x9ace91(0x14b)];}}[_0x4f3880(0x1e8)](){const _0x4196d6=_0x4f3880;this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0xfe))[_0x4196d6(0x18f)]({'view':_0x4196d6(0x1b8)}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0x119))[_0x4196d6(0xbf)]({'model':_0x4196d6(0x1b8),'view':_0x46d7aa=>{const _0x5196ce=_0x4196d6,_0x5433b4=_0x46d7aa[_0x5196ce(0x1b7)][_0x5196ce(0xcf)](':')[0x1],_0x2ee2a6=this[_0x5196ce(0xfb)](_0x5433b4);if(!_0x2ee2a6)return null;const _0x2fbeb0=_0x5196ce(0xd7)==_0x2ee2a6[_0x5196ce(0xc7)]?_0x5196ce(0xcb):_0x5196ce(0xc5),_0x55408b=[_0x5196ce(0x165),_0x5196ce(0xc1)+_0x2fbeb0];return _0x2ee2a6[_0x5196ce(0x1ba)][_0x5196ce(0x1bd)]&&_0x55408b[_0x5196ce(0xdc)](_0x5196ce(0xc1)+_0x2fbeb0+_0x5196ce(0xc8)),this[_0x5196ce(0x157)]==_0x2ee2a6&&_0x55408b[_0x5196ce(0xdc)](_0x5196ce(0x125)),{'classes':_0x55408b,'attributes':{'data-change-id':_0x5433b4}};}}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0xfe))[_0x4196d6(0xd7)](_0x11645d=>{const _0x122f8e=_0x4196d6;_0x11645d['on'](_0x122f8e(0x189),(_0xed7be5,_0x29a651,_0x84e38)=>{const _0x4f8a20=_0x122f8e,_0xa34483=_0x29a651[_0x4f8a20(0x117)][_0x4f8a20(0x166)](0x0);if(!_0xa34483||!_0xa34483['is'](_0x4f8a20(0x1cf),_0x4f8a20(0x1d9)))return;if(!_0x84e38[_0x4f8a20(0x136)][_0x4f8a20(0x161)](_0xa34483,{'attributes':[_0x4f8a20(0x175),_0x4f8a20(0x15d)]}))return;const _0x4c776d=_0x29a651[_0x4f8a20(0x17a)][_0x4f8a20(0x100)][_0x4f8a20(0x194)];_0x84e38[_0x4f8a20(0x19d)][_0x4f8a20(0xc2)](_0x4f8a20(0x175),_0xa34483[_0x4f8a20(0x16b)](_0x4f8a20(0x175)),_0x4c776d),_0x84e38[_0x4f8a20(0x19d)][_0x4f8a20(0xc2)](_0x4f8a20(0x15d),_0xa34483[_0x4f8a20(0x16b)](_0x4f8a20(0x15d)),_0x4c776d);},{'priority':_0x122f8e(0x11c)});}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0xfe))[_0x4196d6(0xd7)](_0x375495=>{const _0x556e27=_0x4196d6;_0x375495['on'](_0x556e27(0x1cf),(_0x20883b,_0x2ce811,_0x7ed409)=>{const _0x5579de=_0x556e27;if(!_0x7ed409[_0x5579de(0x136)][_0x5579de(0x161)](_0x2ce811[_0x5579de(0x117)],{'attributes':[_0x5579de(0x175),_0x5579de(0x15d)]}))return;if(_0x2ce811[_0x5579de(0x17a)][_0x5579de(0x1e0)])return;const _0x1e37a1=_0x2ce811[_0x5579de(0x17a)][_0x5579de(0x100)][_0x5579de(0x194)];_0x1e37a1[_0x5579de(0xf5)](_0x5579de(0x175))||_0x1e37a1[_0x5579de(0xf5)](_0x5579de(0x151))||(_0x7ed409[_0x5579de(0x19d)][_0x5579de(0xc2)](_0x5579de(0x175),_0x2ce811[_0x5579de(0x117)][_0x5579de(0x16b)](_0x5579de(0x175)),_0x1e37a1),_0x7ed409[_0x5579de(0x19d)][_0x5579de(0xc2)](_0x5579de(0x15d),_0x2ce811[_0x5579de(0x117)][_0x5579de(0x16b)](_0x5579de(0x15d)),_0x1e37a1));},{'priority':_0x556e27(0x11c)});}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0xfe))[_0x4196d6(0xc3)]({'view':{'name':_0x4196d6(0xea),'attributes':{'vid':!0x0}},'model':{'key':_0x4196d6(0x151),'value':_0x2a5238=>_0x2a5238[_0x4196d6(0x16b)](_0x4196d6(0x151))}}),this[_0x4196d6(0x1bc)][_0x4196d6(0x18d)][_0x4196d6(0xf6)]['on'](_0x4196d6(0x14c),(_0x141a90,[,_0x7ecaaa])=>{const _0x4d5b5e=_0x4196d6;[_0x4d5b5e(0x175),_0x4d5b5e(0x15d),_0x4d5b5e(0x151)][_0x4d5b5e(0x15f)](_0x7ecaaa)&&(_0x141a90[_0x4d5b5e(0x121)]=!0x0,_0x141a90[_0x4d5b5e(0x150)]());},{'priority':_0x4196d6(0xec)}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0x1dd))[_0x4196d6(0xd7)](_0x2ff752=>{const _0x499646=_0x4196d6;_0x2ff752['on'](_0x499646(0x15c),(_0x155212,_0x41e71d,_0x21b1e0)=>{const _0x220a3a=_0x499646;if('\x20'!=_0x41e71d[_0x220a3a(0x163)][_0x220a3a(0x1ba)]||_0x41e71d[_0x220a3a(0x163)][_0x220a3a(0x1e2)][_0x220a3a(0xbd)]>0x1)return;if(!_0x21b1e0[_0x220a3a(0x136)][_0x220a3a(0x161)](_0x41e71d[_0x220a3a(0x163)],_0x155212[_0x220a3a(0xf1)]))return;const _0xebe270=_0x21b1e0[_0x220a3a(0x19d)],_0x40befa=_0x21b1e0[_0x220a3a(0xba)][_0x220a3a(0x15a)](_0x41e71d[_0x220a3a(0x143)]);_0xebe270[_0x220a3a(0x10e)](_0x40befa,_0xebe270[_0x220a3a(0x1a4)](_0x220a3a(0xea)));});}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0x1dd))[_0x4196d6(0xe8)]({'model':_0x4196d6(0x1b8)}),this[_0x4196d6(0x1bc)][_0x4196d6(0x131)][_0x4196d6(0x1b2)]['on'](_0x4196d6(0x126),function(_0x12d8a3){const _0x2faef5=_0x4196d6,_0xd933a9=_0x12d8a3[_0x2faef5(0x146)][_0x2faef5(0xb1)](_0x2faef5(0x196));return(_0x354a78,_0x48170f,_0x64c4b4)=>{const _0x47e2bd=_0x2faef5,_0x1987e9=_0x48170f[_0x47e2bd(0x1b7)][_0x47e2bd(0xcf)](':')[0x1],_0x22dba7=_0xd933a9[_0x47e2bd(0xfb)](_0x1987e9);if(!_0x22dba7)return null;const _0x28792a=_0x47e2bd(0xd7)==_0x22dba7[_0x47e2bd(0xc7)]?_0x47e2bd(0xcf):_0x47e2bd(0x149);if(!_0x64c4b4[_0x47e2bd(0x136)][_0x47e2bd(0xac)](_0x48170f[_0x47e2bd(0xe4)],_0x354a78[_0x47e2bd(0xf1)]))return;const _0x109052=_0x48170f[_0x47e2bd(0xe4)][_0x47e2bd(0x1b1)](),_0x21fcc4=_0x48170f[_0x47e2bd(0xe4)][_0x47e2bd(0x100)],_0x379576=_0x12d8a3[_0x47e2bd(0x18d)][_0x47e2bd(0xf6)];let _0x7136d6=null,_0x37937e=null,_0x52dd7f=!0x1,_0x3438e6=!0x1;for(const _0x458e4c of _0x109052){const _0x3aaa65=_0x458e4c[_0x47e2bd(0x163)];_0x52dd7f=_0x52dd7f||_0x379576[_0x47e2bd(0x112)](_0x3aaa65);const _0x303113=_0x64c4b4[_0x47e2bd(0xba)][_0x47e2bd(0xd9)](_0x3aaa65);if(_0x303113&&_0x303113[_0x47e2bd(0x180)](_0x47e2bd(0x1a1)))return;_0x47e2bd(0xe9)==_0x458e4c[_0x47e2bd(0xc7)]&&(_0x379576[_0x47e2bd(0x1e3)](_0x3aaa65)&&!_0x379576[_0x47e2bd(0x107)](_0x3aaa65)&&(_0x3aaa65[_0x47e2bd(0x1ac)]||_0x21fcc4[_0x47e2bd(0xfd)]?_0x7136d6&&_0x7136d6[_0x47e2bd(0x1e2)]==_0x3aaa65||(_0x7136d6=_0x3aaa65,_0x28c037(_0x458e4c[_0x47e2bd(0x120)]),_0x3438e6=!0x0):_0x37937e=_0x37937e||_0x458e4c[_0x47e2bd(0x120)]));}function _0x28c037(_0x537d1d){const _0x4cf2e6=_0x47e2bd,_0x4b9d8c=_0x64c4b4[_0x4cf2e6(0x19d)][_0x4cf2e6(0x129)](_0x4cf2e6(0xea),{'class':_0x4cf2e6(0xc1)+_0x28792a}),_0x24366e=_0x64c4b4[_0x4cf2e6(0xba)][_0x4cf2e6(0xaa)](_0x537d1d);_0x22dba7[_0x4cf2e6(0x1ba)][_0x4cf2e6(0x1bd)]&&_0x64c4b4[_0x4cf2e6(0x19d)][_0x4cf2e6(0xae)](_0x4cf2e6(0xc1)+_0x28792a+_0x4cf2e6(0xc8),_0x4b9d8c),_0xd933a9[_0x4cf2e6(0x157)]==_0x22dba7&&_0x64c4b4[_0x4cf2e6(0x19d)][_0x4cf2e6(0xae)](_0x4cf2e6(0x125),_0x4b9d8c),_0x64c4b4[_0x4cf2e6(0x19d)][_0x4cf2e6(0xc9)](_0x24366e,_0x4b9d8c),_0x64c4b4[_0x4cf2e6(0xba)][_0x4cf2e6(0x108)](_0x4b9d8c,_0x48170f[_0x4cf2e6(0x1b7)]);}_0x52dd7f||_0x3438e6||!_0x37937e||_0x28c037(_0x37937e);};}(this[_0x4196d6(0x1bc)]),{'priority':_0x4196d6(0x1db)}),this[_0x4196d6(0x1bc)][_0x4196d6(0x131)][_0x4196d6(0x1b2)]['on'](_0x4196d6(0x18c),(_0x3df25b,_0x49b9bd,_0x133ca0)=>{const _0x5d810e=_0x4196d6,_0x5cfe64=_0x133ca0[_0x5d810e(0xba)][_0x5d810e(0x1cc)](_0x49b9bd[_0x5d810e(0x1b7)]);if(_0x5cfe64){for(const _0x1b2ca5 of _0x5cfe64)(_0x1b2ca5[_0x5d810e(0xa5)](_0x5d810e(0x1ad))||_0x1b2ca5[_0x5d810e(0xa5)](_0x5d810e(0x10a)))&&(_0x133ca0[_0x5d810e(0xba)][_0x5d810e(0x13a)](_0x1b2ca5,_0x49b9bd[_0x5d810e(0x1b7)]),_0x133ca0[_0x5d810e(0x19d)][_0x5d810e(0x1ae)](_0x1b2ca5));}},{'priority':_0x4196d6(0x1db)}),this[_0x4196d6(0x1bc)][_0x4196d6(0x131)][_0x4196d6(0x1b2)]['on'](_0x4196d6(0x126),(_0x4ea33d,_0x2d3dd7,_0x3265a0)=>{const _0x584b33=_0x4196d6,_0x5dfe28=_0x2d3dd7[_0x584b33(0x1b7)][_0x584b33(0xcf)](':')[0x1],_0x1419ef=this[_0x584b33(0xfb)](_0x5dfe28);if(!_0x1419ef)return null;const _0x15ee8b=_0x584b33(0xd7)==_0x1419ef[_0x584b33(0xc7)]?_0x584b33(0xcf):_0x584b33(0x149);if(_0x3265a0[_0x584b33(0x136)][_0x584b33(0xac)](_0x2d3dd7[_0x584b33(0xe4)],_0x4ea33d[_0x584b33(0xf1)]))for(const _0x2dd5cf of _0x2d3dd7[_0x584b33(0xe4)][_0x584b33(0x10b)]()){if(!_0x2dd5cf['is'](_0x584b33(0x1cf),_0x584b33(0x13c)))continue;const _0x4d7b74=_0x3265a0[_0x584b33(0x19d)][_0x584b33(0x129)](_0x584b33(0xea),{'class':_0x584b33(0xc1)+_0x15ee8b}),_0x355224=_0x3265a0[_0x584b33(0xba)][_0x584b33(0xaa)](this[_0x584b33(0x1bc)][_0x584b33(0x18d)][_0x584b33(0x11a)](_0x2dd5cf));_0x1419ef[_0x584b33(0x1ba)][_0x584b33(0x1bd)]&&_0x3265a0[_0x584b33(0x19d)][_0x584b33(0xae)](_0x584b33(0xc1)+_0x15ee8b+_0x584b33(0xc8),_0x4d7b74),this[_0x584b33(0x157)]==_0x1419ef&&_0x3265a0[_0x584b33(0x19d)][_0x584b33(0xae)](_0x584b33(0x125),_0x4d7b74),_0x3265a0[_0x584b33(0x19d)][_0x584b33(0xc9)](_0x355224,_0x4d7b74),_0x3265a0[_0x584b33(0xba)][_0x584b33(0x108)](_0x4d7b74,_0x2d3dd7[_0x584b33(0x1b7)]);}},{'priority':_0x4196d6(0x1db)}),this[_0x4196d6(0x1bc)][_0x4196d6(0x18d)][_0x4196d6(0x132)]['on'](_0x4196d6(0x1b9),()=>{const _0x4a8609=_0x4196d6;this[_0x4a8609(0x1bc)][_0x4a8609(0x131)][_0x4a8609(0xd8)][_0x4a8609(0x1b9)](_0x3a12b4=>{const _0x556e61=_0x4a8609;for(const _0x3876d2 of this[_0x556e61(0x1bc)][_0x556e61(0x18d)][_0x556e61(0x132)][_0x556e61(0x139)]()){const _0x196e7b=this[_0x556e61(0x1bc)][_0x556e61(0x18d)][_0x556e61(0x132)][_0x556e61(0x1a2)](_0x3876d2),_0x720702=this[_0x556e61(0x1bc)][_0x556e61(0x131)][_0x556e61(0xd8)][_0x556e61(0x132)][_0x556e61(0x1a2)](_0x3876d2);if(_0x720702){const _0x562e2d=_0x196e7b[_0x556e61(0x16b)](_0x556e61(0xca));if(_0x3a12b4[_0x556e61(0x17b)](_0x556e61(0x188),_0x720702),_0x3a12b4[_0x556e61(0xdf)](_0x556e61(0xeb),_0x720702),_0x3a12b4[_0x556e61(0xdf)](_0x556e61(0x19b),_0x720702),_0x3a12b4[_0x556e61(0xdf)](_0x556e61(0x1d8),_0x720702),_0x562e2d){const _0x52e185=this[_0x556e61(0xfb)](_0x562e2d);if(!_0x52e185)return null;_0x3a12b4[_0x556e61(0xc2)](_0x556e61(0x188),_0x562e2d,_0x720702),_0x3a12b4[_0x556e61(0xae)](_0x556e61(0xab)+_0x52e185[_0x556e61(0xc7)],_0x720702),this[_0x556e61(0x157)]==_0x52e185&&_0x3a12b4[_0x556e61(0xae)](_0x556e61(0x1d8),_0x720702);}}}});}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0xfe))[_0x4196d6(0x18f)]({'view':_0x4196d6(0xe7),'model':_0x59d490=>_0x4196d6(0x14f)+_0x59d490,'converterPriority':_0x4196d6(0xec)}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0xfe))[_0x4196d6(0x18f)]({'view':_0x4196d6(0x16c),'model':_0x44d5ee=>_0x4196d6(0xe5)+_0x44d5ee,'converterPriority':_0x4196d6(0xec)}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0x1dd))[_0x4196d6(0xe8)]({'model':_0x4196d6(0xc4),'view':_0x4754c4=>({'name':_0x4196d6(0x16d)+_0x4754c4,'group':_0x4196d6(0xc4)}),'converterPriority':_0x4196d6(0xec)}),this[_0x4196d6(0x1bc)][_0x4196d6(0xce)][_0x4196d6(0xd6)](_0x4196d6(0x119))[_0x4196d6(0xbf)]({'model':_0x4196d6(0xc4),'view':_0x223b12=>{const _0xf4dec0=_0x4196d6,_0xe1685=_0x223b12[_0xf4dec0(0x1b7)][_0xf4dec0(0xcf)](':')[0x1];return _0xf4dec0(0xcb)!=_0xe1685&&_0xf4dec0(0xc5)!=_0xe1685?null:{'classes':[_0xf4dec0(0x164),_0xf4dec0(0x1c6)+_0xe1685]};}}),this[_0x4196d6(0x1bc)][_0x4196d6(0x131)][_0x4196d6(0x1b2)]['on'](_0x4196d6(0x1d4),Q(this[_0x4196d6(0x1bc)],_0x4196d6(0x149)),{'priority':_0x4196d6(0x1db)}),this[_0x4196d6(0x1bc)][_0x4196d6(0x131)][_0x4196d6(0x1b2)]['on'](_0x4196d6(0x12e),Q(this[_0x4196d6(0x1bc)],_0x4196d6(0xcf)),{'priority':_0x4196d6(0x1db)}),this[_0x4196d6(0x1bc)][_0x4196d6(0x131)][_0x4196d6(0x1b2)]['on'](_0x4196d6(0x1b5),(_0x103ff6,_0x1b25c5,_0x5c2a7b)=>{const _0x5c7c53=_0x4196d6,_0x2e0046=_0x5c2a7b[_0x5c7c53(0xba)][_0x5c7c53(0x1cc)](_0x1b25c5[_0x5c7c53(0x1b7)]);if(_0x2e0046){for(const _0x1d39f9 of _0x2e0046)_0x1d39f9['is'](_0x5c7c53(0xff))&&(_0x5c2a7b[_0x5c7c53(0xba)][_0x5c7c53(0x13a)](_0x1d39f9,_0x1b25c5[_0x5c7c53(0x1b7)]),_0x5c2a7b[_0x5c7c53(0x19d)][_0x5c7c53(0x1ae)](_0x1d39f9));}},{'priority':_0x4196d6(0x1db)});}[_0x4f3880(0xfb)](_0x5af966){const _0x51fdf6=_0x4f3880;return this[_0x51fdf6(0x18b)][_0x51fdf6(0xb1)](_0x5af966);}[_0x4f3880(0xa6)](_0x2174e7){const _0x3a23a8=_0x4f3880;return this[_0x3a23a8(0x148)]&&this[_0x3a23a8(0x148)][_0x3a23a8(0xa7)](),this[_0x3a23a8(0x148)]=new _0x494cc4(this[_0x3a23a8(0x1bc)][_0x3a23a8(0x170)],_0x2174e7),this[_0x3a23a8(0x148)];}[_0x4f3880(0xde)](){const _0x39c662=_0x4f3880;this[_0x39c662(0x1bc)][_0x39c662(0x18d)][_0x39c662(0x132)][_0x39c662(0x15b)][_0x39c662(0x113)](_0x39c662(0x1b8)),this['on'](_0x39c662(0x102),(_0x394800,_0x2dd4e1,_0x363129,_0x40d07c)=>{const _0x49e965=_0x39c662;_0x40d07c&&this[_0x49e965(0xc0)][_0x49e965(0x1ae)](_0x40d07c),_0x363129&&(this[_0x49e965(0xc0)][_0x49e965(0xd7)]({'view':_0x363129,'stackId':_0x49e965(0x1a9),'position':{'target':()=>{const _0x49c92d=_0x49e965,_0x3d1644=this[_0x49c92d(0x1bc)][_0x49c92d(0x131)],_0x4990d4=this[_0x49c92d(0xfb)](_0x363129[_0x49c92d(0xb0)]);let _0x45ca50;if(_0x4990d4[_0x49c92d(0x1ba)][_0x49c92d(0xfc)]){const _0x467906=_0x3d1644[_0x49c92d(0xd8)][_0x49c92d(0xe6)](_0x4990d4[_0x49c92d(0x137)]);_0x45ca50=Array[_0x49c92d(0x12c)](_0x467906[_0x49c92d(0x1a6)]());}else{const _0x967a52=this[_0x49c92d(0x1bc)][_0x49c92d(0x18d)][_0x49c92d(0x1cb)][_0x49c92d(0xb1)](_0x49c92d(0x142)+_0x363129[_0x49c92d(0xb0)]);_0x45ca50=Array[_0x49c92d(0x12c)](_0x3d1644[_0x49c92d(0xba)][_0x49c92d(0x1cc)](_0x967a52[_0x49c92d(0xf1)]))[_0x49c92d(0x178)](_0x1d240f=>_0x3d1644[_0x49c92d(0xd8)][_0x49c92d(0x155)][_0x49c92d(0xd0)](_0x1d240f))[_0x49c92d(0x178)](_0x36c89b=>Array[_0x49c92d(0x12c)](_0x36c89b[_0x49c92d(0x1a6)]()))[_0x49c92d(0x11e)]();}if(!this[_0x49c92d(0x1ce)])return _0x45ca50[0x0];return _0x45ca50[_0x49c92d(0xe0)](_0x2b8366=>_0x2b8366[_0x49c92d(0x1d6)]-0x3<=this[_0x49c92d(0x1ce)]['y']&&_0x2b8366[_0x49c92d(0x1e1)]+0x3>=this[_0x49c92d(0x1ce)]['y']&&_0x2b8366[_0x49c92d(0x12f)]-0x3<=this[_0x49c92d(0x1ce)]['x']&&_0x2b8366[_0x49c92d(0x104)]+0x3>=this[_0x49c92d(0x1ce)]['x'])||_0x45ca50[0x0];}}}),this[_0x49e965(0xc0)][_0x49e965(0x1be)](_0x49e965(0x1a9)));}),this['on'](_0x39c662(0xa9),(_0x5eebd7,_0x3d308c,_0x33d266,_0xdf8701)=>{const _0x7f78c8=_0x39c662;this[_0x7f78c8(0x13f)]=_0x33d266?this[_0x7f78c8(0xa6)](_0x33d266):null,this[_0x7f78c8(0x1bc)][_0x7f78c8(0x18d)][_0x7f78c8(0x1b9)](()=>{const _0x1f284d=_0x7f78c8,_0x49efc7=this[_0x1f284d(0x1bc)][_0x1f284d(0x131)];_0xdf8701&&(_0xdf8701[_0x1f284d(0x1ba)][_0x1f284d(0xfc)]?_0x49efc7[_0x1f284d(0xd8)][_0x1f284d(0x1b9)](_0x31056f=>{const _0x4c3154=_0x1f284d;_0x31056f[_0x4c3154(0xdf)](_0x4c3154(0x1d8),_0x49efc7[_0x4c3154(0xd8)][_0x4c3154(0x132)][_0x4c3154(0x1a2)](_0xdf8701[_0x4c3154(0x137)]));}):_0x49efc7[_0x1f284d(0xe2)](_0x1f284d(0x142)+_0xdf8701['id'])),_0x33d266&&(_0x33d266[_0x1f284d(0x1ba)][_0x1f284d(0xfc)]?_0x49efc7[_0x1f284d(0xd8)][_0x1f284d(0x1b9)](_0x4ec05c=>{const _0x15b27f=_0x1f284d;_0x4ec05c[_0x15b27f(0xae)](_0x15b27f(0x1d8),_0x49efc7[_0x15b27f(0xd8)][_0x15b27f(0x132)][_0x15b27f(0x1a2)](_0x33d266[_0x15b27f(0x137)]));}):_0x49efc7[_0x1f284d(0xe2)](_0x1f284d(0x142)+_0x33d266['id']));});}),this[_0x39c662(0xb5)](this[_0x39c662(0x1bc)][_0x39c662(0x131)][_0x39c662(0xd8)][_0x39c662(0x132)],_0x39c662(0xf0),(_0x338ae1,_0xa4be1b)=>{const _0x197757=_0x39c662;if(this[_0x197757(0x157)])return;const _0x417d9e=this[_0x197757(0xfa)](_0xa4be1b[_0x197757(0x1c3)]),_0x1c844a=this[_0x197757(0x18b)][_0x197757(0xb1)](_0x417d9e);_0x1c844a?(this[_0x197757(0x1ce)]={'x':_0xa4be1b[_0x197757(0xb2)]['x'],'y':_0xa4be1b[_0x197757(0xb2)]['y']},this[_0x197757(0x13f)]=this[_0x197757(0xa6)](_0x1c844a)):(this[_0x197757(0x1ce)]=null,this[_0x197757(0x13f)]=null);}),this[_0x39c662(0xb5)](this[_0x39c662(0x1bc)][_0x39c662(0x131)][_0x39c662(0xd8)][_0x39c662(0x132)],_0x39c662(0x184),(_0x439c6b,_0x2de82a)=>{const _0x50e6e2=_0x39c662,_0x1e3c99=this[_0x50e6e2(0xfa)](_0x2de82a[_0x50e6e2(0x1c3)]),_0x2dc93b=this[_0x50e6e2(0x18b)][_0x50e6e2(0xb1)](_0x1e3c99);_0x2dc93b?(this[_0x50e6e2(0x1ce)]={'x':_0x2de82a[_0x50e6e2(0xb2)]['x'],'y':_0x2de82a[_0x50e6e2(0xb2)]['y']},_0x2dc93b===this[_0x50e6e2(0x157)]?this[_0x50e6e2(0xc0)][_0x50e6e2(0x12d)]():this[_0x50e6e2(0x157)]=_0x2dc93b):(this[_0x50e6e2(0x1ce)]=null,this[_0x50e6e2(0x157)]=null);});}[_0x4f3880(0xfa)](_0x24ccfa){const _0x4d486b=_0x4f3880;do{const _0x37fc8e=_0x24ccfa[_0x4d486b(0x16b)](_0x4d486b(0x188));if(_0x37fc8e)return _0x37fc8e;_0x24ccfa=_0x24ccfa[_0x4d486b(0x1e2)];}while(_0x24ccfa);return null;}[_0x4f3880(0x1d1)](){const _0x1c9254=_0x4f3880;this[_0x1c9254(0x1bc)][_0x1c9254(0x18d)][_0x1c9254(0x1b9)](_0x18acc7=>{const _0x50f6ea=_0x1c9254;for(const _0x45bb6e of this[_0x50f6ea(0x1bc)][_0x50f6ea(0x18d)][_0x50f6ea(0x1cb)])_0x18acc7[_0x50f6ea(0x193)](_0x45bb6e);});}}function Q(_0xa9d702,_0x2e4e1a){return(_0x2d0d24,_0x73ac26,_0x1f8f20)=>{const _0x1f94d5=_0x2002;if(!_0x1f8f20[_0x1f94d5(0x136)][_0x1f94d5(0xac)](_0x73ac26[_0x1f94d5(0xe4)],_0x2d0d24[_0x1f94d5(0xf1)]))return;const _0x3008f9=_0x73ac26[_0x1f94d5(0xe4)][_0x1f94d5(0x1b1)](),_0x342d48=_0x73ac26[_0x1f94d5(0xe4)][_0x1f94d5(0x100)],_0x2c3714=_0xa9d702[_0x1f94d5(0x18d)][_0x1f94d5(0xf6)];let _0x453279=null,_0x48b047=null,_0x28c417=!0x1,_0x4cfe00=!0x1;for(const _0x819a35 of _0x3008f9){const _0x476e89=_0x819a35[_0x1f94d5(0x163)];_0x28c417=_0x28c417||_0x2c3714[_0x1f94d5(0x112)](_0x476e89);const _0x4a060c=_0x1f8f20[_0x1f94d5(0xba)][_0x1f94d5(0xd9)](_0x476e89);if(_0x4a060c&&_0x4a060c[_0x1f94d5(0x180)](_0x1f94d5(0x1a1)))return;_0x1f94d5(0xe9)==_0x819a35[_0x1f94d5(0xc7)]&&(_0x2c3714[_0x1f94d5(0x1e3)](_0x476e89)&&!_0x2c3714[_0x1f94d5(0x107)](_0x476e89)&&(_0x476e89[_0x1f94d5(0x1ac)]||_0x342d48[_0x1f94d5(0xfd)]?_0x453279&&_0x453279[_0x1f94d5(0x1e2)]==_0x476e89||(_0x453279=_0x476e89,_0x442120(_0x819a35[_0x1f94d5(0x120)]),_0x4cfe00=!0x0):_0x48b047=_0x48b047||_0x819a35[_0x1f94d5(0x120)]));}function _0x442120(_0x2841c3){const _0x5de483=_0x1f94d5,_0x30af9c=_0x1f8f20[_0x5de483(0xba)][_0x5de483(0xaa)](_0x2841c3),_0x541ab1=_0x1f8f20[_0x5de483(0x19d)][_0x5de483(0x129)](_0x5de483(0xea),{'class':_0x5de483(0x1c6)+_0x2e4e1a});_0x1f8f20[_0x5de483(0x19d)][_0x5de483(0xc9)](_0x30af9c,_0x541ab1),_0x1f8f20[_0x5de483(0xba)][_0x5de483(0x108)](_0x541ab1,_0x73ac26[_0x5de483(0x1b7)]);}_0x28c417||_0x4cfe00||!_0x48b047||_0x442120(_0x48b047);};}export class RestoreRevisionCommand extends _0x1cbfaf{constructor(_0x8fbd0b){const _0x4d7bb8=_0x4f3880;super(_0x8fbd0b);const _0x30dad3=_0x8fbd0b[_0x4d7bb8(0x146)][_0x4d7bb8(0xb1)](RevisionViewer);this[_0x4d7bb8(0x169)]=!0x1,this[_0x4d7bb8(0xb5)](_0x30dad3,_0x4d7bb8(0x140),()=>this[_0x4d7bb8(0x153)]()),this[_0x4d7bb8(0xb5)](_0x30dad3,_0x4d7bb8(0x10c),()=>this[_0x4d7bb8(0x153)]());}[_0x4f3880(0x145)](){const _0x7e9130=_0x4f3880,_0x216f6c=this[_0x7e9130(0x1bc)],_0x2a99ee=_0x216f6c[_0x7e9130(0x146)][_0x7e9130(0xb1)](RevisionViewer),_0x521527=_0x2a99ee[_0x7e9130(0xdb)]?_0x2a99ee[_0x7e9130(0xb4)][_0x7e9130(0x19f)]:null;_0x216f6c[_0x7e9130(0xe1)][_0x7e9130(0xb1)](_0x7e9130(0x190))[_0x7e9130(0x1a5)](_0x521527);}[_0x4f3880(0x153)](){const _0xd37dd5=_0x4f3880,{isReady:_0x2a3dd9,isEnabled:_0x35eeed,repository:_0x3b92f6,diff:_0x33c2e5}=this[_0xd37dd5(0x1bc)][_0xd37dd5(0x146)][_0xd37dd5(0xb1)](RevisionViewer),_0x53065f=_0x33c2e5&&_0x3b92f6[_0xd37dd5(0x141)](_0x33c2e5[_0xd37dd5(0x19f)]);this[_0xd37dd5(0x192)]=_0x2a3dd9&&_0x35eeed&&Boolean(_0x53065f);}}export class ShowChangeCommand extends _0x1cbfaf{[_0x4f3880(0x154)];constructor(_0x2da2fd,{direction:_0x81a9bc}){const _0x280c8c=_0x4f3880;super(_0x2da2fd);const _0x127a95=_0x2da2fd[_0x280c8c(0x146)][_0x280c8c(0xb1)](RevisionViewer);this[_0x280c8c(0x169)]=!0x1,this[_0x280c8c(0x154)]=_0x280c8c(0x17e)===_0x81a9bc?0x1:-0x1,this[_0x280c8c(0xb5)](_0x127a95,_0x280c8c(0x140),()=>this[_0x280c8c(0x153)]()),this[_0x280c8c(0xb5)](_0x127a95,_0x280c8c(0x10c),()=>this[_0x280c8c(0x153)]()),this[_0x280c8c(0xb5)](_0x127a95,_0x280c8c(0xa9),()=>this[_0x280c8c(0x153)]());}[_0x4f3880(0x145)](){const _0x4a5bcf=_0x4f3880,_0x753a98=this[_0x4a5bcf(0x1bc)],_0x2e4192=_0x753a98[_0x4a5bcf(0x146)][_0x4a5bcf(0xb1)](RevisionViewer),{isNavigationMode:_0x76df11,currentChangeNumber:_0x2aabd6}=_0x2e4192;let _0x25c891;if(_0x2e4192[_0x4a5bcf(0x157)]=_0x76df11?_0x2e4192[_0x4a5bcf(0xb4)][_0x4a5bcf(0xf3)][_0x4a5bcf(0xb1)](_0x2aabd6+this[_0x4a5bcf(0x154)]):_0x2e4192[_0x4a5bcf(0xb4)][_0x4a5bcf(0xf3)][_0x4a5bcf(0x12b)],_0x2e4192[_0x4a5bcf(0x157)][_0x4a5bcf(0x1ba)][_0x4a5bcf(0xfc)])_0x25c891=_0x753a98[_0x4a5bcf(0x131)][_0x4a5bcf(0xd8)][_0x4a5bcf(0xe6)](_0x2e4192[_0x4a5bcf(0x157)][_0x4a5bcf(0x137)]);else{const _0x33f57b=_0x753a98[_0x4a5bcf(0x18d)][_0x4a5bcf(0x1cb)][_0x4a5bcf(0xb1)](_0x4a5bcf(0x142)+_0x2e4192[_0x4a5bcf(0x157)]['id']);_0x25c891=_0x1d2e59(_0x753a98[_0x4a5bcf(0x131)],_0x33f57b);}_0x1a8beb({'target':_0x25c891,'viewportOffset':0x28});}[_0x4f3880(0x153)](){const _0x377e6d=_0x4f3880,{isNavigationMode:_0x164666,currentChangeNumber:_0x5b0f04,numberOfChanges:_0x52bca9,isReady:_0x5e8d84,isEnabled:_0x41e032}=this[_0x377e6d(0x1bc)][_0x377e6d(0x146)][_0x377e6d(0xb1)](RevisionViewer);this[_0x377e6d(0x192)]=!!(_0x41e032&&_0x5e8d84&&_0x52bca9)&&(!_0x164666||(0x1===this[_0x377e6d(0x154)]?_0x5b0f04<_0x52bca9-0x1:_0x5b0f04>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x27ae8c,_0x326f18){const _0x3df5b6=_0x3169,_0x557956=_0x27ae8c();while(!![]){try{const _0x52cd84=-parseInt(_0x3df5b6(0x1f2))/0x1+parseInt(_0x3df5b6(0x1f8))/0x2+parseInt(_0x3df5b6(0x1fa))/0x3*(-parseInt(_0x3df5b6(0x1ed))/0x4)+parseInt(_0x3df5b6(0x200))/0x5*(-parseInt(_0x3df5b6(0x1f6))/0x6)+-parseInt(_0x3df5b6(0x1e6))/0x7+parseInt(_0x3df5b6(0x1d3))/0x8*(parseInt(_0x3df5b6(0x1e1))/0x9)+parseInt(_0x3df5b6(0x202))/0xa*(parseInt(_0x3df5b6(0x1e5))/0xb);if(_0x52cd84===_0x326f18)break;else _0x557956['push'](_0x557956['shift']());}catch(_0x4eddac){_0x557956['push'](_0x557956['shift']());}}}(_0x3815,0xd807d));import{Collection as _0x3085f1}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x1be5ce}from'ckeditor5/src/icons.js';function _0x3815(){const _0x2a633e=['5DYdWUq','bindTemplate','10528770AgRZye','isReady','model','56UOrvQD','Restore\x20this\x20revision','class','bind','panelPosition','button','Compare\x20against\x20selected','extendTemplate','listView','ck-revision-history-sidebar__revision__actions','function','isActionsDropdownOpen','execute','children','539784ocrRoh','find','Show\x20more\x20items','locale','11wcBGhN','4432183NMGpGu','menuitem','listenTo','action','set','buttonView','Name\x20this\x20revision','1212276GiaHxU','first','ck-on','name','source','741804LtncqM','isOpen','items','isEnabled','1768038UTXuya','add','2769734mwzrzw','menu','3YDJFpi','map','stopPropagation','change:isActionsDropdownOpen','isVisible','_action'];_0x3815=function(){return _0x2a633e;};return _0x3815();}import{UIModel as _0x2bb7fd,addListToDropdown as _0x47f2ef,createDropdown as _0x5d03e7}from'ckeditor5/src/ui.js';import{getTranslation as _0x451376}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x3169(_0x16f7c2,_0x3b63ae){const _0x3815a5=_0x3815();return _0x3169=function(_0x31698d,_0x447f4f){_0x31698d=_0x31698d-0x1d3;let _0x3bb00c=_0x3815a5[_0x31698d];return _0x3bb00c;},_0x3169(_0x16f7c2,_0x3b63ae);}export function createActionsDropdownView(_0xc9b8c1,_0x791239){const _0x468c21=_0x3169,_0x24d0ff=_0xc9b8c1[_0x468c21(0x201)],_0x166eda=_0xc9b8c1[_0x468c21(0x1e4)],_0x55bcbc=_0x5d03e7(_0x166eda);_0x55bcbc[_0x468c21(0x1d7)]='sw';const _0x1e9ea9=function(_0x5f0b5c,_0x113695){const _0x1dbf5d=_0x468c21,_0x34da59=function(_0x1ae75a,_0x2cad3e){const _0x53a748=_0x3169,_0x1a7af1=_0x1ae75a[_0x53a748(0x1e4)],_0x3852b3={'Compare\x20against\x20selected':_0x451376(_0x1a7af1,_0x53a748(0x1d9)),'Name\x20this\x20revision':_0x451376(_0x1a7af1,_0x53a748(0x1ec)),'Restore\x20this\x20revision':_0x451376(_0x1a7af1,_0x53a748(0x1d4))};return _0x2cad3e[_0x53a748(0x1fb)](_0x3f1e05=>{const _0x56fd3f=_0x53a748,_0x1366da=_0x3852b3[_0x3f1e05[_0x56fd3f(0x1f0)]];return _0x1366da&&_0x1366da!==_0x3f1e05[_0x56fd3f(0x1f0)]&&(_0x3f1e05[_0x56fd3f(0x1f0)]=_0x1366da),_0x3f1e05;});}(_0x5f0b5c,_0x113695),_0x281e3f=new _0x3085f1();for(const _0x33f484 of _0x34da59){const _0x81809c={'type':_0x1dbf5d(0x1d8),'model':new _0x2bb7fd({'label':_0x33f484[_0x1dbf5d(0x1f0)],'class':_0x33f484[_0x1dbf5d(0x1d5)],'withText':!0x0,'role':_0x1dbf5d(0x1e7),'_action':_0x33f484[_0x1dbf5d(0x1e9)]})};_0x81809c[_0x1dbf5d(0x204)][_0x1dbf5d(0x1d6)](_0x1dbf5d(0x1f5))['to'](_0x5f0b5c,_0x1dbf5d(0x1de),_0xd8e4b2=>_0x1dbf5d(0x1dd)!=typeof _0x33f484[_0x1dbf5d(0x1f5)]||(!_0xd8e4b2||_0x33f484[_0x1dbf5d(0x1f5)](_0x5f0b5c))),_0x281e3f[_0x1dbf5d(0x1f7)](_0x81809c);}return _0x281e3f;}(_0xc9b8c1,_0x791239);return _0xc9b8c1[_0x468c21(0x1d6)](_0x468c21(0x1de))['to'](_0x55bcbc,_0x468c21(0x1f3)),_0x55bcbc[_0x468c21(0x1eb)][_0x468c21(0x1ea)]({'label':_0x451376(_0x166eda,_0x468c21(0x1e3)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1be5ce}),_0x55bcbc[_0x468c21(0x1da)]({'attributes':{'class':[_0x468c21(0x1dc),_0x24d0ff['if'](_0x468c21(0x1de),_0x468c21(0x1ef))]},'on':{'click':_0x24d0ff['to'](_0x16a246=>_0x16a246[_0x468c21(0x1fc)]())}}),_0x55bcbc['on'](_0x468c21(0x1df),_0x5bb02e=>{const _0x26c6c0=_0x468c21;_0xc9b8c1[_0x26c6c0(0x203)]&&_0x26c6c0(0x1dd)==typeof _0x5bb02e[_0x26c6c0(0x1f1)][_0x26c6c0(0x1ff)]&&_0x5bb02e[_0x26c6c0(0x1f1)][_0x26c6c0(0x1ff)](_0xc9b8c1);}),_0x47f2ef(_0x55bcbc,_0x1e9ea9,{'role':_0x468c21(0x1f9)}),_0x55bcbc[_0x468c21(0x1e8)](_0xc9b8c1,_0x468c21(0x1fd),(_0x5f07de,_0x27ea12,_0x12b415)=>{const _0x3c7fee=_0x468c21;if(_0x12b415)for(const _0x4c5164 of _0x55bcbc[_0x3c7fee(0x1db)][_0x3c7fee(0x1f4)]){const _0x18246d=_0x4c5164[_0x3c7fee(0x1e0)][_0x3c7fee(0x1ee)],_0x30cb8f=_0x791239[_0x3c7fee(0x1e2)](_0x101d76=>_0x101d76[_0x3c7fee(0x1e9)]===_0x18246d[_0x3c7fee(0x1ff)])[_0x3c7fee(0x1fe)];_0x4c5164[_0x3c7fee(0x1fe)]=void 0x0===_0x30cb8f||_0x30cb8f(_0xc9b8c1);}}),_0x55bcbc;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4088(){const _0x47b45f=['762831FpyIKx','0\x200\x2011\x2010','name','5558469kpuCfh','ck-revision-history-sidebar__revision-author','ck-revision-history-sidebar__revision-author__name','Revision\x20creator','setTemplate','29yEEfle','push','1519908yJGCxZ','32ULuDSH','set','Revision\x20author','39316QYaZzG','ck-revision-history-sidebar__revision-author_creator','7121832QrLcZU','span','320535ZmTohh','5210616hVgZXl'];_0x4088=function(){return _0x47b45f;};return _0x4088();}function _0x2729(_0x555d27,_0x30da97){const _0x40889b=_0x4088();return _0x2729=function(_0x2729cc,_0x3a8d84){_0x2729cc=_0x2729cc-0x11d;let _0x225972=_0x40889b[_0x2729cc];return _0x225972;},_0x2729(_0x555d27,_0x30da97);}(function(_0x42e0e7,_0x2eb949){const _0x5273de=_0x2729,_0x132aa5=_0x42e0e7();while(!![]){try{const _0x81b5e0=parseInt(_0x5273de(0x11d))/0x1*(parseInt(_0x5273de(0x123))/0x2)+parseInt(_0x5273de(0x11f))/0x3+parseInt(_0x5273de(0x128))/0x4+-parseInt(_0x5273de(0x127))/0x5+-parseInt(_0x5273de(0x125))/0x6+-parseInt(_0x5273de(0x12c))/0x7+-parseInt(_0x5273de(0x120))/0x8*(-parseInt(_0x5273de(0x129))/0x9);if(_0x81b5e0===_0x2eb949)break;else _0x132aa5['push'](_0x132aa5['shift']());}catch(_0x54dcae){_0x132aa5['push'](_0x132aa5['shift']());}}}(_0x4088,0xa45ee));import{View as _0x2b7d90,IconView as _0x36fce1}from'ckeditor5/src/ui.js';import{IconUser as _0x1796c7}from'ckeditor5/src/icons.js';import{getTranslation as _0x5a78b4}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x2b7d90{constructor(_0x541581,_0x1cb678,_0x57b9a9){const _0x1179cb=_0x2729;super(_0x541581);const _0x41cc94=new _0x36fce1();_0x41cc94[_0x1179cb(0x121)]({'content':_0x1796c7,'viewBox':_0x1179cb(0x12a)});const _0x47c123=['ck',_0x1179cb(0x12d)];_0x57b9a9&&_0x47c123[_0x1179cb(0x11e)](_0x1179cb(0x124));const _0x8887b0=[{'tag':_0x1179cb(0x126),'attributes':{'class':['ck',_0x1179cb(0x12e)],'title':_0x5a78b4(_0x541581,_0x57b9a9?_0x1179cb(0x12f):_0x1179cb(0x122))},'children':[_0x41cc94,_0x1cb678[_0x1179cb(0x12b)]]}];this[_0x1179cb(0x130)]({'tag':'li','attributes':{'class':_0x47c123},'children':_0x8887b0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a7fd0=_0x5c6a;(function(_0x4da6c4,_0x4229b9){const _0x29aa06=_0x5c6a,_0x3b272f=_0x4da6c4();while(!![]){try{const _0x221010=parseInt(_0x29aa06(0x1f1))/0x1+-parseInt(_0x29aa06(0x1f3))/0x2*(parseInt(_0x29aa06(0x1f0))/0x3)+parseInt(_0x29aa06(0x1fb))/0x4*(-parseInt(_0x29aa06(0x1e8))/0x5)+parseInt(_0x29aa06(0x1ff))/0x6*(-parseInt(_0x29aa06(0x1ed))/0x7)+-parseInt(_0x29aa06(0x1fa))/0x8*(parseInt(_0x29aa06(0x1fe))/0x9)+-parseInt(_0x29aa06(0x1fd))/0xa+parseInt(_0x29aa06(0x202))/0xb*(parseInt(_0x29aa06(0x1eb))/0xc);if(_0x221010===_0x4229b9)break;else _0x3b272f['push'](_0x3b272f['shift']());}catch(_0x9b48ab){_0x3b272f['push'](_0x3b272f['shift']());}}}(_0x308f,0x5412f));import{LabeledFieldView as _0x4207a6}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x341ba6}from'ckeditor5/src/utils.js';import{getTranslation as _0xf963e}from'../../utils/common-translations.js';function _0x5c6a(_0x2bf1bc,_0x55c0a9){const _0x308f82=_0x308f();return _0x5c6a=function(_0x5c6ae3,_0x4cbca0){_0x5c6ae3=_0x5c6ae3-0x1e4;let _0x62542=_0x308f82[_0x5c6ae3];return _0x62542;},_0x5c6a(_0x2bf1bc,_0x55c0a9);}function _0x308f(){const _0x5dd671=['ck-revision-history-sidebar__revision-name','3710ILOdeM','ck-tooltip_multi-line','placeholder','27624OdOIIV','listenTo','3368547UmnYgZ','element','extendTemplate','6mORJAc','548622Ibryjy','input','340772EBjRwT','render','Revision\x20name','scrollWidth','_updateTooltipText','Enter\x20the\x20revision\x20name','span','260048dyBMyC','908KllitC','value','692160iIveWV','180pUOkXP','6kvhBvh','_tooltipString','_resizeObserver','7194qMszkz','clientWidth','set','fieldView','bindTemplate','destroy'];_0x308f=function(){return _0x5dd671;};return _0x308f();}import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x4207a6{[_0x2a7fd0(0x201)]=null;constructor(_0x1e7a4e,_0x4a2ea8){const _0x190874=_0x2a7fd0;super(_0x1e7a4e,_0x4a2ea8);const _0xf7c83=this[_0x190874(0x1e5)];this[_0x190874(0x204)]({'label':_0xf963e(_0x1e7a4e,_0x190874(0x1f5)),'_tooltipString':''}),this[_0x190874(0x1e4)][_0x190874(0x1ea)]=_0xf963e(_0x1e7a4e,_0x190874(0x1f8)),this[_0x190874(0x1ef)]({'tag':_0x190874(0x1f9),'attributes':{'class':[_0x190874(0x1e7)],'data-cke-tooltip-text':_0xf7c83['to'](_0x190874(0x200)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x190874(0x1e9)}});}[_0x2a7fd0(0x1f4)](){const _0x2b1b27=_0x2a7fd0;super[_0x2b1b27(0x1f4)](),this[_0x2b1b27(0x201)]=new _0x341ba6(this[_0x2b1b27(0x1e4)][_0x2b1b27(0x1ee)],()=>this[_0x2b1b27(0x1f7)]()),this[_0x2b1b27(0x1ec)](this[_0x2b1b27(0x1e4)],_0x2b1b27(0x1f2),()=>this[_0x2b1b27(0x1f7)]());}[_0x2a7fd0(0x1e6)](){const _0x57f241=_0x2a7fd0;super[_0x57f241(0x1e6)](),this[_0x57f241(0x201)]&&this[_0x57f241(0x201)][_0x57f241(0x1e6)]();}[_0x2a7fd0(0x1f7)](){const _0x26997f=_0x2a7fd0,_0x1f02be=this[_0x26997f(0x1e4)][_0x26997f(0x1ee)];this[_0x26997f(0x200)]=_0x1f02be[_0x26997f(0x1f6)]>_0x1f02be[_0x26997f(0x203)]&&_0x1f02be[_0x26997f(0x1fc)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1417e5=_0x4ed6;function _0x1114(){const _0x5587de=['listenTo','ck-revision-history-sidebar__revision','3mgcqqP','closest','fieldView','1375155idGKnW','authors','_createdAtFormatted','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','738644ZHHGlL','ck-disabled','.ck-confirm-view','render','ck-revision-history-sidebar__revision_highlighted','length','ck-revision-history-sidebar__revision_selected','span','setTemplate','ck-revision-history-sidebar__revision-wrapper','creator','ck-reset','setName','name','isReady','srcElement','15354oGNHhg','7753370wuEftU','deselect','revisionActionsView','isConfirm','change','1462xEGpDT','set','isSelected','bind','filter','159wdSycu','value','highlight','uiLanguage','bindTemplate','unshift','isEnabled','select','isHighlighted','div','element','unhighlight','_requireRevisionName','isActionsDropdownOpen','220','_revision','from','875cZPWvw','ck-revision-history-sidebar__revision__date','4293950VcTlDq','ck-revision-history-sidebar__revision__controls-wrapper','extendTemplate','2843272ycVObc','fire','map','revisionNameView','ck-revision-history-sidebar__actions_dropdown_open','createdAt','ck-revision-history-sidebar__revision-authors'];_0x1114=function(){return _0x5587de;};return _0x1114();}(function(_0x1f4a78,_0x5ca9ee){const _0x248f83=_0x4ed6,_0x437f2b=_0x1f4a78();while(!![]){try{const _0x5b3851=-parseInt(_0x248f83(0xd7))/0x1*(-parseInt(_0x248f83(0xd2))/0x2)+-parseInt(_0x248f83(0xf6))/0x3*(-parseInt(_0x248f83(0xfd))/0x4)+parseInt(_0x248f83(0xcd))/0x5+-parseInt(_0x248f83(0xcc))/0x6*(parseInt(_0x248f83(0xe8))/0x7)+-parseInt(_0x248f83(0xed))/0x8+parseInt(_0x248f83(0xf9))/0x9+-parseInt(_0x248f83(0xea))/0xa;if(_0x5b3851===_0x5ca9ee)break;else _0x437f2b['push'](_0x437f2b['shift']());}catch(_0x27c16d){_0x437f2b['push'](_0x437f2b['shift']());}}}(_0x1114,0xdba60));import{View as _0x38d035,createLabeledInputText as _0x26fb17}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x817770}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0x405e4f}from'./revisionnameview.js';import{RevisionAuthorView as _0x2d9b5c}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x121f0e}from'./utils.js';import{createActionsDropdownView as _0x28431b}from'./createrevisionactionsdropdown.js';function _0x4ed6(_0x48f2a1,_0x41c604){const _0x1114ec=_0x1114();return _0x4ed6=function(_0x4ed6de,_0x12048f){_0x4ed6de=_0x4ed6de-0xca;let _0xd89fe=_0x1114ec[_0x4ed6de];return _0xd89fe;},_0x4ed6(_0x48f2a1,_0x41c604);}import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x817770(_0x38d035){['id'];[_0x1417e5(0xf0)];[_0x1417e5(0xcf)];[_0x1417e5(0xe6)];[_0x1417e5(0xe3)];constructor(_0x1c5326,_0x5b7c42,_0x3d4cdc,_0x3c6731){const _0x1528c1=_0x1417e5;super(_0x1c5326);const _0x2f16e6=this[_0x1528c1(0xdb)],_0x40033e=function(_0xe302cc,_0x4b2deb){const _0x40ab5f=_0x1528c1,_0xe235d0=Array[_0x40ab5f(0xe7)](_0x4b2deb[_0x40ab5f(0xfa)])[_0x40ab5f(0xd6)](_0x37607e=>_0x37607e!=_0x4b2deb[_0x40ab5f(0x107)]);return _0x4b2deb[_0x40ab5f(0x107)]&&_0xe235d0[_0x40ab5f(0xdc)](_0x4b2deb[_0x40ab5f(0x107)]),_0xe235d0[_0x40ab5f(0xef)](_0x3fa6b7=>new _0x2d9b5c(_0xe302cc,_0x3fa6b7,_0x3fa6b7==_0x4b2deb[_0x40ab5f(0x107)]));}(_0x1c5326,_0x5b7c42);this['id']=_0x5b7c42['id'],this[_0x1528c1(0xe6)]=_0x5b7c42,this[_0x1528c1(0xe3)]=_0x3c6731,this[_0x1528c1(0xd5)](_0x1528c1(0x10a),_0x1528c1(0xf2))['to'](_0x5b7c42),this[_0x1528c1(0xd5)](_0x1528c1(0xfb))['to'](this,_0x1528c1(0xf2),_0x3cc401=>_0x121f0e(_0x1c5326[_0x1528c1(0xda)],_0x3cc401)),this[_0x1528c1(0xd3)](_0x1528c1(0xd4),!0x1),this[_0x1528c1(0xd3)](_0x1528c1(0xdf),!0x1),this[_0x1528c1(0xd3)](_0x1528c1(0xe4),!0x1),this[_0x1528c1(0xd3)](_0x1528c1(0xca),!0x1),this[_0x1528c1(0xd3)](_0x1528c1(0xdd),!0x1),this[_0x1528c1(0xf0)]=new _0x405e4f(_0x1c5326,_0x26fb17),this[_0x1528c1(0xf0)][_0x1528c1(0xf8)][_0x1528c1(0xec)]({'attributes':{'maxlength':_0x1528c1(0xe5)}}),this[_0x1528c1(0xf0)][_0x1528c1(0xf8)][_0x1528c1(0xd5)](_0x1528c1(0xd8))['to'](this,_0x1528c1(0x10a),_0x5983ad=>_0x5983ad||this[_0x1528c1(0xfb)]),this[_0x1528c1(0xf0)][_0x1528c1(0xd5)](_0x1528c1(0xdd))['to'](this,_0x1528c1(0xd4),this,_0x1528c1(0xdd),(_0x3251e9,_0x1834c2)=>_0x3251e9&&_0x1834c2),this[_0x1528c1(0xcf)]=_0x3d4cdc&&_0x3d4cdc[_0x1528c1(0x102)]?_0x28431b(this,_0x3d4cdc):'',this[_0x1528c1(0xcf)]&&this[_0x1528c1(0xcf)][_0x1528c1(0xd5)](_0x1528c1(0xdd))['to'](this),this[_0x1528c1(0x105)]({'tag':_0x1528c1(0xe0),'attributes':{'class':['ck',_0x1528c1(0x108),_0x1528c1(0x106),_0x2f16e6['if'](_0x1528c1(0xd0),_0x1528c1(0xfc))]},'children':[{'tag':_0x1528c1(0xe0),'attributes':{'class':['ck',_0x1528c1(0x108),_0x1528c1(0xf5),_0x2f16e6['if'](_0x1528c1(0xdd),_0x1528c1(0xfe),_0x38fd8f=>!_0x38fd8f),_0x2f16e6['if'](_0x1528c1(0xd4),_0x1528c1(0x103)),_0x2f16e6['if'](_0x1528c1(0xdf),_0x1528c1(0x101)),_0x2f16e6['if'](_0x1528c1(0xe4),_0x1528c1(0xf1))]},'children':[this[_0x1528c1(0xf0)],{'tag':_0x1528c1(0x104),'attributes':{'class':['ck',_0x1528c1(0xe9)]},'children':[{'text':_0x2f16e6['to'](_0x1528c1(0xfb))}]},{'tag':_0x1528c1(0xe0),'attributes':{'class':['ck',_0x1528c1(0xeb)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x1528c1(0xf3)]},'children':_0x40033e}]},this[_0x1528c1(0xcf)]],'on':{'click':_0x2f16e6['to'](_0x42934b=>{const _0x9281ee=_0x1528c1;_0x42934b[_0x9281ee(0xcb)][_0x9281ee(0xf7)](_0x9281ee(0xff))||this[_0x9281ee(0xca)]&&this[_0x9281ee(0xdd)]&&this[_0x9281ee(0xee)](_0x9281ee(0xde),{'id':this['id']});})}}]});}[_0x1417e5(0x100)](){const _0x3ea1e6=_0x1417e5;super[_0x3ea1e6(0x100)]();const _0x5a72f8=this[_0x3ea1e6(0xf0)][_0x3ea1e6(0xf8)][_0x3ea1e6(0xe1)];this[_0x3ea1e6(0xf4)](_0x5a72f8,_0x3ea1e6(0xd1),()=>{const _0x3a6a39=_0x3ea1e6;this[_0x3a6a39(0xe3)]&&!_0x5a72f8[_0x3a6a39(0xd8)]||this[_0x3a6a39(0xee)](_0x3a6a39(0x109),{'id':this['id'],'name':_0x5a72f8[_0x3a6a39(0xd8)]}),_0x5a72f8[_0x3a6a39(0xd8)]||(_0x5a72f8[_0x3a6a39(0xd8)]=this[_0x3a6a39(0x10a)]?this[_0x3a6a39(0x10a)]:this[_0x3a6a39(0xfb)]);});}[_0x1417e5(0xde)](){const _0x3445fb=_0x1417e5;this[_0x3445fb(0xd4)]=!0x0;}[_0x1417e5(0xce)](){const _0x30316a=_0x1417e5;this[_0x30316a(0xd4)]=!0x1;}[_0x1417e5(0xd9)](){const _0x26382e=_0x1417e5;this[_0x26382e(0xdf)]=!0x0;}[_0x1417e5(0xe2)](){const _0x59e9d4=_0x1417e5;this[_0x59e9d4(0xdf)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2293ae=_0x24e9;(function(_0x26aac7,_0x33d88b){const _0x13bec9=_0x24e9,_0x40f5a6=_0x26aac7();while(!![]){try{const _0x449019=parseInt(_0x13bec9(0x101))/0x1+-parseInt(_0x13bec9(0x104))/0x2+parseInt(_0x13bec9(0x10d))/0x3*(parseInt(_0x13bec9(0x10c))/0x4)+-parseInt(_0x13bec9(0x10b))/0x5*(parseInt(_0x13bec9(0x107))/0x6)+parseInt(_0x13bec9(0x10f))/0x7+parseInt(_0x13bec9(0xfe))/0x8+-parseInt(_0x13bec9(0x109))/0x9;if(_0x449019===_0x33d88b)break;else _0x40f5a6['push'](_0x40f5a6['shift']());}catch(_0x2cdf48){_0x40f5a6['push'](_0x40f5a6['shift']());}}}(_0x32f9,0xd302b));import{View as _0x2d2707}from'ckeditor5/src/ui.js';function _0x32f9(){const _0x130ba8=['button','true','6bKQzJT','bindTemplate','6750423HHWzIs','isVisible','2509255jMfePS','90284fipjoe','81bJgZFw','toggle','5893216KMmzKs','set','click','ck-revision-history-sidebar__subrevision-collapser','ck-revision-history-sidebar__subrevision-collapser__inner','setTemplate','ck-revision-history-sidebar__subrevision-collapser_collapsed','6692752EMImWU','span','_isCollapsed','775820iBXxkK','ck-hidden','false','1895044doYcMN'];_0x32f9=function(){return _0x130ba8;};return _0x32f9();}function _0x24e9(_0x11da39,_0x11776b){const _0x32f91e=_0x32f9();return _0x24e9=function(_0x24e90f,_0x125555){_0x24e90f=_0x24e90f-0xfd;let _0x3d0652=_0x32f91e[_0x24e90f];return _0x3d0652;},_0x24e9(_0x11da39,_0x11776b);}import'../../../theme/revision/subrevisioncollapser.css';export class SubrevisionCollapserView extends _0x2d2707{constructor(_0x1811a3){const _0x382d30=_0x24e9;super(_0x1811a3);const _0x585457=this[_0x382d30(0x108)];this[_0x382d30(0x110)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x382d30(0x114)]({'tag':_0x382d30(0xff),'attributes':{'class':['ck',_0x382d30(0x112),_0x585457['if'](_0x382d30(0x10a),_0x382d30(0x102),_0x12519b=>!_0x12519b),_0x585457['if'](_0x382d30(0x100),_0x382d30(0xfd))],'role':_0x382d30(0x105),'aria-pressed':_0x585457['to'](_0x382d30(0x100),_0x6469a1=>_0x6469a1?_0x382d30(0x103):_0x382d30(0x106))},'children':[{'tag':_0x382d30(0xff),'attributes':{'class':['ck',_0x382d30(0x113)]}}],'on':{'click':_0x585457['to'](_0x382d30(0x111))}});}[_0x2293ae(0x10e)](){const _0x5798bf=_0x2293ae;this[_0x5798bf(0x100)]=!this[_0x5798bf(0x100)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x41a8(_0x303e8a,_0x75feb7){const _0x4ec042=_0x4ec0();return _0x41a8=function(_0x41a8b4,_0x28cea1){_0x41a8b4=_0x41a8b4-0x122;let _0x45abd8=_0x4ec042[_0x41a8b4];return _0x45abd8;},_0x41a8(_0x303e8a,_0x75feb7);}const _0x380e63=_0x41a8;(function(_0x3138fc,_0x5d3abd){const _0x1268bc=_0x41a8,_0x533f73=_0x3138fc();while(!![]){try{const _0x556f8a=-parseInt(_0x1268bc(0x126))/0x1+parseInt(_0x1268bc(0x13c))/0x2+-parseInt(_0x1268bc(0x12f))/0x3*(parseInt(_0x1268bc(0x13e))/0x4)+parseInt(_0x1268bc(0x13a))/0x5+parseInt(_0x1268bc(0x124))/0x6+parseInt(_0x1268bc(0x12c))/0x7+-parseInt(_0x1268bc(0x131))/0x8;if(_0x556f8a===_0x5d3abd)break;else _0x533f73['push'](_0x533f73['shift']());}catch(_0x1057e9){_0x533f73['push'](_0x533f73['shift']());}}}(_0x4ec0,0x8336d));import{View as _0x1cbb59}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x441bee}from'./revisionauthorview.js';function _0x4ec0(){const _0x26d21b=['bindTemplate','27ROpafe','_parentRevisionId','10685224rMsquu','ck-revision-history-sidebar__subrevision','ck-revision-history-sidebar__revision','set','ck-revision-history-sidebar__revision_selected','_createdAtFormatted','setTemplate','div','ck-revision-history-sidebar__revision-authors','3667135MscMaw','isSelected','374420zdNRIo','deselect','167900fGXlTV','createdAt','bind','2382144MKgpYm','select','18611rfNSBt','fire','ck-reset','creator','ck-revision-history-sidebar__revision__date','uiLanguage','6662817laPbAu','span'];_0x4ec0=function(){return _0x26d21b;};return _0x4ec0();}import{dateToPrettyFormat as _0xd2fffd}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x1cbb59{['id'];[_0x380e63(0x130)];constructor(_0xb7730c,_0x3a2e82,_0x18f6ce){const _0x20a093=_0x380e63;super(_0xb7730c);const _0x2ea64d=this[_0x20a093(0x12e)];this['id']=_0x3a2e82['id'],this[_0x20a093(0x123)](_0x20a093(0x122))['to'](_0x3a2e82),this[_0x20a093(0x134)](_0x20a093(0x13b),!0x1),this[_0x20a093(0x123)](_0x20a093(0x136))['to'](this,_0x20a093(0x122),_0x1fc090=>_0x1fc090?_0xd2fffd(_0xb7730c[_0x20a093(0x12b)],_0x1fc090):void 0x0),this[_0x20a093(0x130)]=_0x18f6ce,this[_0x20a093(0x137)]({'tag':_0x20a093(0x138),'attributes':{'class':['ck',_0x20a093(0x128),_0x20a093(0x133),_0x20a093(0x132),_0x2ea64d['if'](_0x20a093(0x13b),_0x20a093(0x135))]},'children':[{'tag':_0x20a093(0x12d),'attributes':{'class':['ck',_0x20a093(0x12a)]},'children':[{'text':_0x2ea64d['to'](_0x20a093(0x136))}]},{'tag':'ul','attributes':{'class':['ck',_0x20a093(0x139)]},'children':[new _0x441bee(_0xb7730c,_0x3a2e82[_0x20a093(0x129)],!0x0)]}],'on':{'click':_0x2ea64d['to'](this[_0x20a093(0x125)][_0x20a093(0x123)](this))}});}[_0x380e63(0x125)](){const _0xc20f52=_0x380e63;this[_0xc20f52(0x13b)]=!0x0,this[_0xc20f52(0x127)](_0xc20f52(0x125),{'parentId':this[_0xc20f52(0x130)]});}[_0x380e63(0x13d)](){const _0x4aa2a7=_0x380e63;this[_0x4aa2a7(0x13b)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2561(_0x435707,_0x4542e9){var _0x50e4e2=_0x50e4();return _0x2561=function(_0x2561a3,_0x10c7a7){_0x2561a3=_0x2561a3-0x1c3;var _0x12aae6=_0x50e4e2[_0x2561a3];return _0x12aae6;},_0x2561(_0x435707,_0x4542e9);}(function(_0x197dd1,_0xc4f520){var _0x295128=_0x2561,_0x521765=_0x197dd1();while(!![]){try{var _0x42b6da=parseInt(_0x295128(0x1c8))/0x1*(parseInt(_0x295128(0x1ce))/0x2)+-parseInt(_0x295128(0x1cb))/0x3+-parseInt(_0x295128(0x1c4))/0x4+parseInt(_0x295128(0x1ca))/0x5+-parseInt(_0x295128(0x1cf))/0x6+parseInt(_0x295128(0x1c7))/0x7+parseInt(_0x295128(0x1c6))/0x8*(parseInt(_0x295128(0x1c9))/0x9);if(_0x42b6da===_0xc4f520)break;else _0x521765['push'](_0x521765['shift']());}catch(_0x3104d2){_0x521765['push'](_0x521765['shift']());}}}(_0x50e4,0x4f586));export function dateToPrettyFormat(_0x1aeae6,_0x23ac35){var _0x42b7ea=_0x2561;return _0x23ac35[_0x42b7ea(0x1cd)](_0x1aeae6,{'month':_0x42b7ea(0x1c5),'day':_0x42b7ea(0x1cc)})+',\x20'+_0x23ac35[_0x42b7ea(0x1c3)](_0x1aeae6,{'hour':_0x42b7ea(0x1cc),'minute':_0x42b7ea(0x1cc)});}function _0x50e4(){var _0x24e07f=['581664DOXIoy','3295642UMOedc','32IZjvMS','9FEMzwj','2490565ERiBbQ','1394103rnthev','numeric','toLocaleDateString','11314oJLjfe','656232RqQcxT','toLocaleTimeString','1294320oHMHoW','long'];_0x50e4=function(){return _0x24e07f;};return _0x50e4();}
|