@ckeditor/ckeditor5-revision-history 43.3.0-alpha.8 → 43.3.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2e8470=_0x1aba;(function(_0x5d25a2,_0x5786f5){const _0x3fe80b=_0x1aba,_0xc539c6=_0x5d25a2();while(!![]){try{const _0x549730=-parseInt(_0x3fe80b(0x267))/0x1+-parseInt(_0x3fe80b(0x1bf))/0x2+-parseInt(_0x3fe80b(0x1a0))/0x3+parseInt(_0x3fe80b(0x188))/0x4*(-parseInt(_0x3fe80b(0x222))/0x5)+parseInt(_0x3fe80b(0x168))/0x6*(-parseInt(_0x3fe80b(0x232))/0x7)+parseInt(_0x3fe80b(0x204))/0x8+-parseInt(_0x3fe80b(0x270))/0x9*(-parseInt(_0x3fe80b(0x179))/0xa);if(_0x549730===_0x5786f5)break;else _0xc539c6['push'](_0xc539c6['shift']());}catch(_0x433b85){_0xc539c6['push'](_0xc539c6['shift']());}}}(_0x16e2,0x87cda));import{Plugin as _0x429053,Command as _0x41775d}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2c03f3}from'ckeditor5/src/utils.js';function _0x16e2(){const _0x2e449a=['138KbhFNC','pluginName','_balloon','domConverter','revision-viewer','updatePosition','getAttributes','has','item','change:isReady','_update','markerToData','push','_setConversion','text','insert','consume','220KkgiTg','uiElement','removeMarker','backward','setAttribute','forward','name','_makeModelFromViewString','getRevisionRootsAttributes','isSuggestion','catch','isAtStart','map','ck-suggestion-marker-split','revisionHistoryLabel','4mSkfhn','_removeUnsupportedChanges','isIncorrect','hasAttribute','getAttribute','restoreRevision','isLimit','left','getChild','bindElementToMarker','_changeView','editor','getClientRects','concat','data-change-id','isAddSuggestion','activeView','WidgetToolbarRepository','revision-suggestion:','range','showNextChange','_getDiff','getIndex','unshift','1153467pmFpkc','keys','isNavigationMode','ck-suggestion-preview-marker-','loadRevisionData','change:activeView','includes','filter','refresh','markerNameToElements','selection','error','all','restoreRevisionCallback','test','_revisions','high','_removeRevisionMarkers','get','element','_cleanUp','return','markersEnd','change:numberOfChanges','showPreviousChange','rootName','revision-comment:','dataDowncast','ck-suggestion-marker--active','suggestion','addClass','204784NcPrJI','getRevisionData','currentChangeNumber','stop','numberOfChanges','delete','mousedown','for','revision-end','first','insertion','highest','editingDowncast','ck-suggestion-preview-marker','detachRoot','from','isPremiumPlugin','diffData','isAdded','data-revision-','revision:','isCollapsed','type','forceDisabled','addHighlight','shift','string','remove','deletion','_makeTape','createPositionBefore','getItems','pairId','_getViewObj','toViewPosition','addMarker:revision','enableReadOnlyMode','_markMismatchedRemovedTags','data','nodeAfter','_setDistance','sort','schema','mapViewToDom','_step','createRange','code','affectsData','diff','_processTape','activeChange','pop','marked','wrap','viewItem','mapper','compare','view','isBlock','document','addRoot','reconvertMarker','dataToMarker','getWalker','collaboration.channelId','ck-suggestion-marker-','useFillerType','vid_end','nextSibling','2285320ikhRXt','comment','_refreshStartEndIndex','markerName','object','isAfter','ck-suggestion-marker','add','authors','change:activeChange','next','revision','adapter','startIndex','enqueueChange','unbindElementFromMarkerName','listenTo','removeMarker:revision-suggestion','maxOffset','length','isEnabled','markerToHighlight','clear','markers','createAttributeElement','_changeIdToChange','createRevision','markerRange','vid','resolve','3411950yqEhvT','toData','_setChanges','toViewElement','find','execute','attributesAfter','domEvent','isContent','change:isEnabled','consumable','_cleanMarkers','_joinTapes','span','mouseover','editing','195440rstduC','set','revision-suggestion','RevisionsRepository','_findChangeIdFromDomTarget','requires','values','revision-start','model','findIndex','element:pre','init','default','ck-revision-history-root--active','attributes','end','forEach','start','writer','removeAttribute','right','ck-revision-history-root-remove','level','roots','_getViewForChange','deletions','createPositionFromPath','checkAttribute','removeMarker:revision','suggestion:','removeClass','_getRevisionsRange','children','bind','ck-revision-history-root-','revisionHistory','downcastDispatcher','revisionHistoryAttachChange','change','target','ck-editor__editable__overlay','isReady','merge','newRevisionId','changes','parse','processor','_initInteractions','_appendChild','isRemoveSuggestion','attribute:vid','startsWith','side','683428McQrVY','softBreak','getRoot','done','createRangeIn','locale','plugins','_markSuggestions','repository','1131318lKDymv','_activeViewTarget','getCustomProperty','addMarker:revision-suggestion:insertion','oldRevisionId','distance','getRootNames','top','elementEnd','slice','ck-revision-history-root-add','_fixObsoleteTags','showStack','-new','insertions','_getChangeFromId','isInline','split','conversion','RevisionViewer','attributesBefore','isEqual','offsetSize','attachChange','upcast','_markInsertions','destroy','toModel','config','toViewRange','_markMarkers','observeMarkers','getRevision','nextPosition','userId','isAtEnd','abs','isOfficialPlugin','low','POSITIVE_INFINITY','isBefore','previousPosition','index','elementStart','hasClass','createUIElement','then','addRevisionData','changeId','markersStart','_removeMissingPairs','isRemoved','_threeWayMerge','_sortAndFilterDiffChanges','addRevision','_data','elementToAttribute','getDomRoot','ck-suggestion-marker-merge','endIndex','bottom','modelRange','flat','isOnRoot','commands','_makeModelFromTape','parent','isAttached','vid_start','isObject','indexOf','addMarker:revision-suggestion:deletion','splice'];_0x16e2=function(){return _0x2e449a;};return _0x16e2();}import{ContextualBalloon as _0x23e4de}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x42008e,Element as _0x136e2d,Text as _0xb54937,ViewDocumentFragment as _0x461585,ViewText as _0x9e44bc,ViewElement as _0x5b045e,ViewContainerElement as _0xdbc9d4,ViewAttributeElement as _0x4ea9c3,ViewEmptyElement as _0x33e09c,ViewRawElement as _0x3294f8,ViewUIElement as _0x2614ad}from'ckeditor5/src/engine.js';import{Users as _0x3626de,getMarkerDomElement as _0x5cb907}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x358bf8 from'./ui/revisionviewer/changedetailsview.js';import _0x144b62 from'./revisionsrepository.js';function _0x1aba(_0x3a44e5,_0x294b93){const _0x16e26f=_0x16e2();return _0x1aba=function(_0x1aba8f,_0xc95dd9){_0x1aba8f=_0x1aba8f-0x15b;let _0x59b08a=_0x16e26f[_0x1aba8f];return _0x59b08a;},_0x1aba(_0x3a44e5,_0x294b93);}import _0x53a4a2 from'./changeitem.js';import{default as _0x2b348c}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0xb0198c}from'lodash-es';const tt={'c':_0xdbc9d4,'a':_0x4ea9c3,'e':_0x33e09c,'r':_0x3294f8,'u':_0x2614ad};export default class d extends _0x429053{static get[_0x2e8470(0x169)](){const _0x3844fe=_0x2e8470;return _0x3844fe(0x283);}static get[_0x2e8470(0x295)](){return!0x0;}static get[_0x2e8470(0x1cf)](){return!0x0;}static get[_0x2e8470(0x237)](){return[_0x3626de,_0x23e4de,_0x144b62];}constructor(_0x315c0a){const _0x129913=_0x2e8470;super(_0x315c0a),this[_0x129913(0x26f)]=this[_0x129913(0x193)][_0x129913(0x26d)][_0x129913(0x1b2)](_0x129913(0x235)),this[_0x129913(0x233)](_0x129913(0x1f1),null),this[_0x129913(0x233)](_0x129913(0x198),null),this[_0x129913(0x271)]=null,this[_0x129913(0x233)](_0x129913(0x1ef),null),this[_0x129913(0x233)](_0x129913(0x25b),!0x1),this[_0x129913(0x233)](_0x129913(0x218),!0x0),this['on'](_0x129913(0x22b),(_0x553099,_0xcdffaa,_0x1c2b2f)=>{const _0x82de94=_0x129913;this[_0x82de94(0x1f1)]=null,this[_0x82de94(0x198)]=null,this[_0x82de94(0x193)][_0x82de94(0x231)][_0x82de94(0x1f8)][_0x82de94(0x258)](_0x54604c=>{const _0x1b3c07=_0x82de94;for(const _0x4663b1 of this[_0x1b3c07(0x193)][_0x1b3c07(0x231)][_0x1b3c07(0x1f8)][_0x1b3c07(0x1fa)][_0x1b3c07(0x249)])_0x1c2b2f?_0x54604c[_0x1b3c07(0x250)](_0x1b3c07(0x25a),_0x4663b1):_0x54604c[_0x1b3c07(0x1be)](_0x1b3c07(0x25a),_0x4663b1);});}),this[_0x129913(0x253)](_0x129913(0x1a2))['to'](this,_0x129913(0x1f1),_0x37236b=>null!==_0x37236b),this[_0x129913(0x253)](_0x129913(0x1c1))['to'](this,_0x129913(0x25b),this,_0x129913(0x1ef),this,_0x129913(0x1f1),(_0x58b6c4,_0x50e641,_0x2abbc2)=>_0x58b6c4&&_0x2abbc2?_0x50e641[_0x129913(0x25e)][_0x129913(0x19e)](_0x2abbc2):0x0),this[_0x129913(0x253)](_0x129913(0x1c3))['to'](this,_0x129913(0x25b),this,_0x129913(0x1ef),(_0x41ef31,_0x3d3c5d)=>_0x41ef31?_0x3d3c5d[_0x129913(0x25e)][_0x129913(0x217)]:0x0),this[_0x129913(0x192)]=null,this[_0x129913(0x21d)]=new Map(),this[_0x129913(0x210)]=null,this[_0x129913(0x16a)]=this[_0x129913(0x193)][_0x129913(0x26d)][_0x129913(0x1b2)](_0x23e4de);}[_0x2e8470(0x23d)](){const _0x3deb8c=_0x2e8470,_0x39c1a3=this[_0x3deb8c(0x193)],_0x26acb7=new ShowChangeCommand(_0x39c1a3,{'direction':_0x3deb8c(0x17c)}),_0x162e91=new ShowChangeCommand(_0x39c1a3,{'direction':_0x3deb8c(0x17e)});(_0x39c1a3[_0x3deb8c(0x15f)][_0x3deb8c(0x20b)](_0x3deb8c(0x1b8),_0x26acb7),_0x39c1a3[_0x3deb8c(0x15f)][_0x3deb8c(0x20b)](_0x3deb8c(0x19c),_0x162e91),_0x39c1a3[_0x3deb8c(0x15f)][_0x3deb8c(0x20b)](_0x3deb8c(0x18d),new RestoreRevisionCommand(_0x39c1a3)),this['on'](_0x3deb8c(0x1b7),()=>{const _0x4d6675=_0x3deb8c;_0x26acb7[_0x4d6675(0x1a8)](),_0x162e91[_0x4d6675(0x1a8)]();}),this[_0x3deb8c(0x175)](),this[_0x3deb8c(0x261)](),_0x39c1a3[_0x3deb8c(0x1e3)](_0x3deb8c(0x16c)),_0x39c1a3[_0x3deb8c(0x26d)][_0x3deb8c(0x16f)](_0x3deb8c(0x199)))&&_0x39c1a3[_0x3deb8c(0x26d)][_0x3deb8c(0x1b2)](_0x3deb8c(0x199))[_0x3deb8c(0x1d6)](_0x3deb8c(0x16c));}async[_0x2e8470(0x1c0)](_0x5e077f){const _0x47e073=_0x2e8470;await this[_0x47e073(0x1a4)](_0x5e077f);const _0x3feaac={};for(const _0x3ed846 in _0x5e077f[_0x47e073(0x1d0)]){if(_0x5e077f[_0x47e073(0x1d0)][_0x3ed846][_0x47e073(0x287)]&&!_0x5e077f[_0x47e073(0x1d0)][_0x3ed846][_0x47e073(0x287)][_0x47e073(0x162)])continue;const _0x4f8832=this[_0x47e073(0x1b1)](JSON[_0x47e073(0x25f)](_0x5e077f[_0x47e073(0x1d0)][_0x3ed846][_0x47e073(0x27e)])),_0x1d6c3a=this[_0x47e073(0x193)][_0x47e073(0x231)][_0x47e073(0x1f8)][_0x47e073(0x1fa)],_0x1b339a=new _0x461585(_0x1d6c3a,_0x4f8832[_0x47e073(0x185)](_0x2fd658=>this[_0x47e073(0x1e0)](_0x2fd658)));this[_0x47e073(0x193)][_0x47e073(0x1e5)][_0x47e073(0x260)][_0x47e073(0x201)](_0x47e073(0x1f3)),_0x3feaac[_0x3ed846]=this[_0x47e073(0x193)][_0x47e073(0x1e5)][_0x47e073(0x260)][_0x47e073(0x223)](_0x1b339a),this[_0x47e073(0x193)][_0x47e073(0x1e5)][_0x47e073(0x260)][_0x47e073(0x201)](_0x47e073(0x23e));}return _0x3feaac;}async[_0x2e8470(0x181)](_0x223629){const _0x1a376f=_0x2e8470;await this[_0x1a376f(0x1a4)](_0x223629);const _0x30be6b={};for(const _0x449971 in _0x223629[_0x1a376f(0x1d0)])_0x223629[_0x1a376f(0x1d0)][_0x449971][_0x1a376f(0x287)]&&!_0x223629[_0x1a376f(0x1d0)][_0x449971][_0x1a376f(0x287)][_0x1a376f(0x162)]||(_0x30be6b[_0x449971]=_0x223629[_0x1a376f(0x1d0)][_0x449971][_0x1a376f(0x228)]||{});return _0x30be6b;}[_0x2e8470(0x1b1)](_0x3e1219){const _0x415b99=_0x2e8470;return(_0x3e1219=_0x3e1219[_0x415b99(0x1a7)](_0x30cd62=>!_0x30cd62[_0x415b99(0x17f)]||_0x415b99(0x239)!==_0x30cd62[_0x415b99(0x17f)]&&_0x415b99(0x1c7)!==_0x30cd62[_0x415b99(0x17f)]))[_0x415b99(0x242)](_0x30624d=>{const _0x2d68d6=_0x415b99;_0x2d68d6(0x1d9)!=typeof _0x30624d&&(_0x30624d[_0x2d68d6(0x252)]=this[_0x2d68d6(0x1b1)](_0x30624d[_0x2d68d6(0x252)]),_0x30624d[_0x2d68d6(0x240)]=_0x30624d[_0x2d68d6(0x240)][_0x2d68d6(0x1a7)](_0x3963c5=>!_0x3963c5[0x0][_0x2d68d6(0x265)](_0x2d68d6(0x1d2))));}),_0x3e1219;}async[_0x2e8470(0x1f7)](_0x5874fb,_0x23bf63,_0x2d762e=!0x1){const _0x303519=_0x2e8470;if(!this[_0x303519(0x218)])return;const _0x4b9165=this[_0x303519(0x1ef)],_0x5df821=this[_0x303519(0x26f)],_0x2b649e=_0x303519(0x1d9)==typeof _0x5874fb?_0x5df821[_0x303519(0x290)](_0x5874fb):_0x5874fb,_0x540f74=_0x303519(0x1d9)==typeof _0x23bf63?_0x5df821[_0x303519(0x290)](_0x23bf63):_0x23bf63,_0x455e6c=_0x2b649e['id'],_0xdbc8a0=_0x540f74?_0x540f74['id']:null;if(!_0x2d762e&&this[_0x303519(0x1ef)]&&this[_0x303519(0x1ef)][_0x303519(0x25d)]===_0x455e6c&&this[_0x303519(0x1ef)][_0x303519(0x274)]===_0xdbc8a0)return Promise[_0x303519(0x221)]();this[_0x303519(0x25b)]=!0x1,this[_0x303519(0x198)]=null,this[_0x303519(0x1f1)]=null,this[_0x303519(0x1ef)]=new _0x2b348c(_0x455e6c,_0xdbc8a0);const _0x2c881f=this[_0x303519(0x251)](_0x2b649e,_0x540f74,!0x0)[_0x303519(0x185)](_0x445b6b=>this[_0x303519(0x1a4)](_0x445b6b));return _0x2c881f[_0x303519(0x174)](new Promise(_0x3f4a1a=>{setTimeout(_0x3f4a1a,0x14);})),Promise[_0x303519(0x1ac)](_0x2c881f)[_0x303519(0x29e)](()=>{const _0x22e755=_0x303519;if(!this[_0x22e755(0x218)])return;this[_0x22e755(0x1b4)]();const _0xb06e35=this[_0x22e755(0x19d)](_0x455e6c,_0xdbc8a0);for(const _0x26e63d of _0xb06e35[_0x22e755(0x25e)])this[_0x22e755(0x21d)][_0x22e755(0x233)](_0x26e63d['id'],_0x26e63d);this[_0x22e755(0x193)][_0x22e755(0x23a)][_0x22e755(0x212)]({'isUndoable':!0x1},_0x4460cb=>{const _0xcf9796=_0x22e755;for(const _0x88dbc5 of this[_0xcf9796(0x193)][_0xcf9796(0x23a)][_0xcf9796(0x1fa)][_0xcf9796(0x276)]())_0x4460cb[_0xcf9796(0x1cd)](_0x88dbc5);for(const _0x502a2c of Object[_0xcf9796(0x1a1)](_0xb06e35[_0xcf9796(0x23a)])){const _0x3dbd8a=_0x4460cb[_0xcf9796(0x1fb)](_0x502a2c);for(const _0x18a6d2 of Object[_0xcf9796(0x1a1)](_0xb06e35[_0xcf9796(0x240)][_0x502a2c]))_0x4460cb[_0xcf9796(0x17d)](_0x18a6d2,_0xb06e35[_0xcf9796(0x240)][_0x502a2c][_0x18a6d2],_0x3dbd8a);_0x4460cb[_0xcf9796(0x177)](_0xb06e35[_0xcf9796(0x23a)][_0x502a2c],_0x3dbd8a,0x0);}}),this[_0x22e755(0x1ef)][_0x22e755(0x224)](this[_0x22e755(0x2a5)](_0xb06e35[_0x22e755(0x25e)])),this[_0x22e755(0x25b)]=!0x0;})[_0x303519(0x183)](_0x225dc2=>{const _0x8bf3ad=_0x303519;console[_0x8bf3ad(0x1ab)](_0x225dc2),this[_0x8bf3ad(0x1b4)](),_0x4b9165&&(this[_0x8bf3ad(0x1ef)]=_0x4b9165),this[_0x8bf3ad(0x25b)]=!0x0;});}[_0x2e8470(0x29f)](_0x3ec9c4,_0x2c6bf3){const _0x5744a8=_0x2e8470,_0x1397af=this[_0x5744a8(0x26f)][_0x5744a8(0x21e)](_0x3ec9c4);return _0x1397af['on'](_0x5744a8(0x172),(_0x26c2e2,_0x5078c3,_0x3e7eb5)=>_0x2c6bf3(_0x5078c3,_0x3e7eb5,_0x1397af)),this[_0x5744a8(0x26f)][_0x5744a8(0x2a6)](_0x1397af),_0x1397af;}[_0x2e8470(0x1a4)](_0x5e8414){const _0x1320c6=_0x2e8470;if(!_0x5e8414||_0x5e8414[_0x1320c6(0x1d0)])return Promise[_0x1320c6(0x221)]();{const _0x3b3a0b=this[_0x1320c6(0x193)][_0x1320c6(0x28c)][_0x1320c6(0x1b2)](_0x1320c6(0x1ff));return this[_0x1320c6(0x210)][_0x1320c6(0x290)]({'channelId':_0x3b3a0b,'revisionId':_0x5e8414['id']})[_0x1320c6(0x29e)](_0x1610ab=>{const _0x4a6176=_0x1320c6;_0x5e8414[_0x4a6176(0x172)]({'diffData':_0x1610ab[_0x4a6176(0x1d0)]},!0x0);});}}[_0x2e8470(0x1b4)](){const _0x5069ed=_0x2e8470;this[_0x5069ed(0x1f1)]=null,this[_0x5069ed(0x22d)](),this[_0x5069ed(0x192)]&&this[_0x5069ed(0x192)][_0x5069ed(0x28a)](),this[_0x5069ed(0x192)]=null,this[_0x5069ed(0x21d)][_0x5069ed(0x21a)](),this[_0x5069ed(0x193)][_0x5069ed(0x23a)][_0x5069ed(0x212)]({'isUndoable':!0x1},_0x457cc8=>{const _0x22d95a=_0x5069ed;for(const _0x202d46 of this[_0x22d95a(0x193)][_0x22d95a(0x23a)][_0x22d95a(0x1fa)][_0x22d95a(0x276)]())_0x457cc8[_0x22d95a(0x1cd)](_0x202d46);});}[_0x2e8470(0x2a5)](_0x5ab4c4){const _0x2f0501=_0x2e8470,_0x215700=[],_0x11b293=new Map();for(const _0x21371 of this[_0x2f0501(0x193)][_0x2f0501(0x23a)][_0x2f0501(0x1fa)][_0x2f0501(0x276)]()){const _0x29c910=this[_0x2f0501(0x193)][_0x2f0501(0x231)][_0x2f0501(0x1f8)][_0x2f0501(0x2a9)](_0x21371);if(!_0x29c910)continue;const _0x48313f=_0x29c910[_0x2f0501(0x194)]()[_0x2f0501(0x170)](0x0);_0x48313f&&(_0x215700[_0x2f0501(0x174)](_0x21371),_0x11b293[_0x2f0501(0x233)](_0x21371,_0x48313f));}return _0x215700[_0x2f0501(0x1e8)]((_0x7e29ea,_0x4a7e7e)=>{const _0x49db9d=_0x2f0501,_0x32cc90=_0x11b293[_0x49db9d(0x1b2)](_0x7e29ea),_0x91712e=_0x11b293[_0x49db9d(0x1b2)](_0x4a7e7e);return _0x32cc90['y']-_0x91712e['y']||_0x32cc90['x']-_0x91712e['x'];}),(_0x5ab4c4=_0x5ab4c4[_0x2f0501(0x1a7)](_0x1d66ab=>_0x215700[_0x2f0501(0x1a6)](_0x1d66ab[_0x2f0501(0x1b9)])))[_0x2f0501(0x1e8)]((_0x1ebaac,_0x172b9f)=>_0x215700[_0x2f0501(0x165)](_0x1ebaac[_0x2f0501(0x1b9)])-_0x215700[_0x2f0501(0x165)](_0x172b9f[_0x2f0501(0x1b9)])),_0x5ab4c4;}[_0x2e8470(0x1dc)](_0x143977){const _0x2fb645=_0x2e8470,_0x56b1db=Array[_0x2fb645(0x1ce)](_0x143977[_0x2fb645(0x21b)])[_0x2fb645(0x1a7)](([_0xcec336,_0x17d3de])=>_0xcec336[_0x2fb645(0x265)](_0x2fb645(0x1d3))&&!_0x17d3de[_0x2fb645(0x1d4)]),_0x4c8e79=Array[_0x2fb645(0x1ce)](this[_0x2fb645(0x193)][_0x2fb645(0x23a)][_0x2fb645(0x26b)](_0x143977)[_0x2fb645(0x1fe)]({'singleCharacters':!0x0}));if(0x0!=_0x56b1db[_0x2fb645(0x217)])for(const _0x1f528a of _0x4c8e79){const [_0xeac1b0,_0x4b57a6]=_0x56b1db[0x0],[,_0x2798e4,_0x2c026a]=_0xeac1b0[_0x2fb645(0x281)](':');if(_0x4b57a6[_0x2fb645(0x241)][_0x2fb645(0x285)](_0x1f528a[_0x2fb645(0x291)])&&_0x56b1db[_0x2fb645(0x1d8)](),(_0x1f528a[_0x2fb645(0x299)][_0x2fb645(0x285)](_0x4b57a6[_0x2fb645(0x243)])||_0x1f528a[_0x2fb645(0x299)][_0x2fb645(0x209)](_0x4b57a6[_0x2fb645(0x243)]))&&(_0x2fb645(0x1c9)==_0x2798e4?_0x1f528a[_0x2fb645(0x1d1)]={'userId':_0x2c026a}:_0x2fb645(0x1db)==_0x2798e4&&(_0x1f528a[_0x2fb645(0x2a3)]={'userId':_0x2c026a})),0x0==_0x56b1db[_0x2fb645(0x217)])break;}return _0x4c8e79;}[_0x2e8470(0x206)](_0x33e644){const _0x100b4c=_0x2e8470,_0x2536cb=new Map();for(let _0x3f5753=0x0;_0x3f5753<_0x33e644[_0x100b4c(0x217)];_0x3f5753++)_0x100b4c(0x176)===_0x33e644[_0x3f5753][_0x100b4c(0x1d5)]?(_0x33e644[_0x3f5753][_0x100b4c(0x170)][_0x100b4c(0x211)]=_0x3f5753,_0x33e644[_0x3f5753][_0x100b4c(0x170)][_0x100b4c(0x2ab)]=_0x3f5753):(_0x100b4c(0x29b)===_0x33e644[_0x3f5753][_0x100b4c(0x1d5)]?_0x33e644[_0x3f5753][_0x100b4c(0x170)][_0x100b4c(0x211)]=_0x3f5753:_0x100b4c(0x278)===_0x33e644[_0x3f5753][_0x100b4c(0x1d5)]&&(_0x33e644[_0x3f5753][_0x100b4c(0x170)][_0x100b4c(0x2ab)]=_0x3f5753),_0x2536cb[_0x100b4c(0x233)](_0x33e644[_0x3f5753]['id'],_0x3f5753));for(const _0x488b0c of _0x2536cb[_0x100b4c(0x238)]())_0x100b4c(0x29b)===_0x33e644[_0x488b0c][_0x100b4c(0x1d5)]?_0x33e644[_0x488b0c][_0x100b4c(0x170)][_0x100b4c(0x2ab)]=_0x2536cb[_0x100b4c(0x1b2)](_0x33e644[_0x488b0c][_0x100b4c(0x1df)]):_0x100b4c(0x278)===_0x33e644[_0x488b0c][_0x100b4c(0x1d5)]&&(_0x33e644[_0x488b0c][_0x100b4c(0x170)][_0x100b4c(0x211)]=_0x2536cb[_0x100b4c(0x1b2)](_0x33e644[_0x488b0c][_0x100b4c(0x1df)]));}[_0x2e8470(0x1f0)](_0x499a52){const _0x45c29e=_0x2e8470;for(let _0x1a3f2f=0x0;_0x1a3f2f<_0x499a52[_0x45c29e(0x217)];_0x1a3f2f++){if(_0x45c29e(0x29b)===_0x499a52[_0x1a3f2f][_0x45c29e(0x1d5)])_0x499a52[_0x1a3f2f][_0x45c29e(0x170)][_0x45c29e(0x211)]=_0x1a3f2f;else{if(_0x45c29e(0x278)===_0x499a52[_0x1a3f2f][_0x45c29e(0x1d5)]){_0x499a52[_0x1a3f2f][_0x45c29e(0x170)][_0x45c29e(0x2ab)]=_0x1a3f2f;const _0x3f510b=_0x499a52[_0x1a3f2f][_0x45c29e(0x170)][_0x45c29e(0x211)];_0x499a52[_0x3f510b][_0x45c29e(0x1df)]=_0x499a52[_0x1a3f2f]['id'],_0x499a52[_0x1a3f2f][_0x45c29e(0x1df)]=_0x499a52[_0x3f510b]['id'];}else _0x499a52[_0x1a3f2f][_0x45c29e(0x170)][_0x45c29e(0x211)]=_0x1a3f2f,_0x499a52[_0x1a3f2f][_0x45c29e(0x170)][_0x45c29e(0x2ab)]=_0x1a3f2f,_0x499a52[_0x1a3f2f][_0x45c29e(0x1df)]=null;}_0x499a52[_0x1a3f2f][_0x45c29e(0x2a1)]||(_0x499a52[_0x1a3f2f][_0x45c29e(0x2a1)]=[],_0x499a52[_0x1a3f2f][_0x45c29e(0x1b6)]=[]);}}[_0x2e8470(0x289)](_0x54d4e2,_0x5574f6){const _0x240687=_0x2e8470,_0x54f674=_0x54d4e2[_0x240687(0x1a7)](_0x38fe23=>!_0x38fe23[_0x240687(0x1d1)]);for(let _0x1db04d=0x0;_0x1db04d<_0x5574f6[_0x240687(0x217)];_0x1db04d++)_0x5574f6[_0x1db04d][_0x240687(0x1d1)]&&(_0x54f674[_0x1db04d][_0x240687(0x1d1)]=_0x5574f6[_0x1db04d][_0x240687(0x1d1)]);}[_0x2e8470(0x180)](_0x518f51){const _0x967da0=_0x2e8470,_0x3152c0=JSON[_0x967da0(0x25f)](_0x518f51),_0x4906a6=this[_0x967da0(0x193)][_0x967da0(0x231)][_0x967da0(0x1f8)][_0x967da0(0x1fa)],_0x4594ce=new _0x461585(_0x4906a6,_0x3152c0[_0x967da0(0x185)](_0x468da4=>this[_0x967da0(0x1e0)](_0x468da4)));return this[_0x967da0(0x193)][_0x967da0(0x1e5)][_0x967da0(0x28b)](_0x4594ce);}[_0x2e8470(0x1e0)](_0x33591f){const _0x326bc8=_0x2e8470,_0x90f334=this[_0x326bc8(0x193)][_0x326bc8(0x231)][_0x326bc8(0x1f8)][_0x326bc8(0x1fa)];if(_0x326bc8(0x1d9)==typeof _0x33591f)return new _0x9e44bc(_0x90f334,_0x33591f);{const _0x5693a2=_0x33591f[_0x326bc8(0x252)][_0x326bc8(0x185)](_0x38cd6a=>this[_0x326bc8(0x1e0)](_0x38cd6a));return new(tt[_0x33591f[(_0x326bc8(0x1d5))]]||_0x5b045e)(_0x90f334,_0x33591f[_0x326bc8(0x17f)],_0x33591f[_0x326bc8(0x240)],_0x5693a2);}}[_0x2e8470(0x19d)](_0x2114f0,_0x4501ea=null){const _0x39441b=_0x2e8470,_0x210dec=this[_0x39441b(0x26f)][_0x39441b(0x290)](_0x2114f0),_0x4042c6=_0x4501ea?this[_0x39441b(0x26f)][_0x39441b(0x290)](_0x4501ea):null,_0x369db0=this[_0x39441b(0x251)](_0x210dec,_0x4042c6),_0x4ef403=_0x369db0[_0x369db0[_0x39441b(0x217)]-0x1],_0x55ae58=new Map(),_0x4ca15f={'model':{},'attributes':{},'changes':[]},_0x3b50f6=new Set(),_0x4339c6=new Map();for(let _0x581ba1=_0x369db0[_0x39441b(0x217)]-0x1;_0x581ba1>=0x0;_0x581ba1--){const _0x4e9c00=_0x369db0[_0x581ba1];for(const _0x3a82ee of Object[_0x39441b(0x1a1)](_0x4e9c00[_0x39441b(0x1d0)]))if(_0x4e9c00[_0x39441b(0x1d0)][_0x3a82ee][_0x39441b(0x287)]){const _0x241c9a=_0x4e9c00[_0x39441b(0x1d0)][_0x3a82ee][_0x39441b(0x287)];_0x241c9a[_0x39441b(0x162)]?(_0x3b50f6[_0x39441b(0x20b)](_0x3a82ee),_0x4339c6[_0x39441b(0x16f)](_0x3a82ee)&&_0x4339c6[_0x39441b(0x1b2)](_0x3a82ee)[_0x39441b(0x292)]==_0x241c9a[_0x39441b(0x292)]?_0x4339c6[_0x39441b(0x1c4)](_0x3a82ee):_0x4339c6[_0x39441b(0x233)](_0x3a82ee,_0x241c9a)):_0x4339c6[_0x39441b(0x16f)](_0x3a82ee)?(_0x3b50f6[_0x39441b(0x1c4)](_0x3a82ee),_0x4339c6[_0x39441b(0x1c4)](_0x3a82ee)):(_0x3b50f6[_0x39441b(0x20b)](_0x3a82ee),_0x4339c6[_0x39441b(0x233)](_0x3a82ee,_0x241c9a));}else _0x3b50f6[_0x39441b(0x20b)](_0x3a82ee);}for(const _0x2f6f09 of _0x3b50f6){const _0x25608f=_0x4339c6[_0x39441b(0x16f)](_0x2f6f09)&&!_0x4339c6[_0x39441b(0x1b2)](_0x2f6f09)[_0x39441b(0x162)];let _0x35c30c=_0x25608f?_0x369db0[_0x39441b(0x217)]-0x1:0x0;const _0x2f0ccb=_0x25608f?-0x1:0x1;for(;_0x369db0[_0x35c30c];){const _0xa1b9f2=_0x369db0[_0x35c30c];if(_0xa1b9f2[_0x39441b(0x1d0)][_0x2f6f09]){const _0x15909e=_0x25608f?_0xa1b9f2[_0x39441b(0x1d0)][_0x2f6f09][_0x39441b(0x284)]:_0xa1b9f2[_0x39441b(0x1d0)][_0x2f6f09][_0x39441b(0x228)];_0x4ca15f[_0x39441b(0x240)][_0x2f6f09]=_0x15909e?_0xb0198c(_0x15909e):{};break;}_0x35c30c+=_0x2f0ccb;}}for(const _0x2ade28 of _0x369db0){_0x2ade28[_0x39441b(0x23a)]={};for(const _0x35db2d of _0x2ade28[_0x39441b(0x20c)])_0x55ae58[_0x39441b(0x233)](_0x35db2d['id'],_0x35db2d);for(const _0x1628aa of _0x3b50f6){const _0x4ae116=_0x2ade28[_0x39441b(0x1d0)][_0x1628aa]?_0x2ade28[_0x39441b(0x1d0)][_0x1628aa][_0x39441b(0x27e)]:'[]',_0x145a92=_0x2ade28[_0x39441b(0x1d0)][_0x1628aa]?_0x2ade28[_0x39441b(0x1d0)][_0x1628aa][_0x39441b(0x24b)]:'[]';_0x2ade28[_0x39441b(0x23a)][_0x1628aa]={'insertions':this[_0x39441b(0x180)](_0x4ae116),'deletions':this[_0x39441b(0x180)](_0x145a92)};}}for(const _0x22e43a of _0x3b50f6){let _0x15ff50=null,_0x3848b1=0x0;const _0x22c3d3=new Map(Array[_0x39441b(0x1ce)](_0x210dec[_0x39441b(0x23a)][_0x22e43a][_0x39441b(0x27e)][_0x39441b(0x21b)])[_0x39441b(0x1a7)](([_0x5a421c])=>!_0x5a421c[_0x39441b(0x265)](_0x39441b(0x1d3))));let _0x3639c8=0x0;for(const _0x2f4691 of _0x369db0){const _0x2bb9bf=this[_0x39441b(0x1dc)](_0x2f4691[_0x39441b(0x23a)][_0x22e43a][_0x39441b(0x27e)]);_0x2f4691==_0x210dec?(_0x15ff50=_0x2bb9bf,_0x3848b1=_0x15ff50[_0x39441b(0x217)],_0x15ff50[_0x39441b(0x242)](_0x5697e5=>{_0x5697e5['id']=_0x3639c8++;}),this[_0x39441b(0x1f0)](_0x15ff50)):this[_0x39441b(0x289)](_0x15ff50,_0x2bb9bf);const _0x86f036=_0x15ff50[_0x39441b(0x1a7)](_0x57ef0a=>!_0x57ef0a[_0x39441b(0x1d1)])[_0x39441b(0x185)](_0x4ea5d2=>_0x4ea5d2['id']);let _0x13b924=0x0;const _0x54553e=this[_0x39441b(0x1dc)](_0x2f4691[_0x39441b(0x23a)][_0x22e43a][_0x39441b(0x24b)]);_0x54553e[_0x39441b(0x242)](_0x5c8627=>{const _0xe77b24=_0x39441b;_0x5c8627[_0xe77b24(0x2a3)]?_0x5c8627['id']=_0x3848b1++:_0x5c8627['id']=_0x86f036[_0x13b924++];}),this[_0x39441b(0x1f0)](_0x54553e),this[_0x39441b(0x1e7)](_0x15ff50,_0x39441b(0x1d1)),this[_0x39441b(0x1e7)](_0x54553e,_0x39441b(0x2a3)),_0x2f4691==_0x210dec&&this[_0x39441b(0x28e)](_0x15ff50,_0x22c3d3),_0x15ff50=this[_0x39441b(0x22e)](_0x15ff50,_0x54553e),this[_0x39441b(0x206)](_0x15ff50),this[_0x39441b(0x1e7)](_0x15ff50,_0x39441b(0x2a3));}_0x15ff50=_0x15ff50[_0x39441b(0x1a7)](_0x363f4d=>!(_0x363f4d[_0x39441b(0x1d1)]&&_0x363f4d[_0x39441b(0x2a3)]));const _0x280f33=new Map(_0x4ef403[_0x39441b(0x23a)][_0x22e43a][_0x39441b(0x24b)][_0x39441b(0x21b)]),_0x12c26f=new Set(_0x22c3d3[_0x39441b(0x1a1)]());for(const _0x60072c of _0x280f33[_0x39441b(0x1a1)]())_0x12c26f[_0x39441b(0x1c4)](_0x60072c);this[_0x39441b(0x26e)](_0x15ff50,_0x12c26f),this[_0x39441b(0x27b)](_0x15ff50),_0x15ff50=this[_0x39441b(0x2a2)](_0x15ff50),_0x15ff50=this[_0x39441b(0x1e4)](_0x15ff50),_0x15ff50=this[_0x39441b(0x189)](_0x15ff50);const {root:_0x57af5e,changes:_0x5cc8bb}=this[_0x39441b(0x160)](_0x15ff50,_0x55ae58,_0x22e43a);_0x4ca15f[_0x39441b(0x23a)][_0x22e43a]=_0x57af5e;const _0x54e4bc=_0x4339c6[_0x39441b(0x1b2)](_0x22e43a);if(_0x54e4bc){const _0x56c688=_0x55ae58[_0x39441b(0x1b2)](_0x54e4bc[_0x39441b(0x292)]),_0x28ac27=new _0x53a4a2({'author':_0x56c688,'type':_0x54e4bc[_0x39441b(0x162)]?_0x39441b(0x20b):_0x39441b(0x1da),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x22e43a});_0x5cc8bb[_0x39441b(0x19f)](_0x28ac27),_0x4ca15f[_0x39441b(0x240)][_0x22e43a][_0x39441b(0x257)]=_0x28ac27['id'];}_0x4ca15f[_0x39441b(0x25e)]=_0x4ca15f[_0x39441b(0x25e)][_0x39441b(0x195)](_0x5cc8bb);}return _0x4ca15f;}[_0x2e8470(0x28e)](_0x8a1ec4,_0x2c3e40){const _0x2c0d6b=_0x2e8470;for(let _0x2dac03=0x0;_0x2dac03<_0x8a1ec4[_0x2c0d6b(0x217)];_0x2dac03++)for(const [_0x1b723a,_0x4f3cc5]of _0x2c3e40)_0x4f3cc5[_0x2c0d6b(0x243)][_0x2c0d6b(0x285)](_0x8a1ec4[_0x2dac03][_0x2c0d6b(0x299)])&&_0x8a1ec4[_0x2dac03][_0x2c0d6b(0x2a1)][_0x2c0d6b(0x174)](_0x1b723a),_0x4f3cc5[_0x2c0d6b(0x241)][_0x2c0d6b(0x285)](_0x8a1ec4[_0x2dac03][_0x2c0d6b(0x291)])&&_0x8a1ec4[_0x2dac03][_0x2c0d6b(0x1b6)][_0x2c0d6b(0x174)](_0x1b723a);}[_0x2e8470(0x22e)](_0x34a86e,_0x4d0132){const _0x11080f=_0x2e8470;let _0x556d84=[],_0x3bcac1=0x0,_0x58e6b9=0x0;for(;_0x3bcac1<_0x34a86e[_0x11080f(0x217)]||_0x58e6b9<_0x4d0132[_0x11080f(0x217)];){const _0x31ed61=_0x34a86e[_0x3bcac1]||{},_0x1c66b4=_0x4d0132[_0x58e6b9]||{};if(_0x31ed61['id']==_0x1c66b4['id'])_0x3bcac1++,_0x58e6b9++,_0x556d84[_0x11080f(0x174)](_0x31ed61);else{if(_0x1c66b4[_0x11080f(0x2a3)]&&_0x31ed61[_0x11080f(0x1d1)]){const {commonTape:_0x575720,iEnd:_0x5cb2a6,jEnd:_0x5afea4}=this[_0x11080f(0x2a4)](_0x34a86e,_0x3bcac1,_0x4d0132,_0x58e6b9);_0x556d84=_0x556d84[_0x11080f(0x195)](_0x575720),_0x3bcac1=_0x5cb2a6,_0x58e6b9=_0x5afea4;}else _0x1c66b4[_0x11080f(0x2a3)]?(_0x58e6b9++,_0x556d84[_0x11080f(0x174)](_0x1c66b4)):(_0x3bcac1++,_0x556d84[_0x11080f(0x174)](_0x31ed61));}}return _0x556d84;}[_0x2e8470(0x26e)](_0x9e7742,_0x6fe5d){const _0x2cdf58=_0x2e8470,_0x414690=[];for(let _0x112bac=0x0;_0x112bac<_0x9e7742[_0x2cdf58(0x217)];_0x112bac++){for(let _0x1be959=0x0;_0x1be959<_0x9e7742[_0x112bac][_0x2cdf58(0x2a1)][_0x2cdf58(0x217)];_0x1be959++){const _0x4065d8=_0x9e7742[_0x112bac][_0x2cdf58(0x2a1)][_0x1be959];if(!_0x6fe5d[_0x2cdf58(0x16f)](_0x4065d8))continue;const {group:_0x4c96ad,type:_0x5e6f0f,authorId:_0x23ebe4}=_0x5dbeee(_0x4065d8);_0x2cdf58(0x234)!=_0x4c96ad||_0x2cdf58(0x1c9)!=_0x5e6f0f&&_0x2cdf58(0x1db)!=_0x5e6f0f||(_0x414690[_0x2cdf58(0x19f)]({'type':_0x5e6f0f,'name':_0x4065d8,'userId':_0x23ebe4}),_0x9e7742[_0x112bac][_0x2cdf58(0x2a1)][_0x2cdf58(0x167)](_0x1be959,0x1),_0x1be959--);}_0x259a83(_0x9e7742[_0x112bac]);for(let _0x5137bc=0x0;_0x5137bc<_0x9e7742[_0x112bac][_0x2cdf58(0x1b6)][_0x2cdf58(0x217)];_0x5137bc++){const _0x4eddbe=_0x9e7742[_0x112bac][_0x2cdf58(0x1b6)][_0x5137bc];if(!_0x6fe5d[_0x2cdf58(0x16f)](_0x4eddbe))continue;const {group:_0x1ce39d,type:_0x8cc7b7}=_0x5dbeee(_0x4eddbe);if(_0x2cdf58(0x234)!=_0x1ce39d||_0x2cdf58(0x1c9)!=_0x8cc7b7&&_0x2cdf58(0x1db)!=_0x8cc7b7)continue;_0x9e7742[_0x112bac][_0x2cdf58(0x1b6)][_0x2cdf58(0x167)](_0x5137bc,0x1),_0x5137bc--;const _0xf60bd3=_0x414690[_0x2cdf58(0x23b)](_0x3e78d1=>_0x3e78d1[_0x2cdf58(0x17f)]==_0x4eddbe);_0xf60bd3>-0x1&&_0x414690[_0x2cdf58(0x167)](_0xf60bd3,0x1);}}function _0x5dbeee(_0x29dfe1){const _0x3c50df=_0x2cdf58,_0xf648ec=_0x29dfe1[_0x3c50df(0x281)](':');return{'group':_0xf648ec[0x0],'type':_0xf648ec[0x1],'subType':_0xf648ec[_0x3c50df(0x217)]>=0x5?_0xf648ec[0x2]:null,'id':_0xf648ec[_0x3c50df(0x217)]<0x5?_0xf648ec[0x2]:_0xf648ec[0x3],'authorId':_0xf648ec[_0x3c50df(0x217)]<0x5?_0xf648ec[0x3]:_0xf648ec[0x4],'markerCount':0x6==_0xf648ec[_0x3c50df(0x217)]?_0xf648ec[0x5]:null};}function _0x259a83(_0x1ec1d0){const _0x3c40c4=_0x2cdf58;for(let _0x3197a6=0x0;_0x3197a6<_0x414690[_0x3c40c4(0x217)];_0x3197a6++){if(_0x1ec1d0[_0x3c40c4(0x1d1)]&&_0x3c40c4(0x1c9)==_0x414690[_0x3197a6][_0x3c40c4(0x1d5)])return _0x1ec1d0[_0x3c40c4(0x197)]=_0x414690[_0x3197a6],void delete _0x1ec1d0[_0x3c40c4(0x1d1)];if(!_0x1ec1d0[_0x3c40c4(0x1d1)]&&!_0x1ec1d0[_0x3c40c4(0x2a3)]&&_0x3c40c4(0x1db)==_0x414690[_0x3197a6][_0x3c40c4(0x1d5)])return void(_0x1ec1d0[_0x3c40c4(0x263)]=_0x414690[_0x3197a6]);}}}[_0x2e8470(0x1e7)](_0x3973a7,_0x25389f){const _0x42806a=_0x2e8470;let _0x76a688=0x0,_0x598769=!0x1;const _0x338df7=new Map();for(const _0x2cac82 of _0x3973a7)_0x2cac82[_0x25389f]?_0x598769&&(_0x76a688++,_0x598769=!0x1):(_0x76a688++,_0x598769=!0x0),_0x338df7[_0x42806a(0x233)](_0x2cac82['id'],_0x76a688);for(let _0x4fc9e6=0x0;_0x4fc9e6<_0x3973a7[_0x42806a(0x217)];_0x4fc9e6++){if(_0x42806a(0x2a3)==_0x25389f&&_0x3973a7[_0x4fc9e6][_0x42806a(0x1d1)]||_0x42806a(0x1d1)==_0x25389f&&_0x3973a7[_0x4fc9e6][_0x42806a(0x2a3)])continue;if(_0x42806a(0x176)==_0x3973a7[_0x4fc9e6][_0x42806a(0x1d5)]){_0x3973a7[_0x4fc9e6][_0x42806a(0x275)]=0x0;continue;}const _0x29f542=_0x338df7[_0x42806a(0x1b2)](_0x3973a7[_0x4fc9e6][_0x42806a(0x1df)]),_0x5aef23=_0x338df7[_0x42806a(0x1b2)](_0x3973a7[_0x4fc9e6]['id']);_0x3973a7[_0x4fc9e6][_0x42806a(0x275)]=_0x29f542-_0x5aef23;}}[_0x2e8470(0x251)](_0x1d0f6d,_0x399954,_0x2d26e0=!0x1){const _0x32d749=_0x2e8470,_0x324779=[];let _0x524bff=this[_0x32d749(0x26f)][_0x32d749(0x19e)](_0x1d0f6d),_0x3fd761=this[_0x32d749(0x26f)][_0x32d749(0x19e)](_0x399954);for(-0x1==_0x3fd761&&(_0x3fd761=this[_0x32d749(0x26f)][_0x32d749(0x1af)][_0x32d749(0x217)],_0x2d26e0=!0x1);_0x524bff<_0x3fd761;)_0x324779[_0x32d749(0x174)](this[_0x32d749(0x26f)][_0x32d749(0x290)](_0x524bff)),_0x524bff++;return _0x2d26e0&&_0x324779[_0x32d749(0x174)](this[_0x32d749(0x26f)][_0x32d749(0x290)](_0x524bff)),_0x324779;}[_0x2e8470(0x2a4)](_0x47c403,_0x5a8d41,_0x855cb6,_0x37bc30){const _0x3ea151=_0x2e8470,_0x61f471=this[_0x3ea151(0x193)][_0x3ea151(0x23a)][_0x3ea151(0x1e9)];let _0x99f9f9=_0x5a8d41;for(;_0x47c403[_0x99f9f9]&&_0x47c403[_0x99f9f9][_0x3ea151(0x1d1)];)_0x99f9f9++;let _0x45d7a7=_0x37bc30;for(;_0x855cb6[_0x45d7a7]&&_0x855cb6[_0x45d7a7][_0x3ea151(0x2a3)];)_0x45d7a7++;_0x564ce7(_0x47c403,_0x5a8d41,_0x99f9f9),_0x564ce7(_0x855cb6,_0x37bc30,_0x45d7a7);const _0x87b0ad=_0x855cb6[_0x3ea151(0x279)](_0x37bc30,_0x45d7a7)[_0x3ea151(0x195)](_0x47c403[_0x3ea151(0x279)](_0x5a8d41,_0x99f9f9));return _0x87b0ad[_0x3ea151(0x1e8)]((_0x5b2d11,_0x1f37bb)=>_0x5b2d11[_0x3ea151(0x266)]!=_0x1f37bb[_0x3ea151(0x266)]?_0x5b2d11[_0x3ea151(0x266)]-_0x1f37bb[_0x3ea151(0x266)]:_0x5b2d11[_0x3ea151(0x248)]!=_0x1f37bb[_0x3ea151(0x248)]?_0x5b2d11[_0x3ea151(0x248)]-_0x1f37bb[_0x3ea151(0x248)]:_0x5b2d11[_0x3ea151(0x275)]!=_0x1f37bb[_0x3ea151(0x275)]?_0x1f37bb[_0x3ea151(0x275)]-_0x5b2d11[_0x3ea151(0x275)]:!!_0x5b2d11[_0x3ea151(0x1d1)]!=!!_0x1f37bb[_0x3ea151(0x1d1)]?-0x1==_0x5b2d11[_0x3ea151(0x266)]||0x0==_0x5b2d11[_0x3ea151(0x266)]?_0x5b2d11[_0x3ea151(0x1d1)]?-0x1:0x1:_0x5b2d11[_0x3ea151(0x1d1)]?0x1:-0x1:_0x5b2d11[_0x3ea151(0x29a)]-_0x1f37bb[_0x3ea151(0x29a)]),{'commonTape':_0x87b0ad,'iEnd':_0x99f9f9,'jEnd':_0x45d7a7};function _0x564ce7(_0x363014,_0xab56aa,_0x311652){const _0x5af31=_0x3ea151;let _0x38bfc8=-0x1,_0x2cb68b=Number[_0x5af31(0x297)],_0xbbd94a=!0x0;for(let _0xbe6a8b=_0xab56aa;_0xbe6a8b<_0x311652;_0xbe6a8b++)if(_0x61f471[_0x5af31(0x280)](_0x363014[_0xbe6a8b][_0x5af31(0x170)])||(_0xbbd94a=!0x1),_0x363014[_0xbe6a8b][_0x5af31(0x170)][_0x5af31(0x211)]<_0xab56aa&&(_0x38bfc8=_0xbe6a8b),_0x363014[_0xbe6a8b][_0x5af31(0x170)][_0x5af31(0x2ab)]>=_0x311652){_0x2cb68b=_0xbe6a8b;break;}_0xbbd94a&&(_0x38bfc8=_0x311652-0x1);for(let _0x12e580=_0xab56aa;_0x12e580<_0x311652;_0x12e580++)_0x363014[_0x12e580][_0x5af31(0x266)]=_0x12e580<=_0x38bfc8?-0x1:_0x12e580<_0x2cb68b?0x0:0x1,_0x363014[_0x12e580][_0x5af31(0x29a)]=_0x12e580;let _0x83a8ee=0x0;for(let _0x50808e=_0xab56aa;_0x50808e<=_0x38bfc8;_0x50808e++)0x0==_0x363014[_0x50808e][_0x5af31(0x275)]?_0x363014[_0x50808e][_0x5af31(0x248)]=_0x83a8ee:(_0x83a8ee++,_0x363014[_0x50808e][_0x5af31(0x248)]=_0x83a8ee,_0x83a8ee++);for(let _0x4e754e=_0xab56aa;_0x4e754e<_0x311652;_0x4e754e++)0x0==_0x363014[_0x4e754e][_0x5af31(0x266)]&&(_0x363014[_0x4e754e][_0x5af31(0x248)]=_0x83a8ee);_0x83a8ee=0x0;for(let _0x139396=_0x311652-0x1;_0x139396>=_0x2cb68b;_0x139396--)0x0==_0x363014[_0x139396][_0x5af31(0x275)]?_0x363014[_0x139396][_0x5af31(0x248)]=_0x83a8ee:(_0x83a8ee--,_0x363014[_0x139396][_0x5af31(0x248)]=_0x83a8ee,_0x83a8ee--);}}[_0x2e8470(0x27b)](_0x527c4b){const _0x1bbe0c=_0x2e8470,_0x1a1dbd=new Map(),_0x32357f=this[_0x1bbe0c(0x193)][_0x1bbe0c(0x23a)][_0x1bbe0c(0x1e9)];for(let _0x1bdb6c=0x1;_0x1bdb6c<_0x527c4b[_0x1bbe0c(0x217)];_0x1bdb6c++){let _0x459320,_0x5aefb0,_0x1ad3a1;const _0x2e743e=_0x527c4b[_0x1bdb6c],_0x16b946=_0x527c4b[_0x1bdb6c-0x1];if(_0x1bbe0c(0x176)==_0x2e743e[_0x1bbe0c(0x1d5)])continue;if(_0x2e743e[_0x1bbe0c(0x1d5)]!=_0x16b946[_0x1bbe0c(0x1d5)])continue;if(!_0x32357f[_0x1bbe0c(0x1f9)](_0x16b946[_0x1bbe0c(0x170)])||_0x32357f[_0x1bbe0c(0x18e)](_0x16b946[_0x1bbe0c(0x170)]))continue;if(!_0x32357f[_0x1bbe0c(0x1f9)](_0x2e743e[_0x1bbe0c(0x170)])||_0x32357f[_0x1bbe0c(0x18e)](_0x2e743e[_0x1bbe0c(0x170)]))continue;if((_0x527c4b[_0x1bdb6c][_0x1bbe0c(0x1d1)]||_0x527c4b[_0x1bdb6c][_0x1bbe0c(0x197)])&&_0x527c4b[_0x1bdb6c-0x1][_0x1bbe0c(0x2a3)])_0x459320=_0x527c4b[_0x1bdb6c],_0x5aefb0=_0x527c4b[_0x1bdb6c-0x1],_0x1ad3a1=_0x1bdb6c-0x1;else{if(!_0x527c4b[_0x1bdb6c][_0x1bbe0c(0x2a3)]||!_0x527c4b[_0x1bdb6c-0x1][_0x1bbe0c(0x1d1)]&&!_0x527c4b[_0x1bdb6c-0x1][_0x1bbe0c(0x197)])continue;_0x459320=_0x527c4b[_0x1bdb6c-0x1],_0x5aefb0=_0x527c4b[_0x1bdb6c],_0x1ad3a1=_0x1bdb6c;}const _0x458c1b=_0x459320[_0x1bbe0c(0x248)]==_0x5aefb0[_0x1bbe0c(0x248)],_0x1bbc6b=Math[_0x1bbe0c(0x294)](_0x459320[_0x1bbe0c(0x248)])<Math[_0x1bbe0c(0x294)](_0x5aefb0[_0x1bbe0c(0x248)])&&0x0==_0x5aefb0[_0x1bbe0c(0x275)];(_0x458c1b||_0x1bbc6b)&&(_0x1a1dbd[_0x1bbe0c(0x233)](_0x5aefb0['id'],_0x459320['id']),_0x527c4b[_0x1bbe0c(0x167)](_0x1ad3a1,0x1),_0x1bdb6c--,_0x459320[_0x1bbe0c(0x1d1)]=!0x1);}for(let _0xeaf471=0x0;_0xeaf471<_0x527c4b[_0x1bbe0c(0x217)];_0xeaf471++)_0x1a1dbd[_0x1bbe0c(0x16f)](_0x527c4b[_0xeaf471][_0x1bbe0c(0x1df)])&&(_0x527c4b[_0xeaf471][_0x1bbe0c(0x1df)]=_0x1a1dbd[_0x1bbe0c(0x1b2)](_0x527c4b[_0xeaf471][_0x1bbe0c(0x1df)]));}[_0x2e8470(0x2a2)](_0x461047){const _0x202985=_0x2e8470,_0x561ac2=new Set(_0x461047[_0x202985(0x185)](_0x696024=>_0x696024['id']));for(let _0x189fc1=0x0;_0x189fc1<_0x461047[_0x202985(0x217)];_0x189fc1++)_0x561ac2[_0x202985(0x16f)](_0x461047[_0x189fc1][_0x202985(0x1df)])||0x0==_0x461047[_0x189fc1][_0x202985(0x275)]||(_0x461047[_0x189fc1][_0x202985(0x18a)]=!0x0);return _0x461047[_0x202985(0x1a7)](_0x30fb6e=>!_0x30fb6e[_0x202985(0x18a)]);}[_0x2e8470(0x1e4)](_0x40d504){const _0x1293a0=_0x2e8470,_0x2b27a9=new Set();for(let _0x28ba45=0x0;_0x28ba45<_0x40d504[_0x1293a0(0x217)];_0x28ba45++){if(_0x2b27a9[_0x1293a0(0x16f)](_0x40d504[_0x28ba45]['id'])&&_0x40d504[_0x28ba45][_0x1293a0(0x2a3)]&&(_0x40d504[_0x28ba45][_0x1293a0(0x18a)]=!0x0),_0x40d504[_0x28ba45][_0x1293a0(0x18a)])continue;if(0x0==_0x40d504[_0x28ba45][_0x1293a0(0x275)])continue;if(_0x1293a0(0x29b)!=_0x40d504[_0x28ba45][_0x1293a0(0x1d5)])continue;if(null==_0x40d504[_0x28ba45][_0x1293a0(0x1df)])continue;let _0xa0d5e8=_0x28ba45+0x1,_0x507a13=0x0;for(;_0x40d504[_0xa0d5e8]['id']!=_0x40d504[_0x28ba45][_0x1293a0(0x1df)];)_0x1293a0(0x29b)==_0x40d504[_0xa0d5e8][_0x1293a0(0x1d5)]?_0x507a13++:_0x1293a0(0x278)==_0x40d504[_0xa0d5e8][_0x1293a0(0x1d5)]&&_0x507a13--,_0xa0d5e8++;if(0x0!=_0x507a13){if(_0x40d504[_0x28ba45][_0x1293a0(0x2a3)])_0x40d504[_0x28ba45][_0x1293a0(0x18a)]=!0x0;else{for(;_0xa0d5e8!=_0x28ba45;)_0x40d504[_0xa0d5e8][_0x1293a0(0x2a3)]&&0x0!=_0x40d504[_0xa0d5e8][_0x1293a0(0x275)]&&(_0x40d504[_0xa0d5e8][_0x1293a0(0x18a)]=!0x0,_0x2b27a9[_0x1293a0(0x20b)](_0x40d504[_0xa0d5e8][_0x1293a0(0x1df)])),_0xa0d5e8--;}}}return _0x40d504[_0x1293a0(0x1a7)](_0x50eec9=>!_0x50eec9[_0x1293a0(0x18a)]);}[_0x2e8470(0x189)](_0x48de0a){const _0x658791=_0x2e8470,_0x22d64a=this[_0x658791(0x193)][_0x658791(0x23a)][_0x658791(0x1e9)];for(let _0x17481b=0x0;_0x17481b<_0x48de0a[_0x658791(0x217)];_0x17481b++){if(!(_0x48de0a[_0x17481b][_0x658791(0x1d1)]||_0x48de0a[_0x17481b][_0x658791(0x197)]||_0x48de0a[_0x17481b][_0x658791(0x2a3)]||_0x48de0a[_0x17481b][_0x658791(0x263)]))continue;if(0x0==_0x48de0a[_0x17481b][_0x658791(0x275)])continue;const _0x5802e0=_0x48de0a[_0x17481b][_0x658791(0x170)];_0x22d64a[_0x658791(0x1f9)](_0x5802e0)||_0x22d64a[_0x658791(0x18e)](_0x5802e0)||(_0x48de0a[_0x17481b][_0x658791(0x1d1)]&&delete _0x48de0a[_0x17481b][_0x658791(0x1d1)],_0x48de0a[_0x17481b][_0x658791(0x197)]&&delete _0x48de0a[_0x17481b][_0x658791(0x197)],_0x48de0a[_0x17481b][_0x658791(0x263)]&&delete _0x48de0a[_0x17481b][_0x658791(0x263)],_0x48de0a[_0x17481b][_0x658791(0x2a3)]&&(_0x48de0a[_0x17481b][_0x658791(0x18a)]=!0x0));}return _0x48de0a[_0x658791(0x1a7)](_0x21df60=>!_0x21df60[_0x658791(0x18a)]);}[_0x2e8470(0x160)](_0x7a9247,_0x129441,_0x54d06a){const _0xf7aea0=_0x2e8470,_0x4a3ea5=new _0x42008e(),_0x57c0e7=[],_0x5b80f6=new Map(),_0x5d0b6e=this[_0xf7aea0(0x193)][_0xf7aea0(0x23a)],_0x3ca83e=_0x5d0b6e[_0xf7aea0(0x1e9)],_0x50fe5d=[_0x4a3ea5],_0x541dc9={},_0x4e387b={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xcb683d=null;const _0x4c5551=[0x0];for(let _0x3c0e2a=0x0;_0x3c0e2a<_0x7a9247[_0xf7aea0(0x217)];_0x3c0e2a++){let _0x43aeb7,_0x1b327e;if(_0xf7aea0(0x29b)===_0x7a9247[_0x3c0e2a][_0xf7aea0(0x1d5)]){_0x43aeb7=_0x5d0b6e[_0xf7aea0(0x24c)](_0x4a3ea5,_0x4c5551);const _0xacb3f1=new _0x136e2d(_0x7a9247[_0x3c0e2a][_0xf7aea0(0x170)][_0xf7aea0(0x17f)],_0x7a9247[_0x3c0e2a][_0xf7aea0(0x170)][_0xf7aea0(0x16e)]());_0x50fe5d[0x0][_0xf7aea0(0x262)](_0xacb3f1),_0x4c5551[_0xf7aea0(0x174)](0x0),_0x50fe5d[_0xf7aea0(0x19f)](_0xacb3f1),_0x1b327e=_0x5d0b6e[_0xf7aea0(0x24c)](_0x4a3ea5,_0x4c5551),_0xcb683d=null;}else{if(_0xf7aea0(0x278)===_0x7a9247[_0x3c0e2a][_0xf7aea0(0x1d5)])_0x50fe5d[_0xf7aea0(0x1d8)](),_0x43aeb7=_0x5d0b6e[_0xf7aea0(0x24c)](_0x4a3ea5,_0x4c5551),_0x4c5551[_0xf7aea0(0x1f2)](),_0x4c5551[_0x4c5551[_0xf7aea0(0x217)]-0x1]++,_0x1b327e=_0x5d0b6e[_0xf7aea0(0x24c)](_0x4a3ea5,_0x4c5551),_0xcb683d=null;else{if(_0x43aeb7=_0x5d0b6e[_0xf7aea0(0x24c)](_0x4a3ea5,_0x4c5551),_0xcb683d&&_0x5d8202(_0xcb683d,_0x7a9247[_0x3c0e2a][_0xf7aea0(0x170)]))_0xcb683d[_0xf7aea0(0x2a7)]+=_0x7a9247[_0x3c0e2a][_0xf7aea0(0x170)][_0xf7aea0(0x1e5)];else{const _0x4612ee=new _0xb54937(_0x7a9247[_0x3c0e2a][_0xf7aea0(0x170)][_0xf7aea0(0x1e5)],_0x7a9247[_0x3c0e2a][_0xf7aea0(0x170)][_0xf7aea0(0x16e)]());_0x50fe5d[0x0][_0xf7aea0(0x262)](_0x4612ee),_0xcb683d=_0x4612ee;}_0x4c5551[_0x4c5551[_0xf7aea0(0x217)]-0x1]+=_0x7a9247[_0x3c0e2a][_0xf7aea0(0x170)][_0xf7aea0(0x286)],_0x1b327e=_0x5d0b6e[_0xf7aea0(0x24c)](_0x4a3ea5,_0x4c5551);}}for(const _0x3c0b94 of _0x7a9247[_0x3c0e2a][_0xf7aea0(0x2a1)])_0x5b80f6[_0xf7aea0(0x233)](_0x3c0b94,{'start':_0x43aeb7,'end':null});_0x223d83(_0xf7aea0(0x263),_0x3c0e2a,_0x43aeb7,_0x1b327e),_0x223d83(_0xf7aea0(0x197),_0x3c0e2a,_0x43aeb7,_0x1b327e),_0x223d83(_0xf7aea0(0x2a3),_0x3c0e2a,_0x43aeb7,_0x1b327e),_0x223d83(_0xf7aea0(0x1d1),_0x3c0e2a,_0x43aeb7,_0x1b327e);for(const _0x4f6ae3 of _0x7a9247[_0x3c0e2a][_0xf7aea0(0x1b6)]){_0x5b80f6[_0xf7aea0(0x1b2)](_0x4f6ae3)[_0xf7aea0(0x241)]=_0x1b327e;}}for(const [_0x5f4e71,_0x28c4a2]of _0x5b80f6){const _0x4d11e6=this[_0xf7aea0(0x193)][_0xf7aea0(0x23a)][_0xf7aea0(0x1ec)](_0x28c4a2[_0xf7aea0(0x243)],_0x28c4a2[_0xf7aea0(0x241)]);_0x4a3ea5[_0xf7aea0(0x21b)][_0xf7aea0(0x233)](_0x5f4e71,_0x4d11e6);}return _0x57c0e7[_0xf7aea0(0x1e8)]((_0x565ca7,_0x338e0e)=>{const _0x5ac56f=_0xf7aea0,_0x33b002=_0x4a3ea5[_0x5ac56f(0x21b)][_0x5ac56f(0x1b2)](_0x5ac56f(0x1d3)+_0x565ca7['id']),_0x474467=_0x4a3ea5[_0x5ac56f(0x21b)][_0x5ac56f(0x1b2)](_0x5ac56f(0x1d3)+_0x338e0e['id']);return _0x33b002[_0x5ac56f(0x243)][_0x5ac56f(0x298)](_0x474467[_0x5ac56f(0x243)])?-0x1:_0x33b002[_0x5ac56f(0x243)][_0x5ac56f(0x209)](_0x474467[_0x5ac56f(0x243)])?0x1:_0x33b002[_0x5ac56f(0x241)][_0x5ac56f(0x298)](_0x474467[_0x5ac56f(0x241)])?-0x1:_0x33b002[_0x5ac56f(0x241)][_0x5ac56f(0x209)](_0x474467[_0x5ac56f(0x241)])?0x1:_0x5ac56f(0x20b)===_0x565ca7[_0x5ac56f(0x1d5)]?-0x1:0x1;}),{'root':_0x4a3ea5,'changes':_0x57c0e7};function _0x223d83(_0xd70ed5,_0x29b42d,_0x35a471,_0x3b6b81){const _0x285780=_0xf7aea0,_0x243ece=!!_0x7a9247[_0x29b42d][_0xd70ed5],_0x16ce43=_0x243ece?_0x7a9247[_0x29b42d][_0xd70ed5][_0x285780(0x292)]:null,_0x4efe26=_0x29b42d===_0x7a9247[_0x285780(0x217)]-0x1,_0x59eb6f=_0x4e387b[_0xd70ed5][0x0],_0x225bd3=_0x3ca83e[_0x285780(0x164)](_0x7a9247[_0x29b42d][_0x285780(0x170)]);!_0x541dc9[_0xd70ed5]&&_0x243ece?_0x541dc9[_0xd70ed5]={'start':_0x35a471,'tapeItem':_0x7a9247[_0x29b42d],'userId':_0x16ce43,'type':_0xd70ed5}:_0x541dc9[_0xd70ed5]&&!_0x243ece?(_0x541dc9[_0xd70ed5][_0x285780(0x241)]=_0x35a471,_0x5d85fe(_0x541dc9[_0xd70ed5]),_0x541dc9[_0xd70ed5]=null):_0x541dc9[_0xd70ed5]&&_0x243ece&&_0x541dc9[_0xd70ed5][_0x285780(0x292)]!==_0x16ce43&&(_0x541dc9[_0xd70ed5][_0x285780(0x241)]=_0x35a471,_0x59eb6f&&_0x59eb6f[_0x285780(0x292)]===_0x541dc9[_0xd70ed5][_0x285780(0x292)]||_0x5d85fe(_0x541dc9[_0xd70ed5]),_0x541dc9[_0xd70ed5]={'start':_0x35a471,'tapeItem':_0x7a9247[_0x29b42d],'userId':_0x16ce43,'type':_0xd70ed5}),_0x541dc9[_0xd70ed5]&&_0x225bd3&&(_0x285780(0x29b)!==_0x7a9247[_0x29b42d][_0x285780(0x1d5)]||_0x59eb6f&&_0x59eb6f[_0x285780(0x292)]===_0x16ce43||_0x4e387b[_0xd70ed5][_0x285780(0x19f)]({'userId':_0x16ce43,'object':_0x7a9247[_0x29b42d][_0x285780(0x170)],'change':_0x541dc9[_0xd70ed5]}),_0x285780(0x278)===_0x7a9247[_0x29b42d][_0x285780(0x1d5)]&&_0x59eb6f&&_0x59eb6f[_0x285780(0x208)]===_0x7a9247[_0x29b42d][_0x285780(0x170)]&&(_0x4e387b[_0xd70ed5][_0x285780(0x1d8)](),_0x541dc9[_0xd70ed5]=_0x59eb6f[_0x285780(0x258)])),_0x541dc9[_0xd70ed5]&&_0x4efe26&&(_0x541dc9[_0xd70ed5][_0x285780(0x241)]=_0x3b6b81,_0x5d85fe(_0x541dc9[_0xd70ed5]),_0x541dc9[_0xd70ed5]=null);}function _0x5d85fe({start:_0x4ad2c5,end:_0x5e2d30,tapeItem:_0x390953,userId:_0x4adfe5,type:_0x1a4b7a}){const _0x4915b5=_0xf7aea0,_0x8a82d4=_0x390953[_0x4915b5(0x170)],_0x371ed5=_0x5d0b6e[_0x4915b5(0x1e9)][_0x4915b5(0x1f9)](_0x8a82d4)&&!_0x5d0b6e[_0x4915b5(0x1e9)][_0x4915b5(0x18e)](_0x8a82d4),_0x44092f=_0x4ad2c5[_0x4915b5(0x1e6)]==_0x5e2d30[_0x4915b5(0x161)]&&_0x5e2d30[_0x4915b5(0x184)];if(_0x371ed5&&_0x44092f)return;const _0x3ca470=_0x5d0b6e[_0x4915b5(0x1ec)](_0x4ad2c5,_0x5e2d30),_0x2e585a=_0x129441[_0x4915b5(0x1b2)](_0x4adfe5),_0x11c3b7=new _0x53a4a2({'author':_0x2e585a,'type':_0x4915b5(0x1d1)==_0x1a4b7a||_0x4915b5(0x197)==_0x1a4b7a?_0x4915b5(0x20b):_0x4915b5(0x1da),'data':{'isSuggestion':_0x4915b5(0x197)==_0x1a4b7a||_0x4915b5(0x263)==_0x1a4b7a},'createdAt':new Date(),'rootName':_0x54d06a});_0x57c0e7[_0x4915b5(0x174)](_0x11c3b7),_0x4a3ea5[_0x4915b5(0x21b)][_0x4915b5(0x233)](_0x4915b5(0x1d3)+_0x11c3b7['id'],_0x3ca470);}function _0x5d8202(_0x22e3c2,_0x4e9c7b){const _0x4d0319=_0xf7aea0,_0x1fe387=_0x22e3c2[_0x4d0319(0x16e)](),_0x49690e=_0x4e9c7b[_0x4d0319(0x16e)]();for(const _0x4406b0 of _0x1fe387){if(_0x4406b0[0x1]!==_0x4e9c7b[_0x4d0319(0x18c)](_0x4406b0[0x0]))return!0x1;_0x49690e[_0x4d0319(0x20e)]();}return _0x49690e[_0x4d0319(0x20e)]()[_0x4d0319(0x26a)];}}[_0x2e8470(0x175)](){const _0x558a17=_0x2e8470;this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x288))[_0x558a17(0x1fd)]({'view':_0x558a17(0x20f)}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x1cb))[_0x558a17(0x219)]({'model':_0x558a17(0x20f),'view':_0x4ae3da=>{const _0x247994=_0x558a17,_0x47a03d=_0x4ae3da[_0x247994(0x207)][_0x247994(0x281)](':')[0x1],_0x1d13c3=this[_0x247994(0x27f)](_0x47a03d);if(!_0x1d13c3)return null;const _0x3667bb=_0x247994(0x20b)==_0x1d13c3[_0x247994(0x1d5)]?_0x247994(0x1c9):_0x247994(0x1db),_0x3b4bbc=[_0x247994(0x20a),_0x247994(0x200)+_0x3667bb];return _0x1d13c3[_0x247994(0x1e5)][_0x247994(0x182)]&&_0x3b4bbc[_0x247994(0x174)](_0x247994(0x200)+_0x3667bb+_0x247994(0x27d)),this[_0x247994(0x1f1)]==_0x1d13c3&&_0x3b4bbc[_0x247994(0x174)](_0x247994(0x1bc)),{'classes':_0x3b4bbc,'attributes':{'data-change-id':_0x47a03d}};}}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x288))[_0x558a17(0x20b)](_0x51b38d=>{const _0x286c49=_0x558a17;_0x51b38d['on'](_0x286c49(0x23c),(_0x2b2b1d,_0x11d1cf,_0x559077)=>{const _0x3b15b2=_0x286c49,_0x57f3af=_0x11d1cf[_0x3b15b2(0x1f5)][_0x3b15b2(0x190)](0x0);if(!_0x57f3af||!_0x57f3af['is'](_0x3b15b2(0x1b3),_0x3b15b2(0x1ed)))return;if(!_0x559077[_0x3b15b2(0x22c)][_0x3b15b2(0x178)](_0x57f3af,{'attributes':[_0x3b15b2(0x163),_0x3b15b2(0x202)]}))return;const _0x82b0f7=_0x11d1cf[_0x3b15b2(0x15c)][_0x3b15b2(0x243)][_0x3b15b2(0x1e6)];_0x559077[_0x3b15b2(0x244)][_0x3b15b2(0x17d)](_0x3b15b2(0x163),_0x57f3af[_0x3b15b2(0x18c)](_0x3b15b2(0x163)),_0x82b0f7),_0x559077[_0x3b15b2(0x244)][_0x3b15b2(0x17d)](_0x3b15b2(0x202),_0x57f3af[_0x3b15b2(0x18c)](_0x3b15b2(0x202)),_0x82b0f7);},{'priority':_0x286c49(0x296)});}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x288))[_0x558a17(0x20b)](_0x18bd20=>{const _0x48ef1f=_0x558a17;_0x18bd20['on'](_0x48ef1f(0x1b3),(_0x240bd7,_0x42b075,_0x486ee8)=>{const _0x3003b7=_0x48ef1f;if(!_0x486ee8[_0x3003b7(0x22c)][_0x3003b7(0x178)](_0x42b075[_0x3003b7(0x1f5)],{'attributes':[_0x3003b7(0x163),_0x3003b7(0x202)]}))return;if(_0x42b075[_0x3003b7(0x15c)][_0x3003b7(0x1d4)])return;const _0x595097=_0x42b075[_0x3003b7(0x15c)][_0x3003b7(0x243)][_0x3003b7(0x1e6)];_0x595097[_0x3003b7(0x18b)](_0x3003b7(0x163))||_0x595097[_0x3003b7(0x18b)](_0x3003b7(0x220))||(_0x486ee8[_0x3003b7(0x244)][_0x3003b7(0x17d)](_0x3003b7(0x163),_0x42b075[_0x3003b7(0x1f5)][_0x3003b7(0x18c)](_0x3003b7(0x163)),_0x595097),_0x486ee8[_0x3003b7(0x244)][_0x3003b7(0x17d)](_0x3003b7(0x202),_0x42b075[_0x3003b7(0x1f5)][_0x3003b7(0x18c)](_0x3003b7(0x202)),_0x595097));},{'priority':_0x48ef1f(0x296)});}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x288))[_0x558a17(0x2a8)]({'view':{'name':_0x558a17(0x22f),'attributes':{'vid':!0x0}},'model':{'key':_0x558a17(0x220),'value':_0x45025b=>_0x45025b[_0x558a17(0x18c)](_0x558a17(0x220))}}),this[_0x558a17(0x193)][_0x558a17(0x23a)][_0x558a17(0x1e9)]['on'](_0x558a17(0x24d),(_0x41467b,[,_0x3f46d0])=>{const _0x25c373=_0x558a17;[_0x25c373(0x163),_0x25c373(0x202),_0x25c373(0x220)][_0x25c373(0x1a6)](_0x3f46d0)&&(_0x41467b[_0x25c373(0x1b5)]=!0x0,_0x41467b[_0x25c373(0x1c2)]());},{'priority':_0x558a17(0x1ca)}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x1bb))[_0x558a17(0x20b)](_0x32d8e5=>{const _0x2939fe=_0x558a17;_0x32d8e5['on'](_0x2939fe(0x264),(_0x42f568,_0x1f999a,_0xdc43c4)=>{const _0x1648c4=_0x2939fe;if('\x20'!=_0x1f999a[_0x1648c4(0x170)][_0x1648c4(0x1e5)]||_0x1f999a[_0x1648c4(0x170)][_0x1648c4(0x161)][_0x1648c4(0x216)]>0x1)return;if(!_0xdc43c4[_0x1648c4(0x22c)][_0x1648c4(0x178)](_0x1f999a[_0x1648c4(0x170)],_0x42f568[_0x1648c4(0x17f)]))return;const _0x2479ed=_0xdc43c4[_0x1648c4(0x244)],_0x17e68a=_0xdc43c4[_0x1648c4(0x1f6)][_0x1648c4(0x28d)](_0x1f999a[_0x1648c4(0x19b)]);_0x2479ed[_0x1648c4(0x1f4)](_0x17e68a,_0x2479ed[_0x1648c4(0x21c)](_0x1648c4(0x22f)));});}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x1bb))[_0x558a17(0x173)]({'model':_0x558a17(0x20f)}),this[_0x558a17(0x193)][_0x558a17(0x231)][_0x558a17(0x256)]['on'](_0x558a17(0x1e2),function(_0xc3a872){const _0x5687e9=_0x558a17,_0x4c6185=_0xc3a872[_0x5687e9(0x26d)][_0x5687e9(0x1b2)](_0x5687e9(0x283));return(_0x4be332,_0x5f1b85,_0x420ad7)=>{const _0x5df508=_0x5687e9,_0x365a2c=_0x5f1b85[_0x5df508(0x207)][_0x5df508(0x281)](':')[0x1],_0x44cc4a=_0x4c6185[_0x5df508(0x27f)](_0x365a2c);if(!_0x44cc4a)return null;const _0x4199b2=_0x5df508(0x20b)==_0x44cc4a[_0x5df508(0x1d5)]?_0x5df508(0x281):_0x5df508(0x25c);if(!_0x420ad7[_0x5df508(0x22c)][_0x5df508(0x1ae)](_0x5f1b85[_0x5df508(0x21f)],_0x4be332[_0x5df508(0x17f)]))return;const _0xe54c59=_0x5f1b85[_0x5df508(0x21f)][_0x5df508(0x1fe)](),_0x380a9a=_0x5f1b85[_0x5df508(0x21f)][_0x5df508(0x243)],_0x1301c3=_0xc3a872[_0x5df508(0x23a)][_0x5df508(0x1e9)];let _0x536161=null,_0x1d359e=null,_0xa507f9=!0x1,_0x40b190=!0x1;for(const _0x54b8ba of _0xe54c59){const _0x430866=_0x54b8ba[_0x5df508(0x170)];_0xa507f9=_0xa507f9||_0x1301c3[_0x5df508(0x22a)](_0x430866);const _0x15665b=_0x420ad7[_0x5df508(0x1f6)][_0x5df508(0x225)](_0x430866);if(_0x15665b&&_0x15665b[_0x5df508(0x272)](_0x5df508(0x1d7)))return;_0x5df508(0x278)==_0x54b8ba[_0x5df508(0x1d5)]&&(_0x1301c3[_0x5df508(0x1f9)](_0x430866)&&!_0x1301c3[_0x5df508(0x18e)](_0x430866)&&(_0x430866[_0x5df508(0x203)]||_0x380a9a[_0x5df508(0x293)]?_0x536161&&_0x536161[_0x5df508(0x161)]==_0x430866||(_0x536161=_0x430866,_0x4242cc(_0x54b8ba[_0x5df508(0x299)]),_0x40b190=!0x0):_0x1d359e=_0x1d359e||_0x54b8ba[_0x5df508(0x299)]));}function _0x4242cc(_0x37fe2c){const _0x4c8c67=_0x5df508,_0x4c681b=_0x420ad7[_0x4c8c67(0x244)][_0x4c8c67(0x29d)](_0x4c8c67(0x22f),{'class':_0x4c8c67(0x200)+_0x4199b2}),_0x60f89=_0x420ad7[_0x4c8c67(0x1f6)][_0x4c8c67(0x1e1)](_0x37fe2c);_0x44cc4a[_0x4c8c67(0x1e5)][_0x4c8c67(0x182)]&&_0x420ad7[_0x4c8c67(0x244)][_0x4c8c67(0x1be)](_0x4c8c67(0x200)+_0x4199b2+_0x4c8c67(0x27d),_0x4c681b),_0x4c6185[_0x4c8c67(0x1f1)]==_0x44cc4a&&_0x420ad7[_0x4c8c67(0x244)][_0x4c8c67(0x1be)](_0x4c8c67(0x1bc),_0x4c681b),_0x420ad7[_0x4c8c67(0x244)][_0x4c8c67(0x177)](_0x60f89,_0x4c681b),_0x420ad7[_0x4c8c67(0x1f6)][_0x4c8c67(0x191)](_0x4c681b,_0x5f1b85[_0x4c8c67(0x207)]);}_0xa507f9||_0x40b190||!_0x1d359e||_0x4242cc(_0x1d359e);};}(this[_0x558a17(0x193)]),{'priority':_0x558a17(0x1b0)}),this[_0x558a17(0x193)][_0x558a17(0x231)][_0x558a17(0x256)]['on'](_0x558a17(0x24e),(_0x4a7cdc,_0x4b0e71,_0x5d51c0)=>{const _0x448346=_0x558a17,_0x1f2229=_0x5d51c0[_0x448346(0x1f6)][_0x448346(0x1a9)](_0x4b0e71[_0x448346(0x207)]);if(_0x1f2229){for(const _0x2e941b of _0x1f2229)(_0x2e941b[_0x448346(0x29c)](_0x448346(0x186))||_0x2e941b[_0x448346(0x29c)](_0x448346(0x2aa)))&&(_0x5d51c0[_0x448346(0x1f6)][_0x448346(0x213)](_0x2e941b,_0x4b0e71[_0x448346(0x207)]),_0x5d51c0[_0x448346(0x244)][_0x448346(0x1da)](_0x2e941b));}},{'priority':_0x558a17(0x1b0)}),this[_0x558a17(0x193)][_0x558a17(0x231)][_0x558a17(0x256)]['on'](_0x558a17(0x1e2),(_0x2b3656,_0x1efc19,_0x249bde)=>{const _0x10fc03=_0x558a17,_0x43e809=_0x1efc19[_0x10fc03(0x207)][_0x10fc03(0x281)](':')[0x1],_0x4a79cb=this[_0x10fc03(0x27f)](_0x43e809);if(!_0x4a79cb)return null;const _0x4cfc05=_0x10fc03(0x20b)==_0x4a79cb[_0x10fc03(0x1d5)]?_0x10fc03(0x281):_0x10fc03(0x25c);if(_0x249bde[_0x10fc03(0x22c)][_0x10fc03(0x1ae)](_0x1efc19[_0x10fc03(0x21f)],_0x2b3656[_0x10fc03(0x17f)]))for(const _0x5dad0a of _0x1efc19[_0x10fc03(0x21f)][_0x10fc03(0x1de)]()){if(!_0x5dad0a['is'](_0x10fc03(0x1b3),_0x10fc03(0x268)))continue;const _0x2bf3b4=_0x249bde[_0x10fc03(0x244)][_0x10fc03(0x29d)](_0x10fc03(0x22f),{'class':_0x10fc03(0x200)+_0x4cfc05}),_0x3d0c85=_0x249bde[_0x10fc03(0x1f6)][_0x10fc03(0x1e1)](this[_0x10fc03(0x193)][_0x10fc03(0x23a)][_0x10fc03(0x1dd)](_0x5dad0a));_0x4a79cb[_0x10fc03(0x1e5)][_0x10fc03(0x182)]&&_0x249bde[_0x10fc03(0x244)][_0x10fc03(0x1be)](_0x10fc03(0x200)+_0x4cfc05+_0x10fc03(0x27d),_0x2bf3b4),this[_0x10fc03(0x1f1)]==_0x4a79cb&&_0x249bde[_0x10fc03(0x244)][_0x10fc03(0x1be)](_0x10fc03(0x1bc),_0x2bf3b4),_0x249bde[_0x10fc03(0x244)][_0x10fc03(0x177)](_0x3d0c85,_0x2bf3b4),_0x249bde[_0x10fc03(0x1f6)][_0x10fc03(0x191)](_0x2bf3b4,_0x1efc19[_0x10fc03(0x207)]);}},{'priority':_0x558a17(0x1b0)}),this[_0x558a17(0x193)][_0x558a17(0x23a)][_0x558a17(0x1fa)]['on'](_0x558a17(0x258),()=>{const _0x20cfbb=_0x558a17;this[_0x20cfbb(0x193)][_0x20cfbb(0x231)][_0x20cfbb(0x1f8)][_0x20cfbb(0x258)](_0x2ba7ec=>{const _0x35c490=_0x20cfbb;for(const _0x22ac3f of this[_0x35c490(0x193)][_0x35c490(0x23a)][_0x35c490(0x1fa)][_0x35c490(0x276)]()){const _0x5108b0=this[_0x35c490(0x193)][_0x35c490(0x23a)][_0x35c490(0x1fa)][_0x35c490(0x269)](_0x22ac3f),_0x294517=this[_0x35c490(0x193)][_0x35c490(0x231)][_0x35c490(0x1f8)][_0x35c490(0x1fa)][_0x35c490(0x269)](_0x22ac3f);if(_0x294517){const _0x8fb329=_0x5108b0[_0x35c490(0x18c)](_0x35c490(0x257));if(_0x2ba7ec[_0x35c490(0x245)](_0x35c490(0x196),_0x294517),_0x2ba7ec[_0x35c490(0x250)](_0x35c490(0x27a),_0x294517),_0x2ba7ec[_0x35c490(0x250)](_0x35c490(0x247),_0x294517),_0x2ba7ec[_0x35c490(0x250)](_0x35c490(0x23f),_0x294517),_0x8fb329){const _0x1625e9=this[_0x35c490(0x27f)](_0x8fb329);if(!_0x1625e9)return null;_0x2ba7ec[_0x35c490(0x17d)](_0x35c490(0x196),_0x8fb329,_0x294517),_0x2ba7ec[_0x35c490(0x1be)](_0x35c490(0x254)+_0x1625e9[_0x35c490(0x1d5)],_0x294517),this[_0x35c490(0x1f1)]==_0x1625e9&&_0x2ba7ec[_0x35c490(0x1be)](_0x35c490(0x23f),_0x294517);}}}});}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x288))[_0x558a17(0x1fd)]({'view':_0x558a17(0x205),'model':_0x1264c3=>_0x558a17(0x1ba)+_0x1264c3,'converterPriority':_0x558a17(0x1ca)}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x288))[_0x558a17(0x1fd)]({'view':_0x558a17(0x1bd),'model':_0x3137cf=>_0x558a17(0x19a)+_0x3137cf,'converterPriority':_0x558a17(0x1ca)}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x1bb))[_0x558a17(0x173)]({'model':_0x558a17(0x234),'view':_0x7a60fe=>({'name':_0x558a17(0x24f)+_0x7a60fe,'group':_0x558a17(0x234)}),'converterPriority':_0x558a17(0x1ca)}),this[_0x558a17(0x193)][_0x558a17(0x282)][_0x558a17(0x1c6)](_0x558a17(0x1cb))[_0x558a17(0x219)]({'model':_0x558a17(0x234),'view':_0x3193e9=>{const _0x47f436=_0x558a17,_0x573fe3=_0x3193e9[_0x47f436(0x207)][_0x47f436(0x281)](':')[0x1];return _0x47f436(0x1c9)!=_0x573fe3&&_0x47f436(0x1db)!=_0x573fe3?null:{'classes':[_0x47f436(0x1cc),_0x47f436(0x1a3)+_0x573fe3]};}}),this[_0x558a17(0x193)][_0x558a17(0x231)][_0x558a17(0x256)]['on'](_0x558a17(0x166),et(this[_0x558a17(0x193)],_0x558a17(0x25c)),{'priority':_0x558a17(0x1b0)}),this[_0x558a17(0x193)][_0x558a17(0x231)][_0x558a17(0x256)]['on'](_0x558a17(0x273),et(this[_0x558a17(0x193)],_0x558a17(0x281)),{'priority':_0x558a17(0x1b0)}),this[_0x558a17(0x193)][_0x558a17(0x231)][_0x558a17(0x256)]['on'](_0x558a17(0x215),(_0x57355,_0x2aed1f,_0x2d37e9)=>{const _0x530755=_0x558a17,_0x7b42c6=_0x2d37e9[_0x530755(0x1f6)][_0x530755(0x1a9)](_0x2aed1f[_0x530755(0x207)]);if(_0x7b42c6){for(const _0x5058a1 of _0x7b42c6)_0x5058a1['is'](_0x530755(0x17a))&&(_0x2d37e9[_0x530755(0x1f6)][_0x530755(0x213)](_0x5058a1,_0x2aed1f[_0x530755(0x207)]),_0x2d37e9[_0x530755(0x244)][_0x530755(0x1da)](_0x5058a1));}},{'priority':_0x558a17(0x1b0)});}[_0x2e8470(0x27f)](_0x406a60){const _0x29a473=_0x2e8470;return this[_0x29a473(0x21d)][_0x29a473(0x1b2)](_0x406a60);}[_0x2e8470(0x24a)](_0xaf3efb){const _0x1cb1df=_0x2e8470;return this[_0x1cb1df(0x192)]&&this[_0x1cb1df(0x192)][_0x1cb1df(0x28a)](),this[_0x1cb1df(0x192)]=new _0x358bf8(this[_0x1cb1df(0x193)][_0x1cb1df(0x26c)],_0xaf3efb),this[_0x1cb1df(0x192)];}[_0x2e8470(0x261)](){const _0x2f60cb=_0x2e8470;this[_0x2f60cb(0x193)][_0x2f60cb(0x23a)][_0x2f60cb(0x1fa)][_0x2f60cb(0x1aa)][_0x2f60cb(0x28f)](_0x2f60cb(0x20f)),this['on'](_0x2f60cb(0x1a5),(_0x571e8d,_0x12bfc0,_0x504431,_0x34b75f)=>{const _0x23ba5b=_0x2f60cb;_0x34b75f&&this[_0x23ba5b(0x16a)][_0x23ba5b(0x1da)](_0x34b75f),_0x504431&&(this[_0x23ba5b(0x16a)][_0x23ba5b(0x20b)]({'view':_0x504431,'stackId':_0x23ba5b(0x187),'position':{'target':()=>{const _0x296dab=_0x23ba5b,_0x1da47f=this[_0x296dab(0x193)][_0x296dab(0x231)],_0x482dea=this[_0x296dab(0x27f)](_0x504431[_0x296dab(0x2a0)]);let _0x24e2c3;if(_0x482dea[_0x296dab(0x1e5)][_0x296dab(0x15e)]){const _0x2d5afa=_0x1da47f[_0x296dab(0x1f8)][_0x296dab(0x2a9)](_0x482dea[_0x296dab(0x1b9)]);_0x24e2c3=Array[_0x296dab(0x1ce)](_0x2d5afa[_0x296dab(0x194)]());}else{const _0x2933d7=this[_0x296dab(0x193)][_0x296dab(0x23a)][_0x296dab(0x21b)][_0x296dab(0x1b2)](_0x296dab(0x1d3)+_0x504431[_0x296dab(0x2a0)]);_0x24e2c3=Array[_0x296dab(0x1ce)](_0x1da47f[_0x296dab(0x1f6)][_0x296dab(0x1a9)](_0x2933d7[_0x296dab(0x17f)]))[_0x296dab(0x185)](_0x365a6d=>_0x1da47f[_0x296dab(0x1f8)][_0x296dab(0x16b)][_0x296dab(0x1ea)](_0x365a6d))[_0x296dab(0x185)](_0x3c7da8=>Array[_0x296dab(0x1ce)](_0x3c7da8[_0x296dab(0x194)]()))[_0x296dab(0x15d)]();}if(!this[_0x296dab(0x271)])return _0x24e2c3[0x0];return _0x24e2c3[_0x296dab(0x226)](_0x726bee=>_0x726bee[_0x296dab(0x277)]-0x3<=this[_0x296dab(0x271)]['y']&&_0x726bee[_0x296dab(0x15b)]+0x3>=this[_0x296dab(0x271)]['y']&&_0x726bee[_0x296dab(0x18f)]-0x3<=this[_0x296dab(0x271)]['x']&&_0x726bee[_0x296dab(0x246)]+0x3>=this[_0x296dab(0x271)]['x'])||_0x24e2c3[0x0];}}}),this[_0x23ba5b(0x16a)][_0x23ba5b(0x27c)](_0x23ba5b(0x187)));}),this['on'](_0x2f60cb(0x20d),(_0x2171e1,_0x2fe2cc,_0x3eb36a,_0x40cf4c)=>{const _0x2fd27b=_0x2f60cb;this[_0x2fd27b(0x198)]=_0x3eb36a?this[_0x2fd27b(0x24a)](_0x3eb36a):null,this[_0x2fd27b(0x193)][_0x2fd27b(0x23a)][_0x2fd27b(0x258)](()=>{const _0x3035fa=_0x2fd27b,_0x831d36=this[_0x3035fa(0x193)][_0x3035fa(0x231)];_0x40cf4c&&(_0x40cf4c[_0x3035fa(0x1e5)][_0x3035fa(0x15e)]?_0x831d36[_0x3035fa(0x1f8)][_0x3035fa(0x258)](_0x563508=>{const _0x277786=_0x3035fa;_0x563508[_0x277786(0x250)](_0x277786(0x23f),_0x831d36[_0x277786(0x1f8)][_0x277786(0x1fa)][_0x277786(0x269)](_0x40cf4c[_0x277786(0x1b9)]));}):_0x831d36[_0x3035fa(0x1fc)](_0x3035fa(0x1d3)+_0x40cf4c['id'])),_0x3eb36a&&(_0x3eb36a[_0x3035fa(0x1e5)][_0x3035fa(0x15e)]?_0x831d36[_0x3035fa(0x1f8)][_0x3035fa(0x258)](_0x1a5ed8=>{const _0x246e8a=_0x3035fa;_0x1a5ed8[_0x246e8a(0x1be)](_0x246e8a(0x23f),_0x831d36[_0x246e8a(0x1f8)][_0x246e8a(0x1fa)][_0x246e8a(0x269)](_0x3eb36a[_0x246e8a(0x1b9)]));}):_0x831d36[_0x3035fa(0x1fc)](_0x3035fa(0x1d3)+_0x3eb36a['id']));});}),this[_0x2f60cb(0x214)](this[_0x2f60cb(0x193)][_0x2f60cb(0x231)][_0x2f60cb(0x1f8)][_0x2f60cb(0x1fa)],_0x2f60cb(0x230),(_0x337b1e,_0x50baa5)=>{const _0x27f926=_0x2f60cb;if(this[_0x27f926(0x1f1)])return;const _0xb6b66c=this[_0x27f926(0x236)](_0x50baa5[_0x27f926(0x259)]),_0x19b412=this[_0x27f926(0x21d)][_0x27f926(0x1b2)](_0xb6b66c);_0x19b412?(this[_0x27f926(0x271)]={'x':_0x50baa5[_0x27f926(0x229)]['x'],'y':_0x50baa5[_0x27f926(0x229)]['y']},this[_0x27f926(0x198)]=this[_0x27f926(0x24a)](_0x19b412)):(this[_0x27f926(0x271)]=null,this[_0x27f926(0x198)]=null);}),this[_0x2f60cb(0x214)](this[_0x2f60cb(0x193)][_0x2f60cb(0x231)][_0x2f60cb(0x1f8)][_0x2f60cb(0x1fa)],_0x2f60cb(0x1c5),(_0x911286,_0x1e9070)=>{const _0x1b1193=_0x2f60cb,_0x5ff74d=this[_0x1b1193(0x236)](_0x1e9070[_0x1b1193(0x259)]),_0x52a79c=this[_0x1b1193(0x21d)][_0x1b1193(0x1b2)](_0x5ff74d);_0x52a79c?(this[_0x1b1193(0x271)]={'x':_0x1e9070[_0x1b1193(0x229)]['x'],'y':_0x1e9070[_0x1b1193(0x229)]['y']},_0x52a79c===this[_0x1b1193(0x1f1)]?this[_0x1b1193(0x16a)][_0x1b1193(0x16d)]():this[_0x1b1193(0x1f1)]=_0x52a79c):(this[_0x1b1193(0x271)]=null,this[_0x1b1193(0x1f1)]=null);});}[_0x2e8470(0x236)](_0x11f646){const _0xadffe=_0x2e8470;do{const _0x5ac6f2=_0x11f646[_0xadffe(0x18c)](_0xadffe(0x196));if(_0x5ac6f2)return _0x5ac6f2;_0x11f646=_0x11f646[_0xadffe(0x161)];}while(_0x11f646);return null;}[_0x2e8470(0x22d)](){const _0x3a20a3=_0x2e8470;this[_0x3a20a3(0x193)][_0x3a20a3(0x23a)][_0x3a20a3(0x258)](_0x3930ac=>{const _0x5204a5=_0x3a20a3;for(const _0x15982c of this[_0x5204a5(0x193)][_0x5204a5(0x23a)][_0x5204a5(0x21b)])_0x3930ac[_0x5204a5(0x17b)](_0x15982c);});}}function et(_0x39270c,_0x58e70f){return(_0x3f5b18,_0x49fcb1,_0x5bb9e8)=>{const _0x21109d=_0x1aba;if(!_0x5bb9e8[_0x21109d(0x22c)][_0x21109d(0x1ae)](_0x49fcb1[_0x21109d(0x21f)],_0x3f5b18[_0x21109d(0x17f)]))return;const _0x36a520=_0x49fcb1[_0x21109d(0x21f)][_0x21109d(0x1fe)](),_0x15921b=_0x49fcb1[_0x21109d(0x21f)][_0x21109d(0x243)],_0x187c2f=_0x39270c[_0x21109d(0x23a)][_0x21109d(0x1e9)];let _0xed6a9b=null,_0x4f4c12=null,_0x4d4410=!0x1,_0x4f1051=!0x1;for(const _0x1437fe of _0x36a520){const _0x528c92=_0x1437fe[_0x21109d(0x170)];_0x4d4410=_0x4d4410||_0x187c2f[_0x21109d(0x22a)](_0x528c92);const _0x2fa89c=_0x5bb9e8[_0x21109d(0x1f6)][_0x21109d(0x225)](_0x528c92);if(_0x2fa89c&&_0x2fa89c[_0x21109d(0x272)](_0x21109d(0x1d7)))return;_0x21109d(0x278)==_0x1437fe[_0x21109d(0x1d5)]&&(_0x187c2f[_0x21109d(0x1f9)](_0x528c92)&&!_0x187c2f[_0x21109d(0x18e)](_0x528c92)&&(_0x528c92[_0x21109d(0x203)]||_0x15921b[_0x21109d(0x293)]?_0xed6a9b&&_0xed6a9b[_0x21109d(0x161)]==_0x528c92||(_0xed6a9b=_0x528c92,_0x4d4f39(_0x1437fe[_0x21109d(0x299)]),_0x4f1051=!0x0):_0x4f4c12=_0x4f4c12||_0x1437fe[_0x21109d(0x299)]));}function _0x4d4f39(_0x17dc7a){const _0x514fde=_0x21109d,_0x58d438=_0x5bb9e8[_0x514fde(0x1f6)][_0x514fde(0x1e1)](_0x17dc7a),_0x4c9410=_0x5bb9e8[_0x514fde(0x244)][_0x514fde(0x29d)](_0x514fde(0x22f),{'class':_0x514fde(0x1a3)+_0x58e70f});_0x5bb9e8[_0x514fde(0x244)][_0x514fde(0x177)](_0x58d438,_0x4c9410),_0x5bb9e8[_0x514fde(0x1f6)][_0x514fde(0x191)](_0x4c9410,_0x49fcb1[_0x514fde(0x207)]);}_0x4d4410||_0x4f1051||!_0x4f4c12||_0x4d4f39(_0x4f4c12);};}export class RestoreRevisionCommand extends _0x41775d{constructor(_0x3aca8b){const _0x3e0da9=_0x2e8470;super(_0x3aca8b);const _0x48f88a=_0x3aca8b[_0x3e0da9(0x26d)][_0x3e0da9(0x1b2)](d);this[_0x3e0da9(0x1ee)]=!0x1,this[_0x3e0da9(0x214)](_0x48f88a,_0x3e0da9(0x171),()=>this[_0x3e0da9(0x1a8)]()),this[_0x3e0da9(0x214)](_0x48f88a,_0x3e0da9(0x22b),()=>this[_0x3e0da9(0x1a8)]());}[_0x2e8470(0x227)](){const _0x3ffa42=_0x2e8470,_0x58b08c=this[_0x3ffa42(0x193)],_0xfd978f=_0x58b08c[_0x3ffa42(0x26d)][_0x3ffa42(0x1b2)](d),_0x527747=_0xfd978f[_0x3ffa42(0x25b)]?_0xfd978f[_0x3ffa42(0x1ef)][_0x3ffa42(0x25d)]:null;_0x58b08c[_0x3ffa42(0x28c)][_0x3ffa42(0x1b2)](_0x3ffa42(0x255))[_0x3ffa42(0x1ad)](_0x527747);}[_0x2e8470(0x1a8)](){const _0xe0b29a=_0x2e8470,{isReady:_0x343502,isEnabled:_0x483fe3}=this[_0xe0b29a(0x193)][_0xe0b29a(0x26d)][_0xe0b29a(0x1b2)](d);this[_0xe0b29a(0x218)]=_0x343502&&_0x483fe3;}}export class ShowChangeCommand extends _0x41775d{constructor(_0x4d6ebb,{direction:_0x1f6afb}){const _0x33481d=_0x2e8470;super(_0x4d6ebb);const _0x335179=_0x4d6ebb[_0x33481d(0x26d)][_0x33481d(0x1b2)](d);this[_0x33481d(0x1ee)]=!0x1,this[_0x33481d(0x1eb)]=_0x33481d(0x17e)===_0x1f6afb?0x1:-0x1,this[_0x33481d(0x214)](_0x335179,_0x33481d(0x171),()=>this[_0x33481d(0x1a8)]()),this[_0x33481d(0x214)](_0x335179,_0x33481d(0x22b),()=>this[_0x33481d(0x1a8)]()),this[_0x33481d(0x214)](_0x335179,_0x33481d(0x20d),()=>this[_0x33481d(0x1a8)]());}[_0x2e8470(0x227)](){const _0x55b3bb=_0x2e8470,_0x31718f=this[_0x55b3bb(0x193)],_0x5c5995=_0x31718f[_0x55b3bb(0x26d)][_0x55b3bb(0x1b2)](d),{isNavigationMode:_0x10986f,currentChangeNumber:_0x32f79c}=_0x5c5995;let _0x3b920a;if(_0x5c5995[_0x55b3bb(0x1f1)]=_0x10986f?_0x5c5995[_0x55b3bb(0x1ef)][_0x55b3bb(0x25e)][_0x55b3bb(0x1b2)](_0x32f79c+this[_0x55b3bb(0x1eb)]):_0x5c5995[_0x55b3bb(0x1ef)][_0x55b3bb(0x25e)][_0x55b3bb(0x1c8)],_0x5c5995[_0x55b3bb(0x1f1)][_0x55b3bb(0x1e5)][_0x55b3bb(0x15e)])_0x3b920a=_0x31718f[_0x55b3bb(0x231)][_0x55b3bb(0x1f8)][_0x55b3bb(0x2a9)](_0x5c5995[_0x55b3bb(0x1f1)][_0x55b3bb(0x1b9)]);else{const _0x1ff0a1=_0x31718f[_0x55b3bb(0x23a)][_0x55b3bb(0x21b)][_0x55b3bb(0x1b2)](_0x55b3bb(0x1d3)+_0x5c5995[_0x55b3bb(0x1f1)]['id']);_0x3b920a=_0x5cb907(_0x31718f[_0x55b3bb(0x231)],_0x1ff0a1);}_0x2c03f3({'target':_0x3b920a,'viewportOffset':0x28});}[_0x2e8470(0x1a8)](){const _0x3ccaa6=_0x2e8470,{isNavigationMode:_0x2bf11e,currentChangeNumber:_0x4b3e30,numberOfChanges:_0x52193d,isReady:_0x566a62,isEnabled:_0x537e35}=this[_0x3ccaa6(0x193)][_0x3ccaa6(0x26d)][_0x3ccaa6(0x1b2)](d);this[_0x3ccaa6(0x218)]=!!(_0x537e35&&_0x566a62&&_0x52193d)&&(!_0x2bf11e||(0x1===this[_0x3ccaa6(0x1eb)]?_0x4b3e30<_0x52193d-0x1:_0x4b3e30>0x0));}}
|
|
23
|
+
const _0x160826=_0x1381;(function(_0x5e6737,_0x120b66){const _0x72ec95=_0x1381,_0x156df3=_0x5e6737();while(!![]){try{const _0x30601a=parseInt(_0x72ec95(0x13b))/0x1+parseInt(_0x72ec95(0x20f))/0x2+parseInt(_0x72ec95(0x15f))/0x3*(-parseInt(_0x72ec95(0x137))/0x4)+-parseInt(_0x72ec95(0x197))/0x5*(-parseInt(_0x72ec95(0x252))/0x6)+-parseInt(_0x72ec95(0x257))/0x7+parseInt(_0x72ec95(0x124))/0x8+parseInt(_0x72ec95(0x212))/0x9*(-parseInt(_0x72ec95(0x248))/0xa);if(_0x30601a===_0x120b66)break;else _0x156df3['push'](_0x156df3['shift']());}catch(_0x17924f){_0x156df3['push'](_0x156df3['shift']());}}}(_0x7906,0xd451a));import{Plugin as _0x27ccd3,Command as _0x5682e6}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x4c43c6}from'ckeditor5/src/utils.js';function _0x7906(){const _0x25563d=['_markMarkers','type','change:isEnabled','_sortAndFilterDiffChanges','suggestion:','attributesBefore','activeChange','for','sort','_balloon','change','schema','revisionHistoryAttachChange','code','diff','attachChange','isAfter','mousedown','_step','values','model','3681290fzNaSY','getChild','parent','revision-viewer','right','revision','softBreak','parse','revisionHistory','attributesAfter','1506IleNei','children','item','execute','backward','5824875Eqyjxj','editing','get','_joinTapes','compare','nodeAfter','getCustomProperty','commands','updatePosition','isAdded','createAttributeElement','downcastDispatcher','listenTo','_activeViewTarget','toViewElement','getRevision','_getViewObj','revision-suggestion:','RevisionViewer','createRangeIn','addMarker:revision','addRevisionData','change:isReady','WidgetToolbarRepository','attribute:vid','userId','toData','hasAttribute','concat','top','7358576tOMEfg','isCollapsed','mouseover','ck-suggestion-marker--active','_changeIdToChange','nextPosition','_data','isEqual','changes','revision-end','done','POSITIVE_INFINITY','forward','showPreviousChange','string','vid_end','numberOfChanges','startsWith','observeMarkers','1604svhXEk','filter','start','removeMarker:revision-suggestion','128810GCXlhc','bottom','authors','newRevisionId','config','ck-suggestion-preview-marker-','default','end','keys','element:pre','_markInsertions','_threeWayMerge','level','uiElement','insert','_cleanUp','diffData','reconvertMarker','test','_getViewForChange','toViewRange','affectsData','detachRoot','getWalker','isAttached','hasClass','useFillerType','refresh','ck-suggestion-marker','nextSibling','revision-start','document','range','setAttribute','_getDiff','ck-revision-history-root-','2781NfOgzs','isEnabled','createPositionBefore','wrap','getItems','from','forEach','attributes','stop','_makeModelFromViewString','isRemoveSuggestion','delete','markerNameToElements','createRange','vid_start','return','isSuggestion','elementToAttribute','maxOffset','checkAttribute','consumable','ck-revision-history-root-remove','vid','processor','_getChangeFromId','high','ck-revision-history-root--active','currentChangeNumber','roots','createRevision','removeMarker','_appendChild','mapViewToDom','includes','removeAttribute','revision-suggestion','_setDistance','selection','writer','_fixObsoleteTags','_refreshStartEndIndex','flat','removeMarker:revision','name','editingDowncast','toViewPosition','markerToData','markers','isAtStart','suggestion','getRevisionData','repository','requires','then','abs','_removeMissingPairs','26785NWbxns','getAttribute','target','catch','rootName','isOnRoot','marked','showNextChange','revision-comment:','_getRevisionsRange','addClass','_findChangeIdFromDomTarget','_makeModelFromTape','index','adapter','slice','loadRevisionData','ck-suggestion-preview-marker','low','elementEnd','_initInteractions','_removeUnsupportedChanges','isInline','upcast','startIndex','ck-editor__editable__overlay','unshift','markerRange','_changeView','span','isOfficialPlugin','comment','element','_makeTape','isReady','ck-suggestion-marker-merge','getDomRoot','restoreRevision','restoreRevisionCallback','ck-revision-history-root-add','domEvent','next','resolve','locale','plugins','splice','addMarker:revision-suggestion:deletion','bind','error','left','getAttributes','showStack','_cleanMarkers','side','split','ck-suggestion-marker-split','endIndex','editor','destroy','isAtEnd','merge','findIndex','_markMismatchedRemovedTags','enableReadOnlyMode','markersEnd','addMarker:revision-suggestion:insertion','_setConversion','data-revision-','_processTape','ck-suggestion-marker-','pluginName','length','change:activeView','insertions','pairId','consume','isLimit','text','-new','conversion','dataToMarker','remove','has','isRemoved','revision:','addRoot','createUIElement','clear','_setChanges','unbindElementFromMarkerName','previousPosition','change:numberOfChanges','_markSuggestions','modelRange','toModel','oldRevisionId','set','first','isObject','distance','find','push','dataDowncast','getRootNames','offsetSize','activeView','init','insertion','isBlock','mapper','removeClass','getRoot','markerName','add','isContent','revisionHistoryLabel','markerToHighlight','bindElementToMarker','object','getClientRects','2305574EozHuS','view','viewItem','36ynMkSJ','createPositionFromPath','highest','collaboration.channelId','addRevision','getRevisionRootsAttributes','markersStart','_revisions','data','forceDisabled','RevisionsRepository','isAddSuggestion','map','addHighlight','_update','changeId','_removeRevisionMarkers','isBefore','isPremiumPlugin','shift','isNavigationMode','data-change-id','domConverter','change:activeChange','getIndex','enqueueChange','deletions','isIncorrect','all','deletion','indexOf','pop','elementStart'];_0x7906=function(){return _0x25563d;};return _0x7906();}import{ContextualBalloon as _0x30f7b4}from'ckeditor5/src/ui.js';function _0x1381(_0x67319b,_0x4c916f){const _0x790690=_0x7906();return _0x1381=function(_0x138181,_0xd049cb){_0x138181=_0x138181-0x118;let _0x38995d=_0x790690[_0x138181];return _0x38995d;},_0x1381(_0x67319b,_0x4c916f);}import{DocumentFragment as _0xd2d666,Element as _0x2c5ca9,Text as _0x59be49,ViewDocumentFragment as _0x1108e3,ViewText as _0x18cf33,ViewElement as _0x2b5ec8,ViewContainerElement as _0x4dbf8a,ViewAttributeElement as _0x24d5c1,ViewEmptyElement as _0x5c5b3d,ViewRawElement as _0x488179,ViewUIElement as _0x33e8c5}from'ckeditor5/src/engine.js';import{Users as _0x25fb32,getMarkerDomElement as _0x335b18}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x32b6e9 from'./ui/revisionviewer/changedetailsview.js';import _0x562ab6 from'./revisionsrepository.js';import _0x510b09 from'./changeitem.js';import{default as _0x1dee99}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x215667}from'lodash-es';const tt={'c':_0x4dbf8a,'a':_0x24d5c1,'e':_0x5c5b3d,'r':_0x488179,'u':_0x33e8c5};export default class d extends _0x27ccd3{static get[_0x160826(0x1dd)](){const _0x753664=_0x160826;return _0x753664(0x118);}static get[_0x160826(0x1b5)](){return!0x0;}static get[_0x160826(0x224)](){return!0x0;}static get[_0x160826(0x193)](){return[_0x25fb32,_0x30f7b4,_0x562ab6];}constructor(_0xb07d02){const _0x58ce39=_0x160826;super(_0xb07d02),this[_0x58ce39(0x192)]=this[_0x58ce39(0x1d0)][_0x58ce39(0x1c3)][_0x58ce39(0x259)](_0x58ce39(0x21c)),this[_0x58ce39(0x1f7)](_0x58ce39(0x239),null),this[_0x58ce39(0x1f7)](_0x58ce39(0x200),null),this[_0x58ce39(0x264)]=null,this[_0x58ce39(0x1f7)](_0x58ce39(0x241),null),this[_0x58ce39(0x1f7)](_0x58ce39(0x1b9),!0x1),this[_0x58ce39(0x1f7)](_0x58ce39(0x160),!0x0),this['on'](_0x58ce39(0x235),(_0xe2763d,_0x378a2c,_0x19a5d6)=>{const _0x3ad6f9=_0x58ce39;this[_0x3ad6f9(0x239)]=null,this[_0x3ad6f9(0x200)]=null,this[_0x3ad6f9(0x1d0)][_0x3ad6f9(0x258)][_0x3ad6f9(0x210)][_0x3ad6f9(0x23d)](_0x1934bb=>{const _0x450722=_0x3ad6f9;for(const _0x2897e2 of this[_0x450722(0x1d0)][_0x450722(0x258)][_0x450722(0x210)][_0x450722(0x15a)][_0x450722(0x17b)])_0x19a5d6?_0x1934bb[_0x450722(0x205)](_0x450722(0x1b0),_0x2897e2):_0x1934bb[_0x450722(0x1a1)](_0x450722(0x1b0),_0x2897e2);});}),this[_0x58ce39(0x1c6)](_0x58ce39(0x226))['to'](this,_0x58ce39(0x239),_0x332a4a=>null!==_0x332a4a),this[_0x58ce39(0x1c6)](_0x58ce39(0x17a))['to'](this,_0x58ce39(0x1b9),this,_0x58ce39(0x241),this,_0x58ce39(0x239),(_0x3be080,_0x25abf7,_0x19f2dd)=>_0x3be080&&_0x19f2dd?_0x25abf7[_0x58ce39(0x12c)][_0x58ce39(0x22a)](_0x19f2dd):0x0),this[_0x58ce39(0x1c6)](_0x58ce39(0x134))['to'](this,_0x58ce39(0x1b9),this,_0x58ce39(0x241),(_0x3e2cae,_0x359b14)=>_0x3e2cae?_0x359b14[_0x58ce39(0x12c)][_0x58ce39(0x1de)]:0x0),this[_0x58ce39(0x1b3)]=null,this[_0x58ce39(0x128)]=new Map(),this[_0x58ce39(0x1a5)]=null,this[_0x58ce39(0x23c)]=this[_0x58ce39(0x1d0)][_0x58ce39(0x1c3)][_0x58ce39(0x259)](_0x30f7b4);}[_0x160826(0x201)](){const _0x325f15=_0x160826,_0x2efa09=this[_0x325f15(0x1d0)],_0xe3c8fc=new ShowChangeCommand(_0x2efa09,{'direction':_0x325f15(0x256)}),_0x73aac5=new ShowChangeCommand(_0x2efa09,{'direction':_0x325f15(0x130)});(_0x2efa09[_0x325f15(0x25e)][_0x325f15(0x208)](_0x325f15(0x131),_0xe3c8fc),_0x2efa09[_0x325f15(0x25e)][_0x325f15(0x208)](_0x325f15(0x19e),_0x73aac5),_0x2efa09[_0x325f15(0x25e)][_0x325f15(0x208)](_0x325f15(0x1bc),new RestoreRevisionCommand(_0x2efa09)),this['on'](_0x325f15(0x1f2),()=>{const _0x4877c9=_0x325f15;_0xe3c8fc[_0x4877c9(0x156)](),_0x73aac5[_0x4877c9(0x156)]();}),this[_0x325f15(0x1d9)](),this[_0x325f15(0x1ab)](),_0x2efa09[_0x325f15(0x1d6)](_0x325f15(0x24b)),_0x2efa09[_0x325f15(0x1c3)][_0x325f15(0x1e9)](_0x325f15(0x11d)))&&_0x2efa09[_0x325f15(0x1c3)][_0x325f15(0x259)](_0x325f15(0x11d))[_0x325f15(0x21b)](_0x325f15(0x24b));}async[_0x160826(0x191)](_0x51ef1f){const _0xe74c54=_0x160826;await this[_0xe74c54(0x1a7)](_0x51ef1f);const _0x37ce76={};for(const _0x516e03 in _0x51ef1f[_0xe74c54(0x14b)]){if(_0x51ef1f[_0xe74c54(0x14b)][_0x516e03][_0xe74c54(0x242)]&&!_0x51ef1f[_0xe74c54(0x14b)][_0x516e03][_0xe74c54(0x242)][_0xe74c54(0x153)])continue;const _0x54f0e3=this[_0xe74c54(0x222)](JSON[_0xe74c54(0x24f)](_0x51ef1f[_0xe74c54(0x14b)][_0x516e03][_0xe74c54(0x1e0)])),_0x2d3728=this[_0xe74c54(0x1d0)][_0xe74c54(0x258)][_0xe74c54(0x210)][_0xe74c54(0x15a)],_0x350cb6=new _0x1108e3(_0x2d3728,_0x54f0e3[_0xe74c54(0x21e)](_0x34df67=>this[_0xe74c54(0x267)](_0x34df67)));this[_0xe74c54(0x1d0)][_0xe74c54(0x21a)][_0xe74c54(0x176)][_0xe74c54(0x155)](_0xe74c54(0x19d)),_0x37ce76[_0x516e03]=this[_0xe74c54(0x1d0)][_0xe74c54(0x21a)][_0xe74c54(0x176)][_0xe74c54(0x120)](_0x350cb6),this[_0xe74c54(0x1d0)][_0xe74c54(0x21a)][_0xe74c54(0x176)][_0xe74c54(0x155)](_0xe74c54(0x141));}return _0x37ce76;}async[_0x160826(0x217)](_0x4d31e7){const _0x279892=_0x160826;await this[_0x279892(0x1a7)](_0x4d31e7);const _0x7ee81e={};for(const _0x530bf9 in _0x4d31e7[_0x279892(0x14b)])_0x4d31e7[_0x279892(0x14b)][_0x530bf9][_0x279892(0x242)]&&!_0x4d31e7[_0x279892(0x14b)][_0x530bf9][_0x279892(0x242)][_0x279892(0x153)]||(_0x7ee81e[_0x530bf9]=_0x4d31e7[_0x279892(0x14b)][_0x530bf9][_0x279892(0x251)]||{});return _0x7ee81e;}[_0x160826(0x222)](_0x247b89){const _0x2d346f=_0x160826;return(_0x247b89=_0x247b89[_0x2d346f(0x138)](_0x1e7442=>!_0x1e7442[_0x2d346f(0x18a)]||_0x2d346f(0x159)!==_0x1e7442[_0x2d346f(0x18a)]&&_0x2d346f(0x12d)!==_0x1e7442[_0x2d346f(0x18a)]))[_0x2d346f(0x165)](_0x133378=>{const _0x3e4010=_0x2d346f;_0x3e4010(0x132)!=typeof _0x133378&&(_0x133378[_0x3e4010(0x253)]=this[_0x3e4010(0x222)](_0x133378[_0x3e4010(0x253)]),_0x133378[_0x3e4010(0x166)]=_0x133378[_0x3e4010(0x166)][_0x3e4010(0x138)](_0x2fa5e2=>!_0x2fa5e2[0x0][_0x3e4010(0x135)](_0x3e4010(0x1da))));}),_0x247b89;}async[_0x160826(0x25b)](_0x11618f,_0x14857a,_0x3d42f5=!0x1){const _0x41e664=_0x160826;if(!this[_0x41e664(0x160)])return;const _0x11fea1=this[_0x41e664(0x241)],_0x36ed9f=this[_0x41e664(0x192)],_0x110e78=_0x41e664(0x132)==typeof _0x11618f?_0x36ed9f[_0x41e664(0x266)](_0x11618f):_0x11618f,_0x12323f=_0x41e664(0x132)==typeof _0x14857a?_0x36ed9f[_0x41e664(0x266)](_0x14857a):_0x14857a,_0x4c3e56=_0x110e78['id'],_0x1a13f9=_0x12323f?_0x12323f['id']:null;if(!_0x3d42f5&&this[_0x41e664(0x241)]&&this[_0x41e664(0x241)][_0x41e664(0x13e)]===_0x4c3e56&&this[_0x41e664(0x241)][_0x41e664(0x1f6)]===_0x1a13f9)return Promise[_0x41e664(0x1c1)]();this[_0x41e664(0x1b9)]=!0x1,this[_0x41e664(0x200)]=null,this[_0x41e664(0x239)]=null,this[_0x41e664(0x241)]=new _0x1dee99(_0x4c3e56,_0x1a13f9);const _0x148713=this[_0x41e664(0x1a0)](_0x110e78,_0x12323f,!0x0)[_0x41e664(0x21e)](_0x4d2faa=>this[_0x41e664(0x1a7)](_0x4d2faa));return _0x148713[_0x41e664(0x1fc)](new Promise(_0x57dde0=>{setTimeout(_0x57dde0,0x14);})),Promise[_0x41e664(0x22e)](_0x148713)[_0x41e664(0x194)](()=>{const _0x3ba4bb=_0x41e664;if(!this[_0x3ba4bb(0x160)])return;this[_0x3ba4bb(0x14a)]();const _0x3e54d9=this[_0x3ba4bb(0x15d)](_0x4c3e56,_0x1a13f9);for(const _0x34e415 of _0x3e54d9[_0x3ba4bb(0x12c)])this[_0x3ba4bb(0x128)][_0x3ba4bb(0x1f7)](_0x34e415['id'],_0x34e415);this[_0x3ba4bb(0x1d0)][_0x3ba4bb(0x247)][_0x3ba4bb(0x22b)]({'isUndoable':!0x1},_0x462c4a=>{const _0x4368ad=_0x3ba4bb;for(const _0x121a5d of this[_0x4368ad(0x1d0)][_0x4368ad(0x247)][_0x4368ad(0x15a)][_0x4368ad(0x1fe)]())_0x462c4a[_0x4368ad(0x151)](_0x121a5d);for(const _0x195fea of Object[_0x4368ad(0x143)](_0x3e54d9[_0x4368ad(0x247)])){const _0x204c90=_0x462c4a[_0x4368ad(0x1ec)](_0x195fea);for(const _0x190990 of Object[_0x4368ad(0x143)](_0x3e54d9[_0x4368ad(0x166)][_0x195fea]))_0x462c4a[_0x4368ad(0x15c)](_0x190990,_0x3e54d9[_0x4368ad(0x166)][_0x195fea][_0x190990],_0x204c90);_0x462c4a[_0x4368ad(0x149)](_0x3e54d9[_0x4368ad(0x247)][_0x195fea],_0x204c90,0x0);}}),this[_0x3ba4bb(0x241)][_0x3ba4bb(0x1ef)](this[_0x3ba4bb(0x236)](_0x3e54d9[_0x3ba4bb(0x12c)])),this[_0x3ba4bb(0x1b9)]=!0x0;})[_0x41e664(0x19a)](_0x4f9326=>{const _0x3c3337=_0x41e664;console[_0x3c3337(0x1c7)](_0x4f9326),this[_0x3c3337(0x14a)](),_0x11fea1&&(this[_0x3c3337(0x241)]=_0x11fea1),this[_0x3c3337(0x1b9)]=!0x0;});}[_0x160826(0x11b)](_0x458a3f,_0x510a5f){const _0x3edc3c=_0x160826,_0x1866c8=this[_0x3edc3c(0x192)][_0x3edc3c(0x17c)](_0x458a3f);return _0x1866c8['on'](_0x3edc3c(0x220),(_0x2a9213,_0x13dc24,_0x36a0f2)=>_0x510a5f(_0x13dc24,_0x36a0f2,_0x1866c8)),this[_0x3edc3c(0x192)][_0x3edc3c(0x216)](_0x1866c8),_0x1866c8;}[_0x160826(0x1a7)](_0x44f2a0){const _0x4247a3=_0x160826;if(!_0x44f2a0||_0x44f2a0[_0x4247a3(0x14b)])return Promise[_0x4247a3(0x1c1)]();{const _0x32991c=this[_0x4247a3(0x1d0)][_0x4247a3(0x13f)][_0x4247a3(0x259)](_0x4247a3(0x215));return this[_0x4247a3(0x1a5)][_0x4247a3(0x266)]({'channelId':_0x32991c,'revisionId':_0x44f2a0['id']})[_0x4247a3(0x194)](_0x2d1c40=>{const _0x493eba=_0x4247a3;_0x44f2a0[_0x493eba(0x220)]({'diffData':_0x2d1c40[_0x493eba(0x14b)]},!0x0);});}}[_0x160826(0x14a)](){const _0x2767f5=_0x160826;this[_0x2767f5(0x239)]=null,this[_0x2767f5(0x1cb)](),this[_0x2767f5(0x1b3)]&&this[_0x2767f5(0x1b3)][_0x2767f5(0x1d1)](),this[_0x2767f5(0x1b3)]=null,this[_0x2767f5(0x128)][_0x2767f5(0x1ee)](),this[_0x2767f5(0x1d0)][_0x2767f5(0x247)][_0x2767f5(0x22b)]({'isUndoable':!0x1},_0x1e3c28=>{const _0x525845=_0x2767f5;for(const _0x3ac7cf of this[_0x525845(0x1d0)][_0x525845(0x247)][_0x525845(0x15a)][_0x525845(0x1fe)]())_0x1e3c28[_0x525845(0x151)](_0x3ac7cf);});}[_0x160826(0x236)](_0x3bcd03){const _0x33a8a9=_0x160826,_0x14da0f=[],_0x469edc=new Map();for(const _0x516d6b of this[_0x33a8a9(0x1d0)][_0x33a8a9(0x247)][_0x33a8a9(0x15a)][_0x33a8a9(0x1fe)]()){const _0x4b8d51=this[_0x33a8a9(0x1d0)][_0x33a8a9(0x258)][_0x33a8a9(0x210)][_0x33a8a9(0x1bb)](_0x516d6b);if(!_0x4b8d51)continue;const _0x541838=_0x4b8d51[_0x33a8a9(0x20e)]()[_0x33a8a9(0x254)](0x0);_0x541838&&(_0x14da0f[_0x33a8a9(0x1fc)](_0x516d6b),_0x469edc[_0x33a8a9(0x1f7)](_0x516d6b,_0x541838));}return _0x14da0f[_0x33a8a9(0x23b)]((_0x424fa4,_0x154168)=>{const _0x40da39=_0x33a8a9,_0x2cf979=_0x469edc[_0x40da39(0x259)](_0x424fa4),_0x3fb0b=_0x469edc[_0x40da39(0x259)](_0x154168);return _0x2cf979['y']-_0x3fb0b['y']||_0x2cf979['x']-_0x3fb0b['x'];}),(_0x3bcd03=_0x3bcd03[_0x33a8a9(0x138)](_0x5ed83e=>_0x14da0f[_0x33a8a9(0x180)](_0x5ed83e[_0x33a8a9(0x19b)])))[_0x33a8a9(0x23b)]((_0x156c3b,_0x9ff00c)=>_0x14da0f[_0x33a8a9(0x230)](_0x156c3b[_0x33a8a9(0x19b)])-_0x14da0f[_0x33a8a9(0x230)](_0x9ff00c[_0x33a8a9(0x19b)])),_0x3bcd03;}[_0x160826(0x1b8)](_0x4d74b4){const _0x21dbcc=_0x160826,_0x4ec5e4=Array[_0x21dbcc(0x164)](_0x4d74b4[_0x21dbcc(0x18e)])[_0x21dbcc(0x138)](([_0x4b4219,_0x34d5d5])=>_0x4b4219[_0x21dbcc(0x135)](_0x21dbcc(0x1eb))&&!_0x34d5d5[_0x21dbcc(0x125)]),_0x44942f=Array[_0x21dbcc(0x164)](this[_0x21dbcc(0x1d0)][_0x21dbcc(0x247)][_0x21dbcc(0x119)](_0x4d74b4)[_0x21dbcc(0x152)]({'singleCharacters':!0x0}));if(0x0!=_0x4ec5e4[_0x21dbcc(0x1de)])for(const _0x9c3fb5 of _0x44942f){const [_0x5b4f26,_0x37ed6d]=_0x4ec5e4[0x0],[,_0x31d79b,_0x51f697]=_0x5b4f26[_0x21dbcc(0x1cd)](':');if(_0x37ed6d[_0x21dbcc(0x142)][_0x21dbcc(0x12b)](_0x9c3fb5[_0x21dbcc(0x129)])&&_0x4ec5e4[_0x21dbcc(0x225)](),(_0x9c3fb5[_0x21dbcc(0x1f1)][_0x21dbcc(0x12b)](_0x37ed6d[_0x21dbcc(0x139)])||_0x9c3fb5[_0x21dbcc(0x1f1)][_0x21dbcc(0x243)](_0x37ed6d[_0x21dbcc(0x139)]))&&(_0x21dbcc(0x202)==_0x31d79b?_0x9c3fb5[_0x21dbcc(0x260)]={'userId':_0x51f697}:_0x21dbcc(0x22f)==_0x31d79b&&(_0x9c3fb5[_0x21dbcc(0x1ea)]={'userId':_0x51f697})),0x0==_0x4ec5e4[_0x21dbcc(0x1de)])break;}return _0x44942f;}[_0x160826(0x187)](_0x412c64){const _0x2b1db1=_0x160826,_0x1457f4=new Map();for(let _0x4497cc=0x0;_0x4497cc<_0x412c64[_0x2b1db1(0x1de)];_0x4497cc++)_0x2b1db1(0x1e4)===_0x412c64[_0x4497cc][_0x2b1db1(0x234)]?(_0x412c64[_0x4497cc][_0x2b1db1(0x254)][_0x2b1db1(0x1af)]=_0x4497cc,_0x412c64[_0x4497cc][_0x2b1db1(0x254)][_0x2b1db1(0x1cf)]=_0x4497cc):(_0x2b1db1(0x232)===_0x412c64[_0x4497cc][_0x2b1db1(0x234)]?_0x412c64[_0x4497cc][_0x2b1db1(0x254)][_0x2b1db1(0x1af)]=_0x4497cc:_0x2b1db1(0x1aa)===_0x412c64[_0x4497cc][_0x2b1db1(0x234)]&&(_0x412c64[_0x4497cc][_0x2b1db1(0x254)][_0x2b1db1(0x1cf)]=_0x4497cc),_0x1457f4[_0x2b1db1(0x1f7)](_0x412c64[_0x4497cc]['id'],_0x4497cc));for(const _0x593840 of _0x1457f4[_0x2b1db1(0x246)]())_0x2b1db1(0x232)===_0x412c64[_0x593840][_0x2b1db1(0x234)]?_0x412c64[_0x593840][_0x2b1db1(0x254)][_0x2b1db1(0x1cf)]=_0x1457f4[_0x2b1db1(0x259)](_0x412c64[_0x593840][_0x2b1db1(0x1e1)]):_0x2b1db1(0x1aa)===_0x412c64[_0x593840][_0x2b1db1(0x234)]&&(_0x412c64[_0x593840][_0x2b1db1(0x254)][_0x2b1db1(0x1af)]=_0x1457f4[_0x2b1db1(0x259)](_0x412c64[_0x593840][_0x2b1db1(0x1e1)]));}[_0x160826(0x1db)](_0x59e32d){const _0x2616cd=_0x160826;for(let _0x5cfefd=0x0;_0x5cfefd<_0x59e32d[_0x2616cd(0x1de)];_0x5cfefd++){if(_0x2616cd(0x232)===_0x59e32d[_0x5cfefd][_0x2616cd(0x234)])_0x59e32d[_0x5cfefd][_0x2616cd(0x254)][_0x2616cd(0x1af)]=_0x5cfefd;else{if(_0x2616cd(0x1aa)===_0x59e32d[_0x5cfefd][_0x2616cd(0x234)]){_0x59e32d[_0x5cfefd][_0x2616cd(0x254)][_0x2616cd(0x1cf)]=_0x5cfefd;const _0x5dd244=_0x59e32d[_0x5cfefd][_0x2616cd(0x254)][_0x2616cd(0x1af)];_0x59e32d[_0x5dd244][_0x2616cd(0x1e1)]=_0x59e32d[_0x5cfefd]['id'],_0x59e32d[_0x5cfefd][_0x2616cd(0x1e1)]=_0x59e32d[_0x5dd244]['id'];}else _0x59e32d[_0x5cfefd][_0x2616cd(0x254)][_0x2616cd(0x1af)]=_0x5cfefd,_0x59e32d[_0x5cfefd][_0x2616cd(0x254)][_0x2616cd(0x1cf)]=_0x5cfefd,_0x59e32d[_0x5cfefd][_0x2616cd(0x1e1)]=null;}_0x59e32d[_0x5cfefd][_0x2616cd(0x218)]||(_0x59e32d[_0x5cfefd][_0x2616cd(0x218)]=[],_0x59e32d[_0x5cfefd][_0x2616cd(0x1d7)]=[]);}}[_0x160826(0x145)](_0x5aa787,_0x54a9df){const _0x52a578=_0x160826,_0x3821e9=_0x5aa787[_0x52a578(0x138)](_0x377b43=>!_0x377b43[_0x52a578(0x260)]);for(let _0x2c0de8=0x0;_0x2c0de8<_0x54a9df[_0x52a578(0x1de)];_0x2c0de8++)_0x54a9df[_0x2c0de8][_0x52a578(0x260)]&&(_0x3821e9[_0x2c0de8][_0x52a578(0x260)]=_0x54a9df[_0x2c0de8][_0x52a578(0x260)]);}[_0x160826(0x168)](_0xb04989){const _0x5baff4=_0x160826,_0x584f26=JSON[_0x5baff4(0x24f)](_0xb04989),_0x4535ff=this[_0x5baff4(0x1d0)][_0x5baff4(0x258)][_0x5baff4(0x210)][_0x5baff4(0x15a)],_0x5c226b=new _0x1108e3(_0x4535ff,_0x584f26[_0x5baff4(0x21e)](_0x1f62ff=>this[_0x5baff4(0x267)](_0x1f62ff)));return this[_0x5baff4(0x1d0)][_0x5baff4(0x21a)][_0x5baff4(0x1f5)](_0x5c226b);}[_0x160826(0x267)](_0x2f446f){const _0x526937=_0x160826,_0xe0fe44=this[_0x526937(0x1d0)][_0x526937(0x258)][_0x526937(0x210)][_0x526937(0x15a)];if(_0x526937(0x132)==typeof _0x2f446f)return new _0x18cf33(_0xe0fe44,_0x2f446f);{const _0x55ca80=_0x2f446f[_0x526937(0x253)][_0x526937(0x21e)](_0x29e293=>this[_0x526937(0x267)](_0x29e293));return new(tt[_0x2f446f[(_0x526937(0x234))]]||_0x2b5ec8)(_0xe0fe44,_0x2f446f[_0x526937(0x18a)],_0x2f446f[_0x526937(0x166)],_0x55ca80);}}[_0x160826(0x15d)](_0x5a24db,_0x2260a8=null){const _0xad7203=_0x160826,_0x409a36=this[_0xad7203(0x192)][_0xad7203(0x266)](_0x5a24db),_0x2fa111=_0x2260a8?this[_0xad7203(0x192)][_0xad7203(0x266)](_0x2260a8):null,_0x5666f2=this[_0xad7203(0x1a0)](_0x409a36,_0x2fa111),_0x599fbc=_0x5666f2[_0x5666f2[_0xad7203(0x1de)]-0x1],_0x37ef34=new Map(),_0x407a20={'model':{},'attributes':{},'changes':[]},_0x234c75=new Set(),_0x283de1=new Map();for(let _0x52907f=_0x5666f2[_0xad7203(0x1de)]-0x1;_0x52907f>=0x0;_0x52907f--){const _0x7315fc=_0x5666f2[_0x52907f];for(const _0x28a719 of Object[_0xad7203(0x143)](_0x7315fc[_0xad7203(0x14b)]))if(_0x7315fc[_0xad7203(0x14b)][_0x28a719][_0xad7203(0x242)]){const _0xb7f33c=_0x7315fc[_0xad7203(0x14b)][_0x28a719][_0xad7203(0x242)];_0xb7f33c[_0xad7203(0x153)]?(_0x234c75[_0xad7203(0x208)](_0x28a719),_0x283de1[_0xad7203(0x1e9)](_0x28a719)&&_0x283de1[_0xad7203(0x259)](_0x28a719)[_0xad7203(0x11f)]==_0xb7f33c[_0xad7203(0x11f)]?_0x283de1[_0xad7203(0x16a)](_0x28a719):_0x283de1[_0xad7203(0x1f7)](_0x28a719,_0xb7f33c)):_0x283de1[_0xad7203(0x1e9)](_0x28a719)?(_0x234c75[_0xad7203(0x16a)](_0x28a719),_0x283de1[_0xad7203(0x16a)](_0x28a719)):(_0x234c75[_0xad7203(0x208)](_0x28a719),_0x283de1[_0xad7203(0x1f7)](_0x28a719,_0xb7f33c));}else _0x234c75[_0xad7203(0x208)](_0x28a719);}for(const _0x375905 of _0x234c75){const _0x389a02=_0x283de1[_0xad7203(0x1e9)](_0x375905)&&!_0x283de1[_0xad7203(0x259)](_0x375905)[_0xad7203(0x153)];let _0x5d7a08=_0x389a02?_0x5666f2[_0xad7203(0x1de)]-0x1:0x0;const _0x411936=_0x389a02?-0x1:0x1;for(;_0x5666f2[_0x5d7a08];){const _0x326e67=_0x5666f2[_0x5d7a08];if(_0x326e67[_0xad7203(0x14b)][_0x375905]){const _0x1ace1d=_0x389a02?_0x326e67[_0xad7203(0x14b)][_0x375905][_0xad7203(0x238)]:_0x326e67[_0xad7203(0x14b)][_0x375905][_0xad7203(0x251)];_0x407a20[_0xad7203(0x166)][_0x375905]=_0x1ace1d?_0x215667(_0x1ace1d):{};break;}_0x5d7a08+=_0x411936;}}for(const _0x37a013 of _0x5666f2){_0x37a013[_0xad7203(0x247)]={};for(const _0x1ce643 of _0x37a013[_0xad7203(0x13d)])_0x37ef34[_0xad7203(0x1f7)](_0x1ce643['id'],_0x1ce643);for(const _0x50de78 of _0x234c75){const _0x3ae6bd=_0x37a013[_0xad7203(0x14b)][_0x50de78]?_0x37a013[_0xad7203(0x14b)][_0x50de78][_0xad7203(0x1e0)]:'[]',_0x4f3b58=_0x37a013[_0xad7203(0x14b)][_0x50de78]?_0x37a013[_0xad7203(0x14b)][_0x50de78][_0xad7203(0x22c)]:'[]';_0x37a013[_0xad7203(0x247)][_0x50de78]={'insertions':this[_0xad7203(0x168)](_0x3ae6bd),'deletions':this[_0xad7203(0x168)](_0x4f3b58)};}}for(const _0x5ab285 of _0x234c75){let _0xdc715a=null,_0x12cd2e=0x0;const _0x20937c=new Map(Array[_0xad7203(0x164)](_0x409a36[_0xad7203(0x247)][_0x5ab285][_0xad7203(0x1e0)][_0xad7203(0x18e)])[_0xad7203(0x138)](([_0x205f15])=>!_0x205f15[_0xad7203(0x135)](_0xad7203(0x1eb))));let _0x3d6d3b=0x0;for(const _0x328d1c of _0x5666f2){const _0x2db088=this[_0xad7203(0x1b8)](_0x328d1c[_0xad7203(0x247)][_0x5ab285][_0xad7203(0x1e0)]);_0x328d1c==_0x409a36?(_0xdc715a=_0x2db088,_0x12cd2e=_0xdc715a[_0xad7203(0x1de)],_0xdc715a[_0xad7203(0x165)](_0x5cbd4c=>{_0x5cbd4c['id']=_0x3d6d3b++;}),this[_0xad7203(0x1db)](_0xdc715a)):this[_0xad7203(0x145)](_0xdc715a,_0x2db088);const _0x5f33bb=_0xdc715a[_0xad7203(0x138)](_0x3e54e1=>!_0x3e54e1[_0xad7203(0x260)])[_0xad7203(0x21e)](_0x5bfc38=>_0x5bfc38['id']);let _0x353baf=0x0;const _0x26a50f=this[_0xad7203(0x1b8)](_0x328d1c[_0xad7203(0x247)][_0x5ab285][_0xad7203(0x22c)]);_0x26a50f[_0xad7203(0x165)](_0x81944a=>{const _0x1cd52a=_0xad7203;_0x81944a[_0x1cd52a(0x1ea)]?_0x81944a['id']=_0x12cd2e++:_0x81944a['id']=_0x5f33bb[_0x353baf++];}),this[_0xad7203(0x1db)](_0x26a50f),this[_0xad7203(0x183)](_0xdc715a,_0xad7203(0x260)),this[_0xad7203(0x183)](_0x26a50f,_0xad7203(0x1ea)),_0x328d1c==_0x409a36&&this[_0xad7203(0x233)](_0xdc715a,_0x20937c),_0xdc715a=this[_0xad7203(0x25a)](_0xdc715a,_0x26a50f),this[_0xad7203(0x187)](_0xdc715a),this[_0xad7203(0x183)](_0xdc715a,_0xad7203(0x1ea));}_0xdc715a=_0xdc715a[_0xad7203(0x138)](_0x51cf65=>!(_0x51cf65[_0xad7203(0x260)]&&_0x51cf65[_0xad7203(0x1ea)]));const _0x34fccf=new Map(_0x599fbc[_0xad7203(0x247)][_0x5ab285][_0xad7203(0x22c)][_0xad7203(0x18e)]),_0x5440ea=new Set(_0x20937c[_0xad7203(0x143)]());for(const _0x10b720 of _0x34fccf[_0xad7203(0x143)]())_0x5440ea[_0xad7203(0x16a)](_0x10b720);this[_0xad7203(0x1f3)](_0xdc715a,_0x5440ea),this[_0xad7203(0x186)](_0xdc715a),_0xdc715a=this[_0xad7203(0x196)](_0xdc715a),_0xdc715a=this[_0xad7203(0x1d5)](_0xdc715a),_0xdc715a=this[_0xad7203(0x1ac)](_0xdc715a);const {root:_0x3b497a,changes:_0x2877b4}=this[_0xad7203(0x1a3)](_0xdc715a,_0x37ef34,_0x5ab285);_0x407a20[_0xad7203(0x247)][_0x5ab285]=_0x3b497a;const _0x43691c=_0x283de1[_0xad7203(0x259)](_0x5ab285);if(_0x43691c){const _0x2f6477=_0x37ef34[_0xad7203(0x259)](_0x43691c[_0xad7203(0x11f)]),_0x53bba0=new _0x510b09({'author':_0x2f6477,'type':_0x43691c[_0xad7203(0x153)]?_0xad7203(0x208):_0xad7203(0x1e8),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5ab285});_0x2877b4[_0xad7203(0x1b1)](_0x53bba0),_0x407a20[_0xad7203(0x166)][_0x5ab285][_0xad7203(0x23f)]=_0x53bba0['id'];}_0x407a20[_0xad7203(0x12c)]=_0x407a20[_0xad7203(0x12c)][_0xad7203(0x122)](_0x2877b4);}return _0x407a20;}[_0x160826(0x233)](_0x223c10,_0x4fa02f){const _0x530134=_0x160826;for(let _0x2e67c2=0x0;_0x2e67c2<_0x223c10[_0x530134(0x1de)];_0x2e67c2++)for(const [_0x33e91f,_0x4ed616]of _0x4fa02f)_0x4ed616[_0x530134(0x139)][_0x530134(0x12b)](_0x223c10[_0x2e67c2][_0x530134(0x1f1)])&&_0x223c10[_0x2e67c2][_0x530134(0x218)][_0x530134(0x1fc)](_0x33e91f),_0x4ed616[_0x530134(0x142)][_0x530134(0x12b)](_0x223c10[_0x2e67c2][_0x530134(0x129)])&&_0x223c10[_0x2e67c2][_0x530134(0x1d7)][_0x530134(0x1fc)](_0x33e91f);}[_0x160826(0x25a)](_0x4d9f98,_0x1ae40a){const _0x27c70e=_0x160826;let _0x110627=[],_0x58194a=0x0,_0x308084=0x0;for(;_0x58194a<_0x4d9f98[_0x27c70e(0x1de)]||_0x308084<_0x1ae40a[_0x27c70e(0x1de)];){const _0x1d2e5f=_0x4d9f98[_0x58194a]||{},_0x26b7e3=_0x1ae40a[_0x308084]||{};if(_0x1d2e5f['id']==_0x26b7e3['id'])_0x58194a++,_0x308084++,_0x110627[_0x27c70e(0x1fc)](_0x1d2e5f);else{if(_0x26b7e3[_0x27c70e(0x1ea)]&&_0x1d2e5f[_0x27c70e(0x260)]){const {commonTape:_0x579f90,iEnd:_0x3f6268,jEnd:_0x380422}=this[_0x27c70e(0x146)](_0x4d9f98,_0x58194a,_0x1ae40a,_0x308084);_0x110627=_0x110627[_0x27c70e(0x122)](_0x579f90),_0x58194a=_0x3f6268,_0x308084=_0x380422;}else _0x26b7e3[_0x27c70e(0x1ea)]?(_0x308084++,_0x110627[_0x27c70e(0x1fc)](_0x26b7e3)):(_0x58194a++,_0x110627[_0x27c70e(0x1fc)](_0x1d2e5f));}}return _0x110627;}[_0x160826(0x1f3)](_0x19d514,_0xb2f2){const _0x3fbb4c=_0x160826,_0x18291f=[];for(let _0x7b6a6=0x0;_0x7b6a6<_0x19d514[_0x3fbb4c(0x1de)];_0x7b6a6++){for(let _0x1fa9f4=0x0;_0x1fa9f4<_0x19d514[_0x7b6a6][_0x3fbb4c(0x218)][_0x3fbb4c(0x1de)];_0x1fa9f4++){const _0x287f72=_0x19d514[_0x7b6a6][_0x3fbb4c(0x218)][_0x1fa9f4];if(!_0xb2f2[_0x3fbb4c(0x1e9)](_0x287f72))continue;const {group:_0xcad073,type:_0x4fa47f,authorId:_0x4cb446}=_0x15a8d6(_0x287f72);_0x3fbb4c(0x182)!=_0xcad073||_0x3fbb4c(0x202)!=_0x4fa47f&&_0x3fbb4c(0x22f)!=_0x4fa47f||(_0x18291f[_0x3fbb4c(0x1b1)]({'type':_0x4fa47f,'name':_0x287f72,'userId':_0x4cb446}),_0x19d514[_0x7b6a6][_0x3fbb4c(0x218)][_0x3fbb4c(0x1c4)](_0x1fa9f4,0x1),_0x1fa9f4--);}_0x2c631f(_0x19d514[_0x7b6a6]);for(let _0x1d8762=0x0;_0x1d8762<_0x19d514[_0x7b6a6][_0x3fbb4c(0x1d7)][_0x3fbb4c(0x1de)];_0x1d8762++){const _0x40f235=_0x19d514[_0x7b6a6][_0x3fbb4c(0x1d7)][_0x1d8762];if(!_0xb2f2[_0x3fbb4c(0x1e9)](_0x40f235))continue;const {group:_0x586f72,type:_0x1044c5}=_0x15a8d6(_0x40f235);if(_0x3fbb4c(0x182)!=_0x586f72||_0x3fbb4c(0x202)!=_0x1044c5&&_0x3fbb4c(0x22f)!=_0x1044c5)continue;_0x19d514[_0x7b6a6][_0x3fbb4c(0x1d7)][_0x3fbb4c(0x1c4)](_0x1d8762,0x1),_0x1d8762--;const _0x525e28=_0x18291f[_0x3fbb4c(0x1d4)](_0x3ce654=>_0x3ce654[_0x3fbb4c(0x18a)]==_0x40f235);_0x525e28>-0x1&&_0x18291f[_0x3fbb4c(0x1c4)](_0x525e28,0x1);}}function _0x15a8d6(_0x122dc9){const _0x32f673=_0x3fbb4c,_0x5aabcd=_0x122dc9[_0x32f673(0x1cd)](':');return{'group':_0x5aabcd[0x0],'type':_0x5aabcd[0x1],'subType':_0x5aabcd[_0x32f673(0x1de)]>=0x5?_0x5aabcd[0x2]:null,'id':_0x5aabcd[_0x32f673(0x1de)]<0x5?_0x5aabcd[0x2]:_0x5aabcd[0x3],'authorId':_0x5aabcd[_0x32f673(0x1de)]<0x5?_0x5aabcd[0x3]:_0x5aabcd[0x4],'markerCount':0x6==_0x5aabcd[_0x32f673(0x1de)]?_0x5aabcd[0x5]:null};}function _0x2c631f(_0x1af8ff){const _0x209987=_0x3fbb4c;for(let _0x503e43=0x0;_0x503e43<_0x18291f[_0x209987(0x1de)];_0x503e43++){if(_0x1af8ff[_0x209987(0x260)]&&_0x209987(0x202)==_0x18291f[_0x503e43][_0x209987(0x234)])return _0x1af8ff[_0x209987(0x21d)]=_0x18291f[_0x503e43],void delete _0x1af8ff[_0x209987(0x260)];if(!_0x1af8ff[_0x209987(0x260)]&&!_0x1af8ff[_0x209987(0x1ea)]&&_0x209987(0x22f)==_0x18291f[_0x503e43][_0x209987(0x234)])return void(_0x1af8ff[_0x209987(0x169)]=_0x18291f[_0x503e43]);}}}[_0x160826(0x183)](_0x15c0fb,_0xa2893){const _0x18330a=_0x160826;let _0x18f372=0x0,_0x1873f9=!0x1;const _0x26bfe6=new Map();for(const _0x15279b of _0x15c0fb)_0x15279b[_0xa2893]?_0x1873f9&&(_0x18f372++,_0x1873f9=!0x1):(_0x18f372++,_0x1873f9=!0x0),_0x26bfe6[_0x18330a(0x1f7)](_0x15279b['id'],_0x18f372);for(let _0x4ec9b3=0x0;_0x4ec9b3<_0x15c0fb[_0x18330a(0x1de)];_0x4ec9b3++){if(_0x18330a(0x1ea)==_0xa2893&&_0x15c0fb[_0x4ec9b3][_0x18330a(0x260)]||_0x18330a(0x260)==_0xa2893&&_0x15c0fb[_0x4ec9b3][_0x18330a(0x1ea)])continue;if(_0x18330a(0x1e4)==_0x15c0fb[_0x4ec9b3][_0x18330a(0x234)]){_0x15c0fb[_0x4ec9b3][_0x18330a(0x1fa)]=0x0;continue;}const _0x59b34e=_0x26bfe6[_0x18330a(0x259)](_0x15c0fb[_0x4ec9b3][_0x18330a(0x1e1)]),_0x3e2c60=_0x26bfe6[_0x18330a(0x259)](_0x15c0fb[_0x4ec9b3]['id']);_0x15c0fb[_0x4ec9b3][_0x18330a(0x1fa)]=_0x59b34e-_0x3e2c60;}}[_0x160826(0x1a0)](_0x3af3fc,_0x2a6470,_0x5eb5a9=!0x1){const _0x382f6f=_0x160826,_0x247a8b=[];let _0xc493b1=this[_0x382f6f(0x192)][_0x382f6f(0x22a)](_0x3af3fc),_0x2e3917=this[_0x382f6f(0x192)][_0x382f6f(0x22a)](_0x2a6470);for(-0x1==_0x2e3917&&(_0x2e3917=this[_0x382f6f(0x192)][_0x382f6f(0x219)][_0x382f6f(0x1de)],_0x5eb5a9=!0x1);_0xc493b1<_0x2e3917;)_0x247a8b[_0x382f6f(0x1fc)](this[_0x382f6f(0x192)][_0x382f6f(0x266)](_0xc493b1)),_0xc493b1++;return _0x5eb5a9&&_0x247a8b[_0x382f6f(0x1fc)](this[_0x382f6f(0x192)][_0x382f6f(0x266)](_0xc493b1)),_0x247a8b;}[_0x160826(0x146)](_0x541588,_0x5798f7,_0x4977c1,_0x32b25e){const _0x490b3b=_0x160826,_0x427adc=this[_0x490b3b(0x1d0)][_0x490b3b(0x247)][_0x490b3b(0x23e)];let _0x32d126=_0x5798f7;for(;_0x541588[_0x32d126]&&_0x541588[_0x32d126][_0x490b3b(0x260)];)_0x32d126++;let _0xd53eb4=_0x32b25e;for(;_0x4977c1[_0xd53eb4]&&_0x4977c1[_0xd53eb4][_0x490b3b(0x1ea)];)_0xd53eb4++;_0x3fc25e(_0x541588,_0x5798f7,_0x32d126),_0x3fc25e(_0x4977c1,_0x32b25e,_0xd53eb4);const _0x15e4ed=_0x4977c1[_0x490b3b(0x1a6)](_0x32b25e,_0xd53eb4)[_0x490b3b(0x122)](_0x541588[_0x490b3b(0x1a6)](_0x5798f7,_0x32d126));return _0x15e4ed[_0x490b3b(0x23b)]((_0x462204,_0x2c3f0d)=>_0x462204[_0x490b3b(0x1cc)]!=_0x2c3f0d[_0x490b3b(0x1cc)]?_0x462204[_0x490b3b(0x1cc)]-_0x2c3f0d[_0x490b3b(0x1cc)]:_0x462204[_0x490b3b(0x147)]!=_0x2c3f0d[_0x490b3b(0x147)]?_0x462204[_0x490b3b(0x147)]-_0x2c3f0d[_0x490b3b(0x147)]:_0x462204[_0x490b3b(0x1fa)]!=_0x2c3f0d[_0x490b3b(0x1fa)]?_0x2c3f0d[_0x490b3b(0x1fa)]-_0x462204[_0x490b3b(0x1fa)]:!!_0x462204[_0x490b3b(0x260)]!=!!_0x2c3f0d[_0x490b3b(0x260)]?-0x1==_0x462204[_0x490b3b(0x1cc)]||0x0==_0x462204[_0x490b3b(0x1cc)]?_0x462204[_0x490b3b(0x260)]?-0x1:0x1:_0x462204[_0x490b3b(0x260)]?0x1:-0x1:_0x462204[_0x490b3b(0x1a4)]-_0x2c3f0d[_0x490b3b(0x1a4)]),{'commonTape':_0x15e4ed,'iEnd':_0x32d126,'jEnd':_0xd53eb4};function _0x3fc25e(_0x30bf09,_0x2d9e63,_0x2ff791){const _0x18e324=_0x490b3b;let _0x581f71=-0x1,_0x47e61a=Number[_0x18e324(0x12f)],_0x3beca9=!0x0;for(let _0x25c23f=_0x2d9e63;_0x25c23f<_0x2ff791;_0x25c23f++)if(_0x427adc[_0x18e324(0x1ad)](_0x30bf09[_0x25c23f][_0x18e324(0x254)])||(_0x3beca9=!0x1),_0x30bf09[_0x25c23f][_0x18e324(0x254)][_0x18e324(0x1af)]<_0x2d9e63&&(_0x581f71=_0x25c23f),_0x30bf09[_0x25c23f][_0x18e324(0x254)][_0x18e324(0x1cf)]>=_0x2ff791){_0x47e61a=_0x25c23f;break;}_0x3beca9&&(_0x581f71=_0x2ff791-0x1);for(let _0x138c67=_0x2d9e63;_0x138c67<_0x2ff791;_0x138c67++)_0x30bf09[_0x138c67][_0x18e324(0x1cc)]=_0x138c67<=_0x581f71?-0x1:_0x138c67<_0x47e61a?0x0:0x1,_0x30bf09[_0x138c67][_0x18e324(0x1a4)]=_0x138c67;let _0x6e057e=0x0;for(let _0x4b1b3b=_0x2d9e63;_0x4b1b3b<=_0x581f71;_0x4b1b3b++)0x0==_0x30bf09[_0x4b1b3b][_0x18e324(0x1fa)]?_0x30bf09[_0x4b1b3b][_0x18e324(0x147)]=_0x6e057e:(_0x6e057e++,_0x30bf09[_0x4b1b3b][_0x18e324(0x147)]=_0x6e057e,_0x6e057e++);for(let _0x4c982d=_0x2d9e63;_0x4c982d<_0x2ff791;_0x4c982d++)0x0==_0x30bf09[_0x4c982d][_0x18e324(0x1cc)]&&(_0x30bf09[_0x4c982d][_0x18e324(0x147)]=_0x6e057e);_0x6e057e=0x0;for(let _0x4c4647=_0x2ff791-0x1;_0x4c4647>=_0x47e61a;_0x4c4647--)0x0==_0x30bf09[_0x4c4647][_0x18e324(0x1fa)]?_0x30bf09[_0x4c4647][_0x18e324(0x147)]=_0x6e057e:(_0x6e057e--,_0x30bf09[_0x4c4647][_0x18e324(0x147)]=_0x6e057e,_0x6e057e--);}}[_0x160826(0x186)](_0xa64667){const _0x144ce5=_0x160826,_0x2b8fd9=new Map(),_0x44e642=this[_0x144ce5(0x1d0)][_0x144ce5(0x247)][_0x144ce5(0x23e)];for(let _0x42ea68=0x1;_0x42ea68<_0xa64667[_0x144ce5(0x1de)];_0x42ea68++){let _0x199bde,_0x1e356b,_0x3c22fa;const _0x50c9c2=_0xa64667[_0x42ea68],_0x39427e=_0xa64667[_0x42ea68-0x1];if(_0x144ce5(0x1e4)==_0x50c9c2[_0x144ce5(0x234)])continue;if(_0x50c9c2[_0x144ce5(0x234)]!=_0x39427e[_0x144ce5(0x234)])continue;if(!_0x44e642[_0x144ce5(0x203)](_0x39427e[_0x144ce5(0x254)])||_0x44e642[_0x144ce5(0x1e3)](_0x39427e[_0x144ce5(0x254)]))continue;if(!_0x44e642[_0x144ce5(0x203)](_0x50c9c2[_0x144ce5(0x254)])||_0x44e642[_0x144ce5(0x1e3)](_0x50c9c2[_0x144ce5(0x254)]))continue;if((_0xa64667[_0x42ea68][_0x144ce5(0x260)]||_0xa64667[_0x42ea68][_0x144ce5(0x21d)])&&_0xa64667[_0x42ea68-0x1][_0x144ce5(0x1ea)])_0x199bde=_0xa64667[_0x42ea68],_0x1e356b=_0xa64667[_0x42ea68-0x1],_0x3c22fa=_0x42ea68-0x1;else{if(!_0xa64667[_0x42ea68][_0x144ce5(0x1ea)]||!_0xa64667[_0x42ea68-0x1][_0x144ce5(0x260)]&&!_0xa64667[_0x42ea68-0x1][_0x144ce5(0x21d)])continue;_0x199bde=_0xa64667[_0x42ea68-0x1],_0x1e356b=_0xa64667[_0x42ea68],_0x3c22fa=_0x42ea68;}const _0x1924f9=_0x199bde[_0x144ce5(0x147)]==_0x1e356b[_0x144ce5(0x147)],_0x259f30=Math[_0x144ce5(0x195)](_0x199bde[_0x144ce5(0x147)])<Math[_0x144ce5(0x195)](_0x1e356b[_0x144ce5(0x147)])&&0x0==_0x1e356b[_0x144ce5(0x1fa)];(_0x1924f9||_0x259f30)&&(_0x2b8fd9[_0x144ce5(0x1f7)](_0x1e356b['id'],_0x199bde['id']),_0xa64667[_0x144ce5(0x1c4)](_0x3c22fa,0x1),_0x42ea68--,_0x199bde[_0x144ce5(0x260)]=!0x1);}for(let _0x55cae1=0x0;_0x55cae1<_0xa64667[_0x144ce5(0x1de)];_0x55cae1++)_0x2b8fd9[_0x144ce5(0x1e9)](_0xa64667[_0x55cae1][_0x144ce5(0x1e1)])&&(_0xa64667[_0x55cae1][_0x144ce5(0x1e1)]=_0x2b8fd9[_0x144ce5(0x259)](_0xa64667[_0x55cae1][_0x144ce5(0x1e1)]));}[_0x160826(0x196)](_0x449b29){const _0x53b6d8=_0x160826,_0x3b22cc=new Set(_0x449b29[_0x53b6d8(0x21e)](_0x39da3a=>_0x39da3a['id']));for(let _0x3f4c89=0x0;_0x3f4c89<_0x449b29[_0x53b6d8(0x1de)];_0x3f4c89++)_0x3b22cc[_0x53b6d8(0x1e9)](_0x449b29[_0x3f4c89][_0x53b6d8(0x1e1)])||0x0==_0x449b29[_0x3f4c89][_0x53b6d8(0x1fa)]||(_0x449b29[_0x3f4c89][_0x53b6d8(0x22d)]=!0x0);return _0x449b29[_0x53b6d8(0x138)](_0x47ce4d=>!_0x47ce4d[_0x53b6d8(0x22d)]);}[_0x160826(0x1d5)](_0x4ac398){const _0x170045=_0x160826,_0x3885d1=new Set();for(let _0x1e5a0d=0x0;_0x1e5a0d<_0x4ac398[_0x170045(0x1de)];_0x1e5a0d++){if(_0x3885d1[_0x170045(0x1e9)](_0x4ac398[_0x1e5a0d]['id'])&&_0x4ac398[_0x1e5a0d][_0x170045(0x1ea)]&&(_0x4ac398[_0x1e5a0d][_0x170045(0x22d)]=!0x0),_0x4ac398[_0x1e5a0d][_0x170045(0x22d)])continue;if(0x0==_0x4ac398[_0x1e5a0d][_0x170045(0x1fa)])continue;if(_0x170045(0x232)!=_0x4ac398[_0x1e5a0d][_0x170045(0x234)])continue;if(null==_0x4ac398[_0x1e5a0d][_0x170045(0x1e1)])continue;let _0x2c806d=_0x1e5a0d+0x1,_0x4aadb0=0x0;for(;_0x4ac398[_0x2c806d]['id']!=_0x4ac398[_0x1e5a0d][_0x170045(0x1e1)];)_0x170045(0x232)==_0x4ac398[_0x2c806d][_0x170045(0x234)]?_0x4aadb0++:_0x170045(0x1aa)==_0x4ac398[_0x2c806d][_0x170045(0x234)]&&_0x4aadb0--,_0x2c806d++;if(0x0!=_0x4aadb0){if(_0x4ac398[_0x1e5a0d][_0x170045(0x1ea)])_0x4ac398[_0x1e5a0d][_0x170045(0x22d)]=!0x0;else{for(;_0x2c806d!=_0x1e5a0d;)_0x4ac398[_0x2c806d][_0x170045(0x1ea)]&&0x0!=_0x4ac398[_0x2c806d][_0x170045(0x1fa)]&&(_0x4ac398[_0x2c806d][_0x170045(0x22d)]=!0x0,_0x3885d1[_0x170045(0x208)](_0x4ac398[_0x2c806d][_0x170045(0x1e1)])),_0x2c806d--;}}}return _0x4ac398[_0x170045(0x138)](_0x34de07=>!_0x34de07[_0x170045(0x22d)]);}[_0x160826(0x1ac)](_0xaa0646){const _0x9f93d1=_0x160826,_0x2e72b0=this[_0x9f93d1(0x1d0)][_0x9f93d1(0x247)][_0x9f93d1(0x23e)];for(let _0x90f32c=0x0;_0x90f32c<_0xaa0646[_0x9f93d1(0x1de)];_0x90f32c++){if(!(_0xaa0646[_0x90f32c][_0x9f93d1(0x260)]||_0xaa0646[_0x90f32c][_0x9f93d1(0x21d)]||_0xaa0646[_0x90f32c][_0x9f93d1(0x1ea)]||_0xaa0646[_0x90f32c][_0x9f93d1(0x169)]))continue;if(0x0==_0xaa0646[_0x90f32c][_0x9f93d1(0x1fa)])continue;const _0x5b7408=_0xaa0646[_0x90f32c][_0x9f93d1(0x254)];_0x2e72b0[_0x9f93d1(0x203)](_0x5b7408)||_0x2e72b0[_0x9f93d1(0x1e3)](_0x5b7408)||(_0xaa0646[_0x90f32c][_0x9f93d1(0x260)]&&delete _0xaa0646[_0x90f32c][_0x9f93d1(0x260)],_0xaa0646[_0x90f32c][_0x9f93d1(0x21d)]&&delete _0xaa0646[_0x90f32c][_0x9f93d1(0x21d)],_0xaa0646[_0x90f32c][_0x9f93d1(0x169)]&&delete _0xaa0646[_0x90f32c][_0x9f93d1(0x169)],_0xaa0646[_0x90f32c][_0x9f93d1(0x1ea)]&&(_0xaa0646[_0x90f32c][_0x9f93d1(0x22d)]=!0x0));}return _0xaa0646[_0x9f93d1(0x138)](_0x36192d=>!_0x36192d[_0x9f93d1(0x22d)]);}[_0x160826(0x1a3)](_0x4522f5,_0x3faa9f,_0x56db35){const _0x32243e=_0x160826,_0x5aae43=new _0xd2d666(),_0x4c2726=[],_0x5e0b3c=new Map(),_0x1f2fa8=this[_0x32243e(0x1d0)][_0x32243e(0x247)],_0x15bb60=_0x1f2fa8[_0x32243e(0x23e)],_0x50dcae=[_0x5aae43],_0x4676a6={},_0xfbb342={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x9ae916=null;const _0x30812a=[0x0];for(let _0x4316fb=0x0;_0x4316fb<_0x4522f5[_0x32243e(0x1de)];_0x4316fb++)if(_0x32243e(0x232)===_0x4522f5[_0x4316fb][_0x32243e(0x234)]){_0x4522f5[_0x4316fb][_0x32243e(0x1f1)]=_0x1f2fa8[_0x32243e(0x213)](_0x5aae43,_0x30812a);const _0x5d2e7b=new _0x2c5ca9(_0x4522f5[_0x4316fb][_0x32243e(0x254)][_0x32243e(0x18a)],_0x4522f5[_0x4316fb][_0x32243e(0x254)][_0x32243e(0x1c9)]());_0x50dcae[0x0][_0x32243e(0x17e)](_0x5d2e7b),_0x30812a[_0x32243e(0x1fc)](0x0),_0x50dcae[_0x32243e(0x1b1)](_0x5d2e7b),_0x4522f5[_0x4316fb][_0x32243e(0x129)]=_0x1f2fa8[_0x32243e(0x213)](_0x5aae43,_0x30812a);}else _0x32243e(0x1aa)===_0x4522f5[_0x4316fb][_0x32243e(0x234)]?(_0x50dcae[_0x32243e(0x225)](),_0x4522f5[_0x4316fb][_0x32243e(0x1f1)]=_0x1f2fa8[_0x32243e(0x213)](_0x5aae43,_0x30812a),_0x30812a[_0x32243e(0x231)](),_0x30812a[_0x30812a[_0x32243e(0x1de)]-0x1]++,_0x4522f5[_0x4316fb][_0x32243e(0x129)]=_0x1f2fa8[_0x32243e(0x213)](_0x5aae43,_0x30812a)):(_0x4522f5[_0x4316fb][_0x32243e(0x1f1)]=_0x1f2fa8[_0x32243e(0x213)](_0x5aae43,_0x30812a),_0x9ae916?_0x9ae916[_0x32243e(0x12a)]+=_0x4522f5[_0x4316fb][_0x32243e(0x254)][_0x32243e(0x21a)]:_0x9ae916=new _0x59be49(_0x4522f5[_0x4316fb][_0x32243e(0x254)][_0x32243e(0x21a)],_0x4522f5[_0x4316fb][_0x32243e(0x254)][_0x32243e(0x1c9)]()),_0x4522f5[_0x4316fb+0x1]&&_0x32243e(0x1e4)===_0x4522f5[_0x4316fb+0x1][_0x32243e(0x234)]&&_0x52b4f0(_0x9ae916,_0x4522f5[_0x4316fb+0x1][_0x32243e(0x254)])||(_0x50dcae[0x0][_0x32243e(0x17e)](_0x9ae916),_0x9ae916=null),_0x30812a[_0x30812a[_0x32243e(0x1de)]-0x1]+=_0x4522f5[_0x4316fb][_0x32243e(0x254)][_0x32243e(0x1ff)],_0x4522f5[_0x4316fb][_0x32243e(0x129)]=_0x1f2fa8[_0x32243e(0x213)](_0x5aae43,_0x30812a));for(let _0x3815f2=0x0;_0x3815f2<_0x4522f5[_0x32243e(0x1de)];_0x3815f2++){const _0x4242ad=_0x4522f5[_0x3815f2][_0x32243e(0x1f1)],_0x48498a=_0x4522f5[_0x3815f2][_0x32243e(0x129)];for(const _0x52d8a6 of _0x4522f5[_0x3815f2][_0x32243e(0x218)])_0x5e0b3c[_0x32243e(0x1f7)](_0x52d8a6,{'start':_0x4242ad,'end':null});_0x14f408(_0x32243e(0x169),_0x3815f2,_0x4242ad,_0x48498a),_0x14f408(_0x32243e(0x21d),_0x3815f2,_0x4242ad,_0x48498a),_0x14f408(_0x32243e(0x1ea),_0x3815f2,_0x4242ad,_0x48498a),_0x14f408(_0x32243e(0x260),_0x3815f2,_0x4242ad,_0x48498a);for(const _0x41b09f of _0x4522f5[_0x3815f2][_0x32243e(0x1d7)]){_0x5e0b3c[_0x32243e(0x259)](_0x41b09f)[_0x32243e(0x142)]=_0x48498a;}}for(const [_0x4fbdd8,_0x148dc0]of _0x5e0b3c){const _0x3e3ac9=this[_0x32243e(0x1d0)][_0x32243e(0x247)][_0x32243e(0x16c)](_0x148dc0[_0x32243e(0x139)],_0x148dc0[_0x32243e(0x142)]);_0x5aae43[_0x32243e(0x18e)][_0x32243e(0x1f7)](_0x4fbdd8,_0x3e3ac9);}return _0x4c2726[_0x32243e(0x23b)]((_0x35cecf,_0x4ddb91)=>{const _0x126741=_0x32243e,_0x278208=_0x5aae43[_0x126741(0x18e)][_0x126741(0x259)](_0x126741(0x1eb)+_0x35cecf['id']),_0x56119d=_0x5aae43[_0x126741(0x18e)][_0x126741(0x259)](_0x126741(0x1eb)+_0x4ddb91['id']);return _0x278208[_0x126741(0x139)][_0x126741(0x223)](_0x56119d[_0x126741(0x139)])?-0x1:_0x278208[_0x126741(0x139)][_0x126741(0x243)](_0x56119d[_0x126741(0x139)])?0x1:_0x278208[_0x126741(0x142)][_0x126741(0x223)](_0x56119d[_0x126741(0x142)])?-0x1:_0x278208[_0x126741(0x142)][_0x126741(0x243)](_0x56119d[_0x126741(0x142)])?0x1:_0x126741(0x208)===_0x35cecf[_0x126741(0x234)]?-0x1:0x1;}),{'root':_0x5aae43,'changes':_0x4c2726};function _0x14f408(_0x56c5bb,_0x26dcb4,_0x3ae032,_0x5c9da2){const _0x4ec568=_0x32243e,_0x5d98d5=!!_0x4522f5[_0x26dcb4][_0x56c5bb],_0x2e1e76=_0x5d98d5?_0x4522f5[_0x26dcb4][_0x56c5bb][_0x4ec568(0x11f)]:null,_0x3b6195=_0x26dcb4===_0x4522f5[_0x4ec568(0x1de)]-0x1,_0x49cc8b=_0xfbb342[_0x56c5bb][0x0],_0x11f6fb=_0x15bb60[_0x4ec568(0x1f9)](_0x4522f5[_0x26dcb4][_0x4ec568(0x254)]);!_0x4676a6[_0x56c5bb]&&_0x5d98d5?_0x4676a6[_0x56c5bb]={'start':_0x3ae032,'tapeItem':_0x4522f5[_0x26dcb4],'userId':_0x2e1e76,'type':_0x56c5bb}:_0x4676a6[_0x56c5bb]&&!_0x5d98d5?(_0x4676a6[_0x56c5bb][_0x4ec568(0x142)]=_0x3ae032,_0x421b42(_0x4676a6[_0x56c5bb]),_0x4676a6[_0x56c5bb]=null):_0x4676a6[_0x56c5bb]&&_0x5d98d5&&_0x4676a6[_0x56c5bb][_0x4ec568(0x11f)]!==_0x2e1e76&&(_0x4676a6[_0x56c5bb][_0x4ec568(0x142)]=_0x3ae032,_0x49cc8b&&_0x49cc8b[_0x4ec568(0x11f)]===_0x4676a6[_0x56c5bb][_0x4ec568(0x11f)]||_0x421b42(_0x4676a6[_0x56c5bb]),_0x4676a6[_0x56c5bb]={'start':_0x3ae032,'tapeItem':_0x4522f5[_0x26dcb4],'userId':_0x2e1e76,'type':_0x56c5bb}),_0x4676a6[_0x56c5bb]&&_0x11f6fb&&(_0x4ec568(0x232)!==_0x4522f5[_0x26dcb4][_0x4ec568(0x234)]||_0x49cc8b&&_0x49cc8b[_0x4ec568(0x11f)]===_0x2e1e76||_0xfbb342[_0x56c5bb][_0x4ec568(0x1b1)]({'userId':_0x2e1e76,'object':_0x4522f5[_0x26dcb4][_0x4ec568(0x254)],'change':_0x4676a6[_0x56c5bb]}),_0x4ec568(0x1aa)===_0x4522f5[_0x26dcb4][_0x4ec568(0x234)]&&_0x49cc8b&&_0x49cc8b[_0x4ec568(0x20d)]===_0x4522f5[_0x26dcb4][_0x4ec568(0x254)]&&(_0xfbb342[_0x56c5bb][_0x4ec568(0x225)](),_0x4676a6[_0x56c5bb]=_0x49cc8b[_0x4ec568(0x23d)])),_0x4676a6[_0x56c5bb]&&_0x3b6195&&(_0x4676a6[_0x56c5bb][_0x4ec568(0x142)]=_0x5c9da2,_0x421b42(_0x4676a6[_0x56c5bb]),_0x4676a6[_0x56c5bb]=null);}function _0x421b42({start:_0x2a0516,end:_0x37aff6,tapeItem:_0x1095c3,userId:_0x396323,type:_0x1f648e}){const _0x47dab6=_0x32243e,_0x591382=_0x1095c3[_0x47dab6(0x254)],_0x5e8f10=_0x1f2fa8[_0x47dab6(0x23e)][_0x47dab6(0x203)](_0x591382)&&!_0x1f2fa8[_0x47dab6(0x23e)][_0x47dab6(0x1e3)](_0x591382),_0x3cf7a5=_0x2a0516[_0x47dab6(0x25c)]==_0x37aff6[_0x47dab6(0x24a)]&&_0x37aff6[_0x47dab6(0x18f)];if(_0x5e8f10&&_0x3cf7a5)return;const _0x2484f1=_0x1f2fa8[_0x47dab6(0x16c)](_0x2a0516,_0x37aff6),_0x1240c4=_0x3faa9f[_0x47dab6(0x259)](_0x396323),_0xfe54ea=new _0x510b09({'author':_0x1240c4,'type':_0x47dab6(0x260)==_0x1f648e||_0x47dab6(0x21d)==_0x1f648e?_0x47dab6(0x208):_0x47dab6(0x1e8),'data':{'isSuggestion':_0x47dab6(0x21d)==_0x1f648e||_0x47dab6(0x169)==_0x1f648e},'createdAt':new Date(),'rootName':_0x56db35});_0x4c2726[_0x47dab6(0x1fc)](_0xfe54ea),_0x5aae43[_0x47dab6(0x18e)][_0x47dab6(0x1f7)](_0x47dab6(0x1eb)+_0xfe54ea['id'],_0x2484f1);}function _0x52b4f0(_0xb3050a,_0x2a9312){const _0x2f98a9=_0x32243e,_0x3aacea=_0xb3050a[_0x2f98a9(0x1c9)](),_0x330cd1=_0x2a9312[_0x2f98a9(0x1c9)]();for(const _0x29fd75 of _0x3aacea){if(_0x29fd75[0x1]!==_0x2a9312[_0x2f98a9(0x198)](_0x29fd75[0x0]))return!0x1;_0x330cd1[_0x2f98a9(0x1c0)]();}return _0x330cd1[_0x2f98a9(0x1c0)]()[_0x2f98a9(0x12e)];}}[_0x160826(0x1d9)](){const _0x2c6f42=_0x160826;this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1ae))[_0x2c6f42(0x1e7)]({'view':_0x2c6f42(0x24d)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x18b))[_0x2c6f42(0x20b)]({'model':_0x2c6f42(0x24d),'view':_0x3802c8=>{const _0x46a764=_0x2c6f42,_0x342909=_0x3802c8[_0x46a764(0x207)][_0x46a764(0x1cd)](':')[0x1],_0x336dc8=this[_0x46a764(0x177)](_0x342909);if(!_0x336dc8)return null;const _0x52e14b=_0x46a764(0x208)==_0x336dc8[_0x46a764(0x234)]?_0x46a764(0x202):_0x46a764(0x22f),_0x2328f6=[_0x46a764(0x157),_0x46a764(0x1dc)+_0x52e14b];return _0x336dc8[_0x46a764(0x21a)][_0x46a764(0x16f)]&&_0x2328f6[_0x46a764(0x1fc)](_0x46a764(0x1dc)+_0x52e14b+_0x46a764(0x1e5)),this[_0x46a764(0x239)]==_0x336dc8&&_0x2328f6[_0x46a764(0x1fc)](_0x46a764(0x127)),{'classes':_0x2328f6,'attributes':{'data-change-id':_0x342909}};}}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1ae))[_0x2c6f42(0x208)](_0x1f8c1c=>{const _0x3d069c=_0x2c6f42;_0x1f8c1c['on'](_0x3d069c(0x144),(_0x927b4b,_0x5c9465,_0xe5bc1b)=>{const _0x2e5f2e=_0x3d069c,_0x433190=_0x5c9465[_0x2e5f2e(0x211)][_0x2e5f2e(0x249)](0x0);if(!_0x433190||!_0x433190['is'](_0x2e5f2e(0x1b7),_0x2e5f2e(0x240)))return;if(!_0xe5bc1b[_0x2e5f2e(0x173)][_0x2e5f2e(0x1e2)](_0x433190,{'attributes':[_0x2e5f2e(0x16d),_0x2e5f2e(0x133)]}))return;const _0x2f7ceb=_0x5c9465[_0x2e5f2e(0x1f4)][_0x2e5f2e(0x139)][_0x2e5f2e(0x25c)];_0xe5bc1b[_0x2e5f2e(0x185)][_0x2e5f2e(0x15c)](_0x2e5f2e(0x16d),_0x433190[_0x2e5f2e(0x198)](_0x2e5f2e(0x16d)),_0x2f7ceb),_0xe5bc1b[_0x2e5f2e(0x185)][_0x2e5f2e(0x15c)](_0x2e5f2e(0x133),_0x433190[_0x2e5f2e(0x198)](_0x2e5f2e(0x133)),_0x2f7ceb);},{'priority':_0x3d069c(0x1a9)});}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1ae))[_0x2c6f42(0x208)](_0xbc6e67=>{const _0x2ffa18=_0x2c6f42;_0xbc6e67['on'](_0x2ffa18(0x1b7),(_0x37d07b,_0x23b258,_0xdba263)=>{const _0xee1a4b=_0x2ffa18;if(!_0xdba263[_0xee1a4b(0x173)][_0xee1a4b(0x1e2)](_0x23b258[_0xee1a4b(0x211)],{'attributes':[_0xee1a4b(0x16d),_0xee1a4b(0x133)]}))return;if(_0x23b258[_0xee1a4b(0x1f4)][_0xee1a4b(0x125)])return;const _0x485875=_0x23b258[_0xee1a4b(0x1f4)][_0xee1a4b(0x139)][_0xee1a4b(0x25c)];_0x485875[_0xee1a4b(0x121)](_0xee1a4b(0x16d))||_0x485875[_0xee1a4b(0x121)](_0xee1a4b(0x175))||(_0xdba263[_0xee1a4b(0x185)][_0xee1a4b(0x15c)](_0xee1a4b(0x16d),_0x23b258[_0xee1a4b(0x211)][_0xee1a4b(0x198)](_0xee1a4b(0x16d)),_0x485875),_0xdba263[_0xee1a4b(0x185)][_0xee1a4b(0x15c)](_0xee1a4b(0x133),_0x23b258[_0xee1a4b(0x211)][_0xee1a4b(0x198)](_0xee1a4b(0x133)),_0x485875));},{'priority':_0x2ffa18(0x1a9)});}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1ae))[_0x2c6f42(0x170)]({'view':{'name':_0x2c6f42(0x1b4),'attributes':{'vid':!0x0}},'model':{'key':_0x2c6f42(0x175),'value':_0x2a6087=>_0x2a6087[_0x2c6f42(0x198)](_0x2c6f42(0x175))}}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x247)][_0x2c6f42(0x23e)]['on'](_0x2c6f42(0x172),(_0x5d5265,[,_0x50a25a])=>{const _0x3f4320=_0x2c6f42;[_0x3f4320(0x16d),_0x3f4320(0x133),_0x3f4320(0x175)][_0x3f4320(0x180)](_0x50a25a)&&(_0x5d5265[_0x3f4320(0x16e)]=!0x0,_0x5d5265[_0x3f4320(0x167)]());},{'priority':_0x2c6f42(0x214)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1fd))[_0x2c6f42(0x208)](_0x322dd6=>{const _0x3095cd=_0x2c6f42;_0x322dd6['on'](_0x3095cd(0x11e),(_0x449b1a,_0x28a995,_0x3f6fef)=>{const _0x516a6f=_0x3095cd;if('\x20'!=_0x28a995[_0x516a6f(0x254)][_0x516a6f(0x21a)]||_0x28a995[_0x516a6f(0x254)][_0x516a6f(0x24a)][_0x516a6f(0x171)]>0x1)return;if(!_0x3f6fef[_0x516a6f(0x173)][_0x516a6f(0x1e2)](_0x28a995[_0x516a6f(0x254)],_0x449b1a[_0x516a6f(0x18a)]))return;const _0x1ec8c0=_0x3f6fef[_0x516a6f(0x185)],_0xd5746d=_0x3f6fef[_0x516a6f(0x204)][_0x516a6f(0x14f)](_0x28a995[_0x516a6f(0x15b)]);_0x1ec8c0[_0x516a6f(0x162)](_0xd5746d,_0x1ec8c0[_0x516a6f(0x261)](_0x516a6f(0x1b4)));});}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1fd))[_0x2c6f42(0x18d)]({'model':_0x2c6f42(0x24d)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x258)][_0x2c6f42(0x262)]['on'](_0x2c6f42(0x11a),function(_0x4d5274){const _0x1bc9c2=_0x2c6f42,_0x2768dd=_0x4d5274[_0x1bc9c2(0x1c3)][_0x1bc9c2(0x259)](_0x1bc9c2(0x118));return(_0x561e51,_0x2208fa,_0x4e3b66)=>{const _0x3b5d41=_0x1bc9c2,_0x192b68=_0x2208fa[_0x3b5d41(0x207)][_0x3b5d41(0x1cd)](':')[0x1],_0x83fd97=_0x2768dd[_0x3b5d41(0x177)](_0x192b68);if(!_0x83fd97)return null;const _0x42f698=_0x3b5d41(0x208)==_0x83fd97[_0x3b5d41(0x234)]?_0x3b5d41(0x1cd):_0x3b5d41(0x1d3);if(!_0x4e3b66[_0x3b5d41(0x173)][_0x3b5d41(0x14d)](_0x2208fa[_0x3b5d41(0x1b2)],_0x561e51[_0x3b5d41(0x18a)]))return;const _0xdf1ca1=_0x2208fa[_0x3b5d41(0x1b2)][_0x3b5d41(0x152)](),_0x5224f6=_0x2208fa[_0x3b5d41(0x1b2)][_0x3b5d41(0x139)],_0x169053=_0x4d5274[_0x3b5d41(0x247)][_0x3b5d41(0x23e)];let _0x33e4ce=null,_0x4a4e8e=null,_0x474a48=!0x1,_0xcbd517=!0x1;for(const _0x515240 of _0xdf1ca1){const _0x581bca=_0x515240[_0x3b5d41(0x254)];_0x474a48=_0x474a48||_0x169053[_0x3b5d41(0x209)](_0x581bca);const _0x1205aa=_0x4e3b66[_0x3b5d41(0x204)][_0x3b5d41(0x265)](_0x581bca);if(_0x1205aa&&_0x1205aa[_0x3b5d41(0x25d)](_0x3b5d41(0x21f)))return;_0x3b5d41(0x1aa)==_0x515240[_0x3b5d41(0x234)]&&(_0x169053[_0x3b5d41(0x203)](_0x581bca)&&!_0x169053[_0x3b5d41(0x1e3)](_0x581bca)&&(_0x581bca[_0x3b5d41(0x158)]||_0x5224f6[_0x3b5d41(0x1d2)]?_0x33e4ce&&_0x33e4ce[_0x3b5d41(0x24a)]==_0x581bca||(_0x33e4ce=_0x581bca,_0x3962b4(_0x515240[_0x3b5d41(0x1f1)]),_0xcbd517=!0x0):_0x4a4e8e=_0x4a4e8e||_0x515240[_0x3b5d41(0x1f1)]));}function _0x3962b4(_0x453b12){const _0x48b3ba=_0x3b5d41,_0x6375a5=_0x4e3b66[_0x48b3ba(0x185)][_0x48b3ba(0x1ed)](_0x48b3ba(0x1b4),{'class':_0x48b3ba(0x1dc)+_0x42f698}),_0x11d250=_0x4e3b66[_0x48b3ba(0x204)][_0x48b3ba(0x18c)](_0x453b12);_0x83fd97[_0x48b3ba(0x21a)][_0x48b3ba(0x16f)]&&_0x4e3b66[_0x48b3ba(0x185)][_0x48b3ba(0x1a1)](_0x48b3ba(0x1dc)+_0x42f698+_0x48b3ba(0x1e5),_0x6375a5),_0x2768dd[_0x48b3ba(0x239)]==_0x83fd97&&_0x4e3b66[_0x48b3ba(0x185)][_0x48b3ba(0x1a1)](_0x48b3ba(0x127),_0x6375a5),_0x4e3b66[_0x48b3ba(0x185)][_0x48b3ba(0x149)](_0x11d250,_0x6375a5),_0x4e3b66[_0x48b3ba(0x204)][_0x48b3ba(0x20c)](_0x6375a5,_0x2208fa[_0x48b3ba(0x207)]);}_0x474a48||_0xcbd517||!_0x4a4e8e||_0x3962b4(_0x4a4e8e);};}(this[_0x2c6f42(0x1d0)]),{'priority':_0x2c6f42(0x178)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x258)][_0x2c6f42(0x262)]['on'](_0x2c6f42(0x189),(_0x5db64e,_0x4aa4b6,_0x476cdf)=>{const _0x432ed4=_0x2c6f42,_0x58658e=_0x476cdf[_0x432ed4(0x204)][_0x432ed4(0x16b)](_0x4aa4b6[_0x432ed4(0x207)]);if(_0x58658e){for(const _0x10129f of _0x58658e)(_0x10129f[_0x432ed4(0x154)](_0x432ed4(0x1ce))||_0x10129f[_0x432ed4(0x154)](_0x432ed4(0x1ba)))&&(_0x476cdf[_0x432ed4(0x204)][_0x432ed4(0x1f0)](_0x10129f,_0x4aa4b6[_0x432ed4(0x207)]),_0x476cdf[_0x432ed4(0x185)][_0x432ed4(0x1e8)](_0x10129f));}},{'priority':_0x2c6f42(0x178)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x258)][_0x2c6f42(0x262)]['on'](_0x2c6f42(0x11a),(_0x1bc4e2,_0x58c08b,_0x34bb06)=>{const _0x252cee=_0x2c6f42,_0x4a7acb=_0x58c08b[_0x252cee(0x207)][_0x252cee(0x1cd)](':')[0x1],_0x3441ac=this[_0x252cee(0x177)](_0x4a7acb);if(!_0x3441ac)return null;const _0x1afd9e=_0x252cee(0x208)==_0x3441ac[_0x252cee(0x234)]?_0x252cee(0x1cd):_0x252cee(0x1d3);if(_0x34bb06[_0x252cee(0x173)][_0x252cee(0x14d)](_0x58c08b[_0x252cee(0x1b2)],_0x1bc4e2[_0x252cee(0x18a)]))for(const _0x5b9379 of _0x58c08b[_0x252cee(0x1b2)][_0x252cee(0x163)]()){if(!_0x5b9379['is'](_0x252cee(0x1b7),_0x252cee(0x24e)))continue;const _0x42c0fe=_0x34bb06[_0x252cee(0x185)][_0x252cee(0x1ed)](_0x252cee(0x1b4),{'class':_0x252cee(0x1dc)+_0x1afd9e}),_0x2471c1=_0x34bb06[_0x252cee(0x204)][_0x252cee(0x18c)](this[_0x252cee(0x1d0)][_0x252cee(0x247)][_0x252cee(0x161)](_0x5b9379));_0x3441ac[_0x252cee(0x21a)][_0x252cee(0x16f)]&&_0x34bb06[_0x252cee(0x185)][_0x252cee(0x1a1)](_0x252cee(0x1dc)+_0x1afd9e+_0x252cee(0x1e5),_0x42c0fe),this[_0x252cee(0x239)]==_0x3441ac&&_0x34bb06[_0x252cee(0x185)][_0x252cee(0x1a1)](_0x252cee(0x127),_0x42c0fe),_0x34bb06[_0x252cee(0x185)][_0x252cee(0x149)](_0x2471c1,_0x42c0fe),_0x34bb06[_0x252cee(0x204)][_0x252cee(0x20c)](_0x42c0fe,_0x58c08b[_0x252cee(0x207)]);}},{'priority':_0x2c6f42(0x178)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x247)][_0x2c6f42(0x15a)]['on'](_0x2c6f42(0x23d),()=>{const _0x1265f0=_0x2c6f42;this[_0x1265f0(0x1d0)][_0x1265f0(0x258)][_0x1265f0(0x210)][_0x1265f0(0x23d)](_0x63dd0=>{const _0x3683ad=_0x1265f0;for(const _0x2bc32b of this[_0x3683ad(0x1d0)][_0x3683ad(0x247)][_0x3683ad(0x15a)][_0x3683ad(0x1fe)]()){const _0x8199cc=this[_0x3683ad(0x1d0)][_0x3683ad(0x247)][_0x3683ad(0x15a)][_0x3683ad(0x206)](_0x2bc32b),_0x5cdf00=this[_0x3683ad(0x1d0)][_0x3683ad(0x258)][_0x3683ad(0x210)][_0x3683ad(0x15a)][_0x3683ad(0x206)](_0x2bc32b);if(_0x5cdf00){const _0x5b3062=_0x8199cc[_0x3683ad(0x198)](_0x3683ad(0x23f));if(_0x63dd0[_0x3683ad(0x181)](_0x3683ad(0x227),_0x5cdf00),_0x63dd0[_0x3683ad(0x205)](_0x3683ad(0x1be),_0x5cdf00),_0x63dd0[_0x3683ad(0x205)](_0x3683ad(0x174),_0x5cdf00),_0x63dd0[_0x3683ad(0x205)](_0x3683ad(0x179),_0x5cdf00),_0x5b3062){const _0x498ae4=this[_0x3683ad(0x177)](_0x5b3062);if(!_0x498ae4)return null;_0x63dd0[_0x3683ad(0x15c)](_0x3683ad(0x227),_0x5b3062,_0x5cdf00),_0x63dd0[_0x3683ad(0x1a1)](_0x3683ad(0x15e)+_0x498ae4[_0x3683ad(0x234)],_0x5cdf00),this[_0x3683ad(0x239)]==_0x498ae4&&_0x63dd0[_0x3683ad(0x1a1)](_0x3683ad(0x179),_0x5cdf00);}}}});}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1ae))[_0x2c6f42(0x1e7)]({'view':_0x2c6f42(0x1b6),'model':_0xe5618c=>_0x2c6f42(0x19f)+_0xe5618c,'converterPriority':_0x2c6f42(0x214)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1ae))[_0x2c6f42(0x1e7)]({'view':_0x2c6f42(0x190),'model':_0x45c6e3=>_0x2c6f42(0x268)+_0x45c6e3,'converterPriority':_0x2c6f42(0x214)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x1fd))[_0x2c6f42(0x18d)]({'model':_0x2c6f42(0x182),'view':_0x4e5cc8=>({'name':_0x2c6f42(0x237)+_0x4e5cc8,'group':_0x2c6f42(0x182)}),'converterPriority':_0x2c6f42(0x214)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x1e6)][_0x2c6f42(0x23a)](_0x2c6f42(0x18b))[_0x2c6f42(0x20b)]({'model':_0x2c6f42(0x182),'view':_0x4e7216=>{const _0x23976e=_0x2c6f42,_0x65f03c=_0x4e7216[_0x23976e(0x207)][_0x23976e(0x1cd)](':')[0x1];return _0x23976e(0x202)!=_0x65f03c&&_0x23976e(0x22f)!=_0x65f03c?null:{'classes':[_0x23976e(0x1a8),_0x23976e(0x140)+_0x65f03c]};}}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x258)][_0x2c6f42(0x262)]['on'](_0x2c6f42(0x1c5),et(this[_0x2c6f42(0x1d0)],_0x2c6f42(0x1d3)),{'priority':_0x2c6f42(0x178)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x258)][_0x2c6f42(0x262)]['on'](_0x2c6f42(0x1d8),et(this[_0x2c6f42(0x1d0)],_0x2c6f42(0x1cd)),{'priority':_0x2c6f42(0x178)}),this[_0x2c6f42(0x1d0)][_0x2c6f42(0x258)][_0x2c6f42(0x262)]['on'](_0x2c6f42(0x13a),(_0x4893dd,_0x11bcf8,_0x54c9a9)=>{const _0x2f3a33=_0x2c6f42,_0x3d63e8=_0x54c9a9[_0x2f3a33(0x204)][_0x2f3a33(0x16b)](_0x11bcf8[_0x2f3a33(0x207)]);if(_0x3d63e8){for(const _0x42c332 of _0x3d63e8)_0x42c332['is'](_0x2f3a33(0x148))&&(_0x54c9a9[_0x2f3a33(0x204)][_0x2f3a33(0x1f0)](_0x42c332,_0x11bcf8[_0x2f3a33(0x207)]),_0x54c9a9[_0x2f3a33(0x185)][_0x2f3a33(0x1e8)](_0x42c332));}},{'priority':_0x2c6f42(0x178)});}[_0x160826(0x177)](_0x4b2fae){const _0x2d645f=_0x160826;return this[_0x2d645f(0x128)][_0x2d645f(0x259)](_0x4b2fae);}[_0x160826(0x14e)](_0x1e8a46){const _0x1ccf55=_0x160826;return this[_0x1ccf55(0x1b3)]&&this[_0x1ccf55(0x1b3)][_0x1ccf55(0x1d1)](),this[_0x1ccf55(0x1b3)]=new _0x32b6e9(this[_0x1ccf55(0x1d0)][_0x1ccf55(0x1c2)],_0x1e8a46),this[_0x1ccf55(0x1b3)];}[_0x160826(0x1ab)](){const _0x3b7176=_0x160826;this[_0x3b7176(0x1d0)][_0x3b7176(0x247)][_0x3b7176(0x15a)][_0x3b7176(0x184)][_0x3b7176(0x136)](_0x3b7176(0x24d)),this['on'](_0x3b7176(0x1df),(_0x5d5ef6,_0x74312d,_0x3b965d,_0x3753ee)=>{const _0x259ece=_0x3b7176;_0x3753ee&&this[_0x259ece(0x23c)][_0x259ece(0x1e8)](_0x3753ee),_0x3b965d&&(this[_0x259ece(0x23c)][_0x259ece(0x208)]({'view':_0x3b965d,'stackId':_0x259ece(0x20a),'position':{'target':()=>{const _0x30aeae=_0x259ece,_0x4b5385=this[_0x30aeae(0x1d0)][_0x30aeae(0x258)],_0x1c2b7c=this[_0x30aeae(0x177)](_0x3b965d[_0x30aeae(0x221)]);let _0x3bd82b;if(_0x1c2b7c[_0x30aeae(0x21a)][_0x30aeae(0x19c)]){const _0x1ecf87=_0x4b5385[_0x30aeae(0x210)][_0x30aeae(0x1bb)](_0x1c2b7c[_0x30aeae(0x19b)]);_0x3bd82b=Array[_0x30aeae(0x164)](_0x1ecf87[_0x30aeae(0x20e)]());}else{const _0x5924fc=this[_0x30aeae(0x1d0)][_0x30aeae(0x247)][_0x30aeae(0x18e)][_0x30aeae(0x259)](_0x30aeae(0x1eb)+_0x3b965d[_0x30aeae(0x221)]);_0x3bd82b=Array[_0x30aeae(0x164)](_0x4b5385[_0x30aeae(0x204)][_0x30aeae(0x16b)](_0x5924fc[_0x30aeae(0x18a)]))[_0x30aeae(0x21e)](_0x263667=>_0x4b5385[_0x30aeae(0x210)][_0x30aeae(0x228)][_0x30aeae(0x17f)](_0x263667))[_0x30aeae(0x21e)](_0x7b6126=>Array[_0x30aeae(0x164)](_0x7b6126[_0x30aeae(0x20e)]()))[_0x30aeae(0x188)]();}if(!this[_0x30aeae(0x264)])return _0x3bd82b[0x0];return _0x3bd82b[_0x30aeae(0x1fb)](_0x26891a=>_0x26891a[_0x30aeae(0x123)]-0x3<=this[_0x30aeae(0x264)]['y']&&_0x26891a[_0x30aeae(0x13c)]+0x3>=this[_0x30aeae(0x264)]['y']&&_0x26891a[_0x30aeae(0x1c8)]-0x3<=this[_0x30aeae(0x264)]['x']&&_0x26891a[_0x30aeae(0x24c)]+0x3>=this[_0x30aeae(0x264)]['x'])||_0x3bd82b[0x0];}}}),this[_0x259ece(0x23c)][_0x259ece(0x1ca)](_0x259ece(0x20a)));}),this['on'](_0x3b7176(0x229),(_0x1db91c,_0x189c3e,_0x2ae94f,_0x413b20)=>{const _0xae87a4=_0x3b7176;this[_0xae87a4(0x200)]=_0x2ae94f?this[_0xae87a4(0x14e)](_0x2ae94f):null,this[_0xae87a4(0x1d0)][_0xae87a4(0x247)][_0xae87a4(0x23d)](()=>{const _0x563107=_0xae87a4,_0x24a5cd=this[_0x563107(0x1d0)][_0x563107(0x258)];_0x413b20&&(_0x413b20[_0x563107(0x21a)][_0x563107(0x19c)]?_0x24a5cd[_0x563107(0x210)][_0x563107(0x23d)](_0x5dfef1=>{const _0x2834b3=_0x563107;_0x5dfef1[_0x2834b3(0x205)](_0x2834b3(0x179),_0x24a5cd[_0x2834b3(0x210)][_0x2834b3(0x15a)][_0x2834b3(0x206)](_0x413b20[_0x2834b3(0x19b)]));}):_0x24a5cd[_0x563107(0x14c)](_0x563107(0x1eb)+_0x413b20['id'])),_0x2ae94f&&(_0x2ae94f[_0x563107(0x21a)][_0x563107(0x19c)]?_0x24a5cd[_0x563107(0x210)][_0x563107(0x23d)](_0x585f41=>{const _0x1f3822=_0x563107;_0x585f41[_0x1f3822(0x1a1)](_0x1f3822(0x179),_0x24a5cd[_0x1f3822(0x210)][_0x1f3822(0x15a)][_0x1f3822(0x206)](_0x2ae94f[_0x1f3822(0x19b)]));}):_0x24a5cd[_0x563107(0x14c)](_0x563107(0x1eb)+_0x2ae94f['id']));});}),this[_0x3b7176(0x263)](this[_0x3b7176(0x1d0)][_0x3b7176(0x258)][_0x3b7176(0x210)][_0x3b7176(0x15a)],_0x3b7176(0x126),(_0x3a028d,_0x52b717)=>{const _0x410ae9=_0x3b7176;if(this[_0x410ae9(0x239)])return;const _0x5cc6b1=this[_0x410ae9(0x1a2)](_0x52b717[_0x410ae9(0x199)]),_0x14aced=this[_0x410ae9(0x128)][_0x410ae9(0x259)](_0x5cc6b1);_0x14aced?(this[_0x410ae9(0x264)]={'x':_0x52b717[_0x410ae9(0x1bf)]['x'],'y':_0x52b717[_0x410ae9(0x1bf)]['y']},this[_0x410ae9(0x200)]=this[_0x410ae9(0x14e)](_0x14aced)):(this[_0x410ae9(0x264)]=null,this[_0x410ae9(0x200)]=null);}),this[_0x3b7176(0x263)](this[_0x3b7176(0x1d0)][_0x3b7176(0x258)][_0x3b7176(0x210)][_0x3b7176(0x15a)],_0x3b7176(0x244),(_0x5cd3f1,_0x35af1f)=>{const _0x520a31=_0x3b7176,_0x518629=this[_0x520a31(0x1a2)](_0x35af1f[_0x520a31(0x199)]),_0x3f6428=this[_0x520a31(0x128)][_0x520a31(0x259)](_0x518629);_0x3f6428?(this[_0x520a31(0x264)]={'x':_0x35af1f[_0x520a31(0x1bf)]['x'],'y':_0x35af1f[_0x520a31(0x1bf)]['y']},_0x3f6428===this[_0x520a31(0x239)]?this[_0x520a31(0x23c)][_0x520a31(0x25f)]():this[_0x520a31(0x239)]=_0x3f6428):(this[_0x520a31(0x264)]=null,this[_0x520a31(0x239)]=null);});}[_0x160826(0x1a2)](_0xfba744){const _0xa3891=_0x160826;do{const _0xdbc880=_0xfba744[_0xa3891(0x198)](_0xa3891(0x227));if(_0xdbc880)return _0xdbc880;_0xfba744=_0xfba744[_0xa3891(0x24a)];}while(_0xfba744);return null;}[_0x160826(0x1cb)](){const _0x365621=_0x160826;this[_0x365621(0x1d0)][_0x365621(0x247)][_0x365621(0x23d)](_0x27b7bc=>{const _0x2d2f05=_0x365621;for(const _0x339eb1 of this[_0x2d2f05(0x1d0)][_0x2d2f05(0x247)][_0x2d2f05(0x18e)])_0x27b7bc[_0x2d2f05(0x17d)](_0x339eb1);});}}function et(_0x1ccd34,_0x5847a8){return(_0x4fd150,_0x12a1e4,_0x4a5e4b)=>{const _0x9af63a=_0x1381;if(!_0x4a5e4b[_0x9af63a(0x173)][_0x9af63a(0x14d)](_0x12a1e4[_0x9af63a(0x1b2)],_0x4fd150[_0x9af63a(0x18a)]))return;const _0x509001=_0x12a1e4[_0x9af63a(0x1b2)][_0x9af63a(0x152)](),_0x3701c2=_0x12a1e4[_0x9af63a(0x1b2)][_0x9af63a(0x139)],_0x42fbb5=_0x1ccd34[_0x9af63a(0x247)][_0x9af63a(0x23e)];let _0x453116=null,_0x13589a=null,_0x5e3923=!0x1,_0x468155=!0x1;for(const _0x6742c8 of _0x509001){const _0x59405e=_0x6742c8[_0x9af63a(0x254)];_0x5e3923=_0x5e3923||_0x42fbb5[_0x9af63a(0x209)](_0x59405e);const _0xf03858=_0x4a5e4b[_0x9af63a(0x204)][_0x9af63a(0x265)](_0x59405e);if(_0xf03858&&_0xf03858[_0x9af63a(0x25d)](_0x9af63a(0x21f)))return;_0x9af63a(0x1aa)==_0x6742c8[_0x9af63a(0x234)]&&(_0x42fbb5[_0x9af63a(0x203)](_0x59405e)&&!_0x42fbb5[_0x9af63a(0x1e3)](_0x59405e)&&(_0x59405e[_0x9af63a(0x158)]||_0x3701c2[_0x9af63a(0x1d2)]?_0x453116&&_0x453116[_0x9af63a(0x24a)]==_0x59405e||(_0x453116=_0x59405e,_0x279737(_0x6742c8[_0x9af63a(0x1f1)]),_0x468155=!0x0):_0x13589a=_0x13589a||_0x6742c8[_0x9af63a(0x1f1)]));}function _0x279737(_0x1cee45){const _0x30eeef=_0x9af63a,_0x2fa43c=_0x4a5e4b[_0x30eeef(0x204)][_0x30eeef(0x18c)](_0x1cee45),_0x2571ab=_0x4a5e4b[_0x30eeef(0x185)][_0x30eeef(0x1ed)](_0x30eeef(0x1b4),{'class':_0x30eeef(0x140)+_0x5847a8});_0x4a5e4b[_0x30eeef(0x185)][_0x30eeef(0x149)](_0x2fa43c,_0x2571ab),_0x4a5e4b[_0x30eeef(0x204)][_0x30eeef(0x20c)](_0x2571ab,_0x12a1e4[_0x30eeef(0x207)]);}_0x5e3923||_0x468155||!_0x13589a||_0x279737(_0x13589a);};}export class RestoreRevisionCommand extends _0x5682e6{constructor(_0x166b82){const _0x2b74d9=_0x160826;super(_0x166b82);const _0x12110f=_0x166b82[_0x2b74d9(0x1c3)][_0x2b74d9(0x259)](d);this[_0x2b74d9(0x150)]=!0x1,this[_0x2b74d9(0x263)](_0x12110f,_0x2b74d9(0x11c),()=>this[_0x2b74d9(0x156)]()),this[_0x2b74d9(0x263)](_0x12110f,_0x2b74d9(0x235),()=>this[_0x2b74d9(0x156)]());}[_0x160826(0x255)](){const _0x2a9b1d=_0x160826,_0x55cb73=this[_0x2a9b1d(0x1d0)],_0x2e6ed9=_0x55cb73[_0x2a9b1d(0x1c3)][_0x2a9b1d(0x259)](d),_0x3f6660=_0x2e6ed9[_0x2a9b1d(0x1b9)]?_0x2e6ed9[_0x2a9b1d(0x241)][_0x2a9b1d(0x13e)]:null;_0x55cb73[_0x2a9b1d(0x13f)][_0x2a9b1d(0x259)](_0x2a9b1d(0x250))[_0x2a9b1d(0x1bd)](_0x3f6660);}[_0x160826(0x156)](){const _0x33b8f9=_0x160826,{isReady:_0x1f2dcd,isEnabled:_0x3d913c}=this[_0x33b8f9(0x1d0)][_0x33b8f9(0x1c3)][_0x33b8f9(0x259)](d);this[_0x33b8f9(0x160)]=_0x1f2dcd&&_0x3d913c;}}export class ShowChangeCommand extends _0x5682e6{constructor(_0x255e36,{direction:_0x5589ed}){const _0x142aa0=_0x160826;super(_0x255e36);const _0x4cab93=_0x255e36[_0x142aa0(0x1c3)][_0x142aa0(0x259)](d);this[_0x142aa0(0x150)]=!0x1,this[_0x142aa0(0x245)]=_0x142aa0(0x130)===_0x5589ed?0x1:-0x1,this[_0x142aa0(0x263)](_0x4cab93,_0x142aa0(0x11c),()=>this[_0x142aa0(0x156)]()),this[_0x142aa0(0x263)](_0x4cab93,_0x142aa0(0x235),()=>this[_0x142aa0(0x156)]()),this[_0x142aa0(0x263)](_0x4cab93,_0x142aa0(0x229),()=>this[_0x142aa0(0x156)]());}[_0x160826(0x255)](){const _0x3bee60=_0x160826,_0xe0bac6=this[_0x3bee60(0x1d0)],_0x196746=_0xe0bac6[_0x3bee60(0x1c3)][_0x3bee60(0x259)](d),{isNavigationMode:_0x532c8f,currentChangeNumber:_0x5c7b2b}=_0x196746;let _0x43ce49;if(_0x196746[_0x3bee60(0x239)]=_0x532c8f?_0x196746[_0x3bee60(0x241)][_0x3bee60(0x12c)][_0x3bee60(0x259)](_0x5c7b2b+this[_0x3bee60(0x245)]):_0x196746[_0x3bee60(0x241)][_0x3bee60(0x12c)][_0x3bee60(0x1f8)],_0x196746[_0x3bee60(0x239)][_0x3bee60(0x21a)][_0x3bee60(0x19c)])_0x43ce49=_0xe0bac6[_0x3bee60(0x258)][_0x3bee60(0x210)][_0x3bee60(0x1bb)](_0x196746[_0x3bee60(0x239)][_0x3bee60(0x19b)]);else{const _0x458f87=_0xe0bac6[_0x3bee60(0x247)][_0x3bee60(0x18e)][_0x3bee60(0x259)](_0x3bee60(0x1eb)+_0x196746[_0x3bee60(0x239)]['id']);_0x43ce49=_0x335b18(_0xe0bac6[_0x3bee60(0x258)],_0x458f87);}_0x4c43c6({'target':_0x43ce49,'viewportOffset':0x28});}[_0x160826(0x156)](){const _0x1ed62e=_0x160826,{isNavigationMode:_0x40bf40,currentChangeNumber:_0xeba0f7,numberOfChanges:_0x26a95c,isReady:_0x3033d5,isEnabled:_0x4e86e0}=this[_0x1ed62e(0x1d0)][_0x1ed62e(0x1c3)][_0x1ed62e(0x259)](d);this[_0x1ed62e(0x160)]=!!(_0x4e86e0&&_0x3033d5&&_0x26a95c)&&(!_0x40bf40||(0x1===this[_0x1ed62e(0x245)]?_0xeba0f7<_0x26a95c-0x1:_0xeba0f7>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x5711a7,_0x4534c4){const _0x5ae9cb=_0x581d,_0x43e9ed=_0x5711a7();while(!![]){try{const _0x452921=parseInt(_0x5ae9cb(0x1d3))/0x1*(parseInt(_0x5ae9cb(0x1b7))/0x2)+-parseInt(_0x5ae9cb(0x1dd))/0x3+-parseInt(_0x5ae9cb(0x1e0))/0x4+-parseInt(_0x5ae9cb(0x1c6))/0x5*(-parseInt(_0x5ae9cb(0x1be))/0x6)+parseInt(_0x5ae9cb(0x1cd))/0x7*(parseInt(_0x5ae9cb(0x1c5))/0x8)+-parseInt(_0x5ae9cb(0x1bb))/0x9*(-parseInt(_0x5ae9cb(0x1c2))/0xa)+-parseInt(_0x5ae9cb(0x1d8))/0xb;if(_0x452921===_0x4534c4)break;else _0x43e9ed['push'](_0x43e9ed['shift']());}catch(_0x10928b){_0x43e9ed['push'](_0x43e9ed['shift']());}}}(_0x9505,0x6aacf));function _0x9505(){const _0x450232=['listenTo','panelPosition','stopPropagation','extendTemplate','Name\x20this\x20revision','2ethykC','ck-on','bind','locale','buttonView','11703637ENcyNi','items','children','name','Compare\x20against\x20selected','1268160TkOzvP','first','add','3353808AOSdCD','find','action','class','listView','isOpen','isActionsDropdownOpen','execute','set','_action','713158RPJRIi','menuitem','source','bindTemplate','75879pExCrb','function','map','1017996TCQeWs','isEnabled','isVisible','change:isActionsDropdownOpen','780hkVeeB','menu','model','4343808ZsTSuu','25uBMPFu','threeVerticalDots','Restore\x20this\x20revision','Show\x20more\x20items','ck-revision-history-sidebar__revision__actions','button','isReady','7EHefco'];_0x9505=function(){return _0x450232;};return _0x9505();}import{Collection as _0x450c1b}from'ckeditor5/src/utils.js';function _0x581d(_0x3a3da7,_0x114b61){const _0x95051e=_0x9505();return _0x581d=function(_0x581d68,_0x1a2d16){_0x581d68=_0x581d68-0x1b5;let _0xae17ee=_0x95051e[_0x581d68];return _0xae17ee;},_0x581d(_0x3a3da7,_0x114b61);}import{icons as _0x442293}from'ckeditor5/src/core.js';import{ViewModel as _0x524ec5,addListToDropdown as _0x3bcbee,createDropdown as _0x4e802b}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b9202}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x14bc56,_0x4fc01d){const _0x1494ea=_0x581d,_0x508b9e=_0x14bc56[_0x1494ea(0x1ba)],_0x1b476a=_0x14bc56[_0x1494ea(0x1d6)],_0x97998a=_0x4e802b(_0x1b476a);_0x97998a[_0x1494ea(0x1cf)]='sw';const _0x497aec=function(_0x2ba553,_0x27c9da){const _0x3c83a3=_0x1494ea,_0x21b3b9=function(_0x5ee4ee,_0x403f95){const _0x25f238=_0x581d,_0x447c54=_0x5ee4ee[_0x25f238(0x1d6)],_0xc9945a={'Compare\x20against\x20selected':_0x5b9202(_0x447c54,_0x25f238(0x1dc)),'Name\x20this\x20revision':_0x5b9202(_0x447c54,_0x25f238(0x1d2)),'Restore\x20this\x20revision':_0x5b9202(_0x447c54,_0x25f238(0x1c8))};return _0x403f95[_0x25f238(0x1bd)](_0x55115f=>{const _0x21bbac=_0x25f238,_0x1e7417=_0xc9945a[_0x55115f[_0x21bbac(0x1db)]];return _0x1e7417&&_0x1e7417!==_0x55115f[_0x21bbac(0x1db)]&&(_0x55115f[_0x21bbac(0x1db)]=_0x1e7417),_0x55115f;});}(_0x2ba553,_0x27c9da),_0x45ebde=new _0x450c1b();for(const _0x500d14 of _0x21b3b9){const _0x4b602c={'type':_0x3c83a3(0x1cb),'model':new _0x524ec5({'label':_0x500d14[_0x3c83a3(0x1db)],'class':_0x500d14[_0x3c83a3(0x1e3)],'withText':!0x0,'role':_0x3c83a3(0x1b8),'_action':_0x500d14[_0x3c83a3(0x1e2)]})};_0x4b602c[_0x3c83a3(0x1c4)][_0x3c83a3(0x1d5)](_0x3c83a3(0x1bf))['to'](_0x2ba553,_0x3c83a3(0x1e6),_0x157ac0=>_0x3c83a3(0x1bc)!=typeof _0x500d14[_0x3c83a3(0x1bf)]||(!_0x157ac0||_0x500d14[_0x3c83a3(0x1bf)](_0x2ba553))),_0x45ebde[_0x3c83a3(0x1df)](_0x4b602c);}return _0x45ebde;}(_0x14bc56,_0x4fc01d);return _0x14bc56[_0x1494ea(0x1d5)](_0x1494ea(0x1e6))['to'](_0x97998a,_0x1494ea(0x1e5)),_0x97998a[_0x1494ea(0x1d7)][_0x1494ea(0x1b5)]({'label':_0x5b9202(_0x1b476a,_0x1494ea(0x1c9)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x442293[_0x1494ea(0x1c7)]}),_0x97998a[_0x1494ea(0x1d1)]({'attributes':{'class':[_0x1494ea(0x1ca),_0x508b9e['if'](_0x1494ea(0x1e6),_0x1494ea(0x1d4))]},'on':{'click':_0x508b9e['to'](_0x52ac86=>_0x52ac86[_0x1494ea(0x1d0)]())}}),_0x97998a['on'](_0x1494ea(0x1e7),_0x4996b6=>{const _0x2d24ea=_0x1494ea;_0x14bc56[_0x2d24ea(0x1cc)]&&_0x2d24ea(0x1bc)==typeof _0x4996b6[_0x2d24ea(0x1b9)][_0x2d24ea(0x1b6)]&&_0x4996b6[_0x2d24ea(0x1b9)][_0x2d24ea(0x1b6)](_0x14bc56);}),_0x3bcbee(_0x97998a,_0x497aec,{'role':_0x1494ea(0x1c3)}),_0x97998a[_0x1494ea(0x1ce)](_0x14bc56,_0x1494ea(0x1c1),(_0x3dbb45,_0x412248,_0x2e5449)=>{const _0x2b4714=_0x1494ea;if(_0x2e5449)for(const _0x3139ba of _0x97998a[_0x2b4714(0x1e4)][_0x2b4714(0x1d9)]){const _0x51390c=_0x3139ba[_0x2b4714(0x1da)][_0x2b4714(0x1de)],_0x15e9aa=_0x4fc01d[_0x2b4714(0x1e1)](_0x287394=>_0x287394[_0x2b4714(0x1e2)]===_0x51390c[_0x2b4714(0x1b6)])[_0x2b4714(0x1c0)];_0x3139ba[_0x2b4714(0x1c0)]=void 0x0===_0x15e9aa||_0x15e9aa(_0x14bc56);}}),_0x97998a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x16c9(){const _0x4420fb=['48250EMZklM','12qUEhId','name','15617QHWCxp','push','ck-revision-history-sidebar__revision-author_creator','728cgIbiU','Revision\x20author','626325eHVCTQ','set','803466SYKInP','ck-revision-history-sidebar__revision-author','0\x200\x2011\x2010','span','50ezCbNU','989984KnnAZg','2778822DhutNd','440844JUEfhz','setTemplate','Revision\x20creator','ck-revision-history-sidebar__revision-author__name'];_0x16c9=function(){return _0x4420fb;};return _0x16c9();}(function(_0x55c90d,_0x5ab5f){const _0x52a654=_0x27a8,_0x369de3=_0x55c90d();while(!![]){try{const _0x261cd2=parseInt(_0x52a654(0xa9))/0x1+-parseInt(_0x52a654(0xa7))/0x2+parseInt(_0x52a654(0xa0))/0x3+-parseInt(_0x52a654(0xae))/0x4*(parseInt(_0x52a654(0xad))/0x5)+-parseInt(_0x52a654(0xa8))/0x6+-parseInt(_0x52a654(0xb0))/0x7*(-parseInt(_0x52a654(0x9e))/0x8)+-parseInt(_0x52a654(0xa2))/0x9*(-parseInt(_0x52a654(0xa6))/0xa);if(_0x261cd2===_0x5ab5f)break;else _0x369de3['push'](_0x369de3['shift']());}catch(_0x5930aa){_0x369de3['push'](_0x369de3['shift']());}}}(_0x16c9,0x4c27b));import{View as _0x206f31,IconView as _0x52eca9}from'ckeditor5/src/ui.js';function _0x27a8(_0x220fd5,_0x4668d5){const _0x16c992=_0x16c9();return _0x27a8=function(_0x27a85c,_0x4d13a6){_0x27a85c=_0x27a85c-0x9e;let _0x38f6c1=_0x16c992[_0x27a85c];return _0x38f6c1;},_0x27a8(_0x220fd5,_0x4668d5);}import{getTranslation as _0xfb4691}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x4444c8 from'../../../theme/icons/user.svg';export default class ni extends _0x206f31{constructor(_0x37b7c8,_0x55f927,_0x493e99){const _0x4762cd=_0x27a8;super(_0x37b7c8);const _0xdac7ef=new _0x52eca9();_0xdac7ef[_0x4762cd(0xa1)]({'content':_0x4444c8,'viewBox':_0x4762cd(0xa4)});const _0x4190c7=['ck',_0x4762cd(0xa3)];_0x493e99&&_0x4190c7[_0x4762cd(0xb1)](_0x4762cd(0xb2));const _0x2415d9=[{'tag':_0x4762cd(0xa5),'attributes':{'class':['ck',_0x4762cd(0xac)],'title':_0xfb4691(_0x37b7c8,_0x493e99?_0x4762cd(0xab):_0x4762cd(0x9f))},'children':[_0xdac7ef,_0x55f927[_0x4762cd(0xaf)]]}];this[_0x4762cd(0xaa)]({'tag':'li','attributes':{'class':_0x4190c7},'children':_0x2415d9});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4af25a=_0xb296;(function(_0x1d4ee2,_0x29e59a){const _0x16f6b6=_0xb296,_0x5f3b7b=_0x1d4ee2();while(!![]){try{const _0x3dbbb2=-parseInt(_0x16f6b6(0x1c6))/0x1*(parseInt(_0x16f6b6(0x1c4))/0x2)+parseInt(_0x16f6b6(0x1c1))/0x3*(parseInt(_0x16f6b6(0x1d5))/0x4)+parseInt(_0x16f6b6(0x1d9))/0x5*(parseInt(_0x16f6b6(0x1d3))/0x6)+parseInt(_0x16f6b6(0x1c8))/0x7*(-parseInt(_0x16f6b6(0x1d0))/0x8)+-parseInt(_0x16f6b6(0x1d4))/0x9+-parseInt(_0x16f6b6(0x1c7))/0xa+-parseInt(_0x16f6b6(0x1c9))/0xb*(-parseInt(_0x16f6b6(0x1d1))/0xc);if(_0x3dbbb2===_0x29e59a)break;else _0x5f3b7b['push'](_0x5f3b7b['shift']());}catch(_0x35844f){_0x5f3b7b['push'](_0x5f3b7b['shift']());}}}(_0x5d03,0x9eea6));import{LabeledFieldView as _0x4cad9f}from'ckeditor5/src/ui.js';function _0x5d03(){const _0x4c0fbf=['4638599NZTyMi','11ePPQDN','fieldView','destroy','span','extendTemplate','Revision\x20name','element','8VDINLo','22807476CBrhEv','ck-tooltip_multi-line','4434504yrLELr','8160066CGZmdc','48VYIbNg','ck-revision-history-sidebar__revision-name','clientWidth','render','5KxmHaI','_updateTooltipText','scrollWidth','bindTemplate','set','_resizeObserver','input','listenTo','_tooltipString','77733sMDCow','placeholder','value','853604gcdCZF','Enter\x20the\x20revision\x20name','1CfOsFH','3035880TAUXAG'];_0x5d03=function(){return _0x4c0fbf;};return _0x5d03();}import{ResizeObserver as _0x3e1227}from'ckeditor5/src/utils.js';import{getTranslation as _0x27e45c}from'../../utils/common-translations.js';function _0xb296(_0x500718,_0x332d23){const _0x5d033d=_0x5d03();return _0xb296=function(_0xb2966,_0x5c80f0){_0xb2966=_0xb2966-0x1ba;let _0x251dc6=_0x5d033d[_0xb2966];return _0x251dc6;},_0xb296(_0x500718,_0x332d23);}import'../../../theme/revision/revisionname.css';export default class mt extends _0x4cad9f{constructor(_0x140b62,_0x5427b0){const _0x2a8d3c=_0xb296;super(_0x140b62,_0x5427b0),this[_0x2a8d3c(0x1bd)]=null;const _0x35a4dd=this[_0x2a8d3c(0x1bb)];this[_0x2a8d3c(0x1bc)]({'label':_0x27e45c(_0x140b62,_0x2a8d3c(0x1ce)),'_tooltipString':''}),this[_0x2a8d3c(0x1ca)][_0x2a8d3c(0x1c2)]=_0x27e45c(_0x140b62,_0x2a8d3c(0x1c5)),this[_0x2a8d3c(0x1cd)]({'tag':_0x2a8d3c(0x1cc),'attributes':{'class':[_0x2a8d3c(0x1d6)],'data-cke-tooltip-text':_0x35a4dd['to'](_0x2a8d3c(0x1c0)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x2a8d3c(0x1d2)}});}[_0x4af25a(0x1d8)](){const _0x5ea1ad=_0x4af25a;super[_0x5ea1ad(0x1d8)](),this[_0x5ea1ad(0x1bd)]=new _0x3e1227(this[_0x5ea1ad(0x1ca)][_0x5ea1ad(0x1cf)],()=>this[_0x5ea1ad(0x1da)]()),this[_0x5ea1ad(0x1bf)](this[_0x5ea1ad(0x1ca)],_0x5ea1ad(0x1be),()=>this[_0x5ea1ad(0x1da)]());}[_0x4af25a(0x1cb)](){const _0x47e3fa=_0x4af25a;super[_0x47e3fa(0x1cb)](),this[_0x47e3fa(0x1bd)]&&this[_0x47e3fa(0x1bd)][_0x47e3fa(0x1cb)]();}[_0x4af25a(0x1da)](){const _0x456f0b=_0x4af25a,_0x348394=this[_0x456f0b(0x1ca)][_0x456f0b(0x1cf)];this[_0x456f0b(0x1c0)]=_0x348394[_0x456f0b(0x1ba)]>_0x348394[_0x456f0b(0x1d7)]&&_0x348394[_0x456f0b(0x1c3)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0xf9c6ed=_0x5770;(function(_0x4b0878,_0x348ff6){const _0xf3128b=_0x5770,_0x4c1b9c=_0x4b0878();while(!![]){try{const _0x3d65b4=-parseInt(_0xf3128b(0x159))/0x1*(parseInt(_0xf3128b(0x185))/0x2)+-parseInt(_0xf3128b(0x163))/0x3+parseInt(_0xf3128b(0x181))/0x4*(parseInt(_0xf3128b(0x175))/0x5)+-parseInt(_0xf3128b(0x162))/0x6*(parseInt(_0xf3128b(0x158))/0x7)+-parseInt(_0xf3128b(0x15b))/0x8*(-parseInt(_0xf3128b(0x15f))/0x9)+parseInt(_0xf3128b(0x187))/0xa*(parseInt(_0xf3128b(0x169))/0xb)+-parseInt(_0xf3128b(0x195))/0xc*(parseInt(_0xf3128b(0x154))/0xd);if(_0x3d65b4===_0x348ff6)break;else _0x4c1b9c['push'](_0x4c1b9c['shift']());}catch(_0x502f92){_0x4c1b9c['push'](_0x4c1b9c['shift']());}}}(_0x1acc,0xa0b0b));import{View as _0x1b3ff6,createLabeledInputText as _0xddec37}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x1a3edc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2e16c9 from'./revisionnameview.js';function _0x5770(_0x3d1eff,_0xc1c3b1){const _0x1accda=_0x1acc();return _0x5770=function(_0x5770cf,_0x52a085){_0x5770cf=_0x5770cf-0x152;let _0x5c0fdb=_0x1accda[_0x5770cf];return _0x5c0fdb;},_0x5770(_0x3d1eff,_0xc1c3b1);}import _0x2d30a6 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1b31c6}from'./utils.js';import{createActionsDropdownView as _0x20f769}from'./createrevisionactionsdropdown.js';function _0x1acc(){const _0x36d978=['fieldView','.ck-thread__remove-confirm','closest','revisionActionsView','map','from','listenTo','16pKzaBC','isActionsDropdownOpen','ck-revision-history-sidebar__revision-wrapper','ck-revision-history-sidebar__revision__date','1186722kawvHQ','set','12454600JRcCgM','bind','ck-revision-history-sidebar__revision_selected','extendTemplate','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-reset','creator','isSelected','length','div','unhighlight','highlight','uiLanguage','name','876uXmMvN','_revision','ck-disabled','158041kglgNP','span','ck-revision-history-sidebar__actions_dropdown_open','authors','2863HJuCKf','1qhrCbc','value','1792296QVkCRJ','fire','220','_createdAtFormatted','18JwgRRt','setName','srcElement','7194apHSAZ','554382epwyBz','isHighlighted','render','unshift','createdAt','deselect','11Eldxfa','bindTemplate','setTemplate','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision_highlighted','isConfirm','select','change','ck-revision-history-sidebar__revision','filter','isReady','ck-revision-history-sidebar__revision__controls-wrapper','1400825PVXmkq','_requireRevisionName','element','isEnabled','revisionNameView'];_0x1acc=function(){return _0x36d978;};return _0x1acc();}import'../../../theme/revision/revision.css';export default class di extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1a3edc(_0x1b3ff6){constructor(_0x490a45,_0x49e558,_0x5c87ae,_0x5745da){const _0x556dbb=_0x5770;super(_0x490a45);const _0x3f30a4=this[_0x556dbb(0x16a)],_0x1c85b0=function(_0x2c19d6,_0x425dde){const _0x1f16b8=_0x556dbb,_0x2f9866=Array[_0x1f16b8(0x17f)](_0x425dde[_0x1f16b8(0x157)])[_0x1f16b8(0x172)](_0x2e1b6b=>_0x2e1b6b!=_0x425dde[_0x1f16b8(0x18d)]);return _0x425dde[_0x1f16b8(0x18d)]&&_0x2f9866[_0x1f16b8(0x166)](_0x425dde[_0x1f16b8(0x18d)]),_0x2f9866[_0x1f16b8(0x17e)](_0x10640d=>new _0x2d30a6(_0x2c19d6,_0x10640d,_0x10640d==_0x425dde[_0x1f16b8(0x18d)]));}(_0x490a45,_0x49e558);this['id']=_0x49e558['id'],this[_0x556dbb(0x152)]=_0x49e558,this[_0x556dbb(0x176)]=_0x5745da,this[_0x556dbb(0x188)](_0x556dbb(0x194),_0x556dbb(0x167))['to'](_0x49e558),this[_0x556dbb(0x188)](_0x556dbb(0x15e))['to'](this,_0x556dbb(0x167),_0x35a89a=>_0x1b31c6(_0x490a45[_0x556dbb(0x193)],_0x35a89a)),this[_0x556dbb(0x186)](_0x556dbb(0x18e),!0x1),this[_0x556dbb(0x186)](_0x556dbb(0x164),!0x1),this[_0x556dbb(0x186)](_0x556dbb(0x182),!0x1),this[_0x556dbb(0x186)](_0x556dbb(0x173),!0x1),this[_0x556dbb(0x186)](_0x556dbb(0x178),!0x1),this[_0x556dbb(0x179)]=new _0x2e16c9(_0x490a45,_0xddec37),this[_0x556dbb(0x179)][_0x556dbb(0x17a)][_0x556dbb(0x18a)]({'attributes':{'maxlength':_0x556dbb(0x15d)}}),this[_0x556dbb(0x179)][_0x556dbb(0x17a)][_0x556dbb(0x188)](_0x556dbb(0x15a))['to'](this,_0x556dbb(0x194),_0x4288ad=>_0x4288ad||this[_0x556dbb(0x15e)]),this[_0x556dbb(0x179)][_0x556dbb(0x188)](_0x556dbb(0x178))['to'](this,_0x556dbb(0x18e),this,_0x556dbb(0x178),(_0x4caa92,_0x1cb85a)=>_0x4caa92&&_0x1cb85a),this[_0x556dbb(0x17d)]=_0x5c87ae&&_0x5c87ae[_0x556dbb(0x18f)]?_0x20f769(this,_0x5c87ae):'',this[_0x556dbb(0x17d)]&&this[_0x556dbb(0x17d)][_0x556dbb(0x188)](_0x556dbb(0x178))['to'](this),this[_0x556dbb(0x16b)]({'tag':_0x556dbb(0x190),'attributes':{'class':['ck',_0x556dbb(0x18c),_0x556dbb(0x183),_0x3f30a4['if'](_0x556dbb(0x16e),_0x556dbb(0x18b))]},'children':[{'tag':_0x556dbb(0x190),'attributes':{'class':['ck',_0x556dbb(0x18c),_0x556dbb(0x171),_0x3f30a4['if'](_0x556dbb(0x178),_0x556dbb(0x153),_0x167390=>!_0x167390),_0x3f30a4['if'](_0x556dbb(0x18e),_0x556dbb(0x189)),_0x3f30a4['if'](_0x556dbb(0x164),_0x556dbb(0x16d)),_0x3f30a4['if'](_0x556dbb(0x182),_0x556dbb(0x156))]},'children':[this[_0x556dbb(0x179)],{'tag':_0x556dbb(0x155),'attributes':{'class':['ck',_0x556dbb(0x184)]},'children':[{'text':_0x3f30a4['to'](_0x556dbb(0x15e))}]},{'tag':_0x556dbb(0x190),'attributes':{'class':['ck',_0x556dbb(0x174)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x556dbb(0x16c)]},'children':_0x1c85b0}]},this[_0x556dbb(0x17d)]],'on':{'click':_0x3f30a4['to'](_0x4ca4e8=>{const _0x5ce87d=_0x556dbb;_0x4ca4e8[_0x5ce87d(0x161)][_0x5ce87d(0x17c)](_0x5ce87d(0x17b))||this[_0x5ce87d(0x173)]&&this[_0x5ce87d(0x178)]&&this[_0x5ce87d(0x15c)](_0x5ce87d(0x16f),{'id':this['id']});})}}]});}[_0xf9c6ed(0x165)](){const _0x22f8f4=_0xf9c6ed;super[_0x22f8f4(0x165)]();const _0x97cb6e=this[_0x22f8f4(0x179)][_0x22f8f4(0x17a)][_0x22f8f4(0x177)];this[_0x22f8f4(0x180)](_0x97cb6e,_0x22f8f4(0x170),()=>{const _0xb581bf=_0x22f8f4;this[_0xb581bf(0x176)]&&!_0x97cb6e[_0xb581bf(0x15a)]||this[_0xb581bf(0x15c)](_0xb581bf(0x160),{'id':this['id'],'name':_0x97cb6e[_0xb581bf(0x15a)]}),_0x97cb6e[_0xb581bf(0x15a)]||(_0x97cb6e[_0xb581bf(0x15a)]=this[_0xb581bf(0x194)]?this[_0xb581bf(0x194)]:this[_0xb581bf(0x15e)]);});}[_0xf9c6ed(0x16f)](){const _0x2cad22=_0xf9c6ed;this[_0x2cad22(0x18e)]=!0x0;}[_0xf9c6ed(0x168)](){const _0x2d0ff5=_0xf9c6ed;this[_0x2d0ff5(0x18e)]=!0x1;}[_0xf9c6ed(0x192)](){const _0x41cd51=_0xf9c6ed;this[_0x41cd51(0x164)]=!0x0;}[_0xf9c6ed(0x191)](){const _0x494b79=_0xf9c6ed;this[_0x494b79(0x164)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x335aba=_0x3e7e;(function(_0x55378d,_0x1a5e63){const _0x28b551=_0x3e7e,_0x5ca790=_0x55378d();while(!![]){try{const _0x299065=parseInt(_0x28b551(0x151))/0x1*(parseInt(_0x28b551(0x156))/0x2)+parseInt(_0x28b551(0x158))/0x3*(parseInt(_0x28b551(0x155))/0x4)+-parseInt(_0x28b551(0x154))/0x5*(parseInt(_0x28b551(0x15a))/0x6)+-parseInt(_0x28b551(0x168))/0x7*(parseInt(_0x28b551(0x166))/0x8)+-parseInt(_0x28b551(0x164))/0x9+-parseInt(_0x28b551(0x165))/0xa+parseInt(_0x28b551(0x163))/0xb;if(_0x299065===_0x1a5e63)break;else _0x5ca790['push'](_0x5ca790['shift']());}catch(_0x5ab538){_0x5ca790['push'](_0x5ca790['shift']());}}}(_0x4044,0x38505));import{View as _0x188694}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x3e7e(_0x322c88,_0x3b4a87){const _0x404409=_0x4044();return _0x3e7e=function(_0x3e7ebf,_0xc2db42){_0x3e7ebf=_0x3e7ebf-0x151;let _0x4b7561=_0x404409[_0x3e7ebf];return _0x4b7561;},_0x3e7e(_0x322c88,_0x3b4a87);}export default class ls extends _0x188694{constructor(_0x2863d1){const _0x3a2e0f=_0x3e7e;super(_0x2863d1);const _0x54066d=this[_0x3a2e0f(0x162)];this[_0x3a2e0f(0x15b)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x3a2e0f(0x161)]({'tag':_0x3a2e0f(0x169),'attributes':{'class':['ck',_0x3a2e0f(0x16a),_0x54066d['if'](_0x3a2e0f(0x167),_0x3a2e0f(0x15f),_0xca4000=>!_0xca4000),_0x54066d['if'](_0x3a2e0f(0x153),_0x3a2e0f(0x15c))],'role':_0x3a2e0f(0x15d),'aria-pressed':_0x54066d['to'](_0x3a2e0f(0x153),_0x2a50ac=>_0x2a50ac?_0x3a2e0f(0x152):_0x3a2e0f(0x160))},'children':[{'tag':_0x3a2e0f(0x169),'attributes':{'class':['ck',_0x3a2e0f(0x15e)]}}],'on':{'click':_0x54066d['to'](_0x3a2e0f(0x157))}});}[_0x335aba(0x159)](){const _0xc03c66=_0x335aba;this[_0xc03c66(0x153)]=!this[_0xc03c66(0x153)];}}function _0x4044(){const _0x3bad1b=['615192eQSQHN','set','ck-revision-history-sidebar__subrevision-collapser_collapsed','button','ck-revision-history-sidebar__subrevision-collapser__inner','ck-hidden','true','setTemplate','bindTemplate','3144383yCEDmA','807084HUhdjg','1600630XTussN','24016JDKbyu','isVisible','924jTTCSE','span','ck-revision-history-sidebar__subrevision-collapser','772RQzlbG','false','_isCollapsed','5FTlILc','106284awJFdv','626fTORwc','click','51LCaBkS','toggle'];_0x4044=function(){return _0x3bad1b;};return _0x4044();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21e9ed=_0x3b7e;function _0x3b7e(_0x24aba4,_0x46119f){const _0x308a80=_0x308a();return _0x3b7e=function(_0x3b7eb6,_0x43fbab){_0x3b7eb6=_0x3b7eb6-0x120;let _0x1bf8e5=_0x308a80[_0x3b7eb6];return _0x1bf8e5;},_0x3b7e(_0x24aba4,_0x46119f);}(function(_0x277657,_0x25fce6){const _0x2e1844=_0x3b7e,_0x324509=_0x277657();while(!![]){try{const _0x3190ea=parseInt(_0x2e1844(0x13a))/0x1*(-parseInt(_0x2e1844(0x138))/0x2)+parseInt(_0x2e1844(0x128))/0x3*(-parseInt(_0x2e1844(0x121))/0x4)+-parseInt(_0x2e1844(0x12a))/0x5*(-parseInt(_0x2e1844(0x131))/0x6)+parseInt(_0x2e1844(0x124))/0x7+-parseInt(_0x2e1844(0x135))/0x8+-parseInt(_0x2e1844(0x13e))/0x9+-parseInt(_0x2e1844(0x12e))/0xa*(-parseInt(_0x2e1844(0x134))/0xb);if(_0x3190ea===_0x25fce6)break;else _0x324509['push'](_0x324509['shift']());}catch(_0x30b1bc){_0x324509['push'](_0x324509['shift']());}}}(_0x308a,0x71e7d));import{View as _0x506a53}from'ckeditor5/src/ui.js';import _0x22f3d5 from'./revisionauthorview.js';function _0x308a(){const _0x1b54c7=['set','bindTemplate','ck-revision-history-sidebar__revision-authors','6SKZOvB','uiLanguage','365IQozLW','bind','ck-revision-history-sidebar__subrevision','createdAt','535880DfSgdC','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__revision__date','64626pbhEWx','div','_createdAtFormatted','286yJzXoT','3360336oXSQhR','ck-reset','select','291566dbszxe','isSelected','3byHatG','fire','_parentRevisionId','ck-revision-history-sidebar__revision','2654307IFlwQP','deselect','setTemplate','1322556wQZcBL','creator','span','704046ibPrEr'];_0x308a=function(){return _0x1b54c7;};return _0x308a();}import{dateToPrettyFormat as _0x3e2f49}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class cs extends _0x506a53{constructor(_0x1a2fa3,_0x1071db,_0xf7bf42){const _0x372025=_0x3b7e;super(_0x1a2fa3);const _0x30d136=this[_0x372025(0x126)];this['id']=_0x1071db['id'],this[_0x372025(0x12b)](_0x372025(0x12d))['to'](_0x1071db),this[_0x372025(0x125)](_0x372025(0x139),!0x1),this[_0x372025(0x12b)](_0x372025(0x133))['to'](this,_0x372025(0x12d),_0x90c119=>_0x90c119?_0x3e2f49(_0x1a2fa3[_0x372025(0x129)],_0x90c119):void 0x0),this[_0x372025(0x13c)]=_0xf7bf42,this[_0x372025(0x120)]({'tag':_0x372025(0x132),'attributes':{'class':['ck',_0x372025(0x136),_0x372025(0x13d),_0x372025(0x12c),_0x30d136['if'](_0x372025(0x139),_0x372025(0x12f))]},'children':[{'tag':_0x372025(0x123),'attributes':{'class':['ck',_0x372025(0x130)]},'children':[{'text':_0x30d136['to'](_0x372025(0x133))}]},{'tag':'ul','attributes':{'class':['ck',_0x372025(0x127)]},'children':[new _0x22f3d5(_0x1a2fa3,_0x1071db[_0x372025(0x122)],!0x0)]}],'on':{'click':_0x30d136['to'](this[_0x372025(0x137)][_0x372025(0x12b)](this))}});}[_0x21e9ed(0x137)](){const _0x5ddbdc=_0x21e9ed;this[_0x5ddbdc(0x139)]=!0x0,this[_0x5ddbdc(0x13b)](_0x5ddbdc(0x137),{'parentId':this[_0x5ddbdc(0x13c)]});}[_0x21e9ed(0x13f)](){const _0x193996=_0x21e9ed;this[_0x193996(0x139)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2e10(_0x21bf91,_0x3f6cc4){var _0x40be3d=_0x40be();return _0x2e10=function(_0x2e10dd,_0x251372){_0x2e10dd=_0x2e10dd-0x1ac;var _0x375f90=_0x40be3d[_0x2e10dd];return _0x375f90;},_0x2e10(_0x21bf91,_0x3f6cc4);}(function(_0xcbc9ca,_0x5f4aeb){var _0x2a244d=_0x2e10,_0x5f17e8=_0xcbc9ca();while(!![]){try{var _0x201ac5=parseInt(_0x2a244d(0x1b5))/0x1+-parseInt(_0x2a244d(0x1b8))/0x2+-parseInt(_0x2a244d(0x1b4))/0x3+parseInt(_0x2a244d(0x1b9))/0x4+-parseInt(_0x2a244d(0x1b1))/0x5*(parseInt(_0x2a244d(0x1af))/0x6)+-parseInt(_0x2a244d(0x1b3))/0x7*(-parseInt(_0x2a244d(0x1ad))/0x8)+-parseInt(_0x2a244d(0x1ae))/0x9*(-parseInt(_0x2a244d(0x1b6))/0xa);if(_0x201ac5===_0x5f4aeb)break;else _0x5f17e8['push'](_0x5f17e8['shift']());}catch(_0x60c532){_0x5f17e8['push'](_0x5f17e8['shift']());}}}(_0x40be,0xc5687));function _0x40be(){var _0x391fc8=['1010eQwpNy','toLocaleDateString','634624mPGWYE','4070704DCwIzL','toLocaleTimeString','510104aGfHvl','39888TGusZh','42heyvRx','numeric','619585nNpMTv','long','105soxPZD','3527655mplNMg','747446yGQyFK'];_0x40be=function(){return _0x391fc8;};return _0x40be();}export function dateToPrettyFormat(_0x11226a,_0x13792a){var _0x5390c2=_0x2e10;return _0x13792a[_0x5390c2(0x1b7)](_0x11226a,{'month':_0x5390c2(0x1b2),'day':_0x5390c2(0x1b0)})+',\x20'+_0x13792a[_0x5390c2(0x1ac)](_0x11226a,{'hour':_0x5390c2(0x1b0),'minute':_0x5390c2(0x1b0)});}
|