@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231221.0 → 0.0.0-nightly-20231223.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/package.json +6 -6
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa6eb=['NEGATIVE_INFINITY','length','isEnabled','_loadState','initial','_transformMarkers','_diffRoots','remove','$graveyard','_handleMarkerOperation','push','size','insert','getChild','deletions','authorsIds','shift','values','loadState','documentFragment','data-revision-','getUser','revisionHistory.resumeUnsavedRevision','attributesAfter','targetPosition','for','vid','editing','_replaceEditorDataWithRevisionData','_revisionId','_getBaseVids','path','_handleMergeOperation','text','update','item','collaboration.channelId','isAttached','offsetSize','deletion','_makeModelFromViewString','getOperation','getAttribute','_getPreviousFrom','_handleRootOperation','pluginName','_setConversion','_handleSplitOperation','parse','affectsData','bind','_execute','find','_calculateMetaData','end','sendBufferedUpdates','_fixOperation','_handleOperation','creator','childCount','graveyardPosition','getLatestVersion','getRevisionDocumentData','_continueCurrentRevision','useFillerType','addRevision','_handleInsertOperation','createRevision','_savedMetaData','_touchedMarkers','_markers','_update','_getVidAttributeName','position','stringify','_removePendingAction','oldRange','splitPosition','currentRevision','vid_start','_bufferedUpdates','has','_makeRevision','createPositionAt','attachChange','_baseIdsRoots','default','_source','name','getRootNames','upcast','parent','getRevision','version','newRange','isReady','afterInit','getRevisionRootsAttributes','addRevisionData','element','createdAt','_makeIdsRoot','RealTimeCollaborationClient','roots','createPositionFromPath','getTime','elementStart','marked','getChildren','includes','attributesBefore','model','newValue','setSource','set','getMovedRangeStart','_startingRevisionId','clone','_reset','finally','_copyMarkers','_startingVersion','config','editor','_lastFrom','requires','isEqual','_loadedStateData','RevisionsRepository','type','getData','_revisionDataBuilder','nodes','_loadRevisionData','isAdd','range','_getFromVersion','root','setRevisionData','_fixRange','elementEnd','resolve','_baseRoots','marker','authors','define','paragraph','toData','rootName','initialData','getTransformedByOperation','_clone','dataDowncast','getWalker','_addPendingAction','$text','_fixPosition','_baseRootsAttributes','move','key','creatorId','then','repository','detachRoot','_removeMetaData','getNodeByPath','toVersion','_setAttribute','_removeRevisionMarkers','addRoot','_pendingAction','fromEntries','_initialRevisionId','_applyOperations','max','attributes','_handleRootAttributeOperation','adapter','source','createRange','view','_handleMoveOperation','_operations','children','map','getCurrentRevisionId','delete','locale','_isAttached','removeRootAttribute','buildRevisionData','_idsRoots','_diffRootsAttributes','_markChanges','_prepareViewToSave','document','keys','createPositionBefore','_getViewJson','getRoot','previousPosition','history','reInit','keepParagraph','data','reinsert','_insertChild','_touchedRoots','stickiness','updateRevisions','processor','fromVersion','_authorId','clear','_processRootBeforeSave','startsWith','reverse','markers','from','filter','dataToMarker','offset','vid_end','revision-start','get','tableCell','_lastTo','_bufferUpdate','start','split','_generateTape','_saveMetaData','_createInitialRevision','Empty\x20document','_cloneOperation','RevisionTracker','some','add','getRevisions','PendingActions','editor-initial-data-replaced-with-revision-data','toModel','userId','slice','diffData','_touched','rootsAttributes','init','baseVersion','getAttributes','getAncestors','_getState','Users','plugins','conversion','string','_createFromRanges','insertions','revision:','getRange'];(function(_0x2ab067,_0xa6ebbc){const _0x26f8a7=function(_0x3ba605){while(--_0x3ba605){_0x2ab067['push'](_0x2ab067['shift']());}};_0x26f8a7(++_0xa6ebbc);}(_0xa6eb,0x117));const _0x26f8=function(_0x2ab067,_0xa6ebbc){_0x2ab067=_0x2ab067-0x0;let _0x26f8a7=_0xa6eb[_0x2ab067];return _0x26f8a7;};import{Users as _0x586c5f}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x4c399b,PendingActions as _0x3b4ecd}from'ckeditor5/src/core.js';import{logWarning as _0x3e3289,uid as _0xdc3261}from'ckeditor5/src/utils.js';import{Position as _0x3abbb1,Range as _0x21d564,Element as _0x3c4da8,DocumentFragment as _0x3f71a6,ViewText as _0x997765,ViewElement as _0x4e8d96,ViewContainerElement as _0x1b5a39,ViewAttributeElement as _0x466e81,ViewEmptyElement as _0xa1f27c,ViewRawElement as _0x4b89db,ViewUIElement as _0x154e86,ViewDocumentFragment as _0x5973ea}from'ckeditor5/src/engine.js';import _0x1bc109 from'./revisionsrepository.js';import{getTranslation as _0x24d052}from'./utils/common-translations.js';import{cloneDeep as _0x4a5491,isEqual as _0x2ab5d6}from'lodash-es';const B={'c':_0x1b5a39,'a':_0x466e81,'e':_0xa1f27c,'r':_0x4b89db,'u':_0x154e86};export default class l extends _0x4c399b{static get[_0x26f8('0x1a')](){return _0x26f8('0xd8');}static get[_0x26f8('0x6a')](){return[_0x586c5f,_0x1bc109,_0x3b4ecd];}constructor(_0x5d7413){super(_0x5d7413),this['adapter']=null,this[_0x26f8('0x3b')]=null,this[_0x26f8('0x70')]=new H(this['editor']),this[_0x26f8('0x99')]=this['editor'][_0x26f8('0x67')][_0x26f8('0xcd')](_0x26f8('0x11'))||_0x26f8('0xf5'),this[_0x26f8('0x3d')]=new Map(),this[_0x26f8('0x6c')]=null;const _0x59d606=_0xdc3261();this[_0x26f8('0x44')]={'history':this['editor'][_0x26f8('0x5c')][_0x26f8('0xb0')][_0x26f8('0xb6')],'getLatestVersion':()=>Promise[_0x26f8('0x7a')](this[_0x26f8('0x68')]['model'][_0x26f8('0xb0')]['version']),'getCurrentRevisionId':()=>_0x59d606},this[_0x26f8('0x5f')]('isReady',!0x1),this[_0x26f8('0x5f')](_0x26f8('0xf3'),!0x0),this[_0x26f8('0x5f')]('_isPendingUpdate',!0x1),this[_0x26f8('0x68')][_0x26f8('0x67')][_0x26f8('0x7e')](_0x26f8('0x3'),!0x0),this[_0x26f8('0x68')][_0x26f8('0xeb')][_0x26f8('0x6')](_0x26f8('0x47'))[_0x26f8('0xc9')]({'view':'revision'});}[_0x26f8('0xe4')](){this[_0x26f8('0x8f')]=this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')](_0x26f8('0x6d')),this[_0x26f8('0x1b')](),this[_0x26f8('0x68')][_0x26f8('0xb9')]['on']('ready',()=>{const _0x2ce4ba=this[_0x26f8('0x8f')][_0x26f8('0x49')](0x0),_0x47bde1=_0x2ce4ba&&null===_0x2ce4ba[_0x26f8('0x27')]?_0x2ce4ba:null;if(this[_0x26f8('0x2c')]=!!_0x47bde1&&this['editor'][_0x26f8('0x67')]['get'](_0x26f8('0x3')),this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0x3e')](_0x26f8('0x53'))){const _0x145e68=this[_0x26f8('0x44')][_0x26f8('0xa6')](),_0x4fa928=this[_0x26f8('0x8f')][_0x26f8('0x49')](_0x145e68);if(_0x4fa928)this[_0x26f8('0x66')]=_0x4fa928['fromVersion'],this[_0x26f8('0x2c')]=!0x1;else{const _0x20c0e9=this[_0x26f8('0x44')]['history'][_0x26f8('0xa3')]['find'](_0x34cb21=>!_0x34cb21['_isInit']),_0x55504b=_0x20c0e9?_0x20c0e9[_0x26f8('0xe5')]:this[_0x26f8('0x44')][_0x26f8('0xb6')][_0x26f8('0x4a')];_0x2ce4ba?(_0x2ce4ba['toVersion']<_0x55504b&&_0x2ce4ba[_0x26f8('0x34')]({'toVersion':_0x55504b}),this[_0x26f8('0x2c')]?(this[_0x26f8('0x44')][_0x26f8('0xa6')]=()=>_0x47bde1['id'],this[_0x26f8('0x66')]=_0x47bde1[_0x26f8('0xc0')]):(this['_startingVersion']=_0x2ce4ba[_0x26f8('0x93')],this[_0x26f8('0x2c')]=!0x1)):(this['_startingVersion']=_0x55504b,this[_0x26f8('0x2c')]=!0x1);}}else _0x47bde1&&(this[_0x26f8('0x68')]['model'][_0x26f8('0xb0')]['history'][_0x26f8('0x4a')]=Math[_0x26f8('0x9b')](_0x47bde1[_0x26f8('0x93')],this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0xb0')][_0x26f8('0xb6')][_0x26f8('0x4a')]),_0x47bde1['fromVersion']===_0x47bde1['toVersion']?(0x0!==_0x47bde1[_0x26f8('0xc0')]&&(this['_source']['getCurrentRevisionId']=()=>_0x47bde1['id']),this['_continueCurrentRevision']=!0x1):this[_0x26f8('0x2c')]&&(this['_source']['getCurrentRevisionId']=()=>_0x47bde1['id'],this[_0x26f8('0x66')]=_0x47bde1[_0x26f8('0xc0')])),this[_0x26f8('0x2c')]||(this['_startingVersion']=this['editor'][_0x26f8('0x5c')][_0x26f8('0xb0')][_0x26f8('0x4a')]);this[_0x26f8('0x70')][_0x26f8('0xe4')](this[_0x26f8('0x44')]['history']),this[_0x26f8('0xd5')](this[_0x26f8('0x66')]),this['_createCurrentRevision'](this[_0x26f8('0x66')]),this[_0x26f8('0x9e')]&&this[_0x26f8('0x24')]();}),this[_0x26f8('0x1f')](_0x26f8('0x4c'))['to'](this,'_isPendingUpdate',_0x400fb3=>!_0x400fb3);}async[_0x26f8('0x4d')](){if(this['repository'][_0x26f8('0xf2')]>0x0){const _0x4366ed=this[_0x26f8('0x8f')][_0x26f8('0x49')](0x0),_0x482b96=await this['getRevisionDocumentData'](_0x4366ed),_0x4191d2=await this[_0x26f8('0x4e')](_0x4366ed);this[_0x26f8('0x9')](_0x482b96,_0x4191d2);}}[_0x26f8('0x5e')](_0x1444a3){this[_0x26f8('0x44')]=_0x1444a3;}async[_0x26f8('0xf')](){const _0x32c5bb=await this[_0x26f8('0x44')][_0x26f8('0x2a')]();if(_0x32c5bb>this['currentRevision']['toVersion']){await this[_0x26f8('0xf4')]();const _0x359c49=this['buildRevisionData']({'revision':this[_0x26f8('0x3b')],'to':_0x32c5bb});_0x359c49[_0x26f8('0x7d')]=_0x359c49[_0x26f8('0x100')][_0x26f8('0xa5')](_0x8404cf=>this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')](_0x26f8('0xe9'))['getUser'](_0x8404cf)),this['currentRevision'][_0x26f8('0x34')](_0x359c49);}}async['_loadState'](){this['_continueCurrentRevision']&&!this[_0x26f8('0x6c')]&&(await this[_0x26f8('0x72')](this[_0x26f8('0x3b')]),this[_0x26f8('0x70')]['loadState'](this[_0x26f8('0x3b')]),this[_0x26f8('0x6c')]={'fromVersion':this[_0x26f8('0x3b')][_0x26f8('0xc0')],'authors':this['currentRevision'][_0x26f8('0x7d')]['slice']()});}async['saveRevision'](_0x392469={},_0x2fd73e=null){const _0x4c6f1a=[];await this[_0x26f8('0xf4')](),this[_0x26f8('0x2c')]=!0x1,_0x2fd73e>this[_0x26f8('0x3b')][_0x26f8('0x93')]&&(_0x2fd73e=null),null===_0x2fd73e&&(_0x2fd73e=await this[_0x26f8('0x44')][_0x26f8('0x2a')]());const _0x2734b3=this[_0x26f8('0x75')](_0x2fd73e),_0x344a3c=this[_0x26f8('0xab')]({'from':_0x2734b3,'to':_0x2fd73e});if(this[_0x26f8('0x3b')][_0x26f8('0x93')]<_0x2fd73e){const _0x296bf2=this[_0x26f8('0xab')]({'revision':this[_0x26f8('0x3b')],'from':_0x2fd73e,'to':_0x2fd73e});_0x296bf2[_0x26f8('0x7d')]=[],_0x296bf2[_0x26f8('0x100')]=[],_0x296bf2['id']=this['currentRevision']['id'],this[_0x26f8('0x3b')][_0x26f8('0x34')](_0x296bf2,!0x0),delete _0x296bf2[_0x26f8('0x7d')],_0x4c6f1a['push'](_0x296bf2);}_0x392469[_0x26f8('0x8d')]=this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')]('Users')['me']['id'],_0x392469[_0x26f8('0x45')]=_0x392469[_0x26f8('0x45')]||null,_0x392469['id']=_0x392469['id']||_0xdc3261(),_0x392469={..._0x392469,..._0x344a3c};const _0x1ce4f8=this['addRevisionData'](_0x392469);_0x4c6f1a['push'](_0x392469);const _0x4d489e=this['repository']['getIndex'](_0x1ce4f8);if(0x0!==_0x4d489e){const _0x17d526=this['repository']['getRevision'](_0x4d489e-0x1);if(_0x17d526[_0x26f8('0xc0')]!==_0x2fd73e){const _0x2c885b=this['_revisionDataBuilder'][_0x26f8('0x6f')](_0x2fd73e,_0x17d526[_0x26f8('0x93')]),_0x3236ef={'id':_0x17d526['id'],'diffData':_0x2c885b[_0x26f8('0xe1')],'authorsIds':_0x2c885b[_0x26f8('0x100')],'authors':_0x2c885b[_0x26f8('0x100')][_0x26f8('0xa5')](_0x49ea05=>this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')](_0x26f8('0xe9'))[_0x26f8('0x2')](_0x49ea05)),'fromVersion':_0x2fd73e};_0x17d526===this['currentRevision']&&(_0x3236ef[_0x26f8('0x51')]=new Date(_0x392469[_0x26f8('0x51')][_0x26f8('0x56')]()+0xa)),_0x17d526[_0x26f8('0x34')](_0x3236ef,!0x0),delete _0x3236ef['authors'],_0x4c6f1a[_0x26f8('0xfb')](_0x3236ef);}}if(this['adapter']){for(const _0x8dacd7 of _0x4c6f1a)this[_0x26f8('0xd0')](_0x8dacd7['id'],_0x8dacd7,!0x0);this[_0x26f8('0x24')]();}return _0x1ce4f8;}[_0x26f8('0x4f')](_0x27182f){const _0x2acfde=this[_0x26f8('0x8f')][_0x26f8('0x30')](_0x27182f);return this[_0x26f8('0x9e')]&&_0x2acfde['on'](_0x26f8('0x34'),(_0x44490f,_0x10b919,_0x290a27)=>{_0x290a27||(this[_0x26f8('0xd0')](_0x10b919['id'],_0x10b919,!0x0),this[_0x26f8('0x24')]());}),this[_0x26f8('0x8f')][_0x26f8('0x2e')](_0x2acfde,this['_findInsertionIndex'](_0x2acfde)),_0x2acfde;}async[_0x26f8('0x2b')](_0x1950d7){await this['_loadRevisionData'](_0x1950d7);const _0x55aa56={};for(const _0x10f3ac in _0x1950d7['diffData']){if(_0x1950d7[_0x26f8('0xe1')][_0x10f3ac][_0x26f8('0x41')]&&!_0x1950d7[_0x26f8('0xe1')][_0x10f3ac][_0x26f8('0x41')]['isAttached'])continue;const _0x257612=this[_0x26f8('0x95')](JSON[_0x26f8('0x1d')](_0x1950d7[_0x26f8('0xe1')][_0x10f3ac]['insertions'])),_0x2bd869=this[_0x26f8('0x68')]['editing'][_0x26f8('0xa1')][_0x26f8('0xb0')],_0x3aac0f=new _0x5973ea(_0x2bd869,_0x257612['map'](_0x1a5342=>J(_0x1a5342,this['editor'])));this['editor'][_0x26f8('0xb9')][_0x26f8('0xbf')][_0x26f8('0x2d')](_0x26f8('0x58')),_0x55aa56[_0x10f3ac]=this[_0x26f8('0x68')][_0x26f8('0xb9')][_0x26f8('0xbf')][_0x26f8('0x80')](_0x3aac0f),this['editor'][_0x26f8('0xb9')][_0x26f8('0xbf')][_0x26f8('0x2d')](_0x26f8('0x43'));}return _0x55aa56;}async[_0x26f8('0x4e')](_0x5214fc){await this[_0x26f8('0x72')](_0x5214fc);const _0x10763d={};for(const _0x8ee9a7 in _0x5214fc[_0x26f8('0xe1')])_0x5214fc[_0x26f8('0xe1')][_0x8ee9a7]['attachChange']&&!_0x5214fc[_0x26f8('0xe1')][_0x8ee9a7]['attachChange'][_0x26f8('0x12')]||(_0x10763d[_0x8ee9a7]=_0x5214fc[_0x26f8('0xe1')][_0x8ee9a7]['attributesAfter']||{});return _0x10763d;}[_0x26f8('0x24')](){if(0x0===this[_0x26f8('0x3d')]['size'])return;if(this['_isPendingUpdate'])return;let _0xb2b375=Array[_0x26f8('0xc7')](this['_bufferedUpdates'][_0x26f8('0x102')]());this['_bufferedUpdates'][_0x26f8('0xc2')]();for(let _0x1a33e8=0x0;_0x1a33e8<_0xb2b375[_0x26f8('0xf2')];_0x1a33e8++){const _0x42873e=_0xb2b375[_0x1a33e8];let _0x2800bb=!0x1;for(const _0x2f3d9c of Object[_0x26f8('0xb1')](_0x42873e))void 0x0===_0x42873e[_0x2f3d9c]?delete _0x42873e[_0x2f3d9c]:'id'!==_0x2f3d9c&&(_0x2800bb=!0x0);_0x2800bb||(_0xb2b375[_0x1a33e8]=null);}if(_0xb2b375=_0xb2b375[_0x26f8('0xc8')](_0x58faca=>null!==_0x58faca),!_0xb2b375['length'])return;for(let _0x2ed826=0x0;_0x2ed826<_0xb2b375[_0x26f8('0xf2')];_0x2ed826++){const _0xd7f4c0=_0xb2b375[_0x2ed826];void 0x0!==_0xd7f4c0[_0x26f8('0xc0')]&&void 0x0===_0xd7f4c0[_0x26f8('0x93')]&&(_0xd7f4c0[_0x26f8('0x93')]=this[_0x26f8('0x8f')][_0x26f8('0x49')](_0xd7f4c0['id'])[_0x26f8('0x93')]),void 0x0!==_0xd7f4c0['toVersion']&&void 0x0===_0xd7f4c0[_0x26f8('0xc0')]&&(_0xd7f4c0[_0x26f8('0xc0')]=this['repository'][_0x26f8('0x49')](_0xd7f4c0['id'])[_0x26f8('0xc0')]);}const _0x532124=this[_0x26f8('0x68')][_0x26f8('0x67')]['get'](_0x26f8('0x11'));this['_isPendingUpdate']=!0x0,this[_0x26f8('0x87')](),this[_0x26f8('0x9e')][_0x26f8('0xbe')](_0xb2b375,_0x532124)[_0x26f8('0x64')](()=>{this['_isPendingUpdate']=!0x1;})[_0x26f8('0x8e')](_0x23c211=>{if(_0x23c211)for(const _0x417eba of _0x23c211)this[_0x26f8('0x77')]({'id':_0x417eba['id'],'createdAt':_0x417eba[_0x26f8('0x51')]});this[_0x26f8('0x38')](),this['sendBufferedUpdates']();});}[_0x26f8('0x9')](_0x11e922,_0x2b0d69){let _0x78502c=this[_0x26f8('0x68')]['config']['get'](_0x26f8('0x82')),_0x4b235c=this[_0x26f8('0x68')][_0x26f8('0x67')]['get'](_0x26f8('0xe3'));if(void 0x0===_0x78502c){_0x78502c={};for(const _0x1c3c90 of this['editor'][_0x26f8('0x5c')][_0x26f8('0xb0')]['getRootNames']())_0x78502c[_0x1c3c90]='';}if(_0x26f8('0xec')==typeof _0x78502c&&(_0x78502c={'main':_0x78502c}),void 0x0===_0x4b235c){_0x4b235c={};for(const _0x1f43aa of this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0xb0')][_0x26f8('0x46')]())_0x4b235c[_0x1f43aa]={};}let _0x578682=!0x1;const _0x531b65=Object[_0x26f8('0xb1')](_0x78502c),_0x1135b8=Object[_0x26f8('0xb1')](_0x11e922);for(const _0x6aa136 of _0x531b65){if(_0x78502c[_0x6aa136]!==_0x11e922[_0x6aa136]&&''!==_0x78502c[_0x6aa136]['trim']()){_0x578682=!0x0;break;}if(!_0x2ab5d6(_0x4b235c[_0x6aa136],_0x2b0d69[_0x6aa136])&&Object['keys'](_0x4b235c[_0x6aa136])[_0x26f8('0xf2')]>0x0){_0x578682=!0x0;break;}}_0x578682||(_0x578682=_0x1135b8[_0x26f8('0xd9')](_0x505686=>!this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0xb0')][_0x26f8('0xb4')](_0x505686))),_0x578682&&_0x3e3289(_0x26f8('0xdd'),{'editorData':_0x78502c,'editorRootsAttributes':_0x4b235c,'revisionData':_0x11e922,'revisionRootsAttributes':_0x2b0d69}),this['editor'][_0x26f8('0x67')][_0x26f8('0x5f')](_0x26f8('0x82'),_0x11e922),this[_0x26f8('0x68')]['config'][_0x26f8('0x5f')](_0x26f8('0xe3'),_0x2b0d69);}[_0x26f8('0x87')](){if(!this[_0x26f8('0x97')]){const _0x27993f=this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')](_0x26f8('0xdc'));this[_0x26f8('0x97')]=_0x27993f[_0x26f8('0xda')](_0x24d052(this['editor'][_0x26f8('0xa8')],'PENDING_ACTION_REVISION_HISTORY'));}}[_0x26f8('0x38')](){this[_0x26f8('0x97')]&&(this[_0x26f8('0x68')]['plugins'][_0x26f8('0xcd')](_0x26f8('0xdc'))[_0x26f8('0xf8')](this[_0x26f8('0x97')]),this[_0x26f8('0x97')]=null);}['_findInsertionIndex'](_0x319a98){const _0x55653f=this['repository']['getRevisions']();_0x55653f[_0x26f8('0xc5')]();let _0x8887fb=0x0;for(;_0x8887fb<_0x55653f[_0x26f8('0xf2')];){const _0x17ba71=_0x55653f[_0x8887fb];if(_0x17ba71===this['currentRevision']){_0x8887fb++;continue;}if(_0x17ba71['id']===this[_0x26f8('0x99')])break;const _0x4a80e1=_0x319a98[_0x26f8('0x93')]-_0x17ba71[_0x26f8('0x93')]||_0x319a98['fromVersion']-_0x17ba71[_0x26f8('0xc0')];if(_0x4a80e1>0x0)break;if(_0x4a80e1<0x0)_0x8887fb++;else{if(!_0x319a98['creator']&&_0x17ba71[_0x26f8('0x27')])break;if(_0x17ba71['creator']||!_0x319a98[_0x26f8('0x27')]){if(_0x319a98[_0x26f8('0x51')]>_0x17ba71[_0x26f8('0x51')])break;_0x8887fb++;}else _0x8887fb++;}}return _0x8887fb;}[_0x26f8('0x77')](_0x47ef9a){const _0x1f6dcf=this[_0x26f8('0x8f')][_0x26f8('0x49')](_0x47ef9a['id']);if(_0x47ef9a['createdAt']&&(_0x47ef9a['createdAt']=new Date(_0x47ef9a['createdAt'])),_0x47ef9a[_0x26f8('0x100')]){const _0x5b7abb=this[_0x26f8('0x68')]['plugins'][_0x26f8('0xcd')](_0x26f8('0xe9'));_0x47ef9a[_0x26f8('0x7d')]=_0x47ef9a['authorsIds'][_0x26f8('0xa5')](_0x1099c3=>_0x5b7abb[_0x26f8('0x2')](_0x1099c3));}_0x1f6dcf['_update'](_0x47ef9a,!0x0);}[_0x26f8('0xab')]({revision:_0x4b1eca=null,from:_0x4da6b7=null,to:_0x38c28a=null}){_0x4da6b7=null!==_0x4da6b7?_0x4da6b7:_0x4b1eca[_0x26f8('0xc0')],_0x38c28a=null!==_0x38c28a?_0x38c28a:_0x4b1eca['toVersion'];const _0x66cd2a=this[_0x26f8('0x70')][_0x26f8('0x6f')](_0x4da6b7,_0x38c28a),_0x4be3f9={'diffData':_0x66cd2a[_0x26f8('0xe1')],'authorsIds':_0x66cd2a[_0x26f8('0x100')],'fromVersion':_0x4da6b7,'toVersion':_0x38c28a};if(!_0x4b1eca||_0x38c28a!==_0x4b1eca['toVersion']){const _0x386847=_0x38c28a-0x1,_0x469bda=this[_0x26f8('0x44')][_0x26f8('0xb6')][_0x26f8('0x16')](_0x386847);_0x4be3f9[_0x26f8('0x51')]=_0x469bda&&_0x469bda['createdAt']||new Date();}if(this[_0x26f8('0x6c')]&&_0x4da6b7===this[_0x26f8('0x6c')][_0x26f8('0xc0')])for(const _0x3fdbec of this['_loadedStateData']['authors'])_0x4be3f9[_0x26f8('0x100')][_0x26f8('0x5a')](_0x3fdbec['id'])||_0x4be3f9['authorsIds'][_0x26f8('0xfb')](_0x3fdbec['id']);return _0x4be3f9;}[_0x26f8('0x72')](_0x11537e){if(!_0x11537e||_0x11537e[_0x26f8('0xe1')])return Promise[_0x26f8('0x7a')]();{const _0x296987=this[_0x26f8('0x68')][_0x26f8('0x67')]['get']('collaboration.channelId');return this[_0x26f8('0x9e')][_0x26f8('0x49')]({'channelId':_0x296987,'revisionId':_0x11537e['id']})[_0x26f8('0x8e')](_0x51d88e=>{_0x11537e[_0x26f8('0xe1')]=_0x51d88e['diffData'];});}}[_0x26f8('0xd0')](_0x51956b,_0xff1ee2,_0x5133c9){if(this[_0x26f8('0x3d')][_0x26f8('0x3e')](_0x51956b)){const _0x1158d7=this[_0x26f8('0x3d')][_0x26f8('0xcd')](_0x51956b);_0xff1ee2=_0x5133c9?{..._0x1158d7,..._0xff1ee2}:{..._0xff1ee2,..._0x1158d7};}this[_0x26f8('0x3d')]['set'](_0x51956b,_0xff1ee2);}[_0x26f8('0x75')](_0x3bb8b6){const _0x17edb2=this['repository'][_0x26f8('0xdb')]();_0x17edb2['reverse'](),_0x17edb2[_0x26f8('0x101')]();const _0x3d3290=_0x17edb2[_0x26f8('0x21')](_0x41f8fb=>_0x41f8fb[_0x26f8('0x93')]<=_0x3bb8b6)['toVersion'];return _0x3d3290<this[_0x26f8('0x66')]?this['_startingVersion']:_0x3d3290;}[_0x26f8('0xd5')](_0x27f6dc){const _0x3efa17=this[_0x26f8('0x8f')][_0x26f8('0x49')](this[_0x26f8('0x8f')][_0x26f8('0xf2')]-0x1);if(_0x3efa17)this[_0x26f8('0x99')]=_0x3efa17['id'];else{const _0x166df4=!this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0xb0')]['roots'][_0x26f8('0x21')](_0x1a573e=>this[_0x26f8('0x68')]['model']['hasContent'](_0x1a573e)),_0x579415=this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')]('Users')['me']['id'],_0x3fdbd5=_0x24d052(this[_0x26f8('0x68')][_0x26f8('0xa8')],_0x166df4?_0x26f8('0xd6'):'Initial\x20revision');this[_0x26f8('0x3f')]({'from':_0x27f6dc,'to':_0x27f6dc,'id':this[_0x26f8('0x99')],'name':_0x3fdbd5,'creatorId':_0x579415});}}['_createCurrentRevision'](_0x46a772){const _0x280bc0=this['_source'][_0x26f8('0xa6')]();this[_0x26f8('0x3b')]=this['repository'][_0x26f8('0x49')](_0x280bc0),this[_0x26f8('0x3b')]||(this[_0x26f8('0x3b')]=this[_0x26f8('0x3f')]({'from':_0x46a772,'to':_0x46a772,'id':_0x280bc0,'name':'','creatorId':null}));}[_0x26f8('0x3f')]({name:_0x596139,from:_0x48792d,to:_0x79e488,creatorId:_0x5b511c,id:_0x4b3fb6}){const _0x3efcfa=this[_0x26f8('0xab')]({'from':_0x48792d,'to':_0x79e488});_0x3efcfa[_0x26f8('0x45')]=_0x596139,_0x3efcfa[_0x26f8('0x8d')]=_0x5b511c,_0x3efcfa['id']=_0x4b3fb6;const _0x167856=this[_0x26f8('0x4f')](_0x3efcfa);return this[_0x26f8('0x9e')]&&this['_bufferUpdate'](_0x3efcfa['id'],_0x3efcfa,!0x0),_0x167856;}[_0x26f8('0x1b')](){this[_0x26f8('0x68')][_0x26f8('0xeb')][_0x26f8('0x6')](_0x26f8('0x85'))['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x215e10){return(_0x215e10=_0x215e10[_0x26f8('0xc8')](_0x4d3291=>!_0x4d3291['name']||_0x26f8('0xcc')!==_0x4d3291['name']&&'revision-end'!==_0x4d3291[_0x26f8('0x45')]))['forEach'](_0x1fd71c=>{_0x26f8('0xec')!=typeof _0x1fd71c&&(_0x1fd71c[_0x26f8('0xa4')]=this[_0x26f8('0x95')](_0x1fd71c[_0x26f8('0xa4')]),_0x1fd71c[_0x26f8('0x9c')]=_0x1fd71c[_0x26f8('0x9c')][_0x26f8('0xc8')](_0x3c99b7=>!_0x3c99b7[0x0][_0x26f8('0xc4')](_0x26f8('0x1'))));}),_0x215e10;}}function J(_0x242021,_0x4f4a49){const _0xc7b4f6=_0x4f4a49[_0x26f8('0x8')][_0x26f8('0xa1')][_0x26f8('0xb0')];if(_0x26f8('0xec')==typeof _0x242021)return new _0x997765(_0xc7b4f6,_0x242021);{const _0x295ce3=_0x242021['children'][_0x26f8('0xa5')](_0x59ea4a=>J(_0x59ea4a,_0x4f4a49));return new(B[_0x242021['type']]||_0x4e8d96)(_0xc7b4f6,_0x242021[_0x26f8('0x45')],_0x242021['attributes'],_0x295ce3);}}class H{constructor(_0x443bb9){this[_0x26f8('0x68')]=_0x443bb9,this[_0x26f8('0x31')]=new Map(),this[_0x26f8('0x69')]=-0x1,this[_0x26f8('0xcf')]=-0x1,this[_0x26f8('0x33')]=new Map(),this[_0x26f8('0xf7')]=new Map(),this[_0x26f8('0xad')]=new Map(),this[_0x26f8('0x7b')]=new Map(),this[_0x26f8('0x8a')]=new Map(),this[_0x26f8('0xac')]=new Map(),this[_0x26f8('0x42')]=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x37ed20){this['source']=_0x37ed20;const _0x4f8ef8=new Map(),_0x336ede=new Map(),_0x37275b=this[_0x26f8('0x68')]['model'][_0x26f8('0xb0')][_0x26f8('0x54')][_0x26f8('0xa5')](_0x5be075=>_0x5be075[_0x26f8('0x81')]);for(const _0x3f21b1 of _0x37275b){const _0x1c9efc=this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0xb0')]['getRoot'](_0x3f21b1),_0x52a9c3=q(_0x1c9efc);_0x4f8ef8[_0x26f8('0x5f')](_0x3f21b1,_0x52a9c3),_0x336ede[_0x26f8('0x5f')](_0x3f21b1,Object[_0x26f8('0x98')](_0x1c9efc[_0x26f8('0xe6')]()));}const _0x5410c1=Array[_0x26f8('0xc7')](this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0xc6')])[_0x26f8('0xa5')](_0x205a9c=>[_0x205a9c[_0x26f8('0x45')],_0x205a9c[_0x26f8('0xf0')]()]),_0x399535=this[_0x26f8('0x9f')]['version'];this[_0x26f8('0xd4')](_0x399535,_0x4f8ef8,_0x5410c1,_0x336ede),this[_0x26f8('0x61')]=this['_revisionId'];const _0x8f50bf=new Map(),_0xc5a501=new Map();for(const _0x36232a of _0x37275b){const _0x223cb0=G(_0x36232a);_0x8f50bf['set'](_0x36232a,_0x223cb0),_0xc5a501[_0x26f8('0x5f')](_0x36232a,{});}this[_0x26f8('0xd4')](Number[_0x26f8('0xf1')],_0x8f50bf,[],_0xc5a501);}[_0x26f8('0x6f')](_0x430741,_0xcda6d4){if(this['_lastFrom']===_0x430741&&this[_0x26f8('0xcf')]<=_0xcda6d4)this[_0x26f8('0x31')][_0x26f8('0xfc')]>0x1&&this[_0x26f8('0x91')](this['_lastTo']),this['_applyOperations'](this[_0x26f8('0xcf')],_0xcda6d4,!0x0);else{if(!this[_0x26f8('0x31')][_0x26f8('0x3e')](_0x430741)){const _0x5e0fe0=this[_0x26f8('0x18')](_0x430741);this[_0x26f8('0x22')](_0x5e0fe0,_0x430741,!0x1);}this['_calculateMetaData'](_0x430741,_0xcda6d4,!0x0);}return this['_lastFrom']=_0x430741,this[_0x26f8('0xcf')]=_0xcda6d4,this[_0x26f8('0xe8')]();}[_0x26f8('0x103')](_0x40f638){this[_0x26f8('0x63')](),this[_0x26f8('0x69')]=_0x40f638[_0x26f8('0xc0')],this[_0x26f8('0xcf')]=_0x40f638[_0x26f8('0x93')];for(const _0x10e98c in _0x40f638[_0x26f8('0xe1')]){const _0x5dd186=_0x40f638[_0x26f8('0xe1')][_0x10e98c][_0x26f8('0x41')],_0x400ac0=_0x4a5491(_0x40f638[_0x26f8('0xe1')][_0x10e98c][_0x26f8('0x5b')])||{},_0x32eda4=this[_0x26f8('0x15')](_0x40f638[_0x26f8('0xe1')][_0x10e98c][_0x26f8('0xff')]);_0x32eda4[_0x26f8('0x81')]=_0x10e98c,_0x32eda4['_isAttached']=!_0x5dd186||!_0x5dd186[_0x26f8('0x12')],_0x32eda4[_0x26f8('0x12')]=()=>_0x32eda4['_isAttached'],this['_baseRoots'][_0x26f8('0x5f')](_0x10e98c,_0x32eda4),this[_0x26f8('0x8a')][_0x26f8('0x5f')](_0x10e98c,_0x400ac0),_0x5dd186&&this[_0x26f8('0xbc')][_0x26f8('0x5f')](_0x10e98c,_0x5dd186);const _0x37d14e=this[_0x26f8('0x52')](_0x32eda4);this[_0x26f8('0x42')][_0x26f8('0x5f')](_0x10e98c,_0x37d14e);for(const [_0x168129,_0x5313fa]of _0x32eda4[_0x26f8('0xc6')]){if(!_0x168129[_0x26f8('0xc4')](_0x26f8('0xef')))continue;const _0x37ecbd=_0x168129[_0x26f8('0xd2')](':')[0x2];for(const _0x1ca3c1 of _0x5313fa['getWalker']({'singleCharacters':!0x0})){const _0x1fbc2b=this['_getVidAttributeName'](_0x1ca3c1),_0x3cfec6=_0x26f8('0x79')==_0x1ca3c1[_0x26f8('0x6e')]?_0x1ca3c1[_0x26f8('0xb5')][_0x26f8('0xc')][_0x26f8('0xe0')](0x0,-0x1):_0x1ca3c1[_0x26f8('0xb5')][_0x26f8('0xc')],_0x4866d0=_0x37d14e['getNodeByPath'](_0x3cfec6)[_0x26f8('0x17')](_0x1fbc2b);this['_touched'][_0x26f8('0x5f')](_0x4866d0,{'userId':_0x37ecbd});}}}this['_startingRevisionId']=this['_revisionId'];const _0x256e3e=[...Array(this[_0x26f8('0xa')])['keys']()][_0x26f8('0xe0')](0x1)['filter'](_0x29743a=>!this['_touched'][_0x26f8('0x3e')](_0x29743a));let _0x187c09=0x0;const _0x1d0b4b=new Map();for(const _0x19b0eb in _0x40f638[_0x26f8('0xe1')]){const _0x4e5aed=_0x40f638[_0x26f8('0xe1')][_0x19b0eb][_0x26f8('0x41')],_0x4f511a=_0x4a5491(_0x40f638[_0x26f8('0xe1')][_0x19b0eb][_0x26f8('0x4')])||{},_0x32194c=this[_0x26f8('0x15')](_0x40f638[_0x26f8('0xe1')][_0x19b0eb]['insertions']);_0x32194c[_0x26f8('0x81')]=_0x19b0eb,_0x32194c[_0x26f8('0xa9')]=!_0x4e5aed||_0x4e5aed[_0x26f8('0x12')],_0x32194c[_0x26f8('0x12')]=()=>_0x32194c[_0x26f8('0xa9')],this[_0x26f8('0xf7')][_0x26f8('0x5f')](_0x19b0eb,_0x32194c),this[_0x26f8('0xad')][_0x26f8('0x5f')](_0x19b0eb,_0x4f511a);const _0x24cd10=this[_0x26f8('0x52')](_0x32194c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x19b0eb,_0x24cd10),_0x1d0b4b[_0x26f8('0x5f')](_0x19b0eb,_0x32194c['isAttached']()?_0x4f511a:{});for(const [_0x59e011,_0x1a662a]of _0x32194c['markers']){if(!_0x59e011[_0x26f8('0xc4')]('revision:'))continue;const _0x21fc53=_0x59e011[_0x26f8('0xd2')](':')[0x2];for(const _0x53da2c of _0x1a662a['getWalker']({'singleCharacters':!0x0})){const _0x401edd=this['_getVidAttributeName'](_0x53da2c),_0x556faa=this['_revisionId']++,_0x1d2eaf=_0x26f8('0x79')==_0x53da2c['type']?_0x53da2c[_0x26f8('0xb5')]['path'][_0x26f8('0xe0')](0x0,-0x1):_0x53da2c[_0x26f8('0xb5')][_0x26f8('0xc')];_0x24cd10[_0x26f8('0x92')](_0x1d2eaf)[_0x26f8('0x94')](_0x401edd,_0x556faa),this[_0x26f8('0xe2')]['set'](_0x556faa,{'userId':_0x21fc53});}}for(const _0x327b32 of this[_0x26f8('0x68')][_0x26f8('0x5c')]['createRangeIn'](_0x32194c)[_0x26f8('0x86')]({'singleCharacters':!0x0})){const _0x374db4=this[_0x26f8('0x35')](_0x327b32),_0x4a07bd=_0x26f8('0x79')==_0x327b32[_0x26f8('0x6e')]?_0x327b32[_0x26f8('0xb5')][_0x26f8('0xc')][_0x26f8('0xe0')](0x0,-0x1):_0x327b32[_0x26f8('0xb5')][_0x26f8('0xc')],_0x57be9e=_0x24cd10['getNodeByPath'](_0x4a07bd);_0x57be9e['getAttribute'](_0x374db4)>0x0||_0x57be9e[_0x26f8('0x94')](_0x374db4,_0x256e3e[_0x187c09++]);}for(const [_0x5907e0,_0x417bf1]of _0x32194c[_0x26f8('0xc6')])_0x5907e0['startsWith'](_0x26f8('0xef'))||this[_0x26f8('0x33')][_0x26f8('0x5f')](_0x5907e0,_0x417bf1);}const _0x21a8ba=G(_0x26f8('0xf9'));this[_0x26f8('0x7b')][_0x26f8('0x5f')](_0x26f8('0xf9'),_0x21a8ba),this[_0x26f8('0x42')]['set']('$graveyard',this[_0x26f8('0x52')](_0x21a8ba,0x1));const _0x5af419=G('$graveyard');this[_0x26f8('0xf7')]['set'](_0x26f8('0xf9'),_0x5af419),this[_0x26f8('0xac')]['set'](_0x26f8('0xf9'),this['_makeIdsRoot'](_0x5af419,0x1));const _0x4f6482=Array[_0x26f8('0xc7')](this[_0x26f8('0xf7')])[_0x26f8('0xa5')](([_0x52d451,_0x437702])=>[_0x52d451,q(_0x437702)]);this[_0x26f8('0xd4')](this[_0x26f8('0xcf')],_0x4f6482,this[_0x26f8('0x33')],_0x1d0b4b);}[_0x26f8('0x15')](_0x1a792a){const _0x951d6c=JSON[_0x26f8('0x1d')](_0x1a792a),_0x59f2b8=this[_0x26f8('0x68')]['editing'][_0x26f8('0xa1')][_0x26f8('0xb0')],_0x1ded58=new _0x5973ea(_0x59f2b8,_0x951d6c[_0x26f8('0xa5')](_0x42696d=>J(_0x42696d,this[_0x26f8('0x68')])));return this['editor'][_0x26f8('0xb9')][_0x26f8('0xde')](_0x1ded58);}[_0x26f8('0xd4')](_0x4b8d22,_0x270076,_0x4e664d,_0x4ba8e2){const _0x37813f=new Map(_0x270076),_0x44f7a9=new Map(_0x4a5491(_0x4ba8e2)),_0x1544c4=new Map();for(const [_0x2944c3,_0x4daa26]of _0x4e664d)_0x1544c4[_0x26f8('0x5f')](_0x2944c3,{'start':_0x4daa26[_0x26f8('0xd1')][_0x26f8('0x62')](),'end':_0x4daa26[_0x26f8('0x23')]['clone'](),'rootName':_0x4daa26[_0x26f8('0x76')][_0x26f8('0x81')]});this['_savedMetaData'][_0x26f8('0x5f')](_0x4b8d22,{'roots':_0x37813f,'markers':_0x1544c4,'rootsAttributes':_0x44f7a9});}[_0x26f8('0x91')](_0x1049f3){this['_savedMetaData'][_0x26f8('0xa7')](_0x1049f3);}[_0x26f8('0xb7')](){this['_reset'](),this[_0x26f8('0x69')]=-0x1,this[_0x26f8('0xcf')]=-0x1,this[_0x26f8('0x31')][_0x26f8('0xc2')](),this[_0x26f8('0xe4')](this['source']);}[_0x26f8('0x63')](){this[_0x26f8('0xe2')][_0x26f8('0xc2')](),this[_0x26f8('0x32')]['clear'](),this[_0x26f8('0xbc')][_0x26f8('0xc2')](),this[_0x26f8('0xf7')]['clear'](),this['_diffRootsAttributes'][_0x26f8('0xc2')](),this[_0x26f8('0x7b')][_0x26f8('0xc2')](),this[_0x26f8('0x8a')][_0x26f8('0xc2')](),this[_0x26f8('0xac')][_0x26f8('0xc2')](),this['_baseIdsRoots'][_0x26f8('0xc2')](),this['_markers'][_0x26f8('0xc2')](),this[_0x26f8('0xa')]=0x1,this['_startingRevisionId']=this[_0x26f8('0xa')];}[_0x26f8('0x52')](_0x49b629,_0x23afa0=null){let _0x5c6343=null;_0x49b629['is'](_0x26f8('0x0'))||(_0x5c6343=new _0x3c4da8(_0x49b629[_0x26f8('0x45')],{'vid_start':null===_0x23afa0?this[_0x26f8('0xa')]++:_0x23afa0++}));const _0x59221c=[];for(const _0x53c835 of _0x49b629[_0x26f8('0x59')]())if(_0x53c835['is']('element')){_0x59221c[_0x26f8('0xfb')](this[_0x26f8('0x52')](_0x53c835,_0x23afa0));const _0x3474f6=_0x59221c[_0x59221c[_0x26f8('0xf2')]-0x1];null!==_0x23afa0&&(_0x23afa0=_0x3474f6['is']('element',_0x26f8('0x88'))?_0x3474f6[_0x26f8('0x17')](_0x26f8('0x7'))+0x1:_0x3474f6[_0x26f8('0x17')](_0x26f8('0xcb'))+0x1);}else for(let _0x31a20f=0x0;_0x31a20f<_0x53c835[_0x26f8('0x13')];_0x31a20f++)_0x59221c[_0x26f8('0xfb')](new _0x3c4da8(_0x26f8('0x88'),{'vid':null===_0x23afa0?this['_revisionId']++:_0x23afa0++}));if(_0x49b629['is'](_0x26f8('0x0'))){const _0x56ad73=G(_0x49b629['rootName']);return _0x56ad73[_0x26f8('0xbb')](0x0,_0x59221c),_0x56ad73;}return _0x5c6343[_0x26f8('0x94')](_0x26f8('0xcb'),null===_0x23afa0?this[_0x26f8('0xa')]++:_0x23afa0++),_0x5c6343[_0x26f8('0xbb')](0x0,_0x59221c),_0x5c6343;}[_0x26f8('0x22')](_0x211093,_0x1e1090,_0x81e56d){this[_0x26f8('0x63')]();const {roots:_0x2f7b41,markers:_0x13c145,rootsAttributes:_0x145eda}=this[_0x26f8('0x31')][_0x26f8('0xcd')](_0x211093);this[_0x26f8('0x7b')]=new Map(_0x2f7b41),this[_0x26f8('0x8a')]=new Map(_0x4a5491(_0x145eda));for(const [_0x407b7e,_0x1dfd9d]of this[_0x26f8('0x7b')])if(_0x26f8('0xf9')!==_0x407b7e&&(this[_0x26f8('0xf7')][_0x26f8('0x5f')](_0x407b7e,q(_0x1dfd9d)),this[_0x26f8('0xad')]=new Map(_0x4a5491(_0x145eda)),_0x81e56d)){const _0x2254db=this[_0x26f8('0xa')];this[_0x26f8('0xac')]['set'](_0x407b7e,this['_makeIdsRoot'](_0x1dfd9d)),this['_baseIdsRoots'][_0x26f8('0x5f')](_0x407b7e,this[_0x26f8('0x52')](_0x1dfd9d,_0x2254db));}this['_startingRevisionId']=this['_revisionId'],this[_0x26f8('0xf7')][_0x26f8('0x5f')]('$graveyard',q(this['_baseRoots'][_0x26f8('0xcd')](_0x26f8('0xf9')))),_0x81e56d&&this['_idsRoots'][_0x26f8('0x5f')](_0x26f8('0xf9'),this['_makeIdsRoot'](this[_0x26f8('0x7b')]['get'](_0x26f8('0xf9'))));for(const [_0x3e48a0,_0x1958ed]of _0x13c145){const _0x26493b=this['_baseRoots']['get'](_0x1958ed[_0x26f8('0x81')]),_0x3556d5=this[_0x26f8('0xf7')][_0x26f8('0xcd')](_0x1958ed[_0x26f8('0x81')]),_0x844c52=new _0x21d564(this[_0x26f8('0x89')](_0x1958ed[_0x26f8('0xd1')],_0x26493b),this[_0x26f8('0x89')](_0x1958ed['end'],_0x26493b)),_0x44e1d2=this[_0x26f8('0x78')](_0x844c52,_0x3556d5);_0x26493b[_0x26f8('0xc6')][_0x26f8('0x5f')](_0x3e48a0,_0x844c52),this[_0x26f8('0x33')][_0x26f8('0x5f')](_0x3e48a0,_0x44e1d2);}this[_0x26f8('0x9a')](_0x211093,_0x1e1090,_0x81e56d);}[_0x26f8('0x9a')](_0x5db145,_0xab3f6f,_0x459a8e){for(const _0x50d5a7 of this['source']['getOperations'](_0x5db145,_0xab3f6f))this[_0x26f8('0x26')](_0x50d5a7,_0x459a8e);for(const _0x1f9aca of this[_0x26f8('0xf7')][_0x26f8('0x102')]())_0x1f9aca['markers'][_0x26f8('0xc2')]();for(const [_0x1bc419,_0x46a179]of this[_0x26f8('0x33')]){this[_0x26f8('0xf7')][_0x26f8('0xcd')](_0x46a179[_0x26f8('0x76')][_0x26f8('0x81')])[_0x26f8('0xc6')][_0x26f8('0x5f')](_0x1bc419,_0x46a179[_0x26f8('0x62')]());}const _0x6267c7=new Map(),_0xc0915f=new Map();for(const [_0x5d5a84,_0x4f8a36]of this[_0x26f8('0xf7')])_0x6267c7[_0x26f8('0x5f')](_0x5d5a84,q(_0x4f8a36)),_0xc0915f[_0x26f8('0x5f')](_0x5d5a84,this[_0x26f8('0xad')][_0x26f8('0xcd')](_0x5d5a84));this[_0x26f8('0xd4')](_0xab3f6f,_0x6267c7,this[_0x26f8('0x33')],_0xc0915f);}['_getPreviousFrom'](_0x3ce8b7){const _0x1995e5=Array[_0x26f8('0xc7')](this[_0x26f8('0x31')][_0x26f8('0xb1')]());_0x1995e5['sort']((_0x1cd7b0,_0x126435)=>_0x1cd7b0-_0x126435),_0x1995e5[_0x26f8('0xc5')]();for(const _0x17323b of _0x1995e5)if(_0x17323b<_0x3ce8b7)return _0x17323b;return Number[_0x26f8('0xf1')];}[_0x26f8('0x65')](_0xa6d8e3,_0x4bc4a9){const _0x345f80=Array[_0x26f8('0xc7')](_0x4bc4a9[_0x26f8('0xc6')])[_0x26f8('0xa5')](([_0xd64c9,_0xa1c15f])=>[_0xd64c9,this[_0x26f8('0x78')](_0xa1c15f,_0xa6d8e3)]);_0xa6d8e3[_0x26f8('0xc6')]=new Map(_0x345f80);}[_0x26f8('0xf6')](_0x192a18){for(const _0x328ed4 of this[_0x26f8('0x33')][_0x26f8('0x102')]()){const _0x3414ce=_0x328ed4[_0x26f8('0x83')](_0x192a18),_0x7ded07=_0x21d564[_0x26f8('0xed')](_0x3414ce);_0x328ed4[_0x26f8('0xd1')]=_0x7ded07[_0x26f8('0xd1')],_0x328ed4[_0x26f8('0x23')]=_0x7ded07['end'];}}[_0x26f8('0x26')](_0x3218e9,_0x5961d5){if(_0x26f8('0x96')==_0x3218e9['type']||_0x26f8('0x90')==_0x3218e9[_0x26f8('0x6e')])return void this[_0x26f8('0x19')](_0x3218e9,_0x5961d5);if(_0x26f8('0xfd')==_0x3218e9[_0x26f8('0x6e')]){const _0x4baf4c=_0x3218e9[_0x26f8('0x36')]['root'][_0x26f8('0x81')];this[_0x26f8('0xf7')]['has'](_0x4baf4c)||(this[_0x26f8('0xf7')][_0x26f8('0x5f')](_0x4baf4c,G(_0x4baf4c,!0x0)),this[_0x26f8('0xad')][_0x26f8('0x5f')](_0x4baf4c,{}),_0x5961d5&&this[_0x26f8('0xac')][_0x26f8('0x5f')](_0x4baf4c,G(_0x4baf4c,!0x0)));}else{if('addRootAttribute'==_0x3218e9[_0x26f8('0x6e')]||_0x26f8('0xaa')==_0x3218e9[_0x26f8('0x6e')]||'changeRootAttribute'==_0x3218e9[_0x26f8('0x6e')])return void this[_0x26f8('0x9d')](_0x3218e9);}const _0x4b6060=this[_0x26f8('0xd7')](_0x3218e9,this[_0x26f8('0xf7')]);if(_0x26f8('0x7c')!==_0x3218e9[_0x26f8('0x6e')]&&(_0x4b6060['_execute'](),this[_0x26f8('0xf6')](_0x4b6060)),_0x5961d5)switch(_0x4b6060[_0x26f8('0x6e')]){case _0x26f8('0xfd'):this['_handleInsertOperation'](_0x3218e9);break;case _0x26f8('0x8b'):case'remove':case _0x26f8('0xba'):this[_0x26f8('0xa2')](_0x3218e9);break;case'merge':this[_0x26f8('0xd')](_0x3218e9);break;case _0x26f8('0xd2'):this[_0x26f8('0x1c')](_0x3218e9);break;case'marker':this['_handleMarkerOperation'](_0x3218e9);}}[_0x26f8('0xd7')](_0x2e9639,_0x438efb){const _0x5c688c=_0x2e9639['clone']();return _0x5c688c['_authorId']=_0x2e9639[_0x26f8('0xc1')],this[_0x26f8('0x25')](_0x5c688c,_0x438efb),_0x5c688c;}[_0x26f8('0xb')](_0x4a17a9){return _0x4a17a9[_0x26f8('0xa5')](_0x26972a=>{const _0x28c130=this[_0x26f8('0x35')](_0x26972a);return Number(_0x26972a[_0x26f8('0x10')][_0x26f8('0x17')](_0x28c130));});}['_generateTape'](_0x19c4c7,_0xc110a1){if(_0x19c4c7['is'](_0x26f8('0x50'),'$text'))_0xc110a1[_0x26f8('0xfb')]({'item':_0x19c4c7,'type':_0x26f8('0xe')});else{_0x19c4c7['is']('element')&&_0xc110a1[_0x26f8('0xfb')]({'item':_0x19c4c7,'type':'elementStart'});for(const _0x5d1f28 of _0x19c4c7['getChildren']())this[_0x26f8('0xd3')](_0x5d1f28,_0xc110a1);_0x19c4c7['is'](_0x26f8('0x50'))&&_0xc110a1[_0x26f8('0xfb')]({'item':_0x19c4c7,'type':'elementEnd'});}return _0xc110a1;}[_0x26f8('0xe8')](){const _0x50dbcd=new Map(this[_0x26f8('0xe2')]),_0x467c10=new Map(_0x50dbcd),_0x2db5c4=new Map(),_0x5421b7={'insertions':{},'deletions':{}},_0x20613b={'insertions':{},'deletions':{}},_0x29d93c=new Map(),_0x5ee005=new Set([...this[_0x26f8('0x7b')][_0x26f8('0xb1')](),...this[_0x26f8('0xf7')][_0x26f8('0xb1')]()]);_0x5ee005[_0x26f8('0xa7')](_0x26f8('0xf9'));for(const _0x3b4663 of _0x5ee005){const _0x8aae16=this['_diffRoots'][_0x26f8('0xcd')](_0x3b4663)||G(_0x3b4663,!0x1),_0x2cd263=this[_0x26f8('0x7b')][_0x26f8('0xcd')](_0x3b4663)||G(_0x3b4663,!0x1);_0x8aae16['isAttached']()||_0x2cd263[_0x26f8('0x12')]()?(_0x5421b7[_0x26f8('0xee')][_0x3b4663]=q(_0x8aae16),_0x5421b7[_0x26f8('0xff')][_0x3b4663]=q(_0x2cd263),this['_copyMarkers'](_0x5421b7['deletions'][_0x3b4663],_0x2cd263),this[_0x26f8('0x65')](_0x5421b7[_0x26f8('0xee')][_0x3b4663],_0x8aae16),_0x20613b[_0x26f8('0xee')][_0x3b4663]=this['_generateTape'](this[_0x26f8('0xac')]['get'](_0x3b4663),[]),_0x20613b['deletions'][_0x3b4663]=this[_0x26f8('0xd3')](this[_0x26f8('0x42')][_0x26f8('0xcd')](_0x3b4663)||G(_0x3b4663,!0x1),[])):_0x5ee005[_0x26f8('0xa7')](_0x3b4663);}for(const _0x6e42d0 of _0x5ee005){const _0x5eae58=_0x20613b['insertions'][_0x6e42d0];for(const _0x4bd71d of _0x5eae58){const _0x53e022=this[_0x26f8('0x35')](_0x4bd71d),_0x2f982e=_0x4bd71d[_0x26f8('0x10')][_0x26f8('0x17')](_0x53e022);_0x467c10[_0x26f8('0xa7')](_0x2f982e),_0x2f982e>=this[_0x26f8('0x61')]&&_0x2db5c4[_0x26f8('0x5f')](_0x2f982e,_0x50dbcd[_0x26f8('0xcd')](_0x2f982e));}}for(const _0x5269da of _0x5ee005){const _0x1d10d1=_0x20613b['insertions'][_0x5269da],_0x122164=this[_0x26f8('0xb')](_0x20613b['deletions'][_0x5269da]);let _0x3f91f8=0x0;for(const _0x615dc of _0x1d10d1){const _0x318588=this[_0x26f8('0x35')](_0x615dc),_0x5d6019=_0x615dc[_0x26f8('0x10')][_0x26f8('0x17')](_0x318588);if(!_0x2db5c4[_0x26f8('0x3e')](_0x5d6019)&&!_0x29d93c['has'](_0x5d6019)){if(_0x467c10[_0x26f8('0x3e')](_0x5d6019))_0x3f91f8++;else{if(_0x5d6019!=_0x122164[_0x3f91f8]){const _0xf29466=_0x50dbcd[_0x26f8('0xcd')](_0x5d6019)||_0x50dbcd['get'](_0x122164[_0x3f91f8]);for(;_0x5d6019!=_0x122164[_0x3f91f8];)_0x467c10[_0x26f8('0x3e')](_0x122164[_0x3f91f8])||(_0x29d93c[_0x26f8('0x5f')](_0x122164[_0x3f91f8],_0xf29466),_0x50dbcd[_0x26f8('0x5f')](_0x122164[_0x3f91f8],_0xf29466)),_0x3f91f8++;}_0x3f91f8++;}}}}for(const _0x498c6b of _0x5ee005){const _0x19f01d=_0x20613b[_0x26f8('0xee')][_0x498c6b];for(const _0x2bc21a of _0x19f01d){const _0x73aebc=this[_0x26f8('0x35')](_0x2bc21a),_0x14860f=_0x2bc21a['item'][_0x26f8('0x17')](_0x73aebc);if(_0x29d93c[_0x26f8('0x3e')](_0x14860f)){const _0x3a8f07=_0x29d93c[_0x26f8('0xcd')](_0x14860f);_0x467c10[_0x26f8('0x3e')](_0x14860f)||_0x467c10[_0x26f8('0x5f')](_0x14860f,{..._0x3a8f07}),_0x2db5c4[_0x26f8('0x5f')](_0x14860f,{..._0x3a8f07});}}}for(const _0x16c684 of _0x467c10[_0x26f8('0xb1')]())_0x16c684>=this[_0x26f8('0x61')]&&_0x467c10[_0x26f8('0xa7')](_0x16c684);const _0x113aa6=new Map();for(const _0x733a08 of _0x5ee005){let _0x11179b=_0x20613b[_0x26f8('0xee')][_0x733a08];for(const _0x1a84bb of _0x11179b)if(_0x1a84bb[_0x26f8('0x10')]['is'](_0x26f8('0x50'),_0x26f8('0xce'))){const _0x4535fd=this[_0x26f8('0x35')](_0x1a84bb),_0x3026b9=_0x1a84bb[_0x26f8('0x10')][_0x26f8('0x17')](_0x4535fd);if(_0x2db5c4[_0x26f8('0x3e')](_0x3026b9)){const _0x4911ea=_0x1a84bb[_0x26f8('0x10')][_0x26f8('0x48')]['parent']['getAttribute'](_0x26f8('0x3c')),_0x344bcd=_0x113aa6['get'](_0x4911ea)||new Set();_0x344bcd[_0x26f8('0xda')](_0x2db5c4[_0x26f8('0xcd')](_0x3026b9)[_0x26f8('0xdf')]),_0x113aa6[_0x26f8('0x5f')](_0x4911ea,_0x344bcd);}}_0x11179b=_0x20613b[_0x26f8('0xff')][_0x733a08];for(const _0x209e1f of _0x11179b)if(_0x209e1f[_0x26f8('0x10')]['is'](_0x26f8('0x50'),_0x26f8('0xce'))){const _0x4adc8f=this['_getVidAttributeName'](_0x209e1f),_0x3f094e=_0x209e1f[_0x26f8('0x10')][_0x26f8('0x17')](_0x4adc8f);if(_0x467c10['has'](_0x3f094e)){const _0x6b8d1a=_0x209e1f[_0x26f8('0x10')]['parent'][_0x26f8('0x48')][_0x26f8('0x17')](_0x26f8('0x3c')),_0x4990b7=_0x113aa6[_0x26f8('0xcd')](_0x6b8d1a)||new Set();_0x4990b7[_0x26f8('0xda')](_0x467c10[_0x26f8('0xcd')](_0x3f094e)[_0x26f8('0xdf')]),_0x113aa6[_0x26f8('0x5f')](_0x6b8d1a,_0x4990b7);}}for(const _0x2f3683 of _0x113aa6[_0x26f8('0xb1')]())(_0x2db5c4['has'](_0x2f3683)||_0x467c10[_0x26f8('0x3e')](_0x2f3683))&&_0x113aa6[_0x26f8('0xa7')](_0x2f3683);}for(const _0x228967 of _0x5ee005){const _0x98427=_0x20613b[_0x26f8('0xee')][_0x228967];let _0x18a907=null,_0x1b8610=null;for(const _0x34a81e of _0x98427){const _0x3994f9=this[_0x26f8('0x35')](_0x34a81e),_0x545213=_0x34a81e[_0x26f8('0x10')]['getAttribute'](_0x3994f9),_0x4f9248=_0x113aa6[_0x26f8('0xcd')](_0x545213);_0x4f9248&&'elementStart'==_0x34a81e['type']&&(_0x18a907=Array[_0x26f8('0xc7')](_0x4f9248)[0x0],_0x1b8610=_0x34a81e[_0x26f8('0x10')][_0x26f8('0x17')](_0x26f8('0xcb'))),_0x18a907&&(_0x467c10[_0x26f8('0x5f')](_0x545213,{'userId':_0x18a907}),_0x2db5c4['set'](_0x545213,{'userId':_0x18a907})),_0x545213==_0x1b8610&&(_0x18a907=null,_0x1b8610=null);}}const _0x2ca90c={},_0x3e33dd=new Set();for(const _0x27a99a of _0x5ee005){const _0x2ca4ee=_0x5421b7[_0x26f8('0xff')][_0x27a99a],_0x4f1801=_0x5421b7['insertions'][_0x27a99a];for(const {userId:_0x4b183b}of this[_0x26f8('0x32')]['values']())null!==_0x4b183b&&_0x3e33dd[_0x26f8('0xda')](_0x4b183b);for(const {userId:_0x54396c}of this[_0x26f8('0xbc')]['values']())null!==_0x54396c&&_0x3e33dd[_0x26f8('0xda')](_0x54396c);this[_0x26f8('0xae')](_0x4f1801,_0x20613b[_0x26f8('0xee')][_0x27a99a],_0x2db5c4,'insertion',_0x3e33dd),this[_0x26f8('0xae')](_0x2ca4ee,_0x20613b[_0x26f8('0xff')][_0x27a99a],_0x467c10,_0x26f8('0x14'),_0x3e33dd),_0x2ca90c[_0x27a99a]={'insertions':this[_0x26f8('0xaf')](_0x4f1801),'deletions':this[_0x26f8('0xaf')](_0x2ca4ee),'attachChange':this[_0x26f8('0xbc')][_0x26f8('0xcd')](_0x27a99a)||null,'attributesBefore':_0x4a5491(this[_0x26f8('0x8a')]['get'](_0x27a99a))||{},'attributesAfter':_0x4a5491(this['_diffRootsAttributes']['get'](_0x27a99a))};}return{'diffData':_0x2ca90c,'authorsIds':Array[_0x26f8('0xc7')](_0x3e33dd)};}['_processRootBeforeSave'](_0x4704f3){for(const [,_0x281f37]of _0x4704f3[_0x26f8('0xc6')]){const _0x109ed7=_0x281f37[_0x26f8('0xd1')][_0x26f8('0xe7')]()['filter'](_0x473d18=>_0x26f8('0xce')==_0x473d18[_0x26f8('0x45')]);for(const _0x37f05a of _0x109ed7)0x1==_0x37f05a[_0x26f8('0x28')]&&_0x37f05a[_0x26f8('0xfe')](0x0)['is'](_0x26f8('0x50'),_0x26f8('0x7f'))&&_0x37f05a['getChild'](0x0)[_0x26f8('0x94')](_0x26f8('0xb8'),!0x0);}}[_0x26f8('0xaf')](_0x2f21a4){this[_0x26f8('0xc3')](_0x2f21a4);const _0x5005bd=this[_0x26f8('0x68')][_0x26f8('0xb9')]['toView'](_0x2f21a4,{}),_0x454238=Array[_0x26f8('0xc7')](_0x5005bd['getChildren']())[_0x26f8('0xa5')](_0x21c159=>this[_0x26f8('0xb3')](_0x21c159));return JSON[_0x26f8('0x37')](_0x454238);}[_0x26f8('0xb3')](_0x3fecf6){if(_0x3fecf6['is'](_0x26f8('0x88')))return _0x3fecf6[_0x26f8('0xb9')];{const _0x1370a3=_0x3fecf6;return{'type':Object[_0x26f8('0xb1')](B)['find'](_0x153251=>_0x3fecf6 instanceof B[_0x153251]),'name':_0x1370a3[_0x26f8('0x45')],'attributes':Array[_0x26f8('0xc7')](_0x1370a3[_0x26f8('0xe6')]()),'children':Array[_0x26f8('0xc7')](_0x1370a3['getChildren']())[_0x26f8('0xa5')](_0x501835=>this['_getViewJson'](_0x501835))};}}['_markChanges'](_0x37ab70,_0x5a0dcf,_0x44890d,_0x354e0b,_0x5c5643){let _0x272603=null,_0x4333ed=null,_0x2bdc9d=0x0;const _0x245532=this['editor'][_0x26f8('0x5c')];for(let _0x4bf33e=0x0;_0x4bf33e<_0x5a0dcf[_0x26f8('0xf2')];_0x4bf33e++){const _0x5b24fc=this[_0x26f8('0x35')](_0x5a0dcf[_0x4bf33e]),_0xc79b03=_0x5a0dcf[_0x4bf33e][_0x26f8('0x10')]['getAttribute'](_0x5b24fc),_0xdc26d5=_0x44890d[_0x26f8('0xcd')](_0xc79b03),_0x37683e=_0x4bf33e==_0x5a0dcf['length']-0x1;(!_0x272603&&_0xdc26d5&&(_0x272603=_0xdc26d5,_0x4333ed=_0x5a0dcf[_0x4bf33e]),_0x272603&&(!_0xdc26d5||_0xdc26d5[_0x26f8('0xdf')]!=_0x272603[_0x26f8('0xdf')]))&&(_0xc2212e(_0xdc26d5,L(_0x4333ed,_0x37ab70,_0x245532),L(_0x5a0dcf[_0x4bf33e],_0x37ab70,_0x245532)),_0x272603=_0xdc26d5||null,_0x4333ed=_0xdc26d5?_0x5a0dcf[_0x4bf33e]:null),_0x272603&&_0x37683e&&_0xc2212e(_0xdc26d5,L(_0x4333ed,_0x37ab70,_0x245532),W(_0x5a0dcf[_0x4bf33e],_0x37ab70,_0x245532));}function _0xc2212e(_0x190ae,_0x7d93e5,_0x39496a){const _0xcac5d=_0x272603['userId'],_0x102d57=_0x26f8('0xef')+_0x354e0b+':'+_0xcac5d+':'+_0x2bdc9d++,_0x26a9cb=_0x245532[_0x26f8('0xa0')](_0x7d93e5,_0x39496a);_0x37ab70[_0x26f8('0xc6')][_0x26f8('0x5f')](_0x102d57,_0x26a9cb),null!==_0xcac5d&&_0x5c5643[_0x26f8('0xda')](_0xcac5d);}}[_0x26f8('0x35')](_0x283bb1){switch(_0x283bb1['type']){case _0x26f8('0x57'):return _0x26f8('0x3c');case _0x26f8('0x79'):return _0x26f8('0xcb');default:return'vid';}}[_0x26f8('0x25')](_0x4d1fd2,_0x22157c){_0x4d1fd2['baseVersion']=null;for(const _0x5b6945 in _0x4d1fd2){const _0x1290d2=_0x4d1fd2[_0x5b6945];if(_0x1290d2 instanceof _0x3abbb1){const _0x58a102=_0x22157c[_0x26f8('0xcd')](_0x1290d2['root']['rootName']);_0x4d1fd2[_0x5b6945]=this[_0x26f8('0x89')](_0x1290d2,_0x58a102);}if(_0x1290d2 instanceof _0x21d564){const _0x36ea60=_0x22157c[_0x26f8('0xcd')](_0x1290d2[_0x26f8('0x76')]['rootName']);_0x4d1fd2[_0x5b6945]=this[_0x26f8('0x78')](_0x1290d2,_0x36ea60);}_0x26f8('0x76')===_0x5b6945&&(_0x4d1fd2['root']=_0x22157c[_0x26f8('0xcd')](_0x4d1fd2[_0x26f8('0x76')]['rootName']));}}[_0x26f8('0x78')](_0x3eb518,_0xbbb672){return this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0xa0')](this[_0x26f8('0x89')](_0x3eb518[_0x26f8('0xd1')],_0xbbb672),this[_0x26f8('0x89')](_0x3eb518[_0x26f8('0x23')],_0xbbb672));}[_0x26f8('0x89')](_0x9a3d41,_0xa28fdc){return this[_0x26f8('0x68')][_0x26f8('0x5c')][_0x26f8('0x55')](_0xa28fdc,_0x9a3d41[_0x26f8('0xc')],_0x9a3d41[_0x26f8('0xbd')]);}[_0x26f8('0x2f')](_0x4049b3){const _0x40dcbc=this['_idsRoots'][_0x26f8('0xcd')](_0x4049b3[_0x26f8('0x36')]['root'][_0x26f8('0x81')]),_0x56f962=this[_0x26f8('0x89')](_0x4049b3[_0x26f8('0x36')],_0x40dcbc),_0x1ca699=null===_0x4049b3[_0x26f8('0xc1')]?null:_0x4049b3[_0x26f8('0xc1')]||this['editor']['plugins']['get'](_0x26f8('0xe9'))['me']['id'],_0x45228c=_0x56f962['parent'],_0x1206e7=this[_0x26f8('0xa')],_0x44be2c=[];for(const _0x15929b of _0x4049b3[_0x26f8('0x71')])if(_0x15929b['is']('element'))_0x44be2c[_0x26f8('0xfb')](this[_0x26f8('0x52')](_0x15929b));else for(let _0xa5bd3e=0x0;_0xa5bd3e<_0x15929b['offsetSize'];_0xa5bd3e++)_0x44be2c['push'](new _0x3c4da8(_0x26f8('0x88'),{'vid':this[_0x26f8('0xa')]++}));const _0x29ffe2=this['_revisionId'];for(let _0x369186=_0x1206e7;_0x369186<_0x29ffe2;_0x369186++)this[_0x26f8('0xe2')][_0x26f8('0x5f')](_0x369186,{'userId':_0x1ca699});_0x45228c[_0x26f8('0xbb')](_0x56f962[_0x26f8('0xca')],_0x44be2c);}[_0x26f8('0xa2')](_0x2701df){(_0x2701df=this['_cloneOperation'](_0x2701df,this[_0x26f8('0xac')]))[_0x26f8('0x20')]();const _0xff095b=null===_0x2701df[_0x26f8('0xc1')]?null:_0x2701df[_0x26f8('0xc1')]||this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')](_0x26f8('0xe9'))['me']['id'],_0x26fe3e=_0x2701df[_0x26f8('0x60')](),_0x2fe05b=_0x26fe3e['parent'],_0x2de02a=_0x26fe3e['offset'];!function _0x5ea9fd(_0x162da3,_0x5d8266,_0x2e51b4,_0x4239a6){for(let _0x60f781=_0x2e51b4;_0x60f781<_0x4239a6;_0x60f781++){const _0x35a8d4=_0x5d8266[_0x26f8('0xfe')](_0x60f781);_0x35a8d4['is'](_0x26f8('0x50'),_0x26f8('0x88'))?_0x162da3[_0x26f8('0x5f')](_0x35a8d4[_0x26f8('0x17')](_0x26f8('0x7')),{'userId':_0xff095b}):(_0x162da3[_0x26f8('0x5f')](_0x35a8d4[_0x26f8('0x17')]('vid_start'),{'userId':_0xff095b}),_0x5ea9fd(_0x162da3,_0x35a8d4,0x0,_0x35a8d4['childCount']),_0x162da3[_0x26f8('0x5f')](_0x35a8d4[_0x26f8('0x17')]('vid_end'),{'userId':_0xff095b}));}}(this[_0x26f8('0xe2')],_0x2fe05b,_0x2de02a,_0x2de02a+_0x2701df['howMany']);}[_0x26f8('0xd')](_0x3991cf){const _0x4ffc45=null===(_0x3991cf=this[_0x26f8('0xd7')](_0x3991cf,this[_0x26f8('0xac')]))[_0x26f8('0xc1')]?null:_0x3991cf[_0x26f8('0xc1')]||this[_0x26f8('0x68')][_0x26f8('0xea')]['get']('Users')['me']['id'],_0x2ced6f=_0x3991cf[_0x26f8('0x5')][_0x26f8('0x48')],_0x478771=_0x3991cf['sourcePosition'][_0x26f8('0x48')],_0x2d1a82=_0x2ced6f[_0x26f8('0x17')]('vid_end'),_0x2fe000=_0x478771['getAttribute'](_0x26f8('0x3c'));_0x2ced6f[_0x26f8('0x94')]('vid_end',_0x478771['getAttribute'](_0x26f8('0xcb'))),_0x478771[_0x26f8('0x94')](_0x26f8('0xcb'),_0x2d1a82),this[_0x26f8('0xe2')]['set'](_0x2fe000,{'userId':_0x4ffc45}),this[_0x26f8('0xe2')]['set'](_0x2d1a82,{'userId':_0x4ffc45}),_0x3991cf[_0x26f8('0x20')]();}['_handleSplitOperation'](_0xaafaca){const _0x41f3f9=null===(_0xaafaca=this[_0x26f8('0xd7')](_0xaafaca,this[_0x26f8('0xac')]))['_authorId']?null:_0xaafaca['_authorId']||this[_0x26f8('0x68')]['plugins'][_0x26f8('0xcd')](_0x26f8('0xe9'))['me']['id'],_0x1e64d6=_0xaafaca[_0x26f8('0x29')],_0x775ee=_0xaafaca[_0x26f8('0x3a')][_0x26f8('0x48')];_0xaafaca[_0x26f8('0x20')]();const _0x95469b=_0x775ee['getAttribute'](_0x26f8('0xcb')),_0x58e53c=_0xaafaca['insertionPosition']['nodeAfter'];if(_0x1e64d6){const _0x44ea5a=_0x58e53c['getAttribute']('vid_end'),_0x42c6a5=_0x775ee[_0x26f8('0x17')](_0x26f8('0xcb'));_0x775ee[_0x26f8('0x94')](_0x26f8('0xcb'),_0x44ea5a),_0x58e53c[_0x26f8('0x94')](_0x26f8('0xcb'),_0x42c6a5),this['_touched'][_0x26f8('0x5f')](_0x775ee[_0x26f8('0x17')](_0x26f8('0xcb')),{'userId':_0x41f3f9}),this['_touched'][_0x26f8('0x5f')](_0x58e53c['getAttribute'](_0x26f8('0x3c')),{'userId':_0x41f3f9});}else{const _0x18ed13=this[_0x26f8('0xa')]++,_0x168236=this[_0x26f8('0xa')]++;_0x775ee[_0x26f8('0x94')](_0x26f8('0xcb'),_0x18ed13),_0x58e53c[_0x26f8('0x94')](_0x26f8('0x3c'),_0x168236),_0x58e53c[_0x26f8('0x94')](_0x26f8('0xcb'),_0x95469b),this[_0x26f8('0xe2')][_0x26f8('0x5f')](_0x18ed13,{'userId':_0x41f3f9}),this['_touched']['set'](_0x168236,{'userId':_0x41f3f9});}}[_0x26f8('0xfa')](_0x227289){if(!_0x227289[_0x26f8('0x1e')])return;const _0x3c9b65=(_0x227289=this[_0x26f8('0xd7')](_0x227289,this[_0x26f8('0xf7')]))[_0x26f8('0x39')]?_0x227289['oldRange'][_0x26f8('0x76')]:null,_0x5c30b4=_0x227289[_0x26f8('0x4b')]?_0x227289['newRange'][_0x26f8('0x76')]:null;_0x3c9b65&&this[_0x26f8('0x33')][_0x26f8('0xa7')](_0x227289[_0x26f8('0x45')]),_0x5c30b4&&this[_0x26f8('0x33')]['set'](_0x227289[_0x26f8('0x45')],_0x227289[_0x26f8('0x4b')][_0x26f8('0x62')]());const _0x42118b=null===_0x227289[_0x26f8('0xc1')]?null:_0x227289[_0x26f8('0xc1')]||this[_0x26f8('0x68')][_0x26f8('0xea')]['get'](_0x26f8('0xe9'))['me']['id'],_0x216cbf=_0x227289['name'];if(!this[_0x26f8('0x32')][_0x26f8('0x3e')](_0x216cbf))return void this[_0x26f8('0x32')][_0x26f8('0x5f')](_0x216cbf,{'range':_0x227289[_0x26f8('0x39')],'userId':_0x42118b});const _0x37e736=this[_0x26f8('0x32')]['get'](_0x216cbf),_0x5958de=_0x37e736[_0x26f8('0x74')],_0x5ac550=_0x227289[_0x26f8('0x4b')];null==_0x5958de&&null==_0x5ac550||_0x5958de&&_0x5ac550&&_0x5958de[_0x26f8('0x6b')](_0x5ac550)?this[_0x26f8('0x32')]['delete'](_0x227289[_0x26f8('0x45')]):_0x37e736[_0x26f8('0xdf')]=_0x42118b;}[_0x26f8('0x19')](_0x53ca59,_0x2594f4){this[_0x26f8('0xf7')][_0x26f8('0x3e')](_0x53ca59['rootName'])?this[_0x26f8('0xf7')]['get'](_0x53ca59[_0x26f8('0x81')])[_0x26f8('0xa9')]=_0x53ca59[_0x26f8('0x73')]:(this[_0x26f8('0xf7')]['set'](_0x53ca59['rootName'],G(_0x53ca59[_0x26f8('0x81')],!0x0)),this[_0x26f8('0xad')][_0x26f8('0x5f')](_0x53ca59['rootName'],{}),_0x2594f4&&this['_idsRoots']['set'](_0x53ca59[_0x26f8('0x81')],G(_0x53ca59[_0x26f8('0x81')],!0x0)));const _0x47a5b9=null===_0x53ca59[_0x26f8('0xc1')]?null:_0x53ca59[_0x26f8('0xc1')]||this[_0x26f8('0x68')][_0x26f8('0xea')][_0x26f8('0xcd')](_0x26f8('0xe9'))['me']['id'],_0x2d9756=this[_0x26f8('0xbc')][_0x26f8('0xcd')](_0x53ca59['rootName']);_0x2d9756&&_0x2d9756[_0x26f8('0xdf')]===_0x47a5b9?this[_0x26f8('0xbc')][_0x26f8('0xa7')](_0x53ca59[_0x26f8('0x81')]):this[_0x26f8('0xbc')][_0x26f8('0x5f')](_0x53ca59[_0x26f8('0x81')],{'userId':_0x47a5b9,'isAttached':_0x53ca59['isAdd']});}[_0x26f8('0x9d')](_0x3601c7){const _0x37873d=this['_diffRootsAttributes'][_0x26f8('0xcd')](_0x3601c7['root'][_0x26f8('0x81')]);null===_0x3601c7[_0x26f8('0x5d')]?delete _0x37873d[_0x3601c7[_0x26f8('0x8c')]]:_0x37873d[_0x3601c7['key']]=_0x3601c7[_0x26f8('0x5d')];}}function q(_0x5a3ac8){const _0x3ada93=G(_0x5a3ac8[_0x26f8('0x81')],_0x5a3ac8[_0x26f8('0x12')]());for(const _0x3c6edd of _0x5a3ac8[_0x26f8('0x59')]()){const _0x4770e7=_0x3c6edd[_0x26f8('0x84')](!0x0);_0x3ada93['_appendChild'](_0x4770e7);}return _0x3ada93;}function G(_0x5d9997,_0x16699d=!0x0){const _0x34f58b=new _0x3f71a6();return _0x34f58b[_0x26f8('0x81')]=_0x5d9997,_0x34f58b['_isAttached']=_0x16699d,_0x34f58b['isAttached']=()=>_0x34f58b['_isAttached'],_0x34f58b;}function L(_0x2421a1,_0x47e7e4,_0x1cd638){const _0x87e5cc='elementEnd'==_0x2421a1[_0x26f8('0x6e')]?_0x1cd638[_0x26f8('0x40')](_0x2421a1['item'],_0x26f8('0x23')):_0x1cd638[_0x26f8('0xb2')](_0x2421a1[_0x26f8('0x10')]);return _0x1cd638['createPositionFromPath'](_0x47e7e4,_0x87e5cc['path'],_0x87e5cc['stickiness']);}function W(_0x8cd16f,_0x3db2c4,_0x2fa952){const _0x258b15=_0x26f8('0x57')==_0x8cd16f[_0x26f8('0x6e')]?_0x2fa952[_0x26f8('0x40')](_0x8cd16f[_0x26f8('0x10')],0x0):_0x2fa952['createPositionAfter'](_0x8cd16f[_0x26f8('0x10')]);return _0x2fa952[_0x26f8('0x55')](_0x3db2c4,_0x258b15['path'],_0x258b15[_0x26f8('0xbd')]);}
|
|
23
|
+
const _0x54c2=['_handleOperation','insert','diffData','_getPreviousFrom','_generateTape','_source','view','getNodeByPath','toModel','graveyardPosition','_insertChild','delete','_getViewJson','startsWith','getAttribute','hasContent','stringify','isAttached','_initialRevisionId','reinsert','clear','config','_execute','slice','_bufferUpdate','dataDowncast','updateRevisions','end','remove','tableCell','type','filter','requires','isReady','_getVidAttributeName','version','createPositionAt','_getBaseVids','_isPendingUpdate','set','createRangeIn','getData','_handleRootAttributeOperation','$text','detachRoot','keys','getRevision','fromEntries','getChildren','_loadedStateData','string','rootsAttributes','PendingActions','_removePendingAction','source','userId','markers','revision:','_calculateMetaData','_touched','_lastTo','_idsRoots','addRevisionData','revision-start','newRange','ready','getRevisionRootsAttributes','_bufferedUpdates','_diffRootsAttributes','stickiness','affectsData','has','processor','_fixRange','_revisionId','parse','_authorId','then','_removeRevisionMarkers','plugins','size','revision','useFillerType','push','_processRootBeforeSave','offset','range','documentFragment','attributesAfter','_cloneOperation','update','getRevisions','_lastFrom','getRootNames','vid_end','_saveMetaData','vid','insertions','move','pluginName','childCount','getRoot','text','getOperations','removeRootAttribute','position','reInit','conversion','adapter','find','_getState','Users','_createInitialRevision','_handleMergeOperation','_clone','map','toView','fromVersion','elementEnd','_copyMarkers','_makeModelFromViewString','Empty\x20document','_isAttached','history','_loadRevisionData','getChild','some','path','createPositionFromPath','_handleSplitOperation','createdAt','keepParagraph','createPositionAfter','setRevisionData','getIndex','getAttributes','authorsIds','collaboration.channelId','_findInsertionIndex','getAncestors','attachChange','_baseRootsAttributes','targetPosition','_handleMarkerOperation','insertion','_continueCurrentRevision','offsetSize','_transformMarkers','_reset','nodeAfter','getUser','_startingRevisionId','add','insertionPosition','getRange','sourcePosition','finally','toVersion','clone','_prepareViewToSave','from','getTransformedByOperation','name','data-revision-','_markers','_baseIdsRoots','getRevisionDocumentData','_addPendingAction','isEqual','trim','_touchedRoots','sort','_setAttribute','key','RevisionTracker','deletion','initialData','for','model','start','split','_createFromRanges','_revisionDataBuilder','editor-initial-data-replaced-with-revision-data','resolve','element','getTime','_savedMetaData','reverse','getLatestVersion','children','getMovedRangeStart','getCurrentRevisionId','howMany','createRange','document','_applyOperations','_fixPosition','vid_start','_markChanges','creatorId','creator','_appendChild','_handleRootOperation','revision-end','item','_pendingAction','data','_removeMetaData','_update','NEGATIVE_INFINITY','RevisionsRepository','_getFromVersion','_makeIdsRoot','RealTimeCollaborationClient','_makeRevision','init','splitPosition','addRoot','addRevision','_diffRoots','authors','previousPosition','currentRevision','marked','editing','_startingVersion','dataToMarker','_fixOperation','addRootAttribute','_loadState','isAdd','forEach','buildRevisionData','changeRootAttribute','attributesBefore','oldRange','newValue','values','rootName','setSource','marker','locale','isEnabled','bind','elementStart','_baseRoots','length','includes','_handleMoveOperation','parent','afterInit','initial','getWalker','sendBufferedUpdates','attributes','deletions','_createCurrentRevision','editor','get','loadState','_touchedMarkers','repository','_replaceEditorDataWithRevisionData','shift','root','nodes','$graveyard','getOperation','default'];(function(_0x5d9991,_0x54c261){const _0x3ea027=function(_0x4cc9ff){while(--_0x4cc9ff){_0x5d9991['push'](_0x5d9991['shift']());}};_0x3ea027(++_0x54c261);}(_0x54c2,0x1ed));const _0x3ea0=function(_0x5d9991,_0x54c261){_0x5d9991=_0x5d9991-0x0;let _0x3ea027=_0x54c2[_0x5d9991];return _0x3ea027;};import{Users as _0x28f298}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x4e2491,PendingActions as _0x260878}from'ckeditor5/src/core.js';import{logWarning as _0x394669,uid as _0x3ad9f2}from'ckeditor5/src/utils.js';import{Position as _0x225847,Range as _0x1849d3,Element as _0x49bd18,DocumentFragment as _0x3059ca,ViewText as _0x43b77a,ViewElement as _0x40e0fb,ViewContainerElement as _0x46682f,ViewAttributeElement as _0x1655d6,ViewEmptyElement as _0x16f91b,ViewRawElement as _0x234676,ViewUIElement as _0x1435d9,ViewDocumentFragment as _0x17d2c6}from'ckeditor5/src/engine.js';import _0x1cc96d from'./revisionsrepository.js';import{getTranslation as _0x4d0da0}from'./utils/common-translations.js';import{cloneDeep as _0x3073de,isEqual as _0x315594}from'lodash-es';const B={'c':_0x46682f,'a':_0x1655d6,'e':_0x16f91b,'r':_0x234676,'u':_0x1435d9};export default class l extends _0x4e2491{static get[_0x3ea0('0x92')](){return _0x3ea0('0xdd');}static get[_0x3ea0('0x4f')](){return[_0x28f298,_0x1cc96d,_0x260878];}constructor(_0x32953a){super(_0x32953a),this['adapter']=null,this[_0x3ea0('0x0')]=null,this[_0x3ea0('0xe5')]=new H(this[_0x3ea0('0x23')]),this[_0x3ea0('0x41')]=this[_0x3ea0('0x23')][_0x3ea0('0x44')][_0x3ea0('0x24')](_0x3ea0('0xb8'))||_0x3ea0('0x1d'),this[_0x3ea0('0x72')]=new Map(),this[_0x3ea0('0x60')]=null;const _0x45c51b=_0x3ad9f2();this[_0x3ea0('0x34')]={'history':this['editor'][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0xaa')],'getLatestVersion':()=>Promise['resolve'](this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0x52')]),'getCurrentRevisionId':()=>_0x45c51b},this[_0x3ea0('0x56')](_0x3ea0('0x50'),!0x1),this[_0x3ea0('0x56')](_0x3ea0('0x14'),!0x0),this[_0x3ea0('0x56')]('_isPendingUpdate',!0x1),this[_0x3ea0('0x23')][_0x3ea0('0x44')]['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor'][_0x3ea0('0x9a')]['for']('upcast')[_0x3ea0('0x4')]({'view':_0x3ea0('0x80')});}[_0x3ea0('0x107')](){this[_0x3ea0('0x27')]=this['editor'][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x102')),this['_setConversion'](),this['editor'][_0x3ea0('0xfe')]['on'](_0x3ea0('0x70'),()=>{const _0x125b92=this[_0x3ea0('0x27')]['getRevision'](0x0),_0x5864a4=_0x125b92&&null===_0x125b92['creator']?_0x125b92:null;if(this[_0x3ea0('0xc0')]=!!_0x5864a4&&this['editor'][_0x3ea0('0x44')][_0x3ea0('0x24')]('revisionHistory.resumeUnsavedRevision'),this['editor'][_0x3ea0('0x7e')]['has'](_0x3ea0('0x105'))){const _0x48cf31=this[_0x3ea0('0x34')][_0x3ea0('0xef')](),_0x111ba6=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](_0x48cf31);if(_0x111ba6)this[_0x3ea0('0x3')]=_0x111ba6[_0x3ea0('0xa4')],this[_0x3ea0('0xc0')]=!0x1;else{const _0x176c2f=this[_0x3ea0('0x34')][_0x3ea0('0xaa')]['_operations']['find'](_0x1b3c89=>!_0x1b3c89['_isInit']),_0x3ed2da=_0x176c2f?_0x176c2f['baseVersion']:this['_source'][_0x3ea0('0xaa')][_0x3ea0('0x52')];_0x125b92?(_0x125b92[_0x3ea0('0xcc')]<_0x3ed2da&&_0x125b92[_0x3ea0('0x100')]({'toVersion':_0x3ed2da}),this['_continueCurrentRevision']?(this[_0x3ea0('0x34')][_0x3ea0('0xef')]=()=>_0x5864a4['id'],this[_0x3ea0('0x3')]=_0x5864a4[_0x3ea0('0xa4')]):(this[_0x3ea0('0x3')]=_0x125b92['toVersion'],this[_0x3ea0('0xc0')]=!0x1)):(this['_startingVersion']=_0x3ed2da,this['_continueCurrentRevision']=!0x1);}}else _0x5864a4&&(this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0xaa')]['version']=Math['max'](_0x5864a4[_0x3ea0('0xcc')],this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0xaa')]['version']),_0x5864a4[_0x3ea0('0xa4')]===_0x5864a4[_0x3ea0('0xcc')]?(0x0!==_0x5864a4[_0x3ea0('0xa4')]&&(this[_0x3ea0('0x34')]['getCurrentRevisionId']=()=>_0x5864a4['id']),this['_continueCurrentRevision']=!0x1):this[_0x3ea0('0xc0')]&&(this[_0x3ea0('0x34')][_0x3ea0('0xef')]=()=>_0x5864a4['id'],this[_0x3ea0('0x3')]=_0x5864a4[_0x3ea0('0xa4')])),this['_continueCurrentRevision']||(this[_0x3ea0('0x3')]=this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0x52')]);this[_0x3ea0('0xe5')][_0x3ea0('0x107')](this[_0x3ea0('0x34')][_0x3ea0('0xaa')]),this['_createInitialRevision'](this[_0x3ea0('0x3')]),this[_0x3ea0('0x22')](this['_startingVersion']),this[_0x3ea0('0x9b')]&&this[_0x3ea0('0x1f')]();}),this[_0x3ea0('0x15')]('isReady')['to'](this,_0x3ea0('0x55'),_0x56557f=>!_0x56557f);}async[_0x3ea0('0x1c')](){if(this[_0x3ea0('0x27')][_0x3ea0('0x18')]>0x0){const _0x9183ea=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](0x0),_0x1498a5=await this[_0x3ea0('0xd5')](_0x9183ea),_0x4ca3b0=await this['getRevisionRootsAttributes'](_0x9183ea);this['_replaceEditorDataWithRevisionData'](_0x1498a5,_0x4ca3b0);}}[_0x3ea0('0x11')](_0xa5f8b5){this[_0x3ea0('0x34')]=_0xa5f8b5;}async[_0x3ea0('0x89')](){const _0x338f07=await this['_source'][_0x3ea0('0xec')]();if(_0x338f07>this['currentRevision'][_0x3ea0('0xcc')]){await this[_0x3ea0('0x7')]();const _0x576599=this[_0x3ea0('0xa')]({'revision':this[_0x3ea0('0x0')],'to':_0x338f07});_0x576599[_0x3ea0('0x10c')]=_0x576599[_0x3ea0('0xb7')][_0x3ea0('0xa2')](_0x3d7002=>this[_0x3ea0('0x23')]['plugins'][_0x3ea0('0x24')](_0x3ea0('0x9e'))[_0x3ea0('0xc5')](_0x3d7002)),this[_0x3ea0('0x0')][_0x3ea0('0x100')](_0x576599);}}async[_0x3ea0('0x7')](){this[_0x3ea0('0xc0')]&&!this['_loadedStateData']&&(await this[_0x3ea0('0xab')](this[_0x3ea0('0x0')]),this[_0x3ea0('0xe5')][_0x3ea0('0x25')](this[_0x3ea0('0x0')]),this[_0x3ea0('0x60')]={'fromVersion':this['currentRevision'][_0x3ea0('0xa4')],'authors':this['currentRevision'][_0x3ea0('0x10c')][_0x3ea0('0x46')]()});}async['saveRevision'](_0x106b79={},_0x48d063=null){const _0x23e1dd=[];await this['_loadState'](),this[_0x3ea0('0xc0')]=!0x1,_0x48d063>this[_0x3ea0('0x0')][_0x3ea0('0xcc')]&&(_0x48d063=null),null===_0x48d063&&(_0x48d063=await this[_0x3ea0('0x34')][_0x3ea0('0xec')]());const _0x25b548=this[_0x3ea0('0x103')](_0x48d063),_0x3bceb9=this[_0x3ea0('0xa')]({'from':_0x25b548,'to':_0x48d063});if(this[_0x3ea0('0x0')][_0x3ea0('0xcc')]<_0x48d063){const _0x63a40=this[_0x3ea0('0xa')]({'revision':this[_0x3ea0('0x0')],'from':_0x48d063,'to':_0x48d063});_0x63a40[_0x3ea0('0x10c')]=[],_0x63a40[_0x3ea0('0xb7')]=[],_0x63a40['id']=this[_0x3ea0('0x0')]['id'],this[_0x3ea0('0x0')][_0x3ea0('0x100')](_0x63a40,!0x0),delete _0x63a40[_0x3ea0('0x10c')],_0x23e1dd[_0x3ea0('0x82')](_0x63a40);}_0x106b79['creatorId']=this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x106b79[_0x3ea0('0xd1')]=_0x106b79[_0x3ea0('0xd1')]||null,_0x106b79['id']=_0x106b79['id']||_0x3ad9f2(),_0x106b79={..._0x106b79,..._0x3bceb9};const _0x4fad21=this['addRevisionData'](_0x106b79);_0x23e1dd['push'](_0x106b79);const _0x5265b9=this[_0x3ea0('0x27')][_0x3ea0('0xb5')](_0x4fad21);if(0x0!==_0x5265b9){const _0x122d42=this[_0x3ea0('0x27')]['getRevision'](_0x5265b9-0x1);if(_0x122d42[_0x3ea0('0xa4')]!==_0x48d063){const _0x1eb99a=this['_revisionDataBuilder'][_0x3ea0('0x58')](_0x48d063,_0x122d42[_0x3ea0('0xcc')]),_0x361197={'id':_0x122d42['id'],'diffData':_0x1eb99a[_0x3ea0('0x31')],'authorsIds':_0x1eb99a[_0x3ea0('0xb7')],'authors':_0x1eb99a[_0x3ea0('0xb7')][_0x3ea0('0xa2')](_0x495e61=>this[_0x3ea0('0x23')][_0x3ea0('0x7e')]['get'](_0x3ea0('0x9e'))[_0x3ea0('0xc5')](_0x495e61)),'fromVersion':_0x48d063};_0x122d42===this[_0x3ea0('0x0')]&&(_0x361197[_0x3ea0('0xb1')]=new Date(_0x106b79[_0x3ea0('0xb1')][_0x3ea0('0xe9')]()+0xa)),_0x122d42[_0x3ea0('0x100')](_0x361197,!0x0),delete _0x361197['authors'],_0x23e1dd[_0x3ea0('0x82')](_0x361197);}}if(this[_0x3ea0('0x9b')]){for(const _0x5d6a9f of _0x23e1dd)this[_0x3ea0('0x47')](_0x5d6a9f['id'],_0x5d6a9f,!0x0);this[_0x3ea0('0x1f')]();}return _0x4fad21;}['addRevisionData'](_0x11bf3f){const _0xaf4114=this[_0x3ea0('0x27')]['createRevision'](_0x11bf3f);return this[_0x3ea0('0x9b')]&&_0xaf4114['on'](_0x3ea0('0x100'),(_0x565b99,_0x554dde,_0x175e47)=>{_0x175e47||(this['_bufferUpdate'](_0x554dde['id'],_0x554dde,!0x0),this[_0x3ea0('0x1f')]());}),this[_0x3ea0('0x27')][_0x3ea0('0x10a')](_0xaf4114,this[_0x3ea0('0xb9')](_0xaf4114)),_0xaf4114;}async[_0x3ea0('0xd5')](_0x12e82f){await this[_0x3ea0('0xab')](_0x12e82f);const _0x1b1485={};for(const _0x195a08 in _0x12e82f[_0x3ea0('0x31')]){if(_0x12e82f[_0x3ea0('0x31')][_0x195a08][_0x3ea0('0xbb')]&&!_0x12e82f[_0x3ea0('0x31')][_0x195a08][_0x3ea0('0xbb')][_0x3ea0('0x40')])continue;const _0x4e021a=this[_0x3ea0('0x7d')](JSON[_0x3ea0('0x7a')](_0x12e82f[_0x3ea0('0x31')][_0x195a08]['insertions'])),_0x14bcb8=this[_0x3ea0('0x23')][_0x3ea0('0x2')]['view']['document'],_0x16b418=new _0x17d2c6(_0x14bcb8,_0x4e021a[_0x3ea0('0xa2')](_0x36ef9d=>J(_0x36ef9d,this[_0x3ea0('0x23')])));this[_0x3ea0('0x23')]['data'][_0x3ea0('0x77')]['useFillerType'](_0x3ea0('0x1')),_0x1b1485[_0x195a08]=this[_0x3ea0('0x23')][_0x3ea0('0xfe')][_0x3ea0('0x77')]['toData'](_0x16b418),this[_0x3ea0('0x23')][_0x3ea0('0xfe')][_0x3ea0('0x77')][_0x3ea0('0x81')](_0x3ea0('0x2e'));}return _0x1b1485;}async[_0x3ea0('0x71')](_0x211421){await this[_0x3ea0('0xab')](_0x211421);const _0x23177e={};for(const _0x52933c in _0x211421[_0x3ea0('0x31')])_0x211421[_0x3ea0('0x31')][_0x52933c][_0x3ea0('0xbb')]&&!_0x211421[_0x3ea0('0x31')][_0x52933c][_0x3ea0('0xbb')]['isAttached']||(_0x23177e[_0x52933c]=_0x211421[_0x3ea0('0x31')][_0x52933c][_0x3ea0('0x87')]||{});return _0x23177e;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates'][_0x3ea0('0x7f')])return;if(this[_0x3ea0('0x55')])return;let _0x1660af=Array[_0x3ea0('0xcf')](this[_0x3ea0('0x72')]['values']());this[_0x3ea0('0x72')][_0x3ea0('0x43')]();for(let _0x1ac3a0=0x0;_0x1ac3a0<_0x1660af[_0x3ea0('0x18')];_0x1ac3a0++){const _0xc73ce7=_0x1660af[_0x1ac3a0];let _0xc5cd7e=!0x1;for(const _0x132043 of Object['keys'](_0xc73ce7))void 0x0===_0xc73ce7[_0x132043]?delete _0xc73ce7[_0x132043]:'id'!==_0x132043&&(_0xc5cd7e=!0x0);_0xc5cd7e||(_0x1660af[_0x1ac3a0]=null);}if(_0x1660af=_0x1660af[_0x3ea0('0x4e')](_0x542db5=>null!==_0x542db5),!_0x1660af[_0x3ea0('0x18')])return;for(let _0x406be0=0x0;_0x406be0<_0x1660af['length'];_0x406be0++){const _0x40a2f0=_0x1660af[_0x406be0];void 0x0!==_0x40a2f0[_0x3ea0('0xa4')]&&void 0x0===_0x40a2f0['toVersion']&&(_0x40a2f0[_0x3ea0('0xcc')]=this['repository'][_0x3ea0('0x5d')](_0x40a2f0['id'])['toVersion']),void 0x0!==_0x40a2f0[_0x3ea0('0xcc')]&&void 0x0===_0x40a2f0[_0x3ea0('0xa4')]&&(_0x40a2f0['fromVersion']=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](_0x40a2f0['id'])[_0x3ea0('0xa4')]);}const _0x3bed4a=this[_0x3ea0('0x23')][_0x3ea0('0x44')][_0x3ea0('0x24')]('collaboration.channelId');this[_0x3ea0('0x55')]=!0x0,this[_0x3ea0('0xd6')](),this[_0x3ea0('0x9b')][_0x3ea0('0x49')](_0x1660af,_0x3bed4a)[_0x3ea0('0xcb')](()=>{this[_0x3ea0('0x55')]=!0x1;})[_0x3ea0('0x7c')](_0x75a115=>{if(_0x75a115)for(const _0xb7325c of _0x75a115)this[_0x3ea0('0xb4')]({'id':_0xb7325c['id'],'createdAt':_0xb7325c['createdAt']});this[_0x3ea0('0x64')](),this[_0x3ea0('0x1f')]();});}[_0x3ea0('0x28')](_0x286e36,_0x37c269){let _0x322bc8=this['editor']['config'][_0x3ea0('0x24')](_0x3ea0('0xdf')),_0x10756a=this[_0x3ea0('0x23')][_0x3ea0('0x44')]['get'](_0x3ea0('0x62'));if(void 0x0===_0x322bc8){_0x322bc8={};for(const _0x1ed7b5 of this['editor']['model'][_0x3ea0('0xf2')][_0x3ea0('0x8c')]())_0x322bc8[_0x1ed7b5]='';}if(_0x3ea0('0x61')==typeof _0x322bc8&&(_0x322bc8={'main':_0x322bc8}),void 0x0===_0x10756a){_0x10756a={};for(const _0x107991 of this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')]['getRootNames']())_0x10756a[_0x107991]={};}let _0x442fdf=!0x1;const _0x4bf950=Object['keys'](_0x322bc8),_0x13c448=Object['keys'](_0x286e36);for(const _0x190517 of _0x4bf950){if(_0x322bc8[_0x190517]!==_0x286e36[_0x190517]&&''!==_0x322bc8[_0x190517][_0x3ea0('0xd8')]()){_0x442fdf=!0x0;break;}if(!_0x315594(_0x10756a[_0x190517],_0x37c269[_0x190517])&&Object[_0x3ea0('0x5c')](_0x10756a[_0x190517])['length']>0x0){_0x442fdf=!0x0;break;}}_0x442fdf||(_0x442fdf=_0x13c448[_0x3ea0('0xad')](_0x39c382=>!this['editor'][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0x94')](_0x39c382))),_0x442fdf&&_0x394669(_0x3ea0('0xe6'),{'editorData':_0x322bc8,'editorRootsAttributes':_0x10756a,'revisionData':_0x286e36,'revisionRootsAttributes':_0x37c269}),this[_0x3ea0('0x23')][_0x3ea0('0x44')][_0x3ea0('0x56')](_0x3ea0('0xdf'),_0x286e36),this[_0x3ea0('0x23')][_0x3ea0('0x44')]['set'](_0x3ea0('0x62'),_0x37c269);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x53746f=this['editor'][_0x3ea0('0x7e')]['get'](_0x3ea0('0x63'));this['_pendingAction']=_0x53746f[_0x3ea0('0xc7')](_0x4d0da0(this[_0x3ea0('0x23')][_0x3ea0('0x13')],'PENDING_ACTION_REVISION_HISTORY'));}}[_0x3ea0('0x64')](){this[_0x3ea0('0xfd')]&&(this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x63'))[_0x3ea0('0x4b')](this['_pendingAction']),this[_0x3ea0('0xfd')]=null);}[_0x3ea0('0xb9')](_0x3f643e){const _0x454130=this[_0x3ea0('0x27')][_0x3ea0('0x8a')]();_0x454130[_0x3ea0('0xeb')]();let _0x13eaf6=0x0;for(;_0x13eaf6<_0x454130[_0x3ea0('0x18')];){const _0x5e6604=_0x454130[_0x13eaf6];if(_0x5e6604===this[_0x3ea0('0x0')]){_0x13eaf6++;continue;}if(_0x5e6604['id']===this['_initialRevisionId'])break;const _0x4fba51=_0x3f643e[_0x3ea0('0xcc')]-_0x5e6604[_0x3ea0('0xcc')]||_0x3f643e['fromVersion']-_0x5e6604[_0x3ea0('0xa4')];if(_0x4fba51>0x0)break;if(_0x4fba51<0x0)_0x13eaf6++;else{if(!_0x3f643e[_0x3ea0('0xf8')]&&_0x5e6604[_0x3ea0('0xf8')])break;if(_0x5e6604['creator']||!_0x3f643e[_0x3ea0('0xf8')]){if(_0x3f643e[_0x3ea0('0xb1')]>_0x5e6604[_0x3ea0('0xb1')])break;_0x13eaf6++;}else _0x13eaf6++;}}return _0x13eaf6;}['setRevisionData'](_0x17569a){const _0x29c1be=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](_0x17569a['id']);if(_0x17569a[_0x3ea0('0xb1')]&&(_0x17569a['createdAt']=new Date(_0x17569a[_0x3ea0('0xb1')])),_0x17569a[_0x3ea0('0xb7')]){const _0x4ad8c7=this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'));_0x17569a['authors']=_0x17569a[_0x3ea0('0xb7')][_0x3ea0('0xa2')](_0x1fe8e0=>_0x4ad8c7[_0x3ea0('0xc5')](_0x1fe8e0));}_0x29c1be[_0x3ea0('0x100')](_0x17569a,!0x0);}[_0x3ea0('0xa')]({revision:_0x55281f=null,from:_0x270c00=null,to:_0x3917d1=null}){_0x270c00=null!==_0x270c00?_0x270c00:_0x55281f[_0x3ea0('0xa4')],_0x3917d1=null!==_0x3917d1?_0x3917d1:_0x55281f[_0x3ea0('0xcc')];const _0xe3772d=this[_0x3ea0('0xe5')][_0x3ea0('0x58')](_0x270c00,_0x3917d1),_0x242ad8={'diffData':_0xe3772d[_0x3ea0('0x31')],'authorsIds':_0xe3772d[_0x3ea0('0xb7')],'fromVersion':_0x270c00,'toVersion':_0x3917d1};if(!_0x55281f||_0x3917d1!==_0x55281f['toVersion']){const _0x38dc6e=_0x3917d1-0x1,_0x537b44=this[_0x3ea0('0x34')][_0x3ea0('0xaa')][_0x3ea0('0x2d')](_0x38dc6e);_0x242ad8['createdAt']=_0x537b44&&_0x537b44[_0x3ea0('0xb1')]||new Date();}if(this[_0x3ea0('0x60')]&&_0x270c00===this['_loadedStateData'][_0x3ea0('0xa4')])for(const _0x5f49e0 of this[_0x3ea0('0x60')][_0x3ea0('0x10c')])_0x242ad8[_0x3ea0('0xb7')][_0x3ea0('0x19')](_0x5f49e0['id'])||_0x242ad8[_0x3ea0('0xb7')][_0x3ea0('0x82')](_0x5f49e0['id']);return _0x242ad8;}[_0x3ea0('0xab')](_0x539e46){if(!_0x539e46||_0x539e46[_0x3ea0('0x31')])return Promise[_0x3ea0('0xe7')]();{const _0x52cb86=this[_0x3ea0('0x23')][_0x3ea0('0x44')]['get']('collaboration.channelId');return this[_0x3ea0('0x9b')][_0x3ea0('0x5d')]({'channelId':_0x52cb86,'revisionId':_0x539e46['id']})[_0x3ea0('0x7c')](_0x47e546=>{_0x539e46[_0x3ea0('0x31')]=_0x47e546[_0x3ea0('0x31')];});}}[_0x3ea0('0x47')](_0x6feafd,_0x8ce6e5,_0x3747b8){if(this[_0x3ea0('0x72')]['has'](_0x6feafd)){const _0x4f89fb=this[_0x3ea0('0x72')][_0x3ea0('0x24')](_0x6feafd);_0x8ce6e5=_0x3747b8?{..._0x4f89fb,..._0x8ce6e5}:{..._0x8ce6e5,..._0x4f89fb};}this[_0x3ea0('0x72')][_0x3ea0('0x56')](_0x6feafd,_0x8ce6e5);}[_0x3ea0('0x103')](_0x34c692){const _0x12521d=this[_0x3ea0('0x27')][_0x3ea0('0x8a')]();_0x12521d[_0x3ea0('0xeb')](),_0x12521d[_0x3ea0('0x29')]();const _0x4ab8a2=_0x12521d[_0x3ea0('0x9c')](_0x16cfc1=>_0x16cfc1[_0x3ea0('0xcc')]<=_0x34c692)[_0x3ea0('0xcc')];return _0x4ab8a2<this['_startingVersion']?this['_startingVersion']:_0x4ab8a2;}[_0x3ea0('0x9f')](_0x5a384b){const _0xe85e2=this['repository'][_0x3ea0('0x5d')](this[_0x3ea0('0x27')][_0x3ea0('0x18')]-0x1);if(_0xe85e2)this[_0x3ea0('0x41')]=_0xe85e2['id'];else{const _0x19b0e4=!this[_0x3ea0('0x23')]['model']['document']['roots'][_0x3ea0('0x9c')](_0x2ffa43=>this['editor'][_0x3ea0('0xe1')][_0x3ea0('0x3e')](_0x2ffa43)),_0x2488ef=this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')]('Users')['me']['id'],_0x2f653a=_0x4d0da0(this[_0x3ea0('0x23')]['locale'],_0x19b0e4?_0x3ea0('0xa8'):'Initial\x20revision');this[_0x3ea0('0x106')]({'from':_0x5a384b,'to':_0x5a384b,'id':this[_0x3ea0('0x41')],'name':_0x2f653a,'creatorId':_0x2488ef});}}[_0x3ea0('0x22')](_0x55d3b8){const _0x1f4ffa=this[_0x3ea0('0x34')]['getCurrentRevisionId']();this[_0x3ea0('0x0')]=this[_0x3ea0('0x27')]['getRevision'](_0x1f4ffa),this[_0x3ea0('0x0')]||(this['currentRevision']=this[_0x3ea0('0x106')]({'from':_0x55d3b8,'to':_0x55d3b8,'id':_0x1f4ffa,'name':'','creatorId':null}));}['_makeRevision']({name:_0x57a3fc,from:_0x27874b,to:_0x53618f,creatorId:_0x38b6a9,id:_0x4d10c9}){const _0x282b8b=this[_0x3ea0('0xa')]({'from':_0x27874b,'to':_0x53618f});_0x282b8b[_0x3ea0('0xd1')]=_0x57a3fc,_0x282b8b[_0x3ea0('0xf7')]=_0x38b6a9,_0x282b8b['id']=_0x4d10c9;const _0x71dc6e=this[_0x3ea0('0x6d')](_0x282b8b);return this[_0x3ea0('0x9b')]&&this['_bufferUpdate'](_0x282b8b['id'],_0x282b8b,!0x0),_0x71dc6e;}['_setConversion'](){this[_0x3ea0('0x23')]['conversion'][_0x3ea0('0xe0')](_0x3ea0('0x48'))['markerToData']({'model':_0x3ea0('0x80')});}['_removeRevisionMarkers'](_0x3a5b82){return(_0x3a5b82=_0x3a5b82[_0x3ea0('0x4e')](_0x79b55c=>!_0x79b55c[_0x3ea0('0xd1')]||_0x3ea0('0x6e')!==_0x79b55c[_0x3ea0('0xd1')]&&_0x3ea0('0xfb')!==_0x79b55c[_0x3ea0('0xd1')]))[_0x3ea0('0x9')](_0x44623c=>{_0x3ea0('0x61')!=typeof _0x44623c&&(_0x44623c['children']=this[_0x3ea0('0x7d')](_0x44623c['children']),_0x44623c[_0x3ea0('0x20')]=_0x44623c[_0x3ea0('0x20')][_0x3ea0('0x4e')](_0x5795b8=>!_0x5795b8[0x0]['startsWith'](_0x3ea0('0xd2'))));}),_0x3a5b82;}}function J(_0x49d975,_0xdcc4e0){const _0x40cf51=_0xdcc4e0['editing'][_0x3ea0('0x35')][_0x3ea0('0xf2')];if(_0x3ea0('0x61')==typeof _0x49d975)return new _0x43b77a(_0x40cf51,_0x49d975);{const _0x1848cc=_0x49d975[_0x3ea0('0xed')][_0x3ea0('0xa2')](_0x573a58=>J(_0x573a58,_0xdcc4e0));return new(B[_0x49d975[(_0x3ea0('0x4d'))]]||_0x40e0fb)(_0x40cf51,_0x49d975[_0x3ea0('0xd1')],_0x49d975[_0x3ea0('0x20')],_0x1848cc);}}class H{constructor(_0x5195ea){this[_0x3ea0('0x23')]=_0x5195ea,this['_savedMetaData']=new Map(),this[_0x3ea0('0x8b')]=-0x1,this[_0x3ea0('0x6b')]=-0x1,this[_0x3ea0('0xd3')]=new Map(),this[_0x3ea0('0x10b')]=new Map(),this['_diffRootsAttributes']=new Map(),this[_0x3ea0('0x17')]=new Map(),this['_baseRootsAttributes']=new Map(),this[_0x3ea0('0x6c')]=new Map(),this[_0x3ea0('0xd4')]=new Map(),this[_0x3ea0('0x6a')]=new Map(),this[_0x3ea0('0x26')]=new Map(),this[_0x3ea0('0xd9')]=new Map(),this[_0x3ea0('0x79')]=0x1;}[_0x3ea0('0x107')](_0x1d6155){this[_0x3ea0('0x65')]=_0x1d6155;const _0x408ff4=new Map(),_0x44962d=new Map(),_0x4b4085=this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')]['roots']['map'](_0x4ee060=>_0x4ee060[_0x3ea0('0x10')]);for(const _0x3dc46b of _0x4b4085){const _0x468565=this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')]['getRoot'](_0x3dc46b),_0x5ecb85=q(_0x468565);_0x408ff4['set'](_0x3dc46b,_0x5ecb85),_0x44962d[_0x3ea0('0x56')](_0x3dc46b,Object[_0x3ea0('0x5e')](_0x468565[_0x3ea0('0xb6')]()));}const _0x47e7af=Array[_0x3ea0('0xcf')](this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0x67')])['map'](_0x351580=>[_0x351580[_0x3ea0('0xd1')],_0x351580[_0x3ea0('0xc9')]()]),_0x2ba5c2=this['source']['version'];this['_saveMetaData'](_0x2ba5c2,_0x408ff4,_0x47e7af,_0x44962d),this['_startingRevisionId']=this[_0x3ea0('0x79')];const _0x34be1e=new Map(),_0x531efc=new Map();for(const _0x23ed73 of _0x4b4085){const _0x9adfb8=G(_0x23ed73);_0x34be1e[_0x3ea0('0x56')](_0x23ed73,_0x9adfb8),_0x531efc[_0x3ea0('0x56')](_0x23ed73,{});}this[_0x3ea0('0x8e')](Number[_0x3ea0('0x101')],_0x34be1e,[],_0x531efc);}['getData'](_0x57790,_0x53e39a){if(this[_0x3ea0('0x8b')]===_0x57790&&this[_0x3ea0('0x6b')]<=_0x53e39a)this['_savedMetaData'][_0x3ea0('0x7f')]>0x1&&this[_0x3ea0('0xff')](this[_0x3ea0('0x6b')]),this[_0x3ea0('0xf3')](this['_lastTo'],_0x53e39a,!0x0);else{if(!this['_savedMetaData'][_0x3ea0('0x76')](_0x57790)){const _0x23e9dc=this['_getPreviousFrom'](_0x57790);this[_0x3ea0('0x69')](_0x23e9dc,_0x57790,!0x1);}this['_calculateMetaData'](_0x57790,_0x53e39a,!0x0);}return this[_0x3ea0('0x8b')]=_0x57790,this[_0x3ea0('0x6b')]=_0x53e39a,this[_0x3ea0('0x9d')]();}['loadState'](_0x548d9c){this[_0x3ea0('0xc3')](),this['_lastFrom']=_0x548d9c['fromVersion'],this['_lastTo']=_0x548d9c[_0x3ea0('0xcc')];for(const _0x2ba61a in _0x548d9c[_0x3ea0('0x31')]){const _0x123647=_0x548d9c[_0x3ea0('0x31')][_0x2ba61a][_0x3ea0('0xbb')],_0x535d4d=_0x3073de(_0x548d9c[_0x3ea0('0x31')][_0x2ba61a][_0x3ea0('0xc')])||{},_0x5cb184=this[_0x3ea0('0xa7')](_0x548d9c[_0x3ea0('0x31')][_0x2ba61a][_0x3ea0('0x21')]);_0x5cb184['rootName']=_0x2ba61a,_0x5cb184[_0x3ea0('0xa9')]=!_0x123647||!_0x123647[_0x3ea0('0x40')],_0x5cb184[_0x3ea0('0x40')]=()=>_0x5cb184[_0x3ea0('0xa9')],this[_0x3ea0('0x17')][_0x3ea0('0x56')](_0x2ba61a,_0x5cb184),this[_0x3ea0('0xbc')][_0x3ea0('0x56')](_0x2ba61a,_0x535d4d),_0x123647&&this[_0x3ea0('0xd9')][_0x3ea0('0x56')](_0x2ba61a,_0x123647);const _0x5eff21=this[_0x3ea0('0x104')](_0x5cb184);this['_baseIdsRoots'][_0x3ea0('0x56')](_0x2ba61a,_0x5eff21);for(const [_0x23efa6,_0x223d60]of _0x5cb184['markers']){if(!_0x23efa6['startsWith']('revision:'))continue;const _0x1ee521=_0x23efa6['split'](':')[0x2];for(const _0x46a50a of _0x223d60[_0x3ea0('0x1e')]({'singleCharacters':!0x0})){const _0x159c92=this[_0x3ea0('0x51')](_0x46a50a),_0x5e8a82=_0x3ea0('0xa5')==_0x46a50a['type']?_0x46a50a[_0x3ea0('0x10d')][_0x3ea0('0xae')][_0x3ea0('0x46')](0x0,-0x1):_0x46a50a[_0x3ea0('0x10d')][_0x3ea0('0xae')],_0x124189=_0x5eff21[_0x3ea0('0x36')](_0x5e8a82)[_0x3ea0('0x3d')](_0x159c92);this[_0x3ea0('0x6a')][_0x3ea0('0x56')](_0x124189,{'userId':_0x1ee521});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4cecc3=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)[_0x3ea0('0x4e')](_0x3f612a=>!this[_0x3ea0('0x6a')][_0x3ea0('0x76')](_0x3f612a));let _0x4e89bd=0x0;const _0xbcc5fd=new Map();for(const _0x579623 in _0x548d9c[_0x3ea0('0x31')]){const _0x2ef6ad=_0x548d9c[_0x3ea0('0x31')][_0x579623][_0x3ea0('0xbb')],_0x45c77b=_0x3073de(_0x548d9c['diffData'][_0x579623]['attributesAfter'])||{},_0x4621fb=this[_0x3ea0('0xa7')](_0x548d9c[_0x3ea0('0x31')][_0x579623][_0x3ea0('0x90')]);_0x4621fb[_0x3ea0('0x10')]=_0x579623,_0x4621fb[_0x3ea0('0xa9')]=!_0x2ef6ad||_0x2ef6ad[_0x3ea0('0x40')],_0x4621fb[_0x3ea0('0x40')]=()=>_0x4621fb[_0x3ea0('0xa9')],this['_diffRoots'][_0x3ea0('0x56')](_0x579623,_0x4621fb),this['_diffRootsAttributes'][_0x3ea0('0x56')](_0x579623,_0x45c77b);const _0x39a02b=this[_0x3ea0('0x104')](_0x4621fb,Number[_0x3ea0('0x101')]);this[_0x3ea0('0x6c')]['set'](_0x579623,_0x39a02b),_0xbcc5fd[_0x3ea0('0x56')](_0x579623,_0x4621fb[_0x3ea0('0x40')]()?_0x45c77b:{});for(const [_0x5cad89,_0x32d6a9]of _0x4621fb[_0x3ea0('0x67')]){if(!_0x5cad89[_0x3ea0('0x3c')](_0x3ea0('0x68')))continue;const _0x4f51ca=_0x5cad89['split'](':')[0x2];for(const _0x4f4c0d of _0x32d6a9[_0x3ea0('0x1e')]({'singleCharacters':!0x0})){const _0x1963d7=this[_0x3ea0('0x51')](_0x4f4c0d),_0x3c2852=this[_0x3ea0('0x79')]++,_0xe268e7=_0x3ea0('0xa5')==_0x4f4c0d['type']?_0x4f4c0d['previousPosition'][_0x3ea0('0xae')][_0x3ea0('0x46')](0x0,-0x1):_0x4f4c0d[_0x3ea0('0x10d')][_0x3ea0('0xae')];_0x39a02b[_0x3ea0('0x36')](_0xe268e7)['_setAttribute'](_0x1963d7,_0x3c2852),this['_touched'][_0x3ea0('0x56')](_0x3c2852,{'userId':_0x4f51ca});}}for(const _0x28de16 of this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0x57')](_0x4621fb)[_0x3ea0('0x1e')]({'singleCharacters':!0x0})){const _0x5addc1=this['_getVidAttributeName'](_0x28de16),_0x1fbfa3=_0x3ea0('0xa5')==_0x28de16['type']?_0x28de16[_0x3ea0('0x10d')][_0x3ea0('0xae')][_0x3ea0('0x46')](0x0,-0x1):_0x28de16[_0x3ea0('0x10d')][_0x3ea0('0xae')],_0x403899=_0x39a02b[_0x3ea0('0x36')](_0x1fbfa3);_0x403899[_0x3ea0('0x3d')](_0x5addc1)>0x0||_0x403899[_0x3ea0('0xdb')](_0x5addc1,_0x4cecc3[_0x4e89bd++]);}for(const [_0xf50a3a,_0x53250a]of _0x4621fb[_0x3ea0('0x67')])_0xf50a3a[_0x3ea0('0x3c')](_0x3ea0('0x68'))||this[_0x3ea0('0xd3')][_0x3ea0('0x56')](_0xf50a3a,_0x53250a);}const _0x2fe342=G(_0x3ea0('0x2c'));this[_0x3ea0('0x17')]['set'](_0x3ea0('0x2c'),_0x2fe342),this[_0x3ea0('0xd4')][_0x3ea0('0x56')](_0x3ea0('0x2c'),this[_0x3ea0('0x104')](_0x2fe342,0x1));const _0x3a9e54=G(_0x3ea0('0x2c'));this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x3ea0('0x2c'),_0x3a9e54),this['_idsRoots'][_0x3ea0('0x56')](_0x3ea0('0x2c'),this[_0x3ea0('0x104')](_0x3a9e54,0x1));const _0x4442fa=Array[_0x3ea0('0xcf')](this[_0x3ea0('0x10b')])[_0x3ea0('0xa2')](([_0x111b10,_0x170b60])=>[_0x111b10,q(_0x170b60)]);this[_0x3ea0('0x8e')](this['_lastTo'],_0x4442fa,this[_0x3ea0('0xd3')],_0xbcc5fd);}[_0x3ea0('0xa7')](_0x16c176){const _0x27bb66=JSON[_0x3ea0('0x7a')](_0x16c176),_0x49dd62=this[_0x3ea0('0x23')][_0x3ea0('0x2')]['view'][_0x3ea0('0xf2')],_0x4f15a6=new _0x17d2c6(_0x49dd62,_0x27bb66[_0x3ea0('0xa2')](_0x209165=>J(_0x209165,this[_0x3ea0('0x23')])));return this[_0x3ea0('0x23')]['data'][_0x3ea0('0x37')](_0x4f15a6);}['_saveMetaData'](_0x4656c5,_0x2650e7,_0xa0e05,_0x105e5f){const _0xaf7bfa=new Map(_0x2650e7),_0x227a44=new Map(_0x3073de(_0x105e5f)),_0x27ba87=new Map();for(const [_0x13979c,_0x7f15ef]of _0xa0e05)_0x27ba87['set'](_0x13979c,{'start':_0x7f15ef[_0x3ea0('0xe2')][_0x3ea0('0xcd')](),'end':_0x7f15ef[_0x3ea0('0x4a')][_0x3ea0('0xcd')](),'rootName':_0x7f15ef[_0x3ea0('0x2a')][_0x3ea0('0x10')]});this[_0x3ea0('0xea')][_0x3ea0('0x56')](_0x4656c5,{'roots':_0xaf7bfa,'markers':_0x27ba87,'rootsAttributes':_0x227a44});}[_0x3ea0('0xff')](_0x2746a9){this[_0x3ea0('0xea')][_0x3ea0('0x3a')](_0x2746a9);}[_0x3ea0('0x99')](){this['_reset'](),this[_0x3ea0('0x8b')]=-0x1,this[_0x3ea0('0x6b')]=-0x1,this['_savedMetaData'][_0x3ea0('0x43')](),this[_0x3ea0('0x107')](this[_0x3ea0('0x65')]);}[_0x3ea0('0xc3')](){this['_touched'][_0x3ea0('0x43')](),this['_touchedMarkers'][_0x3ea0('0x43')](),this[_0x3ea0('0xd9')][_0x3ea0('0x43')](),this[_0x3ea0('0x10b')][_0x3ea0('0x43')](),this[_0x3ea0('0x73')][_0x3ea0('0x43')](),this[_0x3ea0('0x17')]['clear'](),this[_0x3ea0('0xbc')][_0x3ea0('0x43')](),this[_0x3ea0('0x6c')][_0x3ea0('0x43')](),this[_0x3ea0('0xd4')][_0x3ea0('0x43')](),this[_0x3ea0('0xd3')][_0x3ea0('0x43')](),this[_0x3ea0('0x79')]=0x1,this[_0x3ea0('0xc6')]=this[_0x3ea0('0x79')];}['_makeIdsRoot'](_0x30d210,_0x54251=null){let _0x1e77bc=null;_0x30d210['is']('documentFragment')||(_0x1e77bc=new _0x49bd18(_0x30d210[_0x3ea0('0xd1')],{'vid_start':null===_0x54251?this[_0x3ea0('0x79')]++:_0x54251++}));const _0x12d5ce=[];for(const _0x3bb764 of _0x30d210[_0x3ea0('0x5f')]())if(_0x3bb764['is'](_0x3ea0('0xe8'))){_0x12d5ce[_0x3ea0('0x82')](this['_makeIdsRoot'](_0x3bb764,_0x54251));const _0x271b3d=_0x12d5ce[_0x12d5ce[_0x3ea0('0x18')]-0x1];null!==_0x54251&&(_0x54251=_0x271b3d['is'](_0x3ea0('0xe8'),_0x3ea0('0x5a'))?_0x271b3d['getAttribute'](_0x3ea0('0x8f'))+0x1:_0x271b3d[_0x3ea0('0x3d')](_0x3ea0('0x8d'))+0x1);}else for(let _0x2fac8d=0x0;_0x2fac8d<_0x3bb764[_0x3ea0('0xc1')];_0x2fac8d++)_0x12d5ce[_0x3ea0('0x82')](new _0x49bd18(_0x3ea0('0x5a'),{'vid':null===_0x54251?this[_0x3ea0('0x79')]++:_0x54251++}));if(_0x30d210['is'](_0x3ea0('0x86'))){const _0x1dfc1c=G(_0x30d210[_0x3ea0('0x10')]);return _0x1dfc1c['_insertChild'](0x0,_0x12d5ce),_0x1dfc1c;}return _0x1e77bc[_0x3ea0('0xdb')]('vid_end',null===_0x54251?this['_revisionId']++:_0x54251++),_0x1e77bc[_0x3ea0('0x39')](0x0,_0x12d5ce),_0x1e77bc;}['_calculateMetaData'](_0x4f99d5,_0x2e91ba,_0x2585f2){this[_0x3ea0('0xc3')]();const {roots:_0x4d24d0,markers:_0x1502a9,rootsAttributes:_0x3dbd7d}=this[_0x3ea0('0xea')][_0x3ea0('0x24')](_0x4f99d5);this[_0x3ea0('0x17')]=new Map(_0x4d24d0),this[_0x3ea0('0xbc')]=new Map(_0x3073de(_0x3dbd7d));for(const [_0x3aa694,_0x138625]of this[_0x3ea0('0x17')])if('$graveyard'!==_0x3aa694&&(this[_0x3ea0('0x10b')]['set'](_0x3aa694,q(_0x138625)),this[_0x3ea0('0x73')]=new Map(_0x3073de(_0x3dbd7d)),_0x2585f2)){const _0x2c90cd=this[_0x3ea0('0x79')];this['_idsRoots'][_0x3ea0('0x56')](_0x3aa694,this[_0x3ea0('0x104')](_0x138625)),this[_0x3ea0('0xd4')][_0x3ea0('0x56')](_0x3aa694,this[_0x3ea0('0x104')](_0x138625,_0x2c90cd));}this[_0x3ea0('0xc6')]=this['_revisionId'],this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x3ea0('0x2c'),q(this[_0x3ea0('0x17')][_0x3ea0('0x24')](_0x3ea0('0x2c')))),_0x2585f2&&this[_0x3ea0('0x6c')][_0x3ea0('0x56')](_0x3ea0('0x2c'),this[_0x3ea0('0x104')](this['_baseRoots'][_0x3ea0('0x24')](_0x3ea0('0x2c'))));for(const [_0x53f424,_0x1057a5]of _0x1502a9){const _0xa5b995=this[_0x3ea0('0x17')]['get'](_0x1057a5[_0x3ea0('0x10')]),_0x1c306a=this[_0x3ea0('0x10b')][_0x3ea0('0x24')](_0x1057a5[_0x3ea0('0x10')]),_0x31c3e3=new _0x1849d3(this['_fixPosition'](_0x1057a5[_0x3ea0('0xe2')],_0xa5b995),this[_0x3ea0('0xf4')](_0x1057a5[_0x3ea0('0x4a')],_0xa5b995)),_0x3754c5=this[_0x3ea0('0x78')](_0x31c3e3,_0x1c306a);_0xa5b995[_0x3ea0('0x67')][_0x3ea0('0x56')](_0x53f424,_0x31c3e3),this[_0x3ea0('0xd3')][_0x3ea0('0x56')](_0x53f424,_0x3754c5);}this[_0x3ea0('0xf3')](_0x4f99d5,_0x2e91ba,_0x2585f2);}[_0x3ea0('0xf3')](_0x494765,_0x103316,_0x5eb116){for(const _0x3acce8 of this[_0x3ea0('0x65')][_0x3ea0('0x96')](_0x494765,_0x103316))this[_0x3ea0('0x2f')](_0x3acce8,_0x5eb116);for(const _0x4b96d1 of this[_0x3ea0('0x10b')][_0x3ea0('0xf')]())_0x4b96d1[_0x3ea0('0x67')][_0x3ea0('0x43')]();for(const [_0xe471fb,_0x2d5efa]of this[_0x3ea0('0xd3')]){this['_diffRoots']['get'](_0x2d5efa[_0x3ea0('0x2a')][_0x3ea0('0x10')])[_0x3ea0('0x67')][_0x3ea0('0x56')](_0xe471fb,_0x2d5efa[_0x3ea0('0xcd')]());}const _0x35cf59=new Map(),_0x4d860d=new Map();for(const [_0x8edfa6,_0x1947f5]of this[_0x3ea0('0x10b')])_0x35cf59[_0x3ea0('0x56')](_0x8edfa6,q(_0x1947f5)),_0x4d860d[_0x3ea0('0x56')](_0x8edfa6,this[_0x3ea0('0x73')]['get'](_0x8edfa6));this[_0x3ea0('0x8e')](_0x103316,_0x35cf59,this['_markers'],_0x4d860d);}[_0x3ea0('0x32')](_0x4d63ff){const _0x190007=Array[_0x3ea0('0xcf')](this[_0x3ea0('0xea')][_0x3ea0('0x5c')]());_0x190007[_0x3ea0('0xda')]((_0x5ef450,_0x6269a)=>_0x5ef450-_0x6269a),_0x190007['reverse']();for(const _0x3d7dc8 of _0x190007)if(_0x3d7dc8<_0x4d63ff)return _0x3d7dc8;return Number['NEGATIVE_INFINITY'];}[_0x3ea0('0xa6')](_0x2a0be2,_0x5ad80f){const _0x4fb5b1=Array[_0x3ea0('0xcf')](_0x5ad80f[_0x3ea0('0x67')])['map'](([_0x107cef,_0x5c8119])=>[_0x107cef,this['_fixRange'](_0x5c8119,_0x2a0be2)]);_0x2a0be2['markers']=new Map(_0x4fb5b1);}[_0x3ea0('0xc2')](_0x49db43){for(const _0x4b34cc of this[_0x3ea0('0xd3')][_0x3ea0('0xf')]()){const _0x1a779a=_0x4b34cc[_0x3ea0('0xd0')](_0x49db43),_0x4b7f49=_0x1849d3[_0x3ea0('0xe4')](_0x1a779a);_0x4b34cc[_0x3ea0('0xe2')]=_0x4b7f49[_0x3ea0('0xe2')],_0x4b34cc[_0x3ea0('0x4a')]=_0x4b7f49[_0x3ea0('0x4a')];}}[_0x3ea0('0x2f')](_0x3e6f99,_0x36ef95){if(_0x3ea0('0x109')==_0x3e6f99[_0x3ea0('0x4d')]||_0x3ea0('0x5b')==_0x3e6f99[_0x3ea0('0x4d')])return void this[_0x3ea0('0xfa')](_0x3e6f99,_0x36ef95);if('insert'==_0x3e6f99[_0x3ea0('0x4d')]){const _0x2938b9=_0x3e6f99[_0x3ea0('0x98')]['root'][_0x3ea0('0x10')];this[_0x3ea0('0x10b')][_0x3ea0('0x76')](_0x2938b9)||(this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x2938b9,G(_0x2938b9,!0x0)),this[_0x3ea0('0x73')][_0x3ea0('0x56')](_0x2938b9,{}),_0x36ef95&&this['_idsRoots'][_0x3ea0('0x56')](_0x2938b9,G(_0x2938b9,!0x0)));}else{if(_0x3ea0('0x6')==_0x3e6f99[_0x3ea0('0x4d')]||_0x3ea0('0x97')==_0x3e6f99[_0x3ea0('0x4d')]||_0x3ea0('0xb')==_0x3e6f99[_0x3ea0('0x4d')])return void this[_0x3ea0('0x59')](_0x3e6f99);}const _0xc3ac4d=this['_cloneOperation'](_0x3e6f99,this[_0x3ea0('0x10b')]);if(_0x3ea0('0x12')!==_0x3e6f99[_0x3ea0('0x4d')]&&(_0xc3ac4d['_execute'](),this['_transformMarkers'](_0xc3ac4d)),_0x36ef95)switch(_0xc3ac4d[_0x3ea0('0x4d')]){case _0x3ea0('0x30'):this['_handleInsertOperation'](_0x3e6f99);break;case _0x3ea0('0x91'):case _0x3ea0('0x4b'):case _0x3ea0('0x42'):this[_0x3ea0('0x1a')](_0x3e6f99);break;case'merge':this['_handleMergeOperation'](_0x3e6f99);break;case _0x3ea0('0xe3'):this[_0x3ea0('0xb0')](_0x3e6f99);break;case _0x3ea0('0x12'):this['_handleMarkerOperation'](_0x3e6f99);}}[_0x3ea0('0x88')](_0x5aefdf,_0x4b4ed2){const _0x4451ce=_0x5aefdf[_0x3ea0('0xcd')]();return _0x4451ce[_0x3ea0('0x7b')]=_0x5aefdf[_0x3ea0('0x7b')],this[_0x3ea0('0x5')](_0x4451ce,_0x4b4ed2),_0x4451ce;}[_0x3ea0('0x54')](_0x428549){return _0x428549[_0x3ea0('0xa2')](_0x5163ad=>{const _0x37616f=this[_0x3ea0('0x51')](_0x5163ad);return Number(_0x5163ad[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x37616f));});}[_0x3ea0('0x33')](_0x3dc0e2,_0x39fd2d){if(_0x3dc0e2['is'](_0x3ea0('0xe8'),'$text'))_0x39fd2d['push']({'item':_0x3dc0e2,'type':_0x3ea0('0x95')});else{_0x3dc0e2['is'](_0x3ea0('0xe8'))&&_0x39fd2d[_0x3ea0('0x82')]({'item':_0x3dc0e2,'type':_0x3ea0('0x16')});for(const _0x50af26 of _0x3dc0e2['getChildren']())this['_generateTape'](_0x50af26,_0x39fd2d);_0x3dc0e2['is']('element')&&_0x39fd2d[_0x3ea0('0x82')]({'item':_0x3dc0e2,'type':_0x3ea0('0xa5')});}return _0x39fd2d;}[_0x3ea0('0x9d')](){const _0x3c3b08=new Map(this[_0x3ea0('0x6a')]),_0x2c4415=new Map(_0x3c3b08),_0x5d7608=new Map(),_0x5c9167={'insertions':{},'deletions':{}},_0x1a6222={'insertions':{},'deletions':{}},_0x53d82b=new Map(),_0x32dd48=new Set([...this['_baseRoots'][_0x3ea0('0x5c')](),...this['_diffRoots'][_0x3ea0('0x5c')]()]);_0x32dd48[_0x3ea0('0x3a')]('$graveyard');for(const _0x375906 of _0x32dd48){const _0x7602f1=this[_0x3ea0('0x10b')][_0x3ea0('0x24')](_0x375906)||G(_0x375906,!0x1),_0x460f1f=this[_0x3ea0('0x17')]['get'](_0x375906)||G(_0x375906,!0x1);_0x7602f1['isAttached']()||_0x460f1f[_0x3ea0('0x40')]()?(_0x5c9167[_0x3ea0('0x90')][_0x375906]=q(_0x7602f1),_0x5c9167[_0x3ea0('0x21')][_0x375906]=q(_0x460f1f),this[_0x3ea0('0xa6')](_0x5c9167['deletions'][_0x375906],_0x460f1f),this[_0x3ea0('0xa6')](_0x5c9167[_0x3ea0('0x90')][_0x375906],_0x7602f1),_0x1a6222[_0x3ea0('0x90')][_0x375906]=this[_0x3ea0('0x33')](this[_0x3ea0('0x6c')][_0x3ea0('0x24')](_0x375906),[]),_0x1a6222[_0x3ea0('0x21')][_0x375906]=this[_0x3ea0('0x33')](this[_0x3ea0('0xd4')]['get'](_0x375906)||G(_0x375906,!0x1),[])):_0x32dd48[_0x3ea0('0x3a')](_0x375906);}for(const _0x1b713e of _0x32dd48){const _0x470e18=_0x1a6222[_0x3ea0('0x90')][_0x1b713e];for(const _0x4a553c of _0x470e18){const _0x36bcb0=this[_0x3ea0('0x51')](_0x4a553c),_0x1adfc5=_0x4a553c[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x36bcb0);_0x2c4415[_0x3ea0('0x3a')](_0x1adfc5),_0x1adfc5>=this[_0x3ea0('0xc6')]&&_0x5d7608['set'](_0x1adfc5,_0x3c3b08['get'](_0x1adfc5));}}for(const _0x3bd726 of _0x32dd48){const _0x374044=_0x1a6222[_0x3ea0('0x90')][_0x3bd726],_0x8814e2=this[_0x3ea0('0x54')](_0x1a6222[_0x3ea0('0x21')][_0x3bd726]);let _0x34ea35=0x0;for(const _0x144803 of _0x374044){const _0x5e9eed=this[_0x3ea0('0x51')](_0x144803),_0xd32000=_0x144803[_0x3ea0('0xfc')]['getAttribute'](_0x5e9eed);if(!_0x5d7608[_0x3ea0('0x76')](_0xd32000)&&!_0x53d82b['has'](_0xd32000)){if(_0x2c4415[_0x3ea0('0x76')](_0xd32000))_0x34ea35++;else{if(_0xd32000!=_0x8814e2[_0x34ea35]){const _0x11d525=_0x3c3b08[_0x3ea0('0x24')](_0xd32000)||_0x3c3b08['get'](_0x8814e2[_0x34ea35]);for(;_0xd32000!=_0x8814e2[_0x34ea35];)_0x2c4415[_0x3ea0('0x76')](_0x8814e2[_0x34ea35])||(_0x53d82b[_0x3ea0('0x56')](_0x8814e2[_0x34ea35],_0x11d525),_0x3c3b08[_0x3ea0('0x56')](_0x8814e2[_0x34ea35],_0x11d525)),_0x34ea35++;}_0x34ea35++;}}}}for(const _0x266dfa of _0x32dd48){const _0xbde7c7=_0x1a6222['insertions'][_0x266dfa];for(const _0x1ecb0e of _0xbde7c7){const _0x372f1f=this[_0x3ea0('0x51')](_0x1ecb0e),_0xb1c92d=_0x1ecb0e['item'][_0x3ea0('0x3d')](_0x372f1f);if(_0x53d82b[_0x3ea0('0x76')](_0xb1c92d)){const _0x40e900=_0x53d82b[_0x3ea0('0x24')](_0xb1c92d);_0x2c4415[_0x3ea0('0x76')](_0xb1c92d)||_0x2c4415['set'](_0xb1c92d,{..._0x40e900}),_0x5d7608['set'](_0xb1c92d,{..._0x40e900});}}}for(const _0x358d3b of _0x2c4415[_0x3ea0('0x5c')]())_0x358d3b>=this[_0x3ea0('0xc6')]&&_0x2c4415['delete'](_0x358d3b);const _0x3812ef=new Map();for(const _0x3e0cea of _0x32dd48){let _0x26bbc1=_0x1a6222[_0x3ea0('0x90')][_0x3e0cea];for(const _0x113046 of _0x26bbc1)if(_0x113046[_0x3ea0('0xfc')]['is']('element',_0x3ea0('0x4c'))){const _0x24c622=this[_0x3ea0('0x51')](_0x113046),_0x43c9f6=_0x113046[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x24c622);if(_0x5d7608[_0x3ea0('0x76')](_0x43c9f6)){const _0x3800e3=_0x113046['item'][_0x3ea0('0x1b')][_0x3ea0('0x1b')][_0x3ea0('0x3d')](_0x3ea0('0xf5')),_0x203c61=_0x3812ef[_0x3ea0('0x24')](_0x3800e3)||new Set();_0x203c61[_0x3ea0('0xc7')](_0x5d7608[_0x3ea0('0x24')](_0x43c9f6)['userId']),_0x3812ef[_0x3ea0('0x56')](_0x3800e3,_0x203c61);}}_0x26bbc1=_0x1a6222['deletions'][_0x3e0cea];for(const _0x547186 of _0x26bbc1)if(_0x547186[_0x3ea0('0xfc')]['is'](_0x3ea0('0xe8'),'tableCell')){const _0x270ab0=this[_0x3ea0('0x51')](_0x547186),_0x3bcaba=_0x547186['item'][_0x3ea0('0x3d')](_0x270ab0);if(_0x2c4415['has'](_0x3bcaba)){const _0x5008cd=_0x547186[_0x3ea0('0xfc')][_0x3ea0('0x1b')][_0x3ea0('0x1b')][_0x3ea0('0x3d')](_0x3ea0('0xf5')),_0x11115a=_0x3812ef[_0x3ea0('0x24')](_0x5008cd)||new Set();_0x11115a[_0x3ea0('0xc7')](_0x2c4415[_0x3ea0('0x24')](_0x3bcaba)[_0x3ea0('0x66')]),_0x3812ef['set'](_0x5008cd,_0x11115a);}}for(const _0x8df58b of _0x3812ef['keys']())(_0x5d7608[_0x3ea0('0x76')](_0x8df58b)||_0x2c4415[_0x3ea0('0x76')](_0x8df58b))&&_0x3812ef[_0x3ea0('0x3a')](_0x8df58b);}for(const _0x15f69f of _0x32dd48){const _0x10ec79=_0x1a6222[_0x3ea0('0x90')][_0x15f69f];let _0x10fb4f=null,_0xf95bb5=null;for(const _0x25ecfd of _0x10ec79){const _0x5f3b4b=this[_0x3ea0('0x51')](_0x25ecfd),_0x52d94d=_0x25ecfd['item'][_0x3ea0('0x3d')](_0x5f3b4b),_0x57dfd0=_0x3812ef['get'](_0x52d94d);_0x57dfd0&&_0x3ea0('0x16')==_0x25ecfd['type']&&(_0x10fb4f=Array[_0x3ea0('0xcf')](_0x57dfd0)[0x0],_0xf95bb5=_0x25ecfd[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x3ea0('0x8d'))),_0x10fb4f&&(_0x2c4415[_0x3ea0('0x56')](_0x52d94d,{'userId':_0x10fb4f}),_0x5d7608['set'](_0x52d94d,{'userId':_0x10fb4f})),_0x52d94d==_0xf95bb5&&(_0x10fb4f=null,_0xf95bb5=null);}}const _0x235a73={},_0x4ef60d=new Set();for(const _0x201d0e of _0x32dd48){const _0x5641d0=_0x5c9167['deletions'][_0x201d0e],_0x5ee0b8=_0x5c9167[_0x3ea0('0x90')][_0x201d0e];for(const {userId:_0x1f64b8}of this[_0x3ea0('0x26')][_0x3ea0('0xf')]())null!==_0x1f64b8&&_0x4ef60d['add'](_0x1f64b8);for(const {userId:_0x216427}of this['_touchedRoots'][_0x3ea0('0xf')]())null!==_0x216427&&_0x4ef60d['add'](_0x216427);this['_markChanges'](_0x5ee0b8,_0x1a6222[_0x3ea0('0x90')][_0x201d0e],_0x5d7608,_0x3ea0('0xbf'),_0x4ef60d),this[_0x3ea0('0xf6')](_0x5641d0,_0x1a6222[_0x3ea0('0x21')][_0x201d0e],_0x2c4415,_0x3ea0('0xde'),_0x4ef60d),_0x235a73[_0x201d0e]={'insertions':this['_prepareViewToSave'](_0x5ee0b8),'deletions':this[_0x3ea0('0xce')](_0x5641d0),'attachChange':this['_touchedRoots']['get'](_0x201d0e)||null,'attributesBefore':_0x3073de(this[_0x3ea0('0xbc')][_0x3ea0('0x24')](_0x201d0e))||{},'attributesAfter':_0x3073de(this[_0x3ea0('0x73')][_0x3ea0('0x24')](_0x201d0e))};}return{'diffData':_0x235a73,'authorsIds':Array[_0x3ea0('0xcf')](_0x4ef60d)};}[_0x3ea0('0x83')](_0x34e9c0){for(const [,_0x15210a]of _0x34e9c0[_0x3ea0('0x67')]){const _0x55164f=_0x15210a['start'][_0x3ea0('0xba')]()[_0x3ea0('0x4e')](_0xac22f0=>_0x3ea0('0x4c')==_0xac22f0['name']);for(const _0x111875 of _0x55164f)0x1==_0x111875[_0x3ea0('0x93')]&&_0x111875[_0x3ea0('0xac')](0x0)['is'](_0x3ea0('0xe8'),'paragraph')&&_0x111875[_0x3ea0('0xac')](0x0)[_0x3ea0('0xdb')](_0x3ea0('0xb2'),!0x0);}}['_prepareViewToSave'](_0x3c5af6){this[_0x3ea0('0x83')](_0x3c5af6);const _0x5c3a5f=this['editor'][_0x3ea0('0xfe')][_0x3ea0('0xa3')](_0x3c5af6,{}),_0x26dc6c=Array[_0x3ea0('0xcf')](_0x5c3a5f['getChildren']())[_0x3ea0('0xa2')](_0x5da28c=>this['_getViewJson'](_0x5da28c));return JSON[_0x3ea0('0x3f')](_0x26dc6c);}[_0x3ea0('0x3b')](_0x1fa306){if(_0x1fa306['is']('$text'))return _0x1fa306[_0x3ea0('0xfe')];{const _0x2e1e1b=_0x1fa306;return{'type':Object[_0x3ea0('0x5c')](B)[_0x3ea0('0x9c')](_0x11bf2e=>_0x1fa306 instanceof B[_0x11bf2e]),'name':_0x2e1e1b[_0x3ea0('0xd1')],'attributes':Array[_0x3ea0('0xcf')](_0x2e1e1b[_0x3ea0('0xb6')]()),'children':Array[_0x3ea0('0xcf')](_0x2e1e1b[_0x3ea0('0x5f')]())[_0x3ea0('0xa2')](_0x5b8ebc=>this['_getViewJson'](_0x5b8ebc))};}}[_0x3ea0('0xf6')](_0x3db27d,_0x11f957,_0x5e4174,_0x36ce8c,_0xd48b47){let _0x5eb9cd=null,_0x15dc2c=null,_0xec937c=0x0;const _0x50068a=this[_0x3ea0('0x23')][_0x3ea0('0xe1')];for(let _0x4acc4f=0x0;_0x4acc4f<_0x11f957['length'];_0x4acc4f++){const _0x22cce1=this[_0x3ea0('0x51')](_0x11f957[_0x4acc4f]),_0x56748c=_0x11f957[_0x4acc4f][_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x22cce1),_0x337fa3=_0x5e4174[_0x3ea0('0x24')](_0x56748c),_0x1b1198=_0x4acc4f==_0x11f957[_0x3ea0('0x18')]-0x1;(!_0x5eb9cd&&_0x337fa3&&(_0x5eb9cd=_0x337fa3,_0x15dc2c=_0x11f957[_0x4acc4f]),_0x5eb9cd&&(!_0x337fa3||_0x337fa3[_0x3ea0('0x66')]!=_0x5eb9cd[_0x3ea0('0x66')]))&&(_0x4fb327(_0x337fa3,L(_0x15dc2c,_0x3db27d,_0x50068a),L(_0x11f957[_0x4acc4f],_0x3db27d,_0x50068a)),_0x5eb9cd=_0x337fa3||null,_0x15dc2c=_0x337fa3?_0x11f957[_0x4acc4f]:null),_0x5eb9cd&&_0x1b1198&&_0x4fb327(_0x337fa3,L(_0x15dc2c,_0x3db27d,_0x50068a),W(_0x11f957[_0x4acc4f],_0x3db27d,_0x50068a));}function _0x4fb327(_0x38d667,_0x56780c,_0x586a49){const _0x4d58fb=_0x5eb9cd[_0x3ea0('0x66')],_0x38e672=_0x3ea0('0x68')+_0x36ce8c+':'+_0x4d58fb+':'+_0xec937c++,_0x115521=_0x50068a[_0x3ea0('0xf1')](_0x56780c,_0x586a49);_0x3db27d[_0x3ea0('0x67')][_0x3ea0('0x56')](_0x38e672,_0x115521),null!==_0x4d58fb&&_0xd48b47[_0x3ea0('0xc7')](_0x4d58fb);}}[_0x3ea0('0x51')](_0x263064){switch(_0x263064[_0x3ea0('0x4d')]){case _0x3ea0('0x16'):return'vid_start';case _0x3ea0('0xa5'):return _0x3ea0('0x8d');default:return'vid';}}['_fixOperation'](_0x57fecf,_0x14b4ff){_0x57fecf['baseVersion']=null;for(const _0x364f8e in _0x57fecf){const _0xc7f4c2=_0x57fecf[_0x364f8e];if(_0xc7f4c2 instanceof _0x225847){const _0x4f3cf1=_0x14b4ff[_0x3ea0('0x24')](_0xc7f4c2[_0x3ea0('0x2a')][_0x3ea0('0x10')]);_0x57fecf[_0x364f8e]=this[_0x3ea0('0xf4')](_0xc7f4c2,_0x4f3cf1);}if(_0xc7f4c2 instanceof _0x1849d3){const _0x415f50=_0x14b4ff[_0x3ea0('0x24')](_0xc7f4c2[_0x3ea0('0x2a')][_0x3ea0('0x10')]);_0x57fecf[_0x364f8e]=this[_0x3ea0('0x78')](_0xc7f4c2,_0x415f50);}'root'===_0x364f8e&&(_0x57fecf[_0x3ea0('0x2a')]=_0x14b4ff[_0x3ea0('0x24')](_0x57fecf['root'][_0x3ea0('0x10')]));}}[_0x3ea0('0x78')](_0x17afe8,_0x342a7f){return this[_0x3ea0('0x23')]['model'][_0x3ea0('0xf1')](this[_0x3ea0('0xf4')](_0x17afe8[_0x3ea0('0xe2')],_0x342a7f),this[_0x3ea0('0xf4')](_0x17afe8[_0x3ea0('0x4a')],_0x342a7f));}[_0x3ea0('0xf4')](_0x1a95a3,_0x26253a){return this['editor'][_0x3ea0('0xe1')]['createPositionFromPath'](_0x26253a,_0x1a95a3[_0x3ea0('0xae')],_0x1a95a3['stickiness']);}['_handleInsertOperation'](_0x59a9fe){const _0x2c7f66=this['_idsRoots'][_0x3ea0('0x24')](_0x59a9fe['position'][_0x3ea0('0x2a')][_0x3ea0('0x10')]),_0x5cdaeb=this[_0x3ea0('0xf4')](_0x59a9fe['position'],_0x2c7f66),_0x21075b=null===_0x59a9fe[_0x3ea0('0x7b')]?null:_0x59a9fe[_0x3ea0('0x7b')]||this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x276072=_0x5cdaeb[_0x3ea0('0x1b')],_0x29f55c=this[_0x3ea0('0x79')],_0x2866f8=[];for(const _0x28b242 of _0x59a9fe[_0x3ea0('0x2b')])if(_0x28b242['is'](_0x3ea0('0xe8')))_0x2866f8['push'](this[_0x3ea0('0x104')](_0x28b242));else for(let _0x398a43=0x0;_0x398a43<_0x28b242[_0x3ea0('0xc1')];_0x398a43++)_0x2866f8[_0x3ea0('0x82')](new _0x49bd18(_0x3ea0('0x5a'),{'vid':this[_0x3ea0('0x79')]++}));const _0x3674b9=this['_revisionId'];for(let _0x67fdd9=_0x29f55c;_0x67fdd9<_0x3674b9;_0x67fdd9++)this['_touched']['set'](_0x67fdd9,{'userId':_0x21075b});_0x276072[_0x3ea0('0x39')](_0x5cdaeb[_0x3ea0('0x84')],_0x2866f8);}[_0x3ea0('0x1a')](_0x41ff99){(_0x41ff99=this[_0x3ea0('0x88')](_0x41ff99,this['_idsRoots']))[_0x3ea0('0x45')]();const _0xc79c61=null===_0x41ff99[_0x3ea0('0x7b')]?null:_0x41ff99['_authorId']||this[_0x3ea0('0x23')]['plugins']['get'](_0x3ea0('0x9e'))['me']['id'],_0x236a43=_0x41ff99[_0x3ea0('0xee')](),_0x4e8941=_0x236a43[_0x3ea0('0x1b')],_0x4bd581=_0x236a43['offset'];!function _0x31dab6(_0x22a9e2,_0x437672,_0x35a190,_0x3efb27){for(let _0x4c30a5=_0x35a190;_0x4c30a5<_0x3efb27;_0x4c30a5++){const _0x29f699=_0x437672[_0x3ea0('0xac')](_0x4c30a5);_0x29f699['is'](_0x3ea0('0xe8'),'$text')?_0x22a9e2[_0x3ea0('0x56')](_0x29f699[_0x3ea0('0x3d')]('vid'),{'userId':_0xc79c61}):(_0x22a9e2[_0x3ea0('0x56')](_0x29f699['getAttribute'](_0x3ea0('0xf5')),{'userId':_0xc79c61}),_0x31dab6(_0x22a9e2,_0x29f699,0x0,_0x29f699[_0x3ea0('0x93')]),_0x22a9e2[_0x3ea0('0x56')](_0x29f699['getAttribute']('vid_end'),{'userId':_0xc79c61}));}}(this[_0x3ea0('0x6a')],_0x4e8941,_0x4bd581,_0x4bd581+_0x41ff99[_0x3ea0('0xf0')]);}[_0x3ea0('0xa0')](_0x2e8379){const _0x4e8b81=null===(_0x2e8379=this['_cloneOperation'](_0x2e8379,this[_0x3ea0('0x6c')]))[_0x3ea0('0x7b')]?null:_0x2e8379['_authorId']||this[_0x3ea0('0x23')][_0x3ea0('0x7e')]['get'](_0x3ea0('0x9e'))['me']['id'],_0x1abf9e=_0x2e8379[_0x3ea0('0xbd')][_0x3ea0('0x1b')],_0x15522c=_0x2e8379[_0x3ea0('0xca')][_0x3ea0('0x1b')],_0x5eb860=_0x1abf9e[_0x3ea0('0x3d')]('vid_end'),_0x2cebf3=_0x15522c[_0x3ea0('0x3d')](_0x3ea0('0xf5'));_0x1abf9e[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x15522c[_0x3ea0('0x3d')](_0x3ea0('0x8d'))),_0x15522c['_setAttribute'](_0x3ea0('0x8d'),_0x5eb860),this[_0x3ea0('0x6a')][_0x3ea0('0x56')](_0x2cebf3,{'userId':_0x4e8b81}),this[_0x3ea0('0x6a')]['set'](_0x5eb860,{'userId':_0x4e8b81}),_0x2e8379['_execute']();}['_handleSplitOperation'](_0x577d3b){const _0x56010d=null===(_0x577d3b=this[_0x3ea0('0x88')](_0x577d3b,this[_0x3ea0('0x6c')]))[_0x3ea0('0x7b')]?null:_0x577d3b[_0x3ea0('0x7b')]||this[_0x3ea0('0x23')][_0x3ea0('0x7e')]['get'](_0x3ea0('0x9e'))['me']['id'],_0x40f9fe=_0x577d3b[_0x3ea0('0x38')],_0x3ddb04=_0x577d3b[_0x3ea0('0x108')]['parent'];_0x577d3b['_execute']();const _0xc7e34a=_0x3ddb04[_0x3ea0('0x3d')](_0x3ea0('0x8d')),_0x106588=_0x577d3b[_0x3ea0('0xc8')][_0x3ea0('0xc4')];if(_0x40f9fe){const _0x3866df=_0x106588[_0x3ea0('0x3d')]('vid_end'),_0x187f3c=_0x3ddb04[_0x3ea0('0x3d')]('vid_end');_0x3ddb04[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x3866df),_0x106588[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x187f3c),this[_0x3ea0('0x6a')]['set'](_0x3ddb04[_0x3ea0('0x3d')](_0x3ea0('0x8d')),{'userId':_0x56010d}),this[_0x3ea0('0x6a')][_0x3ea0('0x56')](_0x106588[_0x3ea0('0x3d')](_0x3ea0('0xf5')),{'userId':_0x56010d});}else{const _0x189697=this[_0x3ea0('0x79')]++,_0x3d6f28=this[_0x3ea0('0x79')]++;_0x3ddb04[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x189697),_0x106588[_0x3ea0('0xdb')](_0x3ea0('0xf5'),_0x3d6f28),_0x106588[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0xc7e34a),this['_touched'][_0x3ea0('0x56')](_0x189697,{'userId':_0x56010d}),this['_touched'][_0x3ea0('0x56')](_0x3d6f28,{'userId':_0x56010d});}}[_0x3ea0('0xbe')](_0x23ddd1){if(!_0x23ddd1[_0x3ea0('0x75')])return;const _0x3316f4=(_0x23ddd1=this[_0x3ea0('0x88')](_0x23ddd1,this['_diffRoots']))[_0x3ea0('0xd')]?_0x23ddd1[_0x3ea0('0xd')][_0x3ea0('0x2a')]:null,_0x1ad20f=_0x23ddd1[_0x3ea0('0x6f')]?_0x23ddd1[_0x3ea0('0x6f')][_0x3ea0('0x2a')]:null;_0x3316f4&&this[_0x3ea0('0xd3')][_0x3ea0('0x3a')](_0x23ddd1[_0x3ea0('0xd1')]),_0x1ad20f&&this[_0x3ea0('0xd3')][_0x3ea0('0x56')](_0x23ddd1[_0x3ea0('0xd1')],_0x23ddd1[_0x3ea0('0x6f')][_0x3ea0('0xcd')]());const _0x159cc9=null===_0x23ddd1['_authorId']?null:_0x23ddd1[_0x3ea0('0x7b')]||this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x2c5304=_0x23ddd1['name'];if(!this['_touchedMarkers']['has'](_0x2c5304))return void this['_touchedMarkers']['set'](_0x2c5304,{'range':_0x23ddd1[_0x3ea0('0xd')],'userId':_0x159cc9});const _0x43e47b=this['_touchedMarkers'][_0x3ea0('0x24')](_0x2c5304),_0x13e2b4=_0x43e47b[_0x3ea0('0x85')],_0x17be84=_0x23ddd1[_0x3ea0('0x6f')];null==_0x13e2b4&&null==_0x17be84||_0x13e2b4&&_0x17be84&&_0x13e2b4[_0x3ea0('0xd7')](_0x17be84)?this[_0x3ea0('0x26')][_0x3ea0('0x3a')](_0x23ddd1[_0x3ea0('0xd1')]):_0x43e47b['userId']=_0x159cc9;}['_handleRootOperation'](_0x24d94e,_0x5d16e4){this[_0x3ea0('0x10b')]['has'](_0x24d94e[_0x3ea0('0x10')])?this[_0x3ea0('0x10b')][_0x3ea0('0x24')](_0x24d94e[_0x3ea0('0x10')])[_0x3ea0('0xa9')]=_0x24d94e[_0x3ea0('0x8')]:(this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x24d94e['rootName'],G(_0x24d94e[_0x3ea0('0x10')],!0x0)),this['_diffRootsAttributes'][_0x3ea0('0x56')](_0x24d94e[_0x3ea0('0x10')],{}),_0x5d16e4&&this[_0x3ea0('0x6c')][_0x3ea0('0x56')](_0x24d94e[_0x3ea0('0x10')],G(_0x24d94e[_0x3ea0('0x10')],!0x0)));const _0x5225d8=null===_0x24d94e['_authorId']?null:_0x24d94e[_0x3ea0('0x7b')]||this['editor']['plugins'][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x8931ef=this[_0x3ea0('0xd9')]['get'](_0x24d94e[_0x3ea0('0x10')]);_0x8931ef&&_0x8931ef['userId']===_0x5225d8?this[_0x3ea0('0xd9')]['delete'](_0x24d94e[_0x3ea0('0x10')]):this[_0x3ea0('0xd9')][_0x3ea0('0x56')](_0x24d94e['rootName'],{'userId':_0x5225d8,'isAttached':_0x24d94e[_0x3ea0('0x8')]});}['_handleRootAttributeOperation'](_0x61f55c){const _0x146b68=this[_0x3ea0('0x73')]['get'](_0x61f55c['root']['rootName']);null===_0x61f55c[_0x3ea0('0xe')]?delete _0x146b68[_0x61f55c[_0x3ea0('0xdc')]]:_0x146b68[_0x61f55c['key']]=_0x61f55c[_0x3ea0('0xe')];}}function q(_0x5bbada){const _0x2d884f=G(_0x5bbada[_0x3ea0('0x10')],_0x5bbada[_0x3ea0('0x40')]());for(const _0x2d2b76 of _0x5bbada[_0x3ea0('0x5f')]()){const _0x2cc5fb=_0x2d2b76[_0x3ea0('0xa1')](!0x0);_0x2d884f[_0x3ea0('0xf9')](_0x2cc5fb);}return _0x2d884f;}function G(_0x376709,_0x4dacbb=!0x0){const _0x299c5e=new _0x3059ca();return _0x299c5e[_0x3ea0('0x10')]=_0x376709,_0x299c5e[_0x3ea0('0xa9')]=_0x4dacbb,_0x299c5e[_0x3ea0('0x40')]=()=>_0x299c5e['_isAttached'],_0x299c5e;}function L(_0x4f8ba4,_0x5dfbfe,_0x11d509){const _0x269c2e=_0x3ea0('0xa5')==_0x4f8ba4[_0x3ea0('0x4d')]?_0x11d509['createPositionAt'](_0x4f8ba4['item'],_0x3ea0('0x4a')):_0x11d509['createPositionBefore'](_0x4f8ba4['item']);return _0x11d509[_0x3ea0('0xaf')](_0x5dfbfe,_0x269c2e['path'],_0x269c2e[_0x3ea0('0x74')]);}function W(_0x3435f2,_0x48f058,_0x4b1fc7){const _0x57cec1='elementStart'==_0x3435f2[_0x3ea0('0x4d')]?_0x4b1fc7[_0x3ea0('0x53')](_0x3435f2[_0x3ea0('0xfc')],0x0):_0x4b1fc7[_0x3ea0('0xb3')](_0x3435f2[_0x3ea0('0xfc')]);return _0x4b1fc7[_0x3ea0('0xaf')](_0x48f058,_0x57cec1[_0x3ea0('0xae')],_0x57cec1['stickiness']);}
|