@ckeditor/ckeditor5-revision-history 42.0.0-alpha.0 → 42.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x476ca6=_0x3ca9;function _0x4dff(){const _0x55fe65=['add','stickiness','2096690TldXnf','_calculateMetaData','insertions','attributes','find','_startingRevisionId','_handleMoveOperation','_handleSplitOperation','nodeAfter','_touchedRoots','initial','graveyardPosition','attachChange','_copyMarkers','_execute','paragraph','NEGATIVE_INFINITY','_isAttached','split','init','saveRevision','getLatestVersion','merge','toModel','toView','createPositionBefore','44NWHdoI','children','_cloneOperation','isAttached','2pTTqxT','removeRootAttribute','_insertChild','getRoot','_isInit','diffData','getRange','861206JAHqNy','addRootAttribute','_fixPosition','RevisionsRepository','creatorId','range','getAttributes','_continueCurrentRevision','deletion','_authorId','splitPosition','_createFromRanges','keys','marked','conversion','_update','updateRevisions','_makeIdsRoot','rootsAttributes','getCurrentRevisionId','baseVersion','default','635724zncgCS','_initialRevisionId','_startingVersion','fromVersion','attributesBefore','initialData','_isPendingUpdate','getUser','values','_removeRevisionMarkers','isReady','text','documentFragment','history','Empty\x20document','_loadState','_markers','_saveMetaData','howMany','sendBufferedUpdates','_revisionId','_clone','createPositionFromPath','move','pluginName','nodes','_lastTo','_setAttribute','includes','clear','view','document','newRange','editor','_applyOperations','reInit','editing','_removePendingAction','_baseRoots','RevisionTracker','_fixRange','slice','shift','getChildren','_getFromVersion','creator','startsWith','_handleMarkerOperation','_loadedStateData','root','key','_removeMetaData','reinsert','model','oldRange','plugins','collaboration.channelId','addRevision','some','max','then','path','end','clone','upcast','rootName','_touchedMarkers','toData','locale','item','size','createRangeIn','vid_end','getRevisionDocumentData','_appendChild','revision-end','2551920JEhUWR','authorsIds','parse','_handleRootAttributeOperation','forEach','getRevisions','_revisionDataBuilder','filter','afterInit','define','_lastFrom','offsetSize','stringify','_operations','_createInitialRevision','_findInsertionIndex','vid','_replaceEditorDataWithRevisionData','start','bind','length','getMovedRangeStart','element','deletions','dataDowncast','getRootNames','processor','isEqual','adapter','_transformMarkers','data-revision-','loadState','repository','createRevision','vid_start','setRevisionData','for','finally','_pendingAction','getAncestors','_getState','setSource','data','_diffRoots','_baseRootsAttributes','_source','Users','createPositionAfter','dataToMarker','reverse','attributesAfter','insertionPosition','delete','revision:','addRevisionData','sort','_bufferedUpdates','getWalker','ready','_setConversion','isEnabled','PENDING_ACTION_REVISION_HISTORY','Initial\x20revision','PendingActions','_getViewJson','detachRoot','buildRevisionData','changeRootAttribute','childCount','_prepareViewToSave','_idsRoots','$text','insert','trim','string','position','_makeRevision','revision','RealTimeCollaborationClient','hasContent','getIndex','_baseIdsRoots','$graveyard','has','getNodeByPath','_markChanges','getOperations','getRevisionRootsAttributes','createdAt','remove','sourcePosition','tableCell','_getBaseVids','offset','userId','getChild','_handleRootOperation','getData','_createCurrentRevision','_fixOperation','useFillerType','from','_bufferUpdate','_processRootBeforeSave','affectsData','_loadRevisionData','elementStart','update','364372NWupgc','_reset','getRevision','roots','createRange','requires','marker','version','currentRevision','keepParagraph','previousPosition','targetPosition','fromEntries','get','addRoot','authors','15onmcLZ','7ssmPUN','getTransformedByOperation','_generateTape','elementEnd','revision-start','type','_makeModelFromViewString','resolve','_savedMetaData','toVersion','map','isAdd','config','_handleOperation','markers','976692phXNHL','set','getOperation','_handleInsertOperation','getAttribute','_diffRootsAttributes','_getVidAttributeName','9CkivnI','push','createPositionAt','_getPreviousFrom','_touched','revisionHistory.resumeUnsavedRevision','_handleMergeOperation','insertion','source','newValue','name','markerToData','_addPendingAction','editor-initial-data-replaced-with-revision-data','3066912KajOUB','getTime','parent'];_0x4dff=function(){return _0x55fe65;};return _0x4dff();}function _0x3ca9(_0x8d3410,_0x378d49){const _0x4dfffe=_0x4dff();return _0x3ca9=function(_0x3ca92b,_0x18cb2c){_0x3ca92b=_0x3ca92b-0x19c;let _0x481c7c=_0x4dfffe[_0x3ca92b];return _0x481c7c;},_0x3ca9(_0x8d3410,_0x378d49);}(function(_0x24e439,_0xa9e740){const _0x40b42b=_0x3ca9,_0x53243a=_0x24e439();while(!![]){try{const _0x5a27c1=-parseInt(_0x40b42b(0x205))/0x1*(-parseInt(_0x40b42b(0x20c))/0x2)+-parseInt(_0x40b42b(0x222))/0x3+-parseInt(_0x40b42b(0x1ad))/0x4*(parseInt(_0x40b42b(0x1bd))/0x5)+parseInt(_0x40b42b(0x1e2))/0x6*(parseInt(_0x40b42b(0x1be))/0x7)+-parseInt(_0x40b42b(0x26e))/0x8+parseInt(_0x40b42b(0x1d4))/0x9*(parseInt(_0x40b42b(0x1e7))/0xa)+-parseInt(_0x40b42b(0x201))/0xb*(parseInt(_0x40b42b(0x1cd))/0xc);if(_0x5a27c1===_0xa9e740)break;else _0x53243a['push'](_0x53243a['shift']());}catch(_0x59bb84){_0x53243a['push'](_0x53243a['shift']());}}}(_0x4dff,0x6e6be));import{Users as _0x4af4c2}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x16a67c,PendingActions as _0x166676}from'ckeditor5/src/core.js';import{logWarning as _0x1b8f04,uid as _0x3a5ece}from'ckeditor5/src/utils.js';import{Position as _0x2b25dd,Range as _0x4699e8,Element as _0xf93b56,DocumentFragment as _0x36a735,ViewText as _0x18651b,ViewElement as _0x5bec59,ViewContainerElement as _0x24737c,ViewAttributeElement as _0x45b70d,ViewEmptyElement as _0x4ae73f,ViewRawElement as _0x45f892,ViewUIElement as _0x46a825,ViewDocumentFragment as _0x4bc1e5}from'ckeditor5/src/engine.js';import _0x4c9649 from'./revisionsrepository.js';import{getTranslation as _0x2149e}from'./utils/common-translations.js';import{cloneDeep as _0x23ab0d,isEqual as _0x249015}from'lodash-es';const T={'c':_0x24737c,'a':_0x45b70d,'e':_0x4ae73f,'r':_0x45f892,'u':_0x46a825};export default class l extends _0x16a67c{static get[_0x476ca6(0x23a)](){const _0x5763b5=_0x476ca6;return _0x5763b5(0x249);}static get[_0x476ca6(0x1b2)](){return[_0x4af4c2,_0x4c9649,_0x166676];}constructor(_0x5aaf55){const _0x4472b0=_0x476ca6;super(_0x5aaf55),this[_0x4472b0(0x28a)]=null,this[_0x4472b0(0x1b5)]=null,this[_0x4472b0(0x274)]=new J(this[_0x4472b0(0x243)]),this[_0x4472b0(0x223)]=this[_0x4472b0(0x243)][_0x4472b0(0x1ca)][_0x4472b0(0x1ba)](_0x4472b0(0x25a))||_0x4472b0(0x1f1),this[_0x4472b0(0x2a6)]=new Map(),this[_0x4472b0(0x252)]=null;const _0x1fde2e=_0x3a5ece();this[_0x4472b0(0x29b)]={'history':this[_0x4472b0(0x243)][_0x4472b0(0x257)][_0x4472b0(0x241)][_0x4472b0(0x22f)],'getLatestVersion':()=>Promise[_0x4472b0(0x1c5)](this[_0x4472b0(0x243)][_0x4472b0(0x257)][_0x4472b0(0x241)][_0x4472b0(0x1b4)]),'getCurrentRevisionId':()=>_0x1fde2e},this[_0x4472b0(0x1ce)](_0x4472b0(0x22c),!0x1),this[_0x4472b0(0x1ce)](_0x4472b0(0x2aa),!0x0),this[_0x4472b0(0x1ce)](_0x4472b0(0x228),!0x1),this[_0x4472b0(0x243)][_0x4472b0(0x1ca)][_0x4472b0(0x277)](_0x4472b0(0x1d9),!0x0),this[_0x4472b0(0x243)][_0x4472b0(0x21a)][_0x4472b0(0x292)](_0x4472b0(0x262))[_0x4472b0(0x29e)]({'view':_0x4472b0(0x2bb)});}[_0x476ca6(0x1fa)](){const _0x54703a=_0x476ca6;this[_0x54703a(0x28e)]=this[_0x54703a(0x243)][_0x54703a(0x259)][_0x54703a(0x1ba)](_0x54703a(0x20f)),this[_0x54703a(0x2a9)](),this[_0x54703a(0x243)][_0x54703a(0x298)]['on'](_0x54703a(0x2a8),()=>{const _0x4e33e1=_0x54703a,_0x37d5db=this[_0x4e33e1(0x28e)][_0x4e33e1(0x1af)](0x0),_0x9b9de0=_0x37d5db&&null===_0x37d5db[_0x4e33e1(0x24f)]?_0x37d5db:null;if(this[_0x4e33e1(0x213)]=!!_0x9b9de0&&this[_0x4e33e1(0x243)][_0x4e33e1(0x1ca)][_0x4e33e1(0x1ba)](_0x4e33e1(0x1d9)),this[_0x4e33e1(0x243)][_0x4e33e1(0x259)][_0x4e33e1(0x2c1)](_0x4e33e1(0x2bc))){const _0x2ea7b8=this[_0x4e33e1(0x29b)][_0x4e33e1(0x21f)](),_0xe4e841=this[_0x4e33e1(0x28e)][_0x4e33e1(0x1af)](_0x2ea7b8);if(_0xe4e841)this[_0x4e33e1(0x224)]=_0xe4e841[_0x4e33e1(0x225)],this[_0x4e33e1(0x213)]=!0x1;else{const _0xafbb23=this[_0x4e33e1(0x29b)][_0x4e33e1(0x22f)][_0x4e33e1(0x27b)][_0x4e33e1(0x1eb)](_0x4b2c6e=>!_0x4b2c6e[_0x4e33e1(0x209)]),_0x302258=_0xafbb23?_0xafbb23[_0x4e33e1(0x220)]:this[_0x4e33e1(0x29b)][_0x4e33e1(0x22f)][_0x4e33e1(0x1b4)];_0x37d5db?(_0x37d5db[_0x4e33e1(0x1c7)]<_0x302258&&_0x37d5db[_0x4e33e1(0x21b)]({'toVersion':_0x302258}),this[_0x4e33e1(0x213)]?(this[_0x4e33e1(0x29b)][_0x4e33e1(0x21f)]=()=>_0x9b9de0['id'],this[_0x4e33e1(0x224)]=_0x9b9de0[_0x4e33e1(0x225)]):(this[_0x4e33e1(0x224)]=_0x37d5db[_0x4e33e1(0x1c7)],this[_0x4e33e1(0x213)]=!0x1)):(this[_0x4e33e1(0x224)]=_0x302258,this[_0x4e33e1(0x213)]=!0x1);}}else _0x9b9de0&&(this[_0x4e33e1(0x243)][_0x4e33e1(0x257)][_0x4e33e1(0x241)][_0x4e33e1(0x22f)][_0x4e33e1(0x1b4)]=Math[_0x4e33e1(0x25d)](_0x9b9de0[_0x4e33e1(0x1c7)],this[_0x4e33e1(0x243)][_0x4e33e1(0x257)][_0x4e33e1(0x241)][_0x4e33e1(0x22f)][_0x4e33e1(0x1b4)]),_0x9b9de0[_0x4e33e1(0x225)]===_0x9b9de0[_0x4e33e1(0x1c7)]?(0x0!==_0x9b9de0[_0x4e33e1(0x225)]&&(this[_0x4e33e1(0x29b)][_0x4e33e1(0x21f)]=()=>_0x9b9de0['id']),this[_0x4e33e1(0x213)]=!0x1):this[_0x4e33e1(0x213)]&&(this[_0x4e33e1(0x29b)][_0x4e33e1(0x21f)]=()=>_0x9b9de0['id'],this[_0x4e33e1(0x224)]=_0x9b9de0[_0x4e33e1(0x225)])),this[_0x4e33e1(0x213)]||(this[_0x4e33e1(0x224)]=this[_0x4e33e1(0x243)][_0x4e33e1(0x257)][_0x4e33e1(0x241)][_0x4e33e1(0x1b4)]);this[_0x4e33e1(0x274)][_0x4e33e1(0x1fa)](this[_0x4e33e1(0x29b)][_0x4e33e1(0x22f)]),this[_0x4e33e1(0x27c)](this[_0x4e33e1(0x224)]),this[_0x4e33e1(0x1a3)](this[_0x4e33e1(0x224)]),this[_0x4e33e1(0x28a)]&&this[_0x4e33e1(0x235)]();}),this[_0x54703a(0x281)](_0x54703a(0x22c))['to'](this,_0x54703a(0x228),_0x318c41=>!_0x318c41);}async[_0x476ca6(0x276)](){const _0x485793=_0x476ca6;if(this[_0x485793(0x28e)][_0x485793(0x282)]>0x0){const _0x5378e0=this[_0x485793(0x28e)][_0x485793(0x1af)](0x0),_0x52ce13=await this[_0x485793(0x26b)](_0x5378e0),_0x4b227c=await this[_0x485793(0x2c5)](_0x5378e0);this[_0x485793(0x27f)](_0x52ce13,_0x4b227c);}}[_0x476ca6(0x297)](_0x3318fc){const _0x285d21=_0x476ca6;this[_0x285d21(0x29b)]=_0x3318fc;}async[_0x476ca6(0x1ac)](){const _0x4c7b8d=_0x476ca6,_0x4c2455=await this[_0x4c7b8d(0x29b)][_0x4c7b8d(0x1fc)]();if(_0x4c2455>this[_0x4c7b8d(0x1b5)][_0x4c7b8d(0x1c7)]){await this[_0x4c7b8d(0x231)]();const _0x12bb95=this[_0x4c7b8d(0x2b0)]({'revision':this[_0x4c7b8d(0x1b5)],'to':_0x4c2455});_0x12bb95[_0x4c7b8d(0x1bc)]=_0x12bb95[_0x4c7b8d(0x26f)][_0x4c7b8d(0x1c8)](_0x236c09=>this[_0x4c7b8d(0x243)][_0x4c7b8d(0x259)][_0x4c7b8d(0x1ba)](_0x4c7b8d(0x29c))[_0x4c7b8d(0x229)](_0x236c09)),this[_0x4c7b8d(0x1b5)][_0x4c7b8d(0x21b)](_0x12bb95);}}async[_0x476ca6(0x231)](){const _0x49ca88=_0x476ca6;this[_0x49ca88(0x213)]&&!this[_0x49ca88(0x252)]&&(await this[_0x49ca88(0x1aa)](this[_0x49ca88(0x1b5)]),this[_0x49ca88(0x274)][_0x49ca88(0x28d)](this[_0x49ca88(0x1b5)]),this[_0x49ca88(0x252)]={'fromVersion':this[_0x49ca88(0x1b5)][_0x49ca88(0x225)],'authors':this[_0x49ca88(0x1b5)][_0x49ca88(0x1bc)][_0x49ca88(0x24b)]()});}async[_0x476ca6(0x1fb)](_0x52002d={},_0x2a837e=null){const _0x2e1e8b=_0x476ca6,_0x1ac089=[];await this[_0x2e1e8b(0x231)](),this[_0x2e1e8b(0x213)]=!0x1,_0x2a837e>this[_0x2e1e8b(0x1b5)][_0x2e1e8b(0x1c7)]&&(_0x2a837e=null),null===_0x2a837e&&(_0x2a837e=await this[_0x2e1e8b(0x29b)][_0x2e1e8b(0x1fc)]());const _0x3739b1=this[_0x2e1e8b(0x24e)](_0x2a837e),_0x105abc=this[_0x2e1e8b(0x2b0)]({'from':_0x3739b1,'to':_0x2a837e});if(this[_0x2e1e8b(0x1b5)][_0x2e1e8b(0x1c7)]<_0x2a837e){const _0xdaea8c=this[_0x2e1e8b(0x2b0)]({'revision':this[_0x2e1e8b(0x1b5)],'from':_0x2a837e,'to':_0x2a837e});_0xdaea8c[_0x2e1e8b(0x1bc)]=[],_0xdaea8c[_0x2e1e8b(0x26f)]=[],_0xdaea8c['id']=this[_0x2e1e8b(0x1b5)]['id'],this[_0x2e1e8b(0x1b5)][_0x2e1e8b(0x21b)](_0xdaea8c,!0x0),delete _0xdaea8c[_0x2e1e8b(0x1bc)],_0x1ac089[_0x2e1e8b(0x1d5)](_0xdaea8c);}_0x52002d[_0x2e1e8b(0x210)]=this[_0x2e1e8b(0x243)][_0x2e1e8b(0x259)][_0x2e1e8b(0x1ba)](_0x2e1e8b(0x29c))['me']['id'],_0x52002d[_0x2e1e8b(0x1de)]=_0x52002d[_0x2e1e8b(0x1de)]||null,_0x52002d['id']=_0x52002d['id']||_0x3a5ece(),_0x52002d={..._0x52002d,..._0x105abc};const _0x50a782=this[_0x2e1e8b(0x2a4)](_0x52002d);_0x1ac089[_0x2e1e8b(0x1d5)](_0x52002d);const _0x3b0df0=this[_0x2e1e8b(0x28e)][_0x2e1e8b(0x2be)](_0x50a782);if(0x0!==_0x3b0df0){const _0x2ab5ce=this[_0x2e1e8b(0x28e)][_0x2e1e8b(0x1af)](_0x3b0df0-0x1);if(_0x2ab5ce[_0x2e1e8b(0x225)]!==_0x2a837e){const _0x13c472=this[_0x2e1e8b(0x274)][_0x2e1e8b(0x1a2)](_0x2a837e,_0x2ab5ce[_0x2e1e8b(0x1c7)]),_0x2ad0e2={'id':_0x2ab5ce['id'],'diffData':_0x13c472[_0x2e1e8b(0x20a)],'authorsIds':_0x13c472[_0x2e1e8b(0x26f)],'authors':_0x13c472[_0x2e1e8b(0x26f)][_0x2e1e8b(0x1c8)](_0x4f7b4f=>this[_0x2e1e8b(0x243)][_0x2e1e8b(0x259)][_0x2e1e8b(0x1ba)](_0x2e1e8b(0x29c))[_0x2e1e8b(0x229)](_0x4f7b4f)),'fromVersion':_0x2a837e};_0x2ab5ce===this[_0x2e1e8b(0x1b5)]&&(_0x2ad0e2[_0x2e1e8b(0x2c6)]=new Date(_0x52002d[_0x2e1e8b(0x2c6)][_0x2e1e8b(0x1e3)]()+0xa)),_0x2ab5ce[_0x2e1e8b(0x21b)](_0x2ad0e2,!0x0),delete _0x2ad0e2[_0x2e1e8b(0x1bc)],_0x1ac089[_0x2e1e8b(0x1d5)](_0x2ad0e2);}}if(this[_0x2e1e8b(0x28a)]){for(const _0x27d662 of _0x1ac089)this[_0x2e1e8b(0x1a7)](_0x27d662['id'],_0x27d662,!0x0);this[_0x2e1e8b(0x235)]();}return _0x50a782;}[_0x476ca6(0x2a4)](_0x4ebbd6){const _0x1d44a1=_0x476ca6,_0x29758b=this[_0x1d44a1(0x28e)][_0x1d44a1(0x28f)](_0x4ebbd6);return this[_0x1d44a1(0x28a)]&&_0x29758b['on'](_0x1d44a1(0x21b),(_0x52a1c0,_0x2fbf46,_0x28631d)=>{const _0x3f7d64=_0x1d44a1;_0x28631d||(this[_0x3f7d64(0x1a7)](_0x2fbf46['id'],_0x2fbf46,!0x0),this[_0x3f7d64(0x235)]());}),this[_0x1d44a1(0x28e)][_0x1d44a1(0x25b)](_0x29758b,this[_0x1d44a1(0x27d)](_0x29758b)),_0x29758b;}async[_0x476ca6(0x26b)](_0x385386){const _0x58c047=_0x476ca6;await this[_0x58c047(0x1aa)](_0x385386);const _0x5a5826={};for(const _0xf6472 in _0x385386[_0x58c047(0x20a)]){if(_0x385386[_0x58c047(0x20a)][_0xf6472][_0x58c047(0x1f3)]&&!_0x385386[_0x58c047(0x20a)][_0xf6472][_0x58c047(0x1f3)][_0x58c047(0x204)])continue;const _0x15f6c0=this[_0x58c047(0x22b)](JSON[_0x58c047(0x270)](_0x385386[_0x58c047(0x20a)][_0xf6472][_0x58c047(0x1e9)])),_0x4f35e5=this[_0x58c047(0x243)][_0x58c047(0x246)][_0x58c047(0x240)][_0x58c047(0x241)],_0x2f1d16=new _0x4bc1e5(_0x4f35e5,_0x15f6c0[_0x58c047(0x1c8)](_0x3e595b=>B(_0x3e595b,this[_0x58c047(0x243)])));this[_0x58c047(0x243)][_0x58c047(0x298)][_0x58c047(0x288)][_0x58c047(0x1a5)](_0x58c047(0x219)),_0x5a5826[_0xf6472]=this[_0x58c047(0x243)][_0x58c047(0x298)][_0x58c047(0x288)][_0x58c047(0x265)](_0x2f1d16),this[_0x58c047(0x243)][_0x58c047(0x298)][_0x58c047(0x288)][_0x58c047(0x1a5)](_0x58c047(0x221));}return _0x5a5826;}async[_0x476ca6(0x2c5)](_0x21fec1){const _0x22a1f5=_0x476ca6;await this[_0x22a1f5(0x1aa)](_0x21fec1);const _0x4f97c0={};for(const _0x3b1896 in _0x21fec1[_0x22a1f5(0x20a)])_0x21fec1[_0x22a1f5(0x20a)][_0x3b1896][_0x22a1f5(0x1f3)]&&!_0x21fec1[_0x22a1f5(0x20a)][_0x3b1896][_0x22a1f5(0x1f3)][_0x22a1f5(0x204)]||(_0x4f97c0[_0x3b1896]=_0x21fec1[_0x22a1f5(0x20a)][_0x3b1896][_0x22a1f5(0x2a0)]||{});return _0x4f97c0;}[_0x476ca6(0x235)](){const _0x1eac12=_0x476ca6;if(0x0===this[_0x1eac12(0x2a6)][_0x1eac12(0x268)])return;if(this[_0x1eac12(0x228)])return;let _0x781abb=Array[_0x1eac12(0x1a6)](this[_0x1eac12(0x2a6)][_0x1eac12(0x22a)]());this[_0x1eac12(0x2a6)][_0x1eac12(0x23f)]();for(let _0x1c2355=0x0;_0x1c2355<_0x781abb[_0x1eac12(0x282)];_0x1c2355++){const _0xa96c3c=_0x781abb[_0x1c2355];let _0x49a969=!0x1;for(const _0x191fe1 of Object[_0x1eac12(0x218)](_0xa96c3c))void 0x0===_0xa96c3c[_0x191fe1]?delete _0xa96c3c[_0x191fe1]:'id'!==_0x191fe1&&(_0x49a969=!0x0);_0x49a969||(_0x781abb[_0x1c2355]=null);}if(_0x781abb=_0x781abb[_0x1eac12(0x275)](_0x207c81=>null!==_0x207c81),!_0x781abb[_0x1eac12(0x282)])return;for(let _0x242b95=0x0;_0x242b95<_0x781abb[_0x1eac12(0x282)];_0x242b95++){const _0x5b3457=_0x781abb[_0x242b95];void 0x0!==_0x5b3457[_0x1eac12(0x225)]&&void 0x0===_0x5b3457[_0x1eac12(0x1c7)]&&(_0x5b3457[_0x1eac12(0x1c7)]=this[_0x1eac12(0x28e)][_0x1eac12(0x1af)](_0x5b3457['id'])[_0x1eac12(0x1c7)]),void 0x0!==_0x5b3457[_0x1eac12(0x1c7)]&&void 0x0===_0x5b3457[_0x1eac12(0x225)]&&(_0x5b3457[_0x1eac12(0x225)]=this[_0x1eac12(0x28e)][_0x1eac12(0x1af)](_0x5b3457['id'])[_0x1eac12(0x225)]);}const _0x19242f=this[_0x1eac12(0x243)][_0x1eac12(0x1ca)][_0x1eac12(0x1ba)](_0x1eac12(0x25a));this[_0x1eac12(0x228)]=!0x0,this[_0x1eac12(0x1e0)](),this[_0x1eac12(0x28a)][_0x1eac12(0x21c)](_0x781abb,_0x19242f)[_0x1eac12(0x293)](()=>{const _0x24591e=_0x1eac12;this[_0x24591e(0x228)]=!0x1;})[_0x1eac12(0x25e)](_0x5a0df1=>{const _0xb63488=_0x1eac12;if(_0x5a0df1){for(const _0x5da1d3 of _0x5a0df1)this[_0xb63488(0x291)]({'id':_0x5da1d3['id'],'createdAt':_0x5da1d3[_0xb63488(0x2c6)]});}this[_0xb63488(0x247)](),this[_0xb63488(0x235)]();});}[_0x476ca6(0x27f)](_0x44fd3a,_0x53ec18){const _0x1b0aa2=_0x476ca6;let _0x4204d4=this[_0x1b0aa2(0x243)][_0x1b0aa2(0x1ca)][_0x1b0aa2(0x1ba)](_0x1b0aa2(0x227)),_0x133a4c=this[_0x1b0aa2(0x243)][_0x1b0aa2(0x1ca)][_0x1b0aa2(0x1ba)](_0x1b0aa2(0x21e));if(void 0x0===_0x4204d4){_0x4204d4={};for(const _0x4fecaf of this[_0x1b0aa2(0x243)][_0x1b0aa2(0x257)][_0x1b0aa2(0x241)][_0x1b0aa2(0x287)]())_0x4204d4[_0x4fecaf]='';}if(_0x1b0aa2(0x2b8)==typeof _0x4204d4&&(_0x4204d4={'main':_0x4204d4}),void 0x0===_0x133a4c){_0x133a4c={};for(const _0x11db6f of this[_0x1b0aa2(0x243)][_0x1b0aa2(0x257)][_0x1b0aa2(0x241)][_0x1b0aa2(0x287)]())_0x133a4c[_0x11db6f]={};}let _0x5586b9=!0x1;const _0x36e0d1=Object[_0x1b0aa2(0x218)](_0x4204d4),_0x5ef5dd=Object[_0x1b0aa2(0x218)](_0x44fd3a);for(const _0x190ccb of _0x36e0d1){if(_0x4204d4[_0x190ccb]!==_0x44fd3a[_0x190ccb]&&''!==_0x4204d4[_0x190ccb][_0x1b0aa2(0x2b7)]()){_0x5586b9=!0x0;break;}if(!_0x249015(_0x133a4c[_0x190ccb],_0x53ec18[_0x190ccb])&&Object[_0x1b0aa2(0x218)](_0x133a4c[_0x190ccb])[_0x1b0aa2(0x282)]>0x0){_0x5586b9=!0x0;break;}}_0x5586b9||(_0x5586b9=_0x5ef5dd[_0x1b0aa2(0x25c)](_0x2c5a2d=>!this[_0x1b0aa2(0x243)][_0x1b0aa2(0x257)][_0x1b0aa2(0x241)][_0x1b0aa2(0x208)](_0x2c5a2d))),_0x5586b9&&_0x1b8f04(_0x1b0aa2(0x1e1),{'editorData':_0x4204d4,'editorRootsAttributes':_0x133a4c,'revisionData':_0x44fd3a,'revisionRootsAttributes':_0x53ec18}),this[_0x1b0aa2(0x243)][_0x1b0aa2(0x1ca)][_0x1b0aa2(0x1ce)](_0x1b0aa2(0x227),_0x44fd3a),this[_0x1b0aa2(0x243)][_0x1b0aa2(0x1ca)][_0x1b0aa2(0x1ce)](_0x1b0aa2(0x21e),_0x53ec18);}[_0x476ca6(0x1e0)](){const _0x298f9d=_0x476ca6;if(!this[_0x298f9d(0x294)]){const _0xa5486b=this[_0x298f9d(0x243)][_0x298f9d(0x259)][_0x298f9d(0x1ba)](_0x298f9d(0x2ad));this[_0x298f9d(0x294)]=_0xa5486b[_0x298f9d(0x1e5)](_0x2149e(this[_0x298f9d(0x243)][_0x298f9d(0x266)],_0x298f9d(0x2ab)));}}[_0x476ca6(0x247)](){const _0x282ce5=_0x476ca6;this[_0x282ce5(0x294)]&&(this[_0x282ce5(0x243)][_0x282ce5(0x259)][_0x282ce5(0x1ba)](_0x282ce5(0x2ad))[_0x282ce5(0x2c7)](this[_0x282ce5(0x294)]),this[_0x282ce5(0x294)]=null);}[_0x476ca6(0x27d)](_0x4977cc){const _0x2246bf=_0x476ca6,_0x15bba2=this[_0x2246bf(0x28e)][_0x2246bf(0x273)]();_0x15bba2[_0x2246bf(0x29f)]();let _0x58633d=0x0;for(;_0x58633d<_0x15bba2[_0x2246bf(0x282)];){const _0x901858=_0x15bba2[_0x58633d];if(_0x901858===this[_0x2246bf(0x1b5)]){_0x58633d++;continue;}if(_0x901858['id']===this[_0x2246bf(0x223)])break;const _0x50686c=_0x4977cc[_0x2246bf(0x1c7)]-_0x901858[_0x2246bf(0x1c7)]||_0x4977cc[_0x2246bf(0x225)]-_0x901858[_0x2246bf(0x225)];if(_0x50686c>0x0)break;if(_0x50686c<0x0)_0x58633d++;else{if(!_0x4977cc[_0x2246bf(0x24f)]&&_0x901858[_0x2246bf(0x24f)])break;if(_0x901858[_0x2246bf(0x24f)]||!_0x4977cc[_0x2246bf(0x24f)]){if(_0x4977cc[_0x2246bf(0x2c6)]>_0x901858[_0x2246bf(0x2c6)])break;_0x58633d++;}else _0x58633d++;}}return _0x58633d;}[_0x476ca6(0x291)](_0x1574c2){const _0x334b90=_0x476ca6,_0x175e19=this[_0x334b90(0x28e)][_0x334b90(0x1af)](_0x1574c2['id']);if(_0x1574c2[_0x334b90(0x2c6)]&&(_0x1574c2[_0x334b90(0x2c6)]=new Date(_0x1574c2[_0x334b90(0x2c6)])),_0x1574c2[_0x334b90(0x26f)]){const _0x422e3d=this[_0x334b90(0x243)][_0x334b90(0x259)][_0x334b90(0x1ba)](_0x334b90(0x29c));_0x1574c2[_0x334b90(0x1bc)]=_0x1574c2[_0x334b90(0x26f)][_0x334b90(0x1c8)](_0x410b05=>_0x422e3d[_0x334b90(0x229)](_0x410b05));}_0x175e19[_0x334b90(0x21b)](_0x1574c2,!0x0);}[_0x476ca6(0x2b0)]({revision:_0xf164e=null,from:_0x3cd6f0=null,to:_0x33567c=null}){const _0x122592=_0x476ca6;_0x3cd6f0=null!==_0x3cd6f0?_0x3cd6f0:_0xf164e[_0x122592(0x225)],_0x33567c=null!==_0x33567c?_0x33567c:_0xf164e[_0x122592(0x1c7)];const _0x18877f=this[_0x122592(0x274)][_0x122592(0x1a2)](_0x3cd6f0,_0x33567c),_0x8d0b76={'diffData':_0x18877f[_0x122592(0x20a)],'authorsIds':_0x18877f[_0x122592(0x26f)],'fromVersion':_0x3cd6f0,'toVersion':_0x33567c};if(!_0xf164e||_0x33567c!==_0xf164e[_0x122592(0x1c7)]){const _0x59d8b4=_0x33567c-0x1,_0x46f505=this[_0x122592(0x29b)][_0x122592(0x22f)][_0x122592(0x1cf)](_0x59d8b4);_0x8d0b76[_0x122592(0x2c6)]=_0x46f505&&_0x46f505[_0x122592(0x2c6)]||new Date();}if(this[_0x122592(0x252)]&&_0x3cd6f0===this[_0x122592(0x252)][_0x122592(0x225)]){for(const _0x179b65 of this[_0x122592(0x252)][_0x122592(0x1bc)])_0x8d0b76[_0x122592(0x26f)][_0x122592(0x23e)](_0x179b65['id'])||_0x8d0b76[_0x122592(0x26f)][_0x122592(0x1d5)](_0x179b65['id']);}return _0x8d0b76;}[_0x476ca6(0x1aa)](_0x3f5b93){const _0x52ad6e=_0x476ca6;if(!_0x3f5b93||_0x3f5b93[_0x52ad6e(0x20a)])return Promise[_0x52ad6e(0x1c5)]();{const _0x2a1eeb=this[_0x52ad6e(0x243)][_0x52ad6e(0x1ca)][_0x52ad6e(0x1ba)](_0x52ad6e(0x25a));return this[_0x52ad6e(0x28a)][_0x52ad6e(0x1af)]({'channelId':_0x2a1eeb,'revisionId':_0x3f5b93['id']})[_0x52ad6e(0x25e)](_0x56aadb=>{const _0x4e4e4e=_0x52ad6e;_0x3f5b93[_0x4e4e4e(0x20a)]=_0x56aadb[_0x4e4e4e(0x20a)];});}}[_0x476ca6(0x1a7)](_0x25c29b,_0x34a3fc,_0x15d847){const _0x559559=_0x476ca6;if(this[_0x559559(0x2a6)][_0x559559(0x2c1)](_0x25c29b)){const _0x5a384b=this[_0x559559(0x2a6)][_0x559559(0x1ba)](_0x25c29b);_0x34a3fc=_0x15d847?{..._0x5a384b,..._0x34a3fc}:{..._0x34a3fc,..._0x5a384b};}this[_0x559559(0x2a6)][_0x559559(0x1ce)](_0x25c29b,_0x34a3fc);}[_0x476ca6(0x24e)](_0x20deac){const _0x4fe142=_0x476ca6,_0x4a633f=this[_0x4fe142(0x28e)][_0x4fe142(0x273)]();_0x4a633f[_0x4fe142(0x29f)](),_0x4a633f[_0x4fe142(0x24c)]();const _0x441adc=_0x4a633f[_0x4fe142(0x1eb)](_0xbc5ce5=>_0xbc5ce5[_0x4fe142(0x1c7)]<=_0x20deac)[_0x4fe142(0x1c7)];return _0x441adc<this[_0x4fe142(0x224)]?this[_0x4fe142(0x224)]:_0x441adc;}[_0x476ca6(0x27c)](_0x3fb557){const _0x3e0c2e=_0x476ca6,_0x37fbda=this[_0x3e0c2e(0x28e)][_0x3e0c2e(0x1af)](this[_0x3e0c2e(0x28e)][_0x3e0c2e(0x282)]-0x1);if(_0x37fbda)this[_0x3e0c2e(0x223)]=_0x37fbda['id'];else{const _0x1dd59b=!this[_0x3e0c2e(0x243)][_0x3e0c2e(0x257)][_0x3e0c2e(0x241)][_0x3e0c2e(0x1b0)][_0x3e0c2e(0x1eb)](_0x44be2c=>this[_0x3e0c2e(0x243)][_0x3e0c2e(0x257)][_0x3e0c2e(0x2bd)](_0x44be2c)),_0x3742ba=this[_0x3e0c2e(0x243)][_0x3e0c2e(0x259)][_0x3e0c2e(0x1ba)](_0x3e0c2e(0x29c))['me']['id'],_0x2fd81c=_0x2149e(this[_0x3e0c2e(0x243)][_0x3e0c2e(0x266)],_0x1dd59b?_0x3e0c2e(0x230):_0x3e0c2e(0x2ac));this[_0x3e0c2e(0x2ba)]({'from':_0x3fb557,'to':_0x3fb557,'id':this[_0x3e0c2e(0x223)],'name':_0x2fd81c,'creatorId':_0x3742ba});}}[_0x476ca6(0x1a3)](_0xfa7e0b){const _0x4d881a=_0x476ca6,_0x233387=this[_0x4d881a(0x29b)][_0x4d881a(0x21f)]();this[_0x4d881a(0x1b5)]=this[_0x4d881a(0x28e)][_0x4d881a(0x1af)](_0x233387),this[_0x4d881a(0x1b5)]||(this[_0x4d881a(0x1b5)]=this[_0x4d881a(0x2ba)]({'from':_0xfa7e0b,'to':_0xfa7e0b,'id':_0x233387,'name':'','creatorId':null}));}[_0x476ca6(0x2ba)]({name:_0x52d378,from:_0x1e3ba6,to:_0x273a9f,creatorId:_0x43fcfd,id:_0x35be73}){const _0xd265ce=_0x476ca6,_0x322c38=this[_0xd265ce(0x2b0)]({'from':_0x1e3ba6,'to':_0x273a9f});_0x322c38[_0xd265ce(0x1de)]=_0x52d378,_0x322c38[_0xd265ce(0x210)]=_0x43fcfd,_0x322c38['id']=_0x35be73;const _0x2271de=this[_0xd265ce(0x2a4)](_0x322c38);return this[_0xd265ce(0x28a)]&&this[_0xd265ce(0x1a7)](_0x322c38['id'],_0x322c38,!0x0),_0x2271de;}[_0x476ca6(0x2a9)](){const _0x325837=_0x476ca6;this[_0x325837(0x243)][_0x325837(0x21a)][_0x325837(0x292)](_0x325837(0x286))[_0x325837(0x1df)]({'model':_0x325837(0x2bb)});}[_0x476ca6(0x22b)](_0x2d1c60){const _0x1947c2=_0x476ca6;return(_0x2d1c60=_0x2d1c60[_0x1947c2(0x275)](_0x173fc8=>!_0x173fc8[_0x1947c2(0x1de)]||_0x1947c2(0x1c2)!==_0x173fc8[_0x1947c2(0x1de)]&&_0x1947c2(0x26d)!==_0x173fc8[_0x1947c2(0x1de)]))[_0x1947c2(0x272)](_0xb35d5c=>{const _0x3afd71=_0x1947c2;_0x3afd71(0x2b8)!=typeof _0xb35d5c&&(_0xb35d5c[_0x3afd71(0x202)]=this[_0x3afd71(0x22b)](_0xb35d5c[_0x3afd71(0x202)]),_0xb35d5c[_0x3afd71(0x1ea)]=_0xb35d5c[_0x3afd71(0x1ea)][_0x3afd71(0x275)](_0x5688e8=>!_0x5688e8[0x0][_0x3afd71(0x250)](_0x3afd71(0x28c))));}),_0x2d1c60;}}function B(_0x36b626,_0xd93806){const _0x48ba3a=_0x476ca6,_0x13795a=_0xd93806[_0x48ba3a(0x246)][_0x48ba3a(0x240)][_0x48ba3a(0x241)];if(_0x48ba3a(0x2b8)==typeof _0x36b626)return new _0x18651b(_0x13795a,_0x36b626);{const _0x4fa345=_0x36b626[_0x48ba3a(0x202)][_0x48ba3a(0x1c8)](_0x5e7376=>B(_0x5e7376,_0xd93806));return new(T[_0x36b626[(_0x48ba3a(0x1c3))]]||_0x5bec59)(_0x13795a,_0x36b626[_0x48ba3a(0x1de)],_0x36b626[_0x48ba3a(0x1ea)],_0x4fa345);}}class J{constructor(_0xc33d03){const _0x25f91b=_0x476ca6;this[_0x25f91b(0x243)]=_0xc33d03,this[_0x25f91b(0x1c6)]=new Map(),this[_0x25f91b(0x278)]=-0x1,this[_0x25f91b(0x23c)]=-0x1,this[_0x25f91b(0x232)]=new Map(),this[_0x25f91b(0x299)]=new Map(),this[_0x25f91b(0x1d2)]=new Map(),this[_0x25f91b(0x248)]=new Map(),this[_0x25f91b(0x29a)]=new Map(),this[_0x25f91b(0x2b4)]=new Map(),this[_0x25f91b(0x2bf)]=new Map(),this[_0x25f91b(0x1d8)]=new Map(),this[_0x25f91b(0x264)]=new Map(),this[_0x25f91b(0x1f0)]=new Map(),this[_0x25f91b(0x236)]=0x1;}[_0x476ca6(0x1fa)](_0x5ec0df){const _0xa958a1=_0x476ca6;this[_0xa958a1(0x1dc)]=_0x5ec0df;const _0x3bb0da=new Map(),_0x52a840=new Map(),_0x456ef9=this[_0xa958a1(0x243)][_0xa958a1(0x257)][_0xa958a1(0x241)][_0xa958a1(0x1b0)][_0xa958a1(0x1c8)](_0x2129c5=>_0x2129c5[_0xa958a1(0x263)]);for(const _0x2eba1a of _0x456ef9){const _0x56ade0=this[_0xa958a1(0x243)][_0xa958a1(0x257)][_0xa958a1(0x241)][_0xa958a1(0x208)](_0x2eba1a),_0x5bdbce=q(_0x56ade0);_0x3bb0da[_0xa958a1(0x1ce)](_0x2eba1a,_0x5bdbce),_0x52a840[_0xa958a1(0x1ce)](_0x2eba1a,Object[_0xa958a1(0x1b9)](_0x56ade0[_0xa958a1(0x212)]()));}const _0x4f1304=Array[_0xa958a1(0x1a6)](this[_0xa958a1(0x243)][_0xa958a1(0x257)][_0xa958a1(0x1cc)])[_0xa958a1(0x1c8)](_0x2a6d9b=>[_0x2a6d9b[_0xa958a1(0x1de)],_0x2a6d9b[_0xa958a1(0x20b)]()]),_0x3b8822=this[_0xa958a1(0x1dc)][_0xa958a1(0x1b4)];this[_0xa958a1(0x233)](_0x3b8822,_0x3bb0da,_0x4f1304,_0x52a840),this[_0xa958a1(0x1ec)]=this[_0xa958a1(0x236)];const _0x994889=new Map(),_0x49a60f=new Map();for(const _0x15a992 of _0x456ef9){const _0x47bbdd=G(_0x15a992);_0x994889[_0xa958a1(0x1ce)](_0x15a992,_0x47bbdd),_0x49a60f[_0xa958a1(0x1ce)](_0x15a992,{});}this[_0xa958a1(0x233)](Number[_0xa958a1(0x1f7)],_0x994889,[],_0x49a60f);}[_0x476ca6(0x1a2)](_0x462556,_0x250fcb){const _0x569246=_0x476ca6;if(this[_0x569246(0x278)]===_0x462556&&this[_0x569246(0x23c)]<=_0x250fcb)this[_0x569246(0x1c6)][_0x569246(0x268)]>0x1&&this[_0x569246(0x255)](this[_0x569246(0x23c)]),this[_0x569246(0x244)](this[_0x569246(0x23c)],_0x250fcb,!0x0);else{if(!this[_0x569246(0x1c6)][_0x569246(0x2c1)](_0x462556)){const _0x1979d5=this[_0x569246(0x1d7)](_0x462556);this[_0x569246(0x1e8)](_0x1979d5,_0x462556,!0x1);}this[_0x569246(0x1e8)](_0x462556,_0x250fcb,!0x0);}return this[_0x569246(0x278)]=_0x462556,this[_0x569246(0x23c)]=_0x250fcb,this[_0x569246(0x296)]();}[_0x476ca6(0x28d)](_0x25ac09){const _0x4a4c70=_0x476ca6;this[_0x4a4c70(0x1ae)](),this[_0x4a4c70(0x278)]=_0x25ac09[_0x4a4c70(0x225)],this[_0x4a4c70(0x23c)]=_0x25ac09[_0x4a4c70(0x1c7)];for(const _0x75bdb0 in _0x25ac09[_0x4a4c70(0x20a)]){const _0x2ec0d1=_0x25ac09[_0x4a4c70(0x20a)][_0x75bdb0][_0x4a4c70(0x1f3)],_0x41e907=_0x23ab0d(_0x25ac09[_0x4a4c70(0x20a)][_0x75bdb0][_0x4a4c70(0x226)])||{},_0x267556=this[_0x4a4c70(0x1c4)](_0x25ac09[_0x4a4c70(0x20a)][_0x75bdb0][_0x4a4c70(0x285)]);_0x267556[_0x4a4c70(0x263)]=_0x75bdb0,_0x267556[_0x4a4c70(0x1f8)]=!_0x2ec0d1||!_0x2ec0d1[_0x4a4c70(0x204)],_0x267556[_0x4a4c70(0x204)]=()=>_0x267556[_0x4a4c70(0x1f8)],this[_0x4a4c70(0x248)][_0x4a4c70(0x1ce)](_0x75bdb0,_0x267556),this[_0x4a4c70(0x29a)][_0x4a4c70(0x1ce)](_0x75bdb0,_0x41e907),_0x2ec0d1&&this[_0x4a4c70(0x1f0)][_0x4a4c70(0x1ce)](_0x75bdb0,_0x2ec0d1);const _0x130b66=this[_0x4a4c70(0x21d)](_0x267556);this[_0x4a4c70(0x2bf)][_0x4a4c70(0x1ce)](_0x75bdb0,_0x130b66);for(const [_0x5ed216,_0x394092]of _0x267556[_0x4a4c70(0x1cc)]){if(!_0x5ed216[_0x4a4c70(0x250)](_0x4a4c70(0x2a3)))continue;const _0x45007c=_0x5ed216[_0x4a4c70(0x1f9)](':')[0x2];for(const _0x20cbb7 of _0x394092[_0x4a4c70(0x2a7)]({'singleCharacters':!0x0})){const _0xfe07da=this[_0x4a4c70(0x1d3)](_0x20cbb7),_0x16b8b8=_0x4a4c70(0x1c1)==_0x20cbb7[_0x4a4c70(0x1c3)]?_0x20cbb7[_0x4a4c70(0x1b7)][_0x4a4c70(0x25f)][_0x4a4c70(0x24b)](0x0,-0x1):_0x20cbb7[_0x4a4c70(0x1b7)][_0x4a4c70(0x25f)],_0x4da1fc=_0x130b66[_0x4a4c70(0x2c2)](_0x16b8b8)[_0x4a4c70(0x1d1)](_0xfe07da);this[_0x4a4c70(0x1d8)][_0x4a4c70(0x1ce)](_0x4da1fc,{'userId':_0x45007c});}}}this[_0x4a4c70(0x1ec)]=this[_0x4a4c70(0x236)];const _0x2ea4f9=[...Array(this[_0x4a4c70(0x236)])[_0x4a4c70(0x218)]()][_0x4a4c70(0x24b)](0x1)[_0x4a4c70(0x275)](_0x324764=>!this[_0x4a4c70(0x1d8)][_0x4a4c70(0x2c1)](_0x324764));let _0x340daa=0x0;const _0x5a29e4=new Map();for(const _0x5a33c in _0x25ac09[_0x4a4c70(0x20a)]){const _0x18bb88=_0x25ac09[_0x4a4c70(0x20a)][_0x5a33c][_0x4a4c70(0x1f3)],_0xf5bccb=_0x23ab0d(_0x25ac09[_0x4a4c70(0x20a)][_0x5a33c][_0x4a4c70(0x2a0)])||{},_0x5bb12b=this[_0x4a4c70(0x1c4)](_0x25ac09[_0x4a4c70(0x20a)][_0x5a33c][_0x4a4c70(0x1e9)]);_0x5bb12b[_0x4a4c70(0x263)]=_0x5a33c,_0x5bb12b[_0x4a4c70(0x1f8)]=!_0x18bb88||_0x18bb88[_0x4a4c70(0x204)],_0x5bb12b[_0x4a4c70(0x204)]=()=>_0x5bb12b[_0x4a4c70(0x1f8)],this[_0x4a4c70(0x299)][_0x4a4c70(0x1ce)](_0x5a33c,_0x5bb12b),this[_0x4a4c70(0x1d2)][_0x4a4c70(0x1ce)](_0x5a33c,_0xf5bccb);const _0x5990be=this[_0x4a4c70(0x21d)](_0x5bb12b,Number[_0x4a4c70(0x1f7)]);this[_0x4a4c70(0x2b4)][_0x4a4c70(0x1ce)](_0x5a33c,_0x5990be),_0x5a29e4[_0x4a4c70(0x1ce)](_0x5a33c,_0x5bb12b[_0x4a4c70(0x204)]()?_0xf5bccb:{});for(const [_0x418c39,_0x12f8f1]of _0x5bb12b[_0x4a4c70(0x1cc)]){if(!_0x418c39[_0x4a4c70(0x250)](_0x4a4c70(0x2a3)))continue;const _0x11dc40=_0x418c39[_0x4a4c70(0x1f9)](':')[0x2];for(const _0x77a6c5 of _0x12f8f1[_0x4a4c70(0x2a7)]({'singleCharacters':!0x0})){const _0x32c5c9=this[_0x4a4c70(0x1d3)](_0x77a6c5),_0xf40fdd=this[_0x4a4c70(0x236)]++,_0xd883a0=_0x4a4c70(0x1c1)==_0x77a6c5[_0x4a4c70(0x1c3)]?_0x77a6c5[_0x4a4c70(0x1b7)][_0x4a4c70(0x25f)][_0x4a4c70(0x24b)](0x0,-0x1):_0x77a6c5[_0x4a4c70(0x1b7)][_0x4a4c70(0x25f)];_0x5990be[_0x4a4c70(0x2c2)](_0xd883a0)[_0x4a4c70(0x23d)](_0x32c5c9,_0xf40fdd),this[_0x4a4c70(0x1d8)][_0x4a4c70(0x1ce)](_0xf40fdd,{'userId':_0x11dc40});}}for(const _0x16c34a of this[_0x4a4c70(0x243)][_0x4a4c70(0x257)][_0x4a4c70(0x269)](_0x5bb12b)[_0x4a4c70(0x2a7)]({'singleCharacters':!0x0})){const _0x2d9a12=this[_0x4a4c70(0x1d3)](_0x16c34a),_0x1b462b=_0x4a4c70(0x1c1)==_0x16c34a[_0x4a4c70(0x1c3)]?_0x16c34a[_0x4a4c70(0x1b7)][_0x4a4c70(0x25f)][_0x4a4c70(0x24b)](0x0,-0x1):_0x16c34a[_0x4a4c70(0x1b7)][_0x4a4c70(0x25f)],_0x3198b1=_0x5990be[_0x4a4c70(0x2c2)](_0x1b462b);_0x3198b1[_0x4a4c70(0x1d1)](_0x2d9a12)>0x0||_0x3198b1[_0x4a4c70(0x23d)](_0x2d9a12,_0x2ea4f9[_0x340daa++]);}for(const [_0x4f5cba,_0x280793]of _0x5bb12b[_0x4a4c70(0x1cc)])_0x4f5cba[_0x4a4c70(0x250)](_0x4a4c70(0x2a3))||this[_0x4a4c70(0x232)][_0x4a4c70(0x1ce)](_0x4f5cba,_0x280793);}const _0x535255=G(_0x4a4c70(0x2c0));this[_0x4a4c70(0x248)][_0x4a4c70(0x1ce)](_0x4a4c70(0x2c0),_0x535255),this[_0x4a4c70(0x2bf)][_0x4a4c70(0x1ce)](_0x4a4c70(0x2c0),this[_0x4a4c70(0x21d)](_0x535255,0x1));const _0x25dcb6=G(_0x4a4c70(0x2c0));this[_0x4a4c70(0x299)][_0x4a4c70(0x1ce)](_0x4a4c70(0x2c0),_0x25dcb6),this[_0x4a4c70(0x2b4)][_0x4a4c70(0x1ce)](_0x4a4c70(0x2c0),this[_0x4a4c70(0x21d)](_0x25dcb6,0x1));const _0x5dd667=Array[_0x4a4c70(0x1a6)](this[_0x4a4c70(0x299)])[_0x4a4c70(0x1c8)](([_0x4dde4e,_0x1af678])=>[_0x4dde4e,q(_0x1af678)]);this[_0x4a4c70(0x233)](this[_0x4a4c70(0x23c)],_0x5dd667,this[_0x4a4c70(0x232)],_0x5a29e4);}[_0x476ca6(0x1c4)](_0x33e29c){const _0x3f5a4f=_0x476ca6,_0x2e05d9=JSON[_0x3f5a4f(0x270)](_0x33e29c),_0x1ad517=this[_0x3f5a4f(0x243)][_0x3f5a4f(0x246)][_0x3f5a4f(0x240)][_0x3f5a4f(0x241)],_0x2cdac1=new _0x4bc1e5(_0x1ad517,_0x2e05d9[_0x3f5a4f(0x1c8)](_0x2fdf5b=>B(_0x2fdf5b,this[_0x3f5a4f(0x243)])));return this[_0x3f5a4f(0x243)][_0x3f5a4f(0x298)][_0x3f5a4f(0x1fe)](_0x2cdac1);}[_0x476ca6(0x233)](_0x1f04f1,_0x2e0e52,_0x298cc6,_0x4a5dcb){const _0x506f48=_0x476ca6,_0x1de35b=new Map(_0x2e0e52),_0x28c80e=new Map(_0x23ab0d(_0x4a5dcb)),_0x35a4fb=new Map();for(const [_0x4afa19,_0x3f767d]of _0x298cc6)_0x35a4fb[_0x506f48(0x1ce)](_0x4afa19,{'start':_0x3f767d[_0x506f48(0x280)][_0x506f48(0x261)](),'end':_0x3f767d[_0x506f48(0x260)][_0x506f48(0x261)](),'rootName':_0x3f767d[_0x506f48(0x253)][_0x506f48(0x263)]});this[_0x506f48(0x1c6)][_0x506f48(0x1ce)](_0x1f04f1,{'roots':_0x1de35b,'markers':_0x35a4fb,'rootsAttributes':_0x28c80e});}[_0x476ca6(0x255)](_0xc12aa1){const _0x30fdba=_0x476ca6;this[_0x30fdba(0x1c6)][_0x30fdba(0x2a2)](_0xc12aa1);}[_0x476ca6(0x245)](){const _0xfd63a4=_0x476ca6;this[_0xfd63a4(0x1ae)](),this[_0xfd63a4(0x278)]=-0x1,this[_0xfd63a4(0x23c)]=-0x1,this[_0xfd63a4(0x1c6)][_0xfd63a4(0x23f)](),this[_0xfd63a4(0x1fa)](this[_0xfd63a4(0x1dc)]);}[_0x476ca6(0x1ae)](){const _0x3ddce9=_0x476ca6;this[_0x3ddce9(0x1d8)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x264)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x1f0)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x299)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x1d2)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x248)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x29a)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x2b4)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x2bf)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x232)][_0x3ddce9(0x23f)](),this[_0x3ddce9(0x236)]=0x1,this[_0x3ddce9(0x1ec)]=this[_0x3ddce9(0x236)];}[_0x476ca6(0x21d)](_0x5bec6f,_0x1f9d09=null){const _0x5bfbf0=_0x476ca6;let _0x1a7749=null;_0x5bec6f['is'](_0x5bfbf0(0x22e))||(_0x1a7749=new _0xf93b56(_0x5bec6f[_0x5bfbf0(0x1de)],{'vid_start':null===_0x1f9d09?this[_0x5bfbf0(0x236)]++:_0x1f9d09++}));const _0xcbbb45=[];for(const _0x112bb7 of _0x5bec6f[_0x5bfbf0(0x24d)]())if(_0x112bb7['is'](_0x5bfbf0(0x284))){_0xcbbb45[_0x5bfbf0(0x1d5)](this[_0x5bfbf0(0x21d)](_0x112bb7,_0x1f9d09));const _0x517915=_0xcbbb45[_0xcbbb45[_0x5bfbf0(0x282)]-0x1];null!==_0x1f9d09&&(_0x1f9d09=_0x517915['is'](_0x5bfbf0(0x284),_0x5bfbf0(0x2b5))?_0x517915[_0x5bfbf0(0x1d1)](_0x5bfbf0(0x27e))+0x1:_0x517915[_0x5bfbf0(0x1d1)](_0x5bfbf0(0x26a))+0x1);}else{for(let _0x3999b6=0x0;_0x3999b6<_0x112bb7[_0x5bfbf0(0x279)];_0x3999b6++)_0xcbbb45[_0x5bfbf0(0x1d5)](new _0xf93b56(_0x5bfbf0(0x2b5),{'vid':null===_0x1f9d09?this[_0x5bfbf0(0x236)]++:_0x1f9d09++}));}if(_0x5bec6f['is'](_0x5bfbf0(0x22e))){const _0x42ce1=G(_0x5bec6f[_0x5bfbf0(0x263)]);return _0x42ce1[_0x5bfbf0(0x207)](0x0,_0xcbbb45),_0x42ce1;}return _0x1a7749[_0x5bfbf0(0x23d)](_0x5bfbf0(0x26a),null===_0x1f9d09?this[_0x5bfbf0(0x236)]++:_0x1f9d09++),_0x1a7749[_0x5bfbf0(0x207)](0x0,_0xcbbb45),_0x1a7749;}[_0x476ca6(0x1e8)](_0x48f450,_0x40a65b,_0x449594){const _0x48106d=_0x476ca6;this[_0x48106d(0x1ae)]();const {roots:_0x4a471f,markers:_0x5e5897,rootsAttributes:_0x4f43ab}=this[_0x48106d(0x1c6)][_0x48106d(0x1ba)](_0x48f450);this[_0x48106d(0x248)]=new Map(_0x4a471f),this[_0x48106d(0x29a)]=new Map(_0x23ab0d(_0x4f43ab));for(const [_0x21b195,_0x1b1f71]of this[_0x48106d(0x248)])if(_0x48106d(0x2c0)!==_0x21b195&&(this[_0x48106d(0x299)][_0x48106d(0x1ce)](_0x21b195,q(_0x1b1f71)),this[_0x48106d(0x1d2)]=new Map(_0x23ab0d(_0x4f43ab)),_0x449594)){const _0x16c072=this[_0x48106d(0x236)];this[_0x48106d(0x2b4)][_0x48106d(0x1ce)](_0x21b195,this[_0x48106d(0x21d)](_0x1b1f71)),this[_0x48106d(0x2bf)][_0x48106d(0x1ce)](_0x21b195,this[_0x48106d(0x21d)](_0x1b1f71,_0x16c072));}this[_0x48106d(0x1ec)]=this[_0x48106d(0x236)],this[_0x48106d(0x299)][_0x48106d(0x1ce)](_0x48106d(0x2c0),q(this[_0x48106d(0x248)][_0x48106d(0x1ba)](_0x48106d(0x2c0)))),_0x449594&&this[_0x48106d(0x2b4)][_0x48106d(0x1ce)](_0x48106d(0x2c0),this[_0x48106d(0x21d)](this[_0x48106d(0x248)][_0x48106d(0x1ba)](_0x48106d(0x2c0))));for(const [_0x190f72,_0xff7284]of _0x5e5897){const _0x3c38b7=this[_0x48106d(0x248)][_0x48106d(0x1ba)](_0xff7284[_0x48106d(0x263)]),_0x54d9d9=this[_0x48106d(0x299)][_0x48106d(0x1ba)](_0xff7284[_0x48106d(0x263)]),_0x1c69ef=new _0x4699e8(this[_0x48106d(0x20e)](_0xff7284[_0x48106d(0x280)],_0x3c38b7),this[_0x48106d(0x20e)](_0xff7284[_0x48106d(0x260)],_0x3c38b7)),_0x1d3154=this[_0x48106d(0x24a)](_0x1c69ef,_0x54d9d9);_0x3c38b7[_0x48106d(0x1cc)][_0x48106d(0x1ce)](_0x190f72,_0x1c69ef),this[_0x48106d(0x232)][_0x48106d(0x1ce)](_0x190f72,_0x1d3154);}this[_0x48106d(0x244)](_0x48f450,_0x40a65b,_0x449594);}[_0x476ca6(0x244)](_0x5a7005,_0x300464,_0x318580){const _0x3d5ccc=_0x476ca6;for(const _0x55a349 of this[_0x3d5ccc(0x1dc)][_0x3d5ccc(0x2c4)](_0x5a7005,_0x300464))this[_0x3d5ccc(0x1cb)](_0x55a349,_0x318580);for(const _0x513ee9 of this[_0x3d5ccc(0x299)][_0x3d5ccc(0x22a)]())_0x513ee9[_0x3d5ccc(0x1cc)][_0x3d5ccc(0x23f)]();for(const [_0x58ba7d,_0x5293d3]of this[_0x3d5ccc(0x232)]){this[_0x3d5ccc(0x299)][_0x3d5ccc(0x1ba)](_0x5293d3[_0x3d5ccc(0x253)][_0x3d5ccc(0x263)])[_0x3d5ccc(0x1cc)][_0x3d5ccc(0x1ce)](_0x58ba7d,_0x5293d3[_0x3d5ccc(0x261)]());}const _0x10bfc9=new Map(),_0x30a6df=new Map();for(const [_0x2fbbe7,_0x2ebc61]of this[_0x3d5ccc(0x299)])_0x10bfc9[_0x3d5ccc(0x1ce)](_0x2fbbe7,q(_0x2ebc61)),_0x30a6df[_0x3d5ccc(0x1ce)](_0x2fbbe7,this[_0x3d5ccc(0x1d2)][_0x3d5ccc(0x1ba)](_0x2fbbe7));this[_0x3d5ccc(0x233)](_0x300464,_0x10bfc9,this[_0x3d5ccc(0x232)],_0x30a6df);}[_0x476ca6(0x1d7)](_0x293930){const _0x517180=_0x476ca6,_0x27aa1c=Array[_0x517180(0x1a6)](this[_0x517180(0x1c6)][_0x517180(0x218)]());_0x27aa1c[_0x517180(0x2a5)]((_0x2cd480,_0x22ec68)=>_0x2cd480-_0x22ec68),_0x27aa1c[_0x517180(0x29f)]();for(const _0x31fbf8 of _0x27aa1c)if(_0x31fbf8<_0x293930)return _0x31fbf8;return Number[_0x517180(0x1f7)];}[_0x476ca6(0x1f4)](_0x16d1f5,_0x596fb0){const _0x241bee=_0x476ca6,_0x304c27=Array[_0x241bee(0x1a6)](_0x596fb0[_0x241bee(0x1cc)])[_0x241bee(0x1c8)](([_0x5da501,_0x188fa8])=>[_0x5da501,this[_0x241bee(0x24a)](_0x188fa8,_0x16d1f5)]);_0x16d1f5[_0x241bee(0x1cc)]=new Map(_0x304c27);}[_0x476ca6(0x28b)](_0x2fa153){const _0x2333fd=_0x476ca6;for(const _0x900aa2 of this[_0x2333fd(0x232)][_0x2333fd(0x22a)]()){const _0xb6af17=_0x900aa2[_0x2333fd(0x1bf)](_0x2fa153),_0x1f2530=_0x4699e8[_0x2333fd(0x217)](_0xb6af17);_0x900aa2[_0x2333fd(0x280)]=_0x1f2530[_0x2333fd(0x280)],_0x900aa2[_0x2333fd(0x260)]=_0x1f2530[_0x2333fd(0x260)];}}[_0x476ca6(0x1cb)](_0x35d7a7,_0x1c2a5c){const _0x20d5b9=_0x476ca6;if(_0x20d5b9(0x1bb)==_0x35d7a7[_0x20d5b9(0x1c3)]||_0x20d5b9(0x2af)==_0x35d7a7[_0x20d5b9(0x1c3)])return void this[_0x20d5b9(0x1a1)](_0x35d7a7,_0x1c2a5c);if(_0x20d5b9(0x2b6)==_0x35d7a7[_0x20d5b9(0x1c3)]){const _0x290dd3=_0x35d7a7[_0x20d5b9(0x2b9)][_0x20d5b9(0x253)][_0x20d5b9(0x263)];this[_0x20d5b9(0x299)][_0x20d5b9(0x2c1)](_0x290dd3)||(this[_0x20d5b9(0x299)][_0x20d5b9(0x1ce)](_0x290dd3,G(_0x290dd3,!0x0)),this[_0x20d5b9(0x1d2)][_0x20d5b9(0x1ce)](_0x290dd3,{}),_0x1c2a5c&&this[_0x20d5b9(0x2b4)][_0x20d5b9(0x1ce)](_0x290dd3,G(_0x290dd3,!0x0)));}else{if(_0x20d5b9(0x20d)==_0x35d7a7[_0x20d5b9(0x1c3)]||_0x20d5b9(0x206)==_0x35d7a7[_0x20d5b9(0x1c3)]||_0x20d5b9(0x2b1)==_0x35d7a7[_0x20d5b9(0x1c3)])return void this[_0x20d5b9(0x271)](_0x35d7a7);}const _0x2a4554=this[_0x20d5b9(0x203)](_0x35d7a7,this[_0x20d5b9(0x299)]);if(_0x20d5b9(0x1b3)!==_0x35d7a7[_0x20d5b9(0x1c3)]&&(_0x2a4554[_0x20d5b9(0x1f5)](),this[_0x20d5b9(0x28b)](_0x2a4554)),_0x1c2a5c)switch(_0x2a4554[_0x20d5b9(0x1c3)]){case _0x20d5b9(0x2b6):this[_0x20d5b9(0x1d0)](_0x35d7a7);break;case _0x20d5b9(0x239):case _0x20d5b9(0x2c7):case _0x20d5b9(0x256):this[_0x20d5b9(0x1ed)](_0x35d7a7);break;case _0x20d5b9(0x1fd):this[_0x20d5b9(0x1da)](_0x35d7a7);break;case _0x20d5b9(0x1f9):this[_0x20d5b9(0x1ee)](_0x35d7a7);break;case _0x20d5b9(0x1b3):this[_0x20d5b9(0x251)](_0x35d7a7);}}[_0x476ca6(0x203)](_0x1b9bd1,_0x3cc769){const _0xf2afbe=_0x476ca6,_0x19a031=_0x1b9bd1[_0xf2afbe(0x261)]();return _0x19a031[_0xf2afbe(0x215)]=_0x1b9bd1[_0xf2afbe(0x215)],this[_0xf2afbe(0x1a4)](_0x19a031,_0x3cc769),_0x19a031;}[_0x476ca6(0x19d)](_0x5a0819){const _0x495aaa=_0x476ca6;return _0x5a0819[_0x495aaa(0x1c8)](_0x12d886=>{const _0x1cfbd0=_0x495aaa,_0x3eba2a=this[_0x1cfbd0(0x1d3)](_0x12d886);return Number(_0x12d886[_0x1cfbd0(0x267)][_0x1cfbd0(0x1d1)](_0x3eba2a));});}[_0x476ca6(0x1c0)](_0x4f23a9,_0x12ffc9){const _0x2120a1=_0x476ca6;if(_0x4f23a9['is'](_0x2120a1(0x284),_0x2120a1(0x2b5)))_0x12ffc9[_0x2120a1(0x1d5)]({'item':_0x4f23a9,'type':_0x2120a1(0x22d)});else{_0x4f23a9['is'](_0x2120a1(0x284))&&_0x12ffc9[_0x2120a1(0x1d5)]({'item':_0x4f23a9,'type':_0x2120a1(0x1ab)});for(const _0x3c2ae3 of _0x4f23a9[_0x2120a1(0x24d)]())this[_0x2120a1(0x1c0)](_0x3c2ae3,_0x12ffc9);_0x4f23a9['is'](_0x2120a1(0x284))&&_0x12ffc9[_0x2120a1(0x1d5)]({'item':_0x4f23a9,'type':_0x2120a1(0x1c1)});}return _0x12ffc9;}[_0x476ca6(0x296)](){const _0x1b5dee=_0x476ca6,_0x543f26=new Map(this[_0x1b5dee(0x1d8)]),_0x5ad868=new Map(_0x543f26),_0x3d0f44=new Map(),_0x5bf3ba={'insertions':{},'deletions':{}},_0x4de587={'insertions':{},'deletions':{}},_0x1d03b6=new Map(),_0x1a7459=new Set([...this[_0x1b5dee(0x248)][_0x1b5dee(0x218)](),...this[_0x1b5dee(0x299)][_0x1b5dee(0x218)]()]);_0x1a7459[_0x1b5dee(0x2a2)](_0x1b5dee(0x2c0));for(const _0x3da308 of _0x1a7459){const _0xd4e636=this[_0x1b5dee(0x299)][_0x1b5dee(0x1ba)](_0x3da308)||G(_0x3da308,!0x1),_0x53aa51=this[_0x1b5dee(0x248)][_0x1b5dee(0x1ba)](_0x3da308)||G(_0x3da308,!0x1);_0xd4e636[_0x1b5dee(0x204)]()||_0x53aa51[_0x1b5dee(0x204)]()?(_0x5bf3ba[_0x1b5dee(0x1e9)][_0x3da308]=q(_0xd4e636),_0x5bf3ba[_0x1b5dee(0x285)][_0x3da308]=q(_0x53aa51),this[_0x1b5dee(0x1f4)](_0x5bf3ba[_0x1b5dee(0x285)][_0x3da308],_0x53aa51),this[_0x1b5dee(0x1f4)](_0x5bf3ba[_0x1b5dee(0x1e9)][_0x3da308],_0xd4e636),_0x4de587[_0x1b5dee(0x1e9)][_0x3da308]=this[_0x1b5dee(0x1c0)](this[_0x1b5dee(0x2b4)][_0x1b5dee(0x1ba)](_0x3da308),[]),_0x4de587[_0x1b5dee(0x285)][_0x3da308]=this[_0x1b5dee(0x1c0)](this[_0x1b5dee(0x2bf)][_0x1b5dee(0x1ba)](_0x3da308)||G(_0x3da308,!0x1),[])):_0x1a7459[_0x1b5dee(0x2a2)](_0x3da308);}for(const _0x3e3c31 of _0x1a7459){const _0x494281=_0x4de587[_0x1b5dee(0x1e9)][_0x3e3c31];for(const _0x4d6f27 of _0x494281){const _0x89b0aa=this[_0x1b5dee(0x1d3)](_0x4d6f27),_0x546ff1=_0x4d6f27[_0x1b5dee(0x267)][_0x1b5dee(0x1d1)](_0x89b0aa);_0x5ad868[_0x1b5dee(0x2a2)](_0x546ff1),_0x546ff1>=this[_0x1b5dee(0x1ec)]&&_0x3d0f44[_0x1b5dee(0x1ce)](_0x546ff1,_0x543f26[_0x1b5dee(0x1ba)](_0x546ff1));}}for(const _0x433687 of _0x1a7459){const _0x39001a=_0x4de587[_0x1b5dee(0x1e9)][_0x433687],_0x22cb01=this[_0x1b5dee(0x19d)](_0x4de587[_0x1b5dee(0x285)][_0x433687]);let _0x3ff8f6=0x0;for(const _0x1ed57c of _0x39001a){const _0x7fca63=this[_0x1b5dee(0x1d3)](_0x1ed57c),_0x20c76c=_0x1ed57c[_0x1b5dee(0x267)][_0x1b5dee(0x1d1)](_0x7fca63);if(!_0x3d0f44[_0x1b5dee(0x2c1)](_0x20c76c)&&!_0x1d03b6[_0x1b5dee(0x2c1)](_0x20c76c)){if(_0x5ad868[_0x1b5dee(0x2c1)](_0x20c76c))_0x3ff8f6++;else{if(_0x20c76c!=_0x22cb01[_0x3ff8f6]){const _0x2334ee=_0x543f26[_0x1b5dee(0x1ba)](_0x20c76c)||_0x543f26[_0x1b5dee(0x1ba)](_0x22cb01[_0x3ff8f6]);for(;_0x20c76c!=_0x22cb01[_0x3ff8f6];)_0x5ad868[_0x1b5dee(0x2c1)](_0x22cb01[_0x3ff8f6])||(_0x1d03b6[_0x1b5dee(0x1ce)](_0x22cb01[_0x3ff8f6],_0x2334ee),_0x543f26[_0x1b5dee(0x1ce)](_0x22cb01[_0x3ff8f6],_0x2334ee)),_0x3ff8f6++;}_0x3ff8f6++;}}}}for(const _0x152ccf of _0x1a7459){const _0x448359=_0x4de587[_0x1b5dee(0x1e9)][_0x152ccf];for(const _0x4b8968 of _0x448359){const _0x49d3e7=this[_0x1b5dee(0x1d3)](_0x4b8968),_0x319a93=_0x4b8968[_0x1b5dee(0x267)][_0x1b5dee(0x1d1)](_0x49d3e7);if(_0x1d03b6[_0x1b5dee(0x2c1)](_0x319a93)){const _0x589d5a=_0x1d03b6[_0x1b5dee(0x1ba)](_0x319a93);_0x5ad868[_0x1b5dee(0x2c1)](_0x319a93)||_0x5ad868[_0x1b5dee(0x1ce)](_0x319a93,{..._0x589d5a}),_0x3d0f44[_0x1b5dee(0x1ce)](_0x319a93,{..._0x589d5a});}}}for(const _0x5374e4 of _0x5ad868[_0x1b5dee(0x218)]())_0x5374e4>=this[_0x1b5dee(0x1ec)]&&_0x5ad868[_0x1b5dee(0x2a2)](_0x5374e4);const _0x4ae0f4=new Map();for(const _0x4e4ac5 of _0x1a7459){let _0x4d6ce0=_0x4de587[_0x1b5dee(0x1e9)][_0x4e4ac5];for(const _0x58208e of _0x4d6ce0)if(_0x58208e[_0x1b5dee(0x267)]['is'](_0x1b5dee(0x284),_0x1b5dee(0x19c))){const _0x34b19d=this[_0x1b5dee(0x1d3)](_0x58208e),_0x3be52d=_0x58208e[_0x1b5dee(0x267)][_0x1b5dee(0x1d1)](_0x34b19d);if(_0x3d0f44[_0x1b5dee(0x2c1)](_0x3be52d)){const _0x4b8481=_0x58208e[_0x1b5dee(0x267)][_0x1b5dee(0x1e4)][_0x1b5dee(0x1e4)][_0x1b5dee(0x1d1)](_0x1b5dee(0x290)),_0xaaa1ce=_0x4ae0f4[_0x1b5dee(0x1ba)](_0x4b8481)||new Set();_0xaaa1ce[_0x1b5dee(0x1e5)](_0x3d0f44[_0x1b5dee(0x1ba)](_0x3be52d)[_0x1b5dee(0x19f)]),_0x4ae0f4[_0x1b5dee(0x1ce)](_0x4b8481,_0xaaa1ce);}}_0x4d6ce0=_0x4de587[_0x1b5dee(0x285)][_0x4e4ac5];for(const _0x37436e of _0x4d6ce0)if(_0x37436e[_0x1b5dee(0x267)]['is'](_0x1b5dee(0x284),_0x1b5dee(0x19c))){const _0x4199ec=this[_0x1b5dee(0x1d3)](_0x37436e),_0x5938ca=_0x37436e[_0x1b5dee(0x267)][_0x1b5dee(0x1d1)](_0x4199ec);if(_0x5ad868[_0x1b5dee(0x2c1)](_0x5938ca)){const _0x5d5a57=_0x37436e[_0x1b5dee(0x267)][_0x1b5dee(0x1e4)][_0x1b5dee(0x1e4)][_0x1b5dee(0x1d1)](_0x1b5dee(0x290)),_0x17c12f=_0x4ae0f4[_0x1b5dee(0x1ba)](_0x5d5a57)||new Set();_0x17c12f[_0x1b5dee(0x1e5)](_0x5ad868[_0x1b5dee(0x1ba)](_0x5938ca)[_0x1b5dee(0x19f)]),_0x4ae0f4[_0x1b5dee(0x1ce)](_0x5d5a57,_0x17c12f);}}for(const _0x2757ea of _0x4ae0f4[_0x1b5dee(0x218)]())(_0x3d0f44[_0x1b5dee(0x2c1)](_0x2757ea)||_0x5ad868[_0x1b5dee(0x2c1)](_0x2757ea))&&_0x4ae0f4[_0x1b5dee(0x2a2)](_0x2757ea);}for(const _0x1e2511 of _0x1a7459){const _0x3bb074=_0x4de587[_0x1b5dee(0x1e9)][_0x1e2511];let _0x39169a=null,_0x195cf2=null;for(const _0x4dc536 of _0x3bb074){const _0x805f7e=this[_0x1b5dee(0x1d3)](_0x4dc536),_0x40849d=_0x4dc536[_0x1b5dee(0x267)][_0x1b5dee(0x1d1)](_0x805f7e),_0x46daa7=_0x4ae0f4[_0x1b5dee(0x1ba)](_0x40849d);_0x46daa7&&_0x1b5dee(0x1ab)==_0x4dc536[_0x1b5dee(0x1c3)]&&(_0x39169a=Array[_0x1b5dee(0x1a6)](_0x46daa7)[0x0],_0x195cf2=_0x4dc536[_0x1b5dee(0x267)][_0x1b5dee(0x1d1)](_0x1b5dee(0x26a))),_0x39169a&&(_0x5ad868[_0x1b5dee(0x1ce)](_0x40849d,{'userId':_0x39169a}),_0x3d0f44[_0x1b5dee(0x1ce)](_0x40849d,{'userId':_0x39169a})),_0x40849d==_0x195cf2&&(_0x39169a=null,_0x195cf2=null);}}const _0x244091={},_0x4a8c01=new Set();for(const _0x101224 of _0x1a7459){const _0x50776f=_0x5bf3ba[_0x1b5dee(0x285)][_0x101224],_0x44a537=_0x5bf3ba[_0x1b5dee(0x1e9)][_0x101224];for(const {userId:_0x556916}of this[_0x1b5dee(0x264)][_0x1b5dee(0x22a)]())null!==_0x556916&&_0x4a8c01[_0x1b5dee(0x1e5)](_0x556916);for(const {userId:_0x49d82c}of this[_0x1b5dee(0x1f0)][_0x1b5dee(0x22a)]())null!==_0x49d82c&&_0x4a8c01[_0x1b5dee(0x1e5)](_0x49d82c);this[_0x1b5dee(0x2c3)](_0x44a537,_0x4de587[_0x1b5dee(0x1e9)][_0x101224],_0x3d0f44,_0x1b5dee(0x1db),_0x4a8c01),this[_0x1b5dee(0x2c3)](_0x50776f,_0x4de587[_0x1b5dee(0x285)][_0x101224],_0x5ad868,_0x1b5dee(0x214),_0x4a8c01),_0x244091[_0x101224]={'insertions':this[_0x1b5dee(0x2b3)](_0x44a537),'deletions':this[_0x1b5dee(0x2b3)](_0x50776f),'attachChange':this[_0x1b5dee(0x1f0)][_0x1b5dee(0x1ba)](_0x101224)||null,'attributesBefore':_0x23ab0d(this[_0x1b5dee(0x29a)][_0x1b5dee(0x1ba)](_0x101224))||{},'attributesAfter':_0x23ab0d(this[_0x1b5dee(0x1d2)][_0x1b5dee(0x1ba)](_0x101224))};}return{'diffData':_0x244091,'authorsIds':Array[_0x1b5dee(0x1a6)](_0x4a8c01)};}[_0x476ca6(0x1a8)](_0x3f8bec){const _0x1779d3=_0x476ca6;for(const [,_0x33e6ec]of _0x3f8bec[_0x1779d3(0x1cc)]){const _0x5572fb=_0x33e6ec[_0x1779d3(0x280)][_0x1779d3(0x295)]()[_0x1779d3(0x275)](_0x113de0=>_0x1779d3(0x19c)==_0x113de0[_0x1779d3(0x1de)]);for(const _0x18ad7c of _0x5572fb)0x1==_0x18ad7c[_0x1779d3(0x2b2)]&&_0x18ad7c[_0x1779d3(0x1a0)](0x0)['is'](_0x1779d3(0x284),_0x1779d3(0x1f6))&&_0x18ad7c[_0x1779d3(0x1a0)](0x0)[_0x1779d3(0x23d)](_0x1779d3(0x1b6),!0x0);}}[_0x476ca6(0x2b3)](_0x3245a7){const _0x2e5277=_0x476ca6;this[_0x2e5277(0x1a8)](_0x3245a7);const _0xac38d=this[_0x2e5277(0x243)][_0x2e5277(0x298)][_0x2e5277(0x1ff)](_0x3245a7,{}),_0x3b66e4=Array[_0x2e5277(0x1a6)](_0xac38d[_0x2e5277(0x24d)]())[_0x2e5277(0x1c8)](_0x155a75=>this[_0x2e5277(0x2ae)](_0x155a75));return JSON[_0x2e5277(0x27a)](_0x3b66e4);}[_0x476ca6(0x2ae)](_0x543234){const _0x1ded33=_0x476ca6;if(_0x543234['is'](_0x1ded33(0x2b5)))return _0x543234[_0x1ded33(0x298)];{const _0x27ef8e=_0x543234;return{'type':Object[_0x1ded33(0x218)](T)[_0x1ded33(0x1eb)](_0x51cd89=>_0x543234 instanceof T[_0x51cd89]),'name':_0x27ef8e[_0x1ded33(0x1de)],'attributes':Array[_0x1ded33(0x1a6)](_0x27ef8e[_0x1ded33(0x212)]()),'children':Array[_0x1ded33(0x1a6)](_0x27ef8e[_0x1ded33(0x24d)]())[_0x1ded33(0x1c8)](_0xddd0a=>this[_0x1ded33(0x2ae)](_0xddd0a))};}}[_0x476ca6(0x2c3)](_0x2a862b,_0x60b662,_0x4ae840,_0x5d78f7,_0x3817a7){const _0x5069fc=_0x476ca6;let _0x391c66=null,_0x57939f=null,_0x2ee8ea=0x0;const _0x5bb95c=this[_0x5069fc(0x243)][_0x5069fc(0x257)];for(let _0x4bacb0=0x0;_0x4bacb0<_0x60b662[_0x5069fc(0x282)];_0x4bacb0++){const _0x3bd096=this[_0x5069fc(0x1d3)](_0x60b662[_0x4bacb0]),_0x4c3c4b=_0x60b662[_0x4bacb0][_0x5069fc(0x267)][_0x5069fc(0x1d1)](_0x3bd096),_0x2898df=_0x4ae840[_0x5069fc(0x1ba)](_0x4c3c4b),_0x4a8479=_0x4bacb0==_0x60b662[_0x5069fc(0x282)]-0x1;(!_0x391c66&&_0x2898df&&(_0x391c66=_0x2898df,_0x57939f=_0x60b662[_0x4bacb0]),_0x391c66&&(!_0x2898df||_0x2898df[_0x5069fc(0x19f)]!=_0x391c66[_0x5069fc(0x19f)]))&&(_0x550958(_0x2898df,L(_0x57939f,_0x2a862b,_0x5bb95c),L(_0x60b662[_0x4bacb0],_0x2a862b,_0x5bb95c)),_0x391c66=_0x2898df||null,_0x57939f=_0x2898df?_0x60b662[_0x4bacb0]:null),_0x391c66&&_0x4a8479&&_0x550958(_0x2898df,L(_0x57939f,_0x2a862b,_0x5bb95c),W(_0x60b662[_0x4bacb0],_0x2a862b,_0x5bb95c));}function _0x550958(_0x56749f,_0xc9718c,_0x4e7035){const _0xa48355=_0x5069fc,_0x1be04a=_0x391c66[_0xa48355(0x19f)],_0x4002f4=_0xa48355(0x2a3)+_0x5d78f7+':'+_0x1be04a+':'+_0x2ee8ea++,_0x2958f2=_0x5bb95c[_0xa48355(0x1b1)](_0xc9718c,_0x4e7035);_0x2a862b[_0xa48355(0x1cc)][_0xa48355(0x1ce)](_0x4002f4,_0x2958f2),null!==_0x1be04a&&_0x3817a7[_0xa48355(0x1e5)](_0x1be04a);}}[_0x476ca6(0x1d3)](_0x46eff8){const _0x271e5e=_0x476ca6;switch(_0x46eff8[_0x271e5e(0x1c3)]){case _0x271e5e(0x1ab):return _0x271e5e(0x290);case _0x271e5e(0x1c1):return _0x271e5e(0x26a);default:return _0x271e5e(0x27e);}}[_0x476ca6(0x1a4)](_0x2a8f2,_0x22b195){const _0x5c83a1=_0x476ca6;_0x2a8f2[_0x5c83a1(0x220)]=null;for(const _0x3003e8 in _0x2a8f2){const _0x283009=_0x2a8f2[_0x3003e8];if(_0x283009 instanceof _0x2b25dd){const _0x1bb681=_0x22b195[_0x5c83a1(0x1ba)](_0x283009[_0x5c83a1(0x253)][_0x5c83a1(0x263)]);_0x2a8f2[_0x3003e8]=this[_0x5c83a1(0x20e)](_0x283009,_0x1bb681);}if(_0x283009 instanceof _0x4699e8){const _0x960385=_0x22b195[_0x5c83a1(0x1ba)](_0x283009[_0x5c83a1(0x253)][_0x5c83a1(0x263)]);_0x2a8f2[_0x3003e8]=this[_0x5c83a1(0x24a)](_0x283009,_0x960385);}_0x5c83a1(0x253)===_0x3003e8&&(_0x2a8f2[_0x5c83a1(0x253)]=_0x22b195[_0x5c83a1(0x1ba)](_0x2a8f2[_0x5c83a1(0x253)][_0x5c83a1(0x263)]));}}[_0x476ca6(0x24a)](_0x42690e,_0x2bdf54){const _0x3fc62f=_0x476ca6;return this[_0x3fc62f(0x243)][_0x3fc62f(0x257)][_0x3fc62f(0x1b1)](this[_0x3fc62f(0x20e)](_0x42690e[_0x3fc62f(0x280)],_0x2bdf54),this[_0x3fc62f(0x20e)](_0x42690e[_0x3fc62f(0x260)],_0x2bdf54));}[_0x476ca6(0x20e)](_0x3b387c,_0x374ac4){const _0x2642c1=_0x476ca6;return this[_0x2642c1(0x243)][_0x2642c1(0x257)][_0x2642c1(0x238)](_0x374ac4,_0x3b387c[_0x2642c1(0x25f)],_0x3b387c[_0x2642c1(0x1e6)]);}[_0x476ca6(0x1d0)](_0x122081){const _0x5d0b67=_0x476ca6,_0x2866b4=this[_0x5d0b67(0x2b4)][_0x5d0b67(0x1ba)](_0x122081[_0x5d0b67(0x2b9)][_0x5d0b67(0x253)][_0x5d0b67(0x263)]),_0x26c61c=this[_0x5d0b67(0x20e)](_0x122081[_0x5d0b67(0x2b9)],_0x2866b4),_0x4b615b=null===_0x122081[_0x5d0b67(0x215)]?null:_0x122081[_0x5d0b67(0x215)]||this[_0x5d0b67(0x243)][_0x5d0b67(0x259)][_0x5d0b67(0x1ba)](_0x5d0b67(0x29c))['me']['id'],_0x31b940=_0x26c61c[_0x5d0b67(0x1e4)],_0x5509af=this[_0x5d0b67(0x236)],_0x23e2eb=[];for(const _0x1510a6 of _0x122081[_0x5d0b67(0x23b)])if(_0x1510a6['is'](_0x5d0b67(0x284)))_0x23e2eb[_0x5d0b67(0x1d5)](this[_0x5d0b67(0x21d)](_0x1510a6));else{for(let _0x507284=0x0;_0x507284<_0x1510a6[_0x5d0b67(0x279)];_0x507284++)_0x23e2eb[_0x5d0b67(0x1d5)](new _0xf93b56(_0x5d0b67(0x2b5),{'vid':this[_0x5d0b67(0x236)]++}));}const _0x374b19=this[_0x5d0b67(0x236)];for(let _0x3f8151=_0x5509af;_0x3f8151<_0x374b19;_0x3f8151++)this[_0x5d0b67(0x1d8)][_0x5d0b67(0x1ce)](_0x3f8151,{'userId':_0x4b615b});_0x31b940[_0x5d0b67(0x207)](_0x26c61c[_0x5d0b67(0x19e)],_0x23e2eb);}[_0x476ca6(0x1ed)](_0xdf896f){const _0x208a64=_0x476ca6;(_0xdf896f=this[_0x208a64(0x203)](_0xdf896f,this[_0x208a64(0x2b4)]))[_0x208a64(0x1f5)]();const _0x4bf351=null===_0xdf896f[_0x208a64(0x215)]?null:_0xdf896f[_0x208a64(0x215)]||this[_0x208a64(0x243)][_0x208a64(0x259)][_0x208a64(0x1ba)](_0x208a64(0x29c))['me']['id'],_0xf7e8dc=_0xdf896f[_0x208a64(0x283)](),_0x5ac643=_0xf7e8dc[_0x208a64(0x1e4)],_0x57c3af=_0xf7e8dc[_0x208a64(0x19e)];!function _0x36cab5(_0x2c7307,_0x1bb230,_0x52bc15,_0x4856ae){const _0x30aaf4=_0x208a64;for(let _0x43d47e=_0x52bc15;_0x43d47e<_0x4856ae;_0x43d47e++){const _0x31d0bc=_0x1bb230[_0x30aaf4(0x1a0)](_0x43d47e);_0x31d0bc['is'](_0x30aaf4(0x284),_0x30aaf4(0x2b5))?_0x2c7307[_0x30aaf4(0x1ce)](_0x31d0bc[_0x30aaf4(0x1d1)](_0x30aaf4(0x27e)),{'userId':_0x4bf351}):(_0x2c7307[_0x30aaf4(0x1ce)](_0x31d0bc[_0x30aaf4(0x1d1)](_0x30aaf4(0x290)),{'userId':_0x4bf351}),_0x36cab5(_0x2c7307,_0x31d0bc,0x0,_0x31d0bc[_0x30aaf4(0x2b2)]),_0x2c7307[_0x30aaf4(0x1ce)](_0x31d0bc[_0x30aaf4(0x1d1)](_0x30aaf4(0x26a)),{'userId':_0x4bf351}));}}(this[_0x208a64(0x1d8)],_0x5ac643,_0x57c3af,_0x57c3af+_0xdf896f[_0x208a64(0x234)]);}[_0x476ca6(0x1da)](_0x2256ae){const _0x29bccf=_0x476ca6,_0x261fed=null===(_0x2256ae=this[_0x29bccf(0x203)](_0x2256ae,this[_0x29bccf(0x2b4)]))[_0x29bccf(0x215)]?null:_0x2256ae[_0x29bccf(0x215)]||this[_0x29bccf(0x243)][_0x29bccf(0x259)][_0x29bccf(0x1ba)](_0x29bccf(0x29c))['me']['id'],_0x2e5862=_0x2256ae[_0x29bccf(0x1b8)][_0x29bccf(0x1e4)],_0x29cc83=_0x2256ae[_0x29bccf(0x2c8)][_0x29bccf(0x1e4)],_0x472ee6=_0x2e5862[_0x29bccf(0x1d1)](_0x29bccf(0x26a)),_0x277a3f=_0x29cc83[_0x29bccf(0x1d1)](_0x29bccf(0x290));_0x2e5862[_0x29bccf(0x23d)](_0x29bccf(0x26a),_0x29cc83[_0x29bccf(0x1d1)](_0x29bccf(0x26a))),_0x29cc83[_0x29bccf(0x23d)](_0x29bccf(0x26a),_0x472ee6),this[_0x29bccf(0x1d8)][_0x29bccf(0x1ce)](_0x277a3f,{'userId':_0x261fed}),this[_0x29bccf(0x1d8)][_0x29bccf(0x1ce)](_0x472ee6,{'userId':_0x261fed}),_0x2256ae[_0x29bccf(0x1f5)]();}[_0x476ca6(0x1ee)](_0x581dae){const _0x9c525c=_0x476ca6,_0x4672c0=null===(_0x581dae=this[_0x9c525c(0x203)](_0x581dae,this[_0x9c525c(0x2b4)]))[_0x9c525c(0x215)]?null:_0x581dae[_0x9c525c(0x215)]||this[_0x9c525c(0x243)][_0x9c525c(0x259)][_0x9c525c(0x1ba)](_0x9c525c(0x29c))['me']['id'],_0x581157=_0x581dae[_0x9c525c(0x1f2)],_0x432f81=_0x581dae[_0x9c525c(0x216)][_0x9c525c(0x1e4)];_0x581dae[_0x9c525c(0x1f5)]();const _0x38b22a=_0x432f81[_0x9c525c(0x1d1)](_0x9c525c(0x26a)),_0x2ecd04=_0x581dae[_0x9c525c(0x2a1)][_0x9c525c(0x1ef)];if(_0x581157){const _0x55ddc0=_0x2ecd04[_0x9c525c(0x1d1)](_0x9c525c(0x26a)),_0x17578c=_0x432f81[_0x9c525c(0x1d1)](_0x9c525c(0x26a));_0x432f81[_0x9c525c(0x23d)](_0x9c525c(0x26a),_0x55ddc0),_0x2ecd04[_0x9c525c(0x23d)](_0x9c525c(0x26a),_0x17578c),this[_0x9c525c(0x1d8)][_0x9c525c(0x1ce)](_0x432f81[_0x9c525c(0x1d1)](_0x9c525c(0x26a)),{'userId':_0x4672c0}),this[_0x9c525c(0x1d8)][_0x9c525c(0x1ce)](_0x2ecd04[_0x9c525c(0x1d1)](_0x9c525c(0x290)),{'userId':_0x4672c0});}else{const _0x334461=this[_0x9c525c(0x236)]++,_0x4b0a07=this[_0x9c525c(0x236)]++;_0x432f81[_0x9c525c(0x23d)](_0x9c525c(0x26a),_0x334461),_0x2ecd04[_0x9c525c(0x23d)](_0x9c525c(0x290),_0x4b0a07),_0x2ecd04[_0x9c525c(0x23d)](_0x9c525c(0x26a),_0x38b22a),this[_0x9c525c(0x1d8)][_0x9c525c(0x1ce)](_0x334461,{'userId':_0x4672c0}),this[_0x9c525c(0x1d8)][_0x9c525c(0x1ce)](_0x4b0a07,{'userId':_0x4672c0});}}[_0x476ca6(0x251)](_0x28c097){const _0xd9736b=_0x476ca6;if(!_0x28c097[_0xd9736b(0x1a9)])return;const _0x3ebd14=(_0x28c097=this[_0xd9736b(0x203)](_0x28c097,this[_0xd9736b(0x299)]))[_0xd9736b(0x258)]?_0x28c097[_0xd9736b(0x258)][_0xd9736b(0x253)]:null,_0x1ff7b5=_0x28c097[_0xd9736b(0x242)]?_0x28c097[_0xd9736b(0x242)][_0xd9736b(0x253)]:null;_0x3ebd14&&this[_0xd9736b(0x232)][_0xd9736b(0x2a2)](_0x28c097[_0xd9736b(0x1de)]),_0x1ff7b5&&this[_0xd9736b(0x232)][_0xd9736b(0x1ce)](_0x28c097[_0xd9736b(0x1de)],_0x28c097[_0xd9736b(0x242)][_0xd9736b(0x261)]());const _0x365c5e=null===_0x28c097[_0xd9736b(0x215)]?null:_0x28c097[_0xd9736b(0x215)]||this[_0xd9736b(0x243)][_0xd9736b(0x259)][_0xd9736b(0x1ba)](_0xd9736b(0x29c))['me']['id'],_0x3e344f=_0x28c097[_0xd9736b(0x1de)];if(!this[_0xd9736b(0x264)][_0xd9736b(0x2c1)](_0x3e344f))return void this[_0xd9736b(0x264)][_0xd9736b(0x1ce)](_0x3e344f,{'range':_0x28c097[_0xd9736b(0x258)],'userId':_0x365c5e});const _0x54505a=this[_0xd9736b(0x264)][_0xd9736b(0x1ba)](_0x3e344f),_0x3d661d=_0x54505a[_0xd9736b(0x211)],_0x2e56b5=_0x28c097[_0xd9736b(0x242)];null==_0x3d661d&&null==_0x2e56b5||_0x3d661d&&_0x2e56b5&&_0x3d661d[_0xd9736b(0x289)](_0x2e56b5)?this[_0xd9736b(0x264)][_0xd9736b(0x2a2)](_0x28c097[_0xd9736b(0x1de)]):_0x54505a[_0xd9736b(0x19f)]=_0x365c5e;}[_0x476ca6(0x1a1)](_0x55f920,_0x23da75){const _0xcbe056=_0x476ca6;this[_0xcbe056(0x299)][_0xcbe056(0x2c1)](_0x55f920[_0xcbe056(0x263)])?this[_0xcbe056(0x299)][_0xcbe056(0x1ba)](_0x55f920[_0xcbe056(0x263)])[_0xcbe056(0x1f8)]=_0x55f920[_0xcbe056(0x1c9)]:(this[_0xcbe056(0x299)][_0xcbe056(0x1ce)](_0x55f920[_0xcbe056(0x263)],G(_0x55f920[_0xcbe056(0x263)],!0x0)),this[_0xcbe056(0x1d2)][_0xcbe056(0x1ce)](_0x55f920[_0xcbe056(0x263)],{}),_0x23da75&&this[_0xcbe056(0x2b4)][_0xcbe056(0x1ce)](_0x55f920[_0xcbe056(0x263)],G(_0x55f920[_0xcbe056(0x263)],!0x0)));const _0x3063de=null===_0x55f920[_0xcbe056(0x215)]?null:_0x55f920[_0xcbe056(0x215)]||this[_0xcbe056(0x243)][_0xcbe056(0x259)][_0xcbe056(0x1ba)](_0xcbe056(0x29c))['me']['id'],_0x823b5d=this[_0xcbe056(0x1f0)][_0xcbe056(0x1ba)](_0x55f920[_0xcbe056(0x263)]);_0x823b5d&&_0x823b5d[_0xcbe056(0x19f)]===_0x3063de?this[_0xcbe056(0x1f0)][_0xcbe056(0x2a2)](_0x55f920[_0xcbe056(0x263)]):this[_0xcbe056(0x1f0)][_0xcbe056(0x1ce)](_0x55f920[_0xcbe056(0x263)],{'userId':_0x3063de,'isAttached':_0x55f920[_0xcbe056(0x1c9)]});}[_0x476ca6(0x271)](_0x4367c8){const _0xb83c01=_0x476ca6,_0x3df19f=this[_0xb83c01(0x1d2)][_0xb83c01(0x1ba)](_0x4367c8[_0xb83c01(0x253)][_0xb83c01(0x263)]);null===_0x4367c8[_0xb83c01(0x1dd)]?delete _0x3df19f[_0x4367c8[_0xb83c01(0x254)]]:_0x3df19f[_0x4367c8[_0xb83c01(0x254)]]=_0x4367c8[_0xb83c01(0x1dd)];}}function q(_0x3f15cf){const _0x2d3ca1=_0x476ca6,_0x86daa0=G(_0x3f15cf[_0x2d3ca1(0x263)],_0x3f15cf[_0x2d3ca1(0x204)]());for(const _0x2ba46c of _0x3f15cf[_0x2d3ca1(0x24d)]()){const _0xd9f762=_0x2ba46c[_0x2d3ca1(0x237)](!0x0);_0x86daa0[_0x2d3ca1(0x26c)](_0xd9f762);}return _0x86daa0;}function G(_0x36af50,_0x131b21=!0x0){const _0x29a954=_0x476ca6,_0x178ae8=new _0x36a735();return _0x178ae8[_0x29a954(0x263)]=_0x36af50,_0x178ae8[_0x29a954(0x1f8)]=_0x131b21,_0x178ae8[_0x29a954(0x204)]=()=>_0x178ae8[_0x29a954(0x1f8)],_0x178ae8;}function L(_0x85cd04,_0x16454c,_0x1588e6){const _0x182820=_0x476ca6,_0x4f77a7=_0x182820(0x1c1)==_0x85cd04[_0x182820(0x1c3)]?_0x1588e6[_0x182820(0x1d6)](_0x85cd04[_0x182820(0x267)],_0x182820(0x260)):_0x1588e6[_0x182820(0x200)](_0x85cd04[_0x182820(0x267)]);return _0x1588e6[_0x182820(0x238)](_0x16454c,_0x4f77a7[_0x182820(0x25f)],_0x4f77a7[_0x182820(0x1e6)]);}function W(_0x5c10e9,_0x5ae6b1,_0x39ee01){const _0x473d21=_0x476ca6,_0x78f15b=_0x473d21(0x1ab)==_0x5c10e9[_0x473d21(0x1c3)]?_0x39ee01[_0x473d21(0x1d6)](_0x5c10e9[_0x473d21(0x267)],0x0):_0x39ee01[_0x473d21(0x29d)](_0x5c10e9[_0x473d21(0x267)]);return _0x39ee01[_0x473d21(0x238)](_0x5ae6b1,_0x78f15b[_0x473d21(0x25f)],_0x78f15b[_0x473d21(0x1e6)]);}
|
|
23
|
+
const _0x1dd468=_0x27e1;(function(_0x26378a,_0x5077d1){const _0x442fb5=_0x27e1,_0x162a85=_0x26378a();while(!![]){try{const _0x1229c6=parseInt(_0x442fb5(0x1e9))/0x1+parseInt(_0x442fb5(0x1fc))/0x2+parseInt(_0x442fb5(0x153))/0x3+parseInt(_0x442fb5(0x135))/0x4+-parseInt(_0x442fb5(0x1cd))/0x5*(-parseInt(_0x442fb5(0x12b))/0x6)+parseInt(_0x442fb5(0x125))/0x7+-parseInt(_0x442fb5(0x1d6))/0x8*(parseInt(_0x442fb5(0x21d))/0x9);if(_0x1229c6===_0x5077d1)break;else _0x162a85['push'](_0x162a85['shift']());}catch(_0x3d0eb1){_0x162a85['push'](_0x162a85['shift']());}}}(_0x17b4,0x44a4a));import{Users as _0x419558}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x571395,PendingActions as _0x24a46c}from'ckeditor5/src/core.js';import{logWarning as _0x438e31,uid as _0x387342}from'ckeditor5/src/utils.js';import{Position as _0x5c172e,Range as _0x2dca35,Element as _0x4c3aa2,DocumentFragment as _0x531377,ViewText as _0x3d7caa,ViewElement as _0x447522,ViewContainerElement as _0x26617d,ViewAttributeElement as _0x5eb29b,ViewEmptyElement as _0x1b6f39,ViewRawElement as _0x5af70f,ViewUIElement as _0x16e0e5,ViewDocumentFragment as _0x537145}from'ckeditor5/src/engine.js';import _0x4d915f from'./revisionsrepository.js';import{getTranslation as _0x1df910}from'./utils/common-translations.js';import{cloneDeep as _0x46f555,isEqual as _0x1ac58a}from'lodash-es';const T={'c':_0x26617d,'a':_0x5eb29b,'e':_0x1b6f39,'r':_0x5af70f,'u':_0x16e0e5};export default class l extends _0x571395{static get[_0x1dd468(0x110)](){const _0x2aa3ff=_0x1dd468;return _0x2aa3ff(0x1af);}static get[_0x1dd468(0x1f0)](){return[_0x419558,_0x4d915f,_0x24a46c];}constructor(_0x52c1c1){const _0x4fce5f=_0x1dd468;super(_0x52c1c1),this[_0x4fce5f(0x20f)]=null,this[_0x4fce5f(0x1f8)]=null,this[_0x4fce5f(0x16c)]=new J(this[_0x4fce5f(0x1e6)]),this[_0x4fce5f(0x1da)]=this[_0x4fce5f(0x1e6)][_0x4fce5f(0x1d8)][_0x4fce5f(0x1e4)](_0x4fce5f(0x1e1))||_0x4fce5f(0x155),this[_0x4fce5f(0x218)]=new Map(),this[_0x4fce5f(0x130)]=null;const _0x374f97=_0x387342();this[_0x4fce5f(0x209)]={'history':this[_0x4fce5f(0x1e6)][_0x4fce5f(0x19a)][_0x4fce5f(0x1bb)][_0x4fce5f(0x152)],'getLatestVersion':()=>Promise[_0x4fce5f(0x12c)](this[_0x4fce5f(0x1e6)][_0x4fce5f(0x19a)][_0x4fce5f(0x1bb)][_0x4fce5f(0x168)]),'getCurrentRevisionId':()=>_0x374f97},this[_0x4fce5f(0x175)](_0x4fce5f(0x184),!0x1),this[_0x4fce5f(0x175)](_0x4fce5f(0x215),!0x0),this[_0x4fce5f(0x175)](_0x4fce5f(0x203),!0x1),this[_0x4fce5f(0x1e6)][_0x4fce5f(0x1d8)][_0x4fce5f(0x164)](_0x4fce5f(0x16b),!0x0),this[_0x4fce5f(0x1e6)][_0x4fce5f(0x111)][_0x4fce5f(0x1aa)](_0x4fce5f(0x11b))[_0x4fce5f(0x14f)]({'view':_0x4fce5f(0x1ec)});}[_0x1dd468(0x1d2)](){const _0x2bd9ab=_0x1dd468;this[_0x2bd9ab(0x16a)]=this[_0x2bd9ab(0x1e6)][_0x2bd9ab(0x1b4)][_0x2bd9ab(0x1e4)](_0x2bd9ab(0x143)),this[_0x2bd9ab(0x1db)](),this[_0x2bd9ab(0x1e6)][_0x2bd9ab(0x14d)]['on'](_0x2bd9ab(0x1ae),()=>{const _0x3c3c38=_0x2bd9ab,_0x2deb6e=this[_0x3c3c38(0x16a)][_0x3c3c38(0x195)](0x0),_0x4006f3=_0x2deb6e&&null===_0x2deb6e[_0x3c3c38(0x18e)]?_0x2deb6e:null;if(this[_0x3c3c38(0x166)]=!!_0x4006f3&&this[_0x3c3c38(0x1e6)][_0x3c3c38(0x1d8)][_0x3c3c38(0x1e4)](_0x3c3c38(0x16b)),this[_0x3c3c38(0x1e6)][_0x3c3c38(0x1b4)][_0x3c3c38(0x1c5)](_0x3c3c38(0x227))){const _0x5997e4=this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)](),_0x224280=this[_0x3c3c38(0x16a)][_0x3c3c38(0x195)](_0x5997e4);if(_0x224280)this[_0x3c3c38(0x183)]=_0x224280[_0x3c3c38(0x140)],this[_0x3c3c38(0x166)]=!0x1;else{const _0x2530bd=this[_0x3c3c38(0x209)][_0x3c3c38(0x152)][_0x3c3c38(0x172)][_0x3c3c38(0x20b)](_0x4f3a8f=>!_0x4f3a8f[_0x3c3c38(0x174)]),_0x3fbe69=_0x2530bd?_0x2530bd[_0x3c3c38(0x10b)]:this[_0x3c3c38(0x209)][_0x3c3c38(0x152)][_0x3c3c38(0x168)];_0x2deb6e?(_0x2deb6e[_0x3c3c38(0x1ac)]<_0x3fbe69&&_0x2deb6e[_0x3c3c38(0x144)]({'toVersion':_0x3fbe69}),this[_0x3c3c38(0x166)]?(this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)]=()=>_0x4006f3['id'],this[_0x3c3c38(0x183)]=_0x4006f3[_0x3c3c38(0x140)]):(this[_0x3c3c38(0x183)]=_0x2deb6e[_0x3c3c38(0x1ac)],this[_0x3c3c38(0x166)]=!0x1)):(this[_0x3c3c38(0x183)]=_0x3fbe69,this[_0x3c3c38(0x166)]=!0x1);}}else _0x4006f3&&(this[_0x3c3c38(0x1e6)][_0x3c3c38(0x19a)][_0x3c3c38(0x1bb)][_0x3c3c38(0x152)][_0x3c3c38(0x168)]=Math[_0x3c3c38(0x1f1)](_0x4006f3[_0x3c3c38(0x1ac)],this[_0x3c3c38(0x1e6)][_0x3c3c38(0x19a)][_0x3c3c38(0x1bb)][_0x3c3c38(0x152)][_0x3c3c38(0x168)]),_0x4006f3[_0x3c3c38(0x140)]===_0x4006f3[_0x3c3c38(0x1ac)]?(0x0!==_0x4006f3[_0x3c3c38(0x140)]&&(this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)]=()=>_0x4006f3['id']),this[_0x3c3c38(0x166)]=!0x1):this[_0x3c3c38(0x166)]&&(this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)]=()=>_0x4006f3['id'],this[_0x3c3c38(0x183)]=_0x4006f3[_0x3c3c38(0x140)])),this[_0x3c3c38(0x166)]||(this[_0x3c3c38(0x183)]=this[_0x3c3c38(0x1e6)][_0x3c3c38(0x19a)][_0x3c3c38(0x1bb)][_0x3c3c38(0x168)]);this[_0x3c3c38(0x16c)][_0x3c3c38(0x1d2)](this[_0x3c3c38(0x209)][_0x3c3c38(0x152)]),this[_0x3c3c38(0x15f)](this[_0x3c3c38(0x183)]),this[_0x3c3c38(0x187)](this[_0x3c3c38(0x183)]),this[_0x3c3c38(0x20f)]&&this[_0x3c3c38(0x1e5)]();}),this[_0x2bd9ab(0x1a8)](_0x2bd9ab(0x184))['to'](this,_0x2bd9ab(0x203),_0xd1064b=>!_0xd1064b);}async[_0x1dd468(0x21f)](){const _0x410657=_0x1dd468;if(this[_0x410657(0x16a)][_0x410657(0x212)]>0x0){const _0x5a7610=this[_0x410657(0x16a)][_0x410657(0x195)](0x0),_0x3e2f20=await this[_0x410657(0x186)](_0x5a7610),_0xb1d421=await this[_0x410657(0x1a6)](_0x5a7610);this[_0x410657(0x196)](_0x3e2f20,_0xb1d421);}}[_0x1dd468(0x217)](_0x251ec6){const _0x2c6649=_0x1dd468;this[_0x2c6649(0x209)]=_0x251ec6;}async[_0x1dd468(0x1de)](){const _0x6a6c3f=_0x1dd468,_0x2ad3de=await this[_0x6a6c3f(0x209)][_0x6a6c3f(0x105)]();if(_0x2ad3de>this[_0x6a6c3f(0x1f8)][_0x6a6c3f(0x1ac)]){await this[_0x6a6c3f(0x17e)]();const _0x35d6fe=this[_0x6a6c3f(0x138)]({'revision':this[_0x6a6c3f(0x1f8)],'to':_0x2ad3de});_0x35d6fe[_0x6a6c3f(0x12d)]=_0x35d6fe[_0x6a6c3f(0x117)][_0x6a6c3f(0x109)](_0x347d9a=>this[_0x6a6c3f(0x1e6)][_0x6a6c3f(0x1b4)][_0x6a6c3f(0x1e4)](_0x6a6c3f(0x148))[_0x6a6c3f(0x169)](_0x347d9a)),this[_0x6a6c3f(0x1f8)][_0x6a6c3f(0x144)](_0x35d6fe);}}async[_0x1dd468(0x17e)](){const _0x56c9ae=_0x1dd468;this[_0x56c9ae(0x166)]&&!this[_0x56c9ae(0x130)]&&(await this[_0x56c9ae(0x224)](this[_0x56c9ae(0x1f8)]),this[_0x56c9ae(0x16c)][_0x56c9ae(0x128)](this[_0x56c9ae(0x1f8)]),this[_0x56c9ae(0x130)]={'fromVersion':this[_0x56c9ae(0x1f8)][_0x56c9ae(0x140)],'authors':this[_0x56c9ae(0x1f8)][_0x56c9ae(0x12d)][_0x56c9ae(0x1fd)]()});}async[_0x1dd468(0x15a)](_0x5004f6={},_0x1e0111=null){const _0x4a087e=_0x1dd468,_0xd86462=[];await this[_0x4a087e(0x17e)](),this[_0x4a087e(0x166)]=!0x1,_0x1e0111>this[_0x4a087e(0x1f8)][_0x4a087e(0x1ac)]&&(_0x1e0111=null),null===_0x1e0111&&(_0x1e0111=await this[_0x4a087e(0x209)][_0x4a087e(0x105)]());const _0x31368c=this[_0x4a087e(0x1fa)](_0x1e0111),_0x41114a=this[_0x4a087e(0x138)]({'from':_0x31368c,'to':_0x1e0111});if(this[_0x4a087e(0x1f8)][_0x4a087e(0x1ac)]<_0x1e0111){const _0x26ecd2=this[_0x4a087e(0x138)]({'revision':this[_0x4a087e(0x1f8)],'from':_0x1e0111,'to':_0x1e0111});_0x26ecd2[_0x4a087e(0x12d)]=[],_0x26ecd2[_0x4a087e(0x117)]=[],_0x26ecd2['id']=this[_0x4a087e(0x1f8)]['id'],this[_0x4a087e(0x1f8)][_0x4a087e(0x144)](_0x26ecd2,!0x0),delete _0x26ecd2[_0x4a087e(0x12d)],_0xd86462[_0x4a087e(0x19b)](_0x26ecd2);}_0x5004f6[_0x4a087e(0x191)]=this[_0x4a087e(0x1e6)][_0x4a087e(0x1b4)][_0x4a087e(0x1e4)](_0x4a087e(0x148))['me']['id'],_0x5004f6[_0x4a087e(0x1e8)]=_0x5004f6[_0x4a087e(0x1e8)]||null,_0x5004f6['id']=_0x5004f6['id']||_0x387342(),_0x5004f6={..._0x5004f6,..._0x41114a};const _0x19fc95=this[_0x4a087e(0x19d)](_0x5004f6);_0xd86462[_0x4a087e(0x19b)](_0x5004f6);const _0x541d34=this[_0x4a087e(0x16a)][_0x4a087e(0x1b5)](_0x19fc95);if(0x0!==_0x541d34){const _0xf2df94=this[_0x4a087e(0x16a)][_0x4a087e(0x195)](_0x541d34-0x1);if(_0xf2df94[_0x4a087e(0x140)]!==_0x1e0111){const _0x2426d0=this[_0x4a087e(0x16c)][_0x4a087e(0x1a3)](_0x1e0111,_0xf2df94[_0x4a087e(0x1ac)]),_0x4d158e={'id':_0xf2df94['id'],'diffData':_0x2426d0[_0x4a087e(0x19f)],'authorsIds':_0x2426d0[_0x4a087e(0x117)],'authors':_0x2426d0[_0x4a087e(0x117)][_0x4a087e(0x109)](_0x1c9bfb=>this[_0x4a087e(0x1e6)][_0x4a087e(0x1b4)][_0x4a087e(0x1e4)](_0x4a087e(0x148))[_0x4a087e(0x169)](_0x1c9bfb)),'fromVersion':_0x1e0111};_0xf2df94===this[_0x4a087e(0x1f8)]&&(_0x4d158e[_0x4a087e(0x1dd)]=new Date(_0x5004f6[_0x4a087e(0x1dd)][_0x4a087e(0x1ca)]()+0xa)),_0xf2df94[_0x4a087e(0x144)](_0x4d158e,!0x0),delete _0x4d158e[_0x4a087e(0x12d)],_0xd86462[_0x4a087e(0x19b)](_0x4d158e);}}if(this[_0x4a087e(0x20f)]){for(const _0x4b2830 of _0xd86462)this[_0x4a087e(0x149)](_0x4b2830['id'],_0x4b2830,!0x0);this[_0x4a087e(0x1e5)]();}return _0x19fc95;}[_0x1dd468(0x19d)](_0x2b88bb){const _0x15b220=_0x1dd468,_0x4a03c8=this[_0x15b220(0x16a)][_0x15b220(0x1f7)](_0x2b88bb);return this[_0x15b220(0x20f)]&&_0x4a03c8['on'](_0x15b220(0x144),(_0x5a1041,_0x312fbd,_0xafedae)=>{const _0x43f153=_0x15b220;_0xafedae||(this[_0x43f153(0x149)](_0x312fbd['id'],_0x312fbd,!0x0),this[_0x43f153(0x1e5)]());}),this[_0x15b220(0x16a)][_0x15b220(0x10d)](_0x4a03c8,this[_0x15b220(0x198)](_0x4a03c8)),_0x4a03c8;}async[_0x1dd468(0x186)](_0x17410a){const _0x3eceb5=_0x1dd468;await this[_0x3eceb5(0x224)](_0x17410a);const _0x3802a8={};for(const _0x1aeaa9 in _0x17410a[_0x3eceb5(0x19f)]){if(_0x17410a[_0x3eceb5(0x19f)][_0x1aeaa9][_0x3eceb5(0x190)]&&!_0x17410a[_0x3eceb5(0x19f)][_0x1aeaa9][_0x3eceb5(0x190)][_0x3eceb5(0x11e)])continue;const _0x130d1d=this[_0x3eceb5(0x206)](JSON[_0x3eceb5(0x1a4)](_0x17410a[_0x3eceb5(0x19f)][_0x1aeaa9][_0x3eceb5(0x1f6)])),_0x22f6a1=this[_0x3eceb5(0x1e6)][_0x3eceb5(0x16f)][_0x3eceb5(0x1f9)][_0x3eceb5(0x1bb)],_0x478812=new _0x537145(_0x22f6a1,_0x130d1d[_0x3eceb5(0x109)](_0x54613a=>B(_0x54613a,this[_0x3eceb5(0x1e6)])));this[_0x3eceb5(0x1e6)][_0x3eceb5(0x14d)][_0x3eceb5(0x1d4)][_0x3eceb5(0x18a)](_0x3eceb5(0x12f)),_0x3802a8[_0x1aeaa9]=this[_0x3eceb5(0x1e6)][_0x3eceb5(0x14d)][_0x3eceb5(0x1d4)][_0x3eceb5(0x113)](_0x478812),this[_0x3eceb5(0x1e6)][_0x3eceb5(0x14d)][_0x3eceb5(0x1d4)][_0x3eceb5(0x18a)](_0x3eceb5(0x171));}return _0x3802a8;}async[_0x1dd468(0x1a6)](_0x3e6d8e){const _0x1dfc4f=_0x1dd468;await this[_0x1dfc4f(0x224)](_0x3e6d8e);const _0xa2f734={};for(const _0x13bf72 in _0x3e6d8e[_0x1dfc4f(0x19f)])_0x3e6d8e[_0x1dfc4f(0x19f)][_0x13bf72][_0x1dfc4f(0x190)]&&!_0x3e6d8e[_0x1dfc4f(0x19f)][_0x13bf72][_0x1dfc4f(0x190)][_0x1dfc4f(0x11e)]||(_0xa2f734[_0x13bf72]=_0x3e6d8e[_0x1dfc4f(0x19f)][_0x13bf72][_0x1dfc4f(0x1cc)]||{});return _0xa2f734;}[_0x1dd468(0x1e5)](){const _0x25739d=_0x1dd468;if(0x0===this[_0x25739d(0x218)][_0x25739d(0x1b7)])return;if(this[_0x25739d(0x203)])return;let _0x451326=Array[_0x25739d(0x223)](this[_0x25739d(0x218)][_0x25739d(0x1e3)]());this[_0x25739d(0x218)][_0x25739d(0x20d)]();for(let _0x26b3f0=0x0;_0x26b3f0<_0x451326[_0x25739d(0x212)];_0x26b3f0++){const _0x17a08f=_0x451326[_0x26b3f0];let _0x3e3b38=!0x1;for(const _0x2bd5c4 of Object[_0x25739d(0x1ff)](_0x17a08f))void 0x0===_0x17a08f[_0x2bd5c4]?delete _0x17a08f[_0x2bd5c4]:'id'!==_0x2bd5c4&&(_0x3e3b38=!0x0);_0x3e3b38||(_0x451326[_0x26b3f0]=null);}if(_0x451326=_0x451326[_0x25739d(0x181)](_0x570570=>null!==_0x570570),!_0x451326[_0x25739d(0x212)])return;for(let _0x56e3c1=0x0;_0x56e3c1<_0x451326[_0x25739d(0x212)];_0x56e3c1++){const _0x3b06f2=_0x451326[_0x56e3c1];void 0x0!==_0x3b06f2[_0x25739d(0x140)]&&void 0x0===_0x3b06f2[_0x25739d(0x1ac)]&&(_0x3b06f2[_0x25739d(0x1ac)]=this[_0x25739d(0x16a)][_0x25739d(0x195)](_0x3b06f2['id'])[_0x25739d(0x1ac)]),void 0x0!==_0x3b06f2[_0x25739d(0x1ac)]&&void 0x0===_0x3b06f2[_0x25739d(0x140)]&&(_0x3b06f2[_0x25739d(0x140)]=this[_0x25739d(0x16a)][_0x25739d(0x195)](_0x3b06f2['id'])[_0x25739d(0x140)]);}const _0x12876f=this[_0x25739d(0x1e6)][_0x25739d(0x1d8)][_0x25739d(0x1e4)](_0x25739d(0x1e1));this[_0x25739d(0x203)]=!0x0,this[_0x25739d(0x120)](),this[_0x25739d(0x20f)][_0x25739d(0x112)](_0x451326,_0x12876f)[_0x25739d(0x10e)](()=>{const _0x4e58d1=_0x25739d;this[_0x4e58d1(0x203)]=!0x1;})[_0x25739d(0x1d7)](_0x4b61eb=>{const _0x6d4ee1=_0x25739d;if(_0x4b61eb){for(const _0x1ddee3 of _0x4b61eb)this[_0x6d4ee1(0x176)]({'id':_0x1ddee3['id'],'createdAt':_0x1ddee3[_0x6d4ee1(0x1dd)]});}this[_0x6d4ee1(0x14c)](),this[_0x6d4ee1(0x1e5)]();});}[_0x1dd468(0x196)](_0x54aa98,_0x31180c){const _0x193ea6=_0x1dd468;let _0x651fb5=this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x1e4)](_0x193ea6(0x17c)),_0x183e84=this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x1e4)](_0x193ea6(0x106));if(void 0x0===_0x651fb5){_0x651fb5={};for(const _0x2f0c89 of this[_0x193ea6(0x1e6)][_0x193ea6(0x19a)][_0x193ea6(0x1bb)][_0x193ea6(0x1df)]())_0x651fb5[_0x2f0c89]='';}if(_0x193ea6(0x139)==typeof _0x651fb5&&(_0x651fb5={'main':_0x651fb5}),void 0x0===_0x183e84){_0x183e84={};for(const _0x335c4d of this[_0x193ea6(0x1e6)][_0x193ea6(0x19a)][_0x193ea6(0x1bb)][_0x193ea6(0x1df)]())_0x183e84[_0x335c4d]={};}let _0x4079dc=!0x1;const _0x103810=Object[_0x193ea6(0x1ff)](_0x651fb5),_0x5adb95=Object[_0x193ea6(0x1ff)](_0x54aa98);for(const _0x434f3e of _0x103810){if(_0x651fb5[_0x434f3e]!==_0x54aa98[_0x434f3e]&&''!==_0x651fb5[_0x434f3e][_0x193ea6(0x119)]()){_0x4079dc=!0x0;break;}if(!_0x1ac58a(_0x183e84[_0x434f3e],_0x31180c[_0x434f3e])&&Object[_0x193ea6(0x1ff)](_0x183e84[_0x434f3e])[_0x193ea6(0x212)]>0x0){_0x4079dc=!0x0;break;}}_0x4079dc||(_0x4079dc=_0x5adb95[_0x193ea6(0x15e)](_0x76535a=>!this[_0x193ea6(0x1e6)][_0x193ea6(0x19a)][_0x193ea6(0x1bb)][_0x193ea6(0x199)](_0x76535a))),_0x4079dc&&_0x438e31(_0x193ea6(0x185),{'editorData':_0x651fb5,'editorRootsAttributes':_0x183e84,'revisionData':_0x54aa98,'revisionRootsAttributes':_0x31180c}),this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x175)](_0x193ea6(0x17c),_0x54aa98),this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x175)](_0x193ea6(0x106),_0x31180c);}[_0x1dd468(0x120)](){const _0x47c999=_0x1dd468;if(!this[_0x47c999(0x116)]){const _0x19f258=this[_0x47c999(0x1e6)][_0x47c999(0x1b4)][_0x47c999(0x1e4)](_0x47c999(0x22a));this[_0x47c999(0x116)]=_0x19f258[_0x47c999(0x1dc)](_0x1df910(this[_0x47c999(0x1e6)][_0x47c999(0x1b8)],_0x47c999(0x158)));}}[_0x1dd468(0x14c)](){const _0x2f17b2=_0x1dd468;this[_0x2f17b2(0x116)]&&(this[_0x2f17b2(0x1e6)][_0x2f17b2(0x1b4)][_0x2f17b2(0x1e4)](_0x2f17b2(0x22a))[_0x2f17b2(0x11d)](this[_0x2f17b2(0x116)]),this[_0x2f17b2(0x116)]=null);}[_0x1dd468(0x198)](_0x5748d4){const _0x1ca986=_0x1dd468,_0x54a69e=this[_0x1ca986(0x16a)][_0x1ca986(0x1f3)]();_0x54a69e[_0x1ca986(0x161)]();let _0x5de563=0x0;for(;_0x5de563<_0x54a69e[_0x1ca986(0x212)];){const _0x50aae7=_0x54a69e[_0x5de563];if(_0x50aae7===this[_0x1ca986(0x1f8)]){_0x5de563++;continue;}if(_0x50aae7['id']===this[_0x1ca986(0x1da)])break;const _0x11c741=_0x5748d4[_0x1ca986(0x1ac)]-_0x50aae7[_0x1ca986(0x1ac)]||_0x5748d4[_0x1ca986(0x140)]-_0x50aae7[_0x1ca986(0x140)];if(_0x11c741>0x0)break;if(_0x11c741<0x0)_0x5de563++;else{if(!_0x5748d4[_0x1ca986(0x18e)]&&_0x50aae7[_0x1ca986(0x18e)])break;if(_0x50aae7[_0x1ca986(0x18e)]||!_0x5748d4[_0x1ca986(0x18e)]){if(_0x5748d4[_0x1ca986(0x1dd)]>_0x50aae7[_0x1ca986(0x1dd)])break;_0x5de563++;}else _0x5de563++;}}return _0x5de563;}[_0x1dd468(0x176)](_0x5a29c5){const _0x212c77=_0x1dd468,_0x4c7abe=this[_0x212c77(0x16a)][_0x212c77(0x195)](_0x5a29c5['id']);if(_0x5a29c5[_0x212c77(0x1dd)]&&(_0x5a29c5[_0x212c77(0x1dd)]=new Date(_0x5a29c5[_0x212c77(0x1dd)])),_0x5a29c5[_0x212c77(0x117)]){const _0x55fc6e=this[_0x212c77(0x1e6)][_0x212c77(0x1b4)][_0x212c77(0x1e4)](_0x212c77(0x148));_0x5a29c5[_0x212c77(0x12d)]=_0x5a29c5[_0x212c77(0x117)][_0x212c77(0x109)](_0x4d252c=>_0x55fc6e[_0x212c77(0x169)](_0x4d252c));}_0x4c7abe[_0x212c77(0x144)](_0x5a29c5,!0x0);}[_0x1dd468(0x138)]({revision:_0x4b9ab0=null,from:_0x12385e=null,to:_0x2c6092=null}){const _0x1ab0ab=_0x1dd468;_0x12385e=null!==_0x12385e?_0x12385e:_0x4b9ab0[_0x1ab0ab(0x140)],_0x2c6092=null!==_0x2c6092?_0x2c6092:_0x4b9ab0[_0x1ab0ab(0x1ac)];const _0x1ca555=this[_0x1ab0ab(0x16c)][_0x1ab0ab(0x1a3)](_0x12385e,_0x2c6092),_0x1e03cb={'diffData':_0x1ca555[_0x1ab0ab(0x19f)],'authorsIds':_0x1ca555[_0x1ab0ab(0x117)],'fromVersion':_0x12385e,'toVersion':_0x2c6092};if(!_0x4b9ab0||_0x2c6092!==_0x4b9ab0[_0x1ab0ab(0x1ac)]){const _0x4fc6a2=_0x2c6092-0x1,_0x43e9aa=this[_0x1ab0ab(0x209)][_0x1ab0ab(0x152)][_0x1ab0ab(0x133)](_0x4fc6a2);_0x1e03cb[_0x1ab0ab(0x1dd)]=_0x43e9aa&&_0x43e9aa[_0x1ab0ab(0x1dd)]||new Date();}if(this[_0x1ab0ab(0x130)]&&_0x12385e===this[_0x1ab0ab(0x130)][_0x1ab0ab(0x140)]){for(const _0x19c42e of this[_0x1ab0ab(0x130)][_0x1ab0ab(0x12d)])_0x1e03cb[_0x1ab0ab(0x117)][_0x1ab0ab(0x122)](_0x19c42e['id'])||_0x1e03cb[_0x1ab0ab(0x117)][_0x1ab0ab(0x19b)](_0x19c42e['id']);}return _0x1e03cb;}[_0x1dd468(0x224)](_0x55dd86){const _0x2bf482=_0x1dd468;if(!_0x55dd86||_0x55dd86[_0x2bf482(0x19f)])return Promise[_0x2bf482(0x12c)]();{const _0x1c956c=this[_0x2bf482(0x1e6)][_0x2bf482(0x1d8)][_0x2bf482(0x1e4)](_0x2bf482(0x1e1));return this[_0x2bf482(0x20f)][_0x2bf482(0x195)]({'channelId':_0x1c956c,'revisionId':_0x55dd86['id']})[_0x2bf482(0x1d7)](_0xe653=>{const _0xd050a4=_0x2bf482;_0x55dd86[_0xd050a4(0x19f)]=_0xe653[_0xd050a4(0x19f)];});}}[_0x1dd468(0x149)](_0x1f7f2b,_0x9e5b26,_0x383283){const _0x659adf=_0x1dd468;if(this[_0x659adf(0x218)][_0x659adf(0x1c5)](_0x1f7f2b)){const _0x43d4cb=this[_0x659adf(0x218)][_0x659adf(0x1e4)](_0x1f7f2b);_0x9e5b26=_0x383283?{..._0x43d4cb,..._0x9e5b26}:{..._0x9e5b26,..._0x43d4cb};}this[_0x659adf(0x218)][_0x659adf(0x175)](_0x1f7f2b,_0x9e5b26);}[_0x1dd468(0x1fa)](_0x46b467){const _0x375804=_0x1dd468,_0x5484d4=this[_0x375804(0x16a)][_0x375804(0x1f3)]();_0x5484d4[_0x375804(0x161)](),_0x5484d4[_0x375804(0x1cb)]();const _0x38a94e=_0x5484d4[_0x375804(0x20b)](_0x93b495=>_0x93b495[_0x375804(0x1ac)]<=_0x46b467)[_0x375804(0x1ac)];return _0x38a94e<this[_0x375804(0x183)]?this[_0x375804(0x183)]:_0x38a94e;}[_0x1dd468(0x15f)](_0xced57d){const _0x1156ab=_0x1dd468,_0x334e50=this[_0x1156ab(0x16a)][_0x1156ab(0x195)](this[_0x1156ab(0x16a)][_0x1156ab(0x212)]-0x1);if(_0x334e50)this[_0x1156ab(0x1da)]=_0x334e50['id'];else{const _0x858647=!this[_0x1156ab(0x1e6)][_0x1156ab(0x19a)][_0x1156ab(0x1bb)][_0x1156ab(0x17f)][_0x1156ab(0x20b)](_0x4bc47e=>this[_0x1156ab(0x1e6)][_0x1156ab(0x19a)][_0x1156ab(0x159)](_0x4bc47e)),_0x2585f2=this[_0x1156ab(0x1e6)][_0x1156ab(0x1b4)][_0x1156ab(0x1e4)](_0x1156ab(0x148))['me']['id'],_0x4c5103=_0x1df910(this[_0x1156ab(0x1e6)][_0x1156ab(0x1b8)],_0x858647?_0x1156ab(0x180):_0x1156ab(0x207));this[_0x1156ab(0x17b)]({'from':_0xced57d,'to':_0xced57d,'id':this[_0x1156ab(0x1da)],'name':_0x4c5103,'creatorId':_0x2585f2});}}[_0x1dd468(0x187)](_0x36cde7){const _0x487758=_0x1dd468,_0x2092f5=this[_0x487758(0x209)][_0x487758(0x17d)]();this[_0x487758(0x1f8)]=this[_0x487758(0x16a)][_0x487758(0x195)](_0x2092f5),this[_0x487758(0x1f8)]||(this[_0x487758(0x1f8)]=this[_0x487758(0x17b)]({'from':_0x36cde7,'to':_0x36cde7,'id':_0x2092f5,'name':'','creatorId':null}));}[_0x1dd468(0x17b)]({name:_0x11d63f,from:_0x5d032f,to:_0x28ad32,creatorId:_0x433b6a,id:_0x2f43b9}){const _0xefbfca=_0x1dd468,_0xf0a553=this[_0xefbfca(0x138)]({'from':_0x5d032f,'to':_0x28ad32});_0xf0a553[_0xefbfca(0x1e8)]=_0x11d63f,_0xf0a553[_0xefbfca(0x191)]=_0x433b6a,_0xf0a553['id']=_0x2f43b9;const _0x4ea309=this[_0xefbfca(0x19d)](_0xf0a553);return this[_0xefbfca(0x20f)]&&this[_0xefbfca(0x149)](_0xf0a553['id'],_0xf0a553,!0x0),_0x4ea309;}[_0x1dd468(0x1db)](){const _0x1d02d1=_0x1dd468;this[_0x1d02d1(0x1e6)][_0x1d02d1(0x111)][_0x1d02d1(0x1aa)](_0x1d02d1(0x213))[_0x1d02d1(0x210)]({'model':_0x1d02d1(0x1ec)});}[_0x1dd468(0x206)](_0xb13810){const _0x236abc=_0x1dd468;return(_0xb13810=_0xb13810[_0x236abc(0x181)](_0x3646f3=>!_0x3646f3[_0x236abc(0x1e8)]||_0x236abc(0x17a)!==_0x3646f3[_0x236abc(0x1e8)]&&_0x236abc(0x1d9)!==_0x3646f3[_0x236abc(0x1e8)]))[_0x236abc(0x13e)](_0x237a18=>{const _0x1a59a8=_0x236abc;_0x1a59a8(0x139)!=typeof _0x237a18&&(_0x237a18[_0x1a59a8(0x197)]=this[_0x1a59a8(0x206)](_0x237a18[_0x1a59a8(0x197)]),_0x237a18[_0x1a59a8(0x15b)]=_0x237a18[_0x1a59a8(0x15b)][_0x1a59a8(0x181)](_0x50a057=>!_0x50a057[0x0][_0x1a59a8(0x200)](_0x1a59a8(0x1a1))));}),_0xb13810;}}function B(_0x3ad8ef,_0x2bdc01){const _0x13c53f=_0x1dd468,_0x1505dd=_0x2bdc01[_0x13c53f(0x16f)][_0x13c53f(0x1f9)][_0x13c53f(0x1bb)];if(_0x13c53f(0x139)==typeof _0x3ad8ef)return new _0x3d7caa(_0x1505dd,_0x3ad8ef);{const _0x2e9f71=_0x3ad8ef[_0x13c53f(0x197)][_0x13c53f(0x109)](_0x3c60aa=>B(_0x3c60aa,_0x2bdc01));return new(T[_0x3ad8ef[(_0x13c53f(0x134))]]||_0x447522)(_0x1505dd,_0x3ad8ef[_0x13c53f(0x1e8)],_0x3ad8ef[_0x13c53f(0x15b)],_0x2e9f71);}}class J{constructor(_0x219e1b){const _0x237e0b=_0x1dd468;this[_0x237e0b(0x1e6)]=_0x219e1b,this[_0x237e0b(0x1a2)]=new Map(),this[_0x237e0b(0x21e)]=-0x1,this[_0x237e0b(0x211)]=-0x1,this[_0x237e0b(0x21c)]=new Map(),this[_0x237e0b(0x154)]=new Map(),this[_0x237e0b(0x1eb)]=new Map(),this[_0x237e0b(0x1ed)]=new Map(),this[_0x237e0b(0x178)]=new Map(),this[_0x237e0b(0x156)]=new Map(),this[_0x237e0b(0x126)]=new Map(),this[_0x237e0b(0x214)]=new Map(),this[_0x237e0b(0x222)]=new Map(),this[_0x237e0b(0x1e0)]=new Map(),this[_0x237e0b(0x205)]=0x1;}[_0x1dd468(0x1d2)](_0x323dfc){const _0xbeedfa=_0x1dd468;this[_0xbeedfa(0x1c2)]=_0x323dfc;const _0x4f1d24=new Map(),_0x46c2c8=new Map(),_0x3b7c70=this[_0xbeedfa(0x1e6)][_0xbeedfa(0x19a)][_0xbeedfa(0x1bb)][_0xbeedfa(0x17f)][_0xbeedfa(0x109)](_0x13aeed=>_0x13aeed[_0xbeedfa(0x1c9)]);for(const _0x3af313 of _0x3b7c70){const _0x44e726=this[_0xbeedfa(0x1e6)][_0xbeedfa(0x19a)][_0xbeedfa(0x1bb)][_0xbeedfa(0x199)](_0x3af313),_0x17214f=q(_0x44e726);_0x4f1d24[_0xbeedfa(0x175)](_0x3af313,_0x17214f),_0x46c2c8[_0xbeedfa(0x175)](_0x3af313,Object[_0xbeedfa(0x1b6)](_0x44e726[_0xbeedfa(0x10a)]()));}const _0x3a472b=Array[_0xbeedfa(0x223)](this[_0xbeedfa(0x1e6)][_0xbeedfa(0x19a)][_0xbeedfa(0x121)])[_0xbeedfa(0x109)](_0x44a890=>[_0x44a890[_0xbeedfa(0x1e8)],_0x44a890[_0xbeedfa(0x202)]()]),_0x27c83f=this[_0xbeedfa(0x1c2)][_0xbeedfa(0x168)];this[_0xbeedfa(0x11c)](_0x27c83f,_0x4f1d24,_0x3a472b,_0x46c2c8),this[_0xbeedfa(0x179)]=this[_0xbeedfa(0x205)];const _0x1fbea7=new Map(),_0x453927=new Map();for(const _0x346893 of _0x3b7c70){const _0x18bbc9=G(_0x346893);_0x1fbea7[_0xbeedfa(0x175)](_0x346893,_0x18bbc9),_0x453927[_0xbeedfa(0x175)](_0x346893,{});}this[_0xbeedfa(0x11c)](Number[_0xbeedfa(0x1b3)],_0x1fbea7,[],_0x453927);}[_0x1dd468(0x1a3)](_0x20bb09,_0x25ebd7){const _0x3f76a4=_0x1dd468;if(this[_0x3f76a4(0x21e)]===_0x20bb09&&this[_0x3f76a4(0x211)]<=_0x25ebd7)this[_0x3f76a4(0x1a2)][_0x3f76a4(0x1b7)]>0x1&&this[_0x3f76a4(0x132)](this[_0x3f76a4(0x211)]),this[_0x3f76a4(0x11a)](this[_0x3f76a4(0x211)],_0x25ebd7,!0x0);else{if(!this[_0x3f76a4(0x1a2)][_0x3f76a4(0x1c5)](_0x20bb09)){const _0x1634b6=this[_0x3f76a4(0x18f)](_0x20bb09);this[_0x3f76a4(0x146)](_0x1634b6,_0x20bb09,!0x1);}this[_0x3f76a4(0x146)](_0x20bb09,_0x25ebd7,!0x0);}return this[_0x3f76a4(0x21e)]=_0x20bb09,this[_0x3f76a4(0x211)]=_0x25ebd7,this[_0x3f76a4(0x1f5)]();}[_0x1dd468(0x128)](_0x23b855){const _0x1dc17d=_0x1dd468;this[_0x1dc17d(0x150)](),this[_0x1dc17d(0x21e)]=_0x23b855[_0x1dc17d(0x140)],this[_0x1dc17d(0x211)]=_0x23b855[_0x1dc17d(0x1ac)];for(const _0x235645 in _0x23b855[_0x1dc17d(0x19f)]){const _0x4b148a=_0x23b855[_0x1dc17d(0x19f)][_0x235645][_0x1dc17d(0x190)],_0x9b54af=_0x46f555(_0x23b855[_0x1dc17d(0x19f)][_0x235645][_0x1dc17d(0x1ce)])||{},_0x112449=this[_0x1dc17d(0x103)](_0x23b855[_0x1dc17d(0x19f)][_0x235645][_0x1dc17d(0x1e2)]);_0x112449[_0x1dc17d(0x1c9)]=_0x235645,_0x112449[_0x1dc17d(0x1be)]=!_0x4b148a||!_0x4b148a[_0x1dc17d(0x11e)],_0x112449[_0x1dc17d(0x11e)]=()=>_0x112449[_0x1dc17d(0x1be)],this[_0x1dc17d(0x1ed)][_0x1dc17d(0x175)](_0x235645,_0x112449),this[_0x1dc17d(0x178)][_0x1dc17d(0x175)](_0x235645,_0x9b54af),_0x4b148a&&this[_0x1dc17d(0x1e0)][_0x1dc17d(0x175)](_0x235645,_0x4b148a);const _0x18401b=this[_0x1dc17d(0x1fe)](_0x112449);this[_0x1dc17d(0x126)][_0x1dc17d(0x175)](_0x235645,_0x18401b);for(const [_0x2054e9,_0x1a8357]of _0x112449[_0x1dc17d(0x121)]){if(!_0x2054e9[_0x1dc17d(0x200)](_0x1dc17d(0x1ea)))continue;const _0x5c9dbc=_0x2054e9[_0x1dc17d(0x1ab)](':')[0x2];for(const _0x12c6c2 of _0x1a8357[_0x1dc17d(0x1ba)]({'singleCharacters':!0x0})){const _0x1e3ada=this[_0x1dc17d(0x208)](_0x12c6c2),_0x43954e=_0x1dc17d(0x107)==_0x12c6c2[_0x1dc17d(0x134)]?_0x12c6c2[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)][_0x1dc17d(0x1fd)](0x0,-0x1):_0x12c6c2[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)],_0x16eaf5=_0x18401b[_0x1dc17d(0x188)](_0x43954e)[_0x1dc17d(0x13f)](_0x1e3ada);this[_0x1dc17d(0x214)][_0x1dc17d(0x175)](_0x16eaf5,{'userId':_0x5c9dbc});}}}this[_0x1dc17d(0x179)]=this[_0x1dc17d(0x205)];const _0x555f13=[...Array(this[_0x1dc17d(0x205)])[_0x1dc17d(0x1ff)]()][_0x1dc17d(0x1fd)](0x1)[_0x1dc17d(0x181)](_0x2f5dd6=>!this[_0x1dc17d(0x214)][_0x1dc17d(0x1c5)](_0x2f5dd6));let _0xec875b=0x0;const _0x582ad7=new Map();for(const _0x317caa in _0x23b855[_0x1dc17d(0x19f)]){const _0x41d23e=_0x23b855[_0x1dc17d(0x19f)][_0x317caa][_0x1dc17d(0x190)],_0x35eff6=_0x46f555(_0x23b855[_0x1dc17d(0x19f)][_0x317caa][_0x1dc17d(0x1cc)])||{},_0xf69aff=this[_0x1dc17d(0x103)](_0x23b855[_0x1dc17d(0x19f)][_0x317caa][_0x1dc17d(0x1f6)]);_0xf69aff[_0x1dc17d(0x1c9)]=_0x317caa,_0xf69aff[_0x1dc17d(0x1be)]=!_0x41d23e||_0x41d23e[_0x1dc17d(0x11e)],_0xf69aff[_0x1dc17d(0x11e)]=()=>_0xf69aff[_0x1dc17d(0x1be)],this[_0x1dc17d(0x154)][_0x1dc17d(0x175)](_0x317caa,_0xf69aff),this[_0x1dc17d(0x1eb)][_0x1dc17d(0x175)](_0x317caa,_0x35eff6);const _0x32e637=this[_0x1dc17d(0x1fe)](_0xf69aff,Number[_0x1dc17d(0x1b3)]);this[_0x1dc17d(0x156)][_0x1dc17d(0x175)](_0x317caa,_0x32e637),_0x582ad7[_0x1dc17d(0x175)](_0x317caa,_0xf69aff[_0x1dc17d(0x11e)]()?_0x35eff6:{});for(const [_0x5daf81,_0x21551b]of _0xf69aff[_0x1dc17d(0x121)]){if(!_0x5daf81[_0x1dc17d(0x200)](_0x1dc17d(0x1ea)))continue;const _0x4d74e5=_0x5daf81[_0x1dc17d(0x1ab)](':')[0x2];for(const _0x3e2483 of _0x21551b[_0x1dc17d(0x1ba)]({'singleCharacters':!0x0})){const _0x3aaef8=this[_0x1dc17d(0x208)](_0x3e2483),_0x9045ce=this[_0x1dc17d(0x205)]++,_0x4a3512=_0x1dc17d(0x107)==_0x3e2483[_0x1dc17d(0x134)]?_0x3e2483[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)][_0x1dc17d(0x1fd)](0x0,-0x1):_0x3e2483[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)];_0x32e637[_0x1dc17d(0x188)](_0x4a3512)[_0x1dc17d(0x141)](_0x3aaef8,_0x9045ce),this[_0x1dc17d(0x214)][_0x1dc17d(0x175)](_0x9045ce,{'userId':_0x4d74e5});}}for(const _0x5ee377 of this[_0x1dc17d(0x1e6)][_0x1dc17d(0x19a)][_0x1dc17d(0x167)](_0xf69aff)[_0x1dc17d(0x1ba)]({'singleCharacters':!0x0})){const _0x2cc79f=this[_0x1dc17d(0x208)](_0x5ee377),_0x245935=_0x1dc17d(0x107)==_0x5ee377[_0x1dc17d(0x134)]?_0x5ee377[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)][_0x1dc17d(0x1fd)](0x0,-0x1):_0x5ee377[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)],_0x1f03db=_0x32e637[_0x1dc17d(0x188)](_0x245935);_0x1f03db[_0x1dc17d(0x13f)](_0x2cc79f)>0x0||_0x1f03db[_0x1dc17d(0x141)](_0x2cc79f,_0x555f13[_0xec875b++]);}for(const [_0x14b21f,_0x12eb59]of _0xf69aff[_0x1dc17d(0x121)])_0x14b21f[_0x1dc17d(0x200)](_0x1dc17d(0x1ea))||this[_0x1dc17d(0x21c)][_0x1dc17d(0x175)](_0x14b21f,_0x12eb59);}const _0x4b5f20=G(_0x1dc17d(0x15c));this[_0x1dc17d(0x1ed)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),_0x4b5f20),this[_0x1dc17d(0x126)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),this[_0x1dc17d(0x1fe)](_0x4b5f20,0x1));const _0x1e7197=G(_0x1dc17d(0x15c));this[_0x1dc17d(0x154)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),_0x1e7197),this[_0x1dc17d(0x156)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),this[_0x1dc17d(0x1fe)](_0x1e7197,0x1));const _0x188dbd=Array[_0x1dc17d(0x223)](this[_0x1dc17d(0x154)])[_0x1dc17d(0x109)](([_0x49f070,_0x353954])=>[_0x49f070,q(_0x353954)]);this[_0x1dc17d(0x11c)](this[_0x1dc17d(0x211)],_0x188dbd,this[_0x1dc17d(0x21c)],_0x582ad7);}[_0x1dd468(0x103)](_0x3b7e1b){const _0x3ebd9c=_0x1dd468,_0x4c3b03=JSON[_0x3ebd9c(0x1a4)](_0x3b7e1b),_0x1713f7=this[_0x3ebd9c(0x1e6)][_0x3ebd9c(0x16f)][_0x3ebd9c(0x1f9)][_0x3ebd9c(0x1bb)],_0x4dc31c=new _0x537145(_0x1713f7,_0x4c3b03[_0x3ebd9c(0x109)](_0x167d41=>B(_0x167d41,this[_0x3ebd9c(0x1e6)])));return this[_0x3ebd9c(0x1e6)][_0x3ebd9c(0x14d)][_0x3ebd9c(0x1d1)](_0x4dc31c);}[_0x1dd468(0x11c)](_0x5687ee,_0xac899,_0x54cf00,_0x599a79){const _0x117c72=_0x1dd468,_0x5d1a18=new Map(_0xac899),_0x146df1=new Map(_0x46f555(_0x599a79)),_0x240f1a=new Map();for(const [_0x566186,_0xf07ad8]of _0x54cf00)_0x240f1a[_0x117c72(0x175)](_0x566186,{'start':_0xf07ad8[_0x117c72(0x225)][_0x117c72(0x1c4)](),'end':_0xf07ad8[_0x117c72(0x1cf)][_0x117c72(0x1c4)](),'rootName':_0xf07ad8[_0x117c72(0x170)][_0x117c72(0x1c9)]});this[_0x117c72(0x1a2)][_0x117c72(0x175)](_0x5687ee,{'roots':_0x5d1a18,'markers':_0x240f1a,'rootsAttributes':_0x146df1});}[_0x1dd468(0x132)](_0x525261){const _0x395fc3=_0x1dd468;this[_0x395fc3(0x1a2)][_0x395fc3(0x20a)](_0x525261);}[_0x1dd468(0x18d)](){const _0x2e0bc6=_0x1dd468;this[_0x2e0bc6(0x150)](),this[_0x2e0bc6(0x21e)]=-0x1,this[_0x2e0bc6(0x211)]=-0x1,this[_0x2e0bc6(0x1a2)][_0x2e0bc6(0x20d)](),this[_0x2e0bc6(0x1d2)](this[_0x2e0bc6(0x1c2)]);}[_0x1dd468(0x150)](){const _0x4fc9de=_0x1dd468;this[_0x4fc9de(0x214)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x222)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x1e0)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x154)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x1eb)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x1ed)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x178)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x156)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x126)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x21c)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x205)]=0x1,this[_0x4fc9de(0x179)]=this[_0x4fc9de(0x205)];}[_0x1dd468(0x1fe)](_0x190fd9,_0xddf46=null){const _0x3fe2c9=_0x1dd468;let _0x450c7b=null;_0x190fd9['is'](_0x3fe2c9(0x13b))||(_0x450c7b=new _0x4c3aa2(_0x190fd9[_0x3fe2c9(0x1e8)],{'vid_start':null===_0xddf46?this[_0x3fe2c9(0x205)]++:_0xddf46++}));const _0x3ef3e0=[];for(const _0x59e9ed of _0x190fd9[_0x3fe2c9(0x1a7)]())if(_0x59e9ed['is'](_0x3fe2c9(0x163))){_0x3ef3e0[_0x3fe2c9(0x19b)](this[_0x3fe2c9(0x1fe)](_0x59e9ed,_0xddf46));const _0x550a57=_0x3ef3e0[_0x3ef3e0[_0x3fe2c9(0x212)]-0x1];null!==_0xddf46&&(_0xddf46=_0x550a57['is'](_0x3fe2c9(0x163),_0x3fe2c9(0x201))?_0x550a57[_0x3fe2c9(0x13f)](_0x3fe2c9(0x1b2))+0x1:_0x550a57[_0x3fe2c9(0x13f)](_0x3fe2c9(0x189))+0x1);}else{for(let _0x16d42b=0x0;_0x16d42b<_0x59e9ed[_0x3fe2c9(0x1d0)];_0x16d42b++)_0x3ef3e0[_0x3fe2c9(0x19b)](new _0x4c3aa2(_0x3fe2c9(0x201),{'vid':null===_0xddf46?this[_0x3fe2c9(0x205)]++:_0xddf46++}));}if(_0x190fd9['is'](_0x3fe2c9(0x13b))){const _0x5834d2=G(_0x190fd9[_0x3fe2c9(0x1c9)]);return _0x5834d2[_0x3fe2c9(0x1c7)](0x0,_0x3ef3e0),_0x5834d2;}return _0x450c7b[_0x3fe2c9(0x141)](_0x3fe2c9(0x189),null===_0xddf46?this[_0x3fe2c9(0x205)]++:_0xddf46++),_0x450c7b[_0x3fe2c9(0x1c7)](0x0,_0x3ef3e0),_0x450c7b;}[_0x1dd468(0x146)](_0x3c42cd,_0x5c3ef8,_0x288a97){const _0x5d960f=_0x1dd468;this[_0x5d960f(0x150)]();const {roots:_0x48a85f,markers:_0x574177,rootsAttributes:_0xcee024}=this[_0x5d960f(0x1a2)][_0x5d960f(0x1e4)](_0x3c42cd);this[_0x5d960f(0x1ed)]=new Map(_0x48a85f),this[_0x5d960f(0x178)]=new Map(_0x46f555(_0xcee024));for(const [_0x2ab498,_0x4d1f81]of this[_0x5d960f(0x1ed)])if(_0x5d960f(0x15c)!==_0x2ab498&&(this[_0x5d960f(0x154)][_0x5d960f(0x175)](_0x2ab498,q(_0x4d1f81)),this[_0x5d960f(0x1eb)]=new Map(_0x46f555(_0xcee024)),_0x288a97)){const _0x12e719=this[_0x5d960f(0x205)];this[_0x5d960f(0x156)][_0x5d960f(0x175)](_0x2ab498,this[_0x5d960f(0x1fe)](_0x4d1f81)),this[_0x5d960f(0x126)][_0x5d960f(0x175)](_0x2ab498,this[_0x5d960f(0x1fe)](_0x4d1f81,_0x12e719));}this[_0x5d960f(0x179)]=this[_0x5d960f(0x205)],this[_0x5d960f(0x154)][_0x5d960f(0x175)](_0x5d960f(0x15c),q(this[_0x5d960f(0x1ed)][_0x5d960f(0x1e4)](_0x5d960f(0x15c)))),_0x288a97&&this[_0x5d960f(0x156)][_0x5d960f(0x175)](_0x5d960f(0x15c),this[_0x5d960f(0x1fe)](this[_0x5d960f(0x1ed)][_0x5d960f(0x1e4)](_0x5d960f(0x15c))));for(const [_0x2c4a8c,_0x53c61a]of _0x574177){const _0x271721=this[_0x5d960f(0x1ed)][_0x5d960f(0x1e4)](_0x53c61a[_0x5d960f(0x1c9)]),_0x2ef898=this[_0x5d960f(0x154)][_0x5d960f(0x1e4)](_0x53c61a[_0x5d960f(0x1c9)]),_0x71323=new _0x2dca35(this[_0x5d960f(0x1f2)](_0x53c61a[_0x5d960f(0x225)],_0x271721),this[_0x5d960f(0x1f2)](_0x53c61a[_0x5d960f(0x1cf)],_0x271721)),_0x2d975e=this[_0x5d960f(0x114)](_0x71323,_0x2ef898);_0x271721[_0x5d960f(0x121)][_0x5d960f(0x175)](_0x2c4a8c,_0x71323),this[_0x5d960f(0x21c)][_0x5d960f(0x175)](_0x2c4a8c,_0x2d975e);}this[_0x5d960f(0x11a)](_0x3c42cd,_0x5c3ef8,_0x288a97);}[_0x1dd468(0x11a)](_0x4333fa,_0x4331d5,_0x55d8e1){const _0x27c2f4=_0x1dd468;for(const _0x97a07b of this[_0x27c2f4(0x1c2)][_0x27c2f4(0x108)](_0x4333fa,_0x4331d5))this[_0x27c2f4(0x22c)](_0x97a07b,_0x55d8e1);for(const _0x3e55c of this[_0x27c2f4(0x154)][_0x27c2f4(0x1e3)]())_0x3e55c[_0x27c2f4(0x121)][_0x27c2f4(0x20d)]();for(const [_0x35cd86,_0x133bcb]of this[_0x27c2f4(0x21c)]){this[_0x27c2f4(0x154)][_0x27c2f4(0x1e4)](_0x133bcb[_0x27c2f4(0x170)][_0x27c2f4(0x1c9)])[_0x27c2f4(0x121)][_0x27c2f4(0x175)](_0x35cd86,_0x133bcb[_0x27c2f4(0x1c4)]());}const _0x457fca=new Map(),_0x38f382=new Map();for(const [_0x15cadd,_0x34bd39]of this[_0x27c2f4(0x154)])_0x457fca[_0x27c2f4(0x175)](_0x15cadd,q(_0x34bd39)),_0x38f382[_0x27c2f4(0x175)](_0x15cadd,this[_0x27c2f4(0x1eb)][_0x27c2f4(0x1e4)](_0x15cadd));this[_0x27c2f4(0x11c)](_0x4331d5,_0x457fca,this[_0x27c2f4(0x21c)],_0x38f382);}[_0x1dd468(0x18f)](_0xd9176a){const _0x1adfd8=_0x1dd468,_0x30ea5b=Array[_0x1adfd8(0x223)](this[_0x1adfd8(0x1a2)][_0x1adfd8(0x1ff)]());_0x30ea5b[_0x1adfd8(0x14e)]((_0x4c6bb3,_0x2d72ec)=>_0x4c6bb3-_0x2d72ec),_0x30ea5b[_0x1adfd8(0x161)]();for(const _0x5eeb84 of _0x30ea5b)if(_0x5eeb84<_0xd9176a)return _0x5eeb84;return Number[_0x1adfd8(0x1b3)];}[_0x1dd468(0x1e7)](_0x58674b,_0x28a5f6){const _0x48d05b=_0x1dd468,_0x2796f3=Array[_0x48d05b(0x223)](_0x28a5f6[_0x48d05b(0x121)])[_0x48d05b(0x109)](([_0x7c841c,_0x59c0c5])=>[_0x7c841c,this[_0x48d05b(0x114)](_0x59c0c5,_0x58674b)]);_0x58674b[_0x48d05b(0x121)]=new Map(_0x2796f3);}[_0x1dd468(0x1c3)](_0x4094a3){const _0x500f09=_0x1dd468;for(const _0x2ae292 of this[_0x500f09(0x21c)][_0x500f09(0x1e3)]()){const _0x37a46f=_0x2ae292[_0x500f09(0x1f4)](_0x4094a3),_0x3b5b50=_0x2dca35[_0x500f09(0x19c)](_0x37a46f);_0x2ae292[_0x500f09(0x225)]=_0x3b5b50[_0x500f09(0x225)],_0x2ae292[_0x500f09(0x1cf)]=_0x3b5b50[_0x500f09(0x1cf)];}}[_0x1dd468(0x22c)](_0x54638a,_0x296e03){const _0x3783a5=_0x1dd468;if(_0x3783a5(0x16e)==_0x54638a[_0x3783a5(0x134)]||_0x3783a5(0x19e)==_0x54638a[_0x3783a5(0x134)])return void this[_0x3783a5(0x1bc)](_0x54638a,_0x296e03);if(_0x3783a5(0x13c)==_0x54638a[_0x3783a5(0x134)]){const _0x12caf8=_0x54638a[_0x3783a5(0x1a5)][_0x3783a5(0x170)][_0x3783a5(0x1c9)];this[_0x3783a5(0x154)][_0x3783a5(0x1c5)](_0x12caf8)||(this[_0x3783a5(0x154)][_0x3783a5(0x175)](_0x12caf8,G(_0x12caf8,!0x0)),this[_0x3783a5(0x1eb)][_0x3783a5(0x175)](_0x12caf8,{}),_0x296e03&&this[_0x3783a5(0x156)][_0x3783a5(0x175)](_0x12caf8,G(_0x12caf8,!0x0)));}else{if(_0x3783a5(0x220)==_0x54638a[_0x3783a5(0x134)]||_0x3783a5(0x1ad)==_0x54638a[_0x3783a5(0x134)]||_0x3783a5(0x1a0)==_0x54638a[_0x3783a5(0x134)])return void this[_0x3783a5(0x160)](_0x54638a);}const _0x4e4bfc=this[_0x3783a5(0x104)](_0x54638a,this[_0x3783a5(0x154)]);if(_0x3783a5(0x129)!==_0x54638a[_0x3783a5(0x134)]&&(_0x4e4bfc[_0x3783a5(0x1b9)](),this[_0x3783a5(0x1c3)](_0x4e4bfc)),_0x296e03)switch(_0x4e4bfc[_0x3783a5(0x134)]){case _0x3783a5(0x13c):this[_0x3783a5(0x1bf)](_0x54638a);break;case _0x3783a5(0x18c):case _0x3783a5(0x11d):case _0x3783a5(0x226):this[_0x3783a5(0x221)](_0x54638a);break;case _0x3783a5(0x1c1):this[_0x3783a5(0x13a)](_0x54638a);break;case _0x3783a5(0x1ab):this[_0x3783a5(0x173)](_0x54638a);break;case _0x3783a5(0x129):this[_0x3783a5(0x22b)](_0x54638a);}}[_0x1dd468(0x104)](_0x37c92f,_0x4d69a8){const _0x59f063=_0x1dd468,_0x496abc=_0x37c92f[_0x59f063(0x1c4)]();return _0x496abc[_0x59f063(0x123)]=_0x37c92f[_0x59f063(0x123)],this[_0x59f063(0x21b)](_0x496abc,_0x4d69a8),_0x496abc;}[_0x1dd468(0x118)](_0x3116d0){const _0x47d5f9=_0x1dd468;return _0x3116d0[_0x47d5f9(0x109)](_0x45c501=>{const _0x2bad07=_0x47d5f9,_0x1e826c=this[_0x2bad07(0x208)](_0x45c501);return Number(_0x45c501[_0x2bad07(0x131)][_0x2bad07(0x13f)](_0x1e826c));});}[_0x1dd468(0x1d3)](_0x116230,_0x5703c0){const _0x54b63d=_0x1dd468;if(_0x116230['is'](_0x54b63d(0x163),_0x54b63d(0x201)))_0x5703c0[_0x54b63d(0x19b)]({'item':_0x116230,'type':_0x54b63d(0x1c6)});else{_0x116230['is'](_0x54b63d(0x163))&&_0x5703c0[_0x54b63d(0x19b)]({'item':_0x116230,'type':_0x54b63d(0x204)});for(const _0x5d7be6 of _0x116230[_0x54b63d(0x1a7)]())this[_0x54b63d(0x1d3)](_0x5d7be6,_0x5703c0);_0x116230['is'](_0x54b63d(0x163))&&_0x5703c0[_0x54b63d(0x19b)]({'item':_0x116230,'type':_0x54b63d(0x107)});}return _0x5703c0;}[_0x1dd468(0x1f5)](){const _0x28a4e1=_0x1dd468,_0x3a4bad=new Map(this[_0x28a4e1(0x214)]),_0x120bc3=new Map(_0x3a4bad),_0x1b4559=new Map(),_0x26c1f8={'insertions':{},'deletions':{}},_0x3fd9f7={'insertions':{},'deletions':{}},_0x54d2cd=new Map(),_0x37a333=new Set([...this[_0x28a4e1(0x1ed)][_0x28a4e1(0x1ff)](),...this[_0x28a4e1(0x154)][_0x28a4e1(0x1ff)]()]);_0x37a333[_0x28a4e1(0x20a)](_0x28a4e1(0x15c));for(const _0x299241 of _0x37a333){const _0x456724=this[_0x28a4e1(0x154)][_0x28a4e1(0x1e4)](_0x299241)||G(_0x299241,!0x1),_0x708029=this[_0x28a4e1(0x1ed)][_0x28a4e1(0x1e4)](_0x299241)||G(_0x299241,!0x1);_0x456724[_0x28a4e1(0x11e)]()||_0x708029[_0x28a4e1(0x11e)]()?(_0x26c1f8[_0x28a4e1(0x1f6)][_0x299241]=q(_0x456724),_0x26c1f8[_0x28a4e1(0x1e2)][_0x299241]=q(_0x708029),this[_0x28a4e1(0x1e7)](_0x26c1f8[_0x28a4e1(0x1e2)][_0x299241],_0x708029),this[_0x28a4e1(0x1e7)](_0x26c1f8[_0x28a4e1(0x1f6)][_0x299241],_0x456724),_0x3fd9f7[_0x28a4e1(0x1f6)][_0x299241]=this[_0x28a4e1(0x1d3)](this[_0x28a4e1(0x156)][_0x28a4e1(0x1e4)](_0x299241),[]),_0x3fd9f7[_0x28a4e1(0x1e2)][_0x299241]=this[_0x28a4e1(0x1d3)](this[_0x28a4e1(0x126)][_0x28a4e1(0x1e4)](_0x299241)||G(_0x299241,!0x1),[])):_0x37a333[_0x28a4e1(0x20a)](_0x299241);}for(const _0x14e8f0 of _0x37a333){const _0x250173=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x14e8f0];for(const _0x32e50d of _0x250173){const _0x49f9ac=this[_0x28a4e1(0x208)](_0x32e50d),_0x4e337d=_0x32e50d[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x49f9ac);_0x120bc3[_0x28a4e1(0x20a)](_0x4e337d),_0x4e337d>=this[_0x28a4e1(0x179)]&&_0x1b4559[_0x28a4e1(0x175)](_0x4e337d,_0x3a4bad[_0x28a4e1(0x1e4)](_0x4e337d));}}for(const _0x1cd313 of _0x37a333){const _0x5638aa=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x1cd313],_0x21799a=this[_0x28a4e1(0x118)](_0x3fd9f7[_0x28a4e1(0x1e2)][_0x1cd313]);let _0x3843c0=0x0;for(const _0x1976c0 of _0x5638aa){const _0x28169c=this[_0x28a4e1(0x208)](_0x1976c0),_0x105b0a=_0x1976c0[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x28169c);if(!_0x1b4559[_0x28a4e1(0x1c5)](_0x105b0a)&&!_0x54d2cd[_0x28a4e1(0x1c5)](_0x105b0a)){if(_0x120bc3[_0x28a4e1(0x1c5)](_0x105b0a))_0x3843c0++;else{if(_0x105b0a!=_0x21799a[_0x3843c0]){const _0x5b85a0=_0x3a4bad[_0x28a4e1(0x1e4)](_0x105b0a)||_0x3a4bad[_0x28a4e1(0x1e4)](_0x21799a[_0x3843c0]);for(;_0x105b0a!=_0x21799a[_0x3843c0];)_0x120bc3[_0x28a4e1(0x1c5)](_0x21799a[_0x3843c0])||(_0x54d2cd[_0x28a4e1(0x175)](_0x21799a[_0x3843c0],_0x5b85a0),_0x3a4bad[_0x28a4e1(0x175)](_0x21799a[_0x3843c0],_0x5b85a0)),_0x3843c0++;}_0x3843c0++;}}}}for(const _0x20933b of _0x37a333){const _0x42d900=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x20933b];for(const _0x2a08c6 of _0x42d900){const _0x10835e=this[_0x28a4e1(0x208)](_0x2a08c6),_0x152fdd=_0x2a08c6[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x10835e);if(_0x54d2cd[_0x28a4e1(0x1c5)](_0x152fdd)){const _0x48dc5e=_0x54d2cd[_0x28a4e1(0x1e4)](_0x152fdd);_0x120bc3[_0x28a4e1(0x1c5)](_0x152fdd)||_0x120bc3[_0x28a4e1(0x175)](_0x152fdd,{..._0x48dc5e}),_0x1b4559[_0x28a4e1(0x175)](_0x152fdd,{..._0x48dc5e});}}}for(const _0x377f20 of _0x120bc3[_0x28a4e1(0x1ff)]())_0x377f20>=this[_0x28a4e1(0x179)]&&_0x120bc3[_0x28a4e1(0x20a)](_0x377f20);const _0x465867=new Map();for(const _0x5cccfd of _0x37a333){let _0x5e68cb=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x5cccfd];for(const _0x3e7352 of _0x5e68cb)if(_0x3e7352[_0x28a4e1(0x131)]['is'](_0x28a4e1(0x163),_0x28a4e1(0x194))){const _0x26859f=this[_0x28a4e1(0x208)](_0x3e7352),_0x5d91ac=_0x3e7352[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x26859f);if(_0x1b4559[_0x28a4e1(0x1c5)](_0x5d91ac)){const _0x1f9b19=_0x3e7352[_0x28a4e1(0x131)][_0x28a4e1(0x145)][_0x28a4e1(0x145)][_0x28a4e1(0x13f)](_0x28a4e1(0x136)),_0x461e2f=_0x465867[_0x28a4e1(0x1e4)](_0x1f9b19)||new Set();_0x461e2f[_0x28a4e1(0x1dc)](_0x1b4559[_0x28a4e1(0x1e4)](_0x5d91ac)[_0x28a4e1(0x147)]),_0x465867[_0x28a4e1(0x175)](_0x1f9b19,_0x461e2f);}}_0x5e68cb=_0x3fd9f7[_0x28a4e1(0x1e2)][_0x5cccfd];for(const _0x11ed58 of _0x5e68cb)if(_0x11ed58[_0x28a4e1(0x131)]['is'](_0x28a4e1(0x163),_0x28a4e1(0x194))){const _0x8ebb09=this[_0x28a4e1(0x208)](_0x11ed58),_0x373127=_0x11ed58[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x8ebb09);if(_0x120bc3[_0x28a4e1(0x1c5)](_0x373127)){const _0x3d16a5=_0x11ed58[_0x28a4e1(0x131)][_0x28a4e1(0x145)][_0x28a4e1(0x145)][_0x28a4e1(0x13f)](_0x28a4e1(0x136)),_0x2b8873=_0x465867[_0x28a4e1(0x1e4)](_0x3d16a5)||new Set();_0x2b8873[_0x28a4e1(0x1dc)](_0x120bc3[_0x28a4e1(0x1e4)](_0x373127)[_0x28a4e1(0x147)]),_0x465867[_0x28a4e1(0x175)](_0x3d16a5,_0x2b8873);}}for(const _0x2ca298 of _0x465867[_0x28a4e1(0x1ff)]())(_0x1b4559[_0x28a4e1(0x1c5)](_0x2ca298)||_0x120bc3[_0x28a4e1(0x1c5)](_0x2ca298))&&_0x465867[_0x28a4e1(0x20a)](_0x2ca298);}for(const _0x3c7bfa of _0x37a333){const _0x4a6358=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x3c7bfa];let _0x3b484c=null,_0x191a92=null;for(const _0x439847 of _0x4a6358){const _0x72d8d6=this[_0x28a4e1(0x208)](_0x439847),_0xe35a08=_0x439847[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x72d8d6),_0x1fca70=_0x465867[_0x28a4e1(0x1e4)](_0xe35a08);_0x1fca70&&_0x28a4e1(0x204)==_0x439847[_0x28a4e1(0x134)]&&(_0x3b484c=Array[_0x28a4e1(0x223)](_0x1fca70)[0x0],_0x191a92=_0x439847[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x28a4e1(0x189))),_0x3b484c&&(_0x120bc3[_0x28a4e1(0x175)](_0xe35a08,{'userId':_0x3b484c}),_0x1b4559[_0x28a4e1(0x175)](_0xe35a08,{'userId':_0x3b484c})),_0xe35a08==_0x191a92&&(_0x3b484c=null,_0x191a92=null);}}const _0xd066cc={},_0x3c0dd1=new Set();for(const _0x551b3a of _0x37a333){const _0x2fad50=_0x26c1f8[_0x28a4e1(0x1e2)][_0x551b3a],_0x158b0f=_0x26c1f8[_0x28a4e1(0x1f6)][_0x551b3a];for(const {userId:_0x5a59f5}of this[_0x28a4e1(0x222)][_0x28a4e1(0x1e3)]())null!==_0x5a59f5&&_0x3c0dd1[_0x28a4e1(0x1dc)](_0x5a59f5);for(const {userId:_0x5455b6}of this[_0x28a4e1(0x1e0)][_0x28a4e1(0x1e3)]())null!==_0x5455b6&&_0x3c0dd1[_0x28a4e1(0x1dc)](_0x5455b6);this[_0x28a4e1(0x157)](_0x158b0f,_0x3fd9f7[_0x28a4e1(0x1f6)][_0x551b3a],_0x1b4559,_0x28a4e1(0x115),_0x3c0dd1),this[_0x28a4e1(0x157)](_0x2fad50,_0x3fd9f7[_0x28a4e1(0x1e2)][_0x551b3a],_0x120bc3,_0x28a4e1(0x14a),_0x3c0dd1),_0xd066cc[_0x551b3a]={'insertions':this[_0x28a4e1(0x1c8)](_0x158b0f),'deletions':this[_0x28a4e1(0x1c8)](_0x2fad50),'attachChange':this[_0x28a4e1(0x1e0)][_0x28a4e1(0x1e4)](_0x551b3a)||null,'attributesBefore':_0x46f555(this[_0x28a4e1(0x178)][_0x28a4e1(0x1e4)](_0x551b3a))||{},'attributesAfter':_0x46f555(this[_0x28a4e1(0x1eb)][_0x28a4e1(0x1e4)](_0x551b3a))};}return{'diffData':_0xd066cc,'authorsIds':Array[_0x28a4e1(0x223)](_0x3c0dd1)};}[_0x1dd468(0x127)](_0x12d74d){const _0x33fc52=_0x1dd468;for(const [,_0x2cc58a]of _0x12d74d[_0x33fc52(0x121)]){const _0x4d28fa=_0x2cc58a[_0x33fc52(0x225)][_0x33fc52(0x1a9)]()[_0x33fc52(0x181)](_0x2af1ee=>_0x33fc52(0x194)==_0x2af1ee[_0x33fc52(0x1e8)]);for(const _0x50659e of _0x4d28fa)0x1==_0x50659e[_0x33fc52(0x13d)]&&_0x50659e[_0x33fc52(0x137)](0x0)['is'](_0x33fc52(0x163),_0x33fc52(0x1bd))&&_0x50659e[_0x33fc52(0x137)](0x0)[_0x33fc52(0x141)](_0x33fc52(0x1fb),!0x0);}}[_0x1dd468(0x1c8)](_0x3f497f){const _0x3b2083=_0x1dd468;this[_0x3b2083(0x127)](_0x3f497f);const _0x128f07=this[_0x3b2083(0x1e6)][_0x3b2083(0x14d)][_0x3b2083(0x20c)](_0x3f497f,{}),_0x438aa5=Array[_0x3b2083(0x223)](_0x128f07[_0x3b2083(0x1a7)]())[_0x3b2083(0x109)](_0x46bf32=>this[_0x3b2083(0x1ee)](_0x46bf32));return JSON[_0x3b2083(0x11f)](_0x438aa5);}[_0x1dd468(0x1ee)](_0x3a1006){const _0x29a95d=_0x1dd468;if(_0x3a1006['is'](_0x29a95d(0x201)))return _0x3a1006[_0x29a95d(0x14d)];{const _0x4253ea=_0x3a1006;return{'type':Object[_0x29a95d(0x1ff)](T)[_0x29a95d(0x20b)](_0x424f0b=>_0x3a1006 instanceof T[_0x424f0b]),'name':_0x4253ea[_0x29a95d(0x1e8)],'attributes':Array[_0x29a95d(0x223)](_0x4253ea[_0x29a95d(0x10a)]()),'children':Array[_0x29a95d(0x223)](_0x4253ea[_0x29a95d(0x1a7)]())[_0x29a95d(0x109)](_0x10e3f7=>this[_0x29a95d(0x1ee)](_0x10e3f7))};}}[_0x1dd468(0x157)](_0x307fa1,_0x15b45f,_0x1486e0,_0x489f03,_0x3ab330){const _0x1f0feb=_0x1dd468;let _0x1af827=null,_0x2946c6=null,_0x5a4edf=0x0;const _0x29ca98=this[_0x1f0feb(0x1e6)][_0x1f0feb(0x19a)];for(let _0x372a6e=0x0;_0x372a6e<_0x15b45f[_0x1f0feb(0x212)];_0x372a6e++){const _0x2aa54e=this[_0x1f0feb(0x208)](_0x15b45f[_0x372a6e]),_0x4756ef=_0x15b45f[_0x372a6e][_0x1f0feb(0x131)][_0x1f0feb(0x13f)](_0x2aa54e),_0x1c918d=_0x1486e0[_0x1f0feb(0x1e4)](_0x4756ef),_0x5cc59d=_0x372a6e==_0x15b45f[_0x1f0feb(0x212)]-0x1;(!_0x1af827&&_0x1c918d&&(_0x1af827=_0x1c918d,_0x2946c6=_0x15b45f[_0x372a6e]),_0x1af827&&(!_0x1c918d||_0x1c918d[_0x1f0feb(0x147)]!=_0x1af827[_0x1f0feb(0x147)]))&&(_0x467807(_0x1c918d,L(_0x2946c6,_0x307fa1,_0x29ca98),L(_0x15b45f[_0x372a6e],_0x307fa1,_0x29ca98)),_0x1af827=_0x1c918d||null,_0x2946c6=_0x1c918d?_0x15b45f[_0x372a6e]:null),_0x1af827&&_0x5cc59d&&_0x467807(_0x1c918d,L(_0x2946c6,_0x307fa1,_0x29ca98),W(_0x15b45f[_0x372a6e],_0x307fa1,_0x29ca98));}function _0x467807(_0x27b7a3,_0x35eb90,_0x26a835){const _0x5bbcac=_0x1f0feb,_0x29df10=_0x1af827[_0x5bbcac(0x147)],_0x5c4b0c=_0x5bbcac(0x1ea)+_0x489f03+':'+_0x29df10+':'+_0x5a4edf++,_0x4b3afa=_0x29ca98[_0x5bbcac(0x177)](_0x35eb90,_0x26a835);_0x307fa1[_0x5bbcac(0x121)][_0x5bbcac(0x175)](_0x5c4b0c,_0x4b3afa),null!==_0x29df10&&_0x3ab330[_0x5bbcac(0x1dc)](_0x29df10);}}[_0x1dd468(0x208)](_0x55a84d){const _0x2bb127=_0x1dd468;switch(_0x55a84d[_0x2bb127(0x134)]){case _0x2bb127(0x204):return _0x2bb127(0x136);case _0x2bb127(0x107):return _0x2bb127(0x189);default:return _0x2bb127(0x1b2);}}[_0x1dd468(0x21b)](_0x2bc56a,_0x3f85ee){const _0x1edb88=_0x1dd468;_0x2bc56a[_0x1edb88(0x10b)]=null;for(const _0x45c64b in _0x2bc56a){const _0x3eeeaa=_0x2bc56a[_0x45c64b];if(_0x3eeeaa instanceof _0x5c172e){const _0x48d513=_0x3f85ee[_0x1edb88(0x1e4)](_0x3eeeaa[_0x1edb88(0x170)][_0x1edb88(0x1c9)]);_0x2bc56a[_0x45c64b]=this[_0x1edb88(0x1f2)](_0x3eeeaa,_0x48d513);}if(_0x3eeeaa instanceof _0x2dca35){const _0x36d97c=_0x3f85ee[_0x1edb88(0x1e4)](_0x3eeeaa[_0x1edb88(0x170)][_0x1edb88(0x1c9)]);_0x2bc56a[_0x45c64b]=this[_0x1edb88(0x114)](_0x3eeeaa,_0x36d97c);}_0x1edb88(0x170)===_0x45c64b&&(_0x2bc56a[_0x1edb88(0x170)]=_0x3f85ee[_0x1edb88(0x1e4)](_0x2bc56a[_0x1edb88(0x170)][_0x1edb88(0x1c9)]));}}[_0x1dd468(0x114)](_0x169025,_0x3d2298){const _0x2bf945=_0x1dd468;return this[_0x2bf945(0x1e6)][_0x2bf945(0x19a)][_0x2bf945(0x177)](this[_0x2bf945(0x1f2)](_0x169025[_0x2bf945(0x225)],_0x3d2298),this[_0x2bf945(0x1f2)](_0x169025[_0x2bf945(0x1cf)],_0x3d2298));}[_0x1dd468(0x1f2)](_0x229120,_0x5b5f7d){const _0x5ce26c=_0x1dd468;return this[_0x5ce26c(0x1e6)][_0x5ce26c(0x19a)][_0x5ce26c(0x1b0)](_0x5b5f7d,_0x229120[_0x5ce26c(0x21a)],_0x229120[_0x5ce26c(0x142)]);}[_0x1dd468(0x1bf)](_0xcb2020){const _0x558e6f=_0x1dd468,_0xc3270e=this[_0x558e6f(0x156)][_0x558e6f(0x1e4)](_0xcb2020[_0x558e6f(0x1a5)][_0x558e6f(0x170)][_0x558e6f(0x1c9)]),_0x416185=this[_0x558e6f(0x1f2)](_0xcb2020[_0x558e6f(0x1a5)],_0xc3270e),_0x326792=null===_0xcb2020[_0x558e6f(0x123)]?null:_0xcb2020[_0x558e6f(0x123)]||this[_0x558e6f(0x1e6)][_0x558e6f(0x1b4)][_0x558e6f(0x1e4)](_0x558e6f(0x148))['me']['id'],_0x16002c=_0x416185[_0x558e6f(0x145)],_0x59fef0=this[_0x558e6f(0x205)],_0xaed61e=[];for(const _0x2abdba of _0xcb2020[_0x558e6f(0x219)])if(_0x2abdba['is'](_0x558e6f(0x163)))_0xaed61e[_0x558e6f(0x19b)](this[_0x558e6f(0x1fe)](_0x2abdba));else{for(let _0x5ad15a=0x0;_0x5ad15a<_0x2abdba[_0x558e6f(0x1d0)];_0x5ad15a++)_0xaed61e[_0x558e6f(0x19b)](new _0x4c3aa2(_0x558e6f(0x201),{'vid':this[_0x558e6f(0x205)]++}));}const _0x1e3cf7=this[_0x558e6f(0x205)];for(let _0x15fbfc=_0x59fef0;_0x15fbfc<_0x1e3cf7;_0x15fbfc++)this[_0x558e6f(0x214)][_0x558e6f(0x175)](_0x15fbfc,{'userId':_0x326792});_0x16002c[_0x558e6f(0x1c7)](_0x416185[_0x558e6f(0x216)],_0xaed61e);}[_0x1dd468(0x221)](_0x608a4f){const _0x538d59=_0x1dd468;(_0x608a4f=this[_0x538d59(0x104)](_0x608a4f,this[_0x538d59(0x156)]))[_0x538d59(0x1b9)]();const _0xa14e33=null===_0x608a4f[_0x538d59(0x123)]?null:_0x608a4f[_0x538d59(0x123)]||this[_0x538d59(0x1e6)][_0x538d59(0x1b4)][_0x538d59(0x1e4)](_0x538d59(0x148))['me']['id'],_0x26d052=_0x608a4f[_0x538d59(0x1b1)](),_0x2a47eb=_0x26d052[_0x538d59(0x145)],_0x250ab2=_0x26d052[_0x538d59(0x216)];!function _0x1a10f4(_0x5c3120,_0x5e41f5,_0x59113d,_0x185374){const _0x5a1f4a=_0x538d59;for(let _0x141741=_0x59113d;_0x141741<_0x185374;_0x141741++){const _0x1d3e0a=_0x5e41f5[_0x5a1f4a(0x137)](_0x141741);_0x1d3e0a['is'](_0x5a1f4a(0x163),_0x5a1f4a(0x201))?_0x5c3120[_0x5a1f4a(0x175)](_0x1d3e0a[_0x5a1f4a(0x13f)](_0x5a1f4a(0x1b2)),{'userId':_0xa14e33}):(_0x5c3120[_0x5a1f4a(0x175)](_0x1d3e0a[_0x5a1f4a(0x13f)](_0x5a1f4a(0x136)),{'userId':_0xa14e33}),_0x1a10f4(_0x5c3120,_0x1d3e0a,0x0,_0x1d3e0a[_0x5a1f4a(0x13d)]),_0x5c3120[_0x5a1f4a(0x175)](_0x1d3e0a[_0x5a1f4a(0x13f)](_0x5a1f4a(0x189)),{'userId':_0xa14e33}));}}(this[_0x538d59(0x214)],_0x2a47eb,_0x250ab2,_0x250ab2+_0x608a4f[_0x538d59(0x1ef)]);}[_0x1dd468(0x13a)](_0x375124){const _0x345a76=_0x1dd468,_0x3a069b=null===(_0x375124=this[_0x345a76(0x104)](_0x375124,this[_0x345a76(0x156)]))[_0x345a76(0x123)]?null:_0x375124[_0x345a76(0x123)]||this[_0x345a76(0x1e6)][_0x345a76(0x1b4)][_0x345a76(0x1e4)](_0x345a76(0x148))['me']['id'],_0x5dbf2b=_0x375124[_0x345a76(0x1d5)][_0x345a76(0x145)],_0x13b1c6=_0x375124[_0x345a76(0x193)][_0x345a76(0x145)],_0xdc8534=_0x5dbf2b[_0x345a76(0x13f)](_0x345a76(0x189)),_0x404df7=_0x13b1c6[_0x345a76(0x13f)](_0x345a76(0x136));_0x5dbf2b[_0x345a76(0x141)](_0x345a76(0x189),_0x13b1c6[_0x345a76(0x13f)](_0x345a76(0x189))),_0x13b1c6[_0x345a76(0x141)](_0x345a76(0x189),_0xdc8534),this[_0x345a76(0x214)][_0x345a76(0x175)](_0x404df7,{'userId':_0x3a069b}),this[_0x345a76(0x214)][_0x345a76(0x175)](_0xdc8534,{'userId':_0x3a069b}),_0x375124[_0x345a76(0x1b9)]();}[_0x1dd468(0x173)](_0x4710b7){const _0x16ef80=_0x1dd468,_0x59add8=null===(_0x4710b7=this[_0x16ef80(0x104)](_0x4710b7,this[_0x16ef80(0x156)]))[_0x16ef80(0x123)]?null:_0x4710b7[_0x16ef80(0x123)]||this[_0x16ef80(0x1e6)][_0x16ef80(0x1b4)][_0x16ef80(0x1e4)](_0x16ef80(0x148))['me']['id'],_0x8c4475=_0x4710b7[_0x16ef80(0x182)],_0x534bb2=_0x4710b7[_0x16ef80(0x14b)][_0x16ef80(0x145)];_0x4710b7[_0x16ef80(0x1b9)]();const _0x58d0b0=_0x534bb2[_0x16ef80(0x13f)](_0x16ef80(0x189)),_0x16b00d=_0x4710b7[_0x16ef80(0x15d)][_0x16ef80(0x1c0)];if(_0x8c4475){const _0x4c075c=_0x16b00d[_0x16ef80(0x13f)](_0x16ef80(0x189)),_0x3daa5b=_0x534bb2[_0x16ef80(0x13f)](_0x16ef80(0x189));_0x534bb2[_0x16ef80(0x141)](_0x16ef80(0x189),_0x4c075c),_0x16b00d[_0x16ef80(0x141)](_0x16ef80(0x189),_0x3daa5b),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0x534bb2[_0x16ef80(0x13f)](_0x16ef80(0x189)),{'userId':_0x59add8}),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0x16b00d[_0x16ef80(0x13f)](_0x16ef80(0x136)),{'userId':_0x59add8});}else{const _0x284747=this[_0x16ef80(0x205)]++,_0xa51692=this[_0x16ef80(0x205)]++;_0x534bb2[_0x16ef80(0x141)](_0x16ef80(0x189),_0x284747),_0x16b00d[_0x16ef80(0x141)](_0x16ef80(0x136),_0xa51692),_0x16b00d[_0x16ef80(0x141)](_0x16ef80(0x189),_0x58d0b0),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0x284747,{'userId':_0x59add8}),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0xa51692,{'userId':_0x59add8});}}[_0x1dd468(0x22b)](_0x74de9d){const _0xc58658=_0x1dd468;if(!_0x74de9d[_0xc58658(0x229)])return;const _0x41f17b=(_0x74de9d=this[_0xc58658(0x104)](_0x74de9d,this[_0xc58658(0x154)]))[_0xc58658(0x18b)]?_0x74de9d[_0xc58658(0x18b)][_0xc58658(0x170)]:null,_0x212ea3=_0x74de9d[_0xc58658(0x10c)]?_0x74de9d[_0xc58658(0x10c)][_0xc58658(0x170)]:null;_0x41f17b&&this[_0xc58658(0x21c)][_0xc58658(0x20a)](_0x74de9d[_0xc58658(0x1e8)]),_0x212ea3&&this[_0xc58658(0x21c)][_0xc58658(0x175)](_0x74de9d[_0xc58658(0x1e8)],_0x74de9d[_0xc58658(0x10c)][_0xc58658(0x1c4)]());const _0x2bc2b1=null===_0x74de9d[_0xc58658(0x123)]?null:_0x74de9d[_0xc58658(0x123)]||this[_0xc58658(0x1e6)][_0xc58658(0x1b4)][_0xc58658(0x1e4)](_0xc58658(0x148))['me']['id'],_0x341562=_0x74de9d[_0xc58658(0x1e8)];if(!this[_0xc58658(0x222)][_0xc58658(0x1c5)](_0x341562))return void this[_0xc58658(0x222)][_0xc58658(0x175)](_0x341562,{'range':_0x74de9d[_0xc58658(0x18b)],'userId':_0x2bc2b1});const _0x55394a=this[_0xc58658(0x222)][_0xc58658(0x1e4)](_0x341562),_0xfcf49=_0x55394a[_0xc58658(0x192)],_0x360fcf=_0x74de9d[_0xc58658(0x10c)];null==_0xfcf49&&null==_0x360fcf||_0xfcf49&&_0x360fcf&&_0xfcf49[_0xc58658(0x10f)](_0x360fcf)?this[_0xc58658(0x222)][_0xc58658(0x20a)](_0x74de9d[_0xc58658(0x1e8)]):_0x55394a[_0xc58658(0x147)]=_0x2bc2b1;}[_0x1dd468(0x1bc)](_0x6e5691,_0x455cea){const _0x40d3fe=_0x1dd468;this[_0x40d3fe(0x154)][_0x40d3fe(0x1c5)](_0x6e5691[_0x40d3fe(0x1c9)])?this[_0x40d3fe(0x154)][_0x40d3fe(0x1e4)](_0x6e5691[_0x40d3fe(0x1c9)])[_0x40d3fe(0x1be)]=_0x6e5691[_0x40d3fe(0x20e)]:(this[_0x40d3fe(0x154)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],G(_0x6e5691[_0x40d3fe(0x1c9)],!0x0)),this[_0x40d3fe(0x1eb)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],{}),_0x455cea&&this[_0x40d3fe(0x156)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],G(_0x6e5691[_0x40d3fe(0x1c9)],!0x0)));const _0x148b1e=null===_0x6e5691[_0x40d3fe(0x123)]?null:_0x6e5691[_0x40d3fe(0x123)]||this[_0x40d3fe(0x1e6)][_0x40d3fe(0x1b4)][_0x40d3fe(0x1e4)](_0x40d3fe(0x148))['me']['id'],_0x2c6543=this[_0x40d3fe(0x1e0)][_0x40d3fe(0x1e4)](_0x6e5691[_0x40d3fe(0x1c9)]);_0x2c6543&&_0x2c6543[_0x40d3fe(0x147)]===_0x148b1e?this[_0x40d3fe(0x1e0)][_0x40d3fe(0x20a)](_0x6e5691[_0x40d3fe(0x1c9)]):this[_0x40d3fe(0x1e0)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],{'userId':_0x148b1e,'isAttached':_0x6e5691[_0x40d3fe(0x20e)]});}[_0x1dd468(0x160)](_0x3d6edb){const _0x337962=_0x1dd468,_0x32a481=this[_0x337962(0x1eb)][_0x337962(0x1e4)](_0x3d6edb[_0x337962(0x170)][_0x337962(0x1c9)]);null===_0x3d6edb[_0x337962(0x228)]?delete _0x32a481[_0x3d6edb[_0x337962(0x124)]]:_0x32a481[_0x3d6edb[_0x337962(0x124)]]=_0x3d6edb[_0x337962(0x228)];}}function q(_0x1acfcf){const _0x536b43=_0x1dd468,_0x38924b=G(_0x1acfcf[_0x536b43(0x1c9)],_0x1acfcf[_0x536b43(0x11e)]());for(const _0x422a5c of _0x1acfcf[_0x536b43(0x1a7)]()){const _0xd50a3a=_0x422a5c[_0x536b43(0x162)](!0x0);_0x38924b[_0x536b43(0x12a)](_0xd50a3a);}return _0x38924b;}function G(_0x2ac4e7,_0x111a3f=!0x0){const _0x2fb3a3=_0x1dd468,_0x4fb2b1=new _0x531377();return _0x4fb2b1[_0x2fb3a3(0x1c9)]=_0x2ac4e7,_0x4fb2b1[_0x2fb3a3(0x1be)]=_0x111a3f,_0x4fb2b1[_0x2fb3a3(0x11e)]=()=>_0x4fb2b1[_0x2fb3a3(0x1be)],_0x4fb2b1;}function _0x27e1(_0x2ba6f3,_0x35a4fd){const _0x17b4b9=_0x17b4();return _0x27e1=function(_0x27e1d0,_0x316f8e){_0x27e1d0=_0x27e1d0-0x103;let _0x41f917=_0x17b4b9[_0x27e1d0];return _0x41f917;},_0x27e1(_0x2ba6f3,_0x35a4fd);}function _0x17b4(){const _0x4fedab=['deletion','splitPosition','_removePendingAction','data','sort','dataToMarker','_reset','createPositionBefore','history','1005642Nklhdr','_diffRoots','initial','_idsRoots','_markChanges','PENDING_ACTION_REVISION_HISTORY','hasContent','saveRevision','attributes','$graveyard','insertionPosition','some','_createInitialRevision','_handleRootAttributeOperation','reverse','_clone','element','define','createPositionAfter','_continueCurrentRevision','createRangeIn','version','getUser','repository','revisionHistory.resumeUnsavedRevision','_revisionDataBuilder','createPositionAt','addRoot','editing','root','default','_operations','_handleSplitOperation','_isInit','set','setRevisionData','createRange','_baseRootsAttributes','_startingRevisionId','revision-start','_makeRevision','initialData','getCurrentRevisionId','_loadState','roots','Empty\x20document','filter','graveyardPosition','_startingVersion','isReady','editor-initial-data-replaced-with-revision-data','getRevisionDocumentData','_createCurrentRevision','getNodeByPath','vid_end','useFillerType','oldRange','move','reInit','creator','_getPreviousFrom','attachChange','creatorId','range','sourcePosition','tableCell','getRevision','_replaceEditorDataWithRevisionData','children','_findInsertionIndex','getRoot','model','push','_createFromRanges','addRevisionData','detachRoot','diffData','changeRootAttribute','data-revision-','_savedMetaData','getData','parse','position','getRevisionRootsAttributes','getChildren','bind','getAncestors','for','split','toVersion','removeRootAttribute','ready','RevisionTracker','createPositionFromPath','getMovedRangeStart','vid','NEGATIVE_INFINITY','plugins','getIndex','fromEntries','size','locale','_execute','getWalker','document','_handleRootOperation','paragraph','_isAttached','_handleInsertOperation','nodeAfter','merge','source','_transformMarkers','clone','has','text','_insertChild','_prepareViewToSave','rootName','getTime','shift','attributesAfter','5eptbRQ','attributesBefore','end','offsetSize','toModel','init','_generateTape','processor','targetPosition','128296gDFfjW','then','config','revision-end','_initialRevisionId','_setConversion','add','createdAt','update','getRootNames','_touchedRoots','collaboration.channelId','deletions','values','get','sendBufferedUpdates','editor','_copyMarkers','name','2707uaUxTc','revision:','_diffRootsAttributes','revision','_baseRoots','_getViewJson','howMany','requires','max','_fixPosition','getRevisions','getTransformedByOperation','_getState','insertions','createRevision','currentRevision','view','_getFromVersion','keepParagraph','150750bSNZIy','slice','_makeIdsRoot','keys','startsWith','$text','getRange','_isPendingUpdate','elementStart','_revisionId','_removeRevisionMarkers','Initial\x20revision','_getVidAttributeName','_source','delete','find','toView','clear','isAdd','adapter','markerToData','_lastTo','length','dataDowncast','_touched','isEnabled','offset','setSource','_bufferedUpdates','nodes','path','_fixOperation','_markers','468YPxqaE','_lastFrom','afterInit','addRootAttribute','_handleMoveOperation','_touchedMarkers','from','_loadRevisionData','start','reinsert','RealTimeCollaborationClient','newValue','affectsData','PendingActions','_handleMarkerOperation','_handleOperation','_makeModelFromViewString','_cloneOperation','getLatestVersion','rootsAttributes','elementEnd','getOperations','map','getAttributes','baseVersion','newRange','addRevision','finally','isEqual','pluginName','conversion','updateRevisions','toData','_fixRange','insertion','_pendingAction','authorsIds','_getBaseVids','trim','_applyOperations','upcast','_saveMetaData','remove','isAttached','stringify','_addPendingAction','markers','includes','_authorId','key','2396716XVDYOd','_baseIdsRoots','_processRootBeforeSave','loadState','marker','_appendChild','363234VmXfKV','resolve','authors','previousPosition','marked','_loadedStateData','item','_removeMetaData','getOperation','type','1195452YvUEUF','vid_start','getChild','buildRevisionData','string','_handleMergeOperation','documentFragment','insert','childCount','forEach','getAttribute','fromVersion','_setAttribute','stickiness','RevisionsRepository','_update','parent','_calculateMetaData','userId','Users','_bufferUpdate'];_0x17b4=function(){return _0x4fedab;};return _0x17b4();}function L(_0x26eddf,_0x2293af,_0x3db2a7){const _0x2f906c=_0x1dd468,_0x40a43a=_0x2f906c(0x107)==_0x26eddf[_0x2f906c(0x134)]?_0x3db2a7[_0x2f906c(0x16d)](_0x26eddf[_0x2f906c(0x131)],_0x2f906c(0x1cf)):_0x3db2a7[_0x2f906c(0x151)](_0x26eddf[_0x2f906c(0x131)]);return _0x3db2a7[_0x2f906c(0x1b0)](_0x2293af,_0x40a43a[_0x2f906c(0x21a)],_0x40a43a[_0x2f906c(0x142)]);}function W(_0x26ced1,_0x2bbbbe,_0x99071c){const _0x45dad9=_0x1dd468,_0x5569cd=_0x45dad9(0x204)==_0x26ced1[_0x45dad9(0x134)]?_0x99071c[_0x45dad9(0x16d)](_0x26ced1[_0x45dad9(0x131)],0x0):_0x99071c[_0x45dad9(0x165)](_0x26ced1[_0x45dad9(0x131)]);return _0x99071c[_0x45dad9(0x1b0)](_0x2bbbbe,_0x5569cd[_0x45dad9(0x21a)],_0x5569cd[_0x45dad9(0x142)]);}
|
package/src/revisionviewer.d.ts
CHANGED
|
@@ -2,7 +2,89 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/revisionviewer
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, Command, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
|
+
import ChangeDetailsView from './ui/revisionviewer/changedetailsview.js';
|
|
12
|
+
import RevisionsRepository from './revisionsrepository.js';
|
|
13
|
+
import ChangeItem from './changeitem.js';
|
|
14
|
+
import { default as RevisionDiff } from './revisiondiff.js';
|
|
5
15
|
import '../theme/revisionviewer.css';
|
|
16
|
+
import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
17
|
+
import type { default as Revision, RevisionJSON } from './revision.js';
|
|
18
|
+
export default class RevisionViewer extends Plugin {
|
|
19
|
+
repository: RevisionsRepository;
|
|
20
|
+
adapter: RevisionHistoryAdapter | null;
|
|
21
|
+
/**
|
|
22
|
+
* @observable
|
|
23
|
+
*/
|
|
24
|
+
activeChange: ChangeItem | null;
|
|
25
|
+
/**
|
|
26
|
+
* @observable
|
|
27
|
+
*/
|
|
28
|
+
activeView: ChangeDetailsView | null;
|
|
29
|
+
/**
|
|
30
|
+
* @observable
|
|
31
|
+
*/
|
|
32
|
+
diff: RevisionDiff | null;
|
|
33
|
+
/**
|
|
34
|
+
* @observable
|
|
35
|
+
*/
|
|
36
|
+
isReady: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @observable
|
|
39
|
+
*/
|
|
40
|
+
isEnabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @observable
|
|
43
|
+
*/
|
|
44
|
+
isNavigationMode: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @observable
|
|
47
|
+
*/
|
|
48
|
+
currentChangeNumber: number;
|
|
49
|
+
/**
|
|
50
|
+
* @observable
|
|
51
|
+
*/
|
|
52
|
+
numberOfChanges: number;
|
|
53
|
+
static get pluginName(): "RevisionViewer";
|
|
54
|
+
static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository];
|
|
55
|
+
constructor(editor: Editor);
|
|
56
|
+
init(): void;
|
|
57
|
+
getRevisionData(revision: Revision): Promise<Record<string, string>>;
|
|
58
|
+
getRevisionRootsAttributes(revision: Revision): Promise<Record<string, Record<string, unknown>>>;
|
|
59
|
+
compare(newRevisionOrId: Revision | string, oldRevisionOrId: Revision | string, forceCompare?: boolean): Promise<unknown>;
|
|
60
|
+
addRevisionData(revisionData: RevisionJSON, updateCallback: (updateObj: RevisionJSON, isFromAdapter: boolean, revision: Revision) => void): Revision;
|
|
61
|
+
loadRevisionData(revision: Revision): Promise<any>;
|
|
62
|
+
private _removeMissingPairs;
|
|
63
|
+
}
|
|
64
|
+
export declare class RestoreRevisionCommand extends Command {
|
|
65
|
+
constructor(editor: Editor);
|
|
66
|
+
execute(): void;
|
|
67
|
+
refresh(): void;
|
|
68
|
+
}
|
|
69
|
+
export declare class ShowChangeCommand<T extends 'backward' | 'forward'> extends Command {
|
|
70
|
+
constructor(editor: Editor, { direction }: {
|
|
71
|
+
direction: T;
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* TODO
|
|
75
|
+
*/
|
|
76
|
+
execute(): void;
|
|
77
|
+
/**
|
|
78
|
+
* TODO
|
|
79
|
+
*
|
|
80
|
+
* The `showNextChange` command is enabled if the revision viewer is ready and either the navigation
|
|
81
|
+
* mode is off, or there is any "next" change to select within current revision.
|
|
82
|
+
*
|
|
83
|
+
* The `showPreviousChange` command is enabled if the revision viewer is ready and either the navigation
|
|
84
|
+
* mode is off, or there is any "previous" change to select within current revision.
|
|
85
|
+
*/
|
|
86
|
+
refresh(): void;
|
|
87
|
+
}
|
|
6
88
|
/**
|
|
7
89
|
function printTape( tape ) {
|
|
8
90
|
const elements = tape.map(
|