@ckeditor/ckeditor5-revision-history 41.1.0 → 41.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +5 -2
- package/lang/translations/af.po +13 -1
- package/lang/translations/ar.po +14 -2
- package/lang/translations/az.po +13 -1
- package/lang/translations/bg.po +14 -2
- package/lang/translations/bn.po +14 -2
- package/lang/translations/bs.po +13 -1
- package/lang/translations/ca.po +14 -2
- package/lang/translations/cs.po +14 -2
- package/lang/translations/da.po +14 -2
- package/lang/translations/de-ch.po +13 -1
- package/lang/translations/de.po +14 -2
- package/lang/translations/el.po +14 -2
- package/lang/translations/en-au.po +14 -2
- package/lang/translations/en-gb.po +13 -1
- package/lang/translations/en.po +14 -2
- package/lang/translations/es-co.po +13 -1
- package/lang/translations/es.po +14 -2
- package/lang/translations/et.po +14 -2
- package/lang/translations/fa.po +13 -1
- package/lang/translations/fi.po +14 -2
- package/lang/translations/fr.po +14 -2
- package/lang/translations/gl.po +14 -2
- package/lang/translations/he.po +15 -4
- package/lang/translations/hi.po +14 -2
- package/lang/translations/hr.po +14 -2
- package/lang/translations/hu.po +14 -2
- package/lang/translations/id.po +14 -2
- package/lang/translations/it.po +14 -2
- package/lang/translations/ja.po +14 -2
- package/lang/translations/jv.po +13 -1
- package/lang/translations/ko.po +14 -2
- package/lang/translations/ku.po +13 -1
- package/lang/translations/lt.po +14 -2
- package/lang/translations/lv.po +14 -2
- package/lang/translations/ms.po +14 -2
- package/lang/translations/ne.po +13 -1
- package/lang/translations/nl.po +14 -2
- package/lang/translations/no.po +14 -2
- package/lang/translations/pl.po +14 -2
- package/lang/translations/pt-br.po +14 -2
- package/lang/translations/pt.po +17 -5
- package/lang/translations/ro.po +14 -2
- package/lang/translations/ru.po +14 -2
- package/lang/translations/sk.po +14 -2
- package/lang/translations/sr-latn.po +14 -2
- package/lang/translations/sr.po +14 -2
- package/lang/translations/sv.po +14 -2
- package/lang/translations/th.po +14 -2
- package/lang/translations/tk.po +13 -1
- package/lang/translations/tr.po +14 -2
- package/lang/translations/tt.po +13 -1
- package/lang/translations/ug.po +13 -1
- package/lang/translations/uk.po +14 -2
- package/lang/translations/ur.po +13 -1
- package/lang/translations/vi.po +14 -2
- package/lang/translations/zh-cn.po +14 -2
- package/lang/translations/zh.po +14 -2
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryconfig.d.ts +11 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +4 -0
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/revision/revisionname.css +1 -0
package/src/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14c9=['values','createRange','_createCurrentRevision','updateRevisions','_loadedStateData','reinsert','getLatestVersion','targetPosition','_handleMergeOperation','document','toModel','_getPreviousFrom','resolve','revision:','shift','PENDING_ACTION_REVISION_HISTORY','getRevisionDocumentData','paragraph','path','plugins','_lastFrom','_diffRoots','move','getNodeByPath','clear','_isInit','_handleRootAttributeOperation','source','map','getRoot','_clone','editor','version','_loadState','markers','isAttached','_touched','insert','rootName','_transformMarkers','_getVidAttributeName','_diffRootsAttributes','pluginName','newRange','buildRevisionData','afterInit','revision','_lastTo','creator','find','_getState','parent','deletion','graveyardPosition','merge','_markers','hasContent','item','Initial\x20revision','dataToMarker','offsetSize','currentRevision','push','some','element','vid','insertions','view','attachChange','getOperation','insertionPosition','isReady','_update','attributesBefore','toData','createRangeIn','repository','root','_handleInsertOperation','sort','data-revision-','$graveyard','addRevisionData','userId','_authorId','_revisionDataBuilder','getOperations','_applyOperations','requires','attributesAfter','markerToData','children','_touchedMarkers','_createInitialRevision','tableCell','_execute','_makeIdsRoot','_getBaseVids','getRootNames','_loadRevisionData','delete','_generateTape','range','toVersion','sendBufferedUpdates','revisionHistory.resumeUnsavedRevision','useFillerType','fromVersion','_removePendingAction','Users','getUser','childCount','getMovedRangeStart','_markChanges','_initialRevisionId','addRootAttribute','_setAttribute','conversion','_saveMetaData','_baseIdsRoots','reverse','_bufferUpdate','getAttributes','authors','has','_idsRoots','RevisionTracker','getTransformedByOperation','_revisionId','_handleOperation','initialData','getRevisions','offset','RevisionsRepository','_handleSplitOperation','getRevisionRootsAttributes','getChildren','keys','start','_replaceEditorDataWithRevisionData','previousPosition','_createFromRanges','model','forEach','add','documentFragment','setRevisionData','clone','_handleRootOperation','createPositionFromPath','_baseRootsAttributes','_handleMoveOperation','getWalker','includes','set','_fixOperation','_removeMetaData','marker','config','processor','_continueCurrentRevision','getTime','define','elementEnd','_operations','isAdd','isEnabled','getCurrentRevisionId','_copyMarkers','_setConversion','_makeRevision','_reset','_isAttached','length','getChild','_fixRange','_source','roots','getRevision','elementStart','attributes','type','createdAt','for','getData','split','toView','_baseRoots','size','startsWith','then','createPositionAfter','_pendingAction','from','history','_findInsertionIndex','_touchedRoots','_startingVersion','default','_processRootBeforeSave','get','_appendChild','revision-start','_savedMetaData','insertion','oldRange','parse','remove','key','_addPendingAction','diffData','_fixPosition','addRevision','getAttribute','name','_removeRevisionMarkers','_handleMarkerOperation','vid_end','vid_start','slice','_getViewJson','baseVersion','collaboration.channelId','_startingRevisionId','_makeModelFromViewString','_prepareViewToSave','rootsAttributes','string','_insertChild','setSource','_getFromVersion','PendingActions','newValue','revision-end','filter','creatorId','init','authorsIds','$text','deletions','adapter','_isPendingUpdate','removeRootAttribute','isEqual','end','data','editing','_cloneOperation','NEGATIVE_INFINITY','upcast','loadState','finally','createRevision','_bufferedUpdates','_calculateMetaData','createPositionBefore','stickiness','position'];(function(_0x16be1d,_0x14c922){const _0x3db5dc=function(_0x395e43){while(--_0x395e43){_0x16be1d['push'](_0x16be1d['shift']());}};_0x3db5dc(++_0x14c922);}(_0x14c9,0xc3));const _0x3db5=function(_0x16be1d,_0x14c922){_0x16be1d=_0x16be1d-0x0;let _0x3db5dc=_0x14c9[_0x16be1d];return _0x3db5dc;};import{Users as _0x5be959}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x61fa48,PendingActions as _0x2e95f9}from'ckeditor5/src/core.js';import{logWarning as _0x255b8c,uid as _0xc85226}from'ckeditor5/src/utils.js';import{Position as _0x5c3266,Range as _0x301b0c,Element as _0x3501b8,DocumentFragment as _0x3d771b,ViewText as _0x909347,ViewElement as _0x4dbecd,ViewContainerElement as _0x1e16fc,ViewAttributeElement as _0x4c3c91,ViewEmptyElement as _0x29cd57,ViewRawElement as _0x2d633d,ViewUIElement as _0x1a5235,ViewDocumentFragment as _0x392ad3}from'ckeditor5/src/engine.js';import _0x4cdd00 from'./revisionsrepository.js';import{getTranslation as _0x1b592a}from'./utils/common-translations.js';import{cloneDeep as _0x4d50b0,isEqual as _0x3e0bbd}from'lodash-es';const B={'c':_0x1e16fc,'a':_0x4c3c91,'e':_0x29cd57,'r':_0x2d633d,'u':_0x1a5235};export default class l extends _0x61fa48{static get[_0x3db5('0x69')](){return _0x3db5('0xbd');}static get[_0x3db5('0x97')](){return[_0x5be959,_0x4cdd00,_0x2e95f9];}constructor(_0x367776){super(_0x367776),this['adapter']=null,this['currentRevision']=null,this[_0x3db5('0x94')]=new H(this[_0x3db5('0x5e')]),this['_initialRevisionId']=this[_0x3db5('0x5e')][_0x3db5('0xdd')][_0x3db5('0x5')](_0x3db5('0x1b'))||'initial',this[_0x3db5('0x3a')]=new Map(),this[_0x3db5('0x43')]=null;const _0x87cf2c=_0xc85226();this[_0x3db5('0xef')]={'history':this[_0x3db5('0x5e')]['model'][_0x3db5('0x48')][_0x3db5('0x101')],'getLatestVersion':()=>Promise[_0x3db5('0x4b')](this[_0x3db5('0x5e')][_0x3db5('0xcd')]['document'][_0x3db5('0x5f')]),'getCurrentRevisionId':()=>_0x87cf2c},this['set']('isReady',!0x1),this[_0x3db5('0xd9')](_0x3db5('0xe5'),!0x0),this[_0x3db5('0xd9')](_0x3db5('0x2e'),!0x1),this[_0x3db5('0x5e')][_0x3db5('0xdd')][_0x3db5('0xe1')](_0x3db5('0xa8'),!0x0),this[_0x3db5('0x5e')][_0x3db5('0xb4')]['for'](_0x3db5('0x36'))[_0x3db5('0x7a')]({'view':_0x3db5('0x6d')});}['init'](){this[_0x3db5('0x8b')]=this[_0x3db5('0x5e')]['plugins'][_0x3db5('0x5')](_0x3db5('0xc4')),this[_0x3db5('0xe8')](),this['editor'][_0x3db5('0x32')]['on']('ready',()=>{const _0x340e9b=this['repository'][_0x3db5('0xf1')](0x0),_0x214022=_0x340e9b&&null===_0x340e9b[_0x3db5('0x6f')]?_0x340e9b:null;if(this[_0x3db5('0xdf')]=!!_0x214022&&this[_0x3db5('0x5e')]['config'][_0x3db5('0x5')](_0x3db5('0xa8')),this['editor']['plugins'][_0x3db5('0xbb')]('RealTimeCollaborationClient')){const _0x193040=this[_0x3db5('0xef')]['getCurrentRevisionId'](),_0x37116a=this[_0x3db5('0x8b')][_0x3db5('0xf1')](_0x193040);if(_0x37116a)this['_startingVersion']=_0x37116a[_0x3db5('0xaa')],this[_0x3db5('0xdf')]=!0x1;else{const _0x31a2a6=this['_source'][_0x3db5('0x101')][_0x3db5('0xe3')][_0x3db5('0x70')](_0xf868da=>!_0xf868da[_0x3db5('0x58')]),_0x5e1298=_0x31a2a6?_0x31a2a6[_0x3db5('0x1a')]:this[_0x3db5('0xef')]['history'][_0x3db5('0x5f')];_0x340e9b?(_0x340e9b[_0x3db5('0xa6')]<_0x5e1298&&_0x340e9b[_0x3db5('0x87')]({'toVersion':_0x5e1298}),this[_0x3db5('0xdf')]?(this[_0x3db5('0xef')][_0x3db5('0xe6')]=()=>_0x214022['id'],this[_0x3db5('0x2')]=_0x214022[_0x3db5('0xaa')]):(this[_0x3db5('0x2')]=_0x340e9b[_0x3db5('0xa6')],this['_continueCurrentRevision']=!0x1)):(this[_0x3db5('0x2')]=_0x5e1298,this[_0x3db5('0xdf')]=!0x1);}}else _0x214022&&(this[_0x3db5('0x5e')][_0x3db5('0xcd')]['document'][_0x3db5('0x101')][_0x3db5('0x5f')]=Math['max'](_0x214022[_0x3db5('0xa6')],this['editor'][_0x3db5('0xcd')][_0x3db5('0x48')]['history'][_0x3db5('0x5f')]),_0x214022[_0x3db5('0xaa')]===_0x214022['toVersion']?(0x0!==_0x214022[_0x3db5('0xaa')]&&(this[_0x3db5('0xef')]['getCurrentRevisionId']=()=>_0x214022['id']),this[_0x3db5('0xdf')]=!0x1):this[_0x3db5('0xdf')]&&(this[_0x3db5('0xef')][_0x3db5('0xe6')]=()=>_0x214022['id'],this[_0x3db5('0x2')]=_0x214022[_0x3db5('0xaa')])),this['_continueCurrentRevision']||(this[_0x3db5('0x2')]=this[_0x3db5('0x5e')][_0x3db5('0xcd')][_0x3db5('0x48')][_0x3db5('0x5f')]);this['_revisionDataBuilder'][_0x3db5('0x29')](this[_0x3db5('0xef')][_0x3db5('0x101')]),this[_0x3db5('0x9c')](this[_0x3db5('0x2')]),this['_createCurrentRevision'](this[_0x3db5('0x2')]),this[_0x3db5('0x2d')]&&this['sendBufferedUpdates']();}),this['bind'](_0x3db5('0x86'))['to'](this,_0x3db5('0x2e'),_0x5bd177=>!_0x5bd177);}async[_0x3db5('0x6c')](){if(this[_0x3db5('0x8b')][_0x3db5('0xec')]>0x0){const _0x19168c=this['repository'][_0x3db5('0xf1')](0x0),_0x30fe38=await this[_0x3db5('0x4f')](_0x19168c),_0x3c1deb=await this[_0x3db5('0xc6')](_0x19168c);this[_0x3db5('0xca')](_0x30fe38,_0x3c1deb);}}[_0x3db5('0x22')](_0x230b01){this[_0x3db5('0xef')]=_0x230b01;}async['update'](){const _0x54a693=await this[_0x3db5('0xef')][_0x3db5('0x45')]();if(_0x54a693>this[_0x3db5('0x7c')][_0x3db5('0xa6')]){await this[_0x3db5('0x60')]();const _0x4a94da=this[_0x3db5('0x6b')]({'revision':this[_0x3db5('0x7c')],'to':_0x54a693});_0x4a94da['authors']=_0x4a94da[_0x3db5('0x2a')][_0x3db5('0x5b')](_0x17e715=>this[_0x3db5('0x5e')][_0x3db5('0x52')][_0x3db5('0x5')](_0x3db5('0xac'))['getUser'](_0x17e715)),this['currentRevision'][_0x3db5('0x87')](_0x4a94da);}}async['_loadState'](){this['_continueCurrentRevision']&&!this[_0x3db5('0x43')]&&(await this['_loadRevisionData'](this[_0x3db5('0x7c')]),this[_0x3db5('0x94')][_0x3db5('0x37')](this[_0x3db5('0x7c')]),this[_0x3db5('0x43')]={'fromVersion':this[_0x3db5('0x7c')]['fromVersion'],'authors':this[_0x3db5('0x7c')][_0x3db5('0xba')][_0x3db5('0x18')]()});}async['saveRevision'](_0x12fc8c={},_0x13c6e0=null){const _0x3e7527=[];await this[_0x3db5('0x60')](),this[_0x3db5('0xdf')]=!0x1,_0x13c6e0>this[_0x3db5('0x7c')][_0x3db5('0xa6')]&&(_0x13c6e0=null),null===_0x13c6e0&&(_0x13c6e0=await this[_0x3db5('0xef')]['getLatestVersion']());const _0x4c8623=this[_0x3db5('0x23')](_0x13c6e0),_0x3e183b=this[_0x3db5('0x6b')]({'from':_0x4c8623,'to':_0x13c6e0});if(this[_0x3db5('0x7c')]['toVersion']<_0x13c6e0){const _0x8e71af=this[_0x3db5('0x6b')]({'revision':this['currentRevision'],'from':_0x13c6e0,'to':_0x13c6e0});_0x8e71af[_0x3db5('0xba')]=[],_0x8e71af['authorsIds']=[],_0x8e71af['id']=this[_0x3db5('0x7c')]['id'],this['currentRevision'][_0x3db5('0x87')](_0x8e71af,!0x0),delete _0x8e71af[_0x3db5('0xba')],_0x3e7527[_0x3db5('0x7d')](_0x8e71af);}_0x12fc8c[_0x3db5('0x28')]=this['editor'][_0x3db5('0x52')]['get']('Users')['me']['id'],_0x12fc8c['name']=_0x12fc8c['name']||null,_0x12fc8c['id']=_0x12fc8c['id']||_0xc85226(),_0x12fc8c={..._0x12fc8c,..._0x3e183b};const _0x2f70b5=this[_0x3db5('0x91')](_0x12fc8c);_0x3e7527[_0x3db5('0x7d')](_0x12fc8c);const _0x2bbda1=this[_0x3db5('0x8b')]['getIndex'](_0x2f70b5);if(0x0!==_0x2bbda1){const _0x36105b=this[_0x3db5('0x8b')][_0x3db5('0xf1')](_0x2bbda1-0x1);if(_0x36105b[_0x3db5('0xaa')]!==_0x13c6e0){const _0x100a00=this[_0x3db5('0x94')]['getData'](_0x13c6e0,_0x36105b[_0x3db5('0xa6')]),_0x18f6aa={'id':_0x36105b['id'],'diffData':_0x100a00[_0x3db5('0xf')],'authorsIds':_0x100a00[_0x3db5('0x2a')],'authors':_0x100a00[_0x3db5('0x2a')][_0x3db5('0x5b')](_0x205e66=>this[_0x3db5('0x5e')][_0x3db5('0x52')]['get'](_0x3db5('0xac'))[_0x3db5('0xad')](_0x205e66)),'fromVersion':_0x13c6e0};_0x36105b===this[_0x3db5('0x7c')]&&(_0x18f6aa[_0x3db5('0xf5')]=new Date(_0x12fc8c['createdAt'][_0x3db5('0xe0')]()+0xa)),_0x36105b[_0x3db5('0x87')](_0x18f6aa,!0x0),delete _0x18f6aa['authors'],_0x3e7527[_0x3db5('0x7d')](_0x18f6aa);}}if(this[_0x3db5('0x2d')]){for(const _0x521128 of _0x3e7527)this[_0x3db5('0xb8')](_0x521128['id'],_0x521128,!0x0);this[_0x3db5('0xa7')]();}return _0x2f70b5;}[_0x3db5('0x91')](_0x43e704){const _0x56429f=this['repository'][_0x3db5('0x39')](_0x43e704);return this[_0x3db5('0x2d')]&&_0x56429f['on'](_0x3db5('0x87'),(_0x78298a,_0x5e843c,_0x3b8210)=>{_0x3b8210||(this[_0x3db5('0xb8')](_0x5e843c['id'],_0x5e843c,!0x0),this['sendBufferedUpdates']());}),this['repository'][_0x3db5('0x11')](_0x56429f,this[_0x3db5('0x0')](_0x56429f)),_0x56429f;}async[_0x3db5('0x4f')](_0x3fd1b5){await this['_loadRevisionData'](_0x3fd1b5);const _0x2c6e7a={};for(const _0xc651b6 in _0x3fd1b5[_0x3db5('0xf')]){if(_0x3fd1b5['diffData'][_0xc651b6][_0x3db5('0x83')]&&!_0x3fd1b5[_0x3db5('0xf')][_0xc651b6][_0x3db5('0x83')][_0x3db5('0x62')])continue;const _0x3cf642=this[_0x3db5('0x14')](JSON[_0x3db5('0xb')](_0x3fd1b5[_0x3db5('0xf')][_0xc651b6][_0x3db5('0x81')])),_0x13b459=this[_0x3db5('0x5e')][_0x3db5('0x33')]['view'][_0x3db5('0x48')],_0x2edfad=new _0x392ad3(_0x13b459,_0x3cf642['map'](_0x4231e9=>J(_0x4231e9,this[_0x3db5('0x5e')])));this[_0x3db5('0x5e')][_0x3db5('0x32')][_0x3db5('0xde')][_0x3db5('0xa9')]('marked'),_0x2c6e7a[_0xc651b6]=this[_0x3db5('0x5e')]['data']['processor'][_0x3db5('0x89')](_0x2edfad),this[_0x3db5('0x5e')][_0x3db5('0x32')][_0x3db5('0xde')][_0x3db5('0xa9')](_0x3db5('0x3'));}return _0x2c6e7a;}async[_0x3db5('0xc6')](_0x442c75){await this[_0x3db5('0xa2')](_0x442c75);const _0x3bced0={};for(const _0x5d7ed1 in _0x442c75[_0x3db5('0xf')])_0x442c75[_0x3db5('0xf')][_0x5d7ed1][_0x3db5('0x83')]&&!_0x442c75[_0x3db5('0xf')][_0x5d7ed1]['attachChange'][_0x3db5('0x62')]||(_0x3bced0[_0x5d7ed1]=_0x442c75[_0x3db5('0xf')][_0x5d7ed1]['attributesAfter']||{});return _0x3bced0;}[_0x3db5('0xa7')](){if(0x0===this[_0x3db5('0x3a')][_0x3db5('0xfb')])return;if(this[_0x3db5('0x2e')])return;let _0x23f012=Array['from'](this[_0x3db5('0x3a')]['values']());this[_0x3db5('0x3a')][_0x3db5('0x57')]();for(let _0x5d8574=0x0;_0x5d8574<_0x23f012['length'];_0x5d8574++){const _0x4c21f2=_0x23f012[_0x5d8574];let _0xe67399=!0x1;for(const _0x624974 of Object['keys'](_0x4c21f2))void 0x0===_0x4c21f2[_0x624974]?delete _0x4c21f2[_0x624974]:'id'!==_0x624974&&(_0xe67399=!0x0);_0xe67399||(_0x23f012[_0x5d8574]=null);}if(_0x23f012=_0x23f012[_0x3db5('0x27')](_0x5aaf53=>null!==_0x5aaf53),!_0x23f012[_0x3db5('0xec')])return;for(let _0x184abf=0x0;_0x184abf<_0x23f012[_0x3db5('0xec')];_0x184abf++){const _0x31d99c=_0x23f012[_0x184abf];void 0x0!==_0x31d99c[_0x3db5('0xaa')]&&void 0x0===_0x31d99c['toVersion']&&(_0x31d99c[_0x3db5('0xa6')]=this[_0x3db5('0x8b')][_0x3db5('0xf1')](_0x31d99c['id'])[_0x3db5('0xa6')]),void 0x0!==_0x31d99c['toVersion']&&void 0x0===_0x31d99c['fromVersion']&&(_0x31d99c[_0x3db5('0xaa')]=this[_0x3db5('0x8b')][_0x3db5('0xf1')](_0x31d99c['id'])['fromVersion']);}const _0x578c85=this['editor'][_0x3db5('0xdd')][_0x3db5('0x5')](_0x3db5('0x1b'));this[_0x3db5('0x2e')]=!0x0,this[_0x3db5('0xe')](),this[_0x3db5('0x2d')][_0x3db5('0x42')](_0x23f012,_0x578c85)[_0x3db5('0x38')](()=>{this['_isPendingUpdate']=!0x1;})[_0x3db5('0xfd')](_0x42883a=>{if(_0x42883a)for(const _0xf2dab5 of _0x42883a)this['setRevisionData']({'id':_0xf2dab5['id'],'createdAt':_0xf2dab5[_0x3db5('0xf5')]});this[_0x3db5('0xab')](),this['sendBufferedUpdates']();});}[_0x3db5('0xca')](_0x25bf5f,_0x16126d){let _0x47da89=this[_0x3db5('0x5e')][_0x3db5('0xdd')][_0x3db5('0x5')](_0x3db5('0xc1')),_0x4af0d0=this[_0x3db5('0x5e')][_0x3db5('0xdd')]['get'](_0x3db5('0x1f'));if(void 0x0===_0x47da89){_0x47da89={};for(const _0x2836f7 of this[_0x3db5('0x5e')][_0x3db5('0xcd')]['document'][_0x3db5('0xa1')]())_0x47da89[_0x2836f7]='';}if('string'==typeof _0x47da89&&(_0x47da89={'main':_0x47da89}),void 0x0===_0x4af0d0){_0x4af0d0={};for(const _0x3011fe of this[_0x3db5('0x5e')][_0x3db5('0xcd')][_0x3db5('0x48')][_0x3db5('0xa1')]())_0x4af0d0[_0x3011fe]={};}let _0x528032=!0x1;const _0x153de9=Object[_0x3db5('0xc8')](_0x47da89),_0x4dfef8=Object[_0x3db5('0xc8')](_0x25bf5f);for(const _0x362124 of _0x153de9){if(_0x47da89[_0x362124]!==_0x25bf5f[_0x362124]&&''!==_0x47da89[_0x362124]['trim']()){_0x528032=!0x0;break;}if(!_0x3e0bbd(_0x4af0d0[_0x362124],_0x16126d[_0x362124])&&Object[_0x3db5('0xc8')](_0x4af0d0[_0x362124])['length']>0x0){_0x528032=!0x0;break;}}_0x528032||(_0x528032=_0x4dfef8[_0x3db5('0x7e')](_0x272e42=>!this['editor'][_0x3db5('0xcd')][_0x3db5('0x48')][_0x3db5('0x5c')](_0x272e42))),_0x528032&&_0x255b8c('editor-initial-data-replaced-with-revision-data',{'editorData':_0x47da89,'editorRootsAttributes':_0x4af0d0,'revisionData':_0x25bf5f,'revisionRootsAttributes':_0x16126d}),this[_0x3db5('0x5e')][_0x3db5('0xdd')]['set'](_0x3db5('0xc1'),_0x25bf5f),this['editor']['config']['set'](_0x3db5('0x1f'),_0x16126d);}['_addPendingAction'](){if(!this[_0x3db5('0xff')]){const _0x71ffb2=this[_0x3db5('0x5e')][_0x3db5('0x52')][_0x3db5('0x5')](_0x3db5('0x24'));this[_0x3db5('0xff')]=_0x71ffb2[_0x3db5('0xcf')](_0x1b592a(this[_0x3db5('0x5e')]['locale'],_0x3db5('0x4e')));}}['_removePendingAction'](){this[_0x3db5('0xff')]&&(this[_0x3db5('0x5e')]['plugins']['get'](_0x3db5('0x24'))['remove'](this['_pendingAction']),this[_0x3db5('0xff')]=null);}[_0x3db5('0x0')](_0x47a805){const _0x456839=this[_0x3db5('0x8b')][_0x3db5('0xc2')]();_0x456839[_0x3db5('0xb7')]();let _0x34dfe1=0x0;for(;_0x34dfe1<_0x456839[_0x3db5('0xec')];){const _0x33cbc0=_0x456839[_0x34dfe1];if(_0x33cbc0===this['currentRevision']){_0x34dfe1++;continue;}if(_0x33cbc0['id']===this[_0x3db5('0xb1')])break;const _0x40db3d=_0x47a805[_0x3db5('0xa6')]-_0x33cbc0[_0x3db5('0xa6')]||_0x47a805[_0x3db5('0xaa')]-_0x33cbc0[_0x3db5('0xaa')];if(_0x40db3d>0x0)break;if(_0x40db3d<0x0)_0x34dfe1++;else{if(!_0x47a805[_0x3db5('0x6f')]&&_0x33cbc0[_0x3db5('0x6f')])break;if(_0x33cbc0[_0x3db5('0x6f')]||!_0x47a805[_0x3db5('0x6f')]){if(_0x47a805['createdAt']>_0x33cbc0[_0x3db5('0xf5')])break;_0x34dfe1++;}else _0x34dfe1++;}}return _0x34dfe1;}[_0x3db5('0xd1')](_0x567a73){const _0x547d97=this[_0x3db5('0x8b')][_0x3db5('0xf1')](_0x567a73['id']);if(_0x567a73[_0x3db5('0xf5')]&&(_0x567a73[_0x3db5('0xf5')]=new Date(_0x567a73[_0x3db5('0xf5')])),_0x567a73[_0x3db5('0x2a')]){const _0x41e0f2=this[_0x3db5('0x5e')][_0x3db5('0x52')][_0x3db5('0x5')](_0x3db5('0xac'));_0x567a73[_0x3db5('0xba')]=_0x567a73[_0x3db5('0x2a')]['map'](_0x46d448=>_0x41e0f2[_0x3db5('0xad')](_0x46d448));}_0x547d97[_0x3db5('0x87')](_0x567a73,!0x0);}['buildRevisionData']({revision:_0x33e2e5=null,from:_0x3b3e36=null,to:_0x33da82=null}){_0x3b3e36=null!==_0x3b3e36?_0x3b3e36:_0x33e2e5[_0x3db5('0xaa')],_0x33da82=null!==_0x33da82?_0x33da82:_0x33e2e5[_0x3db5('0xa6')];const _0x5d9549=this[_0x3db5('0x94')][_0x3db5('0xf7')](_0x3b3e36,_0x33da82),_0x124042={'diffData':_0x5d9549[_0x3db5('0xf')],'authorsIds':_0x5d9549[_0x3db5('0x2a')],'fromVersion':_0x3b3e36,'toVersion':_0x33da82};if(!_0x33e2e5||_0x33da82!==_0x33e2e5[_0x3db5('0xa6')]){const _0x307f8e=_0x33da82-0x1,_0x21a054=this[_0x3db5('0xef')][_0x3db5('0x101')][_0x3db5('0x84')](_0x307f8e);_0x124042[_0x3db5('0xf5')]=_0x21a054&&_0x21a054[_0x3db5('0xf5')]||new Date();}if(this[_0x3db5('0x43')]&&_0x3b3e36===this[_0x3db5('0x43')]['fromVersion'])for(const _0x20a4a9 of this[_0x3db5('0x43')]['authors'])_0x124042[_0x3db5('0x2a')][_0x3db5('0xd8')](_0x20a4a9['id'])||_0x124042['authorsIds'][_0x3db5('0x7d')](_0x20a4a9['id']);return _0x124042;}[_0x3db5('0xa2')](_0x22894a){if(!_0x22894a||_0x22894a[_0x3db5('0xf')])return Promise[_0x3db5('0x4b')]();{const _0x23f8f7=this['editor'][_0x3db5('0xdd')]['get'](_0x3db5('0x1b'));return this[_0x3db5('0x2d')][_0x3db5('0xf1')]({'channelId':_0x23f8f7,'revisionId':_0x22894a['id']})[_0x3db5('0xfd')](_0x3f073d=>{_0x22894a[_0x3db5('0xf')]=_0x3f073d['diffData'];});}}[_0x3db5('0xb8')](_0x163175,_0x169c8b,_0x4e1f51){if(this[_0x3db5('0x3a')][_0x3db5('0xbb')](_0x163175)){const _0x42741f=this[_0x3db5('0x3a')]['get'](_0x163175);_0x169c8b=_0x4e1f51?{..._0x42741f,..._0x169c8b}:{..._0x169c8b,..._0x42741f};}this['_bufferedUpdates'][_0x3db5('0xd9')](_0x163175,_0x169c8b);}[_0x3db5('0x23')](_0x168132){const _0x2b7049=this['repository']['getRevisions']();_0x2b7049[_0x3db5('0xb7')](),_0x2b7049[_0x3db5('0x4d')]();const _0x19c588=_0x2b7049[_0x3db5('0x70')](_0x4906ee=>_0x4906ee[_0x3db5('0xa6')]<=_0x168132)[_0x3db5('0xa6')];return _0x19c588<this[_0x3db5('0x2')]?this[_0x3db5('0x2')]:_0x19c588;}[_0x3db5('0x9c')](_0x4e3831){const _0x8e5243=this[_0x3db5('0x8b')][_0x3db5('0xf1')](this[_0x3db5('0x8b')]['length']-0x1);if(_0x8e5243)this[_0x3db5('0xb1')]=_0x8e5243['id'];else{const _0x17fa02=!this[_0x3db5('0x5e')][_0x3db5('0xcd')]['document'][_0x3db5('0xf0')][_0x3db5('0x70')](_0x292b37=>this[_0x3db5('0x5e')][_0x3db5('0xcd')][_0x3db5('0x77')](_0x292b37)),_0x235ecc=this[_0x3db5('0x5e')][_0x3db5('0x52')][_0x3db5('0x5')](_0x3db5('0xac'))['me']['id'],_0x1d039a=_0x1b592a(this['editor']['locale'],_0x17fa02?'Empty\x20document':_0x3db5('0x79'));this[_0x3db5('0xe9')]({'from':_0x4e3831,'to':_0x4e3831,'id':this['_initialRevisionId'],'name':_0x1d039a,'creatorId':_0x235ecc});}}[_0x3db5('0x41')](_0x3d3fd3){const _0x5418dd=this[_0x3db5('0xef')][_0x3db5('0xe6')]();this[_0x3db5('0x7c')]=this[_0x3db5('0x8b')][_0x3db5('0xf1')](_0x5418dd),this[_0x3db5('0x7c')]||(this[_0x3db5('0x7c')]=this[_0x3db5('0xe9')]({'from':_0x3d3fd3,'to':_0x3d3fd3,'id':_0x5418dd,'name':'','creatorId':null}));}[_0x3db5('0xe9')]({name:_0x165249,from:_0x4c0d1d,to:_0x56e8af,creatorId:_0x34f733,id:_0x44c804}){const _0x1b8a61=this[_0x3db5('0x6b')]({'from':_0x4c0d1d,'to':_0x56e8af});_0x1b8a61[_0x3db5('0x13')]=_0x165249,_0x1b8a61[_0x3db5('0x28')]=_0x34f733,_0x1b8a61['id']=_0x44c804;const _0x2b8526=this['addRevisionData'](_0x1b8a61);return this[_0x3db5('0x2d')]&&this['_bufferUpdate'](_0x1b8a61['id'],_0x1b8a61,!0x0),_0x2b8526;}[_0x3db5('0xe8')](){this[_0x3db5('0x5e')][_0x3db5('0xb4')][_0x3db5('0xf6')]('dataDowncast')[_0x3db5('0x99')]({'model':_0x3db5('0x6d')});}[_0x3db5('0x14')](_0x868290){return(_0x868290=_0x868290[_0x3db5('0x27')](_0x39685c=>!_0x39685c['name']||_0x3db5('0x7')!==_0x39685c[_0x3db5('0x13')]&&_0x3db5('0x26')!==_0x39685c['name']))[_0x3db5('0xce')](_0x27f30c=>{_0x3db5('0x20')!=typeof _0x27f30c&&(_0x27f30c[_0x3db5('0x9a')]=this[_0x3db5('0x14')](_0x27f30c['children']),_0x27f30c['attributes']=_0x27f30c['attributes'][_0x3db5('0x27')](_0x17fb7c=>!_0x17fb7c[0x0][_0x3db5('0xfc')](_0x3db5('0x8f'))));}),_0x868290;}}function J(_0x1c553c,_0x204231){const _0x44c3ec=_0x204231['editing']['view'][_0x3db5('0x48')];if(_0x3db5('0x20')==typeof _0x1c553c)return new _0x909347(_0x44c3ec,_0x1c553c);{const _0x2f1ae6=_0x1c553c[_0x3db5('0x9a')]['map'](_0x471e6f=>J(_0x471e6f,_0x204231));return new(B[_0x1c553c[(_0x3db5('0xf4'))]]||_0x4dbecd)(_0x44c3ec,_0x1c553c[_0x3db5('0x13')],_0x1c553c[_0x3db5('0xf3')],_0x2f1ae6);}}class H{constructor(_0x5003a5){this[_0x3db5('0x5e')]=_0x5003a5,this[_0x3db5('0x8')]=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this[_0x3db5('0x76')]=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this[_0x3db5('0xb6')]=new Map(),this[_0x3db5('0x63')]=new Map(),this[_0x3db5('0x9b')]=new Map(),this[_0x3db5('0x1')]=new Map(),this['_revisionId']=0x1;}[_0x3db5('0x29')](_0x4955a3){this[_0x3db5('0x5a')]=_0x4955a3;const _0x28f67d=new Map(),_0x42117f=new Map(),_0x50d05f=this[_0x3db5('0x5e')]['model']['document'][_0x3db5('0xf0')][_0x3db5('0x5b')](_0x46ec82=>_0x46ec82[_0x3db5('0x65')]);for(const _0xaa051 of _0x50d05f){const _0x19cf30=this[_0x3db5('0x5e')][_0x3db5('0xcd')][_0x3db5('0x48')]['getRoot'](_0xaa051),_0x21b9a6=q(_0x19cf30);_0x28f67d[_0x3db5('0xd9')](_0xaa051,_0x21b9a6),_0x42117f[_0x3db5('0xd9')](_0xaa051,Object['fromEntries'](_0x19cf30[_0x3db5('0xb9')]()));}const _0x42475b=Array[_0x3db5('0x100')](this['editor'][_0x3db5('0xcd')][_0x3db5('0x61')])[_0x3db5('0x5b')](_0x17bcde=>[_0x17bcde[_0x3db5('0x13')],_0x17bcde['getRange']()]),_0x1093f4=this[_0x3db5('0x5a')][_0x3db5('0x5f')];this[_0x3db5('0xb5')](_0x1093f4,_0x28f67d,_0x42475b,_0x42117f),this['_startingRevisionId']=this['_revisionId'];const _0x3bdc84=new Map(),_0x3e9f71=new Map();for(const _0x330e45 of _0x50d05f){const _0x4db120=G(_0x330e45);_0x3bdc84[_0x3db5('0xd9')](_0x330e45,_0x4db120),_0x3e9f71[_0x3db5('0xd9')](_0x330e45,{});}this[_0x3db5('0xb5')](Number[_0x3db5('0x35')],_0x3bdc84,[],_0x3e9f71);}['getData'](_0x48d638,_0x2504d6){if(this[_0x3db5('0x53')]===_0x48d638&&this[_0x3db5('0x6e')]<=_0x2504d6)this[_0x3db5('0x8')]['size']>0x1&&this[_0x3db5('0xdb')](this[_0x3db5('0x6e')]),this[_0x3db5('0x96')](this[_0x3db5('0x6e')],_0x2504d6,!0x0);else{if(!this['_savedMetaData'][_0x3db5('0xbb')](_0x48d638)){const _0x2eeb97=this['_getPreviousFrom'](_0x48d638);this[_0x3db5('0x3b')](_0x2eeb97,_0x48d638,!0x1);}this[_0x3db5('0x3b')](_0x48d638,_0x2504d6,!0x0);}return this['_lastFrom']=_0x48d638,this[_0x3db5('0x6e')]=_0x2504d6,this['_getState']();}['loadState'](_0x3d848f){this[_0x3db5('0xea')](),this[_0x3db5('0x53')]=_0x3d848f[_0x3db5('0xaa')],this[_0x3db5('0x6e')]=_0x3d848f[_0x3db5('0xa6')];for(const _0x132c1f in _0x3d848f[_0x3db5('0xf')]){const _0x27eee8=_0x3d848f[_0x3db5('0xf')][_0x132c1f][_0x3db5('0x83')],_0x290a00=_0x4d50b0(_0x3d848f[_0x3db5('0xf')][_0x132c1f][_0x3db5('0x88')])||{},_0x5f59d6=this['_makeModelFromViewString'](_0x3d848f[_0x3db5('0xf')][_0x132c1f]['deletions']);_0x5f59d6['rootName']=_0x132c1f,_0x5f59d6[_0x3db5('0xeb')]=!_0x27eee8||!_0x27eee8[_0x3db5('0x62')],_0x5f59d6[_0x3db5('0x62')]=()=>_0x5f59d6[_0x3db5('0xeb')],this['_baseRoots'][_0x3db5('0xd9')](_0x132c1f,_0x5f59d6),this[_0x3db5('0xd5')][_0x3db5('0xd9')](_0x132c1f,_0x290a00),_0x27eee8&&this['_touchedRoots'][_0x3db5('0xd9')](_0x132c1f,_0x27eee8);const _0x159af8=this[_0x3db5('0x9f')](_0x5f59d6);this[_0x3db5('0xb6')][_0x3db5('0xd9')](_0x132c1f,_0x159af8);for(const [_0x2a673b,_0x4f3c59]of _0x5f59d6[_0x3db5('0x61')]){if(!_0x2a673b[_0x3db5('0xfc')](_0x3db5('0x4c')))continue;const _0x41a18a=_0x2a673b[_0x3db5('0xf8')](':')[0x2];for(const _0x30dd95 of _0x4f3c59['getWalker']({'singleCharacters':!0x0})){const _0x46ea53=this['_getVidAttributeName'](_0x30dd95),_0x22228b=_0x3db5('0xe2')==_0x30dd95[_0x3db5('0xf4')]?_0x30dd95[_0x3db5('0xcb')][_0x3db5('0x51')][_0x3db5('0x18')](0x0,-0x1):_0x30dd95[_0x3db5('0xcb')][_0x3db5('0x51')],_0x5939fa=_0x159af8[_0x3db5('0x56')](_0x22228b)[_0x3db5('0x12')](_0x46ea53);this[_0x3db5('0x63')][_0x3db5('0xd9')](_0x5939fa,{'userId':_0x41a18a});}}}this['_startingRevisionId']=this[_0x3db5('0xbf')];const _0x533eeb=[...Array(this['_revisionId'])[_0x3db5('0xc8')]()]['slice'](0x1)[_0x3db5('0x27')](_0x417b6=>!this[_0x3db5('0x63')][_0x3db5('0xbb')](_0x417b6));let _0x1bfdbf=0x0;const _0x1dc49c=new Map();for(const _0x1a82c2 in _0x3d848f['diffData']){const _0x45b7c2=_0x3d848f[_0x3db5('0xf')][_0x1a82c2][_0x3db5('0x83')],_0x3220fa=_0x4d50b0(_0x3d848f[_0x3db5('0xf')][_0x1a82c2][_0x3db5('0x98')])||{},_0x378936=this['_makeModelFromViewString'](_0x3d848f[_0x3db5('0xf')][_0x1a82c2][_0x3db5('0x81')]);_0x378936[_0x3db5('0x65')]=_0x1a82c2,_0x378936[_0x3db5('0xeb')]=!_0x45b7c2||_0x45b7c2[_0x3db5('0x62')],_0x378936['isAttached']=()=>_0x378936[_0x3db5('0xeb')],this[_0x3db5('0x54')][_0x3db5('0xd9')](_0x1a82c2,_0x378936),this['_diffRootsAttributes'][_0x3db5('0xd9')](_0x1a82c2,_0x3220fa);const _0x430a87=this[_0x3db5('0x9f')](_0x378936,Number[_0x3db5('0x35')]);this[_0x3db5('0xbc')][_0x3db5('0xd9')](_0x1a82c2,_0x430a87),_0x1dc49c[_0x3db5('0xd9')](_0x1a82c2,_0x378936[_0x3db5('0x62')]()?_0x3220fa:{});for(const [_0xf1c13f,_0x19d19e]of _0x378936[_0x3db5('0x61')]){if(!_0xf1c13f[_0x3db5('0xfc')](_0x3db5('0x4c')))continue;const _0x4cca30=_0xf1c13f['split'](':')[0x2];for(const _0x392b4e of _0x19d19e[_0x3db5('0xd7')]({'singleCharacters':!0x0})){const _0x17a8af=this[_0x3db5('0x67')](_0x392b4e),_0x171e74=this['_revisionId']++,_0x158c0b='elementEnd'==_0x392b4e[_0x3db5('0xf4')]?_0x392b4e[_0x3db5('0xcb')][_0x3db5('0x51')][_0x3db5('0x18')](0x0,-0x1):_0x392b4e[_0x3db5('0xcb')]['path'];_0x430a87['getNodeByPath'](_0x158c0b)[_0x3db5('0xb3')](_0x17a8af,_0x171e74),this[_0x3db5('0x63')][_0x3db5('0xd9')](_0x171e74,{'userId':_0x4cca30});}}for(const _0x3142b3 of this[_0x3db5('0x5e')][_0x3db5('0xcd')][_0x3db5('0x8a')](_0x378936)[_0x3db5('0xd7')]({'singleCharacters':!0x0})){const _0x51b433=this[_0x3db5('0x67')](_0x3142b3),_0x3e0f3e=_0x3db5('0xe2')==_0x3142b3['type']?_0x3142b3[_0x3db5('0xcb')]['path']['slice'](0x0,-0x1):_0x3142b3[_0x3db5('0xcb')][_0x3db5('0x51')],_0x400b4a=_0x430a87[_0x3db5('0x56')](_0x3e0f3e);_0x400b4a[_0x3db5('0x12')](_0x51b433)>0x0||_0x400b4a[_0x3db5('0xb3')](_0x51b433,_0x533eeb[_0x1bfdbf++]);}for(const [_0x24e44f,_0x2dd759]of _0x378936[_0x3db5('0x61')])_0x24e44f[_0x3db5('0xfc')]('revision:')||this['_markers'][_0x3db5('0xd9')](_0x24e44f,_0x2dd759);}const _0x37d32f=G(_0x3db5('0x90'));this['_baseRoots'][_0x3db5('0xd9')]('$graveyard',_0x37d32f),this['_baseIdsRoots']['set'](_0x3db5('0x90'),this[_0x3db5('0x9f')](_0x37d32f,0x1));const _0x4542ce=G('$graveyard');this[_0x3db5('0x54')]['set']('$graveyard',_0x4542ce),this[_0x3db5('0xbc')][_0x3db5('0xd9')](_0x3db5('0x90'),this['_makeIdsRoot'](_0x4542ce,0x1));const _0x395d9e=Array[_0x3db5('0x100')](this[_0x3db5('0x54')])[_0x3db5('0x5b')](([_0x589837,_0xa19ed7])=>[_0x589837,q(_0xa19ed7)]);this['_saveMetaData'](this[_0x3db5('0x6e')],_0x395d9e,this[_0x3db5('0x76')],_0x1dc49c);}[_0x3db5('0x1d')](_0x216c51){const _0x21723e=JSON['parse'](_0x216c51),_0x1a686d=this[_0x3db5('0x5e')][_0x3db5('0x33')][_0x3db5('0x82')][_0x3db5('0x48')],_0x12ce27=new _0x392ad3(_0x1a686d,_0x21723e['map'](_0x415bd4=>J(_0x415bd4,this[_0x3db5('0x5e')])));return this[_0x3db5('0x5e')][_0x3db5('0x32')][_0x3db5('0x49')](_0x12ce27);}[_0x3db5('0xb5')](_0x2e8656,_0x16e2d5,_0x49a854,_0x3cdcc5){const _0x9275d3=new Map(_0x16e2d5),_0x1e5de1=new Map(_0x4d50b0(_0x3cdcc5)),_0x17d331=new Map();for(const [_0x140274,_0x2765ed]of _0x49a854)_0x17d331[_0x3db5('0xd9')](_0x140274,{'start':_0x2765ed['start']['clone'](),'end':_0x2765ed[_0x3db5('0x31')][_0x3db5('0xd2')](),'rootName':_0x2765ed[_0x3db5('0x8c')][_0x3db5('0x65')]});this['_savedMetaData']['set'](_0x2e8656,{'roots':_0x9275d3,'markers':_0x17d331,'rootsAttributes':_0x1e5de1});}[_0x3db5('0xdb')](_0x56cfc8){this[_0x3db5('0x8')]['delete'](_0x56cfc8);}['reInit'](){this[_0x3db5('0xea')](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this[_0x3db5('0x8')][_0x3db5('0x57')](),this[_0x3db5('0x29')](this[_0x3db5('0x5a')]);}[_0x3db5('0xea')](){this[_0x3db5('0x63')][_0x3db5('0x57')](),this[_0x3db5('0x9b')][_0x3db5('0x57')](),this[_0x3db5('0x1')][_0x3db5('0x57')](),this[_0x3db5('0x54')][_0x3db5('0x57')](),this[_0x3db5('0x68')]['clear'](),this[_0x3db5('0xfa')][_0x3db5('0x57')](),this[_0x3db5('0xd5')][_0x3db5('0x57')](),this[_0x3db5('0xbc')][_0x3db5('0x57')](),this['_baseIdsRoots']['clear'](),this[_0x3db5('0x76')]['clear'](),this[_0x3db5('0xbf')]=0x1,this[_0x3db5('0x1c')]=this[_0x3db5('0xbf')];}[_0x3db5('0x9f')](_0x23c5c0,_0x5c5447=null){let _0x1fd036=null;_0x23c5c0['is'](_0x3db5('0xd0'))||(_0x1fd036=new _0x3501b8(_0x23c5c0[_0x3db5('0x13')],{'vid_start':null===_0x5c5447?this[_0x3db5('0xbf')]++:_0x5c5447++}));const _0x23c0f9=[];for(const _0x1af38f of _0x23c5c0[_0x3db5('0xc7')]())if(_0x1af38f['is'](_0x3db5('0x7f'))){_0x23c0f9[_0x3db5('0x7d')](this[_0x3db5('0x9f')](_0x1af38f,_0x5c5447));const _0x44dbb4=_0x23c0f9[_0x23c0f9[_0x3db5('0xec')]-0x1];null!==_0x5c5447&&(_0x5c5447=_0x44dbb4['is'](_0x3db5('0x7f'),_0x3db5('0x2b'))?_0x44dbb4['getAttribute'](_0x3db5('0x80'))+0x1:_0x44dbb4[_0x3db5('0x12')](_0x3db5('0x16'))+0x1);}else for(let _0x40062e=0x0;_0x40062e<_0x1af38f['offsetSize'];_0x40062e++)_0x23c0f9[_0x3db5('0x7d')](new _0x3501b8('$text',{'vid':null===_0x5c5447?this[_0x3db5('0xbf')]++:_0x5c5447++}));if(_0x23c5c0['is'](_0x3db5('0xd0'))){const _0x582a0a=G(_0x23c5c0[_0x3db5('0x65')]);return _0x582a0a['_insertChild'](0x0,_0x23c0f9),_0x582a0a;}return _0x1fd036[_0x3db5('0xb3')](_0x3db5('0x16'),null===_0x5c5447?this[_0x3db5('0xbf')]++:_0x5c5447++),_0x1fd036[_0x3db5('0x21')](0x0,_0x23c0f9),_0x1fd036;}[_0x3db5('0x3b')](_0x50e06f,_0x5bc258,_0x277216){this['_reset']();const {roots:_0x14e396,markers:_0x33e940,rootsAttributes:_0x802630}=this[_0x3db5('0x8')][_0x3db5('0x5')](_0x50e06f);this['_baseRoots']=new Map(_0x14e396),this[_0x3db5('0xd5')]=new Map(_0x4d50b0(_0x802630));for(const [_0x1d147c,_0xa8f85c]of this[_0x3db5('0xfa')])if(_0x3db5('0x90')!==_0x1d147c&&(this['_diffRoots']['set'](_0x1d147c,q(_0xa8f85c)),this[_0x3db5('0x68')]=new Map(_0x4d50b0(_0x802630)),_0x277216)){const _0x52b20c=this['_revisionId'];this[_0x3db5('0xbc')][_0x3db5('0xd9')](_0x1d147c,this[_0x3db5('0x9f')](_0xa8f85c)),this['_baseIdsRoots']['set'](_0x1d147c,this['_makeIdsRoot'](_0xa8f85c,_0x52b20c));}this[_0x3db5('0x1c')]=this[_0x3db5('0xbf')],this[_0x3db5('0x54')][_0x3db5('0xd9')](_0x3db5('0x90'),q(this['_baseRoots']['get'](_0x3db5('0x90')))),_0x277216&&this[_0x3db5('0xbc')][_0x3db5('0xd9')](_0x3db5('0x90'),this[_0x3db5('0x9f')](this[_0x3db5('0xfa')]['get'](_0x3db5('0x90'))));for(const [_0x5dc367,_0x4c3748]of _0x33e940){const _0x4f4879=this[_0x3db5('0xfa')]['get'](_0x4c3748['rootName']),_0x10b4c5=this['_diffRoots'][_0x3db5('0x5')](_0x4c3748[_0x3db5('0x65')]),_0x1454a7=new _0x301b0c(this[_0x3db5('0x10')](_0x4c3748[_0x3db5('0xc9')],_0x4f4879),this['_fixPosition'](_0x4c3748[_0x3db5('0x31')],_0x4f4879)),_0x317925=this[_0x3db5('0xee')](_0x1454a7,_0x10b4c5);_0x4f4879[_0x3db5('0x61')][_0x3db5('0xd9')](_0x5dc367,_0x1454a7),this[_0x3db5('0x76')][_0x3db5('0xd9')](_0x5dc367,_0x317925);}this[_0x3db5('0x96')](_0x50e06f,_0x5bc258,_0x277216);}['_applyOperations'](_0x3bbc75,_0x122c50,_0x3d14a2){for(const _0x2f0b03 of this[_0x3db5('0x5a')][_0x3db5('0x95')](_0x3bbc75,_0x122c50))this['_handleOperation'](_0x2f0b03,_0x3d14a2);for(const _0x3060b0 of this[_0x3db5('0x54')]['values']())_0x3060b0['markers'][_0x3db5('0x57')]();for(const [_0x22e7b0,_0xbe10ee]of this['_markers']){this[_0x3db5('0x54')]['get'](_0xbe10ee['root'][_0x3db5('0x65')])[_0x3db5('0x61')][_0x3db5('0xd9')](_0x22e7b0,_0xbe10ee[_0x3db5('0xd2')]());}const _0x55daf0=new Map(),_0x1ab4f2=new Map();for(const [_0x474a84,_0x216d63]of this[_0x3db5('0x54')])_0x55daf0['set'](_0x474a84,q(_0x216d63)),_0x1ab4f2[_0x3db5('0xd9')](_0x474a84,this[_0x3db5('0x68')][_0x3db5('0x5')](_0x474a84));this[_0x3db5('0xb5')](_0x122c50,_0x55daf0,this[_0x3db5('0x76')],_0x1ab4f2);}[_0x3db5('0x4a')](_0x192398){const _0x47841e=Array['from'](this[_0x3db5('0x8')][_0x3db5('0xc8')]());_0x47841e[_0x3db5('0x8e')]((_0x41c155,_0x4ef1cf)=>_0x41c155-_0x4ef1cf),_0x47841e['reverse']();for(const _0x329602 of _0x47841e)if(_0x329602<_0x192398)return _0x329602;return Number[_0x3db5('0x35')];}[_0x3db5('0xe7')](_0x4decea,_0x35ebb3){const _0x182dbc=Array[_0x3db5('0x100')](_0x35ebb3[_0x3db5('0x61')])[_0x3db5('0x5b')](([_0x2d9c9c,_0x21a522])=>[_0x2d9c9c,this['_fixRange'](_0x21a522,_0x4decea)]);_0x4decea[_0x3db5('0x61')]=new Map(_0x182dbc);}[_0x3db5('0x66')](_0x5c760b){for(const _0x49e10c of this['_markers'][_0x3db5('0x3f')]()){const _0xa26442=_0x49e10c[_0x3db5('0xbe')](_0x5c760b),_0xb2f6a2=_0x301b0c[_0x3db5('0xcc')](_0xa26442);_0x49e10c['start']=_0xb2f6a2['start'],_0x49e10c[_0x3db5('0x31')]=_0xb2f6a2['end'];}}[_0x3db5('0xc0')](_0x4d6203,_0x1fec7c){if('addRoot'==_0x4d6203[_0x3db5('0xf4')]||'detachRoot'==_0x4d6203['type'])return void this[_0x3db5('0xd3')](_0x4d6203,_0x1fec7c);if('insert'==_0x4d6203['type']){const _0x52a492=_0x4d6203['position']['root'][_0x3db5('0x65')];this['_diffRoots'][_0x3db5('0xbb')](_0x52a492)||(this[_0x3db5('0x54')][_0x3db5('0xd9')](_0x52a492,G(_0x52a492,!0x0)),this[_0x3db5('0x68')]['set'](_0x52a492,{}),_0x1fec7c&&this[_0x3db5('0xbc')]['set'](_0x52a492,G(_0x52a492,!0x0)));}else{if(_0x3db5('0xb2')==_0x4d6203[_0x3db5('0xf4')]||_0x3db5('0x2f')==_0x4d6203[_0x3db5('0xf4')]||'changeRootAttribute'==_0x4d6203[_0x3db5('0xf4')])return void this['_handleRootAttributeOperation'](_0x4d6203);}const _0x1cabfd=this[_0x3db5('0x34')](_0x4d6203,this[_0x3db5('0x54')]);if(_0x3db5('0xdc')!==_0x4d6203[_0x3db5('0xf4')]&&(_0x1cabfd[_0x3db5('0x9e')](),this['_transformMarkers'](_0x1cabfd)),_0x1fec7c)switch(_0x1cabfd[_0x3db5('0xf4')]){case _0x3db5('0x64'):this[_0x3db5('0x8d')](_0x4d6203);break;case _0x3db5('0x55'):case _0x3db5('0xc'):case _0x3db5('0x44'):this[_0x3db5('0xd6')](_0x4d6203);break;case _0x3db5('0x75'):this[_0x3db5('0x47')](_0x4d6203);break;case _0x3db5('0xf8'):this[_0x3db5('0xc5')](_0x4d6203);break;case _0x3db5('0xdc'):this[_0x3db5('0x15')](_0x4d6203);}}[_0x3db5('0x34')](_0x5b5172,_0xcdcc4f){const _0x35ca69=_0x5b5172['clone']();return _0x35ca69[_0x3db5('0x93')]=_0x5b5172[_0x3db5('0x93')],this[_0x3db5('0xda')](_0x35ca69,_0xcdcc4f),_0x35ca69;}['_getBaseVids'](_0x3e8cd7){return _0x3e8cd7['map'](_0x48aa60=>{const _0x3f5c24=this[_0x3db5('0x67')](_0x48aa60);return Number(_0x48aa60[_0x3db5('0x78')][_0x3db5('0x12')](_0x3f5c24));});}[_0x3db5('0xa4')](_0x505cec,_0x54fbb7){if(_0x505cec['is']('element','$text'))_0x54fbb7['push']({'item':_0x505cec,'type':'text'});else{_0x505cec['is'](_0x3db5('0x7f'))&&_0x54fbb7[_0x3db5('0x7d')]({'item':_0x505cec,'type':_0x3db5('0xf2')});for(const _0x1858a8 of _0x505cec['getChildren']())this['_generateTape'](_0x1858a8,_0x54fbb7);_0x505cec['is']('element')&&_0x54fbb7[_0x3db5('0x7d')]({'item':_0x505cec,'type':_0x3db5('0xe2')});}return _0x54fbb7;}[_0x3db5('0x71')](){const _0x4c049e=new Map(this[_0x3db5('0x63')]),_0x4cdb28=new Map(_0x4c049e),_0x44d076=new Map(),_0x1dd062={'insertions':{},'deletions':{}},_0x4b4b1f={'insertions':{},'deletions':{}},_0x3cda34=new Map(),_0x41c896=new Set([...this['_baseRoots'][_0x3db5('0xc8')](),...this[_0x3db5('0x54')][_0x3db5('0xc8')]()]);_0x41c896[_0x3db5('0xa3')](_0x3db5('0x90'));for(const _0x98a4a6 of _0x41c896){const _0x1de08d=this[_0x3db5('0x54')][_0x3db5('0x5')](_0x98a4a6)||G(_0x98a4a6,!0x1),_0x1e6cea=this[_0x3db5('0xfa')][_0x3db5('0x5')](_0x98a4a6)||G(_0x98a4a6,!0x1);_0x1de08d[_0x3db5('0x62')]()||_0x1e6cea[_0x3db5('0x62')]()?(_0x1dd062[_0x3db5('0x81')][_0x98a4a6]=q(_0x1de08d),_0x1dd062['deletions'][_0x98a4a6]=q(_0x1e6cea),this[_0x3db5('0xe7')](_0x1dd062[_0x3db5('0x2c')][_0x98a4a6],_0x1e6cea),this[_0x3db5('0xe7')](_0x1dd062['insertions'][_0x98a4a6],_0x1de08d),_0x4b4b1f[_0x3db5('0x81')][_0x98a4a6]=this['_generateTape'](this[_0x3db5('0xbc')][_0x3db5('0x5')](_0x98a4a6),[]),_0x4b4b1f[_0x3db5('0x2c')][_0x98a4a6]=this[_0x3db5('0xa4')](this[_0x3db5('0xb6')]['get'](_0x98a4a6)||G(_0x98a4a6,!0x1),[])):_0x41c896['delete'](_0x98a4a6);}for(const _0x4b1e64 of _0x41c896){const _0x17ebbf=_0x4b4b1f[_0x3db5('0x81')][_0x4b1e64];for(const _0x204d93 of _0x17ebbf){const _0x50a76f=this[_0x3db5('0x67')](_0x204d93),_0x19acc1=_0x204d93[_0x3db5('0x78')][_0x3db5('0x12')](_0x50a76f);_0x4cdb28[_0x3db5('0xa3')](_0x19acc1),_0x19acc1>=this[_0x3db5('0x1c')]&&_0x44d076['set'](_0x19acc1,_0x4c049e['get'](_0x19acc1));}}for(const _0x4af719 of _0x41c896){const _0x253862=_0x4b4b1f['insertions'][_0x4af719],_0xfc35ad=this[_0x3db5('0xa0')](_0x4b4b1f[_0x3db5('0x2c')][_0x4af719]);let _0x29eb00=0x0;for(const _0x4f014a of _0x253862){const _0xd1c965=this[_0x3db5('0x67')](_0x4f014a),_0x3e521f=_0x4f014a[_0x3db5('0x78')]['getAttribute'](_0xd1c965);if(!_0x44d076[_0x3db5('0xbb')](_0x3e521f)&&!_0x3cda34[_0x3db5('0xbb')](_0x3e521f)){if(_0x4cdb28['has'](_0x3e521f))_0x29eb00++;else{if(_0x3e521f!=_0xfc35ad[_0x29eb00]){const _0x527ae3=_0x4c049e['get'](_0x3e521f)||_0x4c049e['get'](_0xfc35ad[_0x29eb00]);for(;_0x3e521f!=_0xfc35ad[_0x29eb00];)_0x4cdb28[_0x3db5('0xbb')](_0xfc35ad[_0x29eb00])||(_0x3cda34[_0x3db5('0xd9')](_0xfc35ad[_0x29eb00],_0x527ae3),_0x4c049e[_0x3db5('0xd9')](_0xfc35ad[_0x29eb00],_0x527ae3)),_0x29eb00++;}_0x29eb00++;}}}}for(const _0x34ff1c of _0x41c896){const _0x2e31d0=_0x4b4b1f[_0x3db5('0x81')][_0x34ff1c];for(const _0x29de1d of _0x2e31d0){const _0x5e04e9=this[_0x3db5('0x67')](_0x29de1d),_0x5bb539=_0x29de1d['item'][_0x3db5('0x12')](_0x5e04e9);if(_0x3cda34[_0x3db5('0xbb')](_0x5bb539)){const _0x306cee=_0x3cda34[_0x3db5('0x5')](_0x5bb539);_0x4cdb28[_0x3db5('0xbb')](_0x5bb539)||_0x4cdb28[_0x3db5('0xd9')](_0x5bb539,{..._0x306cee}),_0x44d076[_0x3db5('0xd9')](_0x5bb539,{..._0x306cee});}}}for(const _0x572d95 of _0x4cdb28['keys']())_0x572d95>=this[_0x3db5('0x1c')]&&_0x4cdb28[_0x3db5('0xa3')](_0x572d95);const _0x3224be=new Map();for(const _0x253b57 of _0x41c896){let _0x4bc24f=_0x4b4b1f[_0x3db5('0x81')][_0x253b57];for(const _0x1e228c of _0x4bc24f)if(_0x1e228c['item']['is'](_0x3db5('0x7f'),'tableCell')){const _0x576f10=this[_0x3db5('0x67')](_0x1e228c),_0x2b5d75=_0x1e228c[_0x3db5('0x78')][_0x3db5('0x12')](_0x576f10);if(_0x44d076[_0x3db5('0xbb')](_0x2b5d75)){const _0x401849=_0x1e228c[_0x3db5('0x78')][_0x3db5('0x72')]['parent'][_0x3db5('0x12')](_0x3db5('0x17')),_0x2af638=_0x3224be['get'](_0x401849)||new Set();_0x2af638[_0x3db5('0xcf')](_0x44d076[_0x3db5('0x5')](_0x2b5d75)[_0x3db5('0x92')]),_0x3224be[_0x3db5('0xd9')](_0x401849,_0x2af638);}}_0x4bc24f=_0x4b4b1f[_0x3db5('0x2c')][_0x253b57];for(const _0x52d076 of _0x4bc24f)if(_0x52d076[_0x3db5('0x78')]['is'](_0x3db5('0x7f'),_0x3db5('0x9d'))){const _0x4aba77=this[_0x3db5('0x67')](_0x52d076),_0x423cc9=_0x52d076[_0x3db5('0x78')][_0x3db5('0x12')](_0x4aba77);if(_0x4cdb28[_0x3db5('0xbb')](_0x423cc9)){const _0x563b35=_0x52d076[_0x3db5('0x78')][_0x3db5('0x72')][_0x3db5('0x72')]['getAttribute']('vid_start'),_0xf8a57e=_0x3224be[_0x3db5('0x5')](_0x563b35)||new Set();_0xf8a57e[_0x3db5('0xcf')](_0x4cdb28[_0x3db5('0x5')](_0x423cc9)['userId']),_0x3224be[_0x3db5('0xd9')](_0x563b35,_0xf8a57e);}}for(const _0x13684a of _0x3224be[_0x3db5('0xc8')]())(_0x44d076[_0x3db5('0xbb')](_0x13684a)||_0x4cdb28[_0x3db5('0xbb')](_0x13684a))&&_0x3224be['delete'](_0x13684a);}for(const _0x1efec0 of _0x41c896){const _0x48c46f=_0x4b4b1f[_0x3db5('0x81')][_0x1efec0];let _0x1df0bd=null,_0x5266b9=null;for(const _0x14eb03 of _0x48c46f){const _0x32fe3d=this['_getVidAttributeName'](_0x14eb03),_0x4ec84d=_0x14eb03[_0x3db5('0x78')][_0x3db5('0x12')](_0x32fe3d),_0x5d81f4=_0x3224be['get'](_0x4ec84d);_0x5d81f4&&_0x3db5('0xf2')==_0x14eb03[_0x3db5('0xf4')]&&(_0x1df0bd=Array[_0x3db5('0x100')](_0x5d81f4)[0x0],_0x5266b9=_0x14eb03[_0x3db5('0x78')][_0x3db5('0x12')](_0x3db5('0x16'))),_0x1df0bd&&(_0x4cdb28[_0x3db5('0xd9')](_0x4ec84d,{'userId':_0x1df0bd}),_0x44d076[_0x3db5('0xd9')](_0x4ec84d,{'userId':_0x1df0bd})),_0x4ec84d==_0x5266b9&&(_0x1df0bd=null,_0x5266b9=null);}}const _0x10998a={},_0x3fa5e7=new Set();for(const _0x585b06 of _0x41c896){const _0x639df9=_0x1dd062[_0x3db5('0x2c')][_0x585b06],_0x333981=_0x1dd062[_0x3db5('0x81')][_0x585b06];for(const {userId:_0x592a3f}of this[_0x3db5('0x9b')]['values']())null!==_0x592a3f&&_0x3fa5e7['add'](_0x592a3f);for(const {userId:_0x2636bc}of this[_0x3db5('0x1')][_0x3db5('0x3f')]())null!==_0x2636bc&&_0x3fa5e7[_0x3db5('0xcf')](_0x2636bc);this[_0x3db5('0xb0')](_0x333981,_0x4b4b1f[_0x3db5('0x81')][_0x585b06],_0x44d076,_0x3db5('0x9'),_0x3fa5e7),this[_0x3db5('0xb0')](_0x639df9,_0x4b4b1f[_0x3db5('0x2c')][_0x585b06],_0x4cdb28,_0x3db5('0x73'),_0x3fa5e7),_0x10998a[_0x585b06]={'insertions':this[_0x3db5('0x1e')](_0x333981),'deletions':this[_0x3db5('0x1e')](_0x639df9),'attachChange':this['_touchedRoots'][_0x3db5('0x5')](_0x585b06)||null,'attributesBefore':_0x4d50b0(this['_baseRootsAttributes'][_0x3db5('0x5')](_0x585b06))||{},'attributesAfter':_0x4d50b0(this['_diffRootsAttributes'][_0x3db5('0x5')](_0x585b06))};}return{'diffData':_0x10998a,'authorsIds':Array[_0x3db5('0x100')](_0x3fa5e7)};}['_processRootBeforeSave'](_0x57517f){for(const [,_0x4986fa]of _0x57517f[_0x3db5('0x61')]){const _0x447ece=_0x4986fa[_0x3db5('0xc9')]['getAncestors']()[_0x3db5('0x27')](_0x3834e2=>_0x3db5('0x9d')==_0x3834e2[_0x3db5('0x13')]);for(const _0x305441 of _0x447ece)0x1==_0x305441[_0x3db5('0xae')]&&_0x305441[_0x3db5('0xed')](0x0)['is'](_0x3db5('0x7f'),_0x3db5('0x50'))&&_0x305441[_0x3db5('0xed')](0x0)[_0x3db5('0xb3')]('keepParagraph',!0x0);}}[_0x3db5('0x1e')](_0x16b77e){this[_0x3db5('0x4')](_0x16b77e);const _0x43494a=this[_0x3db5('0x5e')]['data'][_0x3db5('0xf9')](_0x16b77e,{}),_0x42b10c=Array[_0x3db5('0x100')](_0x43494a[_0x3db5('0xc7')]())[_0x3db5('0x5b')](_0x484d39=>this[_0x3db5('0x19')](_0x484d39));return JSON['stringify'](_0x42b10c);}[_0x3db5('0x19')](_0x59a200){if(_0x59a200['is'](_0x3db5('0x2b')))return _0x59a200[_0x3db5('0x32')];{const _0x21b9c1=_0x59a200;return{'type':Object['keys'](B)[_0x3db5('0x70')](_0x40c1ab=>_0x59a200 instanceof B[_0x40c1ab]),'name':_0x21b9c1[_0x3db5('0x13')],'attributes':Array['from'](_0x21b9c1[_0x3db5('0xb9')]()),'children':Array['from'](_0x21b9c1['getChildren']())[_0x3db5('0x5b')](_0x7d5e6b=>this[_0x3db5('0x19')](_0x7d5e6b))};}}['_markChanges'](_0x175de9,_0x35d046,_0x5af826,_0x2c465c,_0x1f5fb7){let _0x392ccb=null,_0xba4299=null,_0x4813c9=0x0;const _0x2bce31=this[_0x3db5('0x5e')]['model'];for(let _0xc6c355=0x0;_0xc6c355<_0x35d046[_0x3db5('0xec')];_0xc6c355++){const _0x3982aa=this[_0x3db5('0x67')](_0x35d046[_0xc6c355]),_0xd21b2c=_0x35d046[_0xc6c355][_0x3db5('0x78')]['getAttribute'](_0x3982aa),_0x5d956a=_0x5af826[_0x3db5('0x5')](_0xd21b2c),_0x30d836=_0xc6c355==_0x35d046[_0x3db5('0xec')]-0x1;(!_0x392ccb&&_0x5d956a&&(_0x392ccb=_0x5d956a,_0xba4299=_0x35d046[_0xc6c355]),_0x392ccb&&(!_0x5d956a||_0x5d956a['userId']!=_0x392ccb[_0x3db5('0x92')]))&&(_0x4609de(_0x5d956a,L(_0xba4299,_0x175de9,_0x2bce31),L(_0x35d046[_0xc6c355],_0x175de9,_0x2bce31)),_0x392ccb=_0x5d956a||null,_0xba4299=_0x5d956a?_0x35d046[_0xc6c355]:null),_0x392ccb&&_0x30d836&&_0x4609de(_0x5d956a,L(_0xba4299,_0x175de9,_0x2bce31),W(_0x35d046[_0xc6c355],_0x175de9,_0x2bce31));}function _0x4609de(_0x4275c6,_0x149ad3,_0x55882e){const _0x54f584=_0x392ccb['userId'],_0x7766e8='revision:'+_0x2c465c+':'+_0x54f584+':'+_0x4813c9++,_0x3ab5c4=_0x2bce31[_0x3db5('0x40')](_0x149ad3,_0x55882e);_0x175de9['markers']['set'](_0x7766e8,_0x3ab5c4),null!==_0x54f584&&_0x1f5fb7[_0x3db5('0xcf')](_0x54f584);}}['_getVidAttributeName'](_0x4b85aa){switch(_0x4b85aa[_0x3db5('0xf4')]){case'elementStart':return _0x3db5('0x17');case'elementEnd':return _0x3db5('0x16');default:return _0x3db5('0x80');}}[_0x3db5('0xda')](_0xc7f778,_0x323e2e){_0xc7f778[_0x3db5('0x1a')]=null;for(const _0x13224e in _0xc7f778){const _0x36e11a=_0xc7f778[_0x13224e];if(_0x36e11a instanceof _0x5c3266){const _0x1fcf2f=_0x323e2e['get'](_0x36e11a[_0x3db5('0x8c')][_0x3db5('0x65')]);_0xc7f778[_0x13224e]=this['_fixPosition'](_0x36e11a,_0x1fcf2f);}if(_0x36e11a instanceof _0x301b0c){const _0x17d560=_0x323e2e['get'](_0x36e11a[_0x3db5('0x8c')][_0x3db5('0x65')]);_0xc7f778[_0x13224e]=this[_0x3db5('0xee')](_0x36e11a,_0x17d560);}_0x3db5('0x8c')===_0x13224e&&(_0xc7f778[_0x3db5('0x8c')]=_0x323e2e[_0x3db5('0x5')](_0xc7f778[_0x3db5('0x8c')][_0x3db5('0x65')]));}}['_fixRange'](_0x23d582,_0x740c7a){return this['editor'][_0x3db5('0xcd')][_0x3db5('0x40')](this[_0x3db5('0x10')](_0x23d582[_0x3db5('0xc9')],_0x740c7a),this[_0x3db5('0x10')](_0x23d582[_0x3db5('0x31')],_0x740c7a));}[_0x3db5('0x10')](_0x53b8f3,_0x2cc2c0){return this[_0x3db5('0x5e')][_0x3db5('0xcd')][_0x3db5('0xd4')](_0x2cc2c0,_0x53b8f3[_0x3db5('0x51')],_0x53b8f3[_0x3db5('0x3d')]);}['_handleInsertOperation'](_0x15d03f){const _0x1b28a1=this[_0x3db5('0xbc')][_0x3db5('0x5')](_0x15d03f[_0x3db5('0x3e')][_0x3db5('0x8c')][_0x3db5('0x65')]),_0x36541f=this[_0x3db5('0x10')](_0x15d03f[_0x3db5('0x3e')],_0x1b28a1),_0x2300b0=null===_0x15d03f[_0x3db5('0x93')]?null:_0x15d03f[_0x3db5('0x93')]||this[_0x3db5('0x5e')]['plugins'][_0x3db5('0x5')]('Users')['me']['id'],_0x4e87b2=_0x36541f[_0x3db5('0x72')],_0x1e8b4d=this[_0x3db5('0xbf')],_0x54a5a7=[];for(const _0x2354cc of _0x15d03f['nodes'])if(_0x2354cc['is']('element'))_0x54a5a7['push'](this['_makeIdsRoot'](_0x2354cc));else for(let _0x10b6b2=0x0;_0x10b6b2<_0x2354cc[_0x3db5('0x7b')];_0x10b6b2++)_0x54a5a7[_0x3db5('0x7d')](new _0x3501b8(_0x3db5('0x2b'),{'vid':this[_0x3db5('0xbf')]++}));const _0x34e7ba=this['_revisionId'];for(let _0x7f1191=_0x1e8b4d;_0x7f1191<_0x34e7ba;_0x7f1191++)this[_0x3db5('0x63')][_0x3db5('0xd9')](_0x7f1191,{'userId':_0x2300b0});_0x4e87b2['_insertChild'](_0x36541f['offset'],_0x54a5a7);}[_0x3db5('0xd6')](_0x371e3e){(_0x371e3e=this[_0x3db5('0x34')](_0x371e3e,this[_0x3db5('0xbc')]))['_execute']();const _0x3b32af=null===_0x371e3e[_0x3db5('0x93')]?null:_0x371e3e[_0x3db5('0x93')]||this[_0x3db5('0x5e')][_0x3db5('0x52')][_0x3db5('0x5')]('Users')['me']['id'],_0x2f5af0=_0x371e3e[_0x3db5('0xaf')](),_0x213254=_0x2f5af0['parent'],_0x4ffd17=_0x2f5af0[_0x3db5('0xc3')];!function _0x387dc3(_0x411071,_0xc63db8,_0x26fbe0,_0x5dbc43){for(let _0x2eb4d9=_0x26fbe0;_0x2eb4d9<_0x5dbc43;_0x2eb4d9++){const _0x1c6198=_0xc63db8['getChild'](_0x2eb4d9);_0x1c6198['is'](_0x3db5('0x7f'),_0x3db5('0x2b'))?_0x411071[_0x3db5('0xd9')](_0x1c6198[_0x3db5('0x12')](_0x3db5('0x80')),{'userId':_0x3b32af}):(_0x411071['set'](_0x1c6198['getAttribute'](_0x3db5('0x17')),{'userId':_0x3b32af}),_0x387dc3(_0x411071,_0x1c6198,0x0,_0x1c6198[_0x3db5('0xae')]),_0x411071['set'](_0x1c6198[_0x3db5('0x12')]('vid_end'),{'userId':_0x3b32af}));}}(this[_0x3db5('0x63')],_0x213254,_0x4ffd17,_0x4ffd17+_0x371e3e['howMany']);}[_0x3db5('0x47')](_0x565533){const _0x411067=null===(_0x565533=this['_cloneOperation'](_0x565533,this[_0x3db5('0xbc')]))[_0x3db5('0x93')]?null:_0x565533[_0x3db5('0x93')]||this[_0x3db5('0x5e')]['plugins'][_0x3db5('0x5')](_0x3db5('0xac'))['me']['id'],_0x2f0cf0=_0x565533[_0x3db5('0x46')]['parent'],_0x6c11ec=_0x565533['sourcePosition'][_0x3db5('0x72')],_0x42b755=_0x2f0cf0[_0x3db5('0x12')](_0x3db5('0x16')),_0x544daa=_0x6c11ec[_0x3db5('0x12')]('vid_start');_0x2f0cf0[_0x3db5('0xb3')](_0x3db5('0x16'),_0x6c11ec[_0x3db5('0x12')]('vid_end')),_0x6c11ec[_0x3db5('0xb3')](_0x3db5('0x16'),_0x42b755),this['_touched'][_0x3db5('0xd9')](_0x544daa,{'userId':_0x411067}),this[_0x3db5('0x63')][_0x3db5('0xd9')](_0x42b755,{'userId':_0x411067}),_0x565533[_0x3db5('0x9e')]();}[_0x3db5('0xc5')](_0xa7d15c){const _0x311422=null===(_0xa7d15c=this[_0x3db5('0x34')](_0xa7d15c,this['_idsRoots']))[_0x3db5('0x93')]?null:_0xa7d15c[_0x3db5('0x93')]||this[_0x3db5('0x5e')][_0x3db5('0x52')][_0x3db5('0x5')](_0x3db5('0xac'))['me']['id'],_0xccc929=_0xa7d15c[_0x3db5('0x74')],_0x34343a=_0xa7d15c['splitPosition'][_0x3db5('0x72')];_0xa7d15c[_0x3db5('0x9e')]();const _0x3891f2=_0x34343a['getAttribute']('vid_end'),_0x4bd941=_0xa7d15c[_0x3db5('0x85')]['nodeAfter'];if(_0xccc929){const _0x4b91b9=_0x4bd941['getAttribute'](_0x3db5('0x16')),_0x356c71=_0x34343a[_0x3db5('0x12')](_0x3db5('0x16'));_0x34343a[_0x3db5('0xb3')](_0x3db5('0x16'),_0x4b91b9),_0x4bd941[_0x3db5('0xb3')]('vid_end',_0x356c71),this[_0x3db5('0x63')][_0x3db5('0xd9')](_0x34343a[_0x3db5('0x12')](_0x3db5('0x16')),{'userId':_0x311422}),this[_0x3db5('0x63')][_0x3db5('0xd9')](_0x4bd941[_0x3db5('0x12')](_0x3db5('0x17')),{'userId':_0x311422});}else{const _0x401690=this['_revisionId']++,_0x49543d=this['_revisionId']++;_0x34343a[_0x3db5('0xb3')](_0x3db5('0x16'),_0x401690),_0x4bd941[_0x3db5('0xb3')](_0x3db5('0x17'),_0x49543d),_0x4bd941['_setAttribute'](_0x3db5('0x16'),_0x3891f2),this[_0x3db5('0x63')]['set'](_0x401690,{'userId':_0x311422}),this['_touched'][_0x3db5('0xd9')](_0x49543d,{'userId':_0x311422});}}[_0x3db5('0x15')](_0x1e1466){if(!_0x1e1466['affectsData'])return;const _0x54bc7a=(_0x1e1466=this[_0x3db5('0x34')](_0x1e1466,this['_diffRoots']))[_0x3db5('0xa')]?_0x1e1466[_0x3db5('0xa')][_0x3db5('0x8c')]:null,_0x30e4b4=_0x1e1466['newRange']?_0x1e1466[_0x3db5('0x6a')][_0x3db5('0x8c')]:null;_0x54bc7a&&this[_0x3db5('0x76')][_0x3db5('0xa3')](_0x1e1466['name']),_0x30e4b4&&this[_0x3db5('0x76')]['set'](_0x1e1466[_0x3db5('0x13')],_0x1e1466[_0x3db5('0x6a')][_0x3db5('0xd2')]());const _0x415c5b=null===_0x1e1466[_0x3db5('0x93')]?null:_0x1e1466['_authorId']||this[_0x3db5('0x5e')][_0x3db5('0x52')][_0x3db5('0x5')](_0x3db5('0xac'))['me']['id'],_0x497a9b=_0x1e1466[_0x3db5('0x13')];if(!this[_0x3db5('0x9b')][_0x3db5('0xbb')](_0x497a9b))return void this[_0x3db5('0x9b')][_0x3db5('0xd9')](_0x497a9b,{'range':_0x1e1466[_0x3db5('0xa')],'userId':_0x415c5b});const _0x3ad96e=this['_touchedMarkers'][_0x3db5('0x5')](_0x497a9b),_0x385003=_0x3ad96e[_0x3db5('0xa5')],_0x45f640=_0x1e1466[_0x3db5('0x6a')];null==_0x385003&&null==_0x45f640||_0x385003&&_0x45f640&&_0x385003[_0x3db5('0x30')](_0x45f640)?this[_0x3db5('0x9b')][_0x3db5('0xa3')](_0x1e1466[_0x3db5('0x13')]):_0x3ad96e['userId']=_0x415c5b;}[_0x3db5('0xd3')](_0x5235fd,_0x386809){this[_0x3db5('0x54')][_0x3db5('0xbb')](_0x5235fd['rootName'])?this[_0x3db5('0x54')]['get'](_0x5235fd[_0x3db5('0x65')])['_isAttached']=_0x5235fd['isAdd']:(this[_0x3db5('0x54')][_0x3db5('0xd9')](_0x5235fd[_0x3db5('0x65')],G(_0x5235fd[_0x3db5('0x65')],!0x0)),this[_0x3db5('0x68')][_0x3db5('0xd9')](_0x5235fd[_0x3db5('0x65')],{}),_0x386809&&this[_0x3db5('0xbc')]['set'](_0x5235fd[_0x3db5('0x65')],G(_0x5235fd[_0x3db5('0x65')],!0x0)));const _0x4d6210=null===_0x5235fd['_authorId']?null:_0x5235fd[_0x3db5('0x93')]||this[_0x3db5('0x5e')][_0x3db5('0x52')]['get'](_0x3db5('0xac'))['me']['id'],_0x212316=this['_touchedRoots'][_0x3db5('0x5')](_0x5235fd[_0x3db5('0x65')]);_0x212316&&_0x212316[_0x3db5('0x92')]===_0x4d6210?this[_0x3db5('0x1')][_0x3db5('0xa3')](_0x5235fd['rootName']):this[_0x3db5('0x1')][_0x3db5('0xd9')](_0x5235fd['rootName'],{'userId':_0x4d6210,'isAttached':_0x5235fd[_0x3db5('0xe4')]});}[_0x3db5('0x59')](_0x2966e8){const _0x1a12ff=this[_0x3db5('0x68')][_0x3db5('0x5')](_0x2966e8[_0x3db5('0x8c')][_0x3db5('0x65')]);null===_0x2966e8[_0x3db5('0x25')]?delete _0x1a12ff[_0x2966e8[_0x3db5('0xd')]]:_0x1a12ff[_0x2966e8[_0x3db5('0xd')]]=_0x2966e8[_0x3db5('0x25')];}}function q(_0x362198){const _0x3ecb35=G(_0x362198[_0x3db5('0x65')],_0x362198[_0x3db5('0x62')]());for(const _0x3dd8da of _0x362198[_0x3db5('0xc7')]()){const _0x3ead25=_0x3dd8da[_0x3db5('0x5d')](!0x0);_0x3ecb35[_0x3db5('0x6')](_0x3ead25);}return _0x3ecb35;}function G(_0x413717,_0x46dfbc=!0x0){const _0x4f0359=new _0x3d771b();return _0x4f0359[_0x3db5('0x65')]=_0x413717,_0x4f0359['_isAttached']=_0x46dfbc,_0x4f0359[_0x3db5('0x62')]=()=>_0x4f0359[_0x3db5('0xeb')],_0x4f0359;}function L(_0x4a219e,_0x1e92fe,_0x1a1cf5){const _0x50772f=_0x3db5('0xe2')==_0x4a219e[_0x3db5('0xf4')]?_0x1a1cf5['createPositionAt'](_0x4a219e['item'],_0x3db5('0x31')):_0x1a1cf5[_0x3db5('0x3c')](_0x4a219e[_0x3db5('0x78')]);return _0x1a1cf5['createPositionFromPath'](_0x1e92fe,_0x50772f['path'],_0x50772f[_0x3db5('0x3d')]);}function W(_0x1e30c4,_0x83ed54,_0x48e9df){const _0x232199=_0x3db5('0xf2')==_0x1e30c4['type']?_0x48e9df['createPositionAt'](_0x1e30c4[_0x3db5('0x78')],0x0):_0x48e9df[_0x3db5('0xfe')](_0x1e30c4[_0x3db5('0x78')]);return _0x48e9df['createPositionFromPath'](_0x83ed54,_0x232199['path'],_0x232199[_0x3db5('0x3d')]);}
|
|
23
|
+
const _0x4be6dc=_0x1567;(function(_0x546f77,_0x565c55){const _0xcf006=_0x1567,_0x2f8380=_0x546f77();while(!![]){try{const _0x49ad51=parseInt(_0xcf006(0x261))/0x1+parseInt(_0xcf006(0x27b))/0x2*(-parseInt(_0xcf006(0x22c))/0x3)+-parseInt(_0xcf006(0x207))/0x4+-parseInt(_0xcf006(0x2d0))/0x5+-parseInt(_0xcf006(0x272))/0x6+-parseInt(_0xcf006(0x28d))/0x7+parseInt(_0xcf006(0x1c4))/0x8*(parseInt(_0xcf006(0x293))/0x9);if(_0x49ad51===_0x565c55)break;else _0x2f8380['push'](_0x2f8380['shift']());}catch(_0x4aa1fd){_0x2f8380['push'](_0x2f8380['shift']());}}}(_0xbf12,0x715b8));import{Users as _0x4ff938}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x3e59a1,PendingActions as _0xcdf97c}from'ckeditor5/src/core.js';import{logWarning as _0x62d008,uid as _0x410aff}from'ckeditor5/src/utils.js';import{Position as _0x1dcb34,Range as _0x126b30,Element as _0x4d1bba,DocumentFragment as _0x5adb62,ViewText as _0x24a283,ViewElement as _0x1fe783,ViewContainerElement as _0x5c271f,ViewAttributeElement as _0x5ee49f,ViewEmptyElement as _0x3ddf62,ViewRawElement as _0x14e73f,ViewUIElement as _0x13d446,ViewDocumentFragment as _0x4cd35d}from'ckeditor5/src/engine.js';function _0xbf12(){const _0x517a7d=['getRange','_revisionDataBuilder','offsetSize','model','addRevisionData','919569OuVZhH','isEqual','baseVersion','_handleMergeOperation','_operations','nodes','editor','dataDowncast','currentRevision','afterInit','childCount','toVersion','_generateTape','reinsert','getAttributes','delete','_makeModelFromViewString','getAncestors','_handleMoveOperation','vid_end','history','revision:','has','_reset','tableCell','_addPendingAction','resolve','creatorId','isReady','_cloneOperation','startsWith','item','_appendChild','elementStart','parent','root','getChild','getRoot','version','initial','getTransformedByOperation','_makeRevision','size','range','remove','_processRootBeforeSave','_update','creator','toView','children','pluginName','getChildren','$text','832969SVRbMV','_handleRootOperation','createPositionFromPath','getRevisionDocumentData','_removePendingAction','_fixOperation','_fixRange','_makeIdsRoot','getOperations','newRange','bind','fromEntries','buildRevisionData','data-revision-','_source','_diffRootsAttributes','_saveMetaData','1002912hHhNwi','userId','addRevision','getRootNames','affectsData','PENDING_ACTION_REVISION_HISTORY','_fixPosition','_baseIdsRoots','default','4iKTPfu','createdAt','_clone','_removeRevisionMarkers','toData','insert','$graveyard','_startingVersion','stickiness','slice','_loadState','_authorId','_markChanges','repository','stringify','get','split','createPositionAt','3363283rumyTX','attributes','_startingRevisionId','position','offset','isAdd','17793927kpYmLf','getIndex','filter','setSource','createRange','_getFromVersion','_setConversion','forEach','documentFragment','marked','for','_handleMarkerOperation','_transformMarkers','authors','upcast','clone','map','getUser','isAttached','_replaceEditorDataWithRevisionData','sort','element','key','_execute','reverse','parse','max','createPositionAfter','insertions','attributesAfter','revisionHistory.resumeUnsavedRevision','initialData','isEnabled','useFillerType','NEGATIVE_INFINITY','sourcePosition','_handleSplitOperation','RealTimeCollaborationClient','keys','path','_bufferUpdate','dataToMarker','getNodeByPath','_pendingAction','targetPosition','plugins','_handleOperation','type','_touchedMarkers','finally','getWalker','getOperation','_baseRootsAttributes','_isInit','insertionPosition','init','_markers','rootsAttributes','hasContent','shift','locale','3322200FtpJrj','_removeMetaData','_createCurrentRevision','_handleInsertOperation','getRevisions','detachRoot','Users','string','getMovedRangeStart','start','fromVersion','previousPosition','getCurrentRevisionId','adapter','getRevisionRootsAttributes','revision','source','Empty\x20document','merge','splitPosition','keepParagraph','_idsRoots','_isAttached','addRootAttribute','end','define','changeRootAttribute','markerToData','getRevision','_initialRevisionId','8DYieng','_bufferedUpdates','setRevisionData','_copyMarkers','_createInitialRevision','attributesBefore','_touchedRoots','_getBaseVids','marker','getTime','_savedMetaData','_loadedStateData','find','update','addRoot','values','conversion','_getVidAttributeName','config','revision-end','_createFromRanges','_baseRoots','RevisionsRepository','nodeAfter','_diffRoots','elementEnd','howMany','name','updateRevisions','_revisionId','Initial\x20revision','diffData','newValue','push','_loadRevisionData','graveyardPosition','ready','RevisionTracker','_touched','_getViewJson','processor','_isPendingUpdate','includes','sendBufferedUpdates','getLatestVersion','from','oldRange','PendingActions','set','trim','_lastFrom','rootName','createRangeIn','editor-initial-data-replaced-with-revision-data','view','_getState','length','_applyOperations','_setAttribute','some','deletions','loadState','document','createPositionBefore','toModel','data','authorsIds','1682612cHKrLm','reInit','removeRootAttribute','attachChange','_getPreviousFrom','paragraph','_handleRootAttributeOperation','editing','_calculateMetaData','then','text','markers','revision-start','add','requires','clear','_lastTo','_findInsertionIndex','vid_start','roots','_prepareViewToSave','collaboration.channelId','getAttribute','move','_continueCurrentRevision','getData','saveRevision','createRevision','vid','_insertChild','insertion','deletion'];_0xbf12=function(){return _0x517a7d;};return _0xbf12();}import _0x3ef8fd from'./revisionsrepository.js';import{getTranslation as _0x1a7c87}from'./utils/common-translations.js';import{cloneDeep as _0x523441,isEqual as _0x5025b2}from'lodash-es';const T={'c':_0x5c271f,'a':_0x5ee49f,'e':_0x3ddf62,'r':_0x14e73f,'u':_0x13d446};export default class l extends _0x3e59a1{static get[_0x4be6dc(0x25e)](){const _0x44e5bd=_0x4be6dc;return _0x44e5bd(0x1e9);}static get[_0x4be6dc(0x215)](){return[_0x4ff938,_0x3ef8fd,_0xcdf97c];}constructor(_0x5c94d2){const _0x140dfd=_0x4be6dc;super(_0x5c94d2),this[_0x140dfd(0x2dd)]=null,this[_0x140dfd(0x234)]=null,this[_0x140dfd(0x228)]=new J(this[_0x140dfd(0x232)]),this[_0x140dfd(0x1c3)]=this[_0x140dfd(0x232)][_0x140dfd(0x1d6)][_0x140dfd(0x28a)](_0x140dfd(0x21c))||_0x140dfd(0x253),this[_0x140dfd(0x1c5)]=new Map(),this[_0x140dfd(0x1cf)]=null;const _0x6e9e84=_0x410aff();this[_0x140dfd(0x26f)]={'history':this[_0x140dfd(0x232)][_0x140dfd(0x22a)][_0x140dfd(0x202)][_0x140dfd(0x240)],'getLatestVersion':()=>Promise[_0x140dfd(0x246)](this[_0x140dfd(0x232)][_0x140dfd(0x22a)][_0x140dfd(0x202)][_0x140dfd(0x252)]),'getCurrentRevisionId':()=>_0x6e9e84},this[_0x140dfd(0x1f4)](_0x140dfd(0x248),!0x1),this[_0x140dfd(0x1f4)](_0x140dfd(0x2b3),!0x0),this[_0x140dfd(0x1f4)](_0x140dfd(0x1ed),!0x1),this[_0x140dfd(0x232)][_0x140dfd(0x1d6)][_0x140dfd(0x1bf)](_0x140dfd(0x2b1),!0x0),this[_0x140dfd(0x232)][_0x140dfd(0x1d4)][_0x140dfd(0x29d)](_0x140dfd(0x2a1))[_0x140dfd(0x2bc)]({'view':_0x140dfd(0x2df)});}[_0x4be6dc(0x2ca)](){const _0x3124d9=_0x4be6dc;this[_0x3124d9(0x288)]=this[_0x3124d9(0x232)][_0x3124d9(0x2c0)][_0x3124d9(0x28a)](_0x3124d9(0x1da)),this[_0x3124d9(0x299)](),this[_0x3124d9(0x232)][_0x3124d9(0x205)]['on'](_0x3124d9(0x1e8),()=>{const _0x4832bf=_0x3124d9,_0x20a652=this[_0x4832bf(0x288)][_0x4832bf(0x1c2)](0x0),_0x563347=_0x20a652&&null===_0x20a652[_0x4832bf(0x25b)]?_0x20a652:null;if(this[_0x4832bf(0x21f)]=!!_0x563347&&this[_0x4832bf(0x232)][_0x4832bf(0x1d6)][_0x4832bf(0x28a)](_0x4832bf(0x2b1)),this[_0x4832bf(0x232)][_0x4832bf(0x2c0)][_0x4832bf(0x242)](_0x4832bf(0x2b8))){const _0x56cde0=this[_0x4832bf(0x26f)][_0x4832bf(0x2dc)](),_0x76e744=this[_0x4832bf(0x288)][_0x4832bf(0x1c2)](_0x56cde0);if(_0x76e744)this[_0x4832bf(0x282)]=_0x76e744[_0x4832bf(0x2da)],this[_0x4832bf(0x21f)]=!0x1;else{const _0x41e83b=this[_0x4832bf(0x26f)][_0x4832bf(0x240)][_0x4832bf(0x230)][_0x4832bf(0x1d0)](_0x45545c=>!_0x45545c[_0x4832bf(0x2c8)]),_0x31a8b6=_0x41e83b?_0x41e83b[_0x4832bf(0x22e)]:this[_0x4832bf(0x26f)][_0x4832bf(0x240)][_0x4832bf(0x252)];_0x20a652?(_0x20a652[_0x4832bf(0x237)]<_0x31a8b6&&_0x20a652[_0x4832bf(0x25a)]({'toVersion':_0x31a8b6}),this[_0x4832bf(0x21f)]?(this[_0x4832bf(0x26f)][_0x4832bf(0x2dc)]=()=>_0x563347['id'],this[_0x4832bf(0x282)]=_0x563347[_0x4832bf(0x2da)]):(this[_0x4832bf(0x282)]=_0x20a652[_0x4832bf(0x237)],this[_0x4832bf(0x21f)]=!0x1)):(this[_0x4832bf(0x282)]=_0x31a8b6,this[_0x4832bf(0x21f)]=!0x1);}}else _0x563347&&(this[_0x4832bf(0x232)][_0x4832bf(0x22a)][_0x4832bf(0x202)][_0x4832bf(0x240)][_0x4832bf(0x252)]=Math[_0x4832bf(0x2ad)](_0x563347[_0x4832bf(0x237)],this[_0x4832bf(0x232)][_0x4832bf(0x22a)][_0x4832bf(0x202)][_0x4832bf(0x240)][_0x4832bf(0x252)]),_0x563347[_0x4832bf(0x2da)]===_0x563347[_0x4832bf(0x237)]?(0x0!==_0x563347[_0x4832bf(0x2da)]&&(this[_0x4832bf(0x26f)][_0x4832bf(0x2dc)]=()=>_0x563347['id']),this[_0x4832bf(0x21f)]=!0x1):this[_0x4832bf(0x21f)]&&(this[_0x4832bf(0x26f)][_0x4832bf(0x2dc)]=()=>_0x563347['id'],this[_0x4832bf(0x282)]=_0x563347[_0x4832bf(0x2da)])),this[_0x4832bf(0x21f)]||(this[_0x4832bf(0x282)]=this[_0x4832bf(0x232)][_0x4832bf(0x22a)][_0x4832bf(0x202)][_0x4832bf(0x252)]);this[_0x4832bf(0x228)][_0x4832bf(0x2ca)](this[_0x4832bf(0x26f)][_0x4832bf(0x240)]),this[_0x4832bf(0x1c8)](this[_0x4832bf(0x282)]),this[_0x4832bf(0x2d2)](this[_0x4832bf(0x282)]),this[_0x4832bf(0x2dd)]&&this[_0x4832bf(0x1ef)]();}),this[_0x3124d9(0x26b)](_0x3124d9(0x248))['to'](this,_0x3124d9(0x1ed),_0xb7a1bb=>!_0xb7a1bb);}async[_0x4be6dc(0x235)](){const _0x49ba76=_0x4be6dc;if(this[_0x49ba76(0x288)][_0x49ba76(0x1fc)]>0x0){const _0xd2e0e6=this[_0x49ba76(0x288)][_0x49ba76(0x1c2)](0x0),_0x239e63=await this[_0x49ba76(0x264)](_0xd2e0e6),_0x24e299=await this[_0x49ba76(0x2de)](_0xd2e0e6);this[_0x49ba76(0x2a6)](_0x239e63,_0x24e299);}}[_0x4be6dc(0x296)](_0x4c73e2){const _0x1e6c85=_0x4be6dc;this[_0x1e6c85(0x26f)]=_0x4c73e2;}async[_0x4be6dc(0x1d1)](){const _0x9fa1bd=_0x4be6dc,_0x294933=await this[_0x9fa1bd(0x26f)][_0x9fa1bd(0x1f0)]();if(_0x294933>this[_0x9fa1bd(0x234)][_0x9fa1bd(0x237)]){await this[_0x9fa1bd(0x285)]();const _0x29d8ba=this[_0x9fa1bd(0x26d)]({'revision':this[_0x9fa1bd(0x234)],'to':_0x294933});_0x29d8ba[_0x9fa1bd(0x2a0)]=_0x29d8ba[_0x9fa1bd(0x206)][_0x9fa1bd(0x2a3)](_0x2aab61=>this[_0x9fa1bd(0x232)][_0x9fa1bd(0x2c0)][_0x9fa1bd(0x28a)](_0x9fa1bd(0x2d6))[_0x9fa1bd(0x2a4)](_0x2aab61)),this[_0x9fa1bd(0x234)][_0x9fa1bd(0x25a)](_0x29d8ba);}}async[_0x4be6dc(0x285)](){const _0x5eea41=_0x4be6dc;this[_0x5eea41(0x21f)]&&!this[_0x5eea41(0x1cf)]&&(await this[_0x5eea41(0x1e6)](this[_0x5eea41(0x234)]),this[_0x5eea41(0x228)][_0x5eea41(0x201)](this[_0x5eea41(0x234)]),this[_0x5eea41(0x1cf)]={'fromVersion':this[_0x5eea41(0x234)][_0x5eea41(0x2da)],'authors':this[_0x5eea41(0x234)][_0x5eea41(0x2a0)][_0x5eea41(0x284)]()});}async[_0x4be6dc(0x221)](_0x147328={},_0x648c72=null){const _0xc225da=_0x4be6dc,_0x4d13c2=[];await this[_0xc225da(0x285)](),this[_0xc225da(0x21f)]=!0x1,_0x648c72>this[_0xc225da(0x234)][_0xc225da(0x237)]&&(_0x648c72=null),null===_0x648c72&&(_0x648c72=await this[_0xc225da(0x26f)][_0xc225da(0x1f0)]());const _0x58d0f7=this[_0xc225da(0x298)](_0x648c72),_0x1f5e84=this[_0xc225da(0x26d)]({'from':_0x58d0f7,'to':_0x648c72});if(this[_0xc225da(0x234)][_0xc225da(0x237)]<_0x648c72){const _0x4a0552=this[_0xc225da(0x26d)]({'revision':this[_0xc225da(0x234)],'from':_0x648c72,'to':_0x648c72});_0x4a0552[_0xc225da(0x2a0)]=[],_0x4a0552[_0xc225da(0x206)]=[],_0x4a0552['id']=this[_0xc225da(0x234)]['id'],this[_0xc225da(0x234)][_0xc225da(0x25a)](_0x4a0552,!0x0),delete _0x4a0552[_0xc225da(0x2a0)],_0x4d13c2[_0xc225da(0x1e5)](_0x4a0552);}_0x147328[_0xc225da(0x247)]=this[_0xc225da(0x232)][_0xc225da(0x2c0)][_0xc225da(0x28a)](_0xc225da(0x2d6))['me']['id'],_0x147328[_0xc225da(0x1df)]=_0x147328[_0xc225da(0x1df)]||null,_0x147328['id']=_0x147328['id']||_0x410aff(),_0x147328={..._0x147328,..._0x1f5e84};const _0x55f76e=this[_0xc225da(0x22b)](_0x147328);_0x4d13c2[_0xc225da(0x1e5)](_0x147328);const _0x4f4491=this[_0xc225da(0x288)][_0xc225da(0x294)](_0x55f76e);if(0x0!==_0x4f4491){const _0x51da65=this[_0xc225da(0x288)][_0xc225da(0x1c2)](_0x4f4491-0x1);if(_0x51da65[_0xc225da(0x2da)]!==_0x648c72){const _0x1a1619=this[_0xc225da(0x228)][_0xc225da(0x220)](_0x648c72,_0x51da65[_0xc225da(0x237)]),_0x46ba9b={'id':_0x51da65['id'],'diffData':_0x1a1619[_0xc225da(0x1e3)],'authorsIds':_0x1a1619[_0xc225da(0x206)],'authors':_0x1a1619[_0xc225da(0x206)][_0xc225da(0x2a3)](_0x4a4b42=>this[_0xc225da(0x232)][_0xc225da(0x2c0)][_0xc225da(0x28a)](_0xc225da(0x2d6))[_0xc225da(0x2a4)](_0x4a4b42)),'fromVersion':_0x648c72};_0x51da65===this[_0xc225da(0x234)]&&(_0x46ba9b[_0xc225da(0x27c)]=new Date(_0x147328[_0xc225da(0x27c)][_0xc225da(0x1cd)]()+0xa)),_0x51da65[_0xc225da(0x25a)](_0x46ba9b,!0x0),delete _0x46ba9b[_0xc225da(0x2a0)],_0x4d13c2[_0xc225da(0x1e5)](_0x46ba9b);}}if(this[_0xc225da(0x2dd)]){for(const _0x787e17 of _0x4d13c2)this[_0xc225da(0x2bb)](_0x787e17['id'],_0x787e17,!0x0);this[_0xc225da(0x1ef)]();}return _0x55f76e;}[_0x4be6dc(0x22b)](_0x3700d8){const _0xa8cddc=_0x4be6dc,_0xb3c88f=this[_0xa8cddc(0x288)][_0xa8cddc(0x222)](_0x3700d8);return this[_0xa8cddc(0x2dd)]&&_0xb3c88f['on'](_0xa8cddc(0x25a),(_0x38bd8e,_0x3b9e3f,_0x1e4309)=>{const _0xa50430=_0xa8cddc;_0x1e4309||(this[_0xa50430(0x2bb)](_0x3b9e3f['id'],_0x3b9e3f,!0x0),this[_0xa50430(0x1ef)]());}),this[_0xa8cddc(0x288)][_0xa8cddc(0x274)](_0xb3c88f,this[_0xa8cddc(0x218)](_0xb3c88f)),_0xb3c88f;}async[_0x4be6dc(0x264)](_0x13d924){const _0x5f17ab=_0x4be6dc;await this[_0x5f17ab(0x1e6)](_0x13d924);const _0x21e69b={};for(const _0x157d3c in _0x13d924[_0x5f17ab(0x1e3)]){if(_0x13d924[_0x5f17ab(0x1e3)][_0x157d3c][_0x5f17ab(0x20a)]&&!_0x13d924[_0x5f17ab(0x1e3)][_0x157d3c][_0x5f17ab(0x20a)][_0x5f17ab(0x2a5)])continue;const _0x42e5cc=this[_0x5f17ab(0x27e)](JSON[_0x5f17ab(0x2ac)](_0x13d924[_0x5f17ab(0x1e3)][_0x157d3c][_0x5f17ab(0x2af)])),_0x5a6732=this[_0x5f17ab(0x232)][_0x5f17ab(0x20e)][_0x5f17ab(0x1fa)][_0x5f17ab(0x202)],_0x19c2dd=new _0x4cd35d(_0x5a6732,_0x42e5cc[_0x5f17ab(0x2a3)](_0x37f998=>B(_0x37f998,this[_0x5f17ab(0x232)])));this[_0x5f17ab(0x232)][_0x5f17ab(0x205)][_0x5f17ab(0x1ec)][_0x5f17ab(0x2b4)](_0x5f17ab(0x29c)),_0x21e69b[_0x157d3c]=this[_0x5f17ab(0x232)][_0x5f17ab(0x205)][_0x5f17ab(0x1ec)][_0x5f17ab(0x27f)](_0x19c2dd),this[_0x5f17ab(0x232)][_0x5f17ab(0x205)][_0x5f17ab(0x1ec)][_0x5f17ab(0x2b4)](_0x5f17ab(0x27a));}return _0x21e69b;}async[_0x4be6dc(0x2de)](_0x53eb1f){const _0x2faf41=_0x4be6dc;await this[_0x2faf41(0x1e6)](_0x53eb1f);const _0xb2e8ee={};for(const _0x3b39b6 in _0x53eb1f[_0x2faf41(0x1e3)])_0x53eb1f[_0x2faf41(0x1e3)][_0x3b39b6][_0x2faf41(0x20a)]&&!_0x53eb1f[_0x2faf41(0x1e3)][_0x3b39b6][_0x2faf41(0x20a)][_0x2faf41(0x2a5)]||(_0xb2e8ee[_0x3b39b6]=_0x53eb1f[_0x2faf41(0x1e3)][_0x3b39b6][_0x2faf41(0x2b0)]||{});return _0xb2e8ee;}[_0x4be6dc(0x1ef)](){const _0x5ccd39=_0x4be6dc;if(0x0===this[_0x5ccd39(0x1c5)][_0x5ccd39(0x256)])return;if(this[_0x5ccd39(0x1ed)])return;let _0x5d072e=Array[_0x5ccd39(0x1f1)](this[_0x5ccd39(0x1c5)][_0x5ccd39(0x1d3)]());this[_0x5ccd39(0x1c5)][_0x5ccd39(0x216)]();for(let _0xe67881=0x0;_0xe67881<_0x5d072e[_0x5ccd39(0x1fc)];_0xe67881++){const _0x5ea28d=_0x5d072e[_0xe67881];let _0x2ddfa1=!0x1;for(const _0x361e5c of Object[_0x5ccd39(0x2b9)](_0x5ea28d))void 0x0===_0x5ea28d[_0x361e5c]?delete _0x5ea28d[_0x361e5c]:'id'!==_0x361e5c&&(_0x2ddfa1=!0x0);_0x2ddfa1||(_0x5d072e[_0xe67881]=null);}if(_0x5d072e=_0x5d072e[_0x5ccd39(0x295)](_0x3c793d=>null!==_0x3c793d),!_0x5d072e[_0x5ccd39(0x1fc)])return;for(let _0x4c086f=0x0;_0x4c086f<_0x5d072e[_0x5ccd39(0x1fc)];_0x4c086f++){const _0x3b8696=_0x5d072e[_0x4c086f];void 0x0!==_0x3b8696[_0x5ccd39(0x2da)]&&void 0x0===_0x3b8696[_0x5ccd39(0x237)]&&(_0x3b8696[_0x5ccd39(0x237)]=this[_0x5ccd39(0x288)][_0x5ccd39(0x1c2)](_0x3b8696['id'])[_0x5ccd39(0x237)]),void 0x0!==_0x3b8696[_0x5ccd39(0x237)]&&void 0x0===_0x3b8696[_0x5ccd39(0x2da)]&&(_0x3b8696[_0x5ccd39(0x2da)]=this[_0x5ccd39(0x288)][_0x5ccd39(0x1c2)](_0x3b8696['id'])[_0x5ccd39(0x2da)]);}const _0x561c50=this[_0x5ccd39(0x232)][_0x5ccd39(0x1d6)][_0x5ccd39(0x28a)](_0x5ccd39(0x21c));this[_0x5ccd39(0x1ed)]=!0x0,this[_0x5ccd39(0x245)](),this[_0x5ccd39(0x2dd)][_0x5ccd39(0x1e0)](_0x5d072e,_0x561c50)[_0x5ccd39(0x2c4)](()=>{const _0x293ba3=_0x5ccd39;this[_0x293ba3(0x1ed)]=!0x1;})[_0x5ccd39(0x210)](_0x140e4e=>{const _0x14bcc2=_0x5ccd39;if(_0x140e4e){for(const _0x305c03 of _0x140e4e)this[_0x14bcc2(0x1c6)]({'id':_0x305c03['id'],'createdAt':_0x305c03[_0x14bcc2(0x27c)]});}this[_0x14bcc2(0x265)](),this[_0x14bcc2(0x1ef)]();});}[_0x4be6dc(0x2a6)](_0x57a97a,_0x26baf4){const _0xadef0d=_0x4be6dc;let _0x13d774=this[_0xadef0d(0x232)][_0xadef0d(0x1d6)][_0xadef0d(0x28a)](_0xadef0d(0x2b2)),_0x524a4f=this[_0xadef0d(0x232)][_0xadef0d(0x1d6)][_0xadef0d(0x28a)](_0xadef0d(0x2cc));if(void 0x0===_0x13d774){_0x13d774={};for(const _0xcc14aa of this[_0xadef0d(0x232)][_0xadef0d(0x22a)][_0xadef0d(0x202)][_0xadef0d(0x275)]())_0x13d774[_0xcc14aa]='';}if(_0xadef0d(0x2d7)==typeof _0x13d774&&(_0x13d774={'main':_0x13d774}),void 0x0===_0x524a4f){_0x524a4f={};for(const _0x351609 of this[_0xadef0d(0x232)][_0xadef0d(0x22a)][_0xadef0d(0x202)][_0xadef0d(0x275)]())_0x524a4f[_0x351609]={};}let _0x32e12e=!0x1;const _0x39ff53=Object[_0xadef0d(0x2b9)](_0x13d774),_0x409878=Object[_0xadef0d(0x2b9)](_0x57a97a);for(const _0x336d12 of _0x39ff53){if(_0x13d774[_0x336d12]!==_0x57a97a[_0x336d12]&&''!==_0x13d774[_0x336d12][_0xadef0d(0x1f5)]()){_0x32e12e=!0x0;break;}if(!_0x5025b2(_0x524a4f[_0x336d12],_0x26baf4[_0x336d12])&&Object[_0xadef0d(0x2b9)](_0x524a4f[_0x336d12])[_0xadef0d(0x1fc)]>0x0){_0x32e12e=!0x0;break;}}_0x32e12e||(_0x32e12e=_0x409878[_0xadef0d(0x1ff)](_0x31c39f=>!this[_0xadef0d(0x232)][_0xadef0d(0x22a)][_0xadef0d(0x202)][_0xadef0d(0x251)](_0x31c39f))),_0x32e12e&&_0x62d008(_0xadef0d(0x1f9),{'editorData':_0x13d774,'editorRootsAttributes':_0x524a4f,'revisionData':_0x57a97a,'revisionRootsAttributes':_0x26baf4}),this[_0xadef0d(0x232)][_0xadef0d(0x1d6)][_0xadef0d(0x1f4)](_0xadef0d(0x2b2),_0x57a97a),this[_0xadef0d(0x232)][_0xadef0d(0x1d6)][_0xadef0d(0x1f4)](_0xadef0d(0x2cc),_0x26baf4);}[_0x4be6dc(0x245)](){const _0x32e5e6=_0x4be6dc;if(!this[_0x32e5e6(0x2be)]){const _0x408835=this[_0x32e5e6(0x232)][_0x32e5e6(0x2c0)][_0x32e5e6(0x28a)](_0x32e5e6(0x1f3));this[_0x32e5e6(0x2be)]=_0x408835[_0x32e5e6(0x214)](_0x1a7c87(this[_0x32e5e6(0x232)][_0x32e5e6(0x2cf)],_0x32e5e6(0x277)));}}[_0x4be6dc(0x265)](){const _0x14f2bc=_0x4be6dc;this[_0x14f2bc(0x2be)]&&(this[_0x14f2bc(0x232)][_0x14f2bc(0x2c0)][_0x14f2bc(0x28a)](_0x14f2bc(0x1f3))[_0x14f2bc(0x258)](this[_0x14f2bc(0x2be)]),this[_0x14f2bc(0x2be)]=null);}[_0x4be6dc(0x218)](_0x3ddf47){const _0x2766dd=_0x4be6dc,_0x36368e=this[_0x2766dd(0x288)][_0x2766dd(0x2d4)]();_0x36368e[_0x2766dd(0x2ab)]();let _0x505ff0=0x0;for(;_0x505ff0<_0x36368e[_0x2766dd(0x1fc)];){const _0x35488a=_0x36368e[_0x505ff0];if(_0x35488a===this[_0x2766dd(0x234)]){_0x505ff0++;continue;}if(_0x35488a['id']===this[_0x2766dd(0x1c3)])break;const _0x1417e5=_0x3ddf47[_0x2766dd(0x237)]-_0x35488a[_0x2766dd(0x237)]||_0x3ddf47[_0x2766dd(0x2da)]-_0x35488a[_0x2766dd(0x2da)];if(_0x1417e5>0x0)break;if(_0x1417e5<0x0)_0x505ff0++;else{if(!_0x3ddf47[_0x2766dd(0x25b)]&&_0x35488a[_0x2766dd(0x25b)])break;if(_0x35488a[_0x2766dd(0x25b)]||!_0x3ddf47[_0x2766dd(0x25b)]){if(_0x3ddf47[_0x2766dd(0x27c)]>_0x35488a[_0x2766dd(0x27c)])break;_0x505ff0++;}else _0x505ff0++;}}return _0x505ff0;}[_0x4be6dc(0x1c6)](_0x3949ae){const _0x51b747=_0x4be6dc,_0x1c4882=this[_0x51b747(0x288)][_0x51b747(0x1c2)](_0x3949ae['id']);if(_0x3949ae[_0x51b747(0x27c)]&&(_0x3949ae[_0x51b747(0x27c)]=new Date(_0x3949ae[_0x51b747(0x27c)])),_0x3949ae[_0x51b747(0x206)]){const _0xed8b3=this[_0x51b747(0x232)][_0x51b747(0x2c0)][_0x51b747(0x28a)](_0x51b747(0x2d6));_0x3949ae[_0x51b747(0x2a0)]=_0x3949ae[_0x51b747(0x206)][_0x51b747(0x2a3)](_0x627693=>_0xed8b3[_0x51b747(0x2a4)](_0x627693));}_0x1c4882[_0x51b747(0x25a)](_0x3949ae,!0x0);}[_0x4be6dc(0x26d)]({revision:_0x21f0c8=null,from:_0x440583=null,to:_0x122a73=null}){const _0xa8861c=_0x4be6dc;_0x440583=null!==_0x440583?_0x440583:_0x21f0c8[_0xa8861c(0x2da)],_0x122a73=null!==_0x122a73?_0x122a73:_0x21f0c8[_0xa8861c(0x237)];const _0x25f4e3=this[_0xa8861c(0x228)][_0xa8861c(0x220)](_0x440583,_0x122a73),_0x4cea49={'diffData':_0x25f4e3[_0xa8861c(0x1e3)],'authorsIds':_0x25f4e3[_0xa8861c(0x206)],'fromVersion':_0x440583,'toVersion':_0x122a73};if(!_0x21f0c8||_0x122a73!==_0x21f0c8[_0xa8861c(0x237)]){const _0x5a83df=_0x122a73-0x1,_0x1b1ba9=this[_0xa8861c(0x26f)][_0xa8861c(0x240)][_0xa8861c(0x2c6)](_0x5a83df);_0x4cea49[_0xa8861c(0x27c)]=_0x1b1ba9&&_0x1b1ba9[_0xa8861c(0x27c)]||new Date();}if(this[_0xa8861c(0x1cf)]&&_0x440583===this[_0xa8861c(0x1cf)][_0xa8861c(0x2da)]){for(const _0x195936 of this[_0xa8861c(0x1cf)][_0xa8861c(0x2a0)])_0x4cea49[_0xa8861c(0x206)][_0xa8861c(0x1ee)](_0x195936['id'])||_0x4cea49[_0xa8861c(0x206)][_0xa8861c(0x1e5)](_0x195936['id']);}return _0x4cea49;}[_0x4be6dc(0x1e6)](_0x4e1275){const _0x5c895b=_0x4be6dc;if(!_0x4e1275||_0x4e1275[_0x5c895b(0x1e3)])return Promise[_0x5c895b(0x246)]();{const _0x2afa24=this[_0x5c895b(0x232)][_0x5c895b(0x1d6)][_0x5c895b(0x28a)](_0x5c895b(0x21c));return this[_0x5c895b(0x2dd)][_0x5c895b(0x1c2)]({'channelId':_0x2afa24,'revisionId':_0x4e1275['id']})[_0x5c895b(0x210)](_0x396642=>{const _0x286f4f=_0x5c895b;_0x4e1275[_0x286f4f(0x1e3)]=_0x396642[_0x286f4f(0x1e3)];});}}[_0x4be6dc(0x2bb)](_0x201c0c,_0x587b48,_0x32ef74){const _0x57da08=_0x4be6dc;if(this[_0x57da08(0x1c5)][_0x57da08(0x242)](_0x201c0c)){const _0x3a2047=this[_0x57da08(0x1c5)][_0x57da08(0x28a)](_0x201c0c);_0x587b48=_0x32ef74?{..._0x3a2047,..._0x587b48}:{..._0x587b48,..._0x3a2047};}this[_0x57da08(0x1c5)][_0x57da08(0x1f4)](_0x201c0c,_0x587b48);}[_0x4be6dc(0x298)](_0x46d4ec){const _0x3f88e3=_0x4be6dc,_0x1b46ac=this[_0x3f88e3(0x288)][_0x3f88e3(0x2d4)]();_0x1b46ac[_0x3f88e3(0x2ab)](),_0x1b46ac[_0x3f88e3(0x2ce)]();const _0x5b0a0d=_0x1b46ac[_0x3f88e3(0x1d0)](_0xd6df28=>_0xd6df28[_0x3f88e3(0x237)]<=_0x46d4ec)[_0x3f88e3(0x237)];return _0x5b0a0d<this[_0x3f88e3(0x282)]?this[_0x3f88e3(0x282)]:_0x5b0a0d;}[_0x4be6dc(0x1c8)](_0xa3a179){const _0x378c20=_0x4be6dc,_0x4f092d=this[_0x378c20(0x288)][_0x378c20(0x1c2)](this[_0x378c20(0x288)][_0x378c20(0x1fc)]-0x1);if(_0x4f092d)this[_0x378c20(0x1c3)]=_0x4f092d['id'];else{const _0x383627=!this[_0x378c20(0x232)][_0x378c20(0x22a)][_0x378c20(0x202)][_0x378c20(0x21a)][_0x378c20(0x1d0)](_0x575347=>this[_0x378c20(0x232)][_0x378c20(0x22a)][_0x378c20(0x2cd)](_0x575347)),_0xa7c7ba=this[_0x378c20(0x232)][_0x378c20(0x2c0)][_0x378c20(0x28a)](_0x378c20(0x2d6))['me']['id'],_0x14ee50=_0x1a7c87(this[_0x378c20(0x232)][_0x378c20(0x2cf)],_0x383627?_0x378c20(0x1b7):_0x378c20(0x1e2));this[_0x378c20(0x255)]({'from':_0xa3a179,'to':_0xa3a179,'id':this[_0x378c20(0x1c3)],'name':_0x14ee50,'creatorId':_0xa7c7ba});}}[_0x4be6dc(0x2d2)](_0x1ee423){const _0x473abd=_0x4be6dc,_0x53bd18=this[_0x473abd(0x26f)][_0x473abd(0x2dc)]();this[_0x473abd(0x234)]=this[_0x473abd(0x288)][_0x473abd(0x1c2)](_0x53bd18),this[_0x473abd(0x234)]||(this[_0x473abd(0x234)]=this[_0x473abd(0x255)]({'from':_0x1ee423,'to':_0x1ee423,'id':_0x53bd18,'name':'','creatorId':null}));}[_0x4be6dc(0x255)]({name:_0x4bd4af,from:_0x4ea85a,to:_0x3a92cb,creatorId:_0x1c099c,id:_0x4fcecf}){const _0x268604=_0x4be6dc,_0x412daa=this[_0x268604(0x26d)]({'from':_0x4ea85a,'to':_0x3a92cb});_0x412daa[_0x268604(0x1df)]=_0x4bd4af,_0x412daa[_0x268604(0x247)]=_0x1c099c,_0x412daa['id']=_0x4fcecf;const _0x85af8b=this[_0x268604(0x22b)](_0x412daa);return this[_0x268604(0x2dd)]&&this[_0x268604(0x2bb)](_0x412daa['id'],_0x412daa,!0x0),_0x85af8b;}[_0x4be6dc(0x299)](){const _0x12ea7e=_0x4be6dc;this[_0x12ea7e(0x232)][_0x12ea7e(0x1d4)][_0x12ea7e(0x29d)](_0x12ea7e(0x233))[_0x12ea7e(0x1c1)]({'model':_0x12ea7e(0x2df)});}[_0x4be6dc(0x27e)](_0x491338){const _0x586c13=_0x4be6dc;return(_0x491338=_0x491338[_0x586c13(0x295)](_0xd3fcb5=>!_0xd3fcb5[_0x586c13(0x1df)]||_0x586c13(0x213)!==_0xd3fcb5[_0x586c13(0x1df)]&&_0x586c13(0x1d7)!==_0xd3fcb5[_0x586c13(0x1df)]))[_0x586c13(0x29a)](_0x4f115f=>{const _0x156404=_0x586c13;_0x156404(0x2d7)!=typeof _0x4f115f&&(_0x4f115f[_0x156404(0x25d)]=this[_0x156404(0x27e)](_0x4f115f[_0x156404(0x25d)]),_0x4f115f[_0x156404(0x28e)]=_0x4f115f[_0x156404(0x28e)][_0x156404(0x295)](_0x19f663=>!_0x19f663[0x0][_0x156404(0x24a)](_0x156404(0x26e))));}),_0x491338;}}function B(_0x2df427,_0x1497da){const _0x338966=_0x4be6dc,_0xc5b92b=_0x1497da[_0x338966(0x20e)][_0x338966(0x1fa)][_0x338966(0x202)];if(_0x338966(0x2d7)==typeof _0x2df427)return new _0x24a283(_0xc5b92b,_0x2df427);{const _0x429601=_0x2df427[_0x338966(0x25d)][_0x338966(0x2a3)](_0x50c872=>B(_0x50c872,_0x1497da));return new(T[_0x2df427[(_0x338966(0x2c2))]]||_0x1fe783)(_0xc5b92b,_0x2df427[_0x338966(0x1df)],_0x2df427[_0x338966(0x28e)],_0x429601);}}function _0x1567(_0x5a545a,_0x121e3f){const _0xbf12a6=_0xbf12();return _0x1567=function(_0x156788,_0x198420){_0x156788=_0x156788-0x1b6;let _0x201edd=_0xbf12a6[_0x156788];return _0x201edd;},_0x1567(_0x5a545a,_0x121e3f);}class J{constructor(_0x312284){const _0x2f1497=_0x4be6dc;this[_0x2f1497(0x232)]=_0x312284,this[_0x2f1497(0x1ce)]=new Map(),this[_0x2f1497(0x1f6)]=-0x1,this[_0x2f1497(0x217)]=-0x1,this[_0x2f1497(0x2cb)]=new Map(),this[_0x2f1497(0x1dc)]=new Map(),this[_0x2f1497(0x270)]=new Map(),this[_0x2f1497(0x1d9)]=new Map(),this[_0x2f1497(0x2c7)]=new Map(),this[_0x2f1497(0x1bb)]=new Map(),this[_0x2f1497(0x279)]=new Map(),this[_0x2f1497(0x1ea)]=new Map(),this[_0x2f1497(0x2c3)]=new Map(),this[_0x2f1497(0x1ca)]=new Map(),this[_0x2f1497(0x1e1)]=0x1;}[_0x4be6dc(0x2ca)](_0x1eec7c){const _0x1fc7b8=_0x4be6dc;this[_0x1fc7b8(0x1b6)]=_0x1eec7c;const _0xe32ef0=new Map(),_0x2cf59a=new Map(),_0x276827=this[_0x1fc7b8(0x232)][_0x1fc7b8(0x22a)][_0x1fc7b8(0x202)][_0x1fc7b8(0x21a)][_0x1fc7b8(0x2a3)](_0x12f06b=>_0x12f06b[_0x1fc7b8(0x1f7)]);for(const _0x325cc5 of _0x276827){const _0x230cda=this[_0x1fc7b8(0x232)][_0x1fc7b8(0x22a)][_0x1fc7b8(0x202)][_0x1fc7b8(0x251)](_0x325cc5),_0x66863=q(_0x230cda);_0xe32ef0[_0x1fc7b8(0x1f4)](_0x325cc5,_0x66863),_0x2cf59a[_0x1fc7b8(0x1f4)](_0x325cc5,Object[_0x1fc7b8(0x26c)](_0x230cda[_0x1fc7b8(0x23a)]()));}const _0x2feb94=Array[_0x1fc7b8(0x1f1)](this[_0x1fc7b8(0x232)][_0x1fc7b8(0x22a)][_0x1fc7b8(0x212)])[_0x1fc7b8(0x2a3)](_0x5cc268=>[_0x5cc268[_0x1fc7b8(0x1df)],_0x5cc268[_0x1fc7b8(0x227)]()]),_0x24859a=this[_0x1fc7b8(0x1b6)][_0x1fc7b8(0x252)];this[_0x1fc7b8(0x271)](_0x24859a,_0xe32ef0,_0x2feb94,_0x2cf59a),this[_0x1fc7b8(0x28f)]=this[_0x1fc7b8(0x1e1)];const _0x3d1cf0=new Map(),_0x1bbb14=new Map();for(const _0x4bb318 of _0x276827){const _0x343ea4=G(_0x4bb318);_0x3d1cf0[_0x1fc7b8(0x1f4)](_0x4bb318,_0x343ea4),_0x1bbb14[_0x1fc7b8(0x1f4)](_0x4bb318,{});}this[_0x1fc7b8(0x271)](Number[_0x1fc7b8(0x2b5)],_0x3d1cf0,[],_0x1bbb14);}[_0x4be6dc(0x220)](_0x211dab,_0x22c836){const _0x5ddbbf=_0x4be6dc;if(this[_0x5ddbbf(0x1f6)]===_0x211dab&&this[_0x5ddbbf(0x217)]<=_0x22c836)this[_0x5ddbbf(0x1ce)][_0x5ddbbf(0x256)]>0x1&&this[_0x5ddbbf(0x2d1)](this[_0x5ddbbf(0x217)]),this[_0x5ddbbf(0x1fd)](this[_0x5ddbbf(0x217)],_0x22c836,!0x0);else{if(!this[_0x5ddbbf(0x1ce)][_0x5ddbbf(0x242)](_0x211dab)){const _0x31f5b6=this[_0x5ddbbf(0x20b)](_0x211dab);this[_0x5ddbbf(0x20f)](_0x31f5b6,_0x211dab,!0x1);}this[_0x5ddbbf(0x20f)](_0x211dab,_0x22c836,!0x0);}return this[_0x5ddbbf(0x1f6)]=_0x211dab,this[_0x5ddbbf(0x217)]=_0x22c836,this[_0x5ddbbf(0x1fb)]();}[_0x4be6dc(0x201)](_0x486732){const _0x316b8e=_0x4be6dc;this[_0x316b8e(0x243)](),this[_0x316b8e(0x1f6)]=_0x486732[_0x316b8e(0x2da)],this[_0x316b8e(0x217)]=_0x486732[_0x316b8e(0x237)];for(const _0x4c2e81 in _0x486732[_0x316b8e(0x1e3)]){const _0x37bd52=_0x486732[_0x316b8e(0x1e3)][_0x4c2e81][_0x316b8e(0x20a)],_0x5c8db5=_0x523441(_0x486732[_0x316b8e(0x1e3)][_0x4c2e81][_0x316b8e(0x1c9)])||{},_0x3c65bb=this[_0x316b8e(0x23c)](_0x486732[_0x316b8e(0x1e3)][_0x4c2e81][_0x316b8e(0x200)]);_0x3c65bb[_0x316b8e(0x1f7)]=_0x4c2e81,_0x3c65bb[_0x316b8e(0x1bc)]=!_0x37bd52||!_0x37bd52[_0x316b8e(0x2a5)],_0x3c65bb[_0x316b8e(0x2a5)]=()=>_0x3c65bb[_0x316b8e(0x1bc)],this[_0x316b8e(0x1d9)][_0x316b8e(0x1f4)](_0x4c2e81,_0x3c65bb),this[_0x316b8e(0x2c7)][_0x316b8e(0x1f4)](_0x4c2e81,_0x5c8db5),_0x37bd52&&this[_0x316b8e(0x1ca)][_0x316b8e(0x1f4)](_0x4c2e81,_0x37bd52);const _0x410b2d=this[_0x316b8e(0x268)](_0x3c65bb);this[_0x316b8e(0x279)][_0x316b8e(0x1f4)](_0x4c2e81,_0x410b2d);for(const [_0x372d6b,_0x16c6e6]of _0x3c65bb[_0x316b8e(0x212)]){if(!_0x372d6b[_0x316b8e(0x24a)](_0x316b8e(0x241)))continue;const _0x1c03d1=_0x372d6b[_0x316b8e(0x28b)](':')[0x2];for(const _0x25a677 of _0x16c6e6[_0x316b8e(0x2c5)]({'singleCharacters':!0x0})){const _0x563d9e=this[_0x316b8e(0x1d5)](_0x25a677),_0x30f45d=_0x316b8e(0x1dd)==_0x25a677[_0x316b8e(0x2c2)]?_0x25a677[_0x316b8e(0x2db)][_0x316b8e(0x2ba)][_0x316b8e(0x284)](0x0,-0x1):_0x25a677[_0x316b8e(0x2db)][_0x316b8e(0x2ba)],_0x3c711d=_0x410b2d[_0x316b8e(0x2bd)](_0x30f45d)[_0x316b8e(0x21d)](_0x563d9e);this[_0x316b8e(0x1ea)][_0x316b8e(0x1f4)](_0x3c711d,{'userId':_0x1c03d1});}}}this[_0x316b8e(0x28f)]=this[_0x316b8e(0x1e1)];const _0xa56c3f=[...Array(this[_0x316b8e(0x1e1)])[_0x316b8e(0x2b9)]()][_0x316b8e(0x284)](0x1)[_0x316b8e(0x295)](_0x45db57=>!this[_0x316b8e(0x1ea)][_0x316b8e(0x242)](_0x45db57));let _0x29a67b=0x0;const _0x4d6038=new Map();for(const _0x260b63 in _0x486732[_0x316b8e(0x1e3)]){const _0xcd4ad7=_0x486732[_0x316b8e(0x1e3)][_0x260b63][_0x316b8e(0x20a)],_0x5e6a2a=_0x523441(_0x486732[_0x316b8e(0x1e3)][_0x260b63][_0x316b8e(0x2b0)])||{},_0x16db1c=this[_0x316b8e(0x23c)](_0x486732[_0x316b8e(0x1e3)][_0x260b63][_0x316b8e(0x2af)]);_0x16db1c[_0x316b8e(0x1f7)]=_0x260b63,_0x16db1c[_0x316b8e(0x1bc)]=!_0xcd4ad7||_0xcd4ad7[_0x316b8e(0x2a5)],_0x16db1c[_0x316b8e(0x2a5)]=()=>_0x16db1c[_0x316b8e(0x1bc)],this[_0x316b8e(0x1dc)][_0x316b8e(0x1f4)](_0x260b63,_0x16db1c),this[_0x316b8e(0x270)][_0x316b8e(0x1f4)](_0x260b63,_0x5e6a2a);const _0xfc5ed6=this[_0x316b8e(0x268)](_0x16db1c,Number[_0x316b8e(0x2b5)]);this[_0x316b8e(0x1bb)][_0x316b8e(0x1f4)](_0x260b63,_0xfc5ed6),_0x4d6038[_0x316b8e(0x1f4)](_0x260b63,_0x16db1c[_0x316b8e(0x2a5)]()?_0x5e6a2a:{});for(const [_0x17def6,_0x5dc730]of _0x16db1c[_0x316b8e(0x212)]){if(!_0x17def6[_0x316b8e(0x24a)](_0x316b8e(0x241)))continue;const _0x3c55f5=_0x17def6[_0x316b8e(0x28b)](':')[0x2];for(const _0x5a631b of _0x5dc730[_0x316b8e(0x2c5)]({'singleCharacters':!0x0})){const _0x1e220=this[_0x316b8e(0x1d5)](_0x5a631b),_0x353b6a=this[_0x316b8e(0x1e1)]++,_0x57a5fb=_0x316b8e(0x1dd)==_0x5a631b[_0x316b8e(0x2c2)]?_0x5a631b[_0x316b8e(0x2db)][_0x316b8e(0x2ba)][_0x316b8e(0x284)](0x0,-0x1):_0x5a631b[_0x316b8e(0x2db)][_0x316b8e(0x2ba)];_0xfc5ed6[_0x316b8e(0x2bd)](_0x57a5fb)[_0x316b8e(0x1fe)](_0x1e220,_0x353b6a),this[_0x316b8e(0x1ea)][_0x316b8e(0x1f4)](_0x353b6a,{'userId':_0x3c55f5});}}for(const _0x45fd95 of this[_0x316b8e(0x232)][_0x316b8e(0x22a)][_0x316b8e(0x1f8)](_0x16db1c)[_0x316b8e(0x2c5)]({'singleCharacters':!0x0})){const _0x339cc7=this[_0x316b8e(0x1d5)](_0x45fd95),_0x379d2c=_0x316b8e(0x1dd)==_0x45fd95[_0x316b8e(0x2c2)]?_0x45fd95[_0x316b8e(0x2db)][_0x316b8e(0x2ba)][_0x316b8e(0x284)](0x0,-0x1):_0x45fd95[_0x316b8e(0x2db)][_0x316b8e(0x2ba)],_0x2042c2=_0xfc5ed6[_0x316b8e(0x2bd)](_0x379d2c);_0x2042c2[_0x316b8e(0x21d)](_0x339cc7)>0x0||_0x2042c2[_0x316b8e(0x1fe)](_0x339cc7,_0xa56c3f[_0x29a67b++]);}for(const [_0x1bf239,_0x5c1d26]of _0x16db1c[_0x316b8e(0x212)])_0x1bf239[_0x316b8e(0x24a)](_0x316b8e(0x241))||this[_0x316b8e(0x2cb)][_0x316b8e(0x1f4)](_0x1bf239,_0x5c1d26);}const _0xe1022b=G(_0x316b8e(0x281));this[_0x316b8e(0x1d9)][_0x316b8e(0x1f4)](_0x316b8e(0x281),_0xe1022b),this[_0x316b8e(0x279)][_0x316b8e(0x1f4)](_0x316b8e(0x281),this[_0x316b8e(0x268)](_0xe1022b,0x1));const _0x34026e=G(_0x316b8e(0x281));this[_0x316b8e(0x1dc)][_0x316b8e(0x1f4)](_0x316b8e(0x281),_0x34026e),this[_0x316b8e(0x1bb)][_0x316b8e(0x1f4)](_0x316b8e(0x281),this[_0x316b8e(0x268)](_0x34026e,0x1));const _0x8a671d=Array[_0x316b8e(0x1f1)](this[_0x316b8e(0x1dc)])[_0x316b8e(0x2a3)](([_0xd0880d,_0x32d51e])=>[_0xd0880d,q(_0x32d51e)]);this[_0x316b8e(0x271)](this[_0x316b8e(0x217)],_0x8a671d,this[_0x316b8e(0x2cb)],_0x4d6038);}[_0x4be6dc(0x23c)](_0xe2c319){const _0x5b82bd=_0x4be6dc,_0x1093fd=JSON[_0x5b82bd(0x2ac)](_0xe2c319),_0x5463a1=this[_0x5b82bd(0x232)][_0x5b82bd(0x20e)][_0x5b82bd(0x1fa)][_0x5b82bd(0x202)],_0x33e3da=new _0x4cd35d(_0x5463a1,_0x1093fd[_0x5b82bd(0x2a3)](_0x4e9734=>B(_0x4e9734,this[_0x5b82bd(0x232)])));return this[_0x5b82bd(0x232)][_0x5b82bd(0x205)][_0x5b82bd(0x204)](_0x33e3da);}[_0x4be6dc(0x271)](_0x5c8381,_0x391f5c,_0x394672,_0x1259a2){const _0x3dddbf=_0x4be6dc,_0x5ac770=new Map(_0x391f5c),_0x1e908e=new Map(_0x523441(_0x1259a2)),_0x5f0668=new Map();for(const [_0x9966fd,_0x9285c2]of _0x394672)_0x5f0668[_0x3dddbf(0x1f4)](_0x9966fd,{'start':_0x9285c2[_0x3dddbf(0x2d9)][_0x3dddbf(0x2a2)](),'end':_0x9285c2[_0x3dddbf(0x1be)][_0x3dddbf(0x2a2)](),'rootName':_0x9285c2[_0x3dddbf(0x24f)][_0x3dddbf(0x1f7)]});this[_0x3dddbf(0x1ce)][_0x3dddbf(0x1f4)](_0x5c8381,{'roots':_0x5ac770,'markers':_0x5f0668,'rootsAttributes':_0x1e908e});}[_0x4be6dc(0x2d1)](_0x31e49a){const _0x485da6=_0x4be6dc;this[_0x485da6(0x1ce)][_0x485da6(0x23b)](_0x31e49a);}[_0x4be6dc(0x208)](){const _0x253d6f=_0x4be6dc;this[_0x253d6f(0x243)](),this[_0x253d6f(0x1f6)]=-0x1,this[_0x253d6f(0x217)]=-0x1,this[_0x253d6f(0x1ce)][_0x253d6f(0x216)](),this[_0x253d6f(0x2ca)](this[_0x253d6f(0x1b6)]);}[_0x4be6dc(0x243)](){const _0x14ab34=_0x4be6dc;this[_0x14ab34(0x1ea)][_0x14ab34(0x216)](),this[_0x14ab34(0x2c3)][_0x14ab34(0x216)](),this[_0x14ab34(0x1ca)][_0x14ab34(0x216)](),this[_0x14ab34(0x1dc)][_0x14ab34(0x216)](),this[_0x14ab34(0x270)][_0x14ab34(0x216)](),this[_0x14ab34(0x1d9)][_0x14ab34(0x216)](),this[_0x14ab34(0x2c7)][_0x14ab34(0x216)](),this[_0x14ab34(0x1bb)][_0x14ab34(0x216)](),this[_0x14ab34(0x279)][_0x14ab34(0x216)](),this[_0x14ab34(0x2cb)][_0x14ab34(0x216)](),this[_0x14ab34(0x1e1)]=0x1,this[_0x14ab34(0x28f)]=this[_0x14ab34(0x1e1)];}[_0x4be6dc(0x268)](_0x400798,_0x3eaf76=null){const _0x3d017c=_0x4be6dc;let _0x5c8448=null;_0x400798['is'](_0x3d017c(0x29b))||(_0x5c8448=new _0x4d1bba(_0x400798[_0x3d017c(0x1df)],{'vid_start':null===_0x3eaf76?this[_0x3d017c(0x1e1)]++:_0x3eaf76++}));const _0x2d5d4d=[];for(const _0x1dc658 of _0x400798[_0x3d017c(0x25f)]())if(_0x1dc658['is'](_0x3d017c(0x2a8))){_0x2d5d4d[_0x3d017c(0x1e5)](this[_0x3d017c(0x268)](_0x1dc658,_0x3eaf76));const _0x192fae=_0x2d5d4d[_0x2d5d4d[_0x3d017c(0x1fc)]-0x1];null!==_0x3eaf76&&(_0x3eaf76=_0x192fae['is'](_0x3d017c(0x2a8),_0x3d017c(0x260))?_0x192fae[_0x3d017c(0x21d)](_0x3d017c(0x223))+0x1:_0x192fae[_0x3d017c(0x21d)](_0x3d017c(0x23f))+0x1);}else{for(let _0x386ad8=0x0;_0x386ad8<_0x1dc658[_0x3d017c(0x229)];_0x386ad8++)_0x2d5d4d[_0x3d017c(0x1e5)](new _0x4d1bba(_0x3d017c(0x260),{'vid':null===_0x3eaf76?this[_0x3d017c(0x1e1)]++:_0x3eaf76++}));}if(_0x400798['is'](_0x3d017c(0x29b))){const _0x440cc0=G(_0x400798[_0x3d017c(0x1f7)]);return _0x440cc0[_0x3d017c(0x224)](0x0,_0x2d5d4d),_0x440cc0;}return _0x5c8448[_0x3d017c(0x1fe)](_0x3d017c(0x23f),null===_0x3eaf76?this[_0x3d017c(0x1e1)]++:_0x3eaf76++),_0x5c8448[_0x3d017c(0x224)](0x0,_0x2d5d4d),_0x5c8448;}[_0x4be6dc(0x20f)](_0x18554d,_0x42e3dd,_0x2b260d){const _0x2bbed2=_0x4be6dc;this[_0x2bbed2(0x243)]();const {roots:_0x36c6c2,markers:_0x2e36f9,rootsAttributes:_0x479cf0}=this[_0x2bbed2(0x1ce)][_0x2bbed2(0x28a)](_0x18554d);this[_0x2bbed2(0x1d9)]=new Map(_0x36c6c2),this[_0x2bbed2(0x2c7)]=new Map(_0x523441(_0x479cf0));for(const [_0x5f1b4b,_0x59c927]of this[_0x2bbed2(0x1d9)])if(_0x2bbed2(0x281)!==_0x5f1b4b&&(this[_0x2bbed2(0x1dc)][_0x2bbed2(0x1f4)](_0x5f1b4b,q(_0x59c927)),this[_0x2bbed2(0x270)]=new Map(_0x523441(_0x479cf0)),_0x2b260d)){const _0x4d7690=this[_0x2bbed2(0x1e1)];this[_0x2bbed2(0x1bb)][_0x2bbed2(0x1f4)](_0x5f1b4b,this[_0x2bbed2(0x268)](_0x59c927)),this[_0x2bbed2(0x279)][_0x2bbed2(0x1f4)](_0x5f1b4b,this[_0x2bbed2(0x268)](_0x59c927,_0x4d7690));}this[_0x2bbed2(0x28f)]=this[_0x2bbed2(0x1e1)],this[_0x2bbed2(0x1dc)][_0x2bbed2(0x1f4)](_0x2bbed2(0x281),q(this[_0x2bbed2(0x1d9)][_0x2bbed2(0x28a)](_0x2bbed2(0x281)))),_0x2b260d&&this[_0x2bbed2(0x1bb)][_0x2bbed2(0x1f4)](_0x2bbed2(0x281),this[_0x2bbed2(0x268)](this[_0x2bbed2(0x1d9)][_0x2bbed2(0x28a)](_0x2bbed2(0x281))));for(const [_0x1c8e5f,_0x4a9663]of _0x2e36f9){const _0x4c1e16=this[_0x2bbed2(0x1d9)][_0x2bbed2(0x28a)](_0x4a9663[_0x2bbed2(0x1f7)]),_0x171898=this[_0x2bbed2(0x1dc)][_0x2bbed2(0x28a)](_0x4a9663[_0x2bbed2(0x1f7)]),_0x47db17=new _0x126b30(this[_0x2bbed2(0x278)](_0x4a9663[_0x2bbed2(0x2d9)],_0x4c1e16),this[_0x2bbed2(0x278)](_0x4a9663[_0x2bbed2(0x1be)],_0x4c1e16)),_0x202028=this[_0x2bbed2(0x267)](_0x47db17,_0x171898);_0x4c1e16[_0x2bbed2(0x212)][_0x2bbed2(0x1f4)](_0x1c8e5f,_0x47db17),this[_0x2bbed2(0x2cb)][_0x2bbed2(0x1f4)](_0x1c8e5f,_0x202028);}this[_0x2bbed2(0x1fd)](_0x18554d,_0x42e3dd,_0x2b260d);}[_0x4be6dc(0x1fd)](_0x2a75b6,_0x30c7f4,_0x2c71fd){const _0x34d696=_0x4be6dc;for(const _0x2696e4 of this[_0x34d696(0x1b6)][_0x34d696(0x269)](_0x2a75b6,_0x30c7f4))this[_0x34d696(0x2c1)](_0x2696e4,_0x2c71fd);for(const _0x3a5ce1 of this[_0x34d696(0x1dc)][_0x34d696(0x1d3)]())_0x3a5ce1[_0x34d696(0x212)][_0x34d696(0x216)]();for(const [_0x447f38,_0xab5e92]of this[_0x34d696(0x2cb)]){this[_0x34d696(0x1dc)][_0x34d696(0x28a)](_0xab5e92[_0x34d696(0x24f)][_0x34d696(0x1f7)])[_0x34d696(0x212)][_0x34d696(0x1f4)](_0x447f38,_0xab5e92[_0x34d696(0x2a2)]());}const _0x16802f=new Map(),_0x128039=new Map();for(const [_0x25333e,_0x3d0890]of this[_0x34d696(0x1dc)])_0x16802f[_0x34d696(0x1f4)](_0x25333e,q(_0x3d0890)),_0x128039[_0x34d696(0x1f4)](_0x25333e,this[_0x34d696(0x270)][_0x34d696(0x28a)](_0x25333e));this[_0x34d696(0x271)](_0x30c7f4,_0x16802f,this[_0x34d696(0x2cb)],_0x128039);}[_0x4be6dc(0x20b)](_0x45069c){const _0x3fb3a4=_0x4be6dc,_0x3c1321=Array[_0x3fb3a4(0x1f1)](this[_0x3fb3a4(0x1ce)][_0x3fb3a4(0x2b9)]());_0x3c1321[_0x3fb3a4(0x2a7)]((_0x16b201,_0x56e027)=>_0x16b201-_0x56e027),_0x3c1321[_0x3fb3a4(0x2ab)]();for(const _0x19c686 of _0x3c1321)if(_0x19c686<_0x45069c)return _0x19c686;return Number[_0x3fb3a4(0x2b5)];}[_0x4be6dc(0x1c7)](_0x4cb698,_0x2a0a45){const _0x4b706d=_0x4be6dc,_0x8927ff=Array[_0x4b706d(0x1f1)](_0x2a0a45[_0x4b706d(0x212)])[_0x4b706d(0x2a3)](([_0x32b358,_0x3698f8])=>[_0x32b358,this[_0x4b706d(0x267)](_0x3698f8,_0x4cb698)]);_0x4cb698[_0x4b706d(0x212)]=new Map(_0x8927ff);}[_0x4be6dc(0x29f)](_0x4e50cb){const _0x5c7304=_0x4be6dc;for(const _0x3d1559 of this[_0x5c7304(0x2cb)][_0x5c7304(0x1d3)]()){const _0x2050ac=_0x3d1559[_0x5c7304(0x254)](_0x4e50cb),_0x55113c=_0x126b30[_0x5c7304(0x1d8)](_0x2050ac);_0x3d1559[_0x5c7304(0x2d9)]=_0x55113c[_0x5c7304(0x2d9)],_0x3d1559[_0x5c7304(0x1be)]=_0x55113c[_0x5c7304(0x1be)];}}[_0x4be6dc(0x2c1)](_0x50af5d,_0x43af71){const _0x280e61=_0x4be6dc;if(_0x280e61(0x1d2)==_0x50af5d[_0x280e61(0x2c2)]||_0x280e61(0x2d5)==_0x50af5d[_0x280e61(0x2c2)])return void this[_0x280e61(0x262)](_0x50af5d,_0x43af71);if(_0x280e61(0x280)==_0x50af5d[_0x280e61(0x2c2)]){const _0x3c7804=_0x50af5d[_0x280e61(0x290)][_0x280e61(0x24f)][_0x280e61(0x1f7)];this[_0x280e61(0x1dc)][_0x280e61(0x242)](_0x3c7804)||(this[_0x280e61(0x1dc)][_0x280e61(0x1f4)](_0x3c7804,G(_0x3c7804,!0x0)),this[_0x280e61(0x270)][_0x280e61(0x1f4)](_0x3c7804,{}),_0x43af71&&this[_0x280e61(0x1bb)][_0x280e61(0x1f4)](_0x3c7804,G(_0x3c7804,!0x0)));}else{if(_0x280e61(0x1bd)==_0x50af5d[_0x280e61(0x2c2)]||_0x280e61(0x209)==_0x50af5d[_0x280e61(0x2c2)]||_0x280e61(0x1c0)==_0x50af5d[_0x280e61(0x2c2)])return void this[_0x280e61(0x20d)](_0x50af5d);}const _0x59755b=this[_0x280e61(0x249)](_0x50af5d,this[_0x280e61(0x1dc)]);if(_0x280e61(0x1cc)!==_0x50af5d[_0x280e61(0x2c2)]&&(_0x59755b[_0x280e61(0x2aa)](),this[_0x280e61(0x29f)](_0x59755b)),_0x43af71)switch(_0x59755b[_0x280e61(0x2c2)]){case _0x280e61(0x280):this[_0x280e61(0x2d3)](_0x50af5d);break;case _0x280e61(0x21e):case _0x280e61(0x258):case _0x280e61(0x239):this[_0x280e61(0x23e)](_0x50af5d);break;case _0x280e61(0x1b8):this[_0x280e61(0x22f)](_0x50af5d);break;case _0x280e61(0x28b):this[_0x280e61(0x2b7)](_0x50af5d);break;case _0x280e61(0x1cc):this[_0x280e61(0x29e)](_0x50af5d);}}[_0x4be6dc(0x249)](_0x43810b,_0x4bf5f0){const _0x1dedbb=_0x4be6dc,_0x1f82ff=_0x43810b[_0x1dedbb(0x2a2)]();return _0x1f82ff[_0x1dedbb(0x286)]=_0x43810b[_0x1dedbb(0x286)],this[_0x1dedbb(0x266)](_0x1f82ff,_0x4bf5f0),_0x1f82ff;}[_0x4be6dc(0x1cb)](_0x3829bf){const _0x3b64e8=_0x4be6dc;return _0x3829bf[_0x3b64e8(0x2a3)](_0x1a5f72=>{const _0x244165=_0x3b64e8,_0x445355=this[_0x244165(0x1d5)](_0x1a5f72);return Number(_0x1a5f72[_0x244165(0x24b)][_0x244165(0x21d)](_0x445355));});}[_0x4be6dc(0x238)](_0x5c3bc1,_0x367d07){const _0x14c58f=_0x4be6dc;if(_0x5c3bc1['is'](_0x14c58f(0x2a8),_0x14c58f(0x260)))_0x367d07[_0x14c58f(0x1e5)]({'item':_0x5c3bc1,'type':_0x14c58f(0x211)});else{_0x5c3bc1['is'](_0x14c58f(0x2a8))&&_0x367d07[_0x14c58f(0x1e5)]({'item':_0x5c3bc1,'type':_0x14c58f(0x24d)});for(const _0x5f2948 of _0x5c3bc1[_0x14c58f(0x25f)]())this[_0x14c58f(0x238)](_0x5f2948,_0x367d07);_0x5c3bc1['is'](_0x14c58f(0x2a8))&&_0x367d07[_0x14c58f(0x1e5)]({'item':_0x5c3bc1,'type':_0x14c58f(0x1dd)});}return _0x367d07;}[_0x4be6dc(0x1fb)](){const _0x2ec807=_0x4be6dc,_0x1d62db=new Map(this[_0x2ec807(0x1ea)]),_0x36d085=new Map(_0x1d62db),_0x59ed42=new Map(),_0x21f774={'insertions':{},'deletions':{}},_0x2f6031={'insertions':{},'deletions':{}},_0x45248e=new Map(),_0x3a1652=new Set([...this[_0x2ec807(0x1d9)][_0x2ec807(0x2b9)](),...this[_0x2ec807(0x1dc)][_0x2ec807(0x2b9)]()]);_0x3a1652[_0x2ec807(0x23b)](_0x2ec807(0x281));for(const _0x17ac01 of _0x3a1652){const _0x47a584=this[_0x2ec807(0x1dc)][_0x2ec807(0x28a)](_0x17ac01)||G(_0x17ac01,!0x1),_0x385c2e=this[_0x2ec807(0x1d9)][_0x2ec807(0x28a)](_0x17ac01)||G(_0x17ac01,!0x1);_0x47a584[_0x2ec807(0x2a5)]()||_0x385c2e[_0x2ec807(0x2a5)]()?(_0x21f774[_0x2ec807(0x2af)][_0x17ac01]=q(_0x47a584),_0x21f774[_0x2ec807(0x200)][_0x17ac01]=q(_0x385c2e),this[_0x2ec807(0x1c7)](_0x21f774[_0x2ec807(0x200)][_0x17ac01],_0x385c2e),this[_0x2ec807(0x1c7)](_0x21f774[_0x2ec807(0x2af)][_0x17ac01],_0x47a584),_0x2f6031[_0x2ec807(0x2af)][_0x17ac01]=this[_0x2ec807(0x238)](this[_0x2ec807(0x1bb)][_0x2ec807(0x28a)](_0x17ac01),[]),_0x2f6031[_0x2ec807(0x200)][_0x17ac01]=this[_0x2ec807(0x238)](this[_0x2ec807(0x279)][_0x2ec807(0x28a)](_0x17ac01)||G(_0x17ac01,!0x1),[])):_0x3a1652[_0x2ec807(0x23b)](_0x17ac01);}for(const _0xc42afb of _0x3a1652){const _0x1d1b96=_0x2f6031[_0x2ec807(0x2af)][_0xc42afb];for(const _0x48d593 of _0x1d1b96){const _0x5ec530=this[_0x2ec807(0x1d5)](_0x48d593),_0x4855c2=_0x48d593[_0x2ec807(0x24b)][_0x2ec807(0x21d)](_0x5ec530);_0x36d085[_0x2ec807(0x23b)](_0x4855c2),_0x4855c2>=this[_0x2ec807(0x28f)]&&_0x59ed42[_0x2ec807(0x1f4)](_0x4855c2,_0x1d62db[_0x2ec807(0x28a)](_0x4855c2));}}for(const _0x22f70a of _0x3a1652){const _0xc23b5c=_0x2f6031[_0x2ec807(0x2af)][_0x22f70a],_0x3ed07f=this[_0x2ec807(0x1cb)](_0x2f6031[_0x2ec807(0x200)][_0x22f70a]);let _0x22acf3=0x0;for(const _0x5b7c18 of _0xc23b5c){const _0xe4a9b3=this[_0x2ec807(0x1d5)](_0x5b7c18),_0x5dc2f6=_0x5b7c18[_0x2ec807(0x24b)][_0x2ec807(0x21d)](_0xe4a9b3);if(!_0x59ed42[_0x2ec807(0x242)](_0x5dc2f6)&&!_0x45248e[_0x2ec807(0x242)](_0x5dc2f6)){if(_0x36d085[_0x2ec807(0x242)](_0x5dc2f6))_0x22acf3++;else{if(_0x5dc2f6!=_0x3ed07f[_0x22acf3]){const _0x16e5d1=_0x1d62db[_0x2ec807(0x28a)](_0x5dc2f6)||_0x1d62db[_0x2ec807(0x28a)](_0x3ed07f[_0x22acf3]);for(;_0x5dc2f6!=_0x3ed07f[_0x22acf3];)_0x36d085[_0x2ec807(0x242)](_0x3ed07f[_0x22acf3])||(_0x45248e[_0x2ec807(0x1f4)](_0x3ed07f[_0x22acf3],_0x16e5d1),_0x1d62db[_0x2ec807(0x1f4)](_0x3ed07f[_0x22acf3],_0x16e5d1)),_0x22acf3++;}_0x22acf3++;}}}}for(const _0x570315 of _0x3a1652){const _0x202f15=_0x2f6031[_0x2ec807(0x2af)][_0x570315];for(const _0x195890 of _0x202f15){const _0x496fbd=this[_0x2ec807(0x1d5)](_0x195890),_0x38b0f7=_0x195890[_0x2ec807(0x24b)][_0x2ec807(0x21d)](_0x496fbd);if(_0x45248e[_0x2ec807(0x242)](_0x38b0f7)){const _0x203e32=_0x45248e[_0x2ec807(0x28a)](_0x38b0f7);_0x36d085[_0x2ec807(0x242)](_0x38b0f7)||_0x36d085[_0x2ec807(0x1f4)](_0x38b0f7,{..._0x203e32}),_0x59ed42[_0x2ec807(0x1f4)](_0x38b0f7,{..._0x203e32});}}}for(const _0x384805 of _0x36d085[_0x2ec807(0x2b9)]())_0x384805>=this[_0x2ec807(0x28f)]&&_0x36d085[_0x2ec807(0x23b)](_0x384805);const _0x3f1ecb=new Map();for(const _0x30b6c2 of _0x3a1652){let _0x4ada73=_0x2f6031[_0x2ec807(0x2af)][_0x30b6c2];for(const _0x4a70e2 of _0x4ada73)if(_0x4a70e2[_0x2ec807(0x24b)]['is'](_0x2ec807(0x2a8),_0x2ec807(0x244))){const _0x408fa6=this[_0x2ec807(0x1d5)](_0x4a70e2),_0x2f3f12=_0x4a70e2[_0x2ec807(0x24b)][_0x2ec807(0x21d)](_0x408fa6);if(_0x59ed42[_0x2ec807(0x242)](_0x2f3f12)){const _0x505b37=_0x4a70e2[_0x2ec807(0x24b)][_0x2ec807(0x24e)][_0x2ec807(0x24e)][_0x2ec807(0x21d)](_0x2ec807(0x219)),_0x5af8d8=_0x3f1ecb[_0x2ec807(0x28a)](_0x505b37)||new Set();_0x5af8d8[_0x2ec807(0x214)](_0x59ed42[_0x2ec807(0x28a)](_0x2f3f12)[_0x2ec807(0x273)]),_0x3f1ecb[_0x2ec807(0x1f4)](_0x505b37,_0x5af8d8);}}_0x4ada73=_0x2f6031[_0x2ec807(0x200)][_0x30b6c2];for(const _0x4d7d52 of _0x4ada73)if(_0x4d7d52[_0x2ec807(0x24b)]['is'](_0x2ec807(0x2a8),_0x2ec807(0x244))){const _0x3fe4df=this[_0x2ec807(0x1d5)](_0x4d7d52),_0x2146c8=_0x4d7d52[_0x2ec807(0x24b)][_0x2ec807(0x21d)](_0x3fe4df);if(_0x36d085[_0x2ec807(0x242)](_0x2146c8)){const _0x368062=_0x4d7d52[_0x2ec807(0x24b)][_0x2ec807(0x24e)][_0x2ec807(0x24e)][_0x2ec807(0x21d)](_0x2ec807(0x219)),_0x406900=_0x3f1ecb[_0x2ec807(0x28a)](_0x368062)||new Set();_0x406900[_0x2ec807(0x214)](_0x36d085[_0x2ec807(0x28a)](_0x2146c8)[_0x2ec807(0x273)]),_0x3f1ecb[_0x2ec807(0x1f4)](_0x368062,_0x406900);}}for(const _0x26fa13 of _0x3f1ecb[_0x2ec807(0x2b9)]())(_0x59ed42[_0x2ec807(0x242)](_0x26fa13)||_0x36d085[_0x2ec807(0x242)](_0x26fa13))&&_0x3f1ecb[_0x2ec807(0x23b)](_0x26fa13);}for(const _0x2a728e of _0x3a1652){const _0xbcf51=_0x2f6031[_0x2ec807(0x2af)][_0x2a728e];let _0xcf2d31=null,_0x28e668=null;for(const _0x567aa9 of _0xbcf51){const _0x371a1b=this[_0x2ec807(0x1d5)](_0x567aa9),_0x3ec947=_0x567aa9[_0x2ec807(0x24b)][_0x2ec807(0x21d)](_0x371a1b),_0x2eda4a=_0x3f1ecb[_0x2ec807(0x28a)](_0x3ec947);_0x2eda4a&&_0x2ec807(0x24d)==_0x567aa9[_0x2ec807(0x2c2)]&&(_0xcf2d31=Array[_0x2ec807(0x1f1)](_0x2eda4a)[0x0],_0x28e668=_0x567aa9[_0x2ec807(0x24b)][_0x2ec807(0x21d)](_0x2ec807(0x23f))),_0xcf2d31&&(_0x36d085[_0x2ec807(0x1f4)](_0x3ec947,{'userId':_0xcf2d31}),_0x59ed42[_0x2ec807(0x1f4)](_0x3ec947,{'userId':_0xcf2d31})),_0x3ec947==_0x28e668&&(_0xcf2d31=null,_0x28e668=null);}}const _0x48a10b={},_0x12457e=new Set();for(const _0xcd17f2 of _0x3a1652){const _0x594279=_0x21f774[_0x2ec807(0x200)][_0xcd17f2],_0x2a124d=_0x21f774[_0x2ec807(0x2af)][_0xcd17f2];for(const {userId:_0x1088cc}of this[_0x2ec807(0x2c3)][_0x2ec807(0x1d3)]())null!==_0x1088cc&&_0x12457e[_0x2ec807(0x214)](_0x1088cc);for(const {userId:_0x542849}of this[_0x2ec807(0x1ca)][_0x2ec807(0x1d3)]())null!==_0x542849&&_0x12457e[_0x2ec807(0x214)](_0x542849);this[_0x2ec807(0x287)](_0x2a124d,_0x2f6031[_0x2ec807(0x2af)][_0xcd17f2],_0x59ed42,_0x2ec807(0x225),_0x12457e),this[_0x2ec807(0x287)](_0x594279,_0x2f6031[_0x2ec807(0x200)][_0xcd17f2],_0x36d085,_0x2ec807(0x226),_0x12457e),_0x48a10b[_0xcd17f2]={'insertions':this[_0x2ec807(0x21b)](_0x2a124d),'deletions':this[_0x2ec807(0x21b)](_0x594279),'attachChange':this[_0x2ec807(0x1ca)][_0x2ec807(0x28a)](_0xcd17f2)||null,'attributesBefore':_0x523441(this[_0x2ec807(0x2c7)][_0x2ec807(0x28a)](_0xcd17f2))||{},'attributesAfter':_0x523441(this[_0x2ec807(0x270)][_0x2ec807(0x28a)](_0xcd17f2))};}return{'diffData':_0x48a10b,'authorsIds':Array[_0x2ec807(0x1f1)](_0x12457e)};}[_0x4be6dc(0x259)](_0x39d1c6){const _0x5bed4c=_0x4be6dc;for(const [,_0x1942b3]of _0x39d1c6[_0x5bed4c(0x212)]){const _0x9bd50a=_0x1942b3[_0x5bed4c(0x2d9)][_0x5bed4c(0x23d)]()[_0x5bed4c(0x295)](_0xf9312b=>_0x5bed4c(0x244)==_0xf9312b[_0x5bed4c(0x1df)]);for(const _0x253c75 of _0x9bd50a)0x1==_0x253c75[_0x5bed4c(0x236)]&&_0x253c75[_0x5bed4c(0x250)](0x0)['is'](_0x5bed4c(0x2a8),_0x5bed4c(0x20c))&&_0x253c75[_0x5bed4c(0x250)](0x0)[_0x5bed4c(0x1fe)](_0x5bed4c(0x1ba),!0x0);}}[_0x4be6dc(0x21b)](_0x1e14ee){const _0x1835ec=_0x4be6dc;this[_0x1835ec(0x259)](_0x1e14ee);const _0x3c360e=this[_0x1835ec(0x232)][_0x1835ec(0x205)][_0x1835ec(0x25c)](_0x1e14ee,{}),_0x3e5da7=Array[_0x1835ec(0x1f1)](_0x3c360e[_0x1835ec(0x25f)]())[_0x1835ec(0x2a3)](_0x1a6d3e=>this[_0x1835ec(0x1eb)](_0x1a6d3e));return JSON[_0x1835ec(0x289)](_0x3e5da7);}[_0x4be6dc(0x1eb)](_0x16ba20){const _0xdfd3be=_0x4be6dc;if(_0x16ba20['is'](_0xdfd3be(0x260)))return _0x16ba20[_0xdfd3be(0x205)];{const _0x34dc5b=_0x16ba20;return{'type':Object[_0xdfd3be(0x2b9)](T)[_0xdfd3be(0x1d0)](_0x1ee100=>_0x16ba20 instanceof T[_0x1ee100]),'name':_0x34dc5b[_0xdfd3be(0x1df)],'attributes':Array[_0xdfd3be(0x1f1)](_0x34dc5b[_0xdfd3be(0x23a)]()),'children':Array[_0xdfd3be(0x1f1)](_0x34dc5b[_0xdfd3be(0x25f)]())[_0xdfd3be(0x2a3)](_0x5095c9=>this[_0xdfd3be(0x1eb)](_0x5095c9))};}}[_0x4be6dc(0x287)](_0x195ddb,_0x2659cb,_0x488e3e,_0x2b506b,_0x4c268c){const _0x1a64b5=_0x4be6dc;let _0x2fea5b=null,_0x4d2daa=null,_0x39fbb6=0x0;const _0x2d5da6=this[_0x1a64b5(0x232)][_0x1a64b5(0x22a)];for(let _0x1bacb1=0x0;_0x1bacb1<_0x2659cb[_0x1a64b5(0x1fc)];_0x1bacb1++){const _0x1d9be5=this[_0x1a64b5(0x1d5)](_0x2659cb[_0x1bacb1]),_0x88096f=_0x2659cb[_0x1bacb1][_0x1a64b5(0x24b)][_0x1a64b5(0x21d)](_0x1d9be5),_0x590abb=_0x488e3e[_0x1a64b5(0x28a)](_0x88096f),_0x5f49d6=_0x1bacb1==_0x2659cb[_0x1a64b5(0x1fc)]-0x1;(!_0x2fea5b&&_0x590abb&&(_0x2fea5b=_0x590abb,_0x4d2daa=_0x2659cb[_0x1bacb1]),_0x2fea5b&&(!_0x590abb||_0x590abb[_0x1a64b5(0x273)]!=_0x2fea5b[_0x1a64b5(0x273)]))&&(_0x94db68(_0x590abb,L(_0x4d2daa,_0x195ddb,_0x2d5da6),L(_0x2659cb[_0x1bacb1],_0x195ddb,_0x2d5da6)),_0x2fea5b=_0x590abb||null,_0x4d2daa=_0x590abb?_0x2659cb[_0x1bacb1]:null),_0x2fea5b&&_0x5f49d6&&_0x94db68(_0x590abb,L(_0x4d2daa,_0x195ddb,_0x2d5da6),W(_0x2659cb[_0x1bacb1],_0x195ddb,_0x2d5da6));}function _0x94db68(_0x5160c8,_0x203093,_0x31f8f0){const _0xabfe61=_0x1a64b5,_0x5e1c95=_0x2fea5b[_0xabfe61(0x273)],_0x101444=_0xabfe61(0x241)+_0x2b506b+':'+_0x5e1c95+':'+_0x39fbb6++,_0x524041=_0x2d5da6[_0xabfe61(0x297)](_0x203093,_0x31f8f0);_0x195ddb[_0xabfe61(0x212)][_0xabfe61(0x1f4)](_0x101444,_0x524041),null!==_0x5e1c95&&_0x4c268c[_0xabfe61(0x214)](_0x5e1c95);}}[_0x4be6dc(0x1d5)](_0x83b17b){const _0x377c37=_0x4be6dc;switch(_0x83b17b[_0x377c37(0x2c2)]){case _0x377c37(0x24d):return _0x377c37(0x219);case _0x377c37(0x1dd):return _0x377c37(0x23f);default:return _0x377c37(0x223);}}[_0x4be6dc(0x266)](_0x4bb3a4,_0x41133a){const _0x312fb3=_0x4be6dc;_0x4bb3a4[_0x312fb3(0x22e)]=null;for(const _0x34f43f in _0x4bb3a4){const _0x39ae77=_0x4bb3a4[_0x34f43f];if(_0x39ae77 instanceof _0x1dcb34){const _0x708f0e=_0x41133a[_0x312fb3(0x28a)](_0x39ae77[_0x312fb3(0x24f)][_0x312fb3(0x1f7)]);_0x4bb3a4[_0x34f43f]=this[_0x312fb3(0x278)](_0x39ae77,_0x708f0e);}if(_0x39ae77 instanceof _0x126b30){const _0xeb174=_0x41133a[_0x312fb3(0x28a)](_0x39ae77[_0x312fb3(0x24f)][_0x312fb3(0x1f7)]);_0x4bb3a4[_0x34f43f]=this[_0x312fb3(0x267)](_0x39ae77,_0xeb174);}_0x312fb3(0x24f)===_0x34f43f&&(_0x4bb3a4[_0x312fb3(0x24f)]=_0x41133a[_0x312fb3(0x28a)](_0x4bb3a4[_0x312fb3(0x24f)][_0x312fb3(0x1f7)]));}}[_0x4be6dc(0x267)](_0x105748,_0x8c3998){const _0x5943fe=_0x4be6dc;return this[_0x5943fe(0x232)][_0x5943fe(0x22a)][_0x5943fe(0x297)](this[_0x5943fe(0x278)](_0x105748[_0x5943fe(0x2d9)],_0x8c3998),this[_0x5943fe(0x278)](_0x105748[_0x5943fe(0x1be)],_0x8c3998));}[_0x4be6dc(0x278)](_0x48dd5c,_0x1672ab){const _0x19303b=_0x4be6dc;return this[_0x19303b(0x232)][_0x19303b(0x22a)][_0x19303b(0x263)](_0x1672ab,_0x48dd5c[_0x19303b(0x2ba)],_0x48dd5c[_0x19303b(0x283)]);}[_0x4be6dc(0x2d3)](_0x1f9679){const _0x43e284=_0x4be6dc,_0x3bba3e=this[_0x43e284(0x1bb)][_0x43e284(0x28a)](_0x1f9679[_0x43e284(0x290)][_0x43e284(0x24f)][_0x43e284(0x1f7)]),_0x5ef849=this[_0x43e284(0x278)](_0x1f9679[_0x43e284(0x290)],_0x3bba3e),_0x31d4b1=null===_0x1f9679[_0x43e284(0x286)]?null:_0x1f9679[_0x43e284(0x286)]||this[_0x43e284(0x232)][_0x43e284(0x2c0)][_0x43e284(0x28a)](_0x43e284(0x2d6))['me']['id'],_0x33418b=_0x5ef849[_0x43e284(0x24e)],_0x37cfcc=this[_0x43e284(0x1e1)],_0x406da9=[];for(const _0x4cf09d of _0x1f9679[_0x43e284(0x231)])if(_0x4cf09d['is'](_0x43e284(0x2a8)))_0x406da9[_0x43e284(0x1e5)](this[_0x43e284(0x268)](_0x4cf09d));else{for(let _0x3fc27c=0x0;_0x3fc27c<_0x4cf09d[_0x43e284(0x229)];_0x3fc27c++)_0x406da9[_0x43e284(0x1e5)](new _0x4d1bba(_0x43e284(0x260),{'vid':this[_0x43e284(0x1e1)]++}));}const _0x435ee=this[_0x43e284(0x1e1)];for(let _0x3c55f8=_0x37cfcc;_0x3c55f8<_0x435ee;_0x3c55f8++)this[_0x43e284(0x1ea)][_0x43e284(0x1f4)](_0x3c55f8,{'userId':_0x31d4b1});_0x33418b[_0x43e284(0x224)](_0x5ef849[_0x43e284(0x291)],_0x406da9);}[_0x4be6dc(0x23e)](_0x4f29a4){const _0x352a27=_0x4be6dc;(_0x4f29a4=this[_0x352a27(0x249)](_0x4f29a4,this[_0x352a27(0x1bb)]))[_0x352a27(0x2aa)]();const _0x435f44=null===_0x4f29a4[_0x352a27(0x286)]?null:_0x4f29a4[_0x352a27(0x286)]||this[_0x352a27(0x232)][_0x352a27(0x2c0)][_0x352a27(0x28a)](_0x352a27(0x2d6))['me']['id'],_0x38bb7e=_0x4f29a4[_0x352a27(0x2d8)](),_0x12b620=_0x38bb7e[_0x352a27(0x24e)],_0x1001d2=_0x38bb7e[_0x352a27(0x291)];!function _0x5180e8(_0x708f09,_0x3fad37,_0x143b09,_0x6311f5){const _0x26dae1=_0x352a27;for(let _0x5b8dec=_0x143b09;_0x5b8dec<_0x6311f5;_0x5b8dec++){const _0x2a119e=_0x3fad37[_0x26dae1(0x250)](_0x5b8dec);_0x2a119e['is'](_0x26dae1(0x2a8),_0x26dae1(0x260))?_0x708f09[_0x26dae1(0x1f4)](_0x2a119e[_0x26dae1(0x21d)](_0x26dae1(0x223)),{'userId':_0x435f44}):(_0x708f09[_0x26dae1(0x1f4)](_0x2a119e[_0x26dae1(0x21d)](_0x26dae1(0x219)),{'userId':_0x435f44}),_0x5180e8(_0x708f09,_0x2a119e,0x0,_0x2a119e[_0x26dae1(0x236)]),_0x708f09[_0x26dae1(0x1f4)](_0x2a119e[_0x26dae1(0x21d)](_0x26dae1(0x23f)),{'userId':_0x435f44}));}}(this[_0x352a27(0x1ea)],_0x12b620,_0x1001d2,_0x1001d2+_0x4f29a4[_0x352a27(0x1de)]);}[_0x4be6dc(0x22f)](_0x5f52a9){const _0x3ef1ca=_0x4be6dc,_0x4251e1=null===(_0x5f52a9=this[_0x3ef1ca(0x249)](_0x5f52a9,this[_0x3ef1ca(0x1bb)]))[_0x3ef1ca(0x286)]?null:_0x5f52a9[_0x3ef1ca(0x286)]||this[_0x3ef1ca(0x232)][_0x3ef1ca(0x2c0)][_0x3ef1ca(0x28a)](_0x3ef1ca(0x2d6))['me']['id'],_0x2c5fe7=_0x5f52a9[_0x3ef1ca(0x2bf)][_0x3ef1ca(0x24e)],_0x4e71ea=_0x5f52a9[_0x3ef1ca(0x2b6)][_0x3ef1ca(0x24e)],_0x2a08ef=_0x2c5fe7[_0x3ef1ca(0x21d)](_0x3ef1ca(0x23f)),_0x5d5463=_0x4e71ea[_0x3ef1ca(0x21d)](_0x3ef1ca(0x219));_0x2c5fe7[_0x3ef1ca(0x1fe)](_0x3ef1ca(0x23f),_0x4e71ea[_0x3ef1ca(0x21d)](_0x3ef1ca(0x23f))),_0x4e71ea[_0x3ef1ca(0x1fe)](_0x3ef1ca(0x23f),_0x2a08ef),this[_0x3ef1ca(0x1ea)][_0x3ef1ca(0x1f4)](_0x5d5463,{'userId':_0x4251e1}),this[_0x3ef1ca(0x1ea)][_0x3ef1ca(0x1f4)](_0x2a08ef,{'userId':_0x4251e1}),_0x5f52a9[_0x3ef1ca(0x2aa)]();}[_0x4be6dc(0x2b7)](_0x14108e){const _0x53ec94=_0x4be6dc,_0x144423=null===(_0x14108e=this[_0x53ec94(0x249)](_0x14108e,this[_0x53ec94(0x1bb)]))[_0x53ec94(0x286)]?null:_0x14108e[_0x53ec94(0x286)]||this[_0x53ec94(0x232)][_0x53ec94(0x2c0)][_0x53ec94(0x28a)](_0x53ec94(0x2d6))['me']['id'],_0x58955f=_0x14108e[_0x53ec94(0x1e7)],_0x3415fe=_0x14108e[_0x53ec94(0x1b9)][_0x53ec94(0x24e)];_0x14108e[_0x53ec94(0x2aa)]();const _0xdf191f=_0x3415fe[_0x53ec94(0x21d)](_0x53ec94(0x23f)),_0x5f5389=_0x14108e[_0x53ec94(0x2c9)][_0x53ec94(0x1db)];if(_0x58955f){const _0x5b4145=_0x5f5389[_0x53ec94(0x21d)](_0x53ec94(0x23f)),_0x5392fe=_0x3415fe[_0x53ec94(0x21d)](_0x53ec94(0x23f));_0x3415fe[_0x53ec94(0x1fe)](_0x53ec94(0x23f),_0x5b4145),_0x5f5389[_0x53ec94(0x1fe)](_0x53ec94(0x23f),_0x5392fe),this[_0x53ec94(0x1ea)][_0x53ec94(0x1f4)](_0x3415fe[_0x53ec94(0x21d)](_0x53ec94(0x23f)),{'userId':_0x144423}),this[_0x53ec94(0x1ea)][_0x53ec94(0x1f4)](_0x5f5389[_0x53ec94(0x21d)](_0x53ec94(0x219)),{'userId':_0x144423});}else{const _0x3a17be=this[_0x53ec94(0x1e1)]++,_0x21af39=this[_0x53ec94(0x1e1)]++;_0x3415fe[_0x53ec94(0x1fe)](_0x53ec94(0x23f),_0x3a17be),_0x5f5389[_0x53ec94(0x1fe)](_0x53ec94(0x219),_0x21af39),_0x5f5389[_0x53ec94(0x1fe)](_0x53ec94(0x23f),_0xdf191f),this[_0x53ec94(0x1ea)][_0x53ec94(0x1f4)](_0x3a17be,{'userId':_0x144423}),this[_0x53ec94(0x1ea)][_0x53ec94(0x1f4)](_0x21af39,{'userId':_0x144423});}}[_0x4be6dc(0x29e)](_0x464819){const _0x28f8e7=_0x4be6dc;if(!_0x464819[_0x28f8e7(0x276)])return;const _0x1a25c7=(_0x464819=this[_0x28f8e7(0x249)](_0x464819,this[_0x28f8e7(0x1dc)]))[_0x28f8e7(0x1f2)]?_0x464819[_0x28f8e7(0x1f2)][_0x28f8e7(0x24f)]:null,_0x5bd94f=_0x464819[_0x28f8e7(0x26a)]?_0x464819[_0x28f8e7(0x26a)][_0x28f8e7(0x24f)]:null;_0x1a25c7&&this[_0x28f8e7(0x2cb)][_0x28f8e7(0x23b)](_0x464819[_0x28f8e7(0x1df)]),_0x5bd94f&&this[_0x28f8e7(0x2cb)][_0x28f8e7(0x1f4)](_0x464819[_0x28f8e7(0x1df)],_0x464819[_0x28f8e7(0x26a)][_0x28f8e7(0x2a2)]());const _0x2e2309=null===_0x464819[_0x28f8e7(0x286)]?null:_0x464819[_0x28f8e7(0x286)]||this[_0x28f8e7(0x232)][_0x28f8e7(0x2c0)][_0x28f8e7(0x28a)](_0x28f8e7(0x2d6))['me']['id'],_0x40a0e2=_0x464819[_0x28f8e7(0x1df)];if(!this[_0x28f8e7(0x2c3)][_0x28f8e7(0x242)](_0x40a0e2))return void this[_0x28f8e7(0x2c3)][_0x28f8e7(0x1f4)](_0x40a0e2,{'range':_0x464819[_0x28f8e7(0x1f2)],'userId':_0x2e2309});const _0x2ec5a0=this[_0x28f8e7(0x2c3)][_0x28f8e7(0x28a)](_0x40a0e2),_0x2db1d3=_0x2ec5a0[_0x28f8e7(0x257)],_0x24553e=_0x464819[_0x28f8e7(0x26a)];null==_0x2db1d3&&null==_0x24553e||_0x2db1d3&&_0x24553e&&_0x2db1d3[_0x28f8e7(0x22d)](_0x24553e)?this[_0x28f8e7(0x2c3)][_0x28f8e7(0x23b)](_0x464819[_0x28f8e7(0x1df)]):_0x2ec5a0[_0x28f8e7(0x273)]=_0x2e2309;}[_0x4be6dc(0x262)](_0xddfb30,_0x248469){const _0x3e50a7=_0x4be6dc;this[_0x3e50a7(0x1dc)][_0x3e50a7(0x242)](_0xddfb30[_0x3e50a7(0x1f7)])?this[_0x3e50a7(0x1dc)][_0x3e50a7(0x28a)](_0xddfb30[_0x3e50a7(0x1f7)])[_0x3e50a7(0x1bc)]=_0xddfb30[_0x3e50a7(0x292)]:(this[_0x3e50a7(0x1dc)][_0x3e50a7(0x1f4)](_0xddfb30[_0x3e50a7(0x1f7)],G(_0xddfb30[_0x3e50a7(0x1f7)],!0x0)),this[_0x3e50a7(0x270)][_0x3e50a7(0x1f4)](_0xddfb30[_0x3e50a7(0x1f7)],{}),_0x248469&&this[_0x3e50a7(0x1bb)][_0x3e50a7(0x1f4)](_0xddfb30[_0x3e50a7(0x1f7)],G(_0xddfb30[_0x3e50a7(0x1f7)],!0x0)));const _0x1a184d=null===_0xddfb30[_0x3e50a7(0x286)]?null:_0xddfb30[_0x3e50a7(0x286)]||this[_0x3e50a7(0x232)][_0x3e50a7(0x2c0)][_0x3e50a7(0x28a)](_0x3e50a7(0x2d6))['me']['id'],_0x16a1cd=this[_0x3e50a7(0x1ca)][_0x3e50a7(0x28a)](_0xddfb30[_0x3e50a7(0x1f7)]);_0x16a1cd&&_0x16a1cd[_0x3e50a7(0x273)]===_0x1a184d?this[_0x3e50a7(0x1ca)][_0x3e50a7(0x23b)](_0xddfb30[_0x3e50a7(0x1f7)]):this[_0x3e50a7(0x1ca)][_0x3e50a7(0x1f4)](_0xddfb30[_0x3e50a7(0x1f7)],{'userId':_0x1a184d,'isAttached':_0xddfb30[_0x3e50a7(0x292)]});}[_0x4be6dc(0x20d)](_0x12b8a7){const _0x67c506=_0x4be6dc,_0x31c2b3=this[_0x67c506(0x270)][_0x67c506(0x28a)](_0x12b8a7[_0x67c506(0x24f)][_0x67c506(0x1f7)]);null===_0x12b8a7[_0x67c506(0x1e4)]?delete _0x31c2b3[_0x12b8a7[_0x67c506(0x2a9)]]:_0x31c2b3[_0x12b8a7[_0x67c506(0x2a9)]]=_0x12b8a7[_0x67c506(0x1e4)];}}function q(_0x562f2f){const _0x50d3b4=_0x4be6dc,_0xda919e=G(_0x562f2f[_0x50d3b4(0x1f7)],_0x562f2f[_0x50d3b4(0x2a5)]());for(const _0x2af72e of _0x562f2f[_0x50d3b4(0x25f)]()){const _0x1f9bed=_0x2af72e[_0x50d3b4(0x27d)](!0x0);_0xda919e[_0x50d3b4(0x24c)](_0x1f9bed);}return _0xda919e;}function G(_0x295ee8,_0x230615=!0x0){const _0x426aed=_0x4be6dc,_0x1e7166=new _0x5adb62();return _0x1e7166[_0x426aed(0x1f7)]=_0x295ee8,_0x1e7166[_0x426aed(0x1bc)]=_0x230615,_0x1e7166[_0x426aed(0x2a5)]=()=>_0x1e7166[_0x426aed(0x1bc)],_0x1e7166;}function L(_0x3d1ff5,_0x1a9397,_0x125db3){const _0x4ee93e=_0x4be6dc,_0x457814=_0x4ee93e(0x1dd)==_0x3d1ff5[_0x4ee93e(0x2c2)]?_0x125db3[_0x4ee93e(0x28c)](_0x3d1ff5[_0x4ee93e(0x24b)],_0x4ee93e(0x1be)):_0x125db3[_0x4ee93e(0x203)](_0x3d1ff5[_0x4ee93e(0x24b)]);return _0x125db3[_0x4ee93e(0x263)](_0x1a9397,_0x457814[_0x4ee93e(0x2ba)],_0x457814[_0x4ee93e(0x283)]);}function W(_0x3687d2,_0xf8937,_0x1d65b8){const _0x15f61a=_0x4be6dc,_0x272e98=_0x15f61a(0x24d)==_0x3687d2[_0x15f61a(0x2c2)]?_0x1d65b8[_0x15f61a(0x28c)](_0x3687d2[_0x15f61a(0x24b)],0x0):_0x1d65b8[_0x15f61a(0x2ae)](_0x3687d2[_0x15f61a(0x24b)]);return _0x1d65b8[_0x15f61a(0x263)](_0xf8937,_0x272e98[_0x15f61a(0x2ba)],_0x272e98[_0x15f61a(0x283)]);}
|