@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230726.0 → 0.0.0-nightly-20230727.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.
Files changed (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +6 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1734=['_makeModelFromViewString','_touchedMarkers','_applyOperations','_revisionId','document','toModel','revision:','attributes','RevisionTracker','_touched','_copyMarkers','afterInit','_handleMarkerOperation','getTime','rootName','root','getChild','_touchedRoots','processor','getWalker','offsetSize','end','authorsIds','PendingActions','position','view','forEach','buildRevisionData','_clone','graveyardPosition','_loadState','_bufferedUpdates','_baseRoots','sourcePosition','_revisionDataBuilder','finally','getAncestors','stickiness','_savedMetaData','model','creatorId','vid_start','attachChange','revision','_isInit','shift','set','type','$text','toData','initialData','define','dataDowncast','getRoot','currentRevision','insert','useFillerType','_reset','previousPosition','values','elementEnd','add','version','revisionHistory.resumeUnsavedRevision','push','_loadedStateData','_markers','_calculateMetaData','marked','requires','createdAt','locale','move','_removePendingAction','_saveMetaData','_getVidAttributeName','_createCurrentRevision','tableCell','_createFromRanges','delete','PENDING_ACTION_REVISION_HISTORY','_continueCurrentRevision','_processRootBeforeSave','RevisionsRepository','_removeRevisionMarkers','_isAttached','length','baseVersion','_pendingAction','keys','_execute','start','_operations','config','editor','bind','updateRevisions','history','sendBufferedUpdates','documentFragment','_addPendingAction','source','_transformMarkers','getTransformedByOperation','_createInitialRevision','toVersion','_update','_setConversion','offset','Users','$graveyard','then','getChildren','filter','createRange','getRange','startsWith','getRevisionDocumentData','getRevisionRootsAttributes','getLatestVersion','merge','stringify','editing','authors','has','insertions','_startingRevisionId','split','children','targetPosition','childCount','_setAttribute','oldRange','_replaceEditorDataWithRevisionData','addRevision','_handleSplitOperation','_insertChild','userId','fromEntries','repository','_diffRootsAttributes','createPositionAfter','string','find','paragraph','reverse','newValue','max','_findInsertionIndex','revision-start','isReady','_getPreviousFrom','getIndex','markers','RealTimeCollaborationClient','getUser','_diffRoots','clone','deletions','vid_end','isEnabled','element','parse','_initialRoots','loadState','nodeAfter','_fixRange','_makeIdsRoot','roots','_handleMergeOperation','_appendChild','isAttached','key','getCurrentRevisionId','ready','adapter','_lastFrom','path','marker','_fixPosition','_getViewJson','deletion','_handleInsertOperation','keepParagraph','_getState','Empty\x20document','text','_bufferUpdate','newRange','_handleOperation','range','createRevision','splitPosition','getAttributes','toView','clear','elementStart','getRevisions','get','insertion','getOperation','reinsert','update','howMany','markerToData','data-revision-','isEqual','setRevisionData','_authorId','diffData','parent','name','isAdd','_handleRootOperation','reInit','pluginName','getRootNames','_removeMetaData','conversion','_startingVersion','_loadRevisionData','from','editor-initial-data-replaced-with-revision-data','addRootAttribute','getData','_baseIdsRoots','sort','slice','attributesAfter','NEGATIVE_INFINITY','init','fromVersion','createPositionAt','item','setSource','_cloneOperation','creator','Initial\x20revision','map','getMovedRangeStart','createPositionFromPath','resolve','dataToMarker','addRevisionData','createRangeIn','_makeRevision','_idsRoots','_generateTape','collaboration.channelId','_initialRevisionId','rootsAttributes','_getFromVersion','getRevision','_handleRootAttributeOperation','_markChanges','_getBaseVids','_handleMoveOperation','size','vid','_isPendingUpdate','_baseRootsAttributes','includes','for','getNodeByPath','_fixOperation','_source','data','getAttribute','_prepareViewToSave','plugins','initial','_lastTo'];(function(_0x458fe1,_0x17349d){const _0x4c25bd=function(_0x32d0ca){while(--_0x32d0ca){_0x458fe1['push'](_0x458fe1['shift']());}};_0x4c25bd(++_0x17349d);}(_0x1734,0x188));const _0x4c25=function(_0x458fe1,_0x17349d){_0x458fe1=_0x458fe1-0x0;let _0x4c25bd=_0x1734[_0x458fe1];return _0x4c25bd;};import{Users as _0x4d228a}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x2808ac,PendingActions as _0x2899c8}from'ckeditor5/src/core';import{logWarning as _0x591ce1,uid as _0x311898}from'ckeditor5/src/utils';import{Position as _0x6ee2fe,Range as _0xd70dd2,Element as _0x41c059,DocumentFragment as _0x2f2bb2,ViewText as _0x240c52,ViewElement as _0x7a24be,ViewContainerElement as _0x1c9168,ViewAttributeElement as _0x3090fd,ViewEmptyElement as _0x1446b0,ViewRawElement as _0x4d1ce3,ViewUIElement as _0x5f1f5c,ViewDocumentFragment as _0xdb876f}from'ckeditor5/src/engine';import _0x68eede from'./revisionsrepository';import{getTranslation as _0x1c72f5}from'./utils/common-translations';import{cloneDeep as _0x461a48,isEqual as _0x4e452f}from'lodash-es';const B={'c':_0x1c9168,'a':_0x3090fd,'e':_0x1446b0,'r':_0x4d1ce3,'u':_0x5f1f5c};export default class l extends _0x2808ac{static get[_0x4c25('0x5f')](){return _0x4c25('0xa0');}static get[_0x4c25('0xdd')](){return[_0x4d228a,_0x68eede,_0x2899c8];}constructor(_0x35d3b2){super(_0x35d3b2),this[_0x4c25('0x37')]=null,this[_0x4c25('0xce')]=null,this[_0x4c25('0xba')]=new H(this['editor']),this[_0x4c25('0x81')]=this[_0x4c25('0xf6')][_0x4c25('0xf5')][_0x4c25('0x4e')](_0x4c25('0x80'))||_0x4c25('0x96'),this[_0x4c25('0xb7')]=new Map(),this[_0x4c25('0xd9')]=null;const _0x4bd836=_0x311898();this[_0x4c25('0x91')]={'history':this[_0x4c25('0xf6')][_0x4c25('0xbf')][_0x4c25('0x9c')][_0x4c25('0xf9')],'getLatestVersion':()=>Promise[_0x4c25('0x79')](this['editor'][_0x4c25('0xbf')][_0x4c25('0x9c')][_0x4c25('0xd6')]),'getCurrentRevisionId':()=>_0x4bd836},this[_0x4c25('0xc6')](_0x4c25('0x1e'),!0x1),this[_0x4c25('0xc6')](_0x4c25('0x28'),!0x0),this['set'](_0x4c25('0x8b'),!0x1),this['editor'][_0x4c25('0xf5')][_0x4c25('0xcb')](_0x4c25('0xd7'),!0x0),this[_0x4c25('0xf6')][_0x4c25('0x62')][_0x4c25('0x8e')]('upcast')[_0x4c25('0x7a')]({'view':'revision'});}[_0x4c25('0x6e')](){this[_0x4c25('0x13')]=this[_0x4c25('0xf6')][_0x4c25('0x95')]['get'](_0x4c25('0xeb')),this['_setConversion'](),this[_0x4c25('0xf6')][_0x4c25('0x92')]['on'](_0x4c25('0x36'),()=>{const _0x11f052=this[_0x4c25('0x13')][_0x4c25('0x84')](0x0),_0x118436=_0x11f052&&null===_0x11f052['creator']?_0x11f052:null;if(this[_0x4c25('0xe9')]=!!_0x118436&&this['editor']['config'][_0x4c25('0x4e')](_0x4c25('0xd7')),this['editor'][_0x4c25('0x95')]['has'](_0x4c25('0x22'))){const _0x3d78ab=this[_0x4c25('0x91')][_0x4c25('0x35')](),_0x49dbae=this[_0x4c25('0x13')]['getRevision'](_0x3d78ab);if(_0x49dbae)this['_startingVersion']=_0x49dbae[_0x4c25('0x6f')],this[_0x4c25('0xe9')]=!0x1;else{const _0x5b6750=this[_0x4c25('0x91')][_0x4c25('0xf9')][_0x4c25('0xf4')]['find'](_0x30d755=>!_0x30d755[_0x4c25('0xc4')]),_0x23a079=_0x5b6750?_0x5b6750[_0x4c25('0xef')]:this['_source']['history'][_0x4c25('0xd6')];_0x11f052?(_0x11f052[_0x4c25('0x101')]<_0x23a079&&_0x11f052['_update']({'toVersion':_0x23a079}),this[_0x4c25('0xe9')]?(this['_source'][_0x4c25('0x35')]=()=>_0x118436['id'],this['_startingVersion']=_0x118436[_0x4c25('0x6f')]):(this[_0x4c25('0x63')]=_0x11f052[_0x4c25('0x101')],this[_0x4c25('0xe9')]=!0x1)):(this[_0x4c25('0x63')]=_0x23a079,this[_0x4c25('0xe9')]=!0x1);}}else _0x118436&&(this[_0x4c25('0xf6')][_0x4c25('0xbf')][_0x4c25('0x9c')][_0x4c25('0xf9')][_0x4c25('0xd6')]=Math[_0x4c25('0x1b')](_0x118436[_0x4c25('0x101')],this[_0x4c25('0xf6')]['model'][_0x4c25('0x9c')]['history']['version']),_0x118436[_0x4c25('0x6f')]===_0x118436[_0x4c25('0x101')]?(0x0!==_0x118436[_0x4c25('0x6f')]&&(this[_0x4c25('0x91')]['getCurrentRevisionId']=()=>_0x118436['id']),this[_0x4c25('0xe9')]=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x118436['id'],this[_0x4c25('0x63')]=_0x118436[_0x4c25('0x6f')])),this[_0x4c25('0xe9')]||(this[_0x4c25('0x63')]=this[_0x4c25('0xf6')]['model'][_0x4c25('0x9c')][_0x4c25('0xd6')]);this[_0x4c25('0xba')]['init'](this[_0x4c25('0x91')][_0x4c25('0xf9')]),this[_0x4c25('0x100')](this[_0x4c25('0x63')]),this['_createCurrentRevision'](this[_0x4c25('0x63')]),this[_0x4c25('0x37')]&&this['sendBufferedUpdates']();}),this[_0x4c25('0xf7')]('isReady')['to'](this,_0x4c25('0x8b'),_0x435575=>!_0x435575);}async[_0x4c25('0xa3')](){if(this[_0x4c25('0x13')]['length']>0x0){const _0x2e4a0f=this[_0x4c25('0x13')]['getRevision'](0x0),_0x22df4a=await this[_0x4c25('0x10d')](_0x2e4a0f),_0x15d957=await this[_0x4c25('0x10e')](_0x2e4a0f);this[_0x4c25('0xd')](_0x22df4a,_0x15d957);}}[_0x4c25('0x72')](_0x413455){this['_source']=_0x413455;}async[_0x4c25('0x52')](){const _0x165f61=await this[_0x4c25('0x91')][_0x4c25('0x10f')]();if(_0x165f61>this[_0x4c25('0xce')][_0x4c25('0x101')]){await this[_0x4c25('0xb6')]();const _0x254f08=this['buildRevisionData']({'revision':this[_0x4c25('0xce')],'to':_0x165f61});_0x254f08[_0x4c25('0x3')]=_0x254f08['authorsIds']['map'](_0x32a132=>this[_0x4c25('0xf6')][_0x4c25('0x95')][_0x4c25('0x4e')](_0x4c25('0x105'))[_0x4c25('0x23')](_0x32a132)),this[_0x4c25('0xce')]['_update'](_0x254f08);}}async[_0x4c25('0xb6')](){this[_0x4c25('0xe9')]&&!this['_loadedStateData']&&(await this[_0x4c25('0x64')](this[_0x4c25('0xce')]),this[_0x4c25('0xba')][_0x4c25('0x2c')](this['currentRevision']),this['_loadedStateData']={'fromVersion':this[_0x4c25('0xce')][_0x4c25('0x6f')],'authors':this[_0x4c25('0xce')][_0x4c25('0x3')][_0x4c25('0x6b')]()});}async['saveRevision'](_0x2e7c33={},_0x5ac2f9=null){const _0x509d80=[];await this[_0x4c25('0xb6')](),this['_continueCurrentRevision']=!0x1,_0x5ac2f9>this['currentRevision'][_0x4c25('0x101')]&&(_0x5ac2f9=null),null===_0x5ac2f9&&(_0x5ac2f9=await this['_source']['getLatestVersion']());const _0xe200b9=this[_0x4c25('0x83')](_0x5ac2f9),_0x1c1dbe=this['buildRevisionData']({'from':_0xe200b9,'to':_0x5ac2f9});if(this['currentRevision'][_0x4c25('0x101')]<_0x5ac2f9){const _0x3fb5e6=this['buildRevisionData']({'revision':this[_0x4c25('0xce')],'from':_0x5ac2f9,'to':_0x5ac2f9});_0x3fb5e6[_0x4c25('0x3')]=[],_0x3fb5e6['authorsIds']=[],_0x3fb5e6['id']=this[_0x4c25('0xce')]['id'],this[_0x4c25('0xce')][_0x4c25('0x102')](_0x3fb5e6,!0x0),delete _0x3fb5e6['authors'],_0x509d80[_0x4c25('0xd8')](_0x3fb5e6);}_0x2e7c33[_0x4c25('0xc0')]=this[_0x4c25('0xf6')]['plugins']['get']('Users')['me']['id'],_0x2e7c33[_0x4c25('0x5b')]=_0x2e7c33[_0x4c25('0x5b')]||null,_0x2e7c33['id']=_0x2e7c33['id']||_0x311898(),_0x2e7c33={..._0x2e7c33,..._0x1c1dbe};const _0x1de13c=this['addRevisionData'](_0x2e7c33);_0x509d80[_0x4c25('0xd8')](_0x2e7c33);const _0x4b6d58=this[_0x4c25('0x13')][_0x4c25('0x20')](_0x1de13c);if(0x0!==_0x4b6d58){const _0x2fd93e=this[_0x4c25('0x13')]['getRevision'](_0x4b6d58-0x1);if(_0x2fd93e['fromVersion']!==_0x5ac2f9){const _0x4a8cc7=this['_revisionDataBuilder'][_0x4c25('0x68')](_0x5ac2f9,_0x2fd93e[_0x4c25('0x101')]),_0x55f4c3={'id':_0x2fd93e['id'],'diffData':_0x4a8cc7[_0x4c25('0x59')],'authorsIds':_0x4a8cc7[_0x4c25('0xae')],'authors':_0x4a8cc7[_0x4c25('0xae')][_0x4c25('0x76')](_0x36b2dc=>this['editor'][_0x4c25('0x95')]['get'](_0x4c25('0x105'))['getUser'](_0x36b2dc)),'fromVersion':_0x5ac2f9};_0x2fd93e===this[_0x4c25('0xce')]&&(_0x55f4c3[_0x4c25('0xde')]=new Date(_0x2e7c33[_0x4c25('0xde')][_0x4c25('0xa5')]()+0xa)),_0x2fd93e['_update'](_0x55f4c3,!0x0),delete _0x55f4c3[_0x4c25('0x3')],_0x509d80[_0x4c25('0xd8')](_0x55f4c3);}}if(this[_0x4c25('0x37')]){for(const _0x2bfdac of _0x509d80)this['_bufferUpdate'](_0x2bfdac['id'],_0x2bfdac,!0x0);this[_0x4c25('0xfa')]();}return _0x1de13c;}[_0x4c25('0x7b')](_0x2b4eac){const _0x49b7c2=this[_0x4c25('0x13')][_0x4c25('0x47')](_0x2b4eac);return this['adapter']&&_0x49b7c2['on']('_update',(_0x54c296,_0x4e27b6,_0x4b879c)=>{_0x4b879c||(this['_bufferUpdate'](_0x4e27b6['id'],_0x4e27b6,!0x0),this[_0x4c25('0xfa')]());}),this[_0x4c25('0x13')][_0x4c25('0xe')](_0x49b7c2,this[_0x4c25('0x1c')](_0x49b7c2)),_0x49b7c2;}async[_0x4c25('0x10d')](_0xe5ba9a){await this['_loadRevisionData'](_0xe5ba9a);const _0x2fe0be={};for(const _0x2ada4c in _0xe5ba9a[_0x4c25('0x59')]){if(_0xe5ba9a[_0x4c25('0x59')][_0x2ada4c][_0x4c25('0xc2')]&&!_0xe5ba9a['diffData'][_0x2ada4c]['attachChange'][_0x4c25('0x33')])continue;const _0x24b358=this[_0x4c25('0xec')](JSON[_0x4c25('0x2a')](_0xe5ba9a['diffData'][_0x2ada4c]['insertions'])),_0xebf7c7=this[_0x4c25('0xf6')][_0x4c25('0x2')][_0x4c25('0xb1')][_0x4c25('0x9c')],_0x2ff830=new _0xdb876f(_0xebf7c7,_0x24b358[_0x4c25('0x76')](_0x1402b4=>J(_0x1402b4,this['editor'])));this[_0x4c25('0xf6')][_0x4c25('0x92')]['processor'][_0x4c25('0xd0')](_0x4c25('0xdc')),_0x2fe0be[_0x2ada4c]=this[_0x4c25('0xf6')][_0x4c25('0x92')][_0x4c25('0xaa')][_0x4c25('0xc9')](_0x2ff830),this['editor'][_0x4c25('0x92')][_0x4c25('0xaa')][_0x4c25('0xd0')]('default');}return _0x2fe0be;}async[_0x4c25('0x10e')](_0x2669dd){await this['_loadRevisionData'](_0x2669dd);const _0x374c03={};for(const _0x1bb138 in _0x2669dd[_0x4c25('0x59')])_0x2669dd[_0x4c25('0x59')][_0x1bb138][_0x4c25('0xc2')]&&!_0x2669dd[_0x4c25('0x59')][_0x1bb138][_0x4c25('0xc2')][_0x4c25('0x33')]||(_0x374c03[_0x1bb138]=_0x2669dd['diffData'][_0x1bb138][_0x4c25('0x6c')]||{});return _0x374c03;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates'][_0x4c25('0x89')])return;if(this[_0x4c25('0x8b')])return;let _0x5c59c4=Array[_0x4c25('0x65')](this[_0x4c25('0xb7')][_0x4c25('0xd3')]());this[_0x4c25('0xb7')][_0x4c25('0x4b')]();for(let _0x547975=0x0;_0x547975<_0x5c59c4[_0x4c25('0xee')];_0x547975++){const _0x6b91e0=_0x5c59c4[_0x547975];let _0x29b27d=!0x1;for(const _0x85efea of Object[_0x4c25('0xf1')](_0x6b91e0))void 0x0===_0x6b91e0[_0x85efea]?delete _0x6b91e0[_0x85efea]:'id'!==_0x85efea&&(_0x29b27d=!0x0);_0x29b27d||(_0x5c59c4[_0x547975]=null);}if(_0x5c59c4=_0x5c59c4[_0x4c25('0x109')](_0x2432b8=>null!==_0x2432b8),!_0x5c59c4[_0x4c25('0xee')])return;for(let _0x3d5d2d=0x0;_0x3d5d2d<_0x5c59c4[_0x4c25('0xee')];_0x3d5d2d++){const _0xf7658e=_0x5c59c4[_0x3d5d2d];void 0x0!==_0xf7658e[_0x4c25('0x6f')]&&void 0x0===_0xf7658e[_0x4c25('0x101')]&&(_0xf7658e[_0x4c25('0x101')]=this[_0x4c25('0x13')]['getRevision'](_0xf7658e['id'])[_0x4c25('0x101')]),void 0x0!==_0xf7658e[_0x4c25('0x101')]&&void 0x0===_0xf7658e[_0x4c25('0x6f')]&&(_0xf7658e[_0x4c25('0x6f')]=this[_0x4c25('0x13')][_0x4c25('0x84')](_0xf7658e['id'])['fromVersion']);}const _0x1ebc16=this[_0x4c25('0xf6')][_0x4c25('0xf5')][_0x4c25('0x4e')](_0x4c25('0x80'));this[_0x4c25('0x8b')]=!0x0,this[_0x4c25('0xfc')](),this[_0x4c25('0x37')][_0x4c25('0xf8')](_0x5c59c4,_0x1ebc16)[_0x4c25('0xbb')](()=>{this[_0x4c25('0x8b')]=!0x1;})[_0x4c25('0x107')](_0x321cd1=>{if(_0x321cd1)for(const _0x57d958 of _0x321cd1)this[_0x4c25('0x57')]({'id':_0x57d958['id'],'createdAt':_0x57d958[_0x4c25('0xde')]});this[_0x4c25('0xe1')](),this[_0x4c25('0xfa')]();});}['_replaceEditorDataWithRevisionData'](_0x5e7a49,_0xb44367){let _0x2db64b=this[_0x4c25('0xf6')]['config']['get'](_0x4c25('0xca')),_0x28cc83=this['editor']['config']['get'](_0x4c25('0x82'));if(void 0x0===_0x2db64b){_0x2db64b={};for(const _0x50e828 of this[_0x4c25('0xf6')][_0x4c25('0xbf')][_0x4c25('0x9c')][_0x4c25('0x60')]())_0x2db64b[_0x50e828]='';}if(_0x4c25('0x16')==typeof _0x2db64b&&(_0x2db64b={'main':_0x2db64b}),void 0x0===_0x28cc83){_0x28cc83={};for(const _0x18c191 of this['editor'][_0x4c25('0xbf')][_0x4c25('0x9c')][_0x4c25('0x60')]())_0x28cc83[_0x18c191]={};}let _0x372b91=!0x1;const _0x49e76f=Object['keys'](_0x2db64b),_0x593245=Object['keys'](_0x5e7a49);for(const _0x5d1e5c of _0x49e76f){if(_0x2db64b[_0x5d1e5c]!==_0x5e7a49[_0x5d1e5c]&&''!==_0x2db64b[_0x5d1e5c]['trim']()){_0x372b91=!0x0;break;}if(!_0x4e452f(_0x28cc83[_0x5d1e5c],_0xb44367[_0x5d1e5c])&&Object[_0x4c25('0xf1')](_0x28cc83[_0x5d1e5c])[_0x4c25('0xee')]>0x0){_0x372b91=!0x0;break;}}_0x372b91||(_0x372b91=_0x593245['some'](_0x499170=>!_0x49e76f[_0x4c25('0x8d')](_0x499170))),_0x372b91&&_0x591ce1(_0x4c25('0x66'),{'editorData':_0x2db64b,'editorRootsAttributes':_0x28cc83,'revisionData':_0x5e7a49,'revisionRootsAttributes':_0xb44367}),this[_0x4c25('0xf6')][_0x4c25('0xf5')][_0x4c25('0xc6')](_0x4c25('0xca'),_0x5e7a49),this[_0x4c25('0xf6')][_0x4c25('0xf5')][_0x4c25('0xc6')](_0x4c25('0x82'),_0xb44367);}[_0x4c25('0xfc')](){if(!this['_pendingAction']){const _0x2b0974=this[_0x4c25('0xf6')][_0x4c25('0x95')][_0x4c25('0x4e')](_0x4c25('0xaf'));this['_pendingAction']=_0x2b0974[_0x4c25('0xd5')](_0x1c72f5(this['editor'][_0x4c25('0xdf')],_0x4c25('0xe8')));}}['_removePendingAction'](){this[_0x4c25('0xf0')]&&(this['editor'][_0x4c25('0x95')]['get'](_0x4c25('0xaf'))['remove'](this[_0x4c25('0xf0')]),this[_0x4c25('0xf0')]=null);}[_0x4c25('0x1c')](_0xf9e9d8){const _0x2816de=this[_0x4c25('0x13')]['getRevisions']();_0x2816de[_0x4c25('0x19')]();let _0x1b8aac=0x0;for(;_0x1b8aac<_0x2816de[_0x4c25('0xee')];){const _0x3f6f89=_0x2816de[_0x1b8aac];if(_0x3f6f89===this[_0x4c25('0xce')]){_0x1b8aac++;continue;}if(_0x3f6f89['id']===this[_0x4c25('0x81')])break;const _0x2552b6=_0xf9e9d8['toVersion']-_0x3f6f89[_0x4c25('0x101')]||_0xf9e9d8[_0x4c25('0x6f')]-_0x3f6f89[_0x4c25('0x6f')];if(_0x2552b6>0x0)break;if(_0x2552b6<0x0)_0x1b8aac++;else{if(!_0xf9e9d8[_0x4c25('0x74')]&&_0x3f6f89['creator'])break;if(_0x3f6f89['creator']||!_0xf9e9d8['creator']){if(_0xf9e9d8[_0x4c25('0xde')]>_0x3f6f89[_0x4c25('0xde')])break;_0x1b8aac++;}else _0x1b8aac++;}}return _0x1b8aac;}[_0x4c25('0x57')](_0x412785){const _0x2f6d82=this[_0x4c25('0x13')][_0x4c25('0x84')](_0x412785['id']);if(_0x412785['createdAt']&&(_0x412785[_0x4c25('0xde')]=new Date(_0x412785[_0x4c25('0xde')])),_0x412785[_0x4c25('0xae')]){const _0x1231c1=this[_0x4c25('0xf6')][_0x4c25('0x95')]['get']('Users');_0x412785[_0x4c25('0x3')]=_0x412785[_0x4c25('0xae')][_0x4c25('0x76')](_0x50ec9c=>_0x1231c1[_0x4c25('0x23')](_0x50ec9c));}_0x2f6d82[_0x4c25('0x102')](_0x412785,!0x0);}['buildRevisionData']({revision:_0x14e9c0=null,from:_0x3fecc2=null,to:_0x4fa1da=null}){_0x3fecc2=null!==_0x3fecc2?_0x3fecc2:_0x14e9c0[_0x4c25('0x6f')],_0x4fa1da=null!==_0x4fa1da?_0x4fa1da:_0x14e9c0[_0x4c25('0x101')];const _0xe3f9dc=this[_0x4c25('0xba')][_0x4c25('0x68')](_0x3fecc2,_0x4fa1da),_0x159c73={'diffData':_0xe3f9dc['diffData'],'authorsIds':_0xe3f9dc['authorsIds'],'fromVersion':_0x3fecc2,'toVersion':_0x4fa1da};if(!_0x14e9c0||_0x4fa1da!==_0x14e9c0[_0x4c25('0x101')]){const _0x1e2fc1=_0x4fa1da-0x1,_0x457baa=this[_0x4c25('0x91')][_0x4c25('0xf9')][_0x4c25('0x50')](_0x1e2fc1);_0x159c73[_0x4c25('0xde')]=_0x457baa&&_0x457baa[_0x4c25('0xde')]||new Date();}if(this['_loadedStateData']&&_0x3fecc2===this[_0x4c25('0xd9')][_0x4c25('0x6f')])for(const _0x54e9fc of this[_0x4c25('0xd9')][_0x4c25('0x3')])_0x159c73[_0x4c25('0xae')][_0x4c25('0x8d')](_0x54e9fc['id'])||_0x159c73[_0x4c25('0xae')][_0x4c25('0xd8')](_0x54e9fc['id']);return _0x159c73;}[_0x4c25('0x64')](_0xc3b518){if(!_0xc3b518||_0xc3b518[_0x4c25('0x59')])return Promise[_0x4c25('0x79')]();{const _0x2b98a2=this['editor'][_0x4c25('0xf5')][_0x4c25('0x4e')](_0x4c25('0x80'));return this[_0x4c25('0x37')]['getRevision']({'channelId':_0x2b98a2,'revisionId':_0xc3b518['id']})['then'](_0xf34960=>{_0xc3b518[_0x4c25('0x59')]=_0xf34960['diffData'];});}}[_0x4c25('0x43')](_0x41f9b2,_0x5966ca,_0x4c6ff0){if(this[_0x4c25('0xb7')][_0x4c25('0x4')](_0x41f9b2)){const _0x342a2e=this['_bufferedUpdates']['get'](_0x41f9b2);_0x5966ca=_0x4c6ff0?{..._0x342a2e,..._0x5966ca}:{..._0x5966ca,..._0x342a2e};}this['_bufferedUpdates'][_0x4c25('0xc6')](_0x41f9b2,_0x5966ca);}[_0x4c25('0x83')](_0x11a2c9){const _0x2f1289=this[_0x4c25('0x13')][_0x4c25('0x4d')]();_0x2f1289[_0x4c25('0x19')](),_0x2f1289[_0x4c25('0xc5')]();const _0x41802d=_0x2f1289[_0x4c25('0x17')](_0x40c419=>_0x40c419[_0x4c25('0x101')]<=_0x11a2c9)['toVersion'];return _0x41802d<this[_0x4c25('0x63')]?this['_startingVersion']:_0x41802d;}['_createInitialRevision'](_0xdba7c6){const _0x4c22e3=this[_0x4c25('0x13')][_0x4c25('0x84')](this[_0x4c25('0x13')]['length']-0x1);if(_0x4c22e3)this[_0x4c25('0x81')]=_0x4c22e3['id'];else{const _0x2976a0=!this[_0x4c25('0xf6')][_0x4c25('0xbf')]['document'][_0x4c25('0x30')][_0x4c25('0x17')](_0x12691e=>this[_0x4c25('0xf6')][_0x4c25('0xbf')]['hasContent'](_0x12691e)),_0x35adb0=this['editor']['plugins'][_0x4c25('0x4e')](_0x4c25('0x105'))['me']['id'],_0x456ae4=_0x1c72f5(this['editor'][_0x4c25('0xdf')],_0x2976a0?_0x4c25('0x41'):_0x4c25('0x75'));this[_0x4c25('0x7d')]({'from':_0xdba7c6,'to':_0xdba7c6,'id':this['_initialRevisionId'],'name':_0x456ae4,'creatorId':_0x35adb0});}}[_0x4c25('0xe4')](_0x111ede){const _0x2c8741=this['_source']['getCurrentRevisionId']();this[_0x4c25('0xce')]=this[_0x4c25('0x13')][_0x4c25('0x84')](_0x2c8741),this['currentRevision']||(this[_0x4c25('0xce')]=this[_0x4c25('0x7d')]({'from':_0x111ede,'to':_0x111ede,'id':_0x2c8741,'name':'','creatorId':null}));}[_0x4c25('0x7d')]({name:_0x2e9aea,from:_0x3a7346,to:_0x1cb377,creatorId:_0x33f598,id:_0x6a94f4}){const _0x551c9a=this[_0x4c25('0xb3')]({'from':_0x3a7346,'to':_0x1cb377});_0x551c9a['name']=_0x2e9aea,_0x551c9a[_0x4c25('0xc0')]=_0x33f598,_0x551c9a['id']=_0x6a94f4;const _0x3e653f=this[_0x4c25('0x7b')](_0x551c9a);return this[_0x4c25('0x37')]&&this['_bufferUpdate'](_0x551c9a['id'],_0x551c9a,!0x0),_0x3e653f;}[_0x4c25('0x103')](){this['editor'][_0x4c25('0x62')][_0x4c25('0x8e')](_0x4c25('0xcc'))[_0x4c25('0x54')]({'model':_0x4c25('0xc3')});}[_0x4c25('0xec')](_0x36c922){return(_0x36c922=_0x36c922[_0x4c25('0x109')](_0x152952=>!_0x152952[_0x4c25('0x5b')]||_0x4c25('0x1d')!==_0x152952['name']&&'revision-end'!==_0x152952[_0x4c25('0x5b')]))[_0x4c25('0xb2')](_0x36ab00=>{_0x4c25('0x16')!=typeof _0x36ab00&&(_0x36ab00[_0x4c25('0x8')]=this[_0x4c25('0xec')](_0x36ab00['children']),_0x36ab00['attributes']=_0x36ab00[_0x4c25('0x9f')][_0x4c25('0x109')](_0x161130=>!_0x161130[0x0][_0x4c25('0x10c')](_0x4c25('0x55'))));}),_0x36c922;}}function J(_0x1d3e5f,_0x319b51){const _0x1c8feb=_0x319b51[_0x4c25('0x2')][_0x4c25('0xb1')][_0x4c25('0x9c')];if('string'==typeof _0x1d3e5f)return new _0x240c52(_0x1c8feb,_0x1d3e5f);{const _0x32ac8c=_0x1d3e5f[_0x4c25('0x8')][_0x4c25('0x76')](_0x793abc=>J(_0x793abc,_0x319b51));return new(B[_0x1d3e5f[(_0x4c25('0xc7'))]]||_0x7a24be)(_0x1c8feb,_0x1d3e5f[_0x4c25('0x5b')],_0x1d3e5f[_0x4c25('0x9f')],_0x32ac8c);}}class H{constructor(_0x5f41ba){this['editor']=_0x5f41ba,this['_savedMetaData']=new Map(),this[_0x4c25('0x38')]=-0x1,this[_0x4c25('0x97')]=-0x1,this[_0x4c25('0xda')]=new Map(),this[_0x4c25('0x24')]=new Map(),this['_diffRootsAttributes']=new Map(),this[_0x4c25('0xb8')]=new Map(),this[_0x4c25('0x8c')]=new Map(),this[_0x4c25('0x7e')]=new Map(),this[_0x4c25('0x69')]=new Map(),this[_0x4c25('0xa1')]=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this[_0x4c25('0x9b')]=0x1,this[_0x4c25('0x2b')]=this[_0x4c25('0xf6')]['model'][_0x4c25('0x9c')][_0x4c25('0x60')](),this[_0x4c25('0x2b')][_0x4c25('0xd8')](_0x4c25('0x106'));}[_0x4c25('0x6e')](_0x18218e){this['source']=_0x18218e;const _0x58699a=new Map(),_0xb12ee3=new Map(),_0x32a130=this[_0x4c25('0xf6')][_0x4c25('0xbf')]['document']['getRootNames'](!0x0);_0x32a130[_0x4c25('0xd8')](_0x4c25('0x106'));for(const _0x339d09 of _0x32a130){const _0x4f5a33=this['editor'][_0x4c25('0xbf')][_0x4c25('0x9c')][_0x4c25('0xcd')](_0x339d09),_0x1c5213=q(_0x4f5a33);_0x58699a[_0x4c25('0xc6')](_0x339d09,_0x1c5213),_0xb12ee3['set'](_0x339d09,Object[_0x4c25('0x12')](_0x4f5a33[_0x4c25('0x49')]()));}const _0x3f4669=Array[_0x4c25('0x65')](this[_0x4c25('0xf6')][_0x4c25('0xbf')][_0x4c25('0x21')])[_0x4c25('0x76')](_0x2e215d=>[_0x2e215d[_0x4c25('0x5b')],_0x2e215d[_0x4c25('0x10b')]()]),_0x1f11bb=this[_0x4c25('0xfd')][_0x4c25('0xd6')];this['_saveMetaData'](_0x1f11bb,_0x58699a,_0x3f4669,_0xb12ee3),this['_startingRevisionId']=this[_0x4c25('0x9b')];const _0x51c0eb=new Map(),_0x1c2127=new Map();for(const _0x3dbf47 of this[_0x4c25('0x2b')]){const _0x462a72=G(_0x3dbf47);_0x51c0eb[_0x4c25('0xc6')](_0x3dbf47,_0x462a72),_0x1c2127[_0x4c25('0xc6')](_0x3dbf47,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x51c0eb,[],_0x1c2127);}['getData'](_0xc2960f,_0x2ff6db){if(this[_0x4c25('0x38')]===_0xc2960f&&this[_0x4c25('0x97')]<=_0x2ff6db)this['_savedMetaData'][_0x4c25('0x89')]>0x1&&this['_removeMetaData'](this[_0x4c25('0x97')]),this[_0x4c25('0x9a')](this[_0x4c25('0x97')],_0x2ff6db,!0x0);else{if(!this[_0x4c25('0xbe')][_0x4c25('0x4')](_0xc2960f)){const _0x2af241=this[_0x4c25('0x1f')](_0xc2960f);this[_0x4c25('0xdb')](_0x2af241,_0xc2960f,!0x1);}this[_0x4c25('0xdb')](_0xc2960f,_0x2ff6db,!0x0);}return this['_lastFrom']=_0xc2960f,this[_0x4c25('0x97')]=_0x2ff6db,this[_0x4c25('0x40')]();}[_0x4c25('0x2c')](_0x16deb0){this[_0x4c25('0xd1')](),this[_0x4c25('0x38')]=_0x16deb0['fromVersion'],this[_0x4c25('0x97')]=_0x16deb0[_0x4c25('0x101')];for(const _0x52f066 in _0x16deb0['diffData']){const _0x54f822=_0x16deb0[_0x4c25('0x59')][_0x52f066][_0x4c25('0xc2')],_0x1c6102=_0x461a48(_0x16deb0[_0x4c25('0x59')][_0x52f066]['attributesBefore'])||{},_0x1dc22f=this[_0x4c25('0x98')](_0x16deb0[_0x4c25('0x59')][_0x52f066][_0x4c25('0x26')]);_0x1dc22f[_0x4c25('0xa6')]=_0x52f066,_0x1dc22f[_0x4c25('0xed')]=!_0x54f822||!_0x54f822['isAttached'],_0x1dc22f[_0x4c25('0x33')]=()=>_0x1dc22f[_0x4c25('0xed')],this['_baseRoots']['set'](_0x52f066,_0x1dc22f),this[_0x4c25('0x8c')][_0x4c25('0xc6')](_0x52f066,_0x1c6102),_0x54f822&&this['_touchedRoots'][_0x4c25('0xc6')](_0x52f066,_0x54f822);const _0x4932a3=this[_0x4c25('0x2f')](_0x1dc22f);this[_0x4c25('0x69')][_0x4c25('0xc6')](_0x52f066,_0x4932a3);for(const [_0x157fc7,_0x536309]of _0x1dc22f[_0x4c25('0x21')]){if(!_0x157fc7['startsWith'](_0x4c25('0x9e')))continue;const _0x1eea88=_0x157fc7[_0x4c25('0x7')](':')[0x2];for(const _0x12dda2 of _0x536309[_0x4c25('0xab')]({'singleCharacters':!0x0})){const _0x56f3ea=this[_0x4c25('0xe3')](_0x12dda2),_0x1d15b3=_0x4c25('0xd4')==_0x12dda2[_0x4c25('0xc7')]?_0x12dda2[_0x4c25('0xd2')][_0x4c25('0x39')][_0x4c25('0x6b')](0x0,-0x1):_0x12dda2['previousPosition'][_0x4c25('0x39')],_0x2790e7=_0x4932a3[_0x4c25('0x8f')](_0x1d15b3)[_0x4c25('0x93')](_0x56f3ea);this[_0x4c25('0xa1')][_0x4c25('0xc6')](_0x2790e7,{'userId':_0x1eea88});}}}this[_0x4c25('0x6')]=this[_0x4c25('0x9b')];const _0x49dbf1=[...Array(this[_0x4c25('0x9b')])[_0x4c25('0xf1')]()][_0x4c25('0x6b')](0x1)[_0x4c25('0x109')](_0x258296=>!this[_0x4c25('0xa1')]['has'](_0x258296));let _0x337be9=0x0;const _0x1ea1e9=new Map();for(const _0x2d29e1 in _0x16deb0[_0x4c25('0x59')]){const _0x35a5b7=_0x16deb0[_0x4c25('0x59')][_0x2d29e1][_0x4c25('0xc2')],_0x3f9af7=_0x461a48(_0x16deb0[_0x4c25('0x59')][_0x2d29e1][_0x4c25('0x6c')])||{},_0x2479c3=this[_0x4c25('0x98')](_0x16deb0['diffData'][_0x2d29e1][_0x4c25('0x5')]);_0x2479c3[_0x4c25('0xa6')]=_0x2d29e1,_0x2479c3[_0x4c25('0xed')]=!_0x35a5b7||_0x35a5b7[_0x4c25('0x33')],_0x2479c3[_0x4c25('0x33')]=()=>_0x2479c3['_isAttached'],this['_diffRoots'][_0x4c25('0xc6')](_0x2d29e1,_0x2479c3),this[_0x4c25('0x14')][_0x4c25('0xc6')](_0x2d29e1,_0x3f9af7);const _0x1af9af=this[_0x4c25('0x2f')](_0x2479c3,Number[_0x4c25('0x6d')]);this[_0x4c25('0x7e')][_0x4c25('0xc6')](_0x2d29e1,_0x1af9af),_0x1ea1e9[_0x4c25('0xc6')](_0x2d29e1,_0x2479c3[_0x4c25('0x33')]()?_0x3f9af7:{});for(const [_0xc4c4c1,_0x431b59]of _0x2479c3[_0x4c25('0x21')]){if(!_0xc4c4c1[_0x4c25('0x10c')]('revision:'))continue;const _0x566772=_0xc4c4c1['split'](':')[0x2];for(const _0x50ab19 of _0x431b59[_0x4c25('0xab')]({'singleCharacters':!0x0})){const _0x1b01f2=this[_0x4c25('0xe3')](_0x50ab19),_0x43be0c=this[_0x4c25('0x9b')]++,_0x1fd92b=_0x4c25('0xd4')==_0x50ab19[_0x4c25('0xc7')]?_0x50ab19['previousPosition'][_0x4c25('0x39')][_0x4c25('0x6b')](0x0,-0x1):_0x50ab19[_0x4c25('0xd2')]['path'];_0x1af9af[_0x4c25('0x8f')](_0x1fd92b)[_0x4c25('0xb')](_0x1b01f2,_0x43be0c),this['_touched'][_0x4c25('0xc6')](_0x43be0c,{'userId':_0x566772});}}for(const _0x36b110 of this[_0x4c25('0xf6')][_0x4c25('0xbf')][_0x4c25('0x7c')](_0x2479c3)[_0x4c25('0xab')]({'singleCharacters':!0x0})){const _0x5dd389=this['_getVidAttributeName'](_0x36b110),_0x180b86='elementEnd'==_0x36b110[_0x4c25('0xc7')]?_0x36b110[_0x4c25('0xd2')][_0x4c25('0x39')]['slice'](0x0,-0x1):_0x36b110[_0x4c25('0xd2')]['path'],_0x23b233=_0x1af9af[_0x4c25('0x8f')](_0x180b86);_0x23b233[_0x4c25('0x93')](_0x5dd389)>0x0||_0x23b233[_0x4c25('0xb')](_0x5dd389,_0x49dbf1[_0x337be9++]);}for(const [_0x486818,_0xeab78b]of _0x2479c3[_0x4c25('0x21')])_0x486818['startsWith']('revision:')||this[_0x4c25('0xda')][_0x4c25('0xc6')](_0x486818,_0xeab78b);}const _0x120b17=G(_0x4c25('0x106'));this[_0x4c25('0xb8')][_0x4c25('0xc6')]('$graveyard',_0x120b17),this['_baseIdsRoots'][_0x4c25('0xc6')](_0x4c25('0x106'),this[_0x4c25('0x2f')](_0x120b17,0x1));const _0x1090f5=G(_0x4c25('0x106'));this[_0x4c25('0x24')][_0x4c25('0xc6')]('$graveyard',_0x1090f5),this[_0x4c25('0x7e')][_0x4c25('0xc6')](_0x4c25('0x106'),this[_0x4c25('0x2f')](_0x1090f5,0x1));const _0x1105ac=Array[_0x4c25('0x65')](this[_0x4c25('0x24')])[_0x4c25('0x76')](([_0x327ab1,_0x313b4a])=>[_0x327ab1,q(_0x313b4a)]);this[_0x4c25('0xe2')](this[_0x4c25('0x97')],_0x1105ac,this[_0x4c25('0xda')],_0x1ea1e9);}['_makeModelFromViewString'](_0x442c6d){const _0x3d862e=JSON[_0x4c25('0x2a')](_0x442c6d),_0x1596fb=this[_0x4c25('0xf6')][_0x4c25('0x2')]['view']['document'],_0x2a1657=new _0xdb876f(_0x1596fb,_0x3d862e[_0x4c25('0x76')](_0x5d3743=>J(_0x5d3743,this[_0x4c25('0xf6')])));return this[_0x4c25('0xf6')][_0x4c25('0x92')][_0x4c25('0x9d')](_0x2a1657);}[_0x4c25('0xe2')](_0x4535e6,_0x4b43cb,_0x2f51e6,_0x5e9e1c){const _0x5a0118=new Map(_0x4b43cb),_0x58cdfb=new Map(_0x461a48(_0x5e9e1c)),_0x1fb5ad=new Map();for(const [_0x2429fe,_0xb79445]of _0x2f51e6)_0x1fb5ad['set'](_0x2429fe,{'start':_0xb79445[_0x4c25('0xf3')][_0x4c25('0x25')](),'end':_0xb79445['end'][_0x4c25('0x25')](),'rootName':_0xb79445[_0x4c25('0xa7')][_0x4c25('0xa6')]});this[_0x4c25('0xbe')][_0x4c25('0xc6')](_0x4535e6,{'roots':_0x5a0118,'markers':_0x1fb5ad,'rootsAttributes':_0x58cdfb});}[_0x4c25('0x61')](_0x40c76b){this[_0x4c25('0xbe')]['delete'](_0x40c76b);}[_0x4c25('0x5e')](){this['_reset'](),this[_0x4c25('0x38')]=-0x1,this[_0x4c25('0x97')]=-0x1,this[_0x4c25('0xbe')][_0x4c25('0x4b')](),this[_0x4c25('0x6e')](this[_0x4c25('0xfd')]);}[_0x4c25('0xd1')](){this['_touched']['clear'](),this['_touchedMarkers'][_0x4c25('0x4b')](),this[_0x4c25('0xa9')][_0x4c25('0x4b')](),this[_0x4c25('0x24')][_0x4c25('0x4b')](),this['_diffRootsAttributes'][_0x4c25('0x4b')](),this[_0x4c25('0xb8')][_0x4c25('0x4b')](),this['_baseRootsAttributes'][_0x4c25('0x4b')](),this[_0x4c25('0x7e')][_0x4c25('0x4b')](),this[_0x4c25('0x69')][_0x4c25('0x4b')](),this['_markers'][_0x4c25('0x4b')](),this[_0x4c25('0x9b')]=0x1,this[_0x4c25('0x6')]=this[_0x4c25('0x9b')];}[_0x4c25('0x2f')](_0x31309a,_0x1d97e3=null){let _0x3db2c7=null;_0x31309a['is'](_0x4c25('0xfb'))||(_0x3db2c7=new _0x41c059(_0x31309a[_0x4c25('0x5b')],{'vid_start':null===_0x1d97e3?this[_0x4c25('0x9b')]++:_0x1d97e3++}));const _0x190f7a=[];for(const _0x15e2a2 of _0x31309a['getChildren']())if(_0x15e2a2['is']('element')){_0x190f7a['push'](this['_makeIdsRoot'](_0x15e2a2,_0x1d97e3));const _0x5135f7=_0x190f7a[_0x190f7a['length']-0x1];null!==_0x1d97e3&&(_0x1d97e3=_0x5135f7['is'](_0x4c25('0x29'),_0x4c25('0xc8'))?_0x5135f7['getAttribute'](_0x4c25('0x8a'))+0x1:_0x5135f7['getAttribute'](_0x4c25('0x27'))+0x1);}else for(let _0x3df1ae=0x0;_0x3df1ae<_0x15e2a2[_0x4c25('0xac')];_0x3df1ae++)_0x190f7a[_0x4c25('0xd8')](new _0x41c059(_0x4c25('0xc8'),{'vid':null===_0x1d97e3?this[_0x4c25('0x9b')]++:_0x1d97e3++}));if(_0x31309a['is']('documentFragment')){const _0x3280f2=G(_0x31309a[_0x4c25('0xa6')]);return _0x3280f2[_0x4c25('0x10')](0x0,_0x190f7a),_0x3280f2;}return _0x3db2c7[_0x4c25('0xb')]('vid_end',null===_0x1d97e3?this[_0x4c25('0x9b')]++:_0x1d97e3++),_0x3db2c7[_0x4c25('0x10')](0x0,_0x190f7a),_0x3db2c7;}['_calculateMetaData'](_0x26ff6d,_0x3c3b32,_0x39edd8){this[_0x4c25('0xd1')]();const {roots:_0x2457e1,markers:_0x2c5063,rootsAttributes:_0x48df78}=this[_0x4c25('0xbe')][_0x4c25('0x4e')](_0x26ff6d);this['_baseRoots']=new Map(_0x2457e1),this[_0x4c25('0x8c')]=new Map(_0x461a48(_0x48df78));for(const [_0x506468,_0x29cd36]of this[_0x4c25('0xb8')])if('$graveyard'!==_0x506468&&(this['_diffRoots'][_0x4c25('0xc6')](_0x506468,q(_0x29cd36)),this[_0x4c25('0x14')]=new Map(_0x461a48(_0x48df78)),_0x39edd8)){const _0x6ee8c9=this[_0x4c25('0x9b')];this[_0x4c25('0x7e')]['set'](_0x506468,this[_0x4c25('0x2f')](_0x29cd36)),this[_0x4c25('0x69')]['set'](_0x506468,this['_makeIdsRoot'](_0x29cd36,_0x6ee8c9));}this[_0x4c25('0x6')]=this[_0x4c25('0x9b')],this[_0x4c25('0x24')][_0x4c25('0xc6')](_0x4c25('0x106'),q(this[_0x4c25('0xb8')]['get']('$graveyard'))),_0x39edd8&&this[_0x4c25('0x7e')]['set']('$graveyard',this[_0x4c25('0x2f')](this[_0x4c25('0xb8')][_0x4c25('0x4e')]('$graveyard')));for(const [_0x53f870,_0x2f48c9]of _0x2c5063){const _0x5cf7cd=this[_0x4c25('0xb8')][_0x4c25('0x4e')](_0x2f48c9['rootName']),_0x9bea6=this['_diffRoots'][_0x4c25('0x4e')](_0x2f48c9[_0x4c25('0xa6')]),_0x376167=new _0xd70dd2(this[_0x4c25('0x3b')](_0x2f48c9[_0x4c25('0xf3')],_0x5cf7cd),this['_fixPosition'](_0x2f48c9[_0x4c25('0xad')],_0x5cf7cd)),_0x5f0ee8=this[_0x4c25('0x2e')](_0x376167,_0x9bea6);_0x5cf7cd[_0x4c25('0x21')]['set'](_0x53f870,_0x376167),this[_0x4c25('0xda')]['set'](_0x53f870,_0x5f0ee8);}this[_0x4c25('0x9a')](_0x26ff6d,_0x3c3b32,_0x39edd8);}['_applyOperations'](_0x34b369,_0x2fe0bd,_0x192b5a){for(const _0x1edfc3 of this[_0x4c25('0xfd')]['getOperations'](_0x34b369,_0x2fe0bd))this[_0x4c25('0x45')](_0x1edfc3,_0x192b5a);for(const _0x26b757 of this['_diffRoots'][_0x4c25('0xd3')]())_0x26b757[_0x4c25('0x21')][_0x4c25('0x4b')]();for(const [_0x47195f,_0x1b2771]of this[_0x4c25('0xda')]){this[_0x4c25('0x24')][_0x4c25('0x4e')](_0x1b2771[_0x4c25('0xa7')][_0x4c25('0xa6')])[_0x4c25('0x21')][_0x4c25('0xc6')](_0x47195f,_0x1b2771[_0x4c25('0x25')]());}const _0x207e96=new Map(),_0x34a6c5=new Map();for(const [_0x5bcb93,_0x97f623]of this[_0x4c25('0x24')])_0x207e96['set'](_0x5bcb93,q(_0x97f623)),_0x34a6c5[_0x4c25('0xc6')](_0x5bcb93,this[_0x4c25('0x14')][_0x4c25('0x4e')](_0x5bcb93));this[_0x4c25('0xe2')](_0x2fe0bd,_0x207e96,this[_0x4c25('0xda')],_0x34a6c5);}[_0x4c25('0x1f')](_0x248a31){const _0x68cac6=Array[_0x4c25('0x65')](this[_0x4c25('0xbe')]['keys']());_0x68cac6[_0x4c25('0x6a')]((_0x4e171f,_0xa9fe3e)=>_0x4e171f-_0xa9fe3e),_0x68cac6['reverse']();for(const _0x546162 of _0x68cac6)if(_0x546162<_0x248a31)return _0x546162;return Number['NEGATIVE_INFINITY'];}[_0x4c25('0xa2')](_0x332e0a,_0x5ec24d){const _0x4418e3=Array['from'](_0x5ec24d[_0x4c25('0x21')])[_0x4c25('0x76')](([_0x3059a9,_0x5c518b])=>[_0x3059a9,this[_0x4c25('0x2e')](_0x5c518b,_0x332e0a)]);_0x332e0a[_0x4c25('0x21')]=new Map(_0x4418e3);}[_0x4c25('0xfe')](_0x16f78d){for(const _0x4ff690 of this[_0x4c25('0xda')][_0x4c25('0xd3')]()){const _0x4428aa=_0x4ff690[_0x4c25('0xff')](_0x16f78d),_0x1906d0=_0xd70dd2[_0x4c25('0xe6')](_0x4428aa);_0x4ff690['start']=_0x1906d0[_0x4c25('0xf3')],_0x4ff690[_0x4c25('0xad')]=_0x1906d0[_0x4c25('0xad')];}}['_handleOperation'](_0x515d92,_0xd6932d){if('addRoot'==_0x515d92['type']||'detachRoot'==_0x515d92['type'])return void this[_0x4c25('0x5d')](_0x515d92,_0xd6932d);if(_0x4c25('0xcf')==_0x515d92['type']){const _0x5099a9=_0x515d92[_0x4c25('0xb0')][_0x4c25('0xa7')][_0x4c25('0xa6')];this[_0x4c25('0x24')][_0x4c25('0x4')](_0x5099a9)||(this['_diffRoots']['set'](_0x5099a9,G(_0x5099a9,!0x0)),this[_0x4c25('0x14')]['set'](_0x5099a9,{}),_0xd6932d&&this[_0x4c25('0x7e')]['set'](_0x5099a9,G(_0x5099a9,!0x0)));}if(_0x4c25('0x67')==_0x515d92[_0x4c25('0xc7')]||'removeRootAttribute'==_0x515d92[_0x4c25('0xc7')]||'changeRootAttribute'==_0x515d92[_0x4c25('0xc7')])return void this[_0x4c25('0x85')](_0x515d92);const _0x57e77c=this[_0x4c25('0x73')](_0x515d92,this[_0x4c25('0x24')]);if(_0x4c25('0x3a')!==_0x515d92[_0x4c25('0xc7')]&&(_0x57e77c[_0x4c25('0xf2')](),this[_0x4c25('0xfe')](_0x57e77c)),_0xd6932d)switch(_0x57e77c[_0x4c25('0xc7')]){case _0x4c25('0xcf'):this[_0x4c25('0x3e')](_0x515d92);break;case _0x4c25('0xe0'):case'remove':case _0x4c25('0x51'):this[_0x4c25('0x88')](_0x515d92);break;case _0x4c25('0x0'):this[_0x4c25('0x31')](_0x515d92);break;case _0x4c25('0x7'):this['_handleSplitOperation'](_0x515d92);break;case _0x4c25('0x3a'):this[_0x4c25('0xa4')](_0x515d92);}}[_0x4c25('0x73')](_0xb398a4,_0x3bbe62){const _0x273463=_0xb398a4[_0x4c25('0x25')]();return _0x273463[_0x4c25('0x58')]=_0xb398a4[_0x4c25('0x58')],this[_0x4c25('0x90')](_0x273463,_0x3bbe62),_0x273463;}[_0x4c25('0x87')](_0x566035){return _0x566035[_0x4c25('0x76')](_0x2d2f30=>{const _0x239eec=this[_0x4c25('0xe3')](_0x2d2f30);return Number(_0x2d2f30[_0x4c25('0x71')][_0x4c25('0x93')](_0x239eec));});}['_generateTape'](_0x30b598,_0x5ee334){if(_0x30b598['is']('element',_0x4c25('0xc8')))_0x5ee334['push']({'item':_0x30b598,'type':_0x4c25('0x42')});else{_0x30b598['is'](_0x4c25('0x29'))&&_0x5ee334['push']({'item':_0x30b598,'type':_0x4c25('0x4c')});for(const _0x4e9364 of _0x30b598[_0x4c25('0x108')]())this[_0x4c25('0x7f')](_0x4e9364,_0x5ee334);_0x30b598['is'](_0x4c25('0x29'))&&_0x5ee334[_0x4c25('0xd8')]({'item':_0x30b598,'type':_0x4c25('0xd4')});}return _0x5ee334;}[_0x4c25('0x40')](){const _0x52b59b=new Map(this[_0x4c25('0xa1')]),_0x4bad39=new Map(_0x52b59b),_0x4e513f=new Map(),_0x98c92e={'insertions':{},'deletions':{}},_0x5cecd0={'insertions':{},'deletions':{}},_0x22a397=new Map(),_0x3b1f98=new Set([...this['_baseRoots'][_0x4c25('0xf1')](),...this[_0x4c25('0x24')][_0x4c25('0xf1')]()]);_0x3b1f98[_0x4c25('0xe7')](_0x4c25('0x106'));for(const _0xbcb362 of _0x3b1f98){const _0xce24d3=this[_0x4c25('0x24')][_0x4c25('0x4e')](_0xbcb362)||G(_0xbcb362,!0x1),_0x2331a4=this[_0x4c25('0xb8')][_0x4c25('0x4e')](_0xbcb362)||G(_0xbcb362,!0x1);_0xce24d3[_0x4c25('0x33')]()||_0x2331a4[_0x4c25('0x33')]()?(_0x98c92e[_0x4c25('0x5')][_0xbcb362]=q(_0xce24d3),_0x98c92e[_0x4c25('0x26')][_0xbcb362]=q(_0x2331a4),this[_0x4c25('0xa2')](_0x98c92e[_0x4c25('0x26')][_0xbcb362],_0x2331a4),this['_copyMarkers'](_0x98c92e['insertions'][_0xbcb362],_0xce24d3),_0x5cecd0[_0x4c25('0x5')][_0xbcb362]=this[_0x4c25('0x7f')](this['_idsRoots'][_0x4c25('0x4e')](_0xbcb362),[]),_0x5cecd0[_0x4c25('0x26')][_0xbcb362]=this[_0x4c25('0x7f')](this[_0x4c25('0x69')][_0x4c25('0x4e')](_0xbcb362)||G(_0xbcb362,!0x1),[])):_0x3b1f98[_0x4c25('0xe7')](_0xbcb362);}for(const _0x1cfad0 of _0x3b1f98){const _0x3392e0=_0x5cecd0[_0x4c25('0x5')][_0x1cfad0];for(const _0x46d57a of _0x3392e0){const _0x21c2d2=this[_0x4c25('0xe3')](_0x46d57a),_0x2ac5a0=_0x46d57a['item'][_0x4c25('0x93')](_0x21c2d2);_0x4bad39[_0x4c25('0xe7')](_0x2ac5a0),_0x2ac5a0>=this[_0x4c25('0x6')]&&_0x4e513f[_0x4c25('0xc6')](_0x2ac5a0,_0x52b59b['get'](_0x2ac5a0));}}for(const _0x219409 of _0x3b1f98){const _0x3a402e=_0x5cecd0[_0x4c25('0x5')][_0x219409],_0x33982b=this[_0x4c25('0x87')](_0x5cecd0['deletions'][_0x219409]);let _0xeb8d4c=0x0;for(const _0x4606c6 of _0x3a402e){const _0x438396=this['_getVidAttributeName'](_0x4606c6),_0x5d84d3=_0x4606c6[_0x4c25('0x71')][_0x4c25('0x93')](_0x438396);if(!_0x4e513f[_0x4c25('0x4')](_0x5d84d3)&&!_0x22a397[_0x4c25('0x4')](_0x5d84d3)){if(_0x4bad39[_0x4c25('0x4')](_0x5d84d3))_0xeb8d4c++;else{if(_0x5d84d3!=_0x33982b[_0xeb8d4c]){const _0x2fbc30=_0x52b59b['get'](_0x5d84d3)||_0x52b59b[_0x4c25('0x4e')](_0x33982b[_0xeb8d4c]);for(;_0x5d84d3!=_0x33982b[_0xeb8d4c];)_0x4bad39[_0x4c25('0x4')](_0x33982b[_0xeb8d4c])||(_0x22a397['set'](_0x33982b[_0xeb8d4c],_0x2fbc30),_0x52b59b[_0x4c25('0xc6')](_0x33982b[_0xeb8d4c],_0x2fbc30)),_0xeb8d4c++;}_0xeb8d4c++;}}}}for(const _0x1c9379 of _0x3b1f98){const _0x2db8f0=_0x5cecd0[_0x4c25('0x5')][_0x1c9379];for(const _0x4a45fd of _0x2db8f0){const _0x4757d4=this['_getVidAttributeName'](_0x4a45fd),_0x2145ff=_0x4a45fd[_0x4c25('0x71')][_0x4c25('0x93')](_0x4757d4);if(_0x22a397[_0x4c25('0x4')](_0x2145ff)){const _0x121047=_0x22a397[_0x4c25('0x4e')](_0x2145ff);_0x4bad39['has'](_0x2145ff)||_0x4bad39[_0x4c25('0xc6')](_0x2145ff,{..._0x121047}),_0x4e513f[_0x4c25('0xc6')](_0x2145ff,{..._0x121047});}}}for(const _0x583bb7 of _0x4bad39[_0x4c25('0xf1')]())_0x583bb7>=this['_startingRevisionId']&&_0x4bad39['delete'](_0x583bb7);const _0x58ef84=new Map();for(const _0x5d5da6 of _0x3b1f98){let _0x5543ff=_0x5cecd0[_0x4c25('0x5')][_0x5d5da6];for(const _0x53177e of _0x5543ff)if(_0x53177e[_0x4c25('0x71')]['is'](_0x4c25('0x29'),_0x4c25('0xe5'))){const _0x7b3823=this[_0x4c25('0xe3')](_0x53177e),_0x29d478=_0x53177e[_0x4c25('0x71')][_0x4c25('0x93')](_0x7b3823);if(_0x4e513f[_0x4c25('0x4')](_0x29d478)){const _0x179d8d=_0x53177e[_0x4c25('0x71')][_0x4c25('0x5a')]['parent'][_0x4c25('0x93')](_0x4c25('0xc1')),_0x2ab499=_0x58ef84[_0x4c25('0x4e')](_0x179d8d)||new Set();_0x2ab499[_0x4c25('0xd5')](_0x4e513f[_0x4c25('0x4e')](_0x29d478)[_0x4c25('0x11')]),_0x58ef84['set'](_0x179d8d,_0x2ab499);}}_0x5543ff=_0x5cecd0['deletions'][_0x5d5da6];for(const _0x4f2c6f of _0x5543ff)if(_0x4f2c6f['item']['is'](_0x4c25('0x29'),'tableCell')){const _0x46574b=this['_getVidAttributeName'](_0x4f2c6f),_0x4de2e3=_0x4f2c6f[_0x4c25('0x71')][_0x4c25('0x93')](_0x46574b);if(_0x4bad39[_0x4c25('0x4')](_0x4de2e3)){const _0x121653=_0x4f2c6f['item'][_0x4c25('0x5a')][_0x4c25('0x5a')][_0x4c25('0x93')](_0x4c25('0xc1')),_0x20032b=_0x58ef84['get'](_0x121653)||new Set();_0x20032b['add'](_0x4bad39['get'](_0x4de2e3)[_0x4c25('0x11')]),_0x58ef84['set'](_0x121653,_0x20032b);}}for(const _0x2beec4 of _0x58ef84['keys']())(_0x4e513f[_0x4c25('0x4')](_0x2beec4)||_0x4bad39[_0x4c25('0x4')](_0x2beec4))&&_0x58ef84['delete'](_0x2beec4);}for(const _0x54428b of _0x3b1f98){const _0x1975a0=_0x5cecd0[_0x4c25('0x5')][_0x54428b];let _0x5a7aac=null,_0x5a0009=null;for(const _0x1f4fd5 of _0x1975a0){const _0x1ec4b5=this['_getVidAttributeName'](_0x1f4fd5),_0x7c3493=_0x1f4fd5['item'][_0x4c25('0x93')](_0x1ec4b5),_0x378383=_0x58ef84['get'](_0x7c3493);_0x378383&&_0x4c25('0x4c')==_0x1f4fd5['type']&&(_0x5a7aac=Array['from'](_0x378383)[0x0],_0x5a0009=_0x1f4fd5['item'][_0x4c25('0x93')](_0x4c25('0x27'))),_0x5a7aac&&(_0x4bad39['set'](_0x7c3493,{'userId':_0x5a7aac}),_0x4e513f['set'](_0x7c3493,{'userId':_0x5a7aac})),_0x7c3493==_0x5a0009&&(_0x5a7aac=null,_0x5a0009=null);}}const _0x5b2645={},_0x541033=new Set();for(const _0x4ada1e of _0x3b1f98){const _0x2d10d2=_0x98c92e[_0x4c25('0x26')][_0x4ada1e],_0x1f9b8b=_0x98c92e[_0x4c25('0x5')][_0x4ada1e];for(const {userId:_0xab462e}of this[_0x4c25('0x99')][_0x4c25('0xd3')]())null!==_0xab462e&&_0x541033[_0x4c25('0xd5')](_0xab462e);for(const {userId:_0x3f82b1}of this[_0x4c25('0xa9')]['values']())null!==_0x3f82b1&&_0x541033['add'](_0x3f82b1);this[_0x4c25('0x86')](_0x1f9b8b,_0x5cecd0[_0x4c25('0x5')][_0x4ada1e],_0x4e513f,_0x4c25('0x4f'),_0x541033),this['_markChanges'](_0x2d10d2,_0x5cecd0[_0x4c25('0x26')][_0x4ada1e],_0x4bad39,_0x4c25('0x3d'),_0x541033),_0x5b2645[_0x4ada1e]={'insertions':this[_0x4c25('0x94')](_0x1f9b8b),'deletions':this[_0x4c25('0x94')](_0x2d10d2),'attachChange':this[_0x4c25('0xa9')][_0x4c25('0x4e')](_0x4ada1e)||null,'attributesBefore':_0x461a48(this[_0x4c25('0x8c')][_0x4c25('0x4e')](_0x4ada1e))||{},'attributesAfter':_0x461a48(this[_0x4c25('0x14')][_0x4c25('0x4e')](_0x4ada1e))};}return{'diffData':_0x5b2645,'authorsIds':Array[_0x4c25('0x65')](_0x541033)};}[_0x4c25('0xea')](_0x4b282f){for(const [,_0x4763d7]of _0x4b282f[_0x4c25('0x21')]){const _0x130382=_0x4763d7['start'][_0x4c25('0xbc')]()['filter'](_0x2d834b=>_0x4c25('0xe5')==_0x2d834b[_0x4c25('0x5b')]);for(const _0x41ce6e of _0x130382)0x1==_0x41ce6e[_0x4c25('0xa')]&&_0x41ce6e[_0x4c25('0xa8')](0x0)['is'](_0x4c25('0x29'),_0x4c25('0x18'))&&_0x41ce6e['getChild'](0x0)['_setAttribute'](_0x4c25('0x3f'),!0x0);}}[_0x4c25('0x94')](_0x3997a9){this[_0x4c25('0xea')](_0x3997a9);const _0x41f897=this['editor']['data'][_0x4c25('0x4a')](_0x3997a9,{}),_0x23b2a6=Array[_0x4c25('0x65')](_0x41f897['getChildren']())['map'](_0x43b4ff=>this['_getViewJson'](_0x43b4ff));return JSON[_0x4c25('0x1')](_0x23b2a6);}['_getViewJson'](_0x26e1fa){if(_0x26e1fa['is'](_0x4c25('0xc8')))return _0x26e1fa[_0x4c25('0x92')];{const _0x892a2d=_0x26e1fa;return{'type':Object[_0x4c25('0xf1')](B)[_0x4c25('0x17')](_0x461cc2=>_0x26e1fa instanceof B[_0x461cc2]),'name':_0x892a2d['name'],'attributes':Array[_0x4c25('0x65')](_0x892a2d[_0x4c25('0x49')]()),'children':Array[_0x4c25('0x65')](_0x892a2d[_0x4c25('0x108')]())[_0x4c25('0x76')](_0x25f388=>this[_0x4c25('0x3c')](_0x25f388))};}}[_0x4c25('0x86')](_0x30e69d,_0x5709f9,_0x40c08c,_0x51ea74,_0x5f505e){let _0x44a2e1=null,_0x54bc8c=null,_0x4871cc=0x0;const _0x538095=this['editor'][_0x4c25('0xbf')];for(let _0x4e7c4c=0x0;_0x4e7c4c<_0x5709f9['length'];_0x4e7c4c++){const _0x2e3a55=this[_0x4c25('0xe3')](_0x5709f9[_0x4e7c4c]),_0x1b2331=_0x5709f9[_0x4e7c4c][_0x4c25('0x71')][_0x4c25('0x93')](_0x2e3a55),_0x161363=_0x40c08c['get'](_0x1b2331),_0x5b70c0=_0x4e7c4c==_0x5709f9[_0x4c25('0xee')]-0x1;(!_0x44a2e1&&_0x161363&&(_0x44a2e1=_0x161363,_0x54bc8c=_0x5709f9[_0x4e7c4c]),_0x44a2e1&&(!_0x161363||_0x161363[_0x4c25('0x11')]!=_0x44a2e1[_0x4c25('0x11')]))&&(_0x131c1f(_0x161363,L(_0x54bc8c,_0x30e69d,_0x538095),L(_0x5709f9[_0x4e7c4c],_0x30e69d,_0x538095)),_0x44a2e1=_0x161363||null,_0x54bc8c=_0x161363?_0x5709f9[_0x4e7c4c]:null),_0x44a2e1&&_0x5b70c0&&_0x131c1f(_0x161363,L(_0x54bc8c,_0x30e69d,_0x538095),W(_0x5709f9[_0x4e7c4c],_0x30e69d,_0x538095));}function _0x131c1f(_0x4db321,_0x2de2d1,_0x21f93d){const _0x478fac=_0x44a2e1[_0x4c25('0x11')],_0x2055a9='revision:'+_0x51ea74+':'+_0x478fac+':'+_0x4871cc++,_0x460225=_0x538095[_0x4c25('0x10a')](_0x2de2d1,_0x21f93d);_0x30e69d[_0x4c25('0x21')][_0x4c25('0xc6')](_0x2055a9,_0x460225),null!==_0x478fac&&_0x5f505e[_0x4c25('0xd5')](_0x478fac);}}[_0x4c25('0xe3')](_0x2a4466){switch(_0x2a4466[_0x4c25('0xc7')]){case _0x4c25('0x4c'):return _0x4c25('0xc1');case'elementEnd':return'vid_end';default:return _0x4c25('0x8a');}}[_0x4c25('0x90')](_0x524289,_0x88b2b2){_0x524289['baseVersion']=null;for(const _0x37c2b2 in _0x524289){const _0x58303e=_0x524289[_0x37c2b2];if(_0x58303e instanceof _0x6ee2fe){const _0x2e8efe=_0x88b2b2[_0x4c25('0x4e')](_0x58303e[_0x4c25('0xa7')][_0x4c25('0xa6')]);_0x524289[_0x37c2b2]=this[_0x4c25('0x3b')](_0x58303e,_0x2e8efe);}if(_0x58303e instanceof _0xd70dd2){const _0x418308=_0x88b2b2[_0x4c25('0x4e')](_0x58303e[_0x4c25('0xa7')][_0x4c25('0xa6')]);_0x524289[_0x37c2b2]=this[_0x4c25('0x2e')](_0x58303e,_0x418308);}_0x4c25('0xa7')===_0x37c2b2&&(_0x524289['root']=_0x88b2b2[_0x4c25('0x4e')](_0x524289[_0x4c25('0xa7')][_0x4c25('0xa6')]));}}['_fixRange'](_0x32af6c,_0x426b3e){return this[_0x4c25('0xf6')][_0x4c25('0xbf')][_0x4c25('0x10a')](this[_0x4c25('0x3b')](_0x32af6c[_0x4c25('0xf3')],_0x426b3e),this[_0x4c25('0x3b')](_0x32af6c[_0x4c25('0xad')],_0x426b3e));}[_0x4c25('0x3b')](_0x50a745,_0x141156){return this[_0x4c25('0xf6')][_0x4c25('0xbf')]['createPositionFromPath'](_0x141156,_0x50a745[_0x4c25('0x39')],_0x50a745['stickiness']);}[_0x4c25('0x3e')](_0x487962){const _0xb93d8=this[_0x4c25('0x7e')][_0x4c25('0x4e')](_0x487962[_0x4c25('0xb0')]['root']['rootName']),_0x5d4edc=this[_0x4c25('0x3b')](_0x487962[_0x4c25('0xb0')],_0xb93d8),_0x785972=null===_0x487962[_0x4c25('0x58')]?null:_0x487962[_0x4c25('0x58')]||this[_0x4c25('0xf6')]['plugins'][_0x4c25('0x4e')](_0x4c25('0x105'))['me']['id'],_0x4ba9c2=_0x5d4edc[_0x4c25('0x5a')],_0x248f21=this[_0x4c25('0x9b')],_0x342695=[];for(const _0x5731b8 of _0x487962['nodes'])if(_0x5731b8['is'](_0x4c25('0x29')))_0x342695[_0x4c25('0xd8')](this[_0x4c25('0x2f')](_0x5731b8));else for(let _0x530884=0x0;_0x530884<_0x5731b8[_0x4c25('0xac')];_0x530884++)_0x342695[_0x4c25('0xd8')](new _0x41c059(_0x4c25('0xc8'),{'vid':this['_revisionId']++}));const _0xa84638=this['_revisionId'];for(let _0x1a7bc6=_0x248f21;_0x1a7bc6<_0xa84638;_0x1a7bc6++)this[_0x4c25('0xa1')][_0x4c25('0xc6')](_0x1a7bc6,{'userId':_0x785972});_0x4ba9c2[_0x4c25('0x10')](_0x5d4edc['offset'],_0x342695);}[_0x4c25('0x88')](_0x2cf576){(_0x2cf576=this[_0x4c25('0x73')](_0x2cf576,this[_0x4c25('0x7e')]))['_execute']();const _0x388cdc=null===_0x2cf576[_0x4c25('0x58')]?null:_0x2cf576[_0x4c25('0x58')]||this[_0x4c25('0xf6')]['plugins']['get'](_0x4c25('0x105'))['me']['id'],_0x3d35a1=_0x2cf576[_0x4c25('0x77')](),_0x32761c=_0x3d35a1['parent'],_0x34df02=_0x3d35a1[_0x4c25('0x104')];!function _0x552fa2(_0x4bf36c,_0x5b9ee8,_0x536311,_0x599f34){for(let _0xd665c3=_0x536311;_0xd665c3<_0x599f34;_0xd665c3++){const _0x5292dc=_0x5b9ee8[_0x4c25('0xa8')](_0xd665c3);_0x5292dc['is'](_0x4c25('0x29'),_0x4c25('0xc8'))?_0x4bf36c[_0x4c25('0xc6')](_0x5292dc[_0x4c25('0x93')](_0x4c25('0x8a')),{'userId':_0x388cdc}):(_0x4bf36c[_0x4c25('0xc6')](_0x5292dc[_0x4c25('0x93')](_0x4c25('0xc1')),{'userId':_0x388cdc}),_0x552fa2(_0x4bf36c,_0x5292dc,0x0,_0x5292dc[_0x4c25('0xa')]),_0x4bf36c['set'](_0x5292dc[_0x4c25('0x93')]('vid_end'),{'userId':_0x388cdc}));}}(this[_0x4c25('0xa1')],_0x32761c,_0x34df02,_0x34df02+_0x2cf576[_0x4c25('0x53')]);}[_0x4c25('0x31')](_0x32f100){const _0x1f9587=null===(_0x32f100=this[_0x4c25('0x73')](_0x32f100,this[_0x4c25('0x7e')]))['_authorId']?null:_0x32f100[_0x4c25('0x58')]||this['editor'][_0x4c25('0x95')]['get']('Users')['me']['id'],_0x26fc6b=_0x32f100[_0x4c25('0x9')][_0x4c25('0x5a')],_0xc08eb6=_0x32f100[_0x4c25('0xb9')][_0x4c25('0x5a')],_0x1db2b2=_0x26fc6b[_0x4c25('0x93')]('vid_end'),_0x5bb874=_0xc08eb6[_0x4c25('0x93')]('vid_start');_0x26fc6b[_0x4c25('0xb')](_0x4c25('0x27'),_0xc08eb6['getAttribute'](_0x4c25('0x27'))),_0xc08eb6['_setAttribute'](_0x4c25('0x27'),_0x1db2b2),this[_0x4c25('0xa1')][_0x4c25('0xc6')](_0x5bb874,{'userId':_0x1f9587}),this[_0x4c25('0xa1')]['set'](_0x1db2b2,{'userId':_0x1f9587}),_0x32f100[_0x4c25('0xf2')]();}[_0x4c25('0xf')](_0x32317f){const _0x9dd9c6=null===(_0x32317f=this['_cloneOperation'](_0x32317f,this[_0x4c25('0x7e')]))[_0x4c25('0x58')]?null:_0x32317f[_0x4c25('0x58')]||this['editor']['plugins'][_0x4c25('0x4e')](_0x4c25('0x105'))['me']['id'],_0x3b9d1b=_0x32317f[_0x4c25('0xb5')],_0x54d7f3=_0x32317f[_0x4c25('0x48')][_0x4c25('0x5a')];_0x32317f[_0x4c25('0xf2')]();const _0x130db=_0x54d7f3[_0x4c25('0x93')]('vid_end'),_0x300361=_0x32317f['insertionPosition'][_0x4c25('0x2d')];if(_0x3b9d1b){const _0x474f88=_0x300361[_0x4c25('0x93')](_0x4c25('0x27')),_0x4cc494=_0x54d7f3[_0x4c25('0x93')](_0x4c25('0x27'));_0x54d7f3[_0x4c25('0xb')](_0x4c25('0x27'),_0x474f88),_0x300361[_0x4c25('0xb')](_0x4c25('0x27'),_0x4cc494),this[_0x4c25('0xa1')]['set'](_0x54d7f3[_0x4c25('0x93')]('vid_end'),{'userId':_0x9dd9c6}),this[_0x4c25('0xa1')][_0x4c25('0xc6')](_0x300361[_0x4c25('0x93')]('vid_start'),{'userId':_0x9dd9c6});}else{const _0xd83341=this['_revisionId']++,_0x3aed6f=this[_0x4c25('0x9b')]++;_0x54d7f3[_0x4c25('0xb')](_0x4c25('0x27'),_0xd83341),_0x300361[_0x4c25('0xb')](_0x4c25('0xc1'),_0x3aed6f),_0x300361[_0x4c25('0xb')](_0x4c25('0x27'),_0x130db),this[_0x4c25('0xa1')]['set'](_0xd83341,{'userId':_0x9dd9c6}),this['_touched']['set'](_0x3aed6f,{'userId':_0x9dd9c6});}}[_0x4c25('0xa4')](_0x1372ea){if(!_0x1372ea['affectsData'])return;const _0x5ccaba=(_0x1372ea=this[_0x4c25('0x73')](_0x1372ea,this['_diffRoots']))['oldRange']?_0x1372ea[_0x4c25('0xc')][_0x4c25('0xa7')]:null,_0x507458=_0x1372ea[_0x4c25('0x44')]?_0x1372ea['newRange'][_0x4c25('0xa7')]:null;_0x5ccaba&&this['_markers'][_0x4c25('0xe7')](_0x1372ea[_0x4c25('0x5b')]),_0x507458&&this[_0x4c25('0xda')][_0x4c25('0xc6')](_0x1372ea[_0x4c25('0x5b')],_0x1372ea[_0x4c25('0x44')][_0x4c25('0x25')]());const _0x10cdbe=null===_0x1372ea['_authorId']?null:_0x1372ea[_0x4c25('0x58')]||this['editor'][_0x4c25('0x95')]['get'](_0x4c25('0x105'))['me']['id'],_0x5e2fdb=_0x1372ea['name'];if(!this['_touchedMarkers'][_0x4c25('0x4')](_0x5e2fdb))return void this[_0x4c25('0x99')][_0x4c25('0xc6')](_0x5e2fdb,{'range':_0x1372ea[_0x4c25('0xc')],'userId':_0x10cdbe});const _0x42012a=this['_touchedMarkers'][_0x4c25('0x4e')](_0x5e2fdb),_0x3d3229=_0x42012a[_0x4c25('0x46')],_0xfc76a0=_0x1372ea['newRange'];null==_0x3d3229&&null==_0xfc76a0||_0x3d3229&&_0xfc76a0&&_0x3d3229[_0x4c25('0x56')](_0xfc76a0)?this[_0x4c25('0x99')][_0x4c25('0xe7')](_0x1372ea[_0x4c25('0x5b')]):_0x42012a['userId']=_0x10cdbe;}[_0x4c25('0x5d')](_0x12fe94,_0x14d908){this['_diffRoots'][_0x4c25('0x4')](_0x12fe94[_0x4c25('0xa6')])?this['_diffRoots'][_0x4c25('0x4e')](_0x12fe94[_0x4c25('0xa6')])[_0x4c25('0xed')]=_0x12fe94['isAdd']:(this[_0x4c25('0x24')][_0x4c25('0xc6')](_0x12fe94[_0x4c25('0xa6')],G(_0x12fe94[_0x4c25('0xa6')],!0x0)),this[_0x4c25('0x14')][_0x4c25('0xc6')](_0x12fe94['rootName'],{}),_0x14d908&&this[_0x4c25('0x7e')]['set'](_0x12fe94['rootName'],G(_0x12fe94[_0x4c25('0xa6')],!0x0)));const _0x221f10=null===_0x12fe94['_authorId']?null:_0x12fe94[_0x4c25('0x58')]||this[_0x4c25('0xf6')][_0x4c25('0x95')]['get']('Users')['me']['id'],_0x14b9aa=this['_touchedRoots'][_0x4c25('0x4e')](_0x12fe94[_0x4c25('0xa6')]);_0x14b9aa&&_0x14b9aa[_0x4c25('0x11')]===_0x221f10?this[_0x4c25('0xa9')][_0x4c25('0xe7')](_0x12fe94['rootName']):this[_0x4c25('0xa9')]['set'](_0x12fe94[_0x4c25('0xa6')],{'userId':_0x221f10,'isAttached':_0x12fe94[_0x4c25('0x5c')]});}[_0x4c25('0x85')](_0x21ec01){const _0x4ae8d6=this[_0x4c25('0x14')][_0x4c25('0x4e')](_0x21ec01[_0x4c25('0xa7')][_0x4c25('0xa6')]);null===_0x21ec01[_0x4c25('0x1a')]?delete _0x4ae8d6[_0x21ec01[_0x4c25('0x34')]]:_0x4ae8d6[_0x21ec01[_0x4c25('0x34')]]=_0x21ec01[_0x4c25('0x1a')];}}function q(_0x84667){const _0x1d64cf=G(_0x84667[_0x4c25('0xa6')],_0x84667[_0x4c25('0x33')]());for(const _0x56f000 of _0x84667['getChildren']()){const _0x146233=_0x56f000[_0x4c25('0xb4')](!0x0);_0x1d64cf[_0x4c25('0x32')](_0x146233);}return _0x1d64cf;}function G(_0x44e237,_0x4aa3c9=!0x0){const _0x44ce81=new _0x2f2bb2();return _0x44ce81[_0x4c25('0xa6')]=_0x44e237,_0x44ce81['_isAttached']=_0x4aa3c9,_0x44ce81[_0x4c25('0x33')]=()=>_0x44ce81['_isAttached'],_0x44ce81;}function L(_0x187055,_0x4d756d,_0x1444b2){const _0x7ec3a=_0x4c25('0xd4')==_0x187055[_0x4c25('0xc7')]?_0x1444b2[_0x4c25('0x70')](_0x187055[_0x4c25('0x71')],_0x4c25('0xad')):_0x1444b2['createPositionBefore'](_0x187055[_0x4c25('0x71')]);return _0x1444b2[_0x4c25('0x78')](_0x4d756d,_0x7ec3a['path'],_0x7ec3a[_0x4c25('0xbd')]);}function W(_0x5194bf,_0x4da930,_0x2186c2){const _0x1ff444=_0x4c25('0x4c')==_0x5194bf[_0x4c25('0xc7')]?_0x2186c2[_0x4c25('0x70')](_0x5194bf[_0x4c25('0x71')],0x0):_0x2186c2[_0x4c25('0x15')](_0x5194bf[_0x4c25('0x71')]);return _0x2186c2[_0x4c25('0x78')](_0x4da930,_0x1ff444['path'],_0x1ff444[_0x4c25('0xbd')]);}
23
+ const _0x3d04=['_makeModelFromViewString','start','marked','keepParagraph','_handleRootOperation','childCount','getNodeByPath','_pendingAction','repository','setRevisionData','revision:','clone','useFillerType','fromVersion','values','conversion','$graveyard','deletions','getAncestors','elementStart','sort','insertions','creator','getUser','_operations','createPositionAfter','plugins','_update','filter','_revisionDataBuilder','RevisionsRepository','_prepareViewToSave','attachChange','revision-end','_authorId','_saveMetaData','_processRootBeforeSave','getMovedRangeStart','getIndex','_touched','isAttached','name','markerToData','_findInsertionIndex','data-revision-','getCurrentRevisionId','includes','_calculateMetaData','createdAt','editor','_handleOperation','requires','NEGATIVE_INFINITY','reverse','key','type','_lastFrom','_source','shift','_removePendingAction','path','_applyOperations','roots','_setConversion','size','_markers','finally','get','_copyMarkers','history','_getPreviousFrom','graveyardPosition','_lastTo','collaboration.channelId','userId','locale','max','from','find','_generateTape','upcast','splitPosition','diffData','getTime','documentFragment','getAttribute','getRoot','createPositionAt','insert','_getBaseVids','_clone','text','ready','revision','previousPosition','sendBufferedUpdates','toModel','_removeRevisionMarkers','some','string','_continueCurrentRevision','_insertChild','newRange','_cloneOperation','_createInitialRevision','paragraph','_fixPosition','newValue','model','markers','revision-start','_addPendingAction','root','insertion','rootName','afterInit','clear','config','_diffRootsAttributes','authors','push','createPositionBefore','addRoot','_isPendingUpdate','slice','processor','attributesBefore','item','_getVidAttributeName','insertionPosition','_touchedMarkers','end','document','$text','initial','_baseIdsRoots','_fixOperation','_savedMetaData','oldRange','source','_replaceEditorDataWithRevisionData','parse','then','vid_end','_initialRevisionId','Initial\x20revision','fromEntries','forEach','attributes','getRevision','authorsIds','elementEnd','PendingActions','createPositionFromPath','loadState','_bufferUpdate','createRevision','element','editing','getRevisions','parent','position','vid','toView','remove','view','createRangeIn','_loadedStateData','reinsert','affectsData','_loadRevisionData','_getFromVersion','setSource','getAttributes','_makeIdsRoot','PENDING_ACTION_REVISION_HISTORY','set','currentRevision','update','resolve','_markChanges','nodes','map','_handleMoveOperation','vid_start','getRevisionRootsAttributes','_handleMarkerOperation','bind','_handleSplitOperation','getChild','offset','revisionHistory.resumeUnsavedRevision','_getViewJson','getLatestVersion','_makeRevision','getWalker','_startingVersion','_reset','toVersion','_loadState','adapter','_idsRoots','data','_createCurrentRevision','removeRootAttribute','RevisionTracker','isReady','stickiness','_handleInsertOperation','_setAttribute','nodeAfter','has','_createFromRanges','tableCell','startsWith','RealTimeCollaborationClient','_startingRevisionId','trim','_fixRange','_baseRoots','baseVersion','getData','_execute','_touchedRoots','getRange','getOperation','getChildren','isAdd','init','_baseRootsAttributes','attributesAfter','_diffRoots','toData','Users','saveRevision','howMany','marker','rootsAttributes','for','initialData','getRevisionDocumentData','_handleRootAttributeOperation','_bufferedUpdates','_revisionId','length','changeRootAttribute','delete','createRange','keys','buildRevisionData','add','addRevisionData','detachRoot','version','_appendChild','_isAttached'];(function(_0x41a672,_0x3d0479){const _0xe2a5bb=function(_0x1a8615){while(--_0x1a8615){_0x41a672['push'](_0x41a672['shift']());}};_0xe2a5bb(++_0x3d0479);}(_0x3d04,0x178));const _0xe2a5=function(_0x41a672,_0x3d0479){_0x41a672=_0x41a672-0x0;let _0xe2a5bb=_0x3d04[_0x41a672];return _0xe2a5bb;};import{Users as _0x2d3793}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x23798a,PendingActions as _0x48630e}from'ckeditor5/src/core';import{logWarning as _0x4a4814,uid as _0x5a6b02}from'ckeditor5/src/utils';import{Position as _0x5da8fb,Range as _0x555221,Element as _0x51fbf2,DocumentFragment as _0x291270,ViewText as _0x51707a,ViewElement as _0x15e7e0,ViewContainerElement as _0x334124,ViewAttributeElement as _0x28a4e1,ViewEmptyElement as _0x3553af,ViewRawElement as _0x225637,ViewUIElement as _0x5688f3,ViewDocumentFragment as _0xb38177}from'ckeditor5/src/engine';import _0xb5f25d from'./revisionsrepository';import{getTranslation as _0x21fa08}from'./utils/common-translations';import{cloneDeep as _0x4a6ecc,isEqual as _0x106403}from'lodash-es';const B={'c':_0x334124,'a':_0x28a4e1,'e':_0x3553af,'r':_0x225637,'u':_0x5688f3};export default class l extends _0x23798a{static get['pluginName'](){return _0xe2a5('0x55');}static get[_0xe2a5('0xbb')](){return[_0x2d3793,_0xb5f25d,_0x48630e];}constructor(_0x3d3db5){super(_0x3d3db5),this[_0xe2a5('0x50')]=null,this['currentRevision']=null,this[_0xe2a5('0xa5')]=new H(this[_0xe2a5('0xb9')]),this[_0xe2a5('0x18')]=this[_0xe2a5('0xb9')][_0xe2a5('0xfd')][_0xe2a5('0xcb')](_0xe2a5('0xd1'))||_0xe2a5('0xe'),this[_0xe2a5('0x7a')]=new Map(),this['_loadedStateData']=null;const _0x3baa9d=_0x5a6b02();this[_0xe2a5('0xc1')]={'history':this[_0xe2a5('0xb9')]['model']['document']['history'],'getLatestVersion':()=>Promise[_0xe2a5('0x3b')](this['editor'][_0xe2a5('0xf4')][_0xe2a5('0xc')][_0xe2a5('0x85')]),'getCurrentRevisionId':()=>_0x3baa9d},this[_0xe2a5('0x38')]('isReady',!0x1),this[_0xe2a5('0x38')]('isEnabled',!0x0),this[_0xe2a5('0x38')](_0xe2a5('0x3'),!0x1),this[_0xe2a5('0xb9')][_0xe2a5('0xfd')]['define']('revisionHistory.resumeUnsavedRevision',!0x0),this[_0xe2a5('0xb9')][_0xe2a5('0x97')][_0xe2a5('0x76')](_0xe2a5('0xd8'))['dataToMarker']({'view':_0xe2a5('0xe5')});}[_0xe2a5('0x6c')](){this['repository']=this['editor'][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0xa6')),this['_setConversion'](),this[_0xe2a5('0xb9')][_0xe2a5('0x52')]['on'](_0xe2a5('0xe4'),()=>{const _0x21d277=this['repository']['getRevision'](0x0),_0x17f538=_0x21d277&&null===_0x21d277[_0xe2a5('0x9e')]?_0x21d277:null;if(this[_0xe2a5('0xec')]=!!_0x17f538&&this[_0xe2a5('0xb9')]['config'][_0xe2a5('0xcb')](_0xe2a5('0x47')),this[_0xe2a5('0xb9')][_0xe2a5('0xa2')]['has'](_0xe2a5('0x5f'))){const _0x2b7626=this[_0xe2a5('0xc1')][_0xe2a5('0xb5')](),_0xb9d64=this['repository']['getRevision'](_0x2b7626);if(_0xb9d64)this[_0xe2a5('0x4c')]=_0xb9d64[_0xe2a5('0x95')],this[_0xe2a5('0xec')]=!0x1;else{const _0x4c74c2=this['_source'][_0xe2a5('0xcd')][_0xe2a5('0xa0')][_0xe2a5('0xd6')](_0x4c3b37=>!_0x4c3b37['_isInit']),_0x1b8629=_0x4c74c2?_0x4c74c2[_0xe2a5('0x64')]:this[_0xe2a5('0xc1')][_0xe2a5('0xcd')][_0xe2a5('0x85')];_0x21d277?(_0x21d277[_0xe2a5('0x4e')]<_0x1b8629&&_0x21d277[_0xe2a5('0xa3')]({'toVersion':_0x1b8629}),this['_continueCurrentRevision']?(this[_0xe2a5('0xc1')]['getCurrentRevisionId']=()=>_0x17f538['id'],this[_0xe2a5('0x4c')]=_0x17f538[_0xe2a5('0x95')]):(this['_startingVersion']=_0x21d277['toVersion'],this[_0xe2a5('0xec')]=!0x1)):(this[_0xe2a5('0x4c')]=_0x1b8629,this[_0xe2a5('0xec')]=!0x1);}}else _0x17f538&&(this['editor'][_0xe2a5('0xf4')][_0xe2a5('0xc')][_0xe2a5('0xcd')]['version']=Math[_0xe2a5('0xd4')](_0x17f538['toVersion'],this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xc')]['history'][_0xe2a5('0x85')]),_0x17f538['fromVersion']===_0x17f538[_0xe2a5('0x4e')]?(0x0!==_0x17f538['fromVersion']&&(this[_0xe2a5('0xc1')][_0xe2a5('0xb5')]=()=>_0x17f538['id']),this[_0xe2a5('0xec')]=!0x1):this[_0xe2a5('0xec')]&&(this[_0xe2a5('0xc1')][_0xe2a5('0xb5')]=()=>_0x17f538['id'],this[_0xe2a5('0x4c')]=_0x17f538[_0xe2a5('0x95')])),this['_continueCurrentRevision']||(this[_0xe2a5('0x4c')]=this['editor']['model']['document'][_0xe2a5('0x85')]);this[_0xe2a5('0xa5')]['init'](this[_0xe2a5('0xc1')][_0xe2a5('0xcd')]),this[_0xe2a5('0xf0')](this[_0xe2a5('0x4c')]),this[_0xe2a5('0x53')](this['_startingVersion']),this[_0xe2a5('0x50')]&&this[_0xe2a5('0xe7')]();}),this[_0xe2a5('0x43')](_0xe2a5('0x56'))['to'](this,_0xe2a5('0x3'),_0x1bbd14=>!_0x1bbd14);}async[_0xe2a5('0xfb')](){if(this[_0xe2a5('0x90')][_0xe2a5('0x7c')]>0x0){const _0x2ec4a1=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](0x0),_0xe73e85=await this[_0xe2a5('0x78')](_0x2ec4a1),_0x3505ac=await this[_0xe2a5('0x41')](_0x2ec4a1);this[_0xe2a5('0x14')](_0xe73e85,_0x3505ac);}}[_0xe2a5('0x34')](_0x257a05){this[_0xe2a5('0xc1')]=_0x257a05;}async[_0xe2a5('0x3a')](){const _0x39ca4f=await this['_source'][_0xe2a5('0x49')]();if(_0x39ca4f>this[_0xe2a5('0x39')][_0xe2a5('0x4e')]){await this[_0xe2a5('0x4f')]();const _0x3df31a=this[_0xe2a5('0x81')]({'revision':this[_0xe2a5('0x39')],'to':_0x39ca4f});_0x3df31a[_0xe2a5('0xff')]=_0x3df31a[_0xe2a5('0x1e')][_0xe2a5('0x3e')](_0xa78371=>this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))[_0xe2a5('0x9f')](_0xa78371)),this[_0xe2a5('0x39')]['_update'](_0x3df31a);}}async[_0xe2a5('0x4f')](){this[_0xe2a5('0xec')]&&!this[_0xe2a5('0x2f')]&&(await this[_0xe2a5('0x32')](this[_0xe2a5('0x39')]),this[_0xe2a5('0xa5')][_0xe2a5('0x22')](this[_0xe2a5('0x39')]),this['_loadedStateData']={'fromVersion':this[_0xe2a5('0x39')]['fromVersion'],'authors':this[_0xe2a5('0x39')][_0xe2a5('0xff')][_0xe2a5('0x4')]()});}async[_0xe2a5('0x72')](_0x2638f5={},_0x51fcb4=null){const _0x505b54=[];await this['_loadState'](),this[_0xe2a5('0xec')]=!0x1,_0x51fcb4>this[_0xe2a5('0x39')]['toVersion']&&(_0x51fcb4=null),null===_0x51fcb4&&(_0x51fcb4=await this[_0xe2a5('0xc1')][_0xe2a5('0x49')]());const _0x3e5d46=this[_0xe2a5('0x33')](_0x51fcb4),_0x43fa03=this[_0xe2a5('0x81')]({'from':_0x3e5d46,'to':_0x51fcb4});if(this['currentRevision'][_0xe2a5('0x4e')]<_0x51fcb4){const _0x483386=this[_0xe2a5('0x81')]({'revision':this[_0xe2a5('0x39')],'from':_0x51fcb4,'to':_0x51fcb4});_0x483386[_0xe2a5('0xff')]=[],_0x483386['authorsIds']=[],_0x483386['id']=this[_0xe2a5('0x39')]['id'],this[_0xe2a5('0x39')]['_update'](_0x483386,!0x0),delete _0x483386[_0xe2a5('0xff')],_0x505b54[_0xe2a5('0x0')](_0x483386);}_0x2638f5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2638f5['name']=_0x2638f5[_0xe2a5('0xb1')]||null,_0x2638f5['id']=_0x2638f5['id']||_0x5a6b02(),_0x2638f5={..._0x2638f5,..._0x43fa03};const _0x571493=this['addRevisionData'](_0x2638f5);_0x505b54[_0xe2a5('0x0')](_0x2638f5);const _0x48d166=this[_0xe2a5('0x90')][_0xe2a5('0xae')](_0x571493);if(0x0!==_0x48d166){const _0x31ca9b=this['repository'][_0xe2a5('0x1d')](_0x48d166-0x1);if(_0x31ca9b[_0xe2a5('0x95')]!==_0x51fcb4){const _0x459d25=this[_0xe2a5('0xa5')][_0xe2a5('0x65')](_0x51fcb4,_0x31ca9b[_0xe2a5('0x4e')]),_0x285dce={'id':_0x31ca9b['id'],'diffData':_0x459d25['diffData'],'authorsIds':_0x459d25[_0xe2a5('0x1e')],'authors':_0x459d25['authorsIds'][_0xe2a5('0x3e')](_0x4a9b77=>this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['getUser'](_0x4a9b77)),'fromVersion':_0x51fcb4};_0x31ca9b===this[_0xe2a5('0x39')]&&(_0x285dce[_0xe2a5('0xb8')]=new Date(_0x2638f5[_0xe2a5('0xb8')][_0xe2a5('0xdb')]()+0xa)),_0x31ca9b[_0xe2a5('0xa3')](_0x285dce,!0x0),delete _0x285dce[_0xe2a5('0xff')],_0x505b54['push'](_0x285dce);}}if(this[_0xe2a5('0x50')]){for(const _0x38ad8b of _0x505b54)this['_bufferUpdate'](_0x38ad8b['id'],_0x38ad8b,!0x0);this[_0xe2a5('0xe7')]();}return _0x571493;}['addRevisionData'](_0x6844d5){const _0x84af8b=this[_0xe2a5('0x90')][_0xe2a5('0x24')](_0x6844d5);return this[_0xe2a5('0x50')]&&_0x84af8b['on']('_update',(_0x237770,_0x4a43c7,_0x420d59)=>{_0x420d59||(this[_0xe2a5('0x23')](_0x4a43c7['id'],_0x4a43c7,!0x0),this[_0xe2a5('0xe7')]());}),this[_0xe2a5('0x90')]['addRevision'](_0x84af8b,this['_findInsertionIndex'](_0x84af8b)),_0x84af8b;}async['getRevisionDocumentData'](_0x416e3e){await this[_0xe2a5('0x32')](_0x416e3e);const _0x36e07f={};for(const _0x256baf in _0x416e3e[_0xe2a5('0xda')]){if(_0x416e3e[_0xe2a5('0xda')][_0x256baf][_0xe2a5('0xa8')]&&!_0x416e3e[_0xe2a5('0xda')][_0x256baf][_0xe2a5('0xa8')][_0xe2a5('0xb0')])continue;const _0x1fa964=this[_0xe2a5('0xe9')](JSON['parse'](_0x416e3e['diffData'][_0x256baf][_0xe2a5('0x9d')])),_0x425ea4=this['editor'][_0xe2a5('0x26')][_0xe2a5('0x2d')][_0xe2a5('0xc')],_0x20d7f9=new _0xb38177(_0x425ea4,_0x1fa964['map'](_0x378a66=>J(_0x378a66,this[_0xe2a5('0xb9')])));this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0x5')][_0xe2a5('0x94')](_0xe2a5('0x8a')),_0x36e07f[_0x256baf]=this['editor'][_0xe2a5('0x52')][_0xe2a5('0x5')][_0xe2a5('0x70')](_0x20d7f9),this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0x5')][_0xe2a5('0x94')]('default');}return _0x36e07f;}async[_0xe2a5('0x41')](_0x2c5af3){await this[_0xe2a5('0x32')](_0x2c5af3);const _0xed377d={};for(const _0x32e229 in _0x2c5af3['diffData'])_0x2c5af3[_0xe2a5('0xda')][_0x32e229][_0xe2a5('0xa8')]&&!_0x2c5af3[_0xe2a5('0xda')][_0x32e229][_0xe2a5('0xa8')][_0xe2a5('0xb0')]||(_0xed377d[_0x32e229]=_0x2c5af3[_0xe2a5('0xda')][_0x32e229]['attributesAfter']||{});return _0xed377d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates'][_0xe2a5('0xc8')])return;if(this[_0xe2a5('0x3')])return;let _0x5261ca=Array[_0xe2a5('0xd5')](this[_0xe2a5('0x7a')]['values']());this[_0xe2a5('0x7a')][_0xe2a5('0xfc')]();for(let _0x42fcb6=0x0;_0x42fcb6<_0x5261ca[_0xe2a5('0x7c')];_0x42fcb6++){const _0x2ac6a4=_0x5261ca[_0x42fcb6];let _0x3d634a=!0x1;for(const _0x10aafc of Object[_0xe2a5('0x80')](_0x2ac6a4))void 0x0===_0x2ac6a4[_0x10aafc]?delete _0x2ac6a4[_0x10aafc]:'id'!==_0x10aafc&&(_0x3d634a=!0x0);_0x3d634a||(_0x5261ca[_0x42fcb6]=null);}if(_0x5261ca=_0x5261ca['filter'](_0x528531=>null!==_0x528531),!_0x5261ca[_0xe2a5('0x7c')])return;for(let _0x1bb973=0x0;_0x1bb973<_0x5261ca[_0xe2a5('0x7c')];_0x1bb973++){const _0x4b09ef=_0x5261ca[_0x1bb973];void 0x0!==_0x4b09ef['fromVersion']&&void 0x0===_0x4b09ef['toVersion']&&(_0x4b09ef['toVersion']=this['repository'][_0xe2a5('0x1d')](_0x4b09ef['id'])[_0xe2a5('0x4e')]),void 0x0!==_0x4b09ef[_0xe2a5('0x4e')]&&void 0x0===_0x4b09ef[_0xe2a5('0x95')]&&(_0x4b09ef[_0xe2a5('0x95')]=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](_0x4b09ef['id'])[_0xe2a5('0x95')]);}const _0x19e370=this[_0xe2a5('0xb9')]['config'][_0xe2a5('0xcb')](_0xe2a5('0xd1'));this['_isPendingUpdate']=!0x0,this[_0xe2a5('0xf7')](),this[_0xe2a5('0x50')]['updateRevisions'](_0x5261ca,_0x19e370)[_0xe2a5('0xca')](()=>{this['_isPendingUpdate']=!0x1;})[_0xe2a5('0x16')](_0x28bc8a=>{if(_0x28bc8a)for(const _0x44b2a1 of _0x28bc8a)this[_0xe2a5('0x91')]({'id':_0x44b2a1['id'],'createdAt':_0x44b2a1[_0xe2a5('0xb8')]});this[_0xe2a5('0xc3')](),this[_0xe2a5('0xe7')]();});}[_0xe2a5('0x14')](_0x29ea13,_0x2680f4){let _0x1fdf7e=this[_0xe2a5('0xb9')][_0xe2a5('0xfd')][_0xe2a5('0xcb')](_0xe2a5('0x77')),_0x2e5413=this[_0xe2a5('0xb9')][_0xe2a5('0xfd')]['get'](_0xe2a5('0x75'));if(void 0x0===_0x1fdf7e){_0x1fdf7e={};for(const _0x3b6558 of this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xc')]['getRootNames']())_0x1fdf7e[_0x3b6558]='';}if(_0xe2a5('0xeb')==typeof _0x1fdf7e&&(_0x1fdf7e={'main':_0x1fdf7e}),void 0x0===_0x2e5413){_0x2e5413={};for(const _0x17dbd5 of this['editor']['model'][_0xe2a5('0xc')]['getRootNames']())_0x2e5413[_0x17dbd5]={};}let _0x29ef85=!0x1;const _0x38ade5=Object[_0xe2a5('0x80')](_0x1fdf7e),_0x1f8a0b=Object[_0xe2a5('0x80')](_0x29ea13);for(const _0x57032f of _0x38ade5){if(_0x1fdf7e[_0x57032f]!==_0x29ea13[_0x57032f]&&''!==_0x1fdf7e[_0x57032f][_0xe2a5('0x61')]()){_0x29ef85=!0x0;break;}if(!_0x106403(_0x2e5413[_0x57032f],_0x2680f4[_0x57032f])&&Object[_0xe2a5('0x80')](_0x2e5413[_0x57032f])[_0xe2a5('0x7c')]>0x0){_0x29ef85=!0x0;break;}}_0x29ef85||(_0x29ef85=_0x1f8a0b[_0xe2a5('0xea')](_0x5d5a8c=>!this['editor'][_0xe2a5('0xf4')]['document'][_0xe2a5('0xde')](_0x5d5a8c))),_0x29ef85&&_0x4a4814('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1fdf7e,'editorRootsAttributes':_0x2e5413,'revisionData':_0x29ea13,'revisionRootsAttributes':_0x2680f4}),this[_0xe2a5('0xb9')][_0xe2a5('0xfd')][_0xe2a5('0x38')](_0xe2a5('0x77'),_0x29ea13),this[_0xe2a5('0xb9')][_0xe2a5('0xfd')]['set'](_0xe2a5('0x75'),_0x2680f4);}[_0xe2a5('0xf7')](){if(!this[_0xe2a5('0x8f')]){const _0x3fa45d=this[_0xe2a5('0xb9')]['plugins'][_0xe2a5('0xcb')](_0xe2a5('0x20'));this[_0xe2a5('0x8f')]=_0x3fa45d['add'](_0x21fa08(this[_0xe2a5('0xb9')]['locale'],_0xe2a5('0x37')));}}[_0xe2a5('0xc3')](){this['_pendingAction']&&(this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x20'))[_0xe2a5('0x2c')](this['_pendingAction']),this[_0xe2a5('0x8f')]=null);}[_0xe2a5('0xb3')](_0x31fed9){const _0x5028be=this[_0xe2a5('0x90')]['getRevisions']();_0x5028be['reverse']();let _0xa91cee=0x0;for(;_0xa91cee<_0x5028be[_0xe2a5('0x7c')];){const _0x477bf3=_0x5028be[_0xa91cee];if(_0x477bf3===this[_0xe2a5('0x39')]){_0xa91cee++;continue;}if(_0x477bf3['id']===this[_0xe2a5('0x18')])break;const _0x537f75=_0x31fed9[_0xe2a5('0x4e')]-_0x477bf3[_0xe2a5('0x4e')]||_0x31fed9[_0xe2a5('0x95')]-_0x477bf3[_0xe2a5('0x95')];if(_0x537f75>0x0)break;if(_0x537f75<0x0)_0xa91cee++;else{if(!_0x31fed9[_0xe2a5('0x9e')]&&_0x477bf3['creator'])break;if(_0x477bf3[_0xe2a5('0x9e')]||!_0x31fed9[_0xe2a5('0x9e')]){if(_0x31fed9[_0xe2a5('0xb8')]>_0x477bf3[_0xe2a5('0xb8')])break;_0xa91cee++;}else _0xa91cee++;}}return _0xa91cee;}[_0xe2a5('0x91')](_0x1f2b4c){const _0x13ae0b=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](_0x1f2b4c['id']);if(_0x1f2b4c[_0xe2a5('0xb8')]&&(_0x1f2b4c[_0xe2a5('0xb8')]=new Date(_0x1f2b4c[_0xe2a5('0xb8')])),_0x1f2b4c[_0xe2a5('0x1e')]){const _0x5e750f=this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'));_0x1f2b4c[_0xe2a5('0xff')]=_0x1f2b4c['authorsIds'][_0xe2a5('0x3e')](_0x29245e=>_0x5e750f['getUser'](_0x29245e));}_0x13ae0b[_0xe2a5('0xa3')](_0x1f2b4c,!0x0);}['buildRevisionData']({revision:_0x409b60=null,from:_0x11a95f=null,to:_0x157958=null}){_0x11a95f=null!==_0x11a95f?_0x11a95f:_0x409b60[_0xe2a5('0x95')],_0x157958=null!==_0x157958?_0x157958:_0x409b60['toVersion'];const _0x3af7da=this[_0xe2a5('0xa5')]['getData'](_0x11a95f,_0x157958),_0x37952c={'diffData':_0x3af7da['diffData'],'authorsIds':_0x3af7da[_0xe2a5('0x1e')],'fromVersion':_0x11a95f,'toVersion':_0x157958};if(!_0x409b60||_0x157958!==_0x409b60['toVersion']){const _0x40ec0b=_0x157958-0x1,_0x28117d=this[_0xe2a5('0xc1')][_0xe2a5('0xcd')][_0xe2a5('0x69')](_0x40ec0b);_0x37952c[_0xe2a5('0xb8')]=_0x28117d&&_0x28117d['createdAt']||new Date();}if(this[_0xe2a5('0x2f')]&&_0x11a95f===this[_0xe2a5('0x2f')]['fromVersion'])for(const _0xe735b4 of this[_0xe2a5('0x2f')][_0xe2a5('0xff')])_0x37952c[_0xe2a5('0x1e')][_0xe2a5('0xb6')](_0xe735b4['id'])||_0x37952c[_0xe2a5('0x1e')][_0xe2a5('0x0')](_0xe735b4['id']);return _0x37952c;}[_0xe2a5('0x32')](_0x4203e3){if(!_0x4203e3||_0x4203e3[_0xe2a5('0xda')])return Promise[_0xe2a5('0x3b')]();{const _0x290d98=this[_0xe2a5('0xb9')]['config'][_0xe2a5('0xcb')](_0xe2a5('0xd1'));return this['adapter'][_0xe2a5('0x1d')]({'channelId':_0x290d98,'revisionId':_0x4203e3['id']})[_0xe2a5('0x16')](_0x4cbc48=>{_0x4203e3['diffData']=_0x4cbc48[_0xe2a5('0xda')];});}}[_0xe2a5('0x23')](_0x104186,_0x5af1ce,_0x1c09c0){if(this['_bufferedUpdates'][_0xe2a5('0x5b')](_0x104186)){const _0x312232=this[_0xe2a5('0x7a')][_0xe2a5('0xcb')](_0x104186);_0x5af1ce=_0x1c09c0?{..._0x312232,..._0x5af1ce}:{..._0x5af1ce,..._0x312232};}this[_0xe2a5('0x7a')]['set'](_0x104186,_0x5af1ce);}[_0xe2a5('0x33')](_0x20a1c8){const _0x486be3=this[_0xe2a5('0x90')][_0xe2a5('0x27')]();_0x486be3[_0xe2a5('0xbd')](),_0x486be3[_0xe2a5('0xc2')]();const _0x20b8c8=_0x486be3['find'](_0x857a53=>_0x857a53[_0xe2a5('0x4e')]<=_0x20a1c8)[_0xe2a5('0x4e')];return _0x20b8c8<this[_0xe2a5('0x4c')]?this[_0xe2a5('0x4c')]:_0x20b8c8;}[_0xe2a5('0xf0')](_0x175d9f){const _0x56bc6f=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](this[_0xe2a5('0x90')][_0xe2a5('0x7c')]-0x1);if(_0x56bc6f)this[_0xe2a5('0x18')]=_0x56bc6f['id'];else{const _0x405144=!this['editor'][_0xe2a5('0xf4')][_0xe2a5('0xc')]['roots'][_0xe2a5('0xd6')](_0x5662d4=>this[_0xe2a5('0xb9')][_0xe2a5('0xf4')]['hasContent'](_0x5662d4)),_0x55c54c=this['editor'][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['me']['id'],_0x13010b=_0x21fa08(this['editor'][_0xe2a5('0xd3')],_0x405144?'Empty\x20document':_0xe2a5('0x19'));this[_0xe2a5('0x4a')]({'from':_0x175d9f,'to':_0x175d9f,'id':this[_0xe2a5('0x18')],'name':_0x13010b,'creatorId':_0x55c54c});}}[_0xe2a5('0x53')](_0x2b3c17){const _0x512a52=this[_0xe2a5('0xc1')][_0xe2a5('0xb5')]();this[_0xe2a5('0x39')]=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](_0x512a52),this[_0xe2a5('0x39')]||(this[_0xe2a5('0x39')]=this[_0xe2a5('0x4a')]({'from':_0x2b3c17,'to':_0x2b3c17,'id':_0x512a52,'name':'','creatorId':null}));}[_0xe2a5('0x4a')]({name:_0x332b0a,from:_0x4e1400,to:_0x384e3b,creatorId:_0x2c5c41,id:_0x27888c}){const _0x420f5e=this[_0xe2a5('0x81')]({'from':_0x4e1400,'to':_0x384e3b});_0x420f5e['name']=_0x332b0a,_0x420f5e['creatorId']=_0x2c5c41,_0x420f5e['id']=_0x27888c;const _0x2ecf74=this[_0xe2a5('0x83')](_0x420f5e);return this[_0xe2a5('0x50')]&&this[_0xe2a5('0x23')](_0x420f5e['id'],_0x420f5e,!0x0),_0x2ecf74;}[_0xe2a5('0xc7')](){this[_0xe2a5('0xb9')][_0xe2a5('0x97')]['for']('dataDowncast')[_0xe2a5('0xb2')]({'model':'revision'});}['_removeRevisionMarkers'](_0x4d3db1){return(_0x4d3db1=_0x4d3db1[_0xe2a5('0xa4')](_0x12f2a8=>!_0x12f2a8[_0xe2a5('0xb1')]||_0xe2a5('0xf6')!==_0x12f2a8[_0xe2a5('0xb1')]&&_0xe2a5('0xa9')!==_0x12f2a8[_0xe2a5('0xb1')]))[_0xe2a5('0x1b')](_0x661bdb=>{_0xe2a5('0xeb')!=typeof _0x661bdb&&(_0x661bdb['children']=this['_removeRevisionMarkers'](_0x661bdb['children']),_0x661bdb[_0xe2a5('0x1c')]=_0x661bdb['attributes']['filter'](_0xb47c7d=>!_0xb47c7d[0x0][_0xe2a5('0x5e')](_0xe2a5('0xb4'))));}),_0x4d3db1;}}function J(_0x1eba06,_0x5b5674){const _0x51336b=_0x5b5674[_0xe2a5('0x26')][_0xe2a5('0x2d')][_0xe2a5('0xc')];if(_0xe2a5('0xeb')==typeof _0x1eba06)return new _0x51707a(_0x51336b,_0x1eba06);{const _0x24ef29=_0x1eba06['children']['map'](_0x2955a0=>J(_0x2955a0,_0x5b5674));return new(B[_0x1eba06[(_0xe2a5('0xbf'))]]||_0x15e7e0)(_0x51336b,_0x1eba06[_0xe2a5('0xb1')],_0x1eba06[_0xe2a5('0x1c')],_0x24ef29);}}class H{constructor(_0x281a4d){this[_0xe2a5('0xb9')]=_0x281a4d,this[_0xe2a5('0x11')]=new Map(),this['_lastFrom']=-0x1,this[_0xe2a5('0xd0')]=-0x1,this[_0xe2a5('0xc9')]=new Map(),this['_diffRoots']=new Map(),this[_0xe2a5('0xfe')]=new Map(),this[_0xe2a5('0x63')]=new Map(),this[_0xe2a5('0x6d')]=new Map(),this[_0xe2a5('0x51')]=new Map(),this[_0xe2a5('0xf')]=new Map(),this[_0xe2a5('0xaf')]=new Map(),this[_0xe2a5('0xa')]=new Map(),this['_touchedRoots']=new Map(),this[_0xe2a5('0x7b')]=0x1;}[_0xe2a5('0x6c')](_0x109086){this[_0xe2a5('0x13')]=_0x109086;const _0x28b4a6=new Map(),_0x186b42=new Map(),_0x3d7102=this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xc')][_0xe2a5('0xc6')][_0xe2a5('0x3e')](_0x29aaf2=>_0x29aaf2[_0xe2a5('0xfa')]);for(const _0x41fe11 of _0x3d7102){const _0x571c3c=this['editor']['model'][_0xe2a5('0xc')]['getRoot'](_0x41fe11),_0x470199=q(_0x571c3c);_0x28b4a6['set'](_0x41fe11,_0x470199),_0x186b42[_0xe2a5('0x38')](_0x41fe11,Object[_0xe2a5('0x1a')](_0x571c3c[_0xe2a5('0x35')]()));}const _0x18fc39=Array['from'](this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xf5')])[_0xe2a5('0x3e')](_0x239e52=>[_0x239e52['name'],_0x239e52[_0xe2a5('0x68')]()]),_0x35170d=this[_0xe2a5('0x13')][_0xe2a5('0x85')];this['_saveMetaData'](_0x35170d,_0x28b4a6,_0x18fc39,_0x186b42),this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')];const _0x3f14d0=new Map(),_0x1304c8=new Map();for(const _0x399158 of _0x3d7102){const _0x582dee=G(_0x399158);_0x3f14d0[_0xe2a5('0x38')](_0x399158,_0x582dee),_0x1304c8[_0xe2a5('0x38')](_0x399158,{});}this[_0xe2a5('0xab')](Number[_0xe2a5('0xbc')],_0x3f14d0,[],_0x1304c8);}[_0xe2a5('0x65')](_0x52429d,_0x8c1a7e){if(this['_lastFrom']===_0x52429d&&this[_0xe2a5('0xd0')]<=_0x8c1a7e)this['_savedMetaData'][_0xe2a5('0xc8')]>0x1&&this['_removeMetaData'](this[_0xe2a5('0xd0')]),this['_applyOperations'](this[_0xe2a5('0xd0')],_0x8c1a7e,!0x0);else{if(!this[_0xe2a5('0x11')][_0xe2a5('0x5b')](_0x52429d)){const _0x2f4d7c=this[_0xe2a5('0xce')](_0x52429d);this[_0xe2a5('0xb7')](_0x2f4d7c,_0x52429d,!0x1);}this[_0xe2a5('0xb7')](_0x52429d,_0x8c1a7e,!0x0);}return this[_0xe2a5('0xc0')]=_0x52429d,this[_0xe2a5('0xd0')]=_0x8c1a7e,this['_getState']();}[_0xe2a5('0x22')](_0x4ffad8){this['_reset'](),this['_lastFrom']=_0x4ffad8['fromVersion'],this[_0xe2a5('0xd0')]=_0x4ffad8[_0xe2a5('0x4e')];for(const _0x4af72d in _0x4ffad8[_0xe2a5('0xda')]){const _0x586bc6=_0x4ffad8[_0xe2a5('0xda')][_0x4af72d][_0xe2a5('0xa8')],_0x2e9eb9=_0x4a6ecc(_0x4ffad8[_0xe2a5('0xda')][_0x4af72d][_0xe2a5('0x6')])||{},_0x4e7828=this[_0xe2a5('0x88')](_0x4ffad8[_0xe2a5('0xda')][_0x4af72d][_0xe2a5('0x99')]);_0x4e7828['rootName']=_0x4af72d,_0x4e7828[_0xe2a5('0x87')]=!_0x586bc6||!_0x586bc6[_0xe2a5('0xb0')],_0x4e7828['isAttached']=()=>_0x4e7828[_0xe2a5('0x87')],this[_0xe2a5('0x63')][_0xe2a5('0x38')](_0x4af72d,_0x4e7828),this['_baseRootsAttributes'][_0xe2a5('0x38')](_0x4af72d,_0x2e9eb9),_0x586bc6&&this[_0xe2a5('0x67')][_0xe2a5('0x38')](_0x4af72d,_0x586bc6);const _0x410cf7=this[_0xe2a5('0x36')](_0x4e7828);this[_0xe2a5('0xf')]['set'](_0x4af72d,_0x410cf7);for(const [_0x4302ea,_0x569173]of _0x4e7828[_0xe2a5('0xf5')]){if(!_0x4302ea[_0xe2a5('0x5e')]('revision:'))continue;const _0xc598d4=_0x4302ea['split'](':')[0x2];for(const _0x412d1e of _0x569173[_0xe2a5('0x4b')]({'singleCharacters':!0x0})){const _0x1b2b4a=this[_0xe2a5('0x8')](_0x412d1e),_0x49b4c7=_0xe2a5('0x1f')==_0x412d1e[_0xe2a5('0xbf')]?_0x412d1e[_0xe2a5('0xe6')][_0xe2a5('0xc4')][_0xe2a5('0x4')](0x0,-0x1):_0x412d1e[_0xe2a5('0xe6')][_0xe2a5('0xc4')],_0x2e9b99=_0x410cf7[_0xe2a5('0x8e')](_0x49b4c7)[_0xe2a5('0xdd')](_0x1b2b4a);this['_touched'][_0xe2a5('0x38')](_0x2e9b99,{'userId':_0xc598d4});}}}this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')];const _0x5aecf8=[...Array(this[_0xe2a5('0x7b')])[_0xe2a5('0x80')]()]['slice'](0x1)[_0xe2a5('0xa4')](_0x4ff56e=>!this[_0xe2a5('0xaf')][_0xe2a5('0x5b')](_0x4ff56e));let _0x5092d0=0x0;const _0x1ca076=new Map();for(const _0x3bccee in _0x4ffad8[_0xe2a5('0xda')]){const _0x34492c=_0x4ffad8[_0xe2a5('0xda')][_0x3bccee]['attachChange'],_0x23d9c5=_0x4a6ecc(_0x4ffad8['diffData'][_0x3bccee][_0xe2a5('0x6e')])||{},_0x4ba8d5=this['_makeModelFromViewString'](_0x4ffad8['diffData'][_0x3bccee][_0xe2a5('0x9d')]);_0x4ba8d5['rootName']=_0x3bccee,_0x4ba8d5[_0xe2a5('0x87')]=!_0x34492c||_0x34492c['isAttached'],_0x4ba8d5['isAttached']=()=>_0x4ba8d5[_0xe2a5('0x87')],this['_diffRoots']['set'](_0x3bccee,_0x4ba8d5),this['_diffRootsAttributes'][_0xe2a5('0x38')](_0x3bccee,_0x23d9c5);const _0x281e6b=this['_makeIdsRoot'](_0x4ba8d5,Number[_0xe2a5('0xbc')]);this[_0xe2a5('0x51')]['set'](_0x3bccee,_0x281e6b),_0x1ca076[_0xe2a5('0x38')](_0x3bccee,_0x4ba8d5[_0xe2a5('0xb0')]()?_0x23d9c5:{});for(const [_0x79551d,_0x29283f]of _0x4ba8d5[_0xe2a5('0xf5')]){if(!_0x79551d[_0xe2a5('0x5e')](_0xe2a5('0x92')))continue;const _0x3cfbe8=_0x79551d['split'](':')[0x2];for(const _0x250479 of _0x29283f[_0xe2a5('0x4b')]({'singleCharacters':!0x0})){const _0x291dda=this[_0xe2a5('0x8')](_0x250479),_0x1fab6c=this[_0xe2a5('0x7b')]++,_0x3aae2e=_0xe2a5('0x1f')==_0x250479[_0xe2a5('0xbf')]?_0x250479[_0xe2a5('0xe6')][_0xe2a5('0xc4')][_0xe2a5('0x4')](0x0,-0x1):_0x250479['previousPosition'][_0xe2a5('0xc4')];_0x281e6b[_0xe2a5('0x8e')](_0x3aae2e)[_0xe2a5('0x59')](_0x291dda,_0x1fab6c),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x1fab6c,{'userId':_0x3cfbe8});}}for(const _0x3784f2 of this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0x2e')](_0x4ba8d5)['getWalker']({'singleCharacters':!0x0})){const _0x30c266=this['_getVidAttributeName'](_0x3784f2),_0x867da1=_0xe2a5('0x1f')==_0x3784f2['type']?_0x3784f2[_0xe2a5('0xe6')][_0xe2a5('0xc4')][_0xe2a5('0x4')](0x0,-0x1):_0x3784f2[_0xe2a5('0xe6')][_0xe2a5('0xc4')],_0x367ffd=_0x281e6b['getNodeByPath'](_0x867da1);_0x367ffd['getAttribute'](_0x30c266)>0x0||_0x367ffd[_0xe2a5('0x59')](_0x30c266,_0x5aecf8[_0x5092d0++]);}for(const [_0x364f29,_0x38dff8]of _0x4ba8d5[_0xe2a5('0xf5')])_0x364f29[_0xe2a5('0x5e')](_0xe2a5('0x92'))||this['_markers']['set'](_0x364f29,_0x38dff8);}const _0xc2bcc=G(_0xe2a5('0x98'));this[_0xe2a5('0x63')]['set'](_0xe2a5('0x98'),_0xc2bcc),this[_0xe2a5('0xf')]['set'](_0xe2a5('0x98'),this['_makeIdsRoot'](_0xc2bcc,0x1));const _0x2e66ff=G(_0xe2a5('0x98'));this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0xe2a5('0x98'),_0x2e66ff),this[_0xe2a5('0x51')][_0xe2a5('0x38')](_0xe2a5('0x98'),this[_0xe2a5('0x36')](_0x2e66ff,0x1));const _0x5cd758=Array[_0xe2a5('0xd5')](this[_0xe2a5('0x6f')])[_0xe2a5('0x3e')](([_0x3ddb44,_0x52ea61])=>[_0x3ddb44,q(_0x52ea61)]);this[_0xe2a5('0xab')](this[_0xe2a5('0xd0')],_0x5cd758,this['_markers'],_0x1ca076);}[_0xe2a5('0x88')](_0x8789d8){const _0x43a0d7=JSON[_0xe2a5('0x15')](_0x8789d8),_0x4f863c=this['editor'][_0xe2a5('0x26')][_0xe2a5('0x2d')][_0xe2a5('0xc')],_0x1e54a3=new _0xb38177(_0x4f863c,_0x43a0d7[_0xe2a5('0x3e')](_0x11a7b0=>J(_0x11a7b0,this[_0xe2a5('0xb9')])));return this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0xe8')](_0x1e54a3);}[_0xe2a5('0xab')](_0x289330,_0x5c3d8d,_0x2d559f,_0x365056){const _0x1b6bbb=new Map(_0x5c3d8d),_0x442ebc=new Map(_0x4a6ecc(_0x365056)),_0x3873f5=new Map();for(const [_0x3b9bde,_0x371a79]of _0x2d559f)_0x3873f5[_0xe2a5('0x38')](_0x3b9bde,{'start':_0x371a79[_0xe2a5('0x89')][_0xe2a5('0x93')](),'end':_0x371a79[_0xe2a5('0xb')]['clone'](),'rootName':_0x371a79[_0xe2a5('0xf8')][_0xe2a5('0xfa')]});this[_0xe2a5('0x11')][_0xe2a5('0x38')](_0x289330,{'roots':_0x1b6bbb,'markers':_0x3873f5,'rootsAttributes':_0x442ebc});}['_removeMetaData'](_0x19a873){this[_0xe2a5('0x11')][_0xe2a5('0x7e')](_0x19a873);}['reInit'](){this[_0xe2a5('0x4d')](),this[_0xe2a5('0xc0')]=-0x1,this['_lastTo']=-0x1,this[_0xe2a5('0x11')][_0xe2a5('0xfc')](),this[_0xe2a5('0x6c')](this[_0xe2a5('0x13')]);}[_0xe2a5('0x4d')](){this[_0xe2a5('0xaf')][_0xe2a5('0xfc')](),this[_0xe2a5('0xa')][_0xe2a5('0xfc')](),this['_touchedRoots'][_0xe2a5('0xfc')](),this[_0xe2a5('0x6f')]['clear'](),this[_0xe2a5('0xfe')][_0xe2a5('0xfc')](),this[_0xe2a5('0x63')][_0xe2a5('0xfc')](),this[_0xe2a5('0x6d')]['clear'](),this['_idsRoots'][_0xe2a5('0xfc')](),this[_0xe2a5('0xf')][_0xe2a5('0xfc')](),this[_0xe2a5('0xc9')]['clear'](),this['_revisionId']=0x1,this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')];}[_0xe2a5('0x36')](_0x5c1cbb,_0x486371=null){let _0x529c43=null;_0x5c1cbb['is'](_0xe2a5('0xdc'))||(_0x529c43=new _0x51fbf2(_0x5c1cbb['name'],{'vid_start':null===_0x486371?this[_0xe2a5('0x7b')]++:_0x486371++}));const _0x12e6e8=[];for(const _0x266ec2 of _0x5c1cbb[_0xe2a5('0x6a')]())if(_0x266ec2['is'](_0xe2a5('0x25'))){_0x12e6e8[_0xe2a5('0x0')](this[_0xe2a5('0x36')](_0x266ec2,_0x486371));const _0xd934d5=_0x12e6e8[_0x12e6e8[_0xe2a5('0x7c')]-0x1];null!==_0x486371&&(_0x486371=_0xd934d5['is'](_0xe2a5('0x25'),_0xe2a5('0xd'))?_0xd934d5[_0xe2a5('0xdd')](_0xe2a5('0x2a'))+0x1:_0xd934d5[_0xe2a5('0xdd')](_0xe2a5('0x17'))+0x1);}else for(let _0x3c5104=0x0;_0x3c5104<_0x266ec2['offsetSize'];_0x3c5104++)_0x12e6e8[_0xe2a5('0x0')](new _0x51fbf2(_0xe2a5('0xd'),{'vid':null===_0x486371?this[_0xe2a5('0x7b')]++:_0x486371++}));if(_0x5c1cbb['is'](_0xe2a5('0xdc'))){const _0x493d4b=G(_0x5c1cbb['rootName']);return _0x493d4b[_0xe2a5('0xed')](0x0,_0x12e6e8),_0x493d4b;}return _0x529c43[_0xe2a5('0x59')](_0xe2a5('0x17'),null===_0x486371?this[_0xe2a5('0x7b')]++:_0x486371++),_0x529c43[_0xe2a5('0xed')](0x0,_0x12e6e8),_0x529c43;}['_calculateMetaData'](_0x126629,_0x5da191,_0x10468d){this[_0xe2a5('0x4d')]();const {roots:_0x380041,markers:_0x3ee9bb,rootsAttributes:_0x14ea79}=this[_0xe2a5('0x11')][_0xe2a5('0xcb')](_0x126629);this['_baseRoots']=new Map(_0x380041),this[_0xe2a5('0x6d')]=new Map(_0x4a6ecc(_0x14ea79));for(const [_0x4633f5,_0x1efffc]of this[_0xe2a5('0x63')])if(_0xe2a5('0x98')!==_0x4633f5&&(this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0x4633f5,q(_0x1efffc)),this[_0xe2a5('0xfe')]=new Map(_0x4a6ecc(_0x14ea79)),_0x10468d)){const _0x38fd8b=this['_revisionId'];this[_0xe2a5('0x51')]['set'](_0x4633f5,this[_0xe2a5('0x36')](_0x1efffc)),this[_0xe2a5('0xf')]['set'](_0x4633f5,this[_0xe2a5('0x36')](_0x1efffc,_0x38fd8b));}this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')],this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0xe2a5('0x98'),q(this['_baseRoots']['get']('$graveyard'))),_0x10468d&&this[_0xe2a5('0x51')][_0xe2a5('0x38')](_0xe2a5('0x98'),this[_0xe2a5('0x36')](this['_baseRoots'][_0xe2a5('0xcb')]('$graveyard')));for(const [_0x197e3c,_0x17e535]of _0x3ee9bb){const _0x408b9d=this[_0xe2a5('0x63')][_0xe2a5('0xcb')](_0x17e535[_0xe2a5('0xfa')]),_0x37b17b=this[_0xe2a5('0x6f')][_0xe2a5('0xcb')](_0x17e535[_0xe2a5('0xfa')]),_0x3a63d1=new _0x555221(this[_0xe2a5('0xf2')](_0x17e535[_0xe2a5('0x89')],_0x408b9d),this[_0xe2a5('0xf2')](_0x17e535[_0xe2a5('0xb')],_0x408b9d)),_0x3e4d19=this[_0xe2a5('0x62')](_0x3a63d1,_0x37b17b);_0x408b9d[_0xe2a5('0xf5')][_0xe2a5('0x38')](_0x197e3c,_0x3a63d1),this['_markers'][_0xe2a5('0x38')](_0x197e3c,_0x3e4d19);}this['_applyOperations'](_0x126629,_0x5da191,_0x10468d);}[_0xe2a5('0xc5')](_0x1a0fc8,_0x50e36b,_0x2da15e){for(const _0x50d2e4 of this[_0xe2a5('0x13')]['getOperations'](_0x1a0fc8,_0x50e36b))this[_0xe2a5('0xba')](_0x50d2e4,_0x2da15e);for(const _0x14ee4c of this[_0xe2a5('0x6f')]['values']())_0x14ee4c[_0xe2a5('0xf5')][_0xe2a5('0xfc')]();for(const [_0x1eb94f,_0x299739]of this[_0xe2a5('0xc9')]){this[_0xe2a5('0x6f')][_0xe2a5('0xcb')](_0x299739['root']['rootName'])['markers'][_0xe2a5('0x38')](_0x1eb94f,_0x299739[_0xe2a5('0x93')]());}const _0x1513ed=new Map(),_0x128fe9=new Map();for(const [_0x61c5a0,_0x449efa]of this[_0xe2a5('0x6f')])_0x1513ed[_0xe2a5('0x38')](_0x61c5a0,q(_0x449efa)),_0x128fe9['set'](_0x61c5a0,this[_0xe2a5('0xfe')][_0xe2a5('0xcb')](_0x61c5a0));this[_0xe2a5('0xab')](_0x50e36b,_0x1513ed,this[_0xe2a5('0xc9')],_0x128fe9);}['_getPreviousFrom'](_0x3ae918){const _0x5dfb47=Array[_0xe2a5('0xd5')](this[_0xe2a5('0x11')][_0xe2a5('0x80')]());_0x5dfb47[_0xe2a5('0x9c')]((_0x17edf9,_0x4cc9ac)=>_0x17edf9-_0x4cc9ac),_0x5dfb47[_0xe2a5('0xbd')]();for(const _0x3a4e3a of _0x5dfb47)if(_0x3a4e3a<_0x3ae918)return _0x3a4e3a;return Number[_0xe2a5('0xbc')];}['_copyMarkers'](_0x10ef3a,_0x311620){const _0x3b7483=Array[_0xe2a5('0xd5')](_0x311620['markers'])[_0xe2a5('0x3e')](([_0x4c570c,_0x15ab81])=>[_0x4c570c,this[_0xe2a5('0x62')](_0x15ab81,_0x10ef3a)]);_0x10ef3a[_0xe2a5('0xf5')]=new Map(_0x3b7483);}['_transformMarkers'](_0x59ed4c){for(const _0xde77c8 of this['_markers'][_0xe2a5('0x96')]()){const _0x1edb93=_0xde77c8['getTransformedByOperation'](_0x59ed4c),_0x51e496=_0x555221[_0xe2a5('0x5c')](_0x1edb93);_0xde77c8[_0xe2a5('0x89')]=_0x51e496[_0xe2a5('0x89')],_0xde77c8[_0xe2a5('0xb')]=_0x51e496['end'];}}[_0xe2a5('0xba')](_0x41239a,_0xd348b5){if(_0xe2a5('0x2')==_0x41239a[_0xe2a5('0xbf')]||_0xe2a5('0x84')==_0x41239a[_0xe2a5('0xbf')])return void this[_0xe2a5('0x8c')](_0x41239a,_0xd348b5);if('insert'==_0x41239a[_0xe2a5('0xbf')]){const _0x2dd291=_0x41239a[_0xe2a5('0x29')][_0xe2a5('0xf8')]['rootName'];this['_diffRoots'][_0xe2a5('0x5b')](_0x2dd291)||(this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0x2dd291,G(_0x2dd291,!0x0)),this[_0xe2a5('0xfe')][_0xe2a5('0x38')](_0x2dd291,{}),_0xd348b5&&this[_0xe2a5('0x51')][_0xe2a5('0x38')](_0x2dd291,G(_0x2dd291,!0x0)));}else{if('addRootAttribute'==_0x41239a[_0xe2a5('0xbf')]||_0xe2a5('0x54')==_0x41239a['type']||_0xe2a5('0x7d')==_0x41239a['type'])return void this['_handleRootAttributeOperation'](_0x41239a);}const _0x3de796=this[_0xe2a5('0xef')](_0x41239a,this['_diffRoots']);if(_0xe2a5('0x74')!==_0x41239a[_0xe2a5('0xbf')]&&(_0x3de796[_0xe2a5('0x66')](),this['_transformMarkers'](_0x3de796)),_0xd348b5)switch(_0x3de796[_0xe2a5('0xbf')]){case _0xe2a5('0xe0'):this[_0xe2a5('0x58')](_0x41239a);break;case'move':case _0xe2a5('0x2c'):case _0xe2a5('0x30'):this[_0xe2a5('0x3f')](_0x41239a);break;case'merge':this['_handleMergeOperation'](_0x41239a);break;case'split':this['_handleSplitOperation'](_0x41239a);break;case _0xe2a5('0x74'):this[_0xe2a5('0x42')](_0x41239a);}}['_cloneOperation'](_0x18df35,_0x491fc8){const _0x4fbc1b=_0x18df35[_0xe2a5('0x93')]();return _0x4fbc1b[_0xe2a5('0xaa')]=_0x18df35[_0xe2a5('0xaa')],this[_0xe2a5('0x10')](_0x4fbc1b,_0x491fc8),_0x4fbc1b;}[_0xe2a5('0xe1')](_0x5c81a8){return _0x5c81a8[_0xe2a5('0x3e')](_0x5e2efd=>{const _0x8a2031=this[_0xe2a5('0x8')](_0x5e2efd);return Number(_0x5e2efd['item']['getAttribute'](_0x8a2031));});}['_generateTape'](_0xe47838,_0x594919){if(_0xe47838['is']('element',_0xe2a5('0xd')))_0x594919[_0xe2a5('0x0')]({'item':_0xe47838,'type':_0xe2a5('0xe3')});else{_0xe47838['is'](_0xe2a5('0x25'))&&_0x594919[_0xe2a5('0x0')]({'item':_0xe47838,'type':_0xe2a5('0x9b')});for(const _0x239d50 of _0xe47838[_0xe2a5('0x6a')]())this['_generateTape'](_0x239d50,_0x594919);_0xe47838['is'](_0xe2a5('0x25'))&&_0x594919[_0xe2a5('0x0')]({'item':_0xe47838,'type':_0xe2a5('0x1f')});}return _0x594919;}['_getState'](){const _0x1da9c0=new Map(this[_0xe2a5('0xaf')]),_0x106689=new Map(_0x1da9c0),_0x34947d=new Map(),_0x53aa6d={'insertions':{},'deletions':{}},_0x2b553b={'insertions':{},'deletions':{}},_0x1d21b7=new Map(),_0x146f9c=new Set([...this[_0xe2a5('0x63')]['keys'](),...this[_0xe2a5('0x6f')][_0xe2a5('0x80')]()]);_0x146f9c[_0xe2a5('0x7e')](_0xe2a5('0x98'));for(const _0xc7ef83 of _0x146f9c){const _0x127287=this['_diffRoots'][_0xe2a5('0xcb')](_0xc7ef83)||G(_0xc7ef83,!0x1),_0x5d379e=this[_0xe2a5('0x63')][_0xe2a5('0xcb')](_0xc7ef83)||G(_0xc7ef83,!0x1);_0x127287[_0xe2a5('0xb0')]()||_0x5d379e[_0xe2a5('0xb0')]()?(_0x53aa6d['insertions'][_0xc7ef83]=q(_0x127287),_0x53aa6d[_0xe2a5('0x99')][_0xc7ef83]=q(_0x5d379e),this[_0xe2a5('0xcc')](_0x53aa6d[_0xe2a5('0x99')][_0xc7ef83],_0x5d379e),this[_0xe2a5('0xcc')](_0x53aa6d['insertions'][_0xc7ef83],_0x127287),_0x2b553b[_0xe2a5('0x9d')][_0xc7ef83]=this['_generateTape'](this[_0xe2a5('0x51')][_0xe2a5('0xcb')](_0xc7ef83),[]),_0x2b553b[_0xe2a5('0x99')][_0xc7ef83]=this[_0xe2a5('0xd7')](this[_0xe2a5('0xf')][_0xe2a5('0xcb')](_0xc7ef83)||G(_0xc7ef83,!0x1),[])):_0x146f9c[_0xe2a5('0x7e')](_0xc7ef83);}for(const _0x58cb5c of _0x146f9c){const _0x4a1d9d=_0x2b553b[_0xe2a5('0x9d')][_0x58cb5c];for(const _0x29847c of _0x4a1d9d){const _0x32df68=this[_0xe2a5('0x8')](_0x29847c),_0x4081aa=_0x29847c['item'][_0xe2a5('0xdd')](_0x32df68);_0x106689[_0xe2a5('0x7e')](_0x4081aa),_0x4081aa>=this['_startingRevisionId']&&_0x34947d[_0xe2a5('0x38')](_0x4081aa,_0x1da9c0[_0xe2a5('0xcb')](_0x4081aa));}}for(const _0x385dfb of _0x146f9c){const _0x17cd15=_0x2b553b['insertions'][_0x385dfb],_0x2c0bbe=this[_0xe2a5('0xe1')](_0x2b553b['deletions'][_0x385dfb]);let _0x1c2e3e=0x0;for(const _0x1bf0e6 of _0x17cd15){const _0x2171fd=this[_0xe2a5('0x8')](_0x1bf0e6),_0x46fb5e=_0x1bf0e6[_0xe2a5('0x7')][_0xe2a5('0xdd')](_0x2171fd);if(!_0x34947d[_0xe2a5('0x5b')](_0x46fb5e)&&!_0x1d21b7[_0xe2a5('0x5b')](_0x46fb5e)){if(_0x106689['has'](_0x46fb5e))_0x1c2e3e++;else{if(_0x46fb5e!=_0x2c0bbe[_0x1c2e3e]){const _0xa00850=_0x1da9c0[_0xe2a5('0xcb')](_0x46fb5e)||_0x1da9c0[_0xe2a5('0xcb')](_0x2c0bbe[_0x1c2e3e]);for(;_0x46fb5e!=_0x2c0bbe[_0x1c2e3e];)_0x106689[_0xe2a5('0x5b')](_0x2c0bbe[_0x1c2e3e])||(_0x1d21b7[_0xe2a5('0x38')](_0x2c0bbe[_0x1c2e3e],_0xa00850),_0x1da9c0[_0xe2a5('0x38')](_0x2c0bbe[_0x1c2e3e],_0xa00850)),_0x1c2e3e++;}_0x1c2e3e++;}}}}for(const _0x3c8fa2 of _0x146f9c){const _0x587c69=_0x2b553b['insertions'][_0x3c8fa2];for(const _0x56a54d of _0x587c69){const _0x3ac897=this[_0xe2a5('0x8')](_0x56a54d),_0x28980b=_0x56a54d[_0xe2a5('0x7')][_0xe2a5('0xdd')](_0x3ac897);if(_0x1d21b7[_0xe2a5('0x5b')](_0x28980b)){const _0x4875d8=_0x1d21b7[_0xe2a5('0xcb')](_0x28980b);_0x106689['has'](_0x28980b)||_0x106689['set'](_0x28980b,{..._0x4875d8}),_0x34947d[_0xe2a5('0x38')](_0x28980b,{..._0x4875d8});}}}for(const _0x2e6d9f of _0x106689[_0xe2a5('0x80')]())_0x2e6d9f>=this[_0xe2a5('0x60')]&&_0x106689['delete'](_0x2e6d9f);const _0xb4396c=new Map();for(const _0x314491 of _0x146f9c){let _0x1f8d7a=_0x2b553b['insertions'][_0x314491];for(const _0x9e93d0 of _0x1f8d7a)if(_0x9e93d0['item']['is'](_0xe2a5('0x25'),_0xe2a5('0x5d'))){const _0x21d20e=this['_getVidAttributeName'](_0x9e93d0),_0x4a6ad5=_0x9e93d0['item']['getAttribute'](_0x21d20e);if(_0x34947d[_0xe2a5('0x5b')](_0x4a6ad5)){const _0x5756dd=_0x9e93d0[_0xe2a5('0x7')][_0xe2a5('0x28')]['parent'][_0xe2a5('0xdd')]('vid_start'),_0x59ff12=_0xb4396c[_0xe2a5('0xcb')](_0x5756dd)||new Set();_0x59ff12['add'](_0x34947d[_0xe2a5('0xcb')](_0x4a6ad5)[_0xe2a5('0xd2')]),_0xb4396c[_0xe2a5('0x38')](_0x5756dd,_0x59ff12);}}_0x1f8d7a=_0x2b553b['deletions'][_0x314491];for(const _0x427e7e of _0x1f8d7a)if(_0x427e7e[_0xe2a5('0x7')]['is'](_0xe2a5('0x25'),_0xe2a5('0x5d'))){const _0x1e4cf1=this[_0xe2a5('0x8')](_0x427e7e),_0x4d5a7c=_0x427e7e[_0xe2a5('0x7')][_0xe2a5('0xdd')](_0x1e4cf1);if(_0x106689[_0xe2a5('0x5b')](_0x4d5a7c)){const _0x382482=_0x427e7e['item'][_0xe2a5('0x28')]['parent'][_0xe2a5('0xdd')](_0xe2a5('0x40')),_0x274bd1=_0xb4396c['get'](_0x382482)||new Set();_0x274bd1[_0xe2a5('0x82')](_0x106689[_0xe2a5('0xcb')](_0x4d5a7c)[_0xe2a5('0xd2')]),_0xb4396c[_0xe2a5('0x38')](_0x382482,_0x274bd1);}}for(const _0x4cace0 of _0xb4396c[_0xe2a5('0x80')]())(_0x34947d[_0xe2a5('0x5b')](_0x4cace0)||_0x106689[_0xe2a5('0x5b')](_0x4cace0))&&_0xb4396c[_0xe2a5('0x7e')](_0x4cace0);}for(const _0x3eacea of _0x146f9c){const _0x19c0d3=_0x2b553b['insertions'][_0x3eacea];let _0x41b4e6=null,_0x34d5cc=null;for(const _0x3309d9 of _0x19c0d3){const _0x51853f=this[_0xe2a5('0x8')](_0x3309d9),_0x450a12=_0x3309d9['item'][_0xe2a5('0xdd')](_0x51853f),_0x4ef294=_0xb4396c['get'](_0x450a12);_0x4ef294&&'elementStart'==_0x3309d9['type']&&(_0x41b4e6=Array[_0xe2a5('0xd5')](_0x4ef294)[0x0],_0x34d5cc=_0x3309d9[_0xe2a5('0x7')]['getAttribute']('vid_end')),_0x41b4e6&&(_0x106689[_0xe2a5('0x38')](_0x450a12,{'userId':_0x41b4e6}),_0x34947d['set'](_0x450a12,{'userId':_0x41b4e6})),_0x450a12==_0x34d5cc&&(_0x41b4e6=null,_0x34d5cc=null);}}const _0x34b6ce={},_0x3031d7=new Set();for(const _0x4f926d of _0x146f9c){const _0x2bdca6=_0x53aa6d[_0xe2a5('0x99')][_0x4f926d],_0x5b5e89=_0x53aa6d[_0xe2a5('0x9d')][_0x4f926d];for(const {userId:_0x2cff22}of this[_0xe2a5('0xa')][_0xe2a5('0x96')]())null!==_0x2cff22&&_0x3031d7[_0xe2a5('0x82')](_0x2cff22);for(const {userId:_0x23d090}of this[_0xe2a5('0x67')][_0xe2a5('0x96')]())null!==_0x23d090&&_0x3031d7[_0xe2a5('0x82')](_0x23d090);this[_0xe2a5('0x3c')](_0x5b5e89,_0x2b553b[_0xe2a5('0x9d')][_0x4f926d],_0x34947d,_0xe2a5('0xf9'),_0x3031d7),this['_markChanges'](_0x2bdca6,_0x2b553b[_0xe2a5('0x99')][_0x4f926d],_0x106689,'deletion',_0x3031d7),_0x34b6ce[_0x4f926d]={'insertions':this[_0xe2a5('0xa7')](_0x5b5e89),'deletions':this[_0xe2a5('0xa7')](_0x2bdca6),'attachChange':this[_0xe2a5('0x67')][_0xe2a5('0xcb')](_0x4f926d)||null,'attributesBefore':_0x4a6ecc(this[_0xe2a5('0x6d')][_0xe2a5('0xcb')](_0x4f926d))||{},'attributesAfter':_0x4a6ecc(this[_0xe2a5('0xfe')][_0xe2a5('0xcb')](_0x4f926d))};}return{'diffData':_0x34b6ce,'authorsIds':Array[_0xe2a5('0xd5')](_0x3031d7)};}[_0xe2a5('0xac')](_0x8ab9fc){for(const [,_0x36aff5]of _0x8ab9fc[_0xe2a5('0xf5')]){const _0x15c82d=_0x36aff5['start'][_0xe2a5('0x9a')]()[_0xe2a5('0xa4')](_0x3a6bfc=>_0xe2a5('0x5d')==_0x3a6bfc[_0xe2a5('0xb1')]);for(const _0x36ed0c of _0x15c82d)0x1==_0x36ed0c['childCount']&&_0x36ed0c['getChild'](0x0)['is'](_0xe2a5('0x25'),_0xe2a5('0xf1'))&&_0x36ed0c['getChild'](0x0)['_setAttribute'](_0xe2a5('0x8b'),!0x0);}}[_0xe2a5('0xa7')](_0x44cd51){this[_0xe2a5('0xac')](_0x44cd51);const _0x459273=this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0x2b')](_0x44cd51,{}),_0x4ca893=Array[_0xe2a5('0xd5')](_0x459273[_0xe2a5('0x6a')]())[_0xe2a5('0x3e')](_0x14094b=>this[_0xe2a5('0x48')](_0x14094b));return JSON['stringify'](_0x4ca893);}[_0xe2a5('0x48')](_0x21ca76){if(_0x21ca76['is'](_0xe2a5('0xd')))return _0x21ca76[_0xe2a5('0x52')];{const _0x399d38=_0x21ca76;return{'type':Object[_0xe2a5('0x80')](B)[_0xe2a5('0xd6')](_0x3d33f5=>_0x21ca76 instanceof B[_0x3d33f5]),'name':_0x399d38[_0xe2a5('0xb1')],'attributes':Array[_0xe2a5('0xd5')](_0x399d38['getAttributes']()),'children':Array[_0xe2a5('0xd5')](_0x399d38['getChildren']())[_0xe2a5('0x3e')](_0x1e4403=>this[_0xe2a5('0x48')](_0x1e4403))};}}['_markChanges'](_0x4582fe,_0x911ba2,_0x38a7fd,_0x6a6914,_0x25bac3){let _0x2f8098=null,_0x58a37d=null,_0x1b989e=0x0;const _0x754ff1=this['editor'][_0xe2a5('0xf4')];for(let _0x401a22=0x0;_0x401a22<_0x911ba2[_0xe2a5('0x7c')];_0x401a22++){const _0x4298cd=this[_0xe2a5('0x8')](_0x911ba2[_0x401a22]),_0x4fa6e9=_0x911ba2[_0x401a22][_0xe2a5('0x7')]['getAttribute'](_0x4298cd),_0x483ad4=_0x38a7fd[_0xe2a5('0xcb')](_0x4fa6e9),_0x2746e8=_0x401a22==_0x911ba2['length']-0x1;(!_0x2f8098&&_0x483ad4&&(_0x2f8098=_0x483ad4,_0x58a37d=_0x911ba2[_0x401a22]),_0x2f8098&&(!_0x483ad4||_0x483ad4[_0xe2a5('0xd2')]!=_0x2f8098['userId']))&&(_0x58a55b(_0x483ad4,L(_0x58a37d,_0x4582fe,_0x754ff1),L(_0x911ba2[_0x401a22],_0x4582fe,_0x754ff1)),_0x2f8098=_0x483ad4||null,_0x58a37d=_0x483ad4?_0x911ba2[_0x401a22]:null),_0x2f8098&&_0x2746e8&&_0x58a55b(_0x483ad4,L(_0x58a37d,_0x4582fe,_0x754ff1),W(_0x911ba2[_0x401a22],_0x4582fe,_0x754ff1));}function _0x58a55b(_0xcd6871,_0x1ea36f,_0xdd5fce){const _0x253d2d=_0x2f8098[_0xe2a5('0xd2')],_0x5681d6=_0xe2a5('0x92')+_0x6a6914+':'+_0x253d2d+':'+_0x1b989e++,_0x27e23b=_0x754ff1[_0xe2a5('0x7f')](_0x1ea36f,_0xdd5fce);_0x4582fe[_0xe2a5('0xf5')][_0xe2a5('0x38')](_0x5681d6,_0x27e23b),null!==_0x253d2d&&_0x25bac3[_0xe2a5('0x82')](_0x253d2d);}}[_0xe2a5('0x8')](_0x428ce0){switch(_0x428ce0['type']){case _0xe2a5('0x9b'):return'vid_start';case _0xe2a5('0x1f'):return _0xe2a5('0x17');default:return _0xe2a5('0x2a');}}['_fixOperation'](_0x38c715,_0x1e5a80){_0x38c715[_0xe2a5('0x64')]=null;for(const _0x42c77c in _0x38c715){const _0x3a7a50=_0x38c715[_0x42c77c];if(_0x3a7a50 instanceof _0x5da8fb){const _0x3642d5=_0x1e5a80[_0xe2a5('0xcb')](_0x3a7a50[_0xe2a5('0xf8')][_0xe2a5('0xfa')]);_0x38c715[_0x42c77c]=this[_0xe2a5('0xf2')](_0x3a7a50,_0x3642d5);}if(_0x3a7a50 instanceof _0x555221){const _0x44b53b=_0x1e5a80[_0xe2a5('0xcb')](_0x3a7a50[_0xe2a5('0xf8')][_0xe2a5('0xfa')]);_0x38c715[_0x42c77c]=this[_0xe2a5('0x62')](_0x3a7a50,_0x44b53b);}_0xe2a5('0xf8')===_0x42c77c&&(_0x38c715[_0xe2a5('0xf8')]=_0x1e5a80[_0xe2a5('0xcb')](_0x38c715[_0xe2a5('0xf8')]['rootName']));}}['_fixRange'](_0x529daf,_0x134831){return this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0x7f')](this[_0xe2a5('0xf2')](_0x529daf['start'],_0x134831),this['_fixPosition'](_0x529daf[_0xe2a5('0xb')],_0x134831));}[_0xe2a5('0xf2')](_0x5c5e67,_0x1e3b64){return this['editor'][_0xe2a5('0xf4')]['createPositionFromPath'](_0x1e3b64,_0x5c5e67[_0xe2a5('0xc4')],_0x5c5e67['stickiness']);}['_handleInsertOperation'](_0x38ffa5){const _0x122411=this[_0xe2a5('0x51')][_0xe2a5('0xcb')](_0x38ffa5[_0xe2a5('0x29')][_0xe2a5('0xf8')][_0xe2a5('0xfa')]),_0x3c5e07=this[_0xe2a5('0xf2')](_0x38ffa5[_0xe2a5('0x29')],_0x122411),_0x45f7f5=null===_0x38ffa5[_0xe2a5('0xaa')]?null:_0x38ffa5[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')]['plugins']['get'](_0xe2a5('0x71'))['me']['id'],_0x3ed684=_0x3c5e07[_0xe2a5('0x28')],_0x2510e2=this[_0xe2a5('0x7b')],_0x2d6313=[];for(const _0x41ff5a of _0x38ffa5[_0xe2a5('0x3d')])if(_0x41ff5a['is'](_0xe2a5('0x25')))_0x2d6313['push'](this['_makeIdsRoot'](_0x41ff5a));else for(let _0x184fda=0x0;_0x184fda<_0x41ff5a['offsetSize'];_0x184fda++)_0x2d6313['push'](new _0x51fbf2('$text',{'vid':this['_revisionId']++}));const _0x5c0baf=this[_0xe2a5('0x7b')];for(let _0x497082=_0x2510e2;_0x497082<_0x5c0baf;_0x497082++)this['_touched'][_0xe2a5('0x38')](_0x497082,{'userId':_0x45f7f5});_0x3ed684['_insertChild'](_0x3c5e07[_0xe2a5('0x46')],_0x2d6313);}[_0xe2a5('0x3f')](_0x411650){(_0x411650=this[_0xe2a5('0xef')](_0x411650,this[_0xe2a5('0x51')]))['_execute']();const _0xf4e676=null===_0x411650['_authorId']?null:_0x411650['_authorId']||this['editor'][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['me']['id'],_0x551b7e=_0x411650[_0xe2a5('0xad')](),_0x584d97=_0x551b7e[_0xe2a5('0x28')],_0x515f91=_0x551b7e['offset'];!function _0x1aa431(_0x47a146,_0x586129,_0x1a04ed,_0xe2e05f){for(let _0x2804e2=_0x1a04ed;_0x2804e2<_0xe2e05f;_0x2804e2++){const _0x5bc5e4=_0x586129[_0xe2a5('0x45')](_0x2804e2);_0x5bc5e4['is']('element',_0xe2a5('0xd'))?_0x47a146[_0xe2a5('0x38')](_0x5bc5e4[_0xe2a5('0xdd')](_0xe2a5('0x2a')),{'userId':_0xf4e676}):(_0x47a146[_0xe2a5('0x38')](_0x5bc5e4[_0xe2a5('0xdd')](_0xe2a5('0x40')),{'userId':_0xf4e676}),_0x1aa431(_0x47a146,_0x5bc5e4,0x0,_0x5bc5e4[_0xe2a5('0x8d')]),_0x47a146['set'](_0x5bc5e4['getAttribute'](_0xe2a5('0x17')),{'userId':_0xf4e676}));}}(this['_touched'],_0x584d97,_0x515f91,_0x515f91+_0x411650[_0xe2a5('0x73')]);}['_handleMergeOperation'](_0x332e09){const _0x15468d=null===(_0x332e09=this[_0xe2a5('0xef')](_0x332e09,this[_0xe2a5('0x51')]))[_0xe2a5('0xaa')]?null:_0x332e09[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')]('Users')['me']['id'],_0x36653e=_0x332e09['targetPosition'][_0xe2a5('0x28')],_0xda3592=_0x332e09['sourcePosition'][_0xe2a5('0x28')],_0x3587ed=_0x36653e[_0xe2a5('0xdd')]('vid_end'),_0x336817=_0xda3592[_0xe2a5('0xdd')](_0xe2a5('0x40'));_0x36653e[_0xe2a5('0x59')](_0xe2a5('0x17'),_0xda3592[_0xe2a5('0xdd')](_0xe2a5('0x17'))),_0xda3592[_0xe2a5('0x59')]('vid_end',_0x3587ed),this['_touched'][_0xe2a5('0x38')](_0x336817,{'userId':_0x15468d}),this['_touched']['set'](_0x3587ed,{'userId':_0x15468d}),_0x332e09[_0xe2a5('0x66')]();}[_0xe2a5('0x44')](_0x20b7a8){const _0x17e7ff=null===(_0x20b7a8=this[_0xe2a5('0xef')](_0x20b7a8,this['_idsRoots']))[_0xe2a5('0xaa')]?null:_0x20b7a8[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')]['get']('Users')['me']['id'],_0x4a8263=_0x20b7a8[_0xe2a5('0xcf')],_0x17cbe9=_0x20b7a8[_0xe2a5('0xd9')][_0xe2a5('0x28')];_0x20b7a8['_execute']();const _0x1c5968=_0x17cbe9['getAttribute'](_0xe2a5('0x17')),_0x4e6bc6=_0x20b7a8[_0xe2a5('0x9')][_0xe2a5('0x5a')];if(_0x4a8263){const _0x4c9828=_0x4e6bc6['getAttribute'](_0xe2a5('0x17')),_0x95493a=_0x17cbe9[_0xe2a5('0xdd')]('vid_end');_0x17cbe9[_0xe2a5('0x59')](_0xe2a5('0x17'),_0x4c9828),_0x4e6bc6[_0xe2a5('0x59')](_0xe2a5('0x17'),_0x95493a),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x17cbe9[_0xe2a5('0xdd')](_0xe2a5('0x17')),{'userId':_0x17e7ff}),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x4e6bc6[_0xe2a5('0xdd')]('vid_start'),{'userId':_0x17e7ff});}else{const _0x172048=this[_0xe2a5('0x7b')]++,_0x3721e4=this[_0xe2a5('0x7b')]++;_0x17cbe9[_0xe2a5('0x59')](_0xe2a5('0x17'),_0x172048),_0x4e6bc6['_setAttribute'](_0xe2a5('0x40'),_0x3721e4),_0x4e6bc6['_setAttribute']('vid_end',_0x1c5968),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x172048,{'userId':_0x17e7ff}),this[_0xe2a5('0xaf')]['set'](_0x3721e4,{'userId':_0x17e7ff});}}[_0xe2a5('0x42')](_0xc34025){if(!_0xc34025[_0xe2a5('0x31')])return;const _0x3bbf10=(_0xc34025=this[_0xe2a5('0xef')](_0xc34025,this[_0xe2a5('0x6f')]))[_0xe2a5('0x12')]?_0xc34025['oldRange']['root']:null,_0x5e14e7=_0xc34025['newRange']?_0xc34025[_0xe2a5('0xee')]['root']:null;_0x3bbf10&&this[_0xe2a5('0xc9')][_0xe2a5('0x7e')](_0xc34025[_0xe2a5('0xb1')]),_0x5e14e7&&this[_0xe2a5('0xc9')][_0xe2a5('0x38')](_0xc34025[_0xe2a5('0xb1')],_0xc34025['newRange'][_0xe2a5('0x93')]());const _0x133659=null===_0xc34025[_0xe2a5('0xaa')]?null:_0xc34025[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['me']['id'],_0x1ad2fd=_0xc34025[_0xe2a5('0xb1')];if(!this['_touchedMarkers'][_0xe2a5('0x5b')](_0x1ad2fd))return void this['_touchedMarkers'][_0xe2a5('0x38')](_0x1ad2fd,{'range':_0xc34025['oldRange'],'userId':_0x133659});const _0x4c887d=this[_0xe2a5('0xa')]['get'](_0x1ad2fd),_0x40d0d3=_0x4c887d['range'],_0x13f20d=_0xc34025[_0xe2a5('0xee')];null==_0x40d0d3&&null==_0x13f20d||_0x40d0d3&&_0x13f20d&&_0x40d0d3['isEqual'](_0x13f20d)?this[_0xe2a5('0xa')][_0xe2a5('0x7e')](_0xc34025[_0xe2a5('0xb1')]):_0x4c887d[_0xe2a5('0xd2')]=_0x133659;}[_0xe2a5('0x8c')](_0x2c62ab,_0x1e493a){this['_diffRoots']['has'](_0x2c62ab[_0xe2a5('0xfa')])?this[_0xe2a5('0x6f')][_0xe2a5('0xcb')](_0x2c62ab[_0xe2a5('0xfa')])[_0xe2a5('0x87')]=_0x2c62ab[_0xe2a5('0x6b')]:(this['_diffRoots'][_0xe2a5('0x38')](_0x2c62ab[_0xe2a5('0xfa')],G(_0x2c62ab[_0xe2a5('0xfa')],!0x0)),this[_0xe2a5('0xfe')][_0xe2a5('0x38')](_0x2c62ab[_0xe2a5('0xfa')],{}),_0x1e493a&&this['_idsRoots'][_0xe2a5('0x38')](_0x2c62ab[_0xe2a5('0xfa')],G(_0x2c62ab[_0xe2a5('0xfa')],!0x0)));const _0x6b7bc7=null===_0x2c62ab[_0xe2a5('0xaa')]?null:_0x2c62ab['_authorId']||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')]('Users')['me']['id'],_0x3a2d3c=this[_0xe2a5('0x67')][_0xe2a5('0xcb')](_0x2c62ab[_0xe2a5('0xfa')]);_0x3a2d3c&&_0x3a2d3c[_0xe2a5('0xd2')]===_0x6b7bc7?this[_0xe2a5('0x67')][_0xe2a5('0x7e')](_0x2c62ab['rootName']):this[_0xe2a5('0x67')][_0xe2a5('0x38')](_0x2c62ab['rootName'],{'userId':_0x6b7bc7,'isAttached':_0x2c62ab[_0xe2a5('0x6b')]});}[_0xe2a5('0x79')](_0x30546c){const _0x400de1=this['_diffRootsAttributes'][_0xe2a5('0xcb')](_0x30546c[_0xe2a5('0xf8')][_0xe2a5('0xfa')]);null===_0x30546c[_0xe2a5('0xf3')]?delete _0x400de1[_0x30546c[_0xe2a5('0xbe')]]:_0x400de1[_0x30546c[_0xe2a5('0xbe')]]=_0x30546c[_0xe2a5('0xf3')];}}function q(_0x460d3f){const _0x343c8a=G(_0x460d3f[_0xe2a5('0xfa')],_0x460d3f['isAttached']());for(const _0x104d22 of _0x460d3f[_0xe2a5('0x6a')]()){const _0x72d16a=_0x104d22[_0xe2a5('0xe2')](!0x0);_0x343c8a[_0xe2a5('0x86')](_0x72d16a);}return _0x343c8a;}function G(_0x4614db,_0x10bcd9=!0x0){const _0x3e203c=new _0x291270();return _0x3e203c[_0xe2a5('0xfa')]=_0x4614db,_0x3e203c[_0xe2a5('0x87')]=_0x10bcd9,_0x3e203c[_0xe2a5('0xb0')]=()=>_0x3e203c[_0xe2a5('0x87')],_0x3e203c;}function L(_0x351f61,_0x3b0e1f,_0x261318){const _0x3c566c=_0xe2a5('0x1f')==_0x351f61['type']?_0x261318[_0xe2a5('0xdf')](_0x351f61[_0xe2a5('0x7')],_0xe2a5('0xb')):_0x261318[_0xe2a5('0x1')](_0x351f61[_0xe2a5('0x7')]);return _0x261318['createPositionFromPath'](_0x3b0e1f,_0x3c566c[_0xe2a5('0xc4')],_0x3c566c[_0xe2a5('0x57')]);}function W(_0x3ad886,_0x4acbcc,_0x5d1fac){const _0x2c0930=_0xe2a5('0x9b')==_0x3ad886['type']?_0x5d1fac[_0xe2a5('0xdf')](_0x3ad886[_0xe2a5('0x7')],0x0):_0x5d1fac[_0xe2a5('0xa1')](_0x3ad886[_0xe2a5('0x7')]);return _0x5d1fac[_0xe2a5('0x21')](_0x4acbcc,_0x2c0930[_0xe2a5('0xc4')],_0x2c0930[_0xe2a5('0x57')]);}