@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
23 lines • 62.6 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x49e852=_0x35a4;(function(_0x103b91,_0x7fef4a){const _0x47026e=_0x35a4,_0x303990=_0x103b91();while(!![]){try{const _0x2a9bdc=-parseInt(_0x47026e(0x26a))/0x1+parseInt(_0x47026e(0x267))/0x2+-parseInt(_0x47026e(0x229))/0x3*(parseInt(_0x47026e(0x1ed))/0x4)+-parseInt(_0x47026e(0x21f))/0x5+parseInt(_0x47026e(0x21c))/0x6+parseInt(_0x47026e(0x1e2))/0x7*(-parseInt(_0x47026e(0x18a))/0x8)+parseInt(_0x47026e(0x20a))/0x9*(parseInt(_0x47026e(0x1cc))/0xa);if(_0x2a9bdc===_0x7fef4a)break;else _0x303990['push'](_0x303990['shift']());}catch(_0x3bd947){_0x303990['push'](_0x303990['shift']());}}}(_0x4c2d,0xc8b68));import{Plugin as _0x469ced,Command as _0x56fc55}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1e34b9}from'ckeditor5/src/utils.js';function _0x4c2d(){const _0xff6086=['stop','revisionHistoryLabel','8087500FIBfzv','markersEnd','_markSuggestions','add','editing','_setChanges','createRangeIn','includes','showStack','dataDowncast','mouseover','addRevision','_update','addRevisionData','isIncorrect','commands','isNavigationMode','detachRoot','_makeModelFromTape','attributes','view','restoreRevisionCallback','6398wIkKIe','createAttributeElement','change','addHighlight','domEvent','_findChangeIdFromDomTarget','clear','numberOfChanges','isBefore','schema','addClass','3443736BlkBIC','createUIElement','model','toViewPosition','wrap','elementEnd','_appendChild','toViewElement','mapViewToDom','getCustomProperty','authors','getRootNames','removeMarker:revision-suggestion','userId','nextPosition','done','_cleanMarkers','execute','deletion','pairId','isCollapsed','isOnRoot','_processTape','changeId','isRemoveSuggestion','then','isBlock','forEach','enqueueChange','27HqUhVO','isOfficialPlugin','writer','values','ck-revision-history-root-','mapper','revision-comment:','attribute:vid','maxOffset','suggestion','change:numberOfChanges','addMarker:revision','merge','abs','getLaterVisibleRevision','nodeAfter','revision-suggestion:','element:pre','5636220hCQBij','_joinTapes','domConverter','4537570GZsFzJ','vid_start','markerToHighlight','object','_getDiff','previousPosition','revision-suggestion','type','loadRevisionData','init','3GSLTEi','catch','_markMarkers','high','isInline','_utils','_threeWayMerge','getDomRoot','level','showNextChange','removeMarker:revision','addMarker:revision-suggestion:deletion','_setDistance','removeMarker','ck-suggestion-preview-marker-','change:isEnabled','endIndex','revisionHistoryAttachChange','left','consumable','getRevisionRootsAttributes','uiElement','RevisionHistoryUtils','attributesAfter','activeChange','adapter','insert','ck-suggestion-preview-marker','first','_initInteractions','startsWith','config','comment','keys','start','addMarker:revision-suggestion:insertion','_getChangeFromId','isContent','enableReadOnlyMode','_revisions','repository','ck-revision-history-root--active','getAttribute','isAtEnd','slice','isObject','isAfter','_removeMissingPairs','_removeUnsupportedChanges','index','right','checkAttribute','listenTo','_cleanUp','revision-viewer','change:activeView','span','text','attachChange','reconvertMarker','removeAttribute','vid','1603810DvWnEs','isLimit','createRange','248001QlGaRf','rootName','string','WidgetToolbarRepository','_fixObsoleteTags','createPositionBefore','oldRevisionId','isSuggestion','-new','find','_markMismatchedRemovedTags','markersStart','markerRange','indexOf','setAttribute','_markInsertions','revision:','createPositionFromPath','hasClass','element','roots','shift','getChild','_changeIdToChange','attributesBefore','code','observeMarkers','modelRange','ck-suggestion-marker','backward','resolve','addRoot','dataToMarker','unbindElementFromMarkerName','restoreRevision','has','updatePosition','selection','activeView','isEqual','bindElementToMarker','affectsData','concat','isAtStart','getItems','getIndex','getRevisionDocumentData','document','_makeTape','bind','getRevision','splice','markers','error','currentChangeNumber','toViewRange','locale','getWalker','forceDisabled','set','target','ck-suggestion-marker-merge','pluginName','range','parent','map','revision','_refreshStartEndIndex','_data','markerName','data-change-id','createRevision','unshift','insertions','distance','bottom','_balloon','plugins','showPreviousChange','mousedown','_step','suggestion:','POSITIVE_INFINITY','delete','pop','insertion','offsetSize','isAdded','markerNameToElements','end','findIndex','isEnabled','_getRevisionsRange','top','isPremiumPlugin','ck-revision-history-root-remove','_changeView','_sortAndFilterDiffChanges','next','vid_end','revisionHistory','RevisionsRepository','11632RUBBNA','side','for','remove','flat','elementStart','editingDowncast','isReady','change:isReady','requires','sort','hasAttribute','_setConversion','getAttributes','deletions','data','newRevisionId','refresh','low','item','split','push','isRemoved','editor','get','removeClass','ck-editor__editable__overlay','name','_makeModelFromViewString','getRoot','markerToData','compare','viewItem','highest','diff','softBreak','all','isAddSuggestion','RevisionViewer','from','ck-suggestion-marker-split','downcastDispatcher','_activeViewTarget','diffData','length','getClientRects','isAttached','ck-suggestion-marker-','change:activeChange','conversion','ck-revision-history-root-add','upcast','forward','return','destroy','filter','_getViewForChange','elementToAttribute','ck-suggestion-marker--active','test','nextSibling','changes','startIndex','consume'];_0x4c2d=function(){return _0xff6086;};return _0x4c2d();}function _0x35a4(_0x1a56df,_0xfd5cf4){const _0x4c2dbd=_0x4c2d();return _0x35a4=function(_0x35a442,_0x5bd172){_0x35a442=_0x35a442-0x17b;let _0x4cb70b=_0x4c2dbd[_0x35a442];return _0x4cb70b;},_0x35a4(_0x1a56df,_0xfd5cf4);}import{ContextualBalloon as _0x1fffe6}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x3bdffa,Element as _0x4badb3,Text as _0x509a36}from'ckeditor5/src/engine.js';import{Users as _0x3898fe,getMarkerDomElement as _0x14fa22}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x14d8ab from'./ui/revisionviewer/changedetailsview.js';import _0x215f50 from'./revisionsrepository.js';import _0x5b1cc2 from'./revisionhistoryutils.js';import _0x26d503 from'./changeitem.js';import{default as _0x58c66d}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x44bcd4}from'es-toolkit/compat';export default class m extends _0x469ced{[_0x49e852(0x251)];[_0x49e852(0x242)]=null;[_0x49e852(0x22e)];[_0x49e852(0x1b4)];[_0x49e852(0x184)];[_0x49e852(0x281)];[_0x49e852(0x2b6)];static get[_0x49e852(0x2a8)](){const _0x567222=_0x49e852;return _0x567222(0x1b0);}static get[_0x49e852(0x20b)](){return!0x0;}static get[_0x49e852(0x182)](){return!0x0;}static get[_0x49e852(0x193)](){return[_0x3898fe,_0x1fffe6,_0x215f50,_0x5b1cc2];}constructor(_0x1b921a){const _0x28e7ec=_0x49e852;super(_0x1b921a),this[_0x28e7ec(0x251)]=this[_0x28e7ec(0x1a1)][_0x28e7ec(0x2b7)][_0x28e7ec(0x1a2)](_0x28e7ec(0x189)),this[_0x28e7ec(0x22e)]=this[_0x28e7ec(0x1a1)][_0x28e7ec(0x2b7)][_0x28e7ec(0x1a2)](_0x28e7ec(0x23f)),this[_0x28e7ec(0x2a5)](_0x28e7ec(0x241),null),this[_0x28e7ec(0x2a5)](_0x28e7ec(0x290),null),this[_0x28e7ec(0x1b4)]=null,this[_0x28e7ec(0x2a5)](_0x28e7ec(0x1ac),null),this[_0x28e7ec(0x2a5)](_0x28e7ec(0x191),!0x1),this[_0x28e7ec(0x2a5)](_0x28e7ec(0x17f),!0x0),this['on'](_0x28e7ec(0x238),(_0x3de708,_0xbcc373,_0x481e10)=>{const _0x1dc383=_0x28e7ec;this[_0x1dc383(0x241)]=null,this[_0x1dc383(0x290)]=null,this[_0x1dc383(0x1a1)][_0x1dc383(0x1d0)][_0x1dc383(0x1e0)][_0x1dc383(0x1e4)](_0x13640b=>{const _0x341bf8=_0x1dc383;for(const _0x53bbc5 of this[_0x341bf8(0x1a1)][_0x341bf8(0x1d0)][_0x341bf8(0x1e0)][_0x341bf8(0x299)][_0x341bf8(0x27e)])_0x481e10?_0x13640b[_0x341bf8(0x1a3)](_0x341bf8(0x1a4),_0x53bbc5):_0x13640b[_0x341bf8(0x1ec)](_0x341bf8(0x1a4),_0x53bbc5);});}),this[_0x28e7ec(0x29b)](_0x28e7ec(0x1dc))['to'](this,_0x28e7ec(0x241),_0x3a1e4c=>null!==_0x3a1e4c),this[_0x28e7ec(0x29b)](_0x28e7ec(0x2a0))['to'](this,_0x28e7ec(0x191),this,_0x28e7ec(0x1ac),this,_0x28e7ec(0x241),(_0x1e9790,_0x4a7146,_0x5cf07b)=>_0x1e9790&&_0x5cf07b?_0x4a7146[_0x28e7ec(0x1c7)][_0x28e7ec(0x297)](_0x5cf07b):0x0),this[_0x28e7ec(0x29b)](_0x28e7ec(0x1e9))['to'](this,_0x28e7ec(0x191),this,_0x28e7ec(0x1ac),(_0x43e4cf,_0x579837)=>_0x43e4cf?_0x579837[_0x28e7ec(0x1c7)][_0x28e7ec(0x1b6)]:0x0),this[_0x28e7ec(0x184)]=null,this[_0x28e7ec(0x281)]=new Map(),this[_0x28e7ec(0x2b6)]=this[_0x28e7ec(0x1a1)][_0x28e7ec(0x2b7)][_0x28e7ec(0x1a2)](_0x1fffe6);}[_0x49e852(0x228)](){const _0x11086e=_0x49e852,_0x217e4a=this[_0x11086e(0x1a1)],_0x33a986=new ShowChangeCommand(_0x217e4a,{'direction':_0x11086e(0x287)}),_0xedf273=new ShowChangeCommand(_0x217e4a,{'direction':_0x11086e(0x1be)});(_0x217e4a[_0x11086e(0x1db)][_0x11086e(0x1cf)](_0x11086e(0x2b8),_0x33a986),_0x217e4a[_0x11086e(0x1db)][_0x11086e(0x1cf)](_0x11086e(0x232),_0xedf273),_0x217e4a[_0x11086e(0x1db)][_0x11086e(0x1cf)](_0x11086e(0x28c),new RestoreRevisionCommand(_0x217e4a)),this['on'](_0x11086e(0x214),()=>{const _0x176e63=_0x11086e;_0x33a986[_0x176e63(0x19b)](),_0xedf273[_0x176e63(0x19b)]();}),this[_0x11086e(0x196)](),this[_0x11086e(0x246)](),_0x217e4a[_0x11086e(0x24f)](_0x11086e(0x25f)),_0x217e4a[_0x11086e(0x2b7)][_0x11086e(0x28d)](_0x11086e(0x26d)))&&_0x217e4a[_0x11086e(0x2b7)][_0x11086e(0x1a2)](_0x11086e(0x26d))[_0x11086e(0x2a4)](_0x11086e(0x25f));}async[_0x49e852(0x298)](_0x23ee29){const _0x222949=_0x49e852;return await this[_0x222949(0x22e)][_0x222949(0x227)](_0x23ee29,this[_0x222949(0x242)]),this[_0x222949(0x22e)][_0x222949(0x298)](_0x23ee29);}async[_0x49e852(0x23d)](_0x29d5b9){const _0x289c22=_0x49e852;return await this[_0x289c22(0x22e)][_0x289c22(0x227)](_0x29d5b9,this[_0x289c22(0x242)]),this[_0x289c22(0x22e)][_0x289c22(0x23d)](_0x29d5b9);}async[_0x49e852(0x1a9)](_0x4cc3cb,_0x107288,_0x573269=!0x1){const _0x27fe9e=_0x49e852;if(!this[_0x27fe9e(0x17f)])return;const _0x1b3091=this[_0x27fe9e(0x1ac)],_0xefd116=this[_0x27fe9e(0x251)],_0x4cf435=_0x27fe9e(0x26c)==typeof _0x4cc3cb?_0xefd116[_0x27fe9e(0x29c)](_0x4cc3cb):_0x4cc3cb,_0x45da20=_0x27fe9e(0x26c)==typeof _0x107288?_0xefd116[_0x27fe9e(0x29c)](_0x107288):_0x107288,_0x4359f7=_0x4cf435['id'],_0x574711=_0x45da20?_0x45da20['id']:null;if(!_0x573269&&this[_0x27fe9e(0x1ac)]&&this[_0x27fe9e(0x1ac)][_0x27fe9e(0x19a)]===_0x4359f7&&this[_0x27fe9e(0x1ac)][_0x27fe9e(0x270)]===_0x574711)return Promise[_0x27fe9e(0x288)]();this[_0x27fe9e(0x191)]=!0x1,this[_0x27fe9e(0x290)]=null,this[_0x27fe9e(0x241)]=null,this[_0x27fe9e(0x1ac)]=new _0x58c66d(_0x4359f7,_0x574711);const _0x2bf8a1=this[_0x27fe9e(0x180)](_0x4cf435,_0x45da20,!0x0)[_0x27fe9e(0x2ab)](_0x1f5a54=>this[_0x27fe9e(0x22e)][_0x27fe9e(0x227)](_0x1f5a54,this[_0x27fe9e(0x242)]));return _0x2bf8a1[_0x27fe9e(0x19f)](new Promise(_0x5b7caa=>{setTimeout(_0x5b7caa,0x14);})),Promise[_0x27fe9e(0x1ae)](_0x2bf8a1)[_0x27fe9e(0x206)](()=>{const _0x4727aa=_0x27fe9e;if(!this[_0x4727aa(0x17f)])return;this[_0x4727aa(0x25e)]();const _0x1639bc=this[_0x4727aa(0x223)](_0x4359f7,_0x574711);for(const _0x23d1c5 of _0x1639bc[_0x4727aa(0x1c7)])this[_0x4727aa(0x281)][_0x4727aa(0x2a5)](_0x23d1c5['id'],_0x23d1c5);this[_0x4727aa(0x1a1)][_0x4727aa(0x1ef)][_0x4727aa(0x209)]({'isUndoable':!0x1},_0x4505d0=>{const _0xbedb8=_0x4727aa;for(const _0x2c5e4d of this[_0xbedb8(0x1a1)][_0xbedb8(0x1ef)][_0xbedb8(0x299)][_0xbedb8(0x1f8)]())_0x4505d0[_0xbedb8(0x1dd)](_0x2c5e4d);for(const _0x41f95d of Object[_0xbedb8(0x24a)](_0x1639bc[_0xbedb8(0x1ef)])){const _0x4f3947=_0x4505d0[_0xbedb8(0x289)](_0x41f95d);for(const _0x24cbe9 of Object[_0xbedb8(0x24a)](_0x1639bc[_0xbedb8(0x1df)][_0x41f95d]))_0x4505d0[_0xbedb8(0x278)](_0x24cbe9,_0x1639bc[_0xbedb8(0x1df)][_0x41f95d][_0x24cbe9],_0x4f3947);_0x4505d0[_0xbedb8(0x243)](_0x1639bc[_0xbedb8(0x1ef)][_0x41f95d],_0x4f3947,0x0);}}),this[_0x4727aa(0x1ac)][_0x4727aa(0x1d1)](this[_0x4727aa(0x185)](_0x1639bc[_0x4727aa(0x1c7)])),this[_0x4727aa(0x191)]=!0x0;})[_0x27fe9e(0x22a)](_0x110a1d=>{const _0x1c32f7=_0x27fe9e;console[_0x1c32f7(0x29f)](_0x110a1d),this[_0x1c32f7(0x25e)](),_0x1b3091&&(this[_0x1c32f7(0x1ac)]=_0x1b3091),this[_0x1c32f7(0x191)]=!0x0;});}[_0x49e852(0x1d9)](_0x3c4207,_0x3c18b1){const _0xc478bb=_0x49e852,_0x5dec28=this[_0xc478bb(0x251)][_0xc478bb(0x2b1)](_0x3c4207);return _0x5dec28['on'](_0xc478bb(0x1d8),(_0x431bef,_0x34506a,_0x4d3d11)=>_0x3c18b1(_0x34506a,_0x4d3d11,_0x5dec28)),this[_0xc478bb(0x251)][_0xc478bb(0x1d7)](_0x5dec28),_0x5dec28;}[_0x49e852(0x25e)](){const _0x1a51f9=_0x49e852;this[_0x1a51f9(0x241)]=null,this[_0x1a51f9(0x1fd)](),this[_0x1a51f9(0x184)]&&this[_0x1a51f9(0x184)][_0x1a51f9(0x1c0)](),this[_0x1a51f9(0x184)]=null,this[_0x1a51f9(0x281)][_0x1a51f9(0x1e8)](),this[_0x1a51f9(0x1a1)][_0x1a51f9(0x1ef)][_0x1a51f9(0x209)]({'isUndoable':!0x1},_0x51d0a1=>{const _0x29f052=_0x1a51f9;for(const _0x423c7b of this[_0x29f052(0x1a1)][_0x29f052(0x1ef)][_0x29f052(0x299)][_0x29f052(0x1f8)]())_0x51d0a1[_0x29f052(0x1dd)](_0x423c7b);});}[_0x49e852(0x185)](_0x3cc208){const _0x43cf31=_0x49e852,_0x99f6f1=[],_0x3757b6=new Map();for(const _0x18b991 of this[_0x43cf31(0x1a1)][_0x43cf31(0x1ef)][_0x43cf31(0x299)][_0x43cf31(0x1f8)]()){const _0x2dad7b=this[_0x43cf31(0x1a1)][_0x43cf31(0x1d0)][_0x43cf31(0x1e0)][_0x43cf31(0x230)](_0x18b991);if(!_0x2dad7b)continue;const _0x579eee=_0x2dad7b[_0x43cf31(0x1b7)]()[_0x43cf31(0x19d)](0x0);_0x579eee&&(_0x99f6f1[_0x43cf31(0x19f)](_0x18b991),_0x3757b6[_0x43cf31(0x2a5)](_0x18b991,_0x579eee));}return _0x99f6f1[_0x43cf31(0x194)]((_0xe77d67,_0x749074)=>{const _0x447ffb=_0x43cf31,_0x158d47=_0x3757b6[_0x447ffb(0x1a2)](_0xe77d67),_0x478afb=_0x3757b6[_0x447ffb(0x1a2)](_0x749074);return _0x158d47['y']-_0x478afb['y']||_0x158d47['x']-_0x478afb['x'];}),(_0x3cc208=_0x3cc208[_0x43cf31(0x1c1)](_0x1dd13c=>_0x99f6f1[_0x43cf31(0x1d3)](_0x1dd13c[_0x43cf31(0x26b)])))[_0x43cf31(0x194)]((_0x4f9213,_0x4c283c)=>_0x99f6f1[_0x43cf31(0x277)](_0x4f9213[_0x43cf31(0x26b)])-_0x99f6f1[_0x43cf31(0x277)](_0x4c283c[_0x43cf31(0x26b)])),_0x3cc208;}[_0x49e852(0x29a)](_0x29c810){const _0x345636=_0x49e852,_0x44a2b7=Array[_0x345636(0x1b1)](_0x29c810[_0x345636(0x29e)])[_0x345636(0x1c1)](([_0x4b5ecc,_0x22b1fa])=>_0x4b5ecc[_0x345636(0x247)](_0x345636(0x27a))&&!_0x22b1fa[_0x345636(0x201)]),_0x30dddf=Array[_0x345636(0x1b1)](this[_0x345636(0x1a1)][_0x345636(0x1ef)][_0x345636(0x1d2)](_0x29c810)[_0x345636(0x2a3)]({'singleCharacters':!0x0}));if(0x0!=_0x44a2b7[_0x345636(0x1b6)])for(const _0x8286ab of _0x30dddf){const [_0x3ee4c3,_0x3820eb]=_0x44a2b7[0x0],[,_0x3fa338,_0x1f41f4]=_0x3ee4c3[_0x345636(0x19e)](':');if(_0x3820eb[_0x345636(0x17d)][_0x345636(0x291)](_0x8286ab[_0x345636(0x1fb)])&&_0x44a2b7[_0x345636(0x27f)](),(_0x8286ab[_0x345636(0x224)][_0x345636(0x291)](_0x3820eb[_0x345636(0x24b)])||_0x8286ab[_0x345636(0x224)][_0x345636(0x257)](_0x3820eb[_0x345636(0x24b)]))&&(_0x345636(0x2bf)==_0x3fa338?_0x8286ab[_0x345636(0x17b)]={'userId':_0x1f41f4}:_0x345636(0x1ff)==_0x3fa338&&(_0x8286ab[_0x345636(0x1a0)]={'userId':_0x1f41f4})),0x0==_0x44a2b7[_0x345636(0x1b6)])break;}return _0x30dddf;}[_0x49e852(0x2ad)](_0x13e8cf){const _0x3a1563=_0x49e852,_0x4d47d8=new Map();for(let _0x4ae977=0x0;_0x4ae977<_0x13e8cf[_0x3a1563(0x1b6)];_0x4ae977++)_0x3a1563(0x262)===_0x13e8cf[_0x4ae977][_0x3a1563(0x226)]?(_0x13e8cf[_0x4ae977][_0x3a1563(0x19d)][_0x3a1563(0x1c8)]=_0x4ae977,_0x13e8cf[_0x4ae977][_0x3a1563(0x19d)][_0x3a1563(0x239)]=_0x4ae977):(_0x3a1563(0x18f)===_0x13e8cf[_0x4ae977][_0x3a1563(0x226)]?_0x13e8cf[_0x4ae977][_0x3a1563(0x19d)][_0x3a1563(0x1c8)]=_0x4ae977:_0x3a1563(0x1f2)===_0x13e8cf[_0x4ae977][_0x3a1563(0x226)]&&(_0x13e8cf[_0x4ae977][_0x3a1563(0x19d)][_0x3a1563(0x239)]=_0x4ae977),_0x4d47d8[_0x3a1563(0x2a5)](_0x13e8cf[_0x4ae977]['id'],_0x4ae977));for(const _0x3570a2 of _0x4d47d8[_0x3a1563(0x20d)]())_0x3a1563(0x18f)===_0x13e8cf[_0x3570a2][_0x3a1563(0x226)]?_0x13e8cf[_0x3570a2][_0x3a1563(0x19d)][_0x3a1563(0x239)]=_0x4d47d8[_0x3a1563(0x1a2)](_0x13e8cf[_0x3570a2][_0x3a1563(0x200)]):_0x3a1563(0x1f2)===_0x13e8cf[_0x3570a2][_0x3a1563(0x226)]&&(_0x13e8cf[_0x3570a2][_0x3a1563(0x19d)][_0x3a1563(0x1c8)]=_0x4d47d8[_0x3a1563(0x1a2)](_0x13e8cf[_0x3570a2][_0x3a1563(0x200)]));}[_0x49e852(0x203)](_0x82bcb6){const _0x549cd6=_0x49e852;for(let _0x2a896b=0x0;_0x2a896b<_0x82bcb6[_0x549cd6(0x1b6)];_0x2a896b++){if(_0x549cd6(0x18f)===_0x82bcb6[_0x2a896b][_0x549cd6(0x226)])_0x82bcb6[_0x2a896b][_0x549cd6(0x19d)][_0x549cd6(0x1c8)]=_0x2a896b;else{if(_0x549cd6(0x1f2)===_0x82bcb6[_0x2a896b][_0x549cd6(0x226)]){_0x82bcb6[_0x2a896b][_0x549cd6(0x19d)][_0x549cd6(0x239)]=_0x2a896b;const _0x4b1229=_0x82bcb6[_0x2a896b][_0x549cd6(0x19d)][_0x549cd6(0x1c8)];_0x82bcb6[_0x4b1229][_0x549cd6(0x200)]=_0x82bcb6[_0x2a896b]['id'],_0x82bcb6[_0x2a896b][_0x549cd6(0x200)]=_0x82bcb6[_0x4b1229]['id'];}else _0x82bcb6[_0x2a896b][_0x549cd6(0x19d)][_0x549cd6(0x1c8)]=_0x2a896b,_0x82bcb6[_0x2a896b][_0x549cd6(0x19d)][_0x549cd6(0x239)]=_0x2a896b,_0x82bcb6[_0x2a896b][_0x549cd6(0x200)]=null;}_0x82bcb6[_0x2a896b][_0x549cd6(0x275)]||(_0x82bcb6[_0x2a896b][_0x549cd6(0x275)]=[],_0x82bcb6[_0x2a896b][_0x549cd6(0x1cd)]=[]);}}[_0x49e852(0x279)](_0x4b1edb,_0x41881a){const _0x538322=_0x49e852,_0x31dda6=_0x4b1edb[_0x538322(0x1c1)](_0x456f9b=>!_0x456f9b[_0x538322(0x17b)]);for(let _0x4ce41a=0x0;_0x4ce41a<_0x41881a[_0x538322(0x1b6)];_0x4ce41a++)_0x41881a[_0x4ce41a][_0x538322(0x17b)]&&(_0x31dda6[_0x4ce41a][_0x538322(0x17b)]=_0x41881a[_0x4ce41a][_0x538322(0x17b)]);}[_0x49e852(0x223)](_0x418b16,_0x4e887a=null){const _0x7871d1=_0x49e852,_0x526d0e=this[_0x7871d1(0x251)][_0x7871d1(0x29c)](_0x418b16),_0x295bd7=_0x4e887a?this[_0x7871d1(0x251)][_0x7871d1(0x29c)](_0x4e887a):null,_0x448f0b=this[_0x7871d1(0x180)](_0x526d0e,_0x295bd7),_0x3a25c3=_0x448f0b[_0x448f0b[_0x7871d1(0x1b6)]-0x1],_0x17a2a7=new Map(),_0x5c4ab2={'model':{},'attributes':{},'changes':[]},_0xba9a4d=new Set(),_0x158860=new Map();for(let _0x2c3e3f=_0x448f0b[_0x7871d1(0x1b6)]-0x1;_0x2c3e3f>=0x0;_0x2c3e3f--){const _0x568763=_0x448f0b[_0x2c3e3f];for(const _0x44671d of Object[_0x7871d1(0x24a)](_0x568763[_0x7871d1(0x1b5)]))if(_0x568763[_0x7871d1(0x1b5)][_0x44671d][_0x7871d1(0x263)]){const _0x30d9b5=_0x568763[_0x7871d1(0x1b5)][_0x44671d][_0x7871d1(0x263)];_0x30d9b5[_0x7871d1(0x1b8)]?(_0xba9a4d[_0x7871d1(0x1cf)](_0x44671d),_0x158860[_0x7871d1(0x28d)](_0x44671d)&&_0x158860[_0x7871d1(0x1a2)](_0x44671d)[_0x7871d1(0x1fa)]==_0x30d9b5[_0x7871d1(0x1fa)]?_0x158860[_0x7871d1(0x2bd)](_0x44671d):_0x158860[_0x7871d1(0x2a5)](_0x44671d,_0x30d9b5)):_0x158860[_0x7871d1(0x28d)](_0x44671d)?(_0xba9a4d[_0x7871d1(0x2bd)](_0x44671d),_0x158860[_0x7871d1(0x2bd)](_0x44671d)):(_0xba9a4d[_0x7871d1(0x1cf)](_0x44671d),_0x158860[_0x7871d1(0x2a5)](_0x44671d,_0x30d9b5));}else _0xba9a4d[_0x7871d1(0x1cf)](_0x44671d);}for(const _0x328b00 of _0xba9a4d){const _0x4c83b6=_0x158860[_0x7871d1(0x28d)](_0x328b00)&&!_0x158860[_0x7871d1(0x1a2)](_0x328b00)[_0x7871d1(0x1b8)];let _0x5702b4=_0x4c83b6?_0x448f0b[_0x7871d1(0x1b6)]-0x1:0x0;const _0x53373b=_0x4c83b6?-0x1:0x1;for(;_0x448f0b[_0x5702b4];){const _0x389095=_0x448f0b[_0x5702b4];if(_0x389095[_0x7871d1(0x1b5)][_0x328b00]){const _0x1084e1=_0x4c83b6?_0x389095[_0x7871d1(0x1b5)][_0x328b00][_0x7871d1(0x282)]:_0x389095[_0x7871d1(0x1b5)][_0x328b00][_0x7871d1(0x240)];_0x5c4ab2[_0x7871d1(0x1df)][_0x328b00]=_0x1084e1?_0x44bcd4(_0x1084e1):{};break;}_0x5702b4+=_0x53373b;}}for(const _0x37967f of _0x448f0b){_0x37967f[_0x7871d1(0x1ef)]={};for(const _0x18975e of _0x37967f[_0x7871d1(0x1f7)])_0x17a2a7[_0x7871d1(0x2a5)](_0x18975e['id'],_0x18975e);for(const _0x415b09 of _0xba9a4d){const _0x25c6cb=_0x37967f[_0x7871d1(0x1b5)][_0x415b09]?_0x37967f[_0x7871d1(0x1b5)][_0x415b09][_0x7871d1(0x2b3)]:'[]',_0x28e91b=_0x37967f[_0x7871d1(0x1b5)][_0x415b09]?_0x37967f[_0x7871d1(0x1b5)][_0x415b09][_0x7871d1(0x198)]:'[]';_0x37967f[_0x7871d1(0x1ef)][_0x415b09]={'insertions':this[_0x7871d1(0x22e)][_0x7871d1(0x1a6)](_0x25c6cb),'deletions':this[_0x7871d1(0x22e)][_0x7871d1(0x1a6)](_0x28e91b)};}}for(const _0x5094cc of _0xba9a4d){let _0x1eadfc=null,_0x27c2e3=0x0;const _0xb433d5=new Map(Array[_0x7871d1(0x1b1)](_0x526d0e[_0x7871d1(0x1ef)][_0x5094cc][_0x7871d1(0x2b3)][_0x7871d1(0x29e)])[_0x7871d1(0x1c1)](([_0xbdb20b])=>!_0xbdb20b[_0x7871d1(0x247)](_0x7871d1(0x27a))));let _0x1536a8=0x0;for(const _0x4751e4 of _0x448f0b){const _0x337d9c=this[_0x7871d1(0x29a)](_0x4751e4[_0x7871d1(0x1ef)][_0x5094cc][_0x7871d1(0x2b3)]);_0x4751e4==_0x526d0e?(_0x1eadfc=_0x337d9c,_0x27c2e3=_0x1eadfc[_0x7871d1(0x1b6)],_0x1eadfc[_0x7871d1(0x208)](_0x5c2405=>{_0x5c2405['id']=_0x1536a8++;}),this[_0x7871d1(0x203)](_0x1eadfc)):this[_0x7871d1(0x279)](_0x1eadfc,_0x337d9c);const _0x3ecbaa=_0x1eadfc[_0x7871d1(0x1c1)](_0x5eba44=>!_0x5eba44[_0x7871d1(0x17b)])[_0x7871d1(0x2ab)](_0xde5182=>_0xde5182['id']);let _0x13cf3d=0x0;const _0x2cb566=this[_0x7871d1(0x29a)](_0x4751e4[_0x7871d1(0x1ef)][_0x5094cc][_0x7871d1(0x198)]);_0x2cb566[_0x7871d1(0x208)](_0x57b881=>{const _0x5e134b=_0x7871d1;_0x57b881[_0x5e134b(0x1a0)]?_0x57b881['id']=_0x27c2e3++:_0x57b881['id']=_0x3ecbaa[_0x13cf3d++];}),this[_0x7871d1(0x203)](_0x2cb566),this[_0x7871d1(0x235)](_0x1eadfc,_0x7871d1(0x17b)),this[_0x7871d1(0x235)](_0x2cb566,_0x7871d1(0x1a0)),_0x4751e4==_0x526d0e&&this[_0x7871d1(0x22b)](_0x1eadfc,_0xb433d5),_0x1eadfc=this[_0x7871d1(0x21d)](_0x1eadfc,_0x2cb566),this[_0x7871d1(0x2ad)](_0x1eadfc),this[_0x7871d1(0x235)](_0x1eadfc,_0x7871d1(0x1a0));}_0x1eadfc=_0x1eadfc[_0x7871d1(0x1c1)](_0x1e4e57=>!(_0x1e4e57[_0x7871d1(0x17b)]&&_0x1e4e57[_0x7871d1(0x1a0)]));const _0x1839a1=new Map(_0x3a25c3[_0x7871d1(0x1ef)][_0x5094cc][_0x7871d1(0x198)][_0x7871d1(0x29e)]),_0x2eb867=new Set(_0xb433d5[_0x7871d1(0x24a)]());for(const _0x20eccd of _0x1839a1[_0x7871d1(0x24a)]())_0x2eb867[_0x7871d1(0x2bd)](_0x20eccd);this[_0x7871d1(0x1ce)](_0x1eadfc,_0x2eb867),this[_0x7871d1(0x26e)](_0x1eadfc),_0x1eadfc=this[_0x7871d1(0x258)](_0x1eadfc),_0x1eadfc=this[_0x7871d1(0x274)](_0x1eadfc),_0x1eadfc=this[_0x7871d1(0x259)](_0x1eadfc);const {root:_0x34485e,changes:_0x480e6f}=this[_0x7871d1(0x1de)](_0x1eadfc,_0x17a2a7,_0x5094cc);_0x5c4ab2[_0x7871d1(0x1ef)][_0x5094cc]=_0x34485e;const _0x28978d=_0x158860[_0x7871d1(0x1a2)](_0x5094cc);if(_0x28978d){const _0x4b04b8=_0x17a2a7[_0x7871d1(0x1a2)](_0x28978d[_0x7871d1(0x1fa)]),_0x17ea66=new _0x26d503({'author':_0x4b04b8,'type':_0x28978d[_0x7871d1(0x1b8)]?_0x7871d1(0x1cf):_0x7871d1(0x18d),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5094cc});_0x480e6f[_0x7871d1(0x2b2)](_0x17ea66),_0x5c4ab2[_0x7871d1(0x1df)][_0x5094cc][_0x7871d1(0x23a)]=_0x17ea66['id'];}_0x5c4ab2[_0x7871d1(0x1c7)]=_0x5c4ab2[_0x7871d1(0x1c7)][_0x7871d1(0x294)](_0x480e6f);}return _0x5c4ab2;}[_0x49e852(0x22b)](_0x2fcb0b,_0x233229){const _0x3e061b=_0x49e852;for(let _0x14f5e0=0x0;_0x14f5e0<_0x2fcb0b[_0x3e061b(0x1b6)];_0x14f5e0++)for(const [_0x19960f,_0x53f516]of _0x233229)!_0x53f516[_0x3e061b(0x201)]&&_0x53f516[_0x3e061b(0x24b)][_0x3e061b(0x291)](_0x2fcb0b[_0x14f5e0][_0x3e061b(0x224)])&&_0x2fcb0b[_0x14f5e0][_0x3e061b(0x275)][_0x3e061b(0x19f)](_0x19960f),_0x53f516[_0x3e061b(0x17d)][_0x3e061b(0x291)](_0x2fcb0b[_0x14f5e0][_0x3e061b(0x1fb)])&&_0x2fcb0b[_0x14f5e0][_0x3e061b(0x1cd)][_0x3e061b(0x19f)](_0x19960f);}[_0x49e852(0x21d)](_0x18fd90,_0x41337d){const _0x2c4128=_0x49e852;let _0x497426=[],_0x375bef=0x0,_0x8cceca=0x0;for(;_0x375bef<_0x18fd90[_0x2c4128(0x1b6)]||_0x8cceca<_0x41337d[_0x2c4128(0x1b6)];){const _0x1ac35e=_0x18fd90[_0x375bef]||{},_0x301e74=_0x41337d[_0x8cceca]||{};if(_0x1ac35e['id']==_0x301e74['id'])_0x375bef++,_0x8cceca++,_0x497426[_0x2c4128(0x19f)](_0x1ac35e);else{if(_0x301e74[_0x2c4128(0x1a0)]&&_0x1ac35e[_0x2c4128(0x17b)]){const {commonTape:_0x2409ca,iEnd:_0x2fed48,jEnd:_0x596452}=this[_0x2c4128(0x22f)](_0x18fd90,_0x375bef,_0x41337d,_0x8cceca);_0x497426=_0x497426[_0x2c4128(0x294)](_0x2409ca),_0x375bef=_0x2fed48,_0x8cceca=_0x596452;}else _0x301e74[_0x2c4128(0x1a0)]?(_0x8cceca++,_0x497426[_0x2c4128(0x19f)](_0x301e74)):(_0x375bef++,_0x497426[_0x2c4128(0x19f)](_0x1ac35e));}}return _0x497426;}[_0x49e852(0x1ce)](_0x168299,_0x50dfd7){const _0x4b50e8=_0x49e852,_0x2dfcdb=[];for(let _0x161121=0x0;_0x161121<_0x168299[_0x4b50e8(0x1b6)];_0x161121++){for(let _0x5ae2f8=0x0;_0x5ae2f8<_0x168299[_0x161121][_0x4b50e8(0x275)][_0x4b50e8(0x1b6)];_0x5ae2f8++){const _0x503513=_0x168299[_0x161121][_0x4b50e8(0x275)][_0x5ae2f8];if(!_0x50dfd7[_0x4b50e8(0x28d)](_0x503513))continue;const {group:_0x5770f2,type:_0x3c400e,authorId:_0x416479}=_0x4bd881(_0x503513);_0x4b50e8(0x225)!=_0x5770f2||_0x4b50e8(0x2bf)!=_0x3c400e&&_0x4b50e8(0x1ff)!=_0x3c400e||(_0x2dfcdb[_0x4b50e8(0x2b2)]({'type':_0x3c400e,'name':_0x503513,'userId':_0x416479}),_0x168299[_0x161121][_0x4b50e8(0x275)][_0x4b50e8(0x29d)](_0x5ae2f8,0x1),_0x5ae2f8--);}_0x4aad03(_0x168299[_0x161121]);for(let _0x4d25a1=0x0;_0x4d25a1<_0x168299[_0x161121][_0x4b50e8(0x1cd)][_0x4b50e8(0x1b6)];_0x4d25a1++){const _0x82a685=_0x168299[_0x161121][_0x4b50e8(0x1cd)][_0x4d25a1];if(!_0x50dfd7[_0x4b50e8(0x28d)](_0x82a685))continue;const {group:_0x4b8967,type:_0xc9603f}=_0x4bd881(_0x82a685);if(_0x4b50e8(0x225)!=_0x4b8967||_0x4b50e8(0x2bf)!=_0xc9603f&&_0x4b50e8(0x1ff)!=_0xc9603f)continue;_0x168299[_0x161121][_0x4b50e8(0x1cd)][_0x4b50e8(0x29d)](_0x4d25a1,0x1),_0x4d25a1--;const _0x153c28=_0x2dfcdb[_0x4b50e8(0x17e)](_0x46b8b5=>_0x46b8b5[_0x4b50e8(0x1a5)]==_0x82a685);_0x153c28>-0x1&&_0x2dfcdb[_0x4b50e8(0x29d)](_0x153c28,0x1);}}function _0x4bd881(_0x1384a5){const _0x3395bc=_0x4b50e8,_0x320e96=_0x1384a5[_0x3395bc(0x19e)](':');return{'group':_0x320e96[0x0],'type':_0x320e96[0x1],'subType':_0x320e96[_0x3395bc(0x1b6)]>=0x5?_0x320e96[0x2]:null,'id':_0x320e96[_0x3395bc(0x1b6)]<0x5?_0x320e96[0x2]:_0x320e96[0x3],'authorId':_0x320e96[_0x3395bc(0x1b6)]<0x5?_0x320e96[0x3]:_0x320e96[0x4],'markerCount':0x6==_0x320e96[_0x3395bc(0x1b6)]?_0x320e96[0x5]:null};}function _0x4aad03(_0x4bcc20){const _0xe21f7f=_0x4b50e8;for(let _0x567d4c=0x0;_0x567d4c<_0x2dfcdb[_0xe21f7f(0x1b6)];_0x567d4c++){if(_0x4bcc20[_0xe21f7f(0x17b)]&&_0xe21f7f(0x2bf)==_0x2dfcdb[_0x567d4c][_0xe21f7f(0x226)])return _0x4bcc20[_0xe21f7f(0x1af)]=_0x2dfcdb[_0x567d4c],void delete _0x4bcc20[_0xe21f7f(0x17b)];if(!_0x4bcc20[_0xe21f7f(0x17b)]&&!_0x4bcc20[_0xe21f7f(0x1a0)]&&_0xe21f7f(0x1ff)==_0x2dfcdb[_0x567d4c][_0xe21f7f(0x226)])return void(_0x4bcc20[_0xe21f7f(0x205)]=_0x2dfcdb[_0x567d4c]);}}}[_0x49e852(0x235)](_0xa37779,_0x17f6b3){const _0x131029=_0x49e852;let _0x10be43=0x0,_0x54ae63=!0x1;const _0x53a564=new Map();for(const _0x4a947f of _0xa37779)_0x4a947f[_0x17f6b3]?_0x54ae63&&(_0x10be43++,_0x54ae63=!0x1):(_0x10be43++,_0x54ae63=!0x0),_0x53a564[_0x131029(0x2a5)](_0x4a947f['id'],_0x10be43);for(let _0x54cb73=0x0;_0x54cb73<_0xa37779[_0x131029(0x1b6)];_0x54cb73++){if(_0x131029(0x1a0)==_0x17f6b3&&_0xa37779[_0x54cb73][_0x131029(0x17b)]||_0x131029(0x17b)==_0x17f6b3&&_0xa37779[_0x54cb73][_0x131029(0x1a0)])continue;if(_0x131029(0x262)==_0xa37779[_0x54cb73][_0x131029(0x226)]){_0xa37779[_0x54cb73][_0x131029(0x2b4)]=0x0;continue;}const _0x399951=_0x53a564[_0x131029(0x1a2)](_0xa37779[_0x54cb73][_0x131029(0x200)]),_0x5b100b=_0x53a564[_0x131029(0x1a2)](_0xa37779[_0x54cb73]['id']);_0xa37779[_0x54cb73][_0x131029(0x2b4)]=_0x399951-_0x5b100b;}}[_0x49e852(0x180)](_0x233349,_0x11a630,_0x211dad=!0x1){const _0x5c58ea=_0x49e852,_0x599567=[];let _0x30f564=this[_0x5c58ea(0x251)][_0x5c58ea(0x297)](_0x233349),_0x4de0d9=this[_0x5c58ea(0x251)][_0x5c58ea(0x297)](_0x11a630);for(-0x1==_0x4de0d9&&(_0x4de0d9=this[_0x5c58ea(0x251)][_0x5c58ea(0x250)][_0x5c58ea(0x1b6)],_0x211dad=!0x1);_0x30f564<_0x4de0d9;)_0x599567[_0x5c58ea(0x19f)](this[_0x5c58ea(0x251)][_0x5c58ea(0x29c)](_0x30f564)),_0x30f564++;return _0x211dad&&_0x599567[_0x5c58ea(0x19f)](this[_0x5c58ea(0x251)][_0x5c58ea(0x29c)](_0x30f564)),_0x599567;}[_0x49e852(0x22f)](_0x301bef,_0x4b0095,_0x2a4752,_0x43b75f){const _0x40e7ae=_0x49e852,_0x2852a1=this[_0x40e7ae(0x1a1)][_0x40e7ae(0x1ef)][_0x40e7ae(0x1eb)];let _0x1ee8c8=_0x4b0095;for(;_0x301bef[_0x1ee8c8]&&_0x301bef[_0x1ee8c8][_0x40e7ae(0x17b)];)_0x1ee8c8++;let _0x5d8d01=_0x43b75f;for(;_0x2a4752[_0x5d8d01]&&_0x2a4752[_0x5d8d01][_0x40e7ae(0x1a0)];)_0x5d8d01++;_0x41204e(_0x301bef,_0x4b0095,_0x1ee8c8),_0x41204e(_0x2a4752,_0x43b75f,_0x5d8d01);const _0x3e04d2=_0x2a4752[_0x40e7ae(0x255)](_0x43b75f,_0x5d8d01)[_0x40e7ae(0x294)](_0x301bef[_0x40e7ae(0x255)](_0x4b0095,_0x1ee8c8));return _0x3e04d2[_0x40e7ae(0x194)]((_0x6b72a5,_0x245e1e)=>_0x6b72a5[_0x40e7ae(0x18b)]!=_0x245e1e[_0x40e7ae(0x18b)]?_0x6b72a5[_0x40e7ae(0x18b)]-_0x245e1e[_0x40e7ae(0x18b)]:_0x6b72a5[_0x40e7ae(0x231)]!=_0x245e1e[_0x40e7ae(0x231)]?_0x6b72a5[_0x40e7ae(0x231)]-_0x245e1e[_0x40e7ae(0x231)]:_0x6b72a5[_0x40e7ae(0x2b4)]!=_0x245e1e[_0x40e7ae(0x2b4)]?_0x245e1e[_0x40e7ae(0x2b4)]-_0x6b72a5[_0x40e7ae(0x2b4)]:!!_0x6b72a5[_0x40e7ae(0x17b)]!=!!_0x245e1e[_0x40e7ae(0x17b)]?-0x1==_0x6b72a5[_0x40e7ae(0x18b)]||0x0==_0x6b72a5[_0x40e7ae(0x18b)]?_0x6b72a5[_0x40e7ae(0x17b)]?-0x1:0x1:_0x6b72a5[_0x40e7ae(0x17b)]?0x1:-0x1:_0x6b72a5[_0x40e7ae(0x25a)]-_0x245e1e[_0x40e7ae(0x25a)]),{'commonTape':_0x3e04d2,'iEnd':_0x1ee8c8,'jEnd':_0x5d8d01};function _0x41204e(_0x383a38,_0x229e18,_0x1fea69){const _0x2c0942=_0x40e7ae;let _0x3f1c95=-0x1,_0x427e23=Number[_0x2c0942(0x2bc)],_0x539bda=!0x0;for(let _0x45efad=_0x229e18;_0x45efad<_0x1fea69;_0x45efad++)if(_0x2852a1[_0x2c0942(0x22d)](_0x383a38[_0x45efad][_0x2c0942(0x19d)])||(_0x539bda=!0x1),_0x383a38[_0x45efad][_0x2c0942(0x19d)][_0x2c0942(0x1c8)]<_0x229e18&&(_0x3f1c95=_0x45efad),_0x383a38[_0x45efad][_0x2c0942(0x19d)][_0x2c0942(0x239)]>=_0x1fea69){_0x427e23=_0x45efad;break;}_0x539bda&&(_0x3f1c95=_0x1fea69-0x1);for(let _0x375ea7=_0x229e18;_0x375ea7<_0x1fea69;_0x375ea7++)_0x383a38[_0x375ea7][_0x2c0942(0x18b)]=_0x375ea7<=_0x3f1c95?-0x1:_0x375ea7<_0x427e23?0x0:0x1,_0x383a38[_0x375ea7][_0x2c0942(0x25a)]=_0x375ea7;let _0x14293f=0x0;for(let _0x2d7cc5=_0x229e18;_0x2d7cc5<=_0x3f1c95;_0x2d7cc5++)0x0==_0x383a38[_0x2d7cc5][_0x2c0942(0x2b4)]?_0x383a38[_0x2d7cc5][_0x2c0942(0x231)]=_0x14293f:(_0x14293f++,_0x383a38[_0x2d7cc5][_0x2c0942(0x231)]=_0x14293f,_0x14293f++);for(let _0x101285=_0x229e18;_0x101285<_0x1fea69;_0x101285++)0x0==_0x383a38[_0x101285][_0x2c0942(0x18b)]&&(_0x383a38[_0x101285][_0x2c0942(0x231)]=_0x14293f);_0x14293f=0x0;for(let _0x5b1637=_0x1fea69-0x1;_0x5b1637>=_0x427e23;_0x5b1637--)0x0==_0x383a38[_0x5b1637][_0x2c0942(0x2b4)]?_0x383a38[_0x5b1637][_0x2c0942(0x231)]=_0x14293f:(_0x14293f--,_0x383a38[_0x5b1637][_0x2c0942(0x231)]=_0x14293f,_0x14293f--);}}[_0x49e852(0x26e)](_0x438d20){const _0x2a4a8b=_0x49e852,_0x5c2e09=new Map(),_0x3670e8=this[_0x2a4a8b(0x1a1)][_0x2a4a8b(0x1ef)][_0x2a4a8b(0x1eb)];for(let _0x3bc35c=0x1;_0x3bc35c<_0x438d20[_0x2a4a8b(0x1b6)];_0x3bc35c++){let _0x2d25c3,_0x2191e4,_0x2dd366;const _0x67c9fe=_0x438d20[_0x3bc35c],_0x1d4b66=_0x438d20[_0x3bc35c-0x1];if(_0x2a4a8b(0x262)==_0x67c9fe[_0x2a4a8b(0x226)])continue;if(_0x67c9fe[_0x2a4a8b(0x226)]!=_0x1d4b66[_0x2a4a8b(0x226)])continue;if(!_0x3670e8[_0x2a4a8b(0x207)](_0x1d4b66[_0x2a4a8b(0x19d)])||_0x3670e8[_0x2a4a8b(0x268)](_0x1d4b66[_0x2a4a8b(0x19d)]))continue;if(!_0x3670e8[_0x2a4a8b(0x207)](_0x67c9fe[_0x2a4a8b(0x19d)])||_0x3670e8[_0x2a4a8b(0x268)](_0x67c9fe[_0x2a4a8b(0x19d)]))continue;if((_0x438d20[_0x3bc35c][_0x2a4a8b(0x17b)]||_0x438d20[_0x3bc35c][_0x2a4a8b(0x1af)])&&_0x438d20[_0x3bc35c-0x1][_0x2a4a8b(0x1a0)])_0x2d25c3=_0x438d20[_0x3bc35c],_0x2191e4=_0x438d20[_0x3bc35c-0x1],_0x2dd366=_0x3bc35c-0x1;else{if(!_0x438d20[_0x3bc35c][_0x2a4a8b(0x1a0)]||!_0x438d20[_0x3bc35c-0x1][_0x2a4a8b(0x17b)]&&!_0x438d20[_0x3bc35c-0x1][_0x2a4a8b(0x1af)])continue;_0x2d25c3=_0x438d20[_0x3bc35c-0x1],_0x2191e4=_0x438d20[_0x3bc35c],_0x2dd366=_0x3bc35c;}const _0x2c27b3=_0x2d25c3[_0x2a4a8b(0x231)]==_0x2191e4[_0x2a4a8b(0x231)],_0x2db963=Math[_0x2a4a8b(0x217)](_0x2d25c3[_0x2a4a8b(0x231)])<Math[_0x2a4a8b(0x217)](_0x2191e4[_0x2a4a8b(0x231)])&&0x0==_0x2191e4[_0x2a4a8b(0x2b4)];(_0x2c27b3||_0x2db963)&&(_0x5c2e09[_0x2a4a8b(0x2a5)](_0x2191e4['id'],_0x2d25c3['id']),_0x438d20[_0x2a4a8b(0x29d)](_0x2dd366,0x1),_0x3bc35c--,_0x2d25c3[_0x2a4a8b(0x17b)]=!0x1);}for(let _0x398689=0x0;_0x398689<_0x438d20[_0x2a4a8b(0x1b6)];_0x398689++)_0x5c2e09[_0x2a4a8b(0x28d)](_0x438d20[_0x398689][_0x2a4a8b(0x200)])&&(_0x438d20[_0x398689][_0x2a4a8b(0x200)]=_0x5c2e09[_0x2a4a8b(0x1a2)](_0x438d20[_0x398689][_0x2a4a8b(0x200)]));}[_0x49e852(0x258)](_0x451746){const _0x45ca7a=_0x49e852,_0x4e5947=new Set(_0x451746[_0x45ca7a(0x2ab)](_0x5695d7=>_0x5695d7['id']));for(let _0x40aa0a=0x0;_0x40aa0a<_0x451746[_0x45ca7a(0x1b6)];_0x40aa0a++)_0x4e5947[_0x45ca7a(0x28d)](_0x451746[_0x40aa0a][_0x45ca7a(0x200)])||0x0==_0x451746[_0x40aa0a][_0x45ca7a(0x2b4)]||(_0x451746[_0x40aa0a][_0x45ca7a(0x1da)]=!0x0);return _0x451746[_0x45ca7a(0x1c1)](_0x39eec3=>!_0x39eec3[_0x45ca7a(0x1da)]);}[_0x49e852(0x274)](_0xea1f36){const _0x1bca7c=_0x49e852,_0x4e9915=new Set();for(let _0x1e4866=0x0;_0x1e4866<_0xea1f36[_0x1bca7c(0x1b6)];_0x1e4866++){if(_0x4e9915[_0x1bca7c(0x28d)](_0xea1f36[_0x1e4866]['id'])&&_0xea1f36[_0x1e4866][_0x1bca7c(0x1a0)]&&(_0xea1f36[_0x1e4866][_0x1bca7c(0x1da)]=!0x0),_0xea1f36[_0x1e4866][_0x1bca7c(0x1da)])continue;if(0x0==_0xea1f36[_0x1e4866][_0x1bca7c(0x2b4)])continue;if(_0x1bca7c(0x18f)!=_0xea1f36[_0x1e4866][_0x1bca7c(0x226)])continue;if(null==_0xea1f36[_0x1e4866][_0x1bca7c(0x200)])continue;let _0x3e1f66=_0x1e4866+0x1,_0x29c9d1=0x0;for(;_0xea1f36[_0x3e1f66]['id']!=_0xea1f36[_0x1e4866][_0x1bca7c(0x200)];)_0x1bca7c(0x18f)==_0xea1f36[_0x3e1f66][_0x1bca7c(0x226)]?_0x29c9d1++:_0x1bca7c(0x1f2)==_0xea1f36[_0x3e1f66][_0x1bca7c(0x226)]&&_0x29c9d1--,_0x3e1f66++;if(0x0!=_0x29c9d1){if(_0xea1f36[_0x1e4866][_0x1bca7c(0x1a0)])_0xea1f36[_0x1e4866][_0x1bca7c(0x1da)]=!0x0;else{for(;_0x3e1f66!=_0x1e4866;)_0xea1f36[_0x3e1f66][_0x1bca7c(0x1a0)]&&0x0!=_0xea1f36[_0x3e1f66][_0x1bca7c(0x2b4)]&&(_0xea1f36[_0x3e1f66][_0x1bca7c(0x1da)]=!0x0,_0x4e9915[_0x1bca7c(0x1cf)](_0xea1f36[_0x3e1f66][_0x1bca7c(0x200)])),_0x3e1f66--;}}}return _0xea1f36[_0x1bca7c(0x1c1)](_0x4e57b5=>!_0x4e57b5[_0x1bca7c(0x1da)]);}[_0x49e852(0x259)](_0x16a38e){const _0x546d80=_0x49e852,_0x1b8a62=this[_0x546d80(0x1a1)][_0x546d80(0x1ef)][_0x546d80(0x1eb)];for(let _0x5a7199=0x0;_0x5a7199<_0x16a38e[_0x546d80(0x1b6)];_0x5a7199++){if(!(_0x16a38e[_0x5a7199][_0x546d80(0x17b)]||_0x16a38e[_0x5a7199][_0x546d80(0x1af)]||_0x16a38e[_0x5a7199][_0x546d80(0x1a0)]||_0x16a38e[_0x5a7199][_0x546d80(0x205)]))continue;if(0x0==_0x16a38e[_0x5a7199][_0x546d80(0x2b4)])continue;const _0x12c744=_0x16a38e[_0x5a7199][_0x546d80(0x19d)];_0x1b8a62[_0x546d80(0x207)](_0x12c744)||_0x1b8a62[_0x546d80(0x268)](_0x12c744)||(_0x16a38e[_0x5a7199][_0x546d80(0x17b)]&&delete _0x16a38e[_0x5a7199][_0x546d80(0x17b)],_0x16a38e[_0x5a7199][_0x546d80(0x1af)]&&delete _0x16a38e[_0x5a7199][_0x546d80(0x1af)],_0x16a38e[_0x5a7199][_0x546d80(0x205)]&&delete _0x16a38e[_0x5a7199][_0x546d80(0x205)],_0x16a38e[_0x5a7199][_0x546d80(0x1a0)]&&(_0x16a38e[_0x5a7199][_0x546d80(0x1da)]=!0x0));}return _0x16a38e[_0x546d80(0x1c1)](_0x1e4186=>!_0x1e4186[_0x546d80(0x1da)]);}[_0x49e852(0x1de)](_0x2eedfd,_0x2246df,_0x59e296){const _0x3b1bd2=_0x49e852,_0x3c2ee1=new _0x3bdffa(),_0x308e43=[],_0x44b4e6=new Map(),_0x514554=this[_0x3b1bd2(0x1a1)][_0x3b1bd2(0x1ef)],_0x546898=_0x514554[_0x3b1bd2(0x1eb)],_0x129f29=[_0x3c2ee1],_0x1cd781={},_0x16e744={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4f9687=null;const _0x4ac5bb=[0x0];for(let _0x33a19a=0x0;_0x33a19a<_0x2eedfd[_0x3b1bd2(0x1b6)];_0x33a19a++)if(_0x3b1bd2(0x18f)===_0x2eedfd[_0x33a19a][_0x3b1bd2(0x226)]){_0x2eedfd[_0x33a19a][_0x3b1bd2(0x224)]=_0x514554[_0x3b1bd2(0x27b)](_0x3c2ee1,_0x4ac5bb);const _0x401e7b=new _0x4badb3(_0x2eedfd[_0x33a19a][_0x3b1bd2(0x19d)][_0x3b1bd2(0x1a5)],_0x2eedfd[_0x33a19a][_0x3b1bd2(0x19d)][_0x3b1bd2(0x197)]());_0x129f29[0x0][_0x3b1bd2(0x1f3)](_0x401e7b),_0x4ac5bb[_0x3b1bd2(0x19f)](0x0),_0x129f29[_0x3b1bd2(0x2b2)](_0x401e7b),_0x2eedfd[_0x33a19a][_0x3b1bd2(0x1fb)]=_0x514554[_0x3b1bd2(0x27b)](_0x3c2ee1,_0x4ac5bb);}else _0x3b1bd2(0x1f2)===_0x2eedfd[_0x33a19a][_0x3b1bd2(0x226)]?(_0x129f29[_0x3b1bd2(0x27f)](),_0x2eedfd[_0x33a19a][_0x3b1bd2(0x224)]=_0x514554[_0x3b1bd2(0x27b)](_0x3c2ee1,_0x4ac5bb),_0x4ac5bb[_0x3b1bd2(0x2be)](),_0x4ac5bb[_0x4ac5bb[_0x3b1bd2(0x1b6)]-0x1]++,_0x2eedfd[_0x33a19a][_0x3b1bd2(0x1fb)]=_0x514554[_0x3b1bd2(0x27b)](_0x3c2ee1,_0x4ac5bb)):(_0x2eedfd[_0x33a19a][_0x3b1bd2(0x224)]=_0x514554[_0x3b1bd2(0x27b)](_0x3c2ee1,_0x4ac5bb),_0x4f9687?_0x4f9687[_0x3b1bd2(0x2ae)]+=_0x2eedfd[_0x33a19a][_0x3b1bd2(0x19d)][_0x3b1bd2(0x199)]:_0x4f9687=new _0x509a36(_0x2eedfd[_0x33a19a][_0x3b1bd2(0x19d)][_0x3b1bd2(0x199)],_0x2eedfd[_0x33a19a][_0x3b1bd2(0x19d)][_0x3b1bd2(0x197)]()),_0x2eedfd[_0x33a19a+0x1]&&_0x3b1bd2(0x262)===_0x2eedfd[_0x33a19a+0x1][_0x3b1bd2(0x226)]&&_0x4618d9(_0x4f9687,_0x2eedfd[_0x33a19a+0x1][_0x3b1bd2(0x19d)])||(_0x129f29[0x0][_0x3b1bd2(0x1f3)](_0x4f9687),_0x4f9687=null),_0x4ac5bb[_0x4ac5bb[_0x3b1bd2(0x1b6)]-0x1]+=_0x2eedfd[_0x33a19a][_0x3b1bd2(0x19d)][_0x3b1bd2(0x2c0)],_0x2eedfd[_0x33a19a][_0x3b1bd2(0x1fb)]=_0x514554[_0x3b1bd2(0x27b)](_0x3c2ee1,_0x4ac5bb));for(let _0x557da6=0x0;_0x557da6<_0x2eedfd[_0x3b1bd2(0x1b6)];_0x557da6++){const _0x499f66=_0x2eedfd[_0x557da6][_0x3b1bd2(0x224)],_0xb877fa=_0x2eedfd[_0x557da6][_0x3b1bd2(0x1fb)];for(const _0x58ce9c of _0x2eedfd[_0x557da6][_0x3b1bd2(0x275)])_0x44b4e6[_0x3b1bd2(0x2a5)](_0x58ce9c,{'start':_0x499f66,'end':null});_0x3c31fb(_0x3b1bd2(0x205),_0x557da6,_0x499f66,_0xb877fa),_0x3c31fb(_0x3b1bd2(0x1af),_0x557da6,_0x499f66,_0xb877fa),_0x3c31fb(_0x3b1bd2(0x1a0),_0x557da6,_0x499f66,_0xb877fa),_0x3c31fb(_0x3b1bd2(0x17b),_0x557da6,_0x499f66,_0xb877fa);for(const _0x149c28 of _0x2eedfd[_0x557da6][_0x3b1bd2(0x1cd)]){const _0x51b134=_0x44b4e6[_0x3b1bd2(0x1a2)](_0x149c28);_0x51b134?_0x51b134[_0x3b1bd2(0x17d)]=_0xb877fa:_0x44b4e6[_0x3b1bd2(0x2a5)](_0x149c28,{'start':_0xb877fa,'end':_0xb877fa});}}for(const [_0x5e4549,_0x2a1638]of _0x44b4e6){const _0x479a0d=this[_0x3b1bd2(0x1a1)][_0x3b1bd2(0x1ef)][_0x3b1bd2(0x269)](_0x2a1638[_0x3b1bd2(0x24b)],_0x2a1638[_0x3b1bd2(0x17d)]);_0x3c2ee1[_0x3b1bd2(0x29e)][_0x3b1bd2(0x2a5)](_0x5e4549,_0x479a0d);}return _0x308e43[_0x3b1bd2(0x194)]((_0xcbef0a,_0x5aff35)=>{const _0x4d3c97=_0x3b1bd2,_0x186b92=_0x3c2ee1[_0x4d3c97(0x29e)][_0x4d3c97(0x1a2)](_0x4d3c97(0x27a)+_0xcbef0a['id']),_0x3d3b69=_0x3c2ee1[_0x4d3c97(0x29e)][_0x4d3c97(0x1a2)](_0x4d3c97(0x27a)+_0x5aff35['id']);return _0x186b92[_0x4d3c97(0x24b)][_0x4d3c97(0x1ea)](_0x3d3b69[_0x4d3c97(0x24b)])?-0x1:_0x186b92[_0x4d3c97(0x24b)][_0x4d3c97(0x257)](_0x3d3b69[_0x4d3c97(0x24b)])?0x1:_0x186b92[_0x4d3c97(0x17d)][_0x4d3c97(0x1ea)](_0x3d3b69[_0x4d3c97(0x17d)])?-0x1:_0x186b92[_0x4d3c97(0x17d)][_0x4d3c97(0x257)](_0x3d3b69[_0x4d3c97(0x17d)])?0x1:_0x4d3c97(0x1cf)===_0xcbef0a[_0x4d3c97(0x226)]?-0x1:0x1;}),{'root':_0x3c2ee1,'changes':_0x308e43};function _0x3c31fb(_0x48f74f,_0x5883a6,_0x28b8e1,_0x2f0dad){const _0x274309=_0x3b1bd2,_0x31d0b6=!!_0x2eedfd[_0x5883a6][_0x48f74f],_0x3cabc5=_0x31d0b6?_0x2eedfd[_0x5883a6][_0x48f74f][_0x274309(0x1fa)]:null,_0x492083=_0x5883a6===_0x2eedfd[_0x274309(0x1b6)]-0x1,_0x220a96=_0x16e744[_0x48f74f][0x0],_0x215a7b=_0x546898[_0x274309(0x256)](_0x2eedfd[_0x5883a6][_0x274309(0x19d)]);!_0x1cd781[_0x48f74f]&&_0x31d0b6?_0x1cd781[_0x48f74f]={'start':_0x28b8e1,'tapeItem':_0x2eedfd[_0x5883a6],'userId':_0x3cabc5,'type':_0x48f74f}:_0x1cd781[_0x48f74f]&&!_0x31d0b6?(_0x1cd781[_0x48f74f][_0x274309(0x17d)]=_0x28b8e1,_0x2506f4(_0x1cd781[_0x48f74f]),_0x1cd781[_0x48f74f]=null):_0x1cd781[_0x48f74f]&&_0x31d0b6&&_0x1cd781[_0x48f74f][_0x274309(0x1fa)]!==_0x3cabc5&&(_0x1cd781[_0x48f74f][_0x274309(0x17d)]=_0x28b8e1,_0x220a96&&_0x220a96[_0x274309(0x1fa)]===_0x1cd781[_0x48f74f][_0x274309(0x1fa)]||_0x2506f4(_0x1cd781[_0x48f74f]),_0x1cd781[_0x48f74f]={'start':_0x28b8e1,'tapeItem':_0x2eedfd[_0x5883a6],'userId':_0x3cabc5,'type':_0x48f74f}),_0x1cd781[_0x48f74f]&&_0x215a7b&&(_0x274309(0x18f)!==_0x2eedfd[_0x5883a6][_0x274309(0x226)]||_0x220a96&&_0x220a96[_0x274309(0x1fa)]===_0x3cabc5||_0x16e744[_0x48f74f][_0x274309(0x2b2)]({'userId':_0x3cabc5,'object':_0x2eedfd[_0x5883a6][_0x274309(0x19d)],'change':_0x1cd781[_0x48f74f]}),_0x274309(0x1f2)===_0x2eedfd[_0x5883a6][_0x274309(0x226)]&&_0x220a96&&_0x220a96[_0x274309(0x222)]===_0x2eedfd[_0x5883a6][_0x274309(0x19d)]&&(_0x16e744[_0x48f74f][_0x274309(0x27f)](),_0x1cd781[_0x48f74f]=_0x220a96[_0x274309(0x1e4)])),_0x1cd781[_0x48f74f]&&_0x492083&&(_0x1cd781[_0x48f74f][_0x274309(0x17d)]=_0x2f0dad,_0x2506f4(_0x1cd781[_0x48f74f]),_0x1cd781[_0x48f74f]=null);}function _0x2506f4({start:_0x41fc9c,end:_0x1e166a,tapeItem:_0x1d211f,userId:_0x342be9,type:_0x512a9a}){const _0x437014=_0x3b1bd2,_0x387302=_0x1d211f[_0x437014(0x19d)],_0x15cafb=_0x514554[_0x437014(0x1eb)][_0x437014(0x207)](_0x387302)&&!_0x514554[_0x437014(0x1eb)][_0x437014(0x268)](_0x387302),_0x104b3e=_0x41fc9c[_0x437014(0x219)]==_0x1e166a[_0x437014(0x2aa)]&&_0x1e166a[_0x437014(0x295)];if(_0x15cafb&&_0x104b3e)return;const _0x418eee=_0x514554[_0x437014(0x269)](_0x41fc9c,_0x1e166a),_0x4c07a4=_0x2246df[_0x437014(0x1a2)](_0x342be9),_0x27a459=new _0x26d503({'author':_0x4c07a4,'type':_0x437014(0x17b)==_0x512a9a||_0x437014(0x1af)==_0x512a9a?_0x437014(0x1cf):_0x437014(0x18d),'data':{'isSuggestion':_0x437014(0x1af)==_0x512a9a||_0x437014(0x205)==_0x512a9a},'createdAt':new Date(),'rootName':_0x59e296});_0x308e43[_0x437014(0x19f)](_0x27a459),_0x3c2ee1[_0x437014(0x29e)][_0x437014(0x2a5)](_0x437014(0x27a)+_0x27a459['id'],_0x418eee);}function _0x4618d9(_0x51332f,_0x25a6e4){const _0x5994f6=_0x3b1bd2,_0x3ee7f7=_0x51332f[_0x5994f6(0x197)](),_0x1ed1b3=_0x25a6e4[_0x5994f6(0x197)]();for(const _0x4dbc54 of _0x3ee7f7){if(_0x4dbc54[0x1]!==_0x25a6e4[_0x5994f6(0x253)](_0x4dbc54[0x0]))return!0x1;_0x1ed1b3[_0x5994f6(0x186)]();}return _0x1ed1b3[_0x5994f6(0x186)]()[_0x5994f6(0x1fc)];}}[_0x49e852(0x196)](){const _0x3a05c9=_0x49e852;this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1bb)][_0x3a05c9(0x18c)](_0x3a05c9(0x1bd))[_0x3a05c9(0x28a)]({'view':_0x3a05c9(0x2ac)}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1bb)][_0x3a05c9(0x18c)](_0x3a05c9(0x190))[_0x3a05c9(0x221)]({'model':_0x3a05c9(0x2ac),'view':_0x50ef5d=>{const _0x426c02=_0x3a05c9,_0x45ba0d=_0x50ef5d[_0x426c02(0x2af)][_0x426c02(0x19e)](':')[0x1],_0x258694=this[_0x426c02(0x24d)](_0x45ba0d);if(!_0x258694)return null;const _0x30c782=_0x426c02(0x1cf)==_0x258694[_0x426c02(0x226)]?_0x426c02(0x2bf):_0x426c02(0x1ff),_0xc91d50=[_0x426c02(0x286),_0x426c02(0x1b9)+_0x30c782];return _0x258694[_0x426c02(0x199)][_0x426c02(0x271)]&&_0xc91d50[_0x426c02(0x19f)](_0x426c02(0x1b9)+_0x30c782+_0x426c02(0x272)),this[_0x426c02(0x241)]==_0x258694&&_0xc91d50[_0x426c02(0x19f)](_0x426c02(0x1c4)),{'classes':_0xc91d50,'attributes':{'data-change-id':_0x45ba0d}};}}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1bb)][_0x3a05c9(0x18c)](_0x3a05c9(0x1bd))[_0x3a05c9(0x1cf)](_0x3ba0f2=>{const _0x27093d=_0x3a05c9;_0x3ba0f2['on'](_0x27093d(0x21b),(_0x1a816c,_0x7807f4,_0x43f559)=>{const _0xd5073e=_0x27093d,_0x3aa602=_0x7807f4[_0xd5073e(0x1aa)][_0xd5073e(0x280)](0x0);if(!_0x3aa602||!_0x3aa602['is'](_0xd5073e(0x27d),_0xd5073e(0x283)))return;if(!_0x43f559[_0xd5073e(0x23c)][_0xd5073e(0x1c9)](_0x3aa602,{'attributes':[_0xd5073e(0x220),_0xd5073e(0x187)]}))return;const _0x37df76=_0x7807f4[_0xd5073e(0x285)][_0xd5073e(0x24b)][_0xd5073e(0x219)];_0x43f559[_0xd5073e(0x20c)][_0xd5073e(0x278)](_0xd5073e(0x220),_0x3aa602[_0xd5073e(0x253)](_0xd5073e(0x220)),_0x37df76),_0x43f559[_0xd5073e(0x20c)][_0xd5073e(0x278)](_0xd5073e(0x187),_0x3aa602[_0xd5073e(0x253)](_0xd5073e(0x187)),_0x37df76);},{'priority':_0x27093d(0x19c)});}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1bb)][_0x3a05c9(0x18c)](_0x3a05c9(0x1bd))[_0x3a05c9(0x1cf)](_0x3d2064=>{const _0xc08a77=_0x3a05c9;_0x3d2064['on'](_0xc08a77(0x27d),(_0x2f5126,_0x5b16d3,_0x4ffeee)=>{const _0x4161a5=_0xc08a77;if(!_0x4ffeee[_0x4161a5(0x23c)][_0x4161a5(0x1c9)](_0x5b16d3[_0x4161a5(0x1aa)],{'attributes':[_0x4161a5(0x220),_0x4161a5(0x187)]}))return;if(_0x5b16d3[_0x4161a5(0x285)][_0x4161a5(0x201)])return;const _0x1f22e1=_0x5b16d3[_0x4161a5(0x285)][_0x4161a5(0x24b)][_0x4161a5(0x219)];_0x1f22e1[_0x4161a5(0x195)](_0x4161a5(0x220))||_0x1f22e1[_0x4161a5(0x195)](_0x4161a5(0x266))||(_0x4ffeee[_0x4161a5(0x20c)][_0x4161a5(0x278)](_0x4161a5(0x220),_0x5b16d3[_0x4161a5(0x1aa)][_0x4161a5(0x253)](_0x4161a5(0x220)),_0x1f22e1),_0x4ffeee[_0x4161a5(0x20c)][_0x4161a5(0x278)](_0x4161a5(0x187),_0x5b16d3[_0x4161a5(0x1aa)][_0x4161a5(0x253)](_0x4161a5(0x187)),_0x1f22e1));},{'priority':_0xc08a77(0x19c)});}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1bb)][_0x3a05c9(0x18c)](_0x3a05c9(0x1bd))[_0x3a05c9(0x1c3)]({'view':{'name':_0x3a05c9(0x261),'attributes':{'vid':!0x0}},'model':{'key':_0x3a05c9(0x266),'value':_0x50277c=>_0x50277c[_0x3a05c9(0x253)](_0x3a05c9(0x266))}}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1ef)][_0x3a05c9(0x1eb)]['on'](_0x3a05c9(0x25c),(_0x3024d7,[,_0x59dc23])=>{const _0x297d87=_0x3a05c9;[_0x297d87(0x220),_0x297d87(0x187),_0x297d87(0x266)][_0x297d87(0x1d3)](_0x59dc23)&&(_0x3024d7[_0x297d87(0x1bf)]=!0x0,_0x3024d7[_0x297d87(0x1ca)]());},{'priority':_0x3a05c9(0x1ab)}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1bb)][_0x3a05c9(0x18c)](_0x3a05c9(0x1d5))[_0x3a05c9(0x1cf)](_0x23cec8=>{const _0x3b4cb3=_0x3a05c9;_0x23cec8['on'](_0x3b4cb3(0x211),(_0x30f95b,_0x3c689f,_0x392452)=>{const _0x581a93=_0x3b4cb3;if('\x20'!=_0x3c689f[_0x581a93(0x19d)][_0x581a93(0x199)]||_0x3c689f[_0x581a93(0x19d)][_0x581a93(0x2aa)][_0x581a93(0x212)]>0x1)return;if(!_0x392452[_0x581a93(0x23c)][_0x581a93(0x1c9)](_0x3c689f[_0x581a93(0x19d)],_0x30f95b[_0x581a93(0x1a5)]))return;const _0x131889=_0x392452[_0x581a93(0x20c)],_0x518a75=_0x392452[_0x581a93(0x20f)][_0x581a93(0x2a1)](_0x3c689f[_0x581a93(0x2a9)]);_0x131889[_0x581a93(0x1f1)](_0x518a75,_0x131889[_0x581a93(0x1e3)](_0x581a93(0x261)));});}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1bb)][_0x3a05c9(0x18c)](_0x3a05c9(0x1d5))[_0x3a05c9(0x1a8)]({'model':_0x3a05c9(0x2ac)}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1d0)][_0x3a05c9(0x1b3)]['on'](_0x3a05c9(0x215),function(_0x5c45b0){const _0x532303=_0x3a05c9,_0x2e7c17=_0x5c45b0[_0x532303(0x2b7)][_0x532303(0x1a2)](_0x532303(0x1b0));return(_0x2f16e5,_0xde4c71,_0x2c001e)=>{const _0x73f61c=_0x532303,_0x5e40eb=_0xde4c71[_0x73f61c(0x2af)][_0x73f61c(0x19e)](':')[0x1],_0x101e17=_0x2e7c17[_0x73f61c(0x24d)](_0x5e40eb);if(!_0x101e17)return null;const _0x3c7ccd=_0x73f61c(0x1cf)==_0x101e17[_0x73f61c(0x226)]?_0x73f61c(0x19e):_0x73f61c(0x216);if(!_0x2c001e[_0x73f61c(0x23c)][_0x73f61c(0x1c5)](_0xde4c71[_0x73f61c(0x276)],_0x2f16e5[_0x73f61c(0x1a5)]))return;const _0x51807e=_0xde4c71[_0x73f61c(0x276)][_0x73f61c(0x2a3)](),_0x4ce70d=_0xde4c71[_0x73f61c(0x276)][_0x73f61c(0x24b)],_0x4878aa=_0x5c45b0[_0x73f61c(0x1ef)][_0x73f61c(0x1eb)];let _0x9a54e=null,_0x25775b=null,_0x2a55d4=!0x1,_0x1e8f48=!0x1;for(const _0x386005 of _0x51807e){const _0xffdadb=_0x386005[_0x73f61c(0x19d)];_0x2a55d4=_0x2a55d4||_0x4878aa[_0x73f61c(0x24e)](_0xffdadb);const _0x451b87=_0x2c001e[_0x73f61c(0x20f)][_0x73f61c(0x1f4)](_0xffdadb);if(_0x451b87&&_0x451b87[_0x73f61c(0x1f6)](_0x73f61c(0x1e5)))return;_0x73f61c(0x1f2)==_0x386005[_0x73f61c(0x226)]&&(_0x4878aa[_0x73f61c(0x207)](_0xffdadb)&&!_0x4878aa[_0x73f61c(0x268)](_0xffdadb)&&(_0xffdadb[_0x73f61c(0x1c6)]||_0x4ce70d[_0x73f61c(0x254)]?_0x9a54e&&_0x9a54e[_0x73f61c(0x2aa)]==_0xffdadb||(_0x9a54e=_0xffdadb,_0x58be65(_0x386005[_0x73f61c(0x224)]),_0x1e8f48=!0x0):_0x25775b=_0x25775b||_0x386005[_0x73f61c(0x224)]));}function _0x58be65(_0x2c0dd4){const _0x266b5b=_0x73f61c,_0x30bd28=_0x2c001e[_0x266b5b(0x20c)][_0x266b5b(0x1ee)](_0x266b5b(0x261),{'class':_0x266b5b(0x1b9)+_0x3c7ccd}),_0xf40ece=_0x2c001e[_0x266b5b(0x20f)][_0x266b5b(0x1f0)](_0x2c0dd4);_0x101e17[_0x266b5b(0x199)][_0x266b5b(0x271)]&&_0x2c001e[_0x266b5b(0x20c)][_0x266b5b(0x1ec)](_0x266b5b(0x1b9)+_0x3c7ccd+_0x266b5b(0x272),_0x30bd28),_0x2e7c17[_0x266b5b(0x241)]==_0x101e17&&_0x2c001e[_0x266b5b(0x20c)][_0x266b5b(0x1ec)](_0x266b5b(0x1c4),_0x30bd28),_0x2c001e[_0x266b5b(0x20c)][_0x266b5b(0x243)](_0xf40ece,_0x30bd28),_0x2c001e[_0x266b5b(0x20f)][_0x266b5b(0x292)](_0x30bd28,_0xde4c71[_0x266b5b(0x2af)]);}_0x2a55d4||_0x1e8f48||!_0x25775b||_0x58be65(_0x25775b);};}(this[_0x3a05c9(0x1a1)]),{'priority':_0x3a05c9(0x22c)}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1d0)][_0x3a05c9(0x1b3)]['on'](_0x3a05c9(0x233),(_0x557de9,_0x3dffd7,_0x1497a6)=>{const _0x28df7b=_0x3a05c9,_0x581bd0=_0x1497a6[_0x28df7b(0x20f)][_0x28df7b(0x17c)](_0x3dffd7[_0x28df7b(0x2af)]);if(_0x581bd0){for(const _0x6dfc5 of _0x581bd0)(_0x6dfc5[_0x28df7b(0x27c)](_0x28df7b(0x1b2))||_0x6dfc5[_0x28df7b(0x27c)](_0x28df7b(0x2a7)))&&(_0x1497a6[_0x28df7b(0x20f)][_0x28df7b(0x28b)](_0x6dfc5,_0x3dffd7[_0x28df7b(0x2af)]),_0x1497a6[_0x28df7b(0x20c)][_0x28df7b(0x18d)](_0x6dfc5));}},{'priority':_0x3a05c9(0x22c)}),this[_0x3a05c9(0x1a1)][_0x3a05c9(0x1d0)][_0x3a05c9(0x1b3)]['on'](_0x3a05c9(0x215),(_0x240cdf,_0x33c66a,_0x1dfc7d)=>{const _0x34dfb4=_0x3a05c9,_0x9cd9dc=_0x33c66a[_0x34dfb4(0x2af)][_0x34dfb4(0x19e)](':')[0x1],_0xad6623=this[_0x34dfb4(0x24d)](_0x9cd9dc);if(!_0xad6623)return null;const _0x20eb65=_0x34dfb4(0x1cf)==_0xad6623[_0x34dfb4(0x226)]?_0x34dfb4(0x19e):_0x34dfb4(0x216);if(_0x1dfc7d[_0x34dfb4(0x23c)][_0x34dfb4(0x1c5)](_0x33c66a[_0x34dfb4(0x276)],_0x240cdf[_0x34dfb4(0x1a5)]))for(const _0x9263e1 of _0x33c66a[_0x34dfb4(0x276)][_0x34dfb4(0x296)]()){if(!_0x9263e1['is'](_0x34dfb4(0x27d),_0x34dfb4(0x1ad)))continue;const _0x3fb891=_0x1dfc7d[_0x34dfb4(0x20c)][_0x34dfb4(0x1ee)](_0x34dfb4(0x261),{'class':_0x34dfb4(0x1b9)+_0x20eb65}),_0x1cac11=_0x1dfc7d[_0x34dfb