@ckeditor/ckeditor5-revision-history 47.0.0-alpha.5 → 47.0.0-alpha.7
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 _0x196d29=_0x36ab;(function(_0x56a57e,_0x528080){const _0x46ee90=_0x36ab,_0x901dbd=_0x56a57e();while(!![]){try{const _0x3323cf=-parseInt(_0x46ee90(0x1d1))/0x1+parseInt(_0x46ee90(0x1f1))/0x2*(-parseInt(_0x46ee90(0x1e2))/0x3)+parseInt(_0x46ee90(0x1ca))/0x4*(parseInt(_0x46ee90(0x223))/0x5)+-parseInt(_0x46ee90(0x288))/0x6+-parseInt(_0x46ee90(0x225))/0x7*(parseInt(_0x46ee90(0x276))/0x8)+parseInt(_0x46ee90(0x294))/0x9+parseInt(_0x46ee90(0x246))/0xa;if(_0x3323cf===_0x528080)break;else _0x901dbd['push'](_0x901dbd['shift']());}catch(_0x50cdbc){_0x901dbd['push'](_0x901dbd['shift']());}}}(_0x3f52,0xc2423));import{Plugin as _0x305f7e,Command as _0x342152}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x52e6a8}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3e5042}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0x30c4b1,ModelElement as _0x7b87e3,ModelText as _0x29fc43}from'ckeditor5/src/engine.js';import{Users as _0x3cb5df,getMarkerDomElement as _0x5db2b1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x36ab(_0x43065b,_0x18e4db){const _0x3f5292=_0x3f52();return _0x36ab=function(_0x36ab83,_0x53189f){_0x36ab83=_0x36ab83-0x1a3;let _0x53a8f0=_0x3f5292[_0x36ab83];return _0x53a8f0;},_0x36ab(_0x43065b,_0x18e4db);}import{ChangeDetailsView as _0x1c52e2}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x53dc0e}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x15de87}from'./revisionhistoryutils.js';import{ChangeItem as _0x57cca1}from'./changeitem.js';function _0x3f52(){const _0x4c3f4e=['removeClass','listenTo','_update','uiElement','domConverter','high','insertion','deletion','view','add','rootName','side','_getChangeFromId','getDomRoot','_fixObsoleteTags','parent','_removeMissingPairs','domEvent','_appendChild','_utils','forceDisabled','createRangeIn','_getDiff','_joinTapes','pop','findIndex','getLaterVisibleRevision','schema','ck-suggestion-preview-marker','mapper','comment','createRange','done','isObject','ck-suggestion-marker-','diff','markerNameToElements','getClientRects','removeMarker:revision','revision','startIndex','getCustomProperty','_changeView','RevisionHistoryUtils','wrap','getWalker','shift','_markInsertions','addHighlight','3005WRdZTB','isEnabled','10827033pqmgAH','level','showNextChange','index','_findChangeIdFromDomTarget','name','viewItem','top','authors','getAttributes','pairId','dataToMarker','string','detachRoot','change:activeView','map','_changeIdToChange','ck-revision-history-root--active','element','_sortAndFilterDiffChanges','-new','isBefore','showStack','nodeAfter','from','softBreak','attribute:vid','markerRange','addMarker:revision','isPremiumPlugin','removeAttribute','_activeViewTarget','getRevisionDocumentData','43919870qVShUe','loadRevisionData','left','_makeModelFromTape','removeMarker','affectsData','change:activeChange','forward','_setDistance','userId','model','elementStart','_getRevisionsRange','return','forEach','insertions','revisionHistoryLabel','distance','markerName','consumable','bindElementToMarker','POSITIVE_INFINITY','document','mapViewToDom','has','newRevisionId','clear','object','addMarker:revision-suggestion:deletion','selection','revisionHistoryAttachChange','isOfficialPlugin','catch','unshift','createRevision','includes','refresh','ck-suggestion-marker--active','next','previousPosition','activeChange','adapter','activeView','_initInteractions','keys','deletions','enableReadOnlyMode','plugins','8iOpjlW','nextPosition','revision:','revisionHistory','_getViewForChange','init','then','right','createAttributeElement','ck-revision-history-root-remove','change:isEnabled','endIndex','markerToData','numberOfChanges','end','requires','isReady','elementEnd','7157604wlidMA','markers','isAddSuggestion','restoreRevisionCallback','ck-revision-history-root-add','addMarker:revision-suggestion:insertion','getItems','editor','change','_processTape','for','WidgetToolbarRepository','2825757GpTjLx','editing','ck-editor__editable__overlay','enqueueChange','isAdded','revision-viewer','commands','_threeWayMerge','filter','code','_balloon','restoreRevision','offsetSize','_removeUnsupportedChanges','set','modelRange','slice','_setChanges','_makeTape','observeMarkers','locale','RevisionViewer','bind','ck-suggestion-marker','isContent','backward','type','concat','markerToHighlight','hasAttribute','change:numberOfChanges','vid_end','nextSibling','compare','isAfter','all','removeMarker:revision-suggestion','isEqual','ck-suggestion-preview-marker-','suggestion','range','isAttached','attributesBefore','pluginName','diffData','setAttribute','abs','isAtEnd','_data','values','getRootNames','isRemoveSuggestion','_cleanUp','isRemoved','isInline','isLimit','createPositionBefore','hasClass','ck-suggestion-marker-split','isAtStart','length','addRevision','_markSuggestions','oldRevisionId','attachChange','toViewElement','getRoot','maxOffset','vid_start','changeId','unbindElementFromMarkerName','indexOf','item','attributes','addClass','markersStart','markersEnd','getIndex','isBlock','span','getRevision','createUIElement','_cleanMarkers','test','sort','changes','find','execute','text','dataDowncast','stop','toViewRange','mouseover','highest','isIncorrect','revision-comment:','vid','push','start','addRoot','resolve','updatePosition','flat','low','conversion','insert','remove','_setConversion','repository','config','destroy','showPreviousChange','first','ck-suggestion-marker-merge','suggestion:','_revisions','split','isCollapsed','downcastDispatcher','RevisionsRepository','getRevisionRootsAttributes','mousedown','addRevisionData','_markMarkers','4868wMzqNA','get','change:isReady','getChild','revision-suggestion:','element:pre','roots','1240574tihtAN','upcast','createPositionFromPath','_step','writer','_refreshStartEndIndex','bottom','splice','editingDowncast','ck-revision-history-root-','isSuggestion','error','delete','consume','currentChangeNumber','isNavigationMode','checkAttribute','25119gqTjdr','reconvertMarker','startsWith','isOnRoot','_markMismatchedRemovedTags','target','data-change-id','_makeModelFromViewString','merge','data','getAttribute','attributesAfter','toViewPosition','revision-suggestion','elementToAttribute','158PdUWaB'];_0x3f52=function(){return _0x4c3f4e;};return _0x3f52();}import{RevisionDiff as _0x21fe59}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x54a21e}from'es-toolkit/compat';export class RevisionViewer extends _0x305f7e{[_0x196d29(0x1ba)];[_0x196d29(0x26f)]=null;[_0x196d29(0x205)];[_0x196d29(0x244)];[_0x196d29(0x21c)];[_0x196d29(0x235)];[_0x196d29(0x29e)];static get[_0x196d29(0x2bf)](){const _0x10e364=_0x196d29;return _0x10e364(0x2a9);}static get[_0x196d29(0x265)](){return!0x0;}static get[_0x196d29(0x242)](){return!0x0;}static get[_0x196d29(0x285)](){return[_0x3cb5df,_0x3e5042,_0x53dc0e,_0x15de87];}constructor(_0x5858c9){const _0xc38b6e=_0x196d29;super(_0x5858c9),this[_0xc38b6e(0x1ba)]=this[_0xc38b6e(0x28f)][_0xc38b6e(0x275)][_0xc38b6e(0x1cb)](_0xc38b6e(0x1c5)),this[_0xc38b6e(0x205)]=this[_0xc38b6e(0x28f)][_0xc38b6e(0x275)][_0xc38b6e(0x1cb)](_0xc38b6e(0x21d)),this[_0xc38b6e(0x2a2)](_0xc38b6e(0x26e),null),this[_0xc38b6e(0x2a2)](_0xc38b6e(0x270),null),this[_0xc38b6e(0x244)]=null,this[_0xc38b6e(0x2a2)](_0xc38b6e(0x215),null),this[_0xc38b6e(0x2a2)](_0xc38b6e(0x286),!0x1),this[_0xc38b6e(0x2a2)](_0xc38b6e(0x224),!0x0),this['on'](_0xc38b6e(0x280),(_0x370c13,_0x348413,_0x7ca5d0)=>{const _0x150c65=_0xc38b6e;this[_0x150c65(0x26e)]=null,this[_0x150c65(0x270)]=null,this[_0x150c65(0x28f)][_0x150c65(0x295)][_0x150c65(0x1fa)][_0x150c65(0x290)](_0x11011d=>{const _0x3140d7=_0x150c65;for(const _0x188614 of this[_0x3140d7(0x28f)][_0x3140d7(0x295)][_0x3140d7(0x1fa)][_0x3140d7(0x25c)][_0x3140d7(0x1d0)])_0x7ca5d0?_0x11011d[_0x3140d7(0x1f2)](_0x3140d7(0x296),_0x188614):_0x11011d[_0x3140d7(0x2de)](_0x3140d7(0x296),_0x188614);});}),this[_0xc38b6e(0x2aa)](_0xc38b6e(0x1e0))['to'](this,_0xc38b6e(0x26e),_0x464398=>null!==_0x464398),this[_0xc38b6e(0x2aa)](_0xc38b6e(0x1df))['to'](this,_0xc38b6e(0x286),this,_0xc38b6e(0x215),this,_0xc38b6e(0x26e),(_0x5f2638,_0x407937,_0x5207d5)=>_0x5f2638&&_0x5207d5?_0x407937[_0xc38b6e(0x1a3)][_0xc38b6e(0x2e1)](_0x5207d5):0x0),this[_0xc38b6e(0x2aa)](_0xc38b6e(0x283))['to'](this,_0xc38b6e(0x286),this,_0xc38b6e(0x215),(_0x332368,_0x37fcbe)=>_0x332368?_0x37fcbe[_0xc38b6e(0x1a3)][_0xc38b6e(0x2d0)]:0x0),this[_0xc38b6e(0x21c)]=null,this[_0xc38b6e(0x235)]=new Map(),this[_0xc38b6e(0x29e)]=this[_0xc38b6e(0x28f)][_0xc38b6e(0x275)][_0xc38b6e(0x1cb)](_0x3e5042);}[_0x196d29(0x27b)](){const _0x3ee0de=_0x196d29,_0x46398d=this[_0x3ee0de(0x28f)],_0x29ba73=new ShowChangeCommand(_0x46398d,{'direction':_0x3ee0de(0x2ad)}),_0x301406=new ShowChangeCommand(_0x46398d,{'direction':_0x3ee0de(0x24d)});(_0x46398d[_0x3ee0de(0x29a)][_0x3ee0de(0x1fb)](_0x3ee0de(0x1bd),_0x29ba73),_0x46398d[_0x3ee0de(0x29a)][_0x3ee0de(0x1fb)](_0x3ee0de(0x227),_0x301406),_0x46398d[_0x3ee0de(0x29a)][_0x3ee0de(0x1fb)](_0x3ee0de(0x29f),new RestoreRevisionCommand(_0x46398d)),this['on'](_0x3ee0de(0x2b2),()=>{const _0x1d2002=_0x3ee0de;_0x29ba73[_0x1d2002(0x26a)](),_0x301406[_0x1d2002(0x26a)]();}),this[_0x3ee0de(0x1b9)](),this[_0x3ee0de(0x271)](),_0x46398d[_0x3ee0de(0x274)](_0x3ee0de(0x299)),_0x46398d[_0x3ee0de(0x275)][_0x3ee0de(0x25e)](_0x3ee0de(0x293)))&&_0x46398d[_0x3ee0de(0x275)][_0x3ee0de(0x1cb)](_0x3ee0de(0x293))[_0x3ee0de(0x206)](_0x3ee0de(0x299));}async[_0x196d29(0x245)](_0x5c0bc4){const _0x3a2dc0=_0x196d29;return await this[_0x3a2dc0(0x205)][_0x3a2dc0(0x247)](_0x5c0bc4,this[_0x3a2dc0(0x26f)]),this[_0x3a2dc0(0x205)][_0x3a2dc0(0x245)](_0x5c0bc4);}async[_0x196d29(0x1c6)](_0x53b738){const _0x5898de=_0x196d29;return await this[_0x5898de(0x205)][_0x5898de(0x247)](_0x53b738,this[_0x5898de(0x26f)]),this[_0x5898de(0x205)][_0x5898de(0x1c6)](_0x53b738);}async[_0x196d29(0x2b5)](_0x4f7531,_0x4117e7,_0x4c21cb=!0x1){const _0x661ad3=_0x196d29;if(!this[_0x661ad3(0x224)])return;const _0x255110=this[_0x661ad3(0x215)],_0x7ea25=this[_0x661ad3(0x1ba)],_0x2da135=_0x661ad3(0x231)==typeof _0x4f7531?_0x7ea25[_0x661ad3(0x2e4)](_0x4f7531):_0x4f7531,_0x2091c6=_0x661ad3(0x231)==typeof _0x4117e7?_0x7ea25[_0x661ad3(0x2e4)](_0x4117e7):_0x4117e7,_0x1972f3=_0x2da135['id'],_0x677278=_0x2091c6?_0x2091c6['id']:null;if(!_0x4c21cb&&this[_0x661ad3(0x215)]&&this[_0x661ad3(0x215)][_0x661ad3(0x25f)]===_0x1972f3&&this[_0x661ad3(0x215)][_0x661ad3(0x2d3)]===_0x677278)return Promise[_0x661ad3(0x1b2)]();this[_0x661ad3(0x286)]=!0x1,this[_0x661ad3(0x270)]=null,this[_0x661ad3(0x26e)]=null,this[_0x661ad3(0x215)]=new _0x21fe59(_0x1972f3,_0x677278);const _0x5ae334=this[_0x661ad3(0x252)](_0x2da135,_0x2091c6,!0x0)[_0x661ad3(0x234)](_0x4664be=>this[_0x661ad3(0x205)][_0x661ad3(0x247)](_0x4664be,this[_0x661ad3(0x26f)]));return _0x5ae334[_0x661ad3(0x1af)](new Promise(_0xb290d9=>{setTimeout(_0xb290d9,0x14);})),Promise[_0x661ad3(0x2b7)](_0x5ae334)[_0x661ad3(0x27c)](()=>{const _0x813fa6=_0x661ad3;if(!this[_0x813fa6(0x224)])return;this[_0x813fa6(0x2c8)]();const _0x74f0d7=this[_0x813fa6(0x208)](_0x1972f3,_0x677278);for(const _0xacf077 of _0x74f0d7[_0x813fa6(0x1a3)])this[_0x813fa6(0x235)][_0x813fa6(0x2a2)](_0xacf077['id'],_0xacf077);this[_0x813fa6(0x28f)][_0x813fa6(0x250)][_0x813fa6(0x297)]({'isUndoable':!0x1},_0x229419=>{const _0x114eac=_0x813fa6;for(const _0x24ae7b of this[_0x114eac(0x28f)][_0x114eac(0x250)][_0x114eac(0x25c)][_0x114eac(0x2c6)]())_0x229419[_0x114eac(0x232)](_0x24ae7b);for(const _0x49202b of Object[_0x114eac(0x272)](_0x74f0d7[_0x114eac(0x250)])){const _0x1af3cd=_0x229419[_0x114eac(0x1b1)](_0x49202b);for(const _0x15a1d5 of Object[_0x114eac(0x272)](_0x74f0d7[_0x114eac(0x2dd)][_0x49202b]))_0x229419[_0x114eac(0x2c1)](_0x15a1d5,_0x74f0d7[_0x114eac(0x2dd)][_0x49202b][_0x15a1d5],_0x1af3cd);_0x229419[_0x114eac(0x1b7)](_0x74f0d7[_0x114eac(0x250)][_0x49202b],_0x1af3cd,0x0);}}),this[_0x813fa6(0x215)][_0x813fa6(0x2a5)](this[_0x813fa6(0x238)](_0x74f0d7[_0x813fa6(0x1a3)])),this[_0x813fa6(0x286)]=!0x0;})[_0x661ad3(0x266)](_0x23d60f=>{const _0x53ebb3=_0x661ad3;console[_0x53ebb3(0x1dc)](_0x23d60f),this[_0x53ebb3(0x2c8)](),_0x255110&&(this[_0x53ebb3(0x215)]=_0x255110),this[_0x53ebb3(0x286)]=!0x0;});}[_0x196d29(0x1c8)](_0x3073e9,_0x193f91){const _0x3a6b57=_0x196d29,_0xc8a010=this[_0x3a6b57(0x1ba)][_0x3a6b57(0x268)](_0x3073e9);return _0xc8a010['on'](_0x3a6b57(0x1f4),(_0x3227bb,_0x8e3330,_0xdea87a)=>_0x193f91(_0x8e3330,_0xdea87a,_0xc8a010)),this[_0x3a6b57(0x1ba)][_0x3a6b57(0x2d1)](_0xc8a010),_0xc8a010;}[_0x196d29(0x2c8)](){const _0xd7ab9f=_0x196d29;this[_0xd7ab9f(0x26e)]=null,this[_0xd7ab9f(0x2e6)](),this[_0xd7ab9f(0x21c)]&&this[_0xd7ab9f(0x21c)][_0xd7ab9f(0x1bc)](),this[_0xd7ab9f(0x21c)]=null,this[_0xd7ab9f(0x235)][_0xd7ab9f(0x260)](),this[_0xd7ab9f(0x28f)][_0xd7ab9f(0x250)][_0xd7ab9f(0x297)]({'isUndoable':!0x1},_0x2a2b65=>{const _0x2dcd66=_0xd7ab9f;for(const _0x3979df of this[_0x2dcd66(0x28f)][_0x2dcd66(0x250)][_0x2dcd66(0x25c)][_0x2dcd66(0x2c6)]())_0x2a2b65[_0x2dcd66(0x232)](_0x3979df);});}[_0x196d29(0x238)](_0x50cda4){const _0x2b11a1=_0x196d29,_0x1c0a0d=[],_0x3da51a=new Map();for(const _0x1f2ce5 of this[_0x2b11a1(0x28f)][_0x2b11a1(0x250)][_0x2b11a1(0x25c)][_0x2b11a1(0x2c6)]()){const _0x20410f=this[_0x2b11a1(0x28f)][_0x2b11a1(0x295)][_0x2b11a1(0x1fa)][_0x2b11a1(0x1ff)](_0x1f2ce5);if(!_0x20410f)continue;const _0x1df879=_0x20410f[_0x2b11a1(0x217)]()[_0x2b11a1(0x2dc)](0x0);_0x1df879&&(_0x1c0a0d[_0x2b11a1(0x1af)](_0x1f2ce5),_0x3da51a[_0x2b11a1(0x2a2)](_0x1f2ce5,_0x1df879));}return _0x1c0a0d[_0x2b11a1(0x2e8)]((_0x164eed,_0x3ef4bc)=>{const _0x2f11d9=_0x2b11a1,_0x55422f=_0x3da51a[_0x2f11d9(0x1cb)](_0x164eed),_0x23096a=_0x3da51a[_0x2f11d9(0x1cb)](_0x3ef4bc);return _0x55422f['y']-_0x23096a['y']||_0x55422f['x']-_0x23096a['x'];}),(_0x50cda4=_0x50cda4[_0x2b11a1(0x29c)](_0x2d39f2=>_0x1c0a0d[_0x2b11a1(0x269)](_0x2d39f2[_0x2b11a1(0x1fc)])))[_0x2b11a1(0x2e8)]((_0x20f574,_0x3d2a55)=>_0x1c0a0d[_0x2b11a1(0x2db)](_0x20f574[_0x2b11a1(0x1fc)])-_0x1c0a0d[_0x2b11a1(0x2db)](_0x3d2a55[_0x2b11a1(0x1fc)])),_0x50cda4;}[_0x196d29(0x2a6)](_0x5f41d7){const _0x4556c7=_0x196d29,_0x1ed954=Array[_0x4556c7(0x23d)](_0x5f41d7[_0x4556c7(0x289)])[_0x4556c7(0x29c)](([_0x4f0bd7,_0xa553e0])=>_0x4f0bd7[_0x4556c7(0x1e4)](_0x4556c7(0x278))&&!_0xa553e0[_0x4556c7(0x1c3)]),_0x1b1de1=Array[_0x4556c7(0x23d)](this[_0x4556c7(0x28f)][_0x4556c7(0x250)][_0x4556c7(0x207)](_0x5f41d7)[_0x4556c7(0x21f)]({'singleCharacters':!0x0}));if(0x0!=_0x1ed954[_0x4556c7(0x2d0)])for(const _0x3c5e56 of _0x1b1de1){const [_0x5744f0,_0x3787a2]=_0x1ed954[0x0],[,_0x3e2cee,_0x525816]=_0x5744f0[_0x4556c7(0x1c2)](':');if(_0x3787a2[_0x4556c7(0x284)][_0x4556c7(0x2b9)](_0x3c5e56[_0x4556c7(0x277)])&&_0x1ed954[_0x4556c7(0x220)](),(_0x3c5e56[_0x4556c7(0x26d)][_0x4556c7(0x2b9)](_0x3787a2[_0x4556c7(0x1b0)])||_0x3c5e56[_0x4556c7(0x26d)][_0x4556c7(0x2b6)](_0x3787a2[_0x4556c7(0x1b0)]))&&(_0x4556c7(0x1f8)==_0x3e2cee?_0x3c5e56[_0x4556c7(0x298)]={'userId':_0x525816}:_0x4556c7(0x1f9)==_0x3e2cee&&(_0x3c5e56[_0x4556c7(0x2c9)]={'userId':_0x525816})),0x0==_0x1ed954[_0x4556c7(0x2d0)])break;}return _0x1b1de1;}[_0x196d29(0x1d6)](_0x587e9b){const _0x233cf6=_0x196d29,_0x186aa9=new Map();for(let _0x14e410=0x0;_0x14e410<_0x587e9b[_0x233cf6(0x2d0)];_0x14e410++)_0x233cf6(0x1a6)===_0x587e9b[_0x14e410][_0x233cf6(0x2ae)]?(_0x587e9b[_0x14e410][_0x233cf6(0x2dc)][_0x233cf6(0x21a)]=_0x14e410,_0x587e9b[_0x14e410][_0x233cf6(0x2dc)][_0x233cf6(0x281)]=_0x14e410):(_0x233cf6(0x251)===_0x587e9b[_0x14e410][_0x233cf6(0x2ae)]?_0x587e9b[_0x14e410][_0x233cf6(0x2dc)][_0x233cf6(0x21a)]=_0x14e410:_0x233cf6(0x287)===_0x587e9b[_0x14e410][_0x233cf6(0x2ae)]&&(_0x587e9b[_0x14e410][_0x233cf6(0x2dc)][_0x233cf6(0x281)]=_0x14e410),_0x186aa9[_0x233cf6(0x2a2)](_0x587e9b[_0x14e410]['id'],_0x14e410));for(const _0x5e3df4 of _0x186aa9[_0x233cf6(0x2c5)]())_0x233cf6(0x251)===_0x587e9b[_0x5e3df4][_0x233cf6(0x2ae)]?_0x587e9b[_0x5e3df4][_0x233cf6(0x2dc)][_0x233cf6(0x281)]=_0x186aa9[_0x233cf6(0x1cb)](_0x587e9b[_0x5e3df4][_0x233cf6(0x22f)]):_0x233cf6(0x287)===_0x587e9b[_0x5e3df4][_0x233cf6(0x2ae)]&&(_0x587e9b[_0x5e3df4][_0x233cf6(0x2dc)][_0x233cf6(0x21a)]=_0x186aa9[_0x233cf6(0x1cb)](_0x587e9b[_0x5e3df4][_0x233cf6(0x22f)]));}[_0x196d29(0x291)](_0x452b46){const _0x167f15=_0x196d29;for(let _0x44961c=0x0;_0x44961c<_0x452b46[_0x167f15(0x2d0)];_0x44961c++){if(_0x167f15(0x251)===_0x452b46[_0x44961c][_0x167f15(0x2ae)])_0x452b46[_0x44961c][_0x167f15(0x2dc)][_0x167f15(0x21a)]=_0x44961c;else{if(_0x167f15(0x287)===_0x452b46[_0x44961c][_0x167f15(0x2ae)]){_0x452b46[_0x44961c][_0x167f15(0x2dc)][_0x167f15(0x281)]=_0x44961c;const _0x36dbf1=_0x452b46[_0x44961c][_0x167f15(0x2dc)][_0x167f15(0x21a)];_0x452b46[_0x36dbf1][_0x167f15(0x22f)]=_0x452b46[_0x44961c]['id'],_0x452b46[_0x44961c][_0x167f15(0x22f)]=_0x452b46[_0x36dbf1]['id'];}else _0x452b46[_0x44961c][_0x167f15(0x2dc)][_0x167f15(0x21a)]=_0x44961c,_0x452b46[_0x44961c][_0x167f15(0x2dc)][_0x167f15(0x281)]=_0x44961c,_0x452b46[_0x44961c][_0x167f15(0x22f)]=null;}_0x452b46[_0x44961c][_0x167f15(0x2df)]||(_0x452b46[_0x44961c][_0x167f15(0x2df)]=[],_0x452b46[_0x44961c][_0x167f15(0x2e0)]=[]);}}[_0x196d29(0x221)](_0x46b109,_0x39a1b6){const _0x13010e=_0x196d29,_0x1882cf=_0x46b109[_0x13010e(0x29c)](_0xd2f01f=>!_0xd2f01f[_0x13010e(0x298)]);for(let _0x3650e4=0x0;_0x3650e4<_0x39a1b6[_0x13010e(0x2d0)];_0x3650e4++)_0x39a1b6[_0x3650e4][_0x13010e(0x298)]&&(_0x1882cf[_0x3650e4][_0x13010e(0x298)]=_0x39a1b6[_0x3650e4][_0x13010e(0x298)]);}[_0x196d29(0x208)](_0x170984,_0x323054=null){const _0xde20c9=_0x196d29,_0x293915=this[_0xde20c9(0x1ba)][_0xde20c9(0x2e4)](_0x170984),_0x4ea2d2=_0x323054?this[_0xde20c9(0x1ba)][_0xde20c9(0x2e4)](_0x323054):null,_0x3d6cfd=this[_0xde20c9(0x252)](_0x293915,_0x4ea2d2),_0x19d95b=_0x3d6cfd[_0x3d6cfd[_0xde20c9(0x2d0)]-0x1],_0x15f2fa=new Map(),_0x138ee2={'model':{},'attributes':{},'changes':[]},_0x5128bf=new Set(),_0x51e7b8=new Map();for(let _0x5ea539=_0x3d6cfd[_0xde20c9(0x2d0)]-0x1;_0x5ea539>=0x0;_0x5ea539--){const _0x35c89a=_0x3d6cfd[_0x5ea539];for(const _0x3f7728 of Object[_0xde20c9(0x272)](_0x35c89a[_0xde20c9(0x2c0)]))if(_0x35c89a[_0xde20c9(0x2c0)][_0x3f7728][_0xde20c9(0x2d4)]){const _0x4a4067=_0x35c89a[_0xde20c9(0x2c0)][_0x3f7728][_0xde20c9(0x2d4)];_0x4a4067[_0xde20c9(0x2bd)]?(_0x5128bf[_0xde20c9(0x1fb)](_0x3f7728),_0x51e7b8[_0xde20c9(0x25e)](_0x3f7728)&&_0x51e7b8[_0xde20c9(0x1cb)](_0x3f7728)[_0xde20c9(0x24f)]==_0x4a4067[_0xde20c9(0x24f)]?_0x51e7b8[_0xde20c9(0x1dd)](_0x3f7728):_0x51e7b8[_0xde20c9(0x2a2)](_0x3f7728,_0x4a4067)):_0x51e7b8[_0xde20c9(0x25e)](_0x3f7728)?(_0x5128bf[_0xde20c9(0x1dd)](_0x3f7728),_0x51e7b8[_0xde20c9(0x1dd)](_0x3f7728)):(_0x5128bf[_0xde20c9(0x1fb)](_0x3f7728),_0x51e7b8[_0xde20c9(0x2a2)](_0x3f7728,_0x4a4067));}else _0x5128bf[_0xde20c9(0x1fb)](_0x3f7728);}for(const _0x6053f of _0x5128bf){const _0x26e4a6=_0x51e7b8[_0xde20c9(0x25e)](_0x6053f)&&!_0x51e7b8[_0xde20c9(0x1cb)](_0x6053f)[_0xde20c9(0x2bd)];let _0x3c1ce4=_0x26e4a6?_0x3d6cfd[_0xde20c9(0x2d0)]-0x1:0x0;const _0x2aeeaf=_0x26e4a6?-0x1:0x1;for(;_0x3d6cfd[_0x3c1ce4];){const _0x35d09d=_0x3d6cfd[_0x3c1ce4];if(_0x35d09d[_0xde20c9(0x2c0)][_0x6053f]){const _0x3d8ccc=_0x26e4a6?_0x35d09d[_0xde20c9(0x2c0)][_0x6053f][_0xde20c9(0x2be)]:_0x35d09d[_0xde20c9(0x2c0)][_0x6053f][_0xde20c9(0x1ed)];_0x138ee2[_0xde20c9(0x2dd)][_0x6053f]=_0x3d8ccc?_0x54a21e(_0x3d8ccc):{};break;}_0x3c1ce4+=_0x2aeeaf;}}for(const _0x2aa1c4 of _0x3d6cfd){_0x2aa1c4[_0xde20c9(0x250)]={};for(const _0x3c64da of _0x2aa1c4[_0xde20c9(0x22d)])_0x15f2fa[_0xde20c9(0x2a2)](_0x3c64da['id'],_0x3c64da);for(const _0x49063d of _0x5128bf){const _0xf8e60=_0x2aa1c4[_0xde20c9(0x2c0)][_0x49063d]?_0x2aa1c4[_0xde20c9(0x2c0)][_0x49063d][_0xde20c9(0x255)]:'[]',_0x1a5b69=_0x2aa1c4[_0xde20c9(0x2c0)][_0x49063d]?_0x2aa1c4[_0xde20c9(0x2c0)][_0x49063d][_0xde20c9(0x273)]:'[]';_0x2aa1c4[_0xde20c9(0x250)][_0x49063d]={'insertions':this[_0xde20c9(0x205)][_0xde20c9(0x1e9)](_0xf8e60),'deletions':this[_0xde20c9(0x205)][_0xde20c9(0x1e9)](_0x1a5b69)};}}for(const _0x378339 of _0x5128bf){let _0x55d0a8=null,_0xdf47f8=0x0;const _0x27ca38=new Map(Array[_0xde20c9(0x23d)](_0x293915[_0xde20c9(0x250)][_0x378339][_0xde20c9(0x255)][_0xde20c9(0x289)])[_0xde20c9(0x29c)](([_0x247a20])=>!_0x247a20[_0xde20c9(0x1e4)](_0xde20c9(0x278))));let _0x2dff7f=0x0;for(const _0x194b6a of _0x3d6cfd){const _0x2224ae=this[_0xde20c9(0x2a6)](_0x194b6a[_0xde20c9(0x250)][_0x378339][_0xde20c9(0x255)]);_0x194b6a==_0x293915?(_0x55d0a8=_0x2224ae,_0xdf47f8=_0x55d0a8[_0xde20c9(0x2d0)],_0x55d0a8[_0xde20c9(0x254)](_0x271a6b=>{_0x271a6b['id']=_0x2dff7f++;}),this[_0xde20c9(0x291)](_0x55d0a8)):this[_0xde20c9(0x221)](_0x55d0a8,_0x2224ae);const _0x51c7e7=_0x55d0a8[_0xde20c9(0x29c)](_0xd9a55=>!_0xd9a55[_0xde20c9(0x298)])[_0xde20c9(0x234)](_0xe19ece=>_0xe19ece['id']);let _0x412bbe=0x0;const _0x3c867f=this[_0xde20c9(0x2a6)](_0x194b6a[_0xde20c9(0x250)][_0x378339][_0xde20c9(0x273)]);_0x3c867f[_0xde20c9(0x254)](_0x342f54=>{const _0x2ebe14=_0xde20c9;_0x342f54[_0x2ebe14(0x2c9)]?_0x342f54['id']=_0xdf47f8++:_0x342f54['id']=_0x51c7e7[_0x412bbe++];}),this[_0xde20c9(0x291)](_0x3c867f),this[_0xde20c9(0x24e)](_0x55d0a8,_0xde20c9(0x298)),this[_0xde20c9(0x24e)](_0x3c867f,_0xde20c9(0x2c9)),_0x194b6a==_0x293915&&this[_0xde20c9(0x1c9)](_0x55d0a8,_0x27ca38),_0x55d0a8=this[_0xde20c9(0x209)](_0x55d0a8,_0x3c867f),this[_0xde20c9(0x1d6)](_0x55d0a8),this[_0xde20c9(0x24e)](_0x55d0a8,_0xde20c9(0x2c9));}_0x55d0a8=_0x55d0a8[_0xde20c9(0x29c)](_0x1c51cd=>!(_0x1c51cd[_0xde20c9(0x298)]&&_0x1c51cd[_0xde20c9(0x2c9)]));const _0x3f53fe=new Map(_0x19d95b[_0xde20c9(0x250)][_0x378339][_0xde20c9(0x273)][_0xde20c9(0x289)]),_0x1adcec=new Set(_0x27ca38[_0xde20c9(0x272)]());for(const _0x382944 of _0x3f53fe[_0xde20c9(0x272)]())_0x1adcec[_0xde20c9(0x1dd)](_0x382944);this[_0xde20c9(0x2d2)](_0x55d0a8,_0x1adcec),this[_0xde20c9(0x200)](_0x55d0a8),_0x55d0a8=this[_0xde20c9(0x202)](_0x55d0a8),_0x55d0a8=this[_0xde20c9(0x1e6)](_0x55d0a8),_0x55d0a8=this[_0xde20c9(0x2a1)](_0x55d0a8);const {root:_0x382965,changes:_0x5d3d5d}=this[_0xde20c9(0x249)](_0x55d0a8,_0x15f2fa,_0x378339);_0x138ee2[_0xde20c9(0x250)][_0x378339]=_0x382965;const _0x42e6e1=_0x51e7b8[_0xde20c9(0x1cb)](_0x378339);if(_0x42e6e1){const _0x1218da=_0x15f2fa[_0xde20c9(0x1cb)](_0x42e6e1[_0xde20c9(0x24f)]),_0x13f695=new _0x57cca1({'author':_0x1218da,'type':_0x42e6e1[_0xde20c9(0x2bd)]?_0xde20c9(0x1fb):_0xde20c9(0x1b8),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x378339});_0x5d3d5d[_0xde20c9(0x267)](_0x13f695),_0x138ee2[_0xde20c9(0x2dd)][_0x378339][_0xde20c9(0x264)]=_0x13f695['id'];}_0x138ee2[_0xde20c9(0x1a3)]=_0x138ee2[_0xde20c9(0x1a3)][_0xde20c9(0x2af)](_0x5d3d5d);}return _0x138ee2;}[_0x196d29(0x1c9)](_0x4cb172,_0x49cd73){const _0x2534c2=_0x196d29;for(let _0x413c31=0x0;_0x413c31<_0x4cb172[_0x2534c2(0x2d0)];_0x413c31++)for(const [_0x1dc7ea,_0xfef0f0]of _0x49cd73)!_0xfef0f0[_0x2534c2(0x1c3)]&&_0xfef0f0[_0x2534c2(0x1b0)][_0x2534c2(0x2b9)](_0x4cb172[_0x413c31][_0x2534c2(0x26d)])&&_0x4cb172[_0x413c31][_0x2534c2(0x2df)][_0x2534c2(0x1af)](_0x1dc7ea),_0xfef0f0[_0x2534c2(0x284)][_0x2534c2(0x2b9)](_0x4cb172[_0x413c31][_0x2534c2(0x277)])&&_0x4cb172[_0x413c31][_0x2534c2(0x2e0)][_0x2534c2(0x1af)](_0x1dc7ea);}[_0x196d29(0x209)](_0x4a0fcd,_0x5df0b0){const _0x30a34d=_0x196d29;let _0x225e45=[],_0x512a22=0x0,_0x4ecb3e=0x0;for(;_0x512a22<_0x4a0fcd[_0x30a34d(0x2d0)]||_0x4ecb3e<_0x5df0b0[_0x30a34d(0x2d0)];){const _0x1d9396=_0x4a0fcd[_0x512a22]||{},_0x2258d3=_0x5df0b0[_0x4ecb3e]||{};if(_0x1d9396['id']==_0x2258d3['id'])_0x512a22++,_0x4ecb3e++,_0x225e45[_0x30a34d(0x1af)](_0x1d9396);else{if(_0x2258d3[_0x30a34d(0x2c9)]&&_0x1d9396[_0x30a34d(0x298)]){const {commonTape:_0x215a90,iEnd:_0x73bdec,jEnd:_0x1f81d9}=this[_0x30a34d(0x29b)](_0x4a0fcd,_0x512a22,_0x5df0b0,_0x4ecb3e);_0x225e45=_0x225e45[_0x30a34d(0x2af)](_0x215a90),_0x512a22=_0x73bdec,_0x4ecb3e=_0x1f81d9;}else _0x2258d3[_0x30a34d(0x2c9)]?(_0x4ecb3e++,_0x225e45[_0x30a34d(0x1af)](_0x2258d3)):(_0x512a22++,_0x225e45[_0x30a34d(0x1af)](_0x1d9396));}}return _0x225e45;}[_0x196d29(0x2d2)](_0x593ad8,_0x55f7be){const _0x12da71=_0x196d29,_0x3f2abf=[];for(let _0x2153a6=0x0;_0x2153a6<_0x593ad8[_0x12da71(0x2d0)];_0x2153a6++){for(let _0x40c929=0x0;_0x40c929<_0x593ad8[_0x2153a6][_0x12da71(0x2df)][_0x12da71(0x2d0)];_0x40c929++){const _0x347f7d=_0x593ad8[_0x2153a6][_0x12da71(0x2df)][_0x40c929];if(!_0x55f7be[_0x12da71(0x25e)](_0x347f7d))continue;const {group:_0x13d098,type:_0x3882a9,authorId:_0x5846d9}=_0x307354(_0x347f7d);_0x12da71(0x1ef)!=_0x13d098||_0x12da71(0x1f8)!=_0x3882a9&&_0x12da71(0x1f9)!=_0x3882a9||(_0x3f2abf[_0x12da71(0x267)]({'type':_0x3882a9,'name':_0x347f7d,'userId':_0x5846d9}),_0x593ad8[_0x2153a6][_0x12da71(0x2df)][_0x12da71(0x1d8)](_0x40c929,0x1),_0x40c929--);}_0x2b16eb(_0x593ad8[_0x2153a6]);for(let _0x5377aa=0x0;_0x5377aa<_0x593ad8[_0x2153a6][_0x12da71(0x2e0)][_0x12da71(0x2d0)];_0x5377aa++){const _0x110fb6=_0x593ad8[_0x2153a6][_0x12da71(0x2e0)][_0x5377aa];if(!_0x55f7be[_0x12da71(0x25e)](_0x110fb6))continue;const {group:_0x2f893f,type:_0x38d84f}=_0x307354(_0x110fb6);if(_0x12da71(0x1ef)!=_0x2f893f||_0x12da71(0x1f8)!=_0x38d84f&&_0x12da71(0x1f9)!=_0x38d84f)continue;_0x593ad8[_0x2153a6][_0x12da71(0x2e0)][_0x12da71(0x1d8)](_0x5377aa,0x1),_0x5377aa--;const _0x2d3e97=_0x3f2abf[_0x12da71(0x20b)](_0x1324d8=>_0x1324d8[_0x12da71(0x22a)]==_0x110fb6);_0x2d3e97>-0x1&&_0x3f2abf[_0x12da71(0x1d8)](_0x2d3e97,0x1);}}function _0x307354(_0x4ebd0f){const _0x3d01f8=_0x12da71,_0x42de9d=_0x4ebd0f[_0x3d01f8(0x1c2)](':');return{'group':_0x42de9d[0x0],'type':_0x42de9d[0x1],'subType':_0x42de9d[_0x3d01f8(0x2d0)]>=0x5?_0x42de9d[0x2]:null,'id':_0x42de9d[_0x3d01f8(0x2d0)]<0x5?_0x42de9d[0x2]:_0x42de9d[0x3],'authorId':_0x42de9d[_0x3d01f8(0x2d0)]<0x5?_0x42de9d[0x3]:_0x42de9d[0x4],'markerCount':0x6==_0x42de9d[_0x3d01f8(0x2d0)]?_0x42de9d[0x5]:null};}function _0x2b16eb(_0x43b101){const _0x30c2b6=_0x12da71;for(let _0x308093=0x0;_0x308093<_0x3f2abf[_0x30c2b6(0x2d0)];_0x308093++){if(_0x43b101[_0x30c2b6(0x298)]&&_0x30c2b6(0x1f8)==_0x3f2abf[_0x308093][_0x30c2b6(0x2ae)]&&_0x43b101[_0x30c2b6(0x298)][_0x30c2b6(0x24f)]==_0x3f2abf[_0x308093][_0x30c2b6(0x24f)])return _0x43b101[_0x30c2b6(0x28a)]=_0x3f2abf[_0x308093],void delete _0x43b101[_0x30c2b6(0x298)];if(!_0x43b101[_0x30c2b6(0x298)]&&!_0x43b101[_0x30c2b6(0x2c9)]&&_0x30c2b6(0x1f9)==_0x3f2abf[_0x308093][_0x30c2b6(0x2ae)])return void(_0x43b101[_0x30c2b6(0x2c7)]=_0x3f2abf[_0x308093]);}}}[_0x196d29(0x24e)](_0xb6c32e,_0x45adbd){const _0x2a120c=_0x196d29;let _0x190b9b=0x0,_0x27e8e5=!0x1;const _0x4169d=new Map();for(const _0x15e328 of _0xb6c32e)_0x15e328[_0x45adbd]?_0x27e8e5&&(_0x190b9b++,_0x27e8e5=!0x1):(_0x190b9b++,_0x27e8e5=!0x0),_0x4169d[_0x2a120c(0x2a2)](_0x15e328['id'],_0x190b9b);for(let _0x160f4e=0x0;_0x160f4e<_0xb6c32e[_0x2a120c(0x2d0)];_0x160f4e++){if(_0x2a120c(0x2c9)==_0x45adbd&&_0xb6c32e[_0x160f4e][_0x2a120c(0x298)]||_0x2a120c(0x298)==_0x45adbd&&_0xb6c32e[_0x160f4e][_0x2a120c(0x2c9)])continue;if(_0x2a120c(0x1a6)==_0xb6c32e[_0x160f4e][_0x2a120c(0x2ae)]){_0xb6c32e[_0x160f4e][_0x2a120c(0x257)]=0x0;continue;}const _0x1669de=_0x4169d[_0x2a120c(0x1cb)](_0xb6c32e[_0x160f4e][_0x2a120c(0x22f)]),_0x4537f1=_0x4169d[_0x2a120c(0x1cb)](_0xb6c32e[_0x160f4e]['id']);_0xb6c32e[_0x160f4e][_0x2a120c(0x257)]=_0x1669de-_0x4537f1;}}[_0x196d29(0x252)](_0x3709d1,_0x12281d,_0xb37a53=!0x1){const _0x180c24=_0x196d29,_0x1972c1=[];let _0x10acb6=this[_0x180c24(0x1ba)][_0x180c24(0x2e1)](_0x3709d1),_0x25bf73=this[_0x180c24(0x1ba)][_0x180c24(0x2e1)](_0x12281d);for(-0x1==_0x25bf73&&(_0x25bf73=this[_0x180c24(0x1ba)][_0x180c24(0x1c1)][_0x180c24(0x2d0)],_0xb37a53=!0x1);_0x10acb6<_0x25bf73;)_0x1972c1[_0x180c24(0x1af)](this[_0x180c24(0x1ba)][_0x180c24(0x2e4)](_0x10acb6)),_0x10acb6++;return _0xb37a53&&_0x1972c1[_0x180c24(0x1af)](this[_0x180c24(0x1ba)][_0x180c24(0x2e4)](_0x10acb6)),_0x1972c1;}[_0x196d29(0x29b)](_0x289440,_0x2a0fdb,_0x329896,_0x57f41b){const _0x3286da=_0x196d29,_0x4e5bc6=this[_0x3286da(0x28f)][_0x3286da(0x250)][_0x3286da(0x20d)];let _0x1e60d8=_0x2a0fdb;for(;_0x289440[_0x1e60d8]&&_0x289440[_0x1e60d8][_0x3286da(0x298)];)_0x1e60d8++;let _0x152eae=_0x57f41b;for(;_0x329896[_0x152eae]&&_0x329896[_0x152eae][_0x3286da(0x2c9)];)_0x152eae++;_0x17d766(_0x289440,_0x2a0fdb,_0x1e60d8),_0x17d766(_0x329896,_0x57f41b,_0x152eae);const _0x44f7c2=_0x329896[_0x3286da(0x2a4)](_0x57f41b,_0x152eae)[_0x3286da(0x2af)](_0x289440[_0x3286da(0x2a4)](_0x2a0fdb,_0x1e60d8));return _0x44f7c2[_0x3286da(0x2e8)]((_0x5aa7a5,_0x4b54dd)=>_0x5aa7a5[_0x3286da(0x1fd)]!=_0x4b54dd[_0x3286da(0x1fd)]?_0x5aa7a5[_0x3286da(0x1fd)]-_0x4b54dd[_0x3286da(0x1fd)]:_0x5aa7a5[_0x3286da(0x226)]!=_0x4b54dd[_0x3286da(0x226)]?_0x5aa7a5[_0x3286da(0x226)]-_0x4b54dd[_0x3286da(0x226)]:_0x5aa7a5[_0x3286da(0x257)]!=_0x4b54dd[_0x3286da(0x257)]?_0x4b54dd[_0x3286da(0x257)]-_0x5aa7a5[_0x3286da(0x257)]:!!_0x5aa7a5[_0x3286da(0x298)]!=!!_0x4b54dd[_0x3286da(0x298)]?-0x1==_0x5aa7a5[_0x3286da(0x1fd)]||0x0==_0x5aa7a5[_0x3286da(0x1fd)]?_0x5aa7a5[_0x3286da(0x298)]?-0x1:0x1:_0x5aa7a5[_0x3286da(0x298)]?0x1:-0x1:_0x5aa7a5[_0x3286da(0x228)]-_0x4b54dd[_0x3286da(0x228)]),{'commonTape':_0x44f7c2,'iEnd':_0x1e60d8,'jEnd':_0x152eae};function _0x17d766(_0x22fa4b,_0x3be85e,_0x5eb49e){const _0x393ce4=_0x3286da;let _0x2a939d=-0x1,_0x70fbc3=Number[_0x393ce4(0x25b)],_0x185c2e=!0x0;for(let _0x39b885=_0x3be85e;_0x39b885<_0x5eb49e;_0x39b885++)if(_0x4e5bc6[_0x393ce4(0x2ca)](_0x22fa4b[_0x39b885][_0x393ce4(0x2dc)])||(_0x185c2e=!0x1),_0x22fa4b[_0x39b885][_0x393ce4(0x2dc)][_0x393ce4(0x21a)]<_0x3be85e&&(_0x2a939d=_0x39b885),_0x22fa4b[_0x39b885][_0x393ce4(0x2dc)][_0x393ce4(0x281)]>=_0x5eb49e){_0x70fbc3=_0x39b885;break;}_0x185c2e&&(_0x2a939d=_0x5eb49e-0x1);for(let _0x28b706=_0x3be85e;_0x28b706<_0x5eb49e;_0x28b706++)_0x22fa4b[_0x28b706][_0x393ce4(0x1fd)]=_0x28b706<=_0x2a939d?-0x1:_0x28b706<_0x70fbc3?0x0:0x1,_0x22fa4b[_0x28b706][_0x393ce4(0x228)]=_0x28b706;let _0x199c92=0x0;for(let _0x2194c4=_0x3be85e;_0x2194c4<=_0x2a939d;_0x2194c4++)0x0==_0x22fa4b[_0x2194c4][_0x393ce4(0x257)]?_0x22fa4b[_0x2194c4][_0x393ce4(0x226)]=_0x199c92:(_0x199c92++,_0x22fa4b[_0x2194c4][_0x393ce4(0x226)]=_0x199c92,_0x199c92++);for(let _0x4170f1=_0x3be85e;_0x4170f1<_0x5eb49e;_0x4170f1++)0x0==_0x22fa4b[_0x4170f1][_0x393ce4(0x1fd)]&&(_0x22fa4b[_0x4170f1][_0x393ce4(0x226)]=_0x199c92);_0x199c92=0x0;for(let _0x5550cd=_0x5eb49e-0x1;_0x5550cd>=_0x70fbc3;_0x5550cd--)0x0==_0x22fa4b[_0x5550cd][_0x393ce4(0x257)]?_0x22fa4b[_0x5550cd][_0x393ce4(0x226)]=_0x199c92:(_0x199c92--,_0x22fa4b[_0x5550cd][_0x393ce4(0x226)]=_0x199c92,_0x199c92--);}}[_0x196d29(0x200)](_0xf95850){const _0x4e66e4=_0x196d29,_0x3e63f2=new Map(),_0x575616=this[_0x4e66e4(0x28f)][_0x4e66e4(0x250)][_0x4e66e4(0x20d)];for(let _0x1406ee=0x1;_0x1406ee<_0xf95850[_0x4e66e4(0x2d0)];_0x1406ee++){let _0x2d06f7,_0x53376d,_0x37ae96;const _0x4145e0=_0xf95850[_0x1406ee],_0x5b38ca=_0xf95850[_0x1406ee-0x1];if(_0x4e66e4(0x1a6)==_0x4145e0[_0x4e66e4(0x2ae)])continue;if(_0x4145e0[_0x4e66e4(0x2ae)]!=_0x5b38ca[_0x4e66e4(0x2ae)])continue;if(!_0x575616[_0x4e66e4(0x2e2)](_0x5b38ca[_0x4e66e4(0x2dc)])||_0x575616[_0x4e66e4(0x2cb)](_0x5b38ca[_0x4e66e4(0x2dc)]))continue;if(!_0x575616[_0x4e66e4(0x2e2)](_0x4145e0[_0x4e66e4(0x2dc)])||_0x575616[_0x4e66e4(0x2cb)](_0x4145e0[_0x4e66e4(0x2dc)]))continue;if((_0xf95850[_0x1406ee][_0x4e66e4(0x298)]||_0xf95850[_0x1406ee][_0x4e66e4(0x28a)])&&_0xf95850[_0x1406ee-0x1][_0x4e66e4(0x2c9)])_0x2d06f7=_0xf95850[_0x1406ee],_0x53376d=_0xf95850[_0x1406ee-0x1],_0x37ae96=_0x1406ee-0x1;else{if(!_0xf95850[_0x1406ee][_0x4e66e4(0x2c9)]||!_0xf95850[_0x1406ee-0x1][_0x4e66e4(0x298)]&&!_0xf95850[_0x1406ee-0x1][_0x4e66e4(0x28a)])continue;_0x2d06f7=_0xf95850[_0x1406ee-0x1],_0x53376d=_0xf95850[_0x1406ee],_0x37ae96=_0x1406ee;}const _0x5127f4=_0x2d06f7[_0x4e66e4(0x226)]==_0x53376d[_0x4e66e4(0x226)],_0x1a3b01=Math[_0x4e66e4(0x2c2)](_0x2d06f7[_0x4e66e4(0x226)])<Math[_0x4e66e4(0x2c2)](_0x53376d[_0x4e66e4(0x226)])&&0x0==_0x53376d[_0x4e66e4(0x257)];(_0x5127f4||_0x1a3b01)&&(_0x3e63f2[_0x4e66e4(0x2a2)](_0x53376d['id'],_0x2d06f7['id']),_0xf95850[_0x4e66e4(0x1d8)](_0x37ae96,0x1),_0x1406ee--,_0x2d06f7[_0x4e66e4(0x298)]=!0x1);}for(let _0x24cd33=0x0;_0x24cd33<_0xf95850[_0x4e66e4(0x2d0)];_0x24cd33++)_0x3e63f2[_0x4e66e4(0x25e)](_0xf95850[_0x24cd33][_0x4e66e4(0x22f)])&&(_0xf95850[_0x24cd33][_0x4e66e4(0x22f)]=_0x3e63f2[_0x4e66e4(0x1cb)](_0xf95850[_0x24cd33][_0x4e66e4(0x22f)]));}[_0x196d29(0x202)](_0x17ad87){const _0x212585=_0x196d29,_0x6c64fa=new Set(_0x17ad87[_0x212585(0x234)](_0x3f4301=>_0x3f4301['id']));for(let _0x3a8e4a=0x0;_0x3a8e4a<_0x17ad87[_0x212585(0x2d0)];_0x3a8e4a++)_0x6c64fa[_0x212585(0x25e)](_0x17ad87[_0x3a8e4a][_0x212585(0x22f)])||0x0==_0x17ad87[_0x3a8e4a][_0x212585(0x257)]||(_0x17ad87[_0x3a8e4a][_0x212585(0x1ac)]=!0x0);return _0x17ad87[_0x212585(0x29c)](_0x81aabe=>!_0x81aabe[_0x212585(0x1ac)]);}[_0x196d29(0x1e6)](_0x1619ed){const _0x50f0e0=_0x196d29,_0x1c5a3d=new Set();for(let _0x5ab00b=0x0;_0x5ab00b<_0x1619ed[_0x50f0e0(0x2d0)];_0x5ab00b++){if(_0x1c5a3d[_0x50f0e0(0x25e)](_0x1619ed[_0x5ab00b]['id'])&&_0x1619ed[_0x5ab00b][_0x50f0e0(0x2c9)]&&(_0x1619ed[_0x5ab00b][_0x50f0e0(0x1ac)]=!0x0),_0x1619ed[_0x5ab00b][_0x50f0e0(0x1ac)])continue;if(0x0==_0x1619ed[_0x5ab00b][_0x50f0e0(0x257)])continue;if(_0x50f0e0(0x251)!=_0x1619ed[_0x5ab00b][_0x50f0e0(0x2ae)])continue;if(null==_0x1619ed[_0x5ab00b][_0x50f0e0(0x22f)])continue;let _0x508d6b=_0x5ab00b+0x1,_0x5956b7=0x0;for(;_0x1619ed[_0x508d6b]['id']!=_0x1619ed[_0x5ab00b][_0x50f0e0(0x22f)];)_0x50f0e0(0x251)==_0x1619ed[_0x508d6b][_0x50f0e0(0x2ae)]?_0x5956b7++:_0x50f0e0(0x287)==_0x1619ed[_0x508d6b][_0x50f0e0(0x2ae)]&&_0x5956b7--,_0x508d6b++;if(0x0!=_0x5956b7){if(_0x1619ed[_0x5ab00b][_0x50f0e0(0x2c9)])_0x1619ed[_0x5ab00b][_0x50f0e0(0x1ac)]=!0x0;else{for(;_0x508d6b!=_0x5ab00b;)_0x1619ed[_0x508d6b][_0x50f0e0(0x2c9)]&&0x0!=_0x1619ed[_0x508d6b][_0x50f0e0(0x257)]&&(_0x1619ed[_0x508d6b][_0x50f0e0(0x1ac)]=!0x0,_0x1c5a3d[_0x50f0e0(0x1fb)](_0x1619ed[_0x508d6b][_0x50f0e0(0x22f)])),_0x508d6b--;}}}return _0x1619ed[_0x50f0e0(0x29c)](_0x3a0d44=>!_0x3a0d44[_0x50f0e0(0x1ac)]);}[_0x196d29(0x2a1)](_0x1960f9){const _0x3002a8=_0x196d29,_0x4a275b=this[_0x3002a8(0x28f)][_0x3002a8(0x250)][_0x3002a8(0x20d)];for(let _0x1e3548=0x0;_0x1e3548<_0x1960f9[_0x3002a8(0x2d0)];_0x1e3548++){if(!(_0x1960f9[_0x1e3548][_0x3002a8(0x298)]||_0x1960f9[_0x1e3548][_0x3002a8(0x28a)]||_0x1960f9[_0x1e3548][_0x3002a8(0x2c9)]||_0x1960f9[_0x1e3548][_0x3002a8(0x2c7)]))continue;if(0x0==_0x1960f9[_0x1e3548][_0x3002a8(0x257)])continue;const _0x53d8df=_0x1960f9[_0x1e3548][_0x3002a8(0x2dc)];_0x4a275b[_0x3002a8(0x2e2)](_0x53d8df)||_0x4a275b[_0x3002a8(0x2cb)](_0x53d8df)||(_0x1960f9[_0x1e3548][_0x3002a8(0x298)]&&delete _0x1960f9[_0x1e3548][_0x3002a8(0x298)],_0x1960f9[_0x1e3548][_0x3002a8(0x28a)]&&delete _0x1960f9[_0x1e3548][_0x3002a8(0x28a)],_0x1960f9[_0x1e3548][_0x3002a8(0x2c7)]&&delete _0x1960f9[_0x1e3548][_0x3002a8(0x2c7)],_0x1960f9[_0x1e3548][_0x3002a8(0x2c9)]&&(_0x1960f9[_0x1e3548][_0x3002a8(0x1ac)]=!0x0));}return _0x1960f9[_0x3002a8(0x29c)](_0x3aa5a0=>!_0x3aa5a0[_0x3002a8(0x1ac)]);}[_0x196d29(0x249)](_0x15a960,_0x41df58,_0x540656){const _0x46f242=_0x196d29,_0x3db089=new _0x30c4b1(),_0x4bf346=[],_0x44cc4a=new Map(),_0x44a741=this[_0x46f242(0x28f)][_0x46f242(0x250)],_0x1d6834=_0x44a741[_0x46f242(0x20d)],_0xdf9604=[_0x3db089],_0x3f7782={},_0x44dfa3={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x178ce2=null;const _0x43353a=[0x0];for(let _0x50f99f=0x0;_0x50f99f<_0x15a960[_0x46f242(0x2d0)];_0x50f99f++)if(_0x46f242(0x251)===_0x15a960[_0x50f99f][_0x46f242(0x2ae)]){_0x15a960[_0x50f99f][_0x46f242(0x26d)]=_0x44a741[_0x46f242(0x1d3)](_0x3db089,_0x43353a);const _0x2f0f56=new _0x7b87e3(_0x15a960[_0x50f99f][_0x46f242(0x2dc)][_0x46f242(0x22a)],_0x15a960[_0x50f99f][_0x46f242(0x2dc)][_0x46f242(0x22e)]());_0xdf9604[0x0][_0x46f242(0x204)](_0x2f0f56),_0x43353a[_0x46f242(0x1af)](0x0),_0xdf9604[_0x46f242(0x267)](_0x2f0f56),_0x15a960[_0x50f99f][_0x46f242(0x277)]=_0x44a741[_0x46f242(0x1d3)](_0x3db089,_0x43353a);}else _0x46f242(0x287)===_0x15a960[_0x50f99f][_0x46f242(0x2ae)]?(_0xdf9604[_0x46f242(0x220)](),_0x15a960[_0x50f99f][_0x46f242(0x26d)]=_0x44a741[_0x46f242(0x1d3)](_0x3db089,_0x43353a),_0x43353a[_0x46f242(0x20a)](),_0x43353a[_0x43353a[_0x46f242(0x2d0)]-0x1]++,_0x15a960[_0x50f99f][_0x46f242(0x277)]=_0x44a741[_0x46f242(0x1d3)](_0x3db089,_0x43353a)):(_0x15a960[_0x50f99f][_0x46f242(0x26d)]=_0x44a741[_0x46f242(0x1d3)](_0x3db089,_0x43353a),_0x178ce2?_0x178ce2[_0x46f242(0x2c4)]+=_0x15a960[_0x50f99f][_0x46f242(0x2dc)][_0x46f242(0x1eb)]:_0x178ce2=new _0x29fc43(_0x15a960[_0x50f99f][_0x46f242(0x2dc)][_0x46f242(0x1eb)],_0x15a960[_0x50f99f][_0x46f242(0x2dc)][_0x46f242(0x22e)]()),_0x15a960[_0x50f99f+0x1]&&_0x46f242(0x1a6)===_0x15a960[_0x50f99f+0x1][_0x46f242(0x2ae)]&&_0x28ca8c(_0x178ce2,_0x15a960[_0x50f99f+0x1][_0x46f242(0x2dc)])||(_0xdf9604[0x0][_0x46f242(0x204)](_0x178ce2),_0x178ce2=null),_0x43353a[_0x43353a[_0x46f242(0x2d0)]-0x1]+=_0x15a960[_0x50f99f][_0x46f242(0x2dc)][_0x46f242(0x2a0)],_0x15a960[_0x50f99f][_0x46f242(0x277)]=_0x44a741[_0x46f242(0x1d3)](_0x3db089,_0x43353a));for(let _0x4ef36f=0x0;_0x4ef36f<_0x15a960[_0x46f242(0x2d0)];_0x4ef36f++){const _0x286a39=_0x15a960[_0x4ef36f][_0x46f242(0x26d)],_0x3f98d5=_0x15a960[_0x4ef36f][_0x46f242(0x277)];for(const _0x344949 of _0x15a960[_0x4ef36f][_0x46f242(0x2df)])_0x44cc4a[_0x46f242(0x2a2)](_0x344949,{'start':_0x286a39,'end':null});_0x44d82a(_0x46f242(0x2c7),_0x4ef36f,_0x286a39,_0x3f98d5),_0x44d82a(_0x46f242(0x28a),_0x4ef36f,_0x286a39,_0x3f98d5),_0x44d82a(_0x46f242(0x2c9),_0x4ef36f,_0x286a39,_0x3f98d5),_0x44d82a(_0x46f242(0x298),_0x4ef36f,_0x286a39,_0x3f98d5);for(const _0x54ed70 of _0x15a960[_0x4ef36f][_0x46f242(0x2e0)]){const _0x505bcc=_0x44cc4a[_0x46f242(0x1cb)](_0x54ed70);_0x505bcc?_0x505bcc[_0x46f242(0x284)]=_0x3f98d5:_0x44cc4a[_0x46f242(0x2a2)](_0x54ed70,{'start':_0x3f98d5,'end':_0x3f98d5});}}for(const [_0x3803ea,_0x34f595]of _0x44cc4a){const _0x492072=this[_0x46f242(0x28f)][_0x46f242(0x250)][_0x46f242(0x211)](_0x34f595[_0x46f242(0x1b0)],_0x34f595[_0x46f242(0x284)]);_0x3db089[_0x46f242(0x289)][_0x46f242(0x2a2)](_0x3803ea,_0x492072);}return _0x4bf346[_0x46f242(0x2e8)]((_0x5a50c6,_0x59f025)=>{const _0x27fd0b=_0x46f242,_0x5d4a3c=_0x3db089[_0x27fd0b(0x289)][_0x27fd0b(0x1cb)](_0x27fd0b(0x278)+_0x5a50c6['id']),_0x43e36e=_0x3db089[_0x27fd0b(0x289)][_0x27fd0b(0x1cb)](_0x27fd0b(0x278)+_0x59f025['id']);return _0x5d4a3c[_0x27fd0b(0x1b0)][_0x27fd0b(0x23a)](_0x43e36e[_0x27fd0b(0x1b0)])?-0x1:_0x5d4a3c[_0x27fd0b(0x1b0)][_0x27fd0b(0x2b6)](_0x43e36e[_0x27fd0b(0x1b0)])?0x1:_0x5d4a3c[_0x27fd0b(0x284)][_0x27fd0b(0x23a)](_0x43e36e[_0x27fd0b(0x284)])?-0x1:_0x5d4a3c[_0x27fd0b(0x284)][_0x27fd0b(0x2b6)](_0x43e36e[_0x27fd0b(0x284)])?0x1:_0x27fd0b(0x1fb)===_0x5a50c6[_0x27fd0b(0x2ae)]?-0x1:0x1;}),{'root':_0x3db089,'changes':_0x4bf346};function _0x44d82a(_0x35d88d,_0x509599,_0x5ad4be,_0x4575ea){const _0x9a11cb=_0x46f242,_0x262bc4=!!_0x15a960[_0x509599][_0x35d88d],_0x5e393b=_0x262bc4?_0x15a960[_0x509599][_0x35d88d][_0x9a11cb(0x24f)]:null,_0x30f773=_0x509599===_0x15a960[_0x9a11cb(0x2d0)]-0x1,_0x3d8479=_0x44dfa3[_0x35d88d][0x0],_0x15ed46=_0x1d6834[_0x9a11cb(0x213)](_0x15a960[_0x509599][_0x9a11cb(0x2dc)]);!_0x3f7782[_0x35d88d]&&_0x262bc4?_0x3f7782[_0x35d88d]={'start':_0x5ad4be,'tapeItem':_0x15a960[_0x509599],'userId':_0x5e393b,'type':_0x35d88d}:_0x3f7782[_0x35d88d]&&!_0x262bc4?(_0x3f7782[_0x35d88d][_0x9a11cb(0x284)]=_0x5ad4be,_0x40eab1(_0x3f7782[_0x35d88d]),_0x3f7782[_0x35d88d]=null):_0x3f7782[_0x35d88d]&&_0x262bc4&&_0x3f7782[_0x35d88d][_0x9a11cb(0x24f)]!==_0x5e393b&&(_0x3f7782[_0x35d88d][_0x9a11cb(0x284)]=_0x5ad4be,_0x3d8479&&_0x3d8479[_0x9a11cb(0x24f)]===_0x3f7782[_0x35d88d][_0x9a11cb(0x24f)]||_0x40eab1(_0x3f7782[_0x35d88d]),_0x3f7782[_0x35d88d]={'start':_0x5ad4be,'tapeItem':_0x15a960[_0x509599],'userId':_0x5e393b,'type':_0x35d88d}),_0x3f7782[_0x35d88d]&&_0x15ed46&&(_0x9a11cb(0x251)!==_0x15a960[_0x509599][_0x9a11cb(0x2ae)]||_0x3d8479&&_0x3d8479[_0x9a11cb(0x24f)]===_0x5e393b||_0x44dfa3[_0x35d88d][_0x9a11cb(0x267)]({'userId':_0x5e393b,'object':_0x15a960[_0x509599][_0x9a11cb(0x2dc)],'change':_0x3f7782[_0x35d88d]}),_0x9a11cb(0x287)===_0x15a960[_0x509599][_0x9a11cb(0x2ae)]&&_0x3d8479&&_0x3d8479[_0x9a11cb(0x261)]===_0x15a960[_0x509599][_0x9a11cb(0x2dc)]&&(_0x44dfa3[_0x35d88d][_0x9a11cb(0x220)](),_0x3f7782[_0x35d88d]=_0x3d8479[_0x9a11cb(0x290)])),_0x3f7782[_0x35d88d]&&_0x30f773&&(_0x3f7782[_0x35d88d][_0x9a11cb(0x284)]=_0x4575ea,_0x40eab1(_0x3f7782[_0x35d88d]),_0x3f7782[_0x35d88d]=null);}function _0x40eab1({start:_0x527a6c,end:_0x5a390e,tapeItem:_0x4452a3,userId:_0x419a24,type:_0x2c2b41}){const _0x55176a=_0x46f242,_0x3895b7=_0x4452a3[_0x55176a(0x2dc)],_0x3c8bd9=_0x44a741[_0x55176a(0x20d)][_0x55176a(0x2e2)](_0x3895b7)&&!_0x44a741[_0x55176a(0x20d)][_0x55176a(0x2cb)](_0x3895b7),_0xfcbf9f=_0x527a6c[_0x55176a(0x23c)]==_0x5a390e[_0x55176a(0x201)]&&_0x5a390e[_0x55176a(0x2cf)];if(_0x3c8bd9&&_0xfcbf9f)return;const _0x17be68=_0x44a741[_0x55176a(0x211)](_0x527a6c,_0x5a390e),_0xfb1548=_0x41df58[_0x55176a(0x1cb)](_0x419a24),_0x41771d=new _0x57cca1({'author':_0xfb1548,'type':_0x55176a(0x298)==_0x2c2b41||_0x55176a(0x28a)==_0x2c2b41?_0x55176a(0x1fb):_0x55176a(0x1b8),'data':{'isSuggestion':_0x55176a(0x28a)==_0x2c2b41||_0x55176a(0x2c7)==_0x2c2b41},'createdAt':new Date(),'rootName':_0x540656});_0x4bf346[_0x55176a(0x1af)](_0x41771d),_0x3db089[_0x55176a(0x289)][_0x55176a(0x2a2)](_0x55176a(0x278)+_0x41771d['id'],_0x17be68);}function _0x28ca8c(_0x132710,_0x1198dd){const _0x19350e=_0x46f242,_0x46b922=_0x132710[_0x19350e(0x22e)](),_0x20471f=_0x1198dd[_0x19350e(0x22e)]();for(const _0xe8e821 of _0x46b922){if(_0xe8e821[0x1]!==_0x1198dd[_0x19350e(0x1ec)](_0xe8e821[0x0]))return!0x1;_0x20471f[_0x19350e(0x26c)]();}return _0x20471f[_0x19350e(0x26c)]()[_0x19350e(0x212)];}}[_0x196d29(0x1b9)](){const _0x331442=_0x196d29;this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d2))[_0x331442(0x230)]({'view':_0x331442(0x219)}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d9))[_0x331442(0x2b0)]({'model':_0x331442(0x219),'view':_0x357af1=>{const _0x35410b=_0x331442,_0x5492b0=_0x357af1[_0x35410b(0x258)][_0x35410b(0x1c2)](':')[0x1],_0x2ea0f8=this[_0x35410b(0x1fe)](_0x5492b0);if(!_0x2ea0f8)return null;const _0xce7779=_0x35410b(0x1fb)==_0x2ea0f8[_0x35410b(0x2ae)]?_0x35410b(0x1f8):_0x35410b(0x1f9),_0x26d8f0=[_0x35410b(0x2ab),_0x35410b(0x214)+_0xce7779];return _0x2ea0f8[_0x35410b(0x1eb)][_0x35410b(0x1db)]&&_0x26d8f0[_0x35410b(0x1af)](_0x35410b(0x214)+_0xce7779+_0x35410b(0x239)),this[_0x35410b(0x26e)]==_0x2ea0f8&&_0x26d8f0[_0x35410b(0x1af)](_0x35410b(0x26b)),{'classes':_0x26d8f0,'attributes':{'data-change-id':_0x5492b0}};}}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d2))[_0x331442(0x1fb)](_0x14502f=>{const _0xcc57f=_0x331442;_0x14502f['on'](_0xcc57f(0x1cf),(_0x5a8cd8,_0x4b9a42,_0x4768dd)=>{const _0x287f15=_0xcc57f,_0xe02ba2=_0x4b9a42[_0x287f15(0x22b)][_0x287f15(0x1cd)](0x0);if(!_0xe02ba2||!_0xe02ba2['is'](_0x287f15(0x237),_0x287f15(0x29d)))return;if(!_0x4768dd[_0x287f15(0x259)][_0x287f15(0x1de)](_0xe02ba2,{'attributes':[_0x287f15(0x2d8),_0x287f15(0x2b3)]}))return;const _0x402ad8=_0x4b9a42[_0x287f15(0x2a3)][_0x287f15(0x1b0)][_0x287f15(0x23c)];_0x4768dd[_0x287f15(0x1d5)][_0x287f15(0x2c1)](_0x287f15(0x2d8),_0xe02ba2[_0x287f15(0x1ec)](_0x287f15(0x2d8)),_0x402ad8),_0x4768dd[_0x287f15(0x1d5)][_0x287f15(0x2c1)](_0x287f15(0x2b3),_0xe02ba2[_0x287f15(0x1ec)](_0x287f15(0x2b3)),_0x402ad8);},{'priority':_0xcc57f(0x1b5)});}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d2))[_0x331442(0x1fb)](_0x1c77ff=>{const _0x54c90f=_0x331442;_0x1c77ff['on'](_0x54c90f(0x237),(_0x387fb0,_0x59d3a3,_0x17ee9e)=>{const _0x3192cd=_0x54c90f;if(!_0x17ee9e[_0x3192cd(0x259)][_0x3192cd(0x1de)](_0x59d3a3[_0x3192cd(0x22b)],{'attributes':[_0x3192cd(0x2d8),_0x3192cd(0x2b3)]}))return;if(_0x59d3a3[_0x3192cd(0x2a3)][_0x3192cd(0x1c3)])return;const _0x51fb1a=_0x59d3a3[_0x3192cd(0x2a3)][_0x3192cd(0x1b0)][_0x3192cd(0x23c)];_0x51fb1a[_0x3192cd(0x2b1)](_0x3192cd(0x2d8))||_0x51fb1a[_0x3192cd(0x2b1)](_0x3192cd(0x1ae))||(_0x17ee9e[_0x3192cd(0x1d5)][_0x3192cd(0x2c1)](_0x3192cd(0x2d8),_0x59d3a3[_0x3192cd(0x22b)][_0x3192cd(0x1ec)](_0x3192cd(0x2d8)),_0x51fb1a),_0x17ee9e[_0x3192cd(0x1d5)][_0x3192cd(0x2c1)](_0x3192cd(0x2b3),_0x59d3a3[_0x3192cd(0x22b)][_0x3192cd(0x1ec)](_0x3192cd(0x2b3)),_0x51fb1a));},{'priority':_0x54c90f(0x1b5)});}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d2))[_0x331442(0x1f0)]({'view':{'name':_0x331442(0x2e3),'attributes':{'vid':!0x0}},'model':{'key':_0x331442(0x1ae),'value':_0x23b477=>_0x23b477[_0x331442(0x1ec)](_0x331442(0x1ae))}}),this[_0x331442(0x28f)][_0x331442(0x250)][_0x331442(0x20d)]['on'](_0x331442(0x1e1),(_0x4fe097,[,_0x33fc19])=>{const _0x133e91=_0x331442;[_0x133e91(0x2d8),_0x133e91(0x2b3),_0x133e91(0x1ae)][_0x133e91(0x269)](_0x33fc19)&&(_0x4fe097[_0x133e91(0x253)]=!0x0,_0x4fe097[_0x133e91(0x1a8)]());},{'priority':_0x331442(0x1ab)}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1a7))[_0x331442(0x1fb)](_0x1610c2=>{const _0x2e46a3=_0x331442;_0x1610c2['on'](_0x2e46a3(0x23f),(_0x1e81ea,_0x27914f,_0x176c01)=>{const _0x2324d1=_0x2e46a3;if('\x20'!=_0x27914f[_0x2324d1(0x2dc)][_0x2324d1(0x1eb)]||_0x27914f[_0x2324d1(0x2dc)][_0x2324d1(0x201)][_0x2324d1(0x2d7)]>0x1)return;if(!_0x176c01[_0x2324d1(0x259)][_0x2324d1(0x1de)](_0x27914f[_0x2324d1(0x2dc)],_0x1e81ea[_0x2324d1(0x22a)]))return;const _0x596ab7=_0x176c01[_0x2324d1(0x1d5)],_0x2f170e=_0x176c01[_0x2324d1(0x20f)][_0x2324d1(0x1a9)](_0x27914f[_0x2324d1(0x2bc)]);_0x596ab7[_0x2324d1(0x21e)](_0x2f170e,_0x596ab7[_0x2324d1(0x27e)](_0x2324d1(0x2e3)));});}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1a7))[_0x331442(0x282)]({'model':_0x331442(0x219)}),this[_0x331442(0x28f)][_0x331442(0x295)][_0x331442(0x1c4)]['on'](_0x331442(0x241),function(_0x13ecf2){const _0x42ba19=_0x331442,_0x2968e2=_0x13ecf2[_0x42ba19(0x275)][_0x42ba19(0x1cb)](_0x42ba19(0x2a9));return(_0x4607e7,_0xdff04f,_0x5eef47)=>{const _0x162e77=_0x42ba19,_0x3456aa=_0xdff04f[_0x162e77(0x258)][_0x162e77(0x1c2)](':')[0x1],_0x3f20cb=_0x2968e2[_0x162e77(0x1fe)](_0x3456aa);if(!_0x3f20cb)return null;const _0x32f9b9=_0x162e77(0x1fb)==_0x3f20cb[_0x162e77(0x2ae)]?_0x162e77(0x1c2):_0x162e77(0x1ea);if(!_0x5eef47[_0x162e77(0x259)][_0x162e77(0x2e7)](_0xdff04f[_0x162e77(0x240)],_0x4607e7[_0x162e77(0x22a)]))return;const _0xa893d9=_0xdff04f[_0x162e77(0x240)][_0x162e77(0x21f)](),_0x56d579=_0xdff04f[_0x162e77(0x240)][_0x162e77(0x1b0)],_0x48e006=_0x13ecf2[_0x162e77(0x250)][_0x162e77(0x20d)];let _0x53e573=null,_0x4d195b=null,_0x58f965=!0x1,_0x4ffa3f=!0x1;for(const _0x31d9d1 of _0xa893d9){const _0x15593d=_0x31d9d1[_0x162e77(0x2dc)];_0x58f965=_0x58f965||_0x48e006[_0x162e77(0x2ac)](_0x15593d);const _0x1288cc=_0x5eef47[_0x162e77(0x20f)][_0x162e77(0x2d5)](_0x15593d);if(_0x1288cc&&_0x1288cc[_0x162e77(0x21b)](_0x162e77(0x222)))return;_0x162e77(0x287)==_0x31d9d1[_0x162e77(0x2ae)]&&(_0x48e006[_0x162e77(0x2e2)](_0x15593d)&&!_0x48e006[_0x162e77(0x2cb)](_0x15593d)&&(_0x15593d[_0x162e77(0x2b4)]||_0x56d579[_0x162e77(0x2c3)]?_0x53e573&&_0x53e573[_0x162e77(0x201)]==_0x15593d||(_0x53e573=_0x15593d,_0x35d26f(_0x31d9d1[_0x162e77(0x26d)]),_0x4ffa3f=!0x0):_0x4d195b=_0x4d195b||_0x31d9d1[_0x162e77(0x26d)]));}function _0x35d26f(_0xfb5cd7){const _0x39dd03=_0x162e77,_0x2c9395=_0x5eef47[_0x39dd03(0x1d5)][_0x39dd03(0x2e5)](_0x39dd03(0x2e3),{'class':_0x39dd03(0x214)+_0x32f9b9}),_0x53e8b7=_0x5eef47[_0x39dd03(0x20f)][_0x39dd03(0x1ee)](_0xfb5cd7);_0x3f20cb[_0x39dd03(0x1eb)][_0x39dd03(0x1db)]&&_0x5eef47[_0x39dd03(0x1d5)][_0x39dd03(0x2de)](_0x39dd03(0x214)+_0x32f9b9+_0x39dd03(0x239),_0x2c9395),_0x2968e2[_0x39dd03(0x26e)]==_0x3f20cb&&_0x5eef47[_0x39dd03(0x1d5)][_0x39dd03(0x2de)](_0x39dd03(0x26b),_0x2c9395),_0x5eef47[_0x39dd03(0x1d5)][_0x39dd03(0x1b7)](_0x53e8b7,_0x2c9395),_0x5eef47[_0x39dd03(0x20f)][_0x39dd03(0x25a)](_0x2c9395,_0xdff04f[_0x39dd03(0x258)]);}_0x58f965||_0x4ffa3f||!_0x4d195b||_0x35d26f(_0x4d195b);};}(this[_0x331442(0x28f)]),{'priority':_0x331442(0x1f7)}),this[_0x331442(0x28f)][_0x331442(0x295)][_0x331442(0x1c4)]['on'](_0x331442(0x218),(_0x2d8ef5,_0xfba101,_0x19223f)=>{const _0x4efd95=_0x331442,_0xbfb94b=_0x19223f[_0x4efd95(0x20f)][_0x4efd95(0x216)](_0xfba101[_0x4efd95(0x258)]);if(_0xbfb94b){for(const _0x5665bb of _0xbfb94b)(_0x5665bb[_0x4efd95(0x2cd)](_0x4efd95(0x2ce))||_0x5665bb[_0x4efd95(0x2cd)](_0x4efd95(0x1bf)))&&(_0x19223f[_0x4efd95(0x20f)][_0x4efd95(0x2da)](_0x5665bb,_0xfba101[_0x4efd95(0x258)]),_0x19223f[_0x4efd95(0x1d5)][_0x4efd95(0x1b8)](_0x5665bb));}},{'priority':_0x331442(0x1f7)}),this[_0x331442(0x28f)][_0x331442(0x295)][_0x331442(0x1c4)]['on'](_0x331442(0x241),(_0x6d16e3,_0x110d77,_0x31e82f)=>{const _0x2b31b5=_0x331442,_0x5a03b1=_0x110d77[_0x2b31b5(0x258)][_0x2b31b5(0x1c2)](':')[0x1],_0x399b0c=this[_0x2b31b5(0x1fe)](_0x5a03b1);if(!_0x399b0c)return null;const _0x386240=_0x2b31b5(0x1fb)==_0x399b0c[_0x2b31b5(0x2ae)]?_0x2b31b5(0x1c2):_0x2b31b5(0x1ea);if(_0x31e82f[_0x2b31b5(0x259)][_0x2b31b5(0x2e7)](_0x110d77[_0x2b31b5(0x240)],_0x6d16e3[_0x2b31b5(0x22a)]))for(const _0x1164a3 of _0x110d77[_0x2b31b5(0x240)][_0x2b31b5(0x28e)]()){if(!_0x1164a3['is'](_0x2b31b5(0x237),_0x2b31b5(0x23e)))continue;const _0x15b91c=_0x31e82f[_0x2b31b5(0x1d5)][_0x2b31b5(0x2e5)](_0x2b31b5(0x2e3),{'class':_0x2b31b5(0x214)+_0x386240}),_0x2dfc53=_0x31e82f[_0x2b31b5(0x20f)][_0x2b31b5(0x1ee)](this[_0x2b31b5(0x28f)][_0x2b31b5(0x250)][_0x2b31b5(0x2cc)](_0x1164a3));_0x399b0c[_0x2b31b5(0x1eb)][_0x2b31b5(0x1db)]&&_0x31e82f[_0x2b31b5(0x1d5)][_0x2b31b5(0x2de)](_0x2b31b5(0x214)+_0x386240+_0x2b31b5(0x239),_0x15b91c),this[_0x2b31b5(0x26e)]==_0x399b0c&&_0x31e82f[_0x2b31b5(0x1d5)][_0x2b31b5(0x2de)](_0x2b31b5(0x26b),_0x15b91c),_0x31e82f[_0x2b31b5(0x1d5)][_0x2b31b5(0x1b7)](_0x2dfc53,_0x15b91c),_0x31e82f[_0x2b31b5(0x20f)][_0x2b31b5(0x25a)](_0x15b91c,_0x110d77[_0x2b31b5(0x258)]);}},{'priority':_0x331442(0x1f7)}),this[_0x331442(0x28f)][_0x331442(0x250)][_0x331442(0x25c)]['on'](_0x331442(0x290),()=>{const _0x4bf23f=_0x331442;this[_0x4bf23f(0x28f)][_0x4bf23f(0x295)][_0x4bf23f(0x1fa)][_0x4bf23f(0x290)](_0x56219c=>{const _0x484978=_0x4bf23f;for(const _0x38c4da of this[_0x484978(0x28f)][_0x484978(0x250)][_0x484978(0x25c)][_0x484978(0x2c6)]()){const _0x1dc780=this[_0x484978(0x28f)][_0x484978(0x250)][_0x484978(0x25c)][_0x484978(0x2d6)](_0x38c4da),_0x22ac20=this[_0x484978(0x28f)][_0x484978(0x295)][_0x484978(0x1fa)][_0x484978(0x25c)][_0x484978(0x2d6)](_0x38c4da);if(_0x22ac20){const _0x3e69fb=_0x1dc780[_0x484978(0x1ec)](_0x484978(0x264));if(_0x56219c[_0x484978(0x243)](_0x484978(0x1e8),_0x22ac20),_0x56219c[_0x484978(0x1f2)](_0x484978(0x28c),_0x22ac20),_0x56219c[_0x484978(0x1f2)](_0x484978(0x27f),_0x22ac20),_0x56219c[_0x484978(0x1f2)](_0x484978(0x236),_0x22ac20),_0x3e69fb){const _0x3f8540=this[_0x484978(0x1fe)](_0x3e69fb);if(!_0x3f8540)return null;_0x56219c[_0x484978(0x2c1)](_0x484978(0x1e8),_0x3e69fb,_0x22ac20),_0x56219c[_0x484978(0x2de)](_0x484978(0x1da)+_0x3f8540[_0x484978(0x2ae)],_0x22ac20),this[_0x484978(0x26e)]==_0x3f8540&&_0x56219c[_0x484978(0x2de)](_0x484978(0x236),_0x22ac20);}}}});}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d2))[_0x331442(0x230)]({'view':_0x331442(0x210),'model':_0x671968=>_0x331442(0x1ad)+_0x671968,'converterPriority':_0x331442(0x1ab)}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d2))[_0x331442(0x230)]({'view':_0x331442(0x2bb),'model':_0x52052f=>_0x331442(0x1ce)+_0x52052f,'converterPriority':_0x331442(0x1ab)}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1a7))[_0x331442(0x282)]({'model':_0x331442(0x1ef),'view':_0x13c48b=>({'name':_0x331442(0x1c0)+_0x13c48b,'group':_0x331442(0x1ef)}),'converterPriority':_0x331442(0x1ab)}),this[_0x331442(0x28f)][_0x331442(0x1b6)][_0x331442(0x292)](_0x331442(0x1d9))[_0x331442(0x2b0)]({'model':_0x331442(0x1ef),'view':_0x2e5a59=>{const _0x2ae34a=_0x331442,_0x345dfa=_0x2e5a59[_0x2ae34a(0x258)][_0x2ae34a(0x1c2)](':')[0x1];return _0x2ae34a(0x1f8)!=_0x345dfa&&_0x2ae34a(0x1f9)!=_0x345dfa?null:{'classes':[_0x2ae34a(0x20e),_0x2ae34a(0x2ba)+_0x345dfa]};}}),this[_0x331442(0x28f)][_0x331442(0x295)][_0x331442(0x1c4)]['on'](_0x331442(0x262),Q(this[_0x331442(0x28f)],_0x331442(0x1ea)),{'priority':_0x331442(0x1f7)}),this[_0x331442(0x28f)][_0x331442(0x295)][_0x331442(0x1c4)]['on'](_0x331442(0x28d),Q(this[_0x331442(0x28f)],_0x331442(0x1c2)),{'priority':_0x331442(0x1f7)}),this[_0x331442(0x28f)][_0x331442(0x295)][_0x331442(0x1c4)]['on'](_0x331442(0x2b8),(_0x68d081,_0x4a1a85,_0x19e274)=>{const _0x1eaae8=_0x331442,_0x2959d3=_0x19e274[_0x1eaae8(0x20f)][_0x1eaae8(0x216)](_0x4a1a85[_0x1eaae8(0x258)]);if(_0x2959d3){for(const _0x24bc64 of _0x2959d3)_0x24bc64['is'](_0x1eaae8(0x1f5))&&(_0x19e274[_0x1eaae8(0x20f)][_0x1eaae8(0x2da)](_0x24bc64,_0x4a1a85[_0x1eaae8(0x258)]),_0x19e274[_0x1eaae8(0x1d5)][_0x1eaae8(0x1b8)](_0x24bc64));}},{'priority':_0x331442(0x1f7)});}[_0x196d29(0x1fe)](_0x22f3c){const _0x233b34=_0x196d29;return this[_0x233b34(0x235)][_0x233b34(0x1cb)](_0x22f3c);}[_0x196d29(0x27a)](_0x54f2ce){const _0x50105a=_0x196d29;return this[_0x50105a(0x21c)]&&this[_0x50105a(0x21c)][_0x50105a(0x1bc)](),this[_0x50105a(0x21c)]=new _0x1c52e2(this[_0x50105a(0x28f)][_0x50105a(0x2a8)],_0x54f2ce),this[_0x50105a(0x21c)];}[_0x196d29(0x271)](){const _0x41d4de=_0x196d29;this[_0x41d4de(0x28f)][_0x41d4de(0x250)][_0x41d4de(0x25c)][_0x41d4de(0x263)][_0x41d4de(0x2a7)](_0x41d4de(0x219)),this['on'](_0x41d4de(0x233),(_0x14a693,_0x54c1f5,_0x40de86,_0x19a7d6)=>{const _0x3b567f=_0x41d4de;_0x19a7d6&&this[_0x3b567f(0x29e)][_0x3b567f(0x1b8)](_0x19a7d6),_0x40de86&&(this[_0x3b567f(0x29e)][_0x3b567f(0x1fb)]({'view':_0x40de86,'stackId':_0x3b567f(0x256),'position':{'target':()=>{const _0x4c9368=_0x3b567f,_0x4c0d5a=this[_0x4c9368(0x28f)][_0x4c9368(0x295)],_0x6cbfee=this[_0x4c9368(0x1fe)](_0x40de86[_0x4c9368(0x2d9)]);let _0x5397f1;if(_0x6cbfee[_0x4c9368(0x1eb)][_0x4c9368(0x1e5)]){const _0x399a4d=_0x4c0d5a[_0x4c9368(0x1fa)][_0x4c9368(0x1ff)](_0x6cbfee[_0x4c9368(0x1fc)]);_0x5397f1=Array[_0x4c9368(0x23d)](_0x399a4d[_0x4c9368(0x217)]());}else{const _0x4d200c=this[_0x4c9368(0x28f)][_0x4c9368(0x250)][_0x4c9368(0x289)][_0x4c9368(0x1cb)](_0x4c9368(0x278)+_0x40de86[_0x4c9368(0x2d9)]);_0x5397f1=Array[_0x4c9368(0x23d)](_0x4c0d5a[_0x4c9368(0x20f)][_0x4c9368(0x216)](_0x4d200c[_0x4c9368(0x22a)]))[_0x4c9368(0x234)](_0x485a87=>_0x4c0d5a[_0x4c9368(0x1fa)][_0x4c9368(0x1f6)][_0x4c9368(0x25d)](_0x485a87))[_0x4c9368(0x234)](_0x475c32=>Array[_0x4c9368(0x23d)](_0x475c32[_0x4c9368(0x217)]()))[_0x4c9368(0x1b4)]();}if(!this[_0x4c9368(0x244)])return _0x5397f1[0x0];return _0x5397f1[_0x4c9368(0x1a4)](_0x529518=>_0x529518[_0x4c9368(0x22c)]-0x3<=this[_0x4c9368(0x244)]['y']&&_0x529518[_0x4c9368(0x1d7)]+0x3>=this[_0x4c9368(0x244)]['y']&&_0x529518[_0x4c9368(0x248)]-0x3<=this[_0x4c9368(0x244)]['x']&&_0x529518[_0x4c9368(0x27d)]+0x3>=this[_0x4c9368(0x244)]['x'])||_0x5397f1[0x0];}}}),this[_0x3b567f(0x29e)][_0x3b567f(0x23b)](_0x3b567f(0x256)));}),this['on'](_0x41d4de(0x24c),(_0x358b78,_0x282348,_0x48a895,_0x307825)=>{const _0x18caba=_0x41d4de;this[_0x18caba(0x270)]=_0x48a895?this[_0x18caba(0x27a)](_0x48a895):null,this[_0x18caba(0x28f)][_0x18caba(0x250)][_0x18caba(0x290)](()=>{const _0xf0e827=_0x18caba,_0x4b036e=this[_0xf0e827(0x28f)][_0xf0e827(0x295)];_0x307825&&(_0x307825[_0xf0e827(0x1eb)][_0xf0e827(0x1e5)]?_0x4b036e[_0xf0e827(0x1fa)][_0xf0e827(0x290)](_0x25883e=>{const _0x538ab7=_0xf0e827;_0x25883e[_0x538ab7(0x1f2)](_0x538ab7(0x236),_0x4b036e[_0x538ab7(0x1fa)][_0x538ab7(0x25c)][_0x538ab7(0x2d6)](_0x307825[_0x538ab7(0x1fc)]));}):_0x4b036e[_0xf0e827(0x1e3)](_0xf0e827(0x278)+_0x307825['id'])),_0x48a895&&(_0x48a895[_0xf0e827(0x1eb)][_0xf0e827(0x1e5)]?_0x4b036e[_0xf0e827(0x1fa)][_0xf0e827(0x290)](_0x44cf1d=>{const _0x2b70fe=_0xf0e827;_0x44cf1d[_0x2b70fe(0x2de)](_0x2b70fe(0x236),_0x4b036e[_0x2b70fe(0x1fa)][_0x2b70fe(0x25c)][_0x2b70fe(0x2d6)](_0x48a895[_0x2b70fe(0x1fc)]));}):_0x4b036e[_0xf0e827(0x1e3)](_0xf0e827(0x278)+_0x48a895['id']));});}),this[_0x41d4de(0x1f3)](this[_0x41d4de(0x28f)][_0x41d4de(0x295)][_0x41d4de(0x1fa)][_0x41d4de(0x25c)],_0x41d4de(0x1aa),(_0x41e982,_0x2377b2)=>{const _0x277c19=_0x41d4de;if(this[_0x277c19(0x26e)])return;const _0x2a71c6=this[_0x277c19(0x229)](_0x2377b2[_0x277c19(0x1e7)]),_0x218656=this[_0x277c19(0x235)][_0x277c19(0x1cb)](_0x2a71c6);_0x218656?(this[_0x277c19(0x244)]={'x':_0x2377b2[_0x277c19(0x203)]['x'],'y':_0x2377b2[_0x277c19(0x203)]['y']},this[_0x277c19(0x270)]=this[_0x277c19(0x27a)](_0x218656)):(this[_0x277c19(0x244)]=null,this[_0x277c19(0x270)]=null);}),this[_0x41d4de(0x1f3)](this[_0x41d4de(0x28f)][_0x41d4de(0x295)][_0x41d4de(0x1fa)][_0x41d4de(0x25c)],_0x41d4de(0x1c7),(_0x49cdd4,_0x2b876e)=>{const _0x2a98bd=_0x41d4de,_0x3d4774=this[_0x2a98bd(0x229)](_0x2b876e[_0x2a98bd(0x1e7)]),_0x4f2393=this[_0x2a98bd(0x235)][_0x2a98bd(0x1cb)](_0x3d4774);_0x4f2393?(this[_0x2a98bd(0x244)]={'x':_0x2b876e[_0x2a98bd(0x203)]['x'],'y':_0x2b876e[_0x2a98bd(0x203)]['y']},_0x4f2393===this[_0x2a98bd(0x26e)]?this[_0x2a98bd(0x29e)][_0x2a98bd(0x1b3)]():this[_0x2a98bd(0x26e)]=_0x4f2393):(this[_0x2a98bd(0x244)]=null,this[_0x2a98bd(0x26e)]=null);});}[_0x196d29(0x229)](_0x6b211c){const _0x1dac57=_0x196d29;do{const _0xc74d08=_0x6b211c[_0x1dac57(0x1ec)](_0x1dac57(0x1e8));if(_0xc74d08)return _0xc74d08;_0x6b211c=_0x6b211c[_0x1dac57(0x201)];}while(_0x6b211c);return null;}[_0x196d29(0x2e6)](){const _0x56cfb3=_0x196d29;this[_0x56cfb3(0x28f)][_0x56cfb3(0x250)][_0x56cfb3(0x290)](_0x43b781=>{const _0x200238=_0x56cfb3;for(const _0xed7099 of this[_0x200238(0x28f)][_0x200238(0x250)][_0x200238(0x289)])_0x43b781[_0x200238(0x24a)](_0xed7099);});}}function Q(_0x19de21,_0x2feddd){return(_0x28a5a2,_0x26611e,_0x2b2b5a)=>{const _0x37f053=_0x36ab;if(!_0x2b2b5a[_0x37f053(0x259)][_0x37f053(0x2e7)](_0x26611e[_0x37f053(0x240)],_0x28a5a2[_0x37f053(0x22a)]))return;const _0x1b9350=_0x26611e[_0x37f053(0x240)][_0x37f053(0x21f)](),_0x3ee520=_0x26611e[_0x37f053(0x240)][_0x37f053(0x1b0)],_0x2c29c6=_0x19de21[_0x37f053(0x250)][_0x37f053(0x20d)];let _0xb6c100=null,_0x3d5a99=null,_0x4c4740=!0x1,_0x51236f=!0x1;for(const _0x8a6717 of _0x1b9350){const _0x1ffead=_0x8a6717[_0x37f053(0x2dc)];_0x4c4740=_0x4c4740||_0x2c29c6[_0x37f053(0x2ac)](_0x1ffead);const _0x43080f=_0x2b2b5a[_0x37f053(0x20f)][_0x37f053(0x2d5)](_0x1ffead);if(_0x43080f&&_0x43080f[_0x37f053(0x21b)](_0x37f053(0x222)))return;_0x37f053(0x287)==_0x8a6717[_0x37f053(0x2ae)]&&(_0x2c29c6[_0x37f053(0x2e2)](_0x1ffead)&&!_0x2c29c6[_0x37f053(0x2cb)](_0x1ffead)&&(_0x1ffead[_0x37f053(0x2b4)]||_0x3ee520[_0x37f053(0x2c3)]?_0xb6c100&&_0xb6c100[_0x37f053(0x201)]==_0x1ffead||(_0xb6c100=_0x1ffead,_0x397fb6(_0x8a6717[_0x37f053(0x26d)]),_0x51236f=!0x0):_0x3d5a99=_0x3d5a99||_0x8a6717[_0x37f053(0x26d)]));}function _0x397fb6(_0x1035a6){const _0x2ca8a9=_0x37f053,_0x60a2f8=_0x2b2b5a[_0x2ca8a9(0x20f)][_0x2ca8a9(0x1ee)](_0x1035a6),_0x42e01c=_0x2b2b5a[_0x2ca8a9(0x1d5)][_0x2ca8a9(0x2e5)](_0x2ca8a9(0x2e3),{'class':_0x2ca8a9(0x2ba)+_0x2feddd});_0x2b2b5a[_0x2ca8a9(0x1d5)][_0x2ca8a9(0x1b7)](_0x60a2f8,_0x42e01c),_0x2b2b5a[_0x2ca8a9(0x20f)][_0x2ca8a9(0x25a)](_0x42e01c,_0x26611e[_0x2ca8a9(0x258)]);}_0x4c4740||_0x51236f||!_0x3d5a99||_0x397fb6(_0x3d5a99);};}export class RestoreRevisionCommand extends _0x342152{constructor(_0x27154c){const _0x2c46f1=_0x196d29;super(_0x27154c);const _0x24782b=_0x27154c[_0x2c46f1(0x275)][_0x2c46f1(0x1cb)](RevisionViewer);this[_0x2c46f1(0x24b)]=!0x1,this[_0x2c46f1(0x1f3)](_0x24782b,_0x2c46f1(0x1cc),()=>this[_0x2c46f1(0x26a)]()),this[_0x2c46f1(0x1f3)](_0x24782b,_0x2c46f1(0x280),()=>this[_0x2c46f1(0x26a)]());}[_0x196d29(0x1a5)](){const _0xebc6fc=_0x196d29,_0x57e88d=this[_0xebc6fc(0x28f)],_0x376060=_0x57e88d[_0xebc6fc(0x275)][_0xebc6fc(0x1cb)](RevisionViewer),_0x1dd302=_0x376060[_0xebc6fc(0x286)]?_0x376060[_0xebc6fc(0x215)][_0xebc6fc(0x25f)]:null;_0x57e88d[_0xebc6fc(0x1bb)][_0xebc6fc(0x1cb)](_0xebc6fc(0x279))[_0xebc6fc(0x28b)](_0x1dd302);}[_0x196d29(0x26a)](){const _0x540e0a=_0x196d29,{isReady:_0x20e3d2,isEnabled:_0x883f0a,repository:_0x1677a0,diff:_0x3febfb}=this[_0x540e0a(0x28f)][_0x540e0a(0x275)][_0x540e0a(0x1cb)](RevisionViewer),_0x3319d4=_0x3febfb&&_0x1677a0[_0x540e0a(0x20c)](_0x3febfb[_0x540e0a(0x25f)]);this[_0x540e0a(0x224)]=_0x20e3d2&&_0x883f0a&&Boolean(_0x3319d4);}}export class ShowChangeCommand extends _0x342152{[_0x196d29(0x1d4)];constructor(_0x4f12ee,{direction:_0x5cf0ac}){const _0x17edc0=_0x196d29;super(_0x4f12ee);const _0x3b9095=_0x4f12ee[_0x17edc0(0x275)][_0x17edc0(0x1cb)](RevisionViewer);this[_0x17edc0(0x24b)]=!0x1,this[_0x17edc0(0x1d4)]=_0x17edc0(0x24d)===_0x5cf0ac?0x1:-0x1,this[_0x17edc0(0x1f3)](_0x3b9095,_0x17edc0(0x1cc),()=>this[_0x17edc0(0x26a)]()),this[_0x17edc0(0x1f3)](_0x3b9095,_0x17edc0(0x280),()=>this[_0x17edc0(0x26a)]()),this[_0x17edc0(0x1f3)](_0x3b9095,_0x17edc0(0x24c),()=>this[_0x17edc0(0x26a)]());}[_0x196d29(0x1a5)](){const _0x2634e0=_0x196d29,_0x246730=this[_0x2634e0(0x28f)],_0x460e70=_0x246730[_0x2634e0(0x275)][_0x2634e0(0x1cb)](RevisionViewer),{isNavigationMode:_0x338c96,currentChangeNumber:_0x2f12d0}=_0x460e70;let _0x1bbf9b;if(_0x460e70[_0x2634e0(0x26e)]=_0x338c96?_0x460e70[_0x2634e0(0x215)][_0x2634e0(0x1a3)][_0x2634e0(0x1cb)](_0x2f12d0+this[_0x2634e0(0x1d4)]):_0x460e70[_0x2634e0(0x215)][_0x2634e0(0x1a3)][_0x2634e0(0x1be)],_0x460e70[_0x2634e0(0x26e)][_0x2634e0(0x1eb)][_0x2634e0(0x1e5)])_0x1bbf9b=_0x246730[_0x2634e0(0x295)][_0x2634e0(0x1fa)][_0x2634e0(0x1ff)](_0x460e70[_0x2634e0(0x26e)][_0x2634e0(0x1fc)]);else{const _0x5b4701=_0x246730[_0x2634e0(0x250)][_0x2634e0(0x289)][_0x2634e0(0x1cb)](_0x2634e0(0x278)+_0x460e70[_0x2634e0(0x26e)]['id']);_0x1bbf9b=_0x5db2b1(_0x246730[_0x2634e0(0x295)],_0x5b4701);}_0x52e6a8({'target':_0x1bbf9b,'viewportOffset':0x28});}[_0x196d29(0x26a)](){const _0xac0df3=_0x196d29,{isNavigationMode:_0xbec527,currentChangeNumber:_0xf8143a,numberOfChanges:_0x341f6f,isReady:_0x4f90c4,isEnabled:_0x4bd1b2}=this[_0xac0df3(0x28f)][_0xac0df3(0x275)][_0xac0df3(0x1cb)](RevisionViewer);this[_0xac0df3(0x224)]=!!(_0x4bd1b2&&_0x4f90c4&&_0x341f6f)&&(!_0xbec527||(0x1===this[_0xac0df3(0x1d4)]?_0xf8143a<_0x341f6f-0x1:_0xf8143a>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3c93(){const _0x80ebae=['map','button','29SMHoZr','model','menu','isEnabled','Name\x20this\x20revision','1740305qlTtfr','execute','function','find','bindTemplate','first','listenTo','_action','menuitem','5654LyWytp','Show\x20more\x20items','class','Restore\x20this\x20revision','bind','stopPropagation','166572PtnkJL','ck-revision-history-sidebar__revision__actions','listView','isVisible','isReady','children','Compare\x20against\x20selected','items','add','buttonView','8gDrixH','13630YLXrOG','change:isActionsDropdownOpen','set','isOpen','2298222cdWCqx','locale','action','isActionsDropdownOpen','extendTemplate','name','276CQoVjv','ck-on','panelPosition','229002wczPul','source','19016YphgcF','9387KlHwYo'];_0x3c93=function(){return _0x80ebae;};return _0x3c93();}function _0x2ebe(_0x19f86,_0x364520){const _0x3c9300=_0x3c93();return _0x2ebe=function(_0x2ebe44,_0x72f0e2){_0x2ebe44=_0x2ebe44-0x108;let _0x11d78d=_0x3c9300[_0x2ebe44];return _0x11d78d;},_0x2ebe(_0x19f86,_0x364520);}(function(_0x16cd58,_0x4c11e7){const _0x58c746=_0x2ebe,_0x5f37b3=_0x16cd58();while(!![]){try{const _0x4c01fa=-parseInt(_0x58c746(0x123))/0x1*(parseInt(_0x58c746(0x11f))/0x2)+parseInt(_0x58c746(0x120))/0x3*(-parseInt(_0x58c746(0x11a))/0x4)+-parseInt(_0x58c746(0x128))/0x5+parseInt(_0x58c746(0x11d))/0x6+parseInt(_0x58c746(0x137))/0x7+-parseInt(_0x58c746(0x10f))/0x8*(-parseInt(_0x58c746(0x114))/0x9)+parseInt(_0x58c746(0x110))/0xa*(parseInt(_0x58c746(0x131))/0xb);if(_0x4c01fa===_0x4c11e7)break;else _0x5f37b3['push'](_0x5f37b3['shift']());}catch(_0x31d08c){_0x5f37b3['push'](_0x5f37b3['shift']());}}}(_0x3c93,0x2b821));import{Collection as _0x2bccdd}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x312462}from'ckeditor5/src/icons.js';import{UIModel as _0x3cdccf,addListToDropdown as _0x4cb60c,createDropdown as _0x5d6739}from'ckeditor5/src/ui.js';import{getTranslation as _0x9c3a7d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x4a1ef4,_0x1d0769){const _0x546ebd=_0x2ebe,_0x302947=_0x4a1ef4[_0x546ebd(0x12c)],_0x475ac4=_0x4a1ef4[_0x546ebd(0x115)],_0x49d3d0=_0x5d6739(_0x475ac4);_0x49d3d0[_0x546ebd(0x11c)]='sw';const _0x1aa799=function(_0x1a6f4b,_0x3f9fb9){const _0x47b041=_0x546ebd,_0x388ccc=function(_0x1b4f84,_0x35ddaa){const _0x5e81d2=_0x2ebe,_0xad150e=_0x1b4f84[_0x5e81d2(0x115)],_0x29e0a4={'Compare\x20against\x20selected':_0x9c3a7d(_0xad150e,_0x5e81d2(0x10b)),'Name\x20this\x20revision':_0x9c3a7d(_0xad150e,_0x5e81d2(0x127)),'Restore\x20this\x20revision':_0x9c3a7d(_0xad150e,_0x5e81d2(0x134))};return _0x35ddaa[_0x5e81d2(0x121)](_0x3db773=>{const _0x248e25=_0x5e81d2,_0x135b94=_0x29e0a4[_0x3db773[_0x248e25(0x119)]];return _0x135b94&&_0x135b94!==_0x3db773[_0x248e25(0x119)]&&(_0x3db773[_0x248e25(0x119)]=_0x135b94),_0x3db773;});}(_0x1a6f4b,_0x3f9fb9),_0x39db7b=new _0x2bccdd();for(const _0x3d1a45 of _0x388ccc){const _0x57ccaf={'type':_0x47b041(0x122),'model':new _0x3cdccf({'label':_0x3d1a45[_0x47b041(0x119)],'class':_0x3d1a45[_0x47b041(0x133)],'withText':!0x0,'role':_0x47b041(0x130),'_action':_0x3d1a45[_0x47b041(0x116)]})};_0x57ccaf[_0x47b041(0x124)][_0x47b041(0x135)](_0x47b041(0x126))['to'](_0x1a6f4b,_0x47b041(0x117),_0x3397f3=>_0x47b041(0x12a)!=typeof _0x3d1a45[_0x47b041(0x126)]||(!_0x3397f3||_0x3d1a45[_0x47b041(0x126)](_0x1a6f4b))),_0x39db7b[_0x47b041(0x10d)](_0x57ccaf);}return _0x39db7b;}(_0x4a1ef4,_0x1d0769);return _0x4a1ef4[_0x546ebd(0x135)](_0x546ebd(0x117))['to'](_0x49d3d0,_0x546ebd(0x113)),_0x49d3d0[_0x546ebd(0x10e)][_0x546ebd(0x112)]({'label':_0x9c3a7d(_0x475ac4,_0x546ebd(0x132)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x312462}),_0x49d3d0[_0x546ebd(0x118)]({'attributes':{'class':[_0x546ebd(0x138),_0x302947['if'](_0x546ebd(0x117),_0x546ebd(0x11b))]},'on':{'click':_0x302947['to'](_0x54ee3f=>_0x54ee3f[_0x546ebd(0x136)]())}}),_0x49d3d0['on'](_0x546ebd(0x129),_0x45e1d6=>{const _0x451326=_0x546ebd;_0x4a1ef4[_0x451326(0x109)]&&_0x451326(0x12a)==typeof _0x45e1d6[_0x451326(0x11e)][_0x451326(0x12f)]&&_0x45e1d6[_0x451326(0x11e)][_0x451326(0x12f)](_0x4a1ef4);}),_0x4cb60c(_0x49d3d0,_0x1aa799,{'role':_0x546ebd(0x125)}),_0x49d3d0[_0x546ebd(0x12e)](_0x4a1ef4,_0x546ebd(0x111),(_0x431de7,_0x36f0dd,_0x4fb56f)=>{const _0x7b6ff=_0x546ebd;if(_0x4fb56f)for(const _0x3668bd of _0x49d3d0[_0x7b6ff(0x139)][_0x7b6ff(0x10c)]){const _0xa37584=_0x3668bd[_0x7b6ff(0x10a)][_0x7b6ff(0x12d)],_0x78137e=_0x1d0769[_0x7b6ff(0x12b)](_0x4bdedf=>_0x4bdedf[_0x7b6ff(0x116)]===_0xa37584[_0x7b6ff(0x12f)])[_0x7b6ff(0x108)];_0x3668bd[_0x7b6ff(0x108)]=void 0x0===_0x78137e||_0x78137e(_0x4a1ef4);}}),_0x49d3d0;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2db1(){const _0x5786b5=['name','92016XnVnSG','setTemplate','Revision\x20author','0\x200\x2011\x2010','206962QfqEiU','674895AZFRYG','219zLnWqS','push','span','Revision\x20creator','ck-revision-history-sidebar__revision-author__name','set','1039934eyOFWI','3356PWBWyI','994320eUdQMZ','59360UBKYlZ','ck-revision-history-sidebar__revision-author','ck-revision-history-sidebar__revision-author_creator'];_0x2db1=function(){return _0x5786b5;};return _0x2db1();}(function(_0x5bcc94,_0x6f4640){const _0x44dba4=_0x2608,_0x51b701=_0x5bcc94();while(!![]){try{const _0x286301=-parseInt(_0x44dba4(0x1be))/0x1+parseInt(_0x44dba4(0x1b4))/0x2*(parseInt(_0x44dba4(0x1c0))/0x3)+parseInt(_0x44dba4(0x1ba))/0x4+-parseInt(_0x44dba4(0x1bf))/0x5+parseInt(_0x44dba4(0x1b5))/0x6+parseInt(_0x44dba4(0x1b3))/0x7+-parseInt(_0x44dba4(0x1b6))/0x8;if(_0x286301===_0x6f4640)break;else _0x51b701['push'](_0x51b701['shift']());}catch(_0x1e9fb4){_0x51b701['push'](_0x51b701['shift']());}}}(_0x2db1,0x1af53));import{View as _0x2db85f,IconView as _0x1fa5fb}from'ckeditor5/src/ui.js';import{IconUser as _0x243cd5}from'ckeditor5/src/icons.js';function _0x2608(_0x44ea26,_0x49cbab){const _0x2db129=_0x2db1();return _0x2608=function(_0x260850,_0x37d577){_0x260850=_0x260850-0x1ae;let _0x82b26c=_0x2db129[_0x260850];return _0x82b26c;},_0x2608(_0x44ea26,_0x49cbab);}import{getTranslation as _0x504c7a}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x2db85f{constructor(_0x1dfc79,_0x29e95d,_0x174a81){const _0x285f47=_0x2608;super(_0x1dfc79);const _0x3bd788=new _0x1fa5fb();_0x3bd788[_0x285f47(0x1b2)]({'content':_0x243cd5,'viewBox':_0x285f47(0x1bd)});const _0x1ffb4f=['ck',_0x285f47(0x1b7)];_0x174a81&&_0x1ffb4f[_0x285f47(0x1ae)](_0x285f47(0x1b8));const _0xcee31f=[{'tag':_0x285f47(0x1af),'attributes':{'class':['ck',_0x285f47(0x1b1)],'title':_0x504c7a(_0x1dfc79,_0x174a81?_0x285f47(0x1b0):_0x285f47(0x1bc))},'children':[_0x3bd788,_0x29e95d[_0x285f47(0x1b9)]]}];this[_0x285f47(0x1bb)]({'tag':'li','attributes':{'class':_0x1ffb4f},'children':_0xcee31f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dac64=_0x189b;(function(_0x1e5cc9,_0x46a52a){const _0x32c2ad=_0x189b,_0x4a5c67=_0x1e5cc9();while(!![]){try{const _0x4e1366=-parseInt(_0x32c2ad(0x1cd))/0x1+parseInt(_0x32c2ad(0x1cf))/0x2+-parseInt(_0x32c2ad(0x1d5))/0x3*(-parseInt(_0x32c2ad(0x1d7))/0x4)+-parseInt(_0x32c2ad(0x1ca))/0x5*(parseInt(_0x32c2ad(0x1be))/0x6)+-parseInt(_0x32c2ad(0x1bc))/0x7*(parseInt(_0x32c2ad(0x1c4))/0x8)+-parseInt(_0x32c2ad(0x1cb))/0x9+-parseInt(_0x32c2ad(0x1d1))/0xa*(-parseInt(_0x32c2ad(0x1c1))/0xb);if(_0x4e1366===_0x46a52a)break;else _0x4a5c67['push'](_0x4a5c67['shift']());}catch(_0x139b9f){_0x4a5c67['push'](_0x4a5c67['shift']());}}}(_0x401b,0xe4d12));import{LabeledFieldView as _0x12177c}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x4d6107}from'ckeditor5/src/utils.js';import{getTranslation as _0x143f4e}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x12177c{[_0x2dac64(0x1c9)]=null;constructor(_0xe29a89,_0x6aa4c4){const _0x64df0b=_0x2dac64;super(_0xe29a89,_0x6aa4c4);const _0x5c57b8=this[_0x64df0b(0x1bb)];this[_0x64df0b(0x1c8)]({'label':_0x143f4e(_0xe29a89,_0x64df0b(0x1d0)),'_tooltipString':''}),this[_0x64df0b(0x1c7)][_0x64df0b(0x1c0)]=_0x143f4e(_0xe29a89,_0x64df0b(0x1c3)),this[_0x64df0b(0x1d9)]({'tag':_0x64df0b(0x1d8),'attributes':{'class':[_0x64df0b(0x1d2)],'data-cke-tooltip-text':_0x5c57b8['to'](_0x64df0b(0x1bd)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x64df0b(0x1cc)}});}[_0x2dac64(0x1d3)](){const _0x441259=_0x2dac64;super[_0x441259(0x1d3)](),this[_0x441259(0x1c9)]=new _0x4d6107(this[_0x441259(0x1c7)][_0x441259(0x1c5)],()=>this[_0x441259(0x1d6)]()),this[_0x441259(0x1ce)](this[_0x441259(0x1c7)],_0x441259(0x1d4),()=>this[_0x441259(0x1d6)]());}[_0x2dac64(0x1ba)](){const _0x52ff9b=_0x2dac64;super[_0x52ff9b(0x1ba)](),this[_0x52ff9b(0x1c9)]&&this[_0x52ff9b(0x1c9)][_0x52ff9b(0x1ba)]();}[_0x2dac64(0x1d6)](){const _0x1d7581=_0x2dac64,_0x4a006d=this[_0x1d7581(0x1c7)][_0x1d7581(0x1c5)];this[_0x1d7581(0x1bd)]=_0x4a006d[_0x1d7581(0x1bf)]>_0x4a006d[_0x1d7581(0x1c6)]&&_0x4a006d[_0x1d7581(0x1c2)]||'';}}function _0x189b(_0x427be8,_0x499726){const _0x401be7=_0x401b();return _0x189b=function(_0x189bd1,_0xde1814){_0x189bd1=_0x189bd1-0x1ba;let _0x4184ba=_0x401be7[_0x189bd1];return _0x4184ba;},_0x189b(_0x427be8,_0x499726);}function _0x401b(){const _0x3521cf=['fieldView','set','_resizeObserver','290rjjrtA','6830451JjnKQP','ck-tooltip_multi-line','356085vZEhIi','listenTo','2988216UPFvCp','Revision\x20name','5331980syVsPj','ck-revision-history-sidebar__revision-name','render','input','17826NRXNlx','_updateTooltipText','1188BHModm','span','extendTemplate','destroy','bindTemplate','14qKOhEs','_tooltipString','122106rRMmgf','scrollWidth','placeholder','11cnzkGk','value','Enter\x20the\x20revision\x20name','2237856uOYezB','element','clientWidth'];_0x401b=function(){return _0x3521cf;};return _0x401b();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xd674fe=_0x18f7;function _0x3c9e(){const _0x26074f=['5030xAqltB','ck-revision-history-sidebar__revision','authors','revisionActionsView','map','fieldView','24rfWuMC','isConfirm','1150773DquiaK','set','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-revision-history-sidebar__revision__date','length','463Yrwnfc','3557781ZwHzZt','uiLanguage','7456491jUIzGM','unshift','32684360aLiksM','ck-disabled','div','isReady','_requireRevisionName','value','isSelected','bind','ck-revision-history-sidebar__revision-authors','filter','23802nGDPKB','creator','.ck-confirm-view','ck-revision-history-sidebar__revision_selected','220','highlight','ck-reset','ck-revision-history-sidebar__revision-wrapper','setTemplate','325mVvgll','ck-revision-history-sidebar__revision__controls-wrapper','isActionsDropdownOpen','listenTo','revisionNameView','name','from','element','change','bindTemplate','srcElement','_revision','ck-revision-history-sidebar__revision_highlighted','extendTemplate','closest','6067084NNypyV','span','unhighlight','isHighlighted','ck-revision-history-sidebar__actions_dropdown_open','deselect','createdAt','isEnabled','setName','select','fire','render','_createdAtFormatted'];_0x3c9e=function(){return _0x26074f;};return _0x3c9e();}(function(_0x1a2f8e,_0x126fc7){const _0x39a6f2=_0x18f7,_0x5a9717=_0x1a2f8e();while(!![]){try{const _0x1bcfb9=-parseInt(_0x39a6f2(0x13c))/0x1*(-parseInt(_0x39a6f2(0x12f))/0x2)+parseInt(_0x39a6f2(0x137))/0x3+-parseInt(_0x39a6f2(0x122))/0x4+parseInt(_0x39a6f2(0x113))/0x5*(-parseInt(_0x39a6f2(0x10a))/0x6)+-parseInt(_0x39a6f2(0x13f))/0x7+parseInt(_0x39a6f2(0x135))/0x8*(-parseInt(_0x39a6f2(0x13d))/0x9)+parseInt(_0x39a6f2(0x141))/0xa;if(_0x1bcfb9===_0x126fc7)break;else _0x5a9717['push'](_0x5a9717['shift']());}catch(_0x1a2d05){_0x5a9717['push'](_0x5a9717['shift']());}}}(_0x3c9e,0xc10b2));import{View as _0xf0d1b7,createLabeledInputText as _0x24d933}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x3f7bce}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0x3112ea}from'./revisionnameview.js';import{RevisionAuthorView as _0x2be93c}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x3da760}from'./utils.js';import{createActionsDropdownView as _0x3d5371}from'./createrevisionactionsdropdown.js';function _0x18f7(_0x1997ce,_0x51d5e7){const _0x3c9ea5=_0x3c9e();return _0x18f7=function(_0x18f78a,_0x1ce8a6){_0x18f78a=_0x18f78a-0x101;let _0xff3caa=_0x3c9ea5[_0x18f78a];return _0xff3caa;},_0x18f7(_0x1997ce,_0x51d5e7);}import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3f7bce(_0xf0d1b7){['id'];[_0xd674fe(0x117)];[_0xd674fe(0x132)];[_0xd674fe(0x11e)];[_0xd674fe(0x104)];constructor(_0x3589c7,_0xcfefbe,_0x358f80,_0x571692){const _0x12e8c9=_0xd674fe;super(_0x3589c7);const _0x58079b=this[_0x12e8c9(0x11c)],_0x20a2ee=function(_0x4544b1,_0x401fab){const _0x59f72b=_0x12e8c9,_0x16b7e7=Array[_0x59f72b(0x119)](_0x401fab[_0x59f72b(0x131)])[_0x59f72b(0x109)](_0x44b719=>_0x44b719!=_0x401fab[_0x59f72b(0x10b)]);return _0x401fab[_0x59f72b(0x10b)]&&_0x16b7e7[_0x59f72b(0x140)](_0x401fab[_0x59f72b(0x10b)]),_0x16b7e7[_0x59f72b(0x133)](_0x169252=>new _0x2be93c(_0x4544b1,_0x169252,_0x169252==_0x401fab[_0x59f72b(0x10b)]));}(_0x3589c7,_0xcfefbe);this['id']=_0xcfefbe['id'],this[_0x12e8c9(0x11e)]=_0xcfefbe,this[_0x12e8c9(0x104)]=_0x571692,this[_0x12e8c9(0x107)](_0x12e8c9(0x118),_0x12e8c9(0x128))['to'](_0xcfefbe),this[_0x12e8c9(0x107)](_0x12e8c9(0x12e))['to'](this,_0x12e8c9(0x128),_0x3469f1=>_0x3da760(_0x3589c7[_0x12e8c9(0x13e)],_0x3469f1)),this[_0x12e8c9(0x138)](_0x12e8c9(0x106),!0x1),this[_0x12e8c9(0x138)](_0x12e8c9(0x125),!0x1),this[_0x12e8c9(0x138)](_0x12e8c9(0x115),!0x1),this[_0x12e8c9(0x138)](_0x12e8c9(0x103),!0x1),this[_0x12e8c9(0x138)](_0x12e8c9(0x129),!0x1),this[_0x12e8c9(0x117)]=new _0x3112ea(_0x3589c7,_0x24d933),this[_0x12e8c9(0x117)][_0x12e8c9(0x134)][_0x12e8c9(0x120)]({'attributes':{'maxlength':_0x12e8c9(0x10e)}}),this[_0x12e8c9(0x117)][_0x12e8c9(0x134)][_0x12e8c9(0x107)](_0x12e8c9(0x105))['to'](this,_0x12e8c9(0x118),_0x119205=>_0x119205||this[_0x12e8c9(0x12e)]),this[_0x12e8c9(0x117)][_0x12e8c9(0x107)](_0x12e8c9(0x129))['to'](this,_0x12e8c9(0x106),this,_0x12e8c9(0x129),(_0x578dda,_0x148253)=>_0x578dda&&_0x148253),this[_0x12e8c9(0x132)]=_0x358f80&&_0x358f80[_0x12e8c9(0x13b)]?_0x3d5371(this,_0x358f80):'',this[_0x12e8c9(0x132)]&&this[_0x12e8c9(0x132)][_0x12e8c9(0x107)](_0x12e8c9(0x129))['to'](this),this[_0x12e8c9(0x112)]({'tag':_0x12e8c9(0x102),'attributes':{'class':['ck',_0x12e8c9(0x110),_0x12e8c9(0x111),_0x58079b['if'](_0x12e8c9(0x136),_0x12e8c9(0x139))]},'children':[{'tag':_0x12e8c9(0x102),'attributes':{'class':['ck',_0x12e8c9(0x110),_0x12e8c9(0x130),_0x58079b['if'](_0x12e8c9(0x129),_0x12e8c9(0x101),_0x365460=>!_0x365460),_0x58079b['if'](_0x12e8c9(0x106),_0x12e8c9(0x10d)),_0x58079b['if'](_0x12e8c9(0x125),_0x12e8c9(0x11f)),_0x58079b['if'](_0x12e8c9(0x115),_0x12e8c9(0x126))]},'children':[this[_0x12e8c9(0x117)],{'tag':_0x12e8c9(0x123),'attributes':{'class':['ck',_0x12e8c9(0x13a)]},'children':[{'text':_0x58079b['to'](_0x12e8c9(0x12e))}]},{'tag':_0x12e8c9(0x102),'attributes':{'class':['ck',_0x12e8c9(0x114)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x12e8c9(0x108)]},'children':_0x20a2ee}]},this[_0x12e8c9(0x132)]],'on':{'click':_0x58079b['to'](_0x295e7c=>{const _0x390bb6=_0x12e8c9;_0x295e7c[_0x390bb6(0x11d)][_0x390bb6(0x121)](_0x390bb6(0x10c))||this[_0x390bb6(0x103)]&&this[_0x390bb6(0x129)]&&this[_0x390bb6(0x12c)](_0x390bb6(0x12b),{'id':this['id']});})}}]});}[_0xd674fe(0x12d)](){const _0x5c5f63=_0xd674fe;super[_0x5c5f63(0x12d)]();const _0x2f53e3=this[_0x5c5f63(0x117)][_0x5c5f63(0x134)][_0x5c5f63(0x11a)];this[_0x5c5f63(0x116)](_0x2f53e3,_0x5c5f63(0x11b),()=>{const _0x31a1db=_0x5c5f63;this[_0x31a1db(0x104)]&&!_0x2f53e3[_0x31a1db(0x105)]||this[_0x31a1db(0x12c)](_0x31a1db(0x12a),{'id':this['id'],'name':_0x2f53e3[_0x31a1db(0x105)]}),_0x2f53e3[_0x31a1db(0x105)]||(_0x2f53e3[_0x31a1db(0x105)]=this[_0x31a1db(0x118)]?this[_0x31a1db(0x118)]:this[_0x31a1db(0x12e)]);});}[_0xd674fe(0x12b)](){const _0x5b12e5=_0xd674fe;this[_0x5b12e5(0x106)]=!0x0;}[_0xd674fe(0x127)](){const _0x230306=_0xd674fe;this[_0x230306(0x106)]=!0x1;}[_0xd674fe(0x10f)](){const _0xd6143e=_0xd674fe;this[_0xd6143e(0x125)]=!0x0;}[_0xd674fe(0x124)](){const _0x1d33b2=_0xd674fe;this[_0x1d33b2(0x125)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x562f53=_0x37d7;(function(_0x1d2bfe,_0x506364){const _0x3794c1=_0x37d7,_0x59ce15=_0x1d2bfe();while(!![]){try{const _0x1d288e=parseInt(_0x3794c1(0x1ca))/0x1*(parseInt(_0x3794c1(0x1be))/0x2)+-parseInt(_0x3794c1(0x1ce))/0x3*(-parseInt(_0x3794c1(0x1c5))/0x4)+-parseInt(_0x3794c1(0x1c4))/0x5*(-parseInt(_0x3794c1(0x1d5))/0x6)+parseInt(_0x3794c1(0x1c2))/0x7*(parseInt(_0x3794c1(0x1d2))/0x8)+-parseInt(_0x3794c1(0x1d4))/0x9*(parseInt(_0x3794c1(0x1c6))/0xa)+-parseInt(_0x3794c1(0x1cd))/0xb*(parseInt(_0x3794c1(0x1d9))/0xc)+-parseInt(_0x3794c1(0x1bd))/0xd*(parseInt(_0x3794c1(0x1bf))/0xe);if(_0x1d288e===_0x506364)break;else _0x59ce15['push'](_0x59ce15['shift']());}catch(_0x249d83){_0x59ce15['push'](_0x59ce15['shift']());}}}(_0x413c,0x72b6b));function _0x37d7(_0x2dee8a,_0x46390e){const _0x413c8c=_0x413c();return _0x37d7=function(_0x37d7e3,_0x35f74d){_0x37d7e3=_0x37d7e3-0x1bd;let _0x36b245=_0x413c8c[_0x37d7e3];return _0x36b245;},_0x37d7(_0x2dee8a,_0x46390e);}import{View as _0x3850c7}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x413c(){const _0x3cf900=['set','109967qKcHes','282AMaitK','ck-revision-history-sidebar__subrevision-collapser__inner','button','false','64648SNlVLa','ck-hidden','1575CmaZse','54ToqHHi','setTemplate','click','isVisible','828NYhHWe','1287LKSBKT','495382YmleHS','111524gwHToP','bindTemplate','toggle','483FOPLdl','ck-revision-history-sidebar__subrevision-collapser_collapsed','459055yURpRU','3384AZtCZh','600SyEuMx','_isCollapsed','true','span','2MhrPtC','ck-revision-history-sidebar__subrevision-collapser'];_0x413c=function(){return _0x3cf900;};return _0x413c();}export class SubrevisionCollapserView extends _0x3850c7{constructor(_0x558cfa){const _0x1bcbda=_0x37d7;super(_0x558cfa);const _0x5192f3=this[_0x1bcbda(0x1c0)];this[_0x1bcbda(0x1cc)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x1bcbda(0x1d6)]({'tag':_0x1bcbda(0x1c9),'attributes':{'class':['ck',_0x1bcbda(0x1cb),_0x5192f3['if'](_0x1bcbda(0x1d8),_0x1bcbda(0x1d3),_0x24ef5a=>!_0x24ef5a),_0x5192f3['if'](_0x1bcbda(0x1c7),_0x1bcbda(0x1c3))],'role':_0x1bcbda(0x1d0),'aria-pressed':_0x5192f3['to'](_0x1bcbda(0x1c7),_0x39d5a4=>_0x39d5a4?_0x1bcbda(0x1d1):_0x1bcbda(0x1c8))},'children':[{'tag':_0x1bcbda(0x1c9),'attributes':{'class':['ck',_0x1bcbda(0x1cf)]}}],'on':{'click':_0x5192f3['to'](_0x1bcbda(0x1d7))}});}[_0x562f53(0x1c1)](){const _0x7ed7dd=_0x562f53;this[_0x7ed7dd(0x1c7)]=!this[_0x7ed7dd(0x1c7)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33b4fc=_0x4886;function _0x2798(){const _0x2a174a=['1624072RVuDfo','setTemplate','_parentRevisionId','23564630AXBTCR','2dvxWab','fire','creator','span','uiLanguage','bind','createdAt','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__subrevision','116AdRYTQ','_createdAtFormatted','set','1588826kRjjRe','4572080hSiowx','ck-revision-history-sidebar__revision_selected','11zjhCIE','isSelected','deselect','select','ck-revision-history-sidebar__revision__date','16944030rOJCGU','ck-reset','div','156162MIpUqg','ck-revision-history-sidebar__revision','bindTemplate','3373878mcgFMB','7LVfJQj'];_0x2798=function(){return _0x2a174a;};return _0x2798();}(function(_0x78b4ef,_0x429110){const _0x3448f6=_0x4886,_0x11b13d=_0x78b4ef();while(!![]){try{const _0x7ec835=parseInt(_0x3448f6(0x1a6))/0x1*(-parseInt(_0x3448f6(0x1b2))/0x2)+parseInt(_0x3448f6(0x1bd))/0x3*(parseInt(_0x3448f6(0x1af))/0x4)+parseInt(_0x3448f6(0x1b3))/0x5+-parseInt(_0x3448f6(0x1c0))/0x6+parseInt(_0x3448f6(0x1c1))/0x7*(parseInt(_0x3448f6(0x1a2))/0x8)+-parseInt(_0x3448f6(0x1ba))/0x9+parseInt(_0x3448f6(0x1a5))/0xa*(parseInt(_0x3448f6(0x1b5))/0xb);if(_0x7ec835===_0x429110)break;else _0x11b13d['push'](_0x11b13d['shift']());}catch(_0x460b57){_0x11b13d['push'](_0x11b13d['shift']());}}}(_0x2798,0xe7d8d));import{View as _0x41bf17}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x4168b2}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1df01a}from'./utils.js';function _0x4886(_0x182ced,_0x53a60f){const _0x27989b=_0x2798();return _0x4886=function(_0x4886ee,_0x2d903a){_0x4886ee=_0x4886ee-0x1a2;let _0x3c8738=_0x27989b[_0x4886ee];return _0x3c8738;},_0x4886(_0x182ced,_0x53a60f);}import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x41bf17{['id'];[_0x33b4fc(0x1a4)];constructor(_0x51c581,_0x2c56b9,_0x4921a6){const _0x407830=_0x33b4fc;super(_0x51c581);const _0x11a1de=this[_0x407830(0x1bf)];this['id']=_0x2c56b9['id'],this[_0x407830(0x1ab)](_0x407830(0x1ac))['to'](_0x2c56b9),this[_0x407830(0x1b1)](_0x407830(0x1b6),!0x1),this[_0x407830(0x1ab)](_0x407830(0x1b0))['to'](this,_0x407830(0x1ac),_0x102e1e=>_0x102e1e?_0x1df01a(_0x51c581[_0x407830(0x1aa)],_0x102e1e):void 0x0),this[_0x407830(0x1a4)]=_0x4921a6,this[_0x407830(0x1a3)]({'tag':_0x407830(0x1bc),'attributes':{'class':['ck',_0x407830(0x1bb),_0x407830(0x1be),_0x407830(0x1ae),_0x11a1de['if'](_0x407830(0x1b6),_0x407830(0x1b4))]},'children':[{'tag':_0x407830(0x1a9),'attributes':{'class':['ck',_0x407830(0x1b9)]},'children':[{'text':_0x11a1de['to'](_0x407830(0x1b0))}]},{'tag':'ul','attributes':{'class':['ck',_0x407830(0x1ad)]},'children':[new _0x4168b2(_0x51c581,_0x2c56b9[_0x407830(0x1a8)],!0x0)]}],'on':{'click':_0x11a1de['to'](this[_0x407830(0x1b8)][_0x407830(0x1ab)](this))}});}[_0x33b4fc(0x1b8)](){const _0x511cc2=_0x33b4fc;this[_0x511cc2(0x1b6)]=!0x0,this[_0x511cc2(0x1a7)](_0x511cc2(0x1b8),{'parentId':this[_0x511cc2(0x1a4)]});}[_0x33b4fc(0x1b7)](){const _0x2e602e=_0x33b4fc;this[_0x2e602e(0x1b6)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x50ed0e,_0x5ad91b){var _0x266a66=_0x4223,_0x108007=_0x50ed0e();while(!![]){try{var _0x434824=-parseInt(_0x266a66(0x1ef))/0x1+-parseInt(_0x266a66(0x1e9))/0x2+parseInt(_0x266a66(0x1ea))/0x3+parseInt(_0x266a66(0x1f5))/0x4+parseInt(_0x266a66(0x1ee))/0x5*(parseInt(_0x266a66(0x1ed))/0x6)+parseInt(_0x266a66(0x1f2))/0x7*(-parseInt(_0x266a66(0x1eb))/0x8)+-parseInt(_0x266a66(0x1f1))/0x9;if(_0x434824===_0x5ad91b)break;else _0x108007['push'](_0x108007['shift']());}catch(_0x4fcf7a){_0x108007['push'](_0x108007['shift']());}}}(_0x37ba,0xa2001));function _0x4223(_0xdeb39d,_0x286120){var _0x37ba0c=_0x37ba();return _0x4223=function(_0x42230c,_0x46b306){_0x42230c=_0x42230c-0x1e9;var _0x580b67=_0x37ba0c[_0x42230c];return _0x580b67;},_0x4223(_0xdeb39d,_0x286120);}export function dateToPrettyFormat(_0x3c2213,_0x1128f8){var _0x210b1a=_0x4223;return _0x1128f8[_0x210b1a(0x1f3)](_0x3c2213,{'month':_0x210b1a(0x1f0),'day':_0x210b1a(0x1f4)})+',\x20'+_0x1128f8[_0x210b1a(0x1ec)](_0x3c2213,{'hour':_0x210b1a(0x1f4),'minute':_0x210b1a(0x1f4)});}function _0x37ba(){var _0xf90973=['1554390ATPFLj','5bPyqSq','620483hhIgWK','long','1797417thQvpt','14266QpmSiL','toLocaleDateString','numeric','2853492ibGVtw','975842seagrI','3083292BNOZVu','112seaxMq','toLocaleTimeString'];_0x37ba=function(){return _0xf90973;};return _0x37ba();}
|