@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250206.0 → 0.0.0-nightly-20250208.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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/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 +10 -10
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49f17f=_0x3e7d;(function(_0x2a6df2,_0x25a579){const _0x2e98da=_0x3e7d,_0x1f4e00=_0x2a6df2();while(!![]){try{const _0x1fde38=-parseInt(_0x2e98da(0x250))/0x1+-parseInt(_0x2e98da(0x17c))/0x2*(-parseInt(_0x2e98da(0x18a))/0x3)+-parseInt(_0x2e98da(0x18c))/0x4*(-parseInt(_0x2e98da(0x221))/0x5)+-parseInt(_0x2e98da(0x134))/0x6*(-parseInt(_0x2e98da(0x186))/0x7)+-parseInt(_0x2e98da(0x1c2))/0x8+parseInt(_0x2e98da(0x1d1))/0x9+parseInt(_0x2e98da(0x132))/0xa*(-parseInt(_0x2e98da(0x1bd))/0xb);if(_0x1fde38===_0x25a579)break;else _0x1f4e00['push'](_0x1f4e00['shift']());}catch(_0x290af7){_0x1f4e00['push'](_0x1f4e00['shift']());}}}(_0x618f,0xa624b));import{Plugin as _0x198edf,Command as _0x52e22}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1ce2bb}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x5352b9}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x17b75c,Element as _0x5d5e67,Text as _0x56290f,ViewDocumentFragment as _0x19ccf6,ViewText as _0x19fb82,ViewElement as _0x3c7651,ViewContainerElement as _0x964aa0,ViewAttributeElement as _0x335008,ViewEmptyElement as _0x5c9b40,ViewRawElement as _0x2b4cf4,ViewUIElement as _0x493211}from'ckeditor5/src/engine.js';function _0x618f(){const _0x432174=['consume','low','getWalker','commands','forceDisabled','addMarker:revision','top','slice','pairId','getAttribute','conversion','revision-suggestion:','splice','attachChange','roots','string','isNavigationMode','change:isReady','markerToHighlight','_data','currentChangeNumber','previousPosition','plugins','has','isAddSuggestion','getDomRoot','abs','_threeWayMerge','startsWith','75CINgoM','deletions','isEnabled','_getRevisionsRange','addRevisionData','concat','toViewRange','_joinTapes','isAfter','createPositionFromPath','deletion','affectsData','activeView','_makeModelFromViewString','consumable','_findChangeIdFromDomTarget','model','attributesAfter','enqueueChange','parse','getCustomProperty','set','item','showPreviousChange','from','markerToData','vid_end','getChild','addRevision','offsetSize','markersStart','domConverter','getLaterVisibleRevision','suggestion:','removeAttribute','end','createPositionBefore','_cleanUp','addHighlight','init','default','_sortAndFilterDiffChanges','revision-end','changes','upcast','addMarker:revision-suggestion:insertion','elementEnd','1266322GIKcpA','observeMarkers','_getViewObj','ck-suggestion-preview-marker-','getAttributes','isBefore','isLimit','createRangeIn','ck-revision-history-root--active','getItems','revisionHistory','RevisionsRepository','index','code','data-revision-','map','stop','ck-revision-history-root-','_fixObsoleteTags','length','detachRoot','_cleanMarkers','_makeModelFromTape','ck-revision-history-root-add','start','revision:','repository','POSITIVE_INFINITY','removeMarker:revision-suggestion','getRevisionRootsAttributes','_processTape','getRootNames','mouseover','authors','vid','setAttribute','forward','showNextChange','split','isRemoveSuggestion','useFillerType','toData','isRemoved','markerNameToElements','removeMarker','getRoot','diffData','_changeIdToChange','isAtStart','selection','collaboration.channelId','forEach','text','513230NKvYBv','domEvent','112278Enkoyl','restoreRevision','find','then','isPremiumPlugin','bindElementToMarker','getRevision','diff','maxOffset','isEqual','_update','getRevisionData','ck-suggestion-preview-marker','_activeViewTarget','adapter','revisionHistoryAttachChange','revisionHistoryLabel','addClass','ck-suggestion-marker--active','unshift','loadRevisionData','softBreak','createRevision','insertions','name','activeChange','_makeTape','removeClass','userId','destroy','isInline','_balloon','resolve','vid_start','left','dataToMarker','mousedown','error','_appendChild','_step','endIndex','addRoot','mapViewToDom','add','data','ck-suggestion-marker-','object','_markMismatchedRemovedTags','bottom','removeMarker:revision','createUIElement','WidgetToolbarRepository','delete','_refreshStartEndIndex','getIndex','_setConversion','isObject','editingDowncast','editor','startIndex','attributes','insertion','type','checkAttribute','attribute:vid','markerName','compare','rootName','_markSuggestions','children','-new','keys','2662422uvbluv','high','change:activeView','editing','elementStart','indexOf','addMarker:revision-suggestion:deletion','_markInsertions','wrap','nextSibling','161IMiVJy','change:isEnabled','change:numberOfChanges','marked','3MOvHCO','range','286244ubCmWF','restoreRevisionCallback','toViewPosition','_removeRevisionMarkers','level','createRange','_getDiff','newRevisionId','view','requires','listenTo','shift','span','elementToAttribute','attributesBefore','downcastDispatcher','isAtEnd','done','schema','isOfficialPlugin','showStack','revision-start','modelRange','target','pluginName','_getViewForChange','isAttached','test','change:activeChange','RevisionViewer','all','unbindElementFromMarkerName','isBlock','revision-comment:','isReady','revision-viewer','_changeView','nextPosition','clear','distance','isContent','flat','_getChangeFromId','change','_initInteractions','mapper','processor','toViewElement','sort','11CimibT','locale','right','viewItem','data-change-id','10636792nClqvN','writer','document','filter','pop','ck-suggestion-marker','side','markersEnd','changeId','isAdded','getClientRects','values','highest','insert','ck-suggestion-marker-merge','4434678ifvQiD','_removeMissingPairs','comment','element:pre','isCollapsed','bind','_setDistance','dataDowncast','createAttributeElement','merge','first','isSuggestion','markerRange','push','element','hasClass','hasAttribute','ck-suggestion-marker-split','execute','toModel','backward','parent','isOnRoot','enableReadOnlyMode','catch','_setChanges','return','_markMarkers','uiElement','ck-revision-history-root-remove','updatePosition','markers','findIndex','_revisions','_removeUnsupportedChanges','nodeAfter','oldRevisionId','for','numberOfChanges','ck-editor__editable__overlay','refresh','isIncorrect','reconvertMarker','config','remove','includes','revision','suggestion','next','get','revision-suggestion'];_0x618f=function(){return _0x432174;};return _0x618f();}import{Users as _0x1b1432,getMarkerDomElement as _0x3e39ca}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x237755 from'./ui/revisionviewer/changedetailsview.js';import _0x42ca77 from'./revisionsrepository.js';import _0x4c842a from'./changeitem.js';import{default as _0x4052ca}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x4a2df0}from'lodash-es';const Y={'c':_0x964aa0,'a':_0x335008,'e':_0x5c9b40,'r':_0x2b4cf4,'u':_0x493211};export default class d extends _0x198edf{static get[_0x49f17f(0x1a4)](){const _0x541536=_0x49f17f;return _0x541536(0x1a9);}static get[_0x49f17f(0x19f)](){return!0x0;}static get[_0x49f17f(0x138)](){return!0x0;}static get[_0x49f17f(0x195)](){return[_0x1b1432,_0x5352b9,_0x42ca77];}constructor(_0x1da22b){const _0xdc424d=_0x49f17f;super(_0x1da22b),this[_0xdc424d(0x26a)]=this[_0xdc424d(0x16e)][_0xdc424d(0x21a)][_0xdc424d(0x202)](_0xdc424d(0x25b)),this[_0xdc424d(0x236)](_0xdc424d(0x14d),null),this[_0xdc424d(0x236)](_0xdc424d(0x22d),null),this[_0xdc424d(0x141)]=null,this[_0xdc424d(0x236)](_0xdc424d(0x13b),null),this[_0xdc424d(0x236)](_0xdc424d(0x1ae),!0x1),this[_0xdc424d(0x236)](_0xdc424d(0x223),!0x0),this['on'](_0xdc424d(0x187),(_0x34be04,_0x52ca5f,_0x4f6ecb)=>{const _0x5cdf02=_0xdc424d;this[_0x5cdf02(0x14d)]=null,this[_0x5cdf02(0x22d)]=null,this[_0x5cdf02(0x16e)][_0x5cdf02(0x17f)][_0x5cdf02(0x194)][_0x5cdf02(0x1b7)](_0x2be821=>{const _0x357322=_0x5cdf02;for(const _0x172a7e of this[_0x357322(0x16e)][_0x357322(0x17f)][_0x357322(0x194)][_0x357322(0x1c4)][_0x357322(0x212)])_0x4f6ecb?_0x2be821[_0x357322(0x14f)](_0x357322(0x1f8),_0x172a7e):_0x2be821[_0x357322(0x145)](_0x357322(0x1f8),_0x172a7e);});}),this[_0xdc424d(0x1d6)](_0xdc424d(0x214))['to'](this,_0xdc424d(0x14d),_0x45ab20=>null!==_0x45ab20),this[_0xdc424d(0x1d6)](_0xdc424d(0x218))['to'](this,_0xdc424d(0x1ae),this,_0xdc424d(0x13b),this,_0xdc424d(0x14d),(_0x27f64f,_0x5568ad,_0x5e080e)=>_0x27f64f&&_0x5e080e?_0x5568ad[_0xdc424d(0x24c)][_0xdc424d(0x16a)](_0x5e080e):0x0),this[_0xdc424d(0x1d6)](_0xdc424d(0x1f7))['to'](this,_0xdc424d(0x1ae),this,_0xdc424d(0x13b),(_0x4c1b76,_0x120304)=>_0x4c1b76?_0x120304[_0xdc424d(0x24c)][_0xdc424d(0x263)]:0x0),this[_0xdc424d(0x1b0)]=null,this[_0xdc424d(0x12c)]=new Map(),this[_0xdc424d(0x142)]=null,this[_0xdc424d(0x153)]=this[_0xdc424d(0x16e)][_0xdc424d(0x21a)][_0xdc424d(0x202)](_0x5352b9);}[_0x49f17f(0x248)](){const _0x205637=_0x49f17f,_0xf10742=this[_0x205637(0x16e)],_0x189ec7=new ShowChangeCommand(_0xf10742,{'direction':_0x205637(0x1e5)}),_0x5f4ce7=new ShowChangeCommand(_0xf10742,{'direction':_0x205637(0x274)});(_0xf10742[_0x205637(0x207)][_0x205637(0x15f)](_0x205637(0x238),_0x189ec7),_0xf10742[_0x205637(0x207)][_0x205637(0x15f)](_0x205637(0x275),_0x5f4ce7),_0xf10742[_0x205637(0x207)][_0x205637(0x15f)](_0x205637(0x135),new RestoreRevisionCommand(_0xf10742)),this['on'](_0x205637(0x188),()=>{const _0x3f9adb=_0x205637;_0x189ec7[_0x3f9adb(0x1f9)](),_0x5f4ce7[_0x3f9adb(0x1f9)]();}),this[_0x205637(0x16b)](),this[_0x205637(0x1b8)](),_0xf10742[_0x205637(0x1e8)](_0x205637(0x1af)),_0xf10742[_0x205637(0x21a)][_0x205637(0x21b)](_0x205637(0x167)))&&_0xf10742[_0x205637(0x21a)][_0x205637(0x202)](_0x205637(0x167))[_0x205637(0x208)](_0x205637(0x1af));}async[_0x49f17f(0x13f)](_0x4155aa){const _0xeb468e=_0x49f17f;await this[_0xeb468e(0x148)](_0x4155aa);const _0x1d5124={};for(const _0x346fef in _0x4155aa[_0xeb468e(0x12b)]){if(_0x4155aa[_0xeb468e(0x12b)][_0x346fef][_0xeb468e(0x211)]&&!_0x4155aa[_0xeb468e(0x12b)][_0x346fef][_0xeb468e(0x211)][_0xeb468e(0x1a6)])continue;const _0x238003=this[_0xeb468e(0x18f)](JSON[_0xeb468e(0x234)](_0x4155aa[_0xeb468e(0x12b)][_0x346fef][_0xeb468e(0x14b)])),_0x5729e0=this[_0xeb468e(0x16e)][_0xeb468e(0x17f)][_0xeb468e(0x194)][_0xeb468e(0x1c4)],_0x1880d4=new _0x19ccf6(_0x5729e0,_0x238003[_0xeb468e(0x25f)](_0x3c9164=>this[_0xeb468e(0x252)](_0x3c9164)));this[_0xeb468e(0x16e)][_0xeb468e(0x160)][_0xeb468e(0x1ba)][_0xeb468e(0x278)](_0xeb468e(0x189)),_0x1d5124[_0x346fef]=this[_0xeb468e(0x16e)][_0xeb468e(0x160)][_0xeb468e(0x1ba)][_0xeb468e(0x279)](_0x1880d4),this[_0xeb468e(0x16e)][_0xeb468e(0x160)][_0xeb468e(0x1ba)][_0xeb468e(0x278)](_0xeb468e(0x249));}return _0x1d5124;}async[_0x49f17f(0x26d)](_0x1334a8){const _0x5d90d3=_0x49f17f;await this[_0x5d90d3(0x148)](_0x1334a8);const _0x5a0d47={};for(const _0x3bd68f in _0x1334a8[_0x5d90d3(0x12b)])_0x1334a8[_0x5d90d3(0x12b)][_0x3bd68f][_0x5d90d3(0x211)]&&!_0x1334a8[_0x5d90d3(0x12b)][_0x3bd68f][_0x5d90d3(0x211)][_0x5d90d3(0x1a6)]||(_0x5a0d47[_0x3bd68f]=_0x1334a8[_0x5d90d3(0x12b)][_0x3bd68f][_0x5d90d3(0x232)]||{});return _0x5a0d47;}[_0x49f17f(0x18f)](_0x3b11f7){const _0x58a32e=_0x49f17f;return(_0x3b11f7=_0x3b11f7[_0x58a32e(0x1c5)](_0x54c1b1=>!_0x54c1b1[_0x58a32e(0x14c)]||_0x58a32e(0x1a1)!==_0x54c1b1[_0x58a32e(0x14c)]&&_0x58a32e(0x24b)!==_0x54c1b1[_0x58a32e(0x14c)]))[_0x58a32e(0x130)](_0x5cc248=>{const _0x33c6c2=_0x58a32e;_0x33c6c2(0x213)!=typeof _0x5cc248&&(_0x5cc248[_0x33c6c2(0x179)]=this[_0x33c6c2(0x18f)](_0x5cc248[_0x33c6c2(0x179)]),_0x5cc248[_0x33c6c2(0x170)]=_0x5cc248[_0x33c6c2(0x170)][_0x33c6c2(0x1c5)](_0x20324a=>!_0x20324a[0x0][_0x33c6c2(0x220)](_0x33c6c2(0x25e))));}),_0x3b11f7;}async[_0x49f17f(0x176)](_0x51ab2d,_0x3ebf22,_0x1a940d=!0x1){const _0x30e1aa=_0x49f17f;if(!this[_0x30e1aa(0x223)])return;const _0x446480=this[_0x30e1aa(0x13b)],_0x74a435=this[_0x30e1aa(0x26a)],_0x304a2e=_0x30e1aa(0x213)==typeof _0x51ab2d?_0x74a435[_0x30e1aa(0x13a)](_0x51ab2d):_0x51ab2d,_0x4c6711=_0x30e1aa(0x213)==typeof _0x3ebf22?_0x74a435[_0x30e1aa(0x13a)](_0x3ebf22):_0x3ebf22,_0x3f6671=_0x304a2e['id'],_0x464203=_0x4c6711?_0x4c6711['id']:null;if(!_0x1a940d&&this[_0x30e1aa(0x13b)]&&this[_0x30e1aa(0x13b)][_0x30e1aa(0x193)]===_0x3f6671&&this[_0x30e1aa(0x13b)][_0x30e1aa(0x1f5)]===_0x464203)return Promise[_0x30e1aa(0x154)]();this[_0x30e1aa(0x1ae)]=!0x1,this[_0x30e1aa(0x22d)]=null,this[_0x30e1aa(0x14d)]=null,this[_0x30e1aa(0x13b)]=new _0x4052ca(_0x3f6671,_0x464203);const _0x580b01=this[_0x30e1aa(0x224)](_0x304a2e,_0x4c6711,!0x0)[_0x30e1aa(0x25f)](_0x233ffd=>this[_0x30e1aa(0x148)](_0x233ffd));return _0x580b01[_0x30e1aa(0x1de)](new Promise(_0x5b4e0b=>{setTimeout(_0x5b4e0b,0x14);})),Promise[_0x30e1aa(0x1aa)](_0x580b01)[_0x30e1aa(0x137)](()=>{const _0x3c7e70=_0x30e1aa;if(!this[_0x3c7e70(0x223)])return;this[_0x3c7e70(0x246)]();const _0x55c0f5=this[_0x3c7e70(0x192)](_0x3f6671,_0x464203);for(const _0x4cda37 of _0x55c0f5[_0x3c7e70(0x24c)])this[_0x3c7e70(0x12c)][_0x3c7e70(0x236)](_0x4cda37['id'],_0x4cda37);this[_0x3c7e70(0x16e)][_0x3c7e70(0x231)][_0x3c7e70(0x233)]({'isUndoable':!0x1},_0x587482=>{const _0x1adea4=_0x3c7e70;for(const _0x7638a8 of this[_0x1adea4(0x16e)][_0x1adea4(0x231)][_0x1adea4(0x1c4)][_0x1adea4(0x26f)]())_0x587482[_0x1adea4(0x264)](_0x7638a8);for(const _0x4f184a of Object[_0x1adea4(0x17b)](_0x55c0f5[_0x1adea4(0x231)])){const _0x58fd6a=_0x587482[_0x1adea4(0x15d)](_0x4f184a);for(const _0x20817f of Object[_0x1adea4(0x17b)](_0x55c0f5[_0x1adea4(0x170)][_0x4f184a]))_0x587482[_0x1adea4(0x273)](_0x20817f,_0x55c0f5[_0x1adea4(0x170)][_0x4f184a][_0x20817f],_0x58fd6a);_0x587482[_0x1adea4(0x1cf)](_0x55c0f5[_0x1adea4(0x231)][_0x4f184a],_0x58fd6a,0x0);}}),this[_0x3c7e70(0x13b)][_0x3c7e70(0x1ea)](this[_0x3c7e70(0x24a)](_0x55c0f5[_0x3c7e70(0x24c)])),this[_0x3c7e70(0x1ae)]=!0x0;})[_0x30e1aa(0x1e9)](_0x434a73=>{const _0xbfb864=_0x30e1aa;console[_0xbfb864(0x159)](_0x434a73),this[_0xbfb864(0x246)](),_0x446480&&(this[_0xbfb864(0x13b)]=_0x446480),this[_0xbfb864(0x1ae)]=!0x0;});}[_0x49f17f(0x225)](_0xed9f21,_0x3812d2){const _0x1ca615=_0x49f17f,_0x47c9e4=this[_0x1ca615(0x26a)][_0x1ca615(0x14a)](_0xed9f21);return _0x47c9e4['on'](_0x1ca615(0x13e),(_0x29f50a,_0x379a76,_0x39ed98)=>_0x3812d2(_0x379a76,_0x39ed98,_0x47c9e4)),this[_0x1ca615(0x26a)][_0x1ca615(0x23d)](_0x47c9e4),_0x47c9e4;}[_0x49f17f(0x148)](_0x24ac27){const _0x1ab462=_0x49f17f;if(!_0x24ac27||_0x24ac27[_0x1ab462(0x12b)])return Promise[_0x1ab462(0x154)]();{const _0x2a7604=this[_0x1ab462(0x16e)][_0x1ab462(0x1fc)][_0x1ab462(0x202)](_0x1ab462(0x12f));return this[_0x1ab462(0x142)][_0x1ab462(0x13a)]({'channelId':_0x2a7604,'revisionId':_0x24ac27['id']})[_0x1ab462(0x137)](_0x193af4=>{const _0x94d510=_0x1ab462;_0x24ac27[_0x94d510(0x13e)]({'diffData':_0x193af4[_0x94d510(0x12b)]},!0x0);});}}[_0x49f17f(0x246)](){const _0x29a15e=_0x49f17f;this[_0x29a15e(0x14d)]=null,this[_0x29a15e(0x265)](),this[_0x29a15e(0x1b0)]&&this[_0x29a15e(0x1b0)][_0x29a15e(0x151)](),this[_0x29a15e(0x1b0)]=null,this[_0x29a15e(0x12c)][_0x29a15e(0x1b2)](),this[_0x29a15e(0x16e)][_0x29a15e(0x231)][_0x29a15e(0x233)]({'isUndoable':!0x1},_0x9f177e=>{const _0x2ad6f5=_0x29a15e;for(const _0xde9de4 of this[_0x2ad6f5(0x16e)][_0x2ad6f5(0x231)][_0x2ad6f5(0x1c4)][_0x2ad6f5(0x26f)]())_0x9f177e[_0x2ad6f5(0x264)](_0xde9de4);});}[_0x49f17f(0x24a)](_0x1cc8f7){const _0x551cc4=_0x49f17f,_0x5aa93f=[],_0x29ba8d=new Map();for(const _0x533054 of this[_0x551cc4(0x16e)][_0x551cc4(0x231)][_0x551cc4(0x1c4)][_0x551cc4(0x26f)]()){const _0x72d3f2=this[_0x551cc4(0x16e)][_0x551cc4(0x17f)][_0x551cc4(0x194)][_0x551cc4(0x21d)](_0x533054);if(!_0x72d3f2)continue;const _0x4a99de=_0x72d3f2[_0x551cc4(0x1cc)]()[_0x551cc4(0x237)](0x0);_0x4a99de&&(_0x5aa93f[_0x551cc4(0x1de)](_0x533054),_0x29ba8d[_0x551cc4(0x236)](_0x533054,_0x4a99de));}return _0x5aa93f[_0x551cc4(0x1bc)]((_0x10a4a2,_0x3d34e5)=>{const _0x3657c2=_0x551cc4,_0x1c89c4=_0x29ba8d[_0x3657c2(0x202)](_0x10a4a2),_0x94a737=_0x29ba8d[_0x3657c2(0x202)](_0x3d34e5);return _0x1c89c4['y']-_0x94a737['y']||_0x1c89c4['x']-_0x94a737['x'];}),(_0x1cc8f7=_0x1cc8f7[_0x551cc4(0x1c5)](_0x3e7dfe=>_0x5aa93f[_0x551cc4(0x1fe)](_0x3e7dfe[_0x551cc4(0x177)])))[_0x551cc4(0x1bc)]((_0x28c133,_0x3d9ac1)=>_0x5aa93f[_0x551cc4(0x181)](_0x28c133[_0x551cc4(0x177)])-_0x5aa93f[_0x551cc4(0x181)](_0x3d9ac1[_0x551cc4(0x177)])),_0x1cc8f7;}[_0x49f17f(0x14e)](_0x5786e){const _0x2f2839=_0x49f17f,_0x93ec31=Array[_0x2f2839(0x239)](_0x5786e[_0x2f2839(0x1f0)])[_0x2f2839(0x1c5)](([_0x32e3ed,_0x2e263f])=>_0x32e3ed[_0x2f2839(0x220)](_0x2f2839(0x269))&&!_0x2e263f[_0x2f2839(0x1d5)]),_0x270745=Array[_0x2f2839(0x239)](this[_0x2f2839(0x16e)][_0x2f2839(0x231)][_0x2f2839(0x257)](_0x5786e)[_0x2f2839(0x206)]({'singleCharacters':!0x0}));if(0x0!=_0x93ec31[_0x2f2839(0x263)])for(const _0x143a06 of _0x270745){const [_0xb1823c,_0x5e38fa]=_0x93ec31[0x0],[,_0x27a756,_0x1d5bb0]=_0xb1823c[_0x2f2839(0x276)](':');if(_0x5e38fa[_0x2f2839(0x244)][_0x2f2839(0x13d)](_0x143a06[_0x2f2839(0x1b1)])&&_0x93ec31[_0x2f2839(0x197)](),(_0x143a06[_0x2f2839(0x219)][_0x2f2839(0x13d)](_0x5e38fa[_0x2f2839(0x268)])||_0x143a06[_0x2f2839(0x219)][_0x2f2839(0x229)](_0x5e38fa[_0x2f2839(0x268)]))&&(_0x2f2839(0x171)==_0x27a756?_0x143a06[_0x2f2839(0x1cb)]={'userId':_0x1d5bb0}:_0x2f2839(0x22b)==_0x27a756&&(_0x143a06[_0x2f2839(0x27a)]={'userId':_0x1d5bb0})),0x0==_0x93ec31[_0x2f2839(0x263)])break;}return _0x270745;}[_0x49f17f(0x169)](_0x5d9bd3){const _0x5852bb=_0x49f17f,_0x1b2b78=new Map();for(let _0xfee697=0x0;_0xfee697<_0x5d9bd3[_0x5852bb(0x263)];_0xfee697++)_0x5852bb(0x131)===_0x5d9bd3[_0xfee697][_0x5852bb(0x172)]?(_0x5d9bd3[_0xfee697][_0x5852bb(0x237)][_0x5852bb(0x16f)]=_0xfee697,_0x5d9bd3[_0xfee697][_0x5852bb(0x237)][_0x5852bb(0x15c)]=_0xfee697):(_0x5852bb(0x180)===_0x5d9bd3[_0xfee697][_0x5852bb(0x172)]?_0x5d9bd3[_0xfee697][_0x5852bb(0x237)][_0x5852bb(0x16f)]=_0xfee697:_0x5852bb(0x24f)===_0x5d9bd3[_0xfee697][_0x5852bb(0x172)]&&(_0x5d9bd3[_0xfee697][_0x5852bb(0x237)][_0x5852bb(0x15c)]=_0xfee697),_0x1b2b78[_0x5852bb(0x236)](_0x5d9bd3[_0xfee697]['id'],_0xfee697));for(const _0x34dab5 of _0x1b2b78[_0x5852bb(0x1cd)]())_0x5852bb(0x180)===_0x5d9bd3[_0x34dab5][_0x5852bb(0x172)]?_0x5d9bd3[_0x34dab5][_0x5852bb(0x237)][_0x5852bb(0x15c)]=_0x1b2b78[_0x5852bb(0x202)](_0x5d9bd3[_0x34dab5][_0x5852bb(0x20c)]):_0x5852bb(0x24f)===_0x5d9bd3[_0x34dab5][_0x5852bb(0x172)]&&(_0x5d9bd3[_0x34dab5][_0x5852bb(0x237)][_0x5852bb(0x16f)]=_0x1b2b78[_0x5852bb(0x202)](_0x5d9bd3[_0x34dab5][_0x5852bb(0x20c)]));}[_0x49f17f(0x26e)](_0xb75d53){const _0x12f47a=_0x49f17f;for(let _0x4a652a=0x0;_0x4a652a<_0xb75d53[_0x12f47a(0x263)];_0x4a652a++){if(_0x12f47a(0x180)===_0xb75d53[_0x4a652a][_0x12f47a(0x172)])_0xb75d53[_0x4a652a][_0x12f47a(0x237)][_0x12f47a(0x16f)]=_0x4a652a;else{if(_0x12f47a(0x24f)===_0xb75d53[_0x4a652a][_0x12f47a(0x172)]){_0xb75d53[_0x4a652a][_0x12f47a(0x237)][_0x12f47a(0x15c)]=_0x4a652a;const _0x2025c0=_0xb75d53[_0x4a652a][_0x12f47a(0x237)][_0x12f47a(0x16f)];_0xb75d53[_0x2025c0][_0x12f47a(0x20c)]=_0xb75d53[_0x4a652a]['id'],_0xb75d53[_0x4a652a][_0x12f47a(0x20c)]=_0xb75d53[_0x2025c0]['id'];}else _0xb75d53[_0x4a652a][_0x12f47a(0x237)][_0x12f47a(0x16f)]=_0x4a652a,_0xb75d53[_0x4a652a][_0x12f47a(0x237)][_0x12f47a(0x15c)]=_0x4a652a,_0xb75d53[_0x4a652a][_0x12f47a(0x20c)]=null;}_0xb75d53[_0x4a652a][_0x12f47a(0x23f)]||(_0xb75d53[_0x4a652a][_0x12f47a(0x23f)]=[],_0xb75d53[_0x4a652a][_0x12f47a(0x1c9)]=[]);}}[_0x49f17f(0x183)](_0x350d8a,_0x25fa40){const _0x2e26f4=_0x49f17f,_0x472da6=_0x350d8a[_0x2e26f4(0x1c5)](_0x398d73=>!_0x398d73[_0x2e26f4(0x1cb)]);for(let _0x20abb4=0x0;_0x20abb4<_0x25fa40[_0x2e26f4(0x263)];_0x20abb4++)_0x25fa40[_0x20abb4][_0x2e26f4(0x1cb)]&&(_0x472da6[_0x20abb4][_0x2e26f4(0x1cb)]=_0x25fa40[_0x20abb4][_0x2e26f4(0x1cb)]);}[_0x49f17f(0x22e)](_0x5013c1){const _0xb4ec78=_0x49f17f,_0x2fa4a4=JSON[_0xb4ec78(0x234)](_0x5013c1),_0x4deb11=this[_0xb4ec78(0x16e)][_0xb4ec78(0x17f)][_0xb4ec78(0x194)][_0xb4ec78(0x1c4)],_0x3e72f6=new _0x19ccf6(_0x4deb11,_0x2fa4a4[_0xb4ec78(0x25f)](_0x252c6e=>this[_0xb4ec78(0x252)](_0x252c6e)));return this[_0xb4ec78(0x16e)][_0xb4ec78(0x160)][_0xb4ec78(0x1e4)](_0x3e72f6);}[_0x49f17f(0x252)](_0x51c396){const _0x4964f1=_0x49f17f,_0x3d8f3f=this[_0x4964f1(0x16e)][_0x4964f1(0x17f)][_0x4964f1(0x194)][_0x4964f1(0x1c4)];if(_0x4964f1(0x213)==typeof _0x51c396)return new _0x19fb82(_0x3d8f3f,_0x51c396);{const _0x2606a8=_0x51c396[_0x4964f1(0x179)][_0x4964f1(0x25f)](_0x359110=>this[_0x4964f1(0x252)](_0x359110));return new(Y[_0x51c396[(_0x4964f1(0x172))]]||_0x3c7651)(_0x3d8f3f,_0x51c396[_0x4964f1(0x14c)],_0x51c396[_0x4964f1(0x170)],_0x2606a8);}}[_0x49f17f(0x192)](_0x33a191,_0x398eb2=null){const _0x513af4=_0x49f17f,_0x20c778=this[_0x513af4(0x26a)][_0x513af4(0x13a)](_0x33a191),_0x457e71=_0x398eb2?this[_0x513af4(0x26a)][_0x513af4(0x13a)](_0x398eb2):null,_0x25849d=this[_0x513af4(0x224)](_0x20c778,_0x457e71),_0x498d85=_0x25849d[_0x25849d[_0x513af4(0x263)]-0x1],_0x2a210d=new Map(),_0x51bd88={'model':{},'attributes':{},'changes':[]},_0x3478c9=new Set(),_0x57ad49=new Map();for(let _0x56f526=_0x25849d[_0x513af4(0x263)]-0x1;_0x56f526>=0x0;_0x56f526--){const _0x32daa6=_0x25849d[_0x56f526];for(const _0x3d8737 of Object[_0x513af4(0x17b)](_0x32daa6[_0x513af4(0x12b)]))if(_0x32daa6[_0x513af4(0x12b)][_0x3d8737][_0x513af4(0x211)]){const _0x4726e8=_0x32daa6[_0x513af4(0x12b)][_0x3d8737][_0x513af4(0x211)];_0x4726e8[_0x513af4(0x1a6)]?(_0x3478c9[_0x513af4(0x15f)](_0x3d8737),_0x57ad49[_0x513af4(0x21b)](_0x3d8737)&&_0x57ad49[_0x513af4(0x202)](_0x3d8737)[_0x513af4(0x150)]==_0x4726e8[_0x513af4(0x150)]?_0x57ad49[_0x513af4(0x168)](_0x3d8737):_0x57ad49[_0x513af4(0x236)](_0x3d8737,_0x4726e8)):_0x57ad49[_0x513af4(0x21b)](_0x3d8737)?(_0x3478c9[_0x513af4(0x168)](_0x3d8737),_0x57ad49[_0x513af4(0x168)](_0x3d8737)):(_0x3478c9[_0x513af4(0x15f)](_0x3d8737),_0x57ad49[_0x513af4(0x236)](_0x3d8737,_0x4726e8));}else _0x3478c9[_0x513af4(0x15f)](_0x3d8737);}for(const _0x237b3c of _0x3478c9){const _0x51e18e=_0x57ad49[_0x513af4(0x21b)](_0x237b3c)&&!_0x57ad49[_0x513af4(0x202)](_0x237b3c)[_0x513af4(0x1a6)];let _0x254911=_0x51e18e?_0x25849d[_0x513af4(0x263)]-0x1:0x0;const _0x537f87=_0x51e18e?-0x1:0x1;for(;_0x25849d[_0x254911];){const _0x1af473=_0x25849d[_0x254911];if(_0x1af473[_0x513af4(0x12b)][_0x237b3c]){const _0x367401=_0x51e18e?_0x1af473[_0x513af4(0x12b)][_0x237b3c][_0x513af4(0x19a)]:_0x1af473[_0x513af4(0x12b)][_0x237b3c][_0x513af4(0x232)];_0x51bd88[_0x513af4(0x170)][_0x237b3c]=_0x367401?_0x4a2df0(_0x367401):{};break;}_0x254911+=_0x537f87;}}for(const _0x3d0ba8 of _0x25849d){_0x3d0ba8[_0x513af4(0x231)]={};for(const _0x374f1c of _0x3d0ba8[_0x513af4(0x271)])_0x2a210d[_0x513af4(0x236)](_0x374f1c['id'],_0x374f1c);for(const _0x1cbaa4 of _0x3478c9){const _0x10b7c3=_0x3d0ba8[_0x513af4(0x12b)][_0x1cbaa4]?_0x3d0ba8[_0x513af4(0x12b)][_0x1cbaa4][_0x513af4(0x14b)]:'[]',_0x13875d=_0x3d0ba8[_0x513af4(0x12b)][_0x1cbaa4]?_0x3d0ba8[_0x513af4(0x12b)][_0x1cbaa4][_0x513af4(0x222)]:'[]';_0x3d0ba8[_0x513af4(0x231)][_0x1cbaa4]={'insertions':this[_0x513af4(0x22e)](_0x10b7c3),'deletions':this[_0x513af4(0x22e)](_0x13875d)};}}for(const _0x458e48 of _0x3478c9){let _0x42cba9=null,_0x5050e3=0x0;const _0x1a79b4=new Map(Array[_0x513af4(0x239)](_0x20c778[_0x513af4(0x231)][_0x458e48][_0x513af4(0x14b)][_0x513af4(0x1f0)])[_0x513af4(0x1c5)](([_0x5c44a4])=>!_0x5c44a4[_0x513af4(0x220)](_0x513af4(0x269))));let _0x514f0f=0x0;for(const _0x8b08 of _0x25849d){const _0x120f71=this[_0x513af4(0x14e)](_0x8b08[_0x513af4(0x231)][_0x458e48][_0x513af4(0x14b)]);_0x8b08==_0x20c778?(_0x42cba9=_0x120f71,_0x5050e3=_0x42cba9[_0x513af4(0x263)],_0x42cba9[_0x513af4(0x130)](_0x4521e7=>{_0x4521e7['id']=_0x514f0f++;}),this[_0x513af4(0x26e)](_0x42cba9)):this[_0x513af4(0x183)](_0x42cba9,_0x120f71);const _0x53ff2e=_0x42cba9[_0x513af4(0x1c5)](_0x57b208=>!_0x57b208[_0x513af4(0x1cb)])[_0x513af4(0x25f)](_0x41f124=>_0x41f124['id']);let _0xeb7b1c=0x0;const _0x32162f=this[_0x513af4(0x14e)](_0x8b08[_0x513af4(0x231)][_0x458e48][_0x513af4(0x222)]);_0x32162f[_0x513af4(0x130)](_0x17991f=>{const _0x46f7ac=_0x513af4;_0x17991f[_0x46f7ac(0x27a)]?_0x17991f['id']=_0x5050e3++:_0x17991f['id']=_0x53ff2e[_0xeb7b1c++];}),this[_0x513af4(0x26e)](_0x32162f),this[_0x513af4(0x1d7)](_0x42cba9,_0x513af4(0x1cb)),this[_0x513af4(0x1d7)](_0x32162f,_0x513af4(0x27a)),_0x8b08==_0x20c778&&this[_0x513af4(0x1ec)](_0x42cba9,_0x1a79b4),_0x42cba9=this[_0x513af4(0x228)](_0x42cba9,_0x32162f),this[_0x513af4(0x169)](_0x42cba9),this[_0x513af4(0x1d7)](_0x42cba9,_0x513af4(0x27a));}_0x42cba9=_0x42cba9[_0x513af4(0x1c5)](_0x256e49=>!(_0x256e49[_0x513af4(0x1cb)]&&_0x256e49[_0x513af4(0x27a)]));const _0x3f37cf=new Map(_0x498d85[_0x513af4(0x231)][_0x458e48][_0x513af4(0x222)][_0x513af4(0x1f0)]),_0x4e6dda=new Set(_0x1a79b4[_0x513af4(0x17b)]());for(const _0x50e3d5 of _0x3f37cf[_0x513af4(0x17b)]())_0x4e6dda[_0x513af4(0x168)](_0x50e3d5);this[_0x513af4(0x178)](_0x42cba9,_0x4e6dda),this[_0x513af4(0x262)](_0x42cba9),_0x42cba9=this[_0x513af4(0x1d2)](_0x42cba9),_0x42cba9=this[_0x513af4(0x163)](_0x42cba9),_0x42cba9=this[_0x513af4(0x1f3)](_0x42cba9);const {root:_0x2dd34c,changes:_0x1a8b66}=this[_0x513af4(0x266)](_0x42cba9,_0x2a210d,_0x458e48);_0x51bd88[_0x513af4(0x231)][_0x458e48]=_0x2dd34c;const _0x496fbe=_0x57ad49[_0x513af4(0x202)](_0x458e48);if(_0x496fbe){const _0x4f001a=_0x2a210d[_0x513af4(0x202)](_0x496fbe[_0x513af4(0x150)]),_0x204adc=new _0x4c842a({'author':_0x4f001a,'type':_0x496fbe[_0x513af4(0x1a6)]?_0x513af4(0x15f):_0x513af4(0x1fd),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x458e48});_0x1a8b66[_0x513af4(0x147)](_0x204adc),_0x51bd88[_0x513af4(0x170)][_0x458e48][_0x513af4(0x143)]=_0x204adc['id'];}_0x51bd88[_0x513af4(0x24c)]=_0x51bd88[_0x513af4(0x24c)][_0x513af4(0x226)](_0x1a8b66);}return _0x51bd88;}[_0x49f17f(0x1ec)](_0xb6b98a,_0x118759){const _0x248c77=_0x49f17f;for(let _0x3fc013=0x0;_0x3fc013<_0xb6b98a[_0x248c77(0x263)];_0x3fc013++)for(const [_0x36c98b,_0xe8e37b]of _0x118759)_0xe8e37b[_0x248c77(0x268)][_0x248c77(0x13d)](_0xb6b98a[_0x3fc013][_0x248c77(0x219)])&&_0xb6b98a[_0x3fc013][_0x248c77(0x23f)][_0x248c77(0x1de)](_0x36c98b),_0xe8e37b[_0x248c77(0x244)][_0x248c77(0x13d)](_0xb6b98a[_0x3fc013][_0x248c77(0x1b1)])&&_0xb6b98a[_0x3fc013][_0x248c77(0x1c9)][_0x248c77(0x1de)](_0x36c98b);}[_0x49f17f(0x228)](_0x4f7011,_0x1bcd44){const _0x5a2276=_0x49f17f;let _0x418aef=[],_0x58534a=0x0,_0x15c0da=0x0;for(;_0x58534a<_0x4f7011[_0x5a2276(0x263)]||_0x15c0da<_0x1bcd44[_0x5a2276(0x263)];){const _0x6eaac5=_0x4f7011[_0x58534a]||{},_0x3e6053=_0x1bcd44[_0x15c0da]||{};if(_0x6eaac5['id']==_0x3e6053['id'])_0x58534a++,_0x15c0da++,_0x418aef[_0x5a2276(0x1de)](_0x6eaac5);else{if(_0x3e6053[_0x5a2276(0x27a)]&&_0x6eaac5[_0x5a2276(0x1cb)]){const {commonTape:_0x34fb29,iEnd:_0xb472e9,jEnd:_0x260020}=this[_0x5a2276(0x21f)](_0x4f7011,_0x58534a,_0x1bcd44,_0x15c0da);_0x418aef=_0x418aef[_0x5a2276(0x226)](_0x34fb29),_0x58534a=_0xb472e9,_0x15c0da=_0x260020;}else _0x3e6053[_0x5a2276(0x27a)]?(_0x15c0da++,_0x418aef[_0x5a2276(0x1de)](_0x3e6053)):(_0x58534a++,_0x418aef[_0x5a2276(0x1de)](_0x6eaac5));}}return _0x418aef;}[_0x49f17f(0x178)](_0x3eeefb,_0x419cb2){const _0x45bb10=_0x49f17f,_0x25382e=[];for(let _0x5218a7=0x0;_0x5218a7<_0x3eeefb[_0x45bb10(0x263)];_0x5218a7++){for(let _0x2ad675=0x0;_0x2ad675<_0x3eeefb[_0x5218a7][_0x45bb10(0x23f)][_0x45bb10(0x263)];_0x2ad675++){const _0x34b484=_0x3eeefb[_0x5218a7][_0x45bb10(0x23f)][_0x2ad675];if(!_0x419cb2[_0x45bb10(0x21b)](_0x34b484))continue;const {group:_0x3b02f3,type:_0x366048,authorId:_0xcf1108}=_0x12a2bb(_0x34b484);_0x45bb10(0x203)!=_0x3b02f3||_0x45bb10(0x171)!=_0x366048&&_0x45bb10(0x22b)!=_0x366048||(_0x25382e[_0x45bb10(0x147)]({'type':_0x366048,'name':_0x34b484,'userId':_0xcf1108}),_0x3eeefb[_0x5218a7][_0x45bb10(0x23f)][_0x45bb10(0x210)](_0x2ad675,0x1),_0x2ad675--);}_0x1b0a4d(_0x3eeefb[_0x5218a7]);for(let _0x4cb7a5=0x0;_0x4cb7a5<_0x3eeefb[_0x5218a7][_0x45bb10(0x1c9)][_0x45bb10(0x263)];_0x4cb7a5++){const _0x4c1200=_0x3eeefb[_0x5218a7][_0x45bb10(0x1c9)][_0x4cb7a5];if(!_0x419cb2[_0x45bb10(0x21b)](_0x4c1200))continue;const {group:_0x5420b6,type:_0x457478}=_0x12a2bb(_0x4c1200);if(_0x45bb10(0x203)!=_0x5420b6||_0x45bb10(0x171)!=_0x457478&&_0x45bb10(0x22b)!=_0x457478)continue;_0x3eeefb[_0x5218a7][_0x45bb10(0x1c9)][_0x45bb10(0x210)](_0x4cb7a5,0x1),_0x4cb7a5--;const _0x4ac720=_0x25382e[_0x45bb10(0x1f1)](_0x4e9d92=>_0x4e9d92[_0x45bb10(0x14c)]==_0x4c1200);_0x4ac720>-0x1&&_0x25382e[_0x45bb10(0x210)](_0x4ac720,0x1);}}function _0x12a2bb(_0x554e17){const _0x4c6476=_0x45bb10,_0x45b216=_0x554e17[_0x4c6476(0x276)](':');return{'group':_0x45b216[0x0],'type':_0x45b216[0x1],'subType':_0x45b216[_0x4c6476(0x263)]>=0x5?_0x45b216[0x2]:null,'id':_0x45b216[_0x4c6476(0x263)]<0x5?_0x45b216[0x2]:_0x45b216[0x3],'authorId':_0x45b216[_0x4c6476(0x263)]<0x5?_0x45b216[0x3]:_0x45b216[0x4],'markerCount':0x6==_0x45b216[_0x4c6476(0x263)]?_0x45b216[0x5]:null};}function _0x1b0a4d(_0x340cde){const _0x2634f1=_0x45bb10;for(let _0x56e8b6=0x0;_0x56e8b6<_0x25382e[_0x2634f1(0x263)];_0x56e8b6++){if(_0x340cde[_0x2634f1(0x1cb)]&&_0x2634f1(0x171)==_0x25382e[_0x56e8b6][_0x2634f1(0x172)])return _0x340cde[_0x2634f1(0x21c)]=_0x25382e[_0x56e8b6],void delete _0x340cde[_0x2634f1(0x1cb)];if(!_0x340cde[_0x2634f1(0x1cb)]&&!_0x340cde[_0x2634f1(0x27a)]&&_0x2634f1(0x22b)==_0x25382e[_0x56e8b6][_0x2634f1(0x172)])return void(_0x340cde[_0x2634f1(0x277)]=_0x25382e[_0x56e8b6]);}}}[_0x49f17f(0x1d7)](_0x51a168,_0x5a61a6){const _0x22a48d=_0x49f17f;let _0x4727d5=0x0,_0x578466=!0x1;const _0x25c603=new Map();for(const _0x17640b of _0x51a168)_0x17640b[_0x5a61a6]?_0x578466&&(_0x4727d5++,_0x578466=!0x1):(_0x4727d5++,_0x578466=!0x0),_0x25c603[_0x22a48d(0x236)](_0x17640b['id'],_0x4727d5);for(let _0x5e56c2=0x0;_0x5e56c2<_0x51a168[_0x22a48d(0x263)];_0x5e56c2++){if(_0x22a48d(0x27a)==_0x5a61a6&&_0x51a168[_0x5e56c2][_0x22a48d(0x1cb)]||_0x22a48d(0x1cb)==_0x5a61a6&&_0x51a168[_0x5e56c2][_0x22a48d(0x27a)])continue;if(_0x22a48d(0x131)==_0x51a168[_0x5e56c2][_0x22a48d(0x172)]){_0x51a168[_0x5e56c2][_0x22a48d(0x1b3)]=0x0;continue;}const _0x1582eb=_0x25c603[_0x22a48d(0x202)](_0x51a168[_0x5e56c2][_0x22a48d(0x20c)]),_0x5cf0f4=_0x25c603[_0x22a48d(0x202)](_0x51a168[_0x5e56c2]['id']);_0x51a168[_0x5e56c2][_0x22a48d(0x1b3)]=_0x1582eb-_0x5cf0f4;}}[_0x49f17f(0x224)](_0x39d129,_0x2d17b1,_0x2f1c01=!0x1){const _0x15bd77=_0x49f17f,_0x1b341d=[];let _0x514103=this[_0x15bd77(0x26a)][_0x15bd77(0x16a)](_0x39d129),_0x4a1e82=this[_0x15bd77(0x26a)][_0x15bd77(0x16a)](_0x2d17b1);for(-0x1==_0x4a1e82&&(_0x4a1e82=this[_0x15bd77(0x26a)][_0x15bd77(0x1f2)][_0x15bd77(0x263)],_0x2f1c01=!0x1);_0x514103<_0x4a1e82;)_0x1b341d[_0x15bd77(0x1de)](this[_0x15bd77(0x26a)][_0x15bd77(0x13a)](_0x514103)),_0x514103++;return _0x2f1c01&&_0x1b341d[_0x15bd77(0x1de)](this[_0x15bd77(0x26a)][_0x15bd77(0x13a)](_0x514103)),_0x1b341d;}[_0x49f17f(0x21f)](_0x543927,_0x42e104,_0x362884,_0x502719){const _0x27dc11=_0x49f17f,_0x1763d9=this[_0x27dc11(0x16e)][_0x27dc11(0x231)][_0x27dc11(0x19e)];let _0x5a65e7=_0x42e104;for(;_0x543927[_0x5a65e7]&&_0x543927[_0x5a65e7][_0x27dc11(0x1cb)];)_0x5a65e7++;let _0x5bccf8=_0x502719;for(;_0x362884[_0x5bccf8]&&_0x362884[_0x5bccf8][_0x27dc11(0x27a)];)_0x5bccf8++;_0x65b14f(_0x543927,_0x42e104,_0x5a65e7),_0x65b14f(_0x362884,_0x502719,_0x5bccf8);const _0x39471f=_0x362884[_0x27dc11(0x20b)](_0x502719,_0x5bccf8)[_0x27dc11(0x226)](_0x543927[_0x27dc11(0x20b)](_0x42e104,_0x5a65e7));return _0x39471f[_0x27dc11(0x1bc)]((_0x5718b6,_0x1dfcab)=>_0x5718b6[_0x27dc11(0x1c8)]!=_0x1dfcab[_0x27dc11(0x1c8)]?_0x5718b6[_0x27dc11(0x1c8)]-_0x1dfcab[_0x27dc11(0x1c8)]:_0x5718b6[_0x27dc11(0x190)]!=_0x1dfcab[_0x27dc11(0x190)]?_0x5718b6[_0x27dc11(0x190)]-_0x1dfcab[_0x27dc11(0x190)]:_0x5718b6[_0x27dc11(0x1b3)]!=_0x1dfcab[_0x27dc11(0x1b3)]?_0x1dfcab[_0x27dc11(0x1b3)]-_0x5718b6[_0x27dc11(0x1b3)]:!!_0x5718b6[_0x27dc11(0x1cb)]!=!!_0x1dfcab[_0x27dc11(0x1cb)]?-0x1==_0x5718b6[_0x27dc11(0x1c8)]||0x0==_0x5718b6[_0x27dc11(0x1c8)]?_0x5718b6[_0x27dc11(0x1cb)]?-0x1:0x1:_0x5718b6[_0x27dc11(0x1cb)]?0x1:-0x1:_0x5718b6[_0x27dc11(0x25c)]-_0x1dfcab[_0x27dc11(0x25c)]),{'commonTape':_0x39471f,'iEnd':_0x5a65e7,'jEnd':_0x5bccf8};function _0x65b14f(_0x1d6174,_0xbdfac4,_0x29a034){const _0x33b8db=_0x27dc11;let _0x119524=-0x1,_0x9018b8=Number[_0x33b8db(0x26b)],_0x16f092=!0x0;for(let _0x118864=_0xbdfac4;_0x118864<_0x29a034;_0x118864++)if(_0x1763d9[_0x33b8db(0x152)](_0x1d6174[_0x118864][_0x33b8db(0x237)])||(_0x16f092=!0x1),_0x1d6174[_0x118864][_0x33b8db(0x237)][_0x33b8db(0x16f)]<_0xbdfac4&&(_0x119524=_0x118864),_0x1d6174[_0x118864][_0x33b8db(0x237)][_0x33b8db(0x15c)]>=_0x29a034){_0x9018b8=_0x118864;break;}_0x16f092&&(_0x119524=_0x29a034-0x1);for(let _0x4c51bf=_0xbdfac4;_0x4c51bf<_0x29a034;_0x4c51bf++)_0x1d6174[_0x4c51bf][_0x33b8db(0x1c8)]=_0x4c51bf<=_0x119524?-0x1:_0x4c51bf<_0x9018b8?0x0:0x1,_0x1d6174[_0x4c51bf][_0x33b8db(0x25c)]=_0x4c51bf;let _0x23193a=0x0;for(let _0x42a883=_0xbdfac4;_0x42a883<=_0x119524;_0x42a883++)0x0==_0x1d6174[_0x42a883][_0x33b8db(0x1b3)]?_0x1d6174[_0x42a883][_0x33b8db(0x190)]=_0x23193a:(_0x23193a++,_0x1d6174[_0x42a883][_0x33b8db(0x190)]=_0x23193a,_0x23193a++);for(let _0x145621=_0xbdfac4;_0x145621<_0x29a034;_0x145621++)0x0==_0x1d6174[_0x145621][_0x33b8db(0x1c8)]&&(_0x1d6174[_0x145621][_0x33b8db(0x190)]=_0x23193a);_0x23193a=0x0;for(let _0x42fb87=_0x29a034-0x1;_0x42fb87>=_0x9018b8;_0x42fb87--)0x0==_0x1d6174[_0x42fb87][_0x33b8db(0x1b3)]?_0x1d6174[_0x42fb87][_0x33b8db(0x190)]=_0x23193a:(_0x23193a--,_0x1d6174[_0x42fb87][_0x33b8db(0x190)]=_0x23193a,_0x23193a--);}}[_0x49f17f(0x262)](_0xce076){const _0x417115=_0x49f17f,_0x5ea01f=new Map(),_0x20043d=this[_0x417115(0x16e)][_0x417115(0x231)][_0x417115(0x19e)];for(let _0x5684f4=0x1;_0x5684f4<_0xce076[_0x417115(0x263)];_0x5684f4++){let _0x4b074b,_0x2d2626,_0x2cccfa;const _0xaea54d=_0xce076[_0x5684f4],_0x1792c9=_0xce076[_0x5684f4-0x1];if(_0x417115(0x131)==_0xaea54d[_0x417115(0x172)])continue;if(_0xaea54d[_0x417115(0x172)]!=_0x1792c9[_0x417115(0x172)])continue;if(!_0x20043d[_0x417115(0x1ac)](_0x1792c9[_0x417115(0x237)])||_0x20043d[_0x417115(0x256)](_0x1792c9[_0x417115(0x237)]))continue;if(!_0x20043d[_0x417115(0x1ac)](_0xaea54d[_0x417115(0x237)])||_0x20043d[_0x417115(0x256)](_0xaea54d[_0x417115(0x237)]))continue;if((_0xce076[_0x5684f4][_0x417115(0x1cb)]||_0xce076[_0x5684f4][_0x417115(0x21c)])&&_0xce076[_0x5684f4-0x1][_0x417115(0x27a)])_0x4b074b=_0xce076[_0x5684f4],_0x2d2626=_0xce076[_0x5684f4-0x1],_0x2cccfa=_0x5684f4-0x1;else{if(!_0xce076[_0x5684f4][_0x417115(0x27a)]||!_0xce076[_0x5684f4-0x1][_0x417115(0x1cb)]&&!_0xce076[_0x5684f4-0x1][_0x417115(0x21c)])continue;_0x4b074b=_0xce076[_0x5684f4-0x1],_0x2d2626=_0xce076[_0x5684f4],_0x2cccfa=_0x5684f4;}const _0x485510=_0x4b074b[_0x417115(0x190)]==_0x2d2626[_0x417115(0x190)],_0x5a79ec=Math[_0x417115(0x21e)](_0x4b074b[_0x417115(0x190)])<Math[_0x417115(0x21e)](_0x2d2626[_0x417115(0x190)])&&0x0==_0x2d2626[_0x417115(0x1b3)];(_0x485510||_0x5a79ec)&&(_0x5ea01f[_0x417115(0x236)](_0x2d2626['id'],_0x4b074b['id']),_0xce076[_0x417115(0x210)](_0x2cccfa,0x1),_0x5684f4--,_0x4b074b[_0x417115(0x1cb)]=!0x1);}for(let _0x38a4e6=0x0;_0x38a4e6<_0xce076[_0x417115(0x263)];_0x38a4e6++)_0x5ea01f[_0x417115(0x21b)](_0xce076[_0x38a4e6][_0x417115(0x20c)])&&(_0xce076[_0x38a4e6][_0x417115(0x20c)]=_0x5ea01f[_0x417115(0x202)](_0xce076[_0x38a4e6][_0x417115(0x20c)]));}[_0x49f17f(0x1d2)](_0x3780f4){const _0x813712=_0x49f17f,_0x1586da=new Set(_0x3780f4[_0x813712(0x25f)](_0x43e025=>_0x43e025['id']));for(let _0x1e0104=0x0;_0x1e0104<_0x3780f4[_0x813712(0x263)];_0x1e0104++)_0x1586da[_0x813712(0x21b)](_0x3780f4[_0x1e0104][_0x813712(0x20c)])||0x0==_0x3780f4[_0x1e0104][_0x813712(0x1b3)]||(_0x3780f4[_0x1e0104][_0x813712(0x1fa)]=!0x0);return _0x3780f4[_0x813712(0x1c5)](_0x1e4e8a=>!_0x1e4e8a[_0x813712(0x1fa)]);}[_0x49f17f(0x163)](_0xb0fd1a){const _0x1a753a=_0x49f17f,_0xd1bcf0=new Set();for(let _0x2fddb2=0x0;_0x2fddb2<_0xb0fd1a[_0x1a753a(0x263)];_0x2fddb2++){if(_0xd1bcf0[_0x1a753a(0x21b)](_0xb0fd1a[_0x2fddb2]['id'])&&_0xb0fd1a[_0x2fddb2][_0x1a753a(0x27a)]&&(_0xb0fd1a[_0x2fddb2][_0x1a753a(0x1fa)]=!0x0),_0xb0fd1a[_0x2fddb2][_0x1a753a(0x1fa)])continue;if(0x0==_0xb0fd1a[_0x2fddb2][_0x1a753a(0x1b3)])continue;if(_0x1a753a(0x180)!=_0xb0fd1a[_0x2fddb2][_0x1a753a(0x172)])continue;if(null==_0xb0fd1a[_0x2fddb2][_0x1a753a(0x20c)])continue;let _0x32868f=_0x2fddb2+0x1,_0x1ef5ad=0x0;for(;_0xb0fd1a[_0x32868f]['id']!=_0xb0fd1a[_0x2fddb2][_0x1a753a(0x20c)];)_0x1a753a(0x180)==_0xb0fd1a[_0x32868f][_0x1a753a(0x172)]?_0x1ef5ad++:_0x1a753a(0x24f)==_0xb0fd1a[_0x32868f][_0x1a753a(0x172)]&&_0x1ef5ad--,_0x32868f++;if(0x0!=_0x1ef5ad){if(_0xb0fd1a[_0x2fddb2][_0x1a753a(0x27a)])_0xb0fd1a[_0x2fddb2][_0x1a753a(0x1fa)]=!0x0;else{for(;_0x32868f!=_0x2fddb2;)_0xb0fd1a[_0x32868f][_0x1a753a(0x27a)]&&0x0!=_0xb0fd1a[_0x32868f][_0x1a753a(0x1b3)]&&(_0xb0fd1a[_0x32868f][_0x1a753a(0x1fa)]=!0x0,_0xd1bcf0[_0x1a753a(0x15f)](_0xb0fd1a[_0x32868f][_0x1a753a(0x20c)])),_0x32868f--;}}}return _0xb0fd1a[_0x1a753a(0x1c5)](_0x2f435b=>!_0x2f435b[_0x1a753a(0x1fa)]);}[_0x49f17f(0x1f3)](_0x4cf410){const _0x195c74=_0x49f17f,_0x1b3ad8=this[_0x195c74(0x16e)][_0x195c74(0x231)][_0x195c74(0x19e)];for(let _0x3305c7=0x0;_0x3305c7<_0x4cf410[_0x195c74(0x263)];_0x3305c7++){if(!(_0x4cf410[_0x3305c7][_0x195c74(0x1cb)]||_0x4cf410[_0x3305c7][_0x195c74(0x21c)]||_0x4cf410[_0x3305c7][_0x195c74(0x27a)]||_0x4cf410[_0x3305c7][_0x195c74(0x277)]))continue;if(0x0==_0x4cf410[_0x3305c7][_0x195c74(0x1b3)])continue;const _0x349363=_0x4cf410[_0x3305c7][_0x195c74(0x237)];_0x1b3ad8[_0x195c74(0x1ac)](_0x349363)||_0x1b3ad8[_0x195c74(0x256)](_0x349363)||(_0x4cf410[_0x3305c7][_0x195c74(0x1cb)]&&delete _0x4cf410[_0x3305c7][_0x195c74(0x1cb)],_0x4cf410[_0x3305c7][_0x195c74(0x21c)]&&delete _0x4cf410[_0x3305c7][_0x195c74(0x21c)],_0x4cf410[_0x3305c7][_0x195c74(0x277)]&&delete _0x4cf410[_0x3305c7][_0x195c74(0x277)],_0x4cf410[_0x3305c7][_0x195c74(0x27a)]&&(_0x4cf410[_0x3305c7][_0x195c74(0x1fa)]=!0x0));}return _0x4cf410[_0x195c74(0x1c5)](_0x382536=>!_0x382536[_0x195c74(0x1fa)]);}[_0x49f17f(0x266)](_0x164734,_0x4bf7cd,_0x37488b){const _0x45a520=_0x49f17f,_0x283608=new _0x17b75c(),_0x20fa6c=[],_0x3057da=new Map(),_0x27591f=this[_0x45a520(0x16e)][_0x45a520(0x231)],_0xea17f9=_0x27591f[_0x45a520(0x19e)],_0x33782d=[_0x283608],_0x37b7e5={},_0x3c4bb6={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x446bb7=null;const _0x131c07=[0x0];for(let _0x23eabe=0x0;_0x23eabe<_0x164734[_0x45a520(0x263)];_0x23eabe++)if(_0x45a520(0x180)===_0x164734[_0x23eabe][_0x45a520(0x172)]){_0x164734[_0x23eabe][_0x45a520(0x219)]=_0x27591f[_0x45a520(0x22a)](_0x283608,_0x131c07);const _0x101509=new _0x5d5e67(_0x164734[_0x23eabe][_0x45a520(0x237)][_0x45a520(0x14c)],_0x164734[_0x23eabe][_0x45a520(0x237)][_0x45a520(0x254)]());_0x33782d[0x0][_0x45a520(0x15a)](_0x101509),_0x131c07[_0x45a520(0x1de)](0x0),_0x33782d[_0x45a520(0x147)](_0x101509),_0x164734[_0x23eabe][_0x45a520(0x1b1)]=_0x27591f[_0x45a520(0x22a)](_0x283608,_0x131c07);}else _0x45a520(0x24f)===_0x164734[_0x23eabe][_0x45a520(0x172)]?(_0x33782d[_0x45a520(0x197)](),_0x164734[_0x23eabe][_0x45a520(0x219)]=_0x27591f[_0x45a520(0x22a)](_0x283608,_0x131c07),_0x131c07[_0x45a520(0x1c6)](),_0x131c07[_0x131c07[_0x45a520(0x263)]-0x1]++,_0x164734[_0x23eabe][_0x45a520(0x1b1)]=_0x27591f[_0x45a520(0x22a)](_0x283608,_0x131c07)):(_0x164734[_0x23eabe][_0x45a520(0x219)]=_0x27591f[_0x45a520(0x22a)](_0x283608,_0x131c07),_0x446bb7?_0x446bb7[_0x45a520(0x217)]+=_0x164734[_0x23eabe][_0x45a520(0x237)][_0x45a520(0x160)]:_0x446bb7=new _0x56290f(_0x164734[_0x23eabe][_0x45a520(0x237)][_0x45a520(0x160)],_0x164734[_0x23eabe][_0x45a520(0x237)][_0x45a520(0x254)]()),_0x164734[_0x23eabe+0x1]&&_0x45a520(0x131)===_0x164734[_0x23eabe+0x1][_0x45a520(0x172)]&&_0x32e442(_0x446bb7,_0x164734[_0x23eabe+0x1][_0x45a520(0x237)])||(_0x33782d[0x0][_0x45a520(0x15a)](_0x446bb7),_0x446bb7=null),_0x131c07[_0x131c07[_0x45a520(0x263)]-0x1]+=_0x164734[_0x23eabe][_0x45a520(0x237)][_0x45a520(0x23e)],_0x164734[_0x23eabe][_0x45a520(0x1b1)]=_0x27591f[_0x45a520(0x22a)](_0x283608,_0x131c07));for(let _0x55f9fe=0x0;_0x55f9fe<_0x164734[_0x45a520(0x263)];_0x55f9fe++){const _0x3e3044=_0x164734[_0x55f9fe][_0x45a520(0x219)],_0x289b93=_0x164734[_0x55f9fe][_0x45a520(0x1b1)];for(const _0x63084f of _0x164734[_0x55f9fe][_0x45a520(0x23f)])_0x3057da[_0x45a520(0x236)](_0x63084f,{'start':_0x3e3044,'end':null});_0xfefcc(_0x45a520(0x277),_0x55f9fe,_0x3e3044,_0x289b93),_0xfefcc(_0x45a520(0x21c),_0x55f9fe,_0x3e3044,_0x289b93),_0xfefcc(_0x45a520(0x27a),_0x55f9fe,_0x3e3044,_0x289b93),_0xfefcc(_0x45a520(0x1cb),_0x55f9fe,_0x3e3044,_0x289b93);for(const _0x588683 of _0x164734[_0x55f9fe][_0x45a520(0x1c9)]){_0x3057da[_0x45a520(0x202)](_0x588683)[_0x45a520(0x244)]=_0x289b93;}}for(const [_0x47b039,_0x4257cb]of _0x3057da){const _0xffdd52=this[_0x45a520(0x16e)][_0x45a520(0x231)][_0x45a520(0x191)](_0x4257cb[_0x45a520(0x268)],_0x4257cb[_0x45a520(0x244)]);_0x283608[_0x45a520(0x1f0)][_0x45a520(0x236)](_0x47b039,_0xffdd52);}return _0x20fa6c[_0x45a520(0x1bc)]((_0x5d8c4a,_0x2e4cd2)=>{const _0x239dd5=_0x45a520,_0x4fd368=_0x283608[_0x239dd5(0x1f0)][_0x239dd5(0x202)](_0x239dd5(0x269)+_0x5d8c4a['id']),_0x1bef8a=_0x283608[_0x239dd5(0x1f0)][_0x239dd5(0x202)](_0x239dd5(0x269)+_0x2e4cd2['id']);return _0x4fd368[_0x239dd5(0x268)][_0x239dd5(0x255)](_0x1bef8a[_0x239dd5(0x268)])?-0x1:_0x4fd368[_0x239dd5(0x268)][_0x239dd5(0x229)](_0x1bef8a[_0x239dd5(0x268)])?0x1:_0x4fd368[_0x239dd5(0x244)][_0x239dd5(0x255)](_0x1bef8a[_0x239dd5(0x244)])?-0x1:_0x4fd368[_0x239dd5(0x244)][_0x239dd5(0x229)](_0x1bef8a[_0x239dd5(0x244)])?0x1:_0x239dd5(0x15f)===_0x5d8c4a[_0x239dd5(0x172)]?-0x1:0x1;}),{'root':_0x283608,'changes':_0x20fa6c};function _0xfefcc(_0x4e9d72,_0x27312b,_0x20f1af,_0x337bcb){const _0x1423df=_0x45a520,_0x15afa9=!!_0x164734[_0x27312b][_0x4e9d72],_0x2c3511=_0x15afa9?_0x164734[_0x27312b][_0x4e9d72][_0x1423df(0x150)]:null,_0x3e957d=_0x27312b===_0x164734[_0x1423df(0x263)]-0x1,_0x12df7f=_0x3c4bb6[_0x4e9d72][0x0],_0x44bc4b=_0xea17f9[_0x1423df(0x16c)](_0x164734[_0x27312b][_0x1423df(0x237)]);!_0x37b7e5[_0x4e9d72]&&_0x15afa9?_0x37b7e5[_0x4e9d72]={'start':_0x20f1af,'tapeItem':_0x164734[_0x27312b],'userId':_0x2c3511,'type':_0x4e9d72}:_0x37b7e5[_0x4e9d72]&&!_0x15afa9?(_0x37b7e5[_0x4e9d72][_0x1423df(0x244)]=_0x20f1af,_0x427437(_0x37b7e5[_0x4e9d72]),_0x37b7e5[_0x4e9d72]=null):_0x37b7e5[_0x4e9d72]&&_0x15afa9&&_0x37b7e5[_0x4e9d72][_0x1423df(0x150)]!==_0x2c3511&&(_0x37b7e5[_0x4e9d72][_0x1423df(0x244)]=_0x20f1af,_0x12df7f&&_0x12df7f[_0x1423df(0x150)]===_0x37b7e5[_0x4e9d72][_0x1423df(0x150)]||_0x427437(_0x37b7e5[_0x4e9d72]),_0x37b7e5[_0x4e9d72]={'start':_0x20f1af,'tapeItem':_0x164734[_0x27312b],'userId':_0x2c3511,'type':_0x4e9d72}),_0x37b7e5[_0x4e9d72]&&_0x44bc4b&&(_0x1423df(0x180)!==_0x164734[_0x27312b][_0x1423df(0x172)]||_0x12df7f&&_0x12df7f[_0x1423df(0x150)]===_0x2c3511||_0x3c4bb6[_0x4e9d72][_0x1423df(0x147)]({'userId':_0x2c3511,'object':_0x164734[_0x27312b][_0x1423df(0x237)],'change':_0x37b7e5[_0x4e9d72]}),_0x1423df(0x24f)===_0x164734[_0x27312b][_0x1423df(0x172)]&&_0x12df7f&&_0x12df7f[_0x1423df(0x162)]===_0x164734[_0x27312b][_0x1423df(0x237)]&&(_0x3c4bb6[_0x4e9d72][_0x1423df(0x197)](),_0x37b7e5[_0x4e9d72]=_0x12df7f[_0x1423df(0x1b7)])),_0x37b7e5[_0x4e9d72]&&_0x3e957d&&(_0x37b7e5[_0x4e9d72][_0x1423df(0x244)]=_0x337bcb,_0x427437(_0x37b7e5[_0x4e9d72]),_0x37b7e5[_0x4e9d72]=null);}function _0x427437({start:_0x95c08e,end:_0x4226ad,tapeItem:_0x1517f1,userId:_0x6b8371,type:_0xe4cacd}){const _0x1d346e=_0x45a520,_0x766d41=_0x1517f1[_0x1d346e(0x237)],_0x34155c=_0x27591f[_0x1d346e(0x19e)][_0x1d346e(0x1ac)](_0x766d41)&&!_0x27591f[_0x1d346e(0x19e)][_0x1d346e(0x256)](_0x766d41),_0x476a49=_0x95c08e[_0x1d346e(0x1f4)]==_0x4226ad[_0x1d346e(0x1e6)]&&_0x4226ad[_0x1d346e(0x12d)];if(_0x34155c&&_0x476a49)return;const _0x450c99=_0x27591f[_0x1d346e(0x191)](_0x95c08e,_0x4226ad),_0x7baf5d=_0x4bf7cd[_0x1d346e(0x202)](_0x6b8371),_0x35df0c=new _0x4c842a({'author':_0x7baf5d,'type':_0x1d346e(0x1cb)==_0xe4cacd||_0x1d346e(0x21c)==_0xe4cacd?_0x1d346e(0x15f):_0x1d346e(0x1fd),'data':{'isSuggestion':_0x1d346e(0x21c)==_0xe4cacd||_0x1d346e(0x277)==_0xe4cacd},'createdAt':new Date(),'rootName':_0x37488b});_0x20fa6c[_0x1d346e(0x1de)](_0x35df0c),_0x283608[_0x1d346e(0x1f0)][_0x1d346e(0x236)](_0x1d346e(0x269)+_0x35df0c['id'],_0x450c99);}function _0x32e442(_0x560036,_0x74fa8a){const _0x11e9eb=_0x45a520,_0x4b4872=_0x560036[_0x11e9eb(0x254)](),_0x671d3e=_0x74fa8a[_0x11e9eb(0x254)]();for(const _0x4dbc8d of _0x4b4872){if(_0x4dbc8d[0x1]!==_0x74fa8a[_0x11e9eb(0x20d)](_0x4dbc8d[0x0]))return!0x1;_0x671d3e[_0x11e9eb(0x201)]();}return _0x671d3e[_0x11e9eb(0x201)]()[_0x11e9eb(0x19d)];}}[_0x49f17f(0x16b)](){const _0x471eb4=_0x49f17f;this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x24d))[_0x471eb4(0x157)]({'view':_0x471eb4(0x1ff)}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x16d))[_0x471eb4(0x216)]({'model':_0x471eb4(0x1ff),'view':_0x4f1a43=>{const _0x57edc4=_0x471eb4,_0x2ff06b=_0x4f1a43[_0x57edc4(0x175)][_0x57edc4(0x276)](':')[0x1],_0x4abb2f=this[_0x57edc4(0x1b6)](_0x2ff06b);if(!_0x4abb2f)return null;const _0x3b2728=_0x57edc4(0x15f)==_0x4abb2f[_0x57edc4(0x172)]?_0x57edc4(0x171):_0x57edc4(0x22b),_0x5519b8=[_0x57edc4(0x1c7),_0x57edc4(0x161)+_0x3b2728];return _0x4abb2f[_0x57edc4(0x160)][_0x57edc4(0x1dc)]&&_0x5519b8[_0x57edc4(0x1de)](_0x57edc4(0x161)+_0x3b2728+_0x57edc4(0x17a)),this[_0x57edc4(0x14d)]==_0x4abb2f&&_0x5519b8[_0x57edc4(0x1de)](_0x57edc4(0x146)),{'classes':_0x5519b8,'attributes':{'data-change-id':_0x2ff06b}};}}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x24d))[_0x471eb4(0x15f)](_0x164e75=>{const _0x4c6a68=_0x471eb4;_0x164e75['on'](_0x4c6a68(0x1d4),(_0x2251a7,_0x5abf92,_0x59f1e9)=>{const _0x467e46=_0x4c6a68,_0x59eb76=_0x5abf92[_0x467e46(0x1c0)][_0x467e46(0x23c)](0x0);if(!_0x59eb76||!_0x59eb76['is'](_0x467e46(0x1df),_0x467e46(0x25d)))return;if(!_0x59f1e9[_0x467e46(0x22f)][_0x467e46(0x204)](_0x59eb76,{'attributes':[_0x467e46(0x155),_0x467e46(0x23b)]}))return;const _0x571551=_0x5abf92[_0x467e46(0x1a2)][_0x467e46(0x268)][_0x467e46(0x1f4)];_0x59f1e9[_0x467e46(0x1c3)][_0x467e46(0x273)](_0x467e46(0x155),_0x59eb76[_0x467e46(0x20d)](_0x467e46(0x155)),_0x571551),_0x59f1e9[_0x467e46(0x1c3)][_0x467e46(0x273)](_0x467e46(0x23b),_0x59eb76[_0x467e46(0x20d)](_0x467e46(0x23b)),_0x571551);},{'priority':_0x4c6a68(0x205)});}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x24d))[_0x471eb4(0x15f)](_0x4415dc=>{const _0xedffcd=_0x471eb4;_0x4415dc['on'](_0xedffcd(0x1df),(_0x5311bd,_0x386e69,_0x1b28e1)=>{const _0x193ba3=_0xedffcd;if(!_0x1b28e1[_0x193ba3(0x22f)][_0x193ba3(0x204)](_0x386e69[_0x193ba3(0x1c0)],{'attributes':[_0x193ba3(0x155),_0x193ba3(0x23b)]}))return;if(_0x386e69[_0x193ba3(0x1a2)][_0x193ba3(0x1d5)])return;const _0xc4e7c2=_0x386e69[_0x193ba3(0x1a2)][_0x193ba3(0x268)][_0x193ba3(0x1f4)];_0xc4e7c2[_0x193ba3(0x1e1)](_0x193ba3(0x155))||_0xc4e7c2[_0x193ba3(0x1e1)](_0x193ba3(0x272))||(_0x1b28e1[_0x193ba3(0x1c3)][_0x193ba3(0x273)](_0x193ba3(0x155),_0x386e69[_0x193ba3(0x1c0)][_0x193ba3(0x20d)](_0x193ba3(0x155)),_0xc4e7c2),_0x1b28e1[_0x193ba3(0x1c3)][_0x193ba3(0x273)](_0x193ba3(0x23b),_0x386e69[_0x193ba3(0x1c0)][_0x193ba3(0x20d)](_0x193ba3(0x23b)),_0xc4e7c2));},{'priority':_0xedffcd(0x205)});}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x24d))[_0x471eb4(0x199)]({'view':{'name':_0x471eb4(0x198),'attributes':{'vid':!0x0}},'model':{'key':_0x471eb4(0x272),'value':_0x28a398=>_0x28a398[_0x471eb4(0x20d)](_0x471eb4(0x272))}}),this[_0x471eb4(0x16e)][_0x471eb4(0x231)][_0x471eb4(0x19e)]['on'](_0x471eb4(0x173),(_0x41d1c2,[,_0x582d37])=>{const _0xe1a09c=_0x471eb4;[_0xe1a09c(0x155),_0xe1a09c(0x23b),_0xe1a09c(0x272)][_0xe1a09c(0x1fe)](_0x582d37)&&(_0x41d1c2[_0xe1a09c(0x1eb)]=!0x0,_0x41d1c2[_0xe1a09c(0x260)]());},{'priority':_0x471eb4(0x1ce)}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x1d8))[_0x471eb4(0x15f)](_0x13fe10=>{const _0x5315c8=_0x471eb4;_0x13fe10['on'](_0x5315c8(0x174),(_0x13ee48,_0x17a731,_0x1c59bb)=>{const _0x30f05a=_0x5315c8;if('\x20'!=_0x17a731[_0x30f05a(0x237)][_0x30f05a(0x160)]||_0x17a731[_0x30f05a(0x237)][_0x30f05a(0x1e6)][_0x30f05a(0x13c)]>0x1)return;if(!_0x1c59bb[_0x30f05a(0x22f)][_0x30f05a(0x204)](_0x17a731[_0x30f05a(0x237)],_0x13ee48[_0x30f05a(0x14c)]))return;const _0x58dd2a=_0x1c59bb[_0x30f05a(0x1c3)],_0x437a49=_0x1c59bb[_0x30f05a(0x1b9)][_0x30f05a(0x227)](_0x17a731[_0x30f05a(0x18b)]);_0x58dd2a[_0x30f05a(0x184)](_0x437a49,_0x58dd2a[_0x30f05a(0x1d9)](_0x30f05a(0x198)));});}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x1d8))[_0x471eb4(0x23a)]({'model':_0x471eb4(0x1ff)}),this[_0x471eb4(0x16e)][_0x471eb4(0x17f)][_0x471eb4(0x19b)]['on'](_0x471eb4(0x209),function(_0x5d5542){const _0x544e76=_0x471eb4,_0x5787b6=_0x5d5542[_0x544e76(0x21a)][_0x544e76(0x202)](_0x544e76(0x1a9));return(_0x4a08cd,_0x555c32,_0x2d3505)=>{const _0x1ad11f=_0x544e76,_0x22b68f=_0x555c32[_0x1ad11f(0x175)][_0x1ad11f(0x276)](':')[0x1],_0x285bd1=_0x5787b6[_0x1ad11f(0x1b6)](_0x22b68f);if(!_0x285bd1)return null;const _0x38e9a7=_0x1ad11f(0x15f)==_0x285bd1[_0x1ad11f(0x172)]?_0x1ad11f(0x276):_0x1ad11f(0x1da);if(!_0x2d3505[_0x1ad11f(0x22f)][_0x1ad11f(0x1a7)](_0x555c32[_0x1ad11f(0x1dd)],_0x4a08cd[_0x1ad11f(0x14c)]))return;const _0x31f347=_0x555c32[_0x1ad11f(0x1dd)][_0x1ad11f(0x206)](),_0x2a09b2=_0x555c32[_0x1ad11f(0x1dd)][_0x1ad11f(0x268)],_0x49f79c=_0x5d5542[_0x1ad11f(0x231)][_0x1ad11f(0x19e)];let _0x5244aa=null,_0x4aae80=null,_0x171929=!0x1,_0xbca8e1=!0x1;for(const _0x1a0692 of _0x31f347){const _0x10401a=_0x1a0692[_0x1ad11f(0x237)];_0x171929=_0x171929||_0x49f79c[_0x1ad11f(0x1b4)](_0x10401a);const _0xc3f864=_0x2d3505[_0x1ad11f(0x1b9)][_0x1ad11f(0x1bb)](_0x10401a);if(_0xc3f864&&_0xc3f864[_0x1ad11f(0x235)](_0x1ad11f(0x247)))return;_0x1ad11f(0x24f)==_0x1a0692[_0x1ad11f(0x172)]&&(_0x49f79c[_0x1ad11f(0x1ac)](_0x10401a)&&!_0x49f79c[_0x1ad11f(0x256)](_0x10401a)&&(_0x10401a[_0x1ad11f(0x185)]||_0x2a09b2[_0x1ad11f(0x19c)]?_0x5244aa&&_0x5244aa[_0x1ad11f(0x1e6)]==_0x10401a||(_0x5244aa=_0x10401a,_0x5a7db0(_0x1a0692[_0x1ad11f(0x219)]),_0xbca8e1=!0x0):_0x4aae80=_0x4aae80||_0x1a0692[_0x1ad11f(0x219)]));}function _0x5a7db0(_0x179858){const _0x513a3c=_0x1ad11f,_0x17d72b=_0x2d3505[_0x513a3c(0x1c3)][_0x513a3c(0x166)](_0x513a3c(0x198),{'class':_0x513a3c(0x161)+_0x38e9a7}),_0x579757=_0x2d3505[_0x513a3c(0x1b9)][_0x513a3c(0x18e)](_0x179858);_0x285bd1[_0x513a3c(0x160)][_0x513a3c(0x1dc)]&&_0x2d3505[_0x513a3c(0x1c3)][_0x513a3c(0x145)](_0x513a3c(0x161)+_0x38e9a7+_0x513a3c(0x17a),_0x17d72b),_0x5787b6[_0x513a3c(0x14d)]==_0x285bd1&&_0x2d3505[_0x513a3c(0x1c3)][_0x513a3c(0x145)](_0x513a3c(0x146),_0x17d72b),_0x2d3505[_0x513a3c(0x1c3)][_0x513a3c(0x1cf)](_0x579757,_0x17d72b),_0x2d3505[_0x513a3c(0x1b9)][_0x513a3c(0x139)](_0x17d72b,_0x555c32[_0x513a3c(0x175)]);}_0x171929||_0xbca8e1||!_0x4aae80||_0x5a7db0(_0x4aae80);};}(this[_0x471eb4(0x16e)]),{'priority':_0x471eb4(0x17d)}),this[_0x471eb4(0x16e)][_0x471eb4(0x17f)][_0x471eb4(0x19b)]['on'](_0x471eb4(0x165),(_0x5c6bc8,_0x235631,_0x3b779a)=>{const _0x52d428=_0x471eb4,_0x1937e1=_0x3b779a[_0x52d428(0x1b9)][_0x52d428(0x27b)](_0x235631[_0x52d428(0x175)]);if(_0x1937e1){for(const _0x4da3a4 of _0x1937e1)(_0x4da3a4[_0x52d428(0x1e0)](_0x52d428(0x1e2))||_0x4da3a4[_0x52d428(0x1e0)](_0x52d428(0x1d0)))&&(_0x3b779a[_0x52d428(0x1b9)][_0x52d428(0x1ab)](_0x4da3a4,_0x235631[_0x52d428(0x175)]),_0x3b779a[_0x52d428(0x1c3)][_0x52d428(0x1fd)](_0x4da3a4));}},{'priority':_0x471eb4(0x17d)}),this[_0x471eb4(0x16e)][_0x471eb4(0x17f)][_0x471eb4(0x19b)]['on'](_0x471eb4(0x209),(_0x4ab58d,_0x25646a,_0x4b8dbf)=>{const _0x13c403=_0x471eb4,_0x596338=_0x25646a[_0x13c403(0x175)][_0x13c403(0x276)](':')[0x1],_0x48d5db=this[_0x13c403(0x1b6)](_0x596338);if(!_0x48d5db)return null;const _0x3e98cc=_0x13c403(0x15f)==_0x48d5db[_0x13c403(0x172)]?_0x13c403(0x276):_0x13c403(0x1da);if(_0x4b8dbf[_0x13c403(0x22f)][_0x13c403(0x1a7)](_0x25646a[_0x13c403(0x1dd)],_0x4ab58d[_0x13c403(0x14c)]))for(const _0x492a43 of _0x25646a[_0x13c403(0x1dd)][_0x13c403(0x259)]()){if(!_0x492a43['is'](_0x13c403(0x1df),_0x13c403(0x149)))continue;const _0x27d65b=_0x4b8dbf[_0x13c403(0x1c3)][_0x13c403(0x166)](_0x13c403(0x198),{'class':_0x13c403(0x161)+_0x3e98cc}),_0x1a9cbd=_0x4b8dbf[_0x13c403(0x1b9)][_0x13c403(0x18e)](this[_0x13c403(0x16e)][_0x13c403(0x231)][_0x13c403(0x245)](_0x492a43));_0x48d5db[_0x13c403(0x160)][_0x13c403(0x1dc)]&&_0x4b8dbf[_0x13c403(0x1c3)][_0x13c403(0x145)](_0x13c403(0x161)+_0x3e98cc+_0x13c403(0x17a),_0x27d65b),this[_0x13c403(0x14d)]==_0x48d5db&&_0x4b8dbf[_0x13c403(0x1c3)][_0x13c403(0x145)](_0x13c403(0x146),_0x27d65b),_0x4b8dbf[_0x13c403(0x1c3)][_0x13c403(0x1cf)](_0x1a9cbd,_0x27d65b),_0x4b8dbf[_0x13c403(0x1b9)][_0x13c403(0x139)](_0x27d65b,_0x25646a[_0x13c403(0x175)]);}},{'priority':_0x471eb4(0x17d)}),this[_0x471eb4(0x16e)][_0x471eb4(0x231)][_0x471eb4(0x1c4)]['on'](_0x471eb4(0x1b7),()=>{const _0xd709aa=_0x471eb4;this[_0xd709aa(0x16e)][_0xd709aa(0x17f)][_0xd709aa(0x194)][_0xd709aa(0x1b7)](_0x404b12=>{const _0xdea942=_0xd709aa;for(const _0xa791f0 of this[_0xdea942(0x16e)][_0xdea942(0x231)][_0xdea942(0x1c4)][_0xdea942(0x26f)]()){const _0x126477=this[_0xdea942(0x16e)][_0xdea942(0x231)][_0xdea942(0x1c4)][_0xdea942(0x12a)](_0xa791f0),_0x64bee5=this[_0xdea942(0x16e)][_0xdea942(0x17f)][_0xdea942(0x194)][_0xdea942(0x1c4)][_0xdea942(0x12a)](_0xa791f0);if(_0x64bee5){const _0x507b43=_0x126477[_0xdea942(0x20d)](_0xdea942(0x143));if(_0x404b12[_0xdea942(0x243)](_0xdea942(0x1c1),_0x64bee5),_0x404b12[_0xdea942(0x14f)](_0xdea942(0x267),_0x64bee5),_0x404b12[_0xdea942(0x14f)](_0xdea942(0x1ee),_0x64bee5),_0x404b12[_0xdea942(0x14f)](_0xdea942(0x258),_0x64bee5),_0x507b43){const _0x480521=this[_0xdea942(0x1b6)](_0x507b43);if(!_0x480521)return null;_0x404b12[_0xdea942(0x273)](_0xdea942(0x1c1),_0x507b43,_0x64bee5),_0x404b12[_0xdea942(0x145)](_0xdea942(0x261)+_0x480521[_0xdea942(0x172)],_0x64bee5),this[_0xdea942(0x14d)]==_0x480521&&_0x404b12[_0xdea942(0x145)](_0xdea942(0x258),_0x64bee5);}}}});}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x24d))[_0x471eb4(0x157)]({'view':_0x471eb4(0x1d3),'model':_0xf34b76=>_0x471eb4(0x1ad)+_0xf34b76,'converterPriority':_0x471eb4(0x1ce)}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x24d))[_0x471eb4(0x157)]({'view':_0x471eb4(0x200),'model':_0x2b6962=>_0x471eb4(0x20f)+_0x2b6962,'converterPriority':_0x471eb4(0x1ce)}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x1d8))[_0x471eb4(0x23a)]({'model':_0x471eb4(0x203),'view':_0x51b48a=>({'name':_0x471eb4(0x242)+_0x51b48a,'group':_0x471eb4(0x203)}),'converterPriority':_0x471eb4(0x1ce)}),this[_0x471eb4(0x16e)][_0x471eb4(0x20e)][_0x471eb4(0x1f6)](_0x471eb4(0x16d))[_0x471eb4(0x216)]({'model':_0x471eb4(0x203),'view':_0x488685=>{const _0x2fcf99=_0x471eb4,_0x519ac5=_0x488685[_0x2fcf99(0x175)][_0x2fcf99(0x276)](':')[0x1];return _0x2fcf99(0x171)!=_0x519ac5&&_0x2fcf99(0x22b)!=_0x519ac5?null:{'classes':[_0x2fcf99(0x140),_0x2fcf99(0x253)+_0x519ac5]};}}),this[_0x471eb4(0x16e)][_0x471eb4(0x17f)][_0x471eb4(0x19b)]['on'](_0x471eb4(0x182),Z(this[_0x471eb4(0x16e)],_0x471eb4(0x1da)),{'priority':_0x471eb4(0x17d)}),this[_0x471eb4(0x16e)][_0x471eb4(0x17f)][_0x471eb4(0x19b)]['on'](_0x471eb4(0x24e),Z(this[_0x471eb4(0x16e)],_0x471eb4(0x276)),{'priority':_0x471eb4(0x17d)}),this[_0x471eb4(0x16e)][_0x471eb4(0x17f)][_0x471eb4(0x19b)]['on'](_0x471eb4(0x26c),(_0x150f6,_0x5c2fb7,_0x29c6c6)=>{const _0x114512=_0x471eb4,_0x27c644=_0x29c6c6[_0x114512(0x1b9)][_0x114512(0x27b)](_0x5c2fb7[_0x114512(0x175)]);if(_0x27c644){for(const _0x26125d of _0x27c644)_0x26125d['is'](_0x114512(0x1ed))&&(_0x29c6c6[_0x114512(0x1b9)][_0x114512(0x1ab)](_0x26125d,_0x5c2fb7[_0x114512(0x175)]),_0x29c6c6[_0x114512(0x1c3)][_0x114512(0x1fd)](_0x26125d));}},{'priority':_0x471eb4(0x17d)});}[_0x49f17f(0x1b6)](_0x541a37){const _0xe591e5=_0x49f17f;return this[_0xe591e5(0x12c)][_0xe591e5(0x202)](_0x541a37);}[_0x49f17f(0x1a5)](_0x5da4d1){const _0x1f1e70=_0x49f17f;return this[_0x1f1e70(0x1b0)]&&this[_0x1f1e70(0x1b0)][_0x1f1e70(0x151)](),this[_0x1f1e70(0x1b0)]=new _0x237755(this[_0x1f1e70(0x16e)][_0x1f1e70(0x1be)],_0x5da4d1),this[_0x1f1e70(0x1b0)];}[_0x49f17f(0x1b8)](){const _0x5e0616=_0x49f17f;this[_0x5e0616(0x16e)][_0x5e0616(0x231)][_0x5e0616(0x1c4)][_0x5e0616(0x12e)][_0x5e0616(0x251)](_0x5e0616(0x1ff)),this['on'](_0x5e0616(0x17e),(_0xb21611,_0xb1ce3,_0x20ae1c,_0x23a419)=>{const _0x3998a0=_0x5e0616;_0x23a419&&this[_0x3998a0(0x153)][_0x3998a0(0x1fd)](_0x23a419),_0x20ae1c&&(this[_0x3998a0(0x153)][_0x3998a0(0x15f)]({'view':_0x20ae1c,'stackId':_0x3998a0(0x144),'position':{'target':()=>{const _0x322280=_0x3998a0,_0x3d9573=this[_0x322280(0x16e)][_0x322280(0x17f)],_0x132b0c=this[_0x322280(0x1b6)](_0x20ae1c[_0x322280(0x1ca)]);let _0x432f36;if(_0x132b0c[_0x322280(0x160)][_0x322280(0x1e7)]){const _0x2c6ced=_0x3d9573[_0x322280(0x194)][_0x322280(0x21d)](_0x132b0c[_0x322280(0x177)]);_0x432f36=Array[_0x322280(0x239)](_0x2c6ced[_0x322280(0x1cc)]());}else{const _0x4de595=this[_0x322280(0x16e)][_0x322280(0x231)][_0x322280(0x1f0)][_0x322280(0x202)](_0x322280(0x269)+_0x20ae1c[_0x322280(0x1ca)]);_0x432f36=Array[_0x322280(0x239)](_0x3d9573[_0x322280(0x1b9)][_0x322280(0x27b)](_0x4de595[_0x322280(0x14c)]))[_0x322280(0x25f)](_0x50a1b2=>_0x3d9573[_0x322280(0x194)][_0x322280(0x240)][_0x322280(0x15e)](_0x50a1b2))[_0x322280(0x25f)](_0x51a385=>Array[_0x322280(0x239)](_0x51a385[_0x322280(0x1cc)]()))[_0x322280(0x1b5)]();}if(!this[_0x322280(0x141)])return _0x432f36[0x0];return _0x432f36[_0x322280(0x136)](_0x37ec21=>_0x37ec21[_0x322280(0x20a)]-0x3<=this[_0x322280(0x141)]['y']&&_0x37ec21[_0x322280(0x164)]+0x3>=this[_0x322280(0x141)]['y']&&_0x37ec21[_0x322280(0x156)]-0x3<=this[_0x322280(0x141)]['x']&&_0x37ec21[_0x322280(0x1bf)]+0x3>=this[_0x322280(0x141)]['x'])||_0x432f36[0x0];}}}),this[_0x3998a0(0x153)][_0x3998a0(0x1a0)](_0x3998a0(0x144)));}),this['on'](_0x5e0616(0x1a8),(_0x39da67,_0x2e75e8,_0xeac227,_0x5dba99)=>{const _0x4a20a4=_0x5e0616;this[_0x4a20a4(0x22d)]=_0xeac227?this[_0x4a20a4(0x1a5)](_0xeac227):null,this[_0x4a20a4(0x16e)][_0x4a20a4(0x231)][_0x4a20a4(0x1b7)](()=>{const _0x3a2738=_0x4a20a4,_0x4b016c=this[_0x3a2738(0x16e)][_0x3a2738(0x17f)];_0x5dba99&&(_0x5dba99[_0x3a2738(0x160)][_0x3a2738(0x1e7)]?_0x4b016c[_0x3a2738(0x194)][_0x3a2738(0x1b7)](_0x3129e0=>{const _0x55d23a=_0x3a2738;_0x3129e0[_0x55d23a(0x14f)](_0x55d23a(0x258),_0x4b016c[_0x55d23a(0x194)][_0x55d23a(0x1c4)][_0x55d23a(0x12a)](_0x5dba99[_0x55d23a(0x177)]));}):_0x4b016c[_0x3a2738(0x1fb)](_0x3a2738(0x269)+_0x5dba99['id'])),_0xeac227&&(_0xeac227[_0x3a2738(0x160)][_0x3a2738(0x1e7)]?_0x4b016c[_0x3a2738(0x194)][_0x3a2738(0x1b7)](_0x9b42aa=>{const _0xcc53cd=_0x3a2738;_0x9b42aa[_0xcc53cd(0x145)](_0xcc53cd(0x258),_0x4b016c[_0xcc53cd(0x194)][_0xcc53cd(0x1c4)][_0xcc53cd(0x12a)](_0xeac227[_0xcc53cd(0x177)]));}):_0x4b016c[_0x3a2738(0x1fb)](_0x3a2738(0x269)+_0xeac227['id']));});}),this[_0x5e0616(0x196)](this[_0x5e0616(0x16e)][_0x5e0616(0x17f)][_0x5e0616(0x194)][_0x5e0616(0x1c4)],_0x5e0616(0x270),(_0xe6a949,_0x5c6a87)=>{const _0x2e799e=_0x5e0616;if(this[_0x2e799e(0x14d)])return;const _0x319e2c=this[_0x2e799e(0x230)](_0x5c6a87[_0x2e799e(0x1a3)]),_0xca5931=this[_0x2e799e(0x12c)][_0x2e799e(0x202)](_0x319e2c);_0xca5931?(this[_0x2e799e(0x141)]={'x':_0x5c6a87[_0x2e799e(0x133)]['x'],'y':_0x5c6a87[_0x2e799e(0x133)]['y']},this[_0x2e799e(0x22d)]=this[_0x2e799e(0x1a5)](_0xca5931)):(this[_0x2e799e(0x141)]=null,this[_0x2e799e(0x22d)]=null);}),this[_0x5e0616(0x196)](this[_0x5e0616(0x16e)][_0x5e0616(0x17f)][_0x5e0616(0x194)][_0x5e0616(0x1c4)],_0x5e0616(0x158),(_0x4e5337,_0x4ab742)=>{const _0x31e3e5=_0x5e0616,_0x1ebe94=this[_0x31e3e5(0x230)](_0x4ab742[_0x31e3e5(0x1a3)]),_0x472d35=this[_0x31e3e5(0x12c)][_0x31e3e5(0x202)](_0x1ebe94);_0x472d35?(this[_0x31e3e5(0x141)]={'x':_0x4ab742[_0x31e3e5(0x133)]['x'],'y':_0x4ab742[_0x31e3e5(0x133)]['y']},_0x472d35===this[_0x31e3e5(0x14d)]?this[_0x31e3e5(0x153)][_0x31e3e5(0x1ef)]():this[_0x31e3e5(0x14d)]=_0x472d35):(this[_0x31e3e5(0x141)]=null,this[_0x31e3e5(0x14d)]=null);});}[_0x49f17f(0x230)](_0x1ce44e){const _0x410637=_0x49f17f;do{const _0x4b4c20=_0x1ce44e[_0x410637(0x20d)](_0x410637(0x1c1));if(_0x4b4c20)return _0x4b4c20;_0x1ce44e=_0x1ce44e[_0x410637(0x1e6)];}while(_0x1ce44e);return null;}[_0x49f17f(0x265)](){const _0x22d5a2=_0x49f17f;this[_0x22d5a2(0x16e)][_0x22d5a2(0x231)][_0x22d5a2(0x1b7)](_0x6ea36b=>{const _0x19a2cc=_0x22d5a2;for(const _0x1558e1 of this[_0x19a2cc(0x16e)][_0x19a2cc(0x231)][_0x19a2cc(0x1f0)])_0x6ea36b[_0x19a2cc(0x129)](_0x1558e1);});}}function _0x3e7d(_0x464575,_0x25604f){const _0x618f41=_0x618f();return _0x3e7d=function(_0x3e7d4b,_0xc0c62f){_0x3e7d4b=_0x3e7d4b-0x129;let _0x36776b=_0x618f41[_0x3e7d4b];return _0x36776b;},_0x3e7d(_0x464575,_0x25604f);}function Z(_0x452830,_0x5f1109){return(_0x17f122,_0x31be86,_0x14027b)=>{const _0x599d5a=_0x3e7d;if(!_0x14027b[_0x599d5a(0x22f)][_0x599d5a(0x1a7)](_0x31be86[_0x599d5a(0x1dd)],_0x17f122[_0x599d5a(0x14c)]))return;const _0x3c6025=_0x31be86[_0x599d5a(0x1dd)][_0x599d5a(0x206)](),_0x57876c=_0x31be86[_0x599d5a(0x1dd)][_0x599d5a(0x268)],_0x3fbd5c=_0x452830[_0x599d5a(0x231)][_0x599d5a(0x19e)];let _0x63d0b5=null,_0x98edf=null,_0x235fb8=!0x1,_0x2c128b=!0x1;for(const _0x5ca793 of _0x3c6025){const _0x34e5e8=_0x5ca793[_0x599d5a(0x237)];_0x235fb8=_0x235fb8||_0x3fbd5c[_0x599d5a(0x1b4)](_0x34e5e8);const _0x3107b5=_0x14027b[_0x599d5a(0x1b9)][_0x599d5a(0x1bb)](_0x34e5e8);if(_0x3107b5&&_0x3107b5[_0x599d5a(0x235)](_0x599d5a(0x247)))return;_0x599d5a(0x24f)==_0x5ca793[_0x599d5a(0x172)]&&(_0x3fbd5c[_0x599d5a(0x1ac)](_0x34e5e8)&&!_0x3fbd5c[_0x599d5a(0x256)](_0x34e5e8)&&(_0x34e5e8[_0x599d5a(0x185)]||_0x57876c[_0x599d5a(0x19c)]?_0x63d0b5&&_0x63d0b5[_0x599d5a(0x1e6)]==_0x34e5e8||(_0x63d0b5=_0x34e5e8,_0x2d07f5(_0x5ca793[_0x599d5a(0x219)]),_0x2c128b=!0x0):_0x98edf=_0x98edf||_0x5ca793[_0x599d5a(0x219)]));}function _0x2d07f5(_0x478cf2){const _0x2efe74=_0x599d5a,_0x1cba2c=_0x14027b[_0x2efe74(0x1b9)][_0x2efe74(0x18e)](_0x478cf2),_0x4cba2b=_0x14027b[_0x2efe74(0x1c3)][_0x2efe74(0x166)](_0x2efe74(0x198),{'class':_0x2efe74(0x253)+_0x5f1109});_0x14027b[_0x2efe74(0x1c3)][_0x2efe74(0x1cf)](_0x1cba2c,_0x4cba2b),_0x14027b[_0x2efe74(0x1b9)][_0x2efe74(0x139)](_0x4cba2b,_0x31be86[_0x2efe74(0x175)]);}_0x235fb8||_0x2c128b||!_0x98edf||_0x2d07f5(_0x98edf);};}export class RestoreRevisionCommand extends _0x52e22{constructor(_0x5ddc49){const _0xe195f0=_0x49f17f;super(_0x5ddc49);const _0x3b529d=_0x5ddc49[_0xe195f0(0x21a)][_0xe195f0(0x202)](d);this[_0xe195f0(0x22c)]=!0x1,this[_0xe195f0(0x196)](_0x3b529d,_0xe195f0(0x215),()=>this[_0xe195f0(0x1f9)]()),this[_0xe195f0(0x196)](_0x3b529d,_0xe195f0(0x187),()=>this[_0xe195f0(0x1f9)]());}[_0x49f17f(0x1e3)](){const _0x729e45=_0x49f17f,_0x509a5e=this[_0x729e45(0x16e)],_0x33eee8=_0x509a5e[_0x729e45(0x21a)][_0x729e45(0x202)](d),_0xf7585c=_0x33eee8[_0x729e45(0x1ae)]?_0x33eee8[_0x729e45(0x13b)][_0x729e45(0x193)]:null;_0x509a5e[_0x729e45(0x1fc)][_0x729e45(0x202)](_0x729e45(0x25a))[_0x729e45(0x18d)](_0xf7585c);}[_0x49f17f(0x1f9)](){const _0x2cd695=_0x49f17f,{isReady:_0x24ea3b,isEnabled:_0x441953,repository:_0x2cfe4f,diff:_0x788add}=this[_0x2cd695(0x16e)][_0x2cd695(0x21a)][_0x2cd695(0x202)](d),_0x1120d3=_0x788add&&_0x2cfe4f[_0x2cd695(0x241)](_0x788add[_0x2cd695(0x193)]);this[_0x2cd695(0x223)]=_0x24ea3b&&_0x441953&&Boolean(_0x1120d3);}}export class ShowChangeCommand extends _0x52e22{constructor(_0x1e0cb3,{direction:_0x56e2f4}){const _0x3b1e3c=_0x49f17f;super(_0x1e0cb3);const _0x59de98=_0x1e0cb3[_0x3b1e3c(0x21a)][_0x3b1e3c(0x202)](d);this[_0x3b1e3c(0x22c)]=!0x1,this[_0x3b1e3c(0x15b)]=_0x3b1e3c(0x274)===_0x56e2f4?0x1:-0x1,this[_0x3b1e3c(0x196)](_0x59de98,_0x3b1e3c(0x215),()=>this[_0x3b1e3c(0x1f9)]()),this[_0x3b1e3c(0x196)](_0x59de98,_0x3b1e3c(0x187),()=>this[_0x3b1e3c(0x1f9)]()),this[_0x3b1e3c(0x196)](_0x59de98,_0x3b1e3c(0x1a8),()=>this[_0x3b1e3c(0x1f9)]());}[_0x49f17f(0x1e3)](){const _0x581c2c=_0x49f17f,_0x5cda51=this[_0x581c2c(0x16e)],_0x4502d6=_0x5cda51[_0x581c2c(0x21a)][_0x581c2c(0x202)](d),{isNavigationMode:_0x30abd1,currentChangeNumber:_0xf05275}=_0x4502d6;let _0x5c56bf;if(_0x4502d6[_0x581c2c(0x14d)]=_0x30abd1?_0x4502d6[_0x581c2c(0x13b)][_0x581c2c(0x24c)][_0x581c2c(0x202)](_0xf05275+this[_0x581c2c(0x15b)]):_0x4502d6[_0x581c2c(0x13b)][_0x581c2c(0x24c)][_0x581c2c(0x1db)],_0x4502d6[_0x581c2c(0x14d)][_0x581c2c(0x160)][_0x581c2c(0x1e7)])_0x5c56bf=_0x5cda51[_0x581c2c(0x17f)][_0x581c2c(0x194)][_0x581c2c(0x21d)](_0x4502d6[_0x581c2c(0x14d)][_0x581c2c(0x177)]);else{const _0x1a6b3c=_0x5cda51[_0x581c2c(0x231)][_0x581c2c(0x1f0)][_0x581c2c(0x202)](_0x581c2c(0x269)+_0x4502d6[_0x581c2c(0x14d)]['id']);_0x5c56bf=_0x3e39ca(_0x5cda51[_0x581c2c(0x17f)],_0x1a6b3c);}_0x1ce2bb({'target':_0x5c56bf,'viewportOffset':0x28});}[_0x49f17f(0x1f9)](){const _0x51f541=_0x49f17f,{isNavigationMode:_0x3ed321,currentChangeNumber:_0x4694d9,numberOfChanges:_0x28dd27,isReady:_0x1c3c05,isEnabled:_0x1774ff}=this[_0x51f541(0x16e)][_0x51f541(0x21a)][_0x51f541(0x202)](d);this[_0x51f541(0x223)]=!!(_0x1774ff&&_0x1c3c05&&_0x28dd27)&&(!_0x3ed321||(0x1===this[_0x51f541(0x15b)]?_0x4694d9<_0x28dd27-0x1:_0x4694d9>0x0));}}
|
|
23
|
+
const _0x1503f9=_0x1894;(function(_0x5911ae,_0x27ce4c){const _0xe6c257=_0x1894,_0x4c66ff=_0x5911ae();while(!![]){try{const _0x2ca03b=parseInt(_0xe6c257(0x201))/0x1+parseInt(_0xe6c257(0x118))/0x2+parseInt(_0xe6c257(0x193))/0x3+-parseInt(_0xe6c257(0x22f))/0x4*(parseInt(_0xe6c257(0x219))/0x5)+parseInt(_0xe6c257(0x20e))/0x6*(-parseInt(_0xe6c257(0x177))/0x7)+parseInt(_0xe6c257(0x191))/0x8*(parseInt(_0xe6c257(0x1fc))/0x9)+-parseInt(_0xe6c257(0x1ce))/0xa;if(_0x2ca03b===_0x27ce4c)break;else _0x4c66ff['push'](_0x4c66ff['shift']());}catch(_0xa314c7){_0x4c66ff['push'](_0x4c66ff['shift']());}}}(_0x2bb3,0x94e66));import{Plugin as _0x3f4016,Command as _0xb8a5d1}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x596d41}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0xf61fd8}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x277163,Element as _0x580bd5,Text as _0x3af02e,ViewDocumentFragment as _0x22849c,ViewText as _0x3bd68d,ViewElement as _0x38be5a,ViewContainerElement as _0x24b8bd,ViewAttributeElement as _0x266a4f,ViewEmptyElement as _0x4223cf,ViewRawElement as _0x1c0d86,ViewUIElement as _0x5e9a0e}from'ckeditor5/src/engine.js';import{Users as _0xe6f3da,getMarkerDomElement as _0x5d2fd5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x29ba55 from'./ui/revisionviewer/changedetailsview.js';import _0x417704 from'./revisionsrepository.js';import _0x6d42b6 from'./changeitem.js';function _0x2bb3(){const _0x387d4b=['target','isAtEnd','level','ck-revision-history-root-remove','set','abs','attributesBefore','_processTape','children','code','startsWith','1183ixGTKT','adapter','previousPosition','removeMarker:revision','vid_start','attributes','elementEnd','newRevisionId','enqueueChange','markersStart','markerToData','_revisions','shift','data-change-id','mapper','addMarker:revision-suggestion:deletion','removeClass','ck-suggestion-marker','findIndex','getAttributes','ck-suggestion-marker-','suggestion','elementStart','element','nextPosition','getDomRoot','29608dYrJmQ','document','1928958DvlJvD','revision-start','type','_sortAndFilterDiffChanges','currentChangeNumber','listenTo','_refreshStartEndIndex','bind','isReady','_getRevisionsRange','getLaterVisibleRevision','detachRoot','getRevisionRootsAttributes','affectsData','_removeRevisionMarkers','revisionHistory','values','attributesAfter','userId','revision','roots','_makeModelFromViewString','model','isEqual','getWalker','createPositionBefore','forward','from','getIndex','restoreRevision','change:activeChange','error','splice','changeId','next','forceDisabled','schema','activeView','removeMarker','_data','text','_appendChild','get','isContent','isBefore','toViewPosition','unbindElementFromMarkerName','isAfter','revisionHistoryAttachChange','markerName','RevisionsRepository','loadRevisionData','ck-suggestion-marker-merge','test','updatePosition','createRange','ck-revision-history-root-','init','parent','7089420OUkBhA','_makeModelFromTape','checkAttribute','addRoot','processor','wrap','deletions','return','diff','maxOffset','left','isOnRoot','merge','domEvent','split','mousedown','offsetSize','attachChange','removeMarker:revision-suggestion','low','deletion','suggestion:','rootName','_step','data','markers','ck-editor__editable__overlay','item','unshift','dataToMarker','high','revision-end','requires','_markInsertions','isPremiumPlugin','push','conversion','includes','indexOf','comment','change','change:isEnabled','markerToHighlight','_cleanUp','getAttribute','element:pre','2817bJtDmP','showStack','domConverter','revision-suggestion','removeAttribute','720000QqeNQS','revision-viewer','activeChange','view','addHighlight','side','editing','isRemoveSuggestion','isRemoved','createAttributeElement','_joinTapes','pop','viewItem','32502cRYkAS','getRoot','addClass','nextSibling','plugins','oldRevisionId','isInline','isAddSuggestion','_getDiff','clear','revision-suggestion:','5ZEwumX','_balloon','isOfficialPlugin','addMarker:revision-suggestion:insertion','filter','-new','toModel','_markSuggestions','dataDowncast','flat','compare','backward','sort','ck-revision-history-root-add','isAdded','default','_changeIdToChange','slice','revision-comment:','distance','nodeAfter','diffData','3074284zUzaFE','for','isLimit','createRangeIn','getRevision','useFillerType','writer','parse','isSuggestion','attribute:vid','RevisionViewer','collaboration.channelId','insertions','repository','downcastDispatcher','softBreak','showPreviousChange','find','modelRange','markerNameToElements','consume','observeMarkers','isCollapsed','ck-suggestion-marker--active','POSITIVE_INFINITY','consumable','toViewRange','range','elementToAttribute','_removeUnsupportedChanges','resolve','start','bindElementToMarker','change:isReady','revisionHistoryLabel','mapViewToDom','first','execute','_activeViewTarget','end','authors','string','object','remove','forEach','bottom','isEnabled','createPositionFromPath','getClientRects','_update','ck-suggestion-preview-marker','isAttached','pairId','markerRange','marked','addRevision','markersEnd','endIndex','ck-suggestion-marker-split','962962sKczta','editingDowncast','index','createRevision','upcast','reconvertMarker','change:numberOfChanges','addRevisionData','_removeMissingPairs','delete','isBlock','done','span','highest','getRootNames','insert','enableReadOnlyMode','changes','insertion','startIndex','isNavigationMode','_findChangeIdFromDomTarget','has','isIncorrect','destroy','setAttribute','isObject','name','hasAttribute','WidgetToolbarRepository','right','commands','selection','_setDistance','catch','hasClass','getRevisionData','_markMarkers','isAtStart','_changeView','restoreRevisionCallback','refresh','_setChanges','revision:','toViewElement','uiElement','getChild','_makeTape','change:activeView','showNextChange','keys','_fixObsoleteTags','_cleanMarkers','vid','_markMismatchedRemovedTags','addMarker:revision','getCustomProperty','numberOfChanges','_getViewForChange','_initInteractions','editor','_getViewObj','createUIElement','data-revision-','add','_getChangeFromId','stop','_setConversion','pluginName','top','ck-revision-history-root--active','vid_end','getItems','length','locale','_threeWayMerge','ck-suggestion-preview-marker-','all','mouseover','toData','map','then','config','concat'];_0x2bb3=function(){return _0x387d4b;};return _0x2bb3();}function _0x1894(_0x47dc8f,_0x10402a){const _0x2bb3e1=_0x2bb3();return _0x1894=function(_0x1894ec,_0x2a8949){_0x1894ec=_0x1894ec-0xeb;let _0x574189=_0x2bb3e1[_0x1894ec];return _0x574189;},_0x1894(_0x47dc8f,_0x10402a);}import{default as _0x1113c7}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x4384ad}from'lodash-es';const Y={'c':_0x24b8bd,'a':_0x266a4f,'e':_0x4223cf,'r':_0x1c0d86,'u':_0x5e9a0e};export default class d extends _0x3f4016{static get[_0x1503f9(0x15c)](){const _0x3f9ee6=_0x1503f9;return _0x3f9ee6(0x239);}static get[_0x1503f9(0x21b)](){return!0x0;}static get[_0x1503f9(0x1f0)](){return!0x0;}static get[_0x1503f9(0x1ee)](){return[_0xe6f3da,_0xf61fd8,_0x417704];}constructor(_0x191908){const _0xdcfcb4=_0x1503f9;super(_0x191908),this[_0xdcfcb4(0x23c)]=this[_0xdcfcb4(0x154)][_0xdcfcb4(0x212)][_0xdcfcb4(0x1bd)](_0xdcfcb4(0x1c5)),this[_0xdcfcb4(0x170)](_0xdcfcb4(0x203),null),this[_0xdcfcb4(0x170)](_0xdcfcb4(0x1b8),null),this[_0xdcfcb4(0x103)]=null,this[_0xdcfcb4(0x170)](_0xdcfcb4(0x1d6),null),this[_0xdcfcb4(0x170)](_0xdcfcb4(0x19b),!0x1),this[_0xdcfcb4(0x170)](_0xdcfcb4(0x10b),!0x0),this['on'](_0xdcfcb4(0x1f7),(_0x281197,_0x115573,_0x37c839)=>{const _0x309faf=_0xdcfcb4;this[_0x309faf(0x203)]=null,this[_0x309faf(0x1b8)]=null,this[_0x309faf(0x154)][_0x309faf(0x207)][_0x309faf(0x204)][_0x309faf(0x1f6)](_0x41b446=>{const _0x3e6bcd=_0x309faf;for(const _0x4c599c of this[_0x3e6bcd(0x154)][_0x3e6bcd(0x207)][_0x3e6bcd(0x204)][_0x3e6bcd(0x192)][_0x3e6bcd(0x1a7)])_0x37c839?_0x41b446[_0x3e6bcd(0x187)](_0x3e6bcd(0x1e8),_0x4c599c):_0x41b446[_0x3e6bcd(0x210)](_0x3e6bcd(0x1e8),_0x4c599c);});}),this[_0xdcfcb4(0x19a)](_0xdcfcb4(0x12c))['to'](this,_0xdcfcb4(0x203),_0x92e263=>null!==_0x92e263),this[_0xdcfcb4(0x19a)](_0xdcfcb4(0x197))['to'](this,_0xdcfcb4(0x19b),this,_0xdcfcb4(0x1d6),this,_0xdcfcb4(0x203),(_0x5a96cb,_0x2aa8e0,_0x9ffd08)=>_0x5a96cb&&_0x9ffd08?_0x2aa8e0[_0xdcfcb4(0x129)][_0xdcfcb4(0x1af)](_0x9ffd08):0x0),this[_0xdcfcb4(0x19a)](_0xdcfcb4(0x151))['to'](this,_0xdcfcb4(0x19b),this,_0xdcfcb4(0x1d6),(_0x2f4c07,_0x33a751)=>_0x2f4c07?_0x33a751[_0xdcfcb4(0x129)][_0xdcfcb4(0x161)]:0x0),this[_0xdcfcb4(0x13f)]=null,this[_0xdcfcb4(0x229)]=new Map(),this[_0xdcfcb4(0x178)]=null,this[_0xdcfcb4(0x21a)]=this[_0xdcfcb4(0x154)][_0xdcfcb4(0x212)][_0xdcfcb4(0x1bd)](_0xf61fd8);}[_0x1503f9(0x1cc)](){const _0x5e6d4a=_0x1503f9,_0x5c0e71=this[_0x5e6d4a(0x154)],_0x4e5072=new ShowChangeCommand(_0x5c0e71,{'direction':_0x5e6d4a(0x224)}),_0x4f108f=new ShowChangeCommand(_0x5c0e71,{'direction':_0x5e6d4a(0x1ad)});(_0x5c0e71[_0x5e6d4a(0x137)][_0x5e6d4a(0x158)](_0x5e6d4a(0xed),_0x4e5072),_0x5c0e71[_0x5e6d4a(0x137)][_0x5e6d4a(0x158)](_0x5e6d4a(0x149),_0x4f108f),_0x5c0e71[_0x5e6d4a(0x137)][_0x5e6d4a(0x158)](_0x5e6d4a(0x1b0),new RestoreRevisionCommand(_0x5c0e71)),this['on'](_0x5e6d4a(0x11e),()=>{const _0x306516=_0x5e6d4a;_0x4e5072[_0x306516(0x141)](),_0x4f108f[_0x306516(0x141)]();}),this[_0x5e6d4a(0x15b)](),this[_0x5e6d4a(0x153)](),_0x5c0e71[_0x5e6d4a(0x128)](_0x5e6d4a(0x202)),_0x5c0e71[_0x5e6d4a(0x212)][_0x5e6d4a(0x12e)](_0x5e6d4a(0x135)))&&_0x5c0e71[_0x5e6d4a(0x212)][_0x5e6d4a(0x1bd)](_0x5e6d4a(0x135))[_0x5e6d4a(0x1b6)](_0x5e6d4a(0x202));}async[_0x1503f9(0x13c)](_0x19715c){const _0x35c551=_0x1503f9;await this[_0x35c551(0x1c6)](_0x19715c);const _0x310f26={};for(const _0xa9a13c in _0x19715c[_0x35c551(0x22e)]){if(_0x19715c[_0x35c551(0x22e)][_0xa9a13c][_0x35c551(0x1df)]&&!_0x19715c[_0x35c551(0x22e)][_0xa9a13c][_0x35c551(0x1df)][_0x35c551(0x110)])continue;const _0x4b5716=this[_0x35c551(0x1a1)](JSON[_0x35c551(0x236)](_0x19715c[_0x35c551(0x22e)][_0xa9a13c][_0x35c551(0x23b)])),_0x4e2262=this[_0x35c551(0x154)][_0x35c551(0x207)][_0x35c551(0x204)][_0x35c551(0x192)],_0x5f2f6a=new _0x22849c(_0x4e2262,_0x4b5716[_0x35c551(0x168)](_0x22f7e3=>this[_0x35c551(0x155)](_0x22f7e3)));this[_0x35c551(0x154)][_0x35c551(0x1e6)][_0x35c551(0x1d2)][_0x35c551(0x234)](_0x35c551(0x113)),_0x310f26[_0xa9a13c]=this[_0x35c551(0x154)][_0x35c551(0x1e6)][_0x35c551(0x1d2)][_0x35c551(0x167)](_0x5f2f6a),this[_0x35c551(0x154)][_0x35c551(0x1e6)][_0x35c551(0x1d2)][_0x35c551(0x234)](_0x35c551(0x228));}return _0x310f26;}async[_0x1503f9(0x19f)](_0x4d28fe){const _0x14b81f=_0x1503f9;await this[_0x14b81f(0x1c6)](_0x4d28fe);const _0x4b8cd0={};for(const _0x60a8dd in _0x4d28fe[_0x14b81f(0x22e)])_0x4d28fe[_0x14b81f(0x22e)][_0x60a8dd][_0x14b81f(0x1df)]&&!_0x4d28fe[_0x14b81f(0x22e)][_0x60a8dd][_0x14b81f(0x1df)][_0x14b81f(0x110)]||(_0x4b8cd0[_0x60a8dd]=_0x4d28fe[_0x14b81f(0x22e)][_0x60a8dd][_0x14b81f(0x1a4)]||{});return _0x4b8cd0;}[_0x1503f9(0x1a1)](_0x4b9c9a){const _0x164a97=_0x1503f9;return(_0x4b9c9a=_0x4b9c9a[_0x164a97(0x21d)](_0x5b8576=>!_0x5b8576[_0x164a97(0x133)]||_0x164a97(0x194)!==_0x5b8576[_0x164a97(0x133)]&&_0x164a97(0x1ed)!==_0x5b8576[_0x164a97(0x133)]))[_0x164a97(0x109)](_0x1b3ced=>{const _0x4154ad=_0x164a97;_0x4154ad(0x106)!=typeof _0x1b3ced&&(_0x1b3ced[_0x4154ad(0x174)]=this[_0x4154ad(0x1a1)](_0x1b3ced[_0x4154ad(0x174)]),_0x1b3ced[_0x4154ad(0x17c)]=_0x1b3ced[_0x4154ad(0x17c)][_0x4154ad(0x21d)](_0x1469f3=>!_0x1469f3[0x0][_0x4154ad(0x176)](_0x4154ad(0x157))));}),_0x4b9c9a;}async[_0x1503f9(0x223)](_0x435b4f,_0x4c2cc9,_0x57c2b6=!0x1){const _0xe86ac1=_0x1503f9;if(!this[_0xe86ac1(0x10b)])return;const _0x500c81=this[_0xe86ac1(0x1d6)],_0x494a2e=this[_0xe86ac1(0x23c)],_0x2c3d99=_0xe86ac1(0x106)==typeof _0x435b4f?_0x494a2e[_0xe86ac1(0x233)](_0x435b4f):_0x435b4f,_0x5a0763=_0xe86ac1(0x106)==typeof _0x4c2cc9?_0x494a2e[_0xe86ac1(0x233)](_0x4c2cc9):_0x4c2cc9,_0x439134=_0x2c3d99['id'],_0x49fb6a=_0x5a0763?_0x5a0763['id']:null;if(!_0x57c2b6&&this[_0xe86ac1(0x1d6)]&&this[_0xe86ac1(0x1d6)][_0xe86ac1(0x17e)]===_0x439134&&this[_0xe86ac1(0x1d6)][_0xe86ac1(0x213)]===_0x49fb6a)return Promise[_0xe86ac1(0xfb)]();this[_0xe86ac1(0x19b)]=!0x1,this[_0xe86ac1(0x1b8)]=null,this[_0xe86ac1(0x203)]=null,this[_0xe86ac1(0x1d6)]=new _0x1113c7(_0x439134,_0x49fb6a);const _0x45cb8d=this[_0xe86ac1(0x19c)](_0x2c3d99,_0x5a0763,!0x0)[_0xe86ac1(0x168)](_0x406585=>this[_0xe86ac1(0x1c6)](_0x406585));return _0x45cb8d[_0xe86ac1(0x1f1)](new Promise(_0x1a361e=>{setTimeout(_0x1a361e,0x14);})),Promise[_0xe86ac1(0x165)](_0x45cb8d)[_0xe86ac1(0x169)](()=>{const _0x2d6c79=_0xe86ac1;if(!this[_0x2d6c79(0x10b)])return;this[_0x2d6c79(0x1f9)]();const _0x4db34c=this[_0x2d6c79(0x216)](_0x439134,_0x49fb6a);for(const _0x1a0406 of _0x4db34c[_0x2d6c79(0x129)])this[_0x2d6c79(0x229)][_0x2d6c79(0x170)](_0x1a0406['id'],_0x1a0406);this[_0x2d6c79(0x154)][_0x2d6c79(0x1a9)][_0x2d6c79(0x17f)]({'isUndoable':!0x1},_0x109890=>{const _0x486242=_0x2d6c79;for(const _0x5569d2 of this[_0x486242(0x154)][_0x486242(0x1a9)][_0x486242(0x192)][_0x486242(0x126)]())_0x109890[_0x486242(0x19e)](_0x5569d2);for(const _0x38bdc5 of Object[_0x486242(0x14a)](_0x4db34c[_0x486242(0x1a9)])){const _0x2f0036=_0x109890[_0x486242(0x1d1)](_0x38bdc5);for(const _0x3f590c of Object[_0x486242(0x14a)](_0x4db34c[_0x486242(0x17c)][_0x38bdc5]))_0x109890[_0x486242(0x131)](_0x3f590c,_0x4db34c[_0x486242(0x17c)][_0x38bdc5][_0x3f590c],_0x2f0036);_0x109890[_0x486242(0x127)](_0x4db34c[_0x486242(0x1a9)][_0x38bdc5],_0x2f0036,0x0);}}),this[_0x2d6c79(0x1d6)][_0x2d6c79(0x142)](this[_0x2d6c79(0x196)](_0x4db34c[_0x2d6c79(0x129)])),this[_0x2d6c79(0x19b)]=!0x0;})[_0xe86ac1(0x13a)](_0x3e459c=>{const _0x3253d1=_0xe86ac1;console[_0x3253d1(0x1b2)](_0x3e459c),this[_0x3253d1(0x1f9)](),_0x500c81&&(this[_0x3253d1(0x1d6)]=_0x500c81),this[_0x3253d1(0x19b)]=!0x0;});}[_0x1503f9(0x11f)](_0x3cacdb,_0x29c4f0){const _0x1fe856=_0x1503f9,_0x130c46=this[_0x1fe856(0x23c)][_0x1fe856(0x11b)](_0x3cacdb);return _0x130c46['on'](_0x1fe856(0x10e),(_0x1c0703,_0x446ebd,_0x3a0aee)=>_0x29c4f0(_0x446ebd,_0x3a0aee,_0x130c46)),this[_0x1fe856(0x23c)][_0x1fe856(0x114)](_0x130c46),_0x130c46;}[_0x1503f9(0x1c6)](_0x3d29df){const _0x469071=_0x1503f9;if(!_0x3d29df||_0x3d29df[_0x469071(0x22e)])return Promise[_0x469071(0xfb)]();{const _0x12ee06=this[_0x469071(0x154)][_0x469071(0x16a)][_0x469071(0x1bd)](_0x469071(0x23a));return this[_0x469071(0x178)][_0x469071(0x233)]({'channelId':_0x12ee06,'revisionId':_0x3d29df['id']})[_0x469071(0x169)](_0x5ac69d=>{const _0x34a35f=_0x469071;_0x3d29df[_0x34a35f(0x10e)]({'diffData':_0x5ac69d[_0x34a35f(0x22e)]},!0x0);});}}[_0x1503f9(0x1f9)](){const _0x55c65a=_0x1503f9;this[_0x55c65a(0x203)]=null,this[_0x55c65a(0x14c)](),this[_0x55c65a(0x13f)]&&this[_0x55c65a(0x13f)][_0x55c65a(0x130)](),this[_0x55c65a(0x13f)]=null,this[_0x55c65a(0x229)][_0x55c65a(0x217)](),this[_0x55c65a(0x154)][_0x55c65a(0x1a9)][_0x55c65a(0x17f)]({'isUndoable':!0x1},_0x41e756=>{const _0x360f05=_0x55c65a;for(const _0x381788 of this[_0x360f05(0x154)][_0x360f05(0x1a9)][_0x360f05(0x192)][_0x360f05(0x126)]())_0x41e756[_0x360f05(0x19e)](_0x381788);});}[_0x1503f9(0x196)](_0x275aba){const _0x3979b6=_0x1503f9,_0x3eba23=[],_0x32132f=new Map();for(const _0x2fcc2b of this[_0x3979b6(0x154)][_0x3979b6(0x1a9)][_0x3979b6(0x192)][_0x3979b6(0x126)]()){const _0x16ff75=this[_0x3979b6(0x154)][_0x3979b6(0x207)][_0x3979b6(0x204)][_0x3979b6(0x190)](_0x2fcc2b);if(!_0x16ff75)continue;const _0x17830d=_0x16ff75[_0x3979b6(0x10d)]()[_0x3979b6(0x1e9)](0x0);_0x17830d&&(_0x3eba23[_0x3979b6(0x1f1)](_0x2fcc2b),_0x32132f[_0x3979b6(0x170)](_0x2fcc2b,_0x17830d));}return _0x3eba23[_0x3979b6(0x225)]((_0x1f8c79,_0x413093)=>{const _0x2c4865=_0x3979b6,_0xb32f62=_0x32132f[_0x2c4865(0x1bd)](_0x1f8c79),_0x301ebe=_0x32132f[_0x2c4865(0x1bd)](_0x413093);return _0xb32f62['y']-_0x301ebe['y']||_0xb32f62['x']-_0x301ebe['x'];}),(_0x275aba=_0x275aba[_0x3979b6(0x21d)](_0x49c59a=>_0x3eba23[_0x3979b6(0x1f3)](_0x49c59a[_0x3979b6(0x1e4)])))[_0x3979b6(0x225)]((_0x15b54c,_0x407761)=>_0x3eba23[_0x3979b6(0x1f4)](_0x15b54c[_0x3979b6(0x1e4)])-_0x3eba23[_0x3979b6(0x1f4)](_0x407761[_0x3979b6(0x1e4)])),_0x275aba;}[_0x1503f9(0x147)](_0x1f790e){const _0x459668=_0x1503f9,_0x25253a=Array[_0x459668(0x1ae)](_0x1f790e[_0x459668(0x1e7)])[_0x459668(0x21d)](([_0x1c9d01,_0x3ff759])=>_0x1c9d01[_0x459668(0x176)](_0x459668(0x143))&&!_0x3ff759[_0x459668(0xf3)]),_0x50a717=Array[_0x459668(0x1ae)](this[_0x459668(0x154)][_0x459668(0x1a9)][_0x459668(0x232)](_0x1f790e)[_0x459668(0x1ab)]({'singleCharacters':!0x0}));if(0x0!=_0x25253a[_0x459668(0x161)])for(const _0x4626d8 of _0x50a717){const [_0x26b896,_0x3548ab]=_0x25253a[0x0],[,_0x53ac0a,_0x23f414]=_0x26b896[_0x459668(0x1dc)](':');if(_0x3548ab[_0x459668(0x104)][_0x459668(0x1aa)](_0x4626d8[_0x459668(0x18f)])&&_0x25253a[_0x459668(0x183)](),(_0x4626d8[_0x459668(0x179)][_0x459668(0x1aa)](_0x3548ab[_0x459668(0xfc)])||_0x4626d8[_0x459668(0x179)][_0x459668(0x1c2)](_0x3548ab[_0x459668(0xfc)]))&&(_0x459668(0x12a)==_0x53ac0a?_0x4626d8[_0x459668(0x227)]={'userId':_0x23f414}:_0x459668(0x1e2)==_0x53ac0a&&(_0x4626d8[_0x459668(0x209)]={'userId':_0x23f414})),0x0==_0x25253a[_0x459668(0x161)])break;}return _0x50a717;}[_0x1503f9(0x199)](_0x4f7fab){const _0x5c8f48=_0x1503f9,_0x27e1d9=new Map();for(let _0x286f2d=0x0;_0x286f2d<_0x4f7fab[_0x5c8f48(0x161)];_0x286f2d++)_0x5c8f48(0x1bb)===_0x4f7fab[_0x286f2d][_0x5c8f48(0x195)]?(_0x4f7fab[_0x286f2d][_0x5c8f48(0x1e9)][_0x5c8f48(0x12b)]=_0x286f2d,_0x4f7fab[_0x286f2d][_0x5c8f48(0x1e9)][_0x5c8f48(0x116)]=_0x286f2d):(_0x5c8f48(0x18d)===_0x4f7fab[_0x286f2d][_0x5c8f48(0x195)]?_0x4f7fab[_0x286f2d][_0x5c8f48(0x1e9)][_0x5c8f48(0x12b)]=_0x286f2d:_0x5c8f48(0x17d)===_0x4f7fab[_0x286f2d][_0x5c8f48(0x195)]&&(_0x4f7fab[_0x286f2d][_0x5c8f48(0x1e9)][_0x5c8f48(0x116)]=_0x286f2d),_0x27e1d9[_0x5c8f48(0x170)](_0x4f7fab[_0x286f2d]['id'],_0x286f2d));for(const _0x1dacc8 of _0x27e1d9[_0x5c8f48(0x1a3)]())_0x5c8f48(0x18d)===_0x4f7fab[_0x1dacc8][_0x5c8f48(0x195)]?_0x4f7fab[_0x1dacc8][_0x5c8f48(0x1e9)][_0x5c8f48(0x116)]=_0x27e1d9[_0x5c8f48(0x1bd)](_0x4f7fab[_0x1dacc8][_0x5c8f48(0x111)]):_0x5c8f48(0x17d)===_0x4f7fab[_0x1dacc8][_0x5c8f48(0x195)]&&(_0x4f7fab[_0x1dacc8][_0x5c8f48(0x1e9)][_0x5c8f48(0x12b)]=_0x27e1d9[_0x5c8f48(0x1bd)](_0x4f7fab[_0x1dacc8][_0x5c8f48(0x111)]));}[_0x1503f9(0x173)](_0x48068d){const _0x2d94c8=_0x1503f9;for(let _0x87e0d=0x0;_0x87e0d<_0x48068d[_0x2d94c8(0x161)];_0x87e0d++){if(_0x2d94c8(0x18d)===_0x48068d[_0x87e0d][_0x2d94c8(0x195)])_0x48068d[_0x87e0d][_0x2d94c8(0x1e9)][_0x2d94c8(0x12b)]=_0x87e0d;else{if(_0x2d94c8(0x17d)===_0x48068d[_0x87e0d][_0x2d94c8(0x195)]){_0x48068d[_0x87e0d][_0x2d94c8(0x1e9)][_0x2d94c8(0x116)]=_0x87e0d;const _0x37c93a=_0x48068d[_0x87e0d][_0x2d94c8(0x1e9)][_0x2d94c8(0x12b)];_0x48068d[_0x37c93a][_0x2d94c8(0x111)]=_0x48068d[_0x87e0d]['id'],_0x48068d[_0x87e0d][_0x2d94c8(0x111)]=_0x48068d[_0x37c93a]['id'];}else _0x48068d[_0x87e0d][_0x2d94c8(0x1e9)][_0x2d94c8(0x12b)]=_0x87e0d,_0x48068d[_0x87e0d][_0x2d94c8(0x1e9)][_0x2d94c8(0x116)]=_0x87e0d,_0x48068d[_0x87e0d][_0x2d94c8(0x111)]=null;}_0x48068d[_0x87e0d][_0x2d94c8(0x180)]||(_0x48068d[_0x87e0d][_0x2d94c8(0x180)]=[],_0x48068d[_0x87e0d][_0x2d94c8(0x115)]=[]);}}[_0x1503f9(0x1ef)](_0x308730,_0x31f3ee){const _0x16f28d=_0x1503f9,_0x13a38b=_0x308730[_0x16f28d(0x21d)](_0x60a7cd=>!_0x60a7cd[_0x16f28d(0x227)]);for(let _0x9248d6=0x0;_0x9248d6<_0x31f3ee[_0x16f28d(0x161)];_0x9248d6++)_0x31f3ee[_0x9248d6][_0x16f28d(0x227)]&&(_0x13a38b[_0x9248d6][_0x16f28d(0x227)]=_0x31f3ee[_0x9248d6][_0x16f28d(0x227)]);}[_0x1503f9(0x1a8)](_0x20e73a){const _0x3d74b9=_0x1503f9,_0x119b38=JSON[_0x3d74b9(0x236)](_0x20e73a),_0x17397c=this[_0x3d74b9(0x154)][_0x3d74b9(0x207)][_0x3d74b9(0x204)][_0x3d74b9(0x192)],_0x66cca5=new _0x22849c(_0x17397c,_0x119b38[_0x3d74b9(0x168)](_0xfeb374=>this[_0x3d74b9(0x155)](_0xfeb374)));return this[_0x3d74b9(0x154)][_0x3d74b9(0x1e6)][_0x3d74b9(0x21f)](_0x66cca5);}[_0x1503f9(0x155)](_0x199c6c){const _0x47f2a9=_0x1503f9,_0x59313a=this[_0x47f2a9(0x154)][_0x47f2a9(0x207)][_0x47f2a9(0x204)][_0x47f2a9(0x192)];if(_0x47f2a9(0x106)==typeof _0x199c6c)return new _0x3bd68d(_0x59313a,_0x199c6c);{const _0x281022=_0x199c6c[_0x47f2a9(0x174)][_0x47f2a9(0x168)](_0x50ff64=>this[_0x47f2a9(0x155)](_0x50ff64));return new(Y[_0x199c6c[(_0x47f2a9(0x195))]]||_0x38be5a)(_0x59313a,_0x199c6c[_0x47f2a9(0x133)],_0x199c6c[_0x47f2a9(0x17c)],_0x281022);}}[_0x1503f9(0x216)](_0x4e8fd5,_0x3a90f5=null){const _0x51f526=_0x1503f9,_0x1636c3=this[_0x51f526(0x23c)][_0x51f526(0x233)](_0x4e8fd5),_0x4c2a67=_0x3a90f5?this[_0x51f526(0x23c)][_0x51f526(0x233)](_0x3a90f5):null,_0x3a59e8=this[_0x51f526(0x19c)](_0x1636c3,_0x4c2a67),_0x273b2f=_0x3a59e8[_0x3a59e8[_0x51f526(0x161)]-0x1],_0x4196d3=new Map(),_0x920948={'model':{},'attributes':{},'changes':[]},_0x131c35=new Set(),_0x3bb0fb=new Map();for(let _0x4f8cbf=_0x3a59e8[_0x51f526(0x161)]-0x1;_0x4f8cbf>=0x0;_0x4f8cbf--){const _0x1aaa5f=_0x3a59e8[_0x4f8cbf];for(const _0x1bc69b of Object[_0x51f526(0x14a)](_0x1aaa5f[_0x51f526(0x22e)]))if(_0x1aaa5f[_0x51f526(0x22e)][_0x1bc69b][_0x51f526(0x1df)]){const _0x270ea9=_0x1aaa5f[_0x51f526(0x22e)][_0x1bc69b][_0x51f526(0x1df)];_0x270ea9[_0x51f526(0x110)]?(_0x131c35[_0x51f526(0x158)](_0x1bc69b),_0x3bb0fb[_0x51f526(0x12e)](_0x1bc69b)&&_0x3bb0fb[_0x51f526(0x1bd)](_0x1bc69b)[_0x51f526(0x1a5)]==_0x270ea9[_0x51f526(0x1a5)]?_0x3bb0fb[_0x51f526(0x121)](_0x1bc69b):_0x3bb0fb[_0x51f526(0x170)](_0x1bc69b,_0x270ea9)):_0x3bb0fb[_0x51f526(0x12e)](_0x1bc69b)?(_0x131c35[_0x51f526(0x121)](_0x1bc69b),_0x3bb0fb[_0x51f526(0x121)](_0x1bc69b)):(_0x131c35[_0x51f526(0x158)](_0x1bc69b),_0x3bb0fb[_0x51f526(0x170)](_0x1bc69b,_0x270ea9));}else _0x131c35[_0x51f526(0x158)](_0x1bc69b);}for(const _0x526cf8 of _0x131c35){const _0x1112a1=_0x3bb0fb[_0x51f526(0x12e)](_0x526cf8)&&!_0x3bb0fb[_0x51f526(0x1bd)](_0x526cf8)[_0x51f526(0x110)];let _0x3276bc=_0x1112a1?_0x3a59e8[_0x51f526(0x161)]-0x1:0x0;const _0x542137=_0x1112a1?-0x1:0x1;for(;_0x3a59e8[_0x3276bc];){const _0x31c367=_0x3a59e8[_0x3276bc];if(_0x31c367[_0x51f526(0x22e)][_0x526cf8]){const _0x367346=_0x1112a1?_0x31c367[_0x51f526(0x22e)][_0x526cf8][_0x51f526(0x172)]:_0x31c367[_0x51f526(0x22e)][_0x526cf8][_0x51f526(0x1a4)];_0x920948[_0x51f526(0x17c)][_0x526cf8]=_0x367346?_0x4384ad(_0x367346):{};break;}_0x3276bc+=_0x542137;}}for(const _0x14b07b of _0x3a59e8){_0x14b07b[_0x51f526(0x1a9)]={};for(const _0x3938cc of _0x14b07b[_0x51f526(0x105)])_0x4196d3[_0x51f526(0x170)](_0x3938cc['id'],_0x3938cc);for(const _0x4fb0f6 of _0x131c35){const _0x4925be=_0x14b07b[_0x51f526(0x22e)][_0x4fb0f6]?_0x14b07b[_0x51f526(0x22e)][_0x4fb0f6][_0x51f526(0x23b)]:'[]',_0x326c39=_0x14b07b[_0x51f526(0x22e)][_0x4fb0f6]?_0x14b07b[_0x51f526(0x22e)][_0x4fb0f6][_0x51f526(0x1d4)]:'[]';_0x14b07b[_0x51f526(0x1a9)][_0x4fb0f6]={'insertions':this[_0x51f526(0x1a8)](_0x4925be),'deletions':this[_0x51f526(0x1a8)](_0x326c39)};}}for(const _0x821834 of _0x131c35){let _0x420f94=null,_0x55a1a3=0x0;const _0x232f1d=new Map(Array[_0x51f526(0x1ae)](_0x1636c3[_0x51f526(0x1a9)][_0x821834][_0x51f526(0x23b)][_0x51f526(0x1e7)])[_0x51f526(0x21d)](([_0x428955])=>!_0x428955[_0x51f526(0x176)](_0x51f526(0x143))));let _0x46ed7d=0x0;for(const _0x12c84d of _0x3a59e8){const _0x4988f2=this[_0x51f526(0x147)](_0x12c84d[_0x51f526(0x1a9)][_0x821834][_0x51f526(0x23b)]);_0x12c84d==_0x1636c3?(_0x420f94=_0x4988f2,_0x55a1a3=_0x420f94[_0x51f526(0x161)],_0x420f94[_0x51f526(0x109)](_0x4a5d0b=>{_0x4a5d0b['id']=_0x46ed7d++;}),this[_0x51f526(0x173)](_0x420f94)):this[_0x51f526(0x1ef)](_0x420f94,_0x4988f2);const _0x39ae4d=_0x420f94[_0x51f526(0x21d)](_0x8a7d21=>!_0x8a7d21[_0x51f526(0x227)])[_0x51f526(0x168)](_0xe5b169=>_0xe5b169['id']);let _0x207d89=0x0;const _0x532887=this[_0x51f526(0x147)](_0x12c84d[_0x51f526(0x1a9)][_0x821834][_0x51f526(0x1d4)]);_0x532887[_0x51f526(0x109)](_0x215e6e=>{const _0x5a9acf=_0x51f526;_0x215e6e[_0x5a9acf(0x209)]?_0x215e6e['id']=_0x55a1a3++:_0x215e6e['id']=_0x39ae4d[_0x207d89++];}),this[_0x51f526(0x173)](_0x532887),this[_0x51f526(0x139)](_0x420f94,_0x51f526(0x227)),this[_0x51f526(0x139)](_0x532887,_0x51f526(0x209)),_0x12c84d==_0x1636c3&&this[_0x51f526(0x13d)](_0x420f94,_0x232f1d),_0x420f94=this[_0x51f526(0x20b)](_0x420f94,_0x532887),this[_0x51f526(0x199)](_0x420f94),this[_0x51f526(0x139)](_0x420f94,_0x51f526(0x209));}_0x420f94=_0x420f94[_0x51f526(0x21d)](_0x310444=>!(_0x310444[_0x51f526(0x227)]&&_0x310444[_0x51f526(0x209)]));const _0x57a7e7=new Map(_0x273b2f[_0x51f526(0x1a9)][_0x821834][_0x51f526(0x1d4)][_0x51f526(0x1e7)]),_0x248b2f=new Set(_0x232f1d[_0x51f526(0x14a)]());for(const _0x36d98c of _0x57a7e7[_0x51f526(0x14a)]())_0x248b2f[_0x51f526(0x121)](_0x36d98c);this[_0x51f526(0x220)](_0x420f94,_0x248b2f),this[_0x51f526(0x14b)](_0x420f94),_0x420f94=this[_0x51f526(0x120)](_0x420f94),_0x420f94=this[_0x51f526(0x14e)](_0x420f94),_0x420f94=this[_0x51f526(0xfa)](_0x420f94);const {root:_0x59eff5,changes:_0x51be16}=this[_0x51f526(0x1cf)](_0x420f94,_0x4196d3,_0x821834);_0x920948[_0x51f526(0x1a9)][_0x821834]=_0x59eff5;const _0x4c674c=_0x3bb0fb[_0x51f526(0x1bd)](_0x821834);if(_0x4c674c){const _0x1c89fc=_0x4196d3[_0x51f526(0x1bd)](_0x4c674c[_0x51f526(0x1a5)]),_0x4f3537=new _0x6d42b6({'author':_0x1c89fc,'type':_0x4c674c[_0x51f526(0x110)]?_0x51f526(0x158):_0x51f526(0x108),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x821834});_0x51be16[_0x51f526(0x1ea)](_0x4f3537),_0x920948[_0x51f526(0x17c)][_0x821834][_0x51f526(0x1c3)]=_0x4f3537['id'];}_0x920948[_0x51f526(0x129)]=_0x920948[_0x51f526(0x129)][_0x51f526(0x16b)](_0x51be16);}return _0x920948;}[_0x1503f9(0x13d)](_0x224220,_0x38645c){const _0x1c314d=_0x1503f9;for(let _0x23376f=0x0;_0x23376f<_0x224220[_0x1c314d(0x161)];_0x23376f++)for(const [_0x142e1e,_0x254200]of _0x38645c)_0x254200[_0x1c314d(0xfc)][_0x1c314d(0x1aa)](_0x224220[_0x23376f][_0x1c314d(0x179)])&&_0x224220[_0x23376f][_0x1c314d(0x180)][_0x1c314d(0x1f1)](_0x142e1e),_0x254200[_0x1c314d(0x104)][_0x1c314d(0x1aa)](_0x224220[_0x23376f][_0x1c314d(0x18f)])&&_0x224220[_0x23376f][_0x1c314d(0x115)][_0x1c314d(0x1f1)](_0x142e1e);}[_0x1503f9(0x20b)](_0x31c617,_0x3b4847){const _0x4ec097=_0x1503f9;let _0x3a8021=[],_0x349e17=0x0,_0x157e50=0x0;for(;_0x349e17<_0x31c617[_0x4ec097(0x161)]||_0x157e50<_0x3b4847[_0x4ec097(0x161)];){const _0x16f6e7=_0x31c617[_0x349e17]||{},_0x30e668=_0x3b4847[_0x157e50]||{};if(_0x16f6e7['id']==_0x30e668['id'])_0x349e17++,_0x157e50++,_0x3a8021[_0x4ec097(0x1f1)](_0x16f6e7);else{if(_0x30e668[_0x4ec097(0x209)]&&_0x16f6e7[_0x4ec097(0x227)]){const {commonTape:_0x50c98f,iEnd:_0x32173c,jEnd:_0x4af223}=this[_0x4ec097(0x163)](_0x31c617,_0x349e17,_0x3b4847,_0x157e50);_0x3a8021=_0x3a8021[_0x4ec097(0x16b)](_0x50c98f),_0x349e17=_0x32173c,_0x157e50=_0x4af223;}else _0x30e668[_0x4ec097(0x209)]?(_0x157e50++,_0x3a8021[_0x4ec097(0x1f1)](_0x30e668)):(_0x349e17++,_0x3a8021[_0x4ec097(0x1f1)](_0x16f6e7));}}return _0x3a8021;}[_0x1503f9(0x220)](_0x40eb24,_0x5ec935){const _0x5500e2=_0x1503f9,_0x2ecd43=[];for(let _0x41c148=0x0;_0x41c148<_0x40eb24[_0x5500e2(0x161)];_0x41c148++){for(let _0xa5c9dd=0x0;_0xa5c9dd<_0x40eb24[_0x41c148][_0x5500e2(0x180)][_0x5500e2(0x161)];_0xa5c9dd++){const _0x2c51d2=_0x40eb24[_0x41c148][_0x5500e2(0x180)][_0xa5c9dd];if(!_0x5ec935[_0x5500e2(0x12e)](_0x2c51d2))continue;const {group:_0x9f2769,type:_0x1567e0,authorId:_0x11ab4e}=_0x1fc8d3(_0x2c51d2);_0x5500e2(0x1ff)!=_0x9f2769||_0x5500e2(0x12a)!=_0x1567e0&&_0x5500e2(0x1e2)!=_0x1567e0||(_0x2ecd43[_0x5500e2(0x1ea)]({'type':_0x1567e0,'name':_0x2c51d2,'userId':_0x11ab4e}),_0x40eb24[_0x41c148][_0x5500e2(0x180)][_0x5500e2(0x1b3)](_0xa5c9dd,0x1),_0xa5c9dd--);}_0x239fb(_0x40eb24[_0x41c148]);for(let _0x8b956a=0x0;_0x8b956a<_0x40eb24[_0x41c148][_0x5500e2(0x115)][_0x5500e2(0x161)];_0x8b956a++){const _0x34b80c=_0x40eb24[_0x41c148][_0x5500e2(0x115)][_0x8b956a];if(!_0x5ec935[_0x5500e2(0x12e)](_0x34b80c))continue;const {group:_0x4b6ded,type:_0x385c9d}=_0x1fc8d3(_0x34b80c);if(_0x5500e2(0x1ff)!=_0x4b6ded||_0x5500e2(0x12a)!=_0x385c9d&&_0x5500e2(0x1e2)!=_0x385c9d)continue;_0x40eb24[_0x41c148][_0x5500e2(0x115)][_0x5500e2(0x1b3)](_0x8b956a,0x1),_0x8b956a--;const _0x483510=_0x2ecd43[_0x5500e2(0x189)](_0x394c9c=>_0x394c9c[_0x5500e2(0x133)]==_0x34b80c);_0x483510>-0x1&&_0x2ecd43[_0x5500e2(0x1b3)](_0x483510,0x1);}}function _0x1fc8d3(_0x36d959){const _0x2c22b5=_0x5500e2,_0x7f4869=_0x36d959[_0x2c22b5(0x1dc)](':');return{'group':_0x7f4869[0x0],'type':_0x7f4869[0x1],'subType':_0x7f4869[_0x2c22b5(0x161)]>=0x5?_0x7f4869[0x2]:null,'id':_0x7f4869[_0x2c22b5(0x161)]<0x5?_0x7f4869[0x2]:_0x7f4869[0x3],'authorId':_0x7f4869[_0x2c22b5(0x161)]<0x5?_0x7f4869[0x3]:_0x7f4869[0x4],'markerCount':0x6==_0x7f4869[_0x2c22b5(0x161)]?_0x7f4869[0x5]:null};}function _0x239fb(_0x31b0a4){const _0x27a379=_0x5500e2;for(let _0x3944ed=0x0;_0x3944ed<_0x2ecd43[_0x27a379(0x161)];_0x3944ed++){if(_0x31b0a4[_0x27a379(0x227)]&&_0x27a379(0x12a)==_0x2ecd43[_0x3944ed][_0x27a379(0x195)])return _0x31b0a4[_0x27a379(0x215)]=_0x2ecd43[_0x3944ed],void delete _0x31b0a4[_0x27a379(0x227)];if(!_0x31b0a4[_0x27a379(0x227)]&&!_0x31b0a4[_0x27a379(0x209)]&&_0x27a379(0x1e2)==_0x2ecd43[_0x3944ed][_0x27a379(0x195)])return void(_0x31b0a4[_0x27a379(0x208)]=_0x2ecd43[_0x3944ed]);}}}[_0x1503f9(0x139)](_0x21c587,_0x3394a8){const _0x455e2f=_0x1503f9;let _0x4d0334=0x0,_0x56033a=!0x1;const _0x5b288f=new Map();for(const _0x2ad673 of _0x21c587)_0x2ad673[_0x3394a8]?_0x56033a&&(_0x4d0334++,_0x56033a=!0x1):(_0x4d0334++,_0x56033a=!0x0),_0x5b288f[_0x455e2f(0x170)](_0x2ad673['id'],_0x4d0334);for(let _0x550c33=0x0;_0x550c33<_0x21c587[_0x455e2f(0x161)];_0x550c33++){if(_0x455e2f(0x209)==_0x3394a8&&_0x21c587[_0x550c33][_0x455e2f(0x227)]||_0x455e2f(0x227)==_0x3394a8&&_0x21c587[_0x550c33][_0x455e2f(0x209)])continue;if(_0x455e2f(0x1bb)==_0x21c587[_0x550c33][_0x455e2f(0x195)]){_0x21c587[_0x550c33][_0x455e2f(0x22c)]=0x0;continue;}const _0x375e64=_0x5b288f[_0x455e2f(0x1bd)](_0x21c587[_0x550c33][_0x455e2f(0x111)]),_0x2292a1=_0x5b288f[_0x455e2f(0x1bd)](_0x21c587[_0x550c33]['id']);_0x21c587[_0x550c33][_0x455e2f(0x22c)]=_0x375e64-_0x2292a1;}}[_0x1503f9(0x19c)](_0x5ec417,_0x405f9a,_0x3061fd=!0x1){const _0x26c6fc=_0x1503f9,_0x55077a=[];let _0x46743=this[_0x26c6fc(0x23c)][_0x26c6fc(0x1af)](_0x5ec417),_0x1ef710=this[_0x26c6fc(0x23c)][_0x26c6fc(0x1af)](_0x405f9a);for(-0x1==_0x1ef710&&(_0x1ef710=this[_0x26c6fc(0x23c)][_0x26c6fc(0x182)][_0x26c6fc(0x161)],_0x3061fd=!0x1);_0x46743<_0x1ef710;)_0x55077a[_0x26c6fc(0x1f1)](this[_0x26c6fc(0x23c)][_0x26c6fc(0x233)](_0x46743)),_0x46743++;return _0x3061fd&&_0x55077a[_0x26c6fc(0x1f1)](this[_0x26c6fc(0x23c)][_0x26c6fc(0x233)](_0x46743)),_0x55077a;}[_0x1503f9(0x163)](_0x7b3b50,_0x51c4df,_0x5bf904,_0x33d405){const _0x171ea0=_0x1503f9,_0x523a39=this[_0x171ea0(0x154)][_0x171ea0(0x1a9)][_0x171ea0(0x1b7)];let _0x315b07=_0x51c4df;for(;_0x7b3b50[_0x315b07]&&_0x7b3b50[_0x315b07][_0x171ea0(0x227)];)_0x315b07++;let _0x397242=_0x33d405;for(;_0x5bf904[_0x397242]&&_0x5bf904[_0x397242][_0x171ea0(0x209)];)_0x397242++;_0x36c131(_0x7b3b50,_0x51c4df,_0x315b07),_0x36c131(_0x5bf904,_0x33d405,_0x397242);const _0x22afa7=_0x5bf904[_0x171ea0(0x22a)](_0x33d405,_0x397242)[_0x171ea0(0x16b)](_0x7b3b50[_0x171ea0(0x22a)](_0x51c4df,_0x315b07));return _0x22afa7[_0x171ea0(0x225)]((_0x540696,_0x4cb459)=>_0x540696[_0x171ea0(0x206)]!=_0x4cb459[_0x171ea0(0x206)]?_0x540696[_0x171ea0(0x206)]-_0x4cb459[_0x171ea0(0x206)]:_0x540696[_0x171ea0(0x16e)]!=_0x4cb459[_0x171ea0(0x16e)]?_0x540696[_0x171ea0(0x16e)]-_0x4cb459[_0x171ea0(0x16e)]:_0x540696[_0x171ea0(0x22c)]!=_0x4cb459[_0x171ea0(0x22c)]?_0x4cb459[_0x171ea0(0x22c)]-_0x540696[_0x171ea0(0x22c)]:!!_0x540696[_0x171ea0(0x227)]!=!!_0x4cb459[_0x171ea0(0x227)]?-0x1==_0x540696[_0x171ea0(0x206)]||0x0==_0x540696[_0x171ea0(0x206)]?_0x540696[_0x171ea0(0x227)]?-0x1:0x1:_0x540696[_0x171ea0(0x227)]?0x1:-0x1:_0x540696[_0x171ea0(0x11a)]-_0x4cb459[_0x171ea0(0x11a)]),{'commonTape':_0x22afa7,'iEnd':_0x315b07,'jEnd':_0x397242};function _0x36c131(_0x57bd8e,_0x297e59,_0x3f9861){const _0x3fb89b=_0x171ea0;let _0x1f5075=-0x1,_0x1972b1=Number[_0x3fb89b(0xf5)],_0x439f61=!0x0;for(let _0x2abdb7=_0x297e59;_0x2abdb7<_0x3f9861;_0x2abdb7++)if(_0x523a39[_0x3fb89b(0x214)](_0x57bd8e[_0x2abdb7][_0x3fb89b(0x1e9)])||(_0x439f61=!0x1),_0x57bd8e[_0x2abdb7][_0x3fb89b(0x1e9)][_0x3fb89b(0x12b)]<_0x297e59&&(_0x1f5075=_0x2abdb7),_0x57bd8e[_0x2abdb7][_0x3fb89b(0x1e9)][_0x3fb89b(0x116)]>=_0x3f9861){_0x1972b1=_0x2abdb7;break;}_0x439f61&&(_0x1f5075=_0x3f9861-0x1);for(let _0x99deb9=_0x297e59;_0x99deb9<_0x3f9861;_0x99deb9++)_0x57bd8e[_0x99deb9][_0x3fb89b(0x206)]=_0x99deb9<=_0x1f5075?-0x1:_0x99deb9<_0x1972b1?0x0:0x1,_0x57bd8e[_0x99deb9][_0x3fb89b(0x11a)]=_0x99deb9;let _0x157940=0x0;for(let _0x20bb42=_0x297e59;_0x20bb42<=_0x1f5075;_0x20bb42++)0x0==_0x57bd8e[_0x20bb42][_0x3fb89b(0x22c)]?_0x57bd8e[_0x20bb42][_0x3fb89b(0x16e)]=_0x157940:(_0x157940++,_0x57bd8e[_0x20bb42][_0x3fb89b(0x16e)]=_0x157940,_0x157940++);for(let _0x2c6766=_0x297e59;_0x2c6766<_0x3f9861;_0x2c6766++)0x0==_0x57bd8e[_0x2c6766][_0x3fb89b(0x206)]&&(_0x57bd8e[_0x2c6766][_0x3fb89b(0x16e)]=_0x157940);_0x157940=0x0;for(let _0x2abd60=_0x3f9861-0x1;_0x2abd60>=_0x1972b1;_0x2abd60--)0x0==_0x57bd8e[_0x2abd60][_0x3fb89b(0x22c)]?_0x57bd8e[_0x2abd60][_0x3fb89b(0x16e)]=_0x157940:(_0x157940--,_0x57bd8e[_0x2abd60][_0x3fb89b(0x16e)]=_0x157940,_0x157940--);}}[_0x1503f9(0x14b)](_0x2a1763){const _0xd676ab=_0x1503f9,_0x53d359=new Map(),_0x41ec3a=this[_0xd676ab(0x154)][_0xd676ab(0x1a9)][_0xd676ab(0x1b7)];for(let _0x3f769a=0x1;_0x3f769a<_0x2a1763[_0xd676ab(0x161)];_0x3f769a++){let _0x5d2f1f,_0x30dd4b,_0x511a21;const _0x3ec5a6=_0x2a1763[_0x3f769a],_0x240ba7=_0x2a1763[_0x3f769a-0x1];if(_0xd676ab(0x1bb)==_0x3ec5a6[_0xd676ab(0x195)])continue;if(_0x3ec5a6[_0xd676ab(0x195)]!=_0x240ba7[_0xd676ab(0x195)])continue;if(!_0x41ec3a[_0xd676ab(0x122)](_0x240ba7[_0xd676ab(0x1e9)])||_0x41ec3a[_0xd676ab(0x231)](_0x240ba7[_0xd676ab(0x1e9)]))continue;if(!_0x41ec3a[_0xd676ab(0x122)](_0x3ec5a6[_0xd676ab(0x1e9)])||_0x41ec3a[_0xd676ab(0x231)](_0x3ec5a6[_0xd676ab(0x1e9)]))continue;if((_0x2a1763[_0x3f769a][_0xd676ab(0x227)]||_0x2a1763[_0x3f769a][_0xd676ab(0x215)])&&_0x2a1763[_0x3f769a-0x1][_0xd676ab(0x209)])_0x5d2f1f=_0x2a1763[_0x3f769a],_0x30dd4b=_0x2a1763[_0x3f769a-0x1],_0x511a21=_0x3f769a-0x1;else{if(!_0x2a1763[_0x3f769a][_0xd676ab(0x209)]||!_0x2a1763[_0x3f769a-0x1][_0xd676ab(0x227)]&&!_0x2a1763[_0x3f769a-0x1][_0xd676ab(0x215)])continue;_0x5d2f1f=_0x2a1763[_0x3f769a-0x1],_0x30dd4b=_0x2a1763[_0x3f769a],_0x511a21=_0x3f769a;}const _0x348f53=_0x5d2f1f[_0xd676ab(0x16e)]==_0x30dd4b[_0xd676ab(0x16e)],_0x2deee7=Math[_0xd676ab(0x171)](_0x5d2f1f[_0xd676ab(0x16e)])<Math[_0xd676ab(0x171)](_0x30dd4b[_0xd676ab(0x16e)])&&0x0==_0x30dd4b[_0xd676ab(0x22c)];(_0x348f53||_0x2deee7)&&(_0x53d359[_0xd676ab(0x170)](_0x30dd4b['id'],_0x5d2f1f['id']),_0x2a1763[_0xd676ab(0x1b3)](_0x511a21,0x1),_0x3f769a--,_0x5d2f1f[_0xd676ab(0x227)]=!0x1);}for(let _0x462f9d=0x0;_0x462f9d<_0x2a1763[_0xd676ab(0x161)];_0x462f9d++)_0x53d359[_0xd676ab(0x12e)](_0x2a1763[_0x462f9d][_0xd676ab(0x111)])&&(_0x2a1763[_0x462f9d][_0xd676ab(0x111)]=_0x53d359[_0xd676ab(0x1bd)](_0x2a1763[_0x462f9d][_0xd676ab(0x111)]));}[_0x1503f9(0x120)](_0x4c682f){const _0x569338=_0x1503f9,_0x271650=new Set(_0x4c682f[_0x569338(0x168)](_0x2fb0cb=>_0x2fb0cb['id']));for(let _0x315a06=0x0;_0x315a06<_0x4c682f[_0x569338(0x161)];_0x315a06++)_0x271650[_0x569338(0x12e)](_0x4c682f[_0x315a06][_0x569338(0x111)])||0x0==_0x4c682f[_0x315a06][_0x569338(0x22c)]||(_0x4c682f[_0x315a06][_0x569338(0x12f)]=!0x0);return _0x4c682f[_0x569338(0x21d)](_0x439435=>!_0x439435[_0x569338(0x12f)]);}[_0x1503f9(0x14e)](_0x3635d0){const _0x3eafe6=_0x1503f9,_0x333375=new Set();for(let _0x8be99b=0x0;_0x8be99b<_0x3635d0[_0x3eafe6(0x161)];_0x8be99b++){if(_0x333375[_0x3eafe6(0x12e)](_0x3635d0[_0x8be99b]['id'])&&_0x3635d0[_0x8be99b][_0x3eafe6(0x209)]&&(_0x3635d0[_0x8be99b][_0x3eafe6(0x12f)]=!0x0),_0x3635d0[_0x8be99b][_0x3eafe6(0x12f)])continue;if(0x0==_0x3635d0[_0x8be99b][_0x3eafe6(0x22c)])continue;if(_0x3eafe6(0x18d)!=_0x3635d0[_0x8be99b][_0x3eafe6(0x195)])continue;if(null==_0x3635d0[_0x8be99b][_0x3eafe6(0x111)])continue;let _0x148009=_0x8be99b+0x1,_0x8fef12=0x0;for(;_0x3635d0[_0x148009]['id']!=_0x3635d0[_0x8be99b][_0x3eafe6(0x111)];)_0x3eafe6(0x18d)==_0x3635d0[_0x148009][_0x3eafe6(0x195)]?_0x8fef12++:_0x3eafe6(0x17d)==_0x3635d0[_0x148009][_0x3eafe6(0x195)]&&_0x8fef12--,_0x148009++;if(0x0!=_0x8fef12){if(_0x3635d0[_0x8be99b][_0x3eafe6(0x209)])_0x3635d0[_0x8be99b][_0x3eafe6(0x12f)]=!0x0;else{for(;_0x148009!=_0x8be99b;)_0x3635d0[_0x148009][_0x3eafe6(0x209)]&&0x0!=_0x3635d0[_0x148009][_0x3eafe6(0x22c)]&&(_0x3635d0[_0x148009][_0x3eafe6(0x12f)]=!0x0,_0x333375[_0x3eafe6(0x158)](_0x3635d0[_0x148009][_0x3eafe6(0x111)])),_0x148009--;}}}return _0x3635d0[_0x3eafe6(0x21d)](_0x47b1f6=>!_0x47b1f6[_0x3eafe6(0x12f)]);}[_0x1503f9(0xfa)](_0xcb312c){const _0x4abe64=_0x1503f9,_0x155cd3=this[_0x4abe64(0x154)][_0x4abe64(0x1a9)][_0x4abe64(0x1b7)];for(let _0x2e5918=0x0;_0x2e5918<_0xcb312c[_0x4abe64(0x161)];_0x2e5918++){if(!(_0xcb312c[_0x2e5918][_0x4abe64(0x227)]||_0xcb312c[_0x2e5918][_0x4abe64(0x215)]||_0xcb312c[_0x2e5918][_0x4abe64(0x209)]||_0xcb312c[_0x2e5918][_0x4abe64(0x208)]))continue;if(0x0==_0xcb312c[_0x2e5918][_0x4abe64(0x22c)])continue;const _0x340d98=_0xcb312c[_0x2e5918][_0x4abe64(0x1e9)];_0x155cd3[_0x4abe64(0x122)](_0x340d98)||_0x155cd3[_0x4abe64(0x231)](_0x340d98)||(_0xcb312c[_0x2e5918][_0x4abe64(0x227)]&&delete _0xcb312c[_0x2e5918][_0x4abe64(0x227)],_0xcb312c[_0x2e5918][_0x4abe64(0x215)]&&delete _0xcb312c[_0x2e5918][_0x4abe64(0x215)],_0xcb312c[_0x2e5918][_0x4abe64(0x208)]&&delete _0xcb312c[_0x2e5918][_0x4abe64(0x208)],_0xcb312c[_0x2e5918][_0x4abe64(0x209)]&&(_0xcb312c[_0x2e5918][_0x4abe64(0x12f)]=!0x0));}return _0xcb312c[_0x4abe64(0x21d)](_0x15c72d=>!_0x15c72d[_0x4abe64(0x12f)]);}[_0x1503f9(0x1cf)](_0x52e711,_0x6eb2db,_0x772d5e){const _0x557bfc=_0x1503f9,_0x1d096c=new _0x277163(),_0x5a5891=[],_0x4f5fe3=new Map(),_0x2666c8=this[_0x557bfc(0x154)][_0x557bfc(0x1a9)],_0x499cb6=_0x2666c8[_0x557bfc(0x1b7)],_0x116481=[_0x1d096c],_0x4d6dab={},_0x1655c2={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5a1493=null;const _0x1fcbe1=[0x0];for(let _0x315827=0x0;_0x315827<_0x52e711[_0x557bfc(0x161)];_0x315827++)if(_0x557bfc(0x18d)===_0x52e711[_0x315827][_0x557bfc(0x195)]){_0x52e711[_0x315827][_0x557bfc(0x179)]=_0x2666c8[_0x557bfc(0x10c)](_0x1d096c,_0x1fcbe1);const _0x1f8778=new _0x580bd5(_0x52e711[_0x315827][_0x557bfc(0x1e9)][_0x557bfc(0x133)],_0x52e711[_0x315827][_0x557bfc(0x1e9)][_0x557bfc(0x18a)]());_0x116481[0x0][_0x557bfc(0x1bc)](_0x1f8778),_0x1fcbe1[_0x557bfc(0x1f1)](0x0),_0x116481[_0x557bfc(0x1ea)](_0x1f8778),_0x52e711[_0x315827][_0x557bfc(0x18f)]=_0x2666c8[_0x557bfc(0x10c)](_0x1d096c,_0x1fcbe1);}else _0x557bfc(0x17d)===_0x52e711[_0x315827][_0x557bfc(0x195)]?(_0x116481[_0x557bfc(0x183)](),_0x52e711[_0x315827][_0x557bfc(0x179)]=_0x2666c8[_0x557bfc(0x10c)](_0x1d096c,_0x1fcbe1),_0x1fcbe1[_0x557bfc(0x20c)](),_0x1fcbe1[_0x1fcbe1[_0x557bfc(0x161)]-0x1]++,_0x52e711[_0x315827][_0x557bfc(0x18f)]=_0x2666c8[_0x557bfc(0x10c)](_0x1d096c,_0x1fcbe1)):(_0x52e711[_0x315827][_0x557bfc(0x179)]=_0x2666c8[_0x557bfc(0x10c)](_0x1d096c,_0x1fcbe1),_0x5a1493?_0x5a1493[_0x557bfc(0x1ba)]+=_0x52e711[_0x315827][_0x557bfc(0x1e9)][_0x557bfc(0x1e6)]:_0x5a1493=new _0x3af02e(_0x52e711[_0x315827][_0x557bfc(0x1e9)][_0x557bfc(0x1e6)],_0x52e711[_0x315827][_0x557bfc(0x1e9)][_0x557bfc(0x18a)]()),_0x52e711[_0x315827+0x1]&&_0x557bfc(0x1bb)===_0x52e711[_0x315827+0x1][_0x557bfc(0x195)]&&_0x42562c(_0x5a1493,_0x52e711[_0x315827+0x1][_0x557bfc(0x1e9)])||(_0x116481[0x0][_0x557bfc(0x1bc)](_0x5a1493),_0x5a1493=null),_0x1fcbe1[_0x1fcbe1[_0x557bfc(0x161)]-0x1]+=_0x52e711[_0x315827][_0x557bfc(0x1e9)][_0x557bfc(0x1de)],_0x52e711[_0x315827][_0x557bfc(0x18f)]=_0x2666c8[_0x557bfc(0x10c)](_0x1d096c,_0x1fcbe1));for(let _0x579df0=0x0;_0x579df0<_0x52e711[_0x557bfc(0x161)];_0x579df0++){const _0x51f7fc=_0x52e711[_0x579df0][_0x557bfc(0x179)],_0x1f448b=_0x52e711[_0x579df0][_0x557bfc(0x18f)];for(const _0x83c156 of _0x52e711[_0x579df0][_0x557bfc(0x180)])_0x4f5fe3[_0x557bfc(0x170)](_0x83c156,{'start':_0x51f7fc,'end':null});_0x569548(_0x557bfc(0x208),_0x579df0,_0x51f7fc,_0x1f448b),_0x569548(_0x557bfc(0x215),_0x579df0,_0x51f7fc,_0x1f448b),_0x569548(_0x557bfc(0x209),_0x579df0,_0x51f7fc,_0x1f448b),_0x569548(_0x557bfc(0x227),_0x579df0,_0x51f7fc,_0x1f448b);for(const _0xd3fd4b of _0x52e711[_0x579df0][_0x557bfc(0x115)]){_0x4f5fe3[_0x557bfc(0x1bd)](_0xd3fd4b)[_0x557bfc(0x104)]=_0x1f448b;}}for(const [_0x48c20d,_0x3ebe14]of _0x4f5fe3){const _0x5629b1=this[_0x557bfc(0x154)][_0x557bfc(0x1a9)][_0x557bfc(0x1ca)](_0x3ebe14[_0x557bfc(0xfc)],_0x3ebe14[_0x557bfc(0x104)]);_0x1d096c[_0x557bfc(0x1e7)][_0x557bfc(0x170)](_0x48c20d,_0x5629b1);}return _0x5a5891[_0x557bfc(0x225)]((_0x4a8d6c,_0x3c0e63)=>{const _0x54035b=_0x557bfc,_0x3e0d0b=_0x1d096c[_0x54035b(0x1e7)][_0x54035b(0x1bd)](_0x54035b(0x143)+_0x4a8d6c['id']),_0x5e7798=_0x1d096c[_0x54035b(0x1e7)][_0x54035b(0x1bd)](_0x54035b(0x143)+_0x3c0e63['id']);return _0x3e0d0b[_0x54035b(0xfc)][_0x54035b(0x1bf)](_0x5e7798[_0x54035b(0xfc)])?-0x1:_0x3e0d0b[_0x54035b(0xfc)][_0x54035b(0x1c2)](_0x5e7798[_0x54035b(0xfc)])?0x1:_0x3e0d0b[_0x54035b(0x104)][_0x54035b(0x1bf)](_0x5e7798[_0x54035b(0x104)])?-0x1:_0x3e0d0b[_0x54035b(0x104)][_0x54035b(0x1c2)](_0x5e7798[_0x54035b(0x104)])?0x1:_0x54035b(0x158)===_0x4a8d6c[_0x54035b(0x195)]?-0x1:0x1;}),{'root':_0x1d096c,'changes':_0x5a5891};function _0x569548(_0x2099b5,_0x1c9cef,_0x37510e,_0x1e9972){const _0x399db3=_0x557bfc,_0x3709bf=!!_0x52e711[_0x1c9cef][_0x2099b5],_0x58931a=_0x3709bf?_0x52e711[_0x1c9cef][_0x2099b5][_0x399db3(0x1a5)]:null,_0x5c08f1=_0x1c9cef===_0x52e711[_0x399db3(0x161)]-0x1,_0x5b7b0c=_0x1655c2[_0x2099b5][0x0],_0x312f8f=_0x499cb6[_0x399db3(0x132)](_0x52e711[_0x1c9cef][_0x399db3(0x1e9)]);!_0x4d6dab[_0x2099b5]&&_0x3709bf?_0x4d6dab[_0x2099b5]={'start':_0x37510e,'tapeItem':_0x52e711[_0x1c9cef],'userId':_0x58931a,'type':_0x2099b5}:_0x4d6dab[_0x2099b5]&&!_0x3709bf?(_0x4d6dab[_0x2099b5][_0x399db3(0x104)]=_0x37510e,_0x36764f(_0x4d6dab[_0x2099b5]),_0x4d6dab[_0x2099b5]=null):_0x4d6dab[_0x2099b5]&&_0x3709bf&&_0x4d6dab[_0x2099b5][_0x399db3(0x1a5)]!==_0x58931a&&(_0x4d6dab[_0x2099b5][_0x399db3(0x104)]=_0x37510e,_0x5b7b0c&&_0x5b7b0c[_0x399db3(0x1a5)]===_0x4d6dab[_0x2099b5][_0x399db3(0x1a5)]||_0x36764f(_0x4d6dab[_0x2099b5]),_0x4d6dab[_0x2099b5]={'start':_0x37510e,'tapeItem':_0x52e711[_0x1c9cef],'userId':_0x58931a,'type':_0x2099b5}),_0x4d6dab[_0x2099b5]&&_0x312f8f&&(_0x399db3(0x18d)!==_0x52e711[_0x1c9cef][_0x399db3(0x195)]||_0x5b7b0c&&_0x5b7b0c[_0x399db3(0x1a5)]===_0x58931a||_0x1655c2[_0x2099b5][_0x399db3(0x1ea)]({'userId':_0x58931a,'object':_0x52e711[_0x1c9cef][_0x399db3(0x1e9)],'change':_0x4d6dab[_0x2099b5]}),_0x399db3(0x17d)===_0x52e711[_0x1c9cef][_0x399db3(0x195)]&&_0x5b7b0c&&_0x5b7b0c[_0x399db3(0x107)]===_0x52e711[_0x1c9cef][_0x399db3(0x1e9)]&&(_0x1655c2[_0x2099b5][_0x399db3(0x183)](),_0x4d6dab[_0x2099b5]=_0x5b7b0c[_0x399db3(0x1f6)])),_0x4d6dab[_0x2099b5]&&_0x5c08f1&&(_0x4d6dab[_0x2099b5][_0x399db3(0x104)]=_0x1e9972,_0x36764f(_0x4d6dab[_0x2099b5]),_0x4d6dab[_0x2099b5]=null);}function _0x36764f({start:_0xd39e61,end:_0x3abdb2,tapeItem:_0x4866bb,userId:_0x5ddbb2,type:_0x2fadc9}){const _0x521006=_0x557bfc,_0x35d1fc=_0x4866bb[_0x521006(0x1e9)],_0x5e435b=_0x2666c8[_0x521006(0x1b7)][_0x521006(0x122)](_0x35d1fc)&&!_0x2666c8[_0x521006(0x1b7)][_0x521006(0x231)](_0x35d1fc),_0x1510b1=_0xd39e61[_0x521006(0x22d)]==_0x3abdb2[_0x521006(0x1cd)]&&_0x3abdb2[_0x521006(0x13e)];if(_0x5e435b&&_0x1510b1)return;const _0x3d32c6=_0x2666c8[_0x521006(0x1ca)](_0xd39e61,_0x3abdb2),_0x5c5577=_0x6eb2db[_0x521006(0x1bd)](_0x5ddbb2),_0x3b9b9d=new _0x6d42b6({'author':_0x5c5577,'type':_0x521006(0x227)==_0x2fadc9||_0x521006(0x215)==_0x2fadc9?_0x521006(0x158):_0x521006(0x108),'data':{'isSuggestion':_0x521006(0x215)==_0x2fadc9||_0x521006(0x208)==_0x2fadc9},'createdAt':new Date(),'rootName':_0x772d5e});_0x5a5891[_0x521006(0x1f1)](_0x3b9b9d),_0x1d096c[_0x521006(0x1e7)][_0x521006(0x170)](_0x521006(0x143)+_0x3b9b9d['id'],_0x3d32c6);}function _0x42562c(_0x264c07,_0x506531){const _0x5d842e=_0x557bfc,_0x395aa0=_0x264c07[_0x5d842e(0x18a)](),_0xb2c7ff=_0x506531[_0x5d842e(0x18a)]();for(const _0x4c0b51 of _0x395aa0){if(_0x4c0b51[0x1]!==_0x506531[_0x5d842e(0x1fa)](_0x4c0b51[0x0]))return!0x1;_0xb2c7ff[_0x5d842e(0x1b5)]();}return _0xb2c7ff[_0x5d842e(0x1b5)]()[_0x5d842e(0x123)];}}[_0x1503f9(0x15b)](){const _0x460e8f=_0x1503f9;this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x11c))[_0x460e8f(0x1eb)]({'view':_0x460e8f(0x1a6)}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x119))[_0x460e8f(0x1f8)]({'model':_0x460e8f(0x1a6),'view':_0x3149c2=>{const _0x57e344=_0x460e8f,_0x28b037=_0x3149c2[_0x57e344(0x1c4)][_0x57e344(0x1dc)](':')[0x1],_0x34b03e=this[_0x57e344(0x159)](_0x28b037);if(!_0x34b03e)return null;const _0x25880d=_0x57e344(0x158)==_0x34b03e[_0x57e344(0x195)]?_0x57e344(0x12a):_0x57e344(0x1e2),_0x36e936=[_0x57e344(0x188),_0x57e344(0x18b)+_0x25880d];return _0x34b03e[_0x57e344(0x1e6)][_0x57e344(0x237)]&&_0x36e936[_0x57e344(0x1f1)](_0x57e344(0x18b)+_0x25880d+_0x57e344(0x21e)),this[_0x57e344(0x203)]==_0x34b03e&&_0x36e936[_0x57e344(0x1f1)](_0x57e344(0xf4)),{'classes':_0x36e936,'attributes':{'data-change-id':_0x28b037}};}}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x11c))[_0x460e8f(0x158)](_0x5c0be0=>{const _0x284939=_0x460e8f;_0x5c0be0['on'](_0x284939(0x1fb),(_0x1059e3,_0x3bfba0,_0x5a1460)=>{const _0x33888b=_0x284939,_0x4015e1=_0x3bfba0[_0x33888b(0x20d)][_0x33888b(0x146)](0x0);if(!_0x4015e1||!_0x4015e1['is'](_0x33888b(0x18e),_0x33888b(0x175)))return;if(!_0x5a1460[_0x33888b(0xf6)][_0x33888b(0xf1)](_0x4015e1,{'attributes':[_0x33888b(0x17b),_0x33888b(0x15f)]}))return;const _0x31e261=_0x3bfba0[_0x33888b(0xef)][_0x33888b(0xfc)][_0x33888b(0x22d)];_0x5a1460[_0x33888b(0x235)][_0x33888b(0x131)](_0x33888b(0x17b),_0x4015e1[_0x33888b(0x1fa)](_0x33888b(0x17b)),_0x31e261),_0x5a1460[_0x33888b(0x235)][_0x33888b(0x131)](_0x33888b(0x15f),_0x4015e1[_0x33888b(0x1fa)](_0x33888b(0x15f)),_0x31e261);},{'priority':_0x284939(0x1e1)});}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x11c))[_0x460e8f(0x158)](_0x5bb04e=>{const _0xc8fc80=_0x460e8f;_0x5bb04e['on'](_0xc8fc80(0x18e),(_0x59075f,_0x4d9c0f,_0x53ee79)=>{const _0x51eb14=_0xc8fc80;if(!_0x53ee79[_0x51eb14(0xf6)][_0x51eb14(0xf1)](_0x4d9c0f[_0x51eb14(0x20d)],{'attributes':[_0x51eb14(0x17b),_0x51eb14(0x15f)]}))return;if(_0x4d9c0f[_0x51eb14(0xef)][_0x51eb14(0xf3)])return;const _0x800fd6=_0x4d9c0f[_0x51eb14(0xef)][_0x51eb14(0xfc)][_0x51eb14(0x22d)];_0x800fd6[_0x51eb14(0x134)](_0x51eb14(0x17b))||_0x800fd6[_0x51eb14(0x134)](_0x51eb14(0x14d))||(_0x53ee79[_0x51eb14(0x235)][_0x51eb14(0x131)](_0x51eb14(0x17b),_0x4d9c0f[_0x51eb14(0x20d)][_0x51eb14(0x1fa)](_0x51eb14(0x17b)),_0x800fd6),_0x53ee79[_0x51eb14(0x235)][_0x51eb14(0x131)](_0x51eb14(0x15f),_0x4d9c0f[_0x51eb14(0x20d)][_0x51eb14(0x1fa)](_0x51eb14(0x15f)),_0x800fd6));},{'priority':_0xc8fc80(0x1e1)});}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x11c))[_0x460e8f(0xf9)]({'view':{'name':_0x460e8f(0x124),'attributes':{'vid':!0x0}},'model':{'key':_0x460e8f(0x14d),'value':_0x55f215=>_0x55f215[_0x460e8f(0x1fa)](_0x460e8f(0x14d))}}),this[_0x460e8f(0x154)][_0x460e8f(0x1a9)][_0x460e8f(0x1b7)]['on'](_0x460e8f(0x1d0),(_0x48dc23,[,_0x348e55])=>{const _0x1df018=_0x460e8f;[_0x1df018(0x17b),_0x1df018(0x15f),_0x1df018(0x14d)][_0x1df018(0x1f3)](_0x348e55)&&(_0x48dc23[_0x1df018(0x1d5)]=!0x0,_0x48dc23[_0x1df018(0x15a)]());},{'priority':_0x460e8f(0x125)}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x221))[_0x460e8f(0x158)](_0xb49652=>{const _0x3be4bd=_0x460e8f;_0xb49652['on'](_0x3be4bd(0x238),(_0x4713bf,_0xdc6cf3,_0x2031f4)=>{const _0x27f675=_0x3be4bd;if('\x20'!=_0xdc6cf3[_0x27f675(0x1e9)][_0x27f675(0x1e6)]||_0xdc6cf3[_0x27f675(0x1e9)][_0x27f675(0x1cd)][_0x27f675(0x1d7)]>0x1)return;if(!_0x2031f4[_0x27f675(0xf6)][_0x27f675(0xf1)](_0xdc6cf3[_0x27f675(0x1e9)],_0x4713bf[_0x27f675(0x133)]))return;const _0xad16a5=_0x2031f4[_0x27f675(0x235)],_0x5e8e99=_0x2031f4[_0x27f675(0x185)][_0x27f675(0xf7)](_0xdc6cf3[_0x27f675(0xf8)]);_0xad16a5[_0x27f675(0x1d3)](_0x5e8e99,_0xad16a5[_0x27f675(0x20a)](_0x27f675(0x124)));});}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x221))[_0x460e8f(0x181)]({'model':_0x460e8f(0x1a6)}),this[_0x460e8f(0x154)][_0x460e8f(0x207)][_0x460e8f(0xeb)]['on'](_0x460e8f(0x14f),function(_0x207b92){const _0x581ba0=_0x460e8f,_0x34b905=_0x207b92[_0x581ba0(0x212)][_0x581ba0(0x1bd)](_0x581ba0(0x239));return(_0x4f4d23,_0x2127ed,_0x5a82c0)=>{const _0x3f033d=_0x581ba0,_0x30822b=_0x2127ed[_0x3f033d(0x1c4)][_0x3f033d(0x1dc)](':')[0x1],_0x39bc60=_0x34b905[_0x3f033d(0x159)](_0x30822b);if(!_0x39bc60)return null;const _0xb57489=_0x3f033d(0x158)==_0x39bc60[_0x3f033d(0x195)]?_0x3f033d(0x1dc):_0x3f033d(0x1da);if(!_0x5a82c0[_0x3f033d(0xf6)][_0x3f033d(0x1c8)](_0x2127ed[_0x3f033d(0x112)],_0x4f4d23[_0x3f033d(0x133)]))return;const _0x33d559=_0x2127ed[_0x3f033d(0x112)][_0x3f033d(0x1ab)](),_0x314fa7=_0x2127ed[_0x3f033d(0x112)][_0x3f033d(0xfc)],_0x34dbaa=_0x207b92[_0x3f033d(0x1a9)][_0x3f033d(0x1b7)];let _0x48a758=null,_0x504b2f=null,_0x38508f=!0x1,_0x5e2b56=!0x1;for(const _0x53e264 of _0x33d559){const _0x56ea23=_0x53e264[_0x3f033d(0x1e9)];_0x38508f=_0x38508f||_0x34dbaa[_0x3f033d(0x1be)](_0x56ea23);const _0x1c6e0f=_0x5a82c0[_0x3f033d(0x185)][_0x3f033d(0x144)](_0x56ea23);if(_0x1c6e0f&&_0x1c6e0f[_0x3f033d(0x150)](_0x3f033d(0x205)))return;_0x3f033d(0x17d)==_0x53e264[_0x3f033d(0x195)]&&(_0x34dbaa[_0x3f033d(0x122)](_0x56ea23)&&!_0x34dbaa[_0x3f033d(0x231)](_0x56ea23)&&(_0x56ea23[_0x3f033d(0x211)]||_0x314fa7[_0x3f033d(0x16d)]?_0x48a758&&_0x48a758[_0x3f033d(0x1cd)]==_0x56ea23||(_0x48a758=_0x56ea23,_0x417245(_0x53e264[_0x3f033d(0x179)]),_0x5e2b56=!0x0):_0x504b2f=_0x504b2f||_0x53e264[_0x3f033d(0x179)]));}function _0x417245(_0x495373){const _0x3bd975=_0x3f033d,_0x1b55bd=_0x5a82c0[_0x3bd975(0x235)][_0x3bd975(0x156)](_0x3bd975(0x124),{'class':_0x3bd975(0x18b)+_0xb57489}),_0x474baf=_0x5a82c0[_0x3bd975(0x185)][_0x3bd975(0x1c0)](_0x495373);_0x39bc60[_0x3bd975(0x1e6)][_0x3bd975(0x237)]&&_0x5a82c0[_0x3bd975(0x235)][_0x3bd975(0x210)](_0x3bd975(0x18b)+_0xb57489+_0x3bd975(0x21e),_0x1b55bd),_0x34b905[_0x3bd975(0x203)]==_0x39bc60&&_0x5a82c0[_0x3bd975(0x235)][_0x3bd975(0x210)](_0x3bd975(0xf4),_0x1b55bd),_0x5a82c0[_0x3bd975(0x235)][_0x3bd975(0x127)](_0x474baf,_0x1b55bd),_0x5a82c0[_0x3bd975(0x185)][_0x3bd975(0xfd)](_0x1b55bd,_0x2127ed[_0x3bd975(0x1c4)]);}_0x38508f||_0x5e2b56||!_0x504b2f||_0x417245(_0x504b2f);};}(this[_0x460e8f(0x154)]),{'priority':_0x460e8f(0x1ec)}),this[_0x460e8f(0x154)][_0x460e8f(0x207)][_0x460e8f(0xeb)]['on'](_0x460e8f(0x17a),(_0x1bb4f6,_0x5a9fa8,_0x2235a4)=>{const _0x3ae21b=_0x460e8f,_0x37bb40=_0x2235a4[_0x3ae21b(0x185)][_0x3ae21b(0xf0)](_0x5a9fa8[_0x3ae21b(0x1c4)]);if(_0x37bb40){for(const _0xba7932 of _0x37bb40)(_0xba7932[_0x3ae21b(0x13b)](_0x3ae21b(0x117))||_0xba7932[_0x3ae21b(0x13b)](_0x3ae21b(0x1c7)))&&(_0x2235a4[_0x3ae21b(0x185)][_0x3ae21b(0x1c1)](_0xba7932,_0x5a9fa8[_0x3ae21b(0x1c4)]),_0x2235a4[_0x3ae21b(0x235)][_0x3ae21b(0x108)](_0xba7932));}},{'priority':_0x460e8f(0x1ec)}),this[_0x460e8f(0x154)][_0x460e8f(0x207)][_0x460e8f(0xeb)]['on'](_0x460e8f(0x14f),(_0x4d34b8,_0x446089,_0x44dbe4)=>{const _0x5df0e0=_0x460e8f,_0xf1ba90=_0x446089[_0x5df0e0(0x1c4)][_0x5df0e0(0x1dc)](':')[0x1],_0x4f4244=this[_0x5df0e0(0x159)](_0xf1ba90);if(!_0x4f4244)return null;const _0x4aaf21=_0x5df0e0(0x158)==_0x4f4244[_0x5df0e0(0x195)]?_0x5df0e0(0x1dc):_0x5df0e0(0x1da);if(_0x44dbe4[_0x5df0e0(0xf6)][_0x5df0e0(0x1c8)](_0x446089[_0x5df0e0(0x112)],_0x4d34b8[_0x5df0e0(0x133)]))for(const _0x1143e5 of _0x446089[_0x5df0e0(0x112)][_0x5df0e0(0x160)]()){if(!_0x1143e5['is'](_0x5df0e0(0x18e),_0x5df0e0(0xec)))continue;const _0xbf9afc=_0x44dbe4[_0x5df0e0(0x235)][_0x5df0e0(0x156)](_0x5df0e0(0x124),{'class':_0x5df0e0(0x18b)+_0x4aaf21}),_0xa07803=_0x44dbe4[_0x5df0e0(0x185)][_0x5df0e0(0x1c0)](this[_0x5df0e0(0x154)][_0x5df0e0(0x1a9)][_0x5df0e0(0x1ac)](_0x1143e5));_0x4f4244[_0x5df0e0(0x1e6)][_0x5df0e0(0x237)]&&_0x44dbe4[_0x5df0e0(0x235)][_0x5df0e0(0x210)](_0x5df0e0(0x18b)+_0x4aaf21+_0x5df0e0(0x21e),_0xbf9afc),this[_0x5df0e0(0x203)]==_0x4f4244&&_0x44dbe4[_0x5df0e0(0x235)][_0x5df0e0(0x210)](_0x5df0e0(0xf4),_0xbf9afc),_0x44dbe4[_0x5df0e0(0x235)][_0x5df0e0(0x127)](_0xa07803,_0xbf9afc),_0x44dbe4[_0x5df0e0(0x185)][_0x5df0e0(0xfd)](_0xbf9afc,_0x446089[_0x5df0e0(0x1c4)]);}},{'priority':_0x460e8f(0x1ec)}),this[_0x460e8f(0x154)][_0x460e8f(0x1a9)][_0x460e8f(0x192)]['on'](_0x460e8f(0x1f6),()=>{const _0x3c8a7b=_0x460e8f;this[_0x3c8a7b(0x154)][_0x3c8a7b(0x207)][_0x3c8a7b(0x204)][_0x3c8a7b(0x1f6)](_0x8d4c6f=>{const _0x52ca9f=_0x3c8a7b;for(const _0x4f42e3 of this[_0x52ca9f(0x154)][_0x52ca9f(0x1a9)][_0x52ca9f(0x192)][_0x52ca9f(0x126)]()){const _0x7b23a1=this[_0x52ca9f(0x154)][_0x52ca9f(0x1a9)][_0x52ca9f(0x192)][_0x52ca9f(0x20f)](_0x4f42e3),_0x49917d=this[_0x52ca9f(0x154)][_0x52ca9f(0x207)][_0x52ca9f(0x204)][_0x52ca9f(0x192)][_0x52ca9f(0x20f)](_0x4f42e3);if(_0x49917d){const _0xbe0d2f=_0x7b23a1[_0x52ca9f(0x1fa)](_0x52ca9f(0x1c3));if(_0x8d4c6f[_0x52ca9f(0x200)](_0x52ca9f(0x184),_0x49917d),_0x8d4c6f[_0x52ca9f(0x187)](_0x52ca9f(0x226),_0x49917d),_0x8d4c6f[_0x52ca9f(0x187)](_0x52ca9f(0x16f),_0x49917d),_0x8d4c6f[_0x52ca9f(0x187)](_0x52ca9f(0x15e),_0x49917d),_0xbe0d2f){const _0x5630c7=this[_0x52ca9f(0x159)](_0xbe0d2f);if(!_0x5630c7)return null;_0x8d4c6f[_0x52ca9f(0x131)](_0x52ca9f(0x184),_0xbe0d2f,_0x49917d),_0x8d4c6f[_0x52ca9f(0x210)](_0x52ca9f(0x1cb)+_0x5630c7[_0x52ca9f(0x195)],_0x49917d),this[_0x52ca9f(0x203)]==_0x5630c7&&_0x8d4c6f[_0x52ca9f(0x210)](_0x52ca9f(0x15e),_0x49917d);}}}});}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x11c))[_0x460e8f(0x1eb)]({'view':_0x460e8f(0x1f5),'model':_0x2a7ff9=>_0x460e8f(0x22b)+_0x2a7ff9,'converterPriority':_0x460e8f(0x125)}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x11c))[_0x460e8f(0x1eb)]({'view':_0x460e8f(0x18c),'model':_0x3a4a7c=>_0x460e8f(0x218)+_0x3a4a7c,'converterPriority':_0x460e8f(0x125)}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x221))[_0x460e8f(0x181)]({'model':_0x460e8f(0x1ff),'view':_0x1d7c37=>({'name':_0x460e8f(0x1e3)+_0x1d7c37,'group':_0x460e8f(0x1ff)}),'converterPriority':_0x460e8f(0x125)}),this[_0x460e8f(0x154)][_0x460e8f(0x1f2)][_0x460e8f(0x230)](_0x460e8f(0x119))[_0x460e8f(0x1f8)]({'model':_0x460e8f(0x1ff),'view':_0x1aa4fc=>{const _0x27c691=_0x460e8f,_0x4ec293=_0x1aa4fc[_0x27c691(0x1c4)][_0x27c691(0x1dc)](':')[0x1];return _0x27c691(0x12a)!=_0x4ec293&&_0x27c691(0x1e2)!=_0x4ec293?null:{'classes':[_0x27c691(0x10f),_0x27c691(0x164)+_0x4ec293]};}}),this[_0x460e8f(0x154)][_0x460e8f(0x207)][_0x460e8f(0xeb)]['on'](_0x460e8f(0x186),Z(this[_0x460e8f(0x154)],_0x460e8f(0x1da)),{'priority':_0x460e8f(0x1ec)}),this[_0x460e8f(0x154)][_0x460e8f(0x207)][_0x460e8f(0xeb)]['on'](_0x460e8f(0x21c),Z(this[_0x460e8f(0x154)],_0x460e8f(0x1dc)),{'priority':_0x460e8f(0x1ec)}),this[_0x460e8f(0x154)][_0x460e8f(0x207)][_0x460e8f(0xeb)]['on'](_0x460e8f(0x1e0),(_0x249874,_0x39448e,_0x44bf5b)=>{const _0x23f903=_0x460e8f,_0x2c3d0d=_0x44bf5b[_0x23f903(0x185)][_0x23f903(0xf0)](_0x39448e[_0x23f903(0x1c4)]);if(_0x2c3d0d){for(const _0xea23ad of _0x2c3d0d)_0xea23ad['is'](_0x23f903(0x145))&&(_0x44bf5b[_0x23f903(0x185)][_0x23f903(0x1c1)](_0xea23ad,_0x39448e[_0x23f903(0x1c4)]),_0x44bf5b[_0x23f903(0x235)][_0x23f903(0x108)](_0xea23ad));}},{'priority':_0x460e8f(0x1ec)});}[_0x1503f9(0x159)](_0x30d7a6){const _0x1eaddc=_0x1503f9;return this[_0x1eaddc(0x229)][_0x1eaddc(0x1bd)](_0x30d7a6);}[_0x1503f9(0x152)](_0x304e08){const _0xc97ea=_0x1503f9;return this[_0xc97ea(0x13f)]&&this[_0xc97ea(0x13f)][_0xc97ea(0x130)](),this[_0xc97ea(0x13f)]=new _0x29ba55(this[_0xc97ea(0x154)][_0xc97ea(0x162)],_0x304e08),this[_0xc97ea(0x13f)];}[_0x1503f9(0x153)](){const _0x288ded=_0x1503f9;this[_0x288ded(0x154)][_0x288ded(0x1a9)][_0x288ded(0x192)][_0x288ded(0x138)][_0x288ded(0xf2)](_0x288ded(0x1a6)),this['on'](_0x288ded(0x148),(_0x106631,_0x1b137a,_0x3618a8,_0x51a707)=>{const _0x2d94ef=_0x288ded;_0x51a707&&this[_0x2d94ef(0x21a)][_0x2d94ef(0x108)](_0x51a707),_0x3618a8&&(this[_0x2d94ef(0x21a)][_0x2d94ef(0x158)]({'view':_0x3618a8,'stackId':_0x2d94ef(0xff),'position':{'target':()=>{const _0x4c7a2a=_0x2d94ef,_0x19ba8f=this[_0x4c7a2a(0x154)][_0x4c7a2a(0x207)],_0x25e6dd=this[_0x4c7a2a(0x159)](_0x3618a8[_0x4c7a2a(0x1b4)]);let _0x4ead2c;if(_0x25e6dd[_0x4c7a2a(0x1e6)][_0x4c7a2a(0x1d9)]){const _0x2b812a=_0x19ba8f[_0x4c7a2a(0x204)][_0x4c7a2a(0x190)](_0x25e6dd[_0x4c7a2a(0x1e4)]);_0x4ead2c=Array[_0x4c7a2a(0x1ae)](_0x2b812a[_0x4c7a2a(0x10d)]());}else{const _0x3de749=this[_0x4c7a2a(0x154)][_0x4c7a2a(0x1a9)][_0x4c7a2a(0x1e7)][_0x4c7a2a(0x1bd)](_0x4c7a2a(0x143)+_0x3618a8[_0x4c7a2a(0x1b4)]);_0x4ead2c=Array[_0x4c7a2a(0x1ae)](_0x19ba8f[_0x4c7a2a(0x185)][_0x4c7a2a(0xf0)](_0x3de749[_0x4c7a2a(0x133)]))[_0x4c7a2a(0x168)](_0xf7ffeb=>_0x19ba8f[_0x4c7a2a(0x204)][_0x4c7a2a(0x1fe)][_0x4c7a2a(0x100)](_0xf7ffeb))[_0x4c7a2a(0x168)](_0x3cf12b=>Array[_0x4c7a2a(0x1ae)](_0x3cf12b[_0x4c7a2a(0x10d)]()))[_0x4c7a2a(0x222)]();}if(!this[_0x4c7a2a(0x103)])return _0x4ead2c[0x0];return _0x4ead2c[_0x4c7a2a(0xee)](_0x103b40=>_0x103b40[_0x4c7a2a(0x15d)]-0x3<=this[_0x4c7a2a(0x103)]['y']&&_0x103b40[_0x4c7a2a(0x10a)]+0x3>=this[_0x4c7a2a(0x103)]['y']&&_0x103b40[_0x4c7a2a(0x1d8)]-0x3<=this[_0x4c7a2a(0x103)]['x']&&_0x103b40[_0x4c7a2a(0x136)]+0x3>=this[_0x4c7a2a(0x103)]['x'])||_0x4ead2c[0x0];}}}),this[_0x2d94ef(0x21a)][_0x2d94ef(0x1fd)](_0x2d94ef(0xff)));}),this['on'](_0x288ded(0x1b1),(_0x4d1df5,_0x5248ae,_0x315798,_0x2726e3)=>{const _0x1f152a=_0x288ded;this[_0x1f152a(0x1b8)]=_0x315798?this[_0x1f152a(0x152)](_0x315798):null,this[_0x1f152a(0x154)][_0x1f152a(0x1a9)][_0x1f152a(0x1f6)](()=>{const _0x5ad0da=_0x1f152a,_0x553b87=this[_0x5ad0da(0x154)][_0x5ad0da(0x207)];_0x2726e3&&(_0x2726e3[_0x5ad0da(0x1e6)][_0x5ad0da(0x1d9)]?_0x553b87[_0x5ad0da(0x204)][_0x5ad0da(0x1f6)](_0x12bdad=>{const _0x212dc2=_0x5ad0da;_0x12bdad[_0x212dc2(0x187)](_0x212dc2(0x15e),_0x553b87[_0x212dc2(0x204)][_0x212dc2(0x192)][_0x212dc2(0x20f)](_0x2726e3[_0x212dc2(0x1e4)]));}):_0x553b87[_0x5ad0da(0x11d)](_0x5ad0da(0x143)+_0x2726e3['id'])),_0x315798&&(_0x315798[_0x5ad0da(0x1e6)][_0x5ad0da(0x1d9)]?_0x553b87[_0x5ad0da(0x204)][_0x5ad0da(0x1f6)](_0x316abc=>{const _0x9784b6=_0x5ad0da;_0x316abc[_0x9784b6(0x210)](_0x9784b6(0x15e),_0x553b87[_0x9784b6(0x204)][_0x9784b6(0x192)][_0x9784b6(0x20f)](_0x315798[_0x9784b6(0x1e4)]));}):_0x553b87[_0x5ad0da(0x11d)](_0x5ad0da(0x143)+_0x315798['id']));});}),this[_0x288ded(0x198)](this[_0x288ded(0x154)][_0x288ded(0x207)][_0x288ded(0x204)][_0x288ded(0x192)],_0x288ded(0x166),(_0x4b4553,_0x112095)=>{const _0x443e61=_0x288ded;if(this[_0x443e61(0x203)])return;const _0xff940f=this[_0x443e61(0x12d)](_0x112095[_0x443e61(0x16c)]),_0x2b11c1=this[_0x443e61(0x229)][_0x443e61(0x1bd)](_0xff940f);_0x2b11c1?(this[_0x443e61(0x103)]={'x':_0x112095[_0x443e61(0x1db)]['x'],'y':_0x112095[_0x443e61(0x1db)]['y']},this[_0x443e61(0x1b8)]=this[_0x443e61(0x152)](_0x2b11c1)):(this[_0x443e61(0x103)]=null,this[_0x443e61(0x1b8)]=null);}),this[_0x288ded(0x198)](this[_0x288ded(0x154)][_0x288ded(0x207)][_0x288ded(0x204)][_0x288ded(0x192)],_0x288ded(0x1dd),(_0x3aa8a7,_0x41fbd6)=>{const _0x5a2c52=_0x288ded,_0x25df2c=this[_0x5a2c52(0x12d)](_0x41fbd6[_0x5a2c52(0x16c)]),_0x1a1554=this[_0x5a2c52(0x229)][_0x5a2c52(0x1bd)](_0x25df2c);_0x1a1554?(this[_0x5a2c52(0x103)]={'x':_0x41fbd6[_0x5a2c52(0x1db)]['x'],'y':_0x41fbd6[_0x5a2c52(0x1db)]['y']},_0x1a1554===this[_0x5a2c52(0x203)]?this[_0x5a2c52(0x21a)][_0x5a2c52(0x1c9)]():this[_0x5a2c52(0x203)]=_0x1a1554):(this[_0x5a2c52(0x103)]=null,this[_0x5a2c52(0x203)]=null);});}[_0x1503f9(0x12d)](_0x27dc9b){const _0x374430=_0x1503f9;do{const _0x405507=_0x27dc9b[_0x374430(0x1fa)](_0x374430(0x184));if(_0x405507)return _0x405507;_0x27dc9b=_0x27dc9b[_0x374430(0x1cd)];}while(_0x27dc9b);return null;}[_0x1503f9(0x14c)](){const _0x225f43=_0x1503f9;this[_0x225f43(0x154)][_0x225f43(0x1a9)][_0x225f43(0x1f6)](_0x282746=>{const _0x414493=_0x225f43;for(const _0x19aea0 of this[_0x414493(0x154)][_0x414493(0x1a9)][_0x414493(0x1e7)])_0x282746[_0x414493(0x1b9)](_0x19aea0);});}}function Z(_0xcc1e3c,_0x2d4576){return(_0x35fb1a,_0x41207e,_0x1a477)=>{const _0x28a340=_0x1894;if(!_0x1a477[_0x28a340(0xf6)][_0x28a340(0x1c8)](_0x41207e[_0x28a340(0x112)],_0x35fb1a[_0x28a340(0x133)]))return;const _0x50ea20=_0x41207e[_0x28a340(0x112)][_0x28a340(0x1ab)](),_0x591f53=_0x41207e[_0x28a340(0x112)][_0x28a340(0xfc)],_0x435923=_0xcc1e3c[_0x28a340(0x1a9)][_0x28a340(0x1b7)];let _0x17ebfb=null,_0xfa833c=null,_0x5c9aec=!0x1,_0x39c46a=!0x1;for(const _0x2b30b5 of _0x50ea20){const _0x4cdb30=_0x2b30b5[_0x28a340(0x1e9)];_0x5c9aec=_0x5c9aec||_0x435923[_0x28a340(0x1be)](_0x4cdb30);const _0x2ab3c1=_0x1a477[_0x28a340(0x185)][_0x28a340(0x144)](_0x4cdb30);if(_0x2ab3c1&&_0x2ab3c1[_0x28a340(0x150)](_0x28a340(0x205)))return;_0x28a340(0x17d)==_0x2b30b5[_0x28a340(0x195)]&&(_0x435923[_0x28a340(0x122)](_0x4cdb30)&&!_0x435923[_0x28a340(0x231)](_0x4cdb30)&&(_0x4cdb30[_0x28a340(0x211)]||_0x591f53[_0x28a340(0x16d)]?_0x17ebfb&&_0x17ebfb[_0x28a340(0x1cd)]==_0x4cdb30||(_0x17ebfb=_0x4cdb30,_0x24b4f1(_0x2b30b5[_0x28a340(0x179)]),_0x39c46a=!0x0):_0xfa833c=_0xfa833c||_0x2b30b5[_0x28a340(0x179)]));}function _0x24b4f1(_0x136f3b){const _0x454f9a=_0x28a340,_0x426798=_0x1a477[_0x454f9a(0x185)][_0x454f9a(0x1c0)](_0x136f3b),_0x14799e=_0x1a477[_0x454f9a(0x235)][_0x454f9a(0x156)](_0x454f9a(0x124),{'class':_0x454f9a(0x164)+_0x2d4576});_0x1a477[_0x454f9a(0x235)][_0x454f9a(0x127)](_0x426798,_0x14799e),_0x1a477[_0x454f9a(0x185)][_0x454f9a(0xfd)](_0x14799e,_0x41207e[_0x454f9a(0x1c4)]);}_0x5c9aec||_0x39c46a||!_0xfa833c||_0x24b4f1(_0xfa833c);};}export class RestoreRevisionCommand extends _0xb8a5d1{constructor(_0x5b4560){const _0x2f7b82=_0x1503f9;super(_0x5b4560);const _0x221ee3=_0x5b4560[_0x2f7b82(0x212)][_0x2f7b82(0x1bd)](d);this[_0x2f7b82(0x1a0)]=!0x1,this[_0x2f7b82(0x198)](_0x221ee3,_0x2f7b82(0xfe),()=>this[_0x2f7b82(0x141)]()),this[_0x2f7b82(0x198)](_0x221ee3,_0x2f7b82(0x1f7),()=>this[_0x2f7b82(0x141)]());}[_0x1503f9(0x102)](){const _0x575845=_0x1503f9,_0x4302a8=this[_0x575845(0x154)],_0x42a0ad=_0x4302a8[_0x575845(0x212)][_0x575845(0x1bd)](d),_0x541e5b=_0x42a0ad[_0x575845(0x19b)]?_0x42a0ad[_0x575845(0x1d6)][_0x575845(0x17e)]:null;_0x4302a8[_0x575845(0x16a)][_0x575845(0x1bd)](_0x575845(0x1a2))[_0x575845(0x140)](_0x541e5b);}[_0x1503f9(0x141)](){const _0x575799=_0x1503f9,{isReady:_0x4d7d64,isEnabled:_0x545dc1,repository:_0x4104ed,diff:_0x593e7f}=this[_0x575799(0x154)][_0x575799(0x212)][_0x575799(0x1bd)](d),_0x8e4f70=_0x593e7f&&_0x4104ed[_0x575799(0x19d)](_0x593e7f[_0x575799(0x17e)]);this[_0x575799(0x10b)]=_0x4d7d64&&_0x545dc1&&Boolean(_0x8e4f70);}}export class ShowChangeCommand extends _0xb8a5d1{constructor(_0x4a2bb3,{direction:_0xf46da4}){const _0x2847be=_0x1503f9;super(_0x4a2bb3);const _0x3e16c0=_0x4a2bb3[_0x2847be(0x212)][_0x2847be(0x1bd)](d);this[_0x2847be(0x1a0)]=!0x1,this[_0x2847be(0x1e5)]=_0x2847be(0x1ad)===_0xf46da4?0x1:-0x1,this[_0x2847be(0x198)](_0x3e16c0,_0x2847be(0xfe),()=>this[_0x2847be(0x141)]()),this[_0x2847be(0x198)](_0x3e16c0,_0x2847be(0x1f7),()=>this[_0x2847be(0x141)]()),this[_0x2847be(0x198)](_0x3e16c0,_0x2847be(0x1b1),()=>this[_0x2847be(0x141)]());}[_0x1503f9(0x102)](){const _0x378ab9=_0x1503f9,_0x270217=this[_0x378ab9(0x154)],_0x13f225=_0x270217[_0x378ab9(0x212)][_0x378ab9(0x1bd)](d),{isNavigationMode:_0x14755a,currentChangeNumber:_0x40e61e}=_0x13f225;let _0x1474d8;if(_0x13f225[_0x378ab9(0x203)]=_0x14755a?_0x13f225[_0x378ab9(0x1d6)][_0x378ab9(0x129)][_0x378ab9(0x1bd)](_0x40e61e+this[_0x378ab9(0x1e5)]):_0x13f225[_0x378ab9(0x1d6)][_0x378ab9(0x129)][_0x378ab9(0x101)],_0x13f225[_0x378ab9(0x203)][_0x378ab9(0x1e6)][_0x378ab9(0x1d9)])_0x1474d8=_0x270217[_0x378ab9(0x207)][_0x378ab9(0x204)][_0x378ab9(0x190)](_0x13f225[_0x378ab9(0x203)][_0x378ab9(0x1e4)]);else{const _0x4e894c=_0x270217[_0x378ab9(0x1a9)][_0x378ab9(0x1e7)][_0x378ab9(0x1bd)](_0x378ab9(0x143)+_0x13f225[_0x378ab9(0x203)]['id']);_0x1474d8=_0x5d2fd5(_0x270217[_0x378ab9(0x207)],_0x4e894c);}_0x596d41({'target':_0x1474d8,'viewportOffset':0x28});}[_0x1503f9(0x141)](){const _0x36a0b2=_0x1503f9,{isNavigationMode:_0xe956ea,currentChangeNumber:_0x4188c7,numberOfChanges:_0x158d0e,isReady:_0x3daef7,isEnabled:_0x2bd7c6}=this[_0x36a0b2(0x154)][_0x36a0b2(0x212)][_0x36a0b2(0x1bd)](d);this[_0x36a0b2(0x10b)]=!!(_0x2bd7c6&&_0x3daef7&&_0x158d0e)&&(!_0xe956ea||(0x1===this[_0x36a0b2(0x1e5)]?_0x4188c7<_0x158d0e-0x1:_0x4188c7>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5ead84,_0x1808ef){const _0x70275c=_0x3269,_0x55cec4=_0x5ead84();while(!![]){try{const _0x221c78=-parseInt(_0x70275c(0xaa))/0x1+parseInt(_0x70275c(0x8b))/0x2*(parseInt(_0x70275c(0x9a))/0x3)+parseInt(_0x70275c(0x86))/0x4*(parseInt(_0x70275c(0x85))/0x5)+-parseInt(_0x70275c(0x8a))/0x6*(-parseInt(_0x70275c(0x87))/0x7)+-parseInt(_0x70275c(0x89))/0x8*(parseInt(_0x70275c(0x82))/0x9)+-parseInt(_0x70275c(0x9c))/0xa+-parseInt(_0x70275c(0xa5))/0xb;if(_0x221c78===_0x1808ef)break;else _0x55cec4['push'](_0x55cec4['shift']());}catch(_0x31ae4d){_0x55cec4['push'](_0x55cec4['shift']());}}}(_0x387b,0x8cf05));function _0x3269(_0x212076,_0x14fc5a){const _0x387b44=_0x387b();return _0x3269=function(_0x326912,_0x1511c2){_0x326912=_0x326912-0x81;let _0x54baf9=_0x387b44[_0x326912];return _0x54baf9;},_0x3269(_0x212076,_0x14fc5a);}import{Collection as _0x35a062}from'ckeditor5/src/utils.js';import{icons as _0x1fe540}from'ckeditor5/src/core.js';import{ViewModel as _0x1aff69,addListToDropdown as _0x3dd2e6,createDropdown as _0x17b4e1}from'ckeditor5/src/ui.js';import{getTranslation as _0x158098}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x1eef8e,_0x2e3ce0){const _0x267081=_0x3269,_0x129d8c=_0x1eef8e[_0x267081(0x8c)],_0x179eab=_0x1eef8e[_0x267081(0x8e)],_0x5b7b92=_0x17b4e1(_0x179eab);_0x5b7b92[_0x267081(0xb3)]='sw';const _0x375046=function(_0x483c66,_0x1d09b4){const _0x2682a7=_0x267081,_0x3ceac0=function(_0x1e1c19,_0x85f74c){const _0x36bee3=_0x3269,_0x551d5f=_0x1e1c19[_0x36bee3(0x8e)],_0x259b84={'Compare\x20against\x20selected':_0x158098(_0x551d5f,_0x36bee3(0x9d)),'Name\x20this\x20revision':_0x158098(_0x551d5f,_0x36bee3(0x98)),'Restore\x20this\x20revision':_0x158098(_0x551d5f,_0x36bee3(0x84))};return _0x85f74c[_0x36bee3(0x97)](_0x14bf8a=>{const _0x17e6f4=_0x36bee3,_0x403410=_0x259b84[_0x14bf8a[_0x17e6f4(0xaf)]];return _0x403410&&_0x403410!==_0x14bf8a[_0x17e6f4(0xaf)]&&(_0x14bf8a[_0x17e6f4(0xaf)]=_0x403410),_0x14bf8a;});}(_0x483c66,_0x1d09b4),_0x2a30db=new _0x35a062();for(const _0x6f3afb of _0x3ceac0){const _0x9731dd={'type':_0x2682a7(0x90),'model':new _0x1aff69({'label':_0x6f3afb[_0x2682a7(0xaf)],'class':_0x6f3afb[_0x2682a7(0xb1)],'withText':!0x0,'role':_0x2682a7(0xa3),'_action':_0x6f3afb[_0x2682a7(0x93)]})};_0x9731dd[_0x2682a7(0xae)][_0x2682a7(0x96)](_0x2682a7(0x91))['to'](_0x483c66,_0x2682a7(0xa7),_0x1067eb=>_0x2682a7(0x9b)!=typeof _0x6f3afb[_0x2682a7(0x91)]||(!_0x1067eb||_0x6f3afb[_0x2682a7(0x91)](_0x483c66))),_0x2a30db[_0x2682a7(0x92)](_0x9731dd);}return _0x2a30db;}(_0x1eef8e,_0x2e3ce0);return _0x1eef8e[_0x267081(0x96)](_0x267081(0xa7))['to'](_0x5b7b92,_0x267081(0xad)),_0x5b7b92[_0x267081(0x81)][_0x267081(0x94)]({'label':_0x158098(_0x179eab,_0x267081(0xac)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1fe540[_0x267081(0xa4)]}),_0x5b7b92[_0x267081(0xa0)]({'attributes':{'class':[_0x267081(0xa8),_0x129d8c['if'](_0x267081(0xa7),_0x267081(0x8d))]},'on':{'click':_0x129d8c['to'](_0xf4a74=>_0xf4a74[_0x267081(0x99)]())}}),_0x5b7b92['on'](_0x267081(0x9e),_0x50c828=>{const _0x26a5e5=_0x267081;_0x1eef8e[_0x26a5e5(0x8f)]&&_0x26a5e5(0x9b)==typeof _0x50c828[_0x26a5e5(0xa2)][_0x26a5e5(0xb0)]&&_0x50c828[_0x26a5e5(0xa2)][_0x26a5e5(0xb0)](_0x1eef8e);}),_0x3dd2e6(_0x5b7b92,_0x375046,{'role':_0x267081(0xa1)}),_0x5b7b92[_0x267081(0x88)](_0x1eef8e,_0x267081(0x83),(_0x4d1e70,_0xba0219,_0x539b42)=>{const _0x214a20=_0x267081;if(_0x539b42)for(const _0x13da43 of _0x5b7b92[_0x214a20(0x9f)][_0x214a20(0x95)]){const _0x350576=_0x13da43[_0x214a20(0xa9)][_0x214a20(0xb2)],_0x2d4df8=_0x2e3ce0[_0x214a20(0xa6)](_0x38f3c7=>_0x38f3c7[_0x214a20(0x93)]===_0x350576[_0x214a20(0xb0)])[_0x214a20(0xab)];_0x13da43[_0x214a20(0xab)]=void 0x0===_0x2d4df8||_0x2d4df8(_0x1eef8e);}}),_0x5b7b92;}function _0x387b(){const _0x374e95=['1396055lRhfDs','16lMoDOC','1279026pWLuGA','listenTo','568WBSGWn','36vQrSHF','146420MCZOfh','bindTemplate','ck-on','locale','isReady','button','isEnabled','add','action','set','items','bind','map','Name\x20this\x20revision','stopPropagation','33SEVdNL','function','4306090fXXkUd','Compare\x20against\x20selected','execute','listView','extendTemplate','menu','source','menuitem','threeVerticalDots','8012268bNGUya','find','isActionsDropdownOpen','ck-revision-history-sidebar__revision__actions','children','537745bGNZOz','isVisible','Show\x20more\x20items','isOpen','model','name','_action','class','first','panelPosition','buttonView','94365ltbuAq','change:isActionsDropdownOpen','Restore\x20this\x20revision'];_0x387b=function(){return _0x374e95;};return _0x387b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3230cd,_0x4b8a77){const _0x4d5842=_0x5b3a,_0x2ad678=_0x3230cd();while(!![]){try{const _0x30511f=-parseInt(_0x4d5842(0x90))/0x1+parseInt(_0x4d5842(0x82))/0x2+-parseInt(_0x4d5842(0x89))/0x3+parseInt(_0x4d5842(0x87))/0x4*(-parseInt(_0x4d5842(0x8a))/0x5)+-parseInt(_0x4d5842(0x8b))/0x6*(parseInt(_0x4d5842(0x88))/0x7)+parseInt(_0x4d5842(0x91))/0x8+parseInt(_0x4d5842(0x8f))/0x9;if(_0x30511f===_0x4b8a77)break;else _0x2ad678['push'](_0x2ad678['shift']());}catch(_0xa718c9){_0x2ad678['push'](_0x2ad678['shift']());}}}(_0x484c,0x2de71));import{View as _0x1a5d15,IconView as _0x238cb3}from'ckeditor5/src/ui.js';import{getTranslation as _0x34b9b0}from'../../utils/common-translations.js';function _0x5b3a(_0x3f20b8,_0x22dfe0){const _0x484c70=_0x484c();return _0x5b3a=function(_0x5b3a6e,_0x4d1458){_0x5b3a6e=_0x5b3a6e-0x82;let _0x558e2c=_0x484c70[_0x5b3a6e];return _0x558e2c;},_0x5b3a(_0x3f20b8,_0x22dfe0);}import'../../../theme/revision/revisionauthor.css';import _0x4970b3 from'../../../theme/icons/user.svg';function _0x484c(){const _0x5cb560=['name','ck-revision-history-sidebar__revision-author__name','setTemplate','7295247DqPQcD','332210ggUxAv','610640BhngdN','ck-revision-history-sidebar__revision-author','set','push','Revision\x20author','561802IMXtoW','Revision\x20creator','0\x200\x2011\x2010','span','ck-revision-history-sidebar__revision-author_creator','472ouqFHA','329WohEYL','592392aSOISt','3565xpiaqa','46722dKGmnY'];_0x484c=function(){return _0x5cb560;};return _0x484c();}export default class ti extends _0x1a5d15{constructor(_0x3a5afb,_0x18f648,_0x59f366){const _0x3cde33=_0x5b3a;super(_0x3a5afb);const _0x30aa57=new _0x238cb3();_0x30aa57[_0x3cde33(0x93)]({'content':_0x4970b3,'viewBox':_0x3cde33(0x84)});const _0x5dcce6=['ck',_0x3cde33(0x92)];_0x59f366&&_0x5dcce6[_0x3cde33(0x94)](_0x3cde33(0x86));const _0xe4ea75=[{'tag':_0x3cde33(0x85),'attributes':{'class':['ck',_0x3cde33(0x8d)],'title':_0x34b9b0(_0x3a5afb,_0x59f366?_0x3cde33(0x83):_0x3cde33(0x95))},'children':[_0x30aa57,_0x18f648[_0x3cde33(0x8c)]]}];this[_0x3cde33(0x8e)]({'tag':'li','attributes':{'class':_0x5dcce6},'children':_0xe4ea75});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d383f=_0x1202;function _0x16bc(){const _0x32251e=['_resizeObserver','extendTemplate','_updateTooltipText','scrollWidth','set','fieldView','input','ck-revision-history-sidebar__revision-name','29134oLvYFL','_tooltipString','clientWidth','Enter\x20the\x20revision\x20name','1107748tcOnSO','37456IjDlem','3144192wAzugN','element','ck-tooltip_multi-line','969920sIPggE','destroy','render','placeholder','value','bindTemplate','Revision\x20name','535875ikkPsS','span','9gJwwRM','27bsHnmZ','91OYaZMD','listenTo','1153435nBrPMl'];_0x16bc=function(){return _0x32251e;};return _0x16bc();}(function(_0x2cfe10,_0x17fa86){const _0x52a1e4=_0x1202,_0x382fa3=_0x2cfe10();while(!![]){try{const _0x1f385b=parseInt(_0x52a1e4(0x10c))/0x1*(parseInt(_0x52a1e4(0x119))/0x2)+-parseInt(_0x52a1e4(0x10a))/0x3+parseInt(_0x52a1e4(0x11d))/0x4+parseInt(_0x52a1e4(0x110))/0x5+-parseInt(_0x52a1e4(0x11f))/0x6+-parseInt(_0x52a1e4(0x10e))/0x7*(-parseInt(_0x52a1e4(0x11e))/0x8)+parseInt(_0x52a1e4(0x10d))/0x9*(parseInt(_0x52a1e4(0x122))/0xa);if(_0x1f385b===_0x17fa86)break;else _0x382fa3['push'](_0x382fa3['shift']());}catch(_0x1589a2){_0x382fa3['push'](_0x382fa3['shift']());}}}(_0x16bc,0x464a8));import{LabeledFieldView as _0x2d023b}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x160263}from'ckeditor5/src/utils.js';import{getTranslation as _0x531936}from'../../utils/common-translations.js';function _0x1202(_0x17f82f,_0x3d1ff9){const _0x16bc41=_0x16bc();return _0x1202=function(_0x1202f3,_0x28dde8){_0x1202f3=_0x1202f3-0x106;let _0x1b6c48=_0x16bc41[_0x1202f3];return _0x1b6c48;},_0x1202(_0x17f82f,_0x3d1ff9);}import'../../../theme/revision/revisionname.css';export default class pt extends _0x2d023b{constructor(_0x1916b1,_0x44c861){const _0xf318c2=_0x1202;super(_0x1916b1,_0x44c861),this[_0xf318c2(0x111)]=null;const _0x109b68=this[_0xf318c2(0x108)];this[_0xf318c2(0x115)]({'label':_0x531936(_0x1916b1,_0xf318c2(0x109)),'_tooltipString':''}),this[_0xf318c2(0x116)][_0xf318c2(0x106)]=_0x531936(_0x1916b1,_0xf318c2(0x11c)),this[_0xf318c2(0x112)]({'tag':_0xf318c2(0x10b),'attributes':{'class':[_0xf318c2(0x118)],'data-cke-tooltip-text':_0x109b68['to'](_0xf318c2(0x11a)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0xf318c2(0x121)}});}[_0x5d383f(0x124)](){const _0x3e8285=_0x5d383f;super[_0x3e8285(0x124)](),this[_0x3e8285(0x111)]=new _0x160263(this[_0x3e8285(0x116)][_0x3e8285(0x120)],()=>this[_0x3e8285(0x113)]()),this[_0x3e8285(0x10f)](this[_0x3e8285(0x116)],_0x3e8285(0x117),()=>this[_0x3e8285(0x113)]());}[_0x5d383f(0x123)](){const _0x5e4fbb=_0x5d383f;super[_0x5e4fbb(0x123)](),this[_0x5e4fbb(0x111)]&&this[_0x5e4fbb(0x111)][_0x5e4fbb(0x123)]();}[_0x5d383f(0x113)](){const _0x406e7b=_0x5d383f,_0x43a032=this[_0x406e7b(0x116)][_0x406e7b(0x120)];this[_0x406e7b(0x11a)]=_0x43a032[_0x406e7b(0x114)]>_0x43a032[_0x406e7b(0x11b)]&&_0x43a032[_0x406e7b(0x107)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x529434=_0x530a;(function(_0x1b1992,_0x54eb4b){const _0xd12654=_0x530a,_0x26deec=_0x1b1992();while(!![]){try{const _0x5cedef=-parseInt(_0xd12654(0x111))/0x1*(parseInt(_0xd12654(0x12b))/0x2)+-parseInt(_0xd12654(0x114))/0x3+-parseInt(_0xd12654(0x118))/0x4+-parseInt(_0xd12654(0x116))/0x5*(-parseInt(_0xd12654(0x10e))/0x6)+parseInt(_0xd12654(0x10c))/0x7+parseInt(_0xd12654(0x12f))/0x8*(-parseInt(_0xd12654(0x122))/0x9)+parseInt(_0xd12654(0x10f))/0xa*(parseInt(_0xd12654(0x131))/0xb);if(_0x5cedef===_0x54eb4b)break;else _0x26deec['push'](_0x26deec['shift']());}catch(_0x26697d){_0x26deec['push'](_0x26deec['shift']());}}}(_0x2cd5,0x374b6));import{View as _0x1a1cab,createLabeledInputText as _0x184538}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x5bd6ad}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3cd429 from'./revisionnameview.js';import _0x558444 from'./revisionauthorview.js';function _0x530a(_0x1f0008,_0x3a263e){const _0x2cd52e=_0x2cd5();return _0x530a=function(_0x530a4a,_0x41dac5){_0x530a4a=_0x530a4a-0xf3;let _0x1b4b2a=_0x2cd52e[_0x530a4a];return _0x1b4b2a;},_0x530a(_0x1f0008,_0x3a263e);}import{dateToPrettyFormat as _0x40cba4}from'./utils.js';function _0x2cd5(){const _0x4f72ac=['map','extendTemplate','createdAt','ck-revision-history-sidebar__revision__controls-wrapper','div','from','ck-revision-history-sidebar__revision_highlighted','revisionActionsView','srcElement','change','select','set','ck-revision-history-sidebar__revision-wrapper','listenTo','bindTemplate','isConfirm','ck-revision-history-sidebar__revision_selected','revisionNameView','ck-revision-history-sidebar__actions_dropdown_open','_createdAtFormatted','deselect','isReady','name','ck-disabled','.ck-thread__remove-confirm','uiLanguage','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','1471428EgfNAL','isEnabled','12HQqUor','7970XfqSVE','ck-revision-history-sidebar__revision__date','786TsfscH','filter','ck-reset','956718ftvZYG','isHighlighted','791295GobCME','unshift','839072yGDvUg','ck-revision-history-sidebar__revision','span','bind','_requireRevisionName','length','value','isSelected','fieldView','closest','45wvdMkR','unhighlight','isActionsDropdownOpen','ck-revision-history-sidebar__revision-authors','render','_revision','setTemplate','highlight','creator','168pwnuPt','setName','220','fire','14712ebJism','element','4191UxtpIS','authors'];_0x2cd5=function(){return _0x4f72ac;};return _0x2cd5();}import{createActionsDropdownView as _0xcde01b}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5bd6ad(_0x1a1cab){constructor(_0x412059,_0x5840c1,_0x3cf24b,_0x36cad0){const _0x164c57=_0x530a;super(_0x412059);const _0xb24b53=this[_0x164c57(0xff)],_0x381e0a=function(_0x184228,_0x24f2fc){const _0x498024=_0x164c57,_0x5d26ef=Array[_0x498024(0xf6)](_0x24f2fc[_0x498024(0x132)])[_0x498024(0x112)](_0x26e8c6=>_0x26e8c6!=_0x24f2fc[_0x498024(0x12a)]);return _0x24f2fc[_0x498024(0x12a)]&&_0x5d26ef[_0x498024(0x117)](_0x24f2fc[_0x498024(0x12a)]),_0x5d26ef[_0x498024(0x133)](_0x51b033=>new _0x558444(_0x184228,_0x51b033,_0x51b033==_0x24f2fc[_0x498024(0x12a)]));}(_0x412059,_0x5840c1);this['id']=_0x5840c1['id'],this[_0x164c57(0x127)]=_0x5840c1,this[_0x164c57(0x11c)]=_0x36cad0,this[_0x164c57(0x11b)](_0x164c57(0x107),_0x164c57(0xf3))['to'](_0x5840c1),this[_0x164c57(0x11b)](_0x164c57(0x104))['to'](this,_0x164c57(0xf3),_0x326017=>_0x40cba4(_0x412059[_0x164c57(0x10a)],_0x326017)),this[_0x164c57(0xfc)](_0x164c57(0x11f),!0x1),this[_0x164c57(0xfc)](_0x164c57(0x115),!0x1),this[_0x164c57(0xfc)](_0x164c57(0x124),!0x1),this[_0x164c57(0xfc)](_0x164c57(0x106),!0x1),this[_0x164c57(0xfc)](_0x164c57(0x10d),!0x1),this[_0x164c57(0x102)]=new _0x3cd429(_0x412059,_0x184538),this[_0x164c57(0x102)][_0x164c57(0x120)][_0x164c57(0x134)]({'attributes':{'maxlength':_0x164c57(0x12d)}}),this[_0x164c57(0x102)][_0x164c57(0x120)][_0x164c57(0x11b)](_0x164c57(0x11e))['to'](this,_0x164c57(0x107),_0x5bf061=>_0x5bf061||this[_0x164c57(0x104)]),this[_0x164c57(0x102)][_0x164c57(0x11b)](_0x164c57(0x10d))['to'](this,_0x164c57(0x11f),this,_0x164c57(0x10d),(_0x7c3b7e,_0x3337ec)=>_0x7c3b7e&&_0x3337ec),this[_0x164c57(0xf8)]=_0x3cf24b&&_0x3cf24b[_0x164c57(0x11d)]?_0xcde01b(this,_0x3cf24b):'',this[_0x164c57(0xf8)]&&this[_0x164c57(0xf8)][_0x164c57(0x11b)](_0x164c57(0x10d))['to'](this),this[_0x164c57(0x128)]({'tag':_0x164c57(0xf5),'attributes':{'class':['ck',_0x164c57(0x113),_0x164c57(0xfd),_0xb24b53['if'](_0x164c57(0x100),_0x164c57(0x10b))]},'children':[{'tag':_0x164c57(0xf5),'attributes':{'class':['ck',_0x164c57(0x113),_0x164c57(0x119),_0xb24b53['if'](_0x164c57(0x10d),_0x164c57(0x108),_0x52c8de=>!_0x52c8de),_0xb24b53['if'](_0x164c57(0x11f),_0x164c57(0x101)),_0xb24b53['if'](_0x164c57(0x115),_0x164c57(0xf7)),_0xb24b53['if'](_0x164c57(0x124),_0x164c57(0x103))]},'children':[this[_0x164c57(0x102)],{'tag':_0x164c57(0x11a),'attributes':{'class':['ck',_0x164c57(0x110)]},'children':[{'text':_0xb24b53['to'](_0x164c57(0x104))}]},{'tag':_0x164c57(0xf5),'attributes':{'class':['ck',_0x164c57(0xf4)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x164c57(0x125)]},'children':_0x381e0a}]},this[_0x164c57(0xf8)]],'on':{'click':_0xb24b53['to'](_0x2c1560=>{const _0x26cb2c=_0x164c57;_0x2c1560[_0x26cb2c(0xf9)][_0x26cb2c(0x121)](_0x26cb2c(0x109))||this[_0x26cb2c(0x106)]&&this[_0x26cb2c(0x10d)]&&this[_0x26cb2c(0x12e)](_0x26cb2c(0xfb),{'id':this['id']});})}}]});}[_0x529434(0x126)](){const _0x293612=_0x529434;super[_0x293612(0x126)]();const _0x4b3ed1=this[_0x293612(0x102)][_0x293612(0x120)][_0x293612(0x130)];this[_0x293612(0xfe)](_0x4b3ed1,_0x293612(0xfa),()=>{const _0x2f64b3=_0x293612;this[_0x2f64b3(0x11c)]&&!_0x4b3ed1[_0x2f64b3(0x11e)]||this[_0x2f64b3(0x12e)](_0x2f64b3(0x12c),{'id':this['id'],'name':_0x4b3ed1[_0x2f64b3(0x11e)]}),_0x4b3ed1[_0x2f64b3(0x11e)]||(_0x4b3ed1[_0x2f64b3(0x11e)]=this[_0x2f64b3(0x107)]?this[_0x2f64b3(0x107)]:this[_0x2f64b3(0x104)]);});}[_0x529434(0xfb)](){const _0x84089c=_0x529434;this[_0x84089c(0x11f)]=!0x0;}[_0x529434(0x105)](){const _0x59f28a=_0x529434;this[_0x59f28a(0x11f)]=!0x1;}[_0x529434(0x129)](){const _0x104900=_0x529434;this[_0x104900(0x115)]=!0x0;}[_0x529434(0x123)](){const _0x2d0772=_0x529434;this[_0x2d0772(0x115)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4601a0=_0x4bd6;function _0x2e7f(){const _0x1b7e0e=['3ZDMpUG','342378rnSZKi','ck-revision-history-sidebar__subrevision-collapser','27oZhHUZ','1092030hdjDHw','set','5372tsXZsK','true','_isCollapsed','569616TGVwue','ck-revision-history-sidebar__subrevision-collapser__inner','click','395825roobZi','ck-hidden','1927010jjMACH','17783007HdryXl','isVisible','false','ck-revision-history-sidebar__subrevision-collapser_collapsed','toggle','42Kanijk','290fvSpIT','bindTemplate','button','span','setTemplate'];_0x2e7f=function(){return _0x1b7e0e;};return _0x2e7f();}(function(_0x599a2a,_0x5ae1a7){const _0xdc0dec=_0x4bd6,_0xdc9c2a=_0x599a2a();while(!![]){try{const _0x43f08f=parseInt(_0xdc0dec(0xa7))/0x1+parseInt(_0xdc0dec(0xa9))/0x2*(parseInt(_0xdc0dec(0x9b))/0x3)+-parseInt(_0xdc0dec(0xa1))/0x4*(-parseInt(_0xdc0dec(0xb0))/0x5)+-parseInt(_0xdc0dec(0x9c))/0x6+parseInt(_0xdc0dec(0xaf))/0x7*(parseInt(_0xdc0dec(0xa4))/0x8)+parseInt(_0xdc0dec(0x9e))/0x9*(parseInt(_0xdc0dec(0x9f))/0xa)+-parseInt(_0xdc0dec(0xaa))/0xb;if(_0x43f08f===_0x5ae1a7)break;else _0xdc9c2a['push'](_0xdc9c2a['shift']());}catch(_0x5d1279){_0xdc9c2a['push'](_0xdc9c2a['shift']());}}}(_0x2e7f,0x7e8c9));import{View as _0x52257a}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x4bd6(_0x3b49bd,_0x273f2a){const _0x2e7fd5=_0x2e7f();return _0x4bd6=function(_0x4bd6c7,_0x4c0399){_0x4bd6c7=_0x4bd6c7-0x9b;let _0x1cc879=_0x2e7fd5[_0x4bd6c7];return _0x1cc879;},_0x4bd6(_0x3b49bd,_0x273f2a);}export default class ss extends _0x52257a{constructor(_0x45743f){const _0x1e9485=_0x4bd6;super(_0x45743f);const _0x1c67c2=this[_0x1e9485(0xb1)];this[_0x1e9485(0xa0)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x1e9485(0xb4)]({'tag':_0x1e9485(0xb3),'attributes':{'class':['ck',_0x1e9485(0x9d),_0x1c67c2['if'](_0x1e9485(0xab),_0x1e9485(0xa8),_0x3e40db=>!_0x3e40db),_0x1c67c2['if'](_0x1e9485(0xa3),_0x1e9485(0xad))],'role':_0x1e9485(0xb2),'aria-pressed':_0x1c67c2['to'](_0x1e9485(0xa3),_0x281beb=>_0x281beb?_0x1e9485(0xac):_0x1e9485(0xa2))},'children':[{'tag':_0x1e9485(0xb3),'attributes':{'class':['ck',_0x1e9485(0xa5)]}}],'on':{'click':_0x1c67c2['to'](_0x1e9485(0xa6))}});}[_0x4601a0(0xae)](){const _0x34e7f9=_0x4601a0;this[_0x34e7f9(0xa3)]=!this[_0x34e7f9(0xa3)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1adb5c=_0x248d;(function(_0x584e28,_0x3ed68f){const _0x6d583=_0x248d,_0x19be94=_0x584e28();while(!![]){try{const _0x2aa2f8=-parseInt(_0x6d583(0x1fe))/0x1+parseInt(_0x6d583(0x1ef))/0x2*(-parseInt(_0x6d583(0x1e2))/0x3)+parseInt(_0x6d583(0x1e0))/0x4*(-parseInt(_0x6d583(0x1fc))/0x5)+parseInt(_0x6d583(0x1f9))/0x6+parseInt(_0x6d583(0x1f7))/0x7*(-parseInt(_0x6d583(0x1e4))/0x8)+parseInt(_0x6d583(0x1f8))/0x9*(-parseInt(_0x6d583(0x1ec))/0xa)+parseInt(_0x6d583(0x1fa))/0xb;if(_0x2aa2f8===_0x3ed68f)break;else _0x19be94['push'](_0x19be94['shift']());}catch(_0x27ba35){_0x19be94['push'](_0x19be94['shift']());}}}(_0x74af,0x4116e));import{View as _0x2324fa}from'ckeditor5/src/ui.js';function _0x248d(_0x7e7225,_0x3aba25){const _0x74af54=_0x74af();return _0x248d=function(_0x248dda,_0x585a59){_0x248dda=_0x248dda-0x1e0;let _0x42cf24=_0x74af54[_0x248dda];return _0x42cf24;},_0x248d(_0x7e7225,_0x3aba25);}import _0x3f6cd6 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x3460eb}from'./utils.js';import'../../../theme/revision/subrevision.css';function _0x74af(){const _0x93cc72=['364704FpFCKl','select','76144apkgMT','_parentRevisionId','9zQGIfP','ck-revision-history-sidebar__revision_selected','8AeQWam','bind','deselect','_createdAtFormatted','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision__date','span','setTemplate','20XNBtcX','uiLanguage','createdAt','211092sbeMgc','ck-revision-history-sidebar__subrevision','ck-reset','div','creator','ck-revision-history-sidebar__revision','set','fire','399581jUwxOM','695511JOfGiT','79950kfNBfM','14074676UeBfXW','bindTemplate','35ZkBumj','isSelected'];_0x74af=function(){return _0x93cc72;};return _0x74af();}export default class is extends _0x2324fa{constructor(_0x2de072,_0x11f267,_0x5e5380){const _0x30c382=_0x248d;super(_0x2de072);const _0x414275=this[_0x30c382(0x1fb)];this['id']=_0x11f267['id'],this[_0x30c382(0x1e5)](_0x30c382(0x1ee))['to'](_0x11f267),this[_0x30c382(0x1f5)](_0x30c382(0x1fd),!0x1),this[_0x30c382(0x1e5)](_0x30c382(0x1e7))['to'](this,_0x30c382(0x1ee),_0x43e9ab=>_0x43e9ab?_0x3460eb(_0x2de072[_0x30c382(0x1ed)],_0x43e9ab):void 0x0),this[_0x30c382(0x1e1)]=_0x5e5380,this[_0x30c382(0x1eb)]({'tag':_0x30c382(0x1f2),'attributes':{'class':['ck',_0x30c382(0x1f1),_0x30c382(0x1f4),_0x30c382(0x1f0),_0x414275['if'](_0x30c382(0x1fd),_0x30c382(0x1e3))]},'children':[{'tag':_0x30c382(0x1ea),'attributes':{'class':['ck',_0x30c382(0x1e9)]},'children':[{'text':_0x414275['to'](_0x30c382(0x1e7))}]},{'tag':'ul','attributes':{'class':['ck',_0x30c382(0x1e8)]},'children':[new _0x3f6cd6(_0x2de072,_0x11f267[_0x30c382(0x1f3)],!0x0)]}],'on':{'click':_0x414275['to'](this[_0x30c382(0x1ff)][_0x30c382(0x1e5)](this))}});}[_0x1adb5c(0x1ff)](){const _0x38f24f=_0x1adb5c;this[_0x38f24f(0x1fd)]=!0x0,this[_0x38f24f(0x1f6)](_0x38f24f(0x1ff),{'parentId':this[_0x38f24f(0x1e1)]});}[_0x1adb5c(0x1e6)](){const _0x57500d=_0x1adb5c;this[_0x57500d(0x1fd)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2bd3(_0x1813c8,_0x3ef5a8){var _0x5003de=_0x5003();return _0x2bd3=function(_0x2bd3e7,_0x4a9022){_0x2bd3e7=_0x2bd3e7-0x195;var _0x2832ab=_0x5003de[_0x2bd3e7];return _0x2832ab;},_0x2bd3(_0x1813c8,_0x3ef5a8);}function _0x5003(){var _0x5331b8=['toLocaleTimeString','100irjZcb','18319bRsZjV','22671594VVcPOn','long','2097423RCEAKX','numeric','937993hqrCSp','70340qOwmNJ','1264466GvsOCP','5207202jXmQPN','toLocaleDateString','80uBwJuK'];_0x5003=function(){return _0x5331b8;};return _0x5003();}(function(_0x56a991,_0x5be923){var _0x263178=_0x2bd3,_0xbfb4bc=_0x56a991();while(!![]){try{var _0x30a9d7=parseInt(_0x263178(0x195))/0x1+parseInt(_0x263178(0x19c))/0x2+parseInt(_0x263178(0x198))/0x3+parseInt(_0x263178(0x19b))/0x4*(-parseInt(_0x263178(0x1a1))/0x5)+parseInt(_0x263178(0x19d))/0x6+parseInt(_0x263178(0x19a))/0x7*(parseInt(_0x263178(0x19f))/0x8)+-parseInt(_0x263178(0x196))/0x9;if(_0x30a9d7===_0x5be923)break;else _0xbfb4bc['push'](_0xbfb4bc['shift']());}catch(_0x42e6d0){_0xbfb4bc['push'](_0xbfb4bc['shift']());}}}(_0x5003,0xa7ac0));export function dateToPrettyFormat(_0x121638,_0x2b50b1){var _0x2f9b6f=_0x2bd3;return _0x2b50b1[_0x2f9b6f(0x19e)](_0x121638,{'month':_0x2f9b6f(0x197),'day':_0x2f9b6f(0x199)})+',\x20'+_0x2b50b1[_0x2f9b6f(0x1a0)](_0x121638,{'hour':_0x2f9b6f(0x199),'minute':_0x2f9b6f(0x199)});}
|