@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240605.0 → 0.0.0-nightly-20240606.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/README.md +6 -0
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/changeitem.d.ts +1 -1
- package/dist/types/editor/revisionviewereditor.d.ts +1 -1
- package/dist/types/revision.d.ts +1 -1
- package/dist/types/ui/revision/revisionview.d.ts +1 -1
- package/package.json +5 -5
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +2 -1
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +2 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +2 -1
- 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.d.ts +1 -1
- package/src/ui/revision/revisionview.js +2 -1
- 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 _0x40fdb4=_0x45ee;(function(_0x18aba6,_0x14f69e){const _0x65124e=_0x45ee,_0x5b3d81=_0x18aba6();while(!![]){try{const _0x24960c=parseInt(_0x65124e(0x236))/0x1*(parseInt(_0x65124e(0x2b1))/0x2)+parseInt(_0x65124e(0x25b))/0x3+parseInt(_0x65124e(0x29e))/0x4*(parseInt(_0x65124e(0x2cd))/0x5)+-parseInt(_0x65124e(0x276))/0x6+-parseInt(_0x65124e(0x1fc))/0x7*(-parseInt(_0x65124e(0x26e))/0x8)+-parseInt(_0x65124e(0x216))/0x9+-parseInt(_0x65124e(0x21a))/0xa;if(_0x24960c===_0x14f69e)break;else _0x5b3d81['push'](_0x5b3d81['shift']());}catch(_0x4cf53b){_0x5b3d81['push'](_0x5b3d81['shift']());}}}(_0x4a26,0xe1f8b));import{Plugin as _0x2c9a7e,Command as _0x2c0540}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x3ea3fd}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3897b5}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x30cd1f,Element as _0x50648b,Text as _0x39c94f,ViewDocumentFragment as _0xed62c9,ViewText as _0x9d4d6a,ViewElement as _0x216ed5,ViewContainerElement as _0x21f0cf,ViewAttributeElement as _0x3fd22c,ViewEmptyElement as _0x5eb3a3,ViewRawElement as _0x4c4467,ViewUIElement as _0x291e74}from'ckeditor5/src/engine.js';import{Users as _0x37bb17,getMarkerDomElement as _0x4fc286}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xaaffbc from'./ui/revisionviewer/changedetailsview.js';import _0x1cc50e from'./revisionsrepository.js';import _0x2cabae from'./changeitem.js';import{default as _0x593754}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x409065}from'lodash-es';function _0x45ee(_0x47627a,_0x3d5aa8){const _0x4a26e5=_0x4a26();return _0x45ee=function(_0x45eee6,_0x4ad6d1){_0x45eee6=_0x45eee6-0x19a;let _0x183dad=_0x4a26e5[_0x45eee6];return _0x183dad;},_0x45ee(_0x47627a,_0x3d5aa8);}function _0x4a26(){const _0x4c1873=['first','revisionHistoryLabel','isIncorrect','_makeModelFromTape','item','sort','end','changes','indexOf','deletion','createRange','_findChangeIdFromDomTarget','selection','_step','_processTape','_markMarkers','default','remove','addClass','endIndex','type','flat','revisionHistoryAttachChange','removeMarker','filter','ck-suggestion-marker-','nodeAfter','forceDisabled','parse','revision-suggestion:','_cleanMarkers','data','removeAttribute','useFillerType','catch','downcastDispatcher','getDomRoot','next','code','addRevisionData','_removeMissingPairs','init','highest','pluginName','forEach','_makeModelFromViewString','isLimit','addRoot','currentChangeNumber','showPreviousChange','isEnabled','_update','20671IKuyfp','restoreRevision','revision','commands','destroy','updatePosition','requires','level','isBefore','ck-suggestion-marker-split','getRootNames','length','markerRange','affectsData','createUIElement','then','getRevisionData','_getDiff','for','distance','startIndex','consume','nextPosition','_markInsertions','keys','addMarker:revision','2124171awAlsl','createPositionBefore','ck-suggestion-marker--active','vid_end','13599810fgcaKN','ck-revision-history-root--active','RevisionViewer','_cleanUp','_markSuggestions','pop','map','mouseover','addRevision','dataToMarker','locale','_revisions','revisionHistory','insertion','includes','createRevision','high','low','showNextChange','splice','isBlock','ck-suggestion-preview-marker','getChild','marked','repository','object','removeClass','isAttached','1631xAdGge','parent','viewItem','editing','activeView','numberOfChanges','rootName','hasClass','detachRoot','markerNameToElements','observeMarkers','findIndex','elementToAttribute','_refreshStartEndIndex','bind','string','restoreRevisionCallback','revision:','toViewRange','uiElement','addMarker:revision-suggestion:deletion','backward','all','dataDowncast','change:isEnabled','_setDistance','attributesAfter','split','plugins','view','getWalker','isAdded','document','adapter','addHighlight','isNavigationMode','ck-suggestion-marker-merge','3669060INhknf','_sortAndFilterDiffChanges','oldRevisionId','isRemoveSuggestion','RevisionsRepository','getClientRects','isAtStart','_getViewForChange','change:activeChange','change:numberOfChanges','children','maxOffset','_setChanges','isInline','isRemoved','domEvent','data-change-id','error','consumable','4232dVsqgY','_fixObsoleteTags','_getChangeFromId','comment','removeMarker:revision','side','collaboration.channelId','toModel','9797268VgzpCU','markerToHighlight','enableReadOnlyMode','getRevisionRootsAttributes','toViewElement','bindElementToMarker','index','delete','getItems','unshift','isEqual','editingDowncast','_balloon','change','nextSibling','vid_start','markerToData','get','forward','conversion','listenTo','markersStart','upcast','isAtEnd','attributes','pairId','_threeWayMerge','previousPosition','WidgetToolbarRepository','_markMismatchedRemovedTags','stop','config','merge','add','isContent','_appendChild','suggestion','_removeRevisionMarkers','values','wrap','244NUehfE','right','ck-revision-history-root-remove','_setConversion','schema','push','isSuggestion','concat','attributesBefore','_makeTape','getRoot','elementStart','changeId','refresh','markers','unbindElementFromMarkerName','ck-editor__editable__overlay','left','revision-suggestion','1254QQmNmz','writer','checkAttribute','isReady','_changeIdToChange','isAddSuggestion','find','authors','model','ck-revision-history-root-','_getViewObj','enqueueChange','ck-revision-history-root-add','getAttributes','mousedown','top','insert','-new','_changeView','_joinTapes','compare','data-revision-','change:isReady','revision-viewer','offsetSize','deletions','startsWith','suggestion:','28415EzyOfz','shift','insertions','attachChange','start','processor','ck-suggestion-marker','createAttributeElement','_removeUnsupportedChanges','_getRevisionsRange','target','getCustomProperty','abs','ck-suggestion-preview-marker-','getAttribute','isObject','element','softBreak','POSITIVE_INFINITY','newRevisionId','toViewPosition','modelRange','test','revision-end','isOnRoot','loadRevisionData','revision-start','hasAttribute','showStack','clear','activeChange','addMarker:revision-suggestion:insertion','attribute:vid','markerName','execute','getIndex','range','markersEnd','isCollapsed','elementEnd','mapViewToDom','resolve','_activeViewTarget','editor','diffData','createPositionFromPath','setAttribute','done','span','return','isAfter','text','removeMarker:revision-suggestion','_initInteractions','createRangeIn','domConverter','slice','mapper','getRevision','has','_data','change:activeView','revision-comment:','name','diff','toData','roots','vid','set','bottom','reconvertMarker','element:pre','userId','from'];_0x4a26=function(){return _0x4c1873;};return _0x4a26();}const tt={'c':_0x21f0cf,'a':_0x3fd22c,'e':_0x5eb3a3,'r':_0x4c4467,'u':_0x291e74};export default class d extends _0x2c9a7e{static get[_0x40fdb4(0x1f3)](){const _0x20334a=_0x40fdb4;return _0x20334a(0x21c);}static get[_0x40fdb4(0x202)](){return[_0x37bb17,_0x3897b5,_0x1cc50e];}constructor(_0x454616){const _0x5856e9=_0x40fdb4;super(_0x454616),this[_0x5856e9(0x232)]=this[_0x5856e9(0x1a9)][_0x5856e9(0x252)][_0x5856e9(0x287)](_0x5856e9(0x25f)),this[_0x5856e9(0x1c2)](_0x5856e9(0x19c),null),this[_0x5856e9(0x1c2)](_0x5856e9(0x23a),null),this[_0x5856e9(0x1a8)]=null,this[_0x5856e9(0x1c2)](_0x5856e9(0x1be),null),this[_0x5856e9(0x1c2)](_0x5856e9(0x2b4),!0x1),this[_0x5856e9(0x1c2)](_0x5856e9(0x1fa),!0x0),this['on'](_0x5856e9(0x24e),(_0x496114,_0x4879ed,_0x873748)=>{const _0xad4d65=_0x5856e9;this[_0xad4d65(0x19c)]=null,this[_0xad4d65(0x23a)]=null,this[_0xad4d65(0x1a9)][_0xad4d65(0x239)][_0xad4d65(0x253)][_0xad4d65(0x283)](_0xc9efb2=>{const _0x254726=_0xad4d65;for(const _0x140b6a of this[_0x254726(0x1a9)][_0x254726(0x239)][_0x254726(0x253)][_0x254726(0x256)][_0x254726(0x1c0)])_0x873748?_0xc9efb2[_0x254726(0x234)](_0x254726(0x2ae),_0x140b6a):_0xc9efb2[_0x254726(0x1da)](_0x254726(0x2ae),_0x140b6a);});}),this[_0x5856e9(0x244)](_0x5856e9(0x259))['to'](this,_0x5856e9(0x19c),_0x511bf9=>null!==_0x511bf9),this[_0x5856e9(0x244)](_0x5856e9(0x1f8))['to'](this,_0x5856e9(0x2b4),this,_0x5856e9(0x1be),this,_0x5856e9(0x19c),(_0x1a8569,_0x35fa69,_0x1642c1)=>_0x1a8569&&_0x1642c1?_0x35fa69[_0x5856e9(0x1cf)][_0x5856e9(0x1a1)](_0x1642c1):0x0),this[_0x5856e9(0x244)](_0x5856e9(0x23b))['to'](this,_0x5856e9(0x2b4),this,_0x5856e9(0x1be),(_0x4d796b,_0x13e12f)=>_0x4d796b?_0x13e12f[_0x5856e9(0x1cf)][_0x5856e9(0x207)]:0x0),this[_0x5856e9(0x2c3)]=null,this[_0x5856e9(0x2b5)]=new Map(),this[_0x5856e9(0x257)]=null,this[_0x5856e9(0x282)]=this[_0x5856e9(0x1a9)][_0x5856e9(0x252)][_0x5856e9(0x287)](_0x3897b5);}[_0x40fdb4(0x1f1)](){const _0x1c3964=_0x40fdb4,_0x451278=this[_0x1c3964(0x1a9)],_0x2b206f=new ShowChangeCommand(_0x451278,{'direction':_0x1c3964(0x24b)}),_0x5b7f75=new ShowChangeCommand(_0x451278,{'direction':_0x1c3964(0x288)});(_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x1f9),_0x2b206f),_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x22c),_0x5b7f75),_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x1fd),new RestoreRevisionCommand(_0x451278)),this['on'](_0x1c3964(0x264),()=>{const _0x24dabd=_0x1c3964;_0x2b206f[_0x24dabd(0x2ab)](),_0x5b7f75[_0x24dabd(0x2ab)]();}),this[_0x1c3964(0x2a1)](),this[_0x1c3964(0x1b3)](),_0x451278[_0x1c3964(0x278)](_0x1c3964(0x2c8)),_0x451278[_0x1c3964(0x252)][_0x1c3964(0x1b9)](_0x1c3964(0x292)))&&_0x451278[_0x1c3964(0x252)][_0x1c3964(0x287)](_0x1c3964(0x292))[_0x1c3964(0x1e3)](_0x1c3964(0x2c8));}async[_0x40fdb4(0x20c)](_0x4802cb){const _0x500548=_0x40fdb4;await this[_0x500548(0x2e6)](_0x4802cb);const _0x17a4e5={};for(const _0x1bad78 in _0x4802cb[_0x500548(0x1aa)]){if(_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2d0)]&&!_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2d0)][_0x500548(0x235)])continue;const _0x1c4beb=this[_0x500548(0x29b)](JSON[_0x500548(0x1e4)](_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2cf)])),_0x453395=this[_0x500548(0x1a9)][_0x500548(0x239)][_0x500548(0x253)][_0x500548(0x256)],_0x4f4a85=new _0xed62c9(_0x453395,_0x1c4beb[_0x500548(0x220)](_0x41bcbb=>this[_0x500548(0x2bb)](_0x41bcbb)));this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1e9)](_0x500548(0x231)),_0x17a4e5[_0x1bad78]=this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1bf)](_0x4f4a85),this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1e9)](_0x500548(0x1d8));}return _0x17a4e5;}async[_0x40fdb4(0x279)](_0x4be227){const _0x55b277=_0x40fdb4;await this[_0x55b277(0x2e6)](_0x4be227);const _0x3fa764={};for(const _0x10f0f9 in _0x4be227[_0x55b277(0x1aa)])_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x2d0)]&&!_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x2d0)][_0x55b277(0x235)]||(_0x3fa764[_0x10f0f9]=_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x250)]||{});return _0x3fa764;}[_0x40fdb4(0x29b)](_0x1bf4e7){const _0x3825c1=_0x40fdb4;return(_0x1bf4e7=_0x1bf4e7[_0x3825c1(0x1e0)](_0x4cef2a=>!_0x4cef2a[_0x3825c1(0x1bd)]||_0x3825c1(0x2e7)!==_0x4cef2a[_0x3825c1(0x1bd)]&&_0x3825c1(0x2e4)!==_0x4cef2a[_0x3825c1(0x1bd)]))[_0x3825c1(0x1f4)](_0x2d0bb3=>{const _0x362bb3=_0x3825c1;_0x362bb3(0x245)!=typeof _0x2d0bb3&&(_0x2d0bb3[_0x362bb3(0x265)]=this[_0x362bb3(0x29b)](_0x2d0bb3[_0x362bb3(0x265)]),_0x2d0bb3[_0x362bb3(0x28e)]=_0x2d0bb3[_0x362bb3(0x28e)][_0x362bb3(0x1e0)](_0x5e1905=>!_0x5e1905[0x0][_0x362bb3(0x2cb)](_0x362bb3(0x2c6))));}),_0x1bf4e7;}async[_0x40fdb4(0x2c5)](_0x2efc19,_0x456656,_0x27fe6e=!0x1){const _0x3a2a47=_0x40fdb4;if(!this[_0x3a2a47(0x1fa)])return;const _0x52b440=this[_0x3a2a47(0x1be)],_0x4004ee=this[_0x3a2a47(0x232)],_0x55130c=_0x3a2a47(0x245)==typeof _0x2efc19?_0x4004ee[_0x3a2a47(0x1b8)](_0x2efc19):_0x2efc19,_0x271165=_0x3a2a47(0x245)==typeof _0x456656?_0x4004ee[_0x3a2a47(0x1b8)](_0x456656):_0x456656,_0xce5bd2=_0x55130c['id'],_0x46f499=_0x271165?_0x271165['id']:null;if(!_0x27fe6e&&this[_0x3a2a47(0x1be)]&&this[_0x3a2a47(0x1be)][_0x3a2a47(0x2e0)]===_0xce5bd2&&this[_0x3a2a47(0x1be)][_0x3a2a47(0x25d)]===_0x46f499)return Promise[_0x3a2a47(0x1a7)]();this[_0x3a2a47(0x2b4)]=!0x1,this[_0x3a2a47(0x23a)]=null,this[_0x3a2a47(0x19c)]=null,this[_0x3a2a47(0x1be)]=new _0x593754(_0xce5bd2,_0x46f499);const _0x1f6bf1=this[_0x3a2a47(0x2d6)](_0x55130c,_0x271165,!0x0)[_0x3a2a47(0x220)](_0x19fcc5=>this[_0x3a2a47(0x2e6)](_0x19fcc5));return _0x1f6bf1[_0x3a2a47(0x2a3)](new Promise(_0x26dcd4=>{setTimeout(_0x26dcd4,0x14);})),Promise[_0x3a2a47(0x24c)](_0x1f6bf1)[_0x3a2a47(0x20b)](()=>{const _0x57de59=_0x3a2a47;if(!this[_0x57de59(0x1fa)])return;this[_0x57de59(0x21d)]();const _0x3fa48e=this[_0x57de59(0x20d)](_0xce5bd2,_0x46f499);for(const _0x51e0c4 of _0x3fa48e[_0x57de59(0x1cf)])this[_0x57de59(0x2b5)][_0x57de59(0x1c2)](_0x51e0c4['id'],_0x51e0c4);this[_0x57de59(0x1a9)][_0x57de59(0x2b9)][_0x57de59(0x2bc)]({'isUndoable':!0x1},_0x315d1b=>{const _0x30ac18=_0x57de59;for(const _0x3d8df5 of this[_0x30ac18(0x1a9)][_0x30ac18(0x2b9)][_0x30ac18(0x256)][_0x30ac18(0x206)]())_0x315d1b[_0x30ac18(0x23e)](_0x3d8df5);for(const _0x6c6ffc of Object[_0x30ac18(0x214)](_0x3fa48e[_0x30ac18(0x2b9)])){const _0x2a2913=_0x315d1b[_0x30ac18(0x1f7)](_0x6c6ffc);for(const _0x3ba58d of Object[_0x30ac18(0x214)](_0x3fa48e[_0x30ac18(0x28e)][_0x6c6ffc]))_0x315d1b[_0x30ac18(0x1ac)](_0x3ba58d,_0x3fa48e[_0x30ac18(0x28e)][_0x6c6ffc][_0x3ba58d],_0x2a2913);_0x315d1b[_0x30ac18(0x2c1)](_0x3fa48e[_0x30ac18(0x2b9)][_0x6c6ffc],_0x2a2913,0x0);}}),this[_0x57de59(0x1be)][_0x57de59(0x267)](this[_0x57de59(0x25c)](_0x3fa48e[_0x57de59(0x1cf)])),this[_0x57de59(0x2b4)]=!0x0;})[_0x3a2a47(0x1ea)](_0x40ab68=>{const _0x218ccc=_0x3a2a47;console[_0x218ccc(0x26c)](_0x40ab68),this[_0x218ccc(0x21d)](),_0x52b440&&(this[_0x218ccc(0x1be)]=_0x52b440),this[_0x218ccc(0x2b4)]=!0x0;});}[_0x40fdb4(0x1ef)](_0x97fc4d,_0x19b562){const _0x2e8d57=_0x40fdb4,_0xe5048e=this[_0x2e8d57(0x232)][_0x2e8d57(0x229)](_0x97fc4d);return _0xe5048e['on'](_0x2e8d57(0x1fb),(_0x240bd5,_0x430bca,_0x161702)=>_0x19b562(_0x430bca,_0x161702,_0xe5048e)),this[_0x2e8d57(0x232)][_0x2e8d57(0x222)](_0xe5048e),_0xe5048e;}[_0x40fdb4(0x2e6)](_0x33f7bf){const _0x55d18b=_0x40fdb4;if(!_0x33f7bf||_0x33f7bf[_0x55d18b(0x1aa)])return Promise[_0x55d18b(0x1a7)]();{const _0x460621=this[_0x55d18b(0x1a9)][_0x55d18b(0x295)][_0x55d18b(0x287)](_0x55d18b(0x274));return this[_0x55d18b(0x257)][_0x55d18b(0x1b8)]({'channelId':_0x460621,'revisionId':_0x33f7bf['id']})[_0x55d18b(0x20b)](_0x5ca8b7=>{const _0x44dc28=_0x55d18b;_0x33f7bf[_0x44dc28(0x1fb)]({'diffData':_0x5ca8b7[_0x44dc28(0x1aa)]},!0x0);});}}[_0x40fdb4(0x21d)](){const _0x5a85e8=_0x40fdb4;this[_0x5a85e8(0x19c)]=null,this[_0x5a85e8(0x1e6)](),this[_0x5a85e8(0x2c3)]&&this[_0x5a85e8(0x2c3)][_0x5a85e8(0x200)](),this[_0x5a85e8(0x2c3)]=null,this[_0x5a85e8(0x2b5)][_0x5a85e8(0x19b)](),this[_0x5a85e8(0x1a9)][_0x5a85e8(0x2b9)][_0x5a85e8(0x2bc)]({'isUndoable':!0x1},_0x29c418=>{const _0x371e0b=_0x5a85e8;for(const _0x2f0144 of this[_0x371e0b(0x1a9)][_0x371e0b(0x2b9)][_0x371e0b(0x256)][_0x371e0b(0x206)]())_0x29c418[_0x371e0b(0x23e)](_0x2f0144);});}[_0x40fdb4(0x25c)](_0x54b9b5){const _0x43437a=_0x40fdb4,_0x14b263=[],_0x2cfc14=new Map();for(const _0x4e00a5 of this[_0x43437a(0x1a9)][_0x43437a(0x2b9)][_0x43437a(0x256)][_0x43437a(0x206)]()){const _0x4a77bc=this[_0x43437a(0x1a9)][_0x43437a(0x239)][_0x43437a(0x253)][_0x43437a(0x1ec)](_0x4e00a5);if(!_0x4a77bc)continue;const _0x346f2a=_0x4a77bc[_0x43437a(0x260)]()[_0x43437a(0x1cc)](0x0);_0x346f2a&&(_0x14b263[_0x43437a(0x2a3)](_0x4e00a5),_0x2cfc14[_0x43437a(0x1c2)](_0x4e00a5,_0x346f2a));}return _0x14b263[_0x43437a(0x1cd)]((_0x1fae82,_0x2799ba)=>{const _0x5d5a04=_0x43437a,_0x35b2bd=_0x2cfc14[_0x5d5a04(0x287)](_0x1fae82),_0x507ff1=_0x2cfc14[_0x5d5a04(0x287)](_0x2799ba);return _0x35b2bd['y']-_0x507ff1['y']||_0x35b2bd['x']-_0x507ff1['x'];}),(_0x54b9b5=_0x54b9b5[_0x43437a(0x1e0)](_0x322a28=>_0x14b263[_0x43437a(0x228)](_0x322a28[_0x43437a(0x23c)])))[_0x43437a(0x1cd)]((_0x37af61,_0x4e440b)=>_0x14b263[_0x43437a(0x1d0)](_0x37af61[_0x43437a(0x23c)])-_0x14b263[_0x43437a(0x1d0)](_0x4e440b[_0x43437a(0x23c)])),_0x54b9b5;}[_0x40fdb4(0x2a7)](_0x8f1c4a){const _0x11d9cd=_0x40fdb4,_0x449a68=Array[_0x11d9cd(0x1c7)](_0x8f1c4a[_0x11d9cd(0x2ac)])[_0x11d9cd(0x1e0)](([_0x473a07,_0x35bfb9])=>_0x473a07[_0x11d9cd(0x2cb)](_0x11d9cd(0x247))&&!_0x35bfb9[_0x11d9cd(0x1a4)]),_0x2ee0d4=Array[_0x11d9cd(0x1c7)](this[_0x11d9cd(0x1a9)][_0x11d9cd(0x2b9)][_0x11d9cd(0x1b4)](_0x8f1c4a)[_0x11d9cd(0x254)]({'singleCharacters':!0x0}));if(0x0!=_0x449a68[_0x11d9cd(0x207)])for(const _0x56ca89 of _0x2ee0d4){const [_0x316c95,_0x264d70]=_0x449a68[0x0],[,_0x4a442c,_0x729fd8]=_0x316c95[_0x11d9cd(0x251)](':');if(_0x264d70[_0x11d9cd(0x1ce)][_0x11d9cd(0x280)](_0x56ca89[_0x11d9cd(0x212)])&&_0x449a68[_0x11d9cd(0x2ce)](),(_0x56ca89[_0x11d9cd(0x291)][_0x11d9cd(0x280)](_0x264d70[_0x11d9cd(0x2d1)])||_0x56ca89[_0x11d9cd(0x291)][_0x11d9cd(0x1b0)](_0x264d70[_0x11d9cd(0x2d1)]))&&(_0x11d9cd(0x227)==_0x4a442c?_0x56ca89[_0x11d9cd(0x255)]={'userId':_0x729fd8}:_0x11d9cd(0x1d1)==_0x4a442c&&(_0x56ca89[_0x11d9cd(0x269)]={'userId':_0x729fd8})),0x0==_0x449a68[_0x11d9cd(0x207)])break;}return _0x2ee0d4;}[_0x40fdb4(0x243)](_0x5a114f){const _0x70b88a=_0x40fdb4,_0x357d85=new Map();for(let _0x4311df=0x0;_0x4311df<_0x5a114f[_0x70b88a(0x207)];_0x4311df++)_0x70b88a(0x1b1)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]?(_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x4311df,_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x4311df):(_0x70b88a(0x2a9)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]?_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x4311df:_0x70b88a(0x1a5)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]&&(_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x4311df),_0x357d85[_0x70b88a(0x1c2)](_0x5a114f[_0x4311df]['id'],_0x4311df));for(const _0x2c1750 of _0x357d85[_0x70b88a(0x29c)]())_0x70b88a(0x2a9)===_0x5a114f[_0x2c1750][_0x70b88a(0x1dc)]?_0x5a114f[_0x2c1750][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x357d85[_0x70b88a(0x287)](_0x5a114f[_0x2c1750][_0x70b88a(0x28f)]):_0x70b88a(0x1a5)===_0x5a114f[_0x2c1750][_0x70b88a(0x1dc)]&&(_0x5a114f[_0x2c1750][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x357d85[_0x70b88a(0x287)](_0x5a114f[_0x2c1750][_0x70b88a(0x28f)]));}[_0x40fdb4(0x1d6)](_0x19873f){const _0x4e30d0=_0x40fdb4;for(let _0xd4ce43=0x0;_0xd4ce43<_0x19873f[_0x4e30d0(0x207)];_0xd4ce43++){if(_0x4e30d0(0x2a9)===_0x19873f[_0xd4ce43][_0x4e30d0(0x1dc)])_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)]=_0xd4ce43;else{if(_0x4e30d0(0x1a5)===_0x19873f[_0xd4ce43][_0x4e30d0(0x1dc)]){_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x1db)]=_0xd4ce43;const _0x152220=_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)];_0x19873f[_0x152220][_0x4e30d0(0x28f)]=_0x19873f[_0xd4ce43]['id'],_0x19873f[_0xd4ce43][_0x4e30d0(0x28f)]=_0x19873f[_0x152220]['id'];}else _0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)]=_0xd4ce43,_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x1db)]=_0xd4ce43,_0x19873f[_0xd4ce43][_0x4e30d0(0x28f)]=null;}_0x19873f[_0xd4ce43][_0x4e30d0(0x28b)]||(_0x19873f[_0xd4ce43][_0x4e30d0(0x28b)]=[],_0x19873f[_0xd4ce43][_0x4e30d0(0x1a3)]=[]);}}[_0x40fdb4(0x213)](_0x520d74,_0x5ed242){const _0x34bc9d=_0x40fdb4,_0x59b95b=_0x520d74[_0x34bc9d(0x1e0)](_0x37c1d6=>!_0x37c1d6[_0x34bc9d(0x255)]);for(let _0x385976=0x0;_0x385976<_0x5ed242[_0x34bc9d(0x207)];_0x385976++)_0x5ed242[_0x385976][_0x34bc9d(0x255)]&&(_0x59b95b[_0x385976][_0x34bc9d(0x255)]=_0x5ed242[_0x385976][_0x34bc9d(0x255)]);}[_0x40fdb4(0x1f5)](_0x94cc28){const _0x3b55b9=_0x40fdb4,_0x9d269f=JSON[_0x3b55b9(0x1e4)](_0x94cc28),_0x2df041=this[_0x3b55b9(0x1a9)][_0x3b55b9(0x239)][_0x3b55b9(0x253)][_0x3b55b9(0x256)],_0x7d7b94=new _0xed62c9(_0x2df041,_0x9d269f[_0x3b55b9(0x220)](_0x30a371=>this[_0x3b55b9(0x2bb)](_0x30a371)));return this[_0x3b55b9(0x1a9)][_0x3b55b9(0x1e7)][_0x3b55b9(0x275)](_0x7d7b94);}[_0x40fdb4(0x2bb)](_0x381592){const _0x515851=_0x40fdb4,_0x5233a2=this[_0x515851(0x1a9)][_0x515851(0x239)][_0x515851(0x253)][_0x515851(0x256)];if(_0x515851(0x245)==typeof _0x381592)return new _0x9d4d6a(_0x5233a2,_0x381592);{const _0x3b5bfd=_0x381592[_0x515851(0x265)][_0x515851(0x220)](_0x379ea7=>this[_0x515851(0x2bb)](_0x379ea7));return new(tt[_0x381592[(_0x515851(0x1dc))]]||_0x216ed5)(_0x5233a2,_0x381592[_0x515851(0x1bd)],_0x381592[_0x515851(0x28e)],_0x3b5bfd);}}[_0x40fdb4(0x20d)](_0x564a6f,_0x4531c7=null){const _0x41745b=_0x40fdb4,_0x53f75c=this[_0x41745b(0x232)][_0x41745b(0x1b8)](_0x564a6f),_0x37d877=_0x4531c7?this[_0x41745b(0x232)][_0x41745b(0x1b8)](_0x4531c7):null,_0x10f0e9=this[_0x41745b(0x2d6)](_0x53f75c,_0x37d877),_0x43fe0c=_0x10f0e9[_0x10f0e9[_0x41745b(0x207)]-0x1],_0x27e598=new Map(),_0x53ad5b={'model':{},'attributes':{},'changes':[]},_0x488164=new Set(),_0x40bb8e=new Map();for(let _0x1c21be=_0x10f0e9[_0x41745b(0x207)]-0x1;_0x1c21be>=0x0;_0x1c21be--){const _0x2306e3=_0x10f0e9[_0x1c21be];for(const _0x512bfa of Object[_0x41745b(0x214)](_0x2306e3[_0x41745b(0x1aa)]))if(_0x2306e3[_0x41745b(0x1aa)][_0x512bfa][_0x41745b(0x2d0)]){const _0x3d3d13=_0x2306e3[_0x41745b(0x1aa)][_0x512bfa][_0x41745b(0x2d0)];_0x3d3d13[_0x41745b(0x235)]?(_0x488164[_0x41745b(0x297)](_0x512bfa),_0x40bb8e[_0x41745b(0x1b9)](_0x512bfa)&&_0x40bb8e[_0x41745b(0x287)](_0x512bfa)[_0x41745b(0x1c6)]==_0x3d3d13[_0x41745b(0x1c6)]?_0x40bb8e[_0x41745b(0x27d)](_0x512bfa):_0x40bb8e[_0x41745b(0x1c2)](_0x512bfa,_0x3d3d13)):_0x40bb8e[_0x41745b(0x1b9)](_0x512bfa)?(_0x488164[_0x41745b(0x27d)](_0x512bfa),_0x40bb8e[_0x41745b(0x27d)](_0x512bfa)):(_0x488164[_0x41745b(0x297)](_0x512bfa),_0x40bb8e[_0x41745b(0x1c2)](_0x512bfa,_0x3d3d13));}else _0x488164[_0x41745b(0x297)](_0x512bfa);}for(const _0x4ca265 of _0x488164){const _0x2b8db0=_0x40bb8e[_0x41745b(0x1b9)](_0x4ca265)&&!_0x40bb8e[_0x41745b(0x287)](_0x4ca265)[_0x41745b(0x235)];let _0x2a45ae=_0x2b8db0?_0x10f0e9[_0x41745b(0x207)]-0x1:0x0;const _0x135d82=_0x2b8db0?-0x1:0x1;for(;_0x10f0e9[_0x2a45ae];){const _0x23b9cd=_0x10f0e9[_0x2a45ae];if(_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265]){const _0x54d51f=_0x2b8db0?_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265][_0x41745b(0x2a6)]:_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265][_0x41745b(0x250)];_0x53ad5b[_0x41745b(0x28e)][_0x4ca265]=_0x54d51f?_0x409065(_0x54d51f):{};break;}_0x2a45ae+=_0x135d82;}}for(const _0x3e50ba of _0x10f0e9){_0x3e50ba[_0x41745b(0x2b9)]={};for(const _0x1cb3e1 of _0x3e50ba[_0x41745b(0x2b8)])_0x27e598[_0x41745b(0x1c2)](_0x1cb3e1['id'],_0x1cb3e1);for(const _0x53897f of _0x488164){const _0x34f301=_0x3e50ba[_0x41745b(0x1aa)][_0x53897f]?_0x3e50ba[_0x41745b(0x1aa)][_0x53897f][_0x41745b(0x2cf)]:'[]',_0x2efbb3=_0x3e50ba[_0x41745b(0x1aa)][_0x53897f]?_0x3e50ba[_0x41745b(0x1aa)][_0x53897f][_0x41745b(0x2ca)]:'[]';_0x3e50ba[_0x41745b(0x2b9)][_0x53897f]={'insertions':this[_0x41745b(0x1f5)](_0x34f301),'deletions':this[_0x41745b(0x1f5)](_0x2efbb3)};}}for(const _0x18783f of _0x488164){let _0x11eb6f=null,_0x4e8a09=0x0;const _0x28932a=new Map(Array[_0x41745b(0x1c7)](_0x53f75c[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2cf)][_0x41745b(0x2ac)])[_0x41745b(0x1e0)](([_0x2c7bc0])=>!_0x2c7bc0[_0x41745b(0x2cb)](_0x41745b(0x247))));let _0x441e00=0x0;for(const _0x39e0b0 of _0x10f0e9){const _0x569990=this[_0x41745b(0x2a7)](_0x39e0b0[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2cf)]);_0x39e0b0==_0x53f75c?(_0x11eb6f=_0x569990,_0x4e8a09=_0x11eb6f[_0x41745b(0x207)],_0x11eb6f[_0x41745b(0x1f4)](_0x5d0ad5=>{_0x5d0ad5['id']=_0x441e00++;}),this[_0x41745b(0x1d6)](_0x11eb6f)):this[_0x41745b(0x213)](_0x11eb6f,_0x569990);const _0x3192cd=_0x11eb6f[_0x41745b(0x1e0)](_0x14856a=>!_0x14856a[_0x41745b(0x255)])[_0x41745b(0x220)](_0xfe2728=>_0xfe2728['id']);let _0x498a40=0x0;const _0x1a898c=this[_0x41745b(0x2a7)](_0x39e0b0[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2ca)]);_0x1a898c[_0x41745b(0x1f4)](_0x399239=>{const _0xd17e1c=_0x41745b;_0x399239[_0xd17e1c(0x269)]?_0x399239['id']=_0x4e8a09++:_0x399239['id']=_0x3192cd[_0x498a40++];}),this[_0x41745b(0x1d6)](_0x1a898c),this[_0x41745b(0x24f)](_0x11eb6f,_0x41745b(0x255)),this[_0x41745b(0x24f)](_0x1a898c,_0x41745b(0x269)),_0x39e0b0==_0x53f75c&&this[_0x41745b(0x1d7)](_0x11eb6f,_0x28932a),_0x11eb6f=this[_0x41745b(0x2c4)](_0x11eb6f,_0x1a898c),this[_0x41745b(0x243)](_0x11eb6f),this[_0x41745b(0x24f)](_0x11eb6f,_0x41745b(0x269));}_0x11eb6f=_0x11eb6f[_0x41745b(0x1e0)](_0x265e3c=>!(_0x265e3c[_0x41745b(0x255)]&&_0x265e3c[_0x41745b(0x269)]));const _0x113722=new Map(_0x43fe0c[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2ca)][_0x41745b(0x2ac)]),_0x204f3f=new Set(_0x28932a[_0x41745b(0x214)]());for(const _0x3f4ba3 of _0x113722[_0x41745b(0x214)]())_0x204f3f[_0x41745b(0x27d)](_0x3f4ba3);this[_0x41745b(0x21e)](_0x11eb6f,_0x204f3f),this[_0x41745b(0x26f)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x1f0)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x293)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x2d5)](_0x11eb6f);const {root:_0x395462,changes:_0x496ba8}=this[_0x41745b(0x1cb)](_0x11eb6f,_0x27e598,_0x18783f);_0x53ad5b[_0x41745b(0x2b9)][_0x18783f]=_0x395462;const _0x4e9fd7=_0x40bb8e[_0x41745b(0x287)](_0x18783f);if(_0x4e9fd7){const _0x54277b=_0x27e598[_0x41745b(0x287)](_0x4e9fd7[_0x41745b(0x1c6)]),_0xf24b9e=new _0x2cabae({'author':_0x54277b,'type':_0x4e9fd7[_0x41745b(0x235)]?_0x41745b(0x297):_0x41745b(0x1d9),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x18783f});_0x496ba8[_0x41745b(0x27f)](_0xf24b9e),_0x53ad5b[_0x41745b(0x28e)][_0x18783f][_0x41745b(0x1de)]=_0xf24b9e['id'];}_0x53ad5b[_0x41745b(0x1cf)]=_0x53ad5b[_0x41745b(0x1cf)][_0x41745b(0x2a5)](_0x496ba8);}return _0x53ad5b;}[_0x40fdb4(0x1d7)](_0x4ede99,_0x40026e){const _0x2dbb14=_0x40fdb4;for(let _0x4cd326=0x0;_0x4cd326<_0x4ede99[_0x2dbb14(0x207)];_0x4cd326++)for(const [_0x494a02,_0xf539e5]of _0x40026e)_0xf539e5[_0x2dbb14(0x2d1)][_0x2dbb14(0x280)](_0x4ede99[_0x4cd326][_0x2dbb14(0x291)])&&_0x4ede99[_0x4cd326][_0x2dbb14(0x28b)][_0x2dbb14(0x2a3)](_0x494a02),_0xf539e5[_0x2dbb14(0x1ce)][_0x2dbb14(0x280)](_0x4ede99[_0x4cd326][_0x2dbb14(0x212)])&&_0x4ede99[_0x4cd326][_0x2dbb14(0x1a3)][_0x2dbb14(0x2a3)](_0x494a02);}[_0x40fdb4(0x2c4)](_0x466b57,_0x1771fd){const _0x3866a=_0x40fdb4;let _0x171f60=[],_0x363ed8=0x0,_0x238742=0x0;for(;_0x363ed8<_0x466b57[_0x3866a(0x207)]||_0x238742<_0x1771fd[_0x3866a(0x207)];){const _0x4c2458=_0x466b57[_0x363ed8]||{},_0x242e6b=_0x1771fd[_0x238742]||{};if(_0x4c2458['id']==_0x242e6b['id'])_0x363ed8++,_0x238742++,_0x171f60[_0x3866a(0x2a3)](_0x4c2458);else{if(_0x242e6b[_0x3866a(0x269)]&&_0x4c2458[_0x3866a(0x255)]){const {commonTape:_0x563230,iEnd:_0x1c6e2c,jEnd:_0x2c3fd9}=this[_0x3866a(0x290)](_0x466b57,_0x363ed8,_0x1771fd,_0x238742);_0x171f60=_0x171f60[_0x3866a(0x2a5)](_0x563230),_0x363ed8=_0x1c6e2c,_0x238742=_0x2c3fd9;}else _0x242e6b[_0x3866a(0x269)]?(_0x238742++,_0x171f60[_0x3866a(0x2a3)](_0x242e6b)):(_0x363ed8++,_0x171f60[_0x3866a(0x2a3)](_0x4c2458));}}return _0x171f60;}[_0x40fdb4(0x21e)](_0xc4913b,_0x42e720){const _0x4904e2=_0x40fdb4,_0x2cc53a=[];for(let _0x38aaf8=0x0;_0x38aaf8<_0xc4913b[_0x4904e2(0x207)];_0x38aaf8++){for(let _0x39cb66=0x0;_0x39cb66<_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x4904e2(0x207)];_0x39cb66++){const _0x78f644=_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x39cb66];if(!_0x42e720[_0x4904e2(0x1b9)](_0x78f644))continue;const {group:_0x2ca82b,type:_0x5e887b,authorId:_0x33c7ae}=_0xe0d453(_0x78f644);_0x4904e2(0x2b0)!=_0x2ca82b||_0x4904e2(0x227)!=_0x5e887b&&_0x4904e2(0x1d1)!=_0x5e887b||(_0x2cc53a[_0x4904e2(0x27f)]({'type':_0x5e887b,'name':_0x78f644,'userId':_0x33c7ae}),_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x4904e2(0x22d)](_0x39cb66,0x1),_0x39cb66--);}_0x1b90ed(_0xc4913b[_0x38aaf8]);for(let _0x53331e=0x0;_0x53331e<_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x4904e2(0x207)];_0x53331e++){const _0x419485=_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x53331e];if(!_0x42e720[_0x4904e2(0x1b9)](_0x419485))continue;const {group:_0x57d053,type:_0x3cc1de}=_0xe0d453(_0x419485);if(_0x4904e2(0x2b0)!=_0x57d053||_0x4904e2(0x227)!=_0x3cc1de&&_0x4904e2(0x1d1)!=_0x3cc1de)continue;_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x4904e2(0x22d)](_0x53331e,0x1),_0x53331e--;const _0x2a595d=_0x2cc53a[_0x4904e2(0x241)](_0x5755db=>_0x5755db[_0x4904e2(0x1bd)]==_0x419485);_0x2a595d>-0x1&&_0x2cc53a[_0x4904e2(0x22d)](_0x2a595d,0x1);}}function _0xe0d453(_0x1a0066){const _0x17b16d=_0x4904e2,_0x29f5ce=_0x1a0066[_0x17b16d(0x251)](':');return{'group':_0x29f5ce[0x0],'type':_0x29f5ce[0x1],'subType':_0x29f5ce[_0x17b16d(0x207)]>=0x5?_0x29f5ce[0x2]:null,'id':_0x29f5ce[_0x17b16d(0x207)]<0x5?_0x29f5ce[0x2]:_0x29f5ce[0x3],'authorId':_0x29f5ce[_0x17b16d(0x207)]<0x5?_0x29f5ce[0x3]:_0x29f5ce[0x4],'markerCount':0x6==_0x29f5ce[_0x17b16d(0x207)]?_0x29f5ce[0x5]:null};}function _0x1b90ed(_0x543db0){const _0x2ab0e5=_0x4904e2;for(let _0x791ac9=0x0;_0x791ac9<_0x2cc53a[_0x2ab0e5(0x207)];_0x791ac9++){if(_0x543db0[_0x2ab0e5(0x255)]&&_0x2ab0e5(0x227)==_0x2cc53a[_0x791ac9][_0x2ab0e5(0x1dc)])return _0x543db0[_0x2ab0e5(0x2b6)]=_0x2cc53a[_0x791ac9],void delete _0x543db0[_0x2ab0e5(0x255)];if(!_0x543db0[_0x2ab0e5(0x255)]&&!_0x543db0[_0x2ab0e5(0x269)]&&_0x2ab0e5(0x1d1)==_0x2cc53a[_0x791ac9][_0x2ab0e5(0x1dc)])return void(_0x543db0[_0x2ab0e5(0x25e)]=_0x2cc53a[_0x791ac9]);}}}[_0x40fdb4(0x24f)](_0x88505a,_0x296fb0){const _0x1db121=_0x40fdb4;let _0x26164a=0x0,_0x45b95f=!0x1;const _0x32a3b5=new Map();for(const _0x493c97 of _0x88505a)_0x493c97[_0x296fb0]?_0x45b95f&&(_0x26164a++,_0x45b95f=!0x1):(_0x26164a++,_0x45b95f=!0x0),_0x32a3b5[_0x1db121(0x1c2)](_0x493c97['id'],_0x26164a);for(let _0x4d53b0=0x0;_0x4d53b0<_0x88505a[_0x1db121(0x207)];_0x4d53b0++){if(_0x1db121(0x269)==_0x296fb0&&_0x88505a[_0x4d53b0][_0x1db121(0x255)]||_0x1db121(0x255)==_0x296fb0&&_0x88505a[_0x4d53b0][_0x1db121(0x269)])continue;if(_0x1db121(0x1b1)==_0x88505a[_0x4d53b0][_0x1db121(0x1dc)]){_0x88505a[_0x4d53b0][_0x1db121(0x20f)]=0x0;continue;}const _0xb0f35e=_0x32a3b5[_0x1db121(0x287)](_0x88505a[_0x4d53b0][_0x1db121(0x28f)]),_0x165468=_0x32a3b5[_0x1db121(0x287)](_0x88505a[_0x4d53b0]['id']);_0x88505a[_0x4d53b0][_0x1db121(0x20f)]=_0xb0f35e-_0x165468;}}[_0x40fdb4(0x2d6)](_0x3c9f6b,_0x461460,_0x19112a=!0x1){const _0x4ee228=_0x40fdb4,_0x5f4d9e=[];let _0x2e4169=this[_0x4ee228(0x232)][_0x4ee228(0x1a1)](_0x3c9f6b),_0x5ca2a8=this[_0x4ee228(0x232)][_0x4ee228(0x1a1)](_0x461460);for(-0x1==_0x5ca2a8&&(_0x5ca2a8=this[_0x4ee228(0x232)][_0x4ee228(0x225)][_0x4ee228(0x207)],_0x19112a=!0x1);_0x2e4169<_0x5ca2a8;)_0x5f4d9e[_0x4ee228(0x2a3)](this[_0x4ee228(0x232)][_0x4ee228(0x1b8)](_0x2e4169)),_0x2e4169++;return _0x19112a&&_0x5f4d9e[_0x4ee228(0x2a3)](this[_0x4ee228(0x232)][_0x4ee228(0x1b8)](_0x2e4169)),_0x5f4d9e;}[_0x40fdb4(0x290)](_0x3d7a54,_0x5beb9b,_0x3aa1cb,_0x301448){const _0x7f203a=_0x40fdb4,_0x324e1b=this[_0x7f203a(0x1a9)][_0x7f203a(0x2b9)][_0x7f203a(0x2a2)];let _0x3130dc=_0x5beb9b;for(;_0x3d7a54[_0x3130dc]&&_0x3d7a54[_0x3130dc][_0x7f203a(0x255)];)_0x3130dc++;let _0x304708=_0x301448;for(;_0x3aa1cb[_0x304708]&&_0x3aa1cb[_0x304708][_0x7f203a(0x269)];)_0x304708++;_0x4ab2e3(_0x3d7a54,_0x5beb9b,_0x3130dc),_0x4ab2e3(_0x3aa1cb,_0x301448,_0x304708);const _0x3afbe4=_0x3aa1cb[_0x7f203a(0x1b6)](_0x301448,_0x304708)[_0x7f203a(0x2a5)](_0x3d7a54[_0x7f203a(0x1b6)](_0x5beb9b,_0x3130dc));return _0x3afbe4[_0x7f203a(0x1cd)]((_0x4e9bbe,_0x96b188)=>_0x4e9bbe[_0x7f203a(0x273)]!=_0x96b188[_0x7f203a(0x273)]?_0x4e9bbe[_0x7f203a(0x273)]-_0x96b188[_0x7f203a(0x273)]:_0x4e9bbe[_0x7f203a(0x203)]!=_0x96b188[_0x7f203a(0x203)]?_0x4e9bbe[_0x7f203a(0x203)]-_0x96b188[_0x7f203a(0x203)]:_0x4e9bbe[_0x7f203a(0x20f)]!=_0x96b188[_0x7f203a(0x20f)]?_0x96b188[_0x7f203a(0x20f)]-_0x4e9bbe[_0x7f203a(0x20f)]:!!_0x4e9bbe[_0x7f203a(0x255)]!=!!_0x96b188[_0x7f203a(0x255)]?-0x1==_0x4e9bbe[_0x7f203a(0x273)]||0x0==_0x4e9bbe[_0x7f203a(0x273)]?_0x4e9bbe[_0x7f203a(0x255)]?-0x1:0x1:_0x4e9bbe[_0x7f203a(0x255)]?0x1:-0x1:_0x4e9bbe[_0x7f203a(0x27c)]-_0x96b188[_0x7f203a(0x27c)]),{'commonTape':_0x3afbe4,'iEnd':_0x3130dc,'jEnd':_0x304708};function _0x4ab2e3(_0x31ef55,_0x1f746b,_0x2f1073){const _0x29975f=_0x7f203a;let _0x5f5771=-0x1,_0x56dce3=Number[_0x29975f(0x2df)],_0x2aeebf=!0x0;for(let _0x49374d=_0x1f746b;_0x49374d<_0x2f1073;_0x49374d++)if(_0x324e1b[_0x29975f(0x268)](_0x31ef55[_0x49374d][_0x29975f(0x1cc)])||(_0x2aeebf=!0x1),_0x31ef55[_0x49374d][_0x29975f(0x1cc)][_0x29975f(0x210)]<_0x1f746b&&(_0x5f5771=_0x49374d),_0x31ef55[_0x49374d][_0x29975f(0x1cc)][_0x29975f(0x1db)]>=_0x2f1073){_0x56dce3=_0x49374d;break;}_0x2aeebf&&(_0x5f5771=_0x2f1073-0x1);for(let _0x3815c5=_0x1f746b;_0x3815c5<_0x2f1073;_0x3815c5++)_0x31ef55[_0x3815c5][_0x29975f(0x273)]=_0x3815c5<=_0x5f5771?-0x1:_0x3815c5<_0x56dce3?0x0:0x1,_0x31ef55[_0x3815c5][_0x29975f(0x27c)]=_0x3815c5;let _0x225ada=0x0;for(let _0x24de53=_0x1f746b;_0x24de53<=_0x5f5771;_0x24de53++)0x0==_0x31ef55[_0x24de53][_0x29975f(0x20f)]?_0x31ef55[_0x24de53][_0x29975f(0x203)]=_0x225ada:(_0x225ada++,_0x31ef55[_0x24de53][_0x29975f(0x203)]=_0x225ada,_0x225ada++);for(let _0x32d7df=_0x1f746b;_0x32d7df<_0x2f1073;_0x32d7df++)0x0==_0x31ef55[_0x32d7df][_0x29975f(0x273)]&&(_0x31ef55[_0x32d7df][_0x29975f(0x203)]=_0x225ada);_0x225ada=0x0;for(let _0x3be0f9=_0x2f1073-0x1;_0x3be0f9>=_0x56dce3;_0x3be0f9--)0x0==_0x31ef55[_0x3be0f9][_0x29975f(0x20f)]?_0x31ef55[_0x3be0f9][_0x29975f(0x203)]=_0x225ada:(_0x225ada--,_0x31ef55[_0x3be0f9][_0x29975f(0x203)]=_0x225ada,_0x225ada--);}}[_0x40fdb4(0x26f)](_0x3ccc9e){const _0x32363b=_0x40fdb4,_0x5ee0e7=new Map(),_0x3b367a=this[_0x32363b(0x1a9)][_0x32363b(0x2b9)][_0x32363b(0x2a2)];for(let _0x10e9b8=0x1;_0x10e9b8<_0x3ccc9e[_0x32363b(0x207)];_0x10e9b8++){let _0xa6ada0,_0x15785d,_0x27e613;const _0x5ae2f3=_0x3ccc9e[_0x10e9b8],_0x33fe78=_0x3ccc9e[_0x10e9b8-0x1];if(_0x32363b(0x1b1)==_0x5ae2f3[_0x32363b(0x1dc)])continue;if(_0x5ae2f3[_0x32363b(0x1dc)]!=_0x33fe78[_0x32363b(0x1dc)])continue;if(!_0x3b367a[_0x32363b(0x22e)](_0x33fe78[_0x32363b(0x1cc)])||_0x3b367a[_0x32363b(0x1f6)](_0x33fe78[_0x32363b(0x1cc)]))continue;if(!_0x3b367a[_0x32363b(0x22e)](_0x5ae2f3[_0x32363b(0x1cc)])||_0x3b367a[_0x32363b(0x1f6)](_0x5ae2f3[_0x32363b(0x1cc)]))continue;if((_0x3ccc9e[_0x10e9b8][_0x32363b(0x255)]||_0x3ccc9e[_0x10e9b8][_0x32363b(0x2b6)])&&_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x269)])_0xa6ada0=_0x3ccc9e[_0x10e9b8],_0x15785d=_0x3ccc9e[_0x10e9b8-0x1],_0x27e613=_0x10e9b8-0x1;else{if(!_0x3ccc9e[_0x10e9b8][_0x32363b(0x269)]||!_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x255)]&&!_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x2b6)])continue;_0xa6ada0=_0x3ccc9e[_0x10e9b8-0x1],_0x15785d=_0x3ccc9e[_0x10e9b8],_0x27e613=_0x10e9b8;}const _0x2761fb=_0xa6ada0[_0x32363b(0x203)]==_0x15785d[_0x32363b(0x203)],_0x32ed81=Math[_0x32363b(0x2d9)](_0xa6ada0[_0x32363b(0x203)])<Math[_0x32363b(0x2d9)](_0x15785d[_0x32363b(0x203)])&&0x0==_0x15785d[_0x32363b(0x20f)];(_0x2761fb||_0x32ed81)&&(_0x5ee0e7[_0x32363b(0x1c2)](_0x15785d['id'],_0xa6ada0['id']),_0x3ccc9e[_0x32363b(0x22d)](_0x27e613,0x1),_0x10e9b8--,_0xa6ada0[_0x32363b(0x255)]=!0x1);}for(let _0xa8e58f=0x0;_0xa8e58f<_0x3ccc9e[_0x32363b(0x207)];_0xa8e58f++)_0x5ee0e7[_0x32363b(0x1b9)](_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)])&&(_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)]=_0x5ee0e7[_0x32363b(0x287)](_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)]));}[_0x40fdb4(0x1f0)](_0x182e9c){const _0x3ef9fc=_0x40fdb4,_0x92e9b1=new Set(_0x182e9c[_0x3ef9fc(0x220)](_0xfc3acb=>_0xfc3acb['id']));for(let _0x3ac50c=0x0;_0x3ac50c<_0x182e9c[_0x3ef9fc(0x207)];_0x3ac50c++)_0x92e9b1[_0x3ef9fc(0x1b9)](_0x182e9c[_0x3ac50c][_0x3ef9fc(0x28f)])||0x0==_0x182e9c[_0x3ac50c][_0x3ef9fc(0x20f)]||(_0x182e9c[_0x3ac50c][_0x3ef9fc(0x1ca)]=!0x0);return _0x182e9c[_0x3ef9fc(0x1e0)](_0x32fba3=>!_0x32fba3[_0x3ef9fc(0x1ca)]);}[_0x40fdb4(0x293)](_0x5df8c5){const _0x1d80b3=_0x40fdb4,_0x44d90c=new Set();for(let _0x37c4d7=0x0;_0x37c4d7<_0x5df8c5[_0x1d80b3(0x207)];_0x37c4d7++){if(_0x44d90c[_0x1d80b3(0x1b9)](_0x5df8c5[_0x37c4d7]['id'])&&_0x5df8c5[_0x37c4d7][_0x1d80b3(0x269)]&&(_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)]=!0x0),_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)])continue;if(0x0==_0x5df8c5[_0x37c4d7][_0x1d80b3(0x20f)])continue;if(_0x1d80b3(0x2a9)!=_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1dc)])continue;if(null==_0x5df8c5[_0x37c4d7][_0x1d80b3(0x28f)])continue;let _0x59260a=_0x37c4d7+0x1,_0xbe60fa=0x0;for(;_0x5df8c5[_0x59260a]['id']!=_0x5df8c5[_0x37c4d7][_0x1d80b3(0x28f)];)_0x1d80b3(0x2a9)==_0x5df8c5[_0x59260a][_0x1d80b3(0x1dc)]?_0xbe60fa++:_0x1d80b3(0x1a5)==_0x5df8c5[_0x59260a][_0x1d80b3(0x1dc)]&&_0xbe60fa--,_0x59260a++;if(0x0!=_0xbe60fa){if(_0x5df8c5[_0x37c4d7][_0x1d80b3(0x269)])_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)]=!0x0;else{for(;_0x59260a!=_0x37c4d7;)_0x5df8c5[_0x59260a][_0x1d80b3(0x269)]&&0x0!=_0x5df8c5[_0x59260a][_0x1d80b3(0x20f)]&&(_0x5df8c5[_0x59260a][_0x1d80b3(0x1ca)]=!0x0,_0x44d90c[_0x1d80b3(0x297)](_0x5df8c5[_0x59260a][_0x1d80b3(0x28f)])),_0x59260a--;}}}return _0x5df8c5[_0x1d80b3(0x1e0)](_0x1200d8=>!_0x1200d8[_0x1d80b3(0x1ca)]);}[_0x40fdb4(0x2d5)](_0x7999dc){const _0x425e71=_0x40fdb4,_0x2d1f25=this[_0x425e71(0x1a9)][_0x425e71(0x2b9)][_0x425e71(0x2a2)];for(let _0x15039d=0x0;_0x15039d<_0x7999dc[_0x425e71(0x207)];_0x15039d++){if(!(_0x7999dc[_0x15039d][_0x425e71(0x255)]||_0x7999dc[_0x15039d][_0x425e71(0x2b6)]||_0x7999dc[_0x15039d][_0x425e71(0x269)]||_0x7999dc[_0x15039d][_0x425e71(0x25e)]))continue;if(0x0==_0x7999dc[_0x15039d][_0x425e71(0x20f)])continue;const _0x387c5d=_0x7999dc[_0x15039d][_0x425e71(0x1cc)];_0x2d1f25[_0x425e71(0x22e)](_0x387c5d)||_0x2d1f25[_0x425e71(0x1f6)](_0x387c5d)||(_0x7999dc[_0x15039d][_0x425e71(0x255)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x255)],_0x7999dc[_0x15039d][_0x425e71(0x2b6)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x2b6)],_0x7999dc[_0x15039d][_0x425e71(0x25e)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x25e)],_0x7999dc[_0x15039d][_0x425e71(0x269)]&&(_0x7999dc[_0x15039d][_0x425e71(0x1ca)]=!0x0));}return _0x7999dc[_0x425e71(0x1e0)](_0x43a4ea=>!_0x43a4ea[_0x425e71(0x1ca)]);}[_0x40fdb4(0x1cb)](_0x3701d4,_0xec8856,_0x1554c2){const _0x3355e6=_0x40fdb4,_0x5f5cf9=new _0x30cd1f(),_0x401ba9=[],_0x16000d=new Map(),_0x286059=this[_0x3355e6(0x1a9)][_0x3355e6(0x2b9)],_0x44eed2=_0x286059[_0x3355e6(0x2a2)],_0x2b0117=[_0x5f5cf9],_0x2c3a4e={},_0x42c5ed={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3a92d9=null;const _0x221864=[0x0];for(let _0x916119=0x0;_0x916119<_0x3701d4[_0x3355e6(0x207)];_0x916119++){let _0x3fd2ea,_0x375a16;if(_0x3355e6(0x2a9)===_0x3701d4[_0x916119][_0x3355e6(0x1dc)]){_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864);const _0x47eb37=new _0x50648b(_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1bd)],_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2be)]());_0x2b0117[0x0][_0x3355e6(0x299)](_0x47eb37),_0x221864[_0x3355e6(0x2a3)](0x0),_0x2b0117[_0x3355e6(0x27f)](_0x47eb37),_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9=null;}else{if(_0x3355e6(0x1a5)===_0x3701d4[_0x916119][_0x3355e6(0x1dc)])_0x2b0117[_0x3355e6(0x2ce)](),_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x221864[_0x3355e6(0x21f)](),_0x221864[_0x221864[_0x3355e6(0x207)]-0x1]++,_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9=null;else{if(_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9&&_0x4bec55(_0x3a92d9,_0x3701d4[_0x916119][_0x3355e6(0x1cc)]))_0x3a92d9[_0x3355e6(0x1ba)]+=_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1e7)];else{const _0x391280=new _0x39c94f(_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1e7)],_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2be)]());_0x2b0117[0x0][_0x3355e6(0x299)](_0x391280),_0x3a92d9=_0x391280;}_0x221864[_0x221864[_0x3355e6(0x207)]-0x1]+=_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2c9)],_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864);}}for(const _0x4cb7d2 of _0x3701d4[_0x916119][_0x3355e6(0x28b)])_0x16000d[_0x3355e6(0x1c2)](_0x4cb7d2,{'start':_0x3fd2ea,'end':null});_0x45a8b6(_0x3355e6(0x25e),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x2b6),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x269),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x255),_0x916119,_0x3fd2ea,_0x375a16);for(const _0x16da5f of _0x3701d4[_0x916119][_0x3355e6(0x1a3)]){_0x16000d[_0x3355e6(0x287)](_0x16da5f)[_0x3355e6(0x1ce)]=_0x375a16;}}for(const [_0xb9f3cf,_0x4d1c2c]of _0x16000d){const _0x473413=this[_0x3355e6(0x1a9)][_0x3355e6(0x2b9)][_0x3355e6(0x1d2)](_0x4d1c2c[_0x3355e6(0x2d1)],_0x4d1c2c[_0x3355e6(0x1ce)]);_0x5f5cf9[_0x3355e6(0x2ac)][_0x3355e6(0x1c2)](_0xb9f3cf,_0x473413);}return _0x401ba9[_0x3355e6(0x1cd)]((_0x2c7365,_0x23d317)=>{const _0x52d020=_0x3355e6,_0x2ad1ce=_0x5f5cf9[_0x52d020(0x2ac)][_0x52d020(0x287)](_0x52d020(0x247)+_0x2c7365['id']),_0x164f99=_0x5f5cf9[_0x52d020(0x2ac)][_0x52d020(0x287)](_0x52d020(0x247)+_0x23d317['id']);return _0x2ad1ce[_0x52d020(0x2d1)][_0x52d020(0x204)](_0x164f99[_0x52d020(0x2d1)])?-0x1:_0x2ad1ce[_0x52d020(0x2d1)][_0x52d020(0x1b0)](_0x164f99[_0x52d020(0x2d1)])?0x1:_0x2ad1ce[_0x52d020(0x1ce)][_0x52d020(0x204)](_0x164f99[_0x52d020(0x1ce)])?-0x1:_0x2ad1ce[_0x52d020(0x1ce)][_0x52d020(0x1b0)](_0x164f99[_0x52d020(0x1ce)])?0x1:_0x52d020(0x297)===_0x2c7365[_0x52d020(0x1dc)]?-0x1:0x1;}),{'root':_0x5f5cf9,'changes':_0x401ba9};function _0x45a8b6(_0x3735ae,_0x16848c,_0x1301f9,_0x1dbc04){const _0x507845=_0x3355e6,_0x458a4c=!!_0x3701d4[_0x16848c][_0x3735ae],_0x33235e=_0x458a4c?_0x3701d4[_0x16848c][_0x3735ae][_0x507845(0x1c6)]:null,_0x66f192=_0x16848c===_0x3701d4[_0x507845(0x207)]-0x1,_0x4d2e97=_0x42c5ed[_0x3735ae][0x0],_0x2543ee=_0x44eed2[_0x507845(0x2dc)](_0x3701d4[_0x16848c][_0x507845(0x1cc)]);!_0x2c3a4e[_0x3735ae]&&_0x458a4c?_0x2c3a4e[_0x3735ae]={'start':_0x1301f9,'tapeItem':_0x3701d4[_0x16848c],'userId':_0x33235e,'type':_0x3735ae}:_0x2c3a4e[_0x3735ae]&&!_0x458a4c?(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1301f9,_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]=null):_0x2c3a4e[_0x3735ae]&&_0x458a4c&&_0x2c3a4e[_0x3735ae][_0x507845(0x1c6)]!==_0x33235e&&(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1301f9,_0x4d2e97&&_0x4d2e97[_0x507845(0x1c6)]===_0x2c3a4e[_0x3735ae][_0x507845(0x1c6)]||_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]={'start':_0x1301f9,'tapeItem':_0x3701d4[_0x16848c],'userId':_0x33235e,'type':_0x3735ae}),_0x2c3a4e[_0x3735ae]&&_0x2543ee&&(_0x507845(0x2a9)!==_0x3701d4[_0x16848c][_0x507845(0x1dc)]||_0x4d2e97&&_0x4d2e97[_0x507845(0x1c6)]===_0x33235e||_0x42c5ed[_0x3735ae][_0x507845(0x27f)]({'userId':_0x33235e,'object':_0x3701d4[_0x16848c][_0x507845(0x1cc)],'change':_0x2c3a4e[_0x3735ae]}),_0x507845(0x1a5)===_0x3701d4[_0x16848c][_0x507845(0x1dc)]&&_0x4d2e97&&_0x4d2e97[_0x507845(0x233)]===_0x3701d4[_0x16848c][_0x507845(0x1cc)]&&(_0x42c5ed[_0x3735ae][_0x507845(0x2ce)](),_0x2c3a4e[_0x3735ae]=_0x4d2e97[_0x507845(0x283)])),_0x2c3a4e[_0x3735ae]&&_0x66f192&&(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1dbc04,_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]=null);}function _0x479b26({start:_0x743883,end:_0x48bf19,tapeItem:_0x443afb,userId:_0x2dcd9f,type:_0x5cdb7d}){const _0x3a1771=_0x3355e6,_0x250e10=_0x443afb[_0x3a1771(0x1cc)],_0x2ec6ab=_0x286059[_0x3a1771(0x2a2)][_0x3a1771(0x22e)](_0x250e10)&&!_0x286059[_0x3a1771(0x2a2)][_0x3a1771(0x1f6)](_0x250e10),_0xe9dcae=_0x743883[_0x3a1771(0x1e2)]==_0x48bf19[_0x3a1771(0x237)]&&_0x48bf19[_0x3a1771(0x261)];if(_0x2ec6ab&&_0xe9dcae)return;const _0xbd1346=_0x286059[_0x3a1771(0x1d2)](_0x743883,_0x48bf19),_0x38bde4=_0xec8856[_0x3a1771(0x287)](_0x2dcd9f),_0x55f841=new _0x2cabae({'author':_0x38bde4,'type':_0x3a1771(0x255)==_0x5cdb7d||_0x3a1771(0x2b6)==_0x5cdb7d?_0x3a1771(0x297):_0x3a1771(0x1d9),'data':{'isSuggestion':_0x3a1771(0x2b6)==_0x5cdb7d||_0x3a1771(0x25e)==_0x5cdb7d},'createdAt':new Date(),'rootName':_0x1554c2});_0x401ba9[_0x3a1771(0x2a3)](_0x55f841),_0x5f5cf9[_0x3a1771(0x2ac)][_0x3a1771(0x1c2)](_0x3a1771(0x247)+_0x55f841['id'],_0xbd1346);}function _0x4bec55(_0x564669,_0x47ef40){const _0x577600=_0x3355e6,_0x17689b=_0x564669[_0x577600(0x2be)](),_0x28aacc=_0x47ef40[_0x577600(0x2be)]();for(const _0x427621 of _0x17689b){if(_0x427621[0x1]!==_0x47ef40[_0x577600(0x2db)](_0x427621[0x0]))return!0x1;_0x28aacc[_0x577600(0x1ed)]();}return _0x28aacc[_0x577600(0x1ed)]()[_0x577600(0x1ad)];}}[_0x40fdb4(0x2a1)](){const _0x342440=_0x40fdb4;this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x1fe)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x281))[_0x342440(0x277)]({'model':_0x342440(0x1fe),'view':_0x41b62b=>{const _0x5c3a56=_0x342440,_0x132d8e=_0x41b62b[_0x5c3a56(0x19f)][_0x5c3a56(0x251)](':')[0x1],_0x552096=this[_0x5c3a56(0x270)](_0x132d8e);if(!_0x552096)return null;const _0x414a6d=_0x5c3a56(0x297)==_0x552096[_0x5c3a56(0x1dc)]?_0x5c3a56(0x227):_0x5c3a56(0x1d1),_0x203c5e=[_0x5c3a56(0x2d3),_0x5c3a56(0x1e1)+_0x414a6d];return _0x552096[_0x5c3a56(0x1e7)][_0x5c3a56(0x2a4)]&&_0x203c5e[_0x5c3a56(0x2a3)](_0x5c3a56(0x1e1)+_0x414a6d+_0x5c3a56(0x2c2)),this[_0x5c3a56(0x19c)]==_0x552096&&_0x203c5e[_0x5c3a56(0x2a3)](_0x5c3a56(0x218)),{'classes':_0x203c5e,'attributes':{'data-change-id':_0x132d8e}};}}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x297)](_0x569ef3=>{const _0x217850=_0x342440;_0x569ef3['on'](_0x217850(0x1c5),(_0x540296,_0x350fb1,_0x44c0a6)=>{const _0x5a7d46=_0x217850,_0x524ad8=_0x350fb1[_0x5a7d46(0x238)][_0x5a7d46(0x230)](0x0);if(!_0x524ad8||!_0x524ad8['is'](_0x5a7d46(0x2dd),_0x5a7d46(0x1ee)))return;if(!_0x44c0a6[_0x5a7d46(0x26d)][_0x5a7d46(0x211)](_0x524ad8,{'attributes':[_0x5a7d46(0x285),_0x5a7d46(0x219)]}))return;const _0x27d0b4=_0x350fb1[_0x5a7d46(0x2e2)][_0x5a7d46(0x2d1)][_0x5a7d46(0x1e2)];_0x44c0a6[_0x5a7d46(0x2b2)][_0x5a7d46(0x1ac)](_0x5a7d46(0x285),_0x524ad8[_0x5a7d46(0x2db)](_0x5a7d46(0x285)),_0x27d0b4),_0x44c0a6[_0x5a7d46(0x2b2)][_0x5a7d46(0x1ac)](_0x5a7d46(0x219),_0x524ad8[_0x5a7d46(0x2db)](_0x5a7d46(0x219)),_0x27d0b4);},{'priority':_0x217850(0x22b)});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x297)](_0x954262=>{const _0x2ba0a3=_0x342440;_0x954262['on'](_0x2ba0a3(0x2dd),(_0x4b1412,_0x1ba298,_0x77743d)=>{const _0xe8aec4=_0x2ba0a3;if(!_0x77743d[_0xe8aec4(0x26d)][_0xe8aec4(0x211)](_0x1ba298[_0xe8aec4(0x238)],{'attributes':[_0xe8aec4(0x285),_0xe8aec4(0x219)]}))return;if(_0x1ba298[_0xe8aec4(0x2e2)][_0xe8aec4(0x1a4)])return;const _0x15f9c6=_0x1ba298[_0xe8aec4(0x2e2)][_0xe8aec4(0x2d1)][_0xe8aec4(0x1e2)];_0x15f9c6[_0xe8aec4(0x2e8)](_0xe8aec4(0x285))||_0x15f9c6[_0xe8aec4(0x2e8)](_0xe8aec4(0x1c1))||(_0x77743d[_0xe8aec4(0x2b2)][_0xe8aec4(0x1ac)](_0xe8aec4(0x285),_0x1ba298[_0xe8aec4(0x238)][_0xe8aec4(0x2db)](_0xe8aec4(0x285)),_0x15f9c6),_0x77743d[_0xe8aec4(0x2b2)][_0xe8aec4(0x1ac)](_0xe8aec4(0x219),_0x1ba298[_0xe8aec4(0x238)][_0xe8aec4(0x2db)](_0xe8aec4(0x219)),_0x15f9c6));},{'priority':_0x2ba0a3(0x22b)});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x242)]({'view':{'name':_0x342440(0x1ae),'attributes':{'vid':!0x0}},'model':{'key':_0x342440(0x1c1),'value':_0x4d0bf2=>_0x4d0bf2[_0x342440(0x2db)](_0x342440(0x1c1))}}),this[_0x342440(0x1a9)][_0x342440(0x2b9)][_0x342440(0x2a2)]['on'](_0x342440(0x2b3),(_0x3534db,[,_0x1300cd])=>{const _0x6e8246=_0x342440;[_0x6e8246(0x285),_0x6e8246(0x219),_0x6e8246(0x1c1)][_0x6e8246(0x228)](_0x1300cd)&&(_0x3534db[_0x6e8246(0x1af)]=!0x0,_0x3534db[_0x6e8246(0x294)]());},{'priority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x297)](_0x9ae7a9=>{const _0x875259=_0x342440;_0x9ae7a9['on'](_0x875259(0x19e),(_0x2530d1,_0xf83b90,_0x498cde)=>{const _0x26b5ab=_0x875259;if('\x20'!=_0xf83b90[_0x26b5ab(0x1cc)][_0x26b5ab(0x1e7)]||_0xf83b90[_0x26b5ab(0x1cc)][_0x26b5ab(0x237)][_0x26b5ab(0x266)]>0x1)return;if(!_0x498cde[_0x26b5ab(0x26d)][_0x26b5ab(0x211)](_0xf83b90[_0x26b5ab(0x1cc)],_0x2530d1[_0x26b5ab(0x1bd)]))return;const _0x379f27=_0x498cde[_0x26b5ab(0x2b2)],_0x2f277a=_0x498cde[_0x26b5ab(0x1b7)][_0x26b5ab(0x248)](_0xf83b90[_0x26b5ab(0x1a2)]);_0x379f27[_0x26b5ab(0x29d)](_0x2f277a,_0x379f27[_0x26b5ab(0x2d4)](_0x26b5ab(0x1ae)));});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x286)]({'model':_0x342440(0x1fe)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x215),function(_0x3739ee){const _0x1e85f3=_0x342440,_0x4c86dc=_0x3739ee[_0x1e85f3(0x252)][_0x1e85f3(0x287)](_0x1e85f3(0x21c));return(_0x274860,_0x56e4ff,_0x5c80e9)=>{const _0x4ff245=_0x1e85f3,_0x1d7bc4=_0x56e4ff[_0x4ff245(0x19f)][_0x4ff245(0x251)](':')[0x1],_0x3fb8ad=_0x4c86dc[_0x4ff245(0x270)](_0x1d7bc4);if(!_0x3fb8ad)return null;const _0x4864b6=_0x4ff245(0x297)==_0x3fb8ad[_0x4ff245(0x1dc)]?_0x4ff245(0x251):_0x4ff245(0x296);if(!_0x5c80e9[_0x4ff245(0x26d)][_0x4ff245(0x2e3)](_0x56e4ff[_0x4ff245(0x208)],_0x274860[_0x4ff245(0x1bd)]))return;const _0x55b63c=_0x56e4ff[_0x4ff245(0x208)][_0x4ff245(0x254)](),_0xa0ff7=_0x56e4ff[_0x4ff245(0x208)][_0x4ff245(0x2d1)],_0x37564e=_0x3739ee[_0x4ff245(0x2b9)][_0x4ff245(0x2a2)];let _0x23a99a=null,_0x4ea678=null,_0x1beee5=!0x1,_0x4f8e0a=!0x1;for(const _0x22aeee of _0x55b63c){const _0x2fb2a6=_0x22aeee[_0x4ff245(0x1cc)];_0x1beee5=_0x1beee5||_0x37564e[_0x4ff245(0x298)](_0x2fb2a6);const _0x4dcd05=_0x5c80e9[_0x4ff245(0x1b7)][_0x4ff245(0x27a)](_0x2fb2a6);if(_0x4dcd05&&_0x4dcd05[_0x4ff245(0x2d8)](_0x4ff245(0x258)))return;_0x4ff245(0x1a5)==_0x22aeee[_0x4ff245(0x1dc)]&&(_0x37564e[_0x4ff245(0x22e)](_0x2fb2a6)&&!_0x37564e[_0x4ff245(0x1f6)](_0x2fb2a6)&&(_0x2fb2a6[_0x4ff245(0x284)]||_0xa0ff7[_0x4ff245(0x28d)]?_0x23a99a&&_0x23a99a[_0x4ff245(0x237)]==_0x2fb2a6||(_0x23a99a=_0x2fb2a6,_0x545f86(_0x22aeee[_0x4ff245(0x291)]),_0x4f8e0a=!0x0):_0x4ea678=_0x4ea678||_0x22aeee[_0x4ff245(0x291)]));}function _0x545f86(_0x5ab9ba){const _0x5cdee0=_0x4ff245,_0x5a308a=_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x20a)](_0x5cdee0(0x1ae),{'class':_0x5cdee0(0x1e1)+_0x4864b6}),_0xdb6e45=_0x5c80e9[_0x5cdee0(0x1b7)][_0x5cdee0(0x2e1)](_0x5ab9ba);_0x3fb8ad[_0x5cdee0(0x1e7)][_0x5cdee0(0x2a4)]&&_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x1da)](_0x5cdee0(0x1e1)+_0x4864b6+_0x5cdee0(0x2c2),_0x5a308a),_0x4c86dc[_0x5cdee0(0x19c)]==_0x3fb8ad&&_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x1da)](_0x5cdee0(0x218),_0x5a308a),_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x2c1)](_0xdb6e45,_0x5a308a),_0x5c80e9[_0x5cdee0(0x1b7)][_0x5cdee0(0x27b)](_0x5a308a,_0x56e4ff[_0x5cdee0(0x19f)]);}_0x1beee5||_0x4f8e0a||!_0x4ea678||_0x545f86(_0x4ea678);};}(this[_0x342440(0x1a9)]),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x272),(_0x1255e2,_0x172853,_0x649181)=>{const _0x5b570a=_0x342440,_0x8d6f14=_0x649181[_0x5b570a(0x1b7)][_0x5b570a(0x23f)](_0x172853[_0x5b570a(0x19f)]);if(_0x8d6f14){for(const _0x371dd2 of _0x8d6f14)(_0x371dd2[_0x5b570a(0x23d)](_0x5b570a(0x205))||_0x371dd2[_0x5b570a(0x23d)](_0x5b570a(0x25a)))&&(_0x649181[_0x5b570a(0x1b7)][_0x5b570a(0x2ad)](_0x371dd2,_0x172853[_0x5b570a(0x19f)]),_0x649181[_0x5b570a(0x2b2)][_0x5b570a(0x1d9)](_0x371dd2));}},{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x215),(_0x2fd900,_0x2e7d09,_0x4add36)=>{const _0x2bfb33=_0x342440,_0x433372=_0x2e7d09[_0x2bfb33(0x19f)][_0x2bfb33(0x251)](':')[0x1],_0x10deef=this[_0x2bfb33(0x270)](_0x433372);if(!_0x10deef)return null;const _0x1bfcd0=_0x2bfb33(0x297)==_0x10deef[_0x2bfb33(0x1dc)]?_0x2bfb33(0x251):_0x2bfb33(0x296);if(_0x4add36[_0x2bfb33(0x26d)][_0x2bfb33(0x2e3)](_0x2e7d09[_0x2bfb33(0x208)],_0x2fd900[_0x2bfb33(0x1bd)]))for(const _0x4888e1 of _0x2e7d09[_0x2bfb33(0x208)][_0x2bfb33(0x27e)]()){if(!_0x4888e1['is'](_0x2bfb33(0x2dd),_0x2bfb33(0x2de)))continue;const _0x59d9aa=_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x20a)](_0x2bfb33(0x1ae),{'class':_0x2bfb33(0x1e1)+_0x1bfcd0}),_0x1a2ac5=_0x4add36[_0x2bfb33(0x1b7)][_0x2bfb33(0x2e1)](this[_0x2bfb33(0x1a9)][_0x2bfb33(0x2b9)][_0x2bfb33(0x217)](_0x4888e1));_0x10deef[_0x2bfb33(0x1e7)][_0x2bfb33(0x2a4)]&&_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x1da)](_0x2bfb33(0x1e1)+_0x1bfcd0+_0x2bfb33(0x2c2),_0x59d9aa),this[_0x2bfb33(0x19c)]==_0x10deef&&_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x1da)](_0x2bfb33(0x218),_0x59d9aa),_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x2c1)](_0x1a2ac5,_0x59d9aa),_0x4add36[_0x2bfb33(0x1b7)][_0x2bfb33(0x27b)](_0x59d9aa,_0x2e7d09[_0x2bfb33(0x19f)]);}},{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x2b9)][_0x342440(0x256)]['on'](_0x342440(0x283),()=>{const _0x538b4a=_0x342440;this[_0x538b4a(0x1a9)][_0x538b4a(0x239)][_0x538b4a(0x253)][_0x538b4a(0x283)](_0x522549=>{const _0x40facb=_0x538b4a;for(const _0x4b4005 of this[_0x40facb(0x1a9)][_0x40facb(0x2b9)][_0x40facb(0x256)][_0x40facb(0x206)]()){const _0x1ae6fe=this[_0x40facb(0x1a9)][_0x40facb(0x2b9)][_0x40facb(0x256)][_0x40facb(0x2a8)](_0x4b4005),_0x50f3e0=this[_0x40facb(0x1a9)][_0x40facb(0x239)][_0x40facb(0x253)][_0x40facb(0x256)][_0x40facb(0x2a8)](_0x4b4005);if(_0x50f3e0){const _0x100363=_0x1ae6fe[_0x40facb(0x2db)](_0x40facb(0x1de));if(_0x522549[_0x40facb(0x1e8)](_0x40facb(0x26b),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x2bd),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x2a0),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x21b),_0x50f3e0),_0x100363){const _0x82572f=this[_0x40facb(0x270)](_0x100363);if(!_0x82572f)return null;_0x522549[_0x40facb(0x1ac)](_0x40facb(0x26b),_0x100363,_0x50f3e0),_0x522549[_0x40facb(0x1da)](_0x40facb(0x2ba)+_0x82572f[_0x40facb(0x1dc)],_0x50f3e0),this[_0x40facb(0x19c)]==_0x82572f&&_0x522549[_0x40facb(0x1da)](_0x40facb(0x21b),_0x50f3e0);}}}});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x271),'model':_0x5c4961=>_0x342440(0x1bc)+_0x5c4961,'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x29a),'model':_0x532af4=>_0x342440(0x1e5)+_0x532af4,'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x286)]({'model':_0x342440(0x2b0),'view':_0x5da8dd=>({'name':_0x342440(0x2cc)+_0x5da8dd,'group':_0x342440(0x2b0)}),'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x281))[_0x342440(0x277)]({'model':_0x342440(0x2b0),'view':_0x9fd29e=>{const _0x444f18=_0x342440,_0x386e2e=_0x9fd29e[_0x444f18(0x19f)][_0x444f18(0x251)](':')[0x1];return _0x444f18(0x227)!=_0x386e2e&&_0x444f18(0x1d1)!=_0x386e2e?null:{'classes':[_0x444f18(0x22f),_0x444f18(0x2da)+_0x386e2e]};}}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x24a),et(this[_0x342440(0x1a9)],_0x342440(0x296)),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x19d),et(this[_0x342440(0x1a9)],_0x342440(0x251)),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x1b2),(_0x52455f,_0x42496c,_0x584da8)=>{const _0x513054=_0x342440,_0x360e51=_0x584da8[_0x513054(0x1b7)][_0x513054(0x23f)](_0x42496c[_0x513054(0x19f)]);if(_0x360e51){for(const _0x591faf of _0x360e51)_0x591faf['is'](_0x513054(0x249))&&(_0x584da8[_0x513054(0x1b7)][_0x513054(0x2ad)](_0x591faf,_0x42496c[_0x513054(0x19f)]),_0x584da8[_0x513054(0x2b2)][_0x513054(0x1d9)](_0x591faf));}},{'priority':_0x342440(0x22a)});}[_0x40fdb4(0x270)](_0x22d040){const _0x4ec324=_0x40fdb4;return this[_0x4ec324(0x2b5)][_0x4ec324(0x287)](_0x22d040);}[_0x40fdb4(0x262)](_0x3acd0e){const _0x4a794e=_0x40fdb4;return this[_0x4a794e(0x2c3)]&&this[_0x4a794e(0x2c3)][_0x4a794e(0x200)](),this[_0x4a794e(0x2c3)]=new _0xaaffbc(this[_0x4a794e(0x1a9)][_0x4a794e(0x224)],_0x3acd0e),this[_0x4a794e(0x2c3)];}[_0x40fdb4(0x1b3)](){const _0x250c9f=_0x40fdb4;this[_0x250c9f(0x1a9)][_0x250c9f(0x2b9)][_0x250c9f(0x256)][_0x250c9f(0x1d4)][_0x250c9f(0x240)](_0x250c9f(0x1fe)),this['on'](_0x250c9f(0x1bb),(_0x1972e7,_0x5d80c1,_0x4cc21d,_0x4f5b3d)=>{const _0x2fd894=_0x250c9f;_0x4f5b3d&&this[_0x2fd894(0x282)][_0x2fd894(0x1d9)](_0x4f5b3d),_0x4cc21d&&(this[_0x2fd894(0x282)][_0x2fd894(0x297)]({'view':_0x4cc21d,'stackId':_0x2fd894(0x1c9),'position':{'target':()=>{const _0x444561=_0x2fd894,_0x27c83b=this[_0x444561(0x1a9)][_0x444561(0x239)],_0x1b81f6=this[_0x444561(0x270)](_0x4cc21d[_0x444561(0x2aa)]);let _0x40b46f;if(_0x1b81f6[_0x444561(0x1e7)][_0x444561(0x2e5)]){const _0x2451cb=_0x27c83b[_0x444561(0x253)][_0x444561(0x1ec)](_0x1b81f6[_0x444561(0x23c)]);_0x40b46f=Array[_0x444561(0x1c7)](_0x2451cb[_0x444561(0x260)]());}else{const _0xd58740=this[_0x444561(0x1a9)][_0x444561(0x2b9)][_0x444561(0x2ac)][_0x444561(0x287)](_0x444561(0x247)+_0x4cc21d[_0x444561(0x2aa)]);_0x40b46f=Array[_0x444561(0x1c7)](_0x27c83b[_0x444561(0x1b7)][_0x444561(0x23f)](_0xd58740[_0x444561(0x1bd)]))[_0x444561(0x220)](_0xcf2ae0=>_0x27c83b[_0x444561(0x253)][_0x444561(0x1b5)][_0x444561(0x1a6)](_0xcf2ae0))[_0x444561(0x220)](_0x1142a1=>Array[_0x444561(0x1c7)](_0x1142a1[_0x444561(0x260)]()))[_0x444561(0x1dd)]();}if(!this[_0x444561(0x1a8)])return _0x40b46f[0x0];return _0x40b46f[_0x444561(0x2b7)](_0x4d0afe=>_0x4d0afe[_0x444561(0x2c0)]-0x3<=this[_0x444561(0x1a8)]['y']&&_0x4d0afe[_0x444561(0x1c3)]+0x3>=this[_0x444561(0x1a8)]['y']&&_0x4d0afe[_0x444561(0x2af)]-0x3<=this[_0x444561(0x1a8)]['x']&&_0x4d0afe[_0x444561(0x29f)]+0x3>=this[_0x444561(0x1a8)]['x'])||_0x40b46f[0x0];}}}),this[_0x2fd894(0x282)][_0x2fd894(0x19a)](_0x2fd894(0x1c9)));}),this['on'](_0x250c9f(0x263),(_0x48d941,_0x4ebeb1,_0x389f06,_0x52924c)=>{const _0x330fe0=_0x250c9f;this[_0x330fe0(0x23a)]=_0x389f06?this[_0x330fe0(0x262)](_0x389f06):null,this[_0x330fe0(0x1a9)][_0x330fe0(0x2b9)][_0x330fe0(0x283)](()=>{const _0x4da88c=_0x330fe0,_0x2bd6ce=this[_0x4da88c(0x1a9)][_0x4da88c(0x239)];_0x52924c&&(_0x52924c[_0x4da88c(0x1e7)][_0x4da88c(0x2e5)]?_0x2bd6ce[_0x4da88c(0x253)][_0x4da88c(0x283)](_0x345378=>{const _0x5c7d13=_0x4da88c;_0x345378[_0x5c7d13(0x234)](_0x5c7d13(0x21b),_0x2bd6ce[_0x5c7d13(0x253)][_0x5c7d13(0x256)][_0x5c7d13(0x2a8)](_0x52924c[_0x5c7d13(0x23c)]));}):_0x2bd6ce[_0x4da88c(0x1c4)](_0x4da88c(0x247)+_0x52924c['id'])),_0x389f06&&(_0x389f06[_0x4da88c(0x1e7)][_0x4da88c(0x2e5)]?_0x2bd6ce[_0x4da88c(0x253)][_0x4da88c(0x283)](_0x45a6f3=>{const _0x3392f3=_0x4da88c;_0x45a6f3[_0x3392f3(0x1da)](_0x3392f3(0x21b),_0x2bd6ce[_0x3392f3(0x253)][_0x3392f3(0x256)][_0x3392f3(0x2a8)](_0x389f06[_0x3392f3(0x23c)]));}):_0x2bd6ce[_0x4da88c(0x1c4)](_0x4da88c(0x247)+_0x389f06['id']));});}),this[_0x250c9f(0x28a)](this[_0x250c9f(0x1a9)][_0x250c9f(0x239)][_0x250c9f(0x253)][_0x250c9f(0x256)],_0x250c9f(0x221),(_0xf275c6,_0x3680c6)=>{const _0x410c8a=_0x250c9f;if(this[_0x410c8a(0x19c)])return;const _0x3a15a7=this[_0x410c8a(0x1d3)](_0x3680c6[_0x410c8a(0x2d7)]),_0x3864c0=this[_0x410c8a(0x2b5)][_0x410c8a(0x287)](_0x3a15a7);_0x3864c0?(this[_0x410c8a(0x1a8)]={'x':_0x3680c6[_0x410c8a(0x26a)]['x'],'y':_0x3680c6[_0x410c8a(0x26a)]['y']},this[_0x410c8a(0x23a)]=this[_0x410c8a(0x262)](_0x3864c0)):(this[_0x410c8a(0x1a8)]=null,this[_0x410c8a(0x23a)]=null);}),this[_0x250c9f(0x28a)](this[_0x250c9f(0x1a9)][_0x250c9f(0x239)][_0x250c9f(0x253)][_0x250c9f(0x256)],_0x250c9f(0x2bf),(_0x285ff3,_0x4e27d6)=>{const _0x4b8f51=_0x250c9f,_0x597cee=this[_0x4b8f51(0x1d3)](_0x4e27d6[_0x4b8f51(0x2d7)]),_0xd9789a=this[_0x4b8f51(0x2b5)][_0x4b8f51(0x287)](_0x597cee);_0xd9789a?(this[_0x4b8f51(0x1a8)]={'x':_0x4e27d6[_0x4b8f51(0x26a)]['x'],'y':_0x4e27d6[_0x4b8f51(0x26a)]['y']},_0xd9789a===this[_0x4b8f51(0x19c)]?this[_0x4b8f51(0x282)][_0x4b8f51(0x201)]():this[_0x4b8f51(0x19c)]=_0xd9789a):(this[_0x4b8f51(0x1a8)]=null,this[_0x4b8f51(0x19c)]=null);});}[_0x40fdb4(0x1d3)](_0x368efa){const _0x3be1fb=_0x40fdb4;do{const _0x295beb=_0x368efa[_0x3be1fb(0x2db)](_0x3be1fb(0x26b));if(_0x295beb)return _0x295beb;_0x368efa=_0x368efa[_0x3be1fb(0x237)];}while(_0x368efa);return null;}[_0x40fdb4(0x1e6)](){const _0x2d9179=_0x40fdb4;this[_0x2d9179(0x1a9)][_0x2d9179(0x2b9)][_0x2d9179(0x283)](_0x4a4d9d=>{const _0x349b35=_0x2d9179;for(const _0x5e51c5 of this[_0x349b35(0x1a9)][_0x349b35(0x2b9)][_0x349b35(0x2ac)])_0x4a4d9d[_0x349b35(0x1df)](_0x5e51c5);});}}function et(_0x35c5ca,_0xfc3653){return(_0x4f7a8f,_0x50cc39,_0x333ce7)=>{const _0x47a9dd=_0x45ee;if(!_0x333ce7[_0x47a9dd(0x26d)][_0x47a9dd(0x2e3)](_0x50cc39[_0x47a9dd(0x208)],_0x4f7a8f[_0x47a9dd(0x1bd)]))return;const _0x5d1425=_0x50cc39[_0x47a9dd(0x208)][_0x47a9dd(0x254)](),_0x565d35=_0x50cc39[_0x47a9dd(0x208)][_0x47a9dd(0x2d1)],_0x5ddc26=_0x35c5ca[_0x47a9dd(0x2b9)][_0x47a9dd(0x2a2)];let _0x2f020c=null,_0x3191f0=null,_0x40b2e9=!0x1,_0xc4e25c=!0x1;for(const _0x1293ac of _0x5d1425){const _0x53b626=_0x1293ac[_0x47a9dd(0x1cc)];_0x40b2e9=_0x40b2e9||_0x5ddc26[_0x47a9dd(0x298)](_0x53b626);const _0x41ab1f=_0x333ce7[_0x47a9dd(0x1b7)][_0x47a9dd(0x27a)](_0x53b626);if(_0x41ab1f&&_0x41ab1f[_0x47a9dd(0x2d8)](_0x47a9dd(0x258)))return;_0x47a9dd(0x1a5)==_0x1293ac[_0x47a9dd(0x1dc)]&&(_0x5ddc26[_0x47a9dd(0x22e)](_0x53b626)&&!_0x5ddc26[_0x47a9dd(0x1f6)](_0x53b626)&&(_0x53b626[_0x47a9dd(0x284)]||_0x565d35[_0x47a9dd(0x28d)]?_0x2f020c&&_0x2f020c[_0x47a9dd(0x237)]==_0x53b626||(_0x2f020c=_0x53b626,_0x4607cb(_0x1293ac[_0x47a9dd(0x291)]),_0xc4e25c=!0x0):_0x3191f0=_0x3191f0||_0x1293ac[_0x47a9dd(0x291)]));}function _0x4607cb(_0xcbfbef){const _0x4dc242=_0x47a9dd,_0x228d22=_0x333ce7[_0x4dc242(0x1b7)][_0x4dc242(0x2e1)](_0xcbfbef),_0x333e35=_0x333ce7[_0x4dc242(0x2b2)][_0x4dc242(0x20a)](_0x4dc242(0x1ae),{'class':_0x4dc242(0x2da)+_0xfc3653});_0x333ce7[_0x4dc242(0x2b2)][_0x4dc242(0x2c1)](_0x228d22,_0x333e35),_0x333ce7[_0x4dc242(0x1b7)][_0x4dc242(0x27b)](_0x333e35,_0x50cc39[_0x4dc242(0x19f)]);}_0x40b2e9||_0xc4e25c||!_0x3191f0||_0x4607cb(_0x3191f0);};}export class RestoreRevisionCommand extends _0x2c0540{constructor(_0x175a24){const _0x20d866=_0x40fdb4;super(_0x175a24);const _0x1b566f=_0x175a24[_0x20d866(0x252)][_0x20d866(0x287)](d);this[_0x20d866(0x209)]=!0x1,this[_0x20d866(0x28a)](_0x1b566f,_0x20d866(0x2c7),()=>this[_0x20d866(0x2ab)]()),this[_0x20d866(0x28a)](_0x1b566f,_0x20d866(0x24e),()=>this[_0x20d866(0x2ab)]());}[_0x40fdb4(0x1a0)](){const _0x25aab8=_0x40fdb4,_0x5eff52=this[_0x25aab8(0x1a9)],_0x357729=_0x5eff52[_0x25aab8(0x252)][_0x25aab8(0x287)](d),_0x414233=_0x357729[_0x25aab8(0x2b4)]?_0x357729[_0x25aab8(0x1be)][_0x25aab8(0x2e0)]:null;_0x5eff52[_0x25aab8(0x295)][_0x25aab8(0x287)](_0x25aab8(0x226))[_0x25aab8(0x246)](_0x414233);}[_0x40fdb4(0x2ab)](){const _0x37bd29=_0x40fdb4,{isReady:_0x3dd55e,isEnabled:_0x362f8f}=this[_0x37bd29(0x1a9)][_0x37bd29(0x252)][_0x37bd29(0x287)](d);this[_0x37bd29(0x1fa)]=_0x3dd55e&&_0x362f8f;}}export class ShowChangeCommand extends _0x2c0540{constructor(_0x571660,{direction:_0x298e4d}){const _0x1315aa=_0x40fdb4;super(_0x571660);const _0x5993ad=_0x571660[_0x1315aa(0x252)][_0x1315aa(0x287)](d);this[_0x1315aa(0x209)]=!0x1,this[_0x1315aa(0x1d5)]=_0x1315aa(0x288)===_0x298e4d?0x1:-0x1,this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x2c7),()=>this[_0x1315aa(0x2ab)]()),this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x24e),()=>this[_0x1315aa(0x2ab)]()),this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x263),()=>this[_0x1315aa(0x2ab)]());}[_0x40fdb4(0x1a0)](){const _0x53baa9=_0x40fdb4,_0x977695=this[_0x53baa9(0x1a9)],_0x2762ac=_0x977695[_0x53baa9(0x252)][_0x53baa9(0x287)](d),{isNavigationMode:_0x3ccaa3,currentChangeNumber:_0x66a874}=_0x2762ac;let _0x1834f5;if(_0x2762ac[_0x53baa9(0x19c)]=_0x3ccaa3?_0x2762ac[_0x53baa9(0x1be)][_0x53baa9(0x1cf)][_0x53baa9(0x287)](_0x66a874+this[_0x53baa9(0x1d5)]):_0x2762ac[_0x53baa9(0x1be)][_0x53baa9(0x1cf)][_0x53baa9(0x1c8)],_0x2762ac[_0x53baa9(0x19c)][_0x53baa9(0x1e7)][_0x53baa9(0x2e5)])_0x1834f5=_0x977695[_0x53baa9(0x239)][_0x53baa9(0x253)][_0x53baa9(0x1ec)](_0x2762ac[_0x53baa9(0x19c)][_0x53baa9(0x23c)]);else{const _0x26dd30=_0x977695[_0x53baa9(0x2b9)][_0x53baa9(0x2ac)][_0x53baa9(0x287)](_0x53baa9(0x247)+_0x2762ac[_0x53baa9(0x19c)]['id']);_0x1834f5=_0x4fc286(_0x977695[_0x53baa9(0x239)],_0x26dd30);}_0x3ea3fd({'target':_0x1834f5,'viewportOffset':0x28});}[_0x40fdb4(0x2ab)](){const _0x374fda=_0x40fdb4,{isNavigationMode:_0x55400d,currentChangeNumber:_0x14af47,numberOfChanges:_0x29a851,isReady:_0x21924b,isEnabled:_0x17a860}=this[_0x374fda(0x1a9)][_0x374fda(0x252)][_0x374fda(0x287)](d);this[_0x374fda(0x1fa)]=!!(_0x17a860&&_0x21924b&&_0x29a851)&&(!_0x55400d||(0x1===this[_0x374fda(0x1d5)]?_0x14af47<_0x29a851-0x1:_0x14af47>0x0));}}
|
|
23
|
+
const _0x500d49=_0x1fde;(function(_0x48c6e2,_0x547f06){const _0x3a8efd=_0x1fde,_0x219753=_0x48c6e2();while(!![]){try{const _0x202142=-parseInt(_0x3a8efd(0xb8))/0x1*(-parseInt(_0x3a8efd(0xb9))/0x2)+parseInt(_0x3a8efd(0x1dc))/0x3*(-parseInt(_0x3a8efd(0x1e3))/0x4)+parseInt(_0x3a8efd(0x18a))/0x5*(-parseInt(_0x3a8efd(0x10e))/0x6)+-parseInt(_0x3a8efd(0xe8))/0x7+-parseInt(_0x3a8efd(0x10d))/0x8+parseInt(_0x3a8efd(0x1c1))/0x9*(parseInt(_0x3a8efd(0xf1))/0xa)+parseInt(_0x3a8efd(0xc2))/0xb;if(_0x202142===_0x547f06)break;else _0x219753['push'](_0x219753['shift']());}catch(_0x487aa8){_0x219753['push'](_0x219753['shift']());}}}(_0x5a76,0x9e733));import{Plugin as _0x5d41b8,Command as _0x1f112a}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2aa958}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x52589e}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x3c1726,Element as _0x3861fc,Text as _0x279c66,ViewDocumentFragment as _0x53ac3b,ViewText as _0xfee656,ViewElement as _0x3e5689,ViewContainerElement as _0x22cdec,ViewAttributeElement as _0x55a2ac,ViewEmptyElement as _0x86d77b,ViewRawElement as _0x4fc667,ViewUIElement as _0x56da71}from'ckeditor5/src/engine.js';import{Users as _0x480a79,getMarkerDomElement as _0x181a0b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x9a512d from'./ui/revisionviewer/changedetailsview.js';import _0x24da2b from'./revisionsrepository.js';import _0x47f120 from'./changeitem.js';import{default as _0x59436a}from'./revisiondiff.js';function _0x1fde(_0x599a1e,_0x19dfa5){const _0x5a76b4=_0x5a76();return _0x1fde=function(_0x1fdea4,_0x188083){_0x1fdea4=_0x1fdea4-0xa2;let _0x1513bd=_0x5a76b4[_0x1fdea4];return _0x1513bd;},_0x1fde(_0x599a1e,_0x19dfa5);}import'../theme/revisionviewer.css';function _0x5a76(){const _0x3d5122=['startIndex','enqueueChange','pluginName','indexOf','slice','_data','compare','addClass','2934445DuSyDB','start','config','nextPosition','WidgetToolbarRepository','dataDowncast','_makeTape','getRoot','ck-suggestion-marker-','numberOfChanges','nextSibling','createPositionFromPath','RevisionsRepository','abs','isAttached','getIndex','_fixObsoleteTags','bind','processor','downcastDispatcher','getRevisionData','_revisions','sort','nodeAfter','isRemoveSuggestion','right','isAddSuggestion','rootName','revision-end','getClientRects','string','_setConversion','ck-suggestion-marker','_sortAndFilterDiffChanges','createAttributeElement','ck-revision-history-root-','_update','toViewElement','writer','change:numberOfChanges','isOnRoot','useFillerType','_processTape','execute','range','deletions','markerName','ck-suggestion-marker-merge','document','createPositionBefore','setAttribute','change','markers','push','parse','57843BSgoqE','_step','isSuggestion','shift','maxOffset','isIncorrect','destroy','isLimit','refresh','isObject','currentChangeNumber','ck-revision-history-root-add','domConverter','plugins','span','add','addMarker:revision-suggestion:deletion','all','resolve','type','return','roots','revision-suggestion','isReady','ck-suggestion-marker--active','userId','_changeIdToChange','3864801cbbJiG','changeId','toViewRange','then','for','isCollapsed','previousPosition','4DYhGyv','softBreak','collaboration.channelId','offsetSize','revision-start','highest','object','getAttributes','suggestion:','loadRevisionData','mapper','enableReadOnlyMode','high','isEnabled','reconvertMarker','splice','_getDiff','ck-suggestion-marker-split','set','_appendChild','includes','-new','code','init','mouseover','markerRange','affectsData','bindElementToMarker','locale','createUIElement','parent','domEvent','elementEnd','detachRoot','authors','target','pop','1yxHoVu','417230EEPhVt','comment','ck-suggestion-preview-marker-','_cleanMarkers','startsWith','endIndex','hasAttribute','isBefore','side','42337988PTiGLN','index','attributesAfter','showNextChange','error','stop','unbindElementFromMarkerName','isEqual','_removeRevisionMarkers','_refreshStartEndIndex','restoreRevision','removeAttribute','_markMismatchedRemovedTags','oldRevisionId','_activeViewTarget','adapter','data-change-id','hasClass','dataToMarker','updatePosition','consumable','catch','markerToData','changes','clear','activeChange','flat','suggestion','deletion','isAdded','change:activeView','editing','getRevision','addRoot','showPreviousChange','getItems','modelRange','ck-revision-history-root-remove','3180471eSGTqN','_initInteractions','backward','upcast','view','addMarker:revision-suggestion:insertion','delete','uiElement','change:activeChange','190opPJuO','diffData','schema','forceDisabled','_threeWayMerge','forward','getDomRoot','requires','_removeMissingPairs','revision-comment:','from','revisionHistoryLabel','attributes','checkAttribute','concat','revision','revisionHistoryAttachChange','_findChangeIdFromDomTarget','keys','listenTo','insertions','ck-editor__editable__overlay','getChild','removeMarker:revision','_markMarkers','vid','ck-suggestion-preview-marker','isAtEnd','9608928JoVKnR','6CKWzZI','wrap','length','split','first','addRevisionData','insertion','values','_balloon','restoreRevisionCallback','change:isEnabled','getCustomProperty','markerNameToElements','toViewPosition','viewItem','_getViewObj','selection','data','mousedown','removeMarker:revision-suggestion','addMarker:revision','map','_markInsertions','_getRevisionsRange','merge','conversion','revisionHistory','_changeView','remove','isBlock','default','getWalker','elementStart','vid_end','top','commands','removeMarker','addRevision','addHighlight','unshift','text','repository','getRootNames','isNavigationMode','toData','diff','data-revision-','name','_markSuggestions','test','ck-revision-history-root--active','toModel','left','model','markersStart','insert','done','get','removeClass','end','isAfter','markerToHighlight','getAttribute','find','_makeModelFromTape','elementToAttribute','_getViewForChange','consume','RevisionViewer','attributesBefore','_setChanges','next','marked','isAtStart','activeView','forEach','findIndex','mapViewToDom','revision-viewer','distance','change:isReady','_cleanUp','markersEnd','attachChange','isContent','createRange','element','_getChangeFromId','item','has','editor','_joinTapes','observeMarkers','attribute:vid','level','createRevision','_setDistance','_makeModelFromViewString','createRangeIn','low','isInline','filter','bottom','revision-suggestion:','showStack','children','editingDowncast','isRemoved','vid_start','getRevisionRootsAttributes','element:pre','newRevisionId','POSITIVE_INFINITY','_removeUnsupportedChanges','revision:','pairId'];_0x5a76=function(){return _0x3d5122;};return _0x5a76();}import{cloneDeep as _0x1d2dd9}from'lodash-es';const tt={'c':_0x22cdec,'a':_0x55a2ac,'e':_0x86d77b,'r':_0x4fc667,'u':_0x56da71};export default class d extends _0x5d41b8{static get[_0x500d49(0x184)](){const _0x115ff6=_0x500d49;return _0x115ff6(0x152);}static get[_0x500d49(0xf8)](){return[_0x480a79,_0x52589e,_0x24da2b];}constructor(_0x29425a){const _0x48ff75=_0x500d49;super(_0x29425a),this[_0x48ff75(0x137)]=this[_0x48ff75(0x168)][_0x48ff75(0x1ce)][_0x48ff75(0x147)](_0x48ff75(0x196)),this[_0x48ff75(0xa5)](_0x48ff75(0xdb),null),this[_0x48ff75(0xa5)](_0x48ff75(0x158),null),this[_0x48ff75(0xd0)]=null,this[_0x48ff75(0xa5)](_0x48ff75(0x13b),null),this[_0x48ff75(0xa5)](_0x48ff75(0x1d8),!0x1),this[_0x48ff75(0xa5)](_0x48ff75(0x1f0),!0x0),this['on'](_0x48ff75(0x118),(_0x348866,_0x46e568,_0x3da59e)=>{const _0x14b23e=_0x48ff75;this[_0x14b23e(0xdb)]=null,this[_0x14b23e(0x158)]=null,this[_0x14b23e(0x168)][_0x14b23e(0xe1)][_0x14b23e(0xec)][_0x14b23e(0x1bd)](_0x44ea9e=>{const _0x4f17c0=_0x14b23e;for(const _0x2cc748 of this[_0x4f17c0(0x168)][_0x4f17c0(0xe1)][_0x4f17c0(0xec)][_0x4f17c0(0x1ba)][_0x4f17c0(0x1d6)])_0x3da59e?_0x44ea9e[_0x4f17c0(0x148)](_0x4f17c0(0x106),_0x2cc748):_0x44ea9e[_0x4f17c0(0x189)](_0x4f17c0(0x106),_0x2cc748);});}),this[_0x48ff75(0x19b)](_0x48ff75(0x139))['to'](this,_0x48ff75(0xdb),_0x188534=>null!==_0x188534),this[_0x48ff75(0x19b)](_0x48ff75(0x1cb))['to'](this,_0x48ff75(0x1d8),this,_0x48ff75(0x13b),this,_0x48ff75(0xdb),(_0x5dd505,_0x5816ec,_0x1b1dea)=>_0x5dd505&&_0x1b1dea?_0x5816ec[_0x48ff75(0xd9)][_0x48ff75(0x199)](_0x1b1dea):0x0),this[_0x48ff75(0x19b)](_0x48ff75(0x193))['to'](this,_0x48ff75(0x1d8),this,_0x48ff75(0x13b),(_0x44c56a,_0x5c59c8)=>_0x44c56a?_0x5c59c8[_0x48ff75(0xd9)][_0x48ff75(0x110)]:0x0),this[_0x48ff75(0x129)]=null,this[_0x48ff75(0x1db)]=new Map(),this[_0x48ff75(0xd1)]=null,this[_0x48ff75(0x116)]=this[_0x48ff75(0x168)][_0x48ff75(0x1ce)][_0x48ff75(0x147)](_0x52589e);}[_0x500d49(0xaa)](){const _0x3f998c=_0x500d49,_0x3a402a=this[_0x3f998c(0x168)],_0x2bef74=new ShowChangeCommand(_0x3a402a,{'direction':_0x3f998c(0xea)}),_0x5acd93=new ShowChangeCommand(_0x3a402a,{'direction':_0x3f998c(0xf6)});(_0x3a402a[_0x3f998c(0x131)][_0x3f998c(0x1d0)](_0x3f998c(0xe4),_0x2bef74),_0x3a402a[_0x3f998c(0x131)][_0x3f998c(0x1d0)](_0x3f998c(0xc5),_0x5acd93),_0x3a402a[_0x3f998c(0x131)][_0x3f998c(0x1d0)](_0x3f998c(0xcc),new RestoreRevisionCommand(_0x3a402a)),this['on'](_0x3f998c(0x1b1),()=>{const _0x351ca0=_0x3f998c;_0x2bef74[_0x351ca0(0x1c9)](),_0x5acd93[_0x351ca0(0x1c9)]();}),this[_0x3f998c(0x1a9)](),this[_0x3f998c(0xe9)](),_0x3a402a[_0x3f998c(0x1ee)](_0x3f998c(0x15c)),_0x3a402a[_0x3f998c(0x1ce)][_0x3f998c(0x167)](_0x3f998c(0x18e)))&&_0x3a402a[_0x3f998c(0x1ce)][_0x3f998c(0x147)](_0x3f998c(0x18e))[_0x3f998c(0xf4)](_0x3f998c(0x15c));}async[_0x500d49(0x19e)](_0xf3e727){const _0x288286=_0x500d49;await this[_0x288286(0x1ec)](_0xf3e727);const _0x4e883f={};for(const _0x25dde6 in _0xf3e727[_0x288286(0xf2)]){if(_0xf3e727[_0x288286(0xf2)][_0x25dde6][_0x288286(0x161)]&&!_0xf3e727[_0x288286(0xf2)][_0x25dde6][_0x288286(0x161)][_0x288286(0x198)])continue;const _0x285e3c=this[_0x288286(0xca)](JSON[_0x288286(0x1c0)](_0xf3e727[_0x288286(0xf2)][_0x25dde6][_0x288286(0x105)])),_0x7e6a69=this[_0x288286(0x168)][_0x288286(0xe1)][_0x288286(0xec)][_0x288286(0x1ba)],_0x4040a3=new _0x53ac3b(_0x7e6a69,_0x285e3c[_0x288286(0x123)](_0x2ea73e=>this[_0x288286(0x11d)](_0x2ea73e)));this[_0x288286(0x168)][_0x288286(0x11f)][_0x288286(0x19c)][_0x288286(0x1b3)](_0x288286(0x156)),_0x4e883f[_0x25dde6]=this[_0x288286(0x168)][_0x288286(0x11f)][_0x288286(0x19c)][_0x288286(0x13a)](_0x4040a3),this[_0x288286(0x168)][_0x288286(0x11f)][_0x288286(0x19c)][_0x288286(0x1b3)](_0x288286(0x12c));}return _0x4e883f;}async[_0x500d49(0x17b)](_0x3a3a79){const _0x2fbdef=_0x500d49;await this[_0x2fbdef(0x1ec)](_0x3a3a79);const _0x27f842={};for(const _0x2d2f86 in _0x3a3a79[_0x2fbdef(0xf2)])_0x3a3a79[_0x2fbdef(0xf2)][_0x2d2f86][_0x2fbdef(0x161)]&&!_0x3a3a79[_0x2fbdef(0xf2)][_0x2d2f86][_0x2fbdef(0x161)][_0x2fbdef(0x198)]||(_0x27f842[_0x2d2f86]=_0x3a3a79[_0x2fbdef(0xf2)][_0x2d2f86][_0x2fbdef(0xc4)]||{});return _0x27f842;}[_0x500d49(0xca)](_0x20485e){const _0x3f8c4b=_0x500d49;return(_0x20485e=_0x20485e[_0x3f8c4b(0x173)](_0x45c339=>!_0x45c339[_0x3f8c4b(0x13d)]||_0x3f8c4b(0x1e7)!==_0x45c339[_0x3f8c4b(0x13d)]&&_0x3f8c4b(0x1a6)!==_0x45c339[_0x3f8c4b(0x13d)]))[_0x3f8c4b(0x159)](_0x86353d=>{const _0x45bbf7=_0x3f8c4b;_0x45bbf7(0x1a8)!=typeof _0x86353d&&(_0x86353d[_0x45bbf7(0x177)]=this[_0x45bbf7(0xca)](_0x86353d[_0x45bbf7(0x177)]),_0x86353d[_0x45bbf7(0xfd)]=_0x86353d[_0x45bbf7(0xfd)][_0x45bbf7(0x173)](_0x346c4b=>!_0x346c4b[0x0][_0x45bbf7(0xbd)](_0x45bbf7(0x13c))));}),_0x20485e;}async[_0x500d49(0x188)](_0x5bd8c4,_0xf5ba8a,_0x1804c=!0x1){const _0xb5772e=_0x500d49;if(!this[_0xb5772e(0x1f0)])return;const _0x5ad4ac=this[_0xb5772e(0x13b)],_0x25c76d=this[_0xb5772e(0x137)],_0x13e990=_0xb5772e(0x1a8)==typeof _0x5bd8c4?_0x25c76d[_0xb5772e(0xe2)](_0x5bd8c4):_0x5bd8c4,_0x4c961c=_0xb5772e(0x1a8)==typeof _0xf5ba8a?_0x25c76d[_0xb5772e(0xe2)](_0xf5ba8a):_0xf5ba8a,_0x4b49e2=_0x13e990['id'],_0x54137d=_0x4c961c?_0x4c961c['id']:null;if(!_0x1804c&&this[_0xb5772e(0x13b)]&&this[_0xb5772e(0x13b)][_0xb5772e(0x17d)]===_0x4b49e2&&this[_0xb5772e(0x13b)][_0xb5772e(0xcf)]===_0x54137d)return Promise[_0xb5772e(0x1d3)]();this[_0xb5772e(0x1d8)]=!0x1,this[_0xb5772e(0x158)]=null,this[_0xb5772e(0xdb)]=null,this[_0xb5772e(0x13b)]=new _0x59436a(_0x4b49e2,_0x54137d);const _0x2d4f3e=this[_0xb5772e(0x125)](_0x13e990,_0x4c961c,!0x0)[_0xb5772e(0x123)](_0x655a90=>this[_0xb5772e(0x1ec)](_0x655a90));return _0x2d4f3e[_0xb5772e(0x1bf)](new Promise(_0x672f12=>{setTimeout(_0x672f12,0x14);})),Promise[_0xb5772e(0x1d2)](_0x2d4f3e)[_0xb5772e(0x1df)](()=>{const _0xb97654=_0xb5772e;if(!this[_0xb97654(0x1f0)])return;this[_0xb97654(0x15f)]();const _0x56e256=this[_0xb97654(0xa3)](_0x4b49e2,_0x54137d);for(const _0x46490f of _0x56e256[_0xb97654(0xd9)])this[_0xb97654(0x1db)][_0xb97654(0xa5)](_0x46490f['id'],_0x46490f);this[_0xb97654(0x168)][_0xb97654(0x143)][_0xb97654(0x183)]({'isUndoable':!0x1},_0x52903b=>{const _0x1c47bf=_0xb97654;for(const _0x395371 of this[_0x1c47bf(0x168)][_0x1c47bf(0x143)][_0x1c47bf(0x1ba)][_0x1c47bf(0x138)]())_0x52903b[_0x1c47bf(0xb4)](_0x395371);for(const _0x3a3aef of Object[_0x1c47bf(0x103)](_0x56e256[_0x1c47bf(0x143)])){const _0x211abd=_0x52903b[_0x1c47bf(0xe3)](_0x3a3aef);for(const _0x445cfb of Object[_0x1c47bf(0x103)](_0x56e256[_0x1c47bf(0xfd)][_0x3a3aef]))_0x52903b[_0x1c47bf(0x1bc)](_0x445cfb,_0x56e256[_0x1c47bf(0xfd)][_0x3a3aef][_0x445cfb],_0x211abd);_0x52903b[_0x1c47bf(0x145)](_0x56e256[_0x1c47bf(0x143)][_0x3a3aef],_0x211abd,0x0);}}),this[_0xb97654(0x13b)][_0xb97654(0x154)](this[_0xb97654(0x1ab)](_0x56e256[_0xb97654(0xd9)])),this[_0xb97654(0x1d8)]=!0x0;})[_0xb5772e(0xd7)](_0x337ce3=>{const _0x23e4aa=_0xb5772e;console[_0x23e4aa(0xc6)](_0x337ce3),this[_0x23e4aa(0x15f)](),_0x5ad4ac&&(this[_0x23e4aa(0x13b)]=_0x5ad4ac),this[_0x23e4aa(0x1d8)]=!0x0;});}[_0x500d49(0x113)](_0x41dcf,_0x4b0295){const _0x497eb4=_0x500d49,_0xb2aaef=this[_0x497eb4(0x137)][_0x497eb4(0x16d)](_0x41dcf);return _0xb2aaef['on'](_0x497eb4(0x1ae),(_0x5893e6,_0x2603aa,_0x584538)=>_0x4b0295(_0x2603aa,_0x584538,_0xb2aaef)),this[_0x497eb4(0x137)][_0x497eb4(0x133)](_0xb2aaef),_0xb2aaef;}[_0x500d49(0x1ec)](_0x5228f2){const _0x2a5e54=_0x500d49;if(!_0x5228f2||_0x5228f2[_0x2a5e54(0xf2)])return Promise[_0x2a5e54(0x1d3)]();{const _0x35b914=this[_0x2a5e54(0x168)][_0x2a5e54(0x18c)][_0x2a5e54(0x147)](_0x2a5e54(0x1e5));return this[_0x2a5e54(0xd1)][_0x2a5e54(0xe2)]({'channelId':_0x35b914,'revisionId':_0x5228f2['id']})[_0x2a5e54(0x1df)](_0x525278=>{const _0x578770=_0x2a5e54;_0x5228f2[_0x578770(0x1ae)]({'diffData':_0x525278[_0x578770(0xf2)]},!0x0);});}}[_0x500d49(0x15f)](){const _0x31e05a=_0x500d49;this[_0x31e05a(0xdb)]=null,this[_0x31e05a(0xbc)](),this[_0x31e05a(0x129)]&&this[_0x31e05a(0x129)][_0x31e05a(0x1c7)](),this[_0x31e05a(0x129)]=null,this[_0x31e05a(0x1db)][_0x31e05a(0xda)](),this[_0x31e05a(0x168)][_0x31e05a(0x143)][_0x31e05a(0x183)]({'isUndoable':!0x1},_0x1728fe=>{const _0xd2bd65=_0x31e05a;for(const _0x49591c of this[_0xd2bd65(0x168)][_0xd2bd65(0x143)][_0xd2bd65(0x1ba)][_0xd2bd65(0x138)]())_0x1728fe[_0xd2bd65(0xb4)](_0x49591c);});}[_0x500d49(0x1ab)](_0x480400){const _0x4b383e=_0x500d49,_0x58ed94=[],_0x4dc25c=new Map();for(const _0x506d31 of this[_0x4b383e(0x168)][_0x4b383e(0x143)][_0x4b383e(0x1ba)][_0x4b383e(0x138)]()){const _0x1bdf35=this[_0x4b383e(0x168)][_0x4b383e(0xe1)][_0x4b383e(0xec)][_0x4b383e(0xf7)](_0x506d31);if(!_0x1bdf35)continue;const _0x2d2ab4=_0x1bdf35[_0x4b383e(0x1a7)]()[_0x4b383e(0x166)](0x0);_0x2d2ab4&&(_0x58ed94[_0x4b383e(0x1bf)](_0x506d31),_0x4dc25c[_0x4b383e(0xa5)](_0x506d31,_0x2d2ab4));}return _0x58ed94[_0x4b383e(0x1a0)]((_0x411978,_0x660da0)=>{const _0x2d332c=_0x4b383e,_0x424f22=_0x4dc25c[_0x2d332c(0x147)](_0x411978),_0x80028f=_0x4dc25c[_0x2d332c(0x147)](_0x660da0);return _0x424f22['y']-_0x80028f['y']||_0x424f22['x']-_0x80028f['x'];}),(_0x480400=_0x480400[_0x4b383e(0x173)](_0x3a890a=>_0x58ed94[_0x4b383e(0xa7)](_0x3a890a[_0x4b383e(0x1a5)])))[_0x4b383e(0x1a0)]((_0x1dba97,_0x37d4fb)=>_0x58ed94[_0x4b383e(0x185)](_0x1dba97[_0x4b383e(0x1a5)])-_0x58ed94[_0x4b383e(0x185)](_0x37d4fb[_0x4b383e(0x1a5)])),_0x480400;}[_0x500d49(0x190)](_0x3bc686){const _0x29d0f0=_0x500d49,_0x1697b9=Array[_0x29d0f0(0xfb)](_0x3bc686[_0x29d0f0(0x1be)])[_0x29d0f0(0x173)](([_0x1dc726,_0x23d800])=>_0x1dc726[_0x29d0f0(0xbd)](_0x29d0f0(0x180))&&!_0x23d800[_0x29d0f0(0x1e1)]),_0x53bc9e=Array[_0x29d0f0(0xfb)](this[_0x29d0f0(0x168)][_0x29d0f0(0x143)][_0x29d0f0(0x170)](_0x3bc686)[_0x29d0f0(0x12d)]({'singleCharacters':!0x0}));if(0x0!=_0x1697b9[_0x29d0f0(0x110)])for(const _0x1b3d9a of _0x53bc9e){const [_0x34e771,_0x3406dc]=_0x1697b9[0x0],[,_0x4f8c28,_0x2ed601]=_0x34e771[_0x29d0f0(0x111)](':');if(_0x3406dc[_0x29d0f0(0x149)][_0x29d0f0(0xc9)](_0x1b3d9a[_0x29d0f0(0x18d)])&&_0x1697b9[_0x29d0f0(0x1c4)](),(_0x1b3d9a[_0x29d0f0(0x1e2)][_0x29d0f0(0xc9)](_0x3406dc[_0x29d0f0(0x18b)])||_0x1b3d9a[_0x29d0f0(0x1e2)][_0x29d0f0(0x14a)](_0x3406dc[_0x29d0f0(0x18b)]))&&(_0x29d0f0(0x114)==_0x4f8c28?_0x1b3d9a[_0x29d0f0(0xdf)]={'userId':_0x2ed601}:_0x29d0f0(0xde)==_0x4f8c28&&(_0x1b3d9a[_0x29d0f0(0x179)]={'userId':_0x2ed601})),0x0==_0x1697b9[_0x29d0f0(0x110)])break;}return _0x53bc9e;}[_0x500d49(0xcb)](_0x473fc4){const _0xde5d2a=_0x500d49,_0x119458=new Map();for(let _0x379cce=0x0;_0x379cce<_0x473fc4[_0xde5d2a(0x110)];_0x379cce++)_0xde5d2a(0x136)===_0x473fc4[_0x379cce][_0xde5d2a(0x1d4)]?(_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0x182)]=_0x379cce,_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0xbe)]=_0x379cce):(_0xde5d2a(0x12e)===_0x473fc4[_0x379cce][_0xde5d2a(0x1d4)]?_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0x182)]=_0x379cce:_0xde5d2a(0xb3)===_0x473fc4[_0x379cce][_0xde5d2a(0x1d4)]&&(_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0xbe)]=_0x379cce),_0x119458[_0xde5d2a(0xa5)](_0x473fc4[_0x379cce]['id'],_0x379cce));for(const _0x394342 of _0x119458[_0xde5d2a(0x115)]())_0xde5d2a(0x12e)===_0x473fc4[_0x394342][_0xde5d2a(0x1d4)]?_0x473fc4[_0x394342][_0xde5d2a(0x166)][_0xde5d2a(0xbe)]=_0x119458[_0xde5d2a(0x147)](_0x473fc4[_0x394342][_0xde5d2a(0x181)]):_0xde5d2a(0xb3)===_0x473fc4[_0x394342][_0xde5d2a(0x1d4)]&&(_0x473fc4[_0x394342][_0xde5d2a(0x166)][_0xde5d2a(0x182)]=_0x119458[_0xde5d2a(0x147)](_0x473fc4[_0x394342][_0xde5d2a(0x181)]));}[_0x500d49(0x1b4)](_0xd7344a){const _0x46152=_0x500d49;for(let _0x228d47=0x0;_0x228d47<_0xd7344a[_0x46152(0x110)];_0x228d47++){if(_0x46152(0x12e)===_0xd7344a[_0x228d47][_0x46152(0x1d4)])_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0x182)]=_0x228d47;else{if(_0x46152(0xb3)===_0xd7344a[_0x228d47][_0x46152(0x1d4)]){_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0xbe)]=_0x228d47;const _0x219d49=_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0x182)];_0xd7344a[_0x219d49][_0x46152(0x181)]=_0xd7344a[_0x228d47]['id'],_0xd7344a[_0x228d47][_0x46152(0x181)]=_0xd7344a[_0x219d49]['id'];}else _0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0x182)]=_0x228d47,_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0xbe)]=_0x228d47,_0xd7344a[_0x228d47][_0x46152(0x181)]=null;}_0xd7344a[_0x228d47][_0x46152(0x144)]||(_0xd7344a[_0x228d47][_0x46152(0x144)]=[],_0xd7344a[_0x228d47][_0x46152(0x160)]=[]);}}[_0x500d49(0x124)](_0x2e2ab3,_0x378b3d){const _0x4f834b=_0x500d49,_0x4bce60=_0x2e2ab3[_0x4f834b(0x173)](_0x3fd5de=>!_0x3fd5de[_0x4f834b(0xdf)]);for(let _0x1ac07c=0x0;_0x1ac07c<_0x378b3d[_0x4f834b(0x110)];_0x1ac07c++)_0x378b3d[_0x1ac07c][_0x4f834b(0xdf)]&&(_0x4bce60[_0x1ac07c][_0x4f834b(0xdf)]=_0x378b3d[_0x1ac07c][_0x4f834b(0xdf)]);}[_0x500d49(0x16f)](_0x2c1df2){const _0x45a42f=_0x500d49,_0x823ead=JSON[_0x45a42f(0x1c0)](_0x2c1df2),_0x66192a=this[_0x45a42f(0x168)][_0x45a42f(0xe1)][_0x45a42f(0xec)][_0x45a42f(0x1ba)],_0xf3e71=new _0x53ac3b(_0x66192a,_0x823ead[_0x45a42f(0x123)](_0x87892b=>this[_0x45a42f(0x11d)](_0x87892b)));return this[_0x45a42f(0x168)][_0x45a42f(0x11f)][_0x45a42f(0x141)](_0xf3e71);}[_0x500d49(0x11d)](_0x15d251){const _0x48e3e4=_0x500d49,_0x5cb943=this[_0x48e3e4(0x168)][_0x48e3e4(0xe1)][_0x48e3e4(0xec)][_0x48e3e4(0x1ba)];if(_0x48e3e4(0x1a8)==typeof _0x15d251)return new _0xfee656(_0x5cb943,_0x15d251);{const _0x4e1e3e=_0x15d251[_0x48e3e4(0x177)][_0x48e3e4(0x123)](_0x45ef7e=>this[_0x48e3e4(0x11d)](_0x45ef7e));return new(tt[_0x15d251[(_0x48e3e4(0x1d4))]]||_0x3e5689)(_0x5cb943,_0x15d251[_0x48e3e4(0x13d)],_0x15d251[_0x48e3e4(0xfd)],_0x4e1e3e);}}[_0x500d49(0xa3)](_0x135805,_0x55b49b=null){const _0x154945=_0x500d49,_0x1112c8=this[_0x154945(0x137)][_0x154945(0xe2)](_0x135805),_0x488fec=_0x55b49b?this[_0x154945(0x137)][_0x154945(0xe2)](_0x55b49b):null,_0x40c12a=this[_0x154945(0x125)](_0x1112c8,_0x488fec),_0x21c3f5=_0x40c12a[_0x40c12a[_0x154945(0x110)]-0x1],_0x2fef91=new Map(),_0x558386={'model':{},'attributes':{},'changes':[]},_0x55f57f=new Set(),_0x5b07ed=new Map();for(let _0x43f30b=_0x40c12a[_0x154945(0x110)]-0x1;_0x43f30b>=0x0;_0x43f30b--){const _0x2222a2=_0x40c12a[_0x43f30b];for(const _0x3afe8d of Object[_0x154945(0x103)](_0x2222a2[_0x154945(0xf2)]))if(_0x2222a2[_0x154945(0xf2)][_0x3afe8d][_0x154945(0x161)]){const _0x5b72b8=_0x2222a2[_0x154945(0xf2)][_0x3afe8d][_0x154945(0x161)];_0x5b72b8[_0x154945(0x198)]?(_0x55f57f[_0x154945(0x1d0)](_0x3afe8d),_0x5b07ed[_0x154945(0x167)](_0x3afe8d)&&_0x5b07ed[_0x154945(0x147)](_0x3afe8d)[_0x154945(0x1da)]==_0x5b72b8[_0x154945(0x1da)]?_0x5b07ed[_0x154945(0xee)](_0x3afe8d):_0x5b07ed[_0x154945(0xa5)](_0x3afe8d,_0x5b72b8)):_0x5b07ed[_0x154945(0x167)](_0x3afe8d)?(_0x55f57f[_0x154945(0xee)](_0x3afe8d),_0x5b07ed[_0x154945(0xee)](_0x3afe8d)):(_0x55f57f[_0x154945(0x1d0)](_0x3afe8d),_0x5b07ed[_0x154945(0xa5)](_0x3afe8d,_0x5b72b8));}else _0x55f57f[_0x154945(0x1d0)](_0x3afe8d);}for(const _0x381a4d of _0x55f57f){const _0x9b934e=_0x5b07ed[_0x154945(0x167)](_0x381a4d)&&!_0x5b07ed[_0x154945(0x147)](_0x381a4d)[_0x154945(0x198)];let _0x54d55e=_0x9b934e?_0x40c12a[_0x154945(0x110)]-0x1:0x0;const _0x3536f9=_0x9b934e?-0x1:0x1;for(;_0x40c12a[_0x54d55e];){const _0x10dc33=_0x40c12a[_0x54d55e];if(_0x10dc33[_0x154945(0xf2)][_0x381a4d]){const _0x4e9657=_0x9b934e?_0x10dc33[_0x154945(0xf2)][_0x381a4d][_0x154945(0x153)]:_0x10dc33[_0x154945(0xf2)][_0x381a4d][_0x154945(0xc4)];_0x558386[_0x154945(0xfd)][_0x381a4d]=_0x4e9657?_0x1d2dd9(_0x4e9657):{};break;}_0x54d55e+=_0x3536f9;}}for(const _0x14d2fb of _0x40c12a){_0x14d2fb[_0x154945(0x143)]={};for(const _0x5f3263 of _0x14d2fb[_0x154945(0xb5)])_0x2fef91[_0x154945(0xa5)](_0x5f3263['id'],_0x5f3263);for(const _0x3e92a3 of _0x55f57f){const _0x7334ea=_0x14d2fb[_0x154945(0xf2)][_0x3e92a3]?_0x14d2fb[_0x154945(0xf2)][_0x3e92a3][_0x154945(0x105)]:'[]',_0x4ee5de=_0x14d2fb[_0x154945(0xf2)][_0x3e92a3]?_0x14d2fb[_0x154945(0xf2)][_0x3e92a3][_0x154945(0x1b7)]:'[]';_0x14d2fb[_0x154945(0x143)][_0x3e92a3]={'insertions':this[_0x154945(0x16f)](_0x7334ea),'deletions':this[_0x154945(0x16f)](_0x4ee5de)};}}for(const _0x3e6b46 of _0x55f57f){let _0x2cdf35=null,_0x285b6a=0x0;const _0x18cc62=new Map(Array[_0x154945(0xfb)](_0x1112c8[_0x154945(0x143)][_0x3e6b46][_0x154945(0x105)][_0x154945(0x1be)])[_0x154945(0x173)](([_0x4a2066])=>!_0x4a2066[_0x154945(0xbd)](_0x154945(0x180))));let _0x46bee7=0x0;for(const _0x3e2f17 of _0x40c12a){const _0x422f51=this[_0x154945(0x190)](_0x3e2f17[_0x154945(0x143)][_0x3e6b46][_0x154945(0x105)]);_0x3e2f17==_0x1112c8?(_0x2cdf35=_0x422f51,_0x285b6a=_0x2cdf35[_0x154945(0x110)],_0x2cdf35[_0x154945(0x159)](_0x350dd6=>{_0x350dd6['id']=_0x46bee7++;}),this[_0x154945(0x1b4)](_0x2cdf35)):this[_0x154945(0x124)](_0x2cdf35,_0x422f51);const _0x567379=_0x2cdf35[_0x154945(0x173)](_0x3ce65a=>!_0x3ce65a[_0x154945(0xdf)])[_0x154945(0x123)](_0x563980=>_0x563980['id']);let _0x614c24=0x0;const _0x3f7a8b=this[_0x154945(0x190)](_0x3e2f17[_0x154945(0x143)][_0x3e6b46][_0x154945(0x1b7)]);_0x3f7a8b[_0x154945(0x159)](_0x474e24=>{const _0x3c8956=_0x154945;_0x474e24[_0x3c8956(0x179)]?_0x474e24['id']=_0x285b6a++:_0x474e24['id']=_0x567379[_0x614c24++];}),this[_0x154945(0x1b4)](_0x3f7a8b),this[_0x154945(0x16e)](_0x2cdf35,_0x154945(0xdf)),this[_0x154945(0x16e)](_0x3f7a8b,_0x154945(0x179)),_0x3e2f17==_0x1112c8&&this[_0x154945(0x109)](_0x2cdf35,_0x18cc62),_0x2cdf35=this[_0x154945(0x169)](_0x2cdf35,_0x3f7a8b),this[_0x154945(0xcb)](_0x2cdf35),this[_0x154945(0x16e)](_0x2cdf35,_0x154945(0x179));}_0x2cdf35=_0x2cdf35[_0x154945(0x173)](_0x29c0f3=>!(_0x29c0f3[_0x154945(0xdf)]&&_0x29c0f3[_0x154945(0x179)]));const _0xb4bfa7=new Map(_0x21c3f5[_0x154945(0x143)][_0x3e6b46][_0x154945(0x1b7)][_0x154945(0x1be)]),_0x43cf99=new Set(_0x18cc62[_0x154945(0x103)]());for(const _0x543a1d of _0xb4bfa7[_0x154945(0x103)]())_0x43cf99[_0x154945(0xee)](_0x543a1d);this[_0x154945(0x13e)](_0x2cdf35,_0x43cf99),this[_0x154945(0x19a)](_0x2cdf35),_0x2cdf35=this[_0x154945(0xf9)](_0x2cdf35),_0x2cdf35=this[_0x154945(0xce)](_0x2cdf35),_0x2cdf35=this[_0x154945(0x17f)](_0x2cdf35);const {root:_0x4a7b4c,changes:_0x2938a5}=this[_0x154945(0x14e)](_0x2cdf35,_0x2fef91,_0x3e6b46);_0x558386[_0x154945(0x143)][_0x3e6b46]=_0x4a7b4c;const _0x312cad=_0x5b07ed[_0x154945(0x147)](_0x3e6b46);if(_0x312cad){const _0x21982f=_0x2fef91[_0x154945(0x147)](_0x312cad[_0x154945(0x1da)]),_0x299bd4=new _0x47f120({'author':_0x21982f,'type':_0x312cad[_0x154945(0x198)]?_0x154945(0x1d0):_0x154945(0x12a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3e6b46});_0x2938a5[_0x154945(0x135)](_0x299bd4),_0x558386[_0x154945(0xfd)][_0x3e6b46][_0x154945(0x101)]=_0x299bd4['id'];}_0x558386[_0x154945(0xd9)]=_0x558386[_0x154945(0xd9)][_0x154945(0xff)](_0x2938a5);}return _0x558386;}[_0x500d49(0x109)](_0x4ea687,_0x43666f){const _0x474a84=_0x500d49;for(let _0x3ec850=0x0;_0x3ec850<_0x4ea687[_0x474a84(0x110)];_0x3ec850++)for(const [_0x1f19af,_0x14aae3]of _0x43666f)_0x14aae3[_0x474a84(0x18b)][_0x474a84(0xc9)](_0x4ea687[_0x3ec850][_0x474a84(0x1e2)])&&_0x4ea687[_0x3ec850][_0x474a84(0x144)][_0x474a84(0x1bf)](_0x1f19af),_0x14aae3[_0x474a84(0x149)][_0x474a84(0xc9)](_0x4ea687[_0x3ec850][_0x474a84(0x18d)])&&_0x4ea687[_0x3ec850][_0x474a84(0x160)][_0x474a84(0x1bf)](_0x1f19af);}[_0x500d49(0x169)](_0x227550,_0x39d275){const _0xb6f45a=_0x500d49;let _0x124737=[],_0x1f2337=0x0,_0x36f2ab=0x0;for(;_0x1f2337<_0x227550[_0xb6f45a(0x110)]||_0x36f2ab<_0x39d275[_0xb6f45a(0x110)];){const _0x111b37=_0x227550[_0x1f2337]||{},_0x78efc9=_0x39d275[_0x36f2ab]||{};if(_0x111b37['id']==_0x78efc9['id'])_0x1f2337++,_0x36f2ab++,_0x124737[_0xb6f45a(0x1bf)](_0x111b37);else{if(_0x78efc9[_0xb6f45a(0x179)]&&_0x111b37[_0xb6f45a(0xdf)]){const {commonTape:_0xf6c6ac,iEnd:_0xbac9a3,jEnd:_0x252116}=this[_0xb6f45a(0xf5)](_0x227550,_0x1f2337,_0x39d275,_0x36f2ab);_0x124737=_0x124737[_0xb6f45a(0xff)](_0xf6c6ac),_0x1f2337=_0xbac9a3,_0x36f2ab=_0x252116;}else _0x78efc9[_0xb6f45a(0x179)]?(_0x36f2ab++,_0x124737[_0xb6f45a(0x1bf)](_0x78efc9)):(_0x1f2337++,_0x124737[_0xb6f45a(0x1bf)](_0x111b37));}}return _0x124737;}[_0x500d49(0x13e)](_0x2430e3,_0x59282f){const _0x21bbf4=_0x500d49,_0x1246b9=[];for(let _0x85f133=0x0;_0x85f133<_0x2430e3[_0x21bbf4(0x110)];_0x85f133++){for(let _0x1bb9e9=0x0;_0x1bb9e9<_0x2430e3[_0x85f133][_0x21bbf4(0x144)][_0x21bbf4(0x110)];_0x1bb9e9++){const _0x466bc4=_0x2430e3[_0x85f133][_0x21bbf4(0x144)][_0x1bb9e9];if(!_0x59282f[_0x21bbf4(0x167)](_0x466bc4))continue;const {group:_0x438e66,type:_0x4d9ef7,authorId:_0x499dca}=_0x5c78bf(_0x466bc4);_0x21bbf4(0x1d7)!=_0x438e66||_0x21bbf4(0x114)!=_0x4d9ef7&&_0x21bbf4(0xde)!=_0x4d9ef7||(_0x1246b9[_0x21bbf4(0x135)]({'type':_0x4d9ef7,'name':_0x466bc4,'userId':_0x499dca}),_0x2430e3[_0x85f133][_0x21bbf4(0x144)][_0x21bbf4(0xa2)](_0x1bb9e9,0x1),_0x1bb9e9--);}_0x55dffa(_0x2430e3[_0x85f133]);for(let _0x8ad084=0x0;_0x8ad084<_0x2430e3[_0x85f133][_0x21bbf4(0x160)][_0x21bbf4(0x110)];_0x8ad084++){const _0x37466c=_0x2430e3[_0x85f133][_0x21bbf4(0x160)][_0x8ad084];if(!_0x59282f[_0x21bbf4(0x167)](_0x37466c))continue;const {group:_0x250707,type:_0x5589cd}=_0x5c78bf(_0x37466c);if(_0x21bbf4(0x1d7)!=_0x250707||_0x21bbf4(0x114)!=_0x5589cd&&_0x21bbf4(0xde)!=_0x5589cd)continue;_0x2430e3[_0x85f133][_0x21bbf4(0x160)][_0x21bbf4(0xa2)](_0x8ad084,0x1),_0x8ad084--;const _0x59dfa6=_0x1246b9[_0x21bbf4(0x15a)](_0x23419f=>_0x23419f[_0x21bbf4(0x13d)]==_0x37466c);_0x59dfa6>-0x1&&_0x1246b9[_0x21bbf4(0xa2)](_0x59dfa6,0x1);}}function _0x5c78bf(_0x59ef6f){const _0xbb1a03=_0x21bbf4,_0x58849d=_0x59ef6f[_0xbb1a03(0x111)](':');return{'group':_0x58849d[0x0],'type':_0x58849d[0x1],'subType':_0x58849d[_0xbb1a03(0x110)]>=0x5?_0x58849d[0x2]:null,'id':_0x58849d[_0xbb1a03(0x110)]<0x5?_0x58849d[0x2]:_0x58849d[0x3],'authorId':_0x58849d[_0xbb1a03(0x110)]<0x5?_0x58849d[0x3]:_0x58849d[0x4],'markerCount':0x6==_0x58849d[_0xbb1a03(0x110)]?_0x58849d[0x5]:null};}function _0x55dffa(_0x336fc1){const _0x24bc85=_0x21bbf4;for(let _0x17f9ca=0x0;_0x17f9ca<_0x1246b9[_0x24bc85(0x110)];_0x17f9ca++){if(_0x336fc1[_0x24bc85(0xdf)]&&_0x24bc85(0x114)==_0x1246b9[_0x17f9ca][_0x24bc85(0x1d4)])return _0x336fc1[_0x24bc85(0x1a4)]=_0x1246b9[_0x17f9ca],void delete _0x336fc1[_0x24bc85(0xdf)];if(!_0x336fc1[_0x24bc85(0xdf)]&&!_0x336fc1[_0x24bc85(0x179)]&&_0x24bc85(0xde)==_0x1246b9[_0x17f9ca][_0x24bc85(0x1d4)])return void(_0x336fc1[_0x24bc85(0x1a2)]=_0x1246b9[_0x17f9ca]);}}}[_0x500d49(0x16e)](_0x247692,_0x142d76){const _0x3bc1b4=_0x500d49;let _0x3b75e6=0x0,_0x430f5e=!0x1;const _0x34dac7=new Map();for(const _0x5f185c of _0x247692)_0x5f185c[_0x142d76]?_0x430f5e&&(_0x3b75e6++,_0x430f5e=!0x1):(_0x3b75e6++,_0x430f5e=!0x0),_0x34dac7[_0x3bc1b4(0xa5)](_0x5f185c['id'],_0x3b75e6);for(let _0x309c6d=0x0;_0x309c6d<_0x247692[_0x3bc1b4(0x110)];_0x309c6d++){if(_0x3bc1b4(0x179)==_0x142d76&&_0x247692[_0x309c6d][_0x3bc1b4(0xdf)]||_0x3bc1b4(0xdf)==_0x142d76&&_0x247692[_0x309c6d][_0x3bc1b4(0x179)])continue;if(_0x3bc1b4(0x136)==_0x247692[_0x309c6d][_0x3bc1b4(0x1d4)]){_0x247692[_0x309c6d][_0x3bc1b4(0x15d)]=0x0;continue;}const _0x42e956=_0x34dac7[_0x3bc1b4(0x147)](_0x247692[_0x309c6d][_0x3bc1b4(0x181)]),_0x1f20c1=_0x34dac7[_0x3bc1b4(0x147)](_0x247692[_0x309c6d]['id']);_0x247692[_0x309c6d][_0x3bc1b4(0x15d)]=_0x42e956-_0x1f20c1;}}[_0x500d49(0x125)](_0x4b27a8,_0xa7f22,_0x4d6ba1=!0x1){const _0x14db23=_0x500d49,_0x243f41=[];let _0x1ece6a=this[_0x14db23(0x137)][_0x14db23(0x199)](_0x4b27a8),_0x5c3f21=this[_0x14db23(0x137)][_0x14db23(0x199)](_0xa7f22);for(-0x1==_0x5c3f21&&(_0x5c3f21=this[_0x14db23(0x137)][_0x14db23(0x19f)][_0x14db23(0x110)],_0x4d6ba1=!0x1);_0x1ece6a<_0x5c3f21;)_0x243f41[_0x14db23(0x1bf)](this[_0x14db23(0x137)][_0x14db23(0xe2)](_0x1ece6a)),_0x1ece6a++;return _0x4d6ba1&&_0x243f41[_0x14db23(0x1bf)](this[_0x14db23(0x137)][_0x14db23(0xe2)](_0x1ece6a)),_0x243f41;}[_0x500d49(0xf5)](_0x2cb8cd,_0x128e54,_0x5916ad,_0x287a26){const _0x470da1=_0x500d49,_0x2bd6ae=this[_0x470da1(0x168)][_0x470da1(0x143)][_0x470da1(0xf3)];let _0x3a92df=_0x128e54;for(;_0x2cb8cd[_0x3a92df]&&_0x2cb8cd[_0x3a92df][_0x470da1(0xdf)];)_0x3a92df++;let _0x4fc1a3=_0x287a26;for(;_0x5916ad[_0x4fc1a3]&&_0x5916ad[_0x4fc1a3][_0x470da1(0x179)];)_0x4fc1a3++;_0x308ea9(_0x2cb8cd,_0x128e54,_0x3a92df),_0x308ea9(_0x5916ad,_0x287a26,_0x4fc1a3);const _0x1b71b1=_0x5916ad[_0x470da1(0x186)](_0x287a26,_0x4fc1a3)[_0x470da1(0xff)](_0x2cb8cd[_0x470da1(0x186)](_0x128e54,_0x3a92df));return _0x1b71b1[_0x470da1(0x1a0)]((_0x1afcac,_0xe632b6)=>_0x1afcac[_0x470da1(0xc1)]!=_0xe632b6[_0x470da1(0xc1)]?_0x1afcac[_0x470da1(0xc1)]-_0xe632b6[_0x470da1(0xc1)]:_0x1afcac[_0x470da1(0x16c)]!=_0xe632b6[_0x470da1(0x16c)]?_0x1afcac[_0x470da1(0x16c)]-_0xe632b6[_0x470da1(0x16c)]:_0x1afcac[_0x470da1(0x15d)]!=_0xe632b6[_0x470da1(0x15d)]?_0xe632b6[_0x470da1(0x15d)]-_0x1afcac[_0x470da1(0x15d)]:!!_0x1afcac[_0x470da1(0xdf)]!=!!_0xe632b6[_0x470da1(0xdf)]?-0x1==_0x1afcac[_0x470da1(0xc1)]||0x0==_0x1afcac[_0x470da1(0xc1)]?_0x1afcac[_0x470da1(0xdf)]?-0x1:0x1:_0x1afcac[_0x470da1(0xdf)]?0x1:-0x1:_0x1afcac[_0x470da1(0xc3)]-_0xe632b6[_0x470da1(0xc3)]),{'commonTape':_0x1b71b1,'iEnd':_0x3a92df,'jEnd':_0x4fc1a3};function _0x308ea9(_0x2ebf3d,_0x22cc57,_0x5be066){const _0x9c6e29=_0x470da1;let _0x1bf585=-0x1,_0x1e9222=Number[_0x9c6e29(0x17e)],_0x5f3a93=!0x0;for(let _0x3811db=_0x22cc57;_0x3811db<_0x5be066;_0x3811db++)if(_0x2bd6ae[_0x9c6e29(0x172)](_0x2ebf3d[_0x3811db][_0x9c6e29(0x166)])||(_0x5f3a93=!0x1),_0x2ebf3d[_0x3811db][_0x9c6e29(0x166)][_0x9c6e29(0x182)]<_0x22cc57&&(_0x1bf585=_0x3811db),_0x2ebf3d[_0x3811db][_0x9c6e29(0x166)][_0x9c6e29(0xbe)]>=_0x5be066){_0x1e9222=_0x3811db;break;}_0x5f3a93&&(_0x1bf585=_0x5be066-0x1);for(let _0x377b50=_0x22cc57;_0x377b50<_0x5be066;_0x377b50++)_0x2ebf3d[_0x377b50][_0x9c6e29(0xc1)]=_0x377b50<=_0x1bf585?-0x1:_0x377b50<_0x1e9222?0x0:0x1,_0x2ebf3d[_0x377b50][_0x9c6e29(0xc3)]=_0x377b50;let _0x1d2cac=0x0;for(let _0x52b32f=_0x22cc57;_0x52b32f<=_0x1bf585;_0x52b32f++)0x0==_0x2ebf3d[_0x52b32f][_0x9c6e29(0x15d)]?_0x2ebf3d[_0x52b32f][_0x9c6e29(0x16c)]=_0x1d2cac:(_0x1d2cac++,_0x2ebf3d[_0x52b32f][_0x9c6e29(0x16c)]=_0x1d2cac,_0x1d2cac++);for(let _0x1c646a=_0x22cc57;_0x1c646a<_0x5be066;_0x1c646a++)0x0==_0x2ebf3d[_0x1c646a][_0x9c6e29(0xc1)]&&(_0x2ebf3d[_0x1c646a][_0x9c6e29(0x16c)]=_0x1d2cac);_0x1d2cac=0x0;for(let _0x4f0ebb=_0x5be066-0x1;_0x4f0ebb>=_0x1e9222;_0x4f0ebb--)0x0==_0x2ebf3d[_0x4f0ebb][_0x9c6e29(0x15d)]?_0x2ebf3d[_0x4f0ebb][_0x9c6e29(0x16c)]=_0x1d2cac:(_0x1d2cac--,_0x2ebf3d[_0x4f0ebb][_0x9c6e29(0x16c)]=_0x1d2cac,_0x1d2cac--);}}[_0x500d49(0x19a)](_0x967399){const _0x47c83a=_0x500d49,_0x35f5b0=new Map(),_0x5dff5e=this[_0x47c83a(0x168)][_0x47c83a(0x143)][_0x47c83a(0xf3)];for(let _0x704bdb=0x1;_0x704bdb<_0x967399[_0x47c83a(0x110)];_0x704bdb++){let _0x54c487,_0x4bceaf,_0x35a1b3;const _0x37890b=_0x967399[_0x704bdb],_0x4e567c=_0x967399[_0x704bdb-0x1];if(_0x47c83a(0x136)==_0x37890b[_0x47c83a(0x1d4)])continue;if(_0x37890b[_0x47c83a(0x1d4)]!=_0x4e567c[_0x47c83a(0x1d4)])continue;if(!_0x5dff5e[_0x47c83a(0x12b)](_0x4e567c[_0x47c83a(0x166)])||_0x5dff5e[_0x47c83a(0x1c8)](_0x4e567c[_0x47c83a(0x166)]))continue;if(!_0x5dff5e[_0x47c83a(0x12b)](_0x37890b[_0x47c83a(0x166)])||_0x5dff5e[_0x47c83a(0x1c8)](_0x37890b[_0x47c83a(0x166)]))continue;if((_0x967399[_0x704bdb][_0x47c83a(0xdf)]||_0x967399[_0x704bdb][_0x47c83a(0x1a4)])&&_0x967399[_0x704bdb-0x1][_0x47c83a(0x179)])_0x54c487=_0x967399[_0x704bdb],_0x4bceaf=_0x967399[_0x704bdb-0x1],_0x35a1b3=_0x704bdb-0x1;else{if(!_0x967399[_0x704bdb][_0x47c83a(0x179)]||!_0x967399[_0x704bdb-0x1][_0x47c83a(0xdf)]&&!_0x967399[_0x704bdb-0x1][_0x47c83a(0x1a4)])continue;_0x54c487=_0x967399[_0x704bdb-0x1],_0x4bceaf=_0x967399[_0x704bdb],_0x35a1b3=_0x704bdb;}const _0x1ab37b=_0x54c487[_0x47c83a(0x16c)]==_0x4bceaf[_0x47c83a(0x16c)],_0x54c294=Math[_0x47c83a(0x197)](_0x54c487[_0x47c83a(0x16c)])<Math[_0x47c83a(0x197)](_0x4bceaf[_0x47c83a(0x16c)])&&0x0==_0x4bceaf[_0x47c83a(0x15d)];(_0x1ab37b||_0x54c294)&&(_0x35f5b0[_0x47c83a(0xa5)](_0x4bceaf['id'],_0x54c487['id']),_0x967399[_0x47c83a(0xa2)](_0x35a1b3,0x1),_0x704bdb--,_0x54c487[_0x47c83a(0xdf)]=!0x1);}for(let _0x5bdc69=0x0;_0x5bdc69<_0x967399[_0x47c83a(0x110)];_0x5bdc69++)_0x35f5b0[_0x47c83a(0x167)](_0x967399[_0x5bdc69][_0x47c83a(0x181)])&&(_0x967399[_0x5bdc69][_0x47c83a(0x181)]=_0x35f5b0[_0x47c83a(0x147)](_0x967399[_0x5bdc69][_0x47c83a(0x181)]));}[_0x500d49(0xf9)](_0x587828){const _0x5d6d14=_0x500d49,_0x2b476b=new Set(_0x587828[_0x5d6d14(0x123)](_0xb7ee3b=>_0xb7ee3b['id']));for(let _0x359e57=0x0;_0x359e57<_0x587828[_0x5d6d14(0x110)];_0x359e57++)_0x2b476b[_0x5d6d14(0x167)](_0x587828[_0x359e57][_0x5d6d14(0x181)])||0x0==_0x587828[_0x359e57][_0x5d6d14(0x15d)]||(_0x587828[_0x359e57][_0x5d6d14(0x1c6)]=!0x0);return _0x587828[_0x5d6d14(0x173)](_0x3588a6=>!_0x3588a6[_0x5d6d14(0x1c6)]);}[_0x500d49(0xce)](_0x502473){const _0x424927=_0x500d49,_0x4f5239=new Set();for(let _0x2b524c=0x0;_0x2b524c<_0x502473[_0x424927(0x110)];_0x2b524c++){if(_0x4f5239[_0x424927(0x167)](_0x502473[_0x2b524c]['id'])&&_0x502473[_0x2b524c][_0x424927(0x179)]&&(_0x502473[_0x2b524c][_0x424927(0x1c6)]=!0x0),_0x502473[_0x2b524c][_0x424927(0x1c6)])continue;if(0x0==_0x502473[_0x2b524c][_0x424927(0x15d)])continue;if(_0x424927(0x12e)!=_0x502473[_0x2b524c][_0x424927(0x1d4)])continue;if(null==_0x502473[_0x2b524c][_0x424927(0x181)])continue;let _0x35fa7e=_0x2b524c+0x1,_0xed2677=0x0;for(;_0x502473[_0x35fa7e]['id']!=_0x502473[_0x2b524c][_0x424927(0x181)];)_0x424927(0x12e)==_0x502473[_0x35fa7e][_0x424927(0x1d4)]?_0xed2677++:_0x424927(0xb3)==_0x502473[_0x35fa7e][_0x424927(0x1d4)]&&_0xed2677--,_0x35fa7e++;if(0x0!=_0xed2677){if(_0x502473[_0x2b524c][_0x424927(0x179)])_0x502473[_0x2b524c][_0x424927(0x1c6)]=!0x0;else{for(;_0x35fa7e!=_0x2b524c;)_0x502473[_0x35fa7e][_0x424927(0x179)]&&0x0!=_0x502473[_0x35fa7e][_0x424927(0x15d)]&&(_0x502473[_0x35fa7e][_0x424927(0x1c6)]=!0x0,_0x4f5239[_0x424927(0x1d0)](_0x502473[_0x35fa7e][_0x424927(0x181)])),_0x35fa7e--;}}}return _0x502473[_0x424927(0x173)](_0x596b24=>!_0x596b24[_0x424927(0x1c6)]);}[_0x500d49(0x17f)](_0x4cc47c){const _0x237e46=_0x500d49,_0x233773=this[_0x237e46(0x168)][_0x237e46(0x143)][_0x237e46(0xf3)];for(let _0x42d922=0x0;_0x42d922<_0x4cc47c[_0x237e46(0x110)];_0x42d922++){if(!(_0x4cc47c[_0x42d922][_0x237e46(0xdf)]||_0x4cc47c[_0x42d922][_0x237e46(0x1a4)]||_0x4cc47c[_0x42d922][_0x237e46(0x179)]||_0x4cc47c[_0x42d922][_0x237e46(0x1a2)]))continue;if(0x0==_0x4cc47c[_0x42d922][_0x237e46(0x15d)])continue;const _0x261a5c=_0x4cc47c[_0x42d922][_0x237e46(0x166)];_0x233773[_0x237e46(0x12b)](_0x261a5c)||_0x233773[_0x237e46(0x1c8)](_0x261a5c)||(_0x4cc47c[_0x42d922][_0x237e46(0xdf)]&&delete _0x4cc47c[_0x42d922][_0x237e46(0xdf)],_0x4cc47c[_0x42d922][_0x237e46(0x1a4)]&&delete _0x4cc47c[_0x42d922][_0x237e46(0x1a4)],_0x4cc47c[_0x42d922][_0x237e46(0x1a2)]&&delete _0x4cc47c[_0x42d922][_0x237e46(0x1a2)],_0x4cc47c[_0x42d922][_0x237e46(0x179)]&&(_0x4cc47c[_0x42d922][_0x237e46(0x1c6)]=!0x0));}return _0x4cc47c[_0x237e46(0x173)](_0x58b3f7=>!_0x58b3f7[_0x237e46(0x1c6)]);}[_0x500d49(0x14e)](_0x2d24a5,_0x1ef3bf,_0x5413a3){const _0xaf7e3c=_0x500d49,_0x5a8ef3=new _0x3c1726(),_0x5281ac=[],_0x10d79f=new Map(),_0x3d45b3=this[_0xaf7e3c(0x168)][_0xaf7e3c(0x143)],_0x4813ce=_0x3d45b3[_0xaf7e3c(0xf3)],_0x5de8d2=[_0x5a8ef3],_0x205d70={},_0xbbb58c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x340dcc=null;const _0x167e1d=[0x0];for(let _0xaa3cad=0x0;_0xaa3cad<_0x2d24a5[_0xaf7e3c(0x110)];_0xaa3cad++){let _0x14d123,_0xfd961e;if(_0xaf7e3c(0x12e)===_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x1d4)]){_0x14d123=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d);const _0x143174=new _0x3861fc(_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x13d)],_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x1ea)]());_0x5de8d2[0x0][_0xaf7e3c(0xa6)](_0x143174),_0x167e1d[_0xaf7e3c(0x1bf)](0x0),_0x5de8d2[_0xaf7e3c(0x135)](_0x143174),_0xfd961e=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x340dcc=null;}else{if(_0xaf7e3c(0xb3)===_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x1d4)])_0x5de8d2[_0xaf7e3c(0x1c4)](),_0x14d123=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x167e1d[_0xaf7e3c(0xb7)](),_0x167e1d[_0x167e1d[_0xaf7e3c(0x110)]-0x1]++,_0xfd961e=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x340dcc=null;else{if(_0x14d123=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x340dcc&&_0x5f36b9(_0x340dcc,_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)]))_0x340dcc[_0xaf7e3c(0x187)]+=_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x11f)];else{const _0x5c00d4=new _0x279c66(_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x11f)],_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x1ea)]());_0x5de8d2[0x0][_0xaf7e3c(0xa6)](_0x5c00d4),_0x340dcc=_0x5c00d4;}_0x167e1d[_0x167e1d[_0xaf7e3c(0x110)]-0x1]+=_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x1e6)],_0xfd961e=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d);}}for(const _0x5aee20 of _0x2d24a5[_0xaa3cad][_0xaf7e3c(0x144)])_0x10d79f[_0xaf7e3c(0xa5)](_0x5aee20,{'start':_0x14d123,'end':null});_0x24d203(_0xaf7e3c(0x1a2),_0xaa3cad,_0x14d123,_0xfd961e),_0x24d203(_0xaf7e3c(0x1a4),_0xaa3cad,_0x14d123,_0xfd961e),_0x24d203(_0xaf7e3c(0x179),_0xaa3cad,_0x14d123,_0xfd961e),_0x24d203(_0xaf7e3c(0xdf),_0xaa3cad,_0x14d123,_0xfd961e);for(const _0x2bc528 of _0x2d24a5[_0xaa3cad][_0xaf7e3c(0x160)]){_0x10d79f[_0xaf7e3c(0x147)](_0x2bc528)[_0xaf7e3c(0x149)]=_0xfd961e;}}for(const [_0x27dec5,_0x4346d5]of _0x10d79f){const _0x1cc43d=this[_0xaf7e3c(0x168)][_0xaf7e3c(0x143)][_0xaf7e3c(0x163)](_0x4346d5[_0xaf7e3c(0x18b)],_0x4346d5[_0xaf7e3c(0x149)]);_0x5a8ef3[_0xaf7e3c(0x1be)][_0xaf7e3c(0xa5)](_0x27dec5,_0x1cc43d);}return _0x5281ac[_0xaf7e3c(0x1a0)]((_0x1e9b8c,_0x4f39c7)=>{const _0x2873f4=_0xaf7e3c,_0x2ece73=_0x5a8ef3[_0x2873f4(0x1be)][_0x2873f4(0x147)](_0x2873f4(0x180)+_0x1e9b8c['id']),_0x193f8e=_0x5a8ef3[_0x2873f4(0x1be)][_0x2873f4(0x147)](_0x2873f4(0x180)+_0x4f39c7['id']);return _0x2ece73[_0x2873f4(0x18b)][_0x2873f4(0xc0)](_0x193f8e[_0x2873f4(0x18b)])?-0x1:_0x2ece73[_0x2873f4(0x18b)][_0x2873f4(0x14a)](_0x193f8e[_0x2873f4(0x18b)])?0x1:_0x2ece73[_0x2873f4(0x149)][_0x2873f4(0xc0)](_0x193f8e[_0x2873f4(0x149)])?-0x1:_0x2ece73[_0x2873f4(0x149)][_0x2873f4(0x14a)](_0x193f8e[_0x2873f4(0x149)])?0x1:_0x2873f4(0x1d0)===_0x1e9b8c[_0x2873f4(0x1d4)]?-0x1:0x1;}),{'root':_0x5a8ef3,'changes':_0x5281ac};function _0x24d203(_0x41e828,_0x5a8e08,_0x4a1ee5,_0x4e8a53){const _0x378478=_0xaf7e3c,_0x3052e9=!!_0x2d24a5[_0x5a8e08][_0x41e828],_0x474a32=_0x3052e9?_0x2d24a5[_0x5a8e08][_0x41e828][_0x378478(0x1da)]:null,_0x1bb40a=_0x5a8e08===_0x2d24a5[_0x378478(0x110)]-0x1,_0x12f1a5=_0xbbb58c[_0x41e828][0x0],_0x1c3f02=_0x4813ce[_0x378478(0x1ca)](_0x2d24a5[_0x5a8e08][_0x378478(0x166)]);!_0x205d70[_0x41e828]&&_0x3052e9?_0x205d70[_0x41e828]={'start':_0x4a1ee5,'tapeItem':_0x2d24a5[_0x5a8e08],'userId':_0x474a32,'type':_0x41e828}:_0x205d70[_0x41e828]&&!_0x3052e9?(_0x205d70[_0x41e828][_0x378478(0x149)]=_0x4a1ee5,_0x132f19(_0x205d70[_0x41e828]),_0x205d70[_0x41e828]=null):_0x205d70[_0x41e828]&&_0x3052e9&&_0x205d70[_0x41e828][_0x378478(0x1da)]!==_0x474a32&&(_0x205d70[_0x41e828][_0x378478(0x149)]=_0x4a1ee5,_0x12f1a5&&_0x12f1a5[_0x378478(0x1da)]===_0x205d70[_0x41e828][_0x378478(0x1da)]||_0x132f19(_0x205d70[_0x41e828]),_0x205d70[_0x41e828]={'start':_0x4a1ee5,'tapeItem':_0x2d24a5[_0x5a8e08],'userId':_0x474a32,'type':_0x41e828}),_0x205d70[_0x41e828]&&_0x1c3f02&&(_0x378478(0x12e)!==_0x2d24a5[_0x5a8e08][_0x378478(0x1d4)]||_0x12f1a5&&_0x12f1a5[_0x378478(0x1da)]===_0x474a32||_0xbbb58c[_0x41e828][_0x378478(0x135)]({'userId':_0x474a32,'object':_0x2d24a5[_0x5a8e08][_0x378478(0x166)],'change':_0x205d70[_0x41e828]}),_0x378478(0xb3)===_0x2d24a5[_0x5a8e08][_0x378478(0x1d4)]&&_0x12f1a5&&_0x12f1a5[_0x378478(0x1e9)]===_0x2d24a5[_0x5a8e08][_0x378478(0x166)]&&(_0xbbb58c[_0x41e828][_0x378478(0x1c4)](),_0x205d70[_0x41e828]=_0x12f1a5[_0x378478(0x1bd)])),_0x205d70[_0x41e828]&&_0x1bb40a&&(_0x205d70[_0x41e828][_0x378478(0x149)]=_0x4e8a53,_0x132f19(_0x205d70[_0x41e828]),_0x205d70[_0x41e828]=null);}function _0x132f19({start:_0x404dfa,end:_0x305bee,tapeItem:_0x2d994f,userId:_0xd3b1c4,type:_0xfd7902}){const _0x38abaa=_0xaf7e3c,_0x40821d=_0x2d994f[_0x38abaa(0x166)],_0x415ec7=_0x3d45b3[_0x38abaa(0xf3)][_0x38abaa(0x12b)](_0x40821d)&&!_0x3d45b3[_0x38abaa(0xf3)][_0x38abaa(0x1c8)](_0x40821d),_0x3a358f=_0x404dfa[_0x38abaa(0x1a1)]==_0x305bee[_0x38abaa(0xb1)]&&_0x305bee[_0x38abaa(0x157)];if(_0x415ec7&&_0x3a358f)return;const _0x655043=_0x3d45b3[_0x38abaa(0x163)](_0x404dfa,_0x305bee),_0x49ef6d=_0x1ef3bf[_0x38abaa(0x147)](_0xd3b1c4),_0x5ae182=new _0x47f120({'author':_0x49ef6d,'type':_0x38abaa(0xdf)==_0xfd7902||_0x38abaa(0x1a4)==_0xfd7902?_0x38abaa(0x1d0):_0x38abaa(0x12a),'data':{'isSuggestion':_0x38abaa(0x1a4)==_0xfd7902||_0x38abaa(0x1a2)==_0xfd7902},'createdAt':new Date(),'rootName':_0x5413a3});_0x5281ac[_0x38abaa(0x1bf)](_0x5ae182),_0x5a8ef3[_0x38abaa(0x1be)][_0x38abaa(0xa5)](_0x38abaa(0x180)+_0x5ae182['id'],_0x655043);}function _0x5f36b9(_0x4f0dfe,_0x514f59){const _0x13ab67=_0xaf7e3c,_0x7e50b0=_0x4f0dfe[_0x13ab67(0x1ea)](),_0x59fded=_0x514f59[_0x13ab67(0x1ea)]();for(const _0xc50f78 of _0x7e50b0){if(_0xc50f78[0x1]!==_0x514f59[_0x13ab67(0x14c)](_0xc50f78[0x0]))return!0x1;_0x59fded[_0x13ab67(0x155)]();}return _0x59fded[_0x13ab67(0x155)]()[_0x13ab67(0x146)];}}[_0x500d49(0x1a9)](){const _0x4954fd=_0x500d49;this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0xd4)]({'view':_0x4954fd(0x100)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x178))[_0x4954fd(0x14b)]({'model':_0x4954fd(0x100),'view':_0x2646e6=>{const _0x31f4e9=_0x4954fd,_0x17dab9=_0x2646e6[_0x31f4e9(0x1b8)][_0x31f4e9(0x111)](':')[0x1],_0x5298a9=this[_0x31f4e9(0x165)](_0x17dab9);if(!_0x5298a9)return null;const _0x12bc8e=_0x31f4e9(0x1d0)==_0x5298a9[_0x31f4e9(0x1d4)]?_0x31f4e9(0x114):_0x31f4e9(0xde),_0x5a458a=[_0x31f4e9(0x1aa),_0x31f4e9(0x192)+_0x12bc8e];return _0x5298a9[_0x31f4e9(0x11f)][_0x31f4e9(0x1c3)]&&_0x5a458a[_0x31f4e9(0x1bf)](_0x31f4e9(0x192)+_0x12bc8e+_0x31f4e9(0xa8)),this[_0x31f4e9(0xdb)]==_0x5298a9&&_0x5a458a[_0x31f4e9(0x1bf)](_0x31f4e9(0x1d9)),{'classes':_0x5a458a,'attributes':{'data-change-id':_0x17dab9}};}}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0x1d0)](_0x3ae916=>{const _0x4ea4de=_0x4954fd;_0x3ae916['on'](_0x4ea4de(0x17c),(_0x3c5b85,_0x1fc1d2,_0x51b48f)=>{const _0x40098d=_0x4ea4de,_0x36d0d1=_0x1fc1d2[_0x40098d(0x11c)][_0x40098d(0x107)](0x0);if(!_0x36d0d1||!_0x36d0d1['is'](_0x40098d(0x164),_0x40098d(0xa9)))return;if(!_0x51b48f[_0x40098d(0xd6)][_0x40098d(0x151)](_0x36d0d1,{'attributes':[_0x40098d(0x17a),_0x40098d(0x12f)]}))return;const _0x184bf6=_0x1fc1d2[_0x40098d(0xe6)][_0x40098d(0x18b)][_0x40098d(0x1a1)];_0x51b48f[_0x40098d(0x1b0)][_0x40098d(0x1bc)](_0x40098d(0x17a),_0x36d0d1[_0x40098d(0x14c)](_0x40098d(0x17a)),_0x184bf6),_0x51b48f[_0x40098d(0x1b0)][_0x40098d(0x1bc)](_0x40098d(0x12f),_0x36d0d1[_0x40098d(0x14c)](_0x40098d(0x12f)),_0x184bf6);},{'priority':_0x4ea4de(0x171)});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0x1d0)](_0x5b431f=>{const _0x19224e=_0x4954fd;_0x5b431f['on'](_0x19224e(0x164),(_0x251537,_0x23828f,_0x34107d)=>{const _0x28da0b=_0x19224e;if(!_0x34107d[_0x28da0b(0xd6)][_0x28da0b(0x151)](_0x23828f[_0x28da0b(0x11c)],{'attributes':[_0x28da0b(0x17a),_0x28da0b(0x12f)]}))return;if(_0x23828f[_0x28da0b(0xe6)][_0x28da0b(0x1e1)])return;const _0x2678ff=_0x23828f[_0x28da0b(0xe6)][_0x28da0b(0x18b)][_0x28da0b(0x1a1)];_0x2678ff[_0x28da0b(0xbf)](_0x28da0b(0x17a))||_0x2678ff[_0x28da0b(0xbf)](_0x28da0b(0x10a))||(_0x34107d[_0x28da0b(0x1b0)][_0x28da0b(0x1bc)](_0x28da0b(0x17a),_0x23828f[_0x28da0b(0x11c)][_0x28da0b(0x14c)](_0x28da0b(0x17a)),_0x2678ff),_0x34107d[_0x28da0b(0x1b0)][_0x28da0b(0x1bc)](_0x28da0b(0x12f),_0x23828f[_0x28da0b(0x11c)][_0x28da0b(0x14c)](_0x28da0b(0x12f)),_0x2678ff));},{'priority':_0x19224e(0x171)});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0x14f)]({'view':{'name':_0x4954fd(0x1cf),'attributes':{'vid':!0x0}},'model':{'key':_0x4954fd(0x10a),'value':_0x1f1f7a=>_0x1f1f7a[_0x4954fd(0x14c)](_0x4954fd(0x10a))}}),this[_0x4954fd(0x168)][_0x4954fd(0x143)][_0x4954fd(0xf3)]['on'](_0x4954fd(0xfe),(_0x39ad2d,[,_0x3e3a6e])=>{const _0x2de0e8=_0x4954fd;[_0x2de0e8(0x17a),_0x2de0e8(0x12f),_0x2de0e8(0x10a)][_0x2de0e8(0xa7)](_0x3e3a6e)&&(_0x39ad2d[_0x2de0e8(0x1d5)]=!0x0,_0x39ad2d[_0x2de0e8(0xc7)]());},{'priority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x18f))[_0x4954fd(0x1d0)](_0x46914a=>{const _0xc71eeb=_0x4954fd;_0x46914a['on'](_0xc71eeb(0x16b),(_0x7231d8,_0x51ec19,_0x29079f)=>{const _0x3bb0e0=_0xc71eeb;if('\x20'!=_0x51ec19[_0x3bb0e0(0x166)][_0x3bb0e0(0x11f)]||_0x51ec19[_0x3bb0e0(0x166)][_0x3bb0e0(0xb1)][_0x3bb0e0(0x1c5)]>0x1)return;if(!_0x29079f[_0x3bb0e0(0xd6)][_0x3bb0e0(0x151)](_0x51ec19[_0x3bb0e0(0x166)],_0x7231d8[_0x3bb0e0(0x13d)]))return;const _0x3b4f72=_0x29079f[_0x3bb0e0(0x1b0)],_0x57e496=_0x29079f[_0x3bb0e0(0x1ed)][_0x3bb0e0(0x1de)](_0x51ec19[_0x3bb0e0(0x1b6)]);_0x3b4f72[_0x3bb0e0(0x10f)](_0x57e496,_0x3b4f72[_0x3bb0e0(0x1ac)](_0x3bb0e0(0x1cf)));});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x18f))[_0x4954fd(0xd8)]({'model':_0x4954fd(0x100)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x122),function(_0x38dbfe){const _0x4668ee=_0x4954fd,_0x3a8787=_0x38dbfe[_0x4668ee(0x1ce)][_0x4668ee(0x147)](_0x4668ee(0x152));return(_0x2f5498,_0x47ce9f,_0x4af9c3)=>{const _0x5c0876=_0x4668ee,_0x3e587d=_0x47ce9f[_0x5c0876(0x1b8)][_0x5c0876(0x111)](':')[0x1],_0x338ee6=_0x3a8787[_0x5c0876(0x165)](_0x3e587d);if(!_0x338ee6)return null;const _0x1c5da4=_0x5c0876(0x1d0)==_0x338ee6[_0x5c0876(0x1d4)]?_0x5c0876(0x111):_0x5c0876(0x126);if(!_0x4af9c3[_0x5c0876(0xd6)][_0x5c0876(0x13f)](_0x47ce9f[_0x5c0876(0xac)],_0x2f5498[_0x5c0876(0x13d)]))return;const _0x357a35=_0x47ce9f[_0x5c0876(0xac)][_0x5c0876(0x12d)](),_0x2a4b14=_0x47ce9f[_0x5c0876(0xac)][_0x5c0876(0x18b)],_0x25eb72=_0x38dbfe[_0x5c0876(0x143)][_0x5c0876(0xf3)];let _0x34a06c=null,_0x3e1dfe=null,_0x43685f=!0x1,_0x1fbc38=!0x1;for(const _0x321deb of _0x357a35){const _0x2fd44d=_0x321deb[_0x5c0876(0x166)];_0x43685f=_0x43685f||_0x25eb72[_0x5c0876(0x162)](_0x2fd44d);const _0x87fd7f=_0x4af9c3[_0x5c0876(0x1ed)][_0x5c0876(0x1af)](_0x2fd44d);if(_0x87fd7f&&_0x87fd7f[_0x5c0876(0x119)](_0x5c0876(0x134)))return;_0x5c0876(0xb3)==_0x321deb[_0x5c0876(0x1d4)]&&(_0x25eb72[_0x5c0876(0x12b)](_0x2fd44d)&&!_0x25eb72[_0x5c0876(0x1c8)](_0x2fd44d)&&(_0x2fd44d[_0x5c0876(0x194)]||_0x2a4b14[_0x5c0876(0x10c)]?_0x34a06c&&_0x34a06c[_0x5c0876(0xb1)]==_0x2fd44d||(_0x34a06c=_0x2fd44d,_0x4bcd99(_0x321deb[_0x5c0876(0x1e2)]),_0x1fbc38=!0x0):_0x3e1dfe=_0x3e1dfe||_0x321deb[_0x5c0876(0x1e2)]));}function _0x4bcd99(_0x4694b1){const _0x510da9=_0x5c0876,_0x2fe241=_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0xb0)](_0x510da9(0x1cf),{'class':_0x510da9(0x192)+_0x1c5da4}),_0x43fbf1=_0x4af9c3[_0x510da9(0x1ed)][_0x510da9(0x11b)](_0x4694b1);_0x338ee6[_0x510da9(0x11f)][_0x510da9(0x1c3)]&&_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0x189)](_0x510da9(0x192)+_0x1c5da4+_0x510da9(0xa8),_0x2fe241),_0x3a8787[_0x510da9(0xdb)]==_0x338ee6&&_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0x189)](_0x510da9(0x1d9),_0x2fe241),_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0x145)](_0x43fbf1,_0x2fe241),_0x4af9c3[_0x510da9(0x1ed)][_0x510da9(0xae)](_0x2fe241,_0x47ce9f[_0x510da9(0x1b8)]);}_0x43685f||_0x1fbc38||!_0x3e1dfe||_0x4bcd99(_0x3e1dfe);};}(this[_0x4954fd(0x168)]),{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x108),(_0x587f2b,_0x457f7f,_0x21485e)=>{const _0x2f679e=_0x4954fd,_0x19a50c=_0x21485e[_0x2f679e(0x1ed)][_0x2f679e(0x11a)](_0x457f7f[_0x2f679e(0x1b8)]);if(_0x19a50c){for(const _0x26fe66 of _0x19a50c)(_0x26fe66[_0x2f679e(0xd3)](_0x2f679e(0xa4))||_0x26fe66[_0x2f679e(0xd3)](_0x2f679e(0x1b9)))&&(_0x21485e[_0x2f679e(0x1ed)][_0x2f679e(0xc8)](_0x26fe66,_0x457f7f[_0x2f679e(0x1b8)]),_0x21485e[_0x2f679e(0x1b0)][_0x2f679e(0x12a)](_0x26fe66));}},{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x122),(_0x1499cb,_0x277b3c,_0xdee69)=>{const _0x2d78b6=_0x4954fd,_0x272841=_0x277b3c[_0x2d78b6(0x1b8)][_0x2d78b6(0x111)](':')[0x1],_0x2c2fd6=this[_0x2d78b6(0x165)](_0x272841);if(!_0x2c2fd6)return null;const _0x111ccc=_0x2d78b6(0x1d0)==_0x2c2fd6[_0x2d78b6(0x1d4)]?_0x2d78b6(0x111):_0x2d78b6(0x126);if(_0xdee69[_0x2d78b6(0xd6)][_0x2d78b6(0x13f)](_0x277b3c[_0x2d78b6(0xac)],_0x1499cb[_0x2d78b6(0x13d)]))for(const _0x4ba7fc of _0x277b3c[_0x2d78b6(0xac)][_0x2d78b6(0xe5)]()){if(!_0x4ba7fc['is'](_0x2d78b6(0x164),_0x2d78b6(0x1e4)))continue;const _0x13fb77=_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0xb0)](_0x2d78b6(0x1cf),{'class':_0x2d78b6(0x192)+_0x111ccc}),_0x2d2bff=_0xdee69[_0x2d78b6(0x1ed)][_0x2d78b6(0x11b)](this[_0x2d78b6(0x168)][_0x2d78b6(0x143)][_0x2d78b6(0x1bb)](_0x4ba7fc));_0x2c2fd6[_0x2d78b6(0x11f)][_0x2d78b6(0x1c3)]&&_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0x189)](_0x2d78b6(0x192)+_0x111ccc+_0x2d78b6(0xa8),_0x13fb77),this[_0x2d78b6(0xdb)]==_0x2c2fd6&&_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0x189)](_0x2d78b6(0x1d9),_0x13fb77),_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0x145)](_0x2d2bff,_0x13fb77),_0xdee69[_0x2d78b6(0x1ed)][_0x2d78b6(0xae)](_0x13fb77,_0x277b3c[_0x2d78b6(0x1b8)]);}},{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0x143)][_0x4954fd(0x1ba)]['on'](_0x4954fd(0x1bd),()=>{const _0xfb0538=_0x4954fd;this[_0xfb0538(0x168)][_0xfb0538(0xe1)][_0xfb0538(0xec)][_0xfb0538(0x1bd)](_0x3760e3=>{const _0x40bf16=_0xfb0538;for(const _0xf1e6c8 of this[_0x40bf16(0x168)][_0x40bf16(0x143)][_0x40bf16(0x1ba)][_0x40bf16(0x138)]()){const _0x127121=this[_0x40bf16(0x168)][_0x40bf16(0x143)][_0x40bf16(0x1ba)][_0x40bf16(0x191)](_0xf1e6c8),_0x2ec240=this[_0x40bf16(0x168)][_0x40bf16(0xe1)][_0x40bf16(0xec)][_0x40bf16(0x1ba)][_0x40bf16(0x191)](_0xf1e6c8);if(_0x2ec240){const _0x7e968f=_0x127121[_0x40bf16(0x14c)](_0x40bf16(0x101));if(_0x3760e3[_0x40bf16(0xcd)](_0x40bf16(0xd2),_0x2ec240),_0x3760e3[_0x40bf16(0x148)](_0x40bf16(0x1cc),_0x2ec240),_0x3760e3[_0x40bf16(0x148)](_0x40bf16(0xe7),_0x2ec240),_0x3760e3[_0x40bf16(0x148)](_0x40bf16(0x140),_0x2ec240),_0x7e968f){const _0x5120cc=this[_0x40bf16(0x165)](_0x7e968f);if(!_0x5120cc)return null;_0x3760e3[_0x40bf16(0x1bc)](_0x40bf16(0xd2),_0x7e968f,_0x2ec240),_0x3760e3[_0x40bf16(0x189)](_0x40bf16(0x1ad)+_0x5120cc[_0x40bf16(0x1d4)],_0x2ec240),this[_0x40bf16(0xdb)]==_0x5120cc&&_0x3760e3[_0x40bf16(0x189)](_0x40bf16(0x140),_0x2ec240);}}}});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0xd4)]({'view':_0x4954fd(0xba),'model':_0x387ef1=>_0x4954fd(0xfa)+_0x387ef1,'converterPriority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0xd4)]({'view':_0x4954fd(0xdd),'model':_0x5a1d85=>_0x4954fd(0x175)+_0x5a1d85,'converterPriority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x18f))[_0x4954fd(0xd8)]({'model':_0x4954fd(0x1d7),'view':_0x110826=>({'name':_0x4954fd(0x1eb)+_0x110826,'group':_0x4954fd(0x1d7)}),'converterPriority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x178))[_0x4954fd(0x14b)]({'model':_0x4954fd(0x1d7),'view':_0x168e97=>{const _0x33704f=_0x4954fd,_0x28902d=_0x168e97[_0x33704f(0x1b8)][_0x33704f(0x111)](':')[0x1];return _0x33704f(0x114)!=_0x28902d&&_0x33704f(0xde)!=_0x28902d?null:{'classes':[_0x33704f(0x10b),_0x33704f(0xbb)+_0x28902d]};}}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x1d1),et(this[_0x4954fd(0x168)],_0x4954fd(0x126)),{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0xed),et(this[_0x4954fd(0x168)],_0x4954fd(0x111)),{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x121),(_0x1a9d6a,_0x1f857a,_0x4e2719)=>{const _0x49c90d=_0x4954fd,_0x430e88=_0x4e2719[_0x49c90d(0x1ed)][_0x49c90d(0x11a)](_0x1f857a[_0x49c90d(0x1b8)]);if(_0x430e88){for(const _0x1e7132 of _0x430e88)_0x1e7132['is'](_0x49c90d(0xef))&&(_0x4e2719[_0x49c90d(0x1ed)][_0x49c90d(0xc8)](_0x1e7132,_0x1f857a[_0x49c90d(0x1b8)]),_0x4e2719[_0x49c90d(0x1b0)][_0x49c90d(0x12a)](_0x1e7132));}},{'priority':_0x4954fd(0x1ef)});}[_0x500d49(0x165)](_0x2e1d30){const _0x13f7d7=_0x500d49;return this[_0x13f7d7(0x1db)][_0x13f7d7(0x147)](_0x2e1d30);}[_0x500d49(0x150)](_0x193d85){const _0x348e11=_0x500d49;return this[_0x348e11(0x129)]&&this[_0x348e11(0x129)][_0x348e11(0x1c7)](),this[_0x348e11(0x129)]=new _0x9a512d(this[_0x348e11(0x168)][_0x348e11(0xaf)],_0x193d85),this[_0x348e11(0x129)];}[_0x500d49(0xe9)](){const _0x4aee93=_0x500d49;this[_0x4aee93(0x168)][_0x4aee93(0x143)][_0x4aee93(0x1ba)][_0x4aee93(0x11e)][_0x4aee93(0x16a)](_0x4aee93(0x100)),this['on'](_0x4aee93(0xe0),(_0xdf3989,_0x4de96d,_0x3e2d44,_0x196dc3)=>{const _0x2dcb82=_0x4aee93;_0x196dc3&&this[_0x2dcb82(0x116)][_0x2dcb82(0x12a)](_0x196dc3),_0x3e2d44&&(this[_0x2dcb82(0x116)][_0x2dcb82(0x1d0)]({'view':_0x3e2d44,'stackId':_0x2dcb82(0xfc),'position':{'target':()=>{const _0x305a46=_0x2dcb82,_0x54fa80=this[_0x305a46(0x168)][_0x305a46(0xe1)],_0x124cba=this[_0x305a46(0x165)](_0x3e2d44[_0x305a46(0x1dd)]);let _0x548f16;if(_0x124cba[_0x305a46(0x11f)][_0x305a46(0x1b2)]){const _0x242c90=_0x54fa80[_0x305a46(0xec)][_0x305a46(0xf7)](_0x124cba[_0x305a46(0x1a5)]);_0x548f16=Array[_0x305a46(0xfb)](_0x242c90[_0x305a46(0x1a7)]());}else{const _0x573b38=this[_0x305a46(0x168)][_0x305a46(0x143)][_0x305a46(0x1be)][_0x305a46(0x147)](_0x305a46(0x180)+_0x3e2d44[_0x305a46(0x1dd)]);_0x548f16=Array[_0x305a46(0xfb)](_0x54fa80[_0x305a46(0x1ed)][_0x305a46(0x11a)](_0x573b38[_0x305a46(0x13d)]))[_0x305a46(0x123)](_0x1deaf3=>_0x54fa80[_0x305a46(0xec)][_0x305a46(0x1cd)][_0x305a46(0x15b)](_0x1deaf3))[_0x305a46(0x123)](_0x5acc8b=>Array[_0x305a46(0xfb)](_0x5acc8b[_0x305a46(0x1a7)]()))[_0x305a46(0xdc)]();}if(!this[_0x305a46(0xd0)])return _0x548f16[0x0];return _0x548f16[_0x305a46(0x14d)](_0x212012=>_0x212012[_0x305a46(0x130)]-0x3<=this[_0x305a46(0xd0)]['y']&&_0x212012[_0x305a46(0x174)]+0x3>=this[_0x305a46(0xd0)]['y']&&_0x212012[_0x305a46(0x142)]-0x3<=this[_0x305a46(0xd0)]['x']&&_0x212012[_0x305a46(0x1a3)]+0x3>=this[_0x305a46(0xd0)]['x'])||_0x548f16[0x0];}}}),this[_0x2dcb82(0x116)][_0x2dcb82(0x176)](_0x2dcb82(0xfc)));}),this['on'](_0x4aee93(0xf0),(_0x5cad6f,_0x1bae6a,_0x536780,_0x4a2e96)=>{const _0x52c1ec=_0x4aee93;this[_0x52c1ec(0x158)]=_0x536780?this[_0x52c1ec(0x150)](_0x536780):null,this[_0x52c1ec(0x168)][_0x52c1ec(0x143)][_0x52c1ec(0x1bd)](()=>{const _0x4d21fc=_0x52c1ec,_0x3477a6=this[_0x4d21fc(0x168)][_0x4d21fc(0xe1)];_0x4a2e96&&(_0x4a2e96[_0x4d21fc(0x11f)][_0x4d21fc(0x1b2)]?_0x3477a6[_0x4d21fc(0xec)][_0x4d21fc(0x1bd)](_0x56df2d=>{const _0x462eb1=_0x4d21fc;_0x56df2d[_0x462eb1(0x148)](_0x462eb1(0x140),_0x3477a6[_0x462eb1(0xec)][_0x462eb1(0x1ba)][_0x462eb1(0x191)](_0x4a2e96[_0x462eb1(0x1a5)]));}):_0x3477a6[_0x4d21fc(0x1f1)](_0x4d21fc(0x180)+_0x4a2e96['id'])),_0x536780&&(_0x536780[_0x4d21fc(0x11f)][_0x4d21fc(0x1b2)]?_0x3477a6[_0x4d21fc(0xec)][_0x4d21fc(0x1bd)](_0x255c6c=>{const _0x38b551=_0x4d21fc;_0x255c6c[_0x38b551(0x189)](_0x38b551(0x140),_0x3477a6[_0x38b551(0xec)][_0x38b551(0x1ba)][_0x38b551(0x191)](_0x536780[_0x38b551(0x1a5)]));}):_0x3477a6[_0x4d21fc(0x1f1)](_0x4d21fc(0x180)+_0x536780['id']));});}),this[_0x4aee93(0x104)](this[_0x4aee93(0x168)][_0x4aee93(0xe1)][_0x4aee93(0xec)][_0x4aee93(0x1ba)],_0x4aee93(0xab),(_0x5e6905,_0x396252)=>{const _0x2039d5=_0x4aee93;if(this[_0x2039d5(0xdb)])return;const _0x13ee08=this[_0x2039d5(0x102)](_0x396252[_0x2039d5(0xb6)]),_0x177dbe=this[_0x2039d5(0x1db)][_0x2039d5(0x147)](_0x13ee08);_0x177dbe?(this[_0x2039d5(0xd0)]={'x':_0x396252[_0x2039d5(0xb2)]['x'],'y':_0x396252[_0x2039d5(0xb2)]['y']},this[_0x2039d5(0x158)]=this[_0x2039d5(0x150)](_0x177dbe)):(this[_0x2039d5(0xd0)]=null,this[_0x2039d5(0x158)]=null);}),this[_0x4aee93(0x104)](this[_0x4aee93(0x168)][_0x4aee93(0xe1)][_0x4aee93(0xec)][_0x4aee93(0x1ba)],_0x4aee93(0x120),(_0x4e13c1,_0x16e683)=>{const _0x357d77=_0x4aee93,_0x5f43d3=this[_0x357d77(0x102)](_0x16e683[_0x357d77(0xb6)]),_0xf8de69=this[_0x357d77(0x1db)][_0x357d77(0x147)](_0x5f43d3);_0xf8de69?(this[_0x357d77(0xd0)]={'x':_0x16e683[_0x357d77(0xb2)]['x'],'y':_0x16e683[_0x357d77(0xb2)]['y']},_0xf8de69===this[_0x357d77(0xdb)]?this[_0x357d77(0x116)][_0x357d77(0xd5)]():this[_0x357d77(0xdb)]=_0xf8de69):(this[_0x357d77(0xd0)]=null,this[_0x357d77(0xdb)]=null);});}[_0x500d49(0x102)](_0x5dfdd8){const _0x357c49=_0x500d49;do{const _0x274891=_0x5dfdd8[_0x357c49(0x14c)](_0x357c49(0xd2));if(_0x274891)return _0x274891;_0x5dfdd8=_0x5dfdd8[_0x357c49(0xb1)];}while(_0x5dfdd8);return null;}[_0x500d49(0xbc)](){const _0x2a9052=_0x500d49;this[_0x2a9052(0x168)][_0x2a9052(0x143)][_0x2a9052(0x1bd)](_0x56d0a8=>{const _0x4cf787=_0x2a9052;for(const _0x201f11 of this[_0x4cf787(0x168)][_0x4cf787(0x143)][_0x4cf787(0x1be)])_0x56d0a8[_0x4cf787(0x132)](_0x201f11);});}}function et(_0x4c3052,_0x53def1){return(_0x3ac8ec,_0x559bce,_0x3590b3)=>{const _0x31107b=_0x1fde;if(!_0x3590b3[_0x31107b(0xd6)][_0x31107b(0x13f)](_0x559bce[_0x31107b(0xac)],_0x3ac8ec[_0x31107b(0x13d)]))return;const _0x53c25a=_0x559bce[_0x31107b(0xac)][_0x31107b(0x12d)](),_0x5df878=_0x559bce[_0x31107b(0xac)][_0x31107b(0x18b)],_0x5de672=_0x4c3052[_0x31107b(0x143)][_0x31107b(0xf3)];let _0x7c8943=null,_0x31f639=null,_0x15a574=!0x1,_0x34e0e3=!0x1;for(const _0x3c9007 of _0x53c25a){const _0x5f306d=_0x3c9007[_0x31107b(0x166)];_0x15a574=_0x15a574||_0x5de672[_0x31107b(0x162)](_0x5f306d);const _0x5e26c2=_0x3590b3[_0x31107b(0x1ed)][_0x31107b(0x1af)](_0x5f306d);if(_0x5e26c2&&_0x5e26c2[_0x31107b(0x119)](_0x31107b(0x134)))return;_0x31107b(0xb3)==_0x3c9007[_0x31107b(0x1d4)]&&(_0x5de672[_0x31107b(0x12b)](_0x5f306d)&&!_0x5de672[_0x31107b(0x1c8)](_0x5f306d)&&(_0x5f306d[_0x31107b(0x194)]||_0x5df878[_0x31107b(0x10c)]?_0x7c8943&&_0x7c8943[_0x31107b(0xb1)]==_0x5f306d||(_0x7c8943=_0x5f306d,_0x2a6ca2(_0x3c9007[_0x31107b(0x1e2)]),_0x34e0e3=!0x0):_0x31f639=_0x31f639||_0x3c9007[_0x31107b(0x1e2)]));}function _0x2a6ca2(_0x340fc3){const _0x4087c4=_0x31107b,_0x112c65=_0x3590b3[_0x4087c4(0x1ed)][_0x4087c4(0x11b)](_0x340fc3),_0x38fd9e=_0x3590b3[_0x4087c4(0x1b0)][_0x4087c4(0xb0)](_0x4087c4(0x1cf),{'class':_0x4087c4(0xbb)+_0x53def1});_0x3590b3[_0x4087c4(0x1b0)][_0x4087c4(0x145)](_0x112c65,_0x38fd9e),_0x3590b3[_0x4087c4(0x1ed)][_0x4087c4(0xae)](_0x38fd9e,_0x559bce[_0x4087c4(0x1b8)]);}_0x15a574||_0x34e0e3||!_0x31f639||_0x2a6ca2(_0x31f639);};}export class RestoreRevisionCommand extends _0x1f112a{constructor(_0x3fa0cd){const _0x5cc513=_0x500d49;super(_0x3fa0cd);const _0xaf497c=_0x3fa0cd[_0x5cc513(0x1ce)][_0x5cc513(0x147)](d);this[_0x5cc513(0xad)]=!0x1,this[_0x5cc513(0x104)](_0xaf497c,_0x5cc513(0x15e),()=>this[_0x5cc513(0x1c9)]()),this[_0x5cc513(0x104)](_0xaf497c,_0x5cc513(0x118),()=>this[_0x5cc513(0x1c9)]());}[_0x500d49(0x1b5)](){const _0x1a99f0=_0x500d49,_0x45e120=this[_0x1a99f0(0x168)],_0x1d89bb=_0x45e120[_0x1a99f0(0x1ce)][_0x1a99f0(0x147)](d),_0x57a3ed=_0x1d89bb[_0x1a99f0(0x1d8)]?_0x1d89bb[_0x1a99f0(0x13b)][_0x1a99f0(0x17d)]:null;_0x45e120[_0x1a99f0(0x18c)][_0x1a99f0(0x147)](_0x1a99f0(0x128))[_0x1a99f0(0x117)](_0x57a3ed);}[_0x500d49(0x1c9)](){const _0x12e583=_0x500d49,{isReady:_0x5b4503,isEnabled:_0x360a1e}=this[_0x12e583(0x168)][_0x12e583(0x1ce)][_0x12e583(0x147)](d);this[_0x12e583(0x1f0)]=_0x5b4503&&_0x360a1e;}}export class ShowChangeCommand extends _0x1f112a{constructor(_0x2b702b,{direction:_0x36511d}){const _0x28ffce=_0x500d49;super(_0x2b702b);const _0x23093b=_0x2b702b[_0x28ffce(0x1ce)][_0x28ffce(0x147)](d);this[_0x28ffce(0xad)]=!0x1,this[_0x28ffce(0x1c2)]=_0x28ffce(0xf6)===_0x36511d?0x1:-0x1,this[_0x28ffce(0x104)](_0x23093b,_0x28ffce(0x15e),()=>this[_0x28ffce(0x1c9)]()),this[_0x28ffce(0x104)](_0x23093b,_0x28ffce(0x118),()=>this[_0x28ffce(0x1c9)]()),this[_0x28ffce(0x104)](_0x23093b,_0x28ffce(0xf0),()=>this[_0x28ffce(0x1c9)]());}[_0x500d49(0x1b5)](){const _0x3d454f=_0x500d49,_0x343037=this[_0x3d454f(0x168)],_0x9cc74c=_0x343037[_0x3d454f(0x1ce)][_0x3d454f(0x147)](d),{isNavigationMode:_0x2e6966,currentChangeNumber:_0x5e74ae}=_0x9cc74c;let _0x26fd14;if(_0x9cc74c[_0x3d454f(0xdb)]=_0x2e6966?_0x9cc74c[_0x3d454f(0x13b)][_0x3d454f(0xd9)][_0x3d454f(0x147)](_0x5e74ae+this[_0x3d454f(0x1c2)]):_0x9cc74c[_0x3d454f(0x13b)][_0x3d454f(0xd9)][_0x3d454f(0x112)],_0x9cc74c[_0x3d454f(0xdb)][_0x3d454f(0x11f)][_0x3d454f(0x1b2)])_0x26fd14=_0x343037[_0x3d454f(0xe1)][_0x3d454f(0xec)][_0x3d454f(0xf7)](_0x9cc74c[_0x3d454f(0xdb)][_0x3d454f(0x1a5)]);else{const _0x337141=_0x343037[_0x3d454f(0x143)][_0x3d454f(0x1be)][_0x3d454f(0x147)](_0x3d454f(0x180)+_0x9cc74c[_0x3d454f(0xdb)]['id']);_0x26fd14=_0x181a0b(_0x343037[_0x3d454f(0xe1)],_0x337141);}_0x2aa958({'target':_0x26fd14,'viewportOffset':0x28});}[_0x500d49(0x1c9)](){const _0x2c1a28=_0x500d49,{isNavigationMode:_0x52fd17,currentChangeNumber:_0x4de977,numberOfChanges:_0x708fca,isReady:_0x3341f4,isEnabled:_0x697848}=this[_0x2c1a28(0x168)][_0x2c1a28(0x1ce)][_0x2c1a28(0x147)](d);this[_0x2c1a28(0x1f0)]=!!(_0x697848&&_0x3341f4&&_0x708fca)&&(!_0x52fd17||(0x1===this[_0x2c1a28(0x1c2)]?_0x4de977<_0x708fca-0x1:_0x4de977>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5a4b(_0xe6200b,_0x524641){const _0x56cbe3=_0x56cb();return _0x5a4b=function(_0x5a4b4d,_0xc68c4){_0x5a4b4d=_0x5a4b4d-0x94;let _0x58df31=_0x56cbe3[_0x5a4b4d];return _0x58df31;},_0x5a4b(_0xe6200b,_0x524641);}(function(_0x33816e,_0x3658c1){const _0x132d3e=_0x5a4b,_0x3624d7=_0x33816e();while(!![]){try{const _0x2549ba=-parseInt(_0x132d3e(0xa4))/0x1+-parseInt(_0x132d3e(0x94))/0x2*(-parseInt(_0x132d3e(0xc6))/0x3)+-parseInt(_0x132d3e(0x98))/0x4*(-parseInt(_0x132d3e(0xc4))/0x5)+parseInt(_0x132d3e(0xb0))/0x6*(parseInt(_0x132d3e(0xb8))/0x7)+parseInt(_0x132d3e(0xc0))/0x8*(-parseInt(_0x132d3e(0xb6))/0x9)+-parseInt(_0x132d3e(0xa0))/0xa*(parseInt(_0x132d3e(0xb9))/0xb)+-parseInt(_0x132d3e(0xa6))/0xc;if(_0x2549ba===_0x3658c1)break;else _0x3624d7['push'](_0x3624d7['shift']());}catch(_0x1e8123){_0x3624d7['push'](_0x3624d7['shift']());}}}(_0x56cb,0xa6f61));import{Collection as _0x501316}from'ckeditor5/src/utils.js';import{icons as _0xf13af9}from'ckeditor5/src/core.js';function _0x56cb(){const _0x5ca8d6=['function','first','58740bjvnvg','execute','Restore\x20this\x20revision','isActionsDropdownOpen','items','Compare\x20against\x20selected','4419iqPQho','Show\x20more\x20items','854puAOIC','319mSMCGB','isReady','locale','listView','threeVerticalDots','map','ck-on','10616blKNen','Name\x20this\x20revision','isEnabled','menu','303610lBMBCs','source','203277qnvPXl','set','36dwHGWx','children','stopPropagation','isVisible','4IdkZfQ','class','listenTo','bind','panelPosition','find','button','bindTemplate','92770fafSsk','ck-revision-history-sidebar__revision__actions','action','buttonView','526992zCWcNM','_action','4119708wOGnDk','isOpen','change:isActionsDropdownOpen','model','extendTemplate','add','menuitem','name'];_0x56cb=function(){return _0x5ca8d6;};return _0x56cb();}import{ViewModel as _0x1f16ba,addListToDropdown as _0x153e79,createDropdown as _0x455edd}from'ckeditor5/src/ui.js';import{getTranslation as _0x42d469}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x193d27,_0x15c60c){const _0x50f870=_0x5a4b,_0x3b1767=_0x193d27[_0x50f870(0x9f)],_0x1a0d60=_0x193d27[_0x50f870(0xbb)],_0x238d59=_0x455edd(_0x1a0d60);_0x238d59[_0x50f870(0x9c)]='sw';const _0x4f11a8=function(_0x3d1d06,_0x1afa91){const _0x38ce0f=_0x50f870,_0x3cc1a7=function(_0x4d5115,_0x1f3cbe){const _0x4d8874=_0x5a4b,_0x2de2a9=_0x4d5115[_0x4d8874(0xbb)],_0x2f926c={'Compare\x20against\x20selected':_0x42d469(_0x2de2a9,_0x4d8874(0xb5)),'Name\x20this\x20revision':_0x42d469(_0x2de2a9,_0x4d8874(0xc1)),'Restore\x20this\x20revision':_0x42d469(_0x2de2a9,_0x4d8874(0xb2))};return _0x1f3cbe[_0x4d8874(0xbe)](_0x1da1dd=>{const _0x3fabfa=_0x4d8874,_0x19d8fc=_0x2f926c[_0x1da1dd[_0x3fabfa(0xad)]];return _0x19d8fc&&_0x19d8fc!==_0x1da1dd[_0x3fabfa(0xad)]&&(_0x1da1dd[_0x3fabfa(0xad)]=_0x19d8fc),_0x1da1dd;});}(_0x3d1d06,_0x1afa91),_0x33fd32=new _0x501316();for(const _0x818a56 of _0x3cc1a7){const _0x2c2f16={'type':_0x38ce0f(0x9e),'model':new _0x1f16ba({'label':_0x818a56[_0x38ce0f(0xad)],'class':_0x818a56[_0x38ce0f(0x99)],'withText':!0x0,'role':_0x38ce0f(0xac),'_action':_0x818a56[_0x38ce0f(0xa2)]})};_0x2c2f16[_0x38ce0f(0xa9)][_0x38ce0f(0x9b)](_0x38ce0f(0xc2))['to'](_0x3d1d06,_0x38ce0f(0xb3),_0x1937c4=>_0x38ce0f(0xae)!=typeof _0x818a56[_0x38ce0f(0xc2)]||(!_0x1937c4||_0x818a56[_0x38ce0f(0xc2)](_0x3d1d06))),_0x33fd32[_0x38ce0f(0xab)](_0x2c2f16);}return _0x33fd32;}(_0x193d27,_0x15c60c);return _0x193d27[_0x50f870(0x9b)](_0x50f870(0xb3))['to'](_0x238d59,_0x50f870(0xa7)),_0x238d59[_0x50f870(0xa3)][_0x50f870(0xc7)]({'label':_0x42d469(_0x1a0d60,_0x50f870(0xb7)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xf13af9[_0x50f870(0xbd)]}),_0x238d59[_0x50f870(0xaa)]({'attributes':{'class':[_0x50f870(0xa1),_0x3b1767['if'](_0x50f870(0xb3),_0x50f870(0xbf))]},'on':{'click':_0x3b1767['to'](_0x133f24=>_0x133f24[_0x50f870(0x96)]())}}),_0x238d59['on'](_0x50f870(0xb1),_0x180ba0=>{const _0x188a1b=_0x50f870;_0x193d27[_0x188a1b(0xba)]&&_0x188a1b(0xae)==typeof _0x180ba0[_0x188a1b(0xc5)][_0x188a1b(0xa5)]&&_0x180ba0[_0x188a1b(0xc5)][_0x188a1b(0xa5)](_0x193d27);}),_0x153e79(_0x238d59,_0x4f11a8,{'role':_0x50f870(0xc3)}),_0x238d59[_0x50f870(0x9a)](_0x193d27,_0x50f870(0xa8),(_0x2c740,_0x416a79,_0x3b5075)=>{const _0xf496bc=_0x50f870;if(_0x3b5075)for(const _0x2056bf of _0x238d59[_0xf496bc(0xbc)][_0xf496bc(0xb4)]){const _0x417827=_0x2056bf[_0xf496bc(0x95)][_0xf496bc(0xaf)],_0x1364b4=_0x15c60c[_0xf496bc(0x9d)](_0x1135f4=>_0x1135f4[_0xf496bc(0xa2)]===_0x417827[_0xf496bc(0xa5)])[_0xf496bc(0x97)];_0x2056bf[_0xf496bc(0x97)]=void 0x0===_0x1364b4||_0x1364b4(_0x193d27);}}),_0x238d59;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x127cd8,_0x522338){const _0x48fa46=_0x7151,_0x1075da=_0x127cd8();while(!![]){try{const _0x187d5a=-parseInt(_0x48fa46(0x85))/0x1*(-parseInt(_0x48fa46(0x7b))/0x2)+-parseInt(_0x48fa46(0x81))/0x3+-parseInt(_0x48fa46(0x80))/0x4+parseInt(_0x48fa46(0x7e))/0x5+-parseInt(_0x48fa46(0x7a))/0x6+parseInt(_0x48fa46(0x7f))/0x7+-parseInt(_0x48fa46(0x77))/0x8;if(_0x187d5a===_0x522338)break;else _0x1075da['push'](_0x1075da['shift']());}catch(_0x4e0d87){_0x1075da['push'](_0x1075da['shift']());}}}(_0x1dd9,0xa5e12));import{View as _0x2a9d6c,IconView as _0x1cba6c}from'ckeditor5/src/ui.js';function _0x1dd9(){const _0x4d160a=['0\x200\x2011\x2010','Revision\x20creator','setTemplate','928480PwCwnr','set','ck-revision-history-sidebar__revision-author_creator','7266822FARFSS','6BngwkD','ck-revision-history-sidebar__revision-author__name','ck-revision-history-sidebar__revision-author','1908030NVuUUy','5975095ZGveXW','255248WAsNVh','57555EEkvtB','Revision\x20author','name','span','284815ToCEdZ','push'];_0x1dd9=function(){return _0x4d160a;};return _0x1dd9();}import{getTranslation as _0x2de420}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x7151(_0x371834,_0x45d280){const _0x1dd99c=_0x1dd9();return _0x7151=function(_0x71519c,_0x47841a){_0x71519c=_0x71519c-0x73;let _0x3ab7ab=_0x1dd99c[_0x71519c];return _0x3ab7ab;},_0x7151(_0x371834,_0x45d280);}import _0x5a0cbb from'../../../theme/icons/user.svg';export default class ti extends _0x2a9d6c{constructor(_0x6c9d32,_0x4e50c9,_0x474967){const _0xb9d287=_0x7151;super(_0x6c9d32);const _0x3ee4a3=new _0x1cba6c();_0x3ee4a3[_0xb9d287(0x78)]({'content':_0x5a0cbb,'viewBox':_0xb9d287(0x74)});const _0x53e4ba=['ck',_0xb9d287(0x7d)];_0x474967&&_0x53e4ba[_0xb9d287(0x73)](_0xb9d287(0x79));const _0x2d276d=[{'tag':_0xb9d287(0x84),'attributes':{'class':['ck',_0xb9d287(0x7c)],'title':_0x2de420(_0x6c9d32,_0x474967?_0xb9d287(0x75):_0xb9d287(0x82))},'children':[_0x3ee4a3,_0x4e50c9[_0xb9d287(0x83)]]}];this[_0xb9d287(0x76)]({'tag':'li','attributes':{'class':_0x53e4ba},'children':_0x2d276d});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2123ac=_0x48ad;(function(_0x259b54,_0x3812c5){const _0x5a4bf0=_0x48ad,_0x1c7522=_0x259b54();while(!![]){try{const _0x4c7d37=-parseInt(_0x5a4bf0(0xea))/0x1+-parseInt(_0x5a4bf0(0xe1))/0x2+parseInt(_0x5a4bf0(0xf9))/0x3*(parseInt(_0x5a4bf0(0xee))/0x4)+-parseInt(_0x5a4bf0(0xec))/0x5*(parseInt(_0x5a4bf0(0xed))/0x6)+parseInt(_0x5a4bf0(0xe5))/0x7+-parseInt(_0x5a4bf0(0xf4))/0x8+parseInt(_0x5a4bf0(0xe9))/0x9;if(_0x4c7d37===_0x3812c5)break;else _0x1c7522['push'](_0x1c7522['shift']());}catch(_0x59a759){_0x1c7522['push'](_0x1c7522['shift']());}}}(_0x1a35,0x3515e));import{LabeledFieldView as _0x3a5261}from'ckeditor5/src/ui.js';function _0x48ad(_0x2cce25,_0x4051a1){const _0x1a35bd=_0x1a35();return _0x48ad=function(_0x48ad65,_0x22eaf0){_0x48ad65=_0x48ad65-0xe1;let _0x10f3c1=_0x1a35bd[_0x48ad65];return _0x10f3c1;},_0x48ad(_0x2cce25,_0x4051a1);}function _0x1a35(){const _0x1c73fd=['input','listenTo','clientWidth','19844yhtwpq','ck-revision-history-sidebar__revision-name','scrollWidth','Enter\x20the\x20revision\x20name','1198246tYYBkx','render','extendTemplate','_resizeObserver','813654RqRJds','313384etYuEv','bindTemplate','185dDkguf','8082AiIbbm','8pwvFZK','ck-tooltip_multi-line','element','Revision\x20name','span','destroy','761576KDDIEM','set','fieldView','_updateTooltipText','value','636294IDrEtB','placeholder','_tooltipString'];_0x1a35=function(){return _0x1c73fd;};return _0x1a35();}import{ResizeObserver as _0x525942}from'ckeditor5/src/utils.js';import{getTranslation as _0x50dea2}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class kt extends _0x3a5261{constructor(_0x4a7e47,_0xe2b68f){const _0x184c3b=_0x48ad;super(_0x4a7e47,_0xe2b68f),this[_0x184c3b(0xe8)]=null;const _0x1d282d=this[_0x184c3b(0xeb)];this[_0x184c3b(0xf5)]({'label':_0x50dea2(_0x4a7e47,_0x184c3b(0xf1)),'_tooltipString':''}),this[_0x184c3b(0xf6)][_0x184c3b(0xfa)]=_0x50dea2(_0x4a7e47,_0x184c3b(0xe4)),this[_0x184c3b(0xe7)]({'tag':_0x184c3b(0xf2),'attributes':{'class':[_0x184c3b(0xe2)],'data-cke-tooltip-text':_0x1d282d['to'](_0x184c3b(0xfb)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x184c3b(0xef)}});}[_0x2123ac(0xe6)](){const _0x53d4a2=_0x2123ac;super[_0x53d4a2(0xe6)](),this[_0x53d4a2(0xe8)]=new _0x525942(this[_0x53d4a2(0xf6)][_0x53d4a2(0xf0)],()=>this[_0x53d4a2(0xf7)]()),this[_0x53d4a2(0xfd)](this[_0x53d4a2(0xf6)],_0x53d4a2(0xfc),()=>this[_0x53d4a2(0xf7)]());}[_0x2123ac(0xf3)](){const _0x21a821=_0x2123ac;super[_0x21a821(0xf3)](),this[_0x21a821(0xe8)]&&this[_0x21a821(0xe8)][_0x21a821(0xf3)]();}[_0x2123ac(0xf7)](){const _0x5f4dfc=_0x2123ac,_0x3f0291=this[_0x5f4dfc(0xf6)][_0x5f4dfc(0xf0)];this[_0x5f4dfc(0xfb)]=_0x3f0291[_0x5f4dfc(0xe3)]>_0x3f0291[_0x5f4dfc(0xfe)]&&_0x3f0291[_0x5f4dfc(0xf8)]||'';}}
|
|
@@ -15,7 +15,7 @@ declare const RevisionView_base: import("ckeditor5/src/utils.js").Mixed<typeof V
|
|
|
15
15
|
/**
|
|
16
16
|
* TODO
|
|
17
17
|
*/
|
|
18
|
-
export default class RevisionView extends RevisionView_base {
|
|
18
|
+
export default class RevisionView extends /* #__PURE__ -- @preserve */ RevisionView_base {
|
|
19
19
|
id: string;
|
|
20
20
|
revisionNameView: RevisionNameView;
|
|
21
21
|
/**
|
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cbaf9=_0x3ccf;(function(_0x5e7259,_0x4c672c){const _0x35774f=_0x3ccf,_0x58ff47=_0x5e7259();while(!![]){try{const _0x5456d7=parseInt(_0x35774f(0xcd))/0x1*(-parseInt(_0x35774f(0xce))/0x2)+parseInt(_0x35774f(0xbb))/0x3+parseInt(_0x35774f(0xf0))/0x4+-parseInt(_0x35774f(0xba))/0x5*(parseInt(_0x35774f(0xef))/0x6)+-parseInt(_0x35774f(0xe4))/0x7+-parseInt(_0x35774f(0xf3))/0x8*(-parseInt(_0x35774f(0xd2))/0x9)+-parseInt(_0x35774f(0xf2))/0xa*(-parseInt(_0x35774f(0xb8))/0xb);if(_0x5456d7===_0x4c672c)break;else _0x58ff47['push'](_0x58ff47['shift']());}catch(_0x1a1e0a){_0x58ff47['push'](_0x58ff47['shift']());}}}(_0x2bd3,0xbb7d1));import{View as _0x30e9f4,createLabeledInputText as _0x743a1f}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x41f5d8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3ccf(_0x46badf,_0x39c697){const _0x2bd37a=_0x2bd3();return _0x3ccf=function(_0x3ccfdc,_0x5bc54b){_0x3ccfdc=_0x3ccfdc-0xb2;let _0xdc4897=_0x2bd37a[_0x3ccfdc];return _0xdc4897;},_0x3ccf(_0x46badf,_0x39c697);}import _0x5519f2 from'./revisionnameview.js';import _0x2ae713 from'./revisionauthorview.js';function _0x2bd3(){const _0x2107c3=['ck-revision-history-sidebar__revision_selected','div','element','5044182cbfpaz','5258644XvPAZc','creator','260lQoRUR','8bpiQVT','authors','listenTo','_createdAtFormatted','span','ck-revision-history-sidebar__revision','_requireRevisionName','634579BTKgEE','from','5XtdTCR','2112357zUyICr','.ck-thread__remove-confirm','highlight','change','render','220','fire','ck-reset','isEnabled','extendTemplate','deselect','isHighlighted','ck-revision-history-sidebar__actions_dropdown_open','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','unshift','isActionsDropdownOpen','ck-revision-history-sidebar__revision__date','srcElement','4XsrFEM','562854tTiven','ck-revision-history-sidebar__revision__controls-wrapper','setName','select','1266867eGxKJH','bind','ck-revision-history-sidebar__revision-wrapper','set','_revision','filter','map','isSelected','revisionActionsView','bindTemplate','fieldView','name','ck-disabled','value','length','uiLanguage','ck-revision-history-sidebar__revision-authors','isReady','6475693YKbPgK','closest','revisionNameView','unhighlight','setTemplate','ck-revision-history-sidebar__revision_highlighted','isConfirm','createdAt'];_0x2bd3=function(){return _0x2107c3;};return _0x2bd3();}import{dateToPrettyFormat as _0x15d750}from'./utils.js';import{createActionsDropdownView as _0x17d070}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x41f5d8(_0x30e9f4){constructor(_0x12588d,_0x3b171e,_0x3a42d7,_0x3af38a){const _0x3ab827=_0x3ccf;super(_0x12588d);const _0x267cfb=this[_0x3ab827(0xdb)],_0x4052d6=function(_0x2f1b05,_0x39f82c){const _0x5d3c55=_0x3ab827,_0x66a25b=Array[_0x5d3c55(0xb9)](_0x39f82c[_0x5d3c55(0xb2)])[_0x5d3c55(0xd7)](_0x54ae9d=>_0x54ae9d!=_0x39f82c[_0x5d3c55(0xf1)]);return _0x39f82c[_0x5d3c55(0xf1)]&&_0x66a25b[_0x5d3c55(0xc9)](_0x39f82c[_0x5d3c55(0xf1)]),_0x66a25b[_0x5d3c55(0xd8)](_0x48950c=>new _0x2ae713(_0x2f1b05,_0x48950c,_0x48950c==_0x39f82c[_0x5d3c55(0xf1)]));}(_0x12588d,_0x3b171e);this['id']=_0x3b171e['id'],this[_0x3ab827(0xd6)]=_0x3b171e,this[_0x3ab827(0xb7)]=_0x3af38a,this[_0x3ab827(0xd3)](_0x3ab827(0xdd),_0x3ab827(0xeb))['to'](_0x3b171e),this[_0x3ab827(0xd3)](_0x3ab827(0xb4))['to'](this,_0x3ab827(0xeb),_0x15c041=>_0x15d750(_0x12588d[_0x3ab827(0xe1)],_0x15c041)),this[_0x3ab827(0xd5)](_0x3ab827(0xd9),!0x1),this[_0x3ab827(0xd5)](_0x3ab827(0xc6),!0x1),this[_0x3ab827(0xd5)](_0x3ab827(0xca),!0x1),this[_0x3ab827(0xd5)](_0x3ab827(0xe3),!0x1),this[_0x3ab827(0xd5)](_0x3ab827(0xc3),!0x1),this[_0x3ab827(0xe6)]=new _0x5519f2(_0x12588d,_0x743a1f),this[_0x3ab827(0xe6)][_0x3ab827(0xdc)][_0x3ab827(0xc4)]({'attributes':{'maxlength':_0x3ab827(0xc0)}}),this[_0x3ab827(0xe6)][_0x3ab827(0xdc)][_0x3ab827(0xd3)](_0x3ab827(0xdf))['to'](this,_0x3ab827(0xdd),_0x5e20c5=>_0x5e20c5||this[_0x3ab827(0xb4)]),this[_0x3ab827(0xe6)][_0x3ab827(0xd3)](_0x3ab827(0xc3))['to'](this,_0x3ab827(0xd9),this,_0x3ab827(0xc3),(_0x563081,_0x4638fc)=>_0x563081&&_0x4638fc),this[_0x3ab827(0xda)]=_0x3a42d7&&_0x3a42d7[_0x3ab827(0xe0)]?_0x17d070(this,_0x3a42d7):'',this[_0x3ab827(0xda)]&&this[_0x3ab827(0xda)][_0x3ab827(0xd3)](_0x3ab827(0xc3))['to'](this),this[_0x3ab827(0xe8)]({'tag':_0x3ab827(0xed),'attributes':{'class':['ck',_0x3ab827(0xc2),_0x3ab827(0xd4),_0x267cfb['if'](_0x3ab827(0xea),_0x3ab827(0xc8))]},'children':[{'tag':_0x3ab827(0xed),'attributes':{'class':['ck',_0x3ab827(0xc2),_0x3ab827(0xb6),_0x267cfb['if'](_0x3ab827(0xc3),_0x3ab827(0xde),_0x49cc0a=>!_0x49cc0a),_0x267cfb['if'](_0x3ab827(0xd9),_0x3ab827(0xec)),_0x267cfb['if'](_0x3ab827(0xc6),_0x3ab827(0xe9)),_0x267cfb['if'](_0x3ab827(0xca),_0x3ab827(0xc7))]},'children':[this[_0x3ab827(0xe6)],{'tag':_0x3ab827(0xb5),'attributes':{'class':['ck',_0x3ab827(0xcb)]},'children':[{'text':_0x267cfb['to'](_0x3ab827(0xb4))}]},{'tag':_0x3ab827(0xed),'attributes':{'class':['ck',_0x3ab827(0xcf)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x3ab827(0xe2)]},'children':_0x4052d6}]},this[_0x3ab827(0xda)]],'on':{'click':_0x267cfb['to'](_0x55fcdd=>{const _0x1641c9=_0x3ab827;_0x55fcdd[_0x1641c9(0xcc)][_0x1641c9(0xe5)](_0x1641c9(0xbc))||this[_0x1641c9(0xe3)]&&this[_0x1641c9(0xc3)]&&this[_0x1641c9(0xc1)](_0x1641c9(0xd1),{'id':this['id']});})}}]});}[_0x4cbaf9(0xbf)](){const _0x4b1480=_0x4cbaf9;super[_0x4b1480(0xbf)]();const _0xde7b24=this[_0x4b1480(0xe6)][_0x4b1480(0xdc)][_0x4b1480(0xee)];this[_0x4b1480(0xb3)](_0xde7b24,_0x4b1480(0xbe),()=>{const _0x12ce1a=_0x4b1480;this[_0x12ce1a(0xb7)]&&!_0xde7b24[_0x12ce1a(0xdf)]||this[_0x12ce1a(0xc1)](_0x12ce1a(0xd0),{'id':this['id'],'name':_0xde7b24[_0x12ce1a(0xdf)]}),_0xde7b24[_0x12ce1a(0xdf)]||(_0xde7b24[_0x12ce1a(0xdf)]=this[_0x12ce1a(0xdd)]?this[_0x12ce1a(0xdd)]:this[_0x12ce1a(0xb4)]);});}[_0x4cbaf9(0xd1)](){const _0x122709=_0x4cbaf9;this[_0x122709(0xd9)]=!0x0;}[_0x4cbaf9(0xc5)](){const _0x319f16=_0x4cbaf9;this[_0x319f16(0xd9)]=!0x1;}[_0x4cbaf9(0xbd)](){const _0x1c0cb1=_0x4cbaf9;this[_0x1c0cb1(0xc6)]=!0x0;}[_0x4cbaf9(0xe7)](){const _0x3a8f45=_0x4cbaf9;this[_0x3a8f45(0xc6)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x14a9(){const _0x4bd6de=['isVisible','24kZMxJw','ck-revision-history-sidebar__subrevision-collapser__inner','3886940NGASvb','true','1520322tkqndq','443034ybnDRp','1884896mEBnga','bindTemplate','5463395RhOMdt','ck-revision-history-sidebar__subrevision-collapser_collapsed','click','set','button','_isCollapsed','toggle','ck-revision-history-sidebar__subrevision-collapser','8lczSqu','780447kLkwit','ck-hidden','133446eTtviq','span','15CnBvxw','setTemplate','false'];_0x14a9=function(){return _0x4bd6de;};return _0x14a9();}function _0x481e(_0x420022,_0x23ac2a){const _0x14a947=_0x14a9();return _0x481e=function(_0x481e99,_0x568830){_0x481e99=_0x481e99-0xbb;let _0xf0193c=_0x14a947[_0x481e99];return _0xf0193c;},_0x481e(_0x420022,_0x23ac2a);}const _0x22eef9=_0x481e;(function(_0x2887c9,_0x530dd2){const _0x5b075b=_0x481e,_0x338cff=_0x2887c9();while(!![]){try{const _0x5a8fa2=parseInt(_0x5b075b(0xd1))/0x1+parseInt(_0x5b075b(0xd0))/0x2*(-parseInt(_0x5b075b(0xd3))/0x3)+-parseInt(_0x5b075b(0xc6))/0x4+parseInt(_0x5b075b(0xbc))/0x5*(-parseInt(_0x5b075b(0xc4))/0x6)+parseInt(_0x5b075b(0xc8))/0x7+parseInt(_0x5b075b(0xc0))/0x8*(-parseInt(_0x5b075b(0xc5))/0x9)+parseInt(_0x5b075b(0xc2))/0xa;if(_0x5a8fa2===_0x530dd2)break;else _0x338cff['push'](_0x338cff['shift']());}catch(_0x460dbb){_0x338cff['push'](_0x338cff['shift']());}}}(_0x14a9,0x5fdbb));import{View as _0x3fd588}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x3fd588{constructor(_0xe1d782){const _0x5d5b68=_0x481e;super(_0xe1d782);const _0xceebd=this[_0x5d5b68(0xc7)];this[_0x5d5b68(0xcb)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x5d5b68(0xbd)]({'tag':_0x5d5b68(0xbb),'attributes':{'class':['ck',_0x5d5b68(0xcf),_0xceebd['if'](_0x5d5b68(0xbf),_0x5d5b68(0xd2),_0x54ec2f=>!_0x54ec2f),_0xceebd['if'](_0x5d5b68(0xcd),_0x5d5b68(0xc9))],'role':_0x5d5b68(0xcc),'aria-pressed':_0xceebd['to'](_0x5d5b68(0xcd),_0x629dc7=>_0x629dc7?_0x5d5b68(0xbe):_0x5d5b68(0xc3))},'children':[{'tag':_0x5d5b68(0xbb),'attributes':{'class':['ck',_0x5d5b68(0xc1)]}}],'on':{'click':_0xceebd['to'](_0x5d5b68(0xca))}});}[_0x22eef9(0xce)](){const _0x52f4f7=_0x22eef9;this[_0x52f4f7(0xcd)]=!this[_0x52f4f7(0xcd)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1abd(_0x579c31,_0x2bac3c){const _0x45fb06=_0x45fb();return _0x1abd=function(_0x1abd93,_0x40d604){_0x1abd93=_0x1abd93-0x82;let _0x3943a8=_0x45fb06[_0x1abd93];return _0x3943a8;},_0x1abd(_0x579c31,_0x2bac3c);}const _0x3e4f53=_0x1abd;(function(_0x21c7d5,_0x33dd94){const _0x378009=_0x1abd,_0x442f42=_0x21c7d5();while(!![]){try{const _0x18dfac=parseInt(_0x378009(0x88))/0x1*(-parseInt(_0x378009(0x87))/0x2)+parseInt(_0x378009(0x8a))/0x3*(-parseInt(_0x378009(0x83))/0x4)+-parseInt(_0x378009(0x99))/0x5+parseInt(_0x378009(0x9d))/0x6*(parseInt(_0x378009(0x82))/0x7)+-parseInt(_0x378009(0x93))/0x8*(-parseInt(_0x378009(0x90))/0x9)+-parseInt(_0x378009(0xa1))/0xa+-parseInt(_0x378009(0x86))/0xb*(-parseInt(_0x378009(0x98))/0xc);if(_0x18dfac===_0x33dd94)break;else _0x442f42['push'](_0x442f42['shift']());}catch(_0x10ed88){_0x442f42['push'](_0x442f42['shift']());}}}(_0x45fb,0x34339));import{View as _0x1853f1}from'ckeditor5/src/ui.js';import _0xe26112 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x4925b3}from'./utils.js';function _0x45fb(){const _0x3d8292=['26772sZoCPO','bindTemplate','createdAt','fire','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision__date','281997KAcLnN','ck-revision-history-sidebar__revision_selected','span','104xTnXtS','creator','ck-reset','ck-revision-history-sidebar__revision','_createdAtFormatted','92148NnzCeT','1971250ArBbbP','_parentRevisionId','set','setTemplate','36fKhrdR','deselect','ck-revision-history-sidebar__subrevision','select','4198640EBGCOS','uiLanguage','41384HTeoSn','92RmXMqk','bind','isSelected','1166OHdNWM','16HQztba','2949BbeBCX','div'];_0x45fb=function(){return _0x3d8292;};return _0x45fb();}import'../../../theme/revision/subrevision.css';export default class is extends _0x1853f1{constructor(_0x5c4017,_0x49d4b6,_0x4f6391){const _0x457dbb=_0x1abd;super(_0x5c4017);const _0x28e43a=this[_0x457dbb(0x8b)];this['id']=_0x49d4b6['id'],this[_0x457dbb(0x84)](_0x457dbb(0x8c))['to'](_0x49d4b6),this[_0x457dbb(0x9b)](_0x457dbb(0x85),!0x1),this[_0x457dbb(0x84)](_0x457dbb(0x97))['to'](this,_0x457dbb(0x8c),_0x13b892=>_0x13b892?_0x4925b3(_0x5c4017[_0x457dbb(0xa2)],_0x13b892):void 0x0),this[_0x457dbb(0x9a)]=_0x4f6391,this[_0x457dbb(0x9c)]({'tag':_0x457dbb(0x89),'attributes':{'class':['ck',_0x457dbb(0x95),_0x457dbb(0x96),_0x457dbb(0x9f),_0x28e43a['if'](_0x457dbb(0x85),_0x457dbb(0x91))]},'children':[{'tag':_0x457dbb(0x92),'attributes':{'class':['ck',_0x457dbb(0x8f)]},'children':[{'text':_0x28e43a['to'](_0x457dbb(0x97))}]},{'tag':'ul','attributes':{'class':['ck',_0x457dbb(0x8e)]},'children':[new _0xe26112(_0x5c4017,_0x49d4b6[_0x457dbb(0x94)],!0x0)]}],'on':{'click':_0x28e43a['to'](this[_0x457dbb(0xa0)][_0x457dbb(0x84)](this))}});}[_0x3e4f53(0xa0)](){const _0x286530=_0x3e4f53;this[_0x286530(0x85)]=!0x0,this[_0x286530(0x8d)](_0x286530(0xa0),{'parentId':this[_0x286530(0x9a)]});}[_0x3e4f53(0x9e)](){const _0x1c34ab=_0x3e4f53;this[_0x1c34ab(0x85)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x37d160,_0x19a391){var _0x199e0a=_0x9ce8,_0x1cfe05=_0x37d160();while(!![]){try{var _0x434bc7=-parseInt(_0x199e0a(0x132))/0x1*(-parseInt(_0x199e0a(0x13b))/0x2)+parseInt(_0x199e0a(0x137))/0x3+-parseInt(_0x199e0a(0x134))/0x4+parseInt(_0x199e0a(0x133))/0x5+-parseInt(_0x199e0a(0x138))/0x6+parseInt(_0x199e0a(0x136))/0x7*(parseInt(_0x199e0a(0x135))/0x8)+-parseInt(_0x199e0a(0x12e))/0x9*(-parseInt(_0x199e0a(0x130))/0xa);if(_0x434bc7===_0x19a391)break;else _0x1cfe05['push'](_0x1cfe05['shift']());}catch(_0x4036f0){_0x1cfe05['push'](_0x1cfe05['shift']());}}}(_0x44e1,0x2c0ba));function _0x44e1(){var _0x4d466b=['121626WoHIew','1047126OCIxxL','numeric','long','24hMMMWd','18NaNZhQ','toLocaleDateString','1054910HpFIIq','toLocaleTimeString','737ZyQYCC','605435FcVVqS','617468UyMToV','1022744FzTpLf','7UjpXMA'];_0x44e1=function(){return _0x4d466b;};return _0x44e1();}function _0x9ce8(_0x252fbf,_0x29a56){var _0x44e1ac=_0x44e1();return _0x9ce8=function(_0x9ce86a,_0x175bfc){_0x9ce86a=_0x9ce86a-0x12e;var _0x496957=_0x44e1ac[_0x9ce86a];return _0x496957;},_0x9ce8(_0x252fbf,_0x29a56);}export function dateToPrettyFormat(_0x3b2ea3,_0x16bac6){var _0x578bd8=_0x9ce8;return _0x16bac6[_0x578bd8(0x12f)](_0x3b2ea3,{'month':_0x578bd8(0x13a),'day':_0x578bd8(0x139)})+',\x20'+_0x16bac6[_0x578bd8(0x131)](_0x3b2ea3,{'hour':_0x578bd8(0x139),'minute':_0x578bd8(0x139)});}
|