@ckeditor/ckeditor5-revision-history 47.0.0-alpha.5 → 47.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x239d53=_0x2eb3;(function(_0x153477,_0x543183){const _0x145a58=_0x2eb3,_0x358126=_0x153477();while(!![]){try{const _0x2ea0aa=-parseInt(_0x145a58(0x1cd))/0x1*(parseInt(_0x145a58(0x258))/0x2)+-parseInt(_0x145a58(0x230))/0x3+-parseInt(_0x145a58(0x1b8))/0x4+-parseInt(_0x145a58(0x2c0))/0x5*(-parseInt(_0x145a58(0x27e))/0x6)+parseInt(_0x145a58(0x251))/0x7+-parseInt(_0x145a58(0x218))/0x8*(-parseInt(_0x145a58(0x1a3))/0x9)+-parseInt(_0x145a58(0x286))/0xa*(parseInt(_0x145a58(0x19e))/0xb);if(_0x2ea0aa===_0x543183)break;else _0x358126['push'](_0x358126['shift']());}catch(_0x2ed690){_0x358126['push'](_0x358126['shift']());}}}(_0x7d61,0x4dc6e));import{Plugin as _0x1787ae,Command as _0x2ba7c1}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2e8f14}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3da15}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0x1a68c8,ModelElement as _0x31511a,ModelText as _0x5f3024}from'ckeditor5/src/engine.js';import{Users as _0x126d64,getMarkerDomElement as _0x5d9c8c}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x1f41e6}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x4a40ca}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x269c42}from'./revisionhistoryutils.js';import{ChangeItem as _0x36a410}from'./changeitem.js';function _0x7d61(){const _0x2f67ec=['add','isContent','pluginName','config','33156OpopNK','index','first','conversion','isNavigationMode','checkAttribute','view','mousedown','distance','createRevision','modelRange','bottom','execute','restoreRevision','_setDistance','_balloon','_setConversion','destroy','vid','_makeModelFromViewString','addHighlight','consumable','markersEnd','nextSibling','markerToData','elementToAttribute','_makeModelFromTape','offsetSize','highest','restoreRevisionCallback','addMarker:revision','_getDiff','getLaterVisibleRevision','2933224nkJlct','bindElementToMarker','selection','getRevisionDocumentData','refresh','return','-new','498896NsiEuz','_removeMissingPairs','enableReadOnlyMode','startIndex','string','data-change-id','domEvent','deletions','pop','suggestion','RevisionViewer','isSuggestion','high','_markMismatchedRemovedTags','element:pre','attachChange','isPremiumPlugin','isReady','hasClass','revision:','_cleanUp','detachRoot','target','markers','revision-comment:','slice','upcast','activeView','downcastDispatcher','activeChange','parent','createPositionBefore','createRangeIn','addRevision','change:numberOfChanges','comment','_activeViewTarget','getIndex','342KRxNdw','oldRevisionId','isObject','isEnabled','maxOffset','text','showNextChange','getRevisionRootsAttributes','513070tPZMFN','has','change:activeView','createRange','isInline','remove','ck-revision-history-root-','attributes','reconvertMarker','ck-revision-history-root-remove','_utils','wrap','isBlock','code','currentChangeNumber','_makeTape','init','end','isEqual','roots','mapViewToDom','isLimit','_update','test','vid_end','userId','WidgetToolbarRepository','forEach','markerName','editing','document','change:isEnabled','nextPosition','span','shift','name','removeClass','done','editingDowncast','_appendChild','isAfter','ck-suggestion-marker-split','object','removeMarker','_step','_removeUnsupportedChanges','schema','markerNameToElements','showPreviousChange','catch','newRevisionId','resolve','isAtEnd','unshift','commands','type','hasAttribute','concat','33910CiZwHh','stop','elementStart','isRemoveSuggestion','toViewRange','side','authors','isOnRoot','ck-suggestion-preview-marker-','_initInteractions','_joinTapes','plugins','consume','_sortAndFilterDiffChanges','map','level','changeId','ck-suggestion-marker-','uiElement','RevisionsRepository','forward','_markInsertions','elementEnd','_fixObsoleteTags','revision','markersStart','pairId','createUIElement','from','change:activeChange','getRevision','getAttributes','split','vid_start','compare','repository','_changeIdToChange','22kTYFkO','revisionHistoryLabel','addRoot','getAttribute','writer','14886VEVEHX','start','numberOfChanges','getWalker','then','keys','isAtStart','addMarker:revision-suggestion:insertion','ck-suggestion-preview-marker','removeAttribute','addClass','backward','isAdded','dataToMarker','insertions','low','locale','attributesAfter','mapper','updatePosition','getRoot','1800248llzGeU','length','push','findIndex','indexOf','startsWith','sort','revision-suggestion','getDomRoot','for','removeMarker:revision-suggestion','merge','_markMarkers','adapter','dataDowncast','deletion','change:isReady','removeMarker:revision','isAddSuggestion','createAttributeElement','suggestion:','2eYgPHZ','top','next','addRevisionData','affectsData','right','diffData','_setChanges','enqueueChange','_refreshStartEndIndex','bind','abs','endIndex','getClientRects','addMarker:revision-suggestion:deletion','getCustomProperty','unbindElementFromMarkerName','_data','set','includes','editor','range','model','get','ck-revision-history-root--active','find','getItems','attributesBefore','data','observeMarkers','revision-viewer','previousPosition','_getRevisionsRange','isCollapsed','showStack','delete','_getViewForChange','isIncorrect','RevisionHistoryUtils','toViewPosition','isAttached','listenTo','isRemoved','_markSuggestions','setAttribute','POSITIVE_INFINITY','createPositionFromPath','change','revisionHistoryAttachChange','_changeView','loadRevisionData','diff','values','isOfficialPlugin','markerToHighlight','softBreak','nodeAfter','_cleanMarkers','isBefore','ck-suggestion-marker-merge','attribute:vid','insertion','viewItem','domConverter','ck-revision-history-root-add','revisionHistory','ck-suggestion-marker--active','_revisions','_threeWayMerge','changes','rootName','item','mouseover','element','ck-suggestion-marker','2784rErKXl','left','ck-editor__editable__overlay','filter','forceDisabled','getChild','all','insert','_getChangeFromId','requires','clear','flat','toViewElement','revision-suggestion:','error','splice','_processTape','markerRange','_findChangeIdFromDomTarget','getRootNames'];_0x7d61=function(){return _0x2f67ec;};return _0x7d61();}import{RevisionDiff as _0x57ebc5}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x5e8841}from'es-toolkit/compat';function _0x2eb3(_0x2d14f4,_0x10a829){const _0x7d617d=_0x7d61();return _0x2eb3=function(_0x2eb374,_0x4257b8){_0x2eb374=_0x2eb374-0x17c;let _0x44e9ea=_0x7d617d[_0x2eb374];return _0x44e9ea;},_0x2eb3(_0x2d14f4,_0x10a829);}export class RevisionViewer extends _0x1787ae{[_0x239d53(0x19c)];[_0x239d53(0x1c5)]=null;[_0x239d53(0x290)];[_0x239d53(0x27c)];[_0x239d53(0x1fe)];[_0x239d53(0x19d)];[_0x239d53(0x23f)];static get[_0x239d53(0x22e)](){const _0xdba34f=_0x239d53;return _0xdba34f(0x262);}static get[_0x239d53(0x202)](){return!0x0;}static get[_0x239d53(0x268)](){return!0x0;}static get[_0x239d53(0x221)](){return[_0x126d64,_0x3da15,_0x4a40ca,_0x269c42];}constructor(_0x2cfbe1){const _0x257a2d=_0x239d53;super(_0x2cfbe1),this[_0x257a2d(0x19c)]=this[_0x257a2d(0x1e1)][_0x257a2d(0x184)][_0x257a2d(0x1e4)](_0x257a2d(0x18c)),this[_0x257a2d(0x290)]=this[_0x257a2d(0x1e1)][_0x257a2d(0x184)][_0x257a2d(0x1e4)](_0x257a2d(0x1f3)),this[_0x257a2d(0x1df)](_0x257a2d(0x275),null),this[_0x257a2d(0x1df)](_0x257a2d(0x273),null),this[_0x257a2d(0x27c)]=null,this[_0x257a2d(0x1df)](_0x257a2d(0x200),null),this[_0x257a2d(0x1df)](_0x257a2d(0x269),!0x1),this[_0x257a2d(0x1df)](_0x257a2d(0x281),!0x0),this['on'](_0x257a2d(0x2a5),(_0x44024d,_0x46042c,_0x555b07)=>{const _0x1d9fca=_0x257a2d;this[_0x1d9fca(0x275)]=null,this[_0x1d9fca(0x273)]=null,this[_0x1d9fca(0x1e1)][_0x1d9fca(0x2a3)][_0x1d9fca(0x236)][_0x1d9fca(0x1fc)](_0x4afac7=>{const _0x48be5c=_0x1d9fca;for(const _0x322647 of this[_0x48be5c(0x1e1)][_0x48be5c(0x2a3)][_0x48be5c(0x236)][_0x48be5c(0x2a4)][_0x48be5c(0x299)])_0x555b07?_0x4afac7[_0x48be5c(0x2aa)](_0x48be5c(0x21a),_0x322647):_0x4afac7[_0x48be5c(0x1ad)](_0x48be5c(0x21a),_0x322647);});}),this[_0x257a2d(0x1d7)](_0x257a2d(0x234))['to'](this,_0x257a2d(0x275),_0x10aa7d=>null!==_0x10aa7d),this[_0x257a2d(0x1d7)](_0x257a2d(0x294))['to'](this,_0x257a2d(0x269),this,_0x257a2d(0x200),this,_0x257a2d(0x275),(_0x58f022,_0x56de99,_0x37661e)=>_0x58f022&&_0x37661e?_0x56de99[_0x257a2d(0x212)][_0x257a2d(0x27d)](_0x37661e):0x0),this[_0x257a2d(0x1d7)](_0x257a2d(0x1a5))['to'](this,_0x257a2d(0x269),this,_0x257a2d(0x200),(_0x1f9f91,_0x1df204)=>_0x1f9f91?_0x1df204[_0x257a2d(0x212)][_0x257a2d(0x1b9)]:0x0),this[_0x257a2d(0x1fe)]=null,this[_0x257a2d(0x19d)]=new Map(),this[_0x257a2d(0x23f)]=this[_0x257a2d(0x1e1)][_0x257a2d(0x184)][_0x257a2d(0x1e4)](_0x3da15);}[_0x239d53(0x296)](){const _0x17d1f8=_0x239d53,_0x48b29d=this[_0x17d1f8(0x1e1)],_0x3c426a=new ShowChangeCommand(_0x48b29d,{'direction':_0x17d1f8(0x1ae)}),_0x6be17d=new ShowChangeCommand(_0x48b29d,{'direction':_0x17d1f8(0x18d)});(_0x48b29d[_0x17d1f8(0x2bc)][_0x17d1f8(0x22c)](_0x17d1f8(0x2b6),_0x3c426a),_0x48b29d[_0x17d1f8(0x2bc)][_0x17d1f8(0x22c)](_0x17d1f8(0x284),_0x6be17d),_0x48b29d[_0x17d1f8(0x2bc)][_0x17d1f8(0x22c)](_0x17d1f8(0x23d),new RestoreRevisionCommand(_0x48b29d)),this['on'](_0x17d1f8(0x27a),()=>{const _0x2f5126=_0x17d1f8;_0x3c426a[_0x2f5126(0x255)](),_0x6be17d[_0x2f5126(0x255)]();}),this[_0x17d1f8(0x240)](),this[_0x17d1f8(0x182)](),_0x48b29d[_0x17d1f8(0x25a)](_0x17d1f8(0x1eb)),_0x48b29d[_0x17d1f8(0x184)][_0x17d1f8(0x287)](_0x17d1f8(0x2a0)))&&_0x48b29d[_0x17d1f8(0x184)][_0x17d1f8(0x1e4)](_0x17d1f8(0x2a0))[_0x17d1f8(0x21c)](_0x17d1f8(0x1eb));}async[_0x239d53(0x254)](_0x107026){const _0x5be8b1=_0x239d53;return await this[_0x5be8b1(0x290)][_0x5be8b1(0x1ff)](_0x107026,this[_0x5be8b1(0x1c5)]),this[_0x5be8b1(0x290)][_0x5be8b1(0x254)](_0x107026);}async[_0x239d53(0x285)](_0x373dc0){const _0x4b8d37=_0x239d53;return await this[_0x4b8d37(0x290)][_0x4b8d37(0x1ff)](_0x373dc0,this[_0x4b8d37(0x1c5)]),this[_0x4b8d37(0x290)][_0x4b8d37(0x285)](_0x373dc0);}async[_0x239d53(0x19b)](_0x23fd6b,_0x521a8f,_0x59b1ee=!0x1){const _0x598489=_0x239d53;if(!this[_0x598489(0x281)])return;const _0xabdd70=this[_0x598489(0x200)],_0xcd6d7a=this[_0x598489(0x19c)],_0x185748=_0x598489(0x25c)==typeof _0x23fd6b?_0xcd6d7a[_0x598489(0x197)](_0x23fd6b):_0x23fd6b,_0x5dec5f=_0x598489(0x25c)==typeof _0x521a8f?_0xcd6d7a[_0x598489(0x197)](_0x521a8f):_0x521a8f,_0x2cd189=_0x185748['id'],_0x48755e=_0x5dec5f?_0x5dec5f['id']:null;if(!_0x59b1ee&&this[_0x598489(0x200)]&&this[_0x598489(0x200)][_0x598489(0x2b8)]===_0x2cd189&&this[_0x598489(0x200)][_0x598489(0x27f)]===_0x48755e)return Promise[_0x598489(0x2b9)]();this[_0x598489(0x269)]=!0x1,this[_0x598489(0x273)]=null,this[_0x598489(0x275)]=null,this[_0x598489(0x200)]=new _0x57ebc5(_0x2cd189,_0x48755e);const _0x948e87=this[_0x598489(0x1ed)](_0x185748,_0x5dec5f,!0x0)[_0x598489(0x187)](_0x13b3ce=>this[_0x598489(0x290)][_0x598489(0x1ff)](_0x13b3ce,this[_0x598489(0x1c5)]));return _0x948e87[_0x598489(0x1ba)](new Promise(_0xc4b680=>{setTimeout(_0xc4b680,0x14);})),Promise[_0x598489(0x21e)](_0x948e87)[_0x598489(0x1a7)](()=>{const _0x286555=_0x598489;if(!this[_0x286555(0x281)])return;this[_0x286555(0x26c)]();const _0x1097c5=this[_0x286555(0x24f)](_0x2cd189,_0x48755e);for(const _0x3b1fef of _0x1097c5[_0x286555(0x212)])this[_0x286555(0x19d)][_0x286555(0x1df)](_0x3b1fef['id'],_0x3b1fef);this[_0x286555(0x1e1)][_0x286555(0x1e3)][_0x286555(0x1d5)]({'isUndoable':!0x1},_0x4cf2b0=>{const _0x5cc1d1=_0x286555;for(const _0x1a1c65 of this[_0x5cc1d1(0x1e1)][_0x5cc1d1(0x1e3)][_0x5cc1d1(0x2a4)][_0x5cc1d1(0x22b)]())_0x4cf2b0[_0x5cc1d1(0x26d)](_0x1a1c65);for(const _0x382701 of Object[_0x5cc1d1(0x1a8)](_0x1097c5[_0x5cc1d1(0x1e3)])){const _0x2744f6=_0x4cf2b0[_0x5cc1d1(0x1a0)](_0x382701);for(const _0x314944 of Object[_0x5cc1d1(0x1a8)](_0x1097c5[_0x5cc1d1(0x28d)][_0x382701]))_0x4cf2b0[_0x5cc1d1(0x1f9)](_0x314944,_0x1097c5[_0x5cc1d1(0x28d)][_0x382701][_0x314944],_0x2744f6);_0x4cf2b0[_0x5cc1d1(0x21f)](_0x1097c5[_0x5cc1d1(0x1e3)][_0x382701],_0x2744f6,0x0);}}),this[_0x286555(0x200)][_0x286555(0x1d4)](this[_0x286555(0x186)](_0x1097c5[_0x286555(0x212)])),this[_0x286555(0x269)]=!0x0;})[_0x598489(0x2b7)](_0x2418dd=>{const _0x38e77c=_0x598489;console[_0x38e77c(0x226)](_0x2418dd),this[_0x38e77c(0x26c)](),_0xabdd70&&(this[_0x38e77c(0x200)]=_0xabdd70),this[_0x38e77c(0x269)]=!0x0;});}[_0x239d53(0x1d0)](_0x1098bf,_0x5d1de5){const _0xcf2c5f=_0x239d53,_0x32ede9=this[_0xcf2c5f(0x19c)][_0xcf2c5f(0x239)](_0x1098bf);return _0x32ede9['on'](_0xcf2c5f(0x29c),(_0x2e1b33,_0x4f66ed,_0xf3a2fa)=>_0x5d1de5(_0x4f66ed,_0xf3a2fa,_0x32ede9)),this[_0xcf2c5f(0x19c)][_0xcf2c5f(0x279)](_0x32ede9),_0x32ede9;}[_0x239d53(0x26c)](){const _0x347826=_0x239d53;this[_0x347826(0x275)]=null,this[_0x347826(0x206)](),this[_0x347826(0x1fe)]&&this[_0x347826(0x1fe)][_0x347826(0x241)](),this[_0x347826(0x1fe)]=null,this[_0x347826(0x19d)][_0x347826(0x222)](),this[_0x347826(0x1e1)][_0x347826(0x1e3)][_0x347826(0x1d5)]({'isUndoable':!0x1},_0xd34434=>{const _0x27b34d=_0x347826;for(const _0x5a069f of this[_0x27b34d(0x1e1)][_0x27b34d(0x1e3)][_0x27b34d(0x2a4)][_0x27b34d(0x22b)]())_0xd34434[_0x27b34d(0x26d)](_0x5a069f);});}[_0x239d53(0x186)](_0xb5ea0a){const _0x3c6cb5=_0x239d53,_0x54e04c=[],_0x2d12a2=new Map();for(const _0x38ef9e of this[_0x3c6cb5(0x1e1)][_0x3c6cb5(0x1e3)][_0x3c6cb5(0x2a4)][_0x3c6cb5(0x22b)]()){const _0x28881b=this[_0x3c6cb5(0x1e1)][_0x3c6cb5(0x2a3)][_0x3c6cb5(0x236)][_0x3c6cb5(0x1c0)](_0x38ef9e);if(!_0x28881b)continue;const _0xb10954=_0x28881b[_0x3c6cb5(0x1da)]()[_0x3c6cb5(0x214)](0x0);_0xb10954&&(_0x54e04c[_0x3c6cb5(0x1ba)](_0x38ef9e),_0x2d12a2[_0x3c6cb5(0x1df)](_0x38ef9e,_0xb10954));}return _0x54e04c[_0x3c6cb5(0x1be)]((_0x1b0b6e,_0x37468e)=>{const _0xa296e0=_0x3c6cb5,_0x3a79=_0x2d12a2[_0xa296e0(0x1e4)](_0x1b0b6e),_0x5d3a03=_0x2d12a2[_0xa296e0(0x1e4)](_0x37468e);return _0x3a79['y']-_0x5d3a03['y']||_0x3a79['x']-_0x5d3a03['x'];}),(_0xb5ea0a=_0xb5ea0a[_0x3c6cb5(0x21b)](_0x37fedc=>_0x54e04c[_0x3c6cb5(0x1e0)](_0x37fedc[_0x3c6cb5(0x213)])))[_0x3c6cb5(0x1be)]((_0x352bac,_0x7297ba)=>_0x54e04c[_0x3c6cb5(0x1bc)](_0x352bac[_0x3c6cb5(0x213)])-_0x54e04c[_0x3c6cb5(0x1bc)](_0x7297ba[_0x3c6cb5(0x213)])),_0xb5ea0a;}[_0x239d53(0x295)](_0x525c0b){const _0xe74ca0=_0x239d53,_0x1df6a4=Array[_0xe74ca0(0x195)](_0x525c0b[_0xe74ca0(0x26f)])[_0xe74ca0(0x21b)](([_0x3c5632,_0x500283])=>_0x3c5632[_0xe74ca0(0x1bd)](_0xe74ca0(0x26b))&&!_0x500283[_0xe74ca0(0x1ee)]),_0x33701d=Array[_0xe74ca0(0x195)](this[_0xe74ca0(0x1e1)][_0xe74ca0(0x1e3)][_0xe74ca0(0x278)](_0x525c0b)[_0xe74ca0(0x1a6)]({'singleCharacters':!0x0}));if(0x0!=_0x1df6a4[_0xe74ca0(0x1b9)])for(const _0x2d63cb of _0x33701d){const [_0x11622e,_0xab92e8]=_0x1df6a4[0x0],[,_0x465943,_0x34f283]=_0x11622e[_0xe74ca0(0x199)](':');if(_0xab92e8[_0xe74ca0(0x297)][_0xe74ca0(0x298)](_0x2d63cb[_0xe74ca0(0x2a6)])&&_0x1df6a4[_0xe74ca0(0x2a8)](),(_0x2d63cb[_0xe74ca0(0x1ec)][_0xe74ca0(0x298)](_0xab92e8[_0xe74ca0(0x1a4)])||_0x2d63cb[_0xe74ca0(0x1ec)][_0xe74ca0(0x2ae)](_0xab92e8[_0xe74ca0(0x1a4)]))&&(_0xe74ca0(0x20a)==_0x465943?_0x2d63cb[_0xe74ca0(0x1af)]={'userId':_0x34f283}:_0xe74ca0(0x1c7)==_0x465943&&(_0x2d63cb[_0xe74ca0(0x1f7)]={'userId':_0x34f283})),0x0==_0x1df6a4[_0xe74ca0(0x1b9)])break;}return _0x33701d;}[_0x239d53(0x1d6)](_0x3362d0){const _0x5854d6=_0x239d53,_0x1e96fc=new Map();for(let _0x3b803e=0x0;_0x3b803e<_0x3362d0[_0x5854d6(0x1b9)];_0x3b803e++)_0x5854d6(0x283)===_0x3362d0[_0x3b803e][_0x5854d6(0x2bd)]?(_0x3362d0[_0x3b803e][_0x5854d6(0x214)][_0x5854d6(0x25b)]=_0x3b803e,_0x3362d0[_0x3b803e][_0x5854d6(0x214)][_0x5854d6(0x1d9)]=_0x3b803e):(_0x5854d6(0x2c2)===_0x3362d0[_0x3b803e][_0x5854d6(0x2bd)]?_0x3362d0[_0x3b803e][_0x5854d6(0x214)][_0x5854d6(0x25b)]=_0x3b803e:_0x5854d6(0x18f)===_0x3362d0[_0x3b803e][_0x5854d6(0x2bd)]&&(_0x3362d0[_0x3b803e][_0x5854d6(0x214)][_0x5854d6(0x1d9)]=_0x3b803e),_0x1e96fc[_0x5854d6(0x1df)](_0x3362d0[_0x3b803e]['id'],_0x3b803e));for(const _0x5913a3 of _0x1e96fc[_0x5854d6(0x201)]())_0x5854d6(0x2c2)===_0x3362d0[_0x5913a3][_0x5854d6(0x2bd)]?_0x3362d0[_0x5913a3][_0x5854d6(0x214)][_0x5854d6(0x1d9)]=_0x1e96fc[_0x5854d6(0x1e4)](_0x3362d0[_0x5913a3][_0x5854d6(0x193)]):_0x5854d6(0x18f)===_0x3362d0[_0x5913a3][_0x5854d6(0x2bd)]&&(_0x3362d0[_0x5913a3][_0x5854d6(0x214)][_0x5854d6(0x25b)]=_0x1e96fc[_0x5854d6(0x1e4)](_0x3362d0[_0x5913a3][_0x5854d6(0x193)]));}[_0x239d53(0x228)](_0x3719c7){const _0x497781=_0x239d53;for(let _0x266075=0x0;_0x266075<_0x3719c7[_0x497781(0x1b9)];_0x266075++){if(_0x497781(0x2c2)===_0x3719c7[_0x266075][_0x497781(0x2bd)])_0x3719c7[_0x266075][_0x497781(0x214)][_0x497781(0x25b)]=_0x266075;else{if(_0x497781(0x18f)===_0x3719c7[_0x266075][_0x497781(0x2bd)]){_0x3719c7[_0x266075][_0x497781(0x214)][_0x497781(0x1d9)]=_0x266075;const _0x2ef834=_0x3719c7[_0x266075][_0x497781(0x214)][_0x497781(0x25b)];_0x3719c7[_0x2ef834][_0x497781(0x193)]=_0x3719c7[_0x266075]['id'],_0x3719c7[_0x266075][_0x497781(0x193)]=_0x3719c7[_0x2ef834]['id'];}else _0x3719c7[_0x266075][_0x497781(0x214)][_0x497781(0x25b)]=_0x266075,_0x3719c7[_0x266075][_0x497781(0x214)][_0x497781(0x1d9)]=_0x266075,_0x3719c7[_0x266075][_0x497781(0x193)]=null;}_0x3719c7[_0x266075][_0x497781(0x192)]||(_0x3719c7[_0x266075][_0x497781(0x192)]=[],_0x3719c7[_0x266075][_0x497781(0x246)]=[]);}}[_0x239d53(0x18e)](_0x3bc174,_0x1f881d){const _0x3bf535=_0x239d53,_0x3a2631=_0x3bc174[_0x3bf535(0x21b)](_0x4c729f=>!_0x4c729f[_0x3bf535(0x1af)]);for(let _0x164b73=0x0;_0x164b73<_0x1f881d[_0x3bf535(0x1b9)];_0x164b73++)_0x1f881d[_0x164b73][_0x3bf535(0x1af)]&&(_0x3a2631[_0x164b73][_0x3bf535(0x1af)]=_0x1f881d[_0x164b73][_0x3bf535(0x1af)]);}[_0x239d53(0x24f)](_0x3f0246,_0x39a50e=null){const _0x4efcfa=_0x239d53,_0x1599a0=this[_0x4efcfa(0x19c)][_0x4efcfa(0x197)](_0x3f0246),_0xadd032=_0x39a50e?this[_0x4efcfa(0x19c)][_0x4efcfa(0x197)](_0x39a50e):null,_0x5d2021=this[_0x4efcfa(0x1ed)](_0x1599a0,_0xadd032),_0x54b26f=_0x5d2021[_0x5d2021[_0x4efcfa(0x1b9)]-0x1],_0xaf43af=new Map(),_0x5757d6={'model':{},'attributes':{},'changes':[]},_0x460241=new Set(),_0x5a94d2=new Map();for(let _0x39e8a5=_0x5d2021[_0x4efcfa(0x1b9)]-0x1;_0x39e8a5>=0x0;_0x39e8a5--){const _0x38dd46=_0x5d2021[_0x39e8a5];for(const _0x5e309c of Object[_0x4efcfa(0x1a8)](_0x38dd46[_0x4efcfa(0x1d3)]))if(_0x38dd46[_0x4efcfa(0x1d3)][_0x5e309c][_0x4efcfa(0x267)]){const _0x5b833c=_0x38dd46[_0x4efcfa(0x1d3)][_0x5e309c][_0x4efcfa(0x267)];_0x5b833c[_0x4efcfa(0x1f5)]?(_0x460241[_0x4efcfa(0x22c)](_0x5e309c),_0x5a94d2[_0x4efcfa(0x287)](_0x5e309c)&&_0x5a94d2[_0x4efcfa(0x1e4)](_0x5e309c)[_0x4efcfa(0x29f)]==_0x5b833c[_0x4efcfa(0x29f)]?_0x5a94d2[_0x4efcfa(0x1f0)](_0x5e309c):_0x5a94d2[_0x4efcfa(0x1df)](_0x5e309c,_0x5b833c)):_0x5a94d2[_0x4efcfa(0x287)](_0x5e309c)?(_0x460241[_0x4efcfa(0x1f0)](_0x5e309c),_0x5a94d2[_0x4efcfa(0x1f0)](_0x5e309c)):(_0x460241[_0x4efcfa(0x22c)](_0x5e309c),_0x5a94d2[_0x4efcfa(0x1df)](_0x5e309c,_0x5b833c));}else _0x460241[_0x4efcfa(0x22c)](_0x5e309c);}for(const _0xeddd40 of _0x460241){const _0x231c63=_0x5a94d2[_0x4efcfa(0x287)](_0xeddd40)&&!_0x5a94d2[_0x4efcfa(0x1e4)](_0xeddd40)[_0x4efcfa(0x1f5)];let _0x7f66af=_0x231c63?_0x5d2021[_0x4efcfa(0x1b9)]-0x1:0x0;const _0x671552=_0x231c63?-0x1:0x1;for(;_0x5d2021[_0x7f66af];){const _0x939a42=_0x5d2021[_0x7f66af];if(_0x939a42[_0x4efcfa(0x1d3)][_0xeddd40]){const _0x4d8031=_0x231c63?_0x939a42[_0x4efcfa(0x1d3)][_0xeddd40][_0x4efcfa(0x1e8)]:_0x939a42[_0x4efcfa(0x1d3)][_0xeddd40][_0x4efcfa(0x1b4)];_0x5757d6[_0x4efcfa(0x28d)][_0xeddd40]=_0x4d8031?_0x5e8841(_0x4d8031):{};break;}_0x7f66af+=_0x671552;}}for(const _0x2e8697 of _0x5d2021){_0x2e8697[_0x4efcfa(0x1e3)]={};for(const _0x1c6561 of _0x2e8697[_0x4efcfa(0x17f)])_0xaf43af[_0x4efcfa(0x1df)](_0x1c6561['id'],_0x1c6561);for(const _0x533ca7 of _0x460241){const _0x3eee70=_0x2e8697[_0x4efcfa(0x1d3)][_0x533ca7]?_0x2e8697[_0x4efcfa(0x1d3)][_0x533ca7][_0x4efcfa(0x1b1)]:'[]',_0x3c0827=_0x2e8697[_0x4efcfa(0x1d3)][_0x533ca7]?_0x2e8697[_0x4efcfa(0x1d3)][_0x533ca7][_0x4efcfa(0x25f)]:'[]';_0x2e8697[_0x4efcfa(0x1e3)][_0x533ca7]={'insertions':this[_0x4efcfa(0x290)][_0x4efcfa(0x243)](_0x3eee70),'deletions':this[_0x4efcfa(0x290)][_0x4efcfa(0x243)](_0x3c0827)};}}for(const _0x5f538b of _0x460241){let _0x5d5deb=null,_0xafae6d=0x0;const _0x15d9e5=new Map(Array[_0x4efcfa(0x195)](_0x1599a0[_0x4efcfa(0x1e3)][_0x5f538b][_0x4efcfa(0x1b1)][_0x4efcfa(0x26f)])[_0x4efcfa(0x21b)](([_0x4ab7b4])=>!_0x4ab7b4[_0x4efcfa(0x1bd)](_0x4efcfa(0x26b))));let _0x5a0e37=0x0;for(const _0x105d01 of _0x5d2021){const _0x1473e5=this[_0x4efcfa(0x295)](_0x105d01[_0x4efcfa(0x1e3)][_0x5f538b][_0x4efcfa(0x1b1)]);_0x105d01==_0x1599a0?(_0x5d5deb=_0x1473e5,_0xafae6d=_0x5d5deb[_0x4efcfa(0x1b9)],_0x5d5deb[_0x4efcfa(0x2a1)](_0x290239=>{_0x290239['id']=_0x5a0e37++;}),this[_0x4efcfa(0x228)](_0x5d5deb)):this[_0x4efcfa(0x18e)](_0x5d5deb,_0x1473e5);const _0x21c993=_0x5d5deb[_0x4efcfa(0x21b)](_0x560cb4=>!_0x560cb4[_0x4efcfa(0x1af)])[_0x4efcfa(0x187)](_0x1eada0=>_0x1eada0['id']);let _0x3c1273=0x0;const _0x25b9d6=this[_0x4efcfa(0x295)](_0x105d01[_0x4efcfa(0x1e3)][_0x5f538b][_0x4efcfa(0x25f)]);_0x25b9d6[_0x4efcfa(0x2a1)](_0x1fa705=>{const _0x3851dd=_0x4efcfa;_0x1fa705[_0x3851dd(0x1f7)]?_0x1fa705['id']=_0xafae6d++:_0x1fa705['id']=_0x21c993[_0x3c1273++];}),this[_0x4efcfa(0x228)](_0x25b9d6),this[_0x4efcfa(0x23e)](_0x5d5deb,_0x4efcfa(0x1af)),this[_0x4efcfa(0x23e)](_0x25b9d6,_0x4efcfa(0x1f7)),_0x105d01==_0x1599a0&&this[_0x4efcfa(0x1c4)](_0x5d5deb,_0x15d9e5),_0x5d5deb=this[_0x4efcfa(0x183)](_0x5d5deb,_0x25b9d6),this[_0x4efcfa(0x1d6)](_0x5d5deb),this[_0x4efcfa(0x23e)](_0x5d5deb,_0x4efcfa(0x1f7));}_0x5d5deb=_0x5d5deb[_0x4efcfa(0x21b)](_0x237e00=>!(_0x237e00[_0x4efcfa(0x1af)]&&_0x237e00[_0x4efcfa(0x1f7)]));const _0x136b39=new Map(_0x54b26f[_0x4efcfa(0x1e3)][_0x5f538b][_0x4efcfa(0x25f)][_0x4efcfa(0x26f)]),_0x2f68ec=new Set(_0x15d9e5[_0x4efcfa(0x1a8)]());for(const _0x42abaf of _0x136b39[_0x4efcfa(0x1a8)]())_0x2f68ec[_0x4efcfa(0x1f0)](_0x42abaf);this[_0x4efcfa(0x1f8)](_0x5d5deb,_0x2f68ec),this[_0x4efcfa(0x190)](_0x5d5deb),_0x5d5deb=this[_0x4efcfa(0x259)](_0x5d5deb),_0x5d5deb=this[_0x4efcfa(0x265)](_0x5d5deb),_0x5d5deb=this[_0x4efcfa(0x2b3)](_0x5d5deb);const {root:_0x48f3d7,changes:_0x17b53c}=this[_0x4efcfa(0x24a)](_0x5d5deb,_0xaf43af,_0x5f538b);_0x5757d6[_0x4efcfa(0x1e3)][_0x5f538b]=_0x48f3d7;const _0x187d4e=_0x5a94d2[_0x4efcfa(0x1e4)](_0x5f538b);if(_0x187d4e){const _0x4cf476=_0xaf43af[_0x4efcfa(0x1e4)](_0x187d4e[_0x4efcfa(0x29f)]),_0x3a1a72=new _0x36a410({'author':_0x4cf476,'type':_0x187d4e[_0x4efcfa(0x1f5)]?_0x4efcfa(0x22c):_0x4efcfa(0x28b),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5f538b});_0x17b53c[_0x4efcfa(0x2bb)](_0x3a1a72),_0x5757d6[_0x4efcfa(0x28d)][_0x5f538b][_0x4efcfa(0x1fd)]=_0x3a1a72['id'];}_0x5757d6[_0x4efcfa(0x212)]=_0x5757d6[_0x4efcfa(0x212)][_0x4efcfa(0x2bf)](_0x17b53c);}return _0x5757d6;}[_0x239d53(0x1c4)](_0x34a3a3,_0x129a30){const _0x4c53c3=_0x239d53;for(let _0x2e0c41=0x0;_0x2e0c41<_0x34a3a3[_0x4c53c3(0x1b9)];_0x2e0c41++)for(const [_0x40a7ab,_0x1efa37]of _0x129a30)!_0x1efa37[_0x4c53c3(0x1ee)]&&_0x1efa37[_0x4c53c3(0x1a4)][_0x4c53c3(0x298)](_0x34a3a3[_0x2e0c41][_0x4c53c3(0x1ec)])&&_0x34a3a3[_0x2e0c41][_0x4c53c3(0x192)][_0x4c53c3(0x1ba)](_0x40a7ab),_0x1efa37[_0x4c53c3(0x297)][_0x4c53c3(0x298)](_0x34a3a3[_0x2e0c41][_0x4c53c3(0x2a6)])&&_0x34a3a3[_0x2e0c41][_0x4c53c3(0x246)][_0x4c53c3(0x1ba)](_0x40a7ab);}[_0x239d53(0x183)](_0x2da98c,_0x3b0111){const _0x573d8a=_0x239d53;let _0x221301=[],_0x37a269=0x0,_0x3bbc30=0x0;for(;_0x37a269<_0x2da98c[_0x573d8a(0x1b9)]||_0x3bbc30<_0x3b0111[_0x573d8a(0x1b9)];){const _0x4cf902=_0x2da98c[_0x37a269]||{},_0x5ac643=_0x3b0111[_0x3bbc30]||{};if(_0x4cf902['id']==_0x5ac643['id'])_0x37a269++,_0x3bbc30++,_0x221301[_0x573d8a(0x1ba)](_0x4cf902);else{if(_0x5ac643[_0x573d8a(0x1f7)]&&_0x4cf902[_0x573d8a(0x1af)]){const {commonTape:_0xd479b2,iEnd:_0x320d96,jEnd:_0x4d4349}=this[_0x573d8a(0x211)](_0x2da98c,_0x37a269,_0x3b0111,_0x3bbc30);_0x221301=_0x221301[_0x573d8a(0x2bf)](_0xd479b2),_0x37a269=_0x320d96,_0x3bbc30=_0x4d4349;}else _0x5ac643[_0x573d8a(0x1f7)]?(_0x3bbc30++,_0x221301[_0x573d8a(0x1ba)](_0x5ac643)):(_0x37a269++,_0x221301[_0x573d8a(0x1ba)](_0x4cf902));}}return _0x221301;}[_0x239d53(0x1f8)](_0x157cff,_0x1c1c0c){const _0x51738a=_0x239d53,_0xbc1d7=[];for(let _0x592d68=0x0;_0x592d68<_0x157cff[_0x51738a(0x1b9)];_0x592d68++){for(let _0x5daa1f=0x0;_0x5daa1f<_0x157cff[_0x592d68][_0x51738a(0x192)][_0x51738a(0x1b9)];_0x5daa1f++){const _0x2be10f=_0x157cff[_0x592d68][_0x51738a(0x192)][_0x5daa1f];if(!_0x1c1c0c[_0x51738a(0x287)](_0x2be10f))continue;const {group:_0x55e99a,type:_0x49b3ae,authorId:_0x1c6576}=_0x42f2a8(_0x2be10f);_0x51738a(0x1bf)!=_0x55e99a||_0x51738a(0x20a)!=_0x49b3ae&&_0x51738a(0x1c7)!=_0x49b3ae||(_0xbc1d7[_0x51738a(0x2bb)]({'type':_0x49b3ae,'name':_0x2be10f,'userId':_0x1c6576}),_0x157cff[_0x592d68][_0x51738a(0x192)][_0x51738a(0x227)](_0x5daa1f,0x1),_0x5daa1f--);}_0x53f09e(_0x157cff[_0x592d68]);for(let _0xbb4ada=0x0;_0xbb4ada<_0x157cff[_0x592d68][_0x51738a(0x246)][_0x51738a(0x1b9)];_0xbb4ada++){const _0x5f34dc=_0x157cff[_0x592d68][_0x51738a(0x246)][_0xbb4ada];if(!_0x1c1c0c[_0x51738a(0x287)](_0x5f34dc))continue;const {group:_0x3945e4,type:_0x114110}=_0x42f2a8(_0x5f34dc);if(_0x51738a(0x1bf)!=_0x3945e4||_0x51738a(0x20a)!=_0x114110&&_0x51738a(0x1c7)!=_0x114110)continue;_0x157cff[_0x592d68][_0x51738a(0x246)][_0x51738a(0x227)](_0xbb4ada,0x1),_0xbb4ada--;const _0x2bbd16=_0xbc1d7[_0x51738a(0x1bb)](_0x37a7e3=>_0x37a7e3[_0x51738a(0x2a9)]==_0x5f34dc);_0x2bbd16>-0x1&&_0xbc1d7[_0x51738a(0x227)](_0x2bbd16,0x1);}}function _0x42f2a8(_0x5b49ed){const _0x4ef03f=_0x51738a,_0x1c6ee2=_0x5b49ed[_0x4ef03f(0x199)](':');return{'group':_0x1c6ee2[0x0],'type':_0x1c6ee2[0x1],'subType':_0x1c6ee2[_0x4ef03f(0x1b9)]>=0x5?_0x1c6ee2[0x2]:null,'id':_0x1c6ee2[_0x4ef03f(0x1b9)]<0x5?_0x1c6ee2[0x2]:_0x1c6ee2[0x3],'authorId':_0x1c6ee2[_0x4ef03f(0x1b9)]<0x5?_0x1c6ee2[0x3]:_0x1c6ee2[0x4],'markerCount':0x6==_0x1c6ee2[_0x4ef03f(0x1b9)]?_0x1c6ee2[0x5]:null};}function _0x53f09e(_0x150359){const _0x2fafa3=_0x51738a;for(let _0x13f770=0x0;_0x13f770<_0xbc1d7[_0x2fafa3(0x1b9)];_0x13f770++){if(_0x150359[_0x2fafa3(0x1af)]&&_0x2fafa3(0x20a)==_0xbc1d7[_0x13f770][_0x2fafa3(0x2bd)]&&_0x150359[_0x2fafa3(0x1af)][_0x2fafa3(0x29f)]==_0xbc1d7[_0x13f770][_0x2fafa3(0x29f)])return _0x150359[_0x2fafa3(0x1ca)]=_0xbc1d7[_0x13f770],void delete _0x150359[_0x2fafa3(0x1af)];if(!_0x150359[_0x2fafa3(0x1af)]&&!_0x150359[_0x2fafa3(0x1f7)]&&_0x2fafa3(0x1c7)==_0xbc1d7[_0x13f770][_0x2fafa3(0x2bd)])return void(_0x150359[_0x2fafa3(0x17c)]=_0xbc1d7[_0x13f770]);}}}[_0x239d53(0x23e)](_0x344aed,_0x532f75){const _0x2aa85b=_0x239d53;let _0x38e2bd=0x0,_0x119fab=!0x1;const _0x1a8ddb=new Map();for(const _0x596921 of _0x344aed)_0x596921[_0x532f75]?_0x119fab&&(_0x38e2bd++,_0x119fab=!0x1):(_0x38e2bd++,_0x119fab=!0x0),_0x1a8ddb[_0x2aa85b(0x1df)](_0x596921['id'],_0x38e2bd);for(let _0x1a5a1f=0x0;_0x1a5a1f<_0x344aed[_0x2aa85b(0x1b9)];_0x1a5a1f++){if(_0x2aa85b(0x1f7)==_0x532f75&&_0x344aed[_0x1a5a1f][_0x2aa85b(0x1af)]||_0x2aa85b(0x1af)==_0x532f75&&_0x344aed[_0x1a5a1f][_0x2aa85b(0x1f7)])continue;if(_0x2aa85b(0x283)==_0x344aed[_0x1a5a1f][_0x2aa85b(0x2bd)]){_0x344aed[_0x1a5a1f][_0x2aa85b(0x238)]=0x0;continue;}const _0x35bc4c=_0x1a8ddb[_0x2aa85b(0x1e4)](_0x344aed[_0x1a5a1f][_0x2aa85b(0x193)]),_0x5db589=_0x1a8ddb[_0x2aa85b(0x1e4)](_0x344aed[_0x1a5a1f]['id']);_0x344aed[_0x1a5a1f][_0x2aa85b(0x238)]=_0x35bc4c-_0x5db589;}}[_0x239d53(0x1ed)](_0x16b2c1,_0x44bbd1,_0x4e804a=!0x1){const _0x421a29=_0x239d53,_0x1cd59a=[];let _0x238d59=this[_0x421a29(0x19c)][_0x421a29(0x27d)](_0x16b2c1),_0x417be2=this[_0x421a29(0x19c)][_0x421a29(0x27d)](_0x44bbd1);for(-0x1==_0x417be2&&(_0x417be2=this[_0x421a29(0x19c)][_0x421a29(0x210)][_0x421a29(0x1b9)],_0x4e804a=!0x1);_0x238d59<_0x417be2;)_0x1cd59a[_0x421a29(0x1ba)](this[_0x421a29(0x19c)][_0x421a29(0x197)](_0x238d59)),_0x238d59++;return _0x4e804a&&_0x1cd59a[_0x421a29(0x1ba)](this[_0x421a29(0x19c)][_0x421a29(0x197)](_0x238d59)),_0x1cd59a;}[_0x239d53(0x211)](_0xa94396,_0x2e4b2a,_0x61ad26,_0x207b43){const _0x1eee18=_0x239d53,_0x12da38=this[_0x1eee18(0x1e1)][_0x1eee18(0x1e3)][_0x1eee18(0x2b4)];let _0x38c308=_0x2e4b2a;for(;_0xa94396[_0x38c308]&&_0xa94396[_0x38c308][_0x1eee18(0x1af)];)_0x38c308++;let _0x464401=_0x207b43;for(;_0x61ad26[_0x464401]&&_0x61ad26[_0x464401][_0x1eee18(0x1f7)];)_0x464401++;_0x269b95(_0xa94396,_0x2e4b2a,_0x38c308),_0x269b95(_0x61ad26,_0x207b43,_0x464401);const _0x1da2fb=_0x61ad26[_0x1eee18(0x271)](_0x207b43,_0x464401)[_0x1eee18(0x2bf)](_0xa94396[_0x1eee18(0x271)](_0x2e4b2a,_0x38c308));return _0x1da2fb[_0x1eee18(0x1be)]((_0x1a9630,_0x3dd409)=>_0x1a9630[_0x1eee18(0x17e)]!=_0x3dd409[_0x1eee18(0x17e)]?_0x1a9630[_0x1eee18(0x17e)]-_0x3dd409[_0x1eee18(0x17e)]:_0x1a9630[_0x1eee18(0x188)]!=_0x3dd409[_0x1eee18(0x188)]?_0x1a9630[_0x1eee18(0x188)]-_0x3dd409[_0x1eee18(0x188)]:_0x1a9630[_0x1eee18(0x238)]!=_0x3dd409[_0x1eee18(0x238)]?_0x3dd409[_0x1eee18(0x238)]-_0x1a9630[_0x1eee18(0x238)]:!!_0x1a9630[_0x1eee18(0x1af)]!=!!_0x3dd409[_0x1eee18(0x1af)]?-0x1==_0x1a9630[_0x1eee18(0x17e)]||0x0==_0x1a9630[_0x1eee18(0x17e)]?_0x1a9630[_0x1eee18(0x1af)]?-0x1:0x1:_0x1a9630[_0x1eee18(0x1af)]?0x1:-0x1:_0x1a9630[_0x1eee18(0x231)]-_0x3dd409[_0x1eee18(0x231)]),{'commonTape':_0x1da2fb,'iEnd':_0x38c308,'jEnd':_0x464401};function _0x269b95(_0x1f6672,_0xa2d477,_0x21b952){const _0x854e9a=_0x1eee18;let _0x1842bb=-0x1,_0x4644aa=Number[_0x854e9a(0x1fa)],_0xbcdb2=!0x0;for(let _0x56c788=_0xa2d477;_0x56c788<_0x21b952;_0x56c788++)if(_0x12da38[_0x854e9a(0x28a)](_0x1f6672[_0x56c788][_0x854e9a(0x214)])||(_0xbcdb2=!0x1),_0x1f6672[_0x56c788][_0x854e9a(0x214)][_0x854e9a(0x25b)]<_0xa2d477&&(_0x1842bb=_0x56c788),_0x1f6672[_0x56c788][_0x854e9a(0x214)][_0x854e9a(0x1d9)]>=_0x21b952){_0x4644aa=_0x56c788;break;}_0xbcdb2&&(_0x1842bb=_0x21b952-0x1);for(let _0x161896=_0xa2d477;_0x161896<_0x21b952;_0x161896++)_0x1f6672[_0x161896][_0x854e9a(0x17e)]=_0x161896<=_0x1842bb?-0x1:_0x161896<_0x4644aa?0x0:0x1,_0x1f6672[_0x161896][_0x854e9a(0x231)]=_0x161896;let _0x7d43f2=0x0;for(let _0x586cd7=_0xa2d477;_0x586cd7<=_0x1842bb;_0x586cd7++)0x0==_0x1f6672[_0x586cd7][_0x854e9a(0x238)]?_0x1f6672[_0x586cd7][_0x854e9a(0x188)]=_0x7d43f2:(_0x7d43f2++,_0x1f6672[_0x586cd7][_0x854e9a(0x188)]=_0x7d43f2,_0x7d43f2++);for(let _0x26c40d=_0xa2d477;_0x26c40d<_0x21b952;_0x26c40d++)0x0==_0x1f6672[_0x26c40d][_0x854e9a(0x17e)]&&(_0x1f6672[_0x26c40d][_0x854e9a(0x188)]=_0x7d43f2);_0x7d43f2=0x0;for(let _0x35ed7d=_0x21b952-0x1;_0x35ed7d>=_0x4644aa;_0x35ed7d--)0x0==_0x1f6672[_0x35ed7d][_0x854e9a(0x238)]?_0x1f6672[_0x35ed7d][_0x854e9a(0x188)]=_0x7d43f2:(_0x7d43f2--,_0x1f6672[_0x35ed7d][_0x854e9a(0x188)]=_0x7d43f2,_0x7d43f2--);}}[_0x239d53(0x190)](_0x1f1b1a){const _0x3b50d0=_0x239d53,_0x19fd98=new Map(),_0x8b7f12=this[_0x3b50d0(0x1e1)][_0x3b50d0(0x1e3)][_0x3b50d0(0x2b4)];for(let _0x5a19ad=0x1;_0x5a19ad<_0x1f1b1a[_0x3b50d0(0x1b9)];_0x5a19ad++){let _0x40026f,_0x4cc5d5,_0x155739;const _0x437280=_0x1f1b1a[_0x5a19ad],_0x347c74=_0x1f1b1a[_0x5a19ad-0x1];if(_0x3b50d0(0x283)==_0x437280[_0x3b50d0(0x2bd)])continue;if(_0x437280[_0x3b50d0(0x2bd)]!=_0x347c74[_0x3b50d0(0x2bd)])continue;if(!_0x8b7f12[_0x3b50d0(0x292)](_0x347c74[_0x3b50d0(0x214)])||_0x8b7f12[_0x3b50d0(0x29b)](_0x347c74[_0x3b50d0(0x214)]))continue;if(!_0x8b7f12[_0x3b50d0(0x292)](_0x437280[_0x3b50d0(0x214)])||_0x8b7f12[_0x3b50d0(0x29b)](_0x437280[_0x3b50d0(0x214)]))continue;if((_0x1f1b1a[_0x5a19ad][_0x3b50d0(0x1af)]||_0x1f1b1a[_0x5a19ad][_0x3b50d0(0x1ca)])&&_0x1f1b1a[_0x5a19ad-0x1][_0x3b50d0(0x1f7)])_0x40026f=_0x1f1b1a[_0x5a19ad],_0x4cc5d5=_0x1f1b1a[_0x5a19ad-0x1],_0x155739=_0x5a19ad-0x1;else{if(!_0x1f1b1a[_0x5a19ad][_0x3b50d0(0x1f7)]||!_0x1f1b1a[_0x5a19ad-0x1][_0x3b50d0(0x1af)]&&!_0x1f1b1a[_0x5a19ad-0x1][_0x3b50d0(0x1ca)])continue;_0x40026f=_0x1f1b1a[_0x5a19ad-0x1],_0x4cc5d5=_0x1f1b1a[_0x5a19ad],_0x155739=_0x5a19ad;}const _0x3edb94=_0x40026f[_0x3b50d0(0x188)]==_0x4cc5d5[_0x3b50d0(0x188)],_0x4cbdd2=Math[_0x3b50d0(0x1d8)](_0x40026f[_0x3b50d0(0x188)])<Math[_0x3b50d0(0x1d8)](_0x4cc5d5[_0x3b50d0(0x188)])&&0x0==_0x4cc5d5[_0x3b50d0(0x238)];(_0x3edb94||_0x4cbdd2)&&(_0x19fd98[_0x3b50d0(0x1df)](_0x4cc5d5['id'],_0x40026f['id']),_0x1f1b1a[_0x3b50d0(0x227)](_0x155739,0x1),_0x5a19ad--,_0x40026f[_0x3b50d0(0x1af)]=!0x1);}for(let _0x12cdb6=0x0;_0x12cdb6<_0x1f1b1a[_0x3b50d0(0x1b9)];_0x12cdb6++)_0x19fd98[_0x3b50d0(0x287)](_0x1f1b1a[_0x12cdb6][_0x3b50d0(0x193)])&&(_0x1f1b1a[_0x12cdb6][_0x3b50d0(0x193)]=_0x19fd98[_0x3b50d0(0x1e4)](_0x1f1b1a[_0x12cdb6][_0x3b50d0(0x193)]));}[_0x239d53(0x259)](_0x91f8bc){const _0x5d93ab=_0x239d53,_0x379527=new Set(_0x91f8bc[_0x5d93ab(0x187)](_0x37fc2c=>_0x37fc2c['id']));for(let _0x8a16=0x0;_0x8a16<_0x91f8bc[_0x5d93ab(0x1b9)];_0x8a16++)_0x379527[_0x5d93ab(0x287)](_0x91f8bc[_0x8a16][_0x5d93ab(0x193)])||0x0==_0x91f8bc[_0x8a16][_0x5d93ab(0x238)]||(_0x91f8bc[_0x8a16][_0x5d93ab(0x1f2)]=!0x0);return _0x91f8bc[_0x5d93ab(0x21b)](_0x2b51e6=>!_0x2b51e6[_0x5d93ab(0x1f2)]);}[_0x239d53(0x265)](_0xd8b7ec){const _0x2694ef=_0x239d53,_0x587e11=new Set();for(let _0x59e7ac=0x0;_0x59e7ac<_0xd8b7ec[_0x2694ef(0x1b9)];_0x59e7ac++){if(_0x587e11[_0x2694ef(0x287)](_0xd8b7ec[_0x59e7ac]['id'])&&_0xd8b7ec[_0x59e7ac][_0x2694ef(0x1f7)]&&(_0xd8b7ec[_0x59e7ac][_0x2694ef(0x1f2)]=!0x0),_0xd8b7ec[_0x59e7ac][_0x2694ef(0x1f2)])continue;if(0x0==_0xd8b7ec[_0x59e7ac][_0x2694ef(0x238)])continue;if(_0x2694ef(0x2c2)!=_0xd8b7ec[_0x59e7ac][_0x2694ef(0x2bd)])continue;if(null==_0xd8b7ec[_0x59e7ac][_0x2694ef(0x193)])continue;let _0x411b3f=_0x59e7ac+0x1,_0x254bc6=0x0;for(;_0xd8b7ec[_0x411b3f]['id']!=_0xd8b7ec[_0x59e7ac][_0x2694ef(0x193)];)_0x2694ef(0x2c2)==_0xd8b7ec[_0x411b3f][_0x2694ef(0x2bd)]?_0x254bc6++:_0x2694ef(0x18f)==_0xd8b7ec[_0x411b3f][_0x2694ef(0x2bd)]&&_0x254bc6--,_0x411b3f++;if(0x0!=_0x254bc6){if(_0xd8b7ec[_0x59e7ac][_0x2694ef(0x1f7)])_0xd8b7ec[_0x59e7ac][_0x2694ef(0x1f2)]=!0x0;else{for(;_0x411b3f!=_0x59e7ac;)_0xd8b7ec[_0x411b3f][_0x2694ef(0x1f7)]&&0x0!=_0xd8b7ec[_0x411b3f][_0x2694ef(0x238)]&&(_0xd8b7ec[_0x411b3f][_0x2694ef(0x1f2)]=!0x0,_0x587e11[_0x2694ef(0x22c)](_0xd8b7ec[_0x411b3f][_0x2694ef(0x193)])),_0x411b3f--;}}}return _0xd8b7ec[_0x2694ef(0x21b)](_0x3cb974=>!_0x3cb974[_0x2694ef(0x1f2)]);}[_0x239d53(0x2b3)](_0x316c5f){const _0x59a2e6=_0x239d53,_0x1a6681=this[_0x59a2e6(0x1e1)][_0x59a2e6(0x1e3)][_0x59a2e6(0x2b4)];for(let _0x3e608f=0x0;_0x3e608f<_0x316c5f[_0x59a2e6(0x1b9)];_0x3e608f++){if(!(_0x316c5f[_0x3e608f][_0x59a2e6(0x1af)]||_0x316c5f[_0x3e608f][_0x59a2e6(0x1ca)]||_0x316c5f[_0x3e608f][_0x59a2e6(0x1f7)]||_0x316c5f[_0x3e608f][_0x59a2e6(0x17c)]))continue;if(0x0==_0x316c5f[_0x3e608f][_0x59a2e6(0x238)])continue;const _0x40ab0f=_0x316c5f[_0x3e608f][_0x59a2e6(0x214)];_0x1a6681[_0x59a2e6(0x292)](_0x40ab0f)||_0x1a6681[_0x59a2e6(0x29b)](_0x40ab0f)||(_0x316c5f[_0x3e608f][_0x59a2e6(0x1af)]&&delete _0x316c5f[_0x3e608f][_0x59a2e6(0x1af)],_0x316c5f[_0x3e608f][_0x59a2e6(0x1ca)]&&delete _0x316c5f[_0x3e608f][_0x59a2e6(0x1ca)],_0x316c5f[_0x3e608f][_0x59a2e6(0x17c)]&&delete _0x316c5f[_0x3e608f][_0x59a2e6(0x17c)],_0x316c5f[_0x3e608f][_0x59a2e6(0x1f7)]&&(_0x316c5f[_0x3e608f][_0x59a2e6(0x1f2)]=!0x0));}return _0x316c5f[_0x59a2e6(0x21b)](_0x24b59c=>!_0x24b59c[_0x59a2e6(0x1f2)]);}[_0x239d53(0x24a)](_0x17a4f2,_0x3060fc,_0x29bafb){const _0x264beb=_0x239d53,_0x5eff16=new _0x1a68c8(),_0x5dccec=[],_0x22debf=new Map(),_0xfeafc6=this[_0x264beb(0x1e1)][_0x264beb(0x1e3)],_0x11000d=_0xfeafc6[_0x264beb(0x2b4)],_0xff5ec6=[_0x5eff16],_0x4a421b={},_0x4320aa={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x120e02=null;const _0x3b1645=[0x0];for(let _0x16a5b1=0x0;_0x16a5b1<_0x17a4f2[_0x264beb(0x1b9)];_0x16a5b1++)if(_0x264beb(0x2c2)===_0x17a4f2[_0x16a5b1][_0x264beb(0x2bd)]){_0x17a4f2[_0x16a5b1][_0x264beb(0x1ec)]=_0xfeafc6[_0x264beb(0x1fb)](_0x5eff16,_0x3b1645);const _0x5ddb8c=new _0x31511a(_0x17a4f2[_0x16a5b1][_0x264beb(0x214)][_0x264beb(0x2a9)],_0x17a4f2[_0x16a5b1][_0x264beb(0x214)][_0x264beb(0x198)]());_0xff5ec6[0x0][_0x264beb(0x2ad)](_0x5ddb8c),_0x3b1645[_0x264beb(0x1ba)](0x0),_0xff5ec6[_0x264beb(0x2bb)](_0x5ddb8c),_0x17a4f2[_0x16a5b1][_0x264beb(0x2a6)]=_0xfeafc6[_0x264beb(0x1fb)](_0x5eff16,_0x3b1645);}else _0x264beb(0x18f)===_0x17a4f2[_0x16a5b1][_0x264beb(0x2bd)]?(_0xff5ec6[_0x264beb(0x2a8)](),_0x17a4f2[_0x16a5b1][_0x264beb(0x1ec)]=_0xfeafc6[_0x264beb(0x1fb)](_0x5eff16,_0x3b1645),_0x3b1645[_0x264beb(0x260)](),_0x3b1645[_0x3b1645[_0x264beb(0x1b9)]-0x1]++,_0x17a4f2[_0x16a5b1][_0x264beb(0x2a6)]=_0xfeafc6[_0x264beb(0x1fb)](_0x5eff16,_0x3b1645)):(_0x17a4f2[_0x16a5b1][_0x264beb(0x1ec)]=_0xfeafc6[_0x264beb(0x1fb)](_0x5eff16,_0x3b1645),_0x120e02?_0x120e02[_0x264beb(0x1de)]+=_0x17a4f2[_0x16a5b1][_0x264beb(0x214)][_0x264beb(0x1e9)]:_0x120e02=new _0x5f3024(_0x17a4f2[_0x16a5b1][_0x264beb(0x214)][_0x264beb(0x1e9)],_0x17a4f2[_0x16a5b1][_0x264beb(0x214)][_0x264beb(0x198)]()),_0x17a4f2[_0x16a5b1+0x1]&&_0x264beb(0x283)===_0x17a4f2[_0x16a5b1+0x1][_0x264beb(0x2bd)]&&_0x37cfc1(_0x120e02,_0x17a4f2[_0x16a5b1+0x1][_0x264beb(0x214)])||(_0xff5ec6[0x0][_0x264beb(0x2ad)](_0x120e02),_0x120e02=null),_0x3b1645[_0x3b1645[_0x264beb(0x1b9)]-0x1]+=_0x17a4f2[_0x16a5b1][_0x264beb(0x214)][_0x264beb(0x24b)],_0x17a4f2[_0x16a5b1][_0x264beb(0x2a6)]=_0xfeafc6[_0x264beb(0x1fb)](_0x5eff16,_0x3b1645));for(let _0x5b00bf=0x0;_0x5b00bf<_0x17a4f2[_0x264beb(0x1b9)];_0x5b00bf++){const _0x31eb95=_0x17a4f2[_0x5b00bf][_0x264beb(0x1ec)],_0x131f2e=_0x17a4f2[_0x5b00bf][_0x264beb(0x2a6)];for(const _0x8743c2 of _0x17a4f2[_0x5b00bf][_0x264beb(0x192)])_0x22debf[_0x264beb(0x1df)](_0x8743c2,{'start':_0x31eb95,'end':null});_0x2009a6(_0x264beb(0x17c),_0x5b00bf,_0x31eb95,_0x131f2e),_0x2009a6(_0x264beb(0x1ca),_0x5b00bf,_0x31eb95,_0x131f2e),_0x2009a6(_0x264beb(0x1f7),_0x5b00bf,_0x31eb95,_0x131f2e),_0x2009a6(_0x264beb(0x1af),_0x5b00bf,_0x31eb95,_0x131f2e);for(const _0x20b906 of _0x17a4f2[_0x5b00bf][_0x264beb(0x246)]){const _0x1a2d84=_0x22debf[_0x264beb(0x1e4)](_0x20b906);_0x1a2d84?_0x1a2d84[_0x264beb(0x297)]=_0x131f2e:_0x22debf[_0x264beb(0x1df)](_0x20b906,{'start':_0x131f2e,'end':_0x131f2e});}}for(const [_0xde22cc,_0x500db0]of _0x22debf){const _0x15b98d=this[_0x264beb(0x1e1)][_0x264beb(0x1e3)][_0x264beb(0x289)](_0x500db0[_0x264beb(0x1a4)],_0x500db0[_0x264beb(0x297)]);_0x5eff16[_0x264beb(0x26f)][_0x264beb(0x1df)](_0xde22cc,_0x15b98d);}return _0x5dccec[_0x264beb(0x1be)]((_0x16d3ff,_0x357fda)=>{const _0x4c2649=_0x264beb,_0x59279c=_0x5eff16[_0x4c2649(0x26f)][_0x4c2649(0x1e4)](_0x4c2649(0x26b)+_0x16d3ff['id']),_0x5cd8d5=_0x5eff16[_0x4c2649(0x26f)][_0x4c2649(0x1e4)](_0x4c2649(0x26b)+_0x357fda['id']);return _0x59279c[_0x4c2649(0x1a4)][_0x4c2649(0x207)](_0x5cd8d5[_0x4c2649(0x1a4)])?-0x1:_0x59279c[_0x4c2649(0x1a4)][_0x4c2649(0x2ae)](_0x5cd8d5[_0x4c2649(0x1a4)])?0x1:_0x59279c[_0x4c2649(0x297)][_0x4c2649(0x207)](_0x5cd8d5[_0x4c2649(0x297)])?-0x1:_0x59279c[_0x4c2649(0x297)][_0x4c2649(0x2ae)](_0x5cd8d5[_0x4c2649(0x297)])?0x1:_0x4c2649(0x22c)===_0x16d3ff[_0x4c2649(0x2bd)]?-0x1:0x1;}),{'root':_0x5eff16,'changes':_0x5dccec};function _0x2009a6(_0x79a3d1,_0x1e1f6d,_0x4c94e9,_0x16f3cf){const _0xeb51a8=_0x264beb,_0x2f5f66=!!_0x17a4f2[_0x1e1f6d][_0x79a3d1],_0x19deb6=_0x2f5f66?_0x17a4f2[_0x1e1f6d][_0x79a3d1][_0xeb51a8(0x29f)]:null,_0x137422=_0x1e1f6d===_0x17a4f2[_0xeb51a8(0x1b9)]-0x1,_0x365170=_0x4320aa[_0x79a3d1][0x0],_0x3bbe16=_0x11000d[_0xeb51a8(0x280)](_0x17a4f2[_0x1e1f6d][_0xeb51a8(0x214)]);!_0x4a421b[_0x79a3d1]&&_0x2f5f66?_0x4a421b[_0x79a3d1]={'start':_0x4c94e9,'tapeItem':_0x17a4f2[_0x1e1f6d],'userId':_0x19deb6,'type':_0x79a3d1}:_0x4a421b[_0x79a3d1]&&!_0x2f5f66?(_0x4a421b[_0x79a3d1][_0xeb51a8(0x297)]=_0x4c94e9,_0x26c116(_0x4a421b[_0x79a3d1]),_0x4a421b[_0x79a3d1]=null):_0x4a421b[_0x79a3d1]&&_0x2f5f66&&_0x4a421b[_0x79a3d1][_0xeb51a8(0x29f)]!==_0x19deb6&&(_0x4a421b[_0x79a3d1][_0xeb51a8(0x297)]=_0x4c94e9,_0x365170&&_0x365170[_0xeb51a8(0x29f)]===_0x4a421b[_0x79a3d1][_0xeb51a8(0x29f)]||_0x26c116(_0x4a421b[_0x79a3d1]),_0x4a421b[_0x79a3d1]={'start':_0x4c94e9,'tapeItem':_0x17a4f2[_0x1e1f6d],'userId':_0x19deb6,'type':_0x79a3d1}),_0x4a421b[_0x79a3d1]&&_0x3bbe16&&(_0xeb51a8(0x2c2)!==_0x17a4f2[_0x1e1f6d][_0xeb51a8(0x2bd)]||_0x365170&&_0x365170[_0xeb51a8(0x29f)]===_0x19deb6||_0x4320aa[_0x79a3d1][_0xeb51a8(0x2bb)]({'userId':_0x19deb6,'object':_0x17a4f2[_0x1e1f6d][_0xeb51a8(0x214)],'change':_0x4a421b[_0x79a3d1]}),_0xeb51a8(0x18f)===_0x17a4f2[_0x1e1f6d][_0xeb51a8(0x2bd)]&&_0x365170&&_0x365170[_0xeb51a8(0x2b0)]===_0x17a4f2[_0x1e1f6d][_0xeb51a8(0x214)]&&(_0x4320aa[_0x79a3d1][_0xeb51a8(0x2a8)](),_0x4a421b[_0x79a3d1]=_0x365170[_0xeb51a8(0x1fc)])),_0x4a421b[_0x79a3d1]&&_0x137422&&(_0x4a421b[_0x79a3d1][_0xeb51a8(0x297)]=_0x16f3cf,_0x26c116(_0x4a421b[_0x79a3d1]),_0x4a421b[_0x79a3d1]=null);}function _0x26c116({start:_0xa43d8f,end:_0x4e8af2,tapeItem:_0x58cb48,userId:_0x165aa9,type:_0x23918e}){const _0x2174dd=_0x264beb,_0x42ab5a=_0x58cb48[_0x2174dd(0x214)],_0x45cee4=_0xfeafc6[_0x2174dd(0x2b4)][_0x2174dd(0x292)](_0x42ab5a)&&!_0xfeafc6[_0x2174dd(0x2b4)][_0x2174dd(0x29b)](_0x42ab5a),_0x18417d=_0xa43d8f[_0x2174dd(0x205)]==_0x4e8af2[_0x2174dd(0x276)]&&_0x4e8af2[_0x2174dd(0x1a9)];if(_0x45cee4&&_0x18417d)return;const _0x582cc8=_0xfeafc6[_0x2174dd(0x289)](_0xa43d8f,_0x4e8af2),_0x56fadf=_0x3060fc[_0x2174dd(0x1e4)](_0x165aa9),_0x49394b=new _0x36a410({'author':_0x56fadf,'type':_0x2174dd(0x1af)==_0x23918e||_0x2174dd(0x1ca)==_0x23918e?_0x2174dd(0x22c):_0x2174dd(0x28b),'data':{'isSuggestion':_0x2174dd(0x1ca)==_0x23918e||_0x2174dd(0x17c)==_0x23918e},'createdAt':new Date(),'rootName':_0x29bafb});_0x5dccec[_0x2174dd(0x1ba)](_0x49394b),_0x5eff16[_0x2174dd(0x26f)][_0x2174dd(0x1df)](_0x2174dd(0x26b)+_0x49394b['id'],_0x582cc8);}function _0x37cfc1(_0x5857f2,_0x26d8c7){const _0x4ca866=_0x264beb,_0x398709=_0x5857f2[_0x4ca866(0x198)](),_0x4e39a1=_0x26d8c7[_0x4ca866(0x198)]();for(const _0x6997b2 of _0x398709){if(_0x6997b2[0x1]!==_0x26d8c7[_0x4ca866(0x1a1)](_0x6997b2[0x0]))return!0x1;_0x4e39a1[_0x4ca866(0x1cf)]();}return _0x4e39a1[_0x4ca866(0x1cf)]()[_0x4ca866(0x2ab)];}}[_0x239d53(0x240)](){const _0x4c0962=_0x239d53;this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x272))[_0x4c0962(0x1b0)]({'view':_0x4c0962(0x191)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x2ac))[_0x4c0962(0x203)]({'model':_0x4c0962(0x191),'view':_0x3c4b63=>{const _0x5371d7=_0x4c0962,_0x458f78=_0x3c4b63[_0x5371d7(0x2a2)][_0x5371d7(0x199)](':')[0x1],_0x2ff340=this[_0x5371d7(0x220)](_0x458f78);if(!_0x2ff340)return null;const _0x2b14a6=_0x5371d7(0x22c)==_0x2ff340[_0x5371d7(0x2bd)]?_0x5371d7(0x20a):_0x5371d7(0x1c7),_0x3e0b55=[_0x5371d7(0x217),_0x5371d7(0x18a)+_0x2b14a6];return _0x2ff340[_0x5371d7(0x1e9)][_0x5371d7(0x263)]&&_0x3e0b55[_0x5371d7(0x1ba)](_0x5371d7(0x18a)+_0x2b14a6+_0x5371d7(0x257)),this[_0x5371d7(0x275)]==_0x2ff340&&_0x3e0b55[_0x5371d7(0x1ba)](_0x5371d7(0x20f)),{'classes':_0x3e0b55,'attributes':{'data-change-id':_0x458f78}};}}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x272))[_0x4c0962(0x22c)](_0x152a10=>{const _0x41b137=_0x4c0962;_0x152a10['on'](_0x41b137(0x266),(_0x5a0c3d,_0x10be61,_0x54501c)=>{const _0x2c3d2c=_0x41b137,_0x4aca4b=_0x10be61[_0x2c3d2c(0x20b)][_0x2c3d2c(0x21d)](0x0);if(!_0x4aca4b||!_0x4aca4b['is'](_0x2c3d2c(0x216),_0x2c3d2c(0x293)))return;if(!_0x54501c[_0x2c3d2c(0x245)][_0x2c3d2c(0x185)](_0x4aca4b,{'attributes':[_0x2c3d2c(0x19a),_0x2c3d2c(0x29e)]}))return;const _0x2eb814=_0x10be61[_0x2c3d2c(0x23a)][_0x2c3d2c(0x1a4)][_0x2c3d2c(0x205)];_0x54501c[_0x2c3d2c(0x1a2)][_0x2c3d2c(0x1f9)](_0x2c3d2c(0x19a),_0x4aca4b[_0x2c3d2c(0x1a1)](_0x2c3d2c(0x19a)),_0x2eb814),_0x54501c[_0x2c3d2c(0x1a2)][_0x2c3d2c(0x1f9)](_0x2c3d2c(0x29e),_0x4aca4b[_0x2c3d2c(0x1a1)](_0x2c3d2c(0x29e)),_0x2eb814);},{'priority':_0x41b137(0x1b2)});}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x272))[_0x4c0962(0x22c)](_0x41bc12=>{const _0xa3f1e4=_0x4c0962;_0x41bc12['on'](_0xa3f1e4(0x216),(_0x2de0fc,_0x151e8d,_0x3a6bbe)=>{const _0x400690=_0xa3f1e4;if(!_0x3a6bbe[_0x400690(0x245)][_0x400690(0x185)](_0x151e8d[_0x400690(0x20b)],{'attributes':[_0x400690(0x19a),_0x400690(0x29e)]}))return;if(_0x151e8d[_0x400690(0x23a)][_0x400690(0x1ee)])return;const _0x1b496a=_0x151e8d[_0x400690(0x23a)][_0x400690(0x1a4)][_0x400690(0x205)];_0x1b496a[_0x400690(0x2be)](_0x400690(0x19a))||_0x1b496a[_0x400690(0x2be)](_0x400690(0x242))||(_0x3a6bbe[_0x400690(0x1a2)][_0x400690(0x1f9)](_0x400690(0x19a),_0x151e8d[_0x400690(0x20b)][_0x400690(0x1a1)](_0x400690(0x19a)),_0x1b496a),_0x3a6bbe[_0x400690(0x1a2)][_0x400690(0x1f9)](_0x400690(0x29e),_0x151e8d[_0x400690(0x20b)][_0x400690(0x1a1)](_0x400690(0x29e)),_0x1b496a));},{'priority':_0xa3f1e4(0x1b2)});}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x272))[_0x4c0962(0x249)]({'view':{'name':_0x4c0962(0x2a7),'attributes':{'vid':!0x0}},'model':{'key':_0x4c0962(0x242),'value':_0x4e6c19=>_0x4e6c19[_0x4c0962(0x1a1)](_0x4c0962(0x242))}}),this[_0x4c0962(0x1e1)][_0x4c0962(0x1e3)][_0x4c0962(0x2b4)]['on'](_0x4c0962(0x235),(_0xce2ddb,[,_0x4b2f99])=>{const _0x378ae7=_0x4c0962;[_0x378ae7(0x19a),_0x378ae7(0x29e),_0x378ae7(0x242)][_0x378ae7(0x1e0)](_0x4b2f99)&&(_0xce2ddb[_0x378ae7(0x256)]=!0x0,_0xce2ddb[_0x378ae7(0x2c1)]());},{'priority':_0x4c0962(0x24c)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x1c6))[_0x4c0962(0x22c)](_0x510ce2=>{const _0x1b75df=_0x4c0962;_0x510ce2['on'](_0x1b75df(0x209),(_0x127fde,_0x5745a0,_0x54c619)=>{const _0x4eabcf=_0x1b75df;if('\x20'!=_0x5745a0[_0x4eabcf(0x214)][_0x4eabcf(0x1e9)]||_0x5745a0[_0x4eabcf(0x214)][_0x4eabcf(0x276)][_0x4eabcf(0x282)]>0x1)return;if(!_0x54c619[_0x4eabcf(0x245)][_0x4eabcf(0x185)](_0x5745a0[_0x4eabcf(0x214)],_0x127fde[_0x4eabcf(0x2a9)]))return;const _0x211c4c=_0x54c619[_0x4eabcf(0x1a2)],_0x1a8a1f=_0x54c619[_0x4eabcf(0x1b5)][_0x4eabcf(0x17d)](_0x5745a0[_0x4eabcf(0x1e2)]);_0x211c4c[_0x4eabcf(0x291)](_0x1a8a1f,_0x211c4c[_0x4eabcf(0x1cb)](_0x4eabcf(0x2a7)));});}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x1c6))[_0x4c0962(0x248)]({'model':_0x4c0962(0x191)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x2a3)][_0x4c0962(0x274)]['on'](_0x4c0962(0x24e),function(_0x491d54){const _0x40bb0c=_0x4c0962,_0x55a745=_0x491d54[_0x40bb0c(0x184)][_0x40bb0c(0x1e4)](_0x40bb0c(0x262));return(_0x4f2079,_0x2a8265,_0x3b8bdd)=>{const _0x15d8c9=_0x40bb0c,_0x518370=_0x2a8265[_0x15d8c9(0x2a2)][_0x15d8c9(0x199)](':')[0x1],_0x3c8273=_0x55a745[_0x15d8c9(0x220)](_0x518370);if(!_0x3c8273)return null;const _0xe001ec=_0x15d8c9(0x22c)==_0x3c8273[_0x15d8c9(0x2bd)]?_0x15d8c9(0x199):_0x15d8c9(0x1c3);if(!_0x3b8bdd[_0x15d8c9(0x245)][_0x15d8c9(0x29d)](_0x2a8265[_0x15d8c9(0x229)],_0x4f2079[_0x15d8c9(0x2a9)]))return;const _0x5cba7b=_0x2a8265[_0x15d8c9(0x229)][_0x15d8c9(0x1a6)](),_0x5a79b5=_0x2a8265[_0x15d8c9(0x229)][_0x15d8c9(0x1a4)],_0x1a7c75=_0x491d54[_0x15d8c9(0x1e3)][_0x15d8c9(0x2b4)];let _0x4d9d0e=null,_0x458179=null,_0x2c28c2=!0x1,_0x41bbca=!0x1;for(const _0x3cce8d of _0x5cba7b){const _0x1bbb92=_0x3cce8d[_0x15d8c9(0x214)];_0x2c28c2=_0x2c28c2||_0x1a7c75[_0x15d8c9(0x22d)](_0x1bbb92);const _0x2162f9=_0x3b8bdd[_0x15d8c9(0x1b5)][_0x15d8c9(0x224)](_0x1bbb92);if(_0x2162f9&&_0x2162f9[_0x15d8c9(0x1dc)](_0x15d8c9(0x244)))return;_0x15d8c9(0x18f)==_0x3cce8d[_0x15d8c9(0x2bd)]&&(_0x1a7c75[_0x15d8c9(0x292)](_0x1bbb92)&&!_0x1a7c75[_0x15d8c9(0x29b)](_0x1bbb92)&&(_0x1bbb92[_0x15d8c9(0x247)]||_0x5a79b5[_0x15d8c9(0x2ba)]?_0x4d9d0e&&_0x4d9d0e[_0x15d8c9(0x276)]==_0x1bbb92||(_0x4d9d0e=_0x1bbb92,_0x520f4a(_0x3cce8d[_0x15d8c9(0x1ec)]),_0x41bbca=!0x0):_0x458179=_0x458179||_0x3cce8d[_0x15d8c9(0x1ec)]));}function _0x520f4a(_0x24dd64){const _0x46eca4=_0x15d8c9,_0x2d3021=_0x3b8bdd[_0x46eca4(0x1a2)][_0x46eca4(0x194)](_0x46eca4(0x2a7),{'class':_0x46eca4(0x18a)+_0xe001ec}),_0x5b7f9e=_0x3b8bdd[_0x46eca4(0x1b5)][_0x46eca4(0x1f4)](_0x24dd64);_0x3c8273[_0x46eca4(0x1e9)][_0x46eca4(0x263)]&&_0x3b8bdd[_0x46eca4(0x1a2)][_0x46eca4(0x1ad)](_0x46eca4(0x18a)+_0xe001ec+_0x46eca4(0x257),_0x2d3021),_0x55a745[_0x46eca4(0x275)]==_0x3c8273&&_0x3b8bdd[_0x46eca4(0x1a2)][_0x46eca4(0x1ad)](_0x46eca4(0x20f),_0x2d3021),_0x3b8bdd[_0x46eca4(0x1a2)][_0x46eca4(0x21f)](_0x5b7f9e,_0x2d3021),_0x3b8bdd[_0x46eca4(0x1b5)][_0x46eca4(0x252)](_0x2d3021,_0x2a8265[_0x46eca4(0x2a2)]);}_0x2c28c2||_0x41bbca||!_0x458179||_0x520f4a(_0x458179);};}(this[_0x4c0962(0x1e1)]),{'priority':_0x4c0962(0x264)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x2a3)][_0x4c0962(0x274)]['on'](_0x4c0962(0x1c9),(_0x453f13,_0xc3d965,_0x105c29)=>{const _0x789ee3=_0x4c0962,_0x47bec6=_0x105c29[_0x789ee3(0x1b5)][_0x789ee3(0x2b5)](_0xc3d965[_0x789ee3(0x2a2)]);if(_0x47bec6){for(const _0x5d8227 of _0x47bec6)(_0x5d8227[_0x789ee3(0x26a)](_0x789ee3(0x2af))||_0x5d8227[_0x789ee3(0x26a)](_0x789ee3(0x208)))&&(_0x105c29[_0x789ee3(0x1b5)][_0x789ee3(0x1dd)](_0x5d8227,_0xc3d965[_0x789ee3(0x2a2)]),_0x105c29[_0x789ee3(0x1a2)][_0x789ee3(0x28b)](_0x5d8227));}},{'priority':_0x4c0962(0x264)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x2a3)][_0x4c0962(0x274)]['on'](_0x4c0962(0x24e),(_0x5edd94,_0x5ef3ea,_0x2449b5)=>{const _0x3428d6=_0x4c0962,_0x166825=_0x5ef3ea[_0x3428d6(0x2a2)][_0x3428d6(0x199)](':')[0x1],_0xa9f7b0=this[_0x3428d6(0x220)](_0x166825);if(!_0xa9f7b0)return null;const _0x29ccb4=_0x3428d6(0x22c)==_0xa9f7b0[_0x3428d6(0x2bd)]?_0x3428d6(0x199):_0x3428d6(0x1c3);if(_0x2449b5[_0x3428d6(0x245)][_0x3428d6(0x29d)](_0x5ef3ea[_0x3428d6(0x229)],_0x5edd94[_0x3428d6(0x2a9)]))for(const _0x2210b4 of _0x5ef3ea[_0x3428d6(0x229)][_0x3428d6(0x1e7)]()){if(!_0x2210b4['is'](_0x3428d6(0x216),_0x3428d6(0x204)))continue;const _0x28d3a0=_0x2449b5[_0x3428d6(0x1a2)][_0x3428d6(0x194)](_0x3428d6(0x2a7),{'class':_0x3428d6(0x18a)+_0x29ccb4}),_0x43ee88=_0x2449b5[_0x3428d6(0x1b5)][_0x3428d6(0x1f4)](this[_0x3428d6(0x1e1)][_0x3428d6(0x1e3)][_0x3428d6(0x277)](_0x2210b4));_0xa9f7b0[_0x3428d6(0x1e9)][_0x3428d6(0x263)]&&_0x2449b5[_0x3428d6(0x1a2)][_0x3428d6(0x1ad)](_0x3428d6(0x18a)+_0x29ccb4+_0x3428d6(0x257),_0x28d3a0),this[_0x3428d6(0x275)]==_0xa9f7b0&&_0x2449b5[_0x3428d6(0x1a2)][_0x3428d6(0x1ad)](_0x3428d6(0x20f),_0x28d3a0),_0x2449b5[_0x3428d6(0x1a2)][_0x3428d6(0x21f)](_0x43ee88,_0x28d3a0),_0x2449b5[_0x3428d6(0x1b5)][_0x3428d6(0x252)](_0x28d3a0,_0x5ef3ea[_0x3428d6(0x2a2)]);}},{'priority':_0x4c0962(0x264)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x1e3)][_0x4c0962(0x2a4)]['on'](_0x4c0962(0x1fc),()=>{const _0x3faf38=_0x4c0962;this[_0x3faf38(0x1e1)][_0x3faf38(0x2a3)][_0x3faf38(0x236)][_0x3faf38(0x1fc)](_0x5039b4=>{const _0x1c0d75=_0x3faf38;for(const _0x163214 of this[_0x1c0d75(0x1e1)][_0x1c0d75(0x1e3)][_0x1c0d75(0x2a4)][_0x1c0d75(0x22b)]()){const _0x804629=this[_0x1c0d75(0x1e1)][_0x1c0d75(0x1e3)][_0x1c0d75(0x2a4)][_0x1c0d75(0x1b7)](_0x163214),_0x164e3d=this[_0x1c0d75(0x1e1)][_0x1c0d75(0x2a3)][_0x1c0d75(0x236)][_0x1c0d75(0x2a4)][_0x1c0d75(0x1b7)](_0x163214);if(_0x164e3d){const _0x2c483a=_0x804629[_0x1c0d75(0x1a1)](_0x1c0d75(0x1fd));if(_0x5039b4[_0x1c0d75(0x1ac)](_0x1c0d75(0x25d),_0x164e3d),_0x5039b4[_0x1c0d75(0x2aa)](_0x1c0d75(0x20d),_0x164e3d),_0x5039b4[_0x1c0d75(0x2aa)](_0x1c0d75(0x28f),_0x164e3d),_0x5039b4[_0x1c0d75(0x2aa)](_0x1c0d75(0x1e5),_0x164e3d),_0x2c483a){const _0x3ee345=this[_0x1c0d75(0x220)](_0x2c483a);if(!_0x3ee345)return null;_0x5039b4[_0x1c0d75(0x1f9)](_0x1c0d75(0x25d),_0x2c483a,_0x164e3d),_0x5039b4[_0x1c0d75(0x1ad)](_0x1c0d75(0x28c)+_0x3ee345[_0x1c0d75(0x2bd)],_0x164e3d),this[_0x1c0d75(0x275)]==_0x3ee345&&_0x5039b4[_0x1c0d75(0x1ad)](_0x1c0d75(0x1e5),_0x164e3d);}}}});}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x272))[_0x4c0962(0x1b0)]({'view':_0x4c0962(0x27b),'model':_0x1d9642=>_0x4c0962(0x270)+_0x1d9642,'converterPriority':_0x4c0962(0x24c)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x272))[_0x4c0962(0x1b0)]({'view':_0x4c0962(0x261),'model':_0x48096d=>_0x4c0962(0x225)+_0x48096d,'converterPriority':_0x4c0962(0x24c)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x1c6))[_0x4c0962(0x248)]({'model':_0x4c0962(0x1bf),'view':_0x3553e4=>({'name':_0x4c0962(0x1cc)+_0x3553e4,'group':_0x4c0962(0x1bf)}),'converterPriority':_0x4c0962(0x24c)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x233)][_0x4c0962(0x1c1)](_0x4c0962(0x2ac))[_0x4c0962(0x203)]({'model':_0x4c0962(0x1bf),'view':_0x47fcbc=>{const _0x122b15=_0x4c0962,_0x149bc5=_0x47fcbc[_0x122b15(0x2a2)][_0x122b15(0x199)](':')[0x1];return _0x122b15(0x20a)!=_0x149bc5&&_0x122b15(0x1c7)!=_0x149bc5?null:{'classes':[_0x122b15(0x1ab),_0x122b15(0x181)+_0x149bc5]};}}),this[_0x4c0962(0x1e1)][_0x4c0962(0x2a3)][_0x4c0962(0x274)]['on'](_0x4c0962(0x1db),Q(this[_0x4c0962(0x1e1)],_0x4c0962(0x1c3)),{'priority':_0x4c0962(0x264)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x2a3)][_0x4c0962(0x274)]['on'](_0x4c0962(0x1aa),Q(this[_0x4c0962(0x1e1)],_0x4c0962(0x199)),{'priority':_0x4c0962(0x264)}),this[_0x4c0962(0x1e1)][_0x4c0962(0x2a3)][_0x4c0962(0x274)]['on'](_0x4c0962(0x1c2),(_0x33f923,_0x5bf7f1,_0x18c3ff)=>{const _0x3e0219=_0x4c0962,_0x5b0b41=_0x18c3ff[_0x3e0219(0x1b5)][_0x3e0219(0x2b5)](_0x5bf7f1[_0x3e0219(0x2a2)]);if(_0x5b0b41){for(const _0x5f2739 of _0x5b0b41)_0x5f2739['is'](_0x3e0219(0x18b))&&(_0x18c3ff[_0x3e0219(0x1b5)][_0x3e0219(0x1dd)](_0x5f2739,_0x5bf7f1[_0x3e0219(0x2a2)]),_0x18c3ff[_0x3e0219(0x1a2)][_0x3e0219(0x28b)](_0x5f2739));}},{'priority':_0x4c0962(0x264)});}[_0x239d53(0x220)](_0x602291){const _0x38cb90=_0x239d53;return this[_0x38cb90(0x19d)][_0x38cb90(0x1e4)](_0x602291);}[_0x239d53(0x1f1)](_0x3e85a7){const _0xfc43a8=_0x239d53;return this[_0xfc43a8(0x1fe)]&&this[_0xfc43a8(0x1fe)][_0xfc43a8(0x241)](),this[_0xfc43a8(0x1fe)]=new _0x1f41e6(this[_0xfc43a8(0x1e1)][_0xfc43a8(0x1b3)],_0x3e85a7),this[_0xfc43a8(0x1fe)];}[_0x239d53(0x182)](){const _0x5b067e=_0x239d53;this[_0x5b067e(0x1e1)][_0x5b067e(0x1e3)][_0x5b067e(0x2a4)][_0x5b067e(0x253)][_0x5b067e(0x1ea)](_0x5b067e(0x191)),this['on'](_0x5b067e(0x288),(_0x5f37b1,_0x315916,_0x534d3a,_0x2b7ee7)=>{const _0x407e40=_0x5b067e;_0x2b7ee7&&this[_0x407e40(0x23f)][_0x407e40(0x28b)](_0x2b7ee7),_0x534d3a&&(this[_0x407e40(0x23f)][_0x407e40(0x22c)]({'view':_0x534d3a,'stackId':_0x407e40(0x19f),'position':{'target':()=>{const _0x429606=_0x407e40,_0x2ff883=this[_0x429606(0x1e1)][_0x429606(0x2a3)],_0x14fb5e=this[_0x429606(0x220)](_0x534d3a[_0x429606(0x189)]);let _0x2dd2b6;if(_0x14fb5e[_0x429606(0x1e9)][_0x429606(0x180)]){const _0x3d8b90=_0x2ff883[_0x429606(0x236)][_0x429606(0x1c0)](_0x14fb5e[_0x429606(0x213)]);_0x2dd2b6=Array[_0x429606(0x195)](_0x3d8b90[_0x429606(0x1da)]());}else{const _0x948692=this[_0x429606(0x1e1)][_0x429606(0x1e3)][_0x429606(0x26f)][_0x429606(0x1e4)](_0x429606(0x26b)+_0x534d3a[_0x429606(0x189)]);_0x2dd2b6=Array[_0x429606(0x195)](_0x2ff883[_0x429606(0x1b5)][_0x429606(0x2b5)](_0x948692[_0x429606(0x2a9)]))[_0x429606(0x187)](_0x5a34b9=>_0x2ff883[_0x429606(0x236)][_0x429606(0x20c)][_0x429606(0x29a)](_0x5a34b9))[_0x429606(0x187)](_0x47942c=>Array[_0x429606(0x195)](_0x47942c[_0x429606(0x1da)]()))[_0x429606(0x223)]();}if(!this[_0x429606(0x27c)])return _0x2dd2b6[0x0];return _0x2dd2b6[_0x429606(0x1e6)](_0x2d6322=>_0x2d6322[_0x429606(0x1ce)]-0x3<=this[_0x429606(0x27c)]['y']&&_0x2d6322[_0x429606(0x23b)]+0x3>=this[_0x429606(0x27c)]['y']&&_0x2d6322[_0x429606(0x219)]-0x3<=this[_0x429606(0x27c)]['x']&&_0x2d6322[_0x429606(0x1d2)]+0x3>=this[_0x429606(0x27c)]['x'])||_0x2dd2b6[0x0];}}}),this[_0x407e40(0x23f)][_0x407e40(0x1ef)](_0x407e40(0x19f)));}),this['on'](_0x5b067e(0x196),(_0x38ebd3,_0x542d4f,_0x346343,_0x23a5f3)=>{const _0x2dfc1=_0x5b067e;this[_0x2dfc1(0x273)]=_0x346343?this[_0x2dfc1(0x1f1)](_0x346343):null,this[_0x2dfc1(0x1e1)][_0x2dfc1(0x1e3)][_0x2dfc1(0x1fc)](()=>{const _0x489c6a=_0x2dfc1,_0x408419=this[_0x489c6a(0x1e1)][_0x489c6a(0x2a3)];_0x23a5f3&&(_0x23a5f3[_0x489c6a(0x1e9)][_0x489c6a(0x180)]?_0x408419[_0x489c6a(0x236)][_0x489c6a(0x1fc)](_0x2cab33=>{const _0x1d0310=_0x489c6a;_0x2cab33[_0x1d0310(0x2aa)](_0x1d0310(0x1e5),_0x408419[_0x1d0310(0x236)][_0x1d0310(0x2a4)][_0x1d0310(0x1b7)](_0x23a5f3[_0x1d0310(0x213)]));}):_0x408419[_0x489c6a(0x28e)](_0x489c6a(0x26b)+_0x23a5f3['id'])),_0x346343&&(_0x346343[_0x489c6a(0x1e9)][_0x489c6a(0x180)]?_0x408419[_0x489c6a(0x236)][_0x489c6a(0x1fc)](_0x5976f6=>{const _0x5e6985=_0x489c6a;_0x5976f6[_0x5e6985(0x1ad)](_0x5e6985(0x1e5),_0x408419[_0x5e6985(0x236)][_0x5e6985(0x2a4)][_0x5e6985(0x1b7)](_0x346343[_0x5e6985(0x213)]));}):_0x408419[_0x489c6a(0x28e)](_0x489c6a(0x26b)+_0x346343['id']));});}),this[_0x5b067e(0x1f6)](this[_0x5b067e(0x1e1)][_0x5b067e(0x2a3)][_0x5b067e(0x236)][_0x5b067e(0x2a4)],_0x5b067e(0x215),(_0x34bb2b,_0x1febba)=>{const _0x297b01=_0x5b067e;if(this[_0x297b01(0x275)])return;const _0x11161b=this[_0x297b01(0x22a)](_0x1febba[_0x297b01(0x26e)]),_0x313ff9=this[_0x297b01(0x19d)][_0x297b01(0x1e4)](_0x11161b);_0x313ff9?(this[_0x297b01(0x27c)]={'x':_0x1febba[_0x297b01(0x25e)]['x'],'y':_0x1febba[_0x297b01(0x25e)]['y']},this[_0x297b01(0x273)]=this[_0x297b01(0x1f1)](_0x313ff9)):(this[_0x297b01(0x27c)]=null,this[_0x297b01(0x273)]=null);}),this[_0x5b067e(0x1f6)](this[_0x5b067e(0x1e1)][_0x5b067e(0x2a3)][_0x5b067e(0x236)][_0x5b067e(0x2a4)],_0x5b067e(0x237),(_0x2fb1da,_0x3e2e5a)=>{const _0x46e77f=_0x5b067e,_0x561a14=this[_0x46e77f(0x22a)](_0x3e2e5a[_0x46e77f(0x26e)]),_0x112b27=this[_0x46e77f(0x19d)][_0x46e77f(0x1e4)](_0x561a14);_0x112b27?(this[_0x46e77f(0x27c)]={'x':_0x3e2e5a[_0x46e77f(0x25e)]['x'],'y':_0x3e2e5a[_0x46e77f(0x25e)]['y']},_0x112b27===this[_0x46e77f(0x275)]?this[_0x46e77f(0x23f)][_0x46e77f(0x1b6)]():this[_0x46e77f(0x275)]=_0x112b27):(this[_0x46e77f(0x27c)]=null,this[_0x46e77f(0x275)]=null);});}[_0x239d53(0x22a)](_0x2a254e){const _0x29be65=_0x239d53;do{const _0xebcc7b=_0x2a254e[_0x29be65(0x1a1)](_0x29be65(0x25d));if(_0xebcc7b)return _0xebcc7b;_0x2a254e=_0x2a254e[_0x29be65(0x276)];}while(_0x2a254e);return null;}[_0x239d53(0x206)](){const _0x494783=_0x239d53;this[_0x494783(0x1e1)][_0x494783(0x1e3)][_0x494783(0x1fc)](_0x178e8d=>{const _0x304914=_0x494783;for(const _0x21bf19 of this[_0x304914(0x1e1)][_0x304914(0x1e3)][_0x304914(0x26f)])_0x178e8d[_0x304914(0x2b1)](_0x21bf19);});}}function Q(_0x109366,_0x6a4fe3){return(_0x3f038c,_0x294649,_0x2eb59e)=>{const _0x529186=_0x2eb3;if(!_0x2eb59e[_0x529186(0x245)][_0x529186(0x29d)](_0x294649[_0x529186(0x229)],_0x3f038c[_0x529186(0x2a9)]))return;const _0x2ef0eb=_0x294649[_0x529186(0x229)][_0x529186(0x1a6)](),_0x75bed0=_0x294649[_0x529186(0x229)][_0x529186(0x1a4)],_0x3f96f4=_0x109366[_0x529186(0x1e3)][_0x529186(0x2b4)];let _0x1c41a3=null,_0x160dc8=null,_0x55de25=!0x1,_0x52954b=!0x1;for(const _0x1f655d of _0x2ef0eb){const _0x40b930=_0x1f655d[_0x529186(0x214)];_0x55de25=_0x55de25||_0x3f96f4[_0x529186(0x22d)](_0x40b930);const _0x57dcca=_0x2eb59e[_0x529186(0x1b5)][_0x529186(0x224)](_0x40b930);if(_0x57dcca&&_0x57dcca[_0x529186(0x1dc)](_0x529186(0x244)))return;_0x529186(0x18f)==_0x1f655d[_0x529186(0x2bd)]&&(_0x3f96f4[_0x529186(0x292)](_0x40b930)&&!_0x3f96f4[_0x529186(0x29b)](_0x40b930)&&(_0x40b930[_0x529186(0x247)]||_0x75bed0[_0x529186(0x2ba)]?_0x1c41a3&&_0x1c41a3[_0x529186(0x276)]==_0x40b930||(_0x1c41a3=_0x40b930,_0x5c8825(_0x1f655d[_0x529186(0x1ec)]),_0x52954b=!0x0):_0x160dc8=_0x160dc8||_0x1f655d[_0x529186(0x1ec)]));}function _0x5c8825(_0x29d9bc){const _0x11643c=_0x529186,_0x413628=_0x2eb59e[_0x11643c(0x1b5)][_0x11643c(0x1f4)](_0x29d9bc),_0x5718b8=_0x2eb59e[_0x11643c(0x1a2)][_0x11643c(0x194)](_0x11643c(0x2a7),{'class':_0x11643c(0x181)+_0x6a4fe3});_0x2eb59e[_0x11643c(0x1a2)][_0x11643c(0x21f)](_0x413628,_0x5718b8),_0x2eb59e[_0x11643c(0x1b5)][_0x11643c(0x252)](_0x5718b8,_0x294649[_0x11643c(0x2a2)]);}_0x55de25||_0x52954b||!_0x160dc8||_0x5c8825(_0x160dc8);};}export class RestoreRevisionCommand extends _0x2ba7c1{constructor(_0x2a1c7a){const _0x4cdb0d=_0x239d53;super(_0x2a1c7a);const _0xf46a34=_0x2a1c7a[_0x4cdb0d(0x184)][_0x4cdb0d(0x1e4)](RevisionViewer);this[_0x4cdb0d(0x1d1)]=!0x1,this[_0x4cdb0d(0x1f6)](_0xf46a34,_0x4cdb0d(0x1c8),()=>this[_0x4cdb0d(0x255)]()),this[_0x4cdb0d(0x1f6)](_0xf46a34,_0x4cdb0d(0x2a5),()=>this[_0x4cdb0d(0x255)]());}[_0x239d53(0x23c)](){const _0xe34ff0=_0x239d53,_0x4845e5=this[_0xe34ff0(0x1e1)],_0x377602=_0x4845e5[_0xe34ff0(0x184)][_0xe34ff0(0x1e4)](RevisionViewer),_0x4cf660=_0x377602[_0xe34ff0(0x269)]?_0x377602[_0xe34ff0(0x200)][_0xe34ff0(0x2b8)]:null;_0x4845e5[_0xe34ff0(0x22f)][_0xe34ff0(0x1e4)](_0xe34ff0(0x20e))[_0xe34ff0(0x24d)](_0x4cf660);}[_0x239d53(0x255)](){const _0x27f5b3=_0x239d53,{isReady:_0x5b886b,isEnabled:_0x1a395c,repository:_0x3387be,diff:_0x318a4b}=this[_0x27f5b3(0x1e1)][_0x27f5b3(0x184)][_0x27f5b3(0x1e4)](RevisionViewer),_0x4493a4=_0x318a4b&&_0x3387be[_0x27f5b3(0x250)](_0x318a4b[_0x27f5b3(0x2b8)]);this[_0x27f5b3(0x281)]=_0x5b886b&&_0x1a395c&&Boolean(_0x4493a4);}}export class ShowChangeCommand extends _0x2ba7c1{[_0x239d53(0x2b2)];constructor(_0x424aec,{direction:_0x5194a3}){const _0x401318=_0x239d53;super(_0x424aec);const _0x5b9edd=_0x424aec[_0x401318(0x184)][_0x401318(0x1e4)](RevisionViewer);this[_0x401318(0x1d1)]=!0x1,this[_0x401318(0x2b2)]=_0x401318(0x18d)===_0x5194a3?0x1:-0x1,this[_0x401318(0x1f6)](_0x5b9edd,_0x401318(0x1c8),()=>this[_0x401318(0x255)]()),this[_0x401318(0x1f6)](_0x5b9edd,_0x401318(0x2a5),()=>this[_0x401318(0x255)]()),this[_0x401318(0x1f6)](_0x5b9edd,_0x401318(0x196),()=>this[_0x401318(0x255)]());}[_0x239d53(0x23c)](){const _0x596eb4=_0x239d53,_0x3db592=this[_0x596eb4(0x1e1)],_0x589daf=_0x3db592[_0x596eb4(0x184)][_0x596eb4(0x1e4)](RevisionViewer),{isNavigationMode:_0x22a047,currentChangeNumber:_0x3f6709}=_0x589daf;let _0xf3a899;if(_0x589daf[_0x596eb4(0x275)]=_0x22a047?_0x589daf[_0x596eb4(0x200)][_0x596eb4(0x212)][_0x596eb4(0x1e4)](_0x3f6709+this[_0x596eb4(0x2b2)]):_0x589daf[_0x596eb4(0x200)][_0x596eb4(0x212)][_0x596eb4(0x232)],_0x589daf[_0x596eb4(0x275)][_0x596eb4(0x1e9)][_0x596eb4(0x180)])_0xf3a899=_0x3db592[_0x596eb4(0x2a3)][_0x596eb4(0x236)][_0x596eb4(0x1c0)](_0x589daf[_0x596eb4(0x275)][_0x596eb4(0x213)]);else{const _0x2c3d37=_0x3db592[_0x596eb4(0x1e3)][_0x596eb4(0x26f)][_0x596eb4(0x1e4)](_0x596eb4(0x26b)+_0x589daf[_0x596eb4(0x275)]['id']);_0xf3a899=_0x5d9c8c(_0x3db592[_0x596eb4(0x2a3)],_0x2c3d37);}_0x2e8f14({'target':_0xf3a899,'viewportOffset':0x28});}[_0x239d53(0x255)](){const _0x3e86ac=_0x239d53,{isNavigationMode:_0x495d9c,currentChangeNumber:_0x41e996,numberOfChanges:_0x212afe,isReady:_0xb8e07,isEnabled:_0x4f0b46}=this[_0x3e86ac(0x1e1)][_0x3e86ac(0x184)][_0x3e86ac(0x1e4)](RevisionViewer);this[_0x3e86ac(0x281)]=!!(_0x4f0b46&&_0xb8e07&&_0x212afe)&&(!_0x495d9c||(0x1===this[_0x3e86ac(0x2b2)]?_0x41e996<_0x212afe-0x1:_0x41e996>0x0));}}
|
|
23
|
+
const _0x42cf3c=_0x6f68;(function(_0x232eb2,_0x139237){const _0x15f741=_0x6f68,_0x17e095=_0x232eb2();while(!![]){try{const _0x2d096c=parseInt(_0x15f741(0x14e))/0x1*(parseInt(_0x15f741(0x154))/0x2)+-parseInt(_0x15f741(0x10f))/0x3+parseInt(_0x15f741(0x11f))/0x4*(-parseInt(_0x15f741(0xfd))/0x5)+-parseInt(_0x15f741(0x15e))/0x6*(parseInt(_0x15f741(0x137))/0x7)+parseInt(_0x15f741(0x1e7))/0x8*(parseInt(_0x15f741(0xe8))/0x9)+-parseInt(_0x15f741(0x202))/0xa*(-parseInt(_0x15f741(0x131))/0xb)+parseInt(_0x15f741(0x1fb))/0xc*(parseInt(_0x15f741(0x19d))/0xd);if(_0x2d096c===_0x139237)break;else _0x17e095['push'](_0x17e095['shift']());}catch(_0x209997){_0x17e095['push'](_0x17e095['shift']());}}}(_0x3c88,0x9d003));import{Plugin as _0x3be9e6,Command as _0x5248b5}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x3d1d40}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x440469}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0x571325,ModelElement as _0xe02ab2,ModelText as _0x1c523a}from'ckeditor5/src/engine.js';function _0x3c88(){const _0x392461=['flat','startIndex','parent','level','rootName','bind','ck-revision-history-root-remove','listenTo','vid','push','insertion','isBlock','_getChangeFromId','then','viewItem','isCollapsed','range','_findChangeIdFromDomTarget','6VoScis','isContent','delete','getItems','markersStart','_revisions','93490PtjQJm','markersEnd','RevisionHistoryUtils','_balloon','consume','isAtEnd','addMarker:revision-suggestion:insertion','editor','find','showNextChange','66NDNTFp','_refreshStartEndIndex','_update','abs','for','isSuggestion','change:isReady','get','reconvertMarker','getWalker','_removeMissingPairs','execute','change:activeChange','_makeModelFromViewString','findIndex','isLimit','getRevisionRootsAttributes','userId','POSITIVE_INFINITY','wrap','forceDisabled','revision-suggestion','length','ck-suggestion-preview-marker-','_joinTapes','side','string','WidgetToolbarRepository','markerNameToElements','adapter','isIncorrect','revisionHistory','upcast','_appendChild','_initInteractions','isAdded','toViewRange','isBefore','createRevision','unbindElementFromMarkerName','_threeWayMerge','data-change-id','vid_start','diff','_setChanges','authors','ck-suggestion-marker','test','filter','high','suggestion:','text','getRoot','checkAttribute','activeView','init','ck-suggestion-marker-','startsWith','object','_makeModelFromTape','change','changes','_markMismatchedRemovedTags','594438MnjhcA','getRevision','editingDowncast','getCustomProperty','revision-suggestion:','diffData','_markMarkers','mapViewToDom','ck-suggestion-marker-merge','_getRevisionsRange','loadRevisionData','forward','type','deletions','elementToAttribute','addMarker:revision-suggestion:deletion','_makeTape','writer','isEqual','currentChangeNumber','createPositionBefore','getChild','addHighlight','_markInsertions','activeChange','addMarker:revision','isRemoveSuggestion','element','getIndex','maxOffset','ck-suggestion-marker-split','_setConversion','set','softBreak','pop','resolve','right','detachRoot','RevisionsRepository','conversion','editing','start','oldRevisionId','clear','element:pre','getRootNames','endIndex','revisionHistoryAttachChange','end','isAtStart','toViewElement','addRevisionData','data','first','done','_data','isRemoved','return','compare','previousPosition','removeMarker','keys','markerName','createUIElement','updatePosition','index','span','getLaterVisibleRevision','attributesBefore','restoreRevision','markers','remove','change:isEnabled','top','16Rcsycx','enableReadOnlyMode','next','createPositionFromPath','addClass','bindElementToMarker','isPremiumPlugin','comment','attachChange','mapper','markerToData','backward','_step','affectsData','consumable','isEnabled','isAfter','add','uiElement','highest','132MGSiek','pluginName','isAddSuggestion','revision:','createRange','includes','elementStart','130McIVOg','-new','vid_end','observeMarkers','distance','view','ck-revision-history-root-add','downcastDispatcher','change:numberOfChanges','removeAttribute','_getDiff','isOnRoot','merge','revision-comment:','change:activeView','_markSuggestions','mousedown','_sortAndFilterDiffChanges','schema','getAttribute','config','model','addRoot','values','isAttached','elementEnd','offsetSize','item','splice','ck-suggestion-preview-marker','setAttribute','document','_fixObsoleteTags','_changeView','revision','catch','split','getAttributes','RevisionViewer','removeMarker:revision-suggestion','locale','attribute:vid','dataToMarker','revision-viewer','removeMarker:revision','name','showStack','722394WzYeyN','insert','_activeViewTarget','forEach','isNavigationMode','requires','revisionHistoryLabel','_processTape','enqueueChange','_changeIdToChange','ck-suggestion-marker--active','stop','bottom','has','addRevision','_removeUnsupportedChanges','attributes','markerRange','_cleanUp','sort','repository','751780OirWqW','domEvent','showPreviousChange','ck-editor__editable__overlay','commands','isReady','nextSibling','dataDowncast','numberOfChanges','selection','createRangeIn','error','mouseover','ck-revision-history-root--active','unshift','low','markerToHighlight','hasAttribute','668502nGmMay','restoreRevisionCallback','removeClass','all','map','domConverter','destroy','toViewPosition','hasClass','getDomRoot','ck-revision-history-root-','deletion','from','_utils','insertions','isInline','4xWOAwE','left','_cleanMarkers','shift','_getViewForChange','pairId','modelRange','newRevisionId','isOfficialPlugin','suggestion','changeId','target','slice','indexOf','refresh','nextPosition','concat','plugins','582472ncYPSJ','attributesAfter','nodeAfter','isObject','getClientRects','getRevisionDocumentData','392063asFevo','roots','code','createAttributeElement','_setDistance'];_0x3c88=function(){return _0x392461;};return _0x3c88();}function _0x6f68(_0x410927,_0x433070){const _0x3c886b=_0x3c88();return _0x6f68=function(_0x6f68e9,_0x2d0170){_0x6f68e9=_0x6f68e9-0xba;let _0x38030d=_0x3c886b[_0x6f68e9];return _0x38030d;},_0x6f68(_0x410927,_0x433070);}import{Users as _0x40758f,getMarkerDomElement as _0x906310}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x1c8a44}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x3c5993}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x5602f7}from'./revisionhistoryutils.js';import{ChangeItem as _0x14de54}from'./changeitem.js';import{RevisionDiff as _0x2aca91}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x21e164}from'es-toolkit/compat';export class RevisionViewer extends _0x3be9e6{[_0x42cf3c(0xfc)];[_0x42cf3c(0x17b)]=null;[_0x42cf3c(0x11c)];[_0x42cf3c(0xea)];[_0x42cf3c(0xda)];[_0x42cf3c(0xf1)];[_0x42cf3c(0x157)];static get[_0x42cf3c(0x1fc)](){const _0xb83bf7=_0x42cf3c;return _0xb83bf7(0xdf);}static get[_0x42cf3c(0x127)](){return!0x0;}static get[_0x42cf3c(0x1ed)](){return!0x0;}static get[_0x42cf3c(0xed)](){return[_0x40758f,_0x440469,_0x3c5993,_0x5602f7];}constructor(_0x247fa7){const _0x381613=_0x42cf3c;super(_0x247fa7),this[_0x381613(0xfc)]=this[_0x381613(0x15b)][_0x381613(0x130)][_0x381613(0x165)](_0x381613(0x1c3)),this[_0x381613(0x11c)]=this[_0x381613(0x15b)][_0x381613(0x130)][_0x381613(0x165)](_0x381613(0x156)),this[_0x381613(0x1bd)](_0x381613(0x1b5),null),this[_0x381613(0x1bd)](_0x381613(0x194),null),this[_0x381613(0xea)]=null,this[_0x381613(0x1bd)](_0x381613(0x189),null),this[_0x381613(0x1bd)](_0x381613(0x102),!0x1),this[_0x381613(0x1bd)](_0x381613(0x1f6),!0x0),this['on'](_0x381613(0x1e5),(_0x2c1e6b,_0x135114,_0x18ce85)=>{const _0x4f0023=_0x381613;this[_0x4f0023(0x1b5)]=null,this[_0x4f0023(0x194)]=null,this[_0x4f0023(0x15b)][_0x4f0023(0x1c5)][_0x4f0023(0xbe)][_0x4f0023(0x19a)](_0x119ea7=>{const _0x3ff874=_0x4f0023;for(const _0x277a2e of this[_0x3ff874(0x15b)][_0x3ff874(0x1c5)][_0x3ff874(0xbe)][_0x3ff874(0xd8)][_0x3ff874(0x138)])_0x18ce85?_0x119ea7[_0x3ff874(0x111)](_0x3ff874(0x100),_0x277a2e):_0x119ea7[_0x3ff874(0x1eb)](_0x3ff874(0x100),_0x277a2e);});}),this[_0x381613(0x141)](_0x381613(0xec))['to'](this,_0x381613(0x1b5),_0x1eab98=>null!==_0x1eab98),this[_0x381613(0x141)](_0x381613(0x1b0))['to'](this,_0x381613(0x102),this,_0x381613(0x189),this,_0x381613(0x1b5),(_0x19ba4c,_0x38f2fd,_0x37af9c)=>_0x19ba4c&&_0x37af9c?_0x38f2fd[_0x381613(0x19b)][_0x381613(0x1b9)](_0x37af9c):0x0),this[_0x381613(0x141)](_0x381613(0x105))['to'](this,_0x381613(0x102),this,_0x381613(0x189),(_0x4ec4bb,_0x259004)=>_0x4ec4bb?_0x259004[_0x381613(0x19b)][_0x381613(0x174)]:0x0),this[_0x381613(0xda)]=null,this[_0x381613(0xf1)]=new Map(),this[_0x381613(0x157)]=this[_0x381613(0x15b)][_0x381613(0x130)][_0x381613(0x165)](_0x440469);}[_0x42cf3c(0x195)](){const _0x175744=_0x42cf3c,_0x16aa22=this[_0x175744(0x15b)],_0x32e5fb=new ShowChangeCommand(_0x16aa22,{'direction':_0x175744(0x1f2)}),_0x4b3539=new ShowChangeCommand(_0x16aa22,{'direction':_0x175744(0x1a8)});(_0x16aa22[_0x175744(0x101)][_0x175744(0x1f8)](_0x175744(0xff),_0x32e5fb),_0x16aa22[_0x175744(0x101)][_0x175744(0x1f8)](_0x175744(0x15d),_0x4b3539),_0x16aa22[_0x175744(0x101)][_0x175744(0x1f8)](_0x175744(0x1e2),new RestoreRevisionCommand(_0x16aa22)),this['on'](_0x175744(0xc1),()=>{const _0x25877a=_0x175744;_0x32e5fb[_0x25877a(0x12d)](),_0x4b3539[_0x25877a(0x12d)]();}),this[_0x175744(0x1bc)](),this[_0x175744(0x180)](),_0x16aa22[_0x175744(0x1e8)](_0x175744(0xe4)),_0x16aa22[_0x175744(0x130)][_0x175744(0xf5)](_0x175744(0x179)))&&_0x16aa22[_0x175744(0x130)][_0x175744(0x165)](_0x175744(0x179))[_0x175744(0x172)](_0x175744(0xe4));}async[_0x42cf3c(0x136)](_0xb232f1){const _0x1400a6=_0x42cf3c;return await this[_0x1400a6(0x11c)][_0x1400a6(0x1a7)](_0xb232f1,this[_0x1400a6(0x17b)]),this[_0x1400a6(0x11c)][_0x1400a6(0x136)](_0xb232f1);}async[_0x42cf3c(0x16e)](_0x53a344){const _0x21c41e=_0x42cf3c;return await this[_0x21c41e(0x11c)][_0x21c41e(0x1a7)](_0x53a344,this[_0x21c41e(0x17b)]),this[_0x21c41e(0x11c)][_0x21c41e(0x16e)](_0x53a344);}async[_0x42cf3c(0x1d7)](_0x55d967,_0xe37b94,_0x24816b=!0x1){const _0x158431=_0x42cf3c;if(!this[_0x158431(0x1f6)])return;const _0x17ef8f=this[_0x158431(0x189)],_0x3d4079=this[_0x158431(0xfc)],_0x5ca9db=_0x158431(0x178)==typeof _0x55d967?_0x3d4079[_0x158431(0x19e)](_0x55d967):_0x55d967,_0x3188a3=_0x158431(0x178)==typeof _0xe37b94?_0x3d4079[_0x158431(0x19e)](_0xe37b94):_0xe37b94,_0x57f0c0=_0x5ca9db['id'],_0x118b41=_0x3188a3?_0x3188a3['id']:null;if(!_0x24816b&&this[_0x158431(0x189)]&&this[_0x158431(0x189)][_0x158431(0x126)]===_0x57f0c0&&this[_0x158431(0x189)][_0x158431(0x1c7)]===_0x118b41)return Promise[_0x158431(0x1c0)]();this[_0x158431(0x102)]=!0x1,this[_0x158431(0x194)]=null,this[_0x158431(0x1b5)]=null,this[_0x158431(0x189)]=new _0x2aca91(_0x57f0c0,_0x118b41);const _0x3ea39f=this[_0x158431(0x1a6)](_0x5ca9db,_0x3188a3,!0x0)[_0x158431(0x113)](_0x5515b0=>this[_0x158431(0x11c)][_0x158431(0x1a7)](_0x5515b0,this[_0x158431(0x17b)]));return _0x3ea39f[_0x158431(0x145)](new Promise(_0x32795c=>{setTimeout(_0x32795c,0x14);})),Promise[_0x158431(0x112)](_0x3ea39f)[_0x158431(0x149)](()=>{const _0x2ff7e9=_0x158431;if(!this[_0x2ff7e9(0x1f6)])return;this[_0x2ff7e9(0xfa)]();const _0x160d54=this[_0x2ff7e9(0xc3)](_0x57f0c0,_0x118b41);for(const _0x4762ba of _0x160d54[_0x2ff7e9(0x19b)])this[_0x2ff7e9(0xf1)][_0x2ff7e9(0x1bd)](_0x4762ba['id'],_0x4762ba);this[_0x2ff7e9(0x15b)][_0x2ff7e9(0xce)][_0x2ff7e9(0xf0)]({'isUndoable':!0x1},_0x12307f=>{const _0x3fbbcf=_0x2ff7e9;for(const _0x1ead29 of this[_0x3fbbcf(0x15b)][_0x3fbbcf(0xce)][_0x3fbbcf(0xd8)][_0x3fbbcf(0x1ca)]())_0x12307f[_0x3fbbcf(0x1c2)](_0x1ead29);for(const _0xe7f612 of Object[_0x3fbbcf(0x1da)](_0x160d54[_0x3fbbcf(0xce)])){const _0x3b7f00=_0x12307f[_0x3fbbcf(0xcf)](_0xe7f612);for(const _0x20aeb0 of Object[_0x3fbbcf(0x1da)](_0x160d54[_0x3fbbcf(0xf8)][_0xe7f612]))_0x12307f[_0x3fbbcf(0xd7)](_0x20aeb0,_0x160d54[_0x3fbbcf(0xf8)][_0xe7f612][_0x20aeb0],_0x3b7f00);_0x12307f[_0x3fbbcf(0xe9)](_0x160d54[_0x3fbbcf(0xce)][_0xe7f612],_0x3b7f00,0x0);}}),this[_0x2ff7e9(0x189)][_0x2ff7e9(0x18a)](this[_0x2ff7e9(0xca)](_0x160d54[_0x2ff7e9(0x19b)])),this[_0x2ff7e9(0x102)]=!0x0;})[_0x158431(0xdc)](_0xd804ba=>{const _0x5ebef5=_0x158431;console[_0x5ebef5(0x108)](_0xd804ba),this[_0x5ebef5(0xfa)](),_0x17ef8f&&(this[_0x5ebef5(0x189)]=_0x17ef8f),this[_0x5ebef5(0x102)]=!0x0;});}[_0x42cf3c(0x1d0)](_0x23ea7b,_0xa70a9c){const _0x8fa80c=_0x42cf3c,_0x448dce=this[_0x8fa80c(0xfc)][_0x8fa80c(0x184)](_0x23ea7b);return _0x448dce['on'](_0x8fa80c(0x160),(_0x4a4294,_0x3d5f65,_0x2b4a46)=>_0xa70a9c(_0x3d5f65,_0x2b4a46,_0x448dce)),this[_0x8fa80c(0xfc)][_0x8fa80c(0xf6)](_0x448dce),_0x448dce;}[_0x42cf3c(0xfa)](){const _0x5a0165=_0x42cf3c;this[_0x5a0165(0x1b5)]=null,this[_0x5a0165(0x121)](),this[_0x5a0165(0xda)]&&this[_0x5a0165(0xda)][_0x5a0165(0x115)](),this[_0x5a0165(0xda)]=null,this[_0x5a0165(0xf1)][_0x5a0165(0x1c8)](),this[_0x5a0165(0x15b)][_0x5a0165(0xce)][_0x5a0165(0xf0)]({'isUndoable':!0x1},_0x56cc08=>{const _0xccb0d0=_0x5a0165;for(const _0x5448a2 of this[_0xccb0d0(0x15b)][_0xccb0d0(0xce)][_0xccb0d0(0xd8)][_0xccb0d0(0x1ca)]())_0x56cc08[_0xccb0d0(0x1c2)](_0x5448a2);});}[_0x42cf3c(0xca)](_0x18ae78){const _0x1ee61d=_0x42cf3c,_0x819c01=[],_0x3ef24d=new Map();for(const _0x1d5517 of this[_0x1ee61d(0x15b)][_0x1ee61d(0xce)][_0x1ee61d(0xd8)][_0x1ee61d(0x1ca)]()){const _0xbe540d=this[_0x1ee61d(0x15b)][_0x1ee61d(0x1c5)][_0x1ee61d(0xbe)][_0x1ee61d(0x118)](_0x1d5517);if(!_0xbe540d)continue;const _0x460a55=_0xbe540d[_0x1ee61d(0x135)]()[_0x1ee61d(0xd4)](0x0);_0x460a55&&(_0x819c01[_0x1ee61d(0x145)](_0x1d5517),_0x3ef24d[_0x1ee61d(0x1bd)](_0x1d5517,_0x460a55));}return _0x819c01[_0x1ee61d(0xfb)]((_0x4d991c,_0x5a25e2)=>{const _0x23b660=_0x1ee61d,_0x303ee7=_0x3ef24d[_0x23b660(0x165)](_0x4d991c),_0x5e4a88=_0x3ef24d[_0x23b660(0x165)](_0x5a25e2);return _0x303ee7['y']-_0x5e4a88['y']||_0x303ee7['x']-_0x5e4a88['x'];}),(_0x18ae78=_0x18ae78[_0x1ee61d(0x18e)](_0x4aa81b=>_0x819c01[_0x1ee61d(0x200)](_0x4aa81b[_0x1ee61d(0x140)])))[_0x1ee61d(0xfb)]((_0x1a84fd,_0x1c6d73)=>_0x819c01[_0x1ee61d(0x12c)](_0x1a84fd[_0x1ee61d(0x140)])-_0x819c01[_0x1ee61d(0x12c)](_0x1c6d73[_0x1ee61d(0x140)])),_0x18ae78;}[_0x42cf3c(0x1ad)](_0x4c9fb8){const _0x13f61e=_0x42cf3c,_0x4627c3=Array[_0x13f61e(0x11b)](_0x4c9fb8[_0x13f61e(0x1e3)])[_0x13f61e(0x18e)](([_0x42a42a,_0x44b435])=>_0x42a42a[_0x13f61e(0x197)](_0x13f61e(0x1fe))&&!_0x44b435[_0x13f61e(0x14b)]),_0xb650a5=Array[_0x13f61e(0x11b)](this[_0x13f61e(0x15b)][_0x13f61e(0xce)][_0x13f61e(0x107)](_0x4c9fb8)[_0x13f61e(0x167)]({'singleCharacters':!0x0}));if(0x0!=_0x4627c3[_0x13f61e(0x174)])for(const _0x2974ef of _0xb650a5){const [_0x4aadc1,_0x18ce67]=_0x4627c3[0x0],[,_0x143293,_0x2a7249]=_0x4aadc1[_0x13f61e(0xdd)](':');if(_0x18ce67[_0x13f61e(0x1cd)][_0x13f61e(0x1af)](_0x2974ef[_0x13f61e(0x12e)])&&_0x4627c3[_0x13f61e(0x122)](),(_0x2974ef[_0x13f61e(0x1d8)][_0x13f61e(0x1af)](_0x18ce67[_0x13f61e(0x1c6)])||_0x2974ef[_0x13f61e(0x1d8)][_0x13f61e(0x1f7)](_0x18ce67[_0x13f61e(0x1c6)]))&&(_0x13f61e(0x146)==_0x143293?_0x2974ef[_0x13f61e(0x181)]={'userId':_0x2a7249}:_0x13f61e(0x11a)==_0x143293&&(_0x2974ef[_0x13f61e(0x1d5)]={'userId':_0x2a7249})),0x0==_0x4627c3[_0x13f61e(0x174)])break;}return _0xb650a5;}[_0x42cf3c(0x15f)](_0x15a46a){const _0x4f80ce=_0x42cf3c,_0x372e04=new Map();for(let _0x12f149=0x0;_0x12f149<_0x15a46a[_0x4f80ce(0x174)];_0x12f149++)_0x4f80ce(0x191)===_0x15a46a[_0x12f149][_0x4f80ce(0x1a9)]?(_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x13d)]=_0x12f149,_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x1cb)]=_0x12f149):(_0x4f80ce(0x201)===_0x15a46a[_0x12f149][_0x4f80ce(0x1a9)]?_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x13d)]=_0x12f149:_0x4f80ce(0xd2)===_0x15a46a[_0x12f149][_0x4f80ce(0x1a9)]&&(_0x15a46a[_0x12f149][_0x4f80ce(0xd4)][_0x4f80ce(0x1cb)]=_0x12f149),_0x372e04[_0x4f80ce(0x1bd)](_0x15a46a[_0x12f149]['id'],_0x12f149));for(const _0x5595e8 of _0x372e04[_0x4f80ce(0xd0)]())_0x4f80ce(0x201)===_0x15a46a[_0x5595e8][_0x4f80ce(0x1a9)]?_0x15a46a[_0x5595e8][_0x4f80ce(0xd4)][_0x4f80ce(0x1cb)]=_0x372e04[_0x4f80ce(0x165)](_0x15a46a[_0x5595e8][_0x4f80ce(0x124)]):_0x4f80ce(0xd2)===_0x15a46a[_0x5595e8][_0x4f80ce(0x1a9)]&&(_0x15a46a[_0x5595e8][_0x4f80ce(0xd4)][_0x4f80ce(0x13d)]=_0x372e04[_0x4f80ce(0x165)](_0x15a46a[_0x5595e8][_0x4f80ce(0x124)]));}[_0x42cf3c(0xef)](_0x10a062){const _0x169a45=_0x42cf3c;for(let _0x1274da=0x0;_0x1274da<_0x10a062[_0x169a45(0x174)];_0x1274da++){if(_0x169a45(0x201)===_0x10a062[_0x1274da][_0x169a45(0x1a9)])_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x13d)]=_0x1274da;else{if(_0x169a45(0xd2)===_0x10a062[_0x1274da][_0x169a45(0x1a9)]){_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x1cb)]=_0x1274da;const _0xc2506f=_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x13d)];_0x10a062[_0xc2506f][_0x169a45(0x124)]=_0x10a062[_0x1274da]['id'],_0x10a062[_0x1274da][_0x169a45(0x124)]=_0x10a062[_0xc2506f]['id'];}else _0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x13d)]=_0x1274da,_0x10a062[_0x1274da][_0x169a45(0xd4)][_0x169a45(0x1cb)]=_0x1274da,_0x10a062[_0x1274da][_0x169a45(0x124)]=null;}_0x10a062[_0x1274da][_0x169a45(0x152)]||(_0x10a062[_0x1274da][_0x169a45(0x152)]=[],_0x10a062[_0x1274da][_0x169a45(0x155)]=[]);}}[_0x42cf3c(0x1b4)](_0x2ce66a,_0x45469b){const _0x25965e=_0x42cf3c,_0x17b5f4=_0x2ce66a[_0x25965e(0x18e)](_0x3984fd=>!_0x3984fd[_0x25965e(0x181)]);for(let _0x796c93=0x0;_0x796c93<_0x45469b[_0x25965e(0x174)];_0x796c93++)_0x45469b[_0x796c93][_0x25965e(0x181)]&&(_0x17b5f4[_0x796c93][_0x25965e(0x181)]=_0x45469b[_0x796c93][_0x25965e(0x181)]);}[_0x42cf3c(0xc3)](_0x1e7f65,_0x5ce239=null){const _0x68a45f=_0x42cf3c,_0x436319=this[_0x68a45f(0xfc)][_0x68a45f(0x19e)](_0x1e7f65),_0x2737dc=_0x5ce239?this[_0x68a45f(0xfc)][_0x68a45f(0x19e)](_0x5ce239):null,_0x3c9190=this[_0x68a45f(0x1a6)](_0x436319,_0x2737dc),_0x3ef166=_0x3c9190[_0x3c9190[_0x68a45f(0x174)]-0x1],_0x2a4dd7=new Map(),_0x38b43c={'model':{},'attributes':{},'changes':[]},_0x1758d2=new Set(),_0x1d5c59=new Map();for(let _0x306404=_0x3c9190[_0x68a45f(0x174)]-0x1;_0x306404>=0x0;_0x306404--){const _0x3122fe=_0x3c9190[_0x306404];for(const _0x22afec of Object[_0x68a45f(0x1da)](_0x3122fe[_0x68a45f(0x1a2)]))if(_0x3122fe[_0x68a45f(0x1a2)][_0x22afec][_0x68a45f(0x1ef)]){const _0x282f25=_0x3122fe[_0x68a45f(0x1a2)][_0x22afec][_0x68a45f(0x1ef)];_0x282f25[_0x68a45f(0xd1)]?(_0x1758d2[_0x68a45f(0x1f8)](_0x22afec),_0x1d5c59[_0x68a45f(0xf5)](_0x22afec)&&_0x1d5c59[_0x68a45f(0x165)](_0x22afec)[_0x68a45f(0x16f)]==_0x282f25[_0x68a45f(0x16f)]?_0x1d5c59[_0x68a45f(0x150)](_0x22afec):_0x1d5c59[_0x68a45f(0x1bd)](_0x22afec,_0x282f25)):_0x1d5c59[_0x68a45f(0xf5)](_0x22afec)?(_0x1758d2[_0x68a45f(0x150)](_0x22afec),_0x1d5c59[_0x68a45f(0x150)](_0x22afec)):(_0x1758d2[_0x68a45f(0x1f8)](_0x22afec),_0x1d5c59[_0x68a45f(0x1bd)](_0x22afec,_0x282f25));}else _0x1758d2[_0x68a45f(0x1f8)](_0x22afec);}for(const _0x33e7a8 of _0x1758d2){const _0x5ab96d=_0x1d5c59[_0x68a45f(0xf5)](_0x33e7a8)&&!_0x1d5c59[_0x68a45f(0x165)](_0x33e7a8)[_0x68a45f(0xd1)];let _0x5ee4c9=_0x5ab96d?_0x3c9190[_0x68a45f(0x174)]-0x1:0x0;const _0x5f5740=_0x5ab96d?-0x1:0x1;for(;_0x3c9190[_0x5ee4c9];){const _0x3a50fc=_0x3c9190[_0x5ee4c9];if(_0x3a50fc[_0x68a45f(0x1a2)][_0x33e7a8]){const _0x4ac6c0=_0x5ab96d?_0x3a50fc[_0x68a45f(0x1a2)][_0x33e7a8][_0x68a45f(0x1e1)]:_0x3a50fc[_0x68a45f(0x1a2)][_0x33e7a8][_0x68a45f(0x132)];_0x38b43c[_0x68a45f(0xf8)][_0x33e7a8]=_0x4ac6c0?_0x21e164(_0x4ac6c0):{};break;}_0x5ee4c9+=_0x5f5740;}}for(const _0x287b9e of _0x3c9190){_0x287b9e[_0x68a45f(0xce)]={};for(const _0x9b0fda of _0x287b9e[_0x68a45f(0x18b)])_0x2a4dd7[_0x68a45f(0x1bd)](_0x9b0fda['id'],_0x9b0fda);for(const _0x678c84 of _0x1758d2){const _0x966fcb=_0x287b9e[_0x68a45f(0x1a2)][_0x678c84]?_0x287b9e[_0x68a45f(0x1a2)][_0x678c84][_0x68a45f(0x11d)]:'[]',_0x3a3d27=_0x287b9e[_0x68a45f(0x1a2)][_0x678c84]?_0x287b9e[_0x68a45f(0x1a2)][_0x678c84][_0x68a45f(0x1aa)]:'[]';_0x287b9e[_0x68a45f(0xce)][_0x678c84]={'insertions':this[_0x68a45f(0x11c)][_0x68a45f(0x16b)](_0x966fcb),'deletions':this[_0x68a45f(0x11c)][_0x68a45f(0x16b)](_0x3a3d27)};}}for(const _0x1c2317 of _0x1758d2){let _0x3de96f=null,_0x5a90f7=0x0;const _0x3e7eed=new Map(Array[_0x68a45f(0x11b)](_0x436319[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x11d)][_0x68a45f(0x1e3)])[_0x68a45f(0x18e)](([_0x512652])=>!_0x512652[_0x68a45f(0x197)](_0x68a45f(0x1fe))));let _0x5375e8=0x0;for(const _0x206e25 of _0x3c9190){const _0xdfc5a2=this[_0x68a45f(0x1ad)](_0x206e25[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x11d)]);_0x206e25==_0x436319?(_0x3de96f=_0xdfc5a2,_0x5a90f7=_0x3de96f[_0x68a45f(0x174)],_0x3de96f[_0x68a45f(0xeb)](_0x44febb=>{_0x44febb['id']=_0x5375e8++;}),this[_0x68a45f(0xef)](_0x3de96f)):this[_0x68a45f(0x1b4)](_0x3de96f,_0xdfc5a2);const _0x303412=_0x3de96f[_0x68a45f(0x18e)](_0x182018=>!_0x182018[_0x68a45f(0x181)])[_0x68a45f(0x113)](_0x2dfb3a=>_0x2dfb3a['id']);let _0x353b9b=0x0;const _0xe83490=this[_0x68a45f(0x1ad)](_0x206e25[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x1aa)]);_0xe83490[_0x68a45f(0xeb)](_0x722d2a=>{const _0x2f3cc8=_0x68a45f;_0x722d2a[_0x2f3cc8(0x1d5)]?_0x722d2a['id']=_0x5a90f7++:_0x722d2a['id']=_0x303412[_0x353b9b++];}),this[_0x68a45f(0xef)](_0xe83490),this[_0x68a45f(0x13b)](_0x3de96f,_0x68a45f(0x181)),this[_0x68a45f(0x13b)](_0xe83490,_0x68a45f(0x1d5)),_0x206e25==_0x436319&&this[_0x68a45f(0x1a3)](_0x3de96f,_0x3e7eed),_0x3de96f=this[_0x68a45f(0x176)](_0x3de96f,_0xe83490),this[_0x68a45f(0x15f)](_0x3de96f),this[_0x68a45f(0x13b)](_0x3de96f,_0x68a45f(0x1d5));}_0x3de96f=_0x3de96f[_0x68a45f(0x18e)](_0x3f737a=>!(_0x3f737a[_0x68a45f(0x181)]&&_0x3f737a[_0x68a45f(0x1d5)]));const _0x5316e7=new Map(_0x3ef166[_0x68a45f(0xce)][_0x1c2317][_0x68a45f(0x1aa)][_0x68a45f(0x1e3)]),_0x102bb2=new Set(_0x3e7eed[_0x68a45f(0x1da)]());for(const _0x3fcede of _0x5316e7[_0x68a45f(0x1da)]())_0x102bb2[_0x68a45f(0x150)](_0x3fcede);this[_0x68a45f(0xc8)](_0x3de96f,_0x102bb2),this[_0x68a45f(0xd9)](_0x3de96f),_0x3de96f=this[_0x68a45f(0x168)](_0x3de96f),_0x3de96f=this[_0x68a45f(0x19c)](_0x3de96f),_0x3de96f=this[_0x68a45f(0xf7)](_0x3de96f);const {root:_0x5b98e5,changes:_0x1dbf0b}=this[_0x68a45f(0x199)](_0x3de96f,_0x2a4dd7,_0x1c2317);_0x38b43c[_0x68a45f(0xce)][_0x1c2317]=_0x5b98e5;const _0x29448c=_0x1d5c59[_0x68a45f(0x165)](_0x1c2317);if(_0x29448c){const _0x4f28c0=_0x2a4dd7[_0x68a45f(0x165)](_0x29448c[_0x68a45f(0x16f)]),_0xfe9f53=new _0x14de54({'author':_0x4f28c0,'type':_0x29448c[_0x68a45f(0xd1)]?_0x68a45f(0x1f8):_0x68a45f(0x1e4),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1c2317});_0x1dbf0b[_0x68a45f(0x10b)](_0xfe9f53),_0x38b43c[_0x68a45f(0xf8)][_0x1c2317][_0x68a45f(0x1cc)]=_0xfe9f53['id'];}_0x38b43c[_0x68a45f(0x19b)]=_0x38b43c[_0x68a45f(0x19b)][_0x68a45f(0x12f)](_0x1dbf0b);}return _0x38b43c;}[_0x42cf3c(0x1a3)](_0x1ed1ad,_0x5b3a98){const _0x47232b=_0x42cf3c;for(let _0x5e5c30=0x0;_0x5e5c30<_0x1ed1ad[_0x47232b(0x174)];_0x5e5c30++)for(const [_0xaa26a8,_0x16a7b8]of _0x5b3a98)!_0x16a7b8[_0x47232b(0x14b)]&&_0x16a7b8[_0x47232b(0x1c6)][_0x47232b(0x1af)](_0x1ed1ad[_0x5e5c30][_0x47232b(0x1d8)])&&_0x1ed1ad[_0x5e5c30][_0x47232b(0x152)][_0x47232b(0x145)](_0xaa26a8),_0x16a7b8[_0x47232b(0x1cd)][_0x47232b(0x1af)](_0x1ed1ad[_0x5e5c30][_0x47232b(0x12e)])&&_0x1ed1ad[_0x5e5c30][_0x47232b(0x155)][_0x47232b(0x145)](_0xaa26a8);}[_0x42cf3c(0x176)](_0x4a1890,_0x16c6aa){const _0x4952c8=_0x42cf3c;let _0x4b0833=[],_0x410687=0x0,_0x218947=0x0;for(;_0x410687<_0x4a1890[_0x4952c8(0x174)]||_0x218947<_0x16c6aa[_0x4952c8(0x174)];){const _0x1ab72c=_0x4a1890[_0x410687]||{},_0x11cde9=_0x16c6aa[_0x218947]||{};if(_0x1ab72c['id']==_0x11cde9['id'])_0x410687++,_0x218947++,_0x4b0833[_0x4952c8(0x145)](_0x1ab72c);else{if(_0x11cde9[_0x4952c8(0x1d5)]&&_0x1ab72c[_0x4952c8(0x181)]){const {commonTape:_0x15cb6a,iEnd:_0x2d8590,jEnd:_0x54fa23}=this[_0x4952c8(0x186)](_0x4a1890,_0x410687,_0x16c6aa,_0x218947);_0x4b0833=_0x4b0833[_0x4952c8(0x12f)](_0x15cb6a),_0x410687=_0x2d8590,_0x218947=_0x54fa23;}else _0x11cde9[_0x4952c8(0x1d5)]?(_0x218947++,_0x4b0833[_0x4952c8(0x145)](_0x11cde9)):(_0x410687++,_0x4b0833[_0x4952c8(0x145)](_0x1ab72c));}}return _0x4b0833;}[_0x42cf3c(0xc8)](_0x32dae2,_0x1fbab8){const _0x5debff=_0x42cf3c,_0x1cff4a=[];for(let _0x139414=0x0;_0x139414<_0x32dae2[_0x5debff(0x174)];_0x139414++){for(let _0x176d89=0x0;_0x176d89<_0x32dae2[_0x139414][_0x5debff(0x152)][_0x5debff(0x174)];_0x176d89++){const _0x2f8ced=_0x32dae2[_0x139414][_0x5debff(0x152)][_0x176d89];if(!_0x1fbab8[_0x5debff(0xf5)](_0x2f8ced))continue;const {group:_0x4c3a41,type:_0x2ca5ee,authorId:_0x27abea}=_0x3d20ef(_0x2f8ced);_0x5debff(0x173)!=_0x4c3a41||_0x5debff(0x146)!=_0x2ca5ee&&_0x5debff(0x11a)!=_0x2ca5ee||(_0x1cff4a[_0x5debff(0x10b)]({'type':_0x2ca5ee,'name':_0x2f8ced,'userId':_0x27abea}),_0x32dae2[_0x139414][_0x5debff(0x152)][_0x5debff(0xd5)](_0x176d89,0x1),_0x176d89--);}_0x441d85(_0x32dae2[_0x139414]);for(let _0x13fbef=0x0;_0x13fbef<_0x32dae2[_0x139414][_0x5debff(0x155)][_0x5debff(0x174)];_0x13fbef++){const _0x1f3a50=_0x32dae2[_0x139414][_0x5debff(0x155)][_0x13fbef];if(!_0x1fbab8[_0x5debff(0xf5)](_0x1f3a50))continue;const {group:_0x32d2c0,type:_0x2f9e0c}=_0x3d20ef(_0x1f3a50);if(_0x5debff(0x173)!=_0x32d2c0||_0x5debff(0x146)!=_0x2f9e0c&&_0x5debff(0x11a)!=_0x2f9e0c)continue;_0x32dae2[_0x139414][_0x5debff(0x155)][_0x5debff(0xd5)](_0x13fbef,0x1),_0x13fbef--;const _0x4c408d=_0x1cff4a[_0x5debff(0x16c)](_0x103c2c=>_0x103c2c[_0x5debff(0xe6)]==_0x1f3a50);_0x4c408d>-0x1&&_0x1cff4a[_0x5debff(0xd5)](_0x4c408d,0x1);}}function _0x3d20ef(_0x3ddf2b){const _0x560d6d=_0x5debff,_0x586a80=_0x3ddf2b[_0x560d6d(0xdd)](':');return{'group':_0x586a80[0x0],'type':_0x586a80[0x1],'subType':_0x586a80[_0x560d6d(0x174)]>=0x5?_0x586a80[0x2]:null,'id':_0x586a80[_0x560d6d(0x174)]<0x5?_0x586a80[0x2]:_0x586a80[0x3],'authorId':_0x586a80[_0x560d6d(0x174)]<0x5?_0x586a80[0x3]:_0x586a80[0x4],'markerCount':0x6==_0x586a80[_0x560d6d(0x174)]?_0x586a80[0x5]:null};}function _0x441d85(_0x195126){const _0x52b436=_0x5debff;for(let _0x539ad0=0x0;_0x539ad0<_0x1cff4a[_0x52b436(0x174)];_0x539ad0++){if(_0x195126[_0x52b436(0x181)]&&_0x52b436(0x146)==_0x1cff4a[_0x539ad0][_0x52b436(0x1a9)]&&_0x195126[_0x52b436(0x181)][_0x52b436(0x16f)]==_0x1cff4a[_0x539ad0][_0x52b436(0x16f)])return _0x195126[_0x52b436(0x1fd)]=_0x1cff4a[_0x539ad0],void delete _0x195126[_0x52b436(0x181)];if(!_0x195126[_0x52b436(0x181)]&&!_0x195126[_0x52b436(0x1d5)]&&_0x52b436(0x11a)==_0x1cff4a[_0x539ad0][_0x52b436(0x1a9)])return void(_0x195126[_0x52b436(0x1b7)]=_0x1cff4a[_0x539ad0]);}}}[_0x42cf3c(0x13b)](_0x58fed6,_0x4134dd){const _0x5421ef=_0x42cf3c;let _0x18ac25=0x0,_0x38b14=!0x1;const _0x43680b=new Map();for(const _0x4d53dc of _0x58fed6)_0x4d53dc[_0x4134dd]?_0x38b14&&(_0x18ac25++,_0x38b14=!0x1):(_0x18ac25++,_0x38b14=!0x0),_0x43680b[_0x5421ef(0x1bd)](_0x4d53dc['id'],_0x18ac25);for(let _0x2697c8=0x0;_0x2697c8<_0x58fed6[_0x5421ef(0x174)];_0x2697c8++){if(_0x5421ef(0x1d5)==_0x4134dd&&_0x58fed6[_0x2697c8][_0x5421ef(0x181)]||_0x5421ef(0x181)==_0x4134dd&&_0x58fed6[_0x2697c8][_0x5421ef(0x1d5)])continue;if(_0x5421ef(0x191)==_0x58fed6[_0x2697c8][_0x5421ef(0x1a9)]){_0x58fed6[_0x2697c8][_0x5421ef(0xbd)]=0x0;continue;}const _0x1014ac=_0x43680b[_0x5421ef(0x165)](_0x58fed6[_0x2697c8][_0x5421ef(0x124)]),_0x4ed2f3=_0x43680b[_0x5421ef(0x165)](_0x58fed6[_0x2697c8]['id']);_0x58fed6[_0x2697c8][_0x5421ef(0xbd)]=_0x1014ac-_0x4ed2f3;}}[_0x42cf3c(0x1a6)](_0x1400b6,_0x33685e,_0x4a9731=!0x1){const _0x5b3b04=_0x42cf3c,_0xb01b43=[];let _0x2debdc=this[_0x5b3b04(0xfc)][_0x5b3b04(0x1b9)](_0x1400b6),_0x449198=this[_0x5b3b04(0xfc)][_0x5b3b04(0x1b9)](_0x33685e);for(-0x1==_0x449198&&(_0x449198=this[_0x5b3b04(0xfc)][_0x5b3b04(0x153)][_0x5b3b04(0x174)],_0x4a9731=!0x1);_0x2debdc<_0x449198;)_0xb01b43[_0x5b3b04(0x145)](this[_0x5b3b04(0xfc)][_0x5b3b04(0x19e)](_0x2debdc)),_0x2debdc++;return _0x4a9731&&_0xb01b43[_0x5b3b04(0x145)](this[_0x5b3b04(0xfc)][_0x5b3b04(0x19e)](_0x2debdc)),_0xb01b43;}[_0x42cf3c(0x186)](_0x2cf3bb,_0xc2f9a,_0x32d2d7,_0x170f7b){const _0xbfd23c=_0x42cf3c,_0x3a7317=this[_0xbfd23c(0x15b)][_0xbfd23c(0xce)][_0xbfd23c(0xcb)];let _0x12c71f=_0xc2f9a;for(;_0x2cf3bb[_0x12c71f]&&_0x2cf3bb[_0x12c71f][_0xbfd23c(0x181)];)_0x12c71f++;let _0x243ac4=_0x170f7b;for(;_0x32d2d7[_0x243ac4]&&_0x32d2d7[_0x243ac4][_0xbfd23c(0x1d5)];)_0x243ac4++;_0x4c1c36(_0x2cf3bb,_0xc2f9a,_0x12c71f),_0x4c1c36(_0x32d2d7,_0x170f7b,_0x243ac4);const _0x1d33d1=_0x32d2d7[_0xbfd23c(0x12b)](_0x170f7b,_0x243ac4)[_0xbfd23c(0x12f)](_0x2cf3bb[_0xbfd23c(0x12b)](_0xc2f9a,_0x12c71f));return _0x1d33d1[_0xbfd23c(0xfb)]((_0x5b9bcf,_0x196e3f)=>_0x5b9bcf[_0xbfd23c(0x177)]!=_0x196e3f[_0xbfd23c(0x177)]?_0x5b9bcf[_0xbfd23c(0x177)]-_0x196e3f[_0xbfd23c(0x177)]:_0x5b9bcf[_0xbfd23c(0x13f)]!=_0x196e3f[_0xbfd23c(0x13f)]?_0x5b9bcf[_0xbfd23c(0x13f)]-_0x196e3f[_0xbfd23c(0x13f)]:_0x5b9bcf[_0xbfd23c(0xbd)]!=_0x196e3f[_0xbfd23c(0xbd)]?_0x196e3f[_0xbfd23c(0xbd)]-_0x5b9bcf[_0xbfd23c(0xbd)]:!!_0x5b9bcf[_0xbfd23c(0x181)]!=!!_0x196e3f[_0xbfd23c(0x181)]?-0x1==_0x5b9bcf[_0xbfd23c(0x177)]||0x0==_0x5b9bcf[_0xbfd23c(0x177)]?_0x5b9bcf[_0xbfd23c(0x181)]?-0x1:0x1:_0x5b9bcf[_0xbfd23c(0x181)]?0x1:-0x1:_0x5b9bcf[_0xbfd23c(0x1de)]-_0x196e3f[_0xbfd23c(0x1de)]),{'commonTape':_0x1d33d1,'iEnd':_0x12c71f,'jEnd':_0x243ac4};function _0x4c1c36(_0x54b3e3,_0x452f01,_0x35e72c){const _0xa8cb68=_0xbfd23c;let _0x4bd7fe=-0x1,_0x405d88=Number[_0xa8cb68(0x170)],_0x3ab441=!0x0;for(let _0x4ff7d5=_0x452f01;_0x4ff7d5<_0x35e72c;_0x4ff7d5++)if(_0x3a7317[_0xa8cb68(0x11e)](_0x54b3e3[_0x4ff7d5][_0xa8cb68(0xd4)])||(_0x3ab441=!0x1),_0x54b3e3[_0x4ff7d5][_0xa8cb68(0xd4)][_0xa8cb68(0x13d)]<_0x452f01&&(_0x4bd7fe=_0x4ff7d5),_0x54b3e3[_0x4ff7d5][_0xa8cb68(0xd4)][_0xa8cb68(0x1cb)]>=_0x35e72c){_0x405d88=_0x4ff7d5;break;}_0x3ab441&&(_0x4bd7fe=_0x35e72c-0x1);for(let _0xf55839=_0x452f01;_0xf55839<_0x35e72c;_0xf55839++)_0x54b3e3[_0xf55839][_0xa8cb68(0x177)]=_0xf55839<=_0x4bd7fe?-0x1:_0xf55839<_0x405d88?0x0:0x1,_0x54b3e3[_0xf55839][_0xa8cb68(0x1de)]=_0xf55839;let _0x10cd85=0x0;for(let _0x378c08=_0x452f01;_0x378c08<=_0x4bd7fe;_0x378c08++)0x0==_0x54b3e3[_0x378c08][_0xa8cb68(0xbd)]?_0x54b3e3[_0x378c08][_0xa8cb68(0x13f)]=_0x10cd85:(_0x10cd85++,_0x54b3e3[_0x378c08][_0xa8cb68(0x13f)]=_0x10cd85,_0x10cd85++);for(let _0x278593=_0x452f01;_0x278593<_0x35e72c;_0x278593++)0x0==_0x54b3e3[_0x278593][_0xa8cb68(0x177)]&&(_0x54b3e3[_0x278593][_0xa8cb68(0x13f)]=_0x10cd85);_0x10cd85=0x0;for(let _0x74ae5e=_0x35e72c-0x1;_0x74ae5e>=_0x405d88;_0x74ae5e--)0x0==_0x54b3e3[_0x74ae5e][_0xa8cb68(0xbd)]?_0x54b3e3[_0x74ae5e][_0xa8cb68(0x13f)]=_0x10cd85:(_0x10cd85--,_0x54b3e3[_0x74ae5e][_0xa8cb68(0x13f)]=_0x10cd85,_0x10cd85--);}}[_0x42cf3c(0xd9)](_0xdc717e){const _0x156abf=_0x42cf3c,_0x32bc24=new Map(),_0x163ce2=this[_0x156abf(0x15b)][_0x156abf(0xce)][_0x156abf(0xcb)];for(let _0x173249=0x1;_0x173249<_0xdc717e[_0x156abf(0x174)];_0x173249++){let _0x1bb3ea,_0x128799,_0x18566c;const _0x53deec=_0xdc717e[_0x173249],_0x36d766=_0xdc717e[_0x173249-0x1];if(_0x156abf(0x191)==_0x53deec[_0x156abf(0x1a9)])continue;if(_0x53deec[_0x156abf(0x1a9)]!=_0x36d766[_0x156abf(0x1a9)])continue;if(!_0x163ce2[_0x156abf(0x147)](_0x36d766[_0x156abf(0xd4)])||_0x163ce2[_0x156abf(0x16d)](_0x36d766[_0x156abf(0xd4)]))continue;if(!_0x163ce2[_0x156abf(0x147)](_0x53deec[_0x156abf(0xd4)])||_0x163ce2[_0x156abf(0x16d)](_0x53deec[_0x156abf(0xd4)]))continue;if((_0xdc717e[_0x173249][_0x156abf(0x181)]||_0xdc717e[_0x173249][_0x156abf(0x1fd)])&&_0xdc717e[_0x173249-0x1][_0x156abf(0x1d5)])_0x1bb3ea=_0xdc717e[_0x173249],_0x128799=_0xdc717e[_0x173249-0x1],_0x18566c=_0x173249-0x1;else{if(!_0xdc717e[_0x173249][_0x156abf(0x1d5)]||!_0xdc717e[_0x173249-0x1][_0x156abf(0x181)]&&!_0xdc717e[_0x173249-0x1][_0x156abf(0x1fd)])continue;_0x1bb3ea=_0xdc717e[_0x173249-0x1],_0x128799=_0xdc717e[_0x173249],_0x18566c=_0x173249;}const _0x514f6a=_0x1bb3ea[_0x156abf(0x13f)]==_0x128799[_0x156abf(0x13f)],_0x5a9804=Math[_0x156abf(0x161)](_0x1bb3ea[_0x156abf(0x13f)])<Math[_0x156abf(0x161)](_0x128799[_0x156abf(0x13f)])&&0x0==_0x128799[_0x156abf(0xbd)];(_0x514f6a||_0x5a9804)&&(_0x32bc24[_0x156abf(0x1bd)](_0x128799['id'],_0x1bb3ea['id']),_0xdc717e[_0x156abf(0xd5)](_0x18566c,0x1),_0x173249--,_0x1bb3ea[_0x156abf(0x181)]=!0x1);}for(let _0x3c0038=0x0;_0x3c0038<_0xdc717e[_0x156abf(0x174)];_0x3c0038++)_0x32bc24[_0x156abf(0xf5)](_0xdc717e[_0x3c0038][_0x156abf(0x124)])&&(_0xdc717e[_0x3c0038][_0x156abf(0x124)]=_0x32bc24[_0x156abf(0x165)](_0xdc717e[_0x3c0038][_0x156abf(0x124)]));}[_0x42cf3c(0x168)](_0x5b788a){const _0x44afa2=_0x42cf3c,_0x1897c3=new Set(_0x5b788a[_0x44afa2(0x113)](_0x449611=>_0x449611['id']));for(let _0x304fa9=0x0;_0x304fa9<_0x5b788a[_0x44afa2(0x174)];_0x304fa9++)_0x1897c3[_0x44afa2(0xf5)](_0x5b788a[_0x304fa9][_0x44afa2(0x124)])||0x0==_0x5b788a[_0x304fa9][_0x44afa2(0xbd)]||(_0x5b788a[_0x304fa9][_0x44afa2(0x17c)]=!0x0);return _0x5b788a[_0x44afa2(0x18e)](_0x24ca84=>!_0x24ca84[_0x44afa2(0x17c)]);}[_0x42cf3c(0x19c)](_0x2e7f99){const _0x14f617=_0x42cf3c,_0x2e44dd=new Set();for(let _0x216c68=0x0;_0x216c68<_0x2e7f99[_0x14f617(0x174)];_0x216c68++){if(_0x2e44dd[_0x14f617(0xf5)](_0x2e7f99[_0x216c68]['id'])&&_0x2e7f99[_0x216c68][_0x14f617(0x1d5)]&&(_0x2e7f99[_0x216c68][_0x14f617(0x17c)]=!0x0),_0x2e7f99[_0x216c68][_0x14f617(0x17c)])continue;if(0x0==_0x2e7f99[_0x216c68][_0x14f617(0xbd)])continue;if(_0x14f617(0x201)!=_0x2e7f99[_0x216c68][_0x14f617(0x1a9)])continue;if(null==_0x2e7f99[_0x216c68][_0x14f617(0x124)])continue;let _0x3b66b9=_0x216c68+0x1,_0xd220d0=0x0;for(;_0x2e7f99[_0x3b66b9]['id']!=_0x2e7f99[_0x216c68][_0x14f617(0x124)];)_0x14f617(0x201)==_0x2e7f99[_0x3b66b9][_0x14f617(0x1a9)]?_0xd220d0++:_0x14f617(0xd2)==_0x2e7f99[_0x3b66b9][_0x14f617(0x1a9)]&&_0xd220d0--,_0x3b66b9++;if(0x0!=_0xd220d0){if(_0x2e7f99[_0x216c68][_0x14f617(0x1d5)])_0x2e7f99[_0x216c68][_0x14f617(0x17c)]=!0x0;else{for(;_0x3b66b9!=_0x216c68;)_0x2e7f99[_0x3b66b9][_0x14f617(0x1d5)]&&0x0!=_0x2e7f99[_0x3b66b9][_0x14f617(0xbd)]&&(_0x2e7f99[_0x3b66b9][_0x14f617(0x17c)]=!0x0,_0x2e44dd[_0x14f617(0x1f8)](_0x2e7f99[_0x3b66b9][_0x14f617(0x124)])),_0x3b66b9--;}}}return _0x2e7f99[_0x14f617(0x18e)](_0x52f60c=>!_0x52f60c[_0x14f617(0x17c)]);}[_0x42cf3c(0xf7)](_0x4570c9){const _0x4c4f40=_0x42cf3c,_0x48a790=this[_0x4c4f40(0x15b)][_0x4c4f40(0xce)][_0x4c4f40(0xcb)];for(let _0x2c3849=0x0;_0x2c3849<_0x4570c9[_0x4c4f40(0x174)];_0x2c3849++){if(!(_0x4570c9[_0x2c3849][_0x4c4f40(0x181)]||_0x4570c9[_0x2c3849][_0x4c4f40(0x1fd)]||_0x4570c9[_0x2c3849][_0x4c4f40(0x1d5)]||_0x4570c9[_0x2c3849][_0x4c4f40(0x1b7)]))continue;if(0x0==_0x4570c9[_0x2c3849][_0x4c4f40(0xbd)])continue;const _0x3c4533=_0x4570c9[_0x2c3849][_0x4c4f40(0xd4)];_0x48a790[_0x4c4f40(0x147)](_0x3c4533)||_0x48a790[_0x4c4f40(0x16d)](_0x3c4533)||(_0x4570c9[_0x2c3849][_0x4c4f40(0x181)]&&delete _0x4570c9[_0x2c3849][_0x4c4f40(0x181)],_0x4570c9[_0x2c3849][_0x4c4f40(0x1fd)]&&delete _0x4570c9[_0x2c3849][_0x4c4f40(0x1fd)],_0x4570c9[_0x2c3849][_0x4c4f40(0x1b7)]&&delete _0x4570c9[_0x2c3849][_0x4c4f40(0x1b7)],_0x4570c9[_0x2c3849][_0x4c4f40(0x1d5)]&&(_0x4570c9[_0x2c3849][_0x4c4f40(0x17c)]=!0x0));}return _0x4570c9[_0x4c4f40(0x18e)](_0x23c793=>!_0x23c793[_0x4c4f40(0x17c)]);}[_0x42cf3c(0x199)](_0x150203,_0x5ecc00,_0x294836){const _0x52c4af=_0x42cf3c,_0x4dfa4b=new _0x571325(),_0x54ae7d=[],_0x5ee74f=new Map(),_0xf0fec2=this[_0x52c4af(0x15b)][_0x52c4af(0xce)],_0x2834c3=_0xf0fec2[_0x52c4af(0xcb)],_0x599a75=[_0x4dfa4b],_0x5afe1d={},_0x5be42d={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3882bd=null;const _0x4447c9=[0x0];for(let _0x34fce0=0x0;_0x34fce0<_0x150203[_0x52c4af(0x174)];_0x34fce0++)if(_0x52c4af(0x201)===_0x150203[_0x34fce0][_0x52c4af(0x1a9)]){_0x150203[_0x34fce0][_0x52c4af(0x1d8)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9);const _0x4ea969=new _0xe02ab2(_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xe6)],_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xde)]());_0x599a75[0x0][_0x52c4af(0x17f)](_0x4ea969),_0x4447c9[_0x52c4af(0x145)](0x0),_0x599a75[_0x52c4af(0x10b)](_0x4ea969),_0x150203[_0x34fce0][_0x52c4af(0x12e)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9);}else _0x52c4af(0xd2)===_0x150203[_0x34fce0][_0x52c4af(0x1a9)]?(_0x599a75[_0x52c4af(0x122)](),_0x150203[_0x34fce0][_0x52c4af(0x1d8)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9),_0x4447c9[_0x52c4af(0x1bf)](),_0x4447c9[_0x4447c9[_0x52c4af(0x174)]-0x1]++,_0x150203[_0x34fce0][_0x52c4af(0x12e)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9)):(_0x150203[_0x34fce0][_0x52c4af(0x1d8)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9),_0x3882bd?_0x3882bd[_0x52c4af(0x1d4)]+=_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0x1d1)]:_0x3882bd=new _0x1c523a(_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0x1d1)],_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xde)]()),_0x150203[_0x34fce0+0x1]&&_0x52c4af(0x191)===_0x150203[_0x34fce0+0x1][_0x52c4af(0x1a9)]&&_0x2be955(_0x3882bd,_0x150203[_0x34fce0+0x1][_0x52c4af(0xd4)])||(_0x599a75[0x0][_0x52c4af(0x17f)](_0x3882bd),_0x3882bd=null),_0x4447c9[_0x4447c9[_0x52c4af(0x174)]-0x1]+=_0x150203[_0x34fce0][_0x52c4af(0xd4)][_0x52c4af(0xd3)],_0x150203[_0x34fce0][_0x52c4af(0x12e)]=_0xf0fec2[_0x52c4af(0x1ea)](_0x4dfa4b,_0x4447c9));for(let _0x583af4=0x0;_0x583af4<_0x150203[_0x52c4af(0x174)];_0x583af4++){const _0x17e790=_0x150203[_0x583af4][_0x52c4af(0x1d8)],_0x301249=_0x150203[_0x583af4][_0x52c4af(0x12e)];for(const _0x38662e of _0x150203[_0x583af4][_0x52c4af(0x152)])_0x5ee74f[_0x52c4af(0x1bd)](_0x38662e,{'start':_0x17e790,'end':null});_0x2e160a(_0x52c4af(0x1b7),_0x583af4,_0x17e790,_0x301249),_0x2e160a(_0x52c4af(0x1fd),_0x583af4,_0x17e790,_0x301249),_0x2e160a(_0x52c4af(0x1d5),_0x583af4,_0x17e790,_0x301249),_0x2e160a(_0x52c4af(0x181),_0x583af4,_0x17e790,_0x301249);for(const _0x2d4707 of _0x150203[_0x583af4][_0x52c4af(0x155)]){const _0x127d4a=_0x5ee74f[_0x52c4af(0x165)](_0x2d4707);_0x127d4a?_0x127d4a[_0x52c4af(0x1cd)]=_0x301249:_0x5ee74f[_0x52c4af(0x1bd)](_0x2d4707,{'start':_0x301249,'end':_0x301249});}}for(const [_0x534b2a,_0x35c293]of _0x5ee74f){const _0x2427f4=this[_0x52c4af(0x15b)][_0x52c4af(0xce)][_0x52c4af(0x1ff)](_0x35c293[_0x52c4af(0x1c6)],_0x35c293[_0x52c4af(0x1cd)]);_0x4dfa4b[_0x52c4af(0x1e3)][_0x52c4af(0x1bd)](_0x534b2a,_0x2427f4);}return _0x54ae7d[_0x52c4af(0xfb)]((_0x12db0a,_0x1f7f2f)=>{const _0x1277fc=_0x52c4af,_0x59c74f=_0x4dfa4b[_0x1277fc(0x1e3)][_0x1277fc(0x165)](_0x1277fc(0x1fe)+_0x12db0a['id']),_0x2c295c=_0x4dfa4b[_0x1277fc(0x1e3)][_0x1277fc(0x165)](_0x1277fc(0x1fe)+_0x1f7f2f['id']);return _0x59c74f[_0x1277fc(0x1c6)][_0x1277fc(0x183)](_0x2c295c[_0x1277fc(0x1c6)])?-0x1:_0x59c74f[_0x1277fc(0x1c6)][_0x1277fc(0x1f7)](_0x2c295c[_0x1277fc(0x1c6)])?0x1:_0x59c74f[_0x1277fc(0x1cd)][_0x1277fc(0x183)](_0x2c295c[_0x1277fc(0x1cd)])?-0x1:_0x59c74f[_0x1277fc(0x1cd)][_0x1277fc(0x1f7)](_0x2c295c[_0x1277fc(0x1cd)])?0x1:_0x1277fc(0x1f8)===_0x12db0a[_0x1277fc(0x1a9)]?-0x1:0x1;}),{'root':_0x4dfa4b,'changes':_0x54ae7d};function _0x2e160a(_0x5d6f54,_0x1ebe0f,_0x30385b,_0x4ed66c){const _0x53ba86=_0x52c4af,_0x55a529=!!_0x150203[_0x1ebe0f][_0x5d6f54],_0x57e23e=_0x55a529?_0x150203[_0x1ebe0f][_0x5d6f54][_0x53ba86(0x16f)]:null,_0x2cd251=_0x1ebe0f===_0x150203[_0x53ba86(0x174)]-0x1,_0x1c91da=_0x5be42d[_0x5d6f54][0x0],_0x39dee4=_0x2834c3[_0x53ba86(0x134)](_0x150203[_0x1ebe0f][_0x53ba86(0xd4)]);!_0x5afe1d[_0x5d6f54]&&_0x55a529?_0x5afe1d[_0x5d6f54]={'start':_0x30385b,'tapeItem':_0x150203[_0x1ebe0f],'userId':_0x57e23e,'type':_0x5d6f54}:_0x5afe1d[_0x5d6f54]&&!_0x55a529?(_0x5afe1d[_0x5d6f54][_0x53ba86(0x1cd)]=_0x30385b,_0x177fb5(_0x5afe1d[_0x5d6f54]),_0x5afe1d[_0x5d6f54]=null):_0x5afe1d[_0x5d6f54]&&_0x55a529&&_0x5afe1d[_0x5d6f54][_0x53ba86(0x16f)]!==_0x57e23e&&(_0x5afe1d[_0x5d6f54][_0x53ba86(0x1cd)]=_0x30385b,_0x1c91da&&_0x1c91da[_0x53ba86(0x16f)]===_0x5afe1d[_0x5d6f54][_0x53ba86(0x16f)]||_0x177fb5(_0x5afe1d[_0x5d6f54]),_0x5afe1d[_0x5d6f54]={'start':_0x30385b,'tapeItem':_0x150203[_0x1ebe0f],'userId':_0x57e23e,'type':_0x5d6f54}),_0x5afe1d[_0x5d6f54]&&_0x39dee4&&(_0x53ba86(0x201)!==_0x150203[_0x1ebe0f][_0x53ba86(0x1a9)]||_0x1c91da&&_0x1c91da[_0x53ba86(0x16f)]===_0x57e23e||_0x5be42d[_0x5d6f54][_0x53ba86(0x10b)]({'userId':_0x57e23e,'object':_0x150203[_0x1ebe0f][_0x53ba86(0xd4)],'change':_0x5afe1d[_0x5d6f54]}),_0x53ba86(0xd2)===_0x150203[_0x1ebe0f][_0x53ba86(0x1a9)]&&_0x1c91da&&_0x1c91da[_0x53ba86(0x198)]===_0x150203[_0x1ebe0f][_0x53ba86(0xd4)]&&(_0x5be42d[_0x5d6f54][_0x53ba86(0x122)](),_0x5afe1d[_0x5d6f54]=_0x1c91da[_0x53ba86(0x19a)])),_0x5afe1d[_0x5d6f54]&&_0x2cd251&&(_0x5afe1d[_0x5d6f54][_0x53ba86(0x1cd)]=_0x4ed66c,_0x177fb5(_0x5afe1d[_0x5d6f54]),_0x5afe1d[_0x5d6f54]=null);}function _0x177fb5({start:_0x2e77fa,end:_0xa4367c,tapeItem:_0x5314c4,userId:_0x582070,type:_0x2ee78}){const _0x18559b=_0x52c4af,_0x655160=_0x5314c4[_0x18559b(0xd4)],_0x52f477=_0xf0fec2[_0x18559b(0xcb)][_0x18559b(0x147)](_0x655160)&&!_0xf0fec2[_0x18559b(0xcb)][_0x18559b(0x16d)](_0x655160),_0x397db9=_0x2e77fa[_0x18559b(0x133)]==_0xa4367c[_0x18559b(0x13e)]&&_0xa4367c[_0x18559b(0x1ce)];if(_0x52f477&&_0x397db9)return;const _0x286172=_0xf0fec2[_0x18559b(0x1ff)](_0x2e77fa,_0xa4367c),_0x1279ac=_0x5ecc00[_0x18559b(0x165)](_0x582070),_0x245c4b=new _0x14de54({'author':_0x1279ac,'type':_0x18559b(0x181)==_0x2ee78||_0x18559b(0x1fd)==_0x2ee78?_0x18559b(0x1f8):_0x18559b(0x1e4),'data':{'isSuggestion':_0x18559b(0x1fd)==_0x2ee78||_0x18559b(0x1b7)==_0x2ee78},'createdAt':new Date(),'rootName':_0x294836});_0x54ae7d[_0x18559b(0x145)](_0x245c4b),_0x4dfa4b[_0x18559b(0x1e3)][_0x18559b(0x1bd)](_0x18559b(0x1fe)+_0x245c4b['id'],_0x286172);}function _0x2be955(_0x4a5c45,_0x134b52){const _0x4dfe08=_0x52c4af,_0x73b0e7=_0x4a5c45[_0x4dfe08(0xde)](),_0x4f1459=_0x134b52[_0x4dfe08(0xde)]();for(const _0x586884 of _0x73b0e7){if(_0x586884[0x1]!==_0x134b52[_0x4dfe08(0xcc)](_0x586884[0x0]))return!0x1;_0x4f1459[_0x4dfe08(0x1e9)]();}return _0x4f1459[_0x4dfe08(0x1e9)]()[_0x4dfe08(0x1d3)];}}[_0x42cf3c(0x1bc)](){const _0x2e0cd8=_0x42cf3c;this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0xe3)]({'view':_0x2e0cd8(0xdb)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x19f))[_0x2e0cd8(0x10d)]({'model':_0x2e0cd8(0xdb),'view':_0x39f89f=>{const _0x1ec894=_0x2e0cd8,_0x46c7e8=_0x39f89f[_0x1ec894(0x1db)][_0x1ec894(0xdd)](':')[0x1],_0xef15d9=this[_0x1ec894(0x148)](_0x46c7e8);if(!_0xef15d9)return null;const _0x52b050=_0x1ec894(0x1f8)==_0xef15d9[_0x1ec894(0x1a9)]?_0x1ec894(0x146):_0x1ec894(0x11a),_0x5d7c25=[_0x1ec894(0x18c),_0x1ec894(0x196)+_0x52b050];return _0xef15d9[_0x1ec894(0x1d1)][_0x1ec894(0x163)]&&_0x5d7c25[_0x1ec894(0x145)](_0x1ec894(0x196)+_0x52b050+_0x1ec894(0xba)),this[_0x1ec894(0x1b5)]==_0xef15d9&&_0x5d7c25[_0x1ec894(0x145)](_0x1ec894(0xf2)),{'classes':_0x5d7c25,'attributes':{'data-change-id':_0x46c7e8}};}}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0x1f8)](_0x4d336c=>{const _0x37549e=_0x2e0cd8;_0x4d336c['on'](_0x37549e(0x1c9),(_0x32b5db,_0x2eba55,_0x308568)=>{const _0x10f726=_0x37549e,_0x1237ad=_0x2eba55[_0x10f726(0x14a)][_0x10f726(0x1b2)](0x0);if(!_0x1237ad||!_0x1237ad['is'](_0x10f726(0x1b8),_0x10f726(0x139)))return;if(!_0x308568[_0x10f726(0x1f5)][_0x10f726(0x158)](_0x1237ad,{'attributes':[_0x10f726(0x188),_0x10f726(0xbb)]}))return;const _0x10b54c=_0x2eba55[_0x10f726(0x125)][_0x10f726(0x1c6)][_0x10f726(0x133)];_0x308568[_0x10f726(0x1ae)][_0x10f726(0xd7)](_0x10f726(0x188),_0x1237ad[_0x10f726(0xcc)](_0x10f726(0x188)),_0x10b54c),_0x308568[_0x10f726(0x1ae)][_0x10f726(0xd7)](_0x10f726(0xbb),_0x1237ad[_0x10f726(0xcc)](_0x10f726(0xbb)),_0x10b54c);},{'priority':_0x37549e(0x10c)});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0x1f8)](_0x47c26f=>{const _0x3789bb=_0x2e0cd8;_0x47c26f['on'](_0x3789bb(0x1b8),(_0x19bd32,_0x2ab323,_0x37cddc)=>{const _0xfd4d1f=_0x3789bb;if(!_0x37cddc[_0xfd4d1f(0x1f5)][_0xfd4d1f(0x158)](_0x2ab323[_0xfd4d1f(0x14a)],{'attributes':[_0xfd4d1f(0x188),_0xfd4d1f(0xbb)]}))return;if(_0x2ab323[_0xfd4d1f(0x125)][_0xfd4d1f(0x14b)])return;const _0x5975df=_0x2ab323[_0xfd4d1f(0x125)][_0xfd4d1f(0x1c6)][_0xfd4d1f(0x133)];_0x5975df[_0xfd4d1f(0x10e)](_0xfd4d1f(0x188))||_0x5975df[_0xfd4d1f(0x10e)](_0xfd4d1f(0x144))||(_0x37cddc[_0xfd4d1f(0x1ae)][_0xfd4d1f(0xd7)](_0xfd4d1f(0x188),_0x2ab323[_0xfd4d1f(0x14a)][_0xfd4d1f(0xcc)](_0xfd4d1f(0x188)),_0x5975df),_0x37cddc[_0xfd4d1f(0x1ae)][_0xfd4d1f(0xd7)](_0xfd4d1f(0xbb),_0x2ab323[_0xfd4d1f(0x14a)][_0xfd4d1f(0xcc)](_0xfd4d1f(0xbb)),_0x5975df));},{'priority':_0x3789bb(0x10c)});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0x1ab)]({'view':{'name':_0x2e0cd8(0x1df),'attributes':{'vid':!0x0}},'model':{'key':_0x2e0cd8(0x144),'value':_0x335974=>_0x335974[_0x2e0cd8(0xcc)](_0x2e0cd8(0x144))}}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0xce)][_0x2e0cd8(0xcb)]['on'](_0x2e0cd8(0x193),(_0x45ee69,[,_0x260d58])=>{const _0x126c94=_0x2e0cd8;[_0x126c94(0x188),_0x126c94(0xbb),_0x126c94(0x144)][_0x126c94(0x200)](_0x260d58)&&(_0x45ee69[_0x126c94(0x1d6)]=!0x0,_0x45ee69[_0x126c94(0xf3)]());},{'priority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x104))[_0x2e0cd8(0x1f8)](_0x8b9135=>{const _0x235d0d=_0x2e0cd8;_0x8b9135['on'](_0x235d0d(0xe2),(_0x11c1f6,_0x35202c,_0x2b6705)=>{const _0xed17cc=_0x235d0d;if('\x20'!=_0x35202c[_0xed17cc(0xd4)][_0xed17cc(0x1d1)]||_0x35202c[_0xed17cc(0xd4)][_0xed17cc(0x13e)][_0xed17cc(0x1ba)]>0x1)return;if(!_0x2b6705[_0xed17cc(0x1f5)][_0xed17cc(0x158)](_0x35202c[_0xed17cc(0xd4)],_0x11c1f6[_0xed17cc(0xe6)]))return;const _0x1c644a=_0x2b6705[_0xed17cc(0x1ae)],_0x4a9a35=_0x2b6705[_0xed17cc(0x1f0)][_0xed17cc(0x182)](_0x35202c[_0xed17cc(0x14c)]);_0x1c644a[_0xed17cc(0x171)](_0x4a9a35,_0x1c644a[_0xed17cc(0x13a)](_0xed17cc(0x1df)));});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x104))[_0x2e0cd8(0x1f1)]({'model':_0x2e0cd8(0xdb)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x1b6),function(_0x5ebdd2){const _0x2c7482=_0x2e0cd8,_0x2f0d77=_0x5ebdd2[_0x2c7482(0x130)][_0x2c7482(0x165)](_0x2c7482(0xdf));return(_0x96b872,_0x3b1562,_0x2ccd13)=>{const _0x14e23e=_0x2c7482,_0x35d5bf=_0x3b1562[_0x14e23e(0x1db)][_0x14e23e(0xdd)](':')[0x1],_0x520e77=_0x2f0d77[_0x14e23e(0x148)](_0x35d5bf);if(!_0x520e77)return null;const _0x5f2ae5=_0x14e23e(0x1f8)==_0x520e77[_0x14e23e(0x1a9)]?_0x14e23e(0xdd):_0x14e23e(0xc5);if(!_0x2ccd13[_0x14e23e(0x1f5)][_0x14e23e(0x18d)](_0x3b1562[_0x14e23e(0xf9)],_0x96b872[_0x14e23e(0xe6)]))return;const _0x36a517=_0x3b1562[_0x14e23e(0xf9)][_0x14e23e(0x167)](),_0x564caf=_0x3b1562[_0x14e23e(0xf9)][_0x14e23e(0x1c6)],_0x7026fc=_0x5ebdd2[_0x14e23e(0xce)][_0x14e23e(0xcb)];let _0x496261=null,_0x12ed43=null,_0x1f343d=!0x1,_0xdfb0f4=!0x1;for(const _0x2f294f of _0x36a517){const _0x228214=_0x2f294f[_0x14e23e(0xd4)];_0x1f343d=_0x1f343d||_0x7026fc[_0x14e23e(0x14f)](_0x228214);const _0x1024c2=_0x2ccd13[_0x14e23e(0x1f0)][_0x14e23e(0x1cf)](_0x228214);if(_0x1024c2&&_0x1024c2[_0x14e23e(0x1a0)](_0x14e23e(0x1b3)))return;_0x14e23e(0xd2)==_0x2f294f[_0x14e23e(0x1a9)]&&(_0x7026fc[_0x14e23e(0x147)](_0x228214)&&!_0x7026fc[_0x14e23e(0x16d)](_0x228214)&&(_0x228214[_0x14e23e(0x103)]||_0x564caf[_0x14e23e(0x159)]?_0x496261&&_0x496261[_0x14e23e(0x13e)]==_0x228214||(_0x496261=_0x228214,_0xa13499(_0x2f294f[_0x14e23e(0x1d8)]),_0xdfb0f4=!0x0):_0x12ed43=_0x12ed43||_0x2f294f[_0x14e23e(0x1d8)]));}function _0xa13499(_0x5207df){const _0x26092b=_0x14e23e,_0x2ea3c0=_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0x1dc)](_0x26092b(0x1df),{'class':_0x26092b(0x196)+_0x5f2ae5}),_0x569b2b=_0x2ccd13[_0x26092b(0x1f0)][_0x26092b(0x116)](_0x5207df);_0x520e77[_0x26092b(0x1d1)][_0x26092b(0x163)]&&_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0x1eb)](_0x26092b(0x196)+_0x5f2ae5+_0x26092b(0xba),_0x2ea3c0),_0x2f0d77[_0x26092b(0x1b5)]==_0x520e77&&_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0x1eb)](_0x26092b(0xf2),_0x2ea3c0),_0x2ccd13[_0x26092b(0x1ae)][_0x26092b(0xe9)](_0x569b2b,_0x2ea3c0),_0x2ccd13[_0x26092b(0x1f0)][_0x26092b(0x1ec)](_0x2ea3c0,_0x3b1562[_0x26092b(0x1db)]);}_0x1f343d||_0xdfb0f4||!_0x12ed43||_0xa13499(_0x12ed43);};}(this[_0x2e0cd8(0x15b)]),{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0xe5),(_0x41ee51,_0x18e99d,_0x5151b5)=>{const _0x928bb6=_0x2e0cd8,_0x182ba9=_0x5151b5[_0x928bb6(0x1f0)][_0x928bb6(0x17a)](_0x18e99d[_0x928bb6(0x1db)]);if(_0x182ba9){for(const _0x3d79c1 of _0x182ba9)(_0x3d79c1[_0x928bb6(0x117)](_0x928bb6(0x1bb))||_0x3d79c1[_0x928bb6(0x117)](_0x928bb6(0x1a5)))&&(_0x5151b5[_0x928bb6(0x1f0)][_0x928bb6(0x185)](_0x3d79c1,_0x18e99d[_0x928bb6(0x1db)]),_0x5151b5[_0x928bb6(0x1ae)][_0x928bb6(0x1e4)](_0x3d79c1));}},{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x1b6),(_0x98cadf,_0x11e294,_0x2e4bc5)=>{const _0x732040=_0x2e0cd8,_0xef17d=_0x11e294[_0x732040(0x1db)][_0x732040(0xdd)](':')[0x1],_0x2d8bab=this[_0x732040(0x148)](_0xef17d);if(!_0x2d8bab)return null;const _0x2b2904=_0x732040(0x1f8)==_0x2d8bab[_0x732040(0x1a9)]?_0x732040(0xdd):_0x732040(0xc5);if(_0x2e4bc5[_0x732040(0x1f5)][_0x732040(0x18d)](_0x11e294[_0x732040(0xf9)],_0x98cadf[_0x732040(0xe6)]))for(const _0xfef542 of _0x11e294[_0x732040(0xf9)][_0x732040(0x151)]()){if(!_0xfef542['is'](_0x732040(0x1b8),_0x732040(0x1be)))continue;const _0x504555=_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0x1dc)](_0x732040(0x1df),{'class':_0x732040(0x196)+_0x2b2904}),_0x50cc35=_0x2e4bc5[_0x732040(0x1f0)][_0x732040(0x116)](this[_0x732040(0x15b)][_0x732040(0xce)][_0x732040(0x1b1)](_0xfef542));_0x2d8bab[_0x732040(0x1d1)][_0x732040(0x163)]&&_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0x1eb)](_0x732040(0x196)+_0x2b2904+_0x732040(0xba),_0x504555),this[_0x732040(0x1b5)]==_0x2d8bab&&_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0x1eb)](_0x732040(0xf2),_0x504555),_0x2e4bc5[_0x732040(0x1ae)][_0x732040(0xe9)](_0x50cc35,_0x504555),_0x2e4bc5[_0x732040(0x1f0)][_0x732040(0x1ec)](_0x504555,_0x11e294[_0x732040(0x1db)]);}},{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0xce)][_0x2e0cd8(0xd8)]['on'](_0x2e0cd8(0x19a),()=>{const _0x173f59=_0x2e0cd8;this[_0x173f59(0x15b)][_0x173f59(0x1c5)][_0x173f59(0xbe)][_0x173f59(0x19a)](_0x2da6e3=>{const _0x4f89f7=_0x173f59;for(const _0x3546c9 of this[_0x4f89f7(0x15b)][_0x4f89f7(0xce)][_0x4f89f7(0xd8)][_0x4f89f7(0x1ca)]()){const _0x19e6c6=this[_0x4f89f7(0x15b)][_0x4f89f7(0xce)][_0x4f89f7(0xd8)][_0x4f89f7(0x192)](_0x3546c9),_0x338a7e=this[_0x4f89f7(0x15b)][_0x4f89f7(0x1c5)][_0x4f89f7(0xbe)][_0x4f89f7(0xd8)][_0x4f89f7(0x192)](_0x3546c9);if(_0x338a7e){const _0x9f2e48=_0x19e6c6[_0x4f89f7(0xcc)](_0x4f89f7(0x1cc));if(_0x2da6e3[_0x4f89f7(0xc2)](_0x4f89f7(0x187),_0x338a7e),_0x2da6e3[_0x4f89f7(0x111)](_0x4f89f7(0xbf),_0x338a7e),_0x2da6e3[_0x4f89f7(0x111)](_0x4f89f7(0x142),_0x338a7e),_0x2da6e3[_0x4f89f7(0x111)](_0x4f89f7(0x10a),_0x338a7e),_0x9f2e48){const _0x108d3d=this[_0x4f89f7(0x148)](_0x9f2e48);if(!_0x108d3d)return null;_0x2da6e3[_0x4f89f7(0xd7)](_0x4f89f7(0x187),_0x9f2e48,_0x338a7e),_0x2da6e3[_0x4f89f7(0x1eb)](_0x4f89f7(0x119)+_0x108d3d[_0x4f89f7(0x1a9)],_0x338a7e),this[_0x4f89f7(0x1b5)]==_0x108d3d&&_0x2da6e3[_0x4f89f7(0x1eb)](_0x4f89f7(0x10a),_0x338a7e);}}}});}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0xe3)]({'view':_0x2e0cd8(0x1ee),'model':_0x359b99=>_0x2e0cd8(0xc6)+_0x359b99,'converterPriority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x17e))[_0x2e0cd8(0xe3)]({'view':_0x2e0cd8(0x128),'model':_0xef3cdd=>_0x2e0cd8(0x1a1)+_0xef3cdd,'converterPriority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x104))[_0x2e0cd8(0x1f1)]({'model':_0x2e0cd8(0x173),'view':_0x33db92=>({'name':_0x2e0cd8(0x190)+_0x33db92,'group':_0x2e0cd8(0x173)}),'converterPriority':_0x2e0cd8(0x1fa)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c4)][_0x2e0cd8(0x162)](_0x2e0cd8(0x19f))[_0x2e0cd8(0x10d)]({'model':_0x2e0cd8(0x173),'view':_0x528c4=>{const _0x4e2eca=_0x2e0cd8,_0xb88c61=_0x528c4[_0x4e2eca(0x1db)][_0x4e2eca(0xdd)](':')[0x1];return _0x4e2eca(0x146)!=_0xb88c61&&_0x4e2eca(0x11a)!=_0xb88c61?null:{'classes':[_0x4e2eca(0xd6),_0x4e2eca(0x175)+_0xb88c61]};}}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x1ac),Q(this[_0x2e0cd8(0x15b)],_0x2e0cd8(0xc5)),{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0x15a),Q(this[_0x2e0cd8(0x15b)],_0x2e0cd8(0xdd)),{'priority':_0x2e0cd8(0x18f)}),this[_0x2e0cd8(0x15b)][_0x2e0cd8(0x1c5)][_0x2e0cd8(0xc0)]['on'](_0x2e0cd8(0xe0),(_0x53357d,_0x347e5b,_0x235cd2)=>{const _0xfa1cb4=_0x2e0cd8,_0x4c5c34=_0x235cd2[_0xfa1cb4(0x1f0)][_0xfa1cb4(0x17a)](_0x347e5b[_0xfa1cb4(0x1db)]);if(_0x4c5c34){for(const _0x4e066d of _0x4c5c34)_0x4e066d['is'](_0xfa1cb4(0x1f9))&&(_0x235cd2[_0xfa1cb4(0x1f0)][_0xfa1cb4(0x185)](_0x4e066d,_0x347e5b[_0xfa1cb4(0x1db)]),_0x235cd2[_0xfa1cb4(0x1ae)][_0xfa1cb4(0x1e4)](_0x4e066d));}},{'priority':_0x2e0cd8(0x18f)});}[_0x42cf3c(0x148)](_0x4ee4be){const _0x43fffb=_0x42cf3c;return this[_0x43fffb(0xf1)][_0x43fffb(0x165)](_0x4ee4be);}[_0x42cf3c(0x123)](_0x28480f){const _0x119005=_0x42cf3c;return this[_0x119005(0xda)]&&this[_0x119005(0xda)][_0x119005(0x115)](),this[_0x119005(0xda)]=new _0x1c8a44(this[_0x119005(0x15b)][_0x119005(0xe1)],_0x28480f),this[_0x119005(0xda)];}[_0x42cf3c(0x180)](){const _0x18b6f2=_0x42cf3c;this[_0x18b6f2(0x15b)][_0x18b6f2(0xce)][_0x18b6f2(0xd8)][_0x18b6f2(0x106)][_0x18b6f2(0xbc)](_0x18b6f2(0xdb)),this['on'](_0x18b6f2(0xc7),(_0x4613f3,_0x23a4a3,_0x15a14b,_0x1a5518)=>{const _0x1b88fe=_0x18b6f2;_0x1a5518&&this[_0x1b88fe(0x157)][_0x1b88fe(0x1e4)](_0x1a5518),_0x15a14b&&(this[_0x1b88fe(0x157)][_0x1b88fe(0x1f8)]({'view':_0x15a14b,'stackId':_0x1b88fe(0xee),'position':{'target':()=>{const _0x214164=_0x1b88fe,_0x5c154a=this[_0x214164(0x15b)][_0x214164(0x1c5)],_0x26b450=this[_0x214164(0x148)](_0x15a14b[_0x214164(0x129)]);let _0x461553;if(_0x26b450[_0x214164(0x1d1)][_0x214164(0xc4)]){const _0x4a3783=_0x5c154a[_0x214164(0xbe)][_0x214164(0x118)](_0x26b450[_0x214164(0x140)]);_0x461553=Array[_0x214164(0x11b)](_0x4a3783[_0x214164(0x135)]());}else{const _0x284440=this[_0x214164(0x15b)][_0x214164(0xce)][_0x214164(0x1e3)][_0x214164(0x165)](_0x214164(0x1fe)+_0x15a14b[_0x214164(0x129)]);_0x461553=Array[_0x214164(0x11b)](_0x5c154a[_0x214164(0x1f0)][_0x214164(0x17a)](_0x284440[_0x214164(0xe6)]))[_0x214164(0x113)](_0x1a1626=>_0x5c154a[_0x214164(0xbe)][_0x214164(0x114)][_0x214164(0x1a4)](_0x1a1626))[_0x214164(0x113)](_0x537599=>Array[_0x214164(0x11b)](_0x537599[_0x214164(0x135)]()))[_0x214164(0x13c)]();}if(!this[_0x214164(0xea)])return _0x461553[0x0];return _0x461553[_0x214164(0x15c)](_0x4361f1=>_0x4361f1[_0x214164(0x1e6)]-0x3<=this[_0x214164(0xea)]['y']&&_0x4361f1[_0x214164(0xf4)]+0x3>=this[_0x214164(0xea)]['y']&&_0x4361f1[_0x214164(0x120)]-0x3<=this[_0x214164(0xea)]['x']&&_0x4361f1[_0x214164(0x1c1)]+0x3>=this[_0x214164(0xea)]['x'])||_0x461553[0x0];}}}),this[_0x1b88fe(0x157)][_0x1b88fe(0xe7)](_0x1b88fe(0xee)));}),this['on'](_0x18b6f2(0x16a),(_0x451181,_0xd4530e,_0x56a353,_0xdacbd2)=>{const _0x5a33fe=_0x18b6f2;this[_0x5a33fe(0x194)]=_0x56a353?this[_0x5a33fe(0x123)](_0x56a353):null,this[_0x5a33fe(0x15b)][_0x5a33fe(0xce)][_0x5a33fe(0x19a)](()=>{const _0x41d151=_0x5a33fe,_0x5af78b=this[_0x41d151(0x15b)][_0x41d151(0x1c5)];_0xdacbd2&&(_0xdacbd2[_0x41d151(0x1d1)][_0x41d151(0xc4)]?_0x5af78b[_0x41d151(0xbe)][_0x41d151(0x19a)](_0x161d26=>{const _0x28b32c=_0x41d151;_0x161d26[_0x28b32c(0x111)](_0x28b32c(0x10a),_0x5af78b[_0x28b32c(0xbe)][_0x28b32c(0xd8)][_0x28b32c(0x192)](_0xdacbd2[_0x28b32c(0x140)]));}):_0x5af78b[_0x41d151(0x166)](_0x41d151(0x1fe)+_0xdacbd2['id'])),_0x56a353&&(_0x56a353[_0x41d151(0x1d1)][_0x41d151(0xc4)]?_0x5af78b[_0x41d151(0xbe)][_0x41d151(0x19a)](_0xe4e40b=>{const _0x410767=_0x41d151;_0xe4e40b[_0x410767(0x1eb)](_0x410767(0x10a),_0x5af78b[_0x410767(0xbe)][_0x410767(0xd8)][_0x410767(0x192)](_0x56a353[_0x410767(0x140)]));}):_0x5af78b[_0x41d151(0x166)](_0x41d151(0x1fe)+_0x56a353['id']));});}),this[_0x18b6f2(0x143)](this[_0x18b6f2(0x15b)][_0x18b6f2(0x1c5)][_0x18b6f2(0xbe)][_0x18b6f2(0xd8)],_0x18b6f2(0x109),(_0x2ef215,_0x41e563)=>{const _0x2331a4=_0x18b6f2;if(this[_0x2331a4(0x1b5)])return;const _0x4b9ab3=this[_0x2331a4(0x14d)](_0x41e563[_0x2331a4(0x12a)]),_0x29a4fe=this[_0x2331a4(0xf1)][_0x2331a4(0x165)](_0x4b9ab3);_0x29a4fe?(this[_0x2331a4(0xea)]={'x':_0x41e563[_0x2331a4(0xfe)]['x'],'y':_0x41e563[_0x2331a4(0xfe)]['y']},this[_0x2331a4(0x194)]=this[_0x2331a4(0x123)](_0x29a4fe)):(this[_0x2331a4(0xea)]=null,this[_0x2331a4(0x194)]=null);}),this[_0x18b6f2(0x143)](this[_0x18b6f2(0x15b)][_0x18b6f2(0x1c5)][_0x18b6f2(0xbe)][_0x18b6f2(0xd8)],_0x18b6f2(0xc9),(_0x268038,_0x21db3e)=>{const _0x55c8aa=_0x18b6f2,_0x2bfc55=this[_0x55c8aa(0x14d)](_0x21db3e[_0x55c8aa(0x12a)]),_0x3c836d=this[_0x55c8aa(0xf1)][_0x55c8aa(0x165)](_0x2bfc55);_0x3c836d?(this[_0x55c8aa(0xea)]={'x':_0x21db3e[_0x55c8aa(0xfe)]['x'],'y':_0x21db3e[_0x55c8aa(0xfe)]['y']},_0x3c836d===this[_0x55c8aa(0x1b5)]?this[_0x55c8aa(0x157)][_0x55c8aa(0x1dd)]():this[_0x55c8aa(0x1b5)]=_0x3c836d):(this[_0x55c8aa(0xea)]=null,this[_0x55c8aa(0x1b5)]=null);});}[_0x42cf3c(0x14d)](_0x125955){const _0xd24ef2=_0x42cf3c;do{const _0x895596=_0x125955[_0xd24ef2(0xcc)](_0xd24ef2(0x187));if(_0x895596)return _0x895596;_0x125955=_0x125955[_0xd24ef2(0x13e)];}while(_0x125955);return null;}[_0x42cf3c(0x121)](){const _0x7a52e=_0x42cf3c;this[_0x7a52e(0x15b)][_0x7a52e(0xce)][_0x7a52e(0x19a)](_0x5d303a=>{const _0x54d824=_0x7a52e;for(const _0xba00ec of this[_0x54d824(0x15b)][_0x54d824(0xce)][_0x54d824(0x1e3)])_0x5d303a[_0x54d824(0x1d9)](_0xba00ec);});}}function Q(_0x21f182,_0x189635){return(_0x351f08,_0x59b3a3,_0x5a3dce)=>{const _0x1661e0=_0x6f68;if(!_0x5a3dce[_0x1661e0(0x1f5)][_0x1661e0(0x18d)](_0x59b3a3[_0x1661e0(0xf9)],_0x351f08[_0x1661e0(0xe6)]))return;const _0x2602c6=_0x59b3a3[_0x1661e0(0xf9)][_0x1661e0(0x167)](),_0x30b2bf=_0x59b3a3[_0x1661e0(0xf9)][_0x1661e0(0x1c6)],_0x10df75=_0x21f182[_0x1661e0(0xce)][_0x1661e0(0xcb)];let _0x54c0b3=null,_0x387433=null,_0x15305f=!0x1,_0x4bbe3a=!0x1;for(const _0x4862e2 of _0x2602c6){const _0xf8d509=_0x4862e2[_0x1661e0(0xd4)];_0x15305f=_0x15305f||_0x10df75[_0x1661e0(0x14f)](_0xf8d509);const _0x26eaf3=_0x5a3dce[_0x1661e0(0x1f0)][_0x1661e0(0x1cf)](_0xf8d509);if(_0x26eaf3&&_0x26eaf3[_0x1661e0(0x1a0)](_0x1661e0(0x1b3)))return;_0x1661e0(0xd2)==_0x4862e2[_0x1661e0(0x1a9)]&&(_0x10df75[_0x1661e0(0x147)](_0xf8d509)&&!_0x10df75[_0x1661e0(0x16d)](_0xf8d509)&&(_0xf8d509[_0x1661e0(0x103)]||_0x30b2bf[_0x1661e0(0x159)]?_0x54c0b3&&_0x54c0b3[_0x1661e0(0x13e)]==_0xf8d509||(_0x54c0b3=_0xf8d509,_0x5b0163(_0x4862e2[_0x1661e0(0x1d8)]),_0x4bbe3a=!0x0):_0x387433=_0x387433||_0x4862e2[_0x1661e0(0x1d8)]));}function _0x5b0163(_0x342d52){const _0x58ca9b=_0x1661e0,_0x7bd089=_0x5a3dce[_0x58ca9b(0x1f0)][_0x58ca9b(0x116)](_0x342d52),_0x4f5ea5=_0x5a3dce[_0x58ca9b(0x1ae)][_0x58ca9b(0x1dc)](_0x58ca9b(0x1df),{'class':_0x58ca9b(0x175)+_0x189635});_0x5a3dce[_0x58ca9b(0x1ae)][_0x58ca9b(0xe9)](_0x7bd089,_0x4f5ea5),_0x5a3dce[_0x58ca9b(0x1f0)][_0x58ca9b(0x1ec)](_0x4f5ea5,_0x59b3a3[_0x58ca9b(0x1db)]);}_0x15305f||_0x4bbe3a||!_0x387433||_0x5b0163(_0x387433);};}export class RestoreRevisionCommand extends _0x5248b5{constructor(_0x176215){const _0x59ac2b=_0x42cf3c;super(_0x176215);const _0x2faa38=_0x176215[_0x59ac2b(0x130)][_0x59ac2b(0x165)](RevisionViewer);this[_0x59ac2b(0x1f4)]=!0x1,this[_0x59ac2b(0x143)](_0x2faa38,_0x59ac2b(0x164),()=>this[_0x59ac2b(0x12d)]()),this[_0x59ac2b(0x143)](_0x2faa38,_0x59ac2b(0x1e5),()=>this[_0x59ac2b(0x12d)]());}[_0x42cf3c(0x169)](){const _0x28ef66=_0x42cf3c,_0x13867a=this[_0x28ef66(0x15b)],_0x1b90ba=_0x13867a[_0x28ef66(0x130)][_0x28ef66(0x165)](RevisionViewer),_0x335c1a=_0x1b90ba[_0x28ef66(0x102)]?_0x1b90ba[_0x28ef66(0x189)][_0x28ef66(0x126)]:null;_0x13867a[_0x28ef66(0xcd)][_0x28ef66(0x165)](_0x28ef66(0x17d))[_0x28ef66(0x110)](_0x335c1a);}[_0x42cf3c(0x12d)](){const _0x47d729=_0x42cf3c,{isReady:_0x300675,isEnabled:_0x73b7af,repository:_0xb156ea,diff:_0x47b265}=this[_0x47d729(0x15b)][_0x47d729(0x130)][_0x47d729(0x165)](RevisionViewer),_0x3f4c11=_0x47b265&&_0xb156ea[_0x47d729(0x1e0)](_0x47b265[_0x47d729(0x126)]);this[_0x47d729(0x1f6)]=_0x300675&&_0x73b7af&&Boolean(_0x3f4c11);}}export class ShowChangeCommand extends _0x5248b5{[_0x42cf3c(0x1f3)];constructor(_0x536fd0,{direction:_0x41d8a0}){const _0x173222=_0x42cf3c;super(_0x536fd0);const _0x25131c=_0x536fd0[_0x173222(0x130)][_0x173222(0x165)](RevisionViewer);this[_0x173222(0x1f4)]=!0x1,this[_0x173222(0x1f3)]=_0x173222(0x1a8)===_0x41d8a0?0x1:-0x1,this[_0x173222(0x143)](_0x25131c,_0x173222(0x164),()=>this[_0x173222(0x12d)]()),this[_0x173222(0x143)](_0x25131c,_0x173222(0x1e5),()=>this[_0x173222(0x12d)]()),this[_0x173222(0x143)](_0x25131c,_0x173222(0x16a),()=>this[_0x173222(0x12d)]());}[_0x42cf3c(0x169)](){const _0x514ae0=_0x42cf3c,_0xaff89d=this[_0x514ae0(0x15b)],_0x5b402d=_0xaff89d[_0x514ae0(0x130)][_0x514ae0(0x165)](RevisionViewer),{isNavigationMode:_0x38eb09,currentChangeNumber:_0x1c4e86}=_0x5b402d;let _0x2e9883;if(_0x5b402d[_0x514ae0(0x1b5)]=_0x38eb09?_0x5b402d[_0x514ae0(0x189)][_0x514ae0(0x19b)][_0x514ae0(0x165)](_0x1c4e86+this[_0x514ae0(0x1f3)]):_0x5b402d[_0x514ae0(0x189)][_0x514ae0(0x19b)][_0x514ae0(0x1d2)],_0x5b402d[_0x514ae0(0x1b5)][_0x514ae0(0x1d1)][_0x514ae0(0xc4)])_0x2e9883=_0xaff89d[_0x514ae0(0x1c5)][_0x514ae0(0xbe)][_0x514ae0(0x118)](_0x5b402d[_0x514ae0(0x1b5)][_0x514ae0(0x140)]);else{const _0x1293ec=_0xaff89d[_0x514ae0(0xce)][_0x514ae0(0x1e3)][_0x514ae0(0x165)](_0x514ae0(0x1fe)+_0x5b402d[_0x514ae0(0x1b5)]['id']);_0x2e9883=_0x906310(_0xaff89d[_0x514ae0(0x1c5)],_0x1293ec);}_0x3d1d40({'target':_0x2e9883,'viewportOffset':0x28});}[_0x42cf3c(0x12d)](){const _0x149cd5=_0x42cf3c,{isNavigationMode:_0x3541dd,currentChangeNumber:_0x4a6584,numberOfChanges:_0x5c1b73,isReady:_0x56981c,isEnabled:_0x378edd}=this[_0x149cd5(0x15b)][_0x149cd5(0x130)][_0x149cd5(0x165)](RevisionViewer);this[_0x149cd5(0x1f6)]=!!(_0x378edd&&_0x56981c&&_0x5c1b73)&&(!_0x3541dd||(0x1===this[_0x149cd5(0x1f3)]?_0x4a6584<_0x5c1b73-0x1:_0x4a6584>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ac549,_0x329530){const _0x195fb1=_0xca1b,_0x27fffc=_0x4ac549();while(!![]){try{const _0x42edcf=parseInt(_0x195fb1(0x9e))/0x1*(parseInt(_0x195fb1(0x97))/0x2)+-parseInt(_0x195fb1(0x80))/0x3+parseInt(_0x195fb1(0xa0))/0x4+parseInt(_0x195fb1(0x76))/0x5+parseInt(_0x195fb1(0x8e))/0x6*(parseInt(_0x195fb1(0x99))/0x7)+parseInt(_0x195fb1(0x79))/0x8*(-parseInt(_0x195fb1(0x94))/0x9)+-parseInt(_0x195fb1(0x7c))/0xa*(parseInt(_0x195fb1(0x84))/0xb);if(_0x42edcf===_0x329530)break;else _0x27fffc['push'](_0x27fffc['shift']());}catch(_0x1478be){_0x27fffc['push'](_0x27fffc['shift']());}}}(_0x4119,0xae0de));import{Collection as _0xa21aaf}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x39645d}from'ckeditor5/src/icons.js';import{UIModel as _0x4394a3,addListToDropdown as _0x47b7dc,createDropdown as _0x229220}from'ckeditor5/src/ui.js';function _0x4119(){const _0x3012ca=['3996264fVCEtY','map','extendTemplate','listenTo','source','button','8433CEHxKZ','isReady','buttonView','22lYnrZl','class','7wwGpYK','first','children','Name\x20this\x20revision','stopPropagation','117289pXwHHm','add','3663652tdjnOE','name','set','menu','action','execute','Compare\x20against\x20selected','bindTemplate','6188965LhEVFB','function','bind','10952cffvgJ','model','ck-revision-history-sidebar__revision__actions','10LIZTjj','locale','listView','panelPosition','3372303RdQfew','find','ck-on','Restore\x20this\x20revision','10891639yxaJwQ','_action','items','isOpen','Show\x20more\x20items','isEnabled','menuitem','isVisible','isActionsDropdownOpen','change:isActionsDropdownOpen'];_0x4119=function(){return _0x3012ca;};return _0x4119();}function _0xca1b(_0x1f4b4d,_0x2ec907){const _0x41199d=_0x4119();return _0xca1b=function(_0xca1b2b,_0x39d745){_0xca1b2b=_0xca1b2b-0x72;let _0x1638c1=_0x41199d[_0xca1b2b];return _0x1638c1;},_0xca1b(_0x1f4b4d,_0x2ec907);}import{getTranslation as _0x18ec14}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x64e294,_0x1f30bf){const _0x4f12fb=_0xca1b,_0x3e4c8e=_0x64e294[_0x4f12fb(0x75)],_0x17deac=_0x64e294[_0x4f12fb(0x7d)],_0x59270d=_0x229220(_0x17deac);_0x59270d[_0x4f12fb(0x7f)]='sw';const _0x3371ff=function(_0x18d4e5,_0x12221e){const _0x21bd5b=_0x4f12fb,_0xb1199e=function(_0x918f97,_0xd0a512){const _0x1fcf2d=_0xca1b,_0x521a5e=_0x918f97[_0x1fcf2d(0x7d)],_0x468300={'Compare\x20against\x20selected':_0x18ec14(_0x521a5e,_0x1fcf2d(0x74)),'Name\x20this\x20revision':_0x18ec14(_0x521a5e,_0x1fcf2d(0x9c)),'Restore\x20this\x20revision':_0x18ec14(_0x521a5e,_0x1fcf2d(0x83))};return _0xd0a512[_0x1fcf2d(0x8f)](_0x341267=>{const _0x1ea551=_0x1fcf2d,_0x24a9a5=_0x468300[_0x341267[_0x1ea551(0xa1)]];return _0x24a9a5&&_0x24a9a5!==_0x341267[_0x1ea551(0xa1)]&&(_0x341267[_0x1ea551(0xa1)]=_0x24a9a5),_0x341267;});}(_0x18d4e5,_0x12221e),_0x25b954=new _0xa21aaf();for(const _0x1fdeae of _0xb1199e){const _0x1a6d7a={'type':_0x21bd5b(0x93),'model':new _0x4394a3({'label':_0x1fdeae[_0x21bd5b(0xa1)],'class':_0x1fdeae[_0x21bd5b(0x98)],'withText':!0x0,'role':_0x21bd5b(0x8a),'_action':_0x1fdeae[_0x21bd5b(0x72)]})};_0x1a6d7a[_0x21bd5b(0x7a)][_0x21bd5b(0x78)](_0x21bd5b(0x89))['to'](_0x18d4e5,_0x21bd5b(0x8c),_0x41fdd7=>_0x21bd5b(0x77)!=typeof _0x1fdeae[_0x21bd5b(0x89)]||(!_0x41fdd7||_0x1fdeae[_0x21bd5b(0x89)](_0x18d4e5))),_0x25b954[_0x21bd5b(0x9f)](_0x1a6d7a);}return _0x25b954;}(_0x64e294,_0x1f30bf);return _0x64e294[_0x4f12fb(0x78)](_0x4f12fb(0x8c))['to'](_0x59270d,_0x4f12fb(0x87)),_0x59270d[_0x4f12fb(0x96)][_0x4f12fb(0xa2)]({'label':_0x18ec14(_0x17deac,_0x4f12fb(0x88)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x39645d}),_0x59270d[_0x4f12fb(0x90)]({'attributes':{'class':[_0x4f12fb(0x7b),_0x3e4c8e['if'](_0x4f12fb(0x8c),_0x4f12fb(0x82))]},'on':{'click':_0x3e4c8e['to'](_0x3101ec=>_0x3101ec[_0x4f12fb(0x9d)]())}}),_0x59270d['on'](_0x4f12fb(0x73),_0x5b169d=>{const _0x54bb94=_0x4f12fb;_0x64e294[_0x54bb94(0x95)]&&_0x54bb94(0x77)==typeof _0x5b169d[_0x54bb94(0x92)][_0x54bb94(0x85)]&&_0x5b169d[_0x54bb94(0x92)][_0x54bb94(0x85)](_0x64e294);}),_0x47b7dc(_0x59270d,_0x3371ff,{'role':_0x4f12fb(0xa3)}),_0x59270d[_0x4f12fb(0x91)](_0x64e294,_0x4f12fb(0x8d),(_0xede3a4,_0x2cf64e,_0x157ac6)=>{const _0x4eacdc=_0x4f12fb;if(_0x157ac6)for(const _0x46c66a of _0x59270d[_0x4eacdc(0x7e)][_0x4eacdc(0x86)]){const _0x401c0e=_0x46c66a[_0x4eacdc(0x9b)][_0x4eacdc(0x9a)],_0x48c1f9=_0x1f30bf[_0x4eacdc(0x81)](_0x224772=>_0x224772[_0x4eacdc(0x72)]===_0x401c0e[_0x4eacdc(0x85)])[_0x4eacdc(0x8b)];_0x46c66a[_0x4eacdc(0x8b)]=void 0x0===_0x48c1f9||_0x48c1f9(_0x64e294);}}),_0x59270d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1247(_0x5e1edc,_0xb3e106){const _0x36c7f5=_0x36c7();return _0x1247=function(_0x12477e,_0x4e3e6c){_0x12477e=_0x12477e-0xf7;let _0x1b195e=_0x36c7f5[_0x12477e];return _0x1b195e;},_0x1247(_0x5e1edc,_0xb3e106);}(function(_0x2f78c1,_0x9a1bdb){const _0x1038b0=_0x1247,_0x44d1f1=_0x2f78c1();while(!![]){try{const _0x5328d5=-parseInt(_0x1038b0(0x106))/0x1+-parseInt(_0x1038b0(0x107))/0x2+parseInt(_0x1038b0(0x100))/0x3+parseInt(_0x1038b0(0x103))/0x4+parseInt(_0x1038b0(0xf8))/0x5+-parseInt(_0x1038b0(0xf9))/0x6*(parseInt(_0x1038b0(0x109))/0x7)+-parseInt(_0x1038b0(0x105))/0x8;if(_0x5328d5===_0x9a1bdb)break;else _0x44d1f1['push'](_0x44d1f1['shift']());}catch(_0x45f6cf){_0x44d1f1['push'](_0x44d1f1['shift']());}}}(_0x36c7,0xd3deb));function _0x36c7(){const _0x51011b=['8023945kTTMuZ','224922EXAtMy','Revision\x20author','ck-revision-history-sidebar__revision-author','setTemplate','0\x200\x2011\x2010','name','ck-revision-history-sidebar__revision-author__name','3952281JRvYVA','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','3241188HTJBey','span','955016OdqYMo','1600348UoPGLO','865432vNRCnZ','set','133gPSNyV','push'];_0x36c7=function(){return _0x51011b;};return _0x36c7();}import{View as _0x5bca7a,IconView as _0x1a16c1}from'ckeditor5/src/ui.js';import{IconUser as _0x829c58}from'ckeditor5/src/icons.js';import{getTranslation as _0x1872fd}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x5bca7a{constructor(_0x285a59,_0x57a4a3,_0x1ed8cc){const _0x39cab4=_0x1247;super(_0x285a59);const _0x471973=new _0x1a16c1();_0x471973[_0x39cab4(0x108)]({'content':_0x829c58,'viewBox':_0x39cab4(0xfd)});const _0x4dcf1f=['ck',_0x39cab4(0xfb)];_0x1ed8cc&&_0x4dcf1f[_0x39cab4(0xf7)](_0x39cab4(0x102));const _0x19c5ef=[{'tag':_0x39cab4(0x104),'attributes':{'class':['ck',_0x39cab4(0xff)],'title':_0x1872fd(_0x285a59,_0x1ed8cc?_0x39cab4(0x101):_0x39cab4(0xfa))},'children':[_0x471973,_0x57a4a3[_0x39cab4(0xfe)]]}];this[_0x39cab4(0xfc)]({'tag':'li','attributes':{'class':_0x4dcf1f},'children':_0x19c5ef});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x502896=_0x4ea5;function _0x4ea5(_0x842cae,_0x4b60ed){const _0x3ebf1f=_0x3ebf();return _0x4ea5=function(_0x4ea520,_0x27859a){_0x4ea520=_0x4ea520-0xfa;let _0x5eafe8=_0x3ebf1f[_0x4ea520];return _0x5eafe8;},_0x4ea5(_0x842cae,_0x4b60ed);}(function(_0x9f86ca,_0x91871f){const _0x473c8f=_0x4ea5,_0x1ceae2=_0x9f86ca();while(!![]){try{const _0x1ceb8e=parseInt(_0x473c8f(0x106))/0x1+-parseInt(_0x473c8f(0x10b))/0x2+-parseInt(_0x473c8f(0xfa))/0x3+parseInt(_0x473c8f(0x109))/0x4*(-parseInt(_0x473c8f(0x108))/0x5)+parseInt(_0x473c8f(0x103))/0x6+-parseInt(_0x473c8f(0x113))/0x7*(-parseInt(_0x473c8f(0x10e))/0x8)+parseInt(_0x473c8f(0x105))/0x9*(parseInt(_0x473c8f(0x10a))/0xa);if(_0x1ceb8e===_0x91871f)break;else _0x1ceae2['push'](_0x1ceae2['shift']());}catch(_0x1bb3bb){_0x1ceae2['push'](_0x1ceae2['shift']());}}}(_0x3ebf,0x8da19));import{LabeledFieldView as _0x16468e}from'ckeditor5/src/ui.js';function _0x3ebf(){const _0x3a22eb=['element','6331242yHStNu','ck-tooltip_multi-line','2037033dJjUFh','1072014YGKfTb','_tooltipString','5bwjYSh','2645688UrQmWy','40BRuAVc','2173048PFVNOS','_updateTooltipText','Enter\x20the\x20revision\x20name','99944wWmyUf','render','value','ck-revision-history-sidebar__revision-name','scrollWidth','91rFiCaH','input','Revision\x20name','extendTemplate','span','_resizeObserver','2600733Ygzrln','bindTemplate','set','placeholder','fieldView','clientWidth','listenTo','destroy'];_0x3ebf=function(){return _0x3a22eb;};return _0x3ebf();}import{ResizeObserver as _0x23a75b}from'ckeditor5/src/utils.js';import{getTranslation as _0x2e85c3}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x16468e{[_0x502896(0x118)]=null;constructor(_0x49a2f9,_0x384a37){const _0x4ac6bc=_0x502896;super(_0x49a2f9,_0x384a37);const _0x11823d=this[_0x4ac6bc(0xfb)];this[_0x4ac6bc(0xfc)]({'label':_0x2e85c3(_0x49a2f9,_0x4ac6bc(0x115)),'_tooltipString':''}),this[_0x4ac6bc(0xfe)][_0x4ac6bc(0xfd)]=_0x2e85c3(_0x49a2f9,_0x4ac6bc(0x10d)),this[_0x4ac6bc(0x116)]({'tag':_0x4ac6bc(0x117),'attributes':{'class':[_0x4ac6bc(0x111)],'data-cke-tooltip-text':_0x11823d['to'](_0x4ac6bc(0x107)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x4ac6bc(0x104)}});}[_0x502896(0x10f)](){const _0x566866=_0x502896;super[_0x566866(0x10f)](),this[_0x566866(0x118)]=new _0x23a75b(this[_0x566866(0xfe)][_0x566866(0x102)],()=>this[_0x566866(0x10c)]()),this[_0x566866(0x100)](this[_0x566866(0xfe)],_0x566866(0x114),()=>this[_0x566866(0x10c)]());}[_0x502896(0x101)](){const _0x48bfd9=_0x502896;super[_0x48bfd9(0x101)](),this[_0x48bfd9(0x118)]&&this[_0x48bfd9(0x118)][_0x48bfd9(0x101)]();}[_0x502896(0x10c)](){const _0x58c702=_0x502896,_0x27bda3=this[_0x58c702(0xfe)][_0x58c702(0x102)];this[_0x58c702(0x107)]=_0x27bda3[_0x58c702(0x112)]>_0x27bda3[_0x58c702(0xff)]&&_0x27bda3[_0x58c702(0x110)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4296ca=_0x2e4c;(function(_0x1ac6e3,_0x441650){const _0x2f09c0=_0x2e4c,_0x3cfbb8=_0x1ac6e3();while(!![]){try{const _0x3638e9=parseInt(_0x2f09c0(0xe6))/0x1*(parseInt(_0x2f09c0(0xe2))/0x2)+-parseInt(_0x2f09c0(0xfe))/0x3+parseInt(_0x2f09c0(0xe3))/0x4*(-parseInt(_0x2f09c0(0xc8))/0x5)+parseInt(_0x2f09c0(0xf4))/0x6+parseInt(_0x2f09c0(0xe7))/0x7*(-parseInt(_0x2f09c0(0xda))/0x8)+parseInt(_0x2f09c0(0xe4))/0x9+-parseInt(_0x2f09c0(0xd3))/0xa;if(_0x3638e9===_0x441650)break;else _0x3cfbb8['push'](_0x3cfbb8['shift']());}catch(_0x593925){_0x3cfbb8['push'](_0x3cfbb8['shift']());}}}(_0x4af3,0x37309));import{View as _0x51dc7a,createLabeledInputText as _0x28e833}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x32dc90}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2e4c(_0x222bde,_0x2c107a){const _0x4af3fe=_0x4af3();return _0x2e4c=function(_0x2e4cf9,_0x24800d){_0x2e4cf9=_0x2e4cf9-0xc1;let _0x2db6c4=_0x4af3fe[_0x2e4cf9];return _0x2db6c4;},_0x2e4c(_0x222bde,_0x2c107a);}import{RevisionNameView as _0xe75580}from'./revisionnameview.js';function _0x4af3(){const _0x360c75=['uiLanguage','value','element','3785fzQipf','revisionNameView','span','change','authors','extendTemplate','isActionsDropdownOpen','_requireRevisionName','unshift','.ck-confirm-view','ck-revision-history-sidebar__revision','6245340DCWZWh','bind','ck-reset','setTemplate','ck-revision-history-sidebar__revision__controls-wrapper','isHighlighted','select','24Wqulke','_createdAtFormatted','set','from','createdAt','isSelected','map','isReady','294ICAGXP','116DFyTDs','1950030bAWCsd','highlight','2339DEjIOS','176421dgFzbL','listenTo','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-disabled','ck-revision-history-sidebar__revision_highlighted','ck-revision-history-sidebar__revision-wrapper','srcElement','bindTemplate','ck-revision-history-sidebar__revision__date','setName','revisionActionsView','220','closest','2418006CohsXc','filter','deselect','fire','name','creator','div','ck-revision-history-sidebar__actions_dropdown_open','fieldView','length','46053DswTIU','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision_selected','unhighlight','_revision','isConfirm','isEnabled','render'];_0x4af3=function(){return _0x360c75;};return _0x4af3();}import{RevisionAuthorView as _0x3ed995}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x25af31}from'./utils.js';import{createActionsDropdownView as _0x4f33fe}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x32dc90(_0x51dc7a){['id'];[_0x4296ca(0xc9)];[_0x4296ca(0xf1)];[_0x4296ca(0xc1)];[_0x4296ca(0xcf)];constructor(_0x3849c5,_0x4dffb7,_0x3f8bd8,_0x1e891f){const _0x58cf58=_0x4296ca;super(_0x3849c5);const _0x101299=this[_0x58cf58(0xee)],_0x61ad7d=function(_0x35b1dc,_0x2b9135){const _0x2b4d46=_0x58cf58,_0x888d44=Array[_0x2b4d46(0xdd)](_0x2b9135[_0x2b4d46(0xcc)])[_0x2b4d46(0xf5)](_0x84d9a4=>_0x84d9a4!=_0x2b9135[_0x2b4d46(0xf9)]);return _0x2b9135[_0x2b4d46(0xf9)]&&_0x888d44[_0x2b4d46(0xd0)](_0x2b9135[_0x2b4d46(0xf9)]),_0x888d44[_0x2b4d46(0xe0)](_0x588e82=>new _0x3ed995(_0x35b1dc,_0x588e82,_0x588e82==_0x2b9135[_0x2b4d46(0xf9)]));}(_0x3849c5,_0x4dffb7);this['id']=_0x4dffb7['id'],this[_0x58cf58(0xc1)]=_0x4dffb7,this[_0x58cf58(0xcf)]=_0x1e891f,this[_0x58cf58(0xd4)](_0x58cf58(0xf8),_0x58cf58(0xde))['to'](_0x4dffb7),this[_0x58cf58(0xd4)](_0x58cf58(0xdb))['to'](this,_0x58cf58(0xde),_0x4c0cee=>_0x25af31(_0x3849c5[_0x58cf58(0xc5)],_0x4c0cee)),this[_0x58cf58(0xdc)](_0x58cf58(0xdf),!0x1),this[_0x58cf58(0xdc)](_0x58cf58(0xd8),!0x1),this[_0x58cf58(0xdc)](_0x58cf58(0xce),!0x1),this[_0x58cf58(0xdc)](_0x58cf58(0xe1),!0x1),this[_0x58cf58(0xdc)](_0x58cf58(0xc3),!0x1),this[_0x58cf58(0xc9)]=new _0xe75580(_0x3849c5,_0x28e833),this[_0x58cf58(0xc9)][_0x58cf58(0xfc)][_0x58cf58(0xcd)]({'attributes':{'maxlength':_0x58cf58(0xf2)}}),this[_0x58cf58(0xc9)][_0x58cf58(0xfc)][_0x58cf58(0xd4)](_0x58cf58(0xc6))['to'](this,_0x58cf58(0xf8),_0x765c86=>_0x765c86||this[_0x58cf58(0xdb)]),this[_0x58cf58(0xc9)][_0x58cf58(0xd4)](_0x58cf58(0xc3))['to'](this,_0x58cf58(0xdf),this,_0x58cf58(0xc3),(_0x4d8a41,_0x47367b)=>_0x4d8a41&&_0x47367b),this[_0x58cf58(0xf1)]=_0x3f8bd8&&_0x3f8bd8[_0x58cf58(0xfd)]?_0x4f33fe(this,_0x3f8bd8):'',this[_0x58cf58(0xf1)]&&this[_0x58cf58(0xf1)][_0x58cf58(0xd4)](_0x58cf58(0xc3))['to'](this),this[_0x58cf58(0xd6)]({'tag':_0x58cf58(0xfa),'attributes':{'class':['ck',_0x58cf58(0xd5),_0x58cf58(0xec),_0x101299['if'](_0x58cf58(0xc2),_0x58cf58(0xe9))]},'children':[{'tag':_0x58cf58(0xfa),'attributes':{'class':['ck',_0x58cf58(0xd5),_0x58cf58(0xd2),_0x101299['if'](_0x58cf58(0xc3),_0x58cf58(0xea),_0x25635a=>!_0x25635a),_0x101299['if'](_0x58cf58(0xdf),_0x58cf58(0x100)),_0x101299['if'](_0x58cf58(0xd8),_0x58cf58(0xeb)),_0x101299['if'](_0x58cf58(0xce),_0x58cf58(0xfb))]},'children':[this[_0x58cf58(0xc9)],{'tag':_0x58cf58(0xca),'attributes':{'class':['ck',_0x58cf58(0xef)]},'children':[{'text':_0x101299['to'](_0x58cf58(0xdb))}]},{'tag':_0x58cf58(0xfa),'attributes':{'class':['ck',_0x58cf58(0xd7)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x58cf58(0xff)]},'children':_0x61ad7d}]},this[_0x58cf58(0xf1)]],'on':{'click':_0x101299['to'](_0x1a7def=>{const _0x358394=_0x58cf58;_0x1a7def[_0x358394(0xed)][_0x358394(0xf3)](_0x358394(0xd1))||this[_0x358394(0xe1)]&&this[_0x358394(0xc3)]&&this[_0x358394(0xf7)](_0x358394(0xd9),{'id':this['id']});})}}]});}[_0x4296ca(0xc4)](){const _0x5baf0a=_0x4296ca;super[_0x5baf0a(0xc4)]();const _0x26cfd4=this[_0x5baf0a(0xc9)][_0x5baf0a(0xfc)][_0x5baf0a(0xc7)];this[_0x5baf0a(0xe8)](_0x26cfd4,_0x5baf0a(0xcb),()=>{const _0x53078a=_0x5baf0a;this[_0x53078a(0xcf)]&&!_0x26cfd4[_0x53078a(0xc6)]||this[_0x53078a(0xf7)](_0x53078a(0xf0),{'id':this['id'],'name':_0x26cfd4[_0x53078a(0xc6)]}),_0x26cfd4[_0x53078a(0xc6)]||(_0x26cfd4[_0x53078a(0xc6)]=this[_0x53078a(0xf8)]?this[_0x53078a(0xf8)]:this[_0x53078a(0xdb)]);});}[_0x4296ca(0xd9)](){const _0x260338=_0x4296ca;this[_0x260338(0xdf)]=!0x0;}[_0x4296ca(0xf6)](){const _0x556deb=_0x4296ca;this[_0x556deb(0xdf)]=!0x1;}[_0x4296ca(0xe5)](){const _0x426f91=_0x4296ca;this[_0x426f91(0xd8)]=!0x0;}[_0x4296ca(0x101)](){const _0x44d471=_0x4296ca;this[_0x44d471(0xd8)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x185ce3=_0x75ad;(function(_0x579dd3,_0x241c0d){const _0x17759c=_0x75ad,_0x2234e4=_0x579dd3();while(!![]){try{const _0x1cbd75=parseInt(_0x17759c(0x184))/0x1*(parseInt(_0x17759c(0x17a))/0x2)+parseInt(_0x17759c(0x192))/0x3+parseInt(_0x17759c(0x18f))/0x4*(-parseInt(_0x17759c(0x185))/0x5)+parseInt(_0x17759c(0x186))/0x6+parseInt(_0x17759c(0x190))/0x7*(parseInt(_0x17759c(0x18b))/0x8)+parseInt(_0x17759c(0x181))/0x9+-parseInt(_0x17759c(0x191))/0xa;if(_0x1cbd75===_0x241c0d)break;else _0x2234e4['push'](_0x2234e4['shift']());}catch(_0x51879e){_0x2234e4['push'](_0x2234e4['shift']());}}}(_0x449c,0x8911e));import{View as _0x563b58}from'ckeditor5/src/ui.js';function _0x449c(){const _0x48b088=['ck-revision-history-sidebar__subrevision-collapser_collapsed','449398nzxspw','970IfkyAz','3783990zyVFSY','click','button','ck-hidden','ck-revision-history-sidebar__subrevision-collapser','3704LAMUij','toggle','ck-revision-history-sidebar__subrevision-collapser__inner','span','4656ZZwkmf','1113bdhCWV','20069850hrpicn','3342105KrQOkW','2egRDgs','false','setTemplate','bindTemplate','set','_isCollapsed','true','4738716FddKjs','isVisible'];_0x449c=function(){return _0x48b088;};return _0x449c();}function _0x75ad(_0x181fbd,_0x419ef8){const _0x449cc7=_0x449c();return _0x75ad=function(_0x75ad77,_0x29ecb6){_0x75ad77=_0x75ad77-0x17a;let _0x8089a0=_0x449cc7[_0x75ad77];return _0x8089a0;},_0x75ad(_0x181fbd,_0x419ef8);}import'../../../theme/revision/subrevisioncollapser.css';export class SubrevisionCollapserView extends _0x563b58{constructor(_0x3974d8){const _0x2e3602=_0x75ad;super(_0x3974d8);const _0x238346=this[_0x2e3602(0x17d)];this[_0x2e3602(0x17e)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x2e3602(0x17c)]({'tag':_0x2e3602(0x18e),'attributes':{'class':['ck',_0x2e3602(0x18a),_0x238346['if'](_0x2e3602(0x182),_0x2e3602(0x189),_0x58b7a7=>!_0x58b7a7),_0x238346['if'](_0x2e3602(0x17f),_0x2e3602(0x183))],'role':_0x2e3602(0x188),'aria-pressed':_0x238346['to'](_0x2e3602(0x17f),_0xf9f89d=>_0xf9f89d?_0x2e3602(0x17b):_0x2e3602(0x180))},'children':[{'tag':_0x2e3602(0x18e),'attributes':{'class':['ck',_0x2e3602(0x18d)]}}],'on':{'click':_0x238346['to'](_0x2e3602(0x187))}});}[_0x185ce3(0x18c)](){const _0x349cd0=_0x185ce3;this[_0x349cd0(0x17f)]=!this[_0x349cd0(0x17f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ae5(_0x4574c0,_0x370bc8){const _0x4c5557=_0x4c55();return _0x3ae5=function(_0x3ae5d8,_0x190d10){_0x3ae5d8=_0x3ae5d8-0x103;let _0x25b83f=_0x4c5557[_0x3ae5d8];return _0x25b83f;},_0x3ae5(_0x4574c0,_0x370bc8);}const _0xeaf860=_0x3ae5;(function(_0x1ec411,_0x168ccf){const _0x556660=_0x3ae5,_0x82f06e=_0x1ec411();while(!![]){try{const _0x8d1db4=parseInt(_0x556660(0x106))/0x1*(-parseInt(_0x556660(0x10d))/0x2)+-parseInt(_0x556660(0x119))/0x3+parseInt(_0x556660(0x113))/0x4*(parseInt(_0x556660(0x11d))/0x5)+parseInt(_0x556660(0x117))/0x6+-parseInt(_0x556660(0x115))/0x7+-parseInt(_0x556660(0x109))/0x8*(-parseInt(_0x556660(0x112))/0x9)+parseInt(_0x556660(0x120))/0xa;if(_0x8d1db4===_0x168ccf)break;else _0x82f06e['push'](_0x82f06e['shift']());}catch(_0x223b8f){_0x82f06e['push'](_0x82f06e['shift']());}}}(_0x4c55,0x8ea00));import{View as _0x29357c}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x25b282}from'./revisionauthorview.js';function _0x4c55(){const _0x3948e7=['ck-revision-history-sidebar__revision__date','fire','deselect','7620oSOZqA','div','setTemplate','3119240ZLjPSz','ck-revision-history-sidebar__revision_selected','createdAt','bindTemplate','_createdAtFormatted','62UhIDMY','ck-reset','uiLanguage','7592wfxNQZ','isSelected','creator','_parentRevisionId','19122gSWllD','ck-revision-history-sidebar__revision','bind','ck-revision-history-sidebar__revision-authors','set','1593XXpJLs','2524sIdTOe','ck-revision-history-sidebar__subrevision','231105MKFQbJ','select','4213350QECobJ','span','2801331KsfRzH'];_0x4c55=function(){return _0x3948e7;};return _0x4c55();}import{dateToPrettyFormat as _0x2455aa}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x29357c{['id'];[_0xeaf860(0x10c)];constructor(_0x275eab,_0x5babf6,_0x1e9cfc){const _0x5030db=_0xeaf860;super(_0x275eab);const _0x2eaf7c=this[_0x5030db(0x104)];this['id']=_0x5babf6['id'],this[_0x5030db(0x10f)](_0x5030db(0x103))['to'](_0x5babf6),this[_0x5030db(0x111)](_0x5030db(0x10a),!0x1),this[_0x5030db(0x10f)](_0x5030db(0x105))['to'](this,_0x5030db(0x103),_0x10ca99=>_0x10ca99?_0x2455aa(_0x275eab[_0x5030db(0x108)],_0x10ca99):void 0x0),this[_0x5030db(0x10c)]=_0x1e9cfc,this[_0x5030db(0x11f)]({'tag':_0x5030db(0x11e),'attributes':{'class':['ck',_0x5030db(0x107),_0x5030db(0x10e),_0x5030db(0x114),_0x2eaf7c['if'](_0x5030db(0x10a),_0x5030db(0x121))]},'children':[{'tag':_0x5030db(0x118),'attributes':{'class':['ck',_0x5030db(0x11a)]},'children':[{'text':_0x2eaf7c['to'](_0x5030db(0x105))}]},{'tag':'ul','attributes':{'class':['ck',_0x5030db(0x110)]},'children':[new _0x25b282(_0x275eab,_0x5babf6[_0x5030db(0x10b)],!0x0)]}],'on':{'click':_0x2eaf7c['to'](this[_0x5030db(0x116)][_0x5030db(0x10f)](this))}});}[_0xeaf860(0x116)](){const _0x4d74cc=_0xeaf860;this[_0x4d74cc(0x10a)]=!0x0,this[_0x4d74cc(0x11b)](_0x4d74cc(0x116),{'parentId':this[_0x4d74cc(0x10c)]});}[_0xeaf860(0x11c)](){const _0x51163e=_0xeaf860;this[_0x51163e(0x10a)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1cdd23,_0x26999f){var _0x32b97e=_0x5e09,_0x76573c=_0x1cdd23();while(!![]){try{var _0x3cd423=parseInt(_0x32b97e(0x70))/0x1+-parseInt(_0x32b97e(0x71))/0x2*(-parseInt(_0x32b97e(0x6f))/0x3)+parseInt(_0x32b97e(0x76))/0x4+parseInt(_0x32b97e(0x74))/0x5+parseInt(_0x32b97e(0x72))/0x6*(-parseInt(_0x32b97e(0x75))/0x7)+parseInt(_0x32b97e(0x78))/0x8*(parseInt(_0x32b97e(0x73))/0x9)+-parseInt(_0x32b97e(0x6d))/0xa;if(_0x3cd423===_0x26999f)break;else _0x76573c['push'](_0x76573c['shift']());}catch(_0x20a80a){_0x76573c['push'](_0x76573c['shift']());}}}(_0x2982,0xe8986));function _0x2982(){var _0x378ac7=['toLocaleDateString','51HtGywi','1754523jQdbwW','204328vyUAgs','1557102KolVrP','1359BPxbGJ','5437680ippHeA','14epqSGx','1604376TPWbkz','toLocaleTimeString','42056dXNARl','numeric','long','43020040UYpoFA'];_0x2982=function(){return _0x378ac7;};return _0x2982();}function _0x5e09(_0x2f0f14,_0x2bc9f2){var _0x29822d=_0x2982();return _0x5e09=function(_0x5e0924,_0x3c180f){_0x5e0924=_0x5e0924-0x6b;var _0x5092cf=_0x29822d[_0x5e0924];return _0x5092cf;},_0x5e09(_0x2f0f14,_0x2bc9f2);}export function dateToPrettyFormat(_0x3a7bde,_0x8dd11e){var _0x2fd3ba=_0x5e09;return _0x8dd11e[_0x2fd3ba(0x6e)](_0x3a7bde,{'month':_0x2fd3ba(0x6c),'day':_0x2fd3ba(0x6b)})+',\x20'+_0x8dd11e[_0x2fd3ba(0x77)](_0x3a7bde,{'hour':_0x2fd3ba(0x6b),'minute':_0x2fd3ba(0x6b)});}
|